From 1439cf57eb632ec0e5e4005b97fc210e4c2c939c Mon Sep 17 00:00:00 2001 From: Csoregi Natalia Date: Thu, 29 Jul 2021 22:52:24 +0300 Subject: [PATCH] Backed out 2 changesets (bug 1717151) for causing bustage on validationEGL.h. CLOSED TREE Backed out changeset 06d6ad49726c (bug 1717151) Backed out changeset ee22b6243926 (bug 1717151) --- dom/canvas/WebGLShaderValidator.cpp | 1 + gfx/angle/MERGE_BASE | 2 +- gfx/angle/checkout/include/EGL/egl.h | 27 +- gfx/angle/checkout/include/EGL/eglext.h | 104 +- gfx/angle/checkout/include/EGL/eglext_angle.h | 29 +- gfx/angle/checkout/include/EGL/eglplatform.h | 57 +- gfx/angle/checkout/include/GLES2/gl2.h | 37 +- gfx/angle/checkout/include/GLES2/gl2ext.h | 121 +- .../checkout/include/GLES2/gl2ext_angle.h | 5 - .../GLES2/gl2ext_explicit_context_autogen.inc | 124 +- .../checkout/include/GLES2/gl2platform.h | 15 +- gfx/angle/checkout/include/GLES3/gl3.h | 37 +- gfx/angle/checkout/include/GLES3/gl31.h | 39 +- gfx/angle/checkout/include/GLES3/gl32.h | 39 +- .../checkout/include/GLES3/gl3platform.h | 15 +- .../checkout/include/GLSLANG/ShaderLang.h | 235 +- .../checkout/include/GLSLANG/ShaderVars.h | 98 +- gfx/angle/checkout/include/KHR/khrplatform.h | 10 +- gfx/angle/checkout/include/export.h | 4 +- .../checkout/include/platform/FeaturesGL.h | 50 - .../checkout/include/platform/FeaturesVk.h | 134 +- .../include/platform/FrontendFeatures.h | 13 +- .../include/vulkan/vulkan_fuchsia_ext.h | 22 +- .../checkout/out/gen/angle/angle_commit.h | 6 +- gfx/angle/checkout/src/common/FastVector.h | 24 +- .../src/common/PackedEGLEnums_autogen.cpp | 2 +- .../src/common/PackedEGLEnums_autogen.h | 3 +- gfx/angle/checkout/src/common/PackedEnums.cpp | 92 +- gfx/angle/checkout/src/common/PackedEnums.h | 133 +- .../src/common/PackedGLEnums_autogen.cpp | 28 +- .../src/common/PackedGLEnums_autogen.h | 18 +- .../checkout/src/common/aligned_memory.cpp | 2 +- .../checkout/src/common/android_util.cpp | 105 +- gfx/angle/checkout/src/common/android_util.h | 3 - gfx/angle/checkout/src/common/angleutils.h | 14 - gfx/angle/checkout/src/common/bitset_utils.h | 829 +- gfx/angle/checkout/src/common/debug.cpp | 10 +- gfx/angle/checkout/src/common/debug.h | 58 +- .../src/common/entry_points_enum_autogen.cpp | 3348 +- .../src/common/entry_points_enum_autogen.h | 3048 +- gfx/angle/checkout/src/common/hash_utils.h | 4 +- gfx/angle/checkout/src/common/mathutil.cpp | 27 +- gfx/angle/checkout/src/common/mathutil.h | 86 +- gfx/angle/checkout/src/common/platform.h | 8 - .../checkout/src/common/spirv/spirv_types.h | 120 - .../checkout/src/common/string_utils.cpp | 41 - gfx/angle/checkout/src/common/string_utils.h | 2 - .../checkout/src/common/system_utils.cpp | 39 +- .../checkout/src/common/system_utils_mac.cpp | 36 + .../src/common/system_utils_posix.cpp | 9 - .../src/common/system_utils_win32.cpp | 1 - .../src/common/uniform_type_info_autogen.cpp | 173 +- gfx/angle/checkout/src/common/utilities.cpp | 87 - gfx/angle/checkout/src/common/utilities.h | 34 +- .../compiler/preprocessor/DirectiveParser.cpp | 2 +- .../src/compiler/translator/BaseTypes.h | 182 +- .../translator/BuiltinsWorkaroundGLSL.cpp | 3 +- .../compiler/translator/CollectVariables.cpp | 505 +- .../compiler/translator/CollectVariables.h | 5 +- .../checkout/src/compiler/translator/Common.h | 7 +- .../src/compiler/translator/Compiler.cpp | 253 +- .../src/compiler/translator/Compiler.h | 41 +- .../compiler/translator/DirectiveHandler.cpp | 41 +- .../compiler/translator/ExtensionBehavior.cpp | 6 - .../compiler/translator/ExtensionBehavior.h | 6 - .../src/compiler/translator/HashNames.cpp | 6 +- .../ImmutableString_ESSL_autogen.cpp | 475 +- .../translator/ImmutableString_autogen.cpp | 603 +- .../src/compiler/translator/InfoSink.h | 31 +- .../src/compiler/translator/Initialize.cpp | 26 +- .../src/compiler/translator/IntermNode.cpp | 23 +- .../src/compiler/translator/IntermNode.h | 26 +- .../compiler/translator/OutputGLSLBase.cpp | 122 +- .../src/compiler/translator/OutputGLSLBase.h | 16 +- .../src/compiler/translator/OutputHLSL.cpp | 57 +- .../src/compiler/translator/OutputHLSL.h | 33 +- .../src/compiler/translator/ParseContext.cpp | 749 +- .../src/compiler/translator/ParseContext.h | 60 +- .../translator/ParseContext_ESSL_autogen.h | 72 +- .../ParseContext_complete_autogen.h | 56 +- .../compiler/translator/QualifierTypes.cpp | 84 +- .../src/compiler/translator/ResourcesHLSL.cpp | 10 +- .../src/compiler/translator/ResourcesHLSL.h | 2 +- .../src/compiler/translator/ShaderLang.cpp | 230 +- .../ShaderStorageBlockOutputHLSL.cpp | 514 +- .../translator/ShaderStorageBlockOutputHLSL.h | 36 +- .../src/compiler/translator/ShaderVars.cpp | 107 +- .../src/compiler/translator/StructureHLSL.cpp | 76 +- .../src/compiler/translator/StructureHLSL.h | 5 +- .../src/compiler/translator/Symbol.cpp | 4 +- .../checkout/src/compiler/translator/Symbol.h | 2 +- .../src/compiler/translator/SymbolTable.cpp | 6 - .../src/compiler/translator/SymbolTable.h | 12 +- .../translator/SymbolTable_ESSL_autogen.cpp | 16775 +- .../translator/SymbolTable_autogen.cpp | 23291 ++- .../compiler/translator/SymbolTable_autogen.h | 196 +- .../compiler/translator/TranslatorESSL.cpp | 4 +- .../compiler/translator/TranslatorGLSL.cpp | 12 +- .../compiler/translator/TranslatorHLSL.cpp | 52 +- .../src/compiler/translator/TranslatorHLSL.h | 4 +- .../src/compiler/translator/TranslatorMetal.h | 76 - .../compiler/translator/TranslatorVulkan.h | 59 - .../src/compiler/translator/Types.cpp | 48 +- .../checkout/src/compiler/translator/Types.h | 9 - .../src/compiler/translator/UtilsHLSL.cpp | 2 +- .../src/compiler/translator/ValidateAST.cpp | 348 +- .../src/compiler/translator/ValidateAST.h | 10 +- .../ValidateBarrierFunctionCall.cpp | 100 - .../translator/ValidateBarrierFunctionCall.h | 22 - .../translator/ValidateClipCullDistance.cpp | 200 - .../translator/ValidateClipCullDistance.h | 27 - .../translator/ValidateVaryingLocations.cpp | 249 +- .../src/compiler/translator/blocklayout.cpp | 14 +- .../src/compiler/translator/blocklayout.h | 12 +- ...mulated_builtin_functions_hlsl_autogen.cpp | 2 +- .../translator/glslang_lex_autogen.cpp | 320 +- .../translator/glslang_tab_autogen.cpp | 1713 +- .../compiler/translator/glslang_tab_autogen.h | 247 +- .../src/compiler/translator/glslang_wrapper.h | 44 - .../mac => }/AddAndTrueToLoopCondition.cpp | 2 +- .../{gl/mac => }/AddAndTrueToLoopCondition.h | 6 +- .../{d3d => }/AddDefaultReturnStatements.cpp | 2 +- .../{d3d => }/AddDefaultReturnStatements.h | 6 +- .../ArrayReturnValueToOutParameter.cpp | 19 +- .../ArrayReturnValueToOutParameter.h | 6 +- .../BreakVariableAliasingInInnerLoops.cpp | 2 +- .../BreakVariableAliasingInInnerLoops.h | 6 +- .../tree_ops/{gl => }/ClampFragDepth.cpp | 12 +- .../tree_ops/{gl => }/ClampFragDepth.h | 16 +- .../translator/tree_ops/ClampPointSize.cpp | 8 +- ...reAndInitBuiltinsForInstancedMultiview.cpp | 28 +- .../tree_ops/DeferGlobalInitializers.cpp | 20 +- .../EarlyFragmentTestsOptimization.cpp | 79 + .../EarlyFragmentTestsOptimization.h | 15 +- .../EmulateMultiDrawShaderBuiltins.cpp | 38 +- .../translator/tree_ops/EmulatePrecision.cpp | 18 +- .../{d3d => }/ExpandIntegerPowExpressions.cpp | 2 +- .../{d3d => }/ExpandIntegerPowExpressions.h | 6 +- .../tree_ops/FlagSamplersWithTexelFetch.cpp | 100 + .../tree_ops/FlagSamplersWithTexelFetch.h | 31 + .../tree_ops/ForcePrecisionQualifier.cpp | 101 - .../tree_ops/ForcePrecisionQualifier.h | 17 - .../tree_ops/InitializeVariables.cpp | 25 +- .../translator/tree_ops/InitializeVariables.h | 11 +- .../tree_ops/NameEmbeddedUniformStructs.cpp | 101 + .../tree_ops/NameEmbeddedUniformStructs.h | 31 + .../translator/tree_ops/PruneEmptyCases.cpp | 4 +- .../translator/tree_ops/PruneNoOps.cpp | 7 +- .../{gl => }/RecordConstantPrecision.cpp | 2 +- .../{gl => }/RecordConstantPrecision.h | 6 +- ...ormBlocksTranslatedToStructuredBuffers.cpp | 269 + ...iformBlocksTranslatedToStructuredBuffers.h | 25 + .../{gl => }/RegenerateStructNames.cpp | 38 +- .../tree_ops/RegenerateStructNames.h | 40 + .../tree_ops/RemoveArrayLengthMethod.cpp | 31 +- .../tree_ops/RemoveAtomicCounterBuiltins.cpp | 73 + .../tree_ops/RemoveAtomicCounterBuiltins.h | 24 + .../tree_ops/RemoveDynamicIndexing.cpp | 24 +- .../RemoveInactiveInterfaceVariables.cpp | 146 + .../RemoveInactiveInterfaceVariables.h | 40 + .../tree_ops/RemoveInvariantDeclaration.cpp | 4 +- .../translator/tree_ops/RemovePow.cpp | 106 + .../compiler/translator/tree_ops/RemovePow.h | 25 + .../{d3d => }/RemoveSwitchFallThrough.cpp | 2 +- .../{d3d => }/RemoveSwitchFallThrough.h | 6 +- .../tree_ops/RemoveUnreferencedVariables.cpp | 6 +- .../tree_ops/RewriteAtomicCounters.cpp | 676 + .../tree_ops/RewriteAtomicCounters.h | 28 + .../RewriteAtomicFunctionExpressions.cpp | 2 +- .../RewriteAtomicFunctionExpressions.h | 6 +- .../RewriteCubeMapSamplersAs2DArray.cpp | 1023 + .../RewriteCubeMapSamplersAs2DArray.h | 29 + .../translator/tree_ops/RewriteDfdy.cpp | 197 + .../translator/tree_ops/RewriteDfdy.h | 37 + .../tree_ops/{gl/mac => }/RewriteDoWhile.cpp | 2 +- .../tree_ops/{gl/mac => }/RewriteDoWhile.h | 6 +- .../tree_ops/{d3d => }/RewriteElseBlocks.cpp | 2 +- .../tree_ops/{d3d => }/RewriteElseBlocks.h | 6 +- ...writeExpressionsWithShaderStorageBlock.cpp | 4 +- ...RewriteExpressionsWithShaderStorageBlock.h | 6 +- .../tree_ops/RewriteInterpolateAtOffset.cpp | 139 + .../tree_ops/RewriteInterpolateAtOffset.h | 38 + .../RewriteRepeatedAssignToSwizzled.cpp | 4 +- .../RewriteRepeatedAssignToSwizzled.h | 15 +- .../{gl/mac => }/RewriteRowMajorMatrices.cpp | 58 +- .../{gl/mac => }/RewriteRowMajorMatrices.h | 7 +- .../tree_ops/RewriteStructSamplers.cpp | 1254 + .../tree_ops/RewriteStructSamplers.h | 42 + .../tree_ops/RewriteStructSamplersOld.cpp | 705 + .../tree_ops/RewriteTexelFetchOffset.cpp | 20 +- .../RewriteUnaryMinusOperatorFloat.cpp | 2 +- .../mac => }/RewriteUnaryMinusOperatorFloat.h | 6 +- .../RewriteUnaryMinusOperatorInt.cpp | 2 +- .../{d3d => }/RewriteUnaryMinusOperatorInt.h | 6 +- .../SeparateArrayConstructorStatements.cpp | 5 +- .../SeparateArrayConstructorStatements.h | 6 +- .../{d3d => }/SeparateArrayInitialization.cpp | 5 +- .../{d3d => }/SeparateArrayInitialization.h | 6 +- .../tree_ops/SeparateDeclarations.cpp | 3 +- .../SeparateExpressionsReturningArrays.cpp | 2 +- .../SeparateExpressionsReturningArrays.h | 6 +- .../{gl/mac => }/UnfoldShortCircuitAST.cpp | 2 +- .../{gl/mac => }/UnfoldShortCircuitAST.h | 6 +- .../{d3d => }/UnfoldShortCircuitToIf.cpp | 2 +- .../{d3d => }/UnfoldShortCircuitToIf.h | 6 +- .../{gl => }/UseInterfaceBlockFields.cpp | 2 +- .../{gl => }/UseInterfaceBlockFields.h | 17 +- .../VectorizeVectorScalarArithmetic.cpp | 2 +- .../VectorizeVectorScalarArithmetic.h | 16 +- .../WrapSwitchStatementsInBlocks.cpp | 6 +- .../{d3d => }/WrapSwitchStatementsInBlocks.h | 6 +- ...ecordUniformBlocksWithLargeArrayMember.cpp | 385 - .../RecordUniformBlocksWithLargeArrayMember.h | 28 - .../tree_ops/gl/RegenerateStructNames.h | 34 - .../tree_util/BuiltIn_ESSL_autogen.h | 3868 +- .../tree_util/BuiltIn_complete_autogen.h | 3312 +- .../translator/tree_util/DriverUniform.cpp | 290 - .../translator/tree_util/DriverUniform.h | 78 - .../translator/tree_util/IntermNode_util.cpp | 23 +- .../translator/tree_util/IntermNode_util.h | 1 - .../translator/tree_util/IntermTraverse.h | 2 +- .../ReplaceClipCullDistanceVariable.cpp | 634 - .../tree_util/ReplaceClipDistanceVariable.cpp | 312 + ...riable.h => ReplaceClipDistanceVariable.h} | 16 +- .../translator/tree_util/ReplaceVariable.cpp | 149 +- .../translator/tree_util/ReplaceVariable.h | 110 +- .../tree_util/RewriteSampleMaskVariable.cpp | 198 - .../tree_util/RewriteSampleMaskVariable.h | 38 - .../tree_util/RunAtTheBeginningOfShader.cpp | 36 - .../tree_util/RunAtTheBeginningOfShader.h | 27 - .../tree_util/RunAtTheEndOfShader.cpp | 4 +- .../tree_util/SpecializationConstant.cpp | 481 - .../tree_util/SpecializationConstant.h | 67 - .../checkout/src/compiler/translator/util.cpp | 73 +- .../checkout/src/compiler/translator/util.h | 4 - .../checkout/src/gpu_info_util/SystemInfo.cpp | 7 - .../checkout/src/gpu_info_util/SystemInfo.h | 18 +- .../src/gpu_info_util/SystemInfo_vulkan.cpp | 11 +- .../checkout/src/image_util/loadimage.inc | 4 +- .../checkout/src/libANGLE/AttributeMap.cpp | 4 +- .../checkout/src/libANGLE/AttributeMap.h | 1 - .../checkout/src/libANGLE/BinaryStream.h | 10 - gfx/angle/checkout/src/libANGLE/BlobCache.cpp | 72 - gfx/angle/checkout/src/libANGLE/BlobCache.h | 9 - gfx/angle/checkout/src/libANGLE/Buffer.cpp | 61 +- gfx/angle/checkout/src/libANGLE/Buffer.h | 24 +- gfx/angle/checkout/src/libANGLE/Caps.cpp | 86 +- gfx/angle/checkout/src/libANGLE/Caps.h | 110 +- gfx/angle/checkout/src/libANGLE/Compiler.cpp | 66 +- gfx/angle/checkout/src/libANGLE/Constants.h | 20 +- gfx/angle/checkout/src/libANGLE/Context.cpp | 500 +- gfx/angle/checkout/src/libANGLE/Context.h | 80 +- .../checkout/src/libANGLE/Context_gl.cpp | 5 + ...l_1_autogen.h => Context_gl_1_0_autogen.h} | 109 +- .../src/libANGLE/Context_gl_1_1_autogen.h | 31 + .../src/libANGLE/Context_gl_1_2_autogen.h | 15 + .../src/libANGLE/Context_gl_1_3_autogen.h | 55 + .../src/libANGLE/Context_gl_1_4_autogen.h | 55 + .../src/libANGLE/Context_gl_1_5_autogen.h | 16 + ...l_2_autogen.h => Context_gl_2_0_autogen.h} | 10 +- .../src/libANGLE/Context_gl_2_1_autogen.h | 15 + .../src/libANGLE/Context_gl_3_0_autogen.h | 36 + .../src/libANGLE/Context_gl_3_1_autogen.h | 18 + .../src/libANGLE/Context_gl_3_2_autogen.h | 20 + .../src/libANGLE/Context_gl_3_3_autogen.h | 53 + .../src/libANGLE/Context_gl_3_autogen.h | 82 - .../src/libANGLE/Context_gl_4_0_autogen.h | 65 + .../src/libANGLE/Context_gl_4_1_autogen.h | 70 + .../src/libANGLE/Context_gl_4_2_autogen.h | 24 + .../src/libANGLE/Context_gl_4_3_autogen.h | 36 + .../src/libANGLE/Context_gl_4_4_autogen.h | 30 + ...l_4_autogen.h => Context_gl_4_5_autogen.h} | 171 +- .../src/libANGLE/Context_gl_4_6_autogen.h | 23 + .../src/libANGLE/Context_gles_1_0.cpp | 6 +- .../src/libANGLE/Context_gles_3_0_autogen.h | 13 +- .../src/libANGLE/Context_gles_ext_autogen.h | 431 +- gfx/angle/checkout/src/libANGLE/Device.cpp | 4 +- gfx/angle/checkout/src/libANGLE/Device.h | 4 +- gfx/angle/checkout/src/libANGLE/Display.cpp | 149 +- gfx/angle/checkout/src/libANGLE/Display.h | 14 +- gfx/angle/checkout/src/libANGLE/Error.h | 16 - .../checkout/src/libANGLE/ErrorStrings.h | 54 - .../src/libANGLE/{capture => }/FrameCapture.h | 83 +- .../{capture => }/FrameCapture_mock.cpp | 2 +- .../checkout/src/libANGLE/Framebuffer.cpp | 381 +- gfx/angle/checkout/src/libANGLE/Framebuffer.h | 36 +- .../src/libANGLE/FramebufferAttachment.h | 16 - .../checkout/src/libANGLE/GLES1Renderer.cpp | 31 +- .../checkout/src/libANGLE/GLES1Renderer.h | 3 +- .../checkout/src/libANGLE/GLES1State.cpp | 4 - gfx/angle/checkout/src/libANGLE/Image.cpp | 22 +- gfx/angle/checkout/src/libANGLE/Image.h | 4 - gfx/angle/checkout/src/libANGLE/InfoLog.h | 2 +- .../src/libANGLE/LoggingAnnotator.cpp | 6 +- .../checkout/src/libANGLE/LoggingAnnotator.h | 4 +- .../src/libANGLE/MemoryProgramCache.cpp | 44 +- gfx/angle/checkout/src/libANGLE/Observer.h | 7 - gfx/angle/checkout/src/libANGLE/Overlay.cpp | 8 +- .../checkout/src/libANGLE/OverlayWidgets.cpp | 32 +- .../checkout/src/libANGLE/Overlay_autogen.cpp | 88 +- .../checkout/src/libANGLE/Overlay_autogen.h | 10 +- gfx/angle/checkout/src/libANGLE/Program.cpp | 1820 +- gfx/angle/checkout/src/libANGLE/Program.h | 178 +- .../src/libANGLE/ProgramExecutable.cpp | 883 +- .../checkout/src/libANGLE/ProgramExecutable.h | 153 +- .../src/libANGLE/ProgramLinkedResources.cpp | 678 +- .../src/libANGLE/ProgramLinkedResources.h | 93 +- .../checkout/src/libANGLE/ProgramPipeline.cpp | 392 +- .../checkout/src/libANGLE/ProgramPipeline.h | 20 +- .../checkout/src/libANGLE/ResourceManager.cpp | 7 +- .../checkout/src/libANGLE/ResourceManager.h | 1 - gfx/angle/checkout/src/libANGLE/ResourceMap.h | 14 +- gfx/angle/checkout/src/libANGLE/Shader.cpp | 164 +- gfx/angle/checkout/src/libANGLE/Shader.h | 19 - gfx/angle/checkout/src/libANGLE/State.cpp | 278 +- gfx/angle/checkout/src/libANGLE/State.h | 85 +- gfx/angle/checkout/src/libANGLE/Stream.cpp | 2 +- gfx/angle/checkout/src/libANGLE/Stream.h | 2 +- gfx/angle/checkout/src/libANGLE/Surface.cpp | 39 +- gfx/angle/checkout/src/libANGLE/Surface.h | 5 +- gfx/angle/checkout/src/libANGLE/Texture.cpp | 171 +- gfx/angle/checkout/src/libANGLE/Texture.h | 24 +- gfx/angle/checkout/src/libANGLE/Thread.cpp | 47 +- gfx/angle/checkout/src/libANGLE/Thread.h | 14 +- .../src/libANGLE/TransformFeedback.cpp | 11 +- .../checkout/src/libANGLE/VaryingPacking.cpp | 844 +- .../checkout/src/libANGLE/VaryingPacking.h | 128 +- .../checkout/src/libANGLE/VertexArray.cpp | 80 +- gfx/angle/checkout/src/libANGLE/VertexArray.h | 14 +- .../checkout/src/libANGLE/angletypes.cpp | 159 +- gfx/angle/checkout/src/libANGLE/angletypes.h | 43 +- .../libANGLE/capture/frame_capture_utils.h | 23 - .../capture/frame_capture_utils_mock.cpp | 19 - .../{capture => }/capture_gles_1_0_autogen.h | 2 +- .../{capture => }/capture_gles_2_0_autogen.h | 2 +- .../{capture => }/capture_gles_3_0_autogen.h | 14 +- .../{capture => }/capture_gles_3_1_autogen.h | 2 +- .../{capture => }/capture_gles_3_2_autogen.h | 2 +- .../{capture => }/capture_gles_ext_autogen.h | 665 +- .../src/libANGLE/entry_points_utils.h | 26 +- .../es3_copy_conversion_table_autogen.cpp | 2 +- .../src/libANGLE/format_map_autogen.cpp | 1864 +- .../checkout/src/libANGLE/formatutils.cpp | 32 +- gfx/angle/checkout/src/libANGLE/formatutils.h | 19 - .../frame_capture_utils_autogen.h | 23 +- .../libANGLE/{capture => }/gl_enum_utils.h | 2 +- .../{capture => }/gl_enum_utils_autogen.h | 2 +- .../src/libANGLE/queryconversions.cpp | 4 +- .../checkout/src/libANGLE/queryutils.cpp | 157 +- gfx/angle/checkout/src/libANGLE/queryutils.h | 5 +- .../src/libANGLE/renderer/BufferImpl.cpp | 1 - .../src/libANGLE/renderer/BufferImpl.h | 1 - .../src/libANGLE/renderer/ContextImpl.h | 7 +- .../src/libANGLE/renderer/DisplayImpl.cpp | 31 +- .../src/libANGLE/renderer/DisplayImpl.h | 8 +- .../checkout/src/libANGLE/renderer/Format.h | 14 - .../src/libANGLE/renderer/FormatID_autogen.h | 12 +- .../renderer/Format_table_autogen.cpp | 462 +- .../src/libANGLE/renderer/FramebufferImpl.h | 2 +- .../src/libANGLE/renderer/ImageImpl.h | 1 - .../src/libANGLE/renderer/OverlayImpl.h | 4 +- .../libANGLE/renderer/ProgramPipelineImpl.cpp | 3 +- .../libANGLE/renderer/ProgramPipelineImpl.h | 3 +- .../src/libANGLE/renderer/QueryImpl.h | 11 +- .../libANGLE/renderer/StreamProducerImpl.h | 2 +- .../src/libANGLE/renderer/SurfaceImpl.cpp | 11 +- .../src/libANGLE/renderer/SurfaceImpl.h | 5 +- .../src/libANGLE/renderer/TextureImpl.cpp | 7 - .../src/libANGLE/renderer/TextureImpl.h | 2 - .../src/libANGLE/renderer/copyvertex.h | 34 +- .../src/libANGLE/renderer/copyvertex.inc.h | 249 +- .../src/libANGLE/renderer/d3d/DisplayD3D.cpp | 28 +- .../src/libANGLE/renderer/d3d/DisplayD3D.h | 4 +- .../libANGLE/renderer/d3d/FramebufferD3D.cpp | 17 +- .../libANGLE/renderer/d3d/FramebufferD3D.h | 2 +- .../src/libANGLE/renderer/d3d/ProgramD3D.cpp | 72 +- .../src/libANGLE/renderer/d3d/ProgramD3D.h | 5 +- .../src/libANGLE/renderer/d3d/RendererD3D.cpp | 15 + .../src/libANGLE/renderer/d3d/RendererD3D.h | 7 +- .../src/libANGLE/renderer/d3d/ShaderD3D.cpp | 15 - .../src/libANGLE/renderer/d3d/ShaderD3D.h | 2 - .../src/libANGLE/renderer/d3d/SurfaceD3D.cpp | 2 +- .../src/libANGLE/renderer/d3d/TextureD3D.cpp | 28 +- .../src/libANGLE/renderer/d3d/TextureD3D.h | 4 +- .../libANGLE/renderer/d3d/d3d11/Blit11.cpp | 5 +- .../d3d/d3d11/Blit11Helper_autogen.inc | 2 +- .../libANGLE/renderer/d3d/d3d11/Context11.cpp | 19 +- .../libANGLE/renderer/d3d/d3d11/Context11.h | 4 + .../renderer/d3d/d3d11/DebugAnnotator11.cpp | 4 +- .../renderer/d3d/d3d11/DebugAnnotator11.h | 6 +- .../d3d/d3d11/ExternalImageSiblingImpl11.cpp | 78 +- .../d3d/d3d11/ExternalImageSiblingImpl11.h | 16 +- .../libANGLE/renderer/d3d/d3d11/Image11.cpp | 2 - .../renderer/d3d/d3d11/Renderer11.cpp | 251 +- .../libANGLE/renderer/d3d/d3d11/Renderer11.h | 8 +- .../d3d/d3d11/StreamProducerD3DTexture.cpp | 5 +- .../d3d/d3d11/StreamProducerD3DTexture.h | 2 +- .../renderer/d3d/d3d11/SwapChain11.cpp | 54 +- .../converged/CompositorNativeWindow11.cpp | 26 +- .../renderer/d3d/d3d11/formatutils11.cpp | 64 +- .../renderer/d3d/d3d11/renderer11_utils.cpp | 31 +- .../d3d11/texture_format_table_autogen.cpp | 24 +- .../libANGLE/renderer/d3d/d3d9/Context9.cpp | 19 +- .../src/libANGLE/renderer/d3d/d3d9/Context9.h | 4 + .../renderer/d3d/d3d9/DebugAnnotator9.cpp | 4 +- .../renderer/d3d/d3d9/DebugAnnotator9.h | 6 +- .../libANGLE/renderer/d3d/d3d9/Renderer9.cpp | 35 +- .../libANGLE/renderer/d3d/d3d9/Renderer9.h | 8 +- .../libANGLE/renderer/d3d/d3d9/ShaderCache.h | 2 +- .../renderer/d3d/d3d9/renderer9_utils.cpp | 2 +- .../renderer/d3d/driver_utils_d3d.cpp | 26 - .../libANGLE/renderer/d3d/driver_utils_d3d.h | 21 - .../src/libANGLE/renderer/driver_utils.cpp | 19 +- .../src/libANGLE/renderer/driver_utils.h | 14 - .../renderer/load_functions_table_autogen.cpp | 42 - .../src/libANGLE/renderer/renderer_utils.cpp | 216 +- .../src/libANGLE/renderer/renderer_utils.h | 12 +- .../checkout/src/libANGLE/validationEGL.cpp | 3887 +- .../checkout/src/libANGLE/validationEGL.h | 420 +- .../src/libANGLE/validationEGL_autogen.h | 454 - .../checkout/src/libANGLE/validationES.cpp | 624 +- .../checkout/src/libANGLE/validationES.h | 69 +- .../checkout/src/libANGLE/validationES1.cpp | 202 +- .../checkout/src/libANGLE/validationES2.cpp | 535 +- .../checkout/src/libANGLE/validationES3.cpp | 59 +- .../checkout/src/libANGLE/validationES3.h | 5 - .../checkout/src/libANGLE/validationES31.cpp | 1313 +- .../checkout/src/libANGLE/validationES31.h | 214 - .../checkout/src/libANGLE/validationES32.cpp | 18 + .../src/libANGLE/validationES3_autogen.h | 6 +- .../checkout/src/libANGLE/validationESEXT.cpp | 1036 +- .../src/libANGLE/validationESEXT_autogen.h | 308 +- .../checkout/src/libANGLE/validationGL1.cpp | 564 - .../checkout/src/libANGLE/validationGL11.cpp | 108 + .../src/libANGLE/validationGL11_autogen.h | 64 + .../checkout/src/libANGLE/validationGL12.cpp | 12 + .../src/libANGLE/validationGL12_autogen.h | 22 + .../checkout/src/libANGLE/validationGL13.cpp | 240 + .../src/libANGLE/validationGL13_autogen.h | 104 + .../checkout/src/libANGLE/validationGL14.cpp | 240 + .../src/libANGLE/validationGL14_autogen.h | 80 + .../checkout/src/libANGLE/validationGL15.cpp | 33 + .../src/libANGLE/validationGL15_autogen.h | 32 + .../src/libANGLE/validationGL1_autogen.h | 207 +- .../checkout/src/libANGLE/validationGL21.cpp | 12 + .../src/libANGLE/validationGL21_autogen.h | 22 + .../src/libANGLE/validationGL2_autogen.h | 7 +- .../checkout/src/libANGLE/validationGL3.cpp | 323 - .../checkout/src/libANGLE/validationGL31.cpp | 29 + .../src/libANGLE/validationGL31_autogen.h | 29 + .../checkout/src/libANGLE/validationGL32.cpp | 53 + .../src/libANGLE/validationGL32_autogen.h | 45 + .../checkout/src/libANGLE/validationGL33.cpp | 283 + .../src/libANGLE/validationGL33_autogen.h | 121 + .../src/libANGLE/validationGL3_autogen.h | 140 +- .../checkout/src/libANGLE/validationGL4.cpp | 1651 - .../checkout/src/libANGLE/validationGL41.cpp | 308 + .../src/libANGLE/validationGL41_autogen.h | 171 + .../checkout/src/libANGLE/validationGL42.cpp | 82 + .../src/libANGLE/validationGL42_autogen.h | 62 + .../checkout/src/libANGLE/validationGL43.cpp | 134 + .../src/libANGLE/validationGL43_autogen.h | 90 + .../checkout/src/libANGLE/validationGL44.cpp | 103 + .../src/libANGLE/validationGL44_autogen.h | 75 + .../checkout/src/libANGLE/validationGL45.cpp | 1055 + .../src/libANGLE/validationGL45_autogen.h | 610 + .../checkout/src/libANGLE/validationGL46.cpp | 53 + .../src/libANGLE/validationGL46_autogen.h | 45 + .../src/libANGLE/validationGL4_autogen.h | 938 +- .../src/libEGL/egl_loader_autogen.cpp | 2 +- .../checkout/src/libEGL/egl_loader_autogen.h | 2 +- .../libEGL/{libEGL_autogen.cpp => libEGL.cpp} | 764 +- gfx/angle/checkout/src/libEGL/libEGL.def | 95 + .../checkout/src/libEGL/libEGL_autogen.def | 171 - .../checkout/src/libGLESv2/egl_ext_stubs.cpp | 796 - .../src/libGLESv2/egl_ext_stubs_autogen.h | 226 - .../checkout/src/libGLESv2/egl_stubs.cpp | 767 - .../src/libGLESv2/egl_stubs_autogen.h | 165 - .../src/libGLESv2/entry_points_egl.cpp | 1171 + ...oints_egl_autogen.h => entry_points_egl.h} | 60 +- .../libGLESv2/entry_points_egl_autogen.cpp | 812 - .../src/libGLESv2/entry_points_egl_ext.cpp | 1730 + ...l_ext_autogen.h => entry_points_egl_ext.h} | 375 +- .../entry_points_egl_ext_autogen.cpp | 1127 - .../entry_points_gles_1_0_autogen.cpp | 750 +- .../libGLESv2/entry_points_gles_1_0_autogen.h | 202 +- .../entry_points_gles_2_0_autogen.cpp | 1482 +- .../libGLESv2/entry_points_gles_2_0_autogen.h | 530 +- .../entry_points_gles_3_0_autogen.cpp | 1261 +- .../libGLESv2/entry_points_gles_3_0_autogen.h | 509 +- .../entry_points_gles_3_1_autogen.cpp | 903 +- .../libGLESv2/entry_points_gles_3_1_autogen.h | 408 +- .../entry_points_gles_3_2_autogen.cpp | 511 +- .../libGLESv2/entry_points_gles_3_2_autogen.h | 285 +- .../entry_points_gles_ext_autogen.cpp | 18379 +-- .../libGLESv2/entry_points_gles_ext_autogen.h | 8056 +- .../checkout/src/libGLESv2/global_state.cpp | 55 +- .../checkout/src/libGLESv2/global_state.h | 25 +- .../src/libGLESv2/libGLESv2_autogen.cpp | 4210 +- .../src/libGLESv2/libGLESv2_autogen.def | 146 - .../src/libGLESv2/proc_table_egl_autogen.cpp | 3012 +- .../src/include/vulkan/vulkan.hpp | 126130 --------------- .../src/include/vulkan/vulkan_screen.h | 54 - .../src/include/vulkan/vk_icd.h | 17 - .../src/include/vulkan/vk_layer.h | 0 .../src/include/vulkan/vk_platform.h | 6 +- .../src/include/vulkan/vk_sdk_platform.h | 0 .../src/include/vulkan/vulkan.h | 8 +- .../src/include/vulkan/vulkan.hpp | 94266 +++++++++++ .../src/include/vulkan/vulkan_core.h | 1607 +- gfx/angle/cherry_picks.txt | 192 +- gfx/angle/moz.yaml | 6 +- gfx/angle/targets/angle_common/moz.build | 14 +- .../targets/angle_gpu_info_util/moz.build | 20 +- gfx/angle/targets/angle_image_util/moz.build | 14 +- .../compression_utils_portable/moz.build | 12 +- gfx/angle/targets/libEGL/moz.build | 18 +- gfx/angle/targets/libGLESv2/moz.build | 42 +- gfx/angle/targets/preprocessor/moz.build | 14 +- gfx/angle/targets/translator/moz.build | 87 +- gfx/angle/update-angle.py | 5 - gfx/gl/GLLibraryEGL.cpp | 10 +- gfx/gl/GLLibraryEGL.h | 4 +- .../RenderCompositorANGLE.cpp | 2 +- 524 files changed, 162593 insertions(+), 215164 deletions(-) delete mode 100644 gfx/angle/checkout/src/common/spirv/spirv_types.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/TranslatorMetal.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/TranslatorVulkan.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/glslang_wrapper.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/AddAndTrueToLoopCondition.cpp (95%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/AddAndTrueToLoopCondition.h (67%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/AddDefaultReturnStatements.cpp (95%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/AddDefaultReturnStatements.h (70%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/ArrayReturnValueToOutParameter.cpp (93%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/ArrayReturnValueToOutParameter.h (75%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/BreakVariableAliasingInInnerLoops.cpp (97%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/BreakVariableAliasingInInnerLoops.h (73%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/ClampFragDepth.cpp (83%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/ClampFragDepth.h (60%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.cpp rename gfx/angle/checkout/src/compiler/translator/tree_ops/{vulkan => }/EarlyFragmentTestsOptimization.h (50%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/ExpandIntegerPowExpressions.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/ExpandIntegerPowExpressions.h (81%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/RecordConstantPrecision.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/RecordConstantPrecision.h (85%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/RegenerateStructNames.cpp (69%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RemoveSwitchFallThrough.cpp (99%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RemoveSwitchFallThrough.h (79%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteAtomicFunctionExpressions.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteAtomicFunctionExpressions.h (87%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteDoWhile.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteDoWhile.h (75%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteElseBlocks.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteElseBlocks.h (76%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteExpressionsWithShaderStorageBlock.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteExpressionsWithShaderStorageBlock.h (83%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.h rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/RewriteRepeatedAssignToSwizzled.cpp (93%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/RewriteRepeatedAssignToSwizzled.h (60%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteRowMajorMatrices.cpp (97%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteRowMajorMatrices.h (74%) create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.h create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplersOld.cpp rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteUnaryMinusOperatorFloat.cpp (96%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/RewriteUnaryMinusOperatorFloat.h (67%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteUnaryMinusOperatorInt.cpp (97%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/RewriteUnaryMinusOperatorInt.h (72%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateArrayConstructorStatements.cpp (92%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateArrayConstructorStatements.h (71%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateArrayInitialization.cpp (93%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateArrayInitialization.h (81%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateExpressionsReturningArrays.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/SeparateExpressionsReturningArrays.h (79%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/UnfoldShortCircuitAST.cpp (96%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl/mac => }/UnfoldShortCircuitAST.h (70%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/UnfoldShortCircuitToIf.cpp (99%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/UnfoldShortCircuitToIf.h (79%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/UseInterfaceBlockFields.cpp (98%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/UseInterfaceBlockFields.h (59%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/VectorizeVectorScalarArithmetic.cpp (99%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{gl => }/VectorizeVectorScalarArithmetic.h (63%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/WrapSwitchStatementsInBlocks.cpp (94%) rename gfx/angle/checkout/src/compiler/translator/tree_ops/{d3d => }/WrapSwitchStatementsInBlocks.h (74%) delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp create mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.cpp rename gfx/angle/checkout/src/compiler/translator/tree_util/{ReplaceClipCullDistanceVariable.h => ReplaceClipDistanceVariable.h} (58%) delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp delete mode 100644 gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.h rename gfx/angle/checkout/src/libANGLE/{Context_gl_1_autogen.h => Context_gl_1_0_autogen.h} (70%) create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_1_1_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_1_2_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_1_3_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_1_4_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_1_5_autogen.h rename gfx/angle/checkout/src/libANGLE/{Context_gl_2_autogen.h => Context_gl_2_0_autogen.h} (91%) create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_2_1_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_3_0_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_3_1_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_3_2_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_3_3_autogen.h delete mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_3_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_0_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_1_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_2_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_3_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_4_autogen.h rename gfx/angle/checkout/src/libANGLE/{Context_gl_4_autogen.h => Context_gl_4_5_autogen.h} (54%) create mode 100644 gfx/angle/checkout/src/libANGLE/Context_gl_4_6_autogen.h rename gfx/angle/checkout/src/libANGLE/{capture => }/FrameCapture.h (86%) rename gfx/angle/checkout/src/libANGLE/{capture => }/FrameCapture_mock.cpp (95%) delete mode 100644 gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils.h delete mode 100644 gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_1_0_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_2_0_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_3_0_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_3_1_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_3_2_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/capture_gles_ext_autogen.h (85%) rename gfx/angle/checkout/src/libANGLE/{capture => }/frame_capture_utils_autogen.h (99%) rename gfx/angle/checkout/src/libANGLE/{capture => }/gl_enum_utils.h (94%) rename gfx/angle/checkout/src/libANGLE/{capture => }/gl_enum_utils_autogen.h (98%) delete mode 100644 gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp delete mode 100644 gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.h delete mode 100644 gfx/angle/checkout/src/libANGLE/validationEGL_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL11.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL11_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL12.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL12_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL13.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL13_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL14.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL14_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL15.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL15_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL21.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL21_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL31.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL31_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL32.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL32_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL33.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL33_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL41.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL41_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL42.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL42_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL43.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL43_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL44.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL44_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL45.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL45_autogen.h create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL46.cpp create mode 100644 gfx/angle/checkout/src/libANGLE/validationGL46_autogen.h rename gfx/angle/checkout/src/libEGL/{libEGL_autogen.cpp => libEGL.cpp} (89%) create mode 100644 gfx/angle/checkout/src/libEGL/libEGL.def delete mode 100644 gfx/angle/checkout/src/libEGL/libEGL_autogen.def delete mode 100644 gfx/angle/checkout/src/libGLESv2/egl_ext_stubs.cpp delete mode 100644 gfx/angle/checkout/src/libGLESv2/egl_ext_stubs_autogen.h delete mode 100644 gfx/angle/checkout/src/libGLESv2/egl_stubs.cpp delete mode 100644 gfx/angle/checkout/src/libGLESv2/egl_stubs_autogen.h create mode 100644 gfx/angle/checkout/src/libGLESv2/entry_points_egl.cpp rename gfx/angle/checkout/src/libGLESv2/{entry_points_egl_autogen.h => entry_points_egl.h} (91%) delete mode 100644 gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.cpp create mode 100644 gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.cpp rename gfx/angle/checkout/src/libGLESv2/{entry_points_egl_ext_autogen.h => entry_points_egl_ext.h} (91%) delete mode 100644 gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp delete mode 100644 gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.hpp delete mode 100644 gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_screen.h rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vk_icd.h (94%) rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vk_layer.h (100%) rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vk_platform.h (95%) rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vk_sdk_platform.h (100%) rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vulkan.h (90%) create mode 100644 gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.hpp rename gfx/angle/checkout/third_party/{vulkan-deps => }/vulkan-headers/src/include/vulkan/vulkan_core.h (88%) diff --git a/dom/canvas/WebGLShaderValidator.cpp b/dom/canvas/WebGLShaderValidator.cpp index 0cbfe572350b..0790c5c52e10 100644 --- a/dom/canvas/WebGLShaderValidator.cpp +++ b/dom/canvas/WebGLShaderValidator.cpp @@ -80,6 +80,7 @@ static ShCompileOptions ChooseValidatorCompileOptions( options ^= SH_EXPAND_SELECT_HLSL_INTEGER_POW_EXPRESSIONS; options ^= SH_HLSL_GET_DIMENSIONS_IGNORES_BASE_LEVEL; + options ^= SH_DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT; options ^= SH_REMOVE_INVARIANT_AND_CENTROID_FOR_ESSL3; } diff --git a/gfx/angle/MERGE_BASE b/gfx/angle/MERGE_BASE index fb6830dd05e4..db337514c77b 100644 --- a/gfx/angle/MERGE_BASE +++ b/gfx/angle/MERGE_BASE @@ -1 +1 @@ -chromium/4515 +chromium/4324 diff --git a/gfx/angle/checkout/include/EGL/egl.h b/gfx/angle/checkout/include/EGL/egl.h index 6e05b1561410..9ef20d593fe4 100644 --- a/gfx/angle/checkout/include/EGL/egl.h +++ b/gfx/angle/checkout/include/EGL/egl.h @@ -6,15 +6,34 @@ extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: Apache-2.0 +** Copyright (c) 2013-2017 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos EGL XML API Registry. ** The current version of the Registry, generator scripts ** used to make the header, and the header can be found at ** http://www.khronos.org/registry/egl ** -** Khronos $Git commit SHA1: 5a9a7e3fcb $ on $Git commit date: 2020-08-24 11:05:32 -0700 $ +** Khronos $Git commit SHA1: cb927ca98d $ on $Git commit date: 2019-08-08 01:05:38 -0700 $ */ #include @@ -23,7 +42,7 @@ extern "C" { #define EGL_EGL_PROTOTYPES 1 #endif -/* Generated on date 20201001 */ +/* Generated on date 20190808 */ /* Generated C header for: * API: egl diff --git a/gfx/angle/checkout/include/EGL/eglext.h b/gfx/angle/checkout/include/EGL/eglext.h index 776518788f62..c507f1e3e186 100644 --- a/gfx/angle/checkout/include/EGL/eglext.h +++ b/gfx/angle/checkout/include/EGL/eglext.h @@ -6,20 +6,39 @@ extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: Apache-2.0 +** Copyright (c) 2013-2017 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos EGL XML API Registry. ** The current version of the Registry, generator scripts ** used to make the header, and the header can be found at ** http://www.khronos.org/registry/egl ** -** Khronos $Git commit SHA1: 5a9a7e3fcb $ on $Git commit date: 2020-08-24 11:05:32 -0700 $ +** Khronos $Git commit SHA1: cb927ca98d $ on $Git commit date: 2019-08-08 01:05:38 -0700 $ */ #include -#define EGL_EGLEXT_VERSION 20201001 +#define EGL_EGLEXT_VERSION 20190808 /* Generated C header for: * API: egl @@ -424,9 +443,9 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, #ifndef EGL_KHR_swap_buffers_with_damage #define EGL_KHR_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); #ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); +EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); #endif #endif /* EGL_KHR_swap_buffers_with_damage */ @@ -579,12 +598,6 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu #define EGL_FIXED_SIZE_ANGLE 0x3201 #endif /* EGL_ANGLE_window_fixed_size */ -#ifndef EGL_ARM_image_format -#define EGL_ARM_image_format 1 -#define EGL_COLOR_COMPONENT_TYPE_UNSIGNED_INTEGER_ARM 0x3287 -#define EGL_COLOR_COMPONENT_TYPE_INTEGER_ARM 0x3288 -#endif /* EGL_ARM_image_format */ - #ifndef EGL_ARM_implicit_external_sync #define EGL_ARM_implicit_external_sync 1 #define EGL_SYNC_PRIOR_COMMANDS_IMPLICIT_EXTERNAL_ARM 0x328A @@ -688,11 +701,6 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a #define EGL_EXT_device_query 1 #endif /* EGL_EXT_device_query */ -#ifndef EGL_EXT_device_query_name -#define EGL_EXT_device_query_name 1 -#define EGL_RENDERER_EXT 0x335F -#endif /* EGL_EXT_device_query_name */ - #ifndef EGL_EXT_gl_colorspace_bt2020_linear #define EGL_EXT_gl_colorspace_bt2020_linear 1 #define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F @@ -869,12 +877,6 @@ EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 #endif /* EGL_EXT_platform_x11 */ -#ifndef EGL_EXT_platform_xcb -#define EGL_EXT_platform_xcb 1 -#define EGL_PLATFORM_XCB_EXT 0x31DC -#define EGL_PLATFORM_XCB_SCREEN_EXT 0x31DE -#endif /* EGL_EXT_platform_xcb */ - #ifndef EGL_EXT_protected_content #define EGL_EXT_protected_content 1 #define EGL_PROTECTED_CONTENT_EXT 0x32C0 @@ -915,9 +917,9 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStr #ifndef EGL_EXT_swap_buffers_with_damage #define EGL_EXT_swap_buffers_with_damage 1 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); +typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); #ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); +EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); #endif #endif /* EGL_EXT_swap_buffers_with_damage */ @@ -1141,24 +1143,6 @@ EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface sur #define EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x334C #endif /* EGL_NV_robustness_video_memory_purge */ -#ifndef EGL_NV_stream_consumer_eglimage -#define EGL_NV_stream_consumer_eglimage 1 -#define EGL_STREAM_CONSUMER_IMAGE_NV 0x3373 -#define EGL_STREAM_IMAGE_ADD_NV 0x3374 -#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375 -#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376 -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); -typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list); -EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux); -EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync); -EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync); -#endif -#endif /* EGL_NV_stream_consumer_eglimage */ - #ifndef EGL_NV_stream_consumer_gltexture_yuv #define EGL_NV_stream_consumer_gltexture_yuv 1 #define EGL_YUV_PLANE0_TEXTURE_UNIT_NV 0x332C @@ -1378,40 +1362,6 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); #define EGL_NATIVE_SURFACE_TIZEN 0x32A1 #endif /* EGL_TIZEN_image_native_surface */ -#ifndef EGL_WL_bind_wayland_display -#define EGL_WL_bind_wayland_display 1 -#define PFNEGLBINDWAYLANDDISPLAYWL PFNEGLBINDWAYLANDDISPLAYWLPROC -#define PFNEGLUNBINDWAYLANDDISPLAYWL PFNEGLUNBINDWAYLANDDISPLAYWLPROC -#define PFNEGLQUERYWAYLANDBUFFERWL PFNEGLQUERYWAYLANDBUFFERWLPROC -struct wl_display; -struct wl_resource; -#define EGL_WAYLAND_BUFFER_WL 0x31D5 -#define EGL_WAYLAND_PLANE_WL 0x31D6 -#define EGL_TEXTURE_Y_U_V_WL 0x31D7 -#define EGL_TEXTURE_Y_UV_WL 0x31D8 -#define EGL_TEXTURE_Y_XUXV_WL 0x31D9 -#define EGL_TEXTURE_EXTERNAL_WL 0x31DA -#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB -typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWLPROC) (EGLDisplay dpy, struct wl_display *display); -typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); -EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL (EGLDisplay dpy, struct wl_display *display); -EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); -#endif -#endif /* EGL_WL_bind_wayland_display */ - -#ifndef EGL_WL_create_wayland_buffer_from_image -#define EGL_WL_create_wayland_buffer_from_image 1 -#define PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWL PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC -struct wl_buffer; -typedef struct wl_buffer *(EGLAPIENTRYP PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC) (EGLDisplay dpy, EGLImageKHR image); -#ifdef EGL_EGLEXT_PROTOTYPES -EGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDisplay dpy, EGLImageKHR image); -#endif -#endif /* EGL_WL_create_wayland_buffer_from_image */ - /* ANGLE EGL extensions */ #include "eglext_angle.h" diff --git a/gfx/angle/checkout/include/EGL/eglext_angle.h b/gfx/angle/checkout/include/EGL/eglext_angle.h index 108bee18eb92..c56213b720dc 100644 --- a/gfx/angle/checkout/include/EGL/eglext_angle.h +++ b/gfx/angle/checkout/include/EGL/eglext_angle.h @@ -24,11 +24,9 @@ #ifndef EGL_ANGLE_d3d_texture_client_buffer #define EGL_ANGLE_d3d_texture_client_buffer 1 -#define EGL_D3D_TEXTURE_ANGLE 0x33A3 -#define EGL_TEXTURE_OFFSET_X_ANGLE 0x3490 -#define EGL_TEXTURE_OFFSET_Y_ANGLE 0x3491 -#define EGL_D3D11_TEXTURE_PLANE_ANGLE 0x3492 -#define EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE 0x3493 +#define EGL_D3D_TEXTURE_ANGLE 0x33A3 +#define EGL_TEXTURE_OFFSET_X_ANGLE 0x3490 +#define EGL_TEXTURE_OFFSET_Y_ANGLE 0x3491 #endif /* EGL_ANGLE_d3d_texture_client_buffer */ #ifndef EGL_ANGLE_software_display @@ -206,12 +204,12 @@ EGLAPI EGLBoolean EGLAPIENTRY eglReleaseDeviceANGLE(EGLDeviceEXT device); typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHEGETATTRIBANGLEPROC) (EGLDisplay dpy, EGLenum attrib); typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEQUERYANGLEPROC) (EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize); typedef void (EGLAPIENTRYP PFNEGLPROGRAMCACHEPOPULATEANGLEPROC) (EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize); -typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLint mode); +typedef EGLint (EGLAPIENTRYP PFNEGLPROGRAMCACHERESIZEANGLEPROC) (EGLDisplay dpy, EGLint limit, EGLenum mode); #ifdef EGL_EGLEXT_PROTOTYPES EGLAPI EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib); EGLAPI void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize); EGLAPI void EGLAPIENTRY eglProgramCachePopulateANGLE(EGLDisplay dpy, const void *key, EGLint keysize, const void *binary, EGLint binarysize); -EGLAPI EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLint mode); +EGLAPI EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLenum mode); #endif #endif /* EGL_ANGLE_program_cache_control */ @@ -228,11 +226,6 @@ EGLAPI EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limi #define EGL_BIND_TO_TEXTURE_TARGET_ANGLE 0x348D #endif /* EGL_ANGLE_iosurface_client_buffer */ -#ifndef ANGLE_metal_texture_client_buffer -#define ANGLE_metal_texture_client_buffer 1 -#define EGL_METAL_TEXTURE_ANGLE 0x34A7 -#endif /* ANGLE_metal_texture_client_buffer */ - #ifndef EGL_ANGLE_create_context_extensions_enabled #define EGL_ANGLE_create_context_extensions_enabled 1 #define EGL_EXTENSIONS_ENABLED_ANGLE 0x345F @@ -338,23 +331,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, #define EGL_EAGL_CONTEXT_ANGLE 0x348C #endif -#ifndef EGL_ANGLE_device_metal -#define EGL_ANGLE_device_metal 1 -#define EGL_METAL_DEVICE_ANGLE 0x34A6 -#endif /* EGL_ANGLE_device_metal */ - #ifndef EGL_ANGLE_display_semaphore_share_group #define EGL_ANGLE_display_semaphore_share_group 1 #define EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE 0x348D #endif /* EGL_ANGLE_display_semaphore_share_group */ -#ifndef EGL_ANGLE_external_context_and_surface -#define EGL_ANGLE_external_context_and_surface 1 -#define EGL_EXTERNAL_CONTEXT_ANGLE 0x348E -#define EGL_EXTERNAL_SURFACE_ANGLE 0x348F -#define EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE 0x3490 -#endif /* EGL_ANGLE_external_context_and_surface */ - // clang-format on #endif // INCLUDE_EGL_EGLEXT_ANGLE_ diff --git a/gfx/angle/checkout/include/EGL/eglplatform.h b/gfx/angle/checkout/include/EGL/eglplatform.h index 9ebaf00a9b3d..d1cae177246b 100644 --- a/gfx/angle/checkout/include/EGL/eglplatform.h +++ b/gfx/angle/checkout/include/EGL/eglplatform.h @@ -2,17 +2,36 @@ #define __eglplatform_h_ /* -** Copyright 2007-2020 The Khronos Group Inc. -** SPDX-License-Identifier: Apache-2.0 +** Copyright (c) 2007-2016 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ /* Platform-specific types and definitions for egl.h + * $Revision: 30994 $ on $Date: 2015-04-30 13:36:48 -0700 (Thu, 30 Apr 2015) $ * * Adopters may modify khrplatform.h and this file to suit their platform. * You are encouraged to submit all modifications to the Khronos group so that * they can be included in future versions of this file. Please submit changes - * by filing an issue or pull request on the public Khronos EGL Registry, at - * https://www.github.com/KhronosGroup/EGL-Registry/ + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "EGL" component "Registry". */ #include @@ -48,13 +67,7 @@ * implementations. */ -#if defined(EGL_NO_PLATFORM_SPECIFIC_TYPES) - -typedef void *EGLNativeDisplayType; -typedef void *EGLNativePixmapType; -typedef void *EGLNativeWindowType; - -#elif defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ +#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif @@ -70,12 +83,6 @@ typedef HWND EGLNativeWindowType; typedef IInspectable* EGLNativeWindowType; #endif -#elif defined(__EMSCRIPTEN__) - -typedef int EGLNativeDisplayType; -typedef int EGLNativePixmapType; -typedef int EGLNativeWindowType; - #elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ typedef int EGLNativeDisplayType; @@ -103,17 +110,17 @@ typedef void* EGLNativeDisplayType; typedef struct egl_native_pixmap_t* EGLNativePixmapType; typedef struct ANativeWindow* EGLNativeWindowType; -#elif defined(USE_OZONE) +#elif defined(USE_OZONE) || defined(USE_SYSTEM_EGL) typedef intptr_t EGLNativeDisplayType; typedef intptr_t EGLNativePixmapType; typedef intptr_t EGLNativeWindowType; -#elif defined(__unix__) && defined(EGL_NO_X11) +#elif defined(__ggp__) -typedef void *EGLNativeDisplayType; -typedef khronos_uintptr_t EGLNativePixmapType; -typedef khronos_uintptr_t EGLNativeWindowType; +typedef intptr_t EGLNativeDisplayType; +typedef intptr_t EGLNativePixmapType; +typedef intptr_t EGLNativeWindowType; #elif defined(__unix__) || defined(USE_X11) @@ -141,9 +148,9 @@ typedef khronos_uintptr_t EGLNativeWindowType; #elif defined(__Fuchsia__) -typedef void *EGLNativeDisplayType; -typedef khronos_uintptr_t EGLNativePixmapType; -typedef khronos_uintptr_t EGLNativeWindowType; +typedef int EGLNativeDisplayType; +typedef void *EGLNativePixmapType; +typedef void *EGLNativeWindowType #else #error "Platform not recognized" diff --git a/gfx/angle/checkout/include/GLES2/gl2.h b/gfx/angle/checkout/include/GLES2/gl2.h index 3c5e6d3d6e5a..975c3dc495cd 100644 --- a/gfx/angle/checkout/include/GLES2/gl2.h +++ b/gfx/angle/checkout/include/GLES2/gl2.h @@ -1,14 +1,33 @@ -#ifndef __gles2_gl2_h_ -#define __gles2_gl2_h_ 1 +#ifndef __gl2_h_ +#define __gl2_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: MIT +** Copyright (c) 2013-2017 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at @@ -25,7 +44,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20210107 */ +/* Generated on date 20170325 */ /* Generated C header for: * API: gles2 @@ -43,8 +62,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef khronos_int16_t GLshort; -typedef khronos_uint16_t GLushort; +typedef short GLshort; +typedef unsigned short GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -458,7 +477,7 @@ typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -601,7 +620,7 @@ GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); diff --git a/gfx/angle/checkout/include/GLES2/gl2ext.h b/gfx/angle/checkout/include/GLES2/gl2ext.h index 948cd8354179..8393b0734ccf 100644 --- a/gfx/angle/checkout/include/GLES2/gl2ext.h +++ b/gfx/angle/checkout/include/GLES2/gl2ext.h @@ -6,9 +6,28 @@ extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: MIT +** Copyright (c) 2013-2018 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at @@ -19,7 +38,7 @@ extern "C" { #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20210107 */ +/* Generated on date 20200221 */ /* Generated C header for: * API: gles2 @@ -331,12 +350,12 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); #ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); +GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex); #endif #endif /* GL_OES_draw_elements_base_vertex */ @@ -1605,10 +1624,6 @@ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, #endif #endif /* GL_EXT_multisampled_render_to_texture */ -#ifndef GL_EXT_multisampled_render_to_texture2 -#define GL_EXT_multisampled_render_to_texture2 1 -#endif /* GL_EXT_multisampled_render_to_texture2 */ - #ifndef GL_EXT_multiview_draw_buffers #define GL_EXT_multiview_draw_buffers 1 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 @@ -2444,11 +2459,6 @@ GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint quer #endif #endif /* GL_INTEL_performance_query */ -#ifndef GL_MESA_framebuffer_flip_x -#define GL_MESA_framebuffer_flip_x 1 -#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC -#endif /* GL_MESA_framebuffer_flip_x */ - #ifndef GL_MESA_framebuffer_flip_y #define GL_MESA_framebuffer_flip_y 1 #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB @@ -2460,11 +2470,6 @@ GL_APICALL void GL_APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLen #endif #endif /* GL_MESA_framebuffer_flip_y */ -#ifndef GL_MESA_framebuffer_swap_xy -#define GL_MESA_framebuffer_swap_xy 1 -#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD -#endif /* GL_MESA_framebuffer_swap_xy */ - #ifndef GL_MESA_program_binary_formats #define GL_MESA_program_binary_formats 1 #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F @@ -3003,20 +3008,6 @@ GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint m #endif #endif /* GL_NV_memory_attachment */ -#ifndef GL_NV_memory_object_sparse -#define GL_NV_memory_object_sparse 1 -typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); -typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); -typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); -typedef void (GL_APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); -GL_APICALL void GL_APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); -GL_APICALL void GL_APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit); -GL_APICALL void GL_APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit); -#endif -#endif /* GL_NV_memory_object_sparse */ - #ifndef GL_NV_mesh_shader #define GL_NV_mesh_shader 1 #define GL_MESH_SHADER_NV 0x9559 @@ -3442,12 +3433,6 @@ GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode); #endif #endif /* GL_NV_polygon_mode */ -#ifndef GL_NV_primitive_shading_rate -#define GL_NV_primitive_shading_rate 1 -#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1 -#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2 -#endif /* GL_NV_primitive_shading_rate */ - #ifndef GL_NV_read_buffer #define GL_NV_read_buffer 1 #define GL_READ_BUFFER_NV 0x0C02 @@ -3614,23 +3599,6 @@ GL_APICALL void GL_APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuin #define GL_NV_texture_npot_2D_mipmap 1 #endif /* GL_NV_texture_npot_2D_mipmap */ -#ifndef GL_NV_timeline_semaphore -#define GL_NV_timeline_semaphore 1 -#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595 -#define GL_SEMAPHORE_TYPE_NV 0x95B3 -#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4 -#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5 -#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6 -typedef void (GL_APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores); -typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores); -GL_APICALL void GL_APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params); -#endif -#endif /* GL_NV_timeline_semaphore */ - #ifndef GL_NV_viewport_array #define GL_NV_viewport_array 1 #define GL_MAX_VIEWPORTS_NV 0x825B @@ -3797,14 +3765,6 @@ GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe #endif #endif /* GL_QCOM_extended_get2 */ -#ifndef GL_QCOM_frame_extrapolation -#define GL_QCOM_frame_extrapolation 1 -typedef void (GL_APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor); -#endif -#endif /* GL_QCOM_frame_extrapolation */ - #ifndef GL_QCOM_framebuffer_foveated #define GL_QCOM_framebuffer_foveated 1 #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001 @@ -3817,18 +3777,6 @@ GL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebu #endif #endif /* GL_QCOM_framebuffer_foveated */ -#ifndef GL_QCOM_motion_estimation -#define GL_QCOM_motion_estimation 1 -#define GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM 0x8C90 -#define GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM 0x8C91 -typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONQCOMPROC) (GLuint ref, GLuint target, GLuint output); -typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) (GLuint ref, GLuint target, GLuint output, GLuint mask); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output); -GL_APICALL void GL_APIENTRY glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask); -#endif -#endif /* GL_QCOM_motion_estimation */ - #ifndef GL_QCOM_perfmon_global_mode #define GL_QCOM_perfmon_global_mode 1 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 @@ -3847,22 +3795,6 @@ GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void); #define GL_QCOM_shader_framebuffer_fetch_rate 1 #endif /* GL_QCOM_shader_framebuffer_fetch_rate */ -#ifndef GL_QCOM_shading_rate -#define GL_QCOM_shading_rate 1 -#define GL_SHADING_RATE_QCOM 0x96A4 -#define GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM 0x96A5 -#define GL_SHADING_RATE_1X1_PIXELS_QCOM 0x96A6 -#define GL_SHADING_RATE_1X2_PIXELS_QCOM 0x96A7 -#define GL_SHADING_RATE_2X1_PIXELS_QCOM 0x96A8 -#define GL_SHADING_RATE_2X2_PIXELS_QCOM 0x96A9 -#define GL_SHADING_RATE_4X2_PIXELS_QCOM 0x96AC -#define GL_SHADING_RATE_4X4_PIXELS_QCOM 0x96AE -typedef void (GL_APIENTRYP PFNGLSHADINGRATEQCOMPROC) (GLenum rate); -#ifdef GL_GLEXT_PROTOTYPES -GL_APICALL void GL_APIENTRY glShadingRateQCOM (GLenum rate); -#endif -#endif /* GL_QCOM_shading_rate */ - #ifndef GL_QCOM_texture_foveated #define GL_QCOM_texture_foveated 1 #define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB @@ -3876,11 +3808,6 @@ GL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GL #endif #endif /* GL_QCOM_texture_foveated */ -#ifndef GL_QCOM_texture_foveated2 -#define GL_QCOM_texture_foveated2 1 -#define GL_TEXTURE_FOVEATED_CUTOFF_DENSITY_QCOM 0x96A0 -#endif /* GL_QCOM_texture_foveated2 */ - #ifndef GL_QCOM_texture_foveated_subsampled_layout #define GL_QCOM_texture_foveated_subsampled_layout 1 #define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004 diff --git a/gfx/angle/checkout/include/GLES2/gl2ext_angle.h b/gfx/angle/checkout/include/GLES2/gl2ext_angle.h index 829724203b0c..4b948b5ec3b2 100644 --- a/gfx/angle/checkout/include/GLES2/gl2ext_angle.h +++ b/gfx/angle/checkout/include/GLES2/gl2ext_angle.h @@ -570,11 +570,6 @@ GL_APICALL void GL_APIENTRY glImportSemaphoreZirconHandleANGLE(GLuint memory, #define GL_PURGED_CONTEXT_RESET_NV 0x92BB #endif /* GL_NV_robustness_video_memory */ -#ifndef GL_ANGLE_get_serialized_context_string -#define GL_ANGLE_get_serialized_context_string -#define GL_SERIALIZED_CONTEXT_STRING_ANGLE 0x96B0 -#endif /* GL_ANGLE_get_serialized_context_string */ - // clang-format on #endif // INCLUDE_GLES2_GL2EXT_ANGLE_H_ diff --git a/gfx/angle/checkout/include/GLES2/gl2ext_explicit_context_autogen.inc b/gfx/angle/checkout/include/GLES2/gl2ext_explicit_context_autogen.inc index b88ea8b54614..ed4b2ba5b791 100644 --- a/gfx/angle/checkout/include/GLES2/gl2ext_explicit_context_autogen.inc +++ b/gfx/angle/checkout/include/GLES2/gl2ext_explicit_context_autogen.inc @@ -150,13 +150,10 @@ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FCONTEXTANGLEPROC)(GLeglContext ctx typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVCONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, const GLfloat *v); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERCONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); typedef void (GL_APIENTRYP PFNGLVIEWPORTCONTEXTANGLEPROC)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline, GLuint program); typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLuint id); typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLuint color, const GLchar *name); typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline); typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint array); -typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRCONTEXTANGLEPROC)(GLeglContext ctx); typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum mode); @@ -166,11 +163,9 @@ typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESCONTEXTANGLEPROC)(GLeglCont typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst); typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst); typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVCONTEXTANGLEPROC)(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); -typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum origin, GLenum depth); typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); @@ -179,13 +174,11 @@ typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTCONTEXTANGLEPROC)(GLeglContex typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *memoryObjects); -typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum type, GLsizei count, const GLchar **strings); typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLDEBUGPROCKHR callback, const void *userParam); typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *fences); typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *memoryObjects); -typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *pipelines); typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *ids); typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *semaphores); typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, const GLuint *arrays); @@ -210,13 +203,11 @@ typedef void (GL_APIENTRYP PFNGLENABLEIOESCONTEXTANGLEPROC)(GLeglContext ctx, GL typedef void (GL_APIENTRYP PFNGLENDQUERYEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target); typedef void (GL_APIENTRYP PFNGLFINISHFENCENVCONTEXTANGLEPROC)(GLeglContext ctx, GLuint fence); typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); -typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTCONTEXTANGLEPROC)(GLeglContext ctx); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); typedef void (GL_APIENTRYP PFNGLGENFENCESNVCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *fences); -typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *pipelines); typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *ids); typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *semaphores); typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei n, GLuint *arrays); @@ -227,27 +218,20 @@ typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTCONTEXTANGLEPROC)(GLeglConte typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTCONTEXTANGLEPROC)(GLeglContext ctx); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum pname, GLint64 *data); typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint memoryObject, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRCONTEXTANGLEPROC)(GLeglContext ctx, const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum pname, void **params); typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline, GLenum pname, GLint *params); typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id, GLenum pname, GLint64 *params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id, GLenum pname, GLint *params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id, GLenum pname, GLuint64 *params); typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint semaphore, GLenum pname, GLuint64 *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, GLuint *params); typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum pname, GLubyte *data); @@ -261,11 +245,9 @@ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTCONTEXTANGLEPROC)(GLeglContext typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLuint index); typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVCONTEXTANGLEPROC)(GLeglContext ctx, GLuint fence); typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint memoryObject); -typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline); typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id); typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint semaphore); typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint array); -typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum type, GLuint object, GLsizei length, const GLchar *label); typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum access); typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLuint count); @@ -275,54 +257,16 @@ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTCONTEXTANGLEPROC)( typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei length, const GLchar *label); typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRCONTEXTANGLEPROC)(GLeglContext ctx, const void *ptr, GLsizei length, const GLchar *label); -typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum pname, GLint value); typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRCONTEXTANGLEPROC)(GLeglContext ctx); typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTCONTEXTANGLEPROC)(GLeglContext ctx); -typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLint length); -typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLenum pname, GLint value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLuint v0); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRCONTEXTANGLEPROC)(GLeglContext ctx, GLenum source, GLuint id, GLsizei length, const GLchar *message); typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTCONTEXTANGLEPROC)(GLeglContext ctx, GLsizei length, const GLchar *marker); typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint id, GLenum target); typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); -typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLuint *param); typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLuint *param); typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint semaphore, GLenum pname, const GLuint64 *params); typedef void (GL_APIENTRYP PFNGLSETFENCENVCONTEXTANGLEPROC)(GLeglContext ctx, GLuint fence, GLenum condition); @@ -333,9 +277,7 @@ typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESCONTEXTANGLEPROC)(GLeglContext ctx, typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); -typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, const GLuint *params); typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLenum pname, const GLuint *params); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); @@ -347,8 +289,6 @@ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTCONTEXTANGLEPROC)(GLeglContext typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESCONTEXTANGLEPROC)(GLeglContext ctx, GLenum target); -typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint pipeline); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, GLuint divisor); typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint index, GLuint divisor); typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTCONTEXTANGLEPROC)(GLeglContext ctx, GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); @@ -426,7 +366,7 @@ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VROBUSTANGLECONTEXTANGLEPROC)( typedef void (GL_APIENTRYP PFNGLCOPYTEXTURE3DANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint internalFormat, GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); typedef void (GL_APIENTRYP PFNGLCOPYSUBTEXTURE3DANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLint z, GLint width, GLint height, GLint depth, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint * params); typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLfloat * params); typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount); typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINSTANCEDANGLECONTEXTANGLEPROC)(GLeglContext ctx, GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount); @@ -593,13 +533,10 @@ GL_APICALL void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, GLuin GL_APICALL void GL_APIENTRY glVertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v); GL_APICALL void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); GL_APICALL void GL_APIENTRY glViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glActiveShaderProgramEXTContextANGLE(GLeglContext ctx, GLuint pipeline, GLuint program); GL_APICALL void GL_APIENTRY glBeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id); GL_APICALL void GL_APIENTRY glBindFragDataLocationEXTContextANGLE(GLeglContext ctx, GLuint program, GLuint color, const GLchar *name); GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -GL_APICALL void GL_APIENTRY glBindProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline); GL_APICALL void GL_APIENTRY glBindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); -GL_APICALL void GL_APIENTRY glBlendBarrierKHRContextANGLE(GLeglContext ctx); GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); GL_APICALL void GL_APIENTRY glBlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode); @@ -609,11 +546,9 @@ GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOESContextANGLE(GLeglContext ctx GL_APICALL void GL_APIENTRY glBlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst); GL_APICALL void GL_APIENTRY glBlendFunciOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst); GL_APICALL void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GL_APICALL void GL_APIENTRY glBlitFramebufferNVContextANGLE(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); GL_APICALL void GL_APIENTRY glBufferStorageEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); GL_APICALL void GL_APIENTRY glBufferStorageExternalEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); GL_APICALL void GL_APIENTRY glBufferStorageMemEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); -GL_APICALL void GL_APIENTRY glClipControlEXTContextANGLE(GLeglContext ctx, GLenum origin, GLenum depth); GL_APICALL void GL_APIENTRY glColorMaskiEXTContextANGLE(GLeglContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); GL_APICALL void GL_APIENTRY glColorMaskiOESContextANGLE(GLeglContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); GL_APICALL void GL_APIENTRY glCompressedTexImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); @@ -622,13 +557,11 @@ GL_APICALL void GL_APIENTRY glCopyImageSubDataEXTContextANGLE(GLeglContext ctx, GL_APICALL void GL_APIENTRY glCopyImageSubDataOESContextANGLE(GLeglContext ctx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *memoryObjects); -GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXTContextANGLE(GLeglContext ctx, GLenum type, GLsizei count, const GLchar **strings); GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHRContextANGLE(GLeglContext ctx, GLDEBUGPROCKHR callback, const void *userParam); GL_APICALL void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GL_APICALL void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); GL_APICALL void GL_APIENTRY glDeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences); GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *memoryObjects); -GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *pipelines); GL_APICALL void GL_APIENTRY glDeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids); GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *semaphores); GL_APICALL void GL_APIENTRY glDeleteVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays); @@ -653,13 +586,11 @@ GL_APICALL void GL_APIENTRY glEnableiOESContextANGLE(GLeglContext ctx, GLenum ta GL_APICALL void GL_APIENTRY glEndQueryEXTContextANGLE(GLeglContext ctx, GLenum target); GL_APICALL void GL_APIENTRY glFinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence); GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); -GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXTContextANGLE(GLeglContext ctx); GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); GL_APICALL void GL_APIENTRY glFramebufferTexture3DOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); GL_APICALL void GL_APIENTRY glFramebufferTextureEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level); GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); GL_APICALL void GL_APIENTRY glGenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences); -GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines); GL_APICALL void GL_APIENTRY glGenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); GL_APICALL void GL_APIENTRY glGenSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *semaphores); GL_APICALL void GL_APIENTRY glGenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays); @@ -670,27 +601,20 @@ GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXTContextANGLE(GLeglContext ctx, GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx); GL_APICALL void GL_APIENTRY glGetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data); GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, GLuint memoryObject, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetObjectLabelEXTContextANGLE(GLeglContext ctx, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); GL_APICALL void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); GL_APICALL void GL_APIENTRY glGetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params); GL_APICALL void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXTContextANGLE(GLeglContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXTContextANGLE(GLeglContext ctx, GLuint pipeline, GLenum pname, GLint *params); GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLint64 *params); GL_APICALL void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLint *params); GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint64 *params); GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXTContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, GLuint semaphore, GLenum pname, GLuint64 *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); GL_APICALL void GL_APIENTRY glGetTexParameterIivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetTexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLuint *params); GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXTContextANGLE(GLeglContext ctx, GLenum pname, GLubyte *data); @@ -704,11 +628,9 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXTContextANGLE(GLeglContext ctx, G GL_APICALL GLboolean GL_APIENTRY glIsEnablediOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index); GL_APICALL GLboolean GL_APIENTRY glIsFenceNVContextANGLE(GLeglContext ctx, GLuint fence); GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXTContextANGLE(GLeglContext ctx, GLuint memoryObject); -GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline); GL_APICALL GLboolean GL_APIENTRY glIsQueryEXTContextANGLE(GLeglContext ctx, GLuint id); GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore); GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); -GL_APICALL void GL_APIENTRY glLabelObjectEXTContextANGLE(GLeglContext ctx, GLenum type, GLuint object, GLsizei length, const GLchar *label); GL_APICALL void *GL_APIENTRY glMapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access); GL_APICALL void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GLuint count); @@ -718,54 +640,16 @@ GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXTContextANGLE(GLeglCo GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); GL_APICALL void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei length, const GLchar *label); GL_APICALL void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei length, const GLchar *label); -GL_APICALL void GL_APIENTRY glPatchParameteriEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint value); GL_APICALL void GL_APIENTRY glPopDebugGroupKHRContextANGLE(GLeglContext ctx); GL_APICALL void GL_APIENTRY glPopGroupMarkerEXTContextANGLE(GLeglContext ctx); -GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXTContextANGLE(GLeglContext ctx, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); GL_APICALL void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLint length); -GL_APICALL void GL_APIENTRY glProgramParameteriEXTContextANGLE(GLeglContext ctx, GLuint program, GLenum pname, GLint value); -GL_APICALL void GL_APIENTRY glProgramUniform1fEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0); -GL_APICALL void GL_APIENTRY glProgramUniform1fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform1iEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0); -GL_APICALL void GL_APIENTRY glProgramUniform1ivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform1uiEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0); -GL_APICALL void GL_APIENTRY glProgramUniform1uivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2fEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1); -GL_APICALL void GL_APIENTRY glProgramUniform2fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform2iEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); -GL_APICALL void GL_APIENTRY glProgramUniform2ivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform2uiEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1); -GL_APICALL void GL_APIENTRY glProgramUniform2uivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3fEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GL_APICALL void GL_APIENTRY glProgramUniform3fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform3iEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GL_APICALL void GL_APIENTRY glProgramUniform3ivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform3uiEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GL_APICALL void GL_APIENTRY glProgramUniform3uivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4fEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GL_APICALL void GL_APIENTRY glProgramUniform4fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniform4iEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GL_APICALL void GL_APIENTRY glProgramUniform4ivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); -GL_APICALL void GL_APIENTRY glProgramUniform4uiEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GL_APICALL void GL_APIENTRY glProgramUniform4uivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); GL_APICALL void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, GLenum source, GLuint id, GLsizei length, const GLchar *message); GL_APICALL void GL_APIENTRY glPushGroupMarkerEXTContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *marker); GL_APICALL void GL_APIENTRY glQueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target); GL_APICALL void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glSamplerParameterIivEXTContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); GL_APICALL void GL_APIENTRY glSamplerParameterIivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); -GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLuint *param); GL_APICALL void GL_APIENTRY glSamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLuint *param); GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, GLuint semaphore, GLenum pname, const GLuint64 *params); GL_APICALL void GL_APIENTRY glSetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition); @@ -776,9 +660,7 @@ GL_APICALL void GL_APIENTRY glTexBufferOESContextANGLE(GLeglContext ctx, GLenum GL_APICALL void GL_APIENTRY glTexBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); GL_APICALL void GL_APIENTRY glTexBufferRangeOESContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); GL_APICALL void GL_APIENTRY glTexImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GL_APICALL void GL_APIENTRY glTexParameterIivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); GL_APICALL void GL_APIENTRY glTexParameterIivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); -GL_APICALL void GL_APIENTRY glTexParameterIuivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLuint *params); GL_APICALL void GL_APIENTRY glTexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLuint *params); GL_APICALL void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); GL_APICALL void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); @@ -790,8 +672,6 @@ GL_APICALL void GL_APIENTRY glTexStorageMem3DEXTContextANGLE(GLeglContext ctx, G GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); GL_APICALL void GL_APIENTRY glTexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target); -GL_APICALL void GL_APIENTRY glUseProgramStagesEXTContextANGLE(GLeglContext ctx, GLuint pipeline, GLbitfield stages, GLuint program); -GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline); GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor); GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXTContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor); GL_APICALL void GL_APIENTRY glWaitSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts); @@ -869,7 +749,7 @@ GL_APICALL void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglCo GL_APICALL void GL_APIENTRY glCopyTexture3DANGLEContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint internalFormat, GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); GL_APICALL void GL_APIENTRY glCopySubTexture3DANGLEContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLint z, GLint width, GLint height, GLint depth, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); GL_APICALL void GL_APIENTRY glTexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint * params); GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLfloat * params); GL_APICALL void GL_APIENTRY glMultiDrawArraysANGLEContextANGLE(GLeglContext ctx, GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount); GL_APICALL void GL_APIENTRY glMultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount); diff --git a/gfx/angle/checkout/include/GLES2/gl2platform.h b/gfx/angle/checkout/include/GLES2/gl2platform.h index 5bcce6d89e09..89d4d44dc1bb 100644 --- a/gfx/angle/checkout/include/GLES2/gl2platform.h +++ b/gfx/angle/checkout/include/GLES2/gl2platform.h @@ -1,17 +1,20 @@ #ifndef __gl2platform_h_ #define __gl2platform_h_ +/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ + /* -** Copyright 2017-2020 The Khronos Group Inc. -** SPDX-License-Identifier: Apache-2.0 -*/ + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h * * Adopters may modify khrplatform.h and this file to suit their platform. - * Please contribute modifications back to Khronos as pull requests on the - * public github repository: - * https://github.com/KhronosGroup/OpenGL-Registry + * You are encouraged to submit all modifications to the Khronos group so that + * they can be included in future versions of this file. Please submit changes + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "OpenGL-ES" component "Registry". */ #include diff --git a/gfx/angle/checkout/include/GLES3/gl3.h b/gfx/angle/checkout/include/GLES3/gl3.h index 6bb4d8f9199b..45707856d298 100644 --- a/gfx/angle/checkout/include/GLES3/gl3.h +++ b/gfx/angle/checkout/include/GLES3/gl3.h @@ -6,9 +6,28 @@ extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: MIT +** Copyright (c) 2013-2018 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at @@ -25,7 +44,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20210107 */ +/* Generated on date 20181130 */ /* Generated C header for: * API: gles2 @@ -458,7 +477,7 @@ typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -601,7 +620,7 @@ GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); @@ -1049,7 +1068,7 @@ typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); -typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); @@ -1076,7 +1095,7 @@ typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsiz typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); #if GL_GLES_PROTOTYPES GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); @@ -1154,7 +1173,7 @@ GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); -GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); @@ -1181,7 +1200,7 @@ GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numA GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); +GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); #endif #endif /* GL_ES_VERSION_3_0 */ diff --git a/gfx/angle/checkout/include/GLES3/gl31.h b/gfx/angle/checkout/include/GLES3/gl31.h index 502d6feec852..4806181e0426 100644 --- a/gfx/angle/checkout/include/GLES3/gl31.h +++ b/gfx/angle/checkout/include/GLES3/gl31.h @@ -1,18 +1,39 @@ -#ifndef __gles2_gl31_h_ -#define __gles2_gl31_h_ 1 +#ifndef __gl31_h_ +#define __gl31_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: MIT +** Copyright (c) 2013-2016 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** https://github.com/KhronosGroup/OpenGL-Registry +** http://www.opengl.org/registry/ +** +** Khronos $Revision$ on $Date$ */ #include @@ -25,7 +46,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20191013 */ +/* Generated on date 20161024 */ /* Generated C header for: * API: gles2 @@ -43,8 +64,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef khronos_int16_t GLshort; -typedef khronos_uint16_t GLushort; +typedef short GLshort; +typedef unsigned short GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -651,7 +672,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef khronos_uint16_t GLhalf; +typedef unsigned short GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 diff --git a/gfx/angle/checkout/include/GLES3/gl32.h b/gfx/angle/checkout/include/GLES3/gl32.h index ae56b0e95f24..a1af7c6970d8 100644 --- a/gfx/angle/checkout/include/GLES3/gl32.h +++ b/gfx/angle/checkout/include/GLES3/gl32.h @@ -1,18 +1,39 @@ -#ifndef __gles2_gl32_h_ -#define __gles2_gl32_h_ 1 +#ifndef __gl32_h_ +#define __gl32_h_ 1 #ifdef __cplusplus extern "C" { #endif /* -** Copyright 2013-2020 The Khronos Group Inc. -** SPDX-License-Identifier: MIT +** Copyright (c) 2013-2016 The Khronos Group Inc. ** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* ** This header is generated from the Khronos OpenGL / OpenGL ES XML ** API Registry. The current version of the Registry, generator scripts ** used to make the header, and the header can be found at -** https://github.com/KhronosGroup/OpenGL-Registry +** http://www.opengl.org/registry/ +** +** Khronos $Revision$ on $Date$ */ #include @@ -25,7 +46,7 @@ extern "C" { #define GL_GLES_PROTOTYPES 1 #endif -/* Generated on date 20191013 */ +/* Generated on date 20161024 */ /* Generated C header for: * API: gles2 @@ -43,8 +64,8 @@ extern "C" { typedef khronos_int8_t GLbyte; typedef khronos_float_t GLclampf; typedef khronos_int32_t GLfixed; -typedef khronos_int16_t GLshort; -typedef khronos_uint16_t GLushort; +typedef short GLshort; +typedef unsigned short GLushort; typedef void GLvoid; typedef struct __GLsync *GLsync; typedef khronos_int64_t GLint64; @@ -651,7 +672,7 @@ GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei #ifndef GL_ES_VERSION_3_0 #define GL_ES_VERSION_3_0 1 -typedef khronos_uint16_t GLhalf; +typedef unsigned short GLhalf; #define GL_READ_BUFFER 0x0C02 #define GL_UNPACK_ROW_LENGTH 0x0CF2 #define GL_UNPACK_SKIP_ROWS 0x0CF3 diff --git a/gfx/angle/checkout/include/GLES3/gl3platform.h b/gfx/angle/checkout/include/GLES3/gl3platform.h index 8699212de64d..b1e869dd111a 100644 --- a/gfx/angle/checkout/include/GLES3/gl3platform.h +++ b/gfx/angle/checkout/include/GLES3/gl3platform.h @@ -1,17 +1,20 @@ #ifndef __gl3platform_h_ #define __gl3platform_h_ +/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ + /* -** Copyright 2017-2020 The Khronos Group Inc. -** SPDX-License-Identifier: Apache-2.0 -*/ + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ /* Platform-specific types and definitions for OpenGL ES 3.X gl3.h * * Adopters may modify khrplatform.h and this file to suit their platform. - * Please contribute modifications back to Khronos as pull requests on the - * public github repository: - * https://github.com/KhronosGroup/OpenGL-Registry + * You are encouraged to submit all modifications to the Khronos group so that + * they can be included in future versions of this file. Please submit changes + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "OpenGL-ES" component "Registry". */ #include diff --git a/gfx/angle/checkout/include/GLSLANG/ShaderLang.h b/gfx/angle/checkout/include/GLSLANG/ShaderLang.h index 43f3bd4e6fb6..e10d112c855e 100644 --- a/gfx/angle/checkout/include/GLSLANG/ShaderLang.h +++ b/gfx/angle/checkout/include/GLSLANG/ShaderLang.h @@ -26,7 +26,7 @@ // Version number for shader translation API. // It is incremented every time the API changes. -#define ANGLE_SH_VERSION 257 +#define ANGLE_SH_VERSION 239 enum ShShaderSpec { @@ -39,8 +39,6 @@ enum ShShaderSpec SH_GLES3_1_SPEC, SH_WEBGL3_SPEC, - SH_GLES3_2_SPEC, - SH_GL_CORE_SPEC, SH_GL_COMPATIBILITY_SPEC, }; @@ -69,11 +67,12 @@ enum ShShaderOutput SH_HLSL_4_1_OUTPUT = 0x8B49, // D3D 11 SH_HLSL_4_0_FL9_3_OUTPUT = 0x8B4A, // D3D 11 feature level 9_3 - // Output SPIR-V for the Vulkan backend. - SH_SPIRV_VULKAN_OUTPUT = 0x8B4B, + // Output specialized GLSL to be fed to glslang for Vulkan SPIR. + SH_GLSL_VULKAN_OUTPUT = 0x8B4B, - // Output SPIR-V to be cross compiled to Metal. - SH_SPIRV_METAL_OUTPUT = 0x8B4C, + // Output specialized GLSL to be fed to glslang for Vulkan SPIR to be cross compiled to Metal + // later. + SH_GLSL_METAL_OUTPUT = 0x8B4C, }; // Compile options. @@ -88,8 +87,14 @@ const ShCompileOptions SH_VARIABLES = UINT64_C(1) << 3; const ShCompileOptions SH_LINE_DIRECTIVES = UINT64_C(1) << 4; const ShCompileOptions SH_SOURCE_PATH = UINT64_C(1) << 5; -// If requested, validates the AST after every transformation. Useful for debugging. -const ShCompileOptions SH_VALIDATE_AST = UINT64_C(1) << 6; +// This flag will keep invariant declaration for input in fragment shader for GLSL >=4.20 on AMD. +// From GLSL >= 4.20, it's optional to add invariant for fragment input, but GPU vendors have +// different implementations about this. Some drivers forbid invariant in fragment for GLSL>= 4.20, +// e.g. Linux Mesa, some drivers treat that as optional, e.g. NVIDIA, some drivers require invariant +// must match between vertex and fragment shader, e.g. AMD. The behavior on AMD is obviously wrong. +// Remove invariant for input in fragment shader to workaround the restriction on Intel Mesa. +// But don't remove on AMD Linux to avoid triggering the bug on AMD. +const ShCompileOptions SH_DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT = UINT64_C(1) << 6; // Due to spec difference between GLSL 4.1 or lower and ESSL3, some platforms (for example, Mac OSX // core profile) require a variable's "invariant"/"centroid" qualifiers to match between vertex and @@ -158,40 +163,49 @@ const ShCompileOptions SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS = UINT64_C(1) < // struct scopes correctly, including all Mac drivers and Linux AMD. const ShCompileOptions SH_REGENERATE_STRUCT_NAMES = UINT64_C(1) << 17; +// This flag makes the compiler not prune unused function early in the +// compilation process. Pruning coupled with SH_LIMIT_CALL_STACK_DEPTH +// helps avoid bad shaders causing stack overflows. +const ShCompileOptions SH_DONT_PRUNE_UNUSED_FUNCTIONS = UINT64_C(1) << 18; + +// This flag works around a bug in NVIDIA 331 series drivers related +// to pow(x, y) where y is a constant vector. +const ShCompileOptions SH_REMOVE_POW_WITH_CONSTANT_EXPONENT = UINT64_C(1) << 19; + // This flag works around bugs in Mac drivers related to do-while by // transforming them into an other construct. -const ShCompileOptions SH_REWRITE_DO_WHILE_LOOPS = UINT64_C(1) << 18; +const ShCompileOptions SH_REWRITE_DO_WHILE_LOOPS = UINT64_C(1) << 20; // This flag works around a bug in the HLSL compiler optimizer that folds certain // constant pow expressions incorrectly. Only applies to the HLSL back-end. It works // by expanding the integer pow expressions into a series of multiplies. -const ShCompileOptions SH_EXPAND_SELECT_HLSL_INTEGER_POW_EXPRESSIONS = UINT64_C(1) << 19; +const ShCompileOptions SH_EXPAND_SELECT_HLSL_INTEGER_POW_EXPRESSIONS = UINT64_C(1) << 21; // Flatten "#pragma STDGL invariant(all)" into the declarations of // varying variables and built-in GLSL variables. This compiler // option is enabled automatically when needed. -const ShCompileOptions SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL = UINT64_C(1) << 20; +const ShCompileOptions SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL = UINT64_C(1) << 22; // Some drivers do not take into account the base level of the texture in the results of the // HLSL GetDimensions builtin. This flag instructs the compiler to manually add the base level // offsetting. -const ShCompileOptions SH_HLSL_GET_DIMENSIONS_IGNORES_BASE_LEVEL = UINT64_C(1) << 21; +const ShCompileOptions SH_HLSL_GET_DIMENSIONS_IGNORES_BASE_LEVEL = UINT64_C(1) << 23; // This flag works around an issue in translating GLSL function texelFetchOffset on // INTEL drivers. It works by translating texelFetchOffset into texelFetch. -const ShCompileOptions SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH = UINT64_C(1) << 22; +const ShCompileOptions SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH = UINT64_C(1) << 24; // This flag works around condition bug of for and while loops in Intel Mac OSX drivers. // Condition calculation is not correct. Rewrite it from "CONDITION" to "CONDITION && true". -const ShCompileOptions SH_ADD_AND_TRUE_TO_LOOP_CONDITION = UINT64_C(1) << 23; +const ShCompileOptions SH_ADD_AND_TRUE_TO_LOOP_CONDITION = UINT64_C(1) << 25; // This flag works around a bug in evaluating unary minus operator on integer on some INTEL // drivers. It works by translating -(int) into ~(int) + 1. -const ShCompileOptions SH_REWRITE_INTEGER_UNARY_MINUS_OPERATOR = UINT64_C(1) << 24; +const ShCompileOptions SH_REWRITE_INTEGER_UNARY_MINUS_OPERATOR = UINT64_C(1) << 26; // This flag works around a bug in evaluating isnan() on some INTEL D3D and Mac OSX drivers. // It works by using an expression to emulate this function. -const ShCompileOptions SH_EMULATE_ISNAN_FLOAT_FUNCTION = UINT64_C(1) << 25; +const ShCompileOptions SH_EMULATE_ISNAN_FLOAT_FUNCTION = UINT64_C(1) << 27; // This flag will use all uniforms of unused std140 and shared uniform blocks at the // beginning of the vertex/fragment shader's main(). It is intended as a workaround for Mac @@ -199,19 +213,19 @@ const ShCompileOptions SH_EMULATE_ISNAN_FLOAT_FUNCTION = UINT64_C(1) << 25; // std140 and shared uniform blocks' members as inactive. However, WebGL2.0 based on // OpenGL ES3.0.4 requires all members of a named uniform block declared with a shared or std140 // layout qualifier to be considered active. The uniform block itself is also considered active. -const ShCompileOptions SH_USE_UNUSED_STANDARD_SHARED_BLOCKS = UINT64_C(1) << 26; +const ShCompileOptions SH_USE_UNUSED_STANDARD_SHARED_BLOCKS = UINT64_C(1) << 28; // This flag works around a bug in unary minus operator on float numbers on Intel // Mac OSX 10.11 drivers. It works by translating -float into 0.0 - float. -const ShCompileOptions SH_REWRITE_FLOAT_UNARY_MINUS_OPERATOR = UINT64_C(1) << 27; +const ShCompileOptions SH_REWRITE_FLOAT_UNARY_MINUS_OPERATOR = UINT64_C(1) << 29; // This flag works around a bug in evaluating atan(y, x) on some NVIDIA OpenGL drivers. // It works by using an expression to emulate this function. -const ShCompileOptions SH_EMULATE_ATAN2_FLOAT_FUNCTION = UINT64_C(1) << 28; +const ShCompileOptions SH_EMULATE_ATAN2_FLOAT_FUNCTION = UINT64_C(1) << 30; // Set to initialize uninitialized local and global temporary variables. Should only be used with // GLSL output. In HLSL output variables are initialized regardless of if this flag is set. -const ShCompileOptions SH_INITIALIZE_UNINITIALIZED_LOCALS = UINT64_C(1) << 29; +const ShCompileOptions SH_INITIALIZE_UNINITIALIZED_LOCALS = UINT64_C(1) << 31; // The flag modifies the shader in the following way: // Every occurrence of gl_InstanceID is replaced by the global temporary variable InstanceID. @@ -220,7 +234,7 @@ const ShCompileOptions SH_INITIALIZE_UNINITIALIZED_LOCALS = UINT64_C(1) << 29; // ViewID_OVR = uint(gl_InstanceID) % num_views; // InstanceID = gl_InstanceID / num_views; // ViewID_OVR is added as a varying variable to both the vertex and fragment shaders. -const ShCompileOptions SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW = UINT64_C(1) << 30; +const ShCompileOptions SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW = UINT64_C(1) << 32; // With the flag enabled the GLSL/ESSL vertex shader is modified to include code for viewport // selection in the following way: @@ -230,11 +244,11 @@ const ShCompileOptions SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW = UINT64_C // - A declaration of the uniform multiviewBaseViewLayerIndex. // Note: The SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW flag also has to be enabled to have the // temporary variable ViewID_OVR declared and initialized. -const ShCompileOptions SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER = UINT64_C(1) << 31; +const ShCompileOptions SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER = UINT64_C(1) << 33; // If the flag is enabled, gl_PointSize is clamped to the maximum point size specified in // ShBuiltInResources in vertex shaders. -const ShCompileOptions SH_CLAMP_POINT_SIZE = UINT64_C(1) << 32; +const ShCompileOptions SH_CLAMP_POINT_SIZE = UINT64_C(1) << 34; // Turn some arithmetic operations that operate on a float vector-scalar pair into vector-vector // operations. This is done recursively. Some scalar binary operations inside vector constructors @@ -242,100 +256,90 @@ const ShCompileOptions SH_CLAMP_POINT_SIZE = UINT64_C(1) << 32; // // This is targeted to work around a bug in NVIDIA OpenGL drivers that was reproducible on NVIDIA // driver version 387.92. It works around the most common occurrences of the bug. -const ShCompileOptions SH_REWRITE_VECTOR_SCALAR_ARITHMETIC = UINT64_C(1) << 33; +const ShCompileOptions SH_REWRITE_VECTOR_SCALAR_ARITHMETIC = UINT64_C(1) << 35; // Don't use loops to initialize uninitialized variables. Only has an effect if some kind of // variable initialization is turned on. -const ShCompileOptions SH_DONT_USE_LOOPS_TO_INITIALIZE_VARIABLES = UINT64_C(1) << 34; +const ShCompileOptions SH_DONT_USE_LOOPS_TO_INITIALIZE_VARIABLES = UINT64_C(1) << 36; // Don't use D3D constant register zero when allocating space for uniforms. This is targeted to work // around a bug in NVIDIA D3D driver version 388.59 where in very specific cases the driver would // not handle constant register zero correctly. Only has an effect on HLSL translation. -const ShCompileOptions SH_SKIP_D3D_CONSTANT_REGISTER_ZERO = UINT64_C(1) << 35; +const ShCompileOptions SH_SKIP_D3D_CONSTANT_REGISTER_ZERO = UINT64_C(1) << 37; // Clamp gl_FragDepth to the range [0.0, 1.0] in case it is statically used. -const ShCompileOptions SH_CLAMP_FRAG_DEPTH = UINT64_C(1) << 36; +const ShCompileOptions SH_CLAMP_FRAG_DEPTH = UINT64_C(1) << 38; // Rewrite expressions like "v.x = z = expression;". Works around a bug in NVIDIA OpenGL drivers // prior to version 397.31. -const ShCompileOptions SH_REWRITE_REPEATED_ASSIGN_TO_SWIZZLED = UINT64_C(1) << 37; +const ShCompileOptions SH_REWRITE_REPEATED_ASSIGN_TO_SWIZZLED = UINT64_C(1) << 39; // Rewrite gl_DrawID as a uniform int -const ShCompileOptions SH_EMULATE_GL_DRAW_ID = UINT64_C(1) << 38; +const ShCompileOptions SH_EMULATE_GL_DRAW_ID = UINT64_C(1) << 40; // This flag initializes shared variables to 0. // It is to avoid ompute shaders being able to read undefined values that could be coming from // another webpage/application. -const ShCompileOptions SH_INIT_SHARED_VARIABLES = UINT64_C(1) << 39; +const ShCompileOptions SH_INIT_SHARED_VARIABLES = UINT64_C(1) << 41; // Forces the value returned from an atomic operations to be always be resolved. This is targeted to // workaround a bug in NVIDIA D3D driver where the return value from // RWByteAddressBuffer.InterlockedAdd does not get resolved when used in the .yzw components of a // RWByteAddressBuffer.Store operation. Only has an effect on HLSL translation. // http://anglebug.com/3246 -const ShCompileOptions SH_FORCE_ATOMIC_VALUE_RESOLUTION = UINT64_C(1) << 40; +const ShCompileOptions SH_FORCE_ATOMIC_VALUE_RESOLUTION = UINT64_C(1) << 42; // Rewrite gl_BaseVertex and gl_BaseInstance as uniform int -const ShCompileOptions SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE = UINT64_C(1) << 41; +const ShCompileOptions SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE = UINT64_C(1) << 43; // Emulate seamful cube map sampling for OpenGL ES2.0. Currently only applies to the Vulkan // backend, as is done after samplers are moved out of structs. Can likely be made to work on // the other backends as well. -const ShCompileOptions SH_EMULATE_SEAMFUL_CUBE_MAP_SAMPLING = UINT64_C(1) << 42; +const ShCompileOptions SH_EMULATE_SEAMFUL_CUBE_MAP_SAMPLING = UINT64_C(1) << 44; // This flag controls how to translate WEBGL_video_texture sampling function. -const ShCompileOptions SH_TAKE_VIDEO_TEXTURE_AS_EXTERNAL_OES = UINT64_C(1) << 43; +const ShCompileOptions SH_TAKE_VIDEO_TEXTURE_AS_EXTERNAL_OES = UINT64_C(1) << 45; + +// If requested, validates the AST after every transformation. Useful for debugging. +const ShCompileOptions SH_VALIDATE_AST = UINT64_C(1) << 46; + +// Use old version of RewriteStructSamplers, which doesn't produce as many +// sampler arrays in parameters. This causes a few tests to pass on Android. +const ShCompileOptions SH_USE_OLD_REWRITE_STRUCT_SAMPLERS = UINT64_C(1) << 47; // This flag works around a inconsistent behavior in Mac AMD driver where gl_VertexID doesn't // include base vertex value. It replaces gl_VertexID with (gl_VertexID + angle_BaseVertex) // when angle_BaseVertex is available. -const ShCompileOptions SH_ADD_BASE_VERTEX_TO_VERTEX_ID = UINT64_C(1) << 44; +const ShCompileOptions SH_ADD_BASE_VERTEX_TO_VERTEX_ID = UINT64_C(1) << 48; // This works around the dynamic lvalue indexing of swizzled vectors on various platforms. -const ShCompileOptions SH_REMOVE_DYNAMIC_INDEXING_OF_SWIZZLED_VECTOR = UINT64_C(1) << 45; +const ShCompileOptions SH_REMOVE_DYNAMIC_INDEXING_OF_SWIZZLED_VECTOR = UINT64_C(1) << 49; // This flag works around a slow fxc compile performance issue with dynamic uniform indexing. -const ShCompileOptions SH_ALLOW_TRANSLATE_UNIFORM_BLOCK_TO_STRUCTUREDBUFFER = UINT64_C(1) << 46; +const ShCompileOptions SH_ALLOW_TRANSLATE_UNIFORM_BLOCK_TO_STRUCTUREDBUFFER = UINT64_C(1) << 50; // This flag indicates whether Bresenham line raster emulation code should be generated. This // emulation is necessary if the backend uses a differnet algorithm to draw lines. Currently only // implemented for the Vulkan backend. -const ShCompileOptions SH_ADD_BRESENHAM_LINE_RASTER_EMULATION = UINT64_C(1) << 47; +const ShCompileOptions SH_ADD_BRESENHAM_LINE_RASTER_EMULATION = UINT64_C(1) << 51; // This flag allows disabling ARB_texture_rectangle on a per-compile basis. This is necessary // for WebGL contexts becuase ARB_texture_rectangle may be necessary for the WebGL implementation // internally but shouldn't be exposed to WebGL user code. -const ShCompileOptions SH_DISABLE_ARB_TEXTURE_RECTANGLE = UINT64_C(1) << 48; +const ShCompileOptions SH_DISABLE_ARB_TEXTURE_RECTANGLE = UINT64_C(1) << 52; // This flag works around a driver bug by rewriting uses of row-major matrices // as column-major in ESSL 3.00 and greater shaders. -const ShCompileOptions SH_REWRITE_ROW_MAJOR_MATRICES = UINT64_C(1) << 49; +const ShCompileOptions SH_REWRITE_ROW_MAJOR_MATRICES = UINT64_C(1) << 53; // Drop any explicit precision qualifiers from shader. -const ShCompileOptions SH_IGNORE_PRECISION_QUALIFIERS = UINT64_C(1) << 50; +const ShCompileOptions SH_IGNORE_PRECISION_QUALIFIERS = UINT64_C(1) << 54; // Allow compiler to do early fragment tests as an optimization. -const ShCompileOptions SH_EARLY_FRAGMENT_TESTS_OPTIMIZATION = UINT64_C(1) << 51; +const ShCompileOptions SH_EARLY_FRAGMENT_TESTS_OPTIMIZATION = UINT64_C(1) << 55; // Allow compiler to insert Android pre-rotation code. -const ShCompileOptions SH_ADD_PRE_ROTATION = UINT64_C(1) << 52; - -const ShCompileOptions SH_FORCE_SHADER_PRECISION_HIGHP_TO_MEDIUMP = UINT64_C(1) << 53; - -// Allow compiler to use specialization constant to do pre-rotation and y flip. -const ShCompileOptions SH_USE_SPECIALIZATION_CONSTANT = UINT64_C(1) << 54; - -// Ask compiler to generate Vulkan transform feedback emulation support code. -const ShCompileOptions SH_ADD_VULKAN_XFB_EMULATION_SUPPORT_CODE = UINT64_C(1) << 55; - -// Ask compiler to generate Vulkan transform feedback support code when using the -// VK_EXT_transform_feedback extension. -const ShCompileOptions SH_ADD_VULKAN_XFB_EXTENSION_SUPPORT_CODE = UINT64_C(1) << 56; - -// This flag initializes fragment shader's output variables to zero at the beginning of the fragment -// shader's main(). It is intended as a workaround for drivers which get context lost if -// gl_FragColor is not written. -const ShCompileOptions SH_INIT_FRAGMENT_OUTPUT_VARIABLES = UINT64_C(1) << 57; +const ShCompileOptions SH_ADD_PRE_ROTATION = UINT64_C(1) << 56; // Defines alternate strategies for implementing array index clamping. enum ShArrayIndexClampingStrategy @@ -380,7 +384,6 @@ struct ShBuiltInResources int EXT_shader_texture_lod; int WEBGL_debug_shader_precision; int EXT_shader_framebuffer_fetch; - int EXT_shader_framebuffer_fetch_non_coherent; int NV_shader_framebuffer_fetch; int NV_shader_noperspective_interpolation; int ARM_shader_framebuffer_fetch; @@ -390,8 +393,6 @@ struct ShBuiltInResources int EXT_multisampled_render_to_texture2; int EXT_YUV_target; int EXT_geometry_shader; - int OES_shader_io_blocks; - int EXT_shader_io_blocks; int EXT_gpu_shader5; int EXT_shader_non_constant_global_initializers; int OES_texture_storage_multisample_2d_array; @@ -406,11 +407,8 @@ struct ShBuiltInResources int EXT_shadow_samplers; int OES_shader_multisample_interpolation; int OES_shader_image_atomic; - int EXT_tessellation_shader; int OES_texture_buffer; int EXT_texture_buffer; - int OES_sample_variables; - int EXT_clip_cull_distance; // Set to 1 to enable replacing GL_EXT_draw_buffers #extension directives // with GL_NV_draw_buffers in ESSL output. This flag can be used to emulate @@ -468,10 +466,6 @@ struct ShBuiltInResources // maximum number of available image units int MaxImageUnits; - // OES_sample_variables constant - // maximum number of available samples - int MaxSamples; - // maximum number of image uniforms in a vertex shader int MaxVertexImageUniforms; @@ -554,35 +548,11 @@ struct ShBuiltInResources int MaxGeometryShaderInvocations; int MaxGeometryImageUniforms; - // EXT_tessellation_shader constants - int MaxTessControlInputComponents; - int MaxTessControlOutputComponents; - int MaxTessControlTextureImageUnits; - int MaxTessControlUniformComponents; - int MaxTessControlTotalOutputComponents; - int MaxTessControlImageUniforms; - int MaxTessControlAtomicCounters; - int MaxTessControlAtomicCounterBuffers; - - int MaxTessPatchComponents; - int MaxPatchVertices; - int MaxTessGenLevel; - - int MaxTessEvaluationInputComponents; - int MaxTessEvaluationOutputComponents; - int MaxTessEvaluationTextureImageUnits; - int MaxTessEvaluationUniformComponents; - int MaxTessEvaluationImageUniforms; - int MaxTessEvaluationAtomicCounters; - int MaxTessEvaluationAtomicCounterBuffers; - // Subpixel bits used in rasterization. int SubPixelBits; // APPLE_clip_distance/EXT_clip_cull_distance constant int MaxClipDistances; - int MaxCullDistances; - int MaxCombinedClipAndCullDistances; }; // @@ -596,7 +566,6 @@ using ShHandle = void *; namespace sh { -using BinaryBlob = std::vector; // // Driver must call this first, once, before doing any other compiler operations. @@ -659,7 +628,7 @@ void Destruct(ShHandle handle); // compiling for WebGL - it is implied. // SH_INTERMEDIATE_TREE: Writes intermediate tree to info log. // Can be queried by calling sh::GetInfoLog(). -// SH_OBJECT_CODE: Translates intermediate tree to glsl or hlsl shader, or SPIR-V binary. +// SH_OBJECT_CODE: Translates intermediate tree to glsl or hlsl shader. // Can be queried by calling sh::GetObjectCode(). // SH_VARIABLES: Extracts attributes, uniforms, and varyings. // Can be queried by calling ShGetVariableInfo(). @@ -683,18 +652,11 @@ ShShaderOutput GetShaderOutputType(const ShHandle handle); // handle: Specifies the compiler const std::string &GetInfoLog(const ShHandle handle); -// Returns null-terminated object code for a compiled shader. Only valid for output types that -// generate human-readable code (GLSL, ESSL or HLSL). +// Returns null-terminated object code for a compiled shader. // Parameters: // handle: Specifies the compiler const std::string &GetObjectCode(const ShHandle handle); -// Returns object binary blob for a compiled shader. Only valid for output types that -// generate binary blob (SPIR-V). -// Parameters: -// handle: Specifies the compiler -const BinaryBlob &GetObjectBinaryBlob(const ShHandle handle); - // Returns a (original_name, hash) map containing all the user defined names in the shader, // including variable names, function names, struct names, and struct field names. // Parameters: @@ -723,9 +685,6 @@ int GetVertexShaderNumViews(const ShHandle handle); // Returns true if compiler has injected instructions for early fragment tests as an optimization bool HasEarlyFragmentTestsOptimization(const ShHandle handle); -// Returns specialization constant usage bits -uint32_t GetShaderSpecConstUsageBits(const ShHandle handle); - // Returns true if the passed in variables pack in maxVectors followingthe packing rules from the // GLSL 1.017 spec, Appendix A, section 7. // Returns false otherwise. Also look at the SH_ENFORCE_PACKING_RESTRICTIONS @@ -760,7 +719,6 @@ bool GetUniformBlockRegister(const ShHandle handle, bool ShouldUniformBlockUseStructuredBuffer(const ShHandle handle, const std::string &uniformBlockName); -const std::set *GetSlowCompilingUniformBlockSet(const ShHandle handle); // Gives a map from uniform names to compiler-assigned registers in the default uniform block. // Note that the map contains also registers of samplers that have been extracted from structs. @@ -782,20 +740,11 @@ const std::set *GetUsedImage2DFunctionNames(const ShHandle handle); bool HasValidGeometryShaderInputPrimitiveType(const ShHandle handle); bool HasValidGeometryShaderOutputPrimitiveType(const ShHandle handle); bool HasValidGeometryShaderMaxVertices(const ShHandle handle); -bool HasValidTessGenMode(const ShHandle handle); -bool HasValidTessGenSpacing(const ShHandle handle); -bool HasValidTessGenVertexOrder(const ShHandle handle); -bool HasValidTessGenPointMode(const ShHandle handle); GLenum GetGeometryShaderInputPrimitiveType(const ShHandle handle); GLenum GetGeometryShaderOutputPrimitiveType(const ShHandle handle); int GetGeometryShaderInvocations(const ShHandle handle); int GetGeometryShaderMaxVertices(const ShHandle handle); unsigned int GetShaderSharedMemorySize(const ShHandle handle); -int GetTessControlShaderVertices(const ShHandle handle); -GLenum GetTessGenMode(const ShHandle handle); -GLenum GetTessGenSpacing(const ShHandle handle); -GLenum GetTessGenVertexOrder(const ShHandle handle); -GLenum GetTessGenPointMode(const ShHandle handle); // // Helper function to identify specs that are based on the WebGL spec. @@ -826,36 +775,8 @@ enum class SpecializationConstantId : uint32_t { LineRasterEmulation = 0, SurfaceRotation = 1, - DrawableWidth = 2, - DrawableHeight = 3, - InvalidEnum = 4, - EnumCount = InvalidEnum, -}; - -enum class SurfaceRotation : uint32_t -{ - Identity, - Rotated90Degrees, - Rotated180Degrees, - Rotated270Degrees, - FlippedIdentity, - FlippedRotated90Degrees, - FlippedRotated180Degrees, - FlippedRotated270Degrees, - - InvalidEnum, - EnumCount = InvalidEnum, -}; - -enum class SpecConstUsage : uint32_t -{ - LineRasterEmulation = 0, - YFlip = 1, - Rotation = 2, - DrawableSize = 3, - - InvalidEnum = 4, + InvalidEnum = 2, EnumCount = InvalidEnum, }; @@ -877,19 +798,6 @@ extern const char kAtomicCountersBlockName[]; // Line raster emulation varying extern const char kLineRasterEmulationPosition[]; -// Transform feedback emulation support -extern const char kXfbEmulationGetOffsetsFunctionName[]; -extern const char kXfbEmulationCaptureFunctionName[]; -extern const char kXfbEmulationBufferBlockName[]; -extern const char kXfbEmulationBufferName[]; -extern const char kXfbEmulationBufferFieldName[]; - -// Transform feedback extension support -extern const char kXfbExtensionPositionOutName[]; - -// EXT_shader_framebuffer_fetch and EXT_shader_framebuffer_fetch_non_coherent -extern const char kInputAttachmentName[]; - } // namespace vk namespace mtl @@ -900,13 +808,6 @@ extern const char kCoverageMaskEnabledConstName[]; // Specialization constant to emulate rasterizer discard. extern const char kRasterizerDiscardEnabledConstName[]; } // namespace mtl - -// For backends that use glslang (the Vulkan shader compiler), i.e. Vulkan and Metal, call these to -// initialize and finalize glslang itself. This can be called independently from Initialize() and -// Finalize(). -void InitializeGlslang(); -void FinalizeGlslang(); - } // namespace sh #endif // GLSLANG_SHADERLANG_H_ diff --git a/gfx/angle/checkout/include/GLSLANG/ShaderVars.h b/gfx/angle/checkout/include/GLSLANG/ShaderVars.h index 67a4039cd772..68dc7e2e32d3 100644 --- a/gfx/angle/checkout/include/GLSLANG/ShaderVars.h +++ b/gfx/angle/checkout/include/GLSLANG/ShaderVars.h @@ -51,6 +51,11 @@ enum class BlockType { BLOCK_UNIFORM, BLOCK_BUFFER, + + // Required in OpenGL ES 3.1 extension GL_OES_shader_io_blocks. + // TODO(jiawei.shao@intel.com): add BLOCK_OUT. + // Also used in GLSL + BLOCK_IN }; // Base class for all variables defined in shaders, including Varyings, Uniforms, etc @@ -100,8 +105,6 @@ struct ShaderVariable unsigned int getExternalSize() const; bool isStruct() const { return !fields.empty(); } - const std::string &getStructName() const { return structOrBlockName; } - void setStructName(const std::string &newName) { structOrBlockName = newName; } // All of the shader's variables are described using nested data // structures. This is needed in order to disambiguate similar looking @@ -125,6 +128,14 @@ struct ShaderVariable bool isBuiltIn() const; bool isEmulatedBuiltIn() const; + GLenum type; + GLenum precision; + std::string name; + std::string mappedName; + + // Used to make an array type. Outermost array size is stored at the end of the vector. + std::vector arraySizes; + // Offset of this variable in parent arrays. In case the parent is an array of arrays, the // offset is outerArrayElement * innerArraySize + innerArrayElement. // For example, if there's a variable declared as size 3 array of size 4 array of int: @@ -136,51 +147,10 @@ struct ShaderVariable return hasParentArrayIndex() ? flattenedOffsetInParentArrays : 0; } - int getFlattenedOffsetInParentArrays() const { return flattenedOffsetInParentArrays; } void setParentArrayIndex(int indexIn) { flattenedOffsetInParentArrays = indexIn; } bool hasParentArrayIndex() const { return flattenedOffsetInParentArrays != -1; } - void resetEffectiveLocation(); - void updateEffectiveLocation(const sh::ShaderVariable &parent); - - // Decide whether two uniforms are the same at shader link time, - // assuming they are from consecutive shader stages. - // GLSL ES Spec 3.00.3, section 4.3.5. - // GLSL ES Spec 3.10.4, section 4.4.5 - bool isSameUniformAtLinkTime(const ShaderVariable &other) const; - - // InterfaceBlockField - // Decide whether two InterfaceBlock fields are the same at shader - // link time, assuming they are from consecutive shader stages. - // See GLSL ES Spec 3.00.3, sec 4.3.7. - bool isSameInterfaceBlockFieldAtLinkTime(const ShaderVariable &other) const; - - // Decide whether two varyings are the same at shader link time, - // assuming they are from consecutive shader stages. - // Invariance needs to match only in ESSL1. Relevant spec sections: - // GLSL ES 3.00.4, sections 4.6.1 and 4.3.9. - // GLSL ES 1.00.17, section 4.6.4. - bool isSameVaryingAtLinkTime(const ShaderVariable &other, int shaderVersion) const; - // Deprecated version of isSameVaryingAtLinkTime, which assumes ESSL1. - bool isSameVaryingAtLinkTime(const ShaderVariable &other) const; - - // Shader I/O blocks may match by block name or instance, based on whether both stages have an - // instance name or not. - bool isSameNameAtLinkTime(const ShaderVariable &other) const; - - // NOTE: When adding new members, the following functions also need to be updated: - // gl::WriteShaderVar(BinaryOutputStream *stream, const sh::ShaderVariable &var) - // gl::LoadShaderVar(BinaryInputStream *stream, sh::ShaderVariable *var) - - GLenum type; - GLenum precision; - std::string name; - std::string mappedName; - - // Used to make an array type. Outermost array size is stored at the end of the vector. - std::vector arraySizes; - // Static use means that the variable is accessed somewhere in the shader source. bool staticUse; // A variable is active unless the compiler determined that it is not accessed by the shader. @@ -188,11 +158,7 @@ struct ShaderVariable // necessarily active. GLES 3.0.5 section 2.12.6. GLES 3.1 section 7.3.1. bool active; std::vector fields; - // structOrBlockName is used for: - // - varyings of struct type, in which case it contains the struct name. - // - shader I/O blocks, in which case it contains the block name. - std::string structOrBlockName; - std::string mappedStructOrBlockName; + std::string structName; // Only applies to interface block fields. Kept here for simplicity. bool isRowMajorLayout; @@ -200,34 +166,40 @@ struct ShaderVariable // VariableWithLocation int location; - // The location of inputs or outputs without location layout quailifer will be updated to '-1'. - // GLES Spec 3.1, Section 7.3. PROGRAM OBJECTS - // Not all active variables are assigned valid locations; - // the following variables will have an effective location of -1: - bool hasImplicitLocation; - // Uniform int binding; + // Decide whether two uniforms are the same at shader link time, + // assuming one from vertex shader and the other from fragment shader. + // GLSL ES Spec 3.00.3, section 4.3.5. + // GLSL ES Spec 3.10.4, section 4.4.5 + bool isSameUniformAtLinkTime(const ShaderVariable &other) const; GLenum imageUnitFormat; int offset; bool readonly; bool writeonly; - // From EXT_shader_framebuffer_fetch - bool isFragmentInOut; - // OutputVariable // From EXT_blend_func_extended. int index; - // From EXT_YUV_target - bool yuv; + // InterfaceBlockField + // Decide whether two InterfaceBlock fields are the same at shader + // link time, assuming one from vertex shader and the other from + // fragment shader. + // See GLSL ES Spec 3.00.3, sec 4.3.7. + bool isSameInterfaceBlockFieldAtLinkTime(const ShaderVariable &other) const; // Varying InterpolationType interpolation; bool isInvariant; - bool isShaderIOBlock; - bool isPatch; + // Decide whether two varyings are the same at shader link time, + // assuming one from vertex shader and the other from fragment shader. + // Invariance needs to match only in ESSL1. Relevant spec sections: + // GLSL ES 3.00.4, sections 4.6.1 and 4.3.9. + // GLSL ES 1.00.17, section 4.6.4. + bool isSameVaryingAtLinkTime(const ShaderVariable &other, int shaderVersion) const; + // Deprecated version of isSameVaryingAtLinkTime, which assumes ESSL1. + bool isSameVaryingAtLinkTime(const ShaderVariable &other) const; // If the variable is a sampler that has ever been statically used with texelFetch bool texelFetchStaticUse; @@ -237,10 +209,6 @@ struct ShaderVariable bool matchPrecision, bool matchName) const; - // NOTE: When adding new members, the following functions also need to be updated: - // gl::WriteShaderVar(BinaryOutputStream *stream, const sh::ShaderVariable &var) - // gl::LoadShaderVar(BinaryInputStream *stream, sh::ShaderVariable *var) - int flattenedOffsetInParentArrays; }; diff --git a/gfx/angle/checkout/include/KHR/khrplatform.h b/gfx/angle/checkout/include/KHR/khrplatform.h index dd22d9270188..975bbffed674 100644 --- a/gfx/angle/checkout/include/KHR/khrplatform.h +++ b/gfx/angle/checkout/include/KHR/khrplatform.h @@ -90,20 +90,12 @@ * int arg2) KHRONOS_APIATTRIBUTES; */ -#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC) -# define KHRONOS_STATIC 1 -#endif - /*------------------------------------------------------------------------- * Definition of KHRONOS_APICALL *------------------------------------------------------------------------- * This precedes the return type of the function in the function prototype. */ -#if defined(KHRONOS_STATIC) - /* If the preprocessor constant KHRONOS_STATIC is defined, make the - * header compatible with static linking. */ -# define KHRONOS_APICALL -#elif defined(_WIN32) +#if defined(_WIN32) && !defined(__SCITECH_SNAP__) # define KHRONOS_APICALL __declspec(dllimport) #elif defined (__SYMBIAN32__) # define KHRONOS_APICALL IMPORT_C diff --git a/gfx/angle/checkout/include/export.h b/gfx/angle/checkout/include/export.h index 6a8e30fd8069..1d4643825561 100644 --- a/gfx/angle/checkout/include/export.h +++ b/gfx/angle/checkout/include/export.h @@ -12,14 +12,14 @@ #if !defined(ANGLE_EXPORT) # if defined(_WIN32) # if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION) || \ - defined(LIBFEATURE_SUPPORT_IMPLEMENTATION) || defined(LIBCL_IMPLEMENTATION) + defined(LIBFEATURE_SUPPORT_IMPLEMENTATION) # define ANGLE_EXPORT __declspec(dllexport) # else # define ANGLE_EXPORT __declspec(dllimport) # endif # elif defined(__GNUC__) # if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION) || \ - defined(LIBFEATURE_SUPPORT_IMPLEMENTATION) || defined(LIBCL_IMPLEMENTATION) + defined(LIBFEATURE_SUPPORT_IMPLEMENTATION) # define ANGLE_EXPORT __attribute__((visibility("default"))) # else # define ANGLE_EXPORT diff --git a/gfx/angle/checkout/include/platform/FeaturesGL.h b/gfx/angle/checkout/include/platform/FeaturesGL.h index 064cda64e448..c28e56e8e838 100644 --- a/gfx/angle/checkout/include/platform/FeaturesGL.h +++ b/gfx/angle/checkout/include/platform/FeaturesGL.h @@ -37,10 +37,6 @@ struct FeaturesGL : FeatureSetBase FeatureCategory::OpenGLWorkarounds, "GL_RGBA4 is not color renderable", &members}; - // Newer Intel GPUs natively support ETC2/EAC compressed texture formats. - Feature allowEtcFormats = {"allow_etc_formats", FeatureCategory::OpenGLWorkarounds, - "Enable ETC2/EAC on desktop OpenGL", &members}; - // When clearing a framebuffer on Intel or AMD drivers, when GL_FRAMEBUFFER_SRGB is enabled, the // driver clears to the linearized clear color despite the framebuffer not supporting SRGB // blending. It only seems to do this when the framebuffer has only linear attachments, mixed @@ -509,52 +505,6 @@ struct FeaturesGL : FeatureSetBase "set_zero_level_before_generating_mipmap", FeatureCategory::OpenGLWorkarounds, "glGenerateMipmap fails if the zero texture level is not set on some Mac drivers.", &members}; - - // On macOS with AMD GPUs, packed color formats like RGB565 and RGBA4444 are buggy. Promote them - // to 8 bit per channel formats. - Feature promotePackedFormatsTo8BitPerChannel = { - "promote_packed_formats_to_8_bit_per_channel", FeatureCategory::OpenGLWorkarounds, - "Packed color formats are buggy on Macs with AMD GPUs", &members, - "http://anglebug.com/5469"}; - - // If gl_FragColor is not written by fragment shader, it may cause context lost with Adreno 42x - // and 3xx. - Feature initFragmentOutputVariables = { - "init_fragment_output_variables", FeatureCategory::OpenGLWorkarounds, - "No init gl_FragColor causes context lost", &members, "http://crbug.com/1171371"}; - - // On macOS with Intel GPUs, instanced array with divisor > 0 is buggy when first > 0 in - // drawArraysInstanced. Shift the attributes with extra offset to workaround. - Feature shiftInstancedArrayDataWithExtraOffset = { - "shift_instanced_array_data_with_offset", FeatureCategory::OpenGLWorkarounds, - "glDrawArraysInstanced is buggy on certain new Mac Intel GPUs", &members, - "http://crbug.com/1144207"}; - - // ANGLE needs to support devices that have no native VAOs. Sync everything to the default VAO. - Feature syncVertexArraysToDefault = { - "sync_vertex_arrays_to_default", FeatureCategory::OpenGLWorkarounds, - "Only use the default VAO because of missing support or driver bugs", &members, - "http://anglebug.com/5577"}; - - // On desktop Linux/AMD when using the amdgpu drivers, the precise kernel and DRM version are - // leaked via GL_RENDERER. We workaround this to improve user privacy. - Feature sanitizeAmdGpuRendererString = { - "sanitize_amdgpu_renderer_string", FeatureCategory::OpenGLWorkarounds, - "Strip precise kernel and DRM version information from amdgpu renderer strings.", &members, - "http://crbug.com/1181193"}; - - // Imagination GL drivers are buggy with context switching. We need to ubind fbo to workaround a - // crash in the driver. - Feature unbindFBOOnContextSwitch = {"unbind_fbo_before_switching_context", - FeatureCategory::OpenGLWorkarounds, - "Imagination GL drivers are buggy with context switching.", - &members, "http://crbug.com/1181193"}; - - Feature flushOnFramebufferChange = {"flush_on_framebuffer_change", - FeatureCategory::OpenGLWorkarounds, - "Switching framebuffers without a flush can lead to " - "crashes on Intel 9th Generation GPU Macs.", - &members, "http://crbug.com/1181068"}; }; inline FeaturesGL::FeaturesGL() = default; diff --git a/gfx/angle/checkout/include/platform/FeaturesVk.h b/gfx/angle/checkout/include/platform/FeaturesVk.h index 0c4454e7d761..04ade080737e 100644 --- a/gfx/angle/checkout/include/platform/FeaturesVk.h +++ b/gfx/angle/checkout/include/platform/FeaturesVk.h @@ -64,13 +64,6 @@ struct FeaturesVk : FeatureSetBase "The point size range reported from the API is inconsistent with the actual behavior", &members, "http://anglebug.com/2970"}; - // On some NVIDIA drivers the depth value is not clamped to [0,1] for floating point depth - // buffers. This is NVIDIA bug 3171019, see http://anglebug.com/3970 for details. - Feature depthClamping = { - "depth_clamping", FeatureCategory::VulkanWorkarounds, - "The depth value is not clamped to [0,1] for floating point depth buffers.", &members, - "http://anglebug.com/3970"}; - // On some android devices, the memory barrier between the compute shader that converts vertex // attributes and the vertex shader that reads from it is ineffective. Only known workaround is // to perform a flush after the conversion. http://anglebug.com/3016 @@ -208,13 +201,6 @@ struct FeaturesVk : FeatureSetBase "extension with the independentResolveNone feature", &members, "http://anglebug.com/4836"}; - // Whether the VkDevice supports the VK_EXT_multisampled_render_to_single_sampled extension. - // http://anglebug.com/4836 - Feature supportsMultisampledRenderToSingleSampled = { - "supportsMultisampledRenderToSingleSampled", FeatureCategory::VulkanFeatures, - "VkDevice supports the VK_EXT_multisampled_render_to_single_sampled extension", &members, - "http://anglebug.com/4836"}; - // VK_PRESENT_MODE_FIFO_KHR causes random timeouts on Linux Intel. http://anglebug.com/3153 Feature disableFifoPresentMode = {"disableFifoPresentMode", FeatureCategory::VulkanWorkarounds, "VK_PRESENT_MODE_FIFO_KHR causes random timeouts", &members, @@ -262,6 +248,14 @@ struct FeaturesVk : FeatureSetBase "Seamful cube map emulation misbehaves on some drivers, so it's disallowed", &members, "http://anglebug.com/3243"}; + // Qualcomm and SwiftShader shader compiler doesn't support sampler arrays as parameters, so + // revert to old RewriteStructSamplers behavior, which produces fewer. + Feature forceOldRewriteStructSamplers = { + "forceOldRewriteStructSamplers", FeatureCategory::VulkanWorkarounds, + "Some shader compilers don't support sampler arrays as parameters, so revert to old " + "RewriteStructSamplers behavior, which produces fewer.", + &members, "http://anglebug.com/2703"}; + // Vulkan considers vertex attribute accesses to count up to the last multiple of the stride. // This additional access supports AMD's robust buffer access implementation. // AMDVLK in particular will return incorrect values when the vertex access extends into the @@ -299,17 +293,6 @@ struct FeaturesVk : FeatureSetBase "Fill new allocations with non-zero values to flush out errors.", &members, "http://anglebug.com/4384"}; - // Whether to log each callback from the VK_EXT_device_memory_report extension. This feature is - // used for trying to debug GPU memory leaks. - Feature logMemoryReportCallbacks = {"logMemoryReportCallbacks", FeatureCategory::VulkanFeatures, - "Log each callback from VK_EXT_device_memory_report", - &members}; - - // Whether to log statistics from the VK_EXT_device_memory_report extension each eglSwapBuffer. - Feature logMemoryReportStats = {"logMemoryReportStats", FeatureCategory::VulkanFeatures, - "Log stats from VK_EXT_device_memory_report each swap", - &members}; - // Allocate a "shadow" buffer for GL buffer objects. For GPU-read only buffers // glMap* latency can be reduced by maintaining a copy of the buffer which is // writeable only by the CPU. We then return this shadow buffer on glMap* calls. @@ -332,6 +315,11 @@ struct FeaturesVk : FeatureSetBase "Enable Android pre-rotation for landscape applications", &members, "http://anglebug.com/3502"}; + // Cache FramebufferVk objects. Currently hitting a bug on Apple: http://anglebug.com/4442 + Feature enableFramebufferVkCache = {"enableFramebufferVkCache", FeatureCategory::VulkanFeatures, + "Enable FramebufferVk objects to be cached", &members, + "http://anglebug.com/4442"}; + // Enable precision qualifiers for shaders generated by Vulkan backend http://anglebug.com/3078 Feature enablePrecisionQualifiers = { "enablePrecisionQualifiers", FeatureCategory::VulkanFeatures, @@ -346,11 +334,19 @@ struct FeaturesVk : FeatureSetBase "fine grained pipeline stage dependency information", &members, "http://anglebug.com/4633"}; - // Tell the Vulkan back-end to use the async command queue to dispatch work to the GPU. Command - // buffer work will happened in a worker thread. Otherwise use Renderer::CommandQueue directly. - Feature asyncCommandQueue = {"asyncCommandQueue", FeatureCategory::VulkanFeatures, - "Use CommandQueue worker thread to dispatch work to GPU.", - &members, "http://anglebug.com/4324"}; + // Tell Vulkan back-end to use CommandProcessor class to dispatch work to the GPU. The work will + // happen asynchronously in a different thread if asynchronousCommandProcessing is true. + // Otherwise use Renderer::CommandQueue to dispatch work. + Feature commandProcessor = {"commandProcessor", FeatureCategory::VulkanFeatures, + "Use CommandProcessor class to dispatch work to GPU.", &members, + "http://anglebug.com/4324"}; + + // Enable parallel thread execution when commandProcessor is enabled. + // Currently off by default. + Feature asynchronousCommandProcessing = {"asynchronousCommandProcessing", + FeatureCategory::VulkanFeatures, + "Enable/Disable parallel processing of worker thread", + &members, "http://anglebug.com/4324"}; // Whether the VkDevice supports the VK_KHR_shader_float16_int8 extension and has the // shaderFloat16 feature. @@ -359,6 +355,14 @@ struct FeaturesVk : FeatureSetBase "and has the shaderFloat16 feature", &members, "http://anglebug.com/4551"}; + // Whether the VkDevice supports the VK_EXT_shader_atomic_flat extension and has the + // shaderImageFloat32Atomics feature + Feature supportsShaderImageFloat32Atomics = { + "supportsShaderImageFloat32Atomics", FeatureCategory::VulkanFeatures, + "VkDevice supports the VK_EXT_shader_atomic_float extension and has the " + "shaderImageFloat32Atomics feature.", + &members, "http://anglebug.com/3578"}; + // Some devices don't meet the limits required to perform mipmap generation using the built-in // compute shader. On some other devices, VK_IMAGE_USAGE_STORAGE_BIT is detrimental to // performance, making this solution impractical. @@ -423,42 +427,12 @@ struct FeaturesVk : FeatureSetBase "Works around a bug on platforms which destroy oldSwapchain in vkCreateSwapchainKHR.", &members, "http://anglebug.com/5061"}; - // Allow forcing an LOD offset on all sampling operations for performance comparisons. ANGLE is - // non-conformant if this feature is enabled. - std::array forceTextureLODOffset = { - angle::Feature{"force_texture_lod_offset_1", angle::FeatureCategory::VulkanWorkarounds, - "Increase the minimum texture level-of-detail by 1 when sampling.", - &members}, - angle::Feature{"force_texture_lod_offset_2", angle::FeatureCategory::VulkanWorkarounds, - "Increase the minimum texture level-of-detail by 2 when sampling.", - &members}, - angle::Feature{"force_texture_lod_offset_3", angle::FeatureCategory::VulkanWorkarounds, - "Increase the minimum texture level-of-detail by 3 when sampling.", - &members}, - angle::Feature{"force_texture_lod_offset_4", angle::FeatureCategory::VulkanWorkarounds, - "Increase the minimum texture level-of-detail by 4 when sampling.", - &members}, - }; - - // Translate non-nearest filtering modes to nearest for all samplers for performance - // comparisons. ANGLE is non-conformant if this feature is enabled. - Feature forceNearestFiltering = {"force_nearest_filtering", FeatureCategory::VulkanWorkarounds, - "Force nearest filtering when sampling.", &members}; - // Translate non-nearest mip filtering modes to nearest mip for all samplers for performance // comparisons. ANGLE is non-conformant if this feature is enabled. Feature forceNearestMipFiltering = {"forceNearestMipFiltering", FeatureCategory::VulkanWorkarounds, "Force nearest mip filtering when sampling.", &members}; - // Compress float32 vertices in static buffers to float16 at draw time. ANGLE is non-conformant - // if this feature is enabled. - angle::Feature compressVertexData = {"compress_vertex_data", - angle::FeatureCategory::VulkanWorkarounds, - "Compress vertex data to smaller data types when " - "possible. Using this feature makes ANGLE non-conformant.", - &members}; - // Qualcomm missynchronizes vkCmdClearAttachments in the middle of render pass. // https://issuetracker.google.com/166809097 Feature preferDrawClearOverVkCmdClearAttachments = { @@ -481,46 +455,6 @@ struct FeaturesVk : FeatureSetBase Feature emulatedPrerotation270 = {"emulatedPrerotation270", FeatureCategory::VulkanFeatures, "Emulate 270-degree prerotation.", &members, "http://anglebug.com/4901"}; - - // Whether we should use driver uniforms over specialization constants for some shader - // modifications like yflip and rotation. - Feature forceDriverUniformOverSpecConst = { - "forceDriverUniformOverSpecConst", FeatureCategory::VulkanWorkarounds, - "Forces using driver uniforms instead of specialization constants.", &members, - "http://issuetracker.google.com/173636783"}; - - // Whether non-conformant configurations and extensions should be exposed. When an extension is - // in development, or a GLES version is not supported on a device, we may still want to expose - // them for partial testing. This feature is enabled by our test harness. - Feature exposeNonConformantExtensionsAndVersions = { - "exposeNonConformantExtensionsAndVersions", FeatureCategory::VulkanWorkarounds, - "Expose GLES versions and extensions that are not conformant.", &members, - "http://anglebug.com/5375"}; - - // imageAtomicExchange is expected to work for r32f formats, but support for atomic operations - // for VK_FORMAT_R32_SFLOAT is rare. This support is emulated by using an r32ui format for such - // images instead. - Feature emulateR32fImageAtomicExchange = { - "emulateR32fImageAtomicExchange", FeatureCategory::VulkanWorkarounds, - "Emulate r32f images with r32ui to support imageAtomicExchange.", &members, - "http://anglebug.com/5535"}; - - Feature supportsNegativeViewport = { - "supportsNegativeViewport", FeatureCategory::VulkanFeatures, - "The driver supports inverting the viewport with a negative height.", &members}; - - // Whether we should force any highp precision in the fragment shader to mediump. - // ANGLE is non-conformant if this feature is enabled. - Feature forceFragmentShaderPrecisionHighpToMediump = { - "forceFragmentShaderPrecisionHighpToMediump", FeatureCategory::VulkanWorkarounds, - "Forces highp precision in fragment shader to mediump.", &members, - "https://issuetracker.google.com/184850002"}; - - // Whether we should submit at each FBO boundary. - Feature preferSubmitAtFBOBoundary = { - "preferSubmitAtFBOBoundary", FeatureCategory::VulkanWorkarounds, - "Submit commands to driver at each FBO boundary for performance improvements.", &members, - "https://issuetracker.google.com/187425444"}; }; inline FeaturesVk::FeaturesVk() = default; diff --git a/gfx/angle/checkout/include/platform/FrontendFeatures.h b/gfx/angle/checkout/include/platform/FrontendFeatures.h index a5d596a10e7d..c390f449e0e9 100644 --- a/gfx/angle/checkout/include/platform/FrontendFeatures.h +++ b/gfx/angle/checkout/include/platform/FrontendFeatures.h @@ -48,7 +48,7 @@ struct FrontendFeatures : angle::FeatureSetBase angle::Feature scalarizeVecAndMatConstructorArgs = { "scalarize_vec_and_mat_constructor_args", angle::FeatureCategory::FrontendWorkarounds, "Always rewrite vec/mat constructors to be consistent", &members, - "http://crbug.com/1165751"}; + "http://crbug.com/398694"}; // Disable support for GL_OES_get_program_binary angle::Feature disableProgramBinary = { @@ -65,17 +65,6 @@ struct FrontendFeatures : angle::FeatureSetBase angle::Feature allowCompressedFormats = {"allow_compressed_formats", angle::FeatureCategory::FrontendWorkarounds, "Allow compressed formats", &members}; - - angle::Feature captureLimits = {"enable_capture_limits", - angle::FeatureCategory::FrontendFeatures, - "Set the context limits like frame capturing was enabled", - &members, "http://anglebug.com/5750"}; - - // Whether we should compress pipeline cache in thread pool before it's stored in blob cache. - // http://anglebug.com/4722 - angle::Feature enableCompressingPipelineCacheInThreadPool = { - "enableCompressingPipelineCacheInThreadPool", angle::FeatureCategory::FrontendWorkarounds, - "Enable compressing pipeline cache in thread pool.", &members, "http://anglebug.com/4722"}; }; inline FrontendFeatures::FrontendFeatures() = default; diff --git a/gfx/angle/checkout/include/vulkan/vulkan_fuchsia_ext.h b/gfx/angle/checkout/include/vulkan/vulkan_fuchsia_ext.h index 6c30bd23e9f1..75f120e7056d 100644 --- a/gfx/angle/checkout/include/vulkan/vulkan_fuchsia_ext.h +++ b/gfx/angle/checkout/include/vulkan/vulkan_fuchsia_ext.h @@ -47,10 +47,9 @@ const VkExternalSemaphoreHandleTypeFlagBits VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TEMP_ZIRCON_EVENT_BIT_FUCHSIA = static_cast(0x00100000); -#ifndef VK_FUCHSIA_external_memory -# define VK_FUCHSIA_external_memory 1 -# define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1 -# define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory" +#define VK_FUCHSIA_external_memory 1 +#define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1 +#define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory" typedef struct VkImportMemoryZirconHandleInfoFUCHSIA { @@ -85,7 +84,7 @@ typedef VkResult(VKAPI_PTR *PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)( zx_handle_t ZirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA *pMemoryZirconHandleProperties); -# ifndef VK_NO_PROTOTYPES +#ifndef VK_NO_PROTOTYPES VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandleFUCHSIA(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, @@ -96,13 +95,11 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandlePropertiesFUCHSIA( VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t ZirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA *pMemoryZirconHandleProperties); -# endif #endif -#ifndef VK_FUCHSIA_external_semaphore -# define VK_FUCHSIA_external_semaphore 1 -# define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1 -# define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore" +#define VK_FUCHSIA_external_semaphore 1 +#define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1 +#define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore" typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA { @@ -111,7 +108,7 @@ typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA VkSemaphore semaphore; VkSemaphoreImportFlags flags; VkExternalSemaphoreHandleTypeFlagBits handleType; - zx_handle_t zirconHandle; + zx_handle_t handle; } VkImportSemaphoreZirconHandleInfoFUCHSIA; typedef struct VkSemaphoreGetZirconHandleInfoFUCHSIA @@ -130,7 +127,7 @@ typedef VkResult(VKAPI_PTR *PFN_vkGetSemaphoreZirconHandleFUCHSIA)( const VkSemaphoreGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle); -# ifndef VK_NO_PROTOTYPES +#ifndef VK_NO_PROTOTYPES VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreZirconHandleFUCHSIA( VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA *pImportSemaphoreZirconHandleInfo); @@ -139,7 +136,6 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreZirconHandleFUCHSIA(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA *pGetZirconHandleInfo, zx_handle_t *pZirconHandle); -# endif #endif #ifdef __cplusplus diff --git a/gfx/angle/checkout/out/gen/angle/angle_commit.h b/gfx/angle/checkout/out/gen/angle/angle_commit.h index 92407322fbec..1b9110774da7 100644 --- a/gfx/angle/checkout/out/gen/angle/angle_commit.h +++ b/gfx/angle/checkout/out/gen/angle/angle_commit.h @@ -1,4 +1,4 @@ -#define ANGLE_COMMIT_HASH "69b749d9f26d" +#define ANGLE_COMMIT_HASH "31a43497be09" #define ANGLE_COMMIT_HASH_SIZE 12 -#define ANGLE_COMMIT_DATE "2021-07-29 10:40:38 -0700" -#define ANGLE_COMMIT_POSITION 15718 +#define ANGLE_COMMIT_DATE "2021-06-11 16:58:24 -0700" +#define ANGLE_COMMIT_POSITION 14226 diff --git a/gfx/angle/checkout/src/common/FastVector.h b/gfx/angle/checkout/src/common/FastVector.h index 8555af276db9..ff7f161f22f2 100644 --- a/gfx/angle/checkout/src/common/FastVector.h +++ b/gfx/angle/checkout/src/common/FastVector.h @@ -70,9 +70,6 @@ class FastVector final void push_back(const value_type &value); void push_back(value_type &&value); - template - void emplace_back(Args &&... args); - void pop_back(); reference front(); @@ -290,17 +287,10 @@ ANGLE_INLINE void FastVector::push_back(const value_type &value) template ANGLE_INLINE void FastVector::push_back(value_type &&value) -{ - emplace_back(std::move(value)); -} - -template -template -ANGLE_INLINE void FastVector::emplace_back(Args &&... args) { if (mSize == mReservedSize) ensure_capacity(mSize + 1); - mData[mSize++] = std::move(T(std::forward(args)...)); + mData[mSize++] = std::move(value); } template @@ -561,17 +551,11 @@ class FastIntegerSet final return (sizedKey < capacity()) && (mKeyData[index].test(offset)); } - ANGLE_INLINE void clear() - { - for (KeyBitSet &it : mKeyData) - { - it.reset(); - } - } + ANGLE_INLINE void clear() { mKeyData.assign(mKeyData.capacity(), KeyBitSet::Zero()); } ANGLE_INLINE bool empty() const { - for (const KeyBitSet &it : mKeyData) + for (KeyBitSet it : mKeyData) { if (it.any()) { @@ -584,7 +568,7 @@ class FastIntegerSet final ANGLE_INLINE size_t size() const { size_t valid_entries = 0; - for (const KeyBitSet &it : mKeyData) + for (KeyBitSet it : mKeyData) { valid_entries += it.count(); } diff --git a/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.cpp b/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.cpp index f8c86b397b9b..8e50f632ffc1 100644 --- a/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.cpp +++ b/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_packed_gl_enums.py using data from packed_egl_enums.json. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.h b/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.h index d0981e8619cb..9582df95b026 100644 --- a/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.h +++ b/gfx/angle/checkout/src/common/PackedEGLEnums_autogen.h @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_packed_gl_enums.py using data from packed_egl_enums.json. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -14,6 +14,7 @@ #include #include +#include #include #include diff --git a/gfx/angle/checkout/src/common/PackedEnums.cpp b/gfx/angle/checkout/src/common/PackedEnums.cpp index 8239e340002f..f34e86631fa2 100644 --- a/gfx/angle/checkout/src/common/PackedEnums.cpp +++ b/gfx/angle/checkout/src/common/PackedEnums.cpp @@ -132,7 +132,6 @@ TextureType SamplerTypeToTextureType(GLenum samplerType) return TextureType::_2D; case GL_SAMPLER_EXTERNAL_OES: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return TextureType::External; case GL_SAMPLER_CUBE: @@ -185,46 +184,6 @@ TextureType SamplerTypeToTextureType(GLenum samplerType) } } -TextureType ImageTypeToTextureType(GLenum imageType) -{ - switch (imageType) - { - case GL_IMAGE_2D: - case GL_INT_IMAGE_2D: - case GL_UNSIGNED_INT_IMAGE_2D: - return TextureType::_2D; - - case GL_IMAGE_CUBE: - case GL_INT_IMAGE_CUBE: - case GL_UNSIGNED_INT_IMAGE_CUBE: - return TextureType::CubeMap; - - case GL_IMAGE_CUBE_MAP_ARRAY: - case GL_INT_IMAGE_CUBE_MAP_ARRAY: - case GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY: - return TextureType::CubeMapArray; - - case GL_IMAGE_2D_ARRAY: - case GL_INT_IMAGE_2D_ARRAY: - case GL_UNSIGNED_INT_IMAGE_2D_ARRAY: - return TextureType::_2DArray; - - case GL_IMAGE_3D: - case GL_INT_IMAGE_3D: - case GL_UNSIGNED_INT_IMAGE_3D: - return TextureType::_3D; - - case GL_IMAGE_BUFFER: - case GL_INT_IMAGE_BUFFER: - case GL_UNSIGNED_INT_IMAGE_BUFFER: - return TextureType::Buffer; - - default: - UNREACHABLE(); - return TextureType::InvalidEnum; - } -} - bool IsMultisampled(TextureType type) { switch (type) @@ -476,56 +435,6 @@ std::ostream &operator<<(std::ostream &os, VertexAttribType value) } return os; } - -std::ostream &operator<<(std::ostream &os, TessEvaluationType value) -{ - switch (value) - { - case TessEvaluationType::Triangles: - os << "GL_TRIANGLES"; - break; - case TessEvaluationType::Quads: - os << "GL_QUADS"; - break; - case TessEvaluationType::Isolines: - os << "GL_ISOLINES"; - break; - case TessEvaluationType::EqualSpacing: - os << "GL_EQUAL"; - break; - case TessEvaluationType::FractionalEvenSpacing: - os << "GL_FRACTIONAL_EVEN"; - break; - case TessEvaluationType::FractionalOddSpacing: - os << "GL_FRACTIONAL_ODD"; - break; - case TessEvaluationType::Cw: - os << "GL_CW"; - break; - case TessEvaluationType::Ccw: - os << "GL_CCW"; - break; - case TessEvaluationType::PointMode: - os << "GL_TESS_GEN_POINT_MODE"; - break; - default: - os << "GL_INVALID_ENUM"; - break; - } - return os; -} - -const char *ShaderTypeToString(ShaderType shaderType) -{ - constexpr ShaderMap kShaderTypeNameMap = { - {ShaderType::Vertex, "Vertex"}, - {ShaderType::TessControl, "Tessellation control"}, - {ShaderType::TessEvaluation, "Tessellation evaluation"}, - {ShaderType::Geometry, "Geometry"}, - {ShaderType::Fragment, "Fragment"}, - {ShaderType::Compute, "Compute"}}; - return kShaderTypeNameMap[shaderType]; -} } // namespace gl namespace egl @@ -611,4 +520,5 @@ gl::TextureType EGLTextureTargetToTextureType(EGLenum eglTarget) return gl::TextureType::InvalidEnum; } } + } // namespace egl_gl diff --git a/gfx/angle/checkout/src/common/PackedEnums.h b/gfx/angle/checkout/src/common/PackedEnums.h index 5295b9b97119..c19010e5961d 100644 --- a/gfx/angle/checkout/src/common/PackedEnums.h +++ b/gfx/angle/checkout/src/common/PackedEnums.h @@ -58,11 +58,11 @@ class EnumIterator final UnderlyingType mValue; }; -template ()> +template struct AllEnums { EnumIterator begin() const { return {static_cast(0)}; } - EnumIterator end() const { return {static_cast(MaxSize)}; } + EnumIterator end() const { return {E::InvalidEnum}; } }; // PackedEnumMap is like an std::array but is indexed with enum values. It @@ -156,16 +156,6 @@ class PackedEnumMap bool operator==(const PackedEnumMap &rhs) const { return mPrivateData == rhs.mPrivateData; } bool operator!=(const PackedEnumMap &rhs) const { return mPrivateData != rhs.mPrivateData; } - template - typename std::enable_if::value>::type operator+=( - const PackedEnumMap &rhs) - { - for (E e : AllEnums()) - { - at(e) += rhs[e]; - } - } - private: Storage mPrivateData; }; @@ -197,8 +187,15 @@ struct AllCubeFaceTextureTargets angle::EnumIterator end() const { return kAfterCubeMapTextureTargetMax; } }; -constexpr std::array kAllGLES2ShaderTypes = {ShaderType::Vertex, - ShaderType::Fragment}; +constexpr ShaderType kGLES2ShaderTypeMin = ShaderType::Vertex; +constexpr ShaderType kGLES2ShaderTypeMax = ShaderType::Fragment; +constexpr ShaderType kAfterGLES2ShaderTypeMax = + static_cast(static_cast(kGLES2ShaderTypeMax) + 1); +struct AllGLES2ShaderTypes +{ + angle::EnumIterator begin() const { return kGLES2ShaderTypeMin; } + angle::EnumIterator end() const { return kAfterGLES2ShaderTypeMax; } +}; constexpr ShaderType kShaderTypeMin = ShaderType::Vertex; constexpr ShaderType kShaderTypeMax = ShaderType::Compute; @@ -213,8 +210,7 @@ struct AllShaderTypes constexpr size_t kGraphicsShaderCount = static_cast(ShaderType::EnumCount) - 1u; // Arrange the shader types in the order of rendering pipeline constexpr std::array kAllGraphicsShaderTypes = { - ShaderType::Vertex, ShaderType::TessControl, ShaderType::TessEvaluation, ShaderType::Geometry, - ShaderType::Fragment}; + ShaderType::Vertex, ShaderType::Geometry, ShaderType::Fragment}; using ShaderBitSet = angle::PackedEnumBitSet; static_assert(sizeof(ShaderBitSet) == sizeof(uint8_t), "Unexpected size"); @@ -222,10 +218,7 @@ static_assert(sizeof(ShaderBitSet) == sizeof(uint8_t), "Unexpected size"); template using ShaderMap = angle::PackedEnumMap; -const char *ShaderTypeToString(ShaderType shaderType); - TextureType SamplerTypeToTextureType(GLenum samplerType); -TextureType ImageTypeToTextureType(GLenum imageType); bool IsMultisampled(gl::TextureType type); bool IsArrayTextureType(gl::TextureType type); @@ -248,10 +241,9 @@ enum class PrimitiveMode : uint8_t LineStripAdjacency = 0xB, TrianglesAdjacency = 0xC, TriangleStripAdjacency = 0xD, - Patches = 0xE, - InvalidEnum = 0xF, - EnumCount = 0xF, + InvalidEnum = 0xE, + EnumCount = 0xE, }; template <> @@ -533,84 +525,6 @@ ANGLE_VALIDATE_PACKED_ENUM(VertexAttribType, UnsignedInt1010102, GL_UNSIGNED_INT std::ostream &operator<<(std::ostream &os, VertexAttribType value); -enum class TessEvaluationType -{ - Triangles = 0, - Quads = 1, - Isolines = 2, - EqualSpacing = 3, - FractionalEvenSpacing = 4, - FractionalOddSpacing = 5, - Cw = 6, - Ccw = 7, - PointMode = 8, - InvalidEnum = 9, - EnumCount = 9 -}; - -template <> -constexpr TessEvaluationType FromGLenum(GLenum from) -{ - if (from == GL_TRIANGLES) - return TessEvaluationType::Triangles; - if (from == GL_QUADS) - return TessEvaluationType::Quads; - if (from == GL_ISOLINES) - return TessEvaluationType::Isolines; - if (from == GL_EQUAL) - return TessEvaluationType::EqualSpacing; - if (from == GL_FRACTIONAL_EVEN) - return TessEvaluationType::FractionalEvenSpacing; - if (from == GL_FRACTIONAL_ODD) - return TessEvaluationType::FractionalOddSpacing; - if (from == GL_CW) - return TessEvaluationType::Cw; - if (from == GL_CCW) - return TessEvaluationType::Ccw; - if (from == GL_TESS_GEN_POINT_MODE) - return TessEvaluationType::PointMode; - return TessEvaluationType::InvalidEnum; -} - -constexpr GLenum ToGLenum(TessEvaluationType from) -{ - switch (from) - { - case TessEvaluationType::Triangles: - return GL_TRIANGLES; - case TessEvaluationType::Quads: - return GL_QUADS; - case TessEvaluationType::Isolines: - return GL_ISOLINES; - case TessEvaluationType::EqualSpacing: - return GL_EQUAL; - case TessEvaluationType::FractionalEvenSpacing: - return GL_FRACTIONAL_EVEN; - case TessEvaluationType::FractionalOddSpacing: - return GL_FRACTIONAL_ODD; - case TessEvaluationType::Cw: - return GL_CW; - case TessEvaluationType::Ccw: - return GL_CCW; - case TessEvaluationType::PointMode: - return GL_TESS_GEN_POINT_MODE; - default: - return GL_INVALID_ENUM; - } -} - -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, Triangles, GL_TRIANGLES); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, Quads, GL_QUADS); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, Isolines, GL_ISOLINES); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, EqualSpacing, GL_EQUAL); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, FractionalEvenSpacing, GL_FRACTIONAL_EVEN); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, FractionalOddSpacing, GL_FRACTIONAL_ODD); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, Cw, GL_CW); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, Ccw, GL_CCW); -ANGLE_VALIDATE_PACKED_ENUM(TessEvaluationType, PointMode, GL_TESS_GEN_POINT_MODE); - -std::ostream &operator<<(std::ostream &os, TessEvaluationType value); - // Typesafe object handles. template @@ -743,7 +657,7 @@ inline GLuint GetIDValue(ResourceIDType id) // First case: handling packed enums. template -typename std::enable_if::value, EnumT>::type PackParam(FromT from) +typename std::enable_if::value, EnumT>::type FromGL(FromT from) { return FromGLenum(from); } @@ -751,7 +665,7 @@ typename std::enable_if::value, EnumT>::type PackParam(FromT // Second case: handling non-pointer resource ids. template typename std::enable_if::value && !std::is_enum::value, EnumT>::type -PackParam(FromT from) +FromGL(FromT from) { return {from}; } @@ -759,16 +673,8 @@ PackParam(FromT from) // Third case: handling pointer resource ids. template typename std::enable_if::value && !std::is_enum::value, EnumT>::type -PackParam(FromT from) +FromGL(FromT from) { - static_assert(sizeof(typename std::remove_pointer::type) == - sizeof(typename std::remove_pointer::type), - "Types have different sizes"); - static_assert( - std::is_same< - decltype(std::remove_pointer::type::value), - typename std::remove_const::type>::type>::value, - "Data types are different"); return reinterpret_cast(from); } @@ -776,11 +682,6 @@ struct UniformLocation { int value; }; - -struct UniformBlockIndex -{ - uint32_t value; -}; } // namespace gl namespace egl diff --git a/gfx/angle/checkout/src/common/PackedGLEnums_autogen.cpp b/gfx/angle/checkout/src/common/PackedGLEnums_autogen.cpp index 883f69cfee2b..4bd0594348a6 100644 --- a/gfx/angle/checkout/src/common/PackedGLEnums_autogen.cpp +++ b/gfx/angle/checkout/src/common/PackedGLEnums_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_packed_gl_enums.py using data from packed_gl_enums.json. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -1392,14 +1392,10 @@ ShaderType FromGLenum(GLenum from) { case GL_VERTEX_SHADER: return ShaderType::Vertex; - case GL_TESS_CONTROL_SHADER_EXT: - return ShaderType::TessControl; - case GL_TESS_EVALUATION_SHADER_EXT: - return ShaderType::TessEvaluation; - case GL_GEOMETRY_SHADER_EXT: - return ShaderType::Geometry; case GL_FRAGMENT_SHADER: return ShaderType::Fragment; + case GL_GEOMETRY_SHADER_EXT: + return ShaderType::Geometry; case GL_COMPUTE_SHADER: return ShaderType::Compute; default: @@ -1413,14 +1409,10 @@ GLenum ToGLenum(ShaderType from) { case ShaderType::Vertex: return GL_VERTEX_SHADER; - case ShaderType::TessControl: - return GL_TESS_CONTROL_SHADER_EXT; - case ShaderType::TessEvaluation: - return GL_TESS_EVALUATION_SHADER_EXT; - case ShaderType::Geometry: - return GL_GEOMETRY_SHADER_EXT; case ShaderType::Fragment: return GL_FRAGMENT_SHADER; + case ShaderType::Geometry: + return GL_GEOMETRY_SHADER_EXT; case ShaderType::Compute: return GL_COMPUTE_SHADER; default: @@ -1436,18 +1428,12 @@ std::ostream &operator<<(std::ostream &os, ShaderType value) case ShaderType::Vertex: os << "GL_VERTEX_SHADER"; break; - case ShaderType::TessControl: - os << "GL_TESS_CONTROL_SHADER_EXT"; - break; - case ShaderType::TessEvaluation: - os << "GL_TESS_EVALUATION_SHADER_EXT"; + case ShaderType::Fragment: + os << "GL_FRAGMENT_SHADER"; break; case ShaderType::Geometry: os << "GL_GEOMETRY_SHADER_EXT"; break; - case ShaderType::Fragment: - os << "GL_FRAGMENT_SHADER"; - break; case ShaderType::Compute: os << "GL_COMPUTE_SHADER"; break; diff --git a/gfx/angle/checkout/src/common/PackedGLEnums_autogen.h b/gfx/angle/checkout/src/common/PackedGLEnums_autogen.h index eb48c53a1490..6c9f8355140d 100644 --- a/gfx/angle/checkout/src/common/PackedGLEnums_autogen.h +++ b/gfx/angle/checkout/src/common/PackedGLEnums_autogen.h @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_packed_gl_enums.py using data from packed_gl_enums.json. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -12,6 +12,8 @@ #ifndef COMMON_PACKEDGLENUMS_AUTOGEN_H_ #define COMMON_PACKEDGLENUMS_AUTOGEN_H_ +#include +#include #include #include @@ -357,15 +359,13 @@ std::ostream &operator<<(std::ostream &os, QueryType value); enum class ShaderType : uint8_t { - Vertex = 0, - TessControl = 1, - TessEvaluation = 2, - Geometry = 3, - Fragment = 4, - Compute = 5, + Vertex = 0, + Fragment = 1, + Geometry = 2, + Compute = 3, - InvalidEnum = 6, - EnumCount = 6, + InvalidEnum = 4, + EnumCount = 4, }; template <> diff --git a/gfx/angle/checkout/src/common/aligned_memory.cpp b/gfx/angle/checkout/src/common/aligned_memory.cpp index 9798fc0f4245..6d7d1d0ee50e 100644 --- a/gfx/angle/checkout/src/common/aligned_memory.cpp +++ b/gfx/angle/checkout/src/common/aligned_memory.cpp @@ -54,7 +54,7 @@ void *AlignedAlloc(size_t size, size_t alignment) void AlignedFree(void *ptr) { -#if defined(ANGLE_PLATFORM_WINDOWS) +#if defined(_MSC_VER) _aligned_free(ptr); #else free(ptr); diff --git a/gfx/angle/checkout/src/common/android_util.cpp b/gfx/angle/checkout/src/common/android_util.cpp index 436b1b798af9..523dc41f0a6e 100644 --- a/gfx/angle/checkout/src/common/android_util.cpp +++ b/gfx/angle/checkout/src/common/android_util.cpp @@ -219,55 +219,6 @@ T1 *offsetPointer(T2 *ptr, int bytes) return reinterpret_cast(reinterpret_cast(ptr) + bytes); } -GLenum getPixelFormatInfo(int pixelFormat, bool *isYUV) -{ - *isYUV = false; - switch (pixelFormat) - { - case AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM: - return GL_RGBA8; - case AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM: - return GL_RGB8; - case AHARDWAREBUFFER_FORMAT_R8G8B8_UNORM: - return GL_RGB8; - case AHARDWAREBUFFER_FORMAT_R5G6B5_UNORM: - return GL_RGB565; - case AHARDWAREBUFFER_FORMAT_B8G8R8A8_UNORM: - return GL_BGRA8_EXT; - case AHARDWAREBUFFER_FORMAT_B5G5R5A1_UNORM: - return GL_RGB5_A1; - case AHARDWAREBUFFER_FORMAT_B4G4R4A4_UNORM: - return GL_RGBA4; - case AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT: - return GL_RGBA16F; - case AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM: - return GL_RGB10_A2; - case AHARDWAREBUFFER_FORMAT_BLOB: - return GL_NONE; - case AHARDWAREBUFFER_FORMAT_D16_UNORM: - return GL_DEPTH_COMPONENT16; - case AHARDWAREBUFFER_FORMAT_D24_UNORM: - return GL_DEPTH_COMPONENT24; - case AHARDWAREBUFFER_FORMAT_D24_UNORM_S8_UINT: - return GL_DEPTH24_STENCIL8; - case AHARDWAREBUFFER_FORMAT_D32_FLOAT: - return GL_DEPTH_COMPONENT32F; - case AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: - return GL_DEPTH32F_STENCIL8; - case AHARDWAREBUFFER_FORMAT_S8_UINT: - return GL_STENCIL_INDEX8; - case AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: - *isYUV = true; - return GL_RGB8; - default: - // Treat unknown formats as RGB. They are vendor-specific YUV formats that would sample - // as RGB. - WARN() << "Unknown pixelFormat: " << pixelFormat << ". Treating as RGB8"; - *isYUV = true; - return GL_RGB8; - } -} - } // anonymous namespace namespace angle @@ -345,8 +296,48 @@ void GetANativeWindowBufferProperties(const ANativeWindowBuffer *buffer, GLenum NativePixelFormatToGLInternalFormat(int pixelFormat) { - bool isYuv = false; - return getPixelFormatInfo(pixelFormat, &isYuv); + switch (pixelFormat) + { + case AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM: + return GL_RGBA8; + case AHARDWAREBUFFER_FORMAT_R8G8B8X8_UNORM: + return GL_RGB8; + case AHARDWAREBUFFER_FORMAT_R8G8B8_UNORM: + return GL_RGB8; + case AHARDWAREBUFFER_FORMAT_R5G6B5_UNORM: + return GL_RGB565; + case AHARDWAREBUFFER_FORMAT_B8G8R8A8_UNORM: + return GL_BGRA8_EXT; + case AHARDWAREBUFFER_FORMAT_B5G5R5A1_UNORM: + return GL_RGB5_A1; + case AHARDWAREBUFFER_FORMAT_B4G4R4A4_UNORM: + return GL_RGBA4; + case AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT: + return GL_RGBA16F; + case AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM: + return GL_RGB10_A2; + case AHARDWAREBUFFER_FORMAT_BLOB: + return GL_NONE; + case AHARDWAREBUFFER_FORMAT_D16_UNORM: + return GL_DEPTH_COMPONENT16; + case AHARDWAREBUFFER_FORMAT_D24_UNORM: + return GL_DEPTH_COMPONENT24; + case AHARDWAREBUFFER_FORMAT_D24_UNORM_S8_UINT: + return GL_DEPTH24_STENCIL8; + case AHARDWAREBUFFER_FORMAT_D32_FLOAT: + return GL_DEPTH_COMPONENT32F; + case AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: + return GL_DEPTH32F_STENCIL8; + case AHARDWAREBUFFER_FORMAT_S8_UINT: + return GL_STENCIL_INDEX8; + case AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: + return GL_RGB8; + default: + // Treat unknown formats as RGB. They are vendor-specific YUV formats that would sample + // as RGB. + WARN() << "Unknown pixelFormat: " << pixelFormat << ". Treating as RGB8"; + return GL_RGB8; + } } int GLInternalFormatToNativePixelFormat(GLenum internalFormat) @@ -389,13 +380,6 @@ int GLInternalFormatToNativePixelFormat(GLenum internalFormat) } } -bool NativePixelFormatIsYUV(int pixelFormat) -{ - bool isYuv = false; - getPixelFormatInfo(pixelFormat, &isYuv); - return isYuv; -} - AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer) { return offsetPointer(windowBuffer, @@ -408,10 +392,5 @@ EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuf kAHardwareBufferToANativeWindowBufferOffset); } -AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer) -{ - return offsetPointer(clientBuffer, - -kAHardwareBufferToANativeWindowBufferOffset); -} } // namespace android } // namespace angle diff --git a/gfx/angle/checkout/src/common/android_util.h b/gfx/angle/checkout/src/common/android_util.h index aed640ae846c..2413f7f0ac45 100644 --- a/gfx/angle/checkout/src/common/android_util.h +++ b/gfx/angle/checkout/src/common/android_util.h @@ -30,7 +30,6 @@ constexpr std::array kSupportedSizedInternalFormats = {GL_RGBA8, GL_R ANativeWindowBuffer *ClientBufferToANativeWindowBuffer(EGLClientBuffer clientBuffer); EGLClientBuffer AHardwareBufferToClientBuffer(const AHardwareBuffer *hardwareBuffer); -AHardwareBuffer *ClientBufferToAHardwareBuffer(EGLClientBuffer clientBuffer); EGLClientBuffer CreateEGLClientBufferFromAHardwareBuffer(int width, int height, @@ -46,8 +45,6 @@ void GetANativeWindowBufferProperties(const ANativeWindowBuffer *buffer, GLenum NativePixelFormatToGLInternalFormat(int pixelFormat); int GLInternalFormatToNativePixelFormat(GLenum internalFormat); -bool NativePixelFormatIsYUV(int pixelFormat); - AHardwareBuffer *ANativeWindowBufferToAHardwareBuffer(ANativeWindowBuffer *windowBuffer); uint64_t GetAHBUsage(int eglNativeBufferUsage); diff --git a/gfx/angle/checkout/src/common/angleutils.h b/gfx/angle/checkout/src/common/angleutils.h index b61a53677363..fe8777eec8db 100644 --- a/gfx/angle/checkout/src/common/angleutils.h +++ b/gfx/angle/checkout/src/common/angleutils.h @@ -15,10 +15,6 @@ # include "absl/container/flat_hash_map.h" #endif // defined(ANGLE_USE_ABSEIL) -#if defined(ANGLE_WITH_LSAN) -# include -#endif // defined(ANGLE_WITH_LSAN) - #include #include #include @@ -290,10 +286,6 @@ inline bool IsLittleEndian() #define GL_X2_RGB10_UNORM_ANGLEX 0x6AF7 #define GL_X2_RGB10_SNORM_ANGLEX 0x6AF8 -// YUV formats -#define GL_G8_B8_R8_3PLANE_420_UNORM_ANGLEX 0x6B00 -#define GL_G8_B8R8_2PLANE_420_UNORM_ANGLEX 0x6B01 - #define ANGLE_CHECK_GL_ALLOC(context, result) \ ANGLE_CHECK(context, result, "Failed to allocate host memory", GL_OUT_OF_MEMORY) @@ -304,12 +296,6 @@ inline bool IsLittleEndian() UNREACHABLE(); \ ANGLE_CHECK(context, false, "Unreachable Code.", GL_INVALID_OPERATION) -#if defined(ANGLE_WITH_LSAN) -# define ANGLE_SCOPED_DISABLE_LSAN() __lsan::ScopedDisabler lsanDisabler -#else -# define ANGLE_SCOPED_DISABLE_LSAN() -#endif - // The below inlining code lifted from V8. #if defined(__clang__) || (defined(__GNUC__) && defined(__has_attribute)) # define ANGLE_HAS_ATTRIBUTE_ALWAYS_INLINE (__has_attribute(always_inline)) diff --git a/gfx/angle/checkout/src/common/bitset_utils.h b/gfx/angle/checkout/src/common/bitset_utils.h index 068197de4960..3be9830dfd65 100644 --- a/gfx/angle/checkout/src/common/bitset_utils.h +++ b/gfx/angle/checkout/src/common/bitset_utils.h @@ -12,7 +12,7 @@ #include -#include +#include #include "common/angleutils.h" #include "common/debug.h" @@ -78,12 +78,6 @@ class BitSetT final mBitsCopy.set(index); } - void setLaterBits(const BitSetT &bits) - { - ASSERT((BitSetT(bits) &= Mask(mCurrentBit + 1)).none()); - mBitsCopy |= bits; - } - private: std::size_t getNextBit(); @@ -92,76 +86,172 @@ class BitSetT final }; using value_type = BitsT; - using param_type = ParamT; - constexpr BitSetT(); + BitSetT(); constexpr explicit BitSetT(BitsT value); - constexpr explicit BitSetT(std::initializer_list init); - constexpr BitSetT(const BitSetT &other); - constexpr BitSetT &operator=(const BitSetT &other); + BitSetT(const BitSetT &other); + BitSetT &operator=(const BitSetT &other); - constexpr bool operator==(const BitSetT &other) const; - constexpr bool operator!=(const BitSetT &other) const; + bool operator==(const BitSetT &other) const; + bool operator!=(const BitSetT &other) const; constexpr bool operator[](ParamT pos) const; Reference operator[](ParamT pos) { return Reference(this, pos); } - constexpr bool test(ParamT pos) const; + bool test(ParamT pos) const; - constexpr bool all() const; - constexpr bool any() const; - constexpr bool none() const; - constexpr std::size_t count() const; + bool all() const; + bool any() const; + bool none() const; + std::size_t count() const; constexpr std::size_t size() const { return N; } - constexpr BitSetT &operator&=(const BitSetT &other); - constexpr BitSetT &operator|=(const BitSetT &other); - constexpr BitSetT &operator^=(const BitSetT &other); - constexpr BitSetT operator~() const; + BitSetT &operator&=(const BitSetT &other); + BitSetT &operator|=(const BitSetT &other); + BitSetT &operator^=(const BitSetT &other); + BitSetT operator~() const; - constexpr BitSetT &operator&=(BitsT value); - constexpr BitSetT &operator|=(BitsT value); - constexpr BitSetT &operator^=(BitsT value); + BitSetT &operator&=(BitsT value); + BitSetT &operator|=(BitsT value); + BitSetT &operator^=(BitsT value); - constexpr BitSetT operator<<(std::size_t pos) const; - constexpr BitSetT &operator<<=(std::size_t pos); - constexpr BitSetT operator>>(std::size_t pos) const; - constexpr BitSetT &operator>>=(std::size_t pos); + BitSetT operator<<(std::size_t pos) const; + BitSetT &operator<<=(std::size_t pos); + BitSetT operator>>(std::size_t pos) const; + BitSetT &operator>>=(std::size_t pos); - constexpr BitSetT &set(); - constexpr BitSetT &set(ParamT pos, bool value = true); + BitSetT &set(); + BitSetT &set(ParamT pos, bool value = true); - constexpr BitSetT &reset(); - constexpr BitSetT &reset(ParamT pos); + BitSetT &reset(); + BitSetT &reset(ParamT pos); - constexpr BitSetT &flip(); - constexpr BitSetT &flip(ParamT pos); + BitSetT &flip(); + BitSetT &flip(ParamT pos); - constexpr unsigned long to_ulong() const { return static_cast(mBits); } - constexpr BitsT bits() const { return mBits; } + unsigned long to_ulong() const { return static_cast(mBits); } + BitsT bits() const { return mBits; } Iterator begin() const { return Iterator(*this); } Iterator end() const { return Iterator(BitSetT()); } constexpr static BitSetT Zero() { return BitSetT(); } - constexpr ParamT first() const; - constexpr ParamT last() const; + ParamT first() const; + private: // Produces a mask of ones up to the "x"th bit. constexpr static BitsT Mask(std::size_t x) { return ((Bit(static_cast(x - 1)) - 1) << 1) + 1; } - private: BitsT mBits; }; +template +class IterableBitSet : public std::bitset +{ + public: + IterableBitSet() {} + IterableBitSet(const std::bitset &implicitBitSet) : std::bitset(implicitBitSet) {} + + class Iterator final + { + public: + Iterator(const std::bitset &bits); + Iterator &operator++(); + + bool operator==(const Iterator &other) const; + bool operator!=(const Iterator &other) const; + unsigned long operator*() const { return mCurrentBit; } + + // These helper functions allow mutating an iterator in-flight. + // They only operate on later bits to ensure we don't iterate the same bit twice. + void resetLaterBit(std::size_t index) + { + ASSERT(index > mCurrentBit); + mBits.reset(index - mOffset); + } + + void setLaterBit(std::size_t index) + { + ASSERT(index > mCurrentBit); + mBits.set(index - mOffset); + } + + private: + unsigned long getNextBit(); + + static constexpr size_t BitsPerWord = sizeof(uint32_t) * 8; + std::bitset mBits; + unsigned long mCurrentBit; + unsigned long mOffset; + }; + + Iterator begin() const { return Iterator(*this); } + Iterator end() const { return Iterator(std::bitset(0)); } +}; + +template +IterableBitSet::Iterator::Iterator(const std::bitset &bitset) + : mBits(bitset), mCurrentBit(0), mOffset(0) +{ + if (mBits.any()) + { + mCurrentBit = getNextBit(); + } + else + { + mOffset = static_cast(rx::roundUpPow2(N, BitsPerWord)); + } +} + +template +ANGLE_INLINE typename IterableBitSet::Iterator &IterableBitSet::Iterator::operator++() +{ + ASSERT(mBits.any()); + mBits.set(mCurrentBit - mOffset, 0); + mCurrentBit = getNextBit(); + return *this; +} + +template +bool IterableBitSet::Iterator::operator==(const Iterator &other) const +{ + return mOffset == other.mOffset && mBits == other.mBits; +} + +template +bool IterableBitSet::Iterator::operator!=(const Iterator &other) const +{ + return !(*this == other); +} + +template +unsigned long IterableBitSet::Iterator::getNextBit() +{ + // TODO(jmadill): Use 64-bit scan when possible. + static constexpr std::bitset wordMask(std::numeric_limits::max()); + + while (mOffset < N) + { + uint32_t wordBits = static_cast((mBits & wordMask).to_ulong()); + if (wordBits != 0) + { + return gl::ScanForward(wordBits) + mOffset; + } + + mBits >>= BitsPerWord; + mOffset += BitsPerWord; + } + return 0; +} + template -constexpr BitSetT::BitSetT() : mBits(0) +BitSetT::BitSetT() : mBits(0) { static_assert(N > 0, "Bitset type cannot support zero bits."); static_assert(N <= sizeof(BitsT) * 8, "Bitset type cannot support a size this large."); @@ -172,33 +262,24 @@ constexpr BitSetT::BitSetT(BitsT value) : mBits(value & Mask(N {} template -constexpr BitSetT::BitSetT(std::initializer_list init) : mBits(0) -{ - for (ParamT element : init) - { - mBits |= Bit(element) & Mask(N); - } -} - -template -constexpr BitSetT::BitSetT(const BitSetT &other) : mBits(other.mBits) +BitSetT::BitSetT(const BitSetT &other) : mBits(other.mBits) {} template -constexpr BitSetT &BitSetT::operator=(const BitSetT &other) +BitSetT &BitSetT::operator=(const BitSetT &other) { mBits = other.mBits; return *this; } template -constexpr bool BitSetT::operator==(const BitSetT &other) const +bool BitSetT::operator==(const BitSetT &other) const { return mBits == other.mBits; } template -constexpr bool BitSetT::operator!=(const BitSetT &other) const +bool BitSetT::operator!=(const BitSetT &other) const { return mBits != other.mBits; } @@ -210,114 +291,114 @@ constexpr bool BitSetT::operator[](ParamT pos) const } template -constexpr bool BitSetT::test(ParamT pos) const +bool BitSetT::test(ParamT pos) const { return (mBits & Bit(pos)) != 0; } template -constexpr bool BitSetT::all() const +bool BitSetT::all() const { ASSERT(mBits == (mBits & Mask(N))); return mBits == Mask(N); } template -constexpr bool BitSetT::any() const +bool BitSetT::any() const { ASSERT(mBits == (mBits & Mask(N))); return (mBits != 0); } template -constexpr bool BitSetT::none() const +bool BitSetT::none() const { ASSERT(mBits == (mBits & Mask(N))); return (mBits == 0); } template -constexpr std::size_t BitSetT::count() const +std::size_t BitSetT::count() const { return gl::BitCount(mBits); } template -constexpr BitSetT &BitSetT::operator&=(const BitSetT &other) +BitSetT &BitSetT::operator&=(const BitSetT &other) { mBits &= other.mBits; return *this; } template -constexpr BitSetT &BitSetT::operator|=(const BitSetT &other) +BitSetT &BitSetT::operator|=(const BitSetT &other) { mBits |= other.mBits; return *this; } template -constexpr BitSetT &BitSetT::operator^=(const BitSetT &other) +BitSetT &BitSetT::operator^=(const BitSetT &other) { mBits = mBits ^ other.mBits; return *this; } template -constexpr BitSetT BitSetT::operator~() const +BitSetT BitSetT::operator~() const { return BitSetT(~mBits & Mask(N)); } template -constexpr BitSetT &BitSetT::operator&=(BitsT value) +BitSetT &BitSetT::operator&=(BitsT value) { mBits &= value; return *this; } template -constexpr BitSetT &BitSetT::operator|=(BitsT value) +BitSetT &BitSetT::operator|=(BitsT value) { mBits |= value & Mask(N); return *this; } template -constexpr BitSetT &BitSetT::operator^=(BitsT value) +BitSetT &BitSetT::operator^=(BitsT value) { mBits ^= value & Mask(N); return *this; } template -constexpr BitSetT BitSetT::operator<<(std::size_t pos) const +BitSetT BitSetT::operator<<(std::size_t pos) const { return BitSetT((mBits << pos) & Mask(N)); } template -constexpr BitSetT &BitSetT::operator<<=(std::size_t pos) +BitSetT &BitSetT::operator<<=(std::size_t pos) { mBits = (mBits << pos & Mask(N)); return *this; } template -constexpr BitSetT BitSetT::operator>>(std::size_t pos) const +BitSetT BitSetT::operator>>(std::size_t pos) const { return BitSetT(mBits >> pos); } template -constexpr BitSetT &BitSetT::operator>>=(std::size_t pos) +BitSetT &BitSetT::operator>>=(std::size_t pos) { mBits = ((mBits >> pos) & Mask(N)); return *this; } template -constexpr BitSetT &BitSetT::set() +BitSetT &BitSetT::set() { ASSERT(mBits == (mBits & Mask(N))); mBits = Mask(N); @@ -325,7 +406,7 @@ constexpr BitSetT &BitSetT::set() } template -constexpr BitSetT &BitSetT::set(ParamT pos, bool value) +BitSetT &BitSetT::set(ParamT pos, bool value) { ASSERT(mBits == (mBits & Mask(N))); if (value) @@ -340,7 +421,7 @@ constexpr BitSetT &BitSetT::set(ParamT pos, } template -constexpr BitSetT &BitSetT::reset() +BitSetT &BitSetT::reset() { ASSERT(mBits == (mBits & Mask(N))); mBits = 0; @@ -348,7 +429,7 @@ constexpr BitSetT &BitSetT::reset() } template -constexpr BitSetT &BitSetT::reset(ParamT pos) +BitSetT &BitSetT::reset(ParamT pos) { ASSERT(mBits == (mBits & Mask(N))); mBits &= ~Bit(pos); @@ -356,7 +437,7 @@ constexpr BitSetT &BitSetT::reset(ParamT pos } template -constexpr BitSetT &BitSetT::flip() +BitSetT &BitSetT::flip() { ASSERT(mBits == (mBits & Mask(N))); mBits ^= Mask(N); @@ -364,7 +445,7 @@ constexpr BitSetT &BitSetT::flip() } template -constexpr BitSetT &BitSetT::flip(ParamT pos) +BitSetT &BitSetT::flip(ParamT pos) { ASSERT(mBits == (mBits & Mask(N))); mBits ^= Bit(pos) & Mask(N); @@ -372,19 +453,12 @@ constexpr BitSetT &BitSetT::flip(ParamT pos) } template -constexpr ParamT BitSetT::first() const +ParamT BitSetT::first() const { ASSERT(!none()); return static_cast(gl::ScanForward(mBits)); } -template -constexpr ParamT BitSetT::last() const -{ - ASSERT(!none()); - return static_cast(gl::ScanReverse(mBits)); -} - template BitSetT::Iterator::Iterator(const BitSetT &bits) : mBitsCopy(bits), mCurrentBit(0) { @@ -445,9 +519,6 @@ using BitSet32 = BitSetT; template using BitSet64 = BitSetT; -template -class BitSetArray; - namespace priv { @@ -457,584 +528,34 @@ using EnableIfBitsFit = typename std::enable_if::type; template struct GetBitSet { - using Type = BitSetArray; + using Type = IterableBitSet; }; // Prefer 64-bit bitsets on 64-bit CPUs. They seem faster than 32-bit. -#if INTPTR_MAX == INT64_MAX +#if defined(ANGLE_IS_64_BIT_CPU) template struct GetBitSet> { using Type = BitSet64; }; -constexpr std::size_t kDefaultBitSetSize = 64; -using BaseBitSetType = BitSet64; #else template struct GetBitSet> { using Type = BitSet32; }; -constexpr std::size_t kDefaultBitSetSize = 32; -using BaseBitSetType = BitSet32; -#endif // INTPTR_MAX == INT64_MAX +#endif // defined(ANGLE_IS_64_BIT_CPU) } // namespace priv template using BitSet = typename priv::GetBitSet::Type; -template -class BitSetArray final -{ - public: - using BaseBitSet = priv::BaseBitSetType; - - BitSetArray(); - BitSetArray(const BitSetArray &other); - - using value_type = BaseBitSet::value_type; - using param_type = BaseBitSet::param_type; - - class Reference final - { - public: - ~Reference() {} - Reference &operator=(bool x) - { - mParent.set(mPosition, x); - return *this; - } - explicit operator bool() const { return mParent.test(mPosition); } - - private: - friend class BitSetArray; - - Reference(BitSetArray &parent, std::size_t pos) : mParent(parent), mPosition(pos) {} - - BitSetArray &mParent; - std::size_t mPosition; - }; - class Iterator final - { - public: - Iterator(const BitSetArray &bitSetArray, std::size_t index); - Iterator &operator++(); - bool operator==(const Iterator &other) const; - bool operator!=(const Iterator &other) const; - size_t operator*() const; - - // These helper functions allow mutating an iterator in-flight. - // They only operate on later bits to ensure we don't iterate the same bit twice. - void resetLaterBit(std::size_t pos) - { - ASSERT(pos > (mIndex * priv::kDefaultBitSetSize) + *mCurrentIterator); - prepareCopy(); - mParentCopy.reset(pos); - updateIteratorBit(pos, false); - } - - void setLaterBit(std::size_t pos) - { - ASSERT(pos > (mIndex * priv::kDefaultBitSetSize) + *mCurrentIterator); - prepareCopy(); - mParentCopy.set(pos); - updateIteratorBit(pos, true); - } - - void setLaterBits(const BitSetArray &bits) - { - prepareCopy(); - mParentCopy |= bits; - updateIteratorBits(bits); - } - - private: - ANGLE_INLINE void prepareCopy() - { - ASSERT(mParent.mBaseBitSetArray[mIndex].end() == - mParentCopy.mBaseBitSetArray[mIndex].end()); - if (mParentCopy.none()) - { - mParentCopy = mParent; - mCurrentParent = &mParentCopy; - } - } - - ANGLE_INLINE void updateIteratorBit(std::size_t pos, bool setBit) - { - // Get the index and offset, update current interator if within range - size_t index = pos >> kShiftForDivision; - size_t offset = pos & kDefaultBitSetSizeMinusOne; - if (index == mIndex) - { - if (setBit) - { - mCurrentIterator.setLaterBit(offset); - } - else - { - mCurrentIterator.resetLaterBit(offset); - } - } - } - - ANGLE_INLINE void updateIteratorBits(const BitSetArray &bits) - { - mCurrentIterator.setLaterBits(bits.mBaseBitSetArray[mIndex]); - } - - // Problem - - // We want to provide the fastest path possible for usecases that iterate though the bitset. - // - // Options - - // 1) For non-mutating iterations the const ref is set as mCurrentParent and only - // for usecases that need to mutate the bitset while iterating we perform a copy of - // into and modify its bits accordingly. - // 2) The alternate approach was to perform a copy all the time in the constructor - // irrespective of whether it was a mutating usecase or not. - // - // Experiment - - // BitSetIteratorPerfTest was run on a Windows machine with Intel CPU and these were the - // results - - // 1) Copy only when necessary - - // RESULT BitSetIteratorPerf.wall_time: run = 116.1067374961 ns - // RESULT BitSetIteratorPerf.trial_steps : run = 8416124 count - // RESULT BitSetIteratorPerf.total_steps : run = 16832251 count - // 2) Copy always - - // RESULT BitSetIteratorPerf.wall_time: run = 242.7446459439 ns - // RESULT BitSetIteratorPerf.trial_steps : run = 4171416 count - // RESULT BitSetIteratorPerf.total_steps : run = 8342834 count - // - // Resolution - - // We settled on the copy only when necessary path. - size_t mIndex; - const BitSetArray &mParent; - BitSetArray mParentCopy; - const BitSetArray *mCurrentParent; - typename BaseBitSet::Iterator mCurrentIterator; - }; - - constexpr std::size_t size() const { return N; } - Iterator begin() const { return Iterator(*this, 0); } - Iterator end() const { return Iterator(*this, kArraySize); } - unsigned long to_ulong() const - { - // TODO(anglebug.com/5628): Handle serializing more than kDefaultBitSetSize - for (std::size_t index = 1; index < kArraySize; index++) - { - ASSERT(mBaseBitSetArray[index].none()); - } - return static_cast(mBaseBitSetArray[0].to_ulong()); - } - - // Assignment operators - BitSetArray &operator=(const BitSetArray &other); - BitSetArray &operator&=(const BitSetArray &other); - BitSetArray &operator|=(const BitSetArray &other); - BitSetArray &operator^=(const BitSetArray &other); - - // Bitwise operators - BitSetArray operator&(const angle::BitSetArray &other) const; - BitSetArray operator|(const angle::BitSetArray &other) const; - BitSetArray operator^(const angle::BitSetArray &other) const; - - // Relational Operators - bool operator==(const angle::BitSetArray &other) const; - bool operator!=(const angle::BitSetArray &other) const; - - // Unary operators - BitSetArray operator~() const; - bool operator[](std::size_t pos) const; - Reference operator[](std::size_t pos) - { - ASSERT(pos < size()); - return Reference(*this, pos); - } - - // Setter, getters and other helper methods - BitSetArray &set(); - BitSetArray &set(std::size_t pos, bool value = true); - BitSetArray &reset(); - BitSetArray &reset(std::size_t pos); - bool test(std::size_t pos) const; - bool all() const; - bool any() const; - bool none() const; - std::size_t count() const; - bool intersects(const BitSetArray &other) const; - BitSetArray &flip(); - param_type first() const; - param_type last() const; - - value_type bits(size_t index) const; - - private: - static constexpr std::size_t kDefaultBitSetSizeMinusOne = priv::kDefaultBitSetSize - 1; - static constexpr std::size_t kShiftForDivision = - static_cast(rx::Log2(static_cast(priv::kDefaultBitSetSize))); - static constexpr std::size_t kArraySize = - ((N + kDefaultBitSetSizeMinusOne) >> kShiftForDivision); - constexpr static std::size_t kLastElementCount = (N & kDefaultBitSetSizeMinusOne); - constexpr static std::size_t kLastElementMask = priv::BaseBitSetType::Mask( - kLastElementCount == 0 ? priv::kDefaultBitSetSize : kLastElementCount); - - std::array mBaseBitSetArray; -}; - -template -BitSetArray::BitSetArray() -{ - static_assert(N > priv::kDefaultBitSetSize, "BitSetArray type can't support requested size."); - reset(); -} - -template -BitSetArray::BitSetArray(const BitSetArray &other) -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - mBaseBitSetArray[index] = other.mBaseBitSetArray[index]; - } -} - -template -BitSetArray::Iterator::Iterator(const BitSetArray &bitSetArray, std::size_t index) - : mIndex(index), - mParent(bitSetArray), - mCurrentParent(&mParent), - mCurrentIterator(mParent.mBaseBitSetArray[0].begin()) -{ - while (mIndex < mCurrentParent->kArraySize) - { - if (mCurrentParent->mBaseBitSetArray[mIndex].any()) - { - break; - } - mIndex++; - } - - if (mIndex < mCurrentParent->kArraySize) - { - mCurrentIterator = mCurrentParent->mBaseBitSetArray[mIndex].begin(); - } - else - { - mCurrentIterator = mCurrentParent->mBaseBitSetArray[mCurrentParent->kArraySize - 1].end(); - } -} - -template -typename BitSetArray::Iterator &BitSetArray::Iterator::operator++() -{ - ++mCurrentIterator; - if (mCurrentIterator == mCurrentParent->mBaseBitSetArray[mIndex].end()) - { - mIndex++; - if (mIndex < mCurrentParent->kArraySize) - { - mCurrentIterator = mCurrentParent->mBaseBitSetArray[mIndex].begin(); - } - } - return *this; -} - -template -bool BitSetArray::Iterator::operator==(const BitSetArray::Iterator &other) const -{ - return mCurrentIterator == other.mCurrentIterator; -} - -template -bool BitSetArray::Iterator::operator!=(const BitSetArray::Iterator &other) const -{ - return mCurrentIterator != other.mCurrentIterator; -} - -template -std::size_t BitSetArray::Iterator::operator*() const -{ - return (mIndex * priv::kDefaultBitSetSize) + *mCurrentIterator; -} - -template -BitSetArray &BitSetArray::operator=(const BitSetArray &other) -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - mBaseBitSetArray[index] = other.mBaseBitSetArray[index]; - } - return *this; -} - -template -BitSetArray &BitSetArray::operator&=(const BitSetArray &other) -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - mBaseBitSetArray[index] &= other.mBaseBitSetArray[index]; - } - return *this; -} - -template -BitSetArray &BitSetArray::operator|=(const BitSetArray &other) -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - mBaseBitSetArray[index] |= other.mBaseBitSetArray[index]; - } - return *this; -} - -template -BitSetArray &BitSetArray::operator^=(const BitSetArray &other) -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - mBaseBitSetArray[index] ^= other.mBaseBitSetArray[index]; - } - return *this; -} - -template -BitSetArray BitSetArray::operator&(const angle::BitSetArray &other) const -{ - angle::BitSetArray result(other); - result &= *this; - return result; -} - -template -BitSetArray BitSetArray::operator|(const angle::BitSetArray &other) const -{ - angle::BitSetArray result(other); - result |= *this; - return result; -} - -template -BitSetArray BitSetArray::operator^(const angle::BitSetArray &other) const -{ - angle::BitSetArray result(other); - result ^= *this; - return result; -} - -template -bool BitSetArray::operator==(const angle::BitSetArray &other) const -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - if (mBaseBitSetArray[index] != other.mBaseBitSetArray[index]) - { - return false; - } - } - return true; -} - -template -bool BitSetArray::operator!=(const angle::BitSetArray &other) const -{ - return !(*this == other); -} - -template -BitSetArray BitSetArray::operator~() const -{ - angle::BitSetArray result; - for (std::size_t index = 0; index < kArraySize; index++) - { - result.mBaseBitSetArray[index] |= ~mBaseBitSetArray[index]; - } - // The last element in result may need special handling - result.mBaseBitSetArray[kArraySize - 1] &= kLastElementMask; - - return result; -} - -template -bool BitSetArray::operator[](std::size_t pos) const -{ - ASSERT(pos < size()); - return test(pos); -} - -template -BitSetArray &BitSetArray::set() -{ - for (BaseBitSet &baseBitSet : mBaseBitSetArray) - { - baseBitSet.set(); - } - // The last element in mBaseBitSetArray may need special handling - mBaseBitSetArray[kArraySize - 1] &= kLastElementMask; - - return *this; -} - -template -BitSetArray &BitSetArray::set(std::size_t pos, bool value) -{ - ASSERT(pos < size()); - // Get the index and offset, then set the bit - size_t index = pos >> kShiftForDivision; - size_t offset = pos & kDefaultBitSetSizeMinusOne; - mBaseBitSetArray[index].set(offset, value); - return *this; -} - -template -BitSetArray &BitSetArray::reset() -{ - for (BaseBitSet &baseBitSet : mBaseBitSetArray) - { - baseBitSet.reset(); - } - return *this; -} - -template -BitSetArray &BitSetArray::reset(std::size_t pos) -{ - ASSERT(pos < size()); - return set(pos, false); -} - -template -bool BitSetArray::test(std::size_t pos) const -{ - ASSERT(pos < size()); - // Get the index and offset, then test the bit - size_t index = pos >> kShiftForDivision; - size_t offset = pos & kDefaultBitSetSizeMinusOne; - return mBaseBitSetArray[index].test(offset); -} - -template -bool BitSetArray::all() const -{ - static priv::BaseBitSetType kLastElementBitSet = priv::BaseBitSetType(kLastElementMask); - - for (std::size_t index = 0; index < kArraySize - 1; index++) - { - if (!mBaseBitSetArray[index].all()) - { - return false; - } - } - - // The last element in mBaseBitSetArray may need special handling - return mBaseBitSetArray[kArraySize - 1] == kLastElementBitSet; -} - -template -bool BitSetArray::any() const -{ - for (const BaseBitSet &baseBitSet : mBaseBitSetArray) - { - if (baseBitSet.any()) - { - return true; - } - } - return false; -} - -template -bool BitSetArray::none() const -{ - for (const BaseBitSet &baseBitSet : mBaseBitSetArray) - { - if (!baseBitSet.none()) - { - return false; - } - } - return true; -} - -template -std::size_t BitSetArray::count() const -{ - size_t count = 0; - for (const BaseBitSet &baseBitSet : mBaseBitSetArray) - { - count += baseBitSet.count(); - } - return count; -} - -template -bool BitSetArray::intersects(const BitSetArray &other) const -{ - for (std::size_t index = 0; index < kArraySize; index++) - { - if ((mBaseBitSetArray[index].bits() & other.mBaseBitSetArray[index].bits()) != 0) - { - return true; - } - } - return false; -} - -template -BitSetArray &BitSetArray::flip() -{ - for (BaseBitSet &baseBitSet : mBaseBitSetArray) - { - baseBitSet.flip(); - } - - // The last element in mBaseBitSetArray may need special handling - mBaseBitSetArray[kArraySize - 1] &= kLastElementMask; - return *this; -} - -template -typename BitSetArray::param_type BitSetArray::first() const -{ - ASSERT(any()); - for (size_t arrayIndex = 0; arrayIndex < kArraySize; ++arrayIndex) - { - const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex]; - if (baseBitSet.any()) - { - return baseBitSet.first() + arrayIndex * priv::kDefaultBitSetSize; - } - } - UNREACHABLE(); - return 0; -} - -template -typename BitSetArray::param_type BitSetArray::last() const -{ - ASSERT(any()); - for (size_t arrayIndex = kArraySize; arrayIndex > 0; --arrayIndex) - { - const BaseBitSet &baseBitSet = mBaseBitSetArray[arrayIndex - 1]; - if (baseBitSet.any()) - { - return baseBitSet.last() + (arrayIndex - 1) * priv::kDefaultBitSetSize; - } - } - UNREACHABLE(); - return 0; -} - -template -typename BitSetArray::value_type BitSetArray::bits(size_t index) const -{ - return mBaseBitSetArray[index].bits(); -} } // namespace angle template -inline constexpr angle::BitSetT operator&( - const angle::BitSetT &lhs, - const angle::BitSetT &rhs) +inline angle::BitSetT operator&(const angle::BitSetT &lhs, + const angle::BitSetT &rhs) { angle::BitSetT result(lhs); result &= rhs.bits(); @@ -1042,9 +563,8 @@ inline constexpr angle::BitSetT operator&( } template -inline constexpr angle::BitSetT operator|( - const angle::BitSetT &lhs, - const angle::BitSetT &rhs) +inline angle::BitSetT operator|(const angle::BitSetT &lhs, + const angle::BitSetT &rhs) { angle::BitSetT result(lhs); result |= rhs.bits(); @@ -1052,25 +572,12 @@ inline constexpr angle::BitSetT operator|( } template -inline constexpr angle::BitSetT operator^( - const angle::BitSetT &lhs, - const angle::BitSetT &rhs) +inline angle::BitSetT operator^(const angle::BitSetT &lhs, + const angle::BitSetT &rhs) { angle::BitSetT result(lhs); result ^= rhs.bits(); return result; } -template -inline bool operator==(angle::BitSetT &lhs, angle::BitSetT &rhs) -{ - return lhs.bits() == rhs.bits(); -} - -template -inline bool operator!=(angle::BitSetT &lhs, angle::BitSetT &rhs) -{ - return !(lhs == rhs); -} - #endif // COMMON_BITSETITERATOR_H_ diff --git a/gfx/angle/checkout/src/common/debug.cpp b/gfx/angle/checkout/src/common/debug.cpp index 0025048f7cda..e519d9d4fce8 100644 --- a/gfx/angle/checkout/src/common/debug.cpp +++ b/gfx/angle/checkout/src/common/debug.cpp @@ -129,7 +129,7 @@ std::mutex &GetDebugMutex() return *g_debugMutex; } -ScopedPerfEventHelper::ScopedPerfEventHelper(gl::Context *context, angle::EntryPoint entryPoint) +ScopedPerfEventHelper::ScopedPerfEventHelper(gl::Context *context, gl::EntryPoint entryPoint) : mContext(context), mEntryPoint(entryPoint), mFunctionName(nullptr) {} @@ -163,8 +163,8 @@ void ScopedPerfEventHelper::begin(const char *format, ...) LogMessage::LogMessage(const char *file, const char *function, int line, LogSeverity severity) : mFile(file), mFunction(function), mLine(line), mSeverity(severity) { - // INFO() and EVENT() do not require additional function(line) info. - if (mSeverity > LOG_INFO) + // EVENT() does not require additional function(line) info. + if (mSeverity != LOG_EVENT) { const char *slash = std::max(strrchr(mFile, '/'), strrchr(mFile, '\\')); mStream << (slash ? (slash + 1) : mFile) << ":" << mLine << " (" << mFunction << "): "; @@ -179,7 +179,7 @@ LogMessage::~LogMessage() lock = std::unique_lock(*g_debugMutex); } - if (DebugAnnotationsInitialized() && (mSeverity > LOG_INFO)) + if (DebugAnnotationsInitialized() && (mSeverity >= LOG_INFO)) { g_debugAnnotator->logMessage(*this); } @@ -279,7 +279,7 @@ void Trace(LogSeverity severity, const char *message) } #else // Note: we use fprintf because includes static initializers. - fprintf((severity >= LOG_WARN) ? stderr : stdout, "%s: %s\n", LogSeverityName(severity), + fprintf((severity >= LOG_ERR) ? stderr : stdout, "%s: %s\n", LogSeverityName(severity), str.c_str()); #endif } diff --git a/gfx/angle/checkout/src/common/debug.h b/gfx/angle/checkout/src/common/debug.h index 9095d4eb2903..e0037a4e2cb8 100644 --- a/gfx/angle/checkout/src/common/debug.h +++ b/gfx/angle/checkout/src/common/debug.h @@ -20,7 +20,6 @@ #include #include "common/angleutils.h" -#include "common/entry_points_enum_autogen.h" #include "common/platform.h" #if !defined(TRACE_OUTPUT_FILE) @@ -30,19 +29,20 @@ namespace gl { class Context; +enum class EntryPoint; // Pairs a D3D begin event with an end event. class ScopedPerfEventHelper : angle::NonCopyable { public: - ScopedPerfEventHelper(Context *context, angle::EntryPoint entryPoint); + ScopedPerfEventHelper(gl::Context *context, gl::EntryPoint entryPoint); ~ScopedPerfEventHelper(); ANGLE_FORMAT_PRINTF(2, 3) void begin(const char *format, ...); private: gl::Context *mContext; - const angle::EntryPoint mEntryPoint; + const gl::EntryPoint mEntryPoint; const char *mFunctionName; }; @@ -93,14 +93,14 @@ class DebugAnnotator : angle::NonCopyable DebugAnnotator() {} virtual ~DebugAnnotator() {} virtual void beginEvent(gl::Context *context, - angle::EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, - const char *eventMessage) = 0; + const char *eventMessage) = 0; virtual void endEvent(gl::Context *context, const char *eventName, - angle::EntryPoint entryPoint) = 0; - virtual void setMarker(const char *markerName) = 0; - virtual bool getStatus() = 0; + gl::EntryPoint entryPoint) = 0; + virtual void setMarker(const char *markerName) = 0; + virtual bool getStatus() = 0; // Log Message Handler that gets passed every log message, // when debug annotations are initialized, // replacing default handling by LogMessage. @@ -256,31 +256,26 @@ std::ostream &FmtHex(std::ostream &os, T value) // A macro to log a performance event around a scope. #if defined(ANGLE_TRACE_ENABLED) # if defined(_MSC_VER) -# define EVENT(context, entryPoint, message, ...) \ - gl::ScopedPerfEventHelper scopedPerfEventHelper##__LINE__( \ - context, angle::EntryPoint::entryPoint); \ +# define EVENT(context, entryPoint, function, message, ...) \ + gl::ScopedPerfEventHelper scopedPerfEventHelper##__LINE__(context, entryPoint); \ + do \ + { \ + if (gl::ShouldBeginScopedEvent()) \ + { \ + scopedPerfEventHelper##__LINE__.begin("%s(" message ")", function, \ + __VA_ARGS__); \ + } \ + } while (0) +# else +# define EVENT(context, entryPoint, function, message, ...) \ + gl::ScopedPerfEventHelper scopedPerfEventHelper(context, entryPoint); \ do \ { \ if (gl::ShouldBeginScopedEvent()) \ { \ - scopedPerfEventHelper##__LINE__.begin( \ - "%s(" message ")", GetEntryPointName(angle::EntryPoint::entryPoint), \ - __VA_ARGS__); \ + scopedPerfEventHelper.begin("%s(" message ")", function, ##__VA_ARGS__); \ } \ } while (0) -# else -# define EVENT(context, entryPoint, message, ...) \ - gl::ScopedPerfEventHelper scopedPerfEventHelper(context, \ - angle::EntryPoint::entryPoint); \ - do \ - { \ - if (gl::ShouldBeginScopedEvent()) \ - { \ - scopedPerfEventHelper.begin("%s(" message ")", \ - GetEntryPointName(angle::EntryPoint::entryPoint), \ - ##__VA_ARGS__); \ - } \ - } while (0) # endif // _MSC_VER #else # define EVENT(message, ...) (void(0)) @@ -450,13 +445,4 @@ std::ostream &FmtHex(std::ostream &os, T value) # define ANGLE_REENABLE_WEAK_TEMPLATE_VTABLES_WARNING #endif -#if defined(__clang__) -# define ANGLE_DISABLE_UNUSED_FUNCTION_WARNING \ - _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wunused-function\"") -# define ANGLE_REENABLE_UNUSED_FUNCTION_WARNING _Pragma("clang diagnostic pop") -#else -# define ANGLE_DISABLE_UNUSED_FUNCTION_WARNING -# define ANGLE_REENABLE_UNUSED_FUNCTION_WARNING -#endif - #endif // COMMON_DEBUG_H_ diff --git a/gfx/angle/checkout/src/common/entry_points_enum_autogen.cpp b/gfx/angle/checkout/src/common/entry_points_enum_autogen.cpp index e8c4b105700c..d5c06a95ffac 100644 --- a/gfx/angle/checkout/src/common/entry_points_enum_autogen.cpp +++ b/gfx/angle/checkout/src/common/entry_points_enum_autogen.cpp @@ -12,3359 +12,2759 @@ #include "common/debug.h" -namespace angle +namespace gl { const char *GetEntryPointName(EntryPoint ep) { switch (ep) { - case EntryPoint::CLBuildProgram: - return "clBuildProgram"; - case EntryPoint::CLCloneKernel: - return "clCloneKernel"; - case EntryPoint::CLCompileProgram: - return "clCompileProgram"; - case EntryPoint::CLCreateBuffer: - return "clCreateBuffer"; - case EntryPoint::CLCreateBufferWithProperties: - return "clCreateBufferWithProperties"; - case EntryPoint::CLCreateCommandQueue: - return "clCreateCommandQueue"; - case EntryPoint::CLCreateCommandQueueWithProperties: - return "clCreateCommandQueueWithProperties"; - case EntryPoint::CLCreateContext: - return "clCreateContext"; - case EntryPoint::CLCreateContextFromType: - return "clCreateContextFromType"; - case EntryPoint::CLCreateImage: - return "clCreateImage"; - case EntryPoint::CLCreateImage2D: - return "clCreateImage2D"; - case EntryPoint::CLCreateImage3D: - return "clCreateImage3D"; - case EntryPoint::CLCreateImageWithProperties: - return "clCreateImageWithProperties"; - case EntryPoint::CLCreateKernel: - return "clCreateKernel"; - case EntryPoint::CLCreateKernelsInProgram: - return "clCreateKernelsInProgram"; - case EntryPoint::CLCreatePipe: - return "clCreatePipe"; - case EntryPoint::CLCreateProgramWithBinary: - return "clCreateProgramWithBinary"; - case EntryPoint::CLCreateProgramWithBuiltInKernels: - return "clCreateProgramWithBuiltInKernels"; - case EntryPoint::CLCreateProgramWithIL: - return "clCreateProgramWithIL"; - case EntryPoint::CLCreateProgramWithSource: - return "clCreateProgramWithSource"; - case EntryPoint::CLCreateSampler: - return "clCreateSampler"; - case EntryPoint::CLCreateSamplerWithProperties: - return "clCreateSamplerWithProperties"; - case EntryPoint::CLCreateSubBuffer: - return "clCreateSubBuffer"; - case EntryPoint::CLCreateSubDevices: - return "clCreateSubDevices"; - case EntryPoint::CLCreateUserEvent: - return "clCreateUserEvent"; - case EntryPoint::CLEnqueueBarrier: - return "clEnqueueBarrier"; - case EntryPoint::CLEnqueueBarrierWithWaitList: - return "clEnqueueBarrierWithWaitList"; - case EntryPoint::CLEnqueueCopyBuffer: - return "clEnqueueCopyBuffer"; - case EntryPoint::CLEnqueueCopyBufferRect: - return "clEnqueueCopyBufferRect"; - case EntryPoint::CLEnqueueCopyBufferToImage: - return "clEnqueueCopyBufferToImage"; - case EntryPoint::CLEnqueueCopyImage: - return "clEnqueueCopyImage"; - case EntryPoint::CLEnqueueCopyImageToBuffer: - return "clEnqueueCopyImageToBuffer"; - case EntryPoint::CLEnqueueFillBuffer: - return "clEnqueueFillBuffer"; - case EntryPoint::CLEnqueueFillImage: - return "clEnqueueFillImage"; - case EntryPoint::CLEnqueueMapBuffer: - return "clEnqueueMapBuffer"; - case EntryPoint::CLEnqueueMapImage: - return "clEnqueueMapImage"; - case EntryPoint::CLEnqueueMarker: - return "clEnqueueMarker"; - case EntryPoint::CLEnqueueMarkerWithWaitList: - return "clEnqueueMarkerWithWaitList"; - case EntryPoint::CLEnqueueMigrateMemObjects: - return "clEnqueueMigrateMemObjects"; - case EntryPoint::CLEnqueueNDRangeKernel: - return "clEnqueueNDRangeKernel"; - case EntryPoint::CLEnqueueNativeKernel: - return "clEnqueueNativeKernel"; - case EntryPoint::CLEnqueueReadBuffer: - return "clEnqueueReadBuffer"; - case EntryPoint::CLEnqueueReadBufferRect: - return "clEnqueueReadBufferRect"; - case EntryPoint::CLEnqueueReadImage: - return "clEnqueueReadImage"; - case EntryPoint::CLEnqueueSVMFree: - return "clEnqueueSVMFree"; - case EntryPoint::CLEnqueueSVMMap: - return "clEnqueueSVMMap"; - case EntryPoint::CLEnqueueSVMMemFill: - return "clEnqueueSVMMemFill"; - case EntryPoint::CLEnqueueSVMMemcpy: - return "clEnqueueSVMMemcpy"; - case EntryPoint::CLEnqueueSVMMigrateMem: - return "clEnqueueSVMMigrateMem"; - case EntryPoint::CLEnqueueSVMUnmap: - return "clEnqueueSVMUnmap"; - case EntryPoint::CLEnqueueTask: - return "clEnqueueTask"; - case EntryPoint::CLEnqueueUnmapMemObject: - return "clEnqueueUnmapMemObject"; - case EntryPoint::CLEnqueueWaitForEvents: - return "clEnqueueWaitForEvents"; - case EntryPoint::CLEnqueueWriteBuffer: - return "clEnqueueWriteBuffer"; - case EntryPoint::CLEnqueueWriteBufferRect: - return "clEnqueueWriteBufferRect"; - case EntryPoint::CLEnqueueWriteImage: - return "clEnqueueWriteImage"; - case EntryPoint::CLFinish: - return "clFinish"; - case EntryPoint::CLFlush: - return "clFlush"; - case EntryPoint::CLGetCommandQueueInfo: - return "clGetCommandQueueInfo"; - case EntryPoint::CLGetContextInfo: - return "clGetContextInfo"; - case EntryPoint::CLGetDeviceAndHostTimer: - return "clGetDeviceAndHostTimer"; - case EntryPoint::CLGetDeviceIDs: - return "clGetDeviceIDs"; - case EntryPoint::CLGetDeviceInfo: - return "clGetDeviceInfo"; - case EntryPoint::CLGetEventInfo: - return "clGetEventInfo"; - case EntryPoint::CLGetEventProfilingInfo: - return "clGetEventProfilingInfo"; - case EntryPoint::CLGetExtensionFunctionAddress: - return "clGetExtensionFunctionAddress"; - case EntryPoint::CLGetExtensionFunctionAddressForPlatform: - return "clGetExtensionFunctionAddressForPlatform"; - case EntryPoint::CLGetHostTimer: - return "clGetHostTimer"; - case EntryPoint::CLGetImageInfo: - return "clGetImageInfo"; - case EntryPoint::CLGetKernelArgInfo: - return "clGetKernelArgInfo"; - case EntryPoint::CLGetKernelInfo: - return "clGetKernelInfo"; - case EntryPoint::CLGetKernelSubGroupInfo: - return "clGetKernelSubGroupInfo"; - case EntryPoint::CLGetKernelWorkGroupInfo: - return "clGetKernelWorkGroupInfo"; - case EntryPoint::CLGetMemObjectInfo: - return "clGetMemObjectInfo"; - case EntryPoint::CLGetPipeInfo: - return "clGetPipeInfo"; - case EntryPoint::CLGetPlatformIDs: - return "clGetPlatformIDs"; - case EntryPoint::CLGetPlatformInfo: - return "clGetPlatformInfo"; - case EntryPoint::CLGetProgramBuildInfo: - return "clGetProgramBuildInfo"; - case EntryPoint::CLGetProgramInfo: - return "clGetProgramInfo"; - case EntryPoint::CLGetSamplerInfo: - return "clGetSamplerInfo"; - case EntryPoint::CLGetSupportedImageFormats: - return "clGetSupportedImageFormats"; - case EntryPoint::CLIcdGetPlatformIDsKHR: - return "clIcdGetPlatformIDsKHR"; - case EntryPoint::CLLinkProgram: - return "clLinkProgram"; - case EntryPoint::CLReleaseCommandQueue: - return "clReleaseCommandQueue"; - case EntryPoint::CLReleaseContext: - return "clReleaseContext"; - case EntryPoint::CLReleaseDevice: - return "clReleaseDevice"; - case EntryPoint::CLReleaseEvent: - return "clReleaseEvent"; - case EntryPoint::CLReleaseKernel: - return "clReleaseKernel"; - case EntryPoint::CLReleaseMemObject: - return "clReleaseMemObject"; - case EntryPoint::CLReleaseProgram: - return "clReleaseProgram"; - case EntryPoint::CLReleaseSampler: - return "clReleaseSampler"; - case EntryPoint::CLRetainCommandQueue: - return "clRetainCommandQueue"; - case EntryPoint::CLRetainContext: - return "clRetainContext"; - case EntryPoint::CLRetainDevice: - return "clRetainDevice"; - case EntryPoint::CLRetainEvent: - return "clRetainEvent"; - case EntryPoint::CLRetainKernel: - return "clRetainKernel"; - case EntryPoint::CLRetainMemObject: - return "clRetainMemObject"; - case EntryPoint::CLRetainProgram: - return "clRetainProgram"; - case EntryPoint::CLRetainSampler: - return "clRetainSampler"; - case EntryPoint::CLSVMAlloc: - return "clSVMAlloc"; - case EntryPoint::CLSVMFree: - return "clSVMFree"; - case EntryPoint::CLSetCommandQueueProperty: - return "clSetCommandQueueProperty"; - case EntryPoint::CLSetContextDestructorCallback: - return "clSetContextDestructorCallback"; - case EntryPoint::CLSetDefaultDeviceCommandQueue: - return "clSetDefaultDeviceCommandQueue"; - case EntryPoint::CLSetEventCallback: - return "clSetEventCallback"; - case EntryPoint::CLSetKernelArg: - return "clSetKernelArg"; - case EntryPoint::CLSetKernelArgSVMPointer: - return "clSetKernelArgSVMPointer"; - case EntryPoint::CLSetKernelExecInfo: - return "clSetKernelExecInfo"; - case EntryPoint::CLSetMemObjectDestructorCallback: - return "clSetMemObjectDestructorCallback"; - case EntryPoint::CLSetProgramReleaseCallback: - return "clSetProgramReleaseCallback"; - case EntryPoint::CLSetProgramSpecializationConstant: - return "clSetProgramSpecializationConstant"; - case EntryPoint::CLSetUserEventStatus: - return "clSetUserEventStatus"; - case EntryPoint::CLUnloadCompiler: - return "clUnloadCompiler"; - case EntryPoint::CLUnloadPlatformCompiler: - return "clUnloadPlatformCompiler"; - case EntryPoint::CLWaitForEvents: - return "clWaitForEvents"; - case EntryPoint::EGLBindAPI: - return "eglBindAPI"; - case EntryPoint::EGLBindTexImage: - return "eglBindTexImage"; - case EntryPoint::EGLChooseConfig: - return "eglChooseConfig"; - case EntryPoint::EGLClientWaitSync: - return "eglClientWaitSync"; - case EntryPoint::EGLClientWaitSyncKHR: - return "eglClientWaitSyncKHR"; - case EntryPoint::EGLCopyBuffers: - return "eglCopyBuffers"; - case EntryPoint::EGLCreateContext: - return "eglCreateContext"; - case EntryPoint::EGLCreateDeviceANGLE: - return "eglCreateDeviceANGLE"; - case EntryPoint::EGLCreateImage: - return "eglCreateImage"; - case EntryPoint::EGLCreateImageKHR: - return "eglCreateImageKHR"; - case EntryPoint::EGLCreateNativeClientBufferANDROID: - return "eglCreateNativeClientBufferANDROID"; - case EntryPoint::EGLCreatePbufferFromClientBuffer: - return "eglCreatePbufferFromClientBuffer"; - case EntryPoint::EGLCreatePbufferSurface: - return "eglCreatePbufferSurface"; - case EntryPoint::EGLCreatePixmapSurface: - return "eglCreatePixmapSurface"; - case EntryPoint::EGLCreatePlatformPixmapSurface: - return "eglCreatePlatformPixmapSurface"; - case EntryPoint::EGLCreatePlatformPixmapSurfaceEXT: - return "eglCreatePlatformPixmapSurfaceEXT"; - case EntryPoint::EGLCreatePlatformWindowSurface: - return "eglCreatePlatformWindowSurface"; - case EntryPoint::EGLCreatePlatformWindowSurfaceEXT: - return "eglCreatePlatformWindowSurfaceEXT"; - case EntryPoint::EGLCreateStreamKHR: - return "eglCreateStreamKHR"; - case EntryPoint::EGLCreateStreamProducerD3DTextureANGLE: - return "eglCreateStreamProducerD3DTextureANGLE"; - case EntryPoint::EGLCreateSync: - return "eglCreateSync"; - case EntryPoint::EGLCreateSyncKHR: - return "eglCreateSyncKHR"; - case EntryPoint::EGLCreateWindowSurface: - return "eglCreateWindowSurface"; - case EntryPoint::EGLDebugMessageControlKHR: - return "eglDebugMessageControlKHR"; - case EntryPoint::EGLDestroyContext: - return "eglDestroyContext"; - case EntryPoint::EGLDestroyImage: - return "eglDestroyImage"; - case EntryPoint::EGLDestroyImageKHR: - return "eglDestroyImageKHR"; - case EntryPoint::EGLDestroyStreamKHR: - return "eglDestroyStreamKHR"; - case EntryPoint::EGLDestroySurface: - return "eglDestroySurface"; - case EntryPoint::EGLDestroySync: - return "eglDestroySync"; - case EntryPoint::EGLDestroySyncKHR: - return "eglDestroySyncKHR"; - case EntryPoint::EGLDupNativeFenceFDANDROID: - return "eglDupNativeFenceFDANDROID"; - case EntryPoint::EGLGetCompositorTimingANDROID: - return "eglGetCompositorTimingANDROID"; - case EntryPoint::EGLGetCompositorTimingSupportedANDROID: - return "eglGetCompositorTimingSupportedANDROID"; - case EntryPoint::EGLGetConfigAttrib: - return "eglGetConfigAttrib"; - case EntryPoint::EGLGetConfigs: - return "eglGetConfigs"; - case EntryPoint::EGLGetCurrentContext: - return "eglGetCurrentContext"; - case EntryPoint::EGLGetCurrentDisplay: - return "eglGetCurrentDisplay"; - case EntryPoint::EGLGetCurrentSurface: - return "eglGetCurrentSurface"; - case EntryPoint::EGLGetDisplay: - return "eglGetDisplay"; - case EntryPoint::EGLGetError: - return "eglGetError"; - case EntryPoint::EGLGetFrameTimestampSupportedANDROID: - return "eglGetFrameTimestampSupportedANDROID"; - case EntryPoint::EGLGetFrameTimestampsANDROID: - return "eglGetFrameTimestampsANDROID"; - case EntryPoint::EGLGetMscRateANGLE: - return "eglGetMscRateANGLE"; - case EntryPoint::EGLGetNativeClientBufferANDROID: - return "eglGetNativeClientBufferANDROID"; - case EntryPoint::EGLGetNextFrameIdANDROID: - return "eglGetNextFrameIdANDROID"; - case EntryPoint::EGLGetPlatformDisplay: - return "eglGetPlatformDisplay"; - case EntryPoint::EGLGetPlatformDisplayEXT: - return "eglGetPlatformDisplayEXT"; - case EntryPoint::EGLGetProcAddress: - return "eglGetProcAddress"; - case EntryPoint::EGLGetSyncAttrib: - return "eglGetSyncAttrib"; - case EntryPoint::EGLGetSyncAttribKHR: - return "eglGetSyncAttribKHR"; - case EntryPoint::EGLGetSyncValuesCHROMIUM: - return "eglGetSyncValuesCHROMIUM"; - case EntryPoint::EGLHandleGPUSwitchANGLE: - return "eglHandleGPUSwitchANGLE"; - case EntryPoint::EGLInitialize: - return "eglInitialize"; - case EntryPoint::EGLLabelObjectKHR: - return "eglLabelObjectKHR"; - case EntryPoint::EGLMakeCurrent: - return "eglMakeCurrent"; - case EntryPoint::EGLPostSubBufferNV: - return "eglPostSubBufferNV"; - case EntryPoint::EGLPresentationTimeANDROID: - return "eglPresentationTimeANDROID"; - case EntryPoint::EGLProgramCacheGetAttribANGLE: - return "eglProgramCacheGetAttribANGLE"; - case EntryPoint::EGLProgramCachePopulateANGLE: - return "eglProgramCachePopulateANGLE"; - case EntryPoint::EGLProgramCacheQueryANGLE: - return "eglProgramCacheQueryANGLE"; - case EntryPoint::EGLProgramCacheResizeANGLE: - return "eglProgramCacheResizeANGLE"; - case EntryPoint::EGLQueryAPI: - return "eglQueryAPI"; - case EntryPoint::EGLQueryContext: - return "eglQueryContext"; - case EntryPoint::EGLQueryDebugKHR: - return "eglQueryDebugKHR"; - case EntryPoint::EGLQueryDeviceAttribEXT: - return "eglQueryDeviceAttribEXT"; - case EntryPoint::EGLQueryDeviceStringEXT: - return "eglQueryDeviceStringEXT"; - case EntryPoint::EGLQueryDisplayAttribANGLE: - return "eglQueryDisplayAttribANGLE"; - case EntryPoint::EGLQueryDisplayAttribEXT: - return "eglQueryDisplayAttribEXT"; - case EntryPoint::EGLQueryStreamKHR: - return "eglQueryStreamKHR"; - case EntryPoint::EGLQueryStreamu64KHR: - return "eglQueryStreamu64KHR"; - case EntryPoint::EGLQueryString: - return "eglQueryString"; - case EntryPoint::EGLQueryStringiANGLE: - return "eglQueryStringiANGLE"; - case EntryPoint::EGLQuerySurface: - return "eglQuerySurface"; - case EntryPoint::EGLQuerySurfacePointerANGLE: - return "eglQuerySurfacePointerANGLE"; - case EntryPoint::EGLReacquireHighPowerGPUANGLE: - return "eglReacquireHighPowerGPUANGLE"; - case EntryPoint::EGLReleaseDeviceANGLE: - return "eglReleaseDeviceANGLE"; - case EntryPoint::EGLReleaseHighPowerGPUANGLE: - return "eglReleaseHighPowerGPUANGLE"; - case EntryPoint::EGLReleaseTexImage: - return "eglReleaseTexImage"; - case EntryPoint::EGLReleaseThread: - return "eglReleaseThread"; - case EntryPoint::EGLSetBlobCacheFuncsANDROID: - return "eglSetBlobCacheFuncsANDROID"; - case EntryPoint::EGLSignalSyncKHR: - return "eglSignalSyncKHR"; - case EntryPoint::EGLStreamAttribKHR: - return "eglStreamAttribKHR"; - case EntryPoint::EGLStreamConsumerAcquireKHR: - return "eglStreamConsumerAcquireKHR"; - case EntryPoint::EGLStreamConsumerGLTextureExternalAttribsNV: - return "eglStreamConsumerGLTextureExternalAttribsNV"; - case EntryPoint::EGLStreamConsumerGLTextureExternalKHR: - return "eglStreamConsumerGLTextureExternalKHR"; - case EntryPoint::EGLStreamConsumerReleaseKHR: - return "eglStreamConsumerReleaseKHR"; - case EntryPoint::EGLStreamPostD3DTextureANGLE: - return "eglStreamPostD3DTextureANGLE"; - case EntryPoint::EGLSurfaceAttrib: - return "eglSurfaceAttrib"; - case EntryPoint::EGLSwapBuffers: - return "eglSwapBuffers"; - case EntryPoint::EGLSwapBuffersWithDamageKHR: - return "eglSwapBuffersWithDamageKHR"; - case EntryPoint::EGLSwapBuffersWithFrameTokenANGLE: - return "eglSwapBuffersWithFrameTokenANGLE"; - case EntryPoint::EGLSwapInterval: - return "eglSwapInterval"; - case EntryPoint::EGLTerminate: - return "eglTerminate"; - case EntryPoint::EGLWaitClient: - return "eglWaitClient"; - case EntryPoint::EGLWaitGL: - return "eglWaitGL"; - case EntryPoint::EGLWaitNative: - return "eglWaitNative"; - case EntryPoint::EGLWaitSync: - return "eglWaitSync"; - case EntryPoint::EGLWaitSyncKHR: - return "eglWaitSyncKHR"; - case EntryPoint::GLAccum: + case EntryPoint::Accum: return "glAccum"; - case EntryPoint::GLActiveShaderProgram: + case EntryPoint::ActiveShaderProgram: return "glActiveShaderProgram"; - case EntryPoint::GLActiveShaderProgramEXT: - return "glActiveShaderProgramEXT"; - case EntryPoint::GLActiveTexture: + case EntryPoint::ActiveTexture: return "glActiveTexture"; - case EntryPoint::GLAlphaFunc: + case EntryPoint::AlphaFunc: return "glAlphaFunc"; - case EntryPoint::GLAlphaFuncx: + case EntryPoint::AlphaFuncx: return "glAlphaFuncx"; - case EntryPoint::GLAreTexturesResident: + case EntryPoint::AreTexturesResident: return "glAreTexturesResident"; - case EntryPoint::GLArrayElement: + case EntryPoint::ArrayElement: return "glArrayElement"; - case EntryPoint::GLAttachShader: + case EntryPoint::AttachShader: return "glAttachShader"; - case EntryPoint::GLBegin: + case EntryPoint::Begin: return "glBegin"; - case EntryPoint::GLBeginConditionalRender: + case EntryPoint::BeginConditionalRender: return "glBeginConditionalRender"; - case EntryPoint::GLBeginQuery: + case EntryPoint::BeginQuery: return "glBeginQuery"; - case EntryPoint::GLBeginQueryEXT: + case EntryPoint::BeginQueryEXT: return "glBeginQueryEXT"; - case EntryPoint::GLBeginQueryIndexed: + case EntryPoint::BeginQueryIndexed: return "glBeginQueryIndexed"; - case EntryPoint::GLBeginTransformFeedback: + case EntryPoint::BeginTransformFeedback: return "glBeginTransformFeedback"; - case EntryPoint::GLBindAttribLocation: + case EntryPoint::BindAttribLocation: return "glBindAttribLocation"; - case EntryPoint::GLBindBuffer: + case EntryPoint::BindBuffer: return "glBindBuffer"; - case EntryPoint::GLBindBufferBase: + case EntryPoint::BindBufferBase: return "glBindBufferBase"; - case EntryPoint::GLBindBufferRange: + case EntryPoint::BindBufferRange: return "glBindBufferRange"; - case EntryPoint::GLBindBuffersBase: + case EntryPoint::BindBuffersBase: return "glBindBuffersBase"; - case EntryPoint::GLBindBuffersRange: + case EntryPoint::BindBuffersRange: return "glBindBuffersRange"; - case EntryPoint::GLBindFragDataLocation: + case EntryPoint::BindFragDataLocation: return "glBindFragDataLocation"; - case EntryPoint::GLBindFragDataLocationEXT: + case EntryPoint::BindFragDataLocationEXT: return "glBindFragDataLocationEXT"; - case EntryPoint::GLBindFragDataLocationIndexed: + case EntryPoint::BindFragDataLocationIndexed: return "glBindFragDataLocationIndexed"; - case EntryPoint::GLBindFragDataLocationIndexedEXT: + case EntryPoint::BindFragDataLocationIndexedEXT: return "glBindFragDataLocationIndexedEXT"; - case EntryPoint::GLBindFramebuffer: + case EntryPoint::BindFramebuffer: return "glBindFramebuffer"; - case EntryPoint::GLBindFramebufferOES: + case EntryPoint::BindFramebufferOES: return "glBindFramebufferOES"; - case EntryPoint::GLBindImageTexture: + case EntryPoint::BindImageTexture: return "glBindImageTexture"; - case EntryPoint::GLBindImageTextures: + case EntryPoint::BindImageTextures: return "glBindImageTextures"; - case EntryPoint::GLBindProgramPipeline: + case EntryPoint::BindProgramPipeline: return "glBindProgramPipeline"; - case EntryPoint::GLBindProgramPipelineEXT: - return "glBindProgramPipelineEXT"; - case EntryPoint::GLBindRenderbuffer: + case EntryPoint::BindRenderbuffer: return "glBindRenderbuffer"; - case EntryPoint::GLBindRenderbufferOES: + case EntryPoint::BindRenderbufferOES: return "glBindRenderbufferOES"; - case EntryPoint::GLBindSampler: + case EntryPoint::BindSampler: return "glBindSampler"; - case EntryPoint::GLBindSamplers: + case EntryPoint::BindSamplers: return "glBindSamplers"; - case EntryPoint::GLBindTexture: + case EntryPoint::BindTexture: return "glBindTexture"; - case EntryPoint::GLBindTextureUnit: + case EntryPoint::BindTextureUnit: return "glBindTextureUnit"; - case EntryPoint::GLBindTextures: + case EntryPoint::BindTextures: return "glBindTextures"; - case EntryPoint::GLBindTransformFeedback: + case EntryPoint::BindTransformFeedback: return "glBindTransformFeedback"; - case EntryPoint::GLBindUniformLocationCHROMIUM: + case EntryPoint::BindUniformLocationCHROMIUM: return "glBindUniformLocationCHROMIUM"; - case EntryPoint::GLBindVertexArray: + case EntryPoint::BindVertexArray: return "glBindVertexArray"; - case EntryPoint::GLBindVertexArrayOES: + case EntryPoint::BindVertexArrayOES: return "glBindVertexArrayOES"; - case EntryPoint::GLBindVertexBuffer: + case EntryPoint::BindVertexBuffer: return "glBindVertexBuffer"; - case EntryPoint::GLBindVertexBuffers: + case EntryPoint::BindVertexBuffers: return "glBindVertexBuffers"; - case EntryPoint::GLBitmap: + case EntryPoint::Bitmap: return "glBitmap"; - case EntryPoint::GLBlendBarrier: + case EntryPoint::BlendBarrier: return "glBlendBarrier"; - case EntryPoint::GLBlendBarrierKHR: - return "glBlendBarrierKHR"; - case EntryPoint::GLBlendColor: + case EntryPoint::BlendColor: return "glBlendColor"; - case EntryPoint::GLBlendEquation: + case EntryPoint::BlendEquation: return "glBlendEquation"; - case EntryPoint::GLBlendEquationSeparate: + case EntryPoint::BlendEquationSeparate: return "glBlendEquationSeparate"; - case EntryPoint::GLBlendEquationSeparatei: + case EntryPoint::BlendEquationSeparatei: return "glBlendEquationSeparatei"; - case EntryPoint::GLBlendEquationSeparateiEXT: + case EntryPoint::BlendEquationSeparateiEXT: return "glBlendEquationSeparateiEXT"; - case EntryPoint::GLBlendEquationSeparateiOES: + case EntryPoint::BlendEquationSeparateiOES: return "glBlendEquationSeparateiOES"; - case EntryPoint::GLBlendEquationi: + case EntryPoint::BlendEquationi: return "glBlendEquationi"; - case EntryPoint::GLBlendEquationiEXT: + case EntryPoint::BlendEquationiEXT: return "glBlendEquationiEXT"; - case EntryPoint::GLBlendEquationiOES: + case EntryPoint::BlendEquationiOES: return "glBlendEquationiOES"; - case EntryPoint::GLBlendFunc: + case EntryPoint::BlendFunc: return "glBlendFunc"; - case EntryPoint::GLBlendFuncSeparate: + case EntryPoint::BlendFuncSeparate: return "glBlendFuncSeparate"; - case EntryPoint::GLBlendFuncSeparatei: + case EntryPoint::BlendFuncSeparatei: return "glBlendFuncSeparatei"; - case EntryPoint::GLBlendFuncSeparateiEXT: + case EntryPoint::BlendFuncSeparateiEXT: return "glBlendFuncSeparateiEXT"; - case EntryPoint::GLBlendFuncSeparateiOES: + case EntryPoint::BlendFuncSeparateiOES: return "glBlendFuncSeparateiOES"; - case EntryPoint::GLBlendFunci: + case EntryPoint::BlendFunci: return "glBlendFunci"; - case EntryPoint::GLBlendFunciEXT: + case EntryPoint::BlendFunciEXT: return "glBlendFunciEXT"; - case EntryPoint::GLBlendFunciOES: + case EntryPoint::BlendFunciOES: return "glBlendFunciOES"; - case EntryPoint::GLBlitFramebuffer: + case EntryPoint::BlitFramebuffer: return "glBlitFramebuffer"; - case EntryPoint::GLBlitFramebufferANGLE: + case EntryPoint::BlitFramebufferANGLE: return "glBlitFramebufferANGLE"; - case EntryPoint::GLBlitFramebufferNV: - return "glBlitFramebufferNV"; - case EntryPoint::GLBlitNamedFramebuffer: + case EntryPoint::BlitNamedFramebuffer: return "glBlitNamedFramebuffer"; - case EntryPoint::GLBufferData: + case EntryPoint::BufferData: return "glBufferData"; - case EntryPoint::GLBufferStorage: + case EntryPoint::BufferStorage: return "glBufferStorage"; - case EntryPoint::GLBufferStorageEXT: + case EntryPoint::BufferStorageEXT: return "glBufferStorageEXT"; - case EntryPoint::GLBufferStorageExternalEXT: + case EntryPoint::BufferStorageExternalEXT: return "glBufferStorageExternalEXT"; - case EntryPoint::GLBufferStorageMemEXT: + case EntryPoint::BufferStorageMemEXT: return "glBufferStorageMemEXT"; - case EntryPoint::GLBufferSubData: + case EntryPoint::BufferSubData: return "glBufferSubData"; - case EntryPoint::GLCallList: + case EntryPoint::CallList: return "glCallList"; - case EntryPoint::GLCallLists: + case EntryPoint::CallLists: return "glCallLists"; - case EntryPoint::GLCheckFramebufferStatus: + case EntryPoint::CheckFramebufferStatus: return "glCheckFramebufferStatus"; - case EntryPoint::GLCheckFramebufferStatusOES: + case EntryPoint::CheckFramebufferStatusOES: return "glCheckFramebufferStatusOES"; - case EntryPoint::GLCheckNamedFramebufferStatus: + case EntryPoint::CheckNamedFramebufferStatus: return "glCheckNamedFramebufferStatus"; - case EntryPoint::GLClampColor: + case EntryPoint::ClampColor: return "glClampColor"; - case EntryPoint::GLClear: + case EntryPoint::Clear: return "glClear"; - case EntryPoint::GLClearAccum: + case EntryPoint::ClearAccum: return "glClearAccum"; - case EntryPoint::GLClearBufferData: + case EntryPoint::ClearBufferData: return "glClearBufferData"; - case EntryPoint::GLClearBufferSubData: + case EntryPoint::ClearBufferSubData: return "glClearBufferSubData"; - case EntryPoint::GLClearBufferfi: + case EntryPoint::ClearBufferfi: return "glClearBufferfi"; - case EntryPoint::GLClearBufferfv: + case EntryPoint::ClearBufferfv: return "glClearBufferfv"; - case EntryPoint::GLClearBufferiv: + case EntryPoint::ClearBufferiv: return "glClearBufferiv"; - case EntryPoint::GLClearBufferuiv: + case EntryPoint::ClearBufferuiv: return "glClearBufferuiv"; - case EntryPoint::GLClearColor: + case EntryPoint::ClearColor: return "glClearColor"; - case EntryPoint::GLClearColorx: + case EntryPoint::ClearColorx: return "glClearColorx"; - case EntryPoint::GLClearDepth: + case EntryPoint::ClearDepth: return "glClearDepth"; - case EntryPoint::GLClearDepthf: + case EntryPoint::ClearDepthf: return "glClearDepthf"; - case EntryPoint::GLClearDepthx: + case EntryPoint::ClearDepthx: return "glClearDepthx"; - case EntryPoint::GLClearIndex: + case EntryPoint::ClearIndex: return "glClearIndex"; - case EntryPoint::GLClearNamedBufferData: + case EntryPoint::ClearNamedBufferData: return "glClearNamedBufferData"; - case EntryPoint::GLClearNamedBufferSubData: + case EntryPoint::ClearNamedBufferSubData: return "glClearNamedBufferSubData"; - case EntryPoint::GLClearNamedFramebufferfi: + case EntryPoint::ClearNamedFramebufferfi: return "glClearNamedFramebufferfi"; - case EntryPoint::GLClearNamedFramebufferfv: + case EntryPoint::ClearNamedFramebufferfv: return "glClearNamedFramebufferfv"; - case EntryPoint::GLClearNamedFramebufferiv: + case EntryPoint::ClearNamedFramebufferiv: return "glClearNamedFramebufferiv"; - case EntryPoint::GLClearNamedFramebufferuiv: + case EntryPoint::ClearNamedFramebufferuiv: return "glClearNamedFramebufferuiv"; - case EntryPoint::GLClearStencil: + case EntryPoint::ClearStencil: return "glClearStencil"; - case EntryPoint::GLClearTexImage: + case EntryPoint::ClearTexImage: return "glClearTexImage"; - case EntryPoint::GLClearTexSubImage: + case EntryPoint::ClearTexSubImage: return "glClearTexSubImage"; - case EntryPoint::GLClientActiveTexture: + case EntryPoint::ClientActiveTexture: return "glClientActiveTexture"; - case EntryPoint::GLClientWaitSync: + case EntryPoint::ClientWaitSync: return "glClientWaitSync"; - case EntryPoint::GLClipControl: + case EntryPoint::ClipControl: return "glClipControl"; - case EntryPoint::GLClipControlEXT: - return "glClipControlEXT"; - case EntryPoint::GLClipPlane: + case EntryPoint::ClipPlane: return "glClipPlane"; - case EntryPoint::GLClipPlanef: + case EntryPoint::ClipPlanef: return "glClipPlanef"; - case EntryPoint::GLClipPlanex: + case EntryPoint::ClipPlanex: return "glClipPlanex"; - case EntryPoint::GLColor3b: + case EntryPoint::Color3b: return "glColor3b"; - case EntryPoint::GLColor3bv: + case EntryPoint::Color3bv: return "glColor3bv"; - case EntryPoint::GLColor3d: + case EntryPoint::Color3d: return "glColor3d"; - case EntryPoint::GLColor3dv: + case EntryPoint::Color3dv: return "glColor3dv"; - case EntryPoint::GLColor3f: + case EntryPoint::Color3f: return "glColor3f"; - case EntryPoint::GLColor3fv: + case EntryPoint::Color3fv: return "glColor3fv"; - case EntryPoint::GLColor3i: + case EntryPoint::Color3i: return "glColor3i"; - case EntryPoint::GLColor3iv: + case EntryPoint::Color3iv: return "glColor3iv"; - case EntryPoint::GLColor3s: + case EntryPoint::Color3s: return "glColor3s"; - case EntryPoint::GLColor3sv: + case EntryPoint::Color3sv: return "glColor3sv"; - case EntryPoint::GLColor3ub: + case EntryPoint::Color3ub: return "glColor3ub"; - case EntryPoint::GLColor3ubv: + case EntryPoint::Color3ubv: return "glColor3ubv"; - case EntryPoint::GLColor3ui: + case EntryPoint::Color3ui: return "glColor3ui"; - case EntryPoint::GLColor3uiv: + case EntryPoint::Color3uiv: return "glColor3uiv"; - case EntryPoint::GLColor3us: + case EntryPoint::Color3us: return "glColor3us"; - case EntryPoint::GLColor3usv: + case EntryPoint::Color3usv: return "glColor3usv"; - case EntryPoint::GLColor4b: + case EntryPoint::Color4b: return "glColor4b"; - case EntryPoint::GLColor4bv: + case EntryPoint::Color4bv: return "glColor4bv"; - case EntryPoint::GLColor4d: + case EntryPoint::Color4d: return "glColor4d"; - case EntryPoint::GLColor4dv: + case EntryPoint::Color4dv: return "glColor4dv"; - case EntryPoint::GLColor4f: + case EntryPoint::Color4f: return "glColor4f"; - case EntryPoint::GLColor4fv: + case EntryPoint::Color4fv: return "glColor4fv"; - case EntryPoint::GLColor4i: + case EntryPoint::Color4i: return "glColor4i"; - case EntryPoint::GLColor4iv: + case EntryPoint::Color4iv: return "glColor4iv"; - case EntryPoint::GLColor4s: + case EntryPoint::Color4s: return "glColor4s"; - case EntryPoint::GLColor4sv: + case EntryPoint::Color4sv: return "glColor4sv"; - case EntryPoint::GLColor4ub: + case EntryPoint::Color4ub: return "glColor4ub"; - case EntryPoint::GLColor4ubv: + case EntryPoint::Color4ubv: return "glColor4ubv"; - case EntryPoint::GLColor4ui: + case EntryPoint::Color4ui: return "glColor4ui"; - case EntryPoint::GLColor4uiv: + case EntryPoint::Color4uiv: return "glColor4uiv"; - case EntryPoint::GLColor4us: + case EntryPoint::Color4us: return "glColor4us"; - case EntryPoint::GLColor4usv: + case EntryPoint::Color4usv: return "glColor4usv"; - case EntryPoint::GLColor4x: + case EntryPoint::Color4x: return "glColor4x"; - case EntryPoint::GLColorMask: + case EntryPoint::ColorMask: return "glColorMask"; - case EntryPoint::GLColorMaski: + case EntryPoint::ColorMaski: return "glColorMaski"; - case EntryPoint::GLColorMaskiEXT: + case EntryPoint::ColorMaskiEXT: return "glColorMaskiEXT"; - case EntryPoint::GLColorMaskiOES: + case EntryPoint::ColorMaskiOES: return "glColorMaskiOES"; - case EntryPoint::GLColorMaterial: + case EntryPoint::ColorMaterial: return "glColorMaterial"; - case EntryPoint::GLColorP3ui: + case EntryPoint::ColorP3ui: return "glColorP3ui"; - case EntryPoint::GLColorP3uiv: + case EntryPoint::ColorP3uiv: return "glColorP3uiv"; - case EntryPoint::GLColorP4ui: + case EntryPoint::ColorP4ui: return "glColorP4ui"; - case EntryPoint::GLColorP4uiv: + case EntryPoint::ColorP4uiv: return "glColorP4uiv"; - case EntryPoint::GLColorPointer: + case EntryPoint::ColorPointer: return "glColorPointer"; - case EntryPoint::GLCompileShader: + case EntryPoint::CompileShader: return "glCompileShader"; - case EntryPoint::GLCompressedCopyTextureCHROMIUM: + case EntryPoint::CompressedCopyTextureCHROMIUM: return "glCompressedCopyTextureCHROMIUM"; - case EntryPoint::GLCompressedTexImage1D: + case EntryPoint::CompressedTexImage1D: return "glCompressedTexImage1D"; - case EntryPoint::GLCompressedTexImage2D: + case EntryPoint::CompressedTexImage2D: return "glCompressedTexImage2D"; - case EntryPoint::GLCompressedTexImage2DRobustANGLE: + case EntryPoint::CompressedTexImage2DRobustANGLE: return "glCompressedTexImage2DRobustANGLE"; - case EntryPoint::GLCompressedTexImage3D: + case EntryPoint::CompressedTexImage3D: return "glCompressedTexImage3D"; - case EntryPoint::GLCompressedTexImage3DOES: + case EntryPoint::CompressedTexImage3DOES: return "glCompressedTexImage3DOES"; - case EntryPoint::GLCompressedTexImage3DRobustANGLE: + case EntryPoint::CompressedTexImage3DRobustANGLE: return "glCompressedTexImage3DRobustANGLE"; - case EntryPoint::GLCompressedTexSubImage1D: + case EntryPoint::CompressedTexSubImage1D: return "glCompressedTexSubImage1D"; - case EntryPoint::GLCompressedTexSubImage2D: + case EntryPoint::CompressedTexSubImage2D: return "glCompressedTexSubImage2D"; - case EntryPoint::GLCompressedTexSubImage2DRobustANGLE: + case EntryPoint::CompressedTexSubImage2DRobustANGLE: return "glCompressedTexSubImage2DRobustANGLE"; - case EntryPoint::GLCompressedTexSubImage3D: + case EntryPoint::CompressedTexSubImage3D: return "glCompressedTexSubImage3D"; - case EntryPoint::GLCompressedTexSubImage3DOES: + case EntryPoint::CompressedTexSubImage3DOES: return "glCompressedTexSubImage3DOES"; - case EntryPoint::GLCompressedTexSubImage3DRobustANGLE: + case EntryPoint::CompressedTexSubImage3DRobustANGLE: return "glCompressedTexSubImage3DRobustANGLE"; - case EntryPoint::GLCompressedTextureSubImage1D: + case EntryPoint::CompressedTextureSubImage1D: return "glCompressedTextureSubImage1D"; - case EntryPoint::GLCompressedTextureSubImage2D: + case EntryPoint::CompressedTextureSubImage2D: return "glCompressedTextureSubImage2D"; - case EntryPoint::GLCompressedTextureSubImage3D: + case EntryPoint::CompressedTextureSubImage3D: return "glCompressedTextureSubImage3D"; - case EntryPoint::GLCopyBufferSubData: + case EntryPoint::CopyBufferSubData: return "glCopyBufferSubData"; - case EntryPoint::GLCopyImageSubData: + case EntryPoint::CopyImageSubData: return "glCopyImageSubData"; - case EntryPoint::GLCopyImageSubDataEXT: + case EntryPoint::CopyImageSubDataEXT: return "glCopyImageSubDataEXT"; - case EntryPoint::GLCopyImageSubDataOES: + case EntryPoint::CopyImageSubDataOES: return "glCopyImageSubDataOES"; - case EntryPoint::GLCopyNamedBufferSubData: + case EntryPoint::CopyNamedBufferSubData: return "glCopyNamedBufferSubData"; - case EntryPoint::GLCopyPixels: + case EntryPoint::CopyPixels: return "glCopyPixels"; - case EntryPoint::GLCopySubTexture3DANGLE: + case EntryPoint::CopySubTexture3DANGLE: return "glCopySubTexture3DANGLE"; - case EntryPoint::GLCopySubTextureCHROMIUM: + case EntryPoint::CopySubTextureCHROMIUM: return "glCopySubTextureCHROMIUM"; - case EntryPoint::GLCopyTexImage1D: + case EntryPoint::CopyTexImage1D: return "glCopyTexImage1D"; - case EntryPoint::GLCopyTexImage2D: + case EntryPoint::CopyTexImage2D: return "glCopyTexImage2D"; - case EntryPoint::GLCopyTexSubImage1D: + case EntryPoint::CopyTexSubImage1D: return "glCopyTexSubImage1D"; - case EntryPoint::GLCopyTexSubImage2D: + case EntryPoint::CopyTexSubImage2D: return "glCopyTexSubImage2D"; - case EntryPoint::GLCopyTexSubImage3D: + case EntryPoint::CopyTexSubImage3D: return "glCopyTexSubImage3D"; - case EntryPoint::GLCopyTexSubImage3DOES: + case EntryPoint::CopyTexSubImage3DOES: return "glCopyTexSubImage3DOES"; - case EntryPoint::GLCopyTexture3DANGLE: + case EntryPoint::CopyTexture3DANGLE: return "glCopyTexture3DANGLE"; - case EntryPoint::GLCopyTextureCHROMIUM: + case EntryPoint::CopyTextureCHROMIUM: return "glCopyTextureCHROMIUM"; - case EntryPoint::GLCopyTextureSubImage1D: + case EntryPoint::CopyTextureSubImage1D: return "glCopyTextureSubImage1D"; - case EntryPoint::GLCopyTextureSubImage2D: + case EntryPoint::CopyTextureSubImage2D: return "glCopyTextureSubImage2D"; - case EntryPoint::GLCopyTextureSubImage3D: + case EntryPoint::CopyTextureSubImage3D: return "glCopyTextureSubImage3D"; - case EntryPoint::GLCoverageModulationCHROMIUM: + case EntryPoint::CoverageModulationCHROMIUM: return "glCoverageModulationCHROMIUM"; - case EntryPoint::GLCreateBuffers: + case EntryPoint::CreateBuffers: return "glCreateBuffers"; - case EntryPoint::GLCreateFramebuffers: + case EntryPoint::CreateFramebuffers: return "glCreateFramebuffers"; - case EntryPoint::GLCreateMemoryObjectsEXT: + case EntryPoint::CreateMemoryObjectsEXT: return "glCreateMemoryObjectsEXT"; - case EntryPoint::GLCreateProgram: + case EntryPoint::CreateProgram: return "glCreateProgram"; - case EntryPoint::GLCreateProgramPipelines: + case EntryPoint::CreateProgramPipelines: return "glCreateProgramPipelines"; - case EntryPoint::GLCreateQueries: + case EntryPoint::CreateQueries: return "glCreateQueries"; - case EntryPoint::GLCreateRenderbuffers: + case EntryPoint::CreateRenderbuffers: return "glCreateRenderbuffers"; - case EntryPoint::GLCreateSamplers: + case EntryPoint::CreateSamplers: return "glCreateSamplers"; - case EntryPoint::GLCreateShader: + case EntryPoint::CreateShader: return "glCreateShader"; - case EntryPoint::GLCreateShaderProgramv: + case EntryPoint::CreateShaderProgramv: return "glCreateShaderProgramv"; - case EntryPoint::GLCreateShaderProgramvEXT: - return "glCreateShaderProgramvEXT"; - case EntryPoint::GLCreateTextures: + case EntryPoint::CreateTextures: return "glCreateTextures"; - case EntryPoint::GLCreateTransformFeedbacks: + case EntryPoint::CreateTransformFeedbacks: return "glCreateTransformFeedbacks"; - case EntryPoint::GLCreateVertexArrays: + case EntryPoint::CreateVertexArrays: return "glCreateVertexArrays"; - case EntryPoint::GLCullFace: + case EntryPoint::CullFace: return "glCullFace"; - case EntryPoint::GLCurrentPaletteMatrixOES: + case EntryPoint::CurrentPaletteMatrixOES: return "glCurrentPaletteMatrixOES"; - case EntryPoint::GLDebugMessageCallback: + case EntryPoint::DebugMessageCallback: return "glDebugMessageCallback"; - case EntryPoint::GLDebugMessageCallbackKHR: + case EntryPoint::DebugMessageCallbackKHR: return "glDebugMessageCallbackKHR"; - case EntryPoint::GLDebugMessageControl: + case EntryPoint::DebugMessageControl: return "glDebugMessageControl"; - case EntryPoint::GLDebugMessageControlKHR: + case EntryPoint::DebugMessageControlKHR: return "glDebugMessageControlKHR"; - case EntryPoint::GLDebugMessageInsert: + case EntryPoint::DebugMessageInsert: return "glDebugMessageInsert"; - case EntryPoint::GLDebugMessageInsertKHR: + case EntryPoint::DebugMessageInsertKHR: return "glDebugMessageInsertKHR"; - case EntryPoint::GLDeleteBuffers: + case EntryPoint::DeleteBuffers: return "glDeleteBuffers"; - case EntryPoint::GLDeleteFencesNV: + case EntryPoint::DeleteFencesNV: return "glDeleteFencesNV"; - case EntryPoint::GLDeleteFramebuffers: + case EntryPoint::DeleteFramebuffers: return "glDeleteFramebuffers"; - case EntryPoint::GLDeleteFramebuffersOES: + case EntryPoint::DeleteFramebuffersOES: return "glDeleteFramebuffersOES"; - case EntryPoint::GLDeleteLists: + case EntryPoint::DeleteLists: return "glDeleteLists"; - case EntryPoint::GLDeleteMemoryObjectsEXT: + case EntryPoint::DeleteMemoryObjectsEXT: return "glDeleteMemoryObjectsEXT"; - case EntryPoint::GLDeleteProgram: + case EntryPoint::DeleteProgram: return "glDeleteProgram"; - case EntryPoint::GLDeleteProgramPipelines: + case EntryPoint::DeleteProgramPipelines: return "glDeleteProgramPipelines"; - case EntryPoint::GLDeleteProgramPipelinesEXT: - return "glDeleteProgramPipelinesEXT"; - case EntryPoint::GLDeleteQueries: + case EntryPoint::DeleteQueries: return "glDeleteQueries"; - case EntryPoint::GLDeleteQueriesEXT: + case EntryPoint::DeleteQueriesEXT: return "glDeleteQueriesEXT"; - case EntryPoint::GLDeleteRenderbuffers: + case EntryPoint::DeleteRenderbuffers: return "glDeleteRenderbuffers"; - case EntryPoint::GLDeleteRenderbuffersOES: + case EntryPoint::DeleteRenderbuffersOES: return "glDeleteRenderbuffersOES"; - case EntryPoint::GLDeleteSamplers: + case EntryPoint::DeleteSamplers: return "glDeleteSamplers"; - case EntryPoint::GLDeleteSemaphoresEXT: + case EntryPoint::DeleteSemaphoresEXT: return "glDeleteSemaphoresEXT"; - case EntryPoint::GLDeleteShader: + case EntryPoint::DeleteShader: return "glDeleteShader"; - case EntryPoint::GLDeleteSync: + case EntryPoint::DeleteSync: return "glDeleteSync"; - case EntryPoint::GLDeleteTextures: + case EntryPoint::DeleteTextures: return "glDeleteTextures"; - case EntryPoint::GLDeleteTransformFeedbacks: + case EntryPoint::DeleteTransformFeedbacks: return "glDeleteTransformFeedbacks"; - case EntryPoint::GLDeleteVertexArrays: + case EntryPoint::DeleteVertexArrays: return "glDeleteVertexArrays"; - case EntryPoint::GLDeleteVertexArraysOES: + case EntryPoint::DeleteVertexArraysOES: return "glDeleteVertexArraysOES"; - case EntryPoint::GLDepthFunc: + case EntryPoint::DepthFunc: return "glDepthFunc"; - case EntryPoint::GLDepthMask: + case EntryPoint::DepthMask: return "glDepthMask"; - case EntryPoint::GLDepthRange: + case EntryPoint::DepthRange: return "glDepthRange"; - case EntryPoint::GLDepthRangeArrayv: + case EntryPoint::DepthRangeArrayv: return "glDepthRangeArrayv"; - case EntryPoint::GLDepthRangeIndexed: + case EntryPoint::DepthRangeIndexed: return "glDepthRangeIndexed"; - case EntryPoint::GLDepthRangef: + case EntryPoint::DepthRangef: return "glDepthRangef"; - case EntryPoint::GLDepthRangex: + case EntryPoint::DepthRangex: return "glDepthRangex"; - case EntryPoint::GLDetachShader: + case EntryPoint::DetachShader: return "glDetachShader"; - case EntryPoint::GLDisable: + case EntryPoint::Disable: return "glDisable"; - case EntryPoint::GLDisableClientState: + case EntryPoint::DisableClientState: return "glDisableClientState"; - case EntryPoint::GLDisableExtensionANGLE: + case EntryPoint::DisableExtensionANGLE: return "glDisableExtensionANGLE"; - case EntryPoint::GLDisableVertexArrayAttrib: + case EntryPoint::DisableVertexArrayAttrib: return "glDisableVertexArrayAttrib"; - case EntryPoint::GLDisableVertexAttribArray: + case EntryPoint::DisableVertexAttribArray: return "glDisableVertexAttribArray"; - case EntryPoint::GLDisablei: + case EntryPoint::Disablei: return "glDisablei"; - case EntryPoint::GLDisableiEXT: + case EntryPoint::DisableiEXT: return "glDisableiEXT"; - case EntryPoint::GLDisableiOES: + case EntryPoint::DisableiOES: return "glDisableiOES"; - case EntryPoint::GLDiscardFramebufferEXT: + case EntryPoint::DiscardFramebufferEXT: return "glDiscardFramebufferEXT"; - case EntryPoint::GLDispatchCompute: + case EntryPoint::DispatchCompute: return "glDispatchCompute"; - case EntryPoint::GLDispatchComputeIndirect: + case EntryPoint::DispatchComputeIndirect: return "glDispatchComputeIndirect"; - case EntryPoint::GLDrawArrays: + case EntryPoint::DrawArrays: return "glDrawArrays"; - case EntryPoint::GLDrawArraysIndirect: + case EntryPoint::DrawArraysIndirect: return "glDrawArraysIndirect"; - case EntryPoint::GLDrawArraysInstanced: + case EntryPoint::DrawArraysInstanced: return "glDrawArraysInstanced"; - case EntryPoint::GLDrawArraysInstancedANGLE: + case EntryPoint::DrawArraysInstancedANGLE: return "glDrawArraysInstancedANGLE"; - case EntryPoint::GLDrawArraysInstancedBaseInstance: + case EntryPoint::DrawArraysInstancedBaseInstance: return "glDrawArraysInstancedBaseInstance"; - case EntryPoint::GLDrawArraysInstancedBaseInstanceANGLE: + case EntryPoint::DrawArraysInstancedBaseInstanceANGLE: return "glDrawArraysInstancedBaseInstanceANGLE"; - case EntryPoint::GLDrawArraysInstancedEXT: + case EntryPoint::DrawArraysInstancedEXT: return "glDrawArraysInstancedEXT"; - case EntryPoint::GLDrawBuffer: + case EntryPoint::DrawBuffer: return "glDrawBuffer"; - case EntryPoint::GLDrawBuffers: + case EntryPoint::DrawBuffers: return "glDrawBuffers"; - case EntryPoint::GLDrawBuffersEXT: + case EntryPoint::DrawBuffersEXT: return "glDrawBuffersEXT"; - case EntryPoint::GLDrawElements: + case EntryPoint::DrawElements: return "glDrawElements"; - case EntryPoint::GLDrawElementsBaseVertex: + case EntryPoint::DrawElementsBaseVertex: return "glDrawElementsBaseVertex"; - case EntryPoint::GLDrawElementsBaseVertexEXT: + case EntryPoint::DrawElementsBaseVertexEXT: return "glDrawElementsBaseVertexEXT"; - case EntryPoint::GLDrawElementsBaseVertexOES: + case EntryPoint::DrawElementsBaseVertexOES: return "glDrawElementsBaseVertexOES"; - case EntryPoint::GLDrawElementsIndirect: + case EntryPoint::DrawElementsIndirect: return "glDrawElementsIndirect"; - case EntryPoint::GLDrawElementsInstanced: + case EntryPoint::DrawElementsInstanced: return "glDrawElementsInstanced"; - case EntryPoint::GLDrawElementsInstancedANGLE: + case EntryPoint::DrawElementsInstancedANGLE: return "glDrawElementsInstancedANGLE"; - case EntryPoint::GLDrawElementsInstancedBaseInstance: + case EntryPoint::DrawElementsInstancedBaseInstance: return "glDrawElementsInstancedBaseInstance"; - case EntryPoint::GLDrawElementsInstancedBaseVertex: + case EntryPoint::DrawElementsInstancedBaseVertex: return "glDrawElementsInstancedBaseVertex"; - case EntryPoint::GLDrawElementsInstancedBaseVertexBaseInstance: + case EntryPoint::DrawElementsInstancedBaseVertexBaseInstance: return "glDrawElementsInstancedBaseVertexBaseInstance"; - case EntryPoint::GLDrawElementsInstancedBaseVertexBaseInstanceANGLE: + case EntryPoint::DrawElementsInstancedBaseVertexBaseInstanceANGLE: return "glDrawElementsInstancedBaseVertexBaseInstanceANGLE"; - case EntryPoint::GLDrawElementsInstancedBaseVertexEXT: + case EntryPoint::DrawElementsInstancedBaseVertexEXT: return "glDrawElementsInstancedBaseVertexEXT"; - case EntryPoint::GLDrawElementsInstancedBaseVertexOES: + case EntryPoint::DrawElementsInstancedBaseVertexOES: return "glDrawElementsInstancedBaseVertexOES"; - case EntryPoint::GLDrawElementsInstancedEXT: + case EntryPoint::DrawElementsInstancedEXT: return "glDrawElementsInstancedEXT"; - case EntryPoint::GLDrawPixels: + case EntryPoint::DrawPixels: return "glDrawPixels"; - case EntryPoint::GLDrawRangeElements: + case EntryPoint::DrawRangeElements: return "glDrawRangeElements"; - case EntryPoint::GLDrawRangeElementsBaseVertex: + case EntryPoint::DrawRangeElementsBaseVertex: return "glDrawRangeElementsBaseVertex"; - case EntryPoint::GLDrawRangeElementsBaseVertexEXT: + case EntryPoint::DrawRangeElementsBaseVertexEXT: return "glDrawRangeElementsBaseVertexEXT"; - case EntryPoint::GLDrawRangeElementsBaseVertexOES: + case EntryPoint::DrawRangeElementsBaseVertexOES: return "glDrawRangeElementsBaseVertexOES"; - case EntryPoint::GLDrawTexfOES: + case EntryPoint::DrawTexfOES: return "glDrawTexfOES"; - case EntryPoint::GLDrawTexfvOES: + case EntryPoint::DrawTexfvOES: return "glDrawTexfvOES"; - case EntryPoint::GLDrawTexiOES: + case EntryPoint::DrawTexiOES: return "glDrawTexiOES"; - case EntryPoint::GLDrawTexivOES: + case EntryPoint::DrawTexivOES: return "glDrawTexivOES"; - case EntryPoint::GLDrawTexsOES: + case EntryPoint::DrawTexsOES: return "glDrawTexsOES"; - case EntryPoint::GLDrawTexsvOES: + case EntryPoint::DrawTexsvOES: return "glDrawTexsvOES"; - case EntryPoint::GLDrawTexxOES: + case EntryPoint::DrawTexxOES: return "glDrawTexxOES"; - case EntryPoint::GLDrawTexxvOES: + case EntryPoint::DrawTexxvOES: return "glDrawTexxvOES"; - case EntryPoint::GLDrawTransformFeedback: + case EntryPoint::DrawTransformFeedback: return "glDrawTransformFeedback"; - case EntryPoint::GLDrawTransformFeedbackInstanced: + case EntryPoint::DrawTransformFeedbackInstanced: return "glDrawTransformFeedbackInstanced"; - case EntryPoint::GLDrawTransformFeedbackStream: + case EntryPoint::DrawTransformFeedbackStream: return "glDrawTransformFeedbackStream"; - case EntryPoint::GLDrawTransformFeedbackStreamInstanced: + case EntryPoint::DrawTransformFeedbackStreamInstanced: return "glDrawTransformFeedbackStreamInstanced"; - case EntryPoint::GLEGLImageTargetRenderbufferStorageOES: + case EntryPoint::EGLImageTargetRenderbufferStorageOES: return "glEGLImageTargetRenderbufferStorageOES"; - case EntryPoint::GLEGLImageTargetTexture2DOES: + case EntryPoint::EGLImageTargetTexture2DOES: return "glEGLImageTargetTexture2DOES"; - case EntryPoint::GLEdgeFlag: + case EntryPoint::EdgeFlag: return "glEdgeFlag"; - case EntryPoint::GLEdgeFlagPointer: + case EntryPoint::EdgeFlagPointer: return "glEdgeFlagPointer"; - case EntryPoint::GLEdgeFlagv: + case EntryPoint::EdgeFlagv: return "glEdgeFlagv"; - case EntryPoint::GLEnable: + case EntryPoint::Enable: return "glEnable"; - case EntryPoint::GLEnableClientState: + case EntryPoint::EnableClientState: return "glEnableClientState"; - case EntryPoint::GLEnableVertexArrayAttrib: + case EntryPoint::EnableVertexArrayAttrib: return "glEnableVertexArrayAttrib"; - case EntryPoint::GLEnableVertexAttribArray: + case EntryPoint::EnableVertexAttribArray: return "glEnableVertexAttribArray"; - case EntryPoint::GLEnablei: + case EntryPoint::Enablei: return "glEnablei"; - case EntryPoint::GLEnableiEXT: + case EntryPoint::EnableiEXT: return "glEnableiEXT"; - case EntryPoint::GLEnableiOES: + case EntryPoint::EnableiOES: return "glEnableiOES"; - case EntryPoint::GLEnd: + case EntryPoint::End: return "glEnd"; - case EntryPoint::GLEndConditionalRender: + case EntryPoint::EndConditionalRender: return "glEndConditionalRender"; - case EntryPoint::GLEndList: + case EntryPoint::EndList: return "glEndList"; - case EntryPoint::GLEndQuery: + case EntryPoint::EndQuery: return "glEndQuery"; - case EntryPoint::GLEndQueryEXT: + case EntryPoint::EndQueryEXT: return "glEndQueryEXT"; - case EntryPoint::GLEndQueryIndexed: + case EntryPoint::EndQueryIndexed: return "glEndQueryIndexed"; - case EntryPoint::GLEndTransformFeedback: + case EntryPoint::EndTransformFeedback: return "glEndTransformFeedback"; - case EntryPoint::GLEvalCoord1d: + case EntryPoint::EvalCoord1d: return "glEvalCoord1d"; - case EntryPoint::GLEvalCoord1dv: + case EntryPoint::EvalCoord1dv: return "glEvalCoord1dv"; - case EntryPoint::GLEvalCoord1f: + case EntryPoint::EvalCoord1f: return "glEvalCoord1f"; - case EntryPoint::GLEvalCoord1fv: + case EntryPoint::EvalCoord1fv: return "glEvalCoord1fv"; - case EntryPoint::GLEvalCoord2d: + case EntryPoint::EvalCoord2d: return "glEvalCoord2d"; - case EntryPoint::GLEvalCoord2dv: + case EntryPoint::EvalCoord2dv: return "glEvalCoord2dv"; - case EntryPoint::GLEvalCoord2f: + case EntryPoint::EvalCoord2f: return "glEvalCoord2f"; - case EntryPoint::GLEvalCoord2fv: + case EntryPoint::EvalCoord2fv: return "glEvalCoord2fv"; - case EntryPoint::GLEvalMesh1: + case EntryPoint::EvalMesh1: return "glEvalMesh1"; - case EntryPoint::GLEvalMesh2: + case EntryPoint::EvalMesh2: return "glEvalMesh2"; - case EntryPoint::GLEvalPoint1: + case EntryPoint::EvalPoint1: return "glEvalPoint1"; - case EntryPoint::GLEvalPoint2: + case EntryPoint::EvalPoint2: return "glEvalPoint2"; - case EntryPoint::GLFeedbackBuffer: + case EntryPoint::FeedbackBuffer: return "glFeedbackBuffer"; - case EntryPoint::GLFenceSync: + case EntryPoint::FenceSync: return "glFenceSync"; - case EntryPoint::GLFinish: + case EntryPoint::Finish: return "glFinish"; - case EntryPoint::GLFinishFenceNV: + case EntryPoint::FinishFenceNV: return "glFinishFenceNV"; - case EntryPoint::GLFlush: + case EntryPoint::Flush: return "glFlush"; - case EntryPoint::GLFlushMappedBufferRange: + case EntryPoint::FlushMappedBufferRange: return "glFlushMappedBufferRange"; - case EntryPoint::GLFlushMappedBufferRangeEXT: + case EntryPoint::FlushMappedBufferRangeEXT: return "glFlushMappedBufferRangeEXT"; - case EntryPoint::GLFlushMappedNamedBufferRange: + case EntryPoint::FlushMappedNamedBufferRange: return "glFlushMappedNamedBufferRange"; - case EntryPoint::GLFogCoordPointer: + case EntryPoint::FogCoordPointer: return "glFogCoordPointer"; - case EntryPoint::GLFogCoordd: + case EntryPoint::FogCoordd: return "glFogCoordd"; - case EntryPoint::GLFogCoorddv: + case EntryPoint::FogCoorddv: return "glFogCoorddv"; - case EntryPoint::GLFogCoordf: + case EntryPoint::FogCoordf: return "glFogCoordf"; - case EntryPoint::GLFogCoordfv: + case EntryPoint::FogCoordfv: return "glFogCoordfv"; - case EntryPoint::GLFogf: + case EntryPoint::Fogf: return "glFogf"; - case EntryPoint::GLFogfv: + case EntryPoint::Fogfv: return "glFogfv"; - case EntryPoint::GLFogi: + case EntryPoint::Fogi: return "glFogi"; - case EntryPoint::GLFogiv: + case EntryPoint::Fogiv: return "glFogiv"; - case EntryPoint::GLFogx: + case EntryPoint::Fogx: return "glFogx"; - case EntryPoint::GLFogxv: + case EntryPoint::Fogxv: return "glFogxv"; - case EntryPoint::GLFramebufferFetchBarrierEXT: - return "glFramebufferFetchBarrierEXT"; - case EntryPoint::GLFramebufferParameteri: + case EntryPoint::FramebufferParameteri: return "glFramebufferParameteri"; - case EntryPoint::GLFramebufferRenderbuffer: + case EntryPoint::FramebufferRenderbuffer: return "glFramebufferRenderbuffer"; - case EntryPoint::GLFramebufferRenderbufferOES: + case EntryPoint::FramebufferRenderbufferOES: return "glFramebufferRenderbufferOES"; - case EntryPoint::GLFramebufferTexture: + case EntryPoint::FramebufferTexture: return "glFramebufferTexture"; - case EntryPoint::GLFramebufferTexture1D: + case EntryPoint::FramebufferTexture1D: return "glFramebufferTexture1D"; - case EntryPoint::GLFramebufferTexture2D: + case EntryPoint::FramebufferTexture2D: return "glFramebufferTexture2D"; - case EntryPoint::GLFramebufferTexture2DMultisampleEXT: + case EntryPoint::FramebufferTexture2DMultisampleEXT: return "glFramebufferTexture2DMultisampleEXT"; - case EntryPoint::GLFramebufferTexture2DOES: + case EntryPoint::FramebufferTexture2DOES: return "glFramebufferTexture2DOES"; - case EntryPoint::GLFramebufferTexture3D: + case EntryPoint::FramebufferTexture3D: return "glFramebufferTexture3D"; - case EntryPoint::GLFramebufferTexture3DOES: + case EntryPoint::FramebufferTexture3DOES: return "glFramebufferTexture3DOES"; - case EntryPoint::GLFramebufferTextureEXT: + case EntryPoint::FramebufferTextureEXT: return "glFramebufferTextureEXT"; - case EntryPoint::GLFramebufferTextureLayer: + case EntryPoint::FramebufferTextureLayer: return "glFramebufferTextureLayer"; - case EntryPoint::GLFramebufferTextureMultiviewOVR: + case EntryPoint::FramebufferTextureMultiviewOVR: return "glFramebufferTextureMultiviewOVR"; - case EntryPoint::GLFrontFace: + case EntryPoint::FrontFace: return "glFrontFace"; - case EntryPoint::GLFrustum: + case EntryPoint::Frustum: return "glFrustum"; - case EntryPoint::GLFrustumf: + case EntryPoint::Frustumf: return "glFrustumf"; - case EntryPoint::GLFrustumx: + case EntryPoint::Frustumx: return "glFrustumx"; - case EntryPoint::GLGenBuffers: + case EntryPoint::GenBuffers: return "glGenBuffers"; - case EntryPoint::GLGenFencesNV: + case EntryPoint::GenFencesNV: return "glGenFencesNV"; - case EntryPoint::GLGenFramebuffers: + case EntryPoint::GenFramebuffers: return "glGenFramebuffers"; - case EntryPoint::GLGenFramebuffersOES: + case EntryPoint::GenFramebuffersOES: return "glGenFramebuffersOES"; - case EntryPoint::GLGenLists: + case EntryPoint::GenLists: return "glGenLists"; - case EntryPoint::GLGenProgramPipelines: + case EntryPoint::GenProgramPipelines: return "glGenProgramPipelines"; - case EntryPoint::GLGenProgramPipelinesEXT: - return "glGenProgramPipelinesEXT"; - case EntryPoint::GLGenQueries: + case EntryPoint::GenQueries: return "glGenQueries"; - case EntryPoint::GLGenQueriesEXT: + case EntryPoint::GenQueriesEXT: return "glGenQueriesEXT"; - case EntryPoint::GLGenRenderbuffers: + case EntryPoint::GenRenderbuffers: return "glGenRenderbuffers"; - case EntryPoint::GLGenRenderbuffersOES: + case EntryPoint::GenRenderbuffersOES: return "glGenRenderbuffersOES"; - case EntryPoint::GLGenSamplers: + case EntryPoint::GenSamplers: return "glGenSamplers"; - case EntryPoint::GLGenSemaphoresEXT: + case EntryPoint::GenSemaphoresEXT: return "glGenSemaphoresEXT"; - case EntryPoint::GLGenTextures: + case EntryPoint::GenTextures: return "glGenTextures"; - case EntryPoint::GLGenTransformFeedbacks: + case EntryPoint::GenTransformFeedbacks: return "glGenTransformFeedbacks"; - case EntryPoint::GLGenVertexArrays: + case EntryPoint::GenVertexArrays: return "glGenVertexArrays"; - case EntryPoint::GLGenVertexArraysOES: + case EntryPoint::GenVertexArraysOES: return "glGenVertexArraysOES"; - case EntryPoint::GLGenerateMipmap: + case EntryPoint::GenerateMipmap: return "glGenerateMipmap"; - case EntryPoint::GLGenerateMipmapOES: + case EntryPoint::GenerateMipmapOES: return "glGenerateMipmapOES"; - case EntryPoint::GLGenerateTextureMipmap: + case EntryPoint::GenerateTextureMipmap: return "glGenerateTextureMipmap"; - case EntryPoint::GLGetActiveAtomicCounterBufferiv: + case EntryPoint::GetActiveAtomicCounterBufferiv: return "glGetActiveAtomicCounterBufferiv"; - case EntryPoint::GLGetActiveAttrib: + case EntryPoint::GetActiveAttrib: return "glGetActiveAttrib"; - case EntryPoint::GLGetActiveSubroutineName: + case EntryPoint::GetActiveSubroutineName: return "glGetActiveSubroutineName"; - case EntryPoint::GLGetActiveSubroutineUniformName: + case EntryPoint::GetActiveSubroutineUniformName: return "glGetActiveSubroutineUniformName"; - case EntryPoint::GLGetActiveSubroutineUniformiv: + case EntryPoint::GetActiveSubroutineUniformiv: return "glGetActiveSubroutineUniformiv"; - case EntryPoint::GLGetActiveUniform: + case EntryPoint::GetActiveUniform: return "glGetActiveUniform"; - case EntryPoint::GLGetActiveUniformBlockName: + case EntryPoint::GetActiveUniformBlockName: return "glGetActiveUniformBlockName"; - case EntryPoint::GLGetActiveUniformBlockiv: + case EntryPoint::GetActiveUniformBlockiv: return "glGetActiveUniformBlockiv"; - case EntryPoint::GLGetActiveUniformBlockivRobustANGLE: + case EntryPoint::GetActiveUniformBlockivRobustANGLE: return "glGetActiveUniformBlockivRobustANGLE"; - case EntryPoint::GLGetActiveUniformName: + case EntryPoint::GetActiveUniformName: return "glGetActiveUniformName"; - case EntryPoint::GLGetActiveUniformsiv: + case EntryPoint::GetActiveUniformsiv: return "glGetActiveUniformsiv"; - case EntryPoint::GLGetAttachedShaders: + case EntryPoint::GetAttachedShaders: return "glGetAttachedShaders"; - case EntryPoint::GLGetAttribLocation: + case EntryPoint::GetAttribLocation: return "glGetAttribLocation"; - case EntryPoint::GLGetBooleani_v: + case EntryPoint::GetBooleani_v: return "glGetBooleani_v"; - case EntryPoint::GLGetBooleani_vRobustANGLE: + case EntryPoint::GetBooleani_vRobustANGLE: return "glGetBooleani_vRobustANGLE"; - case EntryPoint::GLGetBooleanv: + case EntryPoint::GetBooleanv: return "glGetBooleanv"; - case EntryPoint::GLGetBooleanvRobustANGLE: + case EntryPoint::GetBooleanvRobustANGLE: return "glGetBooleanvRobustANGLE"; - case EntryPoint::GLGetBufferParameteri64v: + case EntryPoint::GetBufferParameteri64v: return "glGetBufferParameteri64v"; - case EntryPoint::GLGetBufferParameteri64vRobustANGLE: + case EntryPoint::GetBufferParameteri64vRobustANGLE: return "glGetBufferParameteri64vRobustANGLE"; - case EntryPoint::GLGetBufferParameteriv: + case EntryPoint::GetBufferParameteriv: return "glGetBufferParameteriv"; - case EntryPoint::GLGetBufferParameterivRobustANGLE: + case EntryPoint::GetBufferParameterivRobustANGLE: return "glGetBufferParameterivRobustANGLE"; - case EntryPoint::GLGetBufferPointerv: + case EntryPoint::GetBufferPointerv: return "glGetBufferPointerv"; - case EntryPoint::GLGetBufferPointervOES: + case EntryPoint::GetBufferPointervOES: return "glGetBufferPointervOES"; - case EntryPoint::GLGetBufferPointervRobustANGLE: + case EntryPoint::GetBufferPointervRobustANGLE: return "glGetBufferPointervRobustANGLE"; - case EntryPoint::GLGetBufferSubData: + case EntryPoint::GetBufferSubData: return "glGetBufferSubData"; - case EntryPoint::GLGetClipPlane: + case EntryPoint::GetClipPlane: return "glGetClipPlane"; - case EntryPoint::GLGetClipPlanef: + case EntryPoint::GetClipPlanef: return "glGetClipPlanef"; - case EntryPoint::GLGetClipPlanex: + case EntryPoint::GetClipPlanex: return "glGetClipPlanex"; - case EntryPoint::GLGetCompressedTexImage: + case EntryPoint::GetCompressedTexImage: return "glGetCompressedTexImage"; - case EntryPoint::GLGetCompressedTextureImage: + case EntryPoint::GetCompressedTextureImage: return "glGetCompressedTextureImage"; - case EntryPoint::GLGetCompressedTextureSubImage: + case EntryPoint::GetCompressedTextureSubImage: return "glGetCompressedTextureSubImage"; - case EntryPoint::GLGetDebugMessageLog: + case EntryPoint::GetDebugMessageLog: return "glGetDebugMessageLog"; - case EntryPoint::GLGetDebugMessageLogKHR: + case EntryPoint::GetDebugMessageLogKHR: return "glGetDebugMessageLogKHR"; - case EntryPoint::GLGetDoublei_v: + case EntryPoint::GetDoublei_v: return "glGetDoublei_v"; - case EntryPoint::GLGetDoublev: + case EntryPoint::GetDoublev: return "glGetDoublev"; - case EntryPoint::GLGetError: + case EntryPoint::GetError: return "glGetError"; - case EntryPoint::GLGetFenceivNV: + case EntryPoint::GetFenceivNV: return "glGetFenceivNV"; - case EntryPoint::GLGetFixedv: + case EntryPoint::GetFixedv: return "glGetFixedv"; - case EntryPoint::GLGetFloati_v: + case EntryPoint::GetFloati_v: return "glGetFloati_v"; - case EntryPoint::GLGetFloatv: + case EntryPoint::GetFloatv: return "glGetFloatv"; - case EntryPoint::GLGetFloatvRobustANGLE: + case EntryPoint::GetFloatvRobustANGLE: return "glGetFloatvRobustANGLE"; - case EntryPoint::GLGetFragDataIndex: + case EntryPoint::GetFragDataIndex: return "glGetFragDataIndex"; - case EntryPoint::GLGetFragDataIndexEXT: + case EntryPoint::GetFragDataIndexEXT: return "glGetFragDataIndexEXT"; - case EntryPoint::GLGetFragDataLocation: + case EntryPoint::GetFragDataLocation: return "glGetFragDataLocation"; - case EntryPoint::GLGetFramebufferAttachmentParameteriv: + case EntryPoint::GetFramebufferAttachmentParameteriv: return "glGetFramebufferAttachmentParameteriv"; - case EntryPoint::GLGetFramebufferAttachmentParameterivOES: + case EntryPoint::GetFramebufferAttachmentParameterivOES: return "glGetFramebufferAttachmentParameterivOES"; - case EntryPoint::GLGetFramebufferAttachmentParameterivRobustANGLE: + case EntryPoint::GetFramebufferAttachmentParameterivRobustANGLE: return "glGetFramebufferAttachmentParameterivRobustANGLE"; - case EntryPoint::GLGetFramebufferParameteriv: + case EntryPoint::GetFramebufferParameteriv: return "glGetFramebufferParameteriv"; - case EntryPoint::GLGetFramebufferParameterivRobustANGLE: + case EntryPoint::GetFramebufferParameterivRobustANGLE: return "glGetFramebufferParameterivRobustANGLE"; - case EntryPoint::GLGetGraphicsResetStatus: + case EntryPoint::GetGraphicsResetStatus: return "glGetGraphicsResetStatus"; - case EntryPoint::GLGetGraphicsResetStatusEXT: + case EntryPoint::GetGraphicsResetStatusEXT: return "glGetGraphicsResetStatusEXT"; - case EntryPoint::GLGetInteger64i_v: + case EntryPoint::GetInteger64i_v: return "glGetInteger64i_v"; - case EntryPoint::GLGetInteger64i_vRobustANGLE: + case EntryPoint::GetInteger64i_vRobustANGLE: return "glGetInteger64i_vRobustANGLE"; - case EntryPoint::GLGetInteger64v: + case EntryPoint::GetInteger64v: return "glGetInteger64v"; - case EntryPoint::GLGetInteger64vEXT: + case EntryPoint::GetInteger64vEXT: return "glGetInteger64vEXT"; - case EntryPoint::GLGetInteger64vRobustANGLE: + case EntryPoint::GetInteger64vRobustANGLE: return "glGetInteger64vRobustANGLE"; - case EntryPoint::GLGetIntegeri_v: + case EntryPoint::GetIntegeri_v: return "glGetIntegeri_v"; - case EntryPoint::GLGetIntegeri_vRobustANGLE: + case EntryPoint::GetIntegeri_vRobustANGLE: return "glGetIntegeri_vRobustANGLE"; - case EntryPoint::GLGetIntegerv: + case EntryPoint::GetIntegerv: return "glGetIntegerv"; - case EntryPoint::GLGetIntegervRobustANGLE: + case EntryPoint::GetIntegervRobustANGLE: return "glGetIntegervRobustANGLE"; - case EntryPoint::GLGetInternalformati64v: + case EntryPoint::GetInternalformati64v: return "glGetInternalformati64v"; - case EntryPoint::GLGetInternalformativ: + case EntryPoint::GetInternalformativ: return "glGetInternalformativ"; - case EntryPoint::GLGetInternalformativRobustANGLE: + case EntryPoint::GetInternalformativRobustANGLE: return "glGetInternalformativRobustANGLE"; - case EntryPoint::GLGetLightfv: + case EntryPoint::GetLightfv: return "glGetLightfv"; - case EntryPoint::GLGetLightiv: + case EntryPoint::GetLightiv: return "glGetLightiv"; - case EntryPoint::GLGetLightxv: + case EntryPoint::GetLightxv: return "glGetLightxv"; - case EntryPoint::GLGetMapdv: + case EntryPoint::GetMapdv: return "glGetMapdv"; - case EntryPoint::GLGetMapfv: + case EntryPoint::GetMapfv: return "glGetMapfv"; - case EntryPoint::GLGetMapiv: + case EntryPoint::GetMapiv: return "glGetMapiv"; - case EntryPoint::GLGetMaterialfv: + case EntryPoint::GetMaterialfv: return "glGetMaterialfv"; - case EntryPoint::GLGetMaterialiv: + case EntryPoint::GetMaterialiv: return "glGetMaterialiv"; - case EntryPoint::GLGetMaterialxv: + case EntryPoint::GetMaterialxv: return "glGetMaterialxv"; - case EntryPoint::GLGetMemoryObjectParameterivEXT: + case EntryPoint::GetMemoryObjectParameterivEXT: return "glGetMemoryObjectParameterivEXT"; - case EntryPoint::GLGetMultisamplefv: + case EntryPoint::GetMultisamplefv: return "glGetMultisamplefv"; - case EntryPoint::GLGetMultisamplefvANGLE: + case EntryPoint::GetMultisamplefvANGLE: return "glGetMultisamplefvANGLE"; - case EntryPoint::GLGetMultisamplefvRobustANGLE: + case EntryPoint::GetMultisamplefvRobustANGLE: return "glGetMultisamplefvRobustANGLE"; - case EntryPoint::GLGetNamedBufferParameteri64v: + case EntryPoint::GetNamedBufferParameteri64v: return "glGetNamedBufferParameteri64v"; - case EntryPoint::GLGetNamedBufferParameteriv: + case EntryPoint::GetNamedBufferParameteriv: return "glGetNamedBufferParameteriv"; - case EntryPoint::GLGetNamedBufferPointerv: + case EntryPoint::GetNamedBufferPointerv: return "glGetNamedBufferPointerv"; - case EntryPoint::GLGetNamedBufferSubData: + case EntryPoint::GetNamedBufferSubData: return "glGetNamedBufferSubData"; - case EntryPoint::GLGetNamedFramebufferAttachmentParameteriv: + case EntryPoint::GetNamedFramebufferAttachmentParameteriv: return "glGetNamedFramebufferAttachmentParameteriv"; - case EntryPoint::GLGetNamedFramebufferParameteriv: + case EntryPoint::GetNamedFramebufferParameteriv: return "glGetNamedFramebufferParameteriv"; - case EntryPoint::GLGetNamedRenderbufferParameteriv: + case EntryPoint::GetNamedRenderbufferParameteriv: return "glGetNamedRenderbufferParameteriv"; - case EntryPoint::GLGetObjectLabel: + case EntryPoint::GetObjectLabel: return "glGetObjectLabel"; - case EntryPoint::GLGetObjectLabelEXT: - return "glGetObjectLabelEXT"; - case EntryPoint::GLGetObjectLabelKHR: + case EntryPoint::GetObjectLabelKHR: return "glGetObjectLabelKHR"; - case EntryPoint::GLGetObjectPtrLabel: + case EntryPoint::GetObjectPtrLabel: return "glGetObjectPtrLabel"; - case EntryPoint::GLGetObjectPtrLabelKHR: + case EntryPoint::GetObjectPtrLabelKHR: return "glGetObjectPtrLabelKHR"; - case EntryPoint::GLGetPixelMapfv: + case EntryPoint::GetPixelMapfv: return "glGetPixelMapfv"; - case EntryPoint::GLGetPixelMapuiv: + case EntryPoint::GetPixelMapuiv: return "glGetPixelMapuiv"; - case EntryPoint::GLGetPixelMapusv: + case EntryPoint::GetPixelMapusv: return "glGetPixelMapusv"; - case EntryPoint::GLGetPointerv: + case EntryPoint::GetPointerv: return "glGetPointerv"; - case EntryPoint::GLGetPointervKHR: + case EntryPoint::GetPointervKHR: return "glGetPointervKHR"; - case EntryPoint::GLGetPointervRobustANGLERobustANGLE: + case EntryPoint::GetPointervRobustANGLERobustANGLE: return "glGetPointervRobustANGLERobustANGLE"; - case EntryPoint::GLGetPolygonStipple: + case EntryPoint::GetPolygonStipple: return "glGetPolygonStipple"; - case EntryPoint::GLGetProgramBinary: + case EntryPoint::GetProgramBinary: return "glGetProgramBinary"; - case EntryPoint::GLGetProgramBinaryOES: + case EntryPoint::GetProgramBinaryOES: return "glGetProgramBinaryOES"; - case EntryPoint::GLGetProgramInfoLog: + case EntryPoint::GetProgramInfoLog: return "glGetProgramInfoLog"; - case EntryPoint::GLGetProgramInterfaceiv: + case EntryPoint::GetProgramInterfaceiv: return "glGetProgramInterfaceiv"; - case EntryPoint::GLGetProgramInterfaceivRobustANGLE: + case EntryPoint::GetProgramInterfaceivRobustANGLE: return "glGetProgramInterfaceivRobustANGLE"; - case EntryPoint::GLGetProgramPipelineInfoLog: + case EntryPoint::GetProgramPipelineInfoLog: return "glGetProgramPipelineInfoLog"; - case EntryPoint::GLGetProgramPipelineInfoLogEXT: - return "glGetProgramPipelineInfoLogEXT"; - case EntryPoint::GLGetProgramPipelineiv: + case EntryPoint::GetProgramPipelineiv: return "glGetProgramPipelineiv"; - case EntryPoint::GLGetProgramPipelineivEXT: - return "glGetProgramPipelineivEXT"; - case EntryPoint::GLGetProgramResourceIndex: + case EntryPoint::GetProgramResourceIndex: return "glGetProgramResourceIndex"; - case EntryPoint::GLGetProgramResourceLocation: + case EntryPoint::GetProgramResourceLocation: return "glGetProgramResourceLocation"; - case EntryPoint::GLGetProgramResourceLocationIndex: + case EntryPoint::GetProgramResourceLocationIndex: return "glGetProgramResourceLocationIndex"; - case EntryPoint::GLGetProgramResourceLocationIndexEXT: + case EntryPoint::GetProgramResourceLocationIndexEXT: return "glGetProgramResourceLocationIndexEXT"; - case EntryPoint::GLGetProgramResourceName: + case EntryPoint::GetProgramResourceName: return "glGetProgramResourceName"; - case EntryPoint::GLGetProgramResourceiv: + case EntryPoint::GetProgramResourceiv: return "glGetProgramResourceiv"; - case EntryPoint::GLGetProgramStageiv: + case EntryPoint::GetProgramStageiv: return "glGetProgramStageiv"; - case EntryPoint::GLGetProgramiv: + case EntryPoint::GetProgramiv: return "glGetProgramiv"; - case EntryPoint::GLGetProgramivRobustANGLE: + case EntryPoint::GetProgramivRobustANGLE: return "glGetProgramivRobustANGLE"; - case EntryPoint::GLGetQueryBufferObjecti64v: + case EntryPoint::GetQueryBufferObjecti64v: return "glGetQueryBufferObjecti64v"; - case EntryPoint::GLGetQueryBufferObjectiv: + case EntryPoint::GetQueryBufferObjectiv: return "glGetQueryBufferObjectiv"; - case EntryPoint::GLGetQueryBufferObjectui64v: + case EntryPoint::GetQueryBufferObjectui64v: return "glGetQueryBufferObjectui64v"; - case EntryPoint::GLGetQueryBufferObjectuiv: + case EntryPoint::GetQueryBufferObjectuiv: return "glGetQueryBufferObjectuiv"; - case EntryPoint::GLGetQueryIndexediv: + case EntryPoint::GetQueryIndexediv: return "glGetQueryIndexediv"; - case EntryPoint::GLGetQueryObjecti64v: + case EntryPoint::GetQueryObjecti64v: return "glGetQueryObjecti64v"; - case EntryPoint::GLGetQueryObjecti64vEXT: + case EntryPoint::GetQueryObjecti64vEXT: return "glGetQueryObjecti64vEXT"; - case EntryPoint::GLGetQueryObjecti64vRobustANGLE: + case EntryPoint::GetQueryObjecti64vRobustANGLE: return "glGetQueryObjecti64vRobustANGLE"; - case EntryPoint::GLGetQueryObjectiv: + case EntryPoint::GetQueryObjectiv: return "glGetQueryObjectiv"; - case EntryPoint::GLGetQueryObjectivEXT: + case EntryPoint::GetQueryObjectivEXT: return "glGetQueryObjectivEXT"; - case EntryPoint::GLGetQueryObjectivRobustANGLE: + case EntryPoint::GetQueryObjectivRobustANGLE: return "glGetQueryObjectivRobustANGLE"; - case EntryPoint::GLGetQueryObjectui64v: + case EntryPoint::GetQueryObjectui64v: return "glGetQueryObjectui64v"; - case EntryPoint::GLGetQueryObjectui64vEXT: + case EntryPoint::GetQueryObjectui64vEXT: return "glGetQueryObjectui64vEXT"; - case EntryPoint::GLGetQueryObjectui64vRobustANGLE: + case EntryPoint::GetQueryObjectui64vRobustANGLE: return "glGetQueryObjectui64vRobustANGLE"; - case EntryPoint::GLGetQueryObjectuiv: + case EntryPoint::GetQueryObjectuiv: return "glGetQueryObjectuiv"; - case EntryPoint::GLGetQueryObjectuivEXT: + case EntryPoint::GetQueryObjectuivEXT: return "glGetQueryObjectuivEXT"; - case EntryPoint::GLGetQueryObjectuivRobustANGLE: + case EntryPoint::GetQueryObjectuivRobustANGLE: return "glGetQueryObjectuivRobustANGLE"; - case EntryPoint::GLGetQueryiv: + case EntryPoint::GetQueryiv: return "glGetQueryiv"; - case EntryPoint::GLGetQueryivEXT: + case EntryPoint::GetQueryivEXT: return "glGetQueryivEXT"; - case EntryPoint::GLGetQueryivRobustANGLE: + case EntryPoint::GetQueryivRobustANGLE: return "glGetQueryivRobustANGLE"; - case EntryPoint::GLGetRenderbufferImageANGLE: + case EntryPoint::GetRenderbufferImageANGLE: return "glGetRenderbufferImageANGLE"; - case EntryPoint::GLGetRenderbufferParameteriv: + case EntryPoint::GetRenderbufferParameteriv: return "glGetRenderbufferParameteriv"; - case EntryPoint::GLGetRenderbufferParameterivOES: + case EntryPoint::GetRenderbufferParameterivOES: return "glGetRenderbufferParameterivOES"; - case EntryPoint::GLGetRenderbufferParameterivRobustANGLE: + case EntryPoint::GetRenderbufferParameterivRobustANGLE: return "glGetRenderbufferParameterivRobustANGLE"; - case EntryPoint::GLGetSamplerParameterIiv: + case EntryPoint::GetSamplerParameterIiv: return "glGetSamplerParameterIiv"; - case EntryPoint::GLGetSamplerParameterIivEXT: - return "glGetSamplerParameterIivEXT"; - case EntryPoint::GLGetSamplerParameterIivOES: + case EntryPoint::GetSamplerParameterIivOES: return "glGetSamplerParameterIivOES"; - case EntryPoint::GLGetSamplerParameterIivRobustANGLE: + case EntryPoint::GetSamplerParameterIivRobustANGLE: return "glGetSamplerParameterIivRobustANGLE"; - case EntryPoint::GLGetSamplerParameterIuiv: + case EntryPoint::GetSamplerParameterIuiv: return "glGetSamplerParameterIuiv"; - case EntryPoint::GLGetSamplerParameterIuivEXT: - return "glGetSamplerParameterIuivEXT"; - case EntryPoint::GLGetSamplerParameterIuivOES: + case EntryPoint::GetSamplerParameterIuivOES: return "glGetSamplerParameterIuivOES"; - case EntryPoint::GLGetSamplerParameterIuivRobustANGLE: + case EntryPoint::GetSamplerParameterIuivRobustANGLE: return "glGetSamplerParameterIuivRobustANGLE"; - case EntryPoint::GLGetSamplerParameterfv: + case EntryPoint::GetSamplerParameterfv: return "glGetSamplerParameterfv"; - case EntryPoint::GLGetSamplerParameterfvRobustANGLE: + case EntryPoint::GetSamplerParameterfvRobustANGLE: return "glGetSamplerParameterfvRobustANGLE"; - case EntryPoint::GLGetSamplerParameteriv: + case EntryPoint::GetSamplerParameteriv: return "glGetSamplerParameteriv"; - case EntryPoint::GLGetSamplerParameterivRobustANGLE: + case EntryPoint::GetSamplerParameterivRobustANGLE: return "glGetSamplerParameterivRobustANGLE"; - case EntryPoint::GLGetSemaphoreParameterui64vEXT: + case EntryPoint::GetSemaphoreParameterui64vEXT: return "glGetSemaphoreParameterui64vEXT"; - case EntryPoint::GLGetShaderInfoLog: + case EntryPoint::GetShaderInfoLog: return "glGetShaderInfoLog"; - case EntryPoint::GLGetShaderPrecisionFormat: + case EntryPoint::GetShaderPrecisionFormat: return "glGetShaderPrecisionFormat"; - case EntryPoint::GLGetShaderSource: + case EntryPoint::GetShaderSource: return "glGetShaderSource"; - case EntryPoint::GLGetShaderiv: + case EntryPoint::GetShaderiv: return "glGetShaderiv"; - case EntryPoint::GLGetShaderivRobustANGLE: + case EntryPoint::GetShaderivRobustANGLE: return "glGetShaderivRobustANGLE"; - case EntryPoint::GLGetString: + case EntryPoint::GetString: return "glGetString"; - case EntryPoint::GLGetStringi: + case EntryPoint::GetStringi: return "glGetStringi"; - case EntryPoint::GLGetSubroutineIndex: + case EntryPoint::GetSubroutineIndex: return "glGetSubroutineIndex"; - case EntryPoint::GLGetSubroutineUniformLocation: + case EntryPoint::GetSubroutineUniformLocation: return "glGetSubroutineUniformLocation"; - case EntryPoint::GLGetSynciv: + case EntryPoint::GetSynciv: return "glGetSynciv"; - case EntryPoint::GLGetTexEnvfv: + case EntryPoint::GetTexEnvfv: return "glGetTexEnvfv"; - case EntryPoint::GLGetTexEnviv: + case EntryPoint::GetTexEnviv: return "glGetTexEnviv"; - case EntryPoint::GLGetTexEnvxv: + case EntryPoint::GetTexEnvxv: return "glGetTexEnvxv"; - case EntryPoint::GLGetTexGendv: + case EntryPoint::GetTexGendv: return "glGetTexGendv"; - case EntryPoint::GLGetTexGenfv: + case EntryPoint::GetTexGenfv: return "glGetTexGenfv"; - case EntryPoint::GLGetTexGenfvOES: + case EntryPoint::GetTexGenfvOES: return "glGetTexGenfvOES"; - case EntryPoint::GLGetTexGeniv: + case EntryPoint::GetTexGeniv: return "glGetTexGeniv"; - case EntryPoint::GLGetTexGenivOES: + case EntryPoint::GetTexGenivOES: return "glGetTexGenivOES"; - case EntryPoint::GLGetTexGenxvOES: + case EntryPoint::GetTexGenxvOES: return "glGetTexGenxvOES"; - case EntryPoint::GLGetTexImage: + case EntryPoint::GetTexImage: return "glGetTexImage"; - case EntryPoint::GLGetTexImageANGLE: + case EntryPoint::GetTexImageANGLE: return "glGetTexImageANGLE"; - case EntryPoint::GLGetTexLevelParameterfv: + case EntryPoint::GetTexLevelParameterfv: return "glGetTexLevelParameterfv"; - case EntryPoint::GLGetTexLevelParameterfvANGLE: + case EntryPoint::GetTexLevelParameterfvANGLE: return "glGetTexLevelParameterfvANGLE"; - case EntryPoint::GLGetTexLevelParameterfvRobustANGLE: + case EntryPoint::GetTexLevelParameterfvRobustANGLE: return "glGetTexLevelParameterfvRobustANGLE"; - case EntryPoint::GLGetTexLevelParameteriv: + case EntryPoint::GetTexLevelParameteriv: return "glGetTexLevelParameteriv"; - case EntryPoint::GLGetTexLevelParameterivANGLE: + case EntryPoint::GetTexLevelParameterivANGLE: return "glGetTexLevelParameterivANGLE"; - case EntryPoint::GLGetTexLevelParameterivRobustANGLE: + case EntryPoint::GetTexLevelParameterivRobustANGLE: return "glGetTexLevelParameterivRobustANGLE"; - case EntryPoint::GLGetTexParameterIiv: + case EntryPoint::GetTexParameterIiv: return "glGetTexParameterIiv"; - case EntryPoint::GLGetTexParameterIivEXT: - return "glGetTexParameterIivEXT"; - case EntryPoint::GLGetTexParameterIivOES: + case EntryPoint::GetTexParameterIivOES: return "glGetTexParameterIivOES"; - case EntryPoint::GLGetTexParameterIivRobustANGLE: + case EntryPoint::GetTexParameterIivRobustANGLE: return "glGetTexParameterIivRobustANGLE"; - case EntryPoint::GLGetTexParameterIuiv: + case EntryPoint::GetTexParameterIuiv: return "glGetTexParameterIuiv"; - case EntryPoint::GLGetTexParameterIuivEXT: - return "glGetTexParameterIuivEXT"; - case EntryPoint::GLGetTexParameterIuivOES: + case EntryPoint::GetTexParameterIuivOES: return "glGetTexParameterIuivOES"; - case EntryPoint::GLGetTexParameterIuivRobustANGLE: + case EntryPoint::GetTexParameterIuivRobustANGLE: return "glGetTexParameterIuivRobustANGLE"; - case EntryPoint::GLGetTexParameterfv: + case EntryPoint::GetTexParameterfv: return "glGetTexParameterfv"; - case EntryPoint::GLGetTexParameterfvRobustANGLE: + case EntryPoint::GetTexParameterfvRobustANGLE: return "glGetTexParameterfvRobustANGLE"; - case EntryPoint::GLGetTexParameteriv: + case EntryPoint::GetTexParameteriv: return "glGetTexParameteriv"; - case EntryPoint::GLGetTexParameterivRobustANGLE: + case EntryPoint::GetTexParameterivRobustANGLE: return "glGetTexParameterivRobustANGLE"; - case EntryPoint::GLGetTexParameterxv: + case EntryPoint::GetTexParameterxv: return "glGetTexParameterxv"; - case EntryPoint::GLGetTextureImage: + case EntryPoint::GetTextureImage: return "glGetTextureImage"; - case EntryPoint::GLGetTextureLevelParameterfv: + case EntryPoint::GetTextureLevelParameterfv: return "glGetTextureLevelParameterfv"; - case EntryPoint::GLGetTextureLevelParameteriv: + case EntryPoint::GetTextureLevelParameteriv: return "glGetTextureLevelParameteriv"; - case EntryPoint::GLGetTextureParameterIiv: + case EntryPoint::GetTextureParameterIiv: return "glGetTextureParameterIiv"; - case EntryPoint::GLGetTextureParameterIuiv: + case EntryPoint::GetTextureParameterIuiv: return "glGetTextureParameterIuiv"; - case EntryPoint::GLGetTextureParameterfv: + case EntryPoint::GetTextureParameterfv: return "glGetTextureParameterfv"; - case EntryPoint::GLGetTextureParameteriv: + case EntryPoint::GetTextureParameteriv: return "glGetTextureParameteriv"; - case EntryPoint::GLGetTextureSubImage: + case EntryPoint::GetTextureSubImage: return "glGetTextureSubImage"; - case EntryPoint::GLGetTransformFeedbackVarying: + case EntryPoint::GetTransformFeedbackVarying: return "glGetTransformFeedbackVarying"; - case EntryPoint::GLGetTransformFeedbacki64_v: + case EntryPoint::GetTransformFeedbacki64_v: return "glGetTransformFeedbacki64_v"; - case EntryPoint::GLGetTransformFeedbacki_v: + case EntryPoint::GetTransformFeedbacki_v: return "glGetTransformFeedbacki_v"; - case EntryPoint::GLGetTransformFeedbackiv: + case EntryPoint::GetTransformFeedbackiv: return "glGetTransformFeedbackiv"; - case EntryPoint::GLGetTranslatedShaderSourceANGLE: + case EntryPoint::GetTranslatedShaderSourceANGLE: return "glGetTranslatedShaderSourceANGLE"; - case EntryPoint::GLGetUniformBlockIndex: + case EntryPoint::GetUniformBlockIndex: return "glGetUniformBlockIndex"; - case EntryPoint::GLGetUniformIndices: + case EntryPoint::GetUniformIndices: return "glGetUniformIndices"; - case EntryPoint::GLGetUniformLocation: + case EntryPoint::GetUniformLocation: return "glGetUniformLocation"; - case EntryPoint::GLGetUniformSubroutineuiv: + case EntryPoint::GetUniformSubroutineuiv: return "glGetUniformSubroutineuiv"; - case EntryPoint::GLGetUniformdv: + case EntryPoint::GetUniformdv: return "glGetUniformdv"; - case EntryPoint::GLGetUniformfv: + case EntryPoint::GetUniformfv: return "glGetUniformfv"; - case EntryPoint::GLGetUniformfvRobustANGLE: + case EntryPoint::GetUniformfvRobustANGLE: return "glGetUniformfvRobustANGLE"; - case EntryPoint::GLGetUniformiv: + case EntryPoint::GetUniformiv: return "glGetUniformiv"; - case EntryPoint::GLGetUniformivRobustANGLE: + case EntryPoint::GetUniformivRobustANGLE: return "glGetUniformivRobustANGLE"; - case EntryPoint::GLGetUniformuiv: + case EntryPoint::GetUniformuiv: return "glGetUniformuiv"; - case EntryPoint::GLGetUniformuivRobustANGLE: + case EntryPoint::GetUniformuivRobustANGLE: return "glGetUniformuivRobustANGLE"; - case EntryPoint::GLGetUnsignedBytei_vEXT: + case EntryPoint::GetUnsignedBytei_vEXT: return "glGetUnsignedBytei_vEXT"; - case EntryPoint::GLGetUnsignedBytevEXT: + case EntryPoint::GetUnsignedBytevEXT: return "glGetUnsignedBytevEXT"; - case EntryPoint::GLGetVertexArrayIndexed64iv: + case EntryPoint::GetVertexArrayIndexed64iv: return "glGetVertexArrayIndexed64iv"; - case EntryPoint::GLGetVertexArrayIndexediv: + case EntryPoint::GetVertexArrayIndexediv: return "glGetVertexArrayIndexediv"; - case EntryPoint::GLGetVertexArrayiv: + case EntryPoint::GetVertexArrayiv: return "glGetVertexArrayiv"; - case EntryPoint::GLGetVertexAttribIiv: + case EntryPoint::GetVertexAttribIiv: return "glGetVertexAttribIiv"; - case EntryPoint::GLGetVertexAttribIivRobustANGLE: + case EntryPoint::GetVertexAttribIivRobustANGLE: return "glGetVertexAttribIivRobustANGLE"; - case EntryPoint::GLGetVertexAttribIuiv: + case EntryPoint::GetVertexAttribIuiv: return "glGetVertexAttribIuiv"; - case EntryPoint::GLGetVertexAttribIuivRobustANGLE: + case EntryPoint::GetVertexAttribIuivRobustANGLE: return "glGetVertexAttribIuivRobustANGLE"; - case EntryPoint::GLGetVertexAttribLdv: + case EntryPoint::GetVertexAttribLdv: return "glGetVertexAttribLdv"; - case EntryPoint::GLGetVertexAttribPointerv: + case EntryPoint::GetVertexAttribPointerv: return "glGetVertexAttribPointerv"; - case EntryPoint::GLGetVertexAttribPointervRobustANGLE: + case EntryPoint::GetVertexAttribPointervRobustANGLE: return "glGetVertexAttribPointervRobustANGLE"; - case EntryPoint::GLGetVertexAttribdv: + case EntryPoint::GetVertexAttribdv: return "glGetVertexAttribdv"; - case EntryPoint::GLGetVertexAttribfv: + case EntryPoint::GetVertexAttribfv: return "glGetVertexAttribfv"; - case EntryPoint::GLGetVertexAttribfvRobustANGLE: + case EntryPoint::GetVertexAttribfvRobustANGLE: return "glGetVertexAttribfvRobustANGLE"; - case EntryPoint::GLGetVertexAttribiv: + case EntryPoint::GetVertexAttribiv: return "glGetVertexAttribiv"; - case EntryPoint::GLGetVertexAttribivRobustANGLE: + case EntryPoint::GetVertexAttribivRobustANGLE: return "glGetVertexAttribivRobustANGLE"; - case EntryPoint::GLGetnColorTable: + case EntryPoint::GetnColorTable: return "glGetnColorTable"; - case EntryPoint::GLGetnCompressedTexImage: + case EntryPoint::GetnCompressedTexImage: return "glGetnCompressedTexImage"; - case EntryPoint::GLGetnConvolutionFilter: + case EntryPoint::GetnConvolutionFilter: return "glGetnConvolutionFilter"; - case EntryPoint::GLGetnHistogram: + case EntryPoint::GetnHistogram: return "glGetnHistogram"; - case EntryPoint::GLGetnMapdv: + case EntryPoint::GetnMapdv: return "glGetnMapdv"; - case EntryPoint::GLGetnMapfv: + case EntryPoint::GetnMapfv: return "glGetnMapfv"; - case EntryPoint::GLGetnMapiv: + case EntryPoint::GetnMapiv: return "glGetnMapiv"; - case EntryPoint::GLGetnMinmax: + case EntryPoint::GetnMinmax: return "glGetnMinmax"; - case EntryPoint::GLGetnPixelMapfv: + case EntryPoint::GetnPixelMapfv: return "glGetnPixelMapfv"; - case EntryPoint::GLGetnPixelMapuiv: + case EntryPoint::GetnPixelMapuiv: return "glGetnPixelMapuiv"; - case EntryPoint::GLGetnPixelMapusv: + case EntryPoint::GetnPixelMapusv: return "glGetnPixelMapusv"; - case EntryPoint::GLGetnPolygonStipple: + case EntryPoint::GetnPolygonStipple: return "glGetnPolygonStipple"; - case EntryPoint::GLGetnSeparableFilter: + case EntryPoint::GetnSeparableFilter: return "glGetnSeparableFilter"; - case EntryPoint::GLGetnTexImage: + case EntryPoint::GetnTexImage: return "glGetnTexImage"; - case EntryPoint::GLGetnUniformdv: + case EntryPoint::GetnUniformdv: return "glGetnUniformdv"; - case EntryPoint::GLGetnUniformfv: + case EntryPoint::GetnUniformfv: return "glGetnUniformfv"; - case EntryPoint::GLGetnUniformfvEXT: + case EntryPoint::GetnUniformfvEXT: return "glGetnUniformfvEXT"; - case EntryPoint::GLGetnUniformfvRobustANGLE: + case EntryPoint::GetnUniformfvRobustANGLE: return "glGetnUniformfvRobustANGLE"; - case EntryPoint::GLGetnUniformiv: + case EntryPoint::GetnUniformiv: return "glGetnUniformiv"; - case EntryPoint::GLGetnUniformivEXT: + case EntryPoint::GetnUniformivEXT: return "glGetnUniformivEXT"; - case EntryPoint::GLGetnUniformivRobustANGLE: + case EntryPoint::GetnUniformivRobustANGLE: return "glGetnUniformivRobustANGLE"; - case EntryPoint::GLGetnUniformuiv: + case EntryPoint::GetnUniformuiv: return "glGetnUniformuiv"; - case EntryPoint::GLGetnUniformuivRobustANGLE: + case EntryPoint::GetnUniformuivRobustANGLE: return "glGetnUniformuivRobustANGLE"; - case EntryPoint::GLHint: + case EntryPoint::Hint: return "glHint"; - case EntryPoint::GLImportMemoryFdEXT: + case EntryPoint::ImportMemoryFdEXT: return "glImportMemoryFdEXT"; - case EntryPoint::GLImportMemoryZirconHandleANGLE: + case EntryPoint::ImportMemoryZirconHandleANGLE: return "glImportMemoryZirconHandleANGLE"; - case EntryPoint::GLImportSemaphoreFdEXT: + case EntryPoint::ImportSemaphoreFdEXT: return "glImportSemaphoreFdEXT"; - case EntryPoint::GLImportSemaphoreZirconHandleANGLE: + case EntryPoint::ImportSemaphoreZirconHandleANGLE: return "glImportSemaphoreZirconHandleANGLE"; - case EntryPoint::GLIndexMask: + case EntryPoint::IndexMask: return "glIndexMask"; - case EntryPoint::GLIndexPointer: + case EntryPoint::IndexPointer: return "glIndexPointer"; - case EntryPoint::GLIndexd: + case EntryPoint::Indexd: return "glIndexd"; - case EntryPoint::GLIndexdv: + case EntryPoint::Indexdv: return "glIndexdv"; - case EntryPoint::GLIndexf: + case EntryPoint::Indexf: return "glIndexf"; - case EntryPoint::GLIndexfv: + case EntryPoint::Indexfv: return "glIndexfv"; - case EntryPoint::GLIndexi: + case EntryPoint::Indexi: return "glIndexi"; - case EntryPoint::GLIndexiv: + case EntryPoint::Indexiv: return "glIndexiv"; - case EntryPoint::GLIndexs: + case EntryPoint::Indexs: return "glIndexs"; - case EntryPoint::GLIndexsv: + case EntryPoint::Indexsv: return "glIndexsv"; - case EntryPoint::GLIndexub: + case EntryPoint::Indexub: return "glIndexub"; - case EntryPoint::GLIndexubv: + case EntryPoint::Indexubv: return "glIndexubv"; - case EntryPoint::GLInitNames: + case EntryPoint::InitNames: return "glInitNames"; - case EntryPoint::GLInsertEventMarkerEXT: + case EntryPoint::InsertEventMarkerEXT: return "glInsertEventMarkerEXT"; - case EntryPoint::GLInterleavedArrays: + case EntryPoint::InterleavedArrays: return "glInterleavedArrays"; - case EntryPoint::GLInvalid: + case EntryPoint::Invalid: return "glInvalid"; - case EntryPoint::GLInvalidateBufferData: + case EntryPoint::InvalidateBufferData: return "glInvalidateBufferData"; - case EntryPoint::GLInvalidateBufferSubData: + case EntryPoint::InvalidateBufferSubData: return "glInvalidateBufferSubData"; - case EntryPoint::GLInvalidateFramebuffer: + case EntryPoint::InvalidateFramebuffer: return "glInvalidateFramebuffer"; - case EntryPoint::GLInvalidateNamedFramebufferData: + case EntryPoint::InvalidateNamedFramebufferData: return "glInvalidateNamedFramebufferData"; - case EntryPoint::GLInvalidateNamedFramebufferSubData: + case EntryPoint::InvalidateNamedFramebufferSubData: return "glInvalidateNamedFramebufferSubData"; - case EntryPoint::GLInvalidateSubFramebuffer: + case EntryPoint::InvalidateSubFramebuffer: return "glInvalidateSubFramebuffer"; - case EntryPoint::GLInvalidateTexImage: + case EntryPoint::InvalidateTexImage: return "glInvalidateTexImage"; - case EntryPoint::GLInvalidateTexSubImage: + case EntryPoint::InvalidateTexSubImage: return "glInvalidateTexSubImage"; - case EntryPoint::GLInvalidateTextureANGLE: + case EntryPoint::InvalidateTextureANGLE: return "glInvalidateTextureANGLE"; - case EntryPoint::GLIsBuffer: + case EntryPoint::IsBuffer: return "glIsBuffer"; - case EntryPoint::GLIsEnabled: + case EntryPoint::IsEnabled: return "glIsEnabled"; - case EntryPoint::GLIsEnabledi: + case EntryPoint::IsEnabledi: return "glIsEnabledi"; - case EntryPoint::GLIsEnablediEXT: + case EntryPoint::IsEnablediEXT: return "glIsEnablediEXT"; - case EntryPoint::GLIsEnablediOES: + case EntryPoint::IsEnablediOES: return "glIsEnablediOES"; - case EntryPoint::GLIsFenceNV: + case EntryPoint::IsFenceNV: return "glIsFenceNV"; - case EntryPoint::GLIsFramebuffer: + case EntryPoint::IsFramebuffer: return "glIsFramebuffer"; - case EntryPoint::GLIsFramebufferOES: + case EntryPoint::IsFramebufferOES: return "glIsFramebufferOES"; - case EntryPoint::GLIsList: + case EntryPoint::IsList: return "glIsList"; - case EntryPoint::GLIsMemoryObjectEXT: + case EntryPoint::IsMemoryObjectEXT: return "glIsMemoryObjectEXT"; - case EntryPoint::GLIsProgram: + case EntryPoint::IsProgram: return "glIsProgram"; - case EntryPoint::GLIsProgramPipeline: + case EntryPoint::IsProgramPipeline: return "glIsProgramPipeline"; - case EntryPoint::GLIsProgramPipelineEXT: - return "glIsProgramPipelineEXT"; - case EntryPoint::GLIsQuery: + case EntryPoint::IsQuery: return "glIsQuery"; - case EntryPoint::GLIsQueryEXT: + case EntryPoint::IsQueryEXT: return "glIsQueryEXT"; - case EntryPoint::GLIsRenderbuffer: + case EntryPoint::IsRenderbuffer: return "glIsRenderbuffer"; - case EntryPoint::GLIsRenderbufferOES: + case EntryPoint::IsRenderbufferOES: return "glIsRenderbufferOES"; - case EntryPoint::GLIsSampler: + case EntryPoint::IsSampler: return "glIsSampler"; - case EntryPoint::GLIsSemaphoreEXT: + case EntryPoint::IsSemaphoreEXT: return "glIsSemaphoreEXT"; - case EntryPoint::GLIsShader: + case EntryPoint::IsShader: return "glIsShader"; - case EntryPoint::GLIsSync: + case EntryPoint::IsSync: return "glIsSync"; - case EntryPoint::GLIsTexture: + case EntryPoint::IsTexture: return "glIsTexture"; - case EntryPoint::GLIsTransformFeedback: + case EntryPoint::IsTransformFeedback: return "glIsTransformFeedback"; - case EntryPoint::GLIsVertexArray: + case EntryPoint::IsVertexArray: return "glIsVertexArray"; - case EntryPoint::GLIsVertexArrayOES: + case EntryPoint::IsVertexArrayOES: return "glIsVertexArrayOES"; - case EntryPoint::GLLabelObjectEXT: - return "glLabelObjectEXT"; - case EntryPoint::GLLightModelf: + case EntryPoint::LightModelf: return "glLightModelf"; - case EntryPoint::GLLightModelfv: + case EntryPoint::LightModelfv: return "glLightModelfv"; - case EntryPoint::GLLightModeli: + case EntryPoint::LightModeli: return "glLightModeli"; - case EntryPoint::GLLightModeliv: + case EntryPoint::LightModeliv: return "glLightModeliv"; - case EntryPoint::GLLightModelx: + case EntryPoint::LightModelx: return "glLightModelx"; - case EntryPoint::GLLightModelxv: + case EntryPoint::LightModelxv: return "glLightModelxv"; - case EntryPoint::GLLightf: + case EntryPoint::Lightf: return "glLightf"; - case EntryPoint::GLLightfv: + case EntryPoint::Lightfv: return "glLightfv"; - case EntryPoint::GLLighti: + case EntryPoint::Lighti: return "glLighti"; - case EntryPoint::GLLightiv: + case EntryPoint::Lightiv: return "glLightiv"; - case EntryPoint::GLLightx: + case EntryPoint::Lightx: return "glLightx"; - case EntryPoint::GLLightxv: + case EntryPoint::Lightxv: return "glLightxv"; - case EntryPoint::GLLineStipple: + case EntryPoint::LineStipple: return "glLineStipple"; - case EntryPoint::GLLineWidth: + case EntryPoint::LineWidth: return "glLineWidth"; - case EntryPoint::GLLineWidthx: + case EntryPoint::LineWidthx: return "glLineWidthx"; - case EntryPoint::GLLinkProgram: + case EntryPoint::LinkProgram: return "glLinkProgram"; - case EntryPoint::GLListBase: + case EntryPoint::ListBase: return "glListBase"; - case EntryPoint::GLLoadIdentity: + case EntryPoint::LoadIdentity: return "glLoadIdentity"; - case EntryPoint::GLLoadMatrixd: + case EntryPoint::LoadMatrixd: return "glLoadMatrixd"; - case EntryPoint::GLLoadMatrixf: + case EntryPoint::LoadMatrixf: return "glLoadMatrixf"; - case EntryPoint::GLLoadMatrixx: + case EntryPoint::LoadMatrixx: return "glLoadMatrixx"; - case EntryPoint::GLLoadName: + case EntryPoint::LoadName: return "glLoadName"; - case EntryPoint::GLLoadPaletteFromModelViewMatrixOES: + case EntryPoint::LoadPaletteFromModelViewMatrixOES: return "glLoadPaletteFromModelViewMatrixOES"; - case EntryPoint::GLLoadTransposeMatrixd: + case EntryPoint::LoadTransposeMatrixd: return "glLoadTransposeMatrixd"; - case EntryPoint::GLLoadTransposeMatrixf: + case EntryPoint::LoadTransposeMatrixf: return "glLoadTransposeMatrixf"; - case EntryPoint::GLLogicOp: + case EntryPoint::LogicOp: return "glLogicOp"; - case EntryPoint::GLLoseContextCHROMIUM: + case EntryPoint::LoseContextCHROMIUM: return "glLoseContextCHROMIUM"; - case EntryPoint::GLMap1d: + case EntryPoint::Map1d: return "glMap1d"; - case EntryPoint::GLMap1f: + case EntryPoint::Map1f: return "glMap1f"; - case EntryPoint::GLMap2d: + case EntryPoint::Map2d: return "glMap2d"; - case EntryPoint::GLMap2f: + case EntryPoint::Map2f: return "glMap2f"; - case EntryPoint::GLMapBuffer: + case EntryPoint::MapBuffer: return "glMapBuffer"; - case EntryPoint::GLMapBufferOES: + case EntryPoint::MapBufferOES: return "glMapBufferOES"; - case EntryPoint::GLMapBufferRange: + case EntryPoint::MapBufferRange: return "glMapBufferRange"; - case EntryPoint::GLMapBufferRangeEXT: + case EntryPoint::MapBufferRangeEXT: return "glMapBufferRangeEXT"; - case EntryPoint::GLMapGrid1d: + case EntryPoint::MapGrid1d: return "glMapGrid1d"; - case EntryPoint::GLMapGrid1f: + case EntryPoint::MapGrid1f: return "glMapGrid1f"; - case EntryPoint::GLMapGrid2d: + case EntryPoint::MapGrid2d: return "glMapGrid2d"; - case EntryPoint::GLMapGrid2f: + case EntryPoint::MapGrid2f: return "glMapGrid2f"; - case EntryPoint::GLMapNamedBuffer: + case EntryPoint::MapNamedBuffer: return "glMapNamedBuffer"; - case EntryPoint::GLMapNamedBufferRange: + case EntryPoint::MapNamedBufferRange: return "glMapNamedBufferRange"; - case EntryPoint::GLMaterialf: + case EntryPoint::Materialf: return "glMaterialf"; - case EntryPoint::GLMaterialfv: + case EntryPoint::Materialfv: return "glMaterialfv"; - case EntryPoint::GLMateriali: + case EntryPoint::Materiali: return "glMateriali"; - case EntryPoint::GLMaterialiv: + case EntryPoint::Materialiv: return "glMaterialiv"; - case EntryPoint::GLMaterialx: + case EntryPoint::Materialx: return "glMaterialx"; - case EntryPoint::GLMaterialxv: + case EntryPoint::Materialxv: return "glMaterialxv"; - case EntryPoint::GLMatrixIndexPointerOES: + case EntryPoint::MatrixIndexPointerOES: return "glMatrixIndexPointerOES"; - case EntryPoint::GLMatrixMode: + case EntryPoint::MatrixMode: return "glMatrixMode"; - case EntryPoint::GLMaxShaderCompilerThreadsKHR: + case EntryPoint::MaxShaderCompilerThreadsKHR: return "glMaxShaderCompilerThreadsKHR"; - case EntryPoint::GLMemoryBarrier: + case EntryPoint::MemoryBarrier: return "glMemoryBarrier"; - case EntryPoint::GLMemoryBarrierByRegion: + case EntryPoint::MemoryBarrierByRegion: return "glMemoryBarrierByRegion"; - case EntryPoint::GLMemoryObjectParameterivEXT: + case EntryPoint::MemoryObjectParameterivEXT: return "glMemoryObjectParameterivEXT"; - case EntryPoint::GLMinSampleShading: + case EntryPoint::MinSampleShading: return "glMinSampleShading"; - case EntryPoint::GLMinSampleShadingOES: + case EntryPoint::MinSampleShadingOES: return "glMinSampleShadingOES"; - case EntryPoint::GLMultMatrixd: + case EntryPoint::MultMatrixd: return "glMultMatrixd"; - case EntryPoint::GLMultMatrixf: + case EntryPoint::MultMatrixf: return "glMultMatrixf"; - case EntryPoint::GLMultMatrixx: + case EntryPoint::MultMatrixx: return "glMultMatrixx"; - case EntryPoint::GLMultTransposeMatrixd: + case EntryPoint::MultTransposeMatrixd: return "glMultTransposeMatrixd"; - case EntryPoint::GLMultTransposeMatrixf: + case EntryPoint::MultTransposeMatrixf: return "glMultTransposeMatrixf"; - case EntryPoint::GLMultiDrawArrays: + case EntryPoint::MultiDrawArrays: return "glMultiDrawArrays"; - case EntryPoint::GLMultiDrawArraysANGLE: + case EntryPoint::MultiDrawArraysANGLE: return "glMultiDrawArraysANGLE"; - case EntryPoint::GLMultiDrawArraysIndirect: + case EntryPoint::MultiDrawArraysIndirect: return "glMultiDrawArraysIndirect"; - case EntryPoint::GLMultiDrawArraysIndirectCount: + case EntryPoint::MultiDrawArraysIndirectCount: return "glMultiDrawArraysIndirectCount"; - case EntryPoint::GLMultiDrawArraysInstancedANGLE: + case EntryPoint::MultiDrawArraysInstancedANGLE: return "glMultiDrawArraysInstancedANGLE"; - case EntryPoint::GLMultiDrawArraysInstancedBaseInstanceANGLE: + case EntryPoint::MultiDrawArraysInstancedBaseInstanceANGLE: return "glMultiDrawArraysInstancedBaseInstanceANGLE"; - case EntryPoint::GLMultiDrawElements: + case EntryPoint::MultiDrawElements: return "glMultiDrawElements"; - case EntryPoint::GLMultiDrawElementsANGLE: + case EntryPoint::MultiDrawElementsANGLE: return "glMultiDrawElementsANGLE"; - case EntryPoint::GLMultiDrawElementsBaseVertex: + case EntryPoint::MultiDrawElementsBaseVertex: return "glMultiDrawElementsBaseVertex"; - case EntryPoint::GLMultiDrawElementsBaseVertexEXT: + case EntryPoint::MultiDrawElementsBaseVertexEXT: return "glMultiDrawElementsBaseVertexEXT"; - case EntryPoint::GLMultiDrawElementsIndirect: + case EntryPoint::MultiDrawElementsIndirect: return "glMultiDrawElementsIndirect"; - case EntryPoint::GLMultiDrawElementsIndirectCount: + case EntryPoint::MultiDrawElementsIndirectCount: return "glMultiDrawElementsIndirectCount"; - case EntryPoint::GLMultiDrawElementsInstancedANGLE: + case EntryPoint::MultiDrawElementsInstancedANGLE: return "glMultiDrawElementsInstancedANGLE"; - case EntryPoint::GLMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE: + case EntryPoint::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE: return "glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE"; - case EntryPoint::GLMultiTexCoord1d: + case EntryPoint::MultiTexCoord1d: return "glMultiTexCoord1d"; - case EntryPoint::GLMultiTexCoord1dv: + case EntryPoint::MultiTexCoord1dv: return "glMultiTexCoord1dv"; - case EntryPoint::GLMultiTexCoord1f: + case EntryPoint::MultiTexCoord1f: return "glMultiTexCoord1f"; - case EntryPoint::GLMultiTexCoord1fv: + case EntryPoint::MultiTexCoord1fv: return "glMultiTexCoord1fv"; - case EntryPoint::GLMultiTexCoord1i: + case EntryPoint::MultiTexCoord1i: return "glMultiTexCoord1i"; - case EntryPoint::GLMultiTexCoord1iv: + case EntryPoint::MultiTexCoord1iv: return "glMultiTexCoord1iv"; - case EntryPoint::GLMultiTexCoord1s: + case EntryPoint::MultiTexCoord1s: return "glMultiTexCoord1s"; - case EntryPoint::GLMultiTexCoord1sv: + case EntryPoint::MultiTexCoord1sv: return "glMultiTexCoord1sv"; - case EntryPoint::GLMultiTexCoord2d: + case EntryPoint::MultiTexCoord2d: return "glMultiTexCoord2d"; - case EntryPoint::GLMultiTexCoord2dv: + case EntryPoint::MultiTexCoord2dv: return "glMultiTexCoord2dv"; - case EntryPoint::GLMultiTexCoord2f: + case EntryPoint::MultiTexCoord2f: return "glMultiTexCoord2f"; - case EntryPoint::GLMultiTexCoord2fv: + case EntryPoint::MultiTexCoord2fv: return "glMultiTexCoord2fv"; - case EntryPoint::GLMultiTexCoord2i: + case EntryPoint::MultiTexCoord2i: return "glMultiTexCoord2i"; - case EntryPoint::GLMultiTexCoord2iv: + case EntryPoint::MultiTexCoord2iv: return "glMultiTexCoord2iv"; - case EntryPoint::GLMultiTexCoord2s: + case EntryPoint::MultiTexCoord2s: return "glMultiTexCoord2s"; - case EntryPoint::GLMultiTexCoord2sv: + case EntryPoint::MultiTexCoord2sv: return "glMultiTexCoord2sv"; - case EntryPoint::GLMultiTexCoord3d: + case EntryPoint::MultiTexCoord3d: return "glMultiTexCoord3d"; - case EntryPoint::GLMultiTexCoord3dv: + case EntryPoint::MultiTexCoord3dv: return "glMultiTexCoord3dv"; - case EntryPoint::GLMultiTexCoord3f: + case EntryPoint::MultiTexCoord3f: return "glMultiTexCoord3f"; - case EntryPoint::GLMultiTexCoord3fv: + case EntryPoint::MultiTexCoord3fv: return "glMultiTexCoord3fv"; - case EntryPoint::GLMultiTexCoord3i: + case EntryPoint::MultiTexCoord3i: return "glMultiTexCoord3i"; - case EntryPoint::GLMultiTexCoord3iv: + case EntryPoint::MultiTexCoord3iv: return "glMultiTexCoord3iv"; - case EntryPoint::GLMultiTexCoord3s: + case EntryPoint::MultiTexCoord3s: return "glMultiTexCoord3s"; - case EntryPoint::GLMultiTexCoord3sv: + case EntryPoint::MultiTexCoord3sv: return "glMultiTexCoord3sv"; - case EntryPoint::GLMultiTexCoord4d: + case EntryPoint::MultiTexCoord4d: return "glMultiTexCoord4d"; - case EntryPoint::GLMultiTexCoord4dv: + case EntryPoint::MultiTexCoord4dv: return "glMultiTexCoord4dv"; - case EntryPoint::GLMultiTexCoord4f: + case EntryPoint::MultiTexCoord4f: return "glMultiTexCoord4f"; - case EntryPoint::GLMultiTexCoord4fv: + case EntryPoint::MultiTexCoord4fv: return "glMultiTexCoord4fv"; - case EntryPoint::GLMultiTexCoord4i: + case EntryPoint::MultiTexCoord4i: return "glMultiTexCoord4i"; - case EntryPoint::GLMultiTexCoord4iv: + case EntryPoint::MultiTexCoord4iv: return "glMultiTexCoord4iv"; - case EntryPoint::GLMultiTexCoord4s: + case EntryPoint::MultiTexCoord4s: return "glMultiTexCoord4s"; - case EntryPoint::GLMultiTexCoord4sv: + case EntryPoint::MultiTexCoord4sv: return "glMultiTexCoord4sv"; - case EntryPoint::GLMultiTexCoord4x: + case EntryPoint::MultiTexCoord4x: return "glMultiTexCoord4x"; - case EntryPoint::GLMultiTexCoordP1ui: + case EntryPoint::MultiTexCoordP1ui: return "glMultiTexCoordP1ui"; - case EntryPoint::GLMultiTexCoordP1uiv: + case EntryPoint::MultiTexCoordP1uiv: return "glMultiTexCoordP1uiv"; - case EntryPoint::GLMultiTexCoordP2ui: + case EntryPoint::MultiTexCoordP2ui: return "glMultiTexCoordP2ui"; - case EntryPoint::GLMultiTexCoordP2uiv: + case EntryPoint::MultiTexCoordP2uiv: return "glMultiTexCoordP2uiv"; - case EntryPoint::GLMultiTexCoordP3ui: + case EntryPoint::MultiTexCoordP3ui: return "glMultiTexCoordP3ui"; - case EntryPoint::GLMultiTexCoordP3uiv: + case EntryPoint::MultiTexCoordP3uiv: return "glMultiTexCoordP3uiv"; - case EntryPoint::GLMultiTexCoordP4ui: + case EntryPoint::MultiTexCoordP4ui: return "glMultiTexCoordP4ui"; - case EntryPoint::GLMultiTexCoordP4uiv: + case EntryPoint::MultiTexCoordP4uiv: return "glMultiTexCoordP4uiv"; - case EntryPoint::GLNamedBufferData: + case EntryPoint::NamedBufferData: return "glNamedBufferData"; - case EntryPoint::GLNamedBufferStorage: + case EntryPoint::NamedBufferStorage: return "glNamedBufferStorage"; - case EntryPoint::GLNamedBufferStorageExternalEXT: + case EntryPoint::NamedBufferStorageExternalEXT: return "glNamedBufferStorageExternalEXT"; - case EntryPoint::GLNamedBufferSubData: + case EntryPoint::NamedBufferSubData: return "glNamedBufferSubData"; - case EntryPoint::GLNamedFramebufferDrawBuffer: + case EntryPoint::NamedFramebufferDrawBuffer: return "glNamedFramebufferDrawBuffer"; - case EntryPoint::GLNamedFramebufferDrawBuffers: + case EntryPoint::NamedFramebufferDrawBuffers: return "glNamedFramebufferDrawBuffers"; - case EntryPoint::GLNamedFramebufferParameteri: + case EntryPoint::NamedFramebufferParameteri: return "glNamedFramebufferParameteri"; - case EntryPoint::GLNamedFramebufferReadBuffer: + case EntryPoint::NamedFramebufferReadBuffer: return "glNamedFramebufferReadBuffer"; - case EntryPoint::GLNamedFramebufferRenderbuffer: + case EntryPoint::NamedFramebufferRenderbuffer: return "glNamedFramebufferRenderbuffer"; - case EntryPoint::GLNamedFramebufferTexture: + case EntryPoint::NamedFramebufferTexture: return "glNamedFramebufferTexture"; - case EntryPoint::GLNamedFramebufferTextureLayer: + case EntryPoint::NamedFramebufferTextureLayer: return "glNamedFramebufferTextureLayer"; - case EntryPoint::GLNamedRenderbufferStorage: + case EntryPoint::NamedRenderbufferStorage: return "glNamedRenderbufferStorage"; - case EntryPoint::GLNamedRenderbufferStorageMultisample: + case EntryPoint::NamedRenderbufferStorageMultisample: return "glNamedRenderbufferStorageMultisample"; - case EntryPoint::GLNewList: + case EntryPoint::NewList: return "glNewList"; - case EntryPoint::GLNormal3b: + case EntryPoint::Normal3b: return "glNormal3b"; - case EntryPoint::GLNormal3bv: + case EntryPoint::Normal3bv: return "glNormal3bv"; - case EntryPoint::GLNormal3d: + case EntryPoint::Normal3d: return "glNormal3d"; - case EntryPoint::GLNormal3dv: + case EntryPoint::Normal3dv: return "glNormal3dv"; - case EntryPoint::GLNormal3f: + case EntryPoint::Normal3f: return "glNormal3f"; - case EntryPoint::GLNormal3fv: + case EntryPoint::Normal3fv: return "glNormal3fv"; - case EntryPoint::GLNormal3i: + case EntryPoint::Normal3i: return "glNormal3i"; - case EntryPoint::GLNormal3iv: + case EntryPoint::Normal3iv: return "glNormal3iv"; - case EntryPoint::GLNormal3s: + case EntryPoint::Normal3s: return "glNormal3s"; - case EntryPoint::GLNormal3sv: + case EntryPoint::Normal3sv: return "glNormal3sv"; - case EntryPoint::GLNormal3x: + case EntryPoint::Normal3x: return "glNormal3x"; - case EntryPoint::GLNormalP3ui: + case EntryPoint::NormalP3ui: return "glNormalP3ui"; - case EntryPoint::GLNormalP3uiv: + case EntryPoint::NormalP3uiv: return "glNormalP3uiv"; - case EntryPoint::GLNormalPointer: + case EntryPoint::NormalPointer: return "glNormalPointer"; - case EntryPoint::GLObjectLabel: + case EntryPoint::ObjectLabel: return "glObjectLabel"; - case EntryPoint::GLObjectLabelKHR: + case EntryPoint::ObjectLabelKHR: return "glObjectLabelKHR"; - case EntryPoint::GLObjectPtrLabel: + case EntryPoint::ObjectPtrLabel: return "glObjectPtrLabel"; - case EntryPoint::GLObjectPtrLabelKHR: + case EntryPoint::ObjectPtrLabelKHR: return "glObjectPtrLabelKHR"; - case EntryPoint::GLOrtho: + case EntryPoint::Ortho: return "glOrtho"; - case EntryPoint::GLOrthof: + case EntryPoint::Orthof: return "glOrthof"; - case EntryPoint::GLOrthox: + case EntryPoint::Orthox: return "glOrthox"; - case EntryPoint::GLPassThrough: + case EntryPoint::PassThrough: return "glPassThrough"; - case EntryPoint::GLPatchParameterfv: + case EntryPoint::PatchParameterfv: return "glPatchParameterfv"; - case EntryPoint::GLPatchParameteri: + case EntryPoint::PatchParameteri: return "glPatchParameteri"; - case EntryPoint::GLPatchParameteriEXT: - return "glPatchParameteriEXT"; - case EntryPoint::GLPauseTransformFeedback: + case EntryPoint::PauseTransformFeedback: return "glPauseTransformFeedback"; - case EntryPoint::GLPixelMapfv: + case EntryPoint::PixelMapfv: return "glPixelMapfv"; - case EntryPoint::GLPixelMapuiv: + case EntryPoint::PixelMapuiv: return "glPixelMapuiv"; - case EntryPoint::GLPixelMapusv: + case EntryPoint::PixelMapusv: return "glPixelMapusv"; - case EntryPoint::GLPixelStoref: + case EntryPoint::PixelStoref: return "glPixelStoref"; - case EntryPoint::GLPixelStorei: + case EntryPoint::PixelStorei: return "glPixelStorei"; - case EntryPoint::GLPixelTransferf: + case EntryPoint::PixelTransferf: return "glPixelTransferf"; - case EntryPoint::GLPixelTransferi: + case EntryPoint::PixelTransferi: return "glPixelTransferi"; - case EntryPoint::GLPixelZoom: + case EntryPoint::PixelZoom: return "glPixelZoom"; - case EntryPoint::GLPointParameterf: + case EntryPoint::PointParameterf: return "glPointParameterf"; - case EntryPoint::GLPointParameterfv: + case EntryPoint::PointParameterfv: return "glPointParameterfv"; - case EntryPoint::GLPointParameteri: + case EntryPoint::PointParameteri: return "glPointParameteri"; - case EntryPoint::GLPointParameteriv: + case EntryPoint::PointParameteriv: return "glPointParameteriv"; - case EntryPoint::GLPointParameterx: + case EntryPoint::PointParameterx: return "glPointParameterx"; - case EntryPoint::GLPointParameterxv: + case EntryPoint::PointParameterxv: return "glPointParameterxv"; - case EntryPoint::GLPointSize: + case EntryPoint::PointSize: return "glPointSize"; - case EntryPoint::GLPointSizePointerOES: + case EntryPoint::PointSizePointerOES: return "glPointSizePointerOES"; - case EntryPoint::GLPointSizex: + case EntryPoint::PointSizex: return "glPointSizex"; - case EntryPoint::GLPolygonMode: + case EntryPoint::PolygonMode: return "glPolygonMode"; - case EntryPoint::GLPolygonOffset: + case EntryPoint::PolygonOffset: return "glPolygonOffset"; - case EntryPoint::GLPolygonOffsetClamp: + case EntryPoint::PolygonOffsetClamp: return "glPolygonOffsetClamp"; - case EntryPoint::GLPolygonOffsetx: + case EntryPoint::PolygonOffsetx: return "glPolygonOffsetx"; - case EntryPoint::GLPolygonStipple: + case EntryPoint::PolygonStipple: return "glPolygonStipple"; - case EntryPoint::GLPopAttrib: + case EntryPoint::PopAttrib: return "glPopAttrib"; - case EntryPoint::GLPopClientAttrib: + case EntryPoint::PopClientAttrib: return "glPopClientAttrib"; - case EntryPoint::GLPopDebugGroup: + case EntryPoint::PopDebugGroup: return "glPopDebugGroup"; - case EntryPoint::GLPopDebugGroupKHR: + case EntryPoint::PopDebugGroupKHR: return "glPopDebugGroupKHR"; - case EntryPoint::GLPopGroupMarkerEXT: + case EntryPoint::PopGroupMarkerEXT: return "glPopGroupMarkerEXT"; - case EntryPoint::GLPopMatrix: + case EntryPoint::PopMatrix: return "glPopMatrix"; - case EntryPoint::GLPopName: + case EntryPoint::PopName: return "glPopName"; - case EntryPoint::GLPrimitiveBoundingBox: + case EntryPoint::PrimitiveBoundingBox: return "glPrimitiveBoundingBox"; - case EntryPoint::GLPrimitiveBoundingBoxEXT: - return "glPrimitiveBoundingBoxEXT"; - case EntryPoint::GLPrimitiveRestartIndex: + case EntryPoint::PrimitiveRestartIndex: return "glPrimitiveRestartIndex"; - case EntryPoint::GLPrioritizeTextures: + case EntryPoint::PrioritizeTextures: return "glPrioritizeTextures"; - case EntryPoint::GLProgramBinary: + case EntryPoint::ProgramBinary: return "glProgramBinary"; - case EntryPoint::GLProgramBinaryOES: + case EntryPoint::ProgramBinaryOES: return "glProgramBinaryOES"; - case EntryPoint::GLProgramParameteri: + case EntryPoint::ProgramParameteri: return "glProgramParameteri"; - case EntryPoint::GLProgramParameteriEXT: - return "glProgramParameteriEXT"; - case EntryPoint::GLProgramUniform1d: + case EntryPoint::ProgramUniform1d: return "glProgramUniform1d"; - case EntryPoint::GLProgramUniform1dv: + case EntryPoint::ProgramUniform1dv: return "glProgramUniform1dv"; - case EntryPoint::GLProgramUniform1f: + case EntryPoint::ProgramUniform1f: return "glProgramUniform1f"; - case EntryPoint::GLProgramUniform1fEXT: - return "glProgramUniform1fEXT"; - case EntryPoint::GLProgramUniform1fv: + case EntryPoint::ProgramUniform1fv: return "glProgramUniform1fv"; - case EntryPoint::GLProgramUniform1fvEXT: - return "glProgramUniform1fvEXT"; - case EntryPoint::GLProgramUniform1i: + case EntryPoint::ProgramUniform1i: return "glProgramUniform1i"; - case EntryPoint::GLProgramUniform1iEXT: - return "glProgramUniform1iEXT"; - case EntryPoint::GLProgramUniform1iv: + case EntryPoint::ProgramUniform1iv: return "glProgramUniform1iv"; - case EntryPoint::GLProgramUniform1ivEXT: - return "glProgramUniform1ivEXT"; - case EntryPoint::GLProgramUniform1ui: + case EntryPoint::ProgramUniform1ui: return "glProgramUniform1ui"; - case EntryPoint::GLProgramUniform1uiEXT: - return "glProgramUniform1uiEXT"; - case EntryPoint::GLProgramUniform1uiv: + case EntryPoint::ProgramUniform1uiv: return "glProgramUniform1uiv"; - case EntryPoint::GLProgramUniform1uivEXT: - return "glProgramUniform1uivEXT"; - case EntryPoint::GLProgramUniform2d: + case EntryPoint::ProgramUniform2d: return "glProgramUniform2d"; - case EntryPoint::GLProgramUniform2dv: + case EntryPoint::ProgramUniform2dv: return "glProgramUniform2dv"; - case EntryPoint::GLProgramUniform2f: + case EntryPoint::ProgramUniform2f: return "glProgramUniform2f"; - case EntryPoint::GLProgramUniform2fEXT: - return "glProgramUniform2fEXT"; - case EntryPoint::GLProgramUniform2fv: + case EntryPoint::ProgramUniform2fv: return "glProgramUniform2fv"; - case EntryPoint::GLProgramUniform2fvEXT: - return "glProgramUniform2fvEXT"; - case EntryPoint::GLProgramUniform2i: + case EntryPoint::ProgramUniform2i: return "glProgramUniform2i"; - case EntryPoint::GLProgramUniform2iEXT: - return "glProgramUniform2iEXT"; - case EntryPoint::GLProgramUniform2iv: + case EntryPoint::ProgramUniform2iv: return "glProgramUniform2iv"; - case EntryPoint::GLProgramUniform2ivEXT: - return "glProgramUniform2ivEXT"; - case EntryPoint::GLProgramUniform2ui: + case EntryPoint::ProgramUniform2ui: return "glProgramUniform2ui"; - case EntryPoint::GLProgramUniform2uiEXT: - return "glProgramUniform2uiEXT"; - case EntryPoint::GLProgramUniform2uiv: + case EntryPoint::ProgramUniform2uiv: return "glProgramUniform2uiv"; - case EntryPoint::GLProgramUniform2uivEXT: - return "glProgramUniform2uivEXT"; - case EntryPoint::GLProgramUniform3d: + case EntryPoint::ProgramUniform3d: return "glProgramUniform3d"; - case EntryPoint::GLProgramUniform3dv: + case EntryPoint::ProgramUniform3dv: return "glProgramUniform3dv"; - case EntryPoint::GLProgramUniform3f: + case EntryPoint::ProgramUniform3f: return "glProgramUniform3f"; - case EntryPoint::GLProgramUniform3fEXT: - return "glProgramUniform3fEXT"; - case EntryPoint::GLProgramUniform3fv: + case EntryPoint::ProgramUniform3fv: return "glProgramUniform3fv"; - case EntryPoint::GLProgramUniform3fvEXT: - return "glProgramUniform3fvEXT"; - case EntryPoint::GLProgramUniform3i: + case EntryPoint::ProgramUniform3i: return "glProgramUniform3i"; - case EntryPoint::GLProgramUniform3iEXT: - return "glProgramUniform3iEXT"; - case EntryPoint::GLProgramUniform3iv: + case EntryPoint::ProgramUniform3iv: return "glProgramUniform3iv"; - case EntryPoint::GLProgramUniform3ivEXT: - return "glProgramUniform3ivEXT"; - case EntryPoint::GLProgramUniform3ui: + case EntryPoint::ProgramUniform3ui: return "glProgramUniform3ui"; - case EntryPoint::GLProgramUniform3uiEXT: - return "glProgramUniform3uiEXT"; - case EntryPoint::GLProgramUniform3uiv: + case EntryPoint::ProgramUniform3uiv: return "glProgramUniform3uiv"; - case EntryPoint::GLProgramUniform3uivEXT: - return "glProgramUniform3uivEXT"; - case EntryPoint::GLProgramUniform4d: + case EntryPoint::ProgramUniform4d: return "glProgramUniform4d"; - case EntryPoint::GLProgramUniform4dv: + case EntryPoint::ProgramUniform4dv: return "glProgramUniform4dv"; - case EntryPoint::GLProgramUniform4f: + case EntryPoint::ProgramUniform4f: return "glProgramUniform4f"; - case EntryPoint::GLProgramUniform4fEXT: - return "glProgramUniform4fEXT"; - case EntryPoint::GLProgramUniform4fv: + case EntryPoint::ProgramUniform4fv: return "glProgramUniform4fv"; - case EntryPoint::GLProgramUniform4fvEXT: - return "glProgramUniform4fvEXT"; - case EntryPoint::GLProgramUniform4i: + case EntryPoint::ProgramUniform4i: return "glProgramUniform4i"; - case EntryPoint::GLProgramUniform4iEXT: - return "glProgramUniform4iEXT"; - case EntryPoint::GLProgramUniform4iv: + case EntryPoint::ProgramUniform4iv: return "glProgramUniform4iv"; - case EntryPoint::GLProgramUniform4ivEXT: - return "glProgramUniform4ivEXT"; - case EntryPoint::GLProgramUniform4ui: + case EntryPoint::ProgramUniform4ui: return "glProgramUniform4ui"; - case EntryPoint::GLProgramUniform4uiEXT: - return "glProgramUniform4uiEXT"; - case EntryPoint::GLProgramUniform4uiv: + case EntryPoint::ProgramUniform4uiv: return "glProgramUniform4uiv"; - case EntryPoint::GLProgramUniform4uivEXT: - return "glProgramUniform4uivEXT"; - case EntryPoint::GLProgramUniformMatrix2dv: + case EntryPoint::ProgramUniformMatrix2dv: return "glProgramUniformMatrix2dv"; - case EntryPoint::GLProgramUniformMatrix2fv: + case EntryPoint::ProgramUniformMatrix2fv: return "glProgramUniformMatrix2fv"; - case EntryPoint::GLProgramUniformMatrix2fvEXT: - return "glProgramUniformMatrix2fvEXT"; - case EntryPoint::GLProgramUniformMatrix2x3dv: + case EntryPoint::ProgramUniformMatrix2x3dv: return "glProgramUniformMatrix2x3dv"; - case EntryPoint::GLProgramUniformMatrix2x3fv: + case EntryPoint::ProgramUniformMatrix2x3fv: return "glProgramUniformMatrix2x3fv"; - case EntryPoint::GLProgramUniformMatrix2x3fvEXT: - return "glProgramUniformMatrix2x3fvEXT"; - case EntryPoint::GLProgramUniformMatrix2x4dv: + case EntryPoint::ProgramUniformMatrix2x4dv: return "glProgramUniformMatrix2x4dv"; - case EntryPoint::GLProgramUniformMatrix2x4fv: + case EntryPoint::ProgramUniformMatrix2x4fv: return "glProgramUniformMatrix2x4fv"; - case EntryPoint::GLProgramUniformMatrix2x4fvEXT: - return "glProgramUniformMatrix2x4fvEXT"; - case EntryPoint::GLProgramUniformMatrix3dv: + case EntryPoint::ProgramUniformMatrix3dv: return "glProgramUniformMatrix3dv"; - case EntryPoint::GLProgramUniformMatrix3fv: + case EntryPoint::ProgramUniformMatrix3fv: return "glProgramUniformMatrix3fv"; - case EntryPoint::GLProgramUniformMatrix3fvEXT: - return "glProgramUniformMatrix3fvEXT"; - case EntryPoint::GLProgramUniformMatrix3x2dv: + case EntryPoint::ProgramUniformMatrix3x2dv: return "glProgramUniformMatrix3x2dv"; - case EntryPoint::GLProgramUniformMatrix3x2fv: + case EntryPoint::ProgramUniformMatrix3x2fv: return "glProgramUniformMatrix3x2fv"; - case EntryPoint::GLProgramUniformMatrix3x2fvEXT: - return "glProgramUniformMatrix3x2fvEXT"; - case EntryPoint::GLProgramUniformMatrix3x4dv: + case EntryPoint::ProgramUniformMatrix3x4dv: return "glProgramUniformMatrix3x4dv"; - case EntryPoint::GLProgramUniformMatrix3x4fv: + case EntryPoint::ProgramUniformMatrix3x4fv: return "glProgramUniformMatrix3x4fv"; - case EntryPoint::GLProgramUniformMatrix3x4fvEXT: - return "glProgramUniformMatrix3x4fvEXT"; - case EntryPoint::GLProgramUniformMatrix4dv: + case EntryPoint::ProgramUniformMatrix4dv: return "glProgramUniformMatrix4dv"; - case EntryPoint::GLProgramUniformMatrix4fv: + case EntryPoint::ProgramUniformMatrix4fv: return "glProgramUniformMatrix4fv"; - case EntryPoint::GLProgramUniformMatrix4fvEXT: - return "glProgramUniformMatrix4fvEXT"; - case EntryPoint::GLProgramUniformMatrix4x2dv: + case EntryPoint::ProgramUniformMatrix4x2dv: return "glProgramUniformMatrix4x2dv"; - case EntryPoint::GLProgramUniformMatrix4x2fv: + case EntryPoint::ProgramUniformMatrix4x2fv: return "glProgramUniformMatrix4x2fv"; - case EntryPoint::GLProgramUniformMatrix4x2fvEXT: - return "glProgramUniformMatrix4x2fvEXT"; - case EntryPoint::GLProgramUniformMatrix4x3dv: + case EntryPoint::ProgramUniformMatrix4x3dv: return "glProgramUniformMatrix4x3dv"; - case EntryPoint::GLProgramUniformMatrix4x3fv: + case EntryPoint::ProgramUniformMatrix4x3fv: return "glProgramUniformMatrix4x3fv"; - case EntryPoint::GLProgramUniformMatrix4x3fvEXT: - return "glProgramUniformMatrix4x3fvEXT"; - case EntryPoint::GLProvokingVertex: + case EntryPoint::ProvokingVertex: return "glProvokingVertex"; - case EntryPoint::GLProvokingVertexANGLE: + case EntryPoint::ProvokingVertexANGLE: return "glProvokingVertexANGLE"; - case EntryPoint::GLPushAttrib: + case EntryPoint::PushAttrib: return "glPushAttrib"; - case EntryPoint::GLPushClientAttrib: + case EntryPoint::PushClientAttrib: return "glPushClientAttrib"; - case EntryPoint::GLPushDebugGroup: + case EntryPoint::PushDebugGroup: return "glPushDebugGroup"; - case EntryPoint::GLPushDebugGroupKHR: + case EntryPoint::PushDebugGroupKHR: return "glPushDebugGroupKHR"; - case EntryPoint::GLPushGroupMarkerEXT: + case EntryPoint::PushGroupMarkerEXT: return "glPushGroupMarkerEXT"; - case EntryPoint::GLPushMatrix: + case EntryPoint::PushMatrix: return "glPushMatrix"; - case EntryPoint::GLPushName: + case EntryPoint::PushName: return "glPushName"; - case EntryPoint::GLQueryCounter: + case EntryPoint::QueryCounter: return "glQueryCounter"; - case EntryPoint::GLQueryCounterEXT: + case EntryPoint::QueryCounterEXT: return "glQueryCounterEXT"; - case EntryPoint::GLQueryMatrixxOES: + case EntryPoint::QueryMatrixxOES: return "glQueryMatrixxOES"; - case EntryPoint::GLRasterPos2d: + case EntryPoint::RasterPos2d: return "glRasterPos2d"; - case EntryPoint::GLRasterPos2dv: + case EntryPoint::RasterPos2dv: return "glRasterPos2dv"; - case EntryPoint::GLRasterPos2f: + case EntryPoint::RasterPos2f: return "glRasterPos2f"; - case EntryPoint::GLRasterPos2fv: + case EntryPoint::RasterPos2fv: return "glRasterPos2fv"; - case EntryPoint::GLRasterPos2i: + case EntryPoint::RasterPos2i: return "glRasterPos2i"; - case EntryPoint::GLRasterPos2iv: + case EntryPoint::RasterPos2iv: return "glRasterPos2iv"; - case EntryPoint::GLRasterPos2s: + case EntryPoint::RasterPos2s: return "glRasterPos2s"; - case EntryPoint::GLRasterPos2sv: + case EntryPoint::RasterPos2sv: return "glRasterPos2sv"; - case EntryPoint::GLRasterPos3d: + case EntryPoint::RasterPos3d: return "glRasterPos3d"; - case EntryPoint::GLRasterPos3dv: + case EntryPoint::RasterPos3dv: return "glRasterPos3dv"; - case EntryPoint::GLRasterPos3f: + case EntryPoint::RasterPos3f: return "glRasterPos3f"; - case EntryPoint::GLRasterPos3fv: + case EntryPoint::RasterPos3fv: return "glRasterPos3fv"; - case EntryPoint::GLRasterPos3i: + case EntryPoint::RasterPos3i: return "glRasterPos3i"; - case EntryPoint::GLRasterPos3iv: + case EntryPoint::RasterPos3iv: return "glRasterPos3iv"; - case EntryPoint::GLRasterPos3s: + case EntryPoint::RasterPos3s: return "glRasterPos3s"; - case EntryPoint::GLRasterPos3sv: + case EntryPoint::RasterPos3sv: return "glRasterPos3sv"; - case EntryPoint::GLRasterPos4d: + case EntryPoint::RasterPos4d: return "glRasterPos4d"; - case EntryPoint::GLRasterPos4dv: + case EntryPoint::RasterPos4dv: return "glRasterPos4dv"; - case EntryPoint::GLRasterPos4f: + case EntryPoint::RasterPos4f: return "glRasterPos4f"; - case EntryPoint::GLRasterPos4fv: + case EntryPoint::RasterPos4fv: return "glRasterPos4fv"; - case EntryPoint::GLRasterPos4i: + case EntryPoint::RasterPos4i: return "glRasterPos4i"; - case EntryPoint::GLRasterPos4iv: + case EntryPoint::RasterPos4iv: return "glRasterPos4iv"; - case EntryPoint::GLRasterPos4s: + case EntryPoint::RasterPos4s: return "glRasterPos4s"; - case EntryPoint::GLRasterPos4sv: + case EntryPoint::RasterPos4sv: return "glRasterPos4sv"; - case EntryPoint::GLReadBuffer: + case EntryPoint::ReadBuffer: return "glReadBuffer"; - case EntryPoint::GLReadPixels: + case EntryPoint::ReadPixels: return "glReadPixels"; - case EntryPoint::GLReadPixelsRobustANGLE: + case EntryPoint::ReadPixelsRobustANGLE: return "glReadPixelsRobustANGLE"; - case EntryPoint::GLReadnPixels: + case EntryPoint::ReadnPixels: return "glReadnPixels"; - case EntryPoint::GLReadnPixelsEXT: + case EntryPoint::ReadnPixelsEXT: return "glReadnPixelsEXT"; - case EntryPoint::GLReadnPixelsRobustANGLE: + case EntryPoint::ReadnPixelsRobustANGLE: return "glReadnPixelsRobustANGLE"; - case EntryPoint::GLRectd: + case EntryPoint::Rectd: return "glRectd"; - case EntryPoint::GLRectdv: + case EntryPoint::Rectdv: return "glRectdv"; - case EntryPoint::GLRectf: + case EntryPoint::Rectf: return "glRectf"; - case EntryPoint::GLRectfv: + case EntryPoint::Rectfv: return "glRectfv"; - case EntryPoint::GLRecti: + case EntryPoint::Recti: return "glRecti"; - case EntryPoint::GLRectiv: + case EntryPoint::Rectiv: return "glRectiv"; - case EntryPoint::GLRects: + case EntryPoint::Rects: return "glRects"; - case EntryPoint::GLRectsv: + case EntryPoint::Rectsv: return "glRectsv"; - case EntryPoint::GLReleaseShaderCompiler: + case EntryPoint::ReleaseShaderCompiler: return "glReleaseShaderCompiler"; - case EntryPoint::GLRenderMode: + case EntryPoint::RenderMode: return "glRenderMode"; - case EntryPoint::GLRenderbufferStorage: + case EntryPoint::RenderbufferStorage: return "glRenderbufferStorage"; - case EntryPoint::GLRenderbufferStorageMultisample: + case EntryPoint::RenderbufferStorageMultisample: return "glRenderbufferStorageMultisample"; - case EntryPoint::GLRenderbufferStorageMultisampleANGLE: + case EntryPoint::RenderbufferStorageMultisampleANGLE: return "glRenderbufferStorageMultisampleANGLE"; - case EntryPoint::GLRenderbufferStorageMultisampleEXT: + case EntryPoint::RenderbufferStorageMultisampleEXT: return "glRenderbufferStorageMultisampleEXT"; - case EntryPoint::GLRenderbufferStorageOES: + case EntryPoint::RenderbufferStorageOES: return "glRenderbufferStorageOES"; - case EntryPoint::GLRequestExtensionANGLE: + case EntryPoint::RequestExtensionANGLE: return "glRequestExtensionANGLE"; - case EntryPoint::GLResumeTransformFeedback: + case EntryPoint::ResumeTransformFeedback: return "glResumeTransformFeedback"; - case EntryPoint::GLRotated: + case EntryPoint::Rotated: return "glRotated"; - case EntryPoint::GLRotatef: + case EntryPoint::Rotatef: return "glRotatef"; - case EntryPoint::GLRotatex: + case EntryPoint::Rotatex: return "glRotatex"; - case EntryPoint::GLSampleCoverage: + case EntryPoint::SampleCoverage: return "glSampleCoverage"; - case EntryPoint::GLSampleCoveragex: + case EntryPoint::SampleCoveragex: return "glSampleCoveragex"; - case EntryPoint::GLSampleMaski: + case EntryPoint::SampleMaski: return "glSampleMaski"; - case EntryPoint::GLSampleMaskiANGLE: + case EntryPoint::SampleMaskiANGLE: return "glSampleMaskiANGLE"; - case EntryPoint::GLSamplerParameterIiv: + case EntryPoint::SamplerParameterIiv: return "glSamplerParameterIiv"; - case EntryPoint::GLSamplerParameterIivEXT: - return "glSamplerParameterIivEXT"; - case EntryPoint::GLSamplerParameterIivOES: + case EntryPoint::SamplerParameterIivOES: return "glSamplerParameterIivOES"; - case EntryPoint::GLSamplerParameterIivRobustANGLE: + case EntryPoint::SamplerParameterIivRobustANGLE: return "glSamplerParameterIivRobustANGLE"; - case EntryPoint::GLSamplerParameterIuiv: + case EntryPoint::SamplerParameterIuiv: return "glSamplerParameterIuiv"; - case EntryPoint::GLSamplerParameterIuivEXT: - return "glSamplerParameterIuivEXT"; - case EntryPoint::GLSamplerParameterIuivOES: + case EntryPoint::SamplerParameterIuivOES: return "glSamplerParameterIuivOES"; - case EntryPoint::GLSamplerParameterIuivRobustANGLE: + case EntryPoint::SamplerParameterIuivRobustANGLE: return "glSamplerParameterIuivRobustANGLE"; - case EntryPoint::GLSamplerParameterf: + case EntryPoint::SamplerParameterf: return "glSamplerParameterf"; - case EntryPoint::GLSamplerParameterfv: + case EntryPoint::SamplerParameterfv: return "glSamplerParameterfv"; - case EntryPoint::GLSamplerParameterfvRobustANGLE: + case EntryPoint::SamplerParameterfvRobustANGLE: return "glSamplerParameterfvRobustANGLE"; - case EntryPoint::GLSamplerParameteri: + case EntryPoint::SamplerParameteri: return "glSamplerParameteri"; - case EntryPoint::GLSamplerParameteriv: + case EntryPoint::SamplerParameteriv: return "glSamplerParameteriv"; - case EntryPoint::GLSamplerParameterivRobustANGLE: + case EntryPoint::SamplerParameterivRobustANGLE: return "glSamplerParameterivRobustANGLE"; - case EntryPoint::GLScaled: + case EntryPoint::Scaled: return "glScaled"; - case EntryPoint::GLScalef: + case EntryPoint::Scalef: return "glScalef"; - case EntryPoint::GLScalex: + case EntryPoint::Scalex: return "glScalex"; - case EntryPoint::GLScissor: + case EntryPoint::Scissor: return "glScissor"; - case EntryPoint::GLScissorArrayv: + case EntryPoint::ScissorArrayv: return "glScissorArrayv"; - case EntryPoint::GLScissorIndexed: + case EntryPoint::ScissorIndexed: return "glScissorIndexed"; - case EntryPoint::GLScissorIndexedv: + case EntryPoint::ScissorIndexedv: return "glScissorIndexedv"; - case EntryPoint::GLSecondaryColor3b: + case EntryPoint::SecondaryColor3b: return "glSecondaryColor3b"; - case EntryPoint::GLSecondaryColor3bv: + case EntryPoint::SecondaryColor3bv: return "glSecondaryColor3bv"; - case EntryPoint::GLSecondaryColor3d: + case EntryPoint::SecondaryColor3d: return "glSecondaryColor3d"; - case EntryPoint::GLSecondaryColor3dv: + case EntryPoint::SecondaryColor3dv: return "glSecondaryColor3dv"; - case EntryPoint::GLSecondaryColor3f: + case EntryPoint::SecondaryColor3f: return "glSecondaryColor3f"; - case EntryPoint::GLSecondaryColor3fv: + case EntryPoint::SecondaryColor3fv: return "glSecondaryColor3fv"; - case EntryPoint::GLSecondaryColor3i: + case EntryPoint::SecondaryColor3i: return "glSecondaryColor3i"; - case EntryPoint::GLSecondaryColor3iv: + case EntryPoint::SecondaryColor3iv: return "glSecondaryColor3iv"; - case EntryPoint::GLSecondaryColor3s: + case EntryPoint::SecondaryColor3s: return "glSecondaryColor3s"; - case EntryPoint::GLSecondaryColor3sv: + case EntryPoint::SecondaryColor3sv: return "glSecondaryColor3sv"; - case EntryPoint::GLSecondaryColor3ub: + case EntryPoint::SecondaryColor3ub: return "glSecondaryColor3ub"; - case EntryPoint::GLSecondaryColor3ubv: + case EntryPoint::SecondaryColor3ubv: return "glSecondaryColor3ubv"; - case EntryPoint::GLSecondaryColor3ui: + case EntryPoint::SecondaryColor3ui: return "glSecondaryColor3ui"; - case EntryPoint::GLSecondaryColor3uiv: + case EntryPoint::SecondaryColor3uiv: return "glSecondaryColor3uiv"; - case EntryPoint::GLSecondaryColor3us: + case EntryPoint::SecondaryColor3us: return "glSecondaryColor3us"; - case EntryPoint::GLSecondaryColor3usv: + case EntryPoint::SecondaryColor3usv: return "glSecondaryColor3usv"; - case EntryPoint::GLSecondaryColorP3ui: + case EntryPoint::SecondaryColorP3ui: return "glSecondaryColorP3ui"; - case EntryPoint::GLSecondaryColorP3uiv: + case EntryPoint::SecondaryColorP3uiv: return "glSecondaryColorP3uiv"; - case EntryPoint::GLSecondaryColorPointer: + case EntryPoint::SecondaryColorPointer: return "glSecondaryColorPointer"; - case EntryPoint::GLSelectBuffer: + case EntryPoint::SelectBuffer: return "glSelectBuffer"; - case EntryPoint::GLSemaphoreParameterui64vEXT: + case EntryPoint::SemaphoreParameterui64vEXT: return "glSemaphoreParameterui64vEXT"; - case EntryPoint::GLSetFenceNV: + case EntryPoint::SetFenceNV: return "glSetFenceNV"; - case EntryPoint::GLShadeModel: + case EntryPoint::ShadeModel: return "glShadeModel"; - case EntryPoint::GLShaderBinary: + case EntryPoint::ShaderBinary: return "glShaderBinary"; - case EntryPoint::GLShaderSource: + case EntryPoint::ShaderSource: return "glShaderSource"; - case EntryPoint::GLShaderStorageBlockBinding: + case EntryPoint::ShaderStorageBlockBinding: return "glShaderStorageBlockBinding"; - case EntryPoint::GLSignalSemaphoreEXT: + case EntryPoint::SignalSemaphoreEXT: return "glSignalSemaphoreEXT"; - case EntryPoint::GLSpecializeShader: + case EntryPoint::SpecializeShader: return "glSpecializeShader"; - case EntryPoint::GLStencilFunc: + case EntryPoint::StencilFunc: return "glStencilFunc"; - case EntryPoint::GLStencilFuncSeparate: + case EntryPoint::StencilFuncSeparate: return "glStencilFuncSeparate"; - case EntryPoint::GLStencilMask: + case EntryPoint::StencilMask: return "glStencilMask"; - case EntryPoint::GLStencilMaskSeparate: + case EntryPoint::StencilMaskSeparate: return "glStencilMaskSeparate"; - case EntryPoint::GLStencilOp: + case EntryPoint::StencilOp: return "glStencilOp"; - case EntryPoint::GLStencilOpSeparate: + case EntryPoint::StencilOpSeparate: return "glStencilOpSeparate"; - case EntryPoint::GLTestFenceNV: + case EntryPoint::TestFenceNV: return "glTestFenceNV"; - case EntryPoint::GLTexBuffer: + case EntryPoint::TexBuffer: return "glTexBuffer"; - case EntryPoint::GLTexBufferEXT: + case EntryPoint::TexBufferEXT: return "glTexBufferEXT"; - case EntryPoint::GLTexBufferOES: + case EntryPoint::TexBufferOES: return "glTexBufferOES"; - case EntryPoint::GLTexBufferRange: + case EntryPoint::TexBufferRange: return "glTexBufferRange"; - case EntryPoint::GLTexBufferRangeEXT: + case EntryPoint::TexBufferRangeEXT: return "glTexBufferRangeEXT"; - case EntryPoint::GLTexBufferRangeOES: + case EntryPoint::TexBufferRangeOES: return "glTexBufferRangeOES"; - case EntryPoint::GLTexCoord1d: + case EntryPoint::TexCoord1d: return "glTexCoord1d"; - case EntryPoint::GLTexCoord1dv: + case EntryPoint::TexCoord1dv: return "glTexCoord1dv"; - case EntryPoint::GLTexCoord1f: + case EntryPoint::TexCoord1f: return "glTexCoord1f"; - case EntryPoint::GLTexCoord1fv: + case EntryPoint::TexCoord1fv: return "glTexCoord1fv"; - case EntryPoint::GLTexCoord1i: + case EntryPoint::TexCoord1i: return "glTexCoord1i"; - case EntryPoint::GLTexCoord1iv: + case EntryPoint::TexCoord1iv: return "glTexCoord1iv"; - case EntryPoint::GLTexCoord1s: + case EntryPoint::TexCoord1s: return "glTexCoord1s"; - case EntryPoint::GLTexCoord1sv: + case EntryPoint::TexCoord1sv: return "glTexCoord1sv"; - case EntryPoint::GLTexCoord2d: + case EntryPoint::TexCoord2d: return "glTexCoord2d"; - case EntryPoint::GLTexCoord2dv: + case EntryPoint::TexCoord2dv: return "glTexCoord2dv"; - case EntryPoint::GLTexCoord2f: + case EntryPoint::TexCoord2f: return "glTexCoord2f"; - case EntryPoint::GLTexCoord2fv: + case EntryPoint::TexCoord2fv: return "glTexCoord2fv"; - case EntryPoint::GLTexCoord2i: + case EntryPoint::TexCoord2i: return "glTexCoord2i"; - case EntryPoint::GLTexCoord2iv: + case EntryPoint::TexCoord2iv: return "glTexCoord2iv"; - case EntryPoint::GLTexCoord2s: + case EntryPoint::TexCoord2s: return "glTexCoord2s"; - case EntryPoint::GLTexCoord2sv: + case EntryPoint::TexCoord2sv: return "glTexCoord2sv"; - case EntryPoint::GLTexCoord3d: + case EntryPoint::TexCoord3d: return "glTexCoord3d"; - case EntryPoint::GLTexCoord3dv: + case EntryPoint::TexCoord3dv: return "glTexCoord3dv"; - case EntryPoint::GLTexCoord3f: + case EntryPoint::TexCoord3f: return "glTexCoord3f"; - case EntryPoint::GLTexCoord3fv: + case EntryPoint::TexCoord3fv: return "glTexCoord3fv"; - case EntryPoint::GLTexCoord3i: + case EntryPoint::TexCoord3i: return "glTexCoord3i"; - case EntryPoint::GLTexCoord3iv: + case EntryPoint::TexCoord3iv: return "glTexCoord3iv"; - case EntryPoint::GLTexCoord3s: + case EntryPoint::TexCoord3s: return "glTexCoord3s"; - case EntryPoint::GLTexCoord3sv: + case EntryPoint::TexCoord3sv: return "glTexCoord3sv"; - case EntryPoint::GLTexCoord4d: + case EntryPoint::TexCoord4d: return "glTexCoord4d"; - case EntryPoint::GLTexCoord4dv: + case EntryPoint::TexCoord4dv: return "glTexCoord4dv"; - case EntryPoint::GLTexCoord4f: + case EntryPoint::TexCoord4f: return "glTexCoord4f"; - case EntryPoint::GLTexCoord4fv: + case EntryPoint::TexCoord4fv: return "glTexCoord4fv"; - case EntryPoint::GLTexCoord4i: + case EntryPoint::TexCoord4i: return "glTexCoord4i"; - case EntryPoint::GLTexCoord4iv: + case EntryPoint::TexCoord4iv: return "glTexCoord4iv"; - case EntryPoint::GLTexCoord4s: + case EntryPoint::TexCoord4s: return "glTexCoord4s"; - case EntryPoint::GLTexCoord4sv: + case EntryPoint::TexCoord4sv: return "glTexCoord4sv"; - case EntryPoint::GLTexCoordP1ui: + case EntryPoint::TexCoordP1ui: return "glTexCoordP1ui"; - case EntryPoint::GLTexCoordP1uiv: + case EntryPoint::TexCoordP1uiv: return "glTexCoordP1uiv"; - case EntryPoint::GLTexCoordP2ui: + case EntryPoint::TexCoordP2ui: return "glTexCoordP2ui"; - case EntryPoint::GLTexCoordP2uiv: + case EntryPoint::TexCoordP2uiv: return "glTexCoordP2uiv"; - case EntryPoint::GLTexCoordP3ui: + case EntryPoint::TexCoordP3ui: return "glTexCoordP3ui"; - case EntryPoint::GLTexCoordP3uiv: + case EntryPoint::TexCoordP3uiv: return "glTexCoordP3uiv"; - case EntryPoint::GLTexCoordP4ui: + case EntryPoint::TexCoordP4ui: return "glTexCoordP4ui"; - case EntryPoint::GLTexCoordP4uiv: + case EntryPoint::TexCoordP4uiv: return "glTexCoordP4uiv"; - case EntryPoint::GLTexCoordPointer: + case EntryPoint::TexCoordPointer: return "glTexCoordPointer"; - case EntryPoint::GLTexEnvf: + case EntryPoint::TexEnvf: return "glTexEnvf"; - case EntryPoint::GLTexEnvfv: + case EntryPoint::TexEnvfv: return "glTexEnvfv"; - case EntryPoint::GLTexEnvi: + case EntryPoint::TexEnvi: return "glTexEnvi"; - case EntryPoint::GLTexEnviv: + case EntryPoint::TexEnviv: return "glTexEnviv"; - case EntryPoint::GLTexEnvx: + case EntryPoint::TexEnvx: return "glTexEnvx"; - case EntryPoint::GLTexEnvxv: + case EntryPoint::TexEnvxv: return "glTexEnvxv"; - case EntryPoint::GLTexGend: + case EntryPoint::TexGend: return "glTexGend"; - case EntryPoint::GLTexGendv: + case EntryPoint::TexGendv: return "glTexGendv"; - case EntryPoint::GLTexGenf: + case EntryPoint::TexGenf: return "glTexGenf"; - case EntryPoint::GLTexGenfOES: + case EntryPoint::TexGenfOES: return "glTexGenfOES"; - case EntryPoint::GLTexGenfv: + case EntryPoint::TexGenfv: return "glTexGenfv"; - case EntryPoint::GLTexGenfvOES: + case EntryPoint::TexGenfvOES: return "glTexGenfvOES"; - case EntryPoint::GLTexGeni: + case EntryPoint::TexGeni: return "glTexGeni"; - case EntryPoint::GLTexGeniOES: + case EntryPoint::TexGeniOES: return "glTexGeniOES"; - case EntryPoint::GLTexGeniv: + case EntryPoint::TexGeniv: return "glTexGeniv"; - case EntryPoint::GLTexGenivOES: + case EntryPoint::TexGenivOES: return "glTexGenivOES"; - case EntryPoint::GLTexGenxOES: + case EntryPoint::TexGenxOES: return "glTexGenxOES"; - case EntryPoint::GLTexGenxvOES: + case EntryPoint::TexGenxvOES: return "glTexGenxvOES"; - case EntryPoint::GLTexImage1D: + case EntryPoint::TexImage1D: return "glTexImage1D"; - case EntryPoint::GLTexImage2D: + case EntryPoint::TexImage2D: return "glTexImage2D"; - case EntryPoint::GLTexImage2DExternalANGLE: + case EntryPoint::TexImage2DExternalANGLE: return "glTexImage2DExternalANGLE"; - case EntryPoint::GLTexImage2DMultisample: + case EntryPoint::TexImage2DMultisample: return "glTexImage2DMultisample"; - case EntryPoint::GLTexImage2DRobustANGLE: + case EntryPoint::TexImage2DRobustANGLE: return "glTexImage2DRobustANGLE"; - case EntryPoint::GLTexImage3D: + case EntryPoint::TexImage3D: return "glTexImage3D"; - case EntryPoint::GLTexImage3DMultisample: + case EntryPoint::TexImage3DMultisample: return "glTexImage3DMultisample"; - case EntryPoint::GLTexImage3DOES: + case EntryPoint::TexImage3DOES: return "glTexImage3DOES"; - case EntryPoint::GLTexImage3DRobustANGLE: + case EntryPoint::TexImage3DRobustANGLE: return "glTexImage3DRobustANGLE"; - case EntryPoint::GLTexParameterIiv: + case EntryPoint::TexParameterIiv: return "glTexParameterIiv"; - case EntryPoint::GLTexParameterIivEXT: - return "glTexParameterIivEXT"; - case EntryPoint::GLTexParameterIivOES: + case EntryPoint::TexParameterIivOES: return "glTexParameterIivOES"; - case EntryPoint::GLTexParameterIivRobustANGLE: + case EntryPoint::TexParameterIivRobustANGLE: return "glTexParameterIivRobustANGLE"; - case EntryPoint::GLTexParameterIuiv: + case EntryPoint::TexParameterIuiv: return "glTexParameterIuiv"; - case EntryPoint::GLTexParameterIuivEXT: - return "glTexParameterIuivEXT"; - case EntryPoint::GLTexParameterIuivOES: + case EntryPoint::TexParameterIuivOES: return "glTexParameterIuivOES"; - case EntryPoint::GLTexParameterIuivRobustANGLE: + case EntryPoint::TexParameterIuivRobustANGLE: return "glTexParameterIuivRobustANGLE"; - case EntryPoint::GLTexParameterf: + case EntryPoint::TexParameterf: return "glTexParameterf"; - case EntryPoint::GLTexParameterfv: + case EntryPoint::TexParameterfv: return "glTexParameterfv"; - case EntryPoint::GLTexParameterfvRobustANGLE: + case EntryPoint::TexParameterfvRobustANGLE: return "glTexParameterfvRobustANGLE"; - case EntryPoint::GLTexParameteri: + case EntryPoint::TexParameteri: return "glTexParameteri"; - case EntryPoint::GLTexParameteriv: + case EntryPoint::TexParameteriv: return "glTexParameteriv"; - case EntryPoint::GLTexParameterivRobustANGLE: + case EntryPoint::TexParameterivRobustANGLE: return "glTexParameterivRobustANGLE"; - case EntryPoint::GLTexParameterx: + case EntryPoint::TexParameterx: return "glTexParameterx"; - case EntryPoint::GLTexParameterxv: + case EntryPoint::TexParameterxv: return "glTexParameterxv"; - case EntryPoint::GLTexStorage1D: + case EntryPoint::TexStorage1D: return "glTexStorage1D"; - case EntryPoint::GLTexStorage1DEXT: + case EntryPoint::TexStorage1DEXT: return "glTexStorage1DEXT"; - case EntryPoint::GLTexStorage2D: + case EntryPoint::TexStorage2D: return "glTexStorage2D"; - case EntryPoint::GLTexStorage2DEXT: + case EntryPoint::TexStorage2DEXT: return "glTexStorage2DEXT"; - case EntryPoint::GLTexStorage2DMultisample: + case EntryPoint::TexStorage2DMultisample: return "glTexStorage2DMultisample"; - case EntryPoint::GLTexStorage2DMultisampleANGLE: + case EntryPoint::TexStorage2DMultisampleANGLE: return "glTexStorage2DMultisampleANGLE"; - case EntryPoint::GLTexStorage3D: + case EntryPoint::TexStorage3D: return "glTexStorage3D"; - case EntryPoint::GLTexStorage3DEXT: + case EntryPoint::TexStorage3DEXT: return "glTexStorage3DEXT"; - case EntryPoint::GLTexStorage3DMultisample: + case EntryPoint::TexStorage3DMultisample: return "glTexStorage3DMultisample"; - case EntryPoint::GLTexStorage3DMultisampleOES: + case EntryPoint::TexStorage3DMultisampleOES: return "glTexStorage3DMultisampleOES"; - case EntryPoint::GLTexStorageMem2DEXT: + case EntryPoint::TexStorageMem2DEXT: return "glTexStorageMem2DEXT"; - case EntryPoint::GLTexStorageMem2DMultisampleEXT: + case EntryPoint::TexStorageMem2DMultisampleEXT: return "glTexStorageMem2DMultisampleEXT"; - case EntryPoint::GLTexStorageMem3DEXT: + case EntryPoint::TexStorageMem3DEXT: return "glTexStorageMem3DEXT"; - case EntryPoint::GLTexStorageMem3DMultisampleEXT: + case EntryPoint::TexStorageMem3DMultisampleEXT: return "glTexStorageMem3DMultisampleEXT"; - case EntryPoint::GLTexStorageMemFlags2DANGLE: + case EntryPoint::TexStorageMemFlags2DANGLE: return "glTexStorageMemFlags2DANGLE"; - case EntryPoint::GLTexStorageMemFlags2DMultisampleANGLE: + case EntryPoint::TexStorageMemFlags2DMultisampleANGLE: return "glTexStorageMemFlags2DMultisampleANGLE"; - case EntryPoint::GLTexStorageMemFlags3DANGLE: + case EntryPoint::TexStorageMemFlags3DANGLE: return "glTexStorageMemFlags3DANGLE"; - case EntryPoint::GLTexStorageMemFlags3DMultisampleANGLE: + case EntryPoint::TexStorageMemFlags3DMultisampleANGLE: return "glTexStorageMemFlags3DMultisampleANGLE"; - case EntryPoint::GLTexSubImage1D: + case EntryPoint::TexSubImage1D: return "glTexSubImage1D"; - case EntryPoint::GLTexSubImage2D: + case EntryPoint::TexSubImage2D: return "glTexSubImage2D"; - case EntryPoint::GLTexSubImage2DRobustANGLE: + case EntryPoint::TexSubImage2DRobustANGLE: return "glTexSubImage2DRobustANGLE"; - case EntryPoint::GLTexSubImage3D: + case EntryPoint::TexSubImage3D: return "glTexSubImage3D"; - case EntryPoint::GLTexSubImage3DOES: + case EntryPoint::TexSubImage3DOES: return "glTexSubImage3DOES"; - case EntryPoint::GLTexSubImage3DRobustANGLE: + case EntryPoint::TexSubImage3DRobustANGLE: return "glTexSubImage3DRobustANGLE"; - case EntryPoint::GLTextureBarrier: + case EntryPoint::TextureBarrier: return "glTextureBarrier"; - case EntryPoint::GLTextureBuffer: + case EntryPoint::TextureBuffer: return "glTextureBuffer"; - case EntryPoint::GLTextureBufferRange: + case EntryPoint::TextureBufferRange: return "glTextureBufferRange"; - case EntryPoint::GLTextureParameterIiv: + case EntryPoint::TextureParameterIiv: return "glTextureParameterIiv"; - case EntryPoint::GLTextureParameterIuiv: + case EntryPoint::TextureParameterIuiv: return "glTextureParameterIuiv"; - case EntryPoint::GLTextureParameterf: + case EntryPoint::TextureParameterf: return "glTextureParameterf"; - case EntryPoint::GLTextureParameterfv: + case EntryPoint::TextureParameterfv: return "glTextureParameterfv"; - case EntryPoint::GLTextureParameteri: + case EntryPoint::TextureParameteri: return "glTextureParameteri"; - case EntryPoint::GLTextureParameteriv: + case EntryPoint::TextureParameteriv: return "glTextureParameteriv"; - case EntryPoint::GLTextureStorage1D: + case EntryPoint::TextureStorage1D: return "glTextureStorage1D"; - case EntryPoint::GLTextureStorage2D: + case EntryPoint::TextureStorage2D: return "glTextureStorage2D"; - case EntryPoint::GLTextureStorage2DMultisample: + case EntryPoint::TextureStorage2DMultisample: return "glTextureStorage2DMultisample"; - case EntryPoint::GLTextureStorage3D: + case EntryPoint::TextureStorage3D: return "glTextureStorage3D"; - case EntryPoint::GLTextureStorage3DMultisample: + case EntryPoint::TextureStorage3DMultisample: return "glTextureStorage3DMultisample"; - case EntryPoint::GLTextureSubImage1D: + case EntryPoint::TextureSubImage1D: return "glTextureSubImage1D"; - case EntryPoint::GLTextureSubImage2D: + case EntryPoint::TextureSubImage2D: return "glTextureSubImage2D"; - case EntryPoint::GLTextureSubImage3D: + case EntryPoint::TextureSubImage3D: return "glTextureSubImage3D"; - case EntryPoint::GLTextureView: + case EntryPoint::TextureView: return "glTextureView"; - case EntryPoint::GLTransformFeedbackBufferBase: + case EntryPoint::TransformFeedbackBufferBase: return "glTransformFeedbackBufferBase"; - case EntryPoint::GLTransformFeedbackBufferRange: + case EntryPoint::TransformFeedbackBufferRange: return "glTransformFeedbackBufferRange"; - case EntryPoint::GLTransformFeedbackVaryings: + case EntryPoint::TransformFeedbackVaryings: return "glTransformFeedbackVaryings"; - case EntryPoint::GLTranslated: + case EntryPoint::Translated: return "glTranslated"; - case EntryPoint::GLTranslatef: + case EntryPoint::Translatef: return "glTranslatef"; - case EntryPoint::GLTranslatex: + case EntryPoint::Translatex: return "glTranslatex"; - case EntryPoint::GLUniform1d: + case EntryPoint::Uniform1d: return "glUniform1d"; - case EntryPoint::GLUniform1dv: + case EntryPoint::Uniform1dv: return "glUniform1dv"; - case EntryPoint::GLUniform1f: + case EntryPoint::Uniform1f: return "glUniform1f"; - case EntryPoint::GLUniform1fv: + case EntryPoint::Uniform1fv: return "glUniform1fv"; - case EntryPoint::GLUniform1i: + case EntryPoint::Uniform1i: return "glUniform1i"; - case EntryPoint::GLUniform1iv: + case EntryPoint::Uniform1iv: return "glUniform1iv"; - case EntryPoint::GLUniform1ui: + case EntryPoint::Uniform1ui: return "glUniform1ui"; - case EntryPoint::GLUniform1uiv: + case EntryPoint::Uniform1uiv: return "glUniform1uiv"; - case EntryPoint::GLUniform2d: + case EntryPoint::Uniform2d: return "glUniform2d"; - case EntryPoint::GLUniform2dv: + case EntryPoint::Uniform2dv: return "glUniform2dv"; - case EntryPoint::GLUniform2f: + case EntryPoint::Uniform2f: return "glUniform2f"; - case EntryPoint::GLUniform2fv: + case EntryPoint::Uniform2fv: return "glUniform2fv"; - case EntryPoint::GLUniform2i: + case EntryPoint::Uniform2i: return "glUniform2i"; - case EntryPoint::GLUniform2iv: + case EntryPoint::Uniform2iv: return "glUniform2iv"; - case EntryPoint::GLUniform2ui: + case EntryPoint::Uniform2ui: return "glUniform2ui"; - case EntryPoint::GLUniform2uiv: + case EntryPoint::Uniform2uiv: return "glUniform2uiv"; - case EntryPoint::GLUniform3d: + case EntryPoint::Uniform3d: return "glUniform3d"; - case EntryPoint::GLUniform3dv: + case EntryPoint::Uniform3dv: return "glUniform3dv"; - case EntryPoint::GLUniform3f: + case EntryPoint::Uniform3f: return "glUniform3f"; - case EntryPoint::GLUniform3fv: + case EntryPoint::Uniform3fv: return "glUniform3fv"; - case EntryPoint::GLUniform3i: + case EntryPoint::Uniform3i: return "glUniform3i"; - case EntryPoint::GLUniform3iv: + case EntryPoint::Uniform3iv: return "glUniform3iv"; - case EntryPoint::GLUniform3ui: + case EntryPoint::Uniform3ui: return "glUniform3ui"; - case EntryPoint::GLUniform3uiv: + case EntryPoint::Uniform3uiv: return "glUniform3uiv"; - case EntryPoint::GLUniform4d: + case EntryPoint::Uniform4d: return "glUniform4d"; - case EntryPoint::GLUniform4dv: + case EntryPoint::Uniform4dv: return "glUniform4dv"; - case EntryPoint::GLUniform4f: + case EntryPoint::Uniform4f: return "glUniform4f"; - case EntryPoint::GLUniform4fv: + case EntryPoint::Uniform4fv: return "glUniform4fv"; - case EntryPoint::GLUniform4i: + case EntryPoint::Uniform4i: return "glUniform4i"; - case EntryPoint::GLUniform4iv: + case EntryPoint::Uniform4iv: return "glUniform4iv"; - case EntryPoint::GLUniform4ui: + case EntryPoint::Uniform4ui: return "glUniform4ui"; - case EntryPoint::GLUniform4uiv: + case EntryPoint::Uniform4uiv: return "glUniform4uiv"; - case EntryPoint::GLUniformBlockBinding: + case EntryPoint::UniformBlockBinding: return "glUniformBlockBinding"; - case EntryPoint::GLUniformMatrix2dv: + case EntryPoint::UniformMatrix2dv: return "glUniformMatrix2dv"; - case EntryPoint::GLUniformMatrix2fv: + case EntryPoint::UniformMatrix2fv: return "glUniformMatrix2fv"; - case EntryPoint::GLUniformMatrix2x3dv: + case EntryPoint::UniformMatrix2x3dv: return "glUniformMatrix2x3dv"; - case EntryPoint::GLUniformMatrix2x3fv: + case EntryPoint::UniformMatrix2x3fv: return "glUniformMatrix2x3fv"; - case EntryPoint::GLUniformMatrix2x4dv: + case EntryPoint::UniformMatrix2x4dv: return "glUniformMatrix2x4dv"; - case EntryPoint::GLUniformMatrix2x4fv: + case EntryPoint::UniformMatrix2x4fv: return "glUniformMatrix2x4fv"; - case EntryPoint::GLUniformMatrix3dv: + case EntryPoint::UniformMatrix3dv: return "glUniformMatrix3dv"; - case EntryPoint::GLUniformMatrix3fv: + case EntryPoint::UniformMatrix3fv: return "glUniformMatrix3fv"; - case EntryPoint::GLUniformMatrix3x2dv: + case EntryPoint::UniformMatrix3x2dv: return "glUniformMatrix3x2dv"; - case EntryPoint::GLUniformMatrix3x2fv: + case EntryPoint::UniformMatrix3x2fv: return "glUniformMatrix3x2fv"; - case EntryPoint::GLUniformMatrix3x4dv: + case EntryPoint::UniformMatrix3x4dv: return "glUniformMatrix3x4dv"; - case EntryPoint::GLUniformMatrix3x4fv: + case EntryPoint::UniformMatrix3x4fv: return "glUniformMatrix3x4fv"; - case EntryPoint::GLUniformMatrix4dv: + case EntryPoint::UniformMatrix4dv: return "glUniformMatrix4dv"; - case EntryPoint::GLUniformMatrix4fv: + case EntryPoint::UniformMatrix4fv: return "glUniformMatrix4fv"; - case EntryPoint::GLUniformMatrix4x2dv: + case EntryPoint::UniformMatrix4x2dv: return "glUniformMatrix4x2dv"; - case EntryPoint::GLUniformMatrix4x2fv: + case EntryPoint::UniformMatrix4x2fv: return "glUniformMatrix4x2fv"; - case EntryPoint::GLUniformMatrix4x3dv: + case EntryPoint::UniformMatrix4x3dv: return "glUniformMatrix4x3dv"; - case EntryPoint::GLUniformMatrix4x3fv: + case EntryPoint::UniformMatrix4x3fv: return "glUniformMatrix4x3fv"; - case EntryPoint::GLUniformSubroutinesuiv: + case EntryPoint::UniformSubroutinesuiv: return "glUniformSubroutinesuiv"; - case EntryPoint::GLUnmapBuffer: + case EntryPoint::UnmapBuffer: return "glUnmapBuffer"; - case EntryPoint::GLUnmapBufferOES: + case EntryPoint::UnmapBufferOES: return "glUnmapBufferOES"; - case EntryPoint::GLUnmapNamedBuffer: + case EntryPoint::UnmapNamedBuffer: return "glUnmapNamedBuffer"; - case EntryPoint::GLUseProgram: + case EntryPoint::UseProgram: return "glUseProgram"; - case EntryPoint::GLUseProgramStages: + case EntryPoint::UseProgramStages: return "glUseProgramStages"; - case EntryPoint::GLUseProgramStagesEXT: - return "glUseProgramStagesEXT"; - case EntryPoint::GLValidateProgram: + case EntryPoint::ValidateProgram: return "glValidateProgram"; - case EntryPoint::GLValidateProgramPipeline: + case EntryPoint::ValidateProgramPipeline: return "glValidateProgramPipeline"; - case EntryPoint::GLValidateProgramPipelineEXT: - return "glValidateProgramPipelineEXT"; - case EntryPoint::GLVertex2d: + case EntryPoint::Vertex2d: return "glVertex2d"; - case EntryPoint::GLVertex2dv: + case EntryPoint::Vertex2dv: return "glVertex2dv"; - case EntryPoint::GLVertex2f: + case EntryPoint::Vertex2f: return "glVertex2f"; - case EntryPoint::GLVertex2fv: + case EntryPoint::Vertex2fv: return "glVertex2fv"; - case EntryPoint::GLVertex2i: + case EntryPoint::Vertex2i: return "glVertex2i"; - case EntryPoint::GLVertex2iv: + case EntryPoint::Vertex2iv: return "glVertex2iv"; - case EntryPoint::GLVertex2s: + case EntryPoint::Vertex2s: return "glVertex2s"; - case EntryPoint::GLVertex2sv: + case EntryPoint::Vertex2sv: return "glVertex2sv"; - case EntryPoint::GLVertex3d: + case EntryPoint::Vertex3d: return "glVertex3d"; - case EntryPoint::GLVertex3dv: + case EntryPoint::Vertex3dv: return "glVertex3dv"; - case EntryPoint::GLVertex3f: + case EntryPoint::Vertex3f: return "glVertex3f"; - case EntryPoint::GLVertex3fv: + case EntryPoint::Vertex3fv: return "glVertex3fv"; - case EntryPoint::GLVertex3i: + case EntryPoint::Vertex3i: return "glVertex3i"; - case EntryPoint::GLVertex3iv: + case EntryPoint::Vertex3iv: return "glVertex3iv"; - case EntryPoint::GLVertex3s: + case EntryPoint::Vertex3s: return "glVertex3s"; - case EntryPoint::GLVertex3sv: + case EntryPoint::Vertex3sv: return "glVertex3sv"; - case EntryPoint::GLVertex4d: + case EntryPoint::Vertex4d: return "glVertex4d"; - case EntryPoint::GLVertex4dv: + case EntryPoint::Vertex4dv: return "glVertex4dv"; - case EntryPoint::GLVertex4f: + case EntryPoint::Vertex4f: return "glVertex4f"; - case EntryPoint::GLVertex4fv: + case EntryPoint::Vertex4fv: return "glVertex4fv"; - case EntryPoint::GLVertex4i: + case EntryPoint::Vertex4i: return "glVertex4i"; - case EntryPoint::GLVertex4iv: + case EntryPoint::Vertex4iv: return "glVertex4iv"; - case EntryPoint::GLVertex4s: + case EntryPoint::Vertex4s: return "glVertex4s"; - case EntryPoint::GLVertex4sv: + case EntryPoint::Vertex4sv: return "glVertex4sv"; - case EntryPoint::GLVertexArrayAttribBinding: + case EntryPoint::VertexArrayAttribBinding: return "glVertexArrayAttribBinding"; - case EntryPoint::GLVertexArrayAttribFormat: + case EntryPoint::VertexArrayAttribFormat: return "glVertexArrayAttribFormat"; - case EntryPoint::GLVertexArrayAttribIFormat: + case EntryPoint::VertexArrayAttribIFormat: return "glVertexArrayAttribIFormat"; - case EntryPoint::GLVertexArrayAttribLFormat: + case EntryPoint::VertexArrayAttribLFormat: return "glVertexArrayAttribLFormat"; - case EntryPoint::GLVertexArrayBindingDivisor: + case EntryPoint::VertexArrayBindingDivisor: return "glVertexArrayBindingDivisor"; - case EntryPoint::GLVertexArrayElementBuffer: + case EntryPoint::VertexArrayElementBuffer: return "glVertexArrayElementBuffer"; - case EntryPoint::GLVertexArrayVertexBuffer: + case EntryPoint::VertexArrayVertexBuffer: return "glVertexArrayVertexBuffer"; - case EntryPoint::GLVertexArrayVertexBuffers: + case EntryPoint::VertexArrayVertexBuffers: return "glVertexArrayVertexBuffers"; - case EntryPoint::GLVertexAttrib1d: + case EntryPoint::VertexAttrib1d: return "glVertexAttrib1d"; - case EntryPoint::GLVertexAttrib1dv: + case EntryPoint::VertexAttrib1dv: return "glVertexAttrib1dv"; - case EntryPoint::GLVertexAttrib1f: + case EntryPoint::VertexAttrib1f: return "glVertexAttrib1f"; - case EntryPoint::GLVertexAttrib1fv: + case EntryPoint::VertexAttrib1fv: return "glVertexAttrib1fv"; - case EntryPoint::GLVertexAttrib1s: + case EntryPoint::VertexAttrib1s: return "glVertexAttrib1s"; - case EntryPoint::GLVertexAttrib1sv: + case EntryPoint::VertexAttrib1sv: return "glVertexAttrib1sv"; - case EntryPoint::GLVertexAttrib2d: + case EntryPoint::VertexAttrib2d: return "glVertexAttrib2d"; - case EntryPoint::GLVertexAttrib2dv: + case EntryPoint::VertexAttrib2dv: return "glVertexAttrib2dv"; - case EntryPoint::GLVertexAttrib2f: + case EntryPoint::VertexAttrib2f: return "glVertexAttrib2f"; - case EntryPoint::GLVertexAttrib2fv: + case EntryPoint::VertexAttrib2fv: return "glVertexAttrib2fv"; - case EntryPoint::GLVertexAttrib2s: + case EntryPoint::VertexAttrib2s: return "glVertexAttrib2s"; - case EntryPoint::GLVertexAttrib2sv: + case EntryPoint::VertexAttrib2sv: return "glVertexAttrib2sv"; - case EntryPoint::GLVertexAttrib3d: + case EntryPoint::VertexAttrib3d: return "glVertexAttrib3d"; - case EntryPoint::GLVertexAttrib3dv: + case EntryPoint::VertexAttrib3dv: return "glVertexAttrib3dv"; - case EntryPoint::GLVertexAttrib3f: + case EntryPoint::VertexAttrib3f: return "glVertexAttrib3f"; - case EntryPoint::GLVertexAttrib3fv: + case EntryPoint::VertexAttrib3fv: return "glVertexAttrib3fv"; - case EntryPoint::GLVertexAttrib3s: + case EntryPoint::VertexAttrib3s: return "glVertexAttrib3s"; - case EntryPoint::GLVertexAttrib3sv: + case EntryPoint::VertexAttrib3sv: return "glVertexAttrib3sv"; - case EntryPoint::GLVertexAttrib4Nbv: + case EntryPoint::VertexAttrib4Nbv: return "glVertexAttrib4Nbv"; - case EntryPoint::GLVertexAttrib4Niv: + case EntryPoint::VertexAttrib4Niv: return "glVertexAttrib4Niv"; - case EntryPoint::GLVertexAttrib4Nsv: + case EntryPoint::VertexAttrib4Nsv: return "glVertexAttrib4Nsv"; - case EntryPoint::GLVertexAttrib4Nub: + case EntryPoint::VertexAttrib4Nub: return "glVertexAttrib4Nub"; - case EntryPoint::GLVertexAttrib4Nubv: + case EntryPoint::VertexAttrib4Nubv: return "glVertexAttrib4Nubv"; - case EntryPoint::GLVertexAttrib4Nuiv: + case EntryPoint::VertexAttrib4Nuiv: return "glVertexAttrib4Nuiv"; - case EntryPoint::GLVertexAttrib4Nusv: + case EntryPoint::VertexAttrib4Nusv: return "glVertexAttrib4Nusv"; - case EntryPoint::GLVertexAttrib4bv: + case EntryPoint::VertexAttrib4bv: return "glVertexAttrib4bv"; - case EntryPoint::GLVertexAttrib4d: + case EntryPoint::VertexAttrib4d: return "glVertexAttrib4d"; - case EntryPoint::GLVertexAttrib4dv: + case EntryPoint::VertexAttrib4dv: return "glVertexAttrib4dv"; - case EntryPoint::GLVertexAttrib4f: + case EntryPoint::VertexAttrib4f: return "glVertexAttrib4f"; - case EntryPoint::GLVertexAttrib4fv: + case EntryPoint::VertexAttrib4fv: return "glVertexAttrib4fv"; - case EntryPoint::GLVertexAttrib4iv: + case EntryPoint::VertexAttrib4iv: return "glVertexAttrib4iv"; - case EntryPoint::GLVertexAttrib4s: + case EntryPoint::VertexAttrib4s: return "glVertexAttrib4s"; - case EntryPoint::GLVertexAttrib4sv: + case EntryPoint::VertexAttrib4sv: return "glVertexAttrib4sv"; - case EntryPoint::GLVertexAttrib4ubv: + case EntryPoint::VertexAttrib4ubv: return "glVertexAttrib4ubv"; - case EntryPoint::GLVertexAttrib4uiv: + case EntryPoint::VertexAttrib4uiv: return "glVertexAttrib4uiv"; - case EntryPoint::GLVertexAttrib4usv: + case EntryPoint::VertexAttrib4usv: return "glVertexAttrib4usv"; - case EntryPoint::GLVertexAttribBinding: + case EntryPoint::VertexAttribBinding: return "glVertexAttribBinding"; - case EntryPoint::GLVertexAttribDivisor: + case EntryPoint::VertexAttribDivisor: return "glVertexAttribDivisor"; - case EntryPoint::GLVertexAttribDivisorANGLE: + case EntryPoint::VertexAttribDivisorANGLE: return "glVertexAttribDivisorANGLE"; - case EntryPoint::GLVertexAttribDivisorEXT: + case EntryPoint::VertexAttribDivisorEXT: return "glVertexAttribDivisorEXT"; - case EntryPoint::GLVertexAttribFormat: + case EntryPoint::VertexAttribFormat: return "glVertexAttribFormat"; - case EntryPoint::GLVertexAttribI1i: + case EntryPoint::VertexAttribI1i: return "glVertexAttribI1i"; - case EntryPoint::GLVertexAttribI1iv: + case EntryPoint::VertexAttribI1iv: return "glVertexAttribI1iv"; - case EntryPoint::GLVertexAttribI1ui: + case EntryPoint::VertexAttribI1ui: return "glVertexAttribI1ui"; - case EntryPoint::GLVertexAttribI1uiv: + case EntryPoint::VertexAttribI1uiv: return "glVertexAttribI1uiv"; - case EntryPoint::GLVertexAttribI2i: + case EntryPoint::VertexAttribI2i: return "glVertexAttribI2i"; - case EntryPoint::GLVertexAttribI2iv: + case EntryPoint::VertexAttribI2iv: return "glVertexAttribI2iv"; - case EntryPoint::GLVertexAttribI2ui: + case EntryPoint::VertexAttribI2ui: return "glVertexAttribI2ui"; - case EntryPoint::GLVertexAttribI2uiv: + case EntryPoint::VertexAttribI2uiv: return "glVertexAttribI2uiv"; - case EntryPoint::GLVertexAttribI3i: + case EntryPoint::VertexAttribI3i: return "glVertexAttribI3i"; - case EntryPoint::GLVertexAttribI3iv: + case EntryPoint::VertexAttribI3iv: return "glVertexAttribI3iv"; - case EntryPoint::GLVertexAttribI3ui: + case EntryPoint::VertexAttribI3ui: return "glVertexAttribI3ui"; - case EntryPoint::GLVertexAttribI3uiv: + case EntryPoint::VertexAttribI3uiv: return "glVertexAttribI3uiv"; - case EntryPoint::GLVertexAttribI4bv: + case EntryPoint::VertexAttribI4bv: return "glVertexAttribI4bv"; - case EntryPoint::GLVertexAttribI4i: + case EntryPoint::VertexAttribI4i: return "glVertexAttribI4i"; - case EntryPoint::GLVertexAttribI4iv: + case EntryPoint::VertexAttribI4iv: return "glVertexAttribI4iv"; - case EntryPoint::GLVertexAttribI4sv: + case EntryPoint::VertexAttribI4sv: return "glVertexAttribI4sv"; - case EntryPoint::GLVertexAttribI4ubv: + case EntryPoint::VertexAttribI4ubv: return "glVertexAttribI4ubv"; - case EntryPoint::GLVertexAttribI4ui: + case EntryPoint::VertexAttribI4ui: return "glVertexAttribI4ui"; - case EntryPoint::GLVertexAttribI4uiv: + case EntryPoint::VertexAttribI4uiv: return "glVertexAttribI4uiv"; - case EntryPoint::GLVertexAttribI4usv: + case EntryPoint::VertexAttribI4usv: return "glVertexAttribI4usv"; - case EntryPoint::GLVertexAttribIFormat: + case EntryPoint::VertexAttribIFormat: return "glVertexAttribIFormat"; - case EntryPoint::GLVertexAttribIPointer: + case EntryPoint::VertexAttribIPointer: return "glVertexAttribIPointer"; - case EntryPoint::GLVertexAttribL1d: + case EntryPoint::VertexAttribL1d: return "glVertexAttribL1d"; - case EntryPoint::GLVertexAttribL1dv: + case EntryPoint::VertexAttribL1dv: return "glVertexAttribL1dv"; - case EntryPoint::GLVertexAttribL2d: + case EntryPoint::VertexAttribL2d: return "glVertexAttribL2d"; - case EntryPoint::GLVertexAttribL2dv: + case EntryPoint::VertexAttribL2dv: return "glVertexAttribL2dv"; - case EntryPoint::GLVertexAttribL3d: + case EntryPoint::VertexAttribL3d: return "glVertexAttribL3d"; - case EntryPoint::GLVertexAttribL3dv: + case EntryPoint::VertexAttribL3dv: return "glVertexAttribL3dv"; - case EntryPoint::GLVertexAttribL4d: + case EntryPoint::VertexAttribL4d: return "glVertexAttribL4d"; - case EntryPoint::GLVertexAttribL4dv: + case EntryPoint::VertexAttribL4dv: return "glVertexAttribL4dv"; - case EntryPoint::GLVertexAttribLFormat: + case EntryPoint::VertexAttribLFormat: return "glVertexAttribLFormat"; - case EntryPoint::GLVertexAttribLPointer: + case EntryPoint::VertexAttribLPointer: return "glVertexAttribLPointer"; - case EntryPoint::GLVertexAttribP1ui: + case EntryPoint::VertexAttribP1ui: return "glVertexAttribP1ui"; - case EntryPoint::GLVertexAttribP1uiv: + case EntryPoint::VertexAttribP1uiv: return "glVertexAttribP1uiv"; - case EntryPoint::GLVertexAttribP2ui: + case EntryPoint::VertexAttribP2ui: return "glVertexAttribP2ui"; - case EntryPoint::GLVertexAttribP2uiv: + case EntryPoint::VertexAttribP2uiv: return "glVertexAttribP2uiv"; - case EntryPoint::GLVertexAttribP3ui: + case EntryPoint::VertexAttribP3ui: return "glVertexAttribP3ui"; - case EntryPoint::GLVertexAttribP3uiv: + case EntryPoint::VertexAttribP3uiv: return "glVertexAttribP3uiv"; - case EntryPoint::GLVertexAttribP4ui: + case EntryPoint::VertexAttribP4ui: return "glVertexAttribP4ui"; - case EntryPoint::GLVertexAttribP4uiv: + case EntryPoint::VertexAttribP4uiv: return "glVertexAttribP4uiv"; - case EntryPoint::GLVertexAttribPointer: + case EntryPoint::VertexAttribPointer: return "glVertexAttribPointer"; - case EntryPoint::GLVertexBindingDivisor: + case EntryPoint::VertexBindingDivisor: return "glVertexBindingDivisor"; - case EntryPoint::GLVertexP2ui: + case EntryPoint::VertexP2ui: return "glVertexP2ui"; - case EntryPoint::GLVertexP2uiv: + case EntryPoint::VertexP2uiv: return "glVertexP2uiv"; - case EntryPoint::GLVertexP3ui: + case EntryPoint::VertexP3ui: return "glVertexP3ui"; - case EntryPoint::GLVertexP3uiv: + case EntryPoint::VertexP3uiv: return "glVertexP3uiv"; - case EntryPoint::GLVertexP4ui: + case EntryPoint::VertexP4ui: return "glVertexP4ui"; - case EntryPoint::GLVertexP4uiv: + case EntryPoint::VertexP4uiv: return "glVertexP4uiv"; - case EntryPoint::GLVertexPointer: + case EntryPoint::VertexPointer: return "glVertexPointer"; - case EntryPoint::GLViewport: + case EntryPoint::Viewport: return "glViewport"; - case EntryPoint::GLViewportArrayv: + case EntryPoint::ViewportArrayv: return "glViewportArrayv"; - case EntryPoint::GLViewportIndexedf: + case EntryPoint::ViewportIndexedf: return "glViewportIndexedf"; - case EntryPoint::GLViewportIndexedfv: + case EntryPoint::ViewportIndexedfv: return "glViewportIndexedfv"; - case EntryPoint::GLWaitSemaphoreEXT: + case EntryPoint::WaitSemaphoreEXT: return "glWaitSemaphoreEXT"; - case EntryPoint::GLWaitSync: + case EntryPoint::WaitSync: return "glWaitSync"; - case EntryPoint::GLWeightPointerOES: + case EntryPoint::WeightPointerOES: return "glWeightPointerOES"; - case EntryPoint::GLWindowPos2d: + case EntryPoint::WindowPos2d: return "glWindowPos2d"; - case EntryPoint::GLWindowPos2dv: + case EntryPoint::WindowPos2dv: return "glWindowPos2dv"; - case EntryPoint::GLWindowPos2f: + case EntryPoint::WindowPos2f: return "glWindowPos2f"; - case EntryPoint::GLWindowPos2fv: + case EntryPoint::WindowPos2fv: return "glWindowPos2fv"; - case EntryPoint::GLWindowPos2i: + case EntryPoint::WindowPos2i: return "glWindowPos2i"; - case EntryPoint::GLWindowPos2iv: + case EntryPoint::WindowPos2iv: return "glWindowPos2iv"; - case EntryPoint::GLWindowPos2s: + case EntryPoint::WindowPos2s: return "glWindowPos2s"; - case EntryPoint::GLWindowPos2sv: + case EntryPoint::WindowPos2sv: return "glWindowPos2sv"; - case EntryPoint::GLWindowPos3d: + case EntryPoint::WindowPos3d: return "glWindowPos3d"; - case EntryPoint::GLWindowPos3dv: + case EntryPoint::WindowPos3dv: return "glWindowPos3dv"; - case EntryPoint::GLWindowPos3f: + case EntryPoint::WindowPos3f: return "glWindowPos3f"; - case EntryPoint::GLWindowPos3fv: + case EntryPoint::WindowPos3fv: return "glWindowPos3fv"; - case EntryPoint::GLWindowPos3i: + case EntryPoint::WindowPos3i: return "glWindowPos3i"; - case EntryPoint::GLWindowPos3iv: + case EntryPoint::WindowPos3iv: return "glWindowPos3iv"; - case EntryPoint::GLWindowPos3s: + case EntryPoint::WindowPos3s: return "glWindowPos3s"; - case EntryPoint::GLWindowPos3sv: + case EntryPoint::WindowPos3sv: return "glWindowPos3sv"; - case EntryPoint::WGLChoosePixelFormat: - return "wglChoosePixelFormat"; - case EntryPoint::WGLCopyContext: - return "wglCopyContext"; - case EntryPoint::WGLCreateContext: - return "wglCreateContext"; - case EntryPoint::WGLCreateLayerContext: - return "wglCreateLayerContext"; - case EntryPoint::WGLDeleteContext: - return "wglDeleteContext"; - case EntryPoint::WGLDescribeLayerPlane: - return "wglDescribeLayerPlane"; - case EntryPoint::WGLDescribePixelFormat: - return "wglDescribePixelFormat"; - case EntryPoint::WGLGetCurrentContext: - return "wglGetCurrentContext"; - case EntryPoint::WGLGetCurrentDC: - return "wglGetCurrentDC"; - case EntryPoint::WGLGetEnhMetaFilePixelFormat: - return "wglGetEnhMetaFilePixelFormat"; - case EntryPoint::WGLGetLayerPaletteEntries: - return "wglGetLayerPaletteEntries"; - case EntryPoint::WGLGetPixelFormat: - return "wglGetPixelFormat"; - case EntryPoint::WGLGetProcAddress: - return "wglGetProcAddress"; - case EntryPoint::WGLMakeCurrent: - return "wglMakeCurrent"; - case EntryPoint::WGLRealizeLayerPalette: - return "wglRealizeLayerPalette"; - case EntryPoint::WGLSetLayerPaletteEntries: - return "wglSetLayerPaletteEntries"; - case EntryPoint::WGLSetPixelFormat: - return "wglSetPixelFormat"; - case EntryPoint::WGLShareLists: - return "wglShareLists"; - case EntryPoint::WGLSwapBuffers: - return "wglSwapBuffers"; - case EntryPoint::WGLSwapLayerBuffers: - return "wglSwapLayerBuffers"; - case EntryPoint::WGLUseFontBitmaps: - return "wglUseFontBitmaps"; - case EntryPoint::WGLUseFontBitmapsA: - return "wglUseFontBitmapsA"; - case EntryPoint::WGLUseFontBitmapsW: - return "wglUseFontBitmapsW"; - case EntryPoint::WGLUseFontOutlines: - return "wglUseFontOutlines"; - case EntryPoint::WGLUseFontOutlinesA: - return "wglUseFontOutlinesA"; - case EntryPoint::WGLUseFontOutlinesW: - return "wglUseFontOutlinesW"; default: UNREACHABLE(); return "error"; } } -} // namespace angle +} // namespace gl diff --git a/gfx/angle/checkout/src/common/entry_points_enum_autogen.h b/gfx/angle/checkout/src/common/entry_points_enum_autogen.h index 8b548f7ec86c..47f12c2f30b5 100644 --- a/gfx/angle/checkout/src/common/entry_points_enum_autogen.h +++ b/gfx/angle/checkout/src/common/entry_points_enum_autogen.h @@ -11,1684 +11,1384 @@ #ifndef COMMON_ENTRYPOINTSENUM_AUTOGEN_H_ #define COMMON_ENTRYPOINTSENUM_AUTOGEN_H_ -namespace angle +namespace gl { enum class EntryPoint { - CLBuildProgram, - CLCloneKernel, - CLCompileProgram, - CLCreateBuffer, - CLCreateBufferWithProperties, - CLCreateCommandQueue, - CLCreateCommandQueueWithProperties, - CLCreateContext, - CLCreateContextFromType, - CLCreateImage, - CLCreateImage2D, - CLCreateImage3D, - CLCreateImageWithProperties, - CLCreateKernel, - CLCreateKernelsInProgram, - CLCreatePipe, - CLCreateProgramWithBinary, - CLCreateProgramWithBuiltInKernels, - CLCreateProgramWithIL, - CLCreateProgramWithSource, - CLCreateSampler, - CLCreateSamplerWithProperties, - CLCreateSubBuffer, - CLCreateSubDevices, - CLCreateUserEvent, - CLEnqueueBarrier, - CLEnqueueBarrierWithWaitList, - CLEnqueueCopyBuffer, - CLEnqueueCopyBufferRect, - CLEnqueueCopyBufferToImage, - CLEnqueueCopyImage, - CLEnqueueCopyImageToBuffer, - CLEnqueueFillBuffer, - CLEnqueueFillImage, - CLEnqueueMapBuffer, - CLEnqueueMapImage, - CLEnqueueMarker, - CLEnqueueMarkerWithWaitList, - CLEnqueueMigrateMemObjects, - CLEnqueueNDRangeKernel, - CLEnqueueNativeKernel, - CLEnqueueReadBuffer, - CLEnqueueReadBufferRect, - CLEnqueueReadImage, - CLEnqueueSVMFree, - CLEnqueueSVMMap, - CLEnqueueSVMMemFill, - CLEnqueueSVMMemcpy, - CLEnqueueSVMMigrateMem, - CLEnqueueSVMUnmap, - CLEnqueueTask, - CLEnqueueUnmapMemObject, - CLEnqueueWaitForEvents, - CLEnqueueWriteBuffer, - CLEnqueueWriteBufferRect, - CLEnqueueWriteImage, - CLFinish, - CLFlush, - CLGetCommandQueueInfo, - CLGetContextInfo, - CLGetDeviceAndHostTimer, - CLGetDeviceIDs, - CLGetDeviceInfo, - CLGetEventInfo, - CLGetEventProfilingInfo, - CLGetExtensionFunctionAddress, - CLGetExtensionFunctionAddressForPlatform, - CLGetHostTimer, - CLGetImageInfo, - CLGetKernelArgInfo, - CLGetKernelInfo, - CLGetKernelSubGroupInfo, - CLGetKernelWorkGroupInfo, - CLGetMemObjectInfo, - CLGetPipeInfo, - CLGetPlatformIDs, - CLGetPlatformInfo, - CLGetProgramBuildInfo, - CLGetProgramInfo, - CLGetSamplerInfo, - CLGetSupportedImageFormats, - CLIcdGetPlatformIDsKHR, - CLLinkProgram, - CLReleaseCommandQueue, - CLReleaseContext, - CLReleaseDevice, - CLReleaseEvent, - CLReleaseKernel, - CLReleaseMemObject, - CLReleaseProgram, - CLReleaseSampler, - CLRetainCommandQueue, - CLRetainContext, - CLRetainDevice, - CLRetainEvent, - CLRetainKernel, - CLRetainMemObject, - CLRetainProgram, - CLRetainSampler, - CLSVMAlloc, - CLSVMFree, - CLSetCommandQueueProperty, - CLSetContextDestructorCallback, - CLSetDefaultDeviceCommandQueue, - CLSetEventCallback, - CLSetKernelArg, - CLSetKernelArgSVMPointer, - CLSetKernelExecInfo, - CLSetMemObjectDestructorCallback, - CLSetProgramReleaseCallback, - CLSetProgramSpecializationConstant, - CLSetUserEventStatus, - CLUnloadCompiler, - CLUnloadPlatformCompiler, - CLWaitForEvents, - EGLBindAPI, - EGLBindTexImage, - EGLChooseConfig, - EGLClientWaitSync, - EGLClientWaitSyncKHR, - EGLCopyBuffers, - EGLCreateContext, - EGLCreateDeviceANGLE, - EGLCreateImage, - EGLCreateImageKHR, - EGLCreateNativeClientBufferANDROID, - EGLCreatePbufferFromClientBuffer, - EGLCreatePbufferSurface, - EGLCreatePixmapSurface, - EGLCreatePlatformPixmapSurface, - EGLCreatePlatformPixmapSurfaceEXT, - EGLCreatePlatformWindowSurface, - EGLCreatePlatformWindowSurfaceEXT, - EGLCreateStreamKHR, - EGLCreateStreamProducerD3DTextureANGLE, - EGLCreateSync, - EGLCreateSyncKHR, - EGLCreateWindowSurface, - EGLDebugMessageControlKHR, - EGLDestroyContext, - EGLDestroyImage, - EGLDestroyImageKHR, - EGLDestroyStreamKHR, - EGLDestroySurface, - EGLDestroySync, - EGLDestroySyncKHR, - EGLDupNativeFenceFDANDROID, - EGLGetCompositorTimingANDROID, - EGLGetCompositorTimingSupportedANDROID, - EGLGetConfigAttrib, - EGLGetConfigs, - EGLGetCurrentContext, - EGLGetCurrentDisplay, - EGLGetCurrentSurface, - EGLGetDisplay, - EGLGetError, - EGLGetFrameTimestampSupportedANDROID, - EGLGetFrameTimestampsANDROID, - EGLGetMscRateANGLE, - EGLGetNativeClientBufferANDROID, - EGLGetNextFrameIdANDROID, - EGLGetPlatformDisplay, - EGLGetPlatformDisplayEXT, - EGLGetProcAddress, - EGLGetSyncAttrib, - EGLGetSyncAttribKHR, - EGLGetSyncValuesCHROMIUM, - EGLHandleGPUSwitchANGLE, - EGLInitialize, - EGLLabelObjectKHR, - EGLMakeCurrent, - EGLPostSubBufferNV, - EGLPresentationTimeANDROID, - EGLProgramCacheGetAttribANGLE, - EGLProgramCachePopulateANGLE, - EGLProgramCacheQueryANGLE, - EGLProgramCacheResizeANGLE, - EGLQueryAPI, - EGLQueryContext, - EGLQueryDebugKHR, - EGLQueryDeviceAttribEXT, - EGLQueryDeviceStringEXT, - EGLQueryDisplayAttribANGLE, - EGLQueryDisplayAttribEXT, - EGLQueryStreamKHR, - EGLQueryStreamu64KHR, - EGLQueryString, - EGLQueryStringiANGLE, - EGLQuerySurface, - EGLQuerySurfacePointerANGLE, - EGLReacquireHighPowerGPUANGLE, - EGLReleaseDeviceANGLE, - EGLReleaseHighPowerGPUANGLE, - EGLReleaseTexImage, - EGLReleaseThread, - EGLSetBlobCacheFuncsANDROID, - EGLSignalSyncKHR, - EGLStreamAttribKHR, - EGLStreamConsumerAcquireKHR, - EGLStreamConsumerGLTextureExternalAttribsNV, - EGLStreamConsumerGLTextureExternalKHR, - EGLStreamConsumerReleaseKHR, - EGLStreamPostD3DTextureANGLE, - EGLSurfaceAttrib, - EGLSwapBuffers, - EGLSwapBuffersWithDamageKHR, - EGLSwapBuffersWithFrameTokenANGLE, - EGLSwapInterval, - EGLTerminate, - EGLWaitClient, - EGLWaitGL, - EGLWaitNative, - EGLWaitSync, - EGLWaitSyncKHR, - GLAccum, - GLActiveShaderProgram, - GLActiveShaderProgramEXT, - GLActiveTexture, - GLAlphaFunc, - GLAlphaFuncx, - GLAreTexturesResident, - GLArrayElement, - GLAttachShader, - GLBegin, - GLBeginConditionalRender, - GLBeginQuery, - GLBeginQueryEXT, - GLBeginQueryIndexed, - GLBeginTransformFeedback, - GLBindAttribLocation, - GLBindBuffer, - GLBindBufferBase, - GLBindBufferRange, - GLBindBuffersBase, - GLBindBuffersRange, - GLBindFragDataLocation, - GLBindFragDataLocationEXT, - GLBindFragDataLocationIndexed, - GLBindFragDataLocationIndexedEXT, - GLBindFramebuffer, - GLBindFramebufferOES, - GLBindImageTexture, - GLBindImageTextures, - GLBindProgramPipeline, - GLBindProgramPipelineEXT, - GLBindRenderbuffer, - GLBindRenderbufferOES, - GLBindSampler, - GLBindSamplers, - GLBindTexture, - GLBindTextureUnit, - GLBindTextures, - GLBindTransformFeedback, - GLBindUniformLocationCHROMIUM, - GLBindVertexArray, - GLBindVertexArrayOES, - GLBindVertexBuffer, - GLBindVertexBuffers, - GLBitmap, - GLBlendBarrier, - GLBlendBarrierKHR, - GLBlendColor, - GLBlendEquation, - GLBlendEquationSeparate, - GLBlendEquationSeparatei, - GLBlendEquationSeparateiEXT, - GLBlendEquationSeparateiOES, - GLBlendEquationi, - GLBlendEquationiEXT, - GLBlendEquationiOES, - GLBlendFunc, - GLBlendFuncSeparate, - GLBlendFuncSeparatei, - GLBlendFuncSeparateiEXT, - GLBlendFuncSeparateiOES, - GLBlendFunci, - GLBlendFunciEXT, - GLBlendFunciOES, - GLBlitFramebuffer, - GLBlitFramebufferANGLE, - GLBlitFramebufferNV, - GLBlitNamedFramebuffer, - GLBufferData, - GLBufferStorage, - GLBufferStorageEXT, - GLBufferStorageExternalEXT, - GLBufferStorageMemEXT, - GLBufferSubData, - GLCallList, - GLCallLists, - GLCheckFramebufferStatus, - GLCheckFramebufferStatusOES, - GLCheckNamedFramebufferStatus, - GLClampColor, - GLClear, - GLClearAccum, - GLClearBufferData, - GLClearBufferSubData, - GLClearBufferfi, - GLClearBufferfv, - GLClearBufferiv, - GLClearBufferuiv, - GLClearColor, - GLClearColorx, - GLClearDepth, - GLClearDepthf, - GLClearDepthx, - GLClearIndex, - GLClearNamedBufferData, - GLClearNamedBufferSubData, - GLClearNamedFramebufferfi, - GLClearNamedFramebufferfv, - GLClearNamedFramebufferiv, - GLClearNamedFramebufferuiv, - GLClearStencil, - GLClearTexImage, - GLClearTexSubImage, - GLClientActiveTexture, - GLClientWaitSync, - GLClipControl, - GLClipControlEXT, - GLClipPlane, - GLClipPlanef, - GLClipPlanex, - GLColor3b, - GLColor3bv, - GLColor3d, - GLColor3dv, - GLColor3f, - GLColor3fv, - GLColor3i, - GLColor3iv, - GLColor3s, - GLColor3sv, - GLColor3ub, - GLColor3ubv, - GLColor3ui, - GLColor3uiv, - GLColor3us, - GLColor3usv, - GLColor4b, - GLColor4bv, - GLColor4d, - GLColor4dv, - GLColor4f, - GLColor4fv, - GLColor4i, - GLColor4iv, - GLColor4s, - GLColor4sv, - GLColor4ub, - GLColor4ubv, - GLColor4ui, - GLColor4uiv, - GLColor4us, - GLColor4usv, - GLColor4x, - GLColorMask, - GLColorMaski, - GLColorMaskiEXT, - GLColorMaskiOES, - GLColorMaterial, - GLColorP3ui, - GLColorP3uiv, - GLColorP4ui, - GLColorP4uiv, - GLColorPointer, - GLCompileShader, - GLCompressedCopyTextureCHROMIUM, - GLCompressedTexImage1D, - GLCompressedTexImage2D, - GLCompressedTexImage2DRobustANGLE, - GLCompressedTexImage3D, - GLCompressedTexImage3DOES, - GLCompressedTexImage3DRobustANGLE, - GLCompressedTexSubImage1D, - GLCompressedTexSubImage2D, - GLCompressedTexSubImage2DRobustANGLE, - GLCompressedTexSubImage3D, - GLCompressedTexSubImage3DOES, - GLCompressedTexSubImage3DRobustANGLE, - GLCompressedTextureSubImage1D, - GLCompressedTextureSubImage2D, - GLCompressedTextureSubImage3D, - GLCopyBufferSubData, - GLCopyImageSubData, - GLCopyImageSubDataEXT, - GLCopyImageSubDataOES, - GLCopyNamedBufferSubData, - GLCopyPixels, - GLCopySubTexture3DANGLE, - GLCopySubTextureCHROMIUM, - GLCopyTexImage1D, - GLCopyTexImage2D, - GLCopyTexSubImage1D, - GLCopyTexSubImage2D, - GLCopyTexSubImage3D, - GLCopyTexSubImage3DOES, - GLCopyTexture3DANGLE, - GLCopyTextureCHROMIUM, - GLCopyTextureSubImage1D, - GLCopyTextureSubImage2D, - GLCopyTextureSubImage3D, - GLCoverageModulationCHROMIUM, - GLCreateBuffers, - GLCreateFramebuffers, - GLCreateMemoryObjectsEXT, - GLCreateProgram, - GLCreateProgramPipelines, - GLCreateQueries, - GLCreateRenderbuffers, - GLCreateSamplers, - GLCreateShader, - GLCreateShaderProgramv, - GLCreateShaderProgramvEXT, - GLCreateTextures, - GLCreateTransformFeedbacks, - GLCreateVertexArrays, - GLCullFace, - GLCurrentPaletteMatrixOES, - GLDebugMessageCallback, - GLDebugMessageCallbackKHR, - GLDebugMessageControl, - GLDebugMessageControlKHR, - GLDebugMessageInsert, - GLDebugMessageInsertKHR, - GLDeleteBuffers, - GLDeleteFencesNV, - GLDeleteFramebuffers, - GLDeleteFramebuffersOES, - GLDeleteLists, - GLDeleteMemoryObjectsEXT, - GLDeleteProgram, - GLDeleteProgramPipelines, - GLDeleteProgramPipelinesEXT, - GLDeleteQueries, - GLDeleteQueriesEXT, - GLDeleteRenderbuffers, - GLDeleteRenderbuffersOES, - GLDeleteSamplers, - GLDeleteSemaphoresEXT, - GLDeleteShader, - GLDeleteSync, - GLDeleteTextures, - GLDeleteTransformFeedbacks, - GLDeleteVertexArrays, - GLDeleteVertexArraysOES, - GLDepthFunc, - GLDepthMask, - GLDepthRange, - GLDepthRangeArrayv, - GLDepthRangeIndexed, - GLDepthRangef, - GLDepthRangex, - GLDetachShader, - GLDisable, - GLDisableClientState, - GLDisableExtensionANGLE, - GLDisableVertexArrayAttrib, - GLDisableVertexAttribArray, - GLDisablei, - GLDisableiEXT, - GLDisableiOES, - GLDiscardFramebufferEXT, - GLDispatchCompute, - GLDispatchComputeIndirect, - GLDrawArrays, - GLDrawArraysIndirect, - GLDrawArraysInstanced, - GLDrawArraysInstancedANGLE, - GLDrawArraysInstancedBaseInstance, - GLDrawArraysInstancedBaseInstanceANGLE, - GLDrawArraysInstancedEXT, - GLDrawBuffer, - GLDrawBuffers, - GLDrawBuffersEXT, - GLDrawElements, - GLDrawElementsBaseVertex, - GLDrawElementsBaseVertexEXT, - GLDrawElementsBaseVertexOES, - GLDrawElementsIndirect, - GLDrawElementsInstanced, - GLDrawElementsInstancedANGLE, - GLDrawElementsInstancedBaseInstance, - GLDrawElementsInstancedBaseVertex, - GLDrawElementsInstancedBaseVertexBaseInstance, - GLDrawElementsInstancedBaseVertexBaseInstanceANGLE, - GLDrawElementsInstancedBaseVertexEXT, - GLDrawElementsInstancedBaseVertexOES, - GLDrawElementsInstancedEXT, - GLDrawPixels, - GLDrawRangeElements, - GLDrawRangeElementsBaseVertex, - GLDrawRangeElementsBaseVertexEXT, - GLDrawRangeElementsBaseVertexOES, - GLDrawTexfOES, - GLDrawTexfvOES, - GLDrawTexiOES, - GLDrawTexivOES, - GLDrawTexsOES, - GLDrawTexsvOES, - GLDrawTexxOES, - GLDrawTexxvOES, - GLDrawTransformFeedback, - GLDrawTransformFeedbackInstanced, - GLDrawTransformFeedbackStream, - GLDrawTransformFeedbackStreamInstanced, - GLEGLImageTargetRenderbufferStorageOES, - GLEGLImageTargetTexture2DOES, - GLEdgeFlag, - GLEdgeFlagPointer, - GLEdgeFlagv, - GLEnable, - GLEnableClientState, - GLEnableVertexArrayAttrib, - GLEnableVertexAttribArray, - GLEnablei, - GLEnableiEXT, - GLEnableiOES, - GLEnd, - GLEndConditionalRender, - GLEndList, - GLEndQuery, - GLEndQueryEXT, - GLEndQueryIndexed, - GLEndTransformFeedback, - GLEvalCoord1d, - GLEvalCoord1dv, - GLEvalCoord1f, - GLEvalCoord1fv, - GLEvalCoord2d, - GLEvalCoord2dv, - GLEvalCoord2f, - GLEvalCoord2fv, - GLEvalMesh1, - GLEvalMesh2, - GLEvalPoint1, - GLEvalPoint2, - GLFeedbackBuffer, - GLFenceSync, - GLFinish, - GLFinishFenceNV, - GLFlush, - GLFlushMappedBufferRange, - GLFlushMappedBufferRangeEXT, - GLFlushMappedNamedBufferRange, - GLFogCoordPointer, - GLFogCoordd, - GLFogCoorddv, - GLFogCoordf, - GLFogCoordfv, - GLFogf, - GLFogfv, - GLFogi, - GLFogiv, - GLFogx, - GLFogxv, - GLFramebufferFetchBarrierEXT, - GLFramebufferParameteri, - GLFramebufferRenderbuffer, - GLFramebufferRenderbufferOES, - GLFramebufferTexture, - GLFramebufferTexture1D, - GLFramebufferTexture2D, - GLFramebufferTexture2DMultisampleEXT, - GLFramebufferTexture2DOES, - GLFramebufferTexture3D, - GLFramebufferTexture3DOES, - GLFramebufferTextureEXT, - GLFramebufferTextureLayer, - GLFramebufferTextureMultiviewOVR, - GLFrontFace, - GLFrustum, - GLFrustumf, - GLFrustumx, - GLGenBuffers, - GLGenFencesNV, - GLGenFramebuffers, - GLGenFramebuffersOES, - GLGenLists, - GLGenProgramPipelines, - GLGenProgramPipelinesEXT, - GLGenQueries, - GLGenQueriesEXT, - GLGenRenderbuffers, - GLGenRenderbuffersOES, - GLGenSamplers, - GLGenSemaphoresEXT, - GLGenTextures, - GLGenTransformFeedbacks, - GLGenVertexArrays, - GLGenVertexArraysOES, - GLGenerateMipmap, - GLGenerateMipmapOES, - GLGenerateTextureMipmap, - GLGetActiveAtomicCounterBufferiv, - GLGetActiveAttrib, - GLGetActiveSubroutineName, - GLGetActiveSubroutineUniformName, - GLGetActiveSubroutineUniformiv, - GLGetActiveUniform, - GLGetActiveUniformBlockName, - GLGetActiveUniformBlockiv, - GLGetActiveUniformBlockivRobustANGLE, - GLGetActiveUniformName, - GLGetActiveUniformsiv, - GLGetAttachedShaders, - GLGetAttribLocation, - GLGetBooleani_v, - GLGetBooleani_vRobustANGLE, - GLGetBooleanv, - GLGetBooleanvRobustANGLE, - GLGetBufferParameteri64v, - GLGetBufferParameteri64vRobustANGLE, - GLGetBufferParameteriv, - GLGetBufferParameterivRobustANGLE, - GLGetBufferPointerv, - GLGetBufferPointervOES, - GLGetBufferPointervRobustANGLE, - GLGetBufferSubData, - GLGetClipPlane, - GLGetClipPlanef, - GLGetClipPlanex, - GLGetCompressedTexImage, - GLGetCompressedTextureImage, - GLGetCompressedTextureSubImage, - GLGetDebugMessageLog, - GLGetDebugMessageLogKHR, - GLGetDoublei_v, - GLGetDoublev, - GLGetError, - GLGetFenceivNV, - GLGetFixedv, - GLGetFloati_v, - GLGetFloatv, - GLGetFloatvRobustANGLE, - GLGetFragDataIndex, - GLGetFragDataIndexEXT, - GLGetFragDataLocation, - GLGetFramebufferAttachmentParameteriv, - GLGetFramebufferAttachmentParameterivOES, - GLGetFramebufferAttachmentParameterivRobustANGLE, - GLGetFramebufferParameteriv, - GLGetFramebufferParameterivRobustANGLE, - GLGetGraphicsResetStatus, - GLGetGraphicsResetStatusEXT, - GLGetInteger64i_v, - GLGetInteger64i_vRobustANGLE, - GLGetInteger64v, - GLGetInteger64vEXT, - GLGetInteger64vRobustANGLE, - GLGetIntegeri_v, - GLGetIntegeri_vRobustANGLE, - GLGetIntegerv, - GLGetIntegervRobustANGLE, - GLGetInternalformati64v, - GLGetInternalformativ, - GLGetInternalformativRobustANGLE, - GLGetLightfv, - GLGetLightiv, - GLGetLightxv, - GLGetMapdv, - GLGetMapfv, - GLGetMapiv, - GLGetMaterialfv, - GLGetMaterialiv, - GLGetMaterialxv, - GLGetMemoryObjectParameterivEXT, - GLGetMultisamplefv, - GLGetMultisamplefvANGLE, - GLGetMultisamplefvRobustANGLE, - GLGetNamedBufferParameteri64v, - GLGetNamedBufferParameteriv, - GLGetNamedBufferPointerv, - GLGetNamedBufferSubData, - GLGetNamedFramebufferAttachmentParameteriv, - GLGetNamedFramebufferParameteriv, - GLGetNamedRenderbufferParameteriv, - GLGetObjectLabel, - GLGetObjectLabelEXT, - GLGetObjectLabelKHR, - GLGetObjectPtrLabel, - GLGetObjectPtrLabelKHR, - GLGetPixelMapfv, - GLGetPixelMapuiv, - GLGetPixelMapusv, - GLGetPointerv, - GLGetPointervKHR, - GLGetPointervRobustANGLERobustANGLE, - GLGetPolygonStipple, - GLGetProgramBinary, - GLGetProgramBinaryOES, - GLGetProgramInfoLog, - GLGetProgramInterfaceiv, - GLGetProgramInterfaceivRobustANGLE, - GLGetProgramPipelineInfoLog, - GLGetProgramPipelineInfoLogEXT, - GLGetProgramPipelineiv, - GLGetProgramPipelineivEXT, - GLGetProgramResourceIndex, - GLGetProgramResourceLocation, - GLGetProgramResourceLocationIndex, - GLGetProgramResourceLocationIndexEXT, - GLGetProgramResourceName, - GLGetProgramResourceiv, - GLGetProgramStageiv, - GLGetProgramiv, - GLGetProgramivRobustANGLE, - GLGetQueryBufferObjecti64v, - GLGetQueryBufferObjectiv, - GLGetQueryBufferObjectui64v, - GLGetQueryBufferObjectuiv, - GLGetQueryIndexediv, - GLGetQueryObjecti64v, - GLGetQueryObjecti64vEXT, - GLGetQueryObjecti64vRobustANGLE, - GLGetQueryObjectiv, - GLGetQueryObjectivEXT, - GLGetQueryObjectivRobustANGLE, - GLGetQueryObjectui64v, - GLGetQueryObjectui64vEXT, - GLGetQueryObjectui64vRobustANGLE, - GLGetQueryObjectuiv, - GLGetQueryObjectuivEXT, - GLGetQueryObjectuivRobustANGLE, - GLGetQueryiv, - GLGetQueryivEXT, - GLGetQueryivRobustANGLE, - GLGetRenderbufferImageANGLE, - GLGetRenderbufferParameteriv, - GLGetRenderbufferParameterivOES, - GLGetRenderbufferParameterivRobustANGLE, - GLGetSamplerParameterIiv, - GLGetSamplerParameterIivEXT, - GLGetSamplerParameterIivOES, - GLGetSamplerParameterIivRobustANGLE, - GLGetSamplerParameterIuiv, - GLGetSamplerParameterIuivEXT, - GLGetSamplerParameterIuivOES, - GLGetSamplerParameterIuivRobustANGLE, - GLGetSamplerParameterfv, - GLGetSamplerParameterfvRobustANGLE, - GLGetSamplerParameteriv, - GLGetSamplerParameterivRobustANGLE, - GLGetSemaphoreParameterui64vEXT, - GLGetShaderInfoLog, - GLGetShaderPrecisionFormat, - GLGetShaderSource, - GLGetShaderiv, - GLGetShaderivRobustANGLE, - GLGetString, - GLGetStringi, - GLGetSubroutineIndex, - GLGetSubroutineUniformLocation, - GLGetSynciv, - GLGetTexEnvfv, - GLGetTexEnviv, - GLGetTexEnvxv, - GLGetTexGendv, - GLGetTexGenfv, - GLGetTexGenfvOES, - GLGetTexGeniv, - GLGetTexGenivOES, - GLGetTexGenxvOES, - GLGetTexImage, - GLGetTexImageANGLE, - GLGetTexLevelParameterfv, - GLGetTexLevelParameterfvANGLE, - GLGetTexLevelParameterfvRobustANGLE, - GLGetTexLevelParameteriv, - GLGetTexLevelParameterivANGLE, - GLGetTexLevelParameterivRobustANGLE, - GLGetTexParameterIiv, - GLGetTexParameterIivEXT, - GLGetTexParameterIivOES, - GLGetTexParameterIivRobustANGLE, - GLGetTexParameterIuiv, - GLGetTexParameterIuivEXT, - GLGetTexParameterIuivOES, - GLGetTexParameterIuivRobustANGLE, - GLGetTexParameterfv, - GLGetTexParameterfvRobustANGLE, - GLGetTexParameteriv, - GLGetTexParameterivRobustANGLE, - GLGetTexParameterxv, - GLGetTextureImage, - GLGetTextureLevelParameterfv, - GLGetTextureLevelParameteriv, - GLGetTextureParameterIiv, - GLGetTextureParameterIuiv, - GLGetTextureParameterfv, - GLGetTextureParameteriv, - GLGetTextureSubImage, - GLGetTransformFeedbackVarying, - GLGetTransformFeedbacki64_v, - GLGetTransformFeedbacki_v, - GLGetTransformFeedbackiv, - GLGetTranslatedShaderSourceANGLE, - GLGetUniformBlockIndex, - GLGetUniformIndices, - GLGetUniformLocation, - GLGetUniformSubroutineuiv, - GLGetUniformdv, - GLGetUniformfv, - GLGetUniformfvRobustANGLE, - GLGetUniformiv, - GLGetUniformivRobustANGLE, - GLGetUniformuiv, - GLGetUniformuivRobustANGLE, - GLGetUnsignedBytei_vEXT, - GLGetUnsignedBytevEXT, - GLGetVertexArrayIndexed64iv, - GLGetVertexArrayIndexediv, - GLGetVertexArrayiv, - GLGetVertexAttribIiv, - GLGetVertexAttribIivRobustANGLE, - GLGetVertexAttribIuiv, - GLGetVertexAttribIuivRobustANGLE, - GLGetVertexAttribLdv, - GLGetVertexAttribPointerv, - GLGetVertexAttribPointervRobustANGLE, - GLGetVertexAttribdv, - GLGetVertexAttribfv, - GLGetVertexAttribfvRobustANGLE, - GLGetVertexAttribiv, - GLGetVertexAttribivRobustANGLE, - GLGetnColorTable, - GLGetnCompressedTexImage, - GLGetnConvolutionFilter, - GLGetnHistogram, - GLGetnMapdv, - GLGetnMapfv, - GLGetnMapiv, - GLGetnMinmax, - GLGetnPixelMapfv, - GLGetnPixelMapuiv, - GLGetnPixelMapusv, - GLGetnPolygonStipple, - GLGetnSeparableFilter, - GLGetnTexImage, - GLGetnUniformdv, - GLGetnUniformfv, - GLGetnUniformfvEXT, - GLGetnUniformfvRobustANGLE, - GLGetnUniformiv, - GLGetnUniformivEXT, - GLGetnUniformivRobustANGLE, - GLGetnUniformuiv, - GLGetnUniformuivRobustANGLE, - GLHint, - GLImportMemoryFdEXT, - GLImportMemoryZirconHandleANGLE, - GLImportSemaphoreFdEXT, - GLImportSemaphoreZirconHandleANGLE, - GLIndexMask, - GLIndexPointer, - GLIndexd, - GLIndexdv, - GLIndexf, - GLIndexfv, - GLIndexi, - GLIndexiv, - GLIndexs, - GLIndexsv, - GLIndexub, - GLIndexubv, - GLInitNames, - GLInsertEventMarkerEXT, - GLInterleavedArrays, - GLInvalid, - GLInvalidateBufferData, - GLInvalidateBufferSubData, - GLInvalidateFramebuffer, - GLInvalidateNamedFramebufferData, - GLInvalidateNamedFramebufferSubData, - GLInvalidateSubFramebuffer, - GLInvalidateTexImage, - GLInvalidateTexSubImage, - GLInvalidateTextureANGLE, - GLIsBuffer, - GLIsEnabled, - GLIsEnabledi, - GLIsEnablediEXT, - GLIsEnablediOES, - GLIsFenceNV, - GLIsFramebuffer, - GLIsFramebufferOES, - GLIsList, - GLIsMemoryObjectEXT, - GLIsProgram, - GLIsProgramPipeline, - GLIsProgramPipelineEXT, - GLIsQuery, - GLIsQueryEXT, - GLIsRenderbuffer, - GLIsRenderbufferOES, - GLIsSampler, - GLIsSemaphoreEXT, - GLIsShader, - GLIsSync, - GLIsTexture, - GLIsTransformFeedback, - GLIsVertexArray, - GLIsVertexArrayOES, - GLLabelObjectEXT, - GLLightModelf, - GLLightModelfv, - GLLightModeli, - GLLightModeliv, - GLLightModelx, - GLLightModelxv, - GLLightf, - GLLightfv, - GLLighti, - GLLightiv, - GLLightx, - GLLightxv, - GLLineStipple, - GLLineWidth, - GLLineWidthx, - GLLinkProgram, - GLListBase, - GLLoadIdentity, - GLLoadMatrixd, - GLLoadMatrixf, - GLLoadMatrixx, - GLLoadName, - GLLoadPaletteFromModelViewMatrixOES, - GLLoadTransposeMatrixd, - GLLoadTransposeMatrixf, - GLLogicOp, - GLLoseContextCHROMIUM, - GLMap1d, - GLMap1f, - GLMap2d, - GLMap2f, - GLMapBuffer, - GLMapBufferOES, - GLMapBufferRange, - GLMapBufferRangeEXT, - GLMapGrid1d, - GLMapGrid1f, - GLMapGrid2d, - GLMapGrid2f, - GLMapNamedBuffer, - GLMapNamedBufferRange, - GLMaterialf, - GLMaterialfv, - GLMateriali, - GLMaterialiv, - GLMaterialx, - GLMaterialxv, - GLMatrixIndexPointerOES, - GLMatrixMode, - GLMaxShaderCompilerThreadsKHR, - GLMemoryBarrier, - GLMemoryBarrierByRegion, - GLMemoryObjectParameterivEXT, - GLMinSampleShading, - GLMinSampleShadingOES, - GLMultMatrixd, - GLMultMatrixf, - GLMultMatrixx, - GLMultTransposeMatrixd, - GLMultTransposeMatrixf, - GLMultiDrawArrays, - GLMultiDrawArraysANGLE, - GLMultiDrawArraysIndirect, - GLMultiDrawArraysIndirectCount, - GLMultiDrawArraysInstancedANGLE, - GLMultiDrawArraysInstancedBaseInstanceANGLE, - GLMultiDrawElements, - GLMultiDrawElementsANGLE, - GLMultiDrawElementsBaseVertex, - GLMultiDrawElementsBaseVertexEXT, - GLMultiDrawElementsIndirect, - GLMultiDrawElementsIndirectCount, - GLMultiDrawElementsInstancedANGLE, - GLMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, - GLMultiTexCoord1d, - GLMultiTexCoord1dv, - GLMultiTexCoord1f, - GLMultiTexCoord1fv, - GLMultiTexCoord1i, - GLMultiTexCoord1iv, - GLMultiTexCoord1s, - GLMultiTexCoord1sv, - GLMultiTexCoord2d, - GLMultiTexCoord2dv, - GLMultiTexCoord2f, - GLMultiTexCoord2fv, - GLMultiTexCoord2i, - GLMultiTexCoord2iv, - GLMultiTexCoord2s, - GLMultiTexCoord2sv, - GLMultiTexCoord3d, - GLMultiTexCoord3dv, - GLMultiTexCoord3f, - GLMultiTexCoord3fv, - GLMultiTexCoord3i, - GLMultiTexCoord3iv, - GLMultiTexCoord3s, - GLMultiTexCoord3sv, - GLMultiTexCoord4d, - GLMultiTexCoord4dv, - GLMultiTexCoord4f, - GLMultiTexCoord4fv, - GLMultiTexCoord4i, - GLMultiTexCoord4iv, - GLMultiTexCoord4s, - GLMultiTexCoord4sv, - GLMultiTexCoord4x, - GLMultiTexCoordP1ui, - GLMultiTexCoordP1uiv, - GLMultiTexCoordP2ui, - GLMultiTexCoordP2uiv, - GLMultiTexCoordP3ui, - GLMultiTexCoordP3uiv, - GLMultiTexCoordP4ui, - GLMultiTexCoordP4uiv, - GLNamedBufferData, - GLNamedBufferStorage, - GLNamedBufferStorageExternalEXT, - GLNamedBufferSubData, - GLNamedFramebufferDrawBuffer, - GLNamedFramebufferDrawBuffers, - GLNamedFramebufferParameteri, - GLNamedFramebufferReadBuffer, - GLNamedFramebufferRenderbuffer, - GLNamedFramebufferTexture, - GLNamedFramebufferTextureLayer, - GLNamedRenderbufferStorage, - GLNamedRenderbufferStorageMultisample, - GLNewList, - GLNormal3b, - GLNormal3bv, - GLNormal3d, - GLNormal3dv, - GLNormal3f, - GLNormal3fv, - GLNormal3i, - GLNormal3iv, - GLNormal3s, - GLNormal3sv, - GLNormal3x, - GLNormalP3ui, - GLNormalP3uiv, - GLNormalPointer, - GLObjectLabel, - GLObjectLabelKHR, - GLObjectPtrLabel, - GLObjectPtrLabelKHR, - GLOrtho, - GLOrthof, - GLOrthox, - GLPassThrough, - GLPatchParameterfv, - GLPatchParameteri, - GLPatchParameteriEXT, - GLPauseTransformFeedback, - GLPixelMapfv, - GLPixelMapuiv, - GLPixelMapusv, - GLPixelStoref, - GLPixelStorei, - GLPixelTransferf, - GLPixelTransferi, - GLPixelZoom, - GLPointParameterf, - GLPointParameterfv, - GLPointParameteri, - GLPointParameteriv, - GLPointParameterx, - GLPointParameterxv, - GLPointSize, - GLPointSizePointerOES, - GLPointSizex, - GLPolygonMode, - GLPolygonOffset, - GLPolygonOffsetClamp, - GLPolygonOffsetx, - GLPolygonStipple, - GLPopAttrib, - GLPopClientAttrib, - GLPopDebugGroup, - GLPopDebugGroupKHR, - GLPopGroupMarkerEXT, - GLPopMatrix, - GLPopName, - GLPrimitiveBoundingBox, - GLPrimitiveBoundingBoxEXT, - GLPrimitiveRestartIndex, - GLPrioritizeTextures, - GLProgramBinary, - GLProgramBinaryOES, - GLProgramParameteri, - GLProgramParameteriEXT, - GLProgramUniform1d, - GLProgramUniform1dv, - GLProgramUniform1f, - GLProgramUniform1fEXT, - GLProgramUniform1fv, - GLProgramUniform1fvEXT, - GLProgramUniform1i, - GLProgramUniform1iEXT, - GLProgramUniform1iv, - GLProgramUniform1ivEXT, - GLProgramUniform1ui, - GLProgramUniform1uiEXT, - GLProgramUniform1uiv, - GLProgramUniform1uivEXT, - GLProgramUniform2d, - GLProgramUniform2dv, - GLProgramUniform2f, - GLProgramUniform2fEXT, - GLProgramUniform2fv, - GLProgramUniform2fvEXT, - GLProgramUniform2i, - GLProgramUniform2iEXT, - GLProgramUniform2iv, - GLProgramUniform2ivEXT, - GLProgramUniform2ui, - GLProgramUniform2uiEXT, - GLProgramUniform2uiv, - GLProgramUniform2uivEXT, - GLProgramUniform3d, - GLProgramUniform3dv, - GLProgramUniform3f, - GLProgramUniform3fEXT, - GLProgramUniform3fv, - GLProgramUniform3fvEXT, - GLProgramUniform3i, - GLProgramUniform3iEXT, - GLProgramUniform3iv, - GLProgramUniform3ivEXT, - GLProgramUniform3ui, - GLProgramUniform3uiEXT, - GLProgramUniform3uiv, - GLProgramUniform3uivEXT, - GLProgramUniform4d, - GLProgramUniform4dv, - GLProgramUniform4f, - GLProgramUniform4fEXT, - GLProgramUniform4fv, - GLProgramUniform4fvEXT, - GLProgramUniform4i, - GLProgramUniform4iEXT, - GLProgramUniform4iv, - GLProgramUniform4ivEXT, - GLProgramUniform4ui, - GLProgramUniform4uiEXT, - GLProgramUniform4uiv, - GLProgramUniform4uivEXT, - GLProgramUniformMatrix2dv, - GLProgramUniformMatrix2fv, - GLProgramUniformMatrix2fvEXT, - GLProgramUniformMatrix2x3dv, - GLProgramUniformMatrix2x3fv, - GLProgramUniformMatrix2x3fvEXT, - GLProgramUniformMatrix2x4dv, - GLProgramUniformMatrix2x4fv, - GLProgramUniformMatrix2x4fvEXT, - GLProgramUniformMatrix3dv, - GLProgramUniformMatrix3fv, - GLProgramUniformMatrix3fvEXT, - GLProgramUniformMatrix3x2dv, - GLProgramUniformMatrix3x2fv, - GLProgramUniformMatrix3x2fvEXT, - GLProgramUniformMatrix3x4dv, - GLProgramUniformMatrix3x4fv, - GLProgramUniformMatrix3x4fvEXT, - GLProgramUniformMatrix4dv, - GLProgramUniformMatrix4fv, - GLProgramUniformMatrix4fvEXT, - GLProgramUniformMatrix4x2dv, - GLProgramUniformMatrix4x2fv, - GLProgramUniformMatrix4x2fvEXT, - GLProgramUniformMatrix4x3dv, - GLProgramUniformMatrix4x3fv, - GLProgramUniformMatrix4x3fvEXT, - GLProvokingVertex, - GLProvokingVertexANGLE, - GLPushAttrib, - GLPushClientAttrib, - GLPushDebugGroup, - GLPushDebugGroupKHR, - GLPushGroupMarkerEXT, - GLPushMatrix, - GLPushName, - GLQueryCounter, - GLQueryCounterEXT, - GLQueryMatrixxOES, - GLRasterPos2d, - GLRasterPos2dv, - GLRasterPos2f, - GLRasterPos2fv, - GLRasterPos2i, - GLRasterPos2iv, - GLRasterPos2s, - GLRasterPos2sv, - GLRasterPos3d, - GLRasterPos3dv, - GLRasterPos3f, - GLRasterPos3fv, - GLRasterPos3i, - GLRasterPos3iv, - GLRasterPos3s, - GLRasterPos3sv, - GLRasterPos4d, - GLRasterPos4dv, - GLRasterPos4f, - GLRasterPos4fv, - GLRasterPos4i, - GLRasterPos4iv, - GLRasterPos4s, - GLRasterPos4sv, - GLReadBuffer, - GLReadPixels, - GLReadPixelsRobustANGLE, - GLReadnPixels, - GLReadnPixelsEXT, - GLReadnPixelsRobustANGLE, - GLRectd, - GLRectdv, - GLRectf, - GLRectfv, - GLRecti, - GLRectiv, - GLRects, - GLRectsv, - GLReleaseShaderCompiler, - GLRenderMode, - GLRenderbufferStorage, - GLRenderbufferStorageMultisample, - GLRenderbufferStorageMultisampleANGLE, - GLRenderbufferStorageMultisampleEXT, - GLRenderbufferStorageOES, - GLRequestExtensionANGLE, - GLResumeTransformFeedback, - GLRotated, - GLRotatef, - GLRotatex, - GLSampleCoverage, - GLSampleCoveragex, - GLSampleMaski, - GLSampleMaskiANGLE, - GLSamplerParameterIiv, - GLSamplerParameterIivEXT, - GLSamplerParameterIivOES, - GLSamplerParameterIivRobustANGLE, - GLSamplerParameterIuiv, - GLSamplerParameterIuivEXT, - GLSamplerParameterIuivOES, - GLSamplerParameterIuivRobustANGLE, - GLSamplerParameterf, - GLSamplerParameterfv, - GLSamplerParameterfvRobustANGLE, - GLSamplerParameteri, - GLSamplerParameteriv, - GLSamplerParameterivRobustANGLE, - GLScaled, - GLScalef, - GLScalex, - GLScissor, - GLScissorArrayv, - GLScissorIndexed, - GLScissorIndexedv, - GLSecondaryColor3b, - GLSecondaryColor3bv, - GLSecondaryColor3d, - GLSecondaryColor3dv, - GLSecondaryColor3f, - GLSecondaryColor3fv, - GLSecondaryColor3i, - GLSecondaryColor3iv, - GLSecondaryColor3s, - GLSecondaryColor3sv, - GLSecondaryColor3ub, - GLSecondaryColor3ubv, - GLSecondaryColor3ui, - GLSecondaryColor3uiv, - GLSecondaryColor3us, - GLSecondaryColor3usv, - GLSecondaryColorP3ui, - GLSecondaryColorP3uiv, - GLSecondaryColorPointer, - GLSelectBuffer, - GLSemaphoreParameterui64vEXT, - GLSetFenceNV, - GLShadeModel, - GLShaderBinary, - GLShaderSource, - GLShaderStorageBlockBinding, - GLSignalSemaphoreEXT, - GLSpecializeShader, - GLStencilFunc, - GLStencilFuncSeparate, - GLStencilMask, - GLStencilMaskSeparate, - GLStencilOp, - GLStencilOpSeparate, - GLTestFenceNV, - GLTexBuffer, - GLTexBufferEXT, - GLTexBufferOES, - GLTexBufferRange, - GLTexBufferRangeEXT, - GLTexBufferRangeOES, - GLTexCoord1d, - GLTexCoord1dv, - GLTexCoord1f, - GLTexCoord1fv, - GLTexCoord1i, - GLTexCoord1iv, - GLTexCoord1s, - GLTexCoord1sv, - GLTexCoord2d, - GLTexCoord2dv, - GLTexCoord2f, - GLTexCoord2fv, - GLTexCoord2i, - GLTexCoord2iv, - GLTexCoord2s, - GLTexCoord2sv, - GLTexCoord3d, - GLTexCoord3dv, - GLTexCoord3f, - GLTexCoord3fv, - GLTexCoord3i, - GLTexCoord3iv, - GLTexCoord3s, - GLTexCoord3sv, - GLTexCoord4d, - GLTexCoord4dv, - GLTexCoord4f, - GLTexCoord4fv, - GLTexCoord4i, - GLTexCoord4iv, - GLTexCoord4s, - GLTexCoord4sv, - GLTexCoordP1ui, - GLTexCoordP1uiv, - GLTexCoordP2ui, - GLTexCoordP2uiv, - GLTexCoordP3ui, - GLTexCoordP3uiv, - GLTexCoordP4ui, - GLTexCoordP4uiv, - GLTexCoordPointer, - GLTexEnvf, - GLTexEnvfv, - GLTexEnvi, - GLTexEnviv, - GLTexEnvx, - GLTexEnvxv, - GLTexGend, - GLTexGendv, - GLTexGenf, - GLTexGenfOES, - GLTexGenfv, - GLTexGenfvOES, - GLTexGeni, - GLTexGeniOES, - GLTexGeniv, - GLTexGenivOES, - GLTexGenxOES, - GLTexGenxvOES, - GLTexImage1D, - GLTexImage2D, - GLTexImage2DExternalANGLE, - GLTexImage2DMultisample, - GLTexImage2DRobustANGLE, - GLTexImage3D, - GLTexImage3DMultisample, - GLTexImage3DOES, - GLTexImage3DRobustANGLE, - GLTexParameterIiv, - GLTexParameterIivEXT, - GLTexParameterIivOES, - GLTexParameterIivRobustANGLE, - GLTexParameterIuiv, - GLTexParameterIuivEXT, - GLTexParameterIuivOES, - GLTexParameterIuivRobustANGLE, - GLTexParameterf, - GLTexParameterfv, - GLTexParameterfvRobustANGLE, - GLTexParameteri, - GLTexParameteriv, - GLTexParameterivRobustANGLE, - GLTexParameterx, - GLTexParameterxv, - GLTexStorage1D, - GLTexStorage1DEXT, - GLTexStorage2D, - GLTexStorage2DEXT, - GLTexStorage2DMultisample, - GLTexStorage2DMultisampleANGLE, - GLTexStorage3D, - GLTexStorage3DEXT, - GLTexStorage3DMultisample, - GLTexStorage3DMultisampleOES, - GLTexStorageMem2DEXT, - GLTexStorageMem2DMultisampleEXT, - GLTexStorageMem3DEXT, - GLTexStorageMem3DMultisampleEXT, - GLTexStorageMemFlags2DANGLE, - GLTexStorageMemFlags2DMultisampleANGLE, - GLTexStorageMemFlags3DANGLE, - GLTexStorageMemFlags3DMultisampleANGLE, - GLTexSubImage1D, - GLTexSubImage2D, - GLTexSubImage2DRobustANGLE, - GLTexSubImage3D, - GLTexSubImage3DOES, - GLTexSubImage3DRobustANGLE, - GLTextureBarrier, - GLTextureBuffer, - GLTextureBufferRange, - GLTextureParameterIiv, - GLTextureParameterIuiv, - GLTextureParameterf, - GLTextureParameterfv, - GLTextureParameteri, - GLTextureParameteriv, - GLTextureStorage1D, - GLTextureStorage2D, - GLTextureStorage2DMultisample, - GLTextureStorage3D, - GLTextureStorage3DMultisample, - GLTextureSubImage1D, - GLTextureSubImage2D, - GLTextureSubImage3D, - GLTextureView, - GLTransformFeedbackBufferBase, - GLTransformFeedbackBufferRange, - GLTransformFeedbackVaryings, - GLTranslated, - GLTranslatef, - GLTranslatex, - GLUniform1d, - GLUniform1dv, - GLUniform1f, - GLUniform1fv, - GLUniform1i, - GLUniform1iv, - GLUniform1ui, - GLUniform1uiv, - GLUniform2d, - GLUniform2dv, - GLUniform2f, - GLUniform2fv, - GLUniform2i, - GLUniform2iv, - GLUniform2ui, - GLUniform2uiv, - GLUniform3d, - GLUniform3dv, - GLUniform3f, - GLUniform3fv, - GLUniform3i, - GLUniform3iv, - GLUniform3ui, - GLUniform3uiv, - GLUniform4d, - GLUniform4dv, - GLUniform4f, - GLUniform4fv, - GLUniform4i, - GLUniform4iv, - GLUniform4ui, - GLUniform4uiv, - GLUniformBlockBinding, - GLUniformMatrix2dv, - GLUniformMatrix2fv, - GLUniformMatrix2x3dv, - GLUniformMatrix2x3fv, - GLUniformMatrix2x4dv, - GLUniformMatrix2x4fv, - GLUniformMatrix3dv, - GLUniformMatrix3fv, - GLUniformMatrix3x2dv, - GLUniformMatrix3x2fv, - GLUniformMatrix3x4dv, - GLUniformMatrix3x4fv, - GLUniformMatrix4dv, - GLUniformMatrix4fv, - GLUniformMatrix4x2dv, - GLUniformMatrix4x2fv, - GLUniformMatrix4x3dv, - GLUniformMatrix4x3fv, - GLUniformSubroutinesuiv, - GLUnmapBuffer, - GLUnmapBufferOES, - GLUnmapNamedBuffer, - GLUseProgram, - GLUseProgramStages, - GLUseProgramStagesEXT, - GLValidateProgram, - GLValidateProgramPipeline, - GLValidateProgramPipelineEXT, - GLVertex2d, - GLVertex2dv, - GLVertex2f, - GLVertex2fv, - GLVertex2i, - GLVertex2iv, - GLVertex2s, - GLVertex2sv, - GLVertex3d, - GLVertex3dv, - GLVertex3f, - GLVertex3fv, - GLVertex3i, - GLVertex3iv, - GLVertex3s, - GLVertex3sv, - GLVertex4d, - GLVertex4dv, - GLVertex4f, - GLVertex4fv, - GLVertex4i, - GLVertex4iv, - GLVertex4s, - GLVertex4sv, - GLVertexArrayAttribBinding, - GLVertexArrayAttribFormat, - GLVertexArrayAttribIFormat, - GLVertexArrayAttribLFormat, - GLVertexArrayBindingDivisor, - GLVertexArrayElementBuffer, - GLVertexArrayVertexBuffer, - GLVertexArrayVertexBuffers, - GLVertexAttrib1d, - GLVertexAttrib1dv, - GLVertexAttrib1f, - GLVertexAttrib1fv, - GLVertexAttrib1s, - GLVertexAttrib1sv, - GLVertexAttrib2d, - GLVertexAttrib2dv, - GLVertexAttrib2f, - GLVertexAttrib2fv, - GLVertexAttrib2s, - GLVertexAttrib2sv, - GLVertexAttrib3d, - GLVertexAttrib3dv, - GLVertexAttrib3f, - GLVertexAttrib3fv, - GLVertexAttrib3s, - GLVertexAttrib3sv, - GLVertexAttrib4Nbv, - GLVertexAttrib4Niv, - GLVertexAttrib4Nsv, - GLVertexAttrib4Nub, - GLVertexAttrib4Nubv, - GLVertexAttrib4Nuiv, - GLVertexAttrib4Nusv, - GLVertexAttrib4bv, - GLVertexAttrib4d, - GLVertexAttrib4dv, - GLVertexAttrib4f, - GLVertexAttrib4fv, - GLVertexAttrib4iv, - GLVertexAttrib4s, - GLVertexAttrib4sv, - GLVertexAttrib4ubv, - GLVertexAttrib4uiv, - GLVertexAttrib4usv, - GLVertexAttribBinding, - GLVertexAttribDivisor, - GLVertexAttribDivisorANGLE, - GLVertexAttribDivisorEXT, - GLVertexAttribFormat, - GLVertexAttribI1i, - GLVertexAttribI1iv, - GLVertexAttribI1ui, - GLVertexAttribI1uiv, - GLVertexAttribI2i, - GLVertexAttribI2iv, - GLVertexAttribI2ui, - GLVertexAttribI2uiv, - GLVertexAttribI3i, - GLVertexAttribI3iv, - GLVertexAttribI3ui, - GLVertexAttribI3uiv, - GLVertexAttribI4bv, - GLVertexAttribI4i, - GLVertexAttribI4iv, - GLVertexAttribI4sv, - GLVertexAttribI4ubv, - GLVertexAttribI4ui, - GLVertexAttribI4uiv, - GLVertexAttribI4usv, - GLVertexAttribIFormat, - GLVertexAttribIPointer, - GLVertexAttribL1d, - GLVertexAttribL1dv, - GLVertexAttribL2d, - GLVertexAttribL2dv, - GLVertexAttribL3d, - GLVertexAttribL3dv, - GLVertexAttribL4d, - GLVertexAttribL4dv, - GLVertexAttribLFormat, - GLVertexAttribLPointer, - GLVertexAttribP1ui, - GLVertexAttribP1uiv, - GLVertexAttribP2ui, - GLVertexAttribP2uiv, - GLVertexAttribP3ui, - GLVertexAttribP3uiv, - GLVertexAttribP4ui, - GLVertexAttribP4uiv, - GLVertexAttribPointer, - GLVertexBindingDivisor, - GLVertexP2ui, - GLVertexP2uiv, - GLVertexP3ui, - GLVertexP3uiv, - GLVertexP4ui, - GLVertexP4uiv, - GLVertexPointer, - GLViewport, - GLViewportArrayv, - GLViewportIndexedf, - GLViewportIndexedfv, - GLWaitSemaphoreEXT, - GLWaitSync, - GLWeightPointerOES, - GLWindowPos2d, - GLWindowPos2dv, - GLWindowPos2f, - GLWindowPos2fv, - GLWindowPos2i, - GLWindowPos2iv, - GLWindowPos2s, - GLWindowPos2sv, - GLWindowPos3d, - GLWindowPos3dv, - GLWindowPos3f, - GLWindowPos3fv, - GLWindowPos3i, - GLWindowPos3iv, - GLWindowPos3s, - GLWindowPos3sv, - WGLChoosePixelFormat, - WGLCopyContext, - WGLCreateContext, - WGLCreateLayerContext, - WGLDeleteContext, - WGLDescribeLayerPlane, - WGLDescribePixelFormat, - WGLGetCurrentContext, - WGLGetCurrentDC, - WGLGetEnhMetaFilePixelFormat, - WGLGetLayerPaletteEntries, - WGLGetPixelFormat, - WGLGetProcAddress, - WGLMakeCurrent, - WGLRealizeLayerPalette, - WGLSetLayerPaletteEntries, - WGLSetPixelFormat, - WGLShareLists, - WGLSwapBuffers, - WGLSwapLayerBuffers, - WGLUseFontBitmaps, - WGLUseFontBitmapsA, - WGLUseFontBitmapsW, - WGLUseFontOutlines, - WGLUseFontOutlinesA, - WGLUseFontOutlinesW + Accum, + ActiveShaderProgram, + ActiveTexture, + AlphaFunc, + AlphaFuncx, + AreTexturesResident, + ArrayElement, + AttachShader, + Begin, + BeginConditionalRender, + BeginQuery, + BeginQueryEXT, + BeginQueryIndexed, + BeginTransformFeedback, + BindAttribLocation, + BindBuffer, + BindBufferBase, + BindBufferRange, + BindBuffersBase, + BindBuffersRange, + BindFragDataLocation, + BindFragDataLocationEXT, + BindFragDataLocationIndexed, + BindFragDataLocationIndexedEXT, + BindFramebuffer, + BindFramebufferOES, + BindImageTexture, + BindImageTextures, + BindProgramPipeline, + BindRenderbuffer, + BindRenderbufferOES, + BindSampler, + BindSamplers, + BindTexture, + BindTextureUnit, + BindTextures, + BindTransformFeedback, + BindUniformLocationCHROMIUM, + BindVertexArray, + BindVertexArrayOES, + BindVertexBuffer, + BindVertexBuffers, + Bitmap, + BlendBarrier, + BlendColor, + BlendEquation, + BlendEquationSeparate, + BlendEquationSeparatei, + BlendEquationSeparateiEXT, + BlendEquationSeparateiOES, + BlendEquationi, + BlendEquationiEXT, + BlendEquationiOES, + BlendFunc, + BlendFuncSeparate, + BlendFuncSeparatei, + BlendFuncSeparateiEXT, + BlendFuncSeparateiOES, + BlendFunci, + BlendFunciEXT, + BlendFunciOES, + BlitFramebuffer, + BlitFramebufferANGLE, + BlitNamedFramebuffer, + BufferData, + BufferStorage, + BufferStorageEXT, + BufferStorageExternalEXT, + BufferStorageMemEXT, + BufferSubData, + CallList, + CallLists, + CheckFramebufferStatus, + CheckFramebufferStatusOES, + CheckNamedFramebufferStatus, + ClampColor, + Clear, + ClearAccum, + ClearBufferData, + ClearBufferSubData, + ClearBufferfi, + ClearBufferfv, + ClearBufferiv, + ClearBufferuiv, + ClearColor, + ClearColorx, + ClearDepth, + ClearDepthf, + ClearDepthx, + ClearIndex, + ClearNamedBufferData, + ClearNamedBufferSubData, + ClearNamedFramebufferfi, + ClearNamedFramebufferfv, + ClearNamedFramebufferiv, + ClearNamedFramebufferuiv, + ClearStencil, + ClearTexImage, + ClearTexSubImage, + ClientActiveTexture, + ClientWaitSync, + ClipControl, + ClipPlane, + ClipPlanef, + ClipPlanex, + Color3b, + Color3bv, + Color3d, + Color3dv, + Color3f, + Color3fv, + Color3i, + Color3iv, + Color3s, + Color3sv, + Color3ub, + Color3ubv, + Color3ui, + Color3uiv, + Color3us, + Color3usv, + Color4b, + Color4bv, + Color4d, + Color4dv, + Color4f, + Color4fv, + Color4i, + Color4iv, + Color4s, + Color4sv, + Color4ub, + Color4ubv, + Color4ui, + Color4uiv, + Color4us, + Color4usv, + Color4x, + ColorMask, + ColorMaski, + ColorMaskiEXT, + ColorMaskiOES, + ColorMaterial, + ColorP3ui, + ColorP3uiv, + ColorP4ui, + ColorP4uiv, + ColorPointer, + CompileShader, + CompressedCopyTextureCHROMIUM, + CompressedTexImage1D, + CompressedTexImage2D, + CompressedTexImage2DRobustANGLE, + CompressedTexImage3D, + CompressedTexImage3DOES, + CompressedTexImage3DRobustANGLE, + CompressedTexSubImage1D, + CompressedTexSubImage2D, + CompressedTexSubImage2DRobustANGLE, + CompressedTexSubImage3D, + CompressedTexSubImage3DOES, + CompressedTexSubImage3DRobustANGLE, + CompressedTextureSubImage1D, + CompressedTextureSubImage2D, + CompressedTextureSubImage3D, + CopyBufferSubData, + CopyImageSubData, + CopyImageSubDataEXT, + CopyImageSubDataOES, + CopyNamedBufferSubData, + CopyPixels, + CopySubTexture3DANGLE, + CopySubTextureCHROMIUM, + CopyTexImage1D, + CopyTexImage2D, + CopyTexSubImage1D, + CopyTexSubImage2D, + CopyTexSubImage3D, + CopyTexSubImage3DOES, + CopyTexture3DANGLE, + CopyTextureCHROMIUM, + CopyTextureSubImage1D, + CopyTextureSubImage2D, + CopyTextureSubImage3D, + CoverageModulationCHROMIUM, + CreateBuffers, + CreateFramebuffers, + CreateMemoryObjectsEXT, + CreateProgram, + CreateProgramPipelines, + CreateQueries, + CreateRenderbuffers, + CreateSamplers, + CreateShader, + CreateShaderProgramv, + CreateTextures, + CreateTransformFeedbacks, + CreateVertexArrays, + CullFace, + CurrentPaletteMatrixOES, + DebugMessageCallback, + DebugMessageCallbackKHR, + DebugMessageControl, + DebugMessageControlKHR, + DebugMessageInsert, + DebugMessageInsertKHR, + DeleteBuffers, + DeleteFencesNV, + DeleteFramebuffers, + DeleteFramebuffersOES, + DeleteLists, + DeleteMemoryObjectsEXT, + DeleteProgram, + DeleteProgramPipelines, + DeleteQueries, + DeleteQueriesEXT, + DeleteRenderbuffers, + DeleteRenderbuffersOES, + DeleteSamplers, + DeleteSemaphoresEXT, + DeleteShader, + DeleteSync, + DeleteTextures, + DeleteTransformFeedbacks, + DeleteVertexArrays, + DeleteVertexArraysOES, + DepthFunc, + DepthMask, + DepthRange, + DepthRangeArrayv, + DepthRangeIndexed, + DepthRangef, + DepthRangex, + DetachShader, + Disable, + DisableClientState, + DisableExtensionANGLE, + DisableVertexArrayAttrib, + DisableVertexAttribArray, + Disablei, + DisableiEXT, + DisableiOES, + DiscardFramebufferEXT, + DispatchCompute, + DispatchComputeIndirect, + DrawArrays, + DrawArraysIndirect, + DrawArraysInstanced, + DrawArraysInstancedANGLE, + DrawArraysInstancedBaseInstance, + DrawArraysInstancedBaseInstanceANGLE, + DrawArraysInstancedEXT, + DrawBuffer, + DrawBuffers, + DrawBuffersEXT, + DrawElements, + DrawElementsBaseVertex, + DrawElementsBaseVertexEXT, + DrawElementsBaseVertexOES, + DrawElementsIndirect, + DrawElementsInstanced, + DrawElementsInstancedANGLE, + DrawElementsInstancedBaseInstance, + DrawElementsInstancedBaseVertex, + DrawElementsInstancedBaseVertexBaseInstance, + DrawElementsInstancedBaseVertexBaseInstanceANGLE, + DrawElementsInstancedBaseVertexEXT, + DrawElementsInstancedBaseVertexOES, + DrawElementsInstancedEXT, + DrawPixels, + DrawRangeElements, + DrawRangeElementsBaseVertex, + DrawRangeElementsBaseVertexEXT, + DrawRangeElementsBaseVertexOES, + DrawTexfOES, + DrawTexfvOES, + DrawTexiOES, + DrawTexivOES, + DrawTexsOES, + DrawTexsvOES, + DrawTexxOES, + DrawTexxvOES, + DrawTransformFeedback, + DrawTransformFeedbackInstanced, + DrawTransformFeedbackStream, + DrawTransformFeedbackStreamInstanced, + EGLImageTargetRenderbufferStorageOES, + EGLImageTargetTexture2DOES, + EdgeFlag, + EdgeFlagPointer, + EdgeFlagv, + Enable, + EnableClientState, + EnableVertexArrayAttrib, + EnableVertexAttribArray, + Enablei, + EnableiEXT, + EnableiOES, + End, + EndConditionalRender, + EndList, + EndQuery, + EndQueryEXT, + EndQueryIndexed, + EndTransformFeedback, + EvalCoord1d, + EvalCoord1dv, + EvalCoord1f, + EvalCoord1fv, + EvalCoord2d, + EvalCoord2dv, + EvalCoord2f, + EvalCoord2fv, + EvalMesh1, + EvalMesh2, + EvalPoint1, + EvalPoint2, + FeedbackBuffer, + FenceSync, + Finish, + FinishFenceNV, + Flush, + FlushMappedBufferRange, + FlushMappedBufferRangeEXT, + FlushMappedNamedBufferRange, + FogCoordPointer, + FogCoordd, + FogCoorddv, + FogCoordf, + FogCoordfv, + Fogf, + Fogfv, + Fogi, + Fogiv, + Fogx, + Fogxv, + FramebufferParameteri, + FramebufferRenderbuffer, + FramebufferRenderbufferOES, + FramebufferTexture, + FramebufferTexture1D, + FramebufferTexture2D, + FramebufferTexture2DMultisampleEXT, + FramebufferTexture2DOES, + FramebufferTexture3D, + FramebufferTexture3DOES, + FramebufferTextureEXT, + FramebufferTextureLayer, + FramebufferTextureMultiviewOVR, + FrontFace, + Frustum, + Frustumf, + Frustumx, + GenBuffers, + GenFencesNV, + GenFramebuffers, + GenFramebuffersOES, + GenLists, + GenProgramPipelines, + GenQueries, + GenQueriesEXT, + GenRenderbuffers, + GenRenderbuffersOES, + GenSamplers, + GenSemaphoresEXT, + GenTextures, + GenTransformFeedbacks, + GenVertexArrays, + GenVertexArraysOES, + GenerateMipmap, + GenerateMipmapOES, + GenerateTextureMipmap, + GetActiveAtomicCounterBufferiv, + GetActiveAttrib, + GetActiveSubroutineName, + GetActiveSubroutineUniformName, + GetActiveSubroutineUniformiv, + GetActiveUniform, + GetActiveUniformBlockName, + GetActiveUniformBlockiv, + GetActiveUniformBlockivRobustANGLE, + GetActiveUniformName, + GetActiveUniformsiv, + GetAttachedShaders, + GetAttribLocation, + GetBooleani_v, + GetBooleani_vRobustANGLE, + GetBooleanv, + GetBooleanvRobustANGLE, + GetBufferParameteri64v, + GetBufferParameteri64vRobustANGLE, + GetBufferParameteriv, + GetBufferParameterivRobustANGLE, + GetBufferPointerv, + GetBufferPointervOES, + GetBufferPointervRobustANGLE, + GetBufferSubData, + GetClipPlane, + GetClipPlanef, + GetClipPlanex, + GetCompressedTexImage, + GetCompressedTextureImage, + GetCompressedTextureSubImage, + GetDebugMessageLog, + GetDebugMessageLogKHR, + GetDoublei_v, + GetDoublev, + GetError, + GetFenceivNV, + GetFixedv, + GetFloati_v, + GetFloatv, + GetFloatvRobustANGLE, + GetFragDataIndex, + GetFragDataIndexEXT, + GetFragDataLocation, + GetFramebufferAttachmentParameteriv, + GetFramebufferAttachmentParameterivOES, + GetFramebufferAttachmentParameterivRobustANGLE, + GetFramebufferParameteriv, + GetFramebufferParameterivRobustANGLE, + GetGraphicsResetStatus, + GetGraphicsResetStatusEXT, + GetInteger64i_v, + GetInteger64i_vRobustANGLE, + GetInteger64v, + GetInteger64vEXT, + GetInteger64vRobustANGLE, + GetIntegeri_v, + GetIntegeri_vRobustANGLE, + GetIntegerv, + GetIntegervRobustANGLE, + GetInternalformati64v, + GetInternalformativ, + GetInternalformativRobustANGLE, + GetLightfv, + GetLightiv, + GetLightxv, + GetMapdv, + GetMapfv, + GetMapiv, + GetMaterialfv, + GetMaterialiv, + GetMaterialxv, + GetMemoryObjectParameterivEXT, + GetMultisamplefv, + GetMultisamplefvANGLE, + GetMultisamplefvRobustANGLE, + GetNamedBufferParameteri64v, + GetNamedBufferParameteriv, + GetNamedBufferPointerv, + GetNamedBufferSubData, + GetNamedFramebufferAttachmentParameteriv, + GetNamedFramebufferParameteriv, + GetNamedRenderbufferParameteriv, + GetObjectLabel, + GetObjectLabelKHR, + GetObjectPtrLabel, + GetObjectPtrLabelKHR, + GetPixelMapfv, + GetPixelMapuiv, + GetPixelMapusv, + GetPointerv, + GetPointervKHR, + GetPointervRobustANGLERobustANGLE, + GetPolygonStipple, + GetProgramBinary, + GetProgramBinaryOES, + GetProgramInfoLog, + GetProgramInterfaceiv, + GetProgramInterfaceivRobustANGLE, + GetProgramPipelineInfoLog, + GetProgramPipelineiv, + GetProgramResourceIndex, + GetProgramResourceLocation, + GetProgramResourceLocationIndex, + GetProgramResourceLocationIndexEXT, + GetProgramResourceName, + GetProgramResourceiv, + GetProgramStageiv, + GetProgramiv, + GetProgramivRobustANGLE, + GetQueryBufferObjecti64v, + GetQueryBufferObjectiv, + GetQueryBufferObjectui64v, + GetQueryBufferObjectuiv, + GetQueryIndexediv, + GetQueryObjecti64v, + GetQueryObjecti64vEXT, + GetQueryObjecti64vRobustANGLE, + GetQueryObjectiv, + GetQueryObjectivEXT, + GetQueryObjectivRobustANGLE, + GetQueryObjectui64v, + GetQueryObjectui64vEXT, + GetQueryObjectui64vRobustANGLE, + GetQueryObjectuiv, + GetQueryObjectuivEXT, + GetQueryObjectuivRobustANGLE, + GetQueryiv, + GetQueryivEXT, + GetQueryivRobustANGLE, + GetRenderbufferImageANGLE, + GetRenderbufferParameteriv, + GetRenderbufferParameterivOES, + GetRenderbufferParameterivRobustANGLE, + GetSamplerParameterIiv, + GetSamplerParameterIivOES, + GetSamplerParameterIivRobustANGLE, + GetSamplerParameterIuiv, + GetSamplerParameterIuivOES, + GetSamplerParameterIuivRobustANGLE, + GetSamplerParameterfv, + GetSamplerParameterfvRobustANGLE, + GetSamplerParameteriv, + GetSamplerParameterivRobustANGLE, + GetSemaphoreParameterui64vEXT, + GetShaderInfoLog, + GetShaderPrecisionFormat, + GetShaderSource, + GetShaderiv, + GetShaderivRobustANGLE, + GetString, + GetStringi, + GetSubroutineIndex, + GetSubroutineUniformLocation, + GetSynciv, + GetTexEnvfv, + GetTexEnviv, + GetTexEnvxv, + GetTexGendv, + GetTexGenfv, + GetTexGenfvOES, + GetTexGeniv, + GetTexGenivOES, + GetTexGenxvOES, + GetTexImage, + GetTexImageANGLE, + GetTexLevelParameterfv, + GetTexLevelParameterfvANGLE, + GetTexLevelParameterfvRobustANGLE, + GetTexLevelParameteriv, + GetTexLevelParameterivANGLE, + GetTexLevelParameterivRobustANGLE, + GetTexParameterIiv, + GetTexParameterIivOES, + GetTexParameterIivRobustANGLE, + GetTexParameterIuiv, + GetTexParameterIuivOES, + GetTexParameterIuivRobustANGLE, + GetTexParameterfv, + GetTexParameterfvRobustANGLE, + GetTexParameteriv, + GetTexParameterivRobustANGLE, + GetTexParameterxv, + GetTextureImage, + GetTextureLevelParameterfv, + GetTextureLevelParameteriv, + GetTextureParameterIiv, + GetTextureParameterIuiv, + GetTextureParameterfv, + GetTextureParameteriv, + GetTextureSubImage, + GetTransformFeedbackVarying, + GetTransformFeedbacki64_v, + GetTransformFeedbacki_v, + GetTransformFeedbackiv, + GetTranslatedShaderSourceANGLE, + GetUniformBlockIndex, + GetUniformIndices, + GetUniformLocation, + GetUniformSubroutineuiv, + GetUniformdv, + GetUniformfv, + GetUniformfvRobustANGLE, + GetUniformiv, + GetUniformivRobustANGLE, + GetUniformuiv, + GetUniformuivRobustANGLE, + GetUnsignedBytei_vEXT, + GetUnsignedBytevEXT, + GetVertexArrayIndexed64iv, + GetVertexArrayIndexediv, + GetVertexArrayiv, + GetVertexAttribIiv, + GetVertexAttribIivRobustANGLE, + GetVertexAttribIuiv, + GetVertexAttribIuivRobustANGLE, + GetVertexAttribLdv, + GetVertexAttribPointerv, + GetVertexAttribPointervRobustANGLE, + GetVertexAttribdv, + GetVertexAttribfv, + GetVertexAttribfvRobustANGLE, + GetVertexAttribiv, + GetVertexAttribivRobustANGLE, + GetnColorTable, + GetnCompressedTexImage, + GetnConvolutionFilter, + GetnHistogram, + GetnMapdv, + GetnMapfv, + GetnMapiv, + GetnMinmax, + GetnPixelMapfv, + GetnPixelMapuiv, + GetnPixelMapusv, + GetnPolygonStipple, + GetnSeparableFilter, + GetnTexImage, + GetnUniformdv, + GetnUniformfv, + GetnUniformfvEXT, + GetnUniformfvRobustANGLE, + GetnUniformiv, + GetnUniformivEXT, + GetnUniformivRobustANGLE, + GetnUniformuiv, + GetnUniformuivRobustANGLE, + Hint, + ImportMemoryFdEXT, + ImportMemoryZirconHandleANGLE, + ImportSemaphoreFdEXT, + ImportSemaphoreZirconHandleANGLE, + IndexMask, + IndexPointer, + Indexd, + Indexdv, + Indexf, + Indexfv, + Indexi, + Indexiv, + Indexs, + Indexsv, + Indexub, + Indexubv, + InitNames, + InsertEventMarkerEXT, + InterleavedArrays, + Invalid, + InvalidateBufferData, + InvalidateBufferSubData, + InvalidateFramebuffer, + InvalidateNamedFramebufferData, + InvalidateNamedFramebufferSubData, + InvalidateSubFramebuffer, + InvalidateTexImage, + InvalidateTexSubImage, + InvalidateTextureANGLE, + IsBuffer, + IsEnabled, + IsEnabledi, + IsEnablediEXT, + IsEnablediOES, + IsFenceNV, + IsFramebuffer, + IsFramebufferOES, + IsList, + IsMemoryObjectEXT, + IsProgram, + IsProgramPipeline, + IsQuery, + IsQueryEXT, + IsRenderbuffer, + IsRenderbufferOES, + IsSampler, + IsSemaphoreEXT, + IsShader, + IsSync, + IsTexture, + IsTransformFeedback, + IsVertexArray, + IsVertexArrayOES, + LightModelf, + LightModelfv, + LightModeli, + LightModeliv, + LightModelx, + LightModelxv, + Lightf, + Lightfv, + Lighti, + Lightiv, + Lightx, + Lightxv, + LineStipple, + LineWidth, + LineWidthx, + LinkProgram, + ListBase, + LoadIdentity, + LoadMatrixd, + LoadMatrixf, + LoadMatrixx, + LoadName, + LoadPaletteFromModelViewMatrixOES, + LoadTransposeMatrixd, + LoadTransposeMatrixf, + LogicOp, + LoseContextCHROMIUM, + Map1d, + Map1f, + Map2d, + Map2f, + MapBuffer, + MapBufferOES, + MapBufferRange, + MapBufferRangeEXT, + MapGrid1d, + MapGrid1f, + MapGrid2d, + MapGrid2f, + MapNamedBuffer, + MapNamedBufferRange, + Materialf, + Materialfv, + Materiali, + Materialiv, + Materialx, + Materialxv, + MatrixIndexPointerOES, + MatrixMode, + MaxShaderCompilerThreadsKHR, + MemoryBarrier, + MemoryBarrierByRegion, + MemoryObjectParameterivEXT, + MinSampleShading, + MinSampleShadingOES, + MultMatrixd, + MultMatrixf, + MultMatrixx, + MultTransposeMatrixd, + MultTransposeMatrixf, + MultiDrawArrays, + MultiDrawArraysANGLE, + MultiDrawArraysIndirect, + MultiDrawArraysIndirectCount, + MultiDrawArraysInstancedANGLE, + MultiDrawArraysInstancedBaseInstanceANGLE, + MultiDrawElements, + MultiDrawElementsANGLE, + MultiDrawElementsBaseVertex, + MultiDrawElementsBaseVertexEXT, + MultiDrawElementsIndirect, + MultiDrawElementsIndirectCount, + MultiDrawElementsInstancedANGLE, + MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, + MultiTexCoord1d, + MultiTexCoord1dv, + MultiTexCoord1f, + MultiTexCoord1fv, + MultiTexCoord1i, + MultiTexCoord1iv, + MultiTexCoord1s, + MultiTexCoord1sv, + MultiTexCoord2d, + MultiTexCoord2dv, + MultiTexCoord2f, + MultiTexCoord2fv, + MultiTexCoord2i, + MultiTexCoord2iv, + MultiTexCoord2s, + MultiTexCoord2sv, + MultiTexCoord3d, + MultiTexCoord3dv, + MultiTexCoord3f, + MultiTexCoord3fv, + MultiTexCoord3i, + MultiTexCoord3iv, + MultiTexCoord3s, + MultiTexCoord3sv, + MultiTexCoord4d, + MultiTexCoord4dv, + MultiTexCoord4f, + MultiTexCoord4fv, + MultiTexCoord4i, + MultiTexCoord4iv, + MultiTexCoord4s, + MultiTexCoord4sv, + MultiTexCoord4x, + MultiTexCoordP1ui, + MultiTexCoordP1uiv, + MultiTexCoordP2ui, + MultiTexCoordP2uiv, + MultiTexCoordP3ui, + MultiTexCoordP3uiv, + MultiTexCoordP4ui, + MultiTexCoordP4uiv, + NamedBufferData, + NamedBufferStorage, + NamedBufferStorageExternalEXT, + NamedBufferSubData, + NamedFramebufferDrawBuffer, + NamedFramebufferDrawBuffers, + NamedFramebufferParameteri, + NamedFramebufferReadBuffer, + NamedFramebufferRenderbuffer, + NamedFramebufferTexture, + NamedFramebufferTextureLayer, + NamedRenderbufferStorage, + NamedRenderbufferStorageMultisample, + NewList, + Normal3b, + Normal3bv, + Normal3d, + Normal3dv, + Normal3f, + Normal3fv, + Normal3i, + Normal3iv, + Normal3s, + Normal3sv, + Normal3x, + NormalP3ui, + NormalP3uiv, + NormalPointer, + ObjectLabel, + ObjectLabelKHR, + ObjectPtrLabel, + ObjectPtrLabelKHR, + Ortho, + Orthof, + Orthox, + PassThrough, + PatchParameterfv, + PatchParameteri, + PauseTransformFeedback, + PixelMapfv, + PixelMapuiv, + PixelMapusv, + PixelStoref, + PixelStorei, + PixelTransferf, + PixelTransferi, + PixelZoom, + PointParameterf, + PointParameterfv, + PointParameteri, + PointParameteriv, + PointParameterx, + PointParameterxv, + PointSize, + PointSizePointerOES, + PointSizex, + PolygonMode, + PolygonOffset, + PolygonOffsetClamp, + PolygonOffsetx, + PolygonStipple, + PopAttrib, + PopClientAttrib, + PopDebugGroup, + PopDebugGroupKHR, + PopGroupMarkerEXT, + PopMatrix, + PopName, + PrimitiveBoundingBox, + PrimitiveRestartIndex, + PrioritizeTextures, + ProgramBinary, + ProgramBinaryOES, + ProgramParameteri, + ProgramUniform1d, + ProgramUniform1dv, + ProgramUniform1f, + ProgramUniform1fv, + ProgramUniform1i, + ProgramUniform1iv, + ProgramUniform1ui, + ProgramUniform1uiv, + ProgramUniform2d, + ProgramUniform2dv, + ProgramUniform2f, + ProgramUniform2fv, + ProgramUniform2i, + ProgramUniform2iv, + ProgramUniform2ui, + ProgramUniform2uiv, + ProgramUniform3d, + ProgramUniform3dv, + ProgramUniform3f, + ProgramUniform3fv, + ProgramUniform3i, + ProgramUniform3iv, + ProgramUniform3ui, + ProgramUniform3uiv, + ProgramUniform4d, + ProgramUniform4dv, + ProgramUniform4f, + ProgramUniform4fv, + ProgramUniform4i, + ProgramUniform4iv, + ProgramUniform4ui, + ProgramUniform4uiv, + ProgramUniformMatrix2dv, + ProgramUniformMatrix2fv, + ProgramUniformMatrix2x3dv, + ProgramUniformMatrix2x3fv, + ProgramUniformMatrix2x4dv, + ProgramUniformMatrix2x4fv, + ProgramUniformMatrix3dv, + ProgramUniformMatrix3fv, + ProgramUniformMatrix3x2dv, + ProgramUniformMatrix3x2fv, + ProgramUniformMatrix3x4dv, + ProgramUniformMatrix3x4fv, + ProgramUniformMatrix4dv, + ProgramUniformMatrix4fv, + ProgramUniformMatrix4x2dv, + ProgramUniformMatrix4x2fv, + ProgramUniformMatrix4x3dv, + ProgramUniformMatrix4x3fv, + ProvokingVertex, + ProvokingVertexANGLE, + PushAttrib, + PushClientAttrib, + PushDebugGroup, + PushDebugGroupKHR, + PushGroupMarkerEXT, + PushMatrix, + PushName, + QueryCounter, + QueryCounterEXT, + QueryMatrixxOES, + RasterPos2d, + RasterPos2dv, + RasterPos2f, + RasterPos2fv, + RasterPos2i, + RasterPos2iv, + RasterPos2s, + RasterPos2sv, + RasterPos3d, + RasterPos3dv, + RasterPos3f, + RasterPos3fv, + RasterPos3i, + RasterPos3iv, + RasterPos3s, + RasterPos3sv, + RasterPos4d, + RasterPos4dv, + RasterPos4f, + RasterPos4fv, + RasterPos4i, + RasterPos4iv, + RasterPos4s, + RasterPos4sv, + ReadBuffer, + ReadPixels, + ReadPixelsRobustANGLE, + ReadnPixels, + ReadnPixelsEXT, + ReadnPixelsRobustANGLE, + Rectd, + Rectdv, + Rectf, + Rectfv, + Recti, + Rectiv, + Rects, + Rectsv, + ReleaseShaderCompiler, + RenderMode, + RenderbufferStorage, + RenderbufferStorageMultisample, + RenderbufferStorageMultisampleANGLE, + RenderbufferStorageMultisampleEXT, + RenderbufferStorageOES, + RequestExtensionANGLE, + ResumeTransformFeedback, + Rotated, + Rotatef, + Rotatex, + SampleCoverage, + SampleCoveragex, + SampleMaski, + SampleMaskiANGLE, + SamplerParameterIiv, + SamplerParameterIivOES, + SamplerParameterIivRobustANGLE, + SamplerParameterIuiv, + SamplerParameterIuivOES, + SamplerParameterIuivRobustANGLE, + SamplerParameterf, + SamplerParameterfv, + SamplerParameterfvRobustANGLE, + SamplerParameteri, + SamplerParameteriv, + SamplerParameterivRobustANGLE, + Scaled, + Scalef, + Scalex, + Scissor, + ScissorArrayv, + ScissorIndexed, + ScissorIndexedv, + SecondaryColor3b, + SecondaryColor3bv, + SecondaryColor3d, + SecondaryColor3dv, + SecondaryColor3f, + SecondaryColor3fv, + SecondaryColor3i, + SecondaryColor3iv, + SecondaryColor3s, + SecondaryColor3sv, + SecondaryColor3ub, + SecondaryColor3ubv, + SecondaryColor3ui, + SecondaryColor3uiv, + SecondaryColor3us, + SecondaryColor3usv, + SecondaryColorP3ui, + SecondaryColorP3uiv, + SecondaryColorPointer, + SelectBuffer, + SemaphoreParameterui64vEXT, + SetFenceNV, + ShadeModel, + ShaderBinary, + ShaderSource, + ShaderStorageBlockBinding, + SignalSemaphoreEXT, + SpecializeShader, + StencilFunc, + StencilFuncSeparate, + StencilMask, + StencilMaskSeparate, + StencilOp, + StencilOpSeparate, + TestFenceNV, + TexBuffer, + TexBufferEXT, + TexBufferOES, + TexBufferRange, + TexBufferRangeEXT, + TexBufferRangeOES, + TexCoord1d, + TexCoord1dv, + TexCoord1f, + TexCoord1fv, + TexCoord1i, + TexCoord1iv, + TexCoord1s, + TexCoord1sv, + TexCoord2d, + TexCoord2dv, + TexCoord2f, + TexCoord2fv, + TexCoord2i, + TexCoord2iv, + TexCoord2s, + TexCoord2sv, + TexCoord3d, + TexCoord3dv, + TexCoord3f, + TexCoord3fv, + TexCoord3i, + TexCoord3iv, + TexCoord3s, + TexCoord3sv, + TexCoord4d, + TexCoord4dv, + TexCoord4f, + TexCoord4fv, + TexCoord4i, + TexCoord4iv, + TexCoord4s, + TexCoord4sv, + TexCoordP1ui, + TexCoordP1uiv, + TexCoordP2ui, + TexCoordP2uiv, + TexCoordP3ui, + TexCoordP3uiv, + TexCoordP4ui, + TexCoordP4uiv, + TexCoordPointer, + TexEnvf, + TexEnvfv, + TexEnvi, + TexEnviv, + TexEnvx, + TexEnvxv, + TexGend, + TexGendv, + TexGenf, + TexGenfOES, + TexGenfv, + TexGenfvOES, + TexGeni, + TexGeniOES, + TexGeniv, + TexGenivOES, + TexGenxOES, + TexGenxvOES, + TexImage1D, + TexImage2D, + TexImage2DExternalANGLE, + TexImage2DMultisample, + TexImage2DRobustANGLE, + TexImage3D, + TexImage3DMultisample, + TexImage3DOES, + TexImage3DRobustANGLE, + TexParameterIiv, + TexParameterIivOES, + TexParameterIivRobustANGLE, + TexParameterIuiv, + TexParameterIuivOES, + TexParameterIuivRobustANGLE, + TexParameterf, + TexParameterfv, + TexParameterfvRobustANGLE, + TexParameteri, + TexParameteriv, + TexParameterivRobustANGLE, + TexParameterx, + TexParameterxv, + TexStorage1D, + TexStorage1DEXT, + TexStorage2D, + TexStorage2DEXT, + TexStorage2DMultisample, + TexStorage2DMultisampleANGLE, + TexStorage3D, + TexStorage3DEXT, + TexStorage3DMultisample, + TexStorage3DMultisampleOES, + TexStorageMem2DEXT, + TexStorageMem2DMultisampleEXT, + TexStorageMem3DEXT, + TexStorageMem3DMultisampleEXT, + TexStorageMemFlags2DANGLE, + TexStorageMemFlags2DMultisampleANGLE, + TexStorageMemFlags3DANGLE, + TexStorageMemFlags3DMultisampleANGLE, + TexSubImage1D, + TexSubImage2D, + TexSubImage2DRobustANGLE, + TexSubImage3D, + TexSubImage3DOES, + TexSubImage3DRobustANGLE, + TextureBarrier, + TextureBuffer, + TextureBufferRange, + TextureParameterIiv, + TextureParameterIuiv, + TextureParameterf, + TextureParameterfv, + TextureParameteri, + TextureParameteriv, + TextureStorage1D, + TextureStorage2D, + TextureStorage2DMultisample, + TextureStorage3D, + TextureStorage3DMultisample, + TextureSubImage1D, + TextureSubImage2D, + TextureSubImage3D, + TextureView, + TransformFeedbackBufferBase, + TransformFeedbackBufferRange, + TransformFeedbackVaryings, + Translated, + Translatef, + Translatex, + Uniform1d, + Uniform1dv, + Uniform1f, + Uniform1fv, + Uniform1i, + Uniform1iv, + Uniform1ui, + Uniform1uiv, + Uniform2d, + Uniform2dv, + Uniform2f, + Uniform2fv, + Uniform2i, + Uniform2iv, + Uniform2ui, + Uniform2uiv, + Uniform3d, + Uniform3dv, + Uniform3f, + Uniform3fv, + Uniform3i, + Uniform3iv, + Uniform3ui, + Uniform3uiv, + Uniform4d, + Uniform4dv, + Uniform4f, + Uniform4fv, + Uniform4i, + Uniform4iv, + Uniform4ui, + Uniform4uiv, + UniformBlockBinding, + UniformMatrix2dv, + UniformMatrix2fv, + UniformMatrix2x3dv, + UniformMatrix2x3fv, + UniformMatrix2x4dv, + UniformMatrix2x4fv, + UniformMatrix3dv, + UniformMatrix3fv, + UniformMatrix3x2dv, + UniformMatrix3x2fv, + UniformMatrix3x4dv, + UniformMatrix3x4fv, + UniformMatrix4dv, + UniformMatrix4fv, + UniformMatrix4x2dv, + UniformMatrix4x2fv, + UniformMatrix4x3dv, + UniformMatrix4x3fv, + UniformSubroutinesuiv, + UnmapBuffer, + UnmapBufferOES, + UnmapNamedBuffer, + UseProgram, + UseProgramStages, + ValidateProgram, + ValidateProgramPipeline, + Vertex2d, + Vertex2dv, + Vertex2f, + Vertex2fv, + Vertex2i, + Vertex2iv, + Vertex2s, + Vertex2sv, + Vertex3d, + Vertex3dv, + Vertex3f, + Vertex3fv, + Vertex3i, + Vertex3iv, + Vertex3s, + Vertex3sv, + Vertex4d, + Vertex4dv, + Vertex4f, + Vertex4fv, + Vertex4i, + Vertex4iv, + Vertex4s, + Vertex4sv, + VertexArrayAttribBinding, + VertexArrayAttribFormat, + VertexArrayAttribIFormat, + VertexArrayAttribLFormat, + VertexArrayBindingDivisor, + VertexArrayElementBuffer, + VertexArrayVertexBuffer, + VertexArrayVertexBuffers, + VertexAttrib1d, + VertexAttrib1dv, + VertexAttrib1f, + VertexAttrib1fv, + VertexAttrib1s, + VertexAttrib1sv, + VertexAttrib2d, + VertexAttrib2dv, + VertexAttrib2f, + VertexAttrib2fv, + VertexAttrib2s, + VertexAttrib2sv, + VertexAttrib3d, + VertexAttrib3dv, + VertexAttrib3f, + VertexAttrib3fv, + VertexAttrib3s, + VertexAttrib3sv, + VertexAttrib4Nbv, + VertexAttrib4Niv, + VertexAttrib4Nsv, + VertexAttrib4Nub, + VertexAttrib4Nubv, + VertexAttrib4Nuiv, + VertexAttrib4Nusv, + VertexAttrib4bv, + VertexAttrib4d, + VertexAttrib4dv, + VertexAttrib4f, + VertexAttrib4fv, + VertexAttrib4iv, + VertexAttrib4s, + VertexAttrib4sv, + VertexAttrib4ubv, + VertexAttrib4uiv, + VertexAttrib4usv, + VertexAttribBinding, + VertexAttribDivisor, + VertexAttribDivisorANGLE, + VertexAttribDivisorEXT, + VertexAttribFormat, + VertexAttribI1i, + VertexAttribI1iv, + VertexAttribI1ui, + VertexAttribI1uiv, + VertexAttribI2i, + VertexAttribI2iv, + VertexAttribI2ui, + VertexAttribI2uiv, + VertexAttribI3i, + VertexAttribI3iv, + VertexAttribI3ui, + VertexAttribI3uiv, + VertexAttribI4bv, + VertexAttribI4i, + VertexAttribI4iv, + VertexAttribI4sv, + VertexAttribI4ubv, + VertexAttribI4ui, + VertexAttribI4uiv, + VertexAttribI4usv, + VertexAttribIFormat, + VertexAttribIPointer, + VertexAttribL1d, + VertexAttribL1dv, + VertexAttribL2d, + VertexAttribL2dv, + VertexAttribL3d, + VertexAttribL3dv, + VertexAttribL4d, + VertexAttribL4dv, + VertexAttribLFormat, + VertexAttribLPointer, + VertexAttribP1ui, + VertexAttribP1uiv, + VertexAttribP2ui, + VertexAttribP2uiv, + VertexAttribP3ui, + VertexAttribP3uiv, + VertexAttribP4ui, + VertexAttribP4uiv, + VertexAttribPointer, + VertexBindingDivisor, + VertexP2ui, + VertexP2uiv, + VertexP3ui, + VertexP3uiv, + VertexP4ui, + VertexP4uiv, + VertexPointer, + Viewport, + ViewportArrayv, + ViewportIndexedf, + ViewportIndexedfv, + WaitSemaphoreEXT, + WaitSync, + WeightPointerOES, + WindowPos2d, + WindowPos2dv, + WindowPos2f, + WindowPos2fv, + WindowPos2i, + WindowPos2iv, + WindowPos2s, + WindowPos2sv, + WindowPos3d, + WindowPos3dv, + WindowPos3f, + WindowPos3fv, + WindowPos3i, + WindowPos3iv, + WindowPos3s, + WindowPos3sv }; const char *GetEntryPointName(EntryPoint ep); -} // namespace angle +} // namespace gl #endif // COMMON_ENTRY_POINTS_ENUM_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/common/hash_utils.h b/gfx/angle/checkout/src/common/hash_utils.h index 0056a24805c9..aec4e7f77c37 100644 --- a/gfx/angle/checkout/src/common/hash_utils.h +++ b/gfx/angle/checkout/src/common/hash_utils.h @@ -21,11 +21,11 @@ inline std::size_t ComputeGenericHash(const void *key, size_t keySize) // We can't support "odd" alignments. ComputeGenericHash requires aligned types ASSERT(keySize % 4 == 0); -#if INTPTR_MAX == INT64_MAX +#if defined(ANGLE_IS_64_BIT_CPU) return XXH64(key, keySize, kSeed); #else return XXH32(key, keySize, kSeed); -#endif // INTPTR_MAX == INT64_MAX +#endif // defined(ANGLE_IS_64_BIT_CPU) } template diff --git a/gfx/angle/checkout/src/common/mathutil.cpp b/gfx/angle/checkout/src/common/mathutil.cpp index 5cbc6a920a25..306cde1210bc 100644 --- a/gfx/angle/checkout/src/common/mathutil.cpp +++ b/gfx/angle/checkout/src/common/mathutil.cpp @@ -31,9 +31,6 @@ constexpr int g_sharedexp_bias = 15; // N is the number of mantissa bits per component (9) constexpr int g_sharedexp_mantissabits = 9; -// number of mantissa bits per component pre-biased -constexpr int g_sharedexp_biased_mantissabits = g_sharedexp_bias + g_sharedexp_mantissabits; - // Emax is the maximum allowed biased exponent value (31) constexpr int g_sharedexp_maxexponent = 31; @@ -54,15 +51,17 @@ unsigned int convertRGBFloatsTo999E5(float red, float green, float blue) const float exp_p = std::max(-g_sharedexp_bias - 1, floor(log(max_c))) + 1 + g_sharedexp_bias; const int max_s = static_cast( - floor((max_c / (pow(2.0f, exp_p - g_sharedexp_biased_mantissabits))) + 0.5f)); + floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); const int exp_s = static_cast((max_s < pow(2.0f, g_sharedexp_mantissabits)) ? exp_p : exp_p + 1); - const float pow2_exp = pow(2.0f, static_cast(exp_s) - g_sharedexp_biased_mantissabits); RGB9E5Data output; - output.R = static_cast(floor((red_c / pow2_exp) + 0.5f)); - output.G = static_cast(floor((green_c / pow2_exp) + 0.5f)); - output.B = static_cast(floor((blue_c / pow2_exp) + 0.5f)); + output.R = static_cast( + floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); + output.G = static_cast( + floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); + output.B = static_cast( + floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); output.E = exp_s; return bitCast(output); @@ -72,12 +71,12 @@ void convert999E5toRGBFloats(unsigned int input, float *red, float *green, float { const RGB9E5Data *inputData = reinterpret_cast(&input); - const float pow2_exp = - pow(2.0f, static_cast(inputData->E) - g_sharedexp_biased_mantissabits); - - *red = inputData->R * pow2_exp; - *green = inputData->G * pow2_exp; - *blue = inputData->B * pow2_exp; + *red = + inputData->R * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); + *green = + inputData->G * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); + *blue = + inputData->B * pow(2.0f, (int)inputData->E - g_sharedexp_bias - g_sharedexp_mantissabits); } } // namespace gl diff --git a/gfx/angle/checkout/src/common/mathutil.h b/gfx/angle/checkout/src/common/mathutil.h index 39c2b2f71501..1d73bbffff44 100644 --- a/gfx/angle/checkout/src/common/mathutil.h +++ b/gfx/angle/checkout/src/common/mathutil.h @@ -1111,7 +1111,7 @@ inline unsigned long ScanForward(uint64_t bits) { ASSERT(bits != 0u); unsigned long firstBitIndex = 0ul; -# if INTPTR_MAX == INT64_MAX +# if defined(ANGLE_IS_64_BIT_CPU) unsigned char ret = _BitScanForward64(&firstBitIndex, bits); # else unsigned char ret; @@ -1124,43 +1124,10 @@ inline unsigned long ScanForward(uint64_t bits) { ret = _BitScanForward(&firstBitIndex, static_cast(bits)); } -# endif // INTPTR_MAX == INT64_MAX +# endif // defined(ANGLE_IS_64_BIT_CPU) ASSERT(ret != 0u); return firstBitIndex; } - -// Return the index of the most significant bit set. Indexing is such that bit 0 is the least -// significant bit. -inline unsigned long ScanReverse(uint32_t bits) -{ - ASSERT(bits != 0u); - unsigned long lastBitIndex = 0ul; - unsigned char ret = _BitScanReverse(&lastBitIndex, bits); - ASSERT(ret != 0u); - return lastBitIndex; -} - -inline unsigned long ScanReverse(uint64_t bits) -{ - ASSERT(bits != 0u); - unsigned long lastBitIndex = 0ul; -# if INTPTR_MAX == INT64_MAX - unsigned char ret = _BitScanReverse64(&lastBitIndex, bits); -# else - unsigned char ret; - if (static_cast(bits >> 32) == 0) - { - ret = _BitScanReverse(&lastBitIndex, static_cast(bits)); - } - else - { - ret = _BitScanReverse(&lastBitIndex, static_cast(bits >> 32)); - lastBitIndex += 32ul; - } -# endif // INTPTR_MAX == INT64_MAX - ASSERT(ret != 0u); - return lastBitIndex; -} #endif // defined(ANGLE_PLATFORM_WINDOWS) #if defined(ANGLE_PLATFORM_POSIX) @@ -1173,37 +1140,13 @@ inline unsigned long ScanForward(uint32_t bits) inline unsigned long ScanForward(uint64_t bits) { ASSERT(bits != 0u); -# if INTPTR_MAX == INT64_MAX +# if defined(ANGLE_IS_64_BIT_CPU) return static_cast(__builtin_ctzll(bits)); # else return static_cast(static_cast(bits) == 0 ? __builtin_ctz(static_cast(bits >> 32)) + 32 : __builtin_ctz(static_cast(bits))); -# endif // INTPTR_MAX == INT64_MAX -} - -inline unsigned long ScanReverse(uint32_t bits) -{ - ASSERT(bits != 0u); - return static_cast(sizeof(uint32_t) * CHAR_BIT - 1 - __builtin_clz(bits)); -} - -inline unsigned long ScanReverse(uint64_t bits) -{ - ASSERT(bits != 0u); -# if INTPTR_MAX == INT64_MAX - return static_cast(sizeof(uint64_t) * CHAR_BIT - 1 - __builtin_clzll(bits)); -# else - if (static_cast(bits >> 32) == 0) - { - return sizeof(uint32_t) * CHAR_BIT - 1 - __builtin_clz(static_cast(bits)); - } - else - { - return sizeof(uint32_t) * CHAR_BIT - 1 - __builtin_clz(static_cast(bits >> 32)) + - 32; - } -# endif // INTPTR_MAX == INT64_MAX +# endif // defined(ANGLE_IS_64_BIT_CPU) } #endif // defined(ANGLE_PLATFORM_POSIX) @@ -1217,14 +1160,21 @@ inline unsigned long ScanForward(uint16_t bits) return ScanForward(static_cast(bits)); } -inline unsigned long ScanReverse(uint8_t bits) +// Return the index of the most significant bit set. Indexing is such that bit 0 is the least +// significant bit. +inline unsigned long ScanReverse(unsigned long bits) { - return ScanReverse(static_cast(bits)); -} - -inline unsigned long ScanReverse(uint16_t bits) -{ - return ScanReverse(static_cast(bits)); + ASSERT(bits != 0u); +#if defined(ANGLE_PLATFORM_WINDOWS) + unsigned long lastBitIndex = 0ul; + unsigned char ret = _BitScanReverse(&lastBitIndex, bits); + ASSERT(ret != 0u); + return lastBitIndex; +#elif defined(ANGLE_PLATFORM_POSIX) + return static_cast(sizeof(unsigned long) * CHAR_BIT - 1 - __builtin_clzl(bits)); +#else +# error Please implement bit-scan-reverse for your platform! +#endif } // Returns -1 on 0, otherwise the index of the least significant 1 bit as in GLSL. diff --git a/gfx/angle/checkout/src/common/platform.h b/gfx/angle/checkout/src/common/platform.h index 1509324d55f2..626db41d92c1 100644 --- a/gfx/angle/checkout/src/common/platform.h +++ b/gfx/angle/checkout/src/common/platform.h @@ -82,16 +82,8 @@ # endif # endif -// Macros 'near', 'far', 'NEAR' and 'FAR' are defined by 'shared/minwindef.h' in the Windows SDK. -// Macros 'near' and 'far' are empty. They are not used by other Windows headers and are undefined -// here to avoid identifier conflicts. Macros 'NEAR' and 'FAR' contain 'near' and 'far'. They are -// used by other Windows headers and are cleared here to avoid compilation errors. # undef near # undef far -# undef NEAR -# undef FAR -# define NEAR -# define FAR #endif #if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) diff --git a/gfx/angle/checkout/src/common/spirv/spirv_types.h b/gfx/angle/checkout/src/common/spirv/spirv_types.h deleted file mode 100644 index b8a6c658f50f..000000000000 --- a/gfx/angle/checkout/src/common/spirv/spirv_types.h +++ /dev/null @@ -1,120 +0,0 @@ -// -// Copyright 2021 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// spirv_types.h: -// Strong types for SPIR-V Ids to prevent mistakes when using the builder and parser APIs. -// - -#ifndef COMMON_SPIRV_TYPES_H_ -#define COMMON_SPIRV_TYPES_H_ - -#include "common/FastVector.h" - -#include - -namespace angle -{ -namespace spirv -{ -template -class BoxedUint32 -{ - public: - BoxedUint32() : mValue{0} {} - explicit BoxedUint32(uint32_t value) : mValue{value} {} - template - T as() const - { - return T{mValue}; - } - BoxedUint32(const BoxedUint32 &other) = default; - BoxedUint32 &operator=(const BoxedUint32 &other) = default; - operator uint32_t() const { return mValue.value; } - bool operator==(const BoxedUint32 &other) const { return mValue.value == other.mValue.value; } - // Applicable to ids, which cannot be 0. - bool valid() const { return static_cast(mValue.value); } - - private: - Helper mValue; -}; - -struct IdRefHelper -{ - uint32_t value; -}; -struct LiteralIntegerHelper -{ - uint32_t value; -}; - -using IdRef = BoxedUint32; - -template <> -inline BoxedUint32::operator uint32_t() const -{ - ASSERT(valid()); - return mValue.value; -} - -// IdResult, IdResultType, IdMemorySemantics and IdScope are all translated as IdRef. This makes -// the type verification weaker, but stops the API from becoming tediously verbose. -using IdResult = IdRef; -using IdResultType = IdRef; -using IdMemorySemantics = IdRef; -using IdScope = IdRef; -using LiteralInteger = BoxedUint32; -using LiteralString = const char *; -// Note: In ANGLE's use cases, all literals fit in 32 bits. -using LiteralContextDependentNumber = LiteralInteger; -// TODO(syoussefi): To be made stronger when generating SPIR-V from the translator. -// http://anglebug.com/4889 -using LiteralExtInstInteger = LiteralInteger; - -struct PairLiteralIntegerIdRef -{ - LiteralInteger literal; - IdRef id; -}; - -struct PairIdRefLiteralInteger -{ - IdRef id; - LiteralInteger literal; -}; - -struct PairIdRefIdRef -{ - IdRef id1; - IdRef id2; -}; - -// Some instructions need 4 components. The drivers uniform struct in ANGLE has 8 fields. A value -// of 8 means almost no instruction would end up making dynamic allocations. Notable exceptions are -// user-defined structs/blocks and OpEntryPoint. -constexpr size_t kFastVectorSize = 8; - -template -using FastVectorHelper = angle::FastVector; - -using IdRefList = FastVectorHelper; -using LiteralIntegerList = FastVectorHelper; -using PairLiteralIntegerIdRefList = FastVectorHelper; -using PairIdRefLiteralIntegerList = FastVectorHelper; -using PairIdRefIdRefList = FastVectorHelper; - -// Id 0 is invalid in SPIR-V. -constexpr uint32_t kMinValidId = 1; - -// The SPIR-V blob is a sequence of uint32_t's -using Blob = std::vector; - -// Returns whether SPIR-V is valid. Useful for ASSERTs. Automatically generates a warning if -// SPIR-V is not valid. -bool Validate(const Blob &blob); - -} // namespace spirv -} // namespace angle - -#endif // COMMON_SPIRV_TYPES_H_ diff --git a/gfx/angle/checkout/src/common/string_utils.cpp b/gfx/angle/checkout/src/common/string_utils.cpp index e18716c2d8d2..24cd2072d367 100644 --- a/gfx/angle/checkout/src/common/string_utils.cpp +++ b/gfx/angle/checkout/src/common/string_utils.cpp @@ -251,45 +251,4 @@ std::vector GetCachedStringsFromEnvironmentVarOrAndroidProperty( std::string environment = GetEnvironmentVarOrAndroidProperty(varName, propertyName); return SplitString(environment, separator, TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY); } - -// reference name can have *. -bool NamesMatchWithWildcard(const char *ref, const char *testName) -{ - // Find the first * in ref. - const char *firstWildcard = strchr(ref, '*'); - - // If there are no wildcards, match the strings precisely. - if (firstWildcard == nullptr) - { - return strcmp(ref, testName) == 0; - } - - // Otherwise, match up to the wildcard first. - size_t preWildcardLen = firstWildcard - ref; - if (strncmp(ref, testName, preWildcardLen) != 0) - { - return false; - } - - const char *postWildcardRef = ref + preWildcardLen + 1; - - // As a small optimization, if the wildcard is the last character in ref, accept the match - // already. - if (postWildcardRef[0] == '\0') - { - return true; - } - - // Try to match the wildcard with a number of characters. - for (size_t matchSize = 0; testName[matchSize] != '\0'; ++matchSize) - { - if (NamesMatchWithWildcard(postWildcardRef, testName + matchSize)) - { - return true; - } - } - - return false; -} - } // namespace angle diff --git a/gfx/angle/checkout/src/common/string_utils.h b/gfx/angle/checkout/src/common/string_utils.h index 42e4cf5fe9e7..fdf5fad047a3 100644 --- a/gfx/angle/checkout/src/common/string_utils.h +++ b/gfx/angle/checkout/src/common/string_utils.h @@ -105,8 +105,6 @@ std::vector GetCachedStringsFromEnvironmentVarOrAndroidProperty( const char *propertyName, const char *separator); -// reference name can have *. -bool NamesMatchWithWildcard(const char *ref, const char *testName); } // namespace angle #endif // LIBANGLE_STRING_UTILS_H_ diff --git a/gfx/angle/checkout/src/common/system_utils.cpp b/gfx/angle/checkout/src/common/system_utils.cpp index e05cf8b7fbba..0f8aedca7885 100644 --- a/gfx/angle/checkout/src/common/system_utils.cpp +++ b/gfx/angle/checkout/src/common/system_utils.cpp @@ -10,10 +10,6 @@ #include -#if defined(ANGLE_PLATFORM_ANDROID) -# include -#endif - namespace angle { std::string GetExecutableName() @@ -52,24 +48,33 @@ std::string GetEnvironmentVarOrAndroidProperty(const char *variableName, const c std::string GetEnvironmentVarOrUnCachedAndroidProperty(const char *variableName, const char *propertyName) { -#if defined(ANGLE_PLATFORM_ANDROID) && __ANDROID_API__ >= 26 - std::string propertyValue; +#if defined(ANGLE_PLATFORM_ANDROID) && __ANDROID_API__ >= 21 + std::string sanitizedPropertyName = propertyName; + sanitizedPropertyName.erase( + std::remove(sanitizedPropertyName.begin(), sanitizedPropertyName.end(), '\''), + sanitizedPropertyName.end()); - const prop_info *propertyInfo = __system_property_find(propertyName); - if (propertyInfo != nullptr) + std::string command("getprop '"); + command += sanitizedPropertyName; + command += "'"; + + // Run the command and open a I/O stream to read the value + constexpr int kStreamSize = 64; + char stream[kStreamSize] = {}; + FILE *pipe = popen(command.c_str(), "r"); + if (pipe != nullptr) { - __system_property_read_callback( - propertyInfo, - [](void *cookie, const char *, const char *value, unsigned) { - auto propertyValue = reinterpret_cast(cookie); - *propertyValue = value; - }, - &propertyValue); + fgets(stream, kStreamSize, pipe); + pclose(pipe); } + // Right strip white space + std::string value(stream); + value.erase(value.find_last_not_of(" \n\r\t") + 1); + // Set the environment variable with the value. - SetEnvironmentVar(variableName, propertyValue.c_str()); - return propertyValue; + SetEnvironmentVar(variableName, value.c_str()); + return value; #endif // ANGLE_PLATFORM_ANDROID // Return the environment variable's value. return GetEnvironmentVar(variableName); diff --git a/gfx/angle/checkout/src/common/system_utils_mac.cpp b/gfx/angle/checkout/src/common/system_utils_mac.cpp index 2c48a7eb0416..88939fa90cd7 100644 --- a/gfx/angle/checkout/src/common/system_utils_mac.cpp +++ b/gfx/angle/checkout/src/common/system_utils_mac.cpp @@ -21,8 +21,44 @@ namespace angle { +std::string GetExecutablePath() +{ + std::string result; + + uint32_t size = 0; + _NSGetExecutablePath(nullptr, &size); + + std::vector buffer; + buffer.resize(size + 1); + + _NSGetExecutablePath(buffer.data(), &size); + buffer[size] = '\0'; + + if (!strrchr(buffer.data(), '/')) + { + return ""; + } + return buffer.data(); +} + +std::string GetExecutableDirectory() +{ + std::string executablePath = GetExecutablePath(); + size_t lastPathSepLoc = executablePath.find_last_of("/"); + return (lastPathSepLoc != std::string::npos) ? executablePath.substr(0, lastPathSepLoc) : ""; +} + const char *GetSharedLibraryExtension() { return "dylib"; } + +double GetCurrentTime() +{ + mach_timebase_info_data_t timebaseInfo; + mach_timebase_info(&timebaseInfo); + + double secondCoeff = timebaseInfo.numer * 1e-9 / timebaseInfo.denom; + return secondCoeff * mach_absolute_time(); +} } // namespace angle diff --git a/gfx/angle/checkout/src/common/system_utils_posix.cpp b/gfx/angle/checkout/src/common/system_utils_posix.cpp index 323aee6acefd..1d632b29b02d 100644 --- a/gfx/angle/checkout/src/common/system_utils_posix.cpp +++ b/gfx/angle/checkout/src/common/system_utils_posix.cpp @@ -103,19 +103,10 @@ Library *OpenSharedLibrary(const char *libraryName, SearchType searchType) std::string directory; if (searchType == SearchType::ApplicationDir) { -#if ANGLE_PLATFORM_IOS - // On iOS, shared libraries must be loaded from within the app bundle. - directory = GetExecutableDirectory() + "/Frameworks/"; -#else directory = GetHelperExecutableDir(); -#endif } std::string fullPath = directory + libraryName + "." + GetSharedLibraryExtension(); -#if ANGLE_PLATFORM_IOS - // On iOS, dlopen needs a suffix on the framework name to work. - fullPath = fullPath + "/" + libraryName; -#endif return new PosixLibrary(fullPath); } diff --git a/gfx/angle/checkout/src/common/system_utils_win32.cpp b/gfx/angle/checkout/src/common/system_utils_win32.cpp index cf9a52737992..fbe61df98e1d 100644 --- a/gfx/angle/checkout/src/common/system_utils_win32.cpp +++ b/gfx/angle/checkout/src/common/system_utils_win32.cpp @@ -65,7 +65,6 @@ class Win32Library : public Library { if (!mModule) { - fprintf(stderr, "Module was not loaded\n"); return nullptr; } diff --git a/gfx/angle/checkout/src/common/uniform_type_info_autogen.cpp b/gfx/angle/checkout/src/common/uniform_type_info_autogen.cpp index 70249981a855..6335ba000372 100644 --- a/gfx/angle/checkout/src/common/uniform_type_info_autogen.cpp +++ b/gfx/angle/checkout/src/common/uniform_type_info_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_uniform_type_table.py. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -18,191 +18,202 @@ namespace gl namespace { -constexpr std::array kInfoTable = { +constexpr std::array kInfoTable = { {{GL_NONE, GL_NONE, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 0, 0, 0, 0, 0 * 0, - 0 * 0, false, false, false}, + 0 * 0, false, false, false, ""}, {GL_BOOL, GL_BOOL, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, false, ""}, {GL_BOOL_VEC2, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC2, SamplerFormat::InvalidEnum, 1, 2, 2, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 2, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 2, false, false, false, ""}, {GL_BOOL_VEC3, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC3, SamplerFormat::InvalidEnum, 1, 3, 3, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 3, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 3, false, false, false, ""}, {GL_BOOL_VEC4, GL_BOOL, GL_NONE, GL_NONE, GL_BOOL_VEC4, SamplerFormat::InvalidEnum, 1, 4, 4, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 4, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 4, false, false, false, ""}, {GL_FLOAT, GL_FLOAT, GL_NONE, GL_NONE, GL_BOOL, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 1, false, false, false}, + sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 1, false, false, false, ""}, {GL_FLOAT_MAT2, GL_FLOAT, GL_NONE, GL_FLOAT_MAT2, GL_NONE, SamplerFormat::InvalidEnum, 2, 2, 4, - sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 4, false, true, false}, + sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 4, false, true, false, ""}, {GL_FLOAT_MAT2x3, GL_FLOAT, GL_NONE, GL_FLOAT_MAT3x2, GL_NONE, SamplerFormat::InvalidEnum, 3, - 2, 6, sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 6, false, true, false}, + 2, 6, sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 6, false, true, false, ""}, {GL_FLOAT_MAT2x4, GL_FLOAT, GL_NONE, GL_FLOAT_MAT4x2, GL_NONE, SamplerFormat::InvalidEnum, 4, - 2, 8, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 8, false, true, false}, + 2, 8, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 8, false, true, false, ""}, {GL_FLOAT_MAT3, GL_FLOAT, GL_NONE, GL_FLOAT_MAT3, GL_NONE, SamplerFormat::InvalidEnum, 3, 3, 9, - sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 9, false, true, false}, + sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 9, false, true, false, ""}, {GL_FLOAT_MAT3x2, GL_FLOAT, GL_NONE, GL_FLOAT_MAT2x3, GL_NONE, SamplerFormat::InvalidEnum, 2, - 3, 6, sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 6, false, true, false}, + 3, 6, sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 6, false, true, false, ""}, {GL_FLOAT_MAT3x4, GL_FLOAT, GL_NONE, GL_FLOAT_MAT4x3, GL_NONE, SamplerFormat::InvalidEnum, 4, - 3, 12, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 12, false, true, false}, + 3, 12, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 12, false, true, false, ""}, {GL_FLOAT_MAT4, GL_FLOAT, GL_NONE, GL_FLOAT_MAT4, GL_NONE, SamplerFormat::InvalidEnum, 4, 4, - 16, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 16, false, true, false}, + 16, sizeof(GLfloat), sizeof(GLfloat) * 16, sizeof(GLfloat) * 16, false, true, false, ""}, {GL_FLOAT_MAT4x2, GL_FLOAT, GL_NONE, GL_FLOAT_MAT2x4, GL_NONE, SamplerFormat::InvalidEnum, 2, - 4, 8, sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 8, false, true, false}, + 4, 8, sizeof(GLfloat), sizeof(GLfloat) * 8, sizeof(GLfloat) * 8, false, true, false, ""}, {GL_FLOAT_MAT4x3, GL_FLOAT, GL_NONE, GL_FLOAT_MAT3x4, GL_NONE, SamplerFormat::InvalidEnum, 3, - 4, 12, sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 12, false, true, false}, + 4, 12, sizeof(GLfloat), sizeof(GLfloat) * 12, sizeof(GLfloat) * 12, false, true, false, ""}, {GL_FLOAT_VEC2, GL_FLOAT, GL_NONE, GL_NONE, GL_BOOL_VEC2, SamplerFormat::InvalidEnum, 1, 2, 2, - sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 2, false, false, false}, + sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 2, false, false, false, ""}, {GL_FLOAT_VEC3, GL_FLOAT, GL_NONE, GL_NONE, GL_BOOL_VEC3, SamplerFormat::InvalidEnum, 1, 3, 3, - sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 3, false, false, false}, + sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 3, false, false, false, ""}, {GL_FLOAT_VEC4, GL_FLOAT, GL_NONE, GL_NONE, GL_BOOL_VEC4, SamplerFormat::InvalidEnum, 1, 4, 4, - sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 4, false, false, false}, + sizeof(GLfloat), sizeof(GLfloat) * 4, sizeof(GLfloat) * 4, false, false, false, ""}, {GL_IMAGE_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, "intBitsToFloat"}, {GL_IMAGE_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, - 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, + "intBitsToFloat"}, {GL_IMAGE_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, "intBitsToFloat"}, {GL_IMAGE_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, + "intBitsToFloat"}, {GL_IMAGE_CUBE_MAP_ARRAY, GL_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, - false, false, true}, + false, false, true, "intBitsToFloat"}, {GL_IMAGE_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, + "intBitsToFloat"}, {GL_INT, GL_INT, GL_NONE, GL_NONE, GL_BOOL, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLint), - sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, false}, + sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, false, "intBitsToFloat"}, {GL_INT_IMAGE_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, "intBitsToFloat"}, {GL_INT_IMAGE_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, - false, false, true}, + false, false, true, "intBitsToFloat"}, {GL_INT_IMAGE_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, "intBitsToFloat"}, {GL_INT_IMAGE_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, - 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, + "intBitsToFloat"}, {GL_INT_IMAGE_CUBE_MAP_ARRAY, GL_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, - false, false, true}, + false, false, true, "intBitsToFloat"}, {GL_INT_IMAGE_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, - 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true}, + 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, false, false, true, + "intBitsToFloat"}, {GL_INT_SAMPLER_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_INT_SAMPLER_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Signed, - 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_INT_SAMPLER_2D_MULTISAMPLE, GL_INT, GL_TEXTURE_2D_MULTISAMPLE, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, GL_INT, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, - true, false, false}, + true, false, false, "intBitsToFloat"}, {GL_INT_SAMPLER_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_INT_SAMPLER_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_INT_SAMPLER_CUBE_MAP_ARRAY, GL_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_INT_SAMPLER_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_INT_VEC2, GL_INT, GL_NONE, GL_NONE, GL_BOOL_VEC2, SamplerFormat::InvalidEnum, 1, 2, 2, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 2, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 2, false, false, false, "intBitsToFloat"}, {GL_INT_VEC3, GL_INT, GL_NONE, GL_NONE, GL_BOOL_VEC3, SamplerFormat::InvalidEnum, 1, 3, 3, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 3, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 3, false, false, false, "intBitsToFloat"}, {GL_INT_VEC4, GL_INT, GL_NONE, GL_NONE, GL_BOOL_VEC4, SamplerFormat::InvalidEnum, 1, 4, 4, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 4, false, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 4, false, false, false, "intBitsToFloat"}, {GL_SAMPLER_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Float, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_SAMPLER_2D_ARRAY_SHADOW, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Shadow, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_SAMPLER_2D_MULTISAMPLE, GL_INT, GL_TEXTURE_2D_MULTISAMPLE, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_SAMPLER_2D_MULTISAMPLE_ARRAY, GL_INT, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_SAMPLER_2D_RECT_ANGLE, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, - 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_2D_SHADOW, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Shadow, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_CUBE_MAP_ARRAY, GL_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_SAMPLER_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, - sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, "intBitsToFloat"}, {GL_SAMPLER_CUBE_SHADOW, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::Shadow, - 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW, GL_INT, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::Shadow, 1, - 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}, + 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false, + "intBitsToFloat"}, {GL_SAMPLER_EXTERNAL_OES, GL_INT, GL_TEXTURE_EXTERNAL_OES, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, + false, false, "intBitsToFloat"}, {GL_UNSIGNED_INT, GL_UNSIGNED_INT, GL_NONE, GL_NONE, GL_BOOL, SamplerFormat::InvalidEnum, 1, 1, - 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, false, false, false}, + 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, false, false, false, + "uintBitsToFloat"}, {GL_UNSIGNED_INT_ATOMIC_COUNTER, GL_UNSIGNED_INT, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, false}, + false, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_2D, GL_UNSIGNED_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, true}, + false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_2D_ARRAY, GL_UNSIGNED_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, true}, + false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_3D, GL_UNSIGNED_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, true}, + false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_CUBE, GL_UNSIGNED_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, true}, + false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY, GL_UNSIGNED_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, - sizeof(GLuint) * 1, false, false, true}, + sizeof(GLuint) * 1, false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_IMAGE_BUFFER, GL_UNSIGNED_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::InvalidEnum, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - false, false, true}, + false, false, true, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_2D, GL_UNSIGNED_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - true, false, false}, + true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_2D_ARRAY, GL_UNSIGNED_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - true, false, false}, + true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE, GL_UNSIGNED_INT, GL_TEXTURE_2D_MULTISAMPLE, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, - sizeof(GLuint) * 1, true, false, false}, + sizeof(GLuint) * 1, true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY, GL_UNSIGNED_INT, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, - sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, true, false, false}, + sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, true, false, false, + "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_3D, GL_UNSIGNED_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - true, false, false}, + true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_CUBE, GL_UNSIGNED_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - true, false, false}, + true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY, GL_UNSIGNED_INT, GL_TEXTURE_CUBE_MAP_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, - sizeof(GLuint) * 1, true, false, false}, + sizeof(GLuint) * 1, true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_SAMPLER_BUFFER, GL_UNSIGNED_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::Unsigned, 1, 1, 1, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 1, - true, false, false}, + true, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_VEC2, GL_UNSIGNED_INT, GL_NONE, GL_NONE, GL_BOOL_VEC2, SamplerFormat::InvalidEnum, 1, 2, 2, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 2, - false, false, false}, + false, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_VEC3, GL_UNSIGNED_INT, GL_NONE, GL_NONE, GL_BOOL_VEC3, SamplerFormat::InvalidEnum, 1, 3, 3, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 3, - false, false, false}, + false, false, false, "uintBitsToFloat"}, {GL_UNSIGNED_INT_VEC4, GL_UNSIGNED_INT, GL_NONE, GL_NONE, GL_BOOL_VEC4, SamplerFormat::InvalidEnum, 1, 4, 4, sizeof(GLuint), sizeof(GLuint) * 4, sizeof(GLuint) * 4, - false, false, false}, + false, false, false, "uintBitsToFloat"}, {GL_SAMPLER_VIDEO_IMAGE_WEBGL, GL_INT, GL_TEXTURE_VIDEO_IMAGE_WEBGL, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, - false, false}, - {GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT, GL_INT, GL_NONE, GL_NONE, GL_NONE, SamplerFormat::Float, 1, 1, - 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true, false, false}}}; + false, false, "intBitsToFloat"}}}; size_t GetTypeInfoIndex(GLenum uniformType) { @@ -360,8 +371,6 @@ size_t GetTypeInfoIndex(GLenum uniformType) return 74; case GL_SAMPLER_VIDEO_IMAGE_WEBGL: return 75; - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: - return 76; default: UNREACHABLE(); return 0; diff --git a/gfx/angle/checkout/src/common/utilities.cpp b/gfx/angle/checkout/src/common/utilities.cpp index 52b04b839445..c953ff9edef6 100644 --- a/gfx/angle/checkout/src/common/utilities.cpp +++ b/gfx/angle/checkout/src/common/utilities.cpp @@ -10,7 +10,6 @@ #include "GLES3/gl3.h" #include "common/mathutil.h" #include "common/platform.h" -#include "common/string_utils.h" #include @@ -171,7 +170,6 @@ GLenum VariableComponentType(GLenum type) case GL_UNSIGNED_INT_IMAGE_BUFFER: case GL_UNSIGNED_INT_ATOMIC_COUNTER: case GL_SAMPLER_VIDEO_IMAGE_WEBGL: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return GL_INT; case GL_UNSIGNED_INT: case GL_UNSIGNED_INT_VEC2: @@ -362,7 +360,6 @@ int VariableRowCount(GLenum type) case GL_INT_IMAGE_BUFFER: case GL_UNSIGNED_INT_IMAGE_BUFFER: case GL_SAMPLER_VIDEO_IMAGE_WEBGL: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return 1; case GL_FLOAT_MAT2: case GL_FLOAT_MAT3x2: @@ -443,7 +440,6 @@ int VariableColumnCount(GLenum type) case GL_UNSIGNED_INT_IMAGE_CUBE: case GL_UNSIGNED_INT_ATOMIC_COUNTER: case GL_SAMPLER_VIDEO_IMAGE_WEBGL: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return 1; case GL_BOOL_VEC2: case GL_FLOAT_VEC2: @@ -511,7 +507,6 @@ bool IsSamplerType(GLenum type) case GL_SAMPLER_2D_ARRAY_SHADOW: case GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW: case GL_SAMPLER_VIDEO_IMAGE_WEBGL: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return true; } @@ -532,18 +527,6 @@ bool IsSamplerCubeType(GLenum type) return false; } -bool IsSamplerYUVType(GLenum type) -{ - switch (type) - { - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: - return true; - - default: - return false; - } -} - bool IsImageType(GLenum type) { switch (type) @@ -877,7 +860,6 @@ int VariableSortOrder(GLenum type) case GL_UNSIGNED_INT_IMAGE_CUBE: case GL_UNSIGNED_INT_ATOMIC_COUNTER: case GL_SAMPLER_VIDEO_IMAGE_WEBGL: - case GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT: return 6; default: @@ -921,11 +903,6 @@ std::string ParseResourceName(const std::string &name, std::vector return name.substr(0, baseNameLength); } -bool IsBuiltInName(const char *name) -{ - return angle::BeginsWith(name, "gl_"); -} - std::string StripLastArrayIndex(const std::string &name) { size_t strippedNameLength = name.find_last_of('['); @@ -1129,69 +1106,6 @@ const char *GetDebugMessageSeverityString(GLenum severity) return "Unknown Severity"; } } - -ShaderType GetShaderTypeFromBitfield(size_t singleShaderType) -{ - switch (singleShaderType) - { - case GL_VERTEX_SHADER_BIT: - return ShaderType::Vertex; - case GL_FRAGMENT_SHADER_BIT: - return ShaderType::Fragment; - case GL_COMPUTE_SHADER_BIT: - return ShaderType::Compute; - case GL_GEOMETRY_SHADER_BIT: - return ShaderType::Geometry; - case GL_TESS_CONTROL_SHADER_BIT: - return ShaderType::TessControl; - case GL_TESS_EVALUATION_SHADER_BIT: - return ShaderType::TessEvaluation; - default: - return ShaderType::InvalidEnum; - } -} - -GLbitfield GetBitfieldFromShaderType(ShaderType shaderType) -{ - switch (shaderType) - { - case ShaderType::Vertex: - return GL_VERTEX_SHADER_BIT; - case ShaderType::Fragment: - return GL_FRAGMENT_SHADER_BIT; - case ShaderType::Compute: - return GL_COMPUTE_SHADER_BIT; - case ShaderType::Geometry: - return GL_GEOMETRY_SHADER_BIT; - case ShaderType::TessControl: - return GL_TESS_CONTROL_SHADER_BIT; - case ShaderType::TessEvaluation: - return GL_TESS_EVALUATION_SHADER_BIT; - default: - UNREACHABLE(); - return GL_ZERO; - } -} - -bool ShaderTypeSupportsTransformFeedback(ShaderType shaderType) -{ - switch (shaderType) - { - case ShaderType::Vertex: - case ShaderType::Geometry: - case ShaderType::TessEvaluation: - return true; - default: - return false; - } -} - -ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes) -{ - shaderTypes.reset(ShaderType::Fragment); - shaderTypes.reset(ShaderType::Compute); - return shaderTypes.any() ? shaderTypes.last() : ShaderType::InvalidEnum; -} } // namespace gl namespace egl @@ -1255,7 +1169,6 @@ bool IsExternalImageTarget(EGLenum target) case EGL_NATIVE_BUFFER_ANDROID: case EGL_D3D11_TEXTURE_ANGLE: case EGL_LINUX_DMA_BUF_EXT: - case EGL_METAL_TEXTURE_ANGLE: return true; default: diff --git a/gfx/angle/checkout/src/common/utilities.h b/gfx/angle/checkout/src/common/utilities.h index ca9557c8c481..0c7d811a46ed 100644 --- a/gfx/angle/checkout/src/common/utilities.h +++ b/gfx/angle/checkout/src/common/utilities.h @@ -39,7 +39,6 @@ int VariableRowCount(GLenum type); int VariableColumnCount(GLenum type); bool IsSamplerType(GLenum type); bool IsSamplerCubeType(GLenum type); -bool IsSamplerYUVType(GLenum type); bool IsImageType(GLenum type); bool IsImage2DType(GLenum type); bool IsAtomicCounterType(GLenum type); @@ -62,12 +61,6 @@ int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsig // outSubscripts. std::string ParseResourceName(const std::string &name, std::vector *outSubscripts); -bool IsBuiltInName(const char *name); -ANGLE_INLINE bool IsBuiltInName(const std::string &name) -{ - return IsBuiltInName(name.c_str()); -} - // Strips only the last array index from a resource name. std::string StripLastArrayIndex(const std::string &name); @@ -148,7 +141,8 @@ struct UniformTypeInfo final : angle::NonCopyable size_t externalSize, bool isSampler, bool isMatrixType, - bool isImageType); + bool isImageType, + const char *glslAsFloat); GLenum type; GLenum componentType; @@ -165,6 +159,7 @@ struct UniformTypeInfo final : angle::NonCopyable bool isSampler; bool isMatrixType; bool isImageType; + const char *glslAsFloat; }; inline constexpr UniformTypeInfo::UniformTypeInfo(GLenum type, @@ -181,7 +176,8 @@ inline constexpr UniformTypeInfo::UniformTypeInfo(GLenum type, size_t externalSize, bool isSampler, bool isMatrixType, - bool isImageType) + bool isImageType, + const char *glslAsFloat) : type(type), componentType(componentType), textureType(textureType), @@ -196,7 +192,8 @@ inline constexpr UniformTypeInfo::UniformTypeInfo(GLenum type, externalSize(externalSize), isSampler(isSampler), isMatrixType(isMatrixType), - isImageType(isImageType) + isImageType(isImageType), + glslAsFloat(glslAsFloat) {} const UniformTypeInfo &GetUniformTypeInfo(GLenum uniformType); @@ -241,23 +238,6 @@ enum class SrgbOverride Linear }; -// For use with EXT_sRGB_write_control -// A render target may be forced to convert to a linear colorspace, or may be allowed to do whatever -// colorspace conversion is appropriate for its format. There is no option to force linear->sRGB, it -// can only convert from sRGB->linear -enum class SrgbWriteControlMode -{ - Default = 0, - Linear = 1 -}; - -ShaderType GetShaderTypeFromBitfield(size_t singleShaderType); -GLbitfield GetBitfieldFromShaderType(ShaderType shaderType); -bool ShaderTypeSupportsTransformFeedback(ShaderType shaderType); -// Given a set of shader stages, returns the last vertex processing stage. This is the stage that -// interfaces the fragment shader. -ShaderType GetLastPreFragmentStage(ShaderBitSet shaderTypes); - } // namespace gl namespace egl diff --git a/gfx/angle/checkout/src/compiler/preprocessor/DirectiveParser.cpp b/gfx/angle/checkout/src/compiler/preprocessor/DirectiveParser.cpp index 30167e2a5a0c..6b01f35d7dda 100644 --- a/gfx/angle/checkout/src/compiler/preprocessor/DirectiveParser.cpp +++ b/gfx/angle/checkout/src/compiler/preprocessor/DirectiveParser.cpp @@ -170,7 +170,7 @@ void DirectiveParser::lex(Token *token) parseDirective(token); mPastFirstStatement = true; } - else if (!isEOD(token) && !skipping()) + else if (!isEOD(token)) { mSeenNonPreprocessorToken = true; } diff --git a/gfx/angle/checkout/src/compiler/translator/BaseTypes.h b/gfx/angle/checkout/src/compiler/translator/BaseTypes.h index 6ed152bb8a81..5075ab3ef53e 100644 --- a/gfx/angle/checkout/src/compiler/translator/BaseTypes.h +++ b/gfx/angle/checkout/src/compiler/translator/BaseTypes.h @@ -134,6 +134,9 @@ enum TBasicType EbtImage2DMSArray, EbtIImage2DMSArray, EbtUImage2DMSArray, + EbtImage2DRect, + EbtIImage2DRect, + EbtUImage2DRect, EbtImageCubeArray, EbtIImageCubeArray, EbtUImageCubeArray, @@ -145,17 +148,14 @@ enum TBasicType EbtUImageBuffer, EbtGuardImageEnd = EbtUImageBuffer, - // Subpass Input - EbtGuardSubpassInputBegin, - EbtSubpassInput = EbtGuardSubpassInputBegin, + EbtSubpassInput, EbtISubpassInput, EbtUSubpassInput, EbtSubpassInputMS, EbtISubpassInputMS, EbtUSubpassInputMS, - EbtGuardSubpassInputEnd = EbtUSubpassInputMS, - EbtLastSimpleType = EbtGuardSubpassInputEnd, + EbtLastSimpleType = EbtUSubpassInputMS, EbtStruct, EbtInterfaceBlock, @@ -221,14 +221,9 @@ inline bool IsAtomicCounter(TBasicType type) return type == EbtAtomicCounter; } -inline bool IsSubpassInputType(TBasicType type) -{ - return type >= EbtGuardSubpassInputBegin && type <= EbtGuardSubpassInputEnd; -} - inline bool IsOpaqueType(TBasicType type) { - return IsSampler(type) || IsImage(type) || IsAtomicCounter(type) || IsSubpassInputType(type); + return IsSampler(type) || IsImage(type) || IsAtomicCounter(type); } inline bool IsIntegerSampler(TBasicType type) @@ -360,6 +355,7 @@ inline bool IsFloatImage(TBasicType type) case EbtImageCube: case EbtImage2DMS: case EbtImage2DMSArray: + case EbtImage2DRect: case EbtImageCubeArray: case EbtImageRect: case EbtImageBuffer: @@ -384,6 +380,7 @@ inline bool IsIntegerImage(TBasicType type) case EbtIImageCube: case EbtIImage2DMS: case EbtIImage2DMSArray: + case EbtIImage2DRect: case EbtIImageCubeArray: case EbtIImageRect: case EbtIImageBuffer: @@ -408,6 +405,7 @@ inline bool IsUnsignedImage(TBasicType type) case EbtUImageCube: case EbtUImage2DMS: case EbtUImage2DMSArray: + case EbtUImage2DRect: case EbtUImageCubeArray: case EbtUImageRect: case EbtUImageBuffer: @@ -708,6 +706,9 @@ inline bool IsImage2D(TBasicType type) case EbtImage2D: case EbtIImage2D: case EbtUImage2D: + case EbtImage2DRect: + case EbtIImage2DRect: + case EbtUImage2DRect: case EbtImage2DMS: case EbtIImage2DMS: case EbtUImage2DMS: @@ -776,6 +777,9 @@ inline bool IsImage3D(TBasicType type) case EbtImage2DMSArray: case EbtIImage2DMSArray: case EbtUImage2DMSArray: + case EbtImage2DRect: + case EbtIImage2DRect: + case EbtUImage2DRect: case EbtImageCubeArray: case EbtIImageCubeArray: case EbtUImageCubeArray: @@ -822,6 +826,9 @@ inline bool IsImage2DArray(TBasicType type) case EbtImage2DMS: case EbtIImage2DMS: case EbtUImage2DMS: + case EbtImage2DRect: + case EbtIImage2DRect: + case EbtUImage2DRect: case EbtImageCubeArray: case EbtIImageCubeArray: case EbtUImageCubeArray: @@ -868,6 +875,9 @@ inline bool IsImageCube(TBasicType type) case EbtImage2DMSArray: case EbtIImage2DMSArray: case EbtUImage2DMSArray: + case EbtImage2DRect: + case EbtIImage2DRect: + case EbtUImage2DRect: case EbtImageCubeArray: case EbtIImageCubeArray: case EbtUImageCubeArray: @@ -911,15 +921,12 @@ enum TQualifier EvqVaryingOut, // vertex shaders only read/write EvqUniform, // Readonly, vertex and fragment EvqBuffer, // read/write, vertex, fragment and compute shader - EvqPatch, // EXT_tessellation_shader storage qualifier EvqVertexIn, // Vertex shader input EvqFragmentOut, // Fragment shader output EvqVertexOut, // Vertex shader output EvqFragmentIn, // Fragment shader input - EvqFragmentInOut, // EXT_shader_framebuffer_fetch qualifier - // parameters EvqIn, EvqOut, @@ -936,6 +943,9 @@ enum TQualifier EvqDrawID, // ANGLE_multi_draw + EvqBaseVertex, // ANGLE_base_vertex_base_instance + EvqBaseInstance, // ANGLE_base_vertex_base_instance + // built-ins read by fragment shader EvqFragCoord, EvqFrontFacing, @@ -956,7 +966,6 @@ enum TQualifier EvqViewportIndex, // gl_ViewportIndex EvqClipDistance, // APPLE_clip_distance/EXT_clip_cull_distance - EvqCullDistance, // EXT_clip_cull_distance // built-ins written by the shader_framebuffer_fetch extension(s) EvqLastFragColor, @@ -979,13 +988,6 @@ enum TQualifier EvqCentroidIn, // Implies smooth EvqSampleIn, - // GLSL ES 3.0 extension OES_sample_variables - EvqSampleID, - EvqSamplePosition, - EvqSampleMaskIn, - EvqSampleMask, - EvqNumSamples, - // GLSL ES 3.1 compute shader special variables EvqShared, EvqComputeIn, @@ -1015,21 +1017,6 @@ enum TQualifier // GLSL ES 3.1 extension EXT_gpu_shader5 qualifiers EvqPrecise, - // GLES ES 3.1 extension EXT_tessellation_shader qualifiers - EvqPatchIn, - EvqPatchOut, - - EvqTessControlIn, - EvqTessControlOut, - EvqPerVertexOut, - EvqPatchVerticesIn, - EvqTessLevelOuter, - EvqTessLevelInner, - - EvqTessEvaluationIn, - EvqTessEvaluationOut, - EvqTessCoord, - // end of list EvqLast }; @@ -1049,8 +1036,6 @@ inline bool IsShaderIn(TQualifier qualifier) switch (qualifier) { case EvqVertexIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: case EvqGeometryIn: case EvqFragmentIn: case EvqAttribute: @@ -1060,7 +1045,6 @@ inline bool IsShaderIn(TQualifier qualifier) case EvqNoPerspectiveIn: case EvqCentroidIn: case EvqSampleIn: - case EvqPatchIn: return true; default: return false; @@ -1072,8 +1056,6 @@ inline bool IsShaderOut(TQualifier qualifier) switch (qualifier) { case EvqVertexOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: case EvqGeometryOut: case EvqFragmentOut: case EvqVaryingOut: @@ -1082,28 +1064,6 @@ inline bool IsShaderOut(TQualifier qualifier) case EvqNoPerspectiveOut: case EvqCentroidOut: case EvqSampleOut: - case EvqPatchOut: - case EvqFragmentInOut: - return true; - default: - return false; - } -} - -inline bool IsShaderIoBlock(TQualifier qualifier) -{ - switch (qualifier) - { - case EvqPerVertexIn: - case EvqPerVertexOut: - case EvqVertexOut: - case EvqTessControlIn: - case EvqTessControlOut: - case EvqTessEvaluationIn: - case EvqTessEvaluationOut: - case EvqGeometryIn: - case EvqGeometryOut: - case EvqFragmentIn: return true; default: return false; @@ -1164,20 +1124,6 @@ enum TLayoutPrimitiveType EptTriangleStrip }; -enum TLayoutTessEvaluationType -{ - EtetUndefined, - EtetTriangles, - EtetQuads, - EtetIsolines, - EtetEqualSpacing, - EtetFractionalEvenSpacing, - EtetFractionalOddSpacing, - EtetCw, - EtetCcw, - EtetPointMode -}; - struct TLayoutQualifier { // Must have a trivial default constructor since it is used in YYSTYPE. @@ -1191,10 +1137,7 @@ struct TLayoutQualifier earlyFragmentTests == false && matrixPacking == EmpUnspecified && blockStorage == EbsUnspecified && !localSize.isAnyValueSet() && imageInternalFormat == EiifUnspecified && primitiveType == EptUndefined && - invocations == 0 && maxVertices == -1 && vertices == 0 && - tesPrimitiveType == EtetUndefined && tesVertexSpacingType == EtetUndefined && - tesOrderingType == EtetUndefined && tesPointType == EtetUndefined && index == -1 && - inputAttachmentIndex == -1 && noncoherent == false; + invocations == 0 && maxVertices == -1 && index == -1; } bool isCombinationValid() const @@ -1203,7 +1146,6 @@ struct TLayoutQualifier bool numViewsSet = (numViews != -1); bool geometryShaderSpecified = (primitiveType != EptUndefined) || (invocations != 0) || (maxVertices != -1); - bool subpassInputSpecified = (inputAttachmentIndex != -1); bool otherLayoutQualifiersSpecified = (location != -1 || binding != -1 || index != -1 || matrixPacking != EmpUnspecified || blockStorage != EbsUnspecified || imageInternalFormat != EiifUnspecified); @@ -1213,8 +1155,7 @@ struct TLayoutQualifier // qualifiers. return (workGroupSizeSpecified ? 1 : 0) + (numViewsSet ? 1 : 0) + (yuv ? 1 : 0) + (earlyFragmentTests ? 1 : 0) + (otherLayoutQualifiersSpecified ? 1 : 0) + - (geometryShaderSpecified ? 1 : 0) + (subpassInputSpecified ? 1 : 0) + - (noncoherent ? 1 : 0) <= + (geometryShaderSpecified ? 1 : 0) <= 1; } @@ -1251,20 +1192,9 @@ struct TLayoutQualifier int invocations; int maxVertices; - // EXT_tessellation_shader shader layout qualifiers - int vertices; - TLayoutTessEvaluationType tesPrimitiveType; - TLayoutTessEvaluationType tesVertexSpacingType; - TLayoutTessEvaluationType tesOrderingType; - TLayoutTessEvaluationType tesPointType; - // EXT_blend_func_extended fragment output layout qualifier int index; - // EXT_shader_framebuffer_fetch layout qualifiers. - int inputAttachmentIndex; - bool noncoherent; - private: explicit constexpr TLayoutQualifier(int /*placeholder*/) : location(-1), @@ -1281,14 +1211,7 @@ struct TLayoutQualifier primitiveType(EptUndefined), invocations(0), maxVertices(-1), - vertices(0), - tesPrimitiveType(EtetUndefined), - tesVertexSpacingType(EtetUndefined), - tesOrderingType(EtetUndefined), - tesPointType(EtetUndefined), - index(-1), - inputAttachmentIndex(-1), - noncoherent(false) + index(-1) {} }; @@ -1357,7 +1280,6 @@ inline const char *getQualifierString(TQualifier q) case EvqVaryingOut: return "varying"; case EvqUniform: return "uniform"; case EvqBuffer: return "buffer"; - case EvqPatch: return "patch"; case EvqVertexIn: return "in"; case EvqFragmentOut: return "out"; case EvqVertexOut: return "out"; @@ -1371,6 +1293,8 @@ inline const char *getQualifierString(TQualifier q) case EvqPosition: return "Position"; case EvqPointSize: return "PointSize"; case EvqDrawID: return "DrawID"; + case EvqBaseVertex: return "BaseVertex"; + case EvqBaseInstance: return "BaseInstance"; case EvqFragCoord: return "FragCoord"; case EvqFrontFacing: return "FrontFacing"; case EvqHelperInvocation: return "HelperInvocation"; @@ -1386,7 +1310,6 @@ inline const char *getQualifierString(TQualifier q) case EvqLayer: return "Layer"; case EvqLastFragColor: return "LastFragColor"; case EvqLastFragData: return "LastFragData"; - case EvqFragmentInOut: return "inout"; case EvqSmoothOut: return "smooth out"; case EvqCentroidOut: return "smooth centroid out"; case EvqFlatOut: return "flat out"; @@ -1412,30 +1335,11 @@ inline const char *getQualifierString(TQualifier q) case EvqGeometryIn: return "in"; case EvqGeometryOut: return "out"; case EvqPerVertexIn: return "gl_in"; - case EvqPrimitiveIDIn: return "gl_PrimitiveIDIn"; - case EvqInvocationID: return "gl_InvocationID"; - case EvqPrimitiveID: return "gl_PrimitiveID"; case EvqPrecise: return "precise"; case EvqClipDistance: return "ClipDistance"; case EvqSample: return "sample"; case EvqSampleIn: return "sample in"; case EvqSampleOut: return "sample out"; - case EvqSampleID: return "SampleID"; - case EvqSamplePosition: return "SamplePosition"; - case EvqSampleMaskIn: return "SampleMaskIn"; - case EvqSampleMask: return "SampleMask"; - case EvqNumSamples: return "NumSamples"; - case EvqPatchIn: return "patch in"; - case EvqPatchOut: return "patch out"; - case EvqTessControlIn: return "in"; - case EvqTessControlOut: return "out"; - case EvqPerVertexOut: return "gl_out"; - case EvqPatchVerticesIn: return "PatchVerticesIn"; - case EvqTessLevelOuter: return "TessLevelOuter"; - case EvqTessLevelInner: return "TessLevelInner"; - case EvqTessEvaluationIn: return "in"; - case EvqTessEvaluationOut: return "out"; - case EvqTessCoord: return "TessCoord"; default: UNREACHABLE(); return "unknown qualifier"; } // clang-format on @@ -1564,34 +1468,6 @@ inline const char *getGeometryShaderPrimitiveTypeString(TLayoutPrimitiveType pri } } -inline const char *getTessEvaluationShaderTypeString(TLayoutTessEvaluationType type) -{ - switch (type) - { - case EtetTriangles: - return "triangles"; - case EtetQuads: - return "quads"; - case EtetIsolines: - return "isolines"; - case EtetEqualSpacing: - return "equal_spacing"; - case EtetFractionalEvenSpacing: - return "fractional_even_spacing"; - case EtetFractionalOddSpacing: - return "fractional_odd_spacing"; - case EtetCw: - return "cw"; - case EtetCcw: - return "ccw"; - case EtetPointMode: - return "point_mode"; - default: - UNREACHABLE(); - return "unknown tessellation evaluation shader variable type"; - } -} - } // namespace sh #endif // COMPILER_TRANSLATOR_BASETYPES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/BuiltinsWorkaroundGLSL.cpp b/gfx/angle/checkout/src/compiler/translator/BuiltinsWorkaroundGLSL.cpp index 7dff53d31dbe..4daf739f560c 100644 --- a/gfx/angle/checkout/src/compiler/translator/BuiltinsWorkaroundGLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/BuiltinsWorkaroundGLSL.cpp @@ -34,6 +34,7 @@ class TBuiltinsWorkaroundGLSL : public TIntermTraverser ShCompileOptions mCompileOptions; bool isBaseInstanceDeclared = false; + bool isBaseVertexDeclared = false; }; TBuiltinsWorkaroundGLSL::TBuiltinsWorkaroundGLSL(TSymbolTable *symbolTable, @@ -80,7 +81,7 @@ bool TBuiltinsWorkaroundGLSL::visitDeclaration(Visit, TIntermDeclaration *node) for (TIntermNode *variableNode : sequence) { TIntermSymbol *variable = variableNode->getAsSymbolNode(); - if (variable && variable->variable().symbolType() == SymbolType::BuiltIn) + if (variable && variable->variable().symbolType() == SymbolType::AngleInternal) { if (variable->getName() == "angle_BaseInstance") { diff --git a/gfx/angle/checkout/src/compiler/translator/CollectVariables.cpp b/gfx/angle/checkout/src/compiler/translator/CollectVariables.cpp index eeae3e256634..6bba07b57813 100644 --- a/gfx/angle/checkout/src/compiler/translator/CollectVariables.cpp +++ b/gfx/angle/checkout/src/compiler/translator/CollectVariables.cpp @@ -38,6 +38,7 @@ BlockLayoutType GetBlockLayoutType(TLayoutBlockStorage blockStorage) } } +// TODO(jiawei.shao@intel.com): implement GL_EXT_shader_io_blocks. BlockType GetBlockType(TQualifier qualifier) { switch (qualifier) @@ -46,6 +47,8 @@ BlockType GetBlockType(TQualifier qualifier) return BlockType::BLOCK_UNIFORM; case EvqBuffer: return BlockType::BLOCK_BUFFER; + case EvqPerVertexIn: + return BlockType::BLOCK_IN; default: UNREACHABLE(); return BlockType::BLOCK_UNIFORM; @@ -96,18 +99,6 @@ ShaderVariable *FindVariableInInterfaceBlock(const ImmutableString &name, return FindVariable(name, &namedBlock->fields); } -ShaderVariable *FindShaderIOBlockVariable(const ImmutableString &blockName, - std::vector *infoList) -{ - for (size_t index = 0; index < infoList->size(); ++index) - { - if (blockName == (*infoList)[index].structOrBlockName) - return &(*infoList)[index]; - } - - return nullptr; -} - // Traverses the intermediate tree to collect all attributes, uniforms, varyings, fragment outputs, // shared data and interface blocks. class CollectVariablesTraverser : public TIntermTraverser @@ -121,12 +112,11 @@ class CollectVariablesTraverser : public TIntermTraverser std::vector *sharedVariables, std::vector *uniformBlocks, std::vector *shaderStorageBlocks, + std::vector *inBlocks, ShHashFunction64 hashFunction, TSymbolTable *symbolTable, GLenum shaderType, - const TExtensionBehavior &extensionBehavior, - const ShBuiltInResources &resources, - int tessControlShaderOutputVertices); + const TExtensionBehavior &extensionBehavior); bool visitGlobalQualifierDeclaration(Visit visit, TIntermGlobalQualifierDeclaration *node) override; @@ -139,14 +129,10 @@ class CollectVariablesTraverser : public TIntermTraverser void setFieldOrVariableProperties(const TType &type, bool staticUse, - bool isShaderIOBlock, - bool isPatch, ShaderVariable *variableOut) const; void setFieldProperties(const TType &type, const ImmutableString &name, bool staticUse, - bool isShaderIOBlock, - bool isPatch, ShaderVariable *variableOut) const; void setCommonVariableProperties(const TType &type, const TVariable &variable, @@ -167,6 +153,7 @@ class CollectVariablesTraverser : public TIntermTraverser std::vector *varyings); void recordBuiltInFragmentOutputUsed(const TVariable &variable, bool *addedFlag); void recordBuiltInAttributeUsed(const TVariable &variable, bool *addedFlag); + InterfaceBlock *recordGLInUsed(const TType &glInType); InterfaceBlock *findNamedInterfaceBlock(const ImmutableString &name) const; std::vector *mAttribs; @@ -177,12 +164,12 @@ class CollectVariablesTraverser : public TIntermTraverser std::vector *mSharedVariables; std::vector *mUniformBlocks; std::vector *mShaderStorageBlocks; + std::vector *mInBlocks; std::map mInterfaceBlockFields; // Shader uniforms bool mDepthRangeAdded; - bool mNumSamplesAdded; // Compute Shader builtins bool mNumWorkGroupsAdded; @@ -196,11 +183,12 @@ class CollectVariablesTraverser : public TIntermTraverser bool mVertexIDAdded; bool mPointSizeAdded; bool mDrawIDAdded; + bool mBaseVertexAdded; + bool mBaseInstanceAdded; // Vertex Shader and Geometry Shader builtins bool mPositionAdded; bool mClipDistanceAdded; - bool mCullDistanceAdded; // Fragment Shader builtins bool mPointCoordAdded; @@ -214,16 +202,9 @@ class CollectVariablesTraverser : public TIntermTraverser bool mFragDepthAdded; bool mSecondaryFragColorEXTAdded; bool mSecondaryFragDataEXTAdded; - bool mSampleIDAdded; - bool mSamplePositionAdded; - bool mSampleMaskAdded; - bool mSampleMaskInAdded; - - // Geometry and Tessellation Shader builtins - bool mPerVertexInAdded; - bool mPerVertexOutAdded; // Geometry Shader builtins + bool mPerVertexInAdded; bool mPrimitiveIDInAdded; bool mInvocationIDAdded; @@ -234,18 +215,10 @@ class CollectVariablesTraverser : public TIntermTraverser // Shared memory variables bool mSharedVariableAdded; - // Tessellation Shader builtins - bool mPatchVerticesInAdded; - bool mTessLevelOuterAdded; - bool mTessLevelInnerAdded; - bool mTessCoordAdded; - const int mTessControlShaderOutputVertices; - ShHashFunction64 mHashFunction; GLenum mShaderType; const TExtensionBehavior &mExtensionBehavior; - const ShBuiltInResources &mResources; }; CollectVariablesTraverser::CollectVariablesTraverser( @@ -257,12 +230,11 @@ CollectVariablesTraverser::CollectVariablesTraverser( std::vector *sharedVariables, std::vector *uniformBlocks, std::vector *shaderStorageBlocks, + std::vector *inBlocks, ShHashFunction64 hashFunction, TSymbolTable *symbolTable, GLenum shaderType, - const TExtensionBehavior &extensionBehavior, - const ShBuiltInResources &resources, - int tessControlShaderOutputVertices) + const TExtensionBehavior &extensionBehavior) : TIntermTraverser(true, false, false, symbolTable), mAttribs(attribs), mOutputVariables(outputVariables), @@ -272,8 +244,8 @@ CollectVariablesTraverser::CollectVariablesTraverser( mSharedVariables(sharedVariables), mUniformBlocks(uniformBlocks), mShaderStorageBlocks(shaderStorageBlocks), + mInBlocks(inBlocks), mDepthRangeAdded(false), - mNumSamplesAdded(false), mNumWorkGroupsAdded(false), mWorkGroupIDAdded(false), mLocalInvocationIDAdded(false), @@ -283,9 +255,10 @@ CollectVariablesTraverser::CollectVariablesTraverser( mVertexIDAdded(false), mPointSizeAdded(false), mDrawIDAdded(false), + mBaseVertexAdded(false), + mBaseInstanceAdded(false), mPositionAdded(false), mClipDistanceAdded(false), - mCullDistanceAdded(false), mPointCoordAdded(false), mFrontFacingAdded(false), mHelperInvocationAdded(false), @@ -297,26 +270,15 @@ CollectVariablesTraverser::CollectVariablesTraverser( mFragDepthAdded(false), mSecondaryFragColorEXTAdded(false), mSecondaryFragDataEXTAdded(false), - mSampleIDAdded(false), - mSamplePositionAdded(false), - mSampleMaskAdded(false), - mSampleMaskInAdded(false), mPerVertexInAdded(false), - mPerVertexOutAdded(false), mPrimitiveIDInAdded(false), mInvocationIDAdded(false), mPrimitiveIDAdded(false), mLayerAdded(false), mSharedVariableAdded(false), - mPatchVerticesInAdded(false), - mTessLevelOuterAdded(false), - mTessLevelInnerAdded(false), - mTessCoordAdded(false), - mTessControlShaderOutputVertices(tessControlShaderOutputVertices), mHashFunction(hashFunction), mShaderType(shaderType), - mExtensionBehavior(extensionBehavior), - mResources(resources) + mExtensionBehavior(extensionBehavior) {} std::string CollectVariablesTraverser::getMappedName(const TSymbol *symbol) const @@ -332,12 +294,7 @@ void CollectVariablesTraverser::setBuiltInInfoFromSymbol(const TVariable &variab info->name = variable.name().data(); info->mappedName = variable.name().data(); - bool isShaderIOBlock = - IsShaderIoBlock(type.getQualifier()) && type.getInterfaceBlock() != nullptr; - bool isPatch = - type.getQualifier() == EvqTessLevelInner || type.getQualifier() == EvqTessLevelOuter; - - setFieldOrVariableProperties(type, true, isShaderIOBlock, isPatch, info); + setFieldOrVariableProperties(type, true, info); } void CollectVariablesTraverser::recordBuiltInVaryingUsed(const TVariable &variable, @@ -384,6 +341,24 @@ void CollectVariablesTraverser::recordBuiltInAttributeUsed(const TVariable &vari } } +InterfaceBlock *CollectVariablesTraverser::recordGLInUsed(const TType &glInType) +{ + if (!mPerVertexInAdded) + { + ASSERT(glInType.getQualifier() == EvqPerVertexIn); + InterfaceBlock info; + recordInterfaceBlock("gl_in", glInType, &info); + + mPerVertexInAdded = true; + mInBlocks->push_back(info); + return &mInBlocks->back(); + } + else + { + return FindVariable(ImmutableString("gl_PerVertex"), mInBlocks); + } +} + bool CollectVariablesTraverser::visitGlobalQualifierDeclaration( Visit visit, TIntermGlobalQualifierDeclaration *node) @@ -413,30 +388,15 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) // Check the qualifier from the variable, not from the symbol node. The node may have a // different qualifier if it's the result of a folded ternary node. - TQualifier qualifier = symbol->variable().getType().getQualifier(); - const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock(); + TQualifier qualifier = symbol->variable().getType().getQualifier(); if (IsVaryingIn(qualifier)) { - if (interfaceBlock) - { - var = FindShaderIOBlockVariable(interfaceBlock->name(), mInputVaryings); - } - else - { - var = FindVariable(symbolName, mInputVaryings); - } + var = FindVariable(symbolName, mInputVaryings); } else if (IsVaryingOut(qualifier)) { - if (interfaceBlock) - { - var = FindShaderIOBlockVariable(interfaceBlock->name(), mOutputVaryings); - } - else - { - var = FindVariable(symbolName, mOutputVaryings); - } + var = FindVariable(symbolName, mOutputVaryings); } else if (symbol->getType().getBasicType() == EbtInterfaceBlock) { @@ -489,48 +449,6 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) mDepthRangeAdded = true; } } - else if (symbolName == "gl_NumSamples") - { - ASSERT(qualifier == EvqUniform); - - if (!mNumSamplesAdded) - { - ShaderVariable info; - const char kName[] = "gl_NumSamples"; - info.name = kName; - info.mappedName = kName; - info.type = GL_INT; - info.precision = GL_LOW_INT; - info.staticUse = true; - info.active = true; - - mUniforms->push_back(info); - mNumSamplesAdded = true; - } - } - else if (symbolName == "gl_LastFragData" && qualifier == EvqGlobal) - { - // If gl_LastFragData is redeclared, the qualifier of redeclaration is EvqGlobal, and it - // makes "gl_LastFragData" can't be collected in this function. That's because - // "gl_LastFragData" is redeclared like below. E.g., "highp vec4 - // gl_LastFragData[gl_MaxDrawBuffers];" So, if gl_LastFragData can be parsed with a correct - // qualifier in PasreContext.cpp, this code isn't needed. - if (!mLastFragDataAdded) - { - ShaderVariable info; - - const TType &type = symbol->getType(); - - info.name = symbolName.data(); - info.mappedName = symbolName.data(); - setFieldOrVariableProperties(type, true, false, false, &info); - info.active = true; - - mInputVaryings->push_back(info); - mLastFragDataAdded = true; - } - return; - } else { switch (qualifier) @@ -540,11 +458,11 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) var = FindVariable(symbolName, mAttribs); break; case EvqFragmentOut: - case EvqFragmentInOut: var = FindVariable(symbolName, mOutputVariables); break; case EvqUniform: { + const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock(); if (interfaceBlock) { var = FindVariableInInterfaceBlock(symbolName, interfaceBlock, mUniformBlocks); @@ -560,6 +478,7 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) break; case EvqBuffer: { + const TInterfaceBlock *interfaceBlock = symbol->getType().getInterfaceBlock(); var = FindVariableInInterfaceBlock(symbolName, interfaceBlock, mShaderStorageBlocks); } @@ -611,6 +530,12 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) case EvqDrawID: recordBuiltInAttributeUsed(symbol->variable(), &mDrawIDAdded); return; + case EvqBaseVertex: + recordBuiltInAttributeUsed(symbol->variable(), &mBaseVertexAdded); + return; + case EvqBaseInstance: + recordBuiltInAttributeUsed(symbol->variable(), &mBaseInstanceAdded); + return; case EvqLastFragData: recordBuiltInVaryingUsed(symbol->variable(), &mLastFragDataAdded, mInputVaryings); return; @@ -658,9 +583,7 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) } else { - ASSERT(mShaderType == GL_FRAGMENT_SHADER || - mShaderType == GL_TESS_CONTROL_SHADER || - mShaderType == GL_TESS_EVALUATION_SHADER); + ASSERT(mShaderType == GL_FRAGMENT_SHADER); recordBuiltInVaryingUsed(symbol->variable(), &mPrimitiveIDAdded, mInputVaryings); } @@ -691,54 +614,6 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) case EvqClipDistance: recordBuiltInVaryingUsed(symbol->variable(), &mClipDistanceAdded, mOutputVaryings); return; - case EvqSampleID: - recordBuiltInVaryingUsed(symbol->variable(), &mSampleIDAdded, mInputVaryings); - return; - case EvqSamplePosition: - recordBuiltInVaryingUsed(symbol->variable(), &mSamplePositionAdded, mInputVaryings); - return; - case EvqSampleMaskIn: - recordBuiltInVaryingUsed(symbol->variable(), &mSampleMaskInAdded, mInputVaryings); - return; - case EvqSampleMask: - recordBuiltInFragmentOutputUsed(symbol->variable(), &mSampleMaskAdded); - return; - case EvqCullDistance: - recordBuiltInVaryingUsed(symbol->variable(), &mCullDistanceAdded, mOutputVaryings); - return; - case EvqPatchVerticesIn: - recordBuiltInVaryingUsed(symbol->variable(), &mPatchVerticesInAdded, - mInputVaryings); - break; - case EvqTessCoord: - recordBuiltInVaryingUsed(symbol->variable(), &mTessCoordAdded, mInputVaryings); - break; - case EvqTessLevelOuter: - if (mShaderType == GL_TESS_CONTROL_SHADER) - { - recordBuiltInVaryingUsed(symbol->variable(), &mTessLevelOuterAdded, - mOutputVaryings); - } - else - { - ASSERT(mShaderType == GL_TESS_EVALUATION_SHADER); - recordBuiltInVaryingUsed(symbol->variable(), &mTessLevelOuterAdded, - mInputVaryings); - } - break; - case EvqTessLevelInner: - if (mShaderType == GL_TESS_CONTROL_SHADER) - { - recordBuiltInVaryingUsed(symbol->variable(), &mTessLevelInnerAdded, - mOutputVaryings); - } - else - { - ASSERT(mShaderType == GL_TESS_EVALUATION_SHADER); - recordBuiltInVaryingUsed(symbol->variable(), &mTessLevelInnerAdded, - mInputVaryings); - } - break; default: break; } @@ -751,25 +626,25 @@ void CollectVariablesTraverser::visitSymbol(TIntermSymbol *symbol) void CollectVariablesTraverser::setFieldOrVariableProperties(const TType &type, bool staticUse, - bool isShaderIOBlock, - bool isPatch, ShaderVariable *variableOut) const { ASSERT(variableOut); - variableOut->staticUse = staticUse; - variableOut->isShaderIOBlock = isShaderIOBlock; - variableOut->isPatch = isPatch; + variableOut->staticUse = staticUse; - const TStructure *structure = type.getStruct(); - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - if (structure) + const TStructure *structure = type.getStruct(); + if (!structure) + { + variableOut->type = GLVariableType(type); + variableOut->precision = GLVariablePrecision(type); + } + else { // Structures use a NONE type that isn't exposed outside ANGLE. variableOut->type = GL_NONE; if (structure->symbolType() != SymbolType::Empty) { - variableOut->structOrBlockName = structure->name().data(); + variableOut->structName = structure->name().data(); } const TFieldList &fields = structure->fields(); @@ -779,73 +654,24 @@ void CollectVariablesTraverser::setFieldOrVariableProperties(const TType &type, // Regardless of the variable type (uniform, in/out etc.) its fields are always plain // ShaderVariable objects. ShaderVariable fieldVariable; - setFieldProperties(*field->type(), field->name(), staticUse, isShaderIOBlock, isPatch, - &fieldVariable); + setFieldProperties(*field->type(), field->name(), staticUse, &fieldVariable); variableOut->fields.push_back(fieldVariable); } } - else if (interfaceBlock && isShaderIOBlock) - { - variableOut->type = GL_NONE; - if (interfaceBlock->symbolType() != SymbolType::Empty) - { - variableOut->structOrBlockName = interfaceBlock->name().data(); - variableOut->mappedStructOrBlockName = - HashName(interfaceBlock->name(), mHashFunction, nullptr).data(); - } - const TFieldList &fields = interfaceBlock->fields(); - for (const TField *field : fields) - { - ShaderVariable fieldVariable; - setFieldProperties(*field->type(), field->name(), staticUse, true, isPatch, - &fieldVariable); - fieldVariable.isShaderIOBlock = true; - variableOut->fields.push_back(fieldVariable); - } - } - else - { - variableOut->type = GLVariableType(type); - variableOut->precision = GLVariablePrecision(type); - } - const TSpan &arraySizes = type.getArraySizes(); if (!arraySizes.empty()) { variableOut->arraySizes.assign(arraySizes.begin(), arraySizes.end()); - - if (arraySizes[0] == 0) - { - // Tessellation Control & Evaluation shader inputs: - // Declaring an array size is optional. If no size is specified, it will be taken from - // the implementation-dependent maximum patch size (gl_MaxPatchVertices). - if (type.getQualifier() == EvqTessControlIn || - type.getQualifier() == EvqTessEvaluationIn) - { - variableOut->arraySizes[0] = mResources.MaxPatchVertices; - } - - // Tessellation Control shader outputs: - // Declaring an array size is optional. If no size is specified, it will be taken from - // output patch size declared in the shader. - if (type.getQualifier() == EvqTessControlOut) - { - ASSERT(mTessControlShaderOutputVertices > 0); - variableOut->arraySizes[0] = mTessControlShaderOutputVertices; - } - } } } void CollectVariablesTraverser::setFieldProperties(const TType &type, const ImmutableString &name, bool staticUse, - bool isShaderIOBlock, - bool isPatch, ShaderVariable *variableOut) const { ASSERT(variableOut); - setFieldOrVariableProperties(type, staticUse, isShaderIOBlock, isPatch, variableOut); + setFieldOrVariableProperties(type, staticUse, variableOut); variableOut->name.assign(name.data(), name.length()); variableOut->mappedName = HashName(name, mHashFunction, nullptr).data(); } @@ -855,37 +681,12 @@ void CollectVariablesTraverser::setCommonVariableProperties(const TType &type, ShaderVariable *variableOut) const { ASSERT(variableOut); - ASSERT(type.getInterfaceBlock() == nullptr || IsShaderIoBlock(type.getQualifier()) || - type.getQualifier() == EvqPatchIn || type.getQualifier() == EvqPatchOut); - const bool staticUse = mSymbolTable->isStaticallyUsed(variable); - const bool isShaderIOBlock = type.getInterfaceBlock() != nullptr; - const bool isPatch = type.getQualifier() == EvqPatchIn || type.getQualifier() == EvqPatchOut; - - setFieldOrVariableProperties(type, staticUse, isShaderIOBlock, isPatch, variableOut); - - const bool isNamed = variable.symbolType() != SymbolType::Empty; - - ASSERT(isNamed || isShaderIOBlock); - if (isNamed) - { - variableOut->name.assign(variable.name().data(), variable.name().length()); - variableOut->mappedName = getMappedName(&variable); - } - - // For I/O blocks, additionally store the name of the block as blockName. If the variable is - // unnamed, this name will be used instead for the purpose of interface matching. - if (isShaderIOBlock) - { - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - ASSERT(interfaceBlock); - - variableOut->structOrBlockName.assign(interfaceBlock->name().data(), - interfaceBlock->name().length()); - variableOut->mappedStructOrBlockName = - HashName(interfaceBlock->name(), mHashFunction, nullptr).data(); - variableOut->isShaderIOBlock = true; - } + variableOut->staticUse = mSymbolTable->isStaticallyUsed(variable); + setFieldOrVariableProperties(type, variableOut->staticUse, variableOut); + ASSERT(variable.symbolType() != SymbolType::Empty); + variableOut->name.assign(variable.name().data(), variable.name().length()); + variableOut->mappedName = getMappedName(&variable); } ShaderVariable CollectVariablesTraverser::recordAttribute(const TIntermSymbol &variable) const @@ -910,7 +711,6 @@ ShaderVariable CollectVariablesTraverser::recordOutputVariable(const TIntermSymb outputVariable.location = type.getLayoutQualifier().location; outputVariable.index = type.getLayoutQualifier().index; - outputVariable.yuv = type.getLayoutQualifier().yuv; return outputVariable; } @@ -938,64 +738,15 @@ ShaderVariable CollectVariablesTraverser::recordVarying(const TIntermSymbol &var varying.isInvariant = true; } break; - case EvqPatchIn: - case EvqPatchOut: - varying.isPatch = true; - break; default: break; } varying.interpolation = GetInterpolationType(type.getQualifier()); - - // Shader I/O block properties - if (type.getBasicType() == EbtInterfaceBlock) - { - bool isBlockImplicitLocation = false; - int location = type.getLayoutQualifier().location; - - // when a interface has not location in layout, assign to the zero. - if (location < 0) - { - location = 0; - isBlockImplicitLocation = true; - } - - const TInterfaceBlock *blockType = type.getInterfaceBlock(); - ASSERT(blockType->fields().size() == varying.fields.size()); - - for (size_t fieldIndex = 0; fieldIndex < varying.fields.size(); ++fieldIndex) - { - const TField *blockField = blockType->fields()[fieldIndex]; - ShaderVariable &fieldVariable = varying.fields[fieldIndex]; - const TType &fieldType = *blockField->type(); - - fieldVariable.hasImplicitLocation = isBlockImplicitLocation; - fieldVariable.isPatch = varying.isPatch; - - int fieldLocation = fieldType.getLayoutQualifier().location; - if (fieldLocation >= 0) - { - fieldVariable.hasImplicitLocation = false; - fieldVariable.location = fieldLocation; - location = fieldLocation; - } - else - { - fieldVariable.location = location; - location += fieldType.getLocationCount(); - } - - if (fieldType.getQualifier() != EvqGlobal) - { - fieldVariable.interpolation = GetFieldInterpolationType(fieldType.getQualifier()); - } - } - } - return varying; } +// TODO(jiawei.shao@intel.com): implement GL_EXT_shader_io_blocks. void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, const TType &interfaceBlockType, InterfaceBlock *interfaceBlock) const @@ -1008,13 +759,11 @@ void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, interfaceBlock->name = blockType->name().data(); interfaceBlock->mappedName = getMappedName(blockType); - - const bool isGLInBuiltin = (instanceName != nullptr) && strncmp(instanceName, "gl_in", 5u) == 0; if (instanceName != nullptr) { interfaceBlock->instanceName = instanceName; const TSymbol *blockSymbol = nullptr; - if (isGLInBuiltin) + if (strncmp(instanceName, "gl_in", 5u) == 0) { blockSymbol = mSymbolTable->getGlInVariableWithArraySize(); } @@ -1026,7 +775,6 @@ void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, interfaceBlock->staticUse = mSymbolTable->isStaticallyUsed(*static_cast(blockSymbol)); } - ASSERT(!interfaceBlockType.isArrayOfArrays()); // Disallowed by GLSL ES 3.10 section 4.3.9 interfaceBlock->arraySize = interfaceBlockType.isArray() ? interfaceBlockType.getOutermostArraySize() : 0; @@ -1043,7 +791,6 @@ void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, // Gather field information bool anyFieldStaticallyUsed = false; - for (const TField *field : blockType->fields()) { const TType &fieldType = *field->type(); @@ -1064,7 +811,7 @@ void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, } ShaderVariable fieldVariable; - setFieldProperties(fieldType, field->name(), staticUse, false, false, &fieldVariable); + setFieldProperties(fieldType, field->name(), staticUse, &fieldVariable); fieldVariable.isRowMajorLayout = (fieldType.getLayoutQualifier().matrixPacking == EmpRowMajor); interfaceBlock->fields.push_back(fieldVariable); @@ -1098,8 +845,8 @@ bool CollectVariablesTraverser::visitDeclaration(Visit, TIntermDeclaration *node TQualifier qualifier = typedNode.getQualifier(); bool isShaderVariable = qualifier == EvqAttribute || qualifier == EvqVertexIn || - qualifier == EvqFragmentOut || qualifier == EvqFragmentInOut || - qualifier == EvqUniform || IsVarying(qualifier); + qualifier == EvqFragmentOut || qualifier == EvqUniform || + IsVarying(qualifier); if (typedNode.getBasicType() != EbtInterfaceBlock && !isShaderVariable) { @@ -1119,21 +866,15 @@ bool CollectVariablesTraverser::visitDeclaration(Visit, TIntermDeclaration *node continue; } - // SpirvTransformer::transform uses a map of ShaderVariables, it needs member variables and - // (named or unnamed) structure as ShaderVariable. at link between two shaders, validation - // between of named and unnamed, needs the same structure, its members, and members order - // except instance name. - if (typedNode.getBasicType() == EbtInterfaceBlock && !IsShaderIoBlock(qualifier) && - qualifier != EvqPatchIn && qualifier != EvqPatchOut) + // TODO(jiawei.shao@intel.com): implement GL_EXT_shader_io_blocks. + if (typedNode.getBasicType() == EbtInterfaceBlock) { InterfaceBlock interfaceBlock; - bool isUnnamed = variable.variable().symbolType() == SymbolType::Empty; - const TType &type = variable.getType(); - recordInterfaceBlock(isUnnamed ? nullptr : variable.getName().data(), type, - &interfaceBlock); + recordInterfaceBlock(variable.variable().symbolType() != SymbolType::Empty + ? variable.getName().data() + : nullptr, + variable.getType(), &interfaceBlock); - // all fields in interface block will be added for updating interface variables because - // the temporal structure variable will be ignored. switch (qualifier) { case EvqUniform: @@ -1148,9 +889,7 @@ bool CollectVariablesTraverser::visitDeclaration(Visit, TIntermDeclaration *node } else { - ASSERT(variable.variable().symbolType() != SymbolType::Empty || - IsShaderIoBlock(qualifier) || qualifier == EvqPatchIn || - qualifier == EvqPatchOut); + ASSERT(variable.variable().symbolType() != SymbolType::Empty); switch (qualifier) { case EvqAttribute: @@ -1158,7 +897,6 @@ bool CollectVariablesTraverser::visitDeclaration(Visit, TIntermDeclaration *node mAttribs->push_back(recordAttribute(variable)); break; case EvqFragmentOut: - case EvqFragmentInOut: mOutputVariables->push_back(recordOutputVariable(variable)); break; case EvqUniform: @@ -1184,6 +922,8 @@ bool CollectVariablesTraverser::visitDeclaration(Visit, TIntermDeclaration *node return false; } +// TODO(jiawei.shao@intel.com): add search on mInBlocks and mOutBlocks when implementing +// GL_EXT_shader_io_blocks. InterfaceBlock *CollectVariablesTraverser::findNamedInterfaceBlock( const ImmutableString &blockName) const { @@ -1212,63 +952,37 @@ bool CollectVariablesTraverser::visitBinary(Visit, TIntermBinary *binaryNode) TIntermBinary *interfaceIndexingNode = blockNode->getAsBinaryNode(); if (interfaceIndexingNode) { - ASSERT(interfaceIndexingNode->getOp() == EOpIndexDirect || - interfaceIndexingNode->getOp() == EOpIndexIndirect); - traverseIndexExpression = true; - blockNode = interfaceIndexingNode->getLeft(); - } + TIntermTyped *interfaceNode = interfaceIndexingNode->getLeft()->getAsTyped(); + ASSERT(interfaceNode); - const TType &interfaceNodeType = blockNode->getType(); - const TInterfaceBlock *interfaceBlock = interfaceNodeType.getInterfaceBlock(); - const TQualifier qualifier = interfaceNodeType.getQualifier(); - - // If it's a shader I/O block, look in varyings - ShaderVariable *ioBlockVar = nullptr; - if (qualifier == EvqPerVertexIn) - { - TIntermSymbol *symbolNode = blockNode->getAsSymbolNode(); - ASSERT(symbolNode); - recordBuiltInVaryingUsed(symbolNode->variable(), &mPerVertexInAdded, mInputVaryings); - ioBlockVar = FindShaderIOBlockVariable(interfaceBlock->name(), mInputVaryings); - } - else if (IsVaryingIn(qualifier)) - { - ioBlockVar = FindShaderIOBlockVariable(interfaceBlock->name(), mInputVaryings); - } - else if (qualifier == EvqPerVertexOut) - { - TIntermSymbol *symbolNode = blockNode->getAsSymbolNode(); - ASSERT(symbolNode); - recordBuiltInVaryingUsed(symbolNode->variable(), &mPerVertexOutAdded, mOutputVaryings); - ioBlockVar = FindShaderIOBlockVariable(interfaceBlock->name(), mOutputVaryings); - } - else if (IsVaryingOut(qualifier)) - { - ioBlockVar = FindShaderIOBlockVariable(interfaceBlock->name(), mOutputVaryings); - } - - if (ioBlockVar) - { - MarkActive(ioBlockVar); - } - else - { - if (!namedBlock) + const TType &interfaceType = interfaceNode->getType(); + if (interfaceType.getQualifier() == EvqPerVertexIn) { - namedBlock = findNamedInterfaceBlock(interfaceBlock->name()); + namedBlock = recordGLInUsed(interfaceType); + ASSERT(namedBlock); } - ASSERT(namedBlock); - ASSERT(namedBlock->staticUse); - namedBlock->active = true; - unsigned int fieldIndex = static_cast(constantUnion->getIConst(0)); - ASSERT(fieldIndex < namedBlock->fields.size()); - // TODO(oetuaho): Would be nicer to record static use of fields of named interface - // blocks more accurately at parse time - now we only mark the fields statically used if - // they are active. http://anglebug.com/2440 We need to mark this field and all of its - // sub-fields, as static/active - MarkActive(&namedBlock->fields[fieldIndex]); + + // We need to continue traversing to collect useful variables in the index expression + // of the interface block array or gl_in in the case of the if above. + traverseIndexExpression = true; } + const TInterfaceBlock *interfaceBlock = blockNode->getType().getInterfaceBlock(); + if (!namedBlock) + { + namedBlock = findNamedInterfaceBlock(interfaceBlock->name()); + } + ASSERT(namedBlock); + ASSERT(namedBlock->staticUse); + namedBlock->active = true; + unsigned int fieldIndex = static_cast(constantUnion->getIConst(0)); + ASSERT(fieldIndex < namedBlock->fields.size()); + // TODO(oetuaho): Would be nicer to record static use of fields of named interface blocks + // more accurately at parse time - now we only mark the fields statically used if they are + // active. http://anglebug.com/2440 + // We need to mark this field and all of its sub-fields, as static/active + MarkActive(&namedBlock->fields[fieldIndex]); + if (traverseIndexExpression) { ASSERT(interfaceIndexingNode); @@ -1291,17 +1005,16 @@ void CollectVariables(TIntermBlock *root, std::vector *sharedVariables, std::vector *uniformBlocks, std::vector *shaderStorageBlocks, + std::vector *inBlocks, ShHashFunction64 hashFunction, TSymbolTable *symbolTable, GLenum shaderType, - const TExtensionBehavior &extensionBehavior, - const ShBuiltInResources &resources, - int tessControlShaderOutputVertices) + const TExtensionBehavior &extensionBehavior) { - CollectVariablesTraverser collect( - attributes, outputVariables, uniforms, inputVaryings, outputVaryings, sharedVariables, - uniformBlocks, shaderStorageBlocks, hashFunction, symbolTable, shaderType, - extensionBehavior, resources, tessControlShaderOutputVertices); + CollectVariablesTraverser collect(attributes, outputVariables, uniforms, inputVaryings, + outputVaryings, sharedVariables, uniformBlocks, + shaderStorageBlocks, inBlocks, hashFunction, symbolTable, + shaderType, extensionBehavior); root->traverse(&collect); } diff --git a/gfx/angle/checkout/src/compiler/translator/CollectVariables.h b/gfx/angle/checkout/src/compiler/translator/CollectVariables.h index 6ea4b172a05e..e0d80b16c7ed 100644 --- a/gfx/angle/checkout/src/compiler/translator/CollectVariables.h +++ b/gfx/angle/checkout/src/compiler/translator/CollectVariables.h @@ -27,12 +27,11 @@ void CollectVariables(TIntermBlock *root, std::vector *sharedVariables, std::vector *uniformBlocks, std::vector *shaderStorageBlocks, + std::vector *inBlocks, ShHashFunction64 hashFunction, TSymbolTable *symbolTable, GLenum shaderType, - const TExtensionBehavior &extensionBehavior, - const ShBuiltInResources &resources, - int tessControlShaderOutputVertices); + const TExtensionBehavior &extensionBehavior); } // namespace sh #endif // COMPILER_TRANSLATOR_COLLECTVARIABLES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/Common.h b/gfx/angle/checkout/src/compiler/translator/Common.h index 0b839adfad24..835c90a3572c 100644 --- a/gfx/angle/checkout/src/compiler/translator/Common.h +++ b/gfx/angle/checkout/src/compiler/translator/Common.h @@ -52,10 +52,11 @@ typedef std::basic_string, TStringAllocator> TStrin typedef std::basic_ostringstream, TStringAllocator> TStringStream; // -// Persistent memory. Should only be used for strings that survive across compiles. +// Persistent string memory. Should only be used for strings that survive +// across compiles. // -using TPersistString = std::string; -using TPersistStringStream = std::ostringstream; +#define TPersistString std::string +#define TPersistStringStream std::ostringstream // // Pool allocator versions of vectors, lists, and maps diff --git a/gfx/angle/checkout/src/compiler/translator/Compiler.cpp b/gfx/angle/checkout/src/compiler/translator/Compiler.cpp index 86621b469c1d..34d8e121b6b7 100644 --- a/gfx/angle/checkout/src/compiler/translator/Compiler.cpp +++ b/gfx/angle/checkout/src/compiler/translator/Compiler.cpp @@ -16,41 +16,39 @@ #include "compiler/translator/IsASTDepthBelowLimit.h" #include "compiler/translator/OutputTree.h" #include "compiler/translator/ParseContext.h" -#include "compiler/translator/ValidateBarrierFunctionCall.h" -#include "compiler/translator/ValidateClipCullDistance.h" #include "compiler/translator/ValidateLimitations.h" #include "compiler/translator/ValidateMaxParameters.h" #include "compiler/translator/ValidateOutputs.h" #include "compiler/translator/ValidateVaryingLocations.h" #include "compiler/translator/VariablePacker.h" +#include "compiler/translator/tree_ops/AddAndTrueToLoopCondition.h" +#include "compiler/translator/tree_ops/ClampFragDepth.h" #include "compiler/translator/tree_ops/ClampPointSize.h" #include "compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.h" #include "compiler/translator/tree_ops/DeferGlobalInitializers.h" +#include "compiler/translator/tree_ops/EarlyFragmentTestsOptimization.h" #include "compiler/translator/tree_ops/EmulateGLFragColorBroadcast.h" #include "compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.h" #include "compiler/translator/tree_ops/EmulatePrecision.h" #include "compiler/translator/tree_ops/FoldExpressions.h" -#include "compiler/translator/tree_ops/ForcePrecisionQualifier.h" #include "compiler/translator/tree_ops/InitializeVariables.h" #include "compiler/translator/tree_ops/PruneEmptyCases.h" #include "compiler/translator/tree_ops/PruneNoOps.h" +#include "compiler/translator/tree_ops/RegenerateStructNames.h" #include "compiler/translator/tree_ops/RemoveArrayLengthMethod.h" #include "compiler/translator/tree_ops/RemoveDynamicIndexing.h" #include "compiler/translator/tree_ops/RemoveInvariantDeclaration.h" +#include "compiler/translator/tree_ops/RemovePow.h" #include "compiler/translator/tree_ops/RemoveUnreferencedVariables.h" +#include "compiler/translator/tree_ops/RewriteDoWhile.h" +#include "compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.h" #include "compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.h" #include "compiler/translator/tree_ops/SeparateDeclarations.h" #include "compiler/translator/tree_ops/SimplifyLoopConditions.h" #include "compiler/translator/tree_ops/SplitSequenceOperator.h" -#include "compiler/translator/tree_ops/gl/ClampFragDepth.h" -#include "compiler/translator/tree_ops/gl/RegenerateStructNames.h" -#include "compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h" -#include "compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h" -#include "compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.h" -#include "compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.h" -#include "compiler/translator/tree_ops/gl/mac/RewriteDoWhile.h" -#include "compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.h" -#include "compiler/translator/tree_ops/vulkan/EarlyFragmentTestsOptimization.h" +#include "compiler/translator/tree_ops/UnfoldShortCircuitAST.h" +#include "compiler/translator/tree_ops/UseInterfaceBlockFields.h" +#include "compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.h" #include "compiler/translator/tree_util/BuiltIn.h" #include "compiler/translator/tree_util/IntermNodePatternMatcher.h" #include "compiler/translator/tree_util/ReplaceShadowingVariables.h" @@ -220,8 +218,6 @@ int GetMaxShaderVersionForSpec(ShShaderSpec spec) case SH_GLES3_1_SPEC: case SH_WEBGL3_SPEC: return 310; - case SH_GLES3_2_SPEC: - return 320; case SH_GL_CORE_SPEC: case SH_GL_COMPATIBILITY_SPEC: return 460; @@ -305,11 +301,6 @@ TCompiler::TCompiler(sh::GLenum type, ShShaderSpec spec, ShShaderOutput output) mGeometryShaderInvocations(0), mGeometryShaderInputPrimitiveType(EptUndefined), mGeometryShaderOutputPrimitiveType(EptUndefined), - mTessControlShaderOutputVertices(0), - mTessEvaluationShaderInputPrimitiveType(EtetUndefined), - mTessEvaluationShaderInputVertexSpacingType(EtetUndefined), - mTessEvaluationShaderInputOrderingType(EtetUndefined), - mTessEvaluationShaderInputPointType(EtetUndefined), mCompileOptions(0) {} @@ -321,7 +312,7 @@ bool TCompiler::shouldRunLoopAndIndexingValidation(ShCompileOptions compileOptio // validate loop and indexing as well (to verify that the shader only uses minimal functionality // of ESSL 1.00 as in Appendix A of the spec). return (IsWebGLBasedSpec(mShaderSpec) && mShaderVersion == 100) || - (compileOptions & SH_VALIDATE_LOOP_INDEXING) != 0; + (compileOptions & SH_VALIDATE_LOOP_INDEXING); } bool TCompiler::Init(const ShBuiltInResources &resources) @@ -364,7 +355,7 @@ TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], // If gl_DrawID is not supported, remove it from the available extensions // Currently we only allow emulation of gl_DrawID - const bool glDrawIDSupported = (compileOptions & SH_EMULATE_GL_DRAW_ID) != 0; + const bool glDrawIDSupported = (compileOptions & SH_EMULATE_GL_DRAW_ID) != 0u; if (!glDrawIDSupported) { auto it = mExtensionBehavior.find(TExtension::ANGLE_multi_draw); @@ -375,7 +366,7 @@ TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], } const bool glBaseVertexBaseInstanceSupported = - (compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0; + (compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0u; if (!glBaseVertexBaseInstanceSupported) { auto it = mExtensionBehavior.find(TExtension::ANGLE_base_vertex_base_instance); @@ -387,7 +378,7 @@ TIntermBlock *TCompiler::compileTreeImpl(const char *const shaderStrings[], // First string is path of source file if flag is set. The actual source follows. size_t firstSource = 0; - if ((compileOptions & SH_SOURCE_PATH) != 0) + if (compileOptions & SH_SOURCE_PATH) { mSourcePath = shaderStrings[0]; ++firstSource; @@ -458,8 +449,9 @@ bool TCompiler::checkShaderVersion(TParseContext *parseContext) "Geometry shader is not supported in this shader version."); return false; } - else if (mShaderVersion == 310) + else { + ASSERT(mShaderVersion == 310); if (!parseContext->checkCanUseExtension(sh::TSourceLoc(), TExtension::EXT_geometry_shader)) { @@ -468,24 +460,6 @@ bool TCompiler::checkShaderVersion(TParseContext *parseContext) } break; - case GL_TESS_CONTROL_SHADER_EXT: - case GL_TESS_EVALUATION_SHADER_EXT: - if (mShaderVersion < 310) - { - mDiagnostics.globalError( - "Tessellation shaders are not supported in this shader version."); - return false; - } - else if (mShaderVersion == 310) - { - if (!parseContext->checkCanUseExtension(sh::TSourceLoc(), - TExtension::EXT_tessellation_shader)) - { - return false; - } - } - break; - default: break; } @@ -514,20 +488,6 @@ void TCompiler::setASTMetadata(const TParseContext &parseContext) mGeometryShaderMaxVertices = parseContext.getGeometryShaderMaxVertices(); mGeometryShaderInvocations = parseContext.getGeometryShaderInvocations(); } - if (mShaderType == GL_TESS_CONTROL_SHADER_EXT) - { - mTessControlShaderOutputVertices = parseContext.getTessControlShaderOutputVertices(); - } - if (mShaderType == GL_TESS_EVALUATION_SHADER_EXT) - { - mTessEvaluationShaderInputPrimitiveType = - parseContext.getTessEvaluationShaderInputPrimitiveType(); - mTessEvaluationShaderInputVertexSpacingType = - parseContext.getTessEvaluationShaderInputVertexSpacingType(); - mTessEvaluationShaderInputOrderingType = - parseContext.getTessEvaluationShaderInputOrderingType(); - mTessEvaluationShaderInputPointType = parseContext.getTessEvaluationShaderInputPointType(); - } } unsigned int TCompiler::getSharedMemorySize() const @@ -547,12 +507,6 @@ bool TCompiler::validateAST(TIntermNode *root) { bool valid = ValidateAST(root, &mDiagnostics, mValidateASTOptions); -#if defined(ANGLE_ENABLE_ASSERTS) - if (!valid) - { - fprintf(stderr, "AST validation error(s):\n%s\n", mInfoSink.info.c_str()); - } -#endif // In debug, assert validation. In release, validation errors will be returned back to the // application as internal ANGLE errors. ASSERT(valid); @@ -566,14 +520,8 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, const TParseContext &parseContext, ShCompileOptions compileOptions) { - mValidateASTOptions = {}; - if (!validateAST(root)) - { - return false; - } - // Disallow expressions deemed too complex. - if ((compileOptions & SH_LIMIT_EXPRESSION_COMPLEXITY) != 0 && !limitExpressionComplexity(root)) + if ((compileOptions & SH_LIMIT_EXPRESSION_COMPLEXITY) && !limitExpressionComplexity(root)) { return false; } @@ -611,11 +559,10 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } // We need to generate globals early if we have non constant initializers enabled - bool initializeLocalsAndGlobals = (compileOptions & SH_INITIALIZE_UNINITIALIZED_LOCALS) != 0 && - !IsOutputHLSL(getOutputType()); - bool canUseLoopsToInitialize = - (compileOptions & SH_DONT_USE_LOOPS_TO_INITIALIZE_VARIABLES) == 0; - bool highPrecisionSupported = mShaderVersion > 100 || mShaderType != GL_FRAGMENT_SHADER || + bool initializeLocalsAndGlobals = + (compileOptions & SH_INITIALIZE_UNINITIALIZED_LOCALS) && !IsOutputHLSL(getOutputType()); + bool canUseLoopsToInitialize = !(compileOptions & SH_DONT_USE_LOOPS_TO_INITIALIZE_VARIABLES); + bool highPrecisionSupported = mShaderVersion > 100 || mShaderType != GL_FRAGMENT_SHADER || mResources.FragmentPrecisionHigh == 1; bool enableNonConstantInitializers = IsExtensionEnabled( mExtensionBehavior, TExtension::EXT_shader_non_constant_global_initializers); @@ -632,7 +579,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, return false; } - if ((compileOptions & SH_LIMIT_CALL_STACK_DEPTH) != 0 && !checkCallDepth()) + if ((compileOptions & SH_LIMIT_CALL_STACK_DEPTH) && !checkCallDepth()) { return false; } @@ -645,7 +592,10 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, return false; } - pruneUnusedFunctions(root); + if (!(compileOptions & SH_DONT_PRUNE_UNUSED_FUNCTIONS)) + { + pruneUnusedFunctions(root); + } if (IsSpecWithFunctionBodyNewScope(mShaderSpec, mShaderVersion)) { if (!ReplaceShadowingVariables(this, root, &mSymbolTable)) @@ -665,11 +615,6 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, return false; } - if (mShaderType == GL_TESS_CONTROL_SHADER && !ValidateBarrierFunctionCall(root, &mDiagnostics)) - { - return false; - } - // Fail compilation if precision emulation not supported. if (getResources().WEBGL_debug_shader_precision && getPragma().debugShaderPrecision && !EmulatePrecision::SupportedInLanguage(mOutputType)) @@ -678,22 +623,13 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, return false; } - if (parseContext.isExtensionEnabled(TExtension::EXT_clip_cull_distance)) - { - if (!ValidateClipCullDistance(root, &mDiagnostics, - mResources.MaxCombinedClipAndCullDistances)) - { - return false; - } - } - // Clamping uniform array bounds needs to happen after validateLimitations pass. - if ((compileOptions & SH_CLAMP_INDIRECT_ARRAY_BOUNDS) != 0) + if (compileOptions & SH_CLAMP_INDIRECT_ARRAY_BOUNDS) { mArrayBoundsClamper.MarkIndirectArrayBoundsForClamping(root); } - if ((compileOptions & SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW) != 0 && + if ((compileOptions & SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW) && (parseContext.isExtensionEnabled(TExtension::OVR_multiview2) || parseContext.isExtensionEnabled(TExtension::OVR_multiview)) && getShaderType() != GL_COMPUTE_SHADER) @@ -706,7 +642,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } // This pass might emit short circuits so keep it before the short circuit unfolding - if ((compileOptions & SH_REWRITE_DO_WHILE_LOOPS) != 0) + if (compileOptions & SH_REWRITE_DO_WHILE_LOOPS) { if (!RewriteDoWhile(this, root, &mSymbolTable)) { @@ -714,7 +650,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_ADD_AND_TRUE_TO_LOOP_CONDITION) != 0) + if (compileOptions & SH_ADD_AND_TRUE_TO_LOOP_CONDITION) { if (!AddAndTrueToLoopCondition(this, root)) { @@ -722,7 +658,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_UNFOLD_SHORT_CIRCUIT) != 0) + if (compileOptions & SH_UNFOLD_SHORT_CIRCUIT) { if (!UnfoldShortCircuitAST(this, root)) { @@ -730,9 +666,19 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_REGENERATE_STRUCT_NAMES) != 0) + if (compileOptions & SH_REMOVE_POW_WITH_CONSTANT_EXPONENT) { - if (!RegenerateStructNames(this, root, &mSymbolTable)) + if (!RemovePow(this, root, &mSymbolTable)) + { + return false; + } + } + + if (compileOptions & SH_REGENERATE_STRUCT_NAMES) + { + RegenerateStructNames gen(&mSymbolTable); + root->traverse(&gen); + if (!validateAST(root)) { return false; } @@ -741,7 +687,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, if (mShaderType == GL_VERTEX_SHADER && IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_multi_draw)) { - if ((compileOptions & SH_EMULATE_GL_DRAW_ID) != 0) + if ((compileOptions & SH_EMULATE_GL_DRAW_ID) != 0u) { if (!EmulateGLDrawID(this, root, &mSymbolTable, &mUniforms, shouldCollectVariables(compileOptions))) @@ -754,11 +700,11 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, if (mShaderType == GL_VERTEX_SHADER && IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_base_vertex_base_instance)) { - if ((compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0) + if ((compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0u) { - if (!EmulateGLBaseVertexBaseInstance( - this, root, &mSymbolTable, &mUniforms, shouldCollectVariables(compileOptions), - (compileOptions & SH_ADD_BASE_VERTEX_TO_VERTEX_ID) != 0)) + if (!EmulateGLBaseVertexBaseInstance(this, root, &mSymbolTable, &mUniforms, + shouldCollectVariables(compileOptions), + compileOptions & SH_ADD_BASE_VERTEX_TO_VERTEX_ID)) { return false; } @@ -776,7 +722,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - int simplifyScalarized = (compileOptions & SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS) != 0 + int simplifyScalarized = (compileOptions & SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS) ? IntermNodePatternMatcher::kScalarizedVecOrMatConstructor : 0; @@ -835,7 +781,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, GetGlobalPoolAllocator()->unlock(); mBuiltInFunctionEmulator.markBuiltInFunctionsForEmulation(root); - if ((compileOptions & SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS) != 0) + if (compileOptions & SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS) { if (!ScalarizeVecAndMatConstructorArgs(this, root, mShaderType, highPrecisionSupported, &mSymbolTable)) @@ -844,31 +790,23 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_FORCE_SHADER_PRECISION_HIGHP_TO_MEDIUMP) != 0) - { - if (!ForceShaderPrecisionToMediump(root, &mSymbolTable, mShaderType)) - { - return false; - } - } - if (shouldCollectVariables(compileOptions)) { ASSERT(!mVariablesCollected); CollectVariables(root, &mAttributes, &mOutputVariables, &mUniforms, &mInputVaryings, &mOutputVaryings, &mSharedVariables, &mUniformBlocks, - &mShaderStorageBlocks, mResources.HashFunction, &mSymbolTable, mShaderType, - mExtensionBehavior, mResources, mTessControlShaderOutputVertices); + &mShaderStorageBlocks, &mInBlocks, mResources.HashFunction, &mSymbolTable, + mShaderType, mExtensionBehavior); collectInterfaceBlocks(); mVariablesCollected = true; - if ((compileOptions & SH_USE_UNUSED_STANDARD_SHARED_BLOCKS) != 0) + if (compileOptions & SH_USE_UNUSED_STANDARD_SHARED_BLOCKS) { if (!useAllMembersInUnusedStandardAndSharedBlocks(root)) { return false; } } - if ((compileOptions & SH_ENFORCE_PACKING_RESTRICTIONS) != 0) + if (compileOptions & SH_ENFORCE_PACKING_RESTRICTIONS) { int maxUniformVectors = GetMaxUniformVectorsForShaderType(mShaderType, mResources); // Returns true if, after applying the packing rules in the GLSL ES 1.00.17 spec @@ -879,12 +817,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, return false; } } - bool needInitializeOutputVariables = - (compileOptions & SH_INIT_OUTPUT_VARIABLES) != 0 && mShaderType != GL_COMPUTE_SHADER; - needInitializeOutputVariables |= - (compileOptions & SH_INIT_FRAGMENT_OUTPUT_VARIABLES) != 0 && - mShaderType == GL_FRAGMENT_SHADER; - if (needInitializeOutputVariables) + if ((compileOptions & SH_INIT_OUTPUT_VARIABLES) && (mShaderType != GL_COMPUTE_SHADER)) { if (!initializeOutputVariables(root)) { @@ -907,8 +840,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, // It may have been already initialized among other output variables, in that case we don't // need to initialize it twice. if (mShaderType == GL_VERTEX_SHADER && !mGLPositionInitialized && - ((compileOptions & SH_INIT_GL_POSITION) != 0 || - mOutputType == SH_GLSL_COMPATIBILITY_OUTPUT)) + ((compileOptions & SH_INIT_GL_POSITION) || (mOutputType == SH_GLSL_COMPATIBILITY_OUTPUT))) { if (!initializeGLPosition(root)) { @@ -959,7 +891,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if (getShaderType() == GL_VERTEX_SHADER && (compileOptions & SH_CLAMP_POINT_SIZE) != 0) + if (getShaderType() == GL_VERTEX_SHADER && (compileOptions & SH_CLAMP_POINT_SIZE)) { if (!ClampPointSize(this, root, mResources.MaxPointSize, &getSymbolTable())) { @@ -967,7 +899,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if (getShaderType() == GL_FRAGMENT_SHADER && (compileOptions & SH_CLAMP_FRAG_DEPTH) != 0) + if (getShaderType() == GL_FRAGMENT_SHADER && (compileOptions & SH_CLAMP_FRAG_DEPTH)) { if (!ClampFragDepth(this, root, &getSymbolTable())) { @@ -975,7 +907,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_REWRITE_REPEATED_ASSIGN_TO_SWIZZLED) != 0) + if (compileOptions & SH_REWRITE_REPEATED_ASSIGN_TO_SWIZZLED) { if (!sh::RewriteRepeatedAssignToSwizzled(this, root)) { @@ -983,7 +915,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_REWRITE_VECTOR_SCALAR_ARITHMETIC) != 0) + if (compileOptions & SH_REWRITE_VECTOR_SCALAR_ARITHMETIC) { if (!VectorizeVectorScalarArithmetic(this, root, &getSymbolTable())) { @@ -991,7 +923,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } } - if ((compileOptions & SH_REMOVE_DYNAMIC_INDEXING_OF_SWIZZLED_VECTOR) != 0) + if (compileOptions & SH_REMOVE_DYNAMIC_INDEXING_OF_SWIZZLED_VECTOR) { if (!sh::RemoveDynamicIndexingOfSwizzledVector(this, root, &getSymbolTable(), nullptr)) { @@ -1000,7 +932,7 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, } mEarlyFragmentTestsOptimized = false; - if ((compileOptions & SH_EARLY_FRAGMENT_TESTS_OPTIMIZATION) != 0) + if (compileOptions & SH_EARLY_FRAGMENT_TESTS_OPTIMIZATION) { if (mShaderVersion <= 300 && mShaderType == GL_FRAGMENT_SHADER && !isEarlyFragmentTestsSpecified()) @@ -1038,12 +970,12 @@ bool TCompiler::compile(const char *const shaderStrings[], if (root) { - if ((compileOptions & SH_INTERMEDIATE_TREE) != 0) + if (compileOptions & SH_INTERMEDIATE_TREE) { OutputTree(root, mInfoSink.info); } - if ((compileOptions & SH_OBJECT_CODE) != 0) + if (compileOptions & SH_OBJECT_CODE) { PerformanceDiagnostics perfDiagnostics(&mDiagnostics); if (!translate(root, compileOptions, &perfDiagnostics)) @@ -1056,11 +988,11 @@ bool TCompiler::compile(const char *const shaderStrings[], { bool lookForDrawID = IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_multi_draw) && - (compileOptions & SH_EMULATE_GL_DRAW_ID) != 0; + ((compileOptions & SH_EMULATE_GL_DRAW_ID) != 0u); bool lookForBaseVertexBaseInstance = IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_base_vertex_base_instance) && - (compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0; + ((compileOptions & SH_EMULATE_GL_BASE_VERTEX_BASE_INSTANCE) != 0u); if (lookForDrawID || lookForBaseVertexBaseInstance) { @@ -1136,15 +1068,12 @@ void TCompiler::setResourceString() << ":EXT_frag_depth:" << mResources.EXT_frag_depth << ":EXT_shader_texture_lod:" << mResources.EXT_shader_texture_lod << ":EXT_shader_framebuffer_fetch:" << mResources.EXT_shader_framebuffer_fetch - << ":EXT_shader_framebuffer_fetch_non_coherent:" << mResources.EXT_shader_framebuffer_fetch_non_coherent << ":NV_shader_framebuffer_fetch:" << mResources.NV_shader_framebuffer_fetch << ":ARM_shader_framebuffer_fetch:" << mResources.ARM_shader_framebuffer_fetch << ":OVR_multiview2:" << mResources.OVR_multiview2 << ":OVR_multiview:" << mResources.OVR_multiview << ":EXT_YUV_target:" << mResources.EXT_YUV_target << ":EXT_geometry_shader:" << mResources.EXT_geometry_shader - << ":OES_shader_io_blocks:" << mResources.OES_shader_io_blocks - << ":EXT_shader_io_blocks:" << mResources.EXT_shader_io_blocks << ":EXT_gpu_shader5:" << mResources.EXT_gpu_shader5 << ":OES_texture_3D:" << mResources.OES_texture_3D << ":MaxVertexOutputVectors:" << mResources.MaxVertexOutputVectors @@ -1163,15 +1092,11 @@ void TCompiler::setResourceString() << ":EXT_shadow_samplers:" << mResources.EXT_shadow_samplers << ":OES_shader_multisample_interpolation:" << mResources.OES_shader_multisample_interpolation << ":OES_shader_image_atomic:" << mResources.OES_shader_image_atomic - << ":EXT_tessellation_shader:" << mResources.EXT_tessellation_shader << ":OES_texture_buffer:" << mResources.OES_texture_buffer << ":EXT_texture_buffer:" << mResources.EXT_texture_buffer - << ":OES_sample_variables:" << mResources.OES_sample_variables - << ":EXT_clip_cull_distance:" << mResources.EXT_clip_cull_distance << ":MinProgramTextureGatherOffset:" << mResources.MinProgramTextureGatherOffset << ":MaxProgramTextureGatherOffset:" << mResources.MaxProgramTextureGatherOffset << ":MaxImageUnits:" << mResources.MaxImageUnits - << ":MaxSamples:" << mResources.MaxSamples << ":MaxVertexImageUniforms:" << mResources.MaxVertexImageUniforms << ":MaxFragmentImageUniforms:" << mResources.MaxFragmentImageUniforms << ":MaxComputeImageUniforms:" << mResources.MaxComputeImageUniforms @@ -1207,27 +1132,7 @@ void TCompiler::setResourceString() << ":MaxGeometryShaderStorageBlocks:" << mResources.MaxGeometryShaderStorageBlocks << ":MaxGeometryShaderInvocations:" << mResources.MaxGeometryShaderInvocations << ":MaxGeometryImageUniforms:" << mResources.MaxGeometryImageUniforms - << ":MaxClipDistances" << mResources.MaxClipDistances - << ":MaxCullDistances" << mResources.MaxCullDistances - << ":MaxCombinedClipAndCullDistances" << mResources.MaxCombinedClipAndCullDistances - << ":MaxTessControlInputComponents:" << mResources.MaxTessControlInputComponents - << ":MaxTessControlOutputComponents:" << mResources.MaxTessControlOutputComponents - << ":MaxTessControlTextureImageUnits:" << mResources.MaxTessControlTextureImageUnits - << ":MaxTessControlUniformComponents:" << mResources.MaxTessControlUniformComponents - << ":MaxTessControlTotalOutputComponents:" << mResources.MaxTessControlTotalOutputComponents - << ":MaxTessControlImageUniforms:" << mResources.MaxTessControlImageUniforms - << ":MaxTessControlAtomicCounters:" << mResources.MaxTessControlAtomicCounters - << ":MaxTessControlAtomicCounterBuffers:" << mResources.MaxTessControlAtomicCounterBuffers - << ":MaxTessPatchComponents:" << mResources.MaxTessPatchComponents - << ":MaxPatchVertices:" << mResources.MaxPatchVertices - << ":MaxTessGenLevel:" << mResources.MaxTessGenLevel - << ":MaxTessEvaluationInputComponents:" << mResources.MaxTessEvaluationInputComponents - << ":MaxTessEvaluationOutputComponents:" << mResources.MaxTessEvaluationOutputComponents - << ":MaxTessEvaluationTextureImageUnits:" << mResources.MaxTessEvaluationTextureImageUnits - << ":MaxTessEvaluationUniformComponents:" << mResources.MaxTessEvaluationUniformComponents - << ":MaxTessEvaluationImageUniforms:" << mResources.MaxTessEvaluationImageUniforms - << ":MaxTessEvaluationAtomicCounters:" << mResources.MaxTessEvaluationAtomicCounters - << ":MaxTessEvaluationAtomicCounterBuffers:" << mResources.MaxTessEvaluationAtomicCounterBuffers; + << ":MaxClipDistances" << mResources.MaxClipDistances; // clang-format on mBuiltInResourcesString = strstream.str(); @@ -1236,10 +1141,12 @@ void TCompiler::setResourceString() void TCompiler::collectInterfaceBlocks() { ASSERT(mInterfaceBlocks.empty()); - mInterfaceBlocks.reserve(mUniformBlocks.size() + mShaderStorageBlocks.size()); + mInterfaceBlocks.reserve(mUniformBlocks.size() + mShaderStorageBlocks.size() + + mInBlocks.size()); mInterfaceBlocks.insert(mInterfaceBlocks.end(), mUniformBlocks.begin(), mUniformBlocks.end()); mInterfaceBlocks.insert(mInterfaceBlocks.end(), mShaderStorageBlocks.begin(), mShaderStorageBlocks.end()); + mInterfaceBlocks.insert(mInterfaceBlocks.end(), mInBlocks.begin(), mInBlocks.end()); } bool TCompiler::emulatePrecisionIfNeeded(TIntermBlock *root, @@ -1279,6 +1186,7 @@ void TCompiler::clearResults() mInterfaceBlocks.clear(); mUniformBlocks.clear(); mShaderStorageBlocks.clear(); + mInBlocks.clear(); mVariablesCollected = false; mGLPositionInitialized = false; @@ -1289,12 +1197,6 @@ void TCompiler::clearResults() mGeometryShaderInvocations = 0; mGeometryShaderMaxVertices = -1; - mTessControlShaderOutputVertices = 0; - mTessEvaluationShaderInputPrimitiveType = EtetUndefined; - mTessEvaluationShaderInputVertexSpacingType = EtetUndefined; - mTessEvaluationShaderInputOrderingType = EtetUndefined; - mTessEvaluationShaderInputPointType = EtetUndefined; - mBuiltInFunctionEmulator.cleanup(); mNameMap.clear(); @@ -1332,7 +1234,7 @@ bool TCompiler::checkCallDepth() int depth = 0; const CallDAG::Record &record = mCallDag.getRecordFromIndex(i); - for (int calleeIndex : record.callees) + for (const int &calleeIndex : record.callees) { depth = std::max(depth, depths[calleeIndex] + 1); } @@ -1496,9 +1398,11 @@ bool TCompiler::wereVariablesCollected() const bool TCompiler::initializeGLPosition(TIntermBlock *root) { + InitVariableList list; sh::ShaderVariable var(GL_FLOAT_VEC4); var.name = "gl_Position"; - return InitializeVariables(this, root, {var}, &mSymbolTable, mShaderVersion, mExtensionBehavior, + list.push_back(var); + return InitializeVariables(this, root, list, &mSymbolTable, mShaderVersion, mExtensionBehavior, false, false); } @@ -1521,7 +1425,6 @@ bool TCompiler::useAllMembersInUnusedStandardAndSharedBlocks(TIntermBlock *root) bool TCompiler::initializeOutputVariables(TIntermBlock *root) { InitVariableList list; - list.reserve(mOutputVaryings.size()); if (mShaderType == GL_VERTEX_SHADER || mShaderType == GL_GEOMETRY_SHADER_EXT) { for (const sh::ShaderVariable &var : mOutputVaryings) @@ -1578,7 +1481,7 @@ const BuiltInFunctionEmulator &TCompiler::getBuiltInFunctionEmulator() const void TCompiler::writePragma(ShCompileOptions compileOptions) { - if ((compileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL) == 0) + if (!(compileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL)) { TInfoSinkBase &sink = mInfoSink.obj; if (mPragma.stdgl.invariantAll) @@ -1636,12 +1539,12 @@ void EmitMultiviewGLSL(const TCompiler &compiler, return; const bool isVertexShader = (compiler.getShaderType() == GL_VERTEX_SHADER); - if ((compileOptions & SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW) != 0) + if (compileOptions & SH_INITIALIZE_BUILTINS_FOR_INSTANCED_MULTIVIEW) { // Emit ARB_shader_viewport_layer_array/NV_viewport_array2 in a vertex shader if the // SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER option is set and the // OVR_multiview(2) extension is requested. - if (isVertexShader && (compileOptions & SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER) != 0) + if (isVertexShader && (compileOptions & SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER)) { sink << "#if defined(GL_ARB_shader_viewport_layer_array)\n" << "#extension GL_ARB_shader_viewport_layer_array : require\n" diff --git a/gfx/angle/checkout/src/compiler/translator/Compiler.h b/gfx/angle/checkout/src/compiler/translator/Compiler.h index 3cacb2a76a3e..d0b24baa3e77 100644 --- a/gfx/angle/checkout/src/compiler/translator/Compiler.h +++ b/gfx/angle/checkout/src/compiler/translator/Compiler.h @@ -16,7 +16,6 @@ #include -#include "common/PackedEnums.h" #include "compiler/translator/BuiltInFunctionEmulator.h" #include "compiler/translator/CallDAG.h" #include "compiler/translator/Diagnostics.h" @@ -37,8 +36,6 @@ class TParseContext; class TranslatorHLSL; #endif // ANGLE_ENABLE_HLSL -using SpecConstUsageBits = angle::PackedEnumBitSet; - // // Helper function to check if the shader type is GLSL. // @@ -103,7 +100,6 @@ class TCompiler : public TShHandleBase bool isEarlyFragmentTestsSpecified() const { return mEarlyFragmentTestsSpecified; } bool isEarlyFragmentTestsOptimized() const { return mEarlyFragmentTestsOptimized; } - SpecConstUsageBits getSpecConstUsageBits() const { return mSpecConstUsageBits; } bool isComputeShaderLocalSizeDeclared() const { return mComputeShaderLocalSizeDeclared; } const sh::WorkGroupSize &getComputeShaderLocalSize() const { return mComputeShaderLocalSize; } @@ -123,6 +119,7 @@ class TCompiler : public TShHandleBase { return mShaderStorageBlocks; } + const std::vector &getInBlocks() const { return mInBlocks; } ShHashFunction64 getHashFunction() const { return mResources.HashFunction; } NameMap &getNameMap() { return mNameMap; } @@ -148,25 +145,6 @@ class TCompiler : public TShHandleBase } unsigned int getStructSize(const ShaderVariable &var) const; - - int getTessControlShaderOutputVertices() const { return mTessControlShaderOutputVertices; } - TLayoutTessEvaluationType getTessEvaluationShaderInputPrimitiveType() const - { - return mTessEvaluationShaderInputPrimitiveType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputVertexSpacingType() const - { - return mTessEvaluationShaderInputVertexSpacingType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputOrderingType() const - { - return mTessEvaluationShaderInputOrderingType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputPointType() const - { - return mTessEvaluationShaderInputPointType; - } - unsigned int getSharedMemorySize() const; sh::GLenum getShaderType() const { return mShaderType; } @@ -213,12 +191,7 @@ class TCompiler : public TShHandleBase std::vector mInterfaceBlocks; std::vector mUniformBlocks; std::vector mShaderStorageBlocks; - - // Track what should be validated given passes currently applied. - ValidateASTOptions mValidateASTOptions; - - // Specialization constant usage bits - SpecConstUsageBits mSpecConstUsageBits; + std::vector mInBlocks; private: // Initialize symbol-table with built-in symbols. @@ -321,18 +294,14 @@ class TCompiler : public TShHandleBase TLayoutPrimitiveType mGeometryShaderInputPrimitiveType; TLayoutPrimitiveType mGeometryShaderOutputPrimitiveType; - // tesssellation shader parameters - int mTessControlShaderOutputVertices; - TLayoutTessEvaluationType mTessEvaluationShaderInputPrimitiveType; - TLayoutTessEvaluationType mTessEvaluationShaderInputVertexSpacingType; - TLayoutTessEvaluationType mTessEvaluationShaderInputOrderingType; - TLayoutTessEvaluationType mTessEvaluationShaderInputPointType; - // name hashing. NameMap mNameMap; TPragma mPragma; + // Track what should be validated given passes currently applied. + ValidateASTOptions mValidateASTOptions; + ShCompileOptions mCompileOptions; }; diff --git a/gfx/angle/checkout/src/compiler/translator/DirectiveHandler.cpp b/gfx/angle/checkout/src/compiler/translator/DirectiveHandler.cpp index a3a6f63a7fe7..fe3888590c3b 100644 --- a/gfx/angle/checkout/src/compiler/translator/DirectiveHandler.cpp +++ b/gfx/angle/checkout/src/compiler/translator/DirectiveHandler.cpp @@ -167,40 +167,12 @@ void TDirectiveHandler::handleExtension(const angle::pp::SourceLocation &loc, // OVR_multiview is implicitly enabled when OVR_multiview2 is enabled if (name == "GL_OVR_multiview2") { - constexpr char kMultiviewExtName[] = "GL_OVR_multiview"; - iter = mExtensionBehavior.find(GetExtensionByName(kMultiviewExtName)); - if (iter != mExtensionBehavior.end()) + const std::string multiview = "GL_OVR_multiview"; + TExtensionBehavior::iterator iterMultiview = + mExtensionBehavior.find(GetExtensionByName(multiview.c_str())); + if (iterMultiview != mExtensionBehavior.end()) { - iter->second = behaviorVal; - } - } - // EXT_shader_io_blocks is implicitly enabled when EXT_geometry_shader or - // EXT_tessellation_shader is enabled. - if (name == "GL_EXT_geometry_shader" || name == "GL_EXT_tessellation_shader") - { - constexpr char kIOBlocksExtName[] = "GL_EXT_shader_io_blocks"; - iter = mExtensionBehavior.find(GetExtensionByName(kIOBlocksExtName)); - if (iter != mExtensionBehavior.end()) - { - iter->second = behaviorVal; - } - } - // GL_APPLE_clip_distance is implicitly enabled when GL_EXT_clip_cull_distance is enabled - else if (name == "GL_EXT_clip_cull_distance") - { - // This extension only can be enabled on greater than ESSL 300 - if (mShaderVersion < 300) - { - mDiagnostics.error(loc, "extension can be enabled on greater than ESSL 300", - name.c_str()); - return; - } - - constexpr char kAPPLEClipDistanceEXTName[] = "GL_APPLE_clip_distance"; - iter = mExtensionBehavior.find(GetExtensionByName(kAPPLEClipDistanceEXTName)); - if (iter != mExtensionBehavior.end()) - { - iter->second = behaviorVal; + iterMultiview->second = behaviorVal; } } return; @@ -226,8 +198,7 @@ void TDirectiveHandler::handleVersion(const angle::pp::SourceLocation &loc, int version, ShShaderSpec spec) { - if (((version == 100 || version == 300 || version == 310 || version == 320) && - !IsDesktopGLSpec(spec)) || + if (((version == 100 || version == 300 || version == 310) && !IsDesktopGLSpec(spec)) || IsDesktopGLSpec(spec)) { mShaderVersion = version; diff --git a/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.cpp b/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.cpp index a9af45c10e92..e9f603f45d87 100644 --- a/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.cpp @@ -20,19 +20,14 @@ OP(ARB_texture_rectangle) \ OP(ARM_shader_framebuffer_fetch) \ OP(EXT_blend_func_extended) \ - OP(EXT_clip_cull_distance) \ OP(EXT_draw_buffers) \ OP(EXT_frag_depth) \ OP(EXT_geometry_shader) \ - OP(OES_shader_io_blocks) \ - OP(EXT_shader_io_blocks) \ OP(EXT_gpu_shader5) \ OP(EXT_shader_framebuffer_fetch) \ - OP(EXT_shader_framebuffer_fetch_non_coherent) \ OP(EXT_shader_non_constant_global_initializers) \ OP(EXT_shader_texture_lod) \ OP(EXT_shadow_samplers) \ - OP(EXT_tessellation_shader) \ OP(EXT_texture_buffer) \ OP(EXT_texture_cube_map_array) \ OP(EXT_YUV_target) \ @@ -41,7 +36,6 @@ OP(NV_shader_noperspective_interpolation) \ OP(OES_EGL_image_external) \ OP(OES_EGL_image_external_essl3) \ - OP(OES_sample_variables) \ OP(OES_shader_multisample_interpolation) \ OP(OES_shader_image_atomic) \ OP(OES_standard_derivatives) \ diff --git a/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.h b/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.h index ecfca6d1c824..411e00f1db97 100644 --- a/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.h +++ b/gfx/angle/checkout/src/compiler/translator/ExtensionBehavior.h @@ -26,19 +26,14 @@ enum class TExtension : uint8_t ARB_texture_rectangle, ARM_shader_framebuffer_fetch, EXT_blend_func_extended, - EXT_clip_cull_distance, EXT_draw_buffers, EXT_frag_depth, EXT_geometry_shader, - OES_shader_io_blocks, - EXT_shader_io_blocks, EXT_gpu_shader5, EXT_shader_framebuffer_fetch, - EXT_shader_framebuffer_fetch_non_coherent, EXT_shader_non_constant_global_initializers, EXT_shader_texture_lod, EXT_shadow_samplers, - EXT_tessellation_shader, EXT_texture_buffer, EXT_texture_cube_map_array, EXT_YUV_target, @@ -47,7 +42,6 @@ enum class TExtension : uint8_t NV_shader_noperspective_interpolation, OES_EGL_image_external, OES_EGL_image_external_essl3, - OES_sample_variables, OES_shader_multisample_interpolation, OES_shader_image_atomic, OES_standard_derivatives, diff --git a/gfx/angle/checkout/src/compiler/translator/HashNames.cpp b/gfx/angle/checkout/src/compiler/translator/HashNames.cpp index d57ec6b6afa0..015bf3bb7796 100644 --- a/gfx/angle/checkout/src/compiler/translator/HashNames.cpp +++ b/gfx/angle/checkout/src/compiler/translator/HashNames.cpp @@ -69,7 +69,7 @@ ImmutableString HashName(const ImmutableString &name, // have as long names and could conflict. return name; } - if (name == "gl_ClipDistance" || name == "gl_CullDistance" || name == "gl_LastFragData") + if (name == "gl_ClipDistance") { // NOTE(hqle): When gl_ClipDistance is re-declared, it will become an UserDefined // symbol. Normally, UserDefined symbols will have "_u" prefix added to their names by @@ -81,7 +81,7 @@ ImmutableString HashName(const ImmutableString &name, // re-declaration occurs. AngleInternal symbols will have their name intact. However, // the issue is that the current code put a lot of restrictions on AngleInternal // symbols. For examples: - // - CollectVariables.cpp will not consider AngleInternal as varying output variables. + // - CollectVariables.cpp will not consider AngleInternal as varying output variales. // - SymbolTable.cpp will throw an exception if AngleInternal symbols are declared by // users. In this case, it would be gl_ClipDistance. This is because // TSymbolTable::declare() only accepts an UserDefined symbol. @@ -96,8 +96,6 @@ ImmutableString HashName(const ImmutableString &name, // Compare to only this place has to be handled if re-declared gl_ClipDistance is // treated as an UserDefined symbol. // - // Also, gl_LastFragData should be added. - // return name; } ImmutableStringBuilder prefixedName(kUnhashedNamePrefix.length() + name.length()); diff --git a/gfx/angle/checkout/src/compiler/translator/ImmutableString_ESSL_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/ImmutableString_ESSL_autogen.cpp index 0976a3c2c70b..bc587e433621 100644 --- a/gfx/angle/checkout/src/compiler/translator/ImmutableString_ESSL_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ImmutableString_ESSL_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -26,216 +26,222 @@ std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str) namespace { -constexpr int mangledkT1[] = {1180, 782, 1103, 563, 2974, 1464, 855, 2226, 533, 946, - 2364, 1527, 2823, 1963, 1949, 406, 1029, 185, 2724, 2797, - 2341, 264, 1903, 2150, 3196, 1935, 1186, 1337, 65, 194, - 557, 2982, 1963, 2229, 2382, 1040, 776, 2536, 2699, 2002}; -constexpr int mangledkT2[] = {243, 2806, 2646, 900, 1556, 238, 1079, 2379, 1830, 1969, - 1294, 2251, 438, 1259, 2530, 476, 2188, 2765, 253, 197, - 3034, 1339, 1962, 2836, 1405, 1808, 2356, 1708, 1616, 2555, - 2384, 835, 1185, 1976, 1471, 1429, 2833, 3097, 1699, 752}; +constexpr int mangledkT1[] = {2734, 3205, 2084, 1788, 3161, 2931, 522, 1310, 3219, 312, + 846, 1760, 2276, 1722, 1120, 2959, 635, 824, 165, 3043, + 2565, 2264, 746, 617, 2636, 2543, 1826, 416, 714, 2484, + 543, 804, 1480, 2234, 2318, 216, 904}; +constexpr int mangledkT2[] = {851, 1107, 1845, 815, 2730, 2221, 609, 1079, 544, 822, + 273, 3003, 1431, 2738, 2683, 447, 2771, 193, 3093, 2494, + 3167, 1523, 698, 2773, 2875, 1068, 2229, 694, 2203, 235, + 3100, 3190, 320, 3137, 784, 3099, 3224}; constexpr int mangledkG[] = { - 0, 0, 0, 0, 0, 0, 0, 847, 1062, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1632, 2907, 0, 400, 938, 0, 0, 1116, 0, 922, 663, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1408, 0, 0, 0, 0, 0, 0, 0, - 0, 2659, 0, 0, 441, 0, 0, 0, 0, 0, 0, 0, 0, 2742, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2161, 0, 656, 0, 0, 0, - 0, 0, 0, 0, 2567, 0, 1174, 1979, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 38, 1120, 0, 0, 0, 0, 2702, 1330, 1414, 381, 0, - 0, 0, 1483, 0, 0, 2871, 0, 0, 0, 123, 0, 2565, 0, 0, 0, 1217, - 312, 269, 0, 1357, 760, 0, 0, 0, 0, 2653, 0, 321, 0, 0, 0, 0, - 0, 0, 3020, 0, 0, 0, 2585, 367, 0, 0, 0, 0, 0, 0, 0, 0, - 1932, 0, 2090, 0, 0, 0, 0, 0, 188, 0, 0, 0, 47, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2935, 1013, 2352, 424, - 0, 193, 570, 0, 0, 0, 0, 0, 66, 0, 0, 1811, 0, 2718, 0, 0, - 1154, 0, 0, 33, 0, 2278, 0, 0, 0, 3156, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1071, 0, 1440, 0, 0, 2822, 0, 3116, 819, 576, 0, 1925, 0, - 0, 0, 370, 2518, 1977, 1323, 0, 1991, 1123, 0, 0, 1835, 0, 780, 609, 0, - 2709, 1441, 0, 1921, 2084, 0, 0, 0, 950, 3037, 0, 2011, 2476, 0, 0, 2009, - 83, 0, 0, 0, 0, 0, 901, 0, 752, 0, 2786, 0, 0, 231, 1597, 0, - 1303, 0, 2279, 0, 0, 0, 725, 0, 0, 495, 0, 0, 0, 0, 1552, 611, - 0, 931, 0, 341, 0, 0, 0, 68, 2626, 0, 0, 1904, 0, 989, 0, 0, - 0, 197, 0, 404, 737, 1583, 0, 3057, 0, 2403, 0, 0, 0, 0, 0, 0, - 1356, 2560, 0, 2901, 533, 938, 363, 3092, 2901, 0, 3193, 0, 0, 354, 202, 0, - 1248, 0, 457, 0, 0, 0, 0, 1223, 1217, 0, 0, 0, 1673, 0, 0, 0, - 707, 0, 0, 1367, 0, 2737, 0, 0, 1103, 1064, 0, 1607, 0, 0, 0, 0, - 1277, 0, 0, 0, 0, 885, 0, 1649, 0, 689, 3019, 0, 0, 0, 0, 236, - 0, 1099, 972, 0, 305, 1626, 0, 2138, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 682, 1952, 1708, 0, 0, 0, 0, 0, 0, 879, 642, 0, 0, 0, - 586, 2856, 0, 0, 1623, 0, 0, 0, 0, 0, 0, 0, 287, 399, 1796, 0, - 0, 0, 0, 1120, 0, 610, 1122, 3035, 0, 1346, 1185, 0, 0, 0, 740, 0, - 0, 144, 0, 0, 3017, 0, 0, 0, 3012, 2171, 1137, 1488, 2289, 0, 395, 0, - 0, 0, 1012, 0, 426, 0, 0, 0, 0, 142, 663, 0, 1782, 772, 1585, 0, - 0, 0, 0, 0, 3201, 547, 482, 0, 0, 740, 576, 0, 0, 0, 0, 1420, - 0, 481, 0, 0, 0, 2613, 0, 2040, 0, 0, 0, 0, 0, 2850, 683, 0, - 0, 0, 2562, 0, 2545, 0, 802, 0, 0, 1074, 0, 0, 0, 0, 0, 0, - 0, 2994, 319, 0, 0, 2725, 323, 0, 0, 0, 0, 0, 0, 0, 2942, 0, - 934, 0, 0, 0, 0, 0, 1508, 0, 0, 2146, 1074, 0, 2205, 0, 0, 2542, - 0, 156, 0, 125, 0, 0, 0, 1723, 0, 0, 3007, 165, 236, 850, 0, 88, - 0, 2584, 0, 1069, 0, 0, 2887, 0, 0, 0, 933, 420, 448, 641, 0, 0, - 0, 797, 0, 0, 0, 0, 0, 789, 0, 886, 284, 0, 0, 2655, 3009, 0, - 0, 2545, 2271, 2146, 626, 1496, 1350, 2318, 0, 2455, 0, 0, 0, 0, 0, 1033, - 2556, 0, 1590, 0, 0, 0, 0, 1158, 3166, 0, 605, 960, 0, 0, 1220, 3107, - 860, 0, 0, 2588, 0, 0, 2493, 2966, 0, 0, 313, 1351, 1944, 2018, 2300, 802, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 106, 0, 3010, 3186, 273, 694, - 0, 1087, 3100, 676, 0, 0, 0, 0, 0, 967, 0, 264, 554, 2879, 0, 0, - 769, 1774, 619, 646, 0, 0, 1414, 0, 0, 528, 0, 0, 0, 0, 0, 3197, - 2588, 0, 0, 0, 160, 2111, 0, 0, 1752, 1520, 0, 0, 0, 0, 0, 0, - 2716, 1011, 1403, 2238, 867, 0, 0, 0, 0, 616, 0, 0, 495, 0, 209, 182, - 846, 2251, 54, 0, 1124, 0, 0, 445, 0, 3105, 1952, 0, 0, 0, 782, 0, - 0, 0, 0, 0, 686, 1103, 3085, 0, 0, 1016, 992, 0, 151, 1358, 1410, 0, - 0, 0, 0, 0, 3080, 2685, 2829, 0, 0, 0, 0, 604, 0, 2476, 0, 2564, - 0, 0, 1964, 1284, 0, 1538, 0, 0, 1511, 2442, 0, 0, 129, 0, 0, 0, - 145, 0, 2411, 0, 2015, 527, 316, 889, 0, 0, 0, 0, 0, 1272, 141, 2488, - 0, 0, 0, 0, 1556, 184, 0, 0, 0, 0, 0, 1707, 134, 0, 1840, 0, - 0, 869, 1061, 0, 811, 2766, 539, 0, 0, 2445, 0, 0, 0, 0, 708, 0, - 0, 205, 1341, 0, 986, 0, 0, 2064, 0, 0, 0, 0, 850, 359, 0, 1914, - 1185, 1121, 1411, 0, 0, 0, 0, 2389, 593, 213, 669, 510, 2437, 149, 685, 0, - 0, 0, 2911, 0, 1224, 1067, 892, 0, 388, 1281, 505, 0, 1081, 216, 378, 0, - 0, 134, 0, 322, 2508, 329, 2259, 0, 0, 1633, 3003, 6, 1405, 0, 0, 0, - 0, 0, 80, 374, 85, 0, 3192, 0, 447, 0, 0, 0, 701, 1489, 0, 2020, - 0, 2989, 1950, 3143, 2769, 1053, 0, 0, 2726, 0, 327, 0, 1071, 0, 532, 1860, - 0, 0, 982, 1831, 2858, 674, 0, 0, 262, 0, 0, 217, 0, 0, 622, 691, - 990, 0, 0, 0, 50, 334, 1890, 2667, 0, 0, 0, 0, 1452, 13, 0, 1785, - 0, 0, 445, 0, 248, 2909, 421, 0, 0, 2909, 0, 2245, 0, 0, 1016, 0, - 0, 0, 0, 223, 3178, 0, 0, 541, 0, 0, 2679, 0, 0, 0, 0, 1620, - 0, 0, 2898, 475, 0, 2146, 1126, 3107, 0, 129, 0, 1634, 1733, 1074, 1158, 0, - 0, 0, 785, 0, 585, 364, 0, 0, 0, 262, 807, 0, 1728, 0, 0, 1599, - 0, 192, 793, 0, 0, 448, 506, 0, 0, 0, 0, 3002, 1950, 0, 0, 200, - 0, 0, 886, 183, 2792, 0, 303, 0, 2898, 3034, 2175, 0, 953, 0, 0, 0, - 2874, 2662, 0, 0, 469, 263, 0, 0, 1339, 374, 0, 585, 798, 0, 1028, 0, - 0, 0, 0, 0, 0, 0, 551, 2769, 0, 0, 0, 2384, 2320, 0, 332, 0, - 0, 0, 0, 0, 0, 0, 0, 593, 0, 0, 186, 210, 1350, 3113, 0, 63, - 402, 1159, 708, 0, 107, 0, 0, 0, 777, 2343, 0, 117, 2046, 2923, 2434, 2458, - 0, 738, 2690, 0, 0, 0, 2608, 0, 836, 524, 845, 0, 0, 0, 62, 0, - 0, 1842, 1557, 775, 178, 0, 0, 0, 0, 27, 0, 0, 0, 174, 2027, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 481, 0, 0, 0, 0, 1528, - 0, 0, 1069, 844, 0, 1368, 0, 0, 0, 0, 0, 0, 160, 407, 0, 0, - 0, 0, 0, 304, 77, 0, 1527, 0, 0, 0, 298, 0, 0, 0, 0, 2785, - 0, 0, 0, 0, 2284, 0, 0, 1493, 0, 0, 0, 2511, 0, 0, 0, 1046, - 792, 0, 0, 0, 1095, 278, 0, 0, 0, 1605, 697, 2981, 0, 572, 786, 422, - 0, 0, 0, 770, 2488, 0, 460, 1500, 2460, 351, 0, 83, 0, 907, 681, 0, - 1114, 462, 567, 0, 0, 0, 1136, 678, 0, 1131, 0, 0, 112, 0, 0, 0, - 0, 0, 22, 0, 0, 482, 496, 0, 2643, 0, 444, 2532, 0, 2683, 958, 0, - 1042, 0, 3099, 1311, 1111, 0, 1350, 810, 520, 1320, 0, 817, 1761, 0, 0, 2889, - 685, 0, 965, 0, 1454, 0, 2781, 0, 3171, 0, 0, 2749, 0, 0, 0, 0, - 0, 4, 0, 0, 229, 0, 0, 2418, 0, 870, 924, 1547, 0, 3193, 1187, 0, - 1199, 0, 3205, 0, 350, 0, 0, 0, 54, 883, 0, 0, 0, 1859, 0, 1914, - 2493, 863, 3183, 0, 1460, 0, 1283, 0, 0, 639, 0, 2154, 0, 0, 0, 0, - 725, 0, 0, 0, 476, 0, 1306, 931, 0, 3133, 2670, 394, 740, 0, 0, 0, - 0, 0, 0, 276, 0, 0, 0, 47, 0, 0, 2659, 1055, 0, 1378, 0, 0, - 2304, 2876, 347, 928, 0, 416, 0, 0, 0, 1033, 0, 0, 0, 0, 0, 0, - 683, 275, 0, 0, 626, 0, 362, 0, 0, 0, 0, 0, 2282, 0, 1260, 387, - 0, 2260, 0, 0, 693, 0, 703, 0, 0, 0, 768, 1102, 0, 1579, 0, 1137, - 0, 0, 0, 407, 0, 18, 1000, 0, 0, 2715, 709, 0, 0, 78, 0, 0, - 0, 29, 2506, 0, 0, 0, 0, 426, 180, 0, 2420, 0, 0, 604, 2649, 0, - 0, 0, 137, 0, 1223, 0, 560, 0, 0, 2797, 1225, 900, 0, 1694, 0, 0, - 454, 584, 0, 0, 0, 0, 2280, 0, 0, 0, 0, 1765, 1352, 0, 0, 493, - 0, 142, 0, 2635, 1495, 495, 1211, 471, 453, 1148, 580, 1580, 239, 1017, 373, 1536, - 1949, 0, 63, 30, 0, 0, 0, 0, 0, 0, 0, 219, 0, 0, 0, 0, - 355, 1372, 250, 1563, 0, 414, 68, 2752, 1193, 0, 0, 794, 0, 102, 0, 2866, - 1305, 0, 671, 525, 2971, 3020, 933, 0, 0, 1857, 737, 0, 1660, 0, 0, 2937, - 0, 0, 0, 3034, 0, 462, 1325, 0, 0, 957, 0, 0, 539, 0, 0, 776, - 279, 962, 671, 0, 2906, 299, 874, 0, 0, 1361, 0, 0, 426, 0, 2637, 0, - 785, 2336, 1254, 663, 0, 2283, 140, 0, 605, 0, 0, 0, 11, 245, 1258, 0, - 0, 839, 0, 245, 1054, 48, 2396, 3000, 93, 3041, 2984, 0, 2975, 0, 0, 0, - 1374, 0, 1930, 0, 0, 0, 0, 2037, 1128, 2873, 499, 0, 0, 2052, 473, 0, - 82, 554, 1336, 0, 0, 0, 2530, 2316, 1155, 0, 0, 549, 0, 591, 0, 21, - 2280, 3011, 1071, 0, 1043, 0, 2308, 0, 0, 634, 0, 872, 269, 0, 0, 0, - 174, 0, 0, 0, 133, 0, 0, 204, 1313, 115, 2534, 2169, 0, 1285, 25, 1213, - 871, 0, 982, 0, 341, 1478, 1980, 2621, 0, 0, 1246, 408, 2072, 773, 0, 858, - 298, 1299, 719, 0, 0, 735, 1142, 0, 36, 0, 21, 0, 1387, 0, 297, 0, - 0, 326, 623, 1295, 595, 1394, 0, 0, 1626, 0, 2648, 0, 0, 1517, 783, 2036, - 478, 2580, 624, 2506, 0, 631, 0, 0, 1596, 0, 1851, 0, 0, 838, 149, 894, - 1544, 749, 152, 606, 0, 396, 2649, 1280, 0, 3120, 963, 716, 0, 0, 457, 1185, - 227, 2150, 1130, 0, 0, 0, 5, 5, 0, 70, 1048, 770, 2997, 713, 2093, 0, - 1015, 0, 0, 746, 0, 1144, 0, 449, 0, 430, 815, 312, 2555, 1230, 0, 0, - 2205, 2182, 527, 1447, 3134, 866, 0, 0, 1774, 1150, 0, 1448, 0, 2, 1472, 464, - 0, 2635, 0, 0, 0, 1033, 2789, 973, 1404, 2793, 906, 167, 0, 1165, 1164, 2927, - 0, 1229, 0, 394, 1423, 0, 177, 2183, 0, 0, 1260, 211, 0, 0, 1240, 429, - 0, 164, 948, 473, 3135, 0, 0, 1326, 0, 0, 1126, 0, 353, 1251, 0, 2417, - 0, 1626, 0, 0, 18, 1449, 957, 262, 0, 2729, 0, 0, 0, 1398, 0, 0, - 0, 0, 208, 1539, 0, 0, 0, 0, 938, 0, 0, 2614, 0, 104, 843, 0, - 2677, 0, 1115, 0, 0, 186, 2456, 236, 8, 0, 110, 795, 0, 0, 0, 0, - 0, 0, 0, 3126, 1492, 0, 558, 718, 813, 0, 0, 545, 668, 406, 1468, 526, - 0, 0, 2977, 0, 1206, 749, 2023, 269, 961, 0, 952, 0, 1723, 0, 1330, 485, - 1402, 0, 1098, 3055, 2116, 0, 494, 0, 0, 3115, 0, 71, 0, 0, 0, 0, - 114, 345, 0, 0, 2829, 1036, 3108, 0, 407, 0, 506, 0, 0, 0, 1145, 550, - 0, 766, 2420, 0, 1234, 87, 199, 3112, 0, 0, 51, 0, 3076, 0, 1263, 0, - 433, 0, 1151, 0, 0, 3038, 2198, 0, 0, 0, 793, 880, 1119, 0, 0, 0, - 561, 0, 0, 1024, 0, 455, 321, 0, 1001, 1483, 0, 810, 1188, 837, 0, 0, - 52, 187, 0, 0, 1409, 1261, 0, 3119, 709, 0, 873, 2982, 0, 3201, 2875, 0, - 3155, 285, 0, 1942, 2041, 240, 1357, 1148, 0, 2395, 0, 856, 1582, 0, 249, 0, - 1191, 1138, 0, 0, 818, 116, 355, 2602, 1176, 0, 1872, 1610, 627, 0, 0, 0, - 3179, 2939, 0, 1085, 255, 38, 2231, 1289, 793, 351, 0, 1281, 0, 3062, 648, 1247, - 0, 0, 3024, 2952, 1299, 386, 2135, 512, 3067, 0, 0, 887, 0, 0, 1334, 0, - 657, 160, 0, 89, 0, 678, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2189, 0, 0, 2813, 0, 1022, 972, 0, 486, 0, 1438, 3198, 1329, 975, 1369, 1129, - 3142, 0, 1193, 869, 2229, 123, 2669, 0, 1030, 0, 1384, 0, 0, 1247, 42, 2501, - 75, 0, 157, 0, 2659, 2776, 1723, 1146, 641, 0, 0, 330, 0, 0, 1294, 0, - 0, 0, 1209, 0, 807, 0, 881, 1398, 258, 0, 1759, 3186, 0, 0, 246, 55, - 579, 1565, 1625, 0, 273, 0, 2759, 800, 0, 234, 1569, 968, 2369, 1184, 0, 2749, - 0, 3032, 1408, 601, 941, 215, 268, 779, 164, 2058, 1391, 0, 3153, 0, 1454, 2713, - 0, 0, 2924, 1875, 0, 1041, 325, 0, 1943, 345, 454, 12, 2946, 0, 1064, 2969, - 2061, 223, 3090, 2964, 116, 0, 1199, 0, 3196, 329, 1141, 705, 0, 1566, 0, 0, - 0, 0, 287, 0, 0, 625, 0, 0, 1575, 205, 0, 0, 0, 1729, 0, 0, - 782, 3054, 0, 0, 0, 0, 73, 0, 4, 0, 2291, 0, 212, 1208, 0, 0, - 0, 689, 521, 498, 710, 532, 0, 0, 2116, 2876, 0, 1471, 415, 836, 0, 0, - 0, 0, 1325, 0, 0, 0, 1801, 2443, 1076, 1747, 8, 1985, 0, 0, 575, 2979, - 0, 0, 3161, 2217, 0, 0, 729, 0, 490, 664, 0, 0, 503, 0, 850, 0, - 991, 2970, 3046, 2957, 1375, 0, 0, 0, 0, 2986, 273, 0, 0, 904, 275, 0, - 2418, 0, 0, 1365, 905, 720, 666, 0, 0, 1389, 998, 0, 1509, 0, 89, 0, - 3148, 0, 0, 0, 249, 0, 0, 0, 1143, 290, 2213, 0, 281, 0, 0, 1172, - 0, 0, 0, 1088, 1517, 739, 2866, 0, 0, 0, 1293, 2021, 2205, 0, 1452, 0, - 185, 1428, 0, 1773, 122, 623, 1339, 1011, 3181, 3203, 888, 2269, 315, 0, 688, 0, - 1231, 0, 1211, 921, 340, 1222, 0, 0, 0, 2695, 0, 1644, 0, 1594, 0, 673, - 0, 3044, 0, 1142, 911, 0, 836, 1135, 2803, 1578, 1905, 1394, 442, 0, 0, 2977, - 0, 0, 989, 296, 162, 0, 0, 534, 0, 1375, 994, 1355, 0, 1701, 987, 0, - 2372, 84, 0, 0, 2699, 0, 1163, 2190, 425, 0, 0, 600, 0, 1570, 0, 946, - 0, 2218, 0, 63, 371, 0, 0, 598, 0, 0, 256, 0, 0, 0, 0, 0, - 0, 763, 3142, 533, 2393, 2685, 0, 595, 57, 0, 2809, 0, 0, 2531, 0, 1029, - 69, 0, 0, 1224, 1218, 0, 1445, 0, 1482, 992, 628, 1284, 0, 602, 183, 0, - 0, 1875, 1232, 3168, 2071, 2553, 0, 0, 0, 2826, 1483, 2353, 0, 2989, 1153, 632, - 0, 835, 1448, 1601, 2235, 33, 1979, 0, 93, 0, 0, 0, 2288, 2900, 0, 1407, - 1356, 359, 0, 1183, 0, 0, 0, 0, 1728, 2729, 2295, 0, 1089, 0, 1305, 2909, - 1257, 1725, 0, 712, 1094, 1398, 0, 2559, 1688, 3158, 0, 1392, 1797, 0, 0, 1077, - 953, 932, 1249, 0, 143, 416, 83, 42, 0, 2751, 2643, 0, 0, 0, 1791, 0, - 31, 97, 0, 65, 747, 434, 0, 0, 878, 0, 0, 0, 2447, 1019, 0, 0, - 3047, 0, 0, 0, 1196, 1159, 0, 743, 2813, 1036, 0, 397, 2959, 938, 0, 1305, - 0, 0, 0, 2577, 1608, 194, 574, 0, 898, 0, 0, 258, 2770, 0, 0, 935, - 0, 0, 0, 0, 778, 622, 0, 1765, 0, 0, 3094, 1571, 1164, 0, 0, 40, - 1040, 469, 0, 112, 0, 1079, 2325, 0, 0, 1063, 3191, 0, 1109, 1135, 2512, 0, - 0, 489, 0, 201, 3181, 2271, 1243, 3103, 0, 0, 374, 0, 0, 0, 0, 0, - 287, 149, 2440, 1147, 592, 1654, 818, 0, 2474, 264, 0, 0, 0, 92, 218, 0, - 0, 7, 0, 0, 180, 0, 1239, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1563, 1353, 2730, 809, 2634, 0, 1613, 2930, 0, 1782, 2507, 0, 501, 1563, 881, 2102, - 3069, 0, 760, 1075, 652, 473, 934, 1850, 0, 0, 3095, 0, 0, 1747, 0, 572, - 358, 2230, 0, 0, 1014, 0, 0, 213, 2911, 3096, 0, 1044, 2263, 1765, 87, 1069, - 471, 550, 263, 839, 1306, 58, 163, 3188, 0, 198, 0, 2496, 1537, 24, 0, 814, - 0, 0, 206, 0, 2592, 1146, 0, 25, 1094, 3047, 2936, 0, 1452, 1484, 1547, 0, - 0, 0, 2035, 1113, 305, 0, 46, 0, 2216, 1719, 3040, 0, 293, 954, 124, 0, - 94, 383, 1980, 535, 2437, 43, 0, 327, 0, 0, 2589, 0, 0, 1208, 2780, 181, - 1859, 0, 2628, 0, 0, 991, 445, 62, 0, 0, 802, 0, 0, 0, 0, 0, - 647, 451, 1025, 1001, 1236, 2275, 1180, 0, 0, 0, 1566, 1183, 171, 0, 2709, 1448, - 0, 0, 0, 300, 0, 0, 596, 0, 1252, 1318, 2538, 1070, 280, 844, 0, 1317, - 257, 2916, 1154, 493, 39, 173, 777, 0, 1030, 303, 492, 0, 0, 0, 2121, 0, - 0, 1464, 1394, 0, 0, 1007, 0, 2732, 0, 0, 705, 1341, 0, 1237, 0, 0, - 0, 0, 0, 1552, 668, 959, 883, 0, 712, 1254, 2745, 0, 0, 3137, 0, 0, - 0, 1806, 13, 395, 0, 1916, 0, 0, 518, 0, 545, 2529, 0, 0, 0, 2919, - 1111, 385, 921, 2879, 0, 148, 1283, 325, 0, 2639, 800, 0, 245, 0, 341, 0, - 2805, 0, 0, 2031, 1100, 591, 0, 2903, 2980, 3182, 0, 463, 1761, 1686, 827, 142, - 2462, 282, 0, 0, 1621, 513, 0, 370, 327, 0, 373, 1344, 0, 771, 1473, 537, - 3127, 0, 0, 0, 0, 1173, 0, 0, 808, 2341, 2994, 0, 0, 1236, 3106, 2511, - 500, 2494, 1327, 973, 0, 726, 0, 2432, 2508, 1090, 140, 0, 2047, 0, 511, 0, - 752, 412, 0, 409, 942, 1193, 0, 2991, 1436, 508, 0, 1071, 1244, 731, 0, 1206, - 305, 2007, 374, 533, 117, 146, 654, 1276, 1018, 0, 0, 0, 1418, 1541, 0, 0, - 230, 0, 724, 319, 2258, 1057, 653, 0, 2684, 0, 2969, 1282, 0, 248, 0, 1048, - 3139, 0, 1511, 0, 1044, 0, 576, 1503, 0, 0, 69, 2572, 0, 0, 546, 90, - 80, 0, 0, 438, 313, 0, 0, 0, 0, 0, 0, 2621, 1538, 3045, 0, 70, - 1078, 384, 2885, 1182, 2890, 11, 0, 1108, 1542, 0, 0, 914, 1443, 0, 2325, 1529, - 0, 606, 0, 972, 0, 825, 0, 225, 1047, 1322, 1051, 1864, 513, 308, 0, 0, - 456, 0, 422, 2906, 767, 0, 2102, 434, 1426, 581, 0, 757, 761, 1614, 376, 86, - 531, 299, 0, 0, 161, 1362, 613, 0}; + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 627, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2220, 0, 0, 0, 0, 0, 0, 1500, 0, 0, 0, 1490, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 3061, 0, 0, 0, 0, 0, 0, 2799, + 0, 0, 0, 0, 2903, 0, 0, 0, 915, 0, 1508, 0, 0, 0, 0, 1952, + 463, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2133, 1276, 0, + 0, 0, 0, 0, 0, 921, 1132, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2153, 0, 2232, 0, 0, 3143, 0, 775, 0, + 0, 1897, 0, 2153, 670, 0, 0, 0, 0, 0, 256, 1445, 0, 0, 1586, 0, + 0, 0, 1585, 3175, 0, 0, 0, 0, 366, 0, 2016, 0, 1506, 0, 215, 0, + 0, 0, 0, 0, 0, 299, 0, 1534, 0, 1656, 0, 120, 0, 0, 821, 0, + 0, 0, 0, 0, 1925, 0, 0, 0, 0, 0, 0, 0, 0, 1629, 3041, 0, + 0, 0, 2949, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2871, 0, 0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 610, + 142, 0, 2263, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 766, 0, 2602, 436, 716, 0, 1932, 3003, 1221, 0, 0, 2847, 0, 975, 0, 675, + 0, 0, 0, 0, 0, 0, 0, 0, 904, 0, 1211, 0, 0, 0, 303, 0, + 993, 1316, 0, 1954, 0, 0, 0, 0, 0, 0, 1824, 0, 0, 3, 0, 0, + 800, 0, 0, 0, 0, 0, 0, 162, 576, 0, 0, 1173, 808, 0, 0, 0, + 0, 0, 0, 0, 520, 529, 0, 818, 0, 0, 0, 0, 96, 485, 0, 757, + 0, 2614, 0, 0, 1096, 0, 0, 0, 0, 0, 1533, 0, 3259, 0, 0, 1381, + 3226, 0, 53, 0, 0, 0, 1810, 0, 0, 0, 0, 0, 1537, 0, 0, 0, + 0, 561, 0, 0, 2413, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1673, 0, + 0, 2868, 2328, 0, 564, 0, 114, 0, 0, 326, 2334, 0, 1432, 0, 871, 0, + 714, 0, 873, 0, 1419, 0, 0, 0, 313, 0, 0, 0, 0, 0, 0, 1188, + 0, 0, 0, 647, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1870, 0, 0, 0, 2946, 0, 814, 579, 0, 0, 0, 2392, + 31, 0, 2796, 0, 225, 0, 0, 548, 940, 200, 3063, 0, 2953, 0, 0, 0, + 0, 229, 0, 127, 0, 0, 0, 0, 0, 2899, 0, 612, 0, 0, 1964, 0, + 1223, 0, 0, 427, 0, 1881, 2511, 3195, 0, 0, 2920, 0, 0, 1159, 0, 0, + 0, 0, 0, 1355, 1182, 0, 574, 0, 525, 0, 0, 0, 0, 0, 2958, 1711, + 0, 0, 0, 0, 0, 3067, 0, 0, 2757, 1415, 0, 2287, 708, 0, 1186, 0, + 0, 0, 667, 0, 0, 0, 1152, 2362, 0, 0, 1678, 0, 630, 1810, 0, 0, + 3046, 0, 0, 0, 0, 2067, 725, 0, 0, 0, 2605, 0, 0, 2, 0, 504, + 0, 0, 0, 0, 1176, 335, 0, 215, 921, 851, 671, 2963, 0, 0, 44, 2700, + 0, 0, 0, 941, 0, 1980, 867, 0, 0, 0, 0, 895, 0, 0, 0, 0, + 0, 375, 0, 0, 2831, 0, 0, 0, 0, 3245, 2317, 922, 0, 0, 0, 859, + 645, 0, 0, 0, 0, 0, 523, 0, 0, 2041, 0, 0, 0, 2825, 2797, 0, + 0, 17, 0, 0, 0, 981, 1412, 0, 397, 1314, 873, 0, 1099, 0, 0, 2191, + 0, 0, 0, 2123, 136, 1329, 0, 0, 0, 0, 0, 0, 0, 0, 816, 0, + 1634, 0, 0, 559, 202, 0, 0, 0, 1691, 0, 1017, 1199, 0, 1357, 0, 0, + 2926, 254, 3299, 1945, 928, 0, 0, 0, 0, 0, 1769, 0, 0, 0, 0, 0, + 1444, 0, 0, 0, 0, 680, 0, 0, 0, 3160, 0, 0, 0, 0, 720, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 1908, 3064, + 356, 0, 0, 0, 0, 0, 395, 0, 0, 0, 0, 772, 0, 0, 0, 0, + 0, 310, 0, 0, 0, 0, 3133, 0, 1475, 0, 0, 0, 0, 0, 0, 0, + 278, 0, 0, 0, 1517, 0, 1085, 0, 336, 3208, 0, 0, 0, 0, 1151, 0, + 672, 2958, 439, 3079, 1783, 0, 2512, 0, 0, 371, 0, 0, 0, 0, 124, 0, + 733, 0, 772, 1020, 3046, 0, 0, 407, 0, 20, 0, 361, 2698, 0, 0, 246, + 1393, 175, 658, 0, 0, 0, 583, 2931, 839, 850, 1292, 0, 0, 0, 0, 342, + 0, 0, 3209, 275, 49, 0, 1475, 67, 2326, 0, 357, 1135, 799, 0, 1939, 0, + 0, 0, 0, 1108, 0, 0, 0, 660, 0, 1839, 0, 0, 113, 12, 0, 685, + 629, 0, 330, 0, 0, 700, 0, 0, 0, 1273, 65, 0, 835, 0, 0, 520, + 0, 0, 0, 0, 0, 0, 65, 0, 322, 686, 0, 1406, 0, 0, 2015, 0, + 0, 3051, 0, 1698, 2186, 0, 3098, 0, 0, 302, 3003, 0, 0, 0, 236, 0, + 0, 0, 380, 0, 198, 0, 396, 0, 0, 0, 825, 0, 1272, 0, 0, 0, + 689, 1879, 0, 2524, 0, 142, 0, 1181, 0, 0, 2336, 0, 0, 3240, 2739, 0, + 2878, 0, 0, 747, 0, 0, 2777, 0, 1040, 0, 0, 3054, 0, 0, 0, 346, + 0, 0, 957, 0, 0, 0, 418, 0, 0, 0, 127, 0, 0, 0, 0, 1889, + 259, 0, 619, 643, 440, 0, 737, 3064, 0, 1746, 1507, 0, 0, 407, 2421, 0, + 1353, 3085, 721, 0, 0, 514, 0, 1617, 929, 598, 0, 944, 0, 0, 0, 1401, + 0, 0, 1929, 0, 0, 3206, 0, 0, 2882, 0, 0, 3254, 2691, 0, 92, 742, + 0, 0, 0, 2333, 0, 0, 0, 0, 0, 665, 2720, 0, 392, 2568, 0, 0, + 0, 2053, 57, 0, 418, 854, 0, 143, 1437, 498, 0, 0, 547, 0, 121, 0, + 0, 0, 0, 0, 150, 0, 0, 1261, 0, 0, 395, 0, 2592, 0, 0, 0, + 629, 0, 0, 0, 528, 0, 1717, 2226, 1817, 0, 1772, 795, 836, 1093, 388, 2462, + 0, 2877, 2852, 1994, 647, 2210, 2646, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1120, 0, 0, 2592, 2766, 2901, 0, 383, 0, 0, 0, 2199, 2653, 0, 0, 0, + 0, 0, 0, 1742, 0, 0, 0, 0, 0, 831, 868, 0, 0, 0, 40, 943, + 169, 0, 2929, 2038, 0, 0, 658, 0, 0, 0, 0, 1013, 0, 0, 17, 872, + 782, 727, 0, 0, 0, 2617, 426, 0, 0, 2833, 2460, 0, 546, 0, 0, 125, + 0, 1026, 0, 2107, 1204, 1055, 0, 0, 0, 0, 867, 1592, 0, 2720, 187, 0, + 0, 2817, 2641, 0, 1549, 0, 1871, 0, 2049, 0, 1118, 2829, 911, 2599, 1543, 0, + 0, 1552, 0, 1311, 1372, 1098, 0, 0, 611, 0, 1770, 1626, 731, 0, 2470, 2241, + 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1180, 0, 41, 0, 0, 0, + 0, 1407, 559, 0, 0, 3017, 1347, 0, 201, 0, 0, 269, 3079, 3160, 707, 89, + 1442, 0, 486, 1369, 2711, 865, 2936, 0, 1101, 2153, 0, 0, 734, 925, 0, 1903, + 0, 0, 279, 0, 1013, 0, 0, 0, 112, 0, 0, 0, 0, 0, 530, 2499, + 789, 857, 560, 0, 0, 1295, 285, 1256, 0, 0, 2971, 218, 233, 0, 955, 363, + 1292, 600, 0, 0, 1910, 0, 0, 0, 0, 333, 2408, 0, 0, 0, 934, 1296, + 0, 0, 2400, 838, 2330, 0, 0, 668, 1797, 901, 0, 0, 517, 0, 0, 0, + 1197, 583, 3147, 2068, 2510, 1252, 0, 0, 0, 0, 0, 250, 1981, 1739, 0, 2012, + 0, 0, 0, 0, 0, 0, 2693, 0, 0, 469, 0, 0, 0, 0, 2774, 0, + 0, 838, 0, 982, 409, 0, 0, 528, 0, 0, 0, 911, 0, 0, 2771, 1431, + 0, 0, 362, 0, 623, 0, 0, 0, 0, 0, 0, 0, 3266, 1063, 0, 0, + 708, 0, 670, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 768, + 0, 0, 361, 0, 0, 0, 3262, 2995, 860, 56, 2932, 0, 149, 0, 0, 75, + 1524, 1486, 1249, 500, 0, 136, 174, 660, 0, 961, 0, 0, 0, 0, 2607, 127, + 0, 0, 0, 495, 0, 0, 0, 1084, 0, 0, 2521, 1342, 0, 0, 1237, 166, + 0, 0, 0, 2668, 715, 401, 619, 0, 763, 0, 1364, 1499, 0, 0, 0, 1190, + 0, 2195, 3049, 281, 0, 242, 721, 226, 286, 282, 2820, 0, 0, 0, 510, 2447, + 313, 2557, 350, 0, 0, 2913, 0, 182, 160, 2824, 284, 0, 0, 1296, 0, 0, + 686, 0, 0, 520, 926, 0, 770, 1525, 0, 2836, 2052, 0, 0, 3021, 483, 0, + 1432, 0, 2986, 0, 0, 783, 1500, 317, 0, 752, 0, 0, 2465, 0, 0, 0, + 2980, 0, 146, 0, 0, 0, 851, 0, 0, 0, 0, 0, 0, 1404, 0, 0, + 2674, 459, 0, 2687, 2302, 3204, 0, 0, 0, 0, 3099, 3015, 462, 0, 2763, 0, + 2671, 0, 1842, 0, 0, 1270, 713, 88, 524, 23, 0, 1638, 2307, 1462, 1058, 1771, + 84, 0, 2392, 0, 0, 0, 0, 0, 1258, 0, 1864, 1049, 983, 0, 0, 1156, + 848, 0, 1739, 0, 1562, 0, 0, 1228, 153, 0, 122, 853, 0, 579, 0, 0, + 0, 0, 781, 0, 777, 965, 354, 278, 557, 0, 2486, 0, 898, 0, 392, 948, + 1039, 1008, 0, 0, 2001, 0, 869, 0, 930, 0, 0, 0, 0, 0, 0, 0, + 2895, 0, 775, 0, 3186, 0, 2204, 863, 835, 0, 0, 749, 0, 0, 482, 3132, + 0, 0, 0, 2905, 0, 1860, 907, 1417, 3257, 1426, 0, 0, 1955, 1949, 1036, 0, + 0, 3272, 2532, 0, 273, 0, 2579, 0, 0, 0, 0, 39, 2138, 198, 2816, 0, + 271, 0, 0, 3193, 929, 786, 3266, 0, 1423, 0, 1011, 0, 0, 0, 1902, 0, + 139, 2634, 0, 0, 2904, 1750, 3280, 0, 0, 1150, 0, 0, 0, 0, 326, 0, + 977, 0, 2022, 331, 147, 1519, 0, 3166, 0, 2976, 1409, 834, 0, 0, 669, 1344, + 0, 960, 0, 220, 2351, 0, 0, 1077, 0, 0, 588, 0, 0, 0, 1531, 62, + 0, 2540, 672, 0, 0, 1357, 789, 0, 0, 0, 2713, 588, 375, 1044, 2439, 828, + 1134, 111, 2289, 0, 1904, 3132, 0, 831, 492, 1493, 830, 1659, 101, 792, 2310, 0, + 2507, 1399, 0, 3068, 0, 935, 2461, 992, 0, 0, 324, 113, 0, 0, 178, 0, + 1262, 0, 1417, 0, 0, 1401, 209, 435, 1222, 1254, 0, 2642, 1198, 36, 2308, 1515, + 601, 0, 1802, 160, 318, 1953, 0, 596, 0, 0, 0, 665, 0, 3147, 1442, 1167, + 3003, 0, 942, 0, 860, 0, 0, 928, 0, 1280, 978, 753, 0, 0, 1086, 2673, + 2500, 774, 0, 0, 840, 0, 0, 885, 1326, 0, 0, 0, 0, 1210, 875, 2798, + 0, 0, 11, 3016, 86, 0, 223, 1204, 0, 3219, 0, 0, 683, 906, 2296, 2981, + 0, 837, 0, 956, 2920, 0, 0, 2561, 1333, 2340, 95, 0, 649, 2945, 0, 0, + 1092, 0, 0, 745, 163, 2487, 0, 1045, 0, 2817, 0, 2118, 1340, 0, 1540, 0, + 3281, 600, 648, 2869, 0, 3112, 0, 880, 1297, 0, 0, 2980, 277, 0, 0, 0, + 88, 217, 1160, 0, 953, 886, 0, 1116, 0, 2340, 0, 1264, 0, 38, 2048, 1247, + 105, 0, 276, 465, 0, 2140, 0, 1638, 3227, 0, 1100, 0, 0, 0, 1120, 2650, + 0, 1304, 1394, 1183, 0, 0, 1411, 610, 0, 3166, 2865, 0, 173, 0, 0, 879, + 645, 0, 70, 0, 52, 2561, 0, 0, 365, 0, 1060, 0, 86, 0, 330, 0, + 0, 0, 433, 407, 38, 0, 2968, 639, 0, 0, 0, 497, 773, 0, 0, 243, + 0, 466, 522, 0, 1434, 321, 772, 0, 890, 1398, 0, 0, 1226, 1151, 0, 0, + 340, 0, 3152, 453, 526, 0, 2673, 1668, 0, 0, 0, 0, 0, 0, 1144, 433, + 533, 3044, 1075, 0, 449, 2086, 657, 0, 581, 0, 0, 0, 2933, 2651, 361, 3030, + 0, 0, 201, 0, 1305, 0, 0, 1162, 1195, 1613, 0, 0, 1660, 2533, 2556, 0, + 0, 0, 0, 0, 666, 578, 1132, 0, 1006, 165, 1256, 298, 123, 2218, 0, 0, + 0, 3049, 0, 973, 0, 953, 2275, 781, 0, 0, 0, 0, 0, 364, 0, 2150, + 323, 0, 0, 0, 904, 2266, 2603, 2568, 909, 0, 2955, 438, 483, 0, 0, 760, + 1359, 372, 3127, 0, 0, 0, 590, 1112, 219, 0, 1223, 162, 0, 1501, 0, 584, + 2319, 0, 0, 1841, 411, 159, 697, 0, 1866, 1546, 0, 0, 407, 94, 2064, 0, + 969, 0, 2392, 2754, 1420, 2441, 3133, 1385, 652, 738, 2915, 3225, 1242, 0, 1777, 1899, + 0, 0, 0, 2900, 0, 0, 243, 711, 820, 0, 0, 0, 0, 1438, 1797, 692, + 1354, 0, 0, 1631, 0, 1738, 2882, 473, 0, 677, 42, 250, 0, 674, 0, 0, + 96, 0, 712, 0, 0, 399, 1814, 805, 65, 681, 0, 0, 0, 312, 2194, 223, + 0, 1318, 1458, 311, 0, 1197, 990, 1422, 802, 0, 180, 917, 0, 0, 0, 259, + 0, 1911, 0, 1118, 0, 1067, 1283, 0, 0, 0, 815, 2366, 1093, 0, 2823, 286, + 0, 0, 0, 0, 471, 0, 0, 803, 503, 66, 0, 1390, 370, 0, 1241, 19, + 0, 1186, 133, 0, 2137, 0, 0, 481, 0, 0, 662, 2804, 2502, 690, 0, 0, + 0, 0, 0, 0, 0, 1129, 1533, 0, 0, 572, 443, 843, 556, 651, 0, 0, + 240, 0, 103, 467, 1225, 780, 2047, 1245, 1096, 989, 2629, 626, 0, 0, 1897, 0, + 339, 2523, 885, 274, 0, 2042, 0, 3152, 0, 2551, 718, 1301, 1561, 3035, 0, 0, + 3023, 0, 0, 3290, 719, 0, 1142, 0, 1186, 1334, 733, 0, 0, 0, 1121, 1311, + 0, 338, 2196, 0, 2956, 1485, 1320, 2980, 594, 0, 1421, 0, 1260, 925, 278, 0, + 0, 0, 0, 0, 2729, 0, 0, 0, 332, 1473, 1925, 230, 438, 515, 2478, 0, + 0, 810, 0, 796, 2985, 393, 1135, 0, 412, 0, 575, 287, 0, 0, 0, 2694, + 0, 0, 0, 334, 466, 1405, 0, 0, 707, 0, 0, 0, 2358, 0, 3096, 0, + 877, 0, 1442, 1041, 102, 2544, 2609, 0, 696, 0, 790, 740, 0, 0, 154, 0, + 1117, 0, 0, 0, 50, 0, 2195, 97, 0, 959, 0, 0, 2126, 277, 0, 1371, + 0, 2996, 0, 1164, 1419, 404, 326, 3238, 539, 0, 0, 33, 0, 74, 708, 2305, + 0, 0, 2829, 529, 0, 1286, 103, 320, 0, 0, 1241, 0, 0, 0, 2060, 2724, + 468, 0, 19, 99, 0, 0, 679, 2560, 0, 0, 0, 1583, 1169, 775, 0, 936, + 1425, 152, 2188, 0, 1443, 949, 834, 0, 0, 810, 735, 2456, 2528, 1107, 0, 0, + 128, 0, 337, 0, 881, 0, 3297, 0, 371, 716, 594, 0, 96, 0, 1508, 0, + 0, 0, 0, 0, 2768, 0, 0, 572, 0, 1115, 0, 0, 23, 0, 0, 154, + 224, 1249, 2703, 0, 0, 3270, 0, 1399, 0, 0, 453, 0, 690, 0, 3006, 0, + 0, 1679, 0, 1070, 0, 0, 2209, 566, 0, 2841, 0, 2426, 1302, 0, 192, 1174, + 963, 2696, 1459, 1367, 1560, 1579, 53, 1705, 0, 156, 0, 1378, 2547, 769, 0, 0, + 1587, 0, 2936, 56, 605, 0, 0, 2022, 0, 351, 433, 0, 0, 0, 192, 0, + 991, 0, 642, 708, 1837, 0, 0, 0, 2729, 577, 272, 2931, 749, 2765, 0, 607, + 0, 3128, 264, 2373, 0, 0, 1536, 3275, 0, 0, 3110, 981, 0, 957, 0, 638, + 0, 0, 0, 0, 0, 2793, 1916, 0, 2381, 2733, 1002, 1126, 0, 0, 0, 56, + 2056, 165, 0, 734, 672, 0, 834, 1507, 0, 518, 2923, 0, 0, 1471, 0, 2104, + 242, 53, 1349, 0, 571, 551, 0, 2565, 557, 1109, 0, 2970, 1297, 0, 1192, 1285, + 2401, 813, 2793, 649, 0, 378, 726, 2164, 904, 2303, 0, 0, 760, 982, 1030, 0, + 0, 640, 1161, 969, 0, 2998, 0, 0, 841, 158, 1813, 645, 0, 893, 2543, 853, + 201, 0, 3063, 0, 15, 0, 702, 145, 1497, 225, 54, 287, 472, 0, 0, 0, + 0, 552, 737, 0, 1969, 0, 3262, 0, 3229, 2462, 0, 1464, 0, 95, 1526, 0, + 432, 5, 1067, 0, 302, 2892, 0, 1535, 401, 0, 1675, 0, 1213, 1250, 0, 3081, + 3006, 222, 2055, 0, 0, 796, 0, 597, 863, 966, 542, 0, 0, 899, 962, 0, + 3088, 0, 1173, 97, 415, 582, 0, 1250, 728, 0, 0, 0, 686, 299, 573, 2775, + 0, 1771, 1614, 461, 0, 855, 0, 998, 1403, 238, 155, 0, 937, 2959, 0, 1023, + 1139, 555, 0, 336, 1511, 0, 1006, 863, 3226, 655, 3006, 0, 980, 1177, 0, 2375, + 0, 1554, 74, 1484, 1681, 0, 0, 863, 2363, 0, 0, 0, 3080, 518, 806, 0, + 0, 0, 2800, 768, 355, 0, 3259, 930, 199, 2369, 1409, 0, 0, 0, 0, 1064, + 0, 0, 914, 200, 424, 3295, 0, 0, 1706, 1456, 0, 0, 1275, 2952, 3050, 0, + 0, 1147, 671, 0, 3107, 210, 519, 171, 1361, 0, 811, 0, 0, 0, 0, 882, + 1124, 764, 0, 0, 307, 603, 1906, 120, 0, 0, 570, 0, 0, 862, 0, 0, + 617, 0, 1962, 0, 1502, 0, 0, 0, 0, 0, 0, 2412, 1463, 809, 1015, 0, + 0, 1145, 247, 0, 0, 0, 385, 232, 0, 2946, 0, 32, 0, 0, 445, 329, + 866, 0, 0, 0, 3039, 0, 188, 168, 337, 695, 145, 0, 0, 0, 2319, 635, + 856, 1185, 0, 1456, 0, 0, 0, 0, 1418, 0, 209, 901, 1352, 271, 0, 1215, + 797, 763, 0, 0, 2686, 2690, 0, 0, 1575, 0, 0, 3012, 194, 2785, 1024, 73, + 781, 960, 0, 1428, 1340, 0, 486, 0, 0, 0, 715, 0, 0, 3161, 1209, 0, + 1008, 0, 1392, 1427, 0, 0, 0, 559, 2880, 0, 1100, 171, 0, 0, 379, 1327, + 0, 0, 2403, 1153, 885, 423, 0, 0, 760, 28, 0, 0, 0, 0, 2055, 0, + 282, 244, 0, 1509, 1154, 104, 0, 143, 490, 0, 0, 1021, 0, 931, 0, 153, + 0, 34, 728, 0, 130, 2970, 0, 455, 593, 266, 613, 0, 96, 0, 1006, 1319, + 1617, 359, 0, 0, 47, 226, 3079, 871, 0, 0, 0, 1144, 0, 2399, 51, 2104, + 0, 0, 253, 0, 984, 315, 0, 2771, 0, 0, 115, 730, 0, 116, 0, 3166, + 0, 0, 0, 746, 0, 784, 0, 0, 2489, 0, 1607, 0, 845, 0, 480, 789, + 992, 1550, 1047, 2728, 1191, 1844, 0, 0, 0, 114, 2398, 0, 3113, 844, 2660, 0, + 0, 3298, 0, 90, 2705, 1157, 845, 684, 1586, 0, 241, 0, 0, 3266, 0, 1557, + 3056, 908, 2595, 488, 0, 0, 3062, 0, 6, 2633, 657, 2657, 0, 0, 1472, 0, + 0, 0, 182, 0, 39, 2165, 2700, 2871, 710, 0, 3109, 183, 1341, 0, 0, 559, + 1149, 0, 0, 0, 0, 373, 478, 1047, 0, 475, 1310, 463, 0, 0, 535, 0, + 513, 2606, 288, 680, 0, 545, 0, 0, 1118, 417, 2946, 981, 305, 765, 0, 275, + 0, 3272, 394, 0, 2216, 0, 1290, 0, 25, 0, 0, 0, 1287, 548, 0, 1200, + 1119, 1572, 1638, 0, 2253, 0, 0, 2504, 608, 1342, 374, 0, 870, 0, 0, 765, + 1057, 0, 0, 0, 760, 132, 1464, 0, 0, 2342, 0, 0, 0, 0, 1985, 0, + 3125, 0, 1414, 0, 1037, 1094, 0, 1165, 97, 0, 1785, 2910, 1980, 2016, 135, 0, + 1590, 242, 0, 827, 0, 185, 1573, 0, 0, 2752, 140, 2917, 0, 330, 2137, 0, + 448, 0, 1915, 0, 0, 0, 1165, 831, 0, 1355, 0, 1579, 1108, 0, 0, 2038, + 1290, 0, 1313, 1045}; int MangledHashG(const char *key, const int *T) { @@ -244,40 +250,39 @@ int MangledHashG(const char *key, const int *T) for (int i = 0; key[i] != '\0'; i++) { sum += T[i] * key[i]; - sum %= 3208; + sum %= 3300; } return mangledkG[sum]; } int MangledPerfectHash(const char *key) { - if (strlen(key) > 40) + if (strlen(key) > 37) return 0; - return (MangledHashG(key, mangledkT1) + MangledHashG(key, mangledkT2)) % 3208; + return (MangledHashG(key, mangledkT1) + MangledHashG(key, mangledkT2)) % 3300; } -constexpr int unmangledkT1[] = {246, 133, 248, 237, 59, 207, 93, 240, 98, 265, 137, 42, 147, - 269, 280, 3, 248, 202, 278, 80, 240, 202, 142, 149, 257, 17}; -constexpr int unmangledkT2[] = {166, 291, 199, 102, 183, 190, 20, 31, 50, 30, 134, 213, 202, - 55, 268, 11, 15, 108, 22, 43, 119, 187, 239, 91, 190, 47}; +constexpr int unmangledkT1[] = {154, 95, 278, 6, 35, 255, 255, 225, 266, 107, 238, 214, 59, + 198, 267, 139, 100, 265, 109, 264, 131, 194, 214, 44, 182, 215}; +constexpr int unmangledkT2[] = {5, 249, 205, 267, 173, 112, 278, 212, 74, 228, 266, 117, 51, + 32, 189, 252, 56, 269, 171, 211, 27, 253, 18, 16, 129, 107}; constexpr int unmangledkG[] = { - 0, 42, 0, 0, 0, 127, 0, 0, 0, 291, 0, 201, 0, 0, 234, 0, 0, 0, 0, - 45, 0, 0, 0, 0, 0, 152, 156, 0, 67, 0, 230, 127, 0, 0, 161, 0, 0, 59, - 0, 265, 0, 241, 0, 160, 155, 0, 0, 46, 25, 0, 109, 0, 147, 21, 0, 32, 0, - 0, 0, 0, 84, 23, 16, 142, 177, 0, 18, 0, 27, 66, 255, 142, 135, 59, 222, 57, - 39, 0, 0, 99, 142, 122, 0, 32, 0, 0, 75, 0, 0, 136, 291, 68, 0, 0, 0, - 19, 64, 205, 0, 238, 274, 176, 120, 80, 81, 105, 0, 201, 42, 0, 0, 60, 268, 3, - 277, 0, 39, 0, 31, 14, 0, 54, 181, 93, 277, 149, 0, 146, 153, 0, 0, 0, 158, - 278, 0, 0, 65, 238, 158, 0, 73, 276, 0, 0, 185, 140, 0, 0, 0, 179, 0, 38, - 0, 39, 0, 166, 88, 54, 0, 232, 0, 0, 57, 0, 80, 0, 0, 30, 0, 91, 0, - 0, 75, 0, 108, 0, 9, 212, 0, 55, 0, 196, 21, 0, 0, 153, 76, 239, 0, 0, - 119, 86, 0, 193, 282, 0, 0, 0, 98, 2, 0, 102, 0, 13, 64, 0, 25, 58, 67, - 0, 117, 159, 0, 0, 5, 29, 0, 56, 186, 54, 0, 254, 180, 84, 290, 0, 120, 0, - 204, 39, 5, 0, 0, 44, 151, 0, 0, 254, 0, 93, 136, 194, 152, 0, 166, 115, 87, - 0, 0, 0, 0, 138, 0, 62, 15, 0, 0, 41, 274, 90, 239, 113, 0, 0, 118, 246, - 273, 226, 0, 133, 0, 269, 0, 3, 0, 0, 98, 277, 86, 151, 156, 218, 282, 0, 0, - 0, 0, 29, 51, 0, 129, 63}; + 0, 0, 0, 0, 259, 157, 231, 0, 81, 131, 0, 271, 0, 0, 0, 111, 0, 0, 55, + 75, 47, 73, 70, 0, 0, 242, 83, 0, 0, 198, 127, 8, 82, 100, 23, 0, 100, 0, + 216, 123, 55, 242, 215, 0, 0, 0, 56, 0, 0, 0, 0, 34, 104, 0, 16, 149, 0, + 0, 160, 30, 0, 0, 0, 0, 0, 0, 96, 277, 76, 82, 234, 0, 0, 120, 8, 28, + 0, 173, 100, 97, 0, 0, 215, 0, 0, 78, 0, 67, 253, 0, 6, 35, 139, 241, 271, + 29, 254, 0, 9, 0, 209, 36, 219, 266, 28, 0, 27, 24, 221, 45, 109, 219, 0, 13, + 0, 90, 0, 188, 0, 0, 116, 78, 0, 75, 42, 146, 0, 0, 0, 0, 25, 0, 0, + 163, 0, 0, 0, 141, 222, 255, 0, 0, 86, 99, 0, 124, 157, 260, 259, 0, 142, 159, + 0, 23, 0, 0, 5, 67, 190, 0, 0, 202, 54, 0, 0, 34, 1, 103, 87, 51, 0, + 0, 0, 10, 0, 25, 154, 161, 143, 0, 61, 0, 255, 239, 27, 126, 7, 162, 66, 0, + 103, 144, 192, 0, 45, 83, 0, 46, 0, 0, 63, 110, 215, 130, 271, 21, 217, 0, 0, + 0, 251, 0, 18, 15, 0, 0, 0, 266, 115, 0, 55, 137, 189, 0, 89, 142, 0, 0, + 60, 96, 0, 0, 0, 137, 92, 227, 58, 70, 0, 159, 21, 38, 198, 105, 0, 72, 53, + 0, 66, 30, 100, 113, 239, 0, 0, 0, 51, 0, 0, 0, 264, 0, 0, 0, 0, 0, + 166, 25, 0, 135, 9, 167, 278, 0, 117, 0, 92, 0, 76}; int UnmangledHashG(const char *key, const int *T) { @@ -286,7 +291,7 @@ int UnmangledHashG(const char *key, const int *T) for (int i = 0; key[i] != '\0'; i++) { sum += T[i] * key[i]; - sum %= 292; + sum %= 279; } return unmangledkG[sum]; } @@ -296,7 +301,7 @@ int UnmangledPerfectHash(const char *key) if (strlen(key) > 26) return 0; - return (UnmangledHashG(key, unmangledkT1) + UnmangledHashG(key, unmangledkT2)) % 292; + return (UnmangledHashG(key, unmangledkT1) + UnmangledHashG(key, unmangledkT2)) % 279; } } // namespace diff --git a/gfx/angle/checkout/src/compiler/translator/ImmutableString_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/ImmutableString_autogen.cpp index 00ee3157b57b..7c7360df5fcc 100644 --- a/gfx/angle/checkout/src/compiler/translator/ImmutableString_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ImmutableString_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -26,260 +26,294 @@ std::ostream &operator<<(std::ostream &os, const sh::ImmutableString &str) namespace { -constexpr int mangledkT1[] = {3102, 1325, 1351, 3001, 1248, 3253, 589, 739, 2360, 2951, - 1700, 3759, 2038, 664, 3245, 3120, 1585, 527, 2294, 2587, - 1485, 188, 2635, 932, 884, 1991, 918, 320, 2213, 3603, - 676, 1242, 115, 2611, 2163, 2535, 3233, 54, 3230, 1500}; -constexpr int mangledkT2[] = {1129, 226, 3871, 1567, 3267, 3307, 452, 3099, 2330, 3246, - 3512, 1556, 3216, 909, 1679, 1812, 3619, 2551, 2821, 3333, - 3764, 2526, 2149, 2101, 1636, 2341, 2985, 454, 627, 1307, - 466, 537, 2536, 736, 2238, 1704, 1050, 3135, 564, 182}; +constexpr int mangledkT1[] = {3064, 1851, 1414, 3139, 4344, 3861, 2198, 569, 2942, 936, + 1011, 2797, 994, 3172, 2246, 1929, 3580, 2059, 3211, 2760, + 3315, 3834, 4289, 1359, 1965, 849, 1949, 3923, 2685, 4274, + 4060, 2274, 1752, 1405, 743, 2453, 2110}; +constexpr int mangledkT2[] = {3974, 952, 3020, 19, 962, 3302, 1369, 968, 2483, 3954, + 2409, 949, 1306, 577, 1474, 224, 2913, 2365, 494, 208, + 654, 3238, 2268, 54, 1039, 35, 3881, 44, 150, 967, + 1157, 2004, 4019, 4114, 1201, 3022, 2477}; constexpr int mangledkG[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 973, 0, 0, 2762, 0, 0, 3695, - 2780, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2474, - 0, 616, 0, 0, 0, 0, 0, 626, 0, 0, 0, 0, 0, 242, 0, 0, - 0, 2505, 1729, 3344, 0, 0, 362, 0, 139, 0, 0, 0, 0, 3022, 2925, 0, - 0, 0, 0, 0, 0, 961, 0, 2450, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1206, 0, 0, 0, 0, 0, 2292, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 2294, 0, 0, 0, 0, 0, 0, 3243, 0, 0, 1832, 1889, - 3015, 2347, 397, 0, 0, 0, 0, 0, 2268, 487, 1220, 0, 0, 2970, 0, 0, - 0, 0, 0, 0, 0, 192, 1062, 0, 0, 0, 0, 0, 0, 0, 0, 1118, - 0, 0, 1389, 0, 0, 0, 0, 3334, 0, 0, 1866, 0, 0, 0, 3268, 0, - 0, 1397, 0, 0, 0, 0, 0, 735, 0, 0, 0, 193, 15, 0, 3158, 0, - 0, 0, 3298, 2376, 0, 1462, 2924, 183, 0, 2649, 0, 0, 3226, 3552, 3343, 0, - 2502, 3258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1942, 0, 0, 397, - 1413, 2818, 0, 0, 0, 0, 2738, 2414, 3786, 0, 0, 0, 67, 0, 0, 236, - 0, 0, 0, 0, 2668, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1223, 0, - 0, 0, 0, 0, 264, 1411, 0, 0, 820, 0, 1770, 0, 806, 833, 0, 0, - 1814, 3051, 0, 3651, 2100, 0, 66, 0, 878, 0, 0, 0, 1974, 854, 0, 2011, - 0, 0, 0, 0, 3393, 1300, 0, 0, 0, 109, 0, 0, 0, 0, 3313, 0, - 3075, 0, 0, 0, 617, 0, 0, 2650, 0, 0, 465, 3456, 152, 84, 3232, 752, - 1075, 0, 0, 1699, 0, 224, 863, 0, 0, 0, 0, 0, 0, 2953, 0, 0, - 0, 3203, 0, 121, 0, 2641, 0, 0, 0, 204, 0, 0, 1953, 0, 0, 0, - 0, 3898, 3511, 0, 1586, 696, 0, 0, 2698, 0, 2432, 3277, 0, 0, 1511, 663, - 0, 0, 1570, 0, 604, 3199, 0, 0, 1463, 393, 0, 0, 0, 0, 2089, 1937, - 752, 0, 532, 0, 1645, 0, 939, 3461, 2351, 1982, 0, 3505, 0, 661, 0, 0, - 0, 0, 0, 1720, 753, 3334, 0, 2086, 164, 0, 2217, 1863, 0, 0, 0, 0, - 0, 3788, 1074, 0, 1229, 0, 403, 0, 910, 345, 0, 1835, 129, 2886, 0, 0, - 0, 0, 2440, 2572, 0, 0, 0, 0, 0, 3718, 0, 3856, 13, 0, 2909, 449, - 0, 0, 0, 0, 0, 3898, 0, 0, 0, 0, 0, 0, 0, 1796, 0, 3301, - 0, 3374, 0, 0, 0, 2637, 0, 0, 0, 0, 0, 2487, 24, 1432, 0, 1127, - 99, 0, 0, 0, 0, 3601, 3638, 2083, 0, 3667, 676, 1955, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 2263, 2650, 0, 0, 813, 2872, 0, 0, 1530, 1263, - 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 509, 2814, - 1472, 1384, 0, 0, 0, 0, 0, 3528, 0, 0, 0, 0, 923, 649, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 183, 0, 439, - 1359, 0, 0, 0, 0, 1291, 167, 0, 0, 591, 0, 1224, 0, 1753, 0, 0, - 0, 0, 418, 3560, 0, 1326, 2703, 0, 0, 2694, 0, 104, 440, 0, 0, 0, - 0, 0, 0, 0, 0, 2005, 0, 2661, 0, 0, 2969, 1668, 3653, 0, 0, 0, - 0, 0, 0, 3832, 0, 2835, 380, 0, 3081, 0, 0, 0, 199, 0, 653, 3303, - 0, 3432, 0, 1524, 1795, 2718, 0, 2461, 0, 0, 1838, 0, 0, 724, 1453, 0, - 0, 578, 2660, 2676, 1297, 0, 0, 0, 0, 3364, 0, 0, 0, 0, 0, 1997, - 0, 0, 0, 79, 0, 319, 1270, 1804, 515, 254, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1728, 0, 938, 2011, 1135, 419, 3847, 0, 0, - 992, 0, 1601, 0, 0, 0, 0, 0, 3562, 867, 0, 0, 0, 27, 0, 0, - 1426, 0, 0, 2559, 686, 0, 0, 0, 0, 608, 1880, 3358, 0, 0, 76, 0, - 0, 0, 0, 1686, 1122, 780, 0, 0, 2811, 0, 805, 0, 3568, 3098, 0, 0, - 0, 0, 0, 0, 0, 0, 2172, 429, 3755, 0, 819, 0, 0, 0, 538, 3871, - 3617, 2269, 0, 147, 0, 3475, 2291, 0, 0, 868, 2865, 2720, 738, 0, 9, 766, - 353, 2940, 521, 0, 0, 0, 0, 0, 3649, 1789, 121, 0, 0, 438, 2023, 0, - 0, 1124, 0, 0, 0, 0, 0, 469, 3089, 0, 3837, 2214, 273, 1776, 722, 0, - 0, 0, 0, 0, 0, 3583, 3394, 0, 0, 1302, 3405, 0, 1191, 1277, 0, 3244, - 0, 1010, 0, 771, 775, 0, 1234, 340, 0, 0, 0, 1029, 0, 0, 1037, 306, - 2918, 0, 0, 1276, 2437, 948, 3700, 2008, 0, 0, 0, 486, 0, 3645, 510, 287, - 1555, 1946, 483, 0, 3344, 0, 3126, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 3249, 0, 0, 0, 2124, 1044, 0, 2645, 0, 0, 0, 0, 3079, 0, 0, - 0, 0, 0, 0, 0, 581, 3109, 0, 934, 0, 0, 0, 0, 0, 3881, 1317, - 0, 1109, 781, 1122, 0, 1191, 1355, 3154, 0, 817, 3560, 765, 2974, 0, 0, 461, - 2776, 1285, 154, 0, 0, 1414, 0, 0, 0, 0, 525, 0, 0, 0, 0, 0, - 2040, 0, 1688, 1493, 342, 0, 1988, 2055, 3664, 0, 0, 0, 0, 3009, 1412, 1879, - 0, 3385, 0, 0, 0, 2079, 0, 0, 1781, 1010, 108, 723, 0, 1690, 2810, 3783, - 0, 3575, 0, 3907, 0, 0, 0, 0, 0, 270, 0, 0, 0, 2331, 0, 2006, - 3770, 0, 0, 1036, 632, 0, 0, 0, 0, 2318, 0, 0, 0, 0, 3878, 1634, - 0, 0, 1529, 0, 0, 2716, 0, 0, 0, 0, 1054, 0, 896, 0, 0, 0, - 0, 2124, 481, 0, 2613, 0, 912, 0, 0, 3746, 305, 2703, 0, 0, 1175, 1283, - 3886, 2628, 0, 92, 0, 0, 0, 0, 1490, 178, 0, 503, 702, 158, 0, 2096, - 0, 0, 0, 0, 1670, 1409, 0, 0, 0, 0, 2260, 0, 0, 1825, 0, 1631, - 635, 330, 0, 0, 1900, 2157, 3669, 3727, 1122, 2498, 0, 0, 1377, 2971, 321, 1839, - 0, 0, 3277, 141, 2528, 0, 0, 227, 1866, 0, 0, 339, 0, 0, 404, 0, - 2374, 1075, 2268, 1018, 2103, 0, 0, 0, 0, 0, 922, 0, 0, 2266, 0, 2027, - 0, 3904, 0, 654, 0, 484, 2286, 0, 0, 1868, 161, 0, 3515, 255, 1416, 3170, - 0, 0, 0, 528, 711, 1932, 0, 0, 0, 0, 288, 0, 3459, 0, 0, 0, - 655, 0, 2951, 571, 2357, 0, 0, 0, 0, 0, 0, 0, 2590, 1535, 0, 0, - 912, 0, 0, 0, 1011, 821, 0, 0, 1799, 0, 0, 0, 0, 0, 0, 0, - 0, 2238, 0, 1591, 0, 3622, 2020, 2798, 0, 0, 0, 3522, 0, 87, 2687, 3437, - 0, 0, 0, 0, 3307, 386, 2148, 0, 1410, 0, 0, 3563, 3214, 0, 0, 2854, - 3813, 0, 480, 1560, 1760, 0, 0, 871, 0, 0, 0, 2318, 1249, 1689, 1358, 2132, - 2163, 2945, 0, 991, 332, 2860, 139, 63, 0, 2621, 2871, 1084, 0, 0, 470, 729, - 0, 0, 0, 0, 1442, 485, 3878, 740, 267, 0, 3366, 1, 2026, 0, 0, 214, - 914, 2285, 0, 0, 1395, 0, 0, 0, 848, 1362, 0, 1670, 0, 0, 0, 1754, - 0, 240, 0, 2923, 803, 0, 3737, 0, 932, 0, 2561, 0, 0, 2481, 0, 1902, - 2426, 1238, 2118, 1248, 0, 3123, 0, 3614, 0, 0, 1562, 0, 0, 1264, 0, 0, - 2517, 1042, 0, 1322, 1074, 397, 0, 0, 3245, 0, 307, 0, 0, 2735, 0, 0, - 0, 2187, 3421, 0, 78, 1464, 0, 2229, 1124, 1620, 0, 1851, 1266, 3861, 3570, 2512, - 3721, 0, 2434, 0, 898, 595, 1028, 0, 0, 674, 552, 1303, 107, 0, 2828, 1223, - 2115, 488, 1162, 1495, 297, 1451, 0, 1263, 2406, 2547, 3691, 58, 0, 0, 901, 0, - 188, 3764, 552, 1100, 2652, 1908, 0, 0, 3509, 2174, 0, 2721, 1608, 3120, 0, 0, - 2208, 2502, 0, 0, 0, 141, 0, 0, 3513, 1495, 1346, 0, 0, 0, 3470, 212, - 1489, 558, 414, 0, 286, 1218, 0, 0, 1959, 397, 0, 687, 0, 3477, 0, 1961, - 0, 1080, 0, 3273, 3838, 2167, 0, 539, 259, 2751, 2004, 591, 1961, 0, 0, 3217, - 2929, 0, 55, 1744, 0, 1974, 1200, 3712, 0, 1782, 437, 0, 0, 0, 0, 0, - 2641, 1928, 0, 3837, 0, 0, 3330, 2153, 1863, 170, 55, 0, 607, 0, 157, 0, - 1080, 622, 0, 0, 2132, 3659, 0, 0, 1926, 327, 1581, 580, 0, 1385, 0, 279, - 0, 590, 2185, 0, 0, 3600, 655, 1765, 0, 0, 0, 2349, 0, 1604, 0, 0, - 0, 378, 821, 0, 9, 1375, 1667, 787, 0, 0, 1331, 0, 0, 30, 1701, 3175, - 0, 0, 520, 3496, 1961, 0, 0, 0, 2421, 328, 0, 0, 0, 705, 0, 196, - 649, 0, 2141, 0, 0, 0, 3375, 142, 0, 1235, 467, 1317, 0, 0, 0, 2020, - 1310, 1774, 0, 1984, 1970, 1576, 1253, 1666, 5, 0, 0, 0, 0, 3866, 1608, 1022, - 2036, 1541, 0, 0, 3463, 2681, 0, 151, 0, 1514, 1431, 0, 0, 657, 2420, 1138, - 0, 511, 0, 2862, 0, 0, 2112, 335, 374, 0, 1633, 3431, 2234, 0, 1917, 0, - 0, 0, 1463, 0, 1479, 2534, 0, 0, 3101, 3053, 2960, 426, 3640, 2198, 2870, 1132, - 3408, 0, 2876, 1012, 0, 0, 0, 0, 3071, 0, 0, 1005, 315, 44, 0, 0, - 1002, 1920, 1183, 0, 0, 2613, 2154, 1517, 0, 3444, 0, 3593, 0, 2733, 1891, 3882, - 40, 918, 242, 0, 3341, 1565, 2210, 1290, 1846, 3872, 2684, 1526, 58, 815, 1012, 2657, - 1402, 0, 0, 0, 84, 2751, 0, 0, 0, 3074, 0, 3785, 1199, 0, 924, 3605, - 0, 0, 1074, 0, 3857, 167, 2251, 0, 0, 0, 0, 0, 1650, 1696, 0, 0, - 0, 0, 910, 2774, 1579, 643, 0, 1834, 0, 3599, 0, 0, 0, 116, 2817, 754, - 0, 0, 0, 3835, 662, 826, 638, 0, 818, 0, 2527, 0, 0, 0, 376, 0, - 2114, 0, 523, 2881, 1323, 3508, 293, 830, 2124, 490, 1006, 3688, 0, 3863, 2800, 0, - 0, 878, 0, 2214, 0, 0, 210, 1404, 0, 0, 0, 0, 3177, 255, 0, 0, - 3673, 540, 1528, 2066, 452, 1568, 1052, 2062, 0, 2630, 2504, 0, 448, 408, 0, 672, - 1255, 720, 0, 1607, 1228, 0, 1921, 0, 0, 2585, 0, 34, 0, 0, 1571, 3473, - 0, 315, 409, 628, 0, 0, 0, 3006, 1559, 2084, 1538, 1570, 2157, 0, 582, 0, - 0, 1519, 0, 1262, 0, 3257, 2850, 0, 0, 1074, 0, 0, 0, 748, 1477, 1600, - 0, 0, 0, 2851, 3302, 0, 0, 0, 0, 219, 1185, 2753, 1834, 0, 3303, 0, - 2714, 0, 908, 0, 3167, 1033, 1614, 0, 2484, 0, 0, 138, 285, 0, 0, 83, - 0, 1725, 1523, 0, 782, 0, 1889, 1651, 2226, 0, 2741, 1363, 1560, 0, 0, 2891, - 0, 1451, 0, 493, 0, 2128, 403, 1797, 3240, 1981, 1644, 3337, 260, 39, 614, 1547, - 1877, 1072, 1355, 0, 0, 0, 2458, 645, 2145, 181, 1081, 0, 0, 0, 0, 0, - 0, 1268, 0, 0, 0, 0, 0, 693, 2656, 326, 0, 689, 582, 2199, 3405, 1820, - 1081, 1843, 634, 0, 0, 0, 0, 3336, 0, 3418, 0, 1685, 0, 0, 0, 0, - 1697, 2997, 2608, 409, 921, 0, 0, 624, 3482, 0, 0, 1992, 1272, 2445, 0, 0, - 1328, 0, 989, 3597, 0, 3585, 3883, 3195, 1598, 0, 0, 1417, 0, 2660, 2003, 0, - 0, 0, 0, 1971, 0, 431, 160, 512, 1344, 863, 0, 1273, 1499, 3397, 1480, 0, - 0, 0, 3238, 0, 0, 1553, 0, 0, 0, 2065, 0, 143, 733, 910, 1186, 1340, - 0, 0, 0, 1678, 0, 0, 736, 0, 2918, 699, 0, 0, 33, 478, 3397, 0, - 2897, 2569, 2150, 701, 2982, 3486, 0, 2549, 998, 0, 2305, 412, 149, 1843, 498, 3831, - 245, 0, 2317, 1282, 0, 0, 3008, 0, 0, 0, 771, 5, 0, 2406, 481, 333, - 0, 3753, 0, 0, 0, 1925, 0, 1245, 2106, 133, 0, 942, 563, 1043, 0, 54, - 0, 0, 2897, 3358, 0, 213, 1382, 0, 0, 1246, 0, 0, 3242, 0, 2560, 1193, - 1880, 3657, 0, 0, 0, 0, 3103, 1572, 3218, 976, 1336, 1869, 0, 3441, 0, 0, - 0, 1761, 0, 475, 3499, 2223, 1580, 3241, 1448, 1505, 340, 2161, 971, 2778, 0, 0, - 0, 0, 2277, 1238, 0, 0, 0, 0, 1550, 2419, 3198, 269, 0, 215, 1443, 1331, - 0, 0, 0, 0, 312, 1759, 644, 0, 2454, 2484, 0, 1085, 2497, 1881, 0, 733, - 2926, 2823, 2087, 0, 3876, 2674, 1042, 1476, 0, 825, 0, 0, 2309, 0, 3179, 1074, - 0, 2737, 0, 2037, 164, 1974, 0, 0, 3615, 0, 557, 2285, 543, 0, 3274, 0, - 0, 0, 1549, 3418, 3545, 1415, 0, 3788, 927, 3182, 0, 0, 0, 147, 0, 2151, - 929, 0, 575, 0, 2082, 0, 0, 0, 2292, 2688, 0, 1215, 2858, 3040, 0, 0, - 0, 727, 0, 486, 0, 0, 0, 2010, 0, 3631, 791, 3414, 2056, 0, 0, 0, - 0, 0, 320, 0, 1929, 1448, 2701, 867, 44, 0, 827, 8, 0, 2172, 0, 3685, - 1006, 1809, 421, 1808, 1618, 2961, 1651, 0, 2796, 0, 0, 276, 0, 141, 0, 0, - 0, 1427, 0, 0, 3638, 0, 0, 0, 2652, 1428, 2064, 558, 3346, 0, 0, 0, - 1444, 2779, 0, 1502, 0, 0, 7, 523, 3403, 3075, 454, 0, 0, 0, 963, 1610, - 1687, 753, 0, 0, 0, 2369, 348, 0, 0, 0, 1220, 3088, 1970, 1862, 0, 2015, - 0, 0, 861, 69, 947, 1072, 0, 0, 0, 2095, 1403, 0, 0, 0, 668, 3574, - 0, 0, 1587, 0, 2643, 766, 3064, 839, 1646, 1932, 967, 0, 1379, 159, 747, 0, - 2986, 0, 1369, 0, 0, 2173, 0, 0, 0, 2164, 2861, 0, 1971, 0, 924, 2951, - 1118, 0, 3774, 54, 1008, 0, 3208, 0, 1540, 1133, 0, 1514, 0, 3621, 737, 3311, - 0, 0, 0, 0, 0, 235, 1998, 776, 0, 1671, 214, 2035, 0, 0, 0, 0, - 500, 0, 191, 0, 0, 3520, 0, 2050, 1952, 3160, 0, 2269, 222, 1112, 229, 716, - 140, 0, 1725, 2620, 1604, 3612, 2868, 670, 1860, 1275, 1799, 123, 0, 1244, 2992, 0, - 0, 3772, 0, 1911, 0, 2896, 1208, 52, 594, 20, 0, 0, 0, 0, 3813, 673, - 543, 521, 2132, 0, 2137, 2681, 0, 496, 2754, 369, 0, 3887, 0, 1005, 1821, 0, - 3674, 996, 0, 1672, 1164, 0, 1661, 3564, 564, 0, 151, 2700, 0, 0, 0, 1941, - 683, 0, 0, 0, 2105, 0, 1640, 1792, 1356, 2551, 1462, 2050, 0, 823, 646, 0, - 91, 0, 0, 2709, 798, 0, 1885, 3777, 0, 1968, 2045, 3416, 3606, 1968, 3614, 2815, - 54, 2233, 0, 0, 0, 2119, 1871, 0, 1299, 217, 0, 0, 0, 753, 0, 0, - 1621, 2166, 2026, 778, 1997, 732, 2396, 0, 0, 310, 882, 1292, 0, 886, 3716, 3263, - 338, 0, 0, 0, 0, 3015, 3108, 2660, 1977, 0, 776, 1231, 0, 550, 432, 1992, - 276, 0, 0, 0, 0, 0, 2115, 2554, 2917, 915, 1098, 0, 439, 0, 630, 2970, - 0, 626, 2180, 1762, 0, 966, 66, 760, 1864, 1993, 951, 357, 0, 0, 1268, 0, - 0, 259, 0, 0, 3066, 2879, 0, 0, 1747, 3380, 0, 1650, 352, 2055, 626, 1650, - 0, 2663, 0, 0, 102, 0, 2088, 0, 1340, 3313, 1109, 650, 0, 0, 0, 2916, - 3143, 972, 1052, 2786, 0, 0, 1334, 1546, 672, 381, 3707, 2004, 0, 3114, 1348, 0, - 55, 0, 2183, 0, 2973, 1513, 1206, 0, 742, 2276, 0, 2719, 0, 0, 315, 0, - 0, 1075, 684, 3143, 3873, 3825, 1541, 1932, 0, 1638, 0, 0, 0, 3215, 3824, 2212, - 2929, 560, 748, 0, 1287, 3340, 410, 2005, 1419, 3408, 2366, 0, 0, 0, 2126, 3536, - 1576, 1016, 0, 3899, 0, 593, 2370, 0, 0, 2878, 0, 40, 1304, 1411, 0, 816, - 3294, 0, 2800, 0, 3428, 578, 3641, 3056, 129, 3496, 709, 2110, 0, 0, 1387, 69, - 873, 3302, 3226, 0, 1736, 3183, 566, 531, 0, 3203, 687, 3338, 0, 202, 2062, 0, - 0, 895, 0, 0, 1546, 0, 1288, 2919, 1815, 0, 0, 1287, 0, 3736, 1315, 266, - 821, 2741, 33, 0, 3497, 0, 1059, 3896, 0, 0, 0, 1379, 1597, 118, 1255, 3567, - 3067, 0, 3673, 1079, 0, 275, 1694, 51, 3858, 0, 353, 2263, 0, 3597, 1664, 381, - 1902, 0, 2133, 1741, 898, 0, 1995, 0, 0, 0, 0, 843, 1864, 3428, 2262, 3349, - 0, 2645, 1507, 725, 210, 258, 2887, 0, 681, 2731, 17, 948, 0, 2977, 0, 2370, - 3597, 349, 2424, 2150, 3421, 2596, 1164, 210, 2153, 53, 1962, 471, 99, 2018, 1728, 0, - 0, 2155, 2013, 595, 3828, 2895, 2329, 984, 0, 204, 453, 1341, 1667, 3773, 0, 1817, - 0, 3108, 3707, 1093, 508, 349, 578, 0, 2159, 0, 0, 974, 2466, 3540, 0, 856, - 3793, 1704, 1090, 0, 1657, 470, 0, 0, 1637, 2749, 0, 2442, 3890, 1344, 356, 0, - 63, 2310, 1212, 0, 0, 1520, 2167, 1233, 0, 0, 2035, 2484, 3569, 2255, 0, 0, - 2198, 3562, 0, 927, 1927, 1159, 0, 3827, 1770, 973, 2030, 0, 3891, 0, 0, 2649, - 354, 0, 0, 2788, 0, 2069, 0, 52, 0, 508, 0, 418, 1919, 2246, 884, 1128, - 571, 1174, 1465, 1946, 1264, 3418, 527, 0, 0, 0, 1243, 481, 0, 836, 2770, 1577, - 2660, 3473, 0, 0, 71, 3828, 1713, 0, 1228, 2355, 1192, 0, 1790, 738, 0, 3738, - 3650, 0, 73, 0, 1702, 1863, 0, 617, 0, 0, 1530, 0, 2405, 1775, 929, 0, - 0, 0, 2080, 2768, 0, 3012, 0, 935, 0, 0, 0, 1003, 0, 3536, 0, 1845, - 3873, 3629, 967, 0, 1653, 1452, 2371, 0, 0, 116, 1012, 2871, 0, 0, 855, 3097, - 0, 208, 2550, 0, 2060, 0, 0, 861, 3686, 1367, 3365, 0, 0, 0, 84, 0, - 1296, 1430, 1322, 0, 0, 0, 1698, 2567, 1659, 533, 3172, 3401, 23, 3182, 0, 1090, - 1740, 1020, 0, 0, 0, 0, 0, 1681, 427, 2766, 2834, 2909, 1449, 197, 0, 877, - 285, 3718, 162, 567, 1071, 75, 3783, 0, 635, 0, 2080, 1818, 0, 0, 2750, 0, - 255, 351, 0, 0, 1196, 0, 1084, 0, 810, 2790, 0, 2276, 0, 3083, 2887, 0, - 1301, 617, 3341, 1907, 2568, 2996, 946, 3338, 0, 1090, 898, 521, 0, 1203, 1921, 0, - 2995, 0, 2073, 0, 3755, 0, 2973, 0, 742, 3720, 1032, 493, 42, 2256, 0, 0, - 1189, 2243, 904, 0, 0, 0, 0, 532, 310, 2242, 0, 2165, 0, 3791, 0, 2406, - 0, 0, 1277, 774, 1326, 662, 0, 505, 1959, 3652, 594, 999, 1303, 0, 1756, 0, - 1077, 1337, 2229, 2158, 0, 0, 1816, 0, 348, 1764, 1873, 3387, 3181, 49, 1999, 0, - 929, 82, 0, 0, 0, 1000, 1311, 3475, 507, 1749, 798, 1128, 0, 2962, 1515, 422, - 1931, 256, 0, 0, 1089, 0, 392, 0, 190, 0, 0, 2007, 0, 2846, 2930, 1950, - 0, 940, 0, 3178, 3521, 1228, 1240, 0, 515, 746, 0, 1097, 404, 1554, 3192, 388, - 3497, 715, 1118, 3907, 2484, 1613, 786, 852, 24, 0, 1019, 0, 3664, 0, 81, 0, - 1065, 1587, 1434, 0, 1032, 3497, 1920, 2071, 251, 1394, 0, 3717, 235, 0, 0, 3880, - 323, 0, 0, 182, 0, 2350, 210, 56, 1538, 1135, 819, 2434, 423, 2662, 1661, 0, - 0, 190, 0, 2191, 0, 1829, 3781, 703, 14, 0, 0, 3759, 2941, 0, 968, 0, - 1718, 0, 2519, 3033, 1851, 797, 2103, 2602, 2372, 0, 0, 0, 0, 3672, 0, 3417, - 0, 1068, 758, 3885, 0, 3359, 157, 0, 1456, 1946, 2636, 0, 984, 3785, 3502, 2470, - 2911, 273, 361, 187, 559, 1561, 754, 1164, 0, 1829, 131, 0, 2173, 0, 0, 429, - 1648, 3554, 0, 0, 0, 0, 0, 2723, 1456, 2893, 0, 3325, 920, 0, 1278, 1415, - 870, 0, 1202, 301, 0, 0, 2119, 0, 2843, 0, 865, 1455, 3408, 1013, 0, 3761, - 2880, 1846, 0, 1986, 1336, 0, 0, 0, 3325, 679, 2137, 0, 747, 61, 0, 3632, - 724, 1253, 1210, 0, 1026, 543, 1075, 2140, 1769, 1444, 898, 728, 3618, 3121, 1167, 0, - 0, 1207, 0, 832, 3100, 2689, 0, 0, 0, 0, 0, 1148, 1496, 0, 1068, 379, - 2170, 1804, 3492, 462, 3818, 0, 1488, 1143, 1894, 1053, 0, 2106, 2699, 986, 0, 1591, - 3767, 1635, 420, 2928, 0, 0, 0, 0, 0, 194, 0, 553, 0, 1270, 0, 1388, - 1274, 2357, 159, 1175, 0, 2959, 2994, 0, 1557, 0, 398, 3809, 946, 1030, 0, 1274, - 0, 870, 0, 2234, 3167, 0, 2329, 0, 1596, 0, 0, 57, 1748, 1362, 3827, 1303, - 0, 0, 0, 3452, 0, 1579, 2160, 1638, 3335, 451, 1783, 1139, 2761, 463, 602, 0, - 1461, 0, 1261, 146, 0, 612, 0, 0, 1987, 846, 3795, 211, 598, 0, 0, 979, - 0, 0, 2009, 2219, 53, 2346, 3000, 658, 624, 698, 0, 3845, 2293, 0, 0, 0, - 1642, 0, 0, 711, 2977, 2381, 470, 2439, 14, 1300, 0, 3020, 654, 0, 1307, 541, - 467, 322, 966, 0, 3758, 3079, 0, 0, 646, 594, 2445, 0, 0, 282, 0, 1600, - 0, 660, 430, 1050, 2570, 2336, 1306, 0, 0, 2560, 227, 0, 3467, 1714, 1026, 3810, - 0, 2372, 0, 0, 1855, 0, 0, 1725, 3572, 3321, 0, 0, 0, 72, 448, 0, - 1816, 0, 1048, 3814, 2844, 0, 0, 1786, 2735, 1808, 2014, 703, 0, 0, 0, 0, - 499, 687, 3740, 0, 803, 3524, 447, 747, 456, 3216, 1880, 2958, 0, 103, 341, 812, - 3732, 0, 216, 441, 1629, 1804, 1117, 0, 2048, 0, 0, 253, 1574, 177, 1932, 648, - 1705, 0, 0, 1780, 3640, 236, 0, 3881, 2044, 1761, 552, 983, 465, 3346, 1482, 1918, - 633, 1984, 2185, 2179, 996, 580, 1853, 387, 2568, 0, 1221, 0, 1881, 3433, 962, 3650, - 1942, 0, 351, 0, 0, 0, 0, 2090, 0, 1138, 0, 1539, 1706, 127, 0, 958, - 1263, 3282, 1796, 280, 0, 692, 0, 1164, 463, 2582, 0, 722, 0, 0, 0, 3517, - 0, 0, 311, 1146, 2765, 0, 353, 252, 0, 0, 0, 0, 580, 0, 0, 3907, - 420, 2946, 0, 2534, 1985, 596, 74, 10, 0, 0, 0, 0, 0, 1914, 0, 3602, - 2121, 0, 0, 3874, 0, 1719, 507, 1037, 0, 0, 532, 0, 1720, 958, 700, 2964, - 405, 0, 0, 0, 1373, 576, 204, 1618, 0, 0, 0, 0, 478, 2877, 104, 966, - 0, 3745, 839, 526, 0, 66, 1675, 0, 1136, 3165, 1399, 2593, 0, 41, 783, 0, - 0, 1271, 636, 0, 1738, 1800, 0, 2813, 530, 1144, 692, 1594, 797, 1260, 2077, 0, - 0, 0, 0, 0, 2201, 2617, 1101, 29, 0, 3363, 474, 0, 0, 833, 980, 0, - 623, 1926, 2010, 602, 0, 373, 1501, 784, 1252, 601, 1760, 0, 1921, 0, 0, 1690, - 0, 549, 321, 0, 0, 1382, 1924, 869, 1, 717, 1573, 1272, 840, 67, 1776, 827, - 246, 397, 1012, 206, 3230, 0, 557, 0, 1454, 0, 2327, 3180, 3134, 2236, 3342, 1649, - 1942, 3752, 0, 0, 238, 510, 1887, 2231, 3144, 309, 1591, 0, 3625, 0, 1143, 0, - 794, 0, 0, 0, 0, 0, 514, 0, 0, 0, 1699, 1158, 1604, 226, 0, 3901, - 0, 1753, 3618, 1600, 2160, 719, 658, 0, 0, 2870, 1425, 555, 0, 321, 0, 0, - 1282, 1168, 0, 0, 0, 0, 3295, 1959, 0, 3542, 825, 3888, 0, 2118, 0, 0, - 513, 3796, 944, 1189, 2590, 0, 0, 3440, 0, 99, 0, 1078, 2205, 0, 0, 560, - 3491, 562, 864, 0, 851, 3573, 1087, 0, 1405, 0, 1024, 1590, 0, 75, 3130, 0, - 1195, 0, 784, 0, 0, 0}; + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 236, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 4415, 0, 0, 1691, 0, 0, 0, 0, 0, 0, 4425, 0, + 0, 0, 0, 0, 0, 0, 4035, 1669, 0, 0, 0, 0, 2801, 0, 0, 0, + 0, 2968, 0, 294, 0, 3469, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 909, 0, 0, 0, 0, 0, 0, 2401, 0, 2142, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 294, 0, 0, 0, 0, 0, 858, 0, 0, 0, 0, 0, + 0, 1663, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1876, 0, 0, 0, 0, 224, 0, 0, 0, 0, 0, 640, 811, 0, 3417, 0, + 0, 3687, 0, 0, 3802, 4331, 0, 0, 2261, 0, 0, 0, 1718, 0, 0, 0, + 0, 0, 1387, 0, 1507, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 357, 0, 0, 0, 0, 0, 0, 431, 0, 0, 0, 1199, 0, + 0, 0, 0, 0, 2446, 0, 0, 218, 0, 0, 3861, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 3600, 919, 0, 0, 0, 0, 0, 0, 1694, 0, 0, 0, + 0, 0, 1161, 0, 0, 0, 0, 0, 381, 0, 221, 0, 3810, 0, 1467, 3945, + 0, 3178, 0, 0, 331, 61, 0, 0, 0, 606, 680, 0, 3568, 0, 0, 0, + 437, 0, 3806, 0, 0, 0, 1330, 0, 0, 0, 945, 0, 0, 0, 3384, 2674, + 0, 0, 0, 4287, 4141, 454, 0, 4099, 0, 0, 0, 0, 0, 0, 684, 1247, + 4248, 0, 0, 0, 0, 0, 0, 0, 0, 1705, 0, 0, 0, 0, 204, 0, + 0, 3605, 1783, 889, 0, 0, 0, 533, 841, 0, 0, 0, 722, 2641, 0, 0, + 0, 3827, 1320, 701, 4165, 0, 2297, 1239, 0, 2147, 0, 0, 0, 0, 0, 74, + 0, 0, 0, 2019, 0, 0, 0, 0, 0, 1982, 0, 0, 0, 0, 75, 0, + 0, 0, 578, 1658, 0, 0, 0, 0, 2822, 240, 0, 0, 27, 0, 0, 1251, + 0, 2305, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1199, 3986, 0, 0, 0, + 0, 0, 1984, 0, 0, 0, 1930, 3656, 0, 0, 0, 0, 1516, 0, 0, 593, + 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 882, 0, 0, 0, 0, 0, + 1844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1101, 0, 0, 0, 0, + 3866, 559, 0, 0, 0, 0, 4302, 0, 0, 0, 0, 780, 0, 0, 1982, 0, + 0, 0, 4234, 0, 0, 0, 0, 0, 0, 0, 2297, 0, 0, 0, 659, 0, + 0, 3233, 0, 0, 0, 0, 0, 0, 0, 321, 393, 4385, 1088, 520, 0, 1157, + 1939, 0, 0, 0, 662, 865, 3747, 0, 959, 1862, 0, 408, 0, 0, 0, 1528, + 0, 0, 0, 0, 0, 0, 0, 3562, 0, 210, 0, 604, 3749, 869, 0, 859, + 787, 0, 0, 3851, 0, 0, 0, 0, 2430, 4363, 1549, 1784, 0, 0, 0, 0, + 0, 208, 0, 4183, 4422, 0, 0, 0, 0, 1393, 0, 0, 0, 1002, 0, 0, + 0, 0, 0, 0, 1081, 0, 0, 0, 0, 0, 0, 3531, 0, 0, 0, 0, + 507, 2505, 0, 0, 0, 0, 0, 0, 0, 1709, 806, 1352, 209, 0, 813, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 653, 0, 0, 0, 0, 0, 0, 4320, + 0, 0, 111, 655, 0, 256, 0, 0, 315, 4069, 3518, 0, 0, 0, 0, 0, + 0, 0, 0, 3080, 968, 1823, 1486, 0, 432, 0, 0, 3856, 0, 0, 4251, 2293, + 0, 0, 0, 0, 0, 0, 1118, 0, 0, 1023, 0, 2048, 4190, 0, 3663, 0, + 0, 0, 802, 0, 0, 0, 0, 0, 0, 0, 2511, 0, 0, 0, 0, 70, + 359, 0, 872, 0, 0, 0, 0, 1357, 4197, 0, 0, 0, 2161, 509, 0, 1160, + 0, 0, 0, 0, 0, 1966, 57, 0, 0, 4399, 0, 3118, 0, 0, 3220, 0, + 35, 0, 1408, 0, 0, 0, 693, 0, 0, 1501, 0, 0, 4442, 0, 1162, 0, + 660, 0, 0, 0, 0, 0, 1589, 0, 0, 0, 0, 0, 0, 847, 0, 0, + 0, 536, 0, 1852, 0, 0, 0, 0, 3950, 4010, 0, 0, 1443, 0, 0, 0, + 235, 0, 0, 1930, 2636, 0, 1948, 2125, 0, 631, 0, 0, 1626, 0, 0, 4130, + 0, 0, 2700, 1002, 0, 0, 948, 2542, 1493, 0, 4345, 0, 0, 151, 0, 0, + 2828, 0, 0, 0, 0, 0, 0, 278, 4191, 756, 0, 3986, 0, 0, 380, 0, + 1810, 0, 3423, 0, 0, 0, 183, 0, 0, 0, 813, 0, 304, 4453, 0, 647, + 0, 0, 96, 0, 0, 1125, 0, 0, 0, 0, 0, 3813, 0, 0, 2261, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 3774, 0, 0, 2771, 0, 0, 0, + 784, 3419, 0, 4000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 986, 0, + 3, 4422, 0, 0, 0, 0, 1085, 0, 2105, 0, 0, 0, 0, 0, 0, 1935, + 0, 0, 1532, 536, 0, 0, 0, 0, 0, 0, 1204, 3610, 0, 0, 0, 0, + 0, 1032, 0, 0, 2706, 0, 4084, 0, 3679, 0, 0, 0, 515, 0, 4210, 0, + 0, 357, 0, 0, 0, 0, 1868, 0, 2116, 0, 0, 0, 0, 2537, 0, 4146, + 0, 0, 0, 0, 0, 1774, 1202, 4192, 0, 38, 0, 0, 4239, 1431, 0, 0, + 0, 2086, 3359, 313, 1257, 3045, 1014, 0, 0, 0, 2549, 0, 938, 0, 0, 0, + 0, 4095, 0, 0, 0, 2625, 1961, 0, 0, 0, 3687, 3390, 0, 0, 325, 0, + 0, 0, 0, 1933, 0, 667, 0, 338, 0, 0, 0, 0, 1111, 0, 0, 0, + 0, 1483, 0, 320, 0, 1248, 0, 925, 0, 0, 0, 0, 1074, 0, 0, 0, + 0, 4239, 3207, 0, 396, 0, 0, 0, 85, 0, 1418, 127, 0, 1372, 0, 0, + 0, 0, 0, 710, 0, 2599, 2053, 4316, 0, 2708, 570, 0, 0, 1248, 0, 0, + 1187, 0, 0, 3899, 1895, 0, 0, 0, 1498, 594, 2018, 553, 2649, 911, 0, 2538, + 0, 0, 0, 3433, 0, 0, 0, 0, 2340, 0, 0, 461, 0, 0, 0, 0, + 0, 4014, 0, 3287, 647, 0, 0, 0, 466, 229, 0, 1544, 0, 1576, 0, 0, + 0, 3251, 0, 0, 698, 0, 0, 3516, 0, 0, 0, 0, 0, 653, 0, 2703, + 0, 0, 0, 2212, 0, 2015, 0, 0, 0, 0, 0, 0, 0, 0, 1307, 663, + 0, 179, 0, 0, 0, 0, 2717, 929, 358, 0, 4142, 1092, 3578, 0, 3160, 0, + 0, 0, 0, 932, 590, 85, 3483, 1580, 3628, 0, 0, 0, 0, 0, 0, 3354, + 0, 0, 166, 0, 0, 3413, 1430, 0, 0, 4427, 0, 0, 0, 0, 328, 0, + 0, 0, 0, 0, 856, 0, 0, 4415, 0, 0, 4389, 446, 0, 0, 1645, 0, + 0, 0, 0, 0, 0, 0, 3077, 0, 0, 1571, 472, 1588, 0, 0, 0, 17, + 0, 653, 815, 3015, 400, 0, 0, 0, 0, 0, 0, 4004, 0, 0, 1981, 2016, + 0, 935, 0, 0, 0, 0, 0, 0, 4100, 644, 1623, 0, 0, 91, 2507, 0, + 1311, 0, 2364, 0, 0, 327, 0, 0, 0, 264, 0, 3167, 3276, 4162, 1591, 0, + 0, 736, 0, 0, 0, 4089, 0, 3221, 1136, 0, 0, 0, 0, 867, 2968, 1781, + 0, 0, 4040, 2958, 0, 3499, 0, 3382, 1149, 2819, 266, 802, 133, 0, 0, 0, + 3176, 0, 1650, 3802, 0, 0, 0, 0, 0, 2732, 0, 0, 0, 151, 0, 0, + 1117, 3687, 0, 696, 2046, 0, 814, 0, 0, 0, 0, 3982, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 279, 2735, 0, 689, 853, 349, 0, 574, 2143, 0, + 0, 0, 3275, 0, 3086, 0, 0, 0, 0, 562, 1960, 0, 0, 0, 4129, 312, + 2687, 4370, 347, 1881, 1648, 1442, 0, 4226, 1609, 0, 0, 386, 2767, 0, 956, 0, + 0, 3301, 2280, 812, 0, 0, 66, 0, 0, 0, 0, 0, 0, 3085, 203, 0, + 709, 0, 235, 177, 0, 0, 0, 0, 2512, 1450, 0, 3215, 0, 0, 0, 1514, + 1008, 1860, 0, 3610, 908, 0, 0, 0, 158, 0, 153, 719, 0, 1184, 397, 256, + 0, 0, 517, 4241, 2402, 2208, 0, 4057, 0, 0, 1261, 0, 0, 0, 701, 604, + 0, 0, 135, 0, 0, 2102, 3714, 0, 826, 2268, 344, 0, 0, 4015, 0, 3958, + 1357, 0, 354, 0, 0, 598, 0, 0, 0, 0, 294, 3554, 0, 1277, 0, 0, + 0, 0, 141, 0, 0, 4115, 0, 0, 0, 1945, 0, 3230, 0, 972, 101, 1382, + 0, 0, 1014, 3534, 4383, 1312, 125, 2647, 0, 2014, 0, 1866, 0, 0, 3715, 99, + 515, 0, 0, 167, 2621, 0, 0, 0, 0, 3900, 3592, 0, 0, 0, 0, 0, + 0, 0, 1972, 0, 1653, 4378, 1975, 0, 950, 0, 0, 1553, 0, 0, 0, 0, + 145, 1093, 1404, 314, 0, 0, 0, 0, 1668, 0, 1042, 0, 2900, 1355, 0, 0, + 0, 0, 0, 858, 0, 0, 0, 958, 1889, 0, 0, 0, 0, 3924, 0, 0, + 2819, 0, 2638, 0, 0, 2585, 0, 0, 807, 1852, 0, 0, 0, 4051, 0, 3570, + 0, 0, 0, 0, 0, 0, 0, 0, 883, 0, 1526, 0, 847, 0, 532, 0, + 1214, 3981, 1205, 1023, 664, 1264, 2773, 0, 0, 73, 0, 1555, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2701, 2088, 811, 339, 0, 2050, 3888, 4133, 73, + 0, 0, 0, 1749, 1278, 232, 1113, 0, 0, 0, 0, 1423, 369, 589, 0, 0, + 0, 0, 0, 3947, 0, 192, 0, 1500, 2058, 0, 3093, 0, 0, 253, 686, 0, + 0, 0, 1847, 0, 0, 0, 0, 1531, 0, 222, 0, 0, 1291, 1154, 0, 0, + 0, 1422, 0, 0, 92, 1761, 0, 3482, 175, 3016, 0, 0, 0, 2091, 0, 1083, + 0, 1331, 2074, 573, 1650, 1903, 0, 0, 358, 3934, 1000, 0, 0, 0, 0, 135, + 4136, 0, 0, 0, 288, 0, 0, 0, 464, 0, 890, 408, 2370, 979, 0, 2494, + 3640, 0, 0, 0, 0, 1013, 1172, 1937, 2471, 0, 0, 0, 84, 519, 0, 1452, + 1596, 0, 1521, 0, 3417, 0, 1555, 0, 1997, 4116, 1537, 3657, 0, 0, 445, 451, + 2039, 835, 3931, 0, 4100, 1128, 0, 501, 0, 0, 0, 248, 0, 0, 4088, 2388, + 629, 0, 801, 0, 0, 1568, 771, 0, 949, 0, 140, 0, 0, 1806, 1568, 0, + 0, 2030, 1755, 0, 0, 2075, 0, 2829, 0, 0, 0, 0, 854, 1779, 0, 1022, + 2947, 0, 2714, 0, 668, 1835, 106, 0, 0, 111, 1656, 1230, 0, 0, 0, 0, + 3187, 406, 0, 752, 972, 0, 2872, 73, 0, 4400, 2630, 0, 1194, 399, 0, 948, + 0, 429, 0, 4344, 2988, 0, 1482, 3078, 0, 3811, 0, 0, 0, 453, 0, 1268, + 0, 0, 0, 1643, 1883, 0, 391, 1478, 1476, 0, 0, 907, 432, 0, 556, 0, + 0, 3783, 0, 2575, 2017, 4024, 0, 0, 0, 570, 2698, 1749, 0, 0, 0, 2650, + 1490, 0, 0, 0, 0, 906, 0, 0, 488, 1274, 0, 310, 436, 4202, 3961, 0, + 255, 2232, 2841, 0, 0, 0, 1666, 262, 1320, 0, 2744, 4376, 0, 0, 1651, 0, + 110, 0, 0, 0, 0, 775, 0, 0, 2425, 4122, 0, 1814, 0, 1951, 0, 0, + 0, 924, 3999, 0, 1109, 202, 0, 1719, 1045, 230, 0, 1359, 102, 0, 0, 0, + 542, 0, 872, 676, 0, 1685, 0, 0, 44, 0, 798, 553, 0, 239, 0, 0, + 0, 0, 881, 2692, 0, 4224, 0, 3537, 0, 0, 2051, 0, 0, 0, 0, 4291, + 0, 1617, 126, 4440, 1170, 491, 0, 0, 3101, 0, 0, 1044, 1499, 1290, 0, 0, + 0, 278, 0, 0, 1600, 0, 0, 0, 0, 0, 0, 0, 2903, 0, 0, 0, + 0, 684, 472, 0, 742, 3004, 0, 0, 1851, 1386, 1160, 1494, 1859, 0, 3500, 4048, + 581, 0, 0, 226, 1737, 0, 0, 0, 354, 0, 3818, 0, 4092, 0, 0, 1895, + 0, 1866, 1629, 0, 696, 0, 0, 1811, 0, 0, 0, 0, 0, 0, 0, 3865, + 753, 0, 0, 1902, 0, 0, 403, 831, 0, 1269, 0, 0, 0, 0, 2689, 0, + 0, 0, 0, 0, 0, 1275, 0, 0, 1799, 968, 0, 0, 0, 471, 466, 109, + 0, 0, 4410, 0, 2886, 3928, 725, 0, 0, 0, 1271, 2067, 2790, 1810, 0, 0, + 0, 0, 98, 0, 867, 1424, 1558, 1665, 1393, 0, 940, 692, 0, 0, 290, 803, + 0, 0, 1839, 0, 3825, 0, 1040, 0, 0, 0, 0, 0, 0, 0, 0, 3660, + 1943, 0, 0, 959, 1505, 4212, 238, 0, 0, 0, 119, 0, 0, 0, 407, 0, + 0, 0, 0, 3009, 1974, 1309, 0, 775, 0, 3398, 0, 532, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 785, 0, 0, 2087, 0, 0, 0, 1647, 0, 0, 840, + 3232, 1827, 0, 336, 3195, 0, 12, 0, 778, 0, 1004, 1148, 0, 513, 3952, 0, + 0, 155, 567, 0, 0, 0, 1905, 0, 0, 950, 1021, 0, 2350, 1140, 0, 870, + 218, 291, 0, 1859, 3042, 708, 1500, 4199, 2385, 0, 0, 2040, 0, 276, 710, 3508, + 0, 0, 3049, 0, 0, 183, 219, 1025, 0, 4272, 3738, 0, 2222, 0, 1224, 1984, + 4319, 374, 0, 0, 0, 0, 0, 945, 2352, 496, 0, 1759, 0, 0, 0, 425, + 2723, 0, 0, 0, 771, 0, 0, 1185, 961, 3977, 0, 0, 0, 0, 0, 0, + 934, 0, 1340, 2162, 1199, 0, 0, 0, 0, 110, 851, 0, 0, 0, 0, 540, + 2149, 415, 0, 3873, 208, 0, 1655, 495, 1902, 0, 0, 2135, 0, 0, 0, 639, + 3197, 0, 0, 0, 3487, 0, 234, 0, 0, 0, 1378, 0, 0, 723, 107, 955, + 0, 0, 3313, 0, 3589, 419, 0, 4015, 1633, 2623, 0, 1129, 0, 1347, 2147, 0, + 0, 3079, 2172, 1649, 0, 0, 505, 0, 0, 2215, 0, 3567, 1279, 3671, 526, 1356, + 0, 1078, 507, 347, 0, 695, 0, 162, 0, 1867, 1923, 0, 530, 0, 0, 555, + 0, 0, 0, 0, 2208, 0, 0, 1838, 0, 0, 0, 0, 0, 1924, 1492, 0, + 1738, 1337, 0, 3595, 0, 690, 1269, 0, 1946, 0, 395, 0, 0, 13, 0, 0, + 866, 2298, 1771, 0, 0, 0, 728, 2447, 3227, 3237, 667, 0, 0, 0, 1279, 2780, + 0, 0, 0, 435, 4301, 2397, 4103, 672, 1657, 0, 0, 4024, 0, 0, 0, 0, + 3357, 0, 0, 1010, 0, 0, 0, 0, 1660, 3424, 0, 0, 0, 616, 371, 0, + 1705, 4365, 999, 275, 0, 0, 963, 0, 0, 794, 4047, 1749, 1406, 0, 55, 1751, + 0, 0, 0, 0, 0, 0, 0, 0, 739, 0, 649, 0, 0, 0, 3989, 0, + 3272, 0, 0, 0, 0, 0, 0, 0, 3295, 0, 1427, 0, 0, 811, 0, 351, + 0, 3834, 0, 1564, 0, 0, 1059, 2743, 3304, 1938, 0, 923, 378, 3177, 0, 0, + 1470, 0, 286, 0, 3065, 1371, 0, 675, 1708, 0, 0, 1203, 0, 0, 0, 0, + 376, 0, 345, 983, 2009, 0, 3788, 27, 247, 822, 0, 835, 1903, 575, 561, 1806, + 0, 107, 0, 1466, 0, 0, 1155, 85, 0, 2077, 0, 0, 838, 731, 289, 0, + 0, 0, 2114, 3728, 1067, 2248, 1546, 1000, 0, 0, 550, 3066, 1987, 0, 0, 0, + 0, 202, 0, 1788, 0, 981, 0, 3628, 882, 3969, 1795, 639, 4323, 0, 0, 0, + 614, 751, 0, 0, 3917, 326, 4035, 452, 1688, 4105, 4053, 0, 0, 797, 755, 3429, + 0, 4058, 0, 0, 0, 512, 3446, 0, 0, 0, 2624, 0, 3564, 1335, 0, 1245, + 2282, 301, 0, 0, 945, 0, 0, 0, 3408, 0, 0, 0, 4298, 0, 0, 1612, + 312, 1740, 0, 491, 3070, 0, 222, 3974, 1172, 898, 0, 1213, 0, 0, 1076, 2750, + 582, 0, 4030, 297, 0, 0, 3209, 0, 2012, 0, 409, 459, 102, 0, 0, 0, + 0, 318, 3156, 4381, 0, 243, 0, 1066, 3613, 3654, 2871, 3545, 0, 0, 585, 904, + 274, 0, 1457, 0, 0, 4058, 693, 15, 0, 1009, 4195, 0, 0, 0, 524, 0, + 0, 0, 0, 844, 203, 1782, 2118, 0, 672, 2269, 0, 0, 1905, 0, 0, 4417, + 0, 3797, 454, 0, 195, 0, 930, 4168, 480, 743, 4217, 0, 0, 3706, 2915, 2273, + 1063, 677, 0, 4420, 2326, 0, 0, 0, 1179, 1725, 0, 0, 3730, 0, 39, 4270, + 1585, 0, 1925, 3912, 0, 0, 0, 0, 0, 0, 4274, 0, 824, 0, 971, 0, + 0, 0, 0, 1928, 298, 0, 734, 0, 0, 10, 2811, 850, 0, 2731, 1322, 4050, + 2774, 0, 4322, 786, 346, 2108, 0, 0, 1920, 0, 0, 1660, 280, 174, 518, 3704, + 3169, 0, 0, 3434, 3345, 3828, 3865, 0, 196, 1421, 0, 0, 2368, 483, 1716, 0, + 0, 0, 0, 0, 0, 0, 593, 420, 0, 829, 0, 248, 1450, 4228, 0, 190, + 0, 3538, 4358, 3070, 0, 1222, 33, 0, 0, 16, 355, 0, 364, 606, 297, 0, + 1159, 1532, 0, 486, 0, 0, 0, 60, 749, 463, 861, 0, 4408, 463, 0, 0, + 849, 218, 0, 0, 0, 1062, 1411, 0, 1276, 45, 0, 0, 0, 87, 669, 861, + 570, 1206, 0, 0, 0, 0, 1367, 163, 353, 2631, 688, 1288, 0, 383, 0, 0, + 0, 0, 1901, 1817, 532, 1743, 438, 0, 3196, 0, 1135, 3962, 0, 0, 0, 1458, + 500, 253, 1314, 3690, 519, 0, 1729, 0, 1513, 692, 1127, 257, 0, 534, 0, 302, + 0, 0, 0, 0, 0, 1193, 50, 0, 314, 0, 0, 332, 4102, 265, 0, 1208, + 0, 2236, 0, 0, 0, 917, 0, 0, 2083, 2924, 543, 2492, 3603, 762, 423, 0, + 1293, 3452, 0, 2499, 0, 1700, 0, 0, 812, 1928, 1280, 2631, 436, 1422, 0, 0, + 1201, 0, 0, 1339, 68, 1872, 4153, 4268, 4238, 0, 1704, 0, 0, 0, 523, 0, + 0, 2026, 987, 292, 177, 1381, 1034, 518, 0, 0, 1611, 4312, 3213, 0, 0, 952, + 0, 0, 541, 818, 0, 0, 1349, 0, 0, 525, 0, 1459, 0, 1408, 3696, 823, + 0, 1883, 109, 4102, 1011, 700, 1049, 1167, 840, 0, 3919, 1405, 0, 2137, 1293, 0, + 0, 0, 698, 1169, 45, 0, 578, 0, 3507, 0, 4197, 379, 0, 0, 228, 519, + 0, 0, 4270, 0, 28, 0, 581, 1071, 1434, 0, 267, 0, 0, 408, 2883, 64, + 1411, 730, 1394, 0, 0, 2112, 1307, 0, 0, 236, 0, 0, 3601, 4029, 0, 0, + 716, 0, 2456, 0, 3915, 4440, 2555, 3643, 0, 628, 1357, 1373, 1008, 0, 0, 3022, + 1346, 230, 0, 0, 1991, 432, 101, 0, 0, 0, 0, 1767, 0, 0, 3903, 0, + 236, 3881, 0, 1921, 0, 2200, 0, 4411, 0, 1007, 3900, 0, 0, 282, 0, 1362, + 1018, 0, 0, 1191, 4441, 0, 0, 1280, 741, 2106, 1910, 0, 0, 394, 1720, 0, + 970, 0, 0, 0, 0, 4025, 0, 4150, 95, 3451, 132, 2737, 1448, 0, 230, 3911, + 0, 0, 713, 0, 0, 2156, 314, 382, 3165, 158, 1849, 0, 3498, 4204, 179, 0, + 0, 0, 913, 0, 0, 0, 3279, 1766, 2680, 4279, 591, 0, 4045, 3673, 3881, 0, + 1562, 421, 1387, 4121, 4154, 4200, 0, 3912, 97, 3476, 242, 0, 0, 258, 1299, 460, + 0, 0, 0, 0, 0, 4257, 0, 0, 440, 0, 0, 1967, 736, 2881, 0, 164, + 0, 2813, 3015, 2070, 0, 0, 0, 0, 294, 1999, 1933, 4131, 1509, 2148, 0, 0, + 1969, 1583, 2383, 2596, 986, 1628, 0, 49, 0, 0, 0, 0, 9, 0, 1127, 49, + 0, 0, 52, 0, 1012, 0, 1351, 0, 2061, 2487, 1716, 1424, 0, 3255, 967, 1752, + 0, 4326, 0, 639, 0, 1348, 2053, 3758, 1296, 1818, 1805, 0, 0, 0, 4321, 2091, + 0, 0, 2320, 0, 0, 3821, 193, 3423, 0, 2160, 0, 1107, 1631, 25, 0, 0, + 0, 0, 1436, 3024, 1003, 0, 2325, 0, 0, 683, 1023, 1760, 0, 1894, 16, 780, + 1558, 244, 1005, 0, 492, 2069, 1020, 1315, 3756, 764, 0, 0, 30, 0, 467, 1511, + 414, 0, 0, 0, 570, 0, 0, 0, 2072, 1627, 0, 0, 2037, 0, 539, 832, + 899, 0, 0, 638, 651, 901, 462, 1216, 0, 1074, 0, 0, 1006, 0, 0, 0, + 0, 3390, 1987, 0, 831, 1710, 0, 0, 3856, 2599, 960, 3988, 0, 4209, 0, 771, + 0, 0, 4415, 2729, 0, 0, 2165, 772, 0, 0, 2181, 431, 4130, 1508, 48, 790, + 3068, 0, 4306, 1596, 0, 0, 859, 0, 823, 3596, 2052, 3141, 0, 4377, 0, 194, + 414, 0, 0, 1051, 964, 1532, 0, 0, 1266, 3492, 0, 0, 0, 829, 1504, 0, + 1895, 0, 648, 831, 2964, 37, 3224, 1426, 3699, 1203, 1929, 1302, 2167, 0, 993, 1771, + 106, 0, 842, 0, 1152, 0, 0, 0, 1605, 0, 1533, 0, 709, 96, 658, 2045, + 2865, 618, 0, 3439, 0, 4312, 2084, 371, 0, 1961, 142, 0, 0, 0, 1552, 0, + 0, 0, 3070, 0, 1381, 1099, 1423, 0, 2743, 0, 46, 3081, 62, 3152, 0, 1067, + 3948, 2254, 808, 0, 0, 1791, 0, 2956, 1336, 153, 0, 1695, 2180, 335, 0, 502, + 896, 3491, 0, 925, 441, 464, 0, 0, 3206, 3577, 408, 2565, 2166, 4007, 734, 1520, + 766, 0, 0, 586, 0, 1025, 0, 1346, 2, 0, 140, 1355, 1884, 4337, 916, 1411, + 0, 0, 0, 76, 0, 1202, 4196, 1720, 1176, 0, 3222, 1724, 785, 0, 0, 45, + 0, 1286, 0, 144, 0, 4040, 0, 0, 0, 910, 0, 0, 277, 1484, 1494, 3994, + 0, 0, 364, 953, 582, 623, 1748, 952, 0, 0, 799, 0, 0, 3675, 7, 884, + 2132, 0, 497, 703, 0, 0, 0, 1527, 0, 0, 0, 558, 3175, 0, 2886, 20, + 0, 863, 0, 1542, 1194, 0, 0, 0, 1530, 0, 1426, 3370, 1184, 1888, 0, 0, + 0, 1879, 0, 0, 0, 0, 1373, 0, 0, 3925, 0, 0, 609, 3556, 886, 512, + 0, 1443, 1158, 0, 1601, 0, 496, 0, 0, 0, 0, 3980, 316, 0, 3999, 608, + 1375, 4451, 2447, 334, 0, 614, 1540, 3033, 3997, 0, 4215, 1469, 0, 1137, 925, 1312, + 0, 1765, 0, 2335, 645, 0, 943, 0, 2472, 0, 1214, 1635, 0, 0, 83, 4375, + 1993, 207, 291, 1175, 0, 2020, 0, 1194, 0, 540, 0, 641, 0, 0, 0, 1652, + 4302, 4210, 1077, 0, 4000, 0, 700, 3918, 3319, 3820, 750, 2117, 3307, 0, 3891, 1427, + 3662, 2483, 0, 14, 0, 0, 0, 2064, 0, 0, 0, 0, 1040, 0, 2024, 857, + 0, 1671, 879, 684, 682, 0, 846, 0, 1964, 3883, 0, 2651, 0, 0, 0, 3344, + 3567, 1574, 0, 1079, 1181, 1637, 482, 0, 2037, 265, 0, 1412, 0, 2269, 1227, 0, + 315, 297, 0, 2, 512, 0, 1097, 1347, 0, 4166, 0, 0, 0, 0, 0, 0, + 1372, 368, 1293, 0, 0, 0, 2843, 571, 1965, 4451, 1207, 1894, 1973, 2267, 0, 1274, + 0, 1584, 1144, 0, 2289, 1717, 3714, 1001, 0, 0, 1008, 834, 346, 1993, 1330, 4271, + 2874, 2332, 0, 0, 951, 0, 0, 0, 0, 3962, 1194, 1830, 1537, 3864, 807, 1958, + 0, 0, 4321, 0, 0, 0, 2290, 1033, 1590, 0, 340, 444, 3595, 3436, 425, 1916, + 0, 12, 182, 1544, 2176, 0, 1535, 1624, 0, 0, 1212, 0, 0, 4223, 0, 0, + 614, 2131, 0, 430, 1003, 667, 2642, 2027, 0, 1845, 631, 1056, 1252, 0, 468, 4019, + 0, 0, 0, 0, 1481, 1951, 3403, 1374, 0, 0, 0, 4294, 1220, 114, 0, 418, + 651, 98, 1015, 4403, 0, 1295, 0, 1338, 3941, 0, 542, 3496, 75, 916, 404, 329, + 0, 1438, 300, 957, 0, 0, 602, 373, 0, 2540, 2585, 23, 1959, 293, 3627, 1485, + 1242, 0, 0, 0, 1108, 0, 533, 0, 1842, 772, 0, 879, 1240, 0, 1545, 0, + 0, 0, 159, 111, 731, 0, 0, 0, 1284, 127, 2538, 2422, 0, 1077, 657, 862, + 3393, 3538, 398, 859, 1477, 0, 3066, 0, 0, 1873, 0, 1188, 39, 3293, 397, 0, + 0, 1098, 1549, 0, 0, 0, 6, 4275, 3349, 1906, 518, 1259, 1310, 167, 754, 329, + 0, 2196, 778, 3061, 0, 1447, 811, 0, 984, 0, 0, 1386, 1267, 0, 0, 0, + 1429, 1565, 1976, 3102, 0, 0, 0, 3727, 0, 2404, 0, 0, 3510, 2113, 0, 1147, + 0, 1704, 0, 0, 75, 0, 3848, 0, 0, 0, 0, 822, 3353, 4291, 978, 1393, + 1631, 0, 4272, 1276, 0, 0, 0, 2093, 774, 0, 3925, 901, 0, 3714, 0, 0, + 1582, 0, 1742, 4026, 748, 2962, 1209, 0, 0, 1440, 940, 2826, 0, 797, 2567, 4275, + 252, 2842, 3771, 0, 1223, 0, 0, 1900, 0, 3580, 1282, 1112, 0, 1261, 123, 117, + 381, 537, 1615, 2429, 1559, 1102, 2475, 1722, 0, 903, 0, 3890, 466, 3629, 338, 0, + 887, 4365, 676, 1438, 837, 120, 0, 941, 0, 1869, 353, 1742, 0, 1479, 0, 3562, + 0, 1483, 3730, 0, 3009, 0, 0, 0, 1887, 161, 635, 0, 3014, 0, 4170, 0, + 0, 947, 0, 119, 1617, 0, 0, 2562, 169, 458, 0, 1047, 1108, 1879, 504, 0, + 2102, 0, 1144, 2339, 364, 0, 0, 0, 40, 0, 2062, 283, 0, 745, 4330, 0, + 99, 1996, 0, 2711, 1765, 0, 1424, 3705, 0, 0, 0, 0, 1358, 4383, 3326, 0, + 0, 3030, 499, 2276, 0, 3230, 0, 923, 0, 0, 4362, 4025, 871, 0, 0, 0, + 1529, 0, 2906, 916, 0, 0, 4269, 1211, 0, 1802, 0, 0, 2895, 1825, 873, 1053, + 1322, 1833, 360, 0, 1586, 1730, 0, 1072, 0, 0, 0, 943, 1379, 0, 3869, 4429, + 3154, 1312, 2013, 0, 4232, 1317, 336, 637, 2071, 16, 4384, 0, 832, 0, 3, 0, + 0, 0, 1650, 4308, 0, 1869, 0, 0, 4115, 1017, 316, 0, 0, 1843, 0, 1378, + 577, 0, 0, 4440, 81, 3849, 0, 1644, 4385, 3917, 1747, 0, 1664, 0, 1217, 367, + 0, 0, 2700, 0, 208, 2033, 0, 413, 656, 632, 433, 0, 0, 934, 0, 37, + 4004, 0, 0, 1536, 342, 0, 0, 666, 363, 118, 4353, 0, 0, 0, 249, 105, + 1553, 1547, 19, 0, 493, 1350, 1917, 1691, 0, 1349, 0, 380, 756, 0, 0, 0, + 0, 0, 1415, 0, 1643, 0, 0, 241, 3884, 2489, 1276, 0, 0, 717, 0, 1468, + 0, 146, 1965, 0, 1116, 0, 2624, 0, 878, 2182, 1566, 1770, 850, 699, 0, 0, + 1846, 535, 0, 584, 0, 2002, 244, 0, 3769, 1094, 2006, 0, 0, 0, 4207, 3761, + 4353, 1046, 310, 3707, 0, 1253, 1284, 0, 0, 3085, 337, 2234, 162, 4231, 0, 422, + 5, 694, 1721, 0, 1853, 1474, 191, 1298, 0, 0, 2918, 4065, 0, 0, 1089, 0, + 0, 1310, 2035, 4324, 34, 0, 0, 1853, 0, 4390, 1251, 0, 1095, 1677, 1126, 1035, + 1048, 773, 2534, 767, 16, 343, 3632, 768, 538, 0, 1909, 672, 0, 461, 1732, 0, + 4193, 0, 1434, 1387, 2036, 0, 0, 2293, 0, 0, 920, 0, 1138, 1125, 0, 0, + 0, 1453, 0, 1990, 0, 1289, 76}; int MangledHashG(const char *key, const int *T) { @@ -288,46 +322,45 @@ int MangledHashG(const char *key, const int *T) for (int i = 0; key[i] != '\0'; i++) { sum += T[i] * key[i]; - sum %= 3910; + sum %= 4455; } return mangledkG[sum]; } int MangledPerfectHash(const char *key) { - if (strlen(key) > 40) + if (strlen(key) > 37) return 0; - return (MangledHashG(key, mangledkT1) + MangledHashG(key, mangledkT2)) % 3910; + return (MangledHashG(key, mangledkT1) + MangledHashG(key, mangledkT2)) % 4455; } -constexpr int unmangledkT1[] = {361, 84, 287, 107, 189, 235, 216, 268, 315, 73, 365, 67, 31, - 103, 108, 1, 206, 276, 63, 133, 161, 27, 70, 359, 69, 354}; -constexpr int unmangledkT2[] = {116, 270, 65, 391, 92, 345, 246, 10, 306, 20, 206, 346, 291, - 195, 244, 398, 269, 237, 25, 394, 247, 248, 315, 180, 233, 167}; +constexpr int unmangledkT1[] = {152, 85, 131, 46, 141, 140, 355, 227, 157, 95, 193, 274, 113, + 293, 338, 312, 38, 56, 305, 7, 299, 103, 63, 14, 147, 26}; +constexpr int unmangledkT2[] = {16, 254, 132, 341, 351, 23, 144, 38, 280, 327, 291, 81, 145, + 376, 164, 258, 319, 373, 246, 29, 53, 104, 148, 299, 8, 288}; constexpr int unmangledkG[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 0, 0, 34, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 42, 391, 0, 0, 0, 0, 7, 0, 187, 0, 64, 237, - 350, 377, 112, 192, 0, 217, 0, 133, 0, 0, 0, 0, 0, 384, 0, 0, 0, 0, 0, - 122, 0, 107, 0, 283, 276, 9, 317, 215, 0, 147, 167, 232, 169, 15, 0, 0, 247, 25, - 348, 0, 364, 68, 195, 0, 345, 0, 0, 154, 31, 0, 0, 180, 0, 0, 342, 321, 0, - 0, 0, 0, 2, 244, 73, 61, 0, 0, 259, 0, 51, 178, 0, 0, 12, 28, 202, 0, - 113, 144, 0, 0, 0, 196, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 309, 0, 232, 56, 0, 315, 358, 0, 0, 0, 341, 21, 360, 0, 0, 0, 0, 0, - 46, 0, 325, 17, 11, 272, 0, 0, 126, 401, 0, 85, 40, 305, 0, 0, 0, 0, 0, - 0, 0, 7, 201, 56, 142, 405, 0, 0, 0, 339, 164, 0, 192, 0, 109, 206, 60, 40, - 0, 0, 243, 17, 0, 145, 0, 163, 88, 0, 0, 0, 128, 0, 117, 0, 0, 0, 257, - 285, 0, 16, 0, 191, 0, 0, 12, 0, 339, 71, 323, 21, 99, 0, 0, 187, 0, 22, - 167, 274, 0, 258, 0, 0, 0, 17, 30, 0, 0, 0, 181, 218, 0, 0, 109, 0, 212, - 154, 332, 54, 259, 0, 0, 0, 319, 14, 149, 82, 50, 0, 0, 15, 218, 0, 0, 0, - 0, 123, 0, 218, 162, 0, 50, 226, 219, 0, 86, 120, 310, 197, 101, 0, 0, 0, 0, - 127, 1, 207, 86, 0, 0, 0, 377, 0, 8, 75, 0, 0, 395, 106, 374, 0, 197, 0, - 356, 179, 297, 0, 3, 70, 0, 164, 7, 0, 0, 136, 0, 250, 193, 0, 52, 319, 248, - 0, 357, 112, 0, 77, 0, 0, 0, 230, 136, 81, 101, 0, 217, 0, 0, 0, 37, 0, - 172, 0, 0, 0, 14, 175, 0, 53, 361, 0, 134, 191, 304, 43, 0, 0, 198, 0, 82, - 0, 336, 0, 0, 0, 338, 280, 0, 386, 360, 8, 139, 87, 30, 281, 0, 0, 0, 11, - 262, 389, 301, 236, 36, 190, 150, 0, 0, 0, 325, 0, 388, 0, 155, 33, 379, 6, 4, - 0, 165, 129, 214, 369, 0, 0, 17}; + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 340, 0, 0, 207, 0, 0, 0, 0, 155, + 106, 0, 305, 0, 0, 8, 0, 0, 0, 0, 0, 195, 0, 252, 0, 0, 0, 84, 0, + 0, 0, 179, 24, 0, 0, 0, 0, 0, 54, 317, 0, 288, 264, 8, 0, 0, 342, 0, + 0, 0, 122, 0, 0, 365, 135, 361, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, + 212, 0, 0, 152, 0, 25, 0, 134, 0, 167, 0, 0, 0, 355, 92, 0, 265, 374, 0, + 92, 0, 102, 0, 158, 152, 0, 0, 0, 0, 0, 288, 32, 0, 139, 0, 103, 365, 296, + 0, 66, 0, 370, 122, 149, 0, 0, 0, 0, 0, 349, 148, 191, 281, 172, 0, 374, 0, + 0, 0, 148, 0, 357, 272, 0, 115, 50, 0, 142, 11, 0, 0, 367, 49, 223, 54, 0, + 0, 0, 171, 84, 130, 0, 252, 0, 0, 85, 0, 116, 0, 0, 0, 0, 119, 270, 296, + 23, 71, 180, 59, 216, 284, 73, 0, 0, 0, 63, 0, 236, 115, 71, 171, 4, 0, 369, + 0, 0, 0, 267, 330, 90, 133, 81, 39, 0, 378, 190, 23, 346, 0, 0, 176, 0, 119, + 0, 0, 0, 0, 0, 0, 12, 298, 248, 97, 0, 34, 0, 53, 80, 247, 150, 387, 88, + 21, 0, 183, 341, 23, 363, 0, 14, 143, 111, 26, 0, 40, 28, 46, 0, 0, 165, 182, + 0, 0, 19, 0, 0, 0, 0, 235, 209, 305, 74, 339, 198, 14, 0, 200, 250, 35, 190, + 22, 194, 0, 122, 66, 167, 0, 0, 135, 0, 0, 201, 0, 157, 0, 255, 163, 339, 73, + 0, 271, 0, 0, 0, 101, 0, 0, 182, 0, 27, 364, 0, 87, 20, 0, 385, 383, 33, + 0, 0, 128, 0, 213, 232, 74, 150, 8, 16, 244, 0, 0, 55, 5, 72, 189, 186, 0, + 17, 116, 378, 55, 352, 148, 0, 285, 0, 123, 0, 43, 0, 0, 0, 305, 240, 0, 131, + 0, 69, 185, 174, 0, 34, 70, 378, 170, 104, 208, 281, 118, 0, 260, 173, 0, 0, 166, + 6, 30, 0, 254, 214, 204, 0, 0, 153, 0, 67, 368, 121, 2, 0, 139, 193, 0, 0, + 285, 325, 0, 0, 0, 0, 0, 96}; int UnmangledHashG(const char *key, const int *T) { @@ -336,7 +369,7 @@ int UnmangledHashG(const char *key, const int *T) for (int i = 0; key[i] != '\0'; i++) { sum += T[i] * key[i]; - sum %= 407; + sum %= 388; } return unmangledkG[sum]; } @@ -346,7 +379,7 @@ int UnmangledPerfectHash(const char *key) if (strlen(key) > 26) return 0; - return (UnmangledHashG(key, unmangledkT1) + UnmangledHashG(key, unmangledkT2)) % 407; + return (UnmangledHashG(key, unmangledkT1) + UnmangledHashG(key, unmangledkT2)) % 388; } } // namespace diff --git a/gfx/angle/checkout/src/compiler/translator/InfoSink.h b/gfx/angle/checkout/src/compiler/translator/InfoSink.h index bf6df8800c1b..3a807e1e3d12 100644 --- a/gfx/angle/checkout/src/compiler/translator/InfoSink.h +++ b/gfx/angle/checkout/src/compiler/translator/InfoSink.h @@ -9,7 +9,6 @@ #include #include -#include "GLSLANG/ShaderLang.h" #include "compiler/translator/Common.h" #include "compiler/translator/Severity.h" @@ -104,39 +103,17 @@ class TInfoSinkBase return *this; } - void erase() - { - sink.clear(); - binarySink.clear(); - } - int size() { return static_cast(isBinary() ? binarySink.size() : sink.size()); } + void erase() { sink.clear(); } + int size() { return static_cast(sink.size()); } - const TPersistString &str() const - { - ASSERT(!isBinary()); - return sink; - } - const char *c_str() const - { - ASSERT(!isBinary()); - return sink.c_str(); - } + const TPersistString &str() const { return sink; } + const char *c_str() const { return sink.c_str(); } void prefix(Severity severity); void location(int file, int line); - bool isBinary() const { return !binarySink.empty(); } - void setBinary(BinaryBlob &&binary) { binarySink = std::move(binary); } - const BinaryBlob &getBinary() const - { - ASSERT(isBinary()); - return binarySink; - } - private: - // The data in the info sink is either in human readable form (|sink|) or binary (|binarySink|). TPersistString sink; - BinaryBlob binarySink; }; class TInfoSink diff --git a/gfx/angle/checkout/src/compiler/translator/Initialize.cpp b/gfx/angle/checkout/src/compiler/translator/Initialize.cpp index 8c8edb76fff0..3a0aa3da8c93 100644 --- a/gfx/angle/checkout/src/compiler/translator/Initialize.cpp +++ b/gfx/angle/checkout/src/compiler/translator/Initialize.cpp @@ -53,10 +53,6 @@ void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavi { extBehavior[TExtension::EXT_shader_framebuffer_fetch] = EBhUndefined; } - if (resources.EXT_shader_framebuffer_fetch_non_coherent) - { - extBehavior[TExtension::EXT_shader_framebuffer_fetch_non_coherent] = EBhUndefined; - } if (resources.NV_shader_framebuffer_fetch) { extBehavior[TExtension::NV_shader_framebuffer_fetch] = EBhUndefined; @@ -85,14 +81,6 @@ void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavi { extBehavior[TExtension::EXT_geometry_shader] = EBhUndefined; } - if (resources.OES_shader_io_blocks) - { - extBehavior[TExtension::OES_shader_io_blocks] = EBhUndefined; - } - if (resources.EXT_shader_io_blocks) - { - extBehavior[TExtension::EXT_shader_io_blocks] = EBhUndefined; - } if (resources.EXT_gpu_shader5) { extBehavior[TExtension::EXT_gpu_shader5] = EBhUndefined; @@ -149,10 +137,6 @@ void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavi { extBehavior[TExtension::OES_shader_image_atomic] = EBhUndefined; } - if (resources.EXT_tessellation_shader) - { - extBehavior[TExtension::EXT_tessellation_shader] = EBhUndefined; - } if (resources.OES_texture_buffer) { extBehavior[TExtension::OES_texture_buffer] = EBhUndefined; @@ -161,14 +145,6 @@ void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavi { extBehavior[TExtension::EXT_texture_buffer] = EBhUndefined; } - if (resources.OES_sample_variables) - { - extBehavior[TExtension::OES_sample_variables] = EBhUndefined; - } - if (resources.EXT_clip_cull_distance) - { - extBehavior[TExtension::EXT_clip_cull_distance] = EBhUndefined; - } } void ResetExtensionBehavior(const ShBuiltInResources &resources, @@ -181,7 +157,7 @@ void ResetExtensionBehavior(const ShBuiltInResources &resources, } if (resources.ARB_texture_rectangle) { - if ((compileOptions & SH_DISABLE_ARB_TEXTURE_RECTANGLE) != 0) + if (compileOptions & SH_DISABLE_ARB_TEXTURE_RECTANGLE) { // Remove ARB_texture_rectangle so it can't be enabled by extension directives. extBehavior.erase(TExtension::ARB_texture_rectangle); diff --git a/gfx/angle/checkout/src/compiler/translator/IntermNode.cpp b/gfx/angle/checkout/src/compiler/translator/IntermNode.cpp index 636f22886a1d..bbdf8663b070 100644 --- a/gfx/angle/checkout/src/compiler/translator/IntermNode.cpp +++ b/gfx/angle/checkout/src/compiler/translator/IntermNode.cpp @@ -413,9 +413,6 @@ TIntermBlock::TIntermBlock(const TIntermBlock &node) { mStatements.push_back(node->deepCopy()); } - - ASSERT(!node.mIsTreeRoot); - mIsTreeRoot = false; } size_t TIntermBlock::getChildCount() const @@ -433,12 +430,6 @@ bool TIntermBlock::replaceChildNode(TIntermNode *original, TIntermNode *replacem return replaceChildNodeInternal(original, replacement); } -void TIntermBlock::replaceAllChildren(const TIntermSequence &newStatements) -{ - mStatements.clear(); - mStatements.insert(mStatements.begin(), newStatements.begin(), newStatements.end()); -} - size_t TIntermFunctionPrototype::getChildCount() const { return 0; @@ -470,14 +461,6 @@ bool TIntermDeclaration::replaceChildNode(TIntermNode *original, TIntermNode *re return replaceChildNodeInternal(original, replacement); } -TIntermDeclaration::TIntermDeclaration(const TIntermDeclaration &node) -{ - for (TIntermNode *node : node.mDeclarators) - { - mDeclarators.push_back(node->deepCopy()); - } -} - bool TIntermAggregateBase::replaceChildNodeInternal(TIntermNode *original, TIntermNode *replacement) { for (size_t ii = 0; ii < getSequence()->size(); ++ii) @@ -1057,9 +1040,9 @@ TIntermAggregate::TIntermAggregate(const TIntermAggregate &node) TIntermAggregate *TIntermAggregate::shallowCopy() const { - TIntermSequence copySeq; - copySeq.insert(copySeq.begin(), getSequence()->begin(), getSequence()->end()); - TIntermAggregate *copyNode = new TIntermAggregate(mFunction, mType, mOp, ©Seq); + TIntermSequence *copySeq = new TIntermSequence(); + copySeq->insert(copySeq->begin(), getSequence()->begin(), getSequence()->end()); + TIntermAggregate *copyNode = new TIntermAggregate(mFunction, mType, mOp, copySeq); copyNode->setLine(mLine); return copyNode; } diff --git a/gfx/angle/checkout/src/compiler/translator/IntermNode.h b/gfx/angle/checkout/src/compiler/translator/IntermNode.h index 4c5d3afb9fc5..3643847f68aa 100644 --- a/gfx/angle/checkout/src/compiler/translator/IntermNode.h +++ b/gfx/angle/checkout/src/compiler/translator/IntermNode.h @@ -673,7 +673,7 @@ class TIntermAggregate : public TIntermOperator, public TIntermAggregateBase class TIntermBlock : public TIntermNode, public TIntermAggregateBase { public: - TIntermBlock() : TIntermNode(), mIsTreeRoot(false) {} + TIntermBlock() : TIntermNode() {} ~TIntermBlock() override {} TIntermBlock *getAsBlock() override { return this; } @@ -683,7 +683,6 @@ class TIntermBlock : public TIntermNode, public TIntermAggregateBase size_t getChildCount() const final; TIntermNode *getChildNode(size_t index) const final; bool replaceChildNode(TIntermNode *original, TIntermNode *replacement) override; - void replaceAllChildren(const TIntermSequence &newStatements); // Only intended for initially building the block. void appendStatement(TIntermNode *statement); @@ -694,16 +693,9 @@ class TIntermBlock : public TIntermNode, public TIntermAggregateBase TIntermBlock *deepCopy() const override { return new TIntermBlock(*this); } - void setIsTreeRoot() { mIsTreeRoot = true; } - bool isTreeRoot() const { return mIsTreeRoot; } - protected: TIntermSequence mStatements; - // Used to distinguish the tree root from the other blocks. When validating the AST, some - // validations are not applicable if not run on the entire tree and are thus skipped. - bool mIsTreeRoot; - private: TIntermBlock(const TIntermBlock &); }; @@ -801,23 +793,13 @@ class TIntermDeclaration : public TIntermNode, public TIntermAggregateBase TIntermSequence *getSequence() override { return &mDeclarators; } const TIntermSequence *getSequence() const override { return &mDeclarators; } - TIntermDeclaration *deepCopy() const override + TIntermNode *deepCopy() const override { - // Note: This is only useful as support for deepCopy of TIntermBlock and TIntermLoop, but is - // not sufficient as it will be redeclaring the same TVariable. If a function body is - // duplicated for example, it means that both functions reference the same TVariable pointer - // which works, but is technically not correct. In particular, maps with TVariable * as key - // can get confused. - // - // After deepCopy() is issued, ReplaceVariables must be used to replace every declared - // variable with a duplicate. This is NOT automatically done when deepCopy-ing TIntermBlock - // and TIntermLoop nodes. - return new TIntermDeclaration(*this); + UNREACHABLE(); + return nullptr; } protected: - TIntermDeclaration(const TIntermDeclaration &node); - TIntermSequence mDeclarators; }; diff --git a/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.cpp b/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.cpp index 539f462e7de4..7c8230904ebe 100644 --- a/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.cpp +++ b/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.cpp @@ -258,7 +258,8 @@ void TOutputGLSLBase::writeLayoutQualifier(TIntermTyped *variable) if (type.getBasicType() == EbtInterfaceBlock) { - declareInterfaceBlockLayout(type); + const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); + declareInterfaceBlockLayout(interfaceBlock); return; } @@ -395,8 +396,8 @@ void TOutputGLSLBase::writeVariableType(const TType &type, out << getMemoryQualifiers(type); } - // Declare the struct. - if (type.isStructSpecifier()) + // Declare the struct if we have not done so already. + if (type.getBasicType() == EbtStruct && !structDeclared(type.getStruct())) { const TStructure *structure = type.getStruct(); @@ -404,7 +405,8 @@ void TOutputGLSLBase::writeVariableType(const TType &type, } else if (type.getBasicType() == EbtInterfaceBlock) { - declareInterfaceBlock(type); + const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); + declareInterfaceBlock(interfaceBlock); } else { @@ -1089,10 +1091,9 @@ bool TOutputGLSLBase::visitDeclaration(Visit visit, TIntermDeclaration *node) const TIntermSequence &sequence = *(node->getSequence()); TIntermTyped *variable = sequence.front()->getAsTyped(); TIntermSymbol *symbolNode = variable->getAsSymbolNode(); - if (!symbolNode || (symbolNode->getName() != "gl_ClipDistance" && - symbolNode->getName() != "gl_CullDistance")) + if (!symbolNode || symbolNode->getName() != "gl_ClipDistance") { - // gl_Clip/CullDistance re-declaration doesn't need layout. + // gl_ClipDistance re-declaration doesn't need layout. writeLayoutQualifier(variable); } writeVariableType(variable->getType(), symbolNode ? &symbolNode->variable() : nullptr, @@ -1279,6 +1280,17 @@ ImmutableString TOutputGLSLBase::hashFunctionNameIfNeeded(const TFunction *func) } } +bool TOutputGLSLBase::structDeclared(const TStructure *structure) const +{ + ASSERT(structure); + if (structure->symbolType() == SymbolType::Empty) + { + return false; + } + + return (mDeclaredStructs.count(structure->uniqueId().get()) > 0); +} + void TOutputGLSLBase::declareStruct(const TStructure *structure) { TInfoSinkBase &out = objSink(); @@ -1302,20 +1314,16 @@ void TOutputGLSLBase::declareStruct(const TStructure *structure) out << ";\n"; } out << "}"; + + if (structure->symbolType() != SymbolType::Empty) + { + mDeclaredStructs.insert(structure->uniqueId().get()); + } } -void TOutputGLSLBase::declareInterfaceBlockLayout(const TType &type) +void TOutputGLSLBase::declareInterfaceBlockLayout(const TInterfaceBlock *interfaceBlock) { - // 4.4.5 Uniform and Shader Storage Block Layout Qualifiers in GLSL 4.5 spec. - // Layout qualifiers can be used for uniform and shader storage blocks, - // but not for non-block uniform declarations. - if (IsShaderIoBlock(type.getQualifier())) - { - return; - } - - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - TInfoSinkBase &out = objSink(); + TInfoSinkBase &out = objSink(); out << "layout("; @@ -1353,56 +1361,20 @@ void TOutputGLSLBase::declareInterfaceBlockLayout(const TType &type) out << ") "; } -const char *getVariableInterpolation(TQualifier qualifier) +void TOutputGLSLBase::declareInterfaceBlock(const TInterfaceBlock *interfaceBlock) { - switch (qualifier) - { - case EvqSmoothOut: - return "smooth out "; - case EvqFlatOut: - return "flat out "; - case EvqNoPerspectiveOut: - return "noperspective out "; - case EvqCentroidOut: - return "centroid out "; - case EvqSmoothIn: - return "smooth in "; - case EvqFlatIn: - return "flat in "; - case EvqNoPerspectiveIn: - return "noperspective in "; - case EvqCentroidIn: - return "centroid in "; - default: - break; - } - return nullptr; -} - -void TOutputGLSLBase::declareInterfaceBlock(const TType &type) -{ - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - TInfoSinkBase &out = objSink(); + TInfoSinkBase &out = objSink(); out << hashName(interfaceBlock) << "{\n"; const TFieldList &fields = interfaceBlock->fields(); for (const TField *field : fields) { - if (!IsShaderIoBlock(type.getQualifier()) && type.getQualifier() != EvqPatchIn && - type.getQualifier() != EvqPatchOut) - { - writeFieldLayoutQualifier(field); - } + writeFieldLayoutQualifier(field); out << getMemoryQualifiers(*field->type()); + if (writeVariablePrecision(field->type()->getPrecision())) out << " "; - - const char *qualifier = getVariableInterpolation(field->type()->getQualifier()); - if (qualifier != nullptr) - out << qualifier; - out << getTypeName(*field->type()) << " " << hashFieldName(field); - if (field->type()->isArray()) out << ArrayString(*field->type()); out << ";\n"; @@ -1458,40 +1430,6 @@ void WriteGeometryShaderLayoutQualifiers(TInfoSinkBase &out, } } -void WriteTessControlShaderLayoutQualifiers(TInfoSinkBase &out, int inputVertices) -{ - if (inputVertices != 0) - { - out << "layout (vertices = " << inputVertices << ") out;\n"; - } -} - -void WriteTessEvaluationShaderLayoutQualifiers(TInfoSinkBase &out, - sh::TLayoutTessEvaluationType inputPrimitive, - sh::TLayoutTessEvaluationType inputVertexSpacing, - sh::TLayoutTessEvaluationType inputOrdering, - sh::TLayoutTessEvaluationType inputPoint) -{ - if (inputPrimitive != EtetUndefined) - { - out << "layout ("; - out << getTessEvaluationShaderTypeString(inputPrimitive); - if (inputVertexSpacing != EtetUndefined) - { - out << ", " << getTessEvaluationShaderTypeString(inputVertexSpacing); - } - if (inputOrdering != EtetUndefined) - { - out << ", " << getTessEvaluationShaderTypeString(inputOrdering); - } - if (inputPoint != EtetUndefined) - { - out << ", " << getTessEvaluationShaderTypeString(inputPoint); - } - out << ") in;\n"; - } -} - // If SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS is enabled, layout qualifiers are spilled whenever // variables with specified layout qualifiers are copied. Additional checks are needed against the // type and storage qualifier of the variable to verify that layout qualifiers have to be outputted. diff --git a/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.h b/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.h index 3d2369169285..70777b4f9134 100644 --- a/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.h +++ b/gfx/angle/checkout/src/compiler/translator/OutputGLSLBase.h @@ -89,20 +89,24 @@ class TOutputGLSLBase : public TIntermTraverser void declareStruct(const TStructure *structure); void writeQualifier(TQualifier qualifier, const TType &type, const TSymbol *symbol); + bool structDeclared(const TStructure *structure) const; const char *mapQualifierToString(TQualifier qualifier); sh::GLenum getShaderType() { return mShaderType; } private: - void declareInterfaceBlockLayout(const TType &type); - void declareInterfaceBlock(const TType &type); + void declareInterfaceBlockLayout(const TInterfaceBlock *interfaceBlock); + void declareInterfaceBlock(const TInterfaceBlock *interfaceBlock); void writeBuiltInFunctionTriplet(Visit visit, TOperator op, bool useEmulatedFunction); TInfoSinkBase &mObjSink; bool mDeclaringVariable; + // This set contains all the ids of the structs from every scope. + std::set mDeclaredStructs; + ShArrayIndexClampingStrategy mClampingStrategy; // name hashing. @@ -125,14 +129,6 @@ void WriteGeometryShaderLayoutQualifiers(TInfoSinkBase &out, sh::TLayoutPrimitiveType outputPrimitive, int maxVertices); -void WriteTessControlShaderLayoutQualifiers(TInfoSinkBase &out, int inputVertices); - -void WriteTessEvaluationShaderLayoutQualifiers(TInfoSinkBase &out, - sh::TLayoutTessEvaluationType inputPrimitive, - sh::TLayoutTessEvaluationType inputVertexSpacing, - sh::TLayoutTessEvaluationType inputOrdering, - sh::TLayoutTessEvaluationType inputPoint); - bool NeedsToWriteLayoutQualifier(const TType &type); } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/OutputHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/OutputHLSL.cpp index f20f6497e1f7..43881b9ee0af 100644 --- a/gfx/angle/checkout/src/compiler/translator/OutputHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/OutputHLSL.cpp @@ -24,7 +24,7 @@ #include "compiler/translator/TranslatorHLSL.h" #include "compiler/translator/UtilsHLSL.h" #include "compiler/translator/blocklayout.h" -#include "compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.h" +#include "compiler/translator/tree_ops/RemoveSwitchFallThrough.h" #include "compiler/translator/tree_util/FindSymbolNode.h" #include "compiler/translator/tree_util/NodeSearch.h" #include "compiler/translator/util.h" @@ -297,21 +297,22 @@ const TConstantUnion *OutputHLSL::writeConstantUnionArray(TInfoSinkBase &out, return constUnionIterated; } -OutputHLSL::OutputHLSL(sh::GLenum shaderType, - ShShaderSpec shaderSpec, - int shaderVersion, - const TExtensionBehavior &extensionBehavior, - const char *sourcePath, - ShShaderOutput outputType, - int numRenderTargets, - int maxDualSourceDrawBuffers, - const std::vector &uniforms, - ShCompileOptions compileOptions, - sh::WorkGroupSize workGroupSize, - TSymbolTable *symbolTable, - PerformanceDiagnostics *perfDiagnostics, - const std::map &uniformBlockOptimizedMap, - const std::vector &shaderStorageBlocks) +OutputHLSL::OutputHLSL( + sh::GLenum shaderType, + ShShaderSpec shaderSpec, + int shaderVersion, + const TExtensionBehavior &extensionBehavior, + const char *sourcePath, + ShShaderOutput outputType, + int numRenderTargets, + int maxDualSourceDrawBuffers, + const std::vector &uniforms, + ShCompileOptions compileOptions, + sh::WorkGroupSize workGroupSize, + TSymbolTable *symbolTable, + PerformanceDiagnostics *perfDiagnostics, + const std::map &uniformBlocksTranslatedToStructuredBuffers, + const std::vector &shaderStorageBlocks) : TIntermTraverser(true, true, true, symbolTable), mShaderType(shaderType), mShaderSpec(shaderSpec), @@ -322,7 +323,7 @@ OutputHLSL::OutputHLSL(sh::GLenum shaderType, mCompileOptions(compileOptions), mInsideFunction(false), mInsideMain(false), - mUniformBlockOptimizedMap(uniformBlockOptimizedMap), + mUniformBlocksTranslatedToStructuredBuffers(uniformBlocksTranslatedToStructuredBuffers), mNumRenderTargets(numRenderTargets), mMaxDualSourceDrawBuffers(maxDualSourceDrawBuffers), mCurrentFunctionMetadata(nullptr), @@ -372,7 +373,7 @@ OutputHLSL::OutputHLSL(sh::GLenum shaderType, new AtomicCounterFunctionHLSL((compileOptions & SH_FORCE_ATOMIC_VALUE_RESOLUTION) != 0); unsigned int firstUniformRegister = - (compileOptions & SH_SKIP_D3D_CONSTANT_REGISTER_ZERO) != 0 ? 1u : 0u; + ((compileOptions & SH_SKIP_D3D_CONSTANT_REGISTER_ZERO) != 0) ? 1u : 0u; mResourcesHLSL = new ResourcesHLSL(mStructureHLSL, outputType, uniforms, firstUniformRegister); if (mOutputType == SH_HLSL_3_0_OUTPUT) @@ -387,7 +388,8 @@ OutputHLSL::OutputHLSL(sh::GLenum shaderType, // Reserve registers for the default uniform block and driver constants mResourcesHLSL->reserveUniformBlockRegisters(2); - mSSBOOutputHLSL = new ShaderStorageBlockOutputHLSL(this, mResourcesHLSL, shaderStorageBlocks); + mSSBOOutputHLSL = + new ShaderStorageBlockOutputHLSL(this, symbolTable, mResourcesHLSL, shaderStorageBlocks); } OutputHLSL::~OutputHLSL() @@ -659,7 +661,8 @@ void OutputHLSL::header(TInfoSinkBase &out, out << mStructureHLSL->structsHeader(); mResourcesHLSL->uniformsHeader(out, mOutputType, mReferencedUniforms, mSymbolTable); - out << mResourcesHLSL->uniformBlocksHeader(mReferencedUniformBlocks, mUniformBlockOptimizedMap); + out << mResourcesHLSL->uniformBlocksHeader(mReferencedUniformBlocks, + mUniformBlocksTranslatedToStructuredBuffers); mSSBOOutputHLSL->writeShaderStorageBlocksHeader(out); if (!mEqualityFunctions.empty()) @@ -1647,8 +1650,8 @@ bool OutputHLSL::visitBinary(Visit visit, TIntermBinary *node) { const TInterfaceBlock *interfaceBlock = GetInterfaceBlockOfUniformBlockNearestIndexOperator(node->getLeft()); - if (interfaceBlock && - mUniformBlockOptimizedMap.count(interfaceBlock->uniqueId().get()) != 0) + if (interfaceBlock && mUniformBlocksTranslatedToStructuredBuffers.count( + interfaceBlock->uniqueId().get()) != 0) { // If the uniform block member's type is not structure, we had explicitly // packed the member into a structure, so need to add an operator of field @@ -1682,8 +1685,8 @@ bool OutputHLSL::visitBinary(Visit visit, TIntermBinary *node) { const TInterfaceBlock *interfaceBlock = GetInterfaceBlockOfUniformBlockNearestIndexOperator(node->getLeft()); - if (interfaceBlock && - mUniformBlockOptimizedMap.count(interfaceBlock->uniqueId().get()) != 0) + if (interfaceBlock && mUniformBlocksTranslatedToStructuredBuffers.count( + interfaceBlock->uniqueId().get()) != 0) { // If the uniform block member's type is not structure, we had explicitly // packed the member into a structure, so need to add an operator of field @@ -1754,8 +1757,8 @@ bool OutputHLSL::visitBinary(Visit visit, TIntermBinary *node) node->getLeft()->getType().getInterfaceBlock(); const TIntermConstantUnion *index = node->getRight()->getAsConstantUnion(); const TField *field = interfaceBlock->fields()[index->getIConst(0)]; - if (structInStd140UniformBlock || - mUniformBlockOptimizedMap.count(interfaceBlock->uniqueId().get()) != 0) + if (structInStd140UniformBlock || mUniformBlocksTranslatedToStructuredBuffers.count( + interfaceBlock->uniqueId().get()) != 0) { out << "_"; } @@ -3203,7 +3206,7 @@ void OutputHLSL::outputTriplet(TInfoSinkBase &out, void OutputHLSL::outputLineDirective(TInfoSinkBase &out, int line) { - if ((mCompileOptions & SH_LINE_DIRECTIVES) != 0 && line > 0) + if ((mCompileOptions & SH_LINE_DIRECTIVES) && (line > 0)) { out << "\n"; out << "#line " << line; diff --git a/gfx/angle/checkout/src/compiler/translator/OutputHLSL.h b/gfx/angle/checkout/src/compiler/translator/OutputHLSL.h index 91848f55e3bc..c3311e5f298b 100644 --- a/gfx/angle/checkout/src/compiler/translator/OutputHLSL.h +++ b/gfx/angle/checkout/src/compiler/translator/OutputHLSL.h @@ -37,21 +37,22 @@ using ReferencedVariables = std::map; class OutputHLSL : public TIntermTraverser { public: - OutputHLSL(sh::GLenum shaderType, - ShShaderSpec shaderSpec, - int shaderVersion, - const TExtensionBehavior &extensionBehavior, - const char *sourcePath, - ShShaderOutput outputType, - int numRenderTargets, - int maxDualSourceDrawBuffers, - const std::vector &uniforms, - ShCompileOptions compileOptions, - sh::WorkGroupSize workGroupSize, - TSymbolTable *symbolTable, - PerformanceDiagnostics *perfDiagnostics, - const std::map &uniformBlockOptimizedMap, - const std::vector &shaderStorageBlocks); + OutputHLSL( + sh::GLenum shaderType, + ShShaderSpec shaderSpec, + int shaderVersion, + const TExtensionBehavior &extensionBehavior, + const char *sourcePath, + ShShaderOutput outputType, + int numRenderTargets, + int maxDualSourceDrawBuffers, + const std::vector &uniforms, + ShCompileOptions compileOptions, + sh::WorkGroupSize workGroupSize, + TSymbolTable *symbolTable, + PerformanceDiagnostics *perfDiagnostics, + const std::map &uniformBlocksTranslatedToStructuredBuffers, + const std::vector &shaderStorageBlocks); ~OutputHLSL() override; @@ -180,7 +181,7 @@ class OutputHLSL : public TIntermTraverser // Indexed by block id, not instance id. ReferencedInterfaceBlocks mReferencedUniformBlocks; - std::map mUniformBlockOptimizedMap; + std::map mUniformBlocksTranslatedToStructuredBuffers; ReferencedVariables mReferencedAttributes; ReferencedVariables mReferencedVaryings; diff --git a/gfx/angle/checkout/src/compiler/translator/ParseContext.cpp b/gfx/angle/checkout/src/compiler/translator/ParseContext.cpp index 9c05299f36b4..f22f1b837605 100644 --- a/gfx/angle/checkout/src/compiler/translator/ParseContext.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ParseContext.cpp @@ -240,13 +240,6 @@ TParseContext::TParseContext(TSymbolTable &symt, mGeometryShaderMaxVertices(-1), mMaxGeometryShaderInvocations(resources.MaxGeometryShaderInvocations), mMaxGeometryShaderMaxVertices(resources.MaxGeometryOutputVertices), - mGeometryInputArraySize(0), - mMaxPatchVertices(resources.MaxPatchVertices), - mTessControlShaderOutputVertices(0), - mTessEvaluationShaderInputPrimitiveType(EtetUndefined), - mTessEvaluationShaderInputVertexSpacingType(EtetUndefined), - mTessEvaluationShaderInputOrderingType(EtetUndefined), - mTessEvaluationShaderInputPointType(EtetUndefined), mFunctionBodyNewScope(false), mOutputType(outputType) {} @@ -399,12 +392,6 @@ void TParseContext::outOfRangeError(bool isError, } } -void TParseContext::setTreeRoot(TIntermBlock *treeRoot) -{ - mTreeRoot = treeRoot; - mTreeRoot->setIsTreeRoot(); -} - // // Same error message for all places assignments don't work. // @@ -563,8 +550,6 @@ bool TParseContext::checkCanBeLValue(const TSourceLoc &line, const char *op, TIn case EvqFragmentIn: case EvqVertexIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: case EvqFlatIn: case EvqNoPerspectiveIn: case EvqSmoothIn: @@ -635,27 +620,6 @@ bool TParseContext::checkCanBeLValue(const TSourceLoc &line, const char *op, TIn message = "can't modify gl_Layer in a fragment shader"; } break; - case EvqSampleID: - message = "can't modify gl_SampleID"; - break; - case EvqSampleMaskIn: - message = "can't modify gl_SampleMaskIn"; - break; - case EvqSamplePosition: - message = "can't modify gl_SamplePosition"; - break; - case EvqClipDistance: - if (mShaderType == GL_FRAGMENT_SHADER) - { - message = "can't modify gl_ClipDistance in a fragment shader"; - } - break; - case EvqCullDistance: - if (mShaderType == GL_FRAGMENT_SHADER) - { - message = "can't modify gl_CullDistance in a fragment shader"; - } - break; default: // // Type that can't be written to? @@ -1145,7 +1109,7 @@ bool TParseContext::checkArrayOfArraysInOut(const TSourceLoc &line, TType(elementType).getQualifierString()); return false; } - if (elementType.qualifier == EvqFragmentOut || elementType.qualifier == EvqFragmentInOut) + if (elementType.qualifier == EvqFragmentOut) { error(line, "fragment shader output cannot be an array of arrays", TType(elementType).getQualifierString()); @@ -1177,10 +1141,7 @@ bool TParseContext::checkIsValidTypeAndQualifierForArray(const TSourceLoc &index // as arrays (GL_EXT_geometry_shader section 7.4.1). if (mShaderVersion >= 300 && elementType.getBasicType() == EbtStruct && sh::IsVarying(elementType.qualifier) && - !IsGeometryShaderInput(mShaderType, elementType.qualifier) && - !IsTessellationControlShaderInput(mShaderType, elementType.qualifier) && - !IsTessellationEvaluationShaderInput(mShaderType, elementType.qualifier) && - !IsTessellationControlShaderOutput(mShaderType, elementType.qualifier)) + !IsGeometryShaderInput(mShaderType, elementType.qualifier)) { TInfoSinkBase typeString; typeString << TType(elementType); @@ -1216,23 +1177,9 @@ void TParseContext::checkCanBeDeclaredWithoutInitializer(const TSourceLoc &line, error(line, "variables with qualifier 'const' must be initialized", identifier); } } - - // Implicitly declared arrays are disallowed for shaders other than tessellation shaders. - if (mShaderType != GL_TESS_CONTROL_SHADER && mShaderType != GL_TESS_EVALUATION_SHADER && - type->isArray()) - { - const TSpan &arraySizes = type->getArraySizes(); - for (unsigned int size : arraySizes) - { - if (size == 0) - { - error(line, - "implicitly sized arrays disallowed for shaders that are not tessellation " - "shaders", - identifier); - } - } - } + // This will make the type sized if it isn't sized yet. + checkIsNotUnsizedArray(line, "implicitly sized arrays need to be initialized", identifier, + type); } // Do some simple checks that are shared between all variable declarations, @@ -1268,18 +1215,6 @@ bool TParseContext::declareVariable(const TSourceLoc &line, checkIndexIsNotSpecified(line, type->getLayoutQualifier().index); } - if (!((identifier.beginsWith("gl_LastFragData") || type->getQualifier() == EvqFragmentInOut) && - (isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch) || - isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch_non_coherent)))) - { - checkNoncoherentIsNotSpecified(line, type->getLayoutQualifier().noncoherent); - } - else if (isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch_non_coherent) && - !isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch)) - { - checkNoncoherentIsSpecified(line, type->getLayoutQualifier().noncoherent); - } - checkBindingIsValid(line, *type); bool needsReservedCheck = true; @@ -1339,36 +1274,6 @@ bool TParseContext::declareVariable(const TSourceLoc &line, return false; } } - else if (type->isArray() && identifier == "gl_CullDistance") - { - // gl_CullDistance can be redeclared with smaller size than gl_MaxCullDistances - const TVariable *maxCullDistances = static_cast( - symbolTable.findBuiltIn(ImmutableString("gl_MaxCullDistances"), mShaderVersion)); - if (!maxCullDistances) - { - // Unsupported extension - needsReservedCheck = true; - } - else if (type->isArrayOfArrays()) - { - error(line, "redeclaration of gl_CullDistance as an array of arrays", identifier); - return false; - } - else if (static_cast(type->getOutermostArraySize()) <= - maxCullDistances->getConstPointer()->getIConst()) - { - if (const TSymbol *builtInSymbol = symbolTable.findBuiltIn(identifier, mShaderVersion)) - { - needsReservedCheck = !checkCanUseExtension(line, builtInSymbol->extension()); - } - } - else - { - error(line, "redeclaration of gl_CullDistance with size > gl_MaxCullDistances", - identifier); - return false; - } - } if (needsReservedCheck && !checkIsNotReserved(line, identifier)) return false; @@ -1551,14 +1456,6 @@ void TParseContext::declarationQualifierErrorCheck(const sh::TQualifier qualifie } bool canHaveLocation = qualifier == EvqVertexIn || qualifier == EvqFragmentOut; - if (mShaderVersion >= 300 && - (isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch) || - isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch_non_coherent))) - { - // In the case of EXT_shader_framebuffer_fetch or EXT_shader_framebuffer_fetch_non_coherent - // extension, the location of inout qualifier is used to set the input attachment index - canHaveLocation = canHaveLocation || qualifier == EvqFragmentInOut; - } if (mShaderVersion >= 310) { canHaveLocation = canHaveLocation || qualifier == EvqUniform || IsVarying(qualifier); @@ -1617,7 +1514,6 @@ void TParseContext::nonEmptyDeclarationErrorCheck(const TPublicType &publicType, case EvqAttribute: case EvqVertexIn: case EvqFragmentOut: - case EvqFragmentInOut: case EvqComputeIn: if (publicType.getBasicType() == EbtStruct) { @@ -1796,18 +1692,7 @@ void TParseContext::checkBindingIsValid(const TSourceLoc &identifierLocation, co } } -void TParseContext::checkCanUseLayoutQualifier(const TSourceLoc &location) -{ - constexpr std::array extensions{ - {TExtension::EXT_shader_framebuffer_fetch, - TExtension::EXT_shader_framebuffer_fetch_non_coherent}}; - if (getShaderVersion() < 300 && !checkCanUseOneOfExtensions(location, extensions)) - { - error(location, "qualifier supported in GLSL ES 3.00 and above only", "layout"); - } -} - -bool TParseContext::checkLayoutQualifierSupported(const TSourceLoc &location, +void TParseContext::checkLayoutQualifierSupported(const TSourceLoc &location, const ImmutableString &layoutQualifierName, int versionRequired) { @@ -1815,9 +1700,7 @@ bool TParseContext::checkLayoutQualifierSupported(const TSourceLoc &location, if (mShaderVersion < versionRequired) { error(location, "invalid layout qualifier: not supported", layoutQualifierName); - return false; } - return true; } bool TParseContext::checkWorkGroupSizeIsNotSpecified(const TSourceLoc &location, @@ -1985,43 +1868,6 @@ void TParseContext::checkEarlyFragmentTestsIsNotSpecified(const TSourceLoc &loca } } -void TParseContext::checkNoncoherentIsSpecified(const TSourceLoc &location, bool noncoherent) -{ - if (noncoherent == false) - { - error(location, - "'noncoherent' qualifier must be used when " - "GL_EXT_shader_framebuffer_fetch_non_coherent extension is used", - "noncoherent"); - } -} - -void TParseContext::checkNoncoherentIsNotSpecified(const TSourceLoc &location, bool noncoherent) -{ - if (noncoherent != false) - { - error(location, - "invalid layout qualifier: only valid when used with 'gl_LastFragData' or the " - "variable decorated with 'inout' in a fragment shader", - "noncoherent"); - } -} - -void TParseContext::checkTCSOutVarIndexIsValid(TIntermBinary *binaryExpression, - const TSourceLoc &location) -{ - ASSERT(binaryExpression->getOp() == EOpIndexIndirect || - binaryExpression->getOp() == EOpIndexDirect); - const TIntermSymbol *intermSymbol = binaryExpression->getRight()->getAsSymbolNode(); - if ((intermSymbol == nullptr) || (intermSymbol->getName() != "gl_InvocationID")) - { - error(location, - "tessellation-control per-vertex output l-value must be indexed with " - "gl_InvocationID", - "["); - } -} - void TParseContext::functionCallRValueLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *fnCall) { @@ -2171,17 +2017,6 @@ const TVariable *TParseContext::getNamedVariable(const TSourceLoc &location, "It is an error to use gl_WorkGroupSize before declaring the local group size", "gl_WorkGroupSize"); } - - // If EXT_shader_framebuffer_fetch_non_coherent is used, gl_LastFragData should be decorated - // with 'layout(noncoherent)' EXT_shader_framebuffer_fetch_non_coherent spec: "Unless the - // GL_EXT_shader_framebuffer_fetch extension has been enabled in addition, it's an error to use - // gl_LastFragData if it hasn't been explicitly redeclared with layout(noncoherent)." - if (isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch_non_coherent) && - !isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch) && - variable->getType().getQualifier() == EvqLastFragData) - { - checkNoncoherentIsSpecified(location, variable->getType().getLayoutQualifier().noncoherent); - } return variable; } @@ -2547,7 +2382,7 @@ TPublicType TParseContext::addFullySpecifiedType(const TTypeQualifierBuilder &ty checkIsAtGlobalLevel(typeSpecifier.getLine(), "layout"); } if (sh::IsVarying(returnType.qualifier) || returnType.qualifier == EvqVertexIn || - returnType.qualifier == EvqFragmentOut || returnType.qualifier == EvqFragmentInOut) + returnType.qualifier == EvqFragmentOut) { checkInputOutputTypeIsValidES3(returnType.qualifier, typeSpecifier, typeSpecifier.getLine()); @@ -2584,7 +2419,6 @@ void TParseContext::checkInputOutputTypeIsValidES3(const TQualifier qualifier, // Vertex inputs with a struct type are disallowed in nonEmptyDeclarationErrorCheck return; case EvqFragmentOut: - case EvqFragmentInOut: // ESSL 3.00 section 4.3.6 if (type.typeSpecifierNonArray.isMatrix()) { @@ -2601,11 +2435,7 @@ void TParseContext::checkInputOutputTypeIsValidES3(const TQualifier qualifier, bool typeContainsIntegers = (type.getBasicType() == EbtInt || type.getBasicType() == EbtUInt || type.isStructureContainingType(EbtInt) || type.isStructureContainingType(EbtUInt)); - bool extendedShaderTypes = mShaderVersion >= 320 || - isExtensionEnabled(TExtension::EXT_geometry_shader) || - isExtensionEnabled(TExtension::EXT_tessellation_shader); - if (typeContainsIntegers && qualifier != EvqFlatIn && qualifier != EvqFlatOut && - (!extendedShaderTypes || mShaderType == GL_FRAGMENT_SHADER)) + if (typeContainsIntegers && qualifier != EvqFlatIn && qualifier != EvqFlatOut) { error(qualifierLocation, "must use 'flat' interpolation here", getQualifierString(qualifier)); @@ -2760,94 +2590,13 @@ void TParseContext::checkGeometryShaderInputAndSetArraySize(const TSourceLoc &lo } } -void TParseContext::checkTessellationShaderUnsizedArraysAndSetSize(const TSourceLoc &location, - const ImmutableString &token, - TType *type) -{ - TQualifier qualifier = type->getQualifier(); - if (!IsTessellationControlShaderOutput(mShaderType, qualifier) && - !IsTessellationControlShaderInput(mShaderType, qualifier) && - !IsTessellationEvaluationShaderInput(mShaderType, qualifier)) - { - return; - } - - // Such variables must be declared as arrays or inside output blocks declared as arrays. - if (!type->isArray()) - { - error(location, "Tessellation interface variables must be declared as an array", token); - return; - } - - // If a size is specified, it must match the maximum patch size. - unsigned int outermostSize = type->getOutermostArraySize(); - if (outermostSize == 0u) - { - switch (qualifier) - { - case EvqTessControlIn: - case EvqTessEvaluationIn: - case EvqFlatIn: - case EvqCentroidIn: - case EvqSmoothIn: - case EvqSampleIn: - // Declaring an array size is optional. If no size is specified, it will be taken - // from the implementation-dependent maximum patch size (gl_MaxPatchVertices). - ASSERT(mMaxPatchVertices > 0); - type->sizeOutermostUnsizedArray(mMaxPatchVertices); - break; - case EvqTessControlOut: - case EvqFlatOut: - case EvqCentroidOut: - case EvqSmoothOut: - case EvqSampleOut: - // Declaring an array size is optional. If no size is specified, it will be taken - // from output patch size declared in the shader. - type->sizeOutermostUnsizedArray(mTessControlShaderOutputVertices); - break; - default: - UNREACHABLE(); - break; - } - } - else - { - if (IsTessellationControlShaderInput(mShaderType, qualifier) || - IsTessellationEvaluationShaderInput(mShaderType, qualifier)) - { - if (outermostSize != static_cast(mMaxPatchVertices)) - { - error( - location, - "If a size is specified for a tessellation control or evaluation user-defined " - "input variable, it must match the maximum patch size (gl_MaxPatchVertices).", - token); - } - } - else if (IsTessellationControlShaderOutput(mShaderType, qualifier)) - { - if (outermostSize != static_cast(mTessControlShaderOutputVertices) && - mTessControlShaderOutputVertices != 0) - { - error(location, - "If a size is specified for a tessellation control user-defined per-vertex " - "output variable, it must match the the number of vertices in the output " - "patch.", - token); - } - } - - return; - } -} - TIntermDeclaration *TParseContext::parseSingleDeclaration( TPublicType &publicType, const TSourceLoc &identifierOrTypeLocation, const ImmutableString &identifier) { TType *type = new TType(publicType); - if ((mCompileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL) != 0 && + if ((mCompileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL) && mDirectiveHandler.pragma().stdgl.invariantAll) { TQualifier qualifier = type->getQualifier(); @@ -2871,7 +2620,6 @@ TIntermDeclaration *TParseContext::parseSingleDeclaration( } checkGeometryShaderInputAndSetArraySize(identifierOrTypeLocation, identifier, type); - checkTessellationShaderUnsizedArraysAndSetSize(identifierOrTypeLocation, identifier, type); declarationQualifierErrorCheck(publicType.qualifier, publicType.layoutQualifier, identifierOrTypeLocation); @@ -2948,7 +2696,6 @@ TIntermDeclaration *TParseContext::parseSingleArrayDeclaration( checkArrayOfArraysInOut(indexLocation, elementType, *arrayType); checkGeometryShaderInputAndSetArraySize(indexLocation, identifier, arrayType); - checkTessellationShaderUnsizedArraysAndSetSize(indexLocation, identifier, arrayType); checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, arrayType); @@ -2997,15 +2744,6 @@ TIntermDeclaration *TParseContext::parseSingleInitDeclaration(const TPublicType { declaration->appendDeclarator(initNode); } - else if (publicType.isStructSpecifier()) - { - // The initialization got constant folded. If it's a struct, declare the struct anyway. - TVariable *emptyVariable = - new TVariable(&symbolTable, kEmptyImmutableString, type, SymbolType::Empty); - TIntermSymbol *symbol = new TIntermSymbol(emptyVariable); - symbol->setLine(publicType.getLine()); - declaration->appendDeclarator(symbol); - } } return declaration; } @@ -3122,7 +2860,6 @@ void TParseContext::parseDeclarator(TPublicType &publicType, TType *type = new TType(publicType); checkGeometryShaderInputAndSetArraySize(identifierLocation, identifier, type); - checkTessellationShaderUnsizedArraysAndSetSize(identifierLocation, identifier, type); checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, type); @@ -3165,7 +2902,6 @@ void TParseContext::parseArrayDeclarator(TPublicType &elementType, arrayType->makeArrays(arraySizes); checkGeometryShaderInputAndSetArraySize(identifierLocation, identifier, arrayType); - checkTessellationShaderUnsizedArraysAndSetSize(identifierLocation, identifier, arrayType); checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, arrayType); @@ -3326,7 +3062,6 @@ void TParseContext::setGeometryShaderInputArraySize(unsigned int inputArraySize, "array inputs.", "layout"); } - mGeometryInputArraySize = inputArraySize; } bool TParseContext::parseGeometryShaderInputLayoutQualifier(const TTypeQualifier &typeQualifier) @@ -3436,89 +3171,6 @@ bool TParseContext::parseGeometryShaderOutputLayoutQualifier(const TTypeQualifie return true; } -bool TParseContext::parseTessControlShaderOutputLayoutQualifier(const TTypeQualifier &typeQualifier) -{ - ASSERT(typeQualifier.qualifier == EvqTessControlOut); - - const TLayoutQualifier &layoutQualifier = typeQualifier.layoutQualifier; - - if (layoutQualifier.vertices == 0) - { - error(typeQualifier.line, "No vertices specified", "layout"); - return false; - } - - // Set mTessControlShaderOutputVertices if exists - if (mTessControlShaderOutputVertices == 0) - { - mTessControlShaderOutputVertices = layoutQualifier.vertices; - } - else - { - error(typeQualifier.line, "Duplicated vertices specified", "layout"); - } - return true; -} - -bool TParseContext::parseTessEvaluationShaderInputLayoutQualifier( - const TTypeQualifier &typeQualifier) -{ - ASSERT(typeQualifier.qualifier == EvqTessEvaluationIn); - - const TLayoutQualifier &layoutQualifier = typeQualifier.layoutQualifier; - - // Set mTessEvaluationShaderInputPrimitiveType if exists - if (layoutQualifier.tesPrimitiveType != EtetUndefined) - { - if (mTessEvaluationShaderInputPrimitiveType == EtetUndefined) - { - mTessEvaluationShaderInputPrimitiveType = layoutQualifier.tesPrimitiveType; - } - else - { - error(typeQualifier.line, "Duplicated primitive type declaration", "layout"); - } - } - // Set mTessEvaluationShaderVertexSpacingType if exists - if (layoutQualifier.tesVertexSpacingType != EtetUndefined) - { - if (mTessEvaluationShaderInputVertexSpacingType == EtetUndefined) - { - mTessEvaluationShaderInputVertexSpacingType = layoutQualifier.tesVertexSpacingType; - } - else - { - error(typeQualifier.line, "Duplicated vertex spacing declaration", "layout"); - } - } - // Set mTessEvaluationShaderInputOrderingType if exists - if (layoutQualifier.tesOrderingType != EtetUndefined) - { - if (mTessEvaluationShaderInputOrderingType == EtetUndefined) - { - mTessEvaluationShaderInputOrderingType = layoutQualifier.tesOrderingType; - } - else - { - error(typeQualifier.line, "Duplicated ordering declaration", "layout"); - } - } - // Set mTessEvaluationShaderInputPointType if exists - if (layoutQualifier.tesPointType != EtetUndefined) - { - if (mTessEvaluationShaderInputPointType == EtetUndefined) - { - mTessEvaluationShaderInputPointType = layoutQualifier.tesPointType; - } - else - { - error(typeQualifier.line, "Duplicated point type declaration", "layout"); - } - } - - return true; -} - void TParseContext::parseGlobalLayoutQualifier(const TTypeQualifierBuilder &typeQualifierBuilder) { TTypeQualifier typeQualifier = typeQualifierBuilder.getVariableTypeQualifier(mDiagnostics); @@ -3669,8 +3321,7 @@ void TParseContext::parseGlobalLayoutQualifier(const TTypeQualifierBuilder &type if (mShaderVersion < 310) { error(typeQualifier.line, - "in type qualifier without variable declaration supported in GLSL ES 3.10 and " - "after", + "in type qualifier without variable declaration supported in GLSL ES 3.10 only", "layout"); return; } @@ -3686,34 +3337,6 @@ void TParseContext::parseGlobalLayoutQualifier(const TTypeQualifierBuilder &type mEarlyFragmentTestsSpecified = true; } - else if (typeQualifier.qualifier == EvqTessControlOut) - { - if (mShaderVersion < 310) - { - error(typeQualifier.line, "out type qualifier supported in GLSL ES 3.10 and after", - "layout"); - return; - } - - if (!parseTessControlShaderOutputLayoutQualifier(typeQualifier)) - { - return; - } - } - else if (typeQualifier.qualifier == EvqTessEvaluationIn) - { - if (mShaderVersion < 310) - { - error(typeQualifier.line, "in type qualifier supported in GLSL ES 3.10 and after", - "layout"); - return; - } - - if (!parseTessEvaluationShaderInputLayoutQualifier(typeQualifier)) - { - return; - } - } else { if (!checkWorkGroupSizeIsNotSpecified(typeQualifier.line, layoutQualifier)) @@ -3730,7 +3353,7 @@ void TParseContext::parseGlobalLayoutQualifier(const TTypeQualifierBuilder &type if (mShaderVersion < 300) { - error(typeQualifier.line, "layout qualifiers supported in GLSL ES 3.00 and after", + error(typeQualifier.line, "layout qualifiers supported in GLSL ES 3.00 and above", "layout"); return; } @@ -4198,6 +3821,8 @@ TIntermTyped *TParseContext::addConstructor(TFunctionLookup *fnCall, const TSour // // Interface/uniform blocks +// TODO(jiawei.shao@intel.com): implement GL_EXT_shader_io_blocks. +// TIntermDeclaration *TParseContext::addInterfaceBlock( const TTypeQualifierBuilder &typeQualifierBuilder, const TSourceLoc &nameLine, @@ -4205,17 +3830,13 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( TFieldList *fieldList, const ImmutableString &instanceName, const TSourceLoc &instanceLine, - const TVector *arraySizes, - const TSourceLoc &arraySizesLine) + TIntermTyped *arrayIndex, + const TSourceLoc &arrayIndexLine) { checkIsNotReserved(nameLine, blockName); TTypeQualifier typeQualifier = typeQualifierBuilder.getVariableTypeQualifier(mDiagnostics); - const bool isUniformOrBuffer = - typeQualifier.qualifier == EvqUniform || typeQualifier.qualifier == EvqBuffer; - const bool isShaderIoBlock = IsShaderIoBlock(typeQualifier.qualifier); - if (mShaderVersion < 310 && typeQualifier.qualifier != EvqUniform) { error(typeQualifier.line, @@ -4223,49 +3844,10 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( "3.10", getQualifierString(typeQualifier.qualifier)); } - else if (typeQualifier.qualifier == EvqPatchOut) - { - if ((!isExtensionEnabled(TExtension::EXT_tessellation_shader) && mShaderVersion < 320) || - mShaderType != GL_TESS_CONTROL_SHADER) - { - error(typeQualifier.line, - "invalid qualifier: 'patch out' requires a tessellation control shader", - getQualifierString(typeQualifier.qualifier)); - } - } - else if (typeQualifier.qualifier == EvqPatchIn) - { - if ((!isExtensionEnabled(TExtension::EXT_tessellation_shader) && mShaderVersion < 320) || - mShaderType != GL_TESS_EVALUATION_SHADER) - { - error(typeQualifier.line, - "invalid qualifier: 'patch in' requires a tessellation evaluation shader", - getQualifierString(typeQualifier.qualifier)); - } - } else if (typeQualifier.qualifier != EvqUniform && typeQualifier.qualifier != EvqBuffer) { - if (isShaderIoBlock) - { - if (!isExtensionEnabled(TExtension::OES_shader_io_blocks) && - !isExtensionEnabled(TExtension::EXT_shader_io_blocks) && mShaderVersion < 320) - { - error(typeQualifier.line, - "invalid qualifier: shader IO blocks need shader io block extension", - getQualifierString(typeQualifier.qualifier)); - } - - if (mShaderType == GL_TESS_CONTROL_SHADER && arraySizes == nullptr) - { - error(typeQualifier.line, "type must be an array", blockName); - } - } - else - { - error(typeQualifier.line, - "invalid qualifier: interface blocks must be uniform or buffer", - getQualifierString(typeQualifier.qualifier)); - } + error(typeQualifier.line, "invalid qualifier: interface blocks must be uniform or buffer", + getQualifierString(typeQualifier.qualifier)); } if (typeQualifier.invariant) @@ -4278,52 +3860,11 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( checkMemoryQualifierIsNotSpecified(typeQualifier.memoryQualifier, typeQualifier.line); } - // Verify array sizes - if (arraySizes) + // add array index + unsigned int arraySize = 0; + if (arrayIndex != nullptr) { - if (isUniformOrBuffer) - { - if (arraySizes->size() == 0) - { - error(arraySizesLine, "unsized arrays are not allowed with interface blocks", ""); - } - if (arraySizes->size() > 1) - { - error(arraySizesLine, "array of arrays are not allowed with interface blocks", ""); - } - } - else if (isShaderIoBlock) - { - size_t arrayDimensions = arraySizes->size(); - - // Geometry shader inputs have a level arrayness that must be ignored. - if (mShaderType == GL_GEOMETRY_SHADER_EXT && IsVaryingIn(typeQualifier.qualifier)) - { - ASSERT(arrayDimensions > 0); - --arrayDimensions; - - // Validate that the array size of input matches the geometry layout - // declaration, if not automatic (specified as []). - const unsigned int geometryDim = arraySizes->back(); - if (geometryDim > 0 && geometryDim != mGeometryInputArraySize) - { - error(arraySizesLine, - "geometry shader input block array size inconsistent " - "with primitive", - ""); - } - } - - if (arrayDimensions > 1) - { - error(arraySizesLine, "array of arrays are not allowed with I/O blocks", ""); - } - } - } - else if (isShaderIoBlock && mShaderType == GL_GEOMETRY_SHADER_EXT && - IsVaryingIn(typeQualifier.qualifier)) - { - error(arraySizesLine, "geometry shader input blocks must be an array", ""); + arraySize = checkIsValidArraySize(arrayIndexLine, arrayIndex); } checkIndexIsNotSpecified(typeQualifier.line, typeQualifier.layoutQualifier.index); @@ -4334,8 +3875,6 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( } else { - unsigned int arraySize = - arraySizes == nullptr || arraySizes->empty() ? 0 : (*arraySizes)[0]; checkBlockBindingIsValid(typeQualifier.line, typeQualifier.qualifier, typeQualifier.layoutQualifier.binding, arraySize); } @@ -4343,14 +3882,9 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( checkYuvIsNotSpecified(typeQualifier.line, typeQualifier.layoutQualifier.yuv); checkEarlyFragmentTestsIsNotSpecified(typeQualifier.line, typeQualifier.layoutQualifier.earlyFragmentTests); - checkNoncoherentIsNotSpecified(typeQualifier.line, typeQualifier.layoutQualifier.noncoherent); TLayoutQualifier blockLayoutQualifier = typeQualifier.layoutQualifier; - if (!IsShaderIoBlock(typeQualifier.qualifier) && typeQualifier.qualifier != EvqPatchIn && - typeQualifier.qualifier != EvqPatchOut) - { - checkLocationIsNotSpecified(typeQualifier.line, blockLayoutQualifier); - } + checkLocationIsNotSpecified(typeQualifier.line, blockLayoutQualifier); checkStd430IsForShaderStorageBlock(typeQualifier.line, blockLayoutQualifier.blockStorage, typeQualifier.qualifier); @@ -4414,29 +3948,6 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( getQualifierString(qualifier)); } break; - // a member variable in io block may have different interpolation. - case EvqFlatIn: - case EvqFlatOut: - case EvqNoPerspectiveIn: - case EvqNoPerspectiveOut: - case EvqSmoothIn: - case EvqSmoothOut: - case EvqCentroidIn: - case EvqCentroidOut: - break; - // a member variable can have an incomplete qualifier because shader io block has either - // in or out. - case EvqSmooth: - case EvqFlat: - case EvqNoPerspective: - case EvqCentroid: - if (!IsShaderIoBlock(typeQualifier.qualifier) && - typeQualifier.qualifier != EvqPatchIn && typeQualifier.qualifier != EvqPatchOut) - { - error(field->line(), "invalid qualifier on interface block member", - getQualifierString(qualifier)); - } - break; default: error(field->line(), "invalid qualifier on interface block member", getQualifierString(qualifier)); @@ -4450,6 +3961,7 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( // check layout qualifiers TLayoutQualifier fieldLayoutQualifier = fieldType->getLayoutQualifier(); + checkLocationIsNotSpecified(field->line(), fieldLayoutQualifier); checkIndexIsNotSpecified(field->line(), fieldLayoutQualifier.index); checkBindingIsNotSpecified(field->line(), fieldLayoutQualifier.binding); @@ -4509,9 +4021,9 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( TType *interfaceBlockType = new TType(interfaceBlock, typeQualifier.qualifier, blockLayoutQualifier); - if (arraySizes) + if (arrayIndex != nullptr) { - interfaceBlockType->makeArrays(*arraySizes); + interfaceBlockType->makeArray(arraySize); } // The instance variable gets created to refer to the interface block type from the AST @@ -4530,7 +4042,7 @@ TIntermDeclaration *TParseContext::addInterfaceBlock( TType *fieldType = new TType(*field->type()); // set parent pointer of the field variable - fieldType->setInterfaceBlockField(interfaceBlock, memberIndex); + fieldType->setInterfaceBlock(interfaceBlock); fieldType->setQualifier(typeQualifier.qualifier); @@ -4640,8 +4152,8 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, if (baseExpression->getQualifier() == EvqPerVertexIn) { - if (mGeometryShaderInputPrimitiveType == EptUndefined && - mShaderType == GL_GEOMETRY_SHADER_EXT) + ASSERT(mShaderType == GL_GEOMETRY_SHADER_EXT); + if (mGeometryShaderInputPrimitiveType == EptUndefined) { error(location, "missing input primitive declaration before indexing gl_in.", "["); return CreateZeroNode(TType(EbtFloat, EbpHigh, EvqConst)); @@ -4663,6 +4175,7 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, { if (baseExpression->isInterfaceBlock()) { + // TODO(jiawei.shao@intel.com): implement GL_EXT_shader_io_blocks. switch (baseExpression->getQualifier()) { case EvqPerVertexIn: @@ -4683,14 +4196,8 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, "["); break; default: - // It's ok for shader I/O blocks to be dynamically indexed - if (!IsShaderIoBlock(baseExpression->getQualifier()) && - baseExpression->getQualifier() != EvqPatchIn && - baseExpression->getQualifier() != EvqPatchOut) - { - // We can reach here only in error cases. - ASSERT(mDiagnostics->numErrors() > 0); - } + // We can reach here only in error cases. + ASSERT(mDiagnostics->numErrors() > 0); break; } } @@ -5080,101 +4587,49 @@ TLayoutQualifier TParseContext::parseLayoutQualifier(const ImmutableString &qual checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); qualifier.imageInternalFormat = EiifR32UI; } - else if (mShaderType == GL_GEOMETRY_SHADER_EXT && - (mShaderVersion >= 320 || - (checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader) && - checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310)))) + else if (qualifierType == "points" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) { - if (qualifierType == "points") - { - qualifier.primitiveType = EptPoints; - } - else if (qualifierType == "lines") - { - qualifier.primitiveType = EptLines; - } - else if (qualifierType == "lines_adjacency") - { - qualifier.primitiveType = EptLinesAdjacency; - } - else if (qualifierType == "triangles") - { - qualifier.primitiveType = EptTriangles; - } - else if (qualifierType == "triangles_adjacency") - { - qualifier.primitiveType = EptTrianglesAdjacency; - } - else if (qualifierType == "line_strip") - { - qualifier.primitiveType = EptLineStrip; - } - else if (qualifierType == "triangle_strip") - { - qualifier.primitiveType = EptTriangleStrip; - } - else - { - error(qualifierTypeLine, "invalid layout qualifier", qualifierType); - } + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptPoints; } - else if (mShaderType == GL_TESS_EVALUATION_SHADER_EXT && - (mShaderVersion >= 320 || - (checkCanUseExtension(qualifierTypeLine, TExtension::EXT_tessellation_shader) && - checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310)))) + else if (qualifierType == "lines" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) { - if (qualifierType == "triangles") - { - qualifier.tesPrimitiveType = EtetTriangles; - } - else if (qualifierType == "quads") - { - qualifier.tesPrimitiveType = EtetQuads; - } - else if (qualifierType == "isolines") - { - qualifier.tesPrimitiveType = EtetIsolines; - } - else if (qualifierType == "equal_spacing") - { - qualifier.tesVertexSpacingType = EtetEqualSpacing; - } - else if (qualifierType == "fractional_even_spacing") - { - qualifier.tesVertexSpacingType = EtetFractionalEvenSpacing; - } - else if (qualifierType == "fractional_odd_spacing") - { - qualifier.tesVertexSpacingType = EtetFractionalOddSpacing; - } - else if (qualifierType == "cw") - { - qualifier.tesOrderingType = EtetCw; - } - else if (qualifierType == "ccw") - { - qualifier.tesOrderingType = EtetCcw; - } - else if (qualifierType == "point_mode") - { - qualifier.tesPointType = EtetPointMode; - } - else - { - error(qualifierTypeLine, "invalid layout qualifier", qualifierType); - } + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptLines; } - else if (qualifierType == "noncoherent" && mShaderType == GL_FRAGMENT_SHADER) + else if (qualifierType == "lines_adjacency" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) { - if (checkCanUseOneOfExtensions( - qualifierTypeLine, std::array{ - {TExtension::EXT_shader_framebuffer_fetch, - TExtension::EXT_shader_framebuffer_fetch_non_coherent}})) - { - checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 100); - qualifier.noncoherent = true; - } + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptLinesAdjacency; } + else if (qualifierType == "triangles" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) + { + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptTriangles; + } + else if (qualifierType == "triangles_adjacency" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) + { + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptTrianglesAdjacency; + } + else if (qualifierType == "line_strip" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) + { + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptLineStrip; + } + else if (qualifierType == "triangle_strip" && mShaderType == GL_GEOMETRY_SHADER_EXT && + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) + { + checkLayoutQualifierSupported(qualifierTypeLine, qualifierType, 310); + qualifier.primitiveType = EptTriangleStrip; + } + else { error(qualifierTypeLine, "invalid layout qualifier", qualifierType); @@ -5256,23 +4711,6 @@ void TParseContext::parseMaxVertices(int intValue, } } -void TParseContext::parseVertices(int intValue, - const TSourceLoc &intValueLine, - const std::string &intValueString, - int *vertices) -{ - if (intValue < 1 || intValue > mMaxPatchVertices) - { - error(intValueLine, - "out of range : vertices must be in the range of [1, gl_MaxPatchVertices]", - intValueString.c_str()); - } - else - { - *vertices = intValue; - } -} - void TParseContext::parseIndexLayoutQualifier(int intValue, const TSourceLoc &intValueLine, const std::string &intValueString, @@ -5367,14 +4805,12 @@ TLayoutQualifier TParseContext::parseLayoutQualifier(const ImmutableString &qual } } else if (qualifierType == "invocations" && mShaderType == GL_GEOMETRY_SHADER_EXT && - (mShaderVersion >= 320 || - checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader))) + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) { parseInvocations(intValue, intValueLine, intValueString, &qualifier.invocations); } else if (qualifierType == "max_vertices" && mShaderType == GL_GEOMETRY_SHADER_EXT && - (mShaderVersion >= 320 || - checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader))) + checkCanUseExtension(qualifierTypeLine, TExtension::EXT_geometry_shader)) { parseMaxVertices(intValue, intValueLine, intValueString, &qualifier.maxVertices); } @@ -5383,12 +4819,6 @@ TLayoutQualifier TParseContext::parseLayoutQualifier(const ImmutableString &qual { parseIndexLayoutQualifier(intValue, intValueLine, intValueString, &qualifier.index); } - else if (qualifierType == "vertices" && mShaderType == GL_TESS_CONTROL_SHADER_EXT && - (mShaderVersion >= 320 || - checkCanUseExtension(qualifierTypeLine, TExtension::EXT_tessellation_shader))) - { - parseVertices(intValue, intValueLine, intValueString, &qualifier.vertices); - } else { error(qualifierTypeLine, "invalid layout qualifier", qualifierType); @@ -5450,18 +4880,10 @@ TStorageQualifierWrapper *TParseContext::parseInQualifier(const TSourceLoc &loc) { return new TStorageQualifierWrapper(EvqComputeIn, loc); } - case GL_GEOMETRY_SHADER: + case GL_GEOMETRY_SHADER_EXT: { return new TStorageQualifierWrapper(EvqGeometryIn, loc); } - case GL_TESS_CONTROL_SHADER: - { - return new TStorageQualifierWrapper(EvqTessControlIn, loc); - } - case GL_TESS_EVALUATION_SHADER: - { - return new TStorageQualifierWrapper(EvqTessEvaluationIn, loc); - } default: { UNREACHABLE(); @@ -5503,14 +4925,6 @@ TStorageQualifierWrapper *TParseContext::parseOutQualifier(const TSourceLoc &loc { return new TStorageQualifierWrapper(EvqGeometryOut, loc); } - case GL_TESS_CONTROL_SHADER_EXT: - { - return new TStorageQualifierWrapper(EvqTessControlOut, loc); - } - case GL_TESS_EVALUATION_SHADER_EXT: - { - return new TStorageQualifierWrapper(EvqTessEvaluationOut, loc); - } default: { UNREACHABLE(); @@ -5523,16 +4937,7 @@ TStorageQualifierWrapper *TParseContext::parseInOutQualifier(const TSourceLoc &l { if (!declaringFunction()) { - if (isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch) || - isExtensionEnabled(TExtension::EXT_shader_framebuffer_fetch_non_coherent)) - { - return new TStorageQualifierWrapper(EvqFragmentInOut, loc); - } - - error(loc, - "invalid qualifier: can be used with either function parameters or the variables for " - "fetching input attachment data", - "inout"); + error(loc, "invalid qualifier: can be only used with function parameters", "inout"); } return new TStorageQualifierWrapper(EvqInOut, loc); } @@ -5629,8 +5034,6 @@ TFieldList *TParseContext::addStructDeclaratorList(const TPublicType &typeSpecif checkWorkGroupSizeIsNotSpecified(typeSpecifier.getLine(), typeSpecifier.layoutQualifier); checkEarlyFragmentTestsIsNotSpecified(typeSpecifier.getLine(), typeSpecifier.layoutQualifier.earlyFragmentTests); - checkNoncoherentIsNotSpecified(typeSpecifier.getLine(), - typeSpecifier.layoutQualifier.noncoherent); TFieldList *fieldList = new TFieldList(); @@ -6292,14 +5695,6 @@ TIntermTyped *TParseContext::addAssign(TOperator op, TIntermBinary *node = nullptr; if (binaryOpCommonCheck(op, left, right, loc)) { - TIntermBinary *lValue = left->getAsBinaryNode(); - if ((lValue != nullptr) && - (lValue->getOp() == EOpIndexIndirect || lValue->getOp() == EOpIndexDirect) && - IsTessellationControlShaderOutput(mShaderType, lValue->getLeft()->getQualifier())) - { - checkTCSOutVarIndexIsValid(lValue, loc); - } - if (op == EOpMulAssign) { op = TIntermBinary::GetMulAssignOpBasedOnOperands(left->getType(), right->getType()); diff --git a/gfx/angle/checkout/src/compiler/translator/ParseContext.h b/gfx/angle/checkout/src/compiler/translator/ParseContext.h index 28f396d8cac1..70d2ad4f7136 100644 --- a/gfx/angle/checkout/src/compiler/translator/ParseContext.h +++ b/gfx/angle/checkout/src/compiler/translator/ParseContext.h @@ -64,7 +64,7 @@ class TParseContext : angle::NonCopyable const char *token); TIntermBlock *getTreeRoot() const { return mTreeRoot; } - void setTreeRoot(TIntermBlock *treeRoot); + void setTreeRoot(TIntermBlock *treeRoot) { mTreeRoot = treeRoot; } bool getFragmentPrecisionHigh() const { @@ -177,8 +177,7 @@ class TParseContext : angle::NonCopyable // Done only for empty declarations. void emptyDeclarationErrorCheck(const TType &type, const TSourceLoc &location); - void checkCanUseLayoutQualifier(const TSourceLoc &location); - bool checkLayoutQualifierSupported(const TSourceLoc &location, + void checkLayoutQualifierSupported(const TSourceLoc &location, const ImmutableString &layoutQualifierName, int versionRequired); bool checkWorkGroupSizeIsNotSpecified(const TSourceLoc &location, @@ -191,7 +190,6 @@ class TParseContext : angle::NonCopyable const TPublicType &type, const TSourceLoc &qualifierLocation); void checkLocalVariableConstStorageQualifier(const TQualifierWrapperBase &qualifier); - void checkTCSOutVarIndexIsValid(TIntermBinary *binaryExpression, const TSourceLoc &location); const TPragma &pragma() const { return mDirectiveHandler.pragma(); } const TExtensionBehavior &extensionBehavior() const { @@ -360,8 +358,8 @@ class TParseContext : angle::NonCopyable TFieldList *fieldList, const ImmutableString &instanceName, const TSourceLoc &instanceLine, - const TVector *arraySizes, - const TSourceLoc &arraySizesLine); + TIntermTyped *arrayIndex, + const TSourceLoc &arrayIndexLine); void parseLocalSize(const ImmutableString &qualifierType, const TSourceLoc &qualifierTypeLine, @@ -382,10 +380,6 @@ class TParseContext : angle::NonCopyable const TSourceLoc &intValueLine, const std::string &intValueString, int *numMaxVertices); - void parseVertices(int intValue, - const TSourceLoc &intValueLine, - const std::string &intValueString, - int *numVertices); void parseIndexLayoutQualifier(int intValue, const TSourceLoc &intValueLine, const std::string &intValueString, @@ -471,23 +465,6 @@ class TParseContext : angle::NonCopyable { return mGeometryShaderOutputPrimitiveType; } - int getTessControlShaderOutputVertices() const { return mTessControlShaderOutputVertices; } - TLayoutTessEvaluationType getTessEvaluationShaderInputPrimitiveType() const - { - return mTessEvaluationShaderInputPrimitiveType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputVertexSpacingType() const - { - return mTessEvaluationShaderInputVertexSpacingType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputOrderingType() const - { - return mTessEvaluationShaderInputOrderingType; - } - TLayoutTessEvaluationType getTessEvaluationShaderInputPointType() const - { - return mTessEvaluationShaderInputPointType; - } ShShaderOutput getOutputType() const { return mOutputType; } @@ -577,18 +554,9 @@ class TParseContext : angle::NonCopyable void checkEarlyFragmentTestsIsNotSpecified(const TSourceLoc &location, bool earlyFragmentTests); - void checkNoncoherentIsSpecified(const TSourceLoc &location, bool noncoherent); - - void checkNoncoherentIsNotSpecified(const TSourceLoc &location, bool noncoherent); - bool checkUnsizedArrayConstructorArgumentDimensionality(const TIntermSequence &arguments, TType type, const TSourceLoc &line); - - void checkCombinedClipCullDistanceIsValid(const TSourceLoc &line, - const ImmutableString &identifier, - const int arraySize); - // Check texture offset is within range. void checkSingleTextureOffset(const TSourceLoc &line, const TConstantUnion *values, @@ -601,11 +569,6 @@ class TParseContext : angle::NonCopyable const ImmutableString &token, TType *type); - // Similar, for tessellation shaders. - void checkTessellationShaderUnsizedArraysAndSetSize(const TSourceLoc &location, - const ImmutableString &token, - TType *type); - // Will size any unsized array type so unsized arrays won't need to be taken into account // further along the line in parsing. void checkIsNotUnsizedArray(const TSourceLoc &line, @@ -648,16 +611,13 @@ class TParseContext : angle::NonCopyable bool parseGeometryShaderOutputLayoutQualifier(const TTypeQualifier &typeQualifier); void setGeometryShaderInputArraySize(unsigned int inputArraySize, const TSourceLoc &line); - bool parseTessControlShaderOutputLayoutQualifier(const TTypeQualifier &typeQualifier); - bool parseTessEvaluationShaderInputLayoutQualifier(const TTypeQualifier &typeQualifier); - // Set to true when the last/current declarator list was started with an empty declaration. The // non-empty declaration error check will need to be performed if the empty declaration is // followed by a declarator. bool mDeferredNonEmptyDeclarationErrorCheck; - sh::GLenum mShaderType; // vertex/fragment/geometry/etc shader - ShShaderSpec mShaderSpec; // The language specification compiler conforms to - GLES/WebGL/etc. + sh::GLenum mShaderType; // vertex or fragment language (future: pack or unpack) + ShShaderSpec mShaderSpec; // The language specification compiler conforms to - GLES2 or WebGL. ShCompileOptions mCompileOptions; // Options passed to TCompiler int mShaderVersion; TIntermBlock *mTreeRoot; // root of parse tree being created @@ -714,14 +674,6 @@ class TParseContext : angle::NonCopyable int mGeometryShaderMaxVertices; int mMaxGeometryShaderInvocations; int mMaxGeometryShaderMaxVertices; - unsigned int mGeometryInputArraySize; - - int mMaxPatchVertices; - int mTessControlShaderOutputVertices; - TLayoutTessEvaluationType mTessEvaluationShaderInputPrimitiveType; - TLayoutTessEvaluationType mTessEvaluationShaderInputVertexSpacingType; - TLayoutTessEvaluationType mTessEvaluationShaderInputOrderingType; - TLayoutTessEvaluationType mTessEvaluationShaderInputPointType; // Track when we add new scope for func body in ESSL 1.00 spec bool mFunctionBodyNewScope; diff --git a/gfx/angle/checkout/src/compiler/translator/ParseContext_ESSL_autogen.h b/gfx/angle/checkout/src/compiler/translator/ParseContext_ESSL_autogen.h index 0ba332e73ec8..e79242985512 100644 --- a/gfx/angle/checkout/src/compiler/translator/ParseContext_ESSL_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/ParseContext_ESSL_autogen.h @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -21,77 +21,77 @@ namespace BuiltInGroup bool isTextureOffsetNoBias(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3792 && id <= 3861; + return id >= 3680 && id <= 3749; } bool isTextureOffsetBias(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3862 && id <= 3881; -} -bool isTextureGatherOffsetNoComp(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 3919 && id <= 3926; -} -bool isTextureGatherOffsetComp(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 3927 && id <= 3932; -} -bool isTextureGatherOffset(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 3919 && id <= 3932; -} -bool isTextureGatherOffsetsNoComp(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 3933 && id <= 3949; + return id >= 3750 && id <= 3769; } bool isTextureGatherOffsetsComp(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3950 && id <= 3961; + return id >= 3807 && id <= 3819; +} +bool isTextureGatherOffsetsNoComp(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 3820 && id <= 3835; } bool isTextureGatherOffsets(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3933 && id <= 3961; + return id >= 3807 && id <= 3835; +} +bool isTextureGatherOffsetComp(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 3836 && id <= 3841; +} +bool isTextureGatherOffsetNoComp(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 3842 && id <= 3849; +} +bool isTextureGatherOffset(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 3836 && id <= 3849; } bool isTextureGather(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3895 && id <= 3961; + return id >= 3783 && id <= 3849; } bool isInterpolationFS(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 3974 && id <= 3997; + return id >= 3862 && id <= 3885; } bool isAtomicMemory(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 4002 && id <= 4019; -} -bool isImageStore(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 4056 && id <= 4073; + return id >= 3890 && id <= 3907; } bool isImageLoad(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 4074 && id <= 4091; + return id >= 3944 && id <= 3961; } bool isImageAtomic(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 4092 && id <= 4667; + return id >= 3962 && id <= 4537; +} +bool isImageStore(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 4538 && id <= 4555; } bool isImage(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 4020 && id <= 4667; + return id >= 3908 && id <= 4555; } } // namespace BuiltInGroup diff --git a/gfx/angle/checkout/src/compiler/translator/ParseContext_complete_autogen.h b/gfx/angle/checkout/src/compiler/translator/ParseContext_complete_autogen.h index a7ab625381f2..4712588d3adf 100644 --- a/gfx/angle/checkout/src/compiler/translator/ParseContext_complete_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/ParseContext_complete_autogen.h @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -28,35 +28,35 @@ bool isTextureOffsetBias(const TFunction *func) int id = func->uniqueId().get(); return id >= 1279 && id <= 1313; } -bool isTextureGatherOffsetNoComp(const TFunction *func) +bool isTextureGatherOffsetsComp(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1358 && id <= 1369; -} -bool isTextureGatherOffsetComp(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 1370 && id <= 1378; -} -bool isTextureGatherOffset(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 1358 && id <= 1378; + return id >= 1358 && id <= 1373; } bool isTextureGatherOffsetsNoComp(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1379 && id <= 1399; -} -bool isTextureGatherOffsetsComp(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 1400 && id <= 1414; + return id >= 1374 && id <= 1393; } bool isTextureGatherOffsets(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1379 && id <= 1414; + return id >= 1358 && id <= 1393; +} +bool isTextureGatherOffsetComp(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 1394 && id <= 1402; +} +bool isTextureGatherOffsetNoComp(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 1403 && id <= 1414; +} +bool isTextureGatherOffset(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 1394 && id <= 1414; } bool isTextureGather(const TFunction *func) { @@ -73,25 +73,25 @@ bool isAtomicMemory(const TFunction *func) int id = func->uniqueId().get(); return id >= 1488 && id <= 1505; } -bool isImageStore(const TFunction *func) -{ - int id = func->uniqueId().get(); - return id >= 1578 && id <= 1610; -} bool isImageLoad(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1611 && id <= 1643; + return id >= 1578 && id <= 1613; } bool isImageAtomic(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1644 && id <= 2765; + return id >= 1614 && id <= 2735; +} +bool isImageStore(const TFunction *func) +{ + int id = func->uniqueId().get(); + return id >= 2736 && id <= 2768; } bool isImage(const TFunction *func) { int id = func->uniqueId().get(); - return id >= 1506 && id <= 2765; + return id >= 1506 && id <= 2768; } } // namespace BuiltInGroup diff --git a/gfx/angle/checkout/src/compiler/translator/QualifierTypes.cpp b/gfx/angle/checkout/src/compiler/translator/QualifierTypes.cpp index a00524848217..2fb3536e0b96 100644 --- a/gfx/angle/checkout/src/compiler/translator/QualifierTypes.cpp +++ b/gfx/angle/checkout/src/compiler/translator/QualifierTypes.cpp @@ -177,8 +177,7 @@ bool HasRepeatingQualifiers(const TTypeQualifierBuilder::QualifierSequence &qual // repetitions. TQualifier currentQualifier = static_cast(qualifiers[i])->getQualifier(); - if (currentQualifier == EvqVertexOut || currentQualifier == EvqFragmentOut || - currentQualifier == EvqFragmentInOut) + if (currentQualifier == EvqVertexOut || currentQualifier == EvqFragmentOut) { isOut = true; } @@ -373,14 +372,10 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag break; case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: *joinedQualifier = EvqSmoothOut; break; case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: *joinedQualifier = EvqSmoothIn; break; default: @@ -397,14 +392,10 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag break; case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: *joinedQualifier = EvqFlatOut; break; case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: *joinedQualifier = EvqFlatIn; break; default: @@ -421,14 +412,10 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag break; case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: *joinedQualifier = EvqNoPerspectiveOut; break; case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: *joinedQualifier = EvqNoPerspectiveIn; break; default: @@ -442,14 +429,10 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag { case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: *joinedQualifier = EvqCentroidOut; break; case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: *joinedQualifier = EvqCentroidIn; break; default: @@ -463,14 +446,10 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag { case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: *joinedQualifier = EvqSampleOut; break; case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: *joinedQualifier = EvqSampleIn; break; default: @@ -478,21 +457,6 @@ bool JoinVariableStorageQualifier(TQualifier *joinedQualifier, TQualifier storag } break; } - case EvqPatch: - { - switch (storageQualifier) - { - case EvqTessControlOut: - *joinedQualifier = EvqPatchOut; - break; - case EvqTessEvaluationIn: - *joinedQualifier = EvqPatchIn; - break; - default: - return false; - } - break; - } default: return false; } @@ -731,10 +695,6 @@ TLayoutQualifier JoinLayoutQualifiers(TLayoutQualifier leftQualifier, { joinedQualifier.blockStorage = rightQualifier.blockStorage; } - if (rightQualifier.noncoherent != false) - { - joinedQualifier.noncoherent = rightQualifier.noncoherent; - } for (size_t i = 0u; i < rightQualifier.localSize.size(); ++i) { @@ -797,48 +757,6 @@ TLayoutQualifier JoinLayoutQualifiers(TLayoutQualifier leftQualifier, joinedQualifier.maxVertices = rightQualifier.maxVertices; } - if (rightQualifier.tesPrimitiveType != EtetUndefined) - { - if (joinedQualifier.tesPrimitiveType == EtetUndefined) - { - joinedQualifier.tesPrimitiveType = rightQualifier.tesPrimitiveType; - } - } - - if (rightQualifier.tesVertexSpacingType != EtetUndefined) - { - if (joinedQualifier.tesVertexSpacingType == EtetUndefined) - { - joinedQualifier.tesVertexSpacingType = rightQualifier.tesVertexSpacingType; - } - } - - if (rightQualifier.tesOrderingType != EtetUndefined) - { - if (joinedQualifier.tesOrderingType == EtetUndefined) - { - joinedQualifier.tesOrderingType = rightQualifier.tesOrderingType; - } - } - - if (rightQualifier.tesPointType != EtetUndefined) - { - if (joinedQualifier.tesPointType == EtetUndefined) - { - joinedQualifier.tesPointType = rightQualifier.tesPointType; - } - } - - if (rightQualifier.vertices != 0) - { - if (joinedQualifier.vertices != 0 && joinedQualifier.vertices != rightQualifier.vertices) - { - diagnostics->error(rightQualifierLocation, - "Cannot have multiple different vertices specifiers", "vertices"); - } - joinedQualifier.vertices = rightQualifier.vertices; - } - if (rightQualifier.index != -1) { if (joinedQualifier.index != -1) diff --git a/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.cpp index a6bebfee6712..4b7fc4402416 100644 --- a/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.cpp @@ -697,7 +697,7 @@ void ResourcesHLSL::imageMetadataUniforms(TInfoSinkBase &out, unsigned int regIn TString ResourcesHLSL::uniformBlocksHeader( const ReferencedInterfaceBlocks &referencedInterfaceBlocks, - const std::map &uniformBlockOptimizedMap) + const std::map &uniformBlockTranslatedToStructuredBuffer) { TString interfaceBlocks; @@ -712,7 +712,7 @@ TString ResourcesHLSL::uniformBlocksHeader( // In order to avoid compile performance issue, translate uniform block to structured // buffer. anglebug.com/3682. - if (uniformBlockOptimizedMap.count(interfaceBlock.uniqueId().get()) != 0) + if (uniformBlockTranslatedToStructuredBuffer.count(interfaceBlock.uniqueId().get()) != 0) { unsigned int structuredBufferRegister = mSRVRegister; if (instanceVariable != nullptr && instanceVariable->getType().isArray()) @@ -915,8 +915,7 @@ TString ResourcesHLSL::uniformBlockMembersString(const TInterfaceBlock &interfac Std140PaddingHelper padHelper = mStructureHLSL->getPaddingHelper(); - const unsigned int fieldCount = static_cast(interfaceBlock.fields().size()); - for (unsigned int typeIndex = 0; typeIndex < fieldCount; typeIndex++) + for (unsigned int typeIndex = 0; typeIndex < interfaceBlock.fields().size(); typeIndex++) { const TField &field = *interfaceBlock.fields()[typeIndex]; const TType &fieldType = *field.type(); @@ -936,8 +935,7 @@ TString ResourcesHLSL::uniformBlockMembersString(const TInterfaceBlock &interfac { const bool useHLSLRowMajorPacking = (fieldType.getLayoutQualifier().matrixPacking == EmpColumnMajor); - hlsl += padHelper.postPaddingString(fieldType, useHLSLRowMajorPacking, - typeIndex == fieldCount - 1, false); + hlsl += padHelper.postPaddingString(fieldType, useHLSLRowMajorPacking, false); } } diff --git a/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.h b/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.h index ef2d9387fc59..1af2984be4f3 100644 --- a/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.h +++ b/gfx/angle/checkout/src/compiler/translator/ResourcesHLSL.h @@ -40,7 +40,7 @@ class ResourcesHLSL : angle::NonCopyable void imageMetadataUniforms(TInfoSinkBase &out, unsigned int regIndex); TString uniformBlocksHeader( const ReferencedInterfaceBlocks &referencedInterfaceBlocks, - const std::map &uniformBlockOptimizedMap); + const std::map &uniformBlockTranslatedToStructuredBuffer); TString shaderStorageBlocksHeader(const ReferencedInterfaceBlocks &referencedInterfaceBlocks); // Used for direct index references diff --git a/gfx/angle/checkout/src/compiler/translator/ShaderLang.cpp b/gfx/angle/checkout/src/compiler/translator/ShaderLang.cpp index f6dc53fb9a5f..5c2fa6fa4809 100644 --- a/gfx/angle/checkout/src/compiler/translator/ShaderLang.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ShaderLang.cpp @@ -13,7 +13,6 @@ #include "compiler/translator/Compiler.h" #include "compiler/translator/InitializeDll.h" -#include "compiler/translator/glslang_wrapper.h" #include "compiler/translator/length_limits.h" #ifdef ANGLE_ENABLE_HLSL # include "compiler/translator/TranslatorHLSL.h" @@ -27,8 +26,7 @@ namespace sh namespace { -bool isInitialized = false; -bool isGlslangInitialized = false; +bool isInitialized = false; // // This is the platform independent interface between an OGL driver @@ -104,36 +102,6 @@ GLenum GetGeometryShaderPrimitiveTypeEnum(sh::TLayoutPrimitiveType primitiveType } } -GLenum GetTessellationShaderTypeEnum(sh::TLayoutTessEvaluationType type) -{ - switch (type) - { - case EtetTriangles: - return GL_TRIANGLES; - case EtetQuads: - return GL_QUADS; - case EtetIsolines: - return GL_ISOLINES; - case EtetEqualSpacing: - return GL_EQUAL; - case EtetFractionalEvenSpacing: - return GL_FRACTIONAL_EVEN; - case EtetFractionalOddSpacing: - return GL_FRACTIONAL_ODD; - case EtetCw: - return GL_CW; - case EtetCcw: - return GL_CCW; - case EtetPointMode: - return GL_TESS_GEN_POINT_MODE; - - case EtetUndefined: - default: - UNREACHABLE(); - return GL_INVALID_VALUE; - } -} - } // anonymous namespace // @@ -192,7 +160,6 @@ void InitBuiltInResources(ShBuiltInResources *resources) resources->EXT_shader_texture_lod = 0; resources->WEBGL_debug_shader_precision = 0; resources->EXT_shader_framebuffer_fetch = 0; - resources->EXT_shader_framebuffer_fetch_non_coherent = 0; resources->NV_shader_framebuffer_fetch = 0; resources->ARM_shader_framebuffer_fetch = 0; resources->OVR_multiview = 0; @@ -200,8 +167,6 @@ void InitBuiltInResources(ShBuiltInResources *resources) resources->EXT_YUV_target = 0; resources->EXT_geometry_shader = 0; resources->EXT_gpu_shader5 = 0; - resources->OES_shader_io_blocks = 0; - resources->EXT_shader_io_blocks = 0; resources->EXT_shader_non_constant_global_initializers = 0; resources->NV_shader_noperspective_interpolation = 0; resources->OES_texture_storage_multisample_2d_array = 0; @@ -217,15 +182,10 @@ void InitBuiltInResources(ShBuiltInResources *resources) resources->OES_shader_multisample_interpolation = 0; resources->NV_draw_buffers = 0; resources->OES_shader_image_atomic = 0; - resources->EXT_tessellation_shader = 0; resources->OES_texture_buffer = 0; resources->EXT_texture_buffer = 0; - resources->OES_sample_variables = 0; - resources->EXT_clip_cull_distance = 0; - resources->MaxClipDistances = 8; - resources->MaxCullDistances = 8; - resources->MaxCombinedClipAndCullDistances = 8; + resources->MaxClipDistances = 0; // Disable highp precision in fragment shader by default. resources->FragmentPrecisionHigh = 0; @@ -307,30 +267,7 @@ void InitBuiltInResources(ShBuiltInResources *resources) resources->MaxGeometryShaderInvocations = 32; resources->MaxGeometryImageUniforms = 0; - resources->MaxTessControlInputComponents = 64; - resources->MaxTessControlOutputComponents = 64; - resources->MaxTessControlTextureImageUnits = 16; - resources->MaxTessControlUniformComponents = 1024; - resources->MaxTessControlTotalOutputComponents = 2048; - resources->MaxTessControlImageUniforms = 0; - resources->MaxTessControlAtomicCounters = 0; - resources->MaxTessControlAtomicCounterBuffers = 0; - - resources->MaxTessPatchComponents = 120; - resources->MaxPatchVertices = 32; - resources->MaxTessGenLevel = 64; - - resources->MaxTessEvaluationInputComponents = 64; - resources->MaxTessEvaluationOutputComponents = 64; - resources->MaxTessEvaluationTextureImageUnits = 16; - resources->MaxTessEvaluationUniformComponents = 1024; - resources->MaxTessEvaluationImageUniforms = 0; - resources->MaxTessEvaluationAtomicCounters = 0; - resources->MaxTessEvaluationAtomicCounterBuffers = 0; - resources->SubPixelBits = 8; - - resources->MaxSamples = 4; } // @@ -444,18 +381,6 @@ const std::string &GetObjectCode(const ShHandle handle) return infoSink.obj.str(); } -// -// Return any object binary code. -// -const BinaryBlob &GetObjectBinaryBlob(const ShHandle handle) -{ - TCompiler *compiler = GetCompilerFromHandle(handle); - ASSERT(compiler); - - TInfoSink &infoSink = compiler->getInfoSink(); - return infoSink.obj.getBinary(); -} - const std::map *GetNameHashingMap(const ShHandle handle) { TCompiler *compiler = GetCompilerFromHandle(handle); @@ -593,16 +518,6 @@ bool HasEarlyFragmentTestsOptimization(const ShHandle handle) return compiler->isEarlyFragmentTestsOptimized(); } -uint32_t GetShaderSpecConstUsageBits(const ShHandle handle) -{ - TCompiler *compiler = GetCompilerFromHandle(handle); - if (compiler == nullptr) - { - return 0; - } - return compiler->getSpecConstUsageBits().bits(); -} - bool CheckVariablesWithinPackingLimits(int maxVectors, const std::vector &variables) { return CheckVariablesInPackingLimits(maxVectors, variables); @@ -677,18 +592,6 @@ const std::map *GetUniformRegisterMap(const ShHandle #endif // ANGLE_ENABLE_HLSL } -const std::set *GetSlowCompilingUniformBlockSet(const ShHandle handle) -{ -#ifdef ANGLE_ENABLE_HLSL - TranslatorHLSL *translator = GetTranslatorHLSLFromHandle(handle); - ASSERT(translator); - - return translator->getSlowCompilingUniformBlockSet(); -#else - return nullptr; -#endif // ANGLE_ENABLE_HLSL -} - unsigned int GetReadonlyImage2DRegisterIndex(const ShHandle handle) { #ifdef ANGLE_ENABLE_HLSL @@ -758,50 +661,6 @@ bool HasValidGeometryShaderMaxVertices(const ShHandle handle) return compiler->getGeometryShaderMaxVertices() >= 0; } -bool HasValidTessGenMode(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return compiler->getTessEvaluationShaderInputPrimitiveType() != EtetUndefined; -} - -bool HasValidTessGenSpacing(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return compiler->getTessEvaluationShaderInputVertexSpacingType() != EtetUndefined; -} - -bool HasValidTessGenVertexOrder(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return compiler->getTessEvaluationShaderInputOrderingType() != EtetUndefined; -} - -bool HasValidTessGenPointMode(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return compiler->getTessEvaluationShaderInputPointType() != EtetUndefined; -} - GLenum GetGeometryShaderInputPrimitiveType(const ShHandle handle) { ASSERT(handle); @@ -848,62 +707,6 @@ int GetGeometryShaderMaxVertices(const ShHandle handle) return maxVertices; } -int GetTessControlShaderVertices(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - int vertices = compiler->getTessControlShaderOutputVertices(); - return vertices; -} - -GLenum GetTessGenMode(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputPrimitiveType()); -} - -GLenum GetTessGenSpacing(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputVertexSpacingType()); -} - -GLenum GetTessGenVertexOrder(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputOrderingType()); -} - -GLenum GetTessGenPointMode(const ShHandle handle) -{ - ASSERT(handle); - - TShHandleBase *base = static_cast(handle); - TCompiler *compiler = base->getAsCompiler(); - ASSERT(compiler); - - return GetTessellationShaderTypeEnum(compiler->getTessEvaluationShaderInputPointType()); -} - unsigned int GetShaderSharedMemorySize(const ShHandle handle) { ASSERT(handle); @@ -916,24 +719,6 @@ unsigned int GetShaderSharedMemorySize(const ShHandle handle) return sharedMemorySize; } -void InitializeGlslang() -{ - if (!isGlslangInitialized) - { - GlslangInitialize(); - } - isGlslangInitialized = true; -} - -void FinalizeGlslang() -{ - if (isGlslangInitialized) - { - GlslangFinalize(); - } - isGlslangInitialized = false; -} - // Can't prefix with just _ because then we might introduce a double underscore, which is not safe // in GLSL (ESSL 3.00.6 section 3.8: All identifiers containing a double underscore are reserved for // use by the underlying implementation). u is short for user-defined. @@ -958,17 +743,6 @@ const char kAtomicCountersBlockName[] = "ANGLEAtomicCounters"; const char kLineRasterEmulationPosition[] = "ANGLEPosition"; -const char kXfbEmulationGetOffsetsFunctionName[] = "ANGLEGetXfbOffsets"; -const char kXfbEmulationCaptureFunctionName[] = "ANGLECaptureXfb"; -const char kXfbEmulationBufferBlockName[] = "ANGLEXfbBuffer"; -const char kXfbEmulationBufferName[] = "ANGLEXfb"; -const char kXfbEmulationBufferFieldName[] = "xfbOut"; - -const char kXfbExtensionPositionOutName[] = "ANGLEXfbPosition"; - -// EXT_shader_framebuffer_fetch / EXT_shader_framebuffer_fetch_non_coherent -const char kInputAttachmentName[] = "ANGLEInputAttachment"; - } // namespace vk } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.cpp index 46e9a46c6f09..b698807080e7 100644 --- a/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.cpp @@ -27,7 +27,6 @@ #include "compiler/translator/ResourcesHLSL.h" #include "compiler/translator/blocklayoutHLSL.h" -#include "compiler/translator/tree_util/IntermNode_util.h" #include "compiler/translator/util.h" namespace sh @@ -289,23 +288,31 @@ void GetShaderStorageBlockMembersInfo(const TInterfaceBlock *interfaceBlock, TraverseShaderVariables(block->fields, false, &visitor); } -TIntermTyped *Mul(TIntermTyped *left, TIntermTyped *right) +bool IsInArrayOfArraysChain(TIntermTyped *node) { - return left && right ? new TIntermBinary(EOpMul, left, right) : nullptr; -} + if (node->getType().isArrayOfArrays()) + return true; + TIntermBinary *binaryNode = node->getAsBinaryNode(); + if (binaryNode) + { + if (binaryNode->getLeft()->getType().isArrayOfArrays()) + return true; + } -TIntermTyped *Add(TIntermTyped *left, TIntermTyped *right) -{ - return left ? right ? new TIntermBinary(EOpAdd, left, right) : left : right; + return false; } - } // anonymous namespace ShaderStorageBlockOutputHLSL::ShaderStorageBlockOutputHLSL( OutputHLSL *outputHLSL, + TSymbolTable *symbolTable, ResourcesHLSL *resourcesHLSL, const std::vector &shaderStorageBlocks) - : mOutputHLSL(outputHLSL), + : TIntermTraverser(true, true, true, symbolTable), + mMatrixStride(0), + mRowMajor(false), + mLocationAsTheLastArgument(false), + mOutputHLSL(outputHLSL), mResourcesHLSL(resourcesHLSL), mShaderStorageBlocks(shaderStorageBlocks) { @@ -319,24 +326,27 @@ ShaderStorageBlockOutputHLSL::~ShaderStorageBlockOutputHLSL() void ShaderStorageBlockOutputHLSL::outputStoreFunctionCallPrefix(TIntermTyped *node) { + mLocationAsTheLastArgument = false; traverseSSBOAccess(node, SSBOMethod::STORE); } void ShaderStorageBlockOutputHLSL::outputLoadFunctionCall(TIntermTyped *node) { + mLocationAsTheLastArgument = true; traverseSSBOAccess(node, SSBOMethod::LOAD); - mOutputHLSL->getInfoSink() << ")"; } void ShaderStorageBlockOutputHLSL::outputLengthFunctionCall(TIntermTyped *node) { + mLocationAsTheLastArgument = true; traverseSSBOAccess(node, SSBOMethod::LENGTH); - mOutputHLSL->getInfoSink() << ")"; } void ShaderStorageBlockOutputHLSL::outputAtomicMemoryFunctionCallPrefix(TIntermTyped *node, TOperator op) { + mLocationAsTheLastArgument = false; + switch (op) { case EOpAtomicAdd: @@ -372,15 +382,15 @@ void ShaderStorageBlockOutputHLSL::outputAtomicMemoryFunctionCallPrefix(TIntermT // Note that we must calculate the matrix stride here instead of ShaderStorageBlockFunctionHLSL. // It's because that if the current node's type is a vector which comes from a matrix, we will // lose the matrix type info once we enter ShaderStorageBlockFunctionHLSL. -int ShaderStorageBlockOutputHLSL::getMatrixStride(TIntermTyped *node, - TLayoutBlockStorage storage, - bool rowMajor, - bool *isRowMajorMatrix) const +void ShaderStorageBlockOutputHLSL::setMatrixStride(TIntermTyped *node, + TLayoutBlockStorage storage, + bool rowMajor) { if (node->getType().isMatrix()) { - *isRowMajorMatrix = rowMajor; - return GetBlockMemberInfoByType(node->getType(), storage, rowMajor).matrixStride; + mMatrixStride = GetBlockMemberInfoByType(node->getType(), storage, rowMajor).matrixStride; + mRowMajor = rowMajor; + return; } if (node->getType().isVector()) @@ -388,70 +398,23 @@ int ShaderStorageBlockOutputHLSL::getMatrixStride(TIntermTyped *node, TIntermBinary *binaryNode = node->getAsBinaryNode(); if (binaryNode) { - return getMatrixStride(binaryNode->getLeft(), storage, rowMajor, isRowMajorMatrix); + return setMatrixStride(binaryNode->getLeft(), storage, rowMajor); } else { TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); if (swizzleNode) { - return getMatrixStride(swizzleNode->getOperand(), storage, rowMajor, - isRowMajorMatrix); + return setMatrixStride(swizzleNode->getOperand(), storage, rowMajor); } } } - return 0; -} - -void ShaderStorageBlockOutputHLSL::collectShaderStorageBlocks(TIntermTyped *node) -{ - TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); - if (swizzleNode) - { - return collectShaderStorageBlocks(swizzleNode->getOperand()); - } - - TIntermBinary *binaryNode = node->getAsBinaryNode(); - if (binaryNode) - { - switch (binaryNode->getOp()) - { - case EOpIndexDirectInterfaceBlock: - case EOpIndexIndirect: - case EOpIndexDirect: - case EOpIndexDirectStruct: - return collectShaderStorageBlocks(binaryNode->getLeft()); - default: - UNREACHABLE(); - return; - } - } - - const TIntermSymbol *symbolNode = node->getAsSymbolNode(); - const TType &type = symbolNode->getType(); - ASSERT(type.getQualifier() == EvqBuffer); - const TVariable &variable = symbolNode->variable(); - - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - ASSERT(interfaceBlock); - if (mReferencedShaderStorageBlocks.count(interfaceBlock->uniqueId().get()) == 0) - { - const TVariable *instanceVariable = nullptr; - if (type.isInterfaceBlock()) - { - instanceVariable = &variable; - } - mReferencedShaderStorageBlocks[interfaceBlock->uniqueId().get()] = - new TReferencedBlock(interfaceBlock, instanceVariable); - GetShaderStorageBlockMembersInfo(interfaceBlock, mShaderStorageBlocks, - &mBlockMemberInfoMap); - } } void ShaderStorageBlockOutputHLSL::traverseSSBOAccess(TIntermTyped *node, SSBOMethod method) { - // TODO: Merge collectShaderStorageBlocks and GetBlockLayoutInfo to simplify the code. - collectShaderStorageBlocks(node); + mMatrixStride = 0; + mRowMajor = false; // Note that we don't have correct BlockMemberInfo from mBlockMemberInfoMap at the current // point. But we must use those information to generate the right function name. So here we have @@ -462,45 +425,18 @@ void ShaderStorageBlockOutputHLSL::traverseSSBOAccess(TIntermTyped *node, SSBOMe int unsizedArrayStride = 0; if (node->getType().isUnsizedArray()) { - // The unsized array member must be the last member of a shader storage block. - TIntermBinary *binaryNode = node->getAsBinaryNode(); - if (binaryNode) - { - const TInterfaceBlock *interfaceBlock = - binaryNode->getLeft()->getType().getInterfaceBlock(); - ASSERT(interfaceBlock); - const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); - const TField *field = interfaceBlock->fields()[index->getIConst(0)]; - auto fieldInfoIter = mBlockMemberInfoMap.find(field); - ASSERT(fieldInfoIter != mBlockMemberInfoMap.end()); - unsizedArrayStride = fieldInfoIter->second.arrayStride; - } - else - { - const TIntermSymbol *symbolNode = node->getAsSymbolNode(); - const TVariable &variable = symbolNode->variable(); - const TInterfaceBlock *interfaceBlock = symbolNode->getType().getInterfaceBlock(); - ASSERT(interfaceBlock); - const TField *field = - GetFieldMemberInShaderStorageBlock(interfaceBlock, variable.name()); - auto fieldInfoIter = mBlockMemberInfoMap.find(field); - ASSERT(fieldInfoIter != mBlockMemberInfoMap.end()); - unsizedArrayStride = fieldInfoIter->second.arrayStride; - } + unsizedArrayStride = + GetBlockMemberInfoByType(node->getType(), storage, rowMajor).arrayStride; } - bool isRowMajorMatrix = false; - int matrixStride = getMatrixStride(node, storage, rowMajor, &isRowMajorMatrix); + setMatrixStride(node, storage, rowMajor); const TString &functionName = mSSBOFunctionHLSL->registerShaderStorageBlockFunction( - node->getType(), method, storage, isRowMajorMatrix, matrixStride, unsizedArrayStride, + node->getType(), method, storage, mRowMajor, mMatrixStride, unsizedArrayStride, node->getAsSwizzleNode()); TInfoSinkBase &out = mOutputHLSL->getInfoSink(); out << functionName; out << "("; - BlockMemberInfo blockMemberInfo; - TIntermNode *loc = traverseNode(out, node, &blockMemberInfo); - out << ", "; - loc->traverse(mOutputHLSL); + node->traverse(this); } void ShaderStorageBlockOutputHLSL::writeShaderStorageBlocksHeader(TInfoSinkBase &out) const @@ -509,144 +445,318 @@ void ShaderStorageBlockOutputHLSL::writeShaderStorageBlocksHeader(TInfoSinkBase mSSBOFunctionHLSL->shaderStorageBlockFunctionHeader(out); } -TIntermTyped *ShaderStorageBlockOutputHLSL::traverseNode(TInfoSinkBase &out, - TIntermTyped *node, - BlockMemberInfo *blockMemberInfo) +// Check if the current node is the end of the SSBO access chain. If true, we should output ')' for +// Load method. +bool ShaderStorageBlockOutputHLSL::isEndOfSSBOAccessChain() { - if (TIntermSymbol *symbolNode = node->getAsSymbolNode()) + TIntermNode *parent = getParentNode(); + if (parent) { - const TVariable &variable = symbolNode->variable(); - const TType &type = variable.getType(); - if (type.isInterfaceBlock()) + TIntermBinary *parentBinary = parent->getAsBinaryNode(); + if (parentBinary != nullptr) + { + switch (parentBinary->getOp()) + { + case EOpIndexDirectStruct: + case EOpIndexDirect: + case EOpIndexIndirect: + { + return false; + } + default: + return true; + } + } + + const TIntermSwizzle *parentSwizzle = parent->getAsSwizzleNode(); + if (parentSwizzle) + { + return false; + } + } + return true; +} + +void ShaderStorageBlockOutputHLSL::visitSymbol(TIntermSymbol *node) +{ + TInfoSinkBase &out = mOutputHLSL->getInfoSink(); + const TVariable &variable = node->variable(); + TQualifier qualifier = variable.getType().getQualifier(); + + if (qualifier == EvqBuffer) + { + const TType &variableType = variable.getType(); + const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); + ASSERT(interfaceBlock); + if (mReferencedShaderStorageBlocks.count(interfaceBlock->uniqueId().get()) == 0) + { + const TVariable *instanceVariable = nullptr; + if (variableType.isInterfaceBlock()) + { + instanceVariable = &variable; + } + mReferencedShaderStorageBlocks[interfaceBlock->uniqueId().get()] = + new TReferencedBlock(interfaceBlock, instanceVariable); + GetShaderStorageBlockMembersInfo(interfaceBlock, mShaderStorageBlocks, + &mBlockMemberInfoMap); + } + if (variableType.isInterfaceBlock()) { out << DecorateVariableIfNeeded(variable); } else { - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); out << Decorate(interfaceBlock->name()); + out << ", "; + const TField *field = GetFieldMemberInShaderStorageBlock(interfaceBlock, variable.name()); - return createFieldOffset(field, blockMemberInfo); + writeDotOperatorOutput(out, field); } } - else if (TIntermSwizzle *swizzleNode = node->getAsSwizzleNode()) + else { - return traverseNode(out, swizzleNode->getOperand(), blockMemberInfo); + return mOutputHLSL->visitSymbol(node); } - else if (TIntermBinary *binaryNode = node->getAsBinaryNode()) +} + +void ShaderStorageBlockOutputHLSL::visitConstantUnion(TIntermConstantUnion *node) +{ + mOutputHLSL->visitConstantUnion(node); +} + +bool ShaderStorageBlockOutputHLSL::visitAggregate(Visit visit, TIntermAggregate *node) +{ + return mOutputHLSL->visitAggregate(visit, node); +} + +bool ShaderStorageBlockOutputHLSL::visitTernary(Visit visit, TIntermTernary *node) +{ + return mOutputHLSL->visitTernary(visit, node); +} + +bool ShaderStorageBlockOutputHLSL::visitUnary(Visit visit, TIntermUnary *node) +{ + return mOutputHLSL->visitUnary(visit, node); +} + +bool ShaderStorageBlockOutputHLSL::visitSwizzle(Visit visit, TIntermSwizzle *node) +{ + if (visit == PostVisit) { - switch (binaryNode->getOp()) + if (!IsInShaderStorageBlock(node)) { - case EOpIndexDirect: + return mOutputHLSL->visitSwizzle(visit, node); + } + + TInfoSinkBase &out = mOutputHLSL->getInfoSink(); + // TODO(jiajia.qin@intel.com): add swizzle process if the swizzle node is not the last node + // of ssbo access chain. Such as, data.xy[0] + if (mLocationAsTheLastArgument && isEndOfSSBOAccessChain()) + { + out << ")"; + } + } + return true; +} + +bool ShaderStorageBlockOutputHLSL::visitBinary(Visit visit, TIntermBinary *node) +{ + TInfoSinkBase &out = mOutputHLSL->getInfoSink(); + + switch (node->getOp()) + { + case EOpIndexDirect: + { + if (!IsInShaderStorageBlock(node->getLeft())) { - const TType &leftType = binaryNode->getLeft()->getType(); - if (leftType.isInterfaceBlock()) + return mOutputHLSL->visitBinary(visit, node); + } + + const TType &leftType = node->getLeft()->getType(); + if (leftType.isInterfaceBlock()) + { + if (visit == PreVisit) { ASSERT(leftType.getQualifier() == EvqBuffer); - TIntermSymbol *instanceArraySymbol = binaryNode->getLeft()->getAsSymbolNode(); + TIntermSymbol *instanceArraySymbol = node->getLeft()->getAsSymbolNode(); + const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); - const int arrayIndex = - binaryNode->getRight()->getAsConstantUnion()->getIConst(0); + if (mReferencedShaderStorageBlocks.count(interfaceBlock->uniqueId().get()) == 0) + { + mReferencedShaderStorageBlocks[interfaceBlock->uniqueId().get()] = + new TReferencedBlock(interfaceBlock, &instanceArraySymbol->variable()); + GetShaderStorageBlockMembersInfo(interfaceBlock, mShaderStorageBlocks, + &mBlockMemberInfoMap); + } + + const int arrayIndex = node->getRight()->getAsConstantUnion()->getIConst(0); out << mResourcesHLSL->InterfaceBlockInstanceString( instanceArraySymbol->getName(), arrayIndex); + return false; + } + } + else + { + writeEOpIndexDirectOrIndirectOutput(out, visit, node); + } + break; + } + case EOpIndexIndirect: + { + if (!IsInShaderStorageBlock(node->getLeft())) + { + return mOutputHLSL->visitBinary(visit, node); + } + + // We do not currently support indirect references to interface blocks + ASSERT(node->getLeft()->getBasicType() != EbtInterfaceBlock); + writeEOpIndexDirectOrIndirectOutput(out, visit, node); + break; + } + case EOpIndexDirectStruct: + { + if (!IsInShaderStorageBlock(node->getLeft())) + { + return mOutputHLSL->visitBinary(visit, node); + } + + if (visit == InVisit) + { + ASSERT(IsInShaderStorageBlock(node->getLeft())); + const TStructure *structure = node->getLeft()->getType().getStruct(); + const TIntermConstantUnion *index = node->getRight()->getAsConstantUnion(); + const TField *field = structure->fields()[index->getIConst(0)]; + out << " + "; + writeDotOperatorOutput(out, field); + return false; + } + break; + } + case EOpIndexDirectInterfaceBlock: + if (!IsInShaderStorageBlock(node->getLeft())) + { + return mOutputHLSL->visitBinary(visit, node); + } + + if (visit == InVisit) + { + ASSERT(IsInShaderStorageBlock(node->getLeft())); + out << ", "; + const TInterfaceBlock *interfaceBlock = + node->getLeft()->getType().getInterfaceBlock(); + const TIntermConstantUnion *index = node->getRight()->getAsConstantUnion(); + const TField *field = interfaceBlock->fields()[index->getIConst(0)]; + writeDotOperatorOutput(out, field); + return false; + } + break; + default: + // It may have other operators in EOpIndexIndirect. Such as buffer.attribs[(y * gridSize + // + x) * 6u + 0u] + return mOutputHLSL->visitBinary(visit, node); + } + + return true; +} + +void ShaderStorageBlockOutputHLSL::writeEOpIndexDirectOrIndirectOutput(TInfoSinkBase &out, + Visit visit, + TIntermBinary *node) +{ + ASSERT(IsInShaderStorageBlock(node->getLeft())); + if (visit == InVisit) + { + const TType &type = node->getLeft()->getType(); + // For array of arrays, we calculate the offset using the formula below: + // elementStride * (a3 * a2 * a1 * i0 + a3 * a2 * i1 + a3 * i2 + i3) + // Note: assume that there are 4 dimensions. + // a0, a1, a2, a3 is the size of the array in each dimension. (S s[a0][a1][a2][a3]) + // i0, i1, i2, i3 is the index of the array in each dimension. (s[i0][i1][i2][i3]) + if (IsInArrayOfArraysChain(node->getLeft())) + { + if (type.isArrayOfArrays()) + { + const TSpan &arraySizes = type.getArraySizes(); + // Don't need to concern the tail comma which will be used to multiply the index. + for (unsigned int i = 0; i < (arraySizes.size() - 1); i++) + { + out << arraySizes[i]; + out << " * "; + } + } + } + else + { + if (node->getType().isVector() && type.isMatrix()) + { + if (mRowMajor) + { + out << " + " << str(BlockLayoutEncoder::kBytesPerComponent); } else { - return writeEOpIndexDirectOrIndirectOutput(out, binaryNode, blockMemberInfo); + out << " + " << str(mMatrixStride); } - break; } - case EOpIndexIndirect: + else if (node->getType().isScalar() && !type.isArray()) { - // We do not currently support indirect references to interface blocks - ASSERT(binaryNode->getLeft()->getBasicType() != EbtInterfaceBlock); - return writeEOpIndexDirectOrIndirectOutput(out, binaryNode, blockMemberInfo); - break; + if (mRowMajor) + { + out << " + " << str(mMatrixStride); + } + else + { + out << " + " << str(BlockLayoutEncoder::kBytesPerComponent); + } } - case EOpIndexDirectStruct: - { - // We do not currently support direct references to interface blocks - ASSERT(binaryNode->getLeft()->getBasicType() != EbtInterfaceBlock); - TIntermTyped *left = traverseNode(out, binaryNode->getLeft(), blockMemberInfo); - const TStructure *structure = binaryNode->getLeft()->getType().getStruct(); - const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); - const TField *field = structure->fields()[index->getIConst(0)]; - return Add(createFieldOffset(field, blockMemberInfo), left); - break; - } - case EOpIndexDirectInterfaceBlock: - { - ASSERT(IsInShaderStorageBlock(binaryNode->getLeft())); - traverseNode(out, binaryNode->getLeft(), blockMemberInfo); - const TInterfaceBlock *interfaceBlock = - binaryNode->getLeft()->getType().getInterfaceBlock(); - const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); - const TField *field = interfaceBlock->fields()[index->getIConst(0)]; - return createFieldOffset(field, blockMemberInfo); - break; - } - default: - return nullptr; + + out << " * "; + } + } + else if (visit == PostVisit) + { + // This is used to output the '+' in the array of arrays formula in above. + if (node->getType().isArray() && !isEndOfSSBOAccessChain()) + { + out << " + "; + } + // This corresponds to '(' in writeDotOperatorOutput when fieldType.isArrayOfArrays() is + // true. + if (IsInArrayOfArraysChain(node->getLeft()) && !node->getType().isArray()) + { + out << ")"; + } + if (mLocationAsTheLastArgument && isEndOfSSBOAccessChain()) + { + out << ")"; } } - return nullptr; } -TIntermTyped *ShaderStorageBlockOutputHLSL::writeEOpIndexDirectOrIndirectOutput( - TInfoSinkBase &out, - TIntermBinary *node, - BlockMemberInfo *blockMemberInfo) -{ - ASSERT(IsInShaderStorageBlock(node->getLeft())); - TIntermTyped *left = traverseNode(out, node->getLeft(), blockMemberInfo); - TIntermTyped *right = node->getRight()->deepCopy(); - const TType &type = node->getLeft()->getType(); - TLayoutBlockStorage storage; - bool rowMajor; - GetBlockLayoutInfo(node, false, &storage, &rowMajor); - - if (type.isArray()) - { - const TSpan &arraySizes = type.getArraySizes(); - for (unsigned int i = 0; i < arraySizes.size() - 1; i++) - { - right = Mul(CreateUIntNode(arraySizes[i]), right); - } - right = Mul(CreateUIntNode(blockMemberInfo->arrayStride), right); - } - else if (type.isMatrix()) - { - if (rowMajor) - { - right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); - } - else - { - right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); - } - } - else if (type.isVector()) - { - if (blockMemberInfo->isRowMajorMatrix) - { - right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); - } - else - { - right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); - } - } - return Add(left, right); -} - -TIntermTyped *ShaderStorageBlockOutputHLSL::createFieldOffset(const TField *field, - BlockMemberInfo *blockMemberInfo) +void ShaderStorageBlockOutputHLSL::writeDotOperatorOutput(TInfoSinkBase &out, const TField *field) { auto fieldInfoIter = mBlockMemberInfoMap.find(field); ASSERT(fieldInfoIter != mBlockMemberInfoMap.end()); - *blockMemberInfo = fieldInfoIter->second; - return CreateUIntNode(blockMemberInfo->offset); + const BlockMemberInfo &memberInfo = fieldInfoIter->second; + mMatrixStride = memberInfo.matrixStride; + mRowMajor = memberInfo.isRowMajorMatrix; + out << memberInfo.offset; + + const TType &fieldType = *field->type(); + if (fieldType.isArray() && !isEndOfSSBOAccessChain()) + { + out << " + "; + out << memberInfo.arrayStride; + if (fieldType.isArrayOfArrays()) + { + out << " * ("; + } + } + if (mLocationAsTheLastArgument && isEndOfSSBOAccessChain()) + { + out << ")"; + } } } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.h b/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.h index 4aeed3f75241..cdb16fc6d0f7 100644 --- a/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.h +++ b/gfx/angle/checkout/src/compiler/translator/ShaderStorageBlockOutputHLSL.h @@ -10,9 +10,9 @@ #ifndef COMPILER_TRANSLATOR_SHADERSTORAGEBLOCKOUTPUTHLSL_H_ #define COMPILER_TRANSLATOR_SHADERSTORAGEBLOCKOUTPUTHLSL_H_ -#include "compiler/translator/IntermNode.h" #include "compiler/translator/ShaderStorageBlockFunctionHLSL.h" #include "compiler/translator/blocklayout.h" +#include "compiler/translator/tree_util/IntermTraverse.h" namespace sh { @@ -36,14 +36,15 @@ using BlockMemberInfoMap = std::map; using ShaderVarToFieldMap = std::map; -class ShaderStorageBlockOutputHLSL +class ShaderStorageBlockOutputHLSL : public TIntermTraverser { public: ShaderStorageBlockOutputHLSL(OutputHLSL *outputHLSL, + TSymbolTable *symbolTable, ResourcesHLSL *resourcesHLSL, const std::vector &shaderStorageBlocks); - ~ShaderStorageBlockOutputHLSL(); + ~ShaderStorageBlockOutputHLSL() override; // This writes part of the function call to store a value to a SSBO to the output stream. After // calling this, ", )" should be written to the output stream to complete the @@ -58,21 +59,26 @@ class ShaderStorageBlockOutputHLSL void writeShaderStorageBlocksHeader(TInfoSinkBase &out) const; + protected: + void visitSymbol(TIntermSymbol *) override; + void visitConstantUnion(TIntermConstantUnion *) override; + bool visitSwizzle(Visit visit, TIntermSwizzle *node) override; + bool visitBinary(Visit visit, TIntermBinary *) override; + bool visitAggregate(Visit visit, TIntermAggregate *node) override; + bool visitTernary(Visit visit, TIntermTernary *) override; + bool visitUnary(Visit visit, TIntermUnary *) override; + private: void traverseSSBOAccess(TIntermTyped *node, SSBOMethod method); - TIntermTyped *traverseNode(TInfoSinkBase &out, - TIntermTyped *node, - BlockMemberInfo *blockMemberInfo); - int getMatrixStride(TIntermTyped *node, - TLayoutBlockStorage storage, - bool rowMajor, - bool *isRowMajor) const; - TIntermTyped *writeEOpIndexDirectOrIndirectOutput(TInfoSinkBase &out, - TIntermBinary *node, - BlockMemberInfo *blockMemberInfo); + void setMatrixStride(TIntermTyped *node, TLayoutBlockStorage storage, bool rowMajor); + bool isEndOfSSBOAccessChain(); + void writeEOpIndexDirectOrIndirectOutput(TInfoSinkBase &out, Visit visit, TIntermBinary *node); // Common part in dot operations. - TIntermTyped *createFieldOffset(const TField *field, BlockMemberInfo *blockMemberInfo); - void collectShaderStorageBlocks(TIntermTyped *node); + void writeDotOperatorOutput(TInfoSinkBase &out, const TField *field); + + int mMatrixStride; + bool mRowMajor; + bool mLocationAsTheLastArgument; OutputHLSL *mOutputHLSL; ShaderStorageBlockFunctionHLSL *mSSBOFunctionHLSL; ResourcesHLSL *mResourcesHLSL; diff --git a/gfx/angle/checkout/src/compiler/translator/ShaderVars.cpp b/gfx/angle/checkout/src/compiler/translator/ShaderVars.cpp index dece71e308ef..461082a42f59 100644 --- a/gfx/angle/checkout/src/compiler/translator/ShaderVars.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ShaderVars.cpp @@ -40,19 +40,14 @@ ShaderVariable::ShaderVariable(GLenum typeIn) active(false), isRowMajorLayout(false), location(-1), - hasImplicitLocation(false), binding(-1), imageUnitFormat(GL_NONE), offset(-1), readonly(false), writeonly(false), - isFragmentInOut(false), index(-1), - yuv(false), interpolation(INTERPOLATION_SMOOTH), isInvariant(false), - isShaderIOBlock(false), - isPatch(false), texelFetchStaticUse(false), flattenedOffsetInParentArrays(-1) {} @@ -74,23 +69,17 @@ ShaderVariable::ShaderVariable(const ShaderVariable &other) staticUse(other.staticUse), active(other.active), fields(other.fields), - structOrBlockName(other.structOrBlockName), - mappedStructOrBlockName(other.mappedStructOrBlockName), + structName(other.structName), isRowMajorLayout(other.isRowMajorLayout), location(other.location), - hasImplicitLocation(other.hasImplicitLocation), binding(other.binding), imageUnitFormat(other.imageUnitFormat), offset(other.offset), readonly(other.readonly), writeonly(other.writeonly), - isFragmentInOut(other.isFragmentInOut), index(other.index), - yuv(other.yuv), interpolation(other.interpolation), isInvariant(other.isInvariant), - isShaderIOBlock(other.isShaderIOBlock), - isPatch(other.isPatch), texelFetchStaticUse(other.texelFetchStaticUse), flattenedOffsetInParentArrays(other.flattenedOffsetInParentArrays) {} @@ -105,24 +94,18 @@ ShaderVariable &ShaderVariable::operator=(const ShaderVariable &other) staticUse = other.staticUse; active = other.active; fields = other.fields; - structOrBlockName = other.structOrBlockName; - mappedStructOrBlockName = other.mappedStructOrBlockName; + structName = other.structName; isRowMajorLayout = other.isRowMajorLayout; flattenedOffsetInParentArrays = other.flattenedOffsetInParentArrays; location = other.location; - hasImplicitLocation = other.hasImplicitLocation; binding = other.binding; imageUnitFormat = other.imageUnitFormat; offset = other.offset; readonly = other.readonly; writeonly = other.writeonly; - isFragmentInOut = other.isFragmentInOut; index = other.index; - yuv = other.yuv; interpolation = other.interpolation; isInvariant = other.isInvariant; - isShaderIOBlock = other.isShaderIOBlock; - isPatch = other.isPatch; texelFetchStaticUse = other.texelFetchStaticUse; return *this; } @@ -132,16 +115,12 @@ bool ShaderVariable::operator==(const ShaderVariable &other) const if (type != other.type || precision != other.precision || name != other.name || mappedName != other.mappedName || arraySizes != other.arraySizes || staticUse != other.staticUse || active != other.active || - fields.size() != other.fields.size() || structOrBlockName != other.structOrBlockName || - mappedStructOrBlockName != other.mappedStructOrBlockName || + fields.size() != other.fields.size() || structName != other.structName || isRowMajorLayout != other.isRowMajorLayout || location != other.location || - hasImplicitLocation != other.hasImplicitLocation || binding != other.binding || - imageUnitFormat != other.imageUnitFormat || offset != other.offset || - readonly != other.readonly || writeonly != other.writeonly || index != other.index || - yuv != other.yuv || interpolation != other.interpolation || - isInvariant != other.isInvariant || isShaderIOBlock != other.isShaderIOBlock || - isPatch != other.isPatch || texelFetchStaticUse != other.texelFetchStaticUse || - isFragmentInOut != other.isFragmentInOut) + binding != other.binding || imageUnitFormat != other.imageUnitFormat || + offset != other.offset || readonly != other.readonly || writeonly != other.writeonly || + index != other.index || interpolation != other.interpolation || + isInvariant != other.isInvariant || texelFetchStaticUse != other.texelFetchStaticUse) { return false; } @@ -314,28 +293,16 @@ const sh::ShaderVariable *ShaderVariable::findField(const std::string &fullName, return nullptr; } size_t pos = fullName.find_first_of("."); - std::string topName, fieldName; if (pos == std::string::npos) { - // If this is a shader I/O block without an instance name, return the field given only the - // field name. - if (!isShaderIOBlock || !name.empty()) - { - return nullptr; - } - - fieldName = fullName; + return nullptr; } - else + std::string topName = fullName.substr(0, pos); + if (topName != name) { - std::string baseName = isShaderIOBlock ? structOrBlockName : name; - topName = fullName.substr(0, pos); - if (topName != baseName) - { - return nullptr; - } - fieldName = fullName.substr(pos + 1); + return nullptr; } + std::string fieldName = fullName.substr(pos + 1); if (fieldName.empty()) { return nullptr; @@ -353,7 +320,7 @@ const sh::ShaderVariable *ShaderVariable::findField(const std::string &fullName, bool ShaderVariable::isBuiltIn() const { - return gl::IsBuiltInName(name); + return (name.size() >= 4 && name[0] == 'g' && name[1] == 'l' && name[2] == '_'); } bool ShaderVariable::isEmulatedBuiltIn() const @@ -389,28 +356,11 @@ bool ShaderVariable::isSameVariableAtLinkTime(const ShaderVariable &other, return false; } } - if (structOrBlockName != other.structOrBlockName || - mappedStructOrBlockName != other.mappedStructOrBlockName) + if (structName != other.structName) return false; return true; } -void ShaderVariable::updateEffectiveLocation(const sh::ShaderVariable &parent) -{ - if ((location < 0 || hasImplicitLocation) && !parent.hasImplicitLocation) - { - location = parent.location; - } -} - -void ShaderVariable::resetEffectiveLocation() -{ - if (hasImplicitLocation) - { - location = -1; - } -} - bool ShaderVariable::isSameUniformAtLinkTime(const ShaderVariable &other) const { // Enforce a consistent match. @@ -450,28 +400,11 @@ bool ShaderVariable::isSameVaryingAtLinkTime(const ShaderVariable &other) const bool ShaderVariable::isSameVaryingAtLinkTime(const ShaderVariable &other, int shaderVersion) const { - return ShaderVariable::isSameVariableAtLinkTime(other, false, false) && - InterpolationTypesMatch(interpolation, other.interpolation) && - (shaderVersion >= 300 || isInvariant == other.isInvariant) && - (isPatch == other.isPatch) && location == other.location && - (isSameNameAtLinkTime(other) || (shaderVersion >= 310 && location >= 0)); -} - -bool ShaderVariable::isSameNameAtLinkTime(const ShaderVariable &other) const -{ - if (isShaderIOBlock != other.isShaderIOBlock) - { - return false; - } - - if (isShaderIOBlock) - { - // Shader I/O blocks match by block name. - return structOrBlockName == other.structOrBlockName; - } - - // Otherwise match by name. - return name == other.name; + return (ShaderVariable::isSameVariableAtLinkTime(other, false, false) && + InterpolationTypesMatch(interpolation, other.interpolation) && + (shaderVersion >= 300 || isInvariant == other.isInvariant) && + (location == other.location) && + (name == other.name || (shaderVersion >= 310 && location >= 0))); } InterfaceBlock::InterfaceBlock() @@ -549,7 +482,7 @@ bool InterfaceBlock::isSameInterfaceBlockAtLinkTime(const InterfaceBlock &other) bool InterfaceBlock::isBuiltIn() const { - return gl::IsBuiltInName(name); + return (name.size() >= 4 && name[0] == 'g' && name[1] == 'l' && name[2] == '_'); } void WorkGroupSize::fill(int fillValue) diff --git a/gfx/angle/checkout/src/compiler/translator/StructureHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/StructureHLSL.cpp index 669b8f509104..315e80207f88 100644 --- a/gfx/angle/checkout/src/compiler/translator/StructureHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/StructureHLSL.cpp @@ -62,7 +62,7 @@ TString Define(const TStructure &structure, if (padHelper) { string += padHelper->postPaddingString(fieldType, useHLSLRowMajorPacking, - memberSize == 0, forcePadding); + memberSize == 0 && forcePadding); } } } @@ -92,12 +92,6 @@ TString WriteParameterList(const std::vector ¶meters) return parameterList; } -int GetElementPadding(int elementIndex, int alignment) -{ - const int paddingOffset = elementIndex % alignment; - return paddingOffset != 0 ? (alignment - paddingOffset) : 0; -} - } // anonymous namespace Std140PaddingHelper::Std140PaddingHelper(const std::map &structElementIndexes, @@ -129,19 +123,9 @@ int Std140PaddingHelper::prePadding(const TType &type, bool forcePadding) { if (type.getBasicType() == EbtStruct || type.isMatrix() || type.isArray()) { - if (forcePadding) - { - // Add padding between the structure's members to follow the std140 rules manually. - const int forcePaddingCount = GetElementPadding(mElementIndex, 4); - mElementIndex = 0; - return forcePaddingCount; - } - else - { - // no padding needed, HLSL will align the field to a new register - mElementIndex = 0; - return 0; - } + // no padding needed, HLSL will align the field to a new register + mElementIndex = 0; + return 0; } const GLenum glType = GLVariableType(type); @@ -149,27 +133,18 @@ int Std140PaddingHelper::prePadding(const TType &type, bool forcePadding) if (numComponents >= 4) { - if (forcePadding) - { - // Add padding between the structure's members to follow the std140 rules manually. - const int forcePaddingCount = GetElementPadding(mElementIndex, 4); - mElementIndex = numComponents % 4; - return forcePaddingCount; - } - else - { - // no padding needed, HLSL will align the field to a new register - mElementIndex = 0; - return 0; - } + // no padding needed, HLSL will align the field to a new register + mElementIndex = 0; + return 0; } if (mElementIndex + numComponents > 4) { if (forcePadding) { - // Add padding between the structure's members to follow the std140 rules manually. - const int forcePaddingCount = GetElementPadding(mElementIndex, 4); + // If this structure will be used as HLSL StructuredBuffer member's type, we should add + // padding between the structure's members to follow the std140 rules manually. + const int forcePaddingCount = 4 - mElementIndex; mElementIndex = numComponents; return forcePaddingCount; } @@ -181,8 +156,9 @@ int Std140PaddingHelper::prePadding(const TType &type, bool forcePadding) } } - const int alignment = numComponents == 3 ? 4 : numComponents; - const int paddingCount = GetElementPadding(mElementIndex, alignment); + const int alignment = numComponents == 3 ? 4 : numComponents; + const int paddingOffset = (mElementIndex % alignment); + const int paddingCount = (paddingOffset != 0 ? (alignment - paddingOffset) : 0); mElementIndex += paddingCount; mElementIndex += numComponents; @@ -207,33 +183,23 @@ TString Std140PaddingHelper::prePaddingString(const TType &type, bool forcePaddi TString Std140PaddingHelper::postPaddingString(const TType &type, bool useHLSLRowMajorPacking, - bool isLastElement, bool forcePadding) { if (!type.isMatrix() && !type.isArray() && type.getBasicType() != EbtStruct) { if (forcePadding) { - const GLenum glType = GLVariableType(type); - const int numComponents = gl::VariableComponentCount(glType); - if (isLastElement || (numComponents >= 4)) + // If this structure will be used as HLSL StructuredBuffer member's type, we + // should force to pad the end of the structure to follow the std140 rules. + TString forcePaddingStr; + const int paddingOffset = mElementIndex % 4; + const int paddingCount = paddingOffset != 0 ? (4 - paddingOffset) : 0; + for (int paddingIndex = 0; paddingIndex < paddingCount; paddingIndex++) { - // If this structure will be used as HLSL StructuredBuffer member's type, in - // order to follow the std140 rules, add padding at the end of the structure - // if necessary. Or if the current element straddles a vec4 boundary, add - // padding to round up the base offset of the next element to the base - // alignment of a vec4. - TString forcePaddingStr; - const int paddingCount = GetElementPadding(mElementIndex, 4); - for (int paddingIndex = 0; paddingIndex < paddingCount; paddingIndex++) - { - forcePaddingStr += " float pad_" + next() + ";\n"; - } - mElementIndex = 0; - return forcePaddingStr; + forcePaddingStr += " float pad_" + next() + ";\n"; } + return forcePaddingStr; } - return ""; } diff --git a/gfx/angle/checkout/src/compiler/translator/StructureHLSL.h b/gfx/angle/checkout/src/compiler/translator/StructureHLSL.h index 7f3b0356f742..f70d5bcc1f48 100644 --- a/gfx/angle/checkout/src/compiler/translator/StructureHLSL.h +++ b/gfx/angle/checkout/src/compiler/translator/StructureHLSL.h @@ -34,10 +34,7 @@ class Std140PaddingHelper int elementIndex() const { return mElementIndex; } int prePadding(const TType &type, bool forcePadding); TString prePaddingString(const TType &type, bool forcePadding); - TString postPaddingString(const TType &type, - bool useHLSLRowMajorPacking, - bool isLastElement, - bool forcePadding); + TString postPaddingString(const TType &type, bool useHLSLRowMajorPacking, bool forcePadding); private: TString next(); diff --git a/gfx/angle/checkout/src/compiler/translator/Symbol.cpp b/gfx/angle/checkout/src/compiler/translator/Symbol.cpp index e5bf242e7359..d0389af43f5f 100644 --- a/gfx/angle/checkout/src/compiler/translator/Symbol.cpp +++ b/gfx/angle/checkout/src/compiler/translator/Symbol.cpp @@ -25,7 +25,6 @@ constexpr const ImmutableString kMainName("main"); constexpr const ImmutableString kImageLoadName("imageLoad"); constexpr const ImmutableString kImageStoreName("imageStore"); constexpr const ImmutableString kImageSizeName("imageSize"); -constexpr const ImmutableString kImageAtomicExchangeName("imageAtomicExchange"); constexpr const ImmutableString kAtomicCounterName("atomicCounter"); static const char kFunctionMangledNameSeparator = '('; @@ -215,8 +214,7 @@ bool TFunction::isMain() const bool TFunction::isImageFunction() const { return symbolType() == SymbolType::BuiltIn && - (name() == kImageSizeName || name() == kImageLoadName || name() == kImageStoreName || - name() == kImageAtomicExchangeName); + (name() == kImageSizeName || name() == kImageLoadName || name() == kImageStoreName); } bool TFunction::isAtomicCounterFunction() const diff --git a/gfx/angle/checkout/src/compiler/translator/Symbol.h b/gfx/angle/checkout/src/compiler/translator/Symbol.h index 4d55b6dea12d..b9cf90894e6e 100644 --- a/gfx/angle/checkout/src/compiler/translator/Symbol.h +++ b/gfx/angle/checkout/src/compiler/translator/Symbol.h @@ -138,7 +138,7 @@ class TStructure : public TSymbol, public TFieldListCollection // TODO(zmo): Find a way to get rid of the const_cast in function // setName(). At the moment keep this function private so only // friend class RegenerateStructNames may call it. - friend class RegenerateStructNamesTraverser; + friend class RegenerateStructNames; void setName(const ImmutableString &name); bool mAtGlobalScope; diff --git a/gfx/angle/checkout/src/compiler/translator/SymbolTable.cpp b/gfx/angle/checkout/src/compiler/translator/SymbolTable.cpp index 1f2187e15648..192e6e0d4df6 100644 --- a/gfx/angle/checkout/src/compiler/translator/SymbolTable.cpp +++ b/gfx/angle/checkout/src/compiler/translator/SymbolTable.cpp @@ -39,10 +39,6 @@ bool CheckShaderType(Shader expected, GLenum actual) return actual == GL_GEOMETRY_SHADER; case Shader::GEOMETRY_EXT: return actual == GL_GEOMETRY_SHADER_EXT; - case Shader::TESS_CONTROL_EXT: - return actual == GL_TESS_CONTROL_SHADER_EXT; - case Shader::TESS_EVALUATION_EXT: - return actual == GL_TESS_EVALUATION_SHADER_EXT; case Shader::NOT_COMPUTE: return actual != GL_COMPUTE_SHADER; default: @@ -415,8 +411,6 @@ void TSymbolTable::initializeBuiltIns(sh::GLenum type, case GL_VERTEX_SHADER: case GL_COMPUTE_SHADER: case GL_GEOMETRY_SHADER_EXT: - case GL_TESS_CONTROL_SHADER_EXT: - case GL_TESS_EVALUATION_SHADER_EXT: setDefaultPrecision(EbtInt, EbpHigh); setDefaultPrecision(EbtFloat, EbpHigh); break; diff --git a/gfx/angle/checkout/src/compiler/translator/SymbolTable.h b/gfx/angle/checkout/src/compiler/translator/SymbolTable.h index a8c34b31d0d1..0e8b7fca88e7 100644 --- a/gfx/angle/checkout/src/compiler/translator/SymbolTable.h +++ b/gfx/angle/checkout/src/compiler/translator/SymbolTable.h @@ -45,13 +45,11 @@ enum class Shader : uint8_t { ALL, - FRAGMENT, // GL_FRAGMENT_SHADER - VERTEX, // GL_VERTEX_SHADER - COMPUTE, // GL_COMPUTE_SHADER - GEOMETRY, // GL_GEOMETRY_SHADER - GEOMETRY_EXT, // GL_GEOMETRY_SHADER_EXT - TESS_CONTROL_EXT, // GL_TESS_CONTROL_SHADER_EXT - TESS_EVALUATION_EXT, // GL_TESS_EVALUATION_SHADER_EXT + FRAGMENT, // GL_FRAGMENT_SHADER + VERTEX, // GL_VERTEX_SHADER + COMPUTE, // GL_COMPUTE_SHADER + GEOMETRY, // GL_GEOMETRY_SHADER + GEOMETRY_EXT, // GL_GEOMETRY_SHADER_EXT NOT_COMPUTE }; diff --git a/gfx/angle/checkout/src/compiler/translator/SymbolTable_ESSL_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/SymbolTable_ESSL_autogen.cpp index ef7b7bf2fa5e..444fd78c600e 100644 --- a/gfx/angle/checkout/src/compiler/translator/SymbolTable_ESSL_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/SymbolTable_ESSL_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -876,21 +876,21 @@ constexpr const TSymbolUniqueId BuiltInId::textureGather_Sampler2DArrayShadow1_F constexpr const TSymbolUniqueId BuiltInId::textureGather_Sampler2DArrayShadow1_Float3_Float1; constexpr const TSymbolUniqueId BuiltInId::textureGather_SamplerCubeShadow1_Float3; constexpr const TSymbolUniqueId BuiltInId::textureGather_SamplerCubeShadow1_Float3_Float1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1; + BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId + BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId + BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2; @@ -911,21 +911,21 @@ constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2DShadow1_Float2_Float1_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2DArrayShadow1_Float3_Float1_4xInt2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1; + BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float1; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float2; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float3; @@ -999,24 +999,6 @@ constexpr const TSymbolUniqueId BuiltInId::imageSize_UImageCubeArray1; constexpr const TSymbolUniqueId BuiltInId::imageSize_ImageBuffer1; constexpr const TSymbolUniqueId BuiltInId::imageSize_IImageBuffer1; constexpr const TSymbolUniqueId BuiltInId::imageSize_UImageBuffer1; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2D1_Int2_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2D1_Int2_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2D1_Int2_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image3D1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage3D1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage3D1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DArray1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DArray1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DArray1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCube1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCube1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCube1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCubeArray1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCubeArray1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageBuffer1_Int1_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageBuffer1_Int1_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageBuffer1_Int1_UInt4; constexpr const TSymbolUniqueId BuiltInId::imageLoad_Image2D1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImage2D1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage2D1_Int2; @@ -1059,9 +1041,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1092,9 +1074,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DMS1_Int2_Int1_Int1; @@ -1125,9 +1107,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1158,9 +1140,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DMS1_Int2_Int1_Int1; @@ -1191,9 +1173,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1224,9 +1206,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DMS1_Int2_Int1_Int1; @@ -1257,9 +1239,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1290,9 +1272,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DMS1_Int2_Int1_Int1; @@ -1323,9 +1305,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1D1_Int1_UInt1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1356,9 +1338,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DMS1_Int2_Int1_Int1; @@ -1389,9 +1371,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1422,9 +1404,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DMS1_Int2_Int1_Int1; @@ -1455,9 +1437,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_UInt1; @@ -1488,9 +1470,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Int1; @@ -1521,9 +1503,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Float1; @@ -1554,9 +1536,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1DArray1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1; @@ -1590,9 +1572,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1DArray1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_Int1_Int1; @@ -1602,6 +1584,24 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2D1_Int2_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2D1_Int2_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2D1_Int2_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image3D1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage3D1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage3D1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DArray1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DArray1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DArray1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCube1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCube1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCube1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCubeArray1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCubeArray1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageBuffer1_Int1_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageBuffer1_Int1_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageBuffer1_Int1_UInt4; constexpr const TSymbolUniqueId BuiltInId::memoryBarrier; constexpr const TSymbolUniqueId BuiltInId::memoryBarrierAtomicCounter; constexpr const TSymbolUniqueId BuiltInId::memoryBarrierBuffer; @@ -1609,17 +1609,12 @@ constexpr const TSymbolUniqueId BuiltInId::memoryBarrierImage; constexpr const TSymbolUniqueId BuiltInId::barrier; constexpr const TSymbolUniqueId BuiltInId::memoryBarrierShared; constexpr const TSymbolUniqueId BuiltInId::groupMemoryBarrier; -constexpr const TSymbolUniqueId BuiltInId::barrierES3_2; constexpr const TSymbolUniqueId BuiltInId::EmitVertex; -constexpr const TSymbolUniqueId BuiltInId::EmitVertexES3_2; constexpr const TSymbolUniqueId BuiltInId::EndPrimitive; -constexpr const TSymbolUniqueId BuiltInId::EndPrimitiveES3_2; constexpr const TSymbolUniqueId BuiltInId::textureVideoWEBGL_SamplerVideoWEBGL1_Float2; constexpr const TSymbolUniqueId BuiltInId::texture_SamplerVideoWEBGL1_Float2; constexpr const TSymbolUniqueId BuiltInId::gl_DepthRangeParameters; constexpr const TSymbolUniqueId BuiltInId::gl_DepthRange; -constexpr const TSymbolUniqueId BuiltInId::gl_NumSamples; -constexpr const TSymbolUniqueId BuiltInId::gl_NumSamplesES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexAttribs; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexUniformVectors; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexTextureImageUnits; @@ -1654,64 +1649,14 @@ constexpr const TSymbolUniqueId BuiltInId::gl_MaxFragmentAtomicCounterBuffers; constexpr const TSymbolUniqueId BuiltInId::gl_MaxCombinedAtomicCounterBuffers; constexpr const TSymbolUniqueId BuiltInId::gl_MaxAtomicCounterBufferSize; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryInputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryImageUniformsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTextureImageUnitsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputVertices; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputVerticesES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTotalOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTotalOutputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryUniformComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCountersES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlInputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTextureImageUnitsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlUniformComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTotalOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTotalOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlImageUniformsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCountersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessPatchComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessPatchComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxPatchVertices; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxPatchVerticesES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessGenLevel; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessGenLevelES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationInputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationTextureImageUnitsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationUniformComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationImageUniformsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCountersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxSamples; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxSamplesES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxClipDistancesAPPLE; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxCullDistancesEXT; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxCombinedClipAndCullDistancesEXT; constexpr const TSymbolUniqueId BuiltInId::gl_FragCoord; constexpr const TSymbolUniqueId BuiltInId::gl_FrontFacing; constexpr const TSymbolUniqueId BuiltInId::gl_PointCoord; @@ -1723,24 +1668,11 @@ constexpr const TSymbolUniqueId BuiltInId::gl_SecondaryFragColorEXT; constexpr const TSymbolUniqueId BuiltInId::gl_SecondaryFragDataEXT; constexpr const TSymbolUniqueId BuiltInId::gl_FragDepthEXT; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragData; -constexpr const TSymbolUniqueId BuiltInId::gl_LastFragDataNonCoherent; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragColor; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragDataNV; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragColorARM; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveID; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_Layer; -constexpr const TSymbolUniqueId BuiltInId::gl_LayerES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleID; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleIDES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SamplePosition; -constexpr const TSymbolUniqueId BuiltInId::gl_SamplePositionES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskIn; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskInES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMask; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_CullDistance; -constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistance; constexpr const TSymbolUniqueId BuiltInId::gl_Position; constexpr const TSymbolUniqueId BuiltInId::gl_PointSize; constexpr const TSymbolUniqueId BuiltInId::gl_InstanceID; @@ -1754,8 +1686,8 @@ constexpr const TSymbolUniqueId BuiltInId::gl_BaseVertex; constexpr const TSymbolUniqueId BuiltInId::gl_BaseInstance; constexpr const TSymbolUniqueId BuiltInId::angle_BaseVertex; constexpr const TSymbolUniqueId BuiltInId::angle_BaseInstance; -constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistanceAPPLE; -constexpr const TSymbolUniqueId BuiltInId::gl_CullDistanceEXT; +constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistance; +constexpr const TSymbolUniqueId BuiltInId::gl_MaxClipDistances; constexpr const TSymbolUniqueId BuiltInId::gl_NumWorkGroups; constexpr const TSymbolUniqueId BuiltInId::gl_WorkGroupSize; constexpr const TSymbolUniqueId BuiltInId::gl_WorkGroupID; @@ -1763,72 +1695,23 @@ constexpr const TSymbolUniqueId BuiltInId::gl_LocalInvocationID; constexpr const TSymbolUniqueId BuiltInId::gl_GlobalInvocationID; constexpr const TSymbolUniqueId BuiltInId::gl_LocalInvocationIndex; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDIn; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDInES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_InvocationID; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDGS; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDGSES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_LayerGS; -constexpr const TSymbolUniqueId BuiltInId::gl_LayerGSES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PerVertex; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_in; -constexpr const TSymbolUniqueId BuiltInId::gl_inES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutBlockES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PositionGS; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionGSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_inTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_inTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_outTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_outTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTcsBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTcsBlockES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessCoord; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTES; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTES; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_inTES; -constexpr const TSymbolUniqueId BuiltInId::gl_inTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_outTES; -constexpr const TSymbolUniqueId BuiltInId::gl_outTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTesBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTesBlockES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTESES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_ViewID_OVR; -const int TSymbolTable::kLastBuiltInId = 4884; +const int TSymbolTable::kLastBuiltInId = 4657; namespace BuiltInName { constexpr const ImmutableString _empty(""); constexpr const ImmutableString EmitVertex("EmitVertex"); -constexpr const ImmutableString EmitVertexES3_2("EmitVertex"); constexpr const ImmutableString EndPrimitive("EndPrimitive"); -constexpr const ImmutableString EndPrimitiveES3_2("EndPrimitive"); constexpr const ImmutableString abs("abs"); constexpr const ImmutableString acos("acos"); constexpr const ImmutableString acosh("acosh"); @@ -1852,7 +1735,6 @@ constexpr const ImmutableString atomicMin("atomicMin"); constexpr const ImmutableString atomicOr("atomicOr"); constexpr const ImmutableString atomicXor("atomicXor"); constexpr const ImmutableString barrier("barrier"); -constexpr const ImmutableString barrierES3_2("barrier"); constexpr const ImmutableString bitCount("bitCount"); constexpr const ImmutableString bitfieldExtract("bitfieldExtract"); constexpr const ImmutableString bitfieldInsert("bitfieldInsert"); @@ -1890,7 +1772,6 @@ constexpr const ImmutableString fwidthExt("fwidth"); constexpr const ImmutableString gl_BaseInstance("gl_BaseInstance"); constexpr const ImmutableString gl_BaseVertex("gl_BaseVertex"); constexpr const ImmutableString gl_ClipDistance("gl_ClipDistance"); -constexpr const ImmutableString gl_CullDistance("gl_CullDistance"); constexpr const ImmutableString gl_DepthRange("gl_DepthRange"); constexpr const ImmutableString gl_DepthRangeParameters("gl_DepthRangeParameters"); constexpr const ImmutableString gl_DrawID("gl_DrawID"); @@ -1917,8 +1798,6 @@ constexpr const ImmutableString gl_MaxClipDistances("gl_MaxClipDistances"); constexpr const ImmutableString gl_MaxCombinedAtomicCounterBuffers( "gl_MaxCombinedAtomicCounterBuffers"); constexpr const ImmutableString gl_MaxCombinedAtomicCounters("gl_MaxCombinedAtomicCounters"); -constexpr const ImmutableString gl_MaxCombinedClipAndCullDistances( - "gl_MaxCombinedClipAndCullDistances"); constexpr const ImmutableString gl_MaxCombinedImageUniforms("gl_MaxCombinedImageUniforms"); constexpr const ImmutableString gl_MaxCombinedShaderOutputResources( "gl_MaxCombinedShaderOutputResources"); @@ -1931,7 +1810,6 @@ constexpr const ImmutableString gl_MaxComputeTextureImageUnits("gl_MaxComputeTex constexpr const ImmutableString gl_MaxComputeUniformComponents("gl_MaxComputeUniformComponents"); constexpr const ImmutableString gl_MaxComputeWorkGroupCount("gl_MaxComputeWorkGroupCount"); constexpr const ImmutableString gl_MaxComputeWorkGroupSize("gl_MaxComputeWorkGroupSize"); -constexpr const ImmutableString gl_MaxCullDistances("gl_MaxCullDistances"); constexpr const ImmutableString gl_MaxDrawBuffers("gl_MaxDrawBuffers"); constexpr const ImmutableString gl_MaxDualSourceDrawBuffersEXT("gl_MaxDualSourceDrawBuffersEXT"); constexpr const ImmutableString gl_MaxFragmentAtomicCounterBuffers( @@ -1952,39 +1830,7 @@ constexpr const ImmutableString gl_MaxGeometryTotalOutputComponents( "gl_MaxGeometryTotalOutputComponents"); constexpr const ImmutableString gl_MaxGeometryUniformComponents("gl_MaxGeometryUniformComponents"); constexpr const ImmutableString gl_MaxImageUnits("gl_MaxImageUnits"); -constexpr const ImmutableString gl_MaxPatchVertices("gl_MaxPatchVertices"); constexpr const ImmutableString gl_MaxProgramTexelOffset("gl_MaxProgramTexelOffset"); -constexpr const ImmutableString gl_MaxSamples("gl_MaxSamples"); -constexpr const ImmutableString gl_MaxTessControlAtomicCounterBuffers( - "gl_MaxTessControlAtomicCounterBuffers"); -constexpr const ImmutableString gl_MaxTessControlAtomicCounters("gl_MaxTessControlAtomicCounters"); -constexpr const ImmutableString gl_MaxTessControlImageUniforms("gl_MaxTessControlImageUniforms"); -constexpr const ImmutableString gl_MaxTessControlInputComponents( - "gl_MaxTessControlInputComponents"); -constexpr const ImmutableString gl_MaxTessControlOutputComponents( - "gl_MaxTessControlOutputComponents"); -constexpr const ImmutableString gl_MaxTessControlTextureImageUnits( - "gl_MaxTessControlTextureImageUnits"); -constexpr const ImmutableString gl_MaxTessControlTotalOutputComponents( - "gl_MaxTessControlTotalOutputComponents"); -constexpr const ImmutableString gl_MaxTessControlUniformComponents( - "gl_MaxTessControlUniformComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationAtomicCounterBuffers( - "gl_MaxTessEvaluationAtomicCounterBuffers"); -constexpr const ImmutableString gl_MaxTessEvaluationAtomicCounters( - "gl_MaxTessEvaluationAtomicCounters"); -constexpr const ImmutableString gl_MaxTessEvaluationImageUniforms( - "gl_MaxTessEvaluationImageUniforms"); -constexpr const ImmutableString gl_MaxTessEvaluationInputComponents( - "gl_MaxTessEvaluationInputComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationOutputComponents( - "gl_MaxTessEvaluationOutputComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationTextureImageUnits( - "gl_MaxTessEvaluationTextureImageUnits"); -constexpr const ImmutableString gl_MaxTessEvaluationUniformComponents( - "gl_MaxTessEvaluationUniformComponents"); -constexpr const ImmutableString gl_MaxTessGenLevel("gl_MaxTessGenLevel"); -constexpr const ImmutableString gl_MaxTessPatchComponents("gl_MaxTessPatchComponents"); constexpr const ImmutableString gl_MaxTextureImageUnits("gl_MaxTextureImageUnits"); constexpr const ImmutableString gl_MaxVaryingVectors("gl_MaxVaryingVectors"); constexpr const ImmutableString gl_MaxVertexAtomicCounterBuffers( @@ -1996,24 +1842,15 @@ constexpr const ImmutableString gl_MaxVertexOutputVectors("gl_MaxVertexOutputVec constexpr const ImmutableString gl_MaxVertexTextureImageUnits("gl_MaxVertexTextureImageUnits"); constexpr const ImmutableString gl_MaxVertexUniformVectors("gl_MaxVertexUniformVectors"); constexpr const ImmutableString gl_MinProgramTexelOffset("gl_MinProgramTexelOffset"); -constexpr const ImmutableString gl_NumSamples("gl_NumSamples"); constexpr const ImmutableString gl_NumWorkGroups("gl_NumWorkGroups"); -constexpr const ImmutableString gl_PatchVerticesIn("gl_PatchVerticesIn"); constexpr const ImmutableString gl_PerVertex("gl_PerVertex"); constexpr const ImmutableString gl_PointCoord("gl_PointCoord"); constexpr const ImmutableString gl_PointSize("gl_PointSize"); constexpr const ImmutableString gl_Position("gl_Position"); constexpr const ImmutableString gl_PrimitiveID("gl_PrimitiveID"); constexpr const ImmutableString gl_PrimitiveIDIn("gl_PrimitiveIDIn"); -constexpr const ImmutableString gl_SampleID("gl_SampleID"); -constexpr const ImmutableString gl_SampleMask("gl_SampleMask"); -constexpr const ImmutableString gl_SampleMaskIn("gl_SampleMaskIn"); -constexpr const ImmutableString gl_SamplePosition("gl_SamplePosition"); constexpr const ImmutableString gl_SecondaryFragColorEXT("gl_SecondaryFragColorEXT"); constexpr const ImmutableString gl_SecondaryFragDataEXT("gl_SecondaryFragDataEXT"); -constexpr const ImmutableString gl_TessCoord("gl_TessCoord"); -constexpr const ImmutableString gl_TessLevelInner("gl_TessLevelInner"); -constexpr const ImmutableString gl_TessLevelOuter("gl_TessLevelOuter"); constexpr const ImmutableString gl_VertexID("gl_VertexID"); constexpr const ImmutableString gl_VertexIndex("gl_VertexIndex"); constexpr const ImmutableString gl_ViewID_OVR("gl_ViewID_OVR"); @@ -2021,7 +1858,6 @@ constexpr const ImmutableString gl_ViewportIndex("gl_ViewportIndex"); constexpr const ImmutableString gl_WorkGroupID("gl_WorkGroupID"); constexpr const ImmutableString gl_WorkGroupSize("gl_WorkGroupSize"); constexpr const ImmutableString gl_in("gl_in"); -constexpr const ImmutableString gl_out("gl_out"); constexpr const ImmutableString greaterThan("greaterThan"); constexpr const ImmutableString greaterThanEqual("greaterThanEqual"); constexpr const ImmutableString groupMemoryBarrier("groupMemoryBarrier"); @@ -2155,26 +1991,29 @@ namespace BuiltInVariable constexpr const unsigned int kArraySize4[1] = {4}; -constexpr const TVariable kangle_BaseInstance(BuiltInId::angle_BaseInstance, - BuiltInName::angle_BaseInstance, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); -constexpr const TVariable kangle_BaseVertex(BuiltInId::angle_BaseVertex, - BuiltInName::angle_BaseVertex, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); -constexpr const TVariable kgl_BaseInstance(BuiltInId::gl_BaseInstance, - BuiltInName::gl_BaseInstance, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); +constexpr const TVariable kangle_BaseInstance( + BuiltInId::angle_BaseInstance, + BuiltInName::angle_BaseInstance, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); +constexpr const TVariable kangle_BaseVertex( + BuiltInId::angle_BaseVertex, + BuiltInName::angle_BaseVertex, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); +constexpr const TVariable kgl_BaseInstance( + BuiltInId::gl_BaseInstance, + BuiltInName::gl_BaseInstance, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); constexpr const TVariable kgl_BaseVertex(BuiltInId::gl_BaseVertex, BuiltInName::gl_BaseVertex, SymbolType::BuiltIn, TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kgl_DrawID(BuiltInId::gl_DrawID, BuiltInName::gl_DrawID, SymbolType::BuiltIn, @@ -2230,24 +2069,6 @@ constexpr const TVariable kgl_InvocationID( SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_InvocationIDES3_2( - BuiltInId::gl_InvocationIDES3_2, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_InvocationIDTCS( - BuiltInId::gl_InvocationIDTCS, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_InvocationIDTCSES3_2( - BuiltInId::gl_InvocationIDTCSES3_2, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LastFragColor( BuiltInId::gl_LastFragColor, BuiltInName::gl_LastFragColor, @@ -2265,21 +2086,11 @@ constexpr const TVariable kgl_Layer(BuiltInId::gl_Layer, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_LayerES3_2(BuiltInId::gl_LayerES3_2, - BuiltInName::gl_Layer, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LayerGS(BuiltInId::gl_LayerGS, BuiltInName::gl_Layer, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_LayerGSES3_2(BuiltInId::gl_LayerGSES3_2, - BuiltInName::gl_Layer, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LayerVS(BuiltInId::gl_LayerVS, BuiltInName::gl_Layer, SymbolType::BuiltIn, @@ -2297,46 +2108,12 @@ constexpr const TVariable kgl_LocalInvocationIndex( SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kgl_NumSamples(BuiltInId::gl_NumSamples, - BuiltInName::gl_NumSamples, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_NumSamplesES3_2(BuiltInId::gl_NumSamplesES3_2, - BuiltInName::gl_NumSamples, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_NumWorkGroups( BuiltInId::gl_NumWorkGroups, BuiltInName::gl_NumWorkGroups, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTCS( - BuiltInId::gl_PatchVerticesInTCS, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTCSES3_2( - BuiltInId::gl_PatchVerticesInTCSES3_2, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTES( - BuiltInId::gl_PatchVerticesInTES, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTESES3_2( - BuiltInId::gl_PatchVerticesInTESES3_2, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PointCoord( BuiltInId::gl_PointCoord, BuiltInName::gl_PointCoord, @@ -2358,93 +2135,24 @@ constexpr const TVariable kgl_PrimitiveID(BuiltInId::gl_PrimitiveID, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDES3_2( - BuiltInId::gl_PrimitiveIDES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PrimitiveIDGS( BuiltInId::gl_PrimitiveIDGS, BuiltInName::gl_PrimitiveID, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDGSES3_2( - BuiltInId::gl_PrimitiveIDGSES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PrimitiveIDIn( BuiltInId::gl_PrimitiveIDIn, BuiltInName::gl_PrimitiveIDIn, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDInES3_2( - BuiltInId::gl_PrimitiveIDInES3_2, - BuiltInName::gl_PrimitiveIDIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTCS( - BuiltInId::gl_PrimitiveIDTCS, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTCSES3_2( - BuiltInId::gl_PrimitiveIDTCSES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTES( - BuiltInId::gl_PrimitiveIDTES, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTESES3_2( - BuiltInId::gl_PrimitiveIDTESES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_SampleID(BuiltInId::gl_SampleID, - BuiltInName::gl_SampleID, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_SampleIDES3_2(BuiltInId::gl_SampleIDES3_2, - BuiltInName::gl_SampleID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_SamplePosition( - BuiltInId::gl_SamplePosition, - BuiltInName::gl_SamplePosition, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_SamplePositionES3_2( - BuiltInId::gl_SamplePositionES3_2, - BuiltInName::gl_SamplePosition, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_SecondaryFragColorEXT( BuiltInId::gl_SecondaryFragColorEXT, BuiltInName::gl_SecondaryFragColorEXT, SymbolType::BuiltIn, TExtension::EXT_blend_func_extended, StaticType::Get()); -constexpr const TVariable kgl_TessCoord(BuiltInId::gl_TessCoord, - BuiltInName::gl_TessCoord, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_VertexID(BuiltInId::gl_VertexID, BuiltInName::gl_VertexID, SymbolType::BuiltIn, @@ -2817,50 +2525,50 @@ constexpr const TVariable kpt01W( SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01X( - BuiltInId::pt01X, +constexpr const TVariable kpt01X(BuiltInId::pt01X, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01Y(BuiltInId::pt01Y, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01Z(BuiltInId::pt01Z, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01a( + BuiltInId::pt01a, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01Y( - BuiltInId::pt01Y, +constexpr const TVariable kpt01b( + BuiltInId::pt01b, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01Z( - BuiltInId::pt01Z, +constexpr const TVariable kpt01c( + BuiltInId::pt01c, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01a(BuiltInId::pt01a, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01b(BuiltInId::pt01b, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01c(BuiltInId::pt01c, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01d(BuiltInId::pt01d, +constexpr const TVariable kpt01g(BuiltInId::pt01g, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01e(BuiltInId::pt01e, +constexpr const TVariable kpt01h(BuiltInId::pt01h, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01f(BuiltInId::pt01f, +constexpr const TVariable kpt01i(BuiltInId::pt01i, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, @@ -3117,21 +2825,6 @@ const TVariable *gl_InvocationID() return &kgl_InvocationID; } -const TVariable *gl_InvocationIDES3_2() -{ - return &kgl_InvocationIDES3_2; -} - -const TVariable *gl_InvocationIDTCS() -{ - return &kgl_InvocationIDTCS; -} - -const TVariable *gl_InvocationIDTCSES3_2() -{ - return &kgl_InvocationIDTCSES3_2; -} - const TVariable *gl_LastFragColor() { return &kgl_LastFragColor; @@ -3147,21 +2840,11 @@ const TVariable *gl_Layer() return &kgl_Layer; } -const TVariable *gl_LayerES3_2() -{ - return &kgl_LayerES3_2; -} - const TVariable *gl_LayerGS() { return &kgl_LayerGS; } -const TVariable *gl_LayerGSES3_2() -{ - return &kgl_LayerGSES3_2; -} - const TVariable *gl_LayerVS() { return &kgl_LayerVS; @@ -3177,41 +2860,11 @@ const TVariable *gl_LocalInvocationIndex() return &kgl_LocalInvocationIndex; } -const TVariable *gl_NumSamples() -{ - return &kgl_NumSamples; -} - -const TVariable *gl_NumSamplesES3_2() -{ - return &kgl_NumSamplesES3_2; -} - const TVariable *gl_NumWorkGroups() { return &kgl_NumWorkGroups; } -const TVariable *gl_PatchVerticesInTCS() -{ - return &kgl_PatchVerticesInTCS; -} - -const TVariable *gl_PatchVerticesInTCSES3_2() -{ - return &kgl_PatchVerticesInTCSES3_2; -} - -const TVariable *gl_PatchVerticesInTES() -{ - return &kgl_PatchVerticesInTES; -} - -const TVariable *gl_PatchVerticesInTESES3_2() -{ - return &kgl_PatchVerticesInTESES3_2; -} - const TVariable *gl_PointCoord() { return &kgl_PointCoord; @@ -3232,81 +2885,21 @@ const TVariable *gl_PrimitiveID() return &kgl_PrimitiveID; } -const TVariable *gl_PrimitiveIDES3_2() -{ - return &kgl_PrimitiveIDES3_2; -} - const TVariable *gl_PrimitiveIDGS() { return &kgl_PrimitiveIDGS; } -const TVariable *gl_PrimitiveIDGSES3_2() -{ - return &kgl_PrimitiveIDGSES3_2; -} - const TVariable *gl_PrimitiveIDIn() { return &kgl_PrimitiveIDIn; } -const TVariable *gl_PrimitiveIDInES3_2() -{ - return &kgl_PrimitiveIDInES3_2; -} - -const TVariable *gl_PrimitiveIDTCS() -{ - return &kgl_PrimitiveIDTCS; -} - -const TVariable *gl_PrimitiveIDTCSES3_2() -{ - return &kgl_PrimitiveIDTCSES3_2; -} - -const TVariable *gl_PrimitiveIDTES() -{ - return &kgl_PrimitiveIDTES; -} - -const TVariable *gl_PrimitiveIDTESES3_2() -{ - return &kgl_PrimitiveIDTESES3_2; -} - -const TVariable *gl_SampleID() -{ - return &kgl_SampleID; -} - -const TVariable *gl_SampleIDES3_2() -{ - return &kgl_SampleIDES3_2; -} - -const TVariable *gl_SamplePosition() -{ - return &kgl_SamplePosition; -} - -const TVariable *gl_SamplePositionES3_2() -{ - return &kgl_SamplePositionES3_2; -} - const TVariable *gl_SecondaryFragColorEXT() { return &kgl_SecondaryFragColorEXT; } -const TVariable *gl_TessCoord() -{ - return &kgl_TessCoord; -} - const TVariable *gl_VertexID() { return &kgl_VertexID; @@ -3869,71 +3462,71 @@ constexpr const TVariable *p01W20D00D00D00D[5] = { constexpr const TVariable *p01W20D00D00E00E[5] = { &BuiltInVariable::kpt01W, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01X20D00B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01X20D00D00D[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00D00D[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01X20D00E00E[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00E00E[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01X20D30B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Y10D00B[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00B}; +constexpr const TVariable *p01Y10D00D00D[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01Y10D00E00E[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; +constexpr const TVariable *p01Z10D00B[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00B}; +constexpr const TVariable *p01Z10D00D00D[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01Z10D00E00E[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, + &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; +constexpr const TVariable *p01a20D00B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, + &BuiltInVariable::kpt00B}; +constexpr const TVariable *p01a20D00D00D[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, + &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01a20D00E00E[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, + &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; +constexpr const TVariable *p01a20D30B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30B}; -constexpr const TVariable *p01Y20D00B[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01b20D00B[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01Y20D00D00D[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01b20D00D00D[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01Y20D00E00E[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01b20D00E00E[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01Y20D30D[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01b20D30D[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30D}; -constexpr const TVariable *p01Z20D00B[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01c20D00B[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01Z20D00D00D[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01c20D00D00D[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01Z20D00E00E[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01c20D00E00E[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01Z20D30E[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01c20D30E[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30E}; -constexpr const TVariable *p01a10D00B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01g00D00B[3] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01a10D00D00D[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01g00D00D00D[4] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01a10D00E00E[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01g00D00E00E[4] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01b10D00B[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01b10D00D00D[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01b10D00E00E[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01c10D00B[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01c10D00D00D[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01c10D00E00E[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, - &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01d00D00B[3] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, - &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01d00D00D00D[4] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, - &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01d00D00E00E[4] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, - &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01d00D30B[3] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01g00D30B[3] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30B}; -constexpr const TVariable *p01e00D00B[3] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00B[3] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01e00D00D00D[4] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00D00D[4] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01e00D00E00E[4] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00E00E[4] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01e00D30D[3] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D30D[3] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30D}; -constexpr const TVariable *p01f00D00B[3] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00B[3] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01f00D00D00D[4] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00D00D[4] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01f00D00E00E[4] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00E00E[4] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01f00D30E[3] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D30E[3] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30E}; constexpr const TVariable *p10B00B00B[3] = {&BuiltInVariable::kpt10B, &BuiltInVariable::kpt00B, &BuiltInVariable::kpt00B}; @@ -4081,7 +3674,7 @@ namespace Func constexpr const TFunction radians_00B(BuiltInId::radians_Float1, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRadians, @@ -4089,7 +3682,7 @@ constexpr const TFunction radians_00B(BuiltInId::radians_Float1, constexpr const TFunction radians_10B(BuiltInId::radians_Float2, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRadians, @@ -4097,7 +3690,7 @@ constexpr const TFunction radians_10B(BuiltInId::radians_Float2, constexpr const TFunction radians_20B(BuiltInId::radians_Float3, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpRadians, @@ -4113,7 +3706,7 @@ constexpr const TFunction radians_30B(BuiltInId::radians_Float4, constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDegrees, @@ -4121,7 +3714,7 @@ constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDegrees, @@ -4129,7 +3722,7 @@ constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, constexpr const TFunction degrees_20B(BuiltInId::degrees_Float3, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpDegrees, @@ -4145,7 +3738,7 @@ constexpr const TFunction degrees_30B(BuiltInId::degrees_Float4, constexpr const TFunction sin_00B(BuiltInId::sin_Float1, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSin, @@ -4153,7 +3746,7 @@ constexpr const TFunction sin_00B(BuiltInId::sin_Float1, constexpr const TFunction sin_10B(BuiltInId::sin_Float2, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSin, @@ -4161,7 +3754,7 @@ constexpr const TFunction sin_10B(BuiltInId::sin_Float2, constexpr const TFunction sin_20B(BuiltInId::sin_Float3, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpSin, @@ -4177,7 +3770,7 @@ constexpr const TFunction sin_30B(BuiltInId::sin_Float4, constexpr const TFunction cos_00B(BuiltInId::cos_Float1, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCos, @@ -4185,7 +3778,7 @@ constexpr const TFunction cos_00B(BuiltInId::cos_Float1, constexpr const TFunction cos_10B(BuiltInId::cos_Float2, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCos, @@ -4193,7 +3786,7 @@ constexpr const TFunction cos_10B(BuiltInId::cos_Float2, constexpr const TFunction cos_20B(BuiltInId::cos_Float3, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpCos, @@ -4209,7 +3802,7 @@ constexpr const TFunction cos_30B(BuiltInId::cos_Float4, constexpr const TFunction tan_00B(BuiltInId::tan_Float1, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTan, @@ -4217,7 +3810,7 @@ constexpr const TFunction tan_00B(BuiltInId::tan_Float1, constexpr const TFunction tan_10B(BuiltInId::tan_Float2, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTan, @@ -4225,7 +3818,7 @@ constexpr const TFunction tan_10B(BuiltInId::tan_Float2, constexpr const TFunction tan_20B(BuiltInId::tan_Float3, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpTan, @@ -4241,7 +3834,7 @@ constexpr const TFunction tan_30B(BuiltInId::tan_Float4, constexpr const TFunction asin_00B(BuiltInId::asin_Float1, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAsin, @@ -4249,7 +3842,7 @@ constexpr const TFunction asin_00B(BuiltInId::asin_Float1, constexpr const TFunction asin_10B(BuiltInId::asin_Float2, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAsin, @@ -4257,7 +3850,7 @@ constexpr const TFunction asin_10B(BuiltInId::asin_Float2, constexpr const TFunction asin_20B(BuiltInId::asin_Float3, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAsin, @@ -4273,7 +3866,7 @@ constexpr const TFunction asin_30B(BuiltInId::asin_Float4, constexpr const TFunction acos_00B(BuiltInId::acos_Float1, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAcos, @@ -4281,7 +3874,7 @@ constexpr const TFunction acos_00B(BuiltInId::acos_Float1, constexpr const TFunction acos_10B(BuiltInId::acos_Float2, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAcos, @@ -4289,7 +3882,7 @@ constexpr const TFunction acos_10B(BuiltInId::acos_Float2, constexpr const TFunction acos_20B(BuiltInId::acos_Float3, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAcos, @@ -4305,7 +3898,7 @@ constexpr const TFunction acos_30B(BuiltInId::acos_Float4, constexpr const TFunction atan_00B00B(BuiltInId::atan_Float1_Float1, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpAtan, @@ -4313,7 +3906,7 @@ constexpr const TFunction atan_00B00B(BuiltInId::atan_Float1_Float1, constexpr const TFunction atan_10B10B(BuiltInId::atan_Float2_Float2, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpAtan, @@ -4329,7 +3922,7 @@ constexpr const TFunction atan_20B20B(BuiltInId::atan_Float3_Float3, constexpr const TFunction atan_30B30B(BuiltInId::atan_Float4_Float4, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpAtan, @@ -4337,7 +3930,7 @@ constexpr const TFunction atan_30B30B(BuiltInId::atan_Float4_Float4, constexpr const TFunction atan_00B(BuiltInId::atan_Float1, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAtan, @@ -4345,7 +3938,7 @@ constexpr const TFunction atan_00B(BuiltInId::atan_Float1, constexpr const TFunction atan_10B(BuiltInId::atan_Float2, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAtan, @@ -4353,7 +3946,7 @@ constexpr const TFunction atan_10B(BuiltInId::atan_Float2, constexpr const TFunction atan_20B(BuiltInId::atan_Float3, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAtan, @@ -4369,7 +3962,7 @@ constexpr const TFunction atan_30B(BuiltInId::atan_Float4, constexpr const TFunction sinh_00B(BuiltInId::sinh_Float1, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSinh, @@ -4377,7 +3970,7 @@ constexpr const TFunction sinh_00B(BuiltInId::sinh_Float1, constexpr const TFunction sinh_10B(BuiltInId::sinh_Float2, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSinh, @@ -4385,7 +3978,7 @@ constexpr const TFunction sinh_10B(BuiltInId::sinh_Float2, constexpr const TFunction sinh_20B(BuiltInId::sinh_Float3, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpSinh, @@ -4401,7 +3994,7 @@ constexpr const TFunction sinh_30B(BuiltInId::sinh_Float4, constexpr const TFunction cosh_00B(BuiltInId::cosh_Float1, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCosh, @@ -4409,7 +4002,7 @@ constexpr const TFunction cosh_00B(BuiltInId::cosh_Float1, constexpr const TFunction cosh_10B(BuiltInId::cosh_Float2, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCosh, @@ -4417,7 +4010,7 @@ constexpr const TFunction cosh_10B(BuiltInId::cosh_Float2, constexpr const TFunction cosh_20B(BuiltInId::cosh_Float3, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpCosh, @@ -4433,7 +4026,7 @@ constexpr const TFunction cosh_30B(BuiltInId::cosh_Float4, constexpr const TFunction tanh_00B(BuiltInId::tanh_Float1, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTanh, @@ -4441,7 +4034,7 @@ constexpr const TFunction tanh_00B(BuiltInId::tanh_Float1, constexpr const TFunction tanh_10B(BuiltInId::tanh_Float2, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTanh, @@ -4449,7 +4042,7 @@ constexpr const TFunction tanh_10B(BuiltInId::tanh_Float2, constexpr const TFunction tanh_20B(BuiltInId::tanh_Float3, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpTanh, @@ -4465,7 +4058,7 @@ constexpr const TFunction tanh_30B(BuiltInId::tanh_Float4, constexpr const TFunction asinh_00B(BuiltInId::asinh_Float1, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAsinh, @@ -4473,7 +4066,7 @@ constexpr const TFunction asinh_00B(BuiltInId::asinh_Float1, constexpr const TFunction asinh_10B(BuiltInId::asinh_Float2, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAsinh, @@ -4481,7 +4074,7 @@ constexpr const TFunction asinh_10B(BuiltInId::asinh_Float2, constexpr const TFunction asinh_20B(BuiltInId::asinh_Float3, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAsinh, @@ -4497,7 +4090,7 @@ constexpr const TFunction asinh_30B(BuiltInId::asinh_Float4, constexpr const TFunction acosh_00B(BuiltInId::acosh_Float1, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAcosh, @@ -4505,7 +4098,7 @@ constexpr const TFunction acosh_00B(BuiltInId::acosh_Float1, constexpr const TFunction acosh_10B(BuiltInId::acosh_Float2, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAcosh, @@ -4513,7 +4106,7 @@ constexpr const TFunction acosh_10B(BuiltInId::acosh_Float2, constexpr const TFunction acosh_20B(BuiltInId::acosh_Float3, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAcosh, @@ -4529,7 +4122,7 @@ constexpr const TFunction acosh_30B(BuiltInId::acosh_Float4, constexpr const TFunction atanh_00B(BuiltInId::atanh_Float1, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAtanh, @@ -4537,7 +4130,7 @@ constexpr const TFunction atanh_00B(BuiltInId::atanh_Float1, constexpr const TFunction atanh_10B(BuiltInId::atanh_Float2, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAtanh, @@ -4545,7 +4138,7 @@ constexpr const TFunction atanh_10B(BuiltInId::atanh_Float2, constexpr const TFunction atanh_20B(BuiltInId::atanh_Float3, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAtanh, @@ -4561,7 +4154,7 @@ constexpr const TFunction atanh_30B(BuiltInId::atanh_Float4, constexpr const TFunction pow_00B00B(BuiltInId::pow_Float1_Float1, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpPow, @@ -4569,7 +4162,7 @@ constexpr const TFunction pow_00B00B(BuiltInId::pow_Float1_Float1, constexpr const TFunction pow_10B10B(BuiltInId::pow_Float2_Float2, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpPow, @@ -4585,7 +4178,7 @@ constexpr const TFunction pow_20B20B(BuiltInId::pow_Float3_Float3, constexpr const TFunction pow_30B30B(BuiltInId::pow_Float4_Float4, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpPow, @@ -4593,7 +4186,7 @@ constexpr const TFunction pow_30B30B(BuiltInId::pow_Float4_Float4, constexpr const TFunction exp_00B(BuiltInId::exp_Float1, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpExp, @@ -4601,7 +4194,7 @@ constexpr const TFunction exp_00B(BuiltInId::exp_Float1, constexpr const TFunction exp_10B(BuiltInId::exp_Float2, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpExp, @@ -4609,7 +4202,7 @@ constexpr const TFunction exp_10B(BuiltInId::exp_Float2, constexpr const TFunction exp_20B(BuiltInId::exp_Float3, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpExp, @@ -4625,7 +4218,7 @@ constexpr const TFunction exp_30B(BuiltInId::exp_Float4, constexpr const TFunction log_00B(BuiltInId::log_Float1, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLog, @@ -4633,7 +4226,7 @@ constexpr const TFunction log_00B(BuiltInId::log_Float1, constexpr const TFunction log_10B(BuiltInId::log_Float2, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLog, @@ -4641,7 +4234,7 @@ constexpr const TFunction log_10B(BuiltInId::log_Float2, constexpr const TFunction log_20B(BuiltInId::log_Float3, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpLog, @@ -4657,7 +4250,7 @@ constexpr const TFunction log_30B(BuiltInId::log_Float4, constexpr const TFunction exp2_00B(BuiltInId::exp2_Float1, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpExp2, @@ -4665,7 +4258,7 @@ constexpr const TFunction exp2_00B(BuiltInId::exp2_Float1, constexpr const TFunction exp2_10B(BuiltInId::exp2_Float2, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpExp2, @@ -4673,7 +4266,7 @@ constexpr const TFunction exp2_10B(BuiltInId::exp2_Float2, constexpr const TFunction exp2_20B(BuiltInId::exp2_Float3, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpExp2, @@ -4689,7 +4282,7 @@ constexpr const TFunction exp2_30B(BuiltInId::exp2_Float4, constexpr const TFunction log2_00B(BuiltInId::log2_Float1, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLog2, @@ -4697,7 +4290,7 @@ constexpr const TFunction log2_00B(BuiltInId::log2_Float1, constexpr const TFunction log2_10B(BuiltInId::log2_Float2, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLog2, @@ -4705,7 +4298,7 @@ constexpr const TFunction log2_10B(BuiltInId::log2_Float2, constexpr const TFunction log2_20B(BuiltInId::log2_Float3, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpLog2, @@ -4721,7 +4314,7 @@ constexpr const TFunction log2_30B(BuiltInId::log2_Float4, constexpr const TFunction sqrt_00B(BuiltInId::sqrt_Float1, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSqrt, @@ -4729,7 +4322,7 @@ constexpr const TFunction sqrt_00B(BuiltInId::sqrt_Float1, constexpr const TFunction sqrt_10B(BuiltInId::sqrt_Float2, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSqrt, @@ -4737,7 +4330,7 @@ constexpr const TFunction sqrt_10B(BuiltInId::sqrt_Float2, constexpr const TFunction sqrt_20B(BuiltInId::sqrt_Float3, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpSqrt, @@ -4754,7 +4347,7 @@ constexpr const TFunction inversesqrt_00B( BuiltInId::inversesqrt_Float1, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpInversesqrt, @@ -4763,7 +4356,7 @@ constexpr const TFunction inversesqrt_10B( BuiltInId::inversesqrt_Float2, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpInversesqrt, @@ -4772,7 +4365,7 @@ constexpr const TFunction inversesqrt_20B( BuiltInId::inversesqrt_Float3, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpInversesqrt, @@ -4789,7 +4382,7 @@ constexpr const TFunction inversesqrt_30B( constexpr const TFunction abs_00B(BuiltInId::abs_Float1, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAbs, @@ -4797,7 +4390,7 @@ constexpr const TFunction abs_00B(BuiltInId::abs_Float1, constexpr const TFunction abs_10B(BuiltInId::abs_Float2, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAbs, @@ -4805,7 +4398,7 @@ constexpr const TFunction abs_10B(BuiltInId::abs_Float2, constexpr const TFunction abs_20B(BuiltInId::abs_Float3, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpAbs, @@ -4829,7 +4422,7 @@ constexpr const TFunction abs_00D(BuiltInId::abs_Int1, constexpr const TFunction abs_10D(BuiltInId::abs_Int2, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpAbs, @@ -4845,7 +4438,7 @@ constexpr const TFunction abs_20D(BuiltInId::abs_Int3, constexpr const TFunction abs_30D(BuiltInId::abs_Int4, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpAbs, @@ -4853,7 +4446,7 @@ constexpr const TFunction abs_30D(BuiltInId::abs_Int4, constexpr const TFunction sign_00B(BuiltInId::sign_Float1, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSign, @@ -4861,7 +4454,7 @@ constexpr const TFunction sign_00B(BuiltInId::sign_Float1, constexpr const TFunction sign_10B(BuiltInId::sign_Float2, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSign, @@ -4869,7 +4462,7 @@ constexpr const TFunction sign_10B(BuiltInId::sign_Float2, constexpr const TFunction sign_20B(BuiltInId::sign_Float3, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpSign, @@ -4893,7 +4486,7 @@ constexpr const TFunction sign_00D(BuiltInId::sign_Int1, constexpr const TFunction sign_10D(BuiltInId::sign_Int2, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpSign, @@ -4909,7 +4502,7 @@ constexpr const TFunction sign_20D(BuiltInId::sign_Int3, constexpr const TFunction sign_30D(BuiltInId::sign_Int4, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpSign, @@ -4917,7 +4510,7 @@ constexpr const TFunction sign_30D(BuiltInId::sign_Int4, constexpr const TFunction floor_00B(BuiltInId::floor_Float1, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloor, @@ -4925,7 +4518,7 @@ constexpr const TFunction floor_00B(BuiltInId::floor_Float1, constexpr const TFunction floor_10B(BuiltInId::floor_Float2, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloor, @@ -4933,7 +4526,7 @@ constexpr const TFunction floor_10B(BuiltInId::floor_Float2, constexpr const TFunction floor_20B(BuiltInId::floor_Float3, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFloor, @@ -4949,7 +4542,7 @@ constexpr const TFunction floor_30B(BuiltInId::floor_Float4, constexpr const TFunction trunc_00B(BuiltInId::trunc_Float1, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTrunc, @@ -4957,7 +4550,7 @@ constexpr const TFunction trunc_00B(BuiltInId::trunc_Float1, constexpr const TFunction trunc_10B(BuiltInId::trunc_Float2, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTrunc, @@ -4965,7 +4558,7 @@ constexpr const TFunction trunc_10B(BuiltInId::trunc_Float2, constexpr const TFunction trunc_20B(BuiltInId::trunc_Float3, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpTrunc, @@ -4981,7 +4574,7 @@ constexpr const TFunction trunc_30B(BuiltInId::trunc_Float4, constexpr const TFunction round_00B(BuiltInId::round_Float1, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRound, @@ -4989,7 +4582,7 @@ constexpr const TFunction round_00B(BuiltInId::round_Float1, constexpr const TFunction round_10B(BuiltInId::round_Float2, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRound, @@ -4997,7 +4590,7 @@ constexpr const TFunction round_10B(BuiltInId::round_Float2, constexpr const TFunction round_20B(BuiltInId::round_Float3, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpRound, @@ -5013,7 +4606,7 @@ constexpr const TFunction round_30B(BuiltInId::round_Float4, constexpr const TFunction roundEven_00B(BuiltInId::roundEven_Float1, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRoundEven, @@ -5021,7 +4614,7 @@ constexpr const TFunction roundEven_00B(BuiltInId::roundEven_Float1, constexpr const TFunction roundEven_10B(BuiltInId::roundEven_Float2, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRoundEven, @@ -5029,7 +4622,7 @@ constexpr const TFunction roundEven_10B(BuiltInId::roundEven_Float2, constexpr const TFunction roundEven_20B(BuiltInId::roundEven_Float3, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpRoundEven, @@ -5045,7 +4638,7 @@ constexpr const TFunction roundEven_30B(BuiltInId::roundEven_Float4, constexpr const TFunction ceil_00B(BuiltInId::ceil_Float1, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCeil, @@ -5053,7 +4646,7 @@ constexpr const TFunction ceil_00B(BuiltInId::ceil_Float1, constexpr const TFunction ceil_10B(BuiltInId::ceil_Float2, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCeil, @@ -5061,7 +4654,7 @@ constexpr const TFunction ceil_10B(BuiltInId::ceil_Float2, constexpr const TFunction ceil_20B(BuiltInId::ceil_Float3, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpCeil, @@ -5077,7 +4670,7 @@ constexpr const TFunction ceil_30B(BuiltInId::ceil_Float4, constexpr const TFunction fract_00B(BuiltInId::fract_Float1, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFract, @@ -5085,7 +4678,7 @@ constexpr const TFunction fract_00B(BuiltInId::fract_Float1, constexpr const TFunction fract_10B(BuiltInId::fract_Float2, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFract, @@ -5093,7 +4686,7 @@ constexpr const TFunction fract_10B(BuiltInId::fract_Float2, constexpr const TFunction fract_20B(BuiltInId::fract_Float3, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFract, @@ -5109,7 +4702,7 @@ constexpr const TFunction fract_30B(BuiltInId::fract_Float4, constexpr const TFunction mod_00B00B(BuiltInId::mod_Float1_Float1, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpMod, @@ -5141,7 +4734,7 @@ constexpr const TFunction mod_30B00B(BuiltInId::mod_Float4_Float1, constexpr const TFunction mod_10B10B(BuiltInId::mod_Float2_Float2, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpMod, @@ -5157,7 +4750,7 @@ constexpr const TFunction mod_20B20B(BuiltInId::mod_Float3_Float3, constexpr const TFunction mod_30B30B(BuiltInId::mod_Float4_Float4, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMod, @@ -5165,7 +4758,7 @@ constexpr const TFunction mod_30B30B(BuiltInId::mod_Float4_Float4, constexpr const TFunction min_00B00B(BuiltInId::min_Float1_Float1, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpMin, @@ -5197,7 +4790,7 @@ constexpr const TFunction min_30B00B(BuiltInId::min_Float4_Float1, constexpr const TFunction min_10B10B(BuiltInId::min_Float2_Float2, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpMin, @@ -5213,7 +4806,7 @@ constexpr const TFunction min_20B20B(BuiltInId::min_Float3_Float3, constexpr const TFunction min_30B30B(BuiltInId::min_Float4_Float4, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMin, @@ -5229,7 +4822,7 @@ constexpr const TFunction min_00D00D(BuiltInId::min_Int1_Int1, constexpr const TFunction min_10D10D(BuiltInId::min_Int2_Int2, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpMin, @@ -5237,7 +4830,7 @@ constexpr const TFunction min_10D10D(BuiltInId::min_Int2_Int2, constexpr const TFunction min_20D20D(BuiltInId::min_Int3_Int3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpMin, @@ -5245,7 +4838,7 @@ constexpr const TFunction min_20D20D(BuiltInId::min_Int3_Int3, constexpr const TFunction min_30D30D(BuiltInId::min_Int4_Int4, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpMin, @@ -5293,7 +4886,7 @@ constexpr const TFunction min_10E10E(BuiltInId::min_UInt2_UInt2, constexpr const TFunction min_20E20E(BuiltInId::min_UInt3_UInt3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpMin, @@ -5333,7 +4926,7 @@ constexpr const TFunction min_30E00E(BuiltInId::min_UInt4_UInt1, constexpr const TFunction max_00B00B(BuiltInId::max_Float1_Float1, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpMax, @@ -5365,7 +4958,7 @@ constexpr const TFunction max_30B00B(BuiltInId::max_Float4_Float1, constexpr const TFunction max_10B10B(BuiltInId::max_Float2_Float2, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpMax, @@ -5381,7 +4974,7 @@ constexpr const TFunction max_20B20B(BuiltInId::max_Float3_Float3, constexpr const TFunction max_30B30B(BuiltInId::max_Float4_Float4, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMax, @@ -5397,7 +4990,7 @@ constexpr const TFunction max_00D00D(BuiltInId::max_Int1_Int1, constexpr const TFunction max_10D10D(BuiltInId::max_Int2_Int2, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpMax, @@ -5405,7 +4998,7 @@ constexpr const TFunction max_10D10D(BuiltInId::max_Int2_Int2, constexpr const TFunction max_20D20D(BuiltInId::max_Int3_Int3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpMax, @@ -5413,7 +5006,7 @@ constexpr const TFunction max_20D20D(BuiltInId::max_Int3_Int3, constexpr const TFunction max_30D30D(BuiltInId::max_Int4_Int4, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpMax, @@ -5461,7 +5054,7 @@ constexpr const TFunction max_10E10E(BuiltInId::max_UInt2_UInt2, constexpr const TFunction max_20E20E(BuiltInId::max_UInt3_UInt3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpMax, @@ -5860,7 +5453,7 @@ constexpr const TFunction mix_30F30F30F(BuiltInId::mix_Bool4_Bool4_Bool4, constexpr const TFunction step_00B00B(BuiltInId::step_Float1_Float1, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpStep, @@ -5868,7 +5461,7 @@ constexpr const TFunction step_00B00B(BuiltInId::step_Float1_Float1, constexpr const TFunction step_10B10B(BuiltInId::step_Float2_Float2, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpStep, @@ -5884,7 +5477,7 @@ constexpr const TFunction step_20B20B(BuiltInId::step_Float3_Float3, constexpr const TFunction step_30B30B(BuiltInId::step_Float4_Float4, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpStep, @@ -6011,7 +5604,7 @@ constexpr const TFunction modf_30B30B(BuiltInId::modf_Float4_Float4, constexpr const TFunction isnan_00B(BuiltInId::isnan_Float1, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpIsnan, @@ -6019,7 +5612,7 @@ constexpr const TFunction isnan_00B(BuiltInId::isnan_Float1, constexpr const TFunction isnan_10B(BuiltInId::isnan_Float2, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpIsnan, @@ -6027,7 +5620,7 @@ constexpr const TFunction isnan_10B(BuiltInId::isnan_Float2, constexpr const TFunction isnan_20B(BuiltInId::isnan_Float3, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpIsnan, @@ -6043,7 +5636,7 @@ constexpr const TFunction isnan_30B(BuiltInId::isnan_Float4, constexpr const TFunction isinf_00B(BuiltInId::isinf_Float1, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpIsinf, @@ -6051,7 +5644,7 @@ constexpr const TFunction isinf_00B(BuiltInId::isinf_Float1, constexpr const TFunction isinf_10B(BuiltInId::isinf_Float2, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpIsinf, @@ -6059,7 +5652,7 @@ constexpr const TFunction isinf_10B(BuiltInId::isinf_Float2, constexpr const TFunction isinf_20B(BuiltInId::isinf_Float3, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpIsinf, @@ -6076,7 +5669,7 @@ constexpr const TFunction floatBitsToInt_00B( BuiltInId::floatBitsToInt_Float1, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -6085,7 +5678,7 @@ constexpr const TFunction floatBitsToInt_10B( BuiltInId::floatBitsToInt_Float2, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -6094,7 +5687,7 @@ constexpr const TFunction floatBitsToInt_20B( BuiltInId::floatBitsToInt_Float3, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -6112,7 +5705,7 @@ constexpr const TFunction floatBitsToUint_00B( BuiltInId::floatBitsToUint_Float1, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -6121,7 +5714,7 @@ constexpr const TFunction floatBitsToUint_10B( BuiltInId::floatBitsToUint_Float2, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -6130,7 +5723,7 @@ constexpr const TFunction floatBitsToUint_20B( BuiltInId::floatBitsToUint_Float3, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -6157,7 +5750,7 @@ constexpr const TFunction intBitsToFloat_10D( BuiltInId::intBitsToFloat_Int2, BuiltInName::intBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpIntBitsToFloat, @@ -6175,7 +5768,7 @@ constexpr const TFunction intBitsToFloat_30D( BuiltInId::intBitsToFloat_Int4, BuiltInName::intBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpIntBitsToFloat, @@ -6184,7 +5777,7 @@ constexpr const TFunction uintBitsToFloat_00E( BuiltInId::uintBitsToFloat_UInt1, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -6193,7 +5786,7 @@ constexpr const TFunction uintBitsToFloat_10E( BuiltInId::uintBitsToFloat_UInt2, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -6202,7 +5795,7 @@ constexpr const TFunction uintBitsToFloat_20E( BuiltInId::uintBitsToFloat_UInt3, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -6352,7 +5945,7 @@ constexpr const TFunction packSnorm2x16_10B( BuiltInId::packSnorm2x16_Float2, BuiltInName::packSnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackSnorm2x16, @@ -6361,7 +5954,7 @@ constexpr const TFunction packHalf2x16_10B( BuiltInId::packHalf2x16_Float2, BuiltInName::packHalf2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackHalf2x16, @@ -6370,7 +5963,7 @@ constexpr const TFunction unpackSnorm2x16_00E( BuiltInId::unpackSnorm2x16_UInt1, BuiltInName::unpackSnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackSnorm2x16, @@ -6379,7 +5972,7 @@ constexpr const TFunction unpackHalf2x16_00E( BuiltInId::unpackHalf2x16_UInt1, BuiltInName::unpackHalf2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackHalf2x16, @@ -6388,7 +5981,7 @@ constexpr const TFunction packUnorm2x16_10B( BuiltInId::packUnorm2x16_Float2, BuiltInName::packUnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackUnorm2x16, @@ -6397,7 +5990,7 @@ constexpr const TFunction unpackUnorm2x16_00E( BuiltInId::unpackUnorm2x16_UInt1, BuiltInName::unpackUnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackUnorm2x16, @@ -6424,7 +6017,7 @@ constexpr const TFunction unpackUnorm4x8_00E( BuiltInId::unpackUnorm4x8_UInt1, BuiltInName::unpackUnorm4x8, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackUnorm4x8, @@ -6433,7 +6026,7 @@ constexpr const TFunction unpackSnorm4x8_00E( BuiltInId::unpackSnorm4x8_UInt1, BuiltInName::unpackSnorm4x8, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackSnorm4x8, @@ -6441,7 +6034,7 @@ constexpr const TFunction unpackSnorm4x8_00E( constexpr const TFunction length_00B(BuiltInId::length_Float1, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLength, @@ -6449,7 +6042,7 @@ constexpr const TFunction length_00B(BuiltInId::length_Float1, constexpr const TFunction length_10B(BuiltInId::length_Float2, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLength, @@ -6457,7 +6050,7 @@ constexpr const TFunction length_10B(BuiltInId::length_Float2, constexpr const TFunction length_20B(BuiltInId::length_Float3, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpLength, @@ -6474,7 +6067,7 @@ constexpr const TFunction distance_00B00B( BuiltInId::distance_Float1_Float1, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpDistance, @@ -6483,7 +6076,7 @@ constexpr const TFunction distance_10B10B( BuiltInId::distance_Float2_Float2, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpDistance, @@ -6501,7 +6094,7 @@ constexpr const TFunction distance_30B30B( BuiltInId::distance_Float4_Float4, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpDistance, @@ -6509,7 +6102,7 @@ constexpr const TFunction distance_30B30B( constexpr const TFunction dot_00B00B(BuiltInId::dot_Float1_Float1, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpDot, @@ -6517,7 +6110,7 @@ constexpr const TFunction dot_00B00B(BuiltInId::dot_Float1_Float1, constexpr const TFunction dot_10B10B(BuiltInId::dot_Float2_Float2, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpDot, @@ -6533,7 +6126,7 @@ constexpr const TFunction dot_20B20B(BuiltInId::dot_Float3_Float3, constexpr const TFunction dot_30B30B(BuiltInId::dot_Float4_Float4, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpDot, @@ -6549,7 +6142,7 @@ constexpr const TFunction cross_20B20B(BuiltInId::cross_Float3_Float3, constexpr const TFunction normalize_00B(BuiltInId::normalize_Float1, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpNormalize, @@ -6557,7 +6150,7 @@ constexpr const TFunction normalize_00B(BuiltInId::normalize_Float1, constexpr const TFunction normalize_10B(BuiltInId::normalize_Float2, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpNormalize, @@ -6565,7 +6158,7 @@ constexpr const TFunction normalize_10B(BuiltInId::normalize_Float2, constexpr const TFunction normalize_20B(BuiltInId::normalize_Float3, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpNormalize, @@ -6617,7 +6210,7 @@ constexpr const TFunction faceforward_30B30B30B( constexpr const TFunction reflect_00B00B(BuiltInId::reflect_Float1_Float1, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B10B, 2, StaticType::Get(), EOpReflect, @@ -6625,7 +6218,7 @@ constexpr const TFunction reflect_00B00B(BuiltInId::reflect_Float1_Float1, constexpr const TFunction reflect_10B10B(BuiltInId::reflect_Float2_Float2, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpReflect, @@ -6641,7 +6234,7 @@ constexpr const TFunction reflect_20B20B(BuiltInId::reflect_Float3_Float3, constexpr const TFunction reflect_30B30B(BuiltInId::reflect_Float4_Float4, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpReflect, @@ -6767,7 +6360,7 @@ constexpr const TFunction outerProduct_10B10B( BuiltInId::outerProduct_Float2_Float2, BuiltInName::outerProduct, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpOuterProduct, @@ -6785,7 +6378,7 @@ constexpr const TFunction outerProduct_30B30B( BuiltInId::outerProduct_Float4_Float4, BuiltInName::outerProduct, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpOuterProduct, @@ -6970,7 +6563,7 @@ constexpr const TFunction inverse_F0B(BuiltInId::inverse_Float4x4, constexpr const TFunction lessThan_10B10B(BuiltInId::lessThan_Float2_Float2, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -6986,7 +6579,7 @@ constexpr const TFunction lessThan_20B20B(BuiltInId::lessThan_Float3_Float3, constexpr const TFunction lessThan_30B30B(BuiltInId::lessThan_Float4_Float4, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -6994,7 +6587,7 @@ constexpr const TFunction lessThan_30B30B(BuiltInId::lessThan_Float4_Float4, constexpr const TFunction lessThan_10D10D(BuiltInId::lessThan_Int2_Int2, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -7002,7 +6595,7 @@ constexpr const TFunction lessThan_10D10D(BuiltInId::lessThan_Int2_Int2, constexpr const TFunction lessThan_20D20D(BuiltInId::lessThan_Int3_Int3, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -7010,7 +6603,7 @@ constexpr const TFunction lessThan_20D20D(BuiltInId::lessThan_Int3_Int3, constexpr const TFunction lessThan_30D30D(BuiltInId::lessThan_Int4_Int4, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -7026,7 +6619,7 @@ constexpr const TFunction lessThan_10E10E(BuiltInId::lessThan_UInt2_UInt2, constexpr const TFunction lessThan_20E20E(BuiltInId::lessThan_UInt3_UInt3, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -7043,7 +6636,7 @@ constexpr const TFunction lessThanEqual_10B10B( BuiltInId::lessThanEqual_Float2_Float2, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7061,7 +6654,7 @@ constexpr const TFunction lessThanEqual_30B30B( BuiltInId::lessThanEqual_Float4_Float4, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7070,7 +6663,7 @@ constexpr const TFunction lessThanEqual_10D10D( BuiltInId::lessThanEqual_Int2_Int2, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7079,7 +6672,7 @@ constexpr const TFunction lessThanEqual_20D20D( BuiltInId::lessThanEqual_Int3_Int3, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7088,7 +6681,7 @@ constexpr const TFunction lessThanEqual_30D30D( BuiltInId::lessThanEqual_Int4_Int4, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7106,7 +6699,7 @@ constexpr const TFunction lessThanEqual_20E20E( BuiltInId::lessThanEqual_UInt3_UInt3, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -7124,7 +6717,7 @@ constexpr const TFunction greaterThan_10B10B( BuiltInId::greaterThan_Float2_Float2, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7142,7 +6735,7 @@ constexpr const TFunction greaterThan_30B30B( BuiltInId::greaterThan_Float4_Float4, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7151,7 +6744,7 @@ constexpr const TFunction greaterThan_10D10D( BuiltInId::greaterThan_Int2_Int2, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7160,7 +6753,7 @@ constexpr const TFunction greaterThan_20D20D( BuiltInId::greaterThan_Int3_Int3, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7169,7 +6762,7 @@ constexpr const TFunction greaterThan_30D30D( BuiltInId::greaterThan_Int4_Int4, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7187,7 +6780,7 @@ constexpr const TFunction greaterThan_20E20E( BuiltInId::greaterThan_UInt3_UInt3, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -7205,7 +6798,7 @@ constexpr const TFunction greaterThanEqual_10B10B( BuiltInId::greaterThanEqual_Float2_Float2, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7223,7 +6816,7 @@ constexpr const TFunction greaterThanEqual_30B30B( BuiltInId::greaterThanEqual_Float4_Float4, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7232,7 +6825,7 @@ constexpr const TFunction greaterThanEqual_10D10D( BuiltInId::greaterThanEqual_Int2_Int2, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7241,7 +6834,7 @@ constexpr const TFunction greaterThanEqual_20D20D( BuiltInId::greaterThanEqual_Int3_Int3, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7250,7 +6843,7 @@ constexpr const TFunction greaterThanEqual_30D30D( BuiltInId::greaterThanEqual_Int4_Int4, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7268,7 +6861,7 @@ constexpr const TFunction greaterThanEqual_20E20E( BuiltInId::greaterThanEqual_UInt3_UInt3, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -7285,7 +6878,7 @@ constexpr const TFunction greaterThanEqual_30E30E( constexpr const TFunction equal_10B10B(BuiltInId::equal_Float2_Float2, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7301,7 +6894,7 @@ constexpr const TFunction equal_20B20B(BuiltInId::equal_Float3_Float3, constexpr const TFunction equal_30B30B(BuiltInId::equal_Float4_Float4, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7309,7 +6902,7 @@ constexpr const TFunction equal_30B30B(BuiltInId::equal_Float4_Float4, constexpr const TFunction equal_10D10D(BuiltInId::equal_Int2_Int2, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7317,7 +6910,7 @@ constexpr const TFunction equal_10D10D(BuiltInId::equal_Int2_Int2, constexpr const TFunction equal_20D20D(BuiltInId::equal_Int3_Int3, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7325,7 +6918,7 @@ constexpr const TFunction equal_20D20D(BuiltInId::equal_Int3_Int3, constexpr const TFunction equal_30D30D(BuiltInId::equal_Int4_Int4, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7341,7 +6934,7 @@ constexpr const TFunction equal_10E10E(BuiltInId::equal_UInt2_UInt2, constexpr const TFunction equal_20E20E(BuiltInId::equal_UInt3_UInt3, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -7381,7 +6974,7 @@ constexpr const TFunction equal_30F30F(BuiltInId::equal_Bool4_Bool4, constexpr const TFunction notEqual_10B10B(BuiltInId::notEqual_Float2_Float2, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7397,7 +6990,7 @@ constexpr const TFunction notEqual_20B20B(BuiltInId::notEqual_Float3_Float3, constexpr const TFunction notEqual_30B30B(BuiltInId::notEqual_Float4_Float4, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7405,7 +6998,7 @@ constexpr const TFunction notEqual_30B30B(BuiltInId::notEqual_Float4_Float4, constexpr const TFunction notEqual_10D10D(BuiltInId::notEqual_Int2_Int2, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7413,7 +7006,7 @@ constexpr const TFunction notEqual_10D10D(BuiltInId::notEqual_Int2_Int2, constexpr const TFunction notEqual_20D20D(BuiltInId::notEqual_Int3_Int3, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D00D00D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7421,7 +7014,7 @@ constexpr const TFunction notEqual_20D20D(BuiltInId::notEqual_Int3_Int3, constexpr const TFunction notEqual_30D30D(BuiltInId::notEqual_Int4_Int4, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D_o_30D_o_30D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7437,7 +7030,7 @@ constexpr const TFunction notEqual_10E10E(BuiltInId::notEqual_UInt2_UInt2, constexpr const TFunction notEqual_20E20E(BuiltInId::notEqual_UInt3_UInt3, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -7703,7 +7296,7 @@ constexpr const TFunction bitfieldReverse_10D( BuiltInId::bitfieldReverse_Int2, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpBitfieldReverse, @@ -7721,7 +7314,7 @@ constexpr const TFunction bitfieldReverse_30D( BuiltInId::bitfieldReverse_Int4, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpBitfieldReverse, @@ -7730,7 +7323,7 @@ constexpr const TFunction bitfieldReverse_00E( BuiltInId::bitfieldReverse_UInt1, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpBitfieldReverse, @@ -7739,7 +7332,7 @@ constexpr const TFunction bitfieldReverse_10E( BuiltInId::bitfieldReverse_UInt2, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpBitfieldReverse, @@ -7748,7 +7341,7 @@ constexpr const TFunction bitfieldReverse_20E( BuiltInId::bitfieldReverse_UInt3, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpBitfieldReverse, @@ -7773,7 +7366,7 @@ constexpr const TFunction bitCount_00D(BuiltInId::bitCount_Int1, constexpr const TFunction bitCount_10D(BuiltInId::bitCount_Int2, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpBitCount, @@ -7789,7 +7382,7 @@ constexpr const TFunction bitCount_20D(BuiltInId::bitCount_Int3, constexpr const TFunction bitCount_30D(BuiltInId::bitCount_Int4, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpBitCount, @@ -7797,7 +7390,7 @@ constexpr const TFunction bitCount_30D(BuiltInId::bitCount_Int4, constexpr const TFunction bitCount_00E(BuiltInId::bitCount_UInt1, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpBitCount, @@ -7805,7 +7398,7 @@ constexpr const TFunction bitCount_00E(BuiltInId::bitCount_UInt1, constexpr const TFunction bitCount_10E(BuiltInId::bitCount_UInt2, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpBitCount, @@ -7813,7 +7406,7 @@ constexpr const TFunction bitCount_10E(BuiltInId::bitCount_UInt2, constexpr const TFunction bitCount_20E(BuiltInId::bitCount_UInt3, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpBitCount, @@ -7837,7 +7430,7 @@ constexpr const TFunction findLSB_00D(BuiltInId::findLSB_Int1, constexpr const TFunction findLSB_10D(BuiltInId::findLSB_Int2, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpFindLSB, @@ -7853,7 +7446,7 @@ constexpr const TFunction findLSB_20D(BuiltInId::findLSB_Int3, constexpr const TFunction findLSB_30D(BuiltInId::findLSB_Int4, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpFindLSB, @@ -7861,7 +7454,7 @@ constexpr const TFunction findLSB_30D(BuiltInId::findLSB_Int4, constexpr const TFunction findLSB_00E(BuiltInId::findLSB_UInt1, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpFindLSB, @@ -7869,7 +7462,7 @@ constexpr const TFunction findLSB_00E(BuiltInId::findLSB_UInt1, constexpr const TFunction findLSB_10E(BuiltInId::findLSB_UInt2, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpFindLSB, @@ -7877,7 +7470,7 @@ constexpr const TFunction findLSB_10E(BuiltInId::findLSB_UInt2, constexpr const TFunction findLSB_20E(BuiltInId::findLSB_UInt3, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpFindLSB, @@ -7901,7 +7494,7 @@ constexpr const TFunction findMSB_00D(BuiltInId::findMSB_Int1, constexpr const TFunction findMSB_10D(BuiltInId::findMSB_Int2, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D10F, 1, StaticType::Get(), EOpFindMSB, @@ -7917,7 +7510,7 @@ constexpr const TFunction findMSB_20D(BuiltInId::findMSB_Int3, constexpr const TFunction findMSB_30D(BuiltInId::findMSB_Int4, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpFindMSB, @@ -7925,7 +7518,7 @@ constexpr const TFunction findMSB_30D(BuiltInId::findMSB_Int4, constexpr const TFunction findMSB_00E(BuiltInId::findMSB_UInt1, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpFindMSB, @@ -7933,7 +7526,7 @@ constexpr const TFunction findMSB_00E(BuiltInId::findMSB_UInt1, constexpr const TFunction findMSB_10E(BuiltInId::findMSB_UInt2, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpFindMSB, @@ -7941,7 +7534,7 @@ constexpr const TFunction findMSB_10E(BuiltInId::findMSB_UInt2, constexpr const TFunction findMSB_20E(BuiltInId::findMSB_UInt3, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpFindMSB, @@ -8102,7 +7695,7 @@ constexpr const TFunction texture2D_00I10B( BuiltInId::texture2D_Sampler2D1_Float2, BuiltInName::texture2D, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8111,7 +7704,7 @@ constexpr const TFunction texture2DProj_00I20B( BuiltInId::texture2DProj_Sampler2D1_Float3, BuiltInName::texture2DProj, TExtension::UNDEFINED, - BuiltInParameters::p00I20B00B10D, + BuiltInParameters::p00I20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8120,7 +7713,7 @@ constexpr const TFunction texture2DProj_00I30B( BuiltInId::texture2DProj_Sampler2D1_Float4, BuiltInName::texture2DProj, TExtension::UNDEFINED, - BuiltInParameters::p00I30B00B10D, + BuiltInParameters::p00I30B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8129,7 +7722,7 @@ constexpr const TFunction textureCube_00K20B( BuiltInId::textureCube_SamplerCube1_Float3, BuiltInName::textureCube, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8289,7 +7882,7 @@ constexpr const TFunction textureCube_00K20B00B( constexpr const TFunction dFdxExt_00B(BuiltInId::dFdxExt_Float1, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdx, @@ -8297,7 +7890,7 @@ constexpr const TFunction dFdxExt_00B(BuiltInId::dFdxExt_Float1, constexpr const TFunction dFdxExt_10B(BuiltInId::dFdxExt_Float2, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdx, @@ -8305,7 +7898,7 @@ constexpr const TFunction dFdxExt_10B(BuiltInId::dFdxExt_Float2, constexpr const TFunction dFdxExt_20B(BuiltInId::dFdxExt_Float3, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpDFdx, @@ -8321,7 +7914,7 @@ constexpr const TFunction dFdxExt_30B(BuiltInId::dFdxExt_Float4, constexpr const TFunction dFdyExt_00B(BuiltInId::dFdyExt_Float1, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdy, @@ -8329,7 +7922,7 @@ constexpr const TFunction dFdyExt_00B(BuiltInId::dFdyExt_Float1, constexpr const TFunction dFdyExt_10B(BuiltInId::dFdyExt_Float2, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdy, @@ -8337,7 +7930,7 @@ constexpr const TFunction dFdyExt_10B(BuiltInId::dFdyExt_Float2, constexpr const TFunction dFdyExt_20B(BuiltInId::dFdyExt_Float3, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpDFdy, @@ -8353,7 +7946,7 @@ constexpr const TFunction dFdyExt_30B(BuiltInId::dFdyExt_Float4, constexpr const TFunction fwidthExt_00B(BuiltInId::fwidthExt_Float1, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFwidth, @@ -8361,7 +7954,7 @@ constexpr const TFunction fwidthExt_00B(BuiltInId::fwidthExt_Float1, constexpr const TFunction fwidthExt_10B(BuiltInId::fwidthExt_Float2, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFwidth, @@ -8369,7 +7962,7 @@ constexpr const TFunction fwidthExt_10B(BuiltInId::fwidthExt_Float2, constexpr const TFunction fwidthExt_20B(BuiltInId::fwidthExt_Float3, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFwidth, @@ -8422,7 +8015,7 @@ constexpr const TFunction shadow2DEXT_00d20B( BuiltInId::shadow2DEXT_Sampler2DShadow1_Float3, BuiltInName::shadow2DEXT, TExtension::EXT_shadow_samplers, - BuiltInParameters::p00d20B10D00B, + BuiltInParameters::p00d20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8431,7 +8024,7 @@ constexpr const TFunction shadow2DProjEXT_00d30B( BuiltInId::shadow2DProjEXT_Sampler2DShadow1_Float4, BuiltInName::shadow2DProjEXT, TExtension::EXT_shadow_samplers, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8440,7 +8033,7 @@ constexpr const TFunction texture3D_00J20B( BuiltInId::texture3D_Sampler3D1_Float3, BuiltInName::texture3D, TExtension::OES_texture_3D, - BuiltInParameters::p00J20B00B20D, + BuiltInParameters::p00J20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8449,7 +8042,7 @@ constexpr const TFunction texture3DProj_00J30B( BuiltInId::texture3DProj_Sampler3D1_Float4, BuiltInName::texture3DProj, TExtension::OES_texture_3D, - BuiltInParameters::p00J30B00B20D, + BuiltInParameters::p00J30B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8529,7 +8122,7 @@ constexpr const TFunction textureCubeLod_00K20B00B( constexpr const TFunction texture_00I10B(BuiltInId::texture_Sampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8537,7 +8130,7 @@ constexpr const TFunction texture_00I10B(BuiltInId::texture_Sampler2D1_Float2, constexpr const TFunction texture_00R10B(BuiltInId::texture_ISampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8545,7 +8138,7 @@ constexpr const TFunction texture_00R10B(BuiltInId::texture_ISampler2D1_Float2, constexpr const TFunction texture_00X10B(BuiltInId::texture_USampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8553,7 +8146,7 @@ constexpr const TFunction texture_00X10B(BuiltInId::texture_USampler2D1_Float2, constexpr const TFunction texture_00J20B(BuiltInId::texture_Sampler3D1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00J20B00B20D, + BuiltInParameters::p00J20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8561,7 +8154,7 @@ constexpr const TFunction texture_00J20B(BuiltInId::texture_Sampler3D1_Float3, constexpr const TFunction texture_00S20B(BuiltInId::texture_ISampler3D1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00S20B00B20D, + BuiltInParameters::p00S20B20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8569,7 +8162,7 @@ constexpr const TFunction texture_00S20B(BuiltInId::texture_ISampler3D1_Float3, constexpr const TFunction texture_00Y20B(BuiltInId::texture_USampler3D1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00Y20B20D00B, + BuiltInParameters::p00Y20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8577,7 +8170,7 @@ constexpr const TFunction texture_00Y20B(BuiltInId::texture_USampler3D1_Float3, constexpr const TFunction texture_00K20B(BuiltInId::texture_SamplerCube1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8593,7 +8186,7 @@ constexpr const TFunction texture_00T20B(BuiltInId::texture_ISamplerCube1_Float3 constexpr const TFunction texture_00Z20B(BuiltInId::texture_USamplerCube1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z20B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8601,7 +8194,7 @@ constexpr const TFunction texture_00Z20B(BuiltInId::texture_USamplerCube1_Float3 constexpr const TFunction texture_00L20B(BuiltInId::texture_Sampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00L20B00B10D, + BuiltInParameters::p00L20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8609,7 +8202,7 @@ constexpr const TFunction texture_00L20B(BuiltInId::texture_Sampler2DArray1_Floa constexpr const TFunction texture_00U20B(BuiltInId::texture_ISampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00U20B00B10D, + BuiltInParameters::p00U20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8617,7 +8210,7 @@ constexpr const TFunction texture_00U20B(BuiltInId::texture_ISampler2DArray1_Flo constexpr const TFunction texture_00a20B(BuiltInId::texture_USampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00a20B00D, + BuiltInParameters::p00a20B10Dx400D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8625,7 +8218,7 @@ constexpr const TFunction texture_00a20B(BuiltInId::texture_USampler2DArray1_Flo constexpr const TFunction texture_00d20B(BuiltInId::texture_Sampler2DShadow1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00d20B10D00B, + BuiltInParameters::p00d20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8633,7 +8226,7 @@ constexpr const TFunction texture_00d20B(BuiltInId::texture_Sampler2DShadow1_Flo constexpr const TFunction texture_00e30B(BuiltInId::texture_SamplerCubeShadow1_Float4, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00e30B20B20B, + BuiltInParameters::p00e30B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8650,7 +8243,7 @@ constexpr const TFunction textureProj_00I20B( BuiltInId::textureProj_Sampler2D1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00I20B00B10D, + BuiltInParameters::p00I20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8659,7 +8252,7 @@ constexpr const TFunction textureProj_00R20B( BuiltInId::textureProj_ISampler2D1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00R20B10D00B, + BuiltInParameters::p00R20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8668,7 +8261,7 @@ constexpr const TFunction textureProj_00X20B( BuiltInId::textureProj_USampler2D1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00X20B10D00B, + BuiltInParameters::p00X20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8677,7 +8270,7 @@ constexpr const TFunction textureProj_00I30B( BuiltInId::textureProj_Sampler2D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00I30B00B10D, + BuiltInParameters::p00I30B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8686,7 +8279,7 @@ constexpr const TFunction textureProj_00R30B( BuiltInId::textureProj_ISampler2D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00R30B10D00B, + BuiltInParameters::p00R30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8695,7 +8288,7 @@ constexpr const TFunction textureProj_00X30B( BuiltInId::textureProj_USampler2D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00X30B10B10B10D, + BuiltInParameters::p00X30B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8704,7 +8297,7 @@ constexpr const TFunction textureProj_00J30B( BuiltInId::textureProj_Sampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00J30B00B20D, + BuiltInParameters::p00J30B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8713,7 +8306,7 @@ constexpr const TFunction textureProj_00S30B( BuiltInId::textureProj_ISampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00S30B00B20D, + BuiltInParameters::p00S30B20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8722,7 +8315,7 @@ constexpr const TFunction textureProj_00Y30B( BuiltInId::textureProj_USampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00Y30B00B20D, + BuiltInParameters::p00Y30B20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -8731,7 +8324,7 @@ constexpr const TFunction textureProj_00d30B( BuiltInId::textureProj_Sampler2DShadow1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -9501,7 +9094,7 @@ constexpr const TFunction textureSize_00l00D( constexpr const TFunction texture_00k30B(BuiltInId::texture_SamplerCubeArray1_Float4, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00k30B00D, + BuiltInParameters::p00k30B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -9616,7 +9209,7 @@ constexpr const TFunction textureGather_00k30B( BuiltInId::textureGather_SamplerCubeArray1_Float4, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00k30B00D, + BuiltInParameters::p00k30B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -10081,7 +9674,7 @@ constexpr const TFunction textureOffset_00I10B10D( BuiltInId::textureOffset_Sampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -10090,7 +9683,7 @@ constexpr const TFunction textureOffset_00R10B10D( BuiltInId::textureOffset_ISampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10D00D, + BuiltInParameters::p00R10B10Dx400D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -10099,7 +9692,7 @@ constexpr const TFunction textureOffset_00X10B10D( BuiltInId::textureOffset_USampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10D00B, + BuiltInParameters::p00X10B10Dx400D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -10144,7 +9737,7 @@ constexpr const TFunction textureOffset_00L20B10D( BuiltInId::textureOffset_Sampler2DArray1_Float3_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00L20B10D00B, + BuiltInParameters::p00L20B10D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -10162,7 +9755,7 @@ constexpr const TFunction textureOffset_00a20B10D( BuiltInId::textureOffset_USampler2DArray1_Float3_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00a20B10D00B, + BuiltInParameters::p00a20B10Dx400D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -10997,7 +10590,7 @@ constexpr const TFunction textureGather_00I10B( BuiltInId::textureGather_Sampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11006,7 +10599,7 @@ constexpr const TFunction textureGather_00R10B( BuiltInId::textureGather_ISampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11015,7 +10608,7 @@ constexpr const TFunction textureGather_00X10B( BuiltInId::textureGather_USampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11051,7 +10644,7 @@ constexpr const TFunction textureGather_00L20B( BuiltInId::textureGather_Sampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00L20B00B10D, + BuiltInParameters::p00L20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11060,7 +10653,7 @@ constexpr const TFunction textureGather_00U20B( BuiltInId::textureGather_ISampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00U20B00B10D, + BuiltInParameters::p00U20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11069,7 +10662,7 @@ constexpr const TFunction textureGather_00a20B( BuiltInId::textureGather_USampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00a20B00D, + BuiltInParameters::p00a20B10Dx400D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11105,7 +10698,7 @@ constexpr const TFunction textureGather_00K20B( BuiltInId::textureGather_SamplerCube1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11123,7 +10716,7 @@ constexpr const TFunction textureGather_00Z20B( BuiltInId::textureGather_USamplerCube1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z20B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11209,128 +10802,110 @@ constexpr const TFunction textureGather_00e20B00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00I10B10D( - BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00I10B10Dx400D( + BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00R10B10D( - BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00R10B10D00D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00X10B10D( - BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00X10B10D00B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00L20B10D( - BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00L20B10D00B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00U20B10D( - BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00U20B10D00D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00a20B10D( - BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00a20B10D00B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00d10B00B10D( - BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00d10B00B10Dx4, + BuiltInParameters::p00I10B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00f20B00B10D( - BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00R10B10Dx400D( + BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00f20B00B10Dx4, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00I10B10D00D( - BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00R10B10D00D( - BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00R10B10D00D, + BuiltInParameters::p00R10B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00X10B10D00D( - BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00X10B10Dx400D( + BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10D00D, + BuiltInParameters::p00X10B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00L20B10D00D( - BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00L20B10Dx400D( + BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00L20B10D00D, + BuiltInParameters::p00L20B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00U20B10D00D( - BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00U20B10Dx400D( + BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00U20B10D00D, + BuiltInParameters::p00U20B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00a20B10D00D( - BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00a20B10Dx400D( + BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00a20B10D00D, + BuiltInParameters::p00a20B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00I10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00I10B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00R10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00R10B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00X10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00X10B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00L20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00L20B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00U20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00U20B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00a20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00a20B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -11479,118 +11054,136 @@ constexpr const TFunction textureGatherOffsetsExt_00f20B00B10Dx4( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00I10B10Dx400D( - BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00I10B10D00D( + BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10Dx400D, + BuiltInParameters::p00I10B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00R10B10Dx400D( - BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00R10B10D00D( + BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00R10B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00X10B10D00D( + BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00X10B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00L20B10D00D( + BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00L20B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00U20B10D00D( + BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00U20B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00a20B10D00D( + BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00a20B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00I10B10D( + BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00I10B10D00B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00R10B10D( + BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00R10B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00X10B10Dx400D( - BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00X10B10D( + BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00X10B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00L20B10Dx400D( - BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00L20B10D( + BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00L20B10Dx400D, - 4, + BuiltInParameters::p00L20B10D00D, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00U20B10Dx400D( - BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00U20B10D( + BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00U20B10Dx400D, - 4, + BuiltInParameters::p00U20B10D00D, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00a20B10Dx400D( - BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00a20B10D( + BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00a20B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00I10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00I10B10Dx400D, +constexpr const TFunction textureGatherOffset_00d10B00B10D( + BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00d10B00B10Dx4, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00R10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00R10B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00X10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00X10B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00L20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00L20B10Dx400D, +constexpr const TFunction textureGatherOffset_00f20B00B10D( + BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00f20B00B10Dx4, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00U20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00U20B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00a20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00a20B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); constexpr const TFunction dFdx_00B(BuiltInId::dFdx_Float1, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdx, @@ -11598,7 +11191,7 @@ constexpr const TFunction dFdx_00B(BuiltInId::dFdx_Float1, constexpr const TFunction dFdx_10B(BuiltInId::dFdx_Float2, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdx, @@ -11606,7 +11199,7 @@ constexpr const TFunction dFdx_10B(BuiltInId::dFdx_Float2, constexpr const TFunction dFdx_20B(BuiltInId::dFdx_Float3, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpDFdx, @@ -11622,7 +11215,7 @@ constexpr const TFunction dFdx_30B(BuiltInId::dFdx_Float4, constexpr const TFunction dFdy_00B(BuiltInId::dFdy_Float1, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdy, @@ -11630,7 +11223,7 @@ constexpr const TFunction dFdy_00B(BuiltInId::dFdy_Float1, constexpr const TFunction dFdy_10B(BuiltInId::dFdy_Float2, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdy, @@ -11638,7 +11231,7 @@ constexpr const TFunction dFdy_10B(BuiltInId::dFdy_Float2, constexpr const TFunction dFdy_20B(BuiltInId::dFdy_Float3, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpDFdy, @@ -11654,7 +11247,7 @@ constexpr const TFunction dFdy_30B(BuiltInId::dFdy_Float4, constexpr const TFunction fwidth_00B(BuiltInId::fwidth_Float1, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFwidth, @@ -11662,7 +11255,7 @@ constexpr const TFunction fwidth_00B(BuiltInId::fwidth_Float1, constexpr const TFunction fwidth_10B(BuiltInId::fwidth_Float2, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFwidth, @@ -11670,7 +11263,7 @@ constexpr const TFunction fwidth_10B(BuiltInId::fwidth_Float2, constexpr const TFunction fwidth_20B(BuiltInId::fwidth_Float3, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpFwidth, @@ -11687,7 +11280,7 @@ constexpr const TFunction interpolateAtCentroid_00B( BuiltInId::interpolateAtCentroid_Float1, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11696,7 +11289,7 @@ constexpr const TFunction interpolateAtCentroid_10B( BuiltInId::interpolateAtCentroid_Float2, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11705,7 +11298,7 @@ constexpr const TFunction interpolateAtCentroid_20B( BuiltInId::interpolateAtCentroid_Float3, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11768,7 +11361,7 @@ constexpr const TFunction interpolateAtOffset_10B10B( BuiltInId::interpolateAtOffset_Float2_Float2, BuiltInName::interpolateAtOffset, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11795,7 +11388,7 @@ constexpr const TFunction interpolateAtCentroidExt_00B( BuiltInId::interpolateAtCentroidExt_Float1, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11804,7 +11397,7 @@ constexpr const TFunction interpolateAtCentroidExt_10B( BuiltInId::interpolateAtCentroidExt_Float2, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11813,7 +11406,7 @@ constexpr const TFunction interpolateAtCentroidExt_20B( BuiltInId::interpolateAtCentroidExt_Float3, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -11876,7 +11469,7 @@ constexpr const TFunction interpolateAtOffsetExt_10B10B( BuiltInId::interpolateAtOffsetExt_Float2_Float2, BuiltInName::interpolateAtOffsetExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B10F, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12074,7 +11667,7 @@ constexpr const TFunction imageSize_00z(BuiltInId::imageSize_Image2D1, constexpr const TFunction imageSize_01A(BuiltInId::imageSize_IImage2D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01A10D00E00E, + BuiltInParameters::p01A10D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12082,7 +11675,7 @@ constexpr const TFunction imageSize_01A(BuiltInId::imageSize_IImage2D1, constexpr const TFunction imageSize_01B(BuiltInId::imageSize_UImage2D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01B10D00D00D, + BuiltInParameters::p01B10D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12090,7 +11683,7 @@ constexpr const TFunction imageSize_01B(BuiltInId::imageSize_UImage2D1, constexpr const TFunction imageSize_01C(BuiltInId::imageSize_Image3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, + BuiltInParameters::p01C20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12098,7 +11691,7 @@ constexpr const TFunction imageSize_01C(BuiltInId::imageSize_Image3D1, constexpr const TFunction imageSize_01D(BuiltInId::imageSize_IImage3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01D20D00E00E, + BuiltInParameters::p01D20D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12106,7 +11699,7 @@ constexpr const TFunction imageSize_01D(BuiltInId::imageSize_IImage3D1, constexpr const TFunction imageSize_01E(BuiltInId::imageSize_UImage3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, + BuiltInParameters::p01E20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12114,7 +11707,7 @@ constexpr const TFunction imageSize_01E(BuiltInId::imageSize_UImage3D1, constexpr const TFunction imageSize_01F(BuiltInId::imageSize_Image2DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01F20D00E00E, + BuiltInParameters::p01F20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12122,7 +11715,7 @@ constexpr const TFunction imageSize_01F(BuiltInId::imageSize_Image2DArray1, constexpr const TFunction imageSize_01G(BuiltInId::imageSize_IImage2DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01G20D00B, + BuiltInParameters::p01G20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12159,216 +11752,54 @@ constexpr const TFunction imageSize_01K(BuiltInId::imageSize_UImageCube1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01X(BuiltInId::imageSize_ImageCubeArray1, +constexpr const TFunction imageSize_01a(BuiltInId::imageSize_ImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01Y(BuiltInId::imageSize_IImageCubeArray1, +constexpr const TFunction imageSize_01b(BuiltInId::imageSize_IImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01Z(BuiltInId::imageSize_UImageCubeArray1, +constexpr const TFunction imageSize_01c(BuiltInId::imageSize_UImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, + BuiltInParameters::p01c20D30E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01d(BuiltInId::imageSize_ImageBuffer1, +constexpr const TFunction imageSize_01g(BuiltInId::imageSize_ImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, + BuiltInParameters::p01g00D30B, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01e(BuiltInId::imageSize_IImageBuffer1, +constexpr const TFunction imageSize_01h(BuiltInId::imageSize_IImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, + BuiltInParameters::p01h00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01f(BuiltInId::imageSize_UImageBuffer1, +constexpr const TFunction imageSize_01i(BuiltInId::imageSize_UImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageStore_00z10D30B( - BuiltInId::imageStore_Image2D1_Int2_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p00z10D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01A10D30D( - BuiltInId::imageStore_IImage2D1_Int2_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01A10D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01B10D30E( - BuiltInId::imageStore_UImage2D1_Int2_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01B10D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01C20D30B( - BuiltInId::imageStore_Image3D1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01D20D30D( - BuiltInId::imageStore_IImage3D1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01D20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01E20D30E( - BuiltInId::imageStore_UImage3D1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01F20D30B( - BuiltInId::imageStore_Image2DArray1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01F20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01G20D30D( - BuiltInId::imageStore_IImage2DArray1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01G20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01H20D30E( - BuiltInId::imageStore_UImage2DArray1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01H20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01I20D30B( - BuiltInId::imageStore_ImageCube1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01I20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01J20D30D( - BuiltInId::imageStore_IImageCube1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01J20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01K20D30E( - BuiltInId::imageStore_UImageCube1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01K20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01X20D30B( - BuiltInId::imageStore_ImageCubeArray1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01X20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01Y20D30D( - BuiltInId::imageStore_IImageCubeArray1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01Y20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01Z20D30E( - BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01d00D30B( - BuiltInId::imageStore_ImageBuffer1_Int1_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01e00D30D( - BuiltInId::imageStore_IImageBuffer1_Int1_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01f00D30E( - BuiltInId::imageStore_UImageBuffer1_Int1_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01f00D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); constexpr const TFunction imageLoad_00z10D( BuiltInId::imageLoad_Image2D1_Int2, BuiltInName::imageLoad, @@ -12381,7 +11812,7 @@ constexpr const TFunction imageLoad_00z10D( constexpr const TFunction imageLoad_01A10D(BuiltInId::imageLoad_IImage2D1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01A10D00E00E, + BuiltInParameters::p01A10D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12390,7 +11821,7 @@ constexpr const TFunction imageLoad_01B10D( BuiltInId::imageLoad_UImage2D1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01B10D00D00D, + BuiltInParameters::p01B10D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12399,7 +11830,7 @@ constexpr const TFunction imageLoad_01C20D( BuiltInId::imageLoad_Image3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, + BuiltInParameters::p01C20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12407,7 +11838,7 @@ constexpr const TFunction imageLoad_01C20D( constexpr const TFunction imageLoad_01D20D(BuiltInId::imageLoad_IImage3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01D20D00E00E, + BuiltInParameters::p01D20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12416,7 +11847,7 @@ constexpr const TFunction imageLoad_01E20D( BuiltInId::imageLoad_UImage3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, + BuiltInParameters::p01E20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12425,7 +11856,7 @@ constexpr const TFunction imageLoad_01F20D( BuiltInId::imageLoad_Image2DArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01F20D00E00E, + BuiltInParameters::p01F20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12433,7 +11864,7 @@ constexpr const TFunction imageLoad_01F20D( constexpr const TFunction imageLoad_01G20D(BuiltInId::imageLoad_IImage2DArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01G20D00B, + BuiltInParameters::p01G20D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12451,7 +11882,7 @@ constexpr const TFunction imageLoad_01I20D( BuiltInId::imageLoad_ImageCube1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01I20D00D00D, + BuiltInParameters::p01I20D30B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12473,54 +11904,54 @@ constexpr const TFunction imageLoad_01K20D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01X20D( +constexpr const TFunction imageLoad_01a20D( BuiltInId::imageLoad_ImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D30B, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01Y20D(BuiltInId::imageLoad_IImageCubeArray1_Int3, +constexpr const TFunction imageLoad_01b20D(BuiltInId::imageLoad_IImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01Z20D( +constexpr const TFunction imageLoad_01c20D( BuiltInId::imageLoad_UImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, + BuiltInParameters::p01c20D30E, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01d00D( +constexpr const TFunction imageLoad_01g00D( BuiltInId::imageLoad_ImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, + BuiltInParameters::p01g00D30B, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01e00D(BuiltInId::imageLoad_IImageBuffer1_Int1, +constexpr const TFunction imageLoad_01h00D(BuiltInId::imageLoad_IImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, + BuiltInParameters::p01h00D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01f00D( +constexpr const TFunction imageLoad_01i00D( BuiltInId::imageLoad_UImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12606,29 +12037,29 @@ constexpr const TFunction imageAtomicAddExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01d00D00E( +constexpr const TFunction imageAtomicAddExt_01g00D00E( BuiltInId::imageAtomicAddExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01e00D00E( +constexpr const TFunction imageAtomicAddExt_01h00D00E( BuiltInId::imageAtomicAddExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01f00D00E( +constexpr const TFunction imageAtomicAddExt_01i00D00E( BuiltInId::imageAtomicAddExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12660,29 +12091,29 @@ constexpr const TFunction imageAtomicAddExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01X20D00E( +constexpr const TFunction imageAtomicAddExt_01a20D00E( BuiltInId::imageAtomicAddExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Y20D00E( +constexpr const TFunction imageAtomicAddExt_01b20D00E( BuiltInId::imageAtomicAddExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Z20D00E( +constexpr const TFunction imageAtomicAddExt_01c20D00E( BuiltInId::imageAtomicAddExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12741,29 +12172,29 @@ constexpr const TFunction imageAtomicAddExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01a10D00E( - BuiltInId::imageAtomicAddExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01X10D00E( + BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01b10D00E( - BuiltInId::imageAtomicAddExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01Y10D00E( + BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01c10D00E( - BuiltInId::imageAtomicAddExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01Z10D00E( + BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12903,29 +12334,29 @@ constexpr const TFunction imageAtomicAddExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01d00D00D( +constexpr const TFunction imageAtomicAddExt_01g00D00D( BuiltInId::imageAtomicAddExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01e00D00D( +constexpr const TFunction imageAtomicAddExt_01h00D00D( BuiltInId::imageAtomicAddExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01f00D00D( +constexpr const TFunction imageAtomicAddExt_01i00D00D( BuiltInId::imageAtomicAddExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12957,29 +12388,29 @@ constexpr const TFunction imageAtomicAddExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01X20D00D( +constexpr const TFunction imageAtomicAddExt_01a20D00D( BuiltInId::imageAtomicAddExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Y20D00D( +constexpr const TFunction imageAtomicAddExt_01b20D00D( BuiltInId::imageAtomicAddExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Z20D00D( +constexpr const TFunction imageAtomicAddExt_01c20D00D( BuiltInId::imageAtomicAddExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13038,29 +12469,29 @@ constexpr const TFunction imageAtomicAddExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01a10D00D( - BuiltInId::imageAtomicAddExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01X10D00D( + BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01b10D00D( - BuiltInId::imageAtomicAddExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01Y10D00D( + BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01c10D00D( - BuiltInId::imageAtomicAddExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01Z10D00D( + BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13200,29 +12631,29 @@ constexpr const TFunction imageAtomicMinExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01d00D00E( +constexpr const TFunction imageAtomicMinExt_01g00D00E( BuiltInId::imageAtomicMinExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01e00D00E( +constexpr const TFunction imageAtomicMinExt_01h00D00E( BuiltInId::imageAtomicMinExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01f00D00E( +constexpr const TFunction imageAtomicMinExt_01i00D00E( BuiltInId::imageAtomicMinExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13254,29 +12685,29 @@ constexpr const TFunction imageAtomicMinExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01X20D00E( +constexpr const TFunction imageAtomicMinExt_01a20D00E( BuiltInId::imageAtomicMinExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Y20D00E( +constexpr const TFunction imageAtomicMinExt_01b20D00E( BuiltInId::imageAtomicMinExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Z20D00E( +constexpr const TFunction imageAtomicMinExt_01c20D00E( BuiltInId::imageAtomicMinExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13335,29 +12766,29 @@ constexpr const TFunction imageAtomicMinExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01a10D00E( - BuiltInId::imageAtomicMinExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01X10D00E( + BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01b10D00E( - BuiltInId::imageAtomicMinExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01Y10D00E( + BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01c10D00E( - BuiltInId::imageAtomicMinExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01Z10D00E( + BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13497,29 +12928,29 @@ constexpr const TFunction imageAtomicMinExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01d00D00D( +constexpr const TFunction imageAtomicMinExt_01g00D00D( BuiltInId::imageAtomicMinExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01e00D00D( +constexpr const TFunction imageAtomicMinExt_01h00D00D( BuiltInId::imageAtomicMinExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01f00D00D( +constexpr const TFunction imageAtomicMinExt_01i00D00D( BuiltInId::imageAtomicMinExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13551,29 +12982,29 @@ constexpr const TFunction imageAtomicMinExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01X20D00D( +constexpr const TFunction imageAtomicMinExt_01a20D00D( BuiltInId::imageAtomicMinExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Y20D00D( +constexpr const TFunction imageAtomicMinExt_01b20D00D( BuiltInId::imageAtomicMinExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Z20D00D( +constexpr const TFunction imageAtomicMinExt_01c20D00D( BuiltInId::imageAtomicMinExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13632,29 +13063,29 @@ constexpr const TFunction imageAtomicMinExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01a10D00D( - BuiltInId::imageAtomicMinExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01X10D00D( + BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01b10D00D( - BuiltInId::imageAtomicMinExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01Y10D00D( + BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01c10D00D( - BuiltInId::imageAtomicMinExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01Z10D00D( + BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13794,29 +13225,29 @@ constexpr const TFunction imageAtomicMaxExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01d00D00E( +constexpr const TFunction imageAtomicMaxExt_01g00D00E( BuiltInId::imageAtomicMaxExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01e00D00E( +constexpr const TFunction imageAtomicMaxExt_01h00D00E( BuiltInId::imageAtomicMaxExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01f00D00E( +constexpr const TFunction imageAtomicMaxExt_01i00D00E( BuiltInId::imageAtomicMaxExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13848,29 +13279,29 @@ constexpr const TFunction imageAtomicMaxExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01X20D00E( +constexpr const TFunction imageAtomicMaxExt_01a20D00E( BuiltInId::imageAtomicMaxExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Y20D00E( +constexpr const TFunction imageAtomicMaxExt_01b20D00E( BuiltInId::imageAtomicMaxExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Z20D00E( +constexpr const TFunction imageAtomicMaxExt_01c20D00E( BuiltInId::imageAtomicMaxExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13929,29 +13360,29 @@ constexpr const TFunction imageAtomicMaxExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01a10D00E( - BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01X10D00E( + BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01b10D00E( - BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01Y10D00E( + BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01c10D00E( - BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01Z10D00E( + BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14091,29 +13522,29 @@ constexpr const TFunction imageAtomicMaxExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01d00D00D( +constexpr const TFunction imageAtomicMaxExt_01g00D00D( BuiltInId::imageAtomicMaxExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01e00D00D( +constexpr const TFunction imageAtomicMaxExt_01h00D00D( BuiltInId::imageAtomicMaxExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01f00D00D( +constexpr const TFunction imageAtomicMaxExt_01i00D00D( BuiltInId::imageAtomicMaxExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14145,29 +13576,29 @@ constexpr const TFunction imageAtomicMaxExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01X20D00D( +constexpr const TFunction imageAtomicMaxExt_01a20D00D( BuiltInId::imageAtomicMaxExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Y20D00D( +constexpr const TFunction imageAtomicMaxExt_01b20D00D( BuiltInId::imageAtomicMaxExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Z20D00D( +constexpr const TFunction imageAtomicMaxExt_01c20D00D( BuiltInId::imageAtomicMaxExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14226,29 +13657,29 @@ constexpr const TFunction imageAtomicMaxExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01a10D00D( - BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01X10D00D( + BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01b10D00D( - BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01Y10D00D( + BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01c10D00D( - BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01Z10D00D( + BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14388,29 +13819,29 @@ constexpr const TFunction imageAtomicAndExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01d00D00E( +constexpr const TFunction imageAtomicAndExt_01g00D00E( BuiltInId::imageAtomicAndExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01e00D00E( +constexpr const TFunction imageAtomicAndExt_01h00D00E( BuiltInId::imageAtomicAndExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01f00D00E( +constexpr const TFunction imageAtomicAndExt_01i00D00E( BuiltInId::imageAtomicAndExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14442,29 +13873,29 @@ constexpr const TFunction imageAtomicAndExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01X20D00E( +constexpr const TFunction imageAtomicAndExt_01a20D00E( BuiltInId::imageAtomicAndExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Y20D00E( +constexpr const TFunction imageAtomicAndExt_01b20D00E( BuiltInId::imageAtomicAndExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Z20D00E( +constexpr const TFunction imageAtomicAndExt_01c20D00E( BuiltInId::imageAtomicAndExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14523,29 +13954,29 @@ constexpr const TFunction imageAtomicAndExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01a10D00E( - BuiltInId::imageAtomicAndExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01X10D00E( + BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01b10D00E( - BuiltInId::imageAtomicAndExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01Y10D00E( + BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01c10D00E( - BuiltInId::imageAtomicAndExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01Z10D00E( + BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14685,29 +14116,29 @@ constexpr const TFunction imageAtomicAndExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01d00D00D( +constexpr const TFunction imageAtomicAndExt_01g00D00D( BuiltInId::imageAtomicAndExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01e00D00D( +constexpr const TFunction imageAtomicAndExt_01h00D00D( BuiltInId::imageAtomicAndExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01f00D00D( +constexpr const TFunction imageAtomicAndExt_01i00D00D( BuiltInId::imageAtomicAndExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14739,29 +14170,29 @@ constexpr const TFunction imageAtomicAndExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01X20D00D( +constexpr const TFunction imageAtomicAndExt_01a20D00D( BuiltInId::imageAtomicAndExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Y20D00D( +constexpr const TFunction imageAtomicAndExt_01b20D00D( BuiltInId::imageAtomicAndExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Z20D00D( +constexpr const TFunction imageAtomicAndExt_01c20D00D( BuiltInId::imageAtomicAndExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14820,29 +14251,29 @@ constexpr const TFunction imageAtomicAndExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01a10D00D( - BuiltInId::imageAtomicAndExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01X10D00D( + BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01b10D00D( - BuiltInId::imageAtomicAndExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01Y10D00D( + BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01c10D00D( - BuiltInId::imageAtomicAndExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01Z10D00D( + BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14982,29 +14413,29 @@ constexpr const TFunction imageAtomicOrExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01d00D00E( +constexpr const TFunction imageAtomicOrExt_01g00D00E( BuiltInId::imageAtomicOrExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01e00D00E( +constexpr const TFunction imageAtomicOrExt_01h00D00E( BuiltInId::imageAtomicOrExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01f00D00E( +constexpr const TFunction imageAtomicOrExt_01i00D00E( BuiltInId::imageAtomicOrExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15036,29 +14467,29 @@ constexpr const TFunction imageAtomicOrExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01X20D00E( +constexpr const TFunction imageAtomicOrExt_01a20D00E( BuiltInId::imageAtomicOrExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Y20D00E( +constexpr const TFunction imageAtomicOrExt_01b20D00E( BuiltInId::imageAtomicOrExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Z20D00E( +constexpr const TFunction imageAtomicOrExt_01c20D00E( BuiltInId::imageAtomicOrExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15117,29 +14548,29 @@ constexpr const TFunction imageAtomicOrExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01a10D00E( - BuiltInId::imageAtomicOrExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01X10D00E( + BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01b10D00E( - BuiltInId::imageAtomicOrExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01Y10D00E( + BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01c10D00E( - BuiltInId::imageAtomicOrExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01Z10D00E( + BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15279,29 +14710,29 @@ constexpr const TFunction imageAtomicOrExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01d00D00D( +constexpr const TFunction imageAtomicOrExt_01g00D00D( BuiltInId::imageAtomicOrExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01e00D00D( +constexpr const TFunction imageAtomicOrExt_01h00D00D( BuiltInId::imageAtomicOrExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01f00D00D( +constexpr const TFunction imageAtomicOrExt_01i00D00D( BuiltInId::imageAtomicOrExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15333,29 +14764,29 @@ constexpr const TFunction imageAtomicOrExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01X20D00D( +constexpr const TFunction imageAtomicOrExt_01a20D00D( BuiltInId::imageAtomicOrExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Y20D00D( +constexpr const TFunction imageAtomicOrExt_01b20D00D( BuiltInId::imageAtomicOrExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Z20D00D( +constexpr const TFunction imageAtomicOrExt_01c20D00D( BuiltInId::imageAtomicOrExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15414,29 +14845,29 @@ constexpr const TFunction imageAtomicOrExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01a10D00D( - BuiltInId::imageAtomicOrExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01X10D00D( + BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01b10D00D( - BuiltInId::imageAtomicOrExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01Y10D00D( + BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01c10D00D( - BuiltInId::imageAtomicOrExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01Z10D00D( + BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15576,29 +15007,29 @@ constexpr const TFunction imageAtomicXorExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01d00D00E( +constexpr const TFunction imageAtomicXorExt_01g00D00E( BuiltInId::imageAtomicXorExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01e00D00E( +constexpr const TFunction imageAtomicXorExt_01h00D00E( BuiltInId::imageAtomicXorExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01f00D00E( +constexpr const TFunction imageAtomicXorExt_01i00D00E( BuiltInId::imageAtomicXorExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15630,29 +15061,29 @@ constexpr const TFunction imageAtomicXorExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01X20D00E( +constexpr const TFunction imageAtomicXorExt_01a20D00E( BuiltInId::imageAtomicXorExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Y20D00E( +constexpr const TFunction imageAtomicXorExt_01b20D00E( BuiltInId::imageAtomicXorExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Z20D00E( +constexpr const TFunction imageAtomicXorExt_01c20D00E( BuiltInId::imageAtomicXorExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15711,29 +15142,29 @@ constexpr const TFunction imageAtomicXorExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01a10D00E( - BuiltInId::imageAtomicXorExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01X10D00E( + BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01b10D00E( - BuiltInId::imageAtomicXorExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01Y10D00E( + BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01c10D00E( - BuiltInId::imageAtomicXorExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01Z10D00E( + BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15873,29 +15304,29 @@ constexpr const TFunction imageAtomicXorExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01d00D00D( +constexpr const TFunction imageAtomicXorExt_01g00D00D( BuiltInId::imageAtomicXorExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01e00D00D( +constexpr const TFunction imageAtomicXorExt_01h00D00D( BuiltInId::imageAtomicXorExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01f00D00D( +constexpr const TFunction imageAtomicXorExt_01i00D00D( BuiltInId::imageAtomicXorExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -15927,29 +15358,29 @@ constexpr const TFunction imageAtomicXorExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01X20D00D( +constexpr const TFunction imageAtomicXorExt_01a20D00D( BuiltInId::imageAtomicXorExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Y20D00D( +constexpr const TFunction imageAtomicXorExt_01b20D00D( BuiltInId::imageAtomicXorExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Z20D00D( +constexpr const TFunction imageAtomicXorExt_01c20D00D( BuiltInId::imageAtomicXorExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16008,29 +15439,29 @@ constexpr const TFunction imageAtomicXorExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01a10D00D( - BuiltInId::imageAtomicXorExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01X10D00D( + BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01b10D00D( - BuiltInId::imageAtomicXorExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01Y10D00D( + BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01c10D00D( - BuiltInId::imageAtomicXorExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01Z10D00D( + BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16170,29 +15601,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00E( +constexpr const TFunction imageAtomicExchangeExt_01g00D00E( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00E( +constexpr const TFunction imageAtomicExchangeExt_01h00D00E( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00E( +constexpr const TFunction imageAtomicExchangeExt_01i00D00E( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16224,29 +15655,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00E( +constexpr const TFunction imageAtomicExchangeExt_01a20D00E( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00E( +constexpr const TFunction imageAtomicExchangeExt_01b20D00E( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00E( +constexpr const TFunction imageAtomicExchangeExt_01c20D00E( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16305,29 +15736,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00E( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00E( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00E( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00E( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00E( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00E( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16467,29 +15898,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00D( +constexpr const TFunction imageAtomicExchangeExt_01g00D00D( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00D( +constexpr const TFunction imageAtomicExchangeExt_01h00D00D( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00D( +constexpr const TFunction imageAtomicExchangeExt_01i00D00D( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16521,29 +15952,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00D( +constexpr const TFunction imageAtomicExchangeExt_01a20D00D( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00D( +constexpr const TFunction imageAtomicExchangeExt_01b20D00D( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00D( +constexpr const TFunction imageAtomicExchangeExt_01c20D00D( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16602,29 +16033,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00D( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00D( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00D( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00D( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00D( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00D( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16764,29 +16195,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00B( +constexpr const TFunction imageAtomicExchangeExt_01g00D00B( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00B, + BuiltInParameters::p01g00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00B( +constexpr const TFunction imageAtomicExchangeExt_01h00D00B( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00B, + BuiltInParameters::p01h00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00B( +constexpr const TFunction imageAtomicExchangeExt_01i00D00B( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00B, + BuiltInParameters::p01i00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16818,29 +16249,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00B( +constexpr const TFunction imageAtomicExchangeExt_01a20D00B( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00B, + BuiltInParameters::p01a20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00B( +constexpr const TFunction imageAtomicExchangeExt_01b20D00B( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00B, + BuiltInParameters::p01b20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00B( +constexpr const TFunction imageAtomicExchangeExt_01c20D00B( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00B, + BuiltInParameters::p01c20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16899,29 +16330,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00B( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00B( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00B, + BuiltInParameters::p01X10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00B( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00B( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00B, + BuiltInParameters::p01Y10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00B( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00B( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00B, + BuiltInParameters::p01Z10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -17061,29 +16492,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01K20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01d00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01g00D00E00E( BuiltInId::imageAtomicCompSwapExt_ImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01e00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01h00D00E00E( BuiltInId::imageAtomicCompSwapExt_IImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01f00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01i00D00E00E( BuiltInId::imageAtomicCompSwapExt_UImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17115,29 +16546,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01H20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01X20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01a20D00E00E( BuiltInId::imageAtomicCompSwapExt_ImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Y20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01b20D00E00E( BuiltInId::imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Z20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01c20D00E00E( BuiltInId::imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17196,29 +16627,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01Q10D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01a10D00E00E( - BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01X10D00E00E( + BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01b10D00E00E( - BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01Y10D00E00E( + BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01c10D00E00E( - BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01Z10D00E00E( + BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17358,29 +16789,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01K20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01d00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01g00D00D00D( BuiltInId::imageAtomicCompSwapExt_ImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01e00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01h00D00D00D( BuiltInId::imageAtomicCompSwapExt_IImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01f00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01i00D00D00D( BuiltInId::imageAtomicCompSwapExt_UImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17412,29 +16843,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01H20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01X20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01a20D00D00D( BuiltInId::imageAtomicCompSwapExt_ImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Y20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01b20D00D00D( BuiltInId::imageAtomicCompSwapExt_IImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Z20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01c20D00D00D( BuiltInId::imageAtomicCompSwapExt_UImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17493,29 +16924,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01Q10D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01a10D00D00D( - BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01X10D00D00D( + BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01b10D00D00D( - BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01Y10D00D00D( + BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01c10D00D00D( - BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01Z10D00D00D( + BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17574,6 +17005,168 @@ constexpr const TFunction imageAtomicCompSwapExt_01W20D00D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); +constexpr const TFunction imageStore_00z10D30B( + BuiltInId::imageStore_Image2D1_Int2_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p00z10D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01A10D30D( + BuiltInId::imageStore_IImage2D1_Int2_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01A10D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01B10D30E( + BuiltInId::imageStore_UImage2D1_Int2_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01B10D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01C20D30B( + BuiltInId::imageStore_Image3D1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01C20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01D20D30D( + BuiltInId::imageStore_IImage3D1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01D20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01E20D30E( + BuiltInId::imageStore_UImage3D1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01E20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01F20D30B( + BuiltInId::imageStore_Image2DArray1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01F20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01G20D30D( + BuiltInId::imageStore_IImage2DArray1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01G20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01H20D30E( + BuiltInId::imageStore_UImage2DArray1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01H20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01I20D30B( + BuiltInId::imageStore_ImageCube1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01I20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01J20D30D( + BuiltInId::imageStore_IImageCube1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01J20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01K20D30E( + BuiltInId::imageStore_UImageCube1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01K20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01a20D30B( + BuiltInId::imageStore_ImageCubeArray1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01a20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01b20D30D( + BuiltInId::imageStore_IImageCubeArray1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01b20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01c20D30E( + BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01c20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01g00D30B( + BuiltInId::imageStore_ImageBuffer1_Int1_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01g00D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01h00D30D( + BuiltInId::imageStore_IImageBuffer1_Int1_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01h00D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01i00D30E( + BuiltInId::imageStore_UImageBuffer1_Int1_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01i00D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); constexpr const TFunction memoryBarrier_(BuiltInId::memoryBarrier, BuiltInName::memoryBarrier, TExtension::UNDEFINED, @@ -17635,14 +17228,6 @@ constexpr const TFunction groupMemoryBarrier_( StaticType::Get(), EOpGroupMemoryBarrier, false); -constexpr const TFunction barrierES3_2_(BuiltInId::barrierES3_2, - BuiltInName::barrierES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpBarrier, - false); constexpr const TFunction EmitVertex_(BuiltInId::EmitVertex, BuiltInName::EmitVertex, TExtension::EXT_geometry_shader, @@ -17651,15 +17236,6 @@ constexpr const TFunction EmitVertex_(BuiltInId::EmitVertex, StaticType::Get(), EOpEmitVertex, false); -constexpr const TFunction EmitVertexES3_2_( - BuiltInId::EmitVertexES3_2, - BuiltInName::EmitVertexES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpEmitVertex, - false); constexpr const TFunction EndPrimitive_(BuiltInId::EndPrimitive, BuiltInName::EndPrimitive, TExtension::EXT_geometry_shader, @@ -17668,15 +17244,6 @@ constexpr const TFunction EndPrimitive_(BuiltInId::EndPrimitive, StaticType::Get(), EOpEndPrimitive, false); -constexpr const TFunction EndPrimitiveES3_2_( - BuiltInId::EndPrimitiveES3_2, - BuiltInName::EndPrimitiveES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpEndPrimitive, - false); constexpr const TFunction textureVideoWEBGL_00y10B( BuiltInId::textureVideoWEBGL_SamplerVideoWEBGL1_Float2, BuiltInName::textureVideoWEBGL, @@ -17704,6852 +17271,6528 @@ using Rule = SymbolRule; // Rules used to initialize the mangled name array. constexpr SymbolRule kRules[] = { - Rule::Get(&radians_00B), - Rule::Get(&radians_00B), - Rule::Get(&radians_10B), - Rule::Get(&radians_10B), - Rule::Get(&radians_20B), - Rule::Get(&radians_20B), - Rule::Get(&radians_30B), - Rule::Get(&radians_30B), - Rule::Get(°rees_00B), - Rule::Get(°rees_00B), - Rule::Get(°rees_10B), - Rule::Get(°rees_10B), - Rule::Get(°rees_20B), - Rule::Get(°rees_20B), - Rule::Get(°rees_30B), - Rule::Get(°rees_30B), - Rule::Get(&sin_00B), - Rule::Get(&sin_00B), - Rule::Get(&sin_10B), - Rule::Get(&sin_10B), - Rule::Get(&sin_20B), - Rule::Get(&sin_20B), - Rule::Get(&sin_30B), - Rule::Get(&sin_30B), - Rule::Get(&cos_00B), - Rule::Get(&cos_00B), - Rule::Get(&cos_10B), - Rule::Get(&cos_10B), - Rule::Get(&cos_20B), - Rule::Get(&cos_20B), - Rule::Get(&cos_30B), - Rule::Get(&cos_30B), - Rule::Get(&tan_00B), - Rule::Get(&tan_00B), - Rule::Get(&tan_10B), - Rule::Get(&tan_10B), - Rule::Get(&tan_20B), - Rule::Get(&tan_20B), - Rule::Get(&tan_30B), - Rule::Get(&tan_30B), - Rule::Get(&asin_00B), - Rule::Get(&asin_00B), - Rule::Get(&asin_10B), - Rule::Get(&asin_10B), - Rule::Get(&asin_20B), - Rule::Get(&asin_20B), - Rule::Get(&asin_30B), - Rule::Get(&asin_30B), - Rule::Get(&acos_00B), - Rule::Get(&acos_00B), - Rule::Get(&acos_10B), - Rule::Get(&acos_10B), - Rule::Get(&acos_20B), - Rule::Get(&acos_20B), - Rule::Get(&acos_30B), - Rule::Get(&acos_30B), - Rule::Get(&atan_00B00B), - Rule::Get(&atan_00B00B), - Rule::Get(&atan_10B10B), - Rule::Get(&atan_10B10B), - Rule::Get(&atan_20B20B), - Rule::Get(&atan_20B20B), - Rule::Get(&atan_30B30B), - Rule::Get(&atan_30B30B), - Rule::Get(&atan_00B), - Rule::Get(&atan_00B), - Rule::Get(&atan_10B), - Rule::Get(&atan_10B), - Rule::Get(&atan_20B), - Rule::Get(&atan_20B), - Rule::Get(&atan_30B), - Rule::Get(&atan_30B), - Rule::Get(&sinh_00B), - Rule::Get(&sinh_00B), - Rule::Get(&sinh_10B), - Rule::Get(&sinh_10B), - Rule::Get(&sinh_20B), - Rule::Get(&sinh_20B), - Rule::Get(&sinh_30B), - Rule::Get(&sinh_30B), - Rule::Get(&cosh_00B), - Rule::Get(&cosh_00B), - Rule::Get(&cosh_10B), - Rule::Get(&cosh_10B), - Rule::Get(&cosh_20B), - Rule::Get(&cosh_20B), - Rule::Get(&cosh_30B), - Rule::Get(&cosh_30B), - Rule::Get(&tanh_00B), - Rule::Get(&tanh_00B), - Rule::Get(&tanh_10B), - Rule::Get(&tanh_10B), - Rule::Get(&tanh_20B), - Rule::Get(&tanh_20B), - Rule::Get(&tanh_30B), - Rule::Get(&tanh_30B), - Rule::Get(&asinh_00B), - Rule::Get(&asinh_00B), - Rule::Get(&asinh_10B), - Rule::Get(&asinh_10B), - Rule::Get(&asinh_20B), - Rule::Get(&asinh_20B), - Rule::Get(&asinh_30B), - Rule::Get(&asinh_30B), - Rule::Get(&acosh_00B), - Rule::Get(&acosh_00B), - Rule::Get(&acosh_10B), - Rule::Get(&acosh_10B), - Rule::Get(&acosh_20B), - Rule::Get(&acosh_20B), - Rule::Get(&acosh_30B), - Rule::Get(&acosh_30B), - Rule::Get(&atanh_00B), - Rule::Get(&atanh_00B), - Rule::Get(&atanh_10B), - Rule::Get(&atanh_10B), - Rule::Get(&atanh_20B), - Rule::Get(&atanh_20B), - Rule::Get(&atanh_30B), - Rule::Get(&atanh_30B), - Rule::Get(&pow_00B00B), - Rule::Get(&pow_00B00B), - Rule::Get(&pow_10B10B), - Rule::Get(&pow_10B10B), - Rule::Get(&pow_20B20B), - Rule::Get(&pow_20B20B), - Rule::Get(&pow_30B30B), - Rule::Get(&pow_30B30B), - Rule::Get(&exp_00B), - Rule::Get(&exp_00B), - Rule::Get(&exp_10B), - Rule::Get(&exp_10B), - Rule::Get(&exp_20B), - Rule::Get(&exp_20B), - Rule::Get(&exp_30B), - Rule::Get(&exp_30B), - Rule::Get(&log_00B), - Rule::Get(&log_00B), - Rule::Get(&log_10B), - Rule::Get(&log_10B), - Rule::Get(&log_20B), - Rule::Get(&log_20B), - Rule::Get(&log_30B), - Rule::Get(&log_30B), - Rule::Get(&exp2_00B), - Rule::Get(&exp2_00B), - Rule::Get(&exp2_10B), - Rule::Get(&exp2_10B), - Rule::Get(&exp2_20B), - Rule::Get(&exp2_20B), - Rule::Get(&exp2_30B), - Rule::Get(&exp2_30B), - Rule::Get(&log2_00B), - Rule::Get(&log2_00B), - Rule::Get(&log2_10B), - Rule::Get(&log2_10B), - Rule::Get(&log2_20B), - Rule::Get(&log2_20B), - Rule::Get(&log2_30B), - Rule::Get(&log2_30B), - Rule::Get(&sqrt_00B), - Rule::Get(&sqrt_00B), - Rule::Get(&sqrt_10B), - Rule::Get(&sqrt_10B), - Rule::Get(&sqrt_20B), - Rule::Get(&sqrt_20B), - Rule::Get(&sqrt_30B), - Rule::Get(&sqrt_30B), - Rule::Get(&inversesqrt_00B), - Rule::Get(&inversesqrt_00B), - Rule::Get(&inversesqrt_10B), - Rule::Get(&inversesqrt_10B), - Rule::Get(&inversesqrt_20B), - Rule::Get(&inversesqrt_20B), - Rule::Get(&inversesqrt_30B), - Rule::Get(&inversesqrt_30B), - Rule::Get(&abs_00B), - Rule::Get(&abs_00B), - Rule::Get(&abs_10B), - Rule::Get(&abs_10B), - Rule::Get(&abs_20B), - Rule::Get(&abs_20B), - Rule::Get(&abs_30B), - Rule::Get(&abs_30B), - Rule::Get(&abs_00D), - Rule::Get(&abs_00D), - Rule::Get(&abs_10D), - Rule::Get(&abs_10D), - Rule::Get(&abs_20D), - Rule::Get(&abs_20D), - Rule::Get(&abs_30D), - Rule::Get(&abs_30D), - Rule::Get(&sign_00B), - Rule::Get(&sign_00B), - Rule::Get(&sign_10B), - Rule::Get(&sign_10B), - Rule::Get(&sign_20B), - Rule::Get(&sign_20B), - Rule::Get(&sign_30B), - Rule::Get(&sign_30B), - Rule::Get(&sign_00D), - Rule::Get(&sign_00D), - Rule::Get(&sign_10D), - Rule::Get(&sign_10D), - Rule::Get(&sign_20D), - Rule::Get(&sign_20D), - Rule::Get(&sign_30D), - Rule::Get(&sign_30D), - Rule::Get(&floor_00B), - Rule::Get(&floor_00B), - Rule::Get(&floor_10B), - Rule::Get(&floor_10B), - Rule::Get(&floor_20B), - Rule::Get(&floor_20B), - Rule::Get(&floor_30B), - Rule::Get(&floor_30B), - Rule::Get(&trunc_00B), - Rule::Get(&trunc_00B), - Rule::Get(&trunc_10B), - Rule::Get(&trunc_10B), - Rule::Get(&trunc_20B), - Rule::Get(&trunc_20B), - Rule::Get(&trunc_30B), - Rule::Get(&trunc_30B), - Rule::Get(&round_00B), - Rule::Get(&round_00B), - Rule::Get(&round_10B), - Rule::Get(&round_10B), - Rule::Get(&round_20B), - Rule::Get(&round_20B), - Rule::Get(&round_30B), - Rule::Get(&round_30B), - Rule::Get(&roundEven_00B), - Rule::Get(&roundEven_00B), - Rule::Get(&roundEven_10B), - Rule::Get(&roundEven_10B), - Rule::Get(&roundEven_20B), - Rule::Get(&roundEven_20B), - Rule::Get(&roundEven_30B), - Rule::Get(&roundEven_30B), - Rule::Get(&ceil_00B), - Rule::Get(&ceil_00B), - Rule::Get(&ceil_10B), - Rule::Get(&ceil_10B), - Rule::Get(&ceil_20B), - Rule::Get(&ceil_20B), - Rule::Get(&ceil_30B), - Rule::Get(&ceil_30B), - Rule::Get(&fract_00B), - Rule::Get(&fract_00B), - Rule::Get(&fract_10B), - Rule::Get(&fract_10B), - Rule::Get(&fract_20B), - Rule::Get(&fract_20B), - Rule::Get(&fract_30B), - Rule::Get(&fract_30B), - Rule::Get(&mod_00B00B), - Rule::Get(&mod_00B00B), - Rule::Get(&mod_10B00B), - Rule::Get(&mod_10B00B), - Rule::Get(&mod_20B00B), - Rule::Get(&mod_20B00B), - Rule::Get(&mod_30B00B), - Rule::Get(&mod_30B00B), - Rule::Get(&mod_10B10B), - Rule::Get(&mod_10B10B), - Rule::Get(&mod_20B20B), - Rule::Get(&mod_20B20B), - Rule::Get(&mod_30B30B), - Rule::Get(&mod_30B30B), - Rule::Get(&min_00B00B), - Rule::Get(&min_00B00B), - Rule::Get(&min_10B00B), - Rule::Get(&min_10B00B), - Rule::Get(&min_20B00B), - Rule::Get(&min_20B00B), - Rule::Get(&min_30B00B), - Rule::Get(&min_30B00B), - Rule::Get(&min_10B10B), - Rule::Get(&min_10B10B), - Rule::Get(&min_20B20B), - Rule::Get(&min_20B20B), - Rule::Get(&min_30B30B), - Rule::Get(&min_30B30B), - Rule::Get(&min_00D00D), - Rule::Get(&min_00D00D), - Rule::Get(&min_10D10D), - Rule::Get(&min_10D10D), - Rule::Get(&min_20D20D), - Rule::Get(&min_20D20D), - Rule::Get(&min_30D30D), - Rule::Get(&min_30D30D), - Rule::Get(&min_10D00D), - Rule::Get(&min_10D00D), - Rule::Get(&min_20D00D), - Rule::Get(&min_20D00D), - Rule::Get(&min_30D00D), - Rule::Get(&min_30D00D), - Rule::Get(&min_00E00E), - Rule::Get(&min_00E00E), - Rule::Get(&min_10E10E), - Rule::Get(&min_10E10E), - Rule::Get(&min_20E20E), - Rule::Get(&min_20E20E), - Rule::Get(&min_30E30E), - Rule::Get(&min_30E30E), - Rule::Get(&min_10E00E), - Rule::Get(&min_10E00E), - Rule::Get(&min_20E00E), - Rule::Get(&min_20E00E), - Rule::Get(&min_30E00E), - Rule::Get(&min_30E00E), - Rule::Get(&max_00B00B), - Rule::Get(&max_00B00B), - Rule::Get(&max_10B00B), - Rule::Get(&max_10B00B), - Rule::Get(&max_20B00B), - Rule::Get(&max_20B00B), - Rule::Get(&max_30B00B), - Rule::Get(&max_30B00B), - Rule::Get(&max_10B10B), - Rule::Get(&max_10B10B), - Rule::Get(&max_20B20B), - Rule::Get(&max_20B20B), - Rule::Get(&max_30B30B), - Rule::Get(&max_30B30B), - Rule::Get(&max_00D00D), - Rule::Get(&max_00D00D), - Rule::Get(&max_10D10D), - Rule::Get(&max_10D10D), - Rule::Get(&max_20D20D), - Rule::Get(&max_20D20D), - Rule::Get(&max_30D30D), - Rule::Get(&max_30D30D), - Rule::Get(&max_10D00D), - Rule::Get(&max_10D00D), - Rule::Get(&max_20D00D), - Rule::Get(&max_20D00D), - Rule::Get(&max_30D00D), - Rule::Get(&max_30D00D), - Rule::Get(&max_00E00E), - Rule::Get(&max_00E00E), - Rule::Get(&max_10E10E), - Rule::Get(&max_10E10E), - Rule::Get(&max_20E20E), - Rule::Get(&max_20E20E), - Rule::Get(&max_30E30E), - Rule::Get(&max_30E30E), - Rule::Get(&max_10E00E), - Rule::Get(&max_10E00E), - Rule::Get(&max_20E00E), - Rule::Get(&max_20E00E), - Rule::Get(&max_30E00E), - Rule::Get(&max_30E00E), - Rule::Get(&clamp_00B00B00B), - Rule::Get(&clamp_00B00B00B), - Rule::Get(&clamp_10B00B00B), - Rule::Get(&clamp_10B00B00B), - Rule::Get(&clamp_20B00B00B), - Rule::Get(&clamp_20B00B00B), - Rule::Get(&clamp_30B00B00B), - Rule::Get(&clamp_30B00B00B), - Rule::Get(&clamp_10B10B10B), - Rule::Get(&clamp_10B10B10B), - Rule::Get(&clamp_20B20B20B), - Rule::Get(&clamp_20B20B20B), - Rule::Get(&clamp_30B30B30B), - Rule::Get(&clamp_30B30B30B), - Rule::Get(&clamp_00D00D00D), - Rule::Get(&clamp_00D00D00D), - Rule::Get(&clamp_10D00D00D), - Rule::Get(&clamp_10D00D00D), - Rule::Get(&clamp_20D00D00D), - Rule::Get(&clamp_20D00D00D), - Rule::Get(&clamp_30D00D00D), - Rule::Get(&clamp_30D00D00D), - Rule::Get(&clamp_10D10D10D), - Rule::Get(&clamp_10D10D10D), - Rule::Get(&clamp_20D20D20D), - Rule::Get(&clamp_20D20D20D), - Rule::Get(&clamp_30D30D30D), - Rule::Get(&clamp_30D30D30D), - Rule::Get(&clamp_00E00E00E), - Rule::Get(&clamp_00E00E00E), - Rule::Get(&clamp_10E00E00E), - Rule::Get(&clamp_10E00E00E), - Rule::Get(&clamp_20E00E00E), - Rule::Get(&clamp_20E00E00E), - Rule::Get(&clamp_30E00E00E), - Rule::Get(&clamp_30E00E00E), - Rule::Get(&clamp_10E10E10E), - Rule::Get(&clamp_10E10E10E), - Rule::Get(&clamp_20E20E20E), - Rule::Get(&clamp_20E20E20E), - Rule::Get(&clamp_30E30E30E), - Rule::Get(&clamp_30E30E30E), - Rule::Get(&mix_00B00B00B), - Rule::Get(&mix_00B00B00B), - Rule::Get(&mix_10B10B00B), - Rule::Get(&mix_10B10B00B), - Rule::Get(&mix_20B20B00B), - Rule::Get(&mix_20B20B00B), - Rule::Get(&mix_30B30B00B), - Rule::Get(&mix_30B30B00B), - Rule::Get(&mix_10B10B10B), - Rule::Get(&mix_10B10B10B), - Rule::Get(&mix_20B20B20B), - Rule::Get(&mix_20B20B20B), - Rule::Get(&mix_30B30B30B), - Rule::Get(&mix_30B30B30B), - Rule::Get(&mix_00B00B00F), - Rule::Get(&mix_00B00B00F), - Rule::Get(&mix_10B10B10F), - Rule::Get(&mix_10B10B10F), - Rule::Get(&mix_20B20B20F), - Rule::Get(&mix_20B20B20F), - Rule::Get(&mix_30B30B30F), - Rule::Get(&mix_30B30B30F), - Rule::Get(&mix_00D00D00F), - Rule::Get(&mix_00D00D00F), - Rule::Get(&mix_10D10D10F), - Rule::Get(&mix_10D10D10F), - Rule::Get(&mix_20D20D20F), - Rule::Get(&mix_20D20D20F), - Rule::Get(&mix_30D30D30F), - Rule::Get(&mix_30D30D30F), - Rule::Get(&mix_00E00E00F), - Rule::Get(&mix_00E00E00F), - Rule::Get(&mix_10E10E10F), - Rule::Get(&mix_10E10E10F), - Rule::Get(&mix_20E20E20F), - Rule::Get(&mix_20E20E20F), - Rule::Get(&mix_30E30E30F), - Rule::Get(&mix_30E30E30F), - Rule::Get(&mix_00F00F00F), - Rule::Get(&mix_00F00F00F), - Rule::Get(&mix_10F10F10F), - Rule::Get(&mix_10F10F10F), - Rule::Get(&mix_20F20F20F), - Rule::Get(&mix_20F20F20F), - Rule::Get(&mix_30F30F30F), - Rule::Get(&mix_30F30F30F), - Rule::Get(&step_00B00B), - Rule::Get(&step_00B00B), - Rule::Get(&step_10B10B), - Rule::Get(&step_10B10B), - Rule::Get(&step_20B20B), - Rule::Get(&step_20B20B), - Rule::Get(&step_30B30B), - Rule::Get(&step_30B30B), - Rule::Get(&step_00B10B), - Rule::Get(&step_00B10B), - Rule::Get(&step_00B20B), - Rule::Get(&step_00B20B), - Rule::Get(&step_00B30B), - Rule::Get(&step_00B30B), - Rule::Get(&smoothstep_00B00B00B), - Rule::Get(&smoothstep_00B00B00B), - Rule::Get(&smoothstep_10B10B10B), - Rule::Get(&smoothstep_10B10B10B), - Rule::Get(&smoothstep_20B20B20B), - Rule::Get(&smoothstep_20B20B20B), - Rule::Get(&smoothstep_30B30B30B), - Rule::Get(&smoothstep_30B30B30B), - Rule::Get(&smoothstep_00B00B10B), - Rule::Get(&smoothstep_00B00B10B), - Rule::Get(&smoothstep_00B00B20B), - Rule::Get(&smoothstep_00B00B20B), - Rule::Get(&smoothstep_00B00B30B), - Rule::Get(&smoothstep_00B00B30B), - Rule::Get(&modf_00B00B), - Rule::Get(&modf_00B00B), - Rule::Get(&modf_10B10B), - Rule::Get(&modf_10B10B), - Rule::Get(&modf_20B20B), - Rule::Get(&modf_20B20B), - Rule::Get(&modf_30B30B), - Rule::Get(&modf_30B30B), - Rule::Get(&isnan_00B), - Rule::Get(&isnan_00B), - Rule::Get(&isnan_10B), - Rule::Get(&isnan_10B), - Rule::Get(&isnan_20B), - Rule::Get(&isnan_20B), - Rule::Get(&isnan_30B), - Rule::Get(&isnan_30B), - Rule::Get(&isinf_00B), - Rule::Get(&isinf_00B), - Rule::Get(&isinf_10B), - Rule::Get(&isinf_10B), - Rule::Get(&isinf_20B), - Rule::Get(&isinf_20B), - Rule::Get(&isinf_30B), - Rule::Get(&isinf_30B), - Rule::Get(&floatBitsToInt_00B), - Rule::Get(&floatBitsToInt_00B), - Rule::Get(&floatBitsToInt_10B), - Rule::Get(&floatBitsToInt_10B), - Rule::Get(&floatBitsToInt_20B), - Rule::Get(&floatBitsToInt_20B), - Rule::Get(&floatBitsToInt_30B), - Rule::Get(&floatBitsToInt_30B), - Rule::Get(&floatBitsToUint_00B), - Rule::Get(&floatBitsToUint_00B), - Rule::Get(&floatBitsToUint_10B), - Rule::Get(&floatBitsToUint_10B), - Rule::Get(&floatBitsToUint_20B), - Rule::Get(&floatBitsToUint_20B), - Rule::Get(&floatBitsToUint_30B), - Rule::Get(&floatBitsToUint_30B), - Rule::Get(&intBitsToFloat_00D), - Rule::Get(&intBitsToFloat_00D), - Rule::Get(&intBitsToFloat_10D), - Rule::Get(&intBitsToFloat_10D), - Rule::Get(&intBitsToFloat_20D), - Rule::Get(&intBitsToFloat_20D), - Rule::Get(&intBitsToFloat_30D), - Rule::Get(&intBitsToFloat_30D), - Rule::Get(&uintBitsToFloat_00E), - Rule::Get(&uintBitsToFloat_00E), - Rule::Get(&uintBitsToFloat_10E), - Rule::Get(&uintBitsToFloat_10E), - Rule::Get(&uintBitsToFloat_20E), - Rule::Get(&uintBitsToFloat_20E), - Rule::Get(&uintBitsToFloat_30E), - Rule::Get(&uintBitsToFloat_30E), - Rule::Get(&fma_00B00B00B), - Rule::Get(&fma_00B00B00B), - Rule::Get(&fmaExt_00B00B00B), - Rule::Get(&fma_10B10B10B), - Rule::Get(&fma_10B10B10B), - Rule::Get(&fmaExt_10B10B10B), - Rule::Get(&fma_20B20B20B), - Rule::Get(&fma_20B20B20B), - Rule::Get(&fmaExt_20B20B20B), - Rule::Get(&fma_30B30B30B), - Rule::Get(&fma_30B30B30B), - Rule::Get(&fmaExt_30B30B30B), - Rule::Get(&frexp_00B00D), - Rule::Get(&frexp_00B00D), - Rule::Get(&frexp_10B10D), - Rule::Get(&frexp_10B10D), - Rule::Get(&frexp_20B20D), - Rule::Get(&frexp_20B20D), - Rule::Get(&frexp_30B30D), - Rule::Get(&frexp_30B30D), - Rule::Get(&ldexp_00B00D), - Rule::Get(&ldexp_00B00D), - Rule::Get(&ldexp_10B10D), - Rule::Get(&ldexp_10B10D), - Rule::Get(&ldexp_20B20D), - Rule::Get(&ldexp_20B20D), - Rule::Get(&ldexp_30B30D), - Rule::Get(&ldexp_30B30D), - Rule::Get(&packSnorm2x16_10B), - Rule::Get(&packSnorm2x16_10B), - Rule::Get(&packHalf2x16_10B), - Rule::Get(&packHalf2x16_10B), - Rule::Get(&unpackSnorm2x16_00E), - Rule::Get(&unpackSnorm2x16_00E), - Rule::Get(&unpackHalf2x16_00E), - Rule::Get(&unpackHalf2x16_00E), - Rule::Get(&packUnorm2x16_10B), - Rule::Get(&packUnorm2x16_10B), - Rule::Get(&unpackUnorm2x16_00E), - Rule::Get(&unpackUnorm2x16_00E), - Rule::Get(&packUnorm4x8_30B), - Rule::Get(&packUnorm4x8_30B), - Rule::Get(&packSnorm4x8_30B), - Rule::Get(&packSnorm4x8_30B), - Rule::Get(&unpackUnorm4x8_00E), - Rule::Get(&unpackUnorm4x8_00E), - Rule::Get(&unpackSnorm4x8_00E), - Rule::Get(&unpackSnorm4x8_00E), - Rule::Get(&length_00B), - Rule::Get(&length_00B), - Rule::Get(&length_10B), - Rule::Get(&length_10B), - Rule::Get(&length_20B), - Rule::Get(&length_20B), - Rule::Get(&length_30B), - Rule::Get(&length_30B), - Rule::Get(&distance_00B00B), - Rule::Get(&distance_00B00B), - Rule::Get(&distance_10B10B), - Rule::Get(&distance_10B10B), - Rule::Get(&distance_20B20B), - Rule::Get(&distance_20B20B), - Rule::Get(&distance_30B30B), - Rule::Get(&distance_30B30B), - Rule::Get(&dot_00B00B), - Rule::Get(&dot_00B00B), - Rule::Get(&dot_10B10B), - Rule::Get(&dot_10B10B), - Rule::Get(&dot_20B20B), - Rule::Get(&dot_20B20B), - Rule::Get(&dot_30B30B), - Rule::Get(&dot_30B30B), - Rule::Get(&cross_20B20B), - Rule::Get(&cross_20B20B), - Rule::Get(&normalize_00B), - Rule::Get(&normalize_00B), - Rule::Get(&normalize_10B), - Rule::Get(&normalize_10B), - Rule::Get(&normalize_20B), - Rule::Get(&normalize_20B), - Rule::Get(&normalize_30B), - Rule::Get(&normalize_30B), - Rule::Get(&faceforward_00B00B00B), - Rule::Get(&faceforward_00B00B00B), - Rule::Get(&faceforward_10B10B10B), - Rule::Get(&faceforward_10B10B10B), - Rule::Get(&faceforward_20B20B20B), - Rule::Get(&faceforward_20B20B20B), - Rule::Get(&faceforward_30B30B30B), - Rule::Get(&faceforward_30B30B30B), - Rule::Get(&reflect_00B00B), - Rule::Get(&reflect_00B00B), - Rule::Get(&reflect_10B10B), - Rule::Get(&reflect_10B10B), - Rule::Get(&reflect_20B20B), - Rule::Get(&reflect_20B20B), - Rule::Get(&reflect_30B30B), - Rule::Get(&reflect_30B30B), - Rule::Get(&refract_00B00B00B), - Rule::Get(&refract_00B00B00B), - Rule::Get(&refract_10B10B00B), - Rule::Get(&refract_10B10B00B), - Rule::Get(&refract_20B20B00B), - Rule::Get(&refract_20B20B00B), - Rule::Get(&refract_30B30B00B), - Rule::Get(&refract_30B30B00B), - Rule::Get(&matrixCompMult_50B50B), - Rule::Get(&matrixCompMult_50B50B), - Rule::Get(&matrixCompMult_A0BA0B), - Rule::Get(&matrixCompMult_A0BA0B), - Rule::Get(&matrixCompMult_F0BF0B), - Rule::Get(&matrixCompMult_F0BF0B), - Rule::Get(&matrixCompMult_90B90B), - Rule::Get(&matrixCompMult_60B60B), - Rule::Get(&matrixCompMult_D0BD0B), - Rule::Get(&matrixCompMult_70B70B), - Rule::Get(&matrixCompMult_E0BE0B), - Rule::Get(&matrixCompMult_B0BB0B), - Rule::Get(&outerProduct_10B10B), - Rule::Get(&outerProduct_10B10B), - Rule::Get(&outerProduct_20B20B), - Rule::Get(&outerProduct_20B20B), - Rule::Get(&outerProduct_30B30B), - Rule::Get(&outerProduct_30B30B), - Rule::Get(&outerProduct_20B10B), - Rule::Get(&outerProduct_20B10B), - Rule::Get(&outerProduct_10B20B), - Rule::Get(&outerProduct_10B20B), - Rule::Get(&outerProduct_30B10B), - Rule::Get(&outerProduct_30B10B), - Rule::Get(&outerProduct_10B30B), - Rule::Get(&outerProduct_10B30B), - Rule::Get(&outerProduct_30B20B), - Rule::Get(&outerProduct_30B20B), - Rule::Get(&outerProduct_20B30B), - Rule::Get(&outerProduct_20B30B), - Rule::Get(&transpose_50B), - Rule::Get(&transpose_50B), - Rule::Get(&transpose_A0B), - Rule::Get(&transpose_A0B), - Rule::Get(&transpose_F0B), - Rule::Get(&transpose_F0B), - Rule::Get(&transpose_60B), - Rule::Get(&transpose_60B), - Rule::Get(&transpose_90B), - Rule::Get(&transpose_90B), - Rule::Get(&transpose_70B), - Rule::Get(&transpose_70B), - Rule::Get(&transpose_D0B), - Rule::Get(&transpose_D0B), - Rule::Get(&transpose_B0B), - Rule::Get(&transpose_B0B), - Rule::Get(&transpose_E0B), - Rule::Get(&transpose_E0B), - Rule::Get(&determinant_50B), - Rule::Get(&determinant_A0B), - Rule::Get(&determinant_F0B), - Rule::Get(&inverse_50B), - Rule::Get(&inverse_50B), - Rule::Get(&inverse_A0B), - Rule::Get(&inverse_A0B), - Rule::Get(&inverse_F0B), - Rule::Get(&inverse_F0B), - Rule::Get(&lessThan_10B10B), - Rule::Get(&lessThan_10B10B), - Rule::Get(&lessThan_20B20B), - Rule::Get(&lessThan_20B20B), - Rule::Get(&lessThan_30B30B), - Rule::Get(&lessThan_30B30B), - Rule::Get(&lessThan_10D10D), - Rule::Get(&lessThan_10D10D), - Rule::Get(&lessThan_20D20D), - Rule::Get(&lessThan_20D20D), - Rule::Get(&lessThan_30D30D), - Rule::Get(&lessThan_30D30D), - Rule::Get(&lessThan_10E10E), - Rule::Get(&lessThan_10E10E), - Rule::Get(&lessThan_20E20E), - Rule::Get(&lessThan_20E20E), - Rule::Get(&lessThan_30E30E), - Rule::Get(&lessThan_30E30E), - Rule::Get(&lessThanEqual_10B10B), - Rule::Get(&lessThanEqual_10B10B), - Rule::Get(&lessThanEqual_20B20B), - Rule::Get(&lessThanEqual_20B20B), - Rule::Get(&lessThanEqual_30B30B), - Rule::Get(&lessThanEqual_30B30B), - Rule::Get(&lessThanEqual_10D10D), - Rule::Get(&lessThanEqual_10D10D), - Rule::Get(&lessThanEqual_20D20D), - Rule::Get(&lessThanEqual_20D20D), - Rule::Get(&lessThanEqual_30D30D), - Rule::Get(&lessThanEqual_30D30D), - Rule::Get(&lessThanEqual_10E10E), - Rule::Get(&lessThanEqual_10E10E), - Rule::Get(&lessThanEqual_20E20E), - Rule::Get(&lessThanEqual_20E20E), - Rule::Get(&lessThanEqual_30E30E), - Rule::Get(&lessThanEqual_30E30E), - Rule::Get(&greaterThan_10B10B), - Rule::Get(&greaterThan_10B10B), - Rule::Get(&greaterThan_20B20B), - Rule::Get(&greaterThan_20B20B), - Rule::Get(&greaterThan_30B30B), - Rule::Get(&greaterThan_30B30B), - Rule::Get(&greaterThan_10D10D), - Rule::Get(&greaterThan_10D10D), - Rule::Get(&greaterThan_20D20D), - Rule::Get(&greaterThan_20D20D), - Rule::Get(&greaterThan_30D30D), - Rule::Get(&greaterThan_30D30D), - Rule::Get(&greaterThan_10E10E), - Rule::Get(&greaterThan_10E10E), - Rule::Get(&greaterThan_20E20E), - Rule::Get(&greaterThan_20E20E), - Rule::Get(&greaterThan_30E30E), - Rule::Get(&greaterThan_30E30E), - Rule::Get(&greaterThanEqual_10B10B), - Rule::Get(&greaterThanEqual_10B10B), - Rule::Get(&greaterThanEqual_20B20B), - Rule::Get(&greaterThanEqual_20B20B), - Rule::Get(&greaterThanEqual_30B30B), - Rule::Get(&greaterThanEqual_30B30B), - Rule::Get(&greaterThanEqual_10D10D), - Rule::Get(&greaterThanEqual_10D10D), - Rule::Get(&greaterThanEqual_20D20D), - Rule::Get(&greaterThanEqual_20D20D), - Rule::Get(&greaterThanEqual_30D30D), - Rule::Get(&greaterThanEqual_30D30D), - Rule::Get(&greaterThanEqual_10E10E), - Rule::Get(&greaterThanEqual_10E10E), - Rule::Get(&greaterThanEqual_20E20E), - Rule::Get(&greaterThanEqual_20E20E), - Rule::Get(&greaterThanEqual_30E30E), - Rule::Get(&greaterThanEqual_30E30E), - Rule::Get(&equal_10B10B), - Rule::Get(&equal_10B10B), - Rule::Get(&equal_20B20B), - Rule::Get(&equal_20B20B), - Rule::Get(&equal_30B30B), - Rule::Get(&equal_30B30B), - Rule::Get(&equal_10D10D), - Rule::Get(&equal_10D10D), - Rule::Get(&equal_20D20D), - Rule::Get(&equal_20D20D), - Rule::Get(&equal_30D30D), - Rule::Get(&equal_30D30D), - Rule::Get(&equal_10E10E), - Rule::Get(&equal_10E10E), - Rule::Get(&equal_20E20E), - Rule::Get(&equal_20E20E), - Rule::Get(&equal_30E30E), - Rule::Get(&equal_30E30E), - Rule::Get(&equal_10F10F), - Rule::Get(&equal_10F10F), - Rule::Get(&equal_20F20F), - Rule::Get(&equal_20F20F), - Rule::Get(&equal_30F30F), - Rule::Get(&equal_30F30F), - Rule::Get(¬Equal_10B10B), - Rule::Get(¬Equal_10B10B), - Rule::Get(¬Equal_20B20B), - Rule::Get(¬Equal_20B20B), - Rule::Get(¬Equal_30B30B), - Rule::Get(¬Equal_30B30B), - Rule::Get(¬Equal_10D10D), - Rule::Get(¬Equal_10D10D), - Rule::Get(¬Equal_20D20D), - Rule::Get(¬Equal_20D20D), - Rule::Get(¬Equal_30D30D), - Rule::Get(¬Equal_30D30D), - Rule::Get(¬Equal_10E10E), - Rule::Get(¬Equal_10E10E), - Rule::Get(¬Equal_20E20E), - Rule::Get(¬Equal_20E20E), - Rule::Get(¬Equal_30E30E), - Rule::Get(¬Equal_30E30E), - Rule::Get(¬Equal_10F10F), - Rule::Get(¬Equal_10F10F), - Rule::Get(¬Equal_20F20F), - Rule::Get(¬Equal_20F20F), - Rule::Get(¬Equal_30F30F), - Rule::Get(¬Equal_30F30F), - Rule::Get(&any_10F), - Rule::Get(&any_10F), - Rule::Get(&any_20F), - Rule::Get(&any_20F), - Rule::Get(&any_30F), - Rule::Get(&any_30F), - Rule::Get(&all_10F), - Rule::Get(&all_10F), - Rule::Get(&all_20F), - Rule::Get(&all_20F), - Rule::Get(&all_30F), - Rule::Get(&all_30F), - Rule::Get(¬Func_10F), - Rule::Get(¬Func_10F), - Rule::Get(¬Func_20F), - Rule::Get(¬Func_20F), - Rule::Get(¬Func_30F), - Rule::Get(¬Func_30F), - Rule::Get(&bitfieldExtract_00D00D00D), - Rule::Get(&bitfieldExtract_00D00D00D), - Rule::Get(&bitfieldExtract_10D00D00D), - Rule::Get(&bitfieldExtract_10D00D00D), - Rule::Get(&bitfieldExtract_20D00D00D), - Rule::Get(&bitfieldExtract_20D00D00D), - Rule::Get(&bitfieldExtract_30D00D00D), - Rule::Get(&bitfieldExtract_30D00D00D), - Rule::Get(&bitfieldExtract_00E00D00D), - Rule::Get(&bitfieldExtract_00E00D00D), - Rule::Get(&bitfieldExtract_10E00D00D), - Rule::Get(&bitfieldExtract_10E00D00D), - Rule::Get(&bitfieldExtract_20E00D00D), - Rule::Get(&bitfieldExtract_20E00D00D), - Rule::Get(&bitfieldExtract_30E00D00D), - Rule::Get(&bitfieldExtract_30E00D00D), - Rule::Get(&bitfieldInsert_00D00D00D00D), - Rule::Get(&bitfieldInsert_00D00D00D00D), - Rule::Get(&bitfieldInsert_10D10D00D00D), - Rule::Get(&bitfieldInsert_10D10D00D00D), - Rule::Get(&bitfieldInsert_20D20D00D00D), - Rule::Get(&bitfieldInsert_20D20D00D00D), - Rule::Get(&bitfieldInsert_30D30D00D00D), - Rule::Get(&bitfieldInsert_30D30D00D00D), - Rule::Get(&bitfieldInsert_00E00E00D00D), - Rule::Get(&bitfieldInsert_00E00E00D00D), - Rule::Get(&bitfieldInsert_10E10E00D00D), - Rule::Get(&bitfieldInsert_10E10E00D00D), - Rule::Get(&bitfieldInsert_20E20E00D00D), - Rule::Get(&bitfieldInsert_20E20E00D00D), - Rule::Get(&bitfieldInsert_30E30E00D00D), - Rule::Get(&bitfieldInsert_30E30E00D00D), - Rule::Get(&bitfieldReverse_00D), - Rule::Get(&bitfieldReverse_00D), - Rule::Get(&bitfieldReverse_10D), - Rule::Get(&bitfieldReverse_10D), - Rule::Get(&bitfieldReverse_20D), - Rule::Get(&bitfieldReverse_20D), - Rule::Get(&bitfieldReverse_30D), - Rule::Get(&bitfieldReverse_30D), - Rule::Get(&bitfieldReverse_00E), - Rule::Get(&bitfieldReverse_00E), - Rule::Get(&bitfieldReverse_10E), - Rule::Get(&bitfieldReverse_10E), - Rule::Get(&bitfieldReverse_20E), - Rule::Get(&bitfieldReverse_20E), - Rule::Get(&bitfieldReverse_30E), - Rule::Get(&bitfieldReverse_30E), - Rule::Get(&bitCount_00D), - Rule::Get(&bitCount_00D), - Rule::Get(&bitCount_10D), - Rule::Get(&bitCount_10D), - Rule::Get(&bitCount_20D), - Rule::Get(&bitCount_20D), - Rule::Get(&bitCount_30D), - Rule::Get(&bitCount_30D), - Rule::Get(&bitCount_00E), - Rule::Get(&bitCount_00E), - Rule::Get(&bitCount_10E), - Rule::Get(&bitCount_10E), - Rule::Get(&bitCount_20E), - Rule::Get(&bitCount_20E), - Rule::Get(&bitCount_30E), - Rule::Get(&bitCount_30E), - Rule::Get(&findLSB_00D), - Rule::Get(&findLSB_00D), - Rule::Get(&findLSB_10D), - Rule::Get(&findLSB_10D), - Rule::Get(&findLSB_20D), - Rule::Get(&findLSB_20D), - Rule::Get(&findLSB_30D), - Rule::Get(&findLSB_30D), - Rule::Get(&findLSB_00E), - Rule::Get(&findLSB_00E), - Rule::Get(&findLSB_10E), - Rule::Get(&findLSB_10E), - Rule::Get(&findLSB_20E), - Rule::Get(&findLSB_20E), - Rule::Get(&findLSB_30E), - Rule::Get(&findLSB_30E), - Rule::Get(&findMSB_00D), - Rule::Get(&findMSB_00D), - Rule::Get(&findMSB_10D), - Rule::Get(&findMSB_10D), - Rule::Get(&findMSB_20D), - Rule::Get(&findMSB_20D), - Rule::Get(&findMSB_30D), - Rule::Get(&findMSB_30D), - Rule::Get(&findMSB_00E), - Rule::Get(&findMSB_00E), - Rule::Get(&findMSB_10E), - Rule::Get(&findMSB_10E), - Rule::Get(&findMSB_20E), - Rule::Get(&findMSB_20E), - Rule::Get(&findMSB_30E), - Rule::Get(&findMSB_30E), - Rule::Get(&uaddCarry_00E00E00E), - Rule::Get(&uaddCarry_00E00E00E), - Rule::Get(&uaddCarry_10E10E10E), - Rule::Get(&uaddCarry_10E10E10E), - Rule::Get(&uaddCarry_20E20E20E), - Rule::Get(&uaddCarry_20E20E20E), - Rule::Get(&uaddCarry_30E30E30E), - Rule::Get(&uaddCarry_30E30E30E), - Rule::Get(&usubBorrow_00E00E00E), - Rule::Get(&usubBorrow_00E00E00E), - Rule::Get(&usubBorrow_10E10E10E), - Rule::Get(&usubBorrow_10E10E10E), - Rule::Get(&usubBorrow_20E20E20E), - Rule::Get(&usubBorrow_20E20E20E), - Rule::Get(&usubBorrow_30E30E30E), - Rule::Get(&usubBorrow_30E30E30E), - Rule::Get(&umulExtended_00E00E00E00E), - Rule::Get(&umulExtended_00E00E00E00E), - Rule::Get(&umulExtended_10E10E10E10E), - Rule::Get(&umulExtended_10E10E10E10E), - Rule::Get(&umulExtended_20E20E20E20E), - Rule::Get(&umulExtended_20E20E20E20E), - Rule::Get(&umulExtended_30E30E30E30E), - Rule::Get(&umulExtended_30E30E30E30E), - Rule::Get(&imulExtended_00D00D00D00D), - Rule::Get(&imulExtended_00D00D00D00D), - Rule::Get(&imulExtended_10D10D10D10D), - Rule::Get(&imulExtended_10D10D10D10D), - Rule::Get(&imulExtended_20D20D20D20D), - Rule::Get(&imulExtended_20D20D20D20D), - Rule::Get(&imulExtended_30D30D30D30D), - Rule::Get(&imulExtended_30D30D30D30D), - Rule::Get(&texture2D_00I10B), - Rule::Get(&texture2D_00I10B), - Rule::Get(&texture2DProj_00I20B), - Rule::Get(&texture2DProj_00I20B), - Rule::Get(&texture2DProj_00I30B), - Rule::Get(&texture2DProj_00I30B), - Rule::Get(&textureCube_00K20B), - Rule::Get(&textureCube_00K20B), - Rule::Get(&texture2D_00M10B), - Rule::Get(&texture2DProj_00M20B), - Rule::Get(&texture2DProj_00M30B), - Rule::Get( - &texture2DRect_00O10B), - Rule::Get( - &texture2DRectProj_00O20B), - Rule::Get( - &texture2DRectProj_00O30B), - Rule::Get(&texture_00O10B), - Rule::Get(&textureProj_00O20B), - Rule::Get(&textureProj_00O30B), - Rule::Get( - &texture2DGradEXT_00I10B10B10B), - Rule::Get( - &texture2DProjGradEXT_00I20B10B10B), - Rule::Get( - &texture2DProjGradEXT_00I30B10B10B), - Rule::Get( - &textureCubeGradEXT_00K20B20B20B), - Rule::Get(&texture2D_00I10B00B), - Rule::Get(&texture2D_00I10B00B), - Rule::Get(&texture2DProj_00I20B00B), - Rule::Get(&texture2DProj_00I20B00B), - Rule::Get(&texture2DProj_00I30B00B), - Rule::Get(&texture2DProj_00I30B00B), - Rule::Get(&textureCube_00K20B00B), - Rule::Get(&textureCube_00K20B00B), - Rule::Get(&dFdx_00B), - Rule::Get(&dFdx_00B), - Rule::Get(&dFdxExt_00B), - Rule::Get(&dFdx_10B), - Rule::Get(&dFdx_10B), - Rule::Get(&dFdxExt_10B), - Rule::Get(&dFdx_20B), - Rule::Get(&dFdx_20B), - Rule::Get(&dFdxExt_20B), - Rule::Get(&dFdx_30B), - Rule::Get(&dFdx_30B), - Rule::Get(&dFdxExt_30B), - Rule::Get(&dFdy_00B), - Rule::Get(&dFdy_00B), - Rule::Get(&dFdyExt_00B), - Rule::Get(&dFdy_10B), - Rule::Get(&dFdy_10B), - Rule::Get(&dFdyExt_10B), - Rule::Get(&dFdy_20B), - Rule::Get(&dFdy_20B), - Rule::Get(&dFdyExt_20B), - Rule::Get(&dFdy_30B), - Rule::Get(&dFdy_30B), - Rule::Get(&dFdyExt_30B), - Rule::Get(&fwidth_00B), - Rule::Get(&fwidth_00B), - Rule::Get( - &fwidthExt_00B), - Rule::Get(&fwidth_10B), - Rule::Get(&fwidth_10B), - Rule::Get( - &fwidthExt_10B), - Rule::Get(&fwidth_20B), - Rule::Get(&fwidth_20B), - Rule::Get( - &fwidthExt_20B), - Rule::Get(&fwidth_30B), - Rule::Get(&fwidth_30B), - Rule::Get( - &fwidthExt_30B), - Rule::Get( - &texture2DLodEXT_00I10B00B), - Rule::Get( - &texture2DProjLodEXT_00I20B00B), - Rule::Get( - &texture2DProjLodEXT_00I30B00B), - Rule::Get( - &textureCubeLodEXT_00K20B00B), - Rule::Get( - &shadow2DEXT_00d20B), - Rule::Get( - &shadow2DProjEXT_00d30B), - Rule::Get(&texture3D_00J20B), - Rule::Get(&texture3DProj_00J30B), - Rule::Get(&texture3D_00J20B00B), - Rule::Get( - &texture3DProj_00J30B00B), - Rule::Get( - &texture3DLod_00J20B00B), - Rule::Get( - &texture3DProjLod_00J30B00B), - Rule::Get(&texture2DLod_00I10B00B), - Rule::Get(&texture2DLod_00I10B00B), - Rule::Get(&texture2DProjLod_00I20B00B), - Rule::Get(&texture2DProjLod_00I20B00B), - Rule::Get(&texture2DProjLod_00I30B00B), - Rule::Get(&texture2DProjLod_00I30B00B), - Rule::Get(&textureCubeLod_00K20B00B), - Rule::Get(&textureCubeLod_00K20B00B), - Rule::Get(&texture_00I10B), - Rule::Get(&texture_00I10B), - Rule::Get(&texture_00R10B), - Rule::Get(&texture_00R10B), - Rule::Get(&texture_00X10B), - Rule::Get(&texture_00X10B), - Rule::Get(&texture_00J20B), - Rule::Get(&texture_00J20B), - Rule::Get(&texture_00S20B), - Rule::Get(&texture_00S20B), - Rule::Get(&texture_00Y20B), - Rule::Get(&texture_00Y20B), - Rule::Get(&texture_00K20B), - Rule::Get(&texture_00K20B), - Rule::Get(&texture_00T20B), - Rule::Get(&texture_00T20B), - Rule::Get(&texture_00Z20B), - Rule::Get(&texture_00Z20B), - Rule::Get(&texture_00L20B), - Rule::Get(&texture_00L20B), - Rule::Get(&texture_00U20B), - Rule::Get(&texture_00U20B), - Rule::Get(&texture_00a20B), - Rule::Get(&texture_00a20B), - Rule::Get(&texture_00d20B), - Rule::Get(&texture_00d20B), - Rule::Get(&texture_00e30B), - Rule::Get(&texture_00e30B), - Rule::Get(&texture_00f30B), - Rule::Get(&texture_00f30B), - Rule::Get(&textureProj_00I20B), - Rule::Get(&textureProj_00I20B), - Rule::Get(&textureProj_00R20B), - Rule::Get(&textureProj_00R20B), - Rule::Get(&textureProj_00X20B), - Rule::Get(&textureProj_00X20B), - Rule::Get(&textureProj_00I30B), - Rule::Get(&textureProj_00I30B), - Rule::Get(&textureProj_00R30B), - Rule::Get(&textureProj_00R30B), - Rule::Get(&textureProj_00X30B), - Rule::Get(&textureProj_00X30B), - Rule::Get(&textureProj_00J30B), - Rule::Get(&textureProj_00J30B), - Rule::Get(&textureProj_00S30B), - Rule::Get(&textureProj_00S30B), - Rule::Get(&textureProj_00Y30B), - Rule::Get(&textureProj_00Y30B), - Rule::Get(&textureProj_00d30B), - Rule::Get(&textureProj_00d30B), - Rule::Get(&textureLod_00I10B00B), - Rule::Get(&textureLod_00I10B00B), - Rule::Get(&textureLod_00R10B00B), - Rule::Get(&textureLod_00R10B00B), - Rule::Get(&textureLod_00X10B00B), - Rule::Get(&textureLod_00X10B00B), - Rule::Get(&textureLod_00J20B00B), - Rule::Get(&textureLod_00J20B00B), - Rule::Get(&textureLod_00S20B00B), - Rule::Get(&textureLod_00S20B00B), - Rule::Get(&textureLod_00Y20B00B), - Rule::Get(&textureLod_00Y20B00B), - Rule::Get(&textureLod_00K20B00B), - Rule::Get(&textureLod_00K20B00B), - Rule::Get(&textureLod_00T20B00B), - Rule::Get(&textureLod_00T20B00B), - Rule::Get(&textureLod_00Z20B00B), - Rule::Get(&textureLod_00Z20B00B), - Rule::Get(&textureLod_00L20B00B), - Rule::Get(&textureLod_00L20B00B), - Rule::Get(&textureLod_00U20B00B), - Rule::Get(&textureLod_00U20B00B), - Rule::Get(&textureLod_00a20B00B), - Rule::Get(&textureLod_00a20B00B), - Rule::Get(&textureLod_00d20B00B), - Rule::Get(&textureLod_00d20B00B), - Rule::Get(&textureSize_00I00D), - Rule::Get(&textureSize_00I00D), - Rule::Get(&textureSize_00R00D), - Rule::Get(&textureSize_00R00D), - Rule::Get(&textureSize_00X00D), - Rule::Get(&textureSize_00X00D), - Rule::Get(&textureSize_00J00D), - Rule::Get(&textureSize_00J00D), - Rule::Get(&textureSize_00S00D), - Rule::Get(&textureSize_00S00D), - Rule::Get(&textureSize_00Y00D), - Rule::Get(&textureSize_00Y00D), - Rule::Get(&textureSize_00K00D), - Rule::Get(&textureSize_00K00D), - Rule::Get(&textureSize_00T00D), - Rule::Get(&textureSize_00T00D), - Rule::Get(&textureSize_00Z00D), - Rule::Get(&textureSize_00Z00D), - Rule::Get(&textureSize_00L00D), - Rule::Get(&textureSize_00L00D), - Rule::Get(&textureSize_00U00D), - Rule::Get(&textureSize_00U00D), - Rule::Get(&textureSize_00a00D), - Rule::Get(&textureSize_00a00D), - Rule::Get(&textureSize_00d00D), - Rule::Get(&textureSize_00d00D), - Rule::Get(&textureSize_00e00D), - Rule::Get(&textureSize_00e00D), - Rule::Get(&textureSize_00f00D), - Rule::Get(&textureSize_00f00D), - Rule::Get(&textureProjLod_00I20B00B), - Rule::Get(&textureProjLod_00I20B00B), - Rule::Get(&textureProjLod_00R20B00B), - Rule::Get(&textureProjLod_00R20B00B), - Rule::Get(&textureProjLod_00X20B00B), - Rule::Get(&textureProjLod_00X20B00B), - Rule::Get(&textureProjLod_00I30B00B), - Rule::Get(&textureProjLod_00I30B00B), - Rule::Get(&textureProjLod_00R30B00B), - Rule::Get(&textureProjLod_00R30B00B), - Rule::Get(&textureProjLod_00X30B00B), - Rule::Get(&textureProjLod_00X30B00B), - Rule::Get(&textureProjLod_00J30B00B), - Rule::Get(&textureProjLod_00J30B00B), - Rule::Get(&textureProjLod_00S30B00B), - Rule::Get(&textureProjLod_00S30B00B), - Rule::Get(&textureProjLod_00Y30B00B), - Rule::Get(&textureProjLod_00Y30B00B), - Rule::Get(&textureProjLod_00d30B00B), - Rule::Get(&textureProjLod_00d30B00B), - Rule::Get(&texelFetch_00I10D00D), - Rule::Get(&texelFetch_00I10D00D), - Rule::Get(&texelFetch_00R10D00D), - Rule::Get(&texelFetch_00R10D00D), - Rule::Get(&texelFetch_00X10D00D), - Rule::Get(&texelFetch_00X10D00D), - Rule::Get(&texelFetch_00J20D00D), - Rule::Get(&texelFetch_00J20D00D), - Rule::Get(&texelFetch_00S20D00D), - Rule::Get(&texelFetch_00S20D00D), - Rule::Get(&texelFetch_00Y20D00D), - Rule::Get(&texelFetch_00Y20D00D), - Rule::Get(&texelFetch_00L20D00D), - Rule::Get(&texelFetch_00L20D00D), - Rule::Get(&texelFetch_00U20D00D), - Rule::Get(&texelFetch_00U20D00D), - Rule::Get(&texelFetch_00a20D00D), - Rule::Get(&texelFetch_00a20D00D), - Rule::Get(&textureGrad_00I10B10B10B), - Rule::Get(&textureGrad_00I10B10B10B), - Rule::Get(&textureGrad_00R10B10B10B), - Rule::Get(&textureGrad_00R10B10B10B), - Rule::Get(&textureGrad_00X10B10B10B), - Rule::Get(&textureGrad_00X10B10B10B), - Rule::Get(&textureGrad_00J20B20B20B), - Rule::Get(&textureGrad_00J20B20B20B), - Rule::Get(&textureGrad_00S20B20B20B), - Rule::Get(&textureGrad_00S20B20B20B), - Rule::Get(&textureGrad_00Y20B20B20B), - Rule::Get(&textureGrad_00Y20B20B20B), - Rule::Get(&textureGrad_00K20B20B20B), - Rule::Get(&textureGrad_00K20B20B20B), - Rule::Get(&textureGrad_00T20B20B20B), - Rule::Get(&textureGrad_00T20B20B20B), - Rule::Get(&textureGrad_00Z20B20B20B), - Rule::Get(&textureGrad_00Z20B20B20B), - Rule::Get(&textureGrad_00d20B10B10B), - Rule::Get(&textureGrad_00d20B10B10B), - Rule::Get(&textureGrad_00e30B20B20B), - Rule::Get(&textureGrad_00e30B20B20B), - Rule::Get(&textureGrad_00L20B10B10B), - Rule::Get(&textureGrad_00L20B10B10B), - Rule::Get(&textureGrad_00U20B10B10B), - Rule::Get(&textureGrad_00U20B10B10B), - Rule::Get(&textureGrad_00a20B10B10B), - Rule::Get(&textureGrad_00a20B10B10B), - Rule::Get(&textureGrad_00f30B10B10B), - Rule::Get(&textureGrad_00f30B10B10B), - Rule::Get(&textureProjGrad_00I20B10B10B), - Rule::Get(&textureProjGrad_00I20B10B10B), - Rule::Get(&textureProjGrad_00R20B10B10B), - Rule::Get(&textureProjGrad_00R20B10B10B), - Rule::Get(&textureProjGrad_00X20B10B10B), - Rule::Get(&textureProjGrad_00X20B10B10B), - Rule::Get(&textureProjGrad_00I30B10B10B), - Rule::Get(&textureProjGrad_00I30B10B10B), - Rule::Get(&textureProjGrad_00R30B10B10B), - Rule::Get(&textureProjGrad_00R30B10B10B), - Rule::Get(&textureProjGrad_00X30B10B10B), - Rule::Get(&textureProjGrad_00X30B10B10B), - Rule::Get(&textureProjGrad_00J30B20B20B), - Rule::Get(&textureProjGrad_00J30B20B20B), - Rule::Get(&textureProjGrad_00S30B20B20B), - Rule::Get(&textureProjGrad_00S30B20B20B), - Rule::Get(&textureProjGrad_00Y30B20B20B), - Rule::Get(&textureProjGrad_00Y30B20B20B), - Rule::Get(&textureProjGrad_00d30B10B10B), - Rule::Get(&textureProjGrad_00d30B10B10B), - Rule::Get(&textureSize_00P), - Rule::Get(&textureSize_00P), - Rule::Get( - &textureSizeExt_00P), - Rule::Get(&textureSize_00V), - Rule::Get(&textureSize_00V), - Rule::Get( - &textureSizeExt_00V), - Rule::Get(&textureSize_00b), - Rule::Get(&textureSize_00b), - Rule::Get( - &textureSizeExt_00b), - Rule::Get( - &textureSizeExt_00Q), - Rule::Get( - &textureSizeExt_00W), - Rule::Get( - &textureSizeExt_00c), - Rule::Get(&textureSize_00k00D), - Rule::Get(&textureSize_00s00D), - Rule::Get(&textureSize_00x00D), - Rule::Get(&textureSize_00l00D), - Rule::Get(&texture_00k30B), - Rule::Get(&texture_00s30B), - Rule::Get(&texture_00x30B), - Rule::Get(&texture_00k30B00B), - Rule::Get(&texture_00s30B00B), - Rule::Get(&texture_00x30B00B), - Rule::Get(&texture_00l30B00B), - Rule::Get(&textureLod_00k30B00B), - Rule::Get(&textureLod_00s30B00B), - Rule::Get(&textureLod_00x30B00B), - Rule::Get(&textureGrad_00k30B20B20B), - Rule::Get(&textureGrad_00s30B20B20B), - Rule::Get(&textureGrad_00x30B20B20B), - Rule::Get(&textureGather_00k30B), - Rule::Get(&textureGather_00s30B), - Rule::Get(&textureGather_00x30B), - Rule::Get(&textureGather_00k30B00D), - Rule::Get(&textureGather_00s30B00D), - Rule::Get(&textureGather_00x30B00D), - Rule::Get(&textureGather_00l30B00B), - Rule::Get(&textureSize_00j), - Rule::Get(&textureSize_00r), - Rule::Get(&textureSize_00w), - Rule::Get(&texelFetch_00j00D), - Rule::Get(&texelFetch_00r00D), - Rule::Get(&texelFetch_00w00D), - Rule::Get(&texelFetch_00P10D00D), - Rule::Get(&texelFetch_00P10D00D), - Rule::Get( - &texelFetchExt_00P10D00D), - Rule::Get(&texelFetch_00V10D00D), - Rule::Get(&texelFetch_00V10D00D), - Rule::Get( - &texelFetchExt_00V10D00D), - Rule::Get(&texelFetch_00b10D00D), - Rule::Get(&texelFetch_00b10D00D), - Rule::Get( - &texelFetchExt_00b10D00D), - Rule::Get( - &texelFetchExt_00Q20D00D), - Rule::Get( - &texelFetchExt_00W20D00D), - Rule::Get( - &texelFetchExt_00c20D00D), - Rule::Get(&texture_00I10B00B), - Rule::Get(&texture_00I10B00B), - Rule::Get(&texture_00R10B00B), - Rule::Get(&texture_00R10B00B), - Rule::Get(&texture_00X10B00B), - Rule::Get(&texture_00X10B00B), - Rule::Get(&texture_00J20B00B), - Rule::Get(&texture_00J20B00B), - Rule::Get(&texture_00S20B00B), - Rule::Get(&texture_00S20B00B), - Rule::Get(&texture_00Y20B00B), - Rule::Get(&texture_00Y20B00B), - Rule::Get(&texture_00K20B00B), - Rule::Get(&texture_00K20B00B), - Rule::Get(&texture_00T20B00B), - Rule::Get(&texture_00T20B00B), - Rule::Get(&texture_00Z20B00B), - Rule::Get(&texture_00Z20B00B), - Rule::Get(&texture_00L20B00B), - Rule::Get(&texture_00L20B00B), - Rule::Get(&texture_00U20B00B), - Rule::Get(&texture_00U20B00B), - Rule::Get(&texture_00a20B00B), - Rule::Get(&texture_00a20B00B), - Rule::Get(&textureProj_00I20B00B), - Rule::Get(&textureProj_00I20B00B), - Rule::Get(&textureProj_00R20B00B), - Rule::Get(&textureProj_00R20B00B), - Rule::Get(&textureProj_00X20B00B), - Rule::Get(&textureProj_00X20B00B), - Rule::Get(&textureProj_00I30B00B), - Rule::Get(&textureProj_00I30B00B), Rule::Get(&textureProj_00R30B00B), Rule::Get(&textureProj_00R30B00B), - Rule::Get(&textureProj_00X30B00B), - Rule::Get(&textureProj_00X30B00B), - Rule::Get(&textureProj_00J30B00B), - Rule::Get(&textureProj_00J30B00B), - Rule::Get(&textureProj_00S30B00B), - Rule::Get(&textureProj_00S30B00B), - Rule::Get(&textureProj_00Y30B00B), - Rule::Get(&textureProj_00Y30B00B), - Rule::Get(&texture_00d20B00B), - Rule::Get(&texture_00d20B00B), - Rule::Get(&texture_00e30B00B), - Rule::Get(&texture_00e30B00B), - Rule::Get(&textureProj_00d30B00B), - Rule::Get(&textureProj_00d30B00B), - Rule::Get( - &texture_00M10B00B), - Rule::Get( - &textureProj_00M20B00B), - Rule::Get( - &textureProj_00M30B00B), - Rule::Get(&texture_00N10B00B), - Rule::Get(&textureProj_00N20B00B), - Rule::Get(&textureProj_00N30B00B), - Rule::Get(&textureOffset_00I10B10D), - Rule::Get(&textureOffset_00I10B10D), - Rule::Get(&textureOffset_00R10B10D), - Rule::Get(&textureOffset_00R10B10D), - Rule::Get(&textureOffset_00X10B10D), - Rule::Get(&textureOffset_00X10B10D), - Rule::Get(&textureOffset_00J20B20D), - Rule::Get(&textureOffset_00J20B20D), - Rule::Get(&textureOffset_00S20B20D), - Rule::Get(&textureOffset_00S20B20D), - Rule::Get(&textureOffset_00Y20B20D), - Rule::Get(&textureOffset_00Y20B20D), - Rule::Get(&textureOffset_00d20B10D), - Rule::Get(&textureOffset_00d20B10D), - Rule::Get(&textureOffset_00L20B10D), - Rule::Get(&textureOffset_00L20B10D), - Rule::Get(&textureOffset_00U20B10D), - Rule::Get(&textureOffset_00U20B10D), - Rule::Get(&textureOffset_00a20B10D), - Rule::Get(&textureOffset_00a20B10D), - Rule::Get(&textureProjOffset_00I20B10D), - Rule::Get(&textureProjOffset_00I20B10D), - Rule::Get(&textureProjOffset_00R20B10D), - Rule::Get(&textureProjOffset_00R20B10D), - Rule::Get(&textureProjOffset_00X20B10D), - Rule::Get(&textureProjOffset_00X20B10D), - Rule::Get(&textureProjOffset_00I30B10D), - Rule::Get(&textureProjOffset_00I30B10D), - Rule::Get(&textureProjOffset_00R30B10D), - Rule::Get(&textureProjOffset_00R30B10D), - Rule::Get(&textureProjOffset_00X30B10D), - Rule::Get(&textureProjOffset_00X30B10D), - Rule::Get(&textureProjOffset_00J30B20D), - Rule::Get(&textureProjOffset_00J30B20D), - Rule::Get(&textureProjOffset_00S30B20D), - Rule::Get(&textureProjOffset_00S30B20D), - Rule::Get(&textureProjOffset_00Y30B20D), - Rule::Get(&textureProjOffset_00Y30B20D), - Rule::Get(&textureProjOffset_00d30B10D), - Rule::Get(&textureProjOffset_00d30B10D), - Rule::Get(&textureLodOffset_00I10B00B10D), - Rule::Get(&textureLodOffset_00I10B00B10D), - Rule::Get(&textureLodOffset_00R10B00B10D), - Rule::Get(&textureLodOffset_00R10B00B10D), - Rule::Get(&textureLodOffset_00X10B00B10D), - Rule::Get(&textureLodOffset_00X10B00B10D), - Rule::Get(&textureLodOffset_00J20B00B20D), - Rule::Get(&textureLodOffset_00J20B00B20D), - Rule::Get(&textureLodOffset_00S20B00B20D), - Rule::Get(&textureLodOffset_00S20B00B20D), - Rule::Get(&textureLodOffset_00Y20B00B20D), - Rule::Get(&textureLodOffset_00Y20B00B20D), - Rule::Get(&textureLodOffset_00d20B00B10D), - Rule::Get(&textureLodOffset_00d20B00B10D), - Rule::Get(&textureLodOffset_00L20B00B10D), - Rule::Get(&textureLodOffset_00L20B00B10D), - Rule::Get(&textureLodOffset_00U20B00B10D), - Rule::Get(&textureLodOffset_00U20B00B10D), - Rule::Get(&textureLodOffset_00a20B00B10D), - Rule::Get(&textureLodOffset_00a20B00B10D), - Rule::Get(&textureProjLodOffset_00I20B00B10D), - Rule::Get(&textureProjLodOffset_00I20B00B10D), - Rule::Get(&textureProjLodOffset_00R20B00B10D), - Rule::Get(&textureProjLodOffset_00R20B00B10D), - Rule::Get(&textureProjLodOffset_00X20B00B10D), - Rule::Get(&textureProjLodOffset_00X20B00B10D), - Rule::Get(&textureProjLodOffset_00I30B00B10D), - Rule::Get(&textureProjLodOffset_00I30B00B10D), - Rule::Get(&textureProjLodOffset_00R30B00B10D), - Rule::Get(&textureProjLodOffset_00R30B00B10D), - Rule::Get(&textureProjLodOffset_00X30B00B10D), - Rule::Get(&textureProjLodOffset_00X30B00B10D), - Rule::Get(&textureProjLodOffset_00J30B00B20D), - Rule::Get(&textureProjLodOffset_00J30B00B20D), - Rule::Get(&textureProjLodOffset_00S30B00B20D), - Rule::Get(&textureProjLodOffset_00S30B00B20D), - Rule::Get(&textureProjLodOffset_00Y30B00B20D), - Rule::Get(&textureProjLodOffset_00Y30B00B20D), - Rule::Get(&textureProjLodOffset_00d30B00B10D), - Rule::Get(&textureProjLodOffset_00d30B00B10D), - Rule::Get(&texelFetchOffset_00I10D00D10D), - Rule::Get(&texelFetchOffset_00I10D00D10D), - Rule::Get(&texelFetchOffset_00R10D00D10D), - Rule::Get(&texelFetchOffset_00R10D00D10D), - Rule::Get(&texelFetchOffset_00X10D00D10D), - Rule::Get(&texelFetchOffset_00X10D00D10D), - Rule::Get(&texelFetchOffset_00J20D00D20D), - Rule::Get(&texelFetchOffset_00J20D00D20D), - Rule::Get(&texelFetchOffset_00S20D00D20D), - Rule::Get(&texelFetchOffset_00S20D00D20D), - Rule::Get(&texelFetchOffset_00Y20D00D20D), - Rule::Get(&texelFetchOffset_00Y20D00D20D), - Rule::Get(&texelFetchOffset_00L20D00D10D), - Rule::Get(&texelFetchOffset_00L20D00D10D), - Rule::Get(&texelFetchOffset_00U20D00D10D), - Rule::Get(&texelFetchOffset_00U20D00D10D), - Rule::Get(&texelFetchOffset_00a20D00D10D), - Rule::Get(&texelFetchOffset_00a20D00D10D), - Rule::Get(&textureGradOffset_00I10B10B10B10D), - Rule::Get(&textureGradOffset_00I10B10B10B10D), - Rule::Get(&textureGradOffset_00R10B10B10B10D), - Rule::Get(&textureGradOffset_00R10B10B10B10D), - Rule::Get(&textureGradOffset_00X10B10B10B10D), - Rule::Get(&textureGradOffset_00X10B10B10B10D), - Rule::Get(&textureGradOffset_00J20B20B20B20D), - Rule::Get(&textureGradOffset_00J20B20B20B20D), - Rule::Get(&textureGradOffset_00S20B20B20B20D), - Rule::Get(&textureGradOffset_00S20B20B20B20D), - Rule::Get(&textureGradOffset_00Y20B20B20B20D), - Rule::Get(&textureGradOffset_00Y20B20B20B20D), - Rule::Get(&textureGradOffset_00d20B10B10B10D), - Rule::Get(&textureGradOffset_00d20B10B10B10D), - Rule::Get(&textureGradOffset_00L20B10B10B10D), - Rule::Get(&textureGradOffset_00L20B10B10B10D), - Rule::Get(&textureGradOffset_00U20B10B10B10D), - Rule::Get(&textureGradOffset_00U20B10B10B10D), - Rule::Get(&textureGradOffset_00a20B10B10B10D), - Rule::Get(&textureGradOffset_00a20B10B10B10D), - Rule::Get(&textureGradOffset_00f30B10B10B10D), - Rule::Get(&textureGradOffset_00f30B10B10B10D), - Rule::Get(&textureProjGradOffset_00I20B10B10B10D), - Rule::Get(&textureProjGradOffset_00I20B10B10B10D), - Rule::Get(&textureProjGradOffset_00R20B10B10B10D), - Rule::Get(&textureProjGradOffset_00R20B10B10B10D), - Rule::Get(&textureProjGradOffset_00X20B10B10B10D), - Rule::Get(&textureProjGradOffset_00X20B10B10B10D), - Rule::Get(&textureProjGradOffset_00I30B10B10B10D), - Rule::Get(&textureProjGradOffset_00I30B10B10B10D), - Rule::Get(&textureProjGradOffset_00R30B10B10B10D), - Rule::Get(&textureProjGradOffset_00R30B10B10B10D), - Rule::Get(&textureProjGradOffset_00X30B10B10B10D), - Rule::Get(&textureProjGradOffset_00X30B10B10B10D), - Rule::Get(&textureProjGradOffset_00J30B20B20B20D), - Rule::Get(&textureProjGradOffset_00J30B20B20B20D), - Rule::Get(&textureProjGradOffset_00S30B20B20B20D), - Rule::Get(&textureProjGradOffset_00S30B20B20B20D), - Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), - Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), - Rule::Get(&textureProjGradOffset_00d30B10B10B10D), - Rule::Get(&textureProjGradOffset_00d30B10B10B10D), - Rule::Get(&textureOffset_00I10B10D00B), - Rule::Get(&textureOffset_00I10B10D00B), - Rule::Get(&textureOffset_00R10B10D00B), - Rule::Get(&textureOffset_00R10B10D00B), - Rule::Get(&textureOffset_00X10B10D00B), - Rule::Get(&textureOffset_00X10B10D00B), - Rule::Get(&textureOffset_00J20B20D00B), - Rule::Get(&textureOffset_00J20B20D00B), - Rule::Get(&textureOffset_00S20B20D00B), - Rule::Get(&textureOffset_00S20B20D00B), - Rule::Get(&textureOffset_00Y20B20D00B), - Rule::Get(&textureOffset_00Y20B20D00B), - Rule::Get(&textureOffset_00d20B10D00B), - Rule::Get(&textureOffset_00d20B10D00B), - Rule::Get(&textureOffset_00L20B10D00B), - Rule::Get(&textureOffset_00L20B10D00B), - Rule::Get(&textureOffset_00U20B10D00B), - Rule::Get(&textureOffset_00U20B10D00B), - Rule::Get(&textureOffset_00a20B10D00B), - Rule::Get(&textureOffset_00a20B10D00B), - Rule::Get(&textureProjOffset_00I20B10D00B), - Rule::Get(&textureProjOffset_00I20B10D00B), - Rule::Get(&textureProjOffset_00R20B10D00B), - Rule::Get(&textureProjOffset_00R20B10D00B), - Rule::Get(&textureProjOffset_00X20B10D00B), - Rule::Get(&textureProjOffset_00X20B10D00B), - Rule::Get(&textureProjOffset_00I30B10D00B), - Rule::Get(&textureProjOffset_00I30B10D00B), - Rule::Get(&textureProjOffset_00R30B10D00B), - Rule::Get(&textureProjOffset_00R30B10D00B), - Rule::Get(&textureProjOffset_00X30B10D00B), - Rule::Get(&textureProjOffset_00X30B10D00B), - Rule::Get(&textureProjOffset_00J30B20D00B), - Rule::Get(&textureProjOffset_00J30B20D00B), - Rule::Get(&textureProjOffset_00S30B20D00B), - Rule::Get(&textureProjOffset_00S30B20D00B), - Rule::Get(&textureProjOffset_00Y30B20D00B), - Rule::Get(&textureProjOffset_00Y30B20D00B), - Rule::Get(&textureProjOffset_00d30B10D00B), - Rule::Get(&textureProjOffset_00d30B10D00B), - Rule::Get( - &texture_00M10B), - Rule::Get( - &textureProj_00M20B), - Rule::Get( - &textureProj_00M30B), - Rule::Get( - &textureSize_00M00D), - Rule::Get( - &texelFetch_00M10D00D), - Rule::Get(&texture_00N10B), - Rule::Get(&textureProj_00N20B), - Rule::Get(&textureProj_00N30B), - Rule::Get(&rgb_2_yuv_20B00H), - Rule::Get(&yuv_2_rgb_20B00H), - Rule::Get(&textureSize_00N00D), - Rule::Get(&texelFetch_00N10D00D), - Rule::Get(&textureGather_00I10B), - Rule::Get(&textureGather_00I10B), - Rule::Get(&textureGather_00R10B), - Rule::Get(&textureGather_00R10B), - Rule::Get(&textureGather_00X10B), - Rule::Get(&textureGather_00X10B), - Rule::Get(&textureGather_00I10B00D), - Rule::Get(&textureGather_00I10B00D), - Rule::Get(&textureGather_00R10B00D), - Rule::Get(&textureGather_00R10B00D), - Rule::Get(&textureGather_00X10B00D), - Rule::Get(&textureGather_00X10B00D), - Rule::Get(&textureGather_00L20B), - Rule::Get(&textureGather_00L20B), - Rule::Get(&textureGather_00U20B), - Rule::Get(&textureGather_00U20B), - Rule::Get(&textureGather_00a20B), - Rule::Get(&textureGather_00a20B), - Rule::Get(&textureGather_00L20B00D), - Rule::Get(&textureGather_00L20B00D), - Rule::Get(&textureGather_00U20B00D), - Rule::Get(&textureGather_00U20B00D), - Rule::Get(&textureGather_00a20B00D), - Rule::Get(&textureGather_00a20B00D), - Rule::Get(&textureGather_00K20B), - Rule::Get(&textureGather_00K20B), - Rule::Get(&textureGather_00T20B), - Rule::Get(&textureGather_00T20B), - Rule::Get(&textureGather_00Z20B), - Rule::Get(&textureGather_00Z20B), - Rule::Get(&textureGather_00K20B00D), - Rule::Get(&textureGather_00K20B00D), - Rule::Get(&textureGather_00T20B00D), - Rule::Get(&textureGather_00T20B00D), - Rule::Get(&textureGather_00Z20B00D), - Rule::Get(&textureGather_00Z20B00D), - Rule::Get(&textureGather_00d10B), - Rule::Get(&textureGather_00d10B00B), - Rule::Get(&textureGather_00d10B00B), - Rule::Get(&textureGather_00f20B), - Rule::Get(&textureGather_00f20B00B), - Rule::Get(&textureGather_00f20B00B), - Rule::Get(&textureGather_00e20B), - Rule::Get(&textureGather_00e20B00B), - Rule::Get(&textureGather_00e20B00B), - Rule::Get(&textureGatherOffset_00I10B10D), - Rule::Get(&textureGatherOffset_00I10B10D), - Rule::Get(&textureGatherOffset_00R10B10D), - Rule::Get(&textureGatherOffset_00R10B10D), - Rule::Get(&textureGatherOffset_00X10B10D), - Rule::Get(&textureGatherOffset_00X10B10D), - Rule::Get(&textureGatherOffset_00L20B10D), - Rule::Get(&textureGatherOffset_00L20B10D), - Rule::Get(&textureGatherOffset_00U20B10D), - Rule::Get(&textureGatherOffset_00U20B10D), - Rule::Get(&textureGatherOffset_00a20B10D), - Rule::Get(&textureGatherOffset_00a20B10D), - Rule::Get(&textureGatherOffset_00d10B00B10D), - Rule::Get(&textureGatherOffset_00d10B00B10D), - Rule::Get(&textureGatherOffset_00f20B00B10D), - Rule::Get(&textureGatherOffset_00f20B00B10D), - Rule::Get(&textureGatherOffset_00I10B10D00D), - Rule::Get(&textureGatherOffset_00I10B10D00D), - Rule::Get(&textureGatherOffset_00R10B10D00D), - Rule::Get(&textureGatherOffset_00R10B10D00D), - Rule::Get(&textureGatherOffset_00X10B10D00D), - Rule::Get(&textureGatherOffset_00X10B10D00D), - Rule::Get(&textureGatherOffset_00L20B10D00D), - Rule::Get(&textureGatherOffset_00L20B10D00D), - Rule::Get(&textureGatherOffset_00U20B10D00D), - Rule::Get(&textureGatherOffset_00U20B10D00D), - Rule::Get(&textureGatherOffset_00a20B10D00D), - Rule::Get(&textureGatherOffset_00a20B10D00D), - Rule::Get(&textureGatherOffsets_00I10B10Dx4), - Rule::Get(&textureGatherOffsets_00I10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00I10B10Dx4), - Rule::Get(&textureGatherOffsets_00R10B10Dx4), - Rule::Get(&textureGatherOffsets_00R10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00R10B10Dx4), - Rule::Get(&textureGatherOffsets_00X10B10Dx4), - Rule::Get(&textureGatherOffsets_00X10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00X10B10Dx4), - Rule::Get(&textureGatherOffsets_00L20B10Dx4), - Rule::Get(&textureGatherOffsets_00L20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00L20B10Dx4), - Rule::Get(&textureGatherOffsets_00U20B10Dx4), - Rule::Get(&textureGatherOffsets_00U20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00U20B10Dx4), - Rule::Get(&textureGatherOffsets_00a20B10Dx4), - Rule::Get(&textureGatherOffsets_00a20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00a20B10Dx4), - Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), - Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00d10B00B10Dx4), - Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), - Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00f20B00B10Dx4), - Rule::Get(&textureGatherOffsets_00I10B10Dx400D), - Rule::Get(&textureGatherOffsets_00I10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00I10B10Dx400D), - Rule::Get(&textureGatherOffsets_00R10B10Dx400D), - Rule::Get(&textureGatherOffsets_00R10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00R10B10Dx400D), - Rule::Get(&textureGatherOffsets_00X10B10Dx400D), - Rule::Get(&textureGatherOffsets_00X10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00X10B10Dx400D), - Rule::Get(&textureGatherOffsets_00L20B10Dx400D), - Rule::Get(&textureGatherOffsets_00L20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00L20B10Dx400D), - Rule::Get(&textureGatherOffsets_00U20B10Dx400D), - Rule::Get(&textureGatherOffsets_00U20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00U20B10Dx400D), - Rule::Get(&textureGatherOffsets_00a20B10Dx400D), - Rule::Get(&textureGatherOffsets_00a20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00a20B10Dx400D), - Rule::Get(&interpolateAtCentroid_00B), - Rule::Get(&interpolateAtCentroid_00B), - Rule::Get( - &interpolateAtCentroidExt_00B), - Rule::Get(&interpolateAtCentroid_10B), - Rule::Get(&interpolateAtCentroid_10B), - Rule::Get( - &interpolateAtCentroidExt_10B), - Rule::Get(&interpolateAtCentroid_20B), - Rule::Get(&interpolateAtCentroid_20B), - Rule::Get( - &interpolateAtCentroidExt_20B), - Rule::Get(&interpolateAtCentroid_30B), - Rule::Get(&interpolateAtCentroid_30B), - Rule::Get( - &interpolateAtCentroidExt_30B), - Rule::Get(&interpolateAtSample_00B00D), - Rule::Get(&interpolateAtSample_00B00D), - Rule::Get( - &interpolateAtSampleExt_00B00D), - Rule::Get(&interpolateAtSample_10B00D), - Rule::Get(&interpolateAtSample_10B00D), - Rule::Get( - &interpolateAtSampleExt_10B00D), - Rule::Get(&interpolateAtSample_20B00D), - Rule::Get(&interpolateAtSample_20B00D), - Rule::Get( - &interpolateAtSampleExt_20B00D), - Rule::Get(&interpolateAtSample_30B00D), - Rule::Get(&interpolateAtSample_30B00D), - Rule::Get( - &interpolateAtSampleExt_30B00D), - Rule::Get(&interpolateAtOffset_00B10B), - Rule::Get(&interpolateAtOffset_00B10B), - Rule::Get( - &interpolateAtOffsetExt_00B10B), - Rule::Get(&interpolateAtOffset_10B10B), - Rule::Get(&interpolateAtOffset_10B10B), - Rule::Get( - &interpolateAtOffsetExt_10B10B), - Rule::Get(&interpolateAtOffset_20B10B), - Rule::Get(&interpolateAtOffset_20B10B), - Rule::Get( - &interpolateAtOffsetExt_20B10B), Rule::Get(&interpolateAtOffset_30B10B), Rule::Get(&interpolateAtOffset_30B10B), Rule::Get( &interpolateAtOffsetExt_30B10B), - Rule::Get(&atomicCounter_00G), - Rule::Get(&atomicCounter_00G), - Rule::Get(&atomicCounterIncrement_00G), - Rule::Get(&atomicCounterIncrement_00G), - Rule::Get(&atomicCounterDecrement_00G), - Rule::Get(&atomicCounterDecrement_00G), - Rule::Get(&atomicAdd_00E00E), - Rule::Get(&atomicAdd_00E00E), - Rule::Get(&atomicAdd_00D00D), - Rule::Get(&atomicAdd_00D00D), - Rule::Get(&atomicMin_00E00E), - Rule::Get(&atomicMin_00E00E), - Rule::Get(&atomicMin_00D00D), - Rule::Get(&atomicMin_00D00D), - Rule::Get(&atomicMax_00E00E), - Rule::Get(&atomicMax_00E00E), - Rule::Get(&atomicMax_00D00D), - Rule::Get(&atomicMax_00D00D), - Rule::Get(&atomicAnd_00E00E), - Rule::Get(&atomicAnd_00E00E), - Rule::Get(&atomicAnd_00D00D), - Rule::Get(&atomicAnd_00D00D), - Rule::Get(&atomicOr_00E00E), - Rule::Get(&atomicOr_00E00E), - Rule::Get(&atomicOr_00D00D), - Rule::Get(&atomicOr_00D00D), - Rule::Get(&atomicXor_00E00E), - Rule::Get(&atomicXor_00E00E), - Rule::Get(&atomicXor_00D00D), - Rule::Get(&atomicXor_00D00D), - Rule::Get(&atomicExchange_00E00E), - Rule::Get(&atomicExchange_00E00E), - Rule::Get(&atomicExchange_00D00D), - Rule::Get(&atomicExchange_00D00D), - Rule::Get(&atomicCompSwap_00E00E00E), - Rule::Get(&atomicCompSwap_00E00E00E), - Rule::Get(&atomicCompSwap_00D00D00D), - Rule::Get(&atomicCompSwap_00D00D00D), - Rule::Get(&imageSize_00z), - Rule::Get(&imageSize_01A), - Rule::Get(&imageSize_01B), - Rule::Get(&imageSize_01C), - Rule::Get(&imageSize_01D), - Rule::Get(&imageSize_01E), - Rule::Get(&imageSize_01F), - Rule::Get(&imageSize_01G), - Rule::Get(&imageSize_01H), - Rule::Get(&imageSize_01I), - Rule::Get(&imageSize_01J), - Rule::Get(&imageSize_01K), - Rule::Get(&imageSize_01X), - Rule::Get(&imageSize_01Y), - Rule::Get(&imageSize_01Z), - Rule::Get(&imageSize_01d), - Rule::Get(&imageSize_01e), - Rule::Get(&imageSize_01f), - Rule::Get(&imageStore_00z10D30B), - Rule::Get(&imageStore_01A10D30D), - Rule::Get(&imageStore_01B10D30E), - Rule::Get(&imageStore_01C20D30B), - Rule::Get(&imageStore_01D20D30D), - Rule::Get(&imageStore_01E20D30E), - Rule::Get(&imageStore_01F20D30B), - Rule::Get(&imageStore_01G20D30D), - Rule::Get(&imageStore_01H20D30E), - Rule::Get(&imageStore_01I20D30B), - Rule::Get(&imageStore_01J20D30D), - Rule::Get(&imageStore_01K20D30E), - Rule::Get(&imageStore_01X20D30B), - Rule::Get(&imageStore_01Y20D30D), - Rule::Get(&imageStore_01Z20D30E), - Rule::Get(&imageStore_01d00D30B), - Rule::Get(&imageStore_01e00D30D), - Rule::Get(&imageStore_01f00D30E), - Rule::Get(&imageLoad_00z10D), - Rule::Get(&imageLoad_01A10D), - Rule::Get(&imageLoad_01B10D), - Rule::Get(&imageLoad_01C20D), - Rule::Get(&imageLoad_01D20D), - Rule::Get(&imageLoad_01E20D), - Rule::Get(&imageLoad_01F20D), - Rule::Get(&imageLoad_01G20D), - Rule::Get(&imageLoad_01H20D), - Rule::Get(&imageLoad_01I20D), - Rule::Get(&imageLoad_01J20D), - Rule::Get(&imageLoad_01K20D), - Rule::Get(&imageLoad_01X20D), - Rule::Get(&imageLoad_01Y20D), - Rule::Get(&imageLoad_01Z20D), - Rule::Get(&imageLoad_01d00D), - Rule::Get(&imageLoad_01e00D), - Rule::Get(&imageLoad_01f00D), - Rule::Get( - &imageAtomicAddExt_00z10D00E), - Rule::Get( - &imageAtomicAddExt_01A10D00E), - Rule::Get( - &imageAtomicAddExt_01B10D00E), - Rule::Get( - &imageAtomicAddExt_01C20D00E), - Rule::Get( - &imageAtomicAddExt_01D20D00E), - Rule::Get( - &imageAtomicAddExt_01E20D00E), - Rule::Get( - &imageAtomicAddExt_01I20D00E), - Rule::Get( - &imageAtomicAddExt_01J20D00E), - Rule::Get( - &imageAtomicAddExt_01K20D00E), - Rule::Get( - &imageAtomicAddExt_01d00D00E), - Rule::Get( - &imageAtomicAddExt_01e00D00E), - Rule::Get( - &imageAtomicAddExt_01f00D00E), - Rule::Get( - &imageAtomicAddExt_01F20D00E), - Rule::Get( - &imageAtomicAddExt_01G20D00E), - Rule::Get( - &imageAtomicAddExt_01H20D00E), - Rule::Get( - &imageAtomicAddExt_01X20D00E), - Rule::Get( - &imageAtomicAddExt_01Y20D00E), - Rule::Get( - &imageAtomicAddExt_01Z20D00E), - Rule::Get( - &imageAtomicAddExt_01L00D00E), - Rule::Get( - &imageAtomicAddExt_01M00D00E), - Rule::Get( - &imageAtomicAddExt_01N00D00E), - Rule::Get( - &imageAtomicAddExt_01O10D00E), - Rule::Get( - &imageAtomicAddExt_01P10D00E), - Rule::Get( - &imageAtomicAddExt_01Q10D00E), - Rule::Get( - &imageAtomicAddExt_01a10D00E), - Rule::Get( - &imageAtomicAddExt_01b10D00E), - Rule::Get( - &imageAtomicAddExt_01c10D00E), - Rule::Get( - &imageAtomicAddExt_01R10D00D00E), - Rule::Get( - &imageAtomicAddExt_01S10D00D00E), - Rule::Get( - &imageAtomicAddExt_01T10D00D00E), - Rule::Get( - &imageAtomicAddExt_01U20D00D00E), - Rule::Get( - &imageAtomicAddExt_01V20D00D00E), - Rule::Get( - &imageAtomicAddExt_01W20D00D00E), - Rule::Get( - &imageAtomicAddExt_00z10D00D), - Rule::Get( - &imageAtomicAddExt_01A10D00D), - Rule::Get( - &imageAtomicAddExt_01B10D00D), - Rule::Get( - &imageAtomicAddExt_01C20D00D), - Rule::Get( - &imageAtomicAddExt_01D20D00D), - Rule::Get( - &imageAtomicAddExt_01E20D00D), - Rule::Get( - &imageAtomicAddExt_01I20D00D), - Rule::Get( - &imageAtomicAddExt_01J20D00D), - Rule::Get( - &imageAtomicAddExt_01K20D00D), - Rule::Get( - &imageAtomicAddExt_01d00D00D), - Rule::Get( - &imageAtomicAddExt_01e00D00D), - Rule::Get( - &imageAtomicAddExt_01f00D00D), - Rule::Get( - &imageAtomicAddExt_01F20D00D), - Rule::Get( - &imageAtomicAddExt_01G20D00D), - Rule::Get( - &imageAtomicAddExt_01H20D00D), - Rule::Get( - &imageAtomicAddExt_01X20D00D), - Rule::Get( - &imageAtomicAddExt_01Y20D00D), - Rule::Get( - &imageAtomicAddExt_01Z20D00D), - Rule::Get( - &imageAtomicAddExt_01L00D00D), - Rule::Get( - &imageAtomicAddExt_01M00D00D), - Rule::Get( - &imageAtomicAddExt_01N00D00D), - Rule::Get( - &imageAtomicAddExt_01O10D00D), - Rule::Get( - &imageAtomicAddExt_01P10D00D), - Rule::Get( - &imageAtomicAddExt_01Q10D00D), - Rule::Get( - &imageAtomicAddExt_01a10D00D), - Rule::Get( - &imageAtomicAddExt_01b10D00D), - Rule::Get( - &imageAtomicAddExt_01c10D00D), - Rule::Get( - &imageAtomicAddExt_01R10D00D00D), - Rule::Get( - &imageAtomicAddExt_01S10D00D00D), - Rule::Get( - &imageAtomicAddExt_01T10D00D00D), - Rule::Get( - &imageAtomicAddExt_01U20D00D00D), - Rule::Get( - &imageAtomicAddExt_01V20D00D00D), - Rule::Get( - &imageAtomicAddExt_01W20D00D00D), - Rule::Get( - &imageAtomicMinExt_00z10D00E), - Rule::Get( - &imageAtomicMinExt_01A10D00E), - Rule::Get( - &imageAtomicMinExt_01B10D00E), - Rule::Get( - &imageAtomicMinExt_01C20D00E), - Rule::Get( - &imageAtomicMinExt_01D20D00E), - Rule::Get( - &imageAtomicMinExt_01E20D00E), - Rule::Get( - &imageAtomicMinExt_01I20D00E), - Rule::Get( - &imageAtomicMinExt_01J20D00E), - Rule::Get( - &imageAtomicMinExt_01K20D00E), - Rule::Get( - &imageAtomicMinExt_01d00D00E), - Rule::Get( - &imageAtomicMinExt_01e00D00E), - Rule::Get( - &imageAtomicMinExt_01f00D00E), - Rule::Get( - &imageAtomicMinExt_01F20D00E), - Rule::Get( - &imageAtomicMinExt_01G20D00E), - Rule::Get( - &imageAtomicMinExt_01H20D00E), - Rule::Get( - &imageAtomicMinExt_01X20D00E), - Rule::Get( - &imageAtomicMinExt_01Y20D00E), - Rule::Get( - &imageAtomicMinExt_01Z20D00E), - Rule::Get( - &imageAtomicMinExt_01L00D00E), - Rule::Get( - &imageAtomicMinExt_01M00D00E), - Rule::Get( - &imageAtomicMinExt_01N00D00E), - Rule::Get( - &imageAtomicMinExt_01O10D00E), - Rule::Get( - &imageAtomicMinExt_01P10D00E), - Rule::Get( - &imageAtomicMinExt_01Q10D00E), - Rule::Get( - &imageAtomicMinExt_01a10D00E), - Rule::Get( - &imageAtomicMinExt_01b10D00E), - Rule::Get( - &imageAtomicMinExt_01c10D00E), - Rule::Get( - &imageAtomicMinExt_01R10D00D00E), - Rule::Get( - &imageAtomicMinExt_01S10D00D00E), - Rule::Get( - &imageAtomicMinExt_01T10D00D00E), - Rule::Get( - &imageAtomicMinExt_01U20D00D00E), - Rule::Get( - &imageAtomicMinExt_01V20D00D00E), - Rule::Get( - &imageAtomicMinExt_01W20D00D00E), - Rule::Get( - &imageAtomicMinExt_00z10D00D), - Rule::Get( - &imageAtomicMinExt_01A10D00D), - Rule::Get( - &imageAtomicMinExt_01B10D00D), - Rule::Get( - &imageAtomicMinExt_01C20D00D), - Rule::Get( - &imageAtomicMinExt_01D20D00D), - Rule::Get( - &imageAtomicMinExt_01E20D00D), - Rule::Get( - &imageAtomicMinExt_01I20D00D), - Rule::Get( - &imageAtomicMinExt_01J20D00D), - Rule::Get( - &imageAtomicMinExt_01K20D00D), - Rule::Get( - &imageAtomicMinExt_01d00D00D), - Rule::Get( - &imageAtomicMinExt_01e00D00D), - Rule::Get( - &imageAtomicMinExt_01f00D00D), - Rule::Get( - &imageAtomicMinExt_01F20D00D), - Rule::Get( - &imageAtomicMinExt_01G20D00D), - Rule::Get( - &imageAtomicMinExt_01H20D00D), - Rule::Get( - &imageAtomicMinExt_01X20D00D), - Rule::Get( - &imageAtomicMinExt_01Y20D00D), - Rule::Get( - &imageAtomicMinExt_01Z20D00D), - Rule::Get( - &imageAtomicMinExt_01L00D00D), - Rule::Get( - &imageAtomicMinExt_01M00D00D), - Rule::Get( - &imageAtomicMinExt_01N00D00D), - Rule::Get( - &imageAtomicMinExt_01O10D00D), - Rule::Get( - &imageAtomicMinExt_01P10D00D), - Rule::Get( - &imageAtomicMinExt_01Q10D00D), - Rule::Get( - &imageAtomicMinExt_01a10D00D), - Rule::Get( - &imageAtomicMinExt_01b10D00D), - Rule::Get( - &imageAtomicMinExt_01c10D00D), - Rule::Get( - &imageAtomicMinExt_01R10D00D00D), - Rule::Get( - &imageAtomicMinExt_01S10D00D00D), - Rule::Get( - &imageAtomicMinExt_01T10D00D00D), - Rule::Get( - &imageAtomicMinExt_01U20D00D00D), - Rule::Get( - &imageAtomicMinExt_01V20D00D00D), - Rule::Get( - &imageAtomicMinExt_01W20D00D00D), - Rule::Get( - &imageAtomicMaxExt_00z10D00E), - Rule::Get( - &imageAtomicMaxExt_01A10D00E), - Rule::Get( - &imageAtomicMaxExt_01B10D00E), - Rule::Get( - &imageAtomicMaxExt_01C20D00E), - Rule::Get( - &imageAtomicMaxExt_01D20D00E), - Rule::Get( - &imageAtomicMaxExt_01E20D00E), - Rule::Get( - &imageAtomicMaxExt_01I20D00E), - Rule::Get( - &imageAtomicMaxExt_01J20D00E), - Rule::Get( - &imageAtomicMaxExt_01K20D00E), - Rule::Get( - &imageAtomicMaxExt_01d00D00E), - Rule::Get( - &imageAtomicMaxExt_01e00D00E), - Rule::Get( - &imageAtomicMaxExt_01f00D00E), - Rule::Get( - &imageAtomicMaxExt_01F20D00E), - Rule::Get( - &imageAtomicMaxExt_01G20D00E), - Rule::Get( - &imageAtomicMaxExt_01H20D00E), - Rule::Get( - &imageAtomicMaxExt_01X20D00E), - Rule::Get( - &imageAtomicMaxExt_01Y20D00E), - Rule::Get( - &imageAtomicMaxExt_01Z20D00E), - Rule::Get( - &imageAtomicMaxExt_01L00D00E), - Rule::Get( - &imageAtomicMaxExt_01M00D00E), - Rule::Get( - &imageAtomicMaxExt_01N00D00E), - Rule::Get( - &imageAtomicMaxExt_01O10D00E), - Rule::Get( - &imageAtomicMaxExt_01P10D00E), - Rule::Get( - &imageAtomicMaxExt_01Q10D00E), - Rule::Get( - &imageAtomicMaxExt_01a10D00E), - Rule::Get( - &imageAtomicMaxExt_01b10D00E), - Rule::Get( - &imageAtomicMaxExt_01c10D00E), - Rule::Get( - &imageAtomicMaxExt_01R10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01S10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01T10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01U20D00D00E), - Rule::Get( - &imageAtomicMaxExt_01V20D00D00E), - Rule::Get( - &imageAtomicMaxExt_01W20D00D00E), - Rule::Get( - &imageAtomicMaxExt_00z10D00D), - Rule::Get( - &imageAtomicMaxExt_01A10D00D), - Rule::Get( - &imageAtomicMaxExt_01B10D00D), - Rule::Get( - &imageAtomicMaxExt_01C20D00D), - Rule::Get( - &imageAtomicMaxExt_01D20D00D), - Rule::Get( - &imageAtomicMaxExt_01E20D00D), - Rule::Get( - &imageAtomicMaxExt_01I20D00D), - Rule::Get( - &imageAtomicMaxExt_01J20D00D), - Rule::Get( - &imageAtomicMaxExt_01K20D00D), - Rule::Get( - &imageAtomicMaxExt_01d00D00D), - Rule::Get( - &imageAtomicMaxExt_01e00D00D), - Rule::Get( - &imageAtomicMaxExt_01f00D00D), - Rule::Get( - &imageAtomicMaxExt_01F20D00D), - Rule::Get( - &imageAtomicMaxExt_01G20D00D), - Rule::Get( - &imageAtomicMaxExt_01H20D00D), - Rule::Get( - &imageAtomicMaxExt_01X20D00D), - Rule::Get( - &imageAtomicMaxExt_01Y20D00D), - Rule::Get( - &imageAtomicMaxExt_01Z20D00D), - Rule::Get( - &imageAtomicMaxExt_01L00D00D), - Rule::Get( - &imageAtomicMaxExt_01M00D00D), - Rule::Get( - &imageAtomicMaxExt_01N00D00D), - Rule::Get( - &imageAtomicMaxExt_01O10D00D), - Rule::Get( - &imageAtomicMaxExt_01P10D00D), - Rule::Get( - &imageAtomicMaxExt_01Q10D00D), - Rule::Get( - &imageAtomicMaxExt_01a10D00D), - Rule::Get( - &imageAtomicMaxExt_01b10D00D), - Rule::Get( - &imageAtomicMaxExt_01c10D00D), - Rule::Get( - &imageAtomicMaxExt_01R10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01S10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01T10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01U20D00D00D), - Rule::Get( - &imageAtomicMaxExt_01V20D00D00D), - Rule::Get( - &imageAtomicMaxExt_01W20D00D00D), - Rule::Get( - &imageAtomicAndExt_00z10D00E), - Rule::Get( - &imageAtomicAndExt_01A10D00E), - Rule::Get( - &imageAtomicAndExt_01B10D00E), - Rule::Get( - &imageAtomicAndExt_01C20D00E), - Rule::Get( - &imageAtomicAndExt_01D20D00E), - Rule::Get( - &imageAtomicAndExt_01E20D00E), - Rule::Get( - &imageAtomicAndExt_01I20D00E), - Rule::Get( - &imageAtomicAndExt_01J20D00E), - Rule::Get( - &imageAtomicAndExt_01K20D00E), - Rule::Get( - &imageAtomicAndExt_01d00D00E), - Rule::Get( - &imageAtomicAndExt_01e00D00E), - Rule::Get( - &imageAtomicAndExt_01f00D00E), - Rule::Get( - &imageAtomicAndExt_01F20D00E), - Rule::Get( - &imageAtomicAndExt_01G20D00E), - Rule::Get( - &imageAtomicAndExt_01H20D00E), - Rule::Get( - &imageAtomicAndExt_01X20D00E), - Rule::Get( - &imageAtomicAndExt_01Y20D00E), - Rule::Get( - &imageAtomicAndExt_01Z20D00E), - Rule::Get( - &imageAtomicAndExt_01L00D00E), - Rule::Get( - &imageAtomicAndExt_01M00D00E), - Rule::Get( - &imageAtomicAndExt_01N00D00E), - Rule::Get( - &imageAtomicAndExt_01O10D00E), - Rule::Get( - &imageAtomicAndExt_01P10D00E), - Rule::Get( - &imageAtomicAndExt_01Q10D00E), - Rule::Get( - &imageAtomicAndExt_01a10D00E), - Rule::Get( - &imageAtomicAndExt_01b10D00E), - Rule::Get( - &imageAtomicAndExt_01c10D00E), - Rule::Get( - &imageAtomicAndExt_01R10D00D00E), - Rule::Get( - &imageAtomicAndExt_01S10D00D00E), - Rule::Get( - &imageAtomicAndExt_01T10D00D00E), - Rule::Get( - &imageAtomicAndExt_01U20D00D00E), - Rule::Get( - &imageAtomicAndExt_01V20D00D00E), - Rule::Get( - &imageAtomicAndExt_01W20D00D00E), - Rule::Get( - &imageAtomicAndExt_00z10D00D), - Rule::Get( - &imageAtomicAndExt_01A10D00D), - Rule::Get( - &imageAtomicAndExt_01B10D00D), - Rule::Get( - &imageAtomicAndExt_01C20D00D), - Rule::Get( - &imageAtomicAndExt_01D20D00D), - Rule::Get( - &imageAtomicAndExt_01E20D00D), - Rule::Get( - &imageAtomicAndExt_01I20D00D), - Rule::Get( - &imageAtomicAndExt_01J20D00D), - Rule::Get( - &imageAtomicAndExt_01K20D00D), - Rule::Get( - &imageAtomicAndExt_01d00D00D), - Rule::Get( - &imageAtomicAndExt_01e00D00D), - Rule::Get( - &imageAtomicAndExt_01f00D00D), - Rule::Get( - &imageAtomicAndExt_01F20D00D), - Rule::Get( - &imageAtomicAndExt_01G20D00D), - Rule::Get( - &imageAtomicAndExt_01H20D00D), - Rule::Get( - &imageAtomicAndExt_01X20D00D), - Rule::Get( - &imageAtomicAndExt_01Y20D00D), - Rule::Get( - &imageAtomicAndExt_01Z20D00D), - Rule::Get( - &imageAtomicAndExt_01L00D00D), - Rule::Get( - &imageAtomicAndExt_01M00D00D), - Rule::Get( - &imageAtomicAndExt_01N00D00D), - Rule::Get( - &imageAtomicAndExt_01O10D00D), - Rule::Get( - &imageAtomicAndExt_01P10D00D), - Rule::Get( - &imageAtomicAndExt_01Q10D00D), - Rule::Get( - &imageAtomicAndExt_01a10D00D), - Rule::Get( - &imageAtomicAndExt_01b10D00D), - Rule::Get( - &imageAtomicAndExt_01c10D00D), - Rule::Get( - &imageAtomicAndExt_01R10D00D00D), - Rule::Get( - &imageAtomicAndExt_01S10D00D00D), - Rule::Get( - &imageAtomicAndExt_01T10D00D00D), - Rule::Get( - &imageAtomicAndExt_01U20D00D00D), - Rule::Get( - &imageAtomicAndExt_01V20D00D00D), - Rule::Get( - &imageAtomicAndExt_01W20D00D00D), Rule::Get( &imageAtomicOrExt_00z10D00E), - Rule::Get( - &imageAtomicOrExt_01A10D00E), - Rule::Get( - &imageAtomicOrExt_01B10D00E), - Rule::Get( - &imageAtomicOrExt_01C20D00E), - Rule::Get( - &imageAtomicOrExt_01D20D00E), - Rule::Get( - &imageAtomicOrExt_01E20D00E), - Rule::Get( - &imageAtomicOrExt_01I20D00E), - Rule::Get( - &imageAtomicOrExt_01J20D00E), - Rule::Get( - &imageAtomicOrExt_01K20D00E), - Rule::Get( - &imageAtomicOrExt_01d00D00E), - Rule::Get( - &imageAtomicOrExt_01e00D00E), - Rule::Get( - &imageAtomicOrExt_01f00D00E), - Rule::Get( - &imageAtomicOrExt_01F20D00E), - Rule::Get( - &imageAtomicOrExt_01G20D00E), - Rule::Get( - &imageAtomicOrExt_01H20D00E), - Rule::Get( - &imageAtomicOrExt_01X20D00E), - Rule::Get( - &imageAtomicOrExt_01Y20D00E), - Rule::Get( - &imageAtomicOrExt_01Z20D00E), - Rule::Get( - &imageAtomicOrExt_01L00D00E), - Rule::Get( - &imageAtomicOrExt_01M00D00E), - Rule::Get( - &imageAtomicOrExt_01N00D00E), - Rule::Get( - &imageAtomicOrExt_01O10D00E), - Rule::Get( - &imageAtomicOrExt_01P10D00E), - Rule::Get( - &imageAtomicOrExt_01Q10D00E), - Rule::Get( - &imageAtomicOrExt_01a10D00E), - Rule::Get( - &imageAtomicOrExt_01b10D00E), - Rule::Get( - &imageAtomicOrExt_01c10D00E), - Rule::Get( - &imageAtomicOrExt_01R10D00D00E), - Rule::Get( - &imageAtomicOrExt_01S10D00D00E), - Rule::Get( - &imageAtomicOrExt_01T10D00D00E), - Rule::Get( - &imageAtomicOrExt_01U20D00D00E), - Rule::Get( - &imageAtomicOrExt_01V20D00D00E), - Rule::Get( - &imageAtomicOrExt_01W20D00D00E), Rule::Get( &imageAtomicOrExt_00z10D00D), - Rule::Get( - &imageAtomicOrExt_01A10D00D), - Rule::Get( - &imageAtomicOrExt_01B10D00D), - Rule::Get( - &imageAtomicOrExt_01C20D00D), - Rule::Get( - &imageAtomicOrExt_01D20D00D), - Rule::Get( - &imageAtomicOrExt_01E20D00D), - Rule::Get( - &imageAtomicOrExt_01I20D00D), - Rule::Get( - &imageAtomicOrExt_01J20D00D), - Rule::Get( - &imageAtomicOrExt_01K20D00D), - Rule::Get( - &imageAtomicOrExt_01d00D00D), - Rule::Get( - &imageAtomicOrExt_01e00D00D), - Rule::Get( - &imageAtomicOrExt_01f00D00D), - Rule::Get( - &imageAtomicOrExt_01F20D00D), - Rule::Get( - &imageAtomicOrExt_01G20D00D), - Rule::Get( - &imageAtomicOrExt_01H20D00D), - Rule::Get( - &imageAtomicOrExt_01X20D00D), - Rule::Get( - &imageAtomicOrExt_01Y20D00D), - Rule::Get( - &imageAtomicOrExt_01Z20D00D), - Rule::Get( - &imageAtomicOrExt_01L00D00D), - Rule::Get( - &imageAtomicOrExt_01M00D00D), - Rule::Get( - &imageAtomicOrExt_01N00D00D), - Rule::Get( - &imageAtomicOrExt_01O10D00D), - Rule::Get( - &imageAtomicOrExt_01P10D00D), - Rule::Get( - &imageAtomicOrExt_01Q10D00D), - Rule::Get( - &imageAtomicOrExt_01a10D00D), - Rule::Get( - &imageAtomicOrExt_01b10D00D), - Rule::Get( - &imageAtomicOrExt_01c10D00D), - Rule::Get( - &imageAtomicOrExt_01R10D00D00D), - Rule::Get( - &imageAtomicOrExt_01S10D00D00D), - Rule::Get( - &imageAtomicOrExt_01T10D00D00D), - Rule::Get( - &imageAtomicOrExt_01U20D00D00D), - Rule::Get( - &imageAtomicOrExt_01V20D00D00D), - Rule::Get( - &imageAtomicOrExt_01W20D00D00D), - Rule::Get( - &imageAtomicXorExt_00z10D00E), - Rule::Get( - &imageAtomicXorExt_01A10D00E), - Rule::Get( - &imageAtomicXorExt_01B10D00E), - Rule::Get( - &imageAtomicXorExt_01C20D00E), - Rule::Get( - &imageAtomicXorExt_01D20D00E), - Rule::Get( - &imageAtomicXorExt_01E20D00E), - Rule::Get( - &imageAtomicXorExt_01I20D00E), - Rule::Get( - &imageAtomicXorExt_01J20D00E), - Rule::Get( - &imageAtomicXorExt_01K20D00E), - Rule::Get( - &imageAtomicXorExt_01d00D00E), - Rule::Get( - &imageAtomicXorExt_01e00D00E), - Rule::Get( - &imageAtomicXorExt_01f00D00E), - Rule::Get( - &imageAtomicXorExt_01F20D00E), - Rule::Get( - &imageAtomicXorExt_01G20D00E), - Rule::Get( - &imageAtomicXorExt_01H20D00E), - Rule::Get( - &imageAtomicXorExt_01X20D00E), - Rule::Get( - &imageAtomicXorExt_01Y20D00E), - Rule::Get( - &imageAtomicXorExt_01Z20D00E), - Rule::Get( - &imageAtomicXorExt_01L00D00E), - Rule::Get( - &imageAtomicXorExt_01M00D00E), - Rule::Get( - &imageAtomicXorExt_01N00D00E), - Rule::Get( - &imageAtomicXorExt_01O10D00E), - Rule::Get( - &imageAtomicXorExt_01P10D00E), - Rule::Get( - &imageAtomicXorExt_01Q10D00E), - Rule::Get( - &imageAtomicXorExt_01a10D00E), - Rule::Get( - &imageAtomicXorExt_01b10D00E), - Rule::Get( - &imageAtomicXorExt_01c10D00E), - Rule::Get( - &imageAtomicXorExt_01R10D00D00E), - Rule::Get( - &imageAtomicXorExt_01S10D00D00E), - Rule::Get( - &imageAtomicXorExt_01T10D00D00E), - Rule::Get( - &imageAtomicXorExt_01U20D00D00E), - Rule::Get( - &imageAtomicXorExt_01V20D00D00E), - Rule::Get( - &imageAtomicXorExt_01W20D00D00E), - Rule::Get( - &imageAtomicXorExt_00z10D00D), - Rule::Get( - &imageAtomicXorExt_01A10D00D), - Rule::Get( - &imageAtomicXorExt_01B10D00D), - Rule::Get( - &imageAtomicXorExt_01C20D00D), - Rule::Get( - &imageAtomicXorExt_01D20D00D), - Rule::Get( - &imageAtomicXorExt_01E20D00D), - Rule::Get( - &imageAtomicXorExt_01I20D00D), - Rule::Get( - &imageAtomicXorExt_01J20D00D), - Rule::Get( - &imageAtomicXorExt_01K20D00D), - Rule::Get( - &imageAtomicXorExt_01d00D00D), - Rule::Get( - &imageAtomicXorExt_01e00D00D), - Rule::Get( - &imageAtomicXorExt_01f00D00D), - Rule::Get( - &imageAtomicXorExt_01F20D00D), - Rule::Get( - &imageAtomicXorExt_01G20D00D), - Rule::Get( - &imageAtomicXorExt_01H20D00D), - Rule::Get( - &imageAtomicXorExt_01X20D00D), - Rule::Get( - &imageAtomicXorExt_01Y20D00D), - Rule::Get( - &imageAtomicXorExt_01Z20D00D), - Rule::Get( - &imageAtomicXorExt_01L00D00D), - Rule::Get( - &imageAtomicXorExt_01M00D00D), - Rule::Get( - &imageAtomicXorExt_01N00D00D), - Rule::Get( - &imageAtomicXorExt_01O10D00D), - Rule::Get( - &imageAtomicXorExt_01P10D00D), - Rule::Get( - &imageAtomicXorExt_01Q10D00D), - Rule::Get( - &imageAtomicXorExt_01a10D00D), - Rule::Get( - &imageAtomicXorExt_01b10D00D), - Rule::Get( - &imageAtomicXorExt_01c10D00D), - Rule::Get( - &imageAtomicXorExt_01R10D00D00D), - Rule::Get( - &imageAtomicXorExt_01S10D00D00D), - Rule::Get( - &imageAtomicXorExt_01T10D00D00D), - Rule::Get( - &imageAtomicXorExt_01U20D00D00D), - Rule::Get( - &imageAtomicXorExt_01V20D00D00D), - Rule::Get( - &imageAtomicXorExt_01W20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_00z10D00E), - Rule::Get( - &imageAtomicExchangeExt_01A10D00E), - Rule::Get( - &imageAtomicExchangeExt_01B10D00E), - Rule::Get( - &imageAtomicExchangeExt_01C20D00E), - Rule::Get( - &imageAtomicExchangeExt_01D20D00E), - Rule::Get( - &imageAtomicExchangeExt_01E20D00E), - Rule::Get( - &imageAtomicExchangeExt_01I20D00E), - Rule::Get( - &imageAtomicExchangeExt_01J20D00E), - Rule::Get( - &imageAtomicExchangeExt_01K20D00E), - Rule::Get( - &imageAtomicExchangeExt_01d00D00E), - Rule::Get( - &imageAtomicExchangeExt_01e00D00E), - Rule::Get( - &imageAtomicExchangeExt_01f00D00E), - Rule::Get( - &imageAtomicExchangeExt_01F20D00E), - Rule::Get( - &imageAtomicExchangeExt_01G20D00E), - Rule::Get( - &imageAtomicExchangeExt_01H20D00E), - Rule::Get( - &imageAtomicExchangeExt_01X20D00E), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00E), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00E), - Rule::Get( - &imageAtomicExchangeExt_01L00D00E), - Rule::Get( - &imageAtomicExchangeExt_01M00D00E), - Rule::Get( - &imageAtomicExchangeExt_01N00D00E), - Rule::Get( - &imageAtomicExchangeExt_01O10D00E), - Rule::Get( - &imageAtomicExchangeExt_01P10D00E), - Rule::Get( - &imageAtomicExchangeExt_01Q10D00E), - Rule::Get( - &imageAtomicExchangeExt_01a10D00E), - Rule::Get( - &imageAtomicExchangeExt_01b10D00E), - Rule::Get( - &imageAtomicExchangeExt_01c10D00E), - Rule::Get( - &imageAtomicExchangeExt_01R10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01S10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01T10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01U20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01V20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01W20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_00z10D00D), - Rule::Get( - &imageAtomicExchangeExt_01A10D00D), - Rule::Get( - &imageAtomicExchangeExt_01B10D00D), - Rule::Get( - &imageAtomicExchangeExt_01C20D00D), - Rule::Get( - &imageAtomicExchangeExt_01D20D00D), - Rule::Get( - &imageAtomicExchangeExt_01E20D00D), - Rule::Get( - &imageAtomicExchangeExt_01I20D00D), - Rule::Get( - &imageAtomicExchangeExt_01J20D00D), - Rule::Get( - &imageAtomicExchangeExt_01K20D00D), - Rule::Get( - &imageAtomicExchangeExt_01d00D00D), - Rule::Get( - &imageAtomicExchangeExt_01e00D00D), - Rule::Get( - &imageAtomicExchangeExt_01f00D00D), - Rule::Get( - &imageAtomicExchangeExt_01F20D00D), - Rule::Get( - &imageAtomicExchangeExt_01G20D00D), - Rule::Get( - &imageAtomicExchangeExt_01H20D00D), - Rule::Get( - &imageAtomicExchangeExt_01X20D00D), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00D), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00D), - Rule::Get( - &imageAtomicExchangeExt_01L00D00D), - Rule::Get( - &imageAtomicExchangeExt_01M00D00D), - Rule::Get( - &imageAtomicExchangeExt_01N00D00D), - Rule::Get( - &imageAtomicExchangeExt_01O10D00D), - Rule::Get( - &imageAtomicExchangeExt_01P10D00D), - Rule::Get( - &imageAtomicExchangeExt_01Q10D00D), - Rule::Get( - &imageAtomicExchangeExt_01a10D00D), - Rule::Get( - &imageAtomicExchangeExt_01b10D00D), - Rule::Get( - &imageAtomicExchangeExt_01c10D00D), - Rule::Get( - &imageAtomicExchangeExt_01R10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01S10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01T10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01U20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01V20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01W20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_00z10D00B), - Rule::Get( - &imageAtomicExchangeExt_01A10D00B), - Rule::Get( - &imageAtomicExchangeExt_01B10D00B), - Rule::Get( - &imageAtomicExchangeExt_01C20D00B), - Rule::Get( - &imageAtomicExchangeExt_01D20D00B), - Rule::Get( - &imageAtomicExchangeExt_01E20D00B), - Rule::Get( - &imageAtomicExchangeExt_01I20D00B), - Rule::Get( - &imageAtomicExchangeExt_01J20D00B), - Rule::Get( - &imageAtomicExchangeExt_01K20D00B), - Rule::Get( - &imageAtomicExchangeExt_01d00D00B), - Rule::Get( - &imageAtomicExchangeExt_01e00D00B), - Rule::Get( - &imageAtomicExchangeExt_01f00D00B), - Rule::Get( - &imageAtomicExchangeExt_01F20D00B), - Rule::Get( - &imageAtomicExchangeExt_01G20D00B), - Rule::Get( - &imageAtomicExchangeExt_01H20D00B), - Rule::Get( - &imageAtomicExchangeExt_01X20D00B), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00B), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00B), - Rule::Get( - &imageAtomicExchangeExt_01L00D00B), - Rule::Get( - &imageAtomicExchangeExt_01M00D00B), - Rule::Get( - &imageAtomicExchangeExt_01N00D00B), - Rule::Get( - &imageAtomicExchangeExt_01O10D00B), - Rule::Get( - &imageAtomicExchangeExt_01P10D00B), - Rule::Get( - &imageAtomicExchangeExt_01Q10D00B), - Rule::Get( - &imageAtomicExchangeExt_01a10D00B), - Rule::Get( - &imageAtomicExchangeExt_01b10D00B), - Rule::Get( - &imageAtomicExchangeExt_01c10D00B), - Rule::Get( - &imageAtomicExchangeExt_01R10D00D00B), - Rule::Get( - &imageAtomicExchangeExt_01S10D00D00B), - Rule::Get( - &imageAtomicExchangeExt_01T10D00D00B), - Rule::Get( - &imageAtomicExchangeExt_01U20D00D00B), - Rule::Get( - &imageAtomicExchangeExt_01V20D00D00B), - Rule::Get( - &imageAtomicExchangeExt_01W20D00D00B), - Rule::Get( - &imageAtomicCompSwapExt_00z10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01A10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01B10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01C20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01D20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01E20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01I20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01J20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01K20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01d00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01e00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01f00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01F20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01G20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01H20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01X20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01Y20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01Z20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01L00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01M00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01N00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01O10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01P10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01Q10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01a10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01b10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01c10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01R10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01S10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01T10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01U20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01V20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01W20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_00z10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01A10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01B10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01C20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01D20D00D00D), + Rule::Get(&texture2DProj_00I20B), + Rule::Get(&texture2DProj_00I20B), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), + Rule::Get(&imageLoad_01g00D), + Rule::Get(&imageLoad_01I20D), + Rule::Get(&tanh_30B), + Rule::Get(&tanh_30B), Rule::Get( &imageAtomicCompSwapExt_01E20D00D00D), Rule::Get( - &imageAtomicCompSwapExt_01I20D00D00D), + &imageAtomicCompSwapExt_01W20D00D00E00E), + Rule::Get(¬Func_10F), + Rule::Get(¬Func_10F), + Rule::Get(&textureGatherOffset_00L20B10D), + Rule::Get(&textureGatherOffset_00L20B10D), + Rule::Get(&lessThanEqual_30B30B), + Rule::Get(&lessThanEqual_30B30B), Rule::Get( - &imageAtomicCompSwapExt_01J20D00D00D), + &imageAtomicAddExt_00z10D00E), + Rule::Get(&outerProduct_20B30B), + Rule::Get(&outerProduct_20B30B), + Rule::Get(&mix_20B20B00B), + Rule::Get(&mix_20B20B00B), + Rule::Get(&uintBitsToFloat_30E), + Rule::Get(&uintBitsToFloat_30E), Rule::Get( - &imageAtomicCompSwapExt_01K20D00D00D), + &imageAtomicExchangeExt_01R10D00D00B), + Rule::Get(&textureSize_00K00D), + Rule::Get(&textureSize_00K00D), + Rule::Get( + &TableBase::m_gl_MaxGeometryOutputVertices), + Rule::Get(&greaterThanEqual_10E10E), + Rule::Get(&greaterThanEqual_10E10E), + Rule::Get(&texture_00d20B), + Rule::Get(&texture_00d20B), + Rule::Get(&atan_10B10B), + Rule::Get(&atan_10B10B), + Rule::Get(&clamp_30B30B30B), + Rule::Get(&clamp_30B30B30B), Rule::Get( - &imageAtomicCompSwapExt_01d00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01e00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01f00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01F20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01G20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01H20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01X20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Y20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Z20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01L00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01M00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01N00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01O10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01P10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Q10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01a10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01b10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01c10D00D00D), + &imageAtomicCompSwapExt_01a20D00E00E), Rule::Get( &imageAtomicCompSwapExt_01R10D00D00D00D), + Rule::Get(&textureLodOffset_00a20B00B10D), + Rule::Get(&textureLodOffset_00a20B00B10D), + Rule::Get(&greaterThanEqual_20B20B), + Rule::Get(&greaterThanEqual_20B20B), + Rule::Get(&imageLoad_01F20D), Rule::Get( - &imageAtomicCompSwapExt_01S10D00D00D00D), + &imageAtomicCompSwapExt_01b20D00D00D), + Rule::Get( + &imageAtomicAndExt_01A10D00D), + Rule::Get( + &imageAtomicAndExt_01A10D00E), + Rule::Get(&atomicAdd_00D00D), + Rule::Get(&atomicAdd_00D00D), + Rule::Get(&bitfieldExtract_10D00D00D), + Rule::Get(&bitfieldExtract_10D00D00D), + Rule::Get(&mix_20D20D20F), + Rule::Get(&mix_20D20D20F), + Rule::Get( + &imageAtomicMinExt_01Y10D00E), + Rule::Get( + &imageAtomicMinExt_01Y10D00D), + Rule::Get(&texture_00R10B), + Rule::Get(&texture_00R10B), + Rule::Get( + &imageAtomicCompSwapExt_01D20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01S10D00D00D), + Rule::Get( + &imageAtomicMaxExt_01S10D00D00E), + Rule::Get(&inversesqrt_00B), + Rule::Get(&inversesqrt_00B), + Rule::Get(&texelFetchOffset_00J20D00D20D), + Rule::Get(&texelFetchOffset_00J20D00D20D), + Rule::Get(&textureProjGrad_00S30B20B20B), + Rule::Get(&textureProjGrad_00S30B20B20B), + Rule::Get(&equal_10D10D), + Rule::Get(&equal_10D10D), + Rule::Get(&max_30D00D), + Rule::Get(&max_30D00D), + Rule::Get(&groupMemoryBarrier_), + Rule::Get(&groupMemoryBarrier_), + Rule::Get( + &imageAtomicExchangeExt_01b20D00B), + Rule::Get( + &imageAtomicExchangeExt_01b20D00E), + Rule::Get( + &imageAtomicExchangeExt_01b20D00D), + Rule::Get(&intBitsToFloat_30D), + Rule::Get(&intBitsToFloat_30D), + Rule::Get(&texelFetch_00I10D00D), + Rule::Get(&texelFetch_00I10D00D), + Rule::Get(&transpose_E0B), + Rule::Get(&transpose_E0B), + Rule::Get( + &imageAtomicMinExt_01R10D00D00E), + Rule::Get( + &imageAtomicMinExt_01R10D00D00D), + Rule::Get(&textureProjOffset_00Y30B20D00B), + Rule::Get(&textureProjOffset_00Y30B20D00B), + Rule::Get(&imageStore_01C20D30B), + Rule::Get(&modf_10B10B), + Rule::Get(&modf_10B10B), + Rule::Get(&determinant_50B), + Rule::Get( + &imageAtomicCompSwapExt_01J20D00E00E), + Rule::Get(&normalize_30B), + Rule::Get(&normalize_30B), + Rule::Get(&lessThan_20B20B), + Rule::Get(&lessThan_20B20B), + Rule::Get(&imageStore_01K20D30E), + Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), + Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), + Rule::Get(&texture_00f30B), + Rule::Get(&texture_00f30B), + Rule::Get(&sign_20B), + Rule::Get(&sign_20B), + Rule::Get(&sign_20D), + Rule::Get(&sign_20D), + Rule::Get(&outerProduct_30B10B), + Rule::Get(&outerProduct_30B10B), + Rule::Get( + &imageAtomicAndExt_01V20D00D00E), + Rule::Get( + &imageAtomicAndExt_01V20D00D00D), + Rule::Get( + &imageAtomicXorExt_01Y10D00D), + Rule::Get( + &imageAtomicXorExt_01Y10D00E), + Rule::Get(&bitfieldReverse_10E), + Rule::Get(&bitfieldReverse_10E), + Rule::Get(&textureOffset_00d20B10D00B), + Rule::Get(&textureOffset_00d20B10D00B), + Rule::Get(&bitfieldReverse_10D), + Rule::Get(&bitfieldReverse_10D), + Rule::Get(&lessThan_10E10E), + Rule::Get(&lessThan_10E10E), + Rule::Get( + &imageAtomicCompSwapExt_01A10D00D00D), + Rule::Get( + &imageAtomicAddExt_00z10D00D), + Rule::Get(&textureProj_00N30B00B), + Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), + Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), Rule::Get( &imageAtomicCompSwapExt_01T10D00D00D00D), + Rule::Get(&texture_00I10B00B), + Rule::Get(&texture_00I10B00B), Rule::Get( - &imageAtomicCompSwapExt_01U20D00D00D00D), + &imageAtomicMinExt_01C20D00E), + Rule::Get(&lessThan_20D20D), + Rule::Get(&lessThan_20D20D), + Rule::Get(&reflect_10B10B), + Rule::Get(&reflect_10B10B), + Rule::Get( + &imageAtomicAddExt_01S10D00D00E), + Rule::Get(&isinf_30B), + Rule::Get(&isinf_30B), + Rule::Get(&textureGatherOffset_00a20B10D00D), + Rule::Get(&textureGatherOffset_00a20B10D00D), + Rule::Get(&textureGatherOffset_00I10B10D), + Rule::Get(&textureGatherOffset_00I10B10D), + Rule::Get(&textureOffset_00L20B10D), + Rule::Get(&textureOffset_00L20B10D), + Rule::Get(&lessThanEqual_30E30E), + Rule::Get(&lessThanEqual_30E30E), + Rule::Get(&min_10E00E), + Rule::Get(&min_10E00E), + Rule::Get( + &imageAtomicXorExt_01a20D00E), + Rule::Get( + &imageAtomicXorExt_01a20D00D), + Rule::Get(&textureProjOffset_00S30B20D), + Rule::Get(&textureProjOffset_00S30B20D), + Rule::Get(&round_00B), + Rule::Get(&round_00B), + Rule::Get( + &TableBase::m_gl_LastFragData), + Rule::Get( + &TableBase::m_gl_LastFragDataNV), + Rule::Get(&greaterThan_30D30D), + Rule::Get(&greaterThan_30D30D), + Rule::Get(&texture_00U20B), + Rule::Get(&texture_00U20B), + Rule::Get( + &texture2DRect_00O10B), + Rule::Get(&step_20B20B), + Rule::Get(&step_20B20B), + Rule::Get(&findMSB_10E), + Rule::Get(&findMSB_10E), + Rule::Get(&findMSB_10D), + Rule::Get(&findMSB_10D), + Rule::Get(&interpolateAtOffset_00B10B), + Rule::Get(&interpolateAtOffset_00B10B), + Rule::Get( + &interpolateAtOffsetExt_00B10B), + Rule::Get(&textureProj_00R20B00B), + Rule::Get(&textureProj_00R20B00B), + Rule::Get(&imageStore_00z10D30B), + Rule::Get(&textureGatherOffsets_00X10B10Dx400D), + Rule::Get(&textureGatherOffsets_00X10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00X10B10Dx400D), + Rule::Get(&outerProduct_10B20B), + Rule::Get(&outerProduct_10B20B), + Rule::Get( + &imageAtomicMaxExt_01Z10D00E), + Rule::Get(&cos_30B), + Rule::Get(&cos_30B), + Rule::Get(&unpackHalf2x16_00E), + Rule::Get(&unpackHalf2x16_00E), + Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), + Rule::Get( + &imageAtomicMaxExt_01Y10D00E), + Rule::Get( + &imageAtomicMaxExt_01Y10D00D), + Rule::Get(&sin_30B), + Rule::Get(&sin_30B), + Rule::Get(&textureGather_00L20B00D), + Rule::Get(&textureGather_00L20B00D), + Rule::Get(&imageStore_01i00D30E), + Rule::Get(&imageStore_01A10D30D), + Rule::Get( + &imageAtomicXorExt_01H20D00D), + Rule::Get( + &imageAtomicXorExt_01H20D00E), + Rule::Get(&max_10E10E), + Rule::Get(&max_10E10E), + Rule::Get(&max_20E20E), + Rule::Get(&max_20E20E), + Rule::Get(&clamp_10E10E10E), + Rule::Get(&clamp_10E10E10E), + Rule::Get(&texture_00N10B), + Rule::Get(&matrixCompMult_70B70B), + Rule::Get( + &imageAtomicOrExt_01E20D00D), + Rule::Get( + &imageAtomicOrExt_01E20D00E), + Rule::Get(&texelFetchOffset_00a20D00D10D), + Rule::Get(&texelFetchOffset_00a20D00D10D), + Rule::Get(¬Func_20F), + Rule::Get(¬Func_20F), + Rule::Get( + &imageAtomicExchangeExt_01F20D00D), + Rule::Get( + &imageAtomicExchangeExt_01F20D00B), + Rule::Get(&outerProduct_20B20B), + Rule::Get(&outerProduct_20B20B), + Rule::Get(&textureProjLodOffset_00R20B00B10D), + Rule::Get(&textureProjLodOffset_00R20B00B10D), + Rule::Get(&textureProjGrad_00J30B20B20B), + Rule::Get(&textureProjGrad_00J30B20B20B), + Rule::Get( + &imageAtomicOrExt_01R10D00D00E), + Rule::Get( + &imageAtomicOrExt_01R10D00D00D), + Rule::Get(&imageLoad_01K20D), + Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), + Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00d10B00B10Dx4), + Rule::Get( + &BuiltInVariable::kgl_InvocationID), + Rule::Get(&textureGatherOffsets_00L20B10Dx400D), + Rule::Get(&textureGatherOffsets_00L20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00L20B10Dx400D), + Rule::Get( + &imageAtomicAndExt_01R10D00D00D), + Rule::Get( + &imageAtomicAndExt_01R10D00D00E), + Rule::Get(&radians_10B), + Rule::Get(&radians_10B), + Rule::Get(&textureGather_00e20B00B), + Rule::Get(&textureGather_00e20B00B), + Rule::Get(&distance_10B10B), + Rule::Get(&distance_10B10B), + Rule::Get(&textureGrad_00Z20B20B20B), + Rule::Get(&textureGrad_00Z20B20B20B), + Rule::Get(&sign_00B), + Rule::Get(&sign_00B), + Rule::Get( + &imageAtomicOrExt_01D20D00E), + Rule::Get( + &imageAtomicOrExt_01D20D00D), + Rule::Get(&bitfieldExtract_30E00D00D), + Rule::Get(&bitfieldExtract_30E00D00D), + Rule::Get(&textureLod_00I10B00B), + Rule::Get(&textureLod_00I10B00B), + Rule::Get(&greaterThanEqual_10D10D), + Rule::Get(&greaterThanEqual_10D10D), + Rule::Get(°rees_30B), + Rule::Get(°rees_30B), + Rule::Get(&inversesqrt_30B), + Rule::Get(&inversesqrt_30B), + Rule::Get( + &imageAtomicAndExt_01K20D00D), + Rule::Get( + &imageAtomicMinExt_01I20D00D), + Rule::Get(&frexp_20B20D), + Rule::Get(&frexp_20B20D), + Rule::Get(&intBitsToFloat_20D), + Rule::Get(&intBitsToFloat_20D), + Rule::Get(&exp_20B), + Rule::Get(&exp_20B), + Rule::Get( + &imageAtomicMaxExt_01A10D00E), + Rule::Get( + &imageAtomicMaxExt_01A10D00D), + Rule::Get(&acosh_00B), + Rule::Get(&acosh_00B), + Rule::Get(&log_10B), + Rule::Get(&log_10B), + Rule::Get(&textureProjLodOffset_00S30B00B20D), + Rule::Get(&textureProjLodOffset_00S30B00B20D), + Rule::Get(&textureGather_00L20B), + Rule::Get(&textureGather_00L20B), + Rule::Get(&outerProduct_30B20B), + Rule::Get(&outerProduct_30B20B), + Rule::Get(&texture_00S20B), + Rule::Get(&texture_00S20B), + Rule::Get(&atomicXor_00D00D), + Rule::Get(&atomicXor_00D00D), + Rule::Get(&texelFetch_00Y20D00D), + Rule::Get(&texelFetch_00Y20D00D), + Rule::Get( + &imageAtomicOrExt_01P10D00D), + Rule::Get( + &imageAtomicOrExt_01P10D00E), + Rule::Get(&sign_30B), + Rule::Get(&sign_30B), + Rule::Get(&sign_30D), + Rule::Get(&sign_30D), + Rule::Get(&texture_00Y20B00B), + Rule::Get(&texture_00Y20B00B), + Rule::Get(&dFdy_20B), + Rule::Get(&dFdy_20B), + Rule::Get(&dFdyExt_20B), + Rule::Get(&textureProj_00Y30B), + Rule::Get(&textureProj_00Y30B), + Rule::Get(&textureOffset_00X10B10D00B), + Rule::Get(&textureOffset_00X10B10D00B), + Rule::Get(&memoryBarrierBuffer_), + Rule::Get(&memoryBarrierBuffer_), + Rule::Get(&isinf_00B), + Rule::Get(&isinf_00B), + Rule::Get(&clamp_20D00D00D), + Rule::Get(&clamp_20D00D00D), + Rule::Get(&texture2DProj_00I20B00B), + Rule::Get(&texture2DProj_00I20B00B), + Rule::Get(&mod_30B00B), + Rule::Get(&mod_30B00B), + Rule::Get(&textureGather_00x30B00D), + Rule::Get(&textureGather_00f20B00B), + Rule::Get(&textureGather_00f20B00B), + Rule::Get(&greaterThan_20E20E), + Rule::Get(&greaterThan_20E20E), + Rule::Get(&textureProjLod_00I30B00B), + Rule::Get(&textureProjLod_00I30B00B), + Rule::Get(&refract_00B00B00B), + Rule::Get(&refract_00B00B00B), + Rule::Get( + &TableBase::m_gl_MaxGeometryImageUniforms), + Rule::Get( + &imageAtomicMinExt_01X10D00D), + Rule::Get( + &imageAtomicMinExt_01X10D00E), + Rule::Get(&textureSize_00e00D), + Rule::Get(&textureSize_00e00D), + Rule::Get(&texelFetch_00a20D00D), + Rule::Get(&texelFetch_00a20D00D), + Rule::Get(&frexp_30B30D), + Rule::Get(&frexp_30B30D), + Rule::Get(°rees_20B), + Rule::Get(°rees_20B), + Rule::Get( + &imageAtomicCompSwapExt_01X10D00E00E), + Rule::Get(&texture_00I10B), + Rule::Get(&texture_00I10B), + Rule::Get(&BuiltInVariable::kgl_InstanceID), + Rule::Get(&BuiltInVariable::kgl_InstanceID), + Rule::Get(&normalize_20B), + Rule::Get(&normalize_20B), + Rule::Get( + &imageAtomicCompSwapExt_01H20D00D00D), + Rule::Get(&interpolateAtCentroid_20B), + Rule::Get(&interpolateAtCentroid_20B), + Rule::Get( + &interpolateAtCentroidExt_20B), + Rule::Get(&atan_00B), + Rule::Get(&atan_00B), + Rule::Get(&textureGatherOffset_00R10B10D00D), + Rule::Get(&textureGatherOffset_00R10B10D00D), + Rule::Get( + &imageAtomicMinExt_01h00D00E), + Rule::Get( + &imageAtomicMinExt_01h00D00D), + Rule::Get(&greaterThan_30E30E), + Rule::Get(&greaterThan_30E30E), + Rule::Get( + &imageAtomicAddExt_01N00D00D), + Rule::Get( + &imageAtomicAddExt_01N00D00E), + Rule::Get( + &imageAtomicAndExt_01J20D00D), + Rule::Get( + &imageAtomicAndExt_01J20D00E), + Rule::Get(&TableBase::m_gl_DepthRange), + Rule::Get(&TableBase::m_gl_DepthRange), + Rule::Get( + &imageAtomicAddExt_01I20D00E), + Rule::Get( + &imageAtomicAddExt_01I20D00D), + Rule::Get(&texture_00L20B00B), + Rule::Get(&texture_00L20B00B), + Rule::Get( + &imageAtomicOrExt_01L00D00E), + Rule::Get( + &imageAtomicOrExt_01L00D00D), + Rule::Get( + &imageAtomicXorExt_01L00D00D), + Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), + Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), + Rule::Get(&imageLoad_01h00D), + Rule::Get( + &imageAtomicCompSwapExt_01E20D00E00E), + Rule::Get( + &imageAtomicAddExt_01X10D00E), + Rule::Get( + &imageAtomicAddExt_01X10D00D), + Rule::Get( + &imageAtomicMaxExt_01R10D00D00E), + Rule::Get( + &imageAtomicMaxExt_01R10D00D00D), + Rule::Get(&imageLoad_01J20D), + Rule::Get(&interpolateAtSample_10B00D), + Rule::Get(&interpolateAtSample_10B00D), + Rule::Get( + &interpolateAtSampleExt_10B00D), + Rule::Get( + &imageAtomicMinExt_01F20D00E), + Rule::Get( + &imageAtomicMinExt_01F20D00D), + Rule::Get(&outerProduct_10B30B), + Rule::Get(&outerProduct_10B30B), + Rule::Get(&texture_00k30B), + Rule::Get( + &imageAtomicCompSwapExt_01O10D00E00E), + Rule::Get( + &imageAtomicXorExt_01F20D00D), + Rule::Get( + &imageAtomicXorExt_01F20D00E), + Rule::Get( + &imageAtomicAndExt_01a20D00E), + Rule::Get( + &imageAtomicAndExt_01a20D00D), + Rule::Get(&textureOffset_00a20B10D00B), + Rule::Get(&textureOffset_00a20B10D00B), + Rule::Get( + &imageAtomicCompSwapExt_01b20D00E00E), + Rule::Get(&textureGather_00X10B), + Rule::Get(&textureGather_00X10B), + Rule::Get(&textureOffset_00R10B10D00B), + Rule::Get(&textureOffset_00R10B10D00B), + Rule::Get(&textureGatherOffset_00d10B00B10D), + Rule::Get(&textureGatherOffset_00d10B00B10D), + Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), + Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), + Rule::Get(&equal_20E20E), + Rule::Get(&equal_20E20E), + Rule::Get(&uaddCarry_00E00E00E), + Rule::Get(&uaddCarry_00E00E00E), + Rule::Get(&textureCube_00K20B), + Rule::Get(&textureCube_00K20B), + Rule::Get( + &imageAtomicMaxExt_01U20D00D00E), + Rule::Get( + &imageAtomicMaxExt_01U20D00D00D), + Rule::Get(&matrixCompMult_90B90B), + Rule::Get(&textureGatherOffsets_00I10B10Dx4), + Rule::Get(&textureGatherOffsets_00I10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00I10B10Dx4), + Rule::Get(&clamp_30E00E00E), + Rule::Get(&clamp_30E00E00E), + Rule::Get(&asin_00B), + Rule::Get(&asin_00B), + Rule::Get(&textureProjOffset_00J30B20D00B), + Rule::Get(&textureProjOffset_00J30B20D00B), + Rule::Get(&clamp_10E00E00E), + Rule::Get(&clamp_10E00E00E), + Rule::Get(¬Equal_30E30E), + Rule::Get(¬Equal_30E30E), + Rule::Get( + &imageAtomicOrExt_01K20D00D), + Rule::Get( + &imageAtomicOrExt_01K20D00E), + Rule::Get(&lessThanEqual_10E10E), + Rule::Get(&lessThanEqual_10E10E), + Rule::Get(&inversesqrt_20B), + Rule::Get(&inversesqrt_20B), + Rule::Get(&atomicAdd_00E00E), + Rule::Get(&atomicAdd_00E00E), + Rule::Get(&textureProj_00R30B), + Rule::Get(&textureProj_00R30B), + Rule::Get(&textureGrad_00X10B10B10B), + Rule::Get(&textureGrad_00X10B10B10B), + Rule::Get(&greaterThanEqual_30E30E), + Rule::Get(&greaterThanEqual_30E30E), + Rule::Get(&mix_20B20B20F), + Rule::Get(&mix_20B20B20F), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00D), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), + Rule::Get(&mix_20B20B20B), + Rule::Get(&mix_20B20B20B), + Rule::Get(&any_10F), + Rule::Get(&any_10F), + Rule::Get(&textureProjGradOffset_00d30B10B10B10D), + Rule::Get(&textureProjGradOffset_00d30B10B10B10D), + Rule::Get(&textureProjOffset_00I30B10D), + Rule::Get(&textureProjOffset_00I30B10D), + Rule::Get(&textureOffset_00X10B10D), + Rule::Get(&textureOffset_00X10B10D), + Rule::Get( + &imageAtomicXorExt_01R10D00D00D), + Rule::Get( + &imageAtomicXorExt_01R10D00D00E), + Rule::Get(&radians_00B), + Rule::Get(&radians_00B), + Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), + Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00f20B00B10Dx4), + Rule::Get(&step_10B10B), + Rule::Get(&step_10B10B), + Rule::Get( + &TableBase::m_gl_MaxDualSourceDrawBuffersEXT), + Rule::Get( + &imageAtomicAddExt_01Y10D00D), + Rule::Get( + &imageAtomicAddExt_01Y10D00E), + Rule::Get( + &imageAtomicAndExt_01C20D00E), + Rule::Get( + &imageAtomicAndExt_01C20D00D), + Rule::Get(&imageStore_01g00D30B), + Rule::Get(&atomicXor_00E00E), + Rule::Get(&atomicXor_00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01P10D00E00E), + Rule::Get(&greaterThan_30B30B), + Rule::Get(&greaterThan_30B30B), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), + Rule::Get(&faceforward_20B20B20B), + Rule::Get(&faceforward_20B20B20B), + Rule::Get(&textureSize_00x00D), + Rule::Get(&textureProj_00S30B00B), + Rule::Get(&textureProj_00S30B00B), + Rule::Get(&fma_20B20B20B), + Rule::Get(&fma_20B20B20B), + Rule::Get(&fmaExt_20B20B20B), + Rule::Get( + &imageAtomicMinExt_01J20D00E), + Rule::Get(&outerProduct_30B30B), + Rule::Get(&outerProduct_30B30B), + Rule::Get(&exp_30B), + Rule::Get(&exp_30B), + Rule::Get(&bitCount_10E), + Rule::Get(&bitCount_10E), + Rule::Get(&bitCount_10D), + Rule::Get(&bitCount_10D), + Rule::Get(&log_00B), + Rule::Get(&log_00B), + Rule::Get(&mix_00F00F00F), + Rule::Get(&mix_00F00F00F), + Rule::Get( + &imageAtomicCompSwapExt_01M00D00D00D), + Rule::Get( + &texture2DProjLodEXT_00I30B00B), + Rule::Get(&acosh_30B), + Rule::Get(&acosh_30B), + Rule::Get( + &imageAtomicOrExt_01Y10D00E), + Rule::Get( + &imageAtomicOrExt_01Y10D00D), + Rule::Get(&textureGradOffset_00X10B10B10B10D), + Rule::Get(&textureGradOffset_00X10B10B10B10D), + Rule::Get(&texelFetchOffset_00X10D00D10D), + Rule::Get(&texelFetchOffset_00X10D00D10D), + Rule::Get(&packUnorm2x16_10B), + Rule::Get(&packUnorm2x16_10B), + Rule::Get(&umulExtended_20E20E20E20E), + Rule::Get(&umulExtended_20E20E20E20E), + Rule::Get( + &imageAtomicAndExt_01b20D00E), + Rule::Get( + &imageAtomicCompSwapExt_01T10D00D00E00E), + Rule::Get(&textureCubeLod_00K20B00B), + Rule::Get(&textureCubeLod_00K20B00B), + Rule::Get(&textureSize_00L00D), + Rule::Get(&textureSize_00L00D), + Rule::Get( + &imageAtomicXorExt_01L00D00E), + Rule::Get(&max_20E00E), + Rule::Get(&max_20E00E), + Rule::Get(&textureProj_00S30B), + Rule::Get(&textureProj_00S30B), + Rule::Get(&dFdy_30B), + Rule::Get(&dFdy_30B), + Rule::Get(&dFdyExt_30B), + Rule::Get(&isinf_10B), + Rule::Get(&isinf_10B), + Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), + Rule::Get(&greaterThanEqual_30B30B), + Rule::Get(&greaterThanEqual_30B30B), + Rule::Get( + &texture2DProjLodEXT_00I20B00B), + Rule::Get(&BuiltInVariable::kgl_FrontFacing), + Rule::Get(&BuiltInVariable::kgl_FrontFacing), + Rule::Get(&acos_10B), + Rule::Get(&acos_10B), + Rule::Get(&textureCube_00K20B00B), + Rule::Get(&textureCube_00K20B00B), + Rule::Get(&lessThan_10B10B), + Rule::Get(&lessThan_10B10B), + Rule::Get( + &imageAtomicCompSwapExt_01B10D00E00E), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), + Rule::Get(&textureSize_00f00D), + Rule::Get(&textureSize_00f00D), + Rule::Get( + &imageAtomicAndExt_01g00D00E), + Rule::Get( + &imageAtomicAndExt_01g00D00D), + Rule::Get( + &BuiltInVariable::kgl_LastFragColorARM), + Rule::Get(&lessThanEqual_20D20D), + Rule::Get(&lessThanEqual_20D20D), + Rule::Get( + &imageAtomicCompSwapExt_01h00D00E00E), + Rule::Get( + &imageAtomicAddExt_01B10D00E), + Rule::Get( + &imageAtomicAddExt_01B10D00D), + Rule::Get( + &BuiltInVariable::kgl_SecondaryFragColorEXT), + Rule::Get( + &imageAtomicAndExt_01U20D00D00D), + Rule::Get( + &imageAtomicAndExt_01U20D00D00E), + Rule::Get( + &BuiltInVariable::kgl_BaseInstance), + Rule::Get( + &imageAtomicXorExt_01b20D00D), + Rule::Get( + &imageAtomicXorExt_01b20D00E), + Rule::Get(&mix_20F20F20F), + Rule::Get(&mix_20F20F20F), + Rule::Get(&smoothstep_00B00B30B), + Rule::Get(&smoothstep_00B00B30B), + Rule::Get( + &imageAtomicExchangeExt_01M00D00B), + Rule::Get( + &imageAtomicExchangeExt_01M00D00D), + Rule::Get( + &imageAtomicExchangeExt_01M00D00E), + Rule::Get( + &imageAtomicCompSwapExt_01F20D00E00E), + Rule::Get(&texelFetch_00N10D00D), + Rule::Get(&textureSize_00a00D), + Rule::Get(&textureSize_00a00D), + Rule::Get(&textureProjOffset_00Y30B20D), + Rule::Get(&textureProjOffset_00Y30B20D), + Rule::Get(&atan_30B), + Rule::Get(&atan_30B), + Rule::Get( + &imageAtomicMaxExt_01b20D00E), + Rule::Get( + &imageAtomicMaxExt_01b20D00D), + Rule::Get(&ceil_10B), + Rule::Get(&ceil_10B), + Rule::Get( + &texture_00M10B), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00B), + Rule::Get(&atomicCounterDecrement_00G), + Rule::Get(&atomicCounterDecrement_00G), + Rule::Get(&refract_20B20B00B), + Rule::Get(&refract_20B20B00B), + Rule::Get( + &imageAtomicAndExt_01Q10D00D), + Rule::Get( + &imageAtomicAndExt_01Q10D00E), + Rule::Get( + &imageAtomicAndExt_01c20D00E), + Rule::Get( + &imageAtomicAndExt_01c20D00D), + Rule::Get(&texelFetch_00R10D00D), + Rule::Get(&texelFetch_00R10D00D), + Rule::Get(&cosh_20B), + Rule::Get(&cosh_20B), + Rule::Get(&smoothstep_30B30B30B), + Rule::Get(&smoothstep_30B30B30B), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00B), + Rule::Get(&textureGrad_00R10B10B10B), + Rule::Get(&textureGrad_00R10B10B10B), + Rule::Get(&min_00D00D), + Rule::Get(&min_00D00D), + Rule::Get( + &shadow2DProjEXT_00d30B), + Rule::Get( + &imageAtomicAddExt_01V20D00D00E), + Rule::Get( + &imageAtomicAddExt_01V20D00D00D), + Rule::Get(&greaterThanEqual_30D30D), + Rule::Get(&greaterThanEqual_30D30D), + Rule::Get(&imageLoad_01D20D), + Rule::Get(&findLSB_10E), + Rule::Get(&findLSB_10E), + Rule::Get(&texture_00Z20B00B), + Rule::Get(&texture_00Z20B00B), + Rule::Get( + &imageAtomicXorExt_01S10D00D00E), + Rule::Get( + &imageAtomicXorExt_01S10D00D00D), + Rule::Get(&cos_10B), + Rule::Get(&cos_10B), + Rule::Get(&texture_00e30B), + Rule::Get(&texture_00e30B), + Rule::Get(&textureSize_00T00D), + Rule::Get(&textureSize_00T00D), + Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), + Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), + Rule::Get(&textureGrad_00T20B20B20B), + Rule::Get(&textureGrad_00T20B20B20B), + Rule::Get(&textureProjOffset_00d30B10D00B), + Rule::Get(&textureProjOffset_00d30B10D00B), + Rule::Get( + &imageAtomicMinExt_01B10D00D), + Rule::Get( + &imageAtomicMinExt_01B10D00E), + Rule::Get( + &imageAtomicXorExt_01U20D00D00D), + Rule::Get( + &imageAtomicXorExt_01U20D00D00E), + Rule::Get( + &imageAtomicAddExt_01h00D00D), + Rule::Get( + &imageAtomicAddExt_01h00D00E), + Rule::Get(&matrixCompMult_50B50B), + Rule::Get(&matrixCompMult_50B50B), + Rule::Get(&equal_30B30B), + Rule::Get(&equal_30B30B), + Rule::Get( + &imageAtomicExchangeExt_01E20D00B), + Rule::Get(&textureLod_00U20B00B), + Rule::Get(&textureLod_00U20B00B), + Rule::Get( + &imageAtomicExchangeExt_01E20D00D), + Rule::Get( + &imageAtomicXorExt_01I20D00D), + Rule::Get(&texture2DProjLod_00I30B00B), + Rule::Get(&texture2DProjLod_00I30B00B), + Rule::Get(&max_10B10B), + Rule::Get(&max_10B10B), + Rule::Get(&BuiltInVariable::kgl_PointSize), + Rule::Get(&BuiltInVariable::kgl_PointSize), + Rule::Get(&asin_10B), + Rule::Get(&asin_10B), + Rule::Get( + &imageAtomicAddExt_01g00D00E), + Rule::Get( + &imageAtomicAddExt_01g00D00D), + Rule::Get(&textureOffset_00S20B20D), + Rule::Get(&textureOffset_00S20B20D), + Rule::Get(&textureProj_00R20B), + Rule::Get(&textureProj_00R20B), + Rule::Get(&greaterThan_10E10E), + Rule::Get(&greaterThan_10E10E), + Rule::Get( + &imageAtomicAndExt_01M00D00E), + Rule::Get( + &imageAtomicAndExt_01M00D00D), + Rule::Get(&EmitVertex_), + Rule::Get(&smoothstep_20B20B20B), + Rule::Get(&smoothstep_20B20B20B), + Rule::Get(&textureOffset_00J20B20D), + Rule::Get(&textureOffset_00J20B20D), + Rule::Get(&texelFetch_00J20D00D), + Rule::Get(&texelFetch_00J20D00D), + Rule::Get( + &imageAtomicExchangeExt_01V20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01V20D00D00B), + Rule::Get( + &imageAtomicCompSwapExt_01Y10D00E00E), + Rule::Get( + &BuiltInVariable::kgl_ViewID_OVR), + Rule::Get(&radians_30B), + Rule::Get(&radians_30B), + Rule::Get( + &imageAtomicMinExt_01H20D00E), + Rule::Get( + &imageAtomicMinExt_01H20D00D), + Rule::Get(&textureProjGrad_00X30B10B10B), + Rule::Get(&textureProjGrad_00X30B10B10B), + Rule::Get( + &imageAtomicXorExt_00z10D00D), + Rule::Get( + &imageAtomicXorExt_00z10D00E), + Rule::Get( + &texture3DLod_00J20B00B), + Rule::Get(&packUnorm4x8_30B), + Rule::Get(&packUnorm4x8_30B), + Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), + Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), + Rule::Get(&textureLod_00L20B00B), + Rule::Get(&textureLod_00L20B00B), + Rule::Get( + &imageAtomicExchangeExt_01A10D00B), Rule::Get( &imageAtomicCompSwapExt_01V20D00D00D00D), Rule::Get( - &imageAtomicCompSwapExt_01W20D00D00D00D), - Rule::Get(&memoryBarrier_), - Rule::Get(&memoryBarrier_), - Rule::Get(&memoryBarrierAtomicCounter_), - Rule::Get(&memoryBarrierAtomicCounter_), - Rule::Get(&memoryBarrierBuffer_), - Rule::Get(&memoryBarrierBuffer_), - Rule::Get(&memoryBarrierImage_), - Rule::Get(&memoryBarrierImage_), - Rule::Get(&barrier_), - Rule::Get(&barrier_), - Rule::Get(&barrierES3_2_), - Rule::Get( - &barrier_), - Rule::Get(&memoryBarrierShared_), - Rule::Get(&memoryBarrierShared_), - Rule::Get(&groupMemoryBarrier_), - Rule::Get(&groupMemoryBarrier_), - Rule::Get(&EmitVertexES3_2_), - Rule::Get(&EmitVertex_), - Rule::Get(&EndPrimitiveES3_2_), - Rule::Get( - &EndPrimitive_), - Rule::Get(&textureVideoWEBGL_00y10B), - Rule::Get(&textureVideoWEBGL_00y10B), - Rule::Get(&texture_00y10B), - Rule::Get(&texture_00y10B), - Rule::Get(&TableBase::m_gl_DepthRangeParameters), - Rule::Get(&TableBase::m_gl_DepthRangeParameters), - Rule::Get(&TableBase::m_gl_DepthRange), - Rule::Get(&TableBase::m_gl_DepthRange), - Rule::Get(&BuiltInVariable::kgl_NumSamplesES3_2), - Rule::Get(&BuiltInVariable::kgl_NumSamplesES3_2), - Rule::Get( - &BuiltInVariable::kgl_NumSamples), - Rule::Get(&TableBase::m_gl_MaxVertexAttribs), - Rule::Get(&TableBase::m_gl_MaxVertexAttribs), - Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVaryingVectors), - Rule::Get(&TableBase::m_gl_MaxVaryingVectors), - Rule::Get(&TableBase::m_gl_MaxDrawBuffers), - Rule::Get(&TableBase::m_gl_MaxDrawBuffers), - Rule::Get( - &TableBase::m_gl_MaxDualSourceDrawBuffersEXT), - Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), - Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), - Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxImageUnits), - Rule::Get(&TableBase::m_gl_MaxImageUnits), - Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), - Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), - Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), - Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), - Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), - Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), - Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), - Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), - Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), - Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), + &imageAtomicExchangeExt_01A10D00E), + Rule::Get( + &imageAtomicExchangeExt_01A10D00D), + Rule::Get(&transpose_B0B), + Rule::Get(&transpose_B0B), + Rule::Get(&clamp_00E00E00E), + Rule::Get(&clamp_00E00E00E), + Rule::Get(&ldexp_00B00D), + Rule::Get(&ldexp_00B00D), + Rule::Get(&bitfieldInsert_00D00D00D00D), + Rule::Get(&bitfieldInsert_00D00D00D00D), + Rule::Get(&textureProjGrad_00Y30B20B20B), + Rule::Get(&textureProjGrad_00Y30B20B20B), + Rule::Get( + &imageAtomicAddExt_01W20D00D00E), + Rule::Get(&roundEven_30B), + Rule::Get(&roundEven_30B), + Rule::Get(&acosh_20B), + Rule::Get(&acosh_20B), + Rule::Get(&atanh_10B), + Rule::Get(&atanh_10B), + Rule::Get(&clamp_10B10B10B), + Rule::Get(&clamp_10B10B10B), + Rule::Get(&textureGatherOffset_00L20B10D00D), + Rule::Get(&textureGatherOffset_00L20B10D00D), + Rule::Get(&bitCount_00D), + Rule::Get(&bitCount_00D), + Rule::Get(&bitCount_00E), + Rule::Get(&bitCount_00E), + Rule::Get(&floatBitsToInt_30B), + Rule::Get(&floatBitsToInt_30B), + Rule::Get(&max_20B00B), + Rule::Get(&max_20B00B), + Rule::Get(&texelFetchOffset_00Y20D00D20D), + Rule::Get(&texelFetchOffset_00Y20D00D20D), + Rule::Get(&atomicExchange_00E00E), + Rule::Get(&atomicExchange_00E00E), + Rule::Get( + &imageAtomicXorExt_01h00D00D), + Rule::Get( + &imageAtomicXorExt_01h00D00E), + Rule::Get(&texture_00x30B00B), + Rule::Get(&lessThanEqual_20B20B), + Rule::Get(&lessThanEqual_20B20B), + Rule::Get(&min_10B00B), + Rule::Get(&min_10B00B), + Rule::Get( + &imageAtomicAndExt_01L00D00D), + Rule::Get( + &imageAtomicAndExt_01L00D00E), + Rule::Get(&mix_30F30F30F), + Rule::Get(&mix_30F30F30F), + Rule::Get( + &imageAtomicMaxExt_01T10D00D00E), + Rule::Get( + &imageAtomicMaxExt_01T10D00D00D), + Rule::Get(&abs_20D), + Rule::Get(&abs_20D), + Rule::Get(&abs_20B), + Rule::Get(&abs_20B), + Rule::Get(&lessThanEqual_10B10B), + Rule::Get(&lessThanEqual_10B10B), + Rule::Get( + &imageAtomicOrExt_01a20D00D), + Rule::Get( + &imageAtomicOrExt_01a20D00E), + Rule::Get(&mix_00B00B00F), + Rule::Get(&mix_00B00B00F), + Rule::Get(&textureGather_00s30B00D), + Rule::Get(&textureProj_00I20B), + Rule::Get(&textureProj_00I20B), Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), - Rule::Get(&TableBase::m_gl_MaxGeometryInputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryInputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryOutputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryImageUniforms), - Rule::Get(&TableBase::m_gl_MaxGeometryTextureImageUnitsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputVerticesES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputVerticesES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryOutputVertices), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryUniformComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryUniformComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounterBuffersES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxTessControlInputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlInputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlOutputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlOutputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlTextureImageUnitsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTextureImageUnits), - Rule::Get( - &TableBase::m_gl_MaxTessControlUniformComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlUniformComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponents), - Rule::Get(&TableBase::m_gl_MaxTessControlImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlImageUniforms), - Rule::Get(&TableBase::m_gl_MaxTessControlAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxTessPatchComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessPatchComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessPatchComponents), - Rule::Get(&TableBase::m_gl_MaxPatchVerticesES3_2), - Rule::Get(&TableBase::m_gl_MaxPatchVerticesES3_2), - Rule::Get( - &TableBase::m_gl_MaxPatchVertices), - Rule::Get(&TableBase::m_gl_MaxTessGenLevelES3_2), - Rule::Get(&TableBase::m_gl_MaxTessGenLevelES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessGenLevel), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnits), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessEvaluationImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationImageUniforms), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxTessEvaluationAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxSamplesES3_2), - Rule::Get(&TableBase::m_gl_MaxSamplesES3_2), - Rule::Get( - &TableBase::m_gl_MaxSamples), - Rule::Get( - &TableBase::m_gl_MaxClipDistancesAPPLE), - Rule::Get( - &TableBase::m_gl_MaxCullDistancesEXT), - Rule::Get( - &TableBase::m_gl_MaxCombinedClipAndCullDistancesEXT), - Rule::Get(&BuiltInVariable::kgl_FragCoord), - Rule::Get(&BuiltInVariable::kgl_FragCoord), - Rule::Get(&BuiltInVariable::kgl_FrontFacing), - Rule::Get(&BuiltInVariable::kgl_FrontFacing), - Rule::Get(&BuiltInVariable::kgl_PointCoord), - Rule::Get(&BuiltInVariable::kgl_PointCoord), + Rule::Get(&acos_00B), + Rule::Get(&acos_00B), + Rule::Get(&textureGradOffset_00J20B20B20B20D), + Rule::Get(&textureGradOffset_00J20B20B20B20D), + Rule::Get( + &texture2DGradEXT_00I10B10B10B), + Rule::Get( + &imageAtomicCompSwapExt_01G20D00D00D), + Rule::Get( + &imageAtomicAndExt_01I20D00D), + Rule::Get( + &texture2DProjGradEXT_00I30B10B10B), + Rule::Get(&fma_30B30B30B), + Rule::Get(&fma_30B30B30B), + Rule::Get(&fmaExt_30B30B30B), + Rule::Get( + &imageAtomicAddExt_01L00D00D), + Rule::Get( + &imageAtomicAddExt_01L00D00E), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), + Rule::Get(&imageLoad_01i00D), + Rule::Get(&mix_30E30E30F), + Rule::Get(&mix_30E30E30F), Rule::Get(&BuiltInVariable::kgl_FragColor), Rule::Get(&BuiltInVariable::kgl_FragColor), - Rule::Get(&TableBase::m_gl_FragData), - Rule::Get(&TableBase::m_gl_FragData), - Rule::Get(&BuiltInVariable::kgl_FragDepth), - Rule::Get(&BuiltInVariable::kgl_FragDepth), - Rule::Get(&BuiltInVariable::kgl_HelperInvocation), - Rule::Get(&BuiltInVariable::kgl_HelperInvocation), - Rule::Get( - &BuiltInVariable::kgl_SecondaryFragColorEXT), - Rule::Get( - &TableBase::m_gl_SecondaryFragDataEXT), + Rule::Get( + &imageAtomicMinExt_01G20D00D), + Rule::Get( + &imageAtomicMinExt_01G20D00E), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00D), + Rule::Get(&atan_20B), + Rule::Get(&atan_20B), + Rule::Get(&interpolateAtSample_30B00D), + Rule::Get(&interpolateAtSample_30B00D), + Rule::Get( + &interpolateAtSampleExt_30B00D), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00E), + Rule::Get(&min_10B10B), + Rule::Get(&min_10B10B), + Rule::Get(&pow_10B10B), + Rule::Get(&pow_10B10B), + Rule::Get( + &imageAtomicXorExt_01P10D00E), + Rule::Get( + &imageAtomicXorExt_01P10D00D), + Rule::Get(&texture_00X10B00B), + Rule::Get(&texture_00X10B00B), + Rule::Get(&frexp_00B00D), + Rule::Get(&frexp_00B00D), + Rule::Get(&texture2D_00I10B), + Rule::Get(&texture2D_00I10B), + Rule::Get(&ceil_20B), + Rule::Get(&ceil_20B), + Rule::Get( + &imageAtomicMinExt_01b20D00E), + Rule::Get( + &imageAtomicMinExt_01b20D00D), + Rule::Get( + &imageAtomicMaxExt_01P10D00D), + Rule::Get( + &imageAtomicMaxExt_01P10D00E), + Rule::Get( + &imageAtomicExchangeExt_01P10D00B), + Rule::Get(&textureProjOffset_00R20B10D), + Rule::Get(&textureProjOffset_00R20B10D), + Rule::Get(&textureOffset_00I10B10D), + Rule::Get(&textureOffset_00I10B10D), + Rule::Get(&min_20B00B), + Rule::Get(&min_20B00B), + Rule::Get(&reflect_00B00B), + Rule::Get(&reflect_00B00B), + Rule::Get(&sqrt_10B), + Rule::Get(&sqrt_10B), + Rule::Get(&clamp_20E20E20E), + Rule::Get(&clamp_20E20E20E), + Rule::Get( + &imageAtomicOrExt_01G20D00D), + Rule::Get( + &imageAtomicOrExt_01G20D00E), + Rule::Get( + &imageAtomicMinExt_01C20D00D), + Rule::Get(&texelFetch_00j00D), + Rule::Get(&imageStore_01a20D30B), + Rule::Get(&textureProjLod_00d30B00B), + Rule::Get(&textureProjLod_00d30B00B), + Rule::Get(&imageLoad_01H20D), + Rule::Get(&textureProjGradOffset_00I20B10B10B10D), + Rule::Get(&textureProjGradOffset_00I20B10B10B10D), + Rule::Get(&interpolateAtSample_20B00D), + Rule::Get(&interpolateAtSample_20B00D), + Rule::Get( + &interpolateAtSampleExt_20B00D), + Rule::Get(&refract_10B10B00B), + Rule::Get(&refract_10B10B00B), + Rule::Get( + &imageAtomicMaxExt_01h00D00D), + Rule::Get( + &imageAtomicExchangeExt_01X10D00D), + Rule::Get( + &imageAtomicExchangeExt_01X10D00E), + Rule::Get( + &imageAtomicExchangeExt_01X10D00B), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00B), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00E), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00D), + Rule::Get(&clamp_20D20D20D), + Rule::Get(&clamp_20D20D20D), + Rule::Get(&sinh_30B), + Rule::Get(&sinh_30B), + Rule::Get( + &imageAtomicMinExt_01N00D00E), + Rule::Get( + &imageAtomicMinExt_01N00D00D), + Rule::Get(&textureGradOffset_00R10B10B10B10D), + Rule::Get(&textureGradOffset_00R10B10B10B10D), + Rule::Get(&asinh_20B), + Rule::Get(&asinh_20B), + Rule::Get( + &imageAtomicCompSwapExt_01I20D00D00D), + Rule::Get(&textureProj_00O20B), + Rule::Get( + &imageAtomicCompSwapExt_01M00D00E00E), + Rule::Get(&inverse_50B), + Rule::Get(&inverse_50B), + Rule::Get(&dot_10B10B), + Rule::Get(&dot_10B10B), + Rule::Get(&radians_20B), + Rule::Get(&radians_20B), + Rule::Get(&atomicCompSwap_00E00E00E), + Rule::Get(&atomicCompSwap_00E00E00E), + Rule::Get(&textureGrad_00Y20B20B20B), + Rule::Get(&textureGrad_00Y20B20B20B), + Rule::Get( + &imageAtomicCompSwapExt_01Z10D00D00D), + Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), + Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00B), + Rule::Get(&outerProduct_10B10B), + Rule::Get(&outerProduct_10B10B), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00D), + Rule::Get(&textureProj_00X20B), + Rule::Get(&textureProj_00X20B), + Rule::Get( + &imageAtomicOrExt_01W20D00D00E), + Rule::Get( + &imageAtomicOrExt_01W20D00D00D), + Rule::Get(&greaterThanEqual_20E20E), + Rule::Get(&greaterThanEqual_20E20E), + Rule::Get( + &textureProj_00M20B), + Rule::Get( + &texture3DProjLod_00J30B00B), + Rule::Get( + &imageAtomicAddExt_01Z10D00E), + Rule::Get( + &imageAtomicAddExt_01Z10D00D), + Rule::Get(&mix_10D10D10F), + Rule::Get(&mix_10D10D10F), + Rule::Get(&floatBitsToUint_20B), + Rule::Get(&floatBitsToUint_20B), + Rule::Get(&log_20B), + Rule::Get(&log_20B), + Rule::Get( + &imageAtomicMaxExt_01D20D00E), + Rule::Get( + &imageAtomicMaxExt_01D20D00D), + Rule::Get(&modf_30B30B), + Rule::Get(&modf_30B30B), + Rule::Get(&roundEven_20B), + Rule::Get(&roundEven_20B), + Rule::Get(&atanh_00B), + Rule::Get(&atanh_00B), + Rule::Get(&textureProj_00J30B), + Rule::Get(&textureProj_00J30B), + Rule::Get( + &imageAtomicOrExt_01F20D00E), + Rule::Get( + &imageAtomicOrExt_01F20D00D), + Rule::Get(&floatBitsToInt_20B), + Rule::Get(&floatBitsToInt_20B), + Rule::Get(&texelFetch_00U20D00D), + Rule::Get(&texelFetch_00U20D00D), + Rule::Get(&max_00D00D), + Rule::Get(&max_00D00D), + Rule::Get(&atomicMin_00E00E), + Rule::Get(&atomicMin_00E00E), + Rule::Get( + &shadow2DEXT_00d20B), + Rule::Get(&textureGatherOffsets_00a20B10Dx4), + Rule::Get(&textureGatherOffsets_00a20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00a20B10Dx4), + Rule::Get(&max_30B30B), + Rule::Get(&max_30B30B), + Rule::Get( + &imageAtomicCompSwapExt_01F20D00D00D), + Rule::Get(&abs_10D), + Rule::Get(&abs_10D), + Rule::Get(&abs_10B), + Rule::Get(&abs_10B), Rule::Get( &TableBase::m_gl_FragDepthEXT), - Rule::Get( - &TableBase::m_gl_LastFragData), - Rule::Get( - &TableBase::m_gl_LastFragDataNonCoherent), - Rule::Get( - &TableBase::m_gl_LastFragDataNV), - Rule::Get( - &BuiltInVariable::kgl_LastFragColor), - Rule::Get( - &BuiltInVariable::kgl_LastFragColorARM), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDGSES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDGSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveID), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDGS), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCS), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTES), - Rule::Get(&BuiltInVariable::kgl_LayerES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerGSES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerGSES3_2), - Rule::Get( - &BuiltInVariable::kgl_Layer), - Rule::Get( - &BuiltInVariable::kgl_LayerGS), - Rule::Get(&BuiltInVariable::kgl_SampleIDES3_2), - Rule::Get(&BuiltInVariable::kgl_SampleIDES3_2), - Rule::Get( - &BuiltInVariable::kgl_SampleID), - Rule::Get(&BuiltInVariable::kgl_SamplePositionES3_2), - Rule::Get(&BuiltInVariable::kgl_SamplePositionES3_2), - Rule::Get( - &BuiltInVariable::kgl_SamplePosition), - Rule::Get(&TableBase::m_gl_SampleMaskInES3_2), - Rule::Get(&TableBase::m_gl_SampleMaskInES3_2), - Rule::Get( - &TableBase::m_gl_SampleMaskIn), - Rule::Get(&TableBase::m_gl_SampleMaskES3_2), - Rule::Get(&TableBase::m_gl_SampleMaskES3_2), - Rule::Get( - &TableBase::m_gl_SampleMask), - Rule::Get( - &TableBase::m_gl_CullDistance), - Rule::Get( - &TableBase::m_gl_CullDistanceEXT), - Rule::Get( - &TableBase::m_gl_ClipDistance), + Rule::Get(&ldexp_20B20D), + Rule::Get(&ldexp_20B20D), Rule::Get( - &TableBase::m_gl_ClipDistanceAPPLE), - Rule::Get(&BuiltInVariable::kgl_Position), - Rule::Get(&BuiltInVariable::kgl_Position), - Rule::Get(&TableBase::m_gl_PositionGSES3_2), - Rule::Get(&TableBase::m_gl_PositionGSES3_2), - Rule::Get(&TableBase::m_gl_PositionTCSES3_2), - Rule::Get(&TableBase::m_gl_PositionTCSES3_2), - Rule::Get(&TableBase::m_gl_PositionTESES3_2), - Rule::Get(&TableBase::m_gl_PositionTESES3_2), + &TableBase::m_gl_ClipDistance), + Rule::Get( + &imageAtomicCompSwapExt_01c20D00D00D), + Rule::Get( + &imageAtomicMinExt_01T10D00D00E), + Rule::Get( + &imageAtomicMinExt_01T10D00D00D), + Rule::Get(&equal_20B20B), + Rule::Get(&equal_20B20B), + Rule::Get(&textureProjLodOffset_00X20B00B10D), + Rule::Get(&textureProjLodOffset_00X20B00B10D), + Rule::Get(&texture_00U20B00B), + Rule::Get(&texture_00U20B00B), + Rule::Get(&textureProj_00I30B), + Rule::Get(&textureProj_00I30B), + Rule::Get(&mix_00E00E00F), + Rule::Get(&mix_00E00E00F), + Rule::Get( + &imageAtomicCompSwapExt_01h00D00D00D), + Rule::Get(&mix_00D00D00F), + Rule::Get(&mix_00D00D00F), + Rule::Get(&textureGradOffset_00a20B10B10B10D), + Rule::Get(&textureGradOffset_00a20B10B10B10D), + Rule::Get(¬Equal_20F20F), + Rule::Get(¬Equal_20F20F), + Rule::Get(&textureLod_00s30B00B), + Rule::Get( + &imageAtomicOrExt_01C20D00D), + Rule::Get( + &imageAtomicOrExt_01C20D00E), + Rule::Get(&textureSize_00S00D), + Rule::Get(&textureSize_00S00D), + Rule::Get(¬Equal_30B30B), + Rule::Get(¬Equal_30B30B), + Rule::Get(&textureGatherOffset_00f20B00B10D), + Rule::Get(&textureGatherOffset_00f20B00B10D), + Rule::Get( + &imageAtomicAndExt_01N00D00D), + Rule::Get( + &imageAtomicAndExt_01N00D00E), + Rule::Get(&imageSize_00z), + Rule::Get(&textureGrad_00a20B10B10B), + Rule::Get(&textureGrad_00a20B10B10B), + Rule::Get(&texture_00J20B00B), + Rule::Get(&texture_00J20B00B), + Rule::Get(&ceil_30B), + Rule::Get(&ceil_30B), + Rule::Get( + &TableBase::m_gl_MaxGeometryOutputComponents), + Rule::Get(&log2_30B), + Rule::Get(&log2_30B), + Rule::Get(&textureProjGrad_00d30B10B10B), + Rule::Get(&textureProjGrad_00d30B10B10B), + Rule::Get(&fract_30B), + Rule::Get(&fract_30B), + Rule::Get(&max_30E30E), + Rule::Get(&max_30E30E), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), Rule::Get( - &TableBase::m_gl_PositionGS), - Rule::Get( - &TableBase::m_gl_PositionTCS), - Rule::Get( - &TableBase::m_gl_PositionTES), - Rule::Get(&BuiltInVariable::kgl_PointSize), - Rule::Get(&BuiltInVariable::kgl_PointSize), - Rule::Get(&BuiltInVariable::kgl_InstanceID), - Rule::Get(&BuiltInVariable::kgl_InstanceID), - Rule::Get(&BuiltInVariable::kgl_VertexID), - Rule::Get(&BuiltInVariable::kgl_VertexID), - Rule::Get( - &BuiltInVariable::kgl_DrawID), - Rule::Get( - &BuiltInVariable::kgl_BaseVertex), - Rule::Get( - &BuiltInVariable::kgl_BaseInstance), - Rule::Get( - &BuiltInVariable::kangle_BaseVertex), - Rule::Get( - &BuiltInVariable::kangle_BaseInstance), - Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), - Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), + &TableBase::m_gl_in), + Rule::Get(&textureProjLodOffset_00J30B00B20D), + Rule::Get(&textureProjLodOffset_00J30B00B20D), + Rule::Get( + &imageAtomicExchangeExt_01O10D00B), + Rule::Get( + &imageAtomicMaxExt_01H20D00E), + Rule::Get( + &imageAtomicMaxExt_01H20D00D), + Rule::Get(&imageStore_01h00D30D), + Rule::Get( + &imageAtomicExchangeExt_01O10D00D), + Rule::Get( + &texelFetchExt_00c20D00D), + Rule::Get(&sqrt_00B), + Rule::Get(&sqrt_00B), + Rule::Get(&textureProjLod_00R30B00B), + Rule::Get(&textureProjLod_00R30B00B), + Rule::Get( + &imageAtomicAndExt_01F20D00D), + Rule::Get( + &imageAtomicAndExt_01F20D00E), + Rule::Get( + &imageAtomicMinExt_01P10D00D), + Rule::Get( + &imageAtomicMinExt_01P10D00E), + Rule::Get( + &imageAtomicAddExt_01C20D00E), + Rule::Get( + &imageAtomicAddExt_01C20D00D), + Rule::Get( + &imageAtomicXorExt_01N00D00D), + Rule::Get( + &imageAtomicXorExt_01N00D00E), + Rule::Get(&texture_00x30B), + Rule::Get(&max_10E00E), + Rule::Get(&max_10E00E), + Rule::Get(&imageLoad_01c20D), + Rule::Get(&textureGrad_00U20B10B10B), + Rule::Get(&textureGrad_00U20B10B10B), + Rule::Get(&imageLoad_00z10D), + Rule::Get(&textureGatherOffsets_00a20B10Dx400D), + Rule::Get(&textureGatherOffsets_00a20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00a20B10Dx400D), + Rule::Get(&sinh_20B), + Rule::Get(&sinh_20B), + Rule::Get(&matrixCompMult_E0BE0B), + Rule::Get( + &imageAtomicMinExt_01K20D00E), Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), - Rule::Get(&BuiltInVariable::kgl_WorkGroupID), - Rule::Get(&BuiltInVariable::kgl_WorkGroupID), - Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), - Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&asinh_30B), + Rule::Get(&asinh_30B), + Rule::Get(&textureGather_00a20B), + Rule::Get(&textureGather_00a20B), + Rule::Get(&pow_30B30B), + Rule::Get(&pow_30B30B), + Rule::Get( + &imageAtomicCompSwapExt_01G20D00E00E), + Rule::Get(&smoothstep_10B10B10B), + Rule::Get(&smoothstep_10B10B10B), + Rule::Get(&textureProj_00O30B), + Rule::Get( + &imageAtomicAddExt_01R10D00D00D), + Rule::Get( + &imageAtomicAddExt_01R10D00D00E), + Rule::Get( + &imageAtomicXorExt_01I20D00E), + Rule::Get( + &imageAtomicMinExt_01Q10D00E), + Rule::Get( + &imageAtomicMinExt_01Q10D00D), + Rule::Get( + &imageAtomicExchangeExt_01E20D00E), + Rule::Get(&isnan_00B), + Rule::Get(&isnan_00B), + Rule::Get(&imulExtended_10D10D10D10D), + Rule::Get(&imulExtended_10D10D10D10D), + Rule::Get( + &imageAtomicMaxExt_01i00D00D), + Rule::Get( + &imageAtomicMaxExt_01i00D00E), + Rule::Get(&min_00E00E), + Rule::Get(&min_00E00E), + Rule::Get(&texture2DProj_00I30B), + Rule::Get(&texture2DProj_00I30B), + Rule::Get(&textureGradOffset_00I10B10B10B10D), + Rule::Get(&textureGradOffset_00I10B10B10B10D), + Rule::Get(&textureLodOffset_00J20B00B20D), + Rule::Get(&textureLodOffset_00J20B00B20D), + Rule::Get(¬Equal_20B20B), + Rule::Get(¬Equal_20B20B), + Rule::Get(&atomicCompSwap_00D00D00D), + Rule::Get(&atomicCompSwap_00D00D00D), + Rule::Get(&floatBitsToInt_10B), + Rule::Get(&floatBitsToInt_10B), + Rule::Get(&textureLod_00a20B00B), + Rule::Get(&textureLod_00a20B00B), + Rule::Get(&textureProj_00N30B), + Rule::Get(&equal_30D30D), + Rule::Get(&equal_30D30D), + Rule::Get(&imageStore_01D20D30D), + Rule::Get(&packSnorm2x16_10B), + Rule::Get(&packSnorm2x16_10B), + Rule::Get(&floatBitsToUint_30B), + Rule::Get(&floatBitsToUint_30B), + Rule::Get(&textureOffset_00R10B10D), + Rule::Get(&textureOffset_00R10B10D), + Rule::Get(&textureProjGradOffset_00R20B10B10B10D), + Rule::Get(&textureProjGradOffset_00R20B10B10B10D), + Rule::Get(&ldexp_30B30D), + Rule::Get(&ldexp_30B30D), + Rule::Get(&max_30B00B), + Rule::Get(&max_30B00B), + Rule::Get(&textureLod_00k30B00B), + Rule::Get(&textureProj_00I30B00B), + Rule::Get(&textureProj_00I30B00B), + Rule::Get( + &imageAtomicAndExt_01X10D00E), + Rule::Get( + &imageAtomicExchangeExt_01D20D00E), + Rule::Get( + &imageAtomicExchangeExt_01D20D00D), + Rule::Get( + &imageAtomicExchangeExt_01D20D00B), + Rule::Get( + &imageAtomicCompSwapExt_01A10D00E00E), + Rule::Get(&abs_00D), + Rule::Get(&abs_00D), + Rule::Get(&abs_00B), + Rule::Get(&abs_00B), + Rule::Get(&textureLod_00R10B00B), + Rule::Get(&textureLod_00R10B00B), + Rule::Get(&textureLodOffset_00U20B00B10D), + Rule::Get(&textureLodOffset_00U20B00B10D), + Rule::Get( + &imageAtomicAndExt_01X10D00D), + Rule::Get(&sinh_00B), + Rule::Get(&sinh_00B), + Rule::Get(&texture2DLod_00I10B00B), + Rule::Get(&texture2DLod_00I10B00B), + Rule::Get(&textureProjGradOffset_00X20B10B10B10D), + Rule::Get(&textureProjGradOffset_00X20B10B10B10D), + Rule::Get( + &imageAtomicMaxExt_01Z10D00D), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), + Rule::Get(&texture_00s30B), + Rule::Get( + &EndPrimitive_), + Rule::Get(&step_00B30B), + Rule::Get(&step_00B30B), + Rule::Get(&round_20B), + Rule::Get(&round_20B), + Rule::Get(&equal_30E30E), + Rule::Get(&equal_30E30E), + Rule::Get( + &imageAtomicCompSwapExt_01R10D00D00E00E), + Rule::Get(&atomicOr_00D00D), + Rule::Get(&atomicOr_00D00D), + Rule::Get(&texture2DProj_00M20B), + Rule::Get(¬Equal_10D10D), + Rule::Get(¬Equal_10D10D), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00D), + Rule::Get(&textureSize_00V), + Rule::Get(&textureSize_00V), + Rule::Get( + &textureSizeExt_00V), + Rule::Get( + &imageAtomicAndExt_01h00D00D), + Rule::Get( + &imageAtomicAddExt_01G20D00E), + Rule::Get( + &imageAtomicAddExt_01G20D00D), + Rule::Get(&findLSB_30D), + Rule::Get(&findLSB_30D), + Rule::Get(&findLSB_30E), + Rule::Get(&findLSB_30E), + Rule::Get(&textureProj_00X20B00B), + Rule::Get(&textureProj_00X20B00B), + Rule::Get(&textureGatherOffset_00U20B10D), + Rule::Get(&textureGatherOffset_00U20B10D), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00E), + Rule::Get(&faceforward_10B10B10B), + Rule::Get(&faceforward_10B10B10B), + Rule::Get( + &imageAtomicAndExt_01h00D00E), + Rule::Get(&min_10D00D), + Rule::Get(&min_10D00D), + Rule::Get( + &imageAtomicCompSwapExt_01J20D00D00D), + Rule::Get(&all_20F), + Rule::Get(&all_20F), + Rule::Get(&imageSize_01J), + Rule::Get(&imageSize_01K), + Rule::Get(&imageSize_01H), + Rule::Get(&imageSize_01I), + Rule::Get(&packHalf2x16_10B), + Rule::Get(&packHalf2x16_10B), + Rule::Get(&textureProj_00I20B00B), + Rule::Get(&textureProj_00I20B00B), + Rule::Get(&imageSize_01B), + Rule::Get(&imageSize_01C), + Rule::Get(&imageSize_01A), + Rule::Get(&imageSize_01F), + Rule::Get(&imageSize_01G), + Rule::Get(&imageSize_01D), + Rule::Get(&imageSize_01E), + Rule::Get( + &imageAtomicExchangeExt_01L00D00B), + Rule::Get( + &imageAtomicExchangeExt_01L00D00E), + Rule::Get( + &imageAtomicExchangeExt_01L00D00D), + Rule::Get(¬Equal_30F30F), + Rule::Get(¬Equal_30F30F), + Rule::Get(&imageSize_01h), + Rule::Get(&imageSize_01i), + Rule::Get(&fract_20B), + Rule::Get(&fract_20B), + Rule::Get( + &imageAtomicMaxExt_01c20D00D), + Rule::Get(&imageSize_01c), + Rule::Get(&imageSize_01a), + Rule::Get(&imageSize_01g), + Rule::Get(&textureLod_00S20B00B), + Rule::Get(&textureLod_00S20B00B), + Rule::Get( + &imageAtomicMinExt_01J20D00D), + Rule::Get(&BuiltInVariable::kgl_FragDepth), + Rule::Get(&BuiltInVariable::kgl_FragDepth), + Rule::Get(&textureGather_00x30B), + Rule::Get(&mix_30B30B30F), + Rule::Get(&mix_30B30B30F), + Rule::Get(&mix_30B30B30B), + Rule::Get(&mix_30B30B30B), + Rule::Get(&textureGather_00Z20B00D), + Rule::Get(&textureGather_00Z20B00D), + Rule::Get( + &imageAtomicAndExt_01Z10D00E), + Rule::Get( + &imageAtomicAndExt_01Z10D00D), + Rule::Get(&imageStore_01E20D30E), + Rule::Get(&sqrt_30B), + Rule::Get(&sqrt_30B), + Rule::Get(&exp_00B), + Rule::Get(&exp_00B), + Rule::Get(&max_30D30D), + Rule::Get(&max_30D30D), + Rule::Get( + &TableBase::m_gl_MaxGeometryTextureImageUnits), + Rule::Get(&interpolateAtCentroid_10B), + Rule::Get(&interpolateAtCentroid_10B), + Rule::Get( + &interpolateAtCentroidExt_10B), + Rule::Get( + &textureSize_00M00D), + Rule::Get( + &BuiltInVariable::kangle_BaseInstance), + Rule::Get(&mix_10F10F10F), + Rule::Get(&mix_10F10F10F), + Rule::Get(&textureGradOffset_00U20B10B10B10D), + Rule::Get(&textureGradOffset_00U20B10B10B10D), + Rule::Get(&BuiltInVariable::kgl_Position), + Rule::Get(&BuiltInVariable::kgl_Position), + Rule::Get( + &TableBase::m_gl_PositionGS), + Rule::Get( + &textureProj_00M30B), + Rule::Get(&textureGradOffset_00L20B10B10B10D), + Rule::Get(&textureGradOffset_00L20B10B10B10D), + Rule::Get( + &imageAtomicExchangeExt_01V20D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01J20D00B), + Rule::Get( + &imageAtomicExchangeExt_01J20D00E), + Rule::Get( + &imageAtomicExchangeExt_01J20D00D), + Rule::Get( + &imageAtomicOrExt_01M00D00D), + Rule::Get( + &imageAtomicOrExt_01M00D00E), + Rule::Get(&dot_20B20B), + Rule::Get(&dot_20B20B), + Rule::Get( + &imageAtomicCompSwapExt_01Z10D00E00E), + Rule::Get(&textureProjLod_00S30B00B), + Rule::Get(&textureProjLod_00S30B00B), + Rule::Get(&textureProjGrad_00R20B10B10B), + Rule::Get(&textureProjGrad_00R20B10B10B), + Rule::Get( + &imageAtomicAndExt_01i00D00E), + Rule::Get( + &imageAtomicAndExt_01i00D00D), + Rule::Get( + &imageAtomicMaxExt_00z10D00E), + Rule::Get( + &imageAtomicMaxExt_00z10D00D), + Rule::Get( + &imageAtomicMaxExt_01V20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01V20D00D00E), + Rule::Get(&textureProjGrad_00I20B10B10B), + Rule::Get(&textureProjGrad_00I20B10B10B), + Rule::Get(&textureGather_00e20B), + Rule::Get(&texture2D_00M10B), + Rule::Get( + &imageAtomicAddExt_01a20D00E), + Rule::Get( + &imageAtomicAddExt_01a20D00D), + Rule::Get(&textureGather_00K20B00D), + Rule::Get(&textureGather_00K20B00D), + Rule::Get( + &textureCubeLodEXT_00K20B00B), + Rule::Get(&textureGather_00T20B00D), + Rule::Get(&textureGather_00T20B00D), + Rule::Get(&textureProj_00N20B), + Rule::Get( + &imageAtomicMaxExt_01E20D00D), + Rule::Get( + &imageAtomicMaxExt_01E20D00E), + Rule::Get(&textureProjLodOffset_00X30B00B10D), + Rule::Get(&textureProjLodOffset_00X30B00B10D), + Rule::Get(&texelFetchOffset_00U20D00D10D), + Rule::Get(&texelFetchOffset_00U20D00D10D), + Rule::Get( + &imageAtomicCompSwapExt_00z10D00E00E), + Rule::Get( + &imageAtomicMinExt_01D20D00E), + Rule::Get( + &imageAtomicMinExt_01D20D00D), + Rule::Get(&textureGradOffset_00d20B10B10B10D), + Rule::Get(&textureGradOffset_00d20B10B10B10D), + Rule::Get( + &imageAtomicCompSwapExt_01N00D00E00E), + Rule::Get(&textureProjOffset_00d30B10D), + Rule::Get(&textureProjOffset_00d30B10D), + Rule::Get( + &imageAtomicOrExt_01T10D00D00E), + Rule::Get( + &imageAtomicOrExt_01T10D00D00D), + Rule::Get(&equal_20F20F), + Rule::Get(&equal_20F20F), + Rule::Get(&usubBorrow_10E10E10E), + Rule::Get(&usubBorrow_10E10E10E), + Rule::Get(&equal_10B10B), + Rule::Get(&equal_10B10B), + Rule::Get(&isnan_10B), + Rule::Get(&isnan_10B), + Rule::Get(&uaddCarry_20E20E20E), + Rule::Get(&uaddCarry_20E20E20E), + Rule::Get( + &imageAtomicXorExt_01A10D00D), + Rule::Get( + &imageAtomicXorExt_01A10D00E), + Rule::Get( + &imageAtomicCompSwapExt_01C20D00D00D), + Rule::Get(&atomicMin_00D00D), + Rule::Get(&atomicMin_00D00D), + Rule::Get(&textureSize_00X00D), + Rule::Get(&textureSize_00X00D), + Rule::Get(&greaterThan_10B10B), + Rule::Get(&greaterThan_10B10B), + Rule::Get(&clamp_30D00D00D), + Rule::Get(&clamp_30D00D00D), + Rule::Get(&mix_20E20E20F), + Rule::Get(&mix_20E20E20F), + Rule::Get(&textureProjOffset_00R30B10D00B), + Rule::Get(&textureProjOffset_00R30B10D00B), + Rule::Get(&textureGather_00U20B00D), + Rule::Get(&textureGather_00U20B00D), + Rule::Get(&floatBitsToInt_00B), + Rule::Get(&floatBitsToInt_00B), + Rule::Get(&imageLoad_01a20D), + Rule::Get(&floatBitsToUint_00B), + Rule::Get(&floatBitsToUint_00B), + Rule::Get( + &imageAtomicCompSwapExt_01I20D00E00E), + Rule::Get( + &texture2DRectProj_00O20B), + Rule::Get(&tan_20B), + Rule::Get(&tan_20B), + Rule::Get(&floor_00B), + Rule::Get(&floor_00B), + Rule::Get( + &imageAtomicMaxExt_01O10D00E), + Rule::Get( + &imageAtomicMaxExt_01O10D00D), + Rule::Get( + &BuiltInVariable::kgl_DrawID), + Rule::Get(&modf_00B00B), + Rule::Get(&modf_00B00B), + Rule::Get(¬Equal_20D20D), + Rule::Get(¬Equal_20D20D), + Rule::Get( + &imageAtomicExchangeExt_01R10D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01R10D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01F20D00E), + Rule::Get(&determinant_A0B), + Rule::Get( + &imageAtomicExchangeExt_01i00D00D), + Rule::Get( + &imageAtomicExchangeExt_01i00D00E), + Rule::Get( + &imageAtomicExchangeExt_01i00D00B), + Rule::Get( + &imageAtomicOrExt_01I20D00E), + Rule::Get(&isnan_30B), + Rule::Get(&isnan_30B), + Rule::Get(&lessThanEqual_30D30D), + Rule::Get(&lessThanEqual_30D30D), + Rule::Get( + &textureProj_00M30B00B), + Rule::Get(&texture2DProj_00M30B), + Rule::Get(&textureGrad_00I10B10B10B), + Rule::Get(&textureGrad_00I10B10B10B), + Rule::Get(&step_00B20B), + Rule::Get(&step_00B20B), + Rule::Get(&texture2DProjLod_00I20B00B), + Rule::Get(&texture2DProjLod_00I20B00B), + Rule::Get(&yuv_2_rgb_20B00H), + Rule::Get(&texelFetch_00b10D00D), + Rule::Get(&texelFetch_00b10D00D), + Rule::Get( + &texelFetchExt_00b10D00D), + Rule::Get(&textureProj_00J30B00B), + Rule::Get(&textureProj_00J30B00B), + Rule::Get(&textureGather_00R10B), + Rule::Get(&textureGather_00R10B), + Rule::Get( + &imageAtomicOrExt_01V20D00D00D), + Rule::Get( + &imageAtomicOrExt_01V20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01P10D00D), + Rule::Get(&min_10D10D), + Rule::Get(&min_10D10D), + Rule::Get(&all_30F), + Rule::Get(&all_30F), + Rule::Get( + &imageAtomicExchangeExt_01P10D00E), + Rule::Get( + &imageAtomicAndExt_01S10D00D00E), + Rule::Get( + &imageAtomicAndExt_01S10D00D00D), + Rule::Get( + &BuiltInVariable::kangle_BaseVertex), + Rule::Get(&bitfieldReverse_20D), + Rule::Get(&bitfieldReverse_20D), + Rule::Get(&bitfieldReverse_20E), + Rule::Get(&bitfieldReverse_20E), + Rule::Get( + &imageAtomicExchangeExt_01I20D00D), + Rule::Get( + &imageAtomicExchangeExt_01I20D00E), + Rule::Get( + &imageAtomicExchangeExt_01I20D00B), + Rule::Get( + &TableBase::m_gl_MaxGeometryInputComponents), + Rule::Get(&textureGatherOffsets_00X10B10Dx4), + Rule::Get(&textureGatherOffsets_00X10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00X10B10Dx4), + Rule::Get(&fract_10B), + Rule::Get(&fract_10B), + Rule::Get(&textureLodOffset_00I10B00B10D), + Rule::Get(&textureLodOffset_00I10B00B10D), + Rule::Get( + &imageAtomicCompSwapExt_01S10D00D00E00E), + Rule::Get( + &imageAtomicXorExt_01c20D00E), + Rule::Get( + &imageAtomicXorExt_01c20D00D), + Rule::Get(&textureOffset_00U20B10D), + Rule::Get(&textureOffset_00U20B10D), + Rule::Get(&min_30B00B), + Rule::Get(&min_30B00B), + Rule::Get(&atomicAnd_00D00D), + Rule::Get(&atomicAnd_00D00D), + Rule::Get(&exp_10B), + Rule::Get(&exp_10B), + Rule::Get(&bitCount_30E), + Rule::Get(&bitCount_30E), + Rule::Get(&bitCount_30D), + Rule::Get(&bitCount_30D), + Rule::Get(&unpackUnorm2x16_00E), + Rule::Get(&unpackUnorm2x16_00E), + Rule::Get(&sqrt_20B), + Rule::Get(&sqrt_20B), + Rule::Get( + &TableBase::m_gl_PerVertex), + Rule::Get(&textureGrad_00L20B10B10B), + Rule::Get(&textureGrad_00L20B10B10B), + Rule::Get(&interpolateAtCentroid_00B), + Rule::Get(&interpolateAtCentroid_00B), + Rule::Get( + &interpolateAtCentroidExt_00B), + Rule::Get(&TableBase::m_gl_MaxImageUnits), + Rule::Get(&TableBase::m_gl_MaxImageUnits), + Rule::Get( + &imageAtomicOrExt_01Q10D00E), + Rule::Get( + &imageAtomicOrExt_01Q10D00D), + Rule::Get(&clamp_10D00D00D), + Rule::Get(&clamp_10D00D00D), + Rule::Get(&step_30B30B), + Rule::Get(&step_30B30B), + Rule::Get(&texelFetch_00P10D00D), + Rule::Get(&texelFetch_00P10D00D), + Rule::Get( + &texelFetchExt_00P10D00D), + Rule::Get( + &imageAtomicCompSwapExt_01i00D00D00D), + Rule::Get(&texture_00O10B), + Rule::Get( + &imageAtomicMinExt_01M00D00D), + Rule::Get( + &imageAtomicMinExt_01M00D00E), + Rule::Get(&texture_00e30B00B), + Rule::Get(&texture_00e30B00B), + Rule::Get( + &imageAtomicMinExt_01O10D00E), + Rule::Get( + &imageAtomicMinExt_01O10D00D), + Rule::Get(&BuiltInVariable::kgl_FragCoord), + Rule::Get(&BuiltInVariable::kgl_FragCoord), + Rule::Get( + &imageAtomicMaxExt_01X10D00D), + Rule::Get( + &imageAtomicMaxExt_01X10D00E), + Rule::Get( + &imageAtomicAndExt_01E20D00E), + Rule::Get( + &imageAtomicAndExt_01E20D00D), + Rule::Get(&normalize_00B), + Rule::Get(&normalize_00B), + Rule::Get( + &imageAtomicOrExt_01A10D00E), + Rule::Get( + &imageAtomicOrExt_01A10D00D), + Rule::Get( + &imageAtomicCompSwapExt_01Q10D00E00E), + Rule::Get(&atomicMax_00D00D), + Rule::Get(&atomicMax_00D00D), + Rule::Get(&floatBitsToUint_10B), + Rule::Get(&floatBitsToUint_10B), + Rule::Get(&textureLod_00J20B00B), + Rule::Get(&textureLod_00J20B00B), + Rule::Get(&textureSize_00I00D), + Rule::Get(&textureSize_00I00D), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), + Rule::Get(&texelFetchOffset_00R10D00D10D), + Rule::Get(&texelFetchOffset_00R10D00D10D), + Rule::Get(&textureLodOffset_00X10B00B10D), + Rule::Get(&textureLodOffset_00X10B00B10D), + Rule::Get(&texture_00T20B00B), + Rule::Get(&texture_00T20B00B), + Rule::Get(&log_30B), + Rule::Get(&log_30B), + Rule::Get(&smoothstep_00B00B20B), + Rule::Get(&smoothstep_00B00B20B), + Rule::Get( + &imageAtomicMaxExt_01K20D00D), + Rule::Get( + &imageAtomicMaxExt_01K20D00E), + Rule::Get(&imageStore_01G20D30D), + Rule::Get(&textureProjLod_00R20B00B), + Rule::Get(&textureProjLod_00R20B00B), + Rule::Get(¬Equal_30D30D), + Rule::Get(¬Equal_30D30D), + Rule::Get(&textureProjOffset_00I20B10D), + Rule::Get(&textureProjOffset_00I20B10D), + Rule::Get(&TableBase::m_gl_MaxDrawBuffers), + Rule::Get(&TableBase::m_gl_MaxDrawBuffers), + Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), + Rule::Get( + &imageAtomicMinExt_01K20D00D), + Rule::Get(&imulExtended_20D20D20D20D), + Rule::Get(&imulExtended_20D20D20D20D), + Rule::Get(&any_30F), + Rule::Get(&any_30F), + Rule::Get(&distance_30B30B), + Rule::Get(&distance_30B30B), + Rule::Get(&texture3D_00J20B00B), + Rule::Get(&dot_30B30B), + Rule::Get(&dot_30B30B), + Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), + Rule::Get(&usubBorrow_20E20E20E), + Rule::Get(&usubBorrow_20E20E20E), + Rule::Get(&mix_30B30B00B), + Rule::Get(&mix_30B30B00B), + Rule::Get(&clamp_30B00B00B), + Rule::Get(&clamp_30B00B00B), + Rule::Get( + &texture2DRectProj_00O30B), + Rule::Get(&max_10D00D), + Rule::Get(&max_10D00D), + Rule::Get(&clamp_00D00D00D), + Rule::Get(&clamp_00D00D00D), + Rule::Get(&floor_30B), + Rule::Get(&floor_30B), + Rule::Get(&texelFetch_00X10D00D), + Rule::Get(&texelFetch_00X10D00D), + Rule::Get(&textureProjGradOffset_00S30B20B20B20D), + Rule::Get(&textureProjGradOffset_00S30B20B20B20D), + Rule::Get(&BuiltInVariable::kgl_PointCoord), + Rule::Get(&BuiltInVariable::kgl_PointCoord), + Rule::Get(&bitfieldReverse_00D), + Rule::Get(&bitfieldReverse_00D), + Rule::Get(&bitfieldReverse_00E), + Rule::Get(&bitfieldReverse_00E), + Rule::Get(&imageStore_01F20D30B), + Rule::Get(&clamp_10B00B00B), + Rule::Get(&clamp_10B00B00B), + Rule::Get(&texelFetchOffset_00S20D00D20D), + Rule::Get(&texelFetchOffset_00S20D00D20D), + Rule::Get(&lessThan_10D10D), + Rule::Get(&lessThan_10D10D), + Rule::Get(&texture_00R10B00B), + Rule::Get(&texture_00R10B00B), + Rule::Get(&textureGatherOffset_00U20B10D00D), + Rule::Get(&textureGatherOffset_00U20B10D00D), + Rule::Get(&textureGather_00I10B00D), + Rule::Get(&textureGather_00I10B00D), + Rule::Get(&texelFetch_00V10D00D), + Rule::Get(&texelFetch_00V10D00D), + Rule::Get( + &texelFetchExt_00V10D00D), + Rule::Get( + &imageAtomicExchangeExt_01h00D00E), + Rule::Get( + &imageAtomicExchangeExt_01h00D00D), + Rule::Get(&atan_30B30B), + Rule::Get(&atan_30B30B), + Rule::Get( + &imageAtomicExchangeExt_01h00D00B), + Rule::Get( + &imageAtomicMaxExt_01a20D00D), + Rule::Get( + &imageAtomicMaxExt_01a20D00E), + Rule::Get(&max_00B00B), + Rule::Get(&max_00B00B), + Rule::Get( + &imageAtomicOrExt_01J20D00E), + Rule::Get( + &imageAtomicOrExt_01J20D00D), + Rule::Get( + &imageAtomicMaxExt_01F20D00E), + Rule::Get( + &imageAtomicMaxExt_01F20D00D), + Rule::Get(&exp2_20B), + Rule::Get(&exp2_20B), + Rule::Get( + &imageAtomicExchangeExt_00z10D00B), + Rule::Get( + &imageAtomicExchangeExt_00z10D00E), + Rule::Get( + &imageAtomicExchangeExt_00z10D00D), + Rule::Get(&textureProjLod_00Y30B00B), + Rule::Get(&textureProjLod_00Y30B00B), + Rule::Get( + &imageAtomicMinExt_01c20D00D), + Rule::Get( + &imageAtomicMinExt_01c20D00E), + Rule::Get(&textureSize_00k00D), + Rule::Get(&reflect_20B20B), + Rule::Get(&reflect_20B20B), + Rule::Get( + &imageAtomicXorExt_01V20D00D00E), + Rule::Get( + &imageAtomicXorExt_01V20D00D00D), + Rule::Get(&equal_10F10F), + Rule::Get(&equal_10F10F), + Rule::Get(&acos_30B), + Rule::Get(&acos_30B), + Rule::Get(&textureVideoWEBGL_00y10B), + Rule::Get(&textureVideoWEBGL_00y10B), + Rule::Get(&dFdx_10B), + Rule::Get(&dFdx_10B), + Rule::Get(&dFdxExt_10B), + Rule::Get(&bitfieldReverse_30E), + Rule::Get(&bitfieldReverse_30E), + Rule::Get(&bitfieldReverse_30D), + Rule::Get(&bitfieldReverse_30D), + Rule::Get( + &imageAtomicOrExt_01Z10D00D), + Rule::Get( + &imageAtomicOrExt_01Z10D00E), + Rule::Get(&fract_00B), + Rule::Get(&fract_00B), + Rule::Get(&min_30E00E), + Rule::Get(&min_30E00E), + Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), + Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), + Rule::Get(&interpolateAtOffset_20B10B), + Rule::Get(&interpolateAtOffset_20B10B), + Rule::Get( + &interpolateAtOffsetExt_20B10B), + Rule::Get( + &imageAtomicOrExt_01c20D00D), + Rule::Get( + &imageAtomicOrExt_01c20D00E), + Rule::Get(&reflect_30B30B), + Rule::Get(&reflect_30B30B), + Rule::Get(&interpolateAtCentroid_30B), + Rule::Get(&interpolateAtCentroid_30B), + Rule::Get( + &interpolateAtCentroidExt_30B), + Rule::Get(&mod_30B30B), + Rule::Get(&mod_30B30B), + Rule::Get( + &imageAtomicXorExt_01X10D00E), + Rule::Get( + &imageAtomicXorExt_01X10D00D), + Rule::Get(&memoryBarrier_), + Rule::Get(&memoryBarrier_), + Rule::Get(&pow_00B00B), + Rule::Get(&pow_00B00B), + Rule::Get(&mod_00B00B), + Rule::Get(&mod_00B00B), + Rule::Get(&unpackUnorm4x8_00E), + Rule::Get(&unpackUnorm4x8_00E), + Rule::Get(&roundEven_10B), + Rule::Get(&roundEven_10B), + Rule::Get(&atanh_30B), + Rule::Get(&atanh_30B), + Rule::Get(&textureLod_00K20B00B), + Rule::Get(&textureLod_00K20B00B), + Rule::Get(&bitCount_20D), + Rule::Get(&bitCount_20D), + Rule::Get(&bitCount_20E), + Rule::Get(&bitCount_20E), + Rule::Get(&texelFetch_00L20D00D), + Rule::Get(&texelFetch_00L20D00D), + Rule::Get( + &imageAtomicAndExt_01K20D00E), + Rule::Get(&distance_20B20B), + Rule::Get(&distance_20B20B), + Rule::Get(&uaddCarry_30E30E30E), + Rule::Get(&uaddCarry_30E30E30E), + Rule::Get(&textureSize_00U00D), + Rule::Get(&textureSize_00U00D), + Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), + Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), + Rule::Get( + &imageAtomicOrExt_01g00D00D), + Rule::Get( + &imageAtomicOrExt_01g00D00E), Rule::Get(&BuiltInVariable::kgl_GlobalInvocationID), Rule::Get(&BuiltInVariable::kgl_GlobalInvocationID), Rule::Get(&BuiltInVariable::kgl_LocalInvocationIndex), Rule::Get(&BuiltInVariable::kgl_LocalInvocationIndex), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDInES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDInES3_2), + Rule::Get(&BuiltInVariable::kgl_VertexID), + Rule::Get(&BuiltInVariable::kgl_VertexID), + Rule::Get( + &imageAtomicCompSwapExt_01U20D00D00D00D), + Rule::Get(&atomicOr_00E00E), + Rule::Get(&atomicOr_00E00E), + Rule::Get(&mix_10B10B10F), + Rule::Get(&mix_10B10B10F), + Rule::Get(&mix_10B10B10B), + Rule::Get(&mix_10B10B10B), + Rule::Get(&textureProj_00Y30B00B), + Rule::Get(&textureProj_00Y30B00B), + Rule::Get( + &imageAtomicMaxExt_01I20D00D), + Rule::Get( + &imageAtomicMaxExt_01I20D00E), + Rule::Get(&textureGatherOffset_00I10B10D00D), + Rule::Get(&textureGatherOffset_00I10B10D00D), + Rule::Get(¬Equal_20E20E), + Rule::Get(¬Equal_20E20E), + Rule::Get(&textureLodOffset_00d20B00B10D), + Rule::Get(&textureLodOffset_00d20B00B10D), + Rule::Get(&inverse_A0B), + Rule::Get(&inverse_A0B), + Rule::Get(&textureProjGrad_00X20B10B10B), + Rule::Get(&textureProjGrad_00X20B10B10B), + Rule::Get(&textureSize_00Y00D), + Rule::Get(&textureSize_00Y00D), + Rule::Get(&atan_20B20B), + Rule::Get(&atan_20B20B), + Rule::Get(&usubBorrow_00E00E00E), + Rule::Get(&usubBorrow_00E00E00E), + Rule::Get( + &imageAtomicXorExt_01M00D00E), + Rule::Get( + &imageAtomicXorExt_01M00D00D), + Rule::Get(&textureGatherOffsets_00U20B10Dx4), + Rule::Get(&textureGatherOffsets_00U20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00U20B10Dx4), + Rule::Get( + &imageAtomicCompSwapExt_01c20D00E00E), + Rule::Get(&texture2D_00I10B00B), + Rule::Get(&texture2D_00I10B00B), + Rule::Get(&fma_10B10B10B), + Rule::Get(&fma_10B10B10B), + Rule::Get(&fmaExt_10B10B10B), + Rule::Get(&smoothstep_00B00B10B), + Rule::Get(&smoothstep_00B00B10B), + Rule::Get( + &imageAtomicCompSwapExt_01a20D00D00D), + Rule::Get(&normalize_10B), + Rule::Get(&normalize_10B), + Rule::Get(&imageStore_01b20D30D), + Rule::Get(&bitfieldExtract_00E00D00D), + Rule::Get(&bitfieldExtract_00E00D00D), + Rule::Get(&any_20F), + Rule::Get(&any_20F), + Rule::Get(&BuiltInVariable::kgl_HelperInvocation), + Rule::Get(&BuiltInVariable::kgl_HelperInvocation), + Rule::Get(&sin_10B), + Rule::Get(&sin_10B), + Rule::Get(&textureSize_00N00D), + Rule::Get(&mod_20B20B), + Rule::Get(&mod_20B20B), + Rule::Get( + &imageAtomicOrExt_01h00D00E), + Rule::Get( + &imageAtomicOrExt_01h00D00D), + Rule::Get(&textureGrad_00k30B20B20B), + Rule::Get( + &imageAtomicMinExt_01A10D00E), + Rule::Get( + &imageAtomicMinExt_01A10D00D), + Rule::Get(&textureGradOffset_00f30B10B10B10D), + Rule::Get(&textureGradOffset_00f30B10B10B10D), + Rule::Get(&max_20D20D), + Rule::Get(&max_20D20D), + Rule::Get(&max_10D10D), + Rule::Get(&max_10D10D), + Rule::Get(&refract_30B30B00B), + Rule::Get(&refract_30B30B00B), + Rule::Get(&floor_20B), + Rule::Get(&floor_20B), + Rule::Get(&mix_00B00B00B), + Rule::Get(&mix_00B00B00B), + Rule::Get(&matrixCompMult_F0BF0B), + Rule::Get(&matrixCompMult_F0BF0B), + Rule::Get(&umulExtended_10E10E10E10E), + Rule::Get(&umulExtended_10E10E10E10E), + Rule::Get(&texture_00d20B00B), + Rule::Get(&texture_00d20B00B), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), + Rule::Get(&umulExtended_30E30E30E30E), + Rule::Get(&umulExtended_30E30E30E30E), + Rule::Get(&textureGradOffset_00Y20B20B20B20D), + Rule::Get(&textureGradOffset_00Y20B20B20B20D), + Rule::Get(&textureGatherOffset_00a20B10D), + Rule::Get(&textureGatherOffset_00a20B10D), + Rule::Get(&textureGrad_00f30B10B10B), + Rule::Get(&textureGrad_00f30B10B10B), + Rule::Get( + &imageAtomicXorExt_01C20D00E), + Rule::Get(&modf_20B20B), + Rule::Get(&modf_20B20B), + Rule::Get( + &imageAtomicAndExt_01Y10D00D), + Rule::Get( + &imageAtomicAndExt_01Y10D00E), + Rule::Get( + &imageAtomicAddExt_01i00D00E), + Rule::Get( + &imageAtomicAddExt_01i00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01L00D00E00E), + Rule::Get(&texture_00y10B), + Rule::Get(&texture_00y10B), + Rule::Get(&length_30B), + Rule::Get(&length_30B), + Rule::Get(&imageStore_01B10D30E), + Rule::Get(&textureGather_00s30B), + Rule::Get( + &imageAtomicMinExt_00z10D00E), + Rule::Get( + &imageAtomicMinExt_00z10D00D), + Rule::Get(&imageStore_01I20D30B), + Rule::Get(&exp2_30B), + Rule::Get(&exp2_30B), + Rule::Get( + &texture3DProj_00J30B00B), + Rule::Get( + &imageAtomicAddExt_01K20D00E), + Rule::Get( + &imageAtomicAddExt_01K20D00D), + Rule::Get(&textureProjLod_00X30B00B), + Rule::Get(&textureProjLod_00X30B00B), + Rule::Get(&textureProjGradOffset_00I30B10B10B10D), + Rule::Get(&textureProjGradOffset_00I30B10B10B10D), + Rule::Get( + &imageAtomicAddExt_01W20D00D00D), + Rule::Get(&cosh_30B), + Rule::Get(&cosh_30B), + Rule::Get(&textureOffset_00S20B20D00B), + Rule::Get(&textureOffset_00S20B20D00B), + Rule::Get(&usubBorrow_30E30E30E), + Rule::Get(&usubBorrow_30E30E30E), + Rule::Get( + &imageAtomicMaxExt_01W20D00D00E), + Rule::Get( + &imageAtomicMaxExt_01W20D00D00D), + Rule::Get(&textureProjOffset_00R20B10D00B), + Rule::Get(&textureProjOffset_00R20B10D00B), + Rule::Get(&texture3DProj_00J30B), + Rule::Get(&matrixCompMult_B0BB0B), + Rule::Get(&lessThan_30B30B), + Rule::Get(&lessThan_30B30B), + Rule::Get(&cross_20B20B), + Rule::Get(&cross_20B20B), + Rule::Get(&all_10F), + Rule::Get(&all_10F), + Rule::Get(&clamp_20B00B00B), + Rule::Get(&clamp_20B00B00B), + Rule::Get(&dFdx_00B), + Rule::Get(&dFdx_00B), + Rule::Get(&dFdxExt_00B), + Rule::Get(&textureLodOffset_00S20B00B20D), + Rule::Get(&textureLodOffset_00S20B00B20D), + Rule::Get(&acos_20B), + Rule::Get(&acos_20B), + Rule::Get(&texelFetch_00r00D), + Rule::Get(&max_20B20B), + Rule::Get(&max_20B20B), + Rule::Get(&textureLod_00X10B00B), + Rule::Get(&textureLod_00X10B00B), + Rule::Get(&equal_30F30F), + Rule::Get(&equal_30F30F), + Rule::Get(&cosh_00B), + Rule::Get(&cosh_00B), + Rule::Get(&bitfieldExtract_00D00D00D), + Rule::Get(&bitfieldExtract_00D00D00D), + Rule::Get( + &imageAtomicMinExt_01E20D00D), + Rule::Get( + &imageAtomicMinExt_01E20D00E), + Rule::Get(&textureLod_00Z20B00B), + Rule::Get(&textureLod_00Z20B00B), + Rule::Get(&sign_00D), + Rule::Get(&sign_00D), + Rule::Get(&textureOffset_00Y20B20D), + Rule::Get(&textureOffset_00Y20B20D), + Rule::Get( + &imageAtomicXorExt_01Q10D00D), + Rule::Get( + &imageAtomicXorExt_01Q10D00E), + Rule::Get(&transpose_60B), + Rule::Get(&transpose_60B), + Rule::Get( + &imageAtomicAddExt_01O10D00D), + Rule::Get( + &imageAtomicAddExt_01O10D00E), + Rule::Get(&faceforward_00B00B00B), + Rule::Get(&faceforward_00B00B00B), + Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), + Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), + Rule::Get( + &imageAtomicOrExt_01O10D00E), + Rule::Get( + &imageAtomicOrExt_01O10D00D), + Rule::Get( + &imageAtomicAddExt_01b20D00D), + Rule::Get( + &imageAtomicAddExt_01b20D00E), + Rule::Get(&textureProjLodOffset_00R30B00B10D), + Rule::Get(&textureProjLodOffset_00R30B00B10D), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00D), + Rule::Get(&imageStore_01H20D30E), + Rule::Get(&textureGather_00U20B), + Rule::Get(&textureGather_00U20B), + Rule::Get( + &texelFetchExt_00Q20D00D), + Rule::Get(&roundEven_00B), + Rule::Get(&roundEven_00B), + Rule::Get(&atanh_20B), + Rule::Get(&atanh_20B), + Rule::Get(&texelFetch_00w00D), + Rule::Get(&textureProjOffset_00X30B10D), + Rule::Get(&textureProjOffset_00X30B10D), + Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), + Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), + Rule::Get(&interpolateAtOffset_10B10B), + Rule::Get(&interpolateAtOffset_10B10B), + Rule::Get( + &interpolateAtOffsetExt_10B10B), + Rule::Get( + &imageAtomicCompSwapExt_01Q10D00D00D), + Rule::Get(&abs_30B), + Rule::Get(&abs_30B), + Rule::Get(&bitfieldInsert_10E10E00D00D), + Rule::Get(&bitfieldInsert_10E10E00D00D), + Rule::Get(&packSnorm4x8_30B), + Rule::Get(&packSnorm4x8_30B), + Rule::Get(&mix_10B10B00B), + Rule::Get(&mix_10B10B00B), + Rule::Get(&textureGatherOffset_00X10B10D), + Rule::Get(&textureGatherOffset_00X10B10D), + Rule::Get(&clamp_30D30D30D), + Rule::Get(&clamp_30D30D30D), + Rule::Get(&textureGatherOffsets_00L20B10Dx4), + Rule::Get(&textureGatherOffsets_00L20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00L20B10Dx4), + Rule::Get( + &imageAtomicMaxExt_01c20D00E), + Rule::Get( + &imageAtomicMaxExt_01G20D00D), + Rule::Get( + &imageAtomicMaxExt_01G20D00E), + Rule::Get(&determinant_F0B), + Rule::Get(&transpose_A0B), + Rule::Get(&transpose_A0B), + Rule::Get(&pow_20B20B), + Rule::Get(&pow_20B20B), + Rule::Get( + &texture2DProjGradEXT_00I20B10B10B), + Rule::Get( + &imageAtomicMaxExt_01B10D00D), + Rule::Get( + &imageAtomicMaxExt_01B10D00E), + Rule::Get( + &imageAtomicExchangeExt_01G20D00B), + Rule::Get( + &imageAtomicExchangeExt_01G20D00D), + Rule::Get( + &imageAtomicExchangeExt_01G20D00E), + Rule::Get( + &imageAtomicMaxExt_01g00D00D), + Rule::Get( + &imageAtomicMaxExt_01g00D00E), + Rule::Get(&texture_00s30B00B), + Rule::Get(&log2_20B), + Rule::Get(&log2_20B), + Rule::Get(&textureProjOffset_00I20B10D00B), + Rule::Get(&textureProjOffset_00I20B10D00B), + Rule::Get( + &imageAtomicAndExt_01T10D00D00D), + Rule::Get( + &imageAtomicAndExt_01T10D00D00E), + Rule::Get(¬Equal_10F10F), + Rule::Get(¬Equal_10F10F), + Rule::Get(&smoothstep_00B00B00B), + Rule::Get(&smoothstep_00B00B00B), + Rule::Get(&textureProjLodOffset_00d30B00B10D), + Rule::Get(&textureProjLodOffset_00d30B00B10D), + Rule::Get( + &imageAtomicAndExt_01P10D00E), + Rule::Get( + &imageAtomicAndExt_01P10D00D), + Rule::Get(&textureProjLodOffset_00I30B00B10D), + Rule::Get(&textureProjLodOffset_00I30B00B10D), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), + Rule::Get(&bitfieldInsert_10D10D00D00D), + Rule::Get(&bitfieldInsert_10D10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01N00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01L00D00D00D), + Rule::Get(&textureGather_00k30B), + Rule::Get(&texture_00J20B), + Rule::Get(&texture_00J20B), + Rule::Get(&lessThanEqual_10D10D), + Rule::Get(&lessThanEqual_10D10D), + Rule::Get(&TableBase::m_gl_MaxVaryingVectors), + Rule::Get(&TableBase::m_gl_MaxVaryingVectors), + Rule::Get(&textureSize_00d00D), + Rule::Get(&textureSize_00d00D), + Rule::Get(&sin_00B), + Rule::Get(&sin_00B), + Rule::Get(&uaddCarry_10E10E10E), + Rule::Get(&uaddCarry_10E10E10E), + Rule::Get(&atomicCounterIncrement_00G), + Rule::Get(&atomicCounterIncrement_00G), + Rule::Get( + &imageAtomicAddExt_01J20D00D), + Rule::Get( + &imageAtomicAddExt_01J20D00E), + Rule::Get( + &imageAtomicCompSwapExt_01S10D00D00D00D), + Rule::Get( + &imageAtomicAddExt_01U20D00D00D), + Rule::Get( + &imageAtomicAddExt_01U20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00B), + Rule::Get(&equal_10E10E), + Rule::Get(&equal_10E10E), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00E), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00D), + Rule::Get(&imageLoad_01B10D), + Rule::Get( + &imageAtomicExchangeExt_01O10D00E), + Rule::Get(&textureProjOffset_00J30B20D), + Rule::Get(&textureProjOffset_00J30B20D), + Rule::Get( + &imageAtomicXorExt_01D20D00D), + Rule::Get( + &imageAtomicXorExt_01D20D00E), + Rule::Get(¬Equal_10E10E), + Rule::Get(¬Equal_10E10E), + Rule::Get( + &imageAtomicExchangeExt_01N00D00B), + Rule::Get( + &imageAtomicExchangeExt_01N00D00E), + Rule::Get( + &imageAtomicExchangeExt_01N00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01O10D00D00D), + Rule::Get( + &imageAtomicMinExt_01i00D00D), + Rule::Get( + &imageAtomicMinExt_01i00D00E), + Rule::Get(&textureLodOffset_00R10B00B10D), + Rule::Get(&textureLodOffset_00R10B00B10D), + Rule::Get(&trunc_10B), + Rule::Get(&trunc_10B), + Rule::Get( + &imageAtomicAddExt_01S10D00D00D), + Rule::Get(&length_20B), + Rule::Get(&length_20B), + Rule::Get(&TableBase::m_gl_DepthRangeParameters), + Rule::Get(&TableBase::m_gl_DepthRangeParameters), + Rule::Get( + &imageAtomicAndExt_01B10D00E), + Rule::Get(&textureGather_00f20B), + Rule::Get(&textureProj_00d30B00B), + Rule::Get(&textureProj_00d30B00B), + Rule::Get(&sign_10B), + Rule::Get(&sign_10B), + Rule::Get(&max_00E00E), + Rule::Get(&max_00E00E), + Rule::Get(&texture_00a20B00B), + Rule::Get(&texture_00a20B00B), + Rule::Get( + &textureProj_00M20B00B), + Rule::Get(&imageLoad_01A10D), + Rule::Get(&textureProjOffset_00X30B10D00B), + Rule::Get(&textureProjOffset_00X30B10D00B), + Rule::Get(&exp2_00B), + Rule::Get(&exp2_00B), + Rule::Get( + &imageAtomicExchangeExt_01H20D00B), + Rule::Get( + &imageAtomicCompSwapExt_01H20D00E00E), + Rule::Get( + &imageAtomicExchangeExt_01H20D00E), + Rule::Get( + &imageAtomicExchangeExt_01H20D00D), + Rule::Get(&textureGather_00a20B00D), + Rule::Get(&textureGather_00a20B00D), + Rule::Get(&textureSize_00s00D), + Rule::Get(&texture_00Y20B), + Rule::Get(&texture_00Y20B), + Rule::Get( + &imageAtomicOrExt_01I20D00D), + Rule::Get(&texture_00N10B00B), + Rule::Get( + &BuiltInVariable::kgl_PrimitiveID), + Rule::Get( + &BuiltInVariable::kgl_PrimitiveIDGS), + Rule::Get( + &imageAtomicCompSwapExt_01Y10D00D00D), + Rule::Get(&textureProjGrad_00I30B10B10B), + Rule::Get(&textureProjGrad_00I30B10B10B), + Rule::Get( + &BuiltInVariable::kgl_Layer), + Rule::Get( + &BuiltInVariable::kgl_LayerGS), + Rule::Get(&textureOffset_00d20B10D), + Rule::Get(&textureOffset_00d20B10D), + Rule::Get(&dFdx_30B), + Rule::Get(&dFdx_30B), + Rule::Get(&dFdxExt_30B), + Rule::Get(&textureGatherOffsets_00U20B10Dx400D), + Rule::Get(&textureGatherOffsets_00U20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00U20B10Dx400D), + Rule::Get( + &imageAtomicMinExt_01V20D00D00D), + Rule::Get( + &imageAtomicMinExt_01V20D00D00E), + Rule::Get( + &BuiltInVariable::kgl_LastFragColor), + Rule::Get(&min_20E20E), + Rule::Get(&min_20E20E), + Rule::Get(&asin_20B), + Rule::Get(&asin_20B), + Rule::Get( + &imageAtomicCompSwapExt_01U20D00D00E00E), + Rule::Get(&texture_00l30B00B), + Rule::Get(&fwidth_10B), + Rule::Get(&fwidth_10B), + Rule::Get( + &fwidthExt_10B), + Rule::Get(&dFdy_00B), + Rule::Get(&dFdy_00B), + Rule::Get(&dFdyExt_00B), + Rule::Get(&lessThan_30E30E), + Rule::Get(&lessThan_30E30E), + Rule::Get(&imulExtended_30D30D30D30D), + Rule::Get(&imulExtended_30D30D30D30D), + Rule::Get(&transpose_70B), + Rule::Get(&transpose_70B), + Rule::Get(&imulExtended_00D00D00D00D), + Rule::Get(&imulExtended_00D00D00D00D), + Rule::Get( + &imageAtomicAddExt_01F20D00D), + Rule::Get( + &imageAtomicAddExt_01F20D00E), + Rule::Get(&texture_00S20B00B), + Rule::Get(&texture_00S20B00B), + Rule::Get(&textureLod_00Y20B00B), + Rule::Get(&textureLod_00Y20B00B), + Rule::Get( + &imageAtomicExchangeExt_01c20D00D), + Rule::Get( + &imageAtomicExchangeExt_01c20D00E), + Rule::Get( + &imageAtomicExchangeExt_01c20D00B), + Rule::Get(&min_20D00D), + Rule::Get(&min_20D00D), + Rule::Get( + &imageAtomicCompSwapExt_01P10D00D00D), + Rule::Get(&uintBitsToFloat_00E), + Rule::Get(&uintBitsToFloat_00E), + Rule::Get( + &imageAtomicMinExt_01L00D00E), + Rule::Get( + &imageAtomicMinExt_01L00D00D), + Rule::Get(&bitfieldInsert_20D20D00D00D), + Rule::Get(&bitfieldInsert_20D20D00D00D), + Rule::Get(&imageSize_01b), + Rule::Get(&texture_00Z20B), + Rule::Get(&texture_00Z20B), + Rule::Get(&tanh_00B), + Rule::Get(&tanh_00B), + Rule::Get( + &imageAtomicMaxExt_01N00D00E), + Rule::Get( + &imageAtomicMaxExt_01N00D00D), + Rule::Get(&matrixCompMult_D0BD0B), + Rule::Get( + &TableBase::m_gl_MaxClipDistances), + Rule::Get( + &imageAtomicXorExt_01g00D00E), + Rule::Get( + &imageAtomicXorExt_01g00D00D), + Rule::Get(&min_30B30B), + Rule::Get(&min_30B30B), + Rule::Get(&lessThan_20E20E), + Rule::Get(&lessThan_20E20E), + Rule::Get(&memoryBarrierAtomicCounter_), + Rule::Get(&memoryBarrierAtomicCounter_), + Rule::Get(&bitfieldInsert_00E00E00D00D), + Rule::Get(&bitfieldInsert_00E00E00D00D), + Rule::Get( + &imageAtomicMinExt_01a20D00D), + Rule::Get( + &imageAtomicMinExt_01a20D00E), + Rule::Get(&textureGrad_00d20B10B10B), + Rule::Get(&textureGrad_00d20B10B10B), + Rule::Get(&mix_30D30D30F), + Rule::Get(&mix_30D30D30F), + Rule::Get(&atan_10B), + Rule::Get(&atan_10B), + Rule::Get( + &imageAtomicCompSwapExt_01g00D00D00D), + Rule::Get(&step_00B10B), + Rule::Get(&step_00B10B), + Rule::Get(&textureProjLod_00I20B00B), + Rule::Get(&textureProjLod_00I20B00B), + Rule::Get(&rgb_2_yuv_20B00H), + Rule::Get(&texture_00T20B), + Rule::Get(&texture_00T20B), + Rule::Get(&log2_10B), + Rule::Get(&log2_10B), + Rule::Get( + &imageAtomicAndExt_01D20D00D), + Rule::Get( + &imageAtomicAndExt_01D20D00E), + Rule::Get(&findLSB_20E), + Rule::Get(&findLSB_20E), + Rule::Get(&findLSB_20D), + Rule::Get(&findLSB_20D), + Rule::Get( + &imageAtomicCompSwapExt_01B10D00D00D), + Rule::Get( + &imageAtomicOrExt_01X10D00D), + Rule::Get( + &imageAtomicOrExt_01X10D00E), + Rule::Get(&greaterThanEqual_10B10B), + Rule::Get(&greaterThanEqual_10B10B), + Rule::Get(&clamp_10D10D10D), + Rule::Get(&clamp_10D10D10D), + Rule::Get( + &texelFetch_00M10D00D), + Rule::Get(&transpose_F0B), + Rule::Get(&transpose_F0B), + Rule::Get(&textureOffset_00Y20B20D00B), + Rule::Get(&textureOffset_00Y20B20D00B), + Rule::Get(&textureGradOffset_00S20B20B20B20D), + Rule::Get(&textureGradOffset_00S20B20B20B20D), + Rule::Get(&clamp_30E30E30E), + Rule::Get(&clamp_30E30E30E), + Rule::Get(&textureSize_00R00D), + Rule::Get(&textureSize_00R00D), + Rule::Get(&inverse_F0B), + Rule::Get(&inverse_F0B), + Rule::Get(&acosh_10B), + Rule::Get(&acosh_10B), + Rule::Get(&imageLoad_01b20D), + Rule::Get(&textureOffset_00L20B10D00B), + Rule::Get(&textureOffset_00L20B10D00B), + Rule::Get(&mod_20B00B), + Rule::Get(&mod_20B00B), + Rule::Get(&textureProjLod_00J30B00B), + Rule::Get(&textureProjLod_00J30B00B), + Rule::Get(&transpose_90B), + Rule::Get(&transpose_90B), + Rule::Get(&atomicAnd_00E00E), + Rule::Get(&atomicAnd_00E00E), + Rule::Get(&max_20D00D), + Rule::Get(&max_20D00D), + Rule::Get(&texelFetchOffset_00I10D00D10D), + Rule::Get(&texelFetchOffset_00I10D00D10D), + Rule::Get( + &imageAtomicMinExt_01Z10D00D), + Rule::Get( + &imageAtomicMinExt_01Z10D00E), + Rule::Get( + &imageAtomicCompSwapExt_01i00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01K20D00D00D), + Rule::Get(&imageStore_01J20D30D), + Rule::Get(&atomicCounter_00G), + Rule::Get(&atomicCounter_00G), + Rule::Get(&bitfieldInsert_30D30D00D00D), + Rule::Get(&bitfieldInsert_30D30D00D00D), + Rule::Get(&greaterThan_10D10D), + Rule::Get(&greaterThan_10D10D), + Rule::Get(&bitfieldExtract_10E00D00D), + Rule::Get(&bitfieldExtract_10E00D00D), + Rule::Get(&greaterThan_20D20D), + Rule::Get(&greaterThan_20D20D), + Rule::Get( + &imageAtomicAndExt_01W20D00D00D), + Rule::Get( + &imageAtomicAndExt_01W20D00D00E), + Rule::Get(&trunc_00B), + Rule::Get(&trunc_00B), + Rule::Get(&length_10B), + Rule::Get(&length_10B), + Rule::Get( + &imageAtomicAddExt_01H20D00D), + Rule::Get( + &imageAtomicAddExt_01H20D00E), + Rule::Get(&dot_00B00B), + Rule::Get(&dot_00B00B), + Rule::Get(&tan_30B), + Rule::Get(&tan_30B), + Rule::Get(&textureLod_00T20B00B), + Rule::Get(&textureLod_00T20B00B), + Rule::Get(&textureProjGrad_00R30B10B10B), + Rule::Get(&textureProjGrad_00R30B10B10B), + Rule::Get(&exp2_10B), + Rule::Get(&exp2_10B), + Rule::Get(&textureProjOffset_00X20B10D00B), + Rule::Get(&textureProjOffset_00X20B10D00B), + Rule::Get( + &imageAtomicXorExt_01i00D00E), + Rule::Get( + &imageAtomicXorExt_01i00D00D), + Rule::Get(&matrixCompMult_A0BA0B), + Rule::Get(&matrixCompMult_A0BA0B), + Rule::Get(&textureGrad_00S20B20B20B), + Rule::Get(&textureGrad_00S20B20B20B), + Rule::Get(&round_30B), + Rule::Get(&round_30B), + Rule::Get(&textureGrad_00x30B20B20B), + Rule::Get( + &imageAtomicCompSwapExt_01D20D00E00E), + Rule::Get(&interpolateAtSample_00B00D), + Rule::Get(&interpolateAtSample_00B00D), + Rule::Get( + &interpolateAtSampleExt_00B00D), + Rule::Get(&dFdx_20B), + Rule::Get(&dFdx_20B), + Rule::Get(&dFdxExt_20B), + Rule::Get(&texture_00L20B), + Rule::Get(&texture_00L20B), + Rule::Get(&barrier_), + Rule::Get(&barrier_), + Rule::Get( + &imageAtomicOrExt_01N00D00E), + Rule::Get( + &imageAtomicOrExt_01N00D00D), + Rule::Get(&textureGather_00k30B00D), + Rule::Get(&findMSB_20D), + Rule::Get(&findMSB_20D), + Rule::Get(&findMSB_20E), + Rule::Get(&findMSB_20E), + Rule::Get( + &imageAtomicMinExt_01S10D00D00D), + Rule::Get( + &imageAtomicMinExt_01S10D00D00E), + Rule::Get(&textureProjOffset_00S30B20D00B), + Rule::Get(&textureProjOffset_00S30B20D00B), + Rule::Get( + &imageAtomicAddExt_01D20D00D), + Rule::Get( + &imageAtomicAddExt_01D20D00E), + Rule::Get(&unpackSnorm4x8_00E), + Rule::Get(&unpackSnorm4x8_00E), + Rule::Get(&imageLoad_01C20D), + Rule::Get( + &imageAtomicMaxExt_01C20D00D), + Rule::Get( + &imageAtomicMaxExt_01C20D00E), + Rule::Get(&textureGather_00l30B00B), + Rule::Get(&asin_30B), + Rule::Get(&asin_30B), + Rule::Get(&isnan_20B), + Rule::Get(&isnan_20B), + Rule::Get(&fwidth_00B), + Rule::Get(&fwidth_00B), + Rule::Get( + &fwidthExt_00B), + Rule::Get(&dFdy_10B), + Rule::Get(&dFdy_10B), + Rule::Get(&dFdyExt_10B), + Rule::Get( + &imageAtomicAddExt_01P10D00E), + Rule::Get( + &imageAtomicAddExt_01P10D00D), + Rule::Get(&max_30E00E), + Rule::Get(&max_30E00E), + Rule::Get(&textureLod_00d20B00B), + Rule::Get(&textureLod_00d20B00B), + Rule::Get( + &imageAtomicAddExt_01c20D00E), + Rule::Get( + &imageAtomicAddExt_01c20D00D), + Rule::Get(&mod_10B00B), + Rule::Get(&mod_10B00B), + Rule::Get(&uintBitsToFloat_10E), + Rule::Get(&uintBitsToFloat_10E), + Rule::Get( + &imageAtomicMaxExt_01Q10D00E), + Rule::Get( + &imageAtomicMaxExt_01Q10D00D), + Rule::Get(&bitfieldExtract_20D00D00D), + Rule::Get(&bitfieldExtract_20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01M00D00D), + Rule::Get( + &imageAtomicMaxExt_01M00D00E), + Rule::Get( + &imageAtomicAddExt_01E20D00E), + Rule::Get( + &imageAtomicAddExt_01E20D00D), + Rule::Get(&textureLodOffset_00Y20B00B20D), + Rule::Get(&textureLodOffset_00Y20B00B20D), + Rule::Get(&log2_00B), + Rule::Get(&log2_00B), + Rule::Get(&tanh_10B), + Rule::Get(&tanh_10B), + Rule::Get( + &imageAtomicMinExt_01I20D00E), + Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&clamp_00B00B00B), + Rule::Get(&clamp_00B00B00B), + Rule::Get(&textureGather_00d10B), + Rule::Get( + &TableBase::m_gl_MaxGeometryAtomicCounterBuffers), + Rule::Get( + &imageAtomicXorExt_01B10D00E), + Rule::Get( + &imageAtomicXorExt_01B10D00D), + Rule::Get(&outerProduct_20B10B), + Rule::Get(&outerProduct_20B10B), + Rule::Get(&textureGrad_00e30B20B20B), + Rule::Get(&textureGrad_00e30B20B20B), + Rule::Get(&textureSize_00J00D), + Rule::Get(&textureSize_00J00D), + Rule::Get( + &imageAtomicXorExt_01K20D00E), + Rule::Get( + &imageAtomicXorExt_01K20D00D), + Rule::Get( + &imageAtomicMinExt_01U20D00D00E), + Rule::Get( + &imageAtomicMinExt_01U20D00D00D), + Rule::Get( + &imageAtomicAddExt_01Q10D00D), + Rule::Get( + &imageAtomicAddExt_01Q10D00E), + Rule::Get( + &imageAtomicXorExt_01T10D00D00D), + Rule::Get( + &imageAtomicXorExt_01T10D00D00E), + Rule::Get( + &imageAtomicAndExt_01b20D00D), + Rule::Get(&step_00B00B), + Rule::Get(&step_00B00B), + Rule::Get( + &texture2DLodEXT_00I10B00B), + Rule::Get(&texture_00K20B00B), + Rule::Get(&texture_00K20B00B), + Rule::Get(&textureGrad_00J20B20B20B), + Rule::Get(&textureGrad_00J20B20B20B), + Rule::Get( + &imageAtomicCompSwapExt_01V20D00D00E00E), + Rule::Get(&textureOffset_00U20B10D00B), + Rule::Get(&textureOffset_00U20B10D00B), + Rule::Get(&intBitsToFloat_10D), + Rule::Get(&intBitsToFloat_10D), + Rule::Get(&findLSB_10D), + Rule::Get(&findLSB_10D), + Rule::Get(&textureProjLodOffset_00Y30B00B20D), + Rule::Get(&textureProjLodOffset_00Y30B00B20D), + Rule::Get( + &imageAtomicMaxExt_01h00D00E), + Rule::Get(&texture3D_00J20B), + Rule::Get( + &TableBase::m_gl_SecondaryFragDataEXT), + Rule::Get(&floor_10B), + Rule::Get(&floor_10B), + Rule::Get( + &imageAtomicAndExt_01O10D00D), + Rule::Get( + &imageAtomicAndExt_01O10D00E), + Rule::Get( + &imageAtomicXorExt_01W20D00D00D), + Rule::Get( + &imageAtomicXorExt_01W20D00D00E), + Rule::Get( + &imageAtomicXorExt_01Z10D00E), + Rule::Get( + &imageAtomicXorExt_01Z10D00D), + Rule::Get(&textureGather_00X10B00D), + Rule::Get(&textureGather_00X10B00D), + Rule::Get( + &imageAtomicMaxExt_01L00D00E), + Rule::Get( + &imageAtomicMaxExt_01L00D00D), + Rule::Get( + &imageAtomicXorExt_01G20D00E), + Rule::Get( + &imageAtomicXorExt_01G20D00D), + Rule::Get(&textureOffset_00a20B10D), + Rule::Get(&textureOffset_00a20B10D), + Rule::Get(&min_30E30E), + Rule::Get(&min_30E30E), + Rule::Get(&texture2DProj_00I30B00B), + Rule::Get(&texture2DProj_00I30B00B), + Rule::Get( + &imageAtomicAndExt_01I20D00E), + Rule::Get( + &textureCubeGradEXT_00K20B20B20B), + Rule::Get(&min_00B00B), + Rule::Get(&min_00B00B), + Rule::Get(&BuiltInVariable::kgl_WorkGroupID), + Rule::Get(&BuiltInVariable::kgl_WorkGroupID), + Rule::Get(°rees_00B), + Rule::Get(°rees_00B), + Rule::Get( + &imageAtomicMaxExt_01J20D00E), + Rule::Get( + &imageAtomicMaxExt_01J20D00D), + Rule::Get(&textureGatherOffsets_00R10B10Dx4), + Rule::Get(&textureGatherOffsets_00R10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00R10B10Dx4), + Rule::Get(&atomicExchange_00D00D), + Rule::Get(&atomicExchange_00D00D), + Rule::Get( + &TableBase::m_gl_MaxGeometryAtomicCounters), + Rule::Get(&frexp_10B10D), + Rule::Get(&frexp_10B10D), + Rule::Get( + &imageAtomicExchangeExt_01a20D00D), + Rule::Get( + &imageAtomicExchangeExt_01a20D00E), + Rule::Get( + &imageAtomicExchangeExt_01a20D00B), + Rule::Get(&matrixCompMult_60B60B), + Rule::Get( + &imageAtomicCompSwapExt_00z10D00D00D), + Rule::Get(&unpackSnorm2x16_00E), + Rule::Get(&unpackSnorm2x16_00E), + Rule::Get(&lessThan_30D30D), + Rule::Get(&lessThan_30D30D), + Rule::Get(&atan_00B00B), + Rule::Get(&atan_00B00B), + Rule::Get(¬Equal_10B10B), + Rule::Get(¬Equal_10B10B), + Rule::Get(&imageLoad_01G20D), + Rule::Get(&trunc_30B), + Rule::Get(&trunc_30B), + Rule::Get(&length_00B), + Rule::Get(&length_00B), + Rule::Get(&imageStore_01c20D30E), + Rule::Get( + &imageAtomicAndExt_01H20D00D), + Rule::Get( + &imageAtomicAndExt_01H20D00E), + Rule::Get(&textureProj_00X30B00B), + Rule::Get(&textureProj_00X30B00B), + Rule::Get( + &imageAtomicCompSwapExt_01C20D00E00E), + Rule::Get(&tan_00B), + Rule::Get(&tan_00B), + Rule::Get(&min_20E00E), + Rule::Get(&min_20E00E), + Rule::Get(&textureLod_00x30B00B), + Rule::Get(&textureSize_00j), + Rule::Get(&cos_00B), + Rule::Get(&cos_00B), + Rule::Get( + &textureSizeExt_00c), + Rule::Get(&textureSize_00b), + Rule::Get(&textureSize_00b), + Rule::Get( + &textureSizeExt_00b), + Rule::Get(&min_20B20B), + Rule::Get(&min_20B20B), + Rule::Get(&textureSize_00r), + Rule::Get(&textureSize_00w), + Rule::Get(&bitfieldInsert_20E20E00D00D), + Rule::Get(&bitfieldInsert_20E20E00D00D), + Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), + Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), + Rule::Get( + &imageAtomicMinExt_01g00D00D), + Rule::Get( + &imageAtomicMinExt_01g00D00E), + Rule::Get( + &textureSizeExt_00Q), + Rule::Get(&textureSize_00P), + Rule::Get(&textureSize_00P), + Rule::Get( + &textureSizeExt_00P), + Rule::Get( + &imageAtomicAddExt_01M00D00E), + Rule::Get( + &imageAtomicAddExt_01M00D00D), + Rule::Get( + &textureSizeExt_00W), + Rule::Get(&textureProjLod_00X20B00B), + Rule::Get(&textureProjLod_00X20B00B), + Rule::Get(&faceforward_30B30B30B), + Rule::Get(&faceforward_30B30B30B), + Rule::Get(&texture_00X10B), + Rule::Get(&texture_00X10B), + Rule::Get(&ceil_00B), + Rule::Get(&ceil_00B), + Rule::Get(&distance_00B00B), + Rule::Get(&distance_00B00B), + Rule::Get( + &imageAtomicExchangeExt_01C20D00D), + Rule::Get( + &imageAtomicExchangeExt_01C20D00E), + Rule::Get(&textureGrad_00s30B20B20B), + Rule::Get(&textureGather_00I10B), + Rule::Get(&textureGather_00I10B), + Rule::Get( + &imageAtomicExchangeExt_01C20D00B), + Rule::Get(&min_30D30D), + Rule::Get(&min_30D30D), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00B), + Rule::Get(&findMSB_30E), + Rule::Get(&findMSB_30E), + Rule::Get(&findMSB_30D), + Rule::Get(&findMSB_30D), + Rule::Get(&fwidth_30B), + Rule::Get(&fwidth_30B), + Rule::Get( + &fwidthExt_30B), + Rule::Get(&textureGrad_00K20B20B20B), + Rule::Get(&textureGrad_00K20B20B20B), + Rule::Get(&texelFetch_00S20D00D), + Rule::Get(&texelFetch_00S20D00D), + Rule::Get(&max_10B00B), + Rule::Get(&max_10B00B), + Rule::Get(&textureProjGradOffset_00R30B10B10B10D), + Rule::Get(&textureProjGradOffset_00R30B10B10B10D), + Rule::Get(&texelFetchOffset_00L20D00D10D), + Rule::Get(&texelFetchOffset_00L20D00D10D), + Rule::Get(&transpose_50B), + Rule::Get(&transpose_50B), + Rule::Get(&greaterThanEqual_20D20D), + Rule::Get(&greaterThanEqual_20D20D), + Rule::Get(&asinh_00B), + Rule::Get(&asinh_00B), Rule::Get( &BuiltInVariable::kgl_PrimitiveIDIn), - Rule::Get(&BuiltInVariable::kgl_InvocationIDES3_2), - Rule::Get(&BuiltInVariable::kgl_InvocationIDES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationID), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCS), - Rule::Get(&TableBase::m_gl_PerVertexES3_2), - Rule::Get(&TableBase::m_gl_PerVertexES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTCSES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTCSES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTESES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTESES3_2), - Rule::Get( - &TableBase::m_gl_PerVertex), - Rule::Get( - &TableBase::m_gl_PerVertexTCS), - Rule::Get( - &TableBase::m_gl_PerVertexTES), - Rule::Get(&TableBase::m_gl_inES3_2), - Rule::Get(&TableBase::m_gl_inES3_2), - Rule::Get(&TableBase::m_gl_inTCSES3_2), - Rule::Get(&TableBase::m_gl_inTCSES3_2), - Rule::Get(&TableBase::m_gl_inTESES3_2), - Rule::Get(&TableBase::m_gl_inTESES3_2), - Rule::Get( - &TableBase::m_gl_in), - Rule::Get( - &TableBase::m_gl_inTCS), - Rule::Get( - &TableBase::m_gl_inTES), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCS), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTES), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTCSES3_2), - Rule::Get(&TableBase::m_gl_TessLevelOuterTCSES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTCS), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTES), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTCSES3_2), - Rule::Get(&TableBase::m_gl_TessLevelInnerTCSES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTCS), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTES), - Rule::Get(&TableBase::m_gl_outTCSES3_2), - Rule::Get(&TableBase::m_gl_outTCSES3_2), - Rule::Get(&TableBase::m_gl_outTESES3_2), - Rule::Get(&TableBase::m_gl_outTESES3_2), - Rule::Get( - &TableBase::m_gl_outTCS), - Rule::Get( - &TableBase::m_gl_outTES), - Rule::Get(&BuiltInVariable::kgl_TessCoord), - Rule::Get(&BuiltInVariable::kgl_TessCoord), - Rule::Get( - &BuiltInVariable::kgl_ViewID_OVR)}; + Rule::Get(&textureGather_00Z20B), + Rule::Get(&textureGather_00Z20B), + Rule::Get(&greaterThan_20B20B), + Rule::Get(&greaterThan_20B20B), + Rule::Get(&min_20D20D), + Rule::Get(&min_20D20D), + Rule::Get( + &imageAtomicCompSwapExt_01g00D00E00E), + Rule::Get( + &imageAtomicMinExt_01W20D00D00E), + Rule::Get( + &imageAtomicMinExt_01W20D00D00D), + Rule::Get( + &imageAtomicXorExt_01O10D00D), + Rule::Get( + &imageAtomicXorExt_01O10D00E), + Rule::Get(&tanh_20B), + Rule::Get(&tanh_20B), + Rule::Get(&sin_20B), + Rule::Get(&sin_20B), + Rule::Get(&textureSize_00l00D), + Rule::Get(&textureOffset_00I10B10D00B), + Rule::Get(&textureOffset_00I10B10D00B), + Rule::Get( + &imageAtomicAndExt_00z10D00D), + Rule::Get( + &imageAtomicAndExt_00z10D00E), + Rule::Get( + &imageAtomicCompSwapExt_01W20D00D00D00D), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), + Rule::Get(&textureOffset_00J20B20D00B), + Rule::Get(&textureOffset_00J20B20D00B), + Rule::Get(&lessThanEqual_20E20E), + Rule::Get(&lessThanEqual_20E20E), + Rule::Get( + &BuiltInVariable::kgl_BaseVertex), + Rule::Get( + &TableBase::m_gl_MaxGeometryTotalOutputComponents), + Rule::Get(&bitfieldInsert_30E30E00D00D), + Rule::Get(&bitfieldInsert_30E30E00D00D), + Rule::Get(&bitfieldExtract_20E00D00D), + Rule::Get(&bitfieldExtract_20E00D00D), + Rule::Get(&uintBitsToFloat_20E), + Rule::Get(&uintBitsToFloat_20E), + Rule::Get( + &imageAtomicExchangeExt_01K20D00D), + Rule::Get( + &imageAtomicExchangeExt_01K20D00E), + Rule::Get(&mod_10B10B), + Rule::Get(&mod_10B10B), + Rule::Get( + &imageAtomicExchangeExt_01K20D00B), + Rule::Get(&textureProjGradOffset_00X30B10B10B10D), + Rule::Get(&textureProjGradOffset_00X30B10B10B10D), + Rule::Get( + &imageAtomicAndExt_01B10D00D), + Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), + Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), + Rule::Get(&equal_20D20D), + Rule::Get(&equal_20D20D), + Rule::Get(&mix_10E10E10F), + Rule::Get(&mix_10E10E10F), + Rule::Get(&textureGather_00R10B00D), + Rule::Get(&textureGather_00R10B00D), + Rule::Get(&textureSize_00Z00D), + Rule::Get(&textureSize_00Z00D), + Rule::Get(&bitfieldExtract_30D00D00D), + Rule::Get(&bitfieldExtract_30D00D00D), + Rule::Get( + &imageAtomicXorExt_01J20D00D), + Rule::Get( + &imageAtomicXorExt_01J20D00E), + Rule::Get(&intBitsToFloat_00D), + Rule::Get(&intBitsToFloat_00D), + Rule::Get(&findLSB_00E), + Rule::Get(&findLSB_00E), + Rule::Get(&findLSB_00D), + Rule::Get(&findLSB_00D), + Rule::Get(&textureGather_00d10B00B), + Rule::Get(&textureGather_00d10B00B), + Rule::Get( + &imageAtomicAddExt_01T10D00D00D), + Rule::Get( + &imageAtomicAddExt_01T10D00D00E), + Rule::Get(&inversesqrt_10B), + Rule::Get(&inversesqrt_10B), + Rule::Get(&abs_30D), + Rule::Get(&abs_30D), + Rule::Get(&transpose_D0B), + Rule::Get(&transpose_D0B), + Rule::Get(&imageLoad_01E20D), + Rule::Get(&textureProj_00N20B00B), + Rule::Get(&TableBase::m_gl_FragData), + Rule::Get(&TableBase::m_gl_FragData), + Rule::Get(&clamp_20E00E00E), + Rule::Get(&clamp_20E00E00E), + Rule::Get(&textureProj_00d30B), + Rule::Get(&textureProj_00d30B), + Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), + Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), + Rule::Get( + &imageAtomicOrExt_01i00D00D), + Rule::Get( + &imageAtomicOrExt_01i00D00E), + Rule::Get(&cosh_10B), + Rule::Get(&cosh_10B), + Rule::Get( + &imageAtomicAndExt_01G20D00E), + Rule::Get( + &imageAtomicAndExt_01G20D00D), + Rule::Get(&sign_10D), + Rule::Get(&sign_10D), + Rule::Get(&umulExtended_00E00E00E00E), + Rule::Get(&umulExtended_00E00E00E00E), + Rule::Get(&TableBase::m_gl_MaxVertexAttribs), + Rule::Get(&TableBase::m_gl_MaxVertexAttribs), + Rule::Get(&texture_00a20B), + Rule::Get(&texture_00a20B), + Rule::Get( + &imageAtomicExchangeExt_01g00D00B), + Rule::Get( + &imageAtomicExchangeExt_01B10D00B), + Rule::Get(&ldexp_10B10D), + Rule::Get(&ldexp_10B10D), + Rule::Get( + &imageAtomicExchangeExt_01B10D00D), + Rule::Get( + &imageAtomicExchangeExt_01B10D00E), + Rule::Get( + &imageAtomicExchangeExt_01g00D00D), + Rule::Get( + &imageAtomicExchangeExt_01g00D00E), + Rule::Get(°rees_10B), + Rule::Get(°rees_10B), + Rule::Get(&texture_00k30B00B), + Rule::Get(&texture_00K20B), + Rule::Get(&texture_00K20B), + Rule::Get(&sinh_10B), + Rule::Get(&sinh_10B), + Rule::Get( + &imageAtomicXorExt_01C20D00D), + Rule::Get(&textureGatherOffsets_00I10B10Dx400D), + Rule::Get(&textureGatherOffsets_00I10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00I10B10Dx400D), + Rule::Get(¬Func_30F), + Rule::Get(¬Func_30F), + Rule::Get(&textureProjLodOffset_00I20B00B10D), + Rule::Get(&textureProjLodOffset_00I20B00B10D), + Rule::Get(&textureGather_00K20B), + Rule::Get(&textureGather_00K20B), + Rule::Get(&textureGatherOffset_00R10B10D), + Rule::Get(&textureGatherOffset_00R10B10D), + Rule::Get(&memoryBarrierShared_), + Rule::Get(&memoryBarrierShared_), + Rule::Get(&clamp_20B20B20B), + Rule::Get(&clamp_20B20B20B), + Rule::Get( + &texelFetchExt_00W20D00D), + Rule::Get(&trunc_20B), + Rule::Get(&trunc_20B), + Rule::Get(&textureProjOffset_00I30B10D00B), + Rule::Get(&textureProjOffset_00I30B10D00B), + Rule::Get(&tan_10B), + Rule::Get(&tan_10B), + Rule::Get( + &imageAtomicOrExt_01U20D00D00E), + Rule::Get( + &imageAtomicOrExt_01U20D00D00D), + Rule::Get( + &imageAtomicOrExt_01B10D00D), + Rule::Get( + &imageAtomicOrExt_01B10D00E), + Rule::Get(&isinf_20B), + Rule::Get(&isinf_20B), + Rule::Get(&textureGatherOffset_00X10B10D00D), + Rule::Get(&textureGatherOffset_00X10B10D00D), + Rule::Get(&min_10E10E), + Rule::Get(&min_10E10E), + Rule::Get(&memoryBarrierImage_), + Rule::Get(&memoryBarrierImage_), + Rule::Get(&round_10B), + Rule::Get(&round_10B), + Rule::Get(&fma_00B00B00B), + Rule::Get(&fma_00B00B00B), + Rule::Get(&fmaExt_00B00B00B), + Rule::Get(&textureLodOffset_00L20B00B10D), + Rule::Get(&textureLodOffset_00L20B00B10D), + Rule::Get( + &imageAtomicOrExt_01b20D00E), + Rule::Get( + &imageAtomicOrExt_01b20D00D), + Rule::Get(&atomicMax_00E00E), + Rule::Get(&atomicMax_00E00E), + Rule::Get(&textureProjOffset_00R30B10D), + Rule::Get(&textureProjOffset_00R30B10D), + Rule::Get(&textureProj_00X30B), + Rule::Get(&textureProj_00X30B), + Rule::Get(&findMSB_00D), + Rule::Get(&findMSB_00D), + Rule::Get(&findMSB_00E), + Rule::Get(&findMSB_00E), + Rule::Get(&textureProjOffset_00X20B10D), + Rule::Get(&textureProjOffset_00X20B10D), + Rule::Get( + &imageAtomicCompSwapExt_01X10D00D00D), + Rule::Get(&min_30D00D), + Rule::Get(&min_30D00D), + Rule::Get( + &imageAtomicCompSwapExt_01K20D00E00E), + Rule::Get( + &texture_00M10B00B), + Rule::Get(&fwidth_20B), + Rule::Get(&fwidth_20B), + Rule::Get( + &fwidthExt_20B), + Rule::Get( + &imageAtomicOrExt_01S10D00D00D), + Rule::Get( + &imageAtomicOrExt_01S10D00D00E), + Rule::Get( + &imageAtomicAddExt_01A10D00D), + Rule::Get( + &imageAtomicAddExt_01A10D00E), + Rule::Get( + &imageAtomicOrExt_01H20D00E), + Rule::Get( + &imageAtomicOrExt_01H20D00D), + Rule::Get(&cos_20B), + Rule::Get(&cos_20B), + Rule::Get( + &TableBase::m_gl_MaxGeometryUniformComponents), + Rule::Get(&textureGather_00T20B), + Rule::Get(&textureGather_00T20B), + Rule::Get(&textureProjGradOffset_00J30B20B20B20D), + Rule::Get(&textureProjGradOffset_00J30B20B20B20D), + Rule::Get(&asinh_10B), + Rule::Get(&asinh_10B), + Rule::Get( + &imageAtomicXorExt_01E20D00E), + Rule::Get( + &imageAtomicXorExt_01E20D00D), + Rule::Get(&textureGatherOffsets_00R10B10Dx400D), + Rule::Get(&textureGatherOffsets_00R10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00R10B10Dx400D)}; // Flat array of all mangled names. -constexpr const char *kMangledNames[] = {"radians(00B", - "radians(10B", - "radians(20B", - "radians(30B", - "degrees(00B", - "degrees(10B", - "degrees(20B", - "degrees(30B", - "sin(00B", - "sin(10B", - "sin(20B", - "sin(30B", - "cos(00B", - "cos(10B", - "cos(20B", - "cos(30B", - "tan(00B", - "tan(10B", - "tan(20B", - "tan(30B", - "asin(00B", - "asin(10B", - "asin(20B", - "asin(30B", - "acos(00B", - "acos(10B", - "acos(20B", - "acos(30B", - "atan(00B00B", - "atan(10B10B", - "atan(20B20B", - "atan(30B30B", - "atan(00B", - "atan(10B", - "atan(20B", - "atan(30B", - "sinh(00B", - "sinh(10B", - "sinh(20B", - "sinh(30B", - "cosh(00B", - "cosh(10B", - "cosh(20B", - "cosh(30B", - "tanh(00B", - "tanh(10B", - "tanh(20B", +constexpr const char *kMangledNames[] = {"textureProj(00R30B00B", + "interpolateAtOffset(30B10B", + "imageAtomicOr(00z10D00E", + "imageAtomicOr(00z10D00D", + "texture2DProj(00I20B", + "gl_MaxAtomicCounterBindings", + "imageLoad(01g00D", + "imageLoad(01I20D", "tanh(30B", - "asinh(00B", - "asinh(10B", - "asinh(20B", - "asinh(30B", - "acosh(00B", - "acosh(10B", - "acosh(20B", - "acosh(30B", - "atanh(00B", - "atanh(10B", - "atanh(20B", - "atanh(30B", - "pow(00B00B", - "pow(10B10B", - "pow(20B20B", - "pow(30B30B", - "exp(00B", - "exp(10B", - "exp(20B", - "exp(30B", - "log(00B", - "log(10B", - "log(20B", - "log(30B", - "exp2(00B", - "exp2(10B", - "exp2(20B", - "exp2(30B", - "log2(00B", - "log2(10B", - "log2(20B", - "log2(30B", - "sqrt(00B", - "sqrt(10B", - "sqrt(20B", - "sqrt(30B", + "imageAtomicCompSwap(01E20D00D00D", + "imageAtomicCompSwap(01W20D00D00E00E", + "not(10F", + "textureGatherOffset(00L20B10D", + "lessThanEqual(30B30B", + "imageAtomicAdd(00z10D00E", + "outerProduct(20B30B", + "mix(20B20B00B", + "uintBitsToFloat(30E", + "imageAtomicExchange(01R10D00D00B", + "textureSize(00K00D", + "gl_MaxGeometryOutputVertices", + "greaterThanEqual(10E10E", + "texture(00d20B", + "atan(10B10B", + "clamp(30B30B30B", + "imageAtomicCompSwap(01a20D00E00E", + "imageAtomicCompSwap(01R10D00D00D00D", + "textureLodOffset(00a20B00B10D", + "greaterThanEqual(20B20B", + "imageLoad(01F20D", + "imageAtomicCompSwap(01b20D00D00D", + "imageAtomicAnd(01A10D00D", + "imageAtomicAnd(01A10D00E", + "atomicAdd(00D00D", + "bitfieldExtract(10D00D00D", + "mix(20D20D20F", + "imageAtomicMin(01Y10D00E", + "imageAtomicMin(01Y10D00D", + "texture(00R10B", + "imageAtomicCompSwap(01D20D00D00D", + "imageAtomicMax(01S10D00D00D", + "imageAtomicMax(01S10D00D00E", "inversesqrt(00B", - "inversesqrt(10B", - "inversesqrt(20B", - "inversesqrt(30B", - "abs(00B", - "abs(10B", - "abs(20B", - "abs(30B", - "abs(00D", - "abs(10D", - "abs(20D", - "abs(30D", - "sign(00B", - "sign(10B", - "sign(20B", - "sign(30B", - "sign(00D", - "sign(10D", - "sign(20D", - "sign(30D", - "floor(00B", - "floor(10B", - "floor(20B", - "floor(30B", - "trunc(00B", - "trunc(10B", - "trunc(20B", - "trunc(30B", - "round(00B", - "round(10B", - "round(20B", - "round(30B", - "roundEven(00B", - "roundEven(10B", - "roundEven(20B", - "roundEven(30B", - "ceil(00B", - "ceil(10B", - "ceil(20B", - "ceil(30B", - "fract(00B", - "fract(10B", - "fract(20B", - "fract(30B", - "mod(00B00B", - "mod(10B00B", - "mod(20B00B", - "mod(30B00B", - "mod(10B10B", - "mod(20B20B", - "mod(30B30B", - "min(00B00B", - "min(10B00B", - "min(20B00B", - "min(30B00B", - "min(10B10B", - "min(20B20B", - "min(30B30B", - "min(00D00D", - "min(10D10D", - "min(20D20D", - "min(30D30D", - "min(10D00D", - "min(20D00D", - "min(30D00D", - "min(00E00E", - "min(10E10E", - "min(20E20E", - "min(30E30E", - "min(10E00E", - "min(20E00E", - "min(30E00E", - "max(00B00B", - "max(10B00B", - "max(20B00B", - "max(30B00B", - "max(10B10B", - "max(20B20B", - "max(30B30B", - "max(00D00D", - "max(10D10D", - "max(20D20D", - "max(30D30D", - "max(10D00D", - "max(20D00D", + "texelFetchOffset(00J20D00D20D", + "textureProjGrad(00S30B20B20B", + "equal(10D10D", "max(30D00D", - "max(00E00E", + "groupMemoryBarrier(", + "imageAtomicExchange(01b20D00B", + "imageAtomicExchange(01b20D00E", + "imageAtomicExchange(01b20D00D", + "intBitsToFloat(30D", + "texelFetch(00I10D00D", + "transpose(E0B", + "imageAtomicMin(01R10D00D00E", + "imageAtomicMin(01R10D00D00D", + "textureProjOffset(00Y30B20D00B", + "imageStore(01C20D30B", + "modf(10B10B", + "determinant(50B", + "imageAtomicCompSwap(01J20D00E00E", + "normalize(30B", + "lessThan(20B20B", + "imageStore(01K20D30E", + "gl_MaxFragmentInputVectors", + "texture(00f30B", + "sign(20B", + "sign(20D", + "outerProduct(30B10B", + "imageAtomicAnd(01V20D00D00E", + "imageAtomicAnd(01V20D00D00D", + "imageAtomicXor(01Y10D00D", + "imageAtomicXor(01Y10D00E", + "bitfieldReverse(10E", + "textureOffset(00d20B10D00B", + "bitfieldReverse(10D", + "lessThan(10E10E", + "imageAtomicCompSwap(01A10D00D00D", + "imageAtomicAdd(00z10D00D", + "textureProj(00N30B00B", + "gl_MaxCombinedShaderOutputResources", + "imageAtomicCompSwap(01T10D00D00D00D", + "texture(00I10B00B", + "imageAtomicMin(01C20D00E", + "lessThan(20D20D", + "reflect(10B10B", + "imageAtomicAdd(01S10D00D00E", + "isinf(30B", + "textureGatherOffset(00a20B10D00D", + "textureGatherOffset(00I10B10D", + "textureOffset(00L20B10D", + "lessThanEqual(30E30E", + "min(10E00E", + "imageAtomicXor(01a20D00E", + "imageAtomicXor(01a20D00D", + "textureProjOffset(00S30B20D", + "round(00B", + "gl_LastFragData", + "greaterThan(30D30D", + "texture(00U20B", + "texture2DRect(00O10B", + "step(20B20B", + "findMSB(10E", + "findMSB(10D", + "interpolateAtOffset(00B10B", + "textureProj(00R20B00B", + "imageStore(00z10D30B", + "textureGatherOffsets(00X10B10Dx400D", + "outerProduct(10B20B", + "imageAtomicMax(01Z10D00E", + "cos(30B", + "unpackHalf2x16(00E", + "gl_MaxComputeTextureImageUnits", + "imageAtomicMax(01Y10D00E", + "imageAtomicMax(01Y10D00D", + "sin(30B", + "textureGather(00L20B00D", + "imageStore(01i00D30E", + "imageStore(01A10D30D", + "imageAtomicXor(01H20D00D", + "imageAtomicXor(01H20D00E", "max(10E10E", "max(20E20E", - "max(30E30E", - "max(10E00E", - "max(20E00E", - "max(30E00E", - "clamp(00B00B00B", - "clamp(10B00B00B", - "clamp(20B00B00B", - "clamp(30B00B00B", - "clamp(10B10B10B", - "clamp(20B20B20B", - "clamp(30B30B30B", - "clamp(00D00D00D", - "clamp(10D00D00D", - "clamp(20D00D00D", - "clamp(30D00D00D", - "clamp(10D10D10D", - "clamp(20D20D20D", - "clamp(30D30D30D", - "clamp(00E00E00E", - "clamp(10E00E00E", - "clamp(20E00E00E", - "clamp(30E00E00E", "clamp(10E10E10E", - "clamp(20E20E20E", - "clamp(30E30E30E", - "mix(00B00B00B", - "mix(10B10B00B", - "mix(20B20B00B", - "mix(30B30B00B", - "mix(10B10B10B", - "mix(20B20B20B", - "mix(30B30B30B", - "mix(00B00B00F", - "mix(10B10B10F", - "mix(20B20B20F", - "mix(30B30B30F", - "mix(00D00D00F", - "mix(10D10D10F", - "mix(20D20D20F", - "mix(30D30D30F", - "mix(00E00E00F", - "mix(10E10E10F", - "mix(20E20E20F", - "mix(30E30E30F", - "mix(00F00F00F", - "mix(10F10F10F", - "mix(20F20F20F", - "mix(30F30F30F", - "step(00B00B", - "step(10B10B", - "step(20B20B", - "step(30B30B", - "step(00B10B", - "step(00B20B", - "step(00B30B", - "smoothstep(00B00B00B", - "smoothstep(10B10B10B", - "smoothstep(20B20B20B", - "smoothstep(30B30B30B", - "smoothstep(00B00B10B", - "smoothstep(00B00B20B", - "smoothstep(00B00B30B", - "modf(00B00B", - "modf(10B10B", - "modf(20B20B", - "modf(30B30B", - "isnan(00B", - "isnan(10B", - "isnan(20B", - "isnan(30B", - "isinf(00B", - "isinf(10B", - "isinf(20B", - "isinf(30B", - "floatBitsToInt(00B", - "floatBitsToInt(10B", - "floatBitsToInt(20B", - "floatBitsToInt(30B", - "floatBitsToUint(00B", - "floatBitsToUint(10B", - "floatBitsToUint(20B", - "floatBitsToUint(30B", - "intBitsToFloat(00D", - "intBitsToFloat(10D", - "intBitsToFloat(20D", - "intBitsToFloat(30D", - "uintBitsToFloat(00E", - "uintBitsToFloat(10E", - "uintBitsToFloat(20E", - "uintBitsToFloat(30E", - "fma(00B00B00B", - "fma(10B10B10B", - "fma(20B20B20B", - "fma(30B30B30B", - "frexp(00B00D", - "frexp(10B10D", - "frexp(20B20D", - "frexp(30B30D", - "ldexp(00B00D", - "ldexp(10B10D", - "ldexp(20B20D", - "ldexp(30B30D", - "packSnorm2x16(10B", - "packHalf2x16(10B", - "unpackSnorm2x16(00E", - "unpackHalf2x16(00E", - "packUnorm2x16(10B", - "unpackUnorm2x16(00E", - "packUnorm4x8(30B", - "packSnorm4x8(30B", - "unpackUnorm4x8(00E", - "unpackSnorm4x8(00E", - "length(00B", - "length(10B", - "length(20B", - "length(30B", - "distance(00B00B", - "distance(10B10B", - "distance(20B20B", - "distance(30B30B", - "dot(00B00B", - "dot(10B10B", - "dot(20B20B", - "dot(30B30B", - "cross(20B20B", - "normalize(00B", - "normalize(10B", - "normalize(20B", - "normalize(30B", - "faceforward(00B00B00B", - "faceforward(10B10B10B", - "faceforward(20B20B20B", - "faceforward(30B30B30B", - "reflect(00B00B", - "reflect(10B10B", - "reflect(20B20B", - "reflect(30B30B", - "refract(00B00B00B", - "refract(10B10B00B", - "refract(20B20B00B", - "refract(30B30B00B", - "matrixCompMult(50B50B", - "matrixCompMult(A0BA0B", - "matrixCompMult(F0BF0B", - "matrixCompMult(90B90B", - "matrixCompMult(60B60B", - "matrixCompMult(D0BD0B", - "matrixCompMult(70B70B", - "matrixCompMult(E0BE0B", - "matrixCompMult(B0BB0B", - "outerProduct(10B10B", - "outerProduct(20B20B", - "outerProduct(30B30B", - "outerProduct(20B10B", - "outerProduct(10B20B", - "outerProduct(30B10B", - "outerProduct(10B30B", - "outerProduct(30B20B", - "outerProduct(20B30B", - "transpose(50B", - "transpose(A0B", - "transpose(F0B", - "transpose(60B", - "transpose(90B", - "transpose(70B", - "transpose(D0B", - "transpose(B0B", - "transpose(E0B", - "determinant(50B", - "determinant(A0B", - "determinant(F0B", - "inverse(50B", - "inverse(A0B", - "inverse(F0B", - "lessThan(10B10B", - "lessThan(20B20B", - "lessThan(30B30B", - "lessThan(10D10D", - "lessThan(20D20D", - "lessThan(30D30D", - "lessThan(10E10E", - "lessThan(20E20E", - "lessThan(30E30E", - "lessThanEqual(10B10B", - "lessThanEqual(20B20B", - "lessThanEqual(30B30B", - "lessThanEqual(10D10D", - "lessThanEqual(20D20D", - "lessThanEqual(30D30D", - "lessThanEqual(10E10E", - "lessThanEqual(20E20E", - "lessThanEqual(30E30E", - "greaterThan(10B10B", - "greaterThan(20B20B", - "greaterThan(30B30B", - "greaterThan(10D10D", - "greaterThan(20D20D", - "greaterThan(30D30D", - "greaterThan(10E10E", - "greaterThan(20E20E", - "greaterThan(30E30E", - "greaterThanEqual(10B10B", - "greaterThanEqual(20B20B", - "greaterThanEqual(30B30B", - "greaterThanEqual(10D10D", - "greaterThanEqual(20D20D", - "greaterThanEqual(30D30D", - "greaterThanEqual(10E10E", - "greaterThanEqual(20E20E", - "greaterThanEqual(30E30E", - "equal(10B10B", - "equal(20B20B", - "equal(30B30B", - "equal(10D10D", - "equal(20D20D", - "equal(30D30D", - "equal(10E10E", - "equal(20E20E", - "equal(30E30E", - "equal(10F10F", - "equal(20F20F", - "equal(30F30F", - "notEqual(10B10B", - "notEqual(20B20B", - "notEqual(30B30B", - "notEqual(10D10D", - "notEqual(20D20D", - "notEqual(30D30D", - "notEqual(10E10E", - "notEqual(20E20E", - "notEqual(30E30E", - "notEqual(10F10F", - "notEqual(20F20F", - "notEqual(30F30F", - "any(10F", - "any(20F", - "any(30F", - "all(10F", - "all(20F", - "all(30F", - "not(10F", - "not(20F", - "not(30F", - "bitfieldExtract(00D00D00D", - "bitfieldExtract(10D00D00D", - "bitfieldExtract(20D00D00D", - "bitfieldExtract(30D00D00D", - "bitfieldExtract(00E00D00D", - "bitfieldExtract(10E00D00D", - "bitfieldExtract(20E00D00D", - "bitfieldExtract(30E00D00D", - "bitfieldInsert(00D00D00D00D", - "bitfieldInsert(10D10D00D00D", - "bitfieldInsert(20D20D00D00D", - "bitfieldInsert(30D30D00D00D", - "bitfieldInsert(00E00E00D00D", - "bitfieldInsert(10E10E00D00D", - "bitfieldInsert(20E20E00D00D", - "bitfieldInsert(30E30E00D00D", - "bitfieldReverse(00D", - "bitfieldReverse(10D", - "bitfieldReverse(20D", - "bitfieldReverse(30D", - "bitfieldReverse(00E", - "bitfieldReverse(10E", - "bitfieldReverse(20E", - "bitfieldReverse(30E", - "bitCount(00D", - "bitCount(10D", - "bitCount(20D", - "bitCount(30D", - "bitCount(00E", - "bitCount(10E", - "bitCount(20E", - "bitCount(30E", - "findLSB(00D", - "findLSB(10D", - "findLSB(20D", - "findLSB(30D", - "findLSB(00E", - "findLSB(10E", - "findLSB(20E", - "findLSB(30E", - "findMSB(00D", - "findMSB(10D", - "findMSB(20D", - "findMSB(30D", - "findMSB(00E", - "findMSB(10E", - "findMSB(20E", - "findMSB(30E", - "uaddCarry(00E00E00E", - "uaddCarry(10E10E10E", - "uaddCarry(20E20E20E", - "uaddCarry(30E30E30E", - "usubBorrow(00E00E00E", - "usubBorrow(10E10E10E", - "usubBorrow(20E20E20E", - "usubBorrow(30E30E30E", - "umulExtended(00E00E00E00E", - "umulExtended(10E10E10E10E", - "umulExtended(20E20E20E20E", - "umulExtended(30E30E30E30E", - "imulExtended(00D00D00D00D", - "imulExtended(10D10D10D10D", - "imulExtended(20D20D20D20D", - "imulExtended(30D30D30D30D", - "texture2D(00I10B", - "texture2DProj(00I20B", - "texture2DProj(00I30B", - "textureCube(00K20B", - "texture2D(00M10B", - "texture2DProj(00M20B", - "texture2DProj(00M30B", - "texture2DRect(00O10B", - "texture2DRectProj(00O20B", - "texture2DRectProj(00O30B", - "texture(00O10B", - "textureProj(00O20B", - "textureProj(00O30B", - "texture2DGradEXT(00I10B10B10B", - "texture2DProjGradEXT(00I20B10B10B", - "texture2DProjGradEXT(00I30B10B10B", - "textureCubeGradEXT(00K20B20B20B", - "texture2D(00I10B00B", - "texture2DProj(00I20B00B", - "texture2DProj(00I30B00B", - "textureCube(00K20B00B", - "dFdx(00B", - "dFdx(10B", - "dFdx(20B", - "dFdx(30B", - "dFdy(00B", - "dFdy(10B", - "dFdy(20B", - "dFdy(30B", - "fwidth(00B", - "fwidth(10B", - "fwidth(20B", - "fwidth(30B", - "texture2DLodEXT(00I10B00B", - "texture2DProjLodEXT(00I20B00B", - "texture2DProjLodEXT(00I30B00B", - "textureCubeLodEXT(00K20B00B", - "shadow2DEXT(00d20B", - "shadow2DProjEXT(00d30B", - "texture3D(00J20B", - "texture3DProj(00J30B", - "texture3D(00J20B00B", - "texture3DProj(00J30B00B", - "texture3DLod(00J20B00B", - "texture3DProjLod(00J30B00B", - "texture2DLod(00I10B00B", - "texture2DProjLod(00I20B00B", - "texture2DProjLod(00I30B00B", - "textureCubeLod(00K20B00B", - "texture(00I10B", - "texture(00R10B", - "texture(00X10B", - "texture(00J20B", - "texture(00S20B", - "texture(00Y20B", - "texture(00K20B", - "texture(00T20B", - "texture(00Z20B", - "texture(00L20B", - "texture(00U20B", - "texture(00a20B", - "texture(00d20B", - "texture(00e30B", - "texture(00f30B", - "textureProj(00I20B", - "textureProj(00R20B", - "textureProj(00X20B", - "textureProj(00I30B", - "textureProj(00R30B", - "textureProj(00X30B", - "textureProj(00J30B", - "textureProj(00S30B", - "textureProj(00Y30B", - "textureProj(00d30B", - "textureLod(00I10B00B", - "textureLod(00R10B00B", - "textureLod(00X10B00B", - "textureLod(00J20B00B", - "textureLod(00S20B00B", - "textureLod(00Y20B00B", - "textureLod(00K20B00B", - "textureLod(00T20B00B", - "textureLod(00Z20B00B", - "textureLod(00L20B00B", - "textureLod(00U20B00B", - "textureLod(00a20B00B", - "textureLod(00d20B00B", - "textureSize(00I00D", - "textureSize(00R00D", - "textureSize(00X00D", - "textureSize(00J00D", - "textureSize(00S00D", - "textureSize(00Y00D", - "textureSize(00K00D", - "textureSize(00T00D", - "textureSize(00Z00D", - "textureSize(00L00D", - "textureSize(00U00D", - "textureSize(00a00D", - "textureSize(00d00D", - "textureSize(00e00D", - "textureSize(00f00D", - "textureProjLod(00I20B00B", - "textureProjLod(00R20B00B", - "textureProjLod(00X20B00B", - "textureProjLod(00I30B00B", - "textureProjLod(00R30B00B", - "textureProjLod(00X30B00B", - "textureProjLod(00J30B00B", - "textureProjLod(00S30B00B", - "textureProjLod(00Y30B00B", - "textureProjLod(00d30B00B", - "texelFetch(00I10D00D", - "texelFetch(00R10D00D", - "texelFetch(00X10D00D", - "texelFetch(00J20D00D", - "texelFetch(00S20D00D", - "texelFetch(00Y20D00D", - "texelFetch(00L20D00D", - "texelFetch(00U20D00D", - "texelFetch(00a20D00D", - "textureGrad(00I10B10B10B", - "textureGrad(00R10B10B10B", - "textureGrad(00X10B10B10B", - "textureGrad(00J20B20B20B", - "textureGrad(00S20B20B20B", - "textureGrad(00Y20B20B20B", - "textureGrad(00K20B20B20B", - "textureGrad(00T20B20B20B", - "textureGrad(00Z20B20B20B", - "textureGrad(00d20B10B10B", - "textureGrad(00e30B20B20B", - "textureGrad(00L20B10B10B", - "textureGrad(00U20B10B10B", - "textureGrad(00a20B10B10B", - "textureGrad(00f30B10B10B", - "textureProjGrad(00I20B10B10B", - "textureProjGrad(00R20B10B10B", - "textureProjGrad(00X20B10B10B", - "textureProjGrad(00I30B10B10B", - "textureProjGrad(00R30B10B10B", - "textureProjGrad(00X30B10B10B", - "textureProjGrad(00J30B20B20B", - "textureProjGrad(00S30B20B20B", - "textureProjGrad(00Y30B20B20B", - "textureProjGrad(00d30B10B10B", - "textureSize(00P", - "textureSize(00V", - "textureSize(00b", - "textureSize(00Q", - "textureSize(00W", - "textureSize(00c", - "textureSize(00k00D", - "textureSize(00s00D", - "textureSize(00x00D", - "textureSize(00l00D", - "texture(00k30B", - "texture(00s30B", - "texture(00x30B", - "texture(00k30B00B", - "texture(00s30B00B", - "texture(00x30B00B", - "texture(00l30B00B", - "textureLod(00k30B00B", - "textureLod(00s30B00B", - "textureLod(00x30B00B", - "textureGrad(00k30B20B20B", - "textureGrad(00s30B20B20B", - "textureGrad(00x30B20B20B", - "textureGather(00k30B", - "textureGather(00s30B", - "textureGather(00x30B", - "textureGather(00k30B00D", - "textureGather(00s30B00D", - "textureGather(00x30B00D", - "textureGather(00l30B00B", - "textureSize(00j", - "textureSize(00r", - "textureSize(00w", - "texelFetch(00j00D", - "texelFetch(00r00D", - "texelFetch(00w00D", - "texelFetch(00P10D00D", - "texelFetch(00V10D00D", - "texelFetch(00b10D00D", - "texelFetch(00Q20D00D", - "texelFetch(00W20D00D", - "texelFetch(00c20D00D", - "texture(00I10B00B", - "texture(00R10B00B", - "texture(00X10B00B", - "texture(00J20B00B", - "texture(00S20B00B", - "texture(00Y20B00B", - "texture(00K20B00B", - "texture(00T20B00B", - "texture(00Z20B00B", - "texture(00L20B00B", - "texture(00U20B00B", - "texture(00a20B00B", - "textureProj(00I20B00B", - "textureProj(00R20B00B", - "textureProj(00X20B00B", - "textureProj(00I30B00B", - "textureProj(00R30B00B", - "textureProj(00X30B00B", - "textureProj(00J30B00B", - "textureProj(00S30B00B", - "textureProj(00Y30B00B", - "texture(00d20B00B", - "texture(00e30B00B", - "textureProj(00d30B00B", - "texture(00M10B00B", - "textureProj(00M20B00B", - "textureProj(00M30B00B", - "texture(00N10B00B", - "textureProj(00N20B00B", - "textureProj(00N30B00B", - "textureOffset(00I10B10D", - "textureOffset(00R10B10D", - "textureOffset(00X10B10D", - "textureOffset(00J20B20D", - "textureOffset(00S20B20D", - "textureOffset(00Y20B20D", - "textureOffset(00d20B10D", - "textureOffset(00L20B10D", - "textureOffset(00U20B10D", - "textureOffset(00a20B10D", - "textureProjOffset(00I20B10D", - "textureProjOffset(00R20B10D", - "textureProjOffset(00X20B10D", - "textureProjOffset(00I30B10D", - "textureProjOffset(00R30B10D", - "textureProjOffset(00X30B10D", - "textureProjOffset(00J30B20D", - "textureProjOffset(00S30B20D", - "textureProjOffset(00Y30B20D", - "textureProjOffset(00d30B10D", - "textureLodOffset(00I10B00B10D", - "textureLodOffset(00R10B00B10D", - "textureLodOffset(00X10B00B10D", - "textureLodOffset(00J20B00B20D", - "textureLodOffset(00S20B00B20D", - "textureLodOffset(00Y20B00B20D", - "textureLodOffset(00d20B00B10D", - "textureLodOffset(00L20B00B10D", - "textureLodOffset(00U20B00B10D", - "textureLodOffset(00a20B00B10D", - "textureProjLodOffset(00I20B00B10D", - "textureProjLodOffset(00R20B00B10D", - "textureProjLodOffset(00X20B00B10D", - "textureProjLodOffset(00I30B00B10D", - "textureProjLodOffset(00R30B00B10D", - "textureProjLodOffset(00X30B00B10D", - "textureProjLodOffset(00J30B00B20D", - "textureProjLodOffset(00S30B00B20D", - "textureProjLodOffset(00Y30B00B20D", - "textureProjLodOffset(00d30B00B10D", - "texelFetchOffset(00I10D00D10D", - "texelFetchOffset(00R10D00D10D", - "texelFetchOffset(00X10D00D10D", - "texelFetchOffset(00J20D00D20D", - "texelFetchOffset(00S20D00D20D", - "texelFetchOffset(00Y20D00D20D", - "texelFetchOffset(00L20D00D10D", - "texelFetchOffset(00U20D00D10D", - "texelFetchOffset(00a20D00D10D", - "textureGradOffset(00I10B10B10B10D", - "textureGradOffset(00R10B10B10B10D", - "textureGradOffset(00X10B10B10B10D", - "textureGradOffset(00J20B20B20B20D", - "textureGradOffset(00S20B20B20B20D", - "textureGradOffset(00Y20B20B20B20D", - "textureGradOffset(00d20B10B10B10D", - "textureGradOffset(00L20B10B10B10D", - "textureGradOffset(00U20B10B10B10D", - "textureGradOffset(00a20B10B10B10D", - "textureGradOffset(00f30B10B10B10D", - "textureProjGradOffset(00I20B10B10B10D", - "textureProjGradOffset(00R20B10B10B10D", - "textureProjGradOffset(00X20B10B10B10D", - "textureProjGradOffset(00I30B10B10B10D", - "textureProjGradOffset(00R30B10B10B10D", - "textureProjGradOffset(00X30B10B10B10D", - "textureProjGradOffset(00J30B20B20B20D", - "textureProjGradOffset(00S30B20B20B20D", - "textureProjGradOffset(00Y30B20B20B20D", - "textureProjGradOffset(00d30B10B10B10D", - "textureOffset(00I10B10D00B", - "textureOffset(00R10B10D00B", - "textureOffset(00X10B10D00B", - "textureOffset(00J20B20D00B", - "textureOffset(00S20B20D00B", - "textureOffset(00Y20B20D00B", - "textureOffset(00d20B10D00B", - "textureOffset(00L20B10D00B", - "textureOffset(00U20B10D00B", - "textureOffset(00a20B10D00B", - "textureProjOffset(00I20B10D00B", - "textureProjOffset(00R20B10D00B", - "textureProjOffset(00X20B10D00B", - "textureProjOffset(00I30B10D00B", - "textureProjOffset(00R30B10D00B", - "textureProjOffset(00X30B10D00B", - "textureProjOffset(00J30B20D00B", - "textureProjOffset(00S30B20D00B", - "textureProjOffset(00Y30B20D00B", - "textureProjOffset(00d30B10D00B", - "texture(00M10B", - "textureProj(00M20B", - "textureProj(00M30B", - "textureSize(00M00D", - "texelFetch(00M10D00D", "texture(00N10B", - "textureProj(00N20B", - "textureProj(00N30B", - "rgb_2_yuv(20B00H", - "yuv_2_rgb(20B00H", - "textureSize(00N00D", - "texelFetch(00N10D00D", - "textureGather(00I10B", - "textureGather(00R10B", - "textureGather(00X10B", - "textureGather(00I10B00D", - "textureGather(00R10B00D", - "textureGather(00X10B00D", - "textureGather(00L20B", - "textureGather(00U20B", - "textureGather(00a20B", - "textureGather(00L20B00D", - "textureGather(00U20B00D", - "textureGather(00a20B00D", - "textureGather(00K20B", - "textureGather(00T20B", - "textureGather(00Z20B", - "textureGather(00K20B00D", - "textureGather(00T20B00D", - "textureGather(00Z20B00D", - "textureGather(00d10B", - "textureGather(00d10B00B", - "textureGather(00f20B", - "textureGather(00f20B00B", - "textureGather(00e20B", - "textureGather(00e20B00B", - "textureGatherOffset(00I10B10D", - "textureGatherOffset(00R10B10D", - "textureGatherOffset(00X10B10D", - "textureGatherOffset(00L20B10D", - "textureGatherOffset(00U20B10D", - "textureGatherOffset(00a20B10D", - "textureGatherOffset(00d10B00B10D", - "textureGatherOffset(00f20B00B10D", - "textureGatherOffset(00I10B10D00D", - "textureGatherOffset(00R10B10D00D", - "textureGatherOffset(00X10B10D00D", - "textureGatherOffset(00L20B10D00D", - "textureGatherOffset(00U20B10D00D", - "textureGatherOffset(00a20B10D00D", - "textureGatherOffsets(00I10B10Dx4", - "textureGatherOffsets(00R10B10Dx4", - "textureGatherOffsets(00X10B10Dx4", - "textureGatherOffsets(00L20B10Dx4", - "textureGatherOffsets(00U20B10Dx4", - "textureGatherOffsets(00a20B10Dx4", + "matrixCompMult(70B70B", + "imageAtomicOr(01E20D00D", + "imageAtomicOr(01E20D00E", + "texelFetchOffset(00a20D00D10D", + "not(20F", + "imageAtomicExchange(01F20D00D", + "imageAtomicExchange(01F20D00B", + "outerProduct(20B20B", + "textureProjLodOffset(00R20B00B10D", + "textureProjGrad(00J30B20B20B", + "imageAtomicOr(01R10D00D00E", + "imageAtomicOr(01R10D00D00D", + "imageLoad(01K20D", "textureGatherOffsets(00d10B00B10Dx4", - "textureGatherOffsets(00f20B00B10Dx4", - "textureGatherOffsets(00I10B10Dx400D", - "textureGatherOffsets(00R10B10Dx400D", - "textureGatherOffsets(00X10B10Dx400D", + "gl_InvocationID", "textureGatherOffsets(00L20B10Dx400D", - "textureGatherOffsets(00U20B10Dx400D", - "textureGatherOffsets(00a20B10Dx400D", - "interpolateAtCentroid(00B", - "interpolateAtCentroid(10B", - "interpolateAtCentroid(20B", - "interpolateAtCentroid(30B", - "interpolateAtSample(00B00D", - "interpolateAtSample(10B00D", - "interpolateAtSample(20B00D", - "interpolateAtSample(30B00D", - "interpolateAtOffset(00B10B", - "interpolateAtOffset(10B10B", - "interpolateAtOffset(20B10B", - "interpolateAtOffset(30B10B", - "atomicCounter(00G", - "atomicCounterIncrement(00G", - "atomicCounterDecrement(00G", - "atomicAdd(00E00E", - "atomicAdd(00D00D", - "atomicMin(00E00E", - "atomicMin(00D00D", - "atomicMax(00E00E", - "atomicMax(00D00D", - "atomicAnd(00E00E", - "atomicAnd(00D00D", - "atomicOr(00E00E", - "atomicOr(00D00D", - "atomicXor(00E00E", + "imageAtomicAnd(01R10D00D00D", + "imageAtomicAnd(01R10D00D00E", + "radians(10B", + "textureGather(00e20B00B", + "distance(10B10B", + "textureGrad(00Z20B20B20B", + "sign(00B", + "imageAtomicOr(01D20D00E", + "imageAtomicOr(01D20D00D", + "bitfieldExtract(30E00D00D", + "textureLod(00I10B00B", + "greaterThanEqual(10D10D", + "degrees(30B", + "inversesqrt(30B", + "imageAtomicAnd(01K20D00D", + "imageAtomicMin(01I20D00D", + "frexp(20B20D", + "intBitsToFloat(20D", + "exp(20B", + "imageAtomicMax(01A10D00E", + "imageAtomicMax(01A10D00D", + "acosh(00B", + "log(10B", + "textureProjLodOffset(00S30B00B20D", + "textureGather(00L20B", + "outerProduct(30B20B", + "texture(00S20B", "atomicXor(00D00D", + "texelFetch(00Y20D00D", + "imageAtomicOr(01P10D00D", + "imageAtomicOr(01P10D00E", + "sign(30B", + "sign(30D", + "texture(00Y20B00B", + "dFdy(20B", + "textureProj(00Y30B", + "textureOffset(00X10B10D00B", + "memoryBarrierBuffer(", + "isinf(00B", + "clamp(20D00D00D", + "texture2DProj(00I20B00B", + "mod(30B00B", + "textureGather(00x30B00D", + "textureGather(00f20B00B", + "greaterThan(20E20E", + "textureProjLod(00I30B00B", + "refract(00B00B00B", + "gl_MaxGeometryImageUniforms", + "imageAtomicMin(01X10D00D", + "imageAtomicMin(01X10D00E", + "textureSize(00e00D", + "texelFetch(00a20D00D", + "frexp(30B30D", + "degrees(20B", + "imageAtomicCompSwap(01X10D00E00E", + "texture(00I10B", + "gl_InstanceID", + "normalize(20B", + "imageAtomicCompSwap(01H20D00D00D", + "interpolateAtCentroid(20B", + "atan(00B", + "textureGatherOffset(00R10B10D00D", + "imageAtomicMin(01h00D00E", + "imageAtomicMin(01h00D00D", + "greaterThan(30E30E", + "imageAtomicAdd(01N00D00D", + "imageAtomicAdd(01N00D00E", + "imageAtomicAnd(01J20D00D", + "imageAtomicAnd(01J20D00E", + "gl_DepthRange", + "imageAtomicAdd(01I20D00E", + "imageAtomicAdd(01I20D00D", + "texture(00L20B00B", + "imageAtomicOr(01L00D00E", + "imageAtomicOr(01L00D00D", + "imageAtomicXor(01L00D00D", + "gl_MaxComputeUniformComponents", + "imageLoad(01h00D", + "imageAtomicCompSwap(01E20D00E00E", + "imageAtomicAdd(01X10D00E", + "imageAtomicAdd(01X10D00D", + "imageAtomicMax(01R10D00D00E", + "imageAtomicMax(01R10D00D00D", + "imageLoad(01J20D", + "interpolateAtSample(10B00D", + "imageAtomicMin(01F20D00E", + "imageAtomicMin(01F20D00D", + "outerProduct(10B30B", + "texture(00k30B", + "imageAtomicCompSwap(01O10D00E00E", + "imageAtomicXor(01F20D00D", + "imageAtomicXor(01F20D00E", + "imageAtomicAnd(01a20D00E", + "imageAtomicAnd(01a20D00D", + "textureOffset(00a20B10D00B", + "imageAtomicCompSwap(01b20D00E00E", + "textureGather(00X10B", + "textureOffset(00R10B10D00B", + "textureGatherOffset(00d10B00B10D", + "gl_MaxFragmentImageUniforms", + "equal(20E20E", + "uaddCarry(00E00E00E", + "textureCube(00K20B", + "imageAtomicMax(01U20D00D00E", + "imageAtomicMax(01U20D00D00D", + "matrixCompMult(90B90B", + "textureGatherOffsets(00I10B10Dx4", + "clamp(30E00E00E", + "asin(00B", + "textureProjOffset(00J30B20D00B", + "clamp(10E00E00E", + "notEqual(30E30E", + "imageAtomicOr(01K20D00D", + "imageAtomicOr(01K20D00E", + "lessThanEqual(10E10E", + "inversesqrt(20B", + "atomicAdd(00E00E", + "textureProj(00R30B", + "textureGrad(00X10B10B10B", + "greaterThanEqual(30E30E", + "mix(20B20B20F", + "imageAtomicExchange(01T10D00D00E", + "imageAtomicExchange(01T10D00D00D", + "gl_MaxVertexAtomicCounters", + "mix(20B20B20B", + "any(10F", + "textureProjGradOffset(00d30B10B10B10D", + "textureProjOffset(00I30B10D", + "textureOffset(00X10B10D", + "imageAtomicXor(01R10D00D00D", + "imageAtomicXor(01R10D00D00E", + "radians(00B", + "textureGatherOffsets(00f20B00B10Dx4", + "step(10B10B", + "gl_MaxDualSourceDrawBuffersEXT", + "imageAtomicAdd(01Y10D00D", + "imageAtomicAdd(01Y10D00E", + "imageAtomicAnd(01C20D00E", + "imageAtomicAnd(01C20D00D", + "imageStore(01g00D30B", + "atomicXor(00E00E", + "imageAtomicCompSwap(01P10D00E00E", + "greaterThan(30B30B", + "gl_MaxFragmentAtomicCounters", + "faceforward(20B20B20B", + "textureSize(00x00D", + "textureProj(00S30B00B", + "fma(20B20B20B", + "imageAtomicMin(01J20D00E", + "outerProduct(30B30B", + "exp(30B", + "bitCount(10E", + "bitCount(10D", + "log(00B", + "mix(00F00F00F", + "imageAtomicCompSwap(01M00D00D00D", + "texture2DProjLodEXT(00I30B00B", + "acosh(30B", + "imageAtomicOr(01Y10D00E", + "imageAtomicOr(01Y10D00D", + "textureGradOffset(00X10B10B10B10D", + "texelFetchOffset(00X10D00D10D", + "packUnorm2x16(10B", + "umulExtended(20E20E20E20E", + "imageAtomicAnd(01b20D00E", + "imageAtomicCompSwap(01T10D00D00E00E", + "textureCubeLod(00K20B00B", + "textureSize(00L00D", + "imageAtomicXor(01L00D00E", + "max(20E00E", + "textureProj(00S30B", + "dFdy(30B", + "isinf(10B", + "gl_MaxVertexTextureImageUnits", + "greaterThanEqual(30B30B", + "texture2DProjLodEXT(00I20B00B", + "gl_FrontFacing", + "acos(10B", + "textureCube(00K20B00B", + "lessThan(10B10B", + "imageAtomicCompSwap(01B10D00E00E", + "gl_MaxComputeAtomicCounterBuffers", + "textureSize(00f00D", + "imageAtomicAnd(01g00D00E", + "imageAtomicAnd(01g00D00D", + "gl_LastFragColorARM", + "lessThanEqual(20D20D", + "imageAtomicCompSwap(01h00D00E00E", + "imageAtomicAdd(01B10D00E", + "imageAtomicAdd(01B10D00D", + "gl_SecondaryFragColorEXT", + "imageAtomicAnd(01U20D00D00D", + "imageAtomicAnd(01U20D00D00E", + "gl_BaseInstance", + "imageAtomicXor(01b20D00D", + "imageAtomicXor(01b20D00E", + "mix(20F20F20F", + "smoothstep(00B00B30B", + "imageAtomicExchange(01M00D00B", + "imageAtomicExchange(01M00D00D", + "imageAtomicExchange(01M00D00E", + "imageAtomicCompSwap(01F20D00E00E", + "texelFetch(00N10D00D", + "textureSize(00a00D", + "textureProjOffset(00Y30B20D", + "atan(30B", + "imageAtomicMax(01b20D00E", + "imageAtomicMax(01b20D00D", + "ceil(10B", + "texture(00M10B", + "imageAtomicExchange(01S10D00D00B", + "atomicCounterDecrement(00G", + "refract(20B20B00B", + "imageAtomicAnd(01Q10D00D", + "imageAtomicAnd(01Q10D00E", + "imageAtomicAnd(01c20D00E", + "imageAtomicAnd(01c20D00D", + "texelFetch(00R10D00D", + "cosh(20B", + "smoothstep(30B30B30B", + "imageAtomicExchange(01T10D00D00B", + "textureGrad(00R10B10B10B", + "min(00D00D", + "shadow2DProjEXT(00d30B", + "imageAtomicAdd(01V20D00D00E", + "imageAtomicAdd(01V20D00D00D", + "greaterThanEqual(30D30D", + "imageLoad(01D20D", + "findLSB(10E", + "texture(00Z20B00B", + "imageAtomicXor(01S10D00D00E", + "imageAtomicXor(01S10D00D00D", + "cos(10B", + "texture(00e30B", + "textureSize(00T00D", + "textureProjGradOffset(00Y30B20B20B20D", + "textureGrad(00T20B20B20B", + "textureProjOffset(00d30B10D00B", + "imageAtomicMin(01B10D00D", + "imageAtomicMin(01B10D00E", + "imageAtomicXor(01U20D00D00D", + "imageAtomicXor(01U20D00D00E", + "imageAtomicAdd(01h00D00D", + "imageAtomicAdd(01h00D00E", + "matrixCompMult(50B50B", + "equal(30B30B", + "imageAtomicExchange(01E20D00B", + "textureLod(00U20B00B", + "imageAtomicExchange(01E20D00D", + "imageAtomicXor(01I20D00D", + "texture2DProjLod(00I30B00B", + "max(10B10B", + "gl_PointSize", + "asin(10B", + "imageAtomicAdd(01g00D00E", + "imageAtomicAdd(01g00D00D", + "textureOffset(00S20B20D", + "textureProj(00R20B", + "greaterThan(10E10E", + "imageAtomicAnd(01M00D00E", + "imageAtomicAnd(01M00D00D", + "EmitVertex(", + "smoothstep(20B20B20B", + "textureOffset(00J20B20D", + "texelFetch(00J20D00D", + "imageAtomicExchange(01V20D00D00E", + "imageAtomicExchange(01V20D00D00B", + "imageAtomicCompSwap(01Y10D00E00E", + "gl_ViewID_OVR", + "radians(30B", + "imageAtomicMin(01H20D00E", + "imageAtomicMin(01H20D00D", + "textureProjGrad(00X30B10B10B", + "imageAtomicXor(00z10D00D", + "imageAtomicXor(00z10D00E", + "texture3DLod(00J20B00B", + "packUnorm4x8(30B", + "gl_MaxComputeImageUniforms", + "textureLod(00L20B00B", + "imageAtomicExchange(01A10D00B", + "imageAtomicCompSwap(01V20D00D00D00D", + "imageAtomicExchange(01A10D00E", + "imageAtomicExchange(01A10D00D", + "transpose(B0B", + "clamp(00E00E00E", + "ldexp(00B00D", + "bitfieldInsert(00D00D00D00D", + "textureProjGrad(00Y30B20B20B", + "imageAtomicAdd(01W20D00D00E", + "roundEven(30B", + "acosh(20B", + "atanh(10B", + "clamp(10B10B10B", + "textureGatherOffset(00L20B10D00D", + "bitCount(00D", + "bitCount(00E", + "floatBitsToInt(30B", + "max(20B00B", + "texelFetchOffset(00Y20D00D20D", "atomicExchange(00E00E", - "atomicExchange(00D00D", + "imageAtomicXor(01h00D00D", + "imageAtomicXor(01h00D00E", + "texture(00x30B00B", + "lessThanEqual(20B20B", + "min(10B00B", + "imageAtomicAnd(01L00D00D", + "imageAtomicAnd(01L00D00E", + "mix(30F30F30F", + "imageAtomicMax(01T10D00D00E", + "imageAtomicMax(01T10D00D00D", + "abs(20D", + "abs(20B", + "lessThanEqual(10B10B", + "imageAtomicOr(01a20D00D", + "imageAtomicOr(01a20D00E", + "mix(00B00B00F", + "textureGather(00s30B00D", + "textureProj(00I20B", + "gl_MaxVertexAtomicCounterBuffers", + "acos(00B", + "textureGradOffset(00J20B20B20B20D", + "texture2DGradEXT(00I10B10B10B", + "imageAtomicCompSwap(01G20D00D00D", + "imageAtomicAnd(01I20D00D", + "texture2DProjGradEXT(00I30B10B10B", + "fma(30B30B30B", + "imageAtomicAdd(01L00D00D", + "imageAtomicAdd(01L00D00E", + "gl_MaxComputeWorkGroupCount", + "imageLoad(01i00D", + "mix(30E30E30F", + "gl_FragColor", + "imageAtomicMin(01G20D00D", + "imageAtomicMin(01G20D00E", + "imageAtomicExchange(01S10D00D00D", + "atan(20B", + "interpolateAtSample(30B00D", + "imageAtomicExchange(01S10D00D00E", + "min(10B10B", + "pow(10B10B", + "imageAtomicXor(01P10D00E", + "imageAtomicXor(01P10D00D", + "texture(00X10B00B", + "frexp(00B00D", + "texture2D(00I10B", + "ceil(20B", + "imageAtomicMin(01b20D00E", + "imageAtomicMin(01b20D00D", + "imageAtomicMax(01P10D00D", + "imageAtomicMax(01P10D00E", + "imageAtomicExchange(01P10D00B", + "textureProjOffset(00R20B10D", + "textureOffset(00I10B10D", + "min(20B00B", + "reflect(00B00B", + "sqrt(10B", + "clamp(20E20E20E", + "imageAtomicOr(01G20D00D", + "imageAtomicOr(01G20D00E", + "imageAtomicMin(01C20D00D", + "texelFetch(00j00D", + "imageStore(01a20D30B", + "textureProjLod(00d30B00B", + "imageLoad(01H20D", + "textureProjGradOffset(00I20B10B10B10D", + "interpolateAtSample(20B00D", + "refract(10B10B00B", + "imageAtomicMax(01h00D00D", + "imageAtomicExchange(01X10D00D", + "imageAtomicExchange(01X10D00E", + "imageAtomicExchange(01X10D00B", + "imageAtomicExchange(01Q10D00B", + "imageAtomicExchange(01Q10D00E", + "imageAtomicExchange(01Q10D00D", + "clamp(20D20D20D", + "sinh(30B", + "imageAtomicMin(01N00D00E", + "imageAtomicMin(01N00D00D", + "textureGradOffset(00R10B10B10B10D", + "asinh(20B", + "imageAtomicCompSwap(01I20D00D00D", + "textureProj(00O20B", + "imageAtomicCompSwap(01M00D00E00E", + "inverse(50B", + "dot(10B10B", + "radians(20B", "atomicCompSwap(00E00E00E", - "atomicCompSwap(00D00D00D", + "textureGrad(00Y20B20B20B", + "imageAtomicCompSwap(01Z10D00D00D", + "gl_MaxVertexUniformVectors", + "imageAtomicExchange(01W20D00D00B", + "outerProduct(10B10B", + "imageAtomicExchange(01W20D00D00E", + "imageAtomicExchange(01W20D00D00D", + "textureProj(00X20B", + "imageAtomicOr(01W20D00D00E", + "imageAtomicOr(01W20D00D00D", + "greaterThanEqual(20E20E", + "textureProj(00M20B", + "texture3DProjLod(00J30B00B", + "imageAtomicAdd(01Z10D00E", + "imageAtomicAdd(01Z10D00D", + "mix(10D10D10F", + "floatBitsToUint(20B", + "log(20B", + "imageAtomicMax(01D20D00E", + "imageAtomicMax(01D20D00D", + "modf(30B30B", + "roundEven(20B", + "atanh(00B", + "textureProj(00J30B", + "imageAtomicOr(01F20D00E", + "imageAtomicOr(01F20D00D", + "floatBitsToInt(20B", + "texelFetch(00U20D00D", + "max(00D00D", + "atomicMin(00E00E", + "shadow2DEXT(00d20B", + "textureGatherOffsets(00a20B10Dx4", + "max(30B30B", + "imageAtomicCompSwap(01F20D00D00D", + "abs(10D", + "abs(10B", + "gl_FragDepthEXT", + "ldexp(20B20D", + "gl_ClipDistance", + "imageAtomicCompSwap(01c20D00D00D", + "imageAtomicMin(01T10D00D00E", + "imageAtomicMin(01T10D00D00D", + "equal(20B20B", + "textureProjLodOffset(00X20B00B10D", + "texture(00U20B00B", + "textureProj(00I30B", + "mix(00E00E00F", + "imageAtomicCompSwap(01h00D00D00D", + "mix(00D00D00F", + "textureGradOffset(00a20B10B10B10D", + "notEqual(20F20F", + "textureLod(00s30B00B", + "imageAtomicOr(01C20D00D", + "imageAtomicOr(01C20D00E", + "textureSize(00S00D", + "notEqual(30B30B", + "textureGatherOffset(00f20B00B10D", + "imageAtomicAnd(01N00D00D", + "imageAtomicAnd(01N00D00E", "imageSize(00z", - "imageSize(01A", - "imageSize(01B", - "imageSize(01C", - "imageSize(01D", - "imageSize(01E", - "imageSize(01F", - "imageSize(01G", - "imageSize(01H", - "imageSize(01I", + "textureGrad(00a20B10B10B", + "texture(00J20B00B", + "ceil(30B", + "gl_MaxGeometryOutputComponents", + "log2(30B", + "textureProjGrad(00d30B10B10B", + "fract(30B", + "max(30E30E", + "gl_MaxFragmentAtomicCounterBuffers", + "gl_in", + "textureProjLodOffset(00J30B00B20D", + "imageAtomicExchange(01O10D00B", + "imageAtomicMax(01H20D00E", + "imageAtomicMax(01H20D00D", + "imageStore(01h00D30D", + "imageAtomicExchange(01O10D00D", + "texelFetch(00c20D00D", + "sqrt(00B", + "textureProjLod(00R30B00B", + "imageAtomicAnd(01F20D00D", + "imageAtomicAnd(01F20D00E", + "imageAtomicMin(01P10D00D", + "imageAtomicMin(01P10D00E", + "imageAtomicAdd(01C20D00E", + "imageAtomicAdd(01C20D00D", + "imageAtomicXor(01N00D00D", + "imageAtomicXor(01N00D00E", + "texture(00x30B", + "max(10E00E", + "imageLoad(01c20D", + "textureGrad(00U20B10B10B", + "imageLoad(00z10D", + "textureGatherOffsets(00a20B10Dx400D", + "sinh(20B", + "matrixCompMult(E0BE0B", + "imageAtomicMin(01K20D00E", + "gl_WorkGroupSize", + "asinh(30B", + "textureGather(00a20B", + "pow(30B30B", + "imageAtomicCompSwap(01G20D00E00E", + "smoothstep(10B10B10B", + "textureProj(00O30B", + "imageAtomicAdd(01R10D00D00D", + "imageAtomicAdd(01R10D00D00E", + "imageAtomicXor(01I20D00E", + "imageAtomicMin(01Q10D00E", + "imageAtomicMin(01Q10D00D", + "imageAtomicExchange(01E20D00E", + "isnan(00B", + "imulExtended(10D10D10D10D", + "imageAtomicMax(01i00D00D", + "imageAtomicMax(01i00D00E", + "min(00E00E", + "texture2DProj(00I30B", + "textureGradOffset(00I10B10B10B10D", + "textureLodOffset(00J20B00B20D", + "notEqual(20B20B", + "atomicCompSwap(00D00D00D", + "", + "floatBitsToInt(10B", + "textureLod(00a20B00B", + "textureProj(00N30B", + "equal(30D30D", + "imageStore(01D20D30D", + "packSnorm2x16(10B", + "floatBitsToUint(30B", + "textureOffset(00R10B10D", + "textureProjGradOffset(00R20B10B10B10D", + "ldexp(30B30D", + "max(30B00B", + "textureLod(00k30B00B", + "textureProj(00I30B00B", + "imageAtomicAnd(01X10D00E", + "imageAtomicExchange(01D20D00E", + "imageAtomicExchange(01D20D00D", + "imageAtomicExchange(01D20D00B", + "imageAtomicCompSwap(01A10D00E00E", + "abs(00D", + "abs(00B", + "textureLod(00R10B00B", + "textureLodOffset(00U20B00B10D", + "imageAtomicAnd(01X10D00D", + "sinh(00B", + "texture2DLod(00I10B00B", + "textureProjGradOffset(00X20B10B10B10D", + "imageAtomicMax(01Z10D00D", + "gl_MaxComputeAtomicCounters", + "texture(00s30B", + "EndPrimitive(", + "step(00B30B", + "round(20B", + "equal(30E30E", + "imageAtomicCompSwap(01R10D00D00E00E", + "atomicOr(00D00D", + "texture2DProj(00M20B", + "notEqual(10D10D", + "imageAtomicExchange(01Z10D00D", + "textureSize(00V", + "imageAtomicAnd(01h00D00D", + "imageAtomicAdd(01G20D00E", + "imageAtomicAdd(01G20D00D", + "findLSB(30D", + "findLSB(30E", + "textureProj(00X20B00B", + "textureGatherOffset(00U20B10D", + "imageAtomicExchange(01Z10D00E", + "faceforward(10B10B10B", + "imageAtomicAnd(01h00D00E", + "min(10D00D", + "imageAtomicCompSwap(01J20D00D00D", + "all(20F", "imageSize(01J", "imageSize(01K", - "imageSize(01X", - "imageSize(01Y", - "imageSize(01Z", - "imageSize(01d", - "imageSize(01e", - "imageSize(01f", - "imageStore(00z10D30B", - "imageStore(01A10D30D", - "imageStore(01B10D30E", - "imageStore(01C20D30B", - "imageStore(01D20D30D", - "imageStore(01E20D30E", - "imageStore(01F20D30B", - "imageStore(01G20D30D", - "imageStore(01H20D30E", - "imageStore(01I20D30B", - "imageStore(01J20D30D", - "imageStore(01K20D30E", - "imageStore(01X20D30B", - "imageStore(01Y20D30D", - "imageStore(01Z20D30E", - "imageStore(01d00D30B", - "imageStore(01e00D30D", - "imageStore(01f00D30E", - "imageLoad(00z10D", - "imageLoad(01A10D", - "imageLoad(01B10D", - "imageLoad(01C20D", - "imageLoad(01D20D", - "imageLoad(01E20D", - "imageLoad(01F20D", - "imageLoad(01G20D", - "imageLoad(01H20D", - "imageLoad(01I20D", - "imageLoad(01J20D", - "imageLoad(01K20D", - "imageLoad(01X20D", - "imageLoad(01Y20D", - "imageLoad(01Z20D", - "imageLoad(01d00D", - "imageLoad(01e00D", - "imageLoad(01f00D", - "imageAtomicAdd(00z10D00E", - "imageAtomicAdd(01A10D00E", - "imageAtomicAdd(01B10D00E", - "imageAtomicAdd(01C20D00E", - "imageAtomicAdd(01D20D00E", - "imageAtomicAdd(01E20D00E", - "imageAtomicAdd(01I20D00E", - "imageAtomicAdd(01J20D00E", - "imageAtomicAdd(01K20D00E", - "imageAtomicAdd(01d00D00E", - "imageAtomicAdd(01e00D00E", - "imageAtomicAdd(01f00D00E", - "imageAtomicAdd(01F20D00E", - "imageAtomicAdd(01G20D00E", - "imageAtomicAdd(01H20D00E", - "imageAtomicAdd(01X20D00E", - "imageAtomicAdd(01Y20D00E", - "imageAtomicAdd(01Z20D00E", - "imageAtomicAdd(01L00D00E", - "imageAtomicAdd(01M00D00E", - "imageAtomicAdd(01N00D00E", - "imageAtomicAdd(01O10D00E", - "imageAtomicAdd(01P10D00E", - "imageAtomicAdd(01Q10D00E", - "imageAtomicAdd(01a10D00E", - "imageAtomicAdd(01b10D00E", - "imageAtomicAdd(01c10D00E", - "imageAtomicAdd(01R10D00D00E", - "imageAtomicAdd(01S10D00D00E", - "imageAtomicAdd(01T10D00D00E", - "imageAtomicAdd(01U20D00D00E", - "imageAtomicAdd(01V20D00D00E", - "imageAtomicAdd(01W20D00D00E", - "imageAtomicAdd(00z10D00D", - "imageAtomicAdd(01A10D00D", - "imageAtomicAdd(01B10D00D", - "imageAtomicAdd(01C20D00D", - "imageAtomicAdd(01D20D00D", - "imageAtomicAdd(01E20D00D", - "imageAtomicAdd(01I20D00D", - "imageAtomicAdd(01J20D00D", - "imageAtomicAdd(01K20D00D", - "imageAtomicAdd(01d00D00D", - "imageAtomicAdd(01e00D00D", - "imageAtomicAdd(01f00D00D", - "imageAtomicAdd(01F20D00D", - "imageAtomicAdd(01G20D00D", - "imageAtomicAdd(01H20D00D", - "imageAtomicAdd(01X20D00D", - "imageAtomicAdd(01Y20D00D", - "imageAtomicAdd(01Z20D00D", - "imageAtomicAdd(01L00D00D", - "imageAtomicAdd(01M00D00D", - "imageAtomicAdd(01N00D00D", - "imageAtomicAdd(01O10D00D", - "imageAtomicAdd(01P10D00D", - "imageAtomicAdd(01Q10D00D", - "imageAtomicAdd(01a10D00D", - "imageAtomicAdd(01b10D00D", - "imageAtomicAdd(01c10D00D", - "imageAtomicAdd(01R10D00D00D", - "imageAtomicAdd(01S10D00D00D", - "imageAtomicAdd(01T10D00D00D", - "imageAtomicAdd(01U20D00D00D", - "imageAtomicAdd(01V20D00D00D", - "imageAtomicAdd(01W20D00D00D", - "imageAtomicMin(00z10D00E", - "imageAtomicMin(01A10D00E", - "imageAtomicMin(01B10D00E", - "imageAtomicMin(01C20D00E", - "imageAtomicMin(01D20D00E", - "imageAtomicMin(01E20D00E", - "imageAtomicMin(01I20D00E", - "imageAtomicMin(01J20D00E", - "imageAtomicMin(01K20D00E", - "imageAtomicMin(01d00D00E", - "imageAtomicMin(01e00D00E", - "imageAtomicMin(01f00D00E", - "imageAtomicMin(01F20D00E", - "imageAtomicMin(01G20D00E", - "imageAtomicMin(01H20D00E", - "imageAtomicMin(01X20D00E", - "imageAtomicMin(01Y20D00E", - "imageAtomicMin(01Z20D00E", - "imageAtomicMin(01L00D00E", - "imageAtomicMin(01M00D00E", - "imageAtomicMin(01N00D00E", - "imageAtomicMin(01O10D00E", - "imageAtomicMin(01P10D00E", - "imageAtomicMin(01Q10D00E", - "imageAtomicMin(01a10D00E", - "imageAtomicMin(01b10D00E", - "imageAtomicMin(01c10D00E", - "imageAtomicMin(01R10D00D00E", - "imageAtomicMin(01S10D00D00E", - "imageAtomicMin(01T10D00D00E", - "imageAtomicMin(01U20D00D00E", - "imageAtomicMin(01V20D00D00E", - "imageAtomicMin(01W20D00D00E", - "imageAtomicMin(00z10D00D", - "imageAtomicMin(01A10D00D", - "imageAtomicMin(01B10D00D", - "imageAtomicMin(01C20D00D", - "imageAtomicMin(01D20D00D", - "imageAtomicMin(01E20D00D", - "imageAtomicMin(01I20D00D", - "imageAtomicMin(01J20D00D", - "imageAtomicMin(01K20D00D", - "imageAtomicMin(01d00D00D", - "imageAtomicMin(01e00D00D", - "imageAtomicMin(01f00D00D", - "imageAtomicMin(01F20D00D", - "imageAtomicMin(01G20D00D", - "imageAtomicMin(01H20D00D", - "imageAtomicMin(01X20D00D", - "imageAtomicMin(01Y20D00D", - "imageAtomicMin(01Z20D00D", - "imageAtomicMin(01L00D00D", - "imageAtomicMin(01M00D00D", - "imageAtomicMin(01N00D00D", - "imageAtomicMin(01O10D00D", - "imageAtomicMin(01P10D00D", - "imageAtomicMin(01Q10D00D", - "imageAtomicMin(01a10D00D", - "imageAtomicMin(01b10D00D", - "imageAtomicMin(01c10D00D", - "imageAtomicMin(01R10D00D00D", - "imageAtomicMin(01S10D00D00D", - "imageAtomicMin(01T10D00D00D", - "imageAtomicMin(01U20D00D00D", - "imageAtomicMin(01V20D00D00D", - "imageAtomicMin(01W20D00D00D", - "imageAtomicMax(00z10D00E", - "imageAtomicMax(01A10D00E", - "imageAtomicMax(01B10D00E", - "imageAtomicMax(01C20D00E", - "imageAtomicMax(01D20D00E", - "imageAtomicMax(01E20D00E", - "imageAtomicMax(01I20D00E", - "imageAtomicMax(01J20D00E", - "imageAtomicMax(01K20D00E", - "imageAtomicMax(01d00D00E", - "imageAtomicMax(01e00D00E", - "imageAtomicMax(01f00D00E", - "imageAtomicMax(01F20D00E", - "imageAtomicMax(01G20D00E", - "imageAtomicMax(01H20D00E", - "imageAtomicMax(01X20D00E", - "imageAtomicMax(01Y20D00E", - "imageAtomicMax(01Z20D00E", - "imageAtomicMax(01L00D00E", - "imageAtomicMax(01M00D00E", - "imageAtomicMax(01N00D00E", - "imageAtomicMax(01O10D00E", - "imageAtomicMax(01P10D00E", - "imageAtomicMax(01Q10D00E", - "imageAtomicMax(01a10D00E", - "imageAtomicMax(01b10D00E", - "imageAtomicMax(01c10D00E", - "imageAtomicMax(01R10D00D00E", - "imageAtomicMax(01S10D00D00E", - "imageAtomicMax(01T10D00D00E", - "imageAtomicMax(01U20D00D00E", - "imageAtomicMax(01V20D00D00E", - "imageAtomicMax(01W20D00D00E", - "imageAtomicMax(00z10D00D", - "imageAtomicMax(01A10D00D", - "imageAtomicMax(01B10D00D", - "imageAtomicMax(01C20D00D", - "imageAtomicMax(01D20D00D", - "imageAtomicMax(01E20D00D", - "imageAtomicMax(01I20D00D", - "imageAtomicMax(01J20D00D", - "imageAtomicMax(01K20D00D", - "imageAtomicMax(01d00D00D", - "imageAtomicMax(01e00D00D", - "imageAtomicMax(01f00D00D", - "imageAtomicMax(01F20D00D", - "imageAtomicMax(01G20D00D", - "imageAtomicMax(01H20D00D", - "imageAtomicMax(01X20D00D", - "imageAtomicMax(01Y20D00D", - "imageAtomicMax(01Z20D00D", - "imageAtomicMax(01L00D00D", - "imageAtomicMax(01M00D00D", - "imageAtomicMax(01N00D00D", - "imageAtomicMax(01O10D00D", - "imageAtomicMax(01P10D00D", - "imageAtomicMax(01Q10D00D", - "imageAtomicMax(01a10D00D", - "imageAtomicMax(01b10D00D", - "imageAtomicMax(01c10D00D", - "imageAtomicMax(01R10D00D00D", - "imageAtomicMax(01S10D00D00D", - "imageAtomicMax(01T10D00D00D", - "imageAtomicMax(01U20D00D00D", - "imageAtomicMax(01V20D00D00D", - "imageAtomicMax(01W20D00D00D", - "imageAtomicAnd(00z10D00E", - "imageAtomicAnd(01A10D00E", - "imageAtomicAnd(01B10D00E", - "imageAtomicAnd(01C20D00E", - "imageAtomicAnd(01D20D00E", - "imageAtomicAnd(01E20D00E", - "imageAtomicAnd(01I20D00E", - "imageAtomicAnd(01J20D00E", - "imageAtomicAnd(01K20D00E", - "imageAtomicAnd(01d00D00E", - "imageAtomicAnd(01e00D00E", - "imageAtomicAnd(01f00D00E", - "imageAtomicAnd(01F20D00E", - "imageAtomicAnd(01G20D00E", - "imageAtomicAnd(01H20D00E", - "imageAtomicAnd(01X20D00E", - "imageAtomicAnd(01Y20D00E", - "imageAtomicAnd(01Z20D00E", - "imageAtomicAnd(01L00D00E", - "imageAtomicAnd(01M00D00E", - "imageAtomicAnd(01N00D00E", - "imageAtomicAnd(01O10D00E", - "imageAtomicAnd(01P10D00E", - "imageAtomicAnd(01Q10D00E", - "imageAtomicAnd(01a10D00E", - "imageAtomicAnd(01b10D00E", - "imageAtomicAnd(01c10D00E", - "imageAtomicAnd(01R10D00D00E", - "imageAtomicAnd(01S10D00D00E", - "imageAtomicAnd(01T10D00D00E", - "imageAtomicAnd(01U20D00D00E", - "imageAtomicAnd(01V20D00D00E", - "imageAtomicAnd(01W20D00D00E", - "imageAtomicAnd(00z10D00D", - "imageAtomicAnd(01A10D00D", - "imageAtomicAnd(01B10D00D", - "imageAtomicAnd(01C20D00D", - "imageAtomicAnd(01D20D00D", - "imageAtomicAnd(01E20D00D", - "imageAtomicAnd(01I20D00D", - "imageAtomicAnd(01J20D00D", - "imageAtomicAnd(01K20D00D", - "imageAtomicAnd(01d00D00D", - "imageAtomicAnd(01e00D00D", - "imageAtomicAnd(01f00D00D", - "imageAtomicAnd(01F20D00D", - "imageAtomicAnd(01G20D00D", - "imageAtomicAnd(01H20D00D", - "imageAtomicAnd(01X20D00D", - "imageAtomicAnd(01Y20D00D", - "imageAtomicAnd(01Z20D00D", - "imageAtomicAnd(01L00D00D", - "imageAtomicAnd(01M00D00D", - "imageAtomicAnd(01N00D00D", - "imageAtomicAnd(01O10D00D", - "imageAtomicAnd(01P10D00D", - "imageAtomicAnd(01Q10D00D", - "imageAtomicAnd(01a10D00D", - "imageAtomicAnd(01b10D00D", - "imageAtomicAnd(01c10D00D", - "imageAtomicAnd(01R10D00D00D", - "imageAtomicAnd(01S10D00D00D", - "imageAtomicAnd(01T10D00D00D", - "imageAtomicAnd(01U20D00D00D", - "imageAtomicAnd(01V20D00D00D", - "imageAtomicAnd(01W20D00D00D", - "imageAtomicOr(00z10D00E", - "imageAtomicOr(01A10D00E", - "imageAtomicOr(01B10D00E", - "imageAtomicOr(01C20D00E", - "imageAtomicOr(01D20D00E", - "imageAtomicOr(01E20D00E", - "imageAtomicOr(01I20D00E", - "imageAtomicOr(01J20D00E", - "imageAtomicOr(01K20D00E", - "imageAtomicOr(01d00D00E", - "imageAtomicOr(01e00D00E", - "imageAtomicOr(01f00D00E", - "imageAtomicOr(01F20D00E", - "imageAtomicOr(01G20D00E", - "imageAtomicOr(01H20D00E", - "imageAtomicOr(01X20D00E", - "imageAtomicOr(01Y20D00E", - "imageAtomicOr(01Z20D00E", - "imageAtomicOr(01L00D00E", - "imageAtomicOr(01M00D00E", - "imageAtomicOr(01N00D00E", - "imageAtomicOr(01O10D00E", - "imageAtomicOr(01P10D00E", - "imageAtomicOr(01Q10D00E", - "imageAtomicOr(01a10D00E", - "imageAtomicOr(01b10D00E", - "imageAtomicOr(01c10D00E", - "imageAtomicOr(01R10D00D00E", - "imageAtomicOr(01S10D00D00E", - "imageAtomicOr(01T10D00D00E", - "imageAtomicOr(01U20D00D00E", - "imageAtomicOr(01V20D00D00E", - "imageAtomicOr(01W20D00D00E", - "imageAtomicOr(00z10D00D", - "imageAtomicOr(01A10D00D", - "imageAtomicOr(01B10D00D", - "imageAtomicOr(01C20D00D", - "imageAtomicOr(01D20D00D", - "imageAtomicOr(01E20D00D", - "imageAtomicOr(01I20D00D", - "imageAtomicOr(01J20D00D", - "imageAtomicOr(01K20D00D", - "imageAtomicOr(01d00D00D", - "imageAtomicOr(01e00D00D", - "imageAtomicOr(01f00D00D", - "imageAtomicOr(01F20D00D", - "imageAtomicOr(01G20D00D", - "imageAtomicOr(01H20D00D", - "imageAtomicOr(01X20D00D", - "imageAtomicOr(01Y20D00D", - "imageAtomicOr(01Z20D00D", - "imageAtomicOr(01L00D00D", - "imageAtomicOr(01M00D00D", - "imageAtomicOr(01N00D00D", - "imageAtomicOr(01O10D00D", - "imageAtomicOr(01P10D00D", - "imageAtomicOr(01Q10D00D", - "imageAtomicOr(01a10D00D", - "imageAtomicOr(01b10D00D", - "imageAtomicOr(01c10D00D", - "imageAtomicOr(01R10D00D00D", - "imageAtomicOr(01S10D00D00D", - "imageAtomicOr(01T10D00D00D", - "imageAtomicOr(01U20D00D00D", - "imageAtomicOr(01V20D00D00D", - "imageAtomicOr(01W20D00D00D", - "imageAtomicXor(00z10D00E", - "imageAtomicXor(01A10D00E", - "imageAtomicXor(01B10D00E", - "imageAtomicXor(01C20D00E", - "imageAtomicXor(01D20D00E", - "imageAtomicXor(01E20D00E", - "imageAtomicXor(01I20D00E", - "imageAtomicXor(01J20D00E", - "imageAtomicXor(01K20D00E", - "imageAtomicXor(01d00D00E", - "imageAtomicXor(01e00D00E", - "imageAtomicXor(01f00D00E", - "imageAtomicXor(01F20D00E", - "imageAtomicXor(01G20D00E", - "imageAtomicXor(01H20D00E", - "imageAtomicXor(01X20D00E", - "imageAtomicXor(01Y20D00E", - "imageAtomicXor(01Z20D00E", - "imageAtomicXor(01L00D00E", - "imageAtomicXor(01M00D00E", - "imageAtomicXor(01N00D00E", - "imageAtomicXor(01O10D00E", - "imageAtomicXor(01P10D00E", - "imageAtomicXor(01Q10D00E", - "imageAtomicXor(01a10D00E", - "imageAtomicXor(01b10D00E", - "imageAtomicXor(01c10D00E", - "imageAtomicXor(01R10D00D00E", - "imageAtomicXor(01S10D00D00E", - "imageAtomicXor(01T10D00D00E", - "imageAtomicXor(01U20D00D00E", - "imageAtomicXor(01V20D00D00E", - "imageAtomicXor(01W20D00D00E", - "imageAtomicXor(00z10D00D", - "imageAtomicXor(01A10D00D", - "imageAtomicXor(01B10D00D", - "imageAtomicXor(01C20D00D", - "imageAtomicXor(01D20D00D", - "imageAtomicXor(01E20D00D", - "imageAtomicXor(01I20D00D", - "imageAtomicXor(01J20D00D", - "imageAtomicXor(01K20D00D", - "imageAtomicXor(01d00D00D", - "imageAtomicXor(01e00D00D", - "imageAtomicXor(01f00D00D", - "imageAtomicXor(01F20D00D", - "imageAtomicXor(01G20D00D", - "imageAtomicXor(01H20D00D", - "imageAtomicXor(01X20D00D", - "imageAtomicXor(01Y20D00D", - "imageAtomicXor(01Z20D00D", - "imageAtomicXor(01L00D00D", - "imageAtomicXor(01M00D00D", - "imageAtomicXor(01N00D00D", - "imageAtomicXor(01O10D00D", - "imageAtomicXor(01P10D00D", - "imageAtomicXor(01Q10D00D", - "imageAtomicXor(01a10D00D", - "imageAtomicXor(01b10D00D", - "imageAtomicXor(01c10D00D", - "imageAtomicXor(01R10D00D00D", - "imageAtomicXor(01S10D00D00D", - "imageAtomicXor(01T10D00D00D", - "imageAtomicXor(01U20D00D00D", - "imageAtomicXor(01V20D00D00D", - "imageAtomicXor(01W20D00D00D", - "imageAtomicExchange(00z10D00E", - "imageAtomicExchange(01A10D00E", - "imageAtomicExchange(01B10D00E", - "imageAtomicExchange(01C20D00E", - "imageAtomicExchange(01D20D00E", - "imageAtomicExchange(01E20D00E", - "imageAtomicExchange(01I20D00E", - "imageAtomicExchange(01J20D00E", - "imageAtomicExchange(01K20D00E", - "imageAtomicExchange(01d00D00E", - "imageAtomicExchange(01e00D00E", - "imageAtomicExchange(01f00D00E", - "imageAtomicExchange(01F20D00E", - "imageAtomicExchange(01G20D00E", - "imageAtomicExchange(01H20D00E", - "imageAtomicExchange(01X20D00E", - "imageAtomicExchange(01Y20D00E", - "imageAtomicExchange(01Z20D00E", - "imageAtomicExchange(01L00D00E", - "imageAtomicExchange(01M00D00E", - "imageAtomicExchange(01N00D00E", - "imageAtomicExchange(01O10D00E", - "imageAtomicExchange(01P10D00E", - "imageAtomicExchange(01Q10D00E", - "imageAtomicExchange(01a10D00E", - "imageAtomicExchange(01b10D00E", - "imageAtomicExchange(01c10D00E", - "imageAtomicExchange(01R10D00D00E", - "imageAtomicExchange(01S10D00D00E", - "imageAtomicExchange(01T10D00D00E", - "imageAtomicExchange(01U20D00D00E", - "imageAtomicExchange(01V20D00D00E", - "imageAtomicExchange(01W20D00D00E", - "imageAtomicExchange(00z10D00D", - "imageAtomicExchange(01A10D00D", - "imageAtomicExchange(01B10D00D", - "imageAtomicExchange(01C20D00D", - "imageAtomicExchange(01D20D00D", - "imageAtomicExchange(01E20D00D", - "imageAtomicExchange(01I20D00D", - "imageAtomicExchange(01J20D00D", - "imageAtomicExchange(01K20D00D", - "imageAtomicExchange(01d00D00D", - "imageAtomicExchange(01e00D00D", - "imageAtomicExchange(01f00D00D", - "imageAtomicExchange(01F20D00D", - "imageAtomicExchange(01G20D00D", - "imageAtomicExchange(01H20D00D", - "imageAtomicExchange(01X20D00D", - "imageAtomicExchange(01Y20D00D", - "imageAtomicExchange(01Z20D00D", - "imageAtomicExchange(01L00D00D", - "imageAtomicExchange(01M00D00D", - "imageAtomicExchange(01N00D00D", - "imageAtomicExchange(01O10D00D", - "imageAtomicExchange(01P10D00D", - "imageAtomicExchange(01Q10D00D", - "imageAtomicExchange(01a10D00D", - "imageAtomicExchange(01b10D00D", - "imageAtomicExchange(01c10D00D", - "imageAtomicExchange(01R10D00D00D", - "imageAtomicExchange(01S10D00D00D", - "imageAtomicExchange(01T10D00D00D", - "imageAtomicExchange(01U20D00D00D", - "imageAtomicExchange(01V20D00D00D", - "imageAtomicExchange(01W20D00D00D", - "imageAtomicExchange(00z10D00B", - "imageAtomicExchange(01A10D00B", - "imageAtomicExchange(01B10D00B", - "imageAtomicExchange(01C20D00B", - "imageAtomicExchange(01D20D00B", - "imageAtomicExchange(01E20D00B", - "imageAtomicExchange(01I20D00B", - "imageAtomicExchange(01J20D00B", - "imageAtomicExchange(01K20D00B", - "imageAtomicExchange(01d00D00B", - "imageAtomicExchange(01e00D00B", - "imageAtomicExchange(01f00D00B", - "imageAtomicExchange(01F20D00B", - "imageAtomicExchange(01G20D00B", - "imageAtomicExchange(01H20D00B", - "imageAtomicExchange(01X20D00B", - "imageAtomicExchange(01Y20D00B", - "imageAtomicExchange(01Z20D00B", + "imageSize(01H", + "imageSize(01I", + "packHalf2x16(10B", + "textureProj(00I20B00B", + "imageSize(01B", + "imageSize(01C", + "imageSize(01A", + "imageSize(01F", + "imageSize(01G", + "imageSize(01D", + "imageSize(01E", "imageAtomicExchange(01L00D00B", - "imageAtomicExchange(01M00D00B", - "imageAtomicExchange(01N00D00B", - "imageAtomicExchange(01O10D00B", - "imageAtomicExchange(01P10D00B", - "imageAtomicExchange(01Q10D00B", - "imageAtomicExchange(01a10D00B", - "imageAtomicExchange(01b10D00B", - "imageAtomicExchange(01c10D00B", - "imageAtomicExchange(01R10D00D00B", - "imageAtomicExchange(01S10D00D00B", - "imageAtomicExchange(01T10D00D00B", - "imageAtomicExchange(01U20D00D00B", - "imageAtomicExchange(01V20D00D00B", - "imageAtomicExchange(01W20D00D00B", - "imageAtomicCompSwap(00z10D00E00E", - "imageAtomicCompSwap(01A10D00E00E", - "imageAtomicCompSwap(01B10D00E00E", - "imageAtomicCompSwap(01C20D00E00E", - "imageAtomicCompSwap(01D20D00E00E", - "imageAtomicCompSwap(01E20D00E00E", - "imageAtomicCompSwap(01I20D00E00E", - "imageAtomicCompSwap(01J20D00E00E", - "imageAtomicCompSwap(01K20D00E00E", - "imageAtomicCompSwap(01d00D00E00E", - "imageAtomicCompSwap(01e00D00E00E", - "imageAtomicCompSwap(01f00D00E00E", - "imageAtomicCompSwap(01F20D00E00E", - "imageAtomicCompSwap(01G20D00E00E", - "imageAtomicCompSwap(01H20D00E00E", - "imageAtomicCompSwap(01X20D00E00E", - "imageAtomicCompSwap(01Y20D00E00E", - "imageAtomicCompSwap(01Z20D00E00E", - "imageAtomicCompSwap(01L00D00E00E", - "imageAtomicCompSwap(01M00D00E00E", - "imageAtomicCompSwap(01N00D00E00E", - "imageAtomicCompSwap(01O10D00E00E", - "imageAtomicCompSwap(01P10D00E00E", - "imageAtomicCompSwap(01Q10D00E00E", - "imageAtomicCompSwap(01a10D00E00E", - "imageAtomicCompSwap(01b10D00E00E", - "imageAtomicCompSwap(01c10D00E00E", - "imageAtomicCompSwap(01R10D00D00E00E", - "imageAtomicCompSwap(01S10D00D00E00E", - "imageAtomicCompSwap(01T10D00D00E00E", - "imageAtomicCompSwap(01U20D00D00E00E", - "imageAtomicCompSwap(01V20D00D00E00E", - "imageAtomicCompSwap(01W20D00D00E00E", - "imageAtomicCompSwap(00z10D00D00D", - "imageAtomicCompSwap(01A10D00D00D", - "imageAtomicCompSwap(01B10D00D00D", - "imageAtomicCompSwap(01C20D00D00D", - "imageAtomicCompSwap(01D20D00D00D", - "imageAtomicCompSwap(01E20D00D00D", - "imageAtomicCompSwap(01I20D00D00D", - "imageAtomicCompSwap(01J20D00D00D", - "imageAtomicCompSwap(01K20D00D00D", - "imageAtomicCompSwap(01d00D00D00D", - "imageAtomicCompSwap(01e00D00D00D", - "imageAtomicCompSwap(01f00D00D00D", - "imageAtomicCompSwap(01F20D00D00D", - "imageAtomicCompSwap(01G20D00D00D", - "imageAtomicCompSwap(01H20D00D00D", - "imageAtomicCompSwap(01X20D00D00D", - "imageAtomicCompSwap(01Y20D00D00D", - "imageAtomicCompSwap(01Z20D00D00D", - "imageAtomicCompSwap(01L00D00D00D", - "imageAtomicCompSwap(01M00D00D00D", - "imageAtomicCompSwap(01N00D00D00D", - "imageAtomicCompSwap(01O10D00D00D", - "imageAtomicCompSwap(01P10D00D00D", - "imageAtomicCompSwap(01Q10D00D00D", - "imageAtomicCompSwap(01a10D00D00D", - "imageAtomicCompSwap(01b10D00D00D", - "imageAtomicCompSwap(01c10D00D00D", - "imageAtomicCompSwap(01R10D00D00D00D", - "imageAtomicCompSwap(01S10D00D00D00D", - "imageAtomicCompSwap(01T10D00D00D00D", - "imageAtomicCompSwap(01U20D00D00D00D", - "imageAtomicCompSwap(01V20D00D00D00D", - "imageAtomicCompSwap(01W20D00D00D00D", - "memoryBarrier(", - "memoryBarrierAtomicCounter(", - "memoryBarrierBuffer(", - "memoryBarrierImage(", - "barrier(", - "memoryBarrierShared(", - "groupMemoryBarrier(", - "EmitVertex(", - "EndPrimitive(", - "textureVideoWEBGL(00y10B", - "texture(00y10B", - "gl_DepthRangeParameters", - "gl_DepthRange", - "gl_NumSamples", - "gl_MaxVertexAttribs", - "gl_MaxVertexUniformVectors", - "gl_MaxVertexTextureImageUnits", - "gl_MaxCombinedTextureImageUnits", - "gl_MaxTextureImageUnits", - "gl_MaxFragmentUniformVectors", - "gl_MaxVaryingVectors", - "gl_MaxDrawBuffers", - "gl_MaxDualSourceDrawBuffersEXT", - "gl_MaxVertexOutputVectors", - "gl_MaxFragmentInputVectors", - "gl_MinProgramTexelOffset", - "gl_MaxProgramTexelOffset", - "gl_MaxImageUnits", - "gl_MaxVertexImageUniforms", - "gl_MaxFragmentImageUniforms", - "gl_MaxComputeImageUniforms", - "gl_MaxCombinedImageUniforms", - "gl_MaxCombinedShaderOutputResources", - "gl_MaxComputeWorkGroupCount", - "gl_MaxComputeWorkGroupSize", - "gl_MaxComputeUniformComponents", - "gl_MaxComputeTextureImageUnits", - "gl_MaxComputeAtomicCounters", - "gl_MaxComputeAtomicCounterBuffers", - "gl_MaxVertexAtomicCounters", - "gl_MaxFragmentAtomicCounters", - "gl_MaxCombinedAtomicCounters", - "gl_MaxAtomicCounterBindings", - "gl_MaxVertexAtomicCounterBuffers", - "gl_MaxFragmentAtomicCounterBuffers", - "gl_MaxCombinedAtomicCounterBuffers", - "gl_MaxAtomicCounterBufferSize", - "gl_MaxGeometryInputComponents", - "gl_MaxGeometryOutputComponents", - "gl_MaxGeometryImageUniforms", - "gl_MaxGeometryTextureImageUnits", - "gl_MaxGeometryOutputVertices", - "gl_MaxGeometryTotalOutputComponents", - "gl_MaxGeometryUniformComponents", - "gl_MaxGeometryAtomicCounters", - "gl_MaxGeometryAtomicCounterBuffers", - "gl_MaxTessControlInputComponents", - "gl_MaxTessControlOutputComponents", - "gl_MaxTessControlTextureImageUnits", - "gl_MaxTessControlUniformComponents", - "gl_MaxTessControlTotalOutputComponents", - "gl_MaxTessControlImageUniforms", - "gl_MaxTessControlAtomicCounters", - "gl_MaxTessControlAtomicCounterBuffers", - "gl_MaxTessPatchComponents", - "gl_MaxPatchVertices", - "gl_MaxTessGenLevel", - "gl_MaxTessEvaluationInputComponents", - "gl_MaxTessEvaluationOutputComponents", - "gl_MaxTessEvaluationTextureImageUnits", - "gl_MaxTessEvaluationUniformComponents", - "gl_MaxTessEvaluationImageUniforms", - "gl_MaxTessEvaluationAtomicCounters", - "gl_MaxTessEvaluationAtomicCounterBuffers", - "gl_MaxSamples", - "gl_MaxClipDistances", - "gl_MaxCullDistances", - "gl_MaxCombinedClipAndCullDistances", - "gl_FragCoord", - "gl_FrontFacing", - "gl_PointCoord", - "gl_FragColor", - "gl_FragData", + "imageAtomicExchange(01L00D00E", + "imageAtomicExchange(01L00D00D", + "notEqual(30F30F", + "imageSize(01h", + "imageSize(01i", + "fract(20B", + "imageAtomicMax(01c20D00D", + "imageSize(01c", + "imageSize(01a", + "imageSize(01g", + "textureLod(00S20B00B", + "imageAtomicMin(01J20D00D", "gl_FragDepth", - "gl_HelperInvocation", - "gl_SecondaryFragColorEXT", - "gl_SecondaryFragDataEXT", - "gl_FragDepthEXT", - "gl_LastFragData", - "gl_LastFragColor", - "gl_LastFragColorARM", - "gl_PrimitiveID", - "gl_Layer", - "gl_SampleID", - "gl_SamplePosition", - "gl_SampleMaskIn", - "gl_SampleMask", - "gl_CullDistance", - "gl_ClipDistance", - "gl_Position", - "gl_PointSize", - "gl_InstanceID", - "", - "gl_VertexID", - "", - "", - "gl_DrawID", - "gl_BaseVertex", - "gl_BaseInstance", - "angle_BaseVertex", + "textureGather(00x30B", + "mix(30B30B30F", + "mix(30B30B30B", + "textureGather(00Z20B00D", + "imageAtomicAnd(01Z10D00E", + "imageAtomicAnd(01Z10D00D", + "imageStore(01E20D30E", + "sqrt(30B", + "exp(00B", + "max(30D30D", + "gl_MaxGeometryTextureImageUnits", + "interpolateAtCentroid(10B", + "textureSize(00M00D", "angle_BaseInstance", - "gl_NumWorkGroups", - "gl_WorkGroupSize", - "gl_WorkGroupID", - "gl_LocalInvocationID", + "mix(10F10F10F", + "textureGradOffset(00U20B10B10B10D", + "gl_Position", + "textureProj(00M30B", + "textureGradOffset(00L20B10B10B10D", + "imageAtomicExchange(01V20D00D00D", + "imageAtomicExchange(01J20D00B", + "imageAtomicExchange(01J20D00E", + "imageAtomicExchange(01J20D00D", + "imageAtomicOr(01M00D00D", + "imageAtomicOr(01M00D00E", + "dot(20B20B", + "imageAtomicCompSwap(01Z10D00E00E", + "textureProjLod(00S30B00B", + "textureProjGrad(00R20B10B10B", + "imageAtomicAnd(01i00D00E", + "imageAtomicAnd(01i00D00D", + "imageAtomicMax(00z10D00E", + "imageAtomicMax(00z10D00D", + "imageAtomicMax(01V20D00D00D", + "imageAtomicMax(01V20D00D00E", + "textureProjGrad(00I20B10B10B", + "textureGather(00e20B", + "texture2D(00M10B", + "imageAtomicAdd(01a20D00E", + "imageAtomicAdd(01a20D00D", + "textureGather(00K20B00D", + "textureCubeLodEXT(00K20B00B", + "textureGather(00T20B00D", + "textureProj(00N20B", + "imageAtomicMax(01E20D00D", + "imageAtomicMax(01E20D00E", + "textureProjLodOffset(00X30B00B10D", + "texelFetchOffset(00U20D00D10D", + "imageAtomicCompSwap(00z10D00E00E", + "imageAtomicMin(01D20D00E", + "imageAtomicMin(01D20D00D", + "textureGradOffset(00d20B10B10B10D", + "imageAtomicCompSwap(01N00D00E00E", + "textureProjOffset(00d30B10D", + "imageAtomicOr(01T10D00D00E", + "imageAtomicOr(01T10D00D00D", + "equal(20F20F", + "usubBorrow(10E10E10E", + "equal(10B10B", + "isnan(10B", + "uaddCarry(20E20E20E", + "imageAtomicXor(01A10D00D", + "imageAtomicXor(01A10D00E", + "imageAtomicCompSwap(01C20D00D00D", + "atomicMin(00D00D", + "textureSize(00X00D", + "greaterThan(10B10B", + "clamp(30D00D00D", + "mix(20E20E20F", + "textureProjOffset(00R30B10D00B", + "textureGather(00U20B00D", + "floatBitsToInt(00B", + "imageLoad(01a20D", + "floatBitsToUint(00B", + "imageAtomicCompSwap(01I20D00E00E", + "texture2DRectProj(00O20B", + "tan(20B", + "floor(00B", + "imageAtomicMax(01O10D00E", + "imageAtomicMax(01O10D00D", + "gl_DrawID", + "modf(00B00B", + "notEqual(20D20D", + "imageAtomicExchange(01R10D00D00E", + "imageAtomicExchange(01R10D00D00D", + "imageAtomicExchange(01F20D00E", + "determinant(A0B", + "imageAtomicExchange(01i00D00D", + "imageAtomicExchange(01i00D00E", + "imageAtomicExchange(01i00D00B", + "imageAtomicOr(01I20D00E", + "isnan(30B", + "lessThanEqual(30D30D", + "textureProj(00M30B00B", + "texture2DProj(00M30B", + "textureGrad(00I10B10B10B", + "step(00B20B", + "texture2DProjLod(00I20B00B", + "yuv_2_rgb(20B00H", + "texelFetch(00b10D00D", + "textureProj(00J30B00B", + "textureGather(00R10B", + "imageAtomicOr(01V20D00D00D", + "imageAtomicOr(01V20D00D00E", + "imageAtomicExchange(01P10D00D", + "min(10D10D", + "all(30F", + "imageAtomicExchange(01P10D00E", + "imageAtomicAnd(01S10D00D00E", + "imageAtomicAnd(01S10D00D00D", + "angle_BaseVertex", + "bitfieldReverse(20D", + "bitfieldReverse(20E", + "imageAtomicExchange(01I20D00D", + "imageAtomicExchange(01I20D00E", + "imageAtomicExchange(01I20D00B", + "gl_MaxGeometryInputComponents", + "textureGatherOffsets(00X10B10Dx4", + "fract(10B", + "textureLodOffset(00I10B00B10D", + "imageAtomicCompSwap(01S10D00D00E00E", + "imageAtomicXor(01c20D00E", + "imageAtomicXor(01c20D00D", + "textureOffset(00U20B10D", + "min(30B00B", + "atomicAnd(00D00D", + "exp(10B", + "bitCount(30E", + "bitCount(30D", + "unpackUnorm2x16(00E", + "sqrt(20B", + "gl_PerVertex", + "textureGrad(00L20B10B10B", + "interpolateAtCentroid(00B", + "gl_MaxImageUnits", + "imageAtomicOr(01Q10D00E", + "imageAtomicOr(01Q10D00D", + "clamp(10D00D00D", + "step(30B30B", + "texelFetch(00P10D00D", + "imageAtomicCompSwap(01i00D00D00D", + "texture(00O10B", + "imageAtomicMin(01M00D00D", + "imageAtomicMin(01M00D00E", + "texture(00e30B00B", + "imageAtomicMin(01O10D00E", + "imageAtomicMin(01O10D00D", + "gl_FragCoord", + "imageAtomicMax(01X10D00D", + "imageAtomicMax(01X10D00E", + "imageAtomicAnd(01E20D00E", + "imageAtomicAnd(01E20D00D", + "normalize(00B", + "imageAtomicOr(01A10D00E", + "imageAtomicOr(01A10D00D", + "imageAtomicCompSwap(01Q10D00E00E", + "atomicMax(00D00D", + "floatBitsToUint(10B", + "textureLod(00J20B00B", + "textureSize(00I00D", + "gl_MaxComputeWorkGroupSize", + "texelFetchOffset(00R10D00D10D", + "textureLodOffset(00X10B00B10D", + "texture(00T20B00B", + "log(30B", + "smoothstep(00B00B20B", + "imageAtomicMax(01K20D00D", + "imageAtomicMax(01K20D00E", + "imageStore(01G20D30D", + "textureProjLod(00R20B00B", + "notEqual(30D30D", + "textureProjOffset(00I20B10D", + "gl_MaxDrawBuffers", + "gl_MaxCombinedTextureImageUnits", + "imageAtomicMin(01K20D00D", + "imulExtended(20D20D20D20D", + "any(30F", + "distance(30B30B", + "texture3D(00J20B00B", + "dot(30B30B", + "gl_MaxTextureImageUnits", + "usubBorrow(20E20E20E", + "mix(30B30B00B", + "clamp(30B00B00B", + "texture2DRectProj(00O30B", + "max(10D00D", + "clamp(00D00D00D", + "floor(30B", + "texelFetch(00X10D00D", + "textureProjGradOffset(00S30B20B20B20D", + "gl_PointCoord", + "bitfieldReverse(00D", + "bitfieldReverse(00E", + "imageStore(01F20D30B", + "clamp(10B00B00B", + "texelFetchOffset(00S20D00D20D", + "lessThan(10D10D", + "texture(00R10B00B", + "textureGatherOffset(00U20B10D00D", + "textureGather(00I10B00D", + "texelFetch(00V10D00D", + "imageAtomicExchange(01h00D00E", + "imageAtomicExchange(01h00D00D", + "atan(30B30B", + "imageAtomicExchange(01h00D00B", + "imageAtomicMax(01a20D00D", + "imageAtomicMax(01a20D00E", + "max(00B00B", + "imageAtomicOr(01J20D00E", + "imageAtomicOr(01J20D00D", + "imageAtomicMax(01F20D00E", + "imageAtomicMax(01F20D00D", + "exp2(20B", + "imageAtomicExchange(00z10D00B", + "imageAtomicExchange(00z10D00E", + "imageAtomicExchange(00z10D00D", + "textureProjLod(00Y30B00B", + "imageAtomicMin(01c20D00D", + "imageAtomicMin(01c20D00E", + "textureSize(00k00D", + "reflect(20B20B", + "imageAtomicXor(01V20D00D00E", + "imageAtomicXor(01V20D00D00D", + "equal(10F10F", + "acos(30B", + "textureVideoWEBGL(00y10B", + "dFdx(10B", + "bitfieldReverse(30E", + "bitfieldReverse(30D", + "imageAtomicOr(01Z10D00D", + "imageAtomicOr(01Z10D00E", + "fract(00B", + "min(30E00E", + "gl_MinProgramTexelOffset", + "interpolateAtOffset(20B10B", + "imageAtomicOr(01c20D00D", + "imageAtomicOr(01c20D00E", + "reflect(30B30B", + "interpolateAtCentroid(30B", + "mod(30B30B", + "imageAtomicXor(01X10D00E", + "imageAtomicXor(01X10D00D", + "memoryBarrier(", + "pow(00B00B", + "mod(00B00B", + "unpackUnorm4x8(00E", + "roundEven(10B", + "atanh(30B", + "textureLod(00K20B00B", + "bitCount(20D", + "bitCount(20E", + "texelFetch(00L20D00D", + "imageAtomicAnd(01K20D00E", + "distance(20B20B", + "uaddCarry(30E30E30E", + "textureSize(00U00D", + "gl_MaxCombinedImageUniforms", + "imageAtomicOr(01g00D00D", + "imageAtomicOr(01g00D00E", "gl_GlobalInvocationID", "gl_LocalInvocationIndex", + "gl_VertexID", + "imageAtomicCompSwap(01U20D00D00D00D", + "atomicOr(00E00E", + "mix(10B10B10F", + "mix(10B10B10B", + "textureProj(00Y30B00B", + "imageAtomicMax(01I20D00D", + "imageAtomicMax(01I20D00E", + "textureGatherOffset(00I10B10D00D", + "notEqual(20E20E", + "textureLodOffset(00d20B00B10D", + "inverse(A0B", + "textureProjGrad(00X20B10B10B", + "textureSize(00Y00D", + "atan(20B20B", + "usubBorrow(00E00E00E", + "imageAtomicXor(01M00D00E", + "imageAtomicXor(01M00D00D", + "textureGatherOffsets(00U20B10Dx4", + "imageAtomicCompSwap(01c20D00E00E", + "texture2D(00I10B00B", + "fma(10B10B10B", + "smoothstep(00B00B10B", + "imageAtomicCompSwap(01a20D00D00D", + "normalize(10B", + "imageStore(01b20D30D", + "bitfieldExtract(00E00D00D", + "any(20F", + "gl_HelperInvocation", + "sin(10B", + "textureSize(00N00D", + "mod(20B20B", + "imageAtomicOr(01h00D00E", + "imageAtomicOr(01h00D00D", + "textureGrad(00k30B20B20B", + "imageAtomicMin(01A10D00E", + "imageAtomicMin(01A10D00D", + "textureGradOffset(00f30B10B10B10D", + "max(20D20D", + "max(10D10D", + "refract(30B30B00B", + "floor(20B", + "mix(00B00B00B", + "matrixCompMult(F0BF0B", + "umulExtended(10E10E10E10E", + "texture(00d20B00B", + "gl_MaxCombinedAtomicCounterBuffers", + "umulExtended(30E30E30E30E", + "textureGradOffset(00Y20B20B20B20D", + "textureGatherOffset(00a20B10D", + "textureGrad(00f30B10B10B", + "imageAtomicXor(01C20D00E", + "modf(20B20B", + "imageAtomicAnd(01Y10D00D", + "imageAtomicAnd(01Y10D00E", + "imageAtomicAdd(01i00D00E", + "imageAtomicAdd(01i00D00D", + "imageAtomicCompSwap(01L00D00E00E", + "texture(00y10B", + "length(30B", + "imageStore(01B10D30E", + "textureGather(00s30B", + "imageAtomicMin(00z10D00E", + "imageAtomicMin(00z10D00D", + "imageStore(01I20D30B", + "exp2(30B", + "texture3DProj(00J30B00B", + "imageAtomicAdd(01K20D00E", + "imageAtomicAdd(01K20D00D", + "textureProjLod(00X30B00B", + "textureProjGradOffset(00I30B10B10B10D", + "imageAtomicAdd(01W20D00D00D", + "cosh(30B", + "textureOffset(00S20B20D00B", + "usubBorrow(30E30E30E", + "imageAtomicMax(01W20D00D00E", + "imageAtomicMax(01W20D00D00D", + "textureProjOffset(00R20B10D00B", + "texture3DProj(00J30B", + "matrixCompMult(B0BB0B", + "lessThan(30B30B", + "cross(20B20B", + "all(10F", + "clamp(20B00B00B", + "dFdx(00B", + "textureLodOffset(00S20B00B20D", + "acos(20B", + "texelFetch(00r00D", + "max(20B20B", + "textureLod(00X10B00B", + "equal(30F30F", + "cosh(00B", + "bitfieldExtract(00D00D00D", + "imageAtomicMin(01E20D00D", + "imageAtomicMin(01E20D00E", + "textureLod(00Z20B00B", + "sign(00D", + "textureOffset(00Y20B20D", + "imageAtomicXor(01Q10D00D", + "imageAtomicXor(01Q10D00E", + "transpose(60B", + "imageAtomicAdd(01O10D00D", + "imageAtomicAdd(01O10D00E", + "faceforward(00B00B00B", + "gl_NumWorkGroups", + "imageAtomicOr(01O10D00E", + "imageAtomicOr(01O10D00D", + "imageAtomicAdd(01b20D00D", + "imageAtomicAdd(01b20D00E", + "textureProjLodOffset(00R30B00B10D", + "imageAtomicExchange(01U20D00D00B", + "imageAtomicExchange(01U20D00D00E", + "imageAtomicExchange(01U20D00D00D", + "imageStore(01H20D30E", + "textureGather(00U20B", + "texelFetch(00Q20D00D", + "roundEven(00B", + "atanh(20B", + "texelFetch(00w00D", + "textureProjOffset(00X30B10D", + "gl_MaxFragmentUniformVectors", + "interpolateAtOffset(10B10B", + "imageAtomicCompSwap(01Q10D00D00D", + "abs(30B", + "bitfieldInsert(10E10E00D00D", + "packSnorm4x8(30B", + "mix(10B10B00B", + "textureGatherOffset(00X10B10D", + "clamp(30D30D30D", + "textureGatherOffsets(00L20B10Dx4", + "imageAtomicMax(01c20D00E", + "imageAtomicMax(01G20D00D", + "imageAtomicMax(01G20D00E", + "determinant(F0B", + "transpose(A0B", + "pow(20B20B", + "texture2DProjGradEXT(00I20B10B10B", + "imageAtomicMax(01B10D00D", + "imageAtomicMax(01B10D00E", + "imageAtomicExchange(01G20D00B", + "imageAtomicExchange(01G20D00D", + "imageAtomicExchange(01G20D00E", + "imageAtomicMax(01g00D00D", + "imageAtomicMax(01g00D00E", + "texture(00s30B00B", + "log2(20B", + "textureProjOffset(00I20B10D00B", + "imageAtomicAnd(01T10D00D00D", + "imageAtomicAnd(01T10D00D00E", + "notEqual(10F10F", + "smoothstep(00B00B00B", + "textureProjLodOffset(00d30B00B10D", + "imageAtomicAnd(01P10D00E", + "imageAtomicAnd(01P10D00D", + "textureProjLodOffset(00I30B00B10D", + "gl_MaxCombinedAtomicCounters", + "bitfieldInsert(10D10D00D00D", + "imageAtomicCompSwap(01N00D00D00D", + "imageAtomicCompSwap(01L00D00D00D", + "textureGather(00k30B", + "texture(00J20B", + "lessThanEqual(10D10D", + "gl_MaxVaryingVectors", + "textureSize(00d00D", + "sin(00B", + "uaddCarry(10E10E10E", + "atomicCounterIncrement(00G", + "imageAtomicAdd(01J20D00D", + "imageAtomicAdd(01J20D00E", + "imageAtomicCompSwap(01S10D00D00D00D", + "imageAtomicAdd(01U20D00D00D", + "imageAtomicAdd(01U20D00D00E", + "imageAtomicExchange(01Y10D00B", + "equal(10E10E", + "imageAtomicExchange(01Y10D00E", + "imageAtomicExchange(01Y10D00D", + "imageLoad(01B10D", + "imageAtomicExchange(01O10D00E", + "textureProjOffset(00J30B20D", + "imageAtomicXor(01D20D00D", + "imageAtomicXor(01D20D00E", + "notEqual(10E10E", + "imageAtomicExchange(01N00D00B", + "imageAtomicExchange(01N00D00E", + "imageAtomicExchange(01N00D00D", + "imageAtomicCompSwap(01O10D00D00D", + "imageAtomicMin(01i00D00D", + "imageAtomicMin(01i00D00E", + "textureLodOffset(00R10B00B10D", + "trunc(10B", + "imageAtomicAdd(01S10D00D00D", + "length(20B", + "gl_DepthRangeParameters", + "imageAtomicAnd(01B10D00E", + "textureGather(00f20B", + "textureProj(00d30B00B", + "sign(10B", + "max(00E00E", + "texture(00a20B00B", + "textureProj(00M20B00B", + "imageLoad(01A10D", + "textureProjOffset(00X30B10D00B", + "exp2(00B", + "imageAtomicExchange(01H20D00B", + "imageAtomicCompSwap(01H20D00E00E", + "imageAtomicExchange(01H20D00E", + "imageAtomicExchange(01H20D00D", + "textureGather(00a20B00D", + "textureSize(00s00D", + "texture(00Y20B", + "imageAtomicOr(01I20D00D", + "texture(00N10B00B", + "gl_PrimitiveID", + "imageAtomicCompSwap(01Y10D00D00D", + "textureProjGrad(00I30B10B10B", + "gl_Layer", + "textureOffset(00d20B10D", + "dFdx(30B", + "textureGatherOffsets(00U20B10Dx400D", + "imageAtomicMin(01V20D00D00D", + "imageAtomicMin(01V20D00D00E", + "gl_LastFragColor", + "min(20E20E", + "asin(20B", + "imageAtomicCompSwap(01U20D00D00E00E", + "texture(00l30B00B", + "fwidth(10B", + "dFdy(00B", + "lessThan(30E30E", + "imulExtended(30D30D30D30D", + "transpose(70B", + "imulExtended(00D00D00D00D", + "imageAtomicAdd(01F20D00D", + "imageAtomicAdd(01F20D00E", + "texture(00S20B00B", + "textureLod(00Y20B00B", + "imageAtomicExchange(01c20D00D", + "imageAtomicExchange(01c20D00E", + "imageAtomicExchange(01c20D00B", + "min(20D00D", + "imageAtomicCompSwap(01P10D00D00D", + "uintBitsToFloat(00E", + "imageAtomicMin(01L00D00E", + "imageAtomicMin(01L00D00D", + "bitfieldInsert(20D20D00D00D", + "imageSize(01b", + "texture(00Z20B", + "tanh(00B", + "imageAtomicMax(01N00D00E", + "imageAtomicMax(01N00D00D", + "matrixCompMult(D0BD0B", + "gl_MaxClipDistances", + "imageAtomicXor(01g00D00E", + "imageAtomicXor(01g00D00D", + "min(30B30B", + "lessThan(20E20E", + "memoryBarrierAtomicCounter(", + "bitfieldInsert(00E00E00D00D", + "imageAtomicMin(01a20D00D", + "imageAtomicMin(01a20D00E", + "textureGrad(00d20B10B10B", + "mix(30D30D30F", + "atan(10B", + "imageAtomicCompSwap(01g00D00D00D", + "step(00B10B", + "textureProjLod(00I20B00B", + "rgb_2_yuv(20B00H", + "texture(00T20B", + "log2(10B", + "imageAtomicAnd(01D20D00D", + "imageAtomicAnd(01D20D00E", + "findLSB(20E", + "findLSB(20D", + "imageAtomicCompSwap(01B10D00D00D", + "imageAtomicOr(01X10D00D", + "imageAtomicOr(01X10D00E", + "greaterThanEqual(10B10B", + "clamp(10D10D10D", + "texelFetch(00M10D00D", + "transpose(F0B", + "textureOffset(00Y20B20D00B", + "textureGradOffset(00S20B20B20B20D", + "clamp(30E30E30E", + "textureSize(00R00D", + "inverse(F0B", + "acosh(10B", + "imageLoad(01b20D", + "textureOffset(00L20B10D00B", + "mod(20B00B", + "textureProjLod(00J30B00B", + "transpose(90B", + "atomicAnd(00E00E", + "max(20D00D", + "texelFetchOffset(00I10D00D10D", + "imageAtomicMin(01Z10D00D", + "imageAtomicMin(01Z10D00E", + "imageAtomicCompSwap(01i00D00E00E", + "imageAtomicCompSwap(01K20D00D00D", + "imageStore(01J20D30D", + "atomicCounter(00G", + "bitfieldInsert(30D30D00D00D", + "greaterThan(10D10D", + "bitfieldExtract(10E00D00D", + "greaterThan(20D20D", + "imageAtomicAnd(01W20D00D00D", + "imageAtomicAnd(01W20D00D00E", + "trunc(00B", + "length(10B", + "imageAtomicAdd(01H20D00D", + "imageAtomicAdd(01H20D00E", + "dot(00B00B", + "tan(30B", + "textureLod(00T20B00B", + "textureProjGrad(00R30B10B10B", + "exp2(10B", + "textureProjOffset(00X20B10D00B", + "imageAtomicXor(01i00D00E", + "imageAtomicXor(01i00D00D", + "matrixCompMult(A0BA0B", + "textureGrad(00S20B20B20B", + "round(30B", + "textureGrad(00x30B20B20B", + "imageAtomicCompSwap(01D20D00E00E", + "interpolateAtSample(00B00D", + "dFdx(20B", + "texture(00L20B", + "barrier(", + "imageAtomicOr(01N00D00E", + "imageAtomicOr(01N00D00D", + "textureGather(00k30B00D", + "findMSB(20D", + "findMSB(20E", + "imageAtomicMin(01S10D00D00D", + "imageAtomicMin(01S10D00D00E", + "textureProjOffset(00S30B20D00B", + "imageAtomicAdd(01D20D00D", + "imageAtomicAdd(01D20D00E", + "unpackSnorm4x8(00E", + "imageLoad(01C20D", + "imageAtomicMax(01C20D00D", + "imageAtomicMax(01C20D00E", + "textureGather(00l30B00B", + "asin(30B", + "isnan(20B", + "fwidth(00B", + "dFdy(10B", + "imageAtomicAdd(01P10D00E", + "imageAtomicAdd(01P10D00D", + "max(30E00E", + "textureLod(00d20B00B", + "imageAtomicAdd(01c20D00E", + "imageAtomicAdd(01c20D00D", + "mod(10B00B", + "uintBitsToFloat(10E", + "imageAtomicMax(01Q10D00E", + "imageAtomicMax(01Q10D00D", + "bitfieldExtract(20D00D00D", + "imageAtomicMax(01M00D00D", + "imageAtomicMax(01M00D00E", + "imageAtomicAdd(01E20D00E", + "imageAtomicAdd(01E20D00D", + "textureLodOffset(00Y20B00B20D", + "log2(00B", + "tanh(10B", + "imageAtomicMin(01I20D00E", + "gl_LocalInvocationID", + "clamp(00B00B00B", + "textureGather(00d10B", + "gl_MaxGeometryAtomicCounterBuffers", + "imageAtomicXor(01B10D00E", + "imageAtomicXor(01B10D00D", + "outerProduct(20B10B", + "textureGrad(00e30B20B20B", + "textureSize(00J00D", + "imageAtomicXor(01K20D00E", + "imageAtomicXor(01K20D00D", + "imageAtomicMin(01U20D00D00E", + "imageAtomicMin(01U20D00D00D", + "imageAtomicAdd(01Q10D00D", + "imageAtomicAdd(01Q10D00E", + "imageAtomicXor(01T10D00D00D", + "imageAtomicXor(01T10D00D00E", + "imageAtomicAnd(01b20D00D", + "step(00B00B", + "texture2DLodEXT(00I10B00B", + "texture(00K20B00B", + "textureGrad(00J20B20B20B", + "imageAtomicCompSwap(01V20D00D00E00E", + "textureOffset(00U20B10D00B", + "intBitsToFloat(10D", + "findLSB(10D", + "textureProjLodOffset(00Y30B00B20D", + "imageAtomicMax(01h00D00E", + "texture3D(00J20B", + "gl_SecondaryFragDataEXT", + "floor(10B", + "imageAtomicAnd(01O10D00D", + "imageAtomicAnd(01O10D00E", + "imageAtomicXor(01W20D00D00D", + "imageAtomicXor(01W20D00D00E", + "imageAtomicXor(01Z10D00E", + "imageAtomicXor(01Z10D00D", + "textureGather(00X10B00D", + "imageAtomicMax(01L00D00E", + "imageAtomicMax(01L00D00D", + "imageAtomicXor(01G20D00E", + "imageAtomicXor(01G20D00D", + "textureOffset(00a20B10D", + "min(30E30E", + "texture2DProj(00I30B00B", + "imageAtomicAnd(01I20D00E", + "textureCubeGradEXT(00K20B20B20B", + "min(00B00B", + "gl_WorkGroupID", + "degrees(00B", + "imageAtomicMax(01J20D00E", + "imageAtomicMax(01J20D00D", + "textureGatherOffsets(00R10B10Dx4", + "atomicExchange(00D00D", + "gl_MaxGeometryAtomicCounters", + "frexp(10B10D", + "imageAtomicExchange(01a20D00D", + "imageAtomicExchange(01a20D00E", + "imageAtomicExchange(01a20D00B", + "matrixCompMult(60B60B", + "imageAtomicCompSwap(00z10D00D00D", + "unpackSnorm2x16(00E", + "lessThan(30D30D", + "atan(00B00B", + "notEqual(10B10B", + "imageLoad(01G20D", + "trunc(30B", + "length(00B", + "imageStore(01c20D30E", + "imageAtomicAnd(01H20D00D", + "imageAtomicAnd(01H20D00E", + "textureProj(00X30B00B", + "imageAtomicCompSwap(01C20D00E00E", + "tan(00B", + "min(20E00E", + "textureLod(00x30B00B", + "textureSize(00j", + "cos(00B", + "textureSize(00c", + "textureSize(00b", + "min(20B20B", + "textureSize(00r", + "textureSize(00w", + "bitfieldInsert(20E20E00D00D", + "gl_MaxProgramTexelOffset", + "imageAtomicMin(01g00D00D", + "imageAtomicMin(01g00D00E", + "textureSize(00Q", + "textureSize(00P", + "imageAtomicAdd(01M00D00E", + "imageAtomicAdd(01M00D00D", + "textureSize(00W", + "textureProjLod(00X20B00B", + "faceforward(30B30B30B", + "texture(00X10B", + "ceil(00B", + "distance(00B00B", + "imageAtomicExchange(01C20D00D", + "imageAtomicExchange(01C20D00E", + "textureGrad(00s30B20B20B", + "textureGather(00I10B", + "imageAtomicExchange(01C20D00B", + "min(30D30D", + "imageAtomicExchange(01Z10D00B", + "findMSB(30E", + "findMSB(30D", + "fwidth(30B", + "textureGrad(00K20B20B20B", + "texelFetch(00S20D00D", + "max(10B00B", + "textureProjGradOffset(00R30B10B10B10D", + "texelFetchOffset(00L20D00D10D", + "transpose(50B", + "greaterThanEqual(20D20D", + "asinh(00B", "gl_PrimitiveIDIn", - "gl_InvocationID", - "gl_PerVertex", - "gl_in", - "gl_PatchVerticesIn", - "gl_TessLevelOuter", - "gl_TessLevelInner", - "gl_out", - "gl_TessCoord", - "gl_ViewID_OVR"}; + "textureGather(00Z20B", + "greaterThan(20B20B", + "min(20D20D", + "imageAtomicCompSwap(01g00D00E00E", + "imageAtomicMin(01W20D00D00E", + "imageAtomicMin(01W20D00D00D", + "imageAtomicXor(01O10D00D", + "imageAtomicXor(01O10D00E", + "tanh(20B", + "sin(20B", + "textureSize(00l00D", + "textureOffset(00I10B10D00B", + "imageAtomicAnd(00z10D00D", + "imageAtomicAnd(00z10D00E", + "imageAtomicCompSwap(01W20D00D00D00D", + "gl_MaxAtomicCounterBufferSize", + "textureOffset(00J20B20D00B", + "lessThanEqual(20E20E", + "gl_BaseVertex", + "gl_MaxGeometryTotalOutputComponents", + "bitfieldInsert(30E30E00D00D", + "bitfieldExtract(20E00D00D", + "uintBitsToFloat(20E", + "imageAtomicExchange(01K20D00D", + "imageAtomicExchange(01K20D00E", + "mod(10B10B", + "imageAtomicExchange(01K20D00B", + "textureProjGradOffset(00X30B10B10B10D", + "imageAtomicAnd(01B10D00D", + "gl_MaxVertexImageUniforms", + "equal(20D20D", + "mix(10E10E10F", + "textureGather(00R10B00D", + "textureSize(00Z00D", + "bitfieldExtract(30D00D00D", + "imageAtomicXor(01J20D00D", + "imageAtomicXor(01J20D00E", + "intBitsToFloat(00D", + "findLSB(00E", + "findLSB(00D", + "textureGather(00d10B00B", + "imageAtomicAdd(01T10D00D00D", + "imageAtomicAdd(01T10D00D00E", + "inversesqrt(10B", + "abs(30D", + "transpose(D0B", + "", + "imageLoad(01E20D", + "textureProj(00N20B00B", + "gl_FragData", + "clamp(20E00E00E", + "textureProj(00d30B", + "gl_MaxVertexOutputVectors", + "imageAtomicOr(01i00D00D", + "imageAtomicOr(01i00D00E", + "cosh(10B", + "imageAtomicAnd(01G20D00E", + "imageAtomicAnd(01G20D00D", + "sign(10D", + "umulExtended(00E00E00E00E", + "gl_MaxVertexAttribs", + "", + "texture(00a20B", + "imageAtomicExchange(01g00D00B", + "imageAtomicExchange(01B10D00B", + "ldexp(10B10D", + "imageAtomicExchange(01B10D00D", + "imageAtomicExchange(01B10D00E", + "imageAtomicExchange(01g00D00D", + "imageAtomicExchange(01g00D00E", + "degrees(10B", + "texture(00k30B00B", + "texture(00K20B", + "sinh(10B", + "imageAtomicXor(01C20D00D", + "textureGatherOffsets(00I10B10Dx400D", + "not(30F", + "textureProjLodOffset(00I20B00B10D", + "textureGather(00K20B", + "textureGatherOffset(00R10B10D", + "memoryBarrierShared(", + "clamp(20B20B20B", + "texelFetch(00W20D00D", + "trunc(20B", + "textureProjOffset(00I30B10D00B", + "tan(10B", + "imageAtomicOr(01U20D00D00E", + "imageAtomicOr(01U20D00D00D", + "imageAtomicOr(01B10D00D", + "imageAtomicOr(01B10D00E", + "isinf(20B", + "textureGatherOffset(00X10B10D00D", + "min(10E10E", + "memoryBarrierImage(", + "round(10B", + "fma(00B00B00B", + "textureLodOffset(00L20B00B10D", + "imageAtomicOr(01b20D00E", + "imageAtomicOr(01b20D00D", + "atomicMax(00E00E", + "textureProjOffset(00R30B10D", + "textureProj(00X30B", + "findMSB(00D", + "findMSB(00E", + "textureProjOffset(00X20B10D", + "imageAtomicCompSwap(01X10D00D00D", + "min(30D00D", + "imageAtomicCompSwap(01K20D00E00E", + "texture(00M10B00B", + "fwidth(20B", + "imageAtomicOr(01S10D00D00D", + "imageAtomicOr(01S10D00D00E", + "imageAtomicAdd(01A10D00D", + "imageAtomicAdd(01A10D00E", + "imageAtomicOr(01H20D00E", + "imageAtomicOr(01H20D00D", + "cos(20B", + "gl_MaxGeometryUniformComponents", + "textureGather(00T20B", + "textureProjGradOffset(00J30B20B20B20D", + "asinh(10B", + "imageAtomicXor(01E20D00E", + "imageAtomicXor(01E20D00D", + "textureGatherOffsets(00R10B10Dx400D"}; // Flat array of offsets from a symbol into the rules table. constexpr uint16_t kMangledOffsets[] = { - 0, // radians_00B - 2, // radians_10B - 4, // radians_20B - 6, // radians_30B - 8, // degrees_00B - 10, // degrees_10B - 12, // degrees_20B - 14, // degrees_30B - 16, // sin_00B - 18, // sin_10B - 20, // sin_20B - 22, // sin_30B - 24, // cos_00B - 26, // cos_10B - 28, // cos_20B - 30, // cos_30B - 32, // tan_00B - 34, // tan_10B - 36, // tan_20B - 38, // tan_30B - 40, // asin_00B - 42, // asin_10B - 44, // asin_20B - 46, // asin_30B - 48, // acos_00B - 50, // acos_10B - 52, // acos_20B - 54, // acos_30B - 56, // atan_00B00B - 58, // atan_10B10B - 60, // atan_20B20B - 62, // atan_30B30B - 64, // atan_00B - 66, // atan_10B - 68, // atan_20B - 70, // atan_30B - 72, // sinh_00B - 74, // sinh_10B - 76, // sinh_20B - 78, // sinh_30B - 80, // cosh_00B - 82, // cosh_10B - 84, // cosh_20B - 86, // cosh_30B - 88, // tanh_00B - 90, // tanh_10B - 92, // tanh_20B - 94, // tanh_30B - 96, // asinh_00B - 98, // asinh_10B - 100, // asinh_20B - 102, // asinh_30B - 104, // acosh_00B - 106, // acosh_10B - 108, // acosh_20B - 110, // acosh_30B - 112, // atanh_00B - 114, // atanh_10B - 116, // atanh_20B - 118, // atanh_30B - 120, // pow_00B00B - 122, // pow_10B10B - 124, // pow_20B20B - 126, // pow_30B30B - 128, // exp_00B - 130, // exp_10B - 132, // exp_20B - 134, // exp_30B - 136, // log_00B - 138, // log_10B - 140, // log_20B - 142, // log_30B - 144, // exp2_00B - 146, // exp2_10B - 148, // exp2_20B - 150, // exp2_30B - 152, // log2_00B - 154, // log2_10B - 156, // log2_20B - 158, // log2_30B - 160, // sqrt_00B - 162, // sqrt_10B - 164, // sqrt_20B - 166, // sqrt_30B - 168, // inversesqrt_00B - 170, // inversesqrt_10B - 172, // inversesqrt_20B - 174, // inversesqrt_30B - 176, // abs_00B - 178, // abs_10B - 180, // abs_20B - 182, // abs_30B - 184, // abs_00D - 186, // abs_10D - 188, // abs_20D - 190, // abs_30D - 192, // sign_00B - 194, // sign_10B - 196, // sign_20B - 198, // sign_30B - 200, // sign_00D - 202, // sign_10D - 204, // sign_20D - 206, // sign_30D - 208, // floor_00B - 210, // floor_10B - 212, // floor_20B - 214, // floor_30B - 216, // trunc_00B - 218, // trunc_10B - 220, // trunc_20B - 222, // trunc_30B - 224, // round_00B - 226, // round_10B - 228, // round_20B - 230, // round_30B - 232, // roundEven_00B - 234, // roundEven_10B - 236, // roundEven_20B - 238, // roundEven_30B - 240, // ceil_00B - 242, // ceil_10B - 244, // ceil_20B - 246, // ceil_30B - 248, // fract_00B - 250, // fract_10B - 252, // fract_20B - 254, // fract_30B - 256, // mod_00B00B - 258, // mod_10B00B - 260, // mod_20B00B - 262, // mod_30B00B - 264, // mod_10B10B - 266, // mod_20B20B - 268, // mod_30B30B - 270, // min_00B00B - 272, // min_10B00B - 274, // min_20B00B - 276, // min_30B00B - 278, // min_10B10B - 280, // min_20B20B - 282, // min_30B30B - 284, // min_00D00D - 286, // min_10D10D - 288, // min_20D20D - 290, // min_30D30D - 292, // min_10D00D - 294, // min_20D00D - 296, // min_30D00D - 298, // min_00E00E - 300, // min_10E10E - 302, // min_20E20E - 304, // min_30E30E - 306, // min_10E00E - 308, // min_20E00E - 310, // min_30E00E - 312, // max_00B00B - 314, // max_10B00B - 316, // max_20B00B - 318, // max_30B00B - 320, // max_10B10B - 322, // max_20B20B - 324, // max_30B30B - 326, // max_00D00D - 328, // max_10D10D - 330, // max_20D20D - 332, // max_30D30D - 334, // max_10D00D - 336, // max_20D00D - 338, // max_30D00D - 340, // max_00E00E - 342, // max_10E10E - 344, // max_20E20E - 346, // max_30E30E - 348, // max_10E00E - 350, // max_20E00E - 352, // max_30E00E - 354, // clamp_00B00B00B - 356, // clamp_10B00B00B - 358, // clamp_20B00B00B - 360, // clamp_30B00B00B - 362, // clamp_10B10B10B - 364, // clamp_20B20B20B - 366, // clamp_30B30B30B - 368, // clamp_00D00D00D - 370, // clamp_10D00D00D - 372, // clamp_20D00D00D - 374, // clamp_30D00D00D - 376, // clamp_10D10D10D - 378, // clamp_20D20D20D - 380, // clamp_30D30D30D - 382, // clamp_00E00E00E - 384, // clamp_10E00E00E - 386, // clamp_20E00E00E - 388, // clamp_30E00E00E - 390, // clamp_10E10E10E - 392, // clamp_20E20E20E - 394, // clamp_30E30E30E - 396, // mix_00B00B00B - 398, // mix_10B10B00B - 400, // mix_20B20B00B - 402, // mix_30B30B00B - 404, // mix_10B10B10B - 406, // mix_20B20B20B - 408, // mix_30B30B30B - 410, // mix_00B00B00F - 412, // mix_10B10B10F - 414, // mix_20B20B20F - 416, // mix_30B30B30F - 418, // mix_00D00D00F - 420, // mix_10D10D10F - 422, // mix_20D20D20F - 424, // mix_30D30D30F - 426, // mix_00E00E00F - 428, // mix_10E10E10F - 430, // mix_20E20E20F - 432, // mix_30E30E30F - 434, // mix_00F00F00F - 436, // mix_10F10F10F - 438, // mix_20F20F20F - 440, // mix_30F30F30F - 442, // step_00B00B - 444, // step_10B10B - 446, // step_20B20B - 448, // step_30B30B - 450, // step_00B10B - 452, // step_00B20B - 454, // step_00B30B - 456, // smoothstep_00B00B00B - 458, // smoothstep_10B10B10B - 460, // smoothstep_20B20B20B - 462, // smoothstep_30B30B30B - 464, // smoothstep_00B00B10B - 466, // smoothstep_00B00B20B - 468, // smoothstep_00B00B30B - 470, // modf_00B00B - 472, // modf_10B10B - 474, // modf_20B20B - 476, // modf_30B30B - 478, // isnan_00B - 480, // isnan_10B - 482, // isnan_20B - 484, // isnan_30B - 486, // isinf_00B - 488, // isinf_10B - 490, // isinf_20B - 492, // isinf_30B - 494, // floatBitsToInt_00B - 496, // floatBitsToInt_10B - 498, // floatBitsToInt_20B - 500, // floatBitsToInt_30B - 502, // floatBitsToUint_00B - 504, // floatBitsToUint_10B - 506, // floatBitsToUint_20B - 508, // floatBitsToUint_30B - 510, // intBitsToFloat_00D - 512, // intBitsToFloat_10D - 514, // intBitsToFloat_20D - 516, // intBitsToFloat_30D - 518, // uintBitsToFloat_00E - 520, // uintBitsToFloat_10E - 522, // uintBitsToFloat_20E - 524, // uintBitsToFloat_30E - 526, // fma_00B00B00B - 529, // fma_10B10B10B - 532, // fma_20B20B20B - 535, // fma_30B30B30B - 538, // frexp_00B00D - 540, // frexp_10B10D - 542, // frexp_20B20D - 544, // frexp_30B30D - 546, // ldexp_00B00D - 548, // ldexp_10B10D - 550, // ldexp_20B20D - 552, // ldexp_30B30D - 554, // packSnorm2x16_10B - 556, // packHalf2x16_10B - 558, // unpackSnorm2x16_00E - 560, // unpackHalf2x16_00E - 562, // packUnorm2x16_10B - 564, // unpackUnorm2x16_00E - 566, // packUnorm4x8_30B - 568, // packSnorm4x8_30B - 570, // unpackUnorm4x8_00E - 572, // unpackSnorm4x8_00E - 574, // length_00B - 576, // length_10B - 578, // length_20B - 580, // length_30B - 582, // distance_00B00B - 584, // distance_10B10B - 586, // distance_20B20B - 588, // distance_30B30B - 590, // dot_00B00B - 592, // dot_10B10B - 594, // dot_20B20B - 596, // dot_30B30B - 598, // cross_20B20B - 600, // normalize_00B - 602, // normalize_10B - 604, // normalize_20B - 606, // normalize_30B - 608, // faceforward_00B00B00B - 610, // faceforward_10B10B10B - 612, // faceforward_20B20B20B - 614, // faceforward_30B30B30B - 616, // reflect_00B00B - 618, // reflect_10B10B - 620, // reflect_20B20B - 622, // reflect_30B30B - 624, // refract_00B00B00B - 626, // refract_10B10B00B - 628, // refract_20B20B00B - 630, // refract_30B30B00B - 632, // matrixCompMult_50B50B - 634, // matrixCompMult_A0BA0B - 636, // matrixCompMult_F0BF0B - 638, // matrixCompMult_90B90B - 639, // matrixCompMult_60B60B - 640, // matrixCompMult_D0BD0B - 641, // matrixCompMult_70B70B - 642, // matrixCompMult_E0BE0B - 643, // matrixCompMult_B0BB0B - 644, // outerProduct_10B10B - 646, // outerProduct_20B20B - 648, // outerProduct_30B30B - 650, // outerProduct_20B10B - 652, // outerProduct_10B20B - 654, // outerProduct_30B10B - 656, // outerProduct_10B30B - 658, // outerProduct_30B20B - 660, // outerProduct_20B30B - 662, // transpose_50B - 664, // transpose_A0B - 666, // transpose_F0B - 668, // transpose_60B - 670, // transpose_90B - 672, // transpose_70B - 674, // transpose_D0B - 676, // transpose_B0B - 678, // transpose_E0B - 680, // determinant_50B - 681, // determinant_A0B - 682, // determinant_F0B - 683, // inverse_50B - 685, // inverse_A0B - 687, // inverse_F0B - 689, // lessThan_10B10B - 691, // lessThan_20B20B - 693, // lessThan_30B30B - 695, // lessThan_10D10D - 697, // lessThan_20D20D - 699, // lessThan_30D30D - 701, // lessThan_10E10E - 703, // lessThan_20E20E - 705, // lessThan_30E30E - 707, // lessThanEqual_10B10B - 709, // lessThanEqual_20B20B - 711, // lessThanEqual_30B30B - 713, // lessThanEqual_10D10D - 715, // lessThanEqual_20D20D - 717, // lessThanEqual_30D30D - 719, // lessThanEqual_10E10E - 721, // lessThanEqual_20E20E - 723, // lessThanEqual_30E30E - 725, // greaterThan_10B10B - 727, // greaterThan_20B20B - 729, // greaterThan_30B30B - 731, // greaterThan_10D10D - 733, // greaterThan_20D20D - 735, // greaterThan_30D30D - 737, // greaterThan_10E10E - 739, // greaterThan_20E20E - 741, // greaterThan_30E30E - 743, // greaterThanEqual_10B10B - 745, // greaterThanEqual_20B20B - 747, // greaterThanEqual_30B30B - 749, // greaterThanEqual_10D10D - 751, // greaterThanEqual_20D20D - 753, // greaterThanEqual_30D30D - 755, // greaterThanEqual_10E10E - 757, // greaterThanEqual_20E20E - 759, // greaterThanEqual_30E30E - 761, // equal_10B10B - 763, // equal_20B20B - 765, // equal_30B30B - 767, // equal_10D10D - 769, // equal_20D20D - 771, // equal_30D30D - 773, // equal_10E10E - 775, // equal_20E20E - 777, // equal_30E30E - 779, // equal_10F10F - 781, // equal_20F20F - 783, // equal_30F30F - 785, // notEqual_10B10B - 787, // notEqual_20B20B - 789, // notEqual_30B30B - 791, // notEqual_10D10D - 793, // notEqual_20D20D - 795, // notEqual_30D30D - 797, // notEqual_10E10E - 799, // notEqual_20E20E - 801, // notEqual_30E30E - 803, // notEqual_10F10F - 805, // notEqual_20F20F - 807, // notEqual_30F30F - 809, // any_10F - 811, // any_20F - 813, // any_30F - 815, // all_10F - 817, // all_20F - 819, // all_30F - 821, // not_10F - 823, // not_20F - 825, // not_30F - 827, // bitfieldExtract_00D00D00D - 829, // bitfieldExtract_10D00D00D - 831, // bitfieldExtract_20D00D00D - 833, // bitfieldExtract_30D00D00D - 835, // bitfieldExtract_00E00D00D - 837, // bitfieldExtract_10E00D00D - 839, // bitfieldExtract_20E00D00D - 841, // bitfieldExtract_30E00D00D - 843, // bitfieldInsert_00D00D00D00D - 845, // bitfieldInsert_10D10D00D00D - 847, // bitfieldInsert_20D20D00D00D - 849, // bitfieldInsert_30D30D00D00D - 851, // bitfieldInsert_00E00E00D00D - 853, // bitfieldInsert_10E10E00D00D - 855, // bitfieldInsert_20E20E00D00D - 857, // bitfieldInsert_30E30E00D00D - 859, // bitfieldReverse_00D - 861, // bitfieldReverse_10D - 863, // bitfieldReverse_20D - 865, // bitfieldReverse_30D - 867, // bitfieldReverse_00E - 869, // bitfieldReverse_10E - 871, // bitfieldReverse_20E - 873, // bitfieldReverse_30E - 875, // bitCount_00D - 877, // bitCount_10D - 879, // bitCount_20D - 881, // bitCount_30D - 883, // bitCount_00E - 885, // bitCount_10E - 887, // bitCount_20E - 889, // bitCount_30E - 891, // findLSB_00D - 893, // findLSB_10D - 895, // findLSB_20D - 897, // findLSB_30D - 899, // findLSB_00E - 901, // findLSB_10E - 903, // findLSB_20E - 905, // findLSB_30E - 907, // findMSB_00D - 909, // findMSB_10D - 911, // findMSB_20D - 913, // findMSB_30D - 915, // findMSB_00E - 917, // findMSB_10E - 919, // findMSB_20E - 921, // findMSB_30E - 923, // uaddCarry_00E00E00E - 925, // uaddCarry_10E10E10E - 927, // uaddCarry_20E20E20E - 929, // uaddCarry_30E30E30E - 931, // usubBorrow_00E00E00E - 933, // usubBorrow_10E10E10E - 935, // usubBorrow_20E20E20E - 937, // usubBorrow_30E30E30E - 939, // umulExtended_00E00E00E00E - 941, // umulExtended_10E10E10E10E - 943, // umulExtended_20E20E20E20E - 945, // umulExtended_30E30E30E30E - 947, // imulExtended_00D00D00D00D - 949, // imulExtended_10D10D10D10D - 951, // imulExtended_20D20D20D20D - 953, // imulExtended_30D30D30D30D - 955, // texture2D_00I10B - 957, // texture2DProj_00I20B - 959, // texture2DProj_00I30B - 961, // textureCube_00K20B - 963, // texture2D_00M10B - 964, // texture2DProj_00M20B - 965, // texture2DProj_00M30B - 966, // texture2DRect_00O10B - 967, // texture2DRectProj_00O20B - 968, // texture2DRectProj_00O30B - 969, // texture_00O10B - 970, // textureProj_00O20B - 971, // textureProj_00O30B - 972, // texture2DGradEXT_00I10B10B10B - 973, // texture2DProjGradEXT_00I20B10B10B - 974, // texture2DProjGradEXT_00I30B10B10B - 975, // textureCubeGradEXT_00K20B20B20B - 976, // texture2D_00I10B00B - 978, // texture2DProj_00I20B00B - 980, // texture2DProj_00I30B00B - 982, // textureCube_00K20B00B - 984, // dFdx_00B - 987, // dFdx_10B - 990, // dFdx_20B - 993, // dFdx_30B - 996, // dFdy_00B - 999, // dFdy_10B - 1002, // dFdy_20B - 1005, // dFdy_30B - 1008, // fwidth_00B - 1011, // fwidth_10B - 1014, // fwidth_20B - 1017, // fwidth_30B - 1020, // texture2DLodEXT_00I10B00B - 1021, // texture2DProjLodEXT_00I20B00B - 1022, // texture2DProjLodEXT_00I30B00B - 1023, // textureCubeLodEXT_00K20B00B - 1024, // shadow2DEXT_00d20B - 1025, // shadow2DProjEXT_00d30B - 1026, // texture3D_00J20B - 1027, // texture3DProj_00J30B - 1028, // texture3D_00J20B00B - 1029, // texture3DProj_00J30B00B - 1030, // texture3DLod_00J20B00B - 1031, // texture3DProjLod_00J30B00B - 1032, // texture2DLod_00I10B00B - 1034, // texture2DProjLod_00I20B00B - 1036, // texture2DProjLod_00I30B00B - 1038, // textureCubeLod_00K20B00B - 1040, // texture_00I10B - 1042, // texture_00R10B - 1044, // texture_00X10B - 1046, // texture_00J20B - 1048, // texture_00S20B - 1050, // texture_00Y20B - 1052, // texture_00K20B - 1054, // texture_00T20B - 1056, // texture_00Z20B - 1058, // texture_00L20B - 1060, // texture_00U20B - 1062, // texture_00a20B - 1064, // texture_00d20B - 1066, // texture_00e30B - 1068, // texture_00f30B - 1070, // textureProj_00I20B - 1072, // textureProj_00R20B - 1074, // textureProj_00X20B - 1076, // textureProj_00I30B - 1078, // textureProj_00R30B - 1080, // textureProj_00X30B - 1082, // textureProj_00J30B - 1084, // textureProj_00S30B - 1086, // textureProj_00Y30B - 1088, // textureProj_00d30B - 1090, // textureLod_00I10B00B - 1092, // textureLod_00R10B00B - 1094, // textureLod_00X10B00B - 1096, // textureLod_00J20B00B - 1098, // textureLod_00S20B00B - 1100, // textureLod_00Y20B00B - 1102, // textureLod_00K20B00B - 1104, // textureLod_00T20B00B - 1106, // textureLod_00Z20B00B - 1108, // textureLod_00L20B00B - 1110, // textureLod_00U20B00B - 1112, // textureLod_00a20B00B - 1114, // textureLod_00d20B00B - 1116, // textureSize_00I00D - 1118, // textureSize_00R00D - 1120, // textureSize_00X00D - 1122, // textureSize_00J00D - 1124, // textureSize_00S00D - 1126, // textureSize_00Y00D - 1128, // textureSize_00K00D - 1130, // textureSize_00T00D - 1132, // textureSize_00Z00D - 1134, // textureSize_00L00D - 1136, // textureSize_00U00D - 1138, // textureSize_00a00D - 1140, // textureSize_00d00D - 1142, // textureSize_00e00D - 1144, // textureSize_00f00D - 1146, // textureProjLod_00I20B00B - 1148, // textureProjLod_00R20B00B - 1150, // textureProjLod_00X20B00B - 1152, // textureProjLod_00I30B00B - 1154, // textureProjLod_00R30B00B - 1156, // textureProjLod_00X30B00B - 1158, // textureProjLod_00J30B00B - 1160, // textureProjLod_00S30B00B - 1162, // textureProjLod_00Y30B00B - 1164, // textureProjLod_00d30B00B - 1166, // texelFetch_00I10D00D - 1168, // texelFetch_00R10D00D - 1170, // texelFetch_00X10D00D - 1172, // texelFetch_00J20D00D - 1174, // texelFetch_00S20D00D - 1176, // texelFetch_00Y20D00D - 1178, // texelFetch_00L20D00D - 1180, // texelFetch_00U20D00D - 1182, // texelFetch_00a20D00D - 1184, // textureGrad_00I10B10B10B - 1186, // textureGrad_00R10B10B10B - 1188, // textureGrad_00X10B10B10B - 1190, // textureGrad_00J20B20B20B - 1192, // textureGrad_00S20B20B20B - 1194, // textureGrad_00Y20B20B20B - 1196, // textureGrad_00K20B20B20B - 1198, // textureGrad_00T20B20B20B - 1200, // textureGrad_00Z20B20B20B - 1202, // textureGrad_00d20B10B10B - 1204, // textureGrad_00e30B20B20B - 1206, // textureGrad_00L20B10B10B - 1208, // textureGrad_00U20B10B10B - 1210, // textureGrad_00a20B10B10B - 1212, // textureGrad_00f30B10B10B - 1214, // textureProjGrad_00I20B10B10B - 1216, // textureProjGrad_00R20B10B10B - 1218, // textureProjGrad_00X20B10B10B - 1220, // textureProjGrad_00I30B10B10B - 1222, // textureProjGrad_00R30B10B10B - 1224, // textureProjGrad_00X30B10B10B - 1226, // textureProjGrad_00J30B20B20B - 1228, // textureProjGrad_00S30B20B20B - 1230, // textureProjGrad_00Y30B20B20B - 1232, // textureProjGrad_00d30B10B10B - 1234, // textureSize_00P - 1237, // textureSize_00V - 1240, // textureSize_00b - 1243, // textureSize_00Q - 1244, // textureSize_00W - 1245, // textureSize_00c - 1246, // textureSize_00k00D - 1247, // textureSize_00s00D - 1248, // textureSize_00x00D - 1249, // textureSize_00l00D - 1250, // texture_00k30B - 1251, // texture_00s30B - 1252, // texture_00x30B - 1253, // texture_00k30B00B - 1254, // texture_00s30B00B - 1255, // texture_00x30B00B - 1256, // texture_00l30B00B - 1257, // textureLod_00k30B00B - 1258, // textureLod_00s30B00B - 1259, // textureLod_00x30B00B - 1260, // textureGrad_00k30B20B20B - 1261, // textureGrad_00s30B20B20B - 1262, // textureGrad_00x30B20B20B - 1263, // textureGather_00k30B - 1264, // textureGather_00s30B - 1265, // textureGather_00x30B - 1266, // textureGather_00k30B00D - 1267, // textureGather_00s30B00D - 1268, // textureGather_00x30B00D - 1269, // textureGather_00l30B00B - 1270, // textureSize_00j - 1271, // textureSize_00r - 1272, // textureSize_00w - 1273, // texelFetch_00j00D - 1274, // texelFetch_00r00D - 1275, // texelFetch_00w00D - 1276, // texelFetch_00P10D00D - 1279, // texelFetch_00V10D00D - 1282, // texelFetch_00b10D00D - 1285, // texelFetch_00Q20D00D - 1286, // texelFetch_00W20D00D - 1287, // texelFetch_00c20D00D - 1288, // texture_00I10B00B - 1290, // texture_00R10B00B - 1292, // texture_00X10B00B - 1294, // texture_00J20B00B - 1296, // texture_00S20B00B - 1298, // texture_00Y20B00B - 1300, // texture_00K20B00B - 1302, // texture_00T20B00B - 1304, // texture_00Z20B00B - 1306, // texture_00L20B00B - 1308, // texture_00U20B00B - 1310, // texture_00a20B00B - 1312, // textureProj_00I20B00B - 1314, // textureProj_00R20B00B - 1316, // textureProj_00X20B00B - 1318, // textureProj_00I30B00B - 1320, // textureProj_00R30B00B - 1322, // textureProj_00X30B00B - 1324, // textureProj_00J30B00B - 1326, // textureProj_00S30B00B - 1328, // textureProj_00Y30B00B - 1330, // texture_00d20B00B - 1332, // texture_00e30B00B - 1334, // textureProj_00d30B00B - 1336, // texture_00M10B00B - 1337, // textureProj_00M20B00B - 1338, // textureProj_00M30B00B - 1339, // texture_00N10B00B - 1340, // textureProj_00N20B00B - 1341, // textureProj_00N30B00B - 1342, // textureOffset_00I10B10D - 1344, // textureOffset_00R10B10D - 1346, // textureOffset_00X10B10D - 1348, // textureOffset_00J20B20D - 1350, // textureOffset_00S20B20D - 1352, // textureOffset_00Y20B20D - 1354, // textureOffset_00d20B10D - 1356, // textureOffset_00L20B10D - 1358, // textureOffset_00U20B10D - 1360, // textureOffset_00a20B10D - 1362, // textureProjOffset_00I20B10D - 1364, // textureProjOffset_00R20B10D - 1366, // textureProjOffset_00X20B10D - 1368, // textureProjOffset_00I30B10D - 1370, // textureProjOffset_00R30B10D - 1372, // textureProjOffset_00X30B10D - 1374, // textureProjOffset_00J30B20D - 1376, // textureProjOffset_00S30B20D - 1378, // textureProjOffset_00Y30B20D - 1380, // textureProjOffset_00d30B10D - 1382, // textureLodOffset_00I10B00B10D - 1384, // textureLodOffset_00R10B00B10D - 1386, // textureLodOffset_00X10B00B10D - 1388, // textureLodOffset_00J20B00B20D - 1390, // textureLodOffset_00S20B00B20D - 1392, // textureLodOffset_00Y20B00B20D - 1394, // textureLodOffset_00d20B00B10D - 1396, // textureLodOffset_00L20B00B10D - 1398, // textureLodOffset_00U20B00B10D - 1400, // textureLodOffset_00a20B00B10D - 1402, // textureProjLodOffset_00I20B00B10D - 1404, // textureProjLodOffset_00R20B00B10D - 1406, // textureProjLodOffset_00X20B00B10D - 1408, // textureProjLodOffset_00I30B00B10D - 1410, // textureProjLodOffset_00R30B00B10D - 1412, // textureProjLodOffset_00X30B00B10D - 1414, // textureProjLodOffset_00J30B00B20D - 1416, // textureProjLodOffset_00S30B00B20D - 1418, // textureProjLodOffset_00Y30B00B20D - 1420, // textureProjLodOffset_00d30B00B10D - 1422, // texelFetchOffset_00I10D00D10D - 1424, // texelFetchOffset_00R10D00D10D - 1426, // texelFetchOffset_00X10D00D10D - 1428, // texelFetchOffset_00J20D00D20D - 1430, // texelFetchOffset_00S20D00D20D - 1432, // texelFetchOffset_00Y20D00D20D - 1434, // texelFetchOffset_00L20D00D10D - 1436, // texelFetchOffset_00U20D00D10D - 1438, // texelFetchOffset_00a20D00D10D - 1440, // textureGradOffset_00I10B10B10B10D - 1442, // textureGradOffset_00R10B10B10B10D - 1444, // textureGradOffset_00X10B10B10B10D - 1446, // textureGradOffset_00J20B20B20B20D - 1448, // textureGradOffset_00S20B20B20B20D - 1450, // textureGradOffset_00Y20B20B20B20D - 1452, // textureGradOffset_00d20B10B10B10D - 1454, // textureGradOffset_00L20B10B10B10D - 1456, // textureGradOffset_00U20B10B10B10D - 1458, // textureGradOffset_00a20B10B10B10D - 1460, // textureGradOffset_00f30B10B10B10D - 1462, // textureProjGradOffset_00I20B10B10B10D - 1464, // textureProjGradOffset_00R20B10B10B10D - 1466, // textureProjGradOffset_00X20B10B10B10D - 1468, // textureProjGradOffset_00I30B10B10B10D - 1470, // textureProjGradOffset_00R30B10B10B10D - 1472, // textureProjGradOffset_00X30B10B10B10D - 1474, // textureProjGradOffset_00J30B20B20B20D - 1476, // textureProjGradOffset_00S30B20B20B20D - 1478, // textureProjGradOffset_00Y30B20B20B20D - 1480, // textureProjGradOffset_00d30B10B10B10D - 1482, // textureOffset_00I10B10D00B - 1484, // textureOffset_00R10B10D00B - 1486, // textureOffset_00X10B10D00B - 1488, // textureOffset_00J20B20D00B - 1490, // textureOffset_00S20B20D00B - 1492, // textureOffset_00Y20B20D00B - 1494, // textureOffset_00d20B10D00B - 1496, // textureOffset_00L20B10D00B - 1498, // textureOffset_00U20B10D00B - 1500, // textureOffset_00a20B10D00B - 1502, // textureProjOffset_00I20B10D00B - 1504, // textureProjOffset_00R20B10D00B - 1506, // textureProjOffset_00X20B10D00B - 1508, // textureProjOffset_00I30B10D00B - 1510, // textureProjOffset_00R30B10D00B - 1512, // textureProjOffset_00X30B10D00B - 1514, // textureProjOffset_00J30B20D00B - 1516, // textureProjOffset_00S30B20D00B - 1518, // textureProjOffset_00Y30B20D00B - 1520, // textureProjOffset_00d30B10D00B - 1522, // texture_00M10B - 1523, // textureProj_00M20B - 1524, // textureProj_00M30B - 1525, // textureSize_00M00D - 1526, // texelFetch_00M10D00D - 1527, // texture_00N10B - 1528, // textureProj_00N20B - 1529, // textureProj_00N30B - 1530, // rgb_2_yuv_20B00H - 1531, // yuv_2_rgb_20B00H - 1532, // textureSize_00N00D - 1533, // texelFetch_00N10D00D - 1534, // textureGather_00I10B - 1536, // textureGather_00R10B - 1538, // textureGather_00X10B - 1540, // textureGather_00I10B00D - 1542, // textureGather_00R10B00D - 1544, // textureGather_00X10B00D - 1546, // textureGather_00L20B - 1548, // textureGather_00U20B - 1550, // textureGather_00a20B - 1552, // textureGather_00L20B00D - 1554, // textureGather_00U20B00D - 1556, // textureGather_00a20B00D - 1558, // textureGather_00K20B - 1560, // textureGather_00T20B - 1562, // textureGather_00Z20B - 1564, // textureGather_00K20B00D - 1566, // textureGather_00T20B00D - 1568, // textureGather_00Z20B00D - 1570, // textureGather_00d10B - 1571, // textureGather_00d10B00B - 1573, // textureGather_00f20B - 1574, // textureGather_00f20B00B - 1576, // textureGather_00e20B - 1577, // textureGather_00e20B00B - 1579, // textureGatherOffset_00I10B10D - 1581, // textureGatherOffset_00R10B10D - 1583, // textureGatherOffset_00X10B10D - 1585, // textureGatherOffset_00L20B10D - 1587, // textureGatherOffset_00U20B10D - 1589, // textureGatherOffset_00a20B10D - 1591, // textureGatherOffset_00d10B00B10D - 1593, // textureGatherOffset_00f20B00B10D - 1595, // textureGatherOffset_00I10B10D00D - 1597, // textureGatherOffset_00R10B10D00D - 1599, // textureGatherOffset_00X10B10D00D - 1601, // textureGatherOffset_00L20B10D00D - 1603, // textureGatherOffset_00U20B10D00D - 1605, // textureGatherOffset_00a20B10D00D - 1607, // textureGatherOffsets_00I10B10Dx4 - 1610, // textureGatherOffsets_00R10B10Dx4 - 1613, // textureGatherOffsets_00X10B10Dx4 - 1616, // textureGatherOffsets_00L20B10Dx4 - 1619, // textureGatherOffsets_00U20B10Dx4 - 1622, // textureGatherOffsets_00a20B10Dx4 - 1625, // textureGatherOffsets_00d10B00B10Dx4 - 1628, // textureGatherOffsets_00f20B00B10Dx4 - 1631, // textureGatherOffsets_00I10B10Dx400D - 1634, // textureGatherOffsets_00R10B10Dx400D - 1637, // textureGatherOffsets_00X10B10Dx400D - 1640, // textureGatherOffsets_00L20B10Dx400D - 1643, // textureGatherOffsets_00U20B10Dx400D - 1646, // textureGatherOffsets_00a20B10Dx400D - 1649, // interpolateAtCentroid_00B - 1652, // interpolateAtCentroid_10B - 1655, // interpolateAtCentroid_20B - 1658, // interpolateAtCentroid_30B - 1661, // interpolateAtSample_00B00D - 1664, // interpolateAtSample_10B00D - 1667, // interpolateAtSample_20B00D - 1670, // interpolateAtSample_30B00D - 1673, // interpolateAtOffset_00B10B - 1676, // interpolateAtOffset_10B10B - 1679, // interpolateAtOffset_20B10B - 1682, // interpolateAtOffset_30B10B - 1685, // atomicCounter_00G - 1687, // atomicCounterIncrement_00G - 1689, // atomicCounterDecrement_00G - 1691, // atomicAdd_00E00E - 1693, // atomicAdd_00D00D - 1695, // atomicMin_00E00E - 1697, // atomicMin_00D00D - 1699, // atomicMax_00E00E - 1701, // atomicMax_00D00D - 1703, // atomicAnd_00E00E - 1705, // atomicAnd_00D00D - 1707, // atomicOr_00E00E - 1709, // atomicOr_00D00D - 1711, // atomicXor_00E00E - 1713, // atomicXor_00D00D - 1715, // atomicExchange_00E00E - 1717, // atomicExchange_00D00D - 1719, // atomicCompSwap_00E00E00E - 1721, // atomicCompSwap_00D00D00D - 1723, // imageSize_00z - 1724, // imageSize_01A - 1725, // imageSize_01B - 1726, // imageSize_01C - 1727, // imageSize_01D - 1728, // imageSize_01E - 1729, // imageSize_01F - 1730, // imageSize_01G - 1731, // imageSize_01H - 1732, // imageSize_01I - 1733, // imageSize_01J - 1734, // imageSize_01K - 1735, // imageSize_01X - 1736, // imageSize_01Y - 1737, // imageSize_01Z - 1738, // imageSize_01d - 1739, // imageSize_01e - 1740, // imageSize_01f - 1741, // imageStore_00z10D30B - 1742, // imageStore_01A10D30D - 1743, // imageStore_01B10D30E - 1744, // imageStore_01C20D30B - 1745, // imageStore_01D20D30D - 1746, // imageStore_01E20D30E - 1747, // imageStore_01F20D30B - 1748, // imageStore_01G20D30D - 1749, // imageStore_01H20D30E - 1750, // imageStore_01I20D30B - 1751, // imageStore_01J20D30D - 1752, // imageStore_01K20D30E - 1753, // imageStore_01X20D30B - 1754, // imageStore_01Y20D30D - 1755, // imageStore_01Z20D30E - 1756, // imageStore_01d00D30B - 1757, // imageStore_01e00D30D - 1758, // imageStore_01f00D30E - 1759, // imageLoad_00z10D - 1760, // imageLoad_01A10D - 1761, // imageLoad_01B10D - 1762, // imageLoad_01C20D - 1763, // imageLoad_01D20D - 1764, // imageLoad_01E20D - 1765, // imageLoad_01F20D - 1766, // imageLoad_01G20D - 1767, // imageLoad_01H20D - 1768, // imageLoad_01I20D - 1769, // imageLoad_01J20D - 1770, // imageLoad_01K20D - 1771, // imageLoad_01X20D - 1772, // imageLoad_01Y20D - 1773, // imageLoad_01Z20D - 1774, // imageLoad_01d00D - 1775, // imageLoad_01e00D - 1776, // imageLoad_01f00D - 1777, // imageAtomicAdd_00z10D00E - 1778, // imageAtomicAdd_01A10D00E - 1779, // imageAtomicAdd_01B10D00E - 1780, // imageAtomicAdd_01C20D00E - 1781, // imageAtomicAdd_01D20D00E - 1782, // imageAtomicAdd_01E20D00E - 1783, // imageAtomicAdd_01I20D00E - 1784, // imageAtomicAdd_01J20D00E - 1785, // imageAtomicAdd_01K20D00E - 1786, // imageAtomicAdd_01d00D00E - 1787, // imageAtomicAdd_01e00D00E - 1788, // imageAtomicAdd_01f00D00E - 1789, // imageAtomicAdd_01F20D00E - 1790, // imageAtomicAdd_01G20D00E - 1791, // imageAtomicAdd_01H20D00E - 1792, // imageAtomicAdd_01X20D00E - 1793, // imageAtomicAdd_01Y20D00E - 1794, // imageAtomicAdd_01Z20D00E - 1795, // imageAtomicAdd_01L00D00E - 1796, // imageAtomicAdd_01M00D00E - 1797, // imageAtomicAdd_01N00D00E - 1798, // imageAtomicAdd_01O10D00E - 1799, // imageAtomicAdd_01P10D00E - 1800, // imageAtomicAdd_01Q10D00E - 1801, // imageAtomicAdd_01a10D00E - 1802, // imageAtomicAdd_01b10D00E - 1803, // imageAtomicAdd_01c10D00E - 1804, // imageAtomicAdd_01R10D00D00E - 1805, // imageAtomicAdd_01S10D00D00E - 1806, // imageAtomicAdd_01T10D00D00E - 1807, // imageAtomicAdd_01U20D00D00E - 1808, // imageAtomicAdd_01V20D00D00E - 1809, // imageAtomicAdd_01W20D00D00E - 1810, // imageAtomicAdd_00z10D00D - 1811, // imageAtomicAdd_01A10D00D - 1812, // imageAtomicAdd_01B10D00D - 1813, // imageAtomicAdd_01C20D00D - 1814, // imageAtomicAdd_01D20D00D - 1815, // imageAtomicAdd_01E20D00D - 1816, // imageAtomicAdd_01I20D00D - 1817, // imageAtomicAdd_01J20D00D - 1818, // imageAtomicAdd_01K20D00D - 1819, // imageAtomicAdd_01d00D00D - 1820, // imageAtomicAdd_01e00D00D - 1821, // imageAtomicAdd_01f00D00D - 1822, // imageAtomicAdd_01F20D00D - 1823, // imageAtomicAdd_01G20D00D - 1824, // imageAtomicAdd_01H20D00D - 1825, // imageAtomicAdd_01X20D00D - 1826, // imageAtomicAdd_01Y20D00D - 1827, // imageAtomicAdd_01Z20D00D - 1828, // imageAtomicAdd_01L00D00D - 1829, // imageAtomicAdd_01M00D00D - 1830, // imageAtomicAdd_01N00D00D - 1831, // imageAtomicAdd_01O10D00D - 1832, // imageAtomicAdd_01P10D00D - 1833, // imageAtomicAdd_01Q10D00D - 1834, // imageAtomicAdd_01a10D00D - 1835, // imageAtomicAdd_01b10D00D - 1836, // imageAtomicAdd_01c10D00D - 1837, // imageAtomicAdd_01R10D00D00D - 1838, // imageAtomicAdd_01S10D00D00D - 1839, // imageAtomicAdd_01T10D00D00D - 1840, // imageAtomicAdd_01U20D00D00D - 1841, // imageAtomicAdd_01V20D00D00D - 1842, // imageAtomicAdd_01W20D00D00D - 1843, // imageAtomicMin_00z10D00E - 1844, // imageAtomicMin_01A10D00E - 1845, // imageAtomicMin_01B10D00E - 1846, // imageAtomicMin_01C20D00E - 1847, // imageAtomicMin_01D20D00E - 1848, // imageAtomicMin_01E20D00E - 1849, // imageAtomicMin_01I20D00E - 1850, // imageAtomicMin_01J20D00E - 1851, // imageAtomicMin_01K20D00E - 1852, // imageAtomicMin_01d00D00E - 1853, // imageAtomicMin_01e00D00E - 1854, // imageAtomicMin_01f00D00E - 1855, // imageAtomicMin_01F20D00E - 1856, // imageAtomicMin_01G20D00E - 1857, // imageAtomicMin_01H20D00E - 1858, // imageAtomicMin_01X20D00E - 1859, // imageAtomicMin_01Y20D00E - 1860, // imageAtomicMin_01Z20D00E - 1861, // imageAtomicMin_01L00D00E - 1862, // imageAtomicMin_01M00D00E - 1863, // imageAtomicMin_01N00D00E - 1864, // imageAtomicMin_01O10D00E - 1865, // imageAtomicMin_01P10D00E - 1866, // imageAtomicMin_01Q10D00E - 1867, // imageAtomicMin_01a10D00E - 1868, // imageAtomicMin_01b10D00E - 1869, // imageAtomicMin_01c10D00E - 1870, // imageAtomicMin_01R10D00D00E - 1871, // imageAtomicMin_01S10D00D00E - 1872, // imageAtomicMin_01T10D00D00E - 1873, // imageAtomicMin_01U20D00D00E - 1874, // imageAtomicMin_01V20D00D00E - 1875, // imageAtomicMin_01W20D00D00E - 1876, // imageAtomicMin_00z10D00D - 1877, // imageAtomicMin_01A10D00D - 1878, // imageAtomicMin_01B10D00D - 1879, // imageAtomicMin_01C20D00D - 1880, // imageAtomicMin_01D20D00D - 1881, // imageAtomicMin_01E20D00D - 1882, // imageAtomicMin_01I20D00D - 1883, // imageAtomicMin_01J20D00D - 1884, // imageAtomicMin_01K20D00D - 1885, // imageAtomicMin_01d00D00D - 1886, // imageAtomicMin_01e00D00D - 1887, // imageAtomicMin_01f00D00D - 1888, // imageAtomicMin_01F20D00D - 1889, // imageAtomicMin_01G20D00D - 1890, // imageAtomicMin_01H20D00D - 1891, // imageAtomicMin_01X20D00D - 1892, // imageAtomicMin_01Y20D00D - 1893, // imageAtomicMin_01Z20D00D - 1894, // imageAtomicMin_01L00D00D - 1895, // imageAtomicMin_01M00D00D - 1896, // imageAtomicMin_01N00D00D - 1897, // imageAtomicMin_01O10D00D - 1898, // imageAtomicMin_01P10D00D - 1899, // imageAtomicMin_01Q10D00D - 1900, // imageAtomicMin_01a10D00D - 1901, // imageAtomicMin_01b10D00D - 1902, // imageAtomicMin_01c10D00D - 1903, // imageAtomicMin_01R10D00D00D - 1904, // imageAtomicMin_01S10D00D00D - 1905, // imageAtomicMin_01T10D00D00D - 1906, // imageAtomicMin_01U20D00D00D - 1907, // imageAtomicMin_01V20D00D00D - 1908, // imageAtomicMin_01W20D00D00D - 1909, // imageAtomicMax_00z10D00E - 1910, // imageAtomicMax_01A10D00E - 1911, // imageAtomicMax_01B10D00E - 1912, // imageAtomicMax_01C20D00E - 1913, // imageAtomicMax_01D20D00E - 1914, // imageAtomicMax_01E20D00E - 1915, // imageAtomicMax_01I20D00E - 1916, // imageAtomicMax_01J20D00E - 1917, // imageAtomicMax_01K20D00E - 1918, // imageAtomicMax_01d00D00E - 1919, // imageAtomicMax_01e00D00E - 1920, // imageAtomicMax_01f00D00E - 1921, // imageAtomicMax_01F20D00E - 1922, // imageAtomicMax_01G20D00E - 1923, // imageAtomicMax_01H20D00E - 1924, // imageAtomicMax_01X20D00E - 1925, // imageAtomicMax_01Y20D00E - 1926, // imageAtomicMax_01Z20D00E - 1927, // imageAtomicMax_01L00D00E - 1928, // imageAtomicMax_01M00D00E - 1929, // imageAtomicMax_01N00D00E - 1930, // imageAtomicMax_01O10D00E - 1931, // imageAtomicMax_01P10D00E - 1932, // imageAtomicMax_01Q10D00E - 1933, // imageAtomicMax_01a10D00E - 1934, // imageAtomicMax_01b10D00E - 1935, // imageAtomicMax_01c10D00E - 1936, // imageAtomicMax_01R10D00D00E - 1937, // imageAtomicMax_01S10D00D00E - 1938, // imageAtomicMax_01T10D00D00E - 1939, // imageAtomicMax_01U20D00D00E - 1940, // imageAtomicMax_01V20D00D00E - 1941, // imageAtomicMax_01W20D00D00E - 1942, // imageAtomicMax_00z10D00D - 1943, // imageAtomicMax_01A10D00D - 1944, // imageAtomicMax_01B10D00D - 1945, // imageAtomicMax_01C20D00D - 1946, // imageAtomicMax_01D20D00D - 1947, // imageAtomicMax_01E20D00D - 1948, // imageAtomicMax_01I20D00D - 1949, // imageAtomicMax_01J20D00D - 1950, // imageAtomicMax_01K20D00D - 1951, // imageAtomicMax_01d00D00D - 1952, // imageAtomicMax_01e00D00D - 1953, // imageAtomicMax_01f00D00D - 1954, // imageAtomicMax_01F20D00D - 1955, // imageAtomicMax_01G20D00D - 1956, // imageAtomicMax_01H20D00D - 1957, // imageAtomicMax_01X20D00D - 1958, // imageAtomicMax_01Y20D00D - 1959, // imageAtomicMax_01Z20D00D - 1960, // imageAtomicMax_01L00D00D - 1961, // imageAtomicMax_01M00D00D - 1962, // imageAtomicMax_01N00D00D - 1963, // imageAtomicMax_01O10D00D - 1964, // imageAtomicMax_01P10D00D - 1965, // imageAtomicMax_01Q10D00D - 1966, // imageAtomicMax_01a10D00D - 1967, // imageAtomicMax_01b10D00D - 1968, // imageAtomicMax_01c10D00D - 1969, // imageAtomicMax_01R10D00D00D - 1970, // imageAtomicMax_01S10D00D00D - 1971, // imageAtomicMax_01T10D00D00D - 1972, // imageAtomicMax_01U20D00D00D - 1973, // imageAtomicMax_01V20D00D00D - 1974, // imageAtomicMax_01W20D00D00D - 1975, // imageAtomicAnd_00z10D00E - 1976, // imageAtomicAnd_01A10D00E - 1977, // imageAtomicAnd_01B10D00E - 1978, // imageAtomicAnd_01C20D00E - 1979, // imageAtomicAnd_01D20D00E - 1980, // imageAtomicAnd_01E20D00E - 1981, // imageAtomicAnd_01I20D00E - 1982, // imageAtomicAnd_01J20D00E - 1983, // imageAtomicAnd_01K20D00E - 1984, // imageAtomicAnd_01d00D00E - 1985, // imageAtomicAnd_01e00D00E - 1986, // imageAtomicAnd_01f00D00E - 1987, // imageAtomicAnd_01F20D00E - 1988, // imageAtomicAnd_01G20D00E - 1989, // imageAtomicAnd_01H20D00E - 1990, // imageAtomicAnd_01X20D00E - 1991, // imageAtomicAnd_01Y20D00E - 1992, // imageAtomicAnd_01Z20D00E - 1993, // imageAtomicAnd_01L00D00E - 1994, // imageAtomicAnd_01M00D00E - 1995, // imageAtomicAnd_01N00D00E - 1996, // imageAtomicAnd_01O10D00E - 1997, // imageAtomicAnd_01P10D00E - 1998, // imageAtomicAnd_01Q10D00E - 1999, // imageAtomicAnd_01a10D00E - 2000, // imageAtomicAnd_01b10D00E - 2001, // imageAtomicAnd_01c10D00E - 2002, // imageAtomicAnd_01R10D00D00E - 2003, // imageAtomicAnd_01S10D00D00E - 2004, // imageAtomicAnd_01T10D00D00E - 2005, // imageAtomicAnd_01U20D00D00E - 2006, // imageAtomicAnd_01V20D00D00E - 2007, // imageAtomicAnd_01W20D00D00E - 2008, // imageAtomicAnd_00z10D00D - 2009, // imageAtomicAnd_01A10D00D - 2010, // imageAtomicAnd_01B10D00D - 2011, // imageAtomicAnd_01C20D00D - 2012, // imageAtomicAnd_01D20D00D - 2013, // imageAtomicAnd_01E20D00D - 2014, // imageAtomicAnd_01I20D00D - 2015, // imageAtomicAnd_01J20D00D - 2016, // imageAtomicAnd_01K20D00D - 2017, // imageAtomicAnd_01d00D00D - 2018, // imageAtomicAnd_01e00D00D - 2019, // imageAtomicAnd_01f00D00D - 2020, // imageAtomicAnd_01F20D00D - 2021, // imageAtomicAnd_01G20D00D - 2022, // imageAtomicAnd_01H20D00D - 2023, // imageAtomicAnd_01X20D00D - 2024, // imageAtomicAnd_01Y20D00D - 2025, // imageAtomicAnd_01Z20D00D - 2026, // imageAtomicAnd_01L00D00D - 2027, // imageAtomicAnd_01M00D00D - 2028, // imageAtomicAnd_01N00D00D - 2029, // imageAtomicAnd_01O10D00D - 2030, // imageAtomicAnd_01P10D00D - 2031, // imageAtomicAnd_01Q10D00D - 2032, // imageAtomicAnd_01a10D00D - 2033, // imageAtomicAnd_01b10D00D - 2034, // imageAtomicAnd_01c10D00D - 2035, // imageAtomicAnd_01R10D00D00D - 2036, // imageAtomicAnd_01S10D00D00D - 2037, // imageAtomicAnd_01T10D00D00D - 2038, // imageAtomicAnd_01U20D00D00D - 2039, // imageAtomicAnd_01V20D00D00D - 2040, // imageAtomicAnd_01W20D00D00D - 2041, // imageAtomicOr_00z10D00E - 2042, // imageAtomicOr_01A10D00E - 2043, // imageAtomicOr_01B10D00E - 2044, // imageAtomicOr_01C20D00E - 2045, // imageAtomicOr_01D20D00E - 2046, // imageAtomicOr_01E20D00E - 2047, // imageAtomicOr_01I20D00E - 2048, // imageAtomicOr_01J20D00E - 2049, // imageAtomicOr_01K20D00E - 2050, // imageAtomicOr_01d00D00E - 2051, // imageAtomicOr_01e00D00E - 2052, // imageAtomicOr_01f00D00E - 2053, // imageAtomicOr_01F20D00E - 2054, // imageAtomicOr_01G20D00E - 2055, // imageAtomicOr_01H20D00E - 2056, // imageAtomicOr_01X20D00E - 2057, // imageAtomicOr_01Y20D00E - 2058, // imageAtomicOr_01Z20D00E - 2059, // imageAtomicOr_01L00D00E - 2060, // imageAtomicOr_01M00D00E - 2061, // imageAtomicOr_01N00D00E - 2062, // imageAtomicOr_01O10D00E - 2063, // imageAtomicOr_01P10D00E - 2064, // imageAtomicOr_01Q10D00E - 2065, // imageAtomicOr_01a10D00E - 2066, // imageAtomicOr_01b10D00E - 2067, // imageAtomicOr_01c10D00E - 2068, // imageAtomicOr_01R10D00D00E - 2069, // imageAtomicOr_01S10D00D00E - 2070, // imageAtomicOr_01T10D00D00E - 2071, // imageAtomicOr_01U20D00D00E - 2072, // imageAtomicOr_01V20D00D00E - 2073, // imageAtomicOr_01W20D00D00E - 2074, // imageAtomicOr_00z10D00D - 2075, // imageAtomicOr_01A10D00D - 2076, // imageAtomicOr_01B10D00D - 2077, // imageAtomicOr_01C20D00D - 2078, // imageAtomicOr_01D20D00D - 2079, // imageAtomicOr_01E20D00D - 2080, // imageAtomicOr_01I20D00D - 2081, // imageAtomicOr_01J20D00D - 2082, // imageAtomicOr_01K20D00D - 2083, // imageAtomicOr_01d00D00D - 2084, // imageAtomicOr_01e00D00D - 2085, // imageAtomicOr_01f00D00D - 2086, // imageAtomicOr_01F20D00D - 2087, // imageAtomicOr_01G20D00D - 2088, // imageAtomicOr_01H20D00D - 2089, // imageAtomicOr_01X20D00D - 2090, // imageAtomicOr_01Y20D00D - 2091, // imageAtomicOr_01Z20D00D - 2092, // imageAtomicOr_01L00D00D - 2093, // imageAtomicOr_01M00D00D - 2094, // imageAtomicOr_01N00D00D - 2095, // imageAtomicOr_01O10D00D - 2096, // imageAtomicOr_01P10D00D - 2097, // imageAtomicOr_01Q10D00D - 2098, // imageAtomicOr_01a10D00D - 2099, // imageAtomicOr_01b10D00D - 2100, // imageAtomicOr_01c10D00D - 2101, // imageAtomicOr_01R10D00D00D - 2102, // imageAtomicOr_01S10D00D00D - 2103, // imageAtomicOr_01T10D00D00D - 2104, // imageAtomicOr_01U20D00D00D - 2105, // imageAtomicOr_01V20D00D00D - 2106, // imageAtomicOr_01W20D00D00D - 2107, // imageAtomicXor_00z10D00E - 2108, // imageAtomicXor_01A10D00E - 2109, // imageAtomicXor_01B10D00E - 2110, // imageAtomicXor_01C20D00E - 2111, // imageAtomicXor_01D20D00E - 2112, // imageAtomicXor_01E20D00E - 2113, // imageAtomicXor_01I20D00E - 2114, // imageAtomicXor_01J20D00E - 2115, // imageAtomicXor_01K20D00E - 2116, // imageAtomicXor_01d00D00E - 2117, // imageAtomicXor_01e00D00E - 2118, // imageAtomicXor_01f00D00E - 2119, // imageAtomicXor_01F20D00E - 2120, // imageAtomicXor_01G20D00E - 2121, // imageAtomicXor_01H20D00E - 2122, // imageAtomicXor_01X20D00E - 2123, // imageAtomicXor_01Y20D00E - 2124, // imageAtomicXor_01Z20D00E - 2125, // imageAtomicXor_01L00D00E - 2126, // imageAtomicXor_01M00D00E - 2127, // imageAtomicXor_01N00D00E - 2128, // imageAtomicXor_01O10D00E - 2129, // imageAtomicXor_01P10D00E - 2130, // imageAtomicXor_01Q10D00E - 2131, // imageAtomicXor_01a10D00E - 2132, // imageAtomicXor_01b10D00E - 2133, // imageAtomicXor_01c10D00E - 2134, // imageAtomicXor_01R10D00D00E - 2135, // imageAtomicXor_01S10D00D00E - 2136, // imageAtomicXor_01T10D00D00E - 2137, // imageAtomicXor_01U20D00D00E - 2138, // imageAtomicXor_01V20D00D00E - 2139, // imageAtomicXor_01W20D00D00E - 2140, // imageAtomicXor_00z10D00D - 2141, // imageAtomicXor_01A10D00D - 2142, // imageAtomicXor_01B10D00D - 2143, // imageAtomicXor_01C20D00D - 2144, // imageAtomicXor_01D20D00D - 2145, // imageAtomicXor_01E20D00D - 2146, // imageAtomicXor_01I20D00D - 2147, // imageAtomicXor_01J20D00D - 2148, // imageAtomicXor_01K20D00D - 2149, // imageAtomicXor_01d00D00D - 2150, // imageAtomicXor_01e00D00D - 2151, // imageAtomicXor_01f00D00D - 2152, // imageAtomicXor_01F20D00D - 2153, // imageAtomicXor_01G20D00D - 2154, // imageAtomicXor_01H20D00D - 2155, // imageAtomicXor_01X20D00D - 2156, // imageAtomicXor_01Y20D00D - 2157, // imageAtomicXor_01Z20D00D - 2158, // imageAtomicXor_01L00D00D - 2159, // imageAtomicXor_01M00D00D - 2160, // imageAtomicXor_01N00D00D - 2161, // imageAtomicXor_01O10D00D - 2162, // imageAtomicXor_01P10D00D - 2163, // imageAtomicXor_01Q10D00D - 2164, // imageAtomicXor_01a10D00D - 2165, // imageAtomicXor_01b10D00D - 2166, // imageAtomicXor_01c10D00D - 2167, // imageAtomicXor_01R10D00D00D - 2168, // imageAtomicXor_01S10D00D00D - 2169, // imageAtomicXor_01T10D00D00D - 2170, // imageAtomicXor_01U20D00D00D - 2171, // imageAtomicXor_01V20D00D00D - 2172, // imageAtomicXor_01W20D00D00D - 2173, // imageAtomicExchange_00z10D00E - 2174, // imageAtomicExchange_01A10D00E - 2175, // imageAtomicExchange_01B10D00E - 2176, // imageAtomicExchange_01C20D00E - 2177, // imageAtomicExchange_01D20D00E - 2178, // imageAtomicExchange_01E20D00E - 2179, // imageAtomicExchange_01I20D00E - 2180, // imageAtomicExchange_01J20D00E - 2181, // imageAtomicExchange_01K20D00E - 2182, // imageAtomicExchange_01d00D00E - 2183, // imageAtomicExchange_01e00D00E - 2184, // imageAtomicExchange_01f00D00E - 2185, // imageAtomicExchange_01F20D00E - 2186, // imageAtomicExchange_01G20D00E - 2187, // imageAtomicExchange_01H20D00E - 2188, // imageAtomicExchange_01X20D00E - 2189, // imageAtomicExchange_01Y20D00E - 2190, // imageAtomicExchange_01Z20D00E - 2191, // imageAtomicExchange_01L00D00E - 2192, // imageAtomicExchange_01M00D00E - 2193, // imageAtomicExchange_01N00D00E - 2194, // imageAtomicExchange_01O10D00E - 2195, // imageAtomicExchange_01P10D00E - 2196, // imageAtomicExchange_01Q10D00E - 2197, // imageAtomicExchange_01a10D00E - 2198, // imageAtomicExchange_01b10D00E - 2199, // imageAtomicExchange_01c10D00E - 2200, // imageAtomicExchange_01R10D00D00E - 2201, // imageAtomicExchange_01S10D00D00E - 2202, // imageAtomicExchange_01T10D00D00E - 2203, // imageAtomicExchange_01U20D00D00E - 2204, // imageAtomicExchange_01V20D00D00E - 2205, // imageAtomicExchange_01W20D00D00E - 2206, // imageAtomicExchange_00z10D00D - 2207, // imageAtomicExchange_01A10D00D - 2208, // imageAtomicExchange_01B10D00D - 2209, // imageAtomicExchange_01C20D00D - 2210, // imageAtomicExchange_01D20D00D - 2211, // imageAtomicExchange_01E20D00D - 2212, // imageAtomicExchange_01I20D00D - 2213, // imageAtomicExchange_01J20D00D - 2214, // imageAtomicExchange_01K20D00D - 2215, // imageAtomicExchange_01d00D00D - 2216, // imageAtomicExchange_01e00D00D - 2217, // imageAtomicExchange_01f00D00D - 2218, // imageAtomicExchange_01F20D00D - 2219, // imageAtomicExchange_01G20D00D - 2220, // imageAtomicExchange_01H20D00D - 2221, // imageAtomicExchange_01X20D00D - 2222, // imageAtomicExchange_01Y20D00D - 2223, // imageAtomicExchange_01Z20D00D - 2224, // imageAtomicExchange_01L00D00D - 2225, // imageAtomicExchange_01M00D00D - 2226, // imageAtomicExchange_01N00D00D - 2227, // imageAtomicExchange_01O10D00D - 2228, // imageAtomicExchange_01P10D00D - 2229, // imageAtomicExchange_01Q10D00D - 2230, // imageAtomicExchange_01a10D00D - 2231, // imageAtomicExchange_01b10D00D - 2232, // imageAtomicExchange_01c10D00D - 2233, // imageAtomicExchange_01R10D00D00D - 2234, // imageAtomicExchange_01S10D00D00D - 2235, // imageAtomicExchange_01T10D00D00D - 2236, // imageAtomicExchange_01U20D00D00D - 2237, // imageAtomicExchange_01V20D00D00D - 2238, // imageAtomicExchange_01W20D00D00D - 2239, // imageAtomicExchange_00z10D00B - 2240, // imageAtomicExchange_01A10D00B - 2241, // imageAtomicExchange_01B10D00B - 2242, // imageAtomicExchange_01C20D00B - 2243, // imageAtomicExchange_01D20D00B - 2244, // imageAtomicExchange_01E20D00B - 2245, // imageAtomicExchange_01I20D00B - 2246, // imageAtomicExchange_01J20D00B - 2247, // imageAtomicExchange_01K20D00B - 2248, // imageAtomicExchange_01d00D00B - 2249, // imageAtomicExchange_01e00D00B - 2250, // imageAtomicExchange_01f00D00B - 2251, // imageAtomicExchange_01F20D00B - 2252, // imageAtomicExchange_01G20D00B - 2253, // imageAtomicExchange_01H20D00B - 2254, // imageAtomicExchange_01X20D00B - 2255, // imageAtomicExchange_01Y20D00B - 2256, // imageAtomicExchange_01Z20D00B - 2257, // imageAtomicExchange_01L00D00B - 2258, // imageAtomicExchange_01M00D00B - 2259, // imageAtomicExchange_01N00D00B - 2260, // imageAtomicExchange_01O10D00B - 2261, // imageAtomicExchange_01P10D00B - 2262, // imageAtomicExchange_01Q10D00B - 2263, // imageAtomicExchange_01a10D00B - 2264, // imageAtomicExchange_01b10D00B - 2265, // imageAtomicExchange_01c10D00B - 2266, // imageAtomicExchange_01R10D00D00B - 2267, // imageAtomicExchange_01S10D00D00B - 2268, // imageAtomicExchange_01T10D00D00B - 2269, // imageAtomicExchange_01U20D00D00B - 2270, // imageAtomicExchange_01V20D00D00B - 2271, // imageAtomicExchange_01W20D00D00B - 2272, // imageAtomicCompSwap_00z10D00E00E - 2273, // imageAtomicCompSwap_01A10D00E00E - 2274, // imageAtomicCompSwap_01B10D00E00E - 2275, // imageAtomicCompSwap_01C20D00E00E - 2276, // imageAtomicCompSwap_01D20D00E00E - 2277, // imageAtomicCompSwap_01E20D00E00E - 2278, // imageAtomicCompSwap_01I20D00E00E - 2279, // imageAtomicCompSwap_01J20D00E00E - 2280, // imageAtomicCompSwap_01K20D00E00E - 2281, // imageAtomicCompSwap_01d00D00E00E - 2282, // imageAtomicCompSwap_01e00D00E00E - 2283, // imageAtomicCompSwap_01f00D00E00E - 2284, // imageAtomicCompSwap_01F20D00E00E - 2285, // imageAtomicCompSwap_01G20D00E00E - 2286, // imageAtomicCompSwap_01H20D00E00E - 2287, // imageAtomicCompSwap_01X20D00E00E - 2288, // imageAtomicCompSwap_01Y20D00E00E - 2289, // imageAtomicCompSwap_01Z20D00E00E - 2290, // imageAtomicCompSwap_01L00D00E00E - 2291, // imageAtomicCompSwap_01M00D00E00E - 2292, // imageAtomicCompSwap_01N00D00E00E - 2293, // imageAtomicCompSwap_01O10D00E00E - 2294, // imageAtomicCompSwap_01P10D00E00E - 2295, // imageAtomicCompSwap_01Q10D00E00E - 2296, // imageAtomicCompSwap_01a10D00E00E - 2297, // imageAtomicCompSwap_01b10D00E00E - 2298, // imageAtomicCompSwap_01c10D00E00E - 2299, // imageAtomicCompSwap_01R10D00D00E00E - 2300, // imageAtomicCompSwap_01S10D00D00E00E - 2301, // imageAtomicCompSwap_01T10D00D00E00E - 2302, // imageAtomicCompSwap_01U20D00D00E00E - 2303, // imageAtomicCompSwap_01V20D00D00E00E - 2304, // imageAtomicCompSwap_01W20D00D00E00E - 2305, // imageAtomicCompSwap_00z10D00D00D - 2306, // imageAtomicCompSwap_01A10D00D00D - 2307, // imageAtomicCompSwap_01B10D00D00D - 2308, // imageAtomicCompSwap_01C20D00D00D - 2309, // imageAtomicCompSwap_01D20D00D00D - 2310, // imageAtomicCompSwap_01E20D00D00D - 2311, // imageAtomicCompSwap_01I20D00D00D - 2312, // imageAtomicCompSwap_01J20D00D00D - 2313, // imageAtomicCompSwap_01K20D00D00D - 2314, // imageAtomicCompSwap_01d00D00D00D - 2315, // imageAtomicCompSwap_01e00D00D00D - 2316, // imageAtomicCompSwap_01f00D00D00D - 2317, // imageAtomicCompSwap_01F20D00D00D - 2318, // imageAtomicCompSwap_01G20D00D00D - 2319, // imageAtomicCompSwap_01H20D00D00D - 2320, // imageAtomicCompSwap_01X20D00D00D - 2321, // imageAtomicCompSwap_01Y20D00D00D - 2322, // imageAtomicCompSwap_01Z20D00D00D - 2323, // imageAtomicCompSwap_01L00D00D00D - 2324, // imageAtomicCompSwap_01M00D00D00D - 2325, // imageAtomicCompSwap_01N00D00D00D - 2326, // imageAtomicCompSwap_01O10D00D00D - 2327, // imageAtomicCompSwap_01P10D00D00D - 2328, // imageAtomicCompSwap_01Q10D00D00D - 2329, // imageAtomicCompSwap_01a10D00D00D - 2330, // imageAtomicCompSwap_01b10D00D00D - 2331, // imageAtomicCompSwap_01c10D00D00D - 2332, // imageAtomicCompSwap_01R10D00D00D00D - 2333, // imageAtomicCompSwap_01S10D00D00D00D - 2334, // imageAtomicCompSwap_01T10D00D00D00D - 2335, // imageAtomicCompSwap_01U20D00D00D00D - 2336, // imageAtomicCompSwap_01V20D00D00D00D - 2337, // imageAtomicCompSwap_01W20D00D00D00D - 2338, // memoryBarrier_ - 2340, // memoryBarrierAtomicCounter_ - 2342, // memoryBarrierBuffer_ - 2344, // memoryBarrierImage_ - 2346, // barrier_ - 2350, // memoryBarrierShared_ - 2352, // groupMemoryBarrier_ - 2354, // EmitVertex_ - 2356, // EndPrimitive_ - 2358, // textureVideoWEBGL_00y10B - 2360, // texture_00y10B - 2362, // gl_DepthRangeParameters - 2364, // gl_DepthRange - 2366, // gl_NumSamples - 2369, // gl_MaxVertexAttribs - 2371, // gl_MaxVertexUniformVectors - 2373, // gl_MaxVertexTextureImageUnits - 2375, // gl_MaxCombinedTextureImageUnits - 2377, // gl_MaxTextureImageUnits - 2379, // gl_MaxFragmentUniformVectors - 2381, // gl_MaxVaryingVectors - 2383, // gl_MaxDrawBuffers - 2385, // gl_MaxDualSourceDrawBuffersEXT - 2386, // gl_MaxVertexOutputVectors - 2388, // gl_MaxFragmentInputVectors - 2390, // gl_MinProgramTexelOffset - 2392, // gl_MaxProgramTexelOffset - 2394, // gl_MaxImageUnits - 2396, // gl_MaxVertexImageUniforms - 2398, // gl_MaxFragmentImageUniforms - 2400, // gl_MaxComputeImageUniforms - 2402, // gl_MaxCombinedImageUniforms - 2404, // gl_MaxCombinedShaderOutputResources - 2406, // gl_MaxComputeWorkGroupCount - 2408, // gl_MaxComputeWorkGroupSize - 2410, // gl_MaxComputeUniformComponents - 2412, // gl_MaxComputeTextureImageUnits - 2414, // gl_MaxComputeAtomicCounters - 2416, // gl_MaxComputeAtomicCounterBuffers - 2418, // gl_MaxVertexAtomicCounters - 2420, // gl_MaxFragmentAtomicCounters - 2422, // gl_MaxCombinedAtomicCounters - 2424, // gl_MaxAtomicCounterBindings - 2426, // gl_MaxVertexAtomicCounterBuffers - 2428, // gl_MaxFragmentAtomicCounterBuffers - 2430, // gl_MaxCombinedAtomicCounterBuffers - 2432, // gl_MaxAtomicCounterBufferSize - 2434, // gl_MaxGeometryInputComponents - 2437, // gl_MaxGeometryOutputComponents - 2440, // gl_MaxGeometryImageUniforms - 2443, // gl_MaxGeometryTextureImageUnits - 2446, // gl_MaxGeometryOutputVertices - 2449, // gl_MaxGeometryTotalOutputComponents - 2452, // gl_MaxGeometryUniformComponents - 2455, // gl_MaxGeometryAtomicCounters - 2458, // gl_MaxGeometryAtomicCounterBuffers - 2461, // gl_MaxTessControlInputComponents - 2464, // gl_MaxTessControlOutputComponents - 2467, // gl_MaxTessControlTextureImageUnits - 2470, // gl_MaxTessControlUniformComponents - 2473, // gl_MaxTessControlTotalOutputComponents - 2476, // gl_MaxTessControlImageUniforms - 2479, // gl_MaxTessControlAtomicCounters - 2482, // gl_MaxTessControlAtomicCounterBuffers - 2485, // gl_MaxTessPatchComponents - 2488, // gl_MaxPatchVertices - 2491, // gl_MaxTessGenLevel - 2494, // gl_MaxTessEvaluationInputComponents - 2497, // gl_MaxTessEvaluationOutputComponents - 2500, // gl_MaxTessEvaluationTextureImageUnits - 2503, // gl_MaxTessEvaluationUniformComponents - 2506, // gl_MaxTessEvaluationImageUniforms - 2509, // gl_MaxTessEvaluationAtomicCounters - 2512, // gl_MaxTessEvaluationAtomicCounterBuffers - 2515, // gl_MaxSamples - 2518, // gl_MaxClipDistances - 2519, // gl_MaxCullDistances - 2520, // gl_MaxCombinedClipAndCullDistances - 2521, // gl_FragCoord - 2523, // gl_FrontFacing - 2525, // gl_PointCoord - 2527, // gl_FragColor - 2529, // gl_FragData - 2531, // gl_FragDepth - 2533, // gl_HelperInvocation - 2535, // gl_SecondaryFragColorEXT - 2536, // gl_SecondaryFragDataEXT - 2537, // gl_FragDepthEXT - 2538, // gl_LastFragData - 2541, // gl_LastFragColor - 2542, // gl_LastFragColorARM - 2543, // gl_PrimitiveID - 2555, // gl_Layer - 2561, // gl_SampleID - 2564, // gl_SamplePosition - 2567, // gl_SampleMaskIn - 2570, // gl_SampleMask - 2573, // gl_CullDistance - 2575, // gl_ClipDistance - 2577, // gl_Position - 2588, // gl_PointSize - 2590, // gl_InstanceID - 2592, // Empty - 2592, // gl_VertexID - 2594, // Empty - 2594, // Empty - 2594, // gl_DrawID - 2595, // gl_BaseVertex - 2596, // gl_BaseInstance - 2597, // angle_BaseVertex - 2598, // angle_BaseInstance - 2599, // gl_NumWorkGroups - 2601, // gl_WorkGroupSize - 2603, // gl_WorkGroupID - 2605, // gl_LocalInvocationID - 2607, // gl_GlobalInvocationID - 2609, // gl_LocalInvocationIndex - 2611, // gl_PrimitiveIDIn - 2614, // gl_InvocationID - 2620, // gl_PerVertex - 2629, // gl_in - 2638, // gl_PatchVerticesIn - 2644, // gl_TessLevelOuter - 2650, // gl_TessLevelInner - 2656, // gl_out - 2662, // gl_TessCoord - 2664, // gl_ViewID_OVR + 0, // textureProj_00R30B00B + 2, // interpolateAtOffset_30B10B + 5, // imageAtomicOr_00z10D00E + 6, // imageAtomicOr_00z10D00D + 7, // texture2DProj_00I20B + 9, // gl_MaxAtomicCounterBindings + 11, // imageLoad_01g00D + 12, // imageLoad_01I20D + 13, // tanh_30B + 15, // imageAtomicCompSwap_01E20D00D00D + 16, // imageAtomicCompSwap_01W20D00D00E00E + 17, // not_10F + 19, // textureGatherOffset_00L20B10D + 21, // lessThanEqual_30B30B + 23, // imageAtomicAdd_00z10D00E + 24, // outerProduct_20B30B + 26, // mix_20B20B00B + 28, // uintBitsToFloat_30E + 30, // imageAtomicExchange_01R10D00D00B + 31, // textureSize_00K00D + 33, // gl_MaxGeometryOutputVertices + 34, // greaterThanEqual_10E10E + 36, // texture_00d20B + 38, // atan_10B10B + 40, // clamp_30B30B30B + 42, // imageAtomicCompSwap_01a20D00E00E + 43, // imageAtomicCompSwap_01R10D00D00D00D + 44, // textureLodOffset_00a20B00B10D + 46, // greaterThanEqual_20B20B + 48, // imageLoad_01F20D + 49, // imageAtomicCompSwap_01b20D00D00D + 50, // imageAtomicAnd_01A10D00D + 51, // imageAtomicAnd_01A10D00E + 52, // atomicAdd_00D00D + 54, // bitfieldExtract_10D00D00D + 56, // mix_20D20D20F + 58, // imageAtomicMin_01Y10D00E + 59, // imageAtomicMin_01Y10D00D + 60, // texture_00R10B + 62, // imageAtomicCompSwap_01D20D00D00D + 63, // imageAtomicMax_01S10D00D00D + 64, // imageAtomicMax_01S10D00D00E + 65, // inversesqrt_00B + 67, // texelFetchOffset_00J20D00D20D + 69, // textureProjGrad_00S30B20B20B + 71, // equal_10D10D + 73, // max_30D00D + 75, // groupMemoryBarrier_ + 77, // imageAtomicExchange_01b20D00B + 78, // imageAtomicExchange_01b20D00E + 79, // imageAtomicExchange_01b20D00D + 80, // intBitsToFloat_30D + 82, // texelFetch_00I10D00D + 84, // transpose_E0B + 86, // imageAtomicMin_01R10D00D00E + 87, // imageAtomicMin_01R10D00D00D + 88, // textureProjOffset_00Y30B20D00B + 90, // imageStore_01C20D30B + 91, // modf_10B10B + 93, // determinant_50B + 94, // imageAtomicCompSwap_01J20D00E00E + 95, // normalize_30B + 97, // lessThan_20B20B + 99, // imageStore_01K20D30E + 100, // gl_MaxFragmentInputVectors + 102, // texture_00f30B + 104, // sign_20B + 106, // sign_20D + 108, // outerProduct_30B10B + 110, // imageAtomicAnd_01V20D00D00E + 111, // imageAtomicAnd_01V20D00D00D + 112, // imageAtomicXor_01Y10D00D + 113, // imageAtomicXor_01Y10D00E + 114, // bitfieldReverse_10E + 116, // textureOffset_00d20B10D00B + 118, // bitfieldReverse_10D + 120, // lessThan_10E10E + 122, // imageAtomicCompSwap_01A10D00D00D + 123, // imageAtomicAdd_00z10D00D + 124, // textureProj_00N30B00B + 125, // gl_MaxCombinedShaderOutputResources + 127, // imageAtomicCompSwap_01T10D00D00D00D + 128, // texture_00I10B00B + 130, // imageAtomicMin_01C20D00E + 131, // lessThan_20D20D + 133, // reflect_10B10B + 135, // imageAtomicAdd_01S10D00D00E + 136, // isinf_30B + 138, // textureGatherOffset_00a20B10D00D + 140, // textureGatherOffset_00I10B10D + 142, // textureOffset_00L20B10D + 144, // lessThanEqual_30E30E + 146, // min_10E00E + 148, // imageAtomicXor_01a20D00E + 149, // imageAtomicXor_01a20D00D + 150, // textureProjOffset_00S30B20D + 152, // round_00B + 154, // gl_LastFragData + 156, // greaterThan_30D30D + 158, // texture_00U20B + 160, // texture2DRect_00O10B + 161, // step_20B20B + 163, // findMSB_10E + 165, // findMSB_10D + 167, // interpolateAtOffset_00B10B + 170, // textureProj_00R20B00B + 172, // imageStore_00z10D30B + 173, // textureGatherOffsets_00X10B10Dx400D + 176, // outerProduct_10B20B + 178, // imageAtomicMax_01Z10D00E + 179, // cos_30B + 181, // unpackHalf2x16_00E + 183, // gl_MaxComputeTextureImageUnits + 185, // imageAtomicMax_01Y10D00E + 186, // imageAtomicMax_01Y10D00D + 187, // sin_30B + 189, // textureGather_00L20B00D + 191, // imageStore_01i00D30E + 192, // imageStore_01A10D30D + 193, // imageAtomicXor_01H20D00D + 194, // imageAtomicXor_01H20D00E + 195, // max_10E10E + 197, // max_20E20E + 199, // clamp_10E10E10E + 201, // texture_00N10B + 202, // matrixCompMult_70B70B + 203, // imageAtomicOr_01E20D00D + 204, // imageAtomicOr_01E20D00E + 205, // texelFetchOffset_00a20D00D10D + 207, // not_20F + 209, // imageAtomicExchange_01F20D00D + 210, // imageAtomicExchange_01F20D00B + 211, // outerProduct_20B20B + 213, // textureProjLodOffset_00R20B00B10D + 215, // textureProjGrad_00J30B20B20B + 217, // imageAtomicOr_01R10D00D00E + 218, // imageAtomicOr_01R10D00D00D + 219, // imageLoad_01K20D + 220, // textureGatherOffsets_00d10B00B10Dx4 + 223, // gl_InvocationID + 224, // textureGatherOffsets_00L20B10Dx400D + 227, // imageAtomicAnd_01R10D00D00D + 228, // imageAtomicAnd_01R10D00D00E + 229, // radians_10B + 231, // textureGather_00e20B00B + 233, // distance_10B10B + 235, // textureGrad_00Z20B20B20B + 237, // sign_00B + 239, // imageAtomicOr_01D20D00E + 240, // imageAtomicOr_01D20D00D + 241, // bitfieldExtract_30E00D00D + 243, // textureLod_00I10B00B + 245, // greaterThanEqual_10D10D + 247, // degrees_30B + 249, // inversesqrt_30B + 251, // imageAtomicAnd_01K20D00D + 252, // imageAtomicMin_01I20D00D + 253, // frexp_20B20D + 255, // intBitsToFloat_20D + 257, // exp_20B + 259, // imageAtomicMax_01A10D00E + 260, // imageAtomicMax_01A10D00D + 261, // acosh_00B + 263, // log_10B + 265, // textureProjLodOffset_00S30B00B20D + 267, // textureGather_00L20B + 269, // outerProduct_30B20B + 271, // texture_00S20B + 273, // atomicXor_00D00D + 275, // texelFetch_00Y20D00D + 277, // imageAtomicOr_01P10D00D + 278, // imageAtomicOr_01P10D00E + 279, // sign_30B + 281, // sign_30D + 283, // texture_00Y20B00B + 285, // dFdy_20B + 288, // textureProj_00Y30B + 290, // textureOffset_00X10B10D00B + 292, // memoryBarrierBuffer_ + 294, // isinf_00B + 296, // clamp_20D00D00D + 298, // texture2DProj_00I20B00B + 300, // mod_30B00B + 302, // textureGather_00x30B00D + 303, // textureGather_00f20B00B + 305, // greaterThan_20E20E + 307, // textureProjLod_00I30B00B + 309, // refract_00B00B00B + 311, // gl_MaxGeometryImageUniforms + 312, // imageAtomicMin_01X10D00D + 313, // imageAtomicMin_01X10D00E + 314, // textureSize_00e00D + 316, // texelFetch_00a20D00D + 318, // frexp_30B30D + 320, // degrees_20B + 322, // imageAtomicCompSwap_01X10D00E00E + 323, // texture_00I10B + 325, // gl_InstanceID + 327, // normalize_20B + 329, // imageAtomicCompSwap_01H20D00D00D + 330, // interpolateAtCentroid_20B + 333, // atan_00B + 335, // textureGatherOffset_00R10B10D00D + 337, // imageAtomicMin_01h00D00E + 338, // imageAtomicMin_01h00D00D + 339, // greaterThan_30E30E + 341, // imageAtomicAdd_01N00D00D + 342, // imageAtomicAdd_01N00D00E + 343, // imageAtomicAnd_01J20D00D + 344, // imageAtomicAnd_01J20D00E + 345, // gl_DepthRange + 347, // imageAtomicAdd_01I20D00E + 348, // imageAtomicAdd_01I20D00D + 349, // texture_00L20B00B + 351, // imageAtomicOr_01L00D00E + 352, // imageAtomicOr_01L00D00D + 353, // imageAtomicXor_01L00D00D + 354, // gl_MaxComputeUniformComponents + 356, // imageLoad_01h00D + 357, // imageAtomicCompSwap_01E20D00E00E + 358, // imageAtomicAdd_01X10D00E + 359, // imageAtomicAdd_01X10D00D + 360, // imageAtomicMax_01R10D00D00E + 361, // imageAtomicMax_01R10D00D00D + 362, // imageLoad_01J20D + 363, // interpolateAtSample_10B00D + 366, // imageAtomicMin_01F20D00E + 367, // imageAtomicMin_01F20D00D + 368, // outerProduct_10B30B + 370, // texture_00k30B + 371, // imageAtomicCompSwap_01O10D00E00E + 372, // imageAtomicXor_01F20D00D + 373, // imageAtomicXor_01F20D00E + 374, // imageAtomicAnd_01a20D00E + 375, // imageAtomicAnd_01a20D00D + 376, // textureOffset_00a20B10D00B + 378, // imageAtomicCompSwap_01b20D00E00E + 379, // textureGather_00X10B + 381, // textureOffset_00R10B10D00B + 383, // textureGatherOffset_00d10B00B10D + 385, // gl_MaxFragmentImageUniforms + 387, // equal_20E20E + 389, // uaddCarry_00E00E00E + 391, // textureCube_00K20B + 393, // imageAtomicMax_01U20D00D00E + 394, // imageAtomicMax_01U20D00D00D + 395, // matrixCompMult_90B90B + 396, // textureGatherOffsets_00I10B10Dx4 + 399, // clamp_30E00E00E + 401, // asin_00B + 403, // textureProjOffset_00J30B20D00B + 405, // clamp_10E00E00E + 407, // notEqual_30E30E + 409, // imageAtomicOr_01K20D00D + 410, // imageAtomicOr_01K20D00E + 411, // lessThanEqual_10E10E + 413, // inversesqrt_20B + 415, // atomicAdd_00E00E + 417, // textureProj_00R30B + 419, // textureGrad_00X10B10B10B + 421, // greaterThanEqual_30E30E + 423, // mix_20B20B20F + 425, // imageAtomicExchange_01T10D00D00E + 426, // imageAtomicExchange_01T10D00D00D + 427, // gl_MaxVertexAtomicCounters + 429, // mix_20B20B20B + 431, // any_10F + 433, // textureProjGradOffset_00d30B10B10B10D + 435, // textureProjOffset_00I30B10D + 437, // textureOffset_00X10B10D + 439, // imageAtomicXor_01R10D00D00D + 440, // imageAtomicXor_01R10D00D00E + 441, // radians_00B + 443, // textureGatherOffsets_00f20B00B10Dx4 + 446, // step_10B10B + 448, // gl_MaxDualSourceDrawBuffersEXT + 449, // imageAtomicAdd_01Y10D00D + 450, // imageAtomicAdd_01Y10D00E + 451, // imageAtomicAnd_01C20D00E + 452, // imageAtomicAnd_01C20D00D + 453, // imageStore_01g00D30B + 454, // atomicXor_00E00E + 456, // imageAtomicCompSwap_01P10D00E00E + 457, // greaterThan_30B30B + 459, // gl_MaxFragmentAtomicCounters + 461, // faceforward_20B20B20B + 463, // textureSize_00x00D + 464, // textureProj_00S30B00B + 466, // fma_20B20B20B + 469, // imageAtomicMin_01J20D00E + 470, // outerProduct_30B30B + 472, // exp_30B + 474, // bitCount_10E + 476, // bitCount_10D + 478, // log_00B + 480, // mix_00F00F00F + 482, // imageAtomicCompSwap_01M00D00D00D + 483, // texture2DProjLodEXT_00I30B00B + 484, // acosh_30B + 486, // imageAtomicOr_01Y10D00E + 487, // imageAtomicOr_01Y10D00D + 488, // textureGradOffset_00X10B10B10B10D + 490, // texelFetchOffset_00X10D00D10D + 492, // packUnorm2x16_10B + 494, // umulExtended_20E20E20E20E + 496, // imageAtomicAnd_01b20D00E + 497, // imageAtomicCompSwap_01T10D00D00E00E + 498, // textureCubeLod_00K20B00B + 500, // textureSize_00L00D + 502, // imageAtomicXor_01L00D00E + 503, // max_20E00E + 505, // textureProj_00S30B + 507, // dFdy_30B + 510, // isinf_10B + 512, // gl_MaxVertexTextureImageUnits + 514, // greaterThanEqual_30B30B + 516, // texture2DProjLodEXT_00I20B00B + 517, // gl_FrontFacing + 519, // acos_10B + 521, // textureCube_00K20B00B + 523, // lessThan_10B10B + 525, // imageAtomicCompSwap_01B10D00E00E + 526, // gl_MaxComputeAtomicCounterBuffers + 528, // textureSize_00f00D + 530, // imageAtomicAnd_01g00D00E + 531, // imageAtomicAnd_01g00D00D + 532, // gl_LastFragColorARM + 533, // lessThanEqual_20D20D + 535, // imageAtomicCompSwap_01h00D00E00E + 536, // imageAtomicAdd_01B10D00E + 537, // imageAtomicAdd_01B10D00D + 538, // gl_SecondaryFragColorEXT + 539, // imageAtomicAnd_01U20D00D00D + 540, // imageAtomicAnd_01U20D00D00E + 541, // gl_BaseInstance + 542, // imageAtomicXor_01b20D00D + 543, // imageAtomicXor_01b20D00E + 544, // mix_20F20F20F + 546, // smoothstep_00B00B30B + 548, // imageAtomicExchange_01M00D00B + 549, // imageAtomicExchange_01M00D00D + 550, // imageAtomicExchange_01M00D00E + 551, // imageAtomicCompSwap_01F20D00E00E + 552, // texelFetch_00N10D00D + 553, // textureSize_00a00D + 555, // textureProjOffset_00Y30B20D + 557, // atan_30B + 559, // imageAtomicMax_01b20D00E + 560, // imageAtomicMax_01b20D00D + 561, // ceil_10B + 563, // texture_00M10B + 564, // imageAtomicExchange_01S10D00D00B + 565, // atomicCounterDecrement_00G + 567, // refract_20B20B00B + 569, // imageAtomicAnd_01Q10D00D + 570, // imageAtomicAnd_01Q10D00E + 571, // imageAtomicAnd_01c20D00E + 572, // imageAtomicAnd_01c20D00D + 573, // texelFetch_00R10D00D + 575, // cosh_20B + 577, // smoothstep_30B30B30B + 579, // imageAtomicExchange_01T10D00D00B + 580, // textureGrad_00R10B10B10B + 582, // min_00D00D + 584, // shadow2DProjEXT_00d30B + 585, // imageAtomicAdd_01V20D00D00E + 586, // imageAtomicAdd_01V20D00D00D + 587, // greaterThanEqual_30D30D + 589, // imageLoad_01D20D + 590, // findLSB_10E + 592, // texture_00Z20B00B + 594, // imageAtomicXor_01S10D00D00E + 595, // imageAtomicXor_01S10D00D00D + 596, // cos_10B + 598, // texture_00e30B + 600, // textureSize_00T00D + 602, // textureProjGradOffset_00Y30B20B20B20D + 604, // textureGrad_00T20B20B20B + 606, // textureProjOffset_00d30B10D00B + 608, // imageAtomicMin_01B10D00D + 609, // imageAtomicMin_01B10D00E + 610, // imageAtomicXor_01U20D00D00D + 611, // imageAtomicXor_01U20D00D00E + 612, // imageAtomicAdd_01h00D00D + 613, // imageAtomicAdd_01h00D00E + 614, // matrixCompMult_50B50B + 616, // equal_30B30B + 618, // imageAtomicExchange_01E20D00B + 619, // textureLod_00U20B00B + 621, // imageAtomicExchange_01E20D00D + 622, // imageAtomicXor_01I20D00D + 623, // texture2DProjLod_00I30B00B + 625, // max_10B10B + 627, // gl_PointSize + 629, // asin_10B + 631, // imageAtomicAdd_01g00D00E + 632, // imageAtomicAdd_01g00D00D + 633, // textureOffset_00S20B20D + 635, // textureProj_00R20B + 637, // greaterThan_10E10E + 639, // imageAtomicAnd_01M00D00E + 640, // imageAtomicAnd_01M00D00D + 641, // EmitVertex_ + 642, // smoothstep_20B20B20B + 644, // textureOffset_00J20B20D + 646, // texelFetch_00J20D00D + 648, // imageAtomicExchange_01V20D00D00E + 649, // imageAtomicExchange_01V20D00D00B + 650, // imageAtomicCompSwap_01Y10D00E00E + 651, // gl_ViewID_OVR + 652, // radians_30B + 654, // imageAtomicMin_01H20D00E + 655, // imageAtomicMin_01H20D00D + 656, // textureProjGrad_00X30B10B10B + 658, // imageAtomicXor_00z10D00D + 659, // imageAtomicXor_00z10D00E + 660, // texture3DLod_00J20B00B + 661, // packUnorm4x8_30B + 663, // gl_MaxComputeImageUniforms + 665, // textureLod_00L20B00B + 667, // imageAtomicExchange_01A10D00B + 668, // imageAtomicCompSwap_01V20D00D00D00D + 669, // imageAtomicExchange_01A10D00E + 670, // imageAtomicExchange_01A10D00D + 671, // transpose_B0B + 673, // clamp_00E00E00E + 675, // ldexp_00B00D + 677, // bitfieldInsert_00D00D00D00D + 679, // textureProjGrad_00Y30B20B20B + 681, // imageAtomicAdd_01W20D00D00E + 682, // roundEven_30B + 684, // acosh_20B + 686, // atanh_10B + 688, // clamp_10B10B10B + 690, // textureGatherOffset_00L20B10D00D + 692, // bitCount_00D + 694, // bitCount_00E + 696, // floatBitsToInt_30B + 698, // max_20B00B + 700, // texelFetchOffset_00Y20D00D20D + 702, // atomicExchange_00E00E + 704, // imageAtomicXor_01h00D00D + 705, // imageAtomicXor_01h00D00E + 706, // texture_00x30B00B + 707, // lessThanEqual_20B20B + 709, // min_10B00B + 711, // imageAtomicAnd_01L00D00D + 712, // imageAtomicAnd_01L00D00E + 713, // mix_30F30F30F + 715, // imageAtomicMax_01T10D00D00E + 716, // imageAtomicMax_01T10D00D00D + 717, // abs_20D + 719, // abs_20B + 721, // lessThanEqual_10B10B + 723, // imageAtomicOr_01a20D00D + 724, // imageAtomicOr_01a20D00E + 725, // mix_00B00B00F + 727, // textureGather_00s30B00D + 728, // textureProj_00I20B + 730, // gl_MaxVertexAtomicCounterBuffers + 732, // acos_00B + 734, // textureGradOffset_00J20B20B20B20D + 736, // texture2DGradEXT_00I10B10B10B + 737, // imageAtomicCompSwap_01G20D00D00D + 738, // imageAtomicAnd_01I20D00D + 739, // texture2DProjGradEXT_00I30B10B10B + 740, // fma_30B30B30B + 743, // imageAtomicAdd_01L00D00D + 744, // imageAtomicAdd_01L00D00E + 745, // gl_MaxComputeWorkGroupCount + 747, // imageLoad_01i00D + 748, // mix_30E30E30F + 750, // gl_FragColor + 752, // imageAtomicMin_01G20D00D + 753, // imageAtomicMin_01G20D00E + 754, // imageAtomicExchange_01S10D00D00D + 755, // atan_20B + 757, // interpolateAtSample_30B00D + 760, // imageAtomicExchange_01S10D00D00E + 761, // min_10B10B + 763, // pow_10B10B + 765, // imageAtomicXor_01P10D00E + 766, // imageAtomicXor_01P10D00D + 767, // texture_00X10B00B + 769, // frexp_00B00D + 771, // texture2D_00I10B + 773, // ceil_20B + 775, // imageAtomicMin_01b20D00E + 776, // imageAtomicMin_01b20D00D + 777, // imageAtomicMax_01P10D00D + 778, // imageAtomicMax_01P10D00E + 779, // imageAtomicExchange_01P10D00B + 780, // textureProjOffset_00R20B10D + 782, // textureOffset_00I10B10D + 784, // min_20B00B + 786, // reflect_00B00B + 788, // sqrt_10B + 790, // clamp_20E20E20E + 792, // imageAtomicOr_01G20D00D + 793, // imageAtomicOr_01G20D00E + 794, // imageAtomicMin_01C20D00D + 795, // texelFetch_00j00D + 796, // imageStore_01a20D30B + 797, // textureProjLod_00d30B00B + 799, // imageLoad_01H20D + 800, // textureProjGradOffset_00I20B10B10B10D + 802, // interpolateAtSample_20B00D + 805, // refract_10B10B00B + 807, // imageAtomicMax_01h00D00D + 808, // imageAtomicExchange_01X10D00D + 809, // imageAtomicExchange_01X10D00E + 810, // imageAtomicExchange_01X10D00B + 811, // imageAtomicExchange_01Q10D00B + 812, // imageAtomicExchange_01Q10D00E + 813, // imageAtomicExchange_01Q10D00D + 814, // clamp_20D20D20D + 816, // sinh_30B + 818, // imageAtomicMin_01N00D00E + 819, // imageAtomicMin_01N00D00D + 820, // textureGradOffset_00R10B10B10B10D + 822, // asinh_20B + 824, // imageAtomicCompSwap_01I20D00D00D + 825, // textureProj_00O20B + 826, // imageAtomicCompSwap_01M00D00E00E + 827, // inverse_50B + 829, // dot_10B10B + 831, // radians_20B + 833, // atomicCompSwap_00E00E00E + 835, // textureGrad_00Y20B20B20B + 837, // imageAtomicCompSwap_01Z10D00D00D + 838, // gl_MaxVertexUniformVectors + 840, // imageAtomicExchange_01W20D00D00B + 841, // outerProduct_10B10B + 843, // imageAtomicExchange_01W20D00D00E + 844, // imageAtomicExchange_01W20D00D00D + 845, // textureProj_00X20B + 847, // imageAtomicOr_01W20D00D00E + 848, // imageAtomicOr_01W20D00D00D + 849, // greaterThanEqual_20E20E + 851, // textureProj_00M20B + 852, // texture3DProjLod_00J30B00B + 853, // imageAtomicAdd_01Z10D00E + 854, // imageAtomicAdd_01Z10D00D + 855, // mix_10D10D10F + 857, // floatBitsToUint_20B + 859, // log_20B + 861, // imageAtomicMax_01D20D00E + 862, // imageAtomicMax_01D20D00D + 863, // modf_30B30B + 865, // roundEven_20B + 867, // atanh_00B + 869, // textureProj_00J30B + 871, // imageAtomicOr_01F20D00E + 872, // imageAtomicOr_01F20D00D + 873, // floatBitsToInt_20B + 875, // texelFetch_00U20D00D + 877, // max_00D00D + 879, // atomicMin_00E00E + 881, // shadow2DEXT_00d20B + 882, // textureGatherOffsets_00a20B10Dx4 + 885, // max_30B30B + 887, // imageAtomicCompSwap_01F20D00D00D + 888, // abs_10D + 890, // abs_10B + 892, // gl_FragDepthEXT + 893, // ldexp_20B20D + 895, // gl_ClipDistance + 896, // imageAtomicCompSwap_01c20D00D00D + 897, // imageAtomicMin_01T10D00D00E + 898, // imageAtomicMin_01T10D00D00D + 899, // equal_20B20B + 901, // textureProjLodOffset_00X20B00B10D + 903, // texture_00U20B00B + 905, // textureProj_00I30B + 907, // mix_00E00E00F + 909, // imageAtomicCompSwap_01h00D00D00D + 910, // mix_00D00D00F + 912, // textureGradOffset_00a20B10B10B10D + 914, // notEqual_20F20F + 916, // textureLod_00s30B00B + 917, // imageAtomicOr_01C20D00D + 918, // imageAtomicOr_01C20D00E + 919, // textureSize_00S00D + 921, // notEqual_30B30B + 923, // textureGatherOffset_00f20B00B10D + 925, // imageAtomicAnd_01N00D00D + 926, // imageAtomicAnd_01N00D00E + 927, // imageSize_00z + 928, // textureGrad_00a20B10B10B + 930, // texture_00J20B00B + 932, // ceil_30B + 934, // gl_MaxGeometryOutputComponents + 935, // log2_30B + 937, // textureProjGrad_00d30B10B10B + 939, // fract_30B + 941, // max_30E30E + 943, // gl_MaxFragmentAtomicCounterBuffers + 945, // gl_in + 946, // textureProjLodOffset_00J30B00B20D + 948, // imageAtomicExchange_01O10D00B + 949, // imageAtomicMax_01H20D00E + 950, // imageAtomicMax_01H20D00D + 951, // imageStore_01h00D30D + 952, // imageAtomicExchange_01O10D00D + 953, // texelFetch_00c20D00D + 954, // sqrt_00B + 956, // textureProjLod_00R30B00B + 958, // imageAtomicAnd_01F20D00D + 959, // imageAtomicAnd_01F20D00E + 960, // imageAtomicMin_01P10D00D + 961, // imageAtomicMin_01P10D00E + 962, // imageAtomicAdd_01C20D00E + 963, // imageAtomicAdd_01C20D00D + 964, // imageAtomicXor_01N00D00D + 965, // imageAtomicXor_01N00D00E + 966, // texture_00x30B + 967, // max_10E00E + 969, // imageLoad_01c20D + 970, // textureGrad_00U20B10B10B + 972, // imageLoad_00z10D + 973, // textureGatherOffsets_00a20B10Dx400D + 976, // sinh_20B + 978, // matrixCompMult_E0BE0B + 979, // imageAtomicMin_01K20D00E + 980, // gl_WorkGroupSize + 982, // asinh_30B + 984, // textureGather_00a20B + 986, // pow_30B30B + 988, // imageAtomicCompSwap_01G20D00E00E + 989, // smoothstep_10B10B10B + 991, // textureProj_00O30B + 992, // imageAtomicAdd_01R10D00D00D + 993, // imageAtomicAdd_01R10D00D00E + 994, // imageAtomicXor_01I20D00E + 995, // imageAtomicMin_01Q10D00E + 996, // imageAtomicMin_01Q10D00D + 997, // imageAtomicExchange_01E20D00E + 998, // isnan_00B + 1000, // imulExtended_10D10D10D10D + 1002, // imageAtomicMax_01i00D00D + 1003, // imageAtomicMax_01i00D00E + 1004, // min_00E00E + 1006, // texture2DProj_00I30B + 1008, // textureGradOffset_00I10B10B10B10D + 1010, // textureLodOffset_00J20B00B20D + 1012, // notEqual_20B20B + 1014, // atomicCompSwap_00D00D00D + 1016, // Empty + 1016, // floatBitsToInt_10B + 1018, // textureLod_00a20B00B + 1020, // textureProj_00N30B + 1021, // equal_30D30D + 1023, // imageStore_01D20D30D + 1024, // packSnorm2x16_10B + 1026, // floatBitsToUint_30B + 1028, // textureOffset_00R10B10D + 1030, // textureProjGradOffset_00R20B10B10B10D + 1032, // ldexp_30B30D + 1034, // max_30B00B + 1036, // textureLod_00k30B00B + 1037, // textureProj_00I30B00B + 1039, // imageAtomicAnd_01X10D00E + 1040, // imageAtomicExchange_01D20D00E + 1041, // imageAtomicExchange_01D20D00D + 1042, // imageAtomicExchange_01D20D00B + 1043, // imageAtomicCompSwap_01A10D00E00E + 1044, // abs_00D + 1046, // abs_00B + 1048, // textureLod_00R10B00B + 1050, // textureLodOffset_00U20B00B10D + 1052, // imageAtomicAnd_01X10D00D + 1053, // sinh_00B + 1055, // texture2DLod_00I10B00B + 1057, // textureProjGradOffset_00X20B10B10B10D + 1059, // imageAtomicMax_01Z10D00D + 1060, // gl_MaxComputeAtomicCounters + 1062, // texture_00s30B + 1063, // EndPrimitive_ + 1064, // step_00B30B + 1066, // round_20B + 1068, // equal_30E30E + 1070, // imageAtomicCompSwap_01R10D00D00E00E + 1071, // atomicOr_00D00D + 1073, // texture2DProj_00M20B + 1074, // notEqual_10D10D + 1076, // imageAtomicExchange_01Z10D00D + 1077, // textureSize_00V + 1080, // imageAtomicAnd_01h00D00D + 1081, // imageAtomicAdd_01G20D00E + 1082, // imageAtomicAdd_01G20D00D + 1083, // findLSB_30D + 1085, // findLSB_30E + 1087, // textureProj_00X20B00B + 1089, // textureGatherOffset_00U20B10D + 1091, // imageAtomicExchange_01Z10D00E + 1092, // faceforward_10B10B10B + 1094, // imageAtomicAnd_01h00D00E + 1095, // min_10D00D + 1097, // imageAtomicCompSwap_01J20D00D00D + 1098, // all_20F + 1100, // imageSize_01J + 1101, // imageSize_01K + 1102, // imageSize_01H + 1103, // imageSize_01I + 1104, // packHalf2x16_10B + 1106, // textureProj_00I20B00B + 1108, // imageSize_01B + 1109, // imageSize_01C + 1110, // imageSize_01A + 1111, // imageSize_01F + 1112, // imageSize_01G + 1113, // imageSize_01D + 1114, // imageSize_01E + 1115, // imageAtomicExchange_01L00D00B + 1116, // imageAtomicExchange_01L00D00E + 1117, // imageAtomicExchange_01L00D00D + 1118, // notEqual_30F30F + 1120, // imageSize_01h + 1121, // imageSize_01i + 1122, // fract_20B + 1124, // imageAtomicMax_01c20D00D + 1125, // imageSize_01c + 1126, // imageSize_01a + 1127, // imageSize_01g + 1128, // textureLod_00S20B00B + 1130, // imageAtomicMin_01J20D00D + 1131, // gl_FragDepth + 1133, // textureGather_00x30B + 1134, // mix_30B30B30F + 1136, // mix_30B30B30B + 1138, // textureGather_00Z20B00D + 1140, // imageAtomicAnd_01Z10D00E + 1141, // imageAtomicAnd_01Z10D00D + 1142, // imageStore_01E20D30E + 1143, // sqrt_30B + 1145, // exp_00B + 1147, // max_30D30D + 1149, // gl_MaxGeometryTextureImageUnits + 1150, // interpolateAtCentroid_10B + 1153, // textureSize_00M00D + 1154, // angle_BaseInstance + 1155, // mix_10F10F10F + 1157, // textureGradOffset_00U20B10B10B10D + 1159, // gl_Position + 1162, // textureProj_00M30B + 1163, // textureGradOffset_00L20B10B10B10D + 1165, // imageAtomicExchange_01V20D00D00D + 1166, // imageAtomicExchange_01J20D00B + 1167, // imageAtomicExchange_01J20D00E + 1168, // imageAtomicExchange_01J20D00D + 1169, // imageAtomicOr_01M00D00D + 1170, // imageAtomicOr_01M00D00E + 1171, // dot_20B20B + 1173, // imageAtomicCompSwap_01Z10D00E00E + 1174, // textureProjLod_00S30B00B + 1176, // textureProjGrad_00R20B10B10B + 1178, // imageAtomicAnd_01i00D00E + 1179, // imageAtomicAnd_01i00D00D + 1180, // imageAtomicMax_00z10D00E + 1181, // imageAtomicMax_00z10D00D + 1182, // imageAtomicMax_01V20D00D00D + 1183, // imageAtomicMax_01V20D00D00E + 1184, // textureProjGrad_00I20B10B10B + 1186, // textureGather_00e20B + 1187, // texture2D_00M10B + 1188, // imageAtomicAdd_01a20D00E + 1189, // imageAtomicAdd_01a20D00D + 1190, // textureGather_00K20B00D + 1192, // textureCubeLodEXT_00K20B00B + 1193, // textureGather_00T20B00D + 1195, // textureProj_00N20B + 1196, // imageAtomicMax_01E20D00D + 1197, // imageAtomicMax_01E20D00E + 1198, // textureProjLodOffset_00X30B00B10D + 1200, // texelFetchOffset_00U20D00D10D + 1202, // imageAtomicCompSwap_00z10D00E00E + 1203, // imageAtomicMin_01D20D00E + 1204, // imageAtomicMin_01D20D00D + 1205, // textureGradOffset_00d20B10B10B10D + 1207, // imageAtomicCompSwap_01N00D00E00E + 1208, // textureProjOffset_00d30B10D + 1210, // imageAtomicOr_01T10D00D00E + 1211, // imageAtomicOr_01T10D00D00D + 1212, // equal_20F20F + 1214, // usubBorrow_10E10E10E + 1216, // equal_10B10B + 1218, // isnan_10B + 1220, // uaddCarry_20E20E20E + 1222, // imageAtomicXor_01A10D00D + 1223, // imageAtomicXor_01A10D00E + 1224, // imageAtomicCompSwap_01C20D00D00D + 1225, // atomicMin_00D00D + 1227, // textureSize_00X00D + 1229, // greaterThan_10B10B + 1231, // clamp_30D00D00D + 1233, // mix_20E20E20F + 1235, // textureProjOffset_00R30B10D00B + 1237, // textureGather_00U20B00D + 1239, // floatBitsToInt_00B + 1241, // imageLoad_01a20D + 1242, // floatBitsToUint_00B + 1244, // imageAtomicCompSwap_01I20D00E00E + 1245, // texture2DRectProj_00O20B + 1246, // tan_20B + 1248, // floor_00B + 1250, // imageAtomicMax_01O10D00E + 1251, // imageAtomicMax_01O10D00D + 1252, // gl_DrawID + 1253, // modf_00B00B + 1255, // notEqual_20D20D + 1257, // imageAtomicExchange_01R10D00D00E + 1258, // imageAtomicExchange_01R10D00D00D + 1259, // imageAtomicExchange_01F20D00E + 1260, // determinant_A0B + 1261, // imageAtomicExchange_01i00D00D + 1262, // imageAtomicExchange_01i00D00E + 1263, // imageAtomicExchange_01i00D00B + 1264, // imageAtomicOr_01I20D00E + 1265, // isnan_30B + 1267, // lessThanEqual_30D30D + 1269, // textureProj_00M30B00B + 1270, // texture2DProj_00M30B + 1271, // textureGrad_00I10B10B10B + 1273, // step_00B20B + 1275, // texture2DProjLod_00I20B00B + 1277, // yuv_2_rgb_20B00H + 1278, // texelFetch_00b10D00D + 1281, // textureProj_00J30B00B + 1283, // textureGather_00R10B + 1285, // imageAtomicOr_01V20D00D00D + 1286, // imageAtomicOr_01V20D00D00E + 1287, // imageAtomicExchange_01P10D00D + 1288, // min_10D10D + 1290, // all_30F + 1292, // imageAtomicExchange_01P10D00E + 1293, // imageAtomicAnd_01S10D00D00E + 1294, // imageAtomicAnd_01S10D00D00D + 1295, // angle_BaseVertex + 1296, // bitfieldReverse_20D + 1298, // bitfieldReverse_20E + 1300, // imageAtomicExchange_01I20D00D + 1301, // imageAtomicExchange_01I20D00E + 1302, // imageAtomicExchange_01I20D00B + 1303, // gl_MaxGeometryInputComponents + 1304, // textureGatherOffsets_00X10B10Dx4 + 1307, // fract_10B + 1309, // textureLodOffset_00I10B00B10D + 1311, // imageAtomicCompSwap_01S10D00D00E00E + 1312, // imageAtomicXor_01c20D00E + 1313, // imageAtomicXor_01c20D00D + 1314, // textureOffset_00U20B10D + 1316, // min_30B00B + 1318, // atomicAnd_00D00D + 1320, // exp_10B + 1322, // bitCount_30E + 1324, // bitCount_30D + 1326, // unpackUnorm2x16_00E + 1328, // sqrt_20B + 1330, // gl_PerVertex + 1331, // textureGrad_00L20B10B10B + 1333, // interpolateAtCentroid_00B + 1336, // gl_MaxImageUnits + 1338, // imageAtomicOr_01Q10D00E + 1339, // imageAtomicOr_01Q10D00D + 1340, // clamp_10D00D00D + 1342, // step_30B30B + 1344, // texelFetch_00P10D00D + 1347, // imageAtomicCompSwap_01i00D00D00D + 1348, // texture_00O10B + 1349, // imageAtomicMin_01M00D00D + 1350, // imageAtomicMin_01M00D00E + 1351, // texture_00e30B00B + 1353, // imageAtomicMin_01O10D00E + 1354, // imageAtomicMin_01O10D00D + 1355, // gl_FragCoord + 1357, // imageAtomicMax_01X10D00D + 1358, // imageAtomicMax_01X10D00E + 1359, // imageAtomicAnd_01E20D00E + 1360, // imageAtomicAnd_01E20D00D + 1361, // normalize_00B + 1363, // imageAtomicOr_01A10D00E + 1364, // imageAtomicOr_01A10D00D + 1365, // imageAtomicCompSwap_01Q10D00E00E + 1366, // atomicMax_00D00D + 1368, // floatBitsToUint_10B + 1370, // textureLod_00J20B00B + 1372, // textureSize_00I00D + 1374, // gl_MaxComputeWorkGroupSize + 1376, // texelFetchOffset_00R10D00D10D + 1378, // textureLodOffset_00X10B00B10D + 1380, // texture_00T20B00B + 1382, // log_30B + 1384, // smoothstep_00B00B20B + 1386, // imageAtomicMax_01K20D00D + 1387, // imageAtomicMax_01K20D00E + 1388, // imageStore_01G20D30D + 1389, // textureProjLod_00R20B00B + 1391, // notEqual_30D30D + 1393, // textureProjOffset_00I20B10D + 1395, // gl_MaxDrawBuffers + 1397, // gl_MaxCombinedTextureImageUnits + 1399, // imageAtomicMin_01K20D00D + 1400, // imulExtended_20D20D20D20D + 1402, // any_30F + 1404, // distance_30B30B + 1406, // texture3D_00J20B00B + 1407, // dot_30B30B + 1409, // gl_MaxTextureImageUnits + 1411, // usubBorrow_20E20E20E + 1413, // mix_30B30B00B + 1415, // clamp_30B00B00B + 1417, // texture2DRectProj_00O30B + 1418, // max_10D00D + 1420, // clamp_00D00D00D + 1422, // floor_30B + 1424, // texelFetch_00X10D00D + 1426, // textureProjGradOffset_00S30B20B20B20D + 1428, // gl_PointCoord + 1430, // bitfieldReverse_00D + 1432, // bitfieldReverse_00E + 1434, // imageStore_01F20D30B + 1435, // clamp_10B00B00B + 1437, // texelFetchOffset_00S20D00D20D + 1439, // lessThan_10D10D + 1441, // texture_00R10B00B + 1443, // textureGatherOffset_00U20B10D00D + 1445, // textureGather_00I10B00D + 1447, // texelFetch_00V10D00D + 1450, // imageAtomicExchange_01h00D00E + 1451, // imageAtomicExchange_01h00D00D + 1452, // atan_30B30B + 1454, // imageAtomicExchange_01h00D00B + 1455, // imageAtomicMax_01a20D00D + 1456, // imageAtomicMax_01a20D00E + 1457, // max_00B00B + 1459, // imageAtomicOr_01J20D00E + 1460, // imageAtomicOr_01J20D00D + 1461, // imageAtomicMax_01F20D00E + 1462, // imageAtomicMax_01F20D00D + 1463, // exp2_20B + 1465, // imageAtomicExchange_00z10D00B + 1466, // imageAtomicExchange_00z10D00E + 1467, // imageAtomicExchange_00z10D00D + 1468, // textureProjLod_00Y30B00B + 1470, // imageAtomicMin_01c20D00D + 1471, // imageAtomicMin_01c20D00E + 1472, // textureSize_00k00D + 1473, // reflect_20B20B + 1475, // imageAtomicXor_01V20D00D00E + 1476, // imageAtomicXor_01V20D00D00D + 1477, // equal_10F10F + 1479, // acos_30B + 1481, // textureVideoWEBGL_00y10B + 1483, // dFdx_10B + 1486, // bitfieldReverse_30E + 1488, // bitfieldReverse_30D + 1490, // imageAtomicOr_01Z10D00D + 1491, // imageAtomicOr_01Z10D00E + 1492, // fract_00B + 1494, // min_30E00E + 1496, // gl_MinProgramTexelOffset + 1498, // interpolateAtOffset_20B10B + 1501, // imageAtomicOr_01c20D00D + 1502, // imageAtomicOr_01c20D00E + 1503, // reflect_30B30B + 1505, // interpolateAtCentroid_30B + 1508, // mod_30B30B + 1510, // imageAtomicXor_01X10D00E + 1511, // imageAtomicXor_01X10D00D + 1512, // memoryBarrier_ + 1514, // pow_00B00B + 1516, // mod_00B00B + 1518, // unpackUnorm4x8_00E + 1520, // roundEven_10B + 1522, // atanh_30B + 1524, // textureLod_00K20B00B + 1526, // bitCount_20D + 1528, // bitCount_20E + 1530, // texelFetch_00L20D00D + 1532, // imageAtomicAnd_01K20D00E + 1533, // distance_20B20B + 1535, // uaddCarry_30E30E30E + 1537, // textureSize_00U00D + 1539, // gl_MaxCombinedImageUniforms + 1541, // imageAtomicOr_01g00D00D + 1542, // imageAtomicOr_01g00D00E + 1543, // gl_GlobalInvocationID + 1545, // gl_LocalInvocationIndex + 1547, // gl_VertexID + 1549, // imageAtomicCompSwap_01U20D00D00D00D + 1550, // atomicOr_00E00E + 1552, // mix_10B10B10F + 1554, // mix_10B10B10B + 1556, // textureProj_00Y30B00B + 1558, // imageAtomicMax_01I20D00D + 1559, // imageAtomicMax_01I20D00E + 1560, // textureGatherOffset_00I10B10D00D + 1562, // notEqual_20E20E + 1564, // textureLodOffset_00d20B00B10D + 1566, // inverse_A0B + 1568, // textureProjGrad_00X20B10B10B + 1570, // textureSize_00Y00D + 1572, // atan_20B20B + 1574, // usubBorrow_00E00E00E + 1576, // imageAtomicXor_01M00D00E + 1577, // imageAtomicXor_01M00D00D + 1578, // textureGatherOffsets_00U20B10Dx4 + 1581, // imageAtomicCompSwap_01c20D00E00E + 1582, // texture2D_00I10B00B + 1584, // fma_10B10B10B + 1587, // smoothstep_00B00B10B + 1589, // imageAtomicCompSwap_01a20D00D00D + 1590, // normalize_10B + 1592, // imageStore_01b20D30D + 1593, // bitfieldExtract_00E00D00D + 1595, // any_20F + 1597, // gl_HelperInvocation + 1599, // sin_10B + 1601, // textureSize_00N00D + 1602, // mod_20B20B + 1604, // imageAtomicOr_01h00D00E + 1605, // imageAtomicOr_01h00D00D + 1606, // textureGrad_00k30B20B20B + 1607, // imageAtomicMin_01A10D00E + 1608, // imageAtomicMin_01A10D00D + 1609, // textureGradOffset_00f30B10B10B10D + 1611, // max_20D20D + 1613, // max_10D10D + 1615, // refract_30B30B00B + 1617, // floor_20B + 1619, // mix_00B00B00B + 1621, // matrixCompMult_F0BF0B + 1623, // umulExtended_10E10E10E10E + 1625, // texture_00d20B00B + 1627, // gl_MaxCombinedAtomicCounterBuffers + 1629, // umulExtended_30E30E30E30E + 1631, // textureGradOffset_00Y20B20B20B20D + 1633, // textureGatherOffset_00a20B10D + 1635, // textureGrad_00f30B10B10B + 1637, // imageAtomicXor_01C20D00E + 1638, // modf_20B20B + 1640, // imageAtomicAnd_01Y10D00D + 1641, // imageAtomicAnd_01Y10D00E + 1642, // imageAtomicAdd_01i00D00E + 1643, // imageAtomicAdd_01i00D00D + 1644, // imageAtomicCompSwap_01L00D00E00E + 1645, // texture_00y10B + 1647, // length_30B + 1649, // imageStore_01B10D30E + 1650, // textureGather_00s30B + 1651, // imageAtomicMin_00z10D00E + 1652, // imageAtomicMin_00z10D00D + 1653, // imageStore_01I20D30B + 1654, // exp2_30B + 1656, // texture3DProj_00J30B00B + 1657, // imageAtomicAdd_01K20D00E + 1658, // imageAtomicAdd_01K20D00D + 1659, // textureProjLod_00X30B00B + 1661, // textureProjGradOffset_00I30B10B10B10D + 1663, // imageAtomicAdd_01W20D00D00D + 1664, // cosh_30B + 1666, // textureOffset_00S20B20D00B + 1668, // usubBorrow_30E30E30E + 1670, // imageAtomicMax_01W20D00D00E + 1671, // imageAtomicMax_01W20D00D00D + 1672, // textureProjOffset_00R20B10D00B + 1674, // texture3DProj_00J30B + 1675, // matrixCompMult_B0BB0B + 1676, // lessThan_30B30B + 1678, // cross_20B20B + 1680, // all_10F + 1682, // clamp_20B00B00B + 1684, // dFdx_00B + 1687, // textureLodOffset_00S20B00B20D + 1689, // acos_20B + 1691, // texelFetch_00r00D + 1692, // max_20B20B + 1694, // textureLod_00X10B00B + 1696, // equal_30F30F + 1698, // cosh_00B + 1700, // bitfieldExtract_00D00D00D + 1702, // imageAtomicMin_01E20D00D + 1703, // imageAtomicMin_01E20D00E + 1704, // textureLod_00Z20B00B + 1706, // sign_00D + 1708, // textureOffset_00Y20B20D + 1710, // imageAtomicXor_01Q10D00D + 1711, // imageAtomicXor_01Q10D00E + 1712, // transpose_60B + 1714, // imageAtomicAdd_01O10D00D + 1715, // imageAtomicAdd_01O10D00E + 1716, // faceforward_00B00B00B + 1718, // gl_NumWorkGroups + 1720, // imageAtomicOr_01O10D00E + 1721, // imageAtomicOr_01O10D00D + 1722, // imageAtomicAdd_01b20D00D + 1723, // imageAtomicAdd_01b20D00E + 1724, // textureProjLodOffset_00R30B00B10D + 1726, // imageAtomicExchange_01U20D00D00B + 1727, // imageAtomicExchange_01U20D00D00E + 1728, // imageAtomicExchange_01U20D00D00D + 1729, // imageStore_01H20D30E + 1730, // textureGather_00U20B + 1732, // texelFetch_00Q20D00D + 1733, // roundEven_00B + 1735, // atanh_20B + 1737, // texelFetch_00w00D + 1738, // textureProjOffset_00X30B10D + 1740, // gl_MaxFragmentUniformVectors + 1742, // interpolateAtOffset_10B10B + 1745, // imageAtomicCompSwap_01Q10D00D00D + 1746, // abs_30B + 1748, // bitfieldInsert_10E10E00D00D + 1750, // packSnorm4x8_30B + 1752, // mix_10B10B00B + 1754, // textureGatherOffset_00X10B10D + 1756, // clamp_30D30D30D + 1758, // textureGatherOffsets_00L20B10Dx4 + 1761, // imageAtomicMax_01c20D00E + 1762, // imageAtomicMax_01G20D00D + 1763, // imageAtomicMax_01G20D00E + 1764, // determinant_F0B + 1765, // transpose_A0B + 1767, // pow_20B20B + 1769, // texture2DProjGradEXT_00I20B10B10B + 1770, // imageAtomicMax_01B10D00D + 1771, // imageAtomicMax_01B10D00E + 1772, // imageAtomicExchange_01G20D00B + 1773, // imageAtomicExchange_01G20D00D + 1774, // imageAtomicExchange_01G20D00E + 1775, // imageAtomicMax_01g00D00D + 1776, // imageAtomicMax_01g00D00E + 1777, // texture_00s30B00B + 1778, // log2_20B + 1780, // textureProjOffset_00I20B10D00B + 1782, // imageAtomicAnd_01T10D00D00D + 1783, // imageAtomicAnd_01T10D00D00E + 1784, // notEqual_10F10F + 1786, // smoothstep_00B00B00B + 1788, // textureProjLodOffset_00d30B00B10D + 1790, // imageAtomicAnd_01P10D00E + 1791, // imageAtomicAnd_01P10D00D + 1792, // textureProjLodOffset_00I30B00B10D + 1794, // gl_MaxCombinedAtomicCounters + 1796, // bitfieldInsert_10D10D00D00D + 1798, // imageAtomicCompSwap_01N00D00D00D + 1799, // imageAtomicCompSwap_01L00D00D00D + 1800, // textureGather_00k30B + 1801, // texture_00J20B + 1803, // lessThanEqual_10D10D + 1805, // gl_MaxVaryingVectors + 1807, // textureSize_00d00D + 1809, // sin_00B + 1811, // uaddCarry_10E10E10E + 1813, // atomicCounterIncrement_00G + 1815, // imageAtomicAdd_01J20D00D + 1816, // imageAtomicAdd_01J20D00E + 1817, // imageAtomicCompSwap_01S10D00D00D00D + 1818, // imageAtomicAdd_01U20D00D00D + 1819, // imageAtomicAdd_01U20D00D00E + 1820, // imageAtomicExchange_01Y10D00B + 1821, // equal_10E10E + 1823, // imageAtomicExchange_01Y10D00E + 1824, // imageAtomicExchange_01Y10D00D + 1825, // imageLoad_01B10D + 1826, // imageAtomicExchange_01O10D00E + 1827, // textureProjOffset_00J30B20D + 1829, // imageAtomicXor_01D20D00D + 1830, // imageAtomicXor_01D20D00E + 1831, // notEqual_10E10E + 1833, // imageAtomicExchange_01N00D00B + 1834, // imageAtomicExchange_01N00D00E + 1835, // imageAtomicExchange_01N00D00D + 1836, // imageAtomicCompSwap_01O10D00D00D + 1837, // imageAtomicMin_01i00D00D + 1838, // imageAtomicMin_01i00D00E + 1839, // textureLodOffset_00R10B00B10D + 1841, // trunc_10B + 1843, // imageAtomicAdd_01S10D00D00D + 1844, // length_20B + 1846, // gl_DepthRangeParameters + 1848, // imageAtomicAnd_01B10D00E + 1849, // textureGather_00f20B + 1850, // textureProj_00d30B00B + 1852, // sign_10B + 1854, // max_00E00E + 1856, // texture_00a20B00B + 1858, // textureProj_00M20B00B + 1859, // imageLoad_01A10D + 1860, // textureProjOffset_00X30B10D00B + 1862, // exp2_00B + 1864, // imageAtomicExchange_01H20D00B + 1865, // imageAtomicCompSwap_01H20D00E00E + 1866, // imageAtomicExchange_01H20D00E + 1867, // imageAtomicExchange_01H20D00D + 1868, // textureGather_00a20B00D + 1870, // textureSize_00s00D + 1871, // texture_00Y20B + 1873, // imageAtomicOr_01I20D00D + 1874, // texture_00N10B00B + 1875, // gl_PrimitiveID + 1877, // imageAtomicCompSwap_01Y10D00D00D + 1878, // textureProjGrad_00I30B10B10B + 1880, // gl_Layer + 1882, // textureOffset_00d20B10D + 1884, // dFdx_30B + 1887, // textureGatherOffsets_00U20B10Dx400D + 1890, // imageAtomicMin_01V20D00D00D + 1891, // imageAtomicMin_01V20D00D00E + 1892, // gl_LastFragColor + 1893, // min_20E20E + 1895, // asin_20B + 1897, // imageAtomicCompSwap_01U20D00D00E00E + 1898, // texture_00l30B00B + 1899, // fwidth_10B + 1902, // dFdy_00B + 1905, // lessThan_30E30E + 1907, // imulExtended_30D30D30D30D + 1909, // transpose_70B + 1911, // imulExtended_00D00D00D00D + 1913, // imageAtomicAdd_01F20D00D + 1914, // imageAtomicAdd_01F20D00E + 1915, // texture_00S20B00B + 1917, // textureLod_00Y20B00B + 1919, // imageAtomicExchange_01c20D00D + 1920, // imageAtomicExchange_01c20D00E + 1921, // imageAtomicExchange_01c20D00B + 1922, // min_20D00D + 1924, // imageAtomicCompSwap_01P10D00D00D + 1925, // uintBitsToFloat_00E + 1927, // imageAtomicMin_01L00D00E + 1928, // imageAtomicMin_01L00D00D + 1929, // bitfieldInsert_20D20D00D00D + 1931, // imageSize_01b + 1932, // texture_00Z20B + 1934, // tanh_00B + 1936, // imageAtomicMax_01N00D00E + 1937, // imageAtomicMax_01N00D00D + 1938, // matrixCompMult_D0BD0B + 1939, // gl_MaxClipDistances + 1940, // imageAtomicXor_01g00D00E + 1941, // imageAtomicXor_01g00D00D + 1942, // min_30B30B + 1944, // lessThan_20E20E + 1946, // memoryBarrierAtomicCounter_ + 1948, // bitfieldInsert_00E00E00D00D + 1950, // imageAtomicMin_01a20D00D + 1951, // imageAtomicMin_01a20D00E + 1952, // textureGrad_00d20B10B10B + 1954, // mix_30D30D30F + 1956, // atan_10B + 1958, // imageAtomicCompSwap_01g00D00D00D + 1959, // step_00B10B + 1961, // textureProjLod_00I20B00B + 1963, // rgb_2_yuv_20B00H + 1964, // texture_00T20B + 1966, // log2_10B + 1968, // imageAtomicAnd_01D20D00D + 1969, // imageAtomicAnd_01D20D00E + 1970, // findLSB_20E + 1972, // findLSB_20D + 1974, // imageAtomicCompSwap_01B10D00D00D + 1975, // imageAtomicOr_01X10D00D + 1976, // imageAtomicOr_01X10D00E + 1977, // greaterThanEqual_10B10B + 1979, // clamp_10D10D10D + 1981, // texelFetch_00M10D00D + 1982, // transpose_F0B + 1984, // textureOffset_00Y20B20D00B + 1986, // textureGradOffset_00S20B20B20B20D + 1988, // clamp_30E30E30E + 1990, // textureSize_00R00D + 1992, // inverse_F0B + 1994, // acosh_10B + 1996, // imageLoad_01b20D + 1997, // textureOffset_00L20B10D00B + 1999, // mod_20B00B + 2001, // textureProjLod_00J30B00B + 2003, // transpose_90B + 2005, // atomicAnd_00E00E + 2007, // max_20D00D + 2009, // texelFetchOffset_00I10D00D10D + 2011, // imageAtomicMin_01Z10D00D + 2012, // imageAtomicMin_01Z10D00E + 2013, // imageAtomicCompSwap_01i00D00E00E + 2014, // imageAtomicCompSwap_01K20D00D00D + 2015, // imageStore_01J20D30D + 2016, // atomicCounter_00G + 2018, // bitfieldInsert_30D30D00D00D + 2020, // greaterThan_10D10D + 2022, // bitfieldExtract_10E00D00D + 2024, // greaterThan_20D20D + 2026, // imageAtomicAnd_01W20D00D00D + 2027, // imageAtomicAnd_01W20D00D00E + 2028, // trunc_00B + 2030, // length_10B + 2032, // imageAtomicAdd_01H20D00D + 2033, // imageAtomicAdd_01H20D00E + 2034, // dot_00B00B + 2036, // tan_30B + 2038, // textureLod_00T20B00B + 2040, // textureProjGrad_00R30B10B10B + 2042, // exp2_10B + 2044, // textureProjOffset_00X20B10D00B + 2046, // imageAtomicXor_01i00D00E + 2047, // imageAtomicXor_01i00D00D + 2048, // matrixCompMult_A0BA0B + 2050, // textureGrad_00S20B20B20B + 2052, // round_30B + 2054, // textureGrad_00x30B20B20B + 2055, // imageAtomicCompSwap_01D20D00E00E + 2056, // interpolateAtSample_00B00D + 2059, // dFdx_20B + 2062, // texture_00L20B + 2064, // barrier_ + 2066, // imageAtomicOr_01N00D00E + 2067, // imageAtomicOr_01N00D00D + 2068, // textureGather_00k30B00D + 2069, // findMSB_20D + 2071, // findMSB_20E + 2073, // imageAtomicMin_01S10D00D00D + 2074, // imageAtomicMin_01S10D00D00E + 2075, // textureProjOffset_00S30B20D00B + 2077, // imageAtomicAdd_01D20D00D + 2078, // imageAtomicAdd_01D20D00E + 2079, // unpackSnorm4x8_00E + 2081, // imageLoad_01C20D + 2082, // imageAtomicMax_01C20D00D + 2083, // imageAtomicMax_01C20D00E + 2084, // textureGather_00l30B00B + 2085, // asin_30B + 2087, // isnan_20B + 2089, // fwidth_00B + 2092, // dFdy_10B + 2095, // imageAtomicAdd_01P10D00E + 2096, // imageAtomicAdd_01P10D00D + 2097, // max_30E00E + 2099, // textureLod_00d20B00B + 2101, // imageAtomicAdd_01c20D00E + 2102, // imageAtomicAdd_01c20D00D + 2103, // mod_10B00B + 2105, // uintBitsToFloat_10E + 2107, // imageAtomicMax_01Q10D00E + 2108, // imageAtomicMax_01Q10D00D + 2109, // bitfieldExtract_20D00D00D + 2111, // imageAtomicMax_01M00D00D + 2112, // imageAtomicMax_01M00D00E + 2113, // imageAtomicAdd_01E20D00E + 2114, // imageAtomicAdd_01E20D00D + 2115, // textureLodOffset_00Y20B00B20D + 2117, // log2_00B + 2119, // tanh_10B + 2121, // imageAtomicMin_01I20D00E + 2122, // gl_LocalInvocationID + 2124, // clamp_00B00B00B + 2126, // textureGather_00d10B + 2127, // gl_MaxGeometryAtomicCounterBuffers + 2128, // imageAtomicXor_01B10D00E + 2129, // imageAtomicXor_01B10D00D + 2130, // outerProduct_20B10B + 2132, // textureGrad_00e30B20B20B + 2134, // textureSize_00J00D + 2136, // imageAtomicXor_01K20D00E + 2137, // imageAtomicXor_01K20D00D + 2138, // imageAtomicMin_01U20D00D00E + 2139, // imageAtomicMin_01U20D00D00D + 2140, // imageAtomicAdd_01Q10D00D + 2141, // imageAtomicAdd_01Q10D00E + 2142, // imageAtomicXor_01T10D00D00D + 2143, // imageAtomicXor_01T10D00D00E + 2144, // imageAtomicAnd_01b20D00D + 2145, // step_00B00B + 2147, // texture2DLodEXT_00I10B00B + 2148, // texture_00K20B00B + 2150, // textureGrad_00J20B20B20B + 2152, // imageAtomicCompSwap_01V20D00D00E00E + 2153, // textureOffset_00U20B10D00B + 2155, // intBitsToFloat_10D + 2157, // findLSB_10D + 2159, // textureProjLodOffset_00Y30B00B20D + 2161, // imageAtomicMax_01h00D00E + 2162, // texture3D_00J20B + 2163, // gl_SecondaryFragDataEXT + 2164, // floor_10B + 2166, // imageAtomicAnd_01O10D00D + 2167, // imageAtomicAnd_01O10D00E + 2168, // imageAtomicXor_01W20D00D00D + 2169, // imageAtomicXor_01W20D00D00E + 2170, // imageAtomicXor_01Z10D00E + 2171, // imageAtomicXor_01Z10D00D + 2172, // textureGather_00X10B00D + 2174, // imageAtomicMax_01L00D00E + 2175, // imageAtomicMax_01L00D00D + 2176, // imageAtomicXor_01G20D00E + 2177, // imageAtomicXor_01G20D00D + 2178, // textureOffset_00a20B10D + 2180, // min_30E30E + 2182, // texture2DProj_00I30B00B + 2184, // imageAtomicAnd_01I20D00E + 2185, // textureCubeGradEXT_00K20B20B20B + 2186, // min_00B00B + 2188, // gl_WorkGroupID + 2190, // degrees_00B + 2192, // imageAtomicMax_01J20D00E + 2193, // imageAtomicMax_01J20D00D + 2194, // textureGatherOffsets_00R10B10Dx4 + 2197, // atomicExchange_00D00D + 2199, // gl_MaxGeometryAtomicCounters + 2200, // frexp_10B10D + 2202, // imageAtomicExchange_01a20D00D + 2203, // imageAtomicExchange_01a20D00E + 2204, // imageAtomicExchange_01a20D00B + 2205, // matrixCompMult_60B60B + 2206, // imageAtomicCompSwap_00z10D00D00D + 2207, // unpackSnorm2x16_00E + 2209, // lessThan_30D30D + 2211, // atan_00B00B + 2213, // notEqual_10B10B + 2215, // imageLoad_01G20D + 2216, // trunc_30B + 2218, // length_00B + 2220, // imageStore_01c20D30E + 2221, // imageAtomicAnd_01H20D00D + 2222, // imageAtomicAnd_01H20D00E + 2223, // textureProj_00X30B00B + 2225, // imageAtomicCompSwap_01C20D00E00E + 2226, // tan_00B + 2228, // min_20E00E + 2230, // textureLod_00x30B00B + 2231, // textureSize_00j + 2232, // cos_00B + 2234, // textureSize_00c + 2235, // textureSize_00b + 2238, // min_20B20B + 2240, // textureSize_00r + 2241, // textureSize_00w + 2242, // bitfieldInsert_20E20E00D00D + 2244, // gl_MaxProgramTexelOffset + 2246, // imageAtomicMin_01g00D00D + 2247, // imageAtomicMin_01g00D00E + 2248, // textureSize_00Q + 2249, // textureSize_00P + 2252, // imageAtomicAdd_01M00D00E + 2253, // imageAtomicAdd_01M00D00D + 2254, // textureSize_00W + 2255, // textureProjLod_00X20B00B + 2257, // faceforward_30B30B30B + 2259, // texture_00X10B + 2261, // ceil_00B + 2263, // distance_00B00B + 2265, // imageAtomicExchange_01C20D00D + 2266, // imageAtomicExchange_01C20D00E + 2267, // textureGrad_00s30B20B20B + 2268, // textureGather_00I10B + 2270, // imageAtomicExchange_01C20D00B + 2271, // min_30D30D + 2273, // imageAtomicExchange_01Z10D00B + 2274, // findMSB_30E + 2276, // findMSB_30D + 2278, // fwidth_30B + 2281, // textureGrad_00K20B20B20B + 2283, // texelFetch_00S20D00D + 2285, // max_10B00B + 2287, // textureProjGradOffset_00R30B10B10B10D + 2289, // texelFetchOffset_00L20D00D10D + 2291, // transpose_50B + 2293, // greaterThanEqual_20D20D + 2295, // asinh_00B + 2297, // gl_PrimitiveIDIn + 2298, // textureGather_00Z20B + 2300, // greaterThan_20B20B + 2302, // min_20D20D + 2304, // imageAtomicCompSwap_01g00D00E00E + 2305, // imageAtomicMin_01W20D00D00E + 2306, // imageAtomicMin_01W20D00D00D + 2307, // imageAtomicXor_01O10D00D + 2308, // imageAtomicXor_01O10D00E + 2309, // tanh_20B + 2311, // sin_20B + 2313, // textureSize_00l00D + 2314, // textureOffset_00I10B10D00B + 2316, // imageAtomicAnd_00z10D00D + 2317, // imageAtomicAnd_00z10D00E + 2318, // imageAtomicCompSwap_01W20D00D00D00D + 2319, // gl_MaxAtomicCounterBufferSize + 2321, // textureOffset_00J20B20D00B + 2323, // lessThanEqual_20E20E + 2325, // gl_BaseVertex + 2326, // gl_MaxGeometryTotalOutputComponents + 2327, // bitfieldInsert_30E30E00D00D + 2329, // bitfieldExtract_20E00D00D + 2331, // uintBitsToFloat_20E + 2333, // imageAtomicExchange_01K20D00D + 2334, // imageAtomicExchange_01K20D00E + 2335, // mod_10B10B + 2337, // imageAtomicExchange_01K20D00B + 2338, // textureProjGradOffset_00X30B10B10B10D + 2340, // imageAtomicAnd_01B10D00D + 2341, // gl_MaxVertexImageUniforms + 2343, // equal_20D20D + 2345, // mix_10E10E10F + 2347, // textureGather_00R10B00D + 2349, // textureSize_00Z00D + 2351, // bitfieldExtract_30D00D00D + 2353, // imageAtomicXor_01J20D00D + 2354, // imageAtomicXor_01J20D00E + 2355, // intBitsToFloat_00D + 2357, // findLSB_00E + 2359, // findLSB_00D + 2361, // textureGather_00d10B00B + 2363, // imageAtomicAdd_01T10D00D00D + 2364, // imageAtomicAdd_01T10D00D00E + 2365, // inversesqrt_10B + 2367, // abs_30D + 2369, // transpose_D0B + 2371, // Empty + 2371, // imageLoad_01E20D + 2372, // textureProj_00N20B00B + 2373, // gl_FragData + 2375, // clamp_20E00E00E + 2377, // textureProj_00d30B + 2379, // gl_MaxVertexOutputVectors + 2381, // imageAtomicOr_01i00D00D + 2382, // imageAtomicOr_01i00D00E + 2383, // cosh_10B + 2385, // imageAtomicAnd_01G20D00E + 2386, // imageAtomicAnd_01G20D00D + 2387, // sign_10D + 2389, // umulExtended_00E00E00E00E + 2391, // gl_MaxVertexAttribs + 2393, // Empty + 2393, // texture_00a20B + 2395, // imageAtomicExchange_01g00D00B + 2396, // imageAtomicExchange_01B10D00B + 2397, // ldexp_10B10D + 2399, // imageAtomicExchange_01B10D00D + 2400, // imageAtomicExchange_01B10D00E + 2401, // imageAtomicExchange_01g00D00D + 2402, // imageAtomicExchange_01g00D00E + 2403, // degrees_10B + 2405, // texture_00k30B00B + 2406, // texture_00K20B + 2408, // sinh_10B + 2410, // imageAtomicXor_01C20D00D + 2411, // textureGatherOffsets_00I10B10Dx400D + 2414, // not_30F + 2416, // textureProjLodOffset_00I20B00B10D + 2418, // textureGather_00K20B + 2420, // textureGatherOffset_00R10B10D + 2422, // memoryBarrierShared_ + 2424, // clamp_20B20B20B + 2426, // texelFetch_00W20D00D + 2427, // trunc_20B + 2429, // textureProjOffset_00I30B10D00B + 2431, // tan_10B + 2433, // imageAtomicOr_01U20D00D00E + 2434, // imageAtomicOr_01U20D00D00D + 2435, // imageAtomicOr_01B10D00D + 2436, // imageAtomicOr_01B10D00E + 2437, // isinf_20B + 2439, // textureGatherOffset_00X10B10D00D + 2441, // min_10E10E + 2443, // memoryBarrierImage_ + 2445, // round_10B + 2447, // fma_00B00B00B + 2450, // textureLodOffset_00L20B00B10D + 2452, // imageAtomicOr_01b20D00E + 2453, // imageAtomicOr_01b20D00D + 2454, // atomicMax_00E00E + 2456, // textureProjOffset_00R30B10D + 2458, // textureProj_00X30B + 2460, // findMSB_00D + 2462, // findMSB_00E + 2464, // textureProjOffset_00X20B10D + 2466, // imageAtomicCompSwap_01X10D00D00D + 2467, // min_30D00D + 2469, // imageAtomicCompSwap_01K20D00E00E + 2470, // texture_00M10B00B + 2471, // fwidth_20B + 2474, // imageAtomicOr_01S10D00D00D + 2475, // imageAtomicOr_01S10D00D00E + 2476, // imageAtomicAdd_01A10D00D + 2477, // imageAtomicAdd_01A10D00E + 2478, // imageAtomicOr_01H20D00E + 2479, // imageAtomicOr_01H20D00D + 2480, // cos_20B + 2482, // gl_MaxGeometryUniformComponents + 2483, // textureGather_00T20B + 2485, // textureProjGradOffset_00J30B20B20B20D + 2487, // asinh_10B + 2489, // imageAtomicXor_01E20D00E + 2490, // imageAtomicXor_01E20D00D + 2491, // textureGatherOffsets_00R10B10Dx400D }; using Ext = TExtension; // Flat array of all unmangled name identifiers. constexpr UnmangledEntry unmangled[] = { - {"radians", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"degrees", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"cos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"tan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"asin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"acos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"atan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"cosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"tanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"asinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"acosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"atanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"pow", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"exp", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"log", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"exp2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"log2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sqrt", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"inversesqrt", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"abs", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"sign", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"floor", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"trunc", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"round", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"roundEven", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"ceil", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"fract", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"mod", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"min", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"max", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"clamp", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"mix", Ext::UNDEFINED, Ext::UNDEFINED, 310, 450, Shader::ALL}, - {"step", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"smoothstep", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"modf", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"isnan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"isinf", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"floatBitsToInt", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"floatBitsToUint", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"intBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"uintBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"fma", Ext::EXT_gpu_shader5, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"frexp", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"ldexp", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"packSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"packHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"unpackSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"unpackHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"packUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, - {"unpackUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, - {"packUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"packSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"unpackUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"unpackSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"length", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"distance", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"dot", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"cross", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"normalize", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"faceforward", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"reflect", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"refract", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"matrixCompMult", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"outerProduct", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, - {"transpose", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, - {"determinant", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"inverse", Ext::UNDEFINED, Ext::UNDEFINED, 300, 140, Shader::ALL}, - {"lessThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"lessThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"greaterThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"greaterThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"equal", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"notEqual", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"any", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, {"all", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"not", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"bitfieldExtract", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitfieldInsert", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitfieldReverse", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitCount", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"findLSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"findMSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"uaddCarry", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"usubBorrow", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"umulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"imulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"texture2D", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, - {"texture2DProj", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, - {"textureCube", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, - {"texture2DRect", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture2DRectProj", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"textureProj", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"texture2DGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture2DProjGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"textureCubeGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"dFdx", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, - {"dFdy", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, + {"unpackUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"textureVideoWEBGL", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, + {"imageAtomicCompSwap", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, {"fwidth", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, - {"texture2DLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture2DProjLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"textureCubeLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"shadow2DEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"shadow2DProjEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3D", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3DProj", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3DLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3DProjLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture2DLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"texture2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"textureCubeLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"textureLod", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"textureSize", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"texelFetch", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureGrad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"textureProjGrad", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureGather", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"textureOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureProjOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureProjLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"texelFetchOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"textureProjGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"rgb_2_yuv", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"atomicCounterIncrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, {"yuv_2_rgb", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureGatherOffset", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"textureGatherOffsets", Ext::EXT_gpu_shader5, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"interpolateAtCentroid", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, - Shader::FRAGMENT}, - {"interpolateAtSample", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, - Shader::FRAGMENT}, + {"findLSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"textureCubeGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"memoryBarrierImage", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"packSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"inverse", Ext::UNDEFINED, Ext::UNDEFINED, 300, 140, Shader::ALL}, + {"textureCubeLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"imageAtomicAdd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"texture", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"frexp", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"degrees", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"imulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture2DProjGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"atomicAnd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"textureProjGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"roundEven", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"texture2DProjLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"memoryBarrierAtomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"ceil", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"imageAtomicExchange", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"not", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DRectProj", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"mod", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"floatBitsToInt", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"radians", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"smoothstep", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"textureProjGrad", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"lessThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"dFdy", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, + {"modf", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"unpackSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"round", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"clamp", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"findMSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture2DRect", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"acosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"interpolateAtOffset", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, Shader::FRAGMENT}, - {"atomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicCounterIncrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicCounterDecrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicAdd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicMin", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicMax", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicAnd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicOr", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicXor", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicExchange", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"imageSize", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageStore", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageLoad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicAdd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicMin", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicMax", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicAnd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicOr", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"cosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"imageAtomicXor", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicExchange", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicCompSwap", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"memoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"memoryBarrierAtomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"memoryBarrierBuffer", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"memoryBarrierImage", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"barrier", Ext::UNDEFINED, Ext::UNDEFINED, 320, -1, Shader::TESS_CONTROL_EXT}, + {"uaddCarry", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"imageAtomicOr", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"asin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"isnan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"atomicMax", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"bitfieldReverse", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"dFdx", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, {"memoryBarrierShared", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::COMPUTE}, + {"texture3DLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"textureLod", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"faceforward", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"abs", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"max", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"unpackSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"log2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"textureGrad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"barrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::COMPUTE}, + {"texture2DProj", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, + {"atomicCounterDecrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"lessThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"transpose", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, + {"step", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"sinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureProjOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"trunc", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"cos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"interpolateAtSample", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, + Shader::FRAGMENT}, + {"equal", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"usubBorrow", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texelFetchOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"length", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"textureSize", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"acos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"uintBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"packUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, + {"unpackHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"matrixCompMult", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"pow", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"ldexp", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"floatBitsToUint", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"textureProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureCubeLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"imageStore", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"textureGatherOffset", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"textureProjLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"log", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"bitCount", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"exp2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"atomicCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"fract", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"EmitVertex", Ext::EXT_geometry_shader, Ext::UNDEFINED, 310, -1, Shader::GEOMETRY_EXT}, + {"textureGatherOffsets", Ext::EXT_gpu_shader5, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"fma", Ext::EXT_gpu_shader5, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"determinant", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"textureGather", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"greaterThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"greaterThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"bitfieldInsert", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture3DProj", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"packUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"sign", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"inversesqrt", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"distance", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"tanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"texture2DGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"memoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"atomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"intBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"bitfieldExtract", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture3DProjLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"atomicAdd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"asinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"shadow2DProjEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"texture2D", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, + {"memoryBarrierBuffer", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"shadow2DEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"tan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"any", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"atomicXor", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"normalize", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"imageLoad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"imageAtomicAnd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"floor", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"textureLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"atanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"cross", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"sqrt", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"mix", Ext::UNDEFINED, Ext::UNDEFINED, 310, 450, Shader::ALL}, + {"sin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"atomicExchange", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"imageAtomicMin", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"textureGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"atan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"unpackUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, + {"imageAtomicMax", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"interpolateAtCentroid", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, + Shader::FRAGMENT}, + {"reflect", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"isinf", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"texture3D", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"umulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"atomicOr", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"texelFetch", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"EndPrimitive", Ext::EXT_geometry_shader, Ext::UNDEFINED, 310, -1, Shader::GEOMETRY_EXT}, + {"notEqual", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"outerProduct", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, + {"imageSize", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"refract", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"min", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureCube", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, + {"packSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"exp", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, {"groupMemoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::COMPUTE}, - {"EmitVertex", Ext::UNDEFINED, Ext::UNDEFINED, 320, -1, Shader::GEOMETRY_EXT}, - {"EndPrimitive", Ext::UNDEFINED, Ext::UNDEFINED, 320, -1, Shader::GEOMETRY_EXT}, - {"textureVideoWEBGL", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}}; + {"atomicMin", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"packHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"texture2DLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"dot", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}}; } // namespace BuiltInArray @@ -24889,16 +24132,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryInputComponents); static_cast(m_gl_MaxGeometryInputComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryInputComponentsES3_2, - BuiltInName::gl_MaxGeometryInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryInputComponents); - static_cast(m_gl_MaxGeometryInputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryOutputComponents = new TVariable( BuiltInId::gl_MaxGeometryOutputComponents, BuiltInName::gl_MaxGeometryOutputComponents, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -24908,16 +24141,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryOutputComponents); static_cast(m_gl_MaxGeometryOutputComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryOutputComponentsES3_2, - BuiltInName::gl_MaxGeometryOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryOutputComponents); - static_cast(m_gl_MaxGeometryOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryImageUniforms = new TVariable( BuiltInId::gl_MaxGeometryImageUniforms, BuiltInName::gl_MaxGeometryImageUniforms, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -24927,15 +24150,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryImageUniforms); static_cast(m_gl_MaxGeometryImageUniforms)->shareConstPointer(unionArray); } - m_gl_MaxGeometryImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryImageUniformsES3_2, - BuiltInName::gl_MaxGeometryImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryImageUniforms); - static_cast(m_gl_MaxGeometryImageUniformsES3_2)->shareConstPointer(unionArray); - } m_gl_MaxGeometryTextureImageUnits = new TVariable( BuiltInId::gl_MaxGeometryTextureImageUnits, BuiltInName::gl_MaxGeometryTextureImageUnits, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -24945,16 +24159,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryTextureImageUnits); static_cast(m_gl_MaxGeometryTextureImageUnits)->shareConstPointer(unionArray); } - m_gl_MaxGeometryTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryTextureImageUnitsES3_2, - BuiltInName::gl_MaxGeometryTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryTextureImageUnits); - static_cast(m_gl_MaxGeometryTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryOutputVertices = new TVariable( BuiltInId::gl_MaxGeometryOutputVertices, BuiltInName::gl_MaxGeometryOutputVertices, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -24964,16 +24168,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryOutputVertices); static_cast(m_gl_MaxGeometryOutputVertices)->shareConstPointer(unionArray); } - m_gl_MaxGeometryOutputVerticesES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryOutputVerticesES3_2, - BuiltInName::gl_MaxGeometryOutputVertices, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryOutputVertices); - static_cast(m_gl_MaxGeometryOutputVerticesES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryTotalOutputComponents = new TVariable( BuiltInId::gl_MaxGeometryTotalOutputComponents, BuiltInName::gl_MaxGeometryTotalOutputComponents, SymbolType::BuiltIn, @@ -24984,16 +24178,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, static_cast(m_gl_MaxGeometryTotalOutputComponents) ->shareConstPointer(unionArray); } - m_gl_MaxGeometryTotalOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryTotalOutputComponentsES3_2, - BuiltInName::gl_MaxGeometryTotalOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryTotalOutputComponents); - static_cast(m_gl_MaxGeometryTotalOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryUniformComponents = new TVariable( BuiltInId::gl_MaxGeometryUniformComponents, BuiltInName::gl_MaxGeometryUniformComponents, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -25003,16 +24187,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryUniformComponents); static_cast(m_gl_MaxGeometryUniformComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryUniformComponentsES3_2, - BuiltInName::gl_MaxGeometryUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryUniformComponents); - static_cast(m_gl_MaxGeometryUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryAtomicCounters = new TVariable( BuiltInId::gl_MaxGeometryAtomicCounters, BuiltInName::gl_MaxGeometryAtomicCounters, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -25022,16 +24196,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryAtomicCounters); static_cast(m_gl_MaxGeometryAtomicCounters)->shareConstPointer(unionArray); } - m_gl_MaxGeometryAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryAtomicCountersES3_2, - BuiltInName::gl_MaxGeometryAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryAtomicCounters); - static_cast(m_gl_MaxGeometryAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryAtomicCounterBuffers = new TVariable( BuiltInId::gl_MaxGeometryAtomicCounterBuffers, BuiltInName::gl_MaxGeometryAtomicCounterBuffers, SymbolType::BuiltIn, @@ -25042,405 +24206,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, static_cast(m_gl_MaxGeometryAtomicCounterBuffers) ->shareConstPointer(unionArray); } - m_gl_MaxGeometryAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxGeometryAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryAtomicCounterBuffers); - static_cast(m_gl_MaxGeometryAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlInputComponents = new TVariable( - BuiltInId::gl_MaxTessControlInputComponents, BuiltInName::gl_MaxTessControlInputComponents, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlInputComponents); - static_cast(m_gl_MaxTessControlInputComponents)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlInputComponentsES3_2, - BuiltInName::gl_MaxTessControlInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlInputComponents); - static_cast(m_gl_MaxTessControlInputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlOutputComponents = new TVariable( - BuiltInId::gl_MaxTessControlOutputComponents, - BuiltInName::gl_MaxTessControlOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlOutputComponents); - static_cast(m_gl_MaxTessControlOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlOutputComponentsES3_2, - BuiltInName::gl_MaxTessControlOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlOutputComponents); - static_cast(m_gl_MaxTessControlOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTextureImageUnits = new TVariable( - BuiltInId::gl_MaxTessControlTextureImageUnits, - BuiltInName::gl_MaxTessControlTextureImageUnits, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTextureImageUnits); - static_cast(m_gl_MaxTessControlTextureImageUnits) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlTextureImageUnitsES3_2, - BuiltInName::gl_MaxTessControlTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTextureImageUnits); - static_cast(m_gl_MaxTessControlTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlUniformComponents = new TVariable( - BuiltInId::gl_MaxTessControlUniformComponents, - BuiltInName::gl_MaxTessControlUniformComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlUniformComponents); - static_cast(m_gl_MaxTessControlUniformComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlUniformComponentsES3_2, - BuiltInName::gl_MaxTessControlUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlUniformComponents); - static_cast(m_gl_MaxTessControlUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTotalOutputComponents = new TVariable( - BuiltInId::gl_MaxTessControlTotalOutputComponents, - BuiltInName::gl_MaxTessControlTotalOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTotalOutputComponents); - static_cast(m_gl_MaxTessControlTotalOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTotalOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlTotalOutputComponentsES3_2, - BuiltInName::gl_MaxTessControlTotalOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTotalOutputComponents); - static_cast(m_gl_MaxTessControlTotalOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlImageUniforms = new TVariable( - BuiltInId::gl_MaxTessControlImageUniforms, BuiltInName::gl_MaxTessControlImageUniforms, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlImageUniforms); - static_cast(m_gl_MaxTessControlImageUniforms)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlImageUniformsES3_2, - BuiltInName::gl_MaxTessControlImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlImageUniforms); - static_cast(m_gl_MaxTessControlImageUniformsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounters = new TVariable( - BuiltInId::gl_MaxTessControlAtomicCounters, BuiltInName::gl_MaxTessControlAtomicCounters, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounters); - static_cast(m_gl_MaxTessControlAtomicCounters)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlAtomicCountersES3_2, - BuiltInName::gl_MaxTessControlAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounters); - static_cast(m_gl_MaxTessControlAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounterBuffers = new TVariable( - BuiltInId::gl_MaxTessControlAtomicCounterBuffers, - BuiltInName::gl_MaxTessControlAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounterBuffers); - static_cast(m_gl_MaxTessControlAtomicCounterBuffers) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxTessControlAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounterBuffers); - static_cast(m_gl_MaxTessControlAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessPatchComponents = - new TVariable(BuiltInId::gl_MaxTessPatchComponents, BuiltInName::gl_MaxTessPatchComponents, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessPatchComponents); - static_cast(m_gl_MaxTessPatchComponents)->shareConstPointer(unionArray); - } - m_gl_MaxTessPatchComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessPatchComponentsES3_2, - BuiltInName::gl_MaxTessPatchComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessPatchComponents); - static_cast(m_gl_MaxTessPatchComponentsES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxPatchVertices = new TVariable( - BuiltInId::gl_MaxPatchVertices, BuiltInName::gl_MaxPatchVertices, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxPatchVertices); - static_cast(m_gl_MaxPatchVertices)->shareConstPointer(unionArray); - } - m_gl_MaxPatchVerticesES3_2 = new TVariable( - BuiltInId::gl_MaxPatchVerticesES3_2, BuiltInName::gl_MaxPatchVertices, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxPatchVertices); - static_cast(m_gl_MaxPatchVerticesES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxTessGenLevel = new TVariable( - BuiltInId::gl_MaxTessGenLevel, BuiltInName::gl_MaxTessGenLevel, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessGenLevel); - static_cast(m_gl_MaxTessGenLevel)->shareConstPointer(unionArray); - } - m_gl_MaxTessGenLevelES3_2 = new TVariable( - BuiltInId::gl_MaxTessGenLevelES3_2, BuiltInName::gl_MaxTessGenLevel, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessGenLevel); - static_cast(m_gl_MaxTessGenLevelES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationInputComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationInputComponents, - BuiltInName::gl_MaxTessEvaluationInputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationInputComponents); - static_cast(m_gl_MaxTessEvaluationInputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationInputComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationInputComponents); - static_cast(m_gl_MaxTessEvaluationInputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationOutputComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationOutputComponents, - BuiltInName::gl_MaxTessEvaluationOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationOutputComponents); - static_cast(m_gl_MaxTessEvaluationOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationOutputComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationOutputComponents); - static_cast(m_gl_MaxTessEvaluationOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationTextureImageUnits = new TVariable( - BuiltInId::gl_MaxTessEvaluationTextureImageUnits, - BuiltInName::gl_MaxTessEvaluationTextureImageUnits, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationTextureImageUnits); - static_cast(m_gl_MaxTessEvaluationTextureImageUnits) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationTextureImageUnitsES3_2, - BuiltInName::gl_MaxTessEvaluationTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationTextureImageUnits); - static_cast(m_gl_MaxTessEvaluationTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationUniformComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationUniformComponents, - BuiltInName::gl_MaxTessEvaluationUniformComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationUniformComponents); - static_cast(m_gl_MaxTessEvaluationUniformComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationUniformComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationUniformComponents); - static_cast(m_gl_MaxTessEvaluationUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationImageUniforms = new TVariable( - BuiltInId::gl_MaxTessEvaluationImageUniforms, - BuiltInName::gl_MaxTessEvaluationImageUniforms, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationImageUniforms); - static_cast(m_gl_MaxTessEvaluationImageUniforms) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationImageUniformsES3_2, - BuiltInName::gl_MaxTessEvaluationImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationImageUniforms); - static_cast(m_gl_MaxTessEvaluationImageUniformsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounters = new TVariable( - BuiltInId::gl_MaxTessEvaluationAtomicCounters, - BuiltInName::gl_MaxTessEvaluationAtomicCounters, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounters); - static_cast(m_gl_MaxTessEvaluationAtomicCounters) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationAtomicCountersES3_2, - BuiltInName::gl_MaxTessEvaluationAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounters); - static_cast(m_gl_MaxTessEvaluationAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounterBuffers = new TVariable( - BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffers, - BuiltInName::gl_MaxTessEvaluationAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounterBuffers); - static_cast(m_gl_MaxTessEvaluationAtomicCounterBuffers) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxTessEvaluationAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounterBuffers); - static_cast(m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxSamples = new TVariable(BuiltInId::gl_MaxSamples, BuiltInName::gl_MaxSamples, - SymbolType::BuiltIn, TExtension::OES_sample_variables, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxSamples); - static_cast(m_gl_MaxSamples)->shareConstPointer(unionArray); - } - m_gl_MaxSamplesES3_2 = new TVariable(BuiltInId::gl_MaxSamplesES3_2, BuiltInName::gl_MaxSamples, - SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxSamples); - static_cast(m_gl_MaxSamplesES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxClipDistancesAPPLE = new TVariable( - BuiltInId::gl_MaxClipDistancesAPPLE, BuiltInName::gl_MaxClipDistances, SymbolType::BuiltIn, - TExtension::APPLE_clip_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxClipDistances); - static_cast(m_gl_MaxClipDistancesAPPLE)->shareConstPointer(unionArray); - } - m_gl_MaxCullDistancesEXT = new TVariable( - BuiltInId::gl_MaxCullDistancesEXT, BuiltInName::gl_MaxCullDistances, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxCullDistances); - static_cast(m_gl_MaxCullDistancesEXT)->shareConstPointer(unionArray); - } - m_gl_MaxCombinedClipAndCullDistancesEXT = new TVariable( - BuiltInId::gl_MaxCombinedClipAndCullDistancesEXT, - BuiltInName::gl_MaxCombinedClipAndCullDistances, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxCombinedClipAndCullDistances); - static_cast(m_gl_MaxCombinedClipAndCullDistancesEXT) - ->shareConstPointer(unionArray); - } TType *type_gl_FragData = new TType(EbtFloat, EbpMedium, EvqFragData, 4); if (spec != SH_WEBGL2_SPEC && spec != SH_WEBGL3_SPEC) { @@ -25472,66 +24237,26 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, m_gl_LastFragData = new TVariable(BuiltInId::gl_LastFragData, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, TExtension::EXT_shader_framebuffer_fetch, type_gl_LastFragData); - TType *type_gl_LastFragDataNonCoherent = new TType(EbtFloat, EbpMedium, EvqLastFragData, 4, 1); - type_gl_LastFragDataNonCoherent->makeArray(resources.MaxDrawBuffers); - type_gl_LastFragDataNonCoherent->realize(); - m_gl_LastFragDataNonCoherent = new TVariable( - BuiltInId::gl_LastFragDataNonCoherent, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, - TExtension::EXT_shader_framebuffer_fetch_non_coherent, type_gl_LastFragDataNonCoherent); TType *type_gl_LastFragDataNV = new TType(EbtFloat, EbpMedium, EvqLastFragData, 4, 1); type_gl_LastFragDataNV->makeArray(resources.MaxDrawBuffers); type_gl_LastFragDataNV->realize(); m_gl_LastFragDataNV = new TVariable( BuiltInId::gl_LastFragDataNV, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, TExtension::NV_shader_framebuffer_fetch, type_gl_LastFragDataNV); - TType *type_gl_SampleMaskIn = new TType(EbtInt, EbpHigh, EvqSampleMaskIn, 1); - type_gl_SampleMaskIn->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskIn->realize(); - m_gl_SampleMaskIn = - new TVariable(BuiltInId::gl_SampleMaskIn, BuiltInName::gl_SampleMaskIn, SymbolType::BuiltIn, - TExtension::OES_sample_variables, type_gl_SampleMaskIn); - TType *type_gl_SampleMaskInES3_2 = new TType(EbtInt, EbpHigh, EvqSampleMaskIn, 1); - type_gl_SampleMaskInES3_2->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskInES3_2->realize(); - m_gl_SampleMaskInES3_2 = - new TVariable(BuiltInId::gl_SampleMaskInES3_2, BuiltInName::gl_SampleMaskIn, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_SampleMaskInES3_2); - TType *type_gl_SampleMask = new TType(EbtInt, EbpHigh, EvqSampleMask, 1); - type_gl_SampleMask->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMask->realize(); - m_gl_SampleMask = - new TVariable(BuiltInId::gl_SampleMask, BuiltInName::gl_SampleMask, SymbolType::BuiltIn, - TExtension::OES_sample_variables, type_gl_SampleMask); - TType *type_gl_SampleMaskES3_2 = new TType(EbtInt, EbpHigh, EvqSampleMask, 1); - type_gl_SampleMaskES3_2->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskES3_2->realize(); - m_gl_SampleMaskES3_2 = - new TVariable(BuiltInId::gl_SampleMaskES3_2, BuiltInName::gl_SampleMask, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_SampleMaskES3_2); - TType *type_gl_CullDistance = new TType(EbtFloat, EbpHigh, EvqCullDistance, 1); - type_gl_CullDistance->makeArray(resources.MaxCullDistances); - type_gl_CullDistance->realize(); - m_gl_CullDistance = - new TVariable(BuiltInId::gl_CullDistance, BuiltInName::gl_CullDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_CullDistance); TType *type_gl_ClipDistance = new TType(EbtFloat, EbpHigh, EvqClipDistance, 1); type_gl_ClipDistance->makeArray(resources.MaxClipDistances); type_gl_ClipDistance->realize(); m_gl_ClipDistance = new TVariable(BuiltInId::gl_ClipDistance, BuiltInName::gl_ClipDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_ClipDistance); - TType *type_gl_ClipDistanceAPPLE = new TType(EbtFloat, EbpHigh, EvqClipDistance, 1); - type_gl_ClipDistanceAPPLE->makeArray(resources.MaxClipDistances); - type_gl_ClipDistanceAPPLE->realize(); - m_gl_ClipDistanceAPPLE = new TVariable( - BuiltInId::gl_ClipDistanceAPPLE, BuiltInName::gl_ClipDistance, SymbolType::BuiltIn, - TExtension::APPLE_clip_distance, type_gl_ClipDistanceAPPLE); - TType *type_gl_CullDistanceEXT = new TType(EbtFloat, EbpHigh, EvqCullDistance, 1); - type_gl_CullDistanceEXT->makeArray(resources.MaxCullDistances); - type_gl_CullDistanceEXT->realize(); - m_gl_CullDistanceEXT = new TVariable( - BuiltInId::gl_CullDistanceEXT, BuiltInName::gl_CullDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_CullDistanceEXT); + TExtension::APPLE_clip_distance, type_gl_ClipDistance); + m_gl_MaxClipDistances = new TVariable( + BuiltInId::gl_MaxClipDistances, BuiltInName::gl_MaxClipDistances, SymbolType::BuiltIn, + TExtension::APPLE_clip_distance, StaticType::Get()); + { + TConstantUnion *unionArray = new TConstantUnion[1]; + unionArray[0].setIConst(resources.MaxClipDistances); + static_cast(m_gl_MaxClipDistances)->shareConstPointer(unionArray); + } TFieldList *fields_gl_PerVertex = new TFieldList(); fields_gl_PerVertex->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, zeroSourceLoc, @@ -25539,25 +24264,12 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, TInterfaceBlock *gl_PerVertex = new TInterfaceBlock(BuiltInId::gl_PerVertex, BuiltInName::gl_PerVertex, TExtension::EXT_geometry_shader, fields_gl_PerVertex); - m_gl_PerVertex = gl_PerVertex; - TFieldList *fields_gl_PerVertexES3_2 = new TFieldList(); - fields_gl_PerVertexES3_2->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexES3_2); - m_gl_PerVertexES3_2 = gl_PerVertexES3_2; - TType *type_gl_in = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); + m_gl_PerVertex = gl_PerVertex; + TType *type_gl_in = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); type_gl_in->makeArray(0u); type_gl_in->realize(); m_gl_in = new TVariable(BuiltInId::gl_in, BuiltInName::gl_in, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, type_gl_in); - TType *type_gl_inES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inES3_2->makeArray(0u); - type_gl_inES3_2->realize(); - m_gl_inES3_2 = new TVariable(BuiltInId::gl_inES3_2, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_inES3_2); TFieldList *fields_gl_PerVertexOutBlock = new TFieldList(); fields_gl_PerVertexOutBlock->push_back( new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, @@ -25565,208 +24277,19 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, TInterfaceBlock *gl_PerVertexOutBlock = new TInterfaceBlock(BuiltInId::gl_PerVertexOutBlock, BuiltInName::gl_PerVertex, TExtension::EXT_geometry_shader, fields_gl_PerVertexOutBlock); - TFieldList *fields_gl_PerVertexOutBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutBlockES3_2); TType *type_gl_PositionGS = new TType(EbtFloat, EbpHigh, EvqPosition, 4); type_gl_PositionGS->setInterfaceBlock(gl_PerVertexOutBlock); type_gl_PositionGS->realize(); m_gl_PositionGS = new TVariable(BuiltInId::gl_PositionGS, BuiltInName::gl_Position, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, type_gl_PositionGS); - TType *type_gl_PositionGSES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionGSES3_2->setInterfaceBlock(gl_PerVertexOutBlockES3_2); - type_gl_PositionGSES3_2->realize(); - m_gl_PositionGSES3_2 = - new TVariable(BuiltInId::gl_PositionGSES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionGSES3_2); - TType *type_gl_TessLevelOuterTCS = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTCS->makeArray(4u); - type_gl_TessLevelOuterTCS->realize(); - m_gl_TessLevelOuterTCS = new TVariable( - BuiltInId::gl_TessLevelOuterTCS, BuiltInName::gl_TessLevelOuter, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelOuterTCS); - TType *type_gl_TessLevelOuterTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTCSES3_2->makeArray(4u); - type_gl_TessLevelOuterTCSES3_2->realize(); - m_gl_TessLevelOuterTCSES3_2 = - new TVariable(BuiltInId::gl_TessLevelOuterTCSES3_2, BuiltInName::gl_TessLevelOuter, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelOuterTCSES3_2); - TType *type_gl_TessLevelInnerTCS = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTCS->makeArray(2u); - type_gl_TessLevelInnerTCS->realize(); - m_gl_TessLevelInnerTCS = new TVariable( - BuiltInId::gl_TessLevelInnerTCS, BuiltInName::gl_TessLevelInner, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelInnerTCS); - TType *type_gl_TessLevelInnerTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTCSES3_2->makeArray(2u); - type_gl_TessLevelInnerTCSES3_2->realize(); - m_gl_TessLevelInnerTCSES3_2 = - new TVariable(BuiltInId::gl_TessLevelInnerTCSES3_2, BuiltInName::gl_TessLevelInner, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelInnerTCSES3_2); - TFieldList *fields_gl_PerVertexTCS = new TFieldList(); - fields_gl_PerVertexTCS->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTCS = - new TInterfaceBlock(BuiltInId::gl_PerVertexTCS, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexTCS); - m_gl_PerVertexTCS = gl_PerVertexTCS; - TFieldList *fields_gl_PerVertexTCSES3_2 = new TFieldList(); - fields_gl_PerVertexTCSES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTCSES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexTCSES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexTCSES3_2); - m_gl_PerVertexTCSES3_2 = gl_PerVertexTCSES3_2; - TType *type_gl_inTCS = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTCS->makeArray(resources.MaxPatchVertices); - type_gl_inTCS->realize(); - m_gl_inTCS = new TVariable(BuiltInId::gl_inTCS, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_inTCS); - TType *type_gl_inTCSES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTCSES3_2->makeArray(resources.MaxPatchVertices); - type_gl_inTCSES3_2->realize(); - m_gl_inTCSES3_2 = new TVariable(BuiltInId::gl_inTCSES3_2, BuiltInName::gl_in, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_inTCSES3_2); - TType *type_gl_outTCS = new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTCS->makeArray(resources.MaxPatchVertices); - type_gl_outTCS->realize(); - m_gl_outTCS = new TVariable(BuiltInId::gl_outTCS, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_outTCS); - TType *type_gl_outTCSES3_2 = - new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTCSES3_2->makeArray(resources.MaxPatchVertices); - type_gl_outTCSES3_2->realize(); - m_gl_outTCSES3_2 = - new TVariable(BuiltInId::gl_outTCSES3_2, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_outTCSES3_2); - TFieldList *fields_gl_PerVertexOutTcsBlock = new TFieldList(); - fields_gl_PerVertexOutTcsBlock->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTcsBlock = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTcsBlock, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexOutTcsBlock); - TFieldList *fields_gl_PerVertexOutTcsBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutTcsBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTcsBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTcsBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutTcsBlockES3_2); - TType *type_gl_PositionTCS = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTCS->setInterfaceBlock(gl_PerVertexOutTcsBlock); - type_gl_PositionTCS->realize(); - m_gl_PositionTCS = - new TVariable(BuiltInId::gl_PositionTCS, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_PositionTCS); - TType *type_gl_PositionTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTCSES3_2->setInterfaceBlock(gl_PerVertexOutTcsBlockES3_2); - type_gl_PositionTCSES3_2->realize(); - m_gl_PositionTCSES3_2 = - new TVariable(BuiltInId::gl_PositionTCSES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionTCSES3_2); - TType *type_gl_TessLevelOuterTES = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTES->makeArray(4u); - type_gl_TessLevelOuterTES->realize(); - m_gl_TessLevelOuterTES = new TVariable( - BuiltInId::gl_TessLevelOuterTES, BuiltInName::gl_TessLevelOuter, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelOuterTES); - TType *type_gl_TessLevelOuterTESES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTESES3_2->makeArray(4u); - type_gl_TessLevelOuterTESES3_2->realize(); - m_gl_TessLevelOuterTESES3_2 = - new TVariable(BuiltInId::gl_TessLevelOuterTESES3_2, BuiltInName::gl_TessLevelOuter, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelOuterTESES3_2); - TType *type_gl_TessLevelInnerTES = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTES->makeArray(2u); - type_gl_TessLevelInnerTES->realize(); - m_gl_TessLevelInnerTES = new TVariable( - BuiltInId::gl_TessLevelInnerTES, BuiltInName::gl_TessLevelInner, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelInnerTES); - TType *type_gl_TessLevelInnerTESES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTESES3_2->makeArray(2u); - type_gl_TessLevelInnerTESES3_2->realize(); - m_gl_TessLevelInnerTESES3_2 = - new TVariable(BuiltInId::gl_TessLevelInnerTESES3_2, BuiltInName::gl_TessLevelInner, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelInnerTESES3_2); - TFieldList *fields_gl_PerVertexTES = new TFieldList(); - fields_gl_PerVertexTES->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTES = - new TInterfaceBlock(BuiltInId::gl_PerVertexTES, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexTES); - m_gl_PerVertexTES = gl_PerVertexTES; - TFieldList *fields_gl_PerVertexTESES3_2 = new TFieldList(); - fields_gl_PerVertexTESES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTESES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexTESES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexTESES3_2); - m_gl_PerVertexTESES3_2 = gl_PerVertexTESES3_2; - TType *type_gl_inTES = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTES->makeArray(resources.MaxPatchVertices); - type_gl_inTES->realize(); - m_gl_inTES = new TVariable(BuiltInId::gl_inTES, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_inTES); - TType *type_gl_inTESES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTESES3_2->makeArray(resources.MaxPatchVertices); - type_gl_inTESES3_2->realize(); - m_gl_inTESES3_2 = new TVariable(BuiltInId::gl_inTESES3_2, BuiltInName::gl_in, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_inTESES3_2); - TType *type_gl_outTES = new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTES->makeArray(resources.MaxPatchVertices); - type_gl_outTES->realize(); - m_gl_outTES = new TVariable(BuiltInId::gl_outTES, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_outTES); - TType *type_gl_outTESES3_2 = - new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTESES3_2->makeArray(resources.MaxPatchVertices); - type_gl_outTESES3_2->realize(); - m_gl_outTESES3_2 = - new TVariable(BuiltInId::gl_outTESES3_2, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_outTESES3_2); - TFieldList *fields_gl_PerVertexOutTesBlock = new TFieldList(); - fields_gl_PerVertexOutTesBlock->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTesBlock = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTesBlock, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexOutTesBlock); - TFieldList *fields_gl_PerVertexOutTesBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutTesBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTesBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTesBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutTesBlockES3_2); - TType *type_gl_PositionTES = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTES->setInterfaceBlock(gl_PerVertexOutTesBlock); - type_gl_PositionTES->realize(); - m_gl_PositionTES = - new TVariable(BuiltInId::gl_PositionTES, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_PositionTES); - TType *type_gl_PositionTESES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTESES3_2->setInterfaceBlock(gl_PerVertexOutTesBlockES3_2); - type_gl_PositionTESES3_2->realize(); - m_gl_PositionTESES3_2 = - new TVariable(BuiltInId::gl_PositionTESES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionTESES3_2); } namespace { uint16_t GetNextRuleIndex(uint32_t nameHash) { - if (nameHash == 1625 - 1) + if (nameHash == 1593 - 1) return ArraySize(BuiltInArray::kRules); return BuiltInArray::kMangledOffsets[nameHash + 1]; } @@ -25774,11 +24297,11 @@ uint16_t GetNextRuleIndex(uint32_t nameHash) const TSymbol *TSymbolTable::findBuiltIn(const ImmutableString &name, int shaderVersion) const { - if (name.length() > 40) + if (name.length() > 37) return nullptr; uint32_t nameHash = name.mangledNameHash(); - if (nameHash >= 1625) + if (nameHash >= 1593) return nullptr; const char *actualName = BuiltInArray::kMangledNames[nameHash]; diff --git a/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.cpp index 1946c8b2391b..9381722d226b 100644 --- a/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -1337,29 +1337,24 @@ constexpr const TSymbolUniqueId BuiltInId::textureGather_Sampler2DArrayShadow1_F constexpr const TSymbolUniqueId BuiltInId::textureGather_SamplerCubeShadow1_Float3; constexpr const TSymbolUniqueId BuiltInId::textureGather_SamplerCubeShadow1_Float3_Float1; constexpr const TSymbolUniqueId BuiltInId::textureGather_Sampler2DRectShadow1_Float2_Float1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2; + BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2_Int1; + BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId + BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DRect1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DRect1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DRect1_Float2_4xInt2_Int1; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2; @@ -1385,24 +1380,29 @@ constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DRect1_ constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DRect1_Float2_4xInt2; constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DRectShadow1_Float2_Float1_4xInt2; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1; + BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2; +constexpr const TSymbolUniqueId BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2; constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId - BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_Sampler2DRect1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_ISampler2DRect1_Float2_4xInt2_Int1; -constexpr const TSymbolUniqueId BuiltInId::textureGatherOffsets_USampler2DRect1_Float2_4xInt2_Int1; + BuiltInId::textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float1; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float2; constexpr const TSymbolUniqueId BuiltInId::dFdx_Float3; @@ -1530,39 +1530,6 @@ constexpr const TSymbolUniqueId BuiltInId::imageSamples_UImage2DMS1; constexpr const TSymbolUniqueId BuiltInId::imageSamples_Image2DMSArray1; constexpr const TSymbolUniqueId BuiltInId::imageSamples_IImage2DMSArray1; constexpr const TSymbolUniqueId BuiltInId::imageSamples_UImage2DMSArray1; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2D1_Int2_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2D1_Int2_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2D1_Int2_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image3D1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage3D1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage3D1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DArray1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DArray1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DArray1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCube1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCube1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCube1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCubeArray1_Int3_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCubeArray1_Int3_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageBuffer1_Int1_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageBuffer1_Int1_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageBuffer1_Int1_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image1D1_Int1_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage1D1_Int1_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage1D1_Int1_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image1DArray1_Int2_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage1DArray1_Int2_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage1DArray1_Int2_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageRect1_Int2_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageRect1_Int2_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageRect1_Int2_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DMS1_Int2_Int1_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DMS1_Int2_Int1_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DMS1_Int2_Int1_UInt4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DMSArray1_Int3_Int1_Float4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DMSArray1_Int3_Int1_Int4; -constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DMSArray1_Int3_Int1_UInt4; constexpr const TSymbolUniqueId BuiltInId::imageLoad_Image2D1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImage2D1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage2D1_Int2; @@ -1587,9 +1554,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage1D1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageLoad_Image1DArray1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImage1DArray1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage1DArray1_Int2; -constexpr const TSymbolUniqueId BuiltInId::imageLoad_ImageRect1_Int2; -constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImageRect1_Int2; -constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImageRect1_Int2; +constexpr const TSymbolUniqueId BuiltInId::imageLoad_Image2DRect1_Int2; +constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImage2DRect1_Int2; +constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage2DRect1_Int2; constexpr const TSymbolUniqueId BuiltInId::imageLoad_Image2DMS1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageLoad_IImage2DMS1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageLoad_UImage2DMS1_Int2_Int1; @@ -1620,9 +1587,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage2DMS1_Int2_Int1_UInt1; @@ -1653,9 +1620,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAdd_UImage2DMS1_Int2_Int1_Int1; @@ -1686,9 +1653,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage2DMS1_Int2_Int1_UInt1; @@ -1719,9 +1686,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMin_UImage2DMS1_Int2_Int1_Int1; @@ -1752,9 +1719,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage2DMS1_Int2_Int1_UInt1; @@ -1785,9 +1752,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMax_UImage2DMS1_Int2_Int1_Int1; @@ -1818,9 +1785,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage2DMS1_Int2_Int1_UInt1; @@ -1851,9 +1818,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAnd_UImage2DMS1_Int2_Int1_Int1; @@ -1884,9 +1851,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage2DMS1_Int2_Int1_UInt1; @@ -1917,9 +1884,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOr_UImage2DMS1_Int2_Int1_Int1; @@ -1950,9 +1917,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage1D1_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage2DMS1_Int2_Int1_UInt1; @@ -1983,9 +1950,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXor_UImage2DMS1_Int2_Int1_Int1; @@ -2016,9 +1983,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1D1_Int1_UI constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DMS1_Int2_Int1_UInt1; @@ -2049,9 +2016,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1D1_Int1_In constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DMS1_Int2_Int1_Int1; @@ -2082,9 +2049,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1D1_Int1_Fl constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage1DArray1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_ImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImageRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_Image2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_IImage2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchange_UImage2DMS1_Int2_Int1_Float1; @@ -2115,9 +2082,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage1D1_Int1_UI constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage1DArray1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_ImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImageRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage2DRect1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage2DMS1_Int2_Int1_UInt1_UInt1; @@ -2151,9 +2118,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage1D1_Int1_In constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage1DArray1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_ImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImageRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage2DRect1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_Image2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_IImage2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwap_UImage2DMS1_Int2_Int1_Int1_Int1; @@ -2184,9 +2151,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2217,9 +2184,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAddExt_UImage2DMS1_Int2_Int1_Int1; @@ -2250,9 +2217,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2283,9 +2250,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMinExt_UImage2DMS1_Int2_Int1_Int1; @@ -2316,9 +2283,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2349,9 +2316,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicMaxExt_UImage2DMS1_Int2_Int1_Int1; @@ -2382,9 +2349,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2415,9 +2382,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicAndExt_UImage2DMS1_Int2_Int1_Int1; @@ -2448,9 +2415,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1D1_Int1_UInt1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2481,9 +2448,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1D1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicOrExt_UImage2DMS1_Int2_Int1_Int1; @@ -2514,9 +2481,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1D1_Int1_UInt constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2547,9 +2514,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1D1_Int1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicXorExt_UImage2DMS1_Int2_Int1_Int1; @@ -2580,9 +2547,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_UInt1; @@ -2613,9 +2580,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Int1; @@ -2646,9 +2613,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage1DArray1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage1DArray1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Float1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Float1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Float1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Float1; @@ -2679,9 +2646,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage1DArray1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1DArray1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1; @@ -2715,9 +2682,9 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1D1_Int1 constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage1DArray1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage1DArray1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1; -constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_Int1_Int1; @@ -2727,6 +2694,39 @@ constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1; constexpr const TSymbolUniqueId BuiltInId::imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2D1_Int2_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2D1_Int2_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2D1_Int2_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image3D1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage3D1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage3D1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DArray1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DArray1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DArray1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCube1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCube1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCube1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageCubeArray1_Int3_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageCubeArray1_Int3_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_ImageBuffer1_Int1_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImageBuffer1_Int1_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImageBuffer1_Int1_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image1D1_Int1_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage1D1_Int1_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage1D1_Int1_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image1DArray1_Int2_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage1DArray1_Int2_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage1DArray1_Int2_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DRect1_Int2_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DRect1_Int2_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DRect1_Int2_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DMS1_Int2_Int1_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DMS1_Int2_Int1_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DMS1_Int2_Int1_UInt4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_Image2DMSArray1_Int3_Int1_Float4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_IImage2DMSArray1_Int3_Int1_Int4; +constexpr const TSymbolUniqueId BuiltInId::imageStore_UImage2DMSArray1_Int3_Int1_UInt4; constexpr const TSymbolUniqueId BuiltInId::noise1_Float1; constexpr const TSymbolUniqueId BuiltInId::noise1_Float2; constexpr const TSymbolUniqueId BuiltInId::noise1_Float3; @@ -2750,11 +2750,8 @@ constexpr const TSymbolUniqueId BuiltInId::memoryBarrierImage; constexpr const TSymbolUniqueId BuiltInId::barrier; constexpr const TSymbolUniqueId BuiltInId::memoryBarrierShared; constexpr const TSymbolUniqueId BuiltInId::groupMemoryBarrier; -constexpr const TSymbolUniqueId BuiltInId::barrierES3_2; constexpr const TSymbolUniqueId BuiltInId::EmitVertex; -constexpr const TSymbolUniqueId BuiltInId::EmitVertexES3_2; constexpr const TSymbolUniqueId BuiltInId::EndPrimitive; -constexpr const TSymbolUniqueId BuiltInId::EndPrimitiveES3_2; constexpr const TSymbolUniqueId BuiltInId::EmitStreamVertex_Int1; constexpr const TSymbolUniqueId BuiltInId::EndStreamPrimitive_Int1; constexpr const TSymbolUniqueId BuiltInId::subpassLoad_SubpassInput1; @@ -2770,8 +2767,6 @@ constexpr const TSymbolUniqueId BuiltInId::textureVideoWEBGL_SamplerVideoWEBGL1_ constexpr const TSymbolUniqueId BuiltInId::texture_SamplerVideoWEBGL1_Float2; constexpr const TSymbolUniqueId BuiltInId::gl_DepthRangeParameters; constexpr const TSymbolUniqueId BuiltInId::gl_DepthRange; -constexpr const TSymbolUniqueId BuiltInId::gl_NumSamples; -constexpr const TSymbolUniqueId BuiltInId::gl_NumSamplesES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexAttribs; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexUniformVectors; constexpr const TSymbolUniqueId BuiltInId::gl_MaxVertexTextureImageUnits; @@ -2806,64 +2801,14 @@ constexpr const TSymbolUniqueId BuiltInId::gl_MaxFragmentAtomicCounterBuffers; constexpr const TSymbolUniqueId BuiltInId::gl_MaxCombinedAtomicCounterBuffers; constexpr const TSymbolUniqueId BuiltInId::gl_MaxAtomicCounterBufferSize; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryInputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryImageUniformsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTextureImageUnitsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputVertices; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryOutputVerticesES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTotalOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryTotalOutputComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryUniformComponentsES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCountersES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxGeometryAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlInputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTextureImageUnitsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlUniformComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTotalOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlTotalOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlImageUniformsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCountersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessControlAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessPatchComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessPatchComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxPatchVertices; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxPatchVerticesES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessGenLevel; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessGenLevelES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationInputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationInputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationOutputComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationOutputComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationTextureImageUnits; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationTextureImageUnitsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationUniformComponents; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationUniformComponentsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationImageUniforms; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationImageUniformsES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounters; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCountersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffers; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffersES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxSamples; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxSamplesES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxClipDistancesAPPLE; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxCullDistancesEXT; -constexpr const TSymbolUniqueId BuiltInId::gl_MaxCombinedClipAndCullDistancesEXT; constexpr const TSymbolUniqueId BuiltInId::gl_FragCoord; constexpr const TSymbolUniqueId BuiltInId::gl_FrontFacing; constexpr const TSymbolUniqueId BuiltInId::gl_PointCoord; @@ -2875,24 +2820,11 @@ constexpr const TSymbolUniqueId BuiltInId::gl_SecondaryFragColorEXT; constexpr const TSymbolUniqueId BuiltInId::gl_SecondaryFragDataEXT; constexpr const TSymbolUniqueId BuiltInId::gl_FragDepthEXT; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragData; -constexpr const TSymbolUniqueId BuiltInId::gl_LastFragDataNonCoherent; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragColor; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragDataNV; constexpr const TSymbolUniqueId BuiltInId::gl_LastFragColorARM; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveID; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_Layer; -constexpr const TSymbolUniqueId BuiltInId::gl_LayerES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleID; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleIDES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SamplePosition; -constexpr const TSymbolUniqueId BuiltInId::gl_SamplePositionES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskIn; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskInES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMask; -constexpr const TSymbolUniqueId BuiltInId::gl_SampleMaskES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_CullDistance; -constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistance; constexpr const TSymbolUniqueId BuiltInId::gl_Position; constexpr const TSymbolUniqueId BuiltInId::gl_PointSize; constexpr const TSymbolUniqueId BuiltInId::gl_InstanceID; @@ -2906,8 +2838,8 @@ constexpr const TSymbolUniqueId BuiltInId::gl_BaseVertex; constexpr const TSymbolUniqueId BuiltInId::gl_BaseInstance; constexpr const TSymbolUniqueId BuiltInId::angle_BaseVertex; constexpr const TSymbolUniqueId BuiltInId::angle_BaseInstance; -constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistanceAPPLE; -constexpr const TSymbolUniqueId BuiltInId::gl_CullDistanceEXT; +constexpr const TSymbolUniqueId BuiltInId::gl_ClipDistance; +constexpr const TSymbolUniqueId BuiltInId::gl_MaxClipDistances; constexpr const TSymbolUniqueId BuiltInId::gl_NumWorkGroups; constexpr const TSymbolUniqueId BuiltInId::gl_WorkGroupSize; constexpr const TSymbolUniqueId BuiltInId::gl_WorkGroupID; @@ -2915,63 +2847,16 @@ constexpr const TSymbolUniqueId BuiltInId::gl_LocalInvocationID; constexpr const TSymbolUniqueId BuiltInId::gl_GlobalInvocationID; constexpr const TSymbolUniqueId BuiltInId::gl_LocalInvocationIndex; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDIn; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDInES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_InvocationID; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDGS; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDGSES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_LayerGS; -constexpr const TSymbolUniqueId BuiltInId::gl_LayerGSES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PerVertex; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_in; -constexpr const TSymbolUniqueId BuiltInId::gl_inES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutBlockES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_PositionGS; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionGSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_InvocationIDTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_inTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_inTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_outTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_outTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTcsBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTcsBlockES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTCS; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTCSES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PatchVerticesInTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PrimitiveIDTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessCoord; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTES; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelOuterTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTES; -constexpr const TSymbolUniqueId BuiltInId::gl_TessLevelInnerTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_inTES; -constexpr const TSymbolUniqueId BuiltInId::gl_inTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_outTES; -constexpr const TSymbolUniqueId BuiltInId::gl_outTESES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTesBlock; -constexpr const TSymbolUniqueId BuiltInId::gl_PerVertexOutTesBlockES3_2; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTES; -constexpr const TSymbolUniqueId BuiltInId::gl_PositionTESES3_2; constexpr const TSymbolUniqueId BuiltInId::gl_ViewID_OVR; -const int TSymbolTable::kLastBuiltInId = 3015; +const int TSymbolTable::kLastBuiltInId = 2903; namespace BuiltInName { @@ -2979,9 +2864,7 @@ namespace BuiltInName constexpr const ImmutableString _empty(""); constexpr const ImmutableString EmitStreamVertex("EmitStreamVertex"); constexpr const ImmutableString EmitVertex("EmitVertex"); -constexpr const ImmutableString EmitVertexES3_2("EmitVertex"); constexpr const ImmutableString EndPrimitive("EndPrimitive"); -constexpr const ImmutableString EndPrimitiveES3_2("EndPrimitive"); constexpr const ImmutableString EndStreamPrimitive("EndStreamPrimitive"); constexpr const ImmutableString abs("abs"); constexpr const ImmutableString acos("acos"); @@ -3018,7 +2901,6 @@ constexpr const ImmutableString atomicMin("atomicMin"); constexpr const ImmutableString atomicOr("atomicOr"); constexpr const ImmutableString atomicXor("atomicXor"); constexpr const ImmutableString barrier("barrier"); -constexpr const ImmutableString barrierES3_2("barrier"); constexpr const ImmutableString bitCount("bitCount"); constexpr const ImmutableString bitfieldExtract("bitfieldExtract"); constexpr const ImmutableString bitfieldInsert("bitfieldInsert"); @@ -3063,7 +2945,6 @@ constexpr const ImmutableString fwidthFine("fwidthFine"); constexpr const ImmutableString gl_BaseInstance("gl_BaseInstance"); constexpr const ImmutableString gl_BaseVertex("gl_BaseVertex"); constexpr const ImmutableString gl_ClipDistance("gl_ClipDistance"); -constexpr const ImmutableString gl_CullDistance("gl_CullDistance"); constexpr const ImmutableString gl_DepthRange("gl_DepthRange"); constexpr const ImmutableString gl_DepthRangeParameters("gl_DepthRangeParameters"); constexpr const ImmutableString gl_DrawID("gl_DrawID"); @@ -3090,8 +2971,6 @@ constexpr const ImmutableString gl_MaxClipDistances("gl_MaxClipDistances"); constexpr const ImmutableString gl_MaxCombinedAtomicCounterBuffers( "gl_MaxCombinedAtomicCounterBuffers"); constexpr const ImmutableString gl_MaxCombinedAtomicCounters("gl_MaxCombinedAtomicCounters"); -constexpr const ImmutableString gl_MaxCombinedClipAndCullDistances( - "gl_MaxCombinedClipAndCullDistances"); constexpr const ImmutableString gl_MaxCombinedImageUniforms("gl_MaxCombinedImageUniforms"); constexpr const ImmutableString gl_MaxCombinedShaderOutputResources( "gl_MaxCombinedShaderOutputResources"); @@ -3104,7 +2983,6 @@ constexpr const ImmutableString gl_MaxComputeTextureImageUnits("gl_MaxComputeTex constexpr const ImmutableString gl_MaxComputeUniformComponents("gl_MaxComputeUniformComponents"); constexpr const ImmutableString gl_MaxComputeWorkGroupCount("gl_MaxComputeWorkGroupCount"); constexpr const ImmutableString gl_MaxComputeWorkGroupSize("gl_MaxComputeWorkGroupSize"); -constexpr const ImmutableString gl_MaxCullDistances("gl_MaxCullDistances"); constexpr const ImmutableString gl_MaxDrawBuffers("gl_MaxDrawBuffers"); constexpr const ImmutableString gl_MaxDualSourceDrawBuffersEXT("gl_MaxDualSourceDrawBuffersEXT"); constexpr const ImmutableString gl_MaxFragmentAtomicCounterBuffers( @@ -3125,39 +3003,7 @@ constexpr const ImmutableString gl_MaxGeometryTotalOutputComponents( "gl_MaxGeometryTotalOutputComponents"); constexpr const ImmutableString gl_MaxGeometryUniformComponents("gl_MaxGeometryUniformComponents"); constexpr const ImmutableString gl_MaxImageUnits("gl_MaxImageUnits"); -constexpr const ImmutableString gl_MaxPatchVertices("gl_MaxPatchVertices"); constexpr const ImmutableString gl_MaxProgramTexelOffset("gl_MaxProgramTexelOffset"); -constexpr const ImmutableString gl_MaxSamples("gl_MaxSamples"); -constexpr const ImmutableString gl_MaxTessControlAtomicCounterBuffers( - "gl_MaxTessControlAtomicCounterBuffers"); -constexpr const ImmutableString gl_MaxTessControlAtomicCounters("gl_MaxTessControlAtomicCounters"); -constexpr const ImmutableString gl_MaxTessControlImageUniforms("gl_MaxTessControlImageUniforms"); -constexpr const ImmutableString gl_MaxTessControlInputComponents( - "gl_MaxTessControlInputComponents"); -constexpr const ImmutableString gl_MaxTessControlOutputComponents( - "gl_MaxTessControlOutputComponents"); -constexpr const ImmutableString gl_MaxTessControlTextureImageUnits( - "gl_MaxTessControlTextureImageUnits"); -constexpr const ImmutableString gl_MaxTessControlTotalOutputComponents( - "gl_MaxTessControlTotalOutputComponents"); -constexpr const ImmutableString gl_MaxTessControlUniformComponents( - "gl_MaxTessControlUniformComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationAtomicCounterBuffers( - "gl_MaxTessEvaluationAtomicCounterBuffers"); -constexpr const ImmutableString gl_MaxTessEvaluationAtomicCounters( - "gl_MaxTessEvaluationAtomicCounters"); -constexpr const ImmutableString gl_MaxTessEvaluationImageUniforms( - "gl_MaxTessEvaluationImageUniforms"); -constexpr const ImmutableString gl_MaxTessEvaluationInputComponents( - "gl_MaxTessEvaluationInputComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationOutputComponents( - "gl_MaxTessEvaluationOutputComponents"); -constexpr const ImmutableString gl_MaxTessEvaluationTextureImageUnits( - "gl_MaxTessEvaluationTextureImageUnits"); -constexpr const ImmutableString gl_MaxTessEvaluationUniformComponents( - "gl_MaxTessEvaluationUniformComponents"); -constexpr const ImmutableString gl_MaxTessGenLevel("gl_MaxTessGenLevel"); -constexpr const ImmutableString gl_MaxTessPatchComponents("gl_MaxTessPatchComponents"); constexpr const ImmutableString gl_MaxTextureImageUnits("gl_MaxTextureImageUnits"); constexpr const ImmutableString gl_MaxVaryingVectors("gl_MaxVaryingVectors"); constexpr const ImmutableString gl_MaxVertexAtomicCounterBuffers( @@ -3169,24 +3015,15 @@ constexpr const ImmutableString gl_MaxVertexOutputVectors("gl_MaxVertexOutputVec constexpr const ImmutableString gl_MaxVertexTextureImageUnits("gl_MaxVertexTextureImageUnits"); constexpr const ImmutableString gl_MaxVertexUniformVectors("gl_MaxVertexUniformVectors"); constexpr const ImmutableString gl_MinProgramTexelOffset("gl_MinProgramTexelOffset"); -constexpr const ImmutableString gl_NumSamples("gl_NumSamples"); constexpr const ImmutableString gl_NumWorkGroups("gl_NumWorkGroups"); -constexpr const ImmutableString gl_PatchVerticesIn("gl_PatchVerticesIn"); constexpr const ImmutableString gl_PerVertex("gl_PerVertex"); constexpr const ImmutableString gl_PointCoord("gl_PointCoord"); constexpr const ImmutableString gl_PointSize("gl_PointSize"); constexpr const ImmutableString gl_Position("gl_Position"); constexpr const ImmutableString gl_PrimitiveID("gl_PrimitiveID"); constexpr const ImmutableString gl_PrimitiveIDIn("gl_PrimitiveIDIn"); -constexpr const ImmutableString gl_SampleID("gl_SampleID"); -constexpr const ImmutableString gl_SampleMask("gl_SampleMask"); -constexpr const ImmutableString gl_SampleMaskIn("gl_SampleMaskIn"); -constexpr const ImmutableString gl_SamplePosition("gl_SamplePosition"); constexpr const ImmutableString gl_SecondaryFragColorEXT("gl_SecondaryFragColorEXT"); constexpr const ImmutableString gl_SecondaryFragDataEXT("gl_SecondaryFragDataEXT"); -constexpr const ImmutableString gl_TessCoord("gl_TessCoord"); -constexpr const ImmutableString gl_TessLevelInner("gl_TessLevelInner"); -constexpr const ImmutableString gl_TessLevelOuter("gl_TessLevelOuter"); constexpr const ImmutableString gl_VertexID("gl_VertexID"); constexpr const ImmutableString gl_VertexIndex("gl_VertexIndex"); constexpr const ImmutableString gl_ViewID_OVR("gl_ViewID_OVR"); @@ -3194,7 +3031,6 @@ constexpr const ImmutableString gl_ViewportIndex("gl_ViewportIndex"); constexpr const ImmutableString gl_WorkGroupID("gl_WorkGroupID"); constexpr const ImmutableString gl_WorkGroupSize("gl_WorkGroupSize"); constexpr const ImmutableString gl_in("gl_in"); -constexpr const ImmutableString gl_out("gl_out"); constexpr const ImmutableString greaterThan("greaterThan"); constexpr const ImmutableString greaterThanEqual("greaterThanEqual"); constexpr const ImmutableString groupMemoryBarrier("groupMemoryBarrier"); @@ -3359,26 +3195,29 @@ namespace BuiltInVariable constexpr const unsigned int kArraySize4[1] = {4}; -constexpr const TVariable kangle_BaseInstance(BuiltInId::angle_BaseInstance, - BuiltInName::angle_BaseInstance, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); -constexpr const TVariable kangle_BaseVertex(BuiltInId::angle_BaseVertex, - BuiltInName::angle_BaseVertex, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); -constexpr const TVariable kgl_BaseInstance(BuiltInId::gl_BaseInstance, - BuiltInName::gl_BaseInstance, - SymbolType::BuiltIn, - TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); +constexpr const TVariable kangle_BaseInstance( + BuiltInId::angle_BaseInstance, + BuiltInName::angle_BaseInstance, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); +constexpr const TVariable kangle_BaseVertex( + BuiltInId::angle_BaseVertex, + BuiltInName::angle_BaseVertex, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); +constexpr const TVariable kgl_BaseInstance( + BuiltInId::gl_BaseInstance, + BuiltInName::gl_BaseInstance, + SymbolType::BuiltIn, + TExtension::ANGLE_base_vertex_base_instance, + StaticType::Get()); constexpr const TVariable kgl_BaseVertex(BuiltInId::gl_BaseVertex, BuiltInName::gl_BaseVertex, SymbolType::BuiltIn, TExtension::ANGLE_base_vertex_base_instance, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kgl_DrawID(BuiltInId::gl_DrawID, BuiltInName::gl_DrawID, SymbolType::BuiltIn, @@ -3434,24 +3273,6 @@ constexpr const TVariable kgl_InvocationID( SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_InvocationIDES3_2( - BuiltInId::gl_InvocationIDES3_2, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_InvocationIDTCS( - BuiltInId::gl_InvocationIDTCS, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_InvocationIDTCSES3_2( - BuiltInId::gl_InvocationIDTCSES3_2, - BuiltInName::gl_InvocationID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LastFragColor( BuiltInId::gl_LastFragColor, BuiltInName::gl_LastFragColor, @@ -3469,21 +3290,11 @@ constexpr const TVariable kgl_Layer(BuiltInId::gl_Layer, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_LayerES3_2(BuiltInId::gl_LayerES3_2, - BuiltInName::gl_Layer, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LayerGS(BuiltInId::gl_LayerGS, BuiltInName::gl_Layer, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_LayerGSES3_2(BuiltInId::gl_LayerGSES3_2, - BuiltInName::gl_Layer, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_LayerVS(BuiltInId::gl_LayerVS, BuiltInName::gl_Layer, SymbolType::BuiltIn, @@ -3501,46 +3312,12 @@ constexpr const TVariable kgl_LocalInvocationIndex( SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kgl_NumSamples(BuiltInId::gl_NumSamples, - BuiltInName::gl_NumSamples, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_NumSamplesES3_2(BuiltInId::gl_NumSamplesES3_2, - BuiltInName::gl_NumSamples, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_NumWorkGroups( BuiltInId::gl_NumWorkGroups, BuiltInName::gl_NumWorkGroups, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTCS( - BuiltInId::gl_PatchVerticesInTCS, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTCSES3_2( - BuiltInId::gl_PatchVerticesInTCSES3_2, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTES( - BuiltInId::gl_PatchVerticesInTES, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PatchVerticesInTESES3_2( - BuiltInId::gl_PatchVerticesInTESES3_2, - BuiltInName::gl_PatchVerticesIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PointCoord( BuiltInId::gl_PointCoord, BuiltInName::gl_PointCoord, @@ -3562,93 +3339,24 @@ constexpr const TVariable kgl_PrimitiveID(BuiltInId::gl_PrimitiveID, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDES3_2( - BuiltInId::gl_PrimitiveIDES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PrimitiveIDGS( BuiltInId::gl_PrimitiveIDGS, BuiltInName::gl_PrimitiveID, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDGSES3_2( - BuiltInId::gl_PrimitiveIDGSES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_PrimitiveIDIn( BuiltInId::gl_PrimitiveIDIn, BuiltInName::gl_PrimitiveIDIn, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDInES3_2( - BuiltInId::gl_PrimitiveIDInES3_2, - BuiltInName::gl_PrimitiveIDIn, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTCS( - BuiltInId::gl_PrimitiveIDTCS, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTCSES3_2( - BuiltInId::gl_PrimitiveIDTCSES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTES( - BuiltInId::gl_PrimitiveIDTES, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, - StaticType::Get()); -constexpr const TVariable kgl_PrimitiveIDTESES3_2( - BuiltInId::gl_PrimitiveIDTESES3_2, - BuiltInName::gl_PrimitiveID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_SampleID(BuiltInId::gl_SampleID, - BuiltInName::gl_SampleID, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_SampleIDES3_2(BuiltInId::gl_SampleIDES3_2, - BuiltInName::gl_SampleID, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kgl_SamplePosition( - BuiltInId::gl_SamplePosition, - BuiltInName::gl_SamplePosition, - SymbolType::BuiltIn, - TExtension::OES_sample_variables, - StaticType::Get()); -constexpr const TVariable kgl_SamplePositionES3_2( - BuiltInId::gl_SamplePositionES3_2, - BuiltInName::gl_SamplePosition, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_SecondaryFragColorEXT( BuiltInId::gl_SecondaryFragColorEXT, BuiltInName::gl_SecondaryFragColorEXT, SymbolType::BuiltIn, TExtension::EXT_blend_func_extended, StaticType::Get()); -constexpr const TVariable kgl_TessCoord(BuiltInId::gl_TessCoord, - BuiltInName::gl_TessCoord, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kgl_VertexID(BuiltInId::gl_VertexID, BuiltInName::gl_VertexID, SymbolType::BuiltIn, @@ -4089,88 +3797,103 @@ constexpr const TVariable kpt01W( SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01X( - BuiltInId::pt01X, +constexpr const TVariable kpt01X(BuiltInId::pt01X, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01Y(BuiltInId::pt01Y, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01Z(BuiltInId::pt01Z, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01a( + BuiltInId::pt01a, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01Y( - BuiltInId::pt01Y, +constexpr const TVariable kpt01b( + BuiltInId::pt01b, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01Z( - BuiltInId::pt01Z, +constexpr const TVariable kpt01c( + BuiltInId::pt01c, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01a(BuiltInId::pt01a, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01b(BuiltInId::pt01b, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01c(BuiltInId::pt01c, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kpt01d(BuiltInId::pt01d, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kpt01e(BuiltInId::pt01e, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kpt01f(BuiltInId::pt01f, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kpt01g(BuiltInId::pt01g, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01h(BuiltInId::pt01h, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01i(BuiltInId::pt01i, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01j(BuiltInId::pt01j, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, StaticType::Get()); -constexpr const TVariable kpt01h( - BuiltInId::pt01h, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01i( - BuiltInId::pt01i, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); -constexpr const TVariable kpt01j( - BuiltInId::pt01j, - BuiltInName::_empty, - SymbolType::BuiltIn, - TExtension::UNDEFINED, - StaticType::Get()); constexpr const TVariable kpt01k( BuiltInId::pt01k, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); + StaticType::Get()); constexpr const TVariable kpt01l( BuiltInId::pt01l, BuiltInName::_empty, SymbolType::BuiltIn, TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01m( + BuiltInId::pt01m, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01n( + BuiltInId::pt01n, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, + StaticType::Get()); +constexpr const TVariable kpt01o( + BuiltInId::pt01o, + BuiltInName::_empty, + SymbolType::BuiltIn, + TExtension::UNDEFINED, StaticType::Get()); constexpr const TVariable kpt10B(BuiltInId::pt10B, BuiltInName::_empty, @@ -4459,21 +4182,6 @@ const TVariable *gl_InvocationID() return &kgl_InvocationID; } -const TVariable *gl_InvocationIDES3_2() -{ - return &kgl_InvocationIDES3_2; -} - -const TVariable *gl_InvocationIDTCS() -{ - return &kgl_InvocationIDTCS; -} - -const TVariable *gl_InvocationIDTCSES3_2() -{ - return &kgl_InvocationIDTCSES3_2; -} - const TVariable *gl_LastFragColor() { return &kgl_LastFragColor; @@ -4489,21 +4197,11 @@ const TVariable *gl_Layer() return &kgl_Layer; } -const TVariable *gl_LayerES3_2() -{ - return &kgl_LayerES3_2; -} - const TVariable *gl_LayerGS() { return &kgl_LayerGS; } -const TVariable *gl_LayerGSES3_2() -{ - return &kgl_LayerGSES3_2; -} - const TVariable *gl_LayerVS() { return &kgl_LayerVS; @@ -4519,41 +4217,11 @@ const TVariable *gl_LocalInvocationIndex() return &kgl_LocalInvocationIndex; } -const TVariable *gl_NumSamples() -{ - return &kgl_NumSamples; -} - -const TVariable *gl_NumSamplesES3_2() -{ - return &kgl_NumSamplesES3_2; -} - const TVariable *gl_NumWorkGroups() { return &kgl_NumWorkGroups; } -const TVariable *gl_PatchVerticesInTCS() -{ - return &kgl_PatchVerticesInTCS; -} - -const TVariable *gl_PatchVerticesInTCSES3_2() -{ - return &kgl_PatchVerticesInTCSES3_2; -} - -const TVariable *gl_PatchVerticesInTES() -{ - return &kgl_PatchVerticesInTES; -} - -const TVariable *gl_PatchVerticesInTESES3_2() -{ - return &kgl_PatchVerticesInTESES3_2; -} - const TVariable *gl_PointCoord() { return &kgl_PointCoord; @@ -4574,81 +4242,21 @@ const TVariable *gl_PrimitiveID() return &kgl_PrimitiveID; } -const TVariable *gl_PrimitiveIDES3_2() -{ - return &kgl_PrimitiveIDES3_2; -} - const TVariable *gl_PrimitiveIDGS() { return &kgl_PrimitiveIDGS; } -const TVariable *gl_PrimitiveIDGSES3_2() -{ - return &kgl_PrimitiveIDGSES3_2; -} - const TVariable *gl_PrimitiveIDIn() { return &kgl_PrimitiveIDIn; } -const TVariable *gl_PrimitiveIDInES3_2() -{ - return &kgl_PrimitiveIDInES3_2; -} - -const TVariable *gl_PrimitiveIDTCS() -{ - return &kgl_PrimitiveIDTCS; -} - -const TVariable *gl_PrimitiveIDTCSES3_2() -{ - return &kgl_PrimitiveIDTCSES3_2; -} - -const TVariable *gl_PrimitiveIDTES() -{ - return &kgl_PrimitiveIDTES; -} - -const TVariable *gl_PrimitiveIDTESES3_2() -{ - return &kgl_PrimitiveIDTESES3_2; -} - -const TVariable *gl_SampleID() -{ - return &kgl_SampleID; -} - -const TVariable *gl_SampleIDES3_2() -{ - return &kgl_SampleIDES3_2; -} - -const TVariable *gl_SamplePosition() -{ - return &kgl_SamplePosition; -} - -const TVariable *gl_SamplePositionES3_2() -{ - return &kgl_SamplePositionES3_2; -} - const TVariable *gl_SecondaryFragColorEXT() { return &kgl_SecondaryFragColorEXT; } -const TVariable *gl_TessCoord() -{ - return &kgl_TessCoord; -} - const TVariable *gl_VertexID() { return &kgl_VertexID; @@ -5481,84 +5089,87 @@ constexpr const TVariable *p01W20D00D00E00E[5] = { &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; constexpr const TVariable *p01W20D00D30E[4] = {&BuiltInVariable::kpt01W, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30E}; -constexpr const TVariable *p01X20D00B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01X20D00D00D[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00D00D[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01X20D00E00E[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D00E00E[4] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01X20D30B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01X10D30B[3] = {&BuiltInVariable::kpt01X, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt30B}; -constexpr const TVariable *p01Y20D00B[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Y10D00B[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01Y20D00D00D[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Y10D00D00D[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01Y20D00E00E[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Y10D00E00E[4] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01Y20D30D[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Y10D30D[3] = {&BuiltInVariable::kpt01Y, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt30D}; -constexpr const TVariable *p01Z20D00B[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Z10D00B[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01Z20D00D00D[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Z10D00D00D[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01Z20D00E00E[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Z10D00E00E[4] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01Z20D30E[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt20D, +constexpr const TVariable *p01Z10D30E[3] = {&BuiltInVariable::kpt01Z, &BuiltInVariable::kpt10D, &BuiltInVariable::kpt30E}; -constexpr const TVariable *p01a10D00B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01a20D00B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01a10D00D00D[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01a20D00D00D[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01a10D00E00E[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01a20D00E00E[4] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01a10D30B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01a20D30B[3] = {&BuiltInVariable::kpt01a, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30B}; -constexpr const TVariable *p01b10D00B[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01b20D00B[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01b10D00D00D[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01b20D00D00D[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01b10D00E00E[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01b20D00E00E[4] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01b10D30D[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01b20D30D[3] = {&BuiltInVariable::kpt01b, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30D}; -constexpr const TVariable *p01c10D00B[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01c20D00B[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01c10D00D00D[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01c20D00D00D[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01c10D00E00E[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01c20D00E00E[4] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01c10D30E[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt10D, +constexpr const TVariable *p01c20D30E[3] = {&BuiltInVariable::kpt01c, &BuiltInVariable::kpt20D, &BuiltInVariable::kpt30E}; -constexpr const TVariable *p01d00D00B[3] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01d[1] = {&BuiltInVariable::kpt01d}; +constexpr const TVariable *p01e[1] = {&BuiltInVariable::kpt01e}; +constexpr const TVariable *p01f[1] = {&BuiltInVariable::kpt01f}; +constexpr const TVariable *p01g00D00B[3] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01d00D00D00D[4] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01g00D00D00D[4] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01d00D00E00E[4] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01g00D00E00E[4] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01d00D30B[3] = {&BuiltInVariable::kpt01d, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01g00D30B[3] = {&BuiltInVariable::kpt01g, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30B}; -constexpr const TVariable *p01e00D00B[3] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00B[3] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01e00D00D00D[4] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00D00D[4] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01e00D00E00E[4] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D00E00E[4] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01e00D30D[3] = {&BuiltInVariable::kpt01e, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01h00D30D[3] = {&BuiltInVariable::kpt01h, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30D}; -constexpr const TVariable *p01f00D00B[3] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00B[3] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00B}; -constexpr const TVariable *p01f00D00D00D[4] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00D00D[4] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01f00D00E00E[4] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D00E00E[4] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt00E, &BuiltInVariable::kpt00E}; -constexpr const TVariable *p01f00D30E[3] = {&BuiltInVariable::kpt01f, &BuiltInVariable::kpt00D, +constexpr const TVariable *p01i00D30E[3] = {&BuiltInVariable::kpt01i, &BuiltInVariable::kpt00D, &BuiltInVariable::kpt30E}; -constexpr const TVariable *p01g[1] = {&BuiltInVariable::kpt01g}; -constexpr const TVariable *p01h[1] = {&BuiltInVariable::kpt01h}; -constexpr const TVariable *p01i[1] = {&BuiltInVariable::kpt01i}; -constexpr const TVariable *p01j00D[2] = {&BuiltInVariable::kpt01j, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01k00D[2] = {&BuiltInVariable::kpt01k, &BuiltInVariable::kpt00D}; -constexpr const TVariable *p01l00D[2] = {&BuiltInVariable::kpt01l, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01j[1] = {&BuiltInVariable::kpt01j}; +constexpr const TVariable *p01k[1] = {&BuiltInVariable::kpt01k}; +constexpr const TVariable *p01l[1] = {&BuiltInVariable::kpt01l}; +constexpr const TVariable *p01m00D[2] = {&BuiltInVariable::kpt01m, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01n00D[2] = {&BuiltInVariable::kpt01n, &BuiltInVariable::kpt00D}; +constexpr const TVariable *p01o00D[2] = {&BuiltInVariable::kpt01o, &BuiltInVariable::kpt00D}; constexpr const TVariable *p10B00B00B[3] = {&BuiltInVariable::kpt10B, &BuiltInVariable::kpt00B, &BuiltInVariable::kpt00B}; constexpr const TVariable *p10B00D[2] = {&BuiltInVariable::kpt10B, &BuiltInVariable::kpt00D}; @@ -5744,7 +5355,7 @@ namespace Func constexpr const TFunction radians_00B(BuiltInId::radians_Float1, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRadians, @@ -5752,7 +5363,7 @@ constexpr const TFunction radians_00B(BuiltInId::radians_Float1, constexpr const TFunction radians_10B(BuiltInId::radians_Float2, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRadians, @@ -5760,7 +5371,7 @@ constexpr const TFunction radians_10B(BuiltInId::radians_Float2, constexpr const TFunction radians_20B(BuiltInId::radians_Float3, BuiltInName::radians, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpRadians, @@ -5776,7 +5387,7 @@ constexpr const TFunction radians_30B(BuiltInId::radians_Float4, constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDegrees, @@ -5784,7 +5395,7 @@ constexpr const TFunction degrees_00B(BuiltInId::degrees_Float1, constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDegrees, @@ -5792,7 +5403,7 @@ constexpr const TFunction degrees_10B(BuiltInId::degrees_Float2, constexpr const TFunction degrees_20B(BuiltInId::degrees_Float3, BuiltInName::degrees, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpDegrees, @@ -5808,7 +5419,7 @@ constexpr const TFunction degrees_30B(BuiltInId::degrees_Float4, constexpr const TFunction sin_00B(BuiltInId::sin_Float1, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSin, @@ -5816,7 +5427,7 @@ constexpr const TFunction sin_00B(BuiltInId::sin_Float1, constexpr const TFunction sin_10B(BuiltInId::sin_Float2, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSin, @@ -5824,7 +5435,7 @@ constexpr const TFunction sin_10B(BuiltInId::sin_Float2, constexpr const TFunction sin_20B(BuiltInId::sin_Float3, BuiltInName::sin, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpSin, @@ -5840,7 +5451,7 @@ constexpr const TFunction sin_30B(BuiltInId::sin_Float4, constexpr const TFunction cos_00B(BuiltInId::cos_Float1, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCos, @@ -5848,7 +5459,7 @@ constexpr const TFunction cos_00B(BuiltInId::cos_Float1, constexpr const TFunction cos_10B(BuiltInId::cos_Float2, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCos, @@ -5856,7 +5467,7 @@ constexpr const TFunction cos_10B(BuiltInId::cos_Float2, constexpr const TFunction cos_20B(BuiltInId::cos_Float3, BuiltInName::cos, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCos, @@ -5872,7 +5483,7 @@ constexpr const TFunction cos_30B(BuiltInId::cos_Float4, constexpr const TFunction tan_00B(BuiltInId::tan_Float1, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTan, @@ -5880,7 +5491,7 @@ constexpr const TFunction tan_00B(BuiltInId::tan_Float1, constexpr const TFunction tan_10B(BuiltInId::tan_Float2, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTan, @@ -5888,7 +5499,7 @@ constexpr const TFunction tan_10B(BuiltInId::tan_Float2, constexpr const TFunction tan_20B(BuiltInId::tan_Float3, BuiltInName::tan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpTan, @@ -5904,7 +5515,7 @@ constexpr const TFunction tan_30B(BuiltInId::tan_Float4, constexpr const TFunction asin_00B(BuiltInId::asin_Float1, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAsin, @@ -5912,7 +5523,7 @@ constexpr const TFunction asin_00B(BuiltInId::asin_Float1, constexpr const TFunction asin_10B(BuiltInId::asin_Float2, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAsin, @@ -5920,7 +5531,7 @@ constexpr const TFunction asin_10B(BuiltInId::asin_Float2, constexpr const TFunction asin_20B(BuiltInId::asin_Float3, BuiltInName::asin, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAsin, @@ -5936,7 +5547,7 @@ constexpr const TFunction asin_30B(BuiltInId::asin_Float4, constexpr const TFunction acos_00B(BuiltInId::acos_Float1, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAcos, @@ -5944,7 +5555,7 @@ constexpr const TFunction acos_00B(BuiltInId::acos_Float1, constexpr const TFunction acos_10B(BuiltInId::acos_Float2, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAcos, @@ -5952,7 +5563,7 @@ constexpr const TFunction acos_10B(BuiltInId::acos_Float2, constexpr const TFunction acos_20B(BuiltInId::acos_Float3, BuiltInName::acos, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAcos, @@ -5968,7 +5579,7 @@ constexpr const TFunction acos_30B(BuiltInId::acos_Float4, constexpr const TFunction atan_00B00B(BuiltInId::atan_Float1_Float1, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpAtan, @@ -5976,7 +5587,7 @@ constexpr const TFunction atan_00B00B(BuiltInId::atan_Float1_Float1, constexpr const TFunction atan_10B10B(BuiltInId::atan_Float2_Float2, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpAtan, @@ -5984,7 +5595,7 @@ constexpr const TFunction atan_10B10B(BuiltInId::atan_Float2_Float2, constexpr const TFunction atan_20B20B(BuiltInId::atan_Float3_Float3, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpAtan, @@ -5992,7 +5603,7 @@ constexpr const TFunction atan_20B20B(BuiltInId::atan_Float3_Float3, constexpr const TFunction atan_30B30B(BuiltInId::atan_Float4_Float4, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpAtan, @@ -6000,7 +5611,7 @@ constexpr const TFunction atan_30B30B(BuiltInId::atan_Float4_Float4, constexpr const TFunction atan_00B(BuiltInId::atan_Float1, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAtan, @@ -6008,7 +5619,7 @@ constexpr const TFunction atan_00B(BuiltInId::atan_Float1, constexpr const TFunction atan_10B(BuiltInId::atan_Float2, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAtan, @@ -6016,7 +5627,7 @@ constexpr const TFunction atan_10B(BuiltInId::atan_Float2, constexpr const TFunction atan_20B(BuiltInId::atan_Float3, BuiltInName::atan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAtan, @@ -6032,7 +5643,7 @@ constexpr const TFunction atan_30B(BuiltInId::atan_Float4, constexpr const TFunction sinh_00B(BuiltInId::sinh_Float1, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSinh, @@ -6040,7 +5651,7 @@ constexpr const TFunction sinh_00B(BuiltInId::sinh_Float1, constexpr const TFunction sinh_10B(BuiltInId::sinh_Float2, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSinh, @@ -6048,7 +5659,7 @@ constexpr const TFunction sinh_10B(BuiltInId::sinh_Float2, constexpr const TFunction sinh_20B(BuiltInId::sinh_Float3, BuiltInName::sinh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpSinh, @@ -6064,7 +5675,7 @@ constexpr const TFunction sinh_30B(BuiltInId::sinh_Float4, constexpr const TFunction cosh_00B(BuiltInId::cosh_Float1, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCosh, @@ -6072,7 +5683,7 @@ constexpr const TFunction cosh_00B(BuiltInId::cosh_Float1, constexpr const TFunction cosh_10B(BuiltInId::cosh_Float2, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCosh, @@ -6080,7 +5691,7 @@ constexpr const TFunction cosh_10B(BuiltInId::cosh_Float2, constexpr const TFunction cosh_20B(BuiltInId::cosh_Float3, BuiltInName::cosh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCosh, @@ -6096,7 +5707,7 @@ constexpr const TFunction cosh_30B(BuiltInId::cosh_Float4, constexpr const TFunction tanh_00B(BuiltInId::tanh_Float1, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTanh, @@ -6104,7 +5715,7 @@ constexpr const TFunction tanh_00B(BuiltInId::tanh_Float1, constexpr const TFunction tanh_10B(BuiltInId::tanh_Float2, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTanh, @@ -6112,7 +5723,7 @@ constexpr const TFunction tanh_10B(BuiltInId::tanh_Float2, constexpr const TFunction tanh_20B(BuiltInId::tanh_Float3, BuiltInName::tanh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpTanh, @@ -6128,7 +5739,7 @@ constexpr const TFunction tanh_30B(BuiltInId::tanh_Float4, constexpr const TFunction asinh_00B(BuiltInId::asinh_Float1, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAsinh, @@ -6136,7 +5747,7 @@ constexpr const TFunction asinh_00B(BuiltInId::asinh_Float1, constexpr const TFunction asinh_10B(BuiltInId::asinh_Float2, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAsinh, @@ -6144,7 +5755,7 @@ constexpr const TFunction asinh_10B(BuiltInId::asinh_Float2, constexpr const TFunction asinh_20B(BuiltInId::asinh_Float3, BuiltInName::asinh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAsinh, @@ -6160,7 +5771,7 @@ constexpr const TFunction asinh_30B(BuiltInId::asinh_Float4, constexpr const TFunction acosh_00B(BuiltInId::acosh_Float1, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAcosh, @@ -6168,7 +5779,7 @@ constexpr const TFunction acosh_00B(BuiltInId::acosh_Float1, constexpr const TFunction acosh_10B(BuiltInId::acosh_Float2, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAcosh, @@ -6176,7 +5787,7 @@ constexpr const TFunction acosh_10B(BuiltInId::acosh_Float2, constexpr const TFunction acosh_20B(BuiltInId::acosh_Float3, BuiltInName::acosh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAcosh, @@ -6192,7 +5803,7 @@ constexpr const TFunction acosh_30B(BuiltInId::acosh_Float4, constexpr const TFunction atanh_00B(BuiltInId::atanh_Float1, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAtanh, @@ -6200,7 +5811,7 @@ constexpr const TFunction atanh_00B(BuiltInId::atanh_Float1, constexpr const TFunction atanh_10B(BuiltInId::atanh_Float2, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAtanh, @@ -6208,7 +5819,7 @@ constexpr const TFunction atanh_10B(BuiltInId::atanh_Float2, constexpr const TFunction atanh_20B(BuiltInId::atanh_Float3, BuiltInName::atanh, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAtanh, @@ -6224,7 +5835,7 @@ constexpr const TFunction atanh_30B(BuiltInId::atanh_Float4, constexpr const TFunction pow_00B00B(BuiltInId::pow_Float1_Float1, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpPow, @@ -6232,7 +5843,7 @@ constexpr const TFunction pow_00B00B(BuiltInId::pow_Float1_Float1, constexpr const TFunction pow_10B10B(BuiltInId::pow_Float2_Float2, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpPow, @@ -6240,7 +5851,7 @@ constexpr const TFunction pow_10B10B(BuiltInId::pow_Float2_Float2, constexpr const TFunction pow_20B20B(BuiltInId::pow_Float3_Float3, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpPow, @@ -6248,7 +5859,7 @@ constexpr const TFunction pow_20B20B(BuiltInId::pow_Float3_Float3, constexpr const TFunction pow_30B30B(BuiltInId::pow_Float4_Float4, BuiltInName::pow, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpPow, @@ -6256,7 +5867,7 @@ constexpr const TFunction pow_30B30B(BuiltInId::pow_Float4_Float4, constexpr const TFunction exp_00B(BuiltInId::exp_Float1, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpExp, @@ -6264,7 +5875,7 @@ constexpr const TFunction exp_00B(BuiltInId::exp_Float1, constexpr const TFunction exp_10B(BuiltInId::exp_Float2, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpExp, @@ -6272,7 +5883,7 @@ constexpr const TFunction exp_10B(BuiltInId::exp_Float2, constexpr const TFunction exp_20B(BuiltInId::exp_Float3, BuiltInName::exp, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpExp, @@ -6288,7 +5899,7 @@ constexpr const TFunction exp_30B(BuiltInId::exp_Float4, constexpr const TFunction log_00B(BuiltInId::log_Float1, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLog, @@ -6296,7 +5907,7 @@ constexpr const TFunction log_00B(BuiltInId::log_Float1, constexpr const TFunction log_10B(BuiltInId::log_Float2, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLog, @@ -6304,7 +5915,7 @@ constexpr const TFunction log_10B(BuiltInId::log_Float2, constexpr const TFunction log_20B(BuiltInId::log_Float3, BuiltInName::log, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpLog, @@ -6320,7 +5931,7 @@ constexpr const TFunction log_30B(BuiltInId::log_Float4, constexpr const TFunction exp2_00B(BuiltInId::exp2_Float1, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpExp2, @@ -6328,7 +5939,7 @@ constexpr const TFunction exp2_00B(BuiltInId::exp2_Float1, constexpr const TFunction exp2_10B(BuiltInId::exp2_Float2, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpExp2, @@ -6336,7 +5947,7 @@ constexpr const TFunction exp2_10B(BuiltInId::exp2_Float2, constexpr const TFunction exp2_20B(BuiltInId::exp2_Float3, BuiltInName::exp2, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpExp2, @@ -6352,7 +5963,7 @@ constexpr const TFunction exp2_30B(BuiltInId::exp2_Float4, constexpr const TFunction log2_00B(BuiltInId::log2_Float1, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLog2, @@ -6360,7 +5971,7 @@ constexpr const TFunction log2_00B(BuiltInId::log2_Float1, constexpr const TFunction log2_10B(BuiltInId::log2_Float2, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLog2, @@ -6368,7 +5979,7 @@ constexpr const TFunction log2_10B(BuiltInId::log2_Float2, constexpr const TFunction log2_20B(BuiltInId::log2_Float3, BuiltInName::log2, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpLog2, @@ -6384,7 +5995,7 @@ constexpr const TFunction log2_30B(BuiltInId::log2_Float4, constexpr const TFunction sqrt_00B(BuiltInId::sqrt_Float1, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSqrt, @@ -6392,7 +6003,7 @@ constexpr const TFunction sqrt_00B(BuiltInId::sqrt_Float1, constexpr const TFunction sqrt_10B(BuiltInId::sqrt_Float2, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSqrt, @@ -6400,7 +6011,7 @@ constexpr const TFunction sqrt_10B(BuiltInId::sqrt_Float2, constexpr const TFunction sqrt_20B(BuiltInId::sqrt_Float3, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpSqrt, @@ -6416,7 +6027,7 @@ constexpr const TFunction sqrt_30B(BuiltInId::sqrt_Float4, constexpr const TFunction sqrt_00C(BuiltInId::sqrt_Double1, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpSqrt, @@ -6424,7 +6035,7 @@ constexpr const TFunction sqrt_00C(BuiltInId::sqrt_Double1, constexpr const TFunction sqrt_10C(BuiltInId::sqrt_Double2, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpSqrt, @@ -6432,7 +6043,7 @@ constexpr const TFunction sqrt_10C(BuiltInId::sqrt_Double2, constexpr const TFunction sqrt_20C(BuiltInId::sqrt_Double3, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpSqrt, @@ -6440,7 +6051,7 @@ constexpr const TFunction sqrt_20C(BuiltInId::sqrt_Double3, constexpr const TFunction sqrt_30C(BuiltInId::sqrt_Double4, BuiltInName::sqrt, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpSqrt, @@ -6449,7 +6060,7 @@ constexpr const TFunction inversesqrt_00B( BuiltInId::inversesqrt_Float1, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpInversesqrt, @@ -6458,7 +6069,7 @@ constexpr const TFunction inversesqrt_10B( BuiltInId::inversesqrt_Float2, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpInversesqrt, @@ -6467,7 +6078,7 @@ constexpr const TFunction inversesqrt_20B( BuiltInId::inversesqrt_Float3, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpInversesqrt, @@ -6485,7 +6096,7 @@ constexpr const TFunction inversesqrt_00C( BuiltInId::inversesqrt_Double1, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpInversesqrt, @@ -6494,7 +6105,7 @@ constexpr const TFunction inversesqrt_10C( BuiltInId::inversesqrt_Double2, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpInversesqrt, @@ -6503,7 +6114,7 @@ constexpr const TFunction inversesqrt_20C( BuiltInId::inversesqrt_Double3, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpInversesqrt, @@ -6512,7 +6123,7 @@ constexpr const TFunction inversesqrt_30C( BuiltInId::inversesqrt_Double4, BuiltInName::inversesqrt, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpInversesqrt, @@ -6520,7 +6131,7 @@ constexpr const TFunction inversesqrt_30C( constexpr const TFunction abs_00B(BuiltInId::abs_Float1, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpAbs, @@ -6528,7 +6139,7 @@ constexpr const TFunction abs_00B(BuiltInId::abs_Float1, constexpr const TFunction abs_10B(BuiltInId::abs_Float2, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpAbs, @@ -6536,7 +6147,7 @@ constexpr const TFunction abs_10B(BuiltInId::abs_Float2, constexpr const TFunction abs_20B(BuiltInId::abs_Float3, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpAbs, @@ -6560,7 +6171,7 @@ constexpr const TFunction abs_00D(BuiltInId::abs_Int1, constexpr const TFunction abs_10D(BuiltInId::abs_Int2, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpAbs, @@ -6568,7 +6179,7 @@ constexpr const TFunction abs_10D(BuiltInId::abs_Int2, constexpr const TFunction abs_20D(BuiltInId::abs_Int3, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpAbs, @@ -6576,7 +6187,7 @@ constexpr const TFunction abs_20D(BuiltInId::abs_Int3, constexpr const TFunction abs_30D(BuiltInId::abs_Int4, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpAbs, @@ -6584,7 +6195,7 @@ constexpr const TFunction abs_30D(BuiltInId::abs_Int4, constexpr const TFunction abs_00C(BuiltInId::abs_Double1, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpAbs, @@ -6592,7 +6203,7 @@ constexpr const TFunction abs_00C(BuiltInId::abs_Double1, constexpr const TFunction abs_10C(BuiltInId::abs_Double2, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpAbs, @@ -6600,7 +6211,7 @@ constexpr const TFunction abs_10C(BuiltInId::abs_Double2, constexpr const TFunction abs_20C(BuiltInId::abs_Double3, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpAbs, @@ -6608,7 +6219,7 @@ constexpr const TFunction abs_20C(BuiltInId::abs_Double3, constexpr const TFunction abs_30C(BuiltInId::abs_Double4, BuiltInName::abs, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpAbs, @@ -6616,7 +6227,7 @@ constexpr const TFunction abs_30C(BuiltInId::abs_Double4, constexpr const TFunction sign_00B(BuiltInId::sign_Float1, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpSign, @@ -6624,7 +6235,7 @@ constexpr const TFunction sign_00B(BuiltInId::sign_Float1, constexpr const TFunction sign_10B(BuiltInId::sign_Float2, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpSign, @@ -6632,7 +6243,7 @@ constexpr const TFunction sign_10B(BuiltInId::sign_Float2, constexpr const TFunction sign_20B(BuiltInId::sign_Float3, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpSign, @@ -6656,7 +6267,7 @@ constexpr const TFunction sign_00D(BuiltInId::sign_Int1, constexpr const TFunction sign_10D(BuiltInId::sign_Int2, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpSign, @@ -6664,7 +6275,7 @@ constexpr const TFunction sign_10D(BuiltInId::sign_Int2, constexpr const TFunction sign_20D(BuiltInId::sign_Int3, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpSign, @@ -6672,7 +6283,7 @@ constexpr const TFunction sign_20D(BuiltInId::sign_Int3, constexpr const TFunction sign_30D(BuiltInId::sign_Int4, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpSign, @@ -6680,7 +6291,7 @@ constexpr const TFunction sign_30D(BuiltInId::sign_Int4, constexpr const TFunction sign_00C(BuiltInId::sign_Double1, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpSign, @@ -6688,7 +6299,7 @@ constexpr const TFunction sign_00C(BuiltInId::sign_Double1, constexpr const TFunction sign_10C(BuiltInId::sign_Double2, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpSign, @@ -6696,7 +6307,7 @@ constexpr const TFunction sign_10C(BuiltInId::sign_Double2, constexpr const TFunction sign_20C(BuiltInId::sign_Double3, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpSign, @@ -6704,7 +6315,7 @@ constexpr const TFunction sign_20C(BuiltInId::sign_Double3, constexpr const TFunction sign_30C(BuiltInId::sign_Double4, BuiltInName::sign, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpSign, @@ -6712,7 +6323,7 @@ constexpr const TFunction sign_30C(BuiltInId::sign_Double4, constexpr const TFunction floor_00B(BuiltInId::floor_Float1, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloor, @@ -6720,7 +6331,7 @@ constexpr const TFunction floor_00B(BuiltInId::floor_Float1, constexpr const TFunction floor_10B(BuiltInId::floor_Float2, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloor, @@ -6728,7 +6339,7 @@ constexpr const TFunction floor_10B(BuiltInId::floor_Float2, constexpr const TFunction floor_20B(BuiltInId::floor_Float3, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFloor, @@ -6744,7 +6355,7 @@ constexpr const TFunction floor_30B(BuiltInId::floor_Float4, constexpr const TFunction floor_00C(BuiltInId::floor_Double1, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpFloor, @@ -6752,7 +6363,7 @@ constexpr const TFunction floor_00C(BuiltInId::floor_Double1, constexpr const TFunction floor_10C(BuiltInId::floor_Double2, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpFloor, @@ -6760,7 +6371,7 @@ constexpr const TFunction floor_10C(BuiltInId::floor_Double2, constexpr const TFunction floor_20C(BuiltInId::floor_Double3, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpFloor, @@ -6768,7 +6379,7 @@ constexpr const TFunction floor_20C(BuiltInId::floor_Double3, constexpr const TFunction floor_30C(BuiltInId::floor_Double4, BuiltInName::floor, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpFloor, @@ -6776,7 +6387,7 @@ constexpr const TFunction floor_30C(BuiltInId::floor_Double4, constexpr const TFunction trunc_00B(BuiltInId::trunc_Float1, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpTrunc, @@ -6784,7 +6395,7 @@ constexpr const TFunction trunc_00B(BuiltInId::trunc_Float1, constexpr const TFunction trunc_10B(BuiltInId::trunc_Float2, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpTrunc, @@ -6792,7 +6403,7 @@ constexpr const TFunction trunc_10B(BuiltInId::trunc_Float2, constexpr const TFunction trunc_20B(BuiltInId::trunc_Float3, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpTrunc, @@ -6808,7 +6419,7 @@ constexpr const TFunction trunc_30B(BuiltInId::trunc_Float4, constexpr const TFunction trunc_00C(BuiltInId::trunc_Double1, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpTrunc, @@ -6816,7 +6427,7 @@ constexpr const TFunction trunc_00C(BuiltInId::trunc_Double1, constexpr const TFunction trunc_10C(BuiltInId::trunc_Double2, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpTrunc, @@ -6824,7 +6435,7 @@ constexpr const TFunction trunc_10C(BuiltInId::trunc_Double2, constexpr const TFunction trunc_20C(BuiltInId::trunc_Double3, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpTrunc, @@ -6832,7 +6443,7 @@ constexpr const TFunction trunc_20C(BuiltInId::trunc_Double3, constexpr const TFunction trunc_30C(BuiltInId::trunc_Double4, BuiltInName::trunc, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpTrunc, @@ -6840,7 +6451,7 @@ constexpr const TFunction trunc_30C(BuiltInId::trunc_Double4, constexpr const TFunction round_00B(BuiltInId::round_Float1, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRound, @@ -6848,7 +6459,7 @@ constexpr const TFunction round_00B(BuiltInId::round_Float1, constexpr const TFunction round_10B(BuiltInId::round_Float2, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRound, @@ -6856,7 +6467,7 @@ constexpr const TFunction round_10B(BuiltInId::round_Float2, constexpr const TFunction round_20B(BuiltInId::round_Float3, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpRound, @@ -6872,7 +6483,7 @@ constexpr const TFunction round_30B(BuiltInId::round_Float4, constexpr const TFunction round_00C(BuiltInId::round_Double1, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpRound, @@ -6880,7 +6491,7 @@ constexpr const TFunction round_00C(BuiltInId::round_Double1, constexpr const TFunction round_10C(BuiltInId::round_Double2, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpRound, @@ -6888,7 +6499,7 @@ constexpr const TFunction round_10C(BuiltInId::round_Double2, constexpr const TFunction round_20C(BuiltInId::round_Double3, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpRound, @@ -6896,7 +6507,7 @@ constexpr const TFunction round_20C(BuiltInId::round_Double3, constexpr const TFunction round_30C(BuiltInId::round_Double4, BuiltInName::round, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpRound, @@ -6904,7 +6515,7 @@ constexpr const TFunction round_30C(BuiltInId::round_Double4, constexpr const TFunction roundEven_00B(BuiltInId::roundEven_Float1, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpRoundEven, @@ -6912,7 +6523,7 @@ constexpr const TFunction roundEven_00B(BuiltInId::roundEven_Float1, constexpr const TFunction roundEven_10B(BuiltInId::roundEven_Float2, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpRoundEven, @@ -6920,7 +6531,7 @@ constexpr const TFunction roundEven_10B(BuiltInId::roundEven_Float2, constexpr const TFunction roundEven_20B(BuiltInId::roundEven_Float3, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpRoundEven, @@ -6936,7 +6547,7 @@ constexpr const TFunction roundEven_30B(BuiltInId::roundEven_Float4, constexpr const TFunction roundEven_00C(BuiltInId::roundEven_Double1, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpRoundEven, @@ -6944,7 +6555,7 @@ constexpr const TFunction roundEven_00C(BuiltInId::roundEven_Double1, constexpr const TFunction roundEven_10C(BuiltInId::roundEven_Double2, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpRoundEven, @@ -6952,7 +6563,7 @@ constexpr const TFunction roundEven_10C(BuiltInId::roundEven_Double2, constexpr const TFunction roundEven_20C(BuiltInId::roundEven_Double3, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpRoundEven, @@ -6960,7 +6571,7 @@ constexpr const TFunction roundEven_20C(BuiltInId::roundEven_Double3, constexpr const TFunction roundEven_30C(BuiltInId::roundEven_Double4, BuiltInName::roundEven, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpRoundEven, @@ -6968,7 +6579,7 @@ constexpr const TFunction roundEven_30C(BuiltInId::roundEven_Double4, constexpr const TFunction ceil_00B(BuiltInId::ceil_Float1, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCeil, @@ -6976,7 +6587,7 @@ constexpr const TFunction ceil_00B(BuiltInId::ceil_Float1, constexpr const TFunction ceil_10B(BuiltInId::ceil_Float2, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCeil, @@ -6984,7 +6595,7 @@ constexpr const TFunction ceil_10B(BuiltInId::ceil_Float2, constexpr const TFunction ceil_20B(BuiltInId::ceil_Float3, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCeil, @@ -7000,7 +6611,7 @@ constexpr const TFunction ceil_30B(BuiltInId::ceil_Float4, constexpr const TFunction ceil_00C(BuiltInId::ceil_Double1, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpCeil, @@ -7008,7 +6619,7 @@ constexpr const TFunction ceil_00C(BuiltInId::ceil_Double1, constexpr const TFunction ceil_10C(BuiltInId::ceil_Double2, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpCeil, @@ -7016,7 +6627,7 @@ constexpr const TFunction ceil_10C(BuiltInId::ceil_Double2, constexpr const TFunction ceil_20C(BuiltInId::ceil_Double3, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpCeil, @@ -7024,7 +6635,7 @@ constexpr const TFunction ceil_20C(BuiltInId::ceil_Double3, constexpr const TFunction ceil_30C(BuiltInId::ceil_Double4, BuiltInName::ceil, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpCeil, @@ -7032,7 +6643,7 @@ constexpr const TFunction ceil_30C(BuiltInId::ceil_Double4, constexpr const TFunction fract_00B(BuiltInId::fract_Float1, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFract, @@ -7040,7 +6651,7 @@ constexpr const TFunction fract_00B(BuiltInId::fract_Float1, constexpr const TFunction fract_10B(BuiltInId::fract_Float2, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFract, @@ -7048,7 +6659,7 @@ constexpr const TFunction fract_10B(BuiltInId::fract_Float2, constexpr const TFunction fract_20B(BuiltInId::fract_Float3, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFract, @@ -7064,7 +6675,7 @@ constexpr const TFunction fract_30B(BuiltInId::fract_Float4, constexpr const TFunction fract_00C(BuiltInId::fract_Double1, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpFract, @@ -7072,7 +6683,7 @@ constexpr const TFunction fract_00C(BuiltInId::fract_Double1, constexpr const TFunction fract_10C(BuiltInId::fract_Double2, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpFract, @@ -7080,7 +6691,7 @@ constexpr const TFunction fract_10C(BuiltInId::fract_Double2, constexpr const TFunction fract_20C(BuiltInId::fract_Double3, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpFract, @@ -7088,7 +6699,7 @@ constexpr const TFunction fract_20C(BuiltInId::fract_Double3, constexpr const TFunction fract_30C(BuiltInId::fract_Double4, BuiltInName::fract, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpFract, @@ -7096,7 +6707,7 @@ constexpr const TFunction fract_30C(BuiltInId::fract_Double4, constexpr const TFunction mod_00B00B(BuiltInId::mod_Float1_Float1, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpMod, @@ -7128,7 +6739,7 @@ constexpr const TFunction mod_30B00B(BuiltInId::mod_Float4_Float1, constexpr const TFunction mod_10B10B(BuiltInId::mod_Float2_Float2, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpMod, @@ -7136,7 +6747,7 @@ constexpr const TFunction mod_10B10B(BuiltInId::mod_Float2_Float2, constexpr const TFunction mod_20B20B(BuiltInId::mod_Float3_Float3, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpMod, @@ -7144,7 +6755,7 @@ constexpr const TFunction mod_20B20B(BuiltInId::mod_Float3_Float3, constexpr const TFunction mod_30B30B(BuiltInId::mod_Float4_Float4, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMod, @@ -7152,7 +6763,7 @@ constexpr const TFunction mod_30B30B(BuiltInId::mod_Float4_Float4, constexpr const TFunction mod_00C00C(BuiltInId::mod_Double1_Double1, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpMod, @@ -7192,7 +6803,7 @@ constexpr const TFunction mod_10C10C(BuiltInId::mod_Double2_Double2, constexpr const TFunction mod_20C20C(BuiltInId::mod_Double3_Double3, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpMod, @@ -7200,7 +6811,7 @@ constexpr const TFunction mod_20C20C(BuiltInId::mod_Double3_Double3, constexpr const TFunction mod_30C30C(BuiltInId::mod_Double4_Double4, BuiltInName::mod, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpMod, @@ -7208,7 +6819,7 @@ constexpr const TFunction mod_30C30C(BuiltInId::mod_Double4_Double4, constexpr const TFunction min_00B00B(BuiltInId::min_Float1_Float1, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpMin, @@ -7240,7 +6851,7 @@ constexpr const TFunction min_30B00B(BuiltInId::min_Float4_Float1, constexpr const TFunction min_10B10B(BuiltInId::min_Float2_Float2, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpMin, @@ -7248,7 +6859,7 @@ constexpr const TFunction min_10B10B(BuiltInId::min_Float2_Float2, constexpr const TFunction min_20B20B(BuiltInId::min_Float3_Float3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpMin, @@ -7256,7 +6867,7 @@ constexpr const TFunction min_20B20B(BuiltInId::min_Float3_Float3, constexpr const TFunction min_30B30B(BuiltInId::min_Float4_Float4, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMin, @@ -7264,7 +6875,7 @@ constexpr const TFunction min_30B30B(BuiltInId::min_Float4_Float4, constexpr const TFunction min_00C00C(BuiltInId::min_Double1_Double1, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpMin, @@ -7280,7 +6891,7 @@ constexpr const TFunction min_10C10C(BuiltInId::min_Double2_Double2, constexpr const TFunction min_20C20C(BuiltInId::min_Double3_Double3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpMin, @@ -7288,7 +6899,7 @@ constexpr const TFunction min_20C20C(BuiltInId::min_Double3_Double3, constexpr const TFunction min_30C30C(BuiltInId::min_Double4_Double4, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpMin, @@ -7328,7 +6939,7 @@ constexpr const TFunction min_00D00D(BuiltInId::min_Int1_Int1, constexpr const TFunction min_10D10D(BuiltInId::min_Int2_Int2, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpMin, @@ -7336,7 +6947,7 @@ constexpr const TFunction min_10D10D(BuiltInId::min_Int2_Int2, constexpr const TFunction min_20D20D(BuiltInId::min_Int3_Int3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpMin, @@ -7344,7 +6955,7 @@ constexpr const TFunction min_20D20D(BuiltInId::min_Int3_Int3, constexpr const TFunction min_30D30D(BuiltInId::min_Int4_Int4, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpMin, @@ -7376,7 +6987,7 @@ constexpr const TFunction min_30D00D(BuiltInId::min_Int4_Int1, constexpr const TFunction min_00E00E(BuiltInId::min_UInt1_UInt1, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 2, StaticType::Get(), EOpMin, @@ -7384,7 +6995,7 @@ constexpr const TFunction min_00E00E(BuiltInId::min_UInt1_UInt1, constexpr const TFunction min_10E10E(BuiltInId::min_UInt2_UInt2, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpMin, @@ -7392,7 +7003,7 @@ constexpr const TFunction min_10E10E(BuiltInId::min_UInt2_UInt2, constexpr const TFunction min_20E20E(BuiltInId::min_UInt3_UInt3, BuiltInName::min, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpMin, @@ -7432,7 +7043,7 @@ constexpr const TFunction min_30E00E(BuiltInId::min_UInt4_UInt1, constexpr const TFunction max_00B00B(BuiltInId::max_Float1_Float1, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpMax, @@ -7464,7 +7075,7 @@ constexpr const TFunction max_30B00B(BuiltInId::max_Float4_Float1, constexpr const TFunction max_10B10B(BuiltInId::max_Float2_Float2, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpMax, @@ -7472,7 +7083,7 @@ constexpr const TFunction max_10B10B(BuiltInId::max_Float2_Float2, constexpr const TFunction max_20B20B(BuiltInId::max_Float3_Float3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpMax, @@ -7480,7 +7091,7 @@ constexpr const TFunction max_20B20B(BuiltInId::max_Float3_Float3, constexpr const TFunction max_30B30B(BuiltInId::max_Float4_Float4, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpMax, @@ -7488,7 +7099,7 @@ constexpr const TFunction max_30B30B(BuiltInId::max_Float4_Float4, constexpr const TFunction max_00C00C(BuiltInId::max_Double1_Double1, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpMax, @@ -7504,7 +7115,7 @@ constexpr const TFunction max_10C10C(BuiltInId::max_Double2_Double2, constexpr const TFunction max_20C20C(BuiltInId::max_Double3_Double3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpMax, @@ -7512,7 +7123,7 @@ constexpr const TFunction max_20C20C(BuiltInId::max_Double3_Double3, constexpr const TFunction max_30C30C(BuiltInId::max_Double4_Double4, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpMax, @@ -7552,7 +7163,7 @@ constexpr const TFunction max_00D00D(BuiltInId::max_Int1_Int1, constexpr const TFunction max_10D10D(BuiltInId::max_Int2_Int2, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpMax, @@ -7560,7 +7171,7 @@ constexpr const TFunction max_10D10D(BuiltInId::max_Int2_Int2, constexpr const TFunction max_20D20D(BuiltInId::max_Int3_Int3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpMax, @@ -7568,7 +7179,7 @@ constexpr const TFunction max_20D20D(BuiltInId::max_Int3_Int3, constexpr const TFunction max_30D30D(BuiltInId::max_Int4_Int4, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpMax, @@ -7600,7 +7211,7 @@ constexpr const TFunction max_30D00D(BuiltInId::max_Int4_Int1, constexpr const TFunction max_00E00E(BuiltInId::max_UInt1_UInt1, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 2, StaticType::Get(), EOpMax, @@ -7608,7 +7219,7 @@ constexpr const TFunction max_00E00E(BuiltInId::max_UInt1_UInt1, constexpr const TFunction max_10E10E(BuiltInId::max_UInt2_UInt2, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpMax, @@ -7616,7 +7227,7 @@ constexpr const TFunction max_10E10E(BuiltInId::max_UInt2_UInt2, constexpr const TFunction max_20E20E(BuiltInId::max_UInt3_UInt3, BuiltInName::max, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpMax, @@ -8166,7 +7777,7 @@ constexpr const TFunction mix_30F30F30F(BuiltInId::mix_Bool4_Bool4_Bool4, constexpr const TFunction step_00B00B(BuiltInId::step_Float1_Float1, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpStep, @@ -8174,7 +7785,7 @@ constexpr const TFunction step_00B00B(BuiltInId::step_Float1_Float1, constexpr const TFunction step_10B10B(BuiltInId::step_Float2_Float2, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpStep, @@ -8182,7 +7793,7 @@ constexpr const TFunction step_10B10B(BuiltInId::step_Float2_Float2, constexpr const TFunction step_20B20B(BuiltInId::step_Float3_Float3, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpStep, @@ -8190,7 +7801,7 @@ constexpr const TFunction step_20B20B(BuiltInId::step_Float3_Float3, constexpr const TFunction step_30B30B(BuiltInId::step_Float4_Float4, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpStep, @@ -8222,7 +7833,7 @@ constexpr const TFunction step_00B30B(BuiltInId::step_Float1_Float4, constexpr const TFunction step_00C00C(BuiltInId::step_Double1_Double1, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpStep, @@ -8238,7 +7849,7 @@ constexpr const TFunction step_10C10C(BuiltInId::step_Double2_Double2, constexpr const TFunction step_20C20C(BuiltInId::step_Double3_Double3, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpStep, @@ -8246,7 +7857,7 @@ constexpr const TFunction step_20C20C(BuiltInId::step_Double3_Double3, constexpr const TFunction step_30C30C(BuiltInId::step_Double4_Double4, BuiltInName::step, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpStep, @@ -8468,7 +8079,7 @@ constexpr const TFunction modf_30C30C(BuiltInId::modf_Double4_Double4, constexpr const TFunction isnan_00B(BuiltInId::isnan_Float1, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpIsnan, @@ -8476,7 +8087,7 @@ constexpr const TFunction isnan_00B(BuiltInId::isnan_Float1, constexpr const TFunction isnan_10B(BuiltInId::isnan_Float2, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpIsnan, @@ -8484,7 +8095,7 @@ constexpr const TFunction isnan_10B(BuiltInId::isnan_Float2, constexpr const TFunction isnan_20B(BuiltInId::isnan_Float3, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpIsnan, @@ -8500,7 +8111,7 @@ constexpr const TFunction isnan_30B(BuiltInId::isnan_Float4, constexpr const TFunction isnan_00C(BuiltInId::isnan_Double1, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpIsnan, @@ -8508,7 +8119,7 @@ constexpr const TFunction isnan_00C(BuiltInId::isnan_Double1, constexpr const TFunction isnan_10C(BuiltInId::isnan_Double2, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpIsnan, @@ -8516,7 +8127,7 @@ constexpr const TFunction isnan_10C(BuiltInId::isnan_Double2, constexpr const TFunction isnan_20C(BuiltInId::isnan_Double3, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpIsnan, @@ -8524,7 +8135,7 @@ constexpr const TFunction isnan_20C(BuiltInId::isnan_Double3, constexpr const TFunction isnan_30C(BuiltInId::isnan_Double4, BuiltInName::isnan, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpIsnan, @@ -8532,7 +8143,7 @@ constexpr const TFunction isnan_30C(BuiltInId::isnan_Double4, constexpr const TFunction isinf_00B(BuiltInId::isinf_Float1, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpIsinf, @@ -8540,7 +8151,7 @@ constexpr const TFunction isinf_00B(BuiltInId::isinf_Float1, constexpr const TFunction isinf_10B(BuiltInId::isinf_Float2, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpIsinf, @@ -8548,7 +8159,7 @@ constexpr const TFunction isinf_10B(BuiltInId::isinf_Float2, constexpr const TFunction isinf_20B(BuiltInId::isinf_Float3, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpIsinf, @@ -8564,7 +8175,7 @@ constexpr const TFunction isinf_30B(BuiltInId::isinf_Float4, constexpr const TFunction isinf_00C(BuiltInId::isinf_Double1, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpIsinf, @@ -8572,7 +8183,7 @@ constexpr const TFunction isinf_00C(BuiltInId::isinf_Double1, constexpr const TFunction isinf_10C(BuiltInId::isinf_Double2, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpIsinf, @@ -8580,7 +8191,7 @@ constexpr const TFunction isinf_10C(BuiltInId::isinf_Double2, constexpr const TFunction isinf_20C(BuiltInId::isinf_Double3, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpIsinf, @@ -8588,7 +8199,7 @@ constexpr const TFunction isinf_20C(BuiltInId::isinf_Double3, constexpr const TFunction isinf_30C(BuiltInId::isinf_Double4, BuiltInName::isinf, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpIsinf, @@ -8597,7 +8208,7 @@ constexpr const TFunction floatBitsToInt_00B( BuiltInId::floatBitsToInt_Float1, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -8606,7 +8217,7 @@ constexpr const TFunction floatBitsToInt_10B( BuiltInId::floatBitsToInt_Float2, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -8615,7 +8226,7 @@ constexpr const TFunction floatBitsToInt_20B( BuiltInId::floatBitsToInt_Float3, BuiltInName::floatBitsToInt, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFloatBitsToInt, @@ -8633,7 +8244,7 @@ constexpr const TFunction floatBitsToUint_00B( BuiltInId::floatBitsToUint_Float1, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -8642,7 +8253,7 @@ constexpr const TFunction floatBitsToUint_10B( BuiltInId::floatBitsToUint_Float2, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -8651,7 +8262,7 @@ constexpr const TFunction floatBitsToUint_20B( BuiltInId::floatBitsToUint_Float3, BuiltInName::floatBitsToUint, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFloatBitsToUint, @@ -8678,7 +8289,7 @@ constexpr const TFunction intBitsToFloat_10D( BuiltInId::intBitsToFloat_Int2, BuiltInName::intBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpIntBitsToFloat, @@ -8687,7 +8298,7 @@ constexpr const TFunction intBitsToFloat_20D( BuiltInId::intBitsToFloat_Int3, BuiltInName::intBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpIntBitsToFloat, @@ -8696,7 +8307,7 @@ constexpr const TFunction intBitsToFloat_30D( BuiltInId::intBitsToFloat_Int4, BuiltInName::intBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpIntBitsToFloat, @@ -8705,7 +8316,7 @@ constexpr const TFunction uintBitsToFloat_00E( BuiltInId::uintBitsToFloat_UInt1, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -8714,7 +8325,7 @@ constexpr const TFunction uintBitsToFloat_10E( BuiltInId::uintBitsToFloat_UInt2, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -8723,7 +8334,7 @@ constexpr const TFunction uintBitsToFloat_20E( BuiltInId::uintBitsToFloat_UInt3, BuiltInName::uintBitsToFloat, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpUintBitsToFloat, @@ -8969,7 +8580,7 @@ constexpr const TFunction packSnorm2x16_10B( BuiltInId::packSnorm2x16_Float2, BuiltInName::packSnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackSnorm2x16, @@ -8978,7 +8589,7 @@ constexpr const TFunction packHalf2x16_10B( BuiltInId::packHalf2x16_Float2, BuiltInName::packHalf2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackHalf2x16, @@ -8987,7 +8598,7 @@ constexpr const TFunction unpackSnorm2x16_00E( BuiltInId::unpackSnorm2x16_UInt1, BuiltInName::unpackSnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackSnorm2x16, @@ -8996,7 +8607,7 @@ constexpr const TFunction unpackHalf2x16_00E( BuiltInId::unpackHalf2x16_UInt1, BuiltInName::unpackHalf2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackHalf2x16, @@ -9005,7 +8616,7 @@ constexpr const TFunction packUnorm2x16_10B( BuiltInId::packUnorm2x16_Float2, BuiltInName::packUnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpPackUnorm2x16, @@ -9014,7 +8625,7 @@ constexpr const TFunction unpackUnorm2x16_00E( BuiltInId::unpackUnorm2x16_UInt1, BuiltInName::unpackUnorm2x16, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackUnorm2x16, @@ -9041,7 +8652,7 @@ constexpr const TFunction unpackUnorm4x8_00E( BuiltInId::unpackUnorm4x8_UInt1, BuiltInName::unpackUnorm4x8, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackUnorm4x8, @@ -9050,7 +8661,7 @@ constexpr const TFunction unpackSnorm4x8_00E( BuiltInId::unpackSnorm4x8_UInt1, BuiltInName::unpackSnorm4x8, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpUnpackSnorm4x8, @@ -9059,7 +8670,7 @@ constexpr const TFunction packDouble2x32_10E( BuiltInId::packDouble2x32_UInt2, BuiltInName::packDouble2x32, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpPackDouble2x32, @@ -9068,7 +8679,7 @@ constexpr const TFunction unpackDouble2x32_00C( BuiltInId::unpackDouble2x32_Double1, BuiltInName::unpackDouble2x32, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpUnpackDouble2x32, @@ -9076,7 +8687,7 @@ constexpr const TFunction unpackDouble2x32_00C( constexpr const TFunction length_00B(BuiltInId::length_Float1, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpLength, @@ -9084,7 +8695,7 @@ constexpr const TFunction length_00B(BuiltInId::length_Float1, constexpr const TFunction length_10B(BuiltInId::length_Float2, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpLength, @@ -9092,7 +8703,7 @@ constexpr const TFunction length_10B(BuiltInId::length_Float2, constexpr const TFunction length_20B(BuiltInId::length_Float3, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpLength, @@ -9108,7 +8719,7 @@ constexpr const TFunction length_30B(BuiltInId::length_Float4, constexpr const TFunction length_00C(BuiltInId::length_Double1, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpLength, @@ -9116,7 +8727,7 @@ constexpr const TFunction length_00C(BuiltInId::length_Double1, constexpr const TFunction length_10C(BuiltInId::length_Double2, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpLength, @@ -9124,7 +8735,7 @@ constexpr const TFunction length_10C(BuiltInId::length_Double2, constexpr const TFunction length_20C(BuiltInId::length_Double3, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpLength, @@ -9132,7 +8743,7 @@ constexpr const TFunction length_20C(BuiltInId::length_Double3, constexpr const TFunction length_30C(BuiltInId::length_Double4, BuiltInName::length, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpLength, @@ -9141,7 +8752,7 @@ constexpr const TFunction distance_00B00B( BuiltInId::distance_Float1_Float1, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpDistance, @@ -9150,7 +8761,7 @@ constexpr const TFunction distance_10B10B( BuiltInId::distance_Float2_Float2, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpDistance, @@ -9159,7 +8770,7 @@ constexpr const TFunction distance_20B20B( BuiltInId::distance_Float3_Float3, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpDistance, @@ -9168,7 +8779,7 @@ constexpr const TFunction distance_30B30B( BuiltInId::distance_Float4_Float4, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpDistance, @@ -9177,7 +8788,7 @@ constexpr const TFunction distance_00C00C( BuiltInId::distance_Double1_Double1, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpDistance, @@ -9195,7 +8806,7 @@ constexpr const TFunction distance_20C20C( BuiltInId::distance_Double3_Double3, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpDistance, @@ -9204,7 +8815,7 @@ constexpr const TFunction distance_30C30C( BuiltInId::distance_Double4_Double4, BuiltInName::distance, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpDistance, @@ -9212,7 +8823,7 @@ constexpr const TFunction distance_30C30C( constexpr const TFunction dot_00B00B(BuiltInId::dot_Float1_Float1, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpDot, @@ -9220,7 +8831,7 @@ constexpr const TFunction dot_00B00B(BuiltInId::dot_Float1_Float1, constexpr const TFunction dot_10B10B(BuiltInId::dot_Float2_Float2, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpDot, @@ -9228,7 +8839,7 @@ constexpr const TFunction dot_10B10B(BuiltInId::dot_Float2_Float2, constexpr const TFunction dot_20B20B(BuiltInId::dot_Float3_Float3, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpDot, @@ -9236,7 +8847,7 @@ constexpr const TFunction dot_20B20B(BuiltInId::dot_Float3_Float3, constexpr const TFunction dot_30B30B(BuiltInId::dot_Float4_Float4, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpDot, @@ -9244,7 +8855,7 @@ constexpr const TFunction dot_30B30B(BuiltInId::dot_Float4_Float4, constexpr const TFunction dot_00C00C(BuiltInId::dot_Double1_Double1, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpDot, @@ -9260,7 +8871,7 @@ constexpr const TFunction dot_10C10C(BuiltInId::dot_Double2_Double2, constexpr const TFunction dot_20C20C(BuiltInId::dot_Double3_Double3, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpDot, @@ -9268,7 +8879,7 @@ constexpr const TFunction dot_20C20C(BuiltInId::dot_Double3_Double3, constexpr const TFunction dot_30C30C(BuiltInId::dot_Double4_Double4, BuiltInName::dot, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpDot, @@ -9276,7 +8887,7 @@ constexpr const TFunction dot_30C30C(BuiltInId::dot_Double4_Double4, constexpr const TFunction cross_20B20B(BuiltInId::cross_Float3_Float3, BuiltInName::cross, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpCross, @@ -9284,7 +8895,7 @@ constexpr const TFunction cross_20B20B(BuiltInId::cross_Float3_Float3, constexpr const TFunction cross_20C20C(BuiltInId::cross_Double3_Double3, BuiltInName::cross, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpCross, @@ -9292,7 +8903,7 @@ constexpr const TFunction cross_20C20C(BuiltInId::cross_Double3_Double3, constexpr const TFunction normalize_00B(BuiltInId::normalize_Float1, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpNormalize, @@ -9300,7 +8911,7 @@ constexpr const TFunction normalize_00B(BuiltInId::normalize_Float1, constexpr const TFunction normalize_10B(BuiltInId::normalize_Float2, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpNormalize, @@ -9308,7 +8919,7 @@ constexpr const TFunction normalize_10B(BuiltInId::normalize_Float2, constexpr const TFunction normalize_20B(BuiltInId::normalize_Float3, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpNormalize, @@ -9324,7 +8935,7 @@ constexpr const TFunction normalize_30B(BuiltInId::normalize_Float4, constexpr const TFunction normalize_00C(BuiltInId::normalize_Double1, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C10C, 1, StaticType::Get(), EOpNormalize, @@ -9332,7 +8943,7 @@ constexpr const TFunction normalize_00C(BuiltInId::normalize_Double1, constexpr const TFunction normalize_10C(BuiltInId::normalize_Double2, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p10C10C10F, + BuiltInParameters::p10C_o_10C, 1, StaticType::Get(), EOpNormalize, @@ -9340,7 +8951,7 @@ constexpr const TFunction normalize_10C(BuiltInId::normalize_Double2, constexpr const TFunction normalize_20C(BuiltInId::normalize_Double3, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 1, StaticType::Get(), EOpNormalize, @@ -9348,7 +8959,7 @@ constexpr const TFunction normalize_20C(BuiltInId::normalize_Double3, constexpr const TFunction normalize_30C(BuiltInId::normalize_Double4, BuiltInName::normalize, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 1, StaticType::Get(), EOpNormalize, @@ -9428,7 +9039,7 @@ constexpr const TFunction faceforward_30C30C30C( constexpr const TFunction reflect_00B00B(BuiltInId::reflect_Float1_Float1, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 2, StaticType::Get(), EOpReflect, @@ -9436,7 +9047,7 @@ constexpr const TFunction reflect_00B00B(BuiltInId::reflect_Float1_Float1, constexpr const TFunction reflect_10B10B(BuiltInId::reflect_Float2_Float2, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpReflect, @@ -9444,7 +9055,7 @@ constexpr const TFunction reflect_10B10B(BuiltInId::reflect_Float2_Float2, constexpr const TFunction reflect_20B20B(BuiltInId::reflect_Float3_Float3, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpReflect, @@ -9452,7 +9063,7 @@ constexpr const TFunction reflect_20B20B(BuiltInId::reflect_Float3_Float3, constexpr const TFunction reflect_30B30B(BuiltInId::reflect_Float4_Float4, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpReflect, @@ -9461,7 +9072,7 @@ constexpr const TFunction reflect_00C00C( BuiltInId::reflect_Double1_Double1, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p00C00C00B, + BuiltInParameters::p00C00C10C, 2, StaticType::Get(), EOpReflect, @@ -9479,7 +9090,7 @@ constexpr const TFunction reflect_20C20C( BuiltInId::reflect_Double3_Double3, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p20C20C00C, + BuiltInParameters::p20C20C20F, 2, StaticType::Get(), EOpReflect, @@ -9488,7 +9099,7 @@ constexpr const TFunction reflect_30C30C( BuiltInId::reflect_Double4_Double4, BuiltInName::reflect, TExtension::UNDEFINED, - BuiltInParameters::p30C30C30C, + BuiltInParameters::p30C30C00B, 2, StaticType::Get(), EOpReflect, @@ -9658,7 +9269,7 @@ constexpr const TFunction outerProduct_10B10B( BuiltInId::outerProduct_Float2_Float2, BuiltInName::outerProduct, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpOuterProduct, @@ -9667,7 +9278,7 @@ constexpr const TFunction outerProduct_20B20B( BuiltInId::outerProduct_Float3_Float3, BuiltInName::outerProduct, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpOuterProduct, @@ -9676,7 +9287,7 @@ constexpr const TFunction outerProduct_30B30B( BuiltInId::outerProduct_Float4_Float4, BuiltInName::outerProduct, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpOuterProduct, @@ -9861,7 +9472,7 @@ constexpr const TFunction inverse_F0B(BuiltInId::inverse_Float4x4, constexpr const TFunction lessThan_10B10B(BuiltInId::lessThan_Float2_Float2, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9869,7 +9480,7 @@ constexpr const TFunction lessThan_10B10B(BuiltInId::lessThan_Float2_Float2, constexpr const TFunction lessThan_20B20B(BuiltInId::lessThan_Float3_Float3, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9877,7 +9488,7 @@ constexpr const TFunction lessThan_20B20B(BuiltInId::lessThan_Float3_Float3, constexpr const TFunction lessThan_30B30B(BuiltInId::lessThan_Float4_Float4, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9885,7 +9496,7 @@ constexpr const TFunction lessThan_30B30B(BuiltInId::lessThan_Float4_Float4, constexpr const TFunction lessThan_10D10D(BuiltInId::lessThan_Int2_Int2, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9893,7 +9504,7 @@ constexpr const TFunction lessThan_10D10D(BuiltInId::lessThan_Int2_Int2, constexpr const TFunction lessThan_20D20D(BuiltInId::lessThan_Int3_Int3, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9901,7 +9512,7 @@ constexpr const TFunction lessThan_20D20D(BuiltInId::lessThan_Int3_Int3, constexpr const TFunction lessThan_30D30D(BuiltInId::lessThan_Int4_Int4, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9909,7 +9520,7 @@ constexpr const TFunction lessThan_30D30D(BuiltInId::lessThan_Int4_Int4, constexpr const TFunction lessThan_10E10E(BuiltInId::lessThan_UInt2_UInt2, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9917,7 +9528,7 @@ constexpr const TFunction lessThan_10E10E(BuiltInId::lessThan_UInt2_UInt2, constexpr const TFunction lessThan_20E20E(BuiltInId::lessThan_UInt3_UInt3, BuiltInName::lessThan, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpLessThanComponentWise, @@ -9934,7 +9545,7 @@ constexpr const TFunction lessThanEqual_10B10B( BuiltInId::lessThanEqual_Float2_Float2, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9943,7 +9554,7 @@ constexpr const TFunction lessThanEqual_20B20B( BuiltInId::lessThanEqual_Float3_Float3, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9952,7 +9563,7 @@ constexpr const TFunction lessThanEqual_30B30B( BuiltInId::lessThanEqual_Float4_Float4, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9961,7 +9572,7 @@ constexpr const TFunction lessThanEqual_10D10D( BuiltInId::lessThanEqual_Int2_Int2, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9970,7 +9581,7 @@ constexpr const TFunction lessThanEqual_20D20D( BuiltInId::lessThanEqual_Int3_Int3, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9979,7 +9590,7 @@ constexpr const TFunction lessThanEqual_30D30D( BuiltInId::lessThanEqual_Int4_Int4, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9988,7 +9599,7 @@ constexpr const TFunction lessThanEqual_10E10E( BuiltInId::lessThanEqual_UInt2_UInt2, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -9997,7 +9608,7 @@ constexpr const TFunction lessThanEqual_20E20E( BuiltInId::lessThanEqual_UInt3_UInt3, BuiltInName::lessThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpLessThanEqualComponentWise, @@ -10015,7 +9626,7 @@ constexpr const TFunction greaterThan_10B10B( BuiltInId::greaterThan_Float2_Float2, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10024,7 +9635,7 @@ constexpr const TFunction greaterThan_20B20B( BuiltInId::greaterThan_Float3_Float3, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10033,7 +9644,7 @@ constexpr const TFunction greaterThan_30B30B( BuiltInId::greaterThan_Float4_Float4, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10042,7 +9653,7 @@ constexpr const TFunction greaterThan_10D10D( BuiltInId::greaterThan_Int2_Int2, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10051,7 +9662,7 @@ constexpr const TFunction greaterThan_20D20D( BuiltInId::greaterThan_Int3_Int3, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10060,7 +9671,7 @@ constexpr const TFunction greaterThan_30D30D( BuiltInId::greaterThan_Int4_Int4, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10069,7 +9680,7 @@ constexpr const TFunction greaterThan_10E10E( BuiltInId::greaterThan_UInt2_UInt2, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10078,7 +9689,7 @@ constexpr const TFunction greaterThan_20E20E( BuiltInId::greaterThan_UInt3_UInt3, BuiltInName::greaterThan, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpGreaterThanComponentWise, @@ -10096,7 +9707,7 @@ constexpr const TFunction greaterThanEqual_10B10B( BuiltInId::greaterThanEqual_Float2_Float2, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10105,7 +9716,7 @@ constexpr const TFunction greaterThanEqual_20B20B( BuiltInId::greaterThanEqual_Float3_Float3, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10114,7 +9725,7 @@ constexpr const TFunction greaterThanEqual_30B30B( BuiltInId::greaterThanEqual_Float4_Float4, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10123,7 +9734,7 @@ constexpr const TFunction greaterThanEqual_10D10D( BuiltInId::greaterThanEqual_Int2_Int2, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10132,7 +9743,7 @@ constexpr const TFunction greaterThanEqual_20D20D( BuiltInId::greaterThanEqual_Int3_Int3, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10141,7 +9752,7 @@ constexpr const TFunction greaterThanEqual_30D30D( BuiltInId::greaterThanEqual_Int4_Int4, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10150,7 +9761,7 @@ constexpr const TFunction greaterThanEqual_10E10E( BuiltInId::greaterThanEqual_UInt2_UInt2, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10159,7 +9770,7 @@ constexpr const TFunction greaterThanEqual_20E20E( BuiltInId::greaterThanEqual_UInt3_UInt3, BuiltInName::greaterThanEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpGreaterThanEqualComponentWise, @@ -10176,7 +9787,7 @@ constexpr const TFunction greaterThanEqual_30E30E( constexpr const TFunction equal_10B10B(BuiltInId::equal_Float2_Float2, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10184,7 +9795,7 @@ constexpr const TFunction equal_10B10B(BuiltInId::equal_Float2_Float2, constexpr const TFunction equal_20B20B(BuiltInId::equal_Float3_Float3, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10192,7 +9803,7 @@ constexpr const TFunction equal_20B20B(BuiltInId::equal_Float3_Float3, constexpr const TFunction equal_30B30B(BuiltInId::equal_Float4_Float4, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10200,7 +9811,7 @@ constexpr const TFunction equal_30B30B(BuiltInId::equal_Float4_Float4, constexpr const TFunction equal_10D10D(BuiltInId::equal_Int2_Int2, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10208,7 +9819,7 @@ constexpr const TFunction equal_10D10D(BuiltInId::equal_Int2_Int2, constexpr const TFunction equal_20D20D(BuiltInId::equal_Int3_Int3, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10216,7 +9827,7 @@ constexpr const TFunction equal_20D20D(BuiltInId::equal_Int3_Int3, constexpr const TFunction equal_30D30D(BuiltInId::equal_Int4_Int4, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10224,7 +9835,7 @@ constexpr const TFunction equal_30D30D(BuiltInId::equal_Int4_Int4, constexpr const TFunction equal_10E10E(BuiltInId::equal_UInt2_UInt2, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10232,7 +9843,7 @@ constexpr const TFunction equal_10E10E(BuiltInId::equal_UInt2_UInt2, constexpr const TFunction equal_20E20E(BuiltInId::equal_UInt3_UInt3, BuiltInName::equal, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpEqualComponentWise, @@ -10272,7 +9883,7 @@ constexpr const TFunction equal_30F30F(BuiltInId::equal_Bool4_Bool4, constexpr const TFunction notEqual_10B10B(BuiltInId::notEqual_Float2_Float2, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10280,7 +9891,7 @@ constexpr const TFunction notEqual_10B10B(BuiltInId::notEqual_Float2_Float2, constexpr const TFunction notEqual_20B20B(BuiltInId::notEqual_Float3_Float3, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p20B20B20B, + BuiltInParameters::p20B20B00B, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10288,7 +9899,7 @@ constexpr const TFunction notEqual_20B20B(BuiltInId::notEqual_Float3_Float3, constexpr const TFunction notEqual_30B30B(BuiltInId::notEqual_Float4_Float4, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p30B30B00B, + BuiltInParameters::p30B30B30F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10296,7 +9907,7 @@ constexpr const TFunction notEqual_30B30B(BuiltInId::notEqual_Float4_Float4, constexpr const TFunction notEqual_10D10D(BuiltInId::notEqual_Int2_Int2, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10304,7 +9915,7 @@ constexpr const TFunction notEqual_10D10D(BuiltInId::notEqual_Int2_Int2, constexpr const TFunction notEqual_20D20D(BuiltInId::notEqual_Int3_Int3, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p20D20D20D, + BuiltInParameters::p20D20D20F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10312,7 +9923,7 @@ constexpr const TFunction notEqual_20D20D(BuiltInId::notEqual_Int3_Int3, constexpr const TFunction notEqual_30D30D(BuiltInId::notEqual_Int4_Int4, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10320,7 +9931,7 @@ constexpr const TFunction notEqual_30D30D(BuiltInId::notEqual_Int4_Int4, constexpr const TFunction notEqual_10E10E(BuiltInId::notEqual_UInt2_UInt2, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10328,7 +9939,7 @@ constexpr const TFunction notEqual_10E10E(BuiltInId::notEqual_UInt2_UInt2, constexpr const TFunction notEqual_20E20E(BuiltInId::notEqual_UInt3_UInt3, BuiltInName::notEqual, TExtension::UNDEFINED, - BuiltInParameters::p20E20E20F, + BuiltInParameters::p20E20E00D00D, 2, StaticType::Get(), EOpNotEqualComponentWise, @@ -10594,7 +10205,7 @@ constexpr const TFunction bitfieldReverse_10D( BuiltInId::bitfieldReverse_Int2, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10603,7 +10214,7 @@ constexpr const TFunction bitfieldReverse_20D( BuiltInId::bitfieldReverse_Int3, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10612,7 +10223,7 @@ constexpr const TFunction bitfieldReverse_30D( BuiltInId::bitfieldReverse_Int4, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10621,7 +10232,7 @@ constexpr const TFunction bitfieldReverse_00E( BuiltInId::bitfieldReverse_UInt1, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10630,7 +10241,7 @@ constexpr const TFunction bitfieldReverse_10E( BuiltInId::bitfieldReverse_UInt2, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10639,7 +10250,7 @@ constexpr const TFunction bitfieldReverse_20E( BuiltInId::bitfieldReverse_UInt3, BuiltInName::bitfieldReverse, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpBitfieldReverse, @@ -10664,7 +10275,7 @@ constexpr const TFunction bitCount_00D(BuiltInId::bitCount_Int1, constexpr const TFunction bitCount_10D(BuiltInId::bitCount_Int2, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpBitCount, @@ -10672,7 +10283,7 @@ constexpr const TFunction bitCount_10D(BuiltInId::bitCount_Int2, constexpr const TFunction bitCount_20D(BuiltInId::bitCount_Int3, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpBitCount, @@ -10680,7 +10291,7 @@ constexpr const TFunction bitCount_20D(BuiltInId::bitCount_Int3, constexpr const TFunction bitCount_30D(BuiltInId::bitCount_Int4, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpBitCount, @@ -10688,7 +10299,7 @@ constexpr const TFunction bitCount_30D(BuiltInId::bitCount_Int4, constexpr const TFunction bitCount_00E(BuiltInId::bitCount_UInt1, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpBitCount, @@ -10696,7 +10307,7 @@ constexpr const TFunction bitCount_00E(BuiltInId::bitCount_UInt1, constexpr const TFunction bitCount_10E(BuiltInId::bitCount_UInt2, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpBitCount, @@ -10704,7 +10315,7 @@ constexpr const TFunction bitCount_10E(BuiltInId::bitCount_UInt2, constexpr const TFunction bitCount_20E(BuiltInId::bitCount_UInt3, BuiltInName::bitCount, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpBitCount, @@ -10728,7 +10339,7 @@ constexpr const TFunction findLSB_00D(BuiltInId::findLSB_Int1, constexpr const TFunction findLSB_10D(BuiltInId::findLSB_Int2, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpFindLSB, @@ -10736,7 +10347,7 @@ constexpr const TFunction findLSB_10D(BuiltInId::findLSB_Int2, constexpr const TFunction findLSB_20D(BuiltInId::findLSB_Int3, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpFindLSB, @@ -10744,7 +10355,7 @@ constexpr const TFunction findLSB_20D(BuiltInId::findLSB_Int3, constexpr const TFunction findLSB_30D(BuiltInId::findLSB_Int4, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpFindLSB, @@ -10752,7 +10363,7 @@ constexpr const TFunction findLSB_30D(BuiltInId::findLSB_Int4, constexpr const TFunction findLSB_00E(BuiltInId::findLSB_UInt1, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpFindLSB, @@ -10760,7 +10371,7 @@ constexpr const TFunction findLSB_00E(BuiltInId::findLSB_UInt1, constexpr const TFunction findLSB_10E(BuiltInId::findLSB_UInt2, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpFindLSB, @@ -10768,7 +10379,7 @@ constexpr const TFunction findLSB_10E(BuiltInId::findLSB_UInt2, constexpr const TFunction findLSB_20E(BuiltInId::findLSB_UInt3, BuiltInName::findLSB, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpFindLSB, @@ -10792,7 +10403,7 @@ constexpr const TFunction findMSB_00D(BuiltInId::findMSB_Int1, constexpr const TFunction findMSB_10D(BuiltInId::findMSB_Int2, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p10D10D10D, + BuiltInParameters::p10D10D_o_10D_o_10D, 1, StaticType::Get(), EOpFindMSB, @@ -10800,7 +10411,7 @@ constexpr const TFunction findMSB_10D(BuiltInId::findMSB_Int2, constexpr const TFunction findMSB_20D(BuiltInId::findMSB_Int3, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p20D00D00D, + BuiltInParameters::p20D20D20F, 1, StaticType::Get(), EOpFindMSB, @@ -10808,7 +10419,7 @@ constexpr const TFunction findMSB_20D(BuiltInId::findMSB_Int3, constexpr const TFunction findMSB_30D(BuiltInId::findMSB_Int4, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p30D30D00D00D, + BuiltInParameters::p30D30D30F, 1, StaticType::Get(), EOpFindMSB, @@ -10816,7 +10427,7 @@ constexpr const TFunction findMSB_30D(BuiltInId::findMSB_Int4, constexpr const TFunction findMSB_00E(BuiltInId::findMSB_UInt1, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p00E00E00F, + BuiltInParameters::p00E00E00E, 1, StaticType::Get(), EOpFindMSB, @@ -10824,7 +10435,7 @@ constexpr const TFunction findMSB_00E(BuiltInId::findMSB_UInt1, constexpr const TFunction findMSB_10E(BuiltInId::findMSB_UInt2, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p10E10E10E, + BuiltInParameters::p10E10E00D00D, 1, StaticType::Get(), EOpFindMSB, @@ -10832,7 +10443,7 @@ constexpr const TFunction findMSB_10E(BuiltInId::findMSB_UInt2, constexpr const TFunction findMSB_20E(BuiltInId::findMSB_UInt3, BuiltInName::findMSB, TExtension::UNDEFINED, - BuiltInParameters::p20E00E00E, + BuiltInParameters::p20E20E00D00D, 1, StaticType::Get(), EOpFindMSB, @@ -10993,7 +10604,7 @@ constexpr const TFunction texture2D_00I10B( BuiltInId::texture2D_Sampler2D1_Float2, BuiltInName::texture2D, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11002,7 +10613,7 @@ constexpr const TFunction texture2DProj_00I20B( BuiltInId::texture2DProj_Sampler2D1_Float3, BuiltInName::texture2DProj, TExtension::UNDEFINED, - BuiltInParameters::p00I20B00B10D, + BuiltInParameters::p00I20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11020,7 +10631,7 @@ constexpr const TFunction textureCube_00K20B( BuiltInId::textureCube_SamplerCube1_Float3, BuiltInName::textureCube, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11029,7 +10640,7 @@ constexpr const TFunction texture1D_00g00B( BuiltInId::texture1D_Sampler1D1_Float1, BuiltInName::texture1D, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11038,7 +10649,7 @@ constexpr const TFunction texture1DProj_00g10B( BuiltInId::texture1DProj_Sampler1D1_Float2, BuiltInName::texture1DProj, TExtension::UNDEFINED, - BuiltInParameters::p00g10B00D00B, + BuiltInParameters::p00g10B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11065,7 +10676,7 @@ constexpr const TFunction texture3DProj_00J30B( BuiltInId::texture3DProj_Sampler3D1_Float4, BuiltInName::texture3DProj, TExtension::UNDEFINED, - BuiltInParameters::p00J30B00B20D, + BuiltInParameters::p00J30B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11074,7 +10685,7 @@ constexpr const TFunction shadow1D_00m20B( BuiltInId::shadow1D_Sampler1DShadow1_Float3, BuiltInName::shadow1D, TExtension::UNDEFINED, - BuiltInParameters::p00m20B00B00B00D, + BuiltInParameters::p00m20B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11092,7 +10703,7 @@ constexpr const TFunction shadow2D_00d20B( BuiltInId::shadow2D_Sampler2DShadow1_Float3, BuiltInName::shadow2D, TExtension::UNDEFINED, - BuiltInParameters::p00d20B10D00B, + BuiltInParameters::p00d20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11101,7 +10712,7 @@ constexpr const TFunction shadow2DProj_00d30B( BuiltInId::shadow2DProj_Sampler2DShadow1_Float4, BuiltInName::shadow2DProj, TExtension::UNDEFINED, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11137,7 +10748,7 @@ constexpr const TFunction texture2DRect_00O10B( BuiltInId::texture2DRect_Sampler2DRect1_Float2, BuiltInName::texture2DRect, TExtension::ARB_texture_rectangle, - BuiltInParameters::p00O10B10D00D, + BuiltInParameters::p00O10B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11146,7 +10757,7 @@ constexpr const TFunction texture2DRectProj_00O20B( BuiltInId::texture2DRectProj_Sampler2DRect1_Float3, BuiltInName::texture2DRectProj, TExtension::ARB_texture_rectangle, - BuiltInParameters::p00O20B10B10B10D, + BuiltInParameters::p00O20B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11163,7 +10774,7 @@ constexpr const TFunction texture2DRectProj_00O30B( constexpr const TFunction texture_00O10B(BuiltInId::texture_Sampler2DRect1_Float2, BuiltInName::texture, TExtension::ARB_texture_rectangle, - BuiltInParameters::p00O10B10D00D, + BuiltInParameters::p00O10B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11172,7 +10783,7 @@ constexpr const TFunction textureProj_00O20B( BuiltInId::textureProj_Sampler2DRect1_Float3, BuiltInName::textureProj, TExtension::ARB_texture_rectangle, - BuiltInParameters::p00O20B10B10B10D, + BuiltInParameters::p00O20B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11298,7 +10909,7 @@ constexpr const TFunction texture1D_00g00B00B( BuiltInId::texture1D_Sampler1D1_Float1_Float1, BuiltInName::texture1D, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11316,7 +10927,7 @@ constexpr const TFunction texture1DProj_00g30B00B( BuiltInId::texture1DProj_Sampler1D1_Float4_Float1, BuiltInName::texture1DProj, TExtension::UNDEFINED, - BuiltInParameters::p00g30B00B00D, + BuiltInParameters::p00g30B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11334,7 +10945,7 @@ constexpr const TFunction shadow1DProj_00m30B00B( BuiltInId::shadow1DProj_Sampler1DShadow1_Float4_Float1, BuiltInName::shadow1DProj, TExtension::UNDEFINED, - BuiltInParameters::p00m30B00B00B00D, + BuiltInParameters::p00m30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11360,7 +10971,7 @@ constexpr const TFunction shadow2DProj_00d30B00B( constexpr const TFunction dFdxExt_00B(BuiltInId::dFdxExt_Float1, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdx, @@ -11368,7 +10979,7 @@ constexpr const TFunction dFdxExt_00B(BuiltInId::dFdxExt_Float1, constexpr const TFunction dFdxExt_10B(BuiltInId::dFdxExt_Float2, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdx, @@ -11376,7 +10987,7 @@ constexpr const TFunction dFdxExt_10B(BuiltInId::dFdxExt_Float2, constexpr const TFunction dFdxExt_20B(BuiltInId::dFdxExt_Float3, BuiltInName::dFdxExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpDFdx, @@ -11392,7 +11003,7 @@ constexpr const TFunction dFdxExt_30B(BuiltInId::dFdxExt_Float4, constexpr const TFunction dFdyExt_00B(BuiltInId::dFdyExt_Float1, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdy, @@ -11400,7 +11011,7 @@ constexpr const TFunction dFdyExt_00B(BuiltInId::dFdyExt_Float1, constexpr const TFunction dFdyExt_10B(BuiltInId::dFdyExt_Float2, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdy, @@ -11408,7 +11019,7 @@ constexpr const TFunction dFdyExt_10B(BuiltInId::dFdyExt_Float2, constexpr const TFunction dFdyExt_20B(BuiltInId::dFdyExt_Float3, BuiltInName::dFdyExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpDFdy, @@ -11424,7 +11035,7 @@ constexpr const TFunction dFdyExt_30B(BuiltInId::dFdyExt_Float4, constexpr const TFunction fwidthExt_00B(BuiltInId::fwidthExt_Float1, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFwidth, @@ -11432,7 +11043,7 @@ constexpr const TFunction fwidthExt_00B(BuiltInId::fwidthExt_Float1, constexpr const TFunction fwidthExt_10B(BuiltInId::fwidthExt_Float2, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFwidth, @@ -11440,7 +11051,7 @@ constexpr const TFunction fwidthExt_10B(BuiltInId::fwidthExt_Float2, constexpr const TFunction fwidthExt_20B(BuiltInId::fwidthExt_Float3, BuiltInName::fwidthExt, TExtension::OES_standard_derivatives, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFwidth, @@ -11493,7 +11104,7 @@ constexpr const TFunction shadow2DEXT_00d20B( BuiltInId::shadow2DEXT_Sampler2DShadow1_Float3, BuiltInName::shadow2DEXT, TExtension::EXT_shadow_samplers, - BuiltInParameters::p00d20B10D00B, + BuiltInParameters::p00d20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11502,7 +11113,7 @@ constexpr const TFunction shadow2DProjEXT_00d30B( BuiltInId::shadow2DProjEXT_Sampler2DShadow1_Float4, BuiltInName::shadow2DProjEXT, TExtension::EXT_shadow_samplers, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11547,7 +11158,7 @@ constexpr const TFunction texture1DLod_00g00B00B( BuiltInId::texture1DLod_Sampler1D1_Float1_Float1, BuiltInName::texture1DLod, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11565,7 +11176,7 @@ constexpr const TFunction texture1DProjLod_00g30B00B( BuiltInId::texture1DProjLod_Sampler1D1_Float4_Float1, BuiltInName::texture1DProjLod, TExtension::UNDEFINED, - BuiltInParameters::p00g30B00B00D, + BuiltInParameters::p00g30B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11583,7 +11194,7 @@ constexpr const TFunction shadow1DProjLod_00m30B00B( BuiltInId::shadow1DProjLod_Sampler1DShadow1_Float4_Float1, BuiltInName::shadow1DProjLod, TExtension::UNDEFINED, - BuiltInParameters::p00m30B00B00B00D, + BuiltInParameters::p00m30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -11609,7 +11220,7 @@ constexpr const TFunction shadow2DProjLod_00d30B00B( constexpr const TFunction texture_00I10B(BuiltInId::texture_Sampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11617,7 +11228,7 @@ constexpr const TFunction texture_00I10B(BuiltInId::texture_Sampler2D1_Float2, constexpr const TFunction texture_00R10B(BuiltInId::texture_ISampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11625,7 +11236,7 @@ constexpr const TFunction texture_00R10B(BuiltInId::texture_ISampler2D1_Float2, constexpr const TFunction texture_00X10B(BuiltInId::texture_USampler2D1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11641,7 +11252,7 @@ constexpr const TFunction texture_00J20B(BuiltInId::texture_Sampler3D1_Float3, constexpr const TFunction texture_00S20B(BuiltInId::texture_ISampler3D1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00S20B00B20D, + BuiltInParameters::p00S20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11649,7 +11260,7 @@ constexpr const TFunction texture_00S20B(BuiltInId::texture_ISampler3D1_Float3, constexpr const TFunction texture_00Y20B(BuiltInId::texture_USampler3D1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00Y20B20D00B, + BuiltInParameters::p00Y20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11657,7 +11268,7 @@ constexpr const TFunction texture_00Y20B(BuiltInId::texture_USampler3D1_Float3, constexpr const TFunction texture_00K20B(BuiltInId::texture_SamplerCube1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11665,7 +11276,7 @@ constexpr const TFunction texture_00K20B(BuiltInId::texture_SamplerCube1_Float3, constexpr const TFunction texture_00T20B(BuiltInId::texture_ISamplerCube1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00T20B00D, + BuiltInParameters::p00T20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11673,7 +11284,7 @@ constexpr const TFunction texture_00T20B(BuiltInId::texture_ISamplerCube1_Float3 constexpr const TFunction texture_00Z20B(BuiltInId::texture_USamplerCube1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z20B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11681,7 +11292,7 @@ constexpr const TFunction texture_00Z20B(BuiltInId::texture_USamplerCube1_Float3 constexpr const TFunction texture_00L20B(BuiltInId::texture_Sampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00L20B00B10D, + BuiltInParameters::p00L20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11689,7 +11300,7 @@ constexpr const TFunction texture_00L20B(BuiltInId::texture_Sampler2DArray1_Floa constexpr const TFunction texture_00U20B(BuiltInId::texture_ISampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00U20B00B10D, + BuiltInParameters::p00U20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11697,7 +11308,7 @@ constexpr const TFunction texture_00U20B(BuiltInId::texture_ISampler2DArray1_Flo constexpr const TFunction texture_00a20B(BuiltInId::texture_USampler2DArray1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00a20B00D, + BuiltInParameters::p00a20B10Dx400D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11705,7 +11316,7 @@ constexpr const TFunction texture_00a20B(BuiltInId::texture_USampler2DArray1_Flo constexpr const TFunction texture_00d20B(BuiltInId::texture_Sampler2DShadow1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00d20B10D00B, + BuiltInParameters::p00d20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11721,7 +11332,7 @@ constexpr const TFunction texture_00e30B(BuiltInId::texture_SamplerCubeShadow1_F constexpr const TFunction texture_00f30B(BuiltInId::texture_Sampler2DArrayShadow1_Float4, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00f30B00B, + BuiltInParameters::p00f30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11729,7 +11340,7 @@ constexpr const TFunction texture_00f30B(BuiltInId::texture_Sampler2DArrayShadow constexpr const TFunction texture_00g00B(BuiltInId::texture_Sampler1D1_Float1, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11745,7 +11356,7 @@ constexpr const TFunction texture_00o00B(BuiltInId::texture_ISampler1D1_Float1, constexpr const TFunction texture_00t00B(BuiltInId::texture_USampler1D1_Float1, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00t00B00B00B00D, + BuiltInParameters::p00t00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11753,7 +11364,7 @@ constexpr const TFunction texture_00t00B(BuiltInId::texture_USampler1D1_Float1, constexpr const TFunction texture_00m20B(BuiltInId::texture_Sampler1DShadow1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00m20B00B00B00D, + BuiltInParameters::p00m20B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11793,7 +11404,7 @@ constexpr const TFunction texture_00i20B(BuiltInId::texture_Sampler1DArrayShadow constexpr const TFunction texture_00q10B(BuiltInId::texture_ISampler2DRect1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00q10B10Dx400D, + BuiltInParameters::p00q10B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11801,7 +11412,7 @@ constexpr const TFunction texture_00q10B(BuiltInId::texture_ISampler2DRect1_Floa constexpr const TFunction texture_00v10B(BuiltInId::texture_USampler2DRect1_Float2, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00v10B10D00D, + BuiltInParameters::p00v10B10Dx400D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11809,7 +11420,7 @@ constexpr const TFunction texture_00v10B(BuiltInId::texture_USampler2DRect1_Floa constexpr const TFunction texture_00n20B(BuiltInId::texture_Sampler2DRectShadow1_Float3, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00n20B10D, + BuiltInParameters::p00n20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11827,7 +11438,7 @@ constexpr const TFunction textureProj_00I20B( BuiltInId::textureProj_Sampler2D1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00I20B00B10D, + BuiltInParameters::p00I20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11836,7 +11447,7 @@ constexpr const TFunction textureProj_00R20B( BuiltInId::textureProj_ISampler2D1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00R20B10D00B, + BuiltInParameters::p00R20B00B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11863,7 +11474,7 @@ constexpr const TFunction textureProj_00R30B( BuiltInId::textureProj_ISampler2D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00R30B10D00B, + BuiltInParameters::p00R30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11872,7 +11483,7 @@ constexpr const TFunction textureProj_00X30B( BuiltInId::textureProj_USampler2D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00X30B10B10B10D, + BuiltInParameters::p00X30B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11881,7 +11492,7 @@ constexpr const TFunction textureProj_00J30B( BuiltInId::textureProj_Sampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00J30B00B20D, + BuiltInParameters::p00J30B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11890,7 +11501,7 @@ constexpr const TFunction textureProj_00S30B( BuiltInId::textureProj_ISampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00S30B00B20D, + BuiltInParameters::p00S30B20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11899,7 +11510,7 @@ constexpr const TFunction textureProj_00Y30B( BuiltInId::textureProj_USampler3D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00Y30B00B20D, + BuiltInParameters::p00Y30B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11908,7 +11519,7 @@ constexpr const TFunction textureProj_00d30B( BuiltInId::textureProj_Sampler2DShadow1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d30B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11917,7 +11528,7 @@ constexpr const TFunction textureProj_00g10B( BuiltInId::textureProj_Sampler1D1_Float2, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00g10B00D00B, + BuiltInParameters::p00g10B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11926,7 +11537,7 @@ constexpr const TFunction textureProj_00o10B( BuiltInId::textureProj_ISampler1D1_Float2, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00o10B00D00B, + BuiltInParameters::p00o10B00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11935,7 +11546,7 @@ constexpr const TFunction textureProj_00t10B( BuiltInId::textureProj_USampler1D1_Float2, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00t10B00B00D, + BuiltInParameters::p00t10B00D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11962,7 +11573,7 @@ constexpr const TFunction textureProj_00t30B( BuiltInId::textureProj_USampler1D1_Float4, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00t30B00B00D, + BuiltInParameters::p00t30B00D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11980,7 +11591,7 @@ constexpr const TFunction textureProj_00q20B( BuiltInId::textureProj_ISampler2DRect1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00q20B00D, + BuiltInParameters::p00q20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -11989,7 +11600,7 @@ constexpr const TFunction textureProj_00v20B( BuiltInId::textureProj_USampler2DRect1_Float3, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00v20B10D, + BuiltInParameters::p00v20B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -12142,7 +11753,7 @@ constexpr const TFunction textureLod_00g00B00B( BuiltInId::textureLod_Sampler1D1_Float1_Float1, BuiltInName::textureLod, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12160,7 +11771,7 @@ constexpr const TFunction textureLod_00t00B00B( BuiltInId::textureLod_USampler1D1_Float1_Float1, BuiltInName::textureLod, TExtension::UNDEFINED, - BuiltInParameters::p00t00B00B00B00D, + BuiltInParameters::p00t00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12178,7 +11789,7 @@ constexpr const TFunction textureLod_00h10B00B( BuiltInId::textureLod_Sampler1DArray1_Float2_Float1, BuiltInName::textureLod, TExtension::UNDEFINED, - BuiltInParameters::p00h10B00B00D, + BuiltInParameters::p00h10B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12187,7 +11798,7 @@ constexpr const TFunction textureLod_00p10B00B( BuiltInId::textureLod_ISampler1DArray1_Float2_Float1, BuiltInName::textureLod, TExtension::UNDEFINED, - BuiltInParameters::p00p10B00B00D, + BuiltInParameters::p00p10B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12447,7 +12058,7 @@ constexpr const TFunction textureSize_00l00D( constexpr const TFunction textureSize_00O(BuiltInId::textureSize_Sampler2DRect1, BuiltInName::textureSize, TExtension::UNDEFINED, - BuiltInParameters::p00O10D10D, + BuiltInParameters::p00O20B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12455,7 +12066,7 @@ constexpr const TFunction textureSize_00O(BuiltInId::textureSize_Sampler2DRect1, constexpr const TFunction textureSize_00q(BuiltInId::textureSize_ISampler2DRect1, BuiltInName::textureSize, TExtension::UNDEFINED, - BuiltInParameters::p00q10B10Dx400D, + BuiltInParameters::p00q30B10D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12463,7 +12074,7 @@ constexpr const TFunction textureSize_00q(BuiltInId::textureSize_ISampler2DRect1 constexpr const TFunction textureSize_00v(BuiltInId::textureSize_USampler2DRect1, BuiltInName::textureSize, TExtension::UNDEFINED, - BuiltInParameters::p00v10B10D00D, + BuiltInParameters::p00v20B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12471,7 +12082,7 @@ constexpr const TFunction textureSize_00v(BuiltInId::textureSize_USampler2DRect1 constexpr const TFunction textureSize_00n(BuiltInId::textureSize_Sampler2DRectShadow1, BuiltInName::textureSize, TExtension::UNDEFINED, - BuiltInParameters::p00n20B10D, + BuiltInParameters::p00n10B00B10Dx4, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -12657,7 +12268,7 @@ constexpr const TFunction textureProjLod_00g30B00B( BuiltInId::textureProjLod_Sampler1D1_Float4_Float1, BuiltInName::textureProjLod, TExtension::UNDEFINED, - BuiltInParameters::p00g30B00B00D, + BuiltInParameters::p00g30B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12666,7 +12277,7 @@ constexpr const TFunction textureProjLod_00o30B00B( BuiltInId::textureProjLod_ISampler1D1_Float4_Float1, BuiltInName::textureProjLod, TExtension::UNDEFINED, - BuiltInParameters::p00o30B00B00B00D, + BuiltInParameters::p00o30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -12684,7 +12295,7 @@ constexpr const TFunction textureProjLod_00m30B00B( BuiltInId::textureProjLod_Sampler1DShadow1_Float4_Float1, BuiltInName::textureProjLod, TExtension::UNDEFINED, - BuiltInParameters::p00m30B00B00B00D, + BuiltInParameters::p00m30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -13368,7 +12979,7 @@ constexpr const TFunction textureQueryLevels_00g( BuiltInId::textureQueryLevels_Sampler1D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00g10B00D00B, + BuiltInParameters::p00g00B00B00B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13377,7 +12988,7 @@ constexpr const TFunction textureQueryLevels_00o( BuiltInId::textureQueryLevels_ISampler1D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00o30B00D00B, + BuiltInParameters::p00o00B00B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13386,7 +12997,7 @@ constexpr const TFunction textureQueryLevels_00t( BuiltInId::textureQueryLevels_USampler1D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00t30B00B00D, + BuiltInParameters::p00t10B00D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13395,7 +13006,7 @@ constexpr const TFunction textureQueryLevels_00I( BuiltInId::textureQueryLevels_Sampler2D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00I20B00B10D, + BuiltInParameters::p00I10B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13404,7 +13015,7 @@ constexpr const TFunction textureQueryLevels_00R( BuiltInId::textureQueryLevels_ISampler2D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00R20B10D00B, + BuiltInParameters::p00R10B10D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13413,7 +13024,7 @@ constexpr const TFunction textureQueryLevels_00X( BuiltInId::textureQueryLevels_USampler2D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10D00D10D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13422,7 +13033,7 @@ constexpr const TFunction textureQueryLevels_00J( BuiltInId::textureQueryLevels_Sampler3D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00J30B00B20D, + BuiltInParameters::p00J30B20B20B20D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13431,7 +13042,7 @@ constexpr const TFunction textureQueryLevels_00S( BuiltInId::textureQueryLevels_ISampler3D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00S20D00D20D, + BuiltInParameters::p00S30B20D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13440,7 +13051,7 @@ constexpr const TFunction textureQueryLevels_00Y( BuiltInId::textureQueryLevels_USampler3D1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00Y30B00B20D, + BuiltInParameters::p00Y20B20B20B20D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13449,7 +13060,7 @@ constexpr const TFunction textureQueryLevels_00K( BuiltInId::textureQueryLevels_SamplerCube1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13458,7 +13069,7 @@ constexpr const TFunction textureQueryLevels_00T( BuiltInId::textureQueryLevels_ISamplerCube1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00T20B00D, + BuiltInParameters::p00T00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13467,7 +13078,7 @@ constexpr const TFunction textureQueryLevels_00Z( BuiltInId::textureQueryLevels_USamplerCube1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13476,7 +13087,7 @@ constexpr const TFunction textureQueryLevels_00h( BuiltInId::textureQueryLevels_Sampler1DArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00h20B00B, + BuiltInParameters::p00h10B00B00B00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13485,7 +13096,7 @@ constexpr const TFunction textureQueryLevels_00p( BuiltInId::textureQueryLevels_ISampler1DArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00p00D, + BuiltInParameters::p00p00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13503,7 +13114,7 @@ constexpr const TFunction textureQueryLevels_00L( BuiltInId::textureQueryLevels_Sampler2DArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00L20B00B10D, + BuiltInParameters::p00L20B10D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13512,7 +13123,7 @@ constexpr const TFunction textureQueryLevels_00U( BuiltInId::textureQueryLevels_ISampler2DArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00U20D00D10D, + BuiltInParameters::p00U20B10D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13521,7 +13132,7 @@ constexpr const TFunction textureQueryLevels_00a( BuiltInId::textureQueryLevels_USampler2DArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00a20B00D, + BuiltInParameters::p00a20B10Dx400D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13530,7 +13141,7 @@ constexpr const TFunction textureQueryLevels_00k( BuiltInId::textureQueryLevels_SamplerCubeArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00k30B00D, + BuiltInParameters::p00k30B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13539,7 +13150,7 @@ constexpr const TFunction textureQueryLevels_00s( BuiltInId::textureQueryLevels_ISamplerCubeArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00s30B00B, + BuiltInParameters::p00s20B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13548,7 +13159,7 @@ constexpr const TFunction textureQueryLevels_00x( BuiltInId::textureQueryLevels_USamplerCubeArray1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00x30B00B, + BuiltInParameters::p00x20B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13557,7 +13168,7 @@ constexpr const TFunction textureQueryLevels_00m( BuiltInId::textureQueryLevels_Sampler1DShadow1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00m20B00B00B00D, + BuiltInParameters::p00m30B00D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13566,7 +13177,7 @@ constexpr const TFunction textureQueryLevels_00d( BuiltInId::textureQueryLevels_Sampler2DShadow1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00d30B00B10D, + BuiltInParameters::p00d20B00B10D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13584,7 +13195,7 @@ constexpr const TFunction textureQueryLevels_00i( BuiltInId::textureQueryLevels_Sampler1DArrayShadow1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00i20B00B00D, + BuiltInParameters::p00i00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13602,7 +13213,7 @@ constexpr const TFunction textureQueryLevels_00l( BuiltInId::textureQueryLevels_SamplerCubeArrayShadow1, BuiltInName::textureQueryLevels, TExtension::UNDEFINED, - BuiltInParameters::p00l20B, + BuiltInParameters::p00l30B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -13766,7 +13377,7 @@ constexpr const TFunction textureSizeExt_00c( constexpr const TFunction texture_00k30B(BuiltInId::texture_SamplerCubeArray1_Float4, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00k30B00D, + BuiltInParameters::p00k30B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -13818,7 +13429,7 @@ constexpr const TFunction textureGather_00k30B( BuiltInId::textureGather_SamplerCubeArray1_Float4, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00k30B00D, + BuiltInParameters::p00k30B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14205,7 +13816,7 @@ constexpr const TFunction texture_00g00B00B( BuiltInId::texture_Sampler1D1_Float1_Float1, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14223,7 +13834,7 @@ constexpr const TFunction texture_00t00B00B( BuiltInId::texture_USampler1D1_Float1_Float1, BuiltInName::texture, TExtension::UNDEFINED, - BuiltInParameters::p00t00B00B00B00D, + BuiltInParameters::p00t00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14313,7 +13924,7 @@ constexpr const TFunction textureProj_00g30B00B( BuiltInId::textureProj_Sampler1D1_Float4_Float1, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00g30B00B00D, + BuiltInParameters::p00g30B00B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14322,7 +13933,7 @@ constexpr const TFunction textureProj_00o30B00B( BuiltInId::textureProj_ISampler1D1_Float4_Float1, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00o30B00B00B00D, + BuiltInParameters::p00o30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14340,7 +13951,7 @@ constexpr const TFunction textureProj_00m30B00B( BuiltInId::textureProj_Sampler1DShadow1_Float4_Float1, BuiltInName::textureProj, TExtension::UNDEFINED, - BuiltInParameters::p00m30B00B00B00D, + BuiltInParameters::p00m30B00B00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14403,7 +14014,7 @@ constexpr const TFunction textureQueryLod_00g00B( BuiltInId::textureQueryLod_Sampler1D1_Float1, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00g00B00B00D, + BuiltInParameters::p00g00B00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14421,7 +14032,7 @@ constexpr const TFunction textureQueryLod_00t00B( BuiltInId::textureQueryLod_USampler1D1_Float1, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00t00B00B00B00D, + BuiltInParameters::p00t00B00B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14430,7 +14041,7 @@ constexpr const TFunction textureQueryLod_00I10B( BuiltInId::textureQueryLod_Sampler2D1_Float2, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14439,7 +14050,7 @@ constexpr const TFunction textureQueryLod_00R10B( BuiltInId::textureQueryLod_ISampler2D1_Float2, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14448,7 +14059,7 @@ constexpr const TFunction textureQueryLod_00X10B( BuiltInId::textureQueryLod_USampler2D1_Float2, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14466,7 +14077,7 @@ constexpr const TFunction textureQueryLod_00S20B( BuiltInId::textureQueryLod_ISampler3D1_Float3, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00S20B00B20D, + BuiltInParameters::p00S20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14475,7 +14086,7 @@ constexpr const TFunction textureQueryLod_00Y20B( BuiltInId::textureQueryLod_USampler3D1_Float3, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00Y20B20D00B, + BuiltInParameters::p00Y20B20B20B20D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14484,7 +14095,7 @@ constexpr const TFunction textureQueryLod_00K20B( BuiltInId::textureQueryLod_SamplerCube1_Float3, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14493,7 +14104,7 @@ constexpr const TFunction textureQueryLod_00T20B( BuiltInId::textureQueryLod_ISamplerCube1_Float3, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00T20B00D, + BuiltInParameters::p00T20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14502,7 +14113,7 @@ constexpr const TFunction textureQueryLod_00Z20B( BuiltInId::textureQueryLod_USamplerCube1_Float3, BuiltInName::textureQueryLod, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z20B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -14646,7 +14257,7 @@ constexpr const TFunction textureOffset_00I10B10D( BuiltInId::textureOffset_Sampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14655,7 +14266,7 @@ constexpr const TFunction textureOffset_00R10B10D( BuiltInId::textureOffset_ISampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14664,7 +14275,7 @@ constexpr const TFunction textureOffset_00X10B10D( BuiltInId::textureOffset_USampler2D1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10Dx400D, + BuiltInParameters::p00X10B10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14718,7 +14329,7 @@ constexpr const TFunction textureOffset_00U20B10D( BuiltInId::textureOffset_ISampler2DArray1_Float3_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00U20B10D00B, + BuiltInParameters::p00U20B10D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14763,7 +14374,7 @@ constexpr const TFunction textureOffset_00O10B10D( BuiltInId::textureOffset_Sampler2DRect1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00O10B10D00D, + BuiltInParameters::p00O10B10Dx400D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14772,7 +14383,7 @@ constexpr const TFunction textureOffset_00q10B10D( BuiltInId::textureOffset_ISampler2DRect1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00q10B10Dx400D, + BuiltInParameters::p00q10B10D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -14781,7 +14392,7 @@ constexpr const TFunction textureOffset_00v10B10D( BuiltInId::textureOffset_USampler2DRect1_Float2_Int2, BuiltInName::textureOffset, TExtension::UNDEFINED, - BuiltInParameters::p00v10B10D00D, + BuiltInParameters::p00v10B10Dx400D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -16390,7 +16001,7 @@ constexpr const TFunction textureGather_00I10B( BuiltInId::textureGather_Sampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, + BuiltInParameters::p00I10B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16399,7 +16010,7 @@ constexpr const TFunction textureGather_00R10B( BuiltInId::textureGather_ISampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16408,7 +16019,7 @@ constexpr const TFunction textureGather_00X10B( BuiltInId::textureGather_USampler2D1_Float2, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10B10B10D, + BuiltInParameters::p00X10B10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16444,7 +16055,7 @@ constexpr const TFunction textureGather_00L20B( BuiltInId::textureGather_Sampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00L20B00B10D, + BuiltInParameters::p00L20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16453,7 +16064,7 @@ constexpr const TFunction textureGather_00U20B( BuiltInId::textureGather_ISampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00U20B00B10D, + BuiltInParameters::p00U20B10D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16462,7 +16073,7 @@ constexpr const TFunction textureGather_00a20B( BuiltInId::textureGather_USampler2DArray1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00a20B00D, + BuiltInParameters::p00a20B10Dx400D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16498,7 +16109,7 @@ constexpr const TFunction textureGather_00K20B( BuiltInId::textureGather_SamplerCube1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00K20B00B, + BuiltInParameters::p00K20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16507,7 +16118,7 @@ constexpr const TFunction textureGather_00T20B( BuiltInId::textureGather_ISamplerCube1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00T20B00D, + BuiltInParameters::p00T20B20B20B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16516,7 +16127,7 @@ constexpr const TFunction textureGather_00Z20B( BuiltInId::textureGather_USamplerCube1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00Z20B20B20B, + BuiltInParameters::p00Z20B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16552,7 +16163,7 @@ constexpr const TFunction textureGather_00O20B( BuiltInId::textureGather_Sampler2DRect1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00O20B10B10B10D, + BuiltInParameters::p00O20B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16561,7 +16172,7 @@ constexpr const TFunction textureGather_00q20B( BuiltInId::textureGather_ISampler2DRect1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00q20B00D, + BuiltInParameters::p00q20B10B10B10D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16570,7 +16181,7 @@ constexpr const TFunction textureGather_00v20B( BuiltInId::textureGather_USampler2DRect1_Float3, BuiltInName::textureGather, TExtension::UNDEFINED, - BuiltInParameters::p00v20B10D, + BuiltInParameters::p00v20B00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -16665,191 +16276,137 @@ constexpr const TFunction textureGather_00n10B00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00I10B10D( - BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00I10B10Dx400D( + BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, - 3, + BuiltInParameters::p00I10B10Dx400D, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00R10B10D( - BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00R10B10Dx400D( + BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, BuiltInParameters::p00R10B10Dx400D, - 3, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00X10B10D( - BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00X10B10Dx400D( + BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, BuiltInParameters::p00X10B10Dx400D, - 3, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00L20B10D( - BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00L20B10Dx400D( + BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00L20B10D00D, - 3, + BuiltInParameters::p00L20B10Dx400D, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00U20B10D( - BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00U20B10Dx400D( + BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00U20B10D00B, - 3, + BuiltInParameters::p00U20B10Dx400D, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00a20B10D( - BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00a20B10Dx400D( + BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, BuiltInParameters::p00a20B10Dx400D, - 3, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00d10B00B10D( - BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00d10B00B10Dx4, +constexpr const TFunction textureGatherOffsetsExt_00I10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00I10B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00f20B00B10D( - BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00f20B00B10Dx4, +constexpr const TFunction textureGatherOffsetsExt_00R10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00R10B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00X10B10Dx400D( + BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00X10B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00L20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00L20B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00O10B10D( - BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsetsExt_00U20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00U20B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsetsExt_00a20B10Dx400D( + BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1, + BuiltInName::textureGatherOffsetsExt, + TExtension::EXT_gpu_shader5, + BuiltInParameters::p00a20B10Dx400D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffsets_00O10B10Dx400D( + BuiltInId::textureGatherOffsets_Sampler2DRect1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00O10B10D00D, - 3, + BuiltInParameters::p00O10B10Dx400D, + 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00q10B10D( - BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00q10B10Dx400D( + BuiltInId::textureGatherOffsets_ISampler2DRect1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, BuiltInParameters::p00q10B10Dx400D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00v10B10D( - BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00v10B10D00D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00n10B00B10D( - BuiltInId::textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00n10B00B10Dx4, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00I10B10D00D( - BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00I10B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00R10B10D00D( - BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00R10B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffset_00X10B10D00D( - BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, +constexpr const TFunction textureGatherOffsets_00v10B10Dx400D( + BuiltInId::textureGatherOffsets_USampler2DRect1_Float2_4xInt2_Int1, + BuiltInName::textureGatherOffsets, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00L20B10D00D( - BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00L20B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00U20B10D00D( - BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00U20B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00a20B10D00D( - BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00a20B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00O10B10D00D( - BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00O10B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00q10B10D00D( - BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00q10B10D00D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffset_00v10B10D00D( - BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2_Int1, - BuiltInName::textureGatherOffset, - TExtension::UNDEFINED, - BuiltInParameters::p00v10B10D00D, + BuiltInParameters::p00v10B10Dx400D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -17034,145 +16591,199 @@ constexpr const TFunction textureGatherOffsets_00n10B00B10Dx4( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00I10B10Dx400D( - BuiltInId::textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00I10B10D00D( + BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00I10B10Dx400D, + BuiltInParameters::p00I10B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00R10B10Dx400D( - BuiltInId::textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00R10B10D00D( + BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00R10B10Dx400D, + BuiltInParameters::p00R10B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00X10B10Dx400D( - BuiltInId::textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00X10B10D00D( + BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00X10B10Dx400D, + BuiltInParameters::p00X10B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00L20B10Dx400D( - BuiltInId::textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00L20B10D00D( + BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00L20B10Dx400D, + BuiltInParameters::p00L20B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00U20B10Dx400D( - BuiltInId::textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00U20B10D00D( + BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00U20B10Dx400D, + BuiltInParameters::p00U20B10D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00a20B10Dx400D( - BuiltInId::textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00a20B10D00D( + BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00a20B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00O10B10D00D( + BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00O10B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00q10B10D00D( + BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00q10B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00v10B10D00D( + BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2_Int1, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00v10B10D00D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00I10B10D( + BuiltInId::textureGatherOffset_Sampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00I10B10D00B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00R10B10D( + BuiltInId::textureGatherOffset_ISampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00R10B10D00B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00X10B10D( + BuiltInId::textureGatherOffset_USampler2D1_Float2_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00X10B10D00B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00L20B10D( + BuiltInId::textureGatherOffset_Sampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00L20B10D00D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00U20B10D( + BuiltInId::textureGatherOffset_ISampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00U20B10D00D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction textureGatherOffset_00a20B10D( + BuiltInId::textureGatherOffset_USampler2DArray1_Float3_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00a20B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00I10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00I10B10Dx400D, +constexpr const TFunction textureGatherOffset_00d10B00B10D( + BuiltInId::textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00d10B00B10Dx4, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00R10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00R10B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00X10B10Dx400D( - BuiltInId::textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00X10B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00L20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00L20B10Dx400D, +constexpr const TFunction textureGatherOffset_00f20B00B10D( + BuiltInId::textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00f20B00B10Dx4, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsetsExt_00U20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00U20B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsetsExt_00a20B10Dx400D( - BuiltInId::textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1, - BuiltInName::textureGatherOffsetsExt, - TExtension::EXT_gpu_shader5, - BuiltInParameters::p00a20B10Dx400D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction textureGatherOffsets_00O10B10Dx400D( - BuiltInId::textureGatherOffsets_Sampler2DRect1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00O10B10D( + BuiltInId::textureGatherOffset_Sampler2DRect1_Float2_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00O10B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00q10B10Dx400D( - BuiltInId::textureGatherOffsets_ISampler2DRect1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00q10B10D( + BuiltInId::textureGatherOffset_ISampler2DRect1_Float2_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, - BuiltInParameters::p00q10B10Dx400D, - 4, + BuiltInParameters::p00q10B10D00D, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction textureGatherOffsets_00v10B10Dx400D( - BuiltInId::textureGatherOffsets_USampler2DRect1_Float2_4xInt2_Int1, - BuiltInName::textureGatherOffsets, +constexpr const TFunction textureGatherOffset_00v10B10D( + BuiltInId::textureGatherOffset_USampler2DRect1_Float2_Int2, + BuiltInName::textureGatherOffset, TExtension::UNDEFINED, BuiltInParameters::p00v10B10Dx400D, - 4, + 3, StaticType::Get(), EOpCallBuiltInFunction, false); +constexpr const TFunction textureGatherOffset_00n10B00B10D( + BuiltInId::textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2, + BuiltInName::textureGatherOffset, + TExtension::UNDEFINED, + BuiltInParameters::p00n10B00B10Dx4, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); constexpr const TFunction dFdx_00B(BuiltInId::dFdx_Float1, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdx, @@ -17180,7 +16791,7 @@ constexpr const TFunction dFdx_00B(BuiltInId::dFdx_Float1, constexpr const TFunction dFdx_10B(BuiltInId::dFdx_Float2, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdx, @@ -17188,7 +16799,7 @@ constexpr const TFunction dFdx_10B(BuiltInId::dFdx_Float2, constexpr const TFunction dFdx_20B(BuiltInId::dFdx_Float3, BuiltInName::dFdx, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpDFdx, @@ -17204,7 +16815,7 @@ constexpr const TFunction dFdx_30B(BuiltInId::dFdx_Float4, constexpr const TFunction dFdy_00B(BuiltInId::dFdy_Float1, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpDFdy, @@ -17212,7 +16823,7 @@ constexpr const TFunction dFdy_00B(BuiltInId::dFdy_Float1, constexpr const TFunction dFdy_10B(BuiltInId::dFdy_Float2, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpDFdy, @@ -17220,7 +16831,7 @@ constexpr const TFunction dFdy_10B(BuiltInId::dFdy_Float2, constexpr const TFunction dFdy_20B(BuiltInId::dFdy_Float3, BuiltInName::dFdy, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpDFdy, @@ -17236,7 +16847,7 @@ constexpr const TFunction dFdy_30B(BuiltInId::dFdy_Float4, constexpr const TFunction fwidth_00B(BuiltInId::fwidth_Float1, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpFwidth, @@ -17244,7 +16855,7 @@ constexpr const TFunction fwidth_00B(BuiltInId::fwidth_Float1, constexpr const TFunction fwidth_10B(BuiltInId::fwidth_Float2, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpFwidth, @@ -17252,7 +16863,7 @@ constexpr const TFunction fwidth_10B(BuiltInId::fwidth_Float2, constexpr const TFunction fwidth_20B(BuiltInId::fwidth_Float3, BuiltInName::fwidth, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpFwidth, @@ -17268,7 +16879,7 @@ constexpr const TFunction fwidth_30B(BuiltInId::fwidth_Float4, constexpr const TFunction dFdxFine_00B(BuiltInId::dFdxFine_Float1, BuiltInName::dFdxFine, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17276,7 +16887,7 @@ constexpr const TFunction dFdxFine_00B(BuiltInId::dFdxFine_Float1, constexpr const TFunction dFdxFine_10B(BuiltInId::dFdxFine_Float2, BuiltInName::dFdxFine, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17284,7 +16895,7 @@ constexpr const TFunction dFdxFine_10B(BuiltInId::dFdxFine_Float2, constexpr const TFunction dFdxFine_20B(BuiltInId::dFdxFine_Float3, BuiltInName::dFdxFine, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17300,7 +16911,7 @@ constexpr const TFunction dFdxFine_30B(BuiltInId::dFdxFine_Float4, constexpr const TFunction dFdyFine_00B(BuiltInId::dFdyFine_Float1, BuiltInName::dFdyFine, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17308,7 +16919,7 @@ constexpr const TFunction dFdyFine_00B(BuiltInId::dFdyFine_Float1, constexpr const TFunction dFdyFine_10B(BuiltInId::dFdyFine_Float2, BuiltInName::dFdyFine, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17316,7 +16927,7 @@ constexpr const TFunction dFdyFine_10B(BuiltInId::dFdyFine_Float2, constexpr const TFunction dFdyFine_20B(BuiltInId::dFdyFine_Float3, BuiltInName::dFdyFine, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17332,7 +16943,7 @@ constexpr const TFunction dFdyFine_30B(BuiltInId::dFdyFine_Float4, constexpr const TFunction dFdxCoarse_00B(BuiltInId::dFdxCoarse_Float1, BuiltInName::dFdxCoarse, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17340,7 +16951,7 @@ constexpr const TFunction dFdxCoarse_00B(BuiltInId::dFdxCoarse_Float1, constexpr const TFunction dFdxCoarse_10B(BuiltInId::dFdxCoarse_Float2, BuiltInName::dFdxCoarse, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17348,7 +16959,7 @@ constexpr const TFunction dFdxCoarse_10B(BuiltInId::dFdxCoarse_Float2, constexpr const TFunction dFdxCoarse_20B(BuiltInId::dFdxCoarse_Float3, BuiltInName::dFdxCoarse, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17364,7 +16975,7 @@ constexpr const TFunction dFdxCoarse_30B(BuiltInId::dFdxCoarse_Float4, constexpr const TFunction dFdyCoarse_00B(BuiltInId::dFdyCoarse_Float1, BuiltInName::dFdyCoarse, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17372,7 +16983,7 @@ constexpr const TFunction dFdyCoarse_00B(BuiltInId::dFdyCoarse_Float1, constexpr const TFunction dFdyCoarse_10B(BuiltInId::dFdyCoarse_Float2, BuiltInName::dFdyCoarse, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17380,7 +16991,7 @@ constexpr const TFunction dFdyCoarse_10B(BuiltInId::dFdyCoarse_Float2, constexpr const TFunction dFdyCoarse_20B(BuiltInId::dFdyCoarse_Float3, BuiltInName::dFdyCoarse, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17396,7 +17007,7 @@ constexpr const TFunction dFdyCoarse_30B(BuiltInId::dFdyCoarse_Float4, constexpr const TFunction fwidthFine_00B(BuiltInId::fwidthFine_Float1, BuiltInName::fwidthFine, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17404,7 +17015,7 @@ constexpr const TFunction fwidthFine_00B(BuiltInId::fwidthFine_Float1, constexpr const TFunction fwidthFine_10B(BuiltInId::fwidthFine_Float2, BuiltInName::fwidthFine, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17412,7 +17023,7 @@ constexpr const TFunction fwidthFine_10B(BuiltInId::fwidthFine_Float2, constexpr const TFunction fwidthFine_20B(BuiltInId::fwidthFine_Float3, BuiltInName::fwidthFine, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17429,7 +17040,7 @@ constexpr const TFunction fwidthCoarse_00B( BuiltInId::fwidthCoarse_Float1, BuiltInName::fwidthCoarse, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17438,7 +17049,7 @@ constexpr const TFunction fwidthCoarse_10B( BuiltInId::fwidthCoarse_Float2, BuiltInName::fwidthCoarse, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17447,7 +17058,7 @@ constexpr const TFunction fwidthCoarse_20B( BuiltInId::fwidthCoarse_Float3, BuiltInName::fwidthCoarse, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17465,7 +17076,7 @@ constexpr const TFunction interpolateAtCentroid_00B( BuiltInId::interpolateAtCentroid_Float1, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17474,7 +17085,7 @@ constexpr const TFunction interpolateAtCentroid_10B( BuiltInId::interpolateAtCentroid_Float2, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17483,7 +17094,7 @@ constexpr const TFunction interpolateAtCentroid_20B( BuiltInId::interpolateAtCentroid_Float3, BuiltInName::interpolateAtCentroid, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17546,7 +17157,7 @@ constexpr const TFunction interpolateAtOffset_10B10B( BuiltInId::interpolateAtOffset_Float2_Float2, BuiltInName::interpolateAtOffset, TExtension::UNDEFINED, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -17573,7 +17184,7 @@ constexpr const TFunction interpolateAtCentroidExt_00B( BuiltInId::interpolateAtCentroidExt_Float1, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17582,7 +17193,7 @@ constexpr const TFunction interpolateAtCentroidExt_10B( BuiltInId::interpolateAtCentroidExt_Float2, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17591,7 +17202,7 @@ constexpr const TFunction interpolateAtCentroidExt_20B( BuiltInId::interpolateAtCentroidExt_Float3, BuiltInName::interpolateAtCentroidExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17654,7 +17265,7 @@ constexpr const TFunction interpolateAtOffsetExt_10B10B( BuiltInId::interpolateAtOffsetExt_Float2_Float2, BuiltInName::interpolateAtOffsetExt, TExtension::OES_shader_multisample_interpolation, - BuiltInParameters::p10B10B10B, + BuiltInParameters::p10B10B00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -17933,7 +17544,7 @@ constexpr const TFunction imageSize_00z(BuiltInId::imageSize_Image2D1, constexpr const TFunction imageSize_01A(BuiltInId::imageSize_IImage2D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01A10D00E00E, + BuiltInParameters::p01A10D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17941,7 +17552,7 @@ constexpr const TFunction imageSize_01A(BuiltInId::imageSize_IImage2D1, constexpr const TFunction imageSize_01B(BuiltInId::imageSize_UImage2D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01B10D00D00D, + BuiltInParameters::p01B10D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17949,7 +17560,7 @@ constexpr const TFunction imageSize_01B(BuiltInId::imageSize_UImage2D1, constexpr const TFunction imageSize_01C(BuiltInId::imageSize_Image3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, + BuiltInParameters::p01C20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17957,7 +17568,7 @@ constexpr const TFunction imageSize_01C(BuiltInId::imageSize_Image3D1, constexpr const TFunction imageSize_01D(BuiltInId::imageSize_IImage3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01D20D00E00E, + BuiltInParameters::p01D20D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17965,7 +17576,7 @@ constexpr const TFunction imageSize_01D(BuiltInId::imageSize_IImage3D1, constexpr const TFunction imageSize_01E(BuiltInId::imageSize_UImage3D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, + BuiltInParameters::p01E20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17973,7 +17584,7 @@ constexpr const TFunction imageSize_01E(BuiltInId::imageSize_UImage3D1, constexpr const TFunction imageSize_01F(BuiltInId::imageSize_Image2DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01F20D00E00E, + BuiltInParameters::p01F20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -17981,7 +17592,7 @@ constexpr const TFunction imageSize_01F(BuiltInId::imageSize_Image2DArray1, constexpr const TFunction imageSize_01G(BuiltInId::imageSize_IImage2DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01G20D00B, + BuiltInParameters::p01G20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18018,50 +17629,50 @@ constexpr const TFunction imageSize_01K(BuiltInId::imageSize_UImageCube1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01X(BuiltInId::imageSize_ImageCubeArray1, +constexpr const TFunction imageSize_01a(BuiltInId::imageSize_ImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01Y(BuiltInId::imageSize_IImageCubeArray1, +constexpr const TFunction imageSize_01b(BuiltInId::imageSize_IImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01Z(BuiltInId::imageSize_UImageCubeArray1, +constexpr const TFunction imageSize_01c(BuiltInId::imageSize_UImageCubeArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, + BuiltInParameters::p01c20D30E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01d(BuiltInId::imageSize_ImageBuffer1, +constexpr const TFunction imageSize_01g(BuiltInId::imageSize_ImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, + BuiltInParameters::p01g00D30B, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01e(BuiltInId::imageSize_IImageBuffer1, +constexpr const TFunction imageSize_01h(BuiltInId::imageSize_IImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, + BuiltInParameters::p01h00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01f(BuiltInId::imageSize_UImageBuffer1, +constexpr const TFunction imageSize_01i(BuiltInId::imageSize_UImageBuffer1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00D00D, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18069,7 +17680,7 @@ constexpr const TFunction imageSize_01f(BuiltInId::imageSize_UImageBuffer1, constexpr const TFunction imageSize_01L(BuiltInId::imageSize_Image1D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01L00D30B, + BuiltInParameters::p01L00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18085,31 +17696,31 @@ constexpr const TFunction imageSize_01M(BuiltInId::imageSize_IImage1D1, constexpr const TFunction imageSize_01N(BuiltInId::imageSize_UImage1D1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01N00D00B, + BuiltInParameters::p01N00D30E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01a(BuiltInId::imageSize_ImageRect1, +constexpr const TFunction imageSize_01d(BuiltInId::imageSize_ImageRect1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01d, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01b(BuiltInId::imageSize_IImageRect1, +constexpr const TFunction imageSize_01e(BuiltInId::imageSize_IImageRect1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00B, + BuiltInParameters::p01e, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageSize_01c(BuiltInId::imageSize_UImageRect1, +constexpr const TFunction imageSize_01f(BuiltInId::imageSize_UImageRect1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01f, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18117,7 +17728,7 @@ constexpr const TFunction imageSize_01c(BuiltInId::imageSize_UImageRect1, constexpr const TFunction imageSize_01O(BuiltInId::imageSize_Image1DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01O10D00D00D, + BuiltInParameters::p01O10D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18125,7 +17736,7 @@ constexpr const TFunction imageSize_01O(BuiltInId::imageSize_Image1DArray1, constexpr const TFunction imageSize_01P(BuiltInId::imageSize_IImage1DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01P10D00D00D, + BuiltInParameters::p01P10D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18133,7 +17744,7 @@ constexpr const TFunction imageSize_01P(BuiltInId::imageSize_IImage1DArray1, constexpr const TFunction imageSize_01Q(BuiltInId::imageSize_UImage1DArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01Q10D00D00D, + BuiltInParameters::p01Q10D30E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18149,7 +17760,7 @@ constexpr const TFunction imageSize_01R(BuiltInId::imageSize_Image2DMS1, constexpr const TFunction imageSize_01S(BuiltInId::imageSize_IImage2DMS1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01S10D00D00E00E, + BuiltInParameters::p01S10D00D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18157,7 +17768,7 @@ constexpr const TFunction imageSize_01S(BuiltInId::imageSize_IImage2DMS1, constexpr const TFunction imageSize_01T(BuiltInId::imageSize_UImage2DMS1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01T10D00D00D00D, + BuiltInParameters::p01T10D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18165,7 +17776,7 @@ constexpr const TFunction imageSize_01T(BuiltInId::imageSize_UImage2DMS1, constexpr const TFunction imageSize_01U(BuiltInId::imageSize_Image2DMSArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01U20D00D00B, + BuiltInParameters::p01U20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18173,7 +17784,7 @@ constexpr const TFunction imageSize_01U(BuiltInId::imageSize_Image2DMSArray1, constexpr const TFunction imageSize_01V(BuiltInId::imageSize_IImage2DMSArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01V20D00D30D, + BuiltInParameters::p01V20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18181,7 +17792,7 @@ constexpr const TFunction imageSize_01V(BuiltInId::imageSize_IImage2DMSArray1, constexpr const TFunction imageSize_01W(BuiltInId::imageSize_UImage2DMSArray1, BuiltInName::imageSize, TExtension::UNDEFINED, - BuiltInParameters::p01W20D00D30E, + BuiltInParameters::p01W20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18197,7 +17808,7 @@ constexpr const TFunction imageSamples_01R(BuiltInId::imageSamples_Image2DMS1, constexpr const TFunction imageSamples_01S(BuiltInId::imageSamples_IImage2DMS1, BuiltInName::imageSamples, TExtension::UNDEFINED, - BuiltInParameters::p01S10D00D00E00E, + BuiltInParameters::p01S10D00D00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18205,7 +17816,7 @@ constexpr const TFunction imageSamples_01S(BuiltInId::imageSamples_IImage2DMS1, constexpr const TFunction imageSamples_01T(BuiltInId::imageSamples_UImage2DMS1, BuiltInName::imageSamples, TExtension::UNDEFINED, - BuiltInParameters::p01T10D00D00D00D, + BuiltInParameters::p01T10D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18213,7 +17824,7 @@ constexpr const TFunction imageSamples_01T(BuiltInId::imageSamples_UImage2DMS1, constexpr const TFunction imageSamples_01U(BuiltInId::imageSamples_Image2DMSArray1, BuiltInName::imageSamples, TExtension::UNDEFINED, - BuiltInParameters::p01U20D00D00B, + BuiltInParameters::p01U20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18221,7 +17832,7 @@ constexpr const TFunction imageSamples_01U(BuiltInId::imageSamples_Image2DMSArra constexpr const TFunction imageSamples_01V(BuiltInId::imageSamples_IImage2DMSArray1, BuiltInName::imageSamples, TExtension::UNDEFINED, - BuiltInParameters::p01V20D00D30D, + BuiltInParameters::p01V20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -18229,308 +17840,11 @@ constexpr const TFunction imageSamples_01V(BuiltInId::imageSamples_IImage2DMSArr constexpr const TFunction imageSamples_01W(BuiltInId::imageSamples_UImage2DMSArray1, BuiltInName::imageSamples, TExtension::UNDEFINED, - BuiltInParameters::p01W20D00D30E, + BuiltInParameters::p01W20D00D00E00E, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageStore_00z10D30B( - BuiltInId::imageStore_Image2D1_Int2_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p00z10D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01A10D30D( - BuiltInId::imageStore_IImage2D1_Int2_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01A10D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01B10D30E( - BuiltInId::imageStore_UImage2D1_Int2_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01B10D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01C20D30B( - BuiltInId::imageStore_Image3D1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01D20D30D( - BuiltInId::imageStore_IImage3D1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01D20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01E20D30E( - BuiltInId::imageStore_UImage3D1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01F20D30B( - BuiltInId::imageStore_Image2DArray1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01F20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01G20D30D( - BuiltInId::imageStore_IImage2DArray1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01G20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01H20D30E( - BuiltInId::imageStore_UImage2DArray1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01H20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01I20D30B( - BuiltInId::imageStore_ImageCube1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01I20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01J20D30D( - BuiltInId::imageStore_IImageCube1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01J20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01K20D30E( - BuiltInId::imageStore_UImageCube1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01K20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01X20D30B( - BuiltInId::imageStore_ImageCubeArray1_Int3_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01X20D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01Y20D30D( - BuiltInId::imageStore_IImageCubeArray1_Int3_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01Y20D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01Z20D30E( - BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01d00D30B( - BuiltInId::imageStore_ImageBuffer1_Int1_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01e00D30D( - BuiltInId::imageStore_IImageBuffer1_Int1_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01f00D30E( - BuiltInId::imageStore_UImageBuffer1_Int1_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01f00D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01L00D30B( - BuiltInId::imageStore_Image1D1_Int1_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01L00D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01M00D30D( - BuiltInId::imageStore_IImage1D1_Int1_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01M00D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01N00D30E( - BuiltInId::imageStore_UImage1D1_Int1_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01N00D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01O10D30B( - BuiltInId::imageStore_Image1DArray1_Int2_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01O10D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01P10D30D( - BuiltInId::imageStore_IImage1DArray1_Int2_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01P10D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01Q10D30E( - BuiltInId::imageStore_UImage1DArray1_Int2_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01Q10D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01a10D30B( - BuiltInId::imageStore_ImageRect1_Int2_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01a10D30B, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01b10D30D( - BuiltInId::imageStore_IImageRect1_Int2_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01b10D30D, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01c10D30E( - BuiltInId::imageStore_UImageRect1_Int2_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01c10D30E, - 3, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01R10D00D30B( - BuiltInId::imageStore_Image2DMS1_Int2_Int1_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01R10D00D30B, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01S10D00D30D( - BuiltInId::imageStore_IImage2DMS1_Int2_Int1_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01S10D00D30D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01T10D00D30E( - BuiltInId::imageStore_UImage2DMS1_Int2_Int1_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01T10D00D30E, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01U20D00D30B( - BuiltInId::imageStore_Image2DMSArray1_Int3_Int1_Float4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01U20D00D30B, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01V20D00D30D( - BuiltInId::imageStore_IImage2DMSArray1_Int3_Int1_Int4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01V20D00D30D, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); -constexpr const TFunction imageStore_01W20D00D30E( - BuiltInId::imageStore_UImage2DMSArray1_Int3_Int1_UInt4, - BuiltInName::imageStore, - TExtension::UNDEFINED, - BuiltInParameters::p01W20D00D30E, - 4, - StaticType::Get(), - EOpCallBuiltInFunction, - false); constexpr const TFunction imageLoad_00z10D( BuiltInId::imageLoad_Image2D1_Int2, BuiltInName::imageLoad, @@ -18543,7 +17857,7 @@ constexpr const TFunction imageLoad_00z10D( constexpr const TFunction imageLoad_01A10D(BuiltInId::imageLoad_IImage2D1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01A10D00E00E, + BuiltInParameters::p01A10D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18552,7 +17866,7 @@ constexpr const TFunction imageLoad_01B10D( BuiltInId::imageLoad_UImage2D1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01B10D00D00D, + BuiltInParameters::p01B10D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18561,7 +17875,7 @@ constexpr const TFunction imageLoad_01C20D( BuiltInId::imageLoad_Image3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01C20D30B, + BuiltInParameters::p01C20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18569,7 +17883,7 @@ constexpr const TFunction imageLoad_01C20D( constexpr const TFunction imageLoad_01D20D(BuiltInId::imageLoad_IImage3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01D20D00E00E, + BuiltInParameters::p01D20D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18578,7 +17892,7 @@ constexpr const TFunction imageLoad_01E20D( BuiltInId::imageLoad_UImage3D1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01E20D30E, + BuiltInParameters::p01E20D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18587,7 +17901,7 @@ constexpr const TFunction imageLoad_01F20D( BuiltInId::imageLoad_Image2DArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01F20D00E00E, + BuiltInParameters::p01F20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18595,7 +17909,7 @@ constexpr const TFunction imageLoad_01F20D( constexpr const TFunction imageLoad_01G20D(BuiltInId::imageLoad_IImage2DArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01G20D00B, + BuiltInParameters::p01G20D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18635,54 +17949,54 @@ constexpr const TFunction imageLoad_01K20D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01X20D( +constexpr const TFunction imageLoad_01a20D( BuiltInId::imageLoad_ImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01Y20D(BuiltInId::imageLoad_IImageCubeArray1_Int3, +constexpr const TFunction imageLoad_01b20D(BuiltInId::imageLoad_IImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01Z20D( +constexpr const TFunction imageLoad_01c20D( BuiltInId::imageLoad_UImageCubeArray1_Int3, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D30E, + BuiltInParameters::p01c20D30E, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01d00D( +constexpr const TFunction imageLoad_01g00D( BuiltInId::imageLoad_ImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01d00D30B, + BuiltInParameters::p01g00D30B, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01e00D(BuiltInId::imageLoad_IImageBuffer1_Int1, +constexpr const TFunction imageLoad_01h00D(BuiltInId::imageLoad_IImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01e00D30D, + BuiltInParameters::p01h00D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01f00D( +constexpr const TFunction imageLoad_01i00D( BuiltInId::imageLoad_UImageBuffer1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18691,7 +18005,7 @@ constexpr const TFunction imageLoad_01L00D( BuiltInId::imageLoad_Image1D1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01L00D30B, + BuiltInParameters::p01L00D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18708,7 +18022,7 @@ constexpr const TFunction imageLoad_01N00D( BuiltInId::imageLoad_UImage1D1_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01N00D00B, + BuiltInParameters::p01N00D30E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18717,7 +18031,7 @@ constexpr const TFunction imageLoad_01O10D( BuiltInId::imageLoad_Image1DArray1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01O10D00D00D, + BuiltInParameters::p01O10D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18725,7 +18039,7 @@ constexpr const TFunction imageLoad_01O10D( constexpr const TFunction imageLoad_01P10D(BuiltInId::imageLoad_IImage1DArray1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01P10D00D00D, + BuiltInParameters::p01P10D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18734,33 +18048,33 @@ constexpr const TFunction imageLoad_01Q10D( BuiltInId::imageLoad_UImage1DArray1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01Q10D00D00D, + BuiltInParameters::p01Q10D30E, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01a10D( - BuiltInId::imageLoad_ImageRect1_Int2, +constexpr const TFunction imageLoad_01X10D( + BuiltInId::imageLoad_Image2DRect1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01b10D(BuiltInId::imageLoad_IImageRect1_Int2, +constexpr const TFunction imageLoad_01Y10D(BuiltInId::imageLoad_IImage2DRect1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00B, + BuiltInParameters::p01Y10D00B, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageLoad_01c10D( - BuiltInId::imageLoad_UImageRect1_Int2, +constexpr const TFunction imageLoad_01Z10D( + BuiltInId::imageLoad_UImage2DRect1_Int2, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00E00E, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -18769,7 +18083,7 @@ constexpr const TFunction imageLoad_01R10D00D( BuiltInId::imageLoad_Image2DMS1_Int2_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01R10D00D00B, + BuiltInParameters::p01R10D00D30B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18778,7 +18092,7 @@ constexpr const TFunction imageLoad_01S10D00D( BuiltInId::imageLoad_IImage2DMS1_Int2_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01S10D00D00E00E, + BuiltInParameters::p01S10D00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18787,7 +18101,7 @@ constexpr const TFunction imageLoad_01T10D00D( BuiltInId::imageLoad_UImage2DMS1_Int2_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01T10D00D00D00D, + BuiltInParameters::p01T10D00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18796,7 +18110,7 @@ constexpr const TFunction imageLoad_01U20D00D( BuiltInId::imageLoad_Image2DMSArray1_Int3_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01U20D00D00B, + BuiltInParameters::p01U20D00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18805,7 +18119,7 @@ constexpr const TFunction imageLoad_01V20D00D( BuiltInId::imageLoad_IImage2DMSArray1_Int3_Int1, BuiltInName::imageLoad, TExtension::UNDEFINED, - BuiltInParameters::p01V20D00D30D, + BuiltInParameters::p01V20D00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18900,29 +18214,29 @@ constexpr const TFunction imageAtomicAdd_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01d00D00E( +constexpr const TFunction imageAtomicAdd_01g00D00E( BuiltInId::imageAtomicAdd_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01e00D00E( +constexpr const TFunction imageAtomicAdd_01h00D00E( BuiltInId::imageAtomicAdd_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01f00D00E( +constexpr const TFunction imageAtomicAdd_01i00D00E( BuiltInId::imageAtomicAdd_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -18954,29 +18268,29 @@ constexpr const TFunction imageAtomicAdd_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01X20D00E( +constexpr const TFunction imageAtomicAdd_01a20D00E( BuiltInId::imageAtomicAdd_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01Y20D00E( +constexpr const TFunction imageAtomicAdd_01b20D00E( BuiltInId::imageAtomicAdd_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01Z20D00E( +constexpr const TFunction imageAtomicAdd_01c20D00E( BuiltInId::imageAtomicAdd_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19035,29 +18349,29 @@ constexpr const TFunction imageAtomicAdd_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01a10D00E( - BuiltInId::imageAtomicAdd_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAdd_01X10D00E( + BuiltInId::imageAtomicAdd_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01b10D00E( - BuiltInId::imageAtomicAdd_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAdd_01Y10D00E( + BuiltInId::imageAtomicAdd_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01c10D00E( - BuiltInId::imageAtomicAdd_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAdd_01Z10D00E( + BuiltInId::imageAtomicAdd_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19197,29 +18511,29 @@ constexpr const TFunction imageAtomicAdd_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01d00D00D( +constexpr const TFunction imageAtomicAdd_01g00D00D( BuiltInId::imageAtomicAdd_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01e00D00D( +constexpr const TFunction imageAtomicAdd_01h00D00D( BuiltInId::imageAtomicAdd_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01f00D00D( +constexpr const TFunction imageAtomicAdd_01i00D00D( BuiltInId::imageAtomicAdd_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19251,29 +18565,29 @@ constexpr const TFunction imageAtomicAdd_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01X20D00D( +constexpr const TFunction imageAtomicAdd_01a20D00D( BuiltInId::imageAtomicAdd_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01Y20D00D( +constexpr const TFunction imageAtomicAdd_01b20D00D( BuiltInId::imageAtomicAdd_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01Z20D00D( +constexpr const TFunction imageAtomicAdd_01c20D00D( BuiltInId::imageAtomicAdd_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19332,29 +18646,29 @@ constexpr const TFunction imageAtomicAdd_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01a10D00D( - BuiltInId::imageAtomicAdd_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAdd_01X10D00D( + BuiltInId::imageAtomicAdd_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01b10D00D( - BuiltInId::imageAtomicAdd_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAdd_01Y10D00D( + BuiltInId::imageAtomicAdd_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAdd_01c10D00D( - BuiltInId::imageAtomicAdd_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAdd_01Z10D00D( + BuiltInId::imageAtomicAdd_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAdd, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19494,29 +18808,29 @@ constexpr const TFunction imageAtomicMin_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01d00D00E( +constexpr const TFunction imageAtomicMin_01g00D00E( BuiltInId::imageAtomicMin_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01e00D00E( +constexpr const TFunction imageAtomicMin_01h00D00E( BuiltInId::imageAtomicMin_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01f00D00E( +constexpr const TFunction imageAtomicMin_01i00D00E( BuiltInId::imageAtomicMin_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19548,29 +18862,29 @@ constexpr const TFunction imageAtomicMin_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01X20D00E( +constexpr const TFunction imageAtomicMin_01a20D00E( BuiltInId::imageAtomicMin_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01Y20D00E( +constexpr const TFunction imageAtomicMin_01b20D00E( BuiltInId::imageAtomicMin_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01Z20D00E( +constexpr const TFunction imageAtomicMin_01c20D00E( BuiltInId::imageAtomicMin_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19629,29 +18943,29 @@ constexpr const TFunction imageAtomicMin_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01a10D00E( - BuiltInId::imageAtomicMin_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMin_01X10D00E( + BuiltInId::imageAtomicMin_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01b10D00E( - BuiltInId::imageAtomicMin_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMin_01Y10D00E( + BuiltInId::imageAtomicMin_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01c10D00E( - BuiltInId::imageAtomicMin_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMin_01Z10D00E( + BuiltInId::imageAtomicMin_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19791,29 +19105,29 @@ constexpr const TFunction imageAtomicMin_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01d00D00D( +constexpr const TFunction imageAtomicMin_01g00D00D( BuiltInId::imageAtomicMin_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01e00D00D( +constexpr const TFunction imageAtomicMin_01h00D00D( BuiltInId::imageAtomicMin_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01f00D00D( +constexpr const TFunction imageAtomicMin_01i00D00D( BuiltInId::imageAtomicMin_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19845,29 +19159,29 @@ constexpr const TFunction imageAtomicMin_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01X20D00D( +constexpr const TFunction imageAtomicMin_01a20D00D( BuiltInId::imageAtomicMin_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01Y20D00D( +constexpr const TFunction imageAtomicMin_01b20D00D( BuiltInId::imageAtomicMin_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01Z20D00D( +constexpr const TFunction imageAtomicMin_01c20D00D( BuiltInId::imageAtomicMin_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -19926,29 +19240,29 @@ constexpr const TFunction imageAtomicMin_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01a10D00D( - BuiltInId::imageAtomicMin_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMin_01X10D00D( + BuiltInId::imageAtomicMin_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01b10D00D( - BuiltInId::imageAtomicMin_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMin_01Y10D00D( + BuiltInId::imageAtomicMin_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMin_01c10D00D( - BuiltInId::imageAtomicMin_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMin_01Z10D00D( + BuiltInId::imageAtomicMin_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMin, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20088,29 +19402,29 @@ constexpr const TFunction imageAtomicMax_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01d00D00E( +constexpr const TFunction imageAtomicMax_01g00D00E( BuiltInId::imageAtomicMax_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01e00D00E( +constexpr const TFunction imageAtomicMax_01h00D00E( BuiltInId::imageAtomicMax_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01f00D00E( +constexpr const TFunction imageAtomicMax_01i00D00E( BuiltInId::imageAtomicMax_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20142,29 +19456,29 @@ constexpr const TFunction imageAtomicMax_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01X20D00E( +constexpr const TFunction imageAtomicMax_01a20D00E( BuiltInId::imageAtomicMax_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01Y20D00E( +constexpr const TFunction imageAtomicMax_01b20D00E( BuiltInId::imageAtomicMax_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01Z20D00E( +constexpr const TFunction imageAtomicMax_01c20D00E( BuiltInId::imageAtomicMax_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20223,29 +19537,29 @@ constexpr const TFunction imageAtomicMax_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01a10D00E( - BuiltInId::imageAtomicMax_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMax_01X10D00E( + BuiltInId::imageAtomicMax_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01b10D00E( - BuiltInId::imageAtomicMax_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMax_01Y10D00E( + BuiltInId::imageAtomicMax_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01c10D00E( - BuiltInId::imageAtomicMax_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMax_01Z10D00E( + BuiltInId::imageAtomicMax_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20385,29 +19699,29 @@ constexpr const TFunction imageAtomicMax_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01d00D00D( +constexpr const TFunction imageAtomicMax_01g00D00D( BuiltInId::imageAtomicMax_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01e00D00D( +constexpr const TFunction imageAtomicMax_01h00D00D( BuiltInId::imageAtomicMax_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01f00D00D( +constexpr const TFunction imageAtomicMax_01i00D00D( BuiltInId::imageAtomicMax_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20439,29 +19753,29 @@ constexpr const TFunction imageAtomicMax_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01X20D00D( +constexpr const TFunction imageAtomicMax_01a20D00D( BuiltInId::imageAtomicMax_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01Y20D00D( +constexpr const TFunction imageAtomicMax_01b20D00D( BuiltInId::imageAtomicMax_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01Z20D00D( +constexpr const TFunction imageAtomicMax_01c20D00D( BuiltInId::imageAtomicMax_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20520,29 +19834,29 @@ constexpr const TFunction imageAtomicMax_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01a10D00D( - BuiltInId::imageAtomicMax_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMax_01X10D00D( + BuiltInId::imageAtomicMax_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01b10D00D( - BuiltInId::imageAtomicMax_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMax_01Y10D00D( + BuiltInId::imageAtomicMax_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMax_01c10D00D( - BuiltInId::imageAtomicMax_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMax_01Z10D00D( + BuiltInId::imageAtomicMax_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMax, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20682,29 +19996,29 @@ constexpr const TFunction imageAtomicAnd_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01d00D00E( +constexpr const TFunction imageAtomicAnd_01g00D00E( BuiltInId::imageAtomicAnd_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01e00D00E( +constexpr const TFunction imageAtomicAnd_01h00D00E( BuiltInId::imageAtomicAnd_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01f00D00E( +constexpr const TFunction imageAtomicAnd_01i00D00E( BuiltInId::imageAtomicAnd_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20736,29 +20050,29 @@ constexpr const TFunction imageAtomicAnd_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01X20D00E( +constexpr const TFunction imageAtomicAnd_01a20D00E( BuiltInId::imageAtomicAnd_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01Y20D00E( +constexpr const TFunction imageAtomicAnd_01b20D00E( BuiltInId::imageAtomicAnd_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01Z20D00E( +constexpr const TFunction imageAtomicAnd_01c20D00E( BuiltInId::imageAtomicAnd_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20817,29 +20131,29 @@ constexpr const TFunction imageAtomicAnd_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01a10D00E( - BuiltInId::imageAtomicAnd_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAnd_01X10D00E( + BuiltInId::imageAtomicAnd_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01b10D00E( - BuiltInId::imageAtomicAnd_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAnd_01Y10D00E( + BuiltInId::imageAtomicAnd_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01c10D00E( - BuiltInId::imageAtomicAnd_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAnd_01Z10D00E( + BuiltInId::imageAtomicAnd_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -20979,29 +20293,29 @@ constexpr const TFunction imageAtomicAnd_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01d00D00D( +constexpr const TFunction imageAtomicAnd_01g00D00D( BuiltInId::imageAtomicAnd_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01e00D00D( +constexpr const TFunction imageAtomicAnd_01h00D00D( BuiltInId::imageAtomicAnd_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01f00D00D( +constexpr const TFunction imageAtomicAnd_01i00D00D( BuiltInId::imageAtomicAnd_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21033,29 +20347,29 @@ constexpr const TFunction imageAtomicAnd_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01X20D00D( +constexpr const TFunction imageAtomicAnd_01a20D00D( BuiltInId::imageAtomicAnd_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01Y20D00D( +constexpr const TFunction imageAtomicAnd_01b20D00D( BuiltInId::imageAtomicAnd_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01Z20D00D( +constexpr const TFunction imageAtomicAnd_01c20D00D( BuiltInId::imageAtomicAnd_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21114,29 +20428,29 @@ constexpr const TFunction imageAtomicAnd_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01a10D00D( - BuiltInId::imageAtomicAnd_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAnd_01X10D00D( + BuiltInId::imageAtomicAnd_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01b10D00D( - BuiltInId::imageAtomicAnd_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAnd_01Y10D00D( + BuiltInId::imageAtomicAnd_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAnd_01c10D00D( - BuiltInId::imageAtomicAnd_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAnd_01Z10D00D( + BuiltInId::imageAtomicAnd_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAnd, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21276,29 +20590,29 @@ constexpr const TFunction imageAtomicOr_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01d00D00E( +constexpr const TFunction imageAtomicOr_01g00D00E( BuiltInId::imageAtomicOr_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01e00D00E( +constexpr const TFunction imageAtomicOr_01h00D00E( BuiltInId::imageAtomicOr_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01f00D00E( +constexpr const TFunction imageAtomicOr_01i00D00E( BuiltInId::imageAtomicOr_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21330,29 +20644,29 @@ constexpr const TFunction imageAtomicOr_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01X20D00E( +constexpr const TFunction imageAtomicOr_01a20D00E( BuiltInId::imageAtomicOr_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01Y20D00E( +constexpr const TFunction imageAtomicOr_01b20D00E( BuiltInId::imageAtomicOr_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01Z20D00E( +constexpr const TFunction imageAtomicOr_01c20D00E( BuiltInId::imageAtomicOr_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21411,29 +20725,29 @@ constexpr const TFunction imageAtomicOr_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01a10D00E( - BuiltInId::imageAtomicOr_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOr_01X10D00E( + BuiltInId::imageAtomicOr_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01b10D00E( - BuiltInId::imageAtomicOr_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOr_01Y10D00E( + BuiltInId::imageAtomicOr_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01c10D00E( - BuiltInId::imageAtomicOr_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOr_01Z10D00E( + BuiltInId::imageAtomicOr_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21573,29 +20887,29 @@ constexpr const TFunction imageAtomicOr_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01d00D00D( +constexpr const TFunction imageAtomicOr_01g00D00D( BuiltInId::imageAtomicOr_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01e00D00D( +constexpr const TFunction imageAtomicOr_01h00D00D( BuiltInId::imageAtomicOr_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01f00D00D( +constexpr const TFunction imageAtomicOr_01i00D00D( BuiltInId::imageAtomicOr_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21627,29 +20941,29 @@ constexpr const TFunction imageAtomicOr_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01X20D00D( +constexpr const TFunction imageAtomicOr_01a20D00D( BuiltInId::imageAtomicOr_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01Y20D00D( +constexpr const TFunction imageAtomicOr_01b20D00D( BuiltInId::imageAtomicOr_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01Z20D00D( +constexpr const TFunction imageAtomicOr_01c20D00D( BuiltInId::imageAtomicOr_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21708,29 +21022,29 @@ constexpr const TFunction imageAtomicOr_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01a10D00D( - BuiltInId::imageAtomicOr_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOr_01X10D00D( + BuiltInId::imageAtomicOr_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01b10D00D( - BuiltInId::imageAtomicOr_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOr_01Y10D00D( + BuiltInId::imageAtomicOr_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOr_01c10D00D( - BuiltInId::imageAtomicOr_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOr_01Z10D00D( + BuiltInId::imageAtomicOr_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOr, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21870,29 +21184,29 @@ constexpr const TFunction imageAtomicXor_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01d00D00E( +constexpr const TFunction imageAtomicXor_01g00D00E( BuiltInId::imageAtomicXor_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01e00D00E( +constexpr const TFunction imageAtomicXor_01h00D00E( BuiltInId::imageAtomicXor_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01f00D00E( +constexpr const TFunction imageAtomicXor_01i00D00E( BuiltInId::imageAtomicXor_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -21924,29 +21238,29 @@ constexpr const TFunction imageAtomicXor_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01X20D00E( +constexpr const TFunction imageAtomicXor_01a20D00E( BuiltInId::imageAtomicXor_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01Y20D00E( +constexpr const TFunction imageAtomicXor_01b20D00E( BuiltInId::imageAtomicXor_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01Z20D00E( +constexpr const TFunction imageAtomicXor_01c20D00E( BuiltInId::imageAtomicXor_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22005,29 +21319,29 @@ constexpr const TFunction imageAtomicXor_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01a10D00E( - BuiltInId::imageAtomicXor_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXor_01X10D00E( + BuiltInId::imageAtomicXor_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01b10D00E( - BuiltInId::imageAtomicXor_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXor_01Y10D00E( + BuiltInId::imageAtomicXor_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01c10D00E( - BuiltInId::imageAtomicXor_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXor_01Z10D00E( + BuiltInId::imageAtomicXor_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22167,29 +21481,29 @@ constexpr const TFunction imageAtomicXor_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01d00D00D( +constexpr const TFunction imageAtomicXor_01g00D00D( BuiltInId::imageAtomicXor_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01e00D00D( +constexpr const TFunction imageAtomicXor_01h00D00D( BuiltInId::imageAtomicXor_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01f00D00D( +constexpr const TFunction imageAtomicXor_01i00D00D( BuiltInId::imageAtomicXor_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22221,29 +21535,29 @@ constexpr const TFunction imageAtomicXor_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01X20D00D( +constexpr const TFunction imageAtomicXor_01a20D00D( BuiltInId::imageAtomicXor_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01Y20D00D( +constexpr const TFunction imageAtomicXor_01b20D00D( BuiltInId::imageAtomicXor_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01Z20D00D( +constexpr const TFunction imageAtomicXor_01c20D00D( BuiltInId::imageAtomicXor_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22302,29 +21616,29 @@ constexpr const TFunction imageAtomicXor_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01a10D00D( - BuiltInId::imageAtomicXor_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXor_01X10D00D( + BuiltInId::imageAtomicXor_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01b10D00D( - BuiltInId::imageAtomicXor_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXor_01Y10D00D( + BuiltInId::imageAtomicXor_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXor_01c10D00D( - BuiltInId::imageAtomicXor_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXor_01Z10D00D( + BuiltInId::imageAtomicXor_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXor, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22464,29 +21778,29 @@ constexpr const TFunction imageAtomicExchange_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01d00D00E( +constexpr const TFunction imageAtomicExchange_01g00D00E( BuiltInId::imageAtomicExchange_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01e00D00E( +constexpr const TFunction imageAtomicExchange_01h00D00E( BuiltInId::imageAtomicExchange_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01f00D00E( +constexpr const TFunction imageAtomicExchange_01i00D00E( BuiltInId::imageAtomicExchange_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22518,29 +21832,29 @@ constexpr const TFunction imageAtomicExchange_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01X20D00E( +constexpr const TFunction imageAtomicExchange_01a20D00E( BuiltInId::imageAtomicExchange_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Y20D00E( +constexpr const TFunction imageAtomicExchange_01b20D00E( BuiltInId::imageAtomicExchange_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Z20D00E( +constexpr const TFunction imageAtomicExchange_01c20D00E( BuiltInId::imageAtomicExchange_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22599,29 +21913,29 @@ constexpr const TFunction imageAtomicExchange_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01a10D00E( - BuiltInId::imageAtomicExchange_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchange_01X10D00E( + BuiltInId::imageAtomicExchange_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01b10D00E( - BuiltInId::imageAtomicExchange_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchange_01Y10D00E( + BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01c10D00E( - BuiltInId::imageAtomicExchange_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchange_01Z10D00E( + BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22761,29 +22075,29 @@ constexpr const TFunction imageAtomicExchange_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01d00D00D( +constexpr const TFunction imageAtomicExchange_01g00D00D( BuiltInId::imageAtomicExchange_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01e00D00D( +constexpr const TFunction imageAtomicExchange_01h00D00D( BuiltInId::imageAtomicExchange_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01f00D00D( +constexpr const TFunction imageAtomicExchange_01i00D00D( BuiltInId::imageAtomicExchange_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22815,29 +22129,29 @@ constexpr const TFunction imageAtomicExchange_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01X20D00D( +constexpr const TFunction imageAtomicExchange_01a20D00D( BuiltInId::imageAtomicExchange_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Y20D00D( +constexpr const TFunction imageAtomicExchange_01b20D00D( BuiltInId::imageAtomicExchange_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Z20D00D( +constexpr const TFunction imageAtomicExchange_01c20D00D( BuiltInId::imageAtomicExchange_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -22896,29 +22210,29 @@ constexpr const TFunction imageAtomicExchange_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01a10D00D( - BuiltInId::imageAtomicExchange_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchange_01X10D00D( + BuiltInId::imageAtomicExchange_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01b10D00D( - BuiltInId::imageAtomicExchange_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchange_01Y10D00D( + BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01c10D00D( - BuiltInId::imageAtomicExchange_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchange_01Z10D00D( + BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -23058,29 +22372,29 @@ constexpr const TFunction imageAtomicExchange_01K20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01d00D00B( +constexpr const TFunction imageAtomicExchange_01g00D00B( BuiltInId::imageAtomicExchange_ImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00B, + BuiltInParameters::p01g00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01e00D00B( +constexpr const TFunction imageAtomicExchange_01h00D00B( BuiltInId::imageAtomicExchange_IImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00B, + BuiltInParameters::p01h00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01f00D00B( +constexpr const TFunction imageAtomicExchange_01i00D00B( BuiltInId::imageAtomicExchange_UImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00B, + BuiltInParameters::p01i00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -23112,29 +22426,29 @@ constexpr const TFunction imageAtomicExchange_01H20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01X20D00B( +constexpr const TFunction imageAtomicExchange_01a20D00B( BuiltInId::imageAtomicExchange_ImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00B, + BuiltInParameters::p01a20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Y20D00B( +constexpr const TFunction imageAtomicExchange_01b20D00B( BuiltInId::imageAtomicExchange_IImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00B, + BuiltInParameters::p01b20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01Z20D00B( +constexpr const TFunction imageAtomicExchange_01c20D00B( BuiltInId::imageAtomicExchange_UImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00B, + BuiltInParameters::p01c20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -23193,29 +22507,29 @@ constexpr const TFunction imageAtomicExchange_01Q10D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01a10D00B( - BuiltInId::imageAtomicExchange_ImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchange_01X10D00B( + BuiltInId::imageAtomicExchange_Image2DRect1_Int2_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00B, + BuiltInParameters::p01X10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01b10D00B( - BuiltInId::imageAtomicExchange_IImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchange_01Y10D00B( + BuiltInId::imageAtomicExchange_IImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00B, + BuiltInParameters::p01Y10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchange_01c10D00B( - BuiltInId::imageAtomicExchange_UImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchange_01Z10D00B( + BuiltInId::imageAtomicExchange_UImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchange, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00B, + BuiltInParameters::p01Z10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -23355,29 +22669,29 @@ constexpr const TFunction imageAtomicCompSwap_01K20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01d00D00E00E( +constexpr const TFunction imageAtomicCompSwap_01g00D00E00E( BuiltInId::imageAtomicCompSwap_ImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01e00D00E00E( +constexpr const TFunction imageAtomicCompSwap_01h00D00E00E( BuiltInId::imageAtomicCompSwap_IImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01f00D00E00E( +constexpr const TFunction imageAtomicCompSwap_01i00D00E00E( BuiltInId::imageAtomicCompSwap_UImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23409,29 +22723,29 @@ constexpr const TFunction imageAtomicCompSwap_01H20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01X20D00E00E( +constexpr const TFunction imageAtomicCompSwap_01a20D00E00E( BuiltInId::imageAtomicCompSwap_ImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01Y20D00E00E( +constexpr const TFunction imageAtomicCompSwap_01b20D00E00E( BuiltInId::imageAtomicCompSwap_IImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01Z20D00E00E( +constexpr const TFunction imageAtomicCompSwap_01c20D00E00E( BuiltInId::imageAtomicCompSwap_UImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23490,29 +22804,29 @@ constexpr const TFunction imageAtomicCompSwap_01Q10D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01a10D00E00E( - BuiltInId::imageAtomicCompSwap_ImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwap_01X10D00E00E( + BuiltInId::imageAtomicCompSwap_Image2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01b10D00E00E( - BuiltInId::imageAtomicCompSwap_IImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwap_01Y10D00E00E( + BuiltInId::imageAtomicCompSwap_IImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01c10D00E00E( - BuiltInId::imageAtomicCompSwap_UImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwap_01Z10D00E00E( + BuiltInId::imageAtomicCompSwap_UImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23652,29 +22966,29 @@ constexpr const TFunction imageAtomicCompSwap_01K20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01d00D00D00D( +constexpr const TFunction imageAtomicCompSwap_01g00D00D00D( BuiltInId::imageAtomicCompSwap_ImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01e00D00D00D( +constexpr const TFunction imageAtomicCompSwap_01h00D00D00D( BuiltInId::imageAtomicCompSwap_IImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01f00D00D00D( +constexpr const TFunction imageAtomicCompSwap_01i00D00D00D( BuiltInId::imageAtomicCompSwap_UImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23706,29 +23020,29 @@ constexpr const TFunction imageAtomicCompSwap_01H20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01X20D00D00D( +constexpr const TFunction imageAtomicCompSwap_01a20D00D00D( BuiltInId::imageAtomicCompSwap_ImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01Y20D00D00D( +constexpr const TFunction imageAtomicCompSwap_01b20D00D00D( BuiltInId::imageAtomicCompSwap_IImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01Z20D00D00D( +constexpr const TFunction imageAtomicCompSwap_01c20D00D00D( BuiltInId::imageAtomicCompSwap_UImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23787,29 +23101,29 @@ constexpr const TFunction imageAtomicCompSwap_01Q10D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01a10D00D00D( - BuiltInId::imageAtomicCompSwap_ImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwap_01X10D00D00D( + BuiltInId::imageAtomicCompSwap_Image2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01b10D00D00D( - BuiltInId::imageAtomicCompSwap_IImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwap_01Y10D00D00D( + BuiltInId::imageAtomicCompSwap_IImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwap_01c10D00D00D( - BuiltInId::imageAtomicCompSwap_UImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwap_01Z10D00D00D( + BuiltInId::imageAtomicCompSwap_UImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwap, TExtension::UNDEFINED, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -23949,29 +23263,29 @@ constexpr const TFunction imageAtomicAddExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01d00D00E( +constexpr const TFunction imageAtomicAddExt_01g00D00E( BuiltInId::imageAtomicAddExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01e00D00E( +constexpr const TFunction imageAtomicAddExt_01h00D00E( BuiltInId::imageAtomicAddExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01f00D00E( +constexpr const TFunction imageAtomicAddExt_01i00D00E( BuiltInId::imageAtomicAddExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24003,29 +23317,29 @@ constexpr const TFunction imageAtomicAddExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01X20D00E( +constexpr const TFunction imageAtomicAddExt_01a20D00E( BuiltInId::imageAtomicAddExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Y20D00E( +constexpr const TFunction imageAtomicAddExt_01b20D00E( BuiltInId::imageAtomicAddExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Z20D00E( +constexpr const TFunction imageAtomicAddExt_01c20D00E( BuiltInId::imageAtomicAddExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24084,29 +23398,29 @@ constexpr const TFunction imageAtomicAddExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01a10D00E( - BuiltInId::imageAtomicAddExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01X10D00E( + BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01b10D00E( - BuiltInId::imageAtomicAddExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01Y10D00E( + BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01c10D00E( - BuiltInId::imageAtomicAddExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAddExt_01Z10D00E( + BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24246,29 +23560,29 @@ constexpr const TFunction imageAtomicAddExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01d00D00D( +constexpr const TFunction imageAtomicAddExt_01g00D00D( BuiltInId::imageAtomicAddExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01e00D00D( +constexpr const TFunction imageAtomicAddExt_01h00D00D( BuiltInId::imageAtomicAddExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01f00D00D( +constexpr const TFunction imageAtomicAddExt_01i00D00D( BuiltInId::imageAtomicAddExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24300,29 +23614,29 @@ constexpr const TFunction imageAtomicAddExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01X20D00D( +constexpr const TFunction imageAtomicAddExt_01a20D00D( BuiltInId::imageAtomicAddExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Y20D00D( +constexpr const TFunction imageAtomicAddExt_01b20D00D( BuiltInId::imageAtomicAddExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01Z20D00D( +constexpr const TFunction imageAtomicAddExt_01c20D00D( BuiltInId::imageAtomicAddExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24381,29 +23695,29 @@ constexpr const TFunction imageAtomicAddExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01a10D00D( - BuiltInId::imageAtomicAddExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01X10D00D( + BuiltInId::imageAtomicAddExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01b10D00D( - BuiltInId::imageAtomicAddExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01Y10D00D( + BuiltInId::imageAtomicAddExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAddExt_01c10D00D( - BuiltInId::imageAtomicAddExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAddExt_01Z10D00D( + BuiltInId::imageAtomicAddExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAddExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24543,29 +23857,29 @@ constexpr const TFunction imageAtomicMinExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01d00D00E( +constexpr const TFunction imageAtomicMinExt_01g00D00E( BuiltInId::imageAtomicMinExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01e00D00E( +constexpr const TFunction imageAtomicMinExt_01h00D00E( BuiltInId::imageAtomicMinExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01f00D00E( +constexpr const TFunction imageAtomicMinExt_01i00D00E( BuiltInId::imageAtomicMinExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24597,29 +23911,29 @@ constexpr const TFunction imageAtomicMinExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01X20D00E( +constexpr const TFunction imageAtomicMinExt_01a20D00E( BuiltInId::imageAtomicMinExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Y20D00E( +constexpr const TFunction imageAtomicMinExt_01b20D00E( BuiltInId::imageAtomicMinExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Z20D00E( +constexpr const TFunction imageAtomicMinExt_01c20D00E( BuiltInId::imageAtomicMinExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24678,29 +23992,29 @@ constexpr const TFunction imageAtomicMinExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01a10D00E( - BuiltInId::imageAtomicMinExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01X10D00E( + BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01b10D00E( - BuiltInId::imageAtomicMinExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01Y10D00E( + BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01c10D00E( - BuiltInId::imageAtomicMinExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMinExt_01Z10D00E( + BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24840,29 +24154,29 @@ constexpr const TFunction imageAtomicMinExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01d00D00D( +constexpr const TFunction imageAtomicMinExt_01g00D00D( BuiltInId::imageAtomicMinExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01e00D00D( +constexpr const TFunction imageAtomicMinExt_01h00D00D( BuiltInId::imageAtomicMinExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01f00D00D( +constexpr const TFunction imageAtomicMinExt_01i00D00D( BuiltInId::imageAtomicMinExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24894,29 +24208,29 @@ constexpr const TFunction imageAtomicMinExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01X20D00D( +constexpr const TFunction imageAtomicMinExt_01a20D00D( BuiltInId::imageAtomicMinExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Y20D00D( +constexpr const TFunction imageAtomicMinExt_01b20D00D( BuiltInId::imageAtomicMinExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01Z20D00D( +constexpr const TFunction imageAtomicMinExt_01c20D00D( BuiltInId::imageAtomicMinExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -24975,29 +24289,29 @@ constexpr const TFunction imageAtomicMinExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01a10D00D( - BuiltInId::imageAtomicMinExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01X10D00D( + BuiltInId::imageAtomicMinExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01b10D00D( - BuiltInId::imageAtomicMinExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01Y10D00D( + BuiltInId::imageAtomicMinExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMinExt_01c10D00D( - BuiltInId::imageAtomicMinExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMinExt_01Z10D00D( + BuiltInId::imageAtomicMinExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMinExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25137,29 +24451,29 @@ constexpr const TFunction imageAtomicMaxExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01d00D00E( +constexpr const TFunction imageAtomicMaxExt_01g00D00E( BuiltInId::imageAtomicMaxExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01e00D00E( +constexpr const TFunction imageAtomicMaxExt_01h00D00E( BuiltInId::imageAtomicMaxExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01f00D00E( +constexpr const TFunction imageAtomicMaxExt_01i00D00E( BuiltInId::imageAtomicMaxExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25191,29 +24505,29 @@ constexpr const TFunction imageAtomicMaxExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01X20D00E( +constexpr const TFunction imageAtomicMaxExt_01a20D00E( BuiltInId::imageAtomicMaxExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Y20D00E( +constexpr const TFunction imageAtomicMaxExt_01b20D00E( BuiltInId::imageAtomicMaxExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Z20D00E( +constexpr const TFunction imageAtomicMaxExt_01c20D00E( BuiltInId::imageAtomicMaxExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25272,29 +24586,29 @@ constexpr const TFunction imageAtomicMaxExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01a10D00E( - BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01X10D00E( + BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01b10D00E( - BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01Y10D00E( + BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01c10D00E( - BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicMaxExt_01Z10D00E( + BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25434,29 +24748,29 @@ constexpr const TFunction imageAtomicMaxExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01d00D00D( +constexpr const TFunction imageAtomicMaxExt_01g00D00D( BuiltInId::imageAtomicMaxExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01e00D00D( +constexpr const TFunction imageAtomicMaxExt_01h00D00D( BuiltInId::imageAtomicMaxExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01f00D00D( +constexpr const TFunction imageAtomicMaxExt_01i00D00D( BuiltInId::imageAtomicMaxExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25488,29 +24802,29 @@ constexpr const TFunction imageAtomicMaxExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01X20D00D( +constexpr const TFunction imageAtomicMaxExt_01a20D00D( BuiltInId::imageAtomicMaxExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Y20D00D( +constexpr const TFunction imageAtomicMaxExt_01b20D00D( BuiltInId::imageAtomicMaxExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01Z20D00D( +constexpr const TFunction imageAtomicMaxExt_01c20D00D( BuiltInId::imageAtomicMaxExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25569,29 +24883,29 @@ constexpr const TFunction imageAtomicMaxExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01a10D00D( - BuiltInId::imageAtomicMaxExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01X10D00D( + BuiltInId::imageAtomicMaxExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01b10D00D( - BuiltInId::imageAtomicMaxExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01Y10D00D( + BuiltInId::imageAtomicMaxExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicMaxExt_01c10D00D( - BuiltInId::imageAtomicMaxExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicMaxExt_01Z10D00D( + BuiltInId::imageAtomicMaxExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicMaxExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25731,29 +25045,29 @@ constexpr const TFunction imageAtomicAndExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01d00D00E( +constexpr const TFunction imageAtomicAndExt_01g00D00E( BuiltInId::imageAtomicAndExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01e00D00E( +constexpr const TFunction imageAtomicAndExt_01h00D00E( BuiltInId::imageAtomicAndExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01f00D00E( +constexpr const TFunction imageAtomicAndExt_01i00D00E( BuiltInId::imageAtomicAndExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25785,29 +25099,29 @@ constexpr const TFunction imageAtomicAndExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01X20D00E( +constexpr const TFunction imageAtomicAndExt_01a20D00E( BuiltInId::imageAtomicAndExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Y20D00E( +constexpr const TFunction imageAtomicAndExt_01b20D00E( BuiltInId::imageAtomicAndExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Z20D00E( +constexpr const TFunction imageAtomicAndExt_01c20D00E( BuiltInId::imageAtomicAndExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -25866,29 +25180,29 @@ constexpr const TFunction imageAtomicAndExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01a10D00E( - BuiltInId::imageAtomicAndExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01X10D00E( + BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01b10D00E( - BuiltInId::imageAtomicAndExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01Y10D00E( + BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01c10D00E( - BuiltInId::imageAtomicAndExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicAndExt_01Z10D00E( + BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26028,29 +25342,29 @@ constexpr const TFunction imageAtomicAndExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01d00D00D( +constexpr const TFunction imageAtomicAndExt_01g00D00D( BuiltInId::imageAtomicAndExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01e00D00D( +constexpr const TFunction imageAtomicAndExt_01h00D00D( BuiltInId::imageAtomicAndExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01f00D00D( +constexpr const TFunction imageAtomicAndExt_01i00D00D( BuiltInId::imageAtomicAndExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26082,29 +25396,29 @@ constexpr const TFunction imageAtomicAndExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01X20D00D( +constexpr const TFunction imageAtomicAndExt_01a20D00D( BuiltInId::imageAtomicAndExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Y20D00D( +constexpr const TFunction imageAtomicAndExt_01b20D00D( BuiltInId::imageAtomicAndExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01Z20D00D( +constexpr const TFunction imageAtomicAndExt_01c20D00D( BuiltInId::imageAtomicAndExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26163,29 +25477,29 @@ constexpr const TFunction imageAtomicAndExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01a10D00D( - BuiltInId::imageAtomicAndExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01X10D00D( + BuiltInId::imageAtomicAndExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01b10D00D( - BuiltInId::imageAtomicAndExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01Y10D00D( + BuiltInId::imageAtomicAndExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicAndExt_01c10D00D( - BuiltInId::imageAtomicAndExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicAndExt_01Z10D00D( + BuiltInId::imageAtomicAndExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicAndExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26325,29 +25639,29 @@ constexpr const TFunction imageAtomicOrExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01d00D00E( +constexpr const TFunction imageAtomicOrExt_01g00D00E( BuiltInId::imageAtomicOrExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01e00D00E( +constexpr const TFunction imageAtomicOrExt_01h00D00E( BuiltInId::imageAtomicOrExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01f00D00E( +constexpr const TFunction imageAtomicOrExt_01i00D00E( BuiltInId::imageAtomicOrExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26379,29 +25693,29 @@ constexpr const TFunction imageAtomicOrExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01X20D00E( +constexpr const TFunction imageAtomicOrExt_01a20D00E( BuiltInId::imageAtomicOrExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Y20D00E( +constexpr const TFunction imageAtomicOrExt_01b20D00E( BuiltInId::imageAtomicOrExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Z20D00E( +constexpr const TFunction imageAtomicOrExt_01c20D00E( BuiltInId::imageAtomicOrExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26460,29 +25774,29 @@ constexpr const TFunction imageAtomicOrExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01a10D00E( - BuiltInId::imageAtomicOrExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01X10D00E( + BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01b10D00E( - BuiltInId::imageAtomicOrExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01Y10D00E( + BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01c10D00E( - BuiltInId::imageAtomicOrExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicOrExt_01Z10D00E( + BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26622,29 +25936,29 @@ constexpr const TFunction imageAtomicOrExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01d00D00D( +constexpr const TFunction imageAtomicOrExt_01g00D00D( BuiltInId::imageAtomicOrExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01e00D00D( +constexpr const TFunction imageAtomicOrExt_01h00D00D( BuiltInId::imageAtomicOrExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01f00D00D( +constexpr const TFunction imageAtomicOrExt_01i00D00D( BuiltInId::imageAtomicOrExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26676,29 +25990,29 @@ constexpr const TFunction imageAtomicOrExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01X20D00D( +constexpr const TFunction imageAtomicOrExt_01a20D00D( BuiltInId::imageAtomicOrExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Y20D00D( +constexpr const TFunction imageAtomicOrExt_01b20D00D( BuiltInId::imageAtomicOrExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01Z20D00D( +constexpr const TFunction imageAtomicOrExt_01c20D00D( BuiltInId::imageAtomicOrExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26757,29 +26071,29 @@ constexpr const TFunction imageAtomicOrExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01a10D00D( - BuiltInId::imageAtomicOrExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01X10D00D( + BuiltInId::imageAtomicOrExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01b10D00D( - BuiltInId::imageAtomicOrExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01Y10D00D( + BuiltInId::imageAtomicOrExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicOrExt_01c10D00D( - BuiltInId::imageAtomicOrExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicOrExt_01Z10D00D( + BuiltInId::imageAtomicOrExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicOrExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26919,29 +26233,29 @@ constexpr const TFunction imageAtomicXorExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01d00D00E( +constexpr const TFunction imageAtomicXorExt_01g00D00E( BuiltInId::imageAtomicXorExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01e00D00E( +constexpr const TFunction imageAtomicXorExt_01h00D00E( BuiltInId::imageAtomicXorExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01f00D00E( +constexpr const TFunction imageAtomicXorExt_01i00D00E( BuiltInId::imageAtomicXorExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -26973,29 +26287,29 @@ constexpr const TFunction imageAtomicXorExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01X20D00E( +constexpr const TFunction imageAtomicXorExt_01a20D00E( BuiltInId::imageAtomicXorExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Y20D00E( +constexpr const TFunction imageAtomicXorExt_01b20D00E( BuiltInId::imageAtomicXorExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Z20D00E( +constexpr const TFunction imageAtomicXorExt_01c20D00E( BuiltInId::imageAtomicXorExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27054,29 +26368,29 @@ constexpr const TFunction imageAtomicXorExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01a10D00E( - BuiltInId::imageAtomicXorExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01X10D00E( + BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01b10D00E( - BuiltInId::imageAtomicXorExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01Y10D00E( + BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01c10D00E( - BuiltInId::imageAtomicXorExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicXorExt_01Z10D00E( + BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27216,29 +26530,29 @@ constexpr const TFunction imageAtomicXorExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01d00D00D( +constexpr const TFunction imageAtomicXorExt_01g00D00D( BuiltInId::imageAtomicXorExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01e00D00D( +constexpr const TFunction imageAtomicXorExt_01h00D00D( BuiltInId::imageAtomicXorExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01f00D00D( +constexpr const TFunction imageAtomicXorExt_01i00D00D( BuiltInId::imageAtomicXorExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27270,29 +26584,29 @@ constexpr const TFunction imageAtomicXorExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01X20D00D( +constexpr const TFunction imageAtomicXorExt_01a20D00D( BuiltInId::imageAtomicXorExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Y20D00D( +constexpr const TFunction imageAtomicXorExt_01b20D00D( BuiltInId::imageAtomicXorExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01Z20D00D( +constexpr const TFunction imageAtomicXorExt_01c20D00D( BuiltInId::imageAtomicXorExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27351,29 +26665,29 @@ constexpr const TFunction imageAtomicXorExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01a10D00D( - BuiltInId::imageAtomicXorExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01X10D00D( + BuiltInId::imageAtomicXorExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01b10D00D( - BuiltInId::imageAtomicXorExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01Y10D00D( + BuiltInId::imageAtomicXorExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicXorExt_01c10D00D( - BuiltInId::imageAtomicXorExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicXorExt_01Z10D00D( + BuiltInId::imageAtomicXorExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicXorExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27513,29 +26827,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00E( +constexpr const TFunction imageAtomicExchangeExt_01g00D00E( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00E( +constexpr const TFunction imageAtomicExchangeExt_01h00D00E( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00E( +constexpr const TFunction imageAtomicExchangeExt_01i00D00E( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27567,29 +26881,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00E( +constexpr const TFunction imageAtomicExchangeExt_01a20D00E( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00E( +constexpr const TFunction imageAtomicExchangeExt_01b20D00E( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00E( +constexpr const TFunction imageAtomicExchangeExt_01c20D00E( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27648,29 +26962,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00E( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00E( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00E( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00E( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00E( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_UInt1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00E( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27810,29 +27124,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00D( +constexpr const TFunction imageAtomicExchangeExt_01g00D00D( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00D( +constexpr const TFunction imageAtomicExchangeExt_01h00D00D( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00D( +constexpr const TFunction imageAtomicExchangeExt_01i00D00D( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27864,29 +27178,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00D( +constexpr const TFunction imageAtomicExchangeExt_01a20D00D( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00D( +constexpr const TFunction imageAtomicExchangeExt_01b20D00D( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00D( +constexpr const TFunction imageAtomicExchangeExt_01c20D00D( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -27945,29 +27259,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00D( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00D( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00D( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00D( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00D( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Int1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00D( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Int1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -28107,29 +27421,29 @@ constexpr const TFunction imageAtomicExchangeExt_01K20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01d00D00B( +constexpr const TFunction imageAtomicExchangeExt_01g00D00B( BuiltInId::imageAtomicExchangeExt_ImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00B, + BuiltInParameters::p01g00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01e00D00B( +constexpr const TFunction imageAtomicExchangeExt_01h00D00B( BuiltInId::imageAtomicExchangeExt_IImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00B, + BuiltInParameters::p01h00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01f00D00B( +constexpr const TFunction imageAtomicExchangeExt_01i00D00B( BuiltInId::imageAtomicExchangeExt_UImageBuffer1_Int1_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00B, + BuiltInParameters::p01i00D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -28161,29 +27475,29 @@ constexpr const TFunction imageAtomicExchangeExt_01H20D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01X20D00B( +constexpr const TFunction imageAtomicExchangeExt_01a20D00B( BuiltInId::imageAtomicExchangeExt_ImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00B, + BuiltInParameters::p01a20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Y20D00B( +constexpr const TFunction imageAtomicExchangeExt_01b20D00B( BuiltInId::imageAtomicExchangeExt_IImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00B, + BuiltInParameters::p01b20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01Z20D00B( +constexpr const TFunction imageAtomicExchangeExt_01c20D00B( BuiltInId::imageAtomicExchangeExt_UImageCubeArray1_Int3_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00B, + BuiltInParameters::p01c20D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -28242,29 +27556,29 @@ constexpr const TFunction imageAtomicExchangeExt_01Q10D00B( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01a10D00B( - BuiltInId::imageAtomicExchangeExt_ImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01X10D00B( + BuiltInId::imageAtomicExchangeExt_Image2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00B, + BuiltInParameters::p01X10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01b10D00B( - BuiltInId::imageAtomicExchangeExt_IImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01Y10D00B( + BuiltInId::imageAtomicExchangeExt_IImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00B, + BuiltInParameters::p01Y10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicExchangeExt_01c10D00B( - BuiltInId::imageAtomicExchangeExt_UImageRect1_Int2_Float1, +constexpr const TFunction imageAtomicExchangeExt_01Z10D00B( + BuiltInId::imageAtomicExchangeExt_UImage2DRect1_Int2_Float1, BuiltInName::imageAtomicExchangeExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00B, + BuiltInParameters::p01Z10D00B, 3, StaticType::Get(), EOpCallBuiltInFunction, @@ -28404,29 +27718,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01K20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01d00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01g00D00E00E( BuiltInId::imageAtomicCompSwapExt_ImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00E00E, + BuiltInParameters::p01g00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01e00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01h00D00E00E( BuiltInId::imageAtomicCompSwapExt_IImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00E00E, + BuiltInParameters::p01h00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01f00D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01i00D00E00E( BuiltInId::imageAtomicCompSwapExt_UImageBuffer1_Int1_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00E00E, + BuiltInParameters::p01i00D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28458,29 +27772,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01H20D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01X20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01a20D00E00E( BuiltInId::imageAtomicCompSwapExt_ImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00E00E, + BuiltInParameters::p01a20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Y20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01b20D00E00E( BuiltInId::imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00E00E, + BuiltInParameters::p01b20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Z20D00E00E( +constexpr const TFunction imageAtomicCompSwapExt_01c20D00E00E( BuiltInId::imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00E00E, + BuiltInParameters::p01c20D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28539,29 +27853,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01Q10D00E00E( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01a10D00E00E( - BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01X10D00E00E( + BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00E00E, + BuiltInParameters::p01X10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01b10D00E00E( - BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01Y10D00E00E( + BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00E00E, + BuiltInParameters::p01Y10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01c10D00E00E( - BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1, +constexpr const TFunction imageAtomicCompSwapExt_01Z10D00E00E( + BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00E00E, + BuiltInParameters::p01Z10D00E00E, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28701,29 +28015,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01K20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01d00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01g00D00D00D( BuiltInId::imageAtomicCompSwapExt_ImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01d00D00D00D, + BuiltInParameters::p01g00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01e00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01h00D00D00D( BuiltInId::imageAtomicCompSwapExt_IImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01e00D00D00D, + BuiltInParameters::p01h00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01f00D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01i00D00D00D( BuiltInId::imageAtomicCompSwapExt_UImageBuffer1_Int1_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01f00D00D00D, + BuiltInParameters::p01i00D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28755,29 +28069,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01H20D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01X20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01a20D00D00D( BuiltInId::imageAtomicCompSwapExt_ImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01X20D00D00D, + BuiltInParameters::p01a20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Y20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01b20D00D00D( BuiltInId::imageAtomicCompSwapExt_IImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Y20D00D00D, + BuiltInParameters::p01b20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01Z20D00D00D( +constexpr const TFunction imageAtomicCompSwapExt_01c20D00D00D( BuiltInId::imageAtomicCompSwapExt_UImageCubeArray1_Int3_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01Z20D00D00D, + BuiltInParameters::p01c20D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28836,29 +28150,29 @@ constexpr const TFunction imageAtomicCompSwapExt_01Q10D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01a10D00D00D( - BuiltInId::imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01X10D00D00D( + BuiltInId::imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01a10D00D00D, + BuiltInParameters::p01X10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01b10D00D00D( - BuiltInId::imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01Y10D00D00D( + BuiltInId::imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01b10D00D00D, + BuiltInParameters::p01Y10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction imageAtomicCompSwapExt_01c10D00D00D( - BuiltInId::imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1, +constexpr const TFunction imageAtomicCompSwapExt_01Z10D00D00D( + BuiltInId::imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1, BuiltInName::imageAtomicCompSwapExt, TExtension::OES_shader_image_atomic, - BuiltInParameters::p01c10D00D00D, + BuiltInParameters::p01Z10D00D00D, 4, StaticType::Get(), EOpCallBuiltInFunction, @@ -28917,10 +28231,307 @@ constexpr const TFunction imageAtomicCompSwapExt_01W20D00D00D00D( StaticType::Get(), EOpCallBuiltInFunction, false); +constexpr const TFunction imageStore_00z10D30B( + BuiltInId::imageStore_Image2D1_Int2_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p00z10D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01A10D30D( + BuiltInId::imageStore_IImage2D1_Int2_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01A10D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01B10D30E( + BuiltInId::imageStore_UImage2D1_Int2_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01B10D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01C20D30B( + BuiltInId::imageStore_Image3D1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01C20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01D20D30D( + BuiltInId::imageStore_IImage3D1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01D20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01E20D30E( + BuiltInId::imageStore_UImage3D1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01E20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01F20D30B( + BuiltInId::imageStore_Image2DArray1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01F20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01G20D30D( + BuiltInId::imageStore_IImage2DArray1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01G20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01H20D30E( + BuiltInId::imageStore_UImage2DArray1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01H20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01I20D30B( + BuiltInId::imageStore_ImageCube1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01I20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01J20D30D( + BuiltInId::imageStore_IImageCube1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01J20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01K20D30E( + BuiltInId::imageStore_UImageCube1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01K20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01a20D30B( + BuiltInId::imageStore_ImageCubeArray1_Int3_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01a20D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01b20D30D( + BuiltInId::imageStore_IImageCubeArray1_Int3_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01b20D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01c20D30E( + BuiltInId::imageStore_UImageCubeArray1_Int3_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01c20D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01g00D30B( + BuiltInId::imageStore_ImageBuffer1_Int1_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01g00D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01h00D30D( + BuiltInId::imageStore_IImageBuffer1_Int1_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01h00D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01i00D30E( + BuiltInId::imageStore_UImageBuffer1_Int1_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01i00D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01L00D30B( + BuiltInId::imageStore_Image1D1_Int1_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01L00D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01M00D30D( + BuiltInId::imageStore_IImage1D1_Int1_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01M00D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01N00D30E( + BuiltInId::imageStore_UImage1D1_Int1_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01N00D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01O10D30B( + BuiltInId::imageStore_Image1DArray1_Int2_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01O10D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01P10D30D( + BuiltInId::imageStore_IImage1DArray1_Int2_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01P10D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01Q10D30E( + BuiltInId::imageStore_UImage1DArray1_Int2_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01Q10D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01X10D30B( + BuiltInId::imageStore_Image2DRect1_Int2_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01X10D30B, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01Y10D30D( + BuiltInId::imageStore_IImage2DRect1_Int2_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01Y10D30D, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01Z10D30E( + BuiltInId::imageStore_UImage2DRect1_Int2_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01Z10D30E, + 3, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01R10D00D30B( + BuiltInId::imageStore_Image2DMS1_Int2_Int1_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01R10D00D30B, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01S10D00D30D( + BuiltInId::imageStore_IImage2DMS1_Int2_Int1_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01S10D00D30D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01T10D00D30E( + BuiltInId::imageStore_UImage2DMS1_Int2_Int1_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01T10D00D30E, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01U20D00D30B( + BuiltInId::imageStore_Image2DMSArray1_Int3_Int1_Float4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01U20D00D30B, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01V20D00D30D( + BuiltInId::imageStore_IImage2DMSArray1_Int3_Int1_Int4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01V20D00D30D, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); +constexpr const TFunction imageStore_01W20D00D30E( + BuiltInId::imageStore_UImage2DMSArray1_Int3_Int1_UInt4, + BuiltInName::imageStore, + TExtension::UNDEFINED, + BuiltInParameters::p01W20D00D30E, + 4, + StaticType::Get(), + EOpCallBuiltInFunction, + false); constexpr const TFunction noise1_00B(BuiltInId::noise1_Float1, BuiltInName::noise1, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28928,7 +28539,7 @@ constexpr const TFunction noise1_00B(BuiltInId::noise1_Float1, constexpr const TFunction noise1_10B(BuiltInId::noise1_Float2, BuiltInName::noise1, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28936,7 +28547,7 @@ constexpr const TFunction noise1_10B(BuiltInId::noise1_Float2, constexpr const TFunction noise1_20B(BuiltInId::noise1_Float3, BuiltInName::noise1, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28952,7 +28563,7 @@ constexpr const TFunction noise1_30B(BuiltInId::noise1_Float4, constexpr const TFunction noise2_00B(BuiltInId::noise2_Float1, BuiltInName::noise2, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28960,7 +28571,7 @@ constexpr const TFunction noise2_00B(BuiltInId::noise2_Float1, constexpr const TFunction noise2_10B(BuiltInId::noise2_Float2, BuiltInName::noise2, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28968,7 +28579,7 @@ constexpr const TFunction noise2_10B(BuiltInId::noise2_Float2, constexpr const TFunction noise2_20B(BuiltInId::noise2_Float3, BuiltInName::noise2, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28984,7 +28595,7 @@ constexpr const TFunction noise2_30B(BuiltInId::noise2_Float4, constexpr const TFunction noise3_00B(BuiltInId::noise3_Float1, BuiltInName::noise3, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -28992,7 +28603,7 @@ constexpr const TFunction noise3_00B(BuiltInId::noise3_Float1, constexpr const TFunction noise3_10B(BuiltInId::noise3_Float2, BuiltInName::noise3, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -29000,7 +28611,7 @@ constexpr const TFunction noise3_10B(BuiltInId::noise3_Float2, constexpr const TFunction noise3_20B(BuiltInId::noise3_Float3, BuiltInName::noise3, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -29016,7 +28627,7 @@ constexpr const TFunction noise3_30B(BuiltInId::noise3_Float4, constexpr const TFunction noise4_00B(BuiltInId::noise4_Float1, BuiltInName::noise4, TExtension::UNDEFINED, - BuiltInParameters::p00B00B20B, + BuiltInParameters::p00B00B30B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -29024,7 +28635,7 @@ constexpr const TFunction noise4_00B(BuiltInId::noise4_Float1, constexpr const TFunction noise4_10B(BuiltInId::noise4_Float2, BuiltInName::noise4, TExtension::UNDEFINED, - BuiltInParameters::p10B00B00B, + BuiltInParameters::p10B_o_10B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -29032,7 +28643,7 @@ constexpr const TFunction noise4_10B(BuiltInId::noise4_Float2, constexpr const TFunction noise4_20B(BuiltInId::noise4_Float3, BuiltInName::noise4, TExtension::UNDEFINED, - BuiltInParameters::p20B20D, + BuiltInParameters::p20B20B00B, 1, StaticType::Get(), EOpCallBuiltInFunction, @@ -29106,14 +28717,6 @@ constexpr const TFunction groupMemoryBarrier_( StaticType::Get(), EOpGroupMemoryBarrier, false); -constexpr const TFunction barrierES3_2_(BuiltInId::barrierES3_2, - BuiltInName::barrierES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpBarrier, - false); constexpr const TFunction EmitVertex_(BuiltInId::EmitVertex, BuiltInName::EmitVertex, TExtension::EXT_geometry_shader, @@ -29122,15 +28725,6 @@ constexpr const TFunction EmitVertex_(BuiltInId::EmitVertex, StaticType::Get(), EOpEmitVertex, false); -constexpr const TFunction EmitVertexES3_2_( - BuiltInId::EmitVertexES3_2, - BuiltInName::EmitVertexES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpEmitVertex, - false); constexpr const TFunction EndPrimitive_(BuiltInId::EndPrimitive, BuiltInName::EndPrimitive, TExtension::EXT_geometry_shader, @@ -29139,15 +28733,6 @@ constexpr const TFunction EndPrimitive_(BuiltInId::EndPrimitive, StaticType::Get(), EOpEndPrimitive, false); -constexpr const TFunction EndPrimitiveES3_2_( - BuiltInId::EndPrimitiveES3_2, - BuiltInName::EndPrimitiveES3_2, - TExtension::UNDEFINED, - BuiltInParameters::empty, - 0, - StaticType::Get(), - EOpEndPrimitive, - false); constexpr const TFunction EmitStreamVertex_00D( BuiltInId::EmitStreamVertex_Int1, BuiltInName::EmitStreamVertex, @@ -29166,54 +28751,54 @@ constexpr const TFunction EndStreamPrimitive_00D( StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01g( +constexpr const TFunction subpassLoad_01j( BuiltInId::subpassLoad_SubpassInput1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01g, + BuiltInParameters::p01j, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01h(BuiltInId::subpassLoad_ISubpassInput1, +constexpr const TFunction subpassLoad_01k(BuiltInId::subpassLoad_ISubpassInput1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01h, + BuiltInParameters::p01k, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01i(BuiltInId::subpassLoad_USubpassInput1, +constexpr const TFunction subpassLoad_01l(BuiltInId::subpassLoad_USubpassInput1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01i, + BuiltInParameters::p01l, 1, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01j00D( +constexpr const TFunction subpassLoad_01m00D( BuiltInId::subpassLoad_SubpassInputMS1_Int1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01j00D, + BuiltInParameters::p01m00D, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01k00D( +constexpr const TFunction subpassLoad_01n00D( BuiltInId::subpassLoad_ISubpassInputMS1_Int1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01k00D, + BuiltInParameters::p01n00D, 2, StaticType::Get(), EOpCallBuiltInFunction, false); -constexpr const TFunction subpassLoad_01l00D( +constexpr const TFunction subpassLoad_01o00D( BuiltInId::subpassLoad_USubpassInputMS1_Int1, BuiltInName::subpassLoad, TExtension::UNDEFINED, - BuiltInParameters::p01l00D, + BuiltInParameters::p01o00D, 2, StaticType::Get(), EOpCallBuiltInFunction, @@ -29272,9217 +28857,8893 @@ using Rule = SymbolRule; // Rules used to initialize the mangled name array. constexpr SymbolRule kRules[] = { - Rule::Get(&radians_00B), - Rule::Get(&radians_00B), - Rule::Get(&radians_10B), - Rule::Get(&radians_10B), - Rule::Get(&radians_20B), - Rule::Get(&radians_20B), - Rule::Get(&radians_30B), - Rule::Get(&radians_30B), - Rule::Get(°rees_00B), - Rule::Get(°rees_00B), - Rule::Get(°rees_10B), - Rule::Get(°rees_10B), - Rule::Get(°rees_20B), - Rule::Get(°rees_20B), - Rule::Get(°rees_30B), - Rule::Get(°rees_30B), - Rule::Get(&sin_00B), - Rule::Get(&sin_00B), - Rule::Get(&sin_10B), - Rule::Get(&sin_10B), - Rule::Get(&sin_20B), - Rule::Get(&sin_20B), - Rule::Get(&sin_30B), - Rule::Get(&sin_30B), - Rule::Get(&cos_00B), - Rule::Get(&cos_00B), - Rule::Get(&cos_10B), - Rule::Get(&cos_10B), - Rule::Get(&cos_20B), - Rule::Get(&cos_20B), - Rule::Get(&cos_30B), - Rule::Get(&cos_30B), - Rule::Get(&tan_00B), - Rule::Get(&tan_00B), - Rule::Get(&tan_10B), - Rule::Get(&tan_10B), - Rule::Get(&tan_20B), - Rule::Get(&tan_20B), - Rule::Get(&tan_30B), - Rule::Get(&tan_30B), - Rule::Get(&asin_00B), - Rule::Get(&asin_00B), - Rule::Get(&asin_10B), - Rule::Get(&asin_10B), - Rule::Get(&asin_20B), - Rule::Get(&asin_20B), - Rule::Get(&asin_30B), - Rule::Get(&asin_30B), - Rule::Get(&acos_00B), - Rule::Get(&acos_00B), - Rule::Get(&acos_10B), - Rule::Get(&acos_10B), - Rule::Get(&acos_20B), - Rule::Get(&acos_20B), - Rule::Get(&acos_30B), - Rule::Get(&acos_30B), - Rule::Get(&atan_00B00B), - Rule::Get(&atan_00B00B), - Rule::Get(&atan_10B10B), - Rule::Get(&atan_10B10B), - Rule::Get(&atan_20B20B), - Rule::Get(&atan_20B20B), - Rule::Get(&atan_30B30B), - Rule::Get(&atan_30B30B), - Rule::Get(&atan_00B), - Rule::Get(&atan_00B), - Rule::Get(&atan_10B), - Rule::Get(&atan_10B), - Rule::Get(&atan_20B), - Rule::Get(&atan_20B), - Rule::Get(&atan_30B), - Rule::Get(&atan_30B), - Rule::Get(&sinh_00B), - Rule::Get(&sinh_00B), - Rule::Get(&sinh_10B), - Rule::Get(&sinh_10B), - Rule::Get(&sinh_20B), - Rule::Get(&sinh_20B), - Rule::Get(&sinh_30B), - Rule::Get(&sinh_30B), - Rule::Get(&cosh_00B), - Rule::Get(&cosh_00B), - Rule::Get(&cosh_10B), - Rule::Get(&cosh_10B), - Rule::Get(&cosh_20B), - Rule::Get(&cosh_20B), - Rule::Get(&cosh_30B), - Rule::Get(&cosh_30B), - Rule::Get(&tanh_00B), - Rule::Get(&tanh_00B), - Rule::Get(&tanh_10B), - Rule::Get(&tanh_10B), - Rule::Get(&tanh_20B), - Rule::Get(&tanh_20B), - Rule::Get(&tanh_30B), - Rule::Get(&tanh_30B), - Rule::Get(&asinh_00B), - Rule::Get(&asinh_00B), - Rule::Get(&asinh_10B), - Rule::Get(&asinh_10B), - Rule::Get(&asinh_20B), - Rule::Get(&asinh_20B), - Rule::Get(&asinh_30B), - Rule::Get(&asinh_30B), - Rule::Get(&acosh_00B), - Rule::Get(&acosh_00B), - Rule::Get(&acosh_10B), - Rule::Get(&acosh_10B), - Rule::Get(&acosh_20B), - Rule::Get(&acosh_20B), - Rule::Get(&acosh_30B), - Rule::Get(&acosh_30B), - Rule::Get(&atanh_00B), - Rule::Get(&atanh_00B), - Rule::Get(&atanh_10B), - Rule::Get(&atanh_10B), - Rule::Get(&atanh_20B), - Rule::Get(&atanh_20B), - Rule::Get(&atanh_30B), - Rule::Get(&atanh_30B), - Rule::Get(&pow_00B00B), - Rule::Get(&pow_00B00B), - Rule::Get(&pow_10B10B), - Rule::Get(&pow_10B10B), - Rule::Get(&pow_20B20B), - Rule::Get(&pow_20B20B), - Rule::Get(&pow_30B30B), - Rule::Get(&pow_30B30B), - Rule::Get(&exp_00B), - Rule::Get(&exp_00B), - Rule::Get(&exp_10B), - Rule::Get(&exp_10B), - Rule::Get(&exp_20B), - Rule::Get(&exp_20B), - Rule::Get(&exp_30B), - Rule::Get(&exp_30B), - Rule::Get(&log_00B), - Rule::Get(&log_00B), - Rule::Get(&log_10B), - Rule::Get(&log_10B), - Rule::Get(&log_20B), - Rule::Get(&log_20B), - Rule::Get(&log_30B), - Rule::Get(&log_30B), - Rule::Get(&exp2_00B), - Rule::Get(&exp2_00B), - Rule::Get(&exp2_10B), - Rule::Get(&exp2_10B), - Rule::Get(&exp2_20B), - Rule::Get(&exp2_20B), - Rule::Get(&exp2_30B), - Rule::Get(&exp2_30B), - Rule::Get(&log2_00B), - Rule::Get(&log2_00B), - Rule::Get(&log2_10B), - Rule::Get(&log2_10B), - Rule::Get(&log2_20B), - Rule::Get(&log2_20B), - Rule::Get(&log2_30B), - Rule::Get(&log2_30B), - Rule::Get(&sqrt_00B), - Rule::Get(&sqrt_00B), - Rule::Get(&sqrt_10B), - Rule::Get(&sqrt_10B), - Rule::Get(&sqrt_20B), - Rule::Get(&sqrt_20B), - Rule::Get(&sqrt_30B), - Rule::Get(&sqrt_30B), - Rule::Get(&sqrt_00C), - Rule::Get(&sqrt_10C), - Rule::Get(&sqrt_20C), - Rule::Get(&sqrt_30C), - Rule::Get(&inversesqrt_00B), - Rule::Get(&inversesqrt_00B), - Rule::Get(&inversesqrt_10B), - Rule::Get(&inversesqrt_10B), - Rule::Get(&inversesqrt_20B), - Rule::Get(&inversesqrt_20B), - Rule::Get(&inversesqrt_30B), - Rule::Get(&inversesqrt_30B), - Rule::Get(&inversesqrt_00C), - Rule::Get(&inversesqrt_10C), - Rule::Get(&inversesqrt_20C), - Rule::Get(&inversesqrt_30C), - Rule::Get(&abs_00B), - Rule::Get(&abs_00B), - Rule::Get(&abs_10B), - Rule::Get(&abs_10B), - Rule::Get(&abs_20B), - Rule::Get(&abs_20B), - Rule::Get(&abs_30B), - Rule::Get(&abs_30B), - Rule::Get(&abs_00D), - Rule::Get(&abs_00D), - Rule::Get(&abs_10D), - Rule::Get(&abs_10D), - Rule::Get(&abs_20D), - Rule::Get(&abs_20D), - Rule::Get(&abs_30D), - Rule::Get(&abs_30D), - Rule::Get(&abs_00C), - Rule::Get(&abs_10C), - Rule::Get(&abs_20C), - Rule::Get(&abs_30C), - Rule::Get(&sign_00B), - Rule::Get(&sign_00B), - Rule::Get(&sign_10B), - Rule::Get(&sign_10B), - Rule::Get(&sign_20B), - Rule::Get(&sign_20B), - Rule::Get(&sign_30B), - Rule::Get(&sign_30B), - Rule::Get(&sign_00D), - Rule::Get(&sign_00D), - Rule::Get(&sign_10D), - Rule::Get(&sign_10D), - Rule::Get(&sign_20D), - Rule::Get(&sign_20D), - Rule::Get(&sign_30D), - Rule::Get(&sign_30D), - Rule::Get(&sign_00C), - Rule::Get(&sign_10C), - Rule::Get(&sign_20C), - Rule::Get(&sign_30C), - Rule::Get(&floor_00B), - Rule::Get(&floor_00B), - Rule::Get(&floor_10B), - Rule::Get(&floor_10B), - Rule::Get(&floor_20B), - Rule::Get(&floor_20B), - Rule::Get(&floor_30B), - Rule::Get(&floor_30B), - Rule::Get(&floor_00C), - Rule::Get(&floor_10C), - Rule::Get(&floor_20C), - Rule::Get(&floor_30C), - Rule::Get(&trunc_00B), - Rule::Get(&trunc_00B), - Rule::Get(&trunc_10B), - Rule::Get(&trunc_10B), - Rule::Get(&trunc_20B), - Rule::Get(&trunc_20B), - Rule::Get(&trunc_30B), - Rule::Get(&trunc_30B), - Rule::Get(&trunc_00C), - Rule::Get(&trunc_10C), - Rule::Get(&trunc_20C), - Rule::Get(&trunc_30C), - Rule::Get(&round_00B), - Rule::Get(&round_00B), - Rule::Get(&round_10B), - Rule::Get(&round_10B), - Rule::Get(&round_20B), - Rule::Get(&round_20B), - Rule::Get(&round_30B), - Rule::Get(&round_30B), - Rule::Get(&round_00C), - Rule::Get(&round_10C), - Rule::Get(&round_20C), - Rule::Get(&round_30C), - Rule::Get(&roundEven_00B), - Rule::Get(&roundEven_00B), - Rule::Get(&roundEven_10B), - Rule::Get(&roundEven_10B), - Rule::Get(&roundEven_20B), - Rule::Get(&roundEven_20B), - Rule::Get(&roundEven_30B), - Rule::Get(&roundEven_30B), - Rule::Get(&roundEven_00C), - Rule::Get(&roundEven_10C), - Rule::Get(&roundEven_20C), - Rule::Get(&roundEven_30C), - Rule::Get(&ceil_00B), - Rule::Get(&ceil_00B), - Rule::Get(&ceil_10B), - Rule::Get(&ceil_10B), - Rule::Get(&ceil_20B), - Rule::Get(&ceil_20B), - Rule::Get(&ceil_30B), - Rule::Get(&ceil_30B), - Rule::Get(&ceil_00C), - Rule::Get(&ceil_10C), - Rule::Get(&ceil_20C), - Rule::Get(&ceil_30C), - Rule::Get(&fract_00B), - Rule::Get(&fract_00B), - Rule::Get(&fract_10B), - Rule::Get(&fract_10B), - Rule::Get(&fract_20B), - Rule::Get(&fract_20B), - Rule::Get(&fract_30B), - Rule::Get(&fract_30B), - Rule::Get(&fract_00C), - Rule::Get(&fract_10C), - Rule::Get(&fract_20C), - Rule::Get(&fract_30C), - Rule::Get(&mod_00B00B), - Rule::Get(&mod_00B00B), - Rule::Get(&mod_10B00B), - Rule::Get(&mod_10B00B), - Rule::Get(&mod_20B00B), - Rule::Get(&mod_20B00B), - Rule::Get(&mod_30B00B), - Rule::Get(&mod_30B00B), - Rule::Get(&mod_10B10B), - Rule::Get(&mod_10B10B), - Rule::Get(&mod_20B20B), - Rule::Get(&mod_20B20B), - Rule::Get(&mod_30B30B), - Rule::Get(&mod_30B30B), - Rule::Get(&mod_00C00C), - Rule::Get(&mod_10C00C), - Rule::Get(&mod_20C00C), - Rule::Get(&mod_30C00C), - Rule::Get(&mod_10C10C), - Rule::Get(&mod_20C20C), - Rule::Get(&mod_30C30C), - Rule::Get(&min_00B00B), - Rule::Get(&min_00B00B), - Rule::Get(&min_10B00B), - Rule::Get(&min_10B00B), - Rule::Get(&min_20B00B), - Rule::Get(&min_20B00B), - Rule::Get(&min_30B00B), - Rule::Get(&min_30B00B), - Rule::Get(&min_10B10B), - Rule::Get(&min_10B10B), - Rule::Get(&min_20B20B), - Rule::Get(&min_20B20B), - Rule::Get(&min_30B30B), - Rule::Get(&min_30B30B), - Rule::Get(&min_00C00C), - Rule::Get(&min_10C10C), - Rule::Get(&min_20C20C), - Rule::Get(&min_30C30C), - Rule::Get(&min_10C00C), - Rule::Get(&min_20C00C), - Rule::Get(&min_30C00C), - Rule::Get(&min_00D00D), - Rule::Get(&min_00D00D), - Rule::Get(&min_10D10D), - Rule::Get(&min_10D10D), - Rule::Get(&min_20D20D), - Rule::Get(&min_20D20D), - Rule::Get(&min_30D30D), - Rule::Get(&min_30D30D), - Rule::Get(&min_10D00D), - Rule::Get(&min_10D00D), - Rule::Get(&min_20D00D), - Rule::Get(&min_20D00D), - Rule::Get(&min_30D00D), - Rule::Get(&min_30D00D), - Rule::Get(&min_00E00E), - Rule::Get(&min_00E00E), - Rule::Get(&min_10E10E), - Rule::Get(&min_10E10E), - Rule::Get(&min_20E20E), - Rule::Get(&min_20E20E), - Rule::Get(&min_30E30E), - Rule::Get(&min_30E30E), - Rule::Get(&min_10E00E), - Rule::Get(&min_10E00E), - Rule::Get(&min_20E00E), - Rule::Get(&min_20E00E), - Rule::Get(&min_30E00E), - Rule::Get(&min_30E00E), - Rule::Get(&max_00B00B), - Rule::Get(&max_00B00B), - Rule::Get(&max_10B00B), - Rule::Get(&max_10B00B), - Rule::Get(&max_20B00B), - Rule::Get(&max_20B00B), - Rule::Get(&max_30B00B), - Rule::Get(&max_30B00B), - Rule::Get(&max_10B10B), - Rule::Get(&max_10B10B), - Rule::Get(&max_20B20B), - Rule::Get(&max_20B20B), - Rule::Get(&max_30B30B), - Rule::Get(&max_30B30B), - Rule::Get(&max_00C00C), - Rule::Get(&max_10C10C), - Rule::Get(&max_20C20C), - Rule::Get(&max_30C30C), - Rule::Get(&max_10C00C), - Rule::Get(&max_20C00C), - Rule::Get(&max_30C00C), - Rule::Get(&max_00D00D), - Rule::Get(&max_00D00D), - Rule::Get(&max_10D10D), - Rule::Get(&max_10D10D), - Rule::Get(&max_20D20D), - Rule::Get(&max_20D20D), - Rule::Get(&max_30D30D), - Rule::Get(&max_30D30D), - Rule::Get(&max_10D00D), - Rule::Get(&max_10D00D), - Rule::Get(&max_20D00D), - Rule::Get(&max_20D00D), - Rule::Get(&max_30D00D), - Rule::Get(&max_30D00D), - Rule::Get(&max_00E00E), - Rule::Get(&max_00E00E), - Rule::Get(&max_10E10E), - Rule::Get(&max_10E10E), - Rule::Get(&max_20E20E), - Rule::Get(&max_20E20E), - Rule::Get(&max_30E30E), - Rule::Get(&max_30E30E), - Rule::Get(&max_10E00E), - Rule::Get(&max_10E00E), - Rule::Get(&max_20E00E), - Rule::Get(&max_20E00E), - Rule::Get(&max_30E00E), - Rule::Get(&max_30E00E), - Rule::Get(&clamp_00B00B00B), - Rule::Get(&clamp_00B00B00B), - Rule::Get(&clamp_10B00B00B), - Rule::Get(&clamp_10B00B00B), - Rule::Get(&clamp_20B00B00B), - Rule::Get(&clamp_20B00B00B), - Rule::Get(&clamp_30B00B00B), - Rule::Get(&clamp_30B00B00B), - Rule::Get(&clamp_10B10B10B), - Rule::Get(&clamp_10B10B10B), - Rule::Get(&clamp_20B20B20B), - Rule::Get(&clamp_20B20B20B), - Rule::Get(&clamp_30B30B30B), - Rule::Get(&clamp_30B30B30B), - Rule::Get(&clamp_00C00C00C), - Rule::Get(&clamp_10C00C00C), - Rule::Get(&clamp_20C00C00C), - Rule::Get(&clamp_30C00C00C), - Rule::Get(&clamp_10C10C10C), - Rule::Get(&clamp_20C20C20C), - Rule::Get(&clamp_30C30C30C), - Rule::Get(&clamp_00D00D00D), - Rule::Get(&clamp_00D00D00D), - Rule::Get(&clamp_10D00D00D), - Rule::Get(&clamp_10D00D00D), - Rule::Get(&clamp_20D00D00D), - Rule::Get(&clamp_20D00D00D), - Rule::Get(&clamp_30D00D00D), - Rule::Get(&clamp_30D00D00D), - Rule::Get(&clamp_10D10D10D), - Rule::Get(&clamp_10D10D10D), - Rule::Get(&clamp_20D20D20D), - Rule::Get(&clamp_20D20D20D), - Rule::Get(&clamp_30D30D30D), - Rule::Get(&clamp_30D30D30D), - Rule::Get(&clamp_00E00E00E), - Rule::Get(&clamp_00E00E00E), - Rule::Get(&clamp_10E00E00E), - Rule::Get(&clamp_10E00E00E), - Rule::Get(&clamp_20E00E00E), - Rule::Get(&clamp_20E00E00E), - Rule::Get(&clamp_30E00E00E), - Rule::Get(&clamp_30E00E00E), - Rule::Get(&clamp_10E10E10E), - Rule::Get(&clamp_10E10E10E), - Rule::Get(&clamp_20E20E20E), - Rule::Get(&clamp_20E20E20E), - Rule::Get(&clamp_30E30E30E), - Rule::Get(&clamp_30E30E30E), - Rule::Get(&mix_00B00B00B), - Rule::Get(&mix_00B00B00B), - Rule::Get(&mix_10B10B00B), - Rule::Get(&mix_10B10B00B), - Rule::Get(&mix_20B20B00B), - Rule::Get(&mix_20B20B00B), - Rule::Get(&mix_30B30B00B), - Rule::Get(&mix_30B30B00B), - Rule::Get(&mix_10B10B10B), - Rule::Get(&mix_10B10B10B), - Rule::Get(&mix_20B20B20B), - Rule::Get(&mix_20B20B20B), - Rule::Get(&mix_30B30B30B), - Rule::Get(&mix_30B30B30B), - Rule::Get(&mix_00C00C00C), - Rule::Get(&mix_10C10C00C), - Rule::Get(&mix_20C20C00C), - Rule::Get(&mix_30C30C00C), - Rule::Get(&mix_10C10C10C), - Rule::Get(&mix_20C20C20C), - Rule::Get(&mix_30C30C30C), - Rule::Get(&mix_00B00B00F), - Rule::Get(&mix_00B00B00F), - Rule::Get(&mix_10B10B10F), - Rule::Get(&mix_10B10B10F), - Rule::Get(&mix_20B20B20F), - Rule::Get(&mix_20B20B20F), - Rule::Get(&mix_30B30B30F), - Rule::Get(&mix_30B30B30F), - Rule::Get(&mix_00C00C00F), - Rule::Get(&mix_10C10C10F), - Rule::Get(&mix_20C20C20F), - Rule::Get(&mix_30C30C30F), - Rule::Get(&mix_00D00D00F), - Rule::Get(&mix_00D00D00F), - Rule::Get(&mix_10D10D10F), - Rule::Get(&mix_10D10D10F), - Rule::Get(&mix_20D20D20F), - Rule::Get(&mix_20D20D20F), - Rule::Get(&mix_30D30D30F), - Rule::Get(&mix_30D30D30F), - Rule::Get(&mix_00E00E00F), - Rule::Get(&mix_00E00E00F), - Rule::Get(&mix_10E10E10F), - Rule::Get(&mix_10E10E10F), - Rule::Get(&mix_20E20E20F), - Rule::Get(&mix_20E20E20F), - Rule::Get(&mix_30E30E30F), - Rule::Get(&mix_30E30E30F), - Rule::Get(&mix_00F00F00F), - Rule::Get(&mix_00F00F00F), - Rule::Get(&mix_10F10F10F), - Rule::Get(&mix_10F10F10F), - Rule::Get(&mix_20F20F20F), - Rule::Get(&mix_20F20F20F), - Rule::Get(&mix_30F30F30F), - Rule::Get(&mix_30F30F30F), - Rule::Get(&step_00B00B), - Rule::Get(&step_00B00B), - Rule::Get(&step_10B10B), - Rule::Get(&step_10B10B), - Rule::Get(&step_20B20B), - Rule::Get(&step_20B20B), - Rule::Get(&step_30B30B), - Rule::Get(&step_30B30B), - Rule::Get(&step_00B10B), - Rule::Get(&step_00B10B), - Rule::Get(&step_00B20B), - Rule::Get(&step_00B20B), - Rule::Get(&step_00B30B), - Rule::Get(&step_00B30B), - Rule::Get(&step_00C00C), - Rule::Get(&step_10C10C), - Rule::Get(&step_20C20C), - Rule::Get(&step_30C30C), - Rule::Get(&step_00C10C), - Rule::Get(&step_00C20C), - Rule::Get(&step_00C30C), - Rule::Get(&smoothstep_00C00C00C), - Rule::Get(&smoothstep_10C10C10C), - Rule::Get(&smoothstep_20C20C20C), - Rule::Get(&smoothstep_30C30C30C), - Rule::Get(&smoothstep_00C00C10C), - Rule::Get(&smoothstep_00C00C20C), - Rule::Get(&smoothstep_00C00C30C), - Rule::Get(&smoothstep_00B00B00B), - Rule::Get(&smoothstep_00B00B00B), - Rule::Get(&smoothstep_10B10B10B), - Rule::Get(&smoothstep_10B10B10B), - Rule::Get(&smoothstep_20B20B20B), - Rule::Get(&smoothstep_20B20B20B), - Rule::Get(&smoothstep_30B30B30B), - Rule::Get(&smoothstep_30B30B30B), - Rule::Get(&smoothstep_00B00B10B), - Rule::Get(&smoothstep_00B00B10B), - Rule::Get(&smoothstep_00B00B20B), - Rule::Get(&smoothstep_00B00B20B), - Rule::Get(&smoothstep_00B00B30B), - Rule::Get(&smoothstep_00B00B30B), - Rule::Get(&modf_00B00B), - Rule::Get(&modf_00B00B), - Rule::Get(&modf_10B10B), - Rule::Get(&modf_10B10B), - Rule::Get(&modf_20B20B), - Rule::Get(&modf_20B20B), - Rule::Get(&modf_30B30B), - Rule::Get(&modf_30B30B), - Rule::Get(&modf_00C00C), - Rule::Get(&modf_10C10C), - Rule::Get(&modf_20C20C), - Rule::Get(&modf_30C30C), - Rule::Get(&isnan_00B), - Rule::Get(&isnan_00B), - Rule::Get(&isnan_10B), - Rule::Get(&isnan_10B), - Rule::Get(&isnan_20B), - Rule::Get(&isnan_20B), - Rule::Get(&isnan_30B), - Rule::Get(&isnan_30B), - Rule::Get(&isnan_00C), - Rule::Get(&isnan_10C), - Rule::Get(&isnan_20C), - Rule::Get(&isnan_30C), - Rule::Get(&isinf_00B), - Rule::Get(&isinf_00B), - Rule::Get(&isinf_10B), - Rule::Get(&isinf_10B), - Rule::Get(&isinf_20B), - Rule::Get(&isinf_20B), - Rule::Get(&isinf_30B), - Rule::Get(&isinf_30B), - Rule::Get(&isinf_00C), - Rule::Get(&isinf_10C), - Rule::Get(&isinf_20C), - Rule::Get(&isinf_30C), - Rule::Get(&floatBitsToInt_00B), - Rule::Get(&floatBitsToInt_00B), - Rule::Get(&floatBitsToInt_10B), - Rule::Get(&floatBitsToInt_10B), - Rule::Get(&floatBitsToInt_20B), - Rule::Get(&floatBitsToInt_20B), - Rule::Get(&floatBitsToInt_30B), - Rule::Get(&floatBitsToInt_30B), - Rule::Get(&floatBitsToUint_00B), - Rule::Get(&floatBitsToUint_00B), - Rule::Get(&floatBitsToUint_10B), - Rule::Get(&floatBitsToUint_10B), - Rule::Get(&floatBitsToUint_20B), - Rule::Get(&floatBitsToUint_20B), - Rule::Get(&floatBitsToUint_30B), - Rule::Get(&floatBitsToUint_30B), - Rule::Get(&intBitsToFloat_00D), - Rule::Get(&intBitsToFloat_00D), - Rule::Get(&intBitsToFloat_10D), - Rule::Get(&intBitsToFloat_10D), - Rule::Get(&intBitsToFloat_20D), - Rule::Get(&intBitsToFloat_20D), - Rule::Get(&intBitsToFloat_30D), - Rule::Get(&intBitsToFloat_30D), - Rule::Get(&uintBitsToFloat_00E), - Rule::Get(&uintBitsToFloat_00E), - Rule::Get(&uintBitsToFloat_10E), - Rule::Get(&uintBitsToFloat_10E), - Rule::Get(&uintBitsToFloat_20E), - Rule::Get(&uintBitsToFloat_20E), - Rule::Get(&uintBitsToFloat_30E), - Rule::Get(&uintBitsToFloat_30E), - Rule::Get(&fma_00B00B00B), - Rule::Get(&fma_00B00B00B), - Rule::Get(&fmaExt_00B00B00B), - Rule::Get(&fma_10B10B10B), - Rule::Get(&fma_10B10B10B), - Rule::Get(&fmaExt_10B10B10B), - Rule::Get(&fma_20B20B20B), - Rule::Get(&fma_20B20B20B), - Rule::Get(&fmaExt_20B20B20B), - Rule::Get(&fma_30B30B30B), - Rule::Get(&fma_30B30B30B), - Rule::Get(&fmaExt_30B30B30B), - Rule::Get(&fma_00C00C00C), - Rule::Get(&fma_10C10C10C), - Rule::Get(&fma_20C20C20C), - Rule::Get(&fma_30C30C30C), - Rule::Get(&frexp_00B00D), - Rule::Get(&frexp_00B00D), - Rule::Get(&frexp_10B10D), - Rule::Get(&frexp_10B10D), - Rule::Get(&frexp_20B20D), - Rule::Get(&frexp_20B20D), - Rule::Get(&frexp_30B30D), - Rule::Get(&frexp_30B30D), - Rule::Get(&frexp_00C00D), - Rule::Get(&frexp_10C10D), - Rule::Get(&frexp_20C20D), - Rule::Get(&frexp_30C30D), - Rule::Get(&ldexp_00B00D), - Rule::Get(&ldexp_00B00D), - Rule::Get(&ldexp_10B10D), - Rule::Get(&ldexp_10B10D), - Rule::Get(&ldexp_20B20D), - Rule::Get(&ldexp_20B20D), - Rule::Get(&ldexp_30B30D), - Rule::Get(&ldexp_30B30D), - Rule::Get(&ldexp_00C00D), - Rule::Get(&ldexp_10C10D), - Rule::Get(&ldexp_20C20D), - Rule::Get(&ldexp_30C30D), - Rule::Get(&packSnorm2x16_10B), - Rule::Get(&packSnorm2x16_10B), - Rule::Get(&packHalf2x16_10B), - Rule::Get(&packHalf2x16_10B), - Rule::Get(&unpackSnorm2x16_00E), - Rule::Get(&unpackSnorm2x16_00E), - Rule::Get(&unpackHalf2x16_00E), - Rule::Get(&unpackHalf2x16_00E), - Rule::Get(&packUnorm2x16_10B), - Rule::Get(&packUnorm2x16_10B), - Rule::Get(&unpackUnorm2x16_00E), - Rule::Get(&unpackUnorm2x16_00E), - Rule::Get(&packUnorm4x8_30B), - Rule::Get(&packUnorm4x8_30B), - Rule::Get(&packSnorm4x8_30B), - Rule::Get(&packSnorm4x8_30B), - Rule::Get(&unpackUnorm4x8_00E), - Rule::Get(&unpackUnorm4x8_00E), - Rule::Get(&unpackSnorm4x8_00E), - Rule::Get(&unpackSnorm4x8_00E), - Rule::Get(&packDouble2x32_10E), - Rule::Get(&unpackDouble2x32_00C), - Rule::Get(&length_00B), - Rule::Get(&length_00B), - Rule::Get(&length_10B), - Rule::Get(&length_10B), - Rule::Get(&length_20B), - Rule::Get(&length_20B), - Rule::Get(&length_30B), - Rule::Get(&length_30B), - Rule::Get(&length_00C), - Rule::Get(&length_10C), - Rule::Get(&length_20C), - Rule::Get(&length_30C), - Rule::Get(&distance_00B00B), - Rule::Get(&distance_00B00B), - Rule::Get(&distance_10B10B), - Rule::Get(&distance_10B10B), - Rule::Get(&distance_20B20B), - Rule::Get(&distance_20B20B), - Rule::Get(&distance_30B30B), - Rule::Get(&distance_30B30B), - Rule::Get(&distance_00C00C), - Rule::Get(&distance_10C10C), - Rule::Get(&distance_20C20C), - Rule::Get(&distance_30C30C), - Rule::Get(&dot_00B00B), - Rule::Get(&dot_00B00B), - Rule::Get(&dot_10B10B), - Rule::Get(&dot_10B10B), - Rule::Get(&dot_20B20B), - Rule::Get(&dot_20B20B), - Rule::Get(&dot_30B30B), - Rule::Get(&dot_30B30B), - Rule::Get(&dot_00C00C), - Rule::Get(&dot_10C10C), - Rule::Get(&dot_20C20C), - Rule::Get(&dot_30C30C), - Rule::Get(&cross_20B20B), - Rule::Get(&cross_20B20B), - Rule::Get(&cross_20C20C), - Rule::Get(&normalize_00B), - Rule::Get(&normalize_00B), - Rule::Get(&normalize_10B), - Rule::Get(&normalize_10B), - Rule::Get(&normalize_20B), - Rule::Get(&normalize_20B), - Rule::Get(&normalize_30B), - Rule::Get(&normalize_30B), - Rule::Get(&normalize_00C), - Rule::Get(&normalize_10C), - Rule::Get(&normalize_20C), - Rule::Get(&normalize_30C), - Rule::Get(&faceforward_00B00B00B), - Rule::Get(&faceforward_00B00B00B), - Rule::Get(&faceforward_10B10B10B), - Rule::Get(&faceforward_10B10B10B), - Rule::Get(&faceforward_20B20B20B), - Rule::Get(&faceforward_20B20B20B), - Rule::Get(&faceforward_30B30B30B), - Rule::Get(&faceforward_30B30B30B), - Rule::Get(&faceforward_00C00C00C), - Rule::Get(&faceforward_10C10C10C), - Rule::Get(&faceforward_20C20C20C), - Rule::Get(&faceforward_30C30C30C), - Rule::Get(&reflect_00B00B), - Rule::Get(&reflect_00B00B), - Rule::Get(&reflect_10B10B), - Rule::Get(&reflect_10B10B), - Rule::Get(&reflect_20B20B), - Rule::Get(&reflect_20B20B), - Rule::Get(&reflect_30B30B), - Rule::Get(&reflect_30B30B), - Rule::Get(&reflect_00C00C), - Rule::Get(&reflect_10C10C), - Rule::Get(&reflect_20C20C), - Rule::Get(&reflect_30C30C), - Rule::Get(&refract_00B00B00B), - Rule::Get(&refract_00B00B00B), - Rule::Get(&refract_10B10B00B), - Rule::Get(&refract_10B10B00B), - Rule::Get(&refract_20B20B00B), - Rule::Get(&refract_20B20B00B), - Rule::Get(&refract_30B30B00B), - Rule::Get(&refract_30B30B00B), - Rule::Get(&refract_00C00C00B), - Rule::Get(&refract_10C10C00B), - Rule::Get(&refract_20C20C00B), - Rule::Get(&refract_30C30C00B), - Rule::Get(&ftransform_), - Rule::Get(&matrixCompMult_50B50B), - Rule::Get(&matrixCompMult_50B50B), - Rule::Get(&matrixCompMult_A0BA0B), - Rule::Get(&matrixCompMult_A0BA0B), - Rule::Get(&matrixCompMult_F0BF0B), - Rule::Get(&matrixCompMult_F0BF0B), - Rule::Get(&matrixCompMult_90B90B), - Rule::Get(&matrixCompMult_60B60B), - Rule::Get(&matrixCompMult_D0BD0B), - Rule::Get(&matrixCompMult_70B70B), - Rule::Get(&matrixCompMult_E0BE0B), - Rule::Get(&matrixCompMult_B0BB0B), - Rule::Get(&outerProduct_10B10B), - Rule::Get(&outerProduct_10B10B), - Rule::Get(&outerProduct_20B20B), - Rule::Get(&outerProduct_20B20B), - Rule::Get(&outerProduct_30B30B), - Rule::Get(&outerProduct_30B30B), - Rule::Get(&outerProduct_20B10B), - Rule::Get(&outerProduct_20B10B), - Rule::Get(&outerProduct_10B20B), - Rule::Get(&outerProduct_10B20B), - Rule::Get(&outerProduct_30B10B), - Rule::Get(&outerProduct_30B10B), - Rule::Get(&outerProduct_10B30B), - Rule::Get(&outerProduct_10B30B), - Rule::Get(&outerProduct_30B20B), - Rule::Get(&outerProduct_30B20B), - Rule::Get(&outerProduct_20B30B), - Rule::Get(&outerProduct_20B30B), - Rule::Get(&transpose_50B), - Rule::Get(&transpose_50B), - Rule::Get(&transpose_A0B), - Rule::Get(&transpose_A0B), - Rule::Get(&transpose_F0B), - Rule::Get(&transpose_F0B), - Rule::Get(&transpose_60B), - Rule::Get(&transpose_60B), - Rule::Get(&transpose_90B), - Rule::Get(&transpose_90B), - Rule::Get(&transpose_70B), - Rule::Get(&transpose_70B), - Rule::Get(&transpose_D0B), - Rule::Get(&transpose_D0B), - Rule::Get(&transpose_B0B), - Rule::Get(&transpose_B0B), - Rule::Get(&transpose_E0B), - Rule::Get(&transpose_E0B), - Rule::Get(&determinant_50B), - Rule::Get(&determinant_A0B), - Rule::Get(&determinant_F0B), - Rule::Get(&inverse_50B), - Rule::Get(&inverse_50B), - Rule::Get(&inverse_A0B), - Rule::Get(&inverse_A0B), - Rule::Get(&inverse_F0B), - Rule::Get(&inverse_F0B), - Rule::Get(&lessThan_10B10B), - Rule::Get(&lessThan_10B10B), - Rule::Get(&lessThan_20B20B), - Rule::Get(&lessThan_20B20B), - Rule::Get(&lessThan_30B30B), - Rule::Get(&lessThan_30B30B), - Rule::Get(&lessThan_10D10D), - Rule::Get(&lessThan_10D10D), - Rule::Get(&lessThan_20D20D), - Rule::Get(&lessThan_20D20D), - Rule::Get(&lessThan_30D30D), - Rule::Get(&lessThan_30D30D), - Rule::Get(&lessThan_10E10E), - Rule::Get(&lessThan_10E10E), - Rule::Get(&lessThan_20E20E), - Rule::Get(&lessThan_20E20E), - Rule::Get(&lessThan_30E30E), - Rule::Get(&lessThan_30E30E), - Rule::Get(&lessThanEqual_10B10B), - Rule::Get(&lessThanEqual_10B10B), - Rule::Get(&lessThanEqual_20B20B), - Rule::Get(&lessThanEqual_20B20B), - Rule::Get(&lessThanEqual_30B30B), - Rule::Get(&lessThanEqual_30B30B), - Rule::Get(&lessThanEqual_10D10D), - Rule::Get(&lessThanEqual_10D10D), - Rule::Get(&lessThanEqual_20D20D), - Rule::Get(&lessThanEqual_20D20D), - Rule::Get(&lessThanEqual_30D30D), - Rule::Get(&lessThanEqual_30D30D), - Rule::Get(&lessThanEqual_10E10E), - Rule::Get(&lessThanEqual_10E10E), - Rule::Get(&lessThanEqual_20E20E), - Rule::Get(&lessThanEqual_20E20E), - Rule::Get(&lessThanEqual_30E30E), - Rule::Get(&lessThanEqual_30E30E), - Rule::Get(&greaterThan_10B10B), - Rule::Get(&greaterThan_10B10B), - Rule::Get(&greaterThan_20B20B), - Rule::Get(&greaterThan_20B20B), - Rule::Get(&greaterThan_30B30B), - Rule::Get(&greaterThan_30B30B), - Rule::Get(&greaterThan_10D10D), - Rule::Get(&greaterThan_10D10D), - Rule::Get(&greaterThan_20D20D), - Rule::Get(&greaterThan_20D20D), - Rule::Get(&greaterThan_30D30D), - Rule::Get(&greaterThan_30D30D), - Rule::Get(&greaterThan_10E10E), - Rule::Get(&greaterThan_10E10E), - Rule::Get(&greaterThan_20E20E), - Rule::Get(&greaterThan_20E20E), - Rule::Get(&greaterThan_30E30E), - Rule::Get(&greaterThan_30E30E), - Rule::Get(&greaterThanEqual_10B10B), - Rule::Get(&greaterThanEqual_10B10B), - Rule::Get(&greaterThanEqual_20B20B), - Rule::Get(&greaterThanEqual_20B20B), - Rule::Get(&greaterThanEqual_30B30B), - Rule::Get(&greaterThanEqual_30B30B), - Rule::Get(&greaterThanEqual_10D10D), - Rule::Get(&greaterThanEqual_10D10D), - Rule::Get(&greaterThanEqual_20D20D), - Rule::Get(&greaterThanEqual_20D20D), - Rule::Get(&greaterThanEqual_30D30D), - Rule::Get(&greaterThanEqual_30D30D), - Rule::Get(&greaterThanEqual_10E10E), - Rule::Get(&greaterThanEqual_10E10E), - Rule::Get(&greaterThanEqual_20E20E), - Rule::Get(&greaterThanEqual_20E20E), - Rule::Get(&greaterThanEqual_30E30E), - Rule::Get(&greaterThanEqual_30E30E), - Rule::Get(&equal_10B10B), - Rule::Get(&equal_10B10B), - Rule::Get(&equal_20B20B), - Rule::Get(&equal_20B20B), - Rule::Get(&equal_30B30B), - Rule::Get(&equal_30B30B), - Rule::Get(&equal_10D10D), - Rule::Get(&equal_10D10D), - Rule::Get(&equal_20D20D), - Rule::Get(&equal_20D20D), - Rule::Get(&equal_30D30D), - Rule::Get(&equal_30D30D), - Rule::Get(&equal_10E10E), - Rule::Get(&equal_10E10E), - Rule::Get(&equal_20E20E), - Rule::Get(&equal_20E20E), - Rule::Get(&equal_30E30E), - Rule::Get(&equal_30E30E), - Rule::Get(&equal_10F10F), - Rule::Get(&equal_10F10F), - Rule::Get(&equal_20F20F), - Rule::Get(&equal_20F20F), - Rule::Get(&equal_30F30F), - Rule::Get(&equal_30F30F), - Rule::Get(¬Equal_10B10B), - Rule::Get(¬Equal_10B10B), - Rule::Get(¬Equal_20B20B), - Rule::Get(¬Equal_20B20B), - Rule::Get(¬Equal_30B30B), - Rule::Get(¬Equal_30B30B), - Rule::Get(¬Equal_10D10D), - Rule::Get(¬Equal_10D10D), - Rule::Get(¬Equal_20D20D), - Rule::Get(¬Equal_20D20D), - Rule::Get(¬Equal_30D30D), - Rule::Get(¬Equal_30D30D), - Rule::Get(¬Equal_10E10E), - Rule::Get(¬Equal_10E10E), - Rule::Get(¬Equal_20E20E), - Rule::Get(¬Equal_20E20E), - Rule::Get(¬Equal_30E30E), - Rule::Get(¬Equal_30E30E), - Rule::Get(¬Equal_10F10F), - Rule::Get(¬Equal_10F10F), - Rule::Get(¬Equal_20F20F), - Rule::Get(¬Equal_20F20F), - Rule::Get(¬Equal_30F30F), - Rule::Get(¬Equal_30F30F), - Rule::Get(&any_10F), - Rule::Get(&any_10F), - Rule::Get(&any_20F), - Rule::Get(&any_20F), - Rule::Get(&any_30F), - Rule::Get(&any_30F), - Rule::Get(&all_10F), - Rule::Get(&all_10F), - Rule::Get(&all_20F), - Rule::Get(&all_20F), - Rule::Get(&all_30F), - Rule::Get(&all_30F), - Rule::Get(¬Func_10F), - Rule::Get(¬Func_10F), - Rule::Get(¬Func_20F), - Rule::Get(¬Func_20F), - Rule::Get(¬Func_30F), - Rule::Get(¬Func_30F), - Rule::Get(&bitfieldExtract_00D00D00D), - Rule::Get(&bitfieldExtract_00D00D00D), - Rule::Get(&bitfieldExtract_10D00D00D), - Rule::Get(&bitfieldExtract_10D00D00D), - Rule::Get(&bitfieldExtract_20D00D00D), - Rule::Get(&bitfieldExtract_20D00D00D), - Rule::Get(&bitfieldExtract_30D00D00D), - Rule::Get(&bitfieldExtract_30D00D00D), - Rule::Get(&bitfieldExtract_00E00D00D), - Rule::Get(&bitfieldExtract_00E00D00D), - Rule::Get(&bitfieldExtract_10E00D00D), - Rule::Get(&bitfieldExtract_10E00D00D), - Rule::Get(&bitfieldExtract_20E00D00D), - Rule::Get(&bitfieldExtract_20E00D00D), - Rule::Get(&bitfieldExtract_30E00D00D), - Rule::Get(&bitfieldExtract_30E00D00D), - Rule::Get(&bitfieldInsert_00D00D00D00D), - Rule::Get(&bitfieldInsert_00D00D00D00D), - Rule::Get(&bitfieldInsert_10D10D00D00D), - Rule::Get(&bitfieldInsert_10D10D00D00D), - Rule::Get(&bitfieldInsert_20D20D00D00D), - Rule::Get(&bitfieldInsert_20D20D00D00D), - Rule::Get(&bitfieldInsert_30D30D00D00D), - Rule::Get(&bitfieldInsert_30D30D00D00D), - Rule::Get(&bitfieldInsert_00E00E00D00D), - Rule::Get(&bitfieldInsert_00E00E00D00D), - Rule::Get(&bitfieldInsert_10E10E00D00D), - Rule::Get(&bitfieldInsert_10E10E00D00D), - Rule::Get(&bitfieldInsert_20E20E00D00D), - Rule::Get(&bitfieldInsert_20E20E00D00D), - Rule::Get(&bitfieldInsert_30E30E00D00D), - Rule::Get(&bitfieldInsert_30E30E00D00D), - Rule::Get(&bitfieldReverse_00D), - Rule::Get(&bitfieldReverse_00D), - Rule::Get(&bitfieldReverse_10D), - Rule::Get(&bitfieldReverse_10D), - Rule::Get(&bitfieldReverse_20D), - Rule::Get(&bitfieldReverse_20D), - Rule::Get(&bitfieldReverse_30D), - Rule::Get(&bitfieldReverse_30D), - Rule::Get(&bitfieldReverse_00E), - Rule::Get(&bitfieldReverse_00E), - Rule::Get(&bitfieldReverse_10E), - Rule::Get(&bitfieldReverse_10E), - Rule::Get(&bitfieldReverse_20E), - Rule::Get(&bitfieldReverse_20E), - Rule::Get(&bitfieldReverse_30E), - Rule::Get(&bitfieldReverse_30E), - Rule::Get(&bitCount_00D), - Rule::Get(&bitCount_00D), - Rule::Get(&bitCount_10D), - Rule::Get(&bitCount_10D), - Rule::Get(&bitCount_20D), - Rule::Get(&bitCount_20D), - Rule::Get(&bitCount_30D), - Rule::Get(&bitCount_30D), - Rule::Get(&bitCount_00E), - Rule::Get(&bitCount_00E), - Rule::Get(&bitCount_10E), - Rule::Get(&bitCount_10E), - Rule::Get(&bitCount_20E), - Rule::Get(&bitCount_20E), - Rule::Get(&bitCount_30E), - Rule::Get(&bitCount_30E), - Rule::Get(&findLSB_00D), - Rule::Get(&findLSB_00D), - Rule::Get(&findLSB_10D), - Rule::Get(&findLSB_10D), - Rule::Get(&findLSB_20D), - Rule::Get(&findLSB_20D), - Rule::Get(&findLSB_30D), - Rule::Get(&findLSB_30D), - Rule::Get(&findLSB_00E), - Rule::Get(&findLSB_00E), - Rule::Get(&findLSB_10E), - Rule::Get(&findLSB_10E), - Rule::Get(&findLSB_20E), - Rule::Get(&findLSB_20E), - Rule::Get(&findLSB_30E), - Rule::Get(&findLSB_30E), - Rule::Get(&findMSB_00D), - Rule::Get(&findMSB_00D), - Rule::Get(&findMSB_10D), - Rule::Get(&findMSB_10D), - Rule::Get(&findMSB_20D), - Rule::Get(&findMSB_20D), - Rule::Get(&findMSB_30D), - Rule::Get(&findMSB_30D), - Rule::Get(&findMSB_00E), - Rule::Get(&findMSB_00E), - Rule::Get(&findMSB_10E), - Rule::Get(&findMSB_10E), - Rule::Get(&findMSB_20E), - Rule::Get(&findMSB_20E), - Rule::Get(&findMSB_30E), - Rule::Get(&findMSB_30E), - Rule::Get(&uaddCarry_00E00E00E), - Rule::Get(&uaddCarry_00E00E00E), - Rule::Get(&uaddCarry_10E10E10E), - Rule::Get(&uaddCarry_10E10E10E), - Rule::Get(&uaddCarry_20E20E20E), - Rule::Get(&uaddCarry_20E20E20E), - Rule::Get(&uaddCarry_30E30E30E), - Rule::Get(&uaddCarry_30E30E30E), - Rule::Get(&usubBorrow_00E00E00E), - Rule::Get(&usubBorrow_00E00E00E), - Rule::Get(&usubBorrow_10E10E10E), - Rule::Get(&usubBorrow_10E10E10E), - Rule::Get(&usubBorrow_20E20E20E), - Rule::Get(&usubBorrow_20E20E20E), - Rule::Get(&usubBorrow_30E30E30E), - Rule::Get(&usubBorrow_30E30E30E), - Rule::Get(&umulExtended_00E00E00E00E), - Rule::Get(&umulExtended_00E00E00E00E), - Rule::Get(&umulExtended_10E10E10E10E), - Rule::Get(&umulExtended_10E10E10E10E), - Rule::Get(&umulExtended_20E20E20E20E), - Rule::Get(&umulExtended_20E20E20E20E), - Rule::Get(&umulExtended_30E30E30E30E), - Rule::Get(&umulExtended_30E30E30E30E), - Rule::Get(&imulExtended_00D00D00D00D), - Rule::Get(&imulExtended_00D00D00D00D), - Rule::Get(&imulExtended_10D10D10D10D), - Rule::Get(&imulExtended_10D10D10D10D), - Rule::Get(&imulExtended_20D20D20D20D), - Rule::Get(&imulExtended_20D20D20D20D), - Rule::Get(&imulExtended_30D30D30D30D), - Rule::Get(&imulExtended_30D30D30D30D), - Rule::Get(&texture2D_00I10B), - Rule::Get(&texture2D_00I10B), - Rule::Get(&texture2DProj_00I20B), - Rule::Get(&texture2DProj_00I20B), - Rule::Get(&texture2DProj_00I30B), - Rule::Get(&texture2DProj_00I30B), - Rule::Get(&textureCube_00K20B), - Rule::Get(&textureCube_00K20B), - Rule::Get(&texture1D_00g00B), - Rule::Get(&texture1DProj_00g10B), - Rule::Get(&texture1DProj_00g30B), - Rule::Get(&texture3D_00J20B), - Rule::Get(&texture3D_00J20B), - Rule::Get(&texture3DProj_00J30B), - Rule::Get(&texture3DProj_00J30B), - Rule::Get(&shadow1D_00m20B), - Rule::Get(&shadow1DProj_00m30B), - Rule::Get(&shadow2D_00d20B), - Rule::Get(&shadow2DProj_00d30B), - Rule::Get(&texture2D_00M10B), - Rule::Get(&texture2DProj_00M20B), - Rule::Get(&texture2DProj_00M30B), - Rule::Get( - &texture2DRect_00O10B), - Rule::Get( - &texture2DRectProj_00O20B), - Rule::Get( - &texture2DRectProj_00O30B), - Rule::Get(&texture_00O10B), - Rule::Get(&texture_00O10B), - Rule::Get(&textureProj_00O20B), - Rule::Get(&textureProj_00O20B), - Rule::Get(&textureProj_00O30B), - Rule::Get(&textureProj_00O30B), - Rule::Get( - &texture2DGradEXT_00I10B10B10B), - Rule::Get( - &texture2DProjGradEXT_00I20B10B10B), - Rule::Get( - &texture2DProjGradEXT_00I30B10B10B), - Rule::Get( - &textureCubeGradEXT_00K20B20B20B), - Rule::Get(&texture2D_00I10B00B), - Rule::Get(&texture2D_00I10B00B), - Rule::Get(&texture2DProj_00I20B00B), - Rule::Get(&texture2DProj_00I20B00B), - Rule::Get(&texture2DProj_00I30B00B), - Rule::Get(&texture2DProj_00I30B00B), - Rule::Get(&textureCube_00K20B00B), - Rule::Get(&textureCube_00K20B00B), - Rule::Get(&texture3D_00J20B00B), - Rule::Get(&texture3D_00J20B00B), - Rule::Get(&texture3DProj_00J30B00B), - Rule::Get( - &texture3DProj_00J30B00B), - Rule::Get(&texture3DLod_00J20B00B), - Rule::Get( - &texture3DLod_00J20B00B), - Rule::Get(&texture3DProjLod_00J30B00B), - Rule::Get( - &texture3DProjLod_00J30B00B), - Rule::Get(&texture1D_00g00B00B), - Rule::Get(&texture1DProj_00g10B00B), - Rule::Get(&texture1DProj_00g30B00B), - Rule::Get(&shadow1D_00m20B00B), - Rule::Get(&shadow1DProj_00m30B00B), - Rule::Get(&shadow2D_00d20B00B), - Rule::Get(&shadow2DProj_00d30B00B), - Rule::Get(&dFdx_00B), - Rule::Get(&dFdx_00B), - Rule::Get(&dFdxExt_00B), - Rule::Get(&dFdx_10B), - Rule::Get(&dFdx_10B), - Rule::Get(&dFdxExt_10B), - Rule::Get(&dFdx_20B), - Rule::Get(&dFdx_20B), - Rule::Get(&dFdxExt_20B), - Rule::Get(&dFdx_30B), - Rule::Get(&dFdx_30B), - Rule::Get(&dFdxExt_30B), - Rule::Get(&dFdy_00B), - Rule::Get(&dFdy_00B), - Rule::Get(&dFdyExt_00B), - Rule::Get(&dFdy_10B), - Rule::Get(&dFdy_10B), - Rule::Get(&dFdyExt_10B), - Rule::Get(&dFdy_20B), - Rule::Get(&dFdy_20B), - Rule::Get(&dFdyExt_20B), - Rule::Get(&dFdy_30B), - Rule::Get(&dFdy_30B), - Rule::Get(&dFdyExt_30B), - Rule::Get(&fwidth_00B), - Rule::Get(&fwidth_00B), - Rule::Get( - &fwidthExt_00B), - Rule::Get(&fwidth_10B), - Rule::Get(&fwidth_10B), - Rule::Get( - &fwidthExt_10B), - Rule::Get(&fwidth_20B), - Rule::Get(&fwidth_20B), - Rule::Get( - &fwidthExt_20B), - Rule::Get(&fwidth_30B), - Rule::Get(&fwidth_30B), - Rule::Get( - &fwidthExt_30B), - Rule::Get( - &texture2DLodEXT_00I10B00B), - Rule::Get( - &texture2DProjLodEXT_00I20B00B), - Rule::Get( - &texture2DProjLodEXT_00I30B00B), - Rule::Get( - &textureCubeLodEXT_00K20B00B), - Rule::Get( - &shadow2DEXT_00d20B), - Rule::Get( - &shadow2DProjEXT_00d30B), - Rule::Get(&texture2DLod_00I10B00B), - Rule::Get(&texture2DLod_00I10B00B), - Rule::Get(&texture2DProjLod_00I20B00B), - Rule::Get(&texture2DProjLod_00I20B00B), - Rule::Get(&texture2DProjLod_00I30B00B), - Rule::Get(&texture2DProjLod_00I30B00B), - Rule::Get(&textureCubeLod_00K20B00B), - Rule::Get(&textureCubeLod_00K20B00B), - Rule::Get(&texture1DLod_00g00B00B), - Rule::Get(&texture1DProjLod_00g10B00B), - Rule::Get(&texture1DProjLod_00g30B00B), - Rule::Get(&shadow1DLod_00m20B00B), - Rule::Get(&shadow1DProjLod_00m30B00B), - Rule::Get(&shadow2DLod_00d20B00B), - Rule::Get(&shadow2DProjLod_00d30B00B), - Rule::Get(&texture_00I10B), - Rule::Get(&texture_00I10B), - Rule::Get(&texture_00R10B), - Rule::Get(&texture_00R10B), - Rule::Get(&texture_00X10B), - Rule::Get(&texture_00X10B), - Rule::Get(&texture_00J20B), - Rule::Get(&texture_00J20B), - Rule::Get(&texture_00S20B), - Rule::Get(&texture_00S20B), - Rule::Get(&texture_00Y20B), - Rule::Get(&texture_00Y20B), - Rule::Get(&texture_00K20B), - Rule::Get(&texture_00K20B), - Rule::Get(&texture_00T20B), - Rule::Get(&texture_00T20B), - Rule::Get(&texture_00Z20B), - Rule::Get(&texture_00Z20B), - Rule::Get(&texture_00L20B), - Rule::Get(&texture_00L20B), - Rule::Get(&texture_00U20B), - Rule::Get(&texture_00U20B), - Rule::Get(&texture_00a20B), - Rule::Get(&texture_00a20B), - Rule::Get(&texture_00d20B), - Rule::Get(&texture_00d20B), - Rule::Get(&texture_00e30B), - Rule::Get(&texture_00e30B), - Rule::Get(&texture_00f30B), - Rule::Get(&texture_00f30B), - Rule::Get(&texture_00g00B), - Rule::Get(&texture_00o00B), - Rule::Get(&texture_00t00B), - Rule::Get(&texture_00m20B), - Rule::Get(&texture_00h20B), - Rule::Get(&texture_00p20B), - Rule::Get(&texture_00u20B), - Rule::Get(&texture_00i20B), - Rule::Get(&texture_00q10B), - Rule::Get(&texture_00v10B), - Rule::Get(&texture_00n20B), - Rule::Get(&texture_00l30B00B), - Rule::Get(&texture_00l30B00B), - Rule::Get(&textureProj_00I20B), - Rule::Get(&textureProj_00I20B), - Rule::Get(&textureProj_00R20B), - Rule::Get(&textureProj_00R20B), - Rule::Get(&textureProj_00X20B), - Rule::Get(&textureProj_00X20B), - Rule::Get(&textureProj_00I30B), - Rule::Get(&textureProj_00I30B), - Rule::Get(&textureProj_00R30B), - Rule::Get(&textureProj_00R30B), - Rule::Get(&textureProj_00X30B), - Rule::Get(&textureProj_00X30B), - Rule::Get(&textureProj_00J30B), - Rule::Get(&textureProj_00J30B), - Rule::Get(&textureProj_00S30B), - Rule::Get(&textureProj_00S30B), - Rule::Get(&textureProj_00Y30B), - Rule::Get(&textureProj_00Y30B), - Rule::Get(&textureProj_00d30B), - Rule::Get(&textureProj_00d30B), - Rule::Get(&textureProj_00g10B), - Rule::Get(&textureProj_00o10B), - Rule::Get(&textureProj_00t10B), - Rule::Get(&textureProj_00g30B), - Rule::Get(&textureProj_00o30B), - Rule::Get(&textureProj_00t30B), - Rule::Get(&textureProj_00m30B), - Rule::Get(&textureProj_00q20B), - Rule::Get(&textureProj_00v20B), - Rule::Get(&textureProj_00q30B), - Rule::Get(&textureProj_00v30B), - Rule::Get(&textureProj_00n30B), - Rule::Get(&textureLod_00I10B00B), - Rule::Get(&textureLod_00I10B00B), - Rule::Get(&textureLod_00R10B00B), - Rule::Get(&textureLod_00R10B00B), - Rule::Get(&textureLod_00X10B00B), - Rule::Get(&textureLod_00X10B00B), - Rule::Get(&textureLod_00J20B00B), - Rule::Get(&textureLod_00J20B00B), - Rule::Get(&textureLod_00S20B00B), - Rule::Get(&textureLod_00S20B00B), - Rule::Get(&textureLod_00Y20B00B), - Rule::Get(&textureLod_00Y20B00B), - Rule::Get(&textureLod_00K20B00B), - Rule::Get(&textureLod_00K20B00B), - Rule::Get(&textureLod_00T20B00B), - Rule::Get(&textureLod_00T20B00B), - Rule::Get(&textureLod_00Z20B00B), - Rule::Get(&textureLod_00Z20B00B), - Rule::Get(&textureLod_00L20B00B), - Rule::Get(&textureLod_00L20B00B), - Rule::Get(&textureLod_00U20B00B), - Rule::Get(&textureLod_00U20B00B), - Rule::Get(&textureLod_00a20B00B), - Rule::Get(&textureLod_00a20B00B), - Rule::Get(&textureLod_00d20B00B), - Rule::Get(&textureLod_00d20B00B), - Rule::Get(&textureLod_00g00B00B), - Rule::Get(&textureLod_00o00B00B), - Rule::Get(&textureLod_00t00B00B), - Rule::Get(&textureLod_00m20B00B), - Rule::Get(&textureLod_00h10B00B), - Rule::Get(&textureLod_00p10B00B), - Rule::Get(&textureLod_00u10B00B), - Rule::Get(&textureLod_00i20B00B), - Rule::Get(&textureLod_00k30B00B), - Rule::Get(&textureLod_00k30B00B), - Rule::Get(&textureLod_00s30B00B), - Rule::Get(&textureLod_00s30B00B), - Rule::Get(&textureLod_00x30B00B), - Rule::Get(&textureLod_00x30B00B), - Rule::Get(&textureSize_00I00D), - Rule::Get(&textureSize_00I00D), - Rule::Get(&textureSize_00R00D), - Rule::Get(&textureSize_00R00D), - Rule::Get(&textureSize_00X00D), - Rule::Get(&textureSize_00X00D), - Rule::Get(&textureSize_00J00D), - Rule::Get(&textureSize_00J00D), - Rule::Get(&textureSize_00S00D), - Rule::Get(&textureSize_00S00D), - Rule::Get(&textureSize_00Y00D), - Rule::Get(&textureSize_00Y00D), - Rule::Get(&textureSize_00K00D), - Rule::Get(&textureSize_00K00D), - Rule::Get(&textureSize_00T00D), - Rule::Get(&textureSize_00T00D), - Rule::Get(&textureSize_00Z00D), - Rule::Get(&textureSize_00Z00D), - Rule::Get(&textureSize_00L00D), - Rule::Get(&textureSize_00L00D), - Rule::Get(&textureSize_00U00D), - Rule::Get(&textureSize_00U00D), - Rule::Get(&textureSize_00a00D), - Rule::Get(&textureSize_00a00D), - Rule::Get(&textureSize_00d00D), - Rule::Get(&textureSize_00d00D), - Rule::Get(&textureSize_00e00D), - Rule::Get(&textureSize_00e00D), - Rule::Get(&textureSize_00f00D), - Rule::Get(&textureSize_00f00D), - Rule::Get(&textureSize_00g00D), - Rule::Get(&textureSize_00o00D), - Rule::Get(&textureSize_00t00D), - Rule::Get(&textureSize_00m00D), - Rule::Get(&textureSize_00k00D), - Rule::Get(&textureSize_00k00D), - Rule::Get(&textureSize_00s00D), - Rule::Get(&textureSize_00s00D), - Rule::Get(&textureSize_00x00D), - Rule::Get(&textureSize_00x00D), - Rule::Get(&textureSize_00l00D), - Rule::Get(&textureSize_00l00D), - Rule::Get(&textureSize_00O), - Rule::Get(&textureSize_00q), - Rule::Get(&textureSize_00v), - Rule::Get(&textureSize_00n), - Rule::Get(&textureSize_00h00D), - Rule::Get(&textureSize_00p00D), - Rule::Get(&textureSize_00u00D), - Rule::Get(&textureSize_00i00D), - Rule::Get(&textureSize_00j), - Rule::Get(&textureSize_00j), - Rule::Get(&textureSize_00r), - Rule::Get(&textureSize_00r), - Rule::Get(&textureSize_00w), - Rule::Get(&textureSize_00w), - Rule::Get(&textureProjLod_00I20B00B), - Rule::Get(&textureProjLod_00I20B00B), - Rule::Get(&textureProjLod_00R20B00B), - Rule::Get(&textureProjLod_00R20B00B), - Rule::Get(&textureProjLod_00X20B00B), - Rule::Get(&textureProjLod_00X20B00B), - Rule::Get(&textureProjLod_00I30B00B), - Rule::Get(&textureProjLod_00I30B00B), - Rule::Get(&textureProjLod_00R30B00B), - Rule::Get(&textureProjLod_00R30B00B), - Rule::Get(&textureProjLod_00X30B00B), - Rule::Get(&textureProjLod_00X30B00B), - Rule::Get(&textureProjLod_00J30B00B), - Rule::Get(&textureProjLod_00J30B00B), - Rule::Get(&textureProjLod_00S30B00B), - Rule::Get(&textureProjLod_00S30B00B), - Rule::Get(&textureProjLod_00Y30B00B), - Rule::Get(&textureProjLod_00Y30B00B), - Rule::Get(&textureProjLod_00d30B00B), - Rule::Get(&textureProjLod_00d30B00B), - Rule::Get(&textureProjLod_00g10B00B), - Rule::Get(&textureProjLod_00o10B00B), - Rule::Get(&textureProjLod_00t10B00B), - Rule::Get(&textureProjLod_00g30B00B), - Rule::Get(&textureProjLod_00o30B00B), - Rule::Get(&textureProjLod_00t30B00B), - Rule::Get(&textureProjLod_00m30B00B), - Rule::Get(&texelFetch_00I10D00D), - Rule::Get(&texelFetch_00I10D00D), - Rule::Get(&texelFetch_00R10D00D), - Rule::Get(&texelFetch_00R10D00D), - Rule::Get(&texelFetch_00X10D00D), - Rule::Get(&texelFetch_00X10D00D), - Rule::Get(&texelFetch_00J20D00D), - Rule::Get(&texelFetch_00J20D00D), - Rule::Get(&texelFetch_00S20D00D), - Rule::Get(&texelFetch_00S20D00D), - Rule::Get(&texelFetch_00Y20D00D), - Rule::Get(&texelFetch_00Y20D00D), - Rule::Get(&texelFetch_00L20D00D), - Rule::Get(&texelFetch_00L20D00D), - Rule::Get(&texelFetch_00U20D00D), - Rule::Get(&texelFetch_00U20D00D), - Rule::Get(&texelFetch_00a20D00D), - Rule::Get(&texelFetch_00a20D00D), - Rule::Get(&texelFetch_00g00D00D), - Rule::Get(&texelFetch_00o00D00D), - Rule::Get(&texelFetch_00t00D00D), - Rule::Get(&texelFetch_00O10D), - Rule::Get(&texelFetch_00q10D), - Rule::Get(&texelFetch_00v10D), - Rule::Get(&texelFetch_00h10D00D), - Rule::Get(&texelFetch_00p10D00D), - Rule::Get(&texelFetch_00u10D00D), - Rule::Get(&texelFetch_00j00D), - Rule::Get(&texelFetch_00j00D), - Rule::Get(&texelFetch_00r00D), - Rule::Get(&texelFetch_00r00D), - Rule::Get(&texelFetch_00w00D), - Rule::Get(&texelFetch_00w00D), - Rule::Get(&textureGrad_00I10B10B10B), - Rule::Get(&textureGrad_00I10B10B10B), - Rule::Get(&textureGrad_00R10B10B10B), - Rule::Get(&textureGrad_00R10B10B10B), - Rule::Get(&textureGrad_00X10B10B10B), - Rule::Get(&textureGrad_00X10B10B10B), - Rule::Get(&textureGrad_00J20B20B20B), - Rule::Get(&textureGrad_00J20B20B20B), - Rule::Get(&textureGrad_00S20B20B20B), - Rule::Get(&textureGrad_00S20B20B20B), - Rule::Get(&textureGrad_00Y20B20B20B), - Rule::Get(&textureGrad_00Y20B20B20B), - Rule::Get(&textureGrad_00K20B20B20B), - Rule::Get(&textureGrad_00K20B20B20B), - Rule::Get(&textureGrad_00T20B20B20B), - Rule::Get(&textureGrad_00T20B20B20B), - Rule::Get(&textureGrad_00Z20B20B20B), - Rule::Get(&textureGrad_00Z20B20B20B), - Rule::Get(&textureGrad_00I00B00B00B), - Rule::Get(&textureGrad_00R00B00B00B), - Rule::Get(&textureGrad_00X00B00B00B), - Rule::Get(&textureGrad_00O10B10B10B), - Rule::Get(&textureGrad_00q10B10B10B), - Rule::Get(&textureGrad_00v10B10B10B), - Rule::Get(&textureGrad_00n20B10B10B), - Rule::Get(&textureGrad_00d20B10B10B), - Rule::Get(&textureGrad_00d20B10B10B), - Rule::Get(&textureGrad_00e30B20B20B), - Rule::Get(&textureGrad_00e30B20B20B), - Rule::Get(&textureGrad_00L20B10B10B), - Rule::Get(&textureGrad_00L20B10B10B), - Rule::Get(&textureGrad_00U20B10B10B), - Rule::Get(&textureGrad_00U20B10B10B), - Rule::Get(&textureGrad_00a20B10B10B), - Rule::Get(&textureGrad_00a20B10B10B), - Rule::Get(&textureGrad_00f30B10B10B), - Rule::Get(&textureGrad_00f30B10B10B), - Rule::Get(&textureGrad_00m20B00B00B), - Rule::Get(&textureGrad_00h10B00B00B), - Rule::Get(&textureGrad_00p10B00B00B), - Rule::Get(&textureGrad_00u10B00B00B), - Rule::Get(&textureGrad_00i20B00B00B), - Rule::Get(&textureGrad_00k30B20B20B), - Rule::Get(&textureGrad_00k30B20B20B), - Rule::Get(&textureGrad_00s30B20B20B), - Rule::Get(&textureGrad_00s30B20B20B), - Rule::Get(&textureGrad_00x30B20B20B), - Rule::Get(&textureGrad_00x30B20B20B), - Rule::Get(&textureProjGrad_00I20B10B10B), - Rule::Get(&textureProjGrad_00I20B10B10B), - Rule::Get(&textureProjGrad_00R20B10B10B), - Rule::Get(&textureProjGrad_00R20B10B10B), - Rule::Get(&textureProjGrad_00X20B10B10B), - Rule::Get(&textureProjGrad_00X20B10B10B), - Rule::Get(&textureProjGrad_00I30B10B10B), - Rule::Get(&textureProjGrad_00I30B10B10B), - Rule::Get(&textureProjGrad_00R30B10B10B), - Rule::Get(&textureProjGrad_00R30B10B10B), - Rule::Get(&textureProjGrad_00X30B10B10B), - Rule::Get(&textureProjGrad_00X30B10B10B), - Rule::Get(&textureProjGrad_00J30B20B20B), - Rule::Get(&textureProjGrad_00J30B20B20B), - Rule::Get(&textureProjGrad_00S30B20B20B), - Rule::Get(&textureProjGrad_00S30B20B20B), - Rule::Get(&textureProjGrad_00Y30B20B20B), - Rule::Get(&textureProjGrad_00Y30B20B20B), - Rule::Get(&textureProjGrad_00d30B10B10B), - Rule::Get(&textureProjGrad_00d30B10B10B), - Rule::Get(&textureProjGrad_00g10B00B00B), - Rule::Get(&textureProjGrad_00o10B00B00B), - Rule::Get(&textureProjGrad_00t10B00B00B), - Rule::Get(&textureProjGrad_00g30B00B00B), - Rule::Get(&textureProjGrad_00o30B00B00B), - Rule::Get(&textureProjGrad_00t30B00B00B), - Rule::Get(&textureProjGrad_00m30B00B00B), - Rule::Get(&textureProjGrad_00O20B10B10B), - Rule::Get(&textureProjGrad_00q20B10B10B), - Rule::Get(&textureProjGrad_00v20B10B10B), - Rule::Get(&textureProjGrad_00O30B10B10B), - Rule::Get(&textureProjGrad_00q30B10B10B), - Rule::Get(&textureProjGrad_00v30B10B10B), - Rule::Get(&textureProjGrad_00n30B10B10B), - Rule::Get(&textureQueryLevels_00g), - Rule::Get(&textureQueryLevels_00o), - Rule::Get(&textureQueryLevels_00t), - Rule::Get(&textureQueryLevels_00I), - Rule::Get(&textureQueryLevels_00R), - Rule::Get(&textureQueryLevels_00X), - Rule::Get(&textureQueryLevels_00J), - Rule::Get(&textureQueryLevels_00S), - Rule::Get(&textureQueryLevels_00Y), - Rule::Get(&textureQueryLevels_00K), - Rule::Get(&textureQueryLevels_00T), - Rule::Get(&textureQueryLevels_00Z), - Rule::Get(&textureQueryLevels_00h), - Rule::Get(&textureQueryLevels_00p), - Rule::Get(&textureQueryLevels_00u), - Rule::Get(&textureQueryLevels_00L), - Rule::Get(&textureQueryLevels_00U), - Rule::Get(&textureQueryLevels_00a), - Rule::Get(&textureQueryLevels_00k), - Rule::Get(&textureQueryLevels_00s), - Rule::Get(&textureQueryLevels_00x), - Rule::Get(&textureQueryLevels_00m), - Rule::Get(&textureQueryLevels_00d), - Rule::Get(&textureQueryLevels_00e), - Rule::Get(&textureQueryLevels_00i), - Rule::Get(&textureQueryLevels_00f), - Rule::Get(&textureQueryLevels_00l), - Rule::Get(&textureSamples_00P), - Rule::Get(&textureSamples_00V), - Rule::Get(&textureSamples_00b), - Rule::Get(&textureSamples_00Q), - Rule::Get(&textureSamples_00W), - Rule::Get(&textureSamples_00c), - Rule::Get(&textureSize_00P), - Rule::Get(&textureSize_00P), - Rule::Get( - &textureSizeExt_00P), - Rule::Get(&textureSize_00V), - Rule::Get(&textureSize_00V), - Rule::Get( - &textureSizeExt_00V), - Rule::Get(&textureSize_00b), - Rule::Get(&textureSize_00b), - Rule::Get( - &textureSizeExt_00b), - Rule::Get(&textureSize_00Q), - Rule::Get( - &textureSizeExt_00Q), - Rule::Get(&textureSize_00W), - Rule::Get( - &textureSizeExt_00W), - Rule::Get(&textureSize_00c), - Rule::Get( - &textureSizeExt_00c), - Rule::Get(&texture_00k30B), - Rule::Get(&texture_00s30B), - Rule::Get(&texture_00x30B), - Rule::Get(&texture_00k30B00B), - Rule::Get(&texture_00s30B00B), - Rule::Get(&texture_00x30B00B), - Rule::Get(&textureGather_00k30B), - Rule::Get(&textureGather_00k30B), - Rule::Get(&textureGather_00s30B), - Rule::Get(&textureGather_00s30B), - Rule::Get(&textureGather_00x30B), - Rule::Get(&textureGather_00x30B), - Rule::Get(&textureGather_00k30B00D), - Rule::Get(&textureGather_00k30B00D), - Rule::Get(&textureGather_00s30B00D), - Rule::Get(&textureGather_00s30B00D), - Rule::Get(&textureGather_00x30B00D), - Rule::Get(&textureGather_00x30B00D), - Rule::Get(&textureGather_00l30B00B), - Rule::Get(&textureGather_00l30B00B), - Rule::Get(&texelFetch_00P10D00D), - Rule::Get(&texelFetch_00P10D00D), - Rule::Get( - &texelFetchExt_00P10D00D), - Rule::Get(&texelFetch_00V10D00D), - Rule::Get(&texelFetch_00V10D00D), - Rule::Get( - &texelFetchExt_00V10D00D), - Rule::Get(&texelFetch_00b10D00D), - Rule::Get(&texelFetch_00b10D00D), - Rule::Get( - &texelFetchExt_00b10D00D), - Rule::Get(&texelFetch_00Q20D00D), - Rule::Get( - &texelFetchExt_00Q20D00D), - Rule::Get(&texelFetch_00W20D00D), - Rule::Get( - &texelFetchExt_00W20D00D), - Rule::Get(&texelFetch_00c20D00D), - Rule::Get( - &texelFetchExt_00c20D00D), - Rule::Get(&texture_00I10B00B), - Rule::Get(&texture_00I10B00B), - Rule::Get(&texture_00R10B00B), - Rule::Get(&texture_00R10B00B), - Rule::Get(&texture_00X10B00B), - Rule::Get(&texture_00X10B00B), - Rule::Get(&texture_00J20B00B), - Rule::Get(&texture_00J20B00B), - Rule::Get(&texture_00S20B00B), - Rule::Get(&texture_00S20B00B), - Rule::Get(&texture_00Y20B00B), - Rule::Get(&texture_00Y20B00B), - Rule::Get(&texture_00K20B00B), - Rule::Get(&texture_00K20B00B), - Rule::Get(&texture_00T20B00B), - Rule::Get(&texture_00T20B00B), - Rule::Get(&texture_00Z20B00B), - Rule::Get(&texture_00Z20B00B), - Rule::Get(&texture_00L20B00B), - Rule::Get(&texture_00L20B00B), - Rule::Get(&texture_00U20B00B), - Rule::Get(&texture_00U20B00B), - Rule::Get(&texture_00a20B00B), - Rule::Get(&texture_00a20B00B), - Rule::Get(&textureProj_00I20B00B), - Rule::Get(&textureProj_00I20B00B), - Rule::Get(&textureProj_00R20B00B), - Rule::Get(&textureProj_00R20B00B), - Rule::Get(&textureProj_00X20B00B), - Rule::Get(&textureProj_00X20B00B), - Rule::Get(&textureProj_00I30B00B), - Rule::Get(&textureProj_00I30B00B), Rule::Get(&textureProj_00R30B00B), Rule::Get(&textureProj_00R30B00B), - Rule::Get(&textureProj_00X30B00B), - Rule::Get(&textureProj_00X30B00B), - Rule::Get(&textureProj_00J30B00B), - Rule::Get(&textureProj_00J30B00B), - Rule::Get(&textureProj_00S30B00B), - Rule::Get(&textureProj_00S30B00B), - Rule::Get(&textureProj_00Y30B00B), - Rule::Get(&textureProj_00Y30B00B), - Rule::Get(&texture_00d20B00B), - Rule::Get(&texture_00d20B00B), - Rule::Get(&texture_00e30B00B), - Rule::Get(&texture_00e30B00B), - Rule::Get(&textureProj_00d30B00B), - Rule::Get(&textureProj_00d30B00B), - Rule::Get(&texture_00g00B00B), - Rule::Get(&texture_00o00B00B), - Rule::Get(&texture_00t00B00B), - Rule::Get(&texture_00m20B00B), - Rule::Get(&texture_00h20B00B), - Rule::Get(&texture_00p20B00B), - Rule::Get(&texture_00u20B00B), - Rule::Get(&texture_00i20B00B), - Rule::Get(&texture_00f30B00B), - Rule::Get(&textureProj_00g10B00B), - Rule::Get(&textureProj_00o10B00B), - Rule::Get(&textureProj_00t10B00B), - Rule::Get(&textureProj_00g30B00B), - Rule::Get(&textureProj_00o30B00B), - Rule::Get(&textureProj_00t30B00B), - Rule::Get(&textureProj_00m30B00B), - Rule::Get( - &texture_00M10B00B), - Rule::Get( - &textureProj_00M20B00B), - Rule::Get( - &textureProj_00M30B00B), - Rule::Get(&texture_00N10B00B), - Rule::Get(&textureProj_00N20B00B), - Rule::Get(&textureProj_00N30B00B), - Rule::Get(&textureQueryLod_00g00B), - Rule::Get(&textureQueryLod_00o00B), - Rule::Get(&textureQueryLod_00t00B), - Rule::Get(&textureQueryLod_00I10B), - Rule::Get(&textureQueryLod_00R10B), - Rule::Get(&textureQueryLod_00X10B), - Rule::Get(&textureQueryLod_00J20B), - Rule::Get(&textureQueryLod_00S20B), - Rule::Get(&textureQueryLod_00Y20B), - Rule::Get(&textureQueryLod_00K20B), - Rule::Get(&textureQueryLod_00T20B), - Rule::Get(&textureQueryLod_00Z20B), - Rule::Get(&textureQueryLod_00h00B), - Rule::Get(&textureQueryLod_00p00B), - Rule::Get(&textureQueryLod_00u00B), - Rule::Get(&textureQueryLod_00L10B), - Rule::Get(&textureQueryLod_00U10B), - Rule::Get(&textureQueryLod_00a10B), - Rule::Get(&textureQueryLod_00k20B), - Rule::Get(&textureQueryLod_00s20B), - Rule::Get(&textureQueryLod_00x20B), - Rule::Get(&textureQueryLod_00m00B), - Rule::Get(&textureQueryLod_00d10B), - Rule::Get(&textureQueryLod_00e20B), - Rule::Get(&textureQueryLod_00i00B), - Rule::Get(&textureQueryLod_00f10B), - Rule::Get(&textureQueryLod_00l20B), - Rule::Get(&textureOffset_00I10B10D), - Rule::Get(&textureOffset_00I10B10D), - Rule::Get(&textureOffset_00R10B10D), - Rule::Get(&textureOffset_00R10B10D), - Rule::Get(&textureOffset_00X10B10D), - Rule::Get(&textureOffset_00X10B10D), - Rule::Get(&textureOffset_00J20B20D), - Rule::Get(&textureOffset_00J20B20D), - Rule::Get(&textureOffset_00S20B20D), - Rule::Get(&textureOffset_00S20B20D), - Rule::Get(&textureOffset_00Y20B20D), - Rule::Get(&textureOffset_00Y20B20D), - Rule::Get(&textureOffset_00d20B10D), - Rule::Get(&textureOffset_00d20B10D), - Rule::Get(&textureOffset_00L20B10D), - Rule::Get(&textureOffset_00L20B10D), - Rule::Get(&textureOffset_00U20B10D), - Rule::Get(&textureOffset_00U20B10D), - Rule::Get(&textureOffset_00a20B10D), - Rule::Get(&textureOffset_00a20B10D), - Rule::Get(&textureOffset_00g00B00D), - Rule::Get(&textureOffset_00o00B00D), - Rule::Get(&textureOffset_00t00B00D), - Rule::Get(&textureOffset_00O10B10D), - Rule::Get(&textureOffset_00q10B10D), - Rule::Get(&textureOffset_00v10B10D), - Rule::Get(&textureOffset_00n20B10D), - Rule::Get(&textureOffset_00m20B00D), - Rule::Get(&textureOffset_00h10B00D), - Rule::Get(&textureOffset_00p10B00D), - Rule::Get(&textureOffset_00u10B00D), - Rule::Get(&textureOffset_00i20B00D), - Rule::Get(&textureOffset_00f30B10D), - Rule::Get(&textureProjOffset_00I20B10D), - Rule::Get(&textureProjOffset_00I20B10D), - Rule::Get(&textureProjOffset_00R20B10D), - Rule::Get(&textureProjOffset_00R20B10D), - Rule::Get(&textureProjOffset_00X20B10D), - Rule::Get(&textureProjOffset_00X20B10D), - Rule::Get(&textureProjOffset_00I30B10D), - Rule::Get(&textureProjOffset_00I30B10D), - Rule::Get(&textureProjOffset_00R30B10D), - Rule::Get(&textureProjOffset_00R30B10D), - Rule::Get(&textureProjOffset_00X30B10D), - Rule::Get(&textureProjOffset_00X30B10D), - Rule::Get(&textureProjOffset_00J30B20D), - Rule::Get(&textureProjOffset_00J30B20D), - Rule::Get(&textureProjOffset_00S30B20D), - Rule::Get(&textureProjOffset_00S30B20D), - Rule::Get(&textureProjOffset_00Y30B20D), - Rule::Get(&textureProjOffset_00Y30B20D), - Rule::Get(&textureProjOffset_00d30B10D), - Rule::Get(&textureProjOffset_00d30B10D), - Rule::Get(&textureProjOffset_00g10B00D), - Rule::Get(&textureProjOffset_00o10B00D), - Rule::Get(&textureProjOffset_00t10B00D), - Rule::Get(&textureProjOffset_00g30B00D), - Rule::Get(&textureProjOffset_00o30B00D), - Rule::Get(&textureProjOffset_00t30B00D), - Rule::Get(&textureProjOffset_00O20B10D), - Rule::Get(&textureProjOffset_00q20B10D), - Rule::Get(&textureProjOffset_00v20B10D), - Rule::Get(&textureProjOffset_00O30B10D), - Rule::Get(&textureProjOffset_00q30B10D), - Rule::Get(&textureProjOffset_00v30B10D), - Rule::Get(&textureProjOffset_00n30B10D), - Rule::Get(&textureProjOffset_00m30B00D), - Rule::Get(&textureLodOffset_00I10B00B10D), - Rule::Get(&textureLodOffset_00I10B00B10D), - Rule::Get(&textureLodOffset_00R10B00B10D), - Rule::Get(&textureLodOffset_00R10B00B10D), - Rule::Get(&textureLodOffset_00X10B00B10D), - Rule::Get(&textureLodOffset_00X10B00B10D), - Rule::Get(&textureLodOffset_00J20B00B20D), - Rule::Get(&textureLodOffset_00J20B00B20D), - Rule::Get(&textureLodOffset_00S20B00B20D), - Rule::Get(&textureLodOffset_00S20B00B20D), - Rule::Get(&textureLodOffset_00Y20B00B20D), - Rule::Get(&textureLodOffset_00Y20B00B20D), - Rule::Get(&textureLodOffset_00d20B00B10D), - Rule::Get(&textureLodOffset_00d20B00B10D), - Rule::Get(&textureLodOffset_00L20B00B10D), - Rule::Get(&textureLodOffset_00L20B00B10D), - Rule::Get(&textureLodOffset_00U20B00B10D), - Rule::Get(&textureLodOffset_00U20B00B10D), - Rule::Get(&textureLodOffset_00a20B00B10D), - Rule::Get(&textureLodOffset_00a20B00B10D), - Rule::Get(&textureLodOffset_00g00B00B00D), - Rule::Get(&textureLodOffset_00o00B00B00D), - Rule::Get(&textureLodOffset_00t00B00B00D), - Rule::Get(&textureLodOffset_00m20B00B00D), - Rule::Get(&textureLodOffset_00h10B00B00D), - Rule::Get(&textureLodOffset_00p10B00B00D), - Rule::Get(&textureLodOffset_00u10B00B00D), - Rule::Get(&textureLodOffset_00i20B00B00D), - Rule::Get(&textureProjLodOffset_00I20B00B10D), - Rule::Get(&textureProjLodOffset_00I20B00B10D), - Rule::Get(&textureProjLodOffset_00R20B00B10D), - Rule::Get(&textureProjLodOffset_00R20B00B10D), - Rule::Get(&textureProjLodOffset_00X20B00B10D), - Rule::Get(&textureProjLodOffset_00X20B00B10D), - Rule::Get(&textureProjLodOffset_00I30B00B10D), - Rule::Get(&textureProjLodOffset_00I30B00B10D), - Rule::Get(&textureProjLodOffset_00R30B00B10D), - Rule::Get(&textureProjLodOffset_00R30B00B10D), - Rule::Get(&textureProjLodOffset_00X30B00B10D), - Rule::Get(&textureProjLodOffset_00X30B00B10D), - Rule::Get(&textureProjLodOffset_00J30B00B20D), - Rule::Get(&textureProjLodOffset_00J30B00B20D), - Rule::Get(&textureProjLodOffset_00S30B00B20D), - Rule::Get(&textureProjLodOffset_00S30B00B20D), - Rule::Get(&textureProjLodOffset_00Y30B00B20D), - Rule::Get(&textureProjLodOffset_00Y30B00B20D), - Rule::Get(&textureProjLodOffset_00d30B00B10D), - Rule::Get(&textureProjLodOffset_00d30B00B10D), - Rule::Get(&textureProjLodOffset_00g10B00B00D), - Rule::Get(&textureProjLodOffset_00o10B00B00D), - Rule::Get(&textureProjLodOffset_00t10B00B00D), - Rule::Get(&textureProjLodOffset_00g30B00B00D), - Rule::Get(&textureProjLodOffset_00o30B00B00D), - Rule::Get(&textureProjLodOffset_00t30B00B00D), - Rule::Get(&textureProjLodOffset_00m30B00B00D), - Rule::Get(&texelFetchOffset_00I10D00D10D), - Rule::Get(&texelFetchOffset_00I10D00D10D), - Rule::Get(&texelFetchOffset_00R10D00D10D), - Rule::Get(&texelFetchOffset_00R10D00D10D), - Rule::Get(&texelFetchOffset_00X10D00D10D), - Rule::Get(&texelFetchOffset_00X10D00D10D), - Rule::Get(&texelFetchOffset_00J20D00D20D), - Rule::Get(&texelFetchOffset_00J20D00D20D), - Rule::Get(&texelFetchOffset_00S20D00D20D), - Rule::Get(&texelFetchOffset_00S20D00D20D), - Rule::Get(&texelFetchOffset_00Y20D00D20D), - Rule::Get(&texelFetchOffset_00Y20D00D20D), - Rule::Get(&texelFetchOffset_00L20D00D10D), - Rule::Get(&texelFetchOffset_00L20D00D10D), - Rule::Get(&texelFetchOffset_00U20D00D10D), - Rule::Get(&texelFetchOffset_00U20D00D10D), - Rule::Get(&texelFetchOffset_00a20D00D10D), - Rule::Get(&texelFetchOffset_00a20D00D10D), - Rule::Get(&texelFetchOffset_00g00D00D00D), - Rule::Get(&texelFetchOffset_00o00D00D00D), - Rule::Get(&texelFetchOffset_00t00D00D00D), - Rule::Get(&texelFetchOffset_00O10D10D), - Rule::Get(&texelFetchOffset_00q10D10D), - Rule::Get(&texelFetchOffset_00v10D10D), - Rule::Get(&texelFetchOffset_00h10D00D00D), - Rule::Get(&texelFetchOffset_00p10D00D00D), - Rule::Get(&texelFetchOffset_00u10D00D00D), - Rule::Get(&textureGradOffset_00I10B10B10B10D), - Rule::Get(&textureGradOffset_00I10B10B10B10D), - Rule::Get(&textureGradOffset_00R10B10B10B10D), - Rule::Get(&textureGradOffset_00R10B10B10B10D), - Rule::Get(&textureGradOffset_00X10B10B10B10D), - Rule::Get(&textureGradOffset_00X10B10B10B10D), - Rule::Get(&textureGradOffset_00J20B20B20B20D), - Rule::Get(&textureGradOffset_00J20B20B20B20D), - Rule::Get(&textureGradOffset_00S20B20B20B20D), - Rule::Get(&textureGradOffset_00S20B20B20B20D), - Rule::Get(&textureGradOffset_00Y20B20B20B20D), - Rule::Get(&textureGradOffset_00Y20B20B20B20D), - Rule::Get(&textureGradOffset_00d20B10B10B10D), - Rule::Get(&textureGradOffset_00d20B10B10B10D), - Rule::Get(&textureGradOffset_00L20B10B10B10D), - Rule::Get(&textureGradOffset_00L20B10B10B10D), - Rule::Get(&textureGradOffset_00U20B10B10B10D), - Rule::Get(&textureGradOffset_00U20B10B10B10D), - Rule::Get(&textureGradOffset_00a20B10B10B10D), - Rule::Get(&textureGradOffset_00a20B10B10B10D), - Rule::Get(&textureGradOffset_00f30B10B10B10D), - Rule::Get(&textureGradOffset_00f30B10B10B10D), - Rule::Get(&textureGradOffset_00g00B00B00B00D), - Rule::Get(&textureGradOffset_00o00B00B00B00D), - Rule::Get(&textureGradOffset_00t00B00B00B00D), - Rule::Get(&textureGradOffset_00O10B10B10B10D), - Rule::Get(&textureGradOffset_00q10B10B10B10D), - Rule::Get(&textureGradOffset_00v10B10B10B10D), - Rule::Get(&textureGradOffset_00n20B10B10B10D), - Rule::Get(&textureGradOffset_00m20B00B00B00D), - Rule::Get(&textureGradOffset_00h10B00B00B00D), - Rule::Get(&textureGradOffset_00p10B00B00B00D), - Rule::Get(&textureGradOffset_00u10B00B00B00D), - Rule::Get(&textureGradOffset_00i20B00B00B00D), - Rule::Get(&textureProjGradOffset_00I20B10B10B10D), - Rule::Get(&textureProjGradOffset_00I20B10B10B10D), - Rule::Get(&textureProjGradOffset_00R20B10B10B10D), - Rule::Get(&textureProjGradOffset_00R20B10B10B10D), - Rule::Get(&textureProjGradOffset_00X20B10B10B10D), - Rule::Get(&textureProjGradOffset_00X20B10B10B10D), - Rule::Get(&textureProjGradOffset_00I30B10B10B10D), - Rule::Get(&textureProjGradOffset_00I30B10B10B10D), - Rule::Get(&textureProjGradOffset_00R30B10B10B10D), - Rule::Get(&textureProjGradOffset_00R30B10B10B10D), - Rule::Get(&textureProjGradOffset_00X30B10B10B10D), - Rule::Get(&textureProjGradOffset_00X30B10B10B10D), - Rule::Get(&textureProjGradOffset_00J30B20B20B20D), - Rule::Get(&textureProjGradOffset_00J30B20B20B20D), - Rule::Get(&textureProjGradOffset_00S30B20B20B20D), - Rule::Get(&textureProjGradOffset_00S30B20B20B20D), - Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), - Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), - Rule::Get(&textureProjGradOffset_00d30B10B10B10D), - Rule::Get(&textureProjGradOffset_00d30B10B10B10D), - Rule::Get(&textureProjGradOffset_00g10B00B00B00D), - Rule::Get(&textureProjGradOffset_00o10B00B00B00D), - Rule::Get(&textureProjGradOffset_00t10B00B00B00D), - Rule::Get(&textureProjGradOffset_00g30B00B00B00D), - Rule::Get(&textureProjGradOffset_00o30B00B00B00D), - Rule::Get(&textureProjGradOffset_00t30B00B00B00D), - Rule::Get(&textureProjGradOffset_00O20B10B10B10D), - Rule::Get(&textureProjGradOffset_00q20B10B10B10D), - Rule::Get(&textureProjGradOffset_00v20B10B10B10D), - Rule::Get(&textureProjGradOffset_00O30B10B10B10D), - Rule::Get(&textureProjGradOffset_00q30B10B10B10D), - Rule::Get(&textureProjGradOffset_00v30B10B10B10D), - Rule::Get(&textureProjGradOffset_00n30B10B10B10D), - Rule::Get(&textureProjGradOffset_00m30B00B00B00D), - Rule::Get(&textureOffset_00I10B10D00B), - Rule::Get(&textureOffset_00I10B10D00B), - Rule::Get(&textureOffset_00R10B10D00B), - Rule::Get(&textureOffset_00R10B10D00B), - Rule::Get(&textureOffset_00X10B10D00B), - Rule::Get(&textureOffset_00X10B10D00B), - Rule::Get(&textureOffset_00J20B20D00B), - Rule::Get(&textureOffset_00J20B20D00B), - Rule::Get(&textureOffset_00S20B20D00B), - Rule::Get(&textureOffset_00S20B20D00B), - Rule::Get(&textureOffset_00Y20B20D00B), - Rule::Get(&textureOffset_00Y20B20D00B), - Rule::Get(&textureOffset_00d20B10D00B), - Rule::Get(&textureOffset_00d20B10D00B), - Rule::Get(&textureOffset_00L20B10D00B), - Rule::Get(&textureOffset_00L20B10D00B), - Rule::Get(&textureOffset_00U20B10D00B), - Rule::Get(&textureOffset_00U20B10D00B), - Rule::Get(&textureOffset_00a20B10D00B), - Rule::Get(&textureOffset_00a20B10D00B), - Rule::Get(&textureOffset_00g00B00D00B), - Rule::Get(&textureOffset_00o00B00D00B), - Rule::Get(&textureOffset_00t00B00D00B), - Rule::Get(&textureOffset_00m20B00D00B), - Rule::Get(&textureOffset_00h10B00D00B), - Rule::Get(&textureOffset_00p10B00D00B), - Rule::Get(&textureOffset_00u10B00D00B), - Rule::Get(&textureOffset_00i20B00D00B), - Rule::Get(&textureProjOffset_00I20B10D00B), - Rule::Get(&textureProjOffset_00I20B10D00B), - Rule::Get(&textureProjOffset_00R20B10D00B), - Rule::Get(&textureProjOffset_00R20B10D00B), - Rule::Get(&textureProjOffset_00X20B10D00B), - Rule::Get(&textureProjOffset_00X20B10D00B), - Rule::Get(&textureProjOffset_00I30B10D00B), - Rule::Get(&textureProjOffset_00I30B10D00B), - Rule::Get(&textureProjOffset_00R30B10D00B), - Rule::Get(&textureProjOffset_00R30B10D00B), - Rule::Get(&textureProjOffset_00X30B10D00B), - Rule::Get(&textureProjOffset_00X30B10D00B), - Rule::Get(&textureProjOffset_00J30B20D00B), - Rule::Get(&textureProjOffset_00J30B20D00B), - Rule::Get(&textureProjOffset_00S30B20D00B), - Rule::Get(&textureProjOffset_00S30B20D00B), - Rule::Get(&textureProjOffset_00Y30B20D00B), - Rule::Get(&textureProjOffset_00Y30B20D00B), - Rule::Get(&textureProjOffset_00d30B10D00B), - Rule::Get(&textureProjOffset_00d30B10D00B), - Rule::Get(&textureProjOffset_00g10B00D00B), - Rule::Get(&textureProjOffset_00o10B00D00B), - Rule::Get(&textureProjOffset_00t10B00D00B), - Rule::Get(&textureProjOffset_00g30B00D00B), - Rule::Get(&textureProjOffset_00o30B00D00B), - Rule::Get(&textureProjOffset_00t30B00D00B), - Rule::Get(&textureProjOffset_00m30B00D00B), - Rule::Get( - &texture_00M10B), - Rule::Get( - &textureProj_00M20B), - Rule::Get( - &textureProj_00M30B), - Rule::Get( - &textureSize_00M00D), - Rule::Get( - &texelFetch_00M10D00D), - Rule::Get(&texture_00N10B), - Rule::Get(&textureProj_00N20B), - Rule::Get(&textureProj_00N30B), - Rule::Get(&rgb_2_yuv_20B00H), - Rule::Get(&yuv_2_rgb_20B00H), - Rule::Get(&textureSize_00N00D), - Rule::Get(&texelFetch_00N10D00D), - Rule::Get(&textureGather_00I10B), - Rule::Get(&textureGather_00I10B), - Rule::Get(&textureGather_00R10B), - Rule::Get(&textureGather_00R10B), - Rule::Get(&textureGather_00X10B), - Rule::Get(&textureGather_00X10B), - Rule::Get(&textureGather_00I10B00D), - Rule::Get(&textureGather_00I10B00D), - Rule::Get(&textureGather_00R10B00D), - Rule::Get(&textureGather_00R10B00D), - Rule::Get(&textureGather_00X10B00D), - Rule::Get(&textureGather_00X10B00D), - Rule::Get(&textureGather_00L20B), - Rule::Get(&textureGather_00L20B), - Rule::Get(&textureGather_00U20B), - Rule::Get(&textureGather_00U20B), - Rule::Get(&textureGather_00a20B), - Rule::Get(&textureGather_00a20B), - Rule::Get(&textureGather_00L20B00D), - Rule::Get(&textureGather_00L20B00D), - Rule::Get(&textureGather_00U20B00D), - Rule::Get(&textureGather_00U20B00D), - Rule::Get(&textureGather_00a20B00D), - Rule::Get(&textureGather_00a20B00D), - Rule::Get(&textureGather_00K20B), - Rule::Get(&textureGather_00K20B), - Rule::Get(&textureGather_00T20B), - Rule::Get(&textureGather_00T20B), - Rule::Get(&textureGather_00Z20B), - Rule::Get(&textureGather_00Z20B), - Rule::Get(&textureGather_00K20B00D), - Rule::Get(&textureGather_00K20B00D), - Rule::Get(&textureGather_00T20B00D), - Rule::Get(&textureGather_00T20B00D), - Rule::Get(&textureGather_00Z20B00D), - Rule::Get(&textureGather_00Z20B00D), - Rule::Get(&textureGather_00O20B), - Rule::Get(&textureGather_00q20B), - Rule::Get(&textureGather_00v20B), - Rule::Get(&textureGather_00O20B00D), - Rule::Get(&textureGather_00q20B00D), - Rule::Get(&textureGather_00v20B00D), - Rule::Get(&textureGather_00d10B), - Rule::Get(&textureGather_00d10B00B), - Rule::Get(&textureGather_00d10B00B), - Rule::Get(&textureGather_00f20B), - Rule::Get(&textureGather_00f20B00B), - Rule::Get(&textureGather_00f20B00B), - Rule::Get(&textureGather_00e20B), - Rule::Get(&textureGather_00e20B00B), - Rule::Get(&textureGather_00e20B00B), - Rule::Get(&textureGather_00n10B00B), - Rule::Get(&textureGatherOffset_00I10B10D), - Rule::Get(&textureGatherOffset_00I10B10D), - Rule::Get(&textureGatherOffset_00R10B10D), - Rule::Get(&textureGatherOffset_00R10B10D), - Rule::Get(&textureGatherOffset_00X10B10D), - Rule::Get(&textureGatherOffset_00X10B10D), - Rule::Get(&textureGatherOffset_00L20B10D), - Rule::Get(&textureGatherOffset_00L20B10D), - Rule::Get(&textureGatherOffset_00U20B10D), - Rule::Get(&textureGatherOffset_00U20B10D), - Rule::Get(&textureGatherOffset_00a20B10D), - Rule::Get(&textureGatherOffset_00a20B10D), - Rule::Get(&textureGatherOffset_00d10B00B10D), - Rule::Get(&textureGatherOffset_00d10B00B10D), - Rule::Get(&textureGatherOffset_00f20B00B10D), - Rule::Get(&textureGatherOffset_00f20B00B10D), - Rule::Get(&textureGatherOffset_00O10B10D), - Rule::Get(&textureGatherOffset_00q10B10D), - Rule::Get(&textureGatherOffset_00v10B10D), - Rule::Get(&textureGatherOffset_00n10B00B10D), - Rule::Get(&textureGatherOffset_00I10B10D00D), - Rule::Get(&textureGatherOffset_00I10B10D00D), - Rule::Get(&textureGatherOffset_00R10B10D00D), - Rule::Get(&textureGatherOffset_00R10B10D00D), - Rule::Get(&textureGatherOffset_00X10B10D00D), - Rule::Get(&textureGatherOffset_00X10B10D00D), - Rule::Get(&textureGatherOffset_00L20B10D00D), - Rule::Get(&textureGatherOffset_00L20B10D00D), - Rule::Get(&textureGatherOffset_00U20B10D00D), - Rule::Get(&textureGatherOffset_00U20B10D00D), - Rule::Get(&textureGatherOffset_00a20B10D00D), - Rule::Get(&textureGatherOffset_00a20B10D00D), - Rule::Get(&textureGatherOffset_00O10B10D00D), - Rule::Get(&textureGatherOffset_00q10B10D00D), - Rule::Get(&textureGatherOffset_00v10B10D00D), - Rule::Get(&textureGatherOffsets_00I10B10Dx4), - Rule::Get(&textureGatherOffsets_00I10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00I10B10Dx4), - Rule::Get(&textureGatherOffsets_00R10B10Dx4), - Rule::Get(&textureGatherOffsets_00R10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00R10B10Dx4), - Rule::Get(&textureGatherOffsets_00X10B10Dx4), - Rule::Get(&textureGatherOffsets_00X10B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00X10B10Dx4), - Rule::Get(&textureGatherOffsets_00L20B10Dx4), - Rule::Get(&textureGatherOffsets_00L20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00L20B10Dx4), - Rule::Get(&textureGatherOffsets_00U20B10Dx4), - Rule::Get(&textureGatherOffsets_00U20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00U20B10Dx4), - Rule::Get(&textureGatherOffsets_00a20B10Dx4), - Rule::Get(&textureGatherOffsets_00a20B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00a20B10Dx4), - Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), - Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00d10B00B10Dx4), - Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), - Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), - Rule::Get( - &textureGatherOffsetsExt_00f20B00B10Dx4), - Rule::Get(&textureGatherOffsets_00O10B10Dx4), - Rule::Get(&textureGatherOffsets_00q10B10Dx4), - Rule::Get(&textureGatherOffsets_00v10B10Dx4), - Rule::Get(&textureGatherOffsets_00n10B00B10Dx4), - Rule::Get(&textureGatherOffsets_00I10B10Dx400D), - Rule::Get(&textureGatherOffsets_00I10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00I10B10Dx400D), - Rule::Get(&textureGatherOffsets_00R10B10Dx400D), - Rule::Get(&textureGatherOffsets_00R10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00R10B10Dx400D), - Rule::Get(&textureGatherOffsets_00X10B10Dx400D), - Rule::Get(&textureGatherOffsets_00X10B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00X10B10Dx400D), - Rule::Get(&textureGatherOffsets_00L20B10Dx400D), - Rule::Get(&textureGatherOffsets_00L20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00L20B10Dx400D), - Rule::Get(&textureGatherOffsets_00U20B10Dx400D), - Rule::Get(&textureGatherOffsets_00U20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00U20B10Dx400D), - Rule::Get(&textureGatherOffsets_00a20B10Dx400D), - Rule::Get(&textureGatherOffsets_00a20B10Dx400D), - Rule::Get( - &textureGatherOffsetsExt_00a20B10Dx400D), - Rule::Get(&textureGatherOffsets_00O10B10Dx400D), - Rule::Get(&textureGatherOffsets_00q10B10Dx400D), - Rule::Get(&textureGatherOffsets_00v10B10Dx400D), - Rule::Get(&dFdxFine_00B), - Rule::Get(&dFdxFine_10B), - Rule::Get(&dFdxFine_20B), - Rule::Get(&dFdxFine_30B), - Rule::Get(&dFdyFine_00B), - Rule::Get(&dFdyFine_10B), - Rule::Get(&dFdyFine_20B), - Rule::Get(&dFdyFine_30B), - Rule::Get(&dFdxCoarse_00B), - Rule::Get(&dFdxCoarse_10B), - Rule::Get(&dFdxCoarse_20B), - Rule::Get(&dFdxCoarse_30B), - Rule::Get(&dFdyCoarse_00B), - Rule::Get(&dFdyCoarse_10B), - Rule::Get(&dFdyCoarse_20B), - Rule::Get(&dFdyCoarse_30B), - Rule::Get(&fwidthFine_00B), - Rule::Get(&fwidthFine_10B), - Rule::Get(&fwidthFine_20B), - Rule::Get(&fwidthFine_30B), - Rule::Get(&fwidthCoarse_00B), - Rule::Get(&fwidthCoarse_10B), - Rule::Get(&fwidthCoarse_20B), - Rule::Get(&fwidthCoarse_30B), - Rule::Get(&interpolateAtCentroid_00B), - Rule::Get(&interpolateAtCentroid_00B), - Rule::Get( - &interpolateAtCentroidExt_00B), - Rule::Get(&interpolateAtCentroid_10B), - Rule::Get(&interpolateAtCentroid_10B), - Rule::Get( - &interpolateAtCentroidExt_10B), - Rule::Get(&interpolateAtCentroid_20B), - Rule::Get(&interpolateAtCentroid_20B), - Rule::Get( - &interpolateAtCentroidExt_20B), - Rule::Get(&interpolateAtCentroid_30B), - Rule::Get(&interpolateAtCentroid_30B), - Rule::Get( - &interpolateAtCentroidExt_30B), - Rule::Get(&interpolateAtSample_00B00D), - Rule::Get(&interpolateAtSample_00B00D), - Rule::Get( - &interpolateAtSampleExt_00B00D), - Rule::Get(&interpolateAtSample_10B00D), - Rule::Get(&interpolateAtSample_10B00D), - Rule::Get( - &interpolateAtSampleExt_10B00D), - Rule::Get(&interpolateAtSample_20B00D), - Rule::Get(&interpolateAtSample_20B00D), - Rule::Get( - &interpolateAtSampleExt_20B00D), - Rule::Get(&interpolateAtSample_30B00D), - Rule::Get(&interpolateAtSample_30B00D), - Rule::Get( - &interpolateAtSampleExt_30B00D), - Rule::Get(&interpolateAtOffset_00B10B), - Rule::Get(&interpolateAtOffset_00B10B), - Rule::Get( - &interpolateAtOffsetExt_00B10B), - Rule::Get(&interpolateAtOffset_10B10B), - Rule::Get(&interpolateAtOffset_10B10B), - Rule::Get( - &interpolateAtOffsetExt_10B10B), - Rule::Get(&interpolateAtOffset_20B10B), - Rule::Get(&interpolateAtOffset_20B10B), - Rule::Get( - &interpolateAtOffsetExt_20B10B), + Rule::Get(&imageAtomicExchange_01g00D00E), + Rule::Get( + &imageAtomicExchangeExt_01g00D00E), Rule::Get(&interpolateAtOffset_30B10B), Rule::Get(&interpolateAtOffset_30B10B), Rule::Get( &interpolateAtOffsetExt_30B10B), - Rule::Get(&atomicCounter_00G), - Rule::Get(&atomicCounter_00G), - Rule::Get(&atomicCounterIncrement_00G), - Rule::Get(&atomicCounterIncrement_00G), - Rule::Get(&atomicCounterDecrement_00G), - Rule::Get(&atomicCounterDecrement_00G), - Rule::Get(&atomicCounterAdd_00G00E), - Rule::Get(&atomicCounterSubtract_00G00E), - Rule::Get(&atomicCounterMin_00G00E), - Rule::Get(&atomicCounterMax_00G00E), - Rule::Get(&atomicCounterAnd_00G00E), - Rule::Get(&atomicCounterOr_00G00E), - Rule::Get(&atomicCounterXor_00G00E), - Rule::Get(&atomicCounterExchange_00G00E), - Rule::Get(&atomicCounterCompSwap_00G00E00E), - Rule::Get(&atomicAdd_00E00E), - Rule::Get(&atomicAdd_00E00E), + Rule::Get(&textureProjOffset_00g10B00D), + Rule::Get(&imageAtomicOr_00z10D00D), + Rule::Get( + &imageAtomicOrExt_00z10D00D), + Rule::Get(&texture2DProj_00I20B), + Rule::Get(&texture2DProj_00I20B), + Rule::Get(&textureProjGradOffset_00v30B10B10B10D), + Rule::Get(&texelFetch_00o00D00D), + Rule::Get(&imageLoad_01g00D), + Rule::Get(&imageLoad_01g00D), + Rule::Get(&imageAtomicAdd_01S10D00D00E), + Rule::Get( + &imageAtomicAddExt_01S10D00D00E), + Rule::Get(&imageLoad_01I20D), + Rule::Get(&imageLoad_01I20D), + Rule::Get(&tanh_30B), + Rule::Get(&tanh_30B), + Rule::Get(&imageAtomicCompSwap_01E20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01E20D00D00D), + Rule::Get(&textureQueryLod_00m00B), + Rule::Get(¬Func_10F), + Rule::Get(¬Func_10F), + Rule::Get(&findMSB_20E), + Rule::Get(&findMSB_20E), + Rule::Get(&lessThanEqual_30B30B), + Rule::Get(&lessThanEqual_30B30B), + Rule::Get(&imageAtomicAdd_00z10D00E), + Rule::Get( + &imageAtomicAddExt_00z10D00E), + Rule::Get(&textureLod_00t00B00B), + Rule::Get(&textureProjGradOffset_00O30B10B10B10D), + Rule::Get(&outerProduct_20B30B), + Rule::Get(&outerProduct_20B30B), + Rule::Get(&imageAtomicOr_00z10D00E), + Rule::Get( + &imageAtomicOrExt_00z10D00E), + Rule::Get(&imageSamples_01W), + Rule::Get(&imageSamples_01V), + Rule::Get(&imageSamples_01U), + Rule::Get(&imageSamples_01T), + Rule::Get(&imageSamples_01S), + Rule::Get(&mix_20B20B00B), + Rule::Get(&mix_20B20B00B), + Rule::Get(&textureLodOffset_00o00B00B00D), + Rule::Get(&imageAtomicMin_01S10D00D00E), + Rule::Get( + &imageAtomicMinExt_01S10D00D00E), + Rule::Get(&uintBitsToFloat_30E), + Rule::Get(&uintBitsToFloat_30E), + Rule::Get(&imageAtomicExchange_01R10D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01R10D00D00B), + Rule::Get(&textureSize_00K00D), + Rule::Get(&textureSize_00K00D), + Rule::Get(&textureSize_00h00D), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), + Rule::Get(&texelFetchOffset_00q10D10D), + Rule::Get(&greaterThanEqual_10E10E), + Rule::Get(&greaterThanEqual_10E10E), + Rule::Get(&texture_00d20B), + Rule::Get(&texture_00d20B), + Rule::Get(&atan_10B10B), + Rule::Get(&atan_10B10B), + Rule::Get(&clamp_30B30B30B), + Rule::Get(&clamp_30B30B30B), + Rule::Get(&imageAtomicCompSwap_01a20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01a20D00E00E), + Rule::Get(&imageAtomicCompSwap_01R10D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01R10D00D00D00D), + Rule::Get(&textureLodOffset_00a20B00B10D), + Rule::Get(&textureLodOffset_00a20B00B10D), + Rule::Get(&greaterThanEqual_20B20B), + Rule::Get(&greaterThanEqual_20B20B), + Rule::Get(&imageLoad_01F20D), + Rule::Get(&imageLoad_01F20D), + Rule::Get(&ceil_10C), + Rule::Get(&imageAtomicCompSwap_01b20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01b20D00D00D), + Rule::Get(&imageAtomicAnd_01A10D00D), + Rule::Get( + &imageAtomicAndExt_01A10D00D), + Rule::Get(&imageAtomicAdd_01D20D00E), + Rule::Get( + &imageAtomicAddExt_01D20D00E), Rule::Get(&atomicAdd_00D00D), Rule::Get(&atomicAdd_00D00D), - Rule::Get(&atomicMin_00E00E), - Rule::Get(&atomicMin_00E00E), - Rule::Get(&atomicMin_00D00D), - Rule::Get(&atomicMin_00D00D), - Rule::Get(&atomicMax_00E00E), - Rule::Get(&atomicMax_00E00E), - Rule::Get(&atomicMax_00D00D), - Rule::Get(&atomicMax_00D00D), - Rule::Get(&atomicAnd_00E00E), - Rule::Get(&atomicAnd_00E00E), - Rule::Get(&atomicAnd_00D00D), - Rule::Get(&atomicAnd_00D00D), - Rule::Get(&atomicOr_00E00E), - Rule::Get(&atomicOr_00E00E), - Rule::Get(&atomicOr_00D00D), - Rule::Get(&atomicOr_00D00D), - Rule::Get(&atomicXor_00E00E), - Rule::Get(&atomicXor_00E00E), + Rule::Get(&textureSize_00p00D), + Rule::Get(&floatBitsToUint_20B), + Rule::Get(&floatBitsToUint_20B), + Rule::Get(&textureProjOffset_00t30B00D00B), + Rule::Get(&mix_20D20D20F), + Rule::Get(&mix_20D20D20F), + Rule::Get(°rees_20B), + Rule::Get(°rees_20B), + Rule::Get(&imageAtomicMin_01Y10D00D), + Rule::Get( + &imageAtomicMinExt_01Y10D00D), + Rule::Get(&imageAtomicXor_01R10D00D00D), + Rule::Get( + &imageAtomicXorExt_01R10D00D00D), + Rule::Get(&imageAtomicCompSwap_01D20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01D20D00D00D), + Rule::Get(&min_00C00C), + Rule::Get(&imageAtomicMax_01S10D00D00E), + Rule::Get( + &imageAtomicMaxExt_01S10D00D00E), + Rule::Get(&inversesqrt_00C), + Rule::Get(&inversesqrt_00B), + Rule::Get(&inversesqrt_00B), + Rule::Get(&texelFetchOffset_00J20D00D20D), + Rule::Get(&texelFetchOffset_00J20D00D20D), + Rule::Get(&textureProjGrad_00S30B20B20B), + Rule::Get(&textureProjGrad_00S30B20B20B), + Rule::Get(&equal_10D10D), + Rule::Get(&equal_10D10D), + Rule::Get(&max_30D00D), + Rule::Get(&max_30D00D), + Rule::Get(&groupMemoryBarrier_), + Rule::Get(&groupMemoryBarrier_), + Rule::Get(&imageAtomicExchange_01b20D00B), + Rule::Get( + &imageAtomicExchangeExt_01b20D00B), + Rule::Get(&imageAtomicExchange_01b20D00E), + Rule::Get( + &imageAtomicExchangeExt_01b20D00E), + Rule::Get(&imageAtomicExchange_01b20D00D), + Rule::Get( + &imageAtomicExchangeExt_01b20D00D), + Rule::Get(&step_20C20C), + Rule::Get(&texelFetch_00I10D00D), + Rule::Get(&texelFetch_00I10D00D), + Rule::Get(&mod_00C00C), + Rule::Get(&transpose_E0B), + Rule::Get(&transpose_E0B), + Rule::Get(&imageAtomicMin_01R10D00D00E), + Rule::Get( + &imageAtomicMinExt_01R10D00D00E), + Rule::Get(&imageAtomicMin_01R10D00D00D), + Rule::Get( + &imageAtomicMinExt_01R10D00D00D), + Rule::Get(&imageAtomicExchange_01i00D00E), + Rule::Get( + &imageAtomicExchangeExt_01i00D00E), + Rule::Get(&textureGather_00O20B), + Rule::Get(&textureProjOffset_00Y30B20D00B), + Rule::Get(&textureProjOffset_00Y30B20D00B), + Rule::Get(&imageStore_01C20D30B), + Rule::Get(&imageStore_01C20D30B), + Rule::Get(&modf_10B10B), + Rule::Get(&modf_10B10B), + Rule::Get(&determinant_50B), + Rule::Get(&imageAtomicCompSwap_01J20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01J20D00E00E), + Rule::Get(&textureProj_00g10B00B), + Rule::Get(&lessThan_20B20B), + Rule::Get(&lessThan_20B20B), + Rule::Get(&imageAtomicCompSwap_01W20D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01W20D00D00E00E), + Rule::Get(&imageStore_01K20D30E), + Rule::Get(&imageStore_01K20D30E), + Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), + Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), + Rule::Get(&sign_20C), + Rule::Get(&cosh_20B), + Rule::Get(&cosh_20B), + Rule::Get(&sign_20D), + Rule::Get(&sign_20D), + Rule::Get(&atanh_00B), + Rule::Get(&atanh_00B), + Rule::Get(&imageAtomicAnd_01V20D00D00E), + Rule::Get( + &imageAtomicAndExt_01V20D00D00E), + Rule::Get(&imageAtomicAnd_01V20D00D00D), + Rule::Get( + &imageAtomicAndExt_01V20D00D00D), + Rule::Get(&textureProj_00t10B), + Rule::Get(&texture_00p20B00B), + Rule::Get(&fma_10C10C10C), + Rule::Get(&imageAtomicXor_01Y10D00D), + Rule::Get( + &imageAtomicXorExt_01Y10D00D), + Rule::Get(&imageAtomicXor_01Y10D00E), + Rule::Get( + &imageAtomicXorExt_01Y10D00E), + Rule::Get(&imageAtomicAnd_01C20D00E), + Rule::Get( + &imageAtomicAndExt_01C20D00E), + Rule::Get(&textureOffset_00d20B10D00B), + Rule::Get(&textureOffset_00d20B10D00B), + Rule::Get(&textureOffset_00m20B00D), + Rule::Get(&imageAtomicAnd_01C20D00D), + Rule::Get( + &imageAtomicAndExt_01C20D00D), + Rule::Get(&lessThan_10E10E), + Rule::Get(&lessThan_10E10E), + Rule::Get(&imageAtomicCompSwap_01A10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01A10D00D00D), + Rule::Get(&textureGrad_00X00B00B00B), + Rule::Get(&textureProjLodOffset_00t30B00B00D), + Rule::Get(&fma_30C30C30C), + Rule::Get(&textureGrad_00v10B10B10B), + Rule::Get(&textureProj_00N30B00B), + Rule::Get(&step_00C00C), + Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), + Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), + Rule::Get(&imageAtomicCompSwap_01T10D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01T10D00D00D00D), + Rule::Get(&texture_00I10B00B), + Rule::Get(&texture_00I10B00B), + Rule::Get(&texelFetch_00j00D), + Rule::Get(&texelFetch_00j00D), + Rule::Get(&lessThan_20D20D), + Rule::Get(&lessThan_20D20D), + Rule::Get(&clamp_20C20C20C), + Rule::Get(&imageAtomicXor_00z10D00E), + Rule::Get( + &imageAtomicXorExt_00z10D00E), + Rule::Get(&all_10F), + Rule::Get(&all_10F), + Rule::Get(&dFdyCoarse_00B), + Rule::Get(&isinf_30B), + Rule::Get(&isinf_30B), + Rule::Get(&textureGatherOffset_00a20B10D00D), + Rule::Get(&textureGatherOffset_00a20B10D00D), + Rule::Get(&textureGatherOffset_00I10B10D), + Rule::Get(&textureGatherOffset_00I10B10D), + Rule::Get(&textureProjOffset_00q30B10D), + Rule::Get(&textureOffset_00L20B10D), + Rule::Get(&textureOffset_00L20B10D), + Rule::Get(&lessThanEqual_30E30E), + Rule::Get(&lessThanEqual_30E30E), + Rule::Get(&min_10E00E), + Rule::Get(&min_10E00E), + Rule::Get(&imageAtomicXor_01a20D00E), + Rule::Get( + &imageAtomicXorExt_01a20D00E), + Rule::Get(&imageAtomicXor_01a20D00D), + Rule::Get( + &imageAtomicXorExt_01a20D00D), + Rule::Get(&textureProjOffset_00S30B20D), + Rule::Get(&textureProjOffset_00S30B20D), + Rule::Get(&round_00C), + Rule::Get(&round_00B), + Rule::Get(&round_00B), + Rule::Get( + &TableBase::m_gl_LastFragData), + Rule::Get( + &TableBase::m_gl_LastFragDataNV), + Rule::Get(&greaterThan_30D30D), + Rule::Get(&greaterThan_30D30D), + Rule::Get(&texture_00U20B), + Rule::Get(&texture_00U20B), + Rule::Get(&imageAtomicCompSwap_01P10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01P10D00E00E), + Rule::Get(&smoothstep_00C00C20C), + Rule::Get( + &texture2DRect_00O10B), + Rule::Get(&imageLoad_01N00D), + Rule::Get(&noise2_20B), + Rule::Get(&step_20B20B), + Rule::Get(&step_20B20B), + Rule::Get(&imageAtomicAnd_01b20D00E), + Rule::Get( + &imageAtomicAndExt_01b20D00E), + Rule::Get(&findMSB_10E), + Rule::Get(&findMSB_10E), + Rule::Get(&findMSB_10D), + Rule::Get(&findMSB_10D), + Rule::Get(&interpolateAtOffset_00B10B), + Rule::Get(&interpolateAtOffset_00B10B), + Rule::Get( + &interpolateAtOffsetExt_00B10B), + Rule::Get(&texture_00t00B), + Rule::Get(&textureLodOffset_00S20B00B20D), + Rule::Get(&textureLodOffset_00S20B00B20D), + Rule::Get(&textureQueryLod_00p00B), + Rule::Get(&imageStore_00z10D30B), + Rule::Get(&imageStore_00z10D30B), + Rule::Get(&textureGatherOffsets_00X10B10Dx400D), + Rule::Get(&textureGatherOffsets_00X10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00X10B10Dx400D), + Rule::Get(&outerProduct_10B20B), + Rule::Get(&outerProduct_10B20B), + Rule::Get(&imageAtomicMax_01Z10D00E), + Rule::Get( + &imageAtomicMaxExt_01Z10D00E), + Rule::Get(&fwidthFine_10B), + Rule::Get(&cos_30B), + Rule::Get(&cos_30B), + Rule::Get(&unpackHalf2x16_00E), + Rule::Get(&unpackHalf2x16_00E), + Rule::Get(&outerProduct_10B10B), + Rule::Get(&outerProduct_10B10B), + Rule::Get(&imageAtomicOr_01M00D00D), + Rule::Get( + &imageAtomicOrExt_01M00D00D), + Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), + Rule::Get(&imageAtomicMax_01Y10D00E), + Rule::Get( + &imageAtomicMaxExt_01Y10D00E), + Rule::Get(&imageAtomicMax_01Y10D00D), + Rule::Get( + &imageAtomicMaxExt_01Y10D00D), + Rule::Get(&sin_30B), + Rule::Get(&sin_30B), + Rule::Get(&imageAtomicAnd_01O10D00D), + Rule::Get( + &imageAtomicAndExt_01O10D00D), + Rule::Get(&textureGather_00L20B00D), + Rule::Get(&textureGather_00L20B00D), + Rule::Get(&imageStore_01i00D30E), + Rule::Get(&imageStore_01i00D30E), + Rule::Get(&imageStore_01A10D30D), + Rule::Get(&imageStore_01A10D30D), + Rule::Get( + &TableBase::m_gl_MaxGeometryOutputVertices), + Rule::Get(&imageAtomicXor_01H20D00D), + Rule::Get( + &imageAtomicXorExt_01H20D00D), + Rule::Get(&imageAtomicXor_01H20D00E), + Rule::Get( + &imageAtomicXorExt_01H20D00E), + Rule::Get(&shadow1D_00m20B00B), + Rule::Get(&max_10E10E), + Rule::Get(&max_10E10E), + Rule::Get(&max_30B30B), + Rule::Get(&max_30B30B), + Rule::Get(&clamp_10E10E10E), + Rule::Get(&clamp_10E10E10E), + Rule::Get(&texture_00N10B), + Rule::Get(&textureProjGrad_00t30B00B00B), + Rule::Get(&imageAtomicOr_01E20D00D), + Rule::Get( + &imageAtomicOrExt_01E20D00D), + Rule::Get(&imageAtomicOr_01E20D00E), + Rule::Get( + &imageAtomicOrExt_01E20D00E), + Rule::Get(&texelFetchOffset_00a20D00D10D), + Rule::Get(&texelFetchOffset_00a20D00D10D), + Rule::Get(&imageLoad_01V20D00D), + Rule::Get(¬Func_20F), + Rule::Get(¬Func_20F), + Rule::Get(&imageAtomicExchange_01F20D00D), + Rule::Get( + &imageAtomicExchangeExt_01F20D00D), + Rule::Get(&imageAtomicExchange_01F20D00B), + Rule::Get( + &imageAtomicExchangeExt_01F20D00B), + Rule::Get(&imageStore_01L00D30B), + Rule::Get(&outerProduct_20B20B), + Rule::Get(&outerProduct_20B20B), + Rule::Get(&imageAtomicXor_01D20D00D), + Rule::Get( + &imageAtomicXorExt_01D20D00D), + Rule::Get(&textureProjLodOffset_00R20B00B10D), + Rule::Get(&textureProjLodOffset_00R20B00B10D), + Rule::Get(&textureOffset_00p10B00D), + Rule::Get(&texture_00h20B), + Rule::Get(&textureProjGrad_00J30B20B20B), + Rule::Get(&textureProjGrad_00J30B20B20B), + Rule::Get(&imageAtomicOr_01R10D00D00E), + Rule::Get( + &imageAtomicOrExt_01R10D00D00E), + Rule::Get(&imageAtomicOr_01R10D00D00D), + Rule::Get( + &imageAtomicOrExt_01R10D00D00D), + Rule::Get(&textureProjOffset_00g10B00D00B), + Rule::Get( + &BuiltInVariable::kgl_InvocationID), + Rule::Get(&imageAtomicAnd_01R10D00D00D), + Rule::Get( + &imageAtomicAndExt_01R10D00D00D), + Rule::Get(&imageAtomicAdd_01E20D00E), + Rule::Get( + &imageAtomicAddExt_01E20D00E), + Rule::Get(&radians_10B), + Rule::Get(&radians_10B), + Rule::Get(&textureGatherOffset_00n10B00B10D), + Rule::Get(&noise2_10B), + Rule::Get(&textureQueryLod_00a10B), + Rule::Get(&textureGather_00e20B00B), + Rule::Get(&textureGather_00e20B00B), + Rule::Get(&distance_10B10B), + Rule::Get(&distance_10B10B), + Rule::Get(&textureGrad_00Z20B20B20B), + Rule::Get(&textureGrad_00Z20B20B20B), + Rule::Get(&sign_00B), + Rule::Get(&sign_00B), + Rule::Get(&bitfieldReverse_00D), + Rule::Get(&bitfieldReverse_00D), + Rule::Get(&bitfieldReverse_00E), + Rule::Get(&bitfieldReverse_00E), + Rule::Get(&bitfieldExtract_30E00D00D), + Rule::Get(&bitfieldExtract_30E00D00D), + Rule::Get(&textureLod_00I10B00B), + Rule::Get(&textureLod_00I10B00B), + Rule::Get(&greaterThanEqual_10D10D), + Rule::Get(&greaterThanEqual_10D10D), + Rule::Get(&imageAtomicCompSwap_01I20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01I20D00E00E), + Rule::Get(°rees_30B), + Rule::Get(°rees_30B), + Rule::Get(&inversesqrt_30B), + Rule::Get(&inversesqrt_30B), + Rule::Get(&inversesqrt_30C), + Rule::Get(&imageAtomicMin_01I20D00D), + Rule::Get( + &imageAtomicMinExt_01I20D00D), + Rule::Get(&textureGather_00v20B00D), + Rule::Get(&intBitsToFloat_20D), + Rule::Get(&intBitsToFloat_20D), + Rule::Get(&exp_20B), + Rule::Get(&exp_20B), + Rule::Get(&imageAtomicMax_01A10D00E), + Rule::Get( + &imageAtomicMaxExt_01A10D00E), + Rule::Get(&imageAtomicMax_01A10D00D), + Rule::Get( + &imageAtomicMaxExt_01A10D00D), + Rule::Get(&acosh_00B), + Rule::Get(&acosh_00B), + Rule::Get(&log_10B), + Rule::Get(&log_10B), + Rule::Get(&textureProjLodOffset_00S30B00B20D), + Rule::Get(&textureProjLodOffset_00S30B00B20D), + Rule::Get(&textureGather_00L20B), + Rule::Get(&textureGather_00L20B), + Rule::Get(&textureProj_00n30B), + Rule::Get(&textureQueryLod_00i00B), + Rule::Get(&texture_00p20B), + Rule::Get(&outerProduct_30B20B), + Rule::Get(&outerProduct_30B20B), + Rule::Get(&texture_00S20B), + Rule::Get(&texture_00S20B), Rule::Get(&atomicXor_00D00D), Rule::Get(&atomicXor_00D00D), + Rule::Get(&texelFetch_00Y20D00D), + Rule::Get(&texelFetch_00Y20D00D), + Rule::Get(&imageAtomicOr_01P10D00D), + Rule::Get( + &imageAtomicOrExt_01P10D00D), + Rule::Get(&imageAtomicOr_01P10D00E), + Rule::Get( + &imageAtomicOrExt_01P10D00E), + Rule::Get(&bitfieldExtract_10D00D00D), + Rule::Get(&bitfieldExtract_10D00D00D), + Rule::Get(&sign_30B), + Rule::Get(&sign_30B), + Rule::Get(&sign_30C), + Rule::Get(&sign_30D), + Rule::Get(&sign_30D), + Rule::Get(&texture_00Y20B00B), + Rule::Get(&texture_00Y20B00B), + Rule::Get(&dFdy_20B), + Rule::Get(&dFdy_20B), + Rule::Get(&dFdyExt_20B), + Rule::Get(&textureProj_00Y30B), + Rule::Get(&textureProj_00Y30B), + Rule::Get(&textureOffset_00X10B10D00B), + Rule::Get(&textureOffset_00X10B10D00B), + Rule::Get(&memoryBarrierBuffer_), + Rule::Get(&memoryBarrierBuffer_), + Rule::Get(&isinf_00B), + Rule::Get(&isinf_00B), + Rule::Get(&isinf_00C), + Rule::Get(&clamp_20D00D00D), + Rule::Get(&clamp_20D00D00D), + Rule::Get(&texture2DProj_00I20B00B), + Rule::Get(&texture2DProj_00I20B00B), + Rule::Get(&mod_30B00B), + Rule::Get(&mod_30B00B), + Rule::Get(&imageAtomicAnd_01A10D00E), + Rule::Get( + &imageAtomicAndExt_01A10D00E), + Rule::Get(&textureGather_00f20B00B), + Rule::Get(&textureGather_00f20B00B), + Rule::Get(&textureProj_00m30B), + Rule::Get(&greaterThan_20E20E), + Rule::Get(&greaterThan_20E20E), + Rule::Get(&textureProjLod_00I30B00B), + Rule::Get(&textureProjLod_00I30B00B), + Rule::Get(&refract_00B00B00B), + Rule::Get(&refract_00B00B00B), + Rule::Get( + &TableBase::m_gl_MaxGeometryImageUniforms), + Rule::Get(&imageAtomicMin_01X10D00D), + Rule::Get( + &imageAtomicMinExt_01X10D00D), + Rule::Get(&imageAtomicMin_01X10D00E), + Rule::Get( + &imageAtomicMinExt_01X10D00E), + Rule::Get(&noise4_20B), + Rule::Get(&textureSize_00e00D), + Rule::Get(&textureSize_00e00D), + Rule::Get(&imageStore_01N00D30E), + Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), + Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), + Rule::Get(&texelFetch_00a20D00D), + Rule::Get(&texelFetch_00a20D00D), + Rule::Get(&step_00C10C), + Rule::Get(&frexp_30B30D), + Rule::Get(&frexp_30B30D), + Rule::Get(&imageAtomicMin_01Y10D00E), + Rule::Get( + &imageAtomicMinExt_01Y10D00E), + Rule::Get(&texture_00t00B00B), + Rule::Get(&min_30C00C), + Rule::Get(&imageAtomicCompSwap_01X10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01X10D00E00E), + Rule::Get(&texture_00I10B), + Rule::Get(&texture_00I10B), + Rule::Get(&BuiltInVariable::kgl_InstanceID), + Rule::Get(&BuiltInVariable::kgl_InstanceID), + Rule::Get(&normalize_20B), + Rule::Get(&normalize_20B), + Rule::Get(&normalize_20C), + Rule::Get(&imageAtomicCompSwap_01H20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01H20D00D00D), + Rule::Get(&inverse_F0B), + Rule::Get(&inverse_F0B), + Rule::Get(&frexp_20C20D), + Rule::Get(&atan_00B), + Rule::Get(&atan_00B), + Rule::Get(&textureGatherOffset_00R10B10D00D), + Rule::Get(&textureGatherOffset_00R10B10D00D), + Rule::Get(&imageAtomicMin_01h00D00E), + Rule::Get( + &imageAtomicMinExt_01h00D00E), + Rule::Get(&imageAtomicMin_01h00D00D), + Rule::Get( + &imageAtomicMinExt_01h00D00D), + Rule::Get(&greaterThan_30E30E), + Rule::Get(&greaterThan_30E30E), + Rule::Get(&imageAtomicAdd_01N00D00D), + Rule::Get( + &imageAtomicAddExt_01N00D00D), + Rule::Get(&imageAtomicAdd_01N00D00E), + Rule::Get( + &imageAtomicAddExt_01N00D00E), + Rule::Get(&texelFetchOffset_00p10D00D00D), + Rule::Get(&imageAtomicAnd_01J20D00D), + Rule::Get( + &imageAtomicAndExt_01J20D00D), + Rule::Get(&imageAtomicAnd_01J20D00E), + Rule::Get( + &imageAtomicAndExt_01J20D00E), + Rule::Get(&TableBase::m_gl_DepthRange), + Rule::Get(&TableBase::m_gl_DepthRange), + Rule::Get(&imageAtomicMax_01S10D00D00D), + Rule::Get( + &imageAtomicMaxExt_01S10D00D00D), + Rule::Get(&textureProj_00o30B), + Rule::Get(&imageAtomicAdd_01I20D00E), + Rule::Get( + &imageAtomicAddExt_01I20D00E), + Rule::Get(&bitfieldExtract_20D00D00D), + Rule::Get(&bitfieldExtract_20D00D00D), + Rule::Get(&texture_00L20B00B), + Rule::Get(&texture_00L20B00B), + Rule::Get(&imageAtomicOr_01L00D00E), + Rule::Get( + &imageAtomicOrExt_01L00D00E), + Rule::Get(&imageAtomicOr_01L00D00D), + Rule::Get( + &imageAtomicOrExt_01L00D00D), + Rule::Get(&mix_30D30D30F), + Rule::Get(&mix_30D30D30F), + Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), + Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), + Rule::Get(&imageLoad_01h00D), + Rule::Get(&imageLoad_01h00D), + Rule::Get(&imageAtomicCompSwap_01E20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01E20D00E00E), + Rule::Get(&textureProjOffset_00O30B10D), + Rule::Get(&floor_10B), + Rule::Get(&floor_10B), + Rule::Get(&floor_10C), + Rule::Get(&imageAtomicMax_01R10D00D00E), + Rule::Get( + &imageAtomicMaxExt_01R10D00D00E), + Rule::Get(&imageAtomicMax_01R10D00D00D), + Rule::Get( + &imageAtomicMaxExt_01R10D00D00D), + Rule::Get(&textureProjLodOffset_00o10B00B00D), + Rule::Get(&textureGather_00x30B00D), + Rule::Get(&textureGather_00x30B00D), + Rule::Get(&interpolateAtSample_10B00D), + Rule::Get(&interpolateAtSample_10B00D), + Rule::Get( + &interpolateAtSampleExt_10B00D), + Rule::Get(&imageAtomicMin_01F20D00E), + Rule::Get( + &imageAtomicMinExt_01F20D00E), + Rule::Get(&imageAtomicMin_01F20D00D), + Rule::Get( + &imageAtomicMinExt_01F20D00D), + Rule::Get(&outerProduct_10B30B), + Rule::Get(&outerProduct_10B30B), + Rule::Get(&texture_00k30B), + Rule::Get(&imageAtomicCompSwap_01O10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01O10D00E00E), + Rule::Get(&cos_00B), + Rule::Get(&cos_00B), + Rule::Get(&imageAtomicXor_01F20D00E), + Rule::Get( + &imageAtomicXorExt_01F20D00E), + Rule::Get(&imageAtomicXor_01B10D00E), + Rule::Get( + &imageAtomicXorExt_01B10D00E), + Rule::Get(&frexp_00C00D), + Rule::Get(&atomicCounterCompSwap_00G00E00E), + Rule::Get(&textureOffset_00a20B10D00B), + Rule::Get(&textureOffset_00a20B10D00B), + Rule::Get(&imageAtomicCompSwap_01b20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01b20D00E00E), + Rule::Get(&textureGather_00X10B), + Rule::Get(&textureGather_00X10B), + Rule::Get(&imageLoad_01T10D00D), + Rule::Get(&textureOffset_00R10B10D00B), + Rule::Get(&textureOffset_00R10B10D00B), + Rule::Get(&textureGatherOffset_00d10B00B10D), + Rule::Get(&textureGatherOffset_00d10B00B10D), + Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), + Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), + Rule::Get(&textureSize_00i00D), + Rule::Get(&equal_20E20E), + Rule::Get(&equal_20E20E), + Rule::Get(&uaddCarry_00E00E00E), + Rule::Get(&uaddCarry_00E00E00E), + Rule::Get(&textureQueryLod_00T20B), + Rule::Get(&textureCube_00K20B), + Rule::Get(&textureCube_00K20B), + Rule::Get(&imageAtomicMax_01U20D00D00E), + Rule::Get( + &imageAtomicMaxExt_01U20D00D00E), + Rule::Get(&imageAtomicMax_01U20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01U20D00D00D), + Rule::Get(&imageAtomicAnd_01K20D00D), + Rule::Get( + &imageAtomicAndExt_01K20D00D), + Rule::Get(&matrixCompMult_90B90B), + Rule::Get(&textureGatherOffsets_00I10B10Dx4), + Rule::Get(&textureGatherOffsets_00I10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00I10B10Dx4), + Rule::Get(&textureGradOffset_00p10B00B00B00D), + Rule::Get(&textureProjLodOffset_00g30B00B00D), + Rule::Get(&clamp_30E00E00E), + Rule::Get(&clamp_30E00E00E), + Rule::Get(&asin_00B), + Rule::Get(&asin_00B), + Rule::Get(&textureProjOffset_00J30B20D00B), + Rule::Get(&textureProjOffset_00J30B20D00B), + Rule::Get(&texelFetch_00w00D), + Rule::Get(&texelFetch_00w00D), + Rule::Get(¬Equal_30E30E), + Rule::Get(¬Equal_30E30E), + Rule::Get(&imageAtomicOr_01K20D00D), + Rule::Get( + &imageAtomicOrExt_01K20D00D), + Rule::Get(&imageAtomicOr_01K20D00E), + Rule::Get( + &imageAtomicOrExt_01K20D00E), + Rule::Get(&lessThanEqual_10E10E), + Rule::Get(&lessThanEqual_10E10E), + Rule::Get(&inversesqrt_20C), + Rule::Get(&inversesqrt_20B), + Rule::Get(&inversesqrt_20B), + Rule::Get(&textureLod_00i20B00B), + Rule::Get(&textureOffset_00u10B00D00B), + Rule::Get(&reflect_00C00C), + Rule::Get(&atomicAdd_00E00E), + Rule::Get(&atomicAdd_00E00E), + Rule::Get(&intBitsToFloat_30D), + Rule::Get(&intBitsToFloat_30D), + Rule::Get(&textureProjGradOffset_00v20B10B10B10D), + Rule::Get(&textureGrad_00X10B10B10B), + Rule::Get(&textureGrad_00X10B10B10B), + Rule::Get(&greaterThanEqual_30E30E), + Rule::Get(&greaterThanEqual_30E30E), + Rule::Get(&mix_20B20B20F), + Rule::Get(&mix_20B20B20F), + Rule::Get(&imageAtomicExchange_01T10D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00E), + Rule::Get(&imageAtomicExchange_01T10D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00D), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), + Rule::Get(&mix_20B20B20B), + Rule::Get(&mix_20B20B20B), + Rule::Get(&any_10F), + Rule::Get(&any_10F), + Rule::Get(&textureProjGradOffset_00d30B10B10B10D), + Rule::Get(&textureProjGradOffset_00d30B10B10B10D), + Rule::Get(&imageLoad_01X10D), + Rule::Get(&textureProjOffset_00I30B10D), + Rule::Get(&textureProjOffset_00I30B10D), + Rule::Get(&textureOffset_00X10B10D), + Rule::Get(&textureOffset_00X10B10D), + Rule::Get(&texture_00R10B), + Rule::Get(&texture_00R10B), + Rule::Get(&imageAtomicXor_01R10D00D00E), + Rule::Get( + &imageAtomicXorExt_01R10D00D00E), + Rule::Get(&imageStore_01M00D30D), + Rule::Get(&radians_00B), + Rule::Get(&radians_00B), + Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), + Rule::Get(&textureGatherOffsets_00f20B00B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00f20B00B10Dx4), + Rule::Get(&step_10B10B), + Rule::Get(&step_10B10B), + Rule::Get( + &TableBase::m_gl_MaxDualSourceDrawBuffersEXT), + Rule::Get(&imageAtomicAdd_01Y10D00D), + Rule::Get( + &imageAtomicAddExt_01Y10D00D), + Rule::Get(&imageAtomicAdd_01Y10D00E), + Rule::Get( + &imageAtomicAddExt_01Y10D00E), + Rule::Get(&bitfieldReverse_10E), + Rule::Get(&bitfieldReverse_10E), + Rule::Get(&bitfieldReverse_10D), + Rule::Get(&bitfieldReverse_10D), + Rule::Get(&imageStore_01g00D30B), + Rule::Get(&imageStore_01g00D30B), + Rule::Get(&textureProjGradOffset_00q20B10B10B10D), + Rule::Get(&imageAtomicExchange_01S10D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00E), + Rule::Get(&atomicXor_00E00E), + Rule::Get(&atomicXor_00E00E), + Rule::Get(&mix_00C00C00F), + Rule::Get(&textureLodOffset_00g00B00B00D), + Rule::Get(&greaterThan_30B30B), + Rule::Get(&greaterThan_30B30B), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), + Rule::Get(&faceforward_20B20B20B), + Rule::Get(&faceforward_20B20B20B), + Rule::Get(&textureSize_00x00D), + Rule::Get(&textureSize_00x00D), + Rule::Get(&textureProj_00S30B00B), + Rule::Get(&textureProj_00S30B00B), + Rule::Get(&fma_20B20B20B), + Rule::Get(&fma_20B20B20B), + Rule::Get(&fmaExt_20B20B20B), + Rule::Get(&textureProjLod_00o10B00B), + Rule::Get(&imageAtomicMin_01J20D00E), + Rule::Get( + &imageAtomicMinExt_01J20D00E), + Rule::Get(&outerProduct_30B30B), + Rule::Get(&outerProduct_30B30B), + Rule::Get(&exp_30B), + Rule::Get(&exp_30B), + Rule::Get(&bitCount_10E), + Rule::Get(&bitCount_10E), + Rule::Get(&bitCount_10D), + Rule::Get(&bitCount_10D), + Rule::Get(&log_00B), + Rule::Get(&log_00B), + Rule::Get(&mix_00F00F00F), + Rule::Get(&mix_00F00F00F), + Rule::Get(&imageAtomicCompSwap_01M00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01M00D00D00D), + Rule::Get(&imageAtomicAdd_01Q10D00E), + Rule::Get( + &imageAtomicAddExt_01Q10D00E), + Rule::Get(&acosh_30B), + Rule::Get(&acosh_30B), + Rule::Get(&imageAtomicOr_01Y10D00E), + Rule::Get( + &imageAtomicOrExt_01Y10D00E), + Rule::Get(&imageAtomicOr_01Y10D00D), + Rule::Get( + &imageAtomicOrExt_01Y10D00D), + Rule::Get(&textureGradOffset_00X10B10B10B10D), + Rule::Get(&textureGradOffset_00X10B10B10B10D), + Rule::Get(&texelFetchOffset_00X10D00D10D), + Rule::Get(&texelFetchOffset_00X10D00D10D), + Rule::Get(&packUnorm2x16_10B), + Rule::Get(&packUnorm2x16_10B), + Rule::Get(&texture_00h20B00B), + Rule::Get(&umulExtended_20E20E20E20E), + Rule::Get(&umulExtended_20E20E20E20E), + Rule::Get(&texture_00m20B00B), + Rule::Get(&textureProjGradOffset_00g30B00B00B00D), + Rule::Get(&textureProj_00o30B00B), + Rule::Get(&imageAtomicCompSwap_01T10D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01T10D00D00E00E), + Rule::Get(&textureCubeLod_00K20B00B), + Rule::Get(&textureCubeLod_00K20B00B), + Rule::Get(&textureSize_00L00D), + Rule::Get(&textureSize_00L00D), + Rule::Get(&imageAtomicXor_01L00D00E), + Rule::Get( + &imageAtomicXorExt_01L00D00E), + Rule::Get(&imageAtomicCompSwap_01Q10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01Q10D00D00D), + Rule::Get(&max_20E00E), + Rule::Get(&max_20E00E), + Rule::Get(&textureProj_00S30B), + Rule::Get(&textureProj_00S30B), + Rule::Get(&dFdy_30B), + Rule::Get(&dFdy_30B), + Rule::Get(&dFdyExt_30B), + Rule::Get(&isinf_10C), + Rule::Get(&isinf_10B), + Rule::Get(&isinf_10B), + Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), + Rule::Get(&greaterThanEqual_30B30B), + Rule::Get(&greaterThanEqual_30B30B), + Rule::Get( + &texture2DProjLodEXT_00I20B00B), + Rule::Get(&BuiltInVariable::kgl_FrontFacing), + Rule::Get(&BuiltInVariable::kgl_FrontFacing), + Rule::Get(&textureProjOffset_00t10B00D00B), + Rule::Get(&acos_10B), + Rule::Get(&acos_10B), + Rule::Get(&textureCube_00K20B00B), + Rule::Get(&textureCube_00K20B00B), + Rule::Get(&lessThan_10B10B), + Rule::Get(&lessThan_10B10B), + Rule::Get(&imageAtomicCompSwap_01B10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01B10D00E00E), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), + Rule::Get(&textureSize_00f00D), + Rule::Get(&textureSize_00f00D), + Rule::Get(&texelFetchOffset_00h10D00D00D), + Rule::Get(&mod_20C00C), + Rule::Get(&imageAtomicAnd_01g00D00D), + Rule::Get( + &imageAtomicAndExt_01g00D00D), + Rule::Get( + &BuiltInVariable::kgl_LastFragColorARM), + Rule::Get(&textureGatherOffsets_00q10B10Dx4), + Rule::Get(&lessThanEqual_20D20D), + Rule::Get(&lessThanEqual_20D20D), + Rule::Get(&textureQueryLod_00k20B), + Rule::Get(&imageAtomicAdd_01B10D00E), + Rule::Get( + &imageAtomicAddExt_01B10D00E), + Rule::Get(&textureProjLod_00Y30B00B), + Rule::Get(&textureProjLod_00Y30B00B), + Rule::Get( + &BuiltInVariable::kgl_SecondaryFragColorEXT), + Rule::Get(&imageAtomicAnd_01U20D00D00D), + Rule::Get( + &imageAtomicAndExt_01U20D00D00D), + Rule::Get(&imageAtomicAnd_01U20D00D00E), + Rule::Get( + &imageAtomicAndExt_01U20D00D00E), + Rule::Get( + &BuiltInVariable::kgl_BaseInstance), + Rule::Get(&transpose_B0B), + Rule::Get(&transpose_B0B), + Rule::Get(&imageAtomicXor_01b20D00E), + Rule::Get( + &imageAtomicXorExt_01b20D00E), + Rule::Get(&mix_20F20F20F), + Rule::Get(&mix_20F20F20F), + Rule::Get(&smoothstep_00B00B30B), + Rule::Get(&smoothstep_00B00B30B), + Rule::Get(&imageAtomicExchange_01M00D00B), + Rule::Get( + &imageAtomicExchangeExt_01M00D00B), + Rule::Get(&imageAtomicExchange_01M00D00D), + Rule::Get( + &imageAtomicExchangeExt_01M00D00D), + Rule::Get(&imageAtomicExchange_01M00D00E), + Rule::Get( + &imageAtomicExchangeExt_01M00D00E), + Rule::Get(&textureQueryLod_00d10B), + Rule::Get(&texelFetch_00N10D00D), + Rule::Get(&textureSize_00a00D), + Rule::Get(&textureSize_00a00D), + Rule::Get(&EmitStreamVertex_00D), + Rule::Get(&textureProjOffset_00Y30B20D), + Rule::Get(&textureProjOffset_00Y30B20D), + Rule::Get(&textureOffset_00n20B10D), + Rule::Get(&atan_30B), + Rule::Get(&atan_30B), + Rule::Get(&imageAtomicMax_01b20D00E), + Rule::Get( + &imageAtomicMaxExt_01b20D00E), + Rule::Get(&imageAtomicMax_01b20D00D), + Rule::Get( + &imageAtomicMaxExt_01b20D00D), + Rule::Get(&ceil_10B), + Rule::Get(&ceil_10B), + Rule::Get(&textureSize_00S00D), + Rule::Get(&textureSize_00S00D), + Rule::Get(&imageAtomicExchange_01S10D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00B), + Rule::Get(&atomicCounterDecrement_00G), + Rule::Get(&atomicCounterDecrement_00G), + Rule::Get(&ceil_30B), + Rule::Get(&ceil_30B), + Rule::Get(&imageAtomicAnd_01Q10D00D), + Rule::Get( + &imageAtomicAndExt_01Q10D00D), + Rule::Get(&imageAtomicAnd_01Q10D00E), + Rule::Get( + &imageAtomicAndExt_01Q10D00E), + Rule::Get(&imageAtomicAnd_01c20D00E), + Rule::Get( + &imageAtomicAndExt_01c20D00E), + Rule::Get(&imageAtomicAnd_01c20D00D), + Rule::Get( + &imageAtomicAndExt_01c20D00D), + Rule::Get(&textureSize_00t00D), + Rule::Get(&texture_00f30B), + Rule::Get(&texture_00f30B), + Rule::Get(&imageSamples_01R), + Rule::Get(&texelFetch_00R10D00D), + Rule::Get(&texelFetch_00R10D00D), + Rule::Get(&sign_20B), + Rule::Get(&sign_20B), + Rule::Get(&smoothstep_30B30B30B), + Rule::Get(&smoothstep_30B30B30B), + Rule::Get(&imageAtomicExchange_01T10D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01T10D00D00B), + Rule::Get(&textureGrad_00R10B10B10B), + Rule::Get(&textureGrad_00R10B10B10B), + Rule::Get(&min_00D00D), + Rule::Get(&min_00D00D), + Rule::Get(&textureProj_00t10B00B), + Rule::Get( + &shadow2DProjEXT_00d30B), + Rule::Get(&imageAtomicAdd_01V20D00D00E), + Rule::Get( + &imageAtomicAddExt_01V20D00D00E), + Rule::Get(&ldexp_20B20D), + Rule::Get(&ldexp_20B20D), + Rule::Get(&greaterThanEqual_30D30D), + Rule::Get(&greaterThanEqual_30D30D), + Rule::Get(&imageLoad_01D20D), + Rule::Get(&imageLoad_01D20D), + Rule::Get(&findLSB_10E), + Rule::Get(&findLSB_10E), + Rule::Get(&texture_00Z20B00B), + Rule::Get(&texture_00Z20B00B), + Rule::Get(&imageAtomicXor_01S10D00D00E), + Rule::Get( + &imageAtomicXorExt_01S10D00D00E), + Rule::Get(&imageAtomicXor_01S10D00D00D), + Rule::Get( + &imageAtomicXorExt_01S10D00D00D), + Rule::Get(&cos_10B), + Rule::Get(&cos_10B), + Rule::Get(&texelFetch_00v10D), + Rule::Get(&texture_00e30B), + Rule::Get(&texture_00e30B), + Rule::Get(&textureSize_00T00D), + Rule::Get(&textureSize_00T00D), + Rule::Get(&imageAtomicAnd_01g00D00E), + Rule::Get( + &imageAtomicAndExt_01g00D00E), + Rule::Get(&textureSize_00u00D), + Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), + Rule::Get(&textureProjGradOffset_00Y30B20B20B20D), + Rule::Get(&noise3_30B), + Rule::Get(&textureGrad_00T20B20B20B), + Rule::Get(&textureGrad_00T20B20B20B), + Rule::Get(&texture1DProj_00g10B00B), + Rule::Get(&textureProjOffset_00d30B10D00B), + Rule::Get(&textureProjOffset_00d30B10D00B), + Rule::Get(&imageAtomicMin_01B10D00D), + Rule::Get( + &imageAtomicMinExt_01B10D00D), + Rule::Get(&imageAtomicMin_01B10D00E), + Rule::Get( + &imageAtomicMinExt_01B10D00E), + Rule::Get(&imageAtomicXor_01U20D00D00D), + Rule::Get( + &imageAtomicXorExt_01U20D00D00D), + Rule::Get(&imageAtomicXor_01U20D00D00E), + Rule::Get( + &imageAtomicXorExt_01U20D00D00E), + Rule::Get(&imageAtomicAdd_01h00D00D), + Rule::Get( + &imageAtomicAddExt_01h00D00D), + Rule::Get(&imageAtomicAdd_01h00D00E), + Rule::Get( + &imageAtomicAddExt_01h00D00E), + Rule::Get(&matrixCompMult_50B50B), + Rule::Get(&matrixCompMult_50B50B), + Rule::Get(&equal_30B30B), + Rule::Get(&equal_30B30B), + Rule::Get(&imageAtomicExchange_01E20D00B), + Rule::Get( + &imageAtomicExchangeExt_01E20D00B), + Rule::Get(&textureLod_00U20B00B), + Rule::Get(&textureLod_00U20B00B), + Rule::Get(&imageAtomicXor_01I20D00E), + Rule::Get( + &imageAtomicXorExt_01I20D00E), + Rule::Get(&imageAtomicXor_01I20D00D), + Rule::Get( + &imageAtomicXorExt_01I20D00D), + Rule::Get(&textureOffset_00h10B00D), + Rule::Get(&textureLod_00p10B00B), + Rule::Get(&max_20C20C), + Rule::Get(&max_10B10B), + Rule::Get(&max_10B10B), + Rule::Get(&BuiltInVariable::kgl_PointSize), + Rule::Get(&BuiltInVariable::kgl_PointSize), + Rule::Get(&imageAtomicCompSwap_01F20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01F20D00E00E), + Rule::Get(&asin_10B), + Rule::Get(&asin_10B), + Rule::Get(&sinh_00B), + Rule::Get(&sinh_00B), + Rule::Get(&imageAtomicAdd_01g00D00D), + Rule::Get( + &imageAtomicAddExt_01g00D00D), + Rule::Get(&imageAtomicCompSwap_01h00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01h00D00E00E), + Rule::Get(&textureOffset_00S20B20D), + Rule::Get(&textureOffset_00S20B20D), + Rule::Get(&fma_20C20C20C), + Rule::Get(&textureProj_00R20B), + Rule::Get(&textureProj_00R20B), + Rule::Get(&greaterThan_10E10E), + Rule::Get(&greaterThan_10E10E), + Rule::Get(&imageAtomicAnd_01M00D00E), + Rule::Get( + &imageAtomicAndExt_01M00D00E), + Rule::Get(&imageAtomicAdd_01B10D00D), + Rule::Get( + &imageAtomicAddExt_01B10D00D), + Rule::Get(&imageAtomicAnd_01M00D00D), + Rule::Get( + &imageAtomicAndExt_01M00D00D), + Rule::Get(&textureGatherOffsets_00n10B00B10Dx4), + Rule::Get(&EmitVertex_), + Rule::Get(&EmitVertex_), + Rule::Get(&smoothstep_20B20B20B), + Rule::Get(&smoothstep_20B20B20B), + Rule::Get(&textureSamples_00b), + Rule::Get(&textureOffset_00J20B20D), + Rule::Get(&textureOffset_00J20B20D), + Rule::Get(&texelFetch_00J20D00D), + Rule::Get(&texelFetch_00J20D00D), + Rule::Get(&imageAtomicExchange_01V20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01V20D00D00E), + Rule::Get(&imageAtomicExchange_01V20D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01V20D00D00B), + Rule::Get(&imageAtomicCompSwap_01Y10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01Y10D00E00E), + Rule::Get( + &BuiltInVariable::kgl_ViewID_OVR), + Rule::Get(&radians_30B), + Rule::Get(&radians_30B), + Rule::Get(&fract_30B), + Rule::Get(&fract_30B), + Rule::Get(&imageAtomicMin_01H20D00E), + Rule::Get( + &imageAtomicMinExt_01H20D00E), + Rule::Get(&uaddCarry_20E20E20E), + Rule::Get(&uaddCarry_20E20E20E), + Rule::Get(&textureProjGrad_00X30B10B10B), + Rule::Get(&textureProjGrad_00X30B10B10B), + Rule::Get(&textureSamples_00P), + Rule::Get(&textureProjOffset_00v20B10D), + Rule::Get(&shadow2D_00d20B00B), + Rule::Get(&texelFetchOffset_00o00D00D00D), + Rule::Get(&textureSamples_00V), + Rule::Get(&textureSamples_00W), + Rule::Get(&textureProjGrad_00q30B10B10B), + Rule::Get(&textureGatherOffset_00O10B10D), + Rule::Get(&clamp_10D00D00D), + Rule::Get(&clamp_10D00D00D), + Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), + Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), + Rule::Get(&textureLod_00L20B00B), + Rule::Get(&textureLod_00L20B00B), + Rule::Get(&imageAtomicExchange_01A10D00B), + Rule::Get( + &imageAtomicExchangeExt_01A10D00B), + Rule::Get(&imageAtomicCompSwap_01V20D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01V20D00D00D00D), + Rule::Get(&imageAtomicExchange_01A10D00E), + Rule::Get( + &imageAtomicExchangeExt_01A10D00E), + Rule::Get(&imageAtomicExchange_01A10D00D), + Rule::Get( + &imageAtomicExchangeExt_01A10D00D), + Rule::Get(&imageAtomicXor_01b20D00D), + Rule::Get( + &imageAtomicXorExt_01b20D00D), + Rule::Get(&texture_00n20B), + Rule::Get(&ldexp_20C20D), + Rule::Get(&clamp_00E00E00E), + Rule::Get(&clamp_00E00E00E), + Rule::Get(&length_20B), + Rule::Get(&length_20B), + Rule::Get(&ldexp_00B00D), + Rule::Get(&ldexp_00B00D), + Rule::Get(&bitfieldInsert_00D00D00D00D), + Rule::Get(&bitfieldInsert_00D00D00D00D), + Rule::Get(&textureProjGrad_00Y30B20B20B), + Rule::Get(&textureProjGrad_00Y30B20B20B), + Rule::Get(&imageAtomicAdd_01W20D00D00E), + Rule::Get( + &imageAtomicAddExt_01W20D00D00E), + Rule::Get(&roundEven_30B), + Rule::Get(&roundEven_30B), + Rule::Get(&roundEven_30C), + Rule::Get(&acosh_20B), + Rule::Get(&acosh_20B), + Rule::Get(&atanh_10B), + Rule::Get(&atanh_10B), + Rule::Get(&length_20C), + Rule::Get(&clamp_10B10B10B), + Rule::Get(&clamp_10B10B10B), + Rule::Get(&textureGatherOffset_00L20B10D00D), + Rule::Get(&textureGatherOffset_00L20B10D00D), + Rule::Get(&bitCount_00D), + Rule::Get(&bitCount_00D), + Rule::Get(&bitCount_00E), + Rule::Get(&bitCount_00E), + Rule::Get(&floatBitsToInt_30B), + Rule::Get(&floatBitsToInt_30B), + Rule::Get(&max_20B00B), + Rule::Get(&max_20B00B), + Rule::Get(&imageAtomicAdd_00z10D00D), + Rule::Get( + &imageAtomicAddExt_00z10D00D), + Rule::Get(&texelFetchOffset_00Y20D00D20D), + Rule::Get(&texelFetchOffset_00Y20D00D20D), Rule::Get(&atomicExchange_00E00E), Rule::Get(&atomicExchange_00E00E), - Rule::Get(&atomicExchange_00D00D), - Rule::Get(&atomicExchange_00D00D), + Rule::Get(&imageAtomicXor_01h00D00D), + Rule::Get( + &imageAtomicXorExt_01h00D00D), + Rule::Get(&imageAtomicXor_01h00D00E), + Rule::Get( + &imageAtomicXorExt_01h00D00E), + Rule::Get(&ldexp_30C30D), + Rule::Get(&texture_00o00B), + Rule::Get(&texture_00x30B00B), + Rule::Get(&lessThanEqual_20B20B), + Rule::Get(&lessThanEqual_20B20B), + Rule::Get(&min_10B00B), + Rule::Get(&min_10B00B), + Rule::Get(&textureQueryLod_00f10B), + Rule::Get(&smoothstep_10C10C10C), + Rule::Get(&imageAtomicAnd_01L00D00D), + Rule::Get( + &imageAtomicAndExt_01L00D00D), + Rule::Get(&imageAtomicAnd_01L00D00E), + Rule::Get( + &imageAtomicAndExt_01L00D00E), + Rule::Get(&mix_30F30F30F), + Rule::Get(&mix_30F30F30F), + Rule::Get(&imageAtomicMax_01T10D00D00E), + Rule::Get( + &imageAtomicMaxExt_01T10D00D00E), + Rule::Get(&imageAtomicMax_01T10D00D00D), + Rule::Get( + &imageAtomicMaxExt_01T10D00D00D), + Rule::Get(&textureGatherOffsets_00O10B10Dx400D), + Rule::Get(&abs_20D), + Rule::Get(&abs_20D), + Rule::Get(&abs_20C), + Rule::Get(&abs_20B), + Rule::Get(&abs_20B), + Rule::Get(&lessThanEqual_10B10B), + Rule::Get(&lessThanEqual_10B10B), + Rule::Get(&min_30E30E), + Rule::Get(&min_30E30E), + Rule::Get(&imageAtomicOr_01a20D00D), + Rule::Get( + &imageAtomicOrExt_01a20D00D), + Rule::Get(&mix_00B00B00B), + Rule::Get(&mix_00B00B00B), + Rule::Get(&mix_00B00B00F), + Rule::Get(&mix_00B00B00F), + Rule::Get(&textureGather_00s30B00D), + Rule::Get(&textureGather_00s30B00D), + Rule::Get(&textureProj_00I20B), + Rule::Get(&textureProj_00I20B), + Rule::Get(&textureLodOffset_00p10B00B00D), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), + Rule::Get(&unpackDouble2x32_00C), + Rule::Get(&acos_00B), + Rule::Get(&acos_00B), + Rule::Get(&textureGradOffset_00J20B20B20B20D), + Rule::Get(&textureGradOffset_00J20B20B20B20D), + Rule::Get(&fma_00C00C00C), + Rule::Get( + &texture2DGradEXT_00I10B10B10B), + Rule::Get(&imageAtomicCompSwap_01G20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01G20D00D00D), + Rule::Get(&imageAtomicAnd_01I20D00D), + Rule::Get( + &imageAtomicAndExt_01I20D00D), + Rule::Get( + &texture2DProjGradEXT_00I30B10B10B), + Rule::Get(&fma_30B30B30B), + Rule::Get(&fma_30B30B30B), + Rule::Get(&fmaExt_30B30B30B), + Rule::Get(&imageAtomicAdd_01L00D00D), + Rule::Get( + &imageAtomicAddExt_01L00D00D), + Rule::Get(&texture_00i20B00B), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), + Rule::Get(&clamp_20C00C00C), + Rule::Get(&imageAtomicMax_01X10D00E), + Rule::Get( + &imageAtomicMaxExt_01X10D00E), + Rule::Get(&imageLoad_01i00D), + Rule::Get(&imageLoad_01i00D), + Rule::Get(&mix_30E30E30F), + Rule::Get(&mix_30E30E30F), + Rule::Get(&BuiltInVariable::kgl_FragColor), + Rule::Get(&BuiltInVariable::kgl_FragColor), + Rule::Get(&imageAtomicMin_01G20D00D), + Rule::Get( + &imageAtomicMinExt_01G20D00D), + Rule::Get(&imageAtomicMin_01G20D00E), + Rule::Get( + &imageAtomicMinExt_01G20D00E), + Rule::Get(&imageAtomicExchange_01S10D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01S10D00D00D), + Rule::Get(&atan_20B), + Rule::Get(&atan_20B), + Rule::Get(&interpolateAtSample_30B00D), + Rule::Get(&interpolateAtSample_30B00D), + Rule::Get( + &interpolateAtSampleExt_30B00D), + Rule::Get(&dFdxCoarse_30B), + Rule::Get( + &texture_00M10B), + Rule::Get(&min_10B10B), + Rule::Get(&min_10B10B), + Rule::Get(&textureLodOffset_00h10B00B00D), + Rule::Get(&EndStreamPrimitive_00D), + Rule::Get(&pow_10B10B), + Rule::Get(&pow_10B10B), + Rule::Get(&texture_00Y20B), + Rule::Get(&texture_00Y20B), + Rule::Get(&imageAtomicXor_01P10D00D), + Rule::Get( + &imageAtomicXorExt_01P10D00D), + Rule::Get(&texture_00X10B00B), + Rule::Get(&texture_00X10B00B), + Rule::Get(&frexp_00B00D), + Rule::Get(&frexp_00B00D), + Rule::Get(&texture2D_00I10B), + Rule::Get(&texture2D_00I10B), + Rule::Get(&imageLoad_01O10D), + Rule::Get(&ceil_20C), + Rule::Get(&ceil_20B), + Rule::Get(&ceil_20B), + Rule::Get(&imageAtomicMin_01b20D00E), + Rule::Get( + &imageAtomicMinExt_01b20D00E), + Rule::Get(&imageAtomicMin_01b20D00D), + Rule::Get( + &imageAtomicMinExt_01b20D00D), + Rule::Get(&imageAtomicMax_01P10D00D), + Rule::Get( + &imageAtomicMaxExt_01P10D00D), + Rule::Get(&imageAtomicMax_01P10D00E), + Rule::Get( + &imageAtomicMaxExt_01P10D00E), + Rule::Get(&imageAtomicExchange_01P10D00B), + Rule::Get( + &imageAtomicExchangeExt_01P10D00B), + Rule::Get(&textureProjOffset_00R20B10D), + Rule::Get(&textureProjOffset_00R20B10D), + Rule::Get(&imageStore_01V20D00D30D), + Rule::Get(&subpassLoad_01m00D), + Rule::Get(&textureOffset_00I10B10D), + Rule::Get(&textureOffset_00I10B10D), + Rule::Get(&min_20B00B), + Rule::Get(&min_20B00B), + Rule::Get(&reflect_00B00B), + Rule::Get(&reflect_00B00B), + Rule::Get(&noise4_10B), + Rule::Get(&sqrt_10C), + Rule::Get(&sqrt_10B), + Rule::Get(&sqrt_10B), + Rule::Get(&clamp_20E20E20E), + Rule::Get(&clamp_20E20E20E), + Rule::Get(&textureGradOffset_00g00B00B00B00D), + Rule::Get(&textureGather_00q20B), + Rule::Get(&noise3_00B), + Rule::Get(&imageAtomicOr_01G20D00D), + Rule::Get( + &imageAtomicOrExt_01G20D00D), + Rule::Get(&imageAtomicOr_01G20D00E), + Rule::Get( + &imageAtomicOrExt_01G20D00E), + Rule::Get(&imageAtomicMin_01C20D00D), + Rule::Get( + &imageAtomicMinExt_01C20D00D), + Rule::Get(&imageAtomicMin_01C20D00E), + Rule::Get( + &imageAtomicMinExt_01C20D00E), + Rule::Get(&imageAtomicAnd_01F20D00E), + Rule::Get( + &imageAtomicAndExt_01F20D00E), + Rule::Get(&imageStore_01a20D30B), + Rule::Get(&imageStore_01a20D30B), + Rule::Get(&textureProjLod_00d30B00B), + Rule::Get(&textureProjLod_00d30B00B), + Rule::Get(&imageLoad_01H20D), + Rule::Get(&imageLoad_01H20D), + Rule::Get(&textureProjGradOffset_00I20B10B10B10D), + Rule::Get(&textureProjGradOffset_00I20B10B10B10D), + Rule::Get(&interpolateAtSample_20B00D), + Rule::Get(&interpolateAtSample_20B00D), + Rule::Get( + &interpolateAtSampleExt_20B00D), + Rule::Get(&reflect_10B10B), + Rule::Get(&reflect_10B10B), + Rule::Get(&refract_10B10B00B), + Rule::Get(&refract_10B10B00B), + Rule::Get(&imageAtomicMax_01h00D00D), + Rule::Get( + &imageAtomicMaxExt_01h00D00D), + Rule::Get(&mix_20C20C20F), + Rule::Get(&imageAtomicExchange_01X10D00D), + Rule::Get( + &imageAtomicExchangeExt_01X10D00D), + Rule::Get(&imageAtomicExchange_01X10D00E), + Rule::Get( + &imageAtomicExchangeExt_01X10D00E), + Rule::Get(&mix_20C20C20C), + Rule::Get(&textureOffset_00v10B10D), + Rule::Get(&imageAtomicExchange_01Q10D00E), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00E), + Rule::Get(&imageAtomicExchange_01Q10D00D), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00D), + Rule::Get(&imageAtomicMin_01P10D00D), + Rule::Get( + &imageAtomicMinExt_01P10D00D), + Rule::Get(&sinh_30B), + Rule::Get(&sinh_30B), + Rule::Get(&textureSize_00m00D), + Rule::Get(&imageAtomicMin_01N00D00E), + Rule::Get( + &imageAtomicMinExt_01N00D00E), + Rule::Get(&imageAtomicMin_01N00D00D), + Rule::Get( + &imageAtomicMinExt_01N00D00D), + Rule::Get(&textureQueryLod_00e20B), + Rule::Get(&asinh_20B), + Rule::Get(&asinh_20B), + Rule::Get(&imageAtomicAdd_01C20D00D), + Rule::Get( + &imageAtomicAddExt_01C20D00D), + Rule::Get(&imageAtomicCompSwap_01I20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01I20D00D00D), + Rule::Get(&textureProj_00O20B), + Rule::Get(&textureProj_00O20B), + Rule::Get(&imageAtomicCompSwap_01M00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01M00D00E00E), + Rule::Get(&frexp_10B10D), + Rule::Get(&frexp_10B10D), + Rule::Get(&inverse_50B), + Rule::Get(&inverse_50B), + Rule::Get(&dot_10B10B), + Rule::Get(&dot_10B10B), + Rule::Get(&noise2_00B), + Rule::Get(&textureProjGradOffset_00o10B00B00B00D), + Rule::Get(&radians_20B), + Rule::Get(&radians_20B), Rule::Get(&atomicCompSwap_00E00E00E), Rule::Get(&atomicCompSwap_00E00E00E), - Rule::Get(&atomicCompSwap_00D00D00D), - Rule::Get(&atomicCompSwap_00D00D00D), + Rule::Get(&textureGrad_00I00B00B00B), + Rule::Get(&textureGrad_00Y20B20B20B), + Rule::Get(&textureGrad_00Y20B20B20B), + Rule::Get(&imageAtomicCompSwap_01Z10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01Z10D00D00D), + Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), + Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), + Rule::Get(&imageAtomicExchange_01W20D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00B), + Rule::Get(&textureOffset_00o00B00D00B), + Rule::Get(&imageAtomicExchange_01W20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00E), + Rule::Get(&imageAtomicExchange_01W20D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01W20D00D00D), + Rule::Get(&ftransform_), + Rule::Get(&textureProj_00X20B), + Rule::Get(&textureProj_00X20B), + Rule::Get(&textureProjOffset_00n30B10D), + Rule::Get(&imageAtomicOr_01W20D00D00E), + Rule::Get( + &imageAtomicOrExt_01W20D00D00E), + Rule::Get(&imageAtomicOr_01W20D00D00D), + Rule::Get( + &imageAtomicOrExt_01W20D00D00D), + Rule::Get(&greaterThanEqual_20E20E), + Rule::Get(&greaterThanEqual_20E20E), + Rule::Get( + &textureProj_00M20B), + Rule::Get(&texture3DProjLod_00J30B00B), + Rule::Get( + &texture3DProjLod_00J30B00B), + Rule::Get(&isinf_30C), + Rule::Get(&imageAtomicAdd_01Z10D00E), + Rule::Get( + &imageAtomicAddExt_01Z10D00E), + Rule::Get(&imageAtomicAdd_01Z10D00D), + Rule::Get( + &imageAtomicAddExt_01Z10D00D), + Rule::Get(&mix_10D10D10F), + Rule::Get(&mix_10D10D10F), + Rule::Get(&textureProjGrad_00g10B00B00B), + Rule::Get(&log_20B), + Rule::Get(&log_20B), + Rule::Get(&imageAtomicMax_01D20D00E), + Rule::Get( + &imageAtomicMaxExt_01D20D00E), + Rule::Get(&imageAtomicMax_01D20D00D), + Rule::Get( + &imageAtomicMaxExt_01D20D00D), + Rule::Get(&textureOffset_00h10B00D00B), + Rule::Get(&modf_30B30B), + Rule::Get(&modf_30B30B), + Rule::Get(&roundEven_20C), + Rule::Get(&roundEven_20B), + Rule::Get(&roundEven_20B), + Rule::Get(&outerProduct_30B10B), + Rule::Get(&outerProduct_30B10B), + Rule::Get(&textureProj_00J30B), + Rule::Get(&textureProj_00J30B), + Rule::Get(&imageAtomicOr_01F20D00E), + Rule::Get( + &imageAtomicOrExt_01F20D00E), + Rule::Get(&imageAtomicOr_01F20D00D), + Rule::Get( + &imageAtomicOrExt_01F20D00D), + Rule::Get(&textureLodOffset_00t00B00B00D), + Rule::Get(&floatBitsToInt_20B), + Rule::Get(&floatBitsToInt_20B), + Rule::Get(&texelFetch_00U20D00D), + Rule::Get(&texelFetch_00U20D00D), + Rule::Get(&max_00D00D), + Rule::Get(&max_00D00D), + Rule::Get(&round_20C), + Rule::Get(&atomicMin_00E00E), + Rule::Get(&atomicMin_00E00E), + Rule::Get(&textureGradOffset_00v10B10B10B10D), + Rule::Get(&textureGrad_00n20B10B10B), + Rule::Get(&imageLoad_01S10D00D), + Rule::Get( + &shadow2DEXT_00d20B), + Rule::Get(&textureGatherOffsets_00a20B10Dx4), + Rule::Get(&textureGatherOffsets_00a20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00a20B10Dx4), + Rule::Get(&max_20E20E), + Rule::Get(&max_20E20E), + Rule::Get(&imageAtomicCompSwap_01F20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01F20D00D00D), + Rule::Get(&abs_10D), + Rule::Get(&abs_10D), + Rule::Get(&abs_10B), + Rule::Get(&abs_10B), + Rule::Get(&abs_10C), + Rule::Get( + &TableBase::m_gl_FragDepthEXT), + Rule::Get(&imageAtomicAdd_01V20D00D00D), + Rule::Get( + &imageAtomicAddExt_01V20D00D00D), + Rule::Get( + &TableBase::m_gl_ClipDistance), + Rule::Get(&modf_30C30C), + Rule::Get(&imageAtomicMin_01T10D00D00E), + Rule::Get( + &imageAtomicMinExt_01T10D00D00E), + Rule::Get(&imageAtomicMin_01T10D00D00D), + Rule::Get( + &imageAtomicMinExt_01T10D00D00D), + Rule::Get(&textureGrad_00i20B00B00B), + Rule::Get(&textureProj_00g10B), + Rule::Get(&equal_20B20B), + Rule::Get(&equal_20B20B), + Rule::Get(&textureProjLodOffset_00X20B00B10D), + Rule::Get(&textureProjLodOffset_00X20B00B10D), + Rule::Get(&max_30C00C), + Rule::Get(&texture_00U20B00B), + Rule::Get(&texture_00U20B00B), + Rule::Get(&textureProj_00I30B), + Rule::Get(&textureProj_00I30B), + Rule::Get(&mix_00E00E00F), + Rule::Get(&mix_00E00E00F), + Rule::Get(&imageAtomicCompSwap_01h00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01h00D00D00D), + Rule::Get(&mix_00D00D00F), + Rule::Get(&mix_00D00D00F), + Rule::Get(&textureProjOffset_00q20B10D), + Rule::Get(&texture_00i20B), + Rule::Get(&textureGradOffset_00a20B10B10B10D), + Rule::Get(&textureGradOffset_00a20B10B10B10D), + Rule::Get(&smoothstep_00B00B20B), + Rule::Get(&smoothstep_00B00B20B), + Rule::Get(&textureLod_00s30B00B), + Rule::Get(&textureLod_00s30B00B), + Rule::Get(&imageAtomicOr_01C20D00D), + Rule::Get( + &imageAtomicOrExt_01C20D00D), + Rule::Get(&imageAtomicOr_01C20D00E), + Rule::Get( + &imageAtomicOrExt_01C20D00E), + Rule::Get(&imageAtomicXor_01g00D00E), + Rule::Get( + &imageAtomicXorExt_01g00D00E), + Rule::Get(¬Equal_30B30B), + Rule::Get(¬Equal_30B30B), + Rule::Get(&textureGatherOffset_00f20B00B10D), + Rule::Get(&textureGatherOffset_00f20B00B10D), + Rule::Get(&imageAtomicAnd_01N00D00D), + Rule::Get( + &imageAtomicAndExt_01N00D00D), + Rule::Get(&imageAtomicAnd_01N00D00E), + Rule::Get( + &imageAtomicAndExt_01N00D00E), Rule::Get(&imageSize_00z), Rule::Get(&imageSize_00z), - Rule::Get(&imageSize_01A), - Rule::Get(&imageSize_01A), - Rule::Get(&imageSize_01B), - Rule::Get(&imageSize_01B), - Rule::Get(&imageSize_01C), - Rule::Get(&imageSize_01C), - Rule::Get(&imageSize_01D), - Rule::Get(&imageSize_01D), - Rule::Get(&imageSize_01E), - Rule::Get(&imageSize_01E), - Rule::Get(&imageSize_01F), - Rule::Get(&imageSize_01F), - Rule::Get(&imageSize_01G), - Rule::Get(&imageSize_01G), - Rule::Get(&imageSize_01H), - Rule::Get(&imageSize_01H), - Rule::Get(&imageSize_01I), - Rule::Get(&imageSize_01I), + Rule::Get(&mod_10C10C), + Rule::Get(&imageAtomicXor_01g00D00D), + Rule::Get( + &imageAtomicXorExt_01g00D00D), + Rule::Get(&faceforward_00C00C00C), + Rule::Get(&textureGrad_00a20B10B10B), + Rule::Get(&textureGrad_00a20B10B10B), + Rule::Get(&dFdxCoarse_00B), + Rule::Get(&imageAtomicMin_01a20D00D), + Rule::Get( + &imageAtomicMinExt_01a20D00D), + Rule::Get(&texture_00J20B00B), + Rule::Get(&texture_00J20B00B), + Rule::Get(&refract_20B20B00B), + Rule::Get(&refract_20B20B00B), + Rule::Get(&ceil_30C), + Rule::Get( + &TableBase::m_gl_MaxGeometryOutputComponents), + Rule::Get(&noise1_30B), + Rule::Get(&log2_30B), + Rule::Get(&log2_30B), + Rule::Get(&textureProjGrad_00d30B10B10B), + Rule::Get(&textureProjGrad_00d30B10B10B), + Rule::Get(&mod_20C20C), + Rule::Get(&fract_30C), + Rule::Get(&texelFetch_00t00D00D), + Rule::Get(&imageAtomicXor_01L00D00D), + Rule::Get( + &imageAtomicXorExt_01L00D00D), + Rule::Get(&max_30E30E), + Rule::Get(&max_30E30E), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), + Rule::Get( + &TableBase::m_gl_in), + Rule::Get(&noise4_00B), + Rule::Get(&distance_10C10C), + Rule::Get(&textureProjLodOffset_00J30B00B20D), + Rule::Get(&textureProjLodOffset_00J30B00B20D), + Rule::Get(&imageAtomicExchange_01O10D00B), + Rule::Get( + &imageAtomicExchangeExt_01O10D00B), + Rule::Get(&imageAtomicMax_01H20D00E), + Rule::Get( + &imageAtomicMaxExt_01H20D00E), + Rule::Get(&imageAtomicMax_01H20D00D), + Rule::Get( + &imageAtomicMaxExt_01H20D00D), + Rule::Get(&imageStore_01h00D30D), + Rule::Get(&imageStore_01h00D30D), + Rule::Get(&imageAtomicExchange_01O10D00D), + Rule::Get( + &imageAtomicExchangeExt_01O10D00D), + Rule::Get(&texelFetch_00c20D00D), + Rule::Get( + &texelFetchExt_00c20D00D), + Rule::Get(&sqrt_00B), + Rule::Get(&sqrt_00B), + Rule::Get(&sqrt_00C), + Rule::Get(&textureProjLod_00R30B00B), + Rule::Get(&textureProjLod_00R30B00B), + Rule::Get(&noise3_10B), + Rule::Get(&texelFetch_00q10D), + Rule::Get(&imageAtomicAnd_01F20D00D), + Rule::Get( + &imageAtomicAndExt_01F20D00D), + Rule::Get(&textureLod_00m20B00B), + Rule::Get(&textureProjOffset_00m30B00D00B), + Rule::Get(&textureProjGrad_00v30B10B10B), + Rule::Get(&clamp_20D20D20D), + Rule::Get(&clamp_20D20D20D), + Rule::Get(&imageAtomicMin_01P10D00E), + Rule::Get( + &imageAtomicMinExt_01P10D00E), + Rule::Get(&imageAtomicAdd_01C20D00E), + Rule::Get( + &imageAtomicAddExt_01C20D00E), + Rule::Get(&clamp_00C00C00C), + Rule::Get(&imageAtomicXor_01N00D00D), + Rule::Get( + &imageAtomicXorExt_01N00D00D), + Rule::Get(&imageAtomicXor_01N00D00E), + Rule::Get( + &imageAtomicXorExt_01N00D00E), + Rule::Get(&texture_00x30B), + Rule::Get(&max_10E00E), + Rule::Get(&max_10E00E), + Rule::Get(&imageLoad_01c20D), + Rule::Get(&imageLoad_01c20D), + Rule::Get(&textureGrad_00U20B10B10B), + Rule::Get(&textureGrad_00U20B10B10B), + Rule::Get(&imageLoad_00z10D), + Rule::Get(&imageLoad_00z10D), + Rule::Get(&clamp_30C00C00C), + Rule::Get(&textureGatherOffsets_00a20B10Dx400D), + Rule::Get(&textureGatherOffsets_00a20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00a20B10Dx400D), + Rule::Get(&sinh_20B), + Rule::Get(&sinh_20B), + Rule::Get(&matrixCompMult_E0BE0B), + Rule::Get(&fwidthFine_00B), + Rule::Get( + &TableBase::m_gl_PerVertex), + Rule::Get(&textureGradOffset_00m20B00B00B00D), + Rule::Get(&imageAtomicMin_01K20D00E), + Rule::Get( + &imageAtomicMinExt_01K20D00E), + Rule::Get(&textureQueryLevels_00p), + Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), + Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), + Rule::Get(&asinh_30B), + Rule::Get(&asinh_30B), + Rule::Get(&cross_20C20C), + Rule::Get(&textureGather_00a20B), + Rule::Get(&textureGather_00a20B), + Rule::Get(&textureProjGradOffset_00O20B10B10B10D), + Rule::Get(&pow_30B30B), + Rule::Get(&pow_30B30B), + Rule::Get(&imageAtomicCompSwap_01G20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01G20D00E00E), + Rule::Get(&smoothstep_10B10B10B), + Rule::Get(&smoothstep_10B10B10B), + Rule::Get(&textureProj_00O30B), + Rule::Get(&textureProj_00O30B), + Rule::Get(&textureQueryLod_00R10B), + Rule::Get(&imageAtomicAdd_01R10D00D00D), + Rule::Get( + &imageAtomicAddExt_01R10D00D00D), + Rule::Get(&imageAtomicAdd_01R10D00D00E), + Rule::Get( + &imageAtomicAddExt_01R10D00D00E), + Rule::Get(&imageAtomicExchange_01E20D00D), + Rule::Get( + &imageAtomicExchangeExt_01E20D00D), + Rule::Get(&imageAtomicMin_01Q10D00E), + Rule::Get( + &imageAtomicMinExt_01Q10D00E), + Rule::Get(&imageAtomicMin_01Q10D00D), + Rule::Get( + &imageAtomicMinExt_01Q10D00D), + Rule::Get(&imageAtomicExchange_01E20D00E), + Rule::Get( + &imageAtomicExchangeExt_01E20D00E), + Rule::Get(&isnan_00B), + Rule::Get(&isnan_00B), + Rule::Get(&isnan_00C), + Rule::Get(&imulExtended_10D10D10D10D), + Rule::Get(&imulExtended_10D10D10D10D), + Rule::Get(&textureProjGrad_00o10B00B00B), + Rule::Get(&imageAtomicMax_01i00D00D), + Rule::Get( + &imageAtomicMaxExt_01i00D00D), + Rule::Get(&imageAtomicMax_01i00D00E), + Rule::Get( + &imageAtomicMaxExt_01i00D00E), + Rule::Get(&refract_10C10C00B), + Rule::Get(&min_00E00E), + Rule::Get(&min_00E00E), + Rule::Get(&imageStore_01T10D00D30E), + Rule::Get(&texture2DProj_00I30B), + Rule::Get(&texture2DProj_00I30B), + Rule::Get(&textureGradOffset_00I10B10B10B10D), + Rule::Get(&textureGradOffset_00I10B10B10B10D), + Rule::Get(&textureLodOffset_00J20B00B20D), + Rule::Get(&textureLodOffset_00J20B00B20D), + Rule::Get(¬Equal_20B20B), + Rule::Get(¬Equal_20B20B), + Rule::Get(&atomicCompSwap_00D00D00D), + Rule::Get(&atomicCompSwap_00D00D00D), + Rule::Get(&textureOffset_00i20B00D), + Rule::Get(&dFdyFine_00B), + Rule::Get(&textureLod_00a20B00B), + Rule::Get(&textureLod_00a20B00B), + Rule::Get(&textureProj_00N30B), + Rule::Get(&refract_30C30C00B), + Rule::Get(&equal_30D30D), + Rule::Get(&equal_30D30D), + Rule::Get(&imageStore_01D20D30D), + Rule::Get(&imageStore_01D20D30D), + Rule::Get(&packSnorm2x16_10B), + Rule::Get(&packSnorm2x16_10B), + Rule::Get(&floatBitsToUint_30B), + Rule::Get(&floatBitsToUint_30B), + Rule::Get(&textureOffset_00R10B10D), + Rule::Get(&textureOffset_00R10B10D), + Rule::Get(&textureProjGrad_00q20B10B10B), + Rule::Get(&textureProjGradOffset_00R20B10B10B10D), + Rule::Get(&textureProjGradOffset_00R20B10B10B10D), + Rule::Get(&ldexp_30B30D), + Rule::Get(&ldexp_30B30D), + Rule::Get(&max_30B00B), + Rule::Get(&max_30B00B), + Rule::Get(&atomicCounterOr_00G00E), + Rule::Get(&imageAtomicMin_01i00D00E), + Rule::Get( + &imageAtomicMinExt_01i00D00E), + Rule::Get(&step_30B30B), + Rule::Get(&step_30B30B), + Rule::Get(&textureProj_00I30B00B), + Rule::Get(&textureProj_00I30B00B), + Rule::Get(&imageAtomicExchange_01D20D00E), + Rule::Get( + &imageAtomicExchangeExt_01D20D00E), + Rule::Get(&textureOffset_00g00B00D00B), + Rule::Get(&imageAtomicExchange_01D20D00B), + Rule::Get( + &imageAtomicExchangeExt_01D20D00B), + Rule::Get(&imageAtomicMin_01g00D00E), + Rule::Get( + &imageAtomicMinExt_01g00D00E), + Rule::Get(&imageAtomicMax_01c20D00D), + Rule::Get( + &imageAtomicMaxExt_01c20D00D), + Rule::Get(&abs_00D), + Rule::Get(&abs_00D), + Rule::Get(&abs_00C), + Rule::Get(&abs_00B), + Rule::Get(&abs_00B), + Rule::Get(&textureLod_00R10B00B), + Rule::Get(&textureLod_00R10B00B), + Rule::Get(&dFdxCoarse_10B), + Rule::Get(&texture1D_00g00B), + Rule::Get(&frexp_10C10D), + Rule::Get(&imageAtomicAdd_01g00D00E), + Rule::Get( + &imageAtomicAddExt_01g00D00E), + Rule::Get(&texture2DLod_00I10B00B), + Rule::Get(&texture2DLod_00I10B00B), + Rule::Get(&textureProjGradOffset_00X20B10B10B10D), + Rule::Get(&textureProjGradOffset_00X20B10B10B10D), + Rule::Get(&imageAtomicMax_01Z10D00D), + Rule::Get( + &imageAtomicMaxExt_01Z10D00D), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), + Rule::Get(&texture_00s30B), + Rule::Get(&EndPrimitive_), + Rule::Get( + &EndPrimitive_), + Rule::Get(&step_00B30B), + Rule::Get(&step_00B30B), + Rule::Get(&round_20B), + Rule::Get(&round_20B), + Rule::Get(&equal_30E30E), + Rule::Get(&equal_30E30E), + Rule::Get(&imageAtomicCompSwap_01R10D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01R10D00D00E00E), + Rule::Get(&imageAtomicAdd_01M00D00D), + Rule::Get( + &imageAtomicAddExt_01M00D00D), + Rule::Get(&step_00C20C), + Rule::Get(&dot_00C00C), + Rule::Get(&max_30C30C), + Rule::Get(&atomicOr_00D00D), + Rule::Get(&atomicOr_00D00D), + Rule::Get(&texture2DProj_00M20B), + Rule::Get(¬Equal_10D10D), + Rule::Get(¬Equal_10D10D), + Rule::Get(&imageAtomicExchange_01Z10D00D), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00D), + Rule::Get(&textureSize_00V), + Rule::Get(&textureSize_00V), + Rule::Get( + &textureSizeExt_00V), + Rule::Get(&imageAtomicAnd_01h00D00D), + Rule::Get( + &imageAtomicAndExt_01h00D00D), + Rule::Get(&min_20C00C), + Rule::Get(&imageAtomicAdd_01G20D00E), + Rule::Get( + &imageAtomicAddExt_01G20D00E), + Rule::Get(&imageAtomicAdd_01G20D00D), + Rule::Get( + &imageAtomicAddExt_01G20D00D), + Rule::Get(&findLSB_30D), + Rule::Get(&findLSB_30D), + Rule::Get(&findLSB_30E), + Rule::Get(&findLSB_30E), + Rule::Get(&textureProj_00X20B00B), + Rule::Get(&textureProj_00X20B00B), + Rule::Get(&shadow2D_00d20B), + Rule::Get(&textureGatherOffset_00U20B10D), + Rule::Get(&textureGatherOffset_00U20B10D), + Rule::Get(&imageAtomicExchange_01Z10D00E), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00E), + Rule::Get(&faceforward_10B10B10B), + Rule::Get(&faceforward_10B10B10B), + Rule::Get(&imageAtomicAnd_01h00D00E), + Rule::Get( + &imageAtomicAndExt_01h00D00E), + Rule::Get(&min_10D00D), + Rule::Get(&min_10D00D), + Rule::Get(&imageAtomicCompSwap_01J20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01J20D00D00D), + Rule::Get(&all_20F), + Rule::Get(&all_20F), Rule::Get(&imageSize_01J), Rule::Get(&imageSize_01J), Rule::Get(&imageSize_01K), Rule::Get(&imageSize_01K), - Rule::Get(&imageSize_01X), - Rule::Get(&imageSize_01X), - Rule::Get(&imageSize_01Y), - Rule::Get(&imageSize_01Y), - Rule::Get(&imageSize_01Z), - Rule::Get(&imageSize_01Z), - Rule::Get(&imageSize_01d), - Rule::Get(&imageSize_01d), - Rule::Get(&imageSize_01e), - Rule::Get(&imageSize_01e), - Rule::Get(&imageSize_01f), - Rule::Get(&imageSize_01f), + Rule::Get(&textureOffset_00t00B00D00B), + Rule::Get(&imageSize_01I), + Rule::Get(&imageSize_01I), + Rule::Get(&packHalf2x16_10B), + Rule::Get(&packHalf2x16_10B), + Rule::Get(&textureProj_00I20B00B), + Rule::Get(&textureProj_00I20B00B), Rule::Get(&imageSize_01L), Rule::Get(&imageSize_01M), - Rule::Get(&imageSize_01N), - Rule::Get(&imageSize_01a), - Rule::Get(&imageSize_01b), - Rule::Get(&imageSize_01c), - Rule::Get(&imageSize_01O), - Rule::Get(&imageSize_01P), - Rule::Get(&imageSize_01Q), - Rule::Get(&imageSize_01R), - Rule::Get(&imageSize_01S), - Rule::Get(&imageSize_01T), - Rule::Get(&imageSize_01U), - Rule::Get(&imageSize_01V), - Rule::Get(&imageSize_01W), - Rule::Get(&imageSamples_01R), - Rule::Get(&imageSamples_01S), - Rule::Get(&imageSamples_01T), - Rule::Get(&imageSamples_01U), - Rule::Get(&imageSamples_01V), - Rule::Get(&imageSamples_01W), - Rule::Get(&imageStore_00z10D30B), - Rule::Get(&imageStore_00z10D30B), - Rule::Get(&imageStore_01A10D30D), - Rule::Get(&imageStore_01A10D30D), - Rule::Get(&imageStore_01B10D30E), - Rule::Get(&imageStore_01B10D30E), - Rule::Get(&imageStore_01C20D30B), - Rule::Get(&imageStore_01C20D30B), - Rule::Get(&imageStore_01D20D30D), - Rule::Get(&imageStore_01D20D30D), - Rule::Get(&imageStore_01E20D30E), - Rule::Get(&imageStore_01E20D30E), - Rule::Get(&imageStore_01F20D30B), - Rule::Get(&imageStore_01F20D30B), - Rule::Get(&imageStore_01G20D30D), - Rule::Get(&imageStore_01G20D30D), - Rule::Get(&imageStore_01H20D30E), - Rule::Get(&imageStore_01H20D30E), - Rule::Get(&imageStore_01I20D30B), - Rule::Get(&imageStore_01I20D30B), - Rule::Get(&imageStore_01J20D30D), - Rule::Get(&imageStore_01J20D30D), - Rule::Get(&imageStore_01K20D30E), - Rule::Get(&imageStore_01K20D30E), - Rule::Get(&imageStore_01X20D30B), - Rule::Get(&imageStore_01X20D30B), - Rule::Get(&imageStore_01Y20D30D), - Rule::Get(&imageStore_01Y20D30D), - Rule::Get(&imageStore_01Z20D30E), - Rule::Get(&imageStore_01Z20D30E), - Rule::Get(&imageStore_01d00D30B), - Rule::Get(&imageStore_01d00D30B), - Rule::Get(&imageStore_01e00D30D), - Rule::Get(&imageStore_01e00D30D), - Rule::Get(&imageStore_01f00D30E), - Rule::Get(&imageStore_01f00D30E), - Rule::Get(&imageStore_01L00D30B), - Rule::Get(&imageStore_01M00D30D), - Rule::Get(&imageStore_01N00D30E), - Rule::Get(&imageStore_01O10D30B), - Rule::Get(&imageStore_01P10D30D), - Rule::Get(&imageStore_01Q10D30E), - Rule::Get(&imageStore_01a10D30B), - Rule::Get(&imageStore_01b10D30D), - Rule::Get(&imageStore_01c10D30E), - Rule::Get(&imageStore_01R10D00D30B), - Rule::Get(&imageStore_01S10D00D30D), - Rule::Get(&imageStore_01T10D00D30E), - Rule::Get(&imageStore_01U20D00D30B), - Rule::Get(&imageStore_01V20D00D30D), - Rule::Get(&imageStore_01W20D00D30E), - Rule::Get(&imageLoad_00z10D), - Rule::Get(&imageLoad_00z10D), - Rule::Get(&imageLoad_01A10D), - Rule::Get(&imageLoad_01A10D), - Rule::Get(&imageLoad_01B10D), - Rule::Get(&imageLoad_01B10D), - Rule::Get(&imageLoad_01C20D), - Rule::Get(&imageLoad_01C20D), - Rule::Get(&imageLoad_01D20D), - Rule::Get(&imageLoad_01D20D), - Rule::Get(&imageLoad_01E20D), - Rule::Get(&imageLoad_01E20D), - Rule::Get(&imageLoad_01F20D), - Rule::Get(&imageLoad_01F20D), - Rule::Get(&imageLoad_01G20D), - Rule::Get(&imageLoad_01G20D), - Rule::Get(&imageLoad_01H20D), - Rule::Get(&imageLoad_01H20D), - Rule::Get(&imageLoad_01I20D), - Rule::Get(&imageLoad_01I20D), - Rule::Get(&imageLoad_01J20D), - Rule::Get(&imageLoad_01J20D), - Rule::Get(&imageLoad_01K20D), - Rule::Get(&imageLoad_01K20D), - Rule::Get(&imageLoad_01X20D), - Rule::Get(&imageLoad_01X20D), - Rule::Get(&imageLoad_01Y20D), - Rule::Get(&imageLoad_01Y20D), - Rule::Get(&imageLoad_01Z20D), - Rule::Get(&imageLoad_01Z20D), - Rule::Get(&imageLoad_01d00D), - Rule::Get(&imageLoad_01d00D), - Rule::Get(&imageLoad_01e00D), - Rule::Get(&imageLoad_01e00D), - Rule::Get(&imageLoad_01f00D), - Rule::Get(&imageLoad_01f00D), - Rule::Get(&imageLoad_01L00D), - Rule::Get(&imageLoad_01M00D), - Rule::Get(&imageLoad_01N00D), - Rule::Get(&imageLoad_01O10D), - Rule::Get(&imageLoad_01P10D), - Rule::Get(&imageLoad_01Q10D), - Rule::Get(&imageLoad_01a10D), - Rule::Get(&imageLoad_01b10D), - Rule::Get(&imageLoad_01c10D), - Rule::Get(&imageLoad_01R10D00D), - Rule::Get(&imageLoad_01S10D00D), - Rule::Get(&imageLoad_01T10D00D), - Rule::Get(&imageLoad_01U20D00D), - Rule::Get(&imageLoad_01V20D00D), - Rule::Get(&imageLoad_01W20D00D), - Rule::Get(&imageAtomicAdd_00z10D00E), - Rule::Get( - &imageAtomicAddExt_00z10D00E), - Rule::Get(&imageAtomicAdd_01A10D00E), - Rule::Get( - &imageAtomicAddExt_01A10D00E), - Rule::Get(&imageAtomicAdd_01B10D00E), - Rule::Get( - &imageAtomicAddExt_01B10D00E), - Rule::Get(&imageAtomicAdd_01C20D00E), - Rule::Get( - &imageAtomicAddExt_01C20D00E), - Rule::Get(&imageAtomicAdd_01D20D00E), - Rule::Get( - &imageAtomicAddExt_01D20D00E), - Rule::Get(&imageAtomicAdd_01E20D00E), - Rule::Get( - &imageAtomicAddExt_01E20D00E), - Rule::Get(&imageAtomicAdd_01I20D00E), - Rule::Get( - &imageAtomicAddExt_01I20D00E), - Rule::Get(&imageAtomicAdd_01J20D00E), - Rule::Get( - &imageAtomicAddExt_01J20D00E), - Rule::Get(&imageAtomicAdd_01K20D00E), - Rule::Get( - &imageAtomicAddExt_01K20D00E), - Rule::Get(&imageAtomicAdd_01d00D00E), - Rule::Get( - &imageAtomicAddExt_01d00D00E), - Rule::Get(&imageAtomicAdd_01e00D00E), - Rule::Get( - &imageAtomicAddExt_01e00D00E), - Rule::Get(&imageAtomicAdd_01f00D00E), - Rule::Get( - &imageAtomicAddExt_01f00D00E), - Rule::Get(&imageAtomicAdd_01F20D00E), - Rule::Get( - &imageAtomicAddExt_01F20D00E), - Rule::Get(&imageAtomicAdd_01G20D00E), - Rule::Get( - &imageAtomicAddExt_01G20D00E), - Rule::Get(&imageAtomicAdd_01H20D00E), - Rule::Get( - &imageAtomicAddExt_01H20D00E), - Rule::Get(&imageAtomicAdd_01X20D00E), - Rule::Get( - &imageAtomicAddExt_01X20D00E), - Rule::Get(&imageAtomicAdd_01Y20D00E), - Rule::Get( - &imageAtomicAddExt_01Y20D00E), - Rule::Get(&imageAtomicAdd_01Z20D00E), - Rule::Get( - &imageAtomicAddExt_01Z20D00E), - Rule::Get(&imageAtomicAdd_01L00D00E), - Rule::Get( - &imageAtomicAddExt_01L00D00E), - Rule::Get(&imageAtomicAdd_01M00D00E), - Rule::Get( - &imageAtomicAddExt_01M00D00E), - Rule::Get(&imageAtomicAdd_01N00D00E), - Rule::Get( - &imageAtomicAddExt_01N00D00E), - Rule::Get(&imageAtomicAdd_01O10D00E), - Rule::Get( - &imageAtomicAddExt_01O10D00E), - Rule::Get(&imageAtomicAdd_01P10D00E), - Rule::Get( - &imageAtomicAddExt_01P10D00E), - Rule::Get(&imageAtomicAdd_01Q10D00E), - Rule::Get( - &imageAtomicAddExt_01Q10D00E), - Rule::Get(&imageAtomicAdd_01a10D00E), - Rule::Get( - &imageAtomicAddExt_01a10D00E), - Rule::Get(&imageAtomicAdd_01b10D00E), - Rule::Get( - &imageAtomicAddExt_01b10D00E), - Rule::Get(&imageAtomicAdd_01c10D00E), - Rule::Get( - &imageAtomicAddExt_01c10D00E), - Rule::Get(&imageAtomicAdd_01R10D00D00E), - Rule::Get( - &imageAtomicAddExt_01R10D00D00E), - Rule::Get(&imageAtomicAdd_01S10D00D00E), - Rule::Get( - &imageAtomicAddExt_01S10D00D00E), - Rule::Get(&imageAtomicAdd_01T10D00D00E), - Rule::Get( - &imageAtomicAddExt_01T10D00D00E), - Rule::Get(&imageAtomicAdd_01U20D00D00E), - Rule::Get( - &imageAtomicAddExt_01U20D00D00E), - Rule::Get(&imageAtomicAdd_01V20D00D00E), - Rule::Get( - &imageAtomicAddExt_01V20D00D00E), - Rule::Get(&imageAtomicAdd_01W20D00D00E), - Rule::Get( - &imageAtomicAddExt_01W20D00D00E), - Rule::Get(&imageAtomicAdd_00z10D00D), - Rule::Get( - &imageAtomicAddExt_00z10D00D), - Rule::Get(&imageAtomicAdd_01A10D00D), - Rule::Get( - &imageAtomicAddExt_01A10D00D), - Rule::Get(&imageAtomicAdd_01B10D00D), - Rule::Get( - &imageAtomicAddExt_01B10D00D), - Rule::Get(&imageAtomicAdd_01C20D00D), - Rule::Get( - &imageAtomicAddExt_01C20D00D), - Rule::Get(&imageAtomicAdd_01D20D00D), - Rule::Get( - &imageAtomicAddExt_01D20D00D), - Rule::Get(&imageAtomicAdd_01E20D00D), - Rule::Get( - &imageAtomicAddExt_01E20D00D), - Rule::Get(&imageAtomicAdd_01I20D00D), - Rule::Get( - &imageAtomicAddExt_01I20D00D), - Rule::Get(&imageAtomicAdd_01J20D00D), - Rule::Get( - &imageAtomicAddExt_01J20D00D), - Rule::Get(&imageAtomicAdd_01K20D00D), - Rule::Get( - &imageAtomicAddExt_01K20D00D), - Rule::Get(&imageAtomicAdd_01d00D00D), - Rule::Get( - &imageAtomicAddExt_01d00D00D), - Rule::Get(&imageAtomicAdd_01e00D00D), - Rule::Get( - &imageAtomicAddExt_01e00D00D), - Rule::Get(&imageAtomicAdd_01f00D00D), - Rule::Get( - &imageAtomicAddExt_01f00D00D), - Rule::Get(&imageAtomicAdd_01F20D00D), - Rule::Get( - &imageAtomicAddExt_01F20D00D), - Rule::Get(&imageAtomicAdd_01G20D00D), - Rule::Get( - &imageAtomicAddExt_01G20D00D), - Rule::Get(&imageAtomicAdd_01H20D00D), - Rule::Get( - &imageAtomicAddExt_01H20D00D), - Rule::Get(&imageAtomicAdd_01X20D00D), - Rule::Get( - &imageAtomicAddExt_01X20D00D), - Rule::Get(&imageAtomicAdd_01Y20D00D), - Rule::Get( - &imageAtomicAddExt_01Y20D00D), - Rule::Get(&imageAtomicAdd_01Z20D00D), - Rule::Get( - &imageAtomicAddExt_01Z20D00D), - Rule::Get(&imageAtomicAdd_01L00D00D), - Rule::Get( - &imageAtomicAddExt_01L00D00D), - Rule::Get(&imageAtomicAdd_01M00D00D), - Rule::Get( - &imageAtomicAddExt_01M00D00D), - Rule::Get(&imageAtomicAdd_01N00D00D), - Rule::Get( - &imageAtomicAddExt_01N00D00D), - Rule::Get(&imageAtomicAdd_01O10D00D), - Rule::Get( - &imageAtomicAddExt_01O10D00D), - Rule::Get(&imageAtomicAdd_01P10D00D), - Rule::Get( - &imageAtomicAddExt_01P10D00D), - Rule::Get(&imageAtomicAdd_01Q10D00D), - Rule::Get( - &imageAtomicAddExt_01Q10D00D), - Rule::Get(&imageAtomicAdd_01a10D00D), - Rule::Get( - &imageAtomicAddExt_01a10D00D), - Rule::Get(&imageAtomicAdd_01b10D00D), - Rule::Get( - &imageAtomicAddExt_01b10D00D), - Rule::Get(&imageAtomicAdd_01c10D00D), - Rule::Get( - &imageAtomicAddExt_01c10D00D), - Rule::Get(&imageAtomicAdd_01R10D00D00D), - Rule::Get( - &imageAtomicAddExt_01R10D00D00D), - Rule::Get(&imageAtomicAdd_01S10D00D00D), - Rule::Get( - &imageAtomicAddExt_01S10D00D00D), - Rule::Get(&imageAtomicAdd_01T10D00D00D), - Rule::Get( - &imageAtomicAddExt_01T10D00D00D), - Rule::Get(&imageAtomicAdd_01U20D00D00D), - Rule::Get( - &imageAtomicAddExt_01U20D00D00D), - Rule::Get(&imageAtomicAdd_01V20D00D00D), - Rule::Get( - &imageAtomicAddExt_01V20D00D00D), - Rule::Get(&imageAtomicAdd_01W20D00D00D), - Rule::Get( - &imageAtomicAddExt_01W20D00D00D), - Rule::Get(&imageAtomicMin_00z10D00E), - Rule::Get( - &imageAtomicMinExt_00z10D00E), - Rule::Get(&imageAtomicMin_01A10D00E), - Rule::Get( - &imageAtomicMinExt_01A10D00E), - Rule::Get(&imageAtomicMin_01B10D00E), - Rule::Get( - &imageAtomicMinExt_01B10D00E), - Rule::Get(&imageAtomicMin_01C20D00E), - Rule::Get( - &imageAtomicMinExt_01C20D00E), - Rule::Get(&imageAtomicMin_01D20D00E), - Rule::Get( - &imageAtomicMinExt_01D20D00E), - Rule::Get(&imageAtomicMin_01E20D00E), - Rule::Get( - &imageAtomicMinExt_01E20D00E), - Rule::Get(&imageAtomicMin_01I20D00E), - Rule::Get( - &imageAtomicMinExt_01I20D00E), - Rule::Get(&imageAtomicMin_01J20D00E), - Rule::Get( - &imageAtomicMinExt_01J20D00E), - Rule::Get(&imageAtomicMin_01K20D00E), - Rule::Get( - &imageAtomicMinExt_01K20D00E), - Rule::Get(&imageAtomicMin_01d00D00E), - Rule::Get( - &imageAtomicMinExt_01d00D00E), - Rule::Get(&imageAtomicMin_01e00D00E), - Rule::Get( - &imageAtomicMinExt_01e00D00E), - Rule::Get(&imageAtomicMin_01f00D00E), - Rule::Get( - &imageAtomicMinExt_01f00D00E), - Rule::Get(&imageAtomicMin_01F20D00E), - Rule::Get( - &imageAtomicMinExt_01F20D00E), - Rule::Get(&imageAtomicMin_01G20D00E), - Rule::Get( - &imageAtomicMinExt_01G20D00E), - Rule::Get(&imageAtomicMin_01H20D00E), - Rule::Get( - &imageAtomicMinExt_01H20D00E), - Rule::Get(&imageAtomicMin_01X20D00E), - Rule::Get( - &imageAtomicMinExt_01X20D00E), - Rule::Get(&imageAtomicMin_01Y20D00E), - Rule::Get( - &imageAtomicMinExt_01Y20D00E), - Rule::Get(&imageAtomicMin_01Z20D00E), - Rule::Get( - &imageAtomicMinExt_01Z20D00E), - Rule::Get(&imageAtomicMin_01L00D00E), - Rule::Get( - &imageAtomicMinExt_01L00D00E), - Rule::Get(&imageAtomicMin_01M00D00E), - Rule::Get( - &imageAtomicMinExt_01M00D00E), - Rule::Get(&imageAtomicMin_01N00D00E), - Rule::Get( - &imageAtomicMinExt_01N00D00E), - Rule::Get(&imageAtomicMin_01O10D00E), - Rule::Get( - &imageAtomicMinExt_01O10D00E), - Rule::Get(&imageAtomicMin_01P10D00E), - Rule::Get( - &imageAtomicMinExt_01P10D00E), - Rule::Get(&imageAtomicMin_01Q10D00E), - Rule::Get( - &imageAtomicMinExt_01Q10D00E), - Rule::Get(&imageAtomicMin_01a10D00E), - Rule::Get( - &imageAtomicMinExt_01a10D00E), - Rule::Get(&imageAtomicMin_01b10D00E), - Rule::Get( - &imageAtomicMinExt_01b10D00E), - Rule::Get(&imageAtomicMin_01c10D00E), - Rule::Get( - &imageAtomicMinExt_01c10D00E), - Rule::Get(&imageAtomicMin_01R10D00D00E), - Rule::Get( - &imageAtomicMinExt_01R10D00D00E), - Rule::Get(&imageAtomicMin_01S10D00D00E), - Rule::Get( - &imageAtomicMinExt_01S10D00D00E), - Rule::Get(&imageAtomicMin_01T10D00D00E), - Rule::Get( - &imageAtomicMinExt_01T10D00D00E), - Rule::Get(&imageAtomicMin_01U20D00D00E), - Rule::Get( - &imageAtomicMinExt_01U20D00D00E), - Rule::Get(&imageAtomicMin_01V20D00D00E), - Rule::Get( - &imageAtomicMinExt_01V20D00D00E), - Rule::Get(&imageAtomicMin_01W20D00D00E), - Rule::Get( - &imageAtomicMinExt_01W20D00D00E), - Rule::Get(&imageAtomicMin_00z10D00D), - Rule::Get( - &imageAtomicMinExt_00z10D00D), - Rule::Get(&imageAtomicMin_01A10D00D), - Rule::Get( - &imageAtomicMinExt_01A10D00D), - Rule::Get(&imageAtomicMin_01B10D00D), - Rule::Get( - &imageAtomicMinExt_01B10D00D), - Rule::Get(&imageAtomicMin_01C20D00D), - Rule::Get( - &imageAtomicMinExt_01C20D00D), - Rule::Get(&imageAtomicMin_01D20D00D), - Rule::Get( - &imageAtomicMinExt_01D20D00D), - Rule::Get(&imageAtomicMin_01E20D00D), - Rule::Get( - &imageAtomicMinExt_01E20D00D), - Rule::Get(&imageAtomicMin_01I20D00D), - Rule::Get( - &imageAtomicMinExt_01I20D00D), - Rule::Get(&imageAtomicMin_01J20D00D), - Rule::Get( - &imageAtomicMinExt_01J20D00D), - Rule::Get(&imageAtomicMin_01K20D00D), - Rule::Get( - &imageAtomicMinExt_01K20D00D), - Rule::Get(&imageAtomicMin_01d00D00D), - Rule::Get( - &imageAtomicMinExt_01d00D00D), - Rule::Get(&imageAtomicMin_01e00D00D), - Rule::Get( - &imageAtomicMinExt_01e00D00D), - Rule::Get(&imageAtomicMin_01f00D00D), - Rule::Get( - &imageAtomicMinExt_01f00D00D), - Rule::Get(&imageAtomicMin_01F20D00D), - Rule::Get( - &imageAtomicMinExt_01F20D00D), - Rule::Get(&imageAtomicMin_01G20D00D), - Rule::Get( - &imageAtomicMinExt_01G20D00D), - Rule::Get(&imageAtomicMin_01H20D00D), - Rule::Get( - &imageAtomicMinExt_01H20D00D), - Rule::Get(&imageAtomicMin_01X20D00D), - Rule::Get( - &imageAtomicMinExt_01X20D00D), - Rule::Get(&imageAtomicMin_01Y20D00D), - Rule::Get( - &imageAtomicMinExt_01Y20D00D), - Rule::Get(&imageAtomicMin_01Z20D00D), - Rule::Get( - &imageAtomicMinExt_01Z20D00D), - Rule::Get(&imageAtomicMin_01L00D00D), - Rule::Get( - &imageAtomicMinExt_01L00D00D), - Rule::Get(&imageAtomicMin_01M00D00D), - Rule::Get( - &imageAtomicMinExt_01M00D00D), - Rule::Get(&imageAtomicMin_01N00D00D), - Rule::Get( - &imageAtomicMinExt_01N00D00D), - Rule::Get(&imageAtomicMin_01O10D00D), - Rule::Get( - &imageAtomicMinExt_01O10D00D), - Rule::Get(&imageAtomicMin_01P10D00D), - Rule::Get( - &imageAtomicMinExt_01P10D00D), - Rule::Get(&imageAtomicMin_01Q10D00D), - Rule::Get( - &imageAtomicMinExt_01Q10D00D), - Rule::Get(&imageAtomicMin_01a10D00D), - Rule::Get( - &imageAtomicMinExt_01a10D00D), - Rule::Get(&imageAtomicMin_01b10D00D), - Rule::Get( - &imageAtomicMinExt_01b10D00D), - Rule::Get(&imageAtomicMin_01c10D00D), - Rule::Get( - &imageAtomicMinExt_01c10D00D), - Rule::Get(&imageAtomicMin_01R10D00D00D), - Rule::Get( - &imageAtomicMinExt_01R10D00D00D), - Rule::Get(&imageAtomicMin_01S10D00D00D), - Rule::Get( - &imageAtomicMinExt_01S10D00D00D), - Rule::Get(&imageAtomicMin_01T10D00D00D), - Rule::Get( - &imageAtomicMinExt_01T10D00D00D), - Rule::Get(&imageAtomicMin_01U20D00D00D), - Rule::Get( - &imageAtomicMinExt_01U20D00D00D), - Rule::Get(&imageAtomicMin_01V20D00D00D), - Rule::Get( - &imageAtomicMinExt_01V20D00D00D), - Rule::Get(&imageAtomicMin_01W20D00D00D), - Rule::Get( - &imageAtomicMinExt_01W20D00D00D), - Rule::Get(&imageAtomicMax_00z10D00E), - Rule::Get( - &imageAtomicMaxExt_00z10D00E), - Rule::Get(&imageAtomicMax_01A10D00E), - Rule::Get( - &imageAtomicMaxExt_01A10D00E), - Rule::Get(&imageAtomicMax_01B10D00E), - Rule::Get( - &imageAtomicMaxExt_01B10D00E), - Rule::Get(&imageAtomicMax_01C20D00E), - Rule::Get( - &imageAtomicMaxExt_01C20D00E), - Rule::Get(&imageAtomicMax_01D20D00E), - Rule::Get( - &imageAtomicMaxExt_01D20D00E), - Rule::Get(&imageAtomicMax_01E20D00E), - Rule::Get( - &imageAtomicMaxExt_01E20D00E), - Rule::Get(&imageAtomicMax_01I20D00E), - Rule::Get( - &imageAtomicMaxExt_01I20D00E), - Rule::Get(&imageAtomicMax_01J20D00E), - Rule::Get( - &imageAtomicMaxExt_01J20D00E), - Rule::Get(&imageAtomicMax_01K20D00E), - Rule::Get( - &imageAtomicMaxExt_01K20D00E), - Rule::Get(&imageAtomicMax_01d00D00E), - Rule::Get( - &imageAtomicMaxExt_01d00D00E), - Rule::Get(&imageAtomicMax_01e00D00E), - Rule::Get( - &imageAtomicMaxExt_01e00D00E), - Rule::Get(&imageAtomicMax_01f00D00E), - Rule::Get( - &imageAtomicMaxExt_01f00D00E), - Rule::Get(&imageAtomicMax_01F20D00E), - Rule::Get( - &imageAtomicMaxExt_01F20D00E), - Rule::Get(&imageAtomicMax_01G20D00E), - Rule::Get( - &imageAtomicMaxExt_01G20D00E), - Rule::Get(&imageAtomicMax_01H20D00E), - Rule::Get( - &imageAtomicMaxExt_01H20D00E), - Rule::Get(&imageAtomicMax_01X20D00E), - Rule::Get( - &imageAtomicMaxExt_01X20D00E), - Rule::Get(&imageAtomicMax_01Y20D00E), - Rule::Get( - &imageAtomicMaxExt_01Y20D00E), - Rule::Get(&imageAtomicMax_01Z20D00E), - Rule::Get( - &imageAtomicMaxExt_01Z20D00E), - Rule::Get(&imageAtomicMax_01L00D00E), - Rule::Get( - &imageAtomicMaxExt_01L00D00E), - Rule::Get(&imageAtomicMax_01M00D00E), - Rule::Get( - &imageAtomicMaxExt_01M00D00E), - Rule::Get(&imageAtomicMax_01N00D00E), - Rule::Get( - &imageAtomicMaxExt_01N00D00E), - Rule::Get(&imageAtomicMax_01O10D00E), - Rule::Get( - &imageAtomicMaxExt_01O10D00E), - Rule::Get(&imageAtomicMax_01P10D00E), - Rule::Get( - &imageAtomicMaxExt_01P10D00E), - Rule::Get(&imageAtomicMax_01Q10D00E), - Rule::Get( - &imageAtomicMaxExt_01Q10D00E), - Rule::Get(&imageAtomicMax_01a10D00E), - Rule::Get( - &imageAtomicMaxExt_01a10D00E), - Rule::Get(&imageAtomicMax_01b10D00E), - Rule::Get( - &imageAtomicMaxExt_01b10D00E), - Rule::Get(&imageAtomicMax_01c10D00E), - Rule::Get( - &imageAtomicMaxExt_01c10D00E), - Rule::Get(&imageAtomicMax_01R10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01R10D00D00E), - Rule::Get(&imageAtomicMax_01S10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01S10D00D00E), - Rule::Get(&imageAtomicMax_01T10D00D00E), - Rule::Get( - &imageAtomicMaxExt_01T10D00D00E), - Rule::Get(&imageAtomicMax_01U20D00D00E), - Rule::Get( - &imageAtomicMaxExt_01U20D00D00E), - Rule::Get(&imageAtomicMax_01V20D00D00E), - Rule::Get( - &imageAtomicMaxExt_01V20D00D00E), - Rule::Get(&imageAtomicMax_01W20D00D00E), - Rule::Get( - &imageAtomicMaxExt_01W20D00D00E), - Rule::Get(&imageAtomicMax_00z10D00D), - Rule::Get( - &imageAtomicMaxExt_00z10D00D), - Rule::Get(&imageAtomicMax_01A10D00D), - Rule::Get( - &imageAtomicMaxExt_01A10D00D), - Rule::Get(&imageAtomicMax_01B10D00D), - Rule::Get( - &imageAtomicMaxExt_01B10D00D), - Rule::Get(&imageAtomicMax_01C20D00D), - Rule::Get( - &imageAtomicMaxExt_01C20D00D), - Rule::Get(&imageAtomicMax_01D20D00D), - Rule::Get( - &imageAtomicMaxExt_01D20D00D), - Rule::Get(&imageAtomicMax_01E20D00D), - Rule::Get( - &imageAtomicMaxExt_01E20D00D), - Rule::Get(&imageAtomicMax_01I20D00D), - Rule::Get( - &imageAtomicMaxExt_01I20D00D), - Rule::Get(&imageAtomicMax_01J20D00D), - Rule::Get( - &imageAtomicMaxExt_01J20D00D), - Rule::Get(&imageAtomicMax_01K20D00D), - Rule::Get( - &imageAtomicMaxExt_01K20D00D), - Rule::Get(&imageAtomicMax_01d00D00D), - Rule::Get( - &imageAtomicMaxExt_01d00D00D), - Rule::Get(&imageAtomicMax_01e00D00D), - Rule::Get( - &imageAtomicMaxExt_01e00D00D), - Rule::Get(&imageAtomicMax_01f00D00D), - Rule::Get( - &imageAtomicMaxExt_01f00D00D), - Rule::Get(&imageAtomicMax_01F20D00D), - Rule::Get( - &imageAtomicMaxExt_01F20D00D), - Rule::Get(&imageAtomicMax_01G20D00D), - Rule::Get( - &imageAtomicMaxExt_01G20D00D), - Rule::Get(&imageAtomicMax_01H20D00D), - Rule::Get( - &imageAtomicMaxExt_01H20D00D), - Rule::Get(&imageAtomicMax_01X20D00D), - Rule::Get( - &imageAtomicMaxExt_01X20D00D), - Rule::Get(&imageAtomicMax_01Y20D00D), - Rule::Get( - &imageAtomicMaxExt_01Y20D00D), - Rule::Get(&imageAtomicMax_01Z20D00D), - Rule::Get( - &imageAtomicMaxExt_01Z20D00D), - Rule::Get(&imageAtomicMax_01L00D00D), - Rule::Get( - &imageAtomicMaxExt_01L00D00D), - Rule::Get(&imageAtomicMax_01M00D00D), - Rule::Get( - &imageAtomicMaxExt_01M00D00D), - Rule::Get(&imageAtomicMax_01N00D00D), - Rule::Get( - &imageAtomicMaxExt_01N00D00D), - Rule::Get(&imageAtomicMax_01O10D00D), - Rule::Get( - &imageAtomicMaxExt_01O10D00D), - Rule::Get(&imageAtomicMax_01P10D00D), - Rule::Get( - &imageAtomicMaxExt_01P10D00D), - Rule::Get(&imageAtomicMax_01Q10D00D), - Rule::Get( - &imageAtomicMaxExt_01Q10D00D), - Rule::Get(&imageAtomicMax_01a10D00D), - Rule::Get( - &imageAtomicMaxExt_01a10D00D), - Rule::Get(&imageAtomicMax_01b10D00D), - Rule::Get( - &imageAtomicMaxExt_01b10D00D), - Rule::Get(&imageAtomicMax_01c10D00D), - Rule::Get( - &imageAtomicMaxExt_01c10D00D), - Rule::Get(&imageAtomicMax_01R10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01R10D00D00D), - Rule::Get(&imageAtomicMax_01S10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01S10D00D00D), - Rule::Get(&imageAtomicMax_01T10D00D00D), - Rule::Get( - &imageAtomicMaxExt_01T10D00D00D), - Rule::Get(&imageAtomicMax_01U20D00D00D), - Rule::Get( - &imageAtomicMaxExt_01U20D00D00D), - Rule::Get(&imageAtomicMax_01V20D00D00D), - Rule::Get( - &imageAtomicMaxExt_01V20D00D00D), - Rule::Get(&imageAtomicMax_01W20D00D00D), - Rule::Get( - &imageAtomicMaxExt_01W20D00D00D), - Rule::Get(&imageAtomicAnd_00z10D00E), - Rule::Get( - &imageAtomicAndExt_00z10D00E), - Rule::Get(&imageAtomicAnd_01A10D00E), - Rule::Get( - &imageAtomicAndExt_01A10D00E), - Rule::Get(&imageAtomicAnd_01B10D00E), - Rule::Get( - &imageAtomicAndExt_01B10D00E), - Rule::Get(&imageAtomicAnd_01C20D00E), - Rule::Get( - &imageAtomicAndExt_01C20D00E), - Rule::Get(&imageAtomicAnd_01D20D00E), - Rule::Get( - &imageAtomicAndExt_01D20D00E), - Rule::Get(&imageAtomicAnd_01E20D00E), - Rule::Get( - &imageAtomicAndExt_01E20D00E), - Rule::Get(&imageAtomicAnd_01I20D00E), - Rule::Get( - &imageAtomicAndExt_01I20D00E), - Rule::Get(&imageAtomicAnd_01J20D00E), - Rule::Get( - &imageAtomicAndExt_01J20D00E), - Rule::Get(&imageAtomicAnd_01K20D00E), - Rule::Get( - &imageAtomicAndExt_01K20D00E), - Rule::Get(&imageAtomicAnd_01d00D00E), - Rule::Get( - &imageAtomicAndExt_01d00D00E), - Rule::Get(&imageAtomicAnd_01e00D00E), - Rule::Get( - &imageAtomicAndExt_01e00D00E), - Rule::Get(&imageAtomicAnd_01f00D00E), - Rule::Get( - &imageAtomicAndExt_01f00D00E), - Rule::Get(&imageAtomicAnd_01F20D00E), - Rule::Get( - &imageAtomicAndExt_01F20D00E), - Rule::Get(&imageAtomicAnd_01G20D00E), - Rule::Get( - &imageAtomicAndExt_01G20D00E), - Rule::Get(&imageAtomicAnd_01H20D00E), - Rule::Get( - &imageAtomicAndExt_01H20D00E), - Rule::Get(&imageAtomicAnd_01X20D00E), - Rule::Get( - &imageAtomicAndExt_01X20D00E), - Rule::Get(&imageAtomicAnd_01Y20D00E), - Rule::Get( - &imageAtomicAndExt_01Y20D00E), - Rule::Get(&imageAtomicAnd_01Z20D00E), - Rule::Get( - &imageAtomicAndExt_01Z20D00E), - Rule::Get(&imageAtomicAnd_01L00D00E), - Rule::Get( - &imageAtomicAndExt_01L00D00E), - Rule::Get(&imageAtomicAnd_01M00D00E), - Rule::Get( - &imageAtomicAndExt_01M00D00E), - Rule::Get(&imageAtomicAnd_01N00D00E), - Rule::Get( - &imageAtomicAndExt_01N00D00E), - Rule::Get(&imageAtomicAnd_01O10D00E), - Rule::Get( - &imageAtomicAndExt_01O10D00E), - Rule::Get(&imageAtomicAnd_01P10D00E), - Rule::Get( - &imageAtomicAndExt_01P10D00E), - Rule::Get(&imageAtomicAnd_01Q10D00E), - Rule::Get( - &imageAtomicAndExt_01Q10D00E), - Rule::Get(&imageAtomicAnd_01a10D00E), - Rule::Get( - &imageAtomicAndExt_01a10D00E), - Rule::Get(&imageAtomicAnd_01b10D00E), - Rule::Get( - &imageAtomicAndExt_01b10D00E), - Rule::Get(&imageAtomicAnd_01c10D00E), - Rule::Get( - &imageAtomicAndExt_01c10D00E), - Rule::Get(&imageAtomicAnd_01R10D00D00E), - Rule::Get( - &imageAtomicAndExt_01R10D00D00E), - Rule::Get(&imageAtomicAnd_01S10D00D00E), - Rule::Get( - &imageAtomicAndExt_01S10D00D00E), - Rule::Get(&imageAtomicAnd_01T10D00D00E), - Rule::Get( - &imageAtomicAndExt_01T10D00D00E), - Rule::Get(&imageAtomicAnd_01U20D00D00E), - Rule::Get( - &imageAtomicAndExt_01U20D00D00E), - Rule::Get(&imageAtomicAnd_01V20D00D00E), - Rule::Get( - &imageAtomicAndExt_01V20D00D00E), - Rule::Get(&imageAtomicAnd_01W20D00D00E), - Rule::Get( - &imageAtomicAndExt_01W20D00D00E), - Rule::Get(&imageAtomicAnd_00z10D00D), - Rule::Get( - &imageAtomicAndExt_00z10D00D), - Rule::Get(&imageAtomicAnd_01A10D00D), - Rule::Get( - &imageAtomicAndExt_01A10D00D), - Rule::Get(&imageAtomicAnd_01B10D00D), - Rule::Get( - &imageAtomicAndExt_01B10D00D), - Rule::Get(&imageAtomicAnd_01C20D00D), - Rule::Get( - &imageAtomicAndExt_01C20D00D), - Rule::Get(&imageAtomicAnd_01D20D00D), - Rule::Get( - &imageAtomicAndExt_01D20D00D), - Rule::Get(&imageAtomicAnd_01E20D00D), - Rule::Get( - &imageAtomicAndExt_01E20D00D), - Rule::Get(&imageAtomicAnd_01I20D00D), - Rule::Get( - &imageAtomicAndExt_01I20D00D), - Rule::Get(&imageAtomicAnd_01J20D00D), - Rule::Get( - &imageAtomicAndExt_01J20D00D), - Rule::Get(&imageAtomicAnd_01K20D00D), - Rule::Get( - &imageAtomicAndExt_01K20D00D), - Rule::Get(&imageAtomicAnd_01d00D00D), - Rule::Get( - &imageAtomicAndExt_01d00D00D), - Rule::Get(&imageAtomicAnd_01e00D00D), - Rule::Get( - &imageAtomicAndExt_01e00D00D), - Rule::Get(&imageAtomicAnd_01f00D00D), - Rule::Get( - &imageAtomicAndExt_01f00D00D), - Rule::Get(&imageAtomicAnd_01F20D00D), - Rule::Get( - &imageAtomicAndExt_01F20D00D), - Rule::Get(&imageAtomicAnd_01G20D00D), - Rule::Get( - &imageAtomicAndExt_01G20D00D), - Rule::Get(&imageAtomicAnd_01H20D00D), - Rule::Get( - &imageAtomicAndExt_01H20D00D), - Rule::Get(&imageAtomicAnd_01X20D00D), - Rule::Get( - &imageAtomicAndExt_01X20D00D), - Rule::Get(&imageAtomicAnd_01Y20D00D), - Rule::Get( - &imageAtomicAndExt_01Y20D00D), - Rule::Get(&imageAtomicAnd_01Z20D00D), - Rule::Get( - &imageAtomicAndExt_01Z20D00D), - Rule::Get(&imageAtomicAnd_01L00D00D), - Rule::Get( - &imageAtomicAndExt_01L00D00D), - Rule::Get(&imageAtomicAnd_01M00D00D), - Rule::Get( - &imageAtomicAndExt_01M00D00D), - Rule::Get(&imageAtomicAnd_01N00D00D), - Rule::Get( - &imageAtomicAndExt_01N00D00D), - Rule::Get(&imageAtomicAnd_01O10D00D), - Rule::Get( - &imageAtomicAndExt_01O10D00D), - Rule::Get(&imageAtomicAnd_01P10D00D), - Rule::Get( - &imageAtomicAndExt_01P10D00D), - Rule::Get(&imageAtomicAnd_01Q10D00D), - Rule::Get( - &imageAtomicAndExt_01Q10D00D), - Rule::Get(&imageAtomicAnd_01a10D00D), - Rule::Get( - &imageAtomicAndExt_01a10D00D), - Rule::Get(&imageAtomicAnd_01b10D00D), - Rule::Get( - &imageAtomicAndExt_01b10D00D), - Rule::Get(&imageAtomicAnd_01c10D00D), - Rule::Get( - &imageAtomicAndExt_01c10D00D), - Rule::Get(&imageAtomicAnd_01R10D00D00D), - Rule::Get( - &imageAtomicAndExt_01R10D00D00D), - Rule::Get(&imageAtomicAnd_01S10D00D00D), - Rule::Get( - &imageAtomicAndExt_01S10D00D00D), - Rule::Get(&imageAtomicAnd_01T10D00D00D), - Rule::Get( - &imageAtomicAndExt_01T10D00D00D), - Rule::Get(&imageAtomicAnd_01U20D00D00D), - Rule::Get( - &imageAtomicAndExt_01U20D00D00D), - Rule::Get(&imageAtomicAnd_01V20D00D00D), - Rule::Get( - &imageAtomicAndExt_01V20D00D00D), - Rule::Get(&imageAtomicAnd_01W20D00D00D), - Rule::Get( - &imageAtomicAndExt_01W20D00D00D), - Rule::Get(&imageAtomicOr_00z10D00E), - Rule::Get( - &imageAtomicOrExt_00z10D00E), - Rule::Get(&imageAtomicOr_01A10D00E), - Rule::Get( - &imageAtomicOrExt_01A10D00E), - Rule::Get(&imageAtomicOr_01B10D00E), - Rule::Get( - &imageAtomicOrExt_01B10D00E), - Rule::Get(&imageAtomicOr_01C20D00E), - Rule::Get( - &imageAtomicOrExt_01C20D00E), - Rule::Get(&imageAtomicOr_01D20D00E), - Rule::Get( - &imageAtomicOrExt_01D20D00E), - Rule::Get(&imageAtomicOr_01E20D00E), - Rule::Get( - &imageAtomicOrExt_01E20D00E), - Rule::Get(&imageAtomicOr_01I20D00E), - Rule::Get( - &imageAtomicOrExt_01I20D00E), - Rule::Get(&imageAtomicOr_01J20D00E), - Rule::Get( - &imageAtomicOrExt_01J20D00E), - Rule::Get(&imageAtomicOr_01K20D00E), - Rule::Get( - &imageAtomicOrExt_01K20D00E), - Rule::Get(&imageAtomicOr_01d00D00E), - Rule::Get( - &imageAtomicOrExt_01d00D00E), - Rule::Get(&imageAtomicOr_01e00D00E), - Rule::Get( - &imageAtomicOrExt_01e00D00E), - Rule::Get(&imageAtomicOr_01f00D00E), - Rule::Get( - &imageAtomicOrExt_01f00D00E), - Rule::Get(&imageAtomicOr_01F20D00E), - Rule::Get( - &imageAtomicOrExt_01F20D00E), - Rule::Get(&imageAtomicOr_01G20D00E), - Rule::Get( - &imageAtomicOrExt_01G20D00E), - Rule::Get(&imageAtomicOr_01H20D00E), - Rule::Get( - &imageAtomicOrExt_01H20D00E), - Rule::Get(&imageAtomicOr_01X20D00E), - Rule::Get( - &imageAtomicOrExt_01X20D00E), - Rule::Get(&imageAtomicOr_01Y20D00E), - Rule::Get( - &imageAtomicOrExt_01Y20D00E), - Rule::Get(&imageAtomicOr_01Z20D00E), - Rule::Get( - &imageAtomicOrExt_01Z20D00E), - Rule::Get(&imageAtomicOr_01L00D00E), - Rule::Get( - &imageAtomicOrExt_01L00D00E), - Rule::Get(&imageAtomicOr_01M00D00E), - Rule::Get( - &imageAtomicOrExt_01M00D00E), - Rule::Get(&imageAtomicOr_01N00D00E), - Rule::Get( - &imageAtomicOrExt_01N00D00E), - Rule::Get(&imageAtomicOr_01O10D00E), - Rule::Get( - &imageAtomicOrExt_01O10D00E), - Rule::Get(&imageAtomicOr_01P10D00E), - Rule::Get( - &imageAtomicOrExt_01P10D00E), - Rule::Get(&imageAtomicOr_01Q10D00E), - Rule::Get( - &imageAtomicOrExt_01Q10D00E), - Rule::Get(&imageAtomicOr_01a10D00E), - Rule::Get( - &imageAtomicOrExt_01a10D00E), - Rule::Get(&imageAtomicOr_01b10D00E), - Rule::Get( - &imageAtomicOrExt_01b10D00E), - Rule::Get(&imageAtomicOr_01c10D00E), - Rule::Get( - &imageAtomicOrExt_01c10D00E), - Rule::Get(&imageAtomicOr_01R10D00D00E), - Rule::Get( - &imageAtomicOrExt_01R10D00D00E), - Rule::Get(&imageAtomicOr_01S10D00D00E), - Rule::Get( - &imageAtomicOrExt_01S10D00D00E), - Rule::Get(&imageAtomicOr_01T10D00D00E), - Rule::Get( - &imageAtomicOrExt_01T10D00D00E), - Rule::Get(&imageAtomicOr_01U20D00D00E), - Rule::Get( - &imageAtomicOrExt_01U20D00D00E), - Rule::Get(&imageAtomicOr_01V20D00D00E), - Rule::Get( - &imageAtomicOrExt_01V20D00D00E), - Rule::Get(&imageAtomicOr_01W20D00D00E), - Rule::Get( - &imageAtomicOrExt_01W20D00D00E), - Rule::Get(&imageAtomicOr_00z10D00D), - Rule::Get( - &imageAtomicOrExt_00z10D00D), - Rule::Get(&imageAtomicOr_01A10D00D), - Rule::Get( - &imageAtomicOrExt_01A10D00D), - Rule::Get(&imageAtomicOr_01B10D00D), - Rule::Get( - &imageAtomicOrExt_01B10D00D), - Rule::Get(&imageAtomicOr_01C20D00D), - Rule::Get( - &imageAtomicOrExt_01C20D00D), - Rule::Get(&imageAtomicOr_01D20D00D), - Rule::Get( - &imageAtomicOrExt_01D20D00D), - Rule::Get(&imageAtomicOr_01E20D00D), - Rule::Get( - &imageAtomicOrExt_01E20D00D), - Rule::Get(&imageAtomicOr_01I20D00D), - Rule::Get( - &imageAtomicOrExt_01I20D00D), - Rule::Get(&imageAtomicOr_01J20D00D), - Rule::Get( - &imageAtomicOrExt_01J20D00D), - Rule::Get(&imageAtomicOr_01K20D00D), - Rule::Get( - &imageAtomicOrExt_01K20D00D), - Rule::Get(&imageAtomicOr_01d00D00D), - Rule::Get( - &imageAtomicOrExt_01d00D00D), - Rule::Get(&imageAtomicOr_01e00D00D), - Rule::Get( - &imageAtomicOrExt_01e00D00D), - Rule::Get(&imageAtomicOr_01f00D00D), - Rule::Get( - &imageAtomicOrExt_01f00D00D), - Rule::Get(&imageAtomicOr_01F20D00D), - Rule::Get( - &imageAtomicOrExt_01F20D00D), - Rule::Get(&imageAtomicOr_01G20D00D), - Rule::Get( - &imageAtomicOrExt_01G20D00D), - Rule::Get(&imageAtomicOr_01H20D00D), - Rule::Get( - &imageAtomicOrExt_01H20D00D), - Rule::Get(&imageAtomicOr_01X20D00D), - Rule::Get( - &imageAtomicOrExt_01X20D00D), - Rule::Get(&imageAtomicOr_01Y20D00D), - Rule::Get( - &imageAtomicOrExt_01Y20D00D), - Rule::Get(&imageAtomicOr_01Z20D00D), - Rule::Get( - &imageAtomicOrExt_01Z20D00D), - Rule::Get(&imageAtomicOr_01L00D00D), - Rule::Get( - &imageAtomicOrExt_01L00D00D), - Rule::Get(&imageAtomicOr_01M00D00D), - Rule::Get( - &imageAtomicOrExt_01M00D00D), - Rule::Get(&imageAtomicOr_01N00D00D), - Rule::Get( - &imageAtomicOrExt_01N00D00D), - Rule::Get(&imageAtomicOr_01O10D00D), - Rule::Get( - &imageAtomicOrExt_01O10D00D), - Rule::Get(&imageAtomicOr_01P10D00D), - Rule::Get( - &imageAtomicOrExt_01P10D00D), - Rule::Get(&imageAtomicOr_01Q10D00D), - Rule::Get( - &imageAtomicOrExt_01Q10D00D), - Rule::Get(&imageAtomicOr_01a10D00D), - Rule::Get( - &imageAtomicOrExt_01a10D00D), - Rule::Get(&imageAtomicOr_01b10D00D), - Rule::Get( - &imageAtomicOrExt_01b10D00D), - Rule::Get(&imageAtomicOr_01c10D00D), - Rule::Get( - &imageAtomicOrExt_01c10D00D), - Rule::Get(&imageAtomicOr_01R10D00D00D), - Rule::Get( - &imageAtomicOrExt_01R10D00D00D), - Rule::Get(&imageAtomicOr_01S10D00D00D), - Rule::Get( - &imageAtomicOrExt_01S10D00D00D), - Rule::Get(&imageAtomicOr_01T10D00D00D), - Rule::Get( - &imageAtomicOrExt_01T10D00D00D), - Rule::Get(&imageAtomicOr_01U20D00D00D), - Rule::Get( - &imageAtomicOrExt_01U20D00D00D), - Rule::Get(&imageAtomicOr_01V20D00D00D), - Rule::Get( - &imageAtomicOrExt_01V20D00D00D), - Rule::Get(&imageAtomicOr_01W20D00D00D), - Rule::Get( - &imageAtomicOrExt_01W20D00D00D), - Rule::Get(&imageAtomicXor_00z10D00E), - Rule::Get( - &imageAtomicXorExt_00z10D00E), - Rule::Get(&imageAtomicXor_01A10D00E), - Rule::Get( - &imageAtomicXorExt_01A10D00E), - Rule::Get(&imageAtomicXor_01B10D00E), - Rule::Get( - &imageAtomicXorExt_01B10D00E), - Rule::Get(&imageAtomicXor_01C20D00E), - Rule::Get( - &imageAtomicXorExt_01C20D00E), - Rule::Get(&imageAtomicXor_01D20D00E), - Rule::Get( - &imageAtomicXorExt_01D20D00E), - Rule::Get(&imageAtomicXor_01E20D00E), - Rule::Get( - &imageAtomicXorExt_01E20D00E), - Rule::Get(&imageAtomicXor_01I20D00E), - Rule::Get( - &imageAtomicXorExt_01I20D00E), - Rule::Get(&imageAtomicXor_01J20D00E), - Rule::Get( - &imageAtomicXorExt_01J20D00E), - Rule::Get(&imageAtomicXor_01K20D00E), - Rule::Get( - &imageAtomicXorExt_01K20D00E), - Rule::Get(&imageAtomicXor_01d00D00E), - Rule::Get( - &imageAtomicXorExt_01d00D00E), - Rule::Get(&imageAtomicXor_01e00D00E), - Rule::Get( - &imageAtomicXorExt_01e00D00E), - Rule::Get(&imageAtomicXor_01f00D00E), - Rule::Get( - &imageAtomicXorExt_01f00D00E), - Rule::Get(&imageAtomicXor_01F20D00E), - Rule::Get( - &imageAtomicXorExt_01F20D00E), - Rule::Get(&imageAtomicXor_01G20D00E), - Rule::Get( - &imageAtomicXorExt_01G20D00E), - Rule::Get(&imageAtomicXor_01H20D00E), - Rule::Get( - &imageAtomicXorExt_01H20D00E), - Rule::Get(&imageAtomicXor_01X20D00E), - Rule::Get( - &imageAtomicXorExt_01X20D00E), - Rule::Get(&imageAtomicXor_01Y20D00E), - Rule::Get( - &imageAtomicXorExt_01Y20D00E), - Rule::Get(&imageAtomicXor_01Z20D00E), - Rule::Get( - &imageAtomicXorExt_01Z20D00E), - Rule::Get(&imageAtomicXor_01L00D00E), - Rule::Get( - &imageAtomicXorExt_01L00D00E), - Rule::Get(&imageAtomicXor_01M00D00E), - Rule::Get( - &imageAtomicXorExt_01M00D00E), - Rule::Get(&imageAtomicXor_01N00D00E), - Rule::Get( - &imageAtomicXorExt_01N00D00E), - Rule::Get(&imageAtomicXor_01O10D00E), - Rule::Get( - &imageAtomicXorExt_01O10D00E), - Rule::Get(&imageAtomicXor_01P10D00E), - Rule::Get( - &imageAtomicXorExt_01P10D00E), - Rule::Get(&imageAtomicXor_01Q10D00E), - Rule::Get( - &imageAtomicXorExt_01Q10D00E), - Rule::Get(&imageAtomicXor_01a10D00E), - Rule::Get( - &imageAtomicXorExt_01a10D00E), - Rule::Get(&imageAtomicXor_01b10D00E), - Rule::Get( - &imageAtomicXorExt_01b10D00E), - Rule::Get(&imageAtomicXor_01c10D00E), - Rule::Get( - &imageAtomicXorExt_01c10D00E), - Rule::Get(&imageAtomicXor_01R10D00D00E), - Rule::Get( - &imageAtomicXorExt_01R10D00D00E), - Rule::Get(&imageAtomicXor_01S10D00D00E), - Rule::Get( - &imageAtomicXorExt_01S10D00D00E), - Rule::Get(&imageAtomicXor_01T10D00D00E), - Rule::Get( - &imageAtomicXorExt_01T10D00D00E), - Rule::Get(&imageAtomicXor_01U20D00D00E), - Rule::Get( - &imageAtomicXorExt_01U20D00D00E), - Rule::Get(&imageAtomicXor_01V20D00D00E), - Rule::Get( - &imageAtomicXorExt_01V20D00D00E), - Rule::Get(&imageAtomicXor_01W20D00D00E), - Rule::Get( - &imageAtomicXorExt_01W20D00D00E), - Rule::Get(&imageAtomicXor_00z10D00D), - Rule::Get( - &imageAtomicXorExt_00z10D00D), - Rule::Get(&imageAtomicXor_01A10D00D), - Rule::Get( - &imageAtomicXorExt_01A10D00D), - Rule::Get(&imageAtomicXor_01B10D00D), - Rule::Get( - &imageAtomicXorExt_01B10D00D), - Rule::Get(&imageAtomicXor_01C20D00D), - Rule::Get( - &imageAtomicXorExt_01C20D00D), - Rule::Get(&imageAtomicXor_01D20D00D), - Rule::Get( - &imageAtomicXorExt_01D20D00D), - Rule::Get(&imageAtomicXor_01E20D00D), - Rule::Get( - &imageAtomicXorExt_01E20D00D), - Rule::Get(&imageAtomicXor_01I20D00D), - Rule::Get( - &imageAtomicXorExt_01I20D00D), - Rule::Get(&imageAtomicXor_01J20D00D), - Rule::Get( - &imageAtomicXorExt_01J20D00D), - Rule::Get(&imageAtomicXor_01K20D00D), - Rule::Get( - &imageAtomicXorExt_01K20D00D), - Rule::Get(&imageAtomicXor_01d00D00D), - Rule::Get( - &imageAtomicXorExt_01d00D00D), - Rule::Get(&imageAtomicXor_01e00D00D), - Rule::Get( - &imageAtomicXorExt_01e00D00D), - Rule::Get(&imageAtomicXor_01f00D00D), - Rule::Get( - &imageAtomicXorExt_01f00D00D), - Rule::Get(&imageAtomicXor_01F20D00D), - Rule::Get( - &imageAtomicXorExt_01F20D00D), - Rule::Get(&imageAtomicXor_01G20D00D), - Rule::Get( - &imageAtomicXorExt_01G20D00D), - Rule::Get(&imageAtomicXor_01H20D00D), - Rule::Get( - &imageAtomicXorExt_01H20D00D), - Rule::Get(&imageAtomicXor_01X20D00D), - Rule::Get( - &imageAtomicXorExt_01X20D00D), - Rule::Get(&imageAtomicXor_01Y20D00D), - Rule::Get( - &imageAtomicXorExt_01Y20D00D), - Rule::Get(&imageAtomicXor_01Z20D00D), - Rule::Get( - &imageAtomicXorExt_01Z20D00D), - Rule::Get(&imageAtomicXor_01L00D00D), - Rule::Get( - &imageAtomicXorExt_01L00D00D), - Rule::Get(&imageAtomicXor_01M00D00D), - Rule::Get( - &imageAtomicXorExt_01M00D00D), - Rule::Get(&imageAtomicXor_01N00D00D), - Rule::Get( - &imageAtomicXorExt_01N00D00D), - Rule::Get(&imageAtomicXor_01O10D00D), - Rule::Get( - &imageAtomicXorExt_01O10D00D), - Rule::Get(&imageAtomicXor_01P10D00D), - Rule::Get( - &imageAtomicXorExt_01P10D00D), - Rule::Get(&imageAtomicXor_01Q10D00D), - Rule::Get( - &imageAtomicXorExt_01Q10D00D), - Rule::Get(&imageAtomicXor_01a10D00D), - Rule::Get( - &imageAtomicXorExt_01a10D00D), - Rule::Get(&imageAtomicXor_01b10D00D), - Rule::Get( - &imageAtomicXorExt_01b10D00D), - Rule::Get(&imageAtomicXor_01c10D00D), - Rule::Get( - &imageAtomicXorExt_01c10D00D), - Rule::Get(&imageAtomicXor_01R10D00D00D), - Rule::Get( - &imageAtomicXorExt_01R10D00D00D), - Rule::Get(&imageAtomicXor_01S10D00D00D), - Rule::Get( - &imageAtomicXorExt_01S10D00D00D), - Rule::Get(&imageAtomicXor_01T10D00D00D), - Rule::Get( - &imageAtomicXorExt_01T10D00D00D), - Rule::Get(&imageAtomicXor_01U20D00D00D), - Rule::Get( - &imageAtomicXorExt_01U20D00D00D), - Rule::Get(&imageAtomicXor_01V20D00D00D), - Rule::Get( - &imageAtomicXorExt_01V20D00D00D), - Rule::Get(&imageAtomicXor_01W20D00D00D), - Rule::Get( - &imageAtomicXorExt_01W20D00D00D), - Rule::Get(&imageAtomicExchange_00z10D00E), - Rule::Get( - &imageAtomicExchangeExt_00z10D00E), - Rule::Get(&imageAtomicExchange_01A10D00E), - Rule::Get( - &imageAtomicExchangeExt_01A10D00E), - Rule::Get(&imageAtomicExchange_01B10D00E), - Rule::Get( - &imageAtomicExchangeExt_01B10D00E), - Rule::Get(&imageAtomicExchange_01C20D00E), - Rule::Get( - &imageAtomicExchangeExt_01C20D00E), - Rule::Get(&imageAtomicExchange_01D20D00E), - Rule::Get( - &imageAtomicExchangeExt_01D20D00E), - Rule::Get(&imageAtomicExchange_01E20D00E), - Rule::Get( - &imageAtomicExchangeExt_01E20D00E), - Rule::Get(&imageAtomicExchange_01I20D00E), - Rule::Get( - &imageAtomicExchangeExt_01I20D00E), - Rule::Get(&imageAtomicExchange_01J20D00E), - Rule::Get( - &imageAtomicExchangeExt_01J20D00E), - Rule::Get(&imageAtomicExchange_01K20D00E), - Rule::Get( - &imageAtomicExchangeExt_01K20D00E), - Rule::Get(&imageAtomicExchange_01d00D00E), - Rule::Get( - &imageAtomicExchangeExt_01d00D00E), - Rule::Get(&imageAtomicExchange_01e00D00E), - Rule::Get( - &imageAtomicExchangeExt_01e00D00E), - Rule::Get(&imageAtomicExchange_01f00D00E), - Rule::Get( - &imageAtomicExchangeExt_01f00D00E), - Rule::Get(&imageAtomicExchange_01F20D00E), - Rule::Get( - &imageAtomicExchangeExt_01F20D00E), - Rule::Get(&imageAtomicExchange_01G20D00E), - Rule::Get( - &imageAtomicExchangeExt_01G20D00E), - Rule::Get(&imageAtomicExchange_01H20D00E), - Rule::Get( - &imageAtomicExchangeExt_01H20D00E), - Rule::Get(&imageAtomicExchange_01X20D00E), - Rule::Get( - &imageAtomicExchangeExt_01X20D00E), - Rule::Get(&imageAtomicExchange_01Y20D00E), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00E), - Rule::Get(&imageAtomicExchange_01Z20D00E), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00E), - Rule::Get(&imageAtomicExchange_01L00D00E), - Rule::Get( - &imageAtomicExchangeExt_01L00D00E), - Rule::Get(&imageAtomicExchange_01M00D00E), - Rule::Get( - &imageAtomicExchangeExt_01M00D00E), - Rule::Get(&imageAtomicExchange_01N00D00E), - Rule::Get( - &imageAtomicExchangeExt_01N00D00E), - Rule::Get(&imageAtomicExchange_01O10D00E), - Rule::Get( - &imageAtomicExchangeExt_01O10D00E), - Rule::Get(&imageAtomicExchange_01P10D00E), - Rule::Get( - &imageAtomicExchangeExt_01P10D00E), - Rule::Get(&imageAtomicExchange_01Q10D00E), - Rule::Get( - &imageAtomicExchangeExt_01Q10D00E), - Rule::Get(&imageAtomicExchange_01a10D00E), - Rule::Get( - &imageAtomicExchangeExt_01a10D00E), - Rule::Get(&imageAtomicExchange_01b10D00E), - Rule::Get( - &imageAtomicExchangeExt_01b10D00E), - Rule::Get(&imageAtomicExchange_01c10D00E), - Rule::Get( - &imageAtomicExchangeExt_01c10D00E), - Rule::Get(&imageAtomicExchange_01R10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01R10D00D00E), - Rule::Get(&imageAtomicExchange_01S10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01S10D00D00E), - Rule::Get(&imageAtomicExchange_01T10D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01T10D00D00E), - Rule::Get(&imageAtomicExchange_01U20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01U20D00D00E), - Rule::Get(&imageAtomicExchange_01V20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01V20D00D00E), - Rule::Get(&imageAtomicExchange_01W20D00D00E), - Rule::Get( - &imageAtomicExchangeExt_01W20D00D00E), - Rule::Get(&imageAtomicExchange_00z10D00D), - Rule::Get( - &imageAtomicExchangeExt_00z10D00D), - Rule::Get(&imageAtomicExchange_01A10D00D), - Rule::Get( - &imageAtomicExchangeExt_01A10D00D), - Rule::Get(&imageAtomicExchange_01B10D00D), - Rule::Get( - &imageAtomicExchangeExt_01B10D00D), - Rule::Get(&imageAtomicExchange_01C20D00D), - Rule::Get( - &imageAtomicExchangeExt_01C20D00D), - Rule::Get(&imageAtomicExchange_01D20D00D), - Rule::Get( - &imageAtomicExchangeExt_01D20D00D), - Rule::Get(&imageAtomicExchange_01E20D00D), - Rule::Get( - &imageAtomicExchangeExt_01E20D00D), - Rule::Get(&imageAtomicExchange_01I20D00D), - Rule::Get( - &imageAtomicExchangeExt_01I20D00D), - Rule::Get(&imageAtomicExchange_01J20D00D), - Rule::Get( - &imageAtomicExchangeExt_01J20D00D), - Rule::Get(&imageAtomicExchange_01K20D00D), - Rule::Get( - &imageAtomicExchangeExt_01K20D00D), - Rule::Get(&imageAtomicExchange_01d00D00D), - Rule::Get( - &imageAtomicExchangeExt_01d00D00D), - Rule::Get(&imageAtomicExchange_01e00D00D), - Rule::Get( - &imageAtomicExchangeExt_01e00D00D), - Rule::Get(&imageAtomicExchange_01f00D00D), - Rule::Get( - &imageAtomicExchangeExt_01f00D00D), - Rule::Get(&imageAtomicExchange_01F20D00D), - Rule::Get( - &imageAtomicExchangeExt_01F20D00D), - Rule::Get(&imageAtomicExchange_01G20D00D), - Rule::Get( - &imageAtomicExchangeExt_01G20D00D), - Rule::Get(&imageAtomicExchange_01H20D00D), - Rule::Get( - &imageAtomicExchangeExt_01H20D00D), - Rule::Get(&imageAtomicExchange_01X20D00D), - Rule::Get( - &imageAtomicExchangeExt_01X20D00D), - Rule::Get(&imageAtomicExchange_01Y20D00D), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00D), - Rule::Get(&imageAtomicExchange_01Z20D00D), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00D), - Rule::Get(&imageAtomicExchange_01L00D00D), - Rule::Get( - &imageAtomicExchangeExt_01L00D00D), - Rule::Get(&imageAtomicExchange_01M00D00D), - Rule::Get( - &imageAtomicExchangeExt_01M00D00D), - Rule::Get(&imageAtomicExchange_01N00D00D), - Rule::Get( - &imageAtomicExchangeExt_01N00D00D), - Rule::Get(&imageAtomicExchange_01O10D00D), - Rule::Get( - &imageAtomicExchangeExt_01O10D00D), - Rule::Get(&imageAtomicExchange_01P10D00D), - Rule::Get( - &imageAtomicExchangeExt_01P10D00D), - Rule::Get(&imageAtomicExchange_01Q10D00D), - Rule::Get( - &imageAtomicExchangeExt_01Q10D00D), - Rule::Get(&imageAtomicExchange_01a10D00D), - Rule::Get( - &imageAtomicExchangeExt_01a10D00D), - Rule::Get(&imageAtomicExchange_01b10D00D), - Rule::Get( - &imageAtomicExchangeExt_01b10D00D), - Rule::Get(&imageAtomicExchange_01c10D00D), - Rule::Get( - &imageAtomicExchangeExt_01c10D00D), - Rule::Get(&imageAtomicExchange_01R10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01R10D00D00D), - Rule::Get(&imageAtomicExchange_01S10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01S10D00D00D), - Rule::Get(&imageAtomicExchange_01T10D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01T10D00D00D), - Rule::Get(&imageAtomicExchange_01U20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01U20D00D00D), - Rule::Get(&imageAtomicExchange_01V20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01V20D00D00D), - Rule::Get(&imageAtomicExchange_01W20D00D00D), - Rule::Get( - &imageAtomicExchangeExt_01W20D00D00D), - Rule::Get(&imageAtomicExchange_00z10D00B), - Rule::Get( - &imageAtomicExchangeExt_00z10D00B), - Rule::Get(&imageAtomicExchange_01A10D00B), - Rule::Get( - &imageAtomicExchangeExt_01A10D00B), - Rule::Get(&imageAtomicExchange_01B10D00B), - Rule::Get( - &imageAtomicExchangeExt_01B10D00B), - Rule::Get(&imageAtomicExchange_01C20D00B), - Rule::Get( - &imageAtomicExchangeExt_01C20D00B), - Rule::Get(&imageAtomicExchange_01D20D00B), - Rule::Get( - &imageAtomicExchangeExt_01D20D00B), - Rule::Get(&imageAtomicExchange_01E20D00B), - Rule::Get( - &imageAtomicExchangeExt_01E20D00B), - Rule::Get(&imageAtomicExchange_01I20D00B), - Rule::Get( - &imageAtomicExchangeExt_01I20D00B), - Rule::Get(&imageAtomicExchange_01J20D00B), - Rule::Get( - &imageAtomicExchangeExt_01J20D00B), - Rule::Get(&imageAtomicExchange_01K20D00B), - Rule::Get( - &imageAtomicExchangeExt_01K20D00B), - Rule::Get(&imageAtomicExchange_01d00D00B), - Rule::Get( - &imageAtomicExchangeExt_01d00D00B), - Rule::Get(&imageAtomicExchange_01e00D00B), - Rule::Get( - &imageAtomicExchangeExt_01e00D00B), - Rule::Get(&imageAtomicExchange_01f00D00B), - Rule::Get( - &imageAtomicExchangeExt_01f00D00B), - Rule::Get(&imageAtomicExchange_01F20D00B), - Rule::Get( - &imageAtomicExchangeExt_01F20D00B), - Rule::Get(&imageAtomicExchange_01G20D00B), - Rule::Get( - &imageAtomicExchangeExt_01G20D00B), - Rule::Get(&imageAtomicExchange_01H20D00B), - Rule::Get( - &imageAtomicExchangeExt_01H20D00B), - Rule::Get(&imageAtomicExchange_01X20D00B), - Rule::Get( - &imageAtomicExchangeExt_01X20D00B), - Rule::Get(&imageAtomicExchange_01Y20D00B), - Rule::Get( - &imageAtomicExchangeExt_01Y20D00B), - Rule::Get(&imageAtomicExchange_01Z20D00B), - Rule::Get( - &imageAtomicExchangeExt_01Z20D00B), + Rule::Get(&imageSize_01B), + Rule::Get(&imageSize_01B), + Rule::Get(&imageSize_01C), + Rule::Get(&imageSize_01C), + Rule::Get(&imageSize_01A), + Rule::Get(&imageSize_01A), + Rule::Get(&imageSize_01F), + Rule::Get(&imageSize_01F), + Rule::Get(&imageSize_01G), + Rule::Get(&imageSize_01G), + Rule::Get(&imageSize_01D), + Rule::Get(&imageSize_01D), + Rule::Get(&imageSize_01E), + Rule::Get(&imageSize_01E), Rule::Get(&imageAtomicExchange_01L00D00B), Rule::Get( &imageAtomicExchangeExt_01L00D00B), - Rule::Get(&imageAtomicExchange_01M00D00B), + Rule::Get(&imageAtomicExchange_01L00D00E), Rule::Get( - &imageAtomicExchangeExt_01M00D00B), - Rule::Get(&imageAtomicExchange_01N00D00B), + &imageAtomicExchangeExt_01L00D00E), + Rule::Get(&texelFetch_00X10D00D), + Rule::Get(&texelFetch_00X10D00D), + Rule::Get(¬Equal_30F30F), + Rule::Get(¬Equal_30F30F), + Rule::Get(&imageSize_01R), + Rule::Get(&imageSize_01S), + Rule::Get(&imageSize_01P), + Rule::Get(&imageSize_01Q), + Rule::Get(&imageSize_01V), + Rule::Get(&textureQueryLod_00g00B), + Rule::Get(&imageSize_01T), + Rule::Get(&imageSize_01U), + Rule::Get(&imageSize_01h), + Rule::Get(&imageSize_01h), + Rule::Get(&imageSize_01i), + Rule::Get(&imageSize_01i), + Rule::Get(&fract_20C), + Rule::Get(&fract_20B), + Rule::Get(&fract_20B), + Rule::Get(&textureGatherOffset_00X10B10D), + Rule::Get(&textureGatherOffset_00X10B10D), + Rule::Get(&imageSize_01c), + Rule::Get(&imageSize_01c), + Rule::Get(&imageStore_01R10D00D30B), + Rule::Get(&imageSize_01a), + Rule::Get(&imageSize_01a), + Rule::Get(&imageSize_01f), + Rule::Get( + &texture2DProjGradEXT_00I20B10B10B), + Rule::Get(&imageSize_01d), + Rule::Get(&textureLod_00S20B00B), + Rule::Get(&textureLod_00S20B00B), + Rule::Get(&step_30C30C), + Rule::Get(&imageAtomicMin_01J20D00D), Rule::Get( - &imageAtomicExchangeExt_01N00D00B), - Rule::Get(&imageAtomicExchange_01O10D00B), + &imageAtomicMinExt_01J20D00D), + Rule::Get(&BuiltInVariable::kgl_FragDepth), + Rule::Get(&BuiltInVariable::kgl_FragDepth), + Rule::Get(&textureGather_00x30B), + Rule::Get(&textureGather_00x30B), + Rule::Get(&mix_30B30B30F), + Rule::Get(&mix_30B30B30F), + Rule::Get(&mix_30B30B30B), + Rule::Get(&mix_30B30B30B), + Rule::Get(&textureGather_00Z20B00D), + Rule::Get(&textureGather_00Z20B00D), + Rule::Get(&imageAtomicAnd_01Z10D00E), Rule::Get( - &imageAtomicExchangeExt_01O10D00B), - Rule::Get(&imageAtomicExchange_01P10D00B), + &imageAtomicAndExt_01Z10D00E), + Rule::Get(&imageAtomicAnd_01Z10D00D), Rule::Get( - &imageAtomicExchangeExt_01P10D00B), - Rule::Get(&imageAtomicExchange_01Q10D00B), + &imageAtomicAndExt_01Z10D00D), + Rule::Get(&imageStore_01E20D30E), + Rule::Get(&imageStore_01E20D30E), + Rule::Get(&sqrt_30C), + Rule::Get(&sqrt_30B), + Rule::Get(&sqrt_30B), + Rule::Get(&exp_00B), + Rule::Get(&exp_00B), + Rule::Get(&max_30D30D), + Rule::Get(&max_30D30D), + Rule::Get( + &TableBase::m_gl_MaxGeometryTextureImageUnits), + Rule::Get(&interpolateAtCentroid_10B), + Rule::Get(&interpolateAtCentroid_10B), + Rule::Get( + &interpolateAtCentroidExt_10B), + Rule::Get(&texture_00q10B), + Rule::Get( + &textureSize_00M00D), + Rule::Get(&textureSamples_00c), + Rule::Get( + &BuiltInVariable::kangle_BaseInstance), + Rule::Get(&mix_10F10F10F), + Rule::Get(&mix_10F10F10F), + Rule::Get(&textureGradOffset_00U20B10B10B10D), + Rule::Get(&textureGradOffset_00U20B10B10B10D), + Rule::Get(&BuiltInVariable::kgl_Position), + Rule::Get(&BuiltInVariable::kgl_Position), + Rule::Get( + &TableBase::m_gl_PositionGS), + Rule::Get(&textureGradOffset_00O10B10B10B10D), + Rule::Get( + &textureProj_00M30B), + Rule::Get(&textureGradOffset_00L20B10B10B10D), + Rule::Get(&textureGradOffset_00L20B10B10B10D), + Rule::Get(&imageAtomicExchange_01V20D00D00D), Rule::Get( - &imageAtomicExchangeExt_01Q10D00B), - Rule::Get(&imageAtomicExchange_01a10D00B), + &imageAtomicExchangeExt_01V20D00D00D), + Rule::Get(&imageAtomicExchange_01J20D00B), Rule::Get( - &imageAtomicExchangeExt_01a10D00B), - Rule::Get(&imageAtomicExchange_01b10D00B), + &imageAtomicExchangeExt_01J20D00B), + Rule::Get(&imageAtomicExchange_01J20D00E), Rule::Get( - &imageAtomicExchangeExt_01b10D00B), - Rule::Get(&imageAtomicExchange_01c10D00B), + &imageAtomicExchangeExt_01J20D00E), + Rule::Get(&imageAtomicExchange_01J20D00D), Rule::Get( - &imageAtomicExchangeExt_01c10D00B), - Rule::Get(&imageAtomicExchange_01R10D00D00B), + &imageAtomicExchangeExt_01J20D00D), + Rule::Get(&textureQueryLod_00l20B), + Rule::Get(&imageAtomicOr_01M00D00E), Rule::Get( - &imageAtomicExchangeExt_01R10D00D00B), - Rule::Get(&imageAtomicExchange_01S10D00D00B), + &imageAtomicOrExt_01M00D00E), + Rule::Get(&dot_20B20B), + Rule::Get(&dot_20B20B), + Rule::Get(&textureProjGrad_00v20B10B10B), + Rule::Get(&textureProjLod_00S30B00B), + Rule::Get(&textureProjLod_00S30B00B), + Rule::Get(&textureProjGrad_00R20B10B10B), + Rule::Get(&textureProjGrad_00R20B10B10B), + Rule::Get(&imageAtomicAnd_01i00D00E), Rule::Get( - &imageAtomicExchangeExt_01S10D00D00B), - Rule::Get(&imageAtomicExchange_01T10D00D00B), + &imageAtomicAndExt_01i00D00E), + Rule::Get(&imageAtomicAnd_01i00D00D), Rule::Get( - &imageAtomicExchangeExt_01T10D00D00B), - Rule::Get(&imageAtomicExchange_01U20D00D00B), + &imageAtomicAndExt_01i00D00D), + Rule::Get(&imageAtomicMax_00z10D00E), Rule::Get( - &imageAtomicExchangeExt_01U20D00D00B), - Rule::Get(&imageAtomicExchange_01V20D00D00B), + &imageAtomicMaxExt_00z10D00E), + Rule::Get(&imageAtomicMax_00z10D00D), Rule::Get( - &imageAtomicExchangeExt_01V20D00D00B), - Rule::Get(&imageAtomicExchange_01W20D00D00B), + &imageAtomicMaxExt_00z10D00D), + Rule::Get(&normalize_30C), + Rule::Get(&normalize_30B), + Rule::Get(&normalize_30B), + Rule::Get(&textureOffset_00O10B10D), + Rule::Get(&textureProjGrad_00I20B10B10B), + Rule::Get(&textureProjGrad_00I20B10B10B), + Rule::Get(&textureGather_00e20B), + Rule::Get(&imageAtomicMax_01V20D00D00E), Rule::Get( - &imageAtomicExchangeExt_01W20D00D00B), - Rule::Get(&imageAtomicCompSwap_00z10D00E00E), + &imageAtomicMaxExt_01V20D00D00E), + Rule::Get(&texture2D_00M10B), + Rule::Get(&imageAtomicAdd_01a20D00E), Rule::Get( - &imageAtomicCompSwapExt_00z10D00E00E), + &imageAtomicAddExt_01a20D00E), + Rule::Get(&fwidthFine_30B), + Rule::Get(&textureGather_00K20B00D), + Rule::Get(&textureGather_00K20B00D), + Rule::Get( + &textureCubeLodEXT_00K20B00B), + Rule::Get(&textureGather_00T20B00D), + Rule::Get(&textureGather_00T20B00D), + Rule::Get(&textureProj_00N20B), + Rule::Get(&textureQueryLod_00I10B), Rule::Get(&imageAtomicCompSwap_01A10D00E00E), Rule::Get( &imageAtomicCompSwapExt_01A10D00E00E), - Rule::Get(&imageAtomicCompSwap_01B10D00E00E), + Rule::Get(&dFdyFine_10B), + Rule::Get(&modf_10C10C), + Rule::Get(&imageAtomicMax_01E20D00D), Rule::Get( - &imageAtomicCompSwapExt_01B10D00E00E), - Rule::Get(&imageAtomicCompSwap_01C20D00E00E), + &imageAtomicMaxExt_01E20D00D), + Rule::Get(&imageAtomicMax_01E20D00E), Rule::Get( - &imageAtomicCompSwapExt_01C20D00E00E), - Rule::Get(&imageAtomicCompSwap_01D20D00E00E), + &imageAtomicMaxExt_01E20D00E), + Rule::Get(&textureProjLodOffset_00X30B00B10D), + Rule::Get(&textureProjLodOffset_00X30B00B10D), + Rule::Get(&imageStore_01W20D00D30E), + Rule::Get(&textureProjLod_00m30B00B), + Rule::Get(&textureProjOffset_00g30B00D00B), + Rule::Get(&texelFetchOffset_00U20D00D10D), + Rule::Get(&texelFetchOffset_00U20D00D10D), + Rule::Get(&imageAtomicCompSwap_00z10D00E00E), Rule::Get( - &imageAtomicCompSwapExt_01D20D00E00E), - Rule::Get(&imageAtomicCompSwap_01E20D00E00E), + &imageAtomicCompSwapExt_00z10D00E00E), + Rule::Get(&imageAtomicMin_01D20D00E), Rule::Get( - &imageAtomicCompSwapExt_01E20D00E00E), - Rule::Get(&imageAtomicCompSwap_01I20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01I20D00E00E), - Rule::Get(&imageAtomicCompSwap_01J20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01J20D00E00E), - Rule::Get(&imageAtomicCompSwap_01K20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01K20D00E00E), - Rule::Get(&imageAtomicCompSwap_01d00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01d00D00E00E), - Rule::Get(&imageAtomicCompSwap_01e00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01e00D00E00E), - Rule::Get(&imageAtomicCompSwap_01f00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01f00D00E00E), - Rule::Get(&imageAtomicCompSwap_01F20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01F20D00E00E), - Rule::Get(&imageAtomicCompSwap_01G20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01G20D00E00E), - Rule::Get(&imageAtomicCompSwap_01H20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01H20D00E00E), - Rule::Get(&imageAtomicCompSwap_01X20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01X20D00E00E), - Rule::Get(&imageAtomicCompSwap_01Y20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01Y20D00E00E), - Rule::Get(&imageAtomicCompSwap_01Z20D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01Z20D00E00E), - Rule::Get(&imageAtomicCompSwap_01L00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01L00D00E00E), - Rule::Get(&imageAtomicCompSwap_01M00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01M00D00E00E), + &imageAtomicMinExt_01D20D00E), + Rule::Get(&textureProjGradOffset_00q30B10B10B10D), + Rule::Get(&textureGradOffset_00d20B10B10B10D), + Rule::Get(&textureGradOffset_00d20B10B10B10D), + Rule::Get(&fwidthCoarse_20B), Rule::Get(&imageAtomicCompSwap_01N00D00E00E), Rule::Get( &imageAtomicCompSwapExt_01N00D00E00E), - Rule::Get(&imageAtomicCompSwap_01O10D00E00E), + Rule::Get(&textureProjOffset_00d30B10D), + Rule::Get(&textureProjOffset_00d30B10D), + Rule::Get(&imageAtomicOr_01T10D00D00E), Rule::Get( - &imageAtomicCompSwapExt_01O10D00E00E), - Rule::Get(&imageAtomicCompSwap_01P10D00E00E), + &imageAtomicOrExt_01T10D00D00E), + Rule::Get(&imageAtomicOr_01T10D00D00D), Rule::Get( - &imageAtomicCompSwapExt_01P10D00E00E), - Rule::Get(&imageAtomicCompSwap_01Q10D00E00E), + &imageAtomicOrExt_01T10D00D00D), + Rule::Get(&equal_20F20F), + Rule::Get(&equal_20F20F), + Rule::Get(&mix_20C20C00C), + Rule::Get(&usubBorrow_10E10E10E), + Rule::Get(&usubBorrow_10E10E10E), + Rule::Get(&equal_10B10B), + Rule::Get(&equal_10B10B), + Rule::Get(&textureLodOffset_00U20B00B10D), + Rule::Get(&textureLodOffset_00U20B00B10D), + Rule::Get(&isnan_10C), + Rule::Get(&isnan_10B), + Rule::Get(&isnan_10B), + Rule::Get(&imageAtomicMin_01H20D00D), Rule::Get( - &imageAtomicCompSwapExt_01Q10D00E00E), - Rule::Get(&imageAtomicCompSwap_01a10D00E00E), + &imageAtomicMinExt_01H20D00D), + Rule::Get(&imageAtomicXor_01A10D00D), Rule::Get( - &imageAtomicCompSwapExt_01a10D00E00E), - Rule::Get(&imageAtomicCompSwap_01b10D00E00E), + &imageAtomicXorExt_01A10D00D), + Rule::Get(&imageAtomicXor_01A10D00E), Rule::Get( - &imageAtomicCompSwapExt_01b10D00E00E), - Rule::Get(&imageAtomicCompSwap_01c10D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01c10D00E00E), - Rule::Get(&imageAtomicCompSwap_01R10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01R10D00D00E00E), - Rule::Get(&imageAtomicCompSwap_01S10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01S10D00D00E00E), - Rule::Get(&imageAtomicCompSwap_01T10D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01T10D00D00E00E), - Rule::Get(&imageAtomicCompSwap_01U20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01U20D00D00E00E), - Rule::Get(&imageAtomicCompSwap_01V20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01V20D00D00E00E), - Rule::Get(&imageAtomicCompSwap_01W20D00D00E00E), - Rule::Get( - &imageAtomicCompSwapExt_01W20D00D00E00E), - Rule::Get(&imageAtomicCompSwap_00z10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_00z10D00D00D), - Rule::Get(&imageAtomicCompSwap_01A10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01A10D00D00D), - Rule::Get(&imageAtomicCompSwap_01B10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01B10D00D00D), + &imageAtomicXorExt_01A10D00E), Rule::Get(&imageAtomicCompSwap_01C20D00D00D), Rule::Get( &imageAtomicCompSwapExt_01C20D00D00D), - Rule::Get(&imageAtomicCompSwap_01D20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01D20D00D00D), - Rule::Get(&imageAtomicCompSwap_01E20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01E20D00D00D), - Rule::Get(&imageAtomicCompSwap_01I20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01I20D00D00D), - Rule::Get(&imageAtomicCompSwap_01J20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01J20D00D00D), - Rule::Get(&imageAtomicCompSwap_01K20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01K20D00D00D), - Rule::Get(&imageAtomicCompSwap_01d00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01d00D00D00D), - Rule::Get(&imageAtomicCompSwap_01e00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01e00D00D00D), - Rule::Get(&imageAtomicCompSwap_01f00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01f00D00D00D), - Rule::Get(&imageAtomicCompSwap_01F20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01F20D00D00D), - Rule::Get(&imageAtomicCompSwap_01G20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01G20D00D00D), - Rule::Get(&imageAtomicCompSwap_01H20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01H20D00D00D), - Rule::Get(&imageAtomicCompSwap_01X20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01X20D00D00D), - Rule::Get(&imageAtomicCompSwap_01Y20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Y20D00D00D), - Rule::Get(&imageAtomicCompSwap_01Z20D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Z20D00D00D), - Rule::Get(&imageAtomicCompSwap_01L00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01L00D00D00D), - Rule::Get(&imageAtomicCompSwap_01M00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01M00D00D00D), - Rule::Get(&imageAtomicCompSwap_01N00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01N00D00D00D), - Rule::Get(&imageAtomicCompSwap_01O10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01O10D00D00D), - Rule::Get(&imageAtomicCompSwap_01P10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01P10D00D00D), - Rule::Get(&imageAtomicCompSwap_01Q10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01Q10D00D00D), - Rule::Get(&imageAtomicCompSwap_01a10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01a10D00D00D), - Rule::Get(&imageAtomicCompSwap_01b10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01b10D00D00D), - Rule::Get(&imageAtomicCompSwap_01c10D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01c10D00D00D), - Rule::Get(&imageAtomicCompSwap_01R10D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01R10D00D00D00D), - Rule::Get(&imageAtomicCompSwap_01S10D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01S10D00D00D00D), - Rule::Get(&imageAtomicCompSwap_01T10D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01T10D00D00D00D), - Rule::Get(&imageAtomicCompSwap_01U20D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01U20D00D00D00D), - Rule::Get(&imageAtomicCompSwap_01V20D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01V20D00D00D00D), - Rule::Get(&imageAtomicCompSwap_01W20D00D00D00D), - Rule::Get( - &imageAtomicCompSwapExt_01W20D00D00D00D), - Rule::Get(&noise1_00B), - Rule::Get(&noise1_10B), + Rule::Get(&textureGrad_00R00B00B00B), + Rule::Get(&atomicMin_00D00D), + Rule::Get(&atomicMin_00D00D), + Rule::Get(&textureSize_00X00D), + Rule::Get(&textureSize_00X00D), + Rule::Get(&greaterThan_10B10B), + Rule::Get(&greaterThan_10B10B), + Rule::Get(&mix_00C00C00C), Rule::Get(&noise1_20B), - Rule::Get(&noise1_30B), - Rule::Get(&noise2_00B), - Rule::Get(&noise2_10B), - Rule::Get(&noise2_20B), - Rule::Get(&noise2_30B), - Rule::Get(&noise3_00B), - Rule::Get(&noise3_10B), - Rule::Get(&noise3_20B), - Rule::Get(&noise3_30B), - Rule::Get(&noise4_00B), - Rule::Get(&noise4_10B), - Rule::Get(&noise4_20B), - Rule::Get(&noise4_30B), - Rule::Get(&memoryBarrier_), - Rule::Get(&memoryBarrier_), - Rule::Get(&memoryBarrierAtomicCounter_), - Rule::Get(&memoryBarrierAtomicCounter_), - Rule::Get(&memoryBarrierBuffer_), - Rule::Get(&memoryBarrierBuffer_), - Rule::Get(&memoryBarrierImage_), - Rule::Get(&memoryBarrierImage_), - Rule::Get(&barrier_), - Rule::Get(&barrier_), - Rule::Get(&barrierES3_2_), - Rule::Get( - &barrier_), - Rule::Get(&memoryBarrierShared_), - Rule::Get(&memoryBarrierShared_), - Rule::Get(&groupMemoryBarrier_), - Rule::Get(&groupMemoryBarrier_), - Rule::Get(&EmitVertexES3_2_), - Rule::Get(&EmitVertex_), - Rule::Get(&EmitVertex_), - Rule::Get(&EndPrimitiveES3_2_), - Rule::Get(&EndPrimitive_), - Rule::Get( - &EndPrimitive_), - Rule::Get(&EmitStreamVertex_00D), - Rule::Get(&EndStreamPrimitive_00D), - Rule::Get(&subpassLoad_01g), - Rule::Get(&subpassLoad_01h), - Rule::Get(&subpassLoad_01i), - Rule::Get(&subpassLoad_01j00D), - Rule::Get(&subpassLoad_01k00D), - Rule::Get(&subpassLoad_01l00D), - Rule::Get(&anyInvocation_00F), - Rule::Get(&allInvocations_00F), - Rule::Get(&allInvocationsEqual_00F), - Rule::Get(&textureVideoWEBGL_00y10B), - Rule::Get(&textureVideoWEBGL_00y10B), - Rule::Get(&texture_00y10B), - Rule::Get(&texture_00y10B), - Rule::Get(&TableBase::m_gl_DepthRangeParameters), - Rule::Get(&TableBase::m_gl_DepthRangeParameters), - Rule::Get(&TableBase::m_gl_DepthRange), - Rule::Get(&TableBase::m_gl_DepthRange), - Rule::Get(&BuiltInVariable::kgl_NumSamplesES3_2), - Rule::Get(&BuiltInVariable::kgl_NumSamplesES3_2), - Rule::Get( - &BuiltInVariable::kgl_NumSamples), - Rule::Get(&TableBase::m_gl_MaxVertexAttribs), - Rule::Get(&TableBase::m_gl_MaxVertexAttribs), - Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVertexUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxVertexTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), - Rule::Get(&TableBase::m_gl_MaxVaryingVectors), - Rule::Get(&TableBase::m_gl_MaxVaryingVectors), - Rule::Get(&TableBase::m_gl_MaxDrawBuffers), - Rule::Get(&TableBase::m_gl_MaxDrawBuffers), - Rule::Get( - &TableBase::m_gl_MaxDualSourceDrawBuffersEXT), - Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), - Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), - Rule::Get(&TableBase::m_gl_MaxFragmentInputVectors), - Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), - Rule::Get(&TableBase::m_gl_MaxImageUnits), - Rule::Get(&TableBase::m_gl_MaxImageUnits), - Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), - Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), - Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), - Rule::Get(&TableBase::m_gl_MaxFragmentImageUniforms), - Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), - Rule::Get(&TableBase::m_gl_MaxComputeImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), - Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), - Rule::Get(&TableBase::m_gl_MaxCombinedShaderOutputResources), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupCount), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), - Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), - Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), - Rule::Get(&TableBase::m_gl_MaxComputeUniformComponents), - Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxComputeTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxComputeAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBindings), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxVertexAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxFragmentAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), - Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), - Rule::Get(&TableBase::m_gl_MaxGeometryInputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryInputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryOutputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryImageUniforms), - Rule::Get(&TableBase::m_gl_MaxGeometryTextureImageUnitsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTextureImageUnits), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputVerticesES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryOutputVerticesES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryOutputVertices), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryTotalOutputComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryUniformComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryUniformComponents), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounterBuffersES3_2), - Rule::Get(&TableBase::m_gl_MaxGeometryAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxGeometryAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxTessControlInputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlInputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlOutputComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlOutputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlTextureImageUnitsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTextureImageUnits), - Rule::Get( - &TableBase::m_gl_MaxTessControlUniformComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlUniformComponents), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlTotalOutputComponents), - Rule::Get(&TableBase::m_gl_MaxTessControlImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlImageUniforms), - Rule::Get(&TableBase::m_gl_MaxTessControlAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxTessControlAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessControlAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxTessPatchComponentsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessPatchComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessPatchComponents), - Rule::Get(&TableBase::m_gl_MaxPatchVerticesES3_2), - Rule::Get(&TableBase::m_gl_MaxPatchVerticesES3_2), - Rule::Get( - &TableBase::m_gl_MaxPatchVertices), - Rule::Get(&TableBase::m_gl_MaxTessGenLevelES3_2), - Rule::Get(&TableBase::m_gl_MaxTessGenLevelES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessGenLevel), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationInputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationOutputComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnitsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationTextureImageUnits), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponentsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationUniformComponents), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationImageUniformsES3_2), - Rule::Get(&TableBase::m_gl_MaxTessEvaluationImageUniformsES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationImageUniforms), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCountersES3_2), - Rule::Get(&TableBase::m_gl_MaxTessEvaluationAtomicCountersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounters), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2), - Rule::Get( - &TableBase::m_gl_MaxTessEvaluationAtomicCounterBuffers), - Rule::Get(&TableBase::m_gl_MaxSamplesES3_2), - Rule::Get(&TableBase::m_gl_MaxSamplesES3_2), - Rule::Get( - &TableBase::m_gl_MaxSamples), - Rule::Get( - &TableBase::m_gl_MaxClipDistancesAPPLE), - Rule::Get( - &TableBase::m_gl_MaxCullDistancesEXT), - Rule::Get( - &TableBase::m_gl_MaxCombinedClipAndCullDistancesEXT), - Rule::Get(&BuiltInVariable::kgl_FragCoord), - Rule::Get(&BuiltInVariable::kgl_FragCoord), - Rule::Get(&BuiltInVariable::kgl_FrontFacing), - Rule::Get(&BuiltInVariable::kgl_FrontFacing), - Rule::Get(&BuiltInVariable::kgl_PointCoord), - Rule::Get(&BuiltInVariable::kgl_PointCoord), - Rule::Get(&BuiltInVariable::kgl_FragColor), - Rule::Get(&BuiltInVariable::kgl_FragColor), - Rule::Get(&TableBase::m_gl_FragData), - Rule::Get(&TableBase::m_gl_FragData), - Rule::Get(&BuiltInVariable::kgl_FragDepth), - Rule::Get(&BuiltInVariable::kgl_FragDepth), - Rule::Get(&BuiltInVariable::kgl_HelperInvocation), - Rule::Get(&BuiltInVariable::kgl_HelperInvocation), - Rule::Get( - &BuiltInVariable::kgl_SecondaryFragColorEXT), - Rule::Get( - &TableBase::m_gl_SecondaryFragDataEXT), - Rule::Get( - &TableBase::m_gl_FragDepthEXT), - Rule::Get( - &TableBase::m_gl_LastFragData), - Rule::Get( - &TableBase::m_gl_LastFragDataNonCoherent), - Rule::Get( - &TableBase::m_gl_LastFragDataNV), - Rule::Get( - &BuiltInVariable::kgl_LastFragColor), - Rule::Get( - &BuiltInVariable::kgl_LastFragColorARM), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDGSES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDGSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveID), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDGS), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTCS), - Rule::Get( - &BuiltInVariable::kgl_PrimitiveIDTES), - Rule::Get(&BuiltInVariable::kgl_LayerES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerGSES3_2), - Rule::Get(&BuiltInVariable::kgl_LayerGSES3_2), - Rule::Get( - &BuiltInVariable::kgl_Layer), - Rule::Get( - &BuiltInVariable::kgl_LayerGS), - Rule::Get(&BuiltInVariable::kgl_SampleIDES3_2), - Rule::Get(&BuiltInVariable::kgl_SampleIDES3_2), - Rule::Get( - &BuiltInVariable::kgl_SampleID), - Rule::Get(&BuiltInVariable::kgl_SamplePositionES3_2), - Rule::Get(&BuiltInVariable::kgl_SamplePositionES3_2), - Rule::Get( - &BuiltInVariable::kgl_SamplePosition), - Rule::Get(&TableBase::m_gl_SampleMaskInES3_2), - Rule::Get(&TableBase::m_gl_SampleMaskInES3_2), - Rule::Get( - &TableBase::m_gl_SampleMaskIn), - Rule::Get(&TableBase::m_gl_SampleMaskES3_2), - Rule::Get(&TableBase::m_gl_SampleMaskES3_2), - Rule::Get( - &TableBase::m_gl_SampleMask), - Rule::Get( - &TableBase::m_gl_CullDistance), - Rule::Get( - &TableBase::m_gl_CullDistanceEXT), - Rule::Get( - &TableBase::m_gl_ClipDistance), - Rule::Get( - &TableBase::m_gl_ClipDistanceAPPLE), - Rule::Get(&BuiltInVariable::kgl_Position), - Rule::Get(&BuiltInVariable::kgl_Position), - Rule::Get(&TableBase::m_gl_PositionGSES3_2), - Rule::Get(&TableBase::m_gl_PositionGSES3_2), - Rule::Get(&TableBase::m_gl_PositionTCSES3_2), - Rule::Get(&TableBase::m_gl_PositionTCSES3_2), - Rule::Get(&TableBase::m_gl_PositionTESES3_2), - Rule::Get(&TableBase::m_gl_PositionTESES3_2), - Rule::Get( - &TableBase::m_gl_PositionGS), - Rule::Get( - &TableBase::m_gl_PositionTCS), - Rule::Get( - &TableBase::m_gl_PositionTES), - Rule::Get(&BuiltInVariable::kgl_PointSize), - Rule::Get(&BuiltInVariable::kgl_PointSize), - Rule::Get(&BuiltInVariable::kgl_InstanceID), - Rule::Get(&BuiltInVariable::kgl_InstanceID), - Rule::Get(&BuiltInVariable::kgl_VertexID), - Rule::Get(&BuiltInVariable::kgl_VertexID), + Rule::Get(&clamp_30D00D00D), + Rule::Get(&clamp_30D00D00D), + Rule::Get(&mix_20E20E20F), + Rule::Get(&mix_20E20E20F), + Rule::Get(&floatBitsToInt_10B), + Rule::Get(&floatBitsToInt_10B), + Rule::Get(&textureProjOffset_00R30B10D00B), + Rule::Get(&textureProjOffset_00R30B10D00B), + Rule::Get(&textureGather_00U20B00D), + Rule::Get(&textureGather_00U20B00D), + Rule::Get(&floatBitsToInt_00B), + Rule::Get(&floatBitsToInt_00B), + Rule::Get(&imageLoad_01a20D), + Rule::Get(&imageLoad_01a20D), + Rule::Get(&floatBitsToUint_00B), + Rule::Get(&floatBitsToUint_00B), + Rule::Get(&min_30C30C), + Rule::Get(&textureSamples_00Q), + Rule::Get(&textureGradOffset_00i20B00B00B00D), + Rule::Get(&imageAtomicXor_00z10D00D), + Rule::Get( + &imageAtomicXorExt_00z10D00D), + Rule::Get( + &texture2DRectProj_00O20B), + Rule::Get(&modf_20C20C), + Rule::Get(&tan_20B), + Rule::Get(&tan_20B), + Rule::Get(&floor_00C), + Rule::Get(&floor_00B), + Rule::Get(&floor_00B), + Rule::Get(&imageAtomicMax_01O10D00E), + Rule::Get( + &imageAtomicMaxExt_01O10D00E), + Rule::Get(&imageAtomicMax_01O10D00D), + Rule::Get( + &imageAtomicMaxExt_01O10D00D), + Rule::Get(&mod_30C30C), Rule::Get( &BuiltInVariable::kgl_DrawID), - Rule::Get( - &BuiltInVariable::kgl_BaseVertex), - Rule::Get( - &BuiltInVariable::kgl_BaseInstance), + Rule::Get(&textureOffset_00t00B00D), + Rule::Get(&texture3DLod_00J20B00B), + Rule::Get( + &texture3DLod_00J20B00B), + Rule::Get(&imageLoad_01Q10D), + Rule::Get(&texture_00R10B00B), + Rule::Get(&texture_00R10B00B), + Rule::Get(&imageStore_01Y10D30D), + Rule::Get(&modf_00B00B), + Rule::Get(&modf_00B00B), + Rule::Get(¬Equal_20D20D), + Rule::Get(¬Equal_20D20D), + Rule::Get(&imageAtomicExchange_01R10D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01R10D00D00E), + Rule::Get(&imageAtomicExchange_01R10D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01R10D00D00D), + Rule::Get(&ldexp_10C10D), + Rule::Get(&imageAtomicExchange_01F20D00E), + Rule::Get( + &imageAtomicExchangeExt_01F20D00E), + Rule::Get(&determinant_A0B), + Rule::Get(&imageAtomicExchange_01i00D00D), + Rule::Get( + &imageAtomicExchangeExt_01i00D00D), + Rule::Get(&textureLodOffset_00i20B00B00D), + Rule::Get(&imageAtomicExchange_01i00D00B), + Rule::Get( + &imageAtomicExchangeExt_01i00D00B), + Rule::Get(&shadow1DLod_00m20B00B), + Rule::Get(&imageAtomicOr_01I20D00E), + Rule::Get( + &imageAtomicOrExt_01I20D00E), + Rule::Get(&distance_00C00C), + Rule::Get(&isnan_30B), + Rule::Get(&isnan_30B), + Rule::Get(&textureProjOffset_00o30B00D), + Rule::Get(&lessThanEqual_30D30D), + Rule::Get(&lessThanEqual_30D30D), + Rule::Get( + &textureProj_00M30B00B), + Rule::Get(&texture2DProj_00M30B), + Rule::Get(&atomicCounterMax_00G00E), + Rule::Get(&atomicCounterExchange_00G00E), + Rule::Get(&textureGrad_00I10B10B10B), + Rule::Get(&textureGrad_00I10B10B10B), + Rule::Get(&step_00B20B), + Rule::Get(&step_00B20B), + Rule::Get(&texture2DProjLod_00I20B00B), + Rule::Get(&texture2DProjLod_00I20B00B), + Rule::Get(&step_00C30C), + Rule::Get(&yuv_2_rgb_20B00H), + Rule::Get(&texelFetch_00b10D00D), + Rule::Get(&texelFetch_00b10D00D), + Rule::Get( + &texelFetchExt_00b10D00D), + Rule::Get(&textureProj_00J30B00B), + Rule::Get(&textureProj_00J30B00B), + Rule::Get(&textureGather_00R10B), + Rule::Get(&textureGather_00R10B), + Rule::Get(&imageAtomicCompSwap_01c20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01c20D00D00D), + Rule::Get(&imageAtomicOr_01V20D00D00D), + Rule::Get( + &imageAtomicOrExt_01V20D00D00D), + Rule::Get(&imageAtomicOr_01V20D00D00E), + Rule::Get( + &imageAtomicOrExt_01V20D00D00E), + Rule::Get(&imageAtomicExchange_01P10D00D), + Rule::Get( + &imageAtomicExchangeExt_01P10D00D), + Rule::Get(&imageLoad_01L00D), + Rule::Get(&min_10D10D), + Rule::Get(&min_10D10D), + Rule::Get(&all_30F), + Rule::Get(&all_30F), + Rule::Get(&imageAtomicExchange_01P10D00E), + Rule::Get( + &imageAtomicExchangeExt_01P10D00E), + Rule::Get(&imageAtomicAnd_01S10D00D00E), + Rule::Get( + &imageAtomicAndExt_01S10D00D00E), + Rule::Get(&imageAtomicAnd_01S10D00D00D), + Rule::Get( + &imageAtomicAndExt_01S10D00D00D), Rule::Get( &BuiltInVariable::kangle_BaseVertex), - Rule::Get( - &BuiltInVariable::kangle_BaseInstance), - Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), - Rule::Get(&BuiltInVariable::kgl_NumWorkGroups), - Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), - Rule::Get(&BuiltInVariable::kgl_WorkGroupSize), - Rule::Get(&BuiltInVariable::kgl_WorkGroupID), - Rule::Get(&BuiltInVariable::kgl_WorkGroupID), - Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), - Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&bitfieldReverse_20D), + Rule::Get(&bitfieldReverse_20D), + Rule::Get(&bitfieldReverse_20E), + Rule::Get(&bitfieldReverse_20E), + Rule::Get(&imageAtomicExchange_01I20D00D), + Rule::Get( + &imageAtomicExchangeExt_01I20D00D), + Rule::Get(&imageAtomicExchange_01I20D00E), + Rule::Get( + &imageAtomicExchangeExt_01I20D00E), + Rule::Get(&imageAtomicExchange_01I20D00B), + Rule::Get( + &imageAtomicExchangeExt_01I20D00B), + Rule::Get(&imageAtomicExchange_01c20D00E), + Rule::Get( + &imageAtomicExchangeExt_01c20D00E), + Rule::Get( + &TableBase::m_gl_MaxGeometryInputComponents), + Rule::Get(&textureGatherOffsets_00X10B10Dx4), + Rule::Get(&textureGatherOffsets_00X10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00X10B10Dx4), + Rule::Get(&texture_00u20B), + Rule::Get(&textureGather_00v20B), + Rule::Get(&fract_10B), + Rule::Get(&fract_10B), + Rule::Get(&fract_10C), + Rule::Get(&textureGatherOffset_00O10B10D00D), + Rule::Get(&textureQueryLod_00K20B), + Rule::Get(&textureLodOffset_00I10B00B10D), + Rule::Get(&textureLodOffset_00I10B00B10D), + Rule::Get(&imageAtomicCompSwap_01S10D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01S10D00D00E00E), + Rule::Get(&imageAtomicXor_01c20D00E), + Rule::Get( + &imageAtomicXorExt_01c20D00E), + Rule::Get(&imageAtomicXor_01c20D00D), + Rule::Get( + &imageAtomicXorExt_01c20D00D), + Rule::Get(&textureOffset_00U20B10D), + Rule::Get(&textureOffset_00U20B10D), + Rule::Get(&min_30B00B), + Rule::Get(&min_30B00B), + Rule::Get(&atomicAnd_00D00D), + Rule::Get(&atomicAnd_00D00D), + Rule::Get(&exp_10B), + Rule::Get(&exp_10B), + Rule::Get(&bitCount_30E), + Rule::Get(&bitCount_30E), + Rule::Get(&bitCount_30D), + Rule::Get(&bitCount_30D), + Rule::Get(&unpackUnorm2x16_00E), + Rule::Get(&unpackUnorm2x16_00E), + Rule::Get(&sqrt_20B), + Rule::Get(&sqrt_20B), + Rule::Get(&sqrt_20C), + Rule::Get(&textureGrad_00L20B10B10B), + Rule::Get(&textureGrad_00L20B10B10B), + Rule::Get(&interpolateAtCentroid_00B), + Rule::Get(&interpolateAtCentroid_00B), + Rule::Get( + &interpolateAtCentroidExt_00B), + Rule::Get(&textureSize_00o00D), + Rule::Get(&TableBase::m_gl_MaxImageUnits), + Rule::Get(&TableBase::m_gl_MaxImageUnits), + Rule::Get(&textureProjGrad_00o30B00B00B), + Rule::Get(&imageAtomicOr_01Q10D00D), + Rule::Get( + &imageAtomicOrExt_01Q10D00D), + Rule::Get(&packUnorm4x8_30B), + Rule::Get(&packUnorm4x8_30B), + Rule::Get(&imageAtomicMax_01Q10D00E), + Rule::Get( + &imageAtomicMaxExt_01Q10D00E), + Rule::Get(&texelFetch_00P10D00D), + Rule::Get(&texelFetch_00P10D00D), + Rule::Get( + &texelFetchExt_00P10D00D), + Rule::Get(&imageAtomicCompSwap_01i00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01i00D00D00D), + Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), + Rule::Get(&textureGatherOffsets_00d10B00B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00d10B00B10Dx4), + Rule::Get(&texture_00O10B), + Rule::Get(&texture_00O10B), + Rule::Get(&imageAtomicMin_01M00D00D), + Rule::Get( + &imageAtomicMinExt_01M00D00D), + Rule::Get(&imageAtomicMin_01M00D00E), + Rule::Get( + &imageAtomicMinExt_01M00D00E), + Rule::Get(&texture_00e30B00B), + Rule::Get(&texture_00e30B00B), + Rule::Get(&imageAtomicMin_01O10D00E), + Rule::Get( + &imageAtomicMinExt_01O10D00E), + Rule::Get(&imageAtomicMin_01O10D00D), + Rule::Get( + &imageAtomicMinExt_01O10D00D), + Rule::Get(&BuiltInVariable::kgl_FragCoord), + Rule::Get(&BuiltInVariable::kgl_FragCoord), + Rule::Get(&imageAtomicMax_01Q10D00D), + Rule::Get( + &imageAtomicMaxExt_01Q10D00D), + Rule::Get(&imageAtomicMax_01X10D00D), + Rule::Get( + &imageAtomicMaxExt_01X10D00D), + Rule::Get(&textureGrad_00u10B00B00B), + Rule::Get(&fwidthFine_20B), + Rule::Get(&textureQueryLod_00o00B), + Rule::Get(&imageAtomicAnd_01E20D00E), + Rule::Get( + &imageAtomicAndExt_01E20D00E), + Rule::Get(&imageAtomicAnd_01E20D00D), + Rule::Get( + &imageAtomicAndExt_01E20D00D), + Rule::Get(&normalize_00B), + Rule::Get(&normalize_00B), + Rule::Get(&normalize_00C), + Rule::Get(&clamp_10C00C00C), + Rule::Get(&imageAtomicOr_01A10D00E), + Rule::Get( + &imageAtomicOrExt_01A10D00E), + Rule::Get(&imageAtomicOr_01A10D00D), + Rule::Get( + &imageAtomicOrExt_01A10D00D), + Rule::Get(&imageAtomicCompSwap_01Q10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01Q10D00E00E), + Rule::Get(&atomicMax_00D00D), + Rule::Get(&atomicMax_00D00D), + Rule::Get(&textureProjGrad_00m30B00B00B), + Rule::Get(&imageAtomicAnd_01R10D00D00E), + Rule::Get( + &imageAtomicAndExt_01R10D00D00E), + Rule::Get(&floatBitsToUint_10B), + Rule::Get(&floatBitsToUint_10B), + Rule::Get(&textureLod_00J20B00B), + Rule::Get(&textureLod_00J20B00B), + Rule::Get(&textureGrad_00O10B10B10B), + Rule::Get(&dFdyFine_20B), + Rule::Get(&imageLoad_01W20D00D), + Rule::Get(&textureSize_00I00D), + Rule::Get(&textureSize_00I00D), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), + Rule::Get(&TableBase::m_gl_MaxComputeWorkGroupSize), + Rule::Get(&texelFetchOffset_00R10D00D10D), + Rule::Get(&texelFetchOffset_00R10D00D10D), + Rule::Get(&dFdxFine_10B), + Rule::Get(&imageAtomicExchange_01D20D00D), + Rule::Get( + &imageAtomicExchangeExt_01D20D00D), + Rule::Get(&textureLodOffset_00X10B00B10D), + Rule::Get(&textureLodOffset_00X10B00B10D), + Rule::Get(&texture_00T20B00B), + Rule::Get(&texture_00T20B00B), + Rule::Get(&log_30B), + Rule::Get(&log_30B), + Rule::Get(¬Equal_20F20F), + Rule::Get(¬Equal_20F20F), + Rule::Get(&allInvocationsEqual_00F), + Rule::Get(&imageAtomicMax_01K20D00D), + Rule::Get( + &imageAtomicMaxExt_01K20D00D), + Rule::Get(&imageAtomicMax_01K20D00E), + Rule::Get( + &imageAtomicMaxExt_01K20D00E), + Rule::Get(&dFdyCoarse_30B), + Rule::Get(&textureProjLod_00R20B00B), + Rule::Get(&textureProjLod_00R20B00B), + Rule::Get(¬Equal_30D30D), + Rule::Get(¬Equal_30D30D), + Rule::Get(&fwidthCoarse_30B), + Rule::Get(&textureProjOffset_00I20B10D), + Rule::Get(&textureProjOffset_00I20B10D), + Rule::Get(&textureQueryLevels_00l), + Rule::Get(&textureQueryLevels_00m), + Rule::Get(&textureQueryLevels_00o), + Rule::Get(&textureQueryLevels_00h), + Rule::Get(&textureQueryLevels_00i), + Rule::Get(&textureQueryLevels_00k), + Rule::Get(&textureQueryLevels_00d), + Rule::Get(&textureQueryLevels_00e), + Rule::Get(&textureQueryLevels_00f), + Rule::Get(&textureQueryLevels_00g), + Rule::Get(&TableBase::m_gl_MaxDrawBuffers), + Rule::Get(&TableBase::m_gl_MaxDrawBuffers), + Rule::Get(&textureQueryLevels_00a), + Rule::Get(&atomicCounterMin_00G00E), + Rule::Get(&textureGradOffset_00u10B00B00B00D), + Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxCombinedTextureImageUnits), + Rule::Get(&textureQueryLevels_00x), + Rule::Get(&textureQueryLevels_00t), + Rule::Get(&textureQueryLevels_00u), + Rule::Get(&imageAtomicMin_01K20D00D), + Rule::Get( + &imageAtomicMinExt_01K20D00D), + Rule::Get(&imulExtended_20D20D20D20D), + Rule::Get(&imulExtended_20D20D20D20D), + Rule::Get(&any_30F), + Rule::Get(&any_30F), + Rule::Get(&distance_30B30B), + Rule::Get(&distance_30B30B), + Rule::Get(&textureQueryLevels_00s), + Rule::Get(&textureQueryLevels_00L), + Rule::Get(&textureQueryLevels_00I), + Rule::Get(&textureQueryLevels_00J), + Rule::Get(&textureQueryLevels_00K), + Rule::Get(&imageAtomicExchange_01L00D00D), + Rule::Get( + &imageAtomicExchangeExt_01L00D00D), + Rule::Get(&texture3D_00J20B00B), + Rule::Get(&texture3D_00J20B00B), + Rule::Get(&texture1DLod_00g00B00B), + Rule::Get(&textureQueryLevels_00X), + Rule::Get(&textureQueryLevels_00Y), + Rule::Get(&textureQueryLevels_00Z), + Rule::Get(&dot_30B30B), + Rule::Get(&dot_30B30B), + Rule::Get(&textureQueryLevels_00T), + Rule::Get(&textureQueryLevels_00U), + Rule::Get(&textureQueryLevels_00R), + Rule::Get(&textureQueryLevels_00S), + Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), + Rule::Get(&TableBase::m_gl_MaxTextureImageUnits), + Rule::Get(&usubBorrow_20E20E20E), + Rule::Get(&usubBorrow_20E20E20E), + Rule::Get(&textureProj_00t30B00B), + Rule::Get(&shadow1DProj_00m30B00B), + Rule::Get(&clamp_30B00B00B), + Rule::Get(&clamp_30B00B00B), + Rule::Get(&textureGatherOffsets_00O10B10Dx4), + Rule::Get( + &texture2DRectProj_00O30B), + Rule::Get(&max_10D00D), + Rule::Get(&max_10D00D), + Rule::Get(&textureGradOffset_00n20B10B10B10D), + Rule::Get(&clamp_00D00D00D), + Rule::Get(&clamp_00D00D00D), + Rule::Get(&floor_30B), + Rule::Get(&floor_30B), + Rule::Get(&floor_30C), + Rule::Get(&imageStore_01P10D30D), + Rule::Get(&textureProjGradOffset_00S30B20B20B20D), + Rule::Get(&textureProjGradOffset_00S30B20B20B20D), + Rule::Get(&reflect_30C30C), + Rule::Get(&BuiltInVariable::kgl_PointCoord), + Rule::Get(&BuiltInVariable::kgl_PointCoord), + Rule::Get(&imageAtomicOr_01D20D00E), + Rule::Get( + &imageAtomicOrExt_01D20D00E), + Rule::Get(&textureGatherOffset_00v10B10D), + Rule::Get(&imageAtomicOr_01D20D00D), + Rule::Get( + &imageAtomicOrExt_01D20D00D), + Rule::Get(&imageStore_01F20D30B), + Rule::Get(&imageStore_01F20D30B), + Rule::Get(&packDouble2x32_10E), + Rule::Get(&clamp_10B00B00B), + Rule::Get(&clamp_10B00B00B), + Rule::Get(&texelFetchOffset_00S20D00D20D), + Rule::Get(&texelFetchOffset_00S20D00D20D), + Rule::Get(&lessThan_10D10D), + Rule::Get(&lessThan_10D10D), + Rule::Get(&textureSize_00g00D), + Rule::Get(&textureGatherOffset_00U20B10D00D), + Rule::Get(&textureGatherOffset_00U20B10D00D), + Rule::Get(&textureGatherOffset_00q10B10D00D), + Rule::Get(&textureGather_00I10B00D), + Rule::Get(&textureGather_00I10B00D), + Rule::Get(&texture1DProjLod_00g30B00B), + Rule::Get(&texelFetch_00V10D00D), + Rule::Get(&texelFetch_00V10D00D), + Rule::Get( + &texelFetchExt_00V10D00D), + Rule::Get(&imageAtomicExchange_01h00D00E), + Rule::Get( + &imageAtomicExchangeExt_01h00D00E), + Rule::Get(&imageAtomicExchange_01h00D00D), + Rule::Get( + &imageAtomicExchangeExt_01h00D00D), + Rule::Get(&atan_30B30B), + Rule::Get(&atan_30B30B), + Rule::Get(&imageAtomicExchange_01h00D00B), + Rule::Get( + &imageAtomicExchangeExt_01h00D00B), + Rule::Get(&imageAtomicMax_01a20D00D), + Rule::Get( + &imageAtomicMaxExt_01a20D00D), + Rule::Get(&imageAtomicMax_01a20D00E), + Rule::Get( + &imageAtomicMaxExt_01a20D00E), + Rule::Get(&textureProjLod_00g30B00B), + Rule::Get(&max_00B00B), + Rule::Get(&max_00B00B), + Rule::Get(&imageAtomicOr_01J20D00E), + Rule::Get( + &imageAtomicOrExt_01J20D00E), + Rule::Get(&imageAtomicOr_01J20D00D), + Rule::Get( + &imageAtomicOrExt_01J20D00D), + Rule::Get(&imageAtomicMax_01F20D00E), + Rule::Get( + &imageAtomicMaxExt_01F20D00E), + Rule::Get(&imageAtomicMax_01F20D00D), + Rule::Get( + &imageAtomicMaxExt_01F20D00D), + Rule::Get(&exp2_20B), + Rule::Get(&exp2_20B), + Rule::Get(&smoothstep_30C30C30C), + Rule::Get(&imageAtomicExchange_00z10D00B), + Rule::Get( + &imageAtomicExchangeExt_00z10D00B), + Rule::Get(&imageAtomicExchange_00z10D00E), + Rule::Get( + &imageAtomicExchangeExt_00z10D00E), + Rule::Get(&imageAtomicExchange_00z10D00D), + Rule::Get( + &imageAtomicExchangeExt_00z10D00D), + Rule::Get(&textureProj_00q20B), + Rule::Get(&textureProjLod_00t10B00B), + Rule::Get(&imageAtomicMin_01c20D00D), + Rule::Get( + &imageAtomicMinExt_01c20D00D), + Rule::Get(&imageAtomicMin_01c20D00E), + Rule::Get( + &imageAtomicMinExt_01c20D00E), + Rule::Get(&textureSize_00k00D), + Rule::Get(&textureSize_00k00D), + Rule::Get(&reflect_20B20B), + Rule::Get(&reflect_20B20B), + Rule::Get(&imageAtomicXor_01V20D00D00E), + Rule::Get( + &imageAtomicXorExt_01V20D00D00E), + Rule::Get(&imageAtomicXor_01V20D00D00D), + Rule::Get( + &imageAtomicXorExt_01V20D00D00D), + Rule::Get(&equal_10F10F), + Rule::Get(&equal_10F10F), + Rule::Get(&acos_30B), + Rule::Get(&acos_30B), + Rule::Get(&textureVideoWEBGL_00y10B), + Rule::Get(&textureVideoWEBGL_00y10B), + Rule::Get(&dFdx_10B), + Rule::Get(&dFdx_10B), + Rule::Get(&dFdxExt_10B), + Rule::Get(&bitfieldReverse_30E), + Rule::Get(&bitfieldReverse_30E), + Rule::Get(&bitfieldReverse_30D), + Rule::Get(&bitfieldReverse_30D), + Rule::Get(&imageAtomicOr_01Z10D00D), + Rule::Get( + &imageAtomicOrExt_01Z10D00D), + Rule::Get(&imageAtomicOr_01Z10D00E), + Rule::Get( + &imageAtomicOrExt_01Z10D00E), + Rule::Get(&texture1DProj_00g30B), + Rule::Get(&textureGatherOffsets_00v10B10Dx400D), + Rule::Get(&fract_00C), + Rule::Get(&fract_00B), + Rule::Get(&fract_00B), + Rule::Get(&min_30E00E), + Rule::Get(&min_30E00E), + Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), + Rule::Get(&TableBase::m_gl_MinProgramTexelOffset), + Rule::Get(&imageAtomicOr_01Q10D00E), + Rule::Get( + &imageAtomicOrExt_01Q10D00E), + Rule::Get(&interpolateAtOffset_20B10B), + Rule::Get(&interpolateAtOffset_20B10B), + Rule::Get( + &interpolateAtOffsetExt_20B10B), + Rule::Get(&imageAtomicOr_01c20D00D), + Rule::Get( + &imageAtomicOrExt_01c20D00D), + Rule::Get(&imageAtomicOr_01c20D00E), + Rule::Get( + &imageAtomicOrExt_01c20D00E), + Rule::Get(&reflect_30B30B), + Rule::Get(&reflect_30B30B), + Rule::Get(&interpolateAtCentroid_30B), + Rule::Get(&interpolateAtCentroid_30B), + Rule::Get( + &interpolateAtCentroidExt_30B), + Rule::Get(&textureGather_00s30B), + Rule::Get(&textureGather_00s30B), + Rule::Get(&imageAtomicXor_01X10D00E), + Rule::Get( + &imageAtomicXorExt_01X10D00E), + Rule::Get(&imageAtomicXor_01X10D00D), + Rule::Get( + &imageAtomicXorExt_01X10D00D), + Rule::Get(&memoryBarrier_), + Rule::Get(&memoryBarrier_), + Rule::Get(&texture1D_00g00B00B), + Rule::Get(&pow_00B00B), + Rule::Get(&pow_00B00B), + Rule::Get(&mod_00B00B), + Rule::Get(&mod_00B00B), + Rule::Get(&faceforward_30C30C30C), + Rule::Get(&imageAtomicExchange_01K20D00D), + Rule::Get( + &imageAtomicExchangeExt_01K20D00D), + Rule::Get(&roundEven_10B), + Rule::Get(&roundEven_10B), + Rule::Get(&roundEven_10C), + Rule::Get(&atanh_30B), + Rule::Get(&atanh_30B), + Rule::Get(&textureLod_00K20B00B), + Rule::Get(&textureLod_00K20B00B), + Rule::Get(&bitCount_20D), + Rule::Get(&bitCount_20D), + Rule::Get(&bitCount_20E), + Rule::Get(&bitCount_20E), + Rule::Get(&texelFetch_00L20D00D), + Rule::Get(&texelFetch_00L20D00D), + Rule::Get(&dFdxFine_00B), + Rule::Get(&imageAtomicAnd_01K20D00E), + Rule::Get( + &imageAtomicAndExt_01K20D00E), + Rule::Get(&distance_20B20B), + Rule::Get(&distance_20B20B), + Rule::Get(&textureGradOffset_00q10B10B10B10D), + Rule::Get(&uaddCarry_30E30E30E), + Rule::Get(&uaddCarry_30E30E30E), + Rule::Get(&textureSize_00U00D), + Rule::Get(&textureSize_00U00D), + Rule::Get(&textureProjOffset_00o10B00D00B), + Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), + Rule::Get(&TableBase::m_gl_MaxCombinedImageUniforms), + Rule::Get(&atomicCounterXor_00G00E), + Rule::Get(&imageAtomicOr_01g00D00D), + Rule::Get( + &imageAtomicOrExt_01g00D00D), + Rule::Get(&imageAtomicOr_01g00D00E), + Rule::Get( + &imageAtomicOrExt_01g00D00E), Rule::Get(&BuiltInVariable::kgl_GlobalInvocationID), Rule::Get(&BuiltInVariable::kgl_GlobalInvocationID), Rule::Get(&BuiltInVariable::kgl_LocalInvocationIndex), Rule::Get(&BuiltInVariable::kgl_LocalInvocationIndex), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDInES3_2), - Rule::Get(&BuiltInVariable::kgl_PrimitiveIDInES3_2), + Rule::Get(&BuiltInVariable::kgl_VertexID), + Rule::Get(&BuiltInVariable::kgl_VertexID), + Rule::Get(&imageAtomicMin_01L00D00E), + Rule::Get( + &imageAtomicMinExt_01L00D00E), + Rule::Get(&smoothstep_20C20C20C), + Rule::Get(&imageAtomicCompSwap_01U20D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01U20D00D00D00D), + Rule::Get(&atomicOr_00E00E), + Rule::Get(&atomicOr_00E00E), + Rule::Get(&mix_10B10B10F), + Rule::Get(&mix_10B10B10F), + Rule::Get(&reflect_10C10C), + Rule::Get(&mix_10B10B10B), + Rule::Get(&mix_10B10B10B), + Rule::Get(&textureProj_00Y30B00B), + Rule::Get(&textureProj_00Y30B00B), + Rule::Get(&imageAtomicMax_01I20D00D), + Rule::Get( + &imageAtomicMaxExt_01I20D00D), + Rule::Get(&imageAtomicMax_01I20D00E), + Rule::Get( + &imageAtomicMaxExt_01I20D00E), + Rule::Get(&frexp_20B20D), + Rule::Get(&frexp_20B20D), + Rule::Get(&textureGatherOffset_00I10B10D00D), + Rule::Get(&textureGatherOffset_00I10B10D00D), + Rule::Get(¬Equal_20E20E), + Rule::Get(¬Equal_20E20E), + Rule::Get(&textureLodOffset_00d20B00B10D), + Rule::Get(&textureLodOffset_00d20B00B10D), + Rule::Get(&inverse_A0B), + Rule::Get(&inverse_A0B), + Rule::Get(&textureProjGrad_00X20B10B10B), + Rule::Get(&textureProjGrad_00X20B10B10B), + Rule::Get(&textureSize_00Y00D), + Rule::Get(&textureSize_00Y00D), + Rule::Get(&atan_20B20B), + Rule::Get(&atan_20B20B), + Rule::Get(&usubBorrow_00E00E00E), + Rule::Get(&usubBorrow_00E00E00E), + Rule::Get(&imageAtomicXor_01M00D00E), + Rule::Get( + &imageAtomicXorExt_01M00D00E), + Rule::Get(&textureGatherOffsets_00L20B10Dx400D), + Rule::Get(&textureGatherOffsets_00L20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00L20B10Dx400D), + Rule::Get(&dFdyFine_30B), + Rule::Get(&textureQueryLod_00s20B), + Rule::Get(&texture_00v10B), + Rule::Get(&textureGatherOffsets_00U20B10Dx4), + Rule::Get(&textureGatherOffsets_00U20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00U20B10Dx4), + Rule::Get(&subpassLoad_01n00D), + Rule::Get(&imageAtomicCompSwap_01c20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01c20D00E00E), + Rule::Get(&textureProjLodOffset_00g10B00B00D), + Rule::Get(&step_10C10C), + Rule::Get(&textureQueryLod_00x20B), + Rule::Get(&fma_10B10B10B), + Rule::Get(&fma_10B10B10B), + Rule::Get(&fmaExt_10B10B10B), + Rule::Get(&smoothstep_00B00B10B), + Rule::Get(&smoothstep_00B00B10B), + Rule::Get(&imageAtomicCompSwap_01a20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01a20D00D00D), + Rule::Get(&imageSize_01N), + Rule::Get(&textureLod_00u10B00B), + Rule::Get(&textureProjGradOffset_00m30B00B00B00D), + Rule::Get(&fwidthCoarse_00B), + Rule::Get(&dFdyCoarse_20B), + Rule::Get(&textureProjGradOffset_00o30B00B00B00D), + Rule::Get(&imageStore_01b20D30D), + Rule::Get(&imageStore_01b20D30D), + Rule::Get(&textureProj_00g30B00B), + Rule::Get(&bitfieldExtract_00E00D00D), + Rule::Get(&bitfieldExtract_00E00D00D), + Rule::Get(&distance_30C30C), + Rule::Get(&any_20F), + Rule::Get(&any_20F), + Rule::Get(&BuiltInVariable::kgl_HelperInvocation), + Rule::Get(&BuiltInVariable::kgl_HelperInvocation), + Rule::Get(&textureLod_00g00B00B), + Rule::Get(&sin_10B), + Rule::Get(&sin_10B), + Rule::Get( + &TableBase::m_gl_MaxClipDistances), + Rule::Get(&textureSize_00N00D), + Rule::Get(&mod_20B20B), + Rule::Get(&mod_20B20B), + Rule::Get(&imageAtomicOr_01h00D00E), + Rule::Get( + &imageAtomicOrExt_01h00D00E), + Rule::Get(&imageAtomicOr_01h00D00D), + Rule::Get( + &imageAtomicOrExt_01h00D00D), + Rule::Get(&textureGrad_00k30B20B20B), + Rule::Get(&textureGrad_00k30B20B20B), + Rule::Get(&textureProjOffset_00o10B00D), + Rule::Get(&imageAtomicMin_01A10D00E), + Rule::Get( + &imageAtomicMinExt_01A10D00E), + Rule::Get(&imageAtomicMin_01A10D00D), + Rule::Get( + &imageAtomicMinExt_01A10D00D), + Rule::Get(&textureGradOffset_00f30B10B10B10D), + Rule::Get(&textureGradOffset_00f30B10B10B10D), + Rule::Get(&max_20D20D), + Rule::Get(&max_20D20D), + Rule::Get(&max_10D10D), + Rule::Get(&max_10D10D), + Rule::Get(&textureGradOffset_00t00B00B00B00D), + Rule::Get(&refract_30B30B00B), + Rule::Get(&refract_30B30B00B), + Rule::Get(&floor_20C), + Rule::Get(&floor_20B), + Rule::Get(&floor_20B), + Rule::Get(&texelFetchOffset_00t00D00D00D), + Rule::Get(&imageAtomicOr_01a20D00E), + Rule::Get( + &imageAtomicOrExt_01a20D00E), + Rule::Get(&matrixCompMult_F0BF0B), + Rule::Get(&matrixCompMult_F0BF0B), + Rule::Get(&umulExtended_10E10E10E10E), + Rule::Get(&umulExtended_10E10E10E10E), + Rule::Get(&texture_00d20B00B), + Rule::Get(&texture_00d20B00B), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounterBuffers), + Rule::Get(&umulExtended_30E30E30E30E), + Rule::Get(&umulExtended_30E30E30E30E), + Rule::Get(&textureGradOffset_00Y20B20B20B20D), + Rule::Get(&textureGradOffset_00Y20B20B20B20D), + Rule::Get(&textureGatherOffset_00a20B10D), + Rule::Get(&textureGatherOffset_00a20B10D), + Rule::Get(&textureGrad_00f30B10B10B), + Rule::Get(&textureGrad_00f30B10B10B), + Rule::Get(&atomicCounterSubtract_00G00E), + Rule::Get(&imageAtomicXor_01C20D00E), + Rule::Get( + &imageAtomicXorExt_01C20D00E), + Rule::Get(&modf_20B20B), + Rule::Get(&modf_20B20B), + Rule::Get(&imageAtomicAnd_01Y10D00D), + Rule::Get( + &imageAtomicAndExt_01Y10D00D), + Rule::Get(&imageAtomicAnd_01Y10D00E), + Rule::Get( + &imageAtomicAndExt_01Y10D00E), + Rule::Get(&imageAtomicAdd_01i00D00E), + Rule::Get( + &imageAtomicAddExt_01i00D00E), + Rule::Get(&imageAtomicAdd_01i00D00D), + Rule::Get( + &imageAtomicAddExt_01i00D00D), + Rule::Get(&noise1_00B), + Rule::Get(&imageLoad_01M00D), + Rule::Get(&imageAtomicCompSwap_01L00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01L00D00E00E), + Rule::Get(&texture_00y10B), + Rule::Get(&texture_00y10B), + Rule::Get(&length_30C), + Rule::Get(&length_30B), + Rule::Get(&length_30B), + Rule::Get(&imageStore_01B10D30E), + Rule::Get(&imageStore_01B10D30E), + Rule::Get(&mod_30B30B), + Rule::Get(&mod_30B30B), + Rule::Get(&mix_10C10C10F), + Rule::Get(&imageAtomicMin_00z10D00E), + Rule::Get( + &imageAtomicMinExt_00z10D00E), + Rule::Get(&imageAtomicMin_00z10D00D), + Rule::Get( + &imageAtomicMinExt_00z10D00D), + Rule::Get(&imageStore_01I20D30B), + Rule::Get(&imageStore_01I20D30B), + Rule::Get(&exp2_30B), + Rule::Get(&exp2_30B), + Rule::Get(&allInvocations_00F), + Rule::Get(&max_20C00C), + Rule::Get(&texture3DProj_00J30B00B), + Rule::Get( + &texture3DProj_00J30B00B), + Rule::Get(&imageAtomicAdd_01K20D00E), + Rule::Get( + &imageAtomicAddExt_01K20D00E), + Rule::Get(&imageAtomicAdd_01K20D00D), + Rule::Get( + &imageAtomicAddExt_01K20D00D), + Rule::Get(&textureProjLod_00X30B00B), + Rule::Get(&textureProjLod_00X30B00B), + Rule::Get(&textureProjGradOffset_00I30B10B10B10D), + Rule::Get(&textureProjGradOffset_00I30B10B10B10D), + Rule::Get(&imageAtomicAdd_01W20D00D00D), + Rule::Get( + &imageAtomicAddExt_01W20D00D00D), + Rule::Get(&cosh_30B), + Rule::Get(&cosh_30B), + Rule::Get(&textureProj_00q30B), + Rule::Get(&textureOffset_00S20B20D00B), + Rule::Get(&textureOffset_00S20B20D00B), + Rule::Get(&usubBorrow_30E30E30E), + Rule::Get(&usubBorrow_30E30E30E), + Rule::Get(&imageAtomicMax_01W20D00D00E), + Rule::Get( + &imageAtomicMaxExt_01W20D00D00E), + Rule::Get(&imageAtomicMax_01W20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01W20D00D00D), + Rule::Get(&textureProjOffset_00R20B10D00B), + Rule::Get(&textureProjOffset_00R20B10D00B), + Rule::Get(&imageSize_01H), + Rule::Get(&imageSize_01H), + Rule::Get(&textureOffset_00i20B00D00B), + Rule::Get(&texture3DProj_00J30B), + Rule::Get(&texture3DProj_00J30B), + Rule::Get(&matrixCompMult_B0BB0B), + Rule::Get(&lessThan_30B30B), + Rule::Get(&lessThan_30B30B), + Rule::Get(&cross_20B20B), + Rule::Get(&cross_20B20B), + Rule::Get(&imageSize_01O), + Rule::Get(&textureGrad_00q10B10B10B), + Rule::Get(&clamp_20B00B00B), + Rule::Get(&clamp_20B00B00B), + Rule::Get(&dFdx_00B), + Rule::Get(&dFdx_00B), + Rule::Get(&dFdxExt_00B), + Rule::Get(&findLSB_00D), + Rule::Get(&findLSB_00D), + Rule::Get(&textureProjLodOffset_00o30B00B00D), + Rule::Get(&imageAtomicXor_01i00D00E), + Rule::Get( + &imageAtomicXorExt_01i00D00E), + Rule::Get(&textureProj_00R20B00B), + Rule::Get(&textureProj_00R20B00B), + Rule::Get(&acos_20B), + Rule::Get(&acos_20B), + Rule::Get(&texelFetch_00r00D), + Rule::Get(&texelFetch_00r00D), + Rule::Get(&max_20B20B), + Rule::Get(&max_20B20B), + Rule::Get(&lessThan_20E20E), + Rule::Get(&lessThan_20E20E), + Rule::Get(&textureLod_00X10B00B), + Rule::Get(&textureLod_00X10B00B), + Rule::Get(&equal_30F30F), + Rule::Get(&equal_30F30F), + Rule::Get(&sign_00C), + Rule::Get(&cosh_00B), + Rule::Get(&cosh_00B), + Rule::Get(&bitfieldExtract_00D00D00D), + Rule::Get(&bitfieldExtract_00D00D00D), + Rule::Get(&imageAtomicMin_01E20D00D), + Rule::Get( + &imageAtomicMinExt_01E20D00D), + Rule::Get(&imageAtomicMin_01E20D00E), + Rule::Get( + &imageAtomicMinExt_01E20D00E), + Rule::Get(&textureLod_00Z20B00B), + Rule::Get(&textureLod_00Z20B00B), + Rule::Get(&sign_00D), + Rule::Get(&sign_00D), + Rule::Get(&textureOffset_00Y20B20D), + Rule::Get(&textureOffset_00Y20B20D), + Rule::Get(&imageAtomicXor_01Q10D00D), + Rule::Get( + &imageAtomicXorExt_01Q10D00D), + Rule::Get(&imageAtomicXor_01Q10D00E), + Rule::Get( + &imageAtomicXorExt_01Q10D00E), + Rule::Get(&transpose_60B), + Rule::Get(&transpose_60B), + Rule::Get(&imageStore_01G20D30D), + Rule::Get(&imageStore_01G20D30D), + Rule::Get(&imageAtomicAdd_01O10D00D), + Rule::Get( + &imageAtomicAddExt_01O10D00D), + Rule::Get(&imageAtomicAdd_01O10D00E), + Rule::Get( + &imageAtomicAddExt_01O10D00E), + Rule::Get(&faceforward_00B00B00B), + Rule::Get(&faceforward_00B00B00B), + Rule::Get(&imageLoad_01Z10D), + Rule::Get(&imageAtomicOr_01O10D00E), + Rule::Get( + &imageAtomicOrExt_01O10D00E), + Rule::Get(&imageAtomicOr_01O10D00D), + Rule::Get( + &imageAtomicOrExt_01O10D00D), + Rule::Get(&imageAtomicAdd_01b20D00D), + Rule::Get( + &imageAtomicAddExt_01b20D00D), + Rule::Get(&interpolateAtCentroid_20B), + Rule::Get(&interpolateAtCentroid_20B), + Rule::Get( + &interpolateAtCentroidExt_20B), + Rule::Get(&textureProjLodOffset_00R30B00B10D), + Rule::Get(&textureProjLodOffset_00R30B00B10D), + Rule::Get(&textureGrad_00h10B00B00B), + Rule::Get(&imageAtomicExchange_01U20D00D00B), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00B), + Rule::Get(&texture1DProj_00g30B00B), + Rule::Get(&textureQueryLod_00h00B), + Rule::Get(&imageAtomicExchange_01U20D00D00E), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00E), + Rule::Get(&modf_00C00C), + Rule::Get(&textureProjLod_00t30B00B), + Rule::Get(&textureOffset_00o00B00D), + Rule::Get(&imageAtomicExchange_01U20D00D00D), + Rule::Get( + &imageAtomicExchangeExt_01U20D00D00D), + Rule::Get(&imageStore_01H20D30E), + Rule::Get(&imageStore_01H20D30E), + Rule::Get(&textureGather_00U20B), + Rule::Get(&textureGather_00U20B), + Rule::Get(&texelFetch_00Q20D00D), + Rule::Get( + &texelFetchExt_00Q20D00D), + Rule::Get(&roundEven_00C), + Rule::Get(&roundEven_00B), + Rule::Get(&roundEven_00B), + Rule::Get(&texelFetchOffset_00O10D10D), + Rule::Get(&atanh_20B), + Rule::Get(&atanh_20B), + Rule::Get(&clamp_10E00E00E), + Rule::Get(&clamp_10E00E00E), + Rule::Get(&dFdxFine_30B), + Rule::Get(&imageAtomicAdd_01L00D00E), + Rule::Get( + &imageAtomicAddExt_01L00D00E), + Rule::Get(&textureQueryLod_00J20B), + Rule::Get(&textureProjOffset_00X30B10D), + Rule::Get(&textureProjOffset_00X30B10D), + Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), + Rule::Get(&TableBase::m_gl_MaxFragmentUniformVectors), + Rule::Get(&texture2DProjLod_00I30B00B), + Rule::Get(&texture2DProjLod_00I30B00B), + Rule::Get(&interpolateAtOffset_10B10B), + Rule::Get(&interpolateAtOffset_10B10B), + Rule::Get( + &interpolateAtOffsetExt_10B10B), + Rule::Get(&max_10C10C), + Rule::Get(&texelFetch_00g00D00D), + Rule::Get(&abs_30B), + Rule::Get(&abs_30B), + Rule::Get(&bitfieldInsert_10E10E00D00D), + Rule::Get(&bitfieldInsert_10E10E00D00D), + Rule::Get(&packSnorm4x8_30B), + Rule::Get(&packSnorm4x8_30B), + Rule::Get(&mix_10B10B00B), + Rule::Get(&mix_10B10B00B), + Rule::Get(&imageSize_01b), + Rule::Get(&imageSize_01b), + Rule::Get(&clamp_30D30D30D), + Rule::Get(&clamp_30D30D30D), + Rule::Get(&textureGatherOffsets_00L20B10Dx4), + Rule::Get(&textureGatherOffsets_00L20B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00L20B10Dx4), + Rule::Get(&imageAtomicMax_01c20D00E), + Rule::Get( + &imageAtomicMaxExt_01c20D00E), + Rule::Get(&mod_10C00C), + Rule::Get(&imageAtomicMax_01G20D00D), + Rule::Get( + &imageAtomicMaxExt_01G20D00D), + Rule::Get(&imageAtomicMax_01G20D00E), + Rule::Get( + &imageAtomicMaxExt_01G20D00E), + Rule::Get(&determinant_F0B), + Rule::Get(&transpose_A0B), + Rule::Get(&transpose_A0B), + Rule::Get(&pow_20B20B), + Rule::Get(&pow_20B20B), + Rule::Get(&imageSize_01g), + Rule::Get(&imageSize_01g), + Rule::Get(&imageAtomicMax_01B10D00D), + Rule::Get( + &imageAtomicMaxExt_01B10D00D), + Rule::Get(&imageAtomicMax_01B10D00E), + Rule::Get( + &imageAtomicMaxExt_01B10D00E), + Rule::Get(&imageAtomicExchange_01G20D00B), + Rule::Get( + &imageAtomicExchangeExt_01G20D00B), + Rule::Get(&imageSize_01e), + Rule::Get(&imageAtomicExchange_01G20D00D), + Rule::Get( + &imageAtomicExchangeExt_01G20D00D), + Rule::Get(&imageAtomicExchange_01G20D00E), + Rule::Get( + &imageAtomicExchangeExt_01G20D00E), + Rule::Get(&imageLoad_01Y10D), + Rule::Get(&imageAtomicMax_01g00D00D), + Rule::Get( + &imageAtomicMaxExt_01g00D00D), + Rule::Get(&imageAtomicMax_01g00D00E), + Rule::Get( + &imageAtomicMaxExt_01g00D00E), + Rule::Get(&textureProj_00v30B), + Rule::Get(&textureProjGrad_00O20B10B10B), + Rule::Get(&texture_00s30B00B), + Rule::Get(&log2_20B), + Rule::Get(&log2_20B), + Rule::Get(&dot_30C30C), + Rule::Get(&fwidthCoarse_10B), + Rule::Get(&textureProjOffset_00I20B10D00B), + Rule::Get(&textureProjOffset_00I20B10D00B), + Rule::Get(&imageAtomicAnd_01T10D00D00D), + Rule::Get( + &imageAtomicAndExt_01T10D00D00D), + Rule::Get(&imageAtomicAnd_01T10D00D00E), + Rule::Get( + &imageAtomicAndExt_01T10D00D00E), + Rule::Get(¬Equal_10F10F), + Rule::Get(¬Equal_10F10F), + Rule::Get(&smoothstep_00B00B00B), + Rule::Get(&smoothstep_00B00B00B), + Rule::Get(&textureProjLodOffset_00d30B00B10D), + Rule::Get(&textureProjLodOffset_00d30B00B10D), + Rule::Get(&imageAtomicAnd_01P10D00E), + Rule::Get( + &imageAtomicAndExt_01P10D00E), + Rule::Get(&imageAtomicAnd_01P10D00D), + Rule::Get( + &imageAtomicAndExt_01P10D00D), + Rule::Get(&textureProjLodOffset_00I30B00B10D), + Rule::Get(&textureProjLodOffset_00I30B00B10D), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), + Rule::Get(&TableBase::m_gl_MaxCombinedAtomicCounters), + Rule::Get(&bitfieldInsert_10D10D00D00D), + Rule::Get(&bitfieldInsert_10D10D00D00D), + Rule::Get(&imageAtomicCompSwap_01N00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01N00D00D00D), + Rule::Get(&imageAtomicCompSwap_01L00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01L00D00D00D), + Rule::Get(&textureGather_00k30B), + Rule::Get(&textureGather_00k30B), + Rule::Get(&texture_00J20B), + Rule::Get(&texture_00J20B), + Rule::Get(&lessThanEqual_10D10D), + Rule::Get(&lessThanEqual_10D10D), + Rule::Get(&textureProjOffset_00o30B00D00B), + Rule::Get(&TableBase::m_gl_MaxVaryingVectors), + Rule::Get(&TableBase::m_gl_MaxVaryingVectors), + Rule::Get(&textureSize_00d00D), + Rule::Get(&textureSize_00d00D), + Rule::Get(&sin_00B), + Rule::Get(&sin_00B), + Rule::Get(&uaddCarry_10E10E10E), + Rule::Get(&uaddCarry_10E10E10E), + Rule::Get(&mix_10C10C00C), + Rule::Get(&atomicCounterIncrement_00G), + Rule::Get(&atomicCounterIncrement_00G), + Rule::Get(&imageAtomicAdd_01J20D00D), + Rule::Get( + &imageAtomicAddExt_01J20D00D), + Rule::Get(&imageAtomicAdd_01J20D00E), + Rule::Get( + &imageAtomicAddExt_01J20D00E), + Rule::Get(&imageAtomicCompSwap_01S10D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01S10D00D00D00D), + Rule::Get(&imageStore_01Q10D30E), + Rule::Get(&textureProj_00o10B00B), + Rule::Get(&imageAtomicAdd_01U20D00D00D), + Rule::Get( + &imageAtomicAddExt_01U20D00D00D), + Rule::Get(&imageAtomicAdd_01U20D00D00E), + Rule::Get( + &imageAtomicAddExt_01U20D00D00E), + Rule::Get(&textureProjOffset_00m30B00D), + Rule::Get(&imageAtomicExchange_01Y10D00B), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00B), + Rule::Get(&equal_10E10E), + Rule::Get(&equal_10E10E), + Rule::Get(&imageAtomicExchange_01Y10D00E), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00E), + Rule::Get(&imageAtomicExchange_01Y10D00D), + Rule::Get( + &imageAtomicExchangeExt_01Y10D00D), + Rule::Get(&imageLoad_01B10D), + Rule::Get(&imageLoad_01B10D), + Rule::Get(&imageAtomicExchange_01O10D00E), + Rule::Get( + &imageAtomicExchangeExt_01O10D00E), + Rule::Get(&textureProjOffset_00J30B20D), + Rule::Get(&textureProjOffset_00J30B20D), + Rule::Get(&imageSize_01W), + Rule::Get(&imageAtomicXor_01D20D00E), + Rule::Get( + &imageAtomicXorExt_01D20D00E), + Rule::Get(¬Equal_10E10E), + Rule::Get(¬Equal_10E10E), + Rule::Get(&min_10C10C), + Rule::Get(&textureProjGrad_00t10B00B00B), + Rule::Get(&imageAtomicExchange_01N00D00B), + Rule::Get( + &imageAtomicExchangeExt_01N00D00B), + Rule::Get(&textureGather_00q20B00D), + Rule::Get(&imageAtomicExchange_01N00D00E), + Rule::Get( + &imageAtomicExchangeExt_01N00D00E), + Rule::Get(&imageAtomicExchange_01N00D00D), + Rule::Get( + &imageAtomicExchangeExt_01N00D00D), + Rule::Get(&textureGatherOffsets_00q10B10Dx400D), + Rule::Get(&imageAtomicCompSwap_01O10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01O10D00D00D), + Rule::Get(&shadow1DProjLod_00m30B00B), + Rule::Get(&imageAtomicMin_01i00D00D), + Rule::Get( + &imageAtomicMinExt_01i00D00D), + Rule::Get(&texture_00u20B00B), + Rule::Get(&textureLodOffset_00R10B00B10D), + Rule::Get(&textureLodOffset_00R10B00B10D), + Rule::Get(&trunc_10B), + Rule::Get(&trunc_10B), + Rule::Get(&trunc_10C), + Rule::Get(&imageAtomicAdd_01S10D00D00D), + Rule::Get( + &imageAtomicAddExt_01S10D00D00D), + Rule::Get(&texelFetch_00u10D00D), + Rule::Get(&dot_20C20C), + Rule::Get(&TableBase::m_gl_DepthRangeParameters), + Rule::Get(&TableBase::m_gl_DepthRangeParameters), + Rule::Get(&noise4_30B), + Rule::Get(&textureGather_00f20B), + Rule::Get(&noise1_10B), + Rule::Get(&textureProjGrad_00g30B00B00B), + Rule::Get(&shadow2DProj_00d30B), + Rule::Get(&textureProj_00d30B00B), + Rule::Get(&textureProj_00d30B00B), + Rule::Get(&sign_10B), + Rule::Get(&sign_10B), + Rule::Get(&max_00E00E), + Rule::Get(&max_00E00E), + Rule::Get(&texture_00a20B00B), + Rule::Get(&texture_00a20B00B), + Rule::Get(&textureProj_00o10B), + Rule::Get(&refract_20C20C00B), + Rule::Get( + &textureProj_00M20B00B), + Rule::Get(&imageLoad_01A10D), + Rule::Get(&imageLoad_01A10D), + Rule::Get(&textureProjOffset_00X30B10D00B), + Rule::Get(&textureProjOffset_00X30B10D00B), + Rule::Get(&exp2_00B), + Rule::Get(&exp2_00B), + Rule::Get(&imageAtomicExchange_01H20D00B), + Rule::Get( + &imageAtomicExchangeExt_01H20D00B), + Rule::Get(&texelFetchOffset_00u10D00D00D), + Rule::Get(&imageAtomicCompSwap_01H20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01H20D00E00E), + Rule::Get(&imageAtomicExchange_01H20D00E), + Rule::Get( + &imageAtomicExchangeExt_01H20D00E), + Rule::Get(&imageAtomicExchange_01H20D00D), + Rule::Get( + &imageAtomicExchangeExt_01H20D00D), + Rule::Get(&textureGatherOffset_00q10B10D), + Rule::Get(&textureGather_00a20B00D), + Rule::Get(&textureGather_00a20B00D), + Rule::Get(&imageStore_01S10D00D30D), + Rule::Get(&ldexp_00C00D), + Rule::Get(&textureSize_00s00D), + Rule::Get(&textureSize_00s00D), + Rule::Get(&imageAtomicXor_01P10D00E), + Rule::Get( + &imageAtomicXorExt_01P10D00E), + Rule::Get(&imageAtomicOr_01I20D00D), + Rule::Get( + &imageAtomicOrExt_01I20D00D), + Rule::Get(&texture_00N10B00B), + Rule::Get( + &BuiltInVariable::kgl_PrimitiveID), + Rule::Get( + &BuiltInVariable::kgl_PrimitiveIDGS), + Rule::Get(&imageAtomicCompSwap_01Y10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01Y10D00D00D), + Rule::Get(&textureProjGrad_00I30B10B10B), + Rule::Get(&textureProjGrad_00I30B10B10B), + Rule::Get( + &BuiltInVariable::kgl_Layer), + Rule::Get( + &BuiltInVariable::kgl_LayerGS), + Rule::Get(&textureOffset_00d20B10D), + Rule::Get(&textureOffset_00d20B10D), + Rule::Get(&dFdx_30B), + Rule::Get(&dFdx_30B), + Rule::Get(&dFdxExt_30B), + Rule::Get(&textureGatherOffsets_00U20B10Dx400D), + Rule::Get(&textureGatherOffsets_00U20B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00U20B10Dx400D), + Rule::Get(&imageAtomicMin_01V20D00D00D), + Rule::Get( + &imageAtomicMinExt_01V20D00D00D), + Rule::Get(&imageAtomicMin_01V20D00D00E), + Rule::Get( + &imageAtomicMinExt_01V20D00D00E), + Rule::Get( + &BuiltInVariable::kgl_LastFragColor), + Rule::Get(&textureProjGradOffset_00t30B00B00B00D), + Rule::Get(&min_20E20E), + Rule::Get(&min_20E20E), + Rule::Get(&asin_20B), + Rule::Get(&asin_20B), + Rule::Get(&imageAtomicCompSwap_01U20D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01U20D00D00E00E), + Rule::Get(&texture_00l30B00B), + Rule::Get(&texture_00l30B00B), + Rule::Get(&texture1DProjLod_00g10B00B), + Rule::Get(&fwidth_10B), + Rule::Get(&fwidth_10B), + Rule::Get( + &fwidthExt_10B), + Rule::Get(&dFdy_00B), + Rule::Get(&dFdy_00B), + Rule::Get(&dFdyExt_00B), + Rule::Get(&shadow2DLod_00d20B00B), + Rule::Get(&texture1DProj_00g10B), + Rule::Get(&lessThan_30E30E), + Rule::Get(&lessThan_30E30E), + Rule::Get(&imulExtended_30D30D30D30D), + Rule::Get(&imulExtended_30D30D30D30D), + Rule::Get(&transpose_70B), + Rule::Get(&transpose_70B), + Rule::Get(&imulExtended_00D00D00D00D), + Rule::Get(&imulExtended_00D00D00D00D), + Rule::Get(&imageAtomicAdd_01F20D00D), + Rule::Get( + &imageAtomicAddExt_01F20D00D), + Rule::Get(&imageAtomicAdd_01F20D00E), + Rule::Get( + &imageAtomicAddExt_01F20D00E), + Rule::Get(&texture_00S20B00B), + Rule::Get(&texture_00S20B00B), + Rule::Get(&textureLod_00Y20B00B), + Rule::Get(&textureLod_00Y20B00B), + Rule::Get(&imageAtomicExchange_01c20D00D), + Rule::Get( + &imageAtomicExchangeExt_01c20D00D), + Rule::Get(&faceforward_10C10C10C), + Rule::Get(&imageStore_01Z10D30E), + Rule::Get(&textureQueryLod_00u00B), + Rule::Get(&imageAtomicExchange_01c20D00B), + Rule::Get( + &imageAtomicExchangeExt_01c20D00B), + Rule::Get(&min_20D00D), + Rule::Get(&min_20D00D), + Rule::Get(&imageAtomicCompSwap_01P10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01P10D00D00D), + Rule::Get(&uintBitsToFloat_00E), + Rule::Get(&uintBitsToFloat_00E), + Rule::Get(&dFdxFine_20B), + Rule::Get(&imageAtomicMin_01L00D00D), + Rule::Get( + &imageAtomicMinExt_01L00D00D), + Rule::Get(&imageAtomicExchange_01g00D00D), + Rule::Get( + &imageAtomicExchangeExt_01g00D00D), + Rule::Get(&bitfieldInsert_20D20D00D00D), + Rule::Get(&bitfieldInsert_20D20D00D00D), + Rule::Get(&mix_30B30B00B), + Rule::Get(&mix_30B30B00B), + Rule::Get(&textureQueryLod_00U10B), + Rule::Get(&tanh_00B), + Rule::Get(&tanh_00B), + Rule::Get(&subpassLoad_01o00D), + Rule::Get(&imageAtomicMax_01N00D00E), + Rule::Get( + &imageAtomicMaxExt_01N00D00E), + Rule::Get(&imageAtomicMax_01N00D00D), + Rule::Get( + &imageAtomicMaxExt_01N00D00D), + Rule::Get(&max_10C00C), + Rule::Get(&matrixCompMult_D0BD0B), + Rule::Get(&imageAtomicXor_01M00D00D), + Rule::Get( + &imageAtomicXorExt_01M00D00D), + Rule::Get(&imageAtomicAnd_01X10D00E), + Rule::Get( + &imageAtomicAndExt_01X10D00E), + Rule::Get(&shadow2DProjLod_00d30B00B), + Rule::Get(&imageAtomicAnd_01X10D00D), + Rule::Get( + &imageAtomicAndExt_01X10D00D), + Rule::Get(&min_30B30B), + Rule::Get(&min_30B30B), + Rule::Get(&reflect_20C20C), + Rule::Get(&texelFetch_00h10D00D), + Rule::Get(&memoryBarrierAtomicCounter_), + Rule::Get(&memoryBarrierAtomicCounter_), + Rule::Get(&bitfieldInsert_00E00E00D00D), + Rule::Get(&bitfieldInsert_00E00E00D00D), + Rule::Get(&imageAtomicAdd_01b20D00E), + Rule::Get( + &imageAtomicAddExt_01b20D00E), + Rule::Get(&imageAtomicMin_01a20D00E), + Rule::Get( + &imageAtomicMinExt_01a20D00E), + Rule::Get(&textureGrad_00d20B10B10B), + Rule::Get(&textureGrad_00d20B10B10B), + Rule::Get(&atan_10B), + Rule::Get(&atan_10B), + Rule::Get(&imageAtomicCompSwap_01g00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01g00D00D00D), + Rule::Get(&clamp_30C30C30C), + Rule::Get(&textureProj_00v20B), + Rule::Get(&step_00B10B), + Rule::Get(&step_00B10B), + Rule::Get(&textureProjLod_00I20B00B), + Rule::Get(&textureProjLod_00I20B00B), + Rule::Get(&rgb_2_yuv_20B00H), + Rule::Get(&imageLoad_01P10D), + Rule::Get(&texture_00T20B), + Rule::Get(&texture_00T20B), + Rule::Get(&log2_10B), + Rule::Get(&log2_10B), + Rule::Get(&imageAtomicAnd_01D20D00D), + Rule::Get( + &imageAtomicAndExt_01D20D00D), + Rule::Get(&imageAtomicAnd_01D20D00E), + Rule::Get( + &imageAtomicAndExt_01D20D00E), + Rule::Get(&findLSB_20E), + Rule::Get(&findLSB_20E), + Rule::Get(&findLSB_20D), + Rule::Get(&findLSB_20D), + Rule::Get(&imageAtomicCompSwap_01B10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01B10D00D00D), + Rule::Get(&imageAtomicOr_01X10D00D), + Rule::Get( + &imageAtomicOrExt_01X10D00D), + Rule::Get(&imageAtomicOr_01X10D00E), + Rule::Get( + &imageAtomicOrExt_01X10D00E), + Rule::Get(&noise2_30B), + Rule::Get(&imageAtomicOr_01U20D00D00E), + Rule::Get( + &imageAtomicOrExt_01U20D00D00E), + Rule::Get(&greaterThanEqual_10B10B), + Rule::Get(&greaterThanEqual_10B10B), + Rule::Get(&clamp_10D10D10D), + Rule::Get(&clamp_10D10D10D), + Rule::Get( + &texelFetch_00M10D00D), + Rule::Get(&textureQueryLod_00Y20B), + Rule::Get(&transpose_F0B), + Rule::Get(&transpose_F0B), + Rule::Get(&textureOffset_00Y20B20D00B), + Rule::Get(&textureOffset_00Y20B20D00B), + Rule::Get(&textureGradOffset_00S20B20B20B20D), + Rule::Get(&textureGradOffset_00S20B20B20B20D), + Rule::Get(&imageAtomicOr_01U20D00D00D), + Rule::Get( + &imageAtomicOrExt_01U20D00D00D), + Rule::Get(&clamp_30E30E30E), + Rule::Get(&clamp_30E30E30E), + Rule::Get(&textureSize_00R00D), + Rule::Get(&textureSize_00R00D), + Rule::Get(&acosh_10B), + Rule::Get(&acosh_10B), + Rule::Get(&imageLoad_01b20D), + Rule::Get(&imageLoad_01b20D), + Rule::Get(&imageAtomicCompSwap_01Z10D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01Z10D00E00E), + Rule::Get(&textureOffset_00L20B10D00B), + Rule::Get(&textureOffset_00L20B10D00B), + Rule::Get(&mod_20B00B), + Rule::Get(&mod_20B00B), + Rule::Get(&imageLoad_01U20D00D), + Rule::Get(&textureProjLod_00J30B00B), + Rule::Get(&textureProjLod_00J30B00B), + Rule::Get(&subpassLoad_01k), + Rule::Get(&transpose_90B), + Rule::Get(&transpose_90B), + Rule::Get(&mix_30C30C00C), + Rule::Get(&subpassLoad_01l), + Rule::Get(&atomicAnd_00E00E), + Rule::Get(&atomicAnd_00E00E), + Rule::Get(&max_20D00D), + Rule::Get(&max_20D00D), + Rule::Get(&texelFetchOffset_00I10D00D10D), + Rule::Get(&texelFetchOffset_00I10D00D10D), + Rule::Get(&imageAtomicMin_01Z10D00D), + Rule::Get( + &imageAtomicMinExt_01Z10D00D), + Rule::Get(&imageAtomicMin_01Z10D00E), + Rule::Get( + &imageAtomicMinExt_01Z10D00E), + Rule::Get(&imageAtomicCompSwap_01i00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01i00D00E00E), + Rule::Get(&imageAtomicCompSwap_01K20D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01K20D00D00D), + Rule::Get(&textureQueryLod_00L10B), + Rule::Get(&imageStore_01J20D30D), + Rule::Get(&imageStore_01J20D30D), + Rule::Get(&atomicCounter_00G), + Rule::Get(&atomicCounter_00G), + Rule::Get(&textureGrad_00m20B00B00B), + Rule::Get(&noise3_20B), + Rule::Get(&bitfieldInsert_30D30D00D00D), + Rule::Get(&bitfieldInsert_30D30D00D00D), + Rule::Get(&min_10C00C), + Rule::Get(&greaterThan_10D10D), + Rule::Get(&greaterThan_10D10D), + Rule::Get(&bitfieldExtract_10E00D00D), + Rule::Get(&bitfieldExtract_10E00D00D), + Rule::Get(&textureGradOffset_00h10B00B00B00D), + Rule::Get(&imageAtomicMax_01V20D00D00D), + Rule::Get( + &imageAtomicMaxExt_01V20D00D00D), + Rule::Get(&texture2D_00I10B00B), + Rule::Get(&texture2D_00I10B00B), + Rule::Get(&greaterThan_20D20D), + Rule::Get(&greaterThan_20D20D), + Rule::Get(&imageAtomicAnd_01W20D00D00D), + Rule::Get( + &imageAtomicAndExt_01W20D00D00D), + Rule::Get(&imageAtomicAnd_01W20D00D00E), + Rule::Get( + &imageAtomicAndExt_01W20D00D00E), + Rule::Get(&textureProjLodOffset_00t10B00B00D), + Rule::Get(&textureProjOffset_00O20B10D), + Rule::Get(&trunc_00B), + Rule::Get(&trunc_00B), + Rule::Get(&length_10C), + Rule::Get(&length_10B), + Rule::Get(&length_10B), + Rule::Get(&imageLoad_01R10D00D), + Rule::Get(&imageAtomicAdd_01H20D00D), + Rule::Get( + &imageAtomicAddExt_01H20D00D), + Rule::Get(&imageAtomicAdd_01H20D00E), + Rule::Get( + &imageAtomicAddExt_01H20D00E), + Rule::Get(&subpassLoad_01j), + Rule::Get(&dot_00B00B), + Rule::Get(&dot_00B00B), + Rule::Get(&tan_30B), + Rule::Get(&tan_30B), + Rule::Get(&textureLod_00T20B00B), + Rule::Get(&textureLod_00T20B00B), + Rule::Get(&textureProjGrad_00R30B10B10B), + Rule::Get(&textureProjGrad_00R30B10B10B), + Rule::Get(&exp2_10B), + Rule::Get(&exp2_10B), + Rule::Get(&textureProjOffset_00X20B10D00B), + Rule::Get(&textureProjOffset_00X20B10D00B), + Rule::Get(&textureProjGradOffset_00X30B10B10B10D), + Rule::Get(&textureProjGradOffset_00X30B10B10B10D), + Rule::Get(&imageAtomicAnd_01B10D00D), + Rule::Get( + &imageAtomicAndExt_01B10D00D), + Rule::Get(&imageStore_01U20D00D30B), + Rule::Get(&matrixCompMult_A0BA0B), + Rule::Get(&matrixCompMult_A0BA0B), + Rule::Get(&textureGrad_00S20B20B20B), + Rule::Get(&textureGrad_00S20B20B20B), + Rule::Get(&round_30B), + Rule::Get(&round_30B), + Rule::Get(&round_30C), + Rule::Get(&anyInvocation_00F), + Rule::Get(&textureGrad_00x30B20B20B), + Rule::Get(&textureGrad_00x30B20B20B), + Rule::Get(&imageAtomicCompSwap_01D20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01D20D00E00E), + Rule::Get(&textureProjLod_00o30B00B), + Rule::Get(&smoothstep_00C00C10C), + Rule::Get(&interpolateAtSample_00B00D), + Rule::Get(&interpolateAtSample_00B00D), + Rule::Get( + &interpolateAtSampleExt_00B00D), + Rule::Get(&dFdx_20B), + Rule::Get(&dFdx_20B), + Rule::Get(&dFdxExt_20B), + Rule::Get(&texture_00L20B), + Rule::Get(&texture_00L20B), + Rule::Get(&barrier_), + Rule::Get(&barrier_), + Rule::Get(&imageAtomicOr_01N00D00E), + Rule::Get( + &imageAtomicOrExt_01N00D00E), + Rule::Get(&imageAtomicOr_01N00D00D), + Rule::Get( + &imageAtomicOrExt_01N00D00D), + Rule::Get(&imageAtomicAdd_01a20D00D), + Rule::Get( + &imageAtomicAddExt_01a20D00D), + Rule::Get(&textureGather_00k30B00D), + Rule::Get(&textureGather_00k30B00D), + Rule::Get(&findMSB_20D), + Rule::Get(&findMSB_20D), + Rule::Get(&textureGatherOffset_00L20B10D), + Rule::Get(&textureGatherOffset_00L20B10D), + Rule::Get(&imageAtomicMin_01S10D00D00D), + Rule::Get( + &imageAtomicMinExt_01S10D00D00D), + Rule::Get(&imageLoad_01J20D), + Rule::Get(&imageLoad_01J20D), + Rule::Get(&textureProjOffset_00S30B20D00B), + Rule::Get(&textureProjOffset_00S30B20D00B), + Rule::Get(&imageAtomicAdd_01D20D00D), + Rule::Get( + &imageAtomicAddExt_01D20D00D), + Rule::Get(&normalize_10C), + Rule::Get(&unpackSnorm4x8_00E), + Rule::Get(&unpackSnorm4x8_00E), + Rule::Get(&imageLoad_01C20D), + Rule::Get(&imageLoad_01C20D), + Rule::Get(&imageAtomicMax_01C20D00D), + Rule::Get( + &imageAtomicMaxExt_01C20D00D), + Rule::Get(&imageAtomicMax_01C20D00E), + Rule::Get( + &imageAtomicMaxExt_01C20D00E), + Rule::Get(&textureGather_00l30B00B), + Rule::Get(&textureGather_00l30B00B), + Rule::Get(&normalize_10B), + Rule::Get(&normalize_10B), + Rule::Get(&asin_30B), + Rule::Get(&asin_30B), + Rule::Get(&isnan_20B), + Rule::Get(&isnan_20B), + Rule::Get(&isnan_20C), + Rule::Get(&fwidth_00B), + Rule::Get(&fwidth_00B), + Rule::Get( + &fwidthExt_00B), + Rule::Get(&dFdy_10B), + Rule::Get(&dFdy_10B), + Rule::Get(&dFdyExt_10B), + Rule::Get(&imageAtomicAdd_01P10D00E), + Rule::Get( + &imageAtomicAddExt_01P10D00E), + Rule::Get(&imageAtomicAdd_01P10D00D), + Rule::Get( + &imageAtomicAddExt_01P10D00D), + Rule::Get(&max_30E00E), + Rule::Get(&max_30E00E), + Rule::Get(&textureLod_00d20B00B), + Rule::Get(&textureLod_00d20B00B), + Rule::Get(&textureOffset_00q10B10D), + Rule::Get(&imageAtomicAdd_01c20D00E), + Rule::Get( + &imageAtomicAddExt_01c20D00E), + Rule::Get(&imageAtomicAdd_01c20D00D), + Rule::Get( + &imageAtomicAddExt_01c20D00D), + Rule::Get(&mod_10B00B), + Rule::Get(&mod_10B00B), + Rule::Get(&texture_00g00B00B), + Rule::Get(&uintBitsToFloat_10E), + Rule::Get(&uintBitsToFloat_10E), + Rule::Get(&textureProjOffset_00t30B00D), + Rule::Get(&matrixCompMult_70B70B), + Rule::Get(&imageAtomicAdd_01I20D00D), + Rule::Get( + &imageAtomicAddExt_01I20D00D), + Rule::Get(&imageAtomicMax_01M00D00D), + Rule::Get( + &imageAtomicMaxExt_01M00D00D), + Rule::Get(&imageAtomicMax_01M00D00E), + Rule::Get( + &imageAtomicMaxExt_01M00D00E), + Rule::Get(&textureLod_00k30B00B), + Rule::Get(&textureLod_00k30B00B), + Rule::Get(&imageAtomicAdd_01E20D00D), + Rule::Get( + &imageAtomicAddExt_01E20D00D), + Rule::Get(&textureLodOffset_00Y20B00B20D), + Rule::Get(&textureLodOffset_00Y20B00B20D), + Rule::Get(&refract_00C00C00B), + Rule::Get(&log2_00B), + Rule::Get(&log2_00B), + Rule::Get(&tanh_10B), + Rule::Get(&tanh_10B), + Rule::Get(&imageAtomicMin_01I20D00E), + Rule::Get( + &imageAtomicMinExt_01I20D00E), + Rule::Get(&textureLod_00h10B00B), + Rule::Get(&textureGather_00O20B00D), + Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&BuiltInVariable::kgl_LocalInvocationID), + Rule::Get(&clamp_00B00B00B), + Rule::Get(&clamp_00B00B00B), + Rule::Get(&textureGather_00d10B), + Rule::Get( + &TableBase::m_gl_MaxGeometryAtomicCounterBuffers), + Rule::Get(&textureOffset_00p10B00D00B), + Rule::Get(&clamp_10C10C10C), + Rule::Get(&imageAtomicXor_01B10D00D), + Rule::Get( + &imageAtomicXorExt_01B10D00D), + Rule::Get(&outerProduct_20B10B), + Rule::Get(&outerProduct_20B10B), + Rule::Get(&textureProjOffset_00t10B00D), + Rule::Get(&isinf_20C), + Rule::Get(&textureGrad_00e30B20B20B), + Rule::Get(&textureGrad_00e30B20B20B), + Rule::Get(&textureSize_00J00D), + Rule::Get(&textureSize_00J00D), + Rule::Get(&textureQueryLod_00Z20B), + Rule::Get(&dot_10C10C), + Rule::Get(&imageAtomicXor_01K20D00E), + Rule::Get( + &imageAtomicXorExt_01K20D00E), + Rule::Get(&imageAtomicXor_01K20D00D), + Rule::Get( + &imageAtomicXorExt_01K20D00D), + Rule::Get(&textureProjGrad_00n30B10B10B), + Rule::Get(&imageAtomicMin_01U20D00D00E), + Rule::Get( + &imageAtomicMinExt_01U20D00D00E), + Rule::Get(&imageAtomicMin_01U20D00D00D), + Rule::Get( + &imageAtomicMinExt_01U20D00D00D), + Rule::Get(&imageAtomicAdd_01Q10D00D), + Rule::Get( + &imageAtomicAddExt_01Q10D00D), + Rule::Get( + &texture2DProjLodEXT_00I30B00B), + Rule::Get(&imageAtomicXor_01T10D00D00D), + Rule::Get( + &imageAtomicXorExt_01T10D00D00D), + Rule::Get(&imageAtomicXor_01T10D00D00E), + Rule::Get( + &imageAtomicXorExt_01T10D00D00E), + Rule::Get(&imageAtomicAnd_01b20D00D), + Rule::Get( + &imageAtomicAndExt_01b20D00D), + Rule::Get(&step_00B00B), + Rule::Get(&step_00B00B), + Rule::Get( + &texture2DLodEXT_00I10B00B), + Rule::Get(&texture_00K20B00B), + Rule::Get(&texture_00K20B00B), + Rule::Get(&textureProjGradOffset_00n30B10B10B10D), + Rule::Get(&textureGrad_00J20B20B20B), + Rule::Get(&textureGrad_00J20B20B20B), + Rule::Get(&imageAtomicCompSwap_01V20D00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01V20D00D00E00E), + Rule::Get(&textureOffset_00U20B10D00B), + Rule::Get(&textureOffset_00U20B10D00B), + Rule::Get(&intBitsToFloat_10D), + Rule::Get(&intBitsToFloat_10D), + Rule::Get(&min_20C20C), + Rule::Get(&findLSB_10D), + Rule::Get(&findLSB_10D), + Rule::Get(&textureProjLodOffset_00Y30B00B20D), + Rule::Get(&textureProjLodOffset_00Y30B00B20D), + Rule::Get(&imageAtomicMax_01h00D00E), + Rule::Get( + &imageAtomicMaxExt_01h00D00E), + Rule::Get(&texture3D_00J20B), + Rule::Get(&texture3D_00J20B), + Rule::Get( + &TableBase::m_gl_SecondaryFragDataEXT), + Rule::Get(&imageAtomicAdd_01X10D00E), + Rule::Get( + &imageAtomicAddExt_01X10D00E), + Rule::Get(&faceforward_20C20C20C), + Rule::Get(&imageAtomicAnd_01O10D00E), + Rule::Get( + &imageAtomicAndExt_01O10D00E), + Rule::Get(&imageAtomicAdd_01X10D00D), + Rule::Get( + &imageAtomicAddExt_01X10D00D), + Rule::Get(&imageAtomicXor_01W20D00D00D), + Rule::Get( + &imageAtomicXorExt_01W20D00D00D), + Rule::Get(&imageAtomicXor_01W20D00D00E), + Rule::Get( + &imageAtomicXorExt_01W20D00D00E), + Rule::Get(&textureGather_00n10B00B), + Rule::Get(&imageAtomicXor_01Z10D00E), + Rule::Get( + &imageAtomicXorExt_01Z10D00E), + Rule::Get(&imageAtomicXor_01Z10D00D), + Rule::Get( + &imageAtomicXorExt_01Z10D00D), + Rule::Get(&textureGather_00X10B00D), + Rule::Get(&textureGather_00X10B00D), + Rule::Get(&imageAtomicMax_01L00D00E), + Rule::Get( + &imageAtomicMaxExt_01L00D00E), + Rule::Get(&imageAtomicMax_01L00D00D), + Rule::Get( + &imageAtomicMaxExt_01L00D00D), + Rule::Get(&imageAtomicXor_01G20D00E), + Rule::Get( + &imageAtomicXorExt_01G20D00E), + Rule::Get(&imageAtomicXor_01G20D00D), + Rule::Get( + &imageAtomicXorExt_01G20D00D), + Rule::Get(&textureOffset_00a20B10D), + Rule::Get(&textureOffset_00a20B10D), + Rule::Get(&imageAtomicExchange_01X10D00B), + Rule::Get( + &imageAtomicExchangeExt_01X10D00B), + Rule::Get(&textureGatherOffsets_00v10B10Dx4), + Rule::Get(&texture2DProj_00I30B00B), + Rule::Get(&texture2DProj_00I30B00B), + Rule::Get(&textureQueryLod_00X10B), + Rule::Get(&imageAtomicAnd_01I20D00E), + Rule::Get( + &imageAtomicAndExt_01I20D00E), + Rule::Get( + &textureCubeGradEXT_00K20B20B20B), + Rule::Get(&min_00B00B), + Rule::Get(&min_00B00B), + Rule::Get(&textureGradOffset_00o00B00B00B00D), + Rule::Get(&imageAtomicExchange_01Q10D00B), + Rule::Get( + &imageAtomicExchangeExt_01Q10D00B), + Rule::Get(&mix_30C30C30F), + Rule::Get(&mix_30C30C30C), + Rule::Get(&BuiltInVariable::kgl_WorkGroupID), + Rule::Get(&BuiltInVariable::kgl_WorkGroupID), + Rule::Get(°rees_00B), + Rule::Get(°rees_00B), + Rule::Get(&imageAtomicMax_01J20D00E), + Rule::Get( + &imageAtomicMaxExt_01J20D00E), + Rule::Get(&imageAtomicMax_01J20D00D), + Rule::Get( + &imageAtomicMaxExt_01J20D00D), + Rule::Get(&imageAtomicMin_01D20D00D), + Rule::Get( + &imageAtomicMinExt_01D20D00D), + Rule::Get(&textureGatherOffsets_00R10B10Dx4), + Rule::Get(&textureGatherOffsets_00R10B10Dx4), + Rule::Get( + &textureGatherOffsetsExt_00R10B10Dx4), + Rule::Get(&atomicExchange_00D00D), + Rule::Get(&atomicExchange_00D00D), + Rule::Get(&textureOffset_00m20B00D00B), + Rule::Get( + &TableBase::m_gl_MaxGeometryAtomicCounters), + Rule::Get(&textureOffset_00f30B10D), + Rule::Get(&imageStore_01c20D30E), + Rule::Get(&imageStore_01c20D30E), + Rule::Get(&imageAtomicExchange_01a20D00D), + Rule::Get( + &imageAtomicExchangeExt_01a20D00D), + Rule::Get(&imageAtomicExchange_01a20D00E), + Rule::Get( + &imageAtomicExchangeExt_01a20D00E), + Rule::Get(&imageAtomicExchange_01a20D00B), + Rule::Get( + &imageAtomicExchangeExt_01a20D00B), + Rule::Get(&matrixCompMult_60B60B), + Rule::Get(&imageAtomicCompSwap_00z10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_00z10D00D00D), + Rule::Get(&textureProj_00t30B), + Rule::Get(&textureProjGradOffset_00t10B00B00B00D), + Rule::Get(&unpackSnorm2x16_00E), + Rule::Get(&unpackSnorm2x16_00E), + Rule::Get(&lessThan_30D30D), + Rule::Get(&lessThan_30D30D), + Rule::Get(&atan_00B00B), + Rule::Get(&atan_00B00B), + Rule::Get(&textureQueryLod_00S20B), + Rule::Get(¬Equal_10B10B), + Rule::Get(¬Equal_10B10B), + Rule::Get(&imageLoad_01G20D), + Rule::Get(&imageLoad_01G20D), + Rule::Get(&trunc_30B), + Rule::Get(&trunc_30B), + Rule::Get(&trunc_30C), + Rule::Get(&length_00B), + Rule::Get(&length_00B), + Rule::Get(&length_00C), + Rule::Get(&imageAtomicAnd_01H20D00D), + Rule::Get( + &imageAtomicAndExt_01H20D00D), + Rule::Get(&imageAtomicAnd_01H20D00E), + Rule::Get( + &imageAtomicAndExt_01H20D00E), + Rule::Get(&textureProj_00X30B00B), + Rule::Get(&textureProj_00X30B00B), + Rule::Get(&imageAtomicCompSwap_01C20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01C20D00E00E), + Rule::Get(&tan_00B), + Rule::Get(&tan_00B), + Rule::Get(&min_20E00E), + Rule::Get(&min_20E00E), + Rule::Get(&textureLod_00x30B00B), + Rule::Get(&textureLod_00x30B00B), + Rule::Get(&textureSize_00j), + Rule::Get(&textureSize_00j), + Rule::Get(&textureSize_00n), + Rule::Get(&imageAtomicXor_01F20D00D), + Rule::Get( + &imageAtomicXorExt_01F20D00D), + Rule::Get(&textureSize_00c), + Rule::Get( + &textureSizeExt_00c), + Rule::Get(&textureSize_00b), + Rule::Get(&textureSize_00b), + Rule::Get( + &textureSizeExt_00b), + Rule::Get(&min_20B20B), + Rule::Get(&min_20B20B), + Rule::Get(&textureSize_00q), + Rule::Get(&textureSize_00r), + Rule::Get(&textureSize_00r), + Rule::Get(&textureSize_00w), + Rule::Get(&textureSize_00w), + Rule::Get(&textureSize_00v), + Rule::Get(&bitfieldInsert_20E20E00D00D), + Rule::Get(&bitfieldInsert_20E20E00D00D), + Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), + Rule::Get(&TableBase::m_gl_MaxProgramTexelOffset), + Rule::Get(&textureSize_00O), + Rule::Get(&imageAtomicAnd_01a20D00E), + Rule::Get( + &imageAtomicAndExt_01a20D00E), + Rule::Get(&imageAtomicMin_01g00D00D), + Rule::Get( + &imageAtomicMinExt_01g00D00D), + Rule::Get(&trunc_00C), + Rule::Get(&imageAtomicAnd_01a20D00D), + Rule::Get( + &imageAtomicAndExt_01a20D00D), + Rule::Get(&textureSize_00Q), + Rule::Get( + &textureSizeExt_00Q), + Rule::Get(&textureSize_00P), + Rule::Get(&textureSize_00P), + Rule::Get( + &textureSizeExt_00P), + Rule::Get(&imageAtomicAdd_01M00D00E), + Rule::Get( + &imageAtomicAddExt_01M00D00E), + Rule::Get(&imageLoad_01K20D), + Rule::Get(&imageLoad_01K20D), + Rule::Get(&textureSize_00W), + Rule::Get( + &textureSizeExt_00W), + Rule::Get(&textureProjLod_00X20B00B), + Rule::Get(&textureProjLod_00X20B00B), + Rule::Get(&smoothstep_00C00C00C), + Rule::Get(&atomicCounterAnd_00G00E), + Rule::Get(&faceforward_30B30B30B), + Rule::Get(&faceforward_30B30B30B), + Rule::Get(&distance_20C20C), + Rule::Get(&atomicCounterAdd_00G00E), + Rule::Get(&imageStore_01O10D30B), + Rule::Get(&texture_00X10B), + Rule::Get(&texture_00X10B), + Rule::Get(&ceil_00C), + Rule::Get(&ceil_00B), + Rule::Get(&ceil_00B), + Rule::Get(&distance_00B00B), + Rule::Get(&distance_00B00B), + Rule::Get(&texelFetch_00O10D), + Rule::Get(&imageAtomicExchange_01C20D00D), + Rule::Get( + &imageAtomicExchangeExt_01C20D00D), + Rule::Get(&imageAtomicExchange_01C20D00E), + Rule::Get( + &imageAtomicExchangeExt_01C20D00E), + Rule::Get(&textureGrad_00s30B20B20B), + Rule::Get(&textureGrad_00s30B20B20B), + Rule::Get(&textureGather_00I10B), + Rule::Get(&textureGather_00I10B), + Rule::Get(&imageAtomicExchange_01C20D00B), + Rule::Get( + &imageAtomicExchangeExt_01C20D00B), + Rule::Get(&min_30D30D), + Rule::Get(&min_30D30D), + Rule::Get(&imageAtomicExchange_01Z10D00B), + Rule::Get( + &imageAtomicExchangeExt_01Z10D00B), + Rule::Get(&findMSB_30E), + Rule::Get(&findMSB_30E), + Rule::Get(&findMSB_30D), + Rule::Get(&findMSB_30D), + Rule::Get(&textureGradOffset_00R10B10B10B10D), + Rule::Get(&textureGradOffset_00R10B10B10B10D), + Rule::Get(&fwidth_30B), + Rule::Get(&fwidth_30B), + Rule::Get( + &fwidthExt_30B), + Rule::Get(&textureGrad_00K20B20B20B), + Rule::Get(&textureGrad_00K20B20B20B), + Rule::Get(&texelFetch_00S20D00D), + Rule::Get(&texelFetch_00S20D00D), + Rule::Get(&max_10B00B), + Rule::Get(&max_10B00B), + Rule::Get(&textureProjGradOffset_00R30B10B10B10D), + Rule::Get(&textureProjGradOffset_00R30B10B10B10D), + Rule::Get(&texelFetchOffset_00L20D00D10D), + Rule::Get(&texelFetchOffset_00L20D00D10D), + Rule::Get(&isnan_30C), + Rule::Get(&transpose_50B), + Rule::Get(&transpose_50B), + Rule::Get(&greaterThanEqual_20D20D), + Rule::Get(&greaterThanEqual_20D20D), + Rule::Get(&asinh_00B), + Rule::Get(&asinh_00B), Rule::Get( &BuiltInVariable::kgl_PrimitiveIDIn), - Rule::Get(&BuiltInVariable::kgl_InvocationIDES3_2), - Rule::Get(&BuiltInVariable::kgl_InvocationIDES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_InvocationID), - Rule::Get( - &BuiltInVariable::kgl_InvocationIDTCS), - Rule::Get(&TableBase::m_gl_PerVertexES3_2), - Rule::Get(&TableBase::m_gl_PerVertexES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTCSES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTCSES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTESES3_2), - Rule::Get(&TableBase::m_gl_PerVertexTESES3_2), - Rule::Get( - &TableBase::m_gl_PerVertex), - Rule::Get( - &TableBase::m_gl_PerVertexTCS), - Rule::Get( - &TableBase::m_gl_PerVertexTES), - Rule::Get(&TableBase::m_gl_inES3_2), - Rule::Get(&TableBase::m_gl_inES3_2), - Rule::Get(&TableBase::m_gl_inTCSES3_2), - Rule::Get(&TableBase::m_gl_inTCSES3_2), - Rule::Get(&TableBase::m_gl_inTESES3_2), - Rule::Get(&TableBase::m_gl_inTESES3_2), - Rule::Get( - &TableBase::m_gl_in), - Rule::Get( - &TableBase::m_gl_inTCS), - Rule::Get( - &TableBase::m_gl_inTES), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCSES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTESES3_2), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTCS), - Rule::Get( - &BuiltInVariable::kgl_PatchVerticesInTES), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTCSES3_2), - Rule::Get(&TableBase::m_gl_TessLevelOuterTCSES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTCS), - Rule::Get( - &TableBase::m_gl_TessLevelOuterTES), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTCSES3_2), - Rule::Get(&TableBase::m_gl_TessLevelInnerTCSES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTESES3_2), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTCS), - Rule::Get( - &TableBase::m_gl_TessLevelInnerTES), - Rule::Get(&TableBase::m_gl_outTCSES3_2), - Rule::Get(&TableBase::m_gl_outTCSES3_2), - Rule::Get(&TableBase::m_gl_outTESES3_2), - Rule::Get(&TableBase::m_gl_outTESES3_2), - Rule::Get( - &TableBase::m_gl_outTCS), - Rule::Get( - &TableBase::m_gl_outTES), - Rule::Get(&BuiltInVariable::kgl_TessCoord), - Rule::Get(&BuiltInVariable::kgl_TessCoord), - Rule::Get( - &BuiltInVariable::kgl_ViewID_OVR)}; + Rule::Get(&textureGather_00Z20B), + Rule::Get(&textureGather_00Z20B), + Rule::Get(&textureGrad_00p10B00B00B), + Rule::Get(&textureProjOffset_00v30B10D), + Rule::Get(&greaterThan_20B20B), + Rule::Get(&greaterThan_20B20B), + Rule::Get(&min_20D20D), + Rule::Get(&min_20D20D), + Rule::Get(&texelFetchOffset_00g00D00D00D), + Rule::Get(&imageAtomicCompSwap_01g00D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01g00D00E00E), + Rule::Get(&imageAtomicMin_01W20D00D00E), + Rule::Get( + &imageAtomicMinExt_01W20D00D00E), + Rule::Get(&imageAtomicMin_01W20D00D00D), + Rule::Get( + &imageAtomicMinExt_01W20D00D00D), + Rule::Get(&imageAtomicXor_01O10D00D), + Rule::Get( + &imageAtomicXorExt_01O10D00D), + Rule::Get(&imageAtomicXor_01O10D00E), + Rule::Get( + &imageAtomicXorExt_01O10D00E), + Rule::Get(&tanh_20B), + Rule::Get(&tanh_20B), + Rule::Get(&textureProj_00m30B00B), + Rule::Get(&sin_20B), + Rule::Get(&sin_20B), + Rule::Get(&smoothstep_00C00C30C), + Rule::Get(&textureSize_00l00D), + Rule::Get(&textureSize_00l00D), + Rule::Get(&textureLod_00o00B00B), + Rule::Get(&textureOffset_00I10B10D00B), + Rule::Get(&textureOffset_00I10B10D00B), + Rule::Get(&imageAtomicAnd_00z10D00D), + Rule::Get( + &imageAtomicAndExt_00z10D00D), + Rule::Get(&imageAtomicAnd_00z10D00E), + Rule::Get( + &imageAtomicAndExt_00z10D00E), + Rule::Get(&imageAtomicCompSwap_01W20D00D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01W20D00D00D00D), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), + Rule::Get(&TableBase::m_gl_MaxAtomicCounterBufferSize), + Rule::Get(&textureOffset_00J20B20D00B), + Rule::Get(&textureOffset_00J20B20D00B), + Rule::Get(&lessThanEqual_20E20E), + Rule::Get(&lessThanEqual_20E20E), + Rule::Get( + &BuiltInVariable::kgl_BaseVertex), + Rule::Get(&textureOffset_00g00B00D), + Rule::Get(&textureProj_00g30B), + Rule::Get( + &TableBase::m_gl_MaxGeometryTotalOutputComponents), + Rule::Get(&bitfieldInsert_30E30E00D00D), + Rule::Get(&bitfieldInsert_30E30E00D00D), + Rule::Get(&bitfieldExtract_20E00D00D), + Rule::Get(&bitfieldExtract_20E00D00D), + Rule::Get(&uintBitsToFloat_20E), + Rule::Get(&uintBitsToFloat_20E), + Rule::Get(&unpackUnorm4x8_00E), + Rule::Get(&unpackUnorm4x8_00E), + Rule::Get(&imageAtomicExchange_01K20D00E), + Rule::Get( + &imageAtomicExchangeExt_01K20D00E), + Rule::Get(&mod_10B10B), + Rule::Get(&mod_10B10B), + Rule::Get(&imageAtomicExchange_01K20D00B), + Rule::Get( + &imageAtomicExchangeExt_01K20D00B), + Rule::Get(&imageAtomicAnd_01B10D00E), + Rule::Get( + &imageAtomicAndExt_01B10D00E), + Rule::Get(&imageAtomicXor_01i00D00D), + Rule::Get( + &imageAtomicXorExt_01i00D00D), + Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), + Rule::Get(&TableBase::m_gl_MaxVertexImageUniforms), + Rule::Get(&equal_20D20D), + Rule::Get(&equal_20D20D), + Rule::Get(&mix_10E10E10F), + Rule::Get(&mix_10E10E10F), + Rule::Get(&textureGather_00R10B00D), + Rule::Get(&textureGather_00R10B00D), + Rule::Get(&textureSize_00Z00D), + Rule::Get(&textureSize_00Z00D), + Rule::Get(&bitfieldExtract_30D00D00D), + Rule::Get(&bitfieldExtract_30D00D00D), + Rule::Get(&imageAtomicXor_01J20D00D), + Rule::Get( + &imageAtomicXorExt_01J20D00D), + Rule::Get(&imageAtomicXor_01J20D00E), + Rule::Get( + &imageAtomicXorExt_01J20D00E), + Rule::Get(&intBitsToFloat_00D), + Rule::Get(&intBitsToFloat_00D), + Rule::Get(&textureLodOffset_00m20B00B00D), + Rule::Get(&findLSB_00E), + Rule::Get(&findLSB_00E), + Rule::Get(&texelFetch_00p10D00D), + Rule::Get(&textureGather_00d10B00B), + Rule::Get(&textureGather_00d10B00B), + Rule::Get(&shadow2DProj_00d30B00B), + Rule::Get(&imageAtomicAdd_01T10D00D00D), + Rule::Get( + &imageAtomicAddExt_01T10D00D00D), + Rule::Get(&imageAtomicAdd_01T10D00D00E), + Rule::Get( + &imageAtomicAddExt_01T10D00D00E), + Rule::Get(&inversesqrt_10B), + Rule::Get(&inversesqrt_10B), + Rule::Get(&inversesqrt_10C), + Rule::Get(&abs_30D), + Rule::Get(&abs_30D), + Rule::Get(&transpose_D0B), + Rule::Get(&transpose_D0B), + Rule::Get(&abs_30C), + Rule::Get(&textureProjGrad_00O30B10B10B), + Rule::Get(&imageLoad_01E20D), + Rule::Get(&imageLoad_01E20D), + Rule::Get(&textureProj_00N20B00B), + Rule::Get(&TableBase::m_gl_FragData), + Rule::Get(&TableBase::m_gl_FragData), + Rule::Get(&dFdxCoarse_20B), + Rule::Get(&clamp_20E00E00E), + Rule::Get(&clamp_20E00E00E), + Rule::Get(&textureProj_00d30B), + Rule::Get(&textureProj_00d30B), + Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), + Rule::Get(&TableBase::m_gl_MaxVertexOutputVectors), + Rule::Get(&imageAtomicOr_01i00D00D), + Rule::Get( + &imageAtomicOrExt_01i00D00D), + Rule::Get(&imageAtomicOr_01i00D00E), + Rule::Get( + &imageAtomicOrExt_01i00D00E), + Rule::Get(&shadow1D_00m20B), + Rule::Get(&textureOffset_00u10B00D), + Rule::Get(&cosh_10B), + Rule::Get(&cosh_10B), + Rule::Get(&sign_10C), + Rule::Get(&imageAtomicAnd_01G20D00E), + Rule::Get( + &imageAtomicAndExt_01G20D00E), + Rule::Get(&imageAtomicAnd_01G20D00D), + Rule::Get( + &imageAtomicAndExt_01G20D00D), + Rule::Get(&sign_10D), + Rule::Get(&sign_10D), + Rule::Get(&umulExtended_00E00E00E00E), + Rule::Get(&umulExtended_00E00E00E00E), + Rule::Get(&TableBase::m_gl_MaxVertexAttribs), + Rule::Get(&TableBase::m_gl_MaxVertexAttribs), + Rule::Get(&texture_00a20B), + Rule::Get(&texture_00a20B), + Rule::Get(&imageAtomicExchange_01g00D00B), + Rule::Get( + &imageAtomicExchangeExt_01g00D00B), + Rule::Get(&imageAtomicExchange_01B10D00B), + Rule::Get( + &imageAtomicExchangeExt_01B10D00B), + Rule::Get(&ldexp_10B10D), + Rule::Get(&ldexp_10B10D), + Rule::Get(&imageAtomicExchange_01B10D00D), + Rule::Get( + &imageAtomicExchangeExt_01B10D00D), + Rule::Get(&imageAtomicExchange_01B10D00E), + Rule::Get( + &imageAtomicExchangeExt_01B10D00E), + Rule::Get(&textureProjOffset_00g30B00D), + Rule::Get(&texture_00Z20B), + Rule::Get(&texture_00Z20B), + Rule::Get(°rees_10B), + Rule::Get(°rees_10B), + Rule::Get(&texture_00k30B00B), + Rule::Get(&texture_00K20B), + Rule::Get(&texture_00K20B), + Rule::Get(&sinh_10B), + Rule::Get(&sinh_10B), + Rule::Get(&texture_00m20B), + Rule::Get(&imageAtomicXor_01C20D00D), + Rule::Get( + &imageAtomicXorExt_01C20D00D), + Rule::Get(&textureGatherOffsets_00I10B10Dx400D), + Rule::Get(&textureGatherOffsets_00I10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00I10B10Dx400D), + Rule::Get(¬Func_30F), + Rule::Get(¬Func_30F), + Rule::Get(&textureProjLodOffset_00I20B00B10D), + Rule::Get(&textureProjLodOffset_00I20B00B10D), + Rule::Get(&textureGather_00K20B), + Rule::Get(&textureGather_00K20B), + Rule::Get(&textureGatherOffset_00R10B10D), + Rule::Get(&textureGatherOffset_00R10B10D), + Rule::Get(&memoryBarrierShared_), + Rule::Get(&memoryBarrierShared_), + Rule::Get(&clamp_20B20B20B), + Rule::Get(&clamp_20B20B20B), + Rule::Get(&texelFetch_00W20D00D), + Rule::Get( + &texelFetchExt_00W20D00D), + Rule::Get(&textureProjLod_00g10B00B), + Rule::Get(&trunc_20C), + Rule::Get(&trunc_20B), + Rule::Get(&trunc_20B), + Rule::Get(&textureProjOffset_00I30B10D00B), + Rule::Get(&textureProjOffset_00I30B10D00B), + Rule::Get(&max_00C00C), + Rule::Get(&tan_10B), + Rule::Get(&tan_10B), + Rule::Get(&texture_00g00B), + Rule::Get(&textureLodOffset_00L20B00B10D), + Rule::Get(&textureLodOffset_00L20B00B10D), + Rule::Get(&textureLodOffset_00u10B00B00D), + Rule::Get(&imageAtomicOr_01B10D00D), + Rule::Get( + &imageAtomicOrExt_01B10D00D), + Rule::Get(&imageAtomicOr_01B10D00E), + Rule::Get( + &imageAtomicOrExt_01B10D00E), + Rule::Get(&isinf_20B), + Rule::Get(&isinf_20B), + Rule::Get(&dFdyCoarse_10B), + Rule::Get(&textureGatherOffset_00X10B10D00D), + Rule::Get(&textureGatherOffset_00X10B10D00D), + Rule::Get(&min_10E10E), + Rule::Get(&min_10E10E), + Rule::Get(&memoryBarrierImage_), + Rule::Get(&memoryBarrierImage_), + Rule::Get(&round_10B), + Rule::Get(&round_10B), + Rule::Get(&round_10C), + Rule::Get(&textureProjLodOffset_00m30B00B00D), + Rule::Get(&textureProjGradOffset_00g10B00B00B00D), + Rule::Get(&textureProj_00R30B), + Rule::Get(&textureProj_00R30B), + Rule::Get(&shadow1DProj_00m30B), + Rule::Get(&texture_00f30B00B), + Rule::Get(&fma_00B00B00B), + Rule::Get(&fma_00B00B00B), + Rule::Get(&fmaExt_00B00B00B), + Rule::Get(&imageStore_01X10D30B), + Rule::Get(&imageAtomicOr_01b20D00E), + Rule::Get( + &imageAtomicOrExt_01b20D00E), + Rule::Get(&imageAtomicOr_01b20D00D), + Rule::Get( + &imageAtomicOrExt_01b20D00D), + Rule::Get(&textureGatherOffset_00v10B10D00D), + Rule::Get(&atomicMax_00E00E), + Rule::Get(&atomicMax_00E00E), + Rule::Get(&textureQueryLod_00t00B), + Rule::Get(&textureProjOffset_00R30B10D), + Rule::Get(&textureProjOffset_00R30B10D), + Rule::Get(&textureProj_00X30B), + Rule::Get(&textureProj_00X30B), + Rule::Get(&findMSB_00D), + Rule::Get(&findMSB_00D), + Rule::Get(&findMSB_00E), + Rule::Get(&findMSB_00E), + Rule::Get(&textureProjOffset_00X20B10D), + Rule::Get(&textureProjOffset_00X20B10D), + Rule::Get(&imageAtomicCompSwap_01X10D00D00D), + Rule::Get( + &imageAtomicCompSwapExt_01X10D00D00D), + Rule::Get(&frexp_30C30D), + Rule::Get(&mix_10C10C10C), + Rule::Get(&min_30D00D), + Rule::Get(&min_30D00D), + Rule::Get(&imageAtomicCompSwap_01K20D00E00E), + Rule::Get( + &imageAtomicCompSwapExt_01K20D00E00E), + Rule::Get( + &texture_00M10B00B), + Rule::Get(&fwidth_20B), + Rule::Get(&fwidth_20B), + Rule::Get( + &fwidthExt_20B), + Rule::Get(&imageAtomicOr_01S10D00D00D), + Rule::Get( + &imageAtomicOrExt_01S10D00D00D), + Rule::Get(&imageAtomicOr_01S10D00D00E), + Rule::Get( + &imageAtomicOrExt_01S10D00D00E), + Rule::Get(&mod_30C00C), + Rule::Get(&imageAtomicAdd_01A10D00D), + Rule::Get( + &imageAtomicAddExt_01A10D00D), + Rule::Get(&imageAtomicAdd_01A10D00E), + Rule::Get( + &imageAtomicAddExt_01A10D00E), + Rule::Get(&texture_00o00B00B), + Rule::Get(&imageAtomicOr_01H20D00E), + Rule::Get( + &imageAtomicOrExt_01H20D00E), + Rule::Get(&imageAtomicOr_01H20D00D), + Rule::Get( + &imageAtomicOrExt_01H20D00D), + Rule::Get(&cos_20B), + Rule::Get(&cos_20B), + Rule::Get( + &TableBase::m_gl_MaxGeometryUniformComponents), + Rule::Get(&textureGather_00T20B), + Rule::Get(&textureGather_00T20B), + Rule::Get(&textureProjGradOffset_00J30B20B20B20D), + Rule::Get(&textureProjGradOffset_00J30B20B20B20D), + Rule::Get(&asinh_10B), + Rule::Get(&asinh_10B), + Rule::Get(&texelFetchOffset_00v10D10D), + Rule::Get(&imageAtomicXor_01E20D00E), + Rule::Get( + &imageAtomicXorExt_01E20D00E), + Rule::Get(&imageAtomicXor_01E20D00D), + Rule::Get( + &imageAtomicXorExt_01E20D00D), + Rule::Get(&textureGatherOffsets_00R10B10Dx400D), + Rule::Get(&textureGatherOffsets_00R10B10Dx400D), + Rule::Get( + &textureGatherOffsetsExt_00R10B10Dx400D)}; // Flat array of all mangled names. -constexpr const char *kMangledNames[] = {"radians(00B", - "radians(10B", - "radians(20B", - "radians(30B", - "degrees(00B", - "degrees(10B", - "degrees(20B", - "degrees(30B", - "sin(00B", - "sin(10B", - "sin(20B", - "sin(30B", - "cos(00B", - "cos(10B", - "cos(20B", - "cos(30B", - "tan(00B", - "tan(10B", - "tan(20B", - "tan(30B", - "asin(00B", - "asin(10B", - "asin(20B", - "asin(30B", - "acos(00B", - "acos(10B", - "acos(20B", - "acos(30B", - "atan(00B00B", - "atan(10B10B", - "atan(20B20B", - "atan(30B30B", - "atan(00B", - "atan(10B", - "atan(20B", - "atan(30B", - "sinh(00B", - "sinh(10B", - "sinh(20B", - "sinh(30B", - "cosh(00B", - "cosh(10B", - "cosh(20B", - "cosh(30B", - "tanh(00B", - "tanh(10B", - "tanh(20B", - "tanh(30B", - "asinh(00B", - "asinh(10B", - "asinh(20B", - "asinh(30B", - "acosh(00B", - "acosh(10B", - "acosh(20B", - "acosh(30B", - "atanh(00B", - "atanh(10B", - "atanh(20B", - "atanh(30B", - "pow(00B00B", - "pow(10B10B", - "pow(20B20B", - "pow(30B30B", - "exp(00B", - "exp(10B", - "exp(20B", - "exp(30B", - "log(00B", - "log(10B", - "log(20B", - "log(30B", - "exp2(00B", - "exp2(10B", - "exp2(20B", - "exp2(30B", - "log2(00B", - "log2(10B", - "log2(20B", - "log2(30B", - "sqrt(00B", - "sqrt(10B", - "sqrt(20B", - "sqrt(30B", - "sqrt(00C", - "sqrt(10C", - "sqrt(20C", - "sqrt(30C", - "inversesqrt(00B", - "inversesqrt(10B", - "inversesqrt(20B", - "inversesqrt(30B", - "inversesqrt(00C", - "inversesqrt(10C", - "inversesqrt(20C", - "inversesqrt(30C", - "abs(00B", - "abs(10B", - "abs(20B", - "abs(30B", - "abs(00D", - "abs(10D", - "abs(20D", - "abs(30D", - "abs(00C", - "abs(10C", - "abs(20C", - "abs(30C", - "sign(00B", - "sign(10B", - "sign(20B", - "sign(30B", - "sign(00D", - "sign(10D", - "sign(20D", - "sign(30D", - "sign(00C", - "sign(10C", - "sign(20C", - "sign(30C", - "floor(00B", - "floor(10B", - "floor(20B", - "floor(30B", - "floor(00C", - "floor(10C", - "floor(20C", - "floor(30C", - "trunc(00B", - "trunc(10B", - "trunc(20B", - "trunc(30B", - "trunc(00C", - "trunc(10C", - "trunc(20C", - "trunc(30C", - "round(00B", - "round(10B", - "round(20B", - "round(30B", - "round(00C", - "round(10C", - "round(20C", - "round(30C", - "roundEven(00B", - "roundEven(10B", - "roundEven(20B", - "roundEven(30B", - "roundEven(00C", - "roundEven(10C", - "roundEven(20C", - "roundEven(30C", - "ceil(00B", - "ceil(10B", - "ceil(20B", - "ceil(30B", - "ceil(00C", - "ceil(10C", - "ceil(20C", - "ceil(30C", - "fract(00B", - "fract(10B", - "fract(20B", - "fract(30B", - "fract(00C", - "fract(10C", - "fract(20C", - "fract(30C", - "mod(00B00B", - "mod(10B00B", - "mod(20B00B", - "mod(30B00B", - "mod(10B10B", - "mod(20B20B", - "mod(30B30B", - "mod(00C00C", - "mod(10C00C", - "mod(20C00C", - "mod(30C00C", - "mod(10C10C", - "mod(20C20C", - "mod(30C30C", - "min(00B00B", - "min(10B00B", - "min(20B00B", - "min(30B00B", - "min(10B10B", - "min(20B20B", - "min(30B30B", - "min(00C00C", - "min(10C10C", - "min(20C20C", - "min(30C30C", - "min(10C00C", - "min(20C00C", - "min(30C00C", - "min(00D00D", - "min(10D10D", - "min(20D20D", - "min(30D30D", - "min(10D00D", - "min(20D00D", - "min(30D00D", - "min(00E00E", - "min(10E10E", - "min(20E20E", - "min(30E30E", - "min(10E00E", - "min(20E00E", - "min(30E00E", - "max(00B00B", - "max(10B00B", - "max(20B00B", - "max(30B00B", - "max(10B10B", - "max(20B20B", - "max(30B30B", - "max(00C00C", - "max(10C10C", - "max(20C20C", - "max(30C30C", - "max(10C00C", - "max(20C00C", - "max(30C00C", - "max(00D00D", - "max(10D10D", - "max(20D20D", - "max(30D30D", - "max(10D00D", - "max(20D00D", - "max(30D00D", - "max(00E00E", - "max(10E10E", - "max(20E20E", - "max(30E30E", - "max(10E00E", - "max(20E00E", - "max(30E00E", - "clamp(00B00B00B", - "clamp(10B00B00B", - "clamp(20B00B00B", - "clamp(30B00B00B", - "clamp(10B10B10B", - "clamp(20B20B20B", - "clamp(30B30B30B", - "clamp(00C00C00C", - "clamp(10C00C00C", - "clamp(20C00C00C", - "clamp(30C00C00C", - "clamp(10C10C10C", - "clamp(20C20C20C", - "clamp(30C30C30C", - "clamp(00D00D00D", - "clamp(10D00D00D", - "clamp(20D00D00D", - "clamp(30D00D00D", - "clamp(10D10D10D", - "clamp(20D20D20D", - "clamp(30D30D30D", - "clamp(00E00E00E", - "clamp(10E00E00E", - "clamp(20E00E00E", - "clamp(30E00E00E", - "clamp(10E10E10E", - "clamp(20E20E20E", - "clamp(30E30E30E", - "mix(00B00B00B", - "mix(10B10B00B", - "mix(20B20B00B", - "mix(30B30B00B", - "mix(10B10B10B", - "mix(20B20B20B", - "mix(30B30B30B", - "mix(00C00C00C", - "mix(10C10C00C", - "mix(20C20C00C", - "mix(30C30C00C", - "mix(10C10C10C", - "mix(20C20C20C", - "mix(30C30C30C", - "mix(00B00B00F", - "mix(10B10B10F", - "mix(20B20B20F", - "mix(30B30B30F", - "mix(00C00C00F", - "mix(10C10C10F", - "mix(20C20C20F", - "mix(30C30C30F", - "mix(00D00D00F", - "mix(10D10D10F", - "mix(20D20D20F", - "mix(30D30D30F", - "mix(00E00E00F", - "mix(10E10E10F", - "mix(20E20E20F", - "mix(30E30E30F", - "mix(00F00F00F", - "mix(10F10F10F", - "mix(20F20F20F", - "mix(30F30F30F", - "step(00B00B", - "step(10B10B", - "step(20B20B", - "step(30B30B", - "step(00B10B", - "step(00B20B", - "step(00B30B", - "step(00C00C", - "step(10C10C", - "step(20C20C", - "step(30C30C", - "step(00C10C", - "step(00C20C", - "step(00C30C", - "smoothstep(00C00C00C", - "smoothstep(10C10C10C", - "smoothstep(20C20C20C", - "smoothstep(30C30C30C", - "smoothstep(00C00C10C", - "smoothstep(00C00C20C", - "smoothstep(00C00C30C", - "smoothstep(00B00B00B", - "smoothstep(10B10B10B", - "smoothstep(20B20B20B", - "smoothstep(30B30B30B", - "smoothstep(00B00B10B", - "smoothstep(00B00B20B", - "smoothstep(00B00B30B", - "modf(00B00B", - "modf(10B10B", - "modf(20B20B", - "modf(30B30B", - "modf(00C00C", - "modf(10C10C", - "modf(20C20C", - "modf(30C30C", - "isnan(00B", - "isnan(10B", - "isnan(20B", - "isnan(30B", - "isnan(00C", - "isnan(10C", - "isnan(20C", - "isnan(30C", - "isinf(00B", - "isinf(10B", - "isinf(20B", - "isinf(30B", - "isinf(00C", - "isinf(10C", - "isinf(20C", - "isinf(30C", - "floatBitsToInt(00B", - "floatBitsToInt(10B", - "floatBitsToInt(20B", - "floatBitsToInt(30B", - "floatBitsToUint(00B", - "floatBitsToUint(10B", - "floatBitsToUint(20B", - "floatBitsToUint(30B", - "intBitsToFloat(00D", - "intBitsToFloat(10D", - "intBitsToFloat(20D", - "intBitsToFloat(30D", - "uintBitsToFloat(00E", - "uintBitsToFloat(10E", - "uintBitsToFloat(20E", - "uintBitsToFloat(30E", - "fma(00B00B00B", - "fma(10B10B10B", - "fma(20B20B20B", - "fma(30B30B30B", - "fma(00C00C00C", - "fma(10C10C10C", - "fma(20C20C20C", - "fma(30C30C30C", - "frexp(00B00D", - "frexp(10B10D", - "frexp(20B20D", - "frexp(30B30D", - "frexp(00C00D", - "frexp(10C10D", - "frexp(20C20D", - "frexp(30C30D", - "ldexp(00B00D", - "ldexp(10B10D", - "ldexp(20B20D", - "ldexp(30B30D", - "ldexp(00C00D", - "ldexp(10C10D", - "ldexp(20C20D", - "ldexp(30C30D", - "packSnorm2x16(10B", - "packHalf2x16(10B", - "unpackSnorm2x16(00E", - "unpackHalf2x16(00E", - "packUnorm2x16(10B", - "unpackUnorm2x16(00E", - "packUnorm4x8(30B", - "packSnorm4x8(30B", - "unpackUnorm4x8(00E", - "unpackSnorm4x8(00E", - "packDouble2x32(10E", - "unpackDouble2x32(00C", - "length(00B", - "length(10B", - "length(20B", - "length(30B", - "length(00C", - "length(10C", - "length(20C", - "length(30C", - "distance(00B00B", - "distance(10B10B", - "distance(20B20B", - "distance(30B30B", - "distance(00C00C", - "distance(10C10C", - "distance(20C20C", - "distance(30C30C", - "dot(00B00B", - "dot(10B10B", - "dot(20B20B", - "dot(30B30B", - "dot(00C00C", - "dot(10C10C", - "dot(20C20C", - "dot(30C30C", - "cross(20B20B", - "cross(20C20C", - "normalize(00B", - "normalize(10B", - "normalize(20B", - "normalize(30B", - "normalize(00C", - "normalize(10C", - "normalize(20C", - "normalize(30C", - "faceforward(00B00B00B", - "faceforward(10B10B10B", - "faceforward(20B20B20B", - "faceforward(30B30B30B", - "faceforward(00C00C00C", - "faceforward(10C10C10C", - "faceforward(20C20C20C", - "faceforward(30C30C30C", - "reflect(00B00B", - "reflect(10B10B", - "reflect(20B20B", - "reflect(30B30B", - "reflect(00C00C", - "reflect(10C10C", - "reflect(20C20C", - "reflect(30C30C", - "refract(00B00B00B", - "refract(10B10B00B", - "refract(20B20B00B", - "refract(30B30B00B", - "refract(00C00C00B", - "refract(10C10C00B", - "refract(20C20C00B", - "refract(30C30C00B", - "ftransform(", - "matrixCompMult(50B50B", - "matrixCompMult(A0BA0B", - "matrixCompMult(F0BF0B", - "matrixCompMult(90B90B", - "matrixCompMult(60B60B", - "matrixCompMult(D0BD0B", - "matrixCompMult(70B70B", - "matrixCompMult(E0BE0B", - "matrixCompMult(B0BB0B", - "outerProduct(10B10B", - "outerProduct(20B20B", - "outerProduct(30B30B", - "outerProduct(20B10B", - "outerProduct(10B20B", - "outerProduct(30B10B", - "outerProduct(10B30B", - "outerProduct(30B20B", - "outerProduct(20B30B", - "transpose(50B", - "transpose(A0B", - "transpose(F0B", - "transpose(60B", - "transpose(90B", - "transpose(70B", - "transpose(D0B", - "transpose(B0B", - "transpose(E0B", - "determinant(50B", - "determinant(A0B", - "determinant(F0B", - "inverse(50B", - "inverse(A0B", - "inverse(F0B", - "lessThan(10B10B", - "lessThan(20B20B", - "lessThan(30B30B", - "lessThan(10D10D", - "lessThan(20D20D", - "lessThan(30D30D", - "lessThan(10E10E", - "lessThan(20E20E", - "lessThan(30E30E", - "lessThanEqual(10B10B", - "lessThanEqual(20B20B", - "lessThanEqual(30B30B", - "lessThanEqual(10D10D", - "lessThanEqual(20D20D", - "lessThanEqual(30D30D", - "lessThanEqual(10E10E", - "lessThanEqual(20E20E", - "lessThanEqual(30E30E", - "greaterThan(10B10B", - "greaterThan(20B20B", - "greaterThan(30B30B", - "greaterThan(10D10D", - "greaterThan(20D20D", - "greaterThan(30D30D", - "greaterThan(10E10E", - "greaterThan(20E20E", - "greaterThan(30E30E", - "greaterThanEqual(10B10B", - "greaterThanEqual(20B20B", - "greaterThanEqual(30B30B", - "greaterThanEqual(10D10D", - "greaterThanEqual(20D20D", - "greaterThanEqual(30D30D", - "greaterThanEqual(10E10E", - "greaterThanEqual(20E20E", - "greaterThanEqual(30E30E", - "equal(10B10B", - "equal(20B20B", - "equal(30B30B", - "equal(10D10D", - "equal(20D20D", - "equal(30D30D", - "equal(10E10E", - "equal(20E20E", - "equal(30E30E", - "equal(10F10F", - "equal(20F20F", - "equal(30F30F", - "notEqual(10B10B", - "notEqual(20B20B", - "notEqual(30B30B", - "notEqual(10D10D", - "notEqual(20D20D", - "notEqual(30D30D", - "notEqual(10E10E", - "notEqual(20E20E", - "notEqual(30E30E", - "notEqual(10F10F", - "notEqual(20F20F", - "notEqual(30F30F", - "any(10F", - "any(20F", - "any(30F", - "all(10F", - "all(20F", - "all(30F", - "not(10F", - "not(20F", - "not(30F", - "bitfieldExtract(00D00D00D", - "bitfieldExtract(10D00D00D", - "bitfieldExtract(20D00D00D", - "bitfieldExtract(30D00D00D", - "bitfieldExtract(00E00D00D", - "bitfieldExtract(10E00D00D", - "bitfieldExtract(20E00D00D", - "bitfieldExtract(30E00D00D", - "bitfieldInsert(00D00D00D00D", - "bitfieldInsert(10D10D00D00D", - "bitfieldInsert(20D20D00D00D", - "bitfieldInsert(30D30D00D00D", - "bitfieldInsert(00E00E00D00D", - "bitfieldInsert(10E10E00D00D", - "bitfieldInsert(20E20E00D00D", - "bitfieldInsert(30E30E00D00D", - "bitfieldReverse(00D", - "bitfieldReverse(10D", - "bitfieldReverse(20D", - "bitfieldReverse(30D", - "bitfieldReverse(00E", - "bitfieldReverse(10E", - "bitfieldReverse(20E", - "bitfieldReverse(30E", - "bitCount(00D", - "bitCount(10D", - "bitCount(20D", - "bitCount(30D", - "bitCount(00E", - "bitCount(10E", - "bitCount(20E", - "bitCount(30E", - "findLSB(00D", - "findLSB(10D", - "findLSB(20D", - "findLSB(30D", - "findLSB(00E", - "findLSB(10E", - "findLSB(20E", - "findLSB(30E", - "findMSB(00D", - "findMSB(10D", - "findMSB(20D", - "findMSB(30D", - "findMSB(00E", - "findMSB(10E", - "findMSB(20E", - "findMSB(30E", - "uaddCarry(00E00E00E", - "uaddCarry(10E10E10E", - "uaddCarry(20E20E20E", - "uaddCarry(30E30E30E", - "usubBorrow(00E00E00E", - "usubBorrow(10E10E10E", - "usubBorrow(20E20E20E", - "usubBorrow(30E30E30E", - "umulExtended(00E00E00E00E", - "umulExtended(10E10E10E10E", - "umulExtended(20E20E20E20E", - "umulExtended(30E30E30E30E", - "imulExtended(00D00D00D00D", - "imulExtended(10D10D10D10D", - "imulExtended(20D20D20D20D", - "imulExtended(30D30D30D30D", - "texture2D(00I10B", - "texture2DProj(00I20B", - "texture2DProj(00I30B", - "textureCube(00K20B", - "texture1D(00g00B", - "texture1DProj(00g10B", - "texture1DProj(00g30B", - "texture3D(00J20B", - "texture3DProj(00J30B", - "shadow1D(00m20B", - "shadow1DProj(00m30B", - "shadow2D(00d20B", - "shadow2DProj(00d30B", - "texture2D(00M10B", - "texture2DProj(00M20B", - "texture2DProj(00M30B", - "texture2DRect(00O10B", - "texture2DRectProj(00O20B", - "texture2DRectProj(00O30B", - "texture(00O10B", - "textureProj(00O20B", - "textureProj(00O30B", - "texture2DGradEXT(00I10B10B10B", - "texture2DProjGradEXT(00I20B10B10B", - "texture2DProjGradEXT(00I30B10B10B", - "textureCubeGradEXT(00K20B20B20B", - "texture2D(00I10B00B", - "texture2DProj(00I20B00B", - "texture2DProj(00I30B00B", - "textureCube(00K20B00B", - "texture3D(00J20B00B", - "texture3DProj(00J30B00B", - "texture3DLod(00J20B00B", - "texture3DProjLod(00J30B00B", - "texture1D(00g00B00B", - "texture1DProj(00g10B00B", - "texture1DProj(00g30B00B", - "shadow1D(00m20B00B", - "shadow1DProj(00m30B00B", - "shadow2D(00d20B00B", - "shadow2DProj(00d30B00B", - "dFdx(00B", - "dFdx(10B", - "dFdx(20B", - "dFdx(30B", - "dFdy(00B", - "dFdy(10B", - "dFdy(20B", - "dFdy(30B", - "fwidth(00B", - "fwidth(10B", - "fwidth(20B", - "fwidth(30B", - "texture2DLodEXT(00I10B00B", - "texture2DProjLodEXT(00I20B00B", - "texture2DProjLodEXT(00I30B00B", - "textureCubeLodEXT(00K20B00B", - "shadow2DEXT(00d20B", - "shadow2DProjEXT(00d30B", - "texture2DLod(00I10B00B", - "texture2DProjLod(00I20B00B", - "texture2DProjLod(00I30B00B", - "textureCubeLod(00K20B00B", - "texture1DLod(00g00B00B", - "texture1DProjLod(00g10B00B", - "texture1DProjLod(00g30B00B", - "shadow1DLod(00m20B00B", - "shadow1DProjLod(00m30B00B", - "shadow2DLod(00d20B00B", - "shadow2DProjLod(00d30B00B", - "texture(00I10B", - "texture(00R10B", - "texture(00X10B", - "texture(00J20B", - "texture(00S20B", - "texture(00Y20B", - "texture(00K20B", - "texture(00T20B", - "texture(00Z20B", - "texture(00L20B", - "texture(00U20B", - "texture(00a20B", - "texture(00d20B", - "texture(00e30B", - "texture(00f30B", - "texture(00g00B", - "texture(00o00B", - "texture(00t00B", - "texture(00m20B", - "texture(00h20B", - "texture(00p20B", - "texture(00u20B", - "texture(00i20B", - "texture(00q10B", - "texture(00v10B", - "texture(00n20B", - "texture(00l30B00B", - "textureProj(00I20B", - "textureProj(00R20B", - "textureProj(00X20B", - "textureProj(00I30B", - "textureProj(00R30B", - "textureProj(00X30B", - "textureProj(00J30B", - "textureProj(00S30B", - "textureProj(00Y30B", - "textureProj(00d30B", - "textureProj(00g10B", - "textureProj(00o10B", - "textureProj(00t10B", - "textureProj(00g30B", - "textureProj(00o30B", - "textureProj(00t30B", - "textureProj(00m30B", - "textureProj(00q20B", - "textureProj(00v20B", - "textureProj(00q30B", - "textureProj(00v30B", - "textureProj(00n30B", - "textureLod(00I10B00B", - "textureLod(00R10B00B", - "textureLod(00X10B00B", - "textureLod(00J20B00B", - "textureLod(00S20B00B", - "textureLod(00Y20B00B", - "textureLod(00K20B00B", - "textureLod(00T20B00B", - "textureLod(00Z20B00B", - "textureLod(00L20B00B", - "textureLod(00U20B00B", - "textureLod(00a20B00B", - "textureLod(00d20B00B", - "textureLod(00g00B00B", - "textureLod(00o00B00B", - "textureLod(00t00B00B", - "textureLod(00m20B00B", - "textureLod(00h10B00B", - "textureLod(00p10B00B", - "textureLod(00u10B00B", - "textureLod(00i20B00B", - "textureLod(00k30B00B", - "textureLod(00s30B00B", - "textureLod(00x30B00B", - "textureSize(00I00D", - "textureSize(00R00D", - "textureSize(00X00D", - "textureSize(00J00D", - "textureSize(00S00D", - "textureSize(00Y00D", - "textureSize(00K00D", - "textureSize(00T00D", - "textureSize(00Z00D", - "textureSize(00L00D", - "textureSize(00U00D", - "textureSize(00a00D", - "textureSize(00d00D", - "textureSize(00e00D", - "textureSize(00f00D", - "textureSize(00g00D", - "textureSize(00o00D", - "textureSize(00t00D", - "textureSize(00m00D", - "textureSize(00k00D", - "textureSize(00s00D", - "textureSize(00x00D", - "textureSize(00l00D", - "textureSize(00O", - "textureSize(00q", - "textureSize(00v", - "textureSize(00n", - "textureSize(00h00D", - "textureSize(00p00D", - "textureSize(00u00D", - "textureSize(00i00D", - "textureSize(00j", - "textureSize(00r", - "textureSize(00w", - "textureProjLod(00I20B00B", - "textureProjLod(00R20B00B", - "textureProjLod(00X20B00B", - "textureProjLod(00I30B00B", - "textureProjLod(00R30B00B", - "textureProjLod(00X30B00B", - "textureProjLod(00J30B00B", - "textureProjLod(00S30B00B", - "textureProjLod(00Y30B00B", - "textureProjLod(00d30B00B", - "textureProjLod(00g10B00B", - "textureProjLod(00o10B00B", - "textureProjLod(00t10B00B", - "textureProjLod(00g30B00B", - "textureProjLod(00o30B00B", - "textureProjLod(00t30B00B", - "textureProjLod(00m30B00B", - "texelFetch(00I10D00D", - "texelFetch(00R10D00D", - "texelFetch(00X10D00D", - "texelFetch(00J20D00D", - "texelFetch(00S20D00D", - "texelFetch(00Y20D00D", - "texelFetch(00L20D00D", - "texelFetch(00U20D00D", - "texelFetch(00a20D00D", - "texelFetch(00g00D00D", - "texelFetch(00o00D00D", - "texelFetch(00t00D00D", - "texelFetch(00O10D", - "texelFetch(00q10D", - "texelFetch(00v10D", - "texelFetch(00h10D00D", - "texelFetch(00p10D00D", - "texelFetch(00u10D00D", - "texelFetch(00j00D", - "texelFetch(00r00D", - "texelFetch(00w00D", - "textureGrad(00I10B10B10B", - "textureGrad(00R10B10B10B", - "textureGrad(00X10B10B10B", - "textureGrad(00J20B20B20B", - "textureGrad(00S20B20B20B", - "textureGrad(00Y20B20B20B", - "textureGrad(00K20B20B20B", - "textureGrad(00T20B20B20B", - "textureGrad(00Z20B20B20B", - "textureGrad(00I00B00B00B", - "textureGrad(00R00B00B00B", - "textureGrad(00X00B00B00B", - "textureGrad(00O10B10B10B", - "textureGrad(00q10B10B10B", - "textureGrad(00v10B10B10B", - "textureGrad(00n20B10B10B", - "textureGrad(00d20B10B10B", - "textureGrad(00e30B20B20B", - "textureGrad(00L20B10B10B", - "textureGrad(00U20B10B10B", - "textureGrad(00a20B10B10B", - "textureGrad(00f30B10B10B", - "textureGrad(00m20B00B00B", - "textureGrad(00h10B00B00B", - "textureGrad(00p10B00B00B", - "textureGrad(00u10B00B00B", - "textureGrad(00i20B00B00B", - "textureGrad(00k30B20B20B", - "textureGrad(00s30B20B20B", - "textureGrad(00x30B20B20B", - "textureProjGrad(00I20B10B10B", - "textureProjGrad(00R20B10B10B", - "textureProjGrad(00X20B10B10B", - "textureProjGrad(00I30B10B10B", - "textureProjGrad(00R30B10B10B", - "textureProjGrad(00X30B10B10B", - "textureProjGrad(00J30B20B20B", - "textureProjGrad(00S30B20B20B", - "textureProjGrad(00Y30B20B20B", - "textureProjGrad(00d30B10B10B", - "textureProjGrad(00g10B00B00B", - "textureProjGrad(00o10B00B00B", - "textureProjGrad(00t10B00B00B", - "textureProjGrad(00g30B00B00B", - "textureProjGrad(00o30B00B00B", - "textureProjGrad(00t30B00B00B", - "textureProjGrad(00m30B00B00B", - "textureProjGrad(00O20B10B10B", - "textureProjGrad(00q20B10B10B", - "textureProjGrad(00v20B10B10B", - "textureProjGrad(00O30B10B10B", - "textureProjGrad(00q30B10B10B", - "textureProjGrad(00v30B10B10B", - "textureProjGrad(00n30B10B10B", - "textureQueryLevels(00g", - "textureQueryLevels(00o", - "textureQueryLevels(00t", - "textureQueryLevels(00I", - "textureQueryLevels(00R", - "textureQueryLevels(00X", - "textureQueryLevels(00J", - "textureQueryLevels(00S", - "textureQueryLevels(00Y", - "textureQueryLevels(00K", - "textureQueryLevels(00T", - "textureQueryLevels(00Z", - "textureQueryLevels(00h", - "textureQueryLevels(00p", - "textureQueryLevels(00u", - "textureQueryLevels(00L", - "textureQueryLevels(00U", - "textureQueryLevels(00a", - "textureQueryLevels(00k", - "textureQueryLevels(00s", - "textureQueryLevels(00x", - "textureQueryLevels(00m", - "textureQueryLevels(00d", - "textureQueryLevels(00e", - "textureQueryLevels(00i", - "textureQueryLevels(00f", - "textureQueryLevels(00l", - "textureSamples(00P", - "textureSamples(00V", - "textureSamples(00b", - "textureSamples(00Q", - "textureSamples(00W", - "textureSamples(00c", - "textureSize(00P", - "textureSize(00V", - "textureSize(00b", - "textureSize(00Q", - "textureSize(00W", - "textureSize(00c", - "texture(00k30B", - "texture(00s30B", - "texture(00x30B", - "texture(00k30B00B", - "texture(00s30B00B", - "texture(00x30B00B", - "textureGather(00k30B", - "textureGather(00s30B", - "textureGather(00x30B", - "textureGather(00k30B00D", - "textureGather(00s30B00D", - "textureGather(00x30B00D", - "textureGather(00l30B00B", - "texelFetch(00P10D00D", - "texelFetch(00V10D00D", - "texelFetch(00b10D00D", - "texelFetch(00Q20D00D", - "texelFetch(00W20D00D", - "texelFetch(00c20D00D", - "texture(00I10B00B", - "texture(00R10B00B", - "texture(00X10B00B", - "texture(00J20B00B", - "texture(00S20B00B", - "texture(00Y20B00B", - "texture(00K20B00B", - "texture(00T20B00B", - "texture(00Z20B00B", - "texture(00L20B00B", - "texture(00U20B00B", - "texture(00a20B00B", - "textureProj(00I20B00B", - "textureProj(00R20B00B", - "textureProj(00X20B00B", - "textureProj(00I30B00B", - "textureProj(00R30B00B", - "textureProj(00X30B00B", - "textureProj(00J30B00B", - "textureProj(00S30B00B", - "textureProj(00Y30B00B", - "texture(00d20B00B", - "texture(00e30B00B", - "textureProj(00d30B00B", - "texture(00g00B00B", - "texture(00o00B00B", - "texture(00t00B00B", - "texture(00m20B00B", - "texture(00h20B00B", - "texture(00p20B00B", - "texture(00u20B00B", - "texture(00i20B00B", - "texture(00f30B00B", - "textureProj(00g10B00B", - "textureProj(00o10B00B", - "textureProj(00t10B00B", - "textureProj(00g30B00B", - "textureProj(00o30B00B", - "textureProj(00t30B00B", - "textureProj(00m30B00B", - "texture(00M10B00B", - "textureProj(00M20B00B", - "textureProj(00M30B00B", - "texture(00N10B00B", - "textureProj(00N20B00B", - "textureProj(00N30B00B", - "textureQueryLod(00g00B", - "textureQueryLod(00o00B", - "textureQueryLod(00t00B", - "textureQueryLod(00I10B", - "textureQueryLod(00R10B", - "textureQueryLod(00X10B", - "textureQueryLod(00J20B", - "textureQueryLod(00S20B", - "textureQueryLod(00Y20B", - "textureQueryLod(00K20B", - "textureQueryLod(00T20B", - "textureQueryLod(00Z20B", - "textureQueryLod(00h00B", - "textureQueryLod(00p00B", - "textureQueryLod(00u00B", - "textureQueryLod(00L10B", - "textureQueryLod(00U10B", - "textureQueryLod(00a10B", - "textureQueryLod(00k20B", - "textureQueryLod(00s20B", - "textureQueryLod(00x20B", - "textureQueryLod(00m00B", - "textureQueryLod(00d10B", - "textureQueryLod(00e20B", - "textureQueryLod(00i00B", - "textureQueryLod(00f10B", - "textureQueryLod(00l20B", - "textureOffset(00I10B10D", - "textureOffset(00R10B10D", - "textureOffset(00X10B10D", - "textureOffset(00J20B20D", - "textureOffset(00S20B20D", - "textureOffset(00Y20B20D", - "textureOffset(00d20B10D", - "textureOffset(00L20B10D", - "textureOffset(00U20B10D", - "textureOffset(00a20B10D", - "textureOffset(00g00B00D", - "textureOffset(00o00B00D", - "textureOffset(00t00B00D", - "textureOffset(00O10B10D", - "textureOffset(00q10B10D", - "textureOffset(00v10B10D", - "textureOffset(00n20B10D", - "textureOffset(00m20B00D", - "textureOffset(00h10B00D", - "textureOffset(00p10B00D", - "textureOffset(00u10B00D", - "textureOffset(00i20B00D", - "textureOffset(00f30B10D", - "textureProjOffset(00I20B10D", - "textureProjOffset(00R20B10D", - "textureProjOffset(00X20B10D", - "textureProjOffset(00I30B10D", - "textureProjOffset(00R30B10D", - "textureProjOffset(00X30B10D", - "textureProjOffset(00J30B20D", - "textureProjOffset(00S30B20D", - "textureProjOffset(00Y30B20D", - "textureProjOffset(00d30B10D", - "textureProjOffset(00g10B00D", - "textureProjOffset(00o10B00D", - "textureProjOffset(00t10B00D", - "textureProjOffset(00g30B00D", - "textureProjOffset(00o30B00D", - "textureProjOffset(00t30B00D", - "textureProjOffset(00O20B10D", - "textureProjOffset(00q20B10D", - "textureProjOffset(00v20B10D", - "textureProjOffset(00O30B10D", - "textureProjOffset(00q30B10D", - "textureProjOffset(00v30B10D", - "textureProjOffset(00n30B10D", - "textureProjOffset(00m30B00D", - "textureLodOffset(00I10B00B10D", - "textureLodOffset(00R10B00B10D", - "textureLodOffset(00X10B00B10D", - "textureLodOffset(00J20B00B20D", - "textureLodOffset(00S20B00B20D", - "textureLodOffset(00Y20B00B20D", - "textureLodOffset(00d20B00B10D", - "textureLodOffset(00L20B00B10D", - "textureLodOffset(00U20B00B10D", - "textureLodOffset(00a20B00B10D", - "textureLodOffset(00g00B00B00D", - "textureLodOffset(00o00B00B00D", - "textureLodOffset(00t00B00B00D", - "textureLodOffset(00m20B00B00D", - "textureLodOffset(00h10B00B00D", - "textureLodOffset(00p10B00B00D", - "textureLodOffset(00u10B00B00D", - "textureLodOffset(00i20B00B00D", - "textureProjLodOffset(00I20B00B10D", - "textureProjLodOffset(00R20B00B10D", - "textureProjLodOffset(00X20B00B10D", - "textureProjLodOffset(00I30B00B10D", - "textureProjLodOffset(00R30B00B10D", - "textureProjLodOffset(00X30B00B10D", - "textureProjLodOffset(00J30B00B20D", - "textureProjLodOffset(00S30B00B20D", - "textureProjLodOffset(00Y30B00B20D", - "textureProjLodOffset(00d30B00B10D", - "textureProjLodOffset(00g10B00B00D", - "textureProjLodOffset(00o10B00B00D", - "textureProjLodOffset(00t10B00B00D", - "textureProjLodOffset(00g30B00B00D", - "textureProjLodOffset(00o30B00B00D", - "textureProjLodOffset(00t30B00B00D", - "textureProjLodOffset(00m30B00B00D", - "texelFetchOffset(00I10D00D10D", - "texelFetchOffset(00R10D00D10D", - "texelFetchOffset(00X10D00D10D", - "texelFetchOffset(00J20D00D20D", - "texelFetchOffset(00S20D00D20D", - "texelFetchOffset(00Y20D00D20D", - "texelFetchOffset(00L20D00D10D", - "texelFetchOffset(00U20D00D10D", - "texelFetchOffset(00a20D00D10D", - "texelFetchOffset(00g00D00D00D", - "texelFetchOffset(00o00D00D00D", - "texelFetchOffset(00t00D00D00D", - "texelFetchOffset(00O10D10D", - "texelFetchOffset(00q10D10D", - "texelFetchOffset(00v10D10D", - "texelFetchOffset(00h10D00D00D", - "texelFetchOffset(00p10D00D00D", - "texelFetchOffset(00u10D00D00D", - "textureGradOffset(00I10B10B10B10D", - "textureGradOffset(00R10B10B10B10D", - "textureGradOffset(00X10B10B10B10D", - "textureGradOffset(00J20B20B20B20D", - "textureGradOffset(00S20B20B20B20D", - "textureGradOffset(00Y20B20B20B20D", - "textureGradOffset(00d20B10B10B10D", - "textureGradOffset(00L20B10B10B10D", - "textureGradOffset(00U20B10B10B10D", - "textureGradOffset(00a20B10B10B10D", - "textureGradOffset(00f30B10B10B10D", - "textureGradOffset(00g00B00B00B00D", - "textureGradOffset(00o00B00B00B00D", - "textureGradOffset(00t00B00B00B00D", - "textureGradOffset(00O10B10B10B10D", - "textureGradOffset(00q10B10B10B10D", - "textureGradOffset(00v10B10B10B10D", - "textureGradOffset(00n20B10B10B10D", - "textureGradOffset(00m20B00B00B00D", - "textureGradOffset(00h10B00B00B00D", - "textureGradOffset(00p10B00B00B00D", - "textureGradOffset(00u10B00B00B00D", - "textureGradOffset(00i20B00B00B00D", - "textureProjGradOffset(00I20B10B10B10D", - "textureProjGradOffset(00R20B10B10B10D", - "textureProjGradOffset(00X20B10B10B10D", - "textureProjGradOffset(00I30B10B10B10D", - "textureProjGradOffset(00R30B10B10B10D", - "textureProjGradOffset(00X30B10B10B10D", - "textureProjGradOffset(00J30B20B20B20D", - "textureProjGradOffset(00S30B20B20B20D", - "textureProjGradOffset(00Y30B20B20B20D", - "textureProjGradOffset(00d30B10B10B10D", - "textureProjGradOffset(00g10B00B00B00D", - "textureProjGradOffset(00o10B00B00B00D", - "textureProjGradOffset(00t10B00B00B00D", - "textureProjGradOffset(00g30B00B00B00D", - "textureProjGradOffset(00o30B00B00B00D", - "textureProjGradOffset(00t30B00B00B00D", - "textureProjGradOffset(00O20B10B10B10D", - "textureProjGradOffset(00q20B10B10B10D", - "textureProjGradOffset(00v20B10B10B10D", - "textureProjGradOffset(00O30B10B10B10D", - "textureProjGradOffset(00q30B10B10B10D", - "textureProjGradOffset(00v30B10B10B10D", - "textureProjGradOffset(00n30B10B10B10D", - "textureProjGradOffset(00m30B00B00B00D", - "textureOffset(00I10B10D00B", - "textureOffset(00R10B10D00B", - "textureOffset(00X10B10D00B", - "textureOffset(00J20B20D00B", - "textureOffset(00S20B20D00B", - "textureOffset(00Y20B20D00B", - "textureOffset(00d20B10D00B", - "textureOffset(00L20B10D00B", - "textureOffset(00U20B10D00B", - "textureOffset(00a20B10D00B", - "textureOffset(00g00B00D00B", - "textureOffset(00o00B00D00B", - "textureOffset(00t00B00D00B", - "textureOffset(00m20B00D00B", - "textureOffset(00h10B00D00B", - "textureOffset(00p10B00D00B", - "textureOffset(00u10B00D00B", - "textureOffset(00i20B00D00B", - "textureProjOffset(00I20B10D00B", - "textureProjOffset(00R20B10D00B", - "textureProjOffset(00X20B10D00B", - "textureProjOffset(00I30B10D00B", - "textureProjOffset(00R30B10D00B", - "textureProjOffset(00X30B10D00B", - "textureProjOffset(00J30B20D00B", - "textureProjOffset(00S30B20D00B", - "textureProjOffset(00Y30B20D00B", - "textureProjOffset(00d30B10D00B", - "textureProjOffset(00g10B00D00B", - "textureProjOffset(00o10B00D00B", - "textureProjOffset(00t10B00D00B", - "textureProjOffset(00g30B00D00B", - "textureProjOffset(00o30B00D00B", - "textureProjOffset(00t30B00D00B", - "textureProjOffset(00m30B00D00B", - "texture(00M10B", - "textureProj(00M20B", - "textureProj(00M30B", - "textureSize(00M00D", - "texelFetch(00M10D00D", - "texture(00N10B", - "textureProj(00N20B", - "textureProj(00N30B", - "rgb_2_yuv(20B00H", - "yuv_2_rgb(20B00H", - "textureSize(00N00D", - "texelFetch(00N10D00D", - "textureGather(00I10B", - "textureGather(00R10B", - "textureGather(00X10B", - "textureGather(00I10B00D", - "textureGather(00R10B00D", - "textureGather(00X10B00D", - "textureGather(00L20B", - "textureGather(00U20B", - "textureGather(00a20B", - "textureGather(00L20B00D", - "textureGather(00U20B00D", - "textureGather(00a20B00D", - "textureGather(00K20B", - "textureGather(00T20B", - "textureGather(00Z20B", - "textureGather(00K20B00D", - "textureGather(00T20B00D", - "textureGather(00Z20B00D", - "textureGather(00O20B", - "textureGather(00q20B", - "textureGather(00v20B", - "textureGather(00O20B00D", - "textureGather(00q20B00D", - "textureGather(00v20B00D", - "textureGather(00d10B", - "textureGather(00d10B00B", - "textureGather(00f20B", - "textureGather(00f20B00B", - "textureGather(00e20B", - "textureGather(00e20B00B", - "textureGather(00n10B00B", - "textureGatherOffset(00I10B10D", - "textureGatherOffset(00R10B10D", - "textureGatherOffset(00X10B10D", - "textureGatherOffset(00L20B10D", - "textureGatherOffset(00U20B10D", - "textureGatherOffset(00a20B10D", - "textureGatherOffset(00d10B00B10D", - "textureGatherOffset(00f20B00B10D", - "textureGatherOffset(00O10B10D", - "textureGatherOffset(00q10B10D", - "textureGatherOffset(00v10B10D", - "textureGatherOffset(00n10B00B10D", - "textureGatherOffset(00I10B10D00D", - "textureGatherOffset(00R10B10D00D", - "textureGatherOffset(00X10B10D00D", - "textureGatherOffset(00L20B10D00D", - "textureGatherOffset(00U20B10D00D", - "textureGatherOffset(00a20B10D00D", - "textureGatherOffset(00O10B10D00D", - "textureGatherOffset(00q10B10D00D", - "textureGatherOffset(00v10B10D00D", - "textureGatherOffsets(00I10B10Dx4", - "textureGatherOffsets(00R10B10Dx4", - "textureGatherOffsets(00X10B10Dx4", - "textureGatherOffsets(00L20B10Dx4", - "textureGatherOffsets(00U20B10Dx4", - "textureGatherOffsets(00a20B10Dx4", - "textureGatherOffsets(00d10B00B10Dx4", - "textureGatherOffsets(00f20B00B10Dx4", - "textureGatherOffsets(00O10B10Dx4", - "textureGatherOffsets(00q10B10Dx4", - "textureGatherOffsets(00v10B10Dx4", - "textureGatherOffsets(00n10B00B10Dx4", - "textureGatherOffsets(00I10B10Dx400D", - "textureGatherOffsets(00R10B10Dx400D", - "textureGatherOffsets(00X10B10Dx400D", - "textureGatherOffsets(00L20B10Dx400D", - "textureGatherOffsets(00U20B10Dx400D", - "textureGatherOffsets(00a20B10Dx400D", - "textureGatherOffsets(00O10B10Dx400D", - "textureGatherOffsets(00q10B10Dx400D", - "textureGatherOffsets(00v10B10Dx400D", - "dFdxFine(00B", - "dFdxFine(10B", - "dFdxFine(20B", - "dFdxFine(30B", - "dFdyFine(00B", - "dFdyFine(10B", - "dFdyFine(20B", - "dFdyFine(30B", - "dFdxCoarse(00B", - "dFdxCoarse(10B", - "dFdxCoarse(20B", - "dFdxCoarse(30B", - "dFdyCoarse(00B", - "dFdyCoarse(10B", - "dFdyCoarse(20B", - "dFdyCoarse(30B", - "fwidthFine(00B", - "fwidthFine(10B", - "fwidthFine(20B", - "fwidthFine(30B", - "fwidthCoarse(00B", - "fwidthCoarse(10B", - "fwidthCoarse(20B", - "fwidthCoarse(30B", - "interpolateAtCentroid(00B", - "interpolateAtCentroid(10B", - "interpolateAtCentroid(20B", - "interpolateAtCentroid(30B", - "interpolateAtSample(00B00D", - "interpolateAtSample(10B00D", - "interpolateAtSample(20B00D", - "interpolateAtSample(30B00D", - "interpolateAtOffset(00B10B", - "interpolateAtOffset(10B10B", - "interpolateAtOffset(20B10B", +constexpr const char *kMangledNames[] = {"textureProj(00R30B00B", + "imageAtomicExchange(01g00D00E", "interpolateAtOffset(30B10B", - "atomicCounter(00G", - "atomicCounterIncrement(00G", - "atomicCounterDecrement(00G", - "atomicCounterAdd(00G00E", - "atomicCounterSubtract(00G00E", - "atomicCounterMin(00G00E", - "atomicCounterMax(00G00E", - "atomicCounterAnd(00G00E", - "atomicCounterOr(00G00E", - "atomicCounterXor(00G00E", - "atomicCounterExchange(00G00E", - "atomicCounterCompSwap(00G00E00E", - "atomicAdd(00E00E", + "textureProjOffset(00g10B00D", + "imageAtomicOr(00z10D00D", + "texture2DProj(00I20B", + "textureProjGradOffset(00v30B10B10B10D", + "texelFetch(00o00D00D", + "imageLoad(01g00D", + "imageAtomicAdd(01S10D00D00E", + "imageLoad(01I20D", + "tanh(30B", + "imageAtomicCompSwap(01E20D00D00D", + "textureQueryLod(00m00B", + "not(10F", + "findMSB(20E", + "lessThanEqual(30B30B", + "imageAtomicAdd(00z10D00E", + "textureLod(00t00B00B", + "textureProjGradOffset(00O30B10B10B10D", + "outerProduct(20B30B", + "imageAtomicOr(00z10D00E", + "imageSamples(01W", + "imageSamples(01V", + "imageSamples(01U", + "imageSamples(01T", + "imageSamples(01S", + "mix(20B20B00B", + "textureLodOffset(00o00B00B00D", + "imageAtomicMin(01S10D00D00E", + "uintBitsToFloat(30E", + "imageAtomicExchange(01R10D00D00B", + "textureSize(00K00D", + "textureSize(00h00D", + "gl_MaxAtomicCounterBindings", + "texelFetchOffset(00q10D10D", + "greaterThanEqual(10E10E", + "texture(00d20B", + "atan(10B10B", + "clamp(30B30B30B", + "imageAtomicCompSwap(01a20D00E00E", + "imageAtomicCompSwap(01R10D00D00D00D", + "textureLodOffset(00a20B00B10D", + "greaterThanEqual(20B20B", + "imageLoad(01F20D", + "ceil(10C", + "imageAtomicCompSwap(01b20D00D00D", + "imageAtomicAnd(01A10D00D", + "imageAtomicAdd(01D20D00E", "atomicAdd(00D00D", - "atomicMin(00E00E", - "atomicMin(00D00D", - "atomicMax(00E00E", - "atomicMax(00D00D", - "atomicAnd(00E00E", - "atomicAnd(00D00D", - "atomicOr(00E00E", - "atomicOr(00D00D", - "atomicXor(00E00E", + "textureSize(00p00D", + "floatBitsToUint(20B", + "textureProjOffset(00t30B00D00B", + "mix(20D20D20F", + "degrees(20B", + "imageAtomicMin(01Y10D00D", + "imageAtomicXor(01R10D00D00D", + "imageAtomicCompSwap(01D20D00D00D", + "min(00C00C", + "imageAtomicMax(01S10D00D00E", + "inversesqrt(00C", + "inversesqrt(00B", + "texelFetchOffset(00J20D00D20D", + "textureProjGrad(00S30B20B20B", + "equal(10D10D", + "max(30D00D", + "groupMemoryBarrier(", + "imageAtomicExchange(01b20D00B", + "imageAtomicExchange(01b20D00E", + "imageAtomicExchange(01b20D00D", + "step(20C20C", + "texelFetch(00I10D00D", + "mod(00C00C", + "transpose(E0B", + "imageAtomicMin(01R10D00D00E", + "imageAtomicMin(01R10D00D00D", + "imageAtomicExchange(01i00D00E", + "textureGather(00O20B", + "textureProjOffset(00Y30B20D00B", + "imageStore(01C20D30B", + "modf(10B10B", + "determinant(50B", + "imageAtomicCompSwap(01J20D00E00E", + "textureProj(00g10B00B", + "lessThan(20B20B", + "imageAtomicCompSwap(01W20D00D00E00E", + "imageStore(01K20D30E", + "gl_MaxFragmentInputVectors", + "sign(20C", + "cosh(20B", + "sign(20D", + "atanh(00B", + "imageAtomicAnd(01V20D00D00E", + "imageAtomicAnd(01V20D00D00D", + "textureProj(00t10B", + "texture(00p20B00B", + "fma(10C10C10C", + "imageAtomicXor(01Y10D00D", + "imageAtomicXor(01Y10D00E", + "imageAtomicAnd(01C20D00E", + "textureOffset(00d20B10D00B", + "textureOffset(00m20B00D", + "imageAtomicAnd(01C20D00D", + "lessThan(10E10E", + "imageAtomicCompSwap(01A10D00D00D", + "textureGrad(00X00B00B00B", + "textureProjLodOffset(00t30B00B00D", + "fma(30C30C30C", + "textureGrad(00v10B10B10B", + "textureProj(00N30B00B", + "step(00C00C", + "gl_MaxCombinedShaderOutputResources", + "imageAtomicCompSwap(01T10D00D00D00D", + "texture(00I10B00B", + "texelFetch(00j00D", + "lessThan(20D20D", + "clamp(20C20C20C", + "imageAtomicXor(00z10D00E", + "all(10F", + "dFdyCoarse(00B", + "isinf(30B", + "textureGatherOffset(00a20B10D00D", + "textureGatherOffset(00I10B10D", + "textureProjOffset(00q30B10D", + "textureOffset(00L20B10D", + "lessThanEqual(30E30E", + "min(10E00E", + "imageAtomicXor(01a20D00E", + "imageAtomicXor(01a20D00D", + "textureProjOffset(00S30B20D", + "round(00C", + "round(00B", + "gl_LastFragData", + "greaterThan(30D30D", + "texture(00U20B", + "imageAtomicCompSwap(01P10D00E00E", + "smoothstep(00C00C20C", + "texture2DRect(00O10B", + "imageLoad(01N00D", + "noise2(20B", + "step(20B20B", + "imageAtomicAnd(01b20D00E", + "findMSB(10E", + "findMSB(10D", + "interpolateAtOffset(00B10B", + "texture(00t00B", + "textureLodOffset(00S20B00B20D", + "textureQueryLod(00p00B", + "imageStore(00z10D30B", + "textureGatherOffsets(00X10B10Dx400D", + "outerProduct(10B20B", + "imageAtomicMax(01Z10D00E", + "fwidthFine(10B", + "cos(30B", + "unpackHalf2x16(00E", + "outerProduct(10B10B", + "imageAtomicOr(01M00D00D", + "gl_MaxComputeTextureImageUnits", + "imageAtomicMax(01Y10D00E", + "imageAtomicMax(01Y10D00D", + "sin(30B", + "imageAtomicAnd(01O10D00D", + "textureGather(00L20B00D", + "imageStore(01i00D30E", + "imageStore(01A10D30D", + "gl_MaxGeometryOutputVertices", + "imageAtomicXor(01H20D00D", + "imageAtomicXor(01H20D00E", + "shadow1D(00m20B00B", + "max(10E10E", + "max(30B30B", + "clamp(10E10E10E", + "texture(00N10B", + "textureProjGrad(00t30B00B00B", + "imageAtomicOr(01E20D00D", + "imageAtomicOr(01E20D00E", + "texelFetchOffset(00a20D00D10D", + "imageLoad(01V20D00D", + "not(20F", + "imageAtomicExchange(01F20D00D", + "imageAtomicExchange(01F20D00B", + "imageStore(01L00D30B", + "outerProduct(20B20B", + "imageAtomicXor(01D20D00D", + "textureProjLodOffset(00R20B00B10D", + "textureOffset(00p10B00D", + "texture(00h20B", + "textureProjGrad(00J30B20B20B", + "imageAtomicOr(01R10D00D00E", + "imageAtomicOr(01R10D00D00D", + "textureProjOffset(00g10B00D00B", + "gl_InvocationID", + "imageAtomicAnd(01R10D00D00D", + "imageAtomicAdd(01E20D00E", + "radians(10B", + "textureGatherOffset(00n10B00B10D", + "noise2(10B", + "textureQueryLod(00a10B", + "textureGather(00e20B00B", + "distance(10B10B", + "textureGrad(00Z20B20B20B", + "sign(00B", + "bitfieldReverse(00D", + "bitfieldReverse(00E", + "bitfieldExtract(30E00D00D", + "textureLod(00I10B00B", + "greaterThanEqual(10D10D", + "imageAtomicCompSwap(01I20D00E00E", + "degrees(30B", + "inversesqrt(30B", + "inversesqrt(30C", + "imageAtomicMin(01I20D00D", + "textureGather(00v20B00D", + "intBitsToFloat(20D", + "exp(20B", + "imageAtomicMax(01A10D00E", + "imageAtomicMax(01A10D00D", + "acosh(00B", + "log(10B", + "textureProjLodOffset(00S30B00B20D", + "textureGather(00L20B", + "textureProj(00n30B", + "textureQueryLod(00i00B", + "texture(00p20B", + "outerProduct(30B20B", + "texture(00S20B", "atomicXor(00D00D", + "texelFetch(00Y20D00D", + "imageAtomicOr(01P10D00D", + "imageAtomicOr(01P10D00E", + "bitfieldExtract(10D00D00D", + "sign(30B", + "sign(30C", + "sign(30D", + "texture(00Y20B00B", + "dFdy(20B", + "textureProj(00Y30B", + "textureOffset(00X10B10D00B", + "memoryBarrierBuffer(", + "isinf(00B", + "isinf(00C", + "clamp(20D00D00D", + "texture2DProj(00I20B00B", + "mod(30B00B", + "imageAtomicAnd(01A10D00E", + "textureGather(00f20B00B", + "textureProj(00m30B", + "greaterThan(20E20E", + "textureProjLod(00I30B00B", + "refract(00B00B00B", + "gl_MaxGeometryImageUniforms", + "imageAtomicMin(01X10D00D", + "imageAtomicMin(01X10D00E", + "noise4(20B", + "textureSize(00e00D", + "imageStore(01N00D30E", + "gl_NumWorkGroups", + "texelFetch(00a20D00D", + "step(00C10C", + "frexp(30B30D", + "imageAtomicMin(01Y10D00E", + "texture(00t00B00B", + "min(30C00C", + "imageAtomicCompSwap(01X10D00E00E", + "texture(00I10B", + "gl_InstanceID", + "normalize(20B", + "normalize(20C", + "imageAtomicCompSwap(01H20D00D00D", + "inverse(F0B", + "frexp(20C20D", + "atan(00B", + "textureGatherOffset(00R10B10D00D", + "imageAtomicMin(01h00D00E", + "imageAtomicMin(01h00D00D", + "greaterThan(30E30E", + "imageAtomicAdd(01N00D00D", + "imageAtomicAdd(01N00D00E", + "texelFetchOffset(00p10D00D00D", + "imageAtomicAnd(01J20D00D", + "imageAtomicAnd(01J20D00E", + "gl_DepthRange", + "imageAtomicMax(01S10D00D00D", + "textureProj(00o30B", + "imageAtomicAdd(01I20D00E", + "bitfieldExtract(20D00D00D", + "texture(00L20B00B", + "imageAtomicOr(01L00D00E", + "imageAtomicOr(01L00D00D", + "mix(30D30D30F", + "gl_MaxComputeUniformComponents", + "imageLoad(01h00D", + "imageAtomicCompSwap(01E20D00E00E", + "textureProjOffset(00O30B10D", + "floor(10B", + "floor(10C", + "imageAtomicMax(01R10D00D00E", + "imageAtomicMax(01R10D00D00D", + "textureProjLodOffset(00o10B00B00D", + "textureGather(00x30B00D", + "interpolateAtSample(10B00D", + "imageAtomicMin(01F20D00E", + "imageAtomicMin(01F20D00D", + "outerProduct(10B30B", + "texture(00k30B", + "imageAtomicCompSwap(01O10D00E00E", + "cos(00B", + "imageAtomicXor(01F20D00E", + "imageAtomicXor(01B10D00E", + "frexp(00C00D", + "atomicCounterCompSwap(00G00E00E", + "textureOffset(00a20B10D00B", + "imageAtomicCompSwap(01b20D00E00E", + "textureGather(00X10B", + "imageLoad(01T10D00D", + "textureOffset(00R10B10D00B", + "textureGatherOffset(00d10B00B10D", + "gl_MaxFragmentImageUniforms", + "textureSize(00i00D", + "equal(20E20E", + "uaddCarry(00E00E00E", + "textureQueryLod(00T20B", + "textureCube(00K20B", + "imageAtomicMax(01U20D00D00E", + "imageAtomicMax(01U20D00D00D", + "imageAtomicAnd(01K20D00D", + "matrixCompMult(90B90B", + "textureGatherOffsets(00I10B10Dx4", + "textureGradOffset(00p10B00B00B00D", + "textureProjLodOffset(00g30B00B00D", + "clamp(30E00E00E", + "asin(00B", + "textureProjOffset(00J30B20D00B", + "texelFetch(00w00D", + "notEqual(30E30E", + "imageAtomicOr(01K20D00D", + "imageAtomicOr(01K20D00E", + "lessThanEqual(10E10E", + "inversesqrt(20C", + "inversesqrt(20B", + "textureLod(00i20B00B", + "textureOffset(00u10B00D00B", + "reflect(00C00C", + "atomicAdd(00E00E", + "intBitsToFloat(30D", + "textureProjGradOffset(00v20B10B10B10D", + "textureGrad(00X10B10B10B", + "greaterThanEqual(30E30E", + "mix(20B20B20F", + "imageAtomicExchange(01T10D00D00E", + "imageAtomicExchange(01T10D00D00D", + "gl_MaxVertexAtomicCounters", + "mix(20B20B20B", + "any(10F", + "textureProjGradOffset(00d30B10B10B10D", + "imageLoad(01X10D", + "textureProjOffset(00I30B10D", + "textureOffset(00X10B10D", + "texture(00R10B", + "imageAtomicXor(01R10D00D00E", + "imageStore(01M00D30D", + "radians(00B", + "textureGatherOffsets(00f20B00B10Dx4", + "step(10B10B", + "gl_MaxDualSourceDrawBuffersEXT", + "imageAtomicAdd(01Y10D00D", + "imageAtomicAdd(01Y10D00E", + "bitfieldReverse(10E", + "bitfieldReverse(10D", + "imageStore(01g00D30B", + "textureProjGradOffset(00q20B10B10B10D", + "imageAtomicExchange(01S10D00D00E", + "atomicXor(00E00E", + "mix(00C00C00F", + "textureLodOffset(00g00B00B00D", + "greaterThan(30B30B", + "gl_MaxFragmentAtomicCounters", + "faceforward(20B20B20B", + "textureSize(00x00D", + "textureProj(00S30B00B", + "fma(20B20B20B", + "textureProjLod(00o10B00B", + "imageAtomicMin(01J20D00E", + "outerProduct(30B30B", + "exp(30B", + "bitCount(10E", + "bitCount(10D", + "log(00B", + "mix(00F00F00F", + "imageAtomicCompSwap(01M00D00D00D", + "imageAtomicAdd(01Q10D00E", + "acosh(30B", + "imageAtomicOr(01Y10D00E", + "imageAtomicOr(01Y10D00D", + "textureGradOffset(00X10B10B10B10D", + "texelFetchOffset(00X10D00D10D", + "packUnorm2x16(10B", + "texture(00h20B00B", + "umulExtended(20E20E20E20E", + "texture(00m20B00B", + "textureProjGradOffset(00g30B00B00B00D", + "textureProj(00o30B00B", + "imageAtomicCompSwap(01T10D00D00E00E", + "textureCubeLod(00K20B00B", + "textureSize(00L00D", + "imageAtomicXor(01L00D00E", + "imageAtomicCompSwap(01Q10D00D00D", + "max(20E00E", + "textureProj(00S30B", + "dFdy(30B", + "isinf(10C", + "isinf(10B", + "gl_MaxVertexTextureImageUnits", + "greaterThanEqual(30B30B", + "texture2DProjLodEXT(00I20B00B", + "gl_FrontFacing", + "textureProjOffset(00t10B00D00B", + "acos(10B", + "textureCube(00K20B00B", + "lessThan(10B10B", + "imageAtomicCompSwap(01B10D00E00E", + "gl_MaxComputeAtomicCounterBuffers", + "textureSize(00f00D", + "texelFetchOffset(00h10D00D00D", + "mod(20C00C", + "imageAtomicAnd(01g00D00D", + "gl_LastFragColorARM", + "textureGatherOffsets(00q10B10Dx4", + "lessThanEqual(20D20D", + "textureQueryLod(00k20B", + "imageAtomicAdd(01B10D00E", + "textureProjLod(00Y30B00B", + "gl_SecondaryFragColorEXT", + "imageAtomicAnd(01U20D00D00D", + "imageAtomicAnd(01U20D00D00E", + "gl_BaseInstance", + "transpose(B0B", + "imageAtomicXor(01b20D00E", + "mix(20F20F20F", + "smoothstep(00B00B30B", + "imageAtomicExchange(01M00D00B", + "imageAtomicExchange(01M00D00D", + "imageAtomicExchange(01M00D00E", + "textureQueryLod(00d10B", + "texelFetch(00N10D00D", + "textureSize(00a00D", + "EmitStreamVertex(00D", + "textureProjOffset(00Y30B20D", + "textureOffset(00n20B10D", + "atan(30B", + "imageAtomicMax(01b20D00E", + "imageAtomicMax(01b20D00D", + "ceil(10B", + "textureSize(00S00D", + "imageAtomicExchange(01S10D00D00B", + "atomicCounterDecrement(00G", + "ceil(30B", + "imageAtomicAnd(01Q10D00D", + "imageAtomicAnd(01Q10D00E", + "imageAtomicAnd(01c20D00E", + "imageAtomicAnd(01c20D00D", + "textureSize(00t00D", + "texture(00f30B", + "imageSamples(01R", + "texelFetch(00R10D00D", + "sign(20B", + "smoothstep(30B30B30B", + "imageAtomicExchange(01T10D00D00B", + "textureGrad(00R10B10B10B", + "min(00D00D", + "textureProj(00t10B00B", + "shadow2DProjEXT(00d30B", + "imageAtomicAdd(01V20D00D00E", + "ldexp(20B20D", + "greaterThanEqual(30D30D", + "imageLoad(01D20D", + "findLSB(10E", + "texture(00Z20B00B", + "imageAtomicXor(01S10D00D00E", + "imageAtomicXor(01S10D00D00D", + "cos(10B", + "texelFetch(00v10D", + "texture(00e30B", + "textureSize(00T00D", + "imageAtomicAnd(01g00D00E", + "textureSize(00u00D", + "textureProjGradOffset(00Y30B20B20B20D", + "noise3(30B", + "textureGrad(00T20B20B20B", + "texture1DProj(00g10B00B", + "textureProjOffset(00d30B10D00B", + "imageAtomicMin(01B10D00D", + "imageAtomicMin(01B10D00E", + "imageAtomicXor(01U20D00D00D", + "imageAtomicXor(01U20D00D00E", + "imageAtomicAdd(01h00D00D", + "imageAtomicAdd(01h00D00E", + "matrixCompMult(50B50B", + "equal(30B30B", + "imageAtomicExchange(01E20D00B", + "textureLod(00U20B00B", + "imageAtomicXor(01I20D00E", + "imageAtomicXor(01I20D00D", + "textureOffset(00h10B00D", + "textureLod(00p10B00B", + "max(20C20C", + "max(10B10B", + "gl_PointSize", + "imageAtomicCompSwap(01F20D00E00E", + "asin(10B", + "sinh(00B", + "imageAtomicAdd(01g00D00D", + "imageAtomicCompSwap(01h00D00E00E", + "textureOffset(00S20B20D", + "fma(20C20C20C", + "textureProj(00R20B", + "greaterThan(10E10E", + "imageAtomicAnd(01M00D00E", + "imageAtomicAdd(01B10D00D", + "imageAtomicAnd(01M00D00D", + "textureGatherOffsets(00n10B00B10Dx4", + "EmitVertex(", + "smoothstep(20B20B20B", + "textureSamples(00b", + "textureOffset(00J20B20D", + "texelFetch(00J20D00D", + "imageAtomicExchange(01V20D00D00E", + "imageAtomicExchange(01V20D00D00B", + "imageAtomicCompSwap(01Y10D00E00E", + "gl_ViewID_OVR", + "radians(30B", + "fract(30B", + "imageAtomicMin(01H20D00E", + "uaddCarry(20E20E20E", + "textureProjGrad(00X30B10B10B", + "textureSamples(00P", + "textureProjOffset(00v20B10D", + "shadow2D(00d20B00B", + "texelFetchOffset(00o00D00D00D", + "textureSamples(00V", + "textureSamples(00W", + "textureProjGrad(00q30B10B10B", + "textureGatherOffset(00O10B10D", + "clamp(10D00D00D", + "gl_MaxComputeImageUniforms", + "textureLod(00L20B00B", + "imageAtomicExchange(01A10D00B", + "imageAtomicCompSwap(01V20D00D00D00D", + "imageAtomicExchange(01A10D00E", + "imageAtomicExchange(01A10D00D", + "imageAtomicXor(01b20D00D", + "texture(00n20B", + "ldexp(20C20D", + "clamp(00E00E00E", + "length(20B", + "ldexp(00B00D", + "bitfieldInsert(00D00D00D00D", + "textureProjGrad(00Y30B20B20B", + "imageAtomicAdd(01W20D00D00E", + "roundEven(30B", + "roundEven(30C", + "acosh(20B", + "atanh(10B", + "length(20C", + "clamp(10B10B10B", + "textureGatherOffset(00L20B10D00D", + "bitCount(00D", + "bitCount(00E", + "floatBitsToInt(30B", + "max(20B00B", + "imageAtomicAdd(00z10D00D", + "texelFetchOffset(00Y20D00D20D", "atomicExchange(00E00E", - "atomicExchange(00D00D", + "imageAtomicXor(01h00D00D", + "imageAtomicXor(01h00D00E", + "ldexp(30C30D", + "texture(00o00B", + "texture(00x30B00B", + "lessThanEqual(20B20B", + "min(10B00B", + "textureQueryLod(00f10B", + "smoothstep(10C10C10C", + "imageAtomicAnd(01L00D00D", + "imageAtomicAnd(01L00D00E", + "mix(30F30F30F", + "imageAtomicMax(01T10D00D00E", + "imageAtomicMax(01T10D00D00D", + "textureGatherOffsets(00O10B10Dx400D", + "abs(20D", + "abs(20C", + "abs(20B", + "lessThanEqual(10B10B", + "min(30E30E", + "imageAtomicOr(01a20D00D", + "mix(00B00B00B", + "mix(00B00B00F", + "textureGather(00s30B00D", + "textureProj(00I20B", + "textureLodOffset(00p10B00B00D", + "gl_MaxVertexAtomicCounterBuffers", + "unpackDouble2x32(00C", + "acos(00B", + "textureGradOffset(00J20B20B20B20D", + "fma(00C00C00C", + "texture2DGradEXT(00I10B10B10B", + "imageAtomicCompSwap(01G20D00D00D", + "imageAtomicAnd(01I20D00D", + "texture2DProjGradEXT(00I30B10B10B", + "fma(30B30B30B", + "imageAtomicAdd(01L00D00D", + "texture(00i20B00B", + "gl_MaxComputeWorkGroupCount", + "clamp(20C00C00C", + "imageAtomicMax(01X10D00E", + "imageLoad(01i00D", + "mix(30E30E30F", + "gl_FragColor", + "imageAtomicMin(01G20D00D", + "imageAtomicMin(01G20D00E", + "imageAtomicExchange(01S10D00D00D", + "atan(20B", + "interpolateAtSample(30B00D", + "dFdxCoarse(30B", + "texture(00M10B", + "min(10B10B", + "textureLodOffset(00h10B00B00D", + "EndStreamPrimitive(00D", + "pow(10B10B", + "texture(00Y20B", + "imageAtomicXor(01P10D00D", + "texture(00X10B00B", + "frexp(00B00D", + "texture2D(00I10B", + "imageLoad(01O10D", + "ceil(20C", + "ceil(20B", + "imageAtomicMin(01b20D00E", + "imageAtomicMin(01b20D00D", + "imageAtomicMax(01P10D00D", + "imageAtomicMax(01P10D00E", + "imageAtomicExchange(01P10D00B", + "textureProjOffset(00R20B10D", + "imageStore(01V20D00D30D", + "subpassLoad(01m00D", + "textureOffset(00I10B10D", + "min(20B00B", + "reflect(00B00B", + "noise4(10B", + "sqrt(10C", + "sqrt(10B", + "clamp(20E20E20E", + "textureGradOffset(00g00B00B00B00D", + "textureGather(00q20B", + "noise3(00B", + "imageAtomicOr(01G20D00D", + "imageAtomicOr(01G20D00E", + "imageAtomicMin(01C20D00D", + "imageAtomicMin(01C20D00E", + "imageAtomicAnd(01F20D00E", + "imageStore(01a20D30B", + "textureProjLod(00d30B00B", + "imageLoad(01H20D", + "textureProjGradOffset(00I20B10B10B10D", + "interpolateAtSample(20B00D", + "reflect(10B10B", + "refract(10B10B00B", + "imageAtomicMax(01h00D00D", + "mix(20C20C20F", + "imageAtomicExchange(01X10D00D", + "imageAtomicExchange(01X10D00E", + "mix(20C20C20C", + "textureOffset(00v10B10D", + "imageAtomicExchange(01Q10D00E", + "imageAtomicExchange(01Q10D00D", + "imageAtomicMin(01P10D00D", + "sinh(30B", + "textureSize(00m00D", + "imageAtomicMin(01N00D00E", + "imageAtomicMin(01N00D00D", + "textureQueryLod(00e20B", + "asinh(20B", + "imageAtomicAdd(01C20D00D", + "imageAtomicCompSwap(01I20D00D00D", + "textureProj(00O20B", + "imageAtomicCompSwap(01M00D00E00E", + "frexp(10B10D", + "inverse(50B", + "dot(10B10B", + "noise2(00B", + "textureProjGradOffset(00o10B00B00B00D", + "radians(20B", "atomicCompSwap(00E00E00E", - "atomicCompSwap(00D00D00D", + "textureGrad(00I00B00B00B", + "textureGrad(00Y20B20B20B", + "imageAtomicCompSwap(01Z10D00D00D", + "gl_MaxVertexUniformVectors", + "imageAtomicExchange(01W20D00D00B", + "textureOffset(00o00B00D00B", + "imageAtomicExchange(01W20D00D00E", + "imageAtomicExchange(01W20D00D00D", + "ftransform(", + "textureProj(00X20B", + "textureProjOffset(00n30B10D", + "imageAtomicOr(01W20D00D00E", + "imageAtomicOr(01W20D00D00D", + "greaterThanEqual(20E20E", + "textureProj(00M20B", + "texture3DProjLod(00J30B00B", + "isinf(30C", + "imageAtomicAdd(01Z10D00E", + "imageAtomicAdd(01Z10D00D", + "mix(10D10D10F", + "textureProjGrad(00g10B00B00B", + "log(20B", + "imageAtomicMax(01D20D00E", + "imageAtomicMax(01D20D00D", + "textureOffset(00h10B00D00B", + "modf(30B30B", + "roundEven(20C", + "roundEven(20B", + "outerProduct(30B10B", + "textureProj(00J30B", + "imageAtomicOr(01F20D00E", + "imageAtomicOr(01F20D00D", + "textureLodOffset(00t00B00B00D", + "floatBitsToInt(20B", + "texelFetch(00U20D00D", + "max(00D00D", + "round(20C", + "atomicMin(00E00E", + "textureGradOffset(00v10B10B10B10D", + "textureGrad(00n20B10B10B", + "imageLoad(01S10D00D", + "shadow2DEXT(00d20B", + "textureGatherOffsets(00a20B10Dx4", + "max(20E20E", + "imageAtomicCompSwap(01F20D00D00D", + "abs(10D", + "abs(10B", + "abs(10C", + "gl_FragDepthEXT", + "imageAtomicAdd(01V20D00D00D", + "gl_ClipDistance", + "modf(30C30C", + "imageAtomicMin(01T10D00D00E", + "imageAtomicMin(01T10D00D00D", + "textureGrad(00i20B00B00B", + "textureProj(00g10B", + "equal(20B20B", + "textureProjLodOffset(00X20B00B10D", + "max(30C00C", + "texture(00U20B00B", + "textureProj(00I30B", + "mix(00E00E00F", + "imageAtomicCompSwap(01h00D00D00D", + "mix(00D00D00F", + "textureProjOffset(00q20B10D", + "texture(00i20B", + "textureGradOffset(00a20B10B10B10D", + "smoothstep(00B00B20B", + "textureLod(00s30B00B", + "imageAtomicOr(01C20D00D", + "imageAtomicOr(01C20D00E", + "imageAtomicXor(01g00D00E", + "notEqual(30B30B", + "textureGatherOffset(00f20B00B10D", + "imageAtomicAnd(01N00D00D", + "imageAtomicAnd(01N00D00E", "imageSize(00z", - "imageSize(01A", - "imageSize(01B", - "imageSize(01C", - "imageSize(01D", - "imageSize(01E", - "imageSize(01F", - "imageSize(01G", - "imageSize(01H", - "imageSize(01I", + "mod(10C10C", + "imageAtomicXor(01g00D00D", + "faceforward(00C00C00C", + "textureGrad(00a20B10B10B", + "dFdxCoarse(00B", + "imageAtomicMin(01a20D00D", + "texture(00J20B00B", + "refract(20B20B00B", + "ceil(30C", + "gl_MaxGeometryOutputComponents", + "noise1(30B", + "log2(30B", + "textureProjGrad(00d30B10B10B", + "mod(20C20C", + "fract(30C", + "texelFetch(00t00D00D", + "imageAtomicXor(01L00D00D", + "max(30E30E", + "gl_MaxFragmentAtomicCounterBuffers", + "gl_in", + "noise4(00B", + "distance(10C10C", + "textureProjLodOffset(00J30B00B20D", + "imageAtomicExchange(01O10D00B", + "imageAtomicMax(01H20D00E", + "imageAtomicMax(01H20D00D", + "imageStore(01h00D30D", + "imageAtomicExchange(01O10D00D", + "texelFetch(00c20D00D", + "sqrt(00B", + "sqrt(00C", + "textureProjLod(00R30B00B", + "noise3(10B", + "texelFetch(00q10D", + "imageAtomicAnd(01F20D00D", + "textureLod(00m20B00B", + "textureProjOffset(00m30B00D00B", + "textureProjGrad(00v30B10B10B", + "clamp(20D20D20D", + "imageAtomicMin(01P10D00E", + "imageAtomicAdd(01C20D00E", + "clamp(00C00C00C", + "imageAtomicXor(01N00D00D", + "imageAtomicXor(01N00D00E", + "texture(00x30B", + "max(10E00E", + "imageLoad(01c20D", + "textureGrad(00U20B10B10B", + "imageLoad(00z10D", + "clamp(30C00C00C", + "textureGatherOffsets(00a20B10Dx400D", + "sinh(20B", + "matrixCompMult(E0BE0B", + "fwidthFine(00B", + "gl_PerVertex", + "textureGradOffset(00m20B00B00B00D", + "imageAtomicMin(01K20D00E", + "textureQueryLevels(00p", + "gl_WorkGroupSize", + "asinh(30B", + "cross(20C20C", + "textureGather(00a20B", + "textureProjGradOffset(00O20B10B10B10D", + "pow(30B30B", + "imageAtomicCompSwap(01G20D00E00E", + "smoothstep(10B10B10B", + "textureProj(00O30B", + "textureQueryLod(00R10B", + "imageAtomicAdd(01R10D00D00D", + "imageAtomicAdd(01R10D00D00E", + "imageAtomicExchange(01E20D00D", + "imageAtomicMin(01Q10D00E", + "imageAtomicMin(01Q10D00D", + "imageAtomicExchange(01E20D00E", + "isnan(00B", + "isnan(00C", + "imulExtended(10D10D10D10D", + "textureProjGrad(00o10B00B00B", + "imageAtomicMax(01i00D00D", + "imageAtomicMax(01i00D00E", + "refract(10C10C00B", + "min(00E00E", + "imageStore(01T10D00D30E", + "texture2DProj(00I30B", + "textureGradOffset(00I10B10B10B10D", + "textureLodOffset(00J20B00B20D", + "notEqual(20B20B", + "atomicCompSwap(00D00D00D", + "", + "textureOffset(00i20B00D", + "dFdyFine(00B", + "textureLod(00a20B00B", + "textureProj(00N30B", + "refract(30C30C00B", + "equal(30D30D", + "imageStore(01D20D30D", + "packSnorm2x16(10B", + "floatBitsToUint(30B", + "textureOffset(00R10B10D", + "textureProjGrad(00q20B10B10B", + "textureProjGradOffset(00R20B10B10B10D", + "ldexp(30B30D", + "max(30B00B", + "atomicCounterOr(00G00E", + "imageAtomicMin(01i00D00E", + "step(30B30B", + "textureProj(00I30B00B", + "imageAtomicExchange(01D20D00E", + "textureOffset(00g00B00D00B", + "imageAtomicExchange(01D20D00B", + "imageAtomicMin(01g00D00E", + "imageAtomicMax(01c20D00D", + "abs(00D", + "abs(00C", + "abs(00B", + "textureLod(00R10B00B", + "dFdxCoarse(10B", + "texture1D(00g00B", + "frexp(10C10D", + "imageAtomicAdd(01g00D00E", + "texture2DLod(00I10B00B", + "textureProjGradOffset(00X20B10B10B10D", + "imageAtomicMax(01Z10D00D", + "gl_MaxComputeAtomicCounters", + "texture(00s30B", + "EndPrimitive(", + "step(00B30B", + "round(20B", + "equal(30E30E", + "imageAtomicCompSwap(01R10D00D00E00E", + "imageAtomicAdd(01M00D00D", + "step(00C20C", + "dot(00C00C", + "max(30C30C", + "atomicOr(00D00D", + "texture2DProj(00M20B", + "notEqual(10D10D", + "imageAtomicExchange(01Z10D00D", + "textureSize(00V", + "imageAtomicAnd(01h00D00D", + "min(20C00C", + "imageAtomicAdd(01G20D00E", + "imageAtomicAdd(01G20D00D", + "findLSB(30D", + "findLSB(30E", + "textureProj(00X20B00B", + "shadow2D(00d20B", + "textureGatherOffset(00U20B10D", + "imageAtomicExchange(01Z10D00E", + "faceforward(10B10B10B", + "imageAtomicAnd(01h00D00E", + "min(10D00D", + "imageAtomicCompSwap(01J20D00D00D", + "all(20F", "imageSize(01J", "imageSize(01K", - "imageSize(01X", - "imageSize(01Y", - "imageSize(01Z", - "imageSize(01d", - "imageSize(01e", - "imageSize(01f", + "textureOffset(00t00B00D00B", + "imageSize(01I", + "packHalf2x16(10B", + "textureProj(00I20B00B", "imageSize(01L", "imageSize(01M", - "imageSize(01N", - "imageSize(01a", - "imageSize(01b", - "imageSize(01c", - "imageSize(01O", - "imageSize(01P", - "imageSize(01Q", + "imageSize(01B", + "imageSize(01C", + "imageSize(01A", + "imageSize(01F", + "imageSize(01G", + "imageSize(01D", + "imageSize(01E", + "imageAtomicExchange(01L00D00B", + "imageAtomicExchange(01L00D00E", + "texelFetch(00X10D00D", + "notEqual(30F30F", "imageSize(01R", "imageSize(01S", + "imageSize(01P", + "imageSize(01Q", + "imageSize(01V", + "textureQueryLod(00g00B", "imageSize(01T", "imageSize(01U", - "imageSize(01V", - "imageSize(01W", - "imageSamples(01R", - "imageSamples(01S", - "imageSamples(01T", - "imageSamples(01U", - "imageSamples(01V", - "imageSamples(01W", - "imageStore(00z10D30B", - "imageStore(01A10D30D", - "imageStore(01B10D30E", - "imageStore(01C20D30B", - "imageStore(01D20D30D", - "imageStore(01E20D30E", - "imageStore(01F20D30B", - "imageStore(01G20D30D", - "imageStore(01H20D30E", - "imageStore(01I20D30B", - "imageStore(01J20D30D", - "imageStore(01K20D30E", - "imageStore(01X20D30B", - "imageStore(01Y20D30D", - "imageStore(01Z20D30E", - "imageStore(01d00D30B", - "imageStore(01e00D30D", - "imageStore(01f00D30E", - "imageStore(01L00D30B", - "imageStore(01M00D30D", - "imageStore(01N00D30E", - "imageStore(01O10D30B", - "imageStore(01P10D30D", - "imageStore(01Q10D30E", - "imageStore(01a10D30B", - "imageStore(01b10D30D", - "imageStore(01c10D30E", + "imageSize(01h", + "imageSize(01i", + "fract(20C", + "fract(20B", + "textureGatherOffset(00X10B10D", + "imageSize(01c", "imageStore(01R10D00D30B", - "imageStore(01S10D00D30D", - "imageStore(01T10D00D30E", - "imageStore(01U20D00D30B", - "imageStore(01V20D00D30D", - "imageStore(01W20D00D30E", - "imageLoad(00z10D", - "imageLoad(01A10D", - "imageLoad(01B10D", - "imageLoad(01C20D", - "imageLoad(01D20D", - "imageLoad(01E20D", - "imageLoad(01F20D", - "imageLoad(01G20D", - "imageLoad(01H20D", - "imageLoad(01I20D", - "imageLoad(01J20D", - "imageLoad(01K20D", - "imageLoad(01X20D", - "imageLoad(01Y20D", - "imageLoad(01Z20D", - "imageLoad(01d00D", - "imageLoad(01e00D", - "imageLoad(01f00D", - "imageLoad(01L00D", - "imageLoad(01M00D", - "imageLoad(01N00D", - "imageLoad(01O10D", - "imageLoad(01P10D", - "imageLoad(01Q10D", - "imageLoad(01a10D", - "imageLoad(01b10D", - "imageLoad(01c10D", - "imageLoad(01R10D00D", - "imageLoad(01S10D00D", - "imageLoad(01T10D00D", - "imageLoad(01U20D00D", - "imageLoad(01V20D00D", - "imageLoad(01W20D00D", - "imageAtomicAdd(00z10D00E", - "imageAtomicAdd(01A10D00E", - "imageAtomicAdd(01B10D00E", - "imageAtomicAdd(01C20D00E", - "imageAtomicAdd(01D20D00E", - "imageAtomicAdd(01E20D00E", - "imageAtomicAdd(01I20D00E", - "imageAtomicAdd(01J20D00E", - "imageAtomicAdd(01K20D00E", - "imageAtomicAdd(01d00D00E", - "imageAtomicAdd(01e00D00E", - "imageAtomicAdd(01f00D00E", - "imageAtomicAdd(01F20D00E", - "imageAtomicAdd(01G20D00E", - "imageAtomicAdd(01H20D00E", - "imageAtomicAdd(01X20D00E", - "imageAtomicAdd(01Y20D00E", - "imageAtomicAdd(01Z20D00E", - "imageAtomicAdd(01L00D00E", - "imageAtomicAdd(01M00D00E", - "imageAtomicAdd(01N00D00E", - "imageAtomicAdd(01O10D00E", - "imageAtomicAdd(01P10D00E", - "imageAtomicAdd(01Q10D00E", - "imageAtomicAdd(01a10D00E", - "imageAtomicAdd(01b10D00E", - "imageAtomicAdd(01c10D00E", - "imageAtomicAdd(01R10D00D00E", - "imageAtomicAdd(01S10D00D00E", - "imageAtomicAdd(01T10D00D00E", - "imageAtomicAdd(01U20D00D00E", - "imageAtomicAdd(01V20D00D00E", - "imageAtomicAdd(01W20D00D00E", - "imageAtomicAdd(00z10D00D", - "imageAtomicAdd(01A10D00D", - "imageAtomicAdd(01B10D00D", - "imageAtomicAdd(01C20D00D", - "imageAtomicAdd(01D20D00D", - "imageAtomicAdd(01E20D00D", - "imageAtomicAdd(01I20D00D", - "imageAtomicAdd(01J20D00D", - "imageAtomicAdd(01K20D00D", - "imageAtomicAdd(01d00D00D", - "imageAtomicAdd(01e00D00D", - "imageAtomicAdd(01f00D00D", - "imageAtomicAdd(01F20D00D", - "imageAtomicAdd(01G20D00D", - "imageAtomicAdd(01H20D00D", - "imageAtomicAdd(01X20D00D", - "imageAtomicAdd(01Y20D00D", - "imageAtomicAdd(01Z20D00D", - "imageAtomicAdd(01L00D00D", - "imageAtomicAdd(01M00D00D", - "imageAtomicAdd(01N00D00D", - "imageAtomicAdd(01O10D00D", - "imageAtomicAdd(01P10D00D", - "imageAtomicAdd(01Q10D00D", - "imageAtomicAdd(01a10D00D", - "imageAtomicAdd(01b10D00D", - "imageAtomicAdd(01c10D00D", - "imageAtomicAdd(01R10D00D00D", - "imageAtomicAdd(01S10D00D00D", - "imageAtomicAdd(01T10D00D00D", - "imageAtomicAdd(01U20D00D00D", - "imageAtomicAdd(01V20D00D00D", - "imageAtomicAdd(01W20D00D00D", - "imageAtomicMin(00z10D00E", - "imageAtomicMin(01A10D00E", - "imageAtomicMin(01B10D00E", - "imageAtomicMin(01C20D00E", - "imageAtomicMin(01D20D00E", - "imageAtomicMin(01E20D00E", - "imageAtomicMin(01I20D00E", - "imageAtomicMin(01J20D00E", - "imageAtomicMin(01K20D00E", - "imageAtomicMin(01d00D00E", - "imageAtomicMin(01e00D00E", - "imageAtomicMin(01f00D00E", - "imageAtomicMin(01F20D00E", - "imageAtomicMin(01G20D00E", - "imageAtomicMin(01H20D00E", - "imageAtomicMin(01X20D00E", - "imageAtomicMin(01Y20D00E", - "imageAtomicMin(01Z20D00E", - "imageAtomicMin(01L00D00E", - "imageAtomicMin(01M00D00E", - "imageAtomicMin(01N00D00E", - "imageAtomicMin(01O10D00E", - "imageAtomicMin(01P10D00E", - "imageAtomicMin(01Q10D00E", - "imageAtomicMin(01a10D00E", - "imageAtomicMin(01b10D00E", - "imageAtomicMin(01c10D00E", - "imageAtomicMin(01R10D00D00E", - "imageAtomicMin(01S10D00D00E", - "imageAtomicMin(01T10D00D00E", - "imageAtomicMin(01U20D00D00E", - "imageAtomicMin(01V20D00D00E", - "imageAtomicMin(01W20D00D00E", - "imageAtomicMin(00z10D00D", - "imageAtomicMin(01A10D00D", - "imageAtomicMin(01B10D00D", - "imageAtomicMin(01C20D00D", - "imageAtomicMin(01D20D00D", - "imageAtomicMin(01E20D00D", - "imageAtomicMin(01I20D00D", + "imageSize(01a", + "imageSize(01f", + "texture2DProjGradEXT(00I20B10B10B", + "imageSize(01d", + "textureLod(00S20B00B", + "step(30C30C", "imageAtomicMin(01J20D00D", - "imageAtomicMin(01K20D00D", - "imageAtomicMin(01d00D00D", - "imageAtomicMin(01e00D00D", - "imageAtomicMin(01f00D00D", - "imageAtomicMin(01F20D00D", - "imageAtomicMin(01G20D00D", - "imageAtomicMin(01H20D00D", - "imageAtomicMin(01X20D00D", - "imageAtomicMin(01Y20D00D", - "imageAtomicMin(01Z20D00D", - "imageAtomicMin(01L00D00D", - "imageAtomicMin(01M00D00D", - "imageAtomicMin(01N00D00D", - "imageAtomicMin(01O10D00D", - "imageAtomicMin(01P10D00D", - "imageAtomicMin(01Q10D00D", - "imageAtomicMin(01a10D00D", - "imageAtomicMin(01b10D00D", - "imageAtomicMin(01c10D00D", - "imageAtomicMin(01R10D00D00D", - "imageAtomicMin(01S10D00D00D", - "imageAtomicMin(01T10D00D00D", - "imageAtomicMin(01U20D00D00D", - "imageAtomicMin(01V20D00D00D", - "imageAtomicMin(01W20D00D00D", - "imageAtomicMax(00z10D00E", - "imageAtomicMax(01A10D00E", - "imageAtomicMax(01B10D00E", - "imageAtomicMax(01C20D00E", - "imageAtomicMax(01D20D00E", - "imageAtomicMax(01E20D00E", - "imageAtomicMax(01I20D00E", - "imageAtomicMax(01J20D00E", - "imageAtomicMax(01K20D00E", - "imageAtomicMax(01d00D00E", - "imageAtomicMax(01e00D00E", - "imageAtomicMax(01f00D00E", - "imageAtomicMax(01F20D00E", - "imageAtomicMax(01G20D00E", - "imageAtomicMax(01H20D00E", - "imageAtomicMax(01X20D00E", - "imageAtomicMax(01Y20D00E", - "imageAtomicMax(01Z20D00E", - "imageAtomicMax(01L00D00E", - "imageAtomicMax(01M00D00E", - "imageAtomicMax(01N00D00E", - "imageAtomicMax(01O10D00E", - "imageAtomicMax(01P10D00E", - "imageAtomicMax(01Q10D00E", - "imageAtomicMax(01a10D00E", - "imageAtomicMax(01b10D00E", - "imageAtomicMax(01c10D00E", - "imageAtomicMax(01R10D00D00E", - "imageAtomicMax(01S10D00D00E", - "imageAtomicMax(01T10D00D00E", - "imageAtomicMax(01U20D00D00E", - "imageAtomicMax(01V20D00D00E", - "imageAtomicMax(01W20D00D00E", - "imageAtomicMax(00z10D00D", - "imageAtomicMax(01A10D00D", - "imageAtomicMax(01B10D00D", - "imageAtomicMax(01C20D00D", - "imageAtomicMax(01D20D00D", - "imageAtomicMax(01E20D00D", - "imageAtomicMax(01I20D00D", - "imageAtomicMax(01J20D00D", - "imageAtomicMax(01K20D00D", - "imageAtomicMax(01d00D00D", - "imageAtomicMax(01e00D00D", - "imageAtomicMax(01f00D00D", - "imageAtomicMax(01F20D00D", - "imageAtomicMax(01G20D00D", - "imageAtomicMax(01H20D00D", - "imageAtomicMax(01X20D00D", - "imageAtomicMax(01Y20D00D", - "imageAtomicMax(01Z20D00D", - "imageAtomicMax(01L00D00D", - "imageAtomicMax(01M00D00D", - "imageAtomicMax(01N00D00D", - "imageAtomicMax(01O10D00D", - "imageAtomicMax(01P10D00D", - "imageAtomicMax(01Q10D00D", - "imageAtomicMax(01a10D00D", - "imageAtomicMax(01b10D00D", - "imageAtomicMax(01c10D00D", - "imageAtomicMax(01R10D00D00D", - "imageAtomicMax(01S10D00D00D", - "imageAtomicMax(01T10D00D00D", - "imageAtomicMax(01U20D00D00D", - "imageAtomicMax(01V20D00D00D", - "imageAtomicMax(01W20D00D00D", - "imageAtomicAnd(00z10D00E", - "imageAtomicAnd(01A10D00E", - "imageAtomicAnd(01B10D00E", - "imageAtomicAnd(01C20D00E", - "imageAtomicAnd(01D20D00E", - "imageAtomicAnd(01E20D00E", - "imageAtomicAnd(01I20D00E", - "imageAtomicAnd(01J20D00E", - "imageAtomicAnd(01K20D00E", - "imageAtomicAnd(01d00D00E", - "imageAtomicAnd(01e00D00E", - "imageAtomicAnd(01f00D00E", - "imageAtomicAnd(01F20D00E", - "imageAtomicAnd(01G20D00E", - "imageAtomicAnd(01H20D00E", - "imageAtomicAnd(01X20D00E", - "imageAtomicAnd(01Y20D00E", - "imageAtomicAnd(01Z20D00E", - "imageAtomicAnd(01L00D00E", - "imageAtomicAnd(01M00D00E", - "imageAtomicAnd(01N00D00E", - "imageAtomicAnd(01O10D00E", - "imageAtomicAnd(01P10D00E", - "imageAtomicAnd(01Q10D00E", - "imageAtomicAnd(01a10D00E", - "imageAtomicAnd(01b10D00E", - "imageAtomicAnd(01c10D00E", - "imageAtomicAnd(01R10D00D00E", - "imageAtomicAnd(01S10D00D00E", - "imageAtomicAnd(01T10D00D00E", - "imageAtomicAnd(01U20D00D00E", - "imageAtomicAnd(01V20D00D00E", - "imageAtomicAnd(01W20D00D00E", - "imageAtomicAnd(00z10D00D", - "imageAtomicAnd(01A10D00D", - "imageAtomicAnd(01B10D00D", - "imageAtomicAnd(01C20D00D", - "imageAtomicAnd(01D20D00D", - "imageAtomicAnd(01E20D00D", - "imageAtomicAnd(01I20D00D", - "imageAtomicAnd(01J20D00D", - "imageAtomicAnd(01K20D00D", - "imageAtomicAnd(01d00D00D", - "imageAtomicAnd(01e00D00D", - "imageAtomicAnd(01f00D00D", - "imageAtomicAnd(01F20D00D", - "imageAtomicAnd(01G20D00D", - "imageAtomicAnd(01H20D00D", - "imageAtomicAnd(01X20D00D", - "imageAtomicAnd(01Y20D00D", - "imageAtomicAnd(01Z20D00D", - "imageAtomicAnd(01L00D00D", - "imageAtomicAnd(01M00D00D", - "imageAtomicAnd(01N00D00D", - "imageAtomicAnd(01O10D00D", - "imageAtomicAnd(01P10D00D", - "imageAtomicAnd(01Q10D00D", - "imageAtomicAnd(01a10D00D", - "imageAtomicAnd(01b10D00D", - "imageAtomicAnd(01c10D00D", - "imageAtomicAnd(01R10D00D00D", - "imageAtomicAnd(01S10D00D00D", - "imageAtomicAnd(01T10D00D00D", - "imageAtomicAnd(01U20D00D00D", - "imageAtomicAnd(01V20D00D00D", - "imageAtomicAnd(01W20D00D00D", - "imageAtomicOr(00z10D00E", - "imageAtomicOr(01A10D00E", - "imageAtomicOr(01B10D00E", - "imageAtomicOr(01C20D00E", - "imageAtomicOr(01D20D00E", - "imageAtomicOr(01E20D00E", - "imageAtomicOr(01I20D00E", - "imageAtomicOr(01J20D00E", - "imageAtomicOr(01K20D00E", - "imageAtomicOr(01d00D00E", - "imageAtomicOr(01e00D00E", - "imageAtomicOr(01f00D00E", - "imageAtomicOr(01F20D00E", - "imageAtomicOr(01G20D00E", - "imageAtomicOr(01H20D00E", - "imageAtomicOr(01X20D00E", - "imageAtomicOr(01Y20D00E", - "imageAtomicOr(01Z20D00E", - "imageAtomicOr(01L00D00E", - "imageAtomicOr(01M00D00E", - "imageAtomicOr(01N00D00E", - "imageAtomicOr(01O10D00E", - "imageAtomicOr(01P10D00E", - "imageAtomicOr(01Q10D00E", - "imageAtomicOr(01a10D00E", - "imageAtomicOr(01b10D00E", - "imageAtomicOr(01c10D00E", - "imageAtomicOr(01R10D00D00E", - "imageAtomicOr(01S10D00D00E", - "imageAtomicOr(01T10D00D00E", - "imageAtomicOr(01U20D00D00E", - "imageAtomicOr(01V20D00D00E", - "imageAtomicOr(01W20D00D00E", - "imageAtomicOr(00z10D00D", - "imageAtomicOr(01A10D00D", - "imageAtomicOr(01B10D00D", - "imageAtomicOr(01C20D00D", - "imageAtomicOr(01D20D00D", - "imageAtomicOr(01E20D00D", - "imageAtomicOr(01I20D00D", - "imageAtomicOr(01J20D00D", - "imageAtomicOr(01K20D00D", - "imageAtomicOr(01d00D00D", - "imageAtomicOr(01e00D00D", - "imageAtomicOr(01f00D00D", - "imageAtomicOr(01F20D00D", - "imageAtomicOr(01G20D00D", - "imageAtomicOr(01H20D00D", - "imageAtomicOr(01X20D00D", - "imageAtomicOr(01Y20D00D", - "imageAtomicOr(01Z20D00D", - "imageAtomicOr(01L00D00D", - "imageAtomicOr(01M00D00D", - "imageAtomicOr(01N00D00D", - "imageAtomicOr(01O10D00D", - "imageAtomicOr(01P10D00D", - "imageAtomicOr(01Q10D00D", - "imageAtomicOr(01a10D00D", - "imageAtomicOr(01b10D00D", - "imageAtomicOr(01c10D00D", - "imageAtomicOr(01R10D00D00D", - "imageAtomicOr(01S10D00D00D", - "imageAtomicOr(01T10D00D00D", - "imageAtomicOr(01U20D00D00D", - "imageAtomicOr(01V20D00D00D", - "imageAtomicOr(01W20D00D00D", - "imageAtomicXor(00z10D00E", - "imageAtomicXor(01A10D00E", - "imageAtomicXor(01B10D00E", - "imageAtomicXor(01C20D00E", - "imageAtomicXor(01D20D00E", - "imageAtomicXor(01E20D00E", - "imageAtomicXor(01I20D00E", - "imageAtomicXor(01J20D00E", - "imageAtomicXor(01K20D00E", - "imageAtomicXor(01d00D00E", - "imageAtomicXor(01e00D00E", - "imageAtomicXor(01f00D00E", - "imageAtomicXor(01F20D00E", - "imageAtomicXor(01G20D00E", - "imageAtomicXor(01H20D00E", - "imageAtomicXor(01X20D00E", - "imageAtomicXor(01Y20D00E", - "imageAtomicXor(01Z20D00E", - "imageAtomicXor(01L00D00E", - "imageAtomicXor(01M00D00E", - "imageAtomicXor(01N00D00E", - "imageAtomicXor(01O10D00E", - "imageAtomicXor(01P10D00E", - "imageAtomicXor(01Q10D00E", - "imageAtomicXor(01a10D00E", - "imageAtomicXor(01b10D00E", - "imageAtomicXor(01c10D00E", - "imageAtomicXor(01R10D00D00E", - "imageAtomicXor(01S10D00D00E", - "imageAtomicXor(01T10D00D00E", - "imageAtomicXor(01U20D00D00E", - "imageAtomicXor(01V20D00D00E", - "imageAtomicXor(01W20D00D00E", - "imageAtomicXor(00z10D00D", - "imageAtomicXor(01A10D00D", - "imageAtomicXor(01B10D00D", - "imageAtomicXor(01C20D00D", - "imageAtomicXor(01D20D00D", - "imageAtomicXor(01E20D00D", - "imageAtomicXor(01I20D00D", - "imageAtomicXor(01J20D00D", - "imageAtomicXor(01K20D00D", - "imageAtomicXor(01d00D00D", - "imageAtomicXor(01e00D00D", - "imageAtomicXor(01f00D00D", - "imageAtomicXor(01F20D00D", - "imageAtomicXor(01G20D00D", - "imageAtomicXor(01H20D00D", - "imageAtomicXor(01X20D00D", - "imageAtomicXor(01Y20D00D", - "imageAtomicXor(01Z20D00D", - "imageAtomicXor(01L00D00D", - "imageAtomicXor(01M00D00D", - "imageAtomicXor(01N00D00D", - "imageAtomicXor(01O10D00D", - "imageAtomicXor(01P10D00D", - "imageAtomicXor(01Q10D00D", - "imageAtomicXor(01a10D00D", - "imageAtomicXor(01b10D00D", - "imageAtomicXor(01c10D00D", - "imageAtomicXor(01R10D00D00D", - "imageAtomicXor(01S10D00D00D", - "imageAtomicXor(01T10D00D00D", - "imageAtomicXor(01U20D00D00D", - "imageAtomicXor(01V20D00D00D", - "imageAtomicXor(01W20D00D00D", - "imageAtomicExchange(00z10D00E", - "imageAtomicExchange(01A10D00E", - "imageAtomicExchange(01B10D00E", - "imageAtomicExchange(01C20D00E", - "imageAtomicExchange(01D20D00E", - "imageAtomicExchange(01E20D00E", - "imageAtomicExchange(01I20D00E", - "imageAtomicExchange(01J20D00E", - "imageAtomicExchange(01K20D00E", - "imageAtomicExchange(01d00D00E", - "imageAtomicExchange(01e00D00E", - "imageAtomicExchange(01f00D00E", - "imageAtomicExchange(01F20D00E", - "imageAtomicExchange(01G20D00E", - "imageAtomicExchange(01H20D00E", - "imageAtomicExchange(01X20D00E", - "imageAtomicExchange(01Y20D00E", - "imageAtomicExchange(01Z20D00E", - "imageAtomicExchange(01L00D00E", - "imageAtomicExchange(01M00D00E", - "imageAtomicExchange(01N00D00E", - "imageAtomicExchange(01O10D00E", - "imageAtomicExchange(01P10D00E", - "imageAtomicExchange(01Q10D00E", - "imageAtomicExchange(01a10D00E", - "imageAtomicExchange(01b10D00E", - "imageAtomicExchange(01c10D00E", - "imageAtomicExchange(01R10D00D00E", - "imageAtomicExchange(01S10D00D00E", - "imageAtomicExchange(01T10D00D00E", - "imageAtomicExchange(01U20D00D00E", - "imageAtomicExchange(01V20D00D00E", - "imageAtomicExchange(01W20D00D00E", - "imageAtomicExchange(00z10D00D", - "imageAtomicExchange(01A10D00D", - "imageAtomicExchange(01B10D00D", - "imageAtomicExchange(01C20D00D", - "imageAtomicExchange(01D20D00D", - "imageAtomicExchange(01E20D00D", - "imageAtomicExchange(01I20D00D", - "imageAtomicExchange(01J20D00D", - "imageAtomicExchange(01K20D00D", - "imageAtomicExchange(01d00D00D", - "imageAtomicExchange(01e00D00D", - "imageAtomicExchange(01f00D00D", - "imageAtomicExchange(01F20D00D", - "imageAtomicExchange(01G20D00D", - "imageAtomicExchange(01H20D00D", - "imageAtomicExchange(01X20D00D", - "imageAtomicExchange(01Y20D00D", - "imageAtomicExchange(01Z20D00D", - "imageAtomicExchange(01L00D00D", - "imageAtomicExchange(01M00D00D", - "imageAtomicExchange(01N00D00D", - "imageAtomicExchange(01O10D00D", - "imageAtomicExchange(01P10D00D", - "imageAtomicExchange(01Q10D00D", - "imageAtomicExchange(01a10D00D", - "imageAtomicExchange(01b10D00D", - "imageAtomicExchange(01c10D00D", - "imageAtomicExchange(01R10D00D00D", - "imageAtomicExchange(01S10D00D00D", - "imageAtomicExchange(01T10D00D00D", - "imageAtomicExchange(01U20D00D00D", - "imageAtomicExchange(01V20D00D00D", - "imageAtomicExchange(01W20D00D00D", - "imageAtomicExchange(00z10D00B", - "imageAtomicExchange(01A10D00B", - "imageAtomicExchange(01B10D00B", - "imageAtomicExchange(01C20D00B", - "imageAtomicExchange(01D20D00B", - "imageAtomicExchange(01E20D00B", - "imageAtomicExchange(01I20D00B", - "imageAtomicExchange(01J20D00B", - "imageAtomicExchange(01K20D00B", - "imageAtomicExchange(01d00D00B", - "imageAtomicExchange(01e00D00B", - "imageAtomicExchange(01f00D00B", - "imageAtomicExchange(01F20D00B", - "imageAtomicExchange(01G20D00B", - "imageAtomicExchange(01H20D00B", - "imageAtomicExchange(01X20D00B", - "imageAtomicExchange(01Y20D00B", - "imageAtomicExchange(01Z20D00B", - "imageAtomicExchange(01L00D00B", - "imageAtomicExchange(01M00D00B", - "imageAtomicExchange(01N00D00B", - "imageAtomicExchange(01O10D00B", - "imageAtomicExchange(01P10D00B", - "imageAtomicExchange(01Q10D00B", - "imageAtomicExchange(01a10D00B", - "imageAtomicExchange(01b10D00B", - "imageAtomicExchange(01c10D00B", - "imageAtomicExchange(01R10D00D00B", - "imageAtomicExchange(01S10D00D00B", - "imageAtomicExchange(01T10D00D00B", - "imageAtomicExchange(01U20D00D00B", - "imageAtomicExchange(01V20D00D00B", - "imageAtomicExchange(01W20D00D00B", - "imageAtomicCompSwap(00z10D00E00E", - "imageAtomicCompSwap(01A10D00E00E", - "imageAtomicCompSwap(01B10D00E00E", - "imageAtomicCompSwap(01C20D00E00E", - "imageAtomicCompSwap(01D20D00E00E", - "imageAtomicCompSwap(01E20D00E00E", - "imageAtomicCompSwap(01I20D00E00E", - "imageAtomicCompSwap(01J20D00E00E", - "imageAtomicCompSwap(01K20D00E00E", - "imageAtomicCompSwap(01d00D00E00E", - "imageAtomicCompSwap(01e00D00E00E", - "imageAtomicCompSwap(01f00D00E00E", - "imageAtomicCompSwap(01F20D00E00E", - "imageAtomicCompSwap(01G20D00E00E", - "imageAtomicCompSwap(01H20D00E00E", - "imageAtomicCompSwap(01X20D00E00E", - "imageAtomicCompSwap(01Y20D00E00E", - "imageAtomicCompSwap(01Z20D00E00E", - "imageAtomicCompSwap(01L00D00E00E", - "imageAtomicCompSwap(01M00D00E00E", - "imageAtomicCompSwap(01N00D00E00E", - "imageAtomicCompSwap(01O10D00E00E", - "imageAtomicCompSwap(01P10D00E00E", - "imageAtomicCompSwap(01Q10D00E00E", - "imageAtomicCompSwap(01a10D00E00E", - "imageAtomicCompSwap(01b10D00E00E", - "imageAtomicCompSwap(01c10D00E00E", - "imageAtomicCompSwap(01R10D00D00E00E", - "imageAtomicCompSwap(01S10D00D00E00E", - "imageAtomicCompSwap(01T10D00D00E00E", - "imageAtomicCompSwap(01U20D00D00E00E", - "imageAtomicCompSwap(01V20D00D00E00E", - "imageAtomicCompSwap(01W20D00D00E00E", - "imageAtomicCompSwap(00z10D00D00D", - "imageAtomicCompSwap(01A10D00D00D", - "imageAtomicCompSwap(01B10D00D00D", - "imageAtomicCompSwap(01C20D00D00D", - "imageAtomicCompSwap(01D20D00D00D", - "imageAtomicCompSwap(01E20D00D00D", - "imageAtomicCompSwap(01I20D00D00D", - "imageAtomicCompSwap(01J20D00D00D", - "imageAtomicCompSwap(01K20D00D00D", - "imageAtomicCompSwap(01d00D00D00D", - "imageAtomicCompSwap(01e00D00D00D", - "imageAtomicCompSwap(01f00D00D00D", - "imageAtomicCompSwap(01F20D00D00D", - "imageAtomicCompSwap(01G20D00D00D", - "imageAtomicCompSwap(01H20D00D00D", - "imageAtomicCompSwap(01X20D00D00D", - "imageAtomicCompSwap(01Y20D00D00D", - "imageAtomicCompSwap(01Z20D00D00D", - "imageAtomicCompSwap(01L00D00D00D", - "imageAtomicCompSwap(01M00D00D00D", - "imageAtomicCompSwap(01N00D00D00D", - "imageAtomicCompSwap(01O10D00D00D", - "imageAtomicCompSwap(01P10D00D00D", - "imageAtomicCompSwap(01Q10D00D00D", - "imageAtomicCompSwap(01a10D00D00D", - "imageAtomicCompSwap(01b10D00D00D", - "imageAtomicCompSwap(01c10D00D00D", - "imageAtomicCompSwap(01R10D00D00D00D", - "imageAtomicCompSwap(01S10D00D00D00D", - "imageAtomicCompSwap(01T10D00D00D00D", - "imageAtomicCompSwap(01U20D00D00D00D", - "imageAtomicCompSwap(01V20D00D00D00D", - "imageAtomicCompSwap(01W20D00D00D00D", - "noise1(00B", - "noise1(10B", - "noise1(20B", - "noise1(30B", - "noise2(00B", - "noise2(10B", - "noise2(20B", - "noise2(30B", - "noise3(00B", - "noise3(10B", - "noise3(20B", - "noise3(30B", - "noise4(00B", - "noise4(10B", - "noise4(20B", - "noise4(30B", - "memoryBarrier(", - "memoryBarrierAtomicCounter(", - "memoryBarrierBuffer(", - "memoryBarrierImage(", - "barrier(", - "memoryBarrierShared(", - "groupMemoryBarrier(", - "EmitVertex(", - "EndPrimitive(", - "EmitStreamVertex(00D", - "EndStreamPrimitive(00D", - "subpassLoad(01g", - "subpassLoad(01h", - "subpassLoad(01i", - "subpassLoad(01j00D", - "subpassLoad(01k00D", - "subpassLoad(01l00D", - "anyInvocation(00F", - "allInvocations(00F", - "allInvocationsEqual(00F", - "textureVideoWEBGL(00y10B", - "texture(00y10B", - "gl_DepthRangeParameters", - "gl_DepthRange", - "gl_NumSamples", - "gl_MaxVertexAttribs", - "gl_MaxVertexUniformVectors", - "gl_MaxVertexTextureImageUnits", - "gl_MaxCombinedTextureImageUnits", - "gl_MaxTextureImageUnits", - "gl_MaxFragmentUniformVectors", - "gl_MaxVaryingVectors", - "gl_MaxDrawBuffers", - "gl_MaxDualSourceDrawBuffersEXT", - "gl_MaxVertexOutputVectors", - "gl_MaxFragmentInputVectors", - "gl_MinProgramTexelOffset", - "gl_MaxProgramTexelOffset", - "gl_MaxImageUnits", - "gl_MaxVertexImageUniforms", - "gl_MaxFragmentImageUniforms", - "gl_MaxComputeImageUniforms", - "gl_MaxCombinedImageUniforms", - "gl_MaxCombinedShaderOutputResources", - "gl_MaxComputeWorkGroupCount", - "gl_MaxComputeWorkGroupSize", - "gl_MaxComputeUniformComponents", - "gl_MaxComputeTextureImageUnits", - "gl_MaxComputeAtomicCounters", - "gl_MaxComputeAtomicCounterBuffers", - "gl_MaxVertexAtomicCounters", - "gl_MaxFragmentAtomicCounters", - "gl_MaxCombinedAtomicCounters", - "gl_MaxAtomicCounterBindings", - "gl_MaxVertexAtomicCounterBuffers", - "gl_MaxFragmentAtomicCounterBuffers", - "gl_MaxCombinedAtomicCounterBuffers", - "gl_MaxAtomicCounterBufferSize", - "gl_MaxGeometryInputComponents", - "gl_MaxGeometryOutputComponents", - "gl_MaxGeometryImageUniforms", - "gl_MaxGeometryTextureImageUnits", - "gl_MaxGeometryOutputVertices", - "gl_MaxGeometryTotalOutputComponents", - "gl_MaxGeometryUniformComponents", - "gl_MaxGeometryAtomicCounters", - "gl_MaxGeometryAtomicCounterBuffers", - "gl_MaxTessControlInputComponents", - "gl_MaxTessControlOutputComponents", - "gl_MaxTessControlTextureImageUnits", - "gl_MaxTessControlUniformComponents", - "gl_MaxTessControlTotalOutputComponents", - "gl_MaxTessControlImageUniforms", - "gl_MaxTessControlAtomicCounters", - "gl_MaxTessControlAtomicCounterBuffers", - "gl_MaxTessPatchComponents", - "gl_MaxPatchVertices", - "gl_MaxTessGenLevel", - "gl_MaxTessEvaluationInputComponents", - "gl_MaxTessEvaluationOutputComponents", - "gl_MaxTessEvaluationTextureImageUnits", - "gl_MaxTessEvaluationUniformComponents", - "gl_MaxTessEvaluationImageUniforms", - "gl_MaxTessEvaluationAtomicCounters", - "gl_MaxTessEvaluationAtomicCounterBuffers", - "gl_MaxSamples", - "gl_MaxClipDistances", - "gl_MaxCullDistances", - "gl_MaxCombinedClipAndCullDistances", - "gl_FragCoord", - "gl_FrontFacing", - "gl_PointCoord", - "gl_FragColor", - "gl_FragData", "gl_FragDepth", - "gl_HelperInvocation", - "gl_SecondaryFragColorEXT", - "gl_SecondaryFragDataEXT", - "gl_FragDepthEXT", - "gl_LastFragData", - "gl_LastFragColor", - "gl_LastFragColorARM", - "gl_PrimitiveID", - "gl_Layer", - "gl_SampleID", - "gl_SamplePosition", - "gl_SampleMaskIn", - "gl_SampleMask", - "gl_CullDistance", - "gl_ClipDistance", - "gl_Position", - "gl_PointSize", - "gl_InstanceID", - "", - "gl_VertexID", - "", - "", - "gl_DrawID", - "gl_BaseVertex", - "gl_BaseInstance", - "angle_BaseVertex", + "textureGather(00x30B", + "mix(30B30B30F", + "mix(30B30B30B", + "textureGather(00Z20B00D", + "imageAtomicAnd(01Z10D00E", + "imageAtomicAnd(01Z10D00D", + "imageStore(01E20D30E", + "sqrt(30C", + "sqrt(30B", + "exp(00B", + "max(30D30D", + "gl_MaxGeometryTextureImageUnits", + "interpolateAtCentroid(10B", + "texture(00q10B", + "textureSize(00M00D", + "textureSamples(00c", "angle_BaseInstance", - "gl_NumWorkGroups", - "gl_WorkGroupSize", - "gl_WorkGroupID", - "gl_LocalInvocationID", + "mix(10F10F10F", + "textureGradOffset(00U20B10B10B10D", + "gl_Position", + "textureGradOffset(00O10B10B10B10D", + "textureProj(00M30B", + "textureGradOffset(00L20B10B10B10D", + "imageAtomicExchange(01V20D00D00D", + "imageAtomicExchange(01J20D00B", + "imageAtomicExchange(01J20D00E", + "imageAtomicExchange(01J20D00D", + "textureQueryLod(00l20B", + "imageAtomicOr(01M00D00E", + "dot(20B20B", + "textureProjGrad(00v20B10B10B", + "textureProjLod(00S30B00B", + "textureProjGrad(00R20B10B10B", + "imageAtomicAnd(01i00D00E", + "imageAtomicAnd(01i00D00D", + "imageAtomicMax(00z10D00E", + "imageAtomicMax(00z10D00D", + "normalize(30C", + "normalize(30B", + "textureOffset(00O10B10D", + "textureProjGrad(00I20B10B10B", + "textureGather(00e20B", + "imageAtomicMax(01V20D00D00E", + "texture2D(00M10B", + "imageAtomicAdd(01a20D00E", + "fwidthFine(30B", + "textureGather(00K20B00D", + "textureCubeLodEXT(00K20B00B", + "textureGather(00T20B00D", + "textureProj(00N20B", + "textureQueryLod(00I10B", + "imageAtomicCompSwap(01A10D00E00E", + "dFdyFine(10B", + "modf(10C10C", + "imageAtomicMax(01E20D00D", + "imageAtomicMax(01E20D00E", + "textureProjLodOffset(00X30B00B10D", + "imageStore(01W20D00D30E", + "textureProjLod(00m30B00B", + "textureProjOffset(00g30B00D00B", + "texelFetchOffset(00U20D00D10D", + "imageAtomicCompSwap(00z10D00E00E", + "imageAtomicMin(01D20D00E", + "textureProjGradOffset(00q30B10B10B10D", + "textureGradOffset(00d20B10B10B10D", + "fwidthCoarse(20B", + "imageAtomicCompSwap(01N00D00E00E", + "textureProjOffset(00d30B10D", + "imageAtomicOr(01T10D00D00E", + "imageAtomicOr(01T10D00D00D", + "equal(20F20F", + "mix(20C20C00C", + "usubBorrow(10E10E10E", + "equal(10B10B", + "textureLodOffset(00U20B00B10D", + "isnan(10C", + "isnan(10B", + "imageAtomicMin(01H20D00D", + "imageAtomicXor(01A10D00D", + "imageAtomicXor(01A10D00E", + "imageAtomicCompSwap(01C20D00D00D", + "textureGrad(00R00B00B00B", + "atomicMin(00D00D", + "textureSize(00X00D", + "greaterThan(10B10B", + "mix(00C00C00C", + "noise1(20B", + "clamp(30D00D00D", + "mix(20E20E20F", + "floatBitsToInt(10B", + "textureProjOffset(00R30B10D00B", + "textureGather(00U20B00D", + "floatBitsToInt(00B", + "imageLoad(01a20D", + "floatBitsToUint(00B", + "min(30C30C", + "textureSamples(00Q", + "textureGradOffset(00i20B00B00B00D", + "imageAtomicXor(00z10D00D", + "texture2DRectProj(00O20B", + "modf(20C20C", + "tan(20B", + "floor(00C", + "floor(00B", + "imageAtomicMax(01O10D00E", + "imageAtomicMax(01O10D00D", + "mod(30C30C", + "gl_DrawID", + "textureOffset(00t00B00D", + "texture3DLod(00J20B00B", + "imageLoad(01Q10D", + "texture(00R10B00B", + "imageStore(01Y10D30D", + "modf(00B00B", + "notEqual(20D20D", + "imageAtomicExchange(01R10D00D00E", + "imageAtomicExchange(01R10D00D00D", + "ldexp(10C10D", + "imageAtomicExchange(01F20D00E", + "determinant(A0B", + "imageAtomicExchange(01i00D00D", + "textureLodOffset(00i20B00B00D", + "imageAtomicExchange(01i00D00B", + "shadow1DLod(00m20B00B", + "imageAtomicOr(01I20D00E", + "distance(00C00C", + "isnan(30B", + "textureProjOffset(00o30B00D", + "lessThanEqual(30D30D", + "textureProj(00M30B00B", + "texture2DProj(00M30B", + "atomicCounterMax(00G00E", + "atomicCounterExchange(00G00E", + "textureGrad(00I10B10B10B", + "step(00B20B", + "texture2DProjLod(00I20B00B", + "step(00C30C", + "yuv_2_rgb(20B00H", + "texelFetch(00b10D00D", + "textureProj(00J30B00B", + "textureGather(00R10B", + "imageAtomicCompSwap(01c20D00D00D", + "imageAtomicOr(01V20D00D00D", + "imageAtomicOr(01V20D00D00E", + "imageAtomicExchange(01P10D00D", + "imageLoad(01L00D", + "min(10D10D", + "all(30F", + "imageAtomicExchange(01P10D00E", + "imageAtomicAnd(01S10D00D00E", + "imageAtomicAnd(01S10D00D00D", + "angle_BaseVertex", + "bitfieldReverse(20D", + "bitfieldReverse(20E", + "imageAtomicExchange(01I20D00D", + "imageAtomicExchange(01I20D00E", + "imageAtomicExchange(01I20D00B", + "imageAtomicExchange(01c20D00E", + "gl_MaxGeometryInputComponents", + "textureGatherOffsets(00X10B10Dx4", + "texture(00u20B", + "textureGather(00v20B", + "fract(10B", + "fract(10C", + "textureGatherOffset(00O10B10D00D", + "textureQueryLod(00K20B", + "textureLodOffset(00I10B00B10D", + "imageAtomicCompSwap(01S10D00D00E00E", + "imageAtomicXor(01c20D00E", + "imageAtomicXor(01c20D00D", + "textureOffset(00U20B10D", + "min(30B00B", + "atomicAnd(00D00D", + "exp(10B", + "bitCount(30E", + "bitCount(30D", + "unpackUnorm2x16(00E", + "sqrt(20B", + "sqrt(20C", + "textureGrad(00L20B10B10B", + "interpolateAtCentroid(00B", + "textureSize(00o00D", + "gl_MaxImageUnits", + "textureProjGrad(00o30B00B00B", + "imageAtomicOr(01Q10D00D", + "packUnorm4x8(30B", + "imageAtomicMax(01Q10D00E", + "texelFetch(00P10D00D", + "imageAtomicCompSwap(01i00D00D00D", + "textureGatherOffsets(00d10B00B10Dx4", + "texture(00O10B", + "imageAtomicMin(01M00D00D", + "imageAtomicMin(01M00D00E", + "texture(00e30B00B", + "imageAtomicMin(01O10D00E", + "imageAtomicMin(01O10D00D", + "gl_FragCoord", + "imageAtomicMax(01Q10D00D", + "imageAtomicMax(01X10D00D", + "textureGrad(00u10B00B00B", + "fwidthFine(20B", + "textureQueryLod(00o00B", + "imageAtomicAnd(01E20D00E", + "imageAtomicAnd(01E20D00D", + "normalize(00B", + "normalize(00C", + "clamp(10C00C00C", + "imageAtomicOr(01A10D00E", + "imageAtomicOr(01A10D00D", + "imageAtomicCompSwap(01Q10D00E00E", + "atomicMax(00D00D", + "textureProjGrad(00m30B00B00B", + "imageAtomicAnd(01R10D00D00E", + "floatBitsToUint(10B", + "textureLod(00J20B00B", + "textureGrad(00O10B10B10B", + "dFdyFine(20B", + "imageLoad(01W20D00D", + "textureSize(00I00D", + "gl_MaxComputeWorkGroupSize", + "texelFetchOffset(00R10D00D10D", + "dFdxFine(10B", + "imageAtomicExchange(01D20D00D", + "textureLodOffset(00X10B00B10D", + "texture(00T20B00B", + "log(30B", + "notEqual(20F20F", + "allInvocationsEqual(00F", + "imageAtomicMax(01K20D00D", + "imageAtomicMax(01K20D00E", + "dFdyCoarse(30B", + "textureProjLod(00R20B00B", + "notEqual(30D30D", + "fwidthCoarse(30B", + "textureProjOffset(00I20B10D", + "textureQueryLevels(00l", + "textureQueryLevels(00m", + "textureQueryLevels(00o", + "textureQueryLevels(00h", + "textureQueryLevels(00i", + "textureQueryLevels(00k", + "textureQueryLevels(00d", + "textureQueryLevels(00e", + "textureQueryLevels(00f", + "textureQueryLevels(00g", + "gl_MaxDrawBuffers", + "textureQueryLevels(00a", + "atomicCounterMin(00G00E", + "textureGradOffset(00u10B00B00B00D", + "gl_MaxCombinedTextureImageUnits", + "textureQueryLevels(00x", + "textureQueryLevels(00t", + "textureQueryLevels(00u", + "imageAtomicMin(01K20D00D", + "imulExtended(20D20D20D20D", + "any(30F", + "distance(30B30B", + "textureQueryLevels(00s", + "textureQueryLevels(00L", + "textureQueryLevels(00I", + "textureQueryLevels(00J", + "textureQueryLevels(00K", + "imageAtomicExchange(01L00D00D", + "texture3D(00J20B00B", + "texture1DLod(00g00B00B", + "textureQueryLevels(00X", + "textureQueryLevels(00Y", + "textureQueryLevels(00Z", + "dot(30B30B", + "textureQueryLevels(00T", + "textureQueryLevels(00U", + "textureQueryLevels(00R", + "textureQueryLevels(00S", + "gl_MaxTextureImageUnits", + "usubBorrow(20E20E20E", + "textureProj(00t30B00B", + "shadow1DProj(00m30B00B", + "clamp(30B00B00B", + "textureGatherOffsets(00O10B10Dx4", + "texture2DRectProj(00O30B", + "max(10D00D", + "textureGradOffset(00n20B10B10B10D", + "clamp(00D00D00D", + "floor(30B", + "floor(30C", + "imageStore(01P10D30D", + "textureProjGradOffset(00S30B20B20B20D", + "reflect(30C30C", + "gl_PointCoord", + "imageAtomicOr(01D20D00E", + "textureGatherOffset(00v10B10D", + "imageAtomicOr(01D20D00D", + "imageStore(01F20D30B", + "packDouble2x32(10E", + "clamp(10B00B00B", + "texelFetchOffset(00S20D00D20D", + "lessThan(10D10D", + "textureSize(00g00D", + "textureGatherOffset(00U20B10D00D", + "textureGatherOffset(00q10B10D00D", + "textureGather(00I10B00D", + "texture1DProjLod(00g30B00B", + "texelFetch(00V10D00D", + "imageAtomicExchange(01h00D00E", + "imageAtomicExchange(01h00D00D", + "atan(30B30B", + "imageAtomicExchange(01h00D00B", + "imageAtomicMax(01a20D00D", + "imageAtomicMax(01a20D00E", + "textureProjLod(00g30B00B", + "max(00B00B", + "imageAtomicOr(01J20D00E", + "imageAtomicOr(01J20D00D", + "imageAtomicMax(01F20D00E", + "imageAtomicMax(01F20D00D", + "exp2(20B", + "smoothstep(30C30C30C", + "imageAtomicExchange(00z10D00B", + "imageAtomicExchange(00z10D00E", + "imageAtomicExchange(00z10D00D", + "textureProj(00q20B", + "textureProjLod(00t10B00B", + "imageAtomicMin(01c20D00D", + "imageAtomicMin(01c20D00E", + "textureSize(00k00D", + "reflect(20B20B", + "imageAtomicXor(01V20D00D00E", + "imageAtomicXor(01V20D00D00D", + "equal(10F10F", + "acos(30B", + "textureVideoWEBGL(00y10B", + "dFdx(10B", + "bitfieldReverse(30E", + "bitfieldReverse(30D", + "imageAtomicOr(01Z10D00D", + "imageAtomicOr(01Z10D00E", + "texture1DProj(00g30B", + "textureGatherOffsets(00v10B10Dx400D", + "fract(00C", + "fract(00B", + "min(30E00E", + "gl_MinProgramTexelOffset", + "imageAtomicOr(01Q10D00E", + "interpolateAtOffset(20B10B", + "imageAtomicOr(01c20D00D", + "imageAtomicOr(01c20D00E", + "reflect(30B30B", + "interpolateAtCentroid(30B", + "textureGather(00s30B", + "imageAtomicXor(01X10D00E", + "imageAtomicXor(01X10D00D", + "memoryBarrier(", + "texture1D(00g00B00B", + "pow(00B00B", + "mod(00B00B", + "faceforward(30C30C30C", + "imageAtomicExchange(01K20D00D", + "roundEven(10B", + "roundEven(10C", + "atanh(30B", + "textureLod(00K20B00B", + "bitCount(20D", + "bitCount(20E", + "texelFetch(00L20D00D", + "dFdxFine(00B", + "imageAtomicAnd(01K20D00E", + "distance(20B20B", + "textureGradOffset(00q10B10B10B10D", + "uaddCarry(30E30E30E", + "textureSize(00U00D", + "textureProjOffset(00o10B00D00B", + "gl_MaxCombinedImageUniforms", + "atomicCounterXor(00G00E", + "imageAtomicOr(01g00D00D", + "imageAtomicOr(01g00D00E", "gl_GlobalInvocationID", "gl_LocalInvocationIndex", + "gl_VertexID", + "imageAtomicMin(01L00D00E", + "smoothstep(20C20C20C", + "imageAtomicCompSwap(01U20D00D00D00D", + "atomicOr(00E00E", + "mix(10B10B10F", + "reflect(10C10C", + "mix(10B10B10B", + "textureProj(00Y30B00B", + "imageAtomicMax(01I20D00D", + "imageAtomicMax(01I20D00E", + "frexp(20B20D", + "textureGatherOffset(00I10B10D00D", + "notEqual(20E20E", + "textureLodOffset(00d20B00B10D", + "inverse(A0B", + "textureProjGrad(00X20B10B10B", + "textureSize(00Y00D", + "atan(20B20B", + "usubBorrow(00E00E00E", + "imageAtomicXor(01M00D00E", + "textureGatherOffsets(00L20B10Dx400D", + "dFdyFine(30B", + "textureQueryLod(00s20B", + "texture(00v10B", + "textureGatherOffsets(00U20B10Dx4", + "subpassLoad(01n00D", + "imageAtomicCompSwap(01c20D00E00E", + "textureProjLodOffset(00g10B00B00D", + "step(10C10C", + "textureQueryLod(00x20B", + "fma(10B10B10B", + "smoothstep(00B00B10B", + "imageAtomicCompSwap(01a20D00D00D", + "imageSize(01N", + "textureLod(00u10B00B", + "textureProjGradOffset(00m30B00B00B00D", + "fwidthCoarse(00B", + "dFdyCoarse(20B", + "textureProjGradOffset(00o30B00B00B00D", + "imageStore(01b20D30D", + "textureProj(00g30B00B", + "bitfieldExtract(00E00D00D", + "distance(30C30C", + "any(20F", + "gl_HelperInvocation", + "textureLod(00g00B00B", + "sin(10B", + "gl_MaxClipDistances", + "textureSize(00N00D", + "mod(20B20B", + "imageAtomicOr(01h00D00E", + "imageAtomicOr(01h00D00D", + "textureGrad(00k30B20B20B", + "textureProjOffset(00o10B00D", + "imageAtomicMin(01A10D00E", + "imageAtomicMin(01A10D00D", + "textureGradOffset(00f30B10B10B10D", + "max(20D20D", + "max(10D10D", + "textureGradOffset(00t00B00B00B00D", + "refract(30B30B00B", + "floor(20C", + "floor(20B", + "texelFetchOffset(00t00D00D00D", + "imageAtomicOr(01a20D00E", + "matrixCompMult(F0BF0B", + "umulExtended(10E10E10E10E", + "texture(00d20B00B", + "gl_MaxCombinedAtomicCounterBuffers", + "umulExtended(30E30E30E30E", + "textureGradOffset(00Y20B20B20B20D", + "textureGatherOffset(00a20B10D", + "textureGrad(00f30B10B10B", + "atomicCounterSubtract(00G00E", + "imageAtomicXor(01C20D00E", + "modf(20B20B", + "imageAtomicAnd(01Y10D00D", + "imageAtomicAnd(01Y10D00E", + "imageAtomicAdd(01i00D00E", + "imageAtomicAdd(01i00D00D", + "noise1(00B", + "imageLoad(01M00D", + "imageAtomicCompSwap(01L00D00E00E", + "texture(00y10B", + "length(30C", + "length(30B", + "imageStore(01B10D30E", + "mod(30B30B", + "mix(10C10C10F", + "imageAtomicMin(00z10D00E", + "imageAtomicMin(00z10D00D", + "imageStore(01I20D30B", + "exp2(30B", + "allInvocations(00F", + "max(20C00C", + "texture3DProj(00J30B00B", + "imageAtomicAdd(01K20D00E", + "imageAtomicAdd(01K20D00D", + "textureProjLod(00X30B00B", + "textureProjGradOffset(00I30B10B10B10D", + "imageAtomicAdd(01W20D00D00D", + "cosh(30B", + "textureProj(00q30B", + "textureOffset(00S20B20D00B", + "usubBorrow(30E30E30E", + "imageAtomicMax(01W20D00D00E", + "imageAtomicMax(01W20D00D00D", + "textureProjOffset(00R20B10D00B", + "imageSize(01H", + "textureOffset(00i20B00D00B", + "texture3DProj(00J30B", + "matrixCompMult(B0BB0B", + "lessThan(30B30B", + "cross(20B20B", + "imageSize(01O", + "textureGrad(00q10B10B10B", + "clamp(20B00B00B", + "dFdx(00B", + "findLSB(00D", + "textureProjLodOffset(00o30B00B00D", + "imageAtomicXor(01i00D00E", + "textureProj(00R20B00B", + "acos(20B", + "texelFetch(00r00D", + "max(20B20B", + "lessThan(20E20E", + "textureLod(00X10B00B", + "equal(30F30F", + "sign(00C", + "cosh(00B", + "bitfieldExtract(00D00D00D", + "imageAtomicMin(01E20D00D", + "imageAtomicMin(01E20D00E", + "textureLod(00Z20B00B", + "sign(00D", + "textureOffset(00Y20B20D", + "imageAtomicXor(01Q10D00D", + "imageAtomicXor(01Q10D00E", + "transpose(60B", + "imageStore(01G20D30D", + "imageAtomicAdd(01O10D00D", + "imageAtomicAdd(01O10D00E", + "faceforward(00B00B00B", + "imageLoad(01Z10D", + "imageAtomicOr(01O10D00E", + "imageAtomicOr(01O10D00D", + "imageAtomicAdd(01b20D00D", + "interpolateAtCentroid(20B", + "textureProjLodOffset(00R30B00B10D", + "textureGrad(00h10B00B00B", + "imageAtomicExchange(01U20D00D00B", + "texture1DProj(00g30B00B", + "textureQueryLod(00h00B", + "imageAtomicExchange(01U20D00D00E", + "modf(00C00C", + "textureProjLod(00t30B00B", + "textureOffset(00o00B00D", + "imageAtomicExchange(01U20D00D00D", + "imageStore(01H20D30E", + "textureGather(00U20B", + "texelFetch(00Q20D00D", + "roundEven(00C", + "roundEven(00B", + "texelFetchOffset(00O10D10D", + "atanh(20B", + "clamp(10E00E00E", + "dFdxFine(30B", + "imageAtomicAdd(01L00D00E", + "textureQueryLod(00J20B", + "textureProjOffset(00X30B10D", + "gl_MaxFragmentUniformVectors", + "texture2DProjLod(00I30B00B", + "interpolateAtOffset(10B10B", + "max(10C10C", + "texelFetch(00g00D00D", + "abs(30B", + "bitfieldInsert(10E10E00D00D", + "packSnorm4x8(30B", + "mix(10B10B00B", + "imageSize(01b", + "clamp(30D30D30D", + "textureGatherOffsets(00L20B10Dx4", + "imageAtomicMax(01c20D00E", + "mod(10C00C", + "imageAtomicMax(01G20D00D", + "imageAtomicMax(01G20D00E", + "determinant(F0B", + "transpose(A0B", + "pow(20B20B", + "imageSize(01g", + "imageAtomicMax(01B10D00D", + "imageAtomicMax(01B10D00E", + "imageAtomicExchange(01G20D00B", + "imageSize(01e", + "imageAtomicExchange(01G20D00D", + "imageAtomicExchange(01G20D00E", + "imageLoad(01Y10D", + "imageAtomicMax(01g00D00D", + "imageAtomicMax(01g00D00E", + "textureProj(00v30B", + "textureProjGrad(00O20B10B10B", + "texture(00s30B00B", + "log2(20B", + "dot(30C30C", + "fwidthCoarse(10B", + "textureProjOffset(00I20B10D00B", + "imageAtomicAnd(01T10D00D00D", + "imageAtomicAnd(01T10D00D00E", + "notEqual(10F10F", + "smoothstep(00B00B00B", + "textureProjLodOffset(00d30B00B10D", + "imageAtomicAnd(01P10D00E", + "imageAtomicAnd(01P10D00D", + "textureProjLodOffset(00I30B00B10D", + "gl_MaxCombinedAtomicCounters", + "bitfieldInsert(10D10D00D00D", + "imageAtomicCompSwap(01N00D00D00D", + "imageAtomicCompSwap(01L00D00D00D", + "textureGather(00k30B", + "texture(00J20B", + "lessThanEqual(10D10D", + "textureProjOffset(00o30B00D00B", + "gl_MaxVaryingVectors", + "textureSize(00d00D", + "sin(00B", + "uaddCarry(10E10E10E", + "mix(10C10C00C", + "atomicCounterIncrement(00G", + "imageAtomicAdd(01J20D00D", + "imageAtomicAdd(01J20D00E", + "imageAtomicCompSwap(01S10D00D00D00D", + "imageStore(01Q10D30E", + "textureProj(00o10B00B", + "imageAtomicAdd(01U20D00D00D", + "imageAtomicAdd(01U20D00D00E", + "textureProjOffset(00m30B00D", + "imageAtomicExchange(01Y10D00B", + "equal(10E10E", + "imageAtomicExchange(01Y10D00E", + "imageAtomicExchange(01Y10D00D", + "imageLoad(01B10D", + "imageAtomicExchange(01O10D00E", + "textureProjOffset(00J30B20D", + "imageSize(01W", + "imageAtomicXor(01D20D00E", + "notEqual(10E10E", + "min(10C10C", + "textureProjGrad(00t10B00B00B", + "imageAtomicExchange(01N00D00B", + "textureGather(00q20B00D", + "imageAtomicExchange(01N00D00E", + "imageAtomicExchange(01N00D00D", + "textureGatherOffsets(00q10B10Dx400D", + "imageAtomicCompSwap(01O10D00D00D", + "shadow1DProjLod(00m30B00B", + "imageAtomicMin(01i00D00D", + "texture(00u20B00B", + "textureLodOffset(00R10B00B10D", + "trunc(10B", + "trunc(10C", + "imageAtomicAdd(01S10D00D00D", + "texelFetch(00u10D00D", + "dot(20C20C", + "gl_DepthRangeParameters", + "noise4(30B", + "textureGather(00f20B", + "noise1(10B", + "textureProjGrad(00g30B00B00B", + "shadow2DProj(00d30B", + "textureProj(00d30B00B", + "sign(10B", + "max(00E00E", + "texture(00a20B00B", + "textureProj(00o10B", + "refract(20C20C00B", + "textureProj(00M20B00B", + "imageLoad(01A10D", + "textureProjOffset(00X30B10D00B", + "exp2(00B", + "imageAtomicExchange(01H20D00B", + "texelFetchOffset(00u10D00D00D", + "imageAtomicCompSwap(01H20D00E00E", + "imageAtomicExchange(01H20D00E", + "imageAtomicExchange(01H20D00D", + "textureGatherOffset(00q10B10D", + "textureGather(00a20B00D", + "imageStore(01S10D00D30D", + "ldexp(00C00D", + "textureSize(00s00D", + "imageAtomicXor(01P10D00E", + "imageAtomicOr(01I20D00D", + "texture(00N10B00B", + "gl_PrimitiveID", + "imageAtomicCompSwap(01Y10D00D00D", + "textureProjGrad(00I30B10B10B", + "gl_Layer", + "textureOffset(00d20B10D", + "dFdx(30B", + "textureGatherOffsets(00U20B10Dx400D", + "imageAtomicMin(01V20D00D00D", + "imageAtomicMin(01V20D00D00E", + "gl_LastFragColor", + "textureProjGradOffset(00t30B00B00B00D", + "min(20E20E", + "asin(20B", + "imageAtomicCompSwap(01U20D00D00E00E", + "texture(00l30B00B", + "texture1DProjLod(00g10B00B", + "fwidth(10B", + "dFdy(00B", + "shadow2DLod(00d20B00B", + "texture1DProj(00g10B", + "lessThan(30E30E", + "imulExtended(30D30D30D30D", + "transpose(70B", + "imulExtended(00D00D00D00D", + "imageAtomicAdd(01F20D00D", + "imageAtomicAdd(01F20D00E", + "texture(00S20B00B", + "textureLod(00Y20B00B", + "imageAtomicExchange(01c20D00D", + "faceforward(10C10C10C", + "imageStore(01Z10D30E", + "textureQueryLod(00u00B", + "imageAtomicExchange(01c20D00B", + "min(20D00D", + "imageAtomicCompSwap(01P10D00D00D", + "uintBitsToFloat(00E", + "dFdxFine(20B", + "imageAtomicMin(01L00D00D", + "imageAtomicExchange(01g00D00D", + "bitfieldInsert(20D20D00D00D", + "mix(30B30B00B", + "textureQueryLod(00U10B", + "tanh(00B", + "subpassLoad(01o00D", + "imageAtomicMax(01N00D00E", + "imageAtomicMax(01N00D00D", + "max(10C00C", + "matrixCompMult(D0BD0B", + "imageAtomicXor(01M00D00D", + "imageAtomicAnd(01X10D00E", + "shadow2DProjLod(00d30B00B", + "imageAtomicAnd(01X10D00D", + "min(30B30B", + "reflect(20C20C", + "texelFetch(00h10D00D", + "memoryBarrierAtomicCounter(", + "bitfieldInsert(00E00E00D00D", + "imageAtomicAdd(01b20D00E", + "imageAtomicMin(01a20D00E", + "textureGrad(00d20B10B10B", + "atan(10B", + "imageAtomicCompSwap(01g00D00D00D", + "clamp(30C30C30C", + "textureProj(00v20B", + "step(00B10B", + "textureProjLod(00I20B00B", + "rgb_2_yuv(20B00H", + "imageLoad(01P10D", + "texture(00T20B", + "log2(10B", + "imageAtomicAnd(01D20D00D", + "imageAtomicAnd(01D20D00E", + "findLSB(20E", + "findLSB(20D", + "imageAtomicCompSwap(01B10D00D00D", + "imageAtomicOr(01X10D00D", + "imageAtomicOr(01X10D00E", + "noise2(30B", + "imageAtomicOr(01U20D00D00E", + "greaterThanEqual(10B10B", + "clamp(10D10D10D", + "texelFetch(00M10D00D", + "textureQueryLod(00Y20B", + "transpose(F0B", + "textureOffset(00Y20B20D00B", + "textureGradOffset(00S20B20B20B20D", + "imageAtomicOr(01U20D00D00D", + "clamp(30E30E30E", + "textureSize(00R00D", + "acosh(10B", + "imageLoad(01b20D", + "imageAtomicCompSwap(01Z10D00E00E", + "textureOffset(00L20B10D00B", + "mod(20B00B", + "imageLoad(01U20D00D", + "textureProjLod(00J30B00B", + "subpassLoad(01k", + "transpose(90B", + "mix(30C30C00C", + "subpassLoad(01l", + "atomicAnd(00E00E", + "max(20D00D", + "texelFetchOffset(00I10D00D10D", + "imageAtomicMin(01Z10D00D", + "imageAtomicMin(01Z10D00E", + "imageAtomicCompSwap(01i00D00E00E", + "imageAtomicCompSwap(01K20D00D00D", + "textureQueryLod(00L10B", + "imageStore(01J20D30D", + "atomicCounter(00G", + "textureGrad(00m20B00B00B", + "noise3(20B", + "bitfieldInsert(30D30D00D00D", + "min(10C00C", + "greaterThan(10D10D", + "bitfieldExtract(10E00D00D", + "textureGradOffset(00h10B00B00B00D", + "imageAtomicMax(01V20D00D00D", + "texture2D(00I10B00B", + "greaterThan(20D20D", + "imageAtomicAnd(01W20D00D00D", + "imageAtomicAnd(01W20D00D00E", + "textureProjLodOffset(00t10B00B00D", + "textureProjOffset(00O20B10D", + "trunc(00B", + "length(10C", + "length(10B", + "imageLoad(01R10D00D", + "imageAtomicAdd(01H20D00D", + "imageAtomicAdd(01H20D00E", + "subpassLoad(01j", + "dot(00B00B", + "tan(30B", + "textureLod(00T20B00B", + "textureProjGrad(00R30B10B10B", + "exp2(10B", + "textureProjOffset(00X20B10D00B", + "textureProjGradOffset(00X30B10B10B10D", + "imageAtomicAnd(01B10D00D", + "imageStore(01U20D00D30B", + "matrixCompMult(A0BA0B", + "textureGrad(00S20B20B20B", + "round(30B", + "round(30C", + "anyInvocation(00F", + "textureGrad(00x30B20B20B", + "imageAtomicCompSwap(01D20D00E00E", + "textureProjLod(00o30B00B", + "smoothstep(00C00C10C", + "interpolateAtSample(00B00D", + "dFdx(20B", + "texture(00L20B", + "barrier(", + "imageAtomicOr(01N00D00E", + "imageAtomicOr(01N00D00D", + "imageAtomicAdd(01a20D00D", + "textureGather(00k30B00D", + "findMSB(20D", + "textureGatherOffset(00L20B10D", + "imageAtomicMin(01S10D00D00D", + "imageLoad(01J20D", + "textureProjOffset(00S30B20D00B", + "imageAtomicAdd(01D20D00D", + "normalize(10C", + "unpackSnorm4x8(00E", + "imageLoad(01C20D", + "imageAtomicMax(01C20D00D", + "imageAtomicMax(01C20D00E", + "textureGather(00l30B00B", + "normalize(10B", + "asin(30B", + "isnan(20B", + "isnan(20C", + "fwidth(00B", + "dFdy(10B", + "imageAtomicAdd(01P10D00E", + "imageAtomicAdd(01P10D00D", + "max(30E00E", + "textureLod(00d20B00B", + "textureOffset(00q10B10D", + "imageAtomicAdd(01c20D00E", + "imageAtomicAdd(01c20D00D", + "mod(10B00B", + "texture(00g00B00B", + "uintBitsToFloat(10E", + "textureProjOffset(00t30B00D", + "matrixCompMult(70B70B", + "imageAtomicAdd(01I20D00D", + "imageAtomicMax(01M00D00D", + "imageAtomicMax(01M00D00E", + "textureLod(00k30B00B", + "imageAtomicAdd(01E20D00D", + "textureLodOffset(00Y20B00B20D", + "refract(00C00C00B", + "log2(00B", + "tanh(10B", + "imageAtomicMin(01I20D00E", + "textureLod(00h10B00B", + "textureGather(00O20B00D", + "gl_LocalInvocationID", + "clamp(00B00B00B", + "textureGather(00d10B", + "gl_MaxGeometryAtomicCounterBuffers", + "textureOffset(00p10B00D00B", + "clamp(10C10C10C", + "imageAtomicXor(01B10D00D", + "outerProduct(20B10B", + "textureProjOffset(00t10B00D", + "isinf(20C", + "textureGrad(00e30B20B20B", + "textureSize(00J00D", + "textureQueryLod(00Z20B", + "dot(10C10C", + "imageAtomicXor(01K20D00E", + "imageAtomicXor(01K20D00D", + "textureProjGrad(00n30B10B10B", + "imageAtomicMin(01U20D00D00E", + "imageAtomicMin(01U20D00D00D", + "imageAtomicAdd(01Q10D00D", + "texture2DProjLodEXT(00I30B00B", + "imageAtomicXor(01T10D00D00D", + "imageAtomicXor(01T10D00D00E", + "imageAtomicAnd(01b20D00D", + "step(00B00B", + "texture2DLodEXT(00I10B00B", + "texture(00K20B00B", + "textureProjGradOffset(00n30B10B10B10D", + "textureGrad(00J20B20B20B", + "imageAtomicCompSwap(01V20D00D00E00E", + "textureOffset(00U20B10D00B", + "intBitsToFloat(10D", + "min(20C20C", + "findLSB(10D", + "textureProjLodOffset(00Y30B00B20D", + "imageAtomicMax(01h00D00E", + "texture3D(00J20B", + "gl_SecondaryFragDataEXT", + "imageAtomicAdd(01X10D00E", + "faceforward(20C20C20C", + "imageAtomicAnd(01O10D00E", + "imageAtomicAdd(01X10D00D", + "imageAtomicXor(01W20D00D00D", + "imageAtomicXor(01W20D00D00E", + "textureGather(00n10B00B", + "imageAtomicXor(01Z10D00E", + "imageAtomicXor(01Z10D00D", + "textureGather(00X10B00D", + "imageAtomicMax(01L00D00E", + "imageAtomicMax(01L00D00D", + "imageAtomicXor(01G20D00E", + "imageAtomicXor(01G20D00D", + "textureOffset(00a20B10D", + "imageAtomicExchange(01X10D00B", + "textureGatherOffsets(00v10B10Dx4", + "texture2DProj(00I30B00B", + "textureQueryLod(00X10B", + "imageAtomicAnd(01I20D00E", + "textureCubeGradEXT(00K20B20B20B", + "min(00B00B", + "textureGradOffset(00o00B00B00B00D", + "imageAtomicExchange(01Q10D00B", + "mix(30C30C30F", + "mix(30C30C30C", + "gl_WorkGroupID", + "degrees(00B", + "imageAtomicMax(01J20D00E", + "imageAtomicMax(01J20D00D", + "imageAtomicMin(01D20D00D", + "textureGatherOffsets(00R10B10Dx4", + "atomicExchange(00D00D", + "textureOffset(00m20B00D00B", + "gl_MaxGeometryAtomicCounters", + "textureOffset(00f30B10D", + "imageStore(01c20D30E", + "imageAtomicExchange(01a20D00D", + "imageAtomicExchange(01a20D00E", + "imageAtomicExchange(01a20D00B", + "matrixCompMult(60B60B", + "imageAtomicCompSwap(00z10D00D00D", + "textureProj(00t30B", + "textureProjGradOffset(00t10B00B00B00D", + "unpackSnorm2x16(00E", + "lessThan(30D30D", + "atan(00B00B", + "textureQueryLod(00S20B", + "notEqual(10B10B", + "imageLoad(01G20D", + "trunc(30B", + "trunc(30C", + "length(00B", + "length(00C", + "imageAtomicAnd(01H20D00D", + "imageAtomicAnd(01H20D00E", + "textureProj(00X30B00B", + "imageAtomicCompSwap(01C20D00E00E", + "tan(00B", + "min(20E00E", + "textureLod(00x30B00B", + "textureSize(00j", + "textureSize(00n", + "imageAtomicXor(01F20D00D", + "textureSize(00c", + "textureSize(00b", + "min(20B20B", + "textureSize(00q", + "textureSize(00r", + "textureSize(00w", + "textureSize(00v", + "bitfieldInsert(20E20E00D00D", + "gl_MaxProgramTexelOffset", + "textureSize(00O", + "imageAtomicAnd(01a20D00E", + "imageAtomicMin(01g00D00D", + "trunc(00C", + "imageAtomicAnd(01a20D00D", + "textureSize(00Q", + "textureSize(00P", + "imageAtomicAdd(01M00D00E", + "imageLoad(01K20D", + "textureSize(00W", + "textureProjLod(00X20B00B", + "smoothstep(00C00C00C", + "atomicCounterAnd(00G00E", + "faceforward(30B30B30B", + "distance(20C20C", + "atomicCounterAdd(00G00E", + "imageStore(01O10D30B", + "texture(00X10B", + "ceil(00C", + "ceil(00B", + "distance(00B00B", + "texelFetch(00O10D", + "imageAtomicExchange(01C20D00D", + "imageAtomicExchange(01C20D00E", + "textureGrad(00s30B20B20B", + "textureGather(00I10B", + "imageAtomicExchange(01C20D00B", + "min(30D30D", + "imageAtomicExchange(01Z10D00B", + "findMSB(30E", + "findMSB(30D", + "textureGradOffset(00R10B10B10B10D", + "fwidth(30B", + "textureGrad(00K20B20B20B", + "texelFetch(00S20D00D", + "max(10B00B", + "textureProjGradOffset(00R30B10B10B10D", + "texelFetchOffset(00L20D00D10D", + "isnan(30C", + "transpose(50B", + "greaterThanEqual(20D20D", + "asinh(00B", "gl_PrimitiveIDIn", - "gl_InvocationID", - "gl_PerVertex", - "gl_in", - "gl_PatchVerticesIn", - "gl_TessLevelOuter", - "gl_TessLevelInner", - "gl_out", - "gl_TessCoord", - "gl_ViewID_OVR"}; + "textureGather(00Z20B", + "textureGrad(00p10B00B00B", + "textureProjOffset(00v30B10D", + "greaterThan(20B20B", + "min(20D20D", + "texelFetchOffset(00g00D00D00D", + "imageAtomicCompSwap(01g00D00E00E", + "imageAtomicMin(01W20D00D00E", + "imageAtomicMin(01W20D00D00D", + "imageAtomicXor(01O10D00D", + "imageAtomicXor(01O10D00E", + "tanh(20B", + "textureProj(00m30B00B", + "sin(20B", + "smoothstep(00C00C30C", + "textureSize(00l00D", + "textureLod(00o00B00B", + "textureOffset(00I10B10D00B", + "imageAtomicAnd(00z10D00D", + "imageAtomicAnd(00z10D00E", + "imageAtomicCompSwap(01W20D00D00D00D", + "gl_MaxAtomicCounterBufferSize", + "textureOffset(00J20B20D00B", + "lessThanEqual(20E20E", + "gl_BaseVertex", + "textureOffset(00g00B00D", + "textureProj(00g30B", + "gl_MaxGeometryTotalOutputComponents", + "bitfieldInsert(30E30E00D00D", + "bitfieldExtract(20E00D00D", + "uintBitsToFloat(20E", + "unpackUnorm4x8(00E", + "imageAtomicExchange(01K20D00E", + "mod(10B10B", + "imageAtomicExchange(01K20D00B", + "imageAtomicAnd(01B10D00E", + "imageAtomicXor(01i00D00D", + "gl_MaxVertexImageUniforms", + "equal(20D20D", + "mix(10E10E10F", + "textureGather(00R10B00D", + "textureSize(00Z00D", + "bitfieldExtract(30D00D00D", + "imageAtomicXor(01J20D00D", + "imageAtomicXor(01J20D00E", + "intBitsToFloat(00D", + "textureLodOffset(00m20B00B00D", + "findLSB(00E", + "texelFetch(00p10D00D", + "textureGather(00d10B00B", + "shadow2DProj(00d30B00B", + "imageAtomicAdd(01T10D00D00D", + "imageAtomicAdd(01T10D00D00E", + "inversesqrt(10B", + "inversesqrt(10C", + "abs(30D", + "transpose(D0B", + "abs(30C", + "textureProjGrad(00O30B10B10B", + "", + "imageLoad(01E20D", + "textureProj(00N20B00B", + "gl_FragData", + "dFdxCoarse(20B", + "clamp(20E00E00E", + "textureProj(00d30B", + "gl_MaxVertexOutputVectors", + "imageAtomicOr(01i00D00D", + "imageAtomicOr(01i00D00E", + "shadow1D(00m20B", + "textureOffset(00u10B00D", + "cosh(10B", + "sign(10C", + "imageAtomicAnd(01G20D00E", + "imageAtomicAnd(01G20D00D", + "sign(10D", + "umulExtended(00E00E00E00E", + "gl_MaxVertexAttribs", + "", + "texture(00a20B", + "imageAtomicExchange(01g00D00B", + "imageAtomicExchange(01B10D00B", + "ldexp(10B10D", + "imageAtomicExchange(01B10D00D", + "imageAtomicExchange(01B10D00E", + "textureProjOffset(00g30B00D", + "texture(00Z20B", + "degrees(10B", + "texture(00k30B00B", + "texture(00K20B", + "sinh(10B", + "texture(00m20B", + "imageAtomicXor(01C20D00D", + "textureGatherOffsets(00I10B10Dx400D", + "not(30F", + "textureProjLodOffset(00I20B00B10D", + "textureGather(00K20B", + "textureGatherOffset(00R10B10D", + "memoryBarrierShared(", + "clamp(20B20B20B", + "texelFetch(00W20D00D", + "textureProjLod(00g10B00B", + "trunc(20C", + "trunc(20B", + "textureProjOffset(00I30B10D00B", + "max(00C00C", + "tan(10B", + "texture(00g00B", + "textureLodOffset(00L20B00B10D", + "textureLodOffset(00u10B00B00D", + "imageAtomicOr(01B10D00D", + "imageAtomicOr(01B10D00E", + "isinf(20B", + "dFdyCoarse(10B", + "textureGatherOffset(00X10B10D00D", + "min(10E10E", + "memoryBarrierImage(", + "round(10B", + "round(10C", + "textureProjLodOffset(00m30B00B00D", + "textureProjGradOffset(00g10B00B00B00D", + "textureProj(00R30B", + "shadow1DProj(00m30B", + "texture(00f30B00B", + "fma(00B00B00B", + "imageStore(01X10D30B", + "imageAtomicOr(01b20D00E", + "imageAtomicOr(01b20D00D", + "textureGatherOffset(00v10B10D00D", + "atomicMax(00E00E", + "textureQueryLod(00t00B", + "textureProjOffset(00R30B10D", + "textureProj(00X30B", + "findMSB(00D", + "findMSB(00E", + "textureProjOffset(00X20B10D", + "imageAtomicCompSwap(01X10D00D00D", + "frexp(30C30D", + "mix(10C10C10C", + "min(30D00D", + "imageAtomicCompSwap(01K20D00E00E", + "texture(00M10B00B", + "fwidth(20B", + "imageAtomicOr(01S10D00D00D", + "imageAtomicOr(01S10D00D00E", + "mod(30C00C", + "imageAtomicAdd(01A10D00D", + "imageAtomicAdd(01A10D00E", + "texture(00o00B00B", + "imageAtomicOr(01H20D00E", + "imageAtomicOr(01H20D00D", + "cos(20B", + "gl_MaxGeometryUniformComponents", + "textureGather(00T20B", + "textureProjGradOffset(00J30B20B20B20D", + "asinh(10B", + "texelFetchOffset(00v10D10D", + "imageAtomicXor(01E20D00E", + "imageAtomicXor(01E20D00D", + "textureGatherOffsets(00R10B10Dx400D"}; // Flat array of offsets from a symbol into the rules table. constexpr uint16_t kMangledOffsets[] = { - 0, // radians_00B - 2, // radians_10B - 4, // radians_20B - 6, // radians_30B - 8, // degrees_00B - 10, // degrees_10B - 12, // degrees_20B - 14, // degrees_30B - 16, // sin_00B - 18, // sin_10B - 20, // sin_20B - 22, // sin_30B - 24, // cos_00B - 26, // cos_10B - 28, // cos_20B - 30, // cos_30B - 32, // tan_00B - 34, // tan_10B - 36, // tan_20B - 38, // tan_30B - 40, // asin_00B - 42, // asin_10B - 44, // asin_20B - 46, // asin_30B - 48, // acos_00B - 50, // acos_10B - 52, // acos_20B - 54, // acos_30B - 56, // atan_00B00B - 58, // atan_10B10B - 60, // atan_20B20B - 62, // atan_30B30B - 64, // atan_00B - 66, // atan_10B - 68, // atan_20B - 70, // atan_30B - 72, // sinh_00B - 74, // sinh_10B - 76, // sinh_20B - 78, // sinh_30B - 80, // cosh_00B - 82, // cosh_10B - 84, // cosh_20B - 86, // cosh_30B - 88, // tanh_00B - 90, // tanh_10B - 92, // tanh_20B - 94, // tanh_30B - 96, // asinh_00B - 98, // asinh_10B - 100, // asinh_20B - 102, // asinh_30B - 104, // acosh_00B - 106, // acosh_10B - 108, // acosh_20B - 110, // acosh_30B - 112, // atanh_00B - 114, // atanh_10B - 116, // atanh_20B - 118, // atanh_30B - 120, // pow_00B00B - 122, // pow_10B10B - 124, // pow_20B20B - 126, // pow_30B30B - 128, // exp_00B - 130, // exp_10B - 132, // exp_20B - 134, // exp_30B - 136, // log_00B - 138, // log_10B - 140, // log_20B - 142, // log_30B - 144, // exp2_00B - 146, // exp2_10B - 148, // exp2_20B - 150, // exp2_30B - 152, // log2_00B - 154, // log2_10B - 156, // log2_20B - 158, // log2_30B - 160, // sqrt_00B - 162, // sqrt_10B - 164, // sqrt_20B - 166, // sqrt_30B - 168, // sqrt_00C - 169, // sqrt_10C - 170, // sqrt_20C - 171, // sqrt_30C - 172, // inversesqrt_00B - 174, // inversesqrt_10B - 176, // inversesqrt_20B - 178, // inversesqrt_30B - 180, // inversesqrt_00C - 181, // inversesqrt_10C - 182, // inversesqrt_20C - 183, // inversesqrt_30C - 184, // abs_00B - 186, // abs_10B - 188, // abs_20B - 190, // abs_30B - 192, // abs_00D - 194, // abs_10D - 196, // abs_20D - 198, // abs_30D - 200, // abs_00C - 201, // abs_10C - 202, // abs_20C - 203, // abs_30C - 204, // sign_00B - 206, // sign_10B - 208, // sign_20B - 210, // sign_30B - 212, // sign_00D - 214, // sign_10D - 216, // sign_20D - 218, // sign_30D - 220, // sign_00C - 221, // sign_10C - 222, // sign_20C - 223, // sign_30C - 224, // floor_00B - 226, // floor_10B - 228, // floor_20B - 230, // floor_30B - 232, // floor_00C - 233, // floor_10C - 234, // floor_20C - 235, // floor_30C - 236, // trunc_00B - 238, // trunc_10B - 240, // trunc_20B - 242, // trunc_30B - 244, // trunc_00C - 245, // trunc_10C - 246, // trunc_20C - 247, // trunc_30C - 248, // round_00B - 250, // round_10B - 252, // round_20B - 254, // round_30B - 256, // round_00C - 257, // round_10C - 258, // round_20C - 259, // round_30C - 260, // roundEven_00B - 262, // roundEven_10B - 264, // roundEven_20B - 266, // roundEven_30B - 268, // roundEven_00C - 269, // roundEven_10C - 270, // roundEven_20C - 271, // roundEven_30C - 272, // ceil_00B - 274, // ceil_10B - 276, // ceil_20B - 278, // ceil_30B - 280, // ceil_00C - 281, // ceil_10C - 282, // ceil_20C - 283, // ceil_30C - 284, // fract_00B - 286, // fract_10B - 288, // fract_20B - 290, // fract_30B - 292, // fract_00C - 293, // fract_10C - 294, // fract_20C - 295, // fract_30C - 296, // mod_00B00B - 298, // mod_10B00B - 300, // mod_20B00B - 302, // mod_30B00B - 304, // mod_10B10B - 306, // mod_20B20B - 308, // mod_30B30B - 310, // mod_00C00C - 311, // mod_10C00C - 312, // mod_20C00C - 313, // mod_30C00C - 314, // mod_10C10C - 315, // mod_20C20C - 316, // mod_30C30C - 317, // min_00B00B - 319, // min_10B00B - 321, // min_20B00B - 323, // min_30B00B - 325, // min_10B10B - 327, // min_20B20B - 329, // min_30B30B - 331, // min_00C00C - 332, // min_10C10C - 333, // min_20C20C - 334, // min_30C30C - 335, // min_10C00C - 336, // min_20C00C - 337, // min_30C00C - 338, // min_00D00D - 340, // min_10D10D - 342, // min_20D20D - 344, // min_30D30D - 346, // min_10D00D - 348, // min_20D00D - 350, // min_30D00D - 352, // min_00E00E - 354, // min_10E10E - 356, // min_20E20E - 358, // min_30E30E - 360, // min_10E00E - 362, // min_20E00E - 364, // min_30E00E - 366, // max_00B00B - 368, // max_10B00B - 370, // max_20B00B - 372, // max_30B00B - 374, // max_10B10B - 376, // max_20B20B - 378, // max_30B30B - 380, // max_00C00C - 381, // max_10C10C - 382, // max_20C20C - 383, // max_30C30C - 384, // max_10C00C - 385, // max_20C00C - 386, // max_30C00C - 387, // max_00D00D - 389, // max_10D10D - 391, // max_20D20D - 393, // max_30D30D - 395, // max_10D00D - 397, // max_20D00D - 399, // max_30D00D - 401, // max_00E00E - 403, // max_10E10E - 405, // max_20E20E - 407, // max_30E30E - 409, // max_10E00E - 411, // max_20E00E - 413, // max_30E00E - 415, // clamp_00B00B00B - 417, // clamp_10B00B00B - 419, // clamp_20B00B00B - 421, // clamp_30B00B00B - 423, // clamp_10B10B10B - 425, // clamp_20B20B20B - 427, // clamp_30B30B30B - 429, // clamp_00C00C00C - 430, // clamp_10C00C00C - 431, // clamp_20C00C00C - 432, // clamp_30C00C00C - 433, // clamp_10C10C10C - 434, // clamp_20C20C20C - 435, // clamp_30C30C30C - 436, // clamp_00D00D00D - 438, // clamp_10D00D00D - 440, // clamp_20D00D00D - 442, // clamp_30D00D00D - 444, // clamp_10D10D10D - 446, // clamp_20D20D20D - 448, // clamp_30D30D30D - 450, // clamp_00E00E00E - 452, // clamp_10E00E00E - 454, // clamp_20E00E00E - 456, // clamp_30E00E00E - 458, // clamp_10E10E10E - 460, // clamp_20E20E20E - 462, // clamp_30E30E30E - 464, // mix_00B00B00B - 466, // mix_10B10B00B - 468, // mix_20B20B00B - 470, // mix_30B30B00B - 472, // mix_10B10B10B - 474, // mix_20B20B20B - 476, // mix_30B30B30B - 478, // mix_00C00C00C - 479, // mix_10C10C00C - 480, // mix_20C20C00C - 481, // mix_30C30C00C - 482, // mix_10C10C10C - 483, // mix_20C20C20C - 484, // mix_30C30C30C - 485, // mix_00B00B00F - 487, // mix_10B10B10F - 489, // mix_20B20B20F - 491, // mix_30B30B30F - 493, // mix_00C00C00F - 494, // mix_10C10C10F - 495, // mix_20C20C20F - 496, // mix_30C30C30F - 497, // mix_00D00D00F - 499, // mix_10D10D10F - 501, // mix_20D20D20F - 503, // mix_30D30D30F - 505, // mix_00E00E00F - 507, // mix_10E10E10F - 509, // mix_20E20E20F - 511, // mix_30E30E30F - 513, // mix_00F00F00F - 515, // mix_10F10F10F - 517, // mix_20F20F20F - 519, // mix_30F30F30F - 521, // step_00B00B - 523, // step_10B10B - 525, // step_20B20B - 527, // step_30B30B - 529, // step_00B10B - 531, // step_00B20B - 533, // step_00B30B - 535, // step_00C00C - 536, // step_10C10C - 537, // step_20C20C - 538, // step_30C30C - 539, // step_00C10C - 540, // step_00C20C - 541, // step_00C30C - 542, // smoothstep_00C00C00C - 543, // smoothstep_10C10C10C - 544, // smoothstep_20C20C20C - 545, // smoothstep_30C30C30C - 546, // smoothstep_00C00C10C - 547, // smoothstep_00C00C20C - 548, // smoothstep_00C00C30C - 549, // smoothstep_00B00B00B - 551, // smoothstep_10B10B10B - 553, // smoothstep_20B20B20B - 555, // smoothstep_30B30B30B - 557, // smoothstep_00B00B10B - 559, // smoothstep_00B00B20B - 561, // smoothstep_00B00B30B - 563, // modf_00B00B - 565, // modf_10B10B - 567, // modf_20B20B - 569, // modf_30B30B - 571, // modf_00C00C - 572, // modf_10C10C - 573, // modf_20C20C - 574, // modf_30C30C - 575, // isnan_00B - 577, // isnan_10B - 579, // isnan_20B - 581, // isnan_30B - 583, // isnan_00C - 584, // isnan_10C - 585, // isnan_20C - 586, // isnan_30C - 587, // isinf_00B - 589, // isinf_10B - 591, // isinf_20B - 593, // isinf_30B - 595, // isinf_00C - 596, // isinf_10C - 597, // isinf_20C - 598, // isinf_30C - 599, // floatBitsToInt_00B - 601, // floatBitsToInt_10B - 603, // floatBitsToInt_20B - 605, // floatBitsToInt_30B - 607, // floatBitsToUint_00B - 609, // floatBitsToUint_10B - 611, // floatBitsToUint_20B - 613, // floatBitsToUint_30B - 615, // intBitsToFloat_00D - 617, // intBitsToFloat_10D - 619, // intBitsToFloat_20D - 621, // intBitsToFloat_30D - 623, // uintBitsToFloat_00E - 625, // uintBitsToFloat_10E - 627, // uintBitsToFloat_20E - 629, // uintBitsToFloat_30E - 631, // fma_00B00B00B - 634, // fma_10B10B10B - 637, // fma_20B20B20B - 640, // fma_30B30B30B - 643, // fma_00C00C00C - 644, // fma_10C10C10C - 645, // fma_20C20C20C - 646, // fma_30C30C30C - 647, // frexp_00B00D - 649, // frexp_10B10D - 651, // frexp_20B20D - 653, // frexp_30B30D - 655, // frexp_00C00D - 656, // frexp_10C10D - 657, // frexp_20C20D - 658, // frexp_30C30D - 659, // ldexp_00B00D - 661, // ldexp_10B10D - 663, // ldexp_20B20D - 665, // ldexp_30B30D - 667, // ldexp_00C00D - 668, // ldexp_10C10D - 669, // ldexp_20C20D - 670, // ldexp_30C30D - 671, // packSnorm2x16_10B - 673, // packHalf2x16_10B - 675, // unpackSnorm2x16_00E - 677, // unpackHalf2x16_00E - 679, // packUnorm2x16_10B - 681, // unpackUnorm2x16_00E - 683, // packUnorm4x8_30B - 685, // packSnorm4x8_30B - 687, // unpackUnorm4x8_00E - 689, // unpackSnorm4x8_00E - 691, // packDouble2x32_10E - 692, // unpackDouble2x32_00C - 693, // length_00B - 695, // length_10B - 697, // length_20B - 699, // length_30B - 701, // length_00C - 702, // length_10C - 703, // length_20C - 704, // length_30C - 705, // distance_00B00B - 707, // distance_10B10B - 709, // distance_20B20B - 711, // distance_30B30B - 713, // distance_00C00C - 714, // distance_10C10C - 715, // distance_20C20C - 716, // distance_30C30C - 717, // dot_00B00B - 719, // dot_10B10B - 721, // dot_20B20B - 723, // dot_30B30B - 725, // dot_00C00C - 726, // dot_10C10C - 727, // dot_20C20C - 728, // dot_30C30C - 729, // cross_20B20B - 731, // cross_20C20C - 732, // normalize_00B - 734, // normalize_10B - 736, // normalize_20B - 738, // normalize_30B - 740, // normalize_00C - 741, // normalize_10C - 742, // normalize_20C - 743, // normalize_30C - 744, // faceforward_00B00B00B - 746, // faceforward_10B10B10B - 748, // faceforward_20B20B20B - 750, // faceforward_30B30B30B - 752, // faceforward_00C00C00C - 753, // faceforward_10C10C10C - 754, // faceforward_20C20C20C - 755, // faceforward_30C30C30C - 756, // reflect_00B00B - 758, // reflect_10B10B - 760, // reflect_20B20B - 762, // reflect_30B30B - 764, // reflect_00C00C - 765, // reflect_10C10C - 766, // reflect_20C20C - 767, // reflect_30C30C - 768, // refract_00B00B00B - 770, // refract_10B10B00B - 772, // refract_20B20B00B - 774, // refract_30B30B00B - 776, // refract_00C00C00B - 777, // refract_10C10C00B - 778, // refract_20C20C00B - 779, // refract_30C30C00B - 780, // ftransform_ - 781, // matrixCompMult_50B50B - 783, // matrixCompMult_A0BA0B - 785, // matrixCompMult_F0BF0B - 787, // matrixCompMult_90B90B - 788, // matrixCompMult_60B60B - 789, // matrixCompMult_D0BD0B - 790, // matrixCompMult_70B70B - 791, // matrixCompMult_E0BE0B - 792, // matrixCompMult_B0BB0B - 793, // outerProduct_10B10B - 795, // outerProduct_20B20B - 797, // outerProduct_30B30B - 799, // outerProduct_20B10B - 801, // outerProduct_10B20B - 803, // outerProduct_30B10B - 805, // outerProduct_10B30B - 807, // outerProduct_30B20B - 809, // outerProduct_20B30B - 811, // transpose_50B - 813, // transpose_A0B - 815, // transpose_F0B - 817, // transpose_60B - 819, // transpose_90B - 821, // transpose_70B - 823, // transpose_D0B - 825, // transpose_B0B - 827, // transpose_E0B - 829, // determinant_50B - 830, // determinant_A0B - 831, // determinant_F0B - 832, // inverse_50B - 834, // inverse_A0B - 836, // inverse_F0B - 838, // lessThan_10B10B - 840, // lessThan_20B20B - 842, // lessThan_30B30B - 844, // lessThan_10D10D - 846, // lessThan_20D20D - 848, // lessThan_30D30D - 850, // lessThan_10E10E - 852, // lessThan_20E20E - 854, // lessThan_30E30E - 856, // lessThanEqual_10B10B - 858, // lessThanEqual_20B20B - 860, // lessThanEqual_30B30B - 862, // lessThanEqual_10D10D - 864, // lessThanEqual_20D20D - 866, // lessThanEqual_30D30D - 868, // lessThanEqual_10E10E - 870, // lessThanEqual_20E20E - 872, // lessThanEqual_30E30E - 874, // greaterThan_10B10B - 876, // greaterThan_20B20B - 878, // greaterThan_30B30B - 880, // greaterThan_10D10D - 882, // greaterThan_20D20D - 884, // greaterThan_30D30D - 886, // greaterThan_10E10E - 888, // greaterThan_20E20E - 890, // greaterThan_30E30E - 892, // greaterThanEqual_10B10B - 894, // greaterThanEqual_20B20B - 896, // greaterThanEqual_30B30B - 898, // greaterThanEqual_10D10D - 900, // greaterThanEqual_20D20D - 902, // greaterThanEqual_30D30D - 904, // greaterThanEqual_10E10E - 906, // greaterThanEqual_20E20E - 908, // greaterThanEqual_30E30E - 910, // equal_10B10B - 912, // equal_20B20B - 914, // equal_30B30B - 916, // equal_10D10D - 918, // equal_20D20D - 920, // equal_30D30D - 922, // equal_10E10E - 924, // equal_20E20E - 926, // equal_30E30E - 928, // equal_10F10F - 930, // equal_20F20F - 932, // equal_30F30F - 934, // notEqual_10B10B - 936, // notEqual_20B20B - 938, // notEqual_30B30B - 940, // notEqual_10D10D - 942, // notEqual_20D20D - 944, // notEqual_30D30D - 946, // notEqual_10E10E - 948, // notEqual_20E20E - 950, // notEqual_30E30E - 952, // notEqual_10F10F - 954, // notEqual_20F20F - 956, // notEqual_30F30F - 958, // any_10F - 960, // any_20F - 962, // any_30F - 964, // all_10F - 966, // all_20F - 968, // all_30F - 970, // not_10F - 972, // not_20F - 974, // not_30F - 976, // bitfieldExtract_00D00D00D - 978, // bitfieldExtract_10D00D00D - 980, // bitfieldExtract_20D00D00D - 982, // bitfieldExtract_30D00D00D - 984, // bitfieldExtract_00E00D00D - 986, // bitfieldExtract_10E00D00D - 988, // bitfieldExtract_20E00D00D - 990, // bitfieldExtract_30E00D00D - 992, // bitfieldInsert_00D00D00D00D - 994, // bitfieldInsert_10D10D00D00D - 996, // bitfieldInsert_20D20D00D00D - 998, // bitfieldInsert_30D30D00D00D - 1000, // bitfieldInsert_00E00E00D00D - 1002, // bitfieldInsert_10E10E00D00D - 1004, // bitfieldInsert_20E20E00D00D - 1006, // bitfieldInsert_30E30E00D00D - 1008, // bitfieldReverse_00D - 1010, // bitfieldReverse_10D - 1012, // bitfieldReverse_20D - 1014, // bitfieldReverse_30D - 1016, // bitfieldReverse_00E - 1018, // bitfieldReverse_10E - 1020, // bitfieldReverse_20E - 1022, // bitfieldReverse_30E - 1024, // bitCount_00D - 1026, // bitCount_10D - 1028, // bitCount_20D - 1030, // bitCount_30D - 1032, // bitCount_00E - 1034, // bitCount_10E - 1036, // bitCount_20E - 1038, // bitCount_30E - 1040, // findLSB_00D - 1042, // findLSB_10D - 1044, // findLSB_20D - 1046, // findLSB_30D - 1048, // findLSB_00E - 1050, // findLSB_10E - 1052, // findLSB_20E - 1054, // findLSB_30E - 1056, // findMSB_00D - 1058, // findMSB_10D - 1060, // findMSB_20D - 1062, // findMSB_30D - 1064, // findMSB_00E - 1066, // findMSB_10E - 1068, // findMSB_20E - 1070, // findMSB_30E - 1072, // uaddCarry_00E00E00E - 1074, // uaddCarry_10E10E10E - 1076, // uaddCarry_20E20E20E - 1078, // uaddCarry_30E30E30E - 1080, // usubBorrow_00E00E00E - 1082, // usubBorrow_10E10E10E - 1084, // usubBorrow_20E20E20E - 1086, // usubBorrow_30E30E30E - 1088, // umulExtended_00E00E00E00E - 1090, // umulExtended_10E10E10E10E - 1092, // umulExtended_20E20E20E20E - 1094, // umulExtended_30E30E30E30E - 1096, // imulExtended_00D00D00D00D - 1098, // imulExtended_10D10D10D10D - 1100, // imulExtended_20D20D20D20D - 1102, // imulExtended_30D30D30D30D - 1104, // texture2D_00I10B - 1106, // texture2DProj_00I20B - 1108, // texture2DProj_00I30B - 1110, // textureCube_00K20B - 1112, // texture1D_00g00B - 1113, // texture1DProj_00g10B - 1114, // texture1DProj_00g30B - 1115, // texture3D_00J20B - 1117, // texture3DProj_00J30B - 1119, // shadow1D_00m20B - 1120, // shadow1DProj_00m30B - 1121, // shadow2D_00d20B - 1122, // shadow2DProj_00d30B - 1123, // texture2D_00M10B - 1124, // texture2DProj_00M20B - 1125, // texture2DProj_00M30B - 1126, // texture2DRect_00O10B - 1127, // texture2DRectProj_00O20B - 1128, // texture2DRectProj_00O30B - 1129, // texture_00O10B - 1131, // textureProj_00O20B - 1133, // textureProj_00O30B - 1135, // texture2DGradEXT_00I10B10B10B - 1136, // texture2DProjGradEXT_00I20B10B10B - 1137, // texture2DProjGradEXT_00I30B10B10B - 1138, // textureCubeGradEXT_00K20B20B20B - 1139, // texture2D_00I10B00B - 1141, // texture2DProj_00I20B00B - 1143, // texture2DProj_00I30B00B - 1145, // textureCube_00K20B00B - 1147, // texture3D_00J20B00B - 1149, // texture3DProj_00J30B00B - 1151, // texture3DLod_00J20B00B - 1153, // texture3DProjLod_00J30B00B - 1155, // texture1D_00g00B00B - 1156, // texture1DProj_00g10B00B - 1157, // texture1DProj_00g30B00B - 1158, // shadow1D_00m20B00B - 1159, // shadow1DProj_00m30B00B - 1160, // shadow2D_00d20B00B - 1161, // shadow2DProj_00d30B00B - 1162, // dFdx_00B - 1165, // dFdx_10B - 1168, // dFdx_20B - 1171, // dFdx_30B - 1174, // dFdy_00B - 1177, // dFdy_10B - 1180, // dFdy_20B - 1183, // dFdy_30B - 1186, // fwidth_00B - 1189, // fwidth_10B - 1192, // fwidth_20B - 1195, // fwidth_30B - 1198, // texture2DLodEXT_00I10B00B - 1199, // texture2DProjLodEXT_00I20B00B - 1200, // texture2DProjLodEXT_00I30B00B - 1201, // textureCubeLodEXT_00K20B00B - 1202, // shadow2DEXT_00d20B - 1203, // shadow2DProjEXT_00d30B - 1204, // texture2DLod_00I10B00B - 1206, // texture2DProjLod_00I20B00B - 1208, // texture2DProjLod_00I30B00B - 1210, // textureCubeLod_00K20B00B - 1212, // texture1DLod_00g00B00B - 1213, // texture1DProjLod_00g10B00B - 1214, // texture1DProjLod_00g30B00B - 1215, // shadow1DLod_00m20B00B - 1216, // shadow1DProjLod_00m30B00B - 1217, // shadow2DLod_00d20B00B - 1218, // shadow2DProjLod_00d30B00B - 1219, // texture_00I10B - 1221, // texture_00R10B - 1223, // texture_00X10B - 1225, // texture_00J20B - 1227, // texture_00S20B - 1229, // texture_00Y20B - 1231, // texture_00K20B - 1233, // texture_00T20B - 1235, // texture_00Z20B - 1237, // texture_00L20B - 1239, // texture_00U20B - 1241, // texture_00a20B - 1243, // texture_00d20B - 1245, // texture_00e30B - 1247, // texture_00f30B - 1249, // texture_00g00B - 1250, // texture_00o00B - 1251, // texture_00t00B - 1252, // texture_00m20B - 1253, // texture_00h20B - 1254, // texture_00p20B - 1255, // texture_00u20B - 1256, // texture_00i20B - 1257, // texture_00q10B - 1258, // texture_00v10B - 1259, // texture_00n20B - 1260, // texture_00l30B00B - 1262, // textureProj_00I20B - 1264, // textureProj_00R20B - 1266, // textureProj_00X20B - 1268, // textureProj_00I30B - 1270, // textureProj_00R30B - 1272, // textureProj_00X30B - 1274, // textureProj_00J30B - 1276, // textureProj_00S30B - 1278, // textureProj_00Y30B - 1280, // textureProj_00d30B - 1282, // textureProj_00g10B - 1283, // textureProj_00o10B - 1284, // textureProj_00t10B - 1285, // textureProj_00g30B - 1286, // textureProj_00o30B - 1287, // textureProj_00t30B - 1288, // textureProj_00m30B - 1289, // textureProj_00q20B - 1290, // textureProj_00v20B - 1291, // textureProj_00q30B - 1292, // textureProj_00v30B - 1293, // textureProj_00n30B - 1294, // textureLod_00I10B00B - 1296, // textureLod_00R10B00B - 1298, // textureLod_00X10B00B - 1300, // textureLod_00J20B00B - 1302, // textureLod_00S20B00B - 1304, // textureLod_00Y20B00B - 1306, // textureLod_00K20B00B - 1308, // textureLod_00T20B00B - 1310, // textureLod_00Z20B00B - 1312, // textureLod_00L20B00B - 1314, // textureLod_00U20B00B - 1316, // textureLod_00a20B00B - 1318, // textureLod_00d20B00B - 1320, // textureLod_00g00B00B - 1321, // textureLod_00o00B00B - 1322, // textureLod_00t00B00B - 1323, // textureLod_00m20B00B - 1324, // textureLod_00h10B00B - 1325, // textureLod_00p10B00B - 1326, // textureLod_00u10B00B - 1327, // textureLod_00i20B00B - 1328, // textureLod_00k30B00B - 1330, // textureLod_00s30B00B - 1332, // textureLod_00x30B00B - 1334, // textureSize_00I00D - 1336, // textureSize_00R00D - 1338, // textureSize_00X00D - 1340, // textureSize_00J00D - 1342, // textureSize_00S00D - 1344, // textureSize_00Y00D - 1346, // textureSize_00K00D - 1348, // textureSize_00T00D - 1350, // textureSize_00Z00D - 1352, // textureSize_00L00D - 1354, // textureSize_00U00D - 1356, // textureSize_00a00D - 1358, // textureSize_00d00D - 1360, // textureSize_00e00D - 1362, // textureSize_00f00D - 1364, // textureSize_00g00D - 1365, // textureSize_00o00D - 1366, // textureSize_00t00D - 1367, // textureSize_00m00D - 1368, // textureSize_00k00D - 1370, // textureSize_00s00D - 1372, // textureSize_00x00D - 1374, // textureSize_00l00D - 1376, // textureSize_00O - 1377, // textureSize_00q - 1378, // textureSize_00v - 1379, // textureSize_00n - 1380, // textureSize_00h00D - 1381, // textureSize_00p00D - 1382, // textureSize_00u00D - 1383, // textureSize_00i00D - 1384, // textureSize_00j - 1386, // textureSize_00r - 1388, // textureSize_00w - 1390, // textureProjLod_00I20B00B - 1392, // textureProjLod_00R20B00B - 1394, // textureProjLod_00X20B00B - 1396, // textureProjLod_00I30B00B - 1398, // textureProjLod_00R30B00B - 1400, // textureProjLod_00X30B00B - 1402, // textureProjLod_00J30B00B - 1404, // textureProjLod_00S30B00B - 1406, // textureProjLod_00Y30B00B - 1408, // textureProjLod_00d30B00B - 1410, // textureProjLod_00g10B00B - 1411, // textureProjLod_00o10B00B - 1412, // textureProjLod_00t10B00B - 1413, // textureProjLod_00g30B00B - 1414, // textureProjLod_00o30B00B - 1415, // textureProjLod_00t30B00B - 1416, // textureProjLod_00m30B00B - 1417, // texelFetch_00I10D00D - 1419, // texelFetch_00R10D00D - 1421, // texelFetch_00X10D00D - 1423, // texelFetch_00J20D00D - 1425, // texelFetch_00S20D00D - 1427, // texelFetch_00Y20D00D - 1429, // texelFetch_00L20D00D - 1431, // texelFetch_00U20D00D - 1433, // texelFetch_00a20D00D - 1435, // texelFetch_00g00D00D - 1436, // texelFetch_00o00D00D - 1437, // texelFetch_00t00D00D - 1438, // texelFetch_00O10D - 1439, // texelFetch_00q10D - 1440, // texelFetch_00v10D - 1441, // texelFetch_00h10D00D - 1442, // texelFetch_00p10D00D - 1443, // texelFetch_00u10D00D - 1444, // texelFetch_00j00D - 1446, // texelFetch_00r00D - 1448, // texelFetch_00w00D - 1450, // textureGrad_00I10B10B10B - 1452, // textureGrad_00R10B10B10B - 1454, // textureGrad_00X10B10B10B - 1456, // textureGrad_00J20B20B20B - 1458, // textureGrad_00S20B20B20B - 1460, // textureGrad_00Y20B20B20B - 1462, // textureGrad_00K20B20B20B - 1464, // textureGrad_00T20B20B20B - 1466, // textureGrad_00Z20B20B20B - 1468, // textureGrad_00I00B00B00B - 1469, // textureGrad_00R00B00B00B - 1470, // textureGrad_00X00B00B00B - 1471, // textureGrad_00O10B10B10B - 1472, // textureGrad_00q10B10B10B - 1473, // textureGrad_00v10B10B10B - 1474, // textureGrad_00n20B10B10B - 1475, // textureGrad_00d20B10B10B - 1477, // textureGrad_00e30B20B20B - 1479, // textureGrad_00L20B10B10B - 1481, // textureGrad_00U20B10B10B - 1483, // textureGrad_00a20B10B10B - 1485, // textureGrad_00f30B10B10B - 1487, // textureGrad_00m20B00B00B - 1488, // textureGrad_00h10B00B00B - 1489, // textureGrad_00p10B00B00B - 1490, // textureGrad_00u10B00B00B - 1491, // textureGrad_00i20B00B00B - 1492, // textureGrad_00k30B20B20B - 1494, // textureGrad_00s30B20B20B - 1496, // textureGrad_00x30B20B20B - 1498, // textureProjGrad_00I20B10B10B - 1500, // textureProjGrad_00R20B10B10B - 1502, // textureProjGrad_00X20B10B10B - 1504, // textureProjGrad_00I30B10B10B - 1506, // textureProjGrad_00R30B10B10B - 1508, // textureProjGrad_00X30B10B10B - 1510, // textureProjGrad_00J30B20B20B - 1512, // textureProjGrad_00S30B20B20B - 1514, // textureProjGrad_00Y30B20B20B - 1516, // textureProjGrad_00d30B10B10B - 1518, // textureProjGrad_00g10B00B00B - 1519, // textureProjGrad_00o10B00B00B - 1520, // textureProjGrad_00t10B00B00B - 1521, // textureProjGrad_00g30B00B00B - 1522, // textureProjGrad_00o30B00B00B - 1523, // textureProjGrad_00t30B00B00B - 1524, // textureProjGrad_00m30B00B00B - 1525, // textureProjGrad_00O20B10B10B - 1526, // textureProjGrad_00q20B10B10B - 1527, // textureProjGrad_00v20B10B10B - 1528, // textureProjGrad_00O30B10B10B - 1529, // textureProjGrad_00q30B10B10B - 1530, // textureProjGrad_00v30B10B10B - 1531, // textureProjGrad_00n30B10B10B - 1532, // textureQueryLevels_00g - 1533, // textureQueryLevels_00o - 1534, // textureQueryLevels_00t - 1535, // textureQueryLevels_00I - 1536, // textureQueryLevels_00R - 1537, // textureQueryLevels_00X - 1538, // textureQueryLevels_00J - 1539, // textureQueryLevels_00S - 1540, // textureQueryLevels_00Y - 1541, // textureQueryLevels_00K - 1542, // textureQueryLevels_00T - 1543, // textureQueryLevels_00Z - 1544, // textureQueryLevels_00h - 1545, // textureQueryLevels_00p - 1546, // textureQueryLevels_00u - 1547, // textureQueryLevels_00L - 1548, // textureQueryLevels_00U - 1549, // textureQueryLevels_00a - 1550, // textureQueryLevels_00k - 1551, // textureQueryLevels_00s - 1552, // textureQueryLevels_00x - 1553, // textureQueryLevels_00m - 1554, // textureQueryLevels_00d - 1555, // textureQueryLevels_00e - 1556, // textureQueryLevels_00i - 1557, // textureQueryLevels_00f - 1558, // textureQueryLevels_00l - 1559, // textureSamples_00P - 1560, // textureSamples_00V - 1561, // textureSamples_00b - 1562, // textureSamples_00Q - 1563, // textureSamples_00W - 1564, // textureSamples_00c - 1565, // textureSize_00P - 1568, // textureSize_00V - 1571, // textureSize_00b - 1574, // textureSize_00Q - 1576, // textureSize_00W - 1578, // textureSize_00c - 1580, // texture_00k30B - 1581, // texture_00s30B - 1582, // texture_00x30B - 1583, // texture_00k30B00B - 1584, // texture_00s30B00B - 1585, // texture_00x30B00B - 1586, // textureGather_00k30B - 1588, // textureGather_00s30B - 1590, // textureGather_00x30B - 1592, // textureGather_00k30B00D - 1594, // textureGather_00s30B00D - 1596, // textureGather_00x30B00D - 1598, // textureGather_00l30B00B - 1600, // texelFetch_00P10D00D - 1603, // texelFetch_00V10D00D - 1606, // texelFetch_00b10D00D - 1609, // texelFetch_00Q20D00D - 1611, // texelFetch_00W20D00D - 1613, // texelFetch_00c20D00D - 1615, // texture_00I10B00B - 1617, // texture_00R10B00B - 1619, // texture_00X10B00B - 1621, // texture_00J20B00B - 1623, // texture_00S20B00B - 1625, // texture_00Y20B00B - 1627, // texture_00K20B00B - 1629, // texture_00T20B00B - 1631, // texture_00Z20B00B - 1633, // texture_00L20B00B - 1635, // texture_00U20B00B - 1637, // texture_00a20B00B - 1639, // textureProj_00I20B00B - 1641, // textureProj_00R20B00B - 1643, // textureProj_00X20B00B - 1645, // textureProj_00I30B00B - 1647, // textureProj_00R30B00B - 1649, // textureProj_00X30B00B - 1651, // textureProj_00J30B00B - 1653, // textureProj_00S30B00B - 1655, // textureProj_00Y30B00B - 1657, // texture_00d20B00B - 1659, // texture_00e30B00B - 1661, // textureProj_00d30B00B - 1663, // texture_00g00B00B - 1664, // texture_00o00B00B - 1665, // texture_00t00B00B - 1666, // texture_00m20B00B - 1667, // texture_00h20B00B - 1668, // texture_00p20B00B - 1669, // texture_00u20B00B - 1670, // texture_00i20B00B - 1671, // texture_00f30B00B - 1672, // textureProj_00g10B00B - 1673, // textureProj_00o10B00B - 1674, // textureProj_00t10B00B - 1675, // textureProj_00g30B00B - 1676, // textureProj_00o30B00B - 1677, // textureProj_00t30B00B - 1678, // textureProj_00m30B00B - 1679, // texture_00M10B00B - 1680, // textureProj_00M20B00B - 1681, // textureProj_00M30B00B - 1682, // texture_00N10B00B - 1683, // textureProj_00N20B00B - 1684, // textureProj_00N30B00B - 1685, // textureQueryLod_00g00B - 1686, // textureQueryLod_00o00B - 1687, // textureQueryLod_00t00B - 1688, // textureQueryLod_00I10B - 1689, // textureQueryLod_00R10B - 1690, // textureQueryLod_00X10B - 1691, // textureQueryLod_00J20B - 1692, // textureQueryLod_00S20B - 1693, // textureQueryLod_00Y20B - 1694, // textureQueryLod_00K20B - 1695, // textureQueryLod_00T20B - 1696, // textureQueryLod_00Z20B - 1697, // textureQueryLod_00h00B - 1698, // textureQueryLod_00p00B - 1699, // textureQueryLod_00u00B - 1700, // textureQueryLod_00L10B - 1701, // textureQueryLod_00U10B - 1702, // textureQueryLod_00a10B - 1703, // textureQueryLod_00k20B - 1704, // textureQueryLod_00s20B - 1705, // textureQueryLod_00x20B - 1706, // textureQueryLod_00m00B - 1707, // textureQueryLod_00d10B - 1708, // textureQueryLod_00e20B - 1709, // textureQueryLod_00i00B - 1710, // textureQueryLod_00f10B - 1711, // textureQueryLod_00l20B - 1712, // textureOffset_00I10B10D - 1714, // textureOffset_00R10B10D - 1716, // textureOffset_00X10B10D - 1718, // textureOffset_00J20B20D - 1720, // textureOffset_00S20B20D - 1722, // textureOffset_00Y20B20D - 1724, // textureOffset_00d20B10D - 1726, // textureOffset_00L20B10D - 1728, // textureOffset_00U20B10D - 1730, // textureOffset_00a20B10D - 1732, // textureOffset_00g00B00D - 1733, // textureOffset_00o00B00D - 1734, // textureOffset_00t00B00D - 1735, // textureOffset_00O10B10D - 1736, // textureOffset_00q10B10D - 1737, // textureOffset_00v10B10D - 1738, // textureOffset_00n20B10D - 1739, // textureOffset_00m20B00D - 1740, // textureOffset_00h10B00D - 1741, // textureOffset_00p10B00D - 1742, // textureOffset_00u10B00D - 1743, // textureOffset_00i20B00D - 1744, // textureOffset_00f30B10D - 1745, // textureProjOffset_00I20B10D - 1747, // textureProjOffset_00R20B10D - 1749, // textureProjOffset_00X20B10D - 1751, // textureProjOffset_00I30B10D - 1753, // textureProjOffset_00R30B10D - 1755, // textureProjOffset_00X30B10D - 1757, // textureProjOffset_00J30B20D - 1759, // textureProjOffset_00S30B20D - 1761, // textureProjOffset_00Y30B20D - 1763, // textureProjOffset_00d30B10D - 1765, // textureProjOffset_00g10B00D - 1766, // textureProjOffset_00o10B00D - 1767, // textureProjOffset_00t10B00D - 1768, // textureProjOffset_00g30B00D - 1769, // textureProjOffset_00o30B00D - 1770, // textureProjOffset_00t30B00D - 1771, // textureProjOffset_00O20B10D - 1772, // textureProjOffset_00q20B10D - 1773, // textureProjOffset_00v20B10D - 1774, // textureProjOffset_00O30B10D - 1775, // textureProjOffset_00q30B10D - 1776, // textureProjOffset_00v30B10D - 1777, // textureProjOffset_00n30B10D - 1778, // textureProjOffset_00m30B00D - 1779, // textureLodOffset_00I10B00B10D - 1781, // textureLodOffset_00R10B00B10D - 1783, // textureLodOffset_00X10B00B10D - 1785, // textureLodOffset_00J20B00B20D - 1787, // textureLodOffset_00S20B00B20D - 1789, // textureLodOffset_00Y20B00B20D - 1791, // textureLodOffset_00d20B00B10D - 1793, // textureLodOffset_00L20B00B10D + 0, // textureProj_00R30B00B + 2, // imageAtomicExchange_01g00D00E + 4, // interpolateAtOffset_30B10B + 7, // textureProjOffset_00g10B00D + 8, // imageAtomicOr_00z10D00D + 10, // texture2DProj_00I20B + 12, // textureProjGradOffset_00v30B10B10B10D + 13, // texelFetch_00o00D00D + 14, // imageLoad_01g00D + 16, // imageAtomicAdd_01S10D00D00E + 18, // imageLoad_01I20D + 20, // tanh_30B + 22, // imageAtomicCompSwap_01E20D00D00D + 24, // textureQueryLod_00m00B + 25, // not_10F + 27, // findMSB_20E + 29, // lessThanEqual_30B30B + 31, // imageAtomicAdd_00z10D00E + 33, // textureLod_00t00B00B + 34, // textureProjGradOffset_00O30B10B10B10D + 35, // outerProduct_20B30B + 37, // imageAtomicOr_00z10D00E + 39, // imageSamples_01W + 40, // imageSamples_01V + 41, // imageSamples_01U + 42, // imageSamples_01T + 43, // imageSamples_01S + 44, // mix_20B20B00B + 46, // textureLodOffset_00o00B00B00D + 47, // imageAtomicMin_01S10D00D00E + 49, // uintBitsToFloat_30E + 51, // imageAtomicExchange_01R10D00D00B + 53, // textureSize_00K00D + 55, // textureSize_00h00D + 56, // gl_MaxAtomicCounterBindings + 58, // texelFetchOffset_00q10D10D + 59, // greaterThanEqual_10E10E + 61, // texture_00d20B + 63, // atan_10B10B + 65, // clamp_30B30B30B + 67, // imageAtomicCompSwap_01a20D00E00E + 69, // imageAtomicCompSwap_01R10D00D00D00D + 71, // textureLodOffset_00a20B00B10D + 73, // greaterThanEqual_20B20B + 75, // imageLoad_01F20D + 77, // ceil_10C + 78, // imageAtomicCompSwap_01b20D00D00D + 80, // imageAtomicAnd_01A10D00D + 82, // imageAtomicAdd_01D20D00E + 84, // atomicAdd_00D00D + 86, // textureSize_00p00D + 87, // floatBitsToUint_20B + 89, // textureProjOffset_00t30B00D00B + 90, // mix_20D20D20F + 92, // degrees_20B + 94, // imageAtomicMin_01Y10D00D + 96, // imageAtomicXor_01R10D00D00D + 98, // imageAtomicCompSwap_01D20D00D00D + 100, // min_00C00C + 101, // imageAtomicMax_01S10D00D00E + 103, // inversesqrt_00C + 104, // inversesqrt_00B + 106, // texelFetchOffset_00J20D00D20D + 108, // textureProjGrad_00S30B20B20B + 110, // equal_10D10D + 112, // max_30D00D + 114, // groupMemoryBarrier_ + 116, // imageAtomicExchange_01b20D00B + 118, // imageAtomicExchange_01b20D00E + 120, // imageAtomicExchange_01b20D00D + 122, // step_20C20C + 123, // texelFetch_00I10D00D + 125, // mod_00C00C + 126, // transpose_E0B + 128, // imageAtomicMin_01R10D00D00E + 130, // imageAtomicMin_01R10D00D00D + 132, // imageAtomicExchange_01i00D00E + 134, // textureGather_00O20B + 135, // textureProjOffset_00Y30B20D00B + 137, // imageStore_01C20D30B + 139, // modf_10B10B + 141, // determinant_50B + 142, // imageAtomicCompSwap_01J20D00E00E + 144, // textureProj_00g10B00B + 145, // lessThan_20B20B + 147, // imageAtomicCompSwap_01W20D00D00E00E + 149, // imageStore_01K20D30E + 151, // gl_MaxFragmentInputVectors + 153, // sign_20C + 154, // cosh_20B + 156, // sign_20D + 158, // atanh_00B + 160, // imageAtomicAnd_01V20D00D00E + 162, // imageAtomicAnd_01V20D00D00D + 164, // textureProj_00t10B + 165, // texture_00p20B00B + 166, // fma_10C10C10C + 167, // imageAtomicXor_01Y10D00D + 169, // imageAtomicXor_01Y10D00E + 171, // imageAtomicAnd_01C20D00E + 173, // textureOffset_00d20B10D00B + 175, // textureOffset_00m20B00D + 176, // imageAtomicAnd_01C20D00D + 178, // lessThan_10E10E + 180, // imageAtomicCompSwap_01A10D00D00D + 182, // textureGrad_00X00B00B00B + 183, // textureProjLodOffset_00t30B00B00D + 184, // fma_30C30C30C + 185, // textureGrad_00v10B10B10B + 186, // textureProj_00N30B00B + 187, // step_00C00C + 188, // gl_MaxCombinedShaderOutputResources + 190, // imageAtomicCompSwap_01T10D00D00D00D + 192, // texture_00I10B00B + 194, // texelFetch_00j00D + 196, // lessThan_20D20D + 198, // clamp_20C20C20C + 199, // imageAtomicXor_00z10D00E + 201, // all_10F + 203, // dFdyCoarse_00B + 204, // isinf_30B + 206, // textureGatherOffset_00a20B10D00D + 208, // textureGatherOffset_00I10B10D + 210, // textureProjOffset_00q30B10D + 211, // textureOffset_00L20B10D + 213, // lessThanEqual_30E30E + 215, // min_10E00E + 217, // imageAtomicXor_01a20D00E + 219, // imageAtomicXor_01a20D00D + 221, // textureProjOffset_00S30B20D + 223, // round_00C + 224, // round_00B + 226, // gl_LastFragData + 228, // greaterThan_30D30D + 230, // texture_00U20B + 232, // imageAtomicCompSwap_01P10D00E00E + 234, // smoothstep_00C00C20C + 235, // texture2DRect_00O10B + 236, // imageLoad_01N00D + 237, // noise2_20B + 238, // step_20B20B + 240, // imageAtomicAnd_01b20D00E + 242, // findMSB_10E + 244, // findMSB_10D + 246, // interpolateAtOffset_00B10B + 249, // texture_00t00B + 250, // textureLodOffset_00S20B00B20D + 252, // textureQueryLod_00p00B + 253, // imageStore_00z10D30B + 255, // textureGatherOffsets_00X10B10Dx400D + 258, // outerProduct_10B20B + 260, // imageAtomicMax_01Z10D00E + 262, // fwidthFine_10B + 263, // cos_30B + 265, // unpackHalf2x16_00E + 267, // outerProduct_10B10B + 269, // imageAtomicOr_01M00D00D + 271, // gl_MaxComputeTextureImageUnits + 273, // imageAtomicMax_01Y10D00E + 275, // imageAtomicMax_01Y10D00D + 277, // sin_30B + 279, // imageAtomicAnd_01O10D00D + 281, // textureGather_00L20B00D + 283, // imageStore_01i00D30E + 285, // imageStore_01A10D30D + 287, // gl_MaxGeometryOutputVertices + 288, // imageAtomicXor_01H20D00D + 290, // imageAtomicXor_01H20D00E + 292, // shadow1D_00m20B00B + 293, // max_10E10E + 295, // max_30B30B + 297, // clamp_10E10E10E + 299, // texture_00N10B + 300, // textureProjGrad_00t30B00B00B + 301, // imageAtomicOr_01E20D00D + 303, // imageAtomicOr_01E20D00E + 305, // texelFetchOffset_00a20D00D10D + 307, // imageLoad_01V20D00D + 308, // not_20F + 310, // imageAtomicExchange_01F20D00D + 312, // imageAtomicExchange_01F20D00B + 314, // imageStore_01L00D30B + 315, // outerProduct_20B20B + 317, // imageAtomicXor_01D20D00D + 319, // textureProjLodOffset_00R20B00B10D + 321, // textureOffset_00p10B00D + 322, // texture_00h20B + 323, // textureProjGrad_00J30B20B20B + 325, // imageAtomicOr_01R10D00D00E + 327, // imageAtomicOr_01R10D00D00D + 329, // textureProjOffset_00g10B00D00B + 330, // gl_InvocationID + 331, // imageAtomicAnd_01R10D00D00D + 333, // imageAtomicAdd_01E20D00E + 335, // radians_10B + 337, // textureGatherOffset_00n10B00B10D + 338, // noise2_10B + 339, // textureQueryLod_00a10B + 340, // textureGather_00e20B00B + 342, // distance_10B10B + 344, // textureGrad_00Z20B20B20B + 346, // sign_00B + 348, // bitfieldReverse_00D + 350, // bitfieldReverse_00E + 352, // bitfieldExtract_30E00D00D + 354, // textureLod_00I10B00B + 356, // greaterThanEqual_10D10D + 358, // imageAtomicCompSwap_01I20D00E00E + 360, // degrees_30B + 362, // inversesqrt_30B + 364, // inversesqrt_30C + 365, // imageAtomicMin_01I20D00D + 367, // textureGather_00v20B00D + 368, // intBitsToFloat_20D + 370, // exp_20B + 372, // imageAtomicMax_01A10D00E + 374, // imageAtomicMax_01A10D00D + 376, // acosh_00B + 378, // log_10B + 380, // textureProjLodOffset_00S30B00B20D + 382, // textureGather_00L20B + 384, // textureProj_00n30B + 385, // textureQueryLod_00i00B + 386, // texture_00p20B + 387, // outerProduct_30B20B + 389, // texture_00S20B + 391, // atomicXor_00D00D + 393, // texelFetch_00Y20D00D + 395, // imageAtomicOr_01P10D00D + 397, // imageAtomicOr_01P10D00E + 399, // bitfieldExtract_10D00D00D + 401, // sign_30B + 403, // sign_30C + 404, // sign_30D + 406, // texture_00Y20B00B + 408, // dFdy_20B + 411, // textureProj_00Y30B + 413, // textureOffset_00X10B10D00B + 415, // memoryBarrierBuffer_ + 417, // isinf_00B + 419, // isinf_00C + 420, // clamp_20D00D00D + 422, // texture2DProj_00I20B00B + 424, // mod_30B00B + 426, // imageAtomicAnd_01A10D00E + 428, // textureGather_00f20B00B + 430, // textureProj_00m30B + 431, // greaterThan_20E20E + 433, // textureProjLod_00I30B00B + 435, // refract_00B00B00B + 437, // gl_MaxGeometryImageUniforms + 438, // imageAtomicMin_01X10D00D + 440, // imageAtomicMin_01X10D00E + 442, // noise4_20B + 443, // textureSize_00e00D + 445, // imageStore_01N00D30E + 446, // gl_NumWorkGroups + 448, // texelFetch_00a20D00D + 450, // step_00C10C + 451, // frexp_30B30D + 453, // imageAtomicMin_01Y10D00E + 455, // texture_00t00B00B + 456, // min_30C00C + 457, // imageAtomicCompSwap_01X10D00E00E + 459, // texture_00I10B + 461, // gl_InstanceID + 463, // normalize_20B + 465, // normalize_20C + 466, // imageAtomicCompSwap_01H20D00D00D + 468, // inverse_F0B + 470, // frexp_20C20D + 471, // atan_00B + 473, // textureGatherOffset_00R10B10D00D + 475, // imageAtomicMin_01h00D00E + 477, // imageAtomicMin_01h00D00D + 479, // greaterThan_30E30E + 481, // imageAtomicAdd_01N00D00D + 483, // imageAtomicAdd_01N00D00E + 485, // texelFetchOffset_00p10D00D00D + 486, // imageAtomicAnd_01J20D00D + 488, // imageAtomicAnd_01J20D00E + 490, // gl_DepthRange + 492, // imageAtomicMax_01S10D00D00D + 494, // textureProj_00o30B + 495, // imageAtomicAdd_01I20D00E + 497, // bitfieldExtract_20D00D00D + 499, // texture_00L20B00B + 501, // imageAtomicOr_01L00D00E + 503, // imageAtomicOr_01L00D00D + 505, // mix_30D30D30F + 507, // gl_MaxComputeUniformComponents + 509, // imageLoad_01h00D + 511, // imageAtomicCompSwap_01E20D00E00E + 513, // textureProjOffset_00O30B10D + 514, // floor_10B + 516, // floor_10C + 517, // imageAtomicMax_01R10D00D00E + 519, // imageAtomicMax_01R10D00D00D + 521, // textureProjLodOffset_00o10B00B00D + 522, // textureGather_00x30B00D + 524, // interpolateAtSample_10B00D + 527, // imageAtomicMin_01F20D00E + 529, // imageAtomicMin_01F20D00D + 531, // outerProduct_10B30B + 533, // texture_00k30B + 534, // imageAtomicCompSwap_01O10D00E00E + 536, // cos_00B + 538, // imageAtomicXor_01F20D00E + 540, // imageAtomicXor_01B10D00E + 542, // frexp_00C00D + 543, // atomicCounterCompSwap_00G00E00E + 544, // textureOffset_00a20B10D00B + 546, // imageAtomicCompSwap_01b20D00E00E + 548, // textureGather_00X10B + 550, // imageLoad_01T10D00D + 551, // textureOffset_00R10B10D00B + 553, // textureGatherOffset_00d10B00B10D + 555, // gl_MaxFragmentImageUniforms + 557, // textureSize_00i00D + 558, // equal_20E20E + 560, // uaddCarry_00E00E00E + 562, // textureQueryLod_00T20B + 563, // textureCube_00K20B + 565, // imageAtomicMax_01U20D00D00E + 567, // imageAtomicMax_01U20D00D00D + 569, // imageAtomicAnd_01K20D00D + 571, // matrixCompMult_90B90B + 572, // textureGatherOffsets_00I10B10Dx4 + 575, // textureGradOffset_00p10B00B00B00D + 576, // textureProjLodOffset_00g30B00B00D + 577, // clamp_30E00E00E + 579, // asin_00B + 581, // textureProjOffset_00J30B20D00B + 583, // texelFetch_00w00D + 585, // notEqual_30E30E + 587, // imageAtomicOr_01K20D00D + 589, // imageAtomicOr_01K20D00E + 591, // lessThanEqual_10E10E + 593, // inversesqrt_20C + 594, // inversesqrt_20B + 596, // textureLod_00i20B00B + 597, // textureOffset_00u10B00D00B + 598, // reflect_00C00C + 599, // atomicAdd_00E00E + 601, // intBitsToFloat_30D + 603, // textureProjGradOffset_00v20B10B10B10D + 604, // textureGrad_00X10B10B10B + 606, // greaterThanEqual_30E30E + 608, // mix_20B20B20F + 610, // imageAtomicExchange_01T10D00D00E + 612, // imageAtomicExchange_01T10D00D00D + 614, // gl_MaxVertexAtomicCounters + 616, // mix_20B20B20B + 618, // any_10F + 620, // textureProjGradOffset_00d30B10B10B10D + 622, // imageLoad_01X10D + 623, // textureProjOffset_00I30B10D + 625, // textureOffset_00X10B10D + 627, // texture_00R10B + 629, // imageAtomicXor_01R10D00D00E + 631, // imageStore_01M00D30D + 632, // radians_00B + 634, // textureGatherOffsets_00f20B00B10Dx4 + 637, // step_10B10B + 639, // gl_MaxDualSourceDrawBuffersEXT + 640, // imageAtomicAdd_01Y10D00D + 642, // imageAtomicAdd_01Y10D00E + 644, // bitfieldReverse_10E + 646, // bitfieldReverse_10D + 648, // imageStore_01g00D30B + 650, // textureProjGradOffset_00q20B10B10B10D + 651, // imageAtomicExchange_01S10D00D00E + 653, // atomicXor_00E00E + 655, // mix_00C00C00F + 656, // textureLodOffset_00g00B00B00D + 657, // greaterThan_30B30B + 659, // gl_MaxFragmentAtomicCounters + 661, // faceforward_20B20B20B + 663, // textureSize_00x00D + 665, // textureProj_00S30B00B + 667, // fma_20B20B20B + 670, // textureProjLod_00o10B00B + 671, // imageAtomicMin_01J20D00E + 673, // outerProduct_30B30B + 675, // exp_30B + 677, // bitCount_10E + 679, // bitCount_10D + 681, // log_00B + 683, // mix_00F00F00F + 685, // imageAtomicCompSwap_01M00D00D00D + 687, // imageAtomicAdd_01Q10D00E + 689, // acosh_30B + 691, // imageAtomicOr_01Y10D00E + 693, // imageAtomicOr_01Y10D00D + 695, // textureGradOffset_00X10B10B10B10D + 697, // texelFetchOffset_00X10D00D10D + 699, // packUnorm2x16_10B + 701, // texture_00h20B00B + 702, // umulExtended_20E20E20E20E + 704, // texture_00m20B00B + 705, // textureProjGradOffset_00g30B00B00B00D + 706, // textureProj_00o30B00B + 707, // imageAtomicCompSwap_01T10D00D00E00E + 709, // textureCubeLod_00K20B00B + 711, // textureSize_00L00D + 713, // imageAtomicXor_01L00D00E + 715, // imageAtomicCompSwap_01Q10D00D00D + 717, // max_20E00E + 719, // textureProj_00S30B + 721, // dFdy_30B + 724, // isinf_10C + 725, // isinf_10B + 727, // gl_MaxVertexTextureImageUnits + 729, // greaterThanEqual_30B30B + 731, // texture2DProjLodEXT_00I20B00B + 732, // gl_FrontFacing + 734, // textureProjOffset_00t10B00D00B + 735, // acos_10B + 737, // textureCube_00K20B00B + 739, // lessThan_10B10B + 741, // imageAtomicCompSwap_01B10D00E00E + 743, // gl_MaxComputeAtomicCounterBuffers + 745, // textureSize_00f00D + 747, // texelFetchOffset_00h10D00D00D + 748, // mod_20C00C + 749, // imageAtomicAnd_01g00D00D + 751, // gl_LastFragColorARM + 752, // textureGatherOffsets_00q10B10Dx4 + 753, // lessThanEqual_20D20D + 755, // textureQueryLod_00k20B + 756, // imageAtomicAdd_01B10D00E + 758, // textureProjLod_00Y30B00B + 760, // gl_SecondaryFragColorEXT + 761, // imageAtomicAnd_01U20D00D00D + 763, // imageAtomicAnd_01U20D00D00E + 765, // gl_BaseInstance + 766, // transpose_B0B + 768, // imageAtomicXor_01b20D00E + 770, // mix_20F20F20F + 772, // smoothstep_00B00B30B + 774, // imageAtomicExchange_01M00D00B + 776, // imageAtomicExchange_01M00D00D + 778, // imageAtomicExchange_01M00D00E + 780, // textureQueryLod_00d10B + 781, // texelFetch_00N10D00D + 782, // textureSize_00a00D + 784, // EmitStreamVertex_00D + 785, // textureProjOffset_00Y30B20D + 787, // textureOffset_00n20B10D + 788, // atan_30B + 790, // imageAtomicMax_01b20D00E + 792, // imageAtomicMax_01b20D00D + 794, // ceil_10B + 796, // textureSize_00S00D + 798, // imageAtomicExchange_01S10D00D00B + 800, // atomicCounterDecrement_00G + 802, // ceil_30B + 804, // imageAtomicAnd_01Q10D00D + 806, // imageAtomicAnd_01Q10D00E + 808, // imageAtomicAnd_01c20D00E + 810, // imageAtomicAnd_01c20D00D + 812, // textureSize_00t00D + 813, // texture_00f30B + 815, // imageSamples_01R + 816, // texelFetch_00R10D00D + 818, // sign_20B + 820, // smoothstep_30B30B30B + 822, // imageAtomicExchange_01T10D00D00B + 824, // textureGrad_00R10B10B10B + 826, // min_00D00D + 828, // textureProj_00t10B00B + 829, // shadow2DProjEXT_00d30B + 830, // imageAtomicAdd_01V20D00D00E + 832, // ldexp_20B20D + 834, // greaterThanEqual_30D30D + 836, // imageLoad_01D20D + 838, // findLSB_10E + 840, // texture_00Z20B00B + 842, // imageAtomicXor_01S10D00D00E + 844, // imageAtomicXor_01S10D00D00D + 846, // cos_10B + 848, // texelFetch_00v10D + 849, // texture_00e30B + 851, // textureSize_00T00D + 853, // imageAtomicAnd_01g00D00E + 855, // textureSize_00u00D + 856, // textureProjGradOffset_00Y30B20B20B20D + 858, // noise3_30B + 859, // textureGrad_00T20B20B20B + 861, // texture1DProj_00g10B00B + 862, // textureProjOffset_00d30B10D00B + 864, // imageAtomicMin_01B10D00D + 866, // imageAtomicMin_01B10D00E + 868, // imageAtomicXor_01U20D00D00D + 870, // imageAtomicXor_01U20D00D00E + 872, // imageAtomicAdd_01h00D00D + 874, // imageAtomicAdd_01h00D00E + 876, // matrixCompMult_50B50B + 878, // equal_30B30B + 880, // imageAtomicExchange_01E20D00B + 882, // textureLod_00U20B00B + 884, // imageAtomicXor_01I20D00E + 886, // imageAtomicXor_01I20D00D + 888, // textureOffset_00h10B00D + 889, // textureLod_00p10B00B + 890, // max_20C20C + 891, // max_10B10B + 893, // gl_PointSize + 895, // imageAtomicCompSwap_01F20D00E00E + 897, // asin_10B + 899, // sinh_00B + 901, // imageAtomicAdd_01g00D00D + 903, // imageAtomicCompSwap_01h00D00E00E + 905, // textureOffset_00S20B20D + 907, // fma_20C20C20C + 908, // textureProj_00R20B + 910, // greaterThan_10E10E + 912, // imageAtomicAnd_01M00D00E + 914, // imageAtomicAdd_01B10D00D + 916, // imageAtomicAnd_01M00D00D + 918, // textureGatherOffsets_00n10B00B10Dx4 + 919, // EmitVertex_ + 921, // smoothstep_20B20B20B + 923, // textureSamples_00b + 924, // textureOffset_00J20B20D + 926, // texelFetch_00J20D00D + 928, // imageAtomicExchange_01V20D00D00E + 930, // imageAtomicExchange_01V20D00D00B + 932, // imageAtomicCompSwap_01Y10D00E00E + 934, // gl_ViewID_OVR + 935, // radians_30B + 937, // fract_30B + 939, // imageAtomicMin_01H20D00E + 941, // uaddCarry_20E20E20E + 943, // textureProjGrad_00X30B10B10B + 945, // textureSamples_00P + 946, // textureProjOffset_00v20B10D + 947, // shadow2D_00d20B00B + 948, // texelFetchOffset_00o00D00D00D + 949, // textureSamples_00V + 950, // textureSamples_00W + 951, // textureProjGrad_00q30B10B10B + 952, // textureGatherOffset_00O10B10D + 953, // clamp_10D00D00D + 955, // gl_MaxComputeImageUniforms + 957, // textureLod_00L20B00B + 959, // imageAtomicExchange_01A10D00B + 961, // imageAtomicCompSwap_01V20D00D00D00D + 963, // imageAtomicExchange_01A10D00E + 965, // imageAtomicExchange_01A10D00D + 967, // imageAtomicXor_01b20D00D + 969, // texture_00n20B + 970, // ldexp_20C20D + 971, // clamp_00E00E00E + 973, // length_20B + 975, // ldexp_00B00D + 977, // bitfieldInsert_00D00D00D00D + 979, // textureProjGrad_00Y30B20B20B + 981, // imageAtomicAdd_01W20D00D00E + 983, // roundEven_30B + 985, // roundEven_30C + 986, // acosh_20B + 988, // atanh_10B + 990, // length_20C + 991, // clamp_10B10B10B + 993, // textureGatherOffset_00L20B10D00D + 995, // bitCount_00D + 997, // bitCount_00E + 999, // floatBitsToInt_30B + 1001, // max_20B00B + 1003, // imageAtomicAdd_00z10D00D + 1005, // texelFetchOffset_00Y20D00D20D + 1007, // atomicExchange_00E00E + 1009, // imageAtomicXor_01h00D00D + 1011, // imageAtomicXor_01h00D00E + 1013, // ldexp_30C30D + 1014, // texture_00o00B + 1015, // texture_00x30B00B + 1016, // lessThanEqual_20B20B + 1018, // min_10B00B + 1020, // textureQueryLod_00f10B + 1021, // smoothstep_10C10C10C + 1022, // imageAtomicAnd_01L00D00D + 1024, // imageAtomicAnd_01L00D00E + 1026, // mix_30F30F30F + 1028, // imageAtomicMax_01T10D00D00E + 1030, // imageAtomicMax_01T10D00D00D + 1032, // textureGatherOffsets_00O10B10Dx400D + 1033, // abs_20D + 1035, // abs_20C + 1036, // abs_20B + 1038, // lessThanEqual_10B10B + 1040, // min_30E30E + 1042, // imageAtomicOr_01a20D00D + 1044, // mix_00B00B00B + 1046, // mix_00B00B00F + 1048, // textureGather_00s30B00D + 1050, // textureProj_00I20B + 1052, // textureLodOffset_00p10B00B00D + 1053, // gl_MaxVertexAtomicCounterBuffers + 1055, // unpackDouble2x32_00C + 1056, // acos_00B + 1058, // textureGradOffset_00J20B20B20B20D + 1060, // fma_00C00C00C + 1061, // texture2DGradEXT_00I10B10B10B + 1062, // imageAtomicCompSwap_01G20D00D00D + 1064, // imageAtomicAnd_01I20D00D + 1066, // texture2DProjGradEXT_00I30B10B10B + 1067, // fma_30B30B30B + 1070, // imageAtomicAdd_01L00D00D + 1072, // texture_00i20B00B + 1073, // gl_MaxComputeWorkGroupCount + 1075, // clamp_20C00C00C + 1076, // imageAtomicMax_01X10D00E + 1078, // imageLoad_01i00D + 1080, // mix_30E30E30F + 1082, // gl_FragColor + 1084, // imageAtomicMin_01G20D00D + 1086, // imageAtomicMin_01G20D00E + 1088, // imageAtomicExchange_01S10D00D00D + 1090, // atan_20B + 1092, // interpolateAtSample_30B00D + 1095, // dFdxCoarse_30B + 1096, // texture_00M10B + 1097, // min_10B10B + 1099, // textureLodOffset_00h10B00B00D + 1100, // EndStreamPrimitive_00D + 1101, // pow_10B10B + 1103, // texture_00Y20B + 1105, // imageAtomicXor_01P10D00D + 1107, // texture_00X10B00B + 1109, // frexp_00B00D + 1111, // texture2D_00I10B + 1113, // imageLoad_01O10D + 1114, // ceil_20C + 1115, // ceil_20B + 1117, // imageAtomicMin_01b20D00E + 1119, // imageAtomicMin_01b20D00D + 1121, // imageAtomicMax_01P10D00D + 1123, // imageAtomicMax_01P10D00E + 1125, // imageAtomicExchange_01P10D00B + 1127, // textureProjOffset_00R20B10D + 1129, // imageStore_01V20D00D30D + 1130, // subpassLoad_01m00D + 1131, // textureOffset_00I10B10D + 1133, // min_20B00B + 1135, // reflect_00B00B + 1137, // noise4_10B + 1138, // sqrt_10C + 1139, // sqrt_10B + 1141, // clamp_20E20E20E + 1143, // textureGradOffset_00g00B00B00B00D + 1144, // textureGather_00q20B + 1145, // noise3_00B + 1146, // imageAtomicOr_01G20D00D + 1148, // imageAtomicOr_01G20D00E + 1150, // imageAtomicMin_01C20D00D + 1152, // imageAtomicMin_01C20D00E + 1154, // imageAtomicAnd_01F20D00E + 1156, // imageStore_01a20D30B + 1158, // textureProjLod_00d30B00B + 1160, // imageLoad_01H20D + 1162, // textureProjGradOffset_00I20B10B10B10D + 1164, // interpolateAtSample_20B00D + 1167, // reflect_10B10B + 1169, // refract_10B10B00B + 1171, // imageAtomicMax_01h00D00D + 1173, // mix_20C20C20F + 1174, // imageAtomicExchange_01X10D00D + 1176, // imageAtomicExchange_01X10D00E + 1178, // mix_20C20C20C + 1179, // textureOffset_00v10B10D + 1180, // imageAtomicExchange_01Q10D00E + 1182, // imageAtomicExchange_01Q10D00D + 1184, // imageAtomicMin_01P10D00D + 1186, // sinh_30B + 1188, // textureSize_00m00D + 1189, // imageAtomicMin_01N00D00E + 1191, // imageAtomicMin_01N00D00D + 1193, // textureQueryLod_00e20B + 1194, // asinh_20B + 1196, // imageAtomicAdd_01C20D00D + 1198, // imageAtomicCompSwap_01I20D00D00D + 1200, // textureProj_00O20B + 1202, // imageAtomicCompSwap_01M00D00E00E + 1204, // frexp_10B10D + 1206, // inverse_50B + 1208, // dot_10B10B + 1210, // noise2_00B + 1211, // textureProjGradOffset_00o10B00B00B00D + 1212, // radians_20B + 1214, // atomicCompSwap_00E00E00E + 1216, // textureGrad_00I00B00B00B + 1217, // textureGrad_00Y20B20B20B + 1219, // imageAtomicCompSwap_01Z10D00D00D + 1221, // gl_MaxVertexUniformVectors + 1223, // imageAtomicExchange_01W20D00D00B + 1225, // textureOffset_00o00B00D00B + 1226, // imageAtomicExchange_01W20D00D00E + 1228, // imageAtomicExchange_01W20D00D00D + 1230, // ftransform_ + 1231, // textureProj_00X20B + 1233, // textureProjOffset_00n30B10D + 1234, // imageAtomicOr_01W20D00D00E + 1236, // imageAtomicOr_01W20D00D00D + 1238, // greaterThanEqual_20E20E + 1240, // textureProj_00M20B + 1241, // texture3DProjLod_00J30B00B + 1243, // isinf_30C + 1244, // imageAtomicAdd_01Z10D00E + 1246, // imageAtomicAdd_01Z10D00D + 1248, // mix_10D10D10F + 1250, // textureProjGrad_00g10B00B00B + 1251, // log_20B + 1253, // imageAtomicMax_01D20D00E + 1255, // imageAtomicMax_01D20D00D + 1257, // textureOffset_00h10B00D00B + 1258, // modf_30B30B + 1260, // roundEven_20C + 1261, // roundEven_20B + 1263, // outerProduct_30B10B + 1265, // textureProj_00J30B + 1267, // imageAtomicOr_01F20D00E + 1269, // imageAtomicOr_01F20D00D + 1271, // textureLodOffset_00t00B00B00D + 1272, // floatBitsToInt_20B + 1274, // texelFetch_00U20D00D + 1276, // max_00D00D + 1278, // round_20C + 1279, // atomicMin_00E00E + 1281, // textureGradOffset_00v10B10B10B10D + 1282, // textureGrad_00n20B10B10B + 1283, // imageLoad_01S10D00D + 1284, // shadow2DEXT_00d20B + 1285, // textureGatherOffsets_00a20B10Dx4 + 1288, // max_20E20E + 1290, // imageAtomicCompSwap_01F20D00D00D + 1292, // abs_10D + 1294, // abs_10B + 1296, // abs_10C + 1297, // gl_FragDepthEXT + 1298, // imageAtomicAdd_01V20D00D00D + 1300, // gl_ClipDistance + 1301, // modf_30C30C + 1302, // imageAtomicMin_01T10D00D00E + 1304, // imageAtomicMin_01T10D00D00D + 1306, // textureGrad_00i20B00B00B + 1307, // textureProj_00g10B + 1308, // equal_20B20B + 1310, // textureProjLodOffset_00X20B00B10D + 1312, // max_30C00C + 1313, // texture_00U20B00B + 1315, // textureProj_00I30B + 1317, // mix_00E00E00F + 1319, // imageAtomicCompSwap_01h00D00D00D + 1321, // mix_00D00D00F + 1323, // textureProjOffset_00q20B10D + 1324, // texture_00i20B + 1325, // textureGradOffset_00a20B10B10B10D + 1327, // smoothstep_00B00B20B + 1329, // textureLod_00s30B00B + 1331, // imageAtomicOr_01C20D00D + 1333, // imageAtomicOr_01C20D00E + 1335, // imageAtomicXor_01g00D00E + 1337, // notEqual_30B30B + 1339, // textureGatherOffset_00f20B00B10D + 1341, // imageAtomicAnd_01N00D00D + 1343, // imageAtomicAnd_01N00D00E + 1345, // imageSize_00z + 1347, // mod_10C10C + 1348, // imageAtomicXor_01g00D00D + 1350, // faceforward_00C00C00C + 1351, // textureGrad_00a20B10B10B + 1353, // dFdxCoarse_00B + 1354, // imageAtomicMin_01a20D00D + 1356, // texture_00J20B00B + 1358, // refract_20B20B00B + 1360, // ceil_30C + 1361, // gl_MaxGeometryOutputComponents + 1362, // noise1_30B + 1363, // log2_30B + 1365, // textureProjGrad_00d30B10B10B + 1367, // mod_20C20C + 1368, // fract_30C + 1369, // texelFetch_00t00D00D + 1370, // imageAtomicXor_01L00D00D + 1372, // max_30E30E + 1374, // gl_MaxFragmentAtomicCounterBuffers + 1376, // gl_in + 1377, // noise4_00B + 1378, // distance_10C10C + 1379, // textureProjLodOffset_00J30B00B20D + 1381, // imageAtomicExchange_01O10D00B + 1383, // imageAtomicMax_01H20D00E + 1385, // imageAtomicMax_01H20D00D + 1387, // imageStore_01h00D30D + 1389, // imageAtomicExchange_01O10D00D + 1391, // texelFetch_00c20D00D + 1393, // sqrt_00B + 1395, // sqrt_00C + 1396, // textureProjLod_00R30B00B + 1398, // noise3_10B + 1399, // texelFetch_00q10D + 1400, // imageAtomicAnd_01F20D00D + 1402, // textureLod_00m20B00B + 1403, // textureProjOffset_00m30B00D00B + 1404, // textureProjGrad_00v30B10B10B + 1405, // clamp_20D20D20D + 1407, // imageAtomicMin_01P10D00E + 1409, // imageAtomicAdd_01C20D00E + 1411, // clamp_00C00C00C + 1412, // imageAtomicXor_01N00D00D + 1414, // imageAtomicXor_01N00D00E + 1416, // texture_00x30B + 1417, // max_10E00E + 1419, // imageLoad_01c20D + 1421, // textureGrad_00U20B10B10B + 1423, // imageLoad_00z10D + 1425, // clamp_30C00C00C + 1426, // textureGatherOffsets_00a20B10Dx400D + 1429, // sinh_20B + 1431, // matrixCompMult_E0BE0B + 1432, // fwidthFine_00B + 1433, // gl_PerVertex + 1434, // textureGradOffset_00m20B00B00B00D + 1435, // imageAtomicMin_01K20D00E + 1437, // textureQueryLevels_00p + 1438, // gl_WorkGroupSize + 1440, // asinh_30B + 1442, // cross_20C20C + 1443, // textureGather_00a20B + 1445, // textureProjGradOffset_00O20B10B10B10D + 1446, // pow_30B30B + 1448, // imageAtomicCompSwap_01G20D00E00E + 1450, // smoothstep_10B10B10B + 1452, // textureProj_00O30B + 1454, // textureQueryLod_00R10B + 1455, // imageAtomicAdd_01R10D00D00D + 1457, // imageAtomicAdd_01R10D00D00E + 1459, // imageAtomicExchange_01E20D00D + 1461, // imageAtomicMin_01Q10D00E + 1463, // imageAtomicMin_01Q10D00D + 1465, // imageAtomicExchange_01E20D00E + 1467, // isnan_00B + 1469, // isnan_00C + 1470, // imulExtended_10D10D10D10D + 1472, // textureProjGrad_00o10B00B00B + 1473, // imageAtomicMax_01i00D00D + 1475, // imageAtomicMax_01i00D00E + 1477, // refract_10C10C00B + 1478, // min_00E00E + 1480, // imageStore_01T10D00D30E + 1481, // texture2DProj_00I30B + 1483, // textureGradOffset_00I10B10B10B10D + 1485, // textureLodOffset_00J20B00B20D + 1487, // notEqual_20B20B + 1489, // atomicCompSwap_00D00D00D + 1491, // Empty + 1491, // textureOffset_00i20B00D + 1492, // dFdyFine_00B + 1493, // textureLod_00a20B00B + 1495, // textureProj_00N30B + 1496, // refract_30C30C00B + 1497, // equal_30D30D + 1499, // imageStore_01D20D30D + 1501, // packSnorm2x16_10B + 1503, // floatBitsToUint_30B + 1505, // textureOffset_00R10B10D + 1507, // textureProjGrad_00q20B10B10B + 1508, // textureProjGradOffset_00R20B10B10B10D + 1510, // ldexp_30B30D + 1512, // max_30B00B + 1514, // atomicCounterOr_00G00E + 1515, // imageAtomicMin_01i00D00E + 1517, // step_30B30B + 1519, // textureProj_00I30B00B + 1521, // imageAtomicExchange_01D20D00E + 1523, // textureOffset_00g00B00D00B + 1524, // imageAtomicExchange_01D20D00B + 1526, // imageAtomicMin_01g00D00E + 1528, // imageAtomicMax_01c20D00D + 1530, // abs_00D + 1532, // abs_00C + 1533, // abs_00B + 1535, // textureLod_00R10B00B + 1537, // dFdxCoarse_10B + 1538, // texture1D_00g00B + 1539, // frexp_10C10D + 1540, // imageAtomicAdd_01g00D00E + 1542, // texture2DLod_00I10B00B + 1544, // textureProjGradOffset_00X20B10B10B10D + 1546, // imageAtomicMax_01Z10D00D + 1548, // gl_MaxComputeAtomicCounters + 1550, // texture_00s30B + 1551, // EndPrimitive_ + 1553, // step_00B30B + 1555, // round_20B + 1557, // equal_30E30E + 1559, // imageAtomicCompSwap_01R10D00D00E00E + 1561, // imageAtomicAdd_01M00D00D + 1563, // step_00C20C + 1564, // dot_00C00C + 1565, // max_30C30C + 1566, // atomicOr_00D00D + 1568, // texture2DProj_00M20B + 1569, // notEqual_10D10D + 1571, // imageAtomicExchange_01Z10D00D + 1573, // textureSize_00V + 1576, // imageAtomicAnd_01h00D00D + 1578, // min_20C00C + 1579, // imageAtomicAdd_01G20D00E + 1581, // imageAtomicAdd_01G20D00D + 1583, // findLSB_30D + 1585, // findLSB_30E + 1587, // textureProj_00X20B00B + 1589, // shadow2D_00d20B + 1590, // textureGatherOffset_00U20B10D + 1592, // imageAtomicExchange_01Z10D00E + 1594, // faceforward_10B10B10B + 1596, // imageAtomicAnd_01h00D00E + 1598, // min_10D00D + 1600, // imageAtomicCompSwap_01J20D00D00D + 1602, // all_20F + 1604, // imageSize_01J + 1606, // imageSize_01K + 1608, // textureOffset_00t00B00D00B + 1609, // imageSize_01I + 1611, // packHalf2x16_10B + 1613, // textureProj_00I20B00B + 1615, // imageSize_01L + 1616, // imageSize_01M + 1617, // imageSize_01B + 1619, // imageSize_01C + 1621, // imageSize_01A + 1623, // imageSize_01F + 1625, // imageSize_01G + 1627, // imageSize_01D + 1629, // imageSize_01E + 1631, // imageAtomicExchange_01L00D00B + 1633, // imageAtomicExchange_01L00D00E + 1635, // texelFetch_00X10D00D + 1637, // notEqual_30F30F + 1639, // imageSize_01R + 1640, // imageSize_01S + 1641, // imageSize_01P + 1642, // imageSize_01Q + 1643, // imageSize_01V + 1644, // textureQueryLod_00g00B + 1645, // imageSize_01T + 1646, // imageSize_01U + 1647, // imageSize_01h + 1649, // imageSize_01i + 1651, // fract_20C + 1652, // fract_20B + 1654, // textureGatherOffset_00X10B10D + 1656, // imageSize_01c + 1658, // imageStore_01R10D00D30B + 1659, // imageSize_01a + 1661, // imageSize_01f + 1662, // texture2DProjGradEXT_00I20B10B10B + 1663, // imageSize_01d + 1664, // textureLod_00S20B00B + 1666, // step_30C30C + 1667, // imageAtomicMin_01J20D00D + 1669, // gl_FragDepth + 1671, // textureGather_00x30B + 1673, // mix_30B30B30F + 1675, // mix_30B30B30B + 1677, // textureGather_00Z20B00D + 1679, // imageAtomicAnd_01Z10D00E + 1681, // imageAtomicAnd_01Z10D00D + 1683, // imageStore_01E20D30E + 1685, // sqrt_30C + 1686, // sqrt_30B + 1688, // exp_00B + 1690, // max_30D30D + 1692, // gl_MaxGeometryTextureImageUnits + 1693, // interpolateAtCentroid_10B + 1696, // texture_00q10B + 1697, // textureSize_00M00D + 1698, // textureSamples_00c + 1699, // angle_BaseInstance + 1700, // mix_10F10F10F + 1702, // textureGradOffset_00U20B10B10B10D + 1704, // gl_Position + 1707, // textureGradOffset_00O10B10B10B10D + 1708, // textureProj_00M30B + 1709, // textureGradOffset_00L20B10B10B10D + 1711, // imageAtomicExchange_01V20D00D00D + 1713, // imageAtomicExchange_01J20D00B + 1715, // imageAtomicExchange_01J20D00E + 1717, // imageAtomicExchange_01J20D00D + 1719, // textureQueryLod_00l20B + 1720, // imageAtomicOr_01M00D00E + 1722, // dot_20B20B + 1724, // textureProjGrad_00v20B10B10B + 1725, // textureProjLod_00S30B00B + 1727, // textureProjGrad_00R20B10B10B + 1729, // imageAtomicAnd_01i00D00E + 1731, // imageAtomicAnd_01i00D00D + 1733, // imageAtomicMax_00z10D00E + 1735, // imageAtomicMax_00z10D00D + 1737, // normalize_30C + 1738, // normalize_30B + 1740, // textureOffset_00O10B10D + 1741, // textureProjGrad_00I20B10B10B + 1743, // textureGather_00e20B + 1744, // imageAtomicMax_01V20D00D00E + 1746, // texture2D_00M10B + 1747, // imageAtomicAdd_01a20D00E + 1749, // fwidthFine_30B + 1750, // textureGather_00K20B00D + 1752, // textureCubeLodEXT_00K20B00B + 1753, // textureGather_00T20B00D + 1755, // textureProj_00N20B + 1756, // textureQueryLod_00I10B + 1757, // imageAtomicCompSwap_01A10D00E00E + 1759, // dFdyFine_10B + 1760, // modf_10C10C + 1761, // imageAtomicMax_01E20D00D + 1763, // imageAtomicMax_01E20D00E + 1765, // textureProjLodOffset_00X30B00B10D + 1767, // imageStore_01W20D00D30E + 1768, // textureProjLod_00m30B00B + 1769, // textureProjOffset_00g30B00D00B + 1770, // texelFetchOffset_00U20D00D10D + 1772, // imageAtomicCompSwap_00z10D00E00E + 1774, // imageAtomicMin_01D20D00E + 1776, // textureProjGradOffset_00q30B10B10B10D + 1777, // textureGradOffset_00d20B10B10B10D + 1779, // fwidthCoarse_20B + 1780, // imageAtomicCompSwap_01N00D00E00E + 1782, // textureProjOffset_00d30B10D + 1784, // imageAtomicOr_01T10D00D00E + 1786, // imageAtomicOr_01T10D00D00D + 1788, // equal_20F20F + 1790, // mix_20C20C00C + 1791, // usubBorrow_10E10E10E + 1793, // equal_10B10B 1795, // textureLodOffset_00U20B00B10D - 1797, // textureLodOffset_00a20B00B10D - 1799, // textureLodOffset_00g00B00B00D - 1800, // textureLodOffset_00o00B00B00D - 1801, // textureLodOffset_00t00B00B00D - 1802, // textureLodOffset_00m20B00B00D - 1803, // textureLodOffset_00h10B00B00D - 1804, // textureLodOffset_00p10B00B00D - 1805, // textureLodOffset_00u10B00B00D - 1806, // textureLodOffset_00i20B00B00D - 1807, // textureProjLodOffset_00I20B00B10D - 1809, // textureProjLodOffset_00R20B00B10D - 1811, // textureProjLodOffset_00X20B00B10D - 1813, // textureProjLodOffset_00I30B00B10D - 1815, // textureProjLodOffset_00R30B00B10D - 1817, // textureProjLodOffset_00X30B00B10D - 1819, // textureProjLodOffset_00J30B00B20D - 1821, // textureProjLodOffset_00S30B00B20D - 1823, // textureProjLodOffset_00Y30B00B20D - 1825, // textureProjLodOffset_00d30B00B10D - 1827, // textureProjLodOffset_00g10B00B00D - 1828, // textureProjLodOffset_00o10B00B00D - 1829, // textureProjLodOffset_00t10B00B00D - 1830, // textureProjLodOffset_00g30B00B00D - 1831, // textureProjLodOffset_00o30B00B00D - 1832, // textureProjLodOffset_00t30B00B00D - 1833, // textureProjLodOffset_00m30B00B00D - 1834, // texelFetchOffset_00I10D00D10D - 1836, // texelFetchOffset_00R10D00D10D - 1838, // texelFetchOffset_00X10D00D10D - 1840, // texelFetchOffset_00J20D00D20D - 1842, // texelFetchOffset_00S20D00D20D - 1844, // texelFetchOffset_00Y20D00D20D - 1846, // texelFetchOffset_00L20D00D10D - 1848, // texelFetchOffset_00U20D00D10D - 1850, // texelFetchOffset_00a20D00D10D - 1852, // texelFetchOffset_00g00D00D00D - 1853, // texelFetchOffset_00o00D00D00D - 1854, // texelFetchOffset_00t00D00D00D - 1855, // texelFetchOffset_00O10D10D - 1856, // texelFetchOffset_00q10D10D - 1857, // texelFetchOffset_00v10D10D - 1858, // texelFetchOffset_00h10D00D00D - 1859, // texelFetchOffset_00p10D00D00D - 1860, // texelFetchOffset_00u10D00D00D - 1861, // textureGradOffset_00I10B10B10B10D - 1863, // textureGradOffset_00R10B10B10B10D - 1865, // textureGradOffset_00X10B10B10B10D - 1867, // textureGradOffset_00J20B20B20B20D - 1869, // textureGradOffset_00S20B20B20B20D - 1871, // textureGradOffset_00Y20B20B20B20D - 1873, // textureGradOffset_00d20B10B10B10D - 1875, // textureGradOffset_00L20B10B10B10D - 1877, // textureGradOffset_00U20B10B10B10D - 1879, // textureGradOffset_00a20B10B10B10D - 1881, // textureGradOffset_00f30B10B10B10D - 1883, // textureGradOffset_00g00B00B00B00D - 1884, // textureGradOffset_00o00B00B00B00D - 1885, // textureGradOffset_00t00B00B00B00D - 1886, // textureGradOffset_00O10B10B10B10D - 1887, // textureGradOffset_00q10B10B10B10D - 1888, // textureGradOffset_00v10B10B10B10D - 1889, // textureGradOffset_00n20B10B10B10D - 1890, // textureGradOffset_00m20B00B00B00D - 1891, // textureGradOffset_00h10B00B00B00D - 1892, // textureGradOffset_00p10B00B00B00D - 1893, // textureGradOffset_00u10B00B00B00D - 1894, // textureGradOffset_00i20B00B00B00D - 1895, // textureProjGradOffset_00I20B10B10B10D - 1897, // textureProjGradOffset_00R20B10B10B10D - 1899, // textureProjGradOffset_00X20B10B10B10D - 1901, // textureProjGradOffset_00I30B10B10B10D - 1903, // textureProjGradOffset_00R30B10B10B10D - 1905, // textureProjGradOffset_00X30B10B10B10D - 1907, // textureProjGradOffset_00J30B20B20B20D - 1909, // textureProjGradOffset_00S30B20B20B20D - 1911, // textureProjGradOffset_00Y30B20B20B20D - 1913, // textureProjGradOffset_00d30B10B10B10D - 1915, // textureProjGradOffset_00g10B00B00B00D - 1916, // textureProjGradOffset_00o10B00B00B00D - 1917, // textureProjGradOffset_00t10B00B00B00D - 1918, // textureProjGradOffset_00g30B00B00B00D - 1919, // textureProjGradOffset_00o30B00B00B00D - 1920, // textureProjGradOffset_00t30B00B00B00D - 1921, // textureProjGradOffset_00O20B10B10B10D - 1922, // textureProjGradOffset_00q20B10B10B10D - 1923, // textureProjGradOffset_00v20B10B10B10D - 1924, // textureProjGradOffset_00O30B10B10B10D - 1925, // textureProjGradOffset_00q30B10B10B10D - 1926, // textureProjGradOffset_00v30B10B10B10D - 1927, // textureProjGradOffset_00n30B10B10B10D - 1928, // textureProjGradOffset_00m30B00B00B00D - 1929, // textureOffset_00I10B10D00B - 1931, // textureOffset_00R10B10D00B - 1933, // textureOffset_00X10B10D00B - 1935, // textureOffset_00J20B20D00B - 1937, // textureOffset_00S20B20D00B - 1939, // textureOffset_00Y20B20D00B - 1941, // textureOffset_00d20B10D00B - 1943, // textureOffset_00L20B10D00B - 1945, // textureOffset_00U20B10D00B - 1947, // textureOffset_00a20B10D00B - 1949, // textureOffset_00g00B00D00B - 1950, // textureOffset_00o00B00D00B - 1951, // textureOffset_00t00B00D00B - 1952, // textureOffset_00m20B00D00B - 1953, // textureOffset_00h10B00D00B - 1954, // textureOffset_00p10B00D00B - 1955, // textureOffset_00u10B00D00B - 1956, // textureOffset_00i20B00D00B - 1957, // textureProjOffset_00I20B10D00B - 1959, // textureProjOffset_00R20B10D00B - 1961, // textureProjOffset_00X20B10D00B - 1963, // textureProjOffset_00I30B10D00B - 1965, // textureProjOffset_00R30B10D00B - 1967, // textureProjOffset_00X30B10D00B - 1969, // textureProjOffset_00J30B20D00B - 1971, // textureProjOffset_00S30B20D00B - 1973, // textureProjOffset_00Y30B20D00B - 1975, // textureProjOffset_00d30B10D00B - 1977, // textureProjOffset_00g10B00D00B - 1978, // textureProjOffset_00o10B00D00B - 1979, // textureProjOffset_00t10B00D00B - 1980, // textureProjOffset_00g30B00D00B - 1981, // textureProjOffset_00o30B00D00B - 1982, // textureProjOffset_00t30B00D00B - 1983, // textureProjOffset_00m30B00D00B - 1984, // texture_00M10B - 1985, // textureProj_00M20B - 1986, // textureProj_00M30B - 1987, // textureSize_00M00D - 1988, // texelFetch_00M10D00D - 1989, // texture_00N10B - 1990, // textureProj_00N20B - 1991, // textureProj_00N30B - 1992, // rgb_2_yuv_20B00H - 1993, // yuv_2_rgb_20B00H - 1994, // textureSize_00N00D - 1995, // texelFetch_00N10D00D - 1996, // textureGather_00I10B - 1998, // textureGather_00R10B - 2000, // textureGather_00X10B - 2002, // textureGather_00I10B00D - 2004, // textureGather_00R10B00D - 2006, // textureGather_00X10B00D - 2008, // textureGather_00L20B - 2010, // textureGather_00U20B - 2012, // textureGather_00a20B - 2014, // textureGather_00L20B00D - 2016, // textureGather_00U20B00D - 2018, // textureGather_00a20B00D - 2020, // textureGather_00K20B - 2022, // textureGather_00T20B - 2024, // textureGather_00Z20B - 2026, // textureGather_00K20B00D - 2028, // textureGather_00T20B00D - 2030, // textureGather_00Z20B00D - 2032, // textureGather_00O20B - 2033, // textureGather_00q20B - 2034, // textureGather_00v20B - 2035, // textureGather_00O20B00D - 2036, // textureGather_00q20B00D - 2037, // textureGather_00v20B00D - 2038, // textureGather_00d10B - 2039, // textureGather_00d10B00B - 2041, // textureGather_00f20B - 2042, // textureGather_00f20B00B - 2044, // textureGather_00e20B - 2045, // textureGather_00e20B00B - 2047, // textureGather_00n10B00B - 2048, // textureGatherOffset_00I10B10D - 2050, // textureGatherOffset_00R10B10D - 2052, // textureGatherOffset_00X10B10D - 2054, // textureGatherOffset_00L20B10D - 2056, // textureGatherOffset_00U20B10D - 2058, // textureGatherOffset_00a20B10D - 2060, // textureGatherOffset_00d10B00B10D - 2062, // textureGatherOffset_00f20B00B10D - 2064, // textureGatherOffset_00O10B10D - 2065, // textureGatherOffset_00q10B10D - 2066, // textureGatherOffset_00v10B10D - 2067, // textureGatherOffset_00n10B00B10D - 2068, // textureGatherOffset_00I10B10D00D - 2070, // textureGatherOffset_00R10B10D00D - 2072, // textureGatherOffset_00X10B10D00D - 2074, // textureGatherOffset_00L20B10D00D - 2076, // textureGatherOffset_00U20B10D00D - 2078, // textureGatherOffset_00a20B10D00D - 2080, // textureGatherOffset_00O10B10D00D - 2081, // textureGatherOffset_00q10B10D00D - 2082, // textureGatherOffset_00v10B10D00D - 2083, // textureGatherOffsets_00I10B10Dx4 - 2086, // textureGatherOffsets_00R10B10Dx4 - 2089, // textureGatherOffsets_00X10B10Dx4 - 2092, // textureGatherOffsets_00L20B10Dx4 - 2095, // textureGatherOffsets_00U20B10Dx4 - 2098, // textureGatherOffsets_00a20B10Dx4 - 2101, // textureGatherOffsets_00d10B00B10Dx4 - 2104, // textureGatherOffsets_00f20B00B10Dx4 - 2107, // textureGatherOffsets_00O10B10Dx4 - 2108, // textureGatherOffsets_00q10B10Dx4 - 2109, // textureGatherOffsets_00v10B10Dx4 - 2110, // textureGatherOffsets_00n10B00B10Dx4 - 2111, // textureGatherOffsets_00I10B10Dx400D - 2114, // textureGatherOffsets_00R10B10Dx400D - 2117, // textureGatherOffsets_00X10B10Dx400D - 2120, // textureGatherOffsets_00L20B10Dx400D - 2123, // textureGatherOffsets_00U20B10Dx400D - 2126, // textureGatherOffsets_00a20B10Dx400D - 2129, // textureGatherOffsets_00O10B10Dx400D - 2130, // textureGatherOffsets_00q10B10Dx400D - 2131, // textureGatherOffsets_00v10B10Dx400D - 2132, // dFdxFine_00B - 2133, // dFdxFine_10B - 2134, // dFdxFine_20B - 2135, // dFdxFine_30B - 2136, // dFdyFine_00B - 2137, // dFdyFine_10B - 2138, // dFdyFine_20B - 2139, // dFdyFine_30B - 2140, // dFdxCoarse_00B - 2141, // dFdxCoarse_10B - 2142, // dFdxCoarse_20B - 2143, // dFdxCoarse_30B - 2144, // dFdyCoarse_00B - 2145, // dFdyCoarse_10B - 2146, // dFdyCoarse_20B - 2147, // dFdyCoarse_30B - 2148, // fwidthFine_00B - 2149, // fwidthFine_10B - 2150, // fwidthFine_20B - 2151, // fwidthFine_30B - 2152, // fwidthCoarse_00B - 2153, // fwidthCoarse_10B - 2154, // fwidthCoarse_20B - 2155, // fwidthCoarse_30B - 2156, // interpolateAtCentroid_00B - 2159, // interpolateAtCentroid_10B - 2162, // interpolateAtCentroid_20B - 2165, // interpolateAtCentroid_30B - 2168, // interpolateAtSample_00B00D - 2171, // interpolateAtSample_10B00D - 2174, // interpolateAtSample_20B00D - 2177, // interpolateAtSample_30B00D - 2180, // interpolateAtOffset_00B10B - 2183, // interpolateAtOffset_10B10B - 2186, // interpolateAtOffset_20B10B - 2189, // interpolateAtOffset_30B10B - 2192, // atomicCounter_00G - 2194, // atomicCounterIncrement_00G - 2196, // atomicCounterDecrement_00G - 2198, // atomicCounterAdd_00G00E - 2199, // atomicCounterSubtract_00G00E - 2200, // atomicCounterMin_00G00E - 2201, // atomicCounterMax_00G00E - 2202, // atomicCounterAnd_00G00E - 2203, // atomicCounterOr_00G00E - 2204, // atomicCounterXor_00G00E - 2205, // atomicCounterExchange_00G00E - 2206, // atomicCounterCompSwap_00G00E00E - 2207, // atomicAdd_00E00E - 2209, // atomicAdd_00D00D - 2211, // atomicMin_00E00E - 2213, // atomicMin_00D00D - 2215, // atomicMax_00E00E - 2217, // atomicMax_00D00D - 2219, // atomicAnd_00E00E - 2221, // atomicAnd_00D00D - 2223, // atomicOr_00E00E - 2225, // atomicOr_00D00D - 2227, // atomicXor_00E00E - 2229, // atomicXor_00D00D - 2231, // atomicExchange_00E00E - 2233, // atomicExchange_00D00D - 2235, // atomicCompSwap_00E00E00E - 2237, // atomicCompSwap_00D00D00D - 2239, // imageSize_00z - 2241, // imageSize_01A - 2243, // imageSize_01B - 2245, // imageSize_01C - 2247, // imageSize_01D - 2249, // imageSize_01E - 2251, // imageSize_01F - 2253, // imageSize_01G - 2255, // imageSize_01H - 2257, // imageSize_01I - 2259, // imageSize_01J - 2261, // imageSize_01K - 2263, // imageSize_01X - 2265, // imageSize_01Y - 2267, // imageSize_01Z - 2269, // imageSize_01d - 2271, // imageSize_01e - 2273, // imageSize_01f - 2275, // imageSize_01L - 2276, // imageSize_01M - 2277, // imageSize_01N - 2278, // imageSize_01a - 2279, // imageSize_01b - 2280, // imageSize_01c - 2281, // imageSize_01O - 2282, // imageSize_01P - 2283, // imageSize_01Q - 2284, // imageSize_01R - 2285, // imageSize_01S - 2286, // imageSize_01T - 2287, // imageSize_01U - 2288, // imageSize_01V - 2289, // imageSize_01W - 2290, // imageSamples_01R - 2291, // imageSamples_01S - 2292, // imageSamples_01T - 2293, // imageSamples_01U - 2294, // imageSamples_01V - 2295, // imageSamples_01W - 2296, // imageStore_00z10D30B - 2298, // imageStore_01A10D30D - 2300, // imageStore_01B10D30E - 2302, // imageStore_01C20D30B - 2304, // imageStore_01D20D30D - 2306, // imageStore_01E20D30E - 2308, // imageStore_01F20D30B - 2310, // imageStore_01G20D30D - 2312, // imageStore_01H20D30E - 2314, // imageStore_01I20D30B - 2316, // imageStore_01J20D30D - 2318, // imageStore_01K20D30E - 2320, // imageStore_01X20D30B - 2322, // imageStore_01Y20D30D - 2324, // imageStore_01Z20D30E - 2326, // imageStore_01d00D30B - 2328, // imageStore_01e00D30D - 2330, // imageStore_01f00D30E - 2332, // imageStore_01L00D30B - 2333, // imageStore_01M00D30D - 2334, // imageStore_01N00D30E - 2335, // imageStore_01O10D30B - 2336, // imageStore_01P10D30D - 2337, // imageStore_01Q10D30E - 2338, // imageStore_01a10D30B - 2339, // imageStore_01b10D30D - 2340, // imageStore_01c10D30E - 2341, // imageStore_01R10D00D30B - 2342, // imageStore_01S10D00D30D - 2343, // imageStore_01T10D00D30E - 2344, // imageStore_01U20D00D30B - 2345, // imageStore_01V20D00D30D - 2346, // imageStore_01W20D00D30E - 2347, // imageLoad_00z10D - 2349, // imageLoad_01A10D - 2351, // imageLoad_01B10D - 2353, // imageLoad_01C20D - 2355, // imageLoad_01D20D - 2357, // imageLoad_01E20D - 2359, // imageLoad_01F20D - 2361, // imageLoad_01G20D - 2363, // imageLoad_01H20D - 2365, // imageLoad_01I20D - 2367, // imageLoad_01J20D - 2369, // imageLoad_01K20D - 2371, // imageLoad_01X20D - 2373, // imageLoad_01Y20D - 2375, // imageLoad_01Z20D - 2377, // imageLoad_01d00D - 2379, // imageLoad_01e00D - 2381, // imageLoad_01f00D - 2383, // imageLoad_01L00D - 2384, // imageLoad_01M00D - 2385, // imageLoad_01N00D - 2386, // imageLoad_01O10D - 2387, // imageLoad_01P10D - 2388, // imageLoad_01Q10D - 2389, // imageLoad_01a10D - 2390, // imageLoad_01b10D - 2391, // imageLoad_01c10D - 2392, // imageLoad_01R10D00D - 2393, // imageLoad_01S10D00D - 2394, // imageLoad_01T10D00D - 2395, // imageLoad_01U20D00D - 2396, // imageLoad_01V20D00D - 2397, // imageLoad_01W20D00D - 2398, // imageAtomicAdd_00z10D00E - 2400, // imageAtomicAdd_01A10D00E - 2402, // imageAtomicAdd_01B10D00E - 2404, // imageAtomicAdd_01C20D00E - 2406, // imageAtomicAdd_01D20D00E - 2408, // imageAtomicAdd_01E20D00E - 2410, // imageAtomicAdd_01I20D00E - 2412, // imageAtomicAdd_01J20D00E - 2414, // imageAtomicAdd_01K20D00E - 2416, // imageAtomicAdd_01d00D00E - 2418, // imageAtomicAdd_01e00D00E - 2420, // imageAtomicAdd_01f00D00E - 2422, // imageAtomicAdd_01F20D00E - 2424, // imageAtomicAdd_01G20D00E - 2426, // imageAtomicAdd_01H20D00E - 2428, // imageAtomicAdd_01X20D00E - 2430, // imageAtomicAdd_01Y20D00E - 2432, // imageAtomicAdd_01Z20D00E - 2434, // imageAtomicAdd_01L00D00E - 2436, // imageAtomicAdd_01M00D00E - 2438, // imageAtomicAdd_01N00D00E - 2440, // imageAtomicAdd_01O10D00E - 2442, // imageAtomicAdd_01P10D00E - 2444, // imageAtomicAdd_01Q10D00E - 2446, // imageAtomicAdd_01a10D00E - 2448, // imageAtomicAdd_01b10D00E - 2450, // imageAtomicAdd_01c10D00E - 2452, // imageAtomicAdd_01R10D00D00E - 2454, // imageAtomicAdd_01S10D00D00E - 2456, // imageAtomicAdd_01T10D00D00E - 2458, // imageAtomicAdd_01U20D00D00E - 2460, // imageAtomicAdd_01V20D00D00E - 2462, // imageAtomicAdd_01W20D00D00E - 2464, // imageAtomicAdd_00z10D00D - 2466, // imageAtomicAdd_01A10D00D - 2468, // imageAtomicAdd_01B10D00D - 2470, // imageAtomicAdd_01C20D00D - 2472, // imageAtomicAdd_01D20D00D - 2474, // imageAtomicAdd_01E20D00D - 2476, // imageAtomicAdd_01I20D00D - 2478, // imageAtomicAdd_01J20D00D - 2480, // imageAtomicAdd_01K20D00D - 2482, // imageAtomicAdd_01d00D00D - 2484, // imageAtomicAdd_01e00D00D - 2486, // imageAtomicAdd_01f00D00D - 2488, // imageAtomicAdd_01F20D00D - 2490, // imageAtomicAdd_01G20D00D - 2492, // imageAtomicAdd_01H20D00D - 2494, // imageAtomicAdd_01X20D00D - 2496, // imageAtomicAdd_01Y20D00D - 2498, // imageAtomicAdd_01Z20D00D - 2500, // imageAtomicAdd_01L00D00D - 2502, // imageAtomicAdd_01M00D00D - 2504, // imageAtomicAdd_01N00D00D - 2506, // imageAtomicAdd_01O10D00D - 2508, // imageAtomicAdd_01P10D00D - 2510, // imageAtomicAdd_01Q10D00D - 2512, // imageAtomicAdd_01a10D00D - 2514, // imageAtomicAdd_01b10D00D - 2516, // imageAtomicAdd_01c10D00D - 2518, // imageAtomicAdd_01R10D00D00D - 2520, // imageAtomicAdd_01S10D00D00D - 2522, // imageAtomicAdd_01T10D00D00D - 2524, // imageAtomicAdd_01U20D00D00D - 2526, // imageAtomicAdd_01V20D00D00D - 2528, // imageAtomicAdd_01W20D00D00D - 2530, // imageAtomicMin_00z10D00E - 2532, // imageAtomicMin_01A10D00E - 2534, // imageAtomicMin_01B10D00E - 2536, // imageAtomicMin_01C20D00E - 2538, // imageAtomicMin_01D20D00E - 2540, // imageAtomicMin_01E20D00E - 2542, // imageAtomicMin_01I20D00E - 2544, // imageAtomicMin_01J20D00E - 2546, // imageAtomicMin_01K20D00E - 2548, // imageAtomicMin_01d00D00E - 2550, // imageAtomicMin_01e00D00E - 2552, // imageAtomicMin_01f00D00E - 2554, // imageAtomicMin_01F20D00E - 2556, // imageAtomicMin_01G20D00E - 2558, // imageAtomicMin_01H20D00E - 2560, // imageAtomicMin_01X20D00E - 2562, // imageAtomicMin_01Y20D00E - 2564, // imageAtomicMin_01Z20D00E - 2566, // imageAtomicMin_01L00D00E - 2568, // imageAtomicMin_01M00D00E - 2570, // imageAtomicMin_01N00D00E - 2572, // imageAtomicMin_01O10D00E - 2574, // imageAtomicMin_01P10D00E - 2576, // imageAtomicMin_01Q10D00E - 2578, // imageAtomicMin_01a10D00E - 2580, // imageAtomicMin_01b10D00E - 2582, // imageAtomicMin_01c10D00E - 2584, // imageAtomicMin_01R10D00D00E - 2586, // imageAtomicMin_01S10D00D00E - 2588, // imageAtomicMin_01T10D00D00E - 2590, // imageAtomicMin_01U20D00D00E - 2592, // imageAtomicMin_01V20D00D00E - 2594, // imageAtomicMin_01W20D00D00E - 2596, // imageAtomicMin_00z10D00D - 2598, // imageAtomicMin_01A10D00D - 2600, // imageAtomicMin_01B10D00D - 2602, // imageAtomicMin_01C20D00D - 2604, // imageAtomicMin_01D20D00D - 2606, // imageAtomicMin_01E20D00D - 2608, // imageAtomicMin_01I20D00D - 2610, // imageAtomicMin_01J20D00D - 2612, // imageAtomicMin_01K20D00D - 2614, // imageAtomicMin_01d00D00D - 2616, // imageAtomicMin_01e00D00D - 2618, // imageAtomicMin_01f00D00D - 2620, // imageAtomicMin_01F20D00D - 2622, // imageAtomicMin_01G20D00D - 2624, // imageAtomicMin_01H20D00D - 2626, // imageAtomicMin_01X20D00D - 2628, // imageAtomicMin_01Y20D00D - 2630, // imageAtomicMin_01Z20D00D - 2632, // imageAtomicMin_01L00D00D - 2634, // imageAtomicMin_01M00D00D - 2636, // imageAtomicMin_01N00D00D - 2638, // imageAtomicMin_01O10D00D - 2640, // imageAtomicMin_01P10D00D - 2642, // imageAtomicMin_01Q10D00D - 2644, // imageAtomicMin_01a10D00D - 2646, // imageAtomicMin_01b10D00D - 2648, // imageAtomicMin_01c10D00D - 2650, // imageAtomicMin_01R10D00D00D - 2652, // imageAtomicMin_01S10D00D00D - 2654, // imageAtomicMin_01T10D00D00D - 2656, // imageAtomicMin_01U20D00D00D - 2658, // imageAtomicMin_01V20D00D00D - 2660, // imageAtomicMin_01W20D00D00D - 2662, // imageAtomicMax_00z10D00E - 2664, // imageAtomicMax_01A10D00E - 2666, // imageAtomicMax_01B10D00E - 2668, // imageAtomicMax_01C20D00E - 2670, // imageAtomicMax_01D20D00E - 2672, // imageAtomicMax_01E20D00E - 2674, // imageAtomicMax_01I20D00E - 2676, // imageAtomicMax_01J20D00E - 2678, // imageAtomicMax_01K20D00E - 2680, // imageAtomicMax_01d00D00E - 2682, // imageAtomicMax_01e00D00E - 2684, // imageAtomicMax_01f00D00E - 2686, // imageAtomicMax_01F20D00E - 2688, // imageAtomicMax_01G20D00E - 2690, // imageAtomicMax_01H20D00E - 2692, // imageAtomicMax_01X20D00E - 2694, // imageAtomicMax_01Y20D00E - 2696, // imageAtomicMax_01Z20D00E - 2698, // imageAtomicMax_01L00D00E - 2700, // imageAtomicMax_01M00D00E - 2702, // imageAtomicMax_01N00D00E - 2704, // imageAtomicMax_01O10D00E - 2706, // imageAtomicMax_01P10D00E - 2708, // imageAtomicMax_01Q10D00E - 2710, // imageAtomicMax_01a10D00E - 2712, // imageAtomicMax_01b10D00E - 2714, // imageAtomicMax_01c10D00E - 2716, // imageAtomicMax_01R10D00D00E - 2718, // imageAtomicMax_01S10D00D00E - 2720, // imageAtomicMax_01T10D00D00E - 2722, // imageAtomicMax_01U20D00D00E - 2724, // imageAtomicMax_01V20D00D00E - 2726, // imageAtomicMax_01W20D00D00E - 2728, // imageAtomicMax_00z10D00D - 2730, // imageAtomicMax_01A10D00D - 2732, // imageAtomicMax_01B10D00D - 2734, // imageAtomicMax_01C20D00D - 2736, // imageAtomicMax_01D20D00D - 2738, // imageAtomicMax_01E20D00D - 2740, // imageAtomicMax_01I20D00D - 2742, // imageAtomicMax_01J20D00D - 2744, // imageAtomicMax_01K20D00D - 2746, // imageAtomicMax_01d00D00D - 2748, // imageAtomicMax_01e00D00D - 2750, // imageAtomicMax_01f00D00D - 2752, // imageAtomicMax_01F20D00D - 2754, // imageAtomicMax_01G20D00D - 2756, // imageAtomicMax_01H20D00D - 2758, // imageAtomicMax_01X20D00D - 2760, // imageAtomicMax_01Y20D00D - 2762, // imageAtomicMax_01Z20D00D - 2764, // imageAtomicMax_01L00D00D - 2766, // imageAtomicMax_01M00D00D - 2768, // imageAtomicMax_01N00D00D - 2770, // imageAtomicMax_01O10D00D - 2772, // imageAtomicMax_01P10D00D - 2774, // imageAtomicMax_01Q10D00D - 2776, // imageAtomicMax_01a10D00D - 2778, // imageAtomicMax_01b10D00D - 2780, // imageAtomicMax_01c10D00D - 2782, // imageAtomicMax_01R10D00D00D - 2784, // imageAtomicMax_01S10D00D00D - 2786, // imageAtomicMax_01T10D00D00D - 2788, // imageAtomicMax_01U20D00D00D - 2790, // imageAtomicMax_01V20D00D00D - 2792, // imageAtomicMax_01W20D00D00D - 2794, // imageAtomicAnd_00z10D00E - 2796, // imageAtomicAnd_01A10D00E - 2798, // imageAtomicAnd_01B10D00E - 2800, // imageAtomicAnd_01C20D00E - 2802, // imageAtomicAnd_01D20D00E - 2804, // imageAtomicAnd_01E20D00E - 2806, // imageAtomicAnd_01I20D00E - 2808, // imageAtomicAnd_01J20D00E - 2810, // imageAtomicAnd_01K20D00E - 2812, // imageAtomicAnd_01d00D00E - 2814, // imageAtomicAnd_01e00D00E - 2816, // imageAtomicAnd_01f00D00E - 2818, // imageAtomicAnd_01F20D00E - 2820, // imageAtomicAnd_01G20D00E - 2822, // imageAtomicAnd_01H20D00E - 2824, // imageAtomicAnd_01X20D00E - 2826, // imageAtomicAnd_01Y20D00E - 2828, // imageAtomicAnd_01Z20D00E - 2830, // imageAtomicAnd_01L00D00E - 2832, // imageAtomicAnd_01M00D00E - 2834, // imageAtomicAnd_01N00D00E - 2836, // imageAtomicAnd_01O10D00E - 2838, // imageAtomicAnd_01P10D00E - 2840, // imageAtomicAnd_01Q10D00E - 2842, // imageAtomicAnd_01a10D00E - 2844, // imageAtomicAnd_01b10D00E - 2846, // imageAtomicAnd_01c10D00E - 2848, // imageAtomicAnd_01R10D00D00E - 2850, // imageAtomicAnd_01S10D00D00E - 2852, // imageAtomicAnd_01T10D00D00E - 2854, // imageAtomicAnd_01U20D00D00E - 2856, // imageAtomicAnd_01V20D00D00E - 2858, // imageAtomicAnd_01W20D00D00E - 2860, // imageAtomicAnd_00z10D00D - 2862, // imageAtomicAnd_01A10D00D - 2864, // imageAtomicAnd_01B10D00D - 2866, // imageAtomicAnd_01C20D00D - 2868, // imageAtomicAnd_01D20D00D - 2870, // imageAtomicAnd_01E20D00D - 2872, // imageAtomicAnd_01I20D00D - 2874, // imageAtomicAnd_01J20D00D - 2876, // imageAtomicAnd_01K20D00D - 2878, // imageAtomicAnd_01d00D00D - 2880, // imageAtomicAnd_01e00D00D - 2882, // imageAtomicAnd_01f00D00D - 2884, // imageAtomicAnd_01F20D00D - 2886, // imageAtomicAnd_01G20D00D - 2888, // imageAtomicAnd_01H20D00D - 2890, // imageAtomicAnd_01X20D00D - 2892, // imageAtomicAnd_01Y20D00D - 2894, // imageAtomicAnd_01Z20D00D - 2896, // imageAtomicAnd_01L00D00D - 2898, // imageAtomicAnd_01M00D00D - 2900, // imageAtomicAnd_01N00D00D - 2902, // imageAtomicAnd_01O10D00D - 2904, // imageAtomicAnd_01P10D00D - 2906, // imageAtomicAnd_01Q10D00D - 2908, // imageAtomicAnd_01a10D00D - 2910, // imageAtomicAnd_01b10D00D - 2912, // imageAtomicAnd_01c10D00D - 2914, // imageAtomicAnd_01R10D00D00D - 2916, // imageAtomicAnd_01S10D00D00D - 2918, // imageAtomicAnd_01T10D00D00D - 2920, // imageAtomicAnd_01U20D00D00D - 2922, // imageAtomicAnd_01V20D00D00D - 2924, // imageAtomicAnd_01W20D00D00D - 2926, // imageAtomicOr_00z10D00E - 2928, // imageAtomicOr_01A10D00E - 2930, // imageAtomicOr_01B10D00E - 2932, // imageAtomicOr_01C20D00E - 2934, // imageAtomicOr_01D20D00E - 2936, // imageAtomicOr_01E20D00E - 2938, // imageAtomicOr_01I20D00E - 2940, // imageAtomicOr_01J20D00E - 2942, // imageAtomicOr_01K20D00E - 2944, // imageAtomicOr_01d00D00E - 2946, // imageAtomicOr_01e00D00E - 2948, // imageAtomicOr_01f00D00E - 2950, // imageAtomicOr_01F20D00E - 2952, // imageAtomicOr_01G20D00E - 2954, // imageAtomicOr_01H20D00E - 2956, // imageAtomicOr_01X20D00E - 2958, // imageAtomicOr_01Y20D00E - 2960, // imageAtomicOr_01Z20D00E - 2962, // imageAtomicOr_01L00D00E - 2964, // imageAtomicOr_01M00D00E - 2966, // imageAtomicOr_01N00D00E - 2968, // imageAtomicOr_01O10D00E - 2970, // imageAtomicOr_01P10D00E - 2972, // imageAtomicOr_01Q10D00E - 2974, // imageAtomicOr_01a10D00E - 2976, // imageAtomicOr_01b10D00E - 2978, // imageAtomicOr_01c10D00E - 2980, // imageAtomicOr_01R10D00D00E - 2982, // imageAtomicOr_01S10D00D00E - 2984, // imageAtomicOr_01T10D00D00E - 2986, // imageAtomicOr_01U20D00D00E - 2988, // imageAtomicOr_01V20D00D00E - 2990, // imageAtomicOr_01W20D00D00E - 2992, // imageAtomicOr_00z10D00D - 2994, // imageAtomicOr_01A10D00D - 2996, // imageAtomicOr_01B10D00D - 2998, // imageAtomicOr_01C20D00D - 3000, // imageAtomicOr_01D20D00D - 3002, // imageAtomicOr_01E20D00D - 3004, // imageAtomicOr_01I20D00D - 3006, // imageAtomicOr_01J20D00D - 3008, // imageAtomicOr_01K20D00D - 3010, // imageAtomicOr_01d00D00D - 3012, // imageAtomicOr_01e00D00D - 3014, // imageAtomicOr_01f00D00D - 3016, // imageAtomicOr_01F20D00D - 3018, // imageAtomicOr_01G20D00D - 3020, // imageAtomicOr_01H20D00D - 3022, // imageAtomicOr_01X20D00D - 3024, // imageAtomicOr_01Y20D00D - 3026, // imageAtomicOr_01Z20D00D - 3028, // imageAtomicOr_01L00D00D - 3030, // imageAtomicOr_01M00D00D - 3032, // imageAtomicOr_01N00D00D - 3034, // imageAtomicOr_01O10D00D - 3036, // imageAtomicOr_01P10D00D - 3038, // imageAtomicOr_01Q10D00D - 3040, // imageAtomicOr_01a10D00D - 3042, // imageAtomicOr_01b10D00D - 3044, // imageAtomicOr_01c10D00D - 3046, // imageAtomicOr_01R10D00D00D - 3048, // imageAtomicOr_01S10D00D00D - 3050, // imageAtomicOr_01T10D00D00D - 3052, // imageAtomicOr_01U20D00D00D - 3054, // imageAtomicOr_01V20D00D00D - 3056, // imageAtomicOr_01W20D00D00D - 3058, // imageAtomicXor_00z10D00E - 3060, // imageAtomicXor_01A10D00E - 3062, // imageAtomicXor_01B10D00E - 3064, // imageAtomicXor_01C20D00E - 3066, // imageAtomicXor_01D20D00E - 3068, // imageAtomicXor_01E20D00E - 3070, // imageAtomicXor_01I20D00E - 3072, // imageAtomicXor_01J20D00E - 3074, // imageAtomicXor_01K20D00E - 3076, // imageAtomicXor_01d00D00E - 3078, // imageAtomicXor_01e00D00E - 3080, // imageAtomicXor_01f00D00E - 3082, // imageAtomicXor_01F20D00E - 3084, // imageAtomicXor_01G20D00E - 3086, // imageAtomicXor_01H20D00E - 3088, // imageAtomicXor_01X20D00E - 3090, // imageAtomicXor_01Y20D00E - 3092, // imageAtomicXor_01Z20D00E - 3094, // imageAtomicXor_01L00D00E - 3096, // imageAtomicXor_01M00D00E - 3098, // imageAtomicXor_01N00D00E - 3100, // imageAtomicXor_01O10D00E - 3102, // imageAtomicXor_01P10D00E - 3104, // imageAtomicXor_01Q10D00E - 3106, // imageAtomicXor_01a10D00E - 3108, // imageAtomicXor_01b10D00E - 3110, // imageAtomicXor_01c10D00E - 3112, // imageAtomicXor_01R10D00D00E - 3114, // imageAtomicXor_01S10D00D00E - 3116, // imageAtomicXor_01T10D00D00E - 3118, // imageAtomicXor_01U20D00D00E - 3120, // imageAtomicXor_01V20D00D00E - 3122, // imageAtomicXor_01W20D00D00E - 3124, // imageAtomicXor_00z10D00D - 3126, // imageAtomicXor_01A10D00D - 3128, // imageAtomicXor_01B10D00D - 3130, // imageAtomicXor_01C20D00D - 3132, // imageAtomicXor_01D20D00D - 3134, // imageAtomicXor_01E20D00D - 3136, // imageAtomicXor_01I20D00D - 3138, // imageAtomicXor_01J20D00D - 3140, // imageAtomicXor_01K20D00D - 3142, // imageAtomicXor_01d00D00D - 3144, // imageAtomicXor_01e00D00D - 3146, // imageAtomicXor_01f00D00D - 3148, // imageAtomicXor_01F20D00D - 3150, // imageAtomicXor_01G20D00D - 3152, // imageAtomicXor_01H20D00D - 3154, // imageAtomicXor_01X20D00D - 3156, // imageAtomicXor_01Y20D00D - 3158, // imageAtomicXor_01Z20D00D - 3160, // imageAtomicXor_01L00D00D - 3162, // imageAtomicXor_01M00D00D - 3164, // imageAtomicXor_01N00D00D - 3166, // imageAtomicXor_01O10D00D - 3168, // imageAtomicXor_01P10D00D - 3170, // imageAtomicXor_01Q10D00D - 3172, // imageAtomicXor_01a10D00D - 3174, // imageAtomicXor_01b10D00D - 3176, // imageAtomicXor_01c10D00D - 3178, // imageAtomicXor_01R10D00D00D - 3180, // imageAtomicXor_01S10D00D00D - 3182, // imageAtomicXor_01T10D00D00D - 3184, // imageAtomicXor_01U20D00D00D - 3186, // imageAtomicXor_01V20D00D00D - 3188, // imageAtomicXor_01W20D00D00D - 3190, // imageAtomicExchange_00z10D00E - 3192, // imageAtomicExchange_01A10D00E - 3194, // imageAtomicExchange_01B10D00E - 3196, // imageAtomicExchange_01C20D00E - 3198, // imageAtomicExchange_01D20D00E - 3200, // imageAtomicExchange_01E20D00E - 3202, // imageAtomicExchange_01I20D00E - 3204, // imageAtomicExchange_01J20D00E - 3206, // imageAtomicExchange_01K20D00E - 3208, // imageAtomicExchange_01d00D00E - 3210, // imageAtomicExchange_01e00D00E - 3212, // imageAtomicExchange_01f00D00E - 3214, // imageAtomicExchange_01F20D00E - 3216, // imageAtomicExchange_01G20D00E - 3218, // imageAtomicExchange_01H20D00E - 3220, // imageAtomicExchange_01X20D00E - 3222, // imageAtomicExchange_01Y20D00E - 3224, // imageAtomicExchange_01Z20D00E - 3226, // imageAtomicExchange_01L00D00E - 3228, // imageAtomicExchange_01M00D00E - 3230, // imageAtomicExchange_01N00D00E - 3232, // imageAtomicExchange_01O10D00E - 3234, // imageAtomicExchange_01P10D00E - 3236, // imageAtomicExchange_01Q10D00E - 3238, // imageAtomicExchange_01a10D00E - 3240, // imageAtomicExchange_01b10D00E - 3242, // imageAtomicExchange_01c10D00E - 3244, // imageAtomicExchange_01R10D00D00E - 3246, // imageAtomicExchange_01S10D00D00E - 3248, // imageAtomicExchange_01T10D00D00E - 3250, // imageAtomicExchange_01U20D00D00E - 3252, // imageAtomicExchange_01V20D00D00E - 3254, // imageAtomicExchange_01W20D00D00E - 3256, // imageAtomicExchange_00z10D00D - 3258, // imageAtomicExchange_01A10D00D - 3260, // imageAtomicExchange_01B10D00D - 3262, // imageAtomicExchange_01C20D00D - 3264, // imageAtomicExchange_01D20D00D - 3266, // imageAtomicExchange_01E20D00D - 3268, // imageAtomicExchange_01I20D00D - 3270, // imageAtomicExchange_01J20D00D - 3272, // imageAtomicExchange_01K20D00D - 3274, // imageAtomicExchange_01d00D00D - 3276, // imageAtomicExchange_01e00D00D - 3278, // imageAtomicExchange_01f00D00D - 3280, // imageAtomicExchange_01F20D00D - 3282, // imageAtomicExchange_01G20D00D - 3284, // imageAtomicExchange_01H20D00D - 3286, // imageAtomicExchange_01X20D00D - 3288, // imageAtomicExchange_01Y20D00D - 3290, // imageAtomicExchange_01Z20D00D - 3292, // imageAtomicExchange_01L00D00D - 3294, // imageAtomicExchange_01M00D00D - 3296, // imageAtomicExchange_01N00D00D - 3298, // imageAtomicExchange_01O10D00D - 3300, // imageAtomicExchange_01P10D00D - 3302, // imageAtomicExchange_01Q10D00D - 3304, // imageAtomicExchange_01a10D00D - 3306, // imageAtomicExchange_01b10D00D - 3308, // imageAtomicExchange_01c10D00D - 3310, // imageAtomicExchange_01R10D00D00D - 3312, // imageAtomicExchange_01S10D00D00D - 3314, // imageAtomicExchange_01T10D00D00D - 3316, // imageAtomicExchange_01U20D00D00D - 3318, // imageAtomicExchange_01V20D00D00D - 3320, // imageAtomicExchange_01W20D00D00D - 3322, // imageAtomicExchange_00z10D00B - 3324, // imageAtomicExchange_01A10D00B - 3326, // imageAtomicExchange_01B10D00B - 3328, // imageAtomicExchange_01C20D00B - 3330, // imageAtomicExchange_01D20D00B - 3332, // imageAtomicExchange_01E20D00B - 3334, // imageAtomicExchange_01I20D00B - 3336, // imageAtomicExchange_01J20D00B - 3338, // imageAtomicExchange_01K20D00B - 3340, // imageAtomicExchange_01d00D00B - 3342, // imageAtomicExchange_01e00D00B - 3344, // imageAtomicExchange_01f00D00B - 3346, // imageAtomicExchange_01F20D00B - 3348, // imageAtomicExchange_01G20D00B - 3350, // imageAtomicExchange_01H20D00B - 3352, // imageAtomicExchange_01X20D00B - 3354, // imageAtomicExchange_01Y20D00B - 3356, // imageAtomicExchange_01Z20D00B - 3358, // imageAtomicExchange_01L00D00B - 3360, // imageAtomicExchange_01M00D00B - 3362, // imageAtomicExchange_01N00D00B - 3364, // imageAtomicExchange_01O10D00B - 3366, // imageAtomicExchange_01P10D00B - 3368, // imageAtomicExchange_01Q10D00B - 3370, // imageAtomicExchange_01a10D00B - 3372, // imageAtomicExchange_01b10D00B - 3374, // imageAtomicExchange_01c10D00B - 3376, // imageAtomicExchange_01R10D00D00B - 3378, // imageAtomicExchange_01S10D00D00B - 3380, // imageAtomicExchange_01T10D00D00B - 3382, // imageAtomicExchange_01U20D00D00B - 3384, // imageAtomicExchange_01V20D00D00B - 3386, // imageAtomicExchange_01W20D00D00B - 3388, // imageAtomicCompSwap_00z10D00E00E - 3390, // imageAtomicCompSwap_01A10D00E00E - 3392, // imageAtomicCompSwap_01B10D00E00E - 3394, // imageAtomicCompSwap_01C20D00E00E - 3396, // imageAtomicCompSwap_01D20D00E00E - 3398, // imageAtomicCompSwap_01E20D00E00E - 3400, // imageAtomicCompSwap_01I20D00E00E - 3402, // imageAtomicCompSwap_01J20D00E00E - 3404, // imageAtomicCompSwap_01K20D00E00E - 3406, // imageAtomicCompSwap_01d00D00E00E - 3408, // imageAtomicCompSwap_01e00D00E00E - 3410, // imageAtomicCompSwap_01f00D00E00E - 3412, // imageAtomicCompSwap_01F20D00E00E - 3414, // imageAtomicCompSwap_01G20D00E00E - 3416, // imageAtomicCompSwap_01H20D00E00E - 3418, // imageAtomicCompSwap_01X20D00E00E - 3420, // imageAtomicCompSwap_01Y20D00E00E - 3422, // imageAtomicCompSwap_01Z20D00E00E - 3424, // imageAtomicCompSwap_01L00D00E00E - 3426, // imageAtomicCompSwap_01M00D00E00E - 3428, // imageAtomicCompSwap_01N00D00E00E - 3430, // imageAtomicCompSwap_01O10D00E00E - 3432, // imageAtomicCompSwap_01P10D00E00E - 3434, // imageAtomicCompSwap_01Q10D00E00E - 3436, // imageAtomicCompSwap_01a10D00E00E - 3438, // imageAtomicCompSwap_01b10D00E00E - 3440, // imageAtomicCompSwap_01c10D00E00E - 3442, // imageAtomicCompSwap_01R10D00D00E00E - 3444, // imageAtomicCompSwap_01S10D00D00E00E - 3446, // imageAtomicCompSwap_01T10D00D00E00E - 3448, // imageAtomicCompSwap_01U20D00D00E00E - 3450, // imageAtomicCompSwap_01V20D00D00E00E - 3452, // imageAtomicCompSwap_01W20D00D00E00E - 3454, // imageAtomicCompSwap_00z10D00D00D - 3456, // imageAtomicCompSwap_01A10D00D00D - 3458, // imageAtomicCompSwap_01B10D00D00D - 3460, // imageAtomicCompSwap_01C20D00D00D - 3462, // imageAtomicCompSwap_01D20D00D00D - 3464, // imageAtomicCompSwap_01E20D00D00D - 3466, // imageAtomicCompSwap_01I20D00D00D - 3468, // imageAtomicCompSwap_01J20D00D00D - 3470, // imageAtomicCompSwap_01K20D00D00D - 3472, // imageAtomicCompSwap_01d00D00D00D - 3474, // imageAtomicCompSwap_01e00D00D00D - 3476, // imageAtomicCompSwap_01f00D00D00D - 3478, // imageAtomicCompSwap_01F20D00D00D - 3480, // imageAtomicCompSwap_01G20D00D00D - 3482, // imageAtomicCompSwap_01H20D00D00D - 3484, // imageAtomicCompSwap_01X20D00D00D - 3486, // imageAtomicCompSwap_01Y20D00D00D - 3488, // imageAtomicCompSwap_01Z20D00D00D - 3490, // imageAtomicCompSwap_01L00D00D00D - 3492, // imageAtomicCompSwap_01M00D00D00D - 3494, // imageAtomicCompSwap_01N00D00D00D - 3496, // imageAtomicCompSwap_01O10D00D00D - 3498, // imageAtomicCompSwap_01P10D00D00D - 3500, // imageAtomicCompSwap_01Q10D00D00D - 3502, // imageAtomicCompSwap_01a10D00D00D - 3504, // imageAtomicCompSwap_01b10D00D00D - 3506, // imageAtomicCompSwap_01c10D00D00D - 3508, // imageAtomicCompSwap_01R10D00D00D00D - 3510, // imageAtomicCompSwap_01S10D00D00D00D - 3512, // imageAtomicCompSwap_01T10D00D00D00D - 3514, // imageAtomicCompSwap_01U20D00D00D00D - 3516, // imageAtomicCompSwap_01V20D00D00D00D - 3518, // imageAtomicCompSwap_01W20D00D00D00D - 3520, // noise1_00B - 3521, // noise1_10B - 3522, // noise1_20B - 3523, // noise1_30B - 3524, // noise2_00B - 3525, // noise2_10B - 3526, // noise2_20B - 3527, // noise2_30B - 3528, // noise3_00B - 3529, // noise3_10B - 3530, // noise3_20B - 3531, // noise3_30B - 3532, // noise4_00B - 3533, // noise4_10B - 3534, // noise4_20B - 3535, // noise4_30B - 3536, // memoryBarrier_ - 3538, // memoryBarrierAtomicCounter_ - 3540, // memoryBarrierBuffer_ - 3542, // memoryBarrierImage_ - 3544, // barrier_ - 3548, // memoryBarrierShared_ - 3550, // groupMemoryBarrier_ - 3552, // EmitVertex_ - 3555, // EndPrimitive_ - 3558, // EmitStreamVertex_00D - 3559, // EndStreamPrimitive_00D - 3560, // subpassLoad_01g - 3561, // subpassLoad_01h - 3562, // subpassLoad_01i - 3563, // subpassLoad_01j00D - 3564, // subpassLoad_01k00D - 3565, // subpassLoad_01l00D - 3566, // anyInvocation_00F - 3567, // allInvocations_00F - 3568, // allInvocationsEqual_00F - 3569, // textureVideoWEBGL_00y10B - 3571, // texture_00y10B - 3573, // gl_DepthRangeParameters - 3575, // gl_DepthRange - 3577, // gl_NumSamples - 3580, // gl_MaxVertexAttribs - 3582, // gl_MaxVertexUniformVectors - 3584, // gl_MaxVertexTextureImageUnits - 3586, // gl_MaxCombinedTextureImageUnits - 3588, // gl_MaxTextureImageUnits - 3590, // gl_MaxFragmentUniformVectors - 3592, // gl_MaxVaryingVectors - 3594, // gl_MaxDrawBuffers - 3596, // gl_MaxDualSourceDrawBuffersEXT - 3597, // gl_MaxVertexOutputVectors - 3599, // gl_MaxFragmentInputVectors - 3601, // gl_MinProgramTexelOffset - 3603, // gl_MaxProgramTexelOffset - 3605, // gl_MaxImageUnits - 3607, // gl_MaxVertexImageUniforms - 3609, // gl_MaxFragmentImageUniforms - 3611, // gl_MaxComputeImageUniforms - 3613, // gl_MaxCombinedImageUniforms - 3615, // gl_MaxCombinedShaderOutputResources - 3617, // gl_MaxComputeWorkGroupCount - 3619, // gl_MaxComputeWorkGroupSize - 3621, // gl_MaxComputeUniformComponents - 3623, // gl_MaxComputeTextureImageUnits - 3625, // gl_MaxComputeAtomicCounters - 3627, // gl_MaxComputeAtomicCounterBuffers - 3629, // gl_MaxVertexAtomicCounters - 3631, // gl_MaxFragmentAtomicCounters - 3633, // gl_MaxCombinedAtomicCounters - 3635, // gl_MaxAtomicCounterBindings - 3637, // gl_MaxVertexAtomicCounterBuffers - 3639, // gl_MaxFragmentAtomicCounterBuffers - 3641, // gl_MaxCombinedAtomicCounterBuffers - 3643, // gl_MaxAtomicCounterBufferSize - 3645, // gl_MaxGeometryInputComponents - 3648, // gl_MaxGeometryOutputComponents - 3651, // gl_MaxGeometryImageUniforms - 3654, // gl_MaxGeometryTextureImageUnits - 3657, // gl_MaxGeometryOutputVertices - 3660, // gl_MaxGeometryTotalOutputComponents - 3663, // gl_MaxGeometryUniformComponents - 3666, // gl_MaxGeometryAtomicCounters - 3669, // gl_MaxGeometryAtomicCounterBuffers - 3672, // gl_MaxTessControlInputComponents - 3675, // gl_MaxTessControlOutputComponents - 3678, // gl_MaxTessControlTextureImageUnits - 3681, // gl_MaxTessControlUniformComponents - 3684, // gl_MaxTessControlTotalOutputComponents - 3687, // gl_MaxTessControlImageUniforms - 3690, // gl_MaxTessControlAtomicCounters - 3693, // gl_MaxTessControlAtomicCounterBuffers - 3696, // gl_MaxTessPatchComponents - 3699, // gl_MaxPatchVertices - 3702, // gl_MaxTessGenLevel - 3705, // gl_MaxTessEvaluationInputComponents - 3708, // gl_MaxTessEvaluationOutputComponents - 3711, // gl_MaxTessEvaluationTextureImageUnits - 3714, // gl_MaxTessEvaluationUniformComponents - 3717, // gl_MaxTessEvaluationImageUniforms - 3720, // gl_MaxTessEvaluationAtomicCounters - 3723, // gl_MaxTessEvaluationAtomicCounterBuffers - 3726, // gl_MaxSamples - 3729, // gl_MaxClipDistances - 3730, // gl_MaxCullDistances - 3731, // gl_MaxCombinedClipAndCullDistances - 3732, // gl_FragCoord - 3734, // gl_FrontFacing - 3736, // gl_PointCoord - 3738, // gl_FragColor - 3740, // gl_FragData - 3742, // gl_FragDepth - 3744, // gl_HelperInvocation - 3746, // gl_SecondaryFragColorEXT - 3747, // gl_SecondaryFragDataEXT - 3748, // gl_FragDepthEXT - 3749, // gl_LastFragData - 3752, // gl_LastFragColor - 3753, // gl_LastFragColorARM - 3754, // gl_PrimitiveID - 3766, // gl_Layer - 3772, // gl_SampleID - 3775, // gl_SamplePosition - 3778, // gl_SampleMaskIn - 3781, // gl_SampleMask - 3784, // gl_CullDistance - 3786, // gl_ClipDistance - 3788, // gl_Position - 3799, // gl_PointSize - 3801, // gl_InstanceID - 3803, // Empty - 3803, // gl_VertexID - 3805, // Empty - 3805, // Empty - 3805, // gl_DrawID - 3806, // gl_BaseVertex - 3807, // gl_BaseInstance - 3808, // angle_BaseVertex - 3809, // angle_BaseInstance - 3810, // gl_NumWorkGroups - 3812, // gl_WorkGroupSize - 3814, // gl_WorkGroupID - 3816, // gl_LocalInvocationID - 3818, // gl_GlobalInvocationID - 3820, // gl_LocalInvocationIndex - 3822, // gl_PrimitiveIDIn - 3825, // gl_InvocationID - 3831, // gl_PerVertex - 3840, // gl_in - 3849, // gl_PatchVerticesIn - 3855, // gl_TessLevelOuter - 3861, // gl_TessLevelInner - 3867, // gl_out - 3873, // gl_TessCoord - 3875, // gl_ViewID_OVR + 1797, // isnan_10C + 1798, // isnan_10B + 1800, // imageAtomicMin_01H20D00D + 1802, // imageAtomicXor_01A10D00D + 1804, // imageAtomicXor_01A10D00E + 1806, // imageAtomicCompSwap_01C20D00D00D + 1808, // textureGrad_00R00B00B00B + 1809, // atomicMin_00D00D + 1811, // textureSize_00X00D + 1813, // greaterThan_10B10B + 1815, // mix_00C00C00C + 1816, // noise1_20B + 1817, // clamp_30D00D00D + 1819, // mix_20E20E20F + 1821, // floatBitsToInt_10B + 1823, // textureProjOffset_00R30B10D00B + 1825, // textureGather_00U20B00D + 1827, // floatBitsToInt_00B + 1829, // imageLoad_01a20D + 1831, // floatBitsToUint_00B + 1833, // min_30C30C + 1834, // textureSamples_00Q + 1835, // textureGradOffset_00i20B00B00B00D + 1836, // imageAtomicXor_00z10D00D + 1838, // texture2DRectProj_00O20B + 1839, // modf_20C20C + 1840, // tan_20B + 1842, // floor_00C + 1843, // floor_00B + 1845, // imageAtomicMax_01O10D00E + 1847, // imageAtomicMax_01O10D00D + 1849, // mod_30C30C + 1850, // gl_DrawID + 1851, // textureOffset_00t00B00D + 1852, // texture3DLod_00J20B00B + 1854, // imageLoad_01Q10D + 1855, // texture_00R10B00B + 1857, // imageStore_01Y10D30D + 1858, // modf_00B00B + 1860, // notEqual_20D20D + 1862, // imageAtomicExchange_01R10D00D00E + 1864, // imageAtomicExchange_01R10D00D00D + 1866, // ldexp_10C10D + 1867, // imageAtomicExchange_01F20D00E + 1869, // determinant_A0B + 1870, // imageAtomicExchange_01i00D00D + 1872, // textureLodOffset_00i20B00B00D + 1873, // imageAtomicExchange_01i00D00B + 1875, // shadow1DLod_00m20B00B + 1876, // imageAtomicOr_01I20D00E + 1878, // distance_00C00C + 1879, // isnan_30B + 1881, // textureProjOffset_00o30B00D + 1882, // lessThanEqual_30D30D + 1884, // textureProj_00M30B00B + 1885, // texture2DProj_00M30B + 1886, // atomicCounterMax_00G00E + 1887, // atomicCounterExchange_00G00E + 1888, // textureGrad_00I10B10B10B + 1890, // step_00B20B + 1892, // texture2DProjLod_00I20B00B + 1894, // step_00C30C + 1895, // yuv_2_rgb_20B00H + 1896, // texelFetch_00b10D00D + 1899, // textureProj_00J30B00B + 1901, // textureGather_00R10B + 1903, // imageAtomicCompSwap_01c20D00D00D + 1905, // imageAtomicOr_01V20D00D00D + 1907, // imageAtomicOr_01V20D00D00E + 1909, // imageAtomicExchange_01P10D00D + 1911, // imageLoad_01L00D + 1912, // min_10D10D + 1914, // all_30F + 1916, // imageAtomicExchange_01P10D00E + 1918, // imageAtomicAnd_01S10D00D00E + 1920, // imageAtomicAnd_01S10D00D00D + 1922, // angle_BaseVertex + 1923, // bitfieldReverse_20D + 1925, // bitfieldReverse_20E + 1927, // imageAtomicExchange_01I20D00D + 1929, // imageAtomicExchange_01I20D00E + 1931, // imageAtomicExchange_01I20D00B + 1933, // imageAtomicExchange_01c20D00E + 1935, // gl_MaxGeometryInputComponents + 1936, // textureGatherOffsets_00X10B10Dx4 + 1939, // texture_00u20B + 1940, // textureGather_00v20B + 1941, // fract_10B + 1943, // fract_10C + 1944, // textureGatherOffset_00O10B10D00D + 1945, // textureQueryLod_00K20B + 1946, // textureLodOffset_00I10B00B10D + 1948, // imageAtomicCompSwap_01S10D00D00E00E + 1950, // imageAtomicXor_01c20D00E + 1952, // imageAtomicXor_01c20D00D + 1954, // textureOffset_00U20B10D + 1956, // min_30B00B + 1958, // atomicAnd_00D00D + 1960, // exp_10B + 1962, // bitCount_30E + 1964, // bitCount_30D + 1966, // unpackUnorm2x16_00E + 1968, // sqrt_20B + 1970, // sqrt_20C + 1971, // textureGrad_00L20B10B10B + 1973, // interpolateAtCentroid_00B + 1976, // textureSize_00o00D + 1977, // gl_MaxImageUnits + 1979, // textureProjGrad_00o30B00B00B + 1980, // imageAtomicOr_01Q10D00D + 1982, // packUnorm4x8_30B + 1984, // imageAtomicMax_01Q10D00E + 1986, // texelFetch_00P10D00D + 1989, // imageAtomicCompSwap_01i00D00D00D + 1991, // textureGatherOffsets_00d10B00B10Dx4 + 1994, // texture_00O10B + 1996, // imageAtomicMin_01M00D00D + 1998, // imageAtomicMin_01M00D00E + 2000, // texture_00e30B00B + 2002, // imageAtomicMin_01O10D00E + 2004, // imageAtomicMin_01O10D00D + 2006, // gl_FragCoord + 2008, // imageAtomicMax_01Q10D00D + 2010, // imageAtomicMax_01X10D00D + 2012, // textureGrad_00u10B00B00B + 2013, // fwidthFine_20B + 2014, // textureQueryLod_00o00B + 2015, // imageAtomicAnd_01E20D00E + 2017, // imageAtomicAnd_01E20D00D + 2019, // normalize_00B + 2021, // normalize_00C + 2022, // clamp_10C00C00C + 2023, // imageAtomicOr_01A10D00E + 2025, // imageAtomicOr_01A10D00D + 2027, // imageAtomicCompSwap_01Q10D00E00E + 2029, // atomicMax_00D00D + 2031, // textureProjGrad_00m30B00B00B + 2032, // imageAtomicAnd_01R10D00D00E + 2034, // floatBitsToUint_10B + 2036, // textureLod_00J20B00B + 2038, // textureGrad_00O10B10B10B + 2039, // dFdyFine_20B + 2040, // imageLoad_01W20D00D + 2041, // textureSize_00I00D + 2043, // gl_MaxComputeWorkGroupSize + 2045, // texelFetchOffset_00R10D00D10D + 2047, // dFdxFine_10B + 2048, // imageAtomicExchange_01D20D00D + 2050, // textureLodOffset_00X10B00B10D + 2052, // texture_00T20B00B + 2054, // log_30B + 2056, // notEqual_20F20F + 2058, // allInvocationsEqual_00F + 2059, // imageAtomicMax_01K20D00D + 2061, // imageAtomicMax_01K20D00E + 2063, // dFdyCoarse_30B + 2064, // textureProjLod_00R20B00B + 2066, // notEqual_30D30D + 2068, // fwidthCoarse_30B + 2069, // textureProjOffset_00I20B10D + 2071, // textureQueryLevels_00l + 2072, // textureQueryLevels_00m + 2073, // textureQueryLevels_00o + 2074, // textureQueryLevels_00h + 2075, // textureQueryLevels_00i + 2076, // textureQueryLevels_00k + 2077, // textureQueryLevels_00d + 2078, // textureQueryLevels_00e + 2079, // textureQueryLevels_00f + 2080, // textureQueryLevels_00g + 2081, // gl_MaxDrawBuffers + 2083, // textureQueryLevels_00a + 2084, // atomicCounterMin_00G00E + 2085, // textureGradOffset_00u10B00B00B00D + 2086, // gl_MaxCombinedTextureImageUnits + 2088, // textureQueryLevels_00x + 2089, // textureQueryLevels_00t + 2090, // textureQueryLevels_00u + 2091, // imageAtomicMin_01K20D00D + 2093, // imulExtended_20D20D20D20D + 2095, // any_30F + 2097, // distance_30B30B + 2099, // textureQueryLevels_00s + 2100, // textureQueryLevels_00L + 2101, // textureQueryLevels_00I + 2102, // textureQueryLevels_00J + 2103, // textureQueryLevels_00K + 2104, // imageAtomicExchange_01L00D00D + 2106, // texture3D_00J20B00B + 2108, // texture1DLod_00g00B00B + 2109, // textureQueryLevels_00X + 2110, // textureQueryLevels_00Y + 2111, // textureQueryLevels_00Z + 2112, // dot_30B30B + 2114, // textureQueryLevels_00T + 2115, // textureQueryLevels_00U + 2116, // textureQueryLevels_00R + 2117, // textureQueryLevels_00S + 2118, // gl_MaxTextureImageUnits + 2120, // usubBorrow_20E20E20E + 2122, // textureProj_00t30B00B + 2123, // shadow1DProj_00m30B00B + 2124, // clamp_30B00B00B + 2126, // textureGatherOffsets_00O10B10Dx4 + 2127, // texture2DRectProj_00O30B + 2128, // max_10D00D + 2130, // textureGradOffset_00n20B10B10B10D + 2131, // clamp_00D00D00D + 2133, // floor_30B + 2135, // floor_30C + 2136, // imageStore_01P10D30D + 2137, // textureProjGradOffset_00S30B20B20B20D + 2139, // reflect_30C30C + 2140, // gl_PointCoord + 2142, // imageAtomicOr_01D20D00E + 2144, // textureGatherOffset_00v10B10D + 2145, // imageAtomicOr_01D20D00D + 2147, // imageStore_01F20D30B + 2149, // packDouble2x32_10E + 2150, // clamp_10B00B00B + 2152, // texelFetchOffset_00S20D00D20D + 2154, // lessThan_10D10D + 2156, // textureSize_00g00D + 2157, // textureGatherOffset_00U20B10D00D + 2159, // textureGatherOffset_00q10B10D00D + 2160, // textureGather_00I10B00D + 2162, // texture1DProjLod_00g30B00B + 2163, // texelFetch_00V10D00D + 2166, // imageAtomicExchange_01h00D00E + 2168, // imageAtomicExchange_01h00D00D + 2170, // atan_30B30B + 2172, // imageAtomicExchange_01h00D00B + 2174, // imageAtomicMax_01a20D00D + 2176, // imageAtomicMax_01a20D00E + 2178, // textureProjLod_00g30B00B + 2179, // max_00B00B + 2181, // imageAtomicOr_01J20D00E + 2183, // imageAtomicOr_01J20D00D + 2185, // imageAtomicMax_01F20D00E + 2187, // imageAtomicMax_01F20D00D + 2189, // exp2_20B + 2191, // smoothstep_30C30C30C + 2192, // imageAtomicExchange_00z10D00B + 2194, // imageAtomicExchange_00z10D00E + 2196, // imageAtomicExchange_00z10D00D + 2198, // textureProj_00q20B + 2199, // textureProjLod_00t10B00B + 2200, // imageAtomicMin_01c20D00D + 2202, // imageAtomicMin_01c20D00E + 2204, // textureSize_00k00D + 2206, // reflect_20B20B + 2208, // imageAtomicXor_01V20D00D00E + 2210, // imageAtomicXor_01V20D00D00D + 2212, // equal_10F10F + 2214, // acos_30B + 2216, // textureVideoWEBGL_00y10B + 2218, // dFdx_10B + 2221, // bitfieldReverse_30E + 2223, // bitfieldReverse_30D + 2225, // imageAtomicOr_01Z10D00D + 2227, // imageAtomicOr_01Z10D00E + 2229, // texture1DProj_00g30B + 2230, // textureGatherOffsets_00v10B10Dx400D + 2231, // fract_00C + 2232, // fract_00B + 2234, // min_30E00E + 2236, // gl_MinProgramTexelOffset + 2238, // imageAtomicOr_01Q10D00E + 2240, // interpolateAtOffset_20B10B + 2243, // imageAtomicOr_01c20D00D + 2245, // imageAtomicOr_01c20D00E + 2247, // reflect_30B30B + 2249, // interpolateAtCentroid_30B + 2252, // textureGather_00s30B + 2254, // imageAtomicXor_01X10D00E + 2256, // imageAtomicXor_01X10D00D + 2258, // memoryBarrier_ + 2260, // texture1D_00g00B00B + 2261, // pow_00B00B + 2263, // mod_00B00B + 2265, // faceforward_30C30C30C + 2266, // imageAtomicExchange_01K20D00D + 2268, // roundEven_10B + 2270, // roundEven_10C + 2271, // atanh_30B + 2273, // textureLod_00K20B00B + 2275, // bitCount_20D + 2277, // bitCount_20E + 2279, // texelFetch_00L20D00D + 2281, // dFdxFine_00B + 2282, // imageAtomicAnd_01K20D00E + 2284, // distance_20B20B + 2286, // textureGradOffset_00q10B10B10B10D + 2287, // uaddCarry_30E30E30E + 2289, // textureSize_00U00D + 2291, // textureProjOffset_00o10B00D00B + 2292, // gl_MaxCombinedImageUniforms + 2294, // atomicCounterXor_00G00E + 2295, // imageAtomicOr_01g00D00D + 2297, // imageAtomicOr_01g00D00E + 2299, // gl_GlobalInvocationID + 2301, // gl_LocalInvocationIndex + 2303, // gl_VertexID + 2305, // imageAtomicMin_01L00D00E + 2307, // smoothstep_20C20C20C + 2308, // imageAtomicCompSwap_01U20D00D00D00D + 2310, // atomicOr_00E00E + 2312, // mix_10B10B10F + 2314, // reflect_10C10C + 2315, // mix_10B10B10B + 2317, // textureProj_00Y30B00B + 2319, // imageAtomicMax_01I20D00D + 2321, // imageAtomicMax_01I20D00E + 2323, // frexp_20B20D + 2325, // textureGatherOffset_00I10B10D00D + 2327, // notEqual_20E20E + 2329, // textureLodOffset_00d20B00B10D + 2331, // inverse_A0B + 2333, // textureProjGrad_00X20B10B10B + 2335, // textureSize_00Y00D + 2337, // atan_20B20B + 2339, // usubBorrow_00E00E00E + 2341, // imageAtomicXor_01M00D00E + 2343, // textureGatherOffsets_00L20B10Dx400D + 2346, // dFdyFine_30B + 2347, // textureQueryLod_00s20B + 2348, // texture_00v10B + 2349, // textureGatherOffsets_00U20B10Dx4 + 2352, // subpassLoad_01n00D + 2353, // imageAtomicCompSwap_01c20D00E00E + 2355, // textureProjLodOffset_00g10B00B00D + 2356, // step_10C10C + 2357, // textureQueryLod_00x20B + 2358, // fma_10B10B10B + 2361, // smoothstep_00B00B10B + 2363, // imageAtomicCompSwap_01a20D00D00D + 2365, // imageSize_01N + 2366, // textureLod_00u10B00B + 2367, // textureProjGradOffset_00m30B00B00B00D + 2368, // fwidthCoarse_00B + 2369, // dFdyCoarse_20B + 2370, // textureProjGradOffset_00o30B00B00B00D + 2371, // imageStore_01b20D30D + 2373, // textureProj_00g30B00B + 2374, // bitfieldExtract_00E00D00D + 2376, // distance_30C30C + 2377, // any_20F + 2379, // gl_HelperInvocation + 2381, // textureLod_00g00B00B + 2382, // sin_10B + 2384, // gl_MaxClipDistances + 2385, // textureSize_00N00D + 2386, // mod_20B20B + 2388, // imageAtomicOr_01h00D00E + 2390, // imageAtomicOr_01h00D00D + 2392, // textureGrad_00k30B20B20B + 2394, // textureProjOffset_00o10B00D + 2395, // imageAtomicMin_01A10D00E + 2397, // imageAtomicMin_01A10D00D + 2399, // textureGradOffset_00f30B10B10B10D + 2401, // max_20D20D + 2403, // max_10D10D + 2405, // textureGradOffset_00t00B00B00B00D + 2406, // refract_30B30B00B + 2408, // floor_20C + 2409, // floor_20B + 2411, // texelFetchOffset_00t00D00D00D + 2412, // imageAtomicOr_01a20D00E + 2414, // matrixCompMult_F0BF0B + 2416, // umulExtended_10E10E10E10E + 2418, // texture_00d20B00B + 2420, // gl_MaxCombinedAtomicCounterBuffers + 2422, // umulExtended_30E30E30E30E + 2424, // textureGradOffset_00Y20B20B20B20D + 2426, // textureGatherOffset_00a20B10D + 2428, // textureGrad_00f30B10B10B + 2430, // atomicCounterSubtract_00G00E + 2431, // imageAtomicXor_01C20D00E + 2433, // modf_20B20B + 2435, // imageAtomicAnd_01Y10D00D + 2437, // imageAtomicAnd_01Y10D00E + 2439, // imageAtomicAdd_01i00D00E + 2441, // imageAtomicAdd_01i00D00D + 2443, // noise1_00B + 2444, // imageLoad_01M00D + 2445, // imageAtomicCompSwap_01L00D00E00E + 2447, // texture_00y10B + 2449, // length_30C + 2450, // length_30B + 2452, // imageStore_01B10D30E + 2454, // mod_30B30B + 2456, // mix_10C10C10F + 2457, // imageAtomicMin_00z10D00E + 2459, // imageAtomicMin_00z10D00D + 2461, // imageStore_01I20D30B + 2463, // exp2_30B + 2465, // allInvocations_00F + 2466, // max_20C00C + 2467, // texture3DProj_00J30B00B + 2469, // imageAtomicAdd_01K20D00E + 2471, // imageAtomicAdd_01K20D00D + 2473, // textureProjLod_00X30B00B + 2475, // textureProjGradOffset_00I30B10B10B10D + 2477, // imageAtomicAdd_01W20D00D00D + 2479, // cosh_30B + 2481, // textureProj_00q30B + 2482, // textureOffset_00S20B20D00B + 2484, // usubBorrow_30E30E30E + 2486, // imageAtomicMax_01W20D00D00E + 2488, // imageAtomicMax_01W20D00D00D + 2490, // textureProjOffset_00R20B10D00B + 2492, // imageSize_01H + 2494, // textureOffset_00i20B00D00B + 2495, // texture3DProj_00J30B + 2497, // matrixCompMult_B0BB0B + 2498, // lessThan_30B30B + 2500, // cross_20B20B + 2502, // imageSize_01O + 2503, // textureGrad_00q10B10B10B + 2504, // clamp_20B00B00B + 2506, // dFdx_00B + 2509, // findLSB_00D + 2511, // textureProjLodOffset_00o30B00B00D + 2512, // imageAtomicXor_01i00D00E + 2514, // textureProj_00R20B00B + 2516, // acos_20B + 2518, // texelFetch_00r00D + 2520, // max_20B20B + 2522, // lessThan_20E20E + 2524, // textureLod_00X10B00B + 2526, // equal_30F30F + 2528, // sign_00C + 2529, // cosh_00B + 2531, // bitfieldExtract_00D00D00D + 2533, // imageAtomicMin_01E20D00D + 2535, // imageAtomicMin_01E20D00E + 2537, // textureLod_00Z20B00B + 2539, // sign_00D + 2541, // textureOffset_00Y20B20D + 2543, // imageAtomicXor_01Q10D00D + 2545, // imageAtomicXor_01Q10D00E + 2547, // transpose_60B + 2549, // imageStore_01G20D30D + 2551, // imageAtomicAdd_01O10D00D + 2553, // imageAtomicAdd_01O10D00E + 2555, // faceforward_00B00B00B + 2557, // imageLoad_01Z10D + 2558, // imageAtomicOr_01O10D00E + 2560, // imageAtomicOr_01O10D00D + 2562, // imageAtomicAdd_01b20D00D + 2564, // interpolateAtCentroid_20B + 2567, // textureProjLodOffset_00R30B00B10D + 2569, // textureGrad_00h10B00B00B + 2570, // imageAtomicExchange_01U20D00D00B + 2572, // texture1DProj_00g30B00B + 2573, // textureQueryLod_00h00B + 2574, // imageAtomicExchange_01U20D00D00E + 2576, // modf_00C00C + 2577, // textureProjLod_00t30B00B + 2578, // textureOffset_00o00B00D + 2579, // imageAtomicExchange_01U20D00D00D + 2581, // imageStore_01H20D30E + 2583, // textureGather_00U20B + 2585, // texelFetch_00Q20D00D + 2587, // roundEven_00C + 2588, // roundEven_00B + 2590, // texelFetchOffset_00O10D10D + 2591, // atanh_20B + 2593, // clamp_10E00E00E + 2595, // dFdxFine_30B + 2596, // imageAtomicAdd_01L00D00E + 2598, // textureQueryLod_00J20B + 2599, // textureProjOffset_00X30B10D + 2601, // gl_MaxFragmentUniformVectors + 2603, // texture2DProjLod_00I30B00B + 2605, // interpolateAtOffset_10B10B + 2608, // max_10C10C + 2609, // texelFetch_00g00D00D + 2610, // abs_30B + 2612, // bitfieldInsert_10E10E00D00D + 2614, // packSnorm4x8_30B + 2616, // mix_10B10B00B + 2618, // imageSize_01b + 2620, // clamp_30D30D30D + 2622, // textureGatherOffsets_00L20B10Dx4 + 2625, // imageAtomicMax_01c20D00E + 2627, // mod_10C00C + 2628, // imageAtomicMax_01G20D00D + 2630, // imageAtomicMax_01G20D00E + 2632, // determinant_F0B + 2633, // transpose_A0B + 2635, // pow_20B20B + 2637, // imageSize_01g + 2639, // imageAtomicMax_01B10D00D + 2641, // imageAtomicMax_01B10D00E + 2643, // imageAtomicExchange_01G20D00B + 2645, // imageSize_01e + 2646, // imageAtomicExchange_01G20D00D + 2648, // imageAtomicExchange_01G20D00E + 2650, // imageLoad_01Y10D + 2651, // imageAtomicMax_01g00D00D + 2653, // imageAtomicMax_01g00D00E + 2655, // textureProj_00v30B + 2656, // textureProjGrad_00O20B10B10B + 2657, // texture_00s30B00B + 2658, // log2_20B + 2660, // dot_30C30C + 2661, // fwidthCoarse_10B + 2662, // textureProjOffset_00I20B10D00B + 2664, // imageAtomicAnd_01T10D00D00D + 2666, // imageAtomicAnd_01T10D00D00E + 2668, // notEqual_10F10F + 2670, // smoothstep_00B00B00B + 2672, // textureProjLodOffset_00d30B00B10D + 2674, // imageAtomicAnd_01P10D00E + 2676, // imageAtomicAnd_01P10D00D + 2678, // textureProjLodOffset_00I30B00B10D + 2680, // gl_MaxCombinedAtomicCounters + 2682, // bitfieldInsert_10D10D00D00D + 2684, // imageAtomicCompSwap_01N00D00D00D + 2686, // imageAtomicCompSwap_01L00D00D00D + 2688, // textureGather_00k30B + 2690, // texture_00J20B + 2692, // lessThanEqual_10D10D + 2694, // textureProjOffset_00o30B00D00B + 2695, // gl_MaxVaryingVectors + 2697, // textureSize_00d00D + 2699, // sin_00B + 2701, // uaddCarry_10E10E10E + 2703, // mix_10C10C00C + 2704, // atomicCounterIncrement_00G + 2706, // imageAtomicAdd_01J20D00D + 2708, // imageAtomicAdd_01J20D00E + 2710, // imageAtomicCompSwap_01S10D00D00D00D + 2712, // imageStore_01Q10D30E + 2713, // textureProj_00o10B00B + 2714, // imageAtomicAdd_01U20D00D00D + 2716, // imageAtomicAdd_01U20D00D00E + 2718, // textureProjOffset_00m30B00D + 2719, // imageAtomicExchange_01Y10D00B + 2721, // equal_10E10E + 2723, // imageAtomicExchange_01Y10D00E + 2725, // imageAtomicExchange_01Y10D00D + 2727, // imageLoad_01B10D + 2729, // imageAtomicExchange_01O10D00E + 2731, // textureProjOffset_00J30B20D + 2733, // imageSize_01W + 2734, // imageAtomicXor_01D20D00E + 2736, // notEqual_10E10E + 2738, // min_10C10C + 2739, // textureProjGrad_00t10B00B00B + 2740, // imageAtomicExchange_01N00D00B + 2742, // textureGather_00q20B00D + 2743, // imageAtomicExchange_01N00D00E + 2745, // imageAtomicExchange_01N00D00D + 2747, // textureGatherOffsets_00q10B10Dx400D + 2748, // imageAtomicCompSwap_01O10D00D00D + 2750, // shadow1DProjLod_00m30B00B + 2751, // imageAtomicMin_01i00D00D + 2753, // texture_00u20B00B + 2754, // textureLodOffset_00R10B00B10D + 2756, // trunc_10B + 2758, // trunc_10C + 2759, // imageAtomicAdd_01S10D00D00D + 2761, // texelFetch_00u10D00D + 2762, // dot_20C20C + 2763, // gl_DepthRangeParameters + 2765, // noise4_30B + 2766, // textureGather_00f20B + 2767, // noise1_10B + 2768, // textureProjGrad_00g30B00B00B + 2769, // shadow2DProj_00d30B + 2770, // textureProj_00d30B00B + 2772, // sign_10B + 2774, // max_00E00E + 2776, // texture_00a20B00B + 2778, // textureProj_00o10B + 2779, // refract_20C20C00B + 2780, // textureProj_00M20B00B + 2781, // imageLoad_01A10D + 2783, // textureProjOffset_00X30B10D00B + 2785, // exp2_00B + 2787, // imageAtomicExchange_01H20D00B + 2789, // texelFetchOffset_00u10D00D00D + 2790, // imageAtomicCompSwap_01H20D00E00E + 2792, // imageAtomicExchange_01H20D00E + 2794, // imageAtomicExchange_01H20D00D + 2796, // textureGatherOffset_00q10B10D + 2797, // textureGather_00a20B00D + 2799, // imageStore_01S10D00D30D + 2800, // ldexp_00C00D + 2801, // textureSize_00s00D + 2803, // imageAtomicXor_01P10D00E + 2805, // imageAtomicOr_01I20D00D + 2807, // texture_00N10B00B + 2808, // gl_PrimitiveID + 2810, // imageAtomicCompSwap_01Y10D00D00D + 2812, // textureProjGrad_00I30B10B10B + 2814, // gl_Layer + 2816, // textureOffset_00d20B10D + 2818, // dFdx_30B + 2821, // textureGatherOffsets_00U20B10Dx400D + 2824, // imageAtomicMin_01V20D00D00D + 2826, // imageAtomicMin_01V20D00D00E + 2828, // gl_LastFragColor + 2829, // textureProjGradOffset_00t30B00B00B00D + 2830, // min_20E20E + 2832, // asin_20B + 2834, // imageAtomicCompSwap_01U20D00D00E00E + 2836, // texture_00l30B00B + 2838, // texture1DProjLod_00g10B00B + 2839, // fwidth_10B + 2842, // dFdy_00B + 2845, // shadow2DLod_00d20B00B + 2846, // texture1DProj_00g10B + 2847, // lessThan_30E30E + 2849, // imulExtended_30D30D30D30D + 2851, // transpose_70B + 2853, // imulExtended_00D00D00D00D + 2855, // imageAtomicAdd_01F20D00D + 2857, // imageAtomicAdd_01F20D00E + 2859, // texture_00S20B00B + 2861, // textureLod_00Y20B00B + 2863, // imageAtomicExchange_01c20D00D + 2865, // faceforward_10C10C10C + 2866, // imageStore_01Z10D30E + 2867, // textureQueryLod_00u00B + 2868, // imageAtomicExchange_01c20D00B + 2870, // min_20D00D + 2872, // imageAtomicCompSwap_01P10D00D00D + 2874, // uintBitsToFloat_00E + 2876, // dFdxFine_20B + 2877, // imageAtomicMin_01L00D00D + 2879, // imageAtomicExchange_01g00D00D + 2881, // bitfieldInsert_20D20D00D00D + 2883, // mix_30B30B00B + 2885, // textureQueryLod_00U10B + 2886, // tanh_00B + 2888, // subpassLoad_01o00D + 2889, // imageAtomicMax_01N00D00E + 2891, // imageAtomicMax_01N00D00D + 2893, // max_10C00C + 2894, // matrixCompMult_D0BD0B + 2895, // imageAtomicXor_01M00D00D + 2897, // imageAtomicAnd_01X10D00E + 2899, // shadow2DProjLod_00d30B00B + 2900, // imageAtomicAnd_01X10D00D + 2902, // min_30B30B + 2904, // reflect_20C20C + 2905, // texelFetch_00h10D00D + 2906, // memoryBarrierAtomicCounter_ + 2908, // bitfieldInsert_00E00E00D00D + 2910, // imageAtomicAdd_01b20D00E + 2912, // imageAtomicMin_01a20D00E + 2914, // textureGrad_00d20B10B10B + 2916, // atan_10B + 2918, // imageAtomicCompSwap_01g00D00D00D + 2920, // clamp_30C30C30C + 2921, // textureProj_00v20B + 2922, // step_00B10B + 2924, // textureProjLod_00I20B00B + 2926, // rgb_2_yuv_20B00H + 2927, // imageLoad_01P10D + 2928, // texture_00T20B + 2930, // log2_10B + 2932, // imageAtomicAnd_01D20D00D + 2934, // imageAtomicAnd_01D20D00E + 2936, // findLSB_20E + 2938, // findLSB_20D + 2940, // imageAtomicCompSwap_01B10D00D00D + 2942, // imageAtomicOr_01X10D00D + 2944, // imageAtomicOr_01X10D00E + 2946, // noise2_30B + 2947, // imageAtomicOr_01U20D00D00E + 2949, // greaterThanEqual_10B10B + 2951, // clamp_10D10D10D + 2953, // texelFetch_00M10D00D + 2954, // textureQueryLod_00Y20B + 2955, // transpose_F0B + 2957, // textureOffset_00Y20B20D00B + 2959, // textureGradOffset_00S20B20B20B20D + 2961, // imageAtomicOr_01U20D00D00D + 2963, // clamp_30E30E30E + 2965, // textureSize_00R00D + 2967, // acosh_10B + 2969, // imageLoad_01b20D + 2971, // imageAtomicCompSwap_01Z10D00E00E + 2973, // textureOffset_00L20B10D00B + 2975, // mod_20B00B + 2977, // imageLoad_01U20D00D + 2978, // textureProjLod_00J30B00B + 2980, // subpassLoad_01k + 2981, // transpose_90B + 2983, // mix_30C30C00C + 2984, // subpassLoad_01l + 2985, // atomicAnd_00E00E + 2987, // max_20D00D + 2989, // texelFetchOffset_00I10D00D10D + 2991, // imageAtomicMin_01Z10D00D + 2993, // imageAtomicMin_01Z10D00E + 2995, // imageAtomicCompSwap_01i00D00E00E + 2997, // imageAtomicCompSwap_01K20D00D00D + 2999, // textureQueryLod_00L10B + 3000, // imageStore_01J20D30D + 3002, // atomicCounter_00G + 3004, // textureGrad_00m20B00B00B + 3005, // noise3_20B + 3006, // bitfieldInsert_30D30D00D00D + 3008, // min_10C00C + 3009, // greaterThan_10D10D + 3011, // bitfieldExtract_10E00D00D + 3013, // textureGradOffset_00h10B00B00B00D + 3014, // imageAtomicMax_01V20D00D00D + 3016, // texture2D_00I10B00B + 3018, // greaterThan_20D20D + 3020, // imageAtomicAnd_01W20D00D00D + 3022, // imageAtomicAnd_01W20D00D00E + 3024, // textureProjLodOffset_00t10B00B00D + 3025, // textureProjOffset_00O20B10D + 3026, // trunc_00B + 3028, // length_10C + 3029, // length_10B + 3031, // imageLoad_01R10D00D + 3032, // imageAtomicAdd_01H20D00D + 3034, // imageAtomicAdd_01H20D00E + 3036, // subpassLoad_01j + 3037, // dot_00B00B + 3039, // tan_30B + 3041, // textureLod_00T20B00B + 3043, // textureProjGrad_00R30B10B10B + 3045, // exp2_10B + 3047, // textureProjOffset_00X20B10D00B + 3049, // textureProjGradOffset_00X30B10B10B10D + 3051, // imageAtomicAnd_01B10D00D + 3053, // imageStore_01U20D00D30B + 3054, // matrixCompMult_A0BA0B + 3056, // textureGrad_00S20B20B20B + 3058, // round_30B + 3060, // round_30C + 3061, // anyInvocation_00F + 3062, // textureGrad_00x30B20B20B + 3064, // imageAtomicCompSwap_01D20D00E00E + 3066, // textureProjLod_00o30B00B + 3067, // smoothstep_00C00C10C + 3068, // interpolateAtSample_00B00D + 3071, // dFdx_20B + 3074, // texture_00L20B + 3076, // barrier_ + 3078, // imageAtomicOr_01N00D00E + 3080, // imageAtomicOr_01N00D00D + 3082, // imageAtomicAdd_01a20D00D + 3084, // textureGather_00k30B00D + 3086, // findMSB_20D + 3088, // textureGatherOffset_00L20B10D + 3090, // imageAtomicMin_01S10D00D00D + 3092, // imageLoad_01J20D + 3094, // textureProjOffset_00S30B20D00B + 3096, // imageAtomicAdd_01D20D00D + 3098, // normalize_10C + 3099, // unpackSnorm4x8_00E + 3101, // imageLoad_01C20D + 3103, // imageAtomicMax_01C20D00D + 3105, // imageAtomicMax_01C20D00E + 3107, // textureGather_00l30B00B + 3109, // normalize_10B + 3111, // asin_30B + 3113, // isnan_20B + 3115, // isnan_20C + 3116, // fwidth_00B + 3119, // dFdy_10B + 3122, // imageAtomicAdd_01P10D00E + 3124, // imageAtomicAdd_01P10D00D + 3126, // max_30E00E + 3128, // textureLod_00d20B00B + 3130, // textureOffset_00q10B10D + 3131, // imageAtomicAdd_01c20D00E + 3133, // imageAtomicAdd_01c20D00D + 3135, // mod_10B00B + 3137, // texture_00g00B00B + 3138, // uintBitsToFloat_10E + 3140, // textureProjOffset_00t30B00D + 3141, // matrixCompMult_70B70B + 3142, // imageAtomicAdd_01I20D00D + 3144, // imageAtomicMax_01M00D00D + 3146, // imageAtomicMax_01M00D00E + 3148, // textureLod_00k30B00B + 3150, // imageAtomicAdd_01E20D00D + 3152, // textureLodOffset_00Y20B00B20D + 3154, // refract_00C00C00B + 3155, // log2_00B + 3157, // tanh_10B + 3159, // imageAtomicMin_01I20D00E + 3161, // textureLod_00h10B00B + 3162, // textureGather_00O20B00D + 3163, // gl_LocalInvocationID + 3165, // clamp_00B00B00B + 3167, // textureGather_00d10B + 3168, // gl_MaxGeometryAtomicCounterBuffers + 3169, // textureOffset_00p10B00D00B + 3170, // clamp_10C10C10C + 3171, // imageAtomicXor_01B10D00D + 3173, // outerProduct_20B10B + 3175, // textureProjOffset_00t10B00D + 3176, // isinf_20C + 3177, // textureGrad_00e30B20B20B + 3179, // textureSize_00J00D + 3181, // textureQueryLod_00Z20B + 3182, // dot_10C10C + 3183, // imageAtomicXor_01K20D00E + 3185, // imageAtomicXor_01K20D00D + 3187, // textureProjGrad_00n30B10B10B + 3188, // imageAtomicMin_01U20D00D00E + 3190, // imageAtomicMin_01U20D00D00D + 3192, // imageAtomicAdd_01Q10D00D + 3194, // texture2DProjLodEXT_00I30B00B + 3195, // imageAtomicXor_01T10D00D00D + 3197, // imageAtomicXor_01T10D00D00E + 3199, // imageAtomicAnd_01b20D00D + 3201, // step_00B00B + 3203, // texture2DLodEXT_00I10B00B + 3204, // texture_00K20B00B + 3206, // textureProjGradOffset_00n30B10B10B10D + 3207, // textureGrad_00J20B20B20B + 3209, // imageAtomicCompSwap_01V20D00D00E00E + 3211, // textureOffset_00U20B10D00B + 3213, // intBitsToFloat_10D + 3215, // min_20C20C + 3216, // findLSB_10D + 3218, // textureProjLodOffset_00Y30B00B20D + 3220, // imageAtomicMax_01h00D00E + 3222, // texture3D_00J20B + 3224, // gl_SecondaryFragDataEXT + 3225, // imageAtomicAdd_01X10D00E + 3227, // faceforward_20C20C20C + 3228, // imageAtomicAnd_01O10D00E + 3230, // imageAtomicAdd_01X10D00D + 3232, // imageAtomicXor_01W20D00D00D + 3234, // imageAtomicXor_01W20D00D00E + 3236, // textureGather_00n10B00B + 3237, // imageAtomicXor_01Z10D00E + 3239, // imageAtomicXor_01Z10D00D + 3241, // textureGather_00X10B00D + 3243, // imageAtomicMax_01L00D00E + 3245, // imageAtomicMax_01L00D00D + 3247, // imageAtomicXor_01G20D00E + 3249, // imageAtomicXor_01G20D00D + 3251, // textureOffset_00a20B10D + 3253, // imageAtomicExchange_01X10D00B + 3255, // textureGatherOffsets_00v10B10Dx4 + 3256, // texture2DProj_00I30B00B + 3258, // textureQueryLod_00X10B + 3259, // imageAtomicAnd_01I20D00E + 3261, // textureCubeGradEXT_00K20B20B20B + 3262, // min_00B00B + 3264, // textureGradOffset_00o00B00B00B00D + 3265, // imageAtomicExchange_01Q10D00B + 3267, // mix_30C30C30F + 3268, // mix_30C30C30C + 3269, // gl_WorkGroupID + 3271, // degrees_00B + 3273, // imageAtomicMax_01J20D00E + 3275, // imageAtomicMax_01J20D00D + 3277, // imageAtomicMin_01D20D00D + 3279, // textureGatherOffsets_00R10B10Dx4 + 3282, // atomicExchange_00D00D + 3284, // textureOffset_00m20B00D00B + 3285, // gl_MaxGeometryAtomicCounters + 3286, // textureOffset_00f30B10D + 3287, // imageStore_01c20D30E + 3289, // imageAtomicExchange_01a20D00D + 3291, // imageAtomicExchange_01a20D00E + 3293, // imageAtomicExchange_01a20D00B + 3295, // matrixCompMult_60B60B + 3296, // imageAtomicCompSwap_00z10D00D00D + 3298, // textureProj_00t30B + 3299, // textureProjGradOffset_00t10B00B00B00D + 3300, // unpackSnorm2x16_00E + 3302, // lessThan_30D30D + 3304, // atan_00B00B + 3306, // textureQueryLod_00S20B + 3307, // notEqual_10B10B + 3309, // imageLoad_01G20D + 3311, // trunc_30B + 3313, // trunc_30C + 3314, // length_00B + 3316, // length_00C + 3317, // imageAtomicAnd_01H20D00D + 3319, // imageAtomicAnd_01H20D00E + 3321, // textureProj_00X30B00B + 3323, // imageAtomicCompSwap_01C20D00E00E + 3325, // tan_00B + 3327, // min_20E00E + 3329, // textureLod_00x30B00B + 3331, // textureSize_00j + 3333, // textureSize_00n + 3334, // imageAtomicXor_01F20D00D + 3336, // textureSize_00c + 3338, // textureSize_00b + 3341, // min_20B20B + 3343, // textureSize_00q + 3344, // textureSize_00r + 3346, // textureSize_00w + 3348, // textureSize_00v + 3349, // bitfieldInsert_20E20E00D00D + 3351, // gl_MaxProgramTexelOffset + 3353, // textureSize_00O + 3354, // imageAtomicAnd_01a20D00E + 3356, // imageAtomicMin_01g00D00D + 3358, // trunc_00C + 3359, // imageAtomicAnd_01a20D00D + 3361, // textureSize_00Q + 3363, // textureSize_00P + 3366, // imageAtomicAdd_01M00D00E + 3368, // imageLoad_01K20D + 3370, // textureSize_00W + 3372, // textureProjLod_00X20B00B + 3374, // smoothstep_00C00C00C + 3375, // atomicCounterAnd_00G00E + 3376, // faceforward_30B30B30B + 3378, // distance_20C20C + 3379, // atomicCounterAdd_00G00E + 3380, // imageStore_01O10D30B + 3381, // texture_00X10B + 3383, // ceil_00C + 3384, // ceil_00B + 3386, // distance_00B00B + 3388, // texelFetch_00O10D + 3389, // imageAtomicExchange_01C20D00D + 3391, // imageAtomicExchange_01C20D00E + 3393, // textureGrad_00s30B20B20B + 3395, // textureGather_00I10B + 3397, // imageAtomicExchange_01C20D00B + 3399, // min_30D30D + 3401, // imageAtomicExchange_01Z10D00B + 3403, // findMSB_30E + 3405, // findMSB_30D + 3407, // textureGradOffset_00R10B10B10B10D + 3409, // fwidth_30B + 3412, // textureGrad_00K20B20B20B + 3414, // texelFetch_00S20D00D + 3416, // max_10B00B + 3418, // textureProjGradOffset_00R30B10B10B10D + 3420, // texelFetchOffset_00L20D00D10D + 3422, // isnan_30C + 3423, // transpose_50B + 3425, // greaterThanEqual_20D20D + 3427, // asinh_00B + 3429, // gl_PrimitiveIDIn + 3430, // textureGather_00Z20B + 3432, // textureGrad_00p10B00B00B + 3433, // textureProjOffset_00v30B10D + 3434, // greaterThan_20B20B + 3436, // min_20D20D + 3438, // texelFetchOffset_00g00D00D00D + 3439, // imageAtomicCompSwap_01g00D00E00E + 3441, // imageAtomicMin_01W20D00D00E + 3443, // imageAtomicMin_01W20D00D00D + 3445, // imageAtomicXor_01O10D00D + 3447, // imageAtomicXor_01O10D00E + 3449, // tanh_20B + 3451, // textureProj_00m30B00B + 3452, // sin_20B + 3454, // smoothstep_00C00C30C + 3455, // textureSize_00l00D + 3457, // textureLod_00o00B00B + 3458, // textureOffset_00I10B10D00B + 3460, // imageAtomicAnd_00z10D00D + 3462, // imageAtomicAnd_00z10D00E + 3464, // imageAtomicCompSwap_01W20D00D00D00D + 3466, // gl_MaxAtomicCounterBufferSize + 3468, // textureOffset_00J20B20D00B + 3470, // lessThanEqual_20E20E + 3472, // gl_BaseVertex + 3473, // textureOffset_00g00B00D + 3474, // textureProj_00g30B + 3475, // gl_MaxGeometryTotalOutputComponents + 3476, // bitfieldInsert_30E30E00D00D + 3478, // bitfieldExtract_20E00D00D + 3480, // uintBitsToFloat_20E + 3482, // unpackUnorm4x8_00E + 3484, // imageAtomicExchange_01K20D00E + 3486, // mod_10B10B + 3488, // imageAtomicExchange_01K20D00B + 3490, // imageAtomicAnd_01B10D00E + 3492, // imageAtomicXor_01i00D00D + 3494, // gl_MaxVertexImageUniforms + 3496, // equal_20D20D + 3498, // mix_10E10E10F + 3500, // textureGather_00R10B00D + 3502, // textureSize_00Z00D + 3504, // bitfieldExtract_30D00D00D + 3506, // imageAtomicXor_01J20D00D + 3508, // imageAtomicXor_01J20D00E + 3510, // intBitsToFloat_00D + 3512, // textureLodOffset_00m20B00B00D + 3513, // findLSB_00E + 3515, // texelFetch_00p10D00D + 3516, // textureGather_00d10B00B + 3518, // shadow2DProj_00d30B00B + 3519, // imageAtomicAdd_01T10D00D00D + 3521, // imageAtomicAdd_01T10D00D00E + 3523, // inversesqrt_10B + 3525, // inversesqrt_10C + 3526, // abs_30D + 3528, // transpose_D0B + 3530, // abs_30C + 3531, // textureProjGrad_00O30B10B10B + 3532, // Empty + 3532, // imageLoad_01E20D + 3534, // textureProj_00N20B00B + 3535, // gl_FragData + 3537, // dFdxCoarse_20B + 3538, // clamp_20E00E00E + 3540, // textureProj_00d30B + 3542, // gl_MaxVertexOutputVectors + 3544, // imageAtomicOr_01i00D00D + 3546, // imageAtomicOr_01i00D00E + 3548, // shadow1D_00m20B + 3549, // textureOffset_00u10B00D + 3550, // cosh_10B + 3552, // sign_10C + 3553, // imageAtomicAnd_01G20D00E + 3555, // imageAtomicAnd_01G20D00D + 3557, // sign_10D + 3559, // umulExtended_00E00E00E00E + 3561, // gl_MaxVertexAttribs + 3563, // Empty + 3563, // texture_00a20B + 3565, // imageAtomicExchange_01g00D00B + 3567, // imageAtomicExchange_01B10D00B + 3569, // ldexp_10B10D + 3571, // imageAtomicExchange_01B10D00D + 3573, // imageAtomicExchange_01B10D00E + 3575, // textureProjOffset_00g30B00D + 3576, // texture_00Z20B + 3578, // degrees_10B + 3580, // texture_00k30B00B + 3581, // texture_00K20B + 3583, // sinh_10B + 3585, // texture_00m20B + 3586, // imageAtomicXor_01C20D00D + 3588, // textureGatherOffsets_00I10B10Dx400D + 3591, // not_30F + 3593, // textureProjLodOffset_00I20B00B10D + 3595, // textureGather_00K20B + 3597, // textureGatherOffset_00R10B10D + 3599, // memoryBarrierShared_ + 3601, // clamp_20B20B20B + 3603, // texelFetch_00W20D00D + 3605, // textureProjLod_00g10B00B + 3606, // trunc_20C + 3607, // trunc_20B + 3609, // textureProjOffset_00I30B10D00B + 3611, // max_00C00C + 3612, // tan_10B + 3614, // texture_00g00B + 3615, // textureLodOffset_00L20B00B10D + 3617, // textureLodOffset_00u10B00B00D + 3618, // imageAtomicOr_01B10D00D + 3620, // imageAtomicOr_01B10D00E + 3622, // isinf_20B + 3624, // dFdyCoarse_10B + 3625, // textureGatherOffset_00X10B10D00D + 3627, // min_10E10E + 3629, // memoryBarrierImage_ + 3631, // round_10B + 3633, // round_10C + 3634, // textureProjLodOffset_00m30B00B00D + 3635, // textureProjGradOffset_00g10B00B00B00D + 3636, // textureProj_00R30B + 3638, // shadow1DProj_00m30B + 3639, // texture_00f30B00B + 3640, // fma_00B00B00B + 3643, // imageStore_01X10D30B + 3644, // imageAtomicOr_01b20D00E + 3646, // imageAtomicOr_01b20D00D + 3648, // textureGatherOffset_00v10B10D00D + 3649, // atomicMax_00E00E + 3651, // textureQueryLod_00t00B + 3652, // textureProjOffset_00R30B10D + 3654, // textureProj_00X30B + 3656, // findMSB_00D + 3658, // findMSB_00E + 3660, // textureProjOffset_00X20B10D + 3662, // imageAtomicCompSwap_01X10D00D00D + 3664, // frexp_30C30D + 3665, // mix_10C10C10C + 3666, // min_30D00D + 3668, // imageAtomicCompSwap_01K20D00E00E + 3670, // texture_00M10B00B + 3671, // fwidth_20B + 3674, // imageAtomicOr_01S10D00D00D + 3676, // imageAtomicOr_01S10D00D00E + 3678, // mod_30C00C + 3679, // imageAtomicAdd_01A10D00D + 3681, // imageAtomicAdd_01A10D00E + 3683, // texture_00o00B00B + 3684, // imageAtomicOr_01H20D00E + 3686, // imageAtomicOr_01H20D00D + 3688, // cos_20B + 3690, // gl_MaxGeometryUniformComponents + 3691, // textureGather_00T20B + 3693, // textureProjGradOffset_00J30B20B20B20D + 3695, // asinh_10B + 3697, // texelFetchOffset_00v10D10D + 3698, // imageAtomicXor_01E20D00E + 3700, // imageAtomicXor_01E20D00D + 3702, // textureGatherOffsets_00R10B10Dx400D }; using Ext = TExtension; // Flat array of all unmangled name identifiers. constexpr UnmangledEntry unmangled[] = { - {"radians", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"degrees", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"cos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"tan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"asin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"acos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"atan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"cosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"tanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"asinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"acosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"atanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"pow", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"exp", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"log", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"exp2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"log2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"sqrt", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"inversesqrt", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"abs", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"sign", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"floor", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"trunc", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"round", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"roundEven", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"ceil", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"fract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"mod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"min", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"max", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"clamp", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"mix", Ext::UNDEFINED, Ext::UNDEFINED, 310, 450, Shader::ALL}, - {"step", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"smoothstep", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"modf", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"isnan", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"isinf", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"floatBitsToInt", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"floatBitsToUint", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"intBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"uintBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, - {"fma", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"frexp", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"ldexp", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"packSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"packHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"unpackSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"unpackHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, - {"packUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, - {"unpackUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, - {"packUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"packSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"unpackUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"unpackSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"packDouble2x32", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"unpackDouble2x32", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"length", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"distance", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"dot", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"cross", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"normalize", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"faceforward", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"reflect", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"refract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"ftransform", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"matrixCompMult", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"outerProduct", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, - {"transpose", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, - {"determinant", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"inverse", Ext::UNDEFINED, Ext::UNDEFINED, 300, 140, Shader::ALL}, - {"lessThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"lessThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"greaterThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"greaterThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, - {"equal", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"notEqual", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"any", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, {"all", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"not", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, - {"bitfieldExtract", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitfieldInsert", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitfieldReverse", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"bitCount", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"findLSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"findMSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"uaddCarry", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"usubBorrow", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"umulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"imulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, - {"texture2D", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, - {"texture2DProj", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, - {"textureCube", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, - {"texture1D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"texture1DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"texture3D", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3DProj", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"shadow1D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"shadow1DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"shadow2D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"shadow2DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"texture2DRect", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture2DRectProj", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"textureProj", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"texture2DGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture2DProjGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"textureCubeGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, - {"texture3DLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture3DProjLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"dFdx", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, - {"dFdy", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, + {"unpackUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"textureVideoWEBGL", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, + {"imageAtomicCompSwap", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, {"fwidth", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, - {"texture2DLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture2DProjLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"textureCubeLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"shadow2DEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"shadow2DProjEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, - {"texture2DLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"texture2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"textureCubeLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, - {"texture1DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"texture1DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"shadow1DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"rgb_2_yuv", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"atomicCounterIncrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"yuv_2_rgb", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"findLSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, {"shadow1DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"shadow2DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"shadow2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, - {"textureLod", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"textureSize", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"texelFetch", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureGrad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"textureCubeGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"memoryBarrierImage", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"packSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"inverse", Ext::UNDEFINED, Ext::UNDEFINED, 300, 140, Shader::ALL}, + {"textureCubeLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"imageAtomicAdd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"texture", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"frexp", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"degrees", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"imulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture2DProjGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"atomicAnd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"textureProjGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"roundEven", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"texture2DProjLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"memoryBarrierAtomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"dFdxFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"ceil", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"texture1D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"atomicCounterXor", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"not", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DRectProj", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"mod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"floatBitsToInt", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"radians", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"smoothstep", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, {"textureProjGrad", Ext::UNDEFINED, Ext::UNDEFINED, -1, 140, Shader::ALL}, {"textureQueryLevels", Ext::UNDEFINED, Ext::UNDEFINED, -1, 430, Shader::ALL}, - {"textureSamples", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::ALL}, - {"textureGather", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"textureQueryLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::FRAGMENT}, + {"lessThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"dFdy", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, + {"modf", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"unpackSnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"round", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, {"textureOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::FRAGMENT}, - {"textureProjOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::FRAGMENT}, - {"textureLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"textureProjLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"texelFetchOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"textureGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"textureProjGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, - {"rgb_2_yuv", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"yuv_2_rgb", Ext::EXT_YUV_target, Ext::UNDEFINED, 300, -1, Shader::ALL}, - {"textureGatherOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"textureGatherOffsets", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, - {"dFdxFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"dFdyFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"dFdxCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"dFdyCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"fwidthFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"fwidthCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, - {"interpolateAtCentroid", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, - Shader::FRAGMENT}, - {"interpolateAtSample", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, - Shader::FRAGMENT}, + {"clamp", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"unpackDouble2x32", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"atomicCounterOr", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"findMSB", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture2DRect", Ext::ARB_texture_rectangle, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"acosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"interpolateAtOffset", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, Shader::FRAGMENT}, - {"atomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicCounterIncrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicCounterDecrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"atomicCounterAdd", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterSubtract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterMin", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterMax", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterAnd", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterOr", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterXor", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterExchange", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicCounterCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"atomicAdd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicMin", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicMax", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicAnd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicOr", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicXor", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicExchange", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"atomicCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"imageSize", Ext::UNDEFINED, Ext::UNDEFINED, -1, 430, Shader::ALL}, - {"imageSamples", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::ALL}, - {"imageStore", Ext::UNDEFINED, Ext::UNDEFINED, -1, 420, Shader::ALL}, - {"imageLoad", Ext::UNDEFINED, Ext::UNDEFINED, -1, 420, Shader::ALL}, - {"imageAtomicAdd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicMin", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicMax", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicAnd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicOr", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"cosh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, {"imageAtomicXor", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicExchange", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"imageAtomicCompSwap", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, - {"noise1", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"noise2", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"noise3", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"noise4", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, - {"memoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, - {"memoryBarrierAtomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"memoryBarrierBuffer", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"memoryBarrierImage", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, - {"barrier", Ext::UNDEFINED, Ext::UNDEFINED, 320, -1, Shader::TESS_CONTROL_EXT}, + {"uaddCarry", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"imageAtomicOr", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"imageLoad", Ext::UNDEFINED, Ext::UNDEFINED, -1, 420, Shader::ALL}, + {"asin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"isnan", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"atomicMax", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"bitfieldReverse", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"dFdx", Ext::UNDEFINED, Ext::UNDEFINED, 300, 0, Shader::FRAGMENT}, {"memoryBarrierShared", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::COMPUTE}, - {"groupMemoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::COMPUTE}, - {"EmitVertex", Ext::UNDEFINED, Ext::UNDEFINED, -1, 150, Shader::GEOMETRY}, - {"EndPrimitive", Ext::UNDEFINED, Ext::UNDEFINED, -1, 150, Shader::GEOMETRY}, - {"EmitStreamVertex", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::GEOMETRY}, - {"EndStreamPrimitive", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::GEOMETRY}, - {"subpassLoad", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"anyInvocation", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"shadow2DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"textureLod", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"faceforward", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"abs", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, {"allInvocations", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"max", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"subpassLoad", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"atomicCounterAnd", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"unpackSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"log2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"textureGrad", Ext::UNDEFINED, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"barrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::COMPUTE}, + {"texture2DProj", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, + {"atomicCounterDecrement", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"lessThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"transpose", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, + {"step", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"sinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureProjOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::FRAGMENT}, + {"trunc", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"cos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"interpolateAtSample", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, + Shader::FRAGMENT}, + {"EmitStreamVertex", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::GEOMETRY}, + {"shadow2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"equal", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"usubBorrow", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texelFetchOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"length", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"textureSize", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"acos", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"uintBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"packUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, + {"unpackHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"matrixCompMult", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"pow", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"texture2DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"ldexp", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"floatBitsToUint", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"textureProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"textureCubeLodEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"imageStore", Ext::UNDEFINED, Ext::UNDEFINED, -1, 420, Shader::ALL}, + {"textureGatherOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"textureProjLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"log", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"bitCount", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"dFdyFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"exp2", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"atomicCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"imageSamples", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::ALL}, + {"fract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"atomicCounterSubtract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"EmitVertex", Ext::UNDEFINED, Ext::UNDEFINED, -1, 150, Shader::GEOMETRY}, + {"shadow1DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"textureGatherOffsets", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"fma", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"EndStreamPrimitive", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::GEOMETRY}, + {"determinant", Ext::UNDEFINED, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"textureGather", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"texture3DLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"greaterThanEqual", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"shadow1D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"greaterThan", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"bitfieldInsert", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture3DProj", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"packUnorm4x8", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"sign", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"inversesqrt", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"noise1", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"distance", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"dFdxCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"noise2", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"tanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"texture2DGradEXT", Ext::EXT_shader_texture_lod, Ext::UNDEFINED, 100, -1, Shader::ALL}, + {"memoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"texture1DProjLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"fwidthCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"atomicCounterMax", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"atomicCounterMin", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"atomicCounter", Ext::UNDEFINED, Ext::UNDEFINED, 310, 420, Shader::ALL}, + {"intBitsToFloat", Ext::UNDEFINED, Ext::UNDEFINED, 300, 330, Shader::ALL}, + {"bitfieldExtract", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"texture3DProjLod", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"atomicAdd", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"asinh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"shadow2DProjEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"texture2D", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::FRAGMENT}, + {"memoryBarrierBuffer", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"shadow2DEXT", Ext::EXT_shadow_samplers, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"tan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"any", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"atomicXor", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"normalize", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"shadow1DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"imageAtomicAnd", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"dFdyCoarse", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"floor", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"textureLodOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"fwidthFine", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::FRAGMENT}, + {"atanh", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureSamples", Ext::UNDEFINED, Ext::UNDEFINED, -1, 450, Shader::ALL}, + {"cross", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"sqrt", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"atomicCounterCompSwap", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"mix", Ext::UNDEFINED, Ext::UNDEFINED, 310, 450, Shader::ALL}, + {"ftransform", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"atomicCounterAdd", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"sin", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"shadow2D", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"anyInvocation", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"shadow2DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"atomicExchange", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"imageAtomicMin", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, {"allInvocationsEqual", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, - {"textureVideoWEBGL", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}}; + {"textureGradOffset", Ext::UNDEFINED, Ext::UNDEFINED, -1, 130, Shader::ALL}, + {"atan", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"unpackUnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 400, Shader::ALL}, + {"textureQueryLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::FRAGMENT}, + {"imageAtomicMax", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"texture1DProj", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"interpolateAtCentroid", Ext::OES_shader_multisample_interpolation, Ext::UNDEFINED, 300, -1, + Shader::FRAGMENT}, + {"reflect", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"isinf", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"texture3D", Ext::OES_texture_3D, Ext::UNDEFINED, 100, -1, Shader::FRAGMENT}, + {"umulExtended", Ext::UNDEFINED, Ext::UNDEFINED, 310, 400, Shader::ALL}, + {"atomicOr", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"texelFetch", Ext::OES_EGL_image_external_essl3, Ext::UNDEFINED, 300, -1, Shader::ALL}, + {"EndPrimitive", Ext::UNDEFINED, Ext::UNDEFINED, -1, 150, Shader::GEOMETRY}, + {"atomicCounterExchange", Ext::UNDEFINED, Ext::UNDEFINED, -1, 460, Shader::ALL}, + {"noise4", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"notEqual", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"outerProduct", Ext::UNDEFINED, Ext::UNDEFINED, 300, 120, Shader::ALL}, + {"packDouble2x32", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"imageSize", Ext::UNDEFINED, Ext::UNDEFINED, -1, 430, Shader::ALL}, + {"refract", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}, + {"noise3", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::ALL}, + {"min", Ext::UNDEFINED, Ext::UNDEFINED, 300, 130, Shader::ALL}, + {"textureCube", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::ALL}, + {"packSnorm2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"texture1DLod", Ext::UNDEFINED, Ext::UNDEFINED, -1, 0, Shader::VERTEX}, + {"exp", Ext::UNDEFINED, Ext::UNDEFINED, 0, 0, Shader::ALL}, + {"groupMemoryBarrier", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::COMPUTE}, + {"atomicMin", Ext::UNDEFINED, Ext::UNDEFINED, 310, 430, Shader::ALL}, + {"imageAtomicExchange", Ext::OES_shader_image_atomic, Ext::UNDEFINED, 310, -1, Shader::ALL}, + {"packHalf2x16", Ext::UNDEFINED, Ext::UNDEFINED, 300, 420, Shader::ALL}, + {"texture2DLod", Ext::UNDEFINED, Ext::UNDEFINED, 100, 0, Shader::VERTEX}, + {"dot", Ext::UNDEFINED, Ext::UNDEFINED, -1, 400, Shader::ALL}}; } // namespace BuiltInArray @@ -38822,16 +38083,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryInputComponents); static_cast(m_gl_MaxGeometryInputComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryInputComponentsES3_2, - BuiltInName::gl_MaxGeometryInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryInputComponents); - static_cast(m_gl_MaxGeometryInputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryOutputComponents = new TVariable( BuiltInId::gl_MaxGeometryOutputComponents, BuiltInName::gl_MaxGeometryOutputComponents, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38841,16 +38092,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryOutputComponents); static_cast(m_gl_MaxGeometryOutputComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryOutputComponentsES3_2, - BuiltInName::gl_MaxGeometryOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryOutputComponents); - static_cast(m_gl_MaxGeometryOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryImageUniforms = new TVariable( BuiltInId::gl_MaxGeometryImageUniforms, BuiltInName::gl_MaxGeometryImageUniforms, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38860,15 +38101,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryImageUniforms); static_cast(m_gl_MaxGeometryImageUniforms)->shareConstPointer(unionArray); } - m_gl_MaxGeometryImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryImageUniformsES3_2, - BuiltInName::gl_MaxGeometryImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryImageUniforms); - static_cast(m_gl_MaxGeometryImageUniformsES3_2)->shareConstPointer(unionArray); - } m_gl_MaxGeometryTextureImageUnits = new TVariable( BuiltInId::gl_MaxGeometryTextureImageUnits, BuiltInName::gl_MaxGeometryTextureImageUnits, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38878,16 +38110,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryTextureImageUnits); static_cast(m_gl_MaxGeometryTextureImageUnits)->shareConstPointer(unionArray); } - m_gl_MaxGeometryTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryTextureImageUnitsES3_2, - BuiltInName::gl_MaxGeometryTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryTextureImageUnits); - static_cast(m_gl_MaxGeometryTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryOutputVertices = new TVariable( BuiltInId::gl_MaxGeometryOutputVertices, BuiltInName::gl_MaxGeometryOutputVertices, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38897,16 +38119,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryOutputVertices); static_cast(m_gl_MaxGeometryOutputVertices)->shareConstPointer(unionArray); } - m_gl_MaxGeometryOutputVerticesES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryOutputVerticesES3_2, - BuiltInName::gl_MaxGeometryOutputVertices, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryOutputVertices); - static_cast(m_gl_MaxGeometryOutputVerticesES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryTotalOutputComponents = new TVariable( BuiltInId::gl_MaxGeometryTotalOutputComponents, BuiltInName::gl_MaxGeometryTotalOutputComponents, SymbolType::BuiltIn, @@ -38917,16 +38129,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, static_cast(m_gl_MaxGeometryTotalOutputComponents) ->shareConstPointer(unionArray); } - m_gl_MaxGeometryTotalOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryTotalOutputComponentsES3_2, - BuiltInName::gl_MaxGeometryTotalOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryTotalOutputComponents); - static_cast(m_gl_MaxGeometryTotalOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryUniformComponents = new TVariable( BuiltInId::gl_MaxGeometryUniformComponents, BuiltInName::gl_MaxGeometryUniformComponents, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38936,16 +38138,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryUniformComponents); static_cast(m_gl_MaxGeometryUniformComponents)->shareConstPointer(unionArray); } - m_gl_MaxGeometryUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryUniformComponentsES3_2, - BuiltInName::gl_MaxGeometryUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryUniformComponents); - static_cast(m_gl_MaxGeometryUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryAtomicCounters = new TVariable( BuiltInId::gl_MaxGeometryAtomicCounters, BuiltInName::gl_MaxGeometryAtomicCounters, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, @@ -38955,16 +38147,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, unionArray[0].setIConst(resources.MaxGeometryAtomicCounters); static_cast(m_gl_MaxGeometryAtomicCounters)->shareConstPointer(unionArray); } - m_gl_MaxGeometryAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryAtomicCountersES3_2, - BuiltInName::gl_MaxGeometryAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryAtomicCounters); - static_cast(m_gl_MaxGeometryAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } m_gl_MaxGeometryAtomicCounterBuffers = new TVariable( BuiltInId::gl_MaxGeometryAtomicCounterBuffers, BuiltInName::gl_MaxGeometryAtomicCounterBuffers, SymbolType::BuiltIn, @@ -38975,405 +38157,6 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, static_cast(m_gl_MaxGeometryAtomicCounterBuffers) ->shareConstPointer(unionArray); } - m_gl_MaxGeometryAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxGeometryAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxGeometryAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxGeometryAtomicCounterBuffers); - static_cast(m_gl_MaxGeometryAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlInputComponents = new TVariable( - BuiltInId::gl_MaxTessControlInputComponents, BuiltInName::gl_MaxTessControlInputComponents, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlInputComponents); - static_cast(m_gl_MaxTessControlInputComponents)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlInputComponentsES3_2, - BuiltInName::gl_MaxTessControlInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlInputComponents); - static_cast(m_gl_MaxTessControlInputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlOutputComponents = new TVariable( - BuiltInId::gl_MaxTessControlOutputComponents, - BuiltInName::gl_MaxTessControlOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlOutputComponents); - static_cast(m_gl_MaxTessControlOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlOutputComponentsES3_2, - BuiltInName::gl_MaxTessControlOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlOutputComponents); - static_cast(m_gl_MaxTessControlOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTextureImageUnits = new TVariable( - BuiltInId::gl_MaxTessControlTextureImageUnits, - BuiltInName::gl_MaxTessControlTextureImageUnits, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTextureImageUnits); - static_cast(m_gl_MaxTessControlTextureImageUnits) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlTextureImageUnitsES3_2, - BuiltInName::gl_MaxTessControlTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTextureImageUnits); - static_cast(m_gl_MaxTessControlTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlUniformComponents = new TVariable( - BuiltInId::gl_MaxTessControlUniformComponents, - BuiltInName::gl_MaxTessControlUniformComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlUniformComponents); - static_cast(m_gl_MaxTessControlUniformComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlUniformComponentsES3_2, - BuiltInName::gl_MaxTessControlUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlUniformComponents); - static_cast(m_gl_MaxTessControlUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTotalOutputComponents = new TVariable( - BuiltInId::gl_MaxTessControlTotalOutputComponents, - BuiltInName::gl_MaxTessControlTotalOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTotalOutputComponents); - static_cast(m_gl_MaxTessControlTotalOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlTotalOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlTotalOutputComponentsES3_2, - BuiltInName::gl_MaxTessControlTotalOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlTotalOutputComponents); - static_cast(m_gl_MaxTessControlTotalOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlImageUniforms = new TVariable( - BuiltInId::gl_MaxTessControlImageUniforms, BuiltInName::gl_MaxTessControlImageUniforms, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlImageUniforms); - static_cast(m_gl_MaxTessControlImageUniforms)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlImageUniformsES3_2, - BuiltInName::gl_MaxTessControlImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlImageUniforms); - static_cast(m_gl_MaxTessControlImageUniformsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounters = new TVariable( - BuiltInId::gl_MaxTessControlAtomicCounters, BuiltInName::gl_MaxTessControlAtomicCounters, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounters); - static_cast(m_gl_MaxTessControlAtomicCounters)->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlAtomicCountersES3_2, - BuiltInName::gl_MaxTessControlAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounters); - static_cast(m_gl_MaxTessControlAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounterBuffers = new TVariable( - BuiltInId::gl_MaxTessControlAtomicCounterBuffers, - BuiltInName::gl_MaxTessControlAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounterBuffers); - static_cast(m_gl_MaxTessControlAtomicCounterBuffers) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessControlAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxTessControlAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxTessControlAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessControlAtomicCounterBuffers); - static_cast(m_gl_MaxTessControlAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessPatchComponents = - new TVariable(BuiltInId::gl_MaxTessPatchComponents, BuiltInName::gl_MaxTessPatchComponents, - SymbolType::BuiltIn, TExtension::EXT_tessellation_shader, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessPatchComponents); - static_cast(m_gl_MaxTessPatchComponents)->shareConstPointer(unionArray); - } - m_gl_MaxTessPatchComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessPatchComponentsES3_2, - BuiltInName::gl_MaxTessPatchComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessPatchComponents); - static_cast(m_gl_MaxTessPatchComponentsES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxPatchVertices = new TVariable( - BuiltInId::gl_MaxPatchVertices, BuiltInName::gl_MaxPatchVertices, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxPatchVertices); - static_cast(m_gl_MaxPatchVertices)->shareConstPointer(unionArray); - } - m_gl_MaxPatchVerticesES3_2 = new TVariable( - BuiltInId::gl_MaxPatchVerticesES3_2, BuiltInName::gl_MaxPatchVertices, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxPatchVertices); - static_cast(m_gl_MaxPatchVerticesES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxTessGenLevel = new TVariable( - BuiltInId::gl_MaxTessGenLevel, BuiltInName::gl_MaxTessGenLevel, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessGenLevel); - static_cast(m_gl_MaxTessGenLevel)->shareConstPointer(unionArray); - } - m_gl_MaxTessGenLevelES3_2 = new TVariable( - BuiltInId::gl_MaxTessGenLevelES3_2, BuiltInName::gl_MaxTessGenLevel, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessGenLevel); - static_cast(m_gl_MaxTessGenLevelES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationInputComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationInputComponents, - BuiltInName::gl_MaxTessEvaluationInputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationInputComponents); - static_cast(m_gl_MaxTessEvaluationInputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationInputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationInputComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationInputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationInputComponents); - static_cast(m_gl_MaxTessEvaluationInputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationOutputComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationOutputComponents, - BuiltInName::gl_MaxTessEvaluationOutputComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationOutputComponents); - static_cast(m_gl_MaxTessEvaluationOutputComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationOutputComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationOutputComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationOutputComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationOutputComponents); - static_cast(m_gl_MaxTessEvaluationOutputComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationTextureImageUnits = new TVariable( - BuiltInId::gl_MaxTessEvaluationTextureImageUnits, - BuiltInName::gl_MaxTessEvaluationTextureImageUnits, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationTextureImageUnits); - static_cast(m_gl_MaxTessEvaluationTextureImageUnits) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationTextureImageUnitsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationTextureImageUnitsES3_2, - BuiltInName::gl_MaxTessEvaluationTextureImageUnits, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationTextureImageUnits); - static_cast(m_gl_MaxTessEvaluationTextureImageUnitsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationUniformComponents = new TVariable( - BuiltInId::gl_MaxTessEvaluationUniformComponents, - BuiltInName::gl_MaxTessEvaluationUniformComponents, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationUniformComponents); - static_cast(m_gl_MaxTessEvaluationUniformComponents) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationUniformComponentsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationUniformComponentsES3_2, - BuiltInName::gl_MaxTessEvaluationUniformComponents, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationUniformComponents); - static_cast(m_gl_MaxTessEvaluationUniformComponentsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationImageUniforms = new TVariable( - BuiltInId::gl_MaxTessEvaluationImageUniforms, - BuiltInName::gl_MaxTessEvaluationImageUniforms, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationImageUniforms); - static_cast(m_gl_MaxTessEvaluationImageUniforms) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationImageUniformsES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationImageUniformsES3_2, - BuiltInName::gl_MaxTessEvaluationImageUniforms, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationImageUniforms); - static_cast(m_gl_MaxTessEvaluationImageUniformsES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounters = new TVariable( - BuiltInId::gl_MaxTessEvaluationAtomicCounters, - BuiltInName::gl_MaxTessEvaluationAtomicCounters, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounters); - static_cast(m_gl_MaxTessEvaluationAtomicCounters) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCountersES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationAtomicCountersES3_2, - BuiltInName::gl_MaxTessEvaluationAtomicCounters, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounters); - static_cast(m_gl_MaxTessEvaluationAtomicCountersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounterBuffers = new TVariable( - BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffers, - BuiltInName::gl_MaxTessEvaluationAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounterBuffers); - static_cast(m_gl_MaxTessEvaluationAtomicCounterBuffers) - ->shareConstPointer(unionArray); - } - m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2 = - new TVariable(BuiltInId::gl_MaxTessEvaluationAtomicCounterBuffersES3_2, - BuiltInName::gl_MaxTessEvaluationAtomicCounterBuffers, SymbolType::BuiltIn, - TExtension::UNDEFINED, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxTessEvaluationAtomicCounterBuffers); - static_cast(m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2) - ->shareConstPointer(unionArray); - } - m_gl_MaxSamples = new TVariable(BuiltInId::gl_MaxSamples, BuiltInName::gl_MaxSamples, - SymbolType::BuiltIn, TExtension::OES_sample_variables, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxSamples); - static_cast(m_gl_MaxSamples)->shareConstPointer(unionArray); - } - m_gl_MaxSamplesES3_2 = new TVariable(BuiltInId::gl_MaxSamplesES3_2, BuiltInName::gl_MaxSamples, - SymbolType::BuiltIn, TExtension::UNDEFINED, - StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxSamples); - static_cast(m_gl_MaxSamplesES3_2)->shareConstPointer(unionArray); - } - m_gl_MaxClipDistancesAPPLE = new TVariable( - BuiltInId::gl_MaxClipDistancesAPPLE, BuiltInName::gl_MaxClipDistances, SymbolType::BuiltIn, - TExtension::APPLE_clip_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxClipDistances); - static_cast(m_gl_MaxClipDistancesAPPLE)->shareConstPointer(unionArray); - } - m_gl_MaxCullDistancesEXT = new TVariable( - BuiltInId::gl_MaxCullDistancesEXT, BuiltInName::gl_MaxCullDistances, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxCullDistances); - static_cast(m_gl_MaxCullDistancesEXT)->shareConstPointer(unionArray); - } - m_gl_MaxCombinedClipAndCullDistancesEXT = new TVariable( - BuiltInId::gl_MaxCombinedClipAndCullDistancesEXT, - BuiltInName::gl_MaxCombinedClipAndCullDistances, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, StaticType::Get()); - { - TConstantUnion *unionArray = new TConstantUnion[1]; - unionArray[0].setIConst(resources.MaxCombinedClipAndCullDistances); - static_cast(m_gl_MaxCombinedClipAndCullDistancesEXT) - ->shareConstPointer(unionArray); - } TType *type_gl_FragData = new TType(EbtFloat, EbpMedium, EvqFragData, 4); if (spec != SH_WEBGL2_SPEC && spec != SH_WEBGL3_SPEC) { @@ -39405,66 +38188,26 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, m_gl_LastFragData = new TVariable(BuiltInId::gl_LastFragData, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, TExtension::EXT_shader_framebuffer_fetch, type_gl_LastFragData); - TType *type_gl_LastFragDataNonCoherent = new TType(EbtFloat, EbpMedium, EvqLastFragData, 4, 1); - type_gl_LastFragDataNonCoherent->makeArray(resources.MaxDrawBuffers); - type_gl_LastFragDataNonCoherent->realize(); - m_gl_LastFragDataNonCoherent = new TVariable( - BuiltInId::gl_LastFragDataNonCoherent, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, - TExtension::EXT_shader_framebuffer_fetch_non_coherent, type_gl_LastFragDataNonCoherent); TType *type_gl_LastFragDataNV = new TType(EbtFloat, EbpMedium, EvqLastFragData, 4, 1); type_gl_LastFragDataNV->makeArray(resources.MaxDrawBuffers); type_gl_LastFragDataNV->realize(); m_gl_LastFragDataNV = new TVariable( BuiltInId::gl_LastFragDataNV, BuiltInName::gl_LastFragData, SymbolType::BuiltIn, TExtension::NV_shader_framebuffer_fetch, type_gl_LastFragDataNV); - TType *type_gl_SampleMaskIn = new TType(EbtInt, EbpHigh, EvqSampleMaskIn, 1); - type_gl_SampleMaskIn->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskIn->realize(); - m_gl_SampleMaskIn = - new TVariable(BuiltInId::gl_SampleMaskIn, BuiltInName::gl_SampleMaskIn, SymbolType::BuiltIn, - TExtension::OES_sample_variables, type_gl_SampleMaskIn); - TType *type_gl_SampleMaskInES3_2 = new TType(EbtInt, EbpHigh, EvqSampleMaskIn, 1); - type_gl_SampleMaskInES3_2->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskInES3_2->realize(); - m_gl_SampleMaskInES3_2 = - new TVariable(BuiltInId::gl_SampleMaskInES3_2, BuiltInName::gl_SampleMaskIn, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_SampleMaskInES3_2); - TType *type_gl_SampleMask = new TType(EbtInt, EbpHigh, EvqSampleMask, 1); - type_gl_SampleMask->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMask->realize(); - m_gl_SampleMask = - new TVariable(BuiltInId::gl_SampleMask, BuiltInName::gl_SampleMask, SymbolType::BuiltIn, - TExtension::OES_sample_variables, type_gl_SampleMask); - TType *type_gl_SampleMaskES3_2 = new TType(EbtInt, EbpHigh, EvqSampleMask, 1); - type_gl_SampleMaskES3_2->makeArray((resources.MaxSamples + 31) / 32); - type_gl_SampleMaskES3_2->realize(); - m_gl_SampleMaskES3_2 = - new TVariable(BuiltInId::gl_SampleMaskES3_2, BuiltInName::gl_SampleMask, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_SampleMaskES3_2); - TType *type_gl_CullDistance = new TType(EbtFloat, EbpHigh, EvqCullDistance, 1); - type_gl_CullDistance->makeArray(resources.MaxCullDistances); - type_gl_CullDistance->realize(); - m_gl_CullDistance = - new TVariable(BuiltInId::gl_CullDistance, BuiltInName::gl_CullDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_CullDistance); TType *type_gl_ClipDistance = new TType(EbtFloat, EbpHigh, EvqClipDistance, 1); type_gl_ClipDistance->makeArray(resources.MaxClipDistances); type_gl_ClipDistance->realize(); m_gl_ClipDistance = new TVariable(BuiltInId::gl_ClipDistance, BuiltInName::gl_ClipDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_ClipDistance); - TType *type_gl_ClipDistanceAPPLE = new TType(EbtFloat, EbpHigh, EvqClipDistance, 1); - type_gl_ClipDistanceAPPLE->makeArray(resources.MaxClipDistances); - type_gl_ClipDistanceAPPLE->realize(); - m_gl_ClipDistanceAPPLE = new TVariable( - BuiltInId::gl_ClipDistanceAPPLE, BuiltInName::gl_ClipDistance, SymbolType::BuiltIn, - TExtension::APPLE_clip_distance, type_gl_ClipDistanceAPPLE); - TType *type_gl_CullDistanceEXT = new TType(EbtFloat, EbpHigh, EvqCullDistance, 1); - type_gl_CullDistanceEXT->makeArray(resources.MaxCullDistances); - type_gl_CullDistanceEXT->realize(); - m_gl_CullDistanceEXT = new TVariable( - BuiltInId::gl_CullDistanceEXT, BuiltInName::gl_CullDistance, SymbolType::BuiltIn, - TExtension::EXT_clip_cull_distance, type_gl_CullDistanceEXT); + TExtension::APPLE_clip_distance, type_gl_ClipDistance); + m_gl_MaxClipDistances = new TVariable( + BuiltInId::gl_MaxClipDistances, BuiltInName::gl_MaxClipDistances, SymbolType::BuiltIn, + TExtension::APPLE_clip_distance, StaticType::Get()); + { + TConstantUnion *unionArray = new TConstantUnion[1]; + unionArray[0].setIConst(resources.MaxClipDistances); + static_cast(m_gl_MaxClipDistances)->shareConstPointer(unionArray); + } TFieldList *fields_gl_PerVertex = new TFieldList(); fields_gl_PerVertex->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, zeroSourceLoc, @@ -39472,25 +38215,12 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, TInterfaceBlock *gl_PerVertex = new TInterfaceBlock(BuiltInId::gl_PerVertex, BuiltInName::gl_PerVertex, TExtension::EXT_geometry_shader, fields_gl_PerVertex); - m_gl_PerVertex = gl_PerVertex; - TFieldList *fields_gl_PerVertexES3_2 = new TFieldList(); - fields_gl_PerVertexES3_2->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexES3_2); - m_gl_PerVertexES3_2 = gl_PerVertexES3_2; - TType *type_gl_in = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); + m_gl_PerVertex = gl_PerVertex; + TType *type_gl_in = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); type_gl_in->makeArray(0u); type_gl_in->realize(); m_gl_in = new TVariable(BuiltInId::gl_in, BuiltInName::gl_in, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, type_gl_in); - TType *type_gl_inES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inES3_2->makeArray(0u); - type_gl_inES3_2->realize(); - m_gl_inES3_2 = new TVariable(BuiltInId::gl_inES3_2, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_inES3_2); TFieldList *fields_gl_PerVertexOutBlock = new TFieldList(); fields_gl_PerVertexOutBlock->push_back( new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, @@ -39498,208 +38228,19 @@ void TSymbolTable::initializeBuiltInVariables(sh::GLenum shaderType, TInterfaceBlock *gl_PerVertexOutBlock = new TInterfaceBlock(BuiltInId::gl_PerVertexOutBlock, BuiltInName::gl_PerVertex, TExtension::EXT_geometry_shader, fields_gl_PerVertexOutBlock); - TFieldList *fields_gl_PerVertexOutBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutBlockES3_2); TType *type_gl_PositionGS = new TType(EbtFloat, EbpHigh, EvqPosition, 4); type_gl_PositionGS->setInterfaceBlock(gl_PerVertexOutBlock); type_gl_PositionGS->realize(); m_gl_PositionGS = new TVariable(BuiltInId::gl_PositionGS, BuiltInName::gl_Position, SymbolType::BuiltIn, TExtension::EXT_geometry_shader, type_gl_PositionGS); - TType *type_gl_PositionGSES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionGSES3_2->setInterfaceBlock(gl_PerVertexOutBlockES3_2); - type_gl_PositionGSES3_2->realize(); - m_gl_PositionGSES3_2 = - new TVariable(BuiltInId::gl_PositionGSES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionGSES3_2); - TType *type_gl_TessLevelOuterTCS = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTCS->makeArray(4u); - type_gl_TessLevelOuterTCS->realize(); - m_gl_TessLevelOuterTCS = new TVariable( - BuiltInId::gl_TessLevelOuterTCS, BuiltInName::gl_TessLevelOuter, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelOuterTCS); - TType *type_gl_TessLevelOuterTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTCSES3_2->makeArray(4u); - type_gl_TessLevelOuterTCSES3_2->realize(); - m_gl_TessLevelOuterTCSES3_2 = - new TVariable(BuiltInId::gl_TessLevelOuterTCSES3_2, BuiltInName::gl_TessLevelOuter, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelOuterTCSES3_2); - TType *type_gl_TessLevelInnerTCS = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTCS->makeArray(2u); - type_gl_TessLevelInnerTCS->realize(); - m_gl_TessLevelInnerTCS = new TVariable( - BuiltInId::gl_TessLevelInnerTCS, BuiltInName::gl_TessLevelInner, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelInnerTCS); - TType *type_gl_TessLevelInnerTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTCSES3_2->makeArray(2u); - type_gl_TessLevelInnerTCSES3_2->realize(); - m_gl_TessLevelInnerTCSES3_2 = - new TVariable(BuiltInId::gl_TessLevelInnerTCSES3_2, BuiltInName::gl_TessLevelInner, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelInnerTCSES3_2); - TFieldList *fields_gl_PerVertexTCS = new TFieldList(); - fields_gl_PerVertexTCS->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTCS = - new TInterfaceBlock(BuiltInId::gl_PerVertexTCS, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexTCS); - m_gl_PerVertexTCS = gl_PerVertexTCS; - TFieldList *fields_gl_PerVertexTCSES3_2 = new TFieldList(); - fields_gl_PerVertexTCSES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTCSES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexTCSES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexTCSES3_2); - m_gl_PerVertexTCSES3_2 = gl_PerVertexTCSES3_2; - TType *type_gl_inTCS = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTCS->makeArray(resources.MaxPatchVertices); - type_gl_inTCS->realize(); - m_gl_inTCS = new TVariable(BuiltInId::gl_inTCS, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_inTCS); - TType *type_gl_inTCSES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTCSES3_2->makeArray(resources.MaxPatchVertices); - type_gl_inTCSES3_2->realize(); - m_gl_inTCSES3_2 = new TVariable(BuiltInId::gl_inTCSES3_2, BuiltInName::gl_in, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_inTCSES3_2); - TType *type_gl_outTCS = new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTCS->makeArray(resources.MaxPatchVertices); - type_gl_outTCS->realize(); - m_gl_outTCS = new TVariable(BuiltInId::gl_outTCS, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_outTCS); - TType *type_gl_outTCSES3_2 = - new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTCSES3_2->makeArray(resources.MaxPatchVertices); - type_gl_outTCSES3_2->realize(); - m_gl_outTCSES3_2 = - new TVariable(BuiltInId::gl_outTCSES3_2, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_outTCSES3_2); - TFieldList *fields_gl_PerVertexOutTcsBlock = new TFieldList(); - fields_gl_PerVertexOutTcsBlock->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTcsBlock = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTcsBlock, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexOutTcsBlock); - TFieldList *fields_gl_PerVertexOutTcsBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutTcsBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTcsBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTcsBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutTcsBlockES3_2); - TType *type_gl_PositionTCS = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTCS->setInterfaceBlock(gl_PerVertexOutTcsBlock); - type_gl_PositionTCS->realize(); - m_gl_PositionTCS = - new TVariable(BuiltInId::gl_PositionTCS, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_PositionTCS); - TType *type_gl_PositionTCSES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTCSES3_2->setInterfaceBlock(gl_PerVertexOutTcsBlockES3_2); - type_gl_PositionTCSES3_2->realize(); - m_gl_PositionTCSES3_2 = - new TVariable(BuiltInId::gl_PositionTCSES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionTCSES3_2); - TType *type_gl_TessLevelOuterTES = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTES->makeArray(4u); - type_gl_TessLevelOuterTES->realize(); - m_gl_TessLevelOuterTES = new TVariable( - BuiltInId::gl_TessLevelOuterTES, BuiltInName::gl_TessLevelOuter, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelOuterTES); - TType *type_gl_TessLevelOuterTESES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelOuter, 1); - type_gl_TessLevelOuterTESES3_2->makeArray(4u); - type_gl_TessLevelOuterTESES3_2->realize(); - m_gl_TessLevelOuterTESES3_2 = - new TVariable(BuiltInId::gl_TessLevelOuterTESES3_2, BuiltInName::gl_TessLevelOuter, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelOuterTESES3_2); - TType *type_gl_TessLevelInnerTES = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTES->makeArray(2u); - type_gl_TessLevelInnerTES->realize(); - m_gl_TessLevelInnerTES = new TVariable( - BuiltInId::gl_TessLevelInnerTES, BuiltInName::gl_TessLevelInner, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_TessLevelInnerTES); - TType *type_gl_TessLevelInnerTESES3_2 = new TType(EbtFloat, EbpHigh, EvqTessLevelInner, 1); - type_gl_TessLevelInnerTESES3_2->makeArray(2u); - type_gl_TessLevelInnerTESES3_2->realize(); - m_gl_TessLevelInnerTESES3_2 = - new TVariable(BuiltInId::gl_TessLevelInnerTESES3_2, BuiltInName::gl_TessLevelInner, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_TessLevelInnerTESES3_2); - TFieldList *fields_gl_PerVertexTES = new TFieldList(); - fields_gl_PerVertexTES->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), - BuiltInName::gl_Position, zeroSourceLoc, - SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTES = - new TInterfaceBlock(BuiltInId::gl_PerVertexTES, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexTES); - m_gl_PerVertexTES = gl_PerVertexTES; - TFieldList *fields_gl_PerVertexTESES3_2 = new TFieldList(); - fields_gl_PerVertexTESES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexTESES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexTESES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexTESES3_2); - m_gl_PerVertexTESES3_2 = gl_PerVertexTESES3_2; - TType *type_gl_inTES = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTES->makeArray(resources.MaxPatchVertices); - type_gl_inTES->realize(); - m_gl_inTES = new TVariable(BuiltInId::gl_inTES, BuiltInName::gl_in, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_inTES); - TType *type_gl_inTESES3_2 = new TType(gl_PerVertex, EvqPerVertexIn, TLayoutQualifier::Create()); - type_gl_inTESES3_2->makeArray(resources.MaxPatchVertices); - type_gl_inTESES3_2->realize(); - m_gl_inTESES3_2 = new TVariable(BuiltInId::gl_inTESES3_2, BuiltInName::gl_in, - SymbolType::BuiltIn, TExtension::UNDEFINED, type_gl_inTESES3_2); - TType *type_gl_outTES = new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTES->makeArray(resources.MaxPatchVertices); - type_gl_outTES->realize(); - m_gl_outTES = new TVariable(BuiltInId::gl_outTES, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_outTES); - TType *type_gl_outTESES3_2 = - new TType(gl_PerVertex, EvqPerVertexOut, TLayoutQualifier::Create()); - type_gl_outTESES3_2->makeArray(resources.MaxPatchVertices); - type_gl_outTESES3_2->realize(); - m_gl_outTESES3_2 = - new TVariable(BuiltInId::gl_outTESES3_2, BuiltInName::gl_out, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_outTESES3_2); - TFieldList *fields_gl_PerVertexOutTesBlock = new TFieldList(); - fields_gl_PerVertexOutTesBlock->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTesBlock = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTesBlock, BuiltInName::gl_PerVertex, - TExtension::EXT_tessellation_shader, fields_gl_PerVertexOutTesBlock); - TFieldList *fields_gl_PerVertexOutTesBlockES3_2 = new TFieldList(); - fields_gl_PerVertexOutTesBlockES3_2->push_back( - new TField(new TType(EbtFloat, EbpHigh, EvqPosition, 4, 1), BuiltInName::gl_Position, - zeroSourceLoc, SymbolType::BuiltIn)); - TInterfaceBlock *gl_PerVertexOutTesBlockES3_2 = - new TInterfaceBlock(BuiltInId::gl_PerVertexOutTesBlockES3_2, BuiltInName::gl_PerVertex, - TExtension::UNDEFINED, fields_gl_PerVertexOutTesBlockES3_2); - TType *type_gl_PositionTES = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTES->setInterfaceBlock(gl_PerVertexOutTesBlock); - type_gl_PositionTES->realize(); - m_gl_PositionTES = - new TVariable(BuiltInId::gl_PositionTES, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::EXT_tessellation_shader, type_gl_PositionTES); - TType *type_gl_PositionTESES3_2 = new TType(EbtFloat, EbpHigh, EvqPosition, 4); - type_gl_PositionTESES3_2->setInterfaceBlock(gl_PerVertexOutTesBlockES3_2); - type_gl_PositionTESES3_2->realize(); - m_gl_PositionTESES3_2 = - new TVariable(BuiltInId::gl_PositionTESES3_2, BuiltInName::gl_Position, SymbolType::BuiltIn, - TExtension::UNDEFINED, type_gl_PositionTESES3_2); } namespace { uint16_t GetNextRuleIndex(uint32_t nameHash) { - if (nameHash == 2180 - 1) + if (nameHash == 2148 - 1) return ArraySize(BuiltInArray::kRules); return BuiltInArray::kMangledOffsets[nameHash + 1]; } @@ -39707,11 +38248,11 @@ uint16_t GetNextRuleIndex(uint32_t nameHash) const TSymbol *TSymbolTable::findBuiltIn(const ImmutableString &name, int shaderVersion) const { - if (name.length() > 40) + if (name.length() > 37) return nullptr; uint32_t nameHash = name.mangledNameHash(); - if (nameHash >= 2180) + if (nameHash >= 2148) return nullptr; const char *actualName = BuiltInArray::kMangledNames[nameHash]; diff --git a/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.h b/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.h index c123948e8bcc..d744bce9755f 100644 --- a/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/SymbolTable_autogen.h @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -18,145 +18,61 @@ namespace sh class TSymbolTableBase { public: - TSymbolTableBase() = default; - TSymbol *m_gl_DepthRangeParameters = nullptr; - TSymbol *m_gl_DepthRange = nullptr; - TSymbol *m_gl_MaxVertexAttribs = nullptr; - TSymbol *m_gl_MaxVertexUniformVectors = nullptr; - TSymbol *m_gl_MaxVertexTextureImageUnits = nullptr; - TSymbol *m_gl_MaxCombinedTextureImageUnits = nullptr; - TSymbol *m_gl_MaxTextureImageUnits = nullptr; - TSymbol *m_gl_MaxFragmentUniformVectors = nullptr; - TSymbol *m_gl_MaxVaryingVectors = nullptr; - TSymbol *m_gl_MaxDrawBuffers = nullptr; - TSymbol *m_gl_MaxDualSourceDrawBuffersEXT = nullptr; - TSymbol *m_gl_MaxVertexOutputVectors = nullptr; - TSymbol *m_gl_MaxFragmentInputVectors = nullptr; - TSymbol *m_gl_MinProgramTexelOffset = nullptr; - TSymbol *m_gl_MaxProgramTexelOffset = nullptr; - TSymbol *m_gl_MaxImageUnits = nullptr; - TSymbol *m_gl_MaxVertexImageUniforms = nullptr; - TSymbol *m_gl_MaxFragmentImageUniforms = nullptr; - TSymbol *m_gl_MaxComputeImageUniforms = nullptr; - TSymbol *m_gl_MaxCombinedImageUniforms = nullptr; - TSymbol *m_gl_MaxCombinedShaderOutputResources = nullptr; - TSymbol *m_gl_MaxComputeWorkGroupCount = nullptr; - TSymbol *m_gl_MaxComputeWorkGroupSize = nullptr; - TSymbol *m_gl_MaxComputeUniformComponents = nullptr; - TSymbol *m_gl_MaxComputeTextureImageUnits = nullptr; - TSymbol *m_gl_MaxComputeAtomicCounters = nullptr; - TSymbol *m_gl_MaxComputeAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxVertexAtomicCounters = nullptr; - TSymbol *m_gl_MaxFragmentAtomicCounters = nullptr; - TSymbol *m_gl_MaxCombinedAtomicCounters = nullptr; - TSymbol *m_gl_MaxAtomicCounterBindings = nullptr; - TSymbol *m_gl_MaxVertexAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxFragmentAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxCombinedAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxAtomicCounterBufferSize = nullptr; - TSymbol *m_gl_MaxGeometryInputComponents = nullptr; - TSymbol *m_gl_MaxGeometryInputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryOutputComponents = nullptr; - TSymbol *m_gl_MaxGeometryOutputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryImageUniforms = nullptr; - TSymbol *m_gl_MaxGeometryImageUniformsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryTextureImageUnits = nullptr; - TSymbol *m_gl_MaxGeometryTextureImageUnitsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryOutputVertices = nullptr; - TSymbol *m_gl_MaxGeometryOutputVerticesES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryTotalOutputComponents = nullptr; - TSymbol *m_gl_MaxGeometryTotalOutputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryUniformComponents = nullptr; - TSymbol *m_gl_MaxGeometryUniformComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryAtomicCounters = nullptr; - TSymbol *m_gl_MaxGeometryAtomicCountersES3_2 = nullptr; - TSymbol *m_gl_MaxGeometryAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxGeometryAtomicCounterBuffersES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlInputComponents = nullptr; - TSymbol *m_gl_MaxTessControlInputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlOutputComponents = nullptr; - TSymbol *m_gl_MaxTessControlOutputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlTextureImageUnits = nullptr; - TSymbol *m_gl_MaxTessControlTextureImageUnitsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlUniformComponents = nullptr; - TSymbol *m_gl_MaxTessControlUniformComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlTotalOutputComponents = nullptr; - TSymbol *m_gl_MaxTessControlTotalOutputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlImageUniforms = nullptr; - TSymbol *m_gl_MaxTessControlImageUniformsES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlAtomicCounters = nullptr; - TSymbol *m_gl_MaxTessControlAtomicCountersES3_2 = nullptr; - TSymbol *m_gl_MaxTessControlAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxTessControlAtomicCounterBuffersES3_2 = nullptr; - TSymbol *m_gl_MaxTessPatchComponents = nullptr; - TSymbol *m_gl_MaxTessPatchComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxPatchVertices = nullptr; - TSymbol *m_gl_MaxPatchVerticesES3_2 = nullptr; - TSymbol *m_gl_MaxTessGenLevel = nullptr; - TSymbol *m_gl_MaxTessGenLevelES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationInputComponents = nullptr; - TSymbol *m_gl_MaxTessEvaluationInputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationOutputComponents = nullptr; - TSymbol *m_gl_MaxTessEvaluationOutputComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationTextureImageUnits = nullptr; - TSymbol *m_gl_MaxTessEvaluationTextureImageUnitsES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationUniformComponents = nullptr; - TSymbol *m_gl_MaxTessEvaluationUniformComponentsES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationImageUniforms = nullptr; - TSymbol *m_gl_MaxTessEvaluationImageUniformsES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationAtomicCounters = nullptr; - TSymbol *m_gl_MaxTessEvaluationAtomicCountersES3_2 = nullptr; - TSymbol *m_gl_MaxTessEvaluationAtomicCounterBuffers = nullptr; - TSymbol *m_gl_MaxTessEvaluationAtomicCounterBuffersES3_2 = nullptr; - TSymbol *m_gl_MaxSamples = nullptr; - TSymbol *m_gl_MaxSamplesES3_2 = nullptr; - TSymbol *m_gl_MaxClipDistancesAPPLE = nullptr; - TSymbol *m_gl_MaxCullDistancesEXT = nullptr; - TSymbol *m_gl_MaxCombinedClipAndCullDistancesEXT = nullptr; - TSymbol *m_gl_FragData = nullptr; - TSymbol *m_gl_SecondaryFragDataEXT = nullptr; - TSymbol *m_gl_FragDepthEXT = nullptr; - TSymbol *m_gl_LastFragData = nullptr; - TSymbol *m_gl_LastFragDataNonCoherent = nullptr; - TSymbol *m_gl_LastFragDataNV = nullptr; - TSymbol *m_gl_SampleMaskIn = nullptr; - TSymbol *m_gl_SampleMaskInES3_2 = nullptr; - TSymbol *m_gl_SampleMask = nullptr; - TSymbol *m_gl_SampleMaskES3_2 = nullptr; - TSymbol *m_gl_CullDistance = nullptr; - TSymbol *m_gl_ClipDistance = nullptr; - TSymbol *m_gl_ClipDistanceAPPLE = nullptr; - TSymbol *m_gl_CullDistanceEXT = nullptr; - TSymbol *m_gl_PerVertex = nullptr; - TSymbol *m_gl_PerVertexES3_2 = nullptr; - TSymbol *m_gl_in = nullptr; - TSymbol *m_gl_inES3_2 = nullptr; - TSymbol *m_gl_PositionGS = nullptr; - TSymbol *m_gl_PositionGSES3_2 = nullptr; - TSymbol *m_gl_TessLevelOuterTCS = nullptr; - TSymbol *m_gl_TessLevelOuterTCSES3_2 = nullptr; - TSymbol *m_gl_TessLevelInnerTCS = nullptr; - TSymbol *m_gl_TessLevelInnerTCSES3_2 = nullptr; - TSymbol *m_gl_PerVertexTCS = nullptr; - TSymbol *m_gl_PerVertexTCSES3_2 = nullptr; - TSymbol *m_gl_inTCS = nullptr; - TSymbol *m_gl_inTCSES3_2 = nullptr; - TSymbol *m_gl_outTCS = nullptr; - TSymbol *m_gl_outTCSES3_2 = nullptr; - TSymbol *m_gl_PositionTCS = nullptr; - TSymbol *m_gl_PositionTCSES3_2 = nullptr; - TSymbol *m_gl_TessLevelOuterTES = nullptr; - TSymbol *m_gl_TessLevelOuterTESES3_2 = nullptr; - TSymbol *m_gl_TessLevelInnerTES = nullptr; - TSymbol *m_gl_TessLevelInnerTESES3_2 = nullptr; - TSymbol *m_gl_PerVertexTES = nullptr; - TSymbol *m_gl_PerVertexTESES3_2 = nullptr; - TSymbol *m_gl_inTES = nullptr; - TSymbol *m_gl_inTESES3_2 = nullptr; - TSymbol *m_gl_outTES = nullptr; - TSymbol *m_gl_outTESES3_2 = nullptr; - TSymbol *m_gl_PositionTES = nullptr; - TSymbol *m_gl_PositionTESES3_2 = nullptr; + TSymbolTableBase() = default; + TSymbol *m_gl_DepthRangeParameters = nullptr; + TSymbol *m_gl_DepthRange = nullptr; + TSymbol *m_gl_MaxVertexAttribs = nullptr; + TSymbol *m_gl_MaxVertexUniformVectors = nullptr; + TSymbol *m_gl_MaxVertexTextureImageUnits = nullptr; + TSymbol *m_gl_MaxCombinedTextureImageUnits = nullptr; + TSymbol *m_gl_MaxTextureImageUnits = nullptr; + TSymbol *m_gl_MaxFragmentUniformVectors = nullptr; + TSymbol *m_gl_MaxVaryingVectors = nullptr; + TSymbol *m_gl_MaxDrawBuffers = nullptr; + TSymbol *m_gl_MaxDualSourceDrawBuffersEXT = nullptr; + TSymbol *m_gl_MaxVertexOutputVectors = nullptr; + TSymbol *m_gl_MaxFragmentInputVectors = nullptr; + TSymbol *m_gl_MinProgramTexelOffset = nullptr; + TSymbol *m_gl_MaxProgramTexelOffset = nullptr; + TSymbol *m_gl_MaxImageUnits = nullptr; + TSymbol *m_gl_MaxVertexImageUniforms = nullptr; + TSymbol *m_gl_MaxFragmentImageUniforms = nullptr; + TSymbol *m_gl_MaxComputeImageUniforms = nullptr; + TSymbol *m_gl_MaxCombinedImageUniforms = nullptr; + TSymbol *m_gl_MaxCombinedShaderOutputResources = nullptr; + TSymbol *m_gl_MaxComputeWorkGroupCount = nullptr; + TSymbol *m_gl_MaxComputeWorkGroupSize = nullptr; + TSymbol *m_gl_MaxComputeUniformComponents = nullptr; + TSymbol *m_gl_MaxComputeTextureImageUnits = nullptr; + TSymbol *m_gl_MaxComputeAtomicCounters = nullptr; + TSymbol *m_gl_MaxComputeAtomicCounterBuffers = nullptr; + TSymbol *m_gl_MaxVertexAtomicCounters = nullptr; + TSymbol *m_gl_MaxFragmentAtomicCounters = nullptr; + TSymbol *m_gl_MaxCombinedAtomicCounters = nullptr; + TSymbol *m_gl_MaxAtomicCounterBindings = nullptr; + TSymbol *m_gl_MaxVertexAtomicCounterBuffers = nullptr; + TSymbol *m_gl_MaxFragmentAtomicCounterBuffers = nullptr; + TSymbol *m_gl_MaxCombinedAtomicCounterBuffers = nullptr; + TSymbol *m_gl_MaxAtomicCounterBufferSize = nullptr; + TSymbol *m_gl_MaxGeometryInputComponents = nullptr; + TSymbol *m_gl_MaxGeometryOutputComponents = nullptr; + TSymbol *m_gl_MaxGeometryImageUniforms = nullptr; + TSymbol *m_gl_MaxGeometryTextureImageUnits = nullptr; + TSymbol *m_gl_MaxGeometryOutputVertices = nullptr; + TSymbol *m_gl_MaxGeometryTotalOutputComponents = nullptr; + TSymbol *m_gl_MaxGeometryUniformComponents = nullptr; + TSymbol *m_gl_MaxGeometryAtomicCounters = nullptr; + TSymbol *m_gl_MaxGeometryAtomicCounterBuffers = nullptr; + TSymbol *m_gl_FragData = nullptr; + TSymbol *m_gl_SecondaryFragDataEXT = nullptr; + TSymbol *m_gl_FragDepthEXT = nullptr; + TSymbol *m_gl_LastFragData = nullptr; + TSymbol *m_gl_LastFragDataNV = nullptr; + TSymbol *m_gl_ClipDistance = nullptr; + TSymbol *m_gl_MaxClipDistances = nullptr; + TSymbol *m_gl_PerVertex = nullptr; + TSymbol *m_gl_in = nullptr; + TSymbol *m_gl_PositionGS = nullptr; }; } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorESSL.cpp b/gfx/angle/checkout/src/compiler/translator/TranslatorESSL.cpp index a2fac3a25338..51f978b0bb2c 100644 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorESSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/TranslatorESSL.cpp @@ -9,7 +9,7 @@ #include "angle_gl.h" #include "compiler/translator/BuiltInFunctionEmulatorGLSL.h" #include "compiler/translator/OutputESSL.h" -#include "compiler/translator/tree_ops/gl/RecordConstantPrecision.h" +#include "compiler/translator/tree_ops/RecordConstantPrecision.h" namespace sh { @@ -21,7 +21,7 @@ TranslatorESSL::TranslatorESSL(sh::GLenum type, ShShaderSpec spec) void TranslatorESSL::initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu, ShCompileOptions compileOptions) { - if ((compileOptions & SH_EMULATE_ATAN2_FLOAT_FUNCTION) != 0) + if (compileOptions & SH_EMULATE_ATAN2_FLOAT_FUNCTION) { InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(emu); } diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorGLSL.cpp b/gfx/angle/checkout/src/compiler/translator/TranslatorGLSL.cpp index 591357c3e03e..5cc7ccbff8cf 100644 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorGLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/TranslatorGLSL.cpp @@ -11,9 +11,9 @@ #include "compiler/translator/ExtensionGLSL.h" #include "compiler/translator/OutputGLSL.h" #include "compiler/translator/VersionGLSL.h" +#include "compiler/translator/tree_ops/RewriteRowMajorMatrices.h" #include "compiler/translator/tree_ops/RewriteTexelFetchOffset.h" -#include "compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.h" -#include "compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.h" +#include "compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.h" namespace sh { @@ -25,17 +25,17 @@ TranslatorGLSL::TranslatorGLSL(sh::GLenum type, ShShaderSpec spec, ShShaderOutpu void TranslatorGLSL::initBuiltInFunctionEmulator(BuiltInFunctionEmulator *emu, ShCompileOptions compileOptions) { - if ((compileOptions & SH_EMULATE_ABS_INT_FUNCTION) != 0) + if (compileOptions & SH_EMULATE_ABS_INT_FUNCTION) { InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); } - if ((compileOptions & SH_EMULATE_ISNAN_FLOAT_FUNCTION) != 0) + if (compileOptions & SH_EMULATE_ISNAN_FLOAT_FUNCTION) { InitBuiltInIsnanFunctionEmulatorForGLSLWorkarounds(emu, getShaderVersion()); } - if ((compileOptions & SH_EMULATE_ATAN2_FLOAT_FUNCTION) != 0) + if (compileOptions & SH_EMULATE_ATAN2_FLOAT_FUNCTION) { InitBuiltInAtanFunctionEmulatorForGLSLWorkarounds(emu); } @@ -234,7 +234,7 @@ bool TranslatorGLSL::shouldFlattenPragmaStdglInvariantAll() bool TranslatorGLSL::shouldCollectVariables(ShCompileOptions compileOptions) { - return (compileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL) != 0 || + return (compileOptions & SH_FLATTEN_PRAGMA_STDGL_INVARIANT_ALL) || TCompiler::shouldCollectVariables(compileOptions); } diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.cpp index 067d0c0a3444..bd00f83e6ccb 100644 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.cpp @@ -7,24 +7,26 @@ #include "compiler/translator/TranslatorHLSL.h" #include "compiler/translator/OutputHLSL.h" +#include "compiler/translator/tree_ops/AddDefaultReturnStatements.h" +#include "compiler/translator/tree_ops/ArrayReturnValueToOutParameter.h" +#include "compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.h" +#include "compiler/translator/tree_ops/ExpandIntegerPowExpressions.h" +#include "compiler/translator/tree_ops/PruneEmptyCases.h" +#include "compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h" #include "compiler/translator/tree_ops/RemoveDynamicIndexing.h" +#include "compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.h" +#include "compiler/translator/tree_ops/RewriteElseBlocks.h" +#include "compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.h" #include "compiler/translator/tree_ops/RewriteTexelFetchOffset.h" +#include "compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.h" +#include "compiler/translator/tree_ops/SeparateArrayConstructorStatements.h" +#include "compiler/translator/tree_ops/SeparateArrayInitialization.h" +#include "compiler/translator/tree_ops/SeparateDeclarations.h" +#include "compiler/translator/tree_ops/SeparateExpressionsReturningArrays.h" #include "compiler/translator/tree_ops/SimplifyLoopConditions.h" #include "compiler/translator/tree_ops/SplitSequenceOperator.h" -#include "compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.h" -#include "compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.h" -#include "compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.h" -#include "compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.h" -#include "compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h" -#include "compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.h" -#include "compiler/translator/tree_ops/d3d/RewriteElseBlocks.h" -#include "compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.h" -#include "compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.h" -#include "compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.h" -#include "compiler/translator/tree_ops/d3d/SeparateArrayInitialization.h" -#include "compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.h" -#include "compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.h" -#include "compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.h" +#include "compiler/translator/tree_ops/UnfoldShortCircuitToIf.h" +#include "compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.h" #include "compiler/translator/tree_util/IntermNodePatternMatcher.h" namespace sh @@ -182,26 +184,25 @@ bool TranslatorHLSL::translate(TIntermBlock *root, } } - mUniformBlockOptimizedMap.clear(); - mSlowCompilingUniformBlockSet.clear(); + mUniformBlocksTranslatedToStructuredBuffers.clear(); // In order to get the exact maximum of slots are available for shader resources, which would // been bound with StructuredBuffer, we only translate uniform block with a large array member // into StructuredBuffer when shader version is 300. if (getShaderVersion() == 300 && (compileOptions & SH_ALLOW_TRANSLATE_UNIFORM_BLOCK_TO_STRUCTUREDBUFFER) != 0) { - if (!sh::RecordUniformBlocksWithLargeArrayMember(root, mUniformBlockOptimizedMap, - mSlowCompilingUniformBlockSet)) + if (!sh::RecordUniformBlocksTranslatedToStructuredBuffers( + root, mUniformBlocksTranslatedToStructuredBuffers)) { return false; } } - sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), - getExtensionBehavior(), getSourcePath(), getOutputType(), - numRenderTargets, maxDualSourceDrawBuffers, getUniforms(), - compileOptions, getComputeShaderLocalSize(), &getSymbolTable(), - perfDiagnostics, mUniformBlockOptimizedMap, mShaderStorageBlocks); + sh::OutputHLSL outputHLSL( + getShaderType(), getShaderSpec(), getShaderVersion(), getExtensionBehavior(), + getSourcePath(), getOutputType(), numRenderTargets, maxDualSourceDrawBuffers, getUniforms(), + compileOptions, getComputeShaderLocalSize(), &getSymbolTable(), perfDiagnostics, + mUniformBlocksTranslatedToStructuredBuffers, mShaderStorageBlocks); outputHLSL.output(root, getInfoSink().obj); @@ -250,11 +251,6 @@ const std::map *TranslatorHLSL::getUniformRegisterMap return &mUniformRegisterMap; } -const std::set *TranslatorHLSL::getSlowCompilingUniformBlockSet() const -{ - return &mSlowCompilingUniformBlockSet; -} - unsigned int TranslatorHLSL::getReadonlyImage2DRegisterIndex() const { return mReadonlyImage2DRegisterIndex; diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.h b/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.h index 36eb7026ae76..62ac4381e338 100644 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.h +++ b/gfx/angle/checkout/src/compiler/translator/TranslatorHLSL.h @@ -24,7 +24,6 @@ class TranslatorHLSL : public TCompiler bool hasUniformBlock(const std::string &interfaceBlockName) const; unsigned int getUniformBlockRegister(const std::string &interfaceBlockName) const; bool shouldUniformBlockUseStructuredBuffer(const std::string &uniformBlockName) const; - const std::set *getSlowCompilingUniformBlockSet() const; const std::map *getUniformRegisterMap() const; unsigned int getReadonlyImage2DRegisterIndex() const; @@ -47,8 +46,7 @@ class TranslatorHLSL : public TCompiler unsigned int mReadonlyImage2DRegisterIndex; unsigned int mImage2DRegisterIndex; std::set mUsedImage2DFunctionNames; - std::map mUniformBlockOptimizedMap; - std::set mSlowCompilingUniformBlockSet; + std::map mUniformBlocksTranslatedToStructuredBuffers; }; } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorMetal.h b/gfx/angle/checkout/src/compiler/translator/TranslatorMetal.h deleted file mode 100644 index 41208bd88776..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorMetal.h +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright 2019 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// TranslatorMetal: -// A GLSL-based translator that outputs shaders that fit GL_KHR_vulkan_glsl. -// It takes into account some considerations for Metal backend also. -// The shaders are then fed into glslang to spit out SPIR-V. -// See: https://www.khronos.org/registry/vulkan/specs/misc/GL_KHR_vulkan_glsl.txt -// -// The SPIR-V will then be translated to Metal Shading Language later in Metal backend. -// - -#ifndef LIBANGLE_RENDERER_METAL_TRANSLATORMETAL_H_ -#define LIBANGLE_RENDERER_METAL_TRANSLATORMETAL_H_ - -#include "compiler/translator/TranslatorVulkan.h" -#include "compiler/translator/tree_util/DriverUniform.h" -#include "compiler/translator/tree_util/SpecializationConstant.h" - -namespace sh -{ - -// TODO: http://anglebug.com/5339 Implement it using actual specialization constant. For now we are -// redirecting to driver uniforms -class SpecConstMetal : public SpecConst -{ - public: - SpecConstMetal(TSymbolTable *symbolTable, ShCompileOptions compileOptions, GLenum shaderType) - : SpecConst(symbolTable, compileOptions, shaderType) - {} - ~SpecConstMetal() override {} - - private: -}; - -class DriverUniformMetal : public DriverUniform -{ - public: - DriverUniformMetal() : DriverUniform() {} - ~DriverUniformMetal() override {} - - TIntermBinary *getHalfRenderAreaRef() const override; - TIntermBinary *getFlipXYRef() const override; - TIntermBinary *getNegFlipXYRef() const override; - TIntermSwizzle *getNegFlipYRef() const override; - TIntermBinary *getCoverageMaskFieldRef() const; - - protected: - TFieldList *createUniformFields(TSymbolTable *symbolTable) override; -}; - -class TranslatorMetal : public TranslatorVulkan -{ - public: - TranslatorMetal(sh::GLenum type, ShShaderSpec spec); - - protected: - ANGLE_NO_DISCARD bool translate(TIntermBlock *root, - ShCompileOptions compileOptions, - PerformanceDiagnostics *perfDiagnostics) override; - - ANGLE_NO_DISCARD bool transformDepthBeforeCorrection( - TIntermBlock *root, - const DriverUniform *driverUniforms) override; - - ANGLE_NO_DISCARD bool insertSampleMaskWritingLogic(TInfoSinkBase &sink, - TIntermBlock *root, - const DriverUniformMetal *driverUniforms); - ANGLE_NO_DISCARD bool insertRasterizerDiscardLogic(TInfoSinkBase &sink, TIntermBlock *root); -}; - -} // namespace sh - -#endif /* LIBANGLE_RENDERER_METAL_TRANSLATORMETAL_H_ */ diff --git a/gfx/angle/checkout/src/compiler/translator/TranslatorVulkan.h b/gfx/angle/checkout/src/compiler/translator/TranslatorVulkan.h deleted file mode 100644 index 2f04c284aa30..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/TranslatorVulkan.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright 2016 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// TranslatorVulkan: -// A GLSL-based translator that outputs shaders that fit GL_KHR_vulkan_glsl and feeds them into -// glslang to spit out SPIR-V. -// See: https://www.khronos.org/registry/vulkan/specs/misc/GL_KHR_vulkan_glsl.txt -// - -#ifndef COMPILER_TRANSLATOR_TRANSLATORVULKAN_H_ -#define COMPILER_TRANSLATOR_TRANSLATORVULKAN_H_ - -#include "compiler/translator/Compiler.h" - -namespace sh -{ - -class TOutputVulkanGLSL; -class SpecConst; -class DriverUniform; - -class TranslatorVulkan : public TCompiler -{ - public: - TranslatorVulkan(sh::GLenum type, ShShaderSpec spec); - - protected: - ANGLE_NO_DISCARD bool translate(TIntermBlock *root, - ShCompileOptions compileOptions, - PerformanceDiagnostics *perfDiagnostics) override; - bool shouldFlattenPragmaStdglInvariantAll() override; - - // Subclass can call this method to transform the AST before writing the final output. - // See TranslatorMetal.cpp. - ANGLE_NO_DISCARD bool translateImpl(TInfoSinkBase &sink, - TIntermBlock *root, - ShCompileOptions compileOptions, - PerformanceDiagnostics *perfDiagnostics, - SpecConst *specConst, - DriverUniform *driverUniforms); - - // Give subclass such as TranslatorMetal a chance to do depth transform before - // TranslatorVulkan apply its own transform. - ANGLE_NO_DISCARD virtual bool transformDepthBeforeCorrection( - TIntermBlock *root, - const DriverUniform *driverUniforms) - { - return true; - } - - // Generate SPIR-V out of intermediate GLSL through glslang. - ANGLE_NO_DISCARD bool compileToSpirv(const TInfoSinkBase &glsl); -}; - -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TRANSLATORVULKAN_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/Types.cpp b/gfx/angle/checkout/src/compiler/translator/Types.cpp index 8270bdb79d2a..1343ebf6b557 100644 --- a/gfx/angle/checkout/src/compiler/translator/Types.cpp +++ b/gfx/angle/checkout/src/compiler/translator/Types.cpp @@ -142,18 +142,6 @@ const char *getBasicString(TBasicType t) return "atomic_uint"; case EbtSamplerVideoWEBGL: return "samplerVideoWEBGL"; - case EbtSubpassInput: - return "subpassInput"; - case EbtISubpassInput: - return "isubpassInput"; - case EbtUSubpassInput: - return "usubpassInput"; - case EbtSubpassInputMS: - return "subpassInputMS"; - case EbtISubpassInputMS: - return "isubpassInputMS"; - case EbtUSubpassInputMS: - return "usubpassInputMS"; default: UNREACHABLE(); return "unknown type"; @@ -185,7 +173,6 @@ TType::TType(const TPublicType &p) mInterfaceBlock(nullptr), mStructure(nullptr), mIsStructSpecifier(false), - mInterfaceBlockFieldIndex(0), mMangledName(nullptr) { ASSERT(primarySize <= 4); @@ -224,21 +211,20 @@ TType::TType(const TType &t) TType &TType::operator=(const TType &t) { - type = t.type; - precision = t.precision; - qualifier = t.qualifier; - invariant = t.invariant; - precise = t.precise; - memoryQualifier = t.memoryQualifier; - layoutQualifier = t.layoutQualifier; - primarySize = t.primarySize; - secondarySize = t.secondarySize; - mArraySizesStorage = nullptr; - mInterfaceBlock = t.mInterfaceBlock; - mStructure = t.mStructure; - mIsStructSpecifier = t.mIsStructSpecifier; - mInterfaceBlockFieldIndex = t.mInterfaceBlockFieldIndex; - mMangledName = t.mMangledName; + type = t.type; + precision = t.precision; + qualifier = t.qualifier; + invariant = t.invariant; + precise = t.precise; + memoryQualifier = t.memoryQualifier; + layoutQualifier = t.layoutQualifier; + primarySize = t.primarySize; + secondarySize = t.secondarySize; + mArraySizesStorage = nullptr; + mInterfaceBlock = t.mInterfaceBlock; + mStructure = t.mStructure; + mIsStructSpecifier = t.mIsStructSpecifier; + mMangledName = t.mMangledName; if (t.mArraySizesStorage) { @@ -709,12 +695,6 @@ void TType::setInterfaceBlock(const TInterfaceBlock *interfaceBlockIn) } } -void TType::setInterfaceBlockField(const TInterfaceBlock *interfaceBlockIn, size_t fieldIndex) -{ - setInterfaceBlock(interfaceBlockIn); - mInterfaceBlockFieldIndex = fieldIndex; -} - const char *TType::getMangledName() const { if (mMangledName == nullptr) diff --git a/gfx/angle/checkout/src/compiler/translator/Types.h b/gfx/angle/checkout/src/compiler/translator/Types.h index 4ea87c336a7b..a3e0399e3e80 100644 --- a/gfx/angle/checkout/src/compiler/translator/Types.h +++ b/gfx/angle/checkout/src/compiler/translator/Types.h @@ -128,7 +128,6 @@ class TType mInterfaceBlock(nullptr), mStructure(nullptr), mIsStructSpecifier(false), - mInterfaceBlockFieldIndex(0), mMangledName(mangledName) {} @@ -147,7 +146,6 @@ class TType mInterfaceBlock(t.mInterfaceBlock), mStructure(t.mStructure), mIsStructSpecifier(t.mIsStructSpecifier), - mInterfaceBlockFieldIndex(0), mMangledName(t.mMangledName) { t.mArraySizesStorage = nullptr; @@ -232,9 +230,6 @@ class TType void setInterfaceBlock(const TInterfaceBlock *interfaceBlockIn); bool isInterfaceBlock() const { return type == EbtInterfaceBlock; } - void setInterfaceBlockField(const TInterfaceBlock *interfaceBlockIn, size_t fieldIndex); - size_t getInterfaceBlockFieldIndex() const { return mInterfaceBlockFieldIndex; } - bool isVector() const { return primarySize > 1 && secondarySize == 1; } bool isVectorArray() const { return primarySize > 1 && secondarySize == 1 && isArray(); } bool isScalar() const @@ -394,10 +389,6 @@ class TType const TStructure *mStructure; bool mIsStructSpecifier; - // If this is a field of a nameless interface block, this would indicate which member it's - // refering to. - size_t mInterfaceBlockFieldIndex; - mutable const char *mMangledName; }; diff --git a/gfx/angle/checkout/src/compiler/translator/UtilsHLSL.cpp b/gfx/angle/checkout/src/compiler/translator/UtilsHLSL.cpp index a6ce0bf539a8..0c77e2ae1076 100644 --- a/gfx/angle/checkout/src/compiler/translator/UtilsHLSL.cpp +++ b/gfx/angle/checkout/src/compiler/translator/UtilsHLSL.cpp @@ -850,7 +850,7 @@ TString Decorate(const ImmutableString &string) TString DecorateVariableIfNeeded(const TVariable &variable) { if (variable.symbolType() == SymbolType::AngleInternal || - variable.symbolType() == SymbolType::BuiltIn || variable.symbolType() == SymbolType::Empty) + variable.symbolType() == SymbolType::Empty) { // Besides handling internal variables, we generate names for nameless parameters here. const ImmutableString &name = variable.name(); diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateAST.cpp b/gfx/angle/checkout/src/compiler/translator/ValidateAST.cpp index e9503ac4834a..76a8bc2f5e4a 100644 --- a/gfx/angle/checkout/src/compiler/translator/ValidateAST.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ValidateAST.cpp @@ -7,9 +7,7 @@ #include "compiler/translator/ValidateAST.h" #include "compiler/translator/Diagnostics.h" -#include "compiler/translator/Symbol.h" #include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/tree_util/SpecializationConstant.h" namespace sh { @@ -49,15 +47,6 @@ class ValidateAST : public TIntermTraverser // Visit as a generic node void visitNode(Visit visit, TIntermNode *node); - // Visit a structure or interface block, and recursively visit its fields of structure type. - void visitStructOrInterfaceBlockDeclaration(const TType &type, const TSourceLoc &location); - void visitStructInDeclarationUsage(const TType &type, const TSourceLoc &location); - - void scope(Visit visit); - bool isVariableDeclared(const TVariable *variable); - bool variableNeedsDeclaration(const TVariable *variable); - const TFieldListCollection *getStructOrInterfaceBlock(const TType &type, - ImmutableString *typeNameOut); void expectNonNullChildren(Visit visit, TIntermNode *node, size_t least_count); @@ -70,20 +59,8 @@ class ValidateAST : public TIntermTraverser std::map mParent; bool mSingleParentFailed = false; - // For validateVariableReferences: - std::vector> mDeclaredVariables; - std::set mNamelessInterfaceBlocks; - bool mVariableReferencesFailed = false; - - // For validateNullNodes: + // For validateNullNodes bool mNullNodesFailed = false; - - // For validateStructUsage: - std::vector> mStructsAndBlocksByName; - bool mStructUsageFailed = false; - - // For validateMultiDeclarations: - bool mMultiDeclarationsFailed = false; }; bool ValidateAST::validate(TIntermNode *root, @@ -100,14 +77,6 @@ ValidateAST::ValidateAST(TIntermNode *root, const ValidateASTOptions &options) : TIntermTraverser(true, false, true, nullptr), mOptions(options), mDiagnostics(diagnostics) { - bool isTreeRoot = root->getAsBlock() && root->getAsBlock()->isTreeRoot(); - - // Some validations are not applicable unless run on the entire tree. - if (!isTreeRoot) - { - mOptions.validateVariableReferences = false; - } - if (mOptions.validateSingleParent) { mParent[root] = nullptr; @@ -139,181 +108,6 @@ void ValidateAST::visitNode(Visit visit, TIntermNode *node) } } -void ValidateAST::visitStructOrInterfaceBlockDeclaration(const TType &type, - const TSourceLoc &location) -{ - if (type.getStruct() == nullptr && type.getInterfaceBlock() == nullptr) - { - return; - } - - // Make sure the structure or interface block is not doubly defined. - ImmutableString typeName(""); - const TFieldListCollection *structOrBlock = getStructOrInterfaceBlock(type, &typeName); - - if (structOrBlock) - { - ASSERT(!typeName.empty()); - - if (mStructsAndBlocksByName.back().find(typeName) != mStructsAndBlocksByName.back().end()) - { - mDiagnostics->error(location, - "Found redeclaration of struct or interface block with the same " - "name in the same scope ", - typeName.data()); - mStructUsageFailed = true; - } - else - { - // First encounter. - mStructsAndBlocksByName.back()[typeName] = structOrBlock; - } - } - - // Recurse the fields of the structure or interface block and check members of structure type. - // Note that structOrBlock was previously only set for named structures, so make sure nameless - // structs are also recursed. - if (structOrBlock == nullptr) - { - structOrBlock = type.getStruct(); - } - ASSERT(structOrBlock != nullptr); - - for (const TField *field : structOrBlock->fields()) - { - visitStructInDeclarationUsage(*field->type(), field->line()); - } -} - -void ValidateAST::visitStructInDeclarationUsage(const TType &type, const TSourceLoc &location) -{ - if (type.getStruct() == nullptr) - { - return; - } - - // Make sure the structure being referenced has the same pointer as the closest (in scope) - // definition. - const TStructure *structure = type.getStruct(); - const ImmutableString &typeName = structure->name(); - - bool foundDeclaration = false; - for (size_t scopeIndex = mStructsAndBlocksByName.size(); scopeIndex > 0; --scopeIndex) - { - const std::map &scopeDecls = - mStructsAndBlocksByName[scopeIndex - 1]; - - auto iter = scopeDecls.find(typeName); - if (iter != scopeDecls.end()) - { - foundDeclaration = true; - - if (iter->second != structure) - { - mDiagnostics->error(location, - "Found reference to struct or interface block with doubly " - "created type ", - typeName.data()); - mStructUsageFailed = true; - } - } - } - - if (!foundDeclaration) - { - mDiagnostics->error(location, - "Found reference to struct or interface block with no declaration " - "", - typeName.data()); - mStructUsageFailed = true; - } -} - -void ValidateAST::scope(Visit visit) -{ - if (mOptions.validateVariableReferences) - { - if (visit == PreVisit) - { - mDeclaredVariables.push_back({}); - } - else if (visit == PostVisit) - { - mDeclaredVariables.pop_back(); - } - } - - if (mOptions.validateStructUsage) - { - if (visit == PreVisit) - { - mStructsAndBlocksByName.push_back({}); - } - else if (visit == PostVisit) - { - mStructsAndBlocksByName.pop_back(); - } - } -} - -bool ValidateAST::isVariableDeclared(const TVariable *variable) -{ - ASSERT(mOptions.validateVariableReferences); - - for (const std::set &scopeVariables : mDeclaredVariables) - { - if (scopeVariables.count(variable) > 0) - { - return true; - } - } - - return false; -} - -bool ValidateAST::variableNeedsDeclaration(const TVariable *variable) -{ - // Don't expect declaration for built-in variables. - if (variable->name().beginsWith("gl_")) - { - return false; - } - - // Additionally, don't expect declaration for Vulkan specialization constants. There is no - // representation for them in the AST. - if (variable->symbolType() == SymbolType::AngleInternal && - SpecConst::IsSpecConstName(variable->name())) - { - return false; - } - - return true; -} - -const TFieldListCollection *ValidateAST::getStructOrInterfaceBlock(const TType &type, - ImmutableString *typeNameOut) -{ - const TStructure *structure = type.getStruct(); - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - - ASSERT(structure != nullptr || interfaceBlock != nullptr); - - // Make sure the structure or interface block is not doubly defined. - const TFieldListCollection *structOrBlock = nullptr; - if (structure != nullptr && structure->symbolType() != SymbolType::Empty) - { - structOrBlock = structure; - *typeNameOut = structure->name(); - } - else if (interfaceBlock != nullptr) - { - structOrBlock = interfaceBlock; - *typeNameOut = interfaceBlock->name(); - } - - return structOrBlock; -} - void ValidateAST::expectNonNullChildren(Visit visit, TIntermNode *node, size_t least_count) { if (visit == PreVisit && mOptions.validateNullNodes) @@ -339,52 +133,6 @@ void ValidateAST::expectNonNullChildren(Visit visit, TIntermNode *node, size_t l void ValidateAST::visitSymbol(TIntermSymbol *node) { visitNode(PreVisit, node); - - const TVariable *variable = &node->variable(); - const TType &type = node->getType(); - - if (mOptions.validateVariableReferences && variableNeedsDeclaration(variable)) - { - // If it's a reference to a field of a nameless interface block, match it by index and name. - if (type.getInterfaceBlock() && !type.isInterfaceBlock()) - { - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - const TFieldList &fieldList = interfaceBlock->fields(); - const size_t fieldIndex = type.getInterfaceBlockFieldIndex(); - - if (mNamelessInterfaceBlocks.count(interfaceBlock) == 0) - { - mDiagnostics->error(node->getLine(), - "Found reference to undeclared or inconsistenly redeclared " - "nameless interface block ", - node->getName().data()); - mVariableReferencesFailed = true; - } - else if (fieldIndex >= fieldList.size() || - node->getName() != fieldList[fieldIndex]->name()) - { - mDiagnostics->error(node->getLine(), - "Found reference to inconsistenly redeclared nameless " - "interface block field ", - node->getName().data()); - mVariableReferencesFailed = true; - } - } - else - { - const bool isStructDeclaration = - type.isStructSpecifier() && variable->symbolType() == SymbolType::Empty; - - if (!isStructDeclaration && !isVariableDeclared(variable)) - { - mDiagnostics->error(node->getLine(), - "Found reference to undeclared or inconsistently redeclared " - "variable ", - node->getName().data()); - mVariableReferencesFailed = true; - } - } - } } void ValidateAST::visitConstantUnion(TIntermConstantUnion *node) @@ -442,31 +190,6 @@ void ValidateAST::visitFunctionPrototype(TIntermFunctionPrototype *node) bool ValidateAST::visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) { visitNode(visit, node); - scope(visit); - - if (mOptions.validateVariableReferences && visit == PreVisit) - { - const TFunction *function = node->getFunction(); - - size_t paramCount = function->getParamCount(); - for (size_t paramIndex = 0; paramIndex < paramCount; ++paramIndex) - { - const TVariable *variable = function->getParam(paramIndex); - - if (isVariableDeclared(variable)) - { - mDiagnostics->error(node->getLine(), - "Found two declarations of the same function argument " - "", - variable->name().data()); - mVariableReferencesFailed = true; - break; - } - - mDeclaredVariables.back().insert(variable); - } - } - return true; } @@ -480,7 +203,6 @@ bool ValidateAST::visitAggregate(Visit visit, TIntermAggregate *node) bool ValidateAST::visitBlock(Visit visit, TIntermBlock *node) { visitNode(visit, node); - scope(visit); expectNonNullChildren(visit, node, 0); return true; } @@ -496,71 +218,6 @@ bool ValidateAST::visitDeclaration(Visit visit, TIntermDeclaration *node) { visitNode(visit, node); expectNonNullChildren(visit, node, 0); - - const TIntermSequence &sequence = *(node->getSequence()); - - if (mOptions.validateMultiDeclarations && sequence.size() > 1) - { - mMultiDeclarationsFailed = true; - } - - if (visit == PreVisit) - { - bool validateStructUsage = mOptions.validateStructUsage; - - for (TIntermNode *instance : sequence) - { - TIntermSymbol *symbol = instance->getAsSymbolNode(); - if (symbol == nullptr) - { - TIntermBinary *init = instance->getAsBinaryNode(); - ASSERT(init && init->getOp() == EOpInitialize); - symbol = init->getLeft()->getAsSymbolNode(); - } - ASSERT(symbol); - - const TVariable *variable = &symbol->variable(); - - if (mOptions.validateVariableReferences) - { - if (isVariableDeclared(variable)) - { - mDiagnostics->error( - node->getLine(), - "Found two declarations of the same variable ", - variable->name().data()); - mVariableReferencesFailed = true; - break; - } - - mDeclaredVariables.back().insert(variable); - - const TInterfaceBlock *interfaceBlock = variable->getType().getInterfaceBlock(); - - if (variable->symbolType() == SymbolType::Empty && interfaceBlock != nullptr) - { - // Nameless interface blocks can only be declared at the top level. Their - // fields are matched by field index, and then verified to match by name. - // Conflict in names should have already generated a compile error. - ASSERT(mDeclaredVariables.size() == 1); - ASSERT(mNamelessInterfaceBlocks.count(interfaceBlock) == 0); - - mNamelessInterfaceBlocks.insert(interfaceBlock); - } - } - - if (validateStructUsage) - { - // Only declare the struct once. - validateStructUsage = false; - - const TType &type = variable->getType(); - if (type.isStructSpecifier() || type.isInterfaceBlock()) - visitStructOrInterfaceBlockDeclaration(type, node->getLine()); - } - } - } - return true; } @@ -583,8 +240,7 @@ void ValidateAST::visitPreprocessorDirective(TIntermPreprocessorDirective *node) bool ValidateAST::validateInternal() { - return !mSingleParentFailed && !mVariableReferencesFailed && !mNullNodesFailed && - !mStructUsageFailed && !mMultiDeclarationsFailed; + return !mSingleParentFailed && !mNullNodesFailed; } } // anonymous namespace diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateAST.h b/gfx/angle/checkout/src/compiler/translator/ValidateAST.h index 8ac44cddea21..7314f6e6531b 100644 --- a/gfx/angle/checkout/src/compiler/translator/ValidateAST.h +++ b/gfx/angle/checkout/src/compiler/translator/ValidateAST.h @@ -23,8 +23,6 @@ struct ValidateASTOptions // Check that every node always has only one parent, bool validateSingleParent = true; - // Check that all symbols reference TVariables that have been declared. - bool validateVariableReferences = true; // Check that all EOpCallFunctionInAST have their corresponding function definitions in the AST, // with matching symbol ids. There should also be at least a prototype declaration before the // function is called. @@ -42,15 +40,13 @@ struct ValidateASTOptions // Check that there is only one TFunction with each function name referenced in the nodes (no // two TFunctions with the same name, taking internal/non-internal namespaces into account). bool validateUniqueFunctions = true; // TODO - // Check that references to structs are matched with the corresponding struct declaration. This - // is only done for references to structs inside other struct or interface blocks declarations, - // as validateVariableReferences already ensures other references to the struct match the + // Check that references to user-defined structs are matched with the corresponding struct // declaration. - bool validateStructUsage = true; + bool validateStructUsage = true; // TODO // Check that expression nodes have the correct type considering their operand(s). bool validateExpressionTypes = true; // TODO // If SeparateDeclarations has been run, check for the absence of multi declarations as well. - bool validateMultiDeclarations = false; + bool validateMultiDeclarations = false; // TODO }; // Check for errors and output error messages on the context. diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp b/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp deleted file mode 100644 index 23479906e1b5..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// ValidateBarrierFunctionCalls: -// Runs compilation checks related to the "barrier built-in function. - -#include "compiler/translator/ValidateBarrierFunctionCall.h" - -#include "compiler/translator/Diagnostics.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/IntermTraverse.h" - -namespace sh -{ -namespace -{ -class Traverser : public TIntermTraverser -{ - public: - Traverser(TDiagnostics *diagnostics) - : TIntermTraverser(true, false, true), mDiagnostics(diagnostics) - {} - - bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override - { - if (!node->getFunction()->isMain()) - { - return false; - } - - mInMain = visit == PreVisit; - return true; - } - - bool visitBranch(Visit visit, TIntermBranch *branch) override - { - if (branch->getFlowOp() == EOpReturn) - { - mSeenReturn = true; - } - - return true; - } - - bool visitAggregate(Visit visit, TIntermAggregate *node) override - { - if (node->getOp() != EOpBarrier) - { - return true; - } - - if (mSeenReturn) - { - mDiagnostics->error(node->getLine(), - "barrier() may not be called at any point after a return statement " - "in the function main().", - "barrier"); - mValid = false; - return false; - } - - // TODO(anglebug.com/5557): Determine if we should check loops as well. - if (mBranchCount > 0) - { - mDiagnostics->error( - node->getLine(), - "barrier() may not be called in potentially divergent flow control.", "barrier"); - mValid = false; - return false; - } - - return true; - } - - bool visitIfElse(Visit visit, TIntermIfElse *node) override - { - mBranchCount += ((visit == PreVisit) ? 1 : -1); - return true; - } - - bool valid() const { return mValid; } - - private: - TDiagnostics *mDiagnostics = nullptr; - bool mInMain = false; - bool mSeenReturn = false; - bool mValid = true; - uint32_t mBranchCount = 0; -}; -} // anonymous namespace - -bool ValidateBarrierFunctionCall(TIntermBlock *root, TDiagnostics *diagnostics) -{ - Traverser traverser(diagnostics); - root->traverse(&traverser); - return traverser.valid(); -} -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.h b/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.h deleted file mode 100644 index 43f127783fa4..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/ValidateBarrierFunctionCall.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// ValidateBarrierFunctionCalls: -// Runs compilation checks related to the "barrier built-in function. - -#ifndef COMPILER_TRANSLATOR_VALIDATEBARRIERFUNCTIONCALL_H_ -#define COMPILER_TRANSLATOR_VALIDATEBARRIERFUNCTIONCALL_H_ - -#include "common/angleutils.h" - -namespace sh -{ -class TDiagnostics; -class TIntermBlock; - -ANGLE_NO_DISCARD bool ValidateBarrierFunctionCall(TIntermBlock *root, TDiagnostics *diagnostics); -} // namespace sh - -#endif // COMPILER_TRANSLATOR_VALIDATEBARRIERFUNCTIONCALL_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.cpp b/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.cpp deleted file mode 100644 index 3ecd8b429507..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.cpp +++ /dev/null @@ -1,200 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// The ValidateClipCullDistance function checks if the sum of array sizes for gl_ClipDistance and -// gl_CullDistance exceeds gl_MaxCombinedClipAndCullDistances -// - -#include "ValidateClipCullDistance.h" - -#include "compiler/translator/Diagnostics.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/util.h" - -namespace sh -{ - -namespace -{ - -void error(const TIntermSymbol &symbol, const char *reason, TDiagnostics *diagnostics) -{ - diagnostics->error(symbol.getLine(), reason, symbol.getName().data()); -} - -class ValidateClipCullDistanceTraverser : public TIntermTraverser -{ - public: - ValidateClipCullDistanceTraverser(); - void validate(TDiagnostics *diagnostics, const unsigned int maxCombinedClipAndCullDistances); - - private: - bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; - bool visitBinary(Visit visit, TIntermBinary *node) override; - - unsigned int mClipDistanceSize; - unsigned int mCullDistanceSize; - - unsigned int mMaxClipDistanceIndex; - unsigned int mMaxCullDistanceIndex; - - const TIntermSymbol *mClipDistance; - const TIntermSymbol *mCullDistance; -}; - -ValidateClipCullDistanceTraverser::ValidateClipCullDistanceTraverser() - : TIntermTraverser(true, false, false), - mClipDistanceSize(0), - mCullDistanceSize(0), - mMaxClipDistanceIndex(0), - mMaxCullDistanceIndex(0), - mClipDistance(nullptr), - mCullDistance(nullptr) -{} - -bool ValidateClipCullDistanceTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) -{ - const TIntermSequence &sequence = *(node->getSequence()); - - if (sequence.size() != 1) - { - return true; - } - - const TIntermSymbol *symbol = sequence.front()->getAsSymbolNode(); - if (symbol == nullptr) - { - return true; - } - - if (symbol->getName() == "gl_ClipDistance") - { - mClipDistanceSize = symbol->getOutermostArraySize(); - mClipDistance = symbol; - } - else if (symbol->getName() == "gl_CullDistance") - { - mCullDistanceSize = symbol->getOutermostArraySize(); - mCullDistance = symbol; - } - - return true; -} - -bool ValidateClipCullDistanceTraverser::visitBinary(Visit visit, TIntermBinary *node) -{ - TOperator op = node->getOp(); - if (op != EOpIndexDirect && op != EOpIndexIndirect) - { - return true; - } - - TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); - if (!left) - { - return true; - } - - ImmutableString varName(left->getName()); - if (varName != "gl_ClipDistance" && varName != "gl_CullDistance") - { - return true; - } - - const TConstantUnion *constIdx = node->getRight()->getConstantValue(); - if (constIdx) - { - unsigned int idx = 0; - switch (constIdx->getType()) - { - case EbtInt: - idx = constIdx->getIConst(); - break; - case EbtUInt: - idx = constIdx->getUConst(); - break; - case EbtFloat: - idx = static_cast(constIdx->getFConst()); - break; - case EbtBool: - idx = constIdx->getBConst() ? 1 : 0; - break; - default: - UNREACHABLE(); - break; - } - - if (varName == "gl_ClipDistance") - { - if (idx > mMaxClipDistanceIndex) - { - mMaxClipDistanceIndex = idx; - if (!mClipDistance) - { - mClipDistance = left; - } - } - } - else - { - ASSERT(varName == "gl_CullDistance"); - if (idx > mMaxCullDistanceIndex) - { - mMaxCullDistanceIndex = idx; - if (!mCullDistance) - { - mCullDistance = left; - } - } - } - } - - return true; -} - -void ValidateClipCullDistanceTraverser::validate(TDiagnostics *diagnostics, - const unsigned int maxCombinedClipAndCullDistances) -{ - ASSERT(diagnostics); - - unsigned int enabledClipDistances = - (mClipDistanceSize > 0 ? mClipDistanceSize - : (mClipDistance ? mMaxClipDistanceIndex + 1 : 0)); - unsigned int enabledCullDistances = - (mCullDistanceSize > 0 ? mCullDistanceSize - : (mCullDistance ? mMaxCullDistanceIndex + 1 : 0)); - unsigned int combinedClipAndCullDistances = - (enabledClipDistances > 0 && enabledCullDistances > 0 - ? enabledClipDistances + enabledCullDistances - : 0); - - if (combinedClipAndCullDistances > maxCombinedClipAndCullDistances) - { - const TIntermSymbol *greaterSymbol = - (enabledClipDistances >= enabledCullDistances ? mClipDistance : mCullDistance); - - std::stringstream strstr = sh::InitializeStream(); - strstr << "The sum of 'gl_ClipDistance' and 'gl_CullDistance' size is greater than " - "gl_MaxCombinedClipAndCullDistances (" - << combinedClipAndCullDistances << " > " << maxCombinedClipAndCullDistances << ")"; - error(*greaterSymbol, strstr.str().c_str(), diagnostics); - } -} - -} // anonymous namespace - -bool ValidateClipCullDistance(TIntermBlock *root, - TDiagnostics *diagnostics, - const unsigned int maxCombinedClipAndCullDistances) -{ - ValidateClipCullDistanceTraverser varyingValidator; - root->traverse(&varyingValidator); - int numErrorsBefore = diagnostics->numErrors(); - varyingValidator.validate(diagnostics, maxCombinedClipAndCullDistances); - return (diagnostics->numErrors() == numErrorsBefore); -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.h b/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.h deleted file mode 100644 index 31ea890cd7a9..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/ValidateClipCullDistance.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// The ValidateClipCullDistance function checks if the sum of array sizes for gl_ClipDistance and -// gl_CullDistance exceeds gl_MaxCombinedClipAndCullDistances -// - -#ifndef COMPILER_TRANSLATOR_VALIDATECLIPCULLDISTANCE_H_ -#define COMPILER_TRANSLATOR_VALIDATECLIPCULLDISTANCE_H_ - -#include "GLSLANG/ShaderVars.h" - -namespace sh -{ - -class TIntermBlock; -class TDiagnostics; - -bool ValidateClipCullDistance(TIntermBlock *root, - TDiagnostics *diagnostics, - const unsigned int maxCombinedClipAndCullDistances); - -} // namespace sh - -#endif diff --git a/gfx/angle/checkout/src/compiler/translator/ValidateVaryingLocations.cpp b/gfx/angle/checkout/src/compiler/translator/ValidateVaryingLocations.cpp index b265a7779c6b..ee594e878c4a 100644 --- a/gfx/angle/checkout/src/compiler/translator/ValidateVaryingLocations.cpp +++ b/gfx/angle/checkout/src/compiler/translator/ValidateVaryingLocations.cpp @@ -25,159 +25,50 @@ void error(const TIntermSymbol &symbol, const char *reason, TDiagnostics *diagno diagnostics->error(symbol.getLine(), reason, symbol.getName().data()); } -int GetStructLocationCount(const TStructure *structure); - -int GetFieldLocationCount(const TField *field) +unsigned int GetLocationCount(const TIntermSymbol *varying, bool ignoreVaryingArraySize) { - int field_size = 0; - const TType *fieldType = field->type(); - - if (fieldType->getStruct() != nullptr) - { - field_size = GetStructLocationCount(fieldType->getStruct()); - } - else if (fieldType->isMatrix()) - { - field_size = fieldType->getNominalSize(); - } - else - { - ASSERT(fieldType->getSecondarySize() == 1); - field_size = 1; - } - - if (fieldType->isArray()) - { - field_size *= fieldType->getArraySizeProduct(); - } - - return field_size; -} - -int GetStructLocationCount(const TStructure *structure) -{ - int totalLocation = 0; - for (const TField *field : structure->fields()) - { - totalLocation += GetFieldLocationCount(field); - } - return totalLocation; -} - -int GetInterfaceBlockLocationCount(const TType &varyingType, bool ignoreVaryingArraySize) -{ - int totalLocation = 0; - for (const TField *field : varyingType.getInterfaceBlock()->fields()) - { - totalLocation += GetFieldLocationCount(field); - } - - if (!ignoreVaryingArraySize && varyingType.isArray()) - { - totalLocation *= varyingType.getArraySizeProduct(); - } - return totalLocation; -} - -int GetLocationCount(const TIntermSymbol *varying, bool ignoreVaryingArraySize) -{ - const TType &varyingType = varying->getType(); - ASSERT(!varyingType.isInterfaceBlock()); - + const auto &varyingType = varying->getType(); if (varyingType.getStruct() != nullptr) { - int totalLocation = 0; - for (const TField *field : varyingType.getStruct()->fields()) + ASSERT(!varyingType.isArray()); + unsigned int totalLocation = 0; + for (const auto *field : varyingType.getStruct()->fields()) { - const TType *fieldType = field->type(); + const auto *fieldType = field->type(); ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); - totalLocation += GetFieldLocationCount(field); + totalLocation += + fieldType->isMatrix() ? fieldType->getNominalSize() : fieldType->getSecondarySize(); } return totalLocation; } - - ASSERT(varyingType.isMatrix() || varyingType.getSecondarySize() == 1); - int elementLocationCount = varyingType.isMatrix() ? varyingType.getNominalSize() : 1; - // [GL_EXT_shader_io_blocks SPEC Chapter 4.4.1] // Geometry shader inputs, tessellation control shader inputs and outputs, and tessellation // evaluation inputs all have an additional level of arrayness relative to other shader inputs // and outputs. This outer array level is removed from the type before considering how many // locations the type consumes. - if (ignoreVaryingArraySize) + else if (ignoreVaryingArraySize) { // Array-of-arrays cannot be inputs or outputs of a geometry shader. // (GL_EXT_geometry_shader SPEC issues(5)) ASSERT(!varyingType.isArrayOfArrays()); - return elementLocationCount; + return varyingType.getSecondarySize(); } - - return elementLocationCount * varyingType.getArraySizeProduct(); -} - -bool ShouldIgnoreVaryingArraySize(TQualifier qualifier, GLenum shaderType) -{ - bool isVaryingIn = IsShaderIn(qualifier) && qualifier != EvqPatchIn; - - switch (shaderType) + else if (varyingType.isMatrix()) { - case GL_GEOMETRY_SHADER: - case GL_TESS_EVALUATION_SHADER: - return isVaryingIn; - case GL_TESS_CONTROL_SHADER: - return (IsShaderOut(qualifier) && qualifier != EvqPatchOut) || isVaryingIn; - default: - return false; + return varyingType.getNominalSize() * varyingType.getArraySizeProduct(); } -} - -struct SymbolAndField -{ - const TIntermSymbol *symbol; - const TField *field; -}; -using LocationMap = std::map; - -void MarkVaryingLocations(TDiagnostics *diagnostics, - const TIntermSymbol *varying, - const TField *field, - int location, - int elementCount, - LocationMap *locationMap) -{ - for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) + else { - const int offsetLocation = location + elementIndex; - auto conflict = locationMap->find(offsetLocation); - if (conflict != locationMap->end()) - { - std::stringstream strstr = sh::InitializeStream(); - strstr << "'" << varying->getName(); - if (field) - { - strstr << "." << field->name(); - } - strstr << "' conflicting location with '" << conflict->second.symbol->getName(); - if (conflict->second.field) - { - strstr << "." << conflict->second.field->name(); - } - strstr << "'"; - error(*varying, strstr.str().c_str(), diagnostics); - } - else - { - (*locationMap)[offsetLocation] = {varying, field}; - } + return varyingType.getArraySizeProduct(); } } using VaryingVector = std::vector; -void ValidateShaderInterfaceAndAssignLocations(TDiagnostics *diagnostics, - const VaryingVector &varyingVector, - GLenum shaderType) +void ValidateShaderInterface(TDiagnostics *diagnostics, + VaryingVector &varyingVector, + bool ignoreVaryingArraySize) { // Location conflicts can only happen when there are two or more varyings in varyingVector. if (varyingVector.size() <= 1) @@ -185,92 +76,29 @@ void ValidateShaderInterfaceAndAssignLocations(TDiagnostics *diagnostics, return; } - LocationMap locationMap; + std::map locationMap; for (const TIntermSymbol *varying : varyingVector) { - const TType &varyingType = varying->getType(); - const int location = varyingType.getLayoutQualifier().location; + const int location = varying->getType().getLayoutQualifier().location; ASSERT(location >= 0); - bool ignoreVaryingArraySize = - ShouldIgnoreVaryingArraySize(varying->getQualifier(), shaderType); - - // A varying is either: - // - // - A vector or matrix, which can take a number of contiguous locations - // - A struct, which also takes a number of contiguous locations - // - An interface block. - // - // Interface blocks can assign arbitrary locations to their fields, for example: - // - // layout(location = 4) in block { - // vec4 a; // gets location 4 - // vec4 b; // gets location 5 - // layout(location = 7) vec4 c; // gets location 7 - // vec4 d; // gets location 8 - // layout (location = 1) vec4 e; // gets location 1 - // vec4 f; // gets location 2 - // }; - // - // The following code therefore takes two paths. For non-interface-block types, the number - // of locations for the varying is calculated (elementCount), and all locations in - // [location, location + elementCount) are marked as occupied. - // - // For interface blocks, a similar algorithm is implemented except each field is - // individually marked with the location either advancing automatically or taking its value - // from the field's layout qualifier. - - if (varyingType.isInterfaceBlock()) + const int elementCount = GetLocationCount(varying, ignoreVaryingArraySize); + for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) { - int currentLocation = location; - bool anyFieldWithLocation = false; - - for (const TField *field : varyingType.getInterfaceBlock()->fields()) + const int offsetLocation = location + elementIndex; + if (locationMap.find(offsetLocation) != locationMap.end()) { - const int fieldLocation = field->type()->getLayoutQualifier().location; - if (fieldLocation >= 0) - { - currentLocation = fieldLocation; - anyFieldWithLocation = true; - } - - const int fieldLocationCount = GetFieldLocationCount(field); - MarkVaryingLocations(diagnostics, varying, field, currentLocation, - fieldLocationCount, &locationMap); - - currentLocation += fieldLocationCount; + std::stringstream strstr = sh::InitializeStream(); + strstr << "'" << varying->getName() + << "' conflicting location with previously defined '" + << locationMap[offsetLocation]->getName() << "'"; + error(*varying, strstr.str().c_str(), diagnostics); } - - // Array interface blocks can't have location qualifiers on fields. - ASSERT(ignoreVaryingArraySize || !anyFieldWithLocation || !varyingType.isArray()); - - if (!ignoreVaryingArraySize && varyingType.isArray()) + else { - // This is only reached if the varying is an array of interface blocks, with only a - // layout qualifier on the block itself, for example: - // - // layout(location = 4) in block { - // vec4 a; - // vec4 b; - // vec4 c; - // vec4 d; - // } instance[N]; - // - // The locations for instance[0] are already marked by the above code, so we need to - // further mark locations occupied by instances [1, N). |currentLocation| is - // already just past the end of instance[0], which is the beginning of instance[1]. - // - int remainingLocations = currentLocation * (varyingType.getArraySizeProduct() - 1); - MarkVaryingLocations(diagnostics, varying, nullptr, currentLocation, - remainingLocations, &locationMap); + locationMap[offsetLocation] = varying; } } - else - { - const int elementCount = GetLocationCount(varying, ignoreVaryingArraySize); - MarkVaryingLocations(diagnostics, varying, nullptr, location, elementCount, - &locationMap); - } } } @@ -337,25 +165,16 @@ void ValidateVaryingLocationsTraverser::validate(TDiagnostics *diagnostics) { ASSERT(diagnostics); - ValidateShaderInterfaceAndAssignLocations(diagnostics, mInputVaryingsWithLocation, mShaderType); - ValidateShaderInterfaceAndAssignLocations(diagnostics, mOutputVaryingsWithLocation, - mShaderType); + ValidateShaderInterface(diagnostics, mInputVaryingsWithLocation, + mShaderType == GL_GEOMETRY_SHADER_EXT); + ValidateShaderInterface(diagnostics, mOutputVaryingsWithLocation, false); } } // anonymous namespace unsigned int CalculateVaryingLocationCount(TIntermSymbol *varying, GLenum shaderType) { - const TType &varyingType = varying->getType(); - const TQualifier qualifier = varyingType.getQualifier(); - const bool ignoreVaryingArraySize = ShouldIgnoreVaryingArraySize(qualifier, shaderType); - - if (varyingType.isInterfaceBlock()) - { - return GetInterfaceBlockLocationCount(varyingType, ignoreVaryingArraySize); - } - - return GetLocationCount(varying, ignoreVaryingArraySize); + return GetLocationCount(varying, shaderType == GL_GEOMETRY_SHADER_EXT); } bool ValidateVaryingLocations(TIntermBlock *root, TDiagnostics *diagnostics, GLenum shaderType) diff --git a/gfx/angle/checkout/src/compiler/translator/blocklayout.cpp b/gfx/angle/checkout/src/compiler/translator/blocklayout.cpp index 0539923bc75f..65a729e05d9f 100644 --- a/gfx/angle/checkout/src/compiler/translator/blocklayout.cpp +++ b/gfx/angle/checkout/src/compiler/translator/blocklayout.cpp @@ -125,10 +125,9 @@ void TraverseArrayOfArraysVariable(const ShaderVariable &variable, } else { - if (gl::IsSamplerType(variable.type) || gl::IsImageType(variable.type) || - variable.isFragmentInOut) + if (gl::IsSamplerType(variable.type) || gl::IsImageType(variable.type)) { - visitor->visitOpaqueObject(elementVar); + visitor->visitSamplerOrImage(elementVar); } else { @@ -456,7 +455,7 @@ std::string VariableNameVisitor::collapseMappedNameStack() const return CollapseNameStack(mMappedNameStack); } -void VariableNameVisitor::visitOpaqueObject(const sh::ShaderVariable &variable) +void VariableNameVisitor::visitSamplerOrImage(const sh::ShaderVariable &variable) { if (!variable.hasParentArrayIndex()) { @@ -473,7 +472,7 @@ void VariableNameVisitor::visitOpaqueObject(const sh::ShaderVariable &variable) mMappedNameStack.pop_back(); } - visitNamedOpaqueObject(variable, name, mappedName, mArraySizeStack); + visitNamedSamplerOrImage(variable, name, mappedName, mArraySizeStack); } void VariableNameVisitor::visitVariable(const ShaderVariable &variable, bool isRowMajor) @@ -611,10 +610,9 @@ void TraverseShaderVariable(const ShaderVariable &variable, { TraverseArrayOfArraysVariable(variable, 0u, isRowMajor, visitor); } - else if (gl::IsSamplerType(variable.type) || gl::IsImageType(variable.type) || - variable.isFragmentInOut) + else if (gl::IsSamplerType(variable.type) || gl::IsImageType(variable.type)) { - visitor->visitOpaqueObject(variable); + visitor->visitSamplerOrImage(variable); } else { diff --git a/gfx/angle/checkout/src/compiler/translator/blocklayout.h b/gfx/angle/checkout/src/compiler/translator/blocklayout.h index 726d76fa178f..27b2247cb5f1 100644 --- a/gfx/angle/checkout/src/compiler/translator/blocklayout.h +++ b/gfx/angle/checkout/src/compiler/translator/blocklayout.h @@ -201,7 +201,7 @@ class ShaderVariableVisitor virtual void enterArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} virtual void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) {} - virtual void visitOpaqueObject(const sh::ShaderVariable &variable) {} + virtual void visitSamplerOrImage(const sh::ShaderVariable &variable) {} virtual void visitVariable(const ShaderVariable &variable, bool isRowMajor) = 0; @@ -225,10 +225,10 @@ class VariableNameVisitor : public ShaderVariableVisitor void exitArrayElement(const ShaderVariable &arrayVar, unsigned int arrayElement) override; protected: - virtual void visitNamedOpaqueObject(const sh::ShaderVariable &variable, - const std::string &name, - const std::string &mappedName, - const std::vector &arraySizes) + virtual void visitNamedSamplerOrImage(const sh::ShaderVariable &sampler, + const std::string &name, + const std::string &mappedName, + const std::vector &arraySizes) {} virtual void visitNamedVariable(const ShaderVariable &variable, bool isRowMajor, @@ -240,7 +240,7 @@ class VariableNameVisitor : public ShaderVariableVisitor std::string collapseMappedNameStack() const; private: - void visitOpaqueObject(const sh::ShaderVariable &variable) final; + void visitSamplerOrImage(const sh::ShaderVariable &variable) final; void visitVariable(const ShaderVariable &variable, bool isRowMajor) final; std::vector mNameStack; diff --git a/gfx/angle/checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp index 5b81f1386904..57acf1dc2c28 100644 --- a/gfx/angle/checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_emulated_builtin_function_tables.py using data from // emulated_builtin_function_data_hlsl.json. // -// Copyright 2017 The ANGLE Project Authors. All rights reserved. +// Copyright 2019 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/compiler/translator/glslang_lex_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/glslang_lex_autogen.cpp index 1f66dfa20e2c..8a7bab202725 100644 --- a/gfx/angle/checkout/src/compiler/translator/glslang_lex_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/glslang_lex_autogen.cpp @@ -432,63 +432,63 @@ static const flex_int16_t yy_accept[938] = { 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 13, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 16, - 193, 193, 26, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 25, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 215, 219, 251, 0, 205, 201, 0, 204, 198, 0, 200, 194, 211, 212, 193, 193, 153, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 14, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 31, 193, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 193, 193, 27, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 30, 193, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 26, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 193, 0, 202, 0, 201, 203, 197, 193, 193, 193, 193, 34, 193, 193, 193, 19, 190, 193, + 193, 193, 0, 202, 0, 201, 203, 197, 193, 193, 193, 193, 33, 193, 193, 193, 19, 190, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 17, 156, 193, 193, 193, 193, 22, 193, 193, 160, 171, 193, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 168, 4, 39, 40, 41, 193, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 168, 4, 38, 39, 40, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 159, 35, 193, 193, 32, 193, 193, 193, 193, 193, 193, 193, 51, 52, 53, 33, 193, 193, - 193, 193, 193, 193, 193, 193, 11, 193, 57, 58, 59, 193, 154, 193, 193, 7, 193, 193, 193, - 193, 180, 181, 182, 193, 36, 193, 172, 30, 183, 184, 185, 2, 177, 178, 179, 193, 193, 193, - 28, 175, 193, 193, 193, + 193, 159, 34, 193, 193, 31, 193, 193, 193, 193, 193, 193, 193, 50, 51, 52, 32, 193, 193, + 193, 193, 193, 193, 193, 193, 11, 193, 56, 57, 58, 193, 154, 193, 193, 7, 193, 193, 193, + 193, 180, 181, 182, 193, 35, 193, 172, 29, 183, 184, 185, 2, 177, 178, 179, 193, 193, 193, + 27, 175, 193, 193, 193, - 193, 193, 54, 55, 56, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 25, 193, 193, + 193, 193, 53, 54, 55, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 128, 193, 193, 193, 193, 193, 193, 193, 193, 169, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 155, - 193, 193, 192, 60, 61, 62, 193, 193, 15, 193, 193, 193, 132, 193, 193, 9, 193, 193, 130, - 193, 193, 193, 170, 165, 133, 193, 193, 193, 193, 193, 193, 161, 193, 193, 193, 193, 193, 97, - 42, 45, 47, 46, 43, 49, 48, 50, 44, 193, 193, 193, 193, 176, 152, 193, 193, 163, 193, - 193, 193, 38, 126, 29, + 193, 193, 192, 59, 60, 61, 193, 193, 15, 193, 193, 193, 132, 193, 193, 9, 193, 193, 130, + 193, 193, 193, 170, 165, 133, 193, 193, 193, 193, 193, 193, 161, 193, 193, 193, 193, 193, 96, + 41, 44, 46, 45, 42, 48, 47, 49, 43, 193, 193, 193, 193, 176, 152, 193, 193, 163, 193, + 193, 193, 37, 125, 28, - 189, 23, 164, 96, 193, 174, 18, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 193, 193, 193, 20, 37, 193, 193, 193, 193, 193, 193, 134, 102, 108, 193, 193, 193, 193, - 193, 99, 101, 3, 193, 193, 193, 193, 127, 193, 193, 193, 193, 193, 193, 193, 157, 193, 193, - 193, 193, 193, 8, 193, 193, 10, 193, 193, 193, 193, 193, 193, 21, 122, 12, 166, 135, 103, - 110, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 162, 193, 193, 193, 120, - 128, 123, 193, 193, 193, + 189, 23, 164, 95, 193, 174, 18, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 193, 20, 36, 193, 193, 193, 193, 193, 193, 134, 101, 107, 193, 193, 193, 193, + 193, 98, 100, 3, 193, 193, 193, 193, 126, 193, 193, 193, 193, 193, 193, 193, 157, 193, 193, + 193, 193, 193, 8, 193, 193, 10, 193, 193, 193, 193, 193, 193, 21, 121, 12, 166, 135, 102, + 109, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 162, 193, 193, 193, 119, + 127, 122, 193, 193, 193, - 193, 193, 193, 193, 193, 158, 136, 104, 109, 193, 193, 173, 193, 124, 193, 193, 193, 193, 6, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 113, 167, 1, 193, 193, 193, 193, 193, 193, 191, - 193, 131, 5, 186, 63, 66, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 121, 193, 193, 193, 193, 193, 193, 111, 193, 193, 193, 193, 193, 193, 146, 71, 72, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 129, 193, 193, 193, 112, - 148, 76, 77, 193, 193, + 193, 193, 193, 193, 193, 158, 136, 103, 108, 193, 193, 173, 193, 123, 193, 193, 193, 193, 6, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 112, 167, 1, 193, 193, 193, 193, 193, 193, 191, + 193, 131, 5, 186, 62, 65, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 120, 193, 193, 193, 193, 193, 193, 110, 193, 193, 193, 193, 193, 193, 146, 70, 71, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 129, 193, 193, 193, 111, + 148, 75, 76, 193, 193, - 193, 193, 125, 193, 193, 193, 193, 193, 193, 193, 193, 117, 193, 193, 193, 193, 193, 193, 193, - 193, 193, 193, 193, 193, 70, 193, 193, 193, 193, 64, 193, 193, 193, 193, 193, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 118, 193, 137, 193, 105, 193, 193, 193, 193, 75, 193, - 193, 73, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 119, - 193, 193, 193, 80, 193, 193, 78, 193, 193, 138, 106, 193, 193, 140, 193, 141, 193, 193, 193, + 193, 193, 124, 193, 193, 193, 193, 193, 193, 193, 193, 116, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 69, 193, 193, 193, 193, 63, 193, 193, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 117, 193, 137, 193, 104, 193, 193, 193, 193, 74, 193, + 193, 72, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 118, + 193, 193, 193, 79, 193, 193, 77, 193, 193, 138, 105, 193, 193, 140, 193, 141, 193, 193, 193, 193, 193, 193, 193, 193, - 24, 193, 193, 193, 193, 68, 193, 67, 89, 193, 193, 193, 193, 139, 107, 193, 193, 193, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 114, 193, 193, 193, 150, 92, 193, 193, 144, 193, 69, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 151, 94, 193, 193, 193, 115, 193, 193, - 147, 74, 193, 193, 193, 193, 187, 193, 193, 193, 81, 193, 193, 193, 193, 116, 149, 79, 193, - 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 85, 193, 88, 193, 193, 193, 193, 193, 193, - 193, 193, 193, 86, 91, + 24, 193, 193, 193, 193, 67, 193, 66, 88, 193, 193, 193, 193, 139, 106, 193, 193, 193, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 113, 193, 193, 193, 150, 91, 193, 193, 144, 193, 68, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 151, 93, 193, 193, 193, 114, 193, 193, + 147, 73, 193, 193, 193, 193, 187, 193, 193, 193, 80, 193, 193, 193, 193, 115, 149, 78, 193, + 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 84, 193, 87, 193, 193, 193, 193, 193, 193, + 193, 193, 193, 85, 90, - 193, 193, 193, 193, 193, 82, 193, 95, 87, 93, 98, 193, 142, 143, 100, 193, 193, 193, 193, - 65, 193, 193, 193, 188, 193, 193, 145, 83, 193, 193, 193, 193, 90, 193, 193, 84, 0}; + 193, 193, 193, 193, 193, 81, 193, 94, 86, 92, 97, 193, 142, 143, 99, 193, 193, 193, 193, + 64, 193, 193, 193, 188, 193, 193, 145, 82, 193, 193, 193, 193, 89, 193, 193, 83, 0}; static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, @@ -918,10 +918,6 @@ static bool is_extension_enabled_or_is_core(TParseContext *context, // which means in version V1, the symbol is reserved, and remains reserved until V3. From versions // V2 until V3, it's a keyword if the extension is enabled. From version V3 on, it's a keyword in // the spec itself. Prior to V1, the symbol can be used as identifier. -static int ES2_extension_2_ES3_keyword(TParseContext *context, - TExtension extension1, - TExtension extension2, - int token); static int ES2_reserved_ES3_keyword(TParseContext *context, int token); static int ES2_keyword_ES3_reserved(TParseContext *context, int token); static int ES3_keyword(TParseContext *context, int token); @@ -1378,222 +1374,215 @@ YY_DECL } YY_BREAK case 25: - YY_RULE_SETUP - { - return ES3_reserved_ES3_1_extension_ES3_2_keyword( - context, TExtension::EXT_tessellation_shader, PATCH); - } - YY_BREAK - case 26: YY_RULE_SETUP { return IN_QUAL; } YY_BREAK - case 27: + case 26: YY_RULE_SETUP { return OUT_QUAL; } YY_BREAK - case 28: + case 27: YY_RULE_SETUP { return INOUT_QUAL; } YY_BREAK - case 29: + case 28: YY_RULE_SETUP { return ES3_1_keyword(context, SHARED); } YY_BREAK - case 30: + case 29: YY_RULE_SETUP { return FLOAT_TYPE; } YY_BREAK - case 31: + case 30: YY_RULE_SETUP { return INT_TYPE; } YY_BREAK - case 32: + case 31: YY_RULE_SETUP { return ES3_keyword(context, UINT_TYPE); } YY_BREAK - case 33: + case 32: YY_RULE_SETUP { return VOID_TYPE; } YY_BREAK - case 34: + case 33: YY_RULE_SETUP { return BOOL_TYPE; } YY_BREAK - case 35: + case 34: YY_RULE_SETUP { yylval->lex.b = true; return BOOLCONSTANT; } YY_BREAK - case 36: + case 35: YY_RULE_SETUP { yylval->lex.b = false; return BOOLCONSTANT; } YY_BREAK - case 37: + case 36: YY_RULE_SETUP { return DISCARD; } YY_BREAK - case 38: + case 37: YY_RULE_SETUP { return RETURN; } YY_BREAK - case 39: + case 38: YY_RULE_SETUP { return MATRIX2; } YY_BREAK - case 40: + case 39: YY_RULE_SETUP { return MATRIX3; } YY_BREAK - case 41: + case 40: YY_RULE_SETUP { return MATRIX4; } YY_BREAK - case 42: + case 41: YY_RULE_SETUP { return ES3_keyword(context, MATRIX2); } YY_BREAK - case 43: + case 42: YY_RULE_SETUP { return ES3_keyword(context, MATRIX3); } YY_BREAK - case 44: + case 43: YY_RULE_SETUP { return ES3_keyword(context, MATRIX4); } YY_BREAK - case 45: + case 44: YY_RULE_SETUP { return ES3_keyword(context, MATRIX2x3); } YY_BREAK - case 46: + case 45: YY_RULE_SETUP { return ES3_keyword(context, MATRIX3x2); } YY_BREAK - case 47: + case 46: YY_RULE_SETUP { return ES3_keyword(context, MATRIX2x4); } YY_BREAK - case 48: + case 47: YY_RULE_SETUP { return ES3_keyword(context, MATRIX4x2); } YY_BREAK - case 49: + case 48: YY_RULE_SETUP { return ES3_keyword(context, MATRIX3x4); } YY_BREAK - case 50: + case 49: YY_RULE_SETUP { return ES3_keyword(context, MATRIX4x3); } YY_BREAK - case 51: + case 50: YY_RULE_SETUP { return VEC2; } YY_BREAK - case 52: + case 51: YY_RULE_SETUP { return VEC3; } YY_BREAK - case 53: + case 52: YY_RULE_SETUP { return VEC4; } YY_BREAK - case 54: + case 53: YY_RULE_SETUP { return IVEC2; } YY_BREAK - case 55: + case 54: YY_RULE_SETUP { return IVEC3; } YY_BREAK - case 56: + case 55: YY_RULE_SETUP { return IVEC4; } YY_BREAK - case 57: + case 56: YY_RULE_SETUP { return BVEC2; } YY_BREAK - case 58: + case 57: YY_RULE_SETUP { return BVEC3; } YY_BREAK - case 59: + case 58: YY_RULE_SETUP { return BVEC4; } YY_BREAK - case 60: + case 59: YY_RULE_SETUP { return ES3_keyword(context, UVEC2); } YY_BREAK - case 61: + case 60: YY_RULE_SETUP { return ES3_keyword(context, UVEC3); } YY_BREAK - case 62: + case 61: YY_RULE_SETUP { return ES3_keyword(context, UVEC4); } YY_BREAK - case 63: + case 62: YY_RULE_SETUP { return SAMPLER2D; } YY_BREAK - case 64: + case 63: YY_RULE_SETUP { return SAMPLERCUBE; } YY_BREAK - case 65: + case 64: YY_RULE_SETUP { return SAMPLER_EXTERNAL_OES; } YY_BREAK - case 66: + case 65: YY_RULE_SETUP { return ES2_reserved_ES2_extension_ES3_keyword( context, TExtension::OES_texture_3D, SAMPLER3D); } YY_BREAK - case 67: + case 66: YY_RULE_SETUP { return ES2_reserved_ES3_keyword(context, SAMPLER3DRECT); } YY_BREAK - case 68: + case 67: YY_RULE_SETUP { return SAMPLER2DRECT; } YY_BREAK - case 69: + case 68: YY_RULE_SETUP { return ES3_keyword(context, SAMPLER2DARRAY); } YY_BREAK - case 70: + case 69: YY_RULE_SETUP { return ES3_reserved_ES3_extension_ES3_1_keyword( context, TExtension::ANGLE_texture_multisample, SAMPLER2DMS); } YY_BREAK - case 71: + case 70: YY_RULE_SETUP { return ES3_keyword(context, ISAMPLER2D); } YY_BREAK - case 72: + case 71: YY_RULE_SETUP { return ES3_keyword(context, ISAMPLER3D); } YY_BREAK - case 73: + case 72: YY_RULE_SETUP { return ES3_keyword(context, ISAMPLERCUBE); } YY_BREAK - case 74: + case 73: YY_RULE_SETUP { return ES3_keyword(context, ISAMPLER2DARRAY); } YY_BREAK - case 75: + case 74: YY_RULE_SETUP { return ES3_reserved_ES3_extension_ES3_1_keyword( context, TExtension::ANGLE_texture_multisample, ISAMPLER2DMS); } YY_BREAK - case 76: + case 75: YY_RULE_SETUP { return ES3_keyword(context, USAMPLER2D); } YY_BREAK - case 77: + case 76: YY_RULE_SETUP { return ES3_keyword(context, USAMPLER3D); } YY_BREAK - case 78: + case 77: YY_RULE_SETUP { return ES3_keyword(context, USAMPLERCUBE); } YY_BREAK - case 79: + case 78: YY_RULE_SETUP { return ES3_keyword(context, USAMPLER2DARRAY); } YY_BREAK - case 80: + case 79: YY_RULE_SETUP { return ES3_reserved_ES3_extension_ES3_1_keyword( context, TExtension::ANGLE_texture_multisample, USAMPLER2DMS); } YY_BREAK - case 81: + case 80: YY_RULE_SETUP { return ES2_reserved_ES2_extension_ES3_keyword( context, TExtension::EXT_shadow_samplers, SAMPLER2DSHADOW); } YY_BREAK - case 82: + case 81: YY_RULE_SETUP { return ES3_keyword(context, SAMPLERCUBESHADOW); } YY_BREAK - case 83: + case 82: YY_RULE_SETUP { return ES3_keyword(context, SAMPLER2DARRAYSHADOW); } YY_BREAK - case 84: + case 83: YY_RULE_SETUP { return ES3_extension(context, TExtension::EXT_YUV_target, SAMPLEREXTERNAL2DY2YEXT); } YY_BREAK - case 85: + case 84: YY_RULE_SETUP { return ES3_reserved_ES3_1_extension_ES3_2_keyword( @@ -1601,7 +1590,7 @@ YY_DECL SAMPLER2DMSARRAY); } YY_BREAK - case 86: + case 85: YY_RULE_SETUP { return ES3_reserved_ES3_1_extension_ES3_2_keyword( @@ -1609,7 +1598,7 @@ YY_DECL ISAMPLER2DMSARRAY); } YY_BREAK - case 87: + case 86: YY_RULE_SETUP { return ES3_reserved_ES3_1_extension_ES3_2_keyword( @@ -1617,7 +1606,7 @@ YY_DECL USAMPLER2DMSARRAY); } YY_BREAK - case 88: + case 87: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1626,7 +1615,7 @@ YY_DECL SAMPLERCUBEARRAYEXT); } YY_BREAK - case 89: + case 88: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1634,7 +1623,7 @@ YY_DECL SAMPLERBUFFER, SAMPLERBUFFER); } YY_BREAK - case 90: + case 89: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1643,7 +1632,7 @@ YY_DECL SAMPLERCUBEARRAYSHADOWEXT); } YY_BREAK - case 91: + case 90: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1652,7 +1641,7 @@ YY_DECL ISAMPLERCUBEARRAYEXT); } YY_BREAK - case 92: + case 91: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1660,7 +1649,7 @@ YY_DECL ISAMPLERBUFFER, ISAMPLERBUFFER); } YY_BREAK - case 93: + case 92: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1669,7 +1658,7 @@ YY_DECL USAMPLERCUBEARRAYEXT); } YY_BREAK - case 94: + case 93: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1677,30 +1666,28 @@ YY_DECL USAMPLERBUFFER, USAMPLERBUFFER); } YY_BREAK - case 95: + case 94: YY_RULE_SETUP { return WEBGL_video_texture_extension(context, SAMPLERVIDEOWEBGL); } YY_BREAK - case 96: + case 95: YY_RULE_SETUP { return STRUCT; } YY_BREAK - case 97: - YY_RULE_SETUP - { - return ES2_extension_2_ES3_keyword( - context, TExtension::EXT_shader_framebuffer_fetch, - TExtension::EXT_shader_framebuffer_fetch_non_coherent, LAYOUT); - } + case 96: + YY_RULE_SETUP { return ES3_keyword(context, LAYOUT); } YY_BREAK - case 98: + case 97: YY_RULE_SETUP { return ES3_extension(context, TExtension::EXT_YUV_target, YUVCSCSTANDARDEXT); } YY_BREAK + case 98: + YY_RULE_SETUP { return yuvcscstandardext_constant(context); } + YY_BREAK case 99: YY_RULE_SETUP { return yuvcscstandardext_constant(context); } YY_BREAK @@ -1708,45 +1695,42 @@ YY_DECL YY_RULE_SETUP { return yuvcscstandardext_constant(context); } YY_BREAK case 101: - YY_RULE_SETUP { return yuvcscstandardext_constant(context); } - YY_BREAK - case 102: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IMAGE2D); } YY_BREAK - case 103: + case 102: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IIMAGE2D); } YY_BREAK - case 104: + case 103: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, UIMAGE2D); } YY_BREAK - case 105: + case 104: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IMAGE2DARRAY); } YY_BREAK - case 106: + case 105: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IIMAGE2DARRAY); } YY_BREAK - case 107: + case 106: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, UIMAGE2DARRAY); } YY_BREAK - case 108: + case 107: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IMAGE3D); } YY_BREAK - case 109: + case 108: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, UIMAGE3D); } YY_BREAK - case 110: + case 109: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IIMAGE3D); } YY_BREAK - case 111: + case 110: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IIMAGECUBE); } YY_BREAK - case 112: + case 111: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, UIMAGECUBE); } YY_BREAK - case 113: + case 112: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, IMAGECUBE); } YY_BREAK - case 114: + case 113: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1755,7 +1739,7 @@ YY_DECL IMAGECUBEARRAYEXT); } YY_BREAK - case 115: + case 114: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1764,7 +1748,7 @@ YY_DECL IIMAGECUBEARRAYEXT); } YY_BREAK - case 116: + case 115: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1773,7 +1757,7 @@ YY_DECL UIMAGECUBEARRAYEXT); } YY_BREAK - case 117: + case 116: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1781,7 +1765,7 @@ YY_DECL IMAGEBUFFER, IMAGEBUFFER); } YY_BREAK - case 118: + case 117: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1789,7 +1773,7 @@ YY_DECL IIMAGEBUFFER, IIMAGEBUFFER); } YY_BREAK - case 119: + case 118: YY_RULE_SETUP { return ES3_and_3_1_reserved_ES3_1_extension_ES3_2_keyword_2( @@ -1797,32 +1781,32 @@ YY_DECL UIMAGEBUFFER, UIMAGEBUFFER); } YY_BREAK - case 120: + case 119: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, READONLY); } YY_BREAK - case 121: + case 120: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, WRITEONLY); } YY_BREAK - case 122: + case 121: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, COHERENT); } YY_BREAK - case 123: + case 122: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, RESTRICT); } YY_BREAK - case 124: + case 123: YY_RULE_SETUP { return ES2_reserved_ES3_1_keyword(context, VOLATILE); } YY_BREAK - case 125: + case 124: YY_RULE_SETUP { return ES3_reserved_ES3_1_keyword(context, ATOMICUINT); } YY_BREAK - case 126: + case 125: YY_RULE_SETUP { return ES3_reserved_ES3_extension_ES3_2_keyword( context, TExtension::OES_shader_multisample_interpolation, SAMPLE); } YY_BREAK - case 127: + case 126: YY_RULE_SETUP { return ES3_1_reserved_ES3_1_extension_ES3_2_keyword( @@ -1830,6 +1814,7 @@ YY_DECL } YY_BREAK /* Reserved keywords for GLSL ES 3.00 that are not reserved for GLSL ES 1.00 */ + case 127: case 128: case 129: case 130: @@ -3458,29 +3443,6 @@ int WEBGL_video_texture_extension(TParseContext *context, int token) return check_type(yyscanner); } -int ES2_extension_2_ES3_keyword(TParseContext *context, - TExtension extension1, - TExtension extension2, - int token) -{ - struct yyguts_t *yyg = (struct yyguts_t *)context->getScanner(); - yyscan_t yyscanner = (yyscan_t)context->getScanner(); - - // A keyword in GLSL ES 3.00 or GLSL ES 1.00 with enabled extension. - if (is_extension_enabled_or_is_core(context, 100, extension1, 300)) - { - return token; - } - else if (is_extension_enabled_or_is_core(context, 100, extension2, 300)) - { - return token; - } - - // not a reserved word in GLSL ES 1.00, so could be used as an identifier/type name - yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); - return check_type(yyscanner); -} - int ES2_reserved_ES2_extension_ES3_keyword(TParseContext *context, TExtension extension, int token) { yyscan_t yyscanner = (yyscan_t)context->getScanner(); diff --git a/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.cpp b/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.cpp index f6c2ef65bf0b..130b98a71dcf 100644 --- a/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.cpp +++ b/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.cpp @@ -198,130 +198,129 @@ enum yytokentype FLAT = 310, SMOOTH = 311, NOPERSPECTIVE = 312, - PATCH = 313, - READONLY = 314, - WRITEONLY = 315, - COHERENT = 316, - RESTRICT = 317, - VOLATILE = 318, - SHARED = 319, - STRUCT = 320, - VOID_TYPE = 321, - WHILE = 322, - SAMPLER2D = 323, - SAMPLERCUBE = 324, - SAMPLER_EXTERNAL_OES = 325, - SAMPLER2DRECT = 326, - SAMPLER2DARRAY = 327, - ISAMPLER2D = 328, - ISAMPLER3D = 329, - ISAMPLERCUBE = 330, - ISAMPLER2DARRAY = 331, - USAMPLER2D = 332, - USAMPLER3D = 333, - USAMPLERCUBE = 334, - USAMPLER2DARRAY = 335, - SAMPLER2DMS = 336, - ISAMPLER2DMS = 337, - USAMPLER2DMS = 338, - SAMPLER2DMSARRAY = 339, - ISAMPLER2DMSARRAY = 340, - USAMPLER2DMSARRAY = 341, - SAMPLER3D = 342, - SAMPLER3DRECT = 343, - SAMPLER2DSHADOW = 344, - SAMPLERCUBESHADOW = 345, - SAMPLER2DARRAYSHADOW = 346, - SAMPLERVIDEOWEBGL = 347, - SAMPLERCUBEARRAYOES = 348, - SAMPLERCUBEARRAYSHADOWOES = 349, - ISAMPLERCUBEARRAYOES = 350, - USAMPLERCUBEARRAYOES = 351, - SAMPLERCUBEARRAYEXT = 352, - SAMPLERCUBEARRAYSHADOWEXT = 353, - ISAMPLERCUBEARRAYEXT = 354, - USAMPLERCUBEARRAYEXT = 355, - SAMPLERBUFFER = 356, - ISAMPLERBUFFER = 357, - USAMPLERBUFFER = 358, - SAMPLEREXTERNAL2DY2YEXT = 359, - IMAGE2D = 360, - IIMAGE2D = 361, - UIMAGE2D = 362, - IMAGE3D = 363, - IIMAGE3D = 364, - UIMAGE3D = 365, - IMAGE2DARRAY = 366, - IIMAGE2DARRAY = 367, - UIMAGE2DARRAY = 368, - IMAGECUBE = 369, - IIMAGECUBE = 370, - UIMAGECUBE = 371, - IMAGECUBEARRAYOES = 372, - IIMAGECUBEARRAYOES = 373, - UIMAGECUBEARRAYOES = 374, - IMAGECUBEARRAYEXT = 375, - IIMAGECUBEARRAYEXT = 376, - UIMAGECUBEARRAYEXT = 377, - IMAGEBUFFER = 378, - IIMAGEBUFFER = 379, - UIMAGEBUFFER = 380, - ATOMICUINT = 381, - LAYOUT = 382, - YUVCSCSTANDARDEXT = 383, - YUVCSCSTANDARDEXTCONSTANT = 384, - IDENTIFIER = 385, - TYPE_NAME = 386, - FLOATCONSTANT = 387, - INTCONSTANT = 388, - UINTCONSTANT = 389, - BOOLCONSTANT = 390, - FIELD_SELECTION = 391, - LEFT_OP = 392, - RIGHT_OP = 393, - INC_OP = 394, - DEC_OP = 395, - LE_OP = 396, - GE_OP = 397, - EQ_OP = 398, - NE_OP = 399, - AND_OP = 400, - OR_OP = 401, - XOR_OP = 402, - MUL_ASSIGN = 403, - DIV_ASSIGN = 404, - ADD_ASSIGN = 405, - MOD_ASSIGN = 406, - LEFT_ASSIGN = 407, - RIGHT_ASSIGN = 408, - AND_ASSIGN = 409, - XOR_ASSIGN = 410, - OR_ASSIGN = 411, - SUB_ASSIGN = 412, - LEFT_PAREN = 413, - RIGHT_PAREN = 414, - LEFT_BRACKET = 415, - RIGHT_BRACKET = 416, - LEFT_BRACE = 417, - RIGHT_BRACE = 418, - DOT = 419, - COMMA = 420, - COLON = 421, - EQUAL = 422, - SEMICOLON = 423, - BANG = 424, - DASH = 425, - TILDE = 426, - PLUS = 427, - STAR = 428, - SLASH = 429, - PERCENT = 430, - LEFT_ANGLE = 431, - RIGHT_ANGLE = 432, - VERTICAL_BAR = 433, - CARET = 434, - AMPERSAND = 435, - QUESTION = 436 + READONLY = 313, + WRITEONLY = 314, + COHERENT = 315, + RESTRICT = 316, + VOLATILE = 317, + SHARED = 318, + STRUCT = 319, + VOID_TYPE = 320, + WHILE = 321, + SAMPLER2D = 322, + SAMPLERCUBE = 323, + SAMPLER_EXTERNAL_OES = 324, + SAMPLER2DRECT = 325, + SAMPLER2DARRAY = 326, + ISAMPLER2D = 327, + ISAMPLER3D = 328, + ISAMPLERCUBE = 329, + ISAMPLER2DARRAY = 330, + USAMPLER2D = 331, + USAMPLER3D = 332, + USAMPLERCUBE = 333, + USAMPLER2DARRAY = 334, + SAMPLER2DMS = 335, + ISAMPLER2DMS = 336, + USAMPLER2DMS = 337, + SAMPLER2DMSARRAY = 338, + ISAMPLER2DMSARRAY = 339, + USAMPLER2DMSARRAY = 340, + SAMPLER3D = 341, + SAMPLER3DRECT = 342, + SAMPLER2DSHADOW = 343, + SAMPLERCUBESHADOW = 344, + SAMPLER2DARRAYSHADOW = 345, + SAMPLERVIDEOWEBGL = 346, + SAMPLERCUBEARRAYOES = 347, + SAMPLERCUBEARRAYSHADOWOES = 348, + ISAMPLERCUBEARRAYOES = 349, + USAMPLERCUBEARRAYOES = 350, + SAMPLERCUBEARRAYEXT = 351, + SAMPLERCUBEARRAYSHADOWEXT = 352, + ISAMPLERCUBEARRAYEXT = 353, + USAMPLERCUBEARRAYEXT = 354, + SAMPLERBUFFER = 355, + ISAMPLERBUFFER = 356, + USAMPLERBUFFER = 357, + SAMPLEREXTERNAL2DY2YEXT = 358, + IMAGE2D = 359, + IIMAGE2D = 360, + UIMAGE2D = 361, + IMAGE3D = 362, + IIMAGE3D = 363, + UIMAGE3D = 364, + IMAGE2DARRAY = 365, + IIMAGE2DARRAY = 366, + UIMAGE2DARRAY = 367, + IMAGECUBE = 368, + IIMAGECUBE = 369, + UIMAGECUBE = 370, + IMAGECUBEARRAYOES = 371, + IIMAGECUBEARRAYOES = 372, + UIMAGECUBEARRAYOES = 373, + IMAGECUBEARRAYEXT = 374, + IIMAGECUBEARRAYEXT = 375, + UIMAGECUBEARRAYEXT = 376, + IMAGEBUFFER = 377, + IIMAGEBUFFER = 378, + UIMAGEBUFFER = 379, + ATOMICUINT = 380, + LAYOUT = 381, + YUVCSCSTANDARDEXT = 382, + YUVCSCSTANDARDEXTCONSTANT = 383, + IDENTIFIER = 384, + TYPE_NAME = 385, + FLOATCONSTANT = 386, + INTCONSTANT = 387, + UINTCONSTANT = 388, + BOOLCONSTANT = 389, + FIELD_SELECTION = 390, + LEFT_OP = 391, + RIGHT_OP = 392, + INC_OP = 393, + DEC_OP = 394, + LE_OP = 395, + GE_OP = 396, + EQ_OP = 397, + NE_OP = 398, + AND_OP = 399, + OR_OP = 400, + XOR_OP = 401, + MUL_ASSIGN = 402, + DIV_ASSIGN = 403, + ADD_ASSIGN = 404, + MOD_ASSIGN = 405, + LEFT_ASSIGN = 406, + RIGHT_ASSIGN = 407, + AND_ASSIGN = 408, + XOR_ASSIGN = 409, + OR_ASSIGN = 410, + SUB_ASSIGN = 411, + LEFT_PAREN = 412, + RIGHT_PAREN = 413, + LEFT_BRACKET = 414, + RIGHT_BRACKET = 415, + LEFT_BRACE = 416, + RIGHT_BRACE = 417, + DOT = 418, + COMMA = 419, + COLON = 420, + EQUAL = 421, + SEMICOLON = 422, + BANG = 423, + DASH = 424, + TILDE = 425, + PLUS = 426, + STAR = 427, + SLASH = 428, + PERCENT = 429, + LEFT_ANGLE = 430, + RIGHT_ANGLE = 431, + VERTICAL_BAR = 432, + CARET = 433, + AMPERSAND = 434, + QUESTION = 435 }; # endif @@ -461,13 +460,13 @@ extern void yyerror(YYLTYPE *yylloc, TParseContext *context, void *scanner, cons } \ } while (0) -#define ES3_1_OR_NEWER(TOKEN, LINE, REASON) \ - do \ - { \ - if (context->getShaderVersion() < 310) \ - { \ - context->error(LINE, REASON " supported in GLSL ES 3.10 and above only", TOKEN); \ - } \ +#define ES3_1_ONLY(TOKEN, LINE, REASON) \ + do \ + { \ + if (context->getShaderVersion() != 310) \ + { \ + context->error(LINE, REASON " supported in GLSL ES 3.10 only", TOKEN); \ + } \ } while (0) #ifdef short @@ -694,21 +693,21 @@ union yyalloc #endif /* !YYCOPY_NEEDED */ /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 164 +#define YYFINAL 163 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 3500 +#define YYLAST 3479 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 182 +#define YYNTOKENS 181 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 96 /* YYNRULES -- Number of rules. */ -#define YYNRULES 326 +#define YYNRULES 325 /* YYNSTATES -- Number of states. */ -#define YYNSTATES 450 +#define YYNSTATES 451 #define YYUNDEFTOK 2 -#define YYMAXUTOK 436 +#define YYMAXUTOK 435 /* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM as returned by yylex, with out-of-bounds checking. */ @@ -739,7 +738,7 @@ static const yytype_uint8 yytranslate[] = { 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, - 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181}; + 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180}; #if YYDEBUG /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ @@ -752,19 +751,19 @@ static const yytype_uint16 yyrline[] = { 557, 561, 565, 569, 573, 580, 583, 589, 596, 603, 606, 609, 613, 617, 621, 625, 629, 636, 643, 646, 653, 661, 678, 688, 691, 697, 701, 705, 709, 716, 723, 726, 730, 734, 739, 746, 750, 754, 758, 763, 770, 774, 780, 783, 786, 796, 800, 807, - 813, 819, 823, 827, 830, 833, 837, 845, 850, 854, 857, 860, 863, 866, 870, 878, - 881, 885, 888, 891, 894, 897, 900, 904, 911, 918, 921, 924, 930, 937, 940, 946, - 949, 952, 955, 961, 964, 971, 976, 983, 988, 999, 1002, 1005, 1008, 1011, 1014, 1018, - 1022, 1026, 1030, 1034, 1038, 1042, 1046, 1050, 1054, 1058, 1062, 1066, 1070, 1074, 1078, 1082, - 1086, 1090, 1094, 1098, 1105, 1108, 1111, 1114, 1117, 1120, 1123, 1131, 1139, 1149, 1152, 1155, - 1158, 1161, 1164, 1167, 1175, 1183, 1193, 1196, 1199, 1202, 1205, 1208, 1211, 1219, 1227, 1237, - 1240, 1243, 1246, 1254, 1262, 1269, 1279, 1286, 1293, 1296, 1299, 1302, 1305, 1308, 1311, 1314, - 1317, 1320, 1323, 1326, 1329, 1337, 1345, 1353, 1361, 1369, 1377, 1387, 1397, 1407, 1410, 1413, - 1421, 1421, 1424, 1424, 1430, 1433, 1439, 1442, 1449, 1453, 1459, 1462, 1468, 1472, 1476, 1477, - 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1493, 1497, 1497, 1497, 1504, 1505, 1509, 1509, 1510, - 1510, 1515, 1519, 1526, 1530, 1537, 1538, 1542, 1548, 1552, 1561, 1561, 1568, 1571, 1577, 1581, - 1587, 1587, 1592, 1592, 1596, 1596, 1604, 1607, 1613, 1616, 1622, 1626, 1633, 1636, 1639, 1642, - 1645, 1653, 1659, 1665, 1668, 1674, 1674}; + 813, 819, 823, 827, 830, 833, 837, 845, 850, 854, 857, 860, 863, 866, 870, 873, + 877, 880, 883, 886, 889, 892, 896, 903, 910, 913, 916, 922, 929, 932, 938, 941, + 944, 947, 953, 956, 963, 968, 975, 980, 991, 994, 997, 1000, 1003, 1006, 1010, 1014, + 1018, 1022, 1026, 1030, 1034, 1038, 1042, 1046, 1050, 1054, 1058, 1062, 1066, 1070, 1074, 1078, + 1082, 1086, 1090, 1097, 1100, 1103, 1106, 1109, 1112, 1115, 1123, 1131, 1141, 1144, 1147, 1150, + 1153, 1156, 1159, 1167, 1175, 1185, 1188, 1191, 1194, 1197, 1200, 1203, 1211, 1219, 1229, 1232, + 1235, 1238, 1246, 1254, 1261, 1271, 1278, 1285, 1288, 1291, 1294, 1297, 1300, 1303, 1306, 1309, + 1312, 1315, 1318, 1321, 1329, 1337, 1345, 1353, 1361, 1369, 1379, 1389, 1399, 1402, 1405, 1413, + 1413, 1416, 1416, 1422, 1425, 1431, 1434, 1441, 1445, 1451, 1454, 1460, 1464, 1468, 1469, 1475, + 1476, 1477, 1478, 1479, 1480, 1481, 1485, 1489, 1489, 1489, 1496, 1497, 1501, 1501, 1502, 1502, + 1507, 1511, 1518, 1522, 1529, 1530, 1534, 1540, 1544, 1553, 1553, 1560, 1563, 1569, 1573, 1579, + 1579, 1584, 1584, 1588, 1588, 1596, 1599, 1605, 1608, 1614, 1618, 1625, 1628, 1631, 1634, 1637, + 1645, 1651, 1657, 1660, 1666, 1666}; #endif #if YYDEBUG || YYERROR_VERBOSE || 0 @@ -828,7 +827,6 @@ static const char *const yytname[] = {"$end", "FLAT", "SMOOTH", "NOPERSPECTIVE", - "PATCH", "READONLY", "WRITEONLY", "COHERENT", @@ -1064,536 +1062,534 @@ static const yytype_uint16 yytoknum[] = { 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436}; + 426, 427, 428, 429, 430, 431, 432, 433, 434, 435}; #endif -#define YYPACT_NINF -393 +#define YYPACT_NINF -392 -#define yypact_value_is_default(Yystate) (!!((Yystate) == (-393))) +#define yypact_value_is_default(Yystate) (!!((Yystate) == (-392))) -#define YYTABLE_NINF -286 +#define YYTABLE_NINF -285 #define yytable_value_is_error(Yytable_value) 0 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ static const yytype_int16 yypact[] = { - 2998, -393, -393, -393, -393, -393, 135, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -108, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, - -63, -393, -393, -393, -56, -60, -31, 3127, -61, -393, -66, -393, 1585, -393, -393, -393, - -393, -393, -393, -393, -393, -46, -393, 2869, -393, -393, 3369, -393, -393, -393, -17, -47, - -393, -14, -393, 3127, -393, -393, -393, 3127, -9, -9, -393, 6, -119, -80, -393, 3127, - -393, -393, 1707, 5, -393, -393, -2, 3127, -393, -393, 1, -74, -393, 435, -393, -393, - -393, -393, -46, -98, -393, 2157, -87, -393, -393, 3127, -9, 2455, -393, -393, 11, -393, - -393, -393, -393, -393, 2157, 2157, 2157, -393, -393, -393, -393, -393, -393, -393, -111, -393, - -393, -393, 12, -73, 2305, 16, -393, 2157, -21, -132, -6, -116, -15, -8, -3, -1, - 25, 31, -125, -393, 18, -393, 1858, -393, 2593, 3127, 3, -393, -47, 13, 20, -393, - 22, 24, 32, 2009, 28, 2157, 35, 45, 44, -393, -393, 42, -393, -393, -57, -393, - -56, 48, -393, -393, -393, -393, 605, -393, -393, -393, -393, -393, -393, 5, 2157, -86, - -393, -393, 2157, -9, -46, -55, -393, -110, -393, -393, -393, -72, -393, -393, 2157, 3248, - -393, -393, 2157, 49, -393, -393, -393, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, - 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, 2157, -393, -393, 51, -393, 2731, - -393, -393, -393, -393, -393, 52, -393, 2157, -393, -393, -45, 2157, 47, -393, -393, -393, - 775, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, -393, 2157, 2157, -393, -393, - -393, -393, 2157, -393, -38, 5, -9, -393, -129, -393, -393, 54, 53, -393, 58, -393, - -393, -393, -393, -393, -21, -21, -132, -132, -6, -6, -6, -6, -116, -116, -15, -8, - -3, -1, 25, 31, -10, -393, -393, 143, -14, 1115, 1285, -69, -393, -62, -393, 1435, - 775, -393, -393, -393, -393, -393, -393, -123, -393, 2157, 61, -393, -393, -393, -393, 1435, - 52, -393, 53, -9, 3127, 62, 57, -393, -393, 2157, -393, 55, 63, 206, -393, 64, - 67, 945, -393, -59, 2157, 945, 52, -393, 2157, -393, -393, -393, 60, 53, -393, -393, - -393, -393}; + 2981, -392, -392, -392, -392, -392, 133, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -102, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -122, + -392, -392, -392, -103, -73, -138, 3109, -124, -392, -55, -392, 1578, -392, -392, -392, -392, + -392, -392, -392, -392, -62, -392, 2853, -392, -392, 3349, -392, -392, -392, -52, -48, -392, + -20, -392, 3109, -392, -392, -392, 3109, -16, -16, -392, -14, -127, -83, -392, 3109, -392, + -392, 1699, -12, -392, -392, -8, 3109, -392, -392, -1, -78, -392, 435, -392, -392, -392, + -392, -62, -113, -392, 2146, -97, -392, -392, 3109, -16, 2442, -392, -392, 13, -392, -392, + -392, -392, -392, 2146, 2146, 2146, -392, -392, -392, -392, -392, -392, -392, -72, -392, -392, + -392, 18, -69, 2293, 22, -392, 2146, -17, -38, -85, -121, -7, -4, 3, 8, 53, + 52, -120, -392, 39, -392, 1849, -392, 2579, 3109, 20, -392, -48, 33, 34, -392, 46, + 47, 38, 1999, 50, 2146, 44, 72, 68, -392, -392, 40, -392, -392, -47, -392, -103, + 76, -392, -392, -392, -392, 604, -392, -392, -392, -392, -392, -392, -12, 2146, -87, -392, + -392, 2146, -16, -62, -40, -392, -106, -392, -392, -392, -68, -392, -392, 2146, 3229, -392, + -392, 2146, 77, -392, -392, -392, 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, + 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, 2146, -392, -392, 74, -392, 2716, -392, + -392, -392, -392, -392, 75, -392, 2146, -392, -392, -39, 2146, 78, -392, -392, -392, 773, + -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, -392, 2146, 2146, -392, -392, -392, + -392, 2146, -392, -35, -12, -16, -392, -130, -392, -392, 80, 73, -392, 84, -392, -392, + -392, -392, -392, -17, -17, -38, -38, -85, -85, -85, -85, -121, -121, -7, -4, 3, + 8, 53, 52, -3, -392, -392, 176, -20, 1111, 1280, -66, -392, -64, -392, 1429, 773, + -392, -392, -392, -392, -392, 2146, -392, -392, 2146, 87, -392, -392, -392, -392, 1429, 75, + -392, 73, -16, 3109, 88, 83, 91, -392, 2146, -392, 81, 89, 234, -392, 92, 90, + 942, -392, 93, -54, 2146, 942, 75, -392, 2146, -392, -392, -392, -392, 95, 73, -392, + -392, -392, -392}; /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. Performed when YYTABLE does not specify something else to do. Zero means the default is an error. */ static const yytype_uint16 yydefact[] = { - 0, 127, 128, 153, 154, 155, 0, 135, 137, 173, 170, 171, 172, 177, 178, 179, 180, 181, 182, - 174, 175, 176, 183, 184, 185, 186, 187, 188, 138, 139, 140, 143, 144, 136, 189, 190, 191, 192, - 193, 194, 151, 141, 123, 122, 124, 142, 145, 146, 147, 148, 149, 150, 0, 169, 196, 198, 229, - 231, 199, 205, 206, 207, 208, 214, 215, 216, 217, 200, 209, 218, 201, 210, 219, 197, 223, 224, - 225, 228, 202, 226, 211, 220, 203, 227, 212, 221, 204, 213, 222, 230, 232, 233, 234, 235, 236, - 237, 238, 239, 240, 241, 242, 243, 244, 246, 248, 245, 247, 249, 250, 251, 252, 253, 0, 195, - 255, 324, 325, 0, 99, 98, 0, 110, 115, 132, 0, 133, 134, 125, 129, 120, 131, 130, 152, - 163, 254, 0, 321, 323, 0, 2, 3, 258, 0, 0, 89, 0, 97, 0, 106, 100, 108, 0, - 109, 0, 90, 2, 116, 0, 95, 0, 126, 121, 0, 164, 1, 322, 0, 0, 256, 162, 159, - 0, 157, 0, 326, 101, 105, 107, 103, 111, 102, 0, 117, 88, 96, 0, 0, 0, 260, 10, - 4, 8, 6, 7, 9, 31, 0, 0, 0, 165, 38, 37, 39, 36, 5, 12, 32, 14, 19, - 20, 0, 0, 25, 0, 40, 0, 44, 47, 50, 55, 58, 60, 62, 64, 66, 68, 70, 87, - 0, 29, 0, 91, 0, 0, 0, 156, 0, 0, 0, 306, 0, 0, 0, 0, 0, 0, 0, - 0, 280, 289, 293, 40, 72, 85, 0, 269, 0, 152, 272, 291, 271, 270, 0, 273, 274, 275, - 276, 277, 278, 104, 0, 112, 268, 119, 0, 0, 266, 0, 264, 0, 261, 33, 34, 0, 16, - 17, 0, 0, 23, 22, 0, 169, 26, 28, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 166, 167, 0, 259, 0, 160, 161, 158, - 317, 316, 287, 308, 0, 320, 318, 0, 0, 0, 301, 304, 279, 0, 75, 76, 78, 77, 80, - 81, 82, 83, 84, 79, 74, 0, 0, 294, 290, 292, 114, 0, 118, 0, 267, 0, 262, 0, - 92, 11, 0, 18, 30, 15, 21, 27, 41, 42, 43, 46, 45, 48, 49, 53, 54, 51, 52, - 56, 57, 59, 61, 63, 65, 67, 69, 0, 168, 257, 0, 0, 0, 0, 0, 319, 0, 300, - 0, 281, 73, 86, 113, 263, 265, 93, 0, 13, 0, 0, 286, 288, 311, 310, 313, 287, 298, - 302, 0, 0, 0, 0, 94, 71, 0, 312, 0, 0, 297, 295, 0, 0, 0, 282, 0, 314, - 0, 287, 299, 0, 284, 305, 283, 0, 315, 309, 296, 303, 307}; + 0, 127, 128, 152, 153, 154, 0, 135, 137, 172, 169, 170, 171, 176, 177, 178, 179, 180, 181, + 173, 174, 175, 182, 183, 184, 185, 186, 187, 138, 139, 140, 142, 143, 136, 188, 189, 190, 191, + 192, 193, 150, 141, 123, 122, 124, 144, 145, 146, 147, 148, 149, 0, 168, 195, 197, 228, 230, + 198, 204, 205, 206, 207, 213, 214, 215, 216, 199, 208, 217, 200, 209, 218, 196, 222, 223, 224, + 227, 201, 225, 210, 219, 202, 226, 211, 220, 203, 212, 221, 229, 231, 232, 233, 234, 235, 236, + 237, 238, 239, 240, 241, 242, 243, 245, 247, 244, 246, 248, 249, 250, 251, 252, 0, 194, 254, + 323, 324, 0, 99, 98, 0, 110, 115, 132, 0, 133, 134, 125, 129, 120, 131, 130, 151, 162, + 253, 0, 320, 322, 0, 2, 3, 257, 0, 0, 89, 0, 97, 0, 106, 100, 108, 0, 109, + 0, 90, 2, 116, 0, 95, 0, 126, 121, 0, 163, 1, 321, 0, 0, 255, 161, 158, 0, + 156, 0, 325, 101, 105, 107, 103, 111, 102, 0, 117, 88, 96, 0, 0, 0, 259, 10, 4, + 8, 6, 7, 9, 31, 0, 0, 0, 164, 38, 37, 39, 36, 5, 12, 32, 14, 19, 20, + 0, 0, 25, 0, 40, 0, 44, 47, 50, 55, 58, 60, 62, 64, 66, 68, 70, 87, 0, + 29, 0, 91, 0, 0, 0, 155, 0, 0, 0, 305, 0, 0, 0, 0, 0, 0, 0, 0, + 279, 288, 292, 40, 72, 85, 0, 268, 0, 151, 271, 290, 270, 269, 0, 272, 273, 274, 275, + 276, 277, 104, 0, 112, 267, 119, 0, 0, 265, 0, 263, 0, 260, 33, 34, 0, 16, 17, + 0, 0, 23, 22, 0, 168, 26, 28, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 165, 166, 0, 258, 0, 159, 160, 157, 316, + 315, 286, 307, 0, 319, 317, 0, 0, 0, 300, 303, 278, 0, 75, 76, 78, 77, 80, 81, + 82, 83, 84, 79, 74, 0, 0, 293, 289, 291, 114, 0, 118, 0, 266, 0, 261, 0, 92, + 11, 0, 18, 30, 15, 21, 27, 41, 42, 43, 46, 45, 48, 49, 53, 54, 51, 52, 56, + 57, 59, 61, 63, 65, 67, 69, 0, 167, 256, 0, 0, 0, 0, 0, 318, 0, 299, 0, + 280, 73, 86, 113, 262, 264, 0, 93, 13, 0, 0, 285, 287, 310, 309, 312, 286, 297, 301, + 0, 0, 0, 0, 0, 71, 0, 311, 0, 0, 296, 294, 0, 0, 0, 281, 0, 0, 313, + 0, 286, 298, 0, 283, 304, 282, 94, 0, 314, 308, 295, 302, 306}; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -393, -51, -393, -393, -393, -393, -393, -393, -58, -393, -393, -393, -393, 43, -393, -141, - -140, -227, -144, -83, -79, -75, -70, -81, -77, -393, -151, -165, -393, -188, -179, -393, - 14, 15, -393, -393, -393, 87, 95, 92, -393, -393, -372, -393, -115, -393, -393, -118, - -393, -117, 239, -393, -393, 10, 0, -143, -393, -393, -393, -393, -149, -175, -28, -109, - -265, -139, -254, -374, -180, -393, -393, -185, -392, -393, -393, -142, -82, -138, -393, -393, - -393, -393, -393, -162, -393, -393, -393, -393, -393, -393, -393, -393, -393, 122, -393, -393}; + -392, -50, -392, -392, -392, -392, -392, -392, -32, -392, -392, -392, -392, -84, -392, -134, + -131, -196, -132, -49, -51, -46, -44, -43, -53, -392, -156, -170, -392, -159, -223, -392, + 14, 17, -392, -392, -392, 114, 121, 119, -392, -392, -365, -392, -110, -392, -392, -119, + -392, -116, 265, -392, -392, 37, 0, -133, -392, -392, -392, -392, -150, -174, 1, -81, + -260, -115, -250, -374, -157, -392, -392, -163, -391, -392, -392, -141, -56, -112, -392, -392, + -392, -392, -392, -129, -392, -392, -392, -392, -392, -392, -392, -392, -392, 146, -392, -392}; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 276, 204, 205, 206, 363, 207, 208, 209, 210, 211, 212, 213, 251, 215, 216, - 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 252, 253, 348, 254, 228, 159, - 255, 256, 117, 118, 119, 148, 149, 150, 120, 121, 122, 123, 124, 125, 126, 127, - 128, 129, 130, 131, 171, 172, 229, 163, 133, 134, 233, 167, 187, 188, 277, 278, - 273, 258, 259, 260, 261, 336, 422, 442, 391, 392, 393, 443, 262, 263, 264, 430, - 265, 431, 266, 421, 267, 399, 325, 394, 415, 427, 428, 268, 135, 136, 137, 145}; + -1, 275, 203, 204, 205, 362, 206, 207, 208, 209, 210, 211, 212, 250, 214, 215, + 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 251, 252, 347, 253, 227, 158, + 254, 255, 116, 117, 118, 147, 148, 149, 119, 120, 121, 122, 123, 124, 125, 126, + 127, 128, 129, 130, 170, 171, 228, 162, 132, 133, 232, 166, 186, 187, 276, 277, + 272, 257, 258, 259, 260, 335, 421, 442, 390, 391, 392, 443, 261, 262, 263, 429, + 264, 430, 265, 420, 266, 398, 324, 393, 414, 426, 427, 267, 134, 135, 136, 144}; /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule whose number is the opposite. If YYTABLE_NINF, syntax error. */ static const yytype_int16 yytable[] = { - 132, 142, 152, 174, 151, 353, 160, 161, 352, 355, 283, 227, 280, 182, 115, 116, 272, 169, 232, - 412, 360, 313, 139, 140, 429, 302, 303, 419, 284, 285, 152, 162, 151, 160, 152, 269, 271, 230, - 298, 406, 299, 162, 186, 419, 185, 423, 447, 292, 181, 286, 186, 317, 185, 287, 141, 330, 314, - 280, 361, 441, 304, 305, 162, 441, 155, 140, 332, 160, 275, 270, 186, 156, 185, 230, 230, 376, - 377, 378, 379, 227, 274, 354, 183, 170, 319, 235, 289, 362, 184, 403, 416, 236, 290, 349, 227, - 143, 349, 417, 364, 146, 444, 178, 179, 349, 153, 272, 349, 154, 349, 272, 358, 350, 144, 359, - 162, 186, 186, 185, 185, 132, 349, 139, 140, 396, 132, 368, 388, 358, 306, 307, 404, 300, 301, - 357, 147, 132, 320, 321, 166, 395, 3, 4, 5, 397, 280, 168, 352, 132, 173, 115, 116, 132, - 295, 296, 297, 349, 409, 372, 373, 132, 374, 375, 380, 381, 180, 230, 231, 132, 234, -30, 311, - 288, 308, 257, 293, 448, 309, 310, 312, 315, 326, 323, 327, 401, 402, 132, 331, 132, 324, 272, - 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 328, 333, 186, 334, 185, 214, -29, 335, -24, - 347, 410, 418, 389, 398, -285, 408, -31, 407, 349, 425, 434, 433, 437, 436, 438, 382, 248, 418, - 449, 367, 383, 386, 132, 132, 440, 384, 387, 435, 176, 281, 282, 385, 175, 177, 424, 138, 322, - 356, 445, 405, 411, 439, 446, 426, 400, 413, 414, 165, 294, 0, 0, 0, 257, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 214, 0, 272, 0, 0, 0, 0, 0, 0, 0, 0, 420, - 0, 0, 0, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 420, 0, 160, 161, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 132, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 369, 370, 371, 214, - 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 432, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 257, 0, 0, 0, 0, - 257, 257, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, - 0, 0, 132, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, - 257, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 237, 238, 239, 0, 240, 241, - 242, 243, 244, 245, 246, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 247, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, - 194, 195, 0, 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 198, 0, 0, 0, 248, 249, 0, 0, 0, 0, 250, 200, 201, 202, 203, - 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 237, 238, 239, 0, 240, 241, 242, - 243, 244, 245, 246, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, - 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 247, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, - 195, 0, 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 198, 0, 0, 0, 248, 351, 0, 0, 0, 0, 250, 200, 201, 202, 203, 1, - 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 237, 238, 239, 0, 240, 241, 242, 243, - 244, 245, 246, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 247, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, 195, - 0, 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 198, 0, 0, 0, 248, 0, 0, 0, 0, 0, 250, 200, 201, 202, 203, 1, 2, - 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 237, 238, 239, 0, 240, 241, 242, 243, 244, - 245, 246, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 247, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, - 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 198, 0, 0, 0, 173, 0, 0, 0, 0, 0, 250, 200, 201, 202, 203, 1, 2, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 237, 238, 239, 0, 240, 241, 242, 243, 244, 245, - 246, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 247, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, - 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, - 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, 0, - 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 200, 201, 202, 203, 1, 2, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, 0, 196, - 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 198, - 7, 8, 9, 10, 11, 12, 0, 0, 0, 250, 200, 201, 202, 203, 0, 0, 0, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, - 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 112, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, 0, 196, 197, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 198, 7, 8, - 9, 10, 11, 12, 0, 0, 0, 0, 200, 201, 202, 203, 0, 0, 0, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 0, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, - 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 0, 157, 114, 0, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, - 0, 0, 0, 0, 0, 158, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 0, 113, 189, 190, 114, 191, 192, 193, 194, - 195, 0, 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 198, 0, 0, 199, 9, 10, 11, 12, 0, 0, 0, 200, 201, 202, 203, 0, - 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, - 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 0, 113, 189, 190, 114, 191, 192, 193, 194, 195, - 0, 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 198, 0, 0, 316, 9, 10, 11, 12, 0, 0, 0, 200, 201, 202, 203, 0, 0, - 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, - 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 0, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, - 0, 196, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 198, 9, 10, 11, 12, 0, 0, 0, 0, 0, 329, 200, 201, 202, 203, 0, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, - 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, - 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, - 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 0, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, 0, 196, 197, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 9, 10, - 11, 12, 0, 0, 0, 0, 0, 0, 200, 201, 202, 203, 0, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, - 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 291, 0, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 0, 113, 189, 190, 114, 191, 192, 193, 194, 195, 0, 0, 196, 197, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 198, 7, 8, 9, 10, 11, 12, - 0, 0, 0, 0, 200, 201, 202, 203, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, - 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 0, 54, 55, 56, 57, - 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, - 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 0, 7, - 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, - 109, 110, 111, 112, 113, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, - 3, 4, 5, 0, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 318, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 0, 0, 114, 0, 0, 0, 0, 0, 0, - 164, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 390, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 0, 0, 114, 1, - 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 0, 0, 114, 1, 2, 3, 4, 5, - 0, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, - 107, 108, 109, 110, 111, 112, 113, 0, 0, 114, 9, 10, 11, 12, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 52, 53, 0, 54, 55, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 0, 113, 0, 365, 114, 9, 10, - 11, 12, 366, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, - 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, - 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 53, 0, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 0, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, - 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 0, 113, 0, 0, 114}; + 131, 141, 151, 173, 159, 226, 316, 160, 150, 352, 271, 351, 279, 354, 114, 168, 231, 115, 411, + 301, 302, 331, 181, 359, 428, 312, 146, 138, 139, 405, 151, 159, 161, 418, 151, 142, 150, 406, + 282, 180, 152, 291, 185, 153, 268, 270, 161, 448, 184, 418, 185, 299, 300, 269, 303, 304, 184, + 279, 441, 140, 313, 360, 229, 441, 143, 159, 283, 284, 274, 273, 185, 155, 229, 226, 154, 139, + 184, 213, 182, 353, 234, 169, 318, 329, 183, 145, 235, 285, 226, 288, 361, 286, 415, 402, 416, + 289, 348, 161, 348, 271, 348, 177, 178, 271, 445, 375, 376, 377, 378, 167, 348, 280, 281, 138, + 139, 185, 185, 348, 131, 367, 349, 184, 184, 131, 357, 348, 363, 358, 395, 357, 293, 297, 403, + 298, 131, 305, 306, 165, 3, 4, 5, 172, 356, 179, 279, 213, 131, 229, 114, 351, 131, 115, + 319, 320, 387, 294, 295, 296, 131, 230, 213, 348, 408, 371, 372, 233, 131, 394, 373, 374, -30, + 396, 256, 379, 380, 307, 287, 400, 401, 292, 449, 308, 422, 271, 131, 309, 131, 336, 337, 338, + 339, 340, 341, 342, 343, 344, 345, 310, 311, 314, 322, 323, 185, 325, 326, 327, 346, 330, 184, + 332, 368, 369, 370, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, + 213, 333, 334, 131, 131, -29, 388, -24, -284, 348, 423, 417, 407, -31, 409, 397, 424, 433, 432, + 437, 436, 226, 410, 434, 438, 247, 366, 417, 440, 382, 381, 386, 444, 256, 450, 383, 175, 435, + 384, 174, 385, 176, 271, 137, 321, 439, 447, 355, 404, 446, 412, 399, 164, 413, 0, 0, 0, + 425, 0, 0, 419, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 159, 0, 0, 160, + 419, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 131, 0, 0, 213, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 431, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256, 256, 0, 0, 0, 0, 256, + 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256, 0, 0, 0, + 0, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256, 0, 0, 0, 0, + 256, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 236, 237, 238, 0, 239, 240, + 241, 242, 243, 244, 245, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 246, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 188, 189, 113, 190, 191, 192, 193, + 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 197, 0, 0, 0, 247, 248, 0, 0, 0, 0, 249, 199, 200, 201, 202, 1, + 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 236, 237, 238, 0, 239, 240, 241, 242, + 243, 244, 245, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 246, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, + 0, 195, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 197, 0, 0, 0, 247, 350, 0, 0, 0, 0, 249, 199, 200, 201, 202, 1, 2, 3, + 4, 5, 6, 7, 8, 9, 10, 11, 12, 236, 237, 238, 0, 239, 240, 241, 242, 243, 244, + 245, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 246, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, + 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, + 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, + 0, 0, 0, 247, 0, 0, 0, 0, 0, 249, 199, 200, 201, 202, 1, 2, 3, 4, 5, + 6, 7, 8, 9, 10, 11, 12, 236, 237, 238, 0, 239, 240, 241, 242, 243, 244, 245, 13, + 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 246, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, + 0, 172, 0, 0, 0, 0, 0, 249, 199, 200, 201, 202, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 236, 237, 238, 0, 239, 240, 241, 242, 243, 244, 245, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 246, + 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 249, 199, 200, 201, 202, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, + 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, + 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 197, 7, 8, 9, 10, 11, 12, + 0, 0, 0, 249, 199, 200, 201, 202, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, + 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 188, + 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 2, 3, 4, 5, 197, 7, 8, 9, 10, 11, 12, 0, 0, 0, + 0, 199, 200, 201, 202, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, + 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, + 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, + 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 0, 156, 113, 0, + 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 157, 34, 35, + 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 0, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 198, 9, 10, + 11, 12, 0, 0, 0, 199, 200, 201, 202, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, + 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, + 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 315, 9, 10, 11, 12, + 0, 0, 0, 199, 200, 201, 202, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, + 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, 54, 55, 56, 57, + 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, + 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, 112, 188, + 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 9, 10, 11, 12, 0, 0, 0, 0, 0, + 328, 199, 200, 201, 202, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, 112, 188, 189, 113, 190, 191, 192, + 193, 194, 0, 0, 195, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 197, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 199, 200, 201, 202, + 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, + 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 51, 290, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, + 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 0, 112, 188, 189, 113, 190, 191, 192, 193, 194, 0, 0, 195, + 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 197, + 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 199, 200, 201, 202, 0, 0, 0, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, + 3, 4, 5, 0, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 278, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 111, 112, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 2, 3, 4, 5, 0, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 317, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 0, 0, 113, 0, 0, 0, + 0, 0, 0, 163, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 389, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 0, 0, + 113, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 0, 0, 113, 1, 2, 3, 4, + 5, 0, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, + 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 106, 107, 108, 109, 110, 111, 112, 0, 0, 113, 9, 10, 11, 12, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, 39, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, + 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, 112, 0, 364, 113, 9, 10, 11, + 12, 365, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, 34, 35, 36, 37, 38, + 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 0, 53, 54, 55, 56, + 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 0, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 0, 112, + 0, 0, 113}; static const yytype_int16 yycheck[] = { - 0, 52, 119, 145, 119, 270, 124, 124, 262, 274, 198, 162, 187, 156, 0, 0, 181, 64, 167, - 393, 130, 146, 130, 131, 416, 141, 142, 399, 139, 140, 147, 160, 147, 151, 151, 178, 179, 160, - 170, 168, 172, 160, 159, 415, 159, 168, 438, 212, 167, 160, 167, 230, 167, 164, 162, 243, 181, - 232, 168, 433, 176, 177, 160, 437, 130, 131, 245, 185, 185, 167, 187, 122, 187, 160, 160, 302, - 303, 304, 305, 230, 167, 167, 162, 130, 233, 159, 159, 159, 168, 354, 159, 165, 165, 165, 245, - 158, 165, 159, 286, 159, 159, 152, 153, 165, 165, 270, 165, 168, 165, 274, 165, 168, 168, 168, - 160, 232, 233, 232, 233, 119, 165, 130, 131, 168, 124, 290, 314, 165, 143, 144, 168, 137, 138, - 276, 165, 135, 133, 134, 138, 327, 5, 6, 7, 331, 319, 162, 400, 147, 162, 135, 135, 151, - 173, 174, 175, 165, 166, 298, 299, 159, 300, 301, 306, 307, 158, 160, 168, 167, 167, 158, 145, - 159, 180, 173, 158, 440, 179, 178, 147, 161, 158, 168, 158, 348, 349, 185, 158, 187, 168, 354, - 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 168, 166, 319, 158, 319, 162, 158, 163, 159, - 167, 67, 399, 161, 166, 162, 161, 158, 360, 165, 158, 163, 159, 159, 168, 18, 308, 162, 415, - 168, 287, 309, 312, 232, 233, 167, 310, 313, 425, 151, 196, 197, 311, 147, 151, 409, 6, 236, - 275, 436, 358, 392, 431, 437, 415, 336, 394, 394, 135, 215, -1, -1, -1, 262, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 230, -1, 440, -1, -1, -1, -1, -1, -1, -1, -1, 399, - -1, -1, -1, 245, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 415, -1, 420, 420, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 336, -1, 295, 296, 297, 298, - 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 419, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 393, 394, -1, -1, -1, -1, - 399, 400, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 415, -1, -1, - -1, -1, 420, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 433, -1, -1, -1, + 0, 51, 118, 144, 123, 161, 229, 123, 118, 269, 180, 261, 186, 273, 0, 63, 166, 0, 392, + 140, 141, 244, 155, 129, 415, 145, 164, 129, 130, 159, 146, 150, 159, 398, 150, 157, 146, 167, + 197, 166, 164, 211, 158, 167, 177, 178, 159, 438, 158, 414, 166, 136, 137, 166, 175, 176, 166, + 231, 432, 161, 180, 167, 159, 437, 167, 184, 138, 139, 184, 166, 186, 121, 159, 229, 129, 130, + 186, 161, 161, 166, 158, 129, 232, 242, 167, 158, 164, 159, 244, 158, 158, 163, 158, 353, 158, + 164, 164, 159, 164, 269, 164, 151, 152, 273, 158, 301, 302, 303, 304, 161, 164, 195, 196, 129, + 130, 231, 232, 164, 118, 289, 167, 231, 232, 123, 164, 164, 285, 167, 167, 164, 214, 169, 167, + 171, 134, 142, 143, 137, 5, 6, 7, 161, 275, 157, 318, 229, 146, 159, 134, 399, 150, 134, + 132, 133, 313, 172, 173, 174, 158, 167, 244, 164, 165, 297, 298, 166, 166, 326, 299, 300, 157, + 330, 172, 305, 306, 179, 158, 347, 348, 157, 440, 178, 405, 353, 184, 177, 186, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 144, 146, 160, 167, 167, 318, 157, 157, 167, 166, 157, 318, + 165, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, + 312, 157, 162, 231, 232, 157, 160, 158, 161, 164, 408, 398, 160, 157, 66, 165, 157, 162, 158, + 158, 167, 405, 391, 160, 18, 161, 286, 414, 166, 308, 307, 312, 167, 261, 167, 309, 150, 424, + 310, 146, 311, 150, 440, 6, 235, 430, 437, 274, 357, 436, 393, 335, 134, 393, -1, -1, -1, + 414, -1, -1, 398, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 419, -1, -1, 419, + 414, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, -1, -1, 405, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 335, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 418, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 392, 393, -1, -1, -1, -1, 398, + 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 414, -1, -1, -1, + -1, 419, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 432, -1, -1, -1, -1, 437, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, + 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, - 135, 136, -1, -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 158, -1, -1, -1, 162, 163, -1, -1, -1, -1, 168, 169, 170, 171, 172, - 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, - 136, -1, -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 158, -1, -1, -1, 162, 163, -1, -1, -1, -1, 168, 169, 170, 171, 172, 3, + 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 157, -1, -1, -1, 161, 162, -1, -1, -1, -1, 167, 168, 169, 170, 171, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, + 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, - -1, -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 158, -1, -1, -1, 162, -1, -1, -1, -1, -1, 168, 169, 170, 171, 172, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, - -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 158, -1, -1, -1, 162, -1, -1, -1, -1, -1, 168, 169, 170, 171, 172, 3, 4, 5, + 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, + -1, 138, 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 157, -1, -1, -1, 161, 162, -1, -1, -1, -1, 167, 168, 169, 170, 171, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, -1, - 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 158, -1, -1, -1, -1, -1, -1, -1, -1, -1, 168, 169, 170, 171, 172, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, -1, 139, - 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 158, - 9, 10, 11, 12, 13, 14, -1, -1, -1, 168, 169, 170, 171, 172, -1, -1, -1, 26, 27, - 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, -1, 139, 140, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 158, 9, 10, - 11, 12, 13, 14, -1, -1, -1, -1, 169, 170, 171, 172, -1, -1, -1, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, -1, - 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, - 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, - 125, 126, 127, 128, -1, 130, 131, -1, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, - -1, -1, -1, -1, -1, 168, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, - 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, -1, 128, 129, 130, 131, 132, 133, 134, 135, - 136, -1, -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 158, -1, -1, 161, 11, 12, 13, 14, -1, -1, -1, 169, 170, 171, 172, -1, - -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, - -1, -1, -1, -1, -1, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 126, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, - -1, -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 158, -1, -1, 161, 11, 12, 13, 14, -1, -1, -1, 169, 170, 171, 172, -1, -1, - -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, - -1, -1, -1, -1, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 126, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, - -1, 139, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 158, 11, 12, 13, 14, -1, -1, -1, -1, -1, 168, 169, 170, 171, 172, -1, 26, 27, - 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, - 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 65, - 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, - 123, 124, 125, 126, -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, -1, 139, 140, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 158, 11, 12, - 13, 14, -1, -1, -1, -1, -1, -1, 169, 170, 171, 172, -1, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, - 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 65, 66, -1, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - -1, 128, 129, 130, 131, 132, 133, 134, 135, 136, -1, -1, 139, 140, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 158, 9, 10, 11, 12, 13, 14, - -1, -1, -1, -1, 169, 170, 171, 172, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, - 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - -1, -1, 131, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, -1, 9, - 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 163, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, - 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, - 124, 125, 126, 127, 128, -1, -1, 131, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, - 5, 6, 7, -1, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 163, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, - 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, -1, -1, 131, -1, -1, -1, -1, -1, -1, - 0, -1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 163, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, - 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, - 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, - 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, -1, -1, 131, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, - 61, 62, 63, 64, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, - 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, - 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, -1, -1, 131, 3, 4, 5, 6, 7, - -1, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, + 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, + 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, + -1, -1, -1, 161, -1, -1, -1, -1, -1, 167, 168, 169, 170, 171, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, - 122, 123, 124, 125, 126, 127, 128, -1, -1, 131, 11, 12, 13, 14, -1, -1, -1, -1, -1, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, -1, -1, + -1, 161, -1, -1, -1, -1, -1, 167, 168, 169, 170, 171, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, + 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, + 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 167, 168, 169, 170, 171, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, + 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, + 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 157, 9, 10, 11, 12, 13, 14, + -1, -1, -1, 167, 168, 169, 170, 171, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, + 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, + 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 3, 4, 5, 6, 7, 157, 9, 10, 11, 12, 13, 14, -1, -1, -1, + -1, 168, 169, 170, 171, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, + 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, + 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1, 129, 130, -1, + 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, 167, 47, 48, + 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, + 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, + -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, + 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, + 125, -1, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, -1, -1, 160, 11, 12, + 13, 14, -1, -1, -1, 168, 169, 170, 171, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, + 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, + 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, + 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, -1, -1, 160, 11, 12, 13, 14, + -1, -1, -1, 168, 169, 170, 171, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, + 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, 51, 52, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, + 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, 127, 128, + 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 157, 11, 12, 13, 14, -1, -1, -1, -1, -1, + 167, 168, 169, 170, 171, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, 127, 128, 129, 130, 131, 132, 133, + 134, 135, -1, -1, 138, 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 157, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, 168, 169, 170, 171, + -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, + -1, -1, -1, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, + 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, -1, 127, 128, 129, 130, 131, 132, 133, 134, 135, -1, -1, 138, + 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 157, + 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, 168, 169, 170, 171, -1, -1, -1, 26, 27, + 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, + -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, + 123, 124, 125, 126, 127, -1, -1, 130, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, + 5, 6, 7, -1, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 162, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, + 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, + 119, 120, 121, 122, 123, 124, 125, 126, 127, -1, -1, 130, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3, 4, 5, 6, 7, -1, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 162, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1, -1, 130, -1, -1, -1, + -1, -1, -1, 0, -1, -1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 162, 26, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, + 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, 72, + 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1, -1, + 130, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 62, 63, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, + 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, -1, -1, 130, 3, 4, 5, 6, + 7, -1, 9, 10, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, + 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, + 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, + 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, + 121, 122, 123, 124, 125, 126, 127, -1, -1, 130, 11, 12, 13, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, 51, 52, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 65, 66, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, 89, 90, 91, 92, 93, 94, 95, + -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, -1, 128, -1, 130, 131, 11, 12, - 13, 14, 136, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, - 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 65, 66, -1, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -1, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, - -1, 128, -1, -1, 131}; + 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, 127, -1, 129, 130, 11, 12, 13, + 14, 135, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, -1, -1, -1, -1, -1, -1, 47, 48, 49, 50, 51, + 52, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 64, 65, -1, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, -1, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, -1, 127, + -1, -1, 130}; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint16 yystos[] = { 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, - 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 89, 90, + 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, - 131, 214, 215, 216, 217, 218, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 236, - 238, 239, 274, 275, 276, 232, 130, 131, 162, 183, 158, 168, 277, 159, 165, 219, 220, 221, 226, - 231, 165, 168, 130, 183, 130, 168, 213, 229, 231, 160, 237, 0, 275, 236, 241, 162, 64, 130, - 234, 235, 162, 257, 220, 219, 221, 183, 183, 158, 167, 237, 162, 168, 226, 231, 242, 243, 129, - 130, 132, 133, 134, 135, 136, 139, 140, 158, 161, 169, 170, 171, 172, 184, 185, 186, 188, 189, - 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, - 212, 236, 160, 168, 242, 240, 167, 159, 165, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, - 67, 162, 163, 168, 195, 208, 209, 211, 214, 215, 236, 247, 248, 249, 250, 258, 259, 260, 262, - 264, 266, 273, 237, 167, 237, 209, 246, 167, 231, 183, 244, 245, 163, 243, 195, 195, 211, 139, - 140, 160, 164, 159, 159, 165, 66, 209, 158, 195, 173, 174, 175, 170, 172, 137, 138, 141, 142, - 176, 177, 143, 144, 180, 179, 178, 145, 147, 146, 181, 161, 161, 212, 163, 242, 133, 134, 235, - 168, 168, 268, 158, 158, 168, 168, 211, 158, 212, 166, 158, 163, 251, 148, 149, 150, 151, 152, - 153, 154, 155, 156, 157, 167, 210, 165, 168, 163, 248, 246, 167, 246, 244, 237, 165, 168, 130, - 168, 159, 187, 211, 130, 136, 190, 209, 195, 195, 195, 197, 197, 198, 198, 199, 199, 199, 199, - 200, 200, 201, 202, 203, 204, 205, 206, 211, 161, 163, 254, 255, 256, 269, 211, 168, 211, 166, - 267, 258, 209, 209, 246, 168, 245, 168, 237, 161, 166, 67, 257, 249, 247, 259, 270, 159, 159, - 211, 224, 226, 265, 252, 168, 209, 158, 265, 271, 272, 254, 261, 263, 183, 159, 163, 211, 168, - 159, 18, 250, 167, 249, 253, 257, 159, 211, 253, 254, 246, 168}; + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 130, + 213, 214, 215, 216, 217, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 235, 237, + 238, 273, 274, 275, 231, 129, 130, 161, 182, 157, 167, 276, 158, 164, 218, 219, 220, 225, 230, + 164, 167, 129, 182, 129, 167, 212, 228, 230, 159, 236, 0, 274, 235, 240, 161, 63, 129, 233, + 234, 161, 256, 219, 218, 220, 182, 182, 157, 166, 236, 161, 167, 225, 230, 241, 242, 128, 129, + 131, 132, 133, 134, 135, 138, 139, 157, 160, 168, 169, 170, 171, 183, 184, 185, 187, 188, 189, + 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 211, + 235, 159, 167, 241, 239, 166, 158, 164, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 66, + 161, 162, 167, 194, 207, 208, 210, 213, 214, 235, 246, 247, 248, 249, 257, 258, 259, 261, 263, + 265, 272, 236, 166, 236, 208, 245, 166, 230, 182, 243, 244, 162, 242, 194, 194, 210, 138, 139, + 159, 163, 158, 158, 164, 65, 208, 157, 194, 172, 173, 174, 169, 171, 136, 137, 140, 141, 175, + 176, 142, 143, 179, 178, 177, 144, 146, 145, 180, 160, 160, 211, 162, 241, 132, 133, 234, 167, + 167, 267, 157, 157, 167, 167, 210, 157, 211, 165, 157, 162, 250, 147, 148, 149, 150, 151, 152, + 153, 154, 155, 156, 166, 209, 164, 167, 162, 247, 245, 166, 245, 243, 236, 164, 167, 129, 167, + 158, 186, 210, 129, 135, 189, 208, 194, 194, 194, 196, 196, 197, 197, 198, 198, 198, 198, 199, + 199, 200, 201, 202, 203, 204, 205, 210, 160, 162, 253, 254, 255, 268, 210, 167, 210, 165, 266, + 257, 208, 208, 245, 167, 244, 159, 167, 160, 165, 66, 256, 248, 246, 258, 269, 158, 158, 210, + 223, 225, 264, 251, 211, 208, 157, 264, 270, 271, 253, 260, 262, 182, 158, 162, 160, 210, 167, + 158, 18, 249, 166, 248, 252, 256, 167, 158, 210, 252, 253, 245, 167}; /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint16 yyr1[] = { - 0, 182, 183, 183, 184, 185, 185, 185, 185, 185, 185, 185, 186, 186, 186, 186, 186, 186, 187, - 188, 189, 189, 190, 190, 191, 191, 192, 192, 193, 194, 194, 194, 195, 195, 195, 195, 196, 196, - 196, 196, 197, 197, 197, 197, 198, 198, 198, 199, 199, 199, 200, 200, 200, 200, 200, 201, 201, - 201, 202, 202, 203, 203, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 209, 209, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 211, 211, 212, 213, 214, 214, 214, 214, 214, 214, - 214, 214, 215, 216, 216, 217, 217, 218, 219, 219, 220, 220, 220, 220, 221, 222, 222, 222, 222, - 222, 223, 223, 223, 223, 223, 224, 224, 225, 225, 225, 226, 226, 227, 228, 229, 229, 229, 229, - 229, 229, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, 230, - 231, 232, 232, 232, 233, 234, 234, 235, 235, 235, 235, 236, 236, 237, 237, 237, 237, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 238, 238, 238, 240, 239, 241, 239, 242, 242, 243, 243, 244, 244, - 245, 245, 246, 247, 248, 248, 249, 249, 249, 249, 249, 249, 249, 250, 251, 252, 250, 253, 253, - 255, 254, 256, 254, 257, 257, 258, 258, 259, 259, 260, 261, 261, 263, 262, 264, 264, 265, 265, - 267, 266, 268, 266, 269, 266, 270, 270, 271, 271, 272, 272, 273, 273, 273, 273, 273, 274, 274, - 275, 275, 277, 276}; + 0, 181, 182, 182, 183, 184, 184, 184, 184, 184, 184, 184, 185, 185, 185, 185, 185, 185, 186, + 187, 188, 188, 189, 189, 190, 190, 191, 191, 192, 193, 193, 193, 194, 194, 194, 194, 195, 195, + 195, 195, 196, 196, 196, 196, 197, 197, 197, 198, 198, 198, 199, 199, 199, 199, 199, 200, 200, + 200, 201, 201, 202, 202, 203, 203, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 209, 209, + 209, 209, 209, 209, 209, 209, 209, 209, 209, 210, 210, 211, 212, 213, 213, 213, 213, 213, 213, + 213, 213, 214, 215, 215, 216, 216, 217, 218, 218, 219, 219, 219, 219, 220, 221, 221, 221, 221, + 221, 222, 222, 222, 222, 222, 223, 223, 224, 224, 224, 225, 225, 226, 227, 228, 228, 228, 228, + 228, 228, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 230, + 231, 231, 231, 232, 233, 233, 234, 234, 234, 234, 235, 235, 236, 236, 236, 236, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, 237, + 237, 237, 237, 237, 237, 237, 237, 237, 239, 238, 240, 238, 241, 241, 242, 242, 243, 243, 244, + 244, 245, 246, 247, 247, 248, 248, 248, 248, 248, 248, 248, 249, 250, 251, 249, 252, 252, 254, + 253, 255, 253, 256, 256, 257, 257, 258, 258, 259, 260, 260, 262, 261, 263, 263, 264, 264, 266, + 265, 267, 265, 268, 265, 269, 269, 270, 270, 271, 271, 272, 272, 272, 272, 272, 273, 273, 274, + 274, 276, 275}; /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 4, 1, 3, 2, 2, 1, 1, 1, 3, 2, 2, 2, 1, 2, 3, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 3, 3, 3, 1, 3, 3, 1, 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 5, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 2, - 2, 4, 5, 6, 7, 2, 3, 2, 1, 1, 2, 3, 3, 2, 3, 2, 1, 2, 1, 1, 1, 3, 4, 6, 5, 1, 2, 3, 5, 4, + 2, 4, 5, 6, 9, 2, 3, 2, 1, 1, 2, 3, 3, 2, 3, 2, 1, 2, 1, 1, 1, 3, 4, 6, 5, 1, 2, 3, 5, 4, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 4, 1, 3, 1, 3, 3, 1, 1, 2, 2, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 4, 1, 3, 1, 3, 3, 1, 1, 2, 2, 3, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 6, 0, 5, 1, 2, 3, 4, 1, 3, 1, 2, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 5, 1, 1, 0, 2, 0, 2, 2, 3, 1, 2, 1, 2, 5, 3, 1, 0, 6, - 3, 2, 1, 4, 0, 6, 0, 8, 0, 7, 1, 1, 1, 0, 2, 3, 2, 2, 2, 3, 2, 1, 2, 1, 1, 0, 3}; + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 6, 0, 5, 1, 2, 3, 4, 1, 3, 1, 2, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 5, 1, 1, 0, 2, 0, 2, 2, 3, 1, 2, 1, 2, 5, 3, 1, 0, 6, 3, + 2, 1, 4, 0, 6, 0, 8, 0, 7, 1, 1, 1, 0, 2, 3, 2, 2, 2, 3, 2, 1, 2, 1, 1, 0, 3}; #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) @@ -3192,12 +3188,12 @@ yyreduce: case 94: { - ES3_OR_NEWER(ImmutableString((yyvsp[-5].lex).string), (yylsp[-6]), "interface blocks"); + ES3_OR_NEWER(ImmutableString((yyvsp[-7].lex).string), (yylsp[-8]), "interface blocks"); (yyval.interm.intermNode) = context->addInterfaceBlock( - *(yyvsp[-6].interm.typeQualifierBuilder), (yylsp[-5]), - ImmutableString((yyvsp[-5].lex).string), (yyvsp[-4].interm.fieldList), - ImmutableString((yyvsp[-2].lex).string), (yylsp[-2]), (yyvsp[-1].interm.arraySizes), - (yylsp[-1])); + *(yyvsp[-8].interm.typeQualifierBuilder), (yylsp[-7]), + ImmutableString((yyvsp[-7].lex).string), (yyvsp[-6].interm.fieldList), + ImmutableString((yyvsp[-4].lex).string), (yylsp[-4]), + (yyvsp[-2].interm.intermTypedNode), (yylsp[-3])); } break; @@ -3670,12 +3666,8 @@ yyreduce: case 142: { - if (context->getShaderVersion() < 320 && - !context->checkCanUseExtension((yylsp[0]), TExtension::EXT_tessellation_shader)) - { - context->error((yylsp[0]), "unsupported storage qualifier", "patch"); - } - (yyval.interm.qualifierWrapper) = new TStorageQualifierWrapper(EvqPatch, (yylsp[0])); + (yyval.interm.qualifierWrapper) = + context->parseGlobalStorageQualifier(EvqUniform, (yylsp[0])); } break; @@ -3683,8 +3675,9 @@ yyreduce: case 143: { + ES3_1_ONLY("buffer", (yylsp[0]), "storage qualifier"); (yyval.interm.qualifierWrapper) = - context->parseGlobalStorageQualifier(EvqUniform, (yylsp[0])); + context->parseGlobalStorageQualifier(EvqBuffer, (yylsp[0])); } break; @@ -3692,9 +3685,7 @@ yyreduce: case 144: { - ES3_1_OR_NEWER("buffer", (yylsp[0]), "storage qualifier"); - (yyval.interm.qualifierWrapper) = - context->parseGlobalStorageQualifier(EvqBuffer, (yylsp[0])); + (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqReadOnly, (yylsp[0])); } break; @@ -3702,7 +3693,7 @@ yyreduce: case 145: { - (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqReadOnly, (yylsp[0])); + (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqWriteOnly, (yylsp[0])); } break; @@ -3710,7 +3701,7 @@ yyreduce: case 146: { - (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqWriteOnly, (yylsp[0])); + (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqCoherent, (yylsp[0])); } break; @@ -3718,28 +3709,20 @@ yyreduce: case 147: { - (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqCoherent, (yylsp[0])); + (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqRestrict, (yylsp[0])); } break; case 148: - { - (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqRestrict, (yylsp[0])); - } - - break; - - case 149: - { (yyval.interm.qualifierWrapper) = new TMemoryQualifierWrapper(EvqVolatile, (yylsp[0])); } break; - case 150: + case 149: { COMPUTE_ONLY("shared", (yylsp[0])); @@ -3749,7 +3732,7 @@ yyreduce: break; - case 151: + case 150: { ES3_OR_NEWER("sample", (yylsp[0]), "storage qualifier"); @@ -3758,7 +3741,7 @@ yyreduce: break; - case 152: + case 151: { (yyval.interm.type) = (yyvsp[0].interm.type); @@ -3768,7 +3751,7 @@ yyreduce: break; - case 153: + case 152: { (yyval.interm.precision) = EbpHigh; @@ -3776,7 +3759,7 @@ yyreduce: break; - case 154: + case 153: { (yyval.interm.precision) = EbpMedium; @@ -3784,7 +3767,7 @@ yyreduce: break; - case 155: + case 154: { (yyval.interm.precision) = EbpLow; @@ -3792,16 +3775,16 @@ yyreduce: break; - case 156: + case 155: { - context->checkCanUseLayoutQualifier((yylsp[-3])); + ES3_OR_NEWER("layout", (yylsp[-3]), "qualifier"); (yyval.interm.layoutQualifier) = (yyvsp[-1].interm.layoutQualifier); } break; - case 157: + case 156: { (yyval.interm.layoutQualifier) = (yyvsp[0].interm.layoutQualifier); @@ -3809,7 +3792,7 @@ yyreduce: break; - case 158: + case 157: { (yyval.interm.layoutQualifier) = context->joinLayoutQualifiers( @@ -3818,7 +3801,7 @@ yyreduce: break; - case 159: + case 158: { (yyval.interm.layoutQualifier) = @@ -3827,6 +3810,15 @@ yyreduce: break; + case 159: + + { + (yyval.interm.layoutQualifier) = context->parseLayoutQualifier( + ImmutableString((yyvsp[-2].lex).string), (yylsp[-2]), (yyvsp[0].lex).i, (yylsp[0])); + } + + break; + case 160: { @@ -3838,15 +3830,6 @@ yyreduce: case 161: - { - (yyval.interm.layoutQualifier) = context->parseLayoutQualifier( - ImmutableString((yyvsp[-2].lex).string), (yylsp[-2]), (yyvsp[0].lex).i, (yylsp[0])); - } - - break; - - case 162: - { (yyval.interm.layoutQualifier) = context->parseLayoutQualifier(ImmutableString("shared"), (yylsp[0])); @@ -3854,7 +3837,7 @@ yyreduce: break; - case 163: + case 162: { (yyval.interm.type) @@ -3864,7 +3847,7 @@ yyreduce: break; - case 164: + case 163: { (yyval.interm.type) @@ -3875,7 +3858,7 @@ yyreduce: break; - case 165: + case 164: { ES3_OR_NEWER("[]", (yylsp[-1]), "implicitly sized array"); @@ -3885,7 +3868,7 @@ yyreduce: break; - case 166: + case 165: { (yyval.interm.arraySizes) = new TVector(); @@ -3899,20 +3882,20 @@ yyreduce: break; - case 167: + case 166: { - ES3_1_OR_NEWER("[]", (yylsp[-1]), "arrays of arrays"); + ES3_1_ONLY("[]", (yylsp[-1]), "arrays of arrays"); (yyval.interm.arraySizes) = (yyvsp[-2].interm.arraySizes); (yyval.interm.arraySizes)->insert((yyval.interm.arraySizes)->begin(), 0u); } break; - case 168: + case 167: { - ES3_1_OR_NEWER("[]", (yylsp[-2]), "arrays of arrays"); + ES3_1_ONLY("[]", (yylsp[-2]), "arrays of arrays"); (yyval.interm.arraySizes) = (yyvsp[-3].interm.arraySizes); unsigned int size = context->checkIsValidArraySize((yylsp[-2]), (yyvsp[-1].interm.intermTypedNode)); @@ -3924,7 +3907,7 @@ yyreduce: break; - case 169: + case 168: { (yyval.interm.typeSpecifierNonArray).initialize(EbtVoid, (yylsp[0])); @@ -3932,7 +3915,7 @@ yyreduce: break; - case 170: + case 169: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -3940,7 +3923,7 @@ yyreduce: break; - case 171: + case 170: { (yyval.interm.typeSpecifierNonArray).initialize(EbtInt, (yylsp[0])); @@ -3948,7 +3931,7 @@ yyreduce: break; - case 172: + case 171: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUInt, (yylsp[0])); @@ -3956,7 +3939,7 @@ yyreduce: break; - case 173: + case 172: { (yyval.interm.typeSpecifierNonArray).initialize(EbtBool, (yylsp[0])); @@ -3964,11 +3947,20 @@ yyreduce: break; + case 173: + + { + (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); + (yyval.interm.typeSpecifierNonArray).setAggregate(2); + } + + break; + case 174: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(2); + (yyval.interm.typeSpecifierNonArray).setAggregate(3); } break; @@ -3977,7 +3969,7 @@ yyreduce: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(3); + (yyval.interm.typeSpecifierNonArray).setAggregate(4); } break; @@ -3985,8 +3977,8 @@ yyreduce: case 176: { - (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(4); + (yyval.interm.typeSpecifierNonArray).initialize(EbtBool, (yylsp[0])); + (yyval.interm.typeSpecifierNonArray).setAggregate(2); } break; @@ -3995,7 +3987,7 @@ yyreduce: { (yyval.interm.typeSpecifierNonArray).initialize(EbtBool, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(2); + (yyval.interm.typeSpecifierNonArray).setAggregate(3); } break; @@ -4004,7 +3996,7 @@ yyreduce: { (yyval.interm.typeSpecifierNonArray).initialize(EbtBool, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(3); + (yyval.interm.typeSpecifierNonArray).setAggregate(4); } break; @@ -4012,8 +4004,8 @@ yyreduce: case 179: { - (yyval.interm.typeSpecifierNonArray).initialize(EbtBool, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(4); + (yyval.interm.typeSpecifierNonArray).initialize(EbtInt, (yylsp[0])); + (yyval.interm.typeSpecifierNonArray).setAggregate(2); } break; @@ -4022,22 +4014,13 @@ yyreduce: { (yyval.interm.typeSpecifierNonArray).initialize(EbtInt, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(2); + (yyval.interm.typeSpecifierNonArray).setAggregate(3); } break; case 181: - { - (yyval.interm.typeSpecifierNonArray).initialize(EbtInt, (yylsp[0])); - (yyval.interm.typeSpecifierNonArray).setAggregate(3); - } - - break; - - case 182: - { (yyval.interm.typeSpecifierNonArray).initialize(EbtInt, (yylsp[0])); (yyval.interm.typeSpecifierNonArray).setAggregate(4); @@ -4045,7 +4028,7 @@ yyreduce: break; - case 183: + case 182: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUInt, (yylsp[0])); @@ -4054,7 +4037,7 @@ yyreduce: break; - case 184: + case 183: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUInt, (yylsp[0])); @@ -4063,7 +4046,7 @@ yyreduce: break; - case 185: + case 184: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUInt, (yylsp[0])); @@ -4072,7 +4055,7 @@ yyreduce: break; - case 186: + case 185: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4081,7 +4064,7 @@ yyreduce: break; - case 187: + case 186: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4090,7 +4073,7 @@ yyreduce: break; - case 188: + case 187: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4099,7 +4082,7 @@ yyreduce: break; - case 189: + case 188: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4108,7 +4091,7 @@ yyreduce: break; - case 190: + case 189: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4117,7 +4100,7 @@ yyreduce: break; - case 191: + case 190: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4126,7 +4109,7 @@ yyreduce: break; - case 192: + case 191: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4135,7 +4118,7 @@ yyreduce: break; - case 193: + case 192: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4144,7 +4127,7 @@ yyreduce: break; - case 194: + case 193: { (yyval.interm.typeSpecifierNonArray).initialize(EbtFloat, (yylsp[0])); @@ -4153,7 +4136,7 @@ yyreduce: break; - case 195: + case 194: { if (!context->checkCanUseExtension((yylsp[0]), TExtension::EXT_YUV_target)) @@ -4165,7 +4148,7 @@ yyreduce: break; - case 196: + case 195: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2D, (yylsp[0])); @@ -4173,7 +4156,7 @@ yyreduce: break; - case 197: + case 196: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler3D, (yylsp[0])); @@ -4181,7 +4164,7 @@ yyreduce: break; - case 198: + case 197: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSamplerCube, (yylsp[0])); @@ -4189,7 +4172,7 @@ yyreduce: break; - case 199: + case 198: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2DArray, (yylsp[0])); @@ -4197,7 +4180,7 @@ yyreduce: break; - case 200: + case 199: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2DMS, (yylsp[0])); @@ -4205,7 +4188,7 @@ yyreduce: break; - case 201: + case 200: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2DMSArray, (yylsp[0])); @@ -4213,7 +4196,7 @@ yyreduce: break; - case 202: + case 201: { if (context->getShaderVersion() < 320 && @@ -4226,7 +4209,7 @@ yyreduce: break; - case 203: + case 202: { if (context->getShaderVersion() < 320 && @@ -4239,7 +4222,7 @@ yyreduce: break; - case 204: + case 203: { constexpr std::array extensions{ @@ -4254,7 +4237,7 @@ yyreduce: break; - case 205: + case 204: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISampler2D, (yylsp[0])); @@ -4262,7 +4245,7 @@ yyreduce: break; - case 206: + case 205: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISampler3D, (yylsp[0])); @@ -4270,7 +4253,7 @@ yyreduce: break; - case 207: + case 206: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISamplerCube, (yylsp[0])); @@ -4278,7 +4261,7 @@ yyreduce: break; - case 208: + case 207: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISampler2DArray, (yylsp[0])); @@ -4286,7 +4269,7 @@ yyreduce: break; - case 209: + case 208: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISampler2DMS, (yylsp[0])); @@ -4294,7 +4277,7 @@ yyreduce: break; - case 210: + case 209: { (yyval.interm.typeSpecifierNonArray).initialize(EbtISampler2DMSArray, (yylsp[0])); @@ -4302,7 +4285,7 @@ yyreduce: break; - case 211: + case 210: { if (context->getShaderVersion() < 320 && @@ -4315,7 +4298,7 @@ yyreduce: break; - case 212: + case 211: { if (context->getShaderVersion() < 320 && @@ -4328,7 +4311,7 @@ yyreduce: break; - case 213: + case 212: { constexpr std::array extensions{ @@ -4343,7 +4326,7 @@ yyreduce: break; - case 214: + case 213: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSampler2D, (yylsp[0])); @@ -4351,7 +4334,7 @@ yyreduce: break; - case 215: + case 214: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSampler3D, (yylsp[0])); @@ -4359,7 +4342,7 @@ yyreduce: break; - case 216: + case 215: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSamplerCube, (yylsp[0])); @@ -4367,7 +4350,7 @@ yyreduce: break; - case 217: + case 216: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSampler2DArray, (yylsp[0])); @@ -4375,7 +4358,7 @@ yyreduce: break; - case 218: + case 217: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSampler2DMS, (yylsp[0])); @@ -4383,7 +4366,7 @@ yyreduce: break; - case 219: + case 218: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUSampler2DMSArray, (yylsp[0])); @@ -4391,7 +4374,7 @@ yyreduce: break; - case 220: + case 219: { if (context->getShaderVersion() < 320 && @@ -4404,7 +4387,7 @@ yyreduce: break; - case 221: + case 220: { if (context->getShaderVersion() < 320 && @@ -4417,7 +4400,7 @@ yyreduce: break; - case 222: + case 221: { constexpr std::array extensions{ @@ -4432,7 +4415,7 @@ yyreduce: break; - case 223: + case 222: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2DShadow, (yylsp[0])); @@ -4440,7 +4423,7 @@ yyreduce: break; - case 224: + case 223: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSamplerCubeShadow, (yylsp[0])); @@ -4448,7 +4431,7 @@ yyreduce: break; - case 225: + case 224: { (yyval.interm.typeSpecifierNonArray).initialize(EbtSampler2DArrayShadow, (yylsp[0])); @@ -4456,7 +4439,7 @@ yyreduce: break; - case 226: + case 225: { if (context->getShaderVersion() < 320 && @@ -4469,7 +4452,7 @@ yyreduce: break; - case 227: + case 226: { if (context->getShaderVersion() < 320 && @@ -4482,7 +4465,7 @@ yyreduce: break; - case 228: + case 227: { if (!context->checkCanUseExtension((yylsp[0]), TExtension::WEBGL_video_texture)) @@ -4494,7 +4477,7 @@ yyreduce: break; - case 229: + case 228: { constexpr std::array extensions{ @@ -4509,7 +4492,7 @@ yyreduce: break; - case 230: + case 229: { if (!context->checkCanUseExtension((yylsp[0]), TExtension::EXT_YUV_target)) @@ -4521,7 +4504,7 @@ yyreduce: break; - case 231: + case 230: { if (!context->checkCanUseExtension((yylsp[0]), TExtension::ARB_texture_rectangle)) @@ -4533,7 +4516,7 @@ yyreduce: break; - case 232: + case 231: { (yyval.interm.typeSpecifierNonArray).initialize(EbtImage2D, (yylsp[0])); @@ -4541,7 +4524,7 @@ yyreduce: break; - case 233: + case 232: { (yyval.interm.typeSpecifierNonArray).initialize(EbtIImage2D, (yylsp[0])); @@ -4549,7 +4532,7 @@ yyreduce: break; - case 234: + case 233: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUImage2D, (yylsp[0])); @@ -4557,7 +4540,7 @@ yyreduce: break; - case 235: + case 234: { (yyval.interm.typeSpecifierNonArray).initialize(EbtImage3D, (yylsp[0])); @@ -4565,7 +4548,7 @@ yyreduce: break; - case 236: + case 235: { (yyval.interm.typeSpecifierNonArray).initialize(EbtIImage3D, (yylsp[0])); @@ -4573,7 +4556,7 @@ yyreduce: break; - case 237: + case 236: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUImage3D, (yylsp[0])); @@ -4581,7 +4564,7 @@ yyreduce: break; - case 238: + case 237: { (yyval.interm.typeSpecifierNonArray).initialize(EbtImage2DArray, (yylsp[0])); @@ -4589,7 +4572,7 @@ yyreduce: break; - case 239: + case 238: { (yyval.interm.typeSpecifierNonArray).initialize(EbtIImage2DArray, (yylsp[0])); @@ -4597,7 +4580,7 @@ yyreduce: break; - case 240: + case 239: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUImage2DArray, (yylsp[0])); @@ -4605,7 +4588,7 @@ yyreduce: break; - case 241: + case 240: { (yyval.interm.typeSpecifierNonArray).initialize(EbtImageCube, (yylsp[0])); @@ -4613,7 +4596,7 @@ yyreduce: break; - case 242: + case 241: { (yyval.interm.typeSpecifierNonArray).initialize(EbtIImageCube, (yylsp[0])); @@ -4621,7 +4604,7 @@ yyreduce: break; - case 243: + case 242: { (yyval.interm.typeSpecifierNonArray).initialize(EbtUImageCube, (yylsp[0])); @@ -4629,11 +4612,24 @@ yyreduce: break; + case 243: + + { + if (context->getShaderVersion() < 320 && + !context->checkCanUseExtension((yylsp[0]), TExtension::OES_texture_cube_map_array)) + { + context->error((yylsp[0]), "unsupported type", "__imageCubeArray"); + } + (yyval.interm.typeSpecifierNonArray).initialize(EbtImageCubeArray, (yylsp[0])); + } + + break; + case 244: { if (context->getShaderVersion() < 320 && - !context->checkCanUseExtension((yylsp[0]), TExtension::OES_texture_cube_map_array)) + !context->checkCanUseExtension((yylsp[0]), TExtension::EXT_texture_cube_map_array)) { context->error((yylsp[0]), "unsupported type", "__imageCubeArray"); } @@ -4646,11 +4642,11 @@ yyreduce: { if (context->getShaderVersion() < 320 && - !context->checkCanUseExtension((yylsp[0]), TExtension::EXT_texture_cube_map_array)) + !context->checkCanUseExtension((yylsp[0]), TExtension::OES_texture_cube_map_array)) { - context->error((yylsp[0]), "unsupported type", "__imageCubeArray"); + context->error((yylsp[0]), "unsupported type", "__iimageCubeArray"); } - (yyval.interm.typeSpecifierNonArray).initialize(EbtImageCubeArray, (yylsp[0])); + (yyval.interm.typeSpecifierNonArray).initialize(EbtIImageCubeArray, (yylsp[0])); } break; @@ -4659,7 +4655,7 @@ yyreduce: { if (context->getShaderVersion() < 320 && - !context->checkCanUseExtension((yylsp[0]), TExtension::OES_texture_cube_map_array)) + !context->checkCanUseExtension((yylsp[0]), TExtension::EXT_texture_cube_map_array)) { context->error((yylsp[0]), "unsupported type", "__iimageCubeArray"); } @@ -4670,19 +4666,6 @@ yyreduce: case 247: - { - if (context->getShaderVersion() < 320 && - !context->checkCanUseExtension((yylsp[0]), TExtension::EXT_texture_cube_map_array)) - { - context->error((yylsp[0]), "unsupported type", "__iimageCubeArray"); - } - (yyval.interm.typeSpecifierNonArray).initialize(EbtIImageCubeArray, (yylsp[0])); - } - - break; - - case 248: - { if (context->getShaderVersion() < 320 && !context->checkCanUseExtension((yylsp[0]), TExtension::OES_texture_cube_map_array)) @@ -4694,7 +4677,7 @@ yyreduce: break; - case 249: + case 248: { if (context->getShaderVersion() < 320 && @@ -4707,7 +4690,7 @@ yyreduce: break; - case 250: + case 249: { constexpr std::array extensions{ @@ -4722,7 +4705,7 @@ yyreduce: break; - case 251: + case 250: { constexpr std::array extensions{ @@ -4737,7 +4720,7 @@ yyreduce: break; - case 252: + case 251: { constexpr std::array extensions{ @@ -4752,7 +4735,7 @@ yyreduce: break; - case 253: + case 252: { (yyval.interm.typeSpecifierNonArray).initialize(EbtAtomicCounter, (yylsp[0])); @@ -4760,7 +4743,7 @@ yyreduce: break; - case 254: + case 253: { (yyval.interm.typeSpecifierNonArray) = (yyvsp[0].interm.typeSpecifierNonArray); @@ -4768,7 +4751,7 @@ yyreduce: break; - case 255: + case 254: { // This is for user defined type names. The lexical phase looked up the type. @@ -4778,7 +4761,7 @@ yyreduce: break; - case 256: + case 255: { context->enterStructDeclaration((yylsp[-1]), ImmutableString((yyvsp[-1].lex).string)); @@ -4786,7 +4769,7 @@ yyreduce: break; - case 257: + case 256: { (yyval.interm.typeSpecifierNonArray) = context->addStructure( @@ -4796,7 +4779,7 @@ yyreduce: break; - case 258: + case 257: { context->enterStructDeclaration((yylsp[0]), kEmptyImmutableString); @@ -4804,7 +4787,7 @@ yyreduce: break; - case 259: + case 258: { (yyval.interm.typeSpecifierNonArray) = context->addStructure( @@ -4813,7 +4796,7 @@ yyreduce: break; - case 260: + case 259: { (yyval.interm.fieldList) = @@ -4822,7 +4805,7 @@ yyreduce: break; - case 261: + case 260: { (yyval.interm.fieldList) = context->combineStructFieldLists( @@ -4831,7 +4814,7 @@ yyreduce: break; - case 262: + case 261: { (yyval.interm.fieldList) = context->addStructDeclaratorList( @@ -4840,7 +4823,7 @@ yyreduce: break; - case 263: + case 262: { // ES3 Only, but errors should be handled elsewhere @@ -4851,7 +4834,7 @@ yyreduce: break; - case 264: + case 263: { (yyval.interm.declaratorList) = new TDeclaratorList(); @@ -4860,7 +4843,7 @@ yyreduce: break; - case 265: + case 264: { (yyval.interm.declaratorList)->push_back((yyvsp[0].interm.declarator)); @@ -4868,7 +4851,7 @@ yyreduce: break; - case 266: + case 265: { (yyval.interm.declarator) = @@ -4877,7 +4860,7 @@ yyreduce: break; - case 267: + case 266: { (yyval.interm.declarator) = context->parseStructArrayDeclarator( @@ -4886,7 +4869,7 @@ yyreduce: break; - case 268: + case 267: { (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); @@ -4894,7 +4877,7 @@ yyreduce: break; - case 269: + case 268: { (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); @@ -4902,7 +4885,7 @@ yyreduce: break; - case 270: + case 269: { (yyval.interm.intermNode) = (yyvsp[0].interm.intermBlock); @@ -4910,6 +4893,14 @@ yyreduce: break; + case 270: + + { + (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + } + + break; + case 271: { @@ -4937,7 +4928,7 @@ yyreduce: case 274: { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + (yyval.interm.intermNode) = (yyvsp[0].interm.intermSwitch); } break; @@ -4945,7 +4936,7 @@ yyreduce: case 275: { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermSwitch); + (yyval.interm.intermNode) = (yyvsp[0].interm.intermCase); } break; @@ -4953,7 +4944,7 @@ yyreduce: case 276: { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermCase); + (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); } break; @@ -4969,7 +4960,8 @@ yyreduce: case 278: { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + (yyval.interm.intermBlock) = new TIntermBlock(); + (yyval.interm.intermBlock)->setLine((yyloc)); } break; @@ -4977,29 +4969,20 @@ yyreduce: case 279: { - (yyval.interm.intermBlock) = new TIntermBlock(); - (yyval.interm.intermBlock)->setLine((yyloc)); + context->symbolTable.push(); } break; case 280: - { - context->symbolTable.push(); - } - - break; - - case 281: - { context->symbolTable.pop(); } break; - case 282: + case 281: { (yyvsp[-2].interm.intermBlock)->setLine((yyloc)); @@ -5008,7 +4991,7 @@ yyreduce: break; - case 283: + case 282: { (yyval.interm.intermNode) = (yyvsp[0].interm.intermBlock); @@ -5016,23 +4999,23 @@ yyreduce: break; + case 283: + + { + (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + } + + break; + case 284: - { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); - } - - break; - - case 285: - { context->symbolTable.push(); } break; - case 286: + case 285: { context->symbolTable.pop(); @@ -5041,7 +5024,7 @@ yyreduce: break; - case 287: + case 286: { context->symbolTable.push(); @@ -5049,7 +5032,7 @@ yyreduce: break; - case 288: + case 287: { context->symbolTable.pop(); @@ -5058,7 +5041,7 @@ yyreduce: break; - case 289: + case 288: { (yyval.interm.intermBlock) = new TIntermBlock(); @@ -5067,7 +5050,7 @@ yyreduce: break; - case 290: + case 289: { (yyvsp[-1].interm.intermBlock)->setLine((yyloc)); @@ -5076,7 +5059,7 @@ yyreduce: break; - case 291: + case 290: { (yyval.interm.intermBlock) = new TIntermBlock(); @@ -5085,7 +5068,7 @@ yyreduce: break; - case 292: + case 291: { (yyval.interm.intermBlock) = (yyvsp[-1].interm.intermBlock); @@ -5094,7 +5077,7 @@ yyreduce: break; - case 293: + case 292: { (yyval.interm.intermNode) = context->addEmptyStatement((yyloc)); @@ -5102,7 +5085,7 @@ yyreduce: break; - case 294: + case 293: { (yyval.interm.intermNode) = (yyvsp[-1].interm.intermTypedNode); @@ -5110,7 +5093,7 @@ yyreduce: break; - case 295: + case 294: { (yyval.interm.intermNode) = context->addIfElse((yyvsp[-2].interm.intermTypedNode), @@ -5119,7 +5102,7 @@ yyreduce: break; - case 296: + case 295: { (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); @@ -5128,7 +5111,7 @@ yyreduce: break; - case 297: + case 296: { (yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode); @@ -5137,7 +5120,7 @@ yyreduce: break; - case 298: + case 297: { context->incrSwitchNestingLevel(); @@ -5145,7 +5128,7 @@ yyreduce: break; - case 299: + case 298: { (yyval.interm.intermSwitch) = context->addSwitch( @@ -5155,7 +5138,7 @@ yyreduce: break; - case 300: + case 299: { (yyval.interm.intermCase) = @@ -5164,7 +5147,7 @@ yyreduce: break; - case 301: + case 300: { (yyval.interm.intermCase) = context->addDefault((yylsp[-1])); @@ -5172,7 +5155,7 @@ yyreduce: break; - case 302: + case 301: { (yyval.interm.intermNode) = (yyvsp[0].interm.intermTypedNode); @@ -5182,7 +5165,7 @@ yyreduce: break; - case 303: + case 302: { (yyval.interm.intermNode) = context->addConditionInitializer( @@ -5192,7 +5175,7 @@ yyreduce: break; - case 304: + case 303: { context->symbolTable.push(); @@ -5201,7 +5184,7 @@ yyreduce: break; - case 305: + case 304: { context->symbolTable.pop(); @@ -5213,7 +5196,7 @@ yyreduce: break; - case 306: + case 305: { context->incrLoopNestingLevel(); @@ -5221,7 +5204,7 @@ yyreduce: break; - case 307: + case 306: { (yyval.interm.intermNode) = @@ -5232,7 +5215,7 @@ yyreduce: break; - case 308: + case 307: { context->symbolTable.push(); @@ -5241,7 +5224,7 @@ yyreduce: break; - case 309: + case 308: { context->symbolTable.pop(); @@ -5254,6 +5237,14 @@ yyreduce: break; + case 309: + + { + (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + } + + break; + case 310: { @@ -5272,21 +5263,13 @@ yyreduce: case 312: - { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); - } - - break; - - case 313: - { (yyval.interm.intermNode) = nullptr; } break; - case 314: + case 313: { (yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermNode); @@ -5295,7 +5278,7 @@ yyreduce: break; - case 315: + case 314: { (yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode); @@ -5304,7 +5287,7 @@ yyreduce: break; - case 316: + case 315: { (yyval.interm.intermNode) = context->addBranch(EOpContinue, (yylsp[-1])); @@ -5312,7 +5295,7 @@ yyreduce: break; - case 317: + case 316: { (yyval.interm.intermNode) = context->addBranch(EOpBreak, (yylsp[-1])); @@ -5320,7 +5303,7 @@ yyreduce: break; - case 318: + case 317: { (yyval.interm.intermNode) = context->addBranch(EOpReturn, (yylsp[-1])); @@ -5328,7 +5311,7 @@ yyreduce: break; - case 319: + case 318: { (yyval.interm.intermNode) = @@ -5337,7 +5320,7 @@ yyreduce: break; - case 320: + case 319: { (yyval.interm.intermNode) = context->addBranch(EOpKill, (yylsp[-1])); @@ -5345,7 +5328,7 @@ yyreduce: break; - case 321: + case 320: { (yyval.interm.intermBlock) = new TIntermBlock(); @@ -5356,7 +5339,7 @@ yyreduce: break; - case 322: + case 321: { (yyval.interm.intermBlock)->appendStatement((yyvsp[0].interm.intermNode)); @@ -5364,6 +5347,14 @@ yyreduce: break; + case 322: + + { + (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); + } + + break; + case 323: { @@ -5374,14 +5365,6 @@ yyreduce: case 324: - { - (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); - } - - break; - - case 325: - { context->parseFunctionDefinitionHeader((yylsp[0]), (yyvsp[0].interm).function, &((yyvsp[0].interm).intermFunctionPrototype)); @@ -5389,7 +5372,7 @@ yyreduce: break; - case 326: + case 325: { (yyval.interm.intermNode) = diff --git a/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.h b/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.h index d2eab0b7bc55..530603239847 100644 --- a/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/glslang_tab_autogen.h @@ -109,130 +109,129 @@ enum yytokentype FLAT = 310, SMOOTH = 311, NOPERSPECTIVE = 312, - PATCH = 313, - READONLY = 314, - WRITEONLY = 315, - COHERENT = 316, - RESTRICT = 317, - VOLATILE = 318, - SHARED = 319, - STRUCT = 320, - VOID_TYPE = 321, - WHILE = 322, - SAMPLER2D = 323, - SAMPLERCUBE = 324, - SAMPLER_EXTERNAL_OES = 325, - SAMPLER2DRECT = 326, - SAMPLER2DARRAY = 327, - ISAMPLER2D = 328, - ISAMPLER3D = 329, - ISAMPLERCUBE = 330, - ISAMPLER2DARRAY = 331, - USAMPLER2D = 332, - USAMPLER3D = 333, - USAMPLERCUBE = 334, - USAMPLER2DARRAY = 335, - SAMPLER2DMS = 336, - ISAMPLER2DMS = 337, - USAMPLER2DMS = 338, - SAMPLER2DMSARRAY = 339, - ISAMPLER2DMSARRAY = 340, - USAMPLER2DMSARRAY = 341, - SAMPLER3D = 342, - SAMPLER3DRECT = 343, - SAMPLER2DSHADOW = 344, - SAMPLERCUBESHADOW = 345, - SAMPLER2DARRAYSHADOW = 346, - SAMPLERVIDEOWEBGL = 347, - SAMPLERCUBEARRAYOES = 348, - SAMPLERCUBEARRAYSHADOWOES = 349, - ISAMPLERCUBEARRAYOES = 350, - USAMPLERCUBEARRAYOES = 351, - SAMPLERCUBEARRAYEXT = 352, - SAMPLERCUBEARRAYSHADOWEXT = 353, - ISAMPLERCUBEARRAYEXT = 354, - USAMPLERCUBEARRAYEXT = 355, - SAMPLERBUFFER = 356, - ISAMPLERBUFFER = 357, - USAMPLERBUFFER = 358, - SAMPLEREXTERNAL2DY2YEXT = 359, - IMAGE2D = 360, - IIMAGE2D = 361, - UIMAGE2D = 362, - IMAGE3D = 363, - IIMAGE3D = 364, - UIMAGE3D = 365, - IMAGE2DARRAY = 366, - IIMAGE2DARRAY = 367, - UIMAGE2DARRAY = 368, - IMAGECUBE = 369, - IIMAGECUBE = 370, - UIMAGECUBE = 371, - IMAGECUBEARRAYOES = 372, - IIMAGECUBEARRAYOES = 373, - UIMAGECUBEARRAYOES = 374, - IMAGECUBEARRAYEXT = 375, - IIMAGECUBEARRAYEXT = 376, - UIMAGECUBEARRAYEXT = 377, - IMAGEBUFFER = 378, - IIMAGEBUFFER = 379, - UIMAGEBUFFER = 380, - ATOMICUINT = 381, - LAYOUT = 382, - YUVCSCSTANDARDEXT = 383, - YUVCSCSTANDARDEXTCONSTANT = 384, - IDENTIFIER = 385, - TYPE_NAME = 386, - FLOATCONSTANT = 387, - INTCONSTANT = 388, - UINTCONSTANT = 389, - BOOLCONSTANT = 390, - FIELD_SELECTION = 391, - LEFT_OP = 392, - RIGHT_OP = 393, - INC_OP = 394, - DEC_OP = 395, - LE_OP = 396, - GE_OP = 397, - EQ_OP = 398, - NE_OP = 399, - AND_OP = 400, - OR_OP = 401, - XOR_OP = 402, - MUL_ASSIGN = 403, - DIV_ASSIGN = 404, - ADD_ASSIGN = 405, - MOD_ASSIGN = 406, - LEFT_ASSIGN = 407, - RIGHT_ASSIGN = 408, - AND_ASSIGN = 409, - XOR_ASSIGN = 410, - OR_ASSIGN = 411, - SUB_ASSIGN = 412, - LEFT_PAREN = 413, - RIGHT_PAREN = 414, - LEFT_BRACKET = 415, - RIGHT_BRACKET = 416, - LEFT_BRACE = 417, - RIGHT_BRACE = 418, - DOT = 419, - COMMA = 420, - COLON = 421, - EQUAL = 422, - SEMICOLON = 423, - BANG = 424, - DASH = 425, - TILDE = 426, - PLUS = 427, - STAR = 428, - SLASH = 429, - PERCENT = 430, - LEFT_ANGLE = 431, - RIGHT_ANGLE = 432, - VERTICAL_BAR = 433, - CARET = 434, - AMPERSAND = 435, - QUESTION = 436 + READONLY = 313, + WRITEONLY = 314, + COHERENT = 315, + RESTRICT = 316, + VOLATILE = 317, + SHARED = 318, + STRUCT = 319, + VOID_TYPE = 320, + WHILE = 321, + SAMPLER2D = 322, + SAMPLERCUBE = 323, + SAMPLER_EXTERNAL_OES = 324, + SAMPLER2DRECT = 325, + SAMPLER2DARRAY = 326, + ISAMPLER2D = 327, + ISAMPLER3D = 328, + ISAMPLERCUBE = 329, + ISAMPLER2DARRAY = 330, + USAMPLER2D = 331, + USAMPLER3D = 332, + USAMPLERCUBE = 333, + USAMPLER2DARRAY = 334, + SAMPLER2DMS = 335, + ISAMPLER2DMS = 336, + USAMPLER2DMS = 337, + SAMPLER2DMSARRAY = 338, + ISAMPLER2DMSARRAY = 339, + USAMPLER2DMSARRAY = 340, + SAMPLER3D = 341, + SAMPLER3DRECT = 342, + SAMPLER2DSHADOW = 343, + SAMPLERCUBESHADOW = 344, + SAMPLER2DARRAYSHADOW = 345, + SAMPLERVIDEOWEBGL = 346, + SAMPLERCUBEARRAYOES = 347, + SAMPLERCUBEARRAYSHADOWOES = 348, + ISAMPLERCUBEARRAYOES = 349, + USAMPLERCUBEARRAYOES = 350, + SAMPLERCUBEARRAYEXT = 351, + SAMPLERCUBEARRAYSHADOWEXT = 352, + ISAMPLERCUBEARRAYEXT = 353, + USAMPLERCUBEARRAYEXT = 354, + SAMPLERBUFFER = 355, + ISAMPLERBUFFER = 356, + USAMPLERBUFFER = 357, + SAMPLEREXTERNAL2DY2YEXT = 358, + IMAGE2D = 359, + IIMAGE2D = 360, + UIMAGE2D = 361, + IMAGE3D = 362, + IIMAGE3D = 363, + UIMAGE3D = 364, + IMAGE2DARRAY = 365, + IIMAGE2DARRAY = 366, + UIMAGE2DARRAY = 367, + IMAGECUBE = 368, + IIMAGECUBE = 369, + UIMAGECUBE = 370, + IMAGECUBEARRAYOES = 371, + IIMAGECUBEARRAYOES = 372, + UIMAGECUBEARRAYOES = 373, + IMAGECUBEARRAYEXT = 374, + IIMAGECUBEARRAYEXT = 375, + UIMAGECUBEARRAYEXT = 376, + IMAGEBUFFER = 377, + IIMAGEBUFFER = 378, + UIMAGEBUFFER = 379, + ATOMICUINT = 380, + LAYOUT = 381, + YUVCSCSTANDARDEXT = 382, + YUVCSCSTANDARDEXTCONSTANT = 383, + IDENTIFIER = 384, + TYPE_NAME = 385, + FLOATCONSTANT = 386, + INTCONSTANT = 387, + UINTCONSTANT = 388, + BOOLCONSTANT = 389, + FIELD_SELECTION = 390, + LEFT_OP = 391, + RIGHT_OP = 392, + INC_OP = 393, + DEC_OP = 394, + LE_OP = 395, + GE_OP = 396, + EQ_OP = 397, + NE_OP = 398, + AND_OP = 399, + OR_OP = 400, + XOR_OP = 401, + MUL_ASSIGN = 402, + DIV_ASSIGN = 403, + ADD_ASSIGN = 404, + MOD_ASSIGN = 405, + LEFT_ASSIGN = 406, + RIGHT_ASSIGN = 407, + AND_ASSIGN = 408, + XOR_ASSIGN = 409, + OR_ASSIGN = 410, + SUB_ASSIGN = 411, + LEFT_PAREN = 412, + RIGHT_PAREN = 413, + LEFT_BRACKET = 414, + RIGHT_BRACKET = 415, + LEFT_BRACE = 416, + RIGHT_BRACE = 417, + DOT = 418, + COMMA = 419, + COLON = 420, + EQUAL = 421, + SEMICOLON = 422, + BANG = 423, + DASH = 424, + TILDE = 425, + PLUS = 426, + STAR = 427, + SLASH = 428, + PERCENT = 429, + LEFT_ANGLE = 430, + RIGHT_ANGLE = 431, + VERTICAL_BAR = 432, + CARET = 433, + AMPERSAND = 434, + QUESTION = 435 }; #endif diff --git a/gfx/angle/checkout/src/compiler/translator/glslang_wrapper.h b/gfx/angle/checkout/src/compiler/translator/glslang_wrapper.h deleted file mode 100644 index 0b2535512acd..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/glslang_wrapper.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// Copyright 2021 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// glslang_wrapper: -// A wrapper to compile GLSL strings to SPIR-V blobs. glslang here refers to the Khronos -// compiler. -// - -#ifndef COMPILER_TRANSLATOR_GLSLANG_WRAPPER_H_ -#define COMPILER_TRANSLATOR_GLSLANG_WRAPPER_H_ - -#include "GLSLANG/ShaderLang.h" -#include "common/PackedEnums.h" -#include "common/spirv/spirv_types.h" - -#include -#include - -namespace sh -{ -#if defined(ANGLE_ENABLE_VULKAN) || defined(ANGLE_ENABLE_METAL) -void GlslangInitialize(); -void GlslangFinalize(); - -// Generate SPIR-V out of intermediate GLSL through glslang. -ANGLE_NO_DISCARD bool GlslangCompileToSpirv(const ShBuiltInResources &resources, - sh::GLenum shaderType, - const std::string &shaderSource, - angle::spirv::Blob *spirvBlobOut); -#else -ANGLE_INLINE void GlslangInitialize() -{ - UNREACHABLE(); -} -ANGLE_INLINE void GlslangFinalize() -{ - UNREACHABLE(); -} -#endif // defined(ANGLE_ENABLE_VULKAN) || defined(ANGLE_ENABLE_METAL) -} // namespace sh - -#endif // COMPILER_TRANSLATOR_GLSLANG_WRAPPER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.cpp similarity index 95% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.cpp index c3a81d0773b8..4c508c90ca2f 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.cpp @@ -4,7 +4,7 @@ // found in the LICENSE file. // -#include "compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.h" +#include "compiler/translator/tree_ops/AddAndTrueToLoopCondition.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.h similarity index 67% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.h index e7e73d7ae42e..4195959fa4da 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.h @@ -6,8 +6,8 @@ // Rewrite condition in for and while loops to work around driver bug on Intel Mac. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_MAC_ADDANDTRUETOLOOPCONDITION_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_MAC_ADDANDTRUETOLOOPCONDITION_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_ADDANDTRUETOLOOPCONDITION_H_ +#define COMPILER_TRANSLATOR_TREEOPS_ADDANDTRUETOLOOPCONDITION_H_ #include "common/angleutils.h" @@ -20,4 +20,4 @@ ANGLE_NO_DISCARD bool AddAndTrueToLoopCondition(TCompiler *compiler, TIntermNode } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_MAC_ADDANDTRUETOLOOPCONDITION_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_ADDANDTRUETOLOOPCONDITION_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp similarity index 95% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp index 8790c4f5f267..f375ec2b51d4 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp @@ -7,7 +7,7 @@ // return. // -#include "compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.h" +#include "compiler/translator/tree_ops/AddDefaultReturnStatements.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/IntermNode.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.h similarity index 70% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.h index 7f28765190fb..cabcc149b7c6 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.h @@ -7,8 +7,8 @@ // return. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_ADDDEFAULTRETURNSTATEMENTS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_ADDDEFAULTRETURNSTATEMENTS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_ADDDEFAULTRETURNSTATEMENTS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_ADDDEFAULTRETURNSTATEMENTS_H_ #include "common/angleutils.h" @@ -21,4 +21,4 @@ ANGLE_NO_DISCARD bool AddDefaultReturnStatements(TCompiler *compiler, TIntermBlo } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_ADDDEFAULTRETURNSTATEMENTS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_ADDDEFAULTRETURNSTATEMENTS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.cpp similarity index 93% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.cpp index a8e630016358..789643945ae9 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.cpp @@ -6,7 +6,7 @@ // The ArrayReturnValueToOutParameter function changes return values of an array type to out // parameters in function definitions, prototypes, and call sites. -#include "compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.h" +#include "compiler/translator/tree_ops/ArrayReturnValueToOutParameter.h" #include @@ -59,17 +59,17 @@ TIntermAggregate *ArrayReturnValueToOutParameterTraverser::createReplacementCall TIntermAggregate *originalCall, TIntermTyped *returnValueTarget) { - TIntermSequence replacementArguments; - TIntermSequence *originalArguments = originalCall->getSequence(); + TIntermSequence *replacementArguments = new TIntermSequence(); + TIntermSequence *originalArguments = originalCall->getSequence(); for (auto &arg : *originalArguments) { - replacementArguments.push_back(arg); + replacementArguments->push_back(arg); } - replacementArguments.push_back(returnValueTarget); + replacementArguments->push_back(returnValueTarget); ASSERT(originalCall->getFunction()); const TSymbolUniqueId &originalId = originalCall->getFunction()->uniqueId(); TIntermAggregate *replacementCall = TIntermAggregate::CreateFunctionCall( - *mChangedFunctions[originalId.get()].func, &replacementArguments); + *mChangedFunctions[originalId.get()].func, replacementArguments); replacementCall->setLine(originalCall->getLine()); return replacementCall; } @@ -170,7 +170,8 @@ bool ArrayReturnValueToOutParameterTraverser::visitAggregate(Visit visit, TInter // f(s0); TIntermSymbol *returnValueSymbol = CreateTempSymbolNode(returnValue); replacements.push_back(createReplacementCall(node, returnValueSymbol)); - mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(parentBlock, node, replacements)); } return false; } @@ -200,8 +201,8 @@ bool ArrayReturnValueToOutParameterTraverser::visitBranch(Visit visit, TIntermBr replacementBranch->setLine(node->getLine()); replacements.push_back(replacementBranch); - mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, - std::move(replacements)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(getParentNode()->getAsBlock(), node, replacements)); } return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.h similarity index 75% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.h index 2e22cb786e1b..c00ecb0c420a 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.h @@ -6,8 +6,8 @@ // The ArrayReturnValueToOutParameter function changes return values of an array type to out // parameters in function definitions, prototypes and call sites. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_ARRAYRETURNVALUETOOUTPARAMETER_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_ARRAYRETURNVALUETOOUTPARAMETER_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_ARRAYRETURNVALUETOOUTPARAMETER_H_ +#define COMPILER_TRANSLATOR_TREEOPS_ARRAYRETURNVALUETOOUTPARAMETER_H_ #include "common/angleutils.h" @@ -24,4 +24,4 @@ ANGLE_NO_DISCARD bool ArrayReturnValueToOutParameter(TCompiler *compiler, } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_ARRAYRETURNVALUETOOUTPARAMETER_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_ARRAYRETURNVALUETOOUTPARAMETER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.cpp similarity index 97% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.cpp index 908da7a8c2ec..e5afa883f228 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.cpp @@ -8,7 +8,7 @@ // may record a variable as aliasing another. Sometimes the alias information gets garbled // so we work around this issue by breaking the aliasing chain in inner loops. -#include "compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.h" +#include "BreakVariableAliasingInInnerLoops.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.h similarity index 73% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.h index a4e701bd581b..e7b49faeb011 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.h @@ -8,8 +8,8 @@ // may record a variable as aliasing another. Sometimes the alias information gets garbled // so we work around this issue by breaking the aliasing chain in inner loops. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_BREAKVARIABLEALIASINGININNERLOOPS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_BREAKVARIABLEALIASINGININNERLOOPS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_BREAKVARIABLEALIASINGININNERLOOPS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_BREAKVARIABLEALIASINGININNERLOOPS_H_ #include "common/angleutils.h" @@ -22,4 +22,4 @@ ANGLE_NO_DISCARD bool BreakVariableAliasingInInnerLoops(TCompiler *compiler, TIn } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_BREAKVARIABLEALIASINGININNERLOOPS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_BREAKVARIABLEALIASINGININNERLOOPS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.cpp similarity index 83% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.cpp index 309cb14752c4..078f5f142a2b 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.cpp @@ -8,7 +8,7 @@ // statically accesses gl_FragDepth. // -#include "compiler/translator/tree_ops/gl/ClampFragDepth.h" +#include "compiler/translator/tree_ops/ClampFragDepth.h" #include "compiler/translator/ImmutableString.h" #include "compiler/translator/SymbolTable.h" @@ -38,12 +38,12 @@ bool ClampFragDepth(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbo new TIntermConstantUnion(maxFragDepthConstant, TType(EbtFloat, EbpHigh, EvqConst)); // clamp(gl_FragDepth, 0.0, 1.0) - TIntermSequence clampArguments; - clampArguments.push_back(fragDepthNode->deepCopy()); - clampArguments.push_back(minFragDepthNode); - clampArguments.push_back(maxFragDepthNode); + TIntermSequence *clampArguments = new TIntermSequence(); + clampArguments->push_back(fragDepthNode->deepCopy()); + clampArguments->push_back(minFragDepthNode); + clampArguments->push_back(maxFragDepthNode); TIntermTyped *clampedFragDepth = - CreateBuiltInFunctionCallNode("clamp", &clampArguments, *symbolTable, 100); + CreateBuiltInFunctionCallNode("clamp", clampArguments, *symbolTable, 100); // gl_FragDepth = clamp(gl_FragDepth, 0.0, 1.0) TIntermBinary *assignFragDepth = new TIntermBinary(EOpAssign, fragDepthNode, clampedFragDepth); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.h similarity index 60% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.h index effe0e6acd5d..6d7648798846 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampFragDepth.h @@ -8,8 +8,8 @@ // statically accesses gl_FragDepth. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_CLAMPFRAGDEPTH_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_CLAMPFRAGDEPTH_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_CLAMPFRAGDEPTH_H_ +#define COMPILER_TRANSLATOR_TREEOPS_CLAMPFRAGDEPTH_H_ #include "common/angleutils.h" @@ -20,20 +20,10 @@ class TCompiler; class TIntermBlock; class TSymbolTable; -#ifdef ANGLE_ENABLE_GLSL ANGLE_NO_DISCARD bool ClampFragDepth(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool ClampFragDepth(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable) -{ - UNREACHABLE(); - return false; -} -#endif } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_CLAMPFRAGDEPTH_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_CLAMPFRAGDEPTH_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp index 36e5de8287f7..44c3faa148d0 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp @@ -36,11 +36,11 @@ bool ClampPointSize(TCompiler *compiler, new TIntermConstantUnion(maxPointSizeConstant, TType(EbtFloat, EbpHigh, EvqConst)); // min(gl_PointSize, maxPointSize) - TIntermSequence minArguments; - minArguments.push_back(pointSizeNode->deepCopy()); - minArguments.push_back(maxPointSizeNode); + TIntermSequence *minArguments = new TIntermSequence(); + minArguments->push_back(pointSizeNode->deepCopy()); + minArguments->push_back(maxPointSizeNode); TIntermTyped *clampedPointSize = - CreateBuiltInFunctionCallNode("min", &minArguments, *symbolTable, 100); + CreateBuiltInFunctionCallNode("min", minArguments, *symbolTable, 100); // gl_PointSize = min(gl_PointSize, maxPointSize) TIntermBinary *assignPointSize = new TIntermBinary(EOpAssign, pointSizeNode, clampedPointSize); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp index 1a141b977c3f..0e5fdf2baf75 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp @@ -45,20 +45,20 @@ void InitializeViewIDAndInstanceID(const TVariable *viewID, new TIntermConstantUnion(numberOfViewsUnsignedConstant, TType(EbtUInt, EbpHigh, EvqConst)); // Create a uint(gl_InstanceID) node. - TIntermSequence glInstanceIDSymbolCastArguments; - glInstanceIDSymbolCastArguments.push_back(new TIntermSymbol(BuiltInVariable::gl_InstanceID())); + TIntermSequence *glInstanceIDSymbolCastArguments = new TIntermSequence(); + glInstanceIDSymbolCastArguments->push_back(new TIntermSymbol(BuiltInVariable::gl_InstanceID())); TIntermAggregate *glInstanceIDAsUint = TIntermAggregate::CreateConstructor( - TType(EbtUInt, EbpHigh, EvqTemporary), &glInstanceIDSymbolCastArguments); + TType(EbtUInt, EbpHigh, EvqTemporary), glInstanceIDSymbolCastArguments); // Create a uint(gl_InstanceID) / numberOfViews node. TIntermBinary *normalizedInstanceID = new TIntermBinary(EOpDiv, glInstanceIDAsUint, numberOfViewsUint); // Create an int(uint(gl_InstanceID) / numberOfViews) node. - TIntermSequence normalizedInstanceIDCastArguments; - normalizedInstanceIDCastArguments.push_back(normalizedInstanceID); + TIntermSequence *normalizedInstanceIDCastArguments = new TIntermSequence(); + normalizedInstanceIDCastArguments->push_back(normalizedInstanceID); TIntermAggregate *normalizedInstanceIDAsInt = TIntermAggregate::CreateConstructor( - TType(EbtInt, EbpHigh, EvqTemporary), &normalizedInstanceIDCastArguments); + TType(EbtInt, EbpHigh, EvqTemporary), normalizedInstanceIDCastArguments); // Create an InstanceID = int(uint(gl_InstanceID) / numberOfViews) node. TIntermBinary *instanceIDInitializer = @@ -83,10 +83,10 @@ void SelectViewIndexInVertexShader(const TVariable *viewID, const TSymbolTable &symbolTable) { // Create an int(ViewID_OVR) node. - TIntermSequence viewIDSymbolCastArguments; - viewIDSymbolCastArguments.push_back(new TIntermSymbol(viewID)); + TIntermSequence *viewIDSymbolCastArguments = new TIntermSequence(); + viewIDSymbolCastArguments->push_back(new TIntermSymbol(viewID)); TIntermAggregate *viewIDAsInt = TIntermAggregate::CreateConstructor( - TType(EbtInt, EbpHigh, EvqTemporary), &viewIDSymbolCastArguments); + TType(EbtInt, EbpHigh, EvqTemporary), viewIDSymbolCastArguments); // Create a gl_ViewportIndex node. TIntermSymbol *viewportIndexSymbol = new TIntermSymbol(BuiltInVariable::gl_ViewportIndex()); @@ -157,13 +157,13 @@ bool DeclareAndInitBuiltinsForInstancedMultiview(TCompiler *compiler, return false; } - TIntermSequence initializers; + TIntermSequence *initializers = new TIntermSequence(); InitializeViewIDAndInstanceID(viewID, instanceID, numberOfViews, *symbolTable, - &initializers); + initializers); // The AST transformation which adds the expression to select the viewport index should // be done only for the GLSL and ESSL output. - const bool selectView = (compileOptions & SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER) != 0; + const bool selectView = (compileOptions & SH_SELECT_VIEW_IN_NV_GLSL_VERTEX_SHADER) != 0u; // Assert that if the view is selected in the vertex shader, then the output is // either GLSL or ESSL. ASSERT(!selectView || IsOutputGLSL(shaderOutput) || IsOutputESSL(shaderOutput)); @@ -179,13 +179,13 @@ bool DeclareAndInitBuiltinsForInstancedMultiview(TCompiler *compiler, // Setting a value to gl_ViewportIndex or gl_Layer should happen after ViewID_OVR's // initialization. - SelectViewIndexInVertexShader(viewID, multiviewBaseViewLayerIndex, &initializers, + SelectViewIndexInVertexShader(viewID, multiviewBaseViewLayerIndex, initializers, *symbolTable); } // Insert initializers at the beginning of main(). TIntermBlock *initializersBlock = new TIntermBlock(); - initializersBlock->getSequence()->swap(initializers); + initializersBlock->getSequence()->swap(*initializers); TIntermBlock *mainBody = FindMainBody(root); mainBody->getSequence()->insert(mainBody->getSequence()->begin(), initializersBlock); } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp index 0a34bf8d35ba..dfa23aaf19be 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp @@ -91,11 +91,10 @@ void GetDeferredInitializers(TIntermDeclaration *declaration, if (symbolNode->getQualifier() == EvqGlobal) { - TIntermSequence initCode; - CreateInitCode(symbolNode, canUseLoopsToInitialize, highPrecisionSupported, &initCode, - symbolTable); - deferredInitializersOut->insert(deferredInitializersOut->end(), initCode.begin(), - initCode.end()); + TIntermSequence *initCode = CreateInitCode(symbolNode, canUseLoopsToInitialize, + highPrecisionSupported, symbolTable); + deferredInitializersOut->insert(deferredInitializersOut->end(), initCode->begin(), + initCode->end()); } } } @@ -118,9 +117,8 @@ void InsertInitCallToMain(TIntermBlock *root, CreateInternalFunctionDefinitionNode(*initGlobalsFunction, initGlobalsBlock); root->appendStatement(initGlobalsFunctionDefinition); - TIntermSequence emptySequence; TIntermAggregate *initGlobalsCall = - TIntermAggregate::CreateFunctionCall(*initGlobalsFunction, &emptySequence); + TIntermAggregate::CreateFunctionCall(*initGlobalsFunction, new TIntermSequence()); TIntermBlock *mainBody = FindMainBody(root); mainBody->getSequence()->insert(mainBody->getSequence()->begin(), initGlobalsCall); @@ -135,7 +133,7 @@ bool DeferGlobalInitializers(TCompiler *compiler, bool highPrecisionSupported, TSymbolTable *symbolTable) { - TIntermSequence deferredInitializers; + TIntermSequence *deferredInitializers = new TIntermSequence(); std::vector variablesToReplace; // Loop over all global statements and process the declarations. This is simpler than using a @@ -147,14 +145,14 @@ bool DeferGlobalInitializers(TCompiler *compiler, { GetDeferredInitializers(declaration, initializeUninitializedGlobals, canUseLoopsToInitialize, highPrecisionSupported, - &deferredInitializers, &variablesToReplace, symbolTable); + deferredInitializers, &variablesToReplace, symbolTable); } } // Add the function with initialization and the call to that. - if (!deferredInitializers.empty()) + if (!deferredInitializers->empty()) { - InsertInitCallToMain(root, &deferredInitializers, symbolTable); + InsertInitCallToMain(root, deferredInitializers, symbolTable); } // Replace constant variables with non-constant global variables. diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.cpp new file mode 100644 index 000000000000..882fc4065c7f --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.cpp @@ -0,0 +1,79 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// CheckEarlyFragmentTestOptimization is an AST traverser to check if early fragment +// test as an optimization is feasible. +// + +#include "compiler/translator/tree_ops/EarlyFragmentTestsOptimization.h" + +#include "compiler/translator/InfoSink.h" +#include "compiler/translator/Symbol.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ + +namespace +{ + +// Traverser that check conditions that would prevent early fragment tests optmization. +class CheckEFTOptimizationTraverser : public TIntermTraverser +{ + public: + CheckEFTOptimizationTraverser(); + + void visitSymbol(TIntermSymbol *node) override; + bool visitBranch(Visit visit, TIntermBranch *node) override; + + bool isFragDepthUsed() { return mFragDepthUsed; } + bool isDiscardOpUsed() { return mDiscardOpUsed; } + + protected: + bool mFragDepthUsed; + bool mDiscardOpUsed; +}; + +CheckEFTOptimizationTraverser::CheckEFTOptimizationTraverser() + : TIntermTraverser(true, false, false), mFragDepthUsed(false), mDiscardOpUsed(false) +{} + +void CheckEFTOptimizationTraverser::visitSymbol(TIntermSymbol *node) +{ + // Check the qualifier from the variable, not from the symbol node. The node may have a + // different qualifier if it's the result of a folded ternary node. + TQualifier qualifier = node->variable().getType().getQualifier(); + + if (qualifier == EvqFragDepth || qualifier == EvqFragDepthEXT) + { + mFragDepthUsed = true; + } +} + +bool CheckEFTOptimizationTraverser::visitBranch(Visit visit, TIntermBranch *node) +{ + if (node->getFlowOp() == EOpKill) + { + mDiscardOpUsed = true; + } + return true; +} + +} // namespace + +bool CheckEarlyFragmentTestsFeasible(TCompiler *compiler, TIntermNode *root) +{ + CheckEFTOptimizationTraverser traverser; + root->traverse(&traverser); + + if (traverser.isFragDepthUsed() || traverser.isDiscardOpUsed()) + { + return false; + } + return true; +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/vulkan/EarlyFragmentTestsOptimization.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.h similarity index 50% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/vulkan/EarlyFragmentTestsOptimization.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.h index 1d6a0b4b4607..4b0e556ec8db 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/vulkan/EarlyFragmentTestsOptimization.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.h @@ -7,8 +7,8 @@ // tests as an optimization is feasible. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_VULKAN_EARLYFRAGMENTTESTSOPTIMIZATION_H_ -#define COMPILER_TRANSLATOR_TREEOPS_VULKAN_EARLYFRAGMENTTESTSOPTIMIZATION_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_EARLYFRAGMENTTESTSOPTIMIZATION_H_ +#define COMPILER_TRANSLATOR_TREEOPS_EARLYFRAGMENTTESTSOPTIMIZATION_H_ #include "common/angleutils.h" @@ -17,16 +17,7 @@ namespace sh class TCompiler; class TIntermNode; -#ifdef ANGLE_ENABLE_VULKAN ANGLE_NO_DISCARD bool CheckEarlyFragmentTestsFeasible(TCompiler *compiler, TIntermNode *root); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool CheckEarlyFragmentTestsFeasible(TCompiler *compiler, - TIntermNode *root) -{ - UNREACHABLE(); - return false; -} -#endif } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_VULKAN_EARLYFRAGMENTTESTSOPTIMIZATION_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_EARLYFRAGMENTTESTSOPTIMIZATION_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp index 6cf7b3f00027..dd5a4865be96 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp @@ -190,8 +190,9 @@ bool EmulateGLBaseVertexBaseInstance(TCompiler *compiler, if (builtInVariableBaseVertex) { - const TVariable *baseVertex = BuiltInVariable::angle_BaseVertex(); - const TType &type = baseVertex->getType(); + const TType *type = StaticType::Get(); + const TVariable *baseVertex = + new TVariable(symbolTable, kEmulatedGLBaseVertexName, type, SymbolType::AngleInternal); const TIntermSymbol *baseVertexSymbol = new TIntermSymbol(baseVertex); // AngleInternal variables don't get collected @@ -199,15 +200,15 @@ bool EmulateGLBaseVertexBaseInstance(TCompiler *compiler, { uniformBaseVertex.name = kEmulatedGLBaseVertexName.data(); uniformBaseVertex.mappedName = kEmulatedGLBaseVertexName.data(); - uniformBaseVertex.type = GLVariableType(type); - uniformBaseVertex.precision = GLVariablePrecision(type); + uniformBaseVertex.type = GLVariableType(*type); + uniformBaseVertex.precision = GLVariablePrecision(*type); uniformBaseVertex.staticUse = symbolTable->isStaticallyUsed(*builtInVariableBaseVertex); uniformBaseVertex.active = true; - uniformBaseVertex.binding = type.getLayoutQualifier().binding; - uniformBaseVertex.location = type.getLayoutQualifier().location; - uniformBaseVertex.offset = type.getLayoutQualifier().offset; - uniformBaseVertex.readonly = type.getMemoryQualifier().readonly; - uniformBaseVertex.writeonly = type.getMemoryQualifier().writeonly; + uniformBaseVertex.binding = type->getLayoutQualifier().binding; + uniformBaseVertex.location = type->getLayoutQualifier().location; + uniformBaseVertex.offset = type->getLayoutQualifier().offset; + uniformBaseVertex.readonly = type->getMemoryQualifier().readonly; + uniformBaseVertex.writeonly = type->getMemoryQualifier().writeonly; addBaseVertex = true; } @@ -225,8 +226,9 @@ bool EmulateGLBaseVertexBaseInstance(TCompiler *compiler, if (builtInVariableBaseInstance) { - const TVariable *baseInstance = BuiltInVariable::angle_BaseInstance(); - const TType &type = baseInstance->getType(); + const TType *type = StaticType::Get(); + const TVariable *baseInstance = new TVariable(symbolTable, kEmulatedGLBaseInstanceName, + type, SymbolType::AngleInternal); const TIntermSymbol *baseInstanceSymbol = new TIntermSymbol(baseInstance); // AngleInternal variables don't get collected @@ -234,16 +236,16 @@ bool EmulateGLBaseVertexBaseInstance(TCompiler *compiler, { uniformBaseInstance.name = kEmulatedGLBaseInstanceName.data(); uniformBaseInstance.mappedName = kEmulatedGLBaseInstanceName.data(); - uniformBaseInstance.type = GLVariableType(type); - uniformBaseInstance.precision = GLVariablePrecision(type); + uniformBaseInstance.type = GLVariableType(*type); + uniformBaseInstance.precision = GLVariablePrecision(*type); uniformBaseInstance.staticUse = symbolTable->isStaticallyUsed(*builtInVariableBaseInstance); uniformBaseInstance.active = true; - uniformBaseInstance.binding = type.getLayoutQualifier().binding; - uniformBaseInstance.location = type.getLayoutQualifier().location; - uniformBaseInstance.offset = type.getLayoutQualifier().offset; - uniformBaseInstance.readonly = type.getMemoryQualifier().readonly; - uniformBaseInstance.writeonly = type.getMemoryQualifier().writeonly; + uniformBaseInstance.binding = type->getLayoutQualifier().binding; + uniformBaseInstance.location = type->getLayoutQualifier().location; + uniformBaseInstance.offset = type->getLayoutQualifier().offset; + uniformBaseInstance.readonly = type->getMemoryQualifier().readonly; + uniformBaseInstance.writeonly = type->getMemoryQualifier().writeonly; addBaseInstance = true; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp index 2c6be15d6802..129956e52629 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp @@ -724,8 +724,8 @@ TIntermAggregate *EmulatePrecision::createRoundingFunctionCallNode(TIntermTyped const ImmutableString *roundFunctionName = &kAngleFrmString; if (roundedChild->getPrecision() == EbpLow) roundFunctionName = &kAngleFrlString; - TIntermSequence arguments; - arguments.push_back(roundedChild); + TIntermSequence *arguments = new TIntermSequence(); + arguments->push_back(roundedChild); TVector parameters; TType *paramType = new TType(roundedChild->getType()); @@ -736,9 +736,9 @@ TIntermAggregate *EmulatePrecision::createRoundingFunctionCallNode(TIntermTyped SymbolType::AngleInternal)); return TIntermAggregate::CreateRawFunctionCall( - *getInternalFunction(*roundFunctionName, roundedChild->getType(), &arguments, parameters, + *getInternalFunction(*roundFunctionName, roundedChild->getType(), arguments, parameters, true), - &arguments); + arguments); } TIntermAggregate *EmulatePrecision::createCompoundAssignmentFunctionCallNode(TIntermTyped *left, @@ -751,9 +751,9 @@ TIntermAggregate *EmulatePrecision::createCompoundAssignmentFunctionCallNode(TIn else strstr << "angle_compound_" << opNameStr << "_frl"; ImmutableString functionName = ImmutableString(strstr.str()); - TIntermSequence arguments; - arguments.push_back(left); - arguments.push_back(right); + TIntermSequence *arguments = new TIntermSequence(); + arguments->push_back(left); + arguments->push_back(right); TVector parameters; TType *leftParamType = new TType(left->getType()); @@ -770,8 +770,8 @@ TIntermAggregate *EmulatePrecision::createCompoundAssignmentFunctionCallNode(TIn SymbolType::AngleInternal)); return TIntermAggregate::CreateRawFunctionCall( - *getInternalFunction(functionName, left->getType(), &arguments, parameters, false), - &arguments); + *getInternalFunction(functionName, left->getType(), arguments, parameters, false), + arguments); } } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.cpp index 285a77c955e4..180099ab8625 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.cpp @@ -6,7 +6,7 @@ // Implementation of the integer pow expressions HLSL bug workaround. // See header for more info. -#include "compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.h" +#include "compiler/translator/tree_ops/ExpandIntegerPowExpressions.h" #include #include diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.h similarity index 81% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.h index ff0cac86be20..bc78e11bb668 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.h @@ -13,8 +13,8 @@ // The workaround is to replace the pow with a series of multiplies. // See http://anglebug.com/851 -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_EXPANDINTEGERPOWEXPRESSIONS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_EXPANDINTEGERPOWEXPRESSIONS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_EXPANDINTEGERPOWEXPRESSIONS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_EXPANDINTEGERPOWEXPRESSIONS_H_ #include "common/angleutils.h" @@ -31,4 +31,4 @@ ANGLE_NO_DISCARD bool ExpandIntegerPowExpressions(TCompiler *compiler, } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_EXPANDINTEGERPOWEXPRESSIONS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_EXPANDINTEGERPOWEXPRESSIONS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.cpp new file mode 100644 index 000000000000..04a2236076c9 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.cpp @@ -0,0 +1,100 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// FlagSamplersForTexelFetch.cpp: finds all instances of texelFetch used with a static reference to +// a sampler uniform, and flag that uniform as having been used with texelFetch +// + +#include "compiler/translator/tree_ops/FlagSamplersWithTexelFetch.h" + +#include "angle_gl.h" +#include "common/utilities.h" + +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" +#include "compiler/translator/tree_util/ReplaceVariable.h" + +namespace sh +{ +namespace +{ + +// gvec4 texelFetch(gsamplerXD sampler, ivecX P, int lod) +constexpr uint32_t kTexelFetchSequenceLength = 3u; + +// gvec4 texelFetchOffset(gsamplerXD sampler, ivecX P, int lod, ivecX offset) +constexpr uint32_t kTexelFetchOffsetSequenceLength = 4u; + +class FlagSamplersWithTexelFetchTraverser : public TIntermTraverser +{ + public: + FlagSamplersWithTexelFetchTraverser(TSymbolTable *symbolTable, + std::vector *uniforms) + : TIntermTraverser(true, true, true, symbolTable), mUniforms(uniforms) + {} + + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + // Decide if the node is a call to texelFetch[Offset] + if (node->getOp() != EOpCallBuiltInFunction) + { + return true; + } + + ASSERT(node->getFunction()->symbolType() == SymbolType::BuiltIn); + if (node->getFunction()->name() != "texelFetch" && + node->getFunction()->name() != "texelFetchOffset") + { + return true; + } + + const TIntermSequence *sequence = node->getSequence(); + + // This must be a valid texelFetch invokation with the required number of arguments + ASSERT(sequence->size() == (node->getFunction()->name() == "texelFetch" + ? kTexelFetchSequenceLength + : kTexelFetchOffsetSequenceLength)); + + TIntermSymbol *samplerSymbol = sequence->at(0)->getAsSymbolNode(); + ASSERT(samplerSymbol != nullptr); + + const TVariable &samplerVariable = samplerSymbol->variable(); + + for (ShaderVariable &uniform : *mUniforms) + { + if (samplerVariable.name() == uniform.name) + { + ASSERT(gl::IsSamplerType(uniform.type)); + uniform.texelFetchStaticUse = true; + break; + } + } + + return true; + } + + private: + std::vector *mUniforms; +}; + +} // anonymous namespace + +bool FlagSamplersForTexelFetch(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + std::vector *uniforms) +{ + ASSERT(uniforms != nullptr); + if (uniforms->size() > 0) + { + FlagSamplersWithTexelFetchTraverser traverser(symbolTable, uniforms); + root->traverse(&traverser); + } + + return true; +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.h new file mode 100644 index 000000000000..d5cb859c60cb --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.h @@ -0,0 +1,31 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// FlagSamplersForTexelFetch.h: finds all instances of texelFetch used with a static reference to a +// sampler uniform, and flag that uniform as having been used with texelFetch +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_FLAGSAMPLERSWITHTEXELFETCH_H_ +#define COMPILER_TRANSLATOR_TREEOPS_FLAGSAMPLERSWITHTEXELFETCH_H_ + +#include "GLSLANG/ShaderVars.h" +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; +class TSymbolTable; + +// This flags all samplers which are statically accessed by a texelFetch invokation- that is, the +// sampler is used as a direct argument to the call to texelFetch. Dynamic accesses, or accesses +// with any amount of indirection, are not counted. +ANGLE_NO_DISCARD bool FlagSamplersForTexelFetch(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + std::vector *uniforms); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_FLAGSAMPLERSWITHTEXELFETCH_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp deleted file mode 100644 index 00dd0131c648..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp +++ /dev/null @@ -1,101 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -#include "compiler/translator/tree_ops/ForcePrecisionQualifier.h" -#include "angle_gl.h" -#include "common/debug.h" -#include "compiler/translator/Compiler.h" -#include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/util.h" - -namespace sh -{ - -namespace -{ -class TPrecisionTraverser : public TIntermTraverser -{ - public: - TPrecisionTraverser(TSymbolTable *symbolTable); - - protected: - bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; - - void overwriteVariablePrecision(TType *type) const; -}; - -TPrecisionTraverser::TPrecisionTraverser(TSymbolTable *symbolTable) - : TIntermTraverser(true, true, true, symbolTable) -{} - -void TPrecisionTraverser::overwriteVariablePrecision(TType *type) const -{ - if (type->getPrecision() == EbpHigh) - { - type->setPrecision(EbpMedium); - } -} - -bool TPrecisionTraverser::visitDeclaration(Visit visit, TIntermDeclaration *node) -{ - // Variable declaration. - if (visit == PreVisit) - { - const TIntermSequence &sequence = *(node->getSequence()); - TIntermTyped *variable = sequence.front()->getAsTyped(); - const TType &type = variable->getType(); - TQualifier qualifier = variable->getQualifier(); - - // Don't modify uniform since it might be shared between vertex and fragment shader - if (qualifier == EvqUniform) - { - return true; - } - - // Visit the struct. - if (type.isStructSpecifier()) - { - const TStructure *structure = type.getStruct(); - const TFieldList &fields = structure->fields(); - for (size_t i = 0; i < fields.size(); ++i) - { - const TField *field = fields[i]; - const TType *fieldType = field->type(); - overwriteVariablePrecision((TType *)fieldType); - } - } - else if (type.getBasicType() == EbtInterfaceBlock) - { - const TInterfaceBlock *interfaceBlock = type.getInterfaceBlock(); - const TFieldList &fields = interfaceBlock->fields(); - for (const TField *field : fields) - { - const TType *fieldType = field->type(); - overwriteVariablePrecision((TType *)fieldType); - } - } - else - { - overwriteVariablePrecision((TType *)&type); - } - } - return true; -} -} // namespace - -bool ForceShaderPrecisionToMediump(TIntermNode *root, TSymbolTable *symbolTable, GLenum shaderType) -{ - if (shaderType != GL_FRAGMENT_SHADER) - { - return true; - } - - TPrecisionTraverser traverser(symbolTable); - root->traverse(&traverser); - return true; -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.h deleted file mode 100644 index c4cde254152f..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -#ifndef COMPILER_TRANSLATOR_TREEOPS_FORCEPRECISIONQUALIFIER_H_ -#define COMPILER_TRANSLATOR_TREEOPS_FORCEPRECISIONQUALIFIER_H_ - -#include "compiler/translator/tree_util/IntermTraverse.h" - -namespace sh -{ -bool ForceShaderPrecisionToMediump(TIntermNode *root, TSymbolTable *symbolTable, GLenum shaderType); -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEOPS_FORCEPRECISIONQUALIFIER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp index f13213a3027c..c5748a8ffaf8 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp @@ -199,10 +199,9 @@ void InsertInitCode(TCompiler *compiler, } ASSERT(initializedSymbol != nullptr); - TIntermSequence initCode; - CreateInitCode(initializedSymbol, canUseLoopsToInitialize, highPrecisionSupported, - &initCode, symbolTable); - mainBody->insert(mainBody->begin(), initCode.begin(), initCode.end()); + TIntermSequence *initCode = CreateInitCode(initializedSymbol, canUseLoopsToInitialize, + highPrecisionSupported, symbolTable); + mainBody->insert(mainBody->begin(), initCode->begin(), initCode->end()); } } @@ -252,10 +251,9 @@ class InitializeLocalsTraverser : public TIntermTraverser // about further declarators in this declaration depending on the effects of // this declarator. ASSERT(node->getSequence()->size() == 1); - TIntermSequence initCode; - CreateInitCode(symbol, mCanUseLoopsToInitialize, mHighPrecisionSupported, - &initCode, mSymbolTable); - insertStatementsInParentBlock(TIntermSequence(), initCode); + insertStatementsInParentBlock( + TIntermSequence(), *CreateInitCode(symbol, mCanUseLoopsToInitialize, + mHighPrecisionSupported, mSymbolTable)); } else { @@ -276,14 +274,15 @@ class InitializeLocalsTraverser : public TIntermTraverser } // namespace -void CreateInitCode(const TIntermTyped *initializedSymbol, - bool canUseLoopsToInitialize, - bool highPrecisionSupported, - TIntermSequence *initCode, - TSymbolTable *symbolTable) +TIntermSequence *CreateInitCode(const TIntermTyped *initializedSymbol, + bool canUseLoopsToInitialize, + bool highPrecisionSupported, + TSymbolTable *symbolTable) { + TIntermSequence *initCode = new TIntermSequence(); AddZeroInitSequence(initializedSymbol, canUseLoopsToInitialize, highPrecisionSupported, initCode, symbolTable); + return initCode; } bool InitializeUninitializedLocals(TCompiler *compiler, diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.h index ca3b642342e7..2b687aa79c0a 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/InitializeVariables.h @@ -22,13 +22,12 @@ typedef std::vector InitVariableList; // For all of the functions below: If canUseLoopsToInitialize is set, for loops are used instead of // a large number of initializers where it can make sense, such as for initializing large arrays. -// Populate a sequence of assignment operations to initialize "initializedSymbol". initializedSymbol +// Return a sequence of assignment operations to initialize "initializedSymbol". initializedSymbol // may be an array, struct or any combination of these, as long as it contains only basic types. -void CreateInitCode(const TIntermTyped *initializedSymbol, - bool canUseLoopsToInitialize, - bool highPrecisionSupported, - TIntermSequence *initCode, - TSymbolTable *symbolTable); +TIntermSequence *CreateInitCode(const TIntermTyped *initializedSymbol, + bool canUseLoopsToInitialize, + bool highPrecisionSupported, + TSymbolTable *symbolTable); // Initialize all uninitialized local variables, so that undefined behavior is avoided. ANGLE_NO_DISCARD bool InitializeUninitializedLocals(TCompiler *compiler, diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp new file mode 100644 index 000000000000..00438be30875 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp @@ -0,0 +1,101 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// NameEmbeddedUniformStructs: Gives nameless uniform struct internal names. +// + +#include "compiler/translator/tree_ops/NameEmbeddedUniformStructs.h" + +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ +namespace +{ +// This traverser translates embedded uniform structs into a specifier and declaration. +// This makes the declarations easier to move into uniform blocks. +class Traverser : public TIntermTraverser +{ + public: + explicit Traverser(TSymbolTable *symbolTable) + : TIntermTraverser(true, false, false, symbolTable) + {} + + bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override + { + ASSERT(visit == PreVisit); + + if (!mInGlobalScope) + { + return false; + } + + const TIntermSequence &sequence = *(decl->getSequence()); + ASSERT(sequence.size() == 1); + TIntermTyped *declarator = sequence.front()->getAsTyped(); + const TType &type = declarator->getType(); + + if (type.isStructSpecifier() && type.getQualifier() == EvqUniform) + { + const TStructure *structure = type.getStruct(); + + if (structure->symbolType() == SymbolType::Empty) + { + doReplacement(decl, declarator, structure); + } + } + + return false; + } + + private: + void doReplacement(TIntermDeclaration *decl, + TIntermTyped *declarator, + const TStructure *oldStructure) + { + // struct { ... }; + TStructure *structure = new TStructure(mSymbolTable, kEmptyImmutableString, + &oldStructure->fields(), SymbolType::AngleInternal); + TType *namedType = new TType(structure, true); + namedType->setQualifier(EvqGlobal); + + TVariable *structVariable = + new TVariable(mSymbolTable, kEmptyImmutableString, namedType, SymbolType::Empty); + TIntermSymbol *structDeclarator = new TIntermSymbol(structVariable); + TIntermDeclaration *structDeclaration = new TIntermDeclaration; + structDeclaration->appendDeclarator(structDeclarator); + + TIntermSequence *newSequence = new TIntermSequence; + newSequence->push_back(structDeclaration); + + // uniform ; + TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); + if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) + { + TIntermDeclaration *namedDecl = new TIntermDeclaration; + TType *uniformType = new TType(structure, false); + uniformType->setQualifier(EvqUniform); + + TVariable *newVar = new TVariable(mSymbolTable, asSymbol->getName(), uniformType, + asSymbol->variable().symbolType()); + TIntermSymbol *newSymbol = new TIntermSymbol(newVar); + namedDecl->appendDeclarator(newSymbol); + + newSequence->push_back(namedDecl); + } + + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), decl, *newSequence); + } +}; +} // anonymous namespace + +bool NameEmbeddedStructUniforms(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable) +{ + Traverser nameStructs(symbolTable); + root->traverse(&nameStructs); + return nameStructs.updateTree(compiler, root); +} +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.h new file mode 100644 index 000000000000..ee9d47595908 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.h @@ -0,0 +1,31 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// NameEmbeddedUniformStructs: Gives nameless uniform struct internal names. +// +// For example: +// uniform struct { int a; } uni; +// becomes: +// struct s1 { int a; }; +// uniform s1 uni; +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_NAMEEMBEDDEDUNIFORMSTRUCTS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_NAMEEMBEDDEDUNIFORMSTRUCTS_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; +class TSymbolTable; + +ANGLE_NO_DISCARD bool NameEmbeddedStructUniforms(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_NAMEEMBEDDEDUNIFORMSTRUCTS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp index 2fef999d353c..289de2152e9c 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp @@ -104,8 +104,8 @@ bool PruneEmptyCasesTraverser::visitSwitch(Visit visit, TIntermSwitch *node) { TIntermSequence emptyReplacement; ASSERT(getParentNode()->getAsBlock()); - mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, - std::move(emptyReplacement)); + mMultiReplacements.push_back(NodeReplaceWithMultipleEntry(getParentNode()->getAsBlock(), + node, emptyReplacement)); } return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp index b150b3275dbb..c62b9dcc07c2 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp @@ -82,8 +82,8 @@ bool PruneNoOpsTraverser::visitDeclaration(Visit, TIntermDeclaration *node) // float a; // This applies also to struct declarations. TIntermSequence emptyReplacement; - mMultiReplacements.emplace_back(node, declaratorSymbol, - std::move(emptyReplacement)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(node, declaratorSymbol, emptyReplacement)); } else if (declaratorSymbol->getBasicType() != EbtStruct) { @@ -134,7 +134,8 @@ bool PruneNoOpsTraverser::visitBlock(Visit visit, TIntermBlock *node) if (IsNoOp(statement)) { TIntermSequence emptyReplacement; - mMultiReplacements.emplace_back(node, statement, std::move(emptyReplacement)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(node, statement, emptyReplacement)); } } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp index 434fc0e632ee..4d7253acd872 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp @@ -14,7 +14,7 @@ // in case that is required for correct precision propagation. // -#include "compiler/translator/tree_ops/gl/RecordConstantPrecision.h" +#include "compiler/translator/tree_ops/RecordConstantPrecision.h" #include "compiler/translator/InfoSink.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.h similarity index 85% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.h index bf37100ddb51..b3ebb8c32f40 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.h @@ -14,8 +14,8 @@ // in case that is required for correct precision propagation. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_RECORDCONSTANTPRECISION_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_RECORDCONSTANTPRECISION_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_RECORDCONSTANTPRECISION_H_ +#define COMPILER_TRANSLATOR_TREEOPS_RECORDCONSTANTPRECISION_H_ #include "common/angleutils.h" @@ -30,4 +30,4 @@ ANGLE_NO_DISCARD bool RecordConstantPrecision(TCompiler *compiler, TSymbolTable *symbolTable); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_RECORDCONSTANTPRECISION_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_RECORDCONSTANTPRECISION_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.cpp new file mode 100644 index 000000000000..371fb3f5ded2 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.cpp @@ -0,0 +1,269 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RecordUniformBlocksTranslatedToStructuredBuffers.cpp: +// Collect all uniform blocks which will been translated to StructuredBuffers on Direct3D +// backend. +// + +#include "compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h" + +#include "compiler/translator/Compiler.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ + +namespace +{ +// Only when a uniform block member's array size is greater than or equal to +// kMinArraySizeUseStructuredBuffer, then we may translate the uniform block +// to a StructuredBuffer on Direct3D backend. +const unsigned int kMinArraySizeUseStructuredBuffer = 50u; + +// There is a maximum of D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT(128) slots that are available +// for shader resources on Direct3D 11. When shader version is 300, we only use +// D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT(16) slots for texture units. We allow StructuredBuffer to +// use the maximum of 60 slots, that is enough here. +const unsigned int kMaxAllowToUseRegisterCount = 60u; + +// Traverser that collects all uniform blocks which will been translated to StructuredBuffer on +// Direct3D backend. +class UniformBlockTranslatedToStructuredBufferTraverser : public TIntermTraverser +{ + public: + UniformBlockTranslatedToStructuredBufferTraverser(); + + void visitSymbol(TIntermSymbol *node) override; + bool visitBinary(Visit visit, TIntermBinary *node) override; + std::map &getUniformBlockMayTranslation() + { + return mUniformBlockMayTranslation; + } + std::map &getUniformBlockNotAllowTranslation() + { + return mUniformBlockNotAllowTranslation; + } + std::map &getUniformBlockUsedRegisterCount() + { + return mUniformBlockUsedRegisterCount; + } + + private: + void parseAccessWholeUniformBlock(TIntermTyped *node); + std::map mUniformBlockMayTranslation; + std::map mUniformBlockNotAllowTranslation; + std::map mUniformBlockUsedRegisterCount; +}; + +UniformBlockTranslatedToStructuredBufferTraverser:: + UniformBlockTranslatedToStructuredBufferTraverser() + : TIntermTraverser(true, false, false) +{} + +static bool IsSupportedTypeForStructuredBuffer(const TType &type) +{ + const TStructure *structure = type.getStruct(); + if (structure) + { + const TFieldList &fields = structure->fields(); + for (size_t i = 0; i < fields.size(); i++) + { + // Do not allow the structure's member is array or structure. + if (fields[i]->type()->isArray() || fields[i]->type()->getStruct() || + !IsSupportedTypeForStructuredBuffer(*fields[i]->type())) + { + return false; + } + } + return true; + } + else if (type.isMatrix()) + { + // Only supports the matrix types that we do not need to pad in a structure or an array + // explicitly. + return (type.getLayoutQualifier().matrixPacking != EmpRowMajor && type.getRows() == 4) || + (type.getLayoutQualifier().matrixPacking == EmpRowMajor && type.getCols() == 4); + } + else + { + // Supports vector and scalar types in a structure or an array. + return true; + } +} + +static bool CanTranslateUniformBlockToStructuredBuffer(const TInterfaceBlock &interfaceBlock) +{ + const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); + + if (blockStorage == EbsStd140 && interfaceBlock.fields().size() == 1u) + { + const TType &fieldType = *interfaceBlock.fields()[0]->type(); + if (fieldType.getNumArraySizes() == 1u && + fieldType.getOutermostArraySize() >= kMinArraySizeUseStructuredBuffer) + { + return IsSupportedTypeForStructuredBuffer(fieldType); + } + } + + return false; +} + +void UniformBlockTranslatedToStructuredBufferTraverser::visitSymbol(TIntermSymbol *node) +{ + const TVariable &variable = node->variable(); + const TType &variableType = variable.getType(); + TQualifier qualifier = variable.getType().getQualifier(); + + if (qualifier == EvqUniform) + { + const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); + if (interfaceBlock && CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock)) + { + if (mUniformBlockMayTranslation.count(interfaceBlock->uniqueId().get()) == 0) + { + mUniformBlockMayTranslation[interfaceBlock->uniqueId().get()] = interfaceBlock; + } + + if (!variableType.isInterfaceBlock()) + { + TIntermNode *accessor = getAncestorNode(0); + TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); + // The uniform block variable is array type, only indexing operator is allowed to + // operate on the variable, otherwise do not translate the uniform block to HLSL + // StructuredBuffer. + if (!accessorAsBinary || + !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || + accessorAsBinary->getOp() == EOpIndexIndirect))) + { + if (mUniformBlockNotAllowTranslation.count(interfaceBlock->uniqueId().get()) == + 0) + { + mUniformBlockNotAllowTranslation[interfaceBlock->uniqueId().get()] = + interfaceBlock; + } + } + else + { + if (mUniformBlockUsedRegisterCount.count(interfaceBlock->uniqueId().get()) == 0) + { + // The uniform block is not an instanced one, so it only uses one register. + mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = 1; + } + } + } + else + { + if (mUniformBlockUsedRegisterCount.count(interfaceBlock->uniqueId().get()) == 0) + { + // The uniform block is an instanced one, the count of used registers depends on + // the array size of variable. + mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = + variableType.isArray() ? variableType.getOutermostArraySize() : 1; + } + } + } + } +} + +bool UniformBlockTranslatedToStructuredBufferTraverser::visitBinary(Visit visit, + TIntermBinary *node) +{ + switch (node->getOp()) + { + case EOpIndexDirect: + { + if (visit == PreVisit) + { + const TType &leftType = node->getLeft()->getType(); + if (leftType.isInterfaceBlock()) + { + const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); + if (CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock) && + mUniformBlockMayTranslation.count(interfaceBlock->uniqueId().get()) == 0) + { + mUniformBlockMayTranslation[interfaceBlock->uniqueId().get()] = + interfaceBlock; + if (mUniformBlockUsedRegisterCount.count( + interfaceBlock->uniqueId().get()) == 0) + { + // The uniform block is an instanced one, the count of used registers + // depends on the array size of variable. + mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = + leftType.isArray() ? leftType.getOutermostArraySize() : 1; + } + return false; + } + } + } + break; + } + case EOpIndexDirectInterfaceBlock: + { + if (visit == InVisit) + { + const TInterfaceBlock *interfaceBlock = + node->getLeft()->getType().getInterfaceBlock(); + if (CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock)) + { + TIntermNode *accessor = getAncestorNode(0); + TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); + // The uniform block variable is array type, only indexing operator is allowed + // to operate on the + // variable, otherwise do not translate the uniform block to HLSL + // StructuredBuffer. + if ((!accessorAsBinary || + !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || + accessorAsBinary->getOp() == EOpIndexIndirect))) && + mUniformBlockNotAllowTranslation.count(interfaceBlock->uniqueId().get()) == + 0) + { + mUniformBlockNotAllowTranslation[interfaceBlock->uniqueId().get()] = + interfaceBlock; + return false; + } + } + } + break; + } + default: + break; + } + + return true; +} +} // namespace + +bool RecordUniformBlocksTranslatedToStructuredBuffers( + TIntermNode *root, + std::map &uniformBlockTranslatedToStructuredBuffer) +{ + UniformBlockTranslatedToStructuredBufferTraverser traverser; + root->traverse(&traverser); + std::map &uniformBlockMayTranslation = + traverser.getUniformBlockMayTranslation(); + std::map &uniformBlockNotAllowTranslation = + traverser.getUniformBlockNotAllowTranslation(); + std::map &uniformBlockUsedRegisterCount = + traverser.getUniformBlockUsedRegisterCount(); + + unsigned int usedRegisterCount = 0; + for (auto &uniformBlock : uniformBlockMayTranslation) + { + if (uniformBlockNotAllowTranslation.count(uniformBlock.first) == 0) + { + usedRegisterCount += uniformBlockUsedRegisterCount[uniformBlock.first]; + if (usedRegisterCount > kMaxAllowToUseRegisterCount) + { + break; + } + uniformBlockTranslatedToStructuredBuffer[uniformBlock.first] = uniformBlock.second; + } + } + return true; +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h new file mode 100644 index 000000000000..ba90cf674177 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.h @@ -0,0 +1,25 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RecordUniformBlocksTranslatedToStructuredBuffers.h: +// Collect all uniform blocks which will been translated to StructuredBuffers on Direct3D +// backend. +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_RECORDUNIFORMBLOCKSTRANSLATEDTOSTRUCTUREDBUFFERS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_RECORDUNIFORMBLOCKSTRANSLATEDTOSTRUCTUREDBUFFERS_H_ + +#include "compiler/translator/IntermNode.h" + +namespace sh +{ +class TIntermNode; + +ANGLE_NO_DISCARD bool RecordUniformBlocksTranslatedToStructuredBuffers( + TIntermNode *root, + std::map &uniformBlockTranslatedToStructuredBuffer); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_RECORDACCESSUNIFORMBLOCKENTIREARRAYMEMBER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.cpp similarity index 69% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.cpp index e15ef32166c2..530cccb34963 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.cpp @@ -4,15 +4,10 @@ // found in the LICENSE file. // -#include "compiler/translator/tree_ops/gl/RegenerateStructNames.h" +#include "compiler/translator/tree_ops/RegenerateStructNames.h" #include "common/debug.h" -#include "compiler/translator/Compiler.h" #include "compiler/translator/ImmutableStringBuilder.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/IntermTraverse.h" - -#include namespace sh { @@ -22,27 +17,7 @@ namespace constexpr const ImmutableString kPrefix("_webgl_struct_"); } // anonymous namespace -class RegenerateStructNamesTraverser : public TIntermTraverser -{ - public: - RegenerateStructNamesTraverser(TSymbolTable *symbolTable) - : TIntermTraverser(true, false, false, symbolTable), mScopeDepth(0) - {} - - protected: - void visitSymbol(TIntermSymbol *) override; - bool visitBlock(Visit, TIntermBlock *block) override; - - private: - // Indicating the depth of the current scope. - // The global scope is 1. - int mScopeDepth; - - // If a struct is declared globally, push its ID in this set. - std::set mDeclaredGlobalStructs; -}; - -void RegenerateStructNamesTraverser::visitSymbol(TIntermSymbol *symbol) +void RegenerateStructNames::visitSymbol(TIntermSymbol *symbol) { ASSERT(symbol); const TType &type = symbol->getType(); @@ -97,7 +72,7 @@ void RegenerateStructNamesTraverser::visitSymbol(TIntermSymbol *symbol) const_cast(userType)->setName(tmp); } -bool RegenerateStructNamesTraverser::visitBlock(Visit, TIntermBlock *block) +bool RegenerateStructNames::visitBlock(Visit, TIntermBlock *block) { ++mScopeDepth; TIntermSequence &sequence = *(block->getSequence()); @@ -109,11 +84,4 @@ bool RegenerateStructNamesTraverser::visitBlock(Visit, TIntermBlock *block) return false; } -bool RegenerateStructNames(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable) -{ - RegenerateStructNamesTraverser traverser(symbolTable); - root->traverse(&traverser); - return compiler->validateAST(root); -} - } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.h new file mode 100644 index 000000000000..2fa0d80e4eaf --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RegenerateStructNames.h @@ -0,0 +1,40 @@ +// +// Copyright 2002 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REGENERATESTRUCTNAMES_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REGENERATESTRUCTNAMES_H_ + +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +#include + +namespace sh +{ + +class RegenerateStructNames : public TIntermTraverser +{ + public: + RegenerateStructNames(TSymbolTable *symbolTable) + : TIntermTraverser(true, false, false, symbolTable), mScopeDepth(0) + {} + + protected: + void visitSymbol(TIntermSymbol *) override; + bool visitBlock(Visit, TIntermBlock *block) override; + + private: + // Indicating the depth of the current scope. + // The global scope is 1. + int mScopeDepth; + + // If a struct's declared globally, push its ID in this set. + std::set mDeclaredGlobalStructs; +}; + +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REGENERATESTRUCTNAMES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp index 85ecb9346bcf..0c3bf14cd9fe 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp @@ -42,8 +42,6 @@ class RemoveArrayLengthTraverser : public TIntermTraverser bool foundArrayLength() const { return mFoundArrayLength; } private: - void insertSideEffectsInParentBlock(TIntermTyped *node); - bool mFoundArrayLength; }; @@ -53,7 +51,12 @@ bool RemoveArrayLengthTraverser::visitUnary(Visit visit, TIntermUnary *node) if (node->getOp() == EOpArrayLength && !node->getOperand()->getType().isUnsizedArray()) { mFoundArrayLength = true; - insertSideEffectsInParentBlock(node->getOperand()); + if (!node->getOperand()->hasSideEffects()) + { + queueReplacement(node->fold(nullptr), OriginalNode::IS_DROPPED); + return false; + } + insertStatementInParentBlock(node->getOperand()->deepCopy()); TConstantUnion *constArray = new TConstantUnion[1]; constArray->setIConst(node->getOperand()->getOutermostArraySize()); queueReplacement(new TIntermConstantUnion(constArray, node->getType()), @@ -63,28 +66,6 @@ bool RemoveArrayLengthTraverser::visitUnary(Visit visit, TIntermUnary *node) return true; } -void RemoveArrayLengthTraverser::insertSideEffectsInParentBlock(TIntermTyped *node) -{ - // If the node is an index type, traverse it and add the indices as side effects. If at the end - // an expression without side effect is encountered, such as an opaque uniform or a lone symbol, - // don't generate a statement for it. - if (!node->hasSideEffects()) - { - return; - } - - TIntermBinary *asBinary = node->getAsBinaryNode(); - if (asBinary && !asBinary->isAssignment()) - { - insertSideEffectsInParentBlock(asBinary->getLeft()); - insertSideEffectsInParentBlock(asBinary->getRight()); - } - else - { - insertStatementInParentBlock(node); - } -} - } // anonymous namespace bool RemoveArrayLengthMethod(TCompiler *compiler, TIntermBlock *root) diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp new file mode 100644 index 000000000000..06dc574af980 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp @@ -0,0 +1,73 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemoveAtomicCounterBuiltins: Remove atomic counter builtins. +// + +#include "compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h" + +#include "compiler/translator/Compiler.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ +namespace +{ + +bool IsAtomicCounterDecl(const TIntermDeclaration *node) +{ + const TIntermSequence &sequence = *(node->getSequence()); + TIntermTyped *variable = sequence.front()->getAsTyped(); + const TType &type = variable->getType(); + return type.getQualifier() == EvqUniform && type.isAtomicCounter(); +} + +// Traverser that removes all GLSL built-ins that use AtomicCounters +// Only called when the builtins are in use, but no atomic counters have been declared +class RemoveAtomicCounterBuiltinsTraverser : public TIntermTraverser +{ + public: + RemoveAtomicCounterBuiltinsTraverser() : TIntermTraverser(true, false, false) {} + + bool visitDeclaration(Visit visit, TIntermDeclaration *node) override + { + ASSERT(visit == PreVisit); + + // Active atomic counters should have been removed by RewriteAtomicCounters, and this + // traversal should not have been invoked + ASSERT(!IsAtomicCounterDecl(node)); + return false; + } + + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (node->getOp() == EOpMemoryBarrierAtomicCounter) + { + // Vulkan does not support atomic counters, so if this builtin finds its way here, + // we need to remove it. + TIntermSequence emptySequence; + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, emptySequence); + return true; + } + + // We shouldn't see any other builtins because they cannot be present without an active + // atomic counter, and should have been removed by RewriteAtomicCounters. If this fires, + // this traversal should not have been called. + ASSERT(!(node->getOp() == EOpCallBuiltInFunction && + node->getFunction()->isAtomicCounterFunction())); + + return false; + } +}; + +} // anonymous namespace + +bool RemoveAtomicCounterBuiltins(TCompiler *compiler, TIntermBlock *root) +{ + RemoveAtomicCounterBuiltinsTraverser traverser; + root->traverse(&traverser); + return traverser.updateTree(compiler, root); +} +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h new file mode 100644 index 000000000000..ff673ad0e07a --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h @@ -0,0 +1,24 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemoveAtomicCounterBuiltins: Remove atomic counter builtins. +// Normally handled by RewriteAtomicCounters, but that is only invoked when +// atomic counters are actually in use. This pass removes the builtins and +// asserts no atomic counters are declared. + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REMOVEATOMICCOUNTERBUILTINS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REMOVEATOMICCOUNTERBUILTINS_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; + +ANGLE_NO_DISCARD bool RemoveAtomicCounterBuiltins(TCompiler *compiler, TIntermBlock *root); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REMOVEATOMICCOUNTERBUILTINS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp index 7c6904420d27..3c88fa3abf9c 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp @@ -82,9 +82,9 @@ TIntermTyped *EnsureSignedInt(TIntermTyped *node) if (node->getBasicType() == EbtInt) return node; - TIntermSequence arguments; - arguments.push_back(node); - return TIntermAggregate::CreateConstructor(TType(EbtInt), &arguments); + TIntermSequence *arguments = new TIntermSequence(); + arguments->push_back(node); + return TIntermAggregate::CreateConstructor(TType(EbtInt), arguments); } TType *GetFieldType(const TType &indexedType) @@ -329,12 +329,12 @@ TIntermAggregate *CreateIndexFunctionCall(TIntermBinary *node, TFunction *indexingFunction) { ASSERT(node->getOp() == EOpIndexIndirect); - TIntermSequence arguments; - arguments.push_back(node->getLeft()); - arguments.push_back(index); + TIntermSequence *arguments = new TIntermSequence(); + arguments->push_back(node->getLeft()); + arguments->push_back(index); TIntermAggregate *indexingCall = - TIntermAggregate::CreateFunctionCall(*indexingFunction, &arguments); + TIntermAggregate::CreateFunctionCall(*indexingFunction, arguments); indexingCall->setLine(node->getLine()); return indexingCall; } @@ -345,14 +345,14 @@ TIntermAggregate *CreateIndexedWriteFunctionCall(TIntermBinary *node, TFunction *indexedWriteFunction) { ASSERT(node->getOp() == EOpIndexIndirect); - TIntermSequence arguments; + TIntermSequence *arguments = new TIntermSequence(); // Deep copy the child nodes so that two pointers to the same node don't end up in the tree. - arguments.push_back(node->getLeft()->deepCopy()); - arguments.push_back(CreateTempSymbolNode(index)); - arguments.push_back(CreateTempSymbolNode(writtenValue)); + arguments->push_back(node->getLeft()->deepCopy()); + arguments->push_back(CreateTempSymbolNode(index)); + arguments->push_back(CreateTempSymbolNode(writtenValue)); TIntermAggregate *indexedWriteCall = - TIntermAggregate::CreateFunctionCall(*indexedWriteFunction, &arguments); + TIntermAggregate::CreateFunctionCall(*indexedWriteFunction, arguments); indexedWriteCall->setLine(node->getLine()); return indexedWriteCall; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp new file mode 100644 index 000000000000..51ea9583e1ac --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp @@ -0,0 +1,146 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemoveInactiveInterfaceVariables.h: +// Drop shader interface variable declarations for those that are inactive. +// + +#include "compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h" + +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermTraverse.h" +#include "compiler/translator/util.h" + +namespace sh +{ + +namespace +{ + +// Traverser that removes all declarations that correspond to inactive variables. +class RemoveInactiveInterfaceVariablesTraverser : public TIntermTraverser +{ + public: + RemoveInactiveInterfaceVariablesTraverser( + const std::vector &attributes, + const std::vector &inputVaryings, + const std::vector &outputVariables, + const std::vector &uniforms, + const std::vector &interfaceBlocks); + + bool visitDeclaration(Visit visit, TIntermDeclaration *node) override; + + private: + const std::vector &mAttributes; + const std::vector &mInputVaryings; + const std::vector &mOutputVariables; + const std::vector &mUniforms; + const std::vector &mInterfaceBlocks; +}; + +RemoveInactiveInterfaceVariablesTraverser::RemoveInactiveInterfaceVariablesTraverser( + const std::vector &attributes, + const std::vector &inputVaryings, + const std::vector &outputVariables, + const std::vector &uniforms, + const std::vector &interfaceBlocks) + : TIntermTraverser(true, false, false), + mAttributes(attributes), + mInputVaryings(inputVaryings), + mOutputVariables(outputVariables), + mUniforms(uniforms), + mInterfaceBlocks(interfaceBlocks) +{} + +template +bool IsVariableActive(const std::vector &mVars, const ImmutableString &name) +{ + for (const Variable &var : mVars) + { + if (name == var.name) + { + return var.active; + } + } + UNREACHABLE(); + return true; +} + +bool RemoveInactiveInterfaceVariablesTraverser::visitDeclaration(Visit visit, + TIntermDeclaration *node) +{ + // SeparateDeclarations should have already been run. + ASSERT(node->getSequence()->size() == 1u); + + TIntermTyped *declarator = node->getSequence()->front()->getAsTyped(); + ASSERT(declarator); + + TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); + if (!asSymbol) + { + return false; + } + + const TType &type = declarator->getType(); + + // Remove all shader interface variables except outputs, i.e. uniforms, interface blocks and + // inputs. + // + // Imagine a situation where the VS doesn't write to a varying but the FS reads from it. This + // is allowed, though the value of the varying is undefined. If the varying is removed here, + // the situation is changed to VS not declaring the varying, but the FS reading from it, which + // is not allowed. That's why inactive shader outputs are not removed. + // + // Inactive fragment shader outputs can be removed though, as there is no next stage. + bool removeDeclaration = false; + const TQualifier qualifier = type.getQualifier(); + + if (type.isInterfaceBlock()) + { + removeDeclaration = !IsVariableActive(mInterfaceBlocks, type.getInterfaceBlock()->name()); + } + else if (qualifier == EvqUniform) + { + removeDeclaration = !IsVariableActive(mUniforms, asSymbol->getName()); + } + else if (qualifier == EvqAttribute || qualifier == EvqVertexIn) + { + removeDeclaration = !IsVariableActive(mAttributes, asSymbol->getName()); + } + else if (IsShaderIn(qualifier)) + { + removeDeclaration = !IsVariableActive(mInputVaryings, asSymbol->getName()); + } + else if (qualifier == EvqFragmentOut) + { + removeDeclaration = !IsVariableActive(mOutputVariables, asSymbol->getName()); + } + + if (removeDeclaration) + { + TIntermSequence emptySequence; + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, emptySequence); + } + + return false; +} + +} // namespace + +bool RemoveInactiveInterfaceVariables(TCompiler *compiler, + TIntermBlock *root, + const std::vector &attributes, + const std::vector &inputVaryings, + const std::vector &outputVariables, + const std::vector &uniforms, + const std::vector &interfaceBlocks) +{ + RemoveInactiveInterfaceVariablesTraverser traverser(attributes, inputVaryings, outputVariables, + uniforms, interfaceBlocks); + root->traverse(&traverser); + return traverser.updateTree(compiler, root); +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h new file mode 100644 index 000000000000..3b3aced5daa3 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h @@ -0,0 +1,40 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemoveInactiveInterfaceVariables.h: +// Drop shader interface variable declarations for those that are inactive. This step needs to be +// done after CollectVariables. This avoids having to emulate them (e.g. atomic counters for +// Vulkan) or remove them in glslang wrapper (again, for Vulkan). +// +// Shouldn't be run for the GL backend, as it queries shader interface variables from GL itself, +// instead of relying on what was gathered during CollectVariables. +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REMOVEINACTIVEVARIABLES_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REMOVEINACTIVEVARIABLES_H_ + +#include "common/angleutils.h" + +namespace sh +{ + +struct InterfaceBlock; +struct ShaderVariable; +class TCompiler; +class TIntermBlock; +class TSymbolTable; + +ANGLE_NO_DISCARD bool RemoveInactiveInterfaceVariables( + TCompiler *compiler, + TIntermBlock *root, + const std::vector &attributes, + const std::vector &inputVaryings, + const std::vector &outputVariables, + const std::vector &uniforms, + const std::vector &interfaceBlocks); + +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REMOVEINACTIVEVARIABLES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp index 5a8ca441507e..f195f5455bdf 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp @@ -28,8 +28,8 @@ class RemoveInvariantDeclarationTraverser : public TIntermTraverser if (node->isInvariant()) { TIntermSequence emptyReplacement; - mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, - std::move(emptyReplacement)); + mMultiReplacements.push_back(NodeReplaceWithMultipleEntry(getParentNode()->getAsBlock(), + node, emptyReplacement)); } return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.cpp new file mode 100644 index 000000000000..e34f9fe00a0f --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.cpp @@ -0,0 +1,106 @@ +// +// Copyright 2002 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemovePow is an AST traverser to convert pow(x, y) built-in calls where y is a +// constant to exp2(y * log2(x)). This works around an issue in NVIDIA 311 series +// OpenGL drivers. +// + +#include "compiler/translator/tree_ops/RemovePow.h" + +#include "compiler/translator/InfoSink.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ + +namespace +{ + +bool IsProblematicPow(TIntermTyped *node) +{ + TIntermAggregate *agg = node->getAsAggregate(); + if (agg != nullptr && agg->getOp() == EOpPow) + { + ASSERT(agg->getSequence()->size() == 2); + return agg->getSequence()->at(1)->getAsConstantUnion() != nullptr; + } + return false; +} + +// Traverser that converts all pow operations simultaneously. +class RemovePowTraverser : public TIntermTraverser +{ + public: + RemovePowTraverser(TSymbolTable *symbolTable); + + bool visitAggregate(Visit visit, TIntermAggregate *node) override; + + void nextIteration() { mNeedAnotherIteration = false; } + bool needAnotherIteration() const { return mNeedAnotherIteration; } + + protected: + bool mNeedAnotherIteration; +}; + +RemovePowTraverser::RemovePowTraverser(TSymbolTable *symbolTable) + : TIntermTraverser(true, false, false, symbolTable), mNeedAnotherIteration(false) +{} + +bool RemovePowTraverser::visitAggregate(Visit visit, TIntermAggregate *node) +{ + if (IsProblematicPow(node)) + { + TIntermTyped *x = node->getSequence()->at(0)->getAsTyped(); + TIntermTyped *y = node->getSequence()->at(1)->getAsTyped(); + + TIntermSequence *logArgs = new TIntermSequence(); + logArgs->push_back(x); + TIntermTyped *log = CreateBuiltInFunctionCallNode("log2", logArgs, *mSymbolTable, 100); + log->setLine(node->getLine()); + + TOperator op = TIntermBinary::GetMulOpBasedOnOperands(y->getType(), log->getType()); + TIntermBinary *mul = new TIntermBinary(op, y, log); + mul->setLine(node->getLine()); + + TIntermSequence *expArgs = new TIntermSequence(); + expArgs->push_back(mul); + TIntermTyped *exp = CreateBuiltInFunctionCallNode("exp2", expArgs, *mSymbolTable, 100); + exp->setLine(node->getLine()); + + queueReplacement(exp, OriginalNode::IS_DROPPED); + + // If the x parameter also needs to be replaced, we need to do that in another traversal, + // since it's parent node will change in a way that's not handled correctly by updateTree(). + if (IsProblematicPow(x)) + { + mNeedAnotherIteration = true; + return false; + } + } + return true; +} + +} // namespace + +bool RemovePow(TCompiler *compiler, TIntermNode *root, TSymbolTable *symbolTable) +{ + RemovePowTraverser traverser(symbolTable); + // Iterate as necessary, and reset the traverser between iterations. + do + { + traverser.nextIteration(); + root->traverse(&traverser); + if (!traverser.updateTree(compiler, root)) + { + return false; + } + } while (traverser.needAnotherIteration()); + + return true; +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.h new file mode 100644 index 000000000000..f23fa0b7b56c --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemovePow.h @@ -0,0 +1,25 @@ +// +// Copyright 2002 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RemovePow is an AST traverser to convert pow(x, y) built-in calls where y is a +// constant to exp2(y * log2(x)). This works around an issue in NVIDIA 311 series +// OpenGL drivers. +// + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REMOVEPOW_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REMOVEPOW_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermNode; +class TSymbolTable; + +ANGLE_NO_DISCARD bool RemovePow(TCompiler *compiler, TIntermNode *root, TSymbolTable *symbolTable); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REMOVEPOW_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.cpp similarity index 99% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.cpp index 6360f1083cef..4500aea4e482 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.cpp @@ -8,7 +8,7 @@ // by this function. It leaves duplicate nodes in the AST making replacements // unreliable. -#include "compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.h" +#include "compiler/translator/tree_ops/RemoveSwitchFallThrough.h" #include "compiler/translator/Diagnostics.h" #include "compiler/translator/tree_util/IntermTraverse.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.h similarity index 79% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.h index b92e7e5f6d66..fb45d7cb0420 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.h @@ -8,8 +8,8 @@ // by this function. It leaves duplicate nodes in the AST making replacements // unreliable. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_REMOVESWITCHFALLTHROUGH_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_REMOVESWITCHFALLTHROUGH_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REMOVESWITCHFALLTHROUGH_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REMOVESWITCHFALLTHROUGH_H_ namespace sh { @@ -24,4 +24,4 @@ TIntermBlock *RemoveSwitchFallThrough(TIntermBlock *statementList, } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_REMOVESWITCHFALLTHROUGH_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REMOVESWITCHFALLTHROUGH_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp index b87ad33633d5..a449ba535b00 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp @@ -24,7 +24,7 @@ class CollectVariableRefCountsTraverser : public TIntermTraverser public: CollectVariableRefCountsTraverser(); - using RefCountMap = angle::HashMap; + using RefCountMap = std::unordered_map; RefCountMap &getSymbolIdRefCounts() { return mSymbolIdRefCounts; } RefCountMap &getStructIdRefCounts() { return mStructIdRefCounts; } @@ -216,8 +216,8 @@ void RemoveUnreferencedVariablesTraverser::removeVariableDeclaration(TIntermDecl if (getParentNode()->getAsBlock()) { TIntermSequence emptyReplacement; - mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, - std::move(emptyReplacement)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(getParentNode()->getAsBlock(), node, emptyReplacement)); } else { diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp new file mode 100644 index 000000000000..ba25984e9134 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp @@ -0,0 +1,676 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteAtomicCounters: Emulate atomic counter buffers with storage buffers. +// + +#include "compiler/translator/tree_ops/RewriteAtomicCounters.h" + +#include "compiler/translator/Compiler.h" +#include "compiler/translator/ImmutableStringBuilder.h" +#include "compiler/translator/StaticType.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" +#include "compiler/translator/tree_util/ReplaceVariable.h" + +namespace sh +{ +namespace +{ +constexpr ImmutableString kAtomicCounterTypeName = ImmutableString("ANGLE_atomic_uint"); +constexpr ImmutableString kAtomicCountersVarName = ImmutableString("atomicCounters"); +constexpr ImmutableString kAtomicCounterFieldName = ImmutableString("counters"); + +// DeclareAtomicCountersBuffer adds a storage buffer array that's used with atomic counters. +const TVariable *DeclareAtomicCountersBuffers(TIntermBlock *root, TSymbolTable *symbolTable) +{ + // Define `uint counters[];` as the only field in the interface block. + TFieldList *fieldList = new TFieldList; + TType *counterType = new TType(EbtUInt); + counterType->makeArray(0); + + TField *countersField = + new TField(counterType, kAtomicCounterFieldName, TSourceLoc(), SymbolType::AngleInternal); + + fieldList->push_back(countersField); + + TMemoryQualifier coherentMemory = TMemoryQualifier::Create(); + coherentMemory.coherent = true; + + // There are a maximum of 8 atomic counter buffers per IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS + // in libANGLE/Constants.h. + constexpr uint32_t kMaxAtomicCounterBuffers = 8; + + // Define a storage block "ANGLEAtomicCounters" with instance name "atomicCounters". + return DeclareInterfaceBlock( + root, symbolTable, fieldList, EvqBuffer, coherentMemory, kMaxAtomicCounterBuffers, + ImmutableString(vk::kAtomicCountersBlockName), kAtomicCountersVarName); +} + +TIntermConstantUnion *CreateUIntConstant(uint32_t value) +{ + TType *constantType = new TType(*StaticType::GetBasic()); + constantType->setQualifier(EvqConst); + + TConstantUnion *constantValue = new TConstantUnion; + constantValue->setUConst(value); + return new TIntermConstantUnion(constantValue, *constantType); +} + +TIntermTyped *CreateAtomicCounterConstant(TType *atomicCounterType, + uint32_t binding, + uint32_t offset) +{ + ASSERT(atomicCounterType->getBasicType() == EbtStruct); + + TIntermSequence *arguments = new TIntermSequence(); + arguments->push_back(CreateUIntConstant(binding)); + arguments->push_back(CreateUIntConstant(offset)); + + return TIntermAggregate::CreateConstructor(*atomicCounterType, arguments); +} + +TIntermBinary *CreateAtomicCounterRef(const TVariable *atomicCounters, + const TIntermTyped *bindingOffset, + const TIntermTyped *bufferOffsets) +{ + // The atomic counters storage buffer declaration looks as such: + // + // layout(...) buffer ANGLEAtomicCounters + // { + // uint counters[]; + // } atomicCounters[N]; + // + // Where N is large enough to accommodate atomic counter buffer bindings used in the shader. + // + // Given an ANGLEAtomicCounter variable (which is a struct of {binding, offset}), we need to + // return: + // + // atomicCounters[binding].counters[offset] + // + // The offset itself is the provided one plus an offset given through uniforms. + + TIntermSymbol *atomicCountersRef = new TIntermSymbol(atomicCounters); + + TIntermConstantUnion *bindingFieldRef = CreateIndexNode(0); + TIntermConstantUnion *offsetFieldRef = CreateIndexNode(1); + TIntermConstantUnion *countersFieldRef = CreateIndexNode(0); + + // Create references to bindingOffset.binding and bindingOffset.offset. + TIntermBinary *binding = + new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), bindingFieldRef); + TIntermBinary *offset = + new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), offsetFieldRef); + + // Create reference to atomicCounters[bindingOffset.binding] + TIntermBinary *countersBlock = new TIntermBinary(EOpIndexDirect, atomicCountersRef, binding); + + // Create reference to atomicCounters[bindingOffset.binding].counters + TIntermBinary *counters = + new TIntermBinary(EOpIndexDirectInterfaceBlock, countersBlock, countersFieldRef); + + // Create bufferOffsets[binding / 4]. Each uint in bufferOffsets contains offsets for 4 + // bindings. + TIntermBinary *bindingDivFour = + new TIntermBinary(EOpDiv, binding->deepCopy(), CreateUIntConstant(4)); + TIntermBinary *bufferOffsetUint = + new TIntermBinary(EOpIndexDirect, bufferOffsets->deepCopy(), bindingDivFour); + + // Create (binding % 4) * 8 + TIntermBinary *bindingModFour = + new TIntermBinary(EOpIMod, binding->deepCopy(), CreateUIntConstant(4)); + TIntermBinary *bufferOffsetShift = + new TIntermBinary(EOpMul, bindingModFour, CreateUIntConstant(8)); + + // Create bufferOffsets[binding / 4] >> ((binding % 4) * 8) & 0xFF + TIntermBinary *bufferOffsetShifted = + new TIntermBinary(EOpBitShiftRight, bufferOffsetUint, bufferOffsetShift); + TIntermBinary *bufferOffset = + new TIntermBinary(EOpBitwiseAnd, bufferOffsetShifted, CreateUIntConstant(0xFF)); + + // return atomicCounters[bindingOffset.binding].counters[bindingOffset.offset + bufferOffset] + offset = new TIntermBinary(EOpAdd, offset, bufferOffset); + return new TIntermBinary(EOpIndexDirect, counters, offset); +} + +// Traverser that: +// +// 1. Converts the |atomic_uint| types to |{uint,uint}| for binding and offset. +// 2. Substitutes the |uniform atomic_uint| declarations with a global declaration that holds the +// binding and offset. +// 3. Substitutes |atomicVar[n]| with |buffer[binding].counters[offset + n]|. +class RewriteAtomicCountersTraverser : public TIntermTraverser +{ + public: + RewriteAtomicCountersTraverser(TSymbolTable *symbolTable, + const TVariable *atomicCounters, + const TIntermTyped *acbBufferOffsets) + : TIntermTraverser(true, true, true, symbolTable), + mAtomicCounters(atomicCounters), + mAcbBufferOffsets(acbBufferOffsets), + mAtomicCounterType(nullptr), + mAtomicCounterTypeConst(nullptr), + mAtomicCounterTypeDeclaration(nullptr) + {} + + bool visitDeclaration(Visit visit, TIntermDeclaration *node) override + { + if (visit != PreVisit) + { + return true; + } + + const TIntermSequence &sequence = *(node->getSequence()); + + TIntermTyped *variable = sequence.front()->getAsTyped(); + const TType &type = variable->getType(); + bool isAtomicCounter = type.getQualifier() == EvqUniform && type.isAtomicCounter(); + + if (isAtomicCounter) + { + // Atomic counters cannot have initializers, so the declaration must necessarily be a + // symbol. + TIntermSymbol *samplerVariable = variable->getAsSymbolNode(); + ASSERT(samplerVariable != nullptr); + + declareAtomicCounter(&samplerVariable->variable(), node); + return false; + } + + return true; + } + + void visitFunctionPrototype(TIntermFunctionPrototype *node) override + { + const TFunction *function = node->getFunction(); + // Go over the parameters and replace the atomic arguments with a uint type. + mRetyper.visitFunctionPrototype(); + for (size_t paramIndex = 0; paramIndex < function->getParamCount(); ++paramIndex) + { + const TVariable *param = function->getParam(paramIndex); + TVariable *replacement = convertFunctionParameter(node, param); + if (replacement) + { + mRetyper.replaceFunctionParam(param, replacement); + } + } + + TIntermFunctionPrototype *replacementPrototype = + mRetyper.convertFunctionPrototype(mSymbolTable, function); + if (replacementPrototype) + { + queueReplacement(replacementPrototype, OriginalNode::IS_DROPPED); + } + } + + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (visit == PreVisit) + { + mRetyper.preVisitAggregate(); + } + + if (visit != PostVisit) + { + return true; + } + + if (node->getOp() == EOpCallBuiltInFunction) + { + convertBuiltinFunction(node); + } + else if (node->getOp() == EOpCallFunctionInAST) + { + TIntermAggregate *substituteCall = mRetyper.convertASTFunction(node); + if (substituteCall) + { + queueReplacement(substituteCall, OriginalNode::IS_DROPPED); + } + } + mRetyper.postVisitAggregate(); + + return true; + } + + void visitSymbol(TIntermSymbol *symbol) override + { + const TVariable *symbolVariable = &symbol->variable(); + + if (!symbol->getType().isAtomicCounter()) + { + return; + } + + // The symbol is either referencing a global atomic counter, or is a function parameter. In + // either case, it could be an array. The are the following possibilities: + // + // layout(..) uniform atomic_uint ac; + // layout(..) uniform atomic_uint acArray[N]; + // + // void func(inout atomic_uint c) + // { + // otherFunc(c); + // } + // + // void funcArray(inout atomic_uint cArray[N]) + // { + // otherFuncArray(cArray); + // otherFunc(cArray[n]); + // } + // + // void funcGlobal() + // { + // func(ac); + // func(acArray[n]); + // funcArray(acArray); + // atomicIncrement(ac); + // atomicIncrement(acArray[n]); + // } + // + // This should translate to: + // + // buffer ANGLEAtomicCounters + // { + // uint counters[]; + // } atomicCounters; + // + // struct ANGLEAtomicCounter + // { + // uint binding; + // uint offset; + // }; + // const ANGLEAtomicCounter ac = {, }; + // const ANGLEAtomicCounter acArray = {, }; + // + // void func(inout ANGLEAtomicCounter c) + // { + // otherFunc(c); + // } + // + // void funcArray(inout uint cArray) + // { + // otherFuncArray(cArray); + // otherFunc({cArray.binding, cArray.offset + n}); + // } + // + // void funcGlobal() + // { + // func(ac); + // func(acArray+n); + // funcArray(acArray); + // atomicAdd(atomicCounters[ac.binding]counters[ac.offset]); + // atomicAdd(atomicCounters[ac.binding]counters[ac.offset+n]); + // } + // + // In all cases, the argument transformation is stored in mRetyper. In the function call's + // PostVisit, if it's a builtin, the look up in |atomicCounters.counters| is done as well as + // the builtin function change. Otherwise, the transformed argument is passed on as is. + // + + TIntermTyped *bindingOffset = + new TIntermSymbol(mRetyper.getVariableReplacement(symbolVariable)); + ASSERT(bindingOffset != nullptr); + + TIntermNode *argument = convertFunctionArgument(symbol, &bindingOffset); + + if (mRetyper.isInAggregate()) + { + mRetyper.replaceFunctionCallArg(argument, bindingOffset); + } + else + { + // If there's a stray ac[i] lying around, just delete it. This can happen if the shader + // uses ac[i].length(), which in RemoveArrayLengthMethod() will result in an ineffective + // statement that's just ac[i]; (similarly for a stray ac;, it doesn't have to be + // subscripted). Note that the subscript could have side effects, but the + // convertFunctionArgument above has already generated code that includes the subscript + // (and therefore its side-effect). + TIntermBlock *block = nullptr; + for (uint32_t ancestorIndex = 0; block == nullptr; ++ancestorIndex) + { + block = getAncestorNode(ancestorIndex)->getAsBlock(); + } + + TIntermSequence emptySequence; + mMultiReplacements.emplace_back(block, argument, emptySequence); + } + } + + TIntermDeclaration *getAtomicCounterTypeDeclaration() { return mAtomicCounterTypeDeclaration; } + + private: + void declareAtomicCounter(const TVariable *atomicCounterVar, TIntermDeclaration *node) + { + // Create a global variable that contains the binding and offset of this atomic counter + // declaration. + if (mAtomicCounterType == nullptr) + { + declareAtomicCounterType(); + } + ASSERT(mAtomicCounterTypeConst); + + TVariable *bindingOffset = new TVariable(mSymbolTable, atomicCounterVar->name(), + mAtomicCounterTypeConst, SymbolType::UserDefined); + + const TType &atomicCounterType = atomicCounterVar->getType(); + uint32_t offset = atomicCounterType.getLayoutQualifier().offset; + uint32_t binding = atomicCounterType.getLayoutQualifier().binding; + + ASSERT(offset % 4 == 0); + TIntermTyped *bindingOffsetInitValue = + CreateAtomicCounterConstant(mAtomicCounterTypeConst, binding, offset / 4); + + TIntermSymbol *bindingOffsetSymbol = new TIntermSymbol(bindingOffset); + TIntermBinary *bindingOffsetInit = + new TIntermBinary(EOpInitialize, bindingOffsetSymbol, bindingOffsetInitValue); + + TIntermDeclaration *bindingOffsetDeclaration = new TIntermDeclaration(); + bindingOffsetDeclaration->appendDeclarator(bindingOffsetInit); + + // Replace the atomic_uint declaration with the binding/offset declaration. + TIntermSequence replacement; + replacement.push_back(bindingOffsetDeclaration); + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, replacement); + + // Remember the binding/offset variable. + mRetyper.replaceGlobalVariable(atomicCounterVar, bindingOffset); + } + + void declareAtomicCounterType() + { + ASSERT(mAtomicCounterType == nullptr); + + TFieldList *fields = new TFieldList(); + fields->push_back(new TField(new TType(EbtUInt, EbpUndefined, EvqGlobal, 1, 1), + ImmutableString("binding"), TSourceLoc(), + SymbolType::AngleInternal)); + fields->push_back(new TField(new TType(EbtUInt, EbpUndefined, EvqGlobal, 1, 1), + ImmutableString("arrayIndex"), TSourceLoc(), + SymbolType::AngleInternal)); + TStructure *atomicCounterTypeStruct = + new TStructure(mSymbolTable, kAtomicCounterTypeName, fields, SymbolType::AngleInternal); + mAtomicCounterType = new TType(atomicCounterTypeStruct, false); + + mAtomicCounterTypeDeclaration = new TIntermDeclaration; + TVariable *emptyVariable = new TVariable(mSymbolTable, kEmptyImmutableString, + mAtomicCounterType, SymbolType::Empty); + mAtomicCounterTypeDeclaration->appendDeclarator(new TIntermSymbol(emptyVariable)); + + // Keep a const variant around as well. + mAtomicCounterTypeConst = new TType(*mAtomicCounterType); + mAtomicCounterTypeConst->setQualifier(EvqConst); + } + + TVariable *convertFunctionParameter(TIntermNode *parent, const TVariable *param) + { + if (!param->getType().isAtomicCounter()) + { + return nullptr; + } + if (mAtomicCounterType == nullptr) + { + declareAtomicCounterType(); + } + + const TType *paramType = ¶m->getType(); + TType *newType = + paramType->getQualifier() == EvqConst ? mAtomicCounterTypeConst : mAtomicCounterType; + + TVariable *replacementVar = + new TVariable(mSymbolTable, param->name(), newType, SymbolType::UserDefined); + + return replacementVar; + } + + TIntermTyped *convertFunctionArgumentHelper( + const TVector &runningArraySizeProducts, + TIntermTyped *flattenedSubscript, + uint32_t depth, + uint32_t *subscriptCountOut) + { + std::string prefix(depth, ' '); + TIntermNode *parent = getAncestorNode(depth); + ASSERT(parent); + + TIntermBinary *arrayExpression = parent->getAsBinaryNode(); + if (!arrayExpression) + { + // If the parent is not an array subscript operation, we have reached the end of the + // subscript chain. Note the depth that's traversed so the corresponding node can be + // taken as the function argument. + *subscriptCountOut = depth; + return flattenedSubscript; + } + + ASSERT(arrayExpression->getOp() == EOpIndexDirect || + arrayExpression->getOp() == EOpIndexIndirect); + + // Assume i = n - depth. Get Pi. See comment in convertFunctionArgument. + ASSERT(depth < runningArraySizeProducts.size()); + uint32_t thisDimensionSize = + runningArraySizeProducts[runningArraySizeProducts.size() - 1 - depth]; + + // Get Ii. + TIntermTyped *thisDimensionOffset = arrayExpression->getRight(); + + TIntermConstantUnion *subscriptAsConstant = thisDimensionOffset->getAsConstantUnion(); + const bool subscriptIsZero = subscriptAsConstant && subscriptAsConstant->isZero(0); + + // If Ii is zero, don't need to add Ii*Pi; that's zero. + if (!subscriptIsZero) + { + thisDimensionOffset = thisDimensionOffset->deepCopy(); + + // If Pi is 1, don't multiply. Just accumulate Ii. + if (thisDimensionSize != 1) + { + thisDimensionOffset = new TIntermBinary(EOpMul, thisDimensionOffset, + CreateUIntConstant(thisDimensionSize)); + } + + // Accumulate with the previous running offset, if any. + if (flattenedSubscript) + { + flattenedSubscript = + new TIntermBinary(EOpAdd, flattenedSubscript, thisDimensionOffset); + } + else + { + flattenedSubscript = thisDimensionOffset; + } + } + + // Note: GLSL only allows 2 nested levels of arrays, so this recursion is bounded. + return convertFunctionArgumentHelper(runningArraySizeProducts, flattenedSubscript, + depth + 1, subscriptCountOut); + } + + TIntermNode *convertFunctionArgument(TIntermNode *symbol, TIntermTyped **bindingOffset) + { + // Assume a general case of array declaration with N dimensions: + // + // atomic_uint ac[Dn]..[D2][D1]; + // + // Let's define + // + // Pn = D(n-1)*...*D2*D1 + // + // In that case, we have: + // + // ac[In] = ac + In*Pn + // ac[In][I(n-1)] = ac + In*Pn + I(n-1)*P(n-1) + // ac[In]...[Ii] = ac + In*Pn + ... + Ii*Pi + // + // We have just visited a symbol; ac. Walking the parent chain, we will visit the + // expressions in the above order (ac, ac[In], ac[In][I(n-1)], ...). We therefore can + // simply walk the parent chain and accumulate Ii*Pi to obtain the offset from the base of + // ac. + + TIntermSymbol *argumentAsSymbol = symbol->getAsSymbolNode(); + ASSERT(argumentAsSymbol); + + const TSpan &arraySizes = argumentAsSymbol->getType().getArraySizes(); + + // Calculate Pi + TVector runningArraySizeProducts; + if (!arraySizes.empty()) + { + runningArraySizeProducts.resize(arraySizes.size()); + uint32_t runningProduct = 1; + for (size_t dimension = 0; dimension < arraySizes.size(); ++dimension) + { + runningArraySizeProducts[dimension] = runningProduct; + runningProduct *= arraySizes[dimension]; + } + } + + // Walk the parent chain and accumulate Ii*Pi + uint32_t subscriptCount = 0; + TIntermTyped *flattenedSubscript = + convertFunctionArgumentHelper(runningArraySizeProducts, nullptr, 0, &subscriptCount); + + // Find the function argument, which is either in the form of ac (i.e. there are no + // subscripts, in which case that's the function argument), or ac[In]...[Ii] (in which case + // the function argument is the (n-i)th ancestor of ac. + // + // Note that this is the case because no other operation is allowed on ac other than + // subscript. + TIntermNode *argument = subscriptCount == 0 ? symbol : getAncestorNode(subscriptCount - 1); + ASSERT(argument != nullptr); + + // If not subscripted, keep the argument as-is. + if (flattenedSubscript == nullptr) + { + return argument; + } + + // Copy the atomic counter binding/offset constant and modify it by adding the array + // subscript to its offset field. + TVariable *modified = CreateTempVariable(mSymbolTable, mAtomicCounterType); + TIntermDeclaration *modifiedDecl = CreateTempInitDeclarationNode(modified, *bindingOffset); + + TIntermSymbol *modifiedSymbol = new TIntermSymbol(modified); + TConstantUnion *offsetFieldIndex = new TConstantUnion; + offsetFieldIndex->setIConst(1); + TIntermConstantUnion *offsetFieldRef = + new TIntermConstantUnion(offsetFieldIndex, *StaticType::GetBasic()); + TIntermBinary *offsetField = + new TIntermBinary(EOpIndexDirectStruct, modifiedSymbol, offsetFieldRef); + + TIntermBinary *modifiedOffset = + new TIntermBinary(EOpAddAssign, offsetField, flattenedSubscript); + + TIntermSequence *modifySequence = new TIntermSequence({modifiedDecl, modifiedOffset}); + insertStatementsInParentBlock(*modifySequence); + + *bindingOffset = modifiedSymbol->deepCopy(); + + return argument; + } + + void convertBuiltinFunction(TIntermAggregate *node) + { + // If the function is |memoryBarrierAtomicCounter|, simply replace it with + // |memoryBarrierBuffer|. + if (node->getFunction()->name() == "memoryBarrierAtomicCounter") + { + TIntermTyped *substituteCall = CreateBuiltInFunctionCallNode( + "memoryBarrierBuffer", new TIntermSequence, *mSymbolTable, 310); + queueReplacement(substituteCall, OriginalNode::IS_DROPPED); + return; + } + + // If it's an |atomicCounter*| function, replace the function with an |atomic*| equivalent. + if (!node->getFunction()->isAtomicCounterFunction()) + { + return; + } + + const ImmutableString &functionName = node->getFunction()->name(); + TIntermSequence *arguments = node->getSequence(); + + // Note: atomicAdd(0) is used for atomic reads. + uint32_t valueChange = 0; + constexpr char kAtomicAddFunction[] = "atomicAdd"; + bool isDecrement = false; + + if (functionName == "atomicCounterIncrement") + { + valueChange = 1; + } + else if (functionName == "atomicCounterDecrement") + { + // uint values are required to wrap around, so 0xFFFFFFFFu is used as -1. + valueChange = std::numeric_limits::max(); + static_assert(static_cast(-1) == std::numeric_limits::max(), + "uint32_t max is not -1"); + + isDecrement = true; + } + else + { + ASSERT(functionName == "atomicCounter"); + } + + const TIntermNode *param = (*arguments)[0]; + + TIntermTyped *bindingOffset = mRetyper.getFunctionCallArgReplacement(param); + + TIntermSequence *substituteArguments = new TIntermSequence; + substituteArguments->push_back( + CreateAtomicCounterRef(mAtomicCounters, bindingOffset, mAcbBufferOffsets)); + substituteArguments->push_back(CreateUIntConstant(valueChange)); + + TIntermTyped *substituteCall = CreateBuiltInFunctionCallNode( + kAtomicAddFunction, substituteArguments, *mSymbolTable, 310); + + // Note that atomicCounterDecrement returns the *new* value instead of the prior value, + // unlike atomicAdd. So we need to do a -1 on the result as well. + if (isDecrement) + { + substituteCall = new TIntermBinary(EOpSub, substituteCall, CreateUIntConstant(1)); + } + + queueReplacement(substituteCall, OriginalNode::IS_DROPPED); + } + + const TVariable *mAtomicCounters; + const TIntermTyped *mAcbBufferOffsets; + + RetypeOpaqueVariablesHelper mRetyper; + + TType *mAtomicCounterType; + TType *mAtomicCounterTypeConst; + + // Stored to be put at the top of the shader after the pass. + TIntermDeclaration *mAtomicCounterTypeDeclaration; +}; + +} // anonymous namespace + +bool RewriteAtomicCounters(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + const TIntermTyped *acbBufferOffsets) +{ + const TVariable *atomicCounters = DeclareAtomicCountersBuffers(root, symbolTable); + + RewriteAtomicCountersTraverser traverser(symbolTable, atomicCounters, acbBufferOffsets); + root->traverse(&traverser); + if (!traverser.updateTree(compiler, root)) + { + return false; + } + + TIntermDeclaration *atomicCounterTypeDeclaration = traverser.getAtomicCounterTypeDeclaration(); + if (atomicCounterTypeDeclaration) + { + root->getSequence()->insert(root->getSequence()->begin(), atomicCounterTypeDeclaration); + } + + return compiler->validateAST(root); +} +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.h new file mode 100644 index 000000000000..8dd048292d82 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.h @@ -0,0 +1,28 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteAtomicCounters: Change atomic counter buffers to storage buffers, with atomic counter +// variables being offsets into the uint array of that storage buffer. + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEATOMICCOUNTERS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEATOMICCOUNTERS_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; +class TIntermTyped; +class TSymbolTable; +class TVariable; + +ANGLE_NO_DISCARD bool RewriteAtomicCounters(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + const TIntermTyped *acbBufferOffsets); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEATOMICCOUNTERS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.cpp index c4db743808b7..04d4d9f026a1 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.cpp @@ -6,7 +6,7 @@ // Implementation of the function RewriteAtomicFunctionExpressions. // See the header for more details. -#include "compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.h" +#include "RewriteAtomicFunctionExpressions.h" #include "compiler/translator/tree_util/IntermNodePatternMatcher.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.h similarity index 87% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.h index b08696f72b34..57e8ac028370 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.h @@ -22,8 +22,8 @@ // to ensure all the expressions that contain atomic function calls can be // directly translated into HLSL expressions. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ #include "common/angleutils.h" @@ -39,4 +39,4 @@ ANGLE_NO_DISCARD bool RewriteAtomicFunctionExpressions(TCompiler *compiler, int shaderVersion); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITE_ATOMIC_FUNCTION_EXPRESSIONS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp new file mode 100644 index 000000000000..2435502099c5 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp @@ -0,0 +1,1023 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteCubeMapSamplersAs2DArray: Change samplerCube samplers to sampler2DArray for seamful cube +// map emulation. +// + +#include "compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.h" + +#include "compiler/translator/Compiler.h" +#include "compiler/translator/ImmutableStringBuilder.h" +#include "compiler/translator/StaticType.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" +#include "compiler/translator/tree_util/ReplaceVariable.h" + +namespace sh +{ +namespace +{ +constexpr ImmutableString kCoordTransformFuncName("ANGLECubeMapCoordTransform"); +constexpr ImmutableString kCoordTransformFuncNameImplicit("ANGLECubeMapCoordTransformImplicit"); + +TIntermTyped *DerivativeQuotient(TIntermTyped *u, + TIntermTyped *du, + TIntermTyped *v, + TIntermTyped *dv, + TIntermTyped *vRecip) +{ + // (du v - dv u) / v^2 + return new TIntermBinary( + EOpMul, + new TIntermBinary(EOpSub, new TIntermBinary(EOpMul, du->deepCopy(), v->deepCopy()), + new TIntermBinary(EOpMul, dv->deepCopy(), u->deepCopy())), + new TIntermBinary(EOpMul, vRecip->deepCopy(), vRecip->deepCopy())); +} + +TIntermTyped *Swizzle1(TIntermTyped *array, int i) +{ + return new TIntermSwizzle(array, {i}); +} + +TIntermTyped *IndexDirect(TIntermTyped *array, int i) +{ + return new TIntermBinary(EOpIndexDirect, array, CreateIndexNode(i)); +} + +// Generated the common transformation in each coord transformation case. See comment in +// declareCoordTranslationFunction(). Called with P, dPdx and dPdy. +void TransformXMajor(TIntermBlock *block, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *uc, + TIntermTyped *vc) +{ + // uc = -sign(x)*z + // vc = -y + TIntermTyped *signX = new TIntermUnary(EOpSign, x->deepCopy(), nullptr); + + TIntermTyped *ucValue = + new TIntermUnary(EOpNegative, new TIntermBinary(EOpMul, signX, z->deepCopy()), nullptr); + TIntermTyped *vcValue = new TIntermUnary(EOpNegative, y->deepCopy(), nullptr); + + block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); + block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); +} + +void TransformDerivativeXMajor(TIntermBlock *block, + TSymbolTable *symbolTable, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *dx, + TIntermTyped *dy, + TIntermTyped *dz, + TIntermTyped *du, + TIntermTyped *dv, + TIntermTyped *xRecip) +{ + // Only the magnitude of the derivative matters, so we ignore the sign(x) + // and the negations. + TIntermTyped *duValue = DerivativeQuotient(z, dz, x, dx, xRecip); + TIntermTyped *dvValue = DerivativeQuotient(y, dy, x, dx, xRecip); + duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); + dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); + block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); + block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); +} + +void TransformImplicitDerivativeXMajor(TIntermBlock *block, + TIntermTyped *dOuter, + TIntermTyped *du, + TIntermTyped *dv) +{ + block->appendStatement( + new TIntermBinary(EOpAssign, du->deepCopy(), Swizzle1(dOuter->deepCopy(), 2))); + block->appendStatement( + new TIntermBinary(EOpAssign, dv->deepCopy(), Swizzle1(dOuter->deepCopy(), 1))); +} + +void TransformYMajor(TIntermBlock *block, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *uc, + TIntermTyped *vc) +{ + // uc = x + // vc = sign(y)*z + TIntermTyped *signY = new TIntermUnary(EOpSign, y->deepCopy(), nullptr); + + TIntermTyped *ucValue = x->deepCopy(); + TIntermTyped *vcValue = new TIntermBinary(EOpMul, signY, z->deepCopy()); + + block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); + block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); +} + +void TransformDerivativeYMajor(TIntermBlock *block, + TSymbolTable *symbolTable, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *dx, + TIntermTyped *dy, + TIntermTyped *dz, + TIntermTyped *du, + TIntermTyped *dv, + TIntermTyped *yRecip) +{ + // Only the magnitude of the derivative matters, so we ignore the sign(x) + // and the negations. + TIntermTyped *duValue = DerivativeQuotient(x, dx, y, dy, yRecip); + TIntermTyped *dvValue = DerivativeQuotient(z, dz, y, dy, yRecip); + duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); + dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); + block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); + block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); +} + +void TransformImplicitDerivativeYMajor(TIntermBlock *block, + TIntermTyped *dOuter, + TIntermTyped *du, + TIntermTyped *dv) +{ + block->appendStatement( + new TIntermBinary(EOpAssign, du->deepCopy(), Swizzle1(dOuter->deepCopy(), 0))); + block->appendStatement( + new TIntermBinary(EOpAssign, dv->deepCopy(), Swizzle1(dOuter->deepCopy(), 2))); +} + +void TransformZMajor(TIntermBlock *block, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *uc, + TIntermTyped *vc) +{ + // uc = size(z)*x + // vc = -y + TIntermTyped *signZ = new TIntermUnary(EOpSign, z->deepCopy(), nullptr); + + TIntermTyped *ucValue = new TIntermBinary(EOpMul, signZ, x->deepCopy()); + TIntermTyped *vcValue = new TIntermUnary(EOpNegative, y->deepCopy(), nullptr); + + block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); + block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); +} + +void TransformDerivativeZMajor(TIntermBlock *block, + TSymbolTable *symbolTable, + TIntermTyped *x, + TIntermTyped *y, + TIntermTyped *z, + TIntermTyped *dx, + TIntermTyped *dy, + TIntermTyped *dz, + TIntermTyped *du, + TIntermTyped *dv, + TIntermTyped *zRecip) +{ + // Only the magnitude of the derivative matters, so we ignore the sign(x) + // and the negations. + TIntermTyped *duValue = DerivativeQuotient(x, dx, z, dz, zRecip); + TIntermTyped *dvValue = DerivativeQuotient(y, dy, z, dz, zRecip); + duValue = new TIntermBinary(EOpMul, duValue, CreateFloatNode(0.5f)); + dvValue = new TIntermBinary(EOpMul, dvValue, CreateFloatNode(0.5f)); + block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); + block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); +} + +void TransformImplicitDerivativeZMajor(TIntermBlock *block, + TIntermTyped *dOuter, + TIntermTyped *du, + TIntermTyped *dv) +{ + block->appendStatement( + new TIntermBinary(EOpAssign, du->deepCopy(), Swizzle1(dOuter->deepCopy(), 0))); + block->appendStatement( + new TIntermBinary(EOpAssign, dv->deepCopy(), Swizzle1(dOuter->deepCopy(), 1))); +} + +class RewriteCubeMapSamplersAs2DArrayTraverser : public TIntermTraverser +{ + public: + RewriteCubeMapSamplersAs2DArrayTraverser(TSymbolTable *symbolTable, bool isFragmentShader) + : TIntermTraverser(true, true, true, symbolTable), + mCubeXYZToArrayUVL(nullptr), + mCubeXYZToArrayUVLImplicit(nullptr), + mIsFragmentShader(isFragmentShader), + mCoordTranslationFunctionDecl(nullptr), + mCoordTranslationFunctionImplicitDecl(nullptr) + {} + + bool visitDeclaration(Visit visit, TIntermDeclaration *node) override + { + if (visit != PreVisit) + { + return true; + } + + const TIntermSequence &sequence = *(node->getSequence()); + + TIntermTyped *variable = sequence.front()->getAsTyped(); + const TType &type = variable->getType(); + bool isSamplerCube = type.getQualifier() == EvqUniform && type.isSamplerCube(); + + if (isSamplerCube) + { + // Samplers cannot have initializers, so the declaration must necessarily be a symbol. + TIntermSymbol *samplerVariable = variable->getAsSymbolNode(); + ASSERT(samplerVariable != nullptr); + + declareSampler2DArray(&samplerVariable->variable(), node); + return false; + } + + return true; + } + + void visitFunctionPrototype(TIntermFunctionPrototype *node) override + { + const TFunction *function = node->getFunction(); + // Go over the parameters and replace the samplerCube arguments with a sampler2DArray. + mRetyper.visitFunctionPrototype(); + for (size_t paramIndex = 0; paramIndex < function->getParamCount(); ++paramIndex) + { + const TVariable *param = function->getParam(paramIndex); + TVariable *replacement = convertFunctionParameter(node, param); + if (replacement) + { + mRetyper.replaceFunctionParam(param, replacement); + } + } + + TIntermFunctionPrototype *replacementPrototype = + mRetyper.convertFunctionPrototype(mSymbolTable, function); + if (replacementPrototype) + { + queueReplacement(replacementPrototype, OriginalNode::IS_DROPPED); + } + } + + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (visit == PreVisit) + { + mRetyper.preVisitAggregate(); + } + + if (visit != PostVisit) + { + return true; + } + + if (node->getOp() == EOpCallBuiltInFunction) + { + convertBuiltinFunction(node); + } + else if (node->getOp() == EOpCallFunctionInAST) + { + TIntermAggregate *substituteCall = mRetyper.convertASTFunction(node); + if (substituteCall) + { + queueReplacement(substituteCall, OriginalNode::IS_DROPPED); + } + } + mRetyper.postVisitAggregate(); + + return true; + } + + void visitSymbol(TIntermSymbol *symbol) override + { + if (!symbol->getType().isSamplerCube()) + { + return; + } + + const TVariable *samplerCubeVar = &symbol->variable(); + + TIntermTyped *sampler2DArrayVar = + new TIntermSymbol(mRetyper.getVariableReplacement(samplerCubeVar)); + ASSERT(sampler2DArrayVar != nullptr); + + TIntermNode *argument = symbol; + + // We need to replace the whole function call argument with the symbol replaced. The + // argument can either be the sampler (array) itself, or a subscript into a sampler array. + TIntermBinary *arrayExpression = getParentNode()->getAsBinaryNode(); + if (arrayExpression) + { + ASSERT(arrayExpression->getOp() == EOpIndexDirect || + arrayExpression->getOp() == EOpIndexIndirect); + + argument = arrayExpression; + + sampler2DArrayVar = new TIntermBinary(arrayExpression->getOp(), sampler2DArrayVar, + arrayExpression->getRight()->deepCopy()); + } + + mRetyper.replaceFunctionCallArg(argument, sampler2DArrayVar); + } + + TIntermFunctionDefinition *getCoordTranslationFunctionDecl() + { + return mCoordTranslationFunctionDecl; + } + + TIntermFunctionDefinition *getCoordTranslationFunctionDeclImplicit() + { + return mCoordTranslationFunctionImplicitDecl; + } + + private: + void declareSampler2DArray(const TVariable *samplerCubeVar, TIntermDeclaration *node) + { + if (mCubeXYZToArrayUVL == nullptr) + { + // If not done yet, declare the function that transforms cube map texture sampling + // coordinates to face index and uv coordinates. + declareCoordTranslationFunction(false, kCoordTransformFuncName, &mCubeXYZToArrayUVL, + &mCoordTranslationFunctionDecl); + } + if (mCubeXYZToArrayUVLImplicit == nullptr && mIsFragmentShader) + { + declareCoordTranslationFunction(true, kCoordTransformFuncNameImplicit, + &mCubeXYZToArrayUVLImplicit, + &mCoordTranslationFunctionImplicitDecl); + } + + TType *newType = new TType(samplerCubeVar->getType()); + newType->setBasicType(EbtSampler2DArray); + + TVariable *sampler2DArrayVar = + new TVariable(mSymbolTable, samplerCubeVar->name(), newType, SymbolType::UserDefined); + + TIntermDeclaration *sampler2DArrayDecl = new TIntermDeclaration(); + sampler2DArrayDecl->appendDeclarator(new TIntermSymbol(sampler2DArrayVar)); + + TIntermSequence replacement; + replacement.push_back(sampler2DArrayDecl); + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, replacement); + + // Remember the sampler2DArray variable. + mRetyper.replaceGlobalVariable(samplerCubeVar, sampler2DArrayVar); + } + + void declareCoordTranslationFunction(bool implicit, + const ImmutableString &name, + TFunction **functionOut, + TIntermFunctionDefinition **declOut) + { + // GLES2.0 (as well as desktop OpenGL 2.0) define the coordination transformation as + // follows. Given xyz cube coordinates, where each channel is in [-1, 1], the following + // table calculates uc, vc and ma as well as the cube map face. + // + // Major Axis Direction Target uc vc ma + // +x TEXTURE_CUBE_MAP_POSITIVE_X −z −y |x| + // −x TEXTURE_CUBE_MAP_NEGATIVE_X z −y |x| + // +y TEXTURE_CUBE_MAP_POSITIVE_Y x z |y| + // −y TEXTURE_CUBE_MAP_NEGATIVE_Y x −z |y| + // +z TEXTURE_CUBE_MAP_POSITIVE_Z x −y |z| + // −z TEXTURE_CUBE_MAP_NEGATIVE_Z −x −y |z| + // + // "Major" is an indication of the axis with the largest value. The cube map face indicates + // the layer to sample from. The uv coordinates to sample from are calculated as, + // effectively transforming the uv values to [0, 1]: + // + // u = (1 + uc/ma) / 2 + // v = (1 + vc/ma) / 2 + // + // The function can be implemented as 6 ifs, though it would be far from efficient. The + // following calculations implement the table above in a smaller number of instructions. + // + // First, ma can be calculated as the max of the three axes. + // + // ma = max3(|x|, |y|, |z|) + // + // We have three cases: + // + // ma == |x|: uc = -sign(x)*z + // vc = -y + // layer = float(x < 0) + // + // ma == |y|: uc = x + // vc = sign(y)*z + // layer = 2 + float(y < 0) + // + // ma == |z|: uc = size(z)*x + // vc = -y + // layer = 4 + float(z < 0) + // + // This can be implemented with a number of ?: instructions or 3 ifs. ?: would require all + // expressions to be evaluated (vector ALU) while if would require exec mask and jumps + // (scalar operations). We implement this using ifs as there would otherwise be many vector + // operations and not much of anything else. + // + // If textureCubeGrad is used, we also need to transform the provided dPdx and dPdy (both + // vec3) to a dUVdx and dUVdy. Assume P=(r,s,t) and we are investigating dx (note the + // change from xyz to rst to not confuse with dx and dy): + // + // uv = (f(r,s,t)/ma + 1)/2 + // + // Where f is one of the transformations above for uc and vc. Between two neighbors along + // the x axis, we have P0=(r0,s0,t0) and P1=(r1,s1,t1) + // + // dP = (r1-r0, s1-s0, t1-t0) + // dUV = (f(r1,s1,t1)/ma1 - g(r0,s0,t0)/ma0) / 2 + // + // f and g may not necessarily be the same because the two points may have different major + // axes. Even with the same major access, the sign that's used in the formulas may not be + // the same. Furthermore, ma0 and ma1 may not be the same. This makes it impossible to + // derive dUV from dP exactly. + // + // However, gradient transformation is implementation dependant, so we will simplify and + // assume all the above complications are non-existent. We therefore have: + // + // dUV = (f(r1,s1,t1)/ma0 - f(r0,s0,t0)/ma0)/2 + // + // Given that we assumed the sign functions are returning identical results for the two + // points, f becomes a linear transformation. Thus: + // + // dUV = f(r1-r0,s1-0,t1-t0)/ma0/2 + // + // In other words, we use the same formulae that transform XYZ (RST here) to UV to + // transform the derivatives. + // + // ma == |x|: dUdx = -sign(x)*dPdx.z / ma / 2 + // dVdx = -dPdx.y / ma / 2 + // + // ma == |y|: dUdx = dPdx.x / ma / 2 + // dVdx = sign(y)*dPdx.z / ma / 2 + // + // ma == |z|: dUdx = size(z)*dPdx.x / ma / 2 + // dVdx = -dPdx.y / ma / 2 + // + // Similarly for dy. + + // Create the function parameters: vec3 P, vec3 dPdx, vec3 dPdy, + // out vec2 dUVdx, out vec2 dUVdy + const TType *vec3Type = StaticType::GetBasic(); + TVariable *pVar = + new TVariable(mSymbolTable, ImmutableString("P"), vec3Type, SymbolType::AngleInternal); + TVariable *dPdxVar = new TVariable(mSymbolTable, ImmutableString("dPdx"), vec3Type, + SymbolType::AngleInternal); + TVariable *dPdyVar = new TVariable(mSymbolTable, ImmutableString("dPdy"), vec3Type, + SymbolType::AngleInternal); + + const TType *vec2Type = StaticType::GetBasic(); + TType *outVec2Type = new TType(*vec2Type); + outVec2Type->setQualifier(EvqOut); + + TVariable *dUVdxVar = new TVariable(mSymbolTable, ImmutableString("dUVdx"), outVec2Type, + SymbolType::AngleInternal); + TVariable *dUVdyVar = new TVariable(mSymbolTable, ImmutableString("dUVdy"), outVec2Type, + SymbolType::AngleInternal); + + TIntermSymbol *p = new TIntermSymbol(pVar); + TIntermSymbol *dPdx = new TIntermSymbol(dPdxVar); + TIntermSymbol *dPdy = new TIntermSymbol(dPdyVar); + TIntermSymbol *dUVdx = new TIntermSymbol(dUVdxVar); + TIntermSymbol *dUVdy = new TIntermSymbol(dUVdyVar); + + // Create the function body as statements are generated. + TIntermBlock *body = new TIntermBlock; + + // Create the swizzle nodes that will be used in multiple expressions: + TIntermSwizzle *x = new TIntermSwizzle(p->deepCopy(), {0}); + TIntermSwizzle *y = new TIntermSwizzle(p->deepCopy(), {1}); + TIntermSwizzle *z = new TIntermSwizzle(p->deepCopy(), {2}); + + // Create abs and "< 0" expressions from the channels. + const TType *floatType = StaticType::GetBasic(); + + TIntermTyped *isNegX = new TIntermBinary(EOpLessThan, x, CreateZeroNode(*floatType)); + TIntermTyped *isNegY = new TIntermBinary(EOpLessThan, y, CreateZeroNode(*floatType)); + TIntermTyped *isNegZ = new TIntermBinary(EOpLessThan, z, CreateZeroNode(*floatType)); + + TIntermSymbol *absX = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *absZ = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + + TIntermDeclaration *absXDecl = CreateTempInitDeclarationNode( + &absX->variable(), new TIntermUnary(EOpAbs, x->deepCopy(), nullptr)); + TIntermDeclaration *absYDecl = CreateTempInitDeclarationNode( + &absY->variable(), new TIntermUnary(EOpAbs, y->deepCopy(), nullptr)); + TIntermDeclaration *absZDecl = CreateTempInitDeclarationNode( + &absZ->variable(), new TIntermUnary(EOpAbs, z->deepCopy(), nullptr)); + + body->appendStatement(absXDecl); + body->appendStatement(absYDecl); + body->appendStatement(absZDecl); + + // Create temporary variable for division outer product matrix and its + // derivatives. + // recipOuter[i][j] = 0.5 * P[j] / P[i] + const TType *mat3Type = StaticType::GetBasic(); + TIntermSymbol *recipOuter = new TIntermSymbol(CreateTempVariable(mSymbolTable, mat3Type)); + + TIntermTyped *pRecip = new TIntermBinary(EOpDiv, CreateFloatNode(1.0), p->deepCopy()); + TIntermSymbol *pRecipVar = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + + body->appendStatement(CreateTempInitDeclarationNode(&pRecipVar->variable(), pRecip)); + + TIntermDeclaration *recipOuterDecl = CreateTempInitDeclarationNode( + &recipOuter->variable(), + CreateBuiltInFunctionCallNode( + "outerProduct", + new TIntermSequence( + {p->deepCopy(), new TIntermBinary(EOpVectorTimesScalar, CreateFloatNode(0.5), + pRecipVar->deepCopy())}), + *mSymbolTable, 300)); + body->appendStatement(recipOuterDecl); + + TIntermSymbol *dPDXdx = nullptr; + TIntermSymbol *dPDYdx = nullptr; + TIntermSymbol *dPDZdx = nullptr; + TIntermSymbol *dPDXdy = nullptr; + TIntermSymbol *dPDYdy = nullptr; + TIntermSymbol *dPDZdy = nullptr; + if (implicit) + { + dPDXdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + dPDYdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + dPDZdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + dPDXdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + dPDYdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + dPDZdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + + TIntermDeclaration *dPDXdxDecl = CreateTempInitDeclarationNode( + &dPDXdx->variable(), + new TIntermUnary(EOpDFdx, IndexDirect(recipOuter, 0)->deepCopy(), nullptr)); + TIntermDeclaration *dPDYdxDecl = CreateTempInitDeclarationNode( + &dPDYdx->variable(), + new TIntermUnary(EOpDFdx, IndexDirect(recipOuter, 1)->deepCopy(), nullptr)); + TIntermDeclaration *dPDZdxDecl = CreateTempInitDeclarationNode( + &dPDZdx->variable(), + new TIntermUnary(EOpDFdx, IndexDirect(recipOuter, 2)->deepCopy(), nullptr)); + TIntermDeclaration *dPDXdyDecl = CreateTempInitDeclarationNode( + &dPDXdy->variable(), + new TIntermUnary(EOpDFdy, IndexDirect(recipOuter, 0)->deepCopy(), nullptr)); + TIntermDeclaration *dPDYdyDecl = CreateTempInitDeclarationNode( + &dPDYdy->variable(), + new TIntermUnary(EOpDFdy, IndexDirect(recipOuter, 1)->deepCopy(), nullptr)); + TIntermDeclaration *dPDZdyDecl = CreateTempInitDeclarationNode( + &dPDZdy->variable(), + new TIntermUnary(EOpDFdy, IndexDirect(recipOuter, 2)->deepCopy(), nullptr)); + + body->appendStatement(dPDXdxDecl); + body->appendStatement(dPDYdxDecl); + body->appendStatement(dPDZdxDecl); + body->appendStatement(dPDXdyDecl); + body->appendStatement(dPDYdyDecl); + body->appendStatement(dPDZdyDecl); + } + + // Create temporary variables for ma, uc, vc, and l (layer), as well as dUdx, dVdx, dUdy + // and dVdy. + TIntermSymbol *ma = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *l = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *uc = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *vc = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *dUdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *dVdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *dUdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + TIntermSymbol *dVdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + + body->appendStatement(CreateTempDeclarationNode(&ma->variable())); + body->appendStatement(CreateTempDeclarationNode(&l->variable())); + body->appendStatement(CreateTempDeclarationNode(&uc->variable())); + body->appendStatement(CreateTempDeclarationNode(&vc->variable())); + body->appendStatement(CreateTempDeclarationNode(&dUdx->variable())); + body->appendStatement(CreateTempDeclarationNode(&dVdx->variable())); + body->appendStatement(CreateTempDeclarationNode(&dUdy->variable())); + body->appendStatement(CreateTempDeclarationNode(&dVdy->variable())); + + // ma = max(|x|, max(|y|, |z|)) + TIntermTyped *maxYZ = CreateBuiltInFunctionCallNode( + "max", new TIntermSequence({absY->deepCopy(), absZ->deepCopy()}), *mSymbolTable, 100); + TIntermTyped *maValue = CreateBuiltInFunctionCallNode( + "max", new TIntermSequence({absX->deepCopy(), maxYZ}), *mSymbolTable, 100); + body->appendStatement(new TIntermBinary(EOpAssign, ma, maValue)); + + // ma == |x| and ma == |y| expressions + TIntermTyped *isXMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absX->deepCopy()); + TIntermTyped *isYMajor = new TIntermBinary(EOpEqual, ma->deepCopy(), absY->deepCopy()); + + // Determine the cube face: + + // The case where x is major: + // layer = float(x < 0) + TIntermTyped *xl = + TIntermAggregate::CreateConstructor(*floatType, new TIntermSequence({isNegX})); + + TIntermBlock *calculateXL = new TIntermBlock; + calculateXL->appendStatement(new TIntermBinary(EOpAssign, l->deepCopy(), xl)); + + // The case where y is major: + // layer = 2 + float(y < 0) + TIntermTyped *yl = new TIntermBinary( + EOpAdd, CreateFloatNode(2.0f), + TIntermAggregate::CreateConstructor(*floatType, new TIntermSequence({isNegY}))); + + TIntermBlock *calculateYL = new TIntermBlock; + calculateYL->appendStatement(new TIntermBinary(EOpAssign, l->deepCopy(), yl)); + + // The case where z is major: + // layer = 4 + float(z < 0) + TIntermTyped *zl = new TIntermBinary( + EOpAdd, CreateFloatNode(4.0f), + TIntermAggregate::CreateConstructor(*floatType, new TIntermSequence({isNegZ}))); + + TIntermBlock *calculateZL = new TIntermBlock; + calculateZL->appendStatement(new TIntermBinary(EOpAssign, l->deepCopy(), zl)); + + // Create the if-else paths: + TIntermIfElse *calculateYZL = new TIntermIfElse(isYMajor, calculateYL, calculateZL); + TIntermBlock *calculateYZLBlock = new TIntermBlock; + calculateYZLBlock->appendStatement(calculateYZL); + TIntermIfElse *calculateXYZL = new TIntermIfElse(isXMajor, calculateXL, calculateYZLBlock); + body->appendStatement(calculateXYZL); + + // layer < 1.5 (covering faces 0 and 1, corresponding to major axis being X) and layer < 3.5 + // (covering faces 2 and 3, corresponding to major axis being Y). Used to determine which + // of the three transformations to apply. Previously, ma == |X| and ma == |Y| was used, + // which is no longer correct for helper invocations. The value of ma is updated in each + // case for these invocations. + isXMajor = new TIntermBinary(EOpLessThan, l->deepCopy(), CreateFloatNode(1.5f)); + isYMajor = new TIntermBinary(EOpLessThan, l->deepCopy(), CreateFloatNode(3.5f)); + + TIntermSwizzle *dPdxX = new TIntermSwizzle(dPdx->deepCopy(), {0}); + TIntermSwizzle *dPdxY = new TIntermSwizzle(dPdx->deepCopy(), {1}); + TIntermSwizzle *dPdxZ = new TIntermSwizzle(dPdx->deepCopy(), {2}); + + TIntermSwizzle *dPdyX = new TIntermSwizzle(dPdy->deepCopy(), {0}); + TIntermSwizzle *dPdyY = new TIntermSwizzle(dPdy->deepCopy(), {1}); + TIntermSwizzle *dPdyZ = new TIntermSwizzle(dPdy->deepCopy(), {2}); + + TIntermBlock *calculateXUcVc = new TIntermBlock; + calculateXUcVc->appendStatement( + new TIntermBinary(EOpAssign, ma->deepCopy(), absX->deepCopy())); + TransformXMajor(calculateXUcVc, x, y, z, uc, vc); + + TIntermBlock *calculateYUcVc = new TIntermBlock; + calculateYUcVc->appendStatement( + new TIntermBinary(EOpAssign, ma->deepCopy(), absY->deepCopy())); + TransformYMajor(calculateYUcVc, x, y, z, uc, vc); + + TIntermBlock *calculateZUcVc = new TIntermBlock; + calculateZUcVc->appendStatement( + new TIntermBinary(EOpAssign, ma->deepCopy(), absZ->deepCopy())); + TransformZMajor(calculateZUcVc, x, y, z, uc, vc); + + // Compute derivatives. + if (implicit) + { + TransformImplicitDerivativeXMajor(calculateXUcVc, dPDXdx, dUdx, dVdx); + TransformImplicitDerivativeXMajor(calculateXUcVc, dPDXdy, dUdy, dVdy); + TransformImplicitDerivativeYMajor(calculateYUcVc, dPDYdx, dUdx, dVdx); + TransformImplicitDerivativeYMajor(calculateYUcVc, dPDYdy, dUdy, dVdy); + TransformImplicitDerivativeZMajor(calculateZUcVc, dPDZdx, dUdx, dVdx); + TransformImplicitDerivativeZMajor(calculateZUcVc, dPDZdy, dUdy, dVdy); + } + else + { + TransformDerivativeXMajor(calculateXUcVc, mSymbolTable, x, y, z, dPdxX, dPdxY, dPdxZ, + dUdx, dVdx, Swizzle1(pRecipVar->deepCopy(), 0)); + TransformDerivativeXMajor(calculateXUcVc, mSymbolTable, x, y, z, dPdyX, dPdyY, dPdyZ, + dUdy, dVdy, Swizzle1(pRecipVar->deepCopy(), 0)); + TransformDerivativeYMajor(calculateYUcVc, mSymbolTable, x, y, z, dPdxX, dPdxY, dPdxZ, + dUdx, dVdx, Swizzle1(pRecipVar->deepCopy(), 1)); + TransformDerivativeYMajor(calculateYUcVc, mSymbolTable, x, y, z, dPdyX, dPdyY, dPdyZ, + dUdy, dVdy, Swizzle1(pRecipVar->deepCopy(), 1)); + TransformDerivativeZMajor(calculateZUcVc, mSymbolTable, x, y, z, dPdxX, dPdxY, dPdxZ, + dUdx, dVdx, Swizzle1(pRecipVar->deepCopy(), 2)); + TransformDerivativeZMajor(calculateZUcVc, mSymbolTable, x, y, z, dPdyX, dPdyY, dPdyZ, + dUdy, dVdy, Swizzle1(pRecipVar->deepCopy(), 2)); + } + + // Create the if-else paths: + TIntermIfElse *calculateYZUcVc = + new TIntermIfElse(isYMajor, calculateYUcVc, calculateZUcVc); + TIntermBlock *calculateYZUcVcBlock = new TIntermBlock; + calculateYZUcVcBlock->appendStatement(calculateYZUcVc); + TIntermIfElse *calculateXYZUcVc = + new TIntermIfElse(isXMajor, calculateXUcVc, calculateYZUcVcBlock); + body->appendStatement(calculateXYZUcVc); + + // u = (1 + uc/|ma|) / 2 + // v = (1 + vc/|ma|) / 2 + TIntermTyped *maTimesTwoRecip = + new TIntermBinary(EOpAssign, ma->deepCopy(), + new TIntermBinary(EOpDiv, CreateFloatNode(0.5f), ma->deepCopy())); + body->appendStatement(maTimesTwoRecip); + + TIntermTyped *ucDivMa = new TIntermBinary(EOpMul, uc, ma->deepCopy()); + TIntermTyped *vcDivMa = new TIntermBinary(EOpMul, vc, ma->deepCopy()); + TIntermTyped *uNormalized = new TIntermBinary(EOpAdd, CreateFloatNode(0.5f), ucDivMa); + TIntermTyped *vNormalized = new TIntermBinary(EOpAdd, CreateFloatNode(0.5f), vcDivMa); + + body->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), uNormalized)); + body->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vNormalized)); + + TIntermTyped *dUVdxValue = + TIntermAggregate::CreateConstructor(*vec2Type, new TIntermSequence({dUdx, dVdx})); + TIntermTyped *dUVdyValue = + TIntermAggregate::CreateConstructor(*vec2Type, new TIntermSequence({dUdy, dVdy})); + + body->appendStatement(new TIntermBinary(EOpAssign, dUVdx, dUVdxValue)); + body->appendStatement(new TIntermBinary(EOpAssign, dUVdy, dUVdyValue)); + + // return vec3(u, v, l) + TIntermBranch *returnStatement = new TIntermBranch( + EOpReturn, TIntermAggregate::CreateConstructor( + *vec3Type, new TIntermSequence({uc->deepCopy(), vc->deepCopy(), l}))); + body->appendStatement(returnStatement); + + TFunction *function; + function = new TFunction(mSymbolTable, name, SymbolType::AngleInternal, vec3Type, true); + function->addParameter(pVar); + function->addParameter(dPdxVar); + function->addParameter(dPdyVar); + function->addParameter(dUVdxVar); + function->addParameter(dUVdyVar); + + *functionOut = function; + + *declOut = CreateInternalFunctionDefinitionNode(*function, body); + } + + TIntermTyped *createCoordTransformationCall(TIntermTyped *P, + TIntermTyped *dPdx, + TIntermTyped *dPdy, + TIntermTyped *dUVdx, + TIntermTyped *dUVdy) + { + TIntermSequence *args = new TIntermSequence({P, dPdx, dPdy, dUVdx, dUVdy}); + return TIntermAggregate::CreateFunctionCall(*mCubeXYZToArrayUVL, args); + } + + TIntermTyped *createImplicitCoordTransformationCall(TIntermTyped *P, + TIntermTyped *dUVdx, + TIntermTyped *dUVdy) + { + const TType *vec3Type = StaticType::GetBasic(); + TIntermTyped *dPdx = CreateZeroNode(*vec3Type); + TIntermTyped *dPdy = CreateZeroNode(*vec3Type); + TIntermSequence *args = new TIntermSequence({P, dPdx, dPdy, dUVdx, dUVdy}); + return TIntermAggregate::CreateFunctionCall(*mCubeXYZToArrayUVLImplicit, args); + } + + TVariable *convertFunctionParameter(TIntermNode *parent, const TVariable *param) + { + if (!param->getType().isSamplerCube()) + { + return nullptr; + } + + TType *newType = new TType(param->getType()); + newType->setBasicType(EbtSampler2DArray); + + TVariable *replacementVar = + new TVariable(mSymbolTable, param->name(), newType, SymbolType::UserDefined); + + return replacementVar; + } + + void convertBuiltinFunction(TIntermAggregate *node) + { + const TFunction *function = node->getFunction(); + if (!function->name().beginsWith("textureCube")) + { + return; + } + + // All textureCube* functions are in the form: + // + // textureCube??(samplerCube, vec3, ??) + // + // They should be converted to: + // + // texture??(sampler2DArray, convertCoords(vec3), ??) + // + // We assume the target platform supports texture() functions (currently only used in + // Vulkan). + // + // The intrinsics map as follows: + // + // textureCube -> textureGrad + // textureCubeLod -> textureLod + // textureCubeLodEXT -> textureLod + // textureCubeGrad -> textureGrad + // textureCubeGradEXT -> textureGrad + // + // Note that dPdx and dPdy in textureCubeGrad* are vec3, while the textureGrad equivalent + // for sampler2DArray is vec2. The EXT_shader_texture_lod that introduces thid function + // says: + // + // > For the "Grad" functions, dPdx is the explicit derivative of P with respect + // > to window x, and similarly dPdy with respect to window y. ... For a cube map texture, + // > dPdx and dPdy are vec3. + // > + // > Let + // > + // > dSdx = dPdx.s; + // > dSdy = dPdy.s; + // > dTdx = dPdx.t; + // > dTdy = dPdy.t; + // > + // > and + // > + // > / 0.0; for two-dimensional texture + // > dRdx = ( + // > \ dPdx.p; for cube map texture + // > + // > / 0.0; for two-dimensional texture + // > dRdy = ( + // > \ dPdy.p; for cube map texture + // > + // > (See equation 3.12a in The OpenGL ES 2.0 Specification.) + // + // It's unclear to me what dRdx and dRdy are. EXT_gpu_shader4 that promotes this function + // has the following additional information: + // + // > For the "Cube" versions, the partial + // > derivatives ddx and ddy are assumed to be in the coordinate system used + // > before texture coordinates are projected onto the appropriate cube + // > face. The partial derivatives of the post-projection texture coordinates, + // > which are used for level-of-detail and anisotropic filtering + // > calculations, are derived from coord, ddx and ddy in an + // > implementation-dependent manner. + // + // The calculation of dPdx and dPdy is declared as implementation-dependent, so we have + // freedom to calculate it as fit, even if not precisely the same as hardware might. + + const char *substituteFunctionName = "textureGrad"; + bool isGrad = false; + bool isTranslatedGrad = true; + bool hasBias = false; + if (function->name().beginsWith("textureCubeLod")) + { + substituteFunctionName = "textureLod"; + isTranslatedGrad = false; + } + else if (function->name().beginsWith("textureCubeGrad")) + { + isGrad = true; + } + else if (!mIsFragmentShader) + { + substituteFunctionName = "texture"; + isTranslatedGrad = false; + } + + TIntermSequence *arguments = node->getSequence(); + ASSERT(arguments->size() >= 2); + + const TType *vec2Type = StaticType::GetBasic(); + const TType *vec3Type = StaticType::GetBasic(); + TIntermSymbol *uvl = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec3Type)); + TIntermSymbol *dUVdx = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec2Type)); + TIntermSymbol *dUVdy = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec2Type)); + + TIntermTyped *dPdx = nullptr; + TIntermTyped *dPdy = nullptr; + if (isGrad) + { + ASSERT(arguments->size() == 4); + dPdx = (*arguments)[2]->getAsTyped()->deepCopy(); + dPdy = (*arguments)[3]->getAsTyped()->deepCopy(); + } + else if (isTranslatedGrad && mIsFragmentShader && arguments->size() == 3) + { + hasBias = true; + } + else + { + dPdx = CreateZeroNode(*vec3Type); + dPdy = CreateZeroNode(*vec3Type); + } + + if (isTranslatedGrad && !mIsFragmentShader) + { + substituteFunctionName = "texture"; + isTranslatedGrad = false; + } + + // The function call to transform the coordinates, dPdx and dPdy. If not textureCubeGrad, + // the driver compiler will optimize out the unnecessary calculations. + TIntermSequence *coordTransform = new TIntermSequence; + coordTransform->push_back(CreateTempDeclarationNode(&dUVdx->variable())); + coordTransform->push_back(CreateTempDeclarationNode(&dUVdy->variable())); + TIntermTyped *coordTransformCall; + if (isGrad || !isTranslatedGrad) + { + coordTransformCall = createCoordTransformationCall( + (*arguments)[1]->getAsTyped()->deepCopy(), dPdx, dPdy, dUVdx, dUVdy); + } + else + { + coordTransformCall = createImplicitCoordTransformationCall( + (*arguments)[1]->getAsTyped()->deepCopy(), dUVdx, dUVdy); + } + coordTransform->push_back( + CreateTempInitDeclarationNode(&uvl->variable(), coordTransformCall)); + + TIntermTyped *dUVdxArg = dUVdx; + TIntermTyped *dUVdyArg = dUVdy; + if (hasBias) + { + const TType *floatType = StaticType::GetBasic(); + TIntermTyped *bias = (*arguments)[2]->getAsTyped()->deepCopy(); + TIntermTyped *exp2Call = CreateBuiltInFunctionCallNode( + "exp2", new TIntermSequence({bias}), *mSymbolTable, 100); + TIntermSymbol *biasFac = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); + coordTransform->push_back( + CreateTempInitDeclarationNode(&biasFac->variable(), exp2Call)); + dUVdxArg = + new TIntermBinary(EOpVectorTimesScalar, biasFac->deepCopy(), dUVdx->deepCopy()); + dUVdyArg = + new TIntermBinary(EOpVectorTimesScalar, biasFac->deepCopy(), dUVdy->deepCopy()); + } + + insertStatementsInParentBlock(*coordTransform); + + TIntermSequence *substituteArguments = new TIntermSequence; + // Replace the first argument (samplerCube) with the sampler2DArray. + substituteArguments->push_back(mRetyper.getFunctionCallArgReplacement((*arguments)[0])); + // Replace the second argument with the coordination transformation. + substituteArguments->push_back(uvl->deepCopy()); + if (isTranslatedGrad) + { + substituteArguments->push_back(dUVdxArg->deepCopy()); + substituteArguments->push_back(dUVdyArg->deepCopy()); + } + else + { + // Pass the rest of the parameters as is. + for (size_t argIndex = 2; argIndex < arguments->size(); ++argIndex) + { + substituteArguments->push_back((*arguments)[argIndex]->getAsTyped()->deepCopy()); + } + } + + TIntermTyped *substituteCall = CreateBuiltInFunctionCallNode( + substituteFunctionName, substituteArguments, *mSymbolTable, 300); + + queueReplacement(substituteCall, OriginalNode::IS_DROPPED); + } + + RetypeOpaqueVariablesHelper mRetyper; + + // A helper function to convert xyz coordinates passed to a cube map sampling function into the + // array layer (cube map face) and uv coordinates. + TFunction *mCubeXYZToArrayUVL; + // A specialized version of the same function which uses implicit derivatives. + TFunction *mCubeXYZToArrayUVLImplicit; + + bool mIsFragmentShader; + + // Stored to be put before the first function after the pass. + TIntermFunctionDefinition *mCoordTranslationFunctionDecl; + TIntermFunctionDefinition *mCoordTranslationFunctionImplicitDecl; +}; + +} // anonymous namespace + +bool RewriteCubeMapSamplersAs2DArray(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + bool isFragmentShader) +{ + RewriteCubeMapSamplersAs2DArrayTraverser traverser(symbolTable, isFragmentShader); + root->traverse(&traverser); + if (!traverser.updateTree(compiler, root)) + { + return false; + } + + TIntermFunctionDefinition *coordTranslationFunctionDecl = + traverser.getCoordTranslationFunctionDecl(); + TIntermFunctionDefinition *coordTranslationFunctionDeclImplicit = + traverser.getCoordTranslationFunctionDeclImplicit(); + size_t firstFunctionIndex = FindFirstFunctionDefinitionIndex(root); + if (coordTranslationFunctionDecl) + { + root->insertChildNodes(firstFunctionIndex, TIntermSequence({coordTranslationFunctionDecl})); + } + if (coordTranslationFunctionDeclImplicit) + { + root->insertChildNodes(firstFunctionIndex, + TIntermSequence({coordTranslationFunctionDeclImplicit})); + } + + return compiler->validateAST(root); +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.h new file mode 100644 index 000000000000..e42636f863ff --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.h @@ -0,0 +1,29 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteCubeMapSamplersAs2DArray: Change samplerCube samplers to sampler2DArray, and the +// textureCube* function calls to calls to helper functions that select the cube map face and sample +// from the face as a 2D texture. This emulates seamful cube map sampling in ES2 (or desktop GL 2) +// and therefore only looks at samplerCube (i.e. not integer variants or cube arrays) and sampling +// functions that are defined in ES GLSL 1.0 (i.e. not the cube overload of texture()). + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITECUBEMAPSAMPLERSAS2DARRAY_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITECUBEMAPSAMPLERSAS2DARRAY_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; +class TSymbolTable; + +ANGLE_NO_DISCARD bool RewriteCubeMapSamplersAs2DArray(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + bool isFragmentShader); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITECUBEMAPSAMPLERSAS2DARRAY_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp new file mode 100644 index 000000000000..bac95ebfe88e --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp @@ -0,0 +1,197 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Implementation of dFdy viewport transformation. +// See header for more info. + +#include "compiler/translator/tree_ops/RewriteDfdy.h" + +#include "common/angleutils.h" +#include "compiler/translator/StaticType.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ + +namespace +{ + +class Traverser : public TIntermTraverser +{ + public: + ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + TIntermBinary *flipXY, + TIntermTyped *fragRotation); + + private: + Traverser(TIntermBinary *flipXY, TIntermTyped *fragRotation, TSymbolTable *symbolTable); + bool visitUnary(Visit visit, TIntermUnary *node) override; + + bool visitUnaryWithRotation(Visit visit, TIntermUnary *node); + bool visitUnaryWithoutRotation(Visit visit, TIntermUnary *node); + + TIntermBinary *mFlipXY = nullptr; + TIntermTyped *mFragRotation = nullptr; +}; + +Traverser::Traverser(TIntermBinary *flipXY, TIntermTyped *fragRotation, TSymbolTable *symbolTable) + : TIntermTraverser(true, false, false, symbolTable), + mFlipXY(flipXY), + mFragRotation(fragRotation) +{} + +// static +bool Traverser::Apply(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + TIntermBinary *flipXY, + TIntermTyped *fragRotation) +{ + TSymbolTable *pSymbolTable = const_cast(&symbolTable); + Traverser traverser(flipXY, fragRotation, pSymbolTable); + root->traverse(&traverser); + return traverser.updateTree(compiler, root); +} + +bool Traverser::visitUnary(Visit visit, TIntermUnary *node) +{ + if (mFragRotation) + { + return visitUnaryWithRotation(visit, node); + } + return visitUnaryWithoutRotation(visit, node); +} + +bool Traverser::visitUnaryWithRotation(Visit visit, TIntermUnary *node) +{ + // Decide if the node represents a call to dFdx() or dFdy() + if ((node->getOp() != EOpDFdx) && (node->getOp() != EOpDFdy)) + { + return true; + } + + // Prior to supporting Android pre-rotation, dFdy() needed to be multiplied by mFlipXY.y: + // + // correctedDfdy(operand) = dFdy(operand) * mFlipXY.y + // + // For Android pre-rotation, both dFdx() and dFdy() need to be "rotated" and multiplied by + // mFlipXY. "Rotation" means to swap them for 90 and 270 degrees, or to not swap them for 0 + // and 180 degrees. This rotation is accomplished with mFragRotation, which is a 2x2 matrix + // used for fragment shader rotation. The 1st half (a vec2 that is either (1,0) or (0,1)) is + // used for rewriting dFdx() and the 2nd half (either (0,1) or (1,0)) is used for rewriting + // dFdy(). Otherwise, the formula for the rewrite is the same: + // + // result = ((dFdx(operand) * (mFragRotation[half] * mFlipXY).x) + + // (dFdy(operand) * (mFragRotation[half] * mFlipXY).y)) + // + // For dFdx(), half is 0 (the 1st half). For dFdy(), half is 1 (the 2nd half). Depending on + // the rotation, mFragRotation[half] will cause either dFdx(operand) or dFdy(operand) to be + // zeroed-out. That effectively means that the above code results in the following for 0 and + // 180 degrees: + // + // correctedDfdx(operand) = dFdx(operand) * mFlipXY.x + // correctedDfdy(operand) = dFdy(operand) * mFlipXY.y + // + // and the following for 90 and 270 degrees: + // + // correctedDfdx(operand) = dFdy(operand) * mFlipXY.y + // correctedDfdy(operand) = dFdx(operand) * mFlipXY.x + // + // TODO(ianelliott): Look at the performance of this approach and potentially optimize it + // http://anglebug.com/4678 + + // Get a vec2 with the correct half of ANGLEUniforms.fragRotation + TIntermBinary *halfRotationMat = nullptr; + if (node->getOp() == EOpDFdx) + { + halfRotationMat = + new TIntermBinary(EOpIndexDirect, mFragRotation->deepCopy(), CreateIndexNode(0)); + } + else + { + halfRotationMat = + new TIntermBinary(EOpIndexDirect, mFragRotation->deepCopy(), CreateIndexNode(1)); + } + + // Multiply halfRotationMat by ANGLEUniforms.flipXY and store in a temporary variable + TIntermBinary *rotatedFlipXY = new TIntermBinary(EOpMul, mFlipXY->deepCopy(), halfRotationMat); + const TType *vec2Type = StaticType::GetBasic(); + TIntermSymbol *tmpRotFlipXY = new TIntermSymbol(CreateTempVariable(mSymbolTable, vec2Type)); + TIntermSequence *tmpDecl = new TIntermSequence; + tmpDecl->push_back(CreateTempInitDeclarationNode(&tmpRotFlipXY->variable(), rotatedFlipXY)); + insertStatementsInParentBlock(*tmpDecl); + + // Get the .x and .y swizzles to use as multipliers + TVector swizzleOffsetX = {0}; + TVector swizzleOffsetY = {1}; + TIntermSwizzle *multiplierX = new TIntermSwizzle(tmpRotFlipXY, swizzleOffsetX); + TIntermSwizzle *multiplierY = new TIntermSwizzle(tmpRotFlipXY->deepCopy(), swizzleOffsetY); + + // Get the results of dFdx(operand) and dFdy(operand), and multiply them by the swizzles + TIntermTyped *operand = node->getOperand(); + TIntermUnary *dFdx = new TIntermUnary(EOpDFdx, operand->deepCopy(), node->getFunction()); + TIntermUnary *dFdy = new TIntermUnary(EOpDFdy, operand->deepCopy(), node->getFunction()); + size_t objectSize = node->getType().getObjectSize(); + TOperator multiplyOp = (objectSize == 1) ? EOpMul : EOpVectorTimesScalar; + TIntermBinary *rotatedFlippedDfdx = new TIntermBinary(multiplyOp, dFdx, multiplierX); + TIntermBinary *rotatedFlippedDfdy = new TIntermBinary(multiplyOp, dFdy, multiplierY); + + // Sum them together into the result: + TIntermBinary *correctedResult = + new TIntermBinary(EOpAdd, rotatedFlippedDfdx, rotatedFlippedDfdy); + + // Replace the old dFdx() or dFdy() node with the new node that contains the corrected value + queueReplacement(correctedResult, OriginalNode::IS_DROPPED); + + return true; +} + +bool Traverser::visitUnaryWithoutRotation(Visit visit, TIntermUnary *node) +{ + // Decide if the node represents a call to dFdy() + if (node->getOp() != EOpDFdy) + { + return true; + } + + // Copy the dFdy node so we can replace it with the corrected value + TIntermUnary *newDfdy = node->deepCopy()->getAsUnaryNode(); + + size_t objectSize = node->getType().getObjectSize(); + TOperator multiplyOp = (objectSize == 1) ? EOpMul : EOpVectorTimesScalar; + + TIntermBinary *flipY = + new TIntermBinary(EOpIndexDirect, mFlipXY->deepCopy(), CreateIndexNode(1)); + // Correct dFdy()'s value: + // (dFdy() * mFlipXY.y) + TIntermBinary *correctedDfdy = new TIntermBinary(multiplyOp, newDfdy, flipY); + + // Replace the old dFdy node with the new node that contains the corrected value + queueReplacement(correctedDfdy, OriginalNode::IS_DROPPED); + + return true; +} + +} // anonymous namespace + +bool RewriteDfdy(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + int shaderVersion, + TIntermBinary *flipXY, + TIntermTyped *fragRotation) +{ + // dFdy is only valid in GLSL 3.0 and later. + if (shaderVersion < 300) + return true; + + return Traverser::Apply(compiler, root, symbolTable, flipXY, fragRotation); +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.h new file mode 100644 index 000000000000..0c36d916de6e --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDfdy.h @@ -0,0 +1,37 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// This mutating tree traversal flips the output of dFdy() to account for framebuffer flipping. +// +// From: dFdy(p) +// To: (dFdy(p) * viewportYScale) +// +// See http://anglebug.com/3487 + +#ifndef COMPILER_TRANSLATOR_TREEOPS_FLIP_DFDY_H_ +#define COMPILER_TRANSLATOR_TREEOPS_FLIP_DFDY_H_ + +#include "common/angleutils.h" + +namespace sh +{ + +class TCompiler; +class TIntermNode; +class TIntermBinary; +class TIntermTyped; +class TSymbolTable; + +// If fragRotation = nullptr, no rotation will be applied. +ANGLE_NO_DISCARD bool RewriteDfdy(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + int shaderVersion, + TIntermBinary *flipXY, + TIntermTyped *fragRotation); + +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_FLIP_DFDY_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.cpp index 79d045c722ae..28fbdd15b411 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.cpp @@ -7,7 +7,7 @@ // RewriteDoWhile.cpp: rewrites do-while loops using another equivalent // construct. -#include "compiler/translator/tree_ops/gl/mac/RewriteDoWhile.h" +#include "compiler/translator/tree_ops/RewriteDoWhile.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/StaticType.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.h similarity index 75% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.h index f021778ec87e..158dab4180b5 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteDoWhile.h @@ -7,8 +7,8 @@ // RewriteDoWhile.h: rewrite do-while loops as while loops to work around // driver bugs -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEDOWHILE_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEDOWHILE_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEDOWHILE_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEDOWHILE_H_ #include "common/angleutils.h" @@ -25,4 +25,4 @@ ANGLE_NO_DISCARD bool RewriteDoWhile(TCompiler *compiler, } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEDOWHILE_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEDOWHILE_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.cpp index 10647d1bf191..efeb7c11e4c3 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.cpp @@ -7,7 +7,7 @@ // all if-else blocks to if-if blocks. // -#include "compiler/translator/tree_ops/d3d/RewriteElseBlocks.h" +#include "compiler/translator/tree_ops/RewriteElseBlocks.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/IntermNode.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.h similarity index 76% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.h index 4b1ae6acccd0..fdd1bc4b73e4 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.h @@ -7,8 +7,8 @@ // all if-else blocks to if-if blocks. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEELSEBLOCKS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEELSEBLOCKS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEELSEBLOCKS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEELSEBLOCKS_H_ #include "common/angleutils.h" @@ -24,4 +24,4 @@ ANGLE_NO_DISCARD bool RewriteElseBlocks(TCompiler *compiler, TSymbolTable *symbolTable); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEELSEBLOCKS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEELSEBLOCKS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.cpp index ca127b232b66..90687644b673 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.cpp @@ -11,7 +11,7 @@ // lvalue_no_ssbo = ssbo_access_chain; // -#include "compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.h" +#include "compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.h" #include "compiler/translator/Symbol.h" #include "compiler/translator/tree_util/IntermNode_util.h" @@ -315,7 +315,7 @@ bool RewriteExpressionsWithShaderStorageBlockTraverser::visitAggregate(Visit vis { insertions.insert(insertions.end(), readBackToSSBOs.begin(), readBackToSSBOs.end()); } - mMultiReplacements.emplace_back(parentBlock, node, std::move(insertions)); + mMultiReplacements.push_back(NodeReplaceWithMultipleEntry(parentBlock, node, insertions)); } else { diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.h similarity index 83% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.h index 68bb4b3a0bf6..6ce1f0c142cb 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.h @@ -18,8 +18,8 @@ // SSBO as the argument of aggregate type. // SSBO as the condition of if/switch/while/do-while/for -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ #include "common/angleutils.h" @@ -34,4 +34,4 @@ ANGLE_NO_DISCARD bool RewriteExpressionsWithShaderStorageBlock(TCompiler *compil TSymbolTable *symbolTable); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITE_EXPRESSIONS_WITH_SHADER_STORAGE_BLOCK_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.cpp new file mode 100644 index 000000000000..15f872548505 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.cpp @@ -0,0 +1,139 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Implementation of InterpolateAtOffset viewport transformation. +// See header for more info. + +#include "compiler/translator/tree_ops/RewriteDfdy.h" + +#include "common/angleutils.h" +#include "compiler/translator/StaticType.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ + +namespace +{ + +class Traverser : public TIntermTraverser +{ + public: + ANGLE_NO_DISCARD static bool Apply(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + TIntermBinary *flipXY, + TIntermTyped *fragRotation, + int ShaderVersion); + + private: + Traverser(TIntermBinary *flipXY, + TIntermTyped *fragRotation, + TSymbolTable *symbolTable, + int shaderVersion); + bool visitAggregate(Visit visit, TIntermAggregate *node) override; + + TIntermBinary *mFlipXY = nullptr; + TIntermTyped *mFragRotation = nullptr; + const TSymbolTable *symbolTable = nullptr; + const int shaderVersion; +}; + +Traverser::Traverser(TIntermBinary *flipXY, + TIntermTyped *fragRotation, + TSymbolTable *symbolTable, + int shaderVersion) + : TIntermTraverser(true, false, false, symbolTable), + mFlipXY(flipXY), + mFragRotation(fragRotation), + symbolTable(symbolTable), + shaderVersion(shaderVersion) +{} + +// static +bool Traverser::Apply(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + TIntermBinary *flipXY, + TIntermTyped *fragRotation, + int shaderVersion) +{ + TSymbolTable *pSymbolTable = const_cast(&symbolTable); + Traverser traverser(flipXY, fragRotation, pSymbolTable, shaderVersion); + root->traverse(&traverser); + return traverser.updateTree(compiler, root); +} + +bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) +{ + // Decide if the node represents the call of texelFetchOffset. + if (node->getOp() != EOpCallBuiltInFunction) + { + return true; + } + + ASSERT(node->getFunction()->symbolType() == SymbolType::BuiltIn); + if (node->getFunction()->name() != "interpolateAtOffset") + { + return true; + } + + const TIntermSequence *sequence = node->getSequence(); + ASSERT(sequence->size() == 2u); + + TIntermSequence *interpolateAtOffsetArguments = new TIntermSequence(); + // interpolant node + interpolateAtOffsetArguments->push_back(sequence->at(0)); + // offset + TIntermTyped *offsetNode = sequence->at(1)->getAsTyped(); + ASSERT(offsetNode->getType() == *(StaticType::GetBasic())); + + // If pre-rotation is enabled apply the transformation else just flip the Y-coordinate + TIntermTyped *rotatedXY; + if (mFragRotation) + { + rotatedXY = + new TIntermBinary(EOpMatrixTimesVector, mFragRotation->deepCopy(), mFlipXY->deepCopy()); + } + else + { + rotatedXY = mFlipXY->deepCopy(); + } + + TIntermBinary *correctedOffset = new TIntermBinary(EOpMul, offsetNode, rotatedXY); + correctedOffset->setLine(offsetNode->getLine()); + interpolateAtOffsetArguments->push_back(correctedOffset); + + TIntermTyped *interpolateAtOffsetNode = CreateBuiltInFunctionCallNode( + "interpolateAtOffset", interpolateAtOffsetArguments, *symbolTable, shaderVersion); + interpolateAtOffsetNode->setLine(node->getLine()); + + // Replace the old node by this new node. + queueReplacement(interpolateAtOffsetNode, OriginalNode::IS_DROPPED); + + return true; +} + +} // anonymous namespace + +bool RewriteInterpolateAtOffset(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + int shaderVersion, + TIntermBinary *flipXY, + TIntermTyped *fragRotation) +{ + // interpolateAtOffset is only valid in GLSL 3.0 and later. + if (shaderVersion < 300) + { + return true; + } + + return Traverser::Apply(compiler, root, symbolTable, flipXY, fragRotation, shaderVersion); +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.h new file mode 100644 index 000000000000..81eeb3a69195 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.h @@ -0,0 +1,38 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// This mutating tree traversal flips the 2nd argument of interpolateAtOffset() to account for +// Y-coordinate flipping +// +// From: interpolateAtOffset(float interpolant, vec2 offset); +// To: interpolateAtOffset(float interpolant, vec2(offset * (pre-rotation * viewportYScale))); +// +// See http://anglebug.com/3589 + +#ifndef COMPILER_TRANSLATOR_TREEOPS_FLIP_INTERPOLATEATOFFSET_H_ +#define COMPILER_TRANSLATOR_TREEOPS_FLIP_INTERPOLATEATOFFSET_H_ + +#include "common/angleutils.h" + +namespace sh +{ + +class TCompiler; +class TIntermNode; +class TIntermBinary; +class TIntermTyped; +class TSymbolTable; + +// If fragRotation = nullptr, no rotation will be applied. +ANGLE_NO_DISCARD bool RewriteInterpolateAtOffset(TCompiler *compiler, + TIntermNode *root, + const TSymbolTable &symbolTable, + int shaderVersion, + TIntermBinary *flipXY, + TIntermTyped *fragRotation); + +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_FLIP_INTERPOLATEATOFFSET_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.cpp similarity index 93% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.cpp index 555845402372..1cfcef3de428 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.cpp @@ -13,7 +13,7 @@ // Note that this doesn't handle some corner cases: expressions nested inside other expressions, // inside loop headers, or inside if conditions. -#include "compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h" +#include "compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.h" #include "compiler/translator/tree_util/IntermNode_util.h" #include "compiler/translator/tree_util/IntermTraverse.h" @@ -80,7 +80,7 @@ bool RewriteAssignToSwizzledTraverser::visitBinary(Visit, TIntermBinary *node) TIntermBinary *lastAssign = new TIntermBinary(EOpAssign, node->getLeft(), rightAssignmentTargetCopy); replacements.push_back(lastAssign); - mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); + mMultiReplacements.push_back(NodeReplaceWithMultipleEntry(parentBlock, node, replacements)); mDidRewrite = true; return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.h similarity index 60% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.h index eee59053dc77..283f6849c1b2 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.h @@ -13,8 +13,8 @@ // Note that this doesn't handle some corner cases: expressions nested inside other expressions, // inside loop headers, or inside if conditions. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ #include "common/angleutils.h" @@ -24,17 +24,8 @@ namespace sh class TCompiler; class TIntermBlock; -#ifdef ANGLE_ENABLE_GLSL ANGLE_NO_DISCARD bool RewriteRepeatedAssignToSwizzled(TCompiler *compiler, TIntermBlock *root); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool RewriteRepeatedAssignToSwizzled(TCompiler *compiler, - TIntermBlock *root) -{ - UNREACHABLE(); - return false; -} -#endif } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEREPEATEDASSIGNTOSWIZZLED_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.cpp similarity index 97% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.cpp index 94aec7bb0d0a..f71429cb4118 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.cpp @@ -6,7 +6,7 @@ // RewriteRowMajorMatrices: Rewrite row-major matrices as column-major. // -#include "compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.h" +#include "compiler/translator/tree_ops/RewriteRowMajorMatrices.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/ImmutableStringBuilder.h" @@ -116,14 +116,13 @@ TIntermSymbol *CopyToTempVariable(TSymbolTable *symbolTable, TIntermAggregate *CreateStructCopyCall(const TFunction *copyFunc, TIntermTyped *expression) { - TIntermSequence args = {expression}; - return TIntermAggregate::CreateFunctionCall(*copyFunc, &args); + return TIntermAggregate::CreateFunctionCall(*copyFunc, new TIntermSequence({expression})); } TIntermTyped *CreateTransposeCall(TSymbolTable *symbolTable, TIntermTyped *expression) { - TIntermSequence args = {expression}; - return CreateBuiltInFunctionCallNode("transpose", &args, *symbolTable, 300); + return CreateBuiltInFunctionCallNode("transpose", new TIntermSequence({expression}), + *symbolTable, 300); } TOperator GetIndex(TSymbolTable *symbolTable, @@ -633,8 +632,7 @@ class RewriteRowMajorMatricesTraverser : public TIntermTraverser // Replace the interface block definition with the new one, prepending any new struct // definitions. - mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, - std::move(newDeclarations)); + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), node, newDeclarations); } bool convertNamelessInterfaceBlockField(TIntermSymbol *symbol) @@ -663,29 +661,35 @@ class RewriteRowMajorMatricesTraverser : public TIntermTraverser // Find which field it is const TVector fields = interfaceBlock->fields(); - const size_t fieldIndex = variable->getType().getInterfaceBlockFieldIndex(); - ASSERT(fieldIndex < fields.size()); - - const TField *field = fields[fieldIndex]; - ASSERT(field->name() == symbolName); - - // If this field doesn't need a rewrite, there's nothing to do. - if (mInterfaceBlockFieldConvertedIn.count(field) == 0 || - !mInterfaceBlockFieldConvertedIn.at(field)) + for (size_t fieldIndex = 0; fieldIndex < fields.size(); ++fieldIndex) { - break; + const TField *field = fields[fieldIndex]; + if (field->name() != symbolName) + { + continue; + } + + // If this field doesn't need a rewrite, there's nothing to do. + if (mInterfaceBlockFieldConvertedIn.count(field) == 0 || + !mInterfaceBlockFieldConvertedIn.at(field)) + { + break; + } + + // Create a new variable that references the replaced interface block. + TType *newType = new TType(variable->getType()); + newType->setInterfaceBlock(iter.second->getType().getInterfaceBlock()); + + TVariable *newVariable = + new TVariable(mSymbolTable, variable->name(), newType, variable->symbolType(), + variable->extension()); + + (*mInterfaceBlockMap)[variable] = newVariable; + + return true; } - // Create a new variable that references the replaced interface block. - TType *newType = new TType(variable->getType()); - newType->setInterfaceBlockField(iter.second->getType().getInterfaceBlock(), fieldIndex); - - TVariable *newVariable = new TVariable(mSymbolTable, variable->name(), newType, - variable->symbolType(), variable->extension()); - - (*mInterfaceBlockMap)[variable] = newVariable; - - return true; + break; } return false; diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.h similarity index 74% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.h index 12e62117a6c8..6f29dc360eb3 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.h @@ -6,8 +6,8 @@ // RewriteRowMajorMatrices: Change row-major matrices to column-major in uniform and storage // buffers. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEROWMAJORMATRICES_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEROWMAJORMATRICES_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEROWMAJORMATRICES_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEROWMAJORMATRICES_H_ #include "common/angleutils.h" @@ -20,7 +20,6 @@ class TSymbolTable; ANGLE_NO_DISCARD bool RewriteRowMajorMatrices(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable); - } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEROWMAJORMATRICES_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEROWMAJORMATRICES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp new file mode 100644 index 000000000000..60b8908b6a1e --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp @@ -0,0 +1,1254 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteStructSamplers: Extract structs from samplers. +// + +#include "compiler/translator/tree_ops/RewriteStructSamplers.h" + +#include "compiler/translator/ImmutableStringBuilder.h" +#include "compiler/translator/StaticType.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ +namespace +{ +// Helper method to get the sampler extracted struct type of a parameter. +TType *GetStructSamplerParameterType(TSymbolTable *symbolTable, const TVariable ¶m) +{ + const TStructure *structure = param.getType().getStruct(); + const TSymbol *structSymbol = symbolTable->findUserDefined(structure->name()); + ASSERT(structSymbol && structSymbol->isStruct()); + const TStructure *structVar = static_cast(structSymbol); + TType *structType = new TType(structVar, false); + + if (param.getType().isArray()) + { + structType->makeArrays(param.getType().getArraySizes()); + } + + ASSERT(!structType->isStructureContainingSamplers()); + + return structType; +} + +TIntermSymbol *ReplaceTypeOfSymbolNode(TIntermSymbol *symbolNode, TSymbolTable *symbolTable) +{ + const TVariable &oldVariable = symbolNode->variable(); + + TType *newType = GetStructSamplerParameterType(symbolTable, oldVariable); + + TVariable *newVariable = + new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), + oldVariable.extension(), newType); + return new TIntermSymbol(newVariable); +} + +TIntermTyped *ReplaceTypeOfTypedStructNode(TIntermTyped *argument, TSymbolTable *symbolTable) +{ + TIntermSymbol *asSymbol = argument->getAsSymbolNode(); + if (asSymbol) + { + ASSERT(asSymbol->getType().getStruct()); + return ReplaceTypeOfSymbolNode(asSymbol, symbolTable); + } + + TIntermTyped *replacement = argument->deepCopy(); + TIntermBinary *binary = replacement->getAsBinaryNode(); + ASSERT(binary); + + while (binary) + { + ASSERT(binary->getOp() == EOpIndexDirectStruct || binary->getOp() == EOpIndexDirect); + + asSymbol = binary->getLeft()->getAsSymbolNode(); + + if (asSymbol) + { + ASSERT(asSymbol->getType().getStruct()); + TIntermSymbol *newSymbol = ReplaceTypeOfSymbolNode(asSymbol, symbolTable); + binary->replaceChildNode(binary->getLeft(), newSymbol); + return replacement; + } + + binary = binary->getLeft()->getAsBinaryNode(); + } + + UNREACHABLE(); + return nullptr; +} + +void GenerateArrayStrides(const std::vector &arraySizes, + std::vector *arrayStridesOut) +{ + auto &strides = *arrayStridesOut; + + ASSERT(strides.empty()); + strides.reserve(arraySizes.size() + 1); + + size_t currentStride = 1; + strides.push_back(1); + for (auto it = arraySizes.rbegin(); it != arraySizes.rend(); ++it) + { + currentStride *= *it; + strides.push_back(currentStride); + } +} + +// This returns an expression representing the correct index using the array +// index operations in node. +static TIntermTyped *GetIndexExpressionFromTypedNode(TIntermTyped *node, + const std::vector &strides, + TIntermTyped *offset) +{ + TIntermTyped *result = offset; + TIntermTyped *currentNode = node; + + auto it = strides.end(); + --it; + // If this is being used as an argument, not all indices may be present; + // count how many indices are there. + while (currentNode->getAsBinaryNode()) + { + TIntermBinary *asBinary = currentNode->getAsBinaryNode(); + + switch (asBinary->getOp()) + { + case EOpIndexDirectStruct: + break; + + case EOpIndexDirect: + case EOpIndexIndirect: + --it; + break; + + default: + UNREACHABLE(); + break; + } + + currentNode = asBinary->getLeft(); + } + + currentNode = node; + + while (currentNode->getAsBinaryNode()) + { + TIntermBinary *asBinary = currentNode->getAsBinaryNode(); + + switch (asBinary->getOp()) + { + case EOpIndexDirectStruct: + break; + + case EOpIndexDirect: + case EOpIndexIndirect: + { + TIntermBinary *multiply = + new TIntermBinary(EOpMul, CreateIndexNode(static_cast(*it++)), + asBinary->getRight()->deepCopy()); + result = new TIntermBinary(EOpAdd, result, multiply); + break; + } + + default: + UNREACHABLE(); + break; + } + + currentNode = asBinary->getLeft(); + } + + return result; +} + +// Structures for keeping track of function instantiations. + +// An instantiation is keyed by the flattened sizes of the sampler arrays. +typedef std::vector Instantiation; + +struct InstantiationHash +{ + size_t operator()(const Instantiation &v) const noexcept + { + std::hash hasher; + size_t seed = 0; + for (size_t x : v) + { + seed ^= hasher(x) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + return seed; + } +}; + +// Map from each function to a "set" of instantiations. +// We store a TFunction for each instantiation as its value. +typedef std::map> + FunctionInstantiations; + +typedef std::unordered_map FunctionMap; + +// Generates a new function from the given function using the given +// instantiation; generatedInstantiations can be null. +TFunction *GenerateFunctionFromArguments(const TFunction *function, + const TIntermSequence *arguments, + TSymbolTable *symbolTable, + FunctionInstantiations *functionInstantiations, + FunctionMap *functionMap, + const FunctionInstantiations *generatedInstantiations) +{ + // Collect sizes of array arguments. + Instantiation instantiation; + for (TIntermNode *node : *arguments) + { + const TType &type = node->getAsTyped()->getType(); + if (type.isArray() && type.isSampler()) + { + ASSERT(type.getNumArraySizes() == 1); + instantiation.push_back(type.getArraySizes()[0]); + } + } + + if (generatedInstantiations) + { + auto it1 = generatedInstantiations->find(function->name()); + if (it1 != generatedInstantiations->end()) + { + const auto &map = it1->second; + auto it2 = map.find(instantiation); + if (it2 != map.end()) + { + return it2->second; + } + } + } + + TFunction **newFunction = &(*functionInstantiations)[function->name()][instantiation]; + + if (!*newFunction) + { + *newFunction = + new TFunction(symbolTable, kEmptyImmutableString, SymbolType::AngleInternal, + &function->getReturnType(), function->isKnownToNotHaveSideEffects()); + (*functionMap)[*newFunction] = function; + // Insert parameters from updated function. + TFunction *updatedFunction = symbolTable->findUserDefinedFunction(function->name()); + size_t paramCount = updatedFunction->getParamCount(); + auto it = instantiation.begin(); + for (size_t paramIndex = 0; paramIndex < paramCount; ++paramIndex) + { + const TVariable *param = updatedFunction->getParam(paramIndex); + const TType ¶mType = param->getType(); + if (paramType.isArray() && paramType.isSampler()) + { + TType *replacementType = new TType(paramType); + size_t arraySize = *it++; + replacementType->setArraySize(0, static_cast(arraySize)); + param = + new TVariable(symbolTable, param->name(), replacementType, param->symbolType()); + } + (*newFunction)->addParameter(param); + } + } + return *newFunction; +} + +class ArrayTraverser +{ + public: + ArrayTraverser() { mCumulativeArraySizeStack.push_back(1); } + + void enterArray(const TType &arrayType) + { + if (!arrayType.isArray()) + return; + size_t currentArraySize = mCumulativeArraySizeStack.back(); + const TSpan &arraySizes = arrayType.getArraySizes(); + for (auto it = arraySizes.rbegin(); it != arraySizes.rend(); ++it) + { + unsigned int arraySize = *it; + currentArraySize *= arraySize; + mArraySizeStack.push_back(arraySize); + mCumulativeArraySizeStack.push_back(currentArraySize); + } + } + + void exitArray(const TType &arrayType) + { + if (!arrayType.isArray()) + return; + mArraySizeStack.resize(mArraySizeStack.size() - arrayType.getNumArraySizes()); + mCumulativeArraySizeStack.resize(mCumulativeArraySizeStack.size() - + arrayType.getNumArraySizes()); + } + + protected: + std::vector mArraySizeStack; + // The first element is 1; each successive element is the previous + // multiplied by the size of the next nested array in the current sampler. + // For example, with sampler2D foo[3][6], we would have {1, 3, 18}. + std::vector mCumulativeArraySizeStack; +}; + +struct VariableExtraData +{ + // The value consists of strides, starting from the outermost array. + // For example, with sampler2D foo[3][6], we would have {1, 6, 18}. + std::unordered_map> arrayStrideMap; + // For each generated array parameter, holds the offset parameter. + std::unordered_map paramOffsetMap; +}; + +class Traverser final : public TIntermTraverser, public ArrayTraverser +{ + public: + explicit Traverser(TSymbolTable *symbolTable) + : TIntermTraverser(true, false, true, symbolTable), mRemovedUniformsCount(0) + { + mSymbolTable->push(); + } + + ~Traverser() override { mSymbolTable->pop(); } + + int removedUniformsCount() const { return mRemovedUniformsCount; } + + // Each struct sampler declaration is stripped of its samplers. New uniforms are added for each + // stripped struct sampler. Flattens all arrays, including default uniforms. + bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override + { + if (visit != PreVisit) + return true; + + if (!mInGlobalScope) + { + return true; + } + + const TIntermSequence &sequence = *(decl->getSequence()); + TIntermTyped *declarator = sequence.front()->getAsTyped(); + const TType &type = declarator->getType(); + + if (type.isStructureContainingSamplers()) + { + TIntermSequence *newSequence = new TIntermSequence; + + if (type.isStructSpecifier()) + { + stripStructSpecifierSamplers(type.getStruct(), newSequence); + } + else + { + TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); + ASSERT(asSymbol); + const TVariable &variable = asSymbol->variable(); + ASSERT(variable.symbolType() != SymbolType::Empty); + extractStructSamplerUniforms(decl, variable, type.getStruct(), newSequence); + } + + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), decl, *newSequence); + } + + if ((type.isSampler() || type.isImage()) && type.isArray()) + { + TIntermSequence *newSequence = new TIntermSequence; + TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); + ASSERT(asSymbol); + const TVariable &variable = asSymbol->variable(); + ASSERT(variable.symbolType() != SymbolType::Empty); + extractSampler(variable.name(), variable.symbolType(), variable.getType(), newSequence, + 0); + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), decl, *newSequence); + } + + return true; + } + + // Each struct sampler reference is replaced with a reference to the new extracted sampler. + bool visitBinary(Visit visit, TIntermBinary *node) override + { + if (visit != PreVisit) + return true; + // If the node isn't a sampler and it isn't an image or if this isn't the outermost + // access, continue. + if ((!node->getType().isSampler() && !node->getType().isImage()) || + node->getType().isArray()) + { + return true; + } + + if (node->getOp() == EOpIndexDirect || node->getOp() == EOpIndexIndirect || + node->getOp() == EOpIndexDirectStruct) + { + ImmutableString newName = GetStructSamplerNameFromTypedNode(node); + const TVariable *samplerReplacement = + static_cast(mSymbolTable->findUserDefined(newName)); + ASSERT(samplerReplacement); + + TIntermTyped *replacement = new TIntermSymbol(samplerReplacement); + + if (replacement->isArray()) + { + // Add in an indirect index if contained in an array + const auto &strides = mVariableExtraData.arrayStrideMap[samplerReplacement]; + ASSERT(!strides.empty()); + if (strides.size() > 1) + { + auto it = mVariableExtraData.paramOffsetMap.find(samplerReplacement); + + TIntermTyped *offset = + it == mVariableExtraData.paramOffsetMap.end() + ? static_cast(CreateIndexNode(0)) + : static_cast(new TIntermSymbol(it->second)); + + TIntermTyped *index = GetIndexExpressionFromTypedNode(node, strides, offset); + replacement = new TIntermBinary(EOpIndexIndirect, replacement, index); + } + } + + queueReplacement(replacement, OriginalNode::IS_DROPPED); + return true; + } + + return true; + } + + // In we are passing references to structs containing samplers we must new additional + // arguments. For each extracted struct sampler a new argument is added. This chains to nested + // structs. + void visitFunctionPrototype(TIntermFunctionPrototype *node) override + { + const TFunction *function = node->getFunction(); + + if (!function->hasSamplerInStructOrArrayParams()) + { + return; + } + + const TSymbol *foundFunction = mSymbolTable->findUserDefined(function->name()); + if (foundFunction) + { + ASSERT(foundFunction->isFunction()); + function = static_cast(foundFunction); + } + else + { + TFunction *newFunction = createStructSamplerFunction(function); + mSymbolTable->declareUserDefinedFunction(newFunction, true); + function = newFunction; + } + + ASSERT(!function->hasSamplerInStructOrArrayOfArrayParams()); + TIntermFunctionPrototype *newProto = new TIntermFunctionPrototype(function); + queueReplacement(newProto, OriginalNode::IS_DROPPED); + } + + // We insert a new scope for each function definition so we can track the new parameters. + bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override + { + if (visit == PreVisit) + { + mSymbolTable->push(); + } + else + { + ASSERT(visit == PostVisit); + mSymbolTable->pop(); + } + return true; + } + + // For function call nodes we pass references to the extracted struct samplers in that scope. + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (visit != PreVisit) + return true; + + if (!node->isFunctionCall()) + return true; + + const TFunction *function = node->getFunction(); + if (!function->hasSamplerInStructOrArrayParams()) + return true; + + ASSERT(node->getOp() == EOpCallFunctionInAST); + TIntermSequence *newArguments = getStructSamplerArguments(function, node->getSequence()); + + TFunction *newFunction = GenerateFunctionFromArguments( + function, newArguments, mSymbolTable, &mFunctionInstantiations, &mFunctionMap, nullptr); + + TIntermAggregate *newCall = + TIntermAggregate::CreateFunctionCall(*newFunction, newArguments); + queueReplacement(newCall, OriginalNode::IS_DROPPED); + return true; + } + + FunctionInstantiations *getFunctionInstantiations() { return &mFunctionInstantiations; } + + std::unordered_map *getFunctionMap() + { + return &mFunctionMap; + } + + private: + // This returns the name of a struct sampler reference. References are always TIntermBinary. + static ImmutableString GetStructSamplerNameFromTypedNode(TIntermTyped *node) + { + std::string stringBuilder; + + TIntermTyped *currentNode = node; + while (currentNode->getAsBinaryNode()) + { + TIntermBinary *asBinary = currentNode->getAsBinaryNode(); + + switch (asBinary->getOp()) + { + case EOpIndexDirectStruct: + { + stringBuilder.insert(0, asBinary->getIndexStructFieldName().data()); + stringBuilder.insert(0, "_"); + break; + } + + case EOpIndexDirect: + case EOpIndexIndirect: + break; + + default: + UNREACHABLE(); + break; + } + + currentNode = asBinary->getLeft(); + } + + const ImmutableString &variableName = currentNode->getAsSymbolNode()->variable().name(); + stringBuilder.insert(0, variableName.data()); + + return stringBuilder; + } + + // Removes all the struct samplers from a struct specifier. + void stripStructSpecifierSamplers(const TStructure *structure, TIntermSequence *newSequence) + { + TFieldList *newFieldList = new TFieldList; + ASSERT(structure->containsSamplers()); + + for (const TField *field : structure->fields()) + { + const TType &fieldType = *field->type(); + if (!fieldType.isSampler() && !isRemovedStructType(fieldType)) + { + TType *newType = nullptr; + + if (fieldType.isStructureContainingSamplers()) + { + const TSymbol *structSymbol = + mSymbolTable->findUserDefined(fieldType.getStruct()->name()); + ASSERT(structSymbol && structSymbol->isStruct()); + const TStructure *fieldStruct = static_cast(structSymbol); + newType = new TType(fieldStruct, true); + if (fieldType.isArray()) + { + newType->makeArrays(fieldType.getArraySizes()); + } + } + else + { + newType = new TType(fieldType); + } + + TField *newField = + new TField(newType, field->name(), field->line(), field->symbolType()); + newFieldList->push_back(newField); + } + } + + // Prune empty structs. + if (newFieldList->empty()) + { + mRemovedStructs.insert(structure->name()); + return; + } + + TStructure *newStruct = + new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); + TType *newStructType = new TType(newStruct, true); + TVariable *newStructVar = + new TVariable(mSymbolTable, kEmptyImmutableString, newStructType, SymbolType::Empty); + TIntermSymbol *newStructRef = new TIntermSymbol(newStructVar); + + TIntermDeclaration *structDecl = new TIntermDeclaration; + structDecl->appendDeclarator(newStructRef); + + newSequence->push_back(structDecl); + + mSymbolTable->declare(newStruct); + } + + // Returns true if the type is a struct that was removed because we extracted all the members. + bool isRemovedStructType(const TType &type) const + { + const TStructure *structure = type.getStruct(); + return (structure && (mRemovedStructs.count(structure->name()) > 0)); + } + + // Removes samplers from struct uniforms. For each sampler removed also adds a new globally + // defined sampler uniform. + void extractStructSamplerUniforms(TIntermDeclaration *oldDeclaration, + const TVariable &variable, + const TStructure *structure, + TIntermSequence *newSequence) + { + ASSERT(structure->containsSamplers()); + + size_t nonSamplerCount = 0; + + enterArray(variable.getType()); + + for (const TField *field : structure->fields()) + { + nonSamplerCount += + extractFieldSamplers(variable.name(), field, variable.getType(), newSequence); + } + + if (nonSamplerCount > 0) + { + // Keep the old declaration around if it has other members. + newSequence->push_back(oldDeclaration); + } + else + { + mRemovedUniformsCount++; + } + + exitArray(variable.getType()); + } + + // Extracts samplers from a field of a struct. Works with nested structs and arrays. + size_t extractFieldSamplers(const ImmutableString &prefix, + const TField *field, + const TType &containingType, + TIntermSequence *newSequence) + { + return extractFieldSamplersImpl(prefix, field, newSequence); + } + + // Extracts samplers from a field of a struct. Works with nested structs and arrays. + size_t extractFieldSamplersImpl(const ImmutableString &prefix, + const TField *field, + TIntermSequence *newSequence) + { + size_t nonSamplerCount = 0; + + const TType &fieldType = *field->type(); + if (fieldType.isSampler() || fieldType.isStructureContainingSamplers()) + { + ImmutableStringBuilder stringBuilder(prefix.length() + field->name().length() + 1); + stringBuilder << prefix << "_" << field->name(); + ImmutableString newPrefix(stringBuilder); + + if (fieldType.isSampler()) + { + extractSampler(newPrefix, SymbolType::AngleInternal, fieldType, newSequence, 0); + } + else + { + enterArray(fieldType); + const TStructure *structure = fieldType.getStruct(); + for (const TField *nestedField : structure->fields()) + { + nonSamplerCount += + extractFieldSamplers(newPrefix, nestedField, fieldType, newSequence); + } + exitArray(fieldType); + } + } + else + { + nonSamplerCount++; + } + + return nonSamplerCount; + } + + // Extracts a sampler from a struct. Declares the new extracted sampler. + void extractSampler(const ImmutableString &newName, + SymbolType symbolType, + const TType &fieldType, + TIntermSequence *newSequence, + size_t arrayLevel) + { + enterArray(fieldType); + + TType *newType = new TType(fieldType); + while (newType->isArray()) + { + newType->toArrayElementType(); + } + if (!mArraySizeStack.empty()) + { + newType->makeArray(static_cast(mCumulativeArraySizeStack.back())); + } + newType->setQualifier(EvqUniform); + TVariable *newVariable = new TVariable(mSymbolTable, newName, newType, symbolType); + TIntermSymbol *newRef = new TIntermSymbol(newVariable); + + TIntermDeclaration *samplerDecl = new TIntermDeclaration; + samplerDecl->appendDeclarator(newRef); + + newSequence->push_back(samplerDecl); + + // TODO(syoussefi): Use a SymbolType::Empty name instead of generating a name as currently + // done. There is no guarantee that these generated names cannot clash. Create a mapping + // from the previous name to the name assigned to the SymbolType::Empty variable so + // ShaderVariable::mappedName can be updated post-transformation. + // http://anglebug.com/4301 + if (symbolType == SymbolType::AngleInternal) + { + mSymbolTable->declareInternal(newVariable); + } + else + { + mSymbolTable->declare(newVariable); + } + + GenerateArrayStrides(mArraySizeStack, &mVariableExtraData.arrayStrideMap[newVariable]); + + exitArray(fieldType); + } + + // Returns the chained name of a sampler uniform field. + static ImmutableString GetFieldName(const ImmutableString ¶mName, const TField *field) + { + ImmutableStringBuilder nameBuilder(paramName.length() + 1 + field->name().length()); + nameBuilder << paramName << "_"; + nameBuilder << field->name(); + + return nameBuilder; + } + + // A pattern that visits every parameter of a function call. Uses different handlers for struct + // parameters, struct sampler parameters, and non-struct parameters. + class StructSamplerFunctionVisitor : angle::NonCopyable, public ArrayTraverser + { + public: + StructSamplerFunctionVisitor() = default; + virtual ~StructSamplerFunctionVisitor() = default; + + virtual void traverse(const TFunction *function) + { + size_t paramCount = function->getParamCount(); + + for (size_t paramIndex = 0; paramIndex < paramCount; ++paramIndex) + { + const TVariable *param = function->getParam(paramIndex); + const TType ¶mType = param->getType(); + + if (paramType.isStructureContainingSamplers()) + { + const ImmutableString &baseName = getNameFromIndex(function, paramIndex); + if (traverseStructContainingSamplers(baseName, paramType, paramIndex)) + { + visitStructParam(function, paramIndex); + } + } + else if (paramType.isArray() && paramType.isSampler()) + { + const ImmutableString ¶mName = getNameFromIndex(function, paramIndex); + traverseLeafSampler(paramName, paramType, paramIndex); + } + else + { + visitNonStructParam(function, paramIndex); + } + } + } + + virtual ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) = 0; + // Also includes samplers in arrays of arrays. + virtual void visitSamplerInStructParam(const ImmutableString &name, + const TType *type, + size_t paramIndex) = 0; + virtual void visitStructParam(const TFunction *function, size_t paramIndex) = 0; + virtual void visitNonStructParam(const TFunction *function, size_t paramIndex) = 0; + + private: + bool traverseStructContainingSamplers(const ImmutableString &baseName, + const TType &structType, + size_t paramIndex) + { + bool hasNonSamplerFields = false; + const TStructure *structure = structType.getStruct(); + enterArray(structType); + for (const TField *field : structure->fields()) + { + if (field->type()->isStructureContainingSamplers() || field->type()->isSampler()) + { + if (traverseSamplerInStruct(baseName, structType, field, paramIndex)) + { + hasNonSamplerFields = true; + } + } + else + { + hasNonSamplerFields = true; + } + } + exitArray(structType); + return hasNonSamplerFields; + } + + bool traverseSamplerInStruct(const ImmutableString &baseName, + const TType &baseType, + const TField *field, + size_t paramIndex) + { + bool hasNonSamplerParams = false; + + if (field->type()->isStructureContainingSamplers()) + { + ImmutableString name = GetFieldName(baseName, field); + hasNonSamplerParams = + traverseStructContainingSamplers(name, *field->type(), paramIndex); + } + else + { + ASSERT(field->type()->isSampler()); + ImmutableString name = GetFieldName(baseName, field); + traverseLeafSampler(name, *field->type(), paramIndex); + } + + return hasNonSamplerParams; + } + + void traverseLeafSampler(const ImmutableString &samplerName, + const TType &samplerType, + size_t paramIndex) + { + enterArray(samplerType); + visitSamplerInStructParam(samplerName, &samplerType, paramIndex); + exitArray(samplerType); + return; + } + }; + + // A visitor that replaces functions with struct sampler references. The struct sampler + // references are expanded to include new fields for the structs. + class CreateStructSamplerFunctionVisitor final : public StructSamplerFunctionVisitor + { + public: + CreateStructSamplerFunctionVisitor(TSymbolTable *symbolTable, VariableExtraData *extraData) + : mSymbolTable(symbolTable), mNewFunction(nullptr), mExtraData(extraData) + {} + + ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + return param->name(); + } + + void traverse(const TFunction *function) override + { + mNewFunction = + new TFunction(mSymbolTable, function->name(), function->symbolType(), + &function->getReturnType(), function->isKnownToNotHaveSideEffects()); + + StructSamplerFunctionVisitor::traverse(function); + } + + void visitSamplerInStructParam(const ImmutableString &name, + const TType *type, + size_t paramIndex) override + { + if (mArraySizeStack.size() > 0) + { + TType *newType = new TType(*type); + newType->toArrayBaseType(); + newType->makeArray(static_cast(mCumulativeArraySizeStack.back())); + type = newType; + } + TVariable *fieldSampler = + new TVariable(mSymbolTable, name, type, SymbolType::AngleInternal); + mNewFunction->addParameter(fieldSampler); + mSymbolTable->declareInternal(fieldSampler); + if (mArraySizeStack.size() > 0) + { + // Also declare an offset parameter. + const TType *intType = StaticType::GetBasic(); + TVariable *samplerOffset = new TVariable(mSymbolTable, kEmptyImmutableString, + intType, SymbolType::AngleInternal); + mNewFunction->addParameter(samplerOffset); + GenerateArrayStrides(mArraySizeStack, &mExtraData->arrayStrideMap[fieldSampler]); + mExtraData->paramOffsetMap[fieldSampler] = samplerOffset; + } + } + + void visitStructParam(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + TType *structType = GetStructSamplerParameterType(mSymbolTable, *param); + TVariable *newParam = + new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); + mNewFunction->addParameter(newParam); + } + + void visitNonStructParam(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + mNewFunction->addParameter(param); + } + + TFunction *getNewFunction() const { return mNewFunction; } + + private: + TSymbolTable *mSymbolTable; + TFunction *mNewFunction; + VariableExtraData *mExtraData; + }; + + TFunction *createStructSamplerFunction(const TFunction *function) + { + CreateStructSamplerFunctionVisitor visitor(mSymbolTable, &mVariableExtraData); + visitor.traverse(function); + return visitor.getNewFunction(); + } + + // A visitor that replaces function calls with expanded struct sampler parameters. + class GetSamplerArgumentsVisitor final : public StructSamplerFunctionVisitor + { + public: + GetSamplerArgumentsVisitor(TSymbolTable *symbolTable, + const TIntermSequence *arguments, + VariableExtraData *extraData) + : mSymbolTable(symbolTable), + mArguments(arguments), + mNewArguments(new TIntermSequence), + mExtraData(extraData) + {} + + ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) override + { + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + return GetStructSamplerNameFromTypedNode(argument); + } + + void visitSamplerInStructParam(const ImmutableString &name, + const TType *type, + size_t paramIndex) override + { + const TVariable *argSampler = + static_cast(mSymbolTable->findUserDefined(name)); + ASSERT(argSampler); + + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + + auto it = mExtraData->paramOffsetMap.find(argSampler); + TIntermTyped *argOffset = + it == mExtraData->paramOffsetMap.end() + ? static_cast(CreateIndexNode(0)) + : static_cast(new TIntermSymbol(it->second)); + + TIntermTyped *finalOffset = GetIndexExpressionFromTypedNode( + argument, mExtraData->arrayStrideMap[argSampler], argOffset); + + TIntermSymbol *argSymbol = new TIntermSymbol(argSampler); + + // If we have a regular sampler inside a struct (possibly an array + // of structs), handle this case separately. + if (!type->isArray() && mArraySizeStack.size() == 0) + { + if (argSampler->getType().isArray()) + { + TIntermTyped *argIndex = + new TIntermBinary(EOpIndexIndirect, argSymbol, finalOffset); + mNewArguments->push_back(argIndex); + } + else + { + mNewArguments->push_back(argSymbol); + } + return; + } + + mNewArguments->push_back(argSymbol); + + mNewArguments->push_back(finalOffset); + // If array, we need to calculate the offset based on what indices + // are present in the argument. + } + + void visitStructParam(const TFunction *function, size_t paramIndex) override + { + // The tree structure of the parameter is modified to point to the new type. This leaves + // the tree in a consistent state. + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + TIntermTyped *replacement = ReplaceTypeOfTypedStructNode(argument, mSymbolTable); + mNewArguments->push_back(replacement); + } + + void visitNonStructParam(const TFunction *function, size_t paramIndex) override + { + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + mNewArguments->push_back(argument); + } + + TIntermSequence *getNewArguments() const { return mNewArguments; } + + private: + TSymbolTable *mSymbolTable; + const TIntermSequence *mArguments; + TIntermSequence *mNewArguments; + VariableExtraData *mExtraData; + }; + + TIntermSequence *getStructSamplerArguments(const TFunction *function, + const TIntermSequence *arguments) + { + GetSamplerArgumentsVisitor visitor(mSymbolTable, arguments, &mVariableExtraData); + visitor.traverse(function); + return visitor.getNewArguments(); + } + + int mRemovedUniformsCount; + std::set mRemovedStructs; + FunctionInstantiations mFunctionInstantiations; + FunctionMap mFunctionMap; + VariableExtraData mVariableExtraData; +}; + +class MonomorphizeTraverser final : public TIntermTraverser +{ + public: + typedef std::unordered_map VariableReplacementMap; + + explicit MonomorphizeTraverser( + TCompiler *compiler, + TSymbolTable *symbolTable, + FunctionInstantiations *functionInstantiations, + std::unordered_map *functionMap) + : TIntermTraverser(true, false, true, symbolTable), + mFunctionInstantiations(*functionInstantiations), + mFunctionMap(functionMap), + mCompiler(compiler), + mSubpassesSucceeded(true) + {} + + void switchToPending() + { + mFunctionInstantiations.clear(); + mFunctionInstantiations.swap(mPendingInstantiations); + } + + bool hasPending() + { + if (mPendingInstantiations.empty()) + return false; + for (auto &entry : mPendingInstantiations) + { + if (!entry.second.empty()) + { + return true; + } + } + return false; + } + + bool subpassesSucceeded() { return mSubpassesSucceeded; } + + void visitFunctionPrototype(TIntermFunctionPrototype *node) override + { + mReplacementPrototypes.clear(); + const TFunction *function = node->getFunction(); + + auto &generatedMap = mGeneratedInstantiations[function->name()]; + + auto it = mFunctionInstantiations.find(function->name()); + if (it == mFunctionInstantiations.end()) + return; + for (const auto &instantiation : it->second) + { + TFunction *replacementFunction = instantiation.second; + mReplacementPrototypes.push_back(new TIntermFunctionPrototype(replacementFunction)); + generatedMap[instantiation.first] = replacementFunction; + } + if (!mInFunctionDefinition) + { + insertStatementsInParentBlock(mReplacementPrototypes); + } + } + + bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override + { + mInFunctionDefinition = visit == PreVisit; + if (visit != PostVisit) + return true; + TIntermSequence replacements; + const TFunction *function = node->getFunction(); + size_t numParameters = function->getParamCount(); + + for (TIntermNode *replacementNode : mReplacementPrototypes) + { + TIntermFunctionPrototype *replacementPrototype = + replacementNode->getAsFunctionPrototypeNode(); + const TFunction *replacementFunction = replacementPrototype->getFunction(); + + // Replace function parameters with correct array sizes. + VariableReplacementMap variableReplacementMap; + ASSERT(replacementPrototype->getFunction()->getParamCount() == numParameters); + for (size_t i = 0; i < numParameters; i++) + { + const TVariable *origParam = function->getParam(i); + const TVariable *newParam = replacementFunction->getParam(i); + if (origParam != newParam) + { + variableReplacementMap[origParam] = newParam; + } + } + + TIntermBlock *body = node->getBody()->deepCopy(); + ReplaceVariablesTraverser replaceVariables(mSymbolTable, &variableReplacementMap); + body->traverse(&replaceVariables); + mSubpassesSucceeded &= replaceVariables.updateTree(mCompiler, body); + CollectNewInstantiationsTraverser collectNewInstantiations( + mSymbolTable, &mPendingInstantiations, &mGeneratedInstantiations, mFunctionMap); + body->traverse(&collectNewInstantiations); + mSubpassesSucceeded &= collectNewInstantiations.updateTree(mCompiler, body); + replacements.push_back(new TIntermFunctionDefinition(replacementPrototype, body)); + } + insertStatementsInParentBlock(replacements); + return true; + } + + private: + bool mInFunctionDefinition; + FunctionInstantiations mFunctionInstantiations; + // Set of already-generated instantiations. + FunctionInstantiations mGeneratedInstantiations; + // New instantiations caused by other instantiations. + FunctionInstantiations mPendingInstantiations; + std::unordered_map *mFunctionMap; + TIntermSequence mReplacementPrototypes; + TCompiler *mCompiler; + bool mSubpassesSucceeded; + + class ReplaceVariablesTraverser : public TIntermTraverser + { + public: + explicit ReplaceVariablesTraverser(TSymbolTable *symbolTable, + VariableReplacementMap *variableReplacementMap) + : TIntermTraverser(true, false, false, symbolTable), + mVariableReplacementMap(variableReplacementMap) + {} + + void visitSymbol(TIntermSymbol *node) override + { + const TVariable *variable = &node->variable(); + auto it = mVariableReplacementMap->find(variable); + if (it != mVariableReplacementMap->end()) + { + queueReplacement(new TIntermSymbol(it->second), OriginalNode::IS_DROPPED); + } + } + + private: + VariableReplacementMap *mVariableReplacementMap; + }; + + class CollectNewInstantiationsTraverser : public TIntermTraverser + { + public: + explicit CollectNewInstantiationsTraverser( + TSymbolTable *symbolTable, + FunctionInstantiations *pendingInstantiations, + FunctionInstantiations *generatedInstantiations, + std::unordered_map *functionMap) + : TIntermTraverser(true, false, false, symbolTable), + mPendingInstantiations(pendingInstantiations), + mGeneratedInstantiations(generatedInstantiations), + mFunctionMap(functionMap) + {} + + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (!node->isFunctionCall()) + return true; + const TFunction *function = node->getFunction(); + const TFunction *oldFunction; + { + auto it = mFunctionMap->find(function); + if (it == mFunctionMap->end()) + return true; + oldFunction = it->second; + } + ASSERT(node->getOp() == EOpCallFunctionInAST); + TIntermSequence *arguments = node->getSequence(); + TFunction *newFunction = GenerateFunctionFromArguments( + oldFunction, arguments, mSymbolTable, mPendingInstantiations, mFunctionMap, + mGeneratedInstantiations); + queueReplacement(TIntermAggregate::CreateFunctionCall(*newFunction, arguments), + OriginalNode::IS_DROPPED); + return true; + } + + private: + FunctionInstantiations *mPendingInstantiations; + FunctionInstantiations *mGeneratedInstantiations; + std::unordered_map *mFunctionMap; + }; +}; +} // anonymous namespace + +bool RewriteStructSamplers(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + int *removedUniformsCountOut) +{ + Traverser rewriteStructSamplers(symbolTable); + root->traverse(&rewriteStructSamplers); + if (!rewriteStructSamplers.updateTree(compiler, root)) + { + return false; + } + *removedUniformsCountOut = rewriteStructSamplers.removedUniformsCount(); + + if (rewriteStructSamplers.getFunctionInstantiations()->empty()) + { + return true; + } + + MonomorphizeTraverser monomorphizeFunctions(compiler, symbolTable, + rewriteStructSamplers.getFunctionInstantiations(), + rewriteStructSamplers.getFunctionMap()); + root->traverse(&monomorphizeFunctions); + if (!monomorphizeFunctions.subpassesSucceeded()) + { + return false; + } + if (!monomorphizeFunctions.updateTree(compiler, root)) + { + return false; + } + + // Generate instantiations caused by other instantiations. + while (monomorphizeFunctions.hasPending()) + { + monomorphizeFunctions.switchToPending(); + root->traverse(&monomorphizeFunctions); + if (!monomorphizeFunctions.subpassesSucceeded()) + { + return false; + } + if (!monomorphizeFunctions.updateTree(compiler, root)) + { + return false; + } + } + + return true; +} +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.h new file mode 100644 index 000000000000..a7c0cccafc31 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.h @@ -0,0 +1,42 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteStructSamplers: Extract structs from samplers. +// +// This traverser is designed to strip out samplers from structs. It moves them into +// separate uniform sampler declarations. This allows the struct to be stored in the +// default uniform block. It also requires that we rewrite any functions that take the +// struct as an argument. The struct is split into two arguments. +// +// For example: +// struct S { sampler2D samp; int i; }; +// uniform S uni; +// Is rewritten as: +// struct S { int i; }; +// uniform S uni; +// uniform sampler2D uni_i; + +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITESTRUCTSAMPLERS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITESTRUCTSAMPLERS_H_ + +#include "common/angleutils.h" + +namespace sh +{ +class TCompiler; +class TIntermBlock; +class TSymbolTable; + +ANGLE_NO_DISCARD bool RewriteStructSamplers(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + int *removedUniformsCountOut); +ANGLE_NO_DISCARD bool RewriteStructSamplersOld(TCompiler *compier, + TIntermBlock *root, + TSymbolTable *symbolTable, + int *removedUniformsCountOut); +} // namespace sh + +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITESTRUCTSAMPLERS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplersOld.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplersOld.cpp new file mode 100644 index 000000000000..2ad93c1e580c --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteStructSamplersOld.cpp @@ -0,0 +1,705 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// RewriteStructSamplers: Extract structs from samplers. +// + +#include "compiler/translator/tree_ops/RewriteStructSamplers.h" + +#include "compiler/translator/ImmutableStringBuilder.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/IntermTraverse.h" + +namespace sh +{ +namespace +{ +// Helper method to get the sampler extracted struct type of a parameter. +TType *GetStructSamplerParameterType(TSymbolTable *symbolTable, const TVariable ¶m) +{ + const TStructure *structure = param.getType().getStruct(); + const TSymbol *structSymbol = symbolTable->findUserDefined(structure->name()); + ASSERT(structSymbol && structSymbol->isStruct()); + const TStructure *structVar = static_cast(structSymbol); + TType *structType = new TType(structVar, false); + + if (param.getType().isArray()) + { + structType->makeArrays(param.getType().getArraySizes()); + } + + ASSERT(!structType->isStructureContainingSamplers()); + + return structType; +} + +TIntermSymbol *ReplaceTypeOfSymbolNode(TIntermSymbol *symbolNode, TSymbolTable *symbolTable) +{ + const TVariable &oldVariable = symbolNode->variable(); + + TType *newType = GetStructSamplerParameterType(symbolTable, oldVariable); + + TVariable *newVariable = + new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), + oldVariable.extension(), newType); + return new TIntermSymbol(newVariable); +} + +TIntermTyped *ReplaceTypeOfTypedStructNode(TIntermTyped *argument, TSymbolTable *symbolTable) +{ + TIntermSymbol *asSymbol = argument->getAsSymbolNode(); + if (asSymbol) + { + ASSERT(asSymbol->getType().getStruct()); + return ReplaceTypeOfSymbolNode(asSymbol, symbolTable); + } + + TIntermTyped *replacement = argument->deepCopy(); + TIntermBinary *binary = replacement->getAsBinaryNode(); + ASSERT(binary); + + while (binary) + { + ASSERT(binary->getOp() == EOpIndexDirectStruct || binary->getOp() == EOpIndexDirect); + + asSymbol = binary->getLeft()->getAsSymbolNode(); + + if (asSymbol) + { + ASSERT(asSymbol->getType().getStruct()); + TIntermSymbol *newSymbol = ReplaceTypeOfSymbolNode(asSymbol, symbolTable); + binary->replaceChildNode(binary->getLeft(), newSymbol); + return replacement; + } + + binary = binary->getLeft()->getAsBinaryNode(); + } + + UNREACHABLE(); + return nullptr; +} + +// Maximum string size of a hex unsigned int. +constexpr size_t kHexSize = ImmutableStringBuilder::GetHexCharCount(); + +class Traverser final : public TIntermTraverser +{ + public: + explicit Traverser(TSymbolTable *symbolTable) + : TIntermTraverser(true, false, true, symbolTable), mRemovedUniformsCount(0) + { + mSymbolTable->push(); + } + + ~Traverser() override { mSymbolTable->pop(); } + + int removedUniformsCount() const { return mRemovedUniformsCount; } + + // Each struct sampler declaration is stripped of its samplers. New uniforms are added for each + // stripped struct sampler. + bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override + { + if (visit != PreVisit) + return true; + + if (!mInGlobalScope) + { + return true; + } + + const TIntermSequence &sequence = *(decl->getSequence()); + TIntermTyped *declarator = sequence.front()->getAsTyped(); + const TType &type = declarator->getType(); + + if (type.isStructureContainingSamplers()) + { + TIntermSequence *newSequence = new TIntermSequence; + + if (type.isStructSpecifier()) + { + stripStructSpecifierSamplers(type.getStruct(), newSequence); + } + else + { + TIntermSymbol *asSymbol = declarator->getAsSymbolNode(); + ASSERT(asSymbol); + const TVariable &variable = asSymbol->variable(); + ASSERT(variable.symbolType() != SymbolType::Empty); + extractStructSamplerUniforms(decl, variable, type.getStruct(), newSequence); + } + + mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), decl, *newSequence); + } + + return true; + } + + // Each struct sampler reference is replaced with a reference to the new extracted sampler. + bool visitBinary(Visit visit, TIntermBinary *node) override + { + if (visit != PreVisit) + return true; + + if (node->getOp() == EOpIndexDirectStruct && node->getType().isSampler()) + { + ImmutableString newName = GetStructSamplerNameFromTypedNode(node); + const TVariable *samplerReplacement = + static_cast(mSymbolTable->findUserDefined(newName)); + ASSERT(samplerReplacement); + + TIntermSymbol *replacement = new TIntermSymbol(samplerReplacement); + + queueReplacement(replacement, OriginalNode::IS_DROPPED); + return true; + } + + return true; + } + + // In we are passing references to structs containing samplers we must new additional + // arguments. For each extracted struct sampler a new argument is added. This chains to nested + // structs. + void visitFunctionPrototype(TIntermFunctionPrototype *node) override + { + const TFunction *function = node->getFunction(); + + if (!function->hasSamplerInStructOrArrayOfArrayParams()) + { + return; + } + + const TSymbol *foundFunction = mSymbolTable->findUserDefined(function->name()); + if (foundFunction) + { + ASSERT(foundFunction->isFunction()); + function = static_cast(foundFunction); + } + else + { + TFunction *newFunction = createStructSamplerFunction(function); + mSymbolTable->declareUserDefinedFunction(newFunction, true); + function = newFunction; + } + + ASSERT(!function->hasSamplerInStructOrArrayOfArrayParams()); + TIntermFunctionPrototype *newProto = new TIntermFunctionPrototype(function); + queueReplacement(newProto, OriginalNode::IS_DROPPED); + } + + // We insert a new scope for each function definition so we can track the new parameters. + bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override + { + if (visit == PreVisit) + { + mSymbolTable->push(); + } + else + { + ASSERT(visit == PostVisit); + mSymbolTable->pop(); + } + return true; + } + + // For function call nodes we pass references to the extracted struct samplers in that scope. + bool visitAggregate(Visit visit, TIntermAggregate *node) override + { + if (visit != PreVisit) + return true; + + if (!node->isFunctionCall()) + return true; + + const TFunction *function = node->getFunction(); + if (!function->hasSamplerInStructOrArrayOfArrayParams()) + return true; + + ASSERT(node->getOp() == EOpCallFunctionInAST); + TFunction *newFunction = mSymbolTable->findUserDefinedFunction(function->name()); + TIntermSequence *newArguments = getStructSamplerArguments(function, node->getSequence()); + + TIntermAggregate *newCall = + TIntermAggregate::CreateFunctionCall(*newFunction, newArguments); + queueReplacement(newCall, OriginalNode::IS_DROPPED); + return true; + } + + private: + // This returns the name of a struct sampler reference. References are always TIntermBinary. + static ImmutableString GetStructSamplerNameFromTypedNode(TIntermTyped *node) + { + std::string stringBuilder; + + TIntermTyped *currentNode = node; + while (currentNode->getAsBinaryNode()) + { + TIntermBinary *asBinary = currentNode->getAsBinaryNode(); + + switch (asBinary->getOp()) + { + case EOpIndexDirect: + { + const int index = asBinary->getRight()->getAsConstantUnion()->getIConst(0); + const std::string strInt = Str(index); + stringBuilder.insert(0, strInt); + stringBuilder.insert(0, "_"); + break; + } + case EOpIndexDirectStruct: + { + stringBuilder.insert(0, asBinary->getIndexStructFieldName().data()); + stringBuilder.insert(0, "_"); + break; + } + + default: + UNREACHABLE(); + break; + } + + currentNode = asBinary->getLeft(); + } + + const ImmutableString &variableName = currentNode->getAsSymbolNode()->variable().name(); + stringBuilder.insert(0, variableName.data()); + + return stringBuilder; + } + + // Removes all the struct samplers from a struct specifier. + void stripStructSpecifierSamplers(const TStructure *structure, TIntermSequence *newSequence) + { + TFieldList *newFieldList = new TFieldList; + ASSERT(structure->containsSamplers()); + + for (const TField *field : structure->fields()) + { + const TType &fieldType = *field->type(); + if (!fieldType.isSampler() && !isRemovedStructType(fieldType)) + { + TType *newType = nullptr; + + if (fieldType.isStructureContainingSamplers()) + { + const TSymbol *structSymbol = + mSymbolTable->findUserDefined(fieldType.getStruct()->name()); + ASSERT(structSymbol && structSymbol->isStruct()); + const TStructure *fieldStruct = static_cast(structSymbol); + newType = new TType(fieldStruct, true); + if (fieldType.isArray()) + { + newType->makeArrays(fieldType.getArraySizes()); + } + } + else + { + newType = new TType(fieldType); + } + + TField *newField = + new TField(newType, field->name(), field->line(), field->symbolType()); + newFieldList->push_back(newField); + } + } + + // Prune empty structs. + if (newFieldList->empty()) + { + mRemovedStructs.insert(structure->name()); + return; + } + + TStructure *newStruct = + new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); + TType *newStructType = new TType(newStruct, true); + TVariable *newStructVar = + new TVariable(mSymbolTable, kEmptyImmutableString, newStructType, SymbolType::Empty); + TIntermSymbol *newStructRef = new TIntermSymbol(newStructVar); + + TIntermDeclaration *structDecl = new TIntermDeclaration; + structDecl->appendDeclarator(newStructRef); + + newSequence->push_back(structDecl); + + mSymbolTable->declare(newStruct); + } + + // Returns true if the type is a struct that was removed because we extracted all the members. + bool isRemovedStructType(const TType &type) const + { + const TStructure *structure = type.getStruct(); + return (structure && (mRemovedStructs.count(structure->name()) > 0)); + } + + // Removes samplers from struct uniforms. For each sampler removed also adds a new globally + // defined sampler uniform. + void extractStructSamplerUniforms(TIntermDeclaration *oldDeclaration, + const TVariable &variable, + const TStructure *structure, + TIntermSequence *newSequence) + { + ASSERT(structure->containsSamplers()); + + size_t nonSamplerCount = 0; + + for (const TField *field : structure->fields()) + { + nonSamplerCount += + extractFieldSamplers(variable.name(), field, variable.getType(), newSequence); + } + + if (nonSamplerCount > 0) + { + // Keep the old declaration around if it has other members. + newSequence->push_back(oldDeclaration); + } + else + { + mRemovedUniformsCount++; + } + } + + // Extracts samplers from a field of a struct. Works with nested structs and arrays. + size_t extractFieldSamplers(const ImmutableString &prefix, + const TField *field, + const TType &containingType, + TIntermSequence *newSequence) + { + if (containingType.isArray()) + { + size_t nonSamplerCount = 0; + + // Name the samplers internally as varName__fieldName + const TSpan &arraySizes = containingType.getArraySizes(); + for (unsigned int arrayElement = 0; arrayElement < arraySizes[0]; ++arrayElement) + { + ImmutableStringBuilder stringBuilder(prefix.length() + kHexSize + 1); + stringBuilder << prefix << "_"; + stringBuilder.appendHex(arrayElement); + nonSamplerCount = extractFieldSamplersImpl(stringBuilder, field, newSequence); + } + + return nonSamplerCount; + } + + return extractFieldSamplersImpl(prefix, field, newSequence); + } + + // Extracts samplers from a field of a struct. Works with nested structs and arrays. + size_t extractFieldSamplersImpl(const ImmutableString &prefix, + const TField *field, + TIntermSequence *newSequence) + { + size_t nonSamplerCount = 0; + + const TType &fieldType = *field->type(); + if (fieldType.isSampler() || fieldType.isStructureContainingSamplers()) + { + ImmutableStringBuilder stringBuilder(prefix.length() + field->name().length() + 1); + stringBuilder << prefix << "_" << field->name(); + ImmutableString newPrefix(stringBuilder); + + if (fieldType.isSampler()) + { + extractSampler(newPrefix, fieldType, newSequence); + } + else + { + const TStructure *structure = fieldType.getStruct(); + for (const TField *nestedField : structure->fields()) + { + nonSamplerCount += + extractFieldSamplers(newPrefix, nestedField, fieldType, newSequence); + } + } + } + else + { + nonSamplerCount++; + } + + return nonSamplerCount; + } + + // Extracts a sampler from a struct. Declares the new extracted sampler. + void extractSampler(const ImmutableString &newName, + const TType &fieldType, + TIntermSequence *newSequence) const + { + TType *newType = new TType(fieldType); + newType->setQualifier(EvqUniform); + TVariable *newVariable = + new TVariable(mSymbolTable, newName, newType, SymbolType::AngleInternal); + TIntermSymbol *newRef = new TIntermSymbol(newVariable); + + TIntermDeclaration *samplerDecl = new TIntermDeclaration; + samplerDecl->appendDeclarator(newRef); + + newSequence->push_back(samplerDecl); + + mSymbolTable->declareInternal(newVariable); + } + + // Returns the chained name of a sampler uniform field. + static ImmutableString GetFieldName(const ImmutableString ¶mName, + const TField *field, + unsigned arrayIndex) + { + ImmutableStringBuilder nameBuilder(paramName.length() + kHexSize + 2 + + field->name().length()); + nameBuilder << paramName << "_"; + + if (arrayIndex < std::numeric_limits::max()) + { + nameBuilder.appendHex(arrayIndex); + nameBuilder << "_"; + } + nameBuilder << field->name(); + + return nameBuilder; + } + + // A pattern that visits every parameter of a function call. Uses different handlers for struct + // parameters, struct sampler parameters, and non-struct parameters. + class StructSamplerFunctionVisitor : angle::NonCopyable + { + public: + StructSamplerFunctionVisitor() = default; + virtual ~StructSamplerFunctionVisitor() = default; + + virtual void traverse(const TFunction *function) + { + size_t paramCount = function->getParamCount(); + + for (size_t paramIndex = 0; paramIndex < paramCount; ++paramIndex) + { + const TVariable *param = function->getParam(paramIndex); + const TType ¶mType = param->getType(); + + if (paramType.isStructureContainingSamplers()) + { + const ImmutableString &baseName = getNameFromIndex(function, paramIndex); + if (traverseStructContainingSamplers(baseName, paramType)) + { + visitStructParam(function, paramIndex); + } + } + else + { + visitNonStructParam(function, paramIndex); + } + } + } + + virtual ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) = 0; + virtual void visitSamplerInStructParam(const ImmutableString &name, + const TField *field) = 0; + virtual void visitStructParam(const TFunction *function, size_t paramIndex) = 0; + virtual void visitNonStructParam(const TFunction *function, size_t paramIndex) = 0; + + private: + bool traverseStructContainingSamplers(const ImmutableString &baseName, + const TType &structType) + { + bool hasNonSamplerFields = false; + const TStructure *structure = structType.getStruct(); + for (const TField *field : structure->fields()) + { + if (field->type()->isStructureContainingSamplers() || field->type()->isSampler()) + { + if (traverseSamplerInStruct(baseName, structType, field)) + { + hasNonSamplerFields = true; + } + } + else + { + hasNonSamplerFields = true; + } + } + return hasNonSamplerFields; + } + + bool traverseSamplerInStruct(const ImmutableString &baseName, + const TType &baseType, + const TField *field) + { + bool hasNonSamplerParams = false; + + if (baseType.isArray()) + { + const TSpan &arraySizes = baseType.getArraySizes(); + ASSERT(arraySizes.size() == 1); + + for (unsigned int arrayIndex = 0; arrayIndex < arraySizes[0]; ++arrayIndex) + { + ImmutableString name = GetFieldName(baseName, field, arrayIndex); + + if (field->type()->isStructureContainingSamplers()) + { + if (traverseStructContainingSamplers(name, *field->type())) + { + hasNonSamplerParams = true; + } + } + else + { + ASSERT(field->type()->isSampler()); + visitSamplerInStructParam(name, field); + } + } + } + else if (field->type()->isStructureContainingSamplers()) + { + ImmutableString name = + GetFieldName(baseName, field, std::numeric_limits::max()); + hasNonSamplerParams = traverseStructContainingSamplers(name, *field->type()); + } + else + { + ASSERT(field->type()->isSampler()); + ImmutableString name = + GetFieldName(baseName, field, std::numeric_limits::max()); + visitSamplerInStructParam(name, field); + } + + return hasNonSamplerParams; + } + }; + + // A visitor that replaces functions with struct sampler references. The struct sampler + // references are expanded to include new fields for the structs. + class CreateStructSamplerFunctionVisitor final : public StructSamplerFunctionVisitor + { + public: + CreateStructSamplerFunctionVisitor(TSymbolTable *symbolTable) + : mSymbolTable(symbolTable), mNewFunction(nullptr) + {} + + ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + return param->name(); + } + + void traverse(const TFunction *function) override + { + mNewFunction = + new TFunction(mSymbolTable, function->name(), function->symbolType(), + &function->getReturnType(), function->isKnownToNotHaveSideEffects()); + + StructSamplerFunctionVisitor::traverse(function); + } + + void visitSamplerInStructParam(const ImmutableString &name, const TField *field) override + { + TVariable *fieldSampler = + new TVariable(mSymbolTable, name, field->type(), SymbolType::AngleInternal); + mNewFunction->addParameter(fieldSampler); + mSymbolTable->declareInternal(fieldSampler); + } + + void visitStructParam(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + TType *structType = GetStructSamplerParameterType(mSymbolTable, *param); + TVariable *newParam = + new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); + mNewFunction->addParameter(newParam); + } + + void visitNonStructParam(const TFunction *function, size_t paramIndex) override + { + const TVariable *param = function->getParam(paramIndex); + mNewFunction->addParameter(param); + } + + TFunction *getNewFunction() const { return mNewFunction; } + + private: + TSymbolTable *mSymbolTable; + TFunction *mNewFunction; + }; + + TFunction *createStructSamplerFunction(const TFunction *function) const + { + CreateStructSamplerFunctionVisitor visitor(mSymbolTable); + visitor.traverse(function); + return visitor.getNewFunction(); + } + + // A visitor that replaces function calls with expanded struct sampler parameters. + class GetSamplerArgumentsVisitor final : public StructSamplerFunctionVisitor + { + public: + GetSamplerArgumentsVisitor(TSymbolTable *symbolTable, const TIntermSequence *arguments) + : mSymbolTable(symbolTable), mArguments(arguments), mNewArguments(new TIntermSequence) + {} + + ImmutableString getNameFromIndex(const TFunction *function, size_t paramIndex) override + { + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + return GetStructSamplerNameFromTypedNode(argument); + } + + void visitSamplerInStructParam(const ImmutableString &name, const TField *field) override + { + TVariable *argSampler = + new TVariable(mSymbolTable, name, field->type(), SymbolType::AngleInternal); + TIntermSymbol *argSymbol = new TIntermSymbol(argSampler); + mNewArguments->push_back(argSymbol); + } + + void visitStructParam(const TFunction *function, size_t paramIndex) override + { + // The tree structure of the parameter is modified to point to the new type. This leaves + // the tree in a consistent state. + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + TIntermTyped *replacement = ReplaceTypeOfTypedStructNode(argument, mSymbolTable); + mNewArguments->push_back(replacement); + } + + void visitNonStructParam(const TFunction *function, size_t paramIndex) override + { + TIntermTyped *argument = (*mArguments)[paramIndex]->getAsTyped(); + mNewArguments->push_back(argument); + } + + TIntermSequence *getNewArguments() const { return mNewArguments; } + + private: + TSymbolTable *mSymbolTable; + const TIntermSequence *mArguments; + TIntermSequence *mNewArguments; + }; + + TIntermSequence *getStructSamplerArguments(const TFunction *function, + const TIntermSequence *arguments) const + { + GetSamplerArgumentsVisitor visitor(mSymbolTable, arguments); + visitor.traverse(function); + return visitor.getNewArguments(); + } + + int mRemovedUniformsCount; + std::set mRemovedStructs; +}; +} // anonymous namespace + +bool RewriteStructSamplersOld(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + int *removedUniformsCountOut) +{ + Traverser rewriteStructSamplers(symbolTable); + root->traverse(&rewriteStructSamplers); + if (!rewriteStructSamplers.updateTree(compiler, root)) + { + return false; + } + *removedUniformsCountOut = rewriteStructSamplers.removedUniformsCount(); + return true; +} +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp index 9d44d5fd2a18..5f2ace36128b 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp @@ -100,10 +100,10 @@ bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) // Create new node that represents the call of function texelFetch. // Its argument list will be: texelFetch(sampler, Position+offset, lod). - TIntermSequence texelFetchArguments; + TIntermSequence *texelFetchArguments = new TIntermSequence(); // sampler - texelFetchArguments.push_back(sequence->at(0)); + texelFetchArguments->push_back(sequence->at(0)); // Position TIntermTyped *texCoordNode = sequence->at(1)->getAsTyped(); @@ -116,14 +116,14 @@ bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) { // For 2DArray samplers, Position is ivec3 and offset is ivec2; // So offset must be converted into an ivec3 before being added to Position. - TIntermSequence constructOffsetIvecArguments; - constructOffsetIvecArguments.push_back(sequence->at(3)->getAsTyped()); + TIntermSequence *constructOffsetIvecArguments = new TIntermSequence(); + constructOffsetIvecArguments->push_back(sequence->at(3)->getAsTyped()); TIntermTyped *zeroNode = CreateZeroNode(TType(EbtInt)); - constructOffsetIvecArguments.push_back(zeroNode); + constructOffsetIvecArguments->push_back(zeroNode); offsetNode = TIntermAggregate::CreateConstructor(texCoordNode->getType(), - &constructOffsetIvecArguments); + constructOffsetIvecArguments); offsetNode->setLine(texCoordNode->getLine()); } else @@ -134,14 +134,14 @@ bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) // Position+offset TIntermBinary *add = new TIntermBinary(EOpAdd, texCoordNode, offsetNode); add->setLine(texCoordNode->getLine()); - texelFetchArguments.push_back(add); + texelFetchArguments->push_back(add); // lod - texelFetchArguments.push_back(sequence->at(2)); + texelFetchArguments->push_back(sequence->at(2)); - ASSERT(texelFetchArguments.size() == 3u); + ASSERT(texelFetchArguments->size() == 3u); - TIntermTyped *texelFetchNode = CreateBuiltInFunctionCallNode("texelFetch", &texelFetchArguments, + TIntermTyped *texelFetchNode = CreateBuiltInFunctionCallNode("texelFetch", texelFetchArguments, *symbolTable, shaderVersion); texelFetchNode->setLine(node->getLine()); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.cpp similarity index 96% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.cpp index ce1cc73636f1..eb671fc843db 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.cpp @@ -4,7 +4,7 @@ // found in the LICENSE file. // -#include "compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.h" +#include "compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.h" #include "compiler/translator/tree_util/IntermNode_util.h" #include "compiler/translator/tree_util/IntermTraverse.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.h similarity index 67% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.h index 0fd570f84056..8d2f632cee36 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.h @@ -5,8 +5,8 @@ // Rewrite "-float" to "0.0 - float" to work around unary minus operator on float issue on Intel Mac // OSX 10.11. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEUNARYMINUSOPERATORFLOAT_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEUNARYMINUSOPERATORFLOAT_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORFLOAT_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORFLOAT_H_ #include "common/angleutils.h" @@ -19,4 +19,4 @@ ANGLE_NO_DISCARD bool RewriteUnaryMinusOperatorFloat(TCompiler *compiler, TInter } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_MAC_REWRITEUNARYMINUSOPERATORFLOAT_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORFLOAT_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.cpp similarity index 97% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.cpp index 1b122bb90c76..4250143d4bd6 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.cpp @@ -6,7 +6,7 @@ // Implementation of evaluating unary integer variable bug workaround. // See header for more info. -#include "compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.h" +#include "compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.h" #include "compiler/translator/tree_util/IntermTraverse.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.h similarity index 72% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.h index 615e72a31661..87ade30c09ba 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.h @@ -6,8 +6,8 @@ // integer variable on Intel D3D driver. It works by rewriting -(int) to // ~(int) + 1 when evaluating unary integer variables. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEUNARYMINUSOPERATORINT_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEUNARYMINUSOPERATORINT_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORINT_H_ +#define COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORINT_H_ #include "common/angleutils.h" @@ -20,4 +20,4 @@ ANGLE_NO_DISCARD bool RewriteUnaryMinusOperatorInt(TCompiler *compiler, TIntermN } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_REWRITEUNARYMINUSOPERATORINT_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_REWRITEUNARYMINUSOPERATORINT_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.cpp similarity index 92% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.cpp index 170b29acd771..46e818ebea50 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.cpp @@ -9,7 +9,7 @@ // Will be changed to: // i++; -#include "compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.h" +#include "compiler/translator/tree_ops/SeparateArrayConstructorStatements.h" #include "compiler/translator/tree_util/IntermTraverse.h" @@ -66,7 +66,8 @@ bool SeparateArrayConstructorStatementsTraverser::visitAggregate(Visit visit, TIntermSequence constructorArgs; SplitConstructorArgs(*node->getSequence(), &constructorArgs); - mMultiReplacements.emplace_back(parentAsBlock, node, std::move(constructorArgs)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(parentAsBlock, node, constructorArgs)); return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.h similarity index 71% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.h index 7934d8d58b10..beb1a2aaa1cb 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.h @@ -9,8 +9,8 @@ // Will be changed to: // i++; -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ #include "common/angleutils.h" @@ -22,4 +22,4 @@ class TIntermBlock; ANGLE_NO_DISCARD bool SeparateArrayConstructorStatements(TCompiler *compiler, TIntermBlock *root); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYCONSTRUCTORSTATEMENTS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.cpp similarity index 93% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.cpp index b75db3f8f28c..f5ac9ee3ad8f 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.cpp @@ -16,7 +16,7 @@ // stages don't care about const qualifiers. However, the initialization will not be split if the // initializer can be written as a HLSL literal. -#include "compiler/translator/tree_ops/d3d/SeparateArrayInitialization.h" +#include "compiler/translator/tree_ops/SeparateArrayInitialization.h" #include "compiler/translator/IntermNode.h" #include "compiler/translator/OutputHLSL.h" @@ -73,7 +73,8 @@ bool SeparateArrayInitTraverser::visitDeclaration(Visit, TIntermDeclaration *nod replacementAssignment->setLine(symbol->getLine()); replacements.push_back(replacementAssignment); - mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(parentBlock, node, replacements)); } } return false; diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.h similarity index 81% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.h index 7e6db91a6837..98b44e99d8a0 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.h @@ -16,8 +16,8 @@ // stages don't care about const qualifiers. However, the initialization will not be split if the // initializer can be written as a HLSL literal. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYINITIALIZATION_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYINITIALIZATION_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYINITIALIZATION_H_ +#define COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYINITIALIZATION_H_ #include "common/angleutils.h" @@ -29,4 +29,4 @@ class TIntermNode; ANGLE_NO_DISCARD bool SeparateArrayInitialization(TCompiler *compiler, TIntermNode *root); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEARRAYINITIALIZATION_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_SEPARATEARRAYINITIALIZATION_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp index 0d7c80d1b65c..27965ba95f79 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp @@ -62,7 +62,8 @@ bool SeparateDeclarationsTraverser::visitDeclaration(Visit, TIntermDeclaration * replacementDeclarations.push_back(replacementDeclaration); } - mMultiReplacements.emplace_back(parentBlock, node, std::move(replacementDeclarations)); + mMultiReplacements.push_back( + NodeReplaceWithMultipleEntry(parentBlock, node, replacementDeclarations)); } return false; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.cpp index 58d8a0a9be6c..c0075a85a78d 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.cpp @@ -9,7 +9,7 @@ // (a = b) == (a = c) is split into a = b; type[n] a1 = a; a = c; type[n] a2 = a; a1 == a2; // type d = type[n](...)[i]; is split into type[n] a1 = type[n](...); type d = a1[i]; -#include "compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.h" +#include "compiler/translator/tree_ops/SeparateExpressionsReturningArrays.h" #include "compiler/translator/tree_util/IntermNodePatternMatcher.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.h similarity index 79% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.h index 0f4d78666d10..b635cc18cd31 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.h @@ -9,8 +9,8 @@ // (a = b) == (a = c) is split into a = b; type[n] a1 = a; a = c; type[n] a2 = a; a1 == a2; // type d = type[n](...)[i]; is split into type[n] a1 = type[n](...); type d = a1[i]; -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ #include "common/angleutils.h" @@ -25,4 +25,4 @@ ANGLE_NO_DISCARD bool SeparateExpressionsReturningArrays(TCompiler *compiler, TSymbolTable *symbolTable); } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_SEPARATEEXPRESSIONSRETURNINGARRAYS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.cpp similarity index 96% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.cpp index a0d55566ac78..de90288c360e 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.cpp @@ -4,7 +4,7 @@ // found in the LICENSE file. // -#include "compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.h" +#include "compiler/translator/tree_ops/UnfoldShortCircuitAST.h" #include "compiler/translator/IntermNode.h" #include "compiler/translator/tree_util/IntermNode_util.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.h similarity index 70% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.h index aef1f31eaed6..723c65194f9d 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.h @@ -7,8 +7,8 @@ // operations with ternary operations. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_MAC_UNFOLDSHORTCIRCUITAST_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_MAC_UNFOLDSHORTCIRCUITAST_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUITAST_H_ +#define COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUITAST_H_ #include "common/angleutils.h" @@ -22,4 +22,4 @@ ANGLE_NO_DISCARD bool UnfoldShortCircuitAST(TCompiler *compiler, TIntermBlock *r } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_MAC_UNFOLDSHORTCIRCUITAST_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUITAST_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.cpp similarity index 99% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.cpp index 5b104c4889bc..7f565829a54c 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.cpp @@ -9,7 +9,7 @@ // the original expression. // -#include "compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.h" +#include "compiler/translator/tree_ops/UnfoldShortCircuitToIf.h" #include "compiler/translator/StaticType.h" #include "compiler/translator/tree_util/IntermNodePatternMatcher.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.h similarity index 79% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.h index 946e8c01bcf4..4825704c3bee 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.h @@ -9,8 +9,8 @@ // the original expression. // -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_UNFOLDSHORTCIRCUIT_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_UNFOLDSHORTCIRCUIT_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUIT_H_ +#define COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUIT_H_ #include "common/angleutils.h" @@ -27,4 +27,4 @@ ANGLE_NO_DISCARD bool UnfoldShortCircuitToIf(TCompiler *compiler, } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_UNFOLDSHORTCIRCUIT_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_UNFOLDSHORTCIRCUIT_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.cpp similarity index 98% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.cpp index e94ca2fd1793..39397bd09847 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.cpp @@ -8,7 +8,7 @@ // the beginning of main. This is to work around a Mac driver that treats unused standard/shared // uniform blocks as inactive. -#include "compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h" +#include "compiler/translator/tree_ops/UseInterfaceBlockFields.h" #include "compiler/translator/Compiler.h" #include "compiler/translator/IntermNode.h" diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.h similarity index 59% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.h index 2898dac7e0fa..6613c7d726df 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.h @@ -8,8 +8,8 @@ // the beginning of main. This is to work around a Mac driver that treats unused standard/shared // uniform blocks as inactive. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_USEINTERFACEBLOCKFIELDS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_USEINTERFACEBLOCKFIELDS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_USEINTERFACEBLOCKFIELDS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_USEINTERFACEBLOCKFIELDS_H_ #include #include "common/angleutils.h" @@ -23,22 +23,11 @@ class TSymbolTable; using InterfaceBlockList = std::vector; -#ifdef ANGLE_ENABLE_GLSL ANGLE_NO_DISCARD bool UseInterfaceBlockFields(TCompiler *compiler, TIntermBlock *root, const InterfaceBlockList &blocks, const TSymbolTable &symbolTable); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool UseInterfaceBlockFields(TCompiler *compiler, - TIntermBlock *root, - const InterfaceBlockList &blocks, - const TSymbolTable &symbolTable) -{ - UNREACHABLE(); - return false; -} -#endif } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_USEINTERFACEBLOCKFIELDS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_USEINTERFACEBLOCKFIELDS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.cpp similarity index 99% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.cpp index 7a19c98f4fcb..da6496f6752e 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.cpp @@ -9,7 +9,7 @@ // This is targeted to work around a bug in NVIDIA OpenGL drivers that was reproducible on NVIDIA // driver version 387.92. It works around the most common occurrences of the bug. -#include "compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.h" +#include "compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.h" #include diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.h similarity index 63% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.h index deb5a5f1e3d9..ede4b00c0f70 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.h @@ -9,8 +9,8 @@ // This is targeted to work around a bug in NVIDIA OpenGL drivers that was reproducible on NVIDIA // driver version 387.92. It works around the most common occurrences of the bug. -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_VECTORIZEVECTORSCALARARITHMETIC_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_VECTORIZEVECTORSCALARARITHMETIC_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_VECTORIZEVECTORSCALARARITHMETIC_H_ +#define COMPILER_TRANSLATOR_TREEOPS_VECTORIZEVECTORSCALARARITHMETIC_H_ #include "common/angleutils.h" @@ -21,20 +21,10 @@ class TCompiler; class TIntermBlock; class TSymbolTable; -#ifdef ANGLE_ENABLE_GLSL ANGLE_NO_DISCARD bool VectorizeVectorScalarArithmetic(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool VectorizeVectorScalarArithmetic(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable) -{ - UNREACHABLE(); - return false; -} -#endif } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_VECTORIZEVECTORSCALARARITHMETIC_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_VECTORIZEVECTORSCALARARITHMETIC_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.cpp similarity index 94% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.cpp rename to gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.cpp index 58a941da0e18..1335387f5399 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.cpp @@ -26,7 +26,7 @@ // } // } -#include "compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.h" +#include "compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.h" #include "compiler/translator/IntermNode.h" #include "compiler/translator/tree_util/IntermTraverse.h" @@ -77,8 +77,8 @@ bool WrapSwitchStatementsInBlocksTraverser::visitSwitch(Visit, TIntermSwitch *no // This is a simple declaration like: "float f;" // Remove the declaration from inside the switch and put it in the wrapping block. TIntermSequence emptyReplacement; - mMultiReplacements.emplace_back(node->getStatementList(), declaration, - std::move(emptyReplacement)); + mMultiReplacements.push_back(NodeReplaceWithMultipleEntry( + node->getStatementList(), declaration, emptyReplacement)); declarationInBlock->appendDeclarator(declaratorAsSymbol->deepCopy()); // The declaration can't be the last statement inside the switch since unused variables diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.h similarity index 74% rename from gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.h rename to gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.h index 44181edc4499..8d0bb86a89ac 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.h @@ -6,8 +6,8 @@ // WrapSwitchStatementsInBlocks.h: Wrap switch statements in blocks and declare all switch-scoped // variables there to make the AST compatible with HLSL output. -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_WRAPSWITCHSTATEMENTSINBLOCKS_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_WRAPSWITCHSTATEMENTSINBLOCKS_H_ +#ifndef COMPILER_TRANSLATOR_TREEOPS_WRAPSWITCHSTATEMENTSINBLOCKS_H_ +#define COMPILER_TRANSLATOR_TREEOPS_WRAPSWITCHSTATEMENTSINBLOCKS_H_ #include "common/angleutils.h" @@ -22,4 +22,4 @@ ANGLE_NO_DISCARD bool WrapSwitchStatementsInBlocks(TCompiler *compiler, TIntermB } // namespace sh -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_WRAPSWITCHSTATEMENTSINBLOCKS_H_ +#endif // COMPILER_TRANSLATOR_TREEOPS_WRAPSWITCHSTATEMENTSINBLOCKS_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp b/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp deleted file mode 100644 index 18d49814ac8d..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp +++ /dev/null @@ -1,385 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RecordUniformBlocksWithLargeArrayMember.h: -// Collect all uniform blocks which have one or more large array members, -// and the array sizes are greater than or equal to 50. If some of them -// satify some conditions, we will translate them to StructuredBuffers -// on Direct3D backend. -// - -#include "compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h" - -#include "compiler/translator/Compiler.h" -#include "compiler/translator/tree_util/IntermNode_util.h" -#include "compiler/translator/tree_util/IntermTraverse.h" - -namespace sh -{ - -namespace -{ -// Only when a uniform block member's array size is greater than or equal to -// kMinArraySizeUseStructuredBuffer, then we may translate the uniform block -// to a StructuredBuffer on Direct3D backend. -const unsigned int kMinArraySizeUseStructuredBuffer = 50u; - -// There is a maximum of D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT(128) slots that are -// available for shader resources on Direct3D 11. When shader version is 300, we only use -// D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT(16) slots for texture units. We allow StructuredBuffer -// to use the maximum of 60 slots, that is enough here. -const unsigned int kMaxAllowToUseRegisterCount = 60u; - -// Traverser that all uniform blocks which have one or more large array members, and the array -// sizes are greater than or equal to 50. -class UniformBlocksWithLargeArrayMemberTraverser : public TIntermTraverser -{ - public: - UniformBlocksWithLargeArrayMemberTraverser(); - - void visitSymbol(TIntermSymbol *node) override; - bool visitBinary(Visit visit, TIntermBinary *node) override; - std::map &getUniformBlockMayTranslation() - { - return mUniformBlockMayTranslation; - } - std::map &getUniformBlockNotAllowTranslation() - { - return mUniformBlockNotAllowTranslation; - } - std::map &getUniformBlockUsedRegisterCount() - { - return mUniformBlockUsedRegisterCount; - } - std::map &getUniformBlockWithLargeArrayMember() - { - return mUniformBlockWithLargeArrayMember; - } - - private: - std::map mUniformBlockMayTranslation; - std::map mUniformBlockNotAllowTranslation; - std::map mUniformBlockUsedRegisterCount; - std::map mUniformBlockWithLargeArrayMember; -}; - -UniformBlocksWithLargeArrayMemberTraverser::UniformBlocksWithLargeArrayMemberTraverser() - : TIntermTraverser(true, true, false) -{} - -static bool IsSupportedTypeForStructuredBuffer(const TType &type) -{ - const TStructure *structure = type.getStruct(); - const TLayoutMatrixPacking matrixPacking = type.getLayoutQualifier().matrixPacking; - if (structure) - { - const TFieldList &fields = structure->fields(); - for (size_t i = 0; i < fields.size(); i++) - { - const TType &fieldType = *fields[i]->type(); - // Do not allow the structure's member is array or structure. - if (!fieldType.isArray() && !fieldType.getStruct() && - (fieldType.isScalar() || fieldType.isVector() || - (fieldType.isMatrix() && - ((matrixPacking != EmpRowMajor && fieldType.getRows() == 4) || - (matrixPacking == EmpRowMajor && fieldType.getCols() == 4))))) - { - return true; - } - } - return false; - } - else if (type.isMatrix()) - { - // Only supports the matrix types that we do not need to pad in a structure or an array - // explicitly. - return (matrixPacking != EmpRowMajor && type.getRows() == 4) || - (matrixPacking == EmpRowMajor && type.getCols() == 4); - } - else - { - // Supports vector and scalar types in a structure or an array. - return true; - } -} - -static bool CanTranslateUniformBlockToStructuredBuffer(const TInterfaceBlock &interfaceBlock) -{ - const TLayoutBlockStorage blockStorage = interfaceBlock.blockStorage(); - - if (blockStorage == EbsStd140 && interfaceBlock.fields().size() == 1u) - { - const TType &fieldType = *interfaceBlock.fields()[0]->type(); - if (fieldType.getNumArraySizes() == 1u && - fieldType.getOutermostArraySize() >= kMinArraySizeUseStructuredBuffer) - { - return IsSupportedTypeForStructuredBuffer(fieldType); - } - } - - return false; -} - -static bool FieldIsOrHasLargeArrayField(const TField &field) -{ - const TType *type = field.type(); - if (type->getArraySizeProduct() >= kMinArraySizeUseStructuredBuffer) - { - return true; - } - - const TStructure *structure = type->getStruct(); - if (structure) - { - const TFieldList &fields = structure->fields(); - bool hasLargeArrayField = false; - for (size_t i = 0; i < fields.size(); i++) - { - hasLargeArrayField = FieldIsOrHasLargeArrayField(*fields[i]); - if (hasLargeArrayField) - { - break; - } - } - return hasLargeArrayField; - } - - return false; -} - -static bool IsInterfaceBlockWithLargeArrayField(const TInterfaceBlock &interfaceBlock) -{ - const TFieldList &fields = interfaceBlock.fields(); - bool isLargeArrayField = false; - for (size_t i = 0; i < fields.size(); i++) - { - isLargeArrayField = FieldIsOrHasLargeArrayField(*fields[i]); - if (isLargeArrayField) - { - break; - } - } - - return isLargeArrayField; -} - -void UniformBlocksWithLargeArrayMemberTraverser::visitSymbol(TIntermSymbol *node) -{ - const TVariable &variable = node->variable(); - const TType &variableType = variable.getType(); - TQualifier qualifier = variable.getType().getQualifier(); - - if (qualifier == EvqUniform) - { - const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); - if (interfaceBlock) - { - if (CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock)) - { - if (mUniformBlockMayTranslation.count(interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockMayTranslation[interfaceBlock->uniqueId().get()] = interfaceBlock; - } - - if (!variableType.isInterfaceBlock()) - { - TIntermNode *accessor = getAncestorNode(0); - TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); - // The uniform block variable is array type, only indexing operator is allowed - // to operate on the variable, otherwise do not translate the uniform block to - // HLSL StructuredBuffer. - if (!accessorAsBinary || - !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || - accessorAsBinary->getOp() == EOpIndexIndirect))) - { - if (mUniformBlockNotAllowTranslation.count( - interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockNotAllowTranslation[interfaceBlock->uniqueId().get()] = - interfaceBlock; - } - } - else - { - if (mUniformBlockUsedRegisterCount.count( - interfaceBlock->uniqueId().get()) == 0) - { - // The uniform block is not an instanced one, so it only uses one - // register. - mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = 1; - } - } - } - else - { - if (mUniformBlockUsedRegisterCount.count(interfaceBlock->uniqueId().get()) == 0) - { - // The uniform block is an instanced one, the count of used registers - // depends on the array size of variable. - mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = - variableType.isArray() ? variableType.getOutermostArraySize() : 1; - } - } - } - - if (interfaceBlock->blockStorage() == EbsStd140 && - IsInterfaceBlockWithLargeArrayField(*interfaceBlock)) - { - if (!variableType.isInterfaceBlock()) - { - TIntermNode *accessor = getAncestorNode(0); - TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); - if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || - accessorAsBinary->getOp() == EOpIndexIndirect)) - { - if (mUniformBlockWithLargeArrayMember.count( - interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockWithLargeArrayMember[interfaceBlock->uniqueId().get()] = - interfaceBlock; - } - } - } - } - } - } -} - -bool UniformBlocksWithLargeArrayMemberTraverser::visitBinary(Visit visit, TIntermBinary *node) -{ - switch (node->getOp()) - { - case EOpIndexDirect: - { - if (visit == PreVisit) - { - const TType &leftType = node->getLeft()->getType(); - if (leftType.isInterfaceBlock()) - { - const TInterfaceBlock *interfaceBlock = leftType.getInterfaceBlock(); - if (CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock) && - mUniformBlockMayTranslation.count(interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockMayTranslation[interfaceBlock->uniqueId().get()] = - interfaceBlock; - if (mUniformBlockUsedRegisterCount.count( - interfaceBlock->uniqueId().get()) == 0) - { - // The uniform block is an instanced one, the count of used registers - // depends on the array size of variable. - mUniformBlockUsedRegisterCount[interfaceBlock->uniqueId().get()] = - leftType.isArray() ? leftType.getOutermostArraySize() : 1; - } - return false; - } - - if (interfaceBlock->blockStorage() == EbsStd140 && - IsInterfaceBlockWithLargeArrayField(*interfaceBlock)) - { - if (mUniformBlockWithLargeArrayMember.count( - interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockWithLargeArrayMember[interfaceBlock->uniqueId().get()] = - interfaceBlock; - } - } - } - } - break; - } - case EOpIndexDirectInterfaceBlock: - { - if (visit == InVisit) - { - const TInterfaceBlock *interfaceBlock = - node->getLeft()->getType().getInterfaceBlock(); - if (CanTranslateUniformBlockToStructuredBuffer(*interfaceBlock)) - { - TIntermNode *accessor = getAncestorNode(0); - TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); - // The uniform block variable is array type, only indexing operator is allowed - // to operate on the variable, otherwise do not translate the uniform block to - // HLSL StructuredBuffer. - if ((!accessorAsBinary || - !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || - accessorAsBinary->getOp() == EOpIndexIndirect))) && - mUniformBlockNotAllowTranslation.count(interfaceBlock->uniqueId().get()) == - 0) - { - mUniformBlockNotAllowTranslation[interfaceBlock->uniqueId().get()] = - interfaceBlock; - return false; - } - } - - if (interfaceBlock->blockStorage() == EbsStd140 && - IsInterfaceBlockWithLargeArrayField(*interfaceBlock)) - { - TIntermNode *accessor = getAncestorNode(0); - TIntermBinary *accessorAsBinary = accessor->getAsBinaryNode(); - if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || - accessorAsBinary->getOp() == EOpIndexIndirect)) - { - if (mUniformBlockWithLargeArrayMember.count( - interfaceBlock->uniqueId().get()) == 0) - { - mUniformBlockWithLargeArrayMember[interfaceBlock->uniqueId().get()] = - interfaceBlock; - } - } - } - } - break; - } - default: - break; - } - - return true; -} -} // namespace - -bool RecordUniformBlocksWithLargeArrayMember( - TIntermNode *root, - std::map &uniformBlockOptimizedMap, - std::set &slowCompilingUniformBlockSet) -{ - UniformBlocksWithLargeArrayMemberTraverser traverser; - root->traverse(&traverser); - std::map &uniformBlockMayTranslation = - traverser.getUniformBlockMayTranslation(); - std::map &uniformBlockNotAllowTranslation = - traverser.getUniformBlockNotAllowTranslation(); - std::map &uniformBlockUsedRegisterCount = - traverser.getUniformBlockUsedRegisterCount(); - std::map &uniformBlockWithLargeArrayMember = - traverser.getUniformBlockWithLargeArrayMember(); - - unsigned int usedRegisterCount = 0; - for (auto &uniformBlock : uniformBlockMayTranslation) - { - if (uniformBlockNotAllowTranslation.count(uniformBlock.first) == 0) - { - usedRegisterCount += uniformBlockUsedRegisterCount[uniformBlock.first]; - if (usedRegisterCount > kMaxAllowToUseRegisterCount) - { - break; - } - uniformBlockOptimizedMap[uniformBlock.first] = uniformBlock.second; - } - } - - for (auto &uniformBlock : uniformBlockWithLargeArrayMember) - { - if (uniformBlockOptimizedMap.count(uniformBlock.first) == 0) - { - slowCompilingUniformBlockSet.insert(uniformBlock.second->name().data()); - } - } - - return true; -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h deleted file mode 100644 index 0a23404a8f0b..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RecordUniformBlocksWithLargeArrayMember.h: -// Collect all uniform blocks which have one or more large array members, -// and the array sizes are greater than or equal to 50. If some of them -// satify some conditions, we will translate them to StructuredBuffers -// on Direct3D backend. -// - -#ifndef COMPILER_TRANSLATOR_TREEOPS_D3D_RECORDUNIFORMBLOCKSWITHLARGEARRAYMEMBER_H_ -#define COMPILER_TRANSLATOR_TREEOPS_D3D_RECORDUNIFORMBLOCKSWITHLARGEARRAYMEMBER_H_ - -#include "compiler/translator/IntermNode.h" - -namespace sh -{ -class TIntermNode; - -ANGLE_NO_DISCARD bool RecordUniformBlocksWithLargeArrayMember( - TIntermNode *root, - std::map &uniformBlockOptimizedMap, - std::set &slowCompilingUniformBlockSet); -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEOPS_D3D_RECORDUNIFORMBLOCKSWITHLARGEARRAYMEMBER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h b/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h deleted file mode 100644 index fce92e0e4231..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// Copyright 2002 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -#ifndef COMPILER_TRANSLATOR_TREEOPS_GL_REGENERATESTRUCTNAMES_H_ -#define COMPILER_TRANSLATOR_TREEOPS_GL_REGENERATESTRUCTNAMES_H_ - -#include "common/angleutils.h" - -namespace sh -{ -class TCompiler; -class TIntermBlock; -class TSymbolTable; - -#if defined(ANGLE_ENABLE_GLSL) -ANGLE_NO_DISCARD bool RegenerateStructNames(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable); -#else -ANGLE_NO_DISCARD ANGLE_INLINE bool RegenerateStructNames(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable) -{ - UNREACHABLE(); - return false; -} -#endif - -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEOPS_GL_REGENERATESTRUCTNAMES_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_ESSL_autogen.h b/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_ESSL_autogen.h index 2451e96faf0a..0315c5851253 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_ESSL_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_ESSL_autogen.h @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -22,2833 +22,2682 @@ class TVariable; class BuiltInId { public: - static constexpr const TSymbolUniqueId radians_Float1 = TSymbolUniqueId(3016); - static constexpr const TSymbolUniqueId pt00B = TSymbolUniqueId(3017); - static constexpr const TSymbolUniqueId radians_Float2 = TSymbolUniqueId(3018); - static constexpr const TSymbolUniqueId pt10B = TSymbolUniqueId(3019); - static constexpr const TSymbolUniqueId radians_Float3 = TSymbolUniqueId(3020); - static constexpr const TSymbolUniqueId pt20B = TSymbolUniqueId(3021); - static constexpr const TSymbolUniqueId radians_Float4 = TSymbolUniqueId(3022); - static constexpr const TSymbolUniqueId pt30B = TSymbolUniqueId(3023); - static constexpr const TSymbolUniqueId degrees_Float1 = TSymbolUniqueId(3024); - static constexpr const TSymbolUniqueId degrees_Float2 = TSymbolUniqueId(3025); - static constexpr const TSymbolUniqueId degrees_Float3 = TSymbolUniqueId(3026); - static constexpr const TSymbolUniqueId degrees_Float4 = TSymbolUniqueId(3027); - static constexpr const TSymbolUniqueId sin_Float1 = TSymbolUniqueId(3028); - static constexpr const TSymbolUniqueId sin_Float2 = TSymbolUniqueId(3029); - static constexpr const TSymbolUniqueId sin_Float3 = TSymbolUniqueId(3030); - static constexpr const TSymbolUniqueId sin_Float4 = TSymbolUniqueId(3031); - static constexpr const TSymbolUniqueId cos_Float1 = TSymbolUniqueId(3032); - static constexpr const TSymbolUniqueId cos_Float2 = TSymbolUniqueId(3033); - static constexpr const TSymbolUniqueId cos_Float3 = TSymbolUniqueId(3034); - static constexpr const TSymbolUniqueId cos_Float4 = TSymbolUniqueId(3035); - static constexpr const TSymbolUniqueId tan_Float1 = TSymbolUniqueId(3036); - static constexpr const TSymbolUniqueId tan_Float2 = TSymbolUniqueId(3037); - static constexpr const TSymbolUniqueId tan_Float3 = TSymbolUniqueId(3038); - static constexpr const TSymbolUniqueId tan_Float4 = TSymbolUniqueId(3039); - static constexpr const TSymbolUniqueId asin_Float1 = TSymbolUniqueId(3040); - static constexpr const TSymbolUniqueId asin_Float2 = TSymbolUniqueId(3041); - static constexpr const TSymbolUniqueId asin_Float3 = TSymbolUniqueId(3042); - static constexpr const TSymbolUniqueId asin_Float4 = TSymbolUniqueId(3043); - static constexpr const TSymbolUniqueId acos_Float1 = TSymbolUniqueId(3044); - static constexpr const TSymbolUniqueId acos_Float2 = TSymbolUniqueId(3045); - static constexpr const TSymbolUniqueId acos_Float3 = TSymbolUniqueId(3046); - static constexpr const TSymbolUniqueId acos_Float4 = TSymbolUniqueId(3047); - static constexpr const TSymbolUniqueId atan_Float1_Float1 = TSymbolUniqueId(3048); - static constexpr const TSymbolUniqueId atan_Float2_Float2 = TSymbolUniqueId(3049); - static constexpr const TSymbolUniqueId atan_Float3_Float3 = TSymbolUniqueId(3050); - static constexpr const TSymbolUniqueId atan_Float4_Float4 = TSymbolUniqueId(3051); - static constexpr const TSymbolUniqueId atan_Float1 = TSymbolUniqueId(3052); - static constexpr const TSymbolUniqueId atan_Float2 = TSymbolUniqueId(3053); - static constexpr const TSymbolUniqueId atan_Float3 = TSymbolUniqueId(3054); - static constexpr const TSymbolUniqueId atan_Float4 = TSymbolUniqueId(3055); - static constexpr const TSymbolUniqueId sinh_Float1 = TSymbolUniqueId(3056); - static constexpr const TSymbolUniqueId sinh_Float2 = TSymbolUniqueId(3057); - static constexpr const TSymbolUniqueId sinh_Float3 = TSymbolUniqueId(3058); - static constexpr const TSymbolUniqueId sinh_Float4 = TSymbolUniqueId(3059); - static constexpr const TSymbolUniqueId cosh_Float1 = TSymbolUniqueId(3060); - static constexpr const TSymbolUniqueId cosh_Float2 = TSymbolUniqueId(3061); - static constexpr const TSymbolUniqueId cosh_Float3 = TSymbolUniqueId(3062); - static constexpr const TSymbolUniqueId cosh_Float4 = TSymbolUniqueId(3063); - static constexpr const TSymbolUniqueId tanh_Float1 = TSymbolUniqueId(3064); - static constexpr const TSymbolUniqueId tanh_Float2 = TSymbolUniqueId(3065); - static constexpr const TSymbolUniqueId tanh_Float3 = TSymbolUniqueId(3066); - static constexpr const TSymbolUniqueId tanh_Float4 = TSymbolUniqueId(3067); - static constexpr const TSymbolUniqueId asinh_Float1 = TSymbolUniqueId(3068); - static constexpr const TSymbolUniqueId asinh_Float2 = TSymbolUniqueId(3069); - static constexpr const TSymbolUniqueId asinh_Float3 = TSymbolUniqueId(3070); - static constexpr const TSymbolUniqueId asinh_Float4 = TSymbolUniqueId(3071); - static constexpr const TSymbolUniqueId acosh_Float1 = TSymbolUniqueId(3072); - static constexpr const TSymbolUniqueId acosh_Float2 = TSymbolUniqueId(3073); - static constexpr const TSymbolUniqueId acosh_Float3 = TSymbolUniqueId(3074); - static constexpr const TSymbolUniqueId acosh_Float4 = TSymbolUniqueId(3075); - static constexpr const TSymbolUniqueId atanh_Float1 = TSymbolUniqueId(3076); - static constexpr const TSymbolUniqueId atanh_Float2 = TSymbolUniqueId(3077); - static constexpr const TSymbolUniqueId atanh_Float3 = TSymbolUniqueId(3078); - static constexpr const TSymbolUniqueId atanh_Float4 = TSymbolUniqueId(3079); - static constexpr const TSymbolUniqueId pow_Float1_Float1 = TSymbolUniqueId(3080); - static constexpr const TSymbolUniqueId pow_Float2_Float2 = TSymbolUniqueId(3081); - static constexpr const TSymbolUniqueId pow_Float3_Float3 = TSymbolUniqueId(3082); - static constexpr const TSymbolUniqueId pow_Float4_Float4 = TSymbolUniqueId(3083); - static constexpr const TSymbolUniqueId exp_Float1 = TSymbolUniqueId(3084); - static constexpr const TSymbolUniqueId exp_Float2 = TSymbolUniqueId(3085); - static constexpr const TSymbolUniqueId exp_Float3 = TSymbolUniqueId(3086); - static constexpr const TSymbolUniqueId exp_Float4 = TSymbolUniqueId(3087); - static constexpr const TSymbolUniqueId log_Float1 = TSymbolUniqueId(3088); - static constexpr const TSymbolUniqueId log_Float2 = TSymbolUniqueId(3089); - static constexpr const TSymbolUniqueId log_Float3 = TSymbolUniqueId(3090); - static constexpr const TSymbolUniqueId log_Float4 = TSymbolUniqueId(3091); - static constexpr const TSymbolUniqueId exp2_Float1 = TSymbolUniqueId(3092); - static constexpr const TSymbolUniqueId exp2_Float2 = TSymbolUniqueId(3093); - static constexpr const TSymbolUniqueId exp2_Float3 = TSymbolUniqueId(3094); - static constexpr const TSymbolUniqueId exp2_Float4 = TSymbolUniqueId(3095); - static constexpr const TSymbolUniqueId log2_Float1 = TSymbolUniqueId(3096); - static constexpr const TSymbolUniqueId log2_Float2 = TSymbolUniqueId(3097); - static constexpr const TSymbolUniqueId log2_Float3 = TSymbolUniqueId(3098); - static constexpr const TSymbolUniqueId log2_Float4 = TSymbolUniqueId(3099); - static constexpr const TSymbolUniqueId sqrt_Float1 = TSymbolUniqueId(3100); - static constexpr const TSymbolUniqueId sqrt_Float2 = TSymbolUniqueId(3101); - static constexpr const TSymbolUniqueId sqrt_Float3 = TSymbolUniqueId(3102); - static constexpr const TSymbolUniqueId sqrt_Float4 = TSymbolUniqueId(3103); - static constexpr const TSymbolUniqueId inversesqrt_Float1 = TSymbolUniqueId(3104); - static constexpr const TSymbolUniqueId inversesqrt_Float2 = TSymbolUniqueId(3105); - static constexpr const TSymbolUniqueId inversesqrt_Float3 = TSymbolUniqueId(3106); - static constexpr const TSymbolUniqueId inversesqrt_Float4 = TSymbolUniqueId(3107); - static constexpr const TSymbolUniqueId abs_Float1 = TSymbolUniqueId(3108); - static constexpr const TSymbolUniqueId abs_Float2 = TSymbolUniqueId(3109); - static constexpr const TSymbolUniqueId abs_Float3 = TSymbolUniqueId(3110); - static constexpr const TSymbolUniqueId abs_Float4 = TSymbolUniqueId(3111); - static constexpr const TSymbolUniqueId abs_Int1 = TSymbolUniqueId(3112); - static constexpr const TSymbolUniqueId pt00D = TSymbolUniqueId(3113); - static constexpr const TSymbolUniqueId abs_Int2 = TSymbolUniqueId(3114); - static constexpr const TSymbolUniqueId pt10D = TSymbolUniqueId(3115); - static constexpr const TSymbolUniqueId abs_Int3 = TSymbolUniqueId(3116); - static constexpr const TSymbolUniqueId pt20D = TSymbolUniqueId(3117); - static constexpr const TSymbolUniqueId abs_Int4 = TSymbolUniqueId(3118); - static constexpr const TSymbolUniqueId pt30D = TSymbolUniqueId(3119); - static constexpr const TSymbolUniqueId sign_Float1 = TSymbolUniqueId(3120); - static constexpr const TSymbolUniqueId sign_Float2 = TSymbolUniqueId(3121); - static constexpr const TSymbolUniqueId sign_Float3 = TSymbolUniqueId(3122); - static constexpr const TSymbolUniqueId sign_Float4 = TSymbolUniqueId(3123); - static constexpr const TSymbolUniqueId sign_Int1 = TSymbolUniqueId(3124); - static constexpr const TSymbolUniqueId sign_Int2 = TSymbolUniqueId(3125); - static constexpr const TSymbolUniqueId sign_Int3 = TSymbolUniqueId(3126); - static constexpr const TSymbolUniqueId sign_Int4 = TSymbolUniqueId(3127); - static constexpr const TSymbolUniqueId floor_Float1 = TSymbolUniqueId(3128); - static constexpr const TSymbolUniqueId floor_Float2 = TSymbolUniqueId(3129); - static constexpr const TSymbolUniqueId floor_Float3 = TSymbolUniqueId(3130); - static constexpr const TSymbolUniqueId floor_Float4 = TSymbolUniqueId(3131); - static constexpr const TSymbolUniqueId trunc_Float1 = TSymbolUniqueId(3132); - static constexpr const TSymbolUniqueId trunc_Float2 = TSymbolUniqueId(3133); - static constexpr const TSymbolUniqueId trunc_Float3 = TSymbolUniqueId(3134); - static constexpr const TSymbolUniqueId trunc_Float4 = TSymbolUniqueId(3135); - static constexpr const TSymbolUniqueId round_Float1 = TSymbolUniqueId(3136); - static constexpr const TSymbolUniqueId round_Float2 = TSymbolUniqueId(3137); - static constexpr const TSymbolUniqueId round_Float3 = TSymbolUniqueId(3138); - static constexpr const TSymbolUniqueId round_Float4 = TSymbolUniqueId(3139); - static constexpr const TSymbolUniqueId roundEven_Float1 = TSymbolUniqueId(3140); - static constexpr const TSymbolUniqueId roundEven_Float2 = TSymbolUniqueId(3141); - static constexpr const TSymbolUniqueId roundEven_Float3 = TSymbolUniqueId(3142); - static constexpr const TSymbolUniqueId roundEven_Float4 = TSymbolUniqueId(3143); - static constexpr const TSymbolUniqueId ceil_Float1 = TSymbolUniqueId(3144); - static constexpr const TSymbolUniqueId ceil_Float2 = TSymbolUniqueId(3145); - static constexpr const TSymbolUniqueId ceil_Float3 = TSymbolUniqueId(3146); - static constexpr const TSymbolUniqueId ceil_Float4 = TSymbolUniqueId(3147); - static constexpr const TSymbolUniqueId fract_Float1 = TSymbolUniqueId(3148); - static constexpr const TSymbolUniqueId fract_Float2 = TSymbolUniqueId(3149); - static constexpr const TSymbolUniqueId fract_Float3 = TSymbolUniqueId(3150); - static constexpr const TSymbolUniqueId fract_Float4 = TSymbolUniqueId(3151); - static constexpr const TSymbolUniqueId mod_Float1_Float1 = TSymbolUniqueId(3152); - static constexpr const TSymbolUniqueId mod_Float2_Float1 = TSymbolUniqueId(3153); - static constexpr const TSymbolUniqueId mod_Float3_Float1 = TSymbolUniqueId(3154); - static constexpr const TSymbolUniqueId mod_Float4_Float1 = TSymbolUniqueId(3155); - static constexpr const TSymbolUniqueId mod_Float2_Float2 = TSymbolUniqueId(3156); - static constexpr const TSymbolUniqueId mod_Float3_Float3 = TSymbolUniqueId(3157); - static constexpr const TSymbolUniqueId mod_Float4_Float4 = TSymbolUniqueId(3158); - static constexpr const TSymbolUniqueId min_Float1_Float1 = TSymbolUniqueId(3159); - static constexpr const TSymbolUniqueId min_Float2_Float1 = TSymbolUniqueId(3160); - static constexpr const TSymbolUniqueId min_Float3_Float1 = TSymbolUniqueId(3161); - static constexpr const TSymbolUniqueId min_Float4_Float1 = TSymbolUniqueId(3162); - static constexpr const TSymbolUniqueId min_Float2_Float2 = TSymbolUniqueId(3163); - static constexpr const TSymbolUniqueId min_Float3_Float3 = TSymbolUniqueId(3164); - static constexpr const TSymbolUniqueId min_Float4_Float4 = TSymbolUniqueId(3165); - static constexpr const TSymbolUniqueId min_Int1_Int1 = TSymbolUniqueId(3166); - static constexpr const TSymbolUniqueId min_Int2_Int2 = TSymbolUniqueId(3167); - static constexpr const TSymbolUniqueId min_Int3_Int3 = TSymbolUniqueId(3168); - static constexpr const TSymbolUniqueId min_Int4_Int4 = TSymbolUniqueId(3169); - static constexpr const TSymbolUniqueId min_Int2_Int1 = TSymbolUniqueId(3170); - static constexpr const TSymbolUniqueId min_Int3_Int1 = TSymbolUniqueId(3171); - static constexpr const TSymbolUniqueId min_Int4_Int1 = TSymbolUniqueId(3172); - static constexpr const TSymbolUniqueId min_UInt1_UInt1 = TSymbolUniqueId(3173); - static constexpr const TSymbolUniqueId pt00E = TSymbolUniqueId(3174); - static constexpr const TSymbolUniqueId min_UInt2_UInt2 = TSymbolUniqueId(3175); - static constexpr const TSymbolUniqueId pt10E = TSymbolUniqueId(3176); - static constexpr const TSymbolUniqueId min_UInt3_UInt3 = TSymbolUniqueId(3177); - static constexpr const TSymbolUniqueId pt20E = TSymbolUniqueId(3178); - static constexpr const TSymbolUniqueId min_UInt4_UInt4 = TSymbolUniqueId(3179); - static constexpr const TSymbolUniqueId pt30E = TSymbolUniqueId(3180); - static constexpr const TSymbolUniqueId min_UInt2_UInt1 = TSymbolUniqueId(3181); - static constexpr const TSymbolUniqueId min_UInt3_UInt1 = TSymbolUniqueId(3182); - static constexpr const TSymbolUniqueId min_UInt4_UInt1 = TSymbolUniqueId(3183); - static constexpr const TSymbolUniqueId max_Float1_Float1 = TSymbolUniqueId(3184); - static constexpr const TSymbolUniqueId max_Float2_Float1 = TSymbolUniqueId(3185); - static constexpr const TSymbolUniqueId max_Float3_Float1 = TSymbolUniqueId(3186); - static constexpr const TSymbolUniqueId max_Float4_Float1 = TSymbolUniqueId(3187); - static constexpr const TSymbolUniqueId max_Float2_Float2 = TSymbolUniqueId(3188); - static constexpr const TSymbolUniqueId max_Float3_Float3 = TSymbolUniqueId(3189); - static constexpr const TSymbolUniqueId max_Float4_Float4 = TSymbolUniqueId(3190); - static constexpr const TSymbolUniqueId max_Int1_Int1 = TSymbolUniqueId(3191); - static constexpr const TSymbolUniqueId max_Int2_Int2 = TSymbolUniqueId(3192); - static constexpr const TSymbolUniqueId max_Int3_Int3 = TSymbolUniqueId(3193); - static constexpr const TSymbolUniqueId max_Int4_Int4 = TSymbolUniqueId(3194); - static constexpr const TSymbolUniqueId max_Int2_Int1 = TSymbolUniqueId(3195); - static constexpr const TSymbolUniqueId max_Int3_Int1 = TSymbolUniqueId(3196); - static constexpr const TSymbolUniqueId max_Int4_Int1 = TSymbolUniqueId(3197); - static constexpr const TSymbolUniqueId max_UInt1_UInt1 = TSymbolUniqueId(3198); - static constexpr const TSymbolUniqueId max_UInt2_UInt2 = TSymbolUniqueId(3199); - static constexpr const TSymbolUniqueId max_UInt3_UInt3 = TSymbolUniqueId(3200); - static constexpr const TSymbolUniqueId max_UInt4_UInt4 = TSymbolUniqueId(3201); - static constexpr const TSymbolUniqueId max_UInt2_UInt1 = TSymbolUniqueId(3202); - static constexpr const TSymbolUniqueId max_UInt3_UInt1 = TSymbolUniqueId(3203); - static constexpr const TSymbolUniqueId max_UInt4_UInt1 = TSymbolUniqueId(3204); - static constexpr const TSymbolUniqueId clamp_Float1_Float1_Float1 = TSymbolUniqueId(3205); - static constexpr const TSymbolUniqueId clamp_Float2_Float1_Float1 = TSymbolUniqueId(3206); - static constexpr const TSymbolUniqueId clamp_Float3_Float1_Float1 = TSymbolUniqueId(3207); - static constexpr const TSymbolUniqueId clamp_Float4_Float1_Float1 = TSymbolUniqueId(3208); - static constexpr const TSymbolUniqueId clamp_Float2_Float2_Float2 = TSymbolUniqueId(3209); - static constexpr const TSymbolUniqueId clamp_Float3_Float3_Float3 = TSymbolUniqueId(3210); - static constexpr const TSymbolUniqueId clamp_Float4_Float4_Float4 = TSymbolUniqueId(3211); - static constexpr const TSymbolUniqueId clamp_Int1_Int1_Int1 = TSymbolUniqueId(3212); - static constexpr const TSymbolUniqueId clamp_Int2_Int1_Int1 = TSymbolUniqueId(3213); - static constexpr const TSymbolUniqueId clamp_Int3_Int1_Int1 = TSymbolUniqueId(3214); - static constexpr const TSymbolUniqueId clamp_Int4_Int1_Int1 = TSymbolUniqueId(3215); - static constexpr const TSymbolUniqueId clamp_Int2_Int2_Int2 = TSymbolUniqueId(3216); - static constexpr const TSymbolUniqueId clamp_Int3_Int3_Int3 = TSymbolUniqueId(3217); - static constexpr const TSymbolUniqueId clamp_Int4_Int4_Int4 = TSymbolUniqueId(3218); - static constexpr const TSymbolUniqueId clamp_UInt1_UInt1_UInt1 = TSymbolUniqueId(3219); - static constexpr const TSymbolUniqueId clamp_UInt2_UInt1_UInt1 = TSymbolUniqueId(3220); - static constexpr const TSymbolUniqueId clamp_UInt3_UInt1_UInt1 = TSymbolUniqueId(3221); - static constexpr const TSymbolUniqueId clamp_UInt4_UInt1_UInt1 = TSymbolUniqueId(3222); - static constexpr const TSymbolUniqueId clamp_UInt2_UInt2_UInt2 = TSymbolUniqueId(3223); - static constexpr const TSymbolUniqueId clamp_UInt3_UInt3_UInt3 = TSymbolUniqueId(3224); - static constexpr const TSymbolUniqueId clamp_UInt4_UInt4_UInt4 = TSymbolUniqueId(3225); - static constexpr const TSymbolUniqueId mix_Float1_Float1_Float1 = TSymbolUniqueId(3226); - static constexpr const TSymbolUniqueId mix_Float2_Float2_Float1 = TSymbolUniqueId(3227); - static constexpr const TSymbolUniqueId mix_Float3_Float3_Float1 = TSymbolUniqueId(3228); - static constexpr const TSymbolUniqueId mix_Float4_Float4_Float1 = TSymbolUniqueId(3229); - static constexpr const TSymbolUniqueId mix_Float2_Float2_Float2 = TSymbolUniqueId(3230); - static constexpr const TSymbolUniqueId mix_Float3_Float3_Float3 = TSymbolUniqueId(3231); - static constexpr const TSymbolUniqueId mix_Float4_Float4_Float4 = TSymbolUniqueId(3232); - static constexpr const TSymbolUniqueId mix_Float1_Float1_Bool1 = TSymbolUniqueId(3233); - static constexpr const TSymbolUniqueId pt00F = TSymbolUniqueId(3234); - static constexpr const TSymbolUniqueId mix_Float2_Float2_Bool2 = TSymbolUniqueId(3235); - static constexpr const TSymbolUniqueId pt10F = TSymbolUniqueId(3236); - static constexpr const TSymbolUniqueId mix_Float3_Float3_Bool3 = TSymbolUniqueId(3237); - static constexpr const TSymbolUniqueId pt20F = TSymbolUniqueId(3238); - static constexpr const TSymbolUniqueId mix_Float4_Float4_Bool4 = TSymbolUniqueId(3239); - static constexpr const TSymbolUniqueId pt30F = TSymbolUniqueId(3240); - static constexpr const TSymbolUniqueId mix_Int1_Int1_Bool1 = TSymbolUniqueId(3241); - static constexpr const TSymbolUniqueId mix_Int2_Int2_Bool2 = TSymbolUniqueId(3242); - static constexpr const TSymbolUniqueId mix_Int3_Int3_Bool3 = TSymbolUniqueId(3243); - static constexpr const TSymbolUniqueId mix_Int4_Int4_Bool4 = TSymbolUniqueId(3244); - static constexpr const TSymbolUniqueId mix_UInt1_UInt1_Bool1 = TSymbolUniqueId(3245); - static constexpr const TSymbolUniqueId mix_UInt2_UInt2_Bool2 = TSymbolUniqueId(3246); - static constexpr const TSymbolUniqueId mix_UInt3_UInt3_Bool3 = TSymbolUniqueId(3247); - static constexpr const TSymbolUniqueId mix_UInt4_UInt4_Bool4 = TSymbolUniqueId(3248); - static constexpr const TSymbolUniqueId mix_Bool1_Bool1_Bool1 = TSymbolUniqueId(3249); - static constexpr const TSymbolUniqueId mix_Bool2_Bool2_Bool2 = TSymbolUniqueId(3250); - static constexpr const TSymbolUniqueId mix_Bool3_Bool3_Bool3 = TSymbolUniqueId(3251); - static constexpr const TSymbolUniqueId mix_Bool4_Bool4_Bool4 = TSymbolUniqueId(3252); - static constexpr const TSymbolUniqueId step_Float1_Float1 = TSymbolUniqueId(3253); - static constexpr const TSymbolUniqueId step_Float2_Float2 = TSymbolUniqueId(3254); - static constexpr const TSymbolUniqueId step_Float3_Float3 = TSymbolUniqueId(3255); - static constexpr const TSymbolUniqueId step_Float4_Float4 = TSymbolUniqueId(3256); - static constexpr const TSymbolUniqueId step_Float1_Float2 = TSymbolUniqueId(3257); - static constexpr const TSymbolUniqueId step_Float1_Float3 = TSymbolUniqueId(3258); - static constexpr const TSymbolUniqueId step_Float1_Float4 = TSymbolUniqueId(3259); - static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float1 = TSymbolUniqueId(3260); - static constexpr const TSymbolUniqueId smoothstep_Float2_Float2_Float2 = TSymbolUniqueId(3261); - static constexpr const TSymbolUniqueId smoothstep_Float3_Float3_Float3 = TSymbolUniqueId(3262); - static constexpr const TSymbolUniqueId smoothstep_Float4_Float4_Float4 = TSymbolUniqueId(3263); - static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float2 = TSymbolUniqueId(3264); - static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float3 = TSymbolUniqueId(3265); - static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float4 = TSymbolUniqueId(3266); - static constexpr const TSymbolUniqueId modf_Float1_Float1 = TSymbolUniqueId(3267); - static constexpr const TSymbolUniqueId pt_o_00B = TSymbolUniqueId(3268); - static constexpr const TSymbolUniqueId modf_Float2_Float2 = TSymbolUniqueId(3269); - static constexpr const TSymbolUniqueId pt_o_10B = TSymbolUniqueId(3270); - static constexpr const TSymbolUniqueId modf_Float3_Float3 = TSymbolUniqueId(3271); - static constexpr const TSymbolUniqueId pt_o_20B = TSymbolUniqueId(3272); - static constexpr const TSymbolUniqueId modf_Float4_Float4 = TSymbolUniqueId(3273); - static constexpr const TSymbolUniqueId pt_o_30B = TSymbolUniqueId(3274); - static constexpr const TSymbolUniqueId isnan_Float1 = TSymbolUniqueId(3275); - static constexpr const TSymbolUniqueId isnan_Float2 = TSymbolUniqueId(3276); - static constexpr const TSymbolUniqueId isnan_Float3 = TSymbolUniqueId(3277); - static constexpr const TSymbolUniqueId isnan_Float4 = TSymbolUniqueId(3278); - static constexpr const TSymbolUniqueId isinf_Float1 = TSymbolUniqueId(3279); - static constexpr const TSymbolUniqueId isinf_Float2 = TSymbolUniqueId(3280); - static constexpr const TSymbolUniqueId isinf_Float3 = TSymbolUniqueId(3281); - static constexpr const TSymbolUniqueId isinf_Float4 = TSymbolUniqueId(3282); - static constexpr const TSymbolUniqueId floatBitsToInt_Float1 = TSymbolUniqueId(3283); - static constexpr const TSymbolUniqueId floatBitsToInt_Float2 = TSymbolUniqueId(3284); - static constexpr const TSymbolUniqueId floatBitsToInt_Float3 = TSymbolUniqueId(3285); - static constexpr const TSymbolUniqueId floatBitsToInt_Float4 = TSymbolUniqueId(3286); - static constexpr const TSymbolUniqueId floatBitsToUint_Float1 = TSymbolUniqueId(3287); - static constexpr const TSymbolUniqueId floatBitsToUint_Float2 = TSymbolUniqueId(3288); - static constexpr const TSymbolUniqueId floatBitsToUint_Float3 = TSymbolUniqueId(3289); - static constexpr const TSymbolUniqueId floatBitsToUint_Float4 = TSymbolUniqueId(3290); - static constexpr const TSymbolUniqueId intBitsToFloat_Int1 = TSymbolUniqueId(3291); - static constexpr const TSymbolUniqueId intBitsToFloat_Int2 = TSymbolUniqueId(3292); - static constexpr const TSymbolUniqueId intBitsToFloat_Int3 = TSymbolUniqueId(3293); - static constexpr const TSymbolUniqueId intBitsToFloat_Int4 = TSymbolUniqueId(3294); - static constexpr const TSymbolUniqueId uintBitsToFloat_UInt1 = TSymbolUniqueId(3295); - static constexpr const TSymbolUniqueId uintBitsToFloat_UInt2 = TSymbolUniqueId(3296); - static constexpr const TSymbolUniqueId uintBitsToFloat_UInt3 = TSymbolUniqueId(3297); - static constexpr const TSymbolUniqueId uintBitsToFloat_UInt4 = TSymbolUniqueId(3298); - static constexpr const TSymbolUniqueId fma_Float1_Float1_Float1 = TSymbolUniqueId(3299); - static constexpr const TSymbolUniqueId fma_Float2_Float2_Float2 = TSymbolUniqueId(3300); - static constexpr const TSymbolUniqueId fma_Float3_Float3_Float3 = TSymbolUniqueId(3301); - static constexpr const TSymbolUniqueId fma_Float4_Float4_Float4 = TSymbolUniqueId(3302); - static constexpr const TSymbolUniqueId fmaExt_Float1_Float1_Float1 = TSymbolUniqueId(3303); - static constexpr const TSymbolUniqueId fmaExt_Float2_Float2_Float2 = TSymbolUniqueId(3304); - static constexpr const TSymbolUniqueId fmaExt_Float3_Float3_Float3 = TSymbolUniqueId(3305); - static constexpr const TSymbolUniqueId fmaExt_Float4_Float4_Float4 = TSymbolUniqueId(3306); - static constexpr const TSymbolUniqueId frexp_Float1_Int1 = TSymbolUniqueId(3307); - static constexpr const TSymbolUniqueId pt_o_00D = TSymbolUniqueId(3308); - static constexpr const TSymbolUniqueId frexp_Float2_Int2 = TSymbolUniqueId(3309); - static constexpr const TSymbolUniqueId pt_o_10D = TSymbolUniqueId(3310); - static constexpr const TSymbolUniqueId frexp_Float3_Int3 = TSymbolUniqueId(3311); - static constexpr const TSymbolUniqueId pt_o_20D = TSymbolUniqueId(3312); - static constexpr const TSymbolUniqueId frexp_Float4_Int4 = TSymbolUniqueId(3313); - static constexpr const TSymbolUniqueId pt_o_30D = TSymbolUniqueId(3314); - static constexpr const TSymbolUniqueId ldexp_Float1_Int1 = TSymbolUniqueId(3315); - static constexpr const TSymbolUniqueId ldexp_Float2_Int2 = TSymbolUniqueId(3316); - static constexpr const TSymbolUniqueId ldexp_Float3_Int3 = TSymbolUniqueId(3317); - static constexpr const TSymbolUniqueId ldexp_Float4_Int4 = TSymbolUniqueId(3318); - static constexpr const TSymbolUniqueId packSnorm2x16_Float2 = TSymbolUniqueId(3319); - static constexpr const TSymbolUniqueId packHalf2x16_Float2 = TSymbolUniqueId(3320); - static constexpr const TSymbolUniqueId unpackSnorm2x16_UInt1 = TSymbolUniqueId(3321); - static constexpr const TSymbolUniqueId unpackHalf2x16_UInt1 = TSymbolUniqueId(3322); - static constexpr const TSymbolUniqueId packUnorm2x16_Float2 = TSymbolUniqueId(3323); - static constexpr const TSymbolUniqueId unpackUnorm2x16_UInt1 = TSymbolUniqueId(3324); - static constexpr const TSymbolUniqueId packUnorm4x8_Float4 = TSymbolUniqueId(3325); - static constexpr const TSymbolUniqueId packSnorm4x8_Float4 = TSymbolUniqueId(3326); - static constexpr const TSymbolUniqueId unpackUnorm4x8_UInt1 = TSymbolUniqueId(3327); - static constexpr const TSymbolUniqueId unpackSnorm4x8_UInt1 = TSymbolUniqueId(3328); - static constexpr const TSymbolUniqueId length_Float1 = TSymbolUniqueId(3329); - static constexpr const TSymbolUniqueId length_Float2 = TSymbolUniqueId(3330); - static constexpr const TSymbolUniqueId length_Float3 = TSymbolUniqueId(3331); - static constexpr const TSymbolUniqueId length_Float4 = TSymbolUniqueId(3332); - static constexpr const TSymbolUniqueId distance_Float1_Float1 = TSymbolUniqueId(3333); - static constexpr const TSymbolUniqueId distance_Float2_Float2 = TSymbolUniqueId(3334); - static constexpr const TSymbolUniqueId distance_Float3_Float3 = TSymbolUniqueId(3335); - static constexpr const TSymbolUniqueId distance_Float4_Float4 = TSymbolUniqueId(3336); - static constexpr const TSymbolUniqueId dot_Float1_Float1 = TSymbolUniqueId(3337); - static constexpr const TSymbolUniqueId dot_Float2_Float2 = TSymbolUniqueId(3338); - static constexpr const TSymbolUniqueId dot_Float3_Float3 = TSymbolUniqueId(3339); - static constexpr const TSymbolUniqueId dot_Float4_Float4 = TSymbolUniqueId(3340); - static constexpr const TSymbolUniqueId cross_Float3_Float3 = TSymbolUniqueId(3341); - static constexpr const TSymbolUniqueId normalize_Float1 = TSymbolUniqueId(3342); - static constexpr const TSymbolUniqueId normalize_Float2 = TSymbolUniqueId(3343); - static constexpr const TSymbolUniqueId normalize_Float3 = TSymbolUniqueId(3344); - static constexpr const TSymbolUniqueId normalize_Float4 = TSymbolUniqueId(3345); - static constexpr const TSymbolUniqueId faceforward_Float1_Float1_Float1 = TSymbolUniqueId(3346); - static constexpr const TSymbolUniqueId faceforward_Float2_Float2_Float2 = TSymbolUniqueId(3347); - static constexpr const TSymbolUniqueId faceforward_Float3_Float3_Float3 = TSymbolUniqueId(3348); - static constexpr const TSymbolUniqueId faceforward_Float4_Float4_Float4 = TSymbolUniqueId(3349); - static constexpr const TSymbolUniqueId reflect_Float1_Float1 = TSymbolUniqueId(3350); - static constexpr const TSymbolUniqueId reflect_Float2_Float2 = TSymbolUniqueId(3351); - static constexpr const TSymbolUniqueId reflect_Float3_Float3 = TSymbolUniqueId(3352); - static constexpr const TSymbolUniqueId reflect_Float4_Float4 = TSymbolUniqueId(3353); - static constexpr const TSymbolUniqueId refract_Float1_Float1_Float1 = TSymbolUniqueId(3354); - static constexpr const TSymbolUniqueId refract_Float2_Float2_Float1 = TSymbolUniqueId(3355); - static constexpr const TSymbolUniqueId refract_Float3_Float3_Float1 = TSymbolUniqueId(3356); - static constexpr const TSymbolUniqueId refract_Float4_Float4_Float1 = TSymbolUniqueId(3357); - static constexpr const TSymbolUniqueId matrixCompMult_Float2x2_Float2x2 = TSymbolUniqueId(3358); - static constexpr const TSymbolUniqueId pt50B = TSymbolUniqueId(3359); - static constexpr const TSymbolUniqueId matrixCompMult_Float3x3_Float3x3 = TSymbolUniqueId(3360); - static constexpr const TSymbolUniqueId ptA0B = TSymbolUniqueId(3361); - static constexpr const TSymbolUniqueId matrixCompMult_Float4x4_Float4x4 = TSymbolUniqueId(3362); - static constexpr const TSymbolUniqueId ptF0B = TSymbolUniqueId(3363); - static constexpr const TSymbolUniqueId matrixCompMult_Float2x3_Float2x3 = TSymbolUniqueId(3364); - static constexpr const TSymbolUniqueId pt90B = TSymbolUniqueId(3365); - static constexpr const TSymbolUniqueId matrixCompMult_Float3x2_Float3x2 = TSymbolUniqueId(3366); - static constexpr const TSymbolUniqueId pt60B = TSymbolUniqueId(3367); - static constexpr const TSymbolUniqueId matrixCompMult_Float2x4_Float2x4 = TSymbolUniqueId(3368); - static constexpr const TSymbolUniqueId ptD0B = TSymbolUniqueId(3369); - static constexpr const TSymbolUniqueId matrixCompMult_Float4x2_Float4x2 = TSymbolUniqueId(3370); - static constexpr const TSymbolUniqueId pt70B = TSymbolUniqueId(3371); - static constexpr const TSymbolUniqueId matrixCompMult_Float3x4_Float3x4 = TSymbolUniqueId(3372); - static constexpr const TSymbolUniqueId ptE0B = TSymbolUniqueId(3373); - static constexpr const TSymbolUniqueId matrixCompMult_Float4x3_Float4x3 = TSymbolUniqueId(3374); - static constexpr const TSymbolUniqueId ptB0B = TSymbolUniqueId(3375); - static constexpr const TSymbolUniqueId outerProduct_Float2_Float2 = TSymbolUniqueId(3376); - static constexpr const TSymbolUniqueId outerProduct_Float3_Float3 = TSymbolUniqueId(3377); - static constexpr const TSymbolUniqueId outerProduct_Float4_Float4 = TSymbolUniqueId(3378); - static constexpr const TSymbolUniqueId outerProduct_Float3_Float2 = TSymbolUniqueId(3379); - static constexpr const TSymbolUniqueId outerProduct_Float2_Float3 = TSymbolUniqueId(3380); - static constexpr const TSymbolUniqueId outerProduct_Float4_Float2 = TSymbolUniqueId(3381); - static constexpr const TSymbolUniqueId outerProduct_Float2_Float4 = TSymbolUniqueId(3382); - static constexpr const TSymbolUniqueId outerProduct_Float4_Float3 = TSymbolUniqueId(3383); - static constexpr const TSymbolUniqueId outerProduct_Float3_Float4 = TSymbolUniqueId(3384); - static constexpr const TSymbolUniqueId transpose_Float2x2 = TSymbolUniqueId(3385); - static constexpr const TSymbolUniqueId transpose_Float3x3 = TSymbolUniqueId(3386); - static constexpr const TSymbolUniqueId transpose_Float4x4 = TSymbolUniqueId(3387); - static constexpr const TSymbolUniqueId transpose_Float3x2 = TSymbolUniqueId(3388); - static constexpr const TSymbolUniqueId transpose_Float2x3 = TSymbolUniqueId(3389); - static constexpr const TSymbolUniqueId transpose_Float4x2 = TSymbolUniqueId(3390); - static constexpr const TSymbolUniqueId transpose_Float2x4 = TSymbolUniqueId(3391); - static constexpr const TSymbolUniqueId transpose_Float4x3 = TSymbolUniqueId(3392); - static constexpr const TSymbolUniqueId transpose_Float3x4 = TSymbolUniqueId(3393); - static constexpr const TSymbolUniqueId determinant_Float2x2 = TSymbolUniqueId(3394); - static constexpr const TSymbolUniqueId determinant_Float3x3 = TSymbolUniqueId(3395); - static constexpr const TSymbolUniqueId determinant_Float4x4 = TSymbolUniqueId(3396); - static constexpr const TSymbolUniqueId inverse_Float2x2 = TSymbolUniqueId(3397); - static constexpr const TSymbolUniqueId inverse_Float3x3 = TSymbolUniqueId(3398); - static constexpr const TSymbolUniqueId inverse_Float4x4 = TSymbolUniqueId(3399); - static constexpr const TSymbolUniqueId lessThan_Float2_Float2 = TSymbolUniqueId(3400); - static constexpr const TSymbolUniqueId lessThan_Float3_Float3 = TSymbolUniqueId(3401); - static constexpr const TSymbolUniqueId lessThan_Float4_Float4 = TSymbolUniqueId(3402); - static constexpr const TSymbolUniqueId lessThan_Int2_Int2 = TSymbolUniqueId(3403); - static constexpr const TSymbolUniqueId lessThan_Int3_Int3 = TSymbolUniqueId(3404); - static constexpr const TSymbolUniqueId lessThan_Int4_Int4 = TSymbolUniqueId(3405); - static constexpr const TSymbolUniqueId lessThan_UInt2_UInt2 = TSymbolUniqueId(3406); - static constexpr const TSymbolUniqueId lessThan_UInt3_UInt3 = TSymbolUniqueId(3407); - static constexpr const TSymbolUniqueId lessThan_UInt4_UInt4 = TSymbolUniqueId(3408); - static constexpr const TSymbolUniqueId lessThanEqual_Float2_Float2 = TSymbolUniqueId(3409); - static constexpr const TSymbolUniqueId lessThanEqual_Float3_Float3 = TSymbolUniqueId(3410); - static constexpr const TSymbolUniqueId lessThanEqual_Float4_Float4 = TSymbolUniqueId(3411); - static constexpr const TSymbolUniqueId lessThanEqual_Int2_Int2 = TSymbolUniqueId(3412); - static constexpr const TSymbolUniqueId lessThanEqual_Int3_Int3 = TSymbolUniqueId(3413); - static constexpr const TSymbolUniqueId lessThanEqual_Int4_Int4 = TSymbolUniqueId(3414); - static constexpr const TSymbolUniqueId lessThanEqual_UInt2_UInt2 = TSymbolUniqueId(3415); - static constexpr const TSymbolUniqueId lessThanEqual_UInt3_UInt3 = TSymbolUniqueId(3416); - static constexpr const TSymbolUniqueId lessThanEqual_UInt4_UInt4 = TSymbolUniqueId(3417); - static constexpr const TSymbolUniqueId greaterThan_Float2_Float2 = TSymbolUniqueId(3418); - static constexpr const TSymbolUniqueId greaterThan_Float3_Float3 = TSymbolUniqueId(3419); - static constexpr const TSymbolUniqueId greaterThan_Float4_Float4 = TSymbolUniqueId(3420); - static constexpr const TSymbolUniqueId greaterThan_Int2_Int2 = TSymbolUniqueId(3421); - static constexpr const TSymbolUniqueId greaterThan_Int3_Int3 = TSymbolUniqueId(3422); - static constexpr const TSymbolUniqueId greaterThan_Int4_Int4 = TSymbolUniqueId(3423); - static constexpr const TSymbolUniqueId greaterThan_UInt2_UInt2 = TSymbolUniqueId(3424); - static constexpr const TSymbolUniqueId greaterThan_UInt3_UInt3 = TSymbolUniqueId(3425); - static constexpr const TSymbolUniqueId greaterThan_UInt4_UInt4 = TSymbolUniqueId(3426); - static constexpr const TSymbolUniqueId greaterThanEqual_Float2_Float2 = TSymbolUniqueId(3427); - static constexpr const TSymbolUniqueId greaterThanEqual_Float3_Float3 = TSymbolUniqueId(3428); - static constexpr const TSymbolUniqueId greaterThanEqual_Float4_Float4 = TSymbolUniqueId(3429); - static constexpr const TSymbolUniqueId greaterThanEqual_Int2_Int2 = TSymbolUniqueId(3430); - static constexpr const TSymbolUniqueId greaterThanEqual_Int3_Int3 = TSymbolUniqueId(3431); - static constexpr const TSymbolUniqueId greaterThanEqual_Int4_Int4 = TSymbolUniqueId(3432); - static constexpr const TSymbolUniqueId greaterThanEqual_UInt2_UInt2 = TSymbolUniqueId(3433); - static constexpr const TSymbolUniqueId greaterThanEqual_UInt3_UInt3 = TSymbolUniqueId(3434); - static constexpr const TSymbolUniqueId greaterThanEqual_UInt4_UInt4 = TSymbolUniqueId(3435); - static constexpr const TSymbolUniqueId equal_Float2_Float2 = TSymbolUniqueId(3436); - static constexpr const TSymbolUniqueId equal_Float3_Float3 = TSymbolUniqueId(3437); - static constexpr const TSymbolUniqueId equal_Float4_Float4 = TSymbolUniqueId(3438); - static constexpr const TSymbolUniqueId equal_Int2_Int2 = TSymbolUniqueId(3439); - static constexpr const TSymbolUniqueId equal_Int3_Int3 = TSymbolUniqueId(3440); - static constexpr const TSymbolUniqueId equal_Int4_Int4 = TSymbolUniqueId(3441); - static constexpr const TSymbolUniqueId equal_UInt2_UInt2 = TSymbolUniqueId(3442); - static constexpr const TSymbolUniqueId equal_UInt3_UInt3 = TSymbolUniqueId(3443); - static constexpr const TSymbolUniqueId equal_UInt4_UInt4 = TSymbolUniqueId(3444); - static constexpr const TSymbolUniqueId equal_Bool2_Bool2 = TSymbolUniqueId(3445); - static constexpr const TSymbolUniqueId equal_Bool3_Bool3 = TSymbolUniqueId(3446); - static constexpr const TSymbolUniqueId equal_Bool4_Bool4 = TSymbolUniqueId(3447); - static constexpr const TSymbolUniqueId notEqual_Float2_Float2 = TSymbolUniqueId(3448); - static constexpr const TSymbolUniqueId notEqual_Float3_Float3 = TSymbolUniqueId(3449); - static constexpr const TSymbolUniqueId notEqual_Float4_Float4 = TSymbolUniqueId(3450); - static constexpr const TSymbolUniqueId notEqual_Int2_Int2 = TSymbolUniqueId(3451); - static constexpr const TSymbolUniqueId notEqual_Int3_Int3 = TSymbolUniqueId(3452); - static constexpr const TSymbolUniqueId notEqual_Int4_Int4 = TSymbolUniqueId(3453); - static constexpr const TSymbolUniqueId notEqual_UInt2_UInt2 = TSymbolUniqueId(3454); - static constexpr const TSymbolUniqueId notEqual_UInt3_UInt3 = TSymbolUniqueId(3455); - static constexpr const TSymbolUniqueId notEqual_UInt4_UInt4 = TSymbolUniqueId(3456); - static constexpr const TSymbolUniqueId notEqual_Bool2_Bool2 = TSymbolUniqueId(3457); - static constexpr const TSymbolUniqueId notEqual_Bool3_Bool3 = TSymbolUniqueId(3458); - static constexpr const TSymbolUniqueId notEqual_Bool4_Bool4 = TSymbolUniqueId(3459); - static constexpr const TSymbolUniqueId any_Bool2 = TSymbolUniqueId(3460); - static constexpr const TSymbolUniqueId any_Bool3 = TSymbolUniqueId(3461); - static constexpr const TSymbolUniqueId any_Bool4 = TSymbolUniqueId(3462); - static constexpr const TSymbolUniqueId all_Bool2 = TSymbolUniqueId(3463); - static constexpr const TSymbolUniqueId all_Bool3 = TSymbolUniqueId(3464); - static constexpr const TSymbolUniqueId all_Bool4 = TSymbolUniqueId(3465); - static constexpr const TSymbolUniqueId notFunc_Bool2 = TSymbolUniqueId(3466); - static constexpr const TSymbolUniqueId notFunc_Bool3 = TSymbolUniqueId(3467); - static constexpr const TSymbolUniqueId notFunc_Bool4 = TSymbolUniqueId(3468); - static constexpr const TSymbolUniqueId bitfieldExtract_Int1_Int1_Int1 = TSymbolUniqueId(3469); - static constexpr const TSymbolUniqueId bitfieldExtract_Int2_Int1_Int1 = TSymbolUniqueId(3470); - static constexpr const TSymbolUniqueId bitfieldExtract_Int3_Int1_Int1 = TSymbolUniqueId(3471); - static constexpr const TSymbolUniqueId bitfieldExtract_Int4_Int1_Int1 = TSymbolUniqueId(3472); - static constexpr const TSymbolUniqueId bitfieldExtract_UInt1_Int1_Int1 = TSymbolUniqueId(3473); - static constexpr const TSymbolUniqueId bitfieldExtract_UInt2_Int1_Int1 = TSymbolUniqueId(3474); - static constexpr const TSymbolUniqueId bitfieldExtract_UInt3_Int1_Int1 = TSymbolUniqueId(3475); - static constexpr const TSymbolUniqueId bitfieldExtract_UInt4_Int1_Int1 = TSymbolUniqueId(3476); + static constexpr const TSymbolUniqueId radians_Float1 = TSymbolUniqueId(2904); + static constexpr const TSymbolUniqueId pt00B = TSymbolUniqueId(2905); + static constexpr const TSymbolUniqueId radians_Float2 = TSymbolUniqueId(2906); + static constexpr const TSymbolUniqueId pt10B = TSymbolUniqueId(2907); + static constexpr const TSymbolUniqueId radians_Float3 = TSymbolUniqueId(2908); + static constexpr const TSymbolUniqueId pt20B = TSymbolUniqueId(2909); + static constexpr const TSymbolUniqueId radians_Float4 = TSymbolUniqueId(2910); + static constexpr const TSymbolUniqueId pt30B = TSymbolUniqueId(2911); + static constexpr const TSymbolUniqueId degrees_Float1 = TSymbolUniqueId(2912); + static constexpr const TSymbolUniqueId degrees_Float2 = TSymbolUniqueId(2913); + static constexpr const TSymbolUniqueId degrees_Float3 = TSymbolUniqueId(2914); + static constexpr const TSymbolUniqueId degrees_Float4 = TSymbolUniqueId(2915); + static constexpr const TSymbolUniqueId sin_Float1 = TSymbolUniqueId(2916); + static constexpr const TSymbolUniqueId sin_Float2 = TSymbolUniqueId(2917); + static constexpr const TSymbolUniqueId sin_Float3 = TSymbolUniqueId(2918); + static constexpr const TSymbolUniqueId sin_Float4 = TSymbolUniqueId(2919); + static constexpr const TSymbolUniqueId cos_Float1 = TSymbolUniqueId(2920); + static constexpr const TSymbolUniqueId cos_Float2 = TSymbolUniqueId(2921); + static constexpr const TSymbolUniqueId cos_Float3 = TSymbolUniqueId(2922); + static constexpr const TSymbolUniqueId cos_Float4 = TSymbolUniqueId(2923); + static constexpr const TSymbolUniqueId tan_Float1 = TSymbolUniqueId(2924); + static constexpr const TSymbolUniqueId tan_Float2 = TSymbolUniqueId(2925); + static constexpr const TSymbolUniqueId tan_Float3 = TSymbolUniqueId(2926); + static constexpr const TSymbolUniqueId tan_Float4 = TSymbolUniqueId(2927); + static constexpr const TSymbolUniqueId asin_Float1 = TSymbolUniqueId(2928); + static constexpr const TSymbolUniqueId asin_Float2 = TSymbolUniqueId(2929); + static constexpr const TSymbolUniqueId asin_Float3 = TSymbolUniqueId(2930); + static constexpr const TSymbolUniqueId asin_Float4 = TSymbolUniqueId(2931); + static constexpr const TSymbolUniqueId acos_Float1 = TSymbolUniqueId(2932); + static constexpr const TSymbolUniqueId acos_Float2 = TSymbolUniqueId(2933); + static constexpr const TSymbolUniqueId acos_Float3 = TSymbolUniqueId(2934); + static constexpr const TSymbolUniqueId acos_Float4 = TSymbolUniqueId(2935); + static constexpr const TSymbolUniqueId atan_Float1_Float1 = TSymbolUniqueId(2936); + static constexpr const TSymbolUniqueId atan_Float2_Float2 = TSymbolUniqueId(2937); + static constexpr const TSymbolUniqueId atan_Float3_Float3 = TSymbolUniqueId(2938); + static constexpr const TSymbolUniqueId atan_Float4_Float4 = TSymbolUniqueId(2939); + static constexpr const TSymbolUniqueId atan_Float1 = TSymbolUniqueId(2940); + static constexpr const TSymbolUniqueId atan_Float2 = TSymbolUniqueId(2941); + static constexpr const TSymbolUniqueId atan_Float3 = TSymbolUniqueId(2942); + static constexpr const TSymbolUniqueId atan_Float4 = TSymbolUniqueId(2943); + static constexpr const TSymbolUniqueId sinh_Float1 = TSymbolUniqueId(2944); + static constexpr const TSymbolUniqueId sinh_Float2 = TSymbolUniqueId(2945); + static constexpr const TSymbolUniqueId sinh_Float3 = TSymbolUniqueId(2946); + static constexpr const TSymbolUniqueId sinh_Float4 = TSymbolUniqueId(2947); + static constexpr const TSymbolUniqueId cosh_Float1 = TSymbolUniqueId(2948); + static constexpr const TSymbolUniqueId cosh_Float2 = TSymbolUniqueId(2949); + static constexpr const TSymbolUniqueId cosh_Float3 = TSymbolUniqueId(2950); + static constexpr const TSymbolUniqueId cosh_Float4 = TSymbolUniqueId(2951); + static constexpr const TSymbolUniqueId tanh_Float1 = TSymbolUniqueId(2952); + static constexpr const TSymbolUniqueId tanh_Float2 = TSymbolUniqueId(2953); + static constexpr const TSymbolUniqueId tanh_Float3 = TSymbolUniqueId(2954); + static constexpr const TSymbolUniqueId tanh_Float4 = TSymbolUniqueId(2955); + static constexpr const TSymbolUniqueId asinh_Float1 = TSymbolUniqueId(2956); + static constexpr const TSymbolUniqueId asinh_Float2 = TSymbolUniqueId(2957); + static constexpr const TSymbolUniqueId asinh_Float3 = TSymbolUniqueId(2958); + static constexpr const TSymbolUniqueId asinh_Float4 = TSymbolUniqueId(2959); + static constexpr const TSymbolUniqueId acosh_Float1 = TSymbolUniqueId(2960); + static constexpr const TSymbolUniqueId acosh_Float2 = TSymbolUniqueId(2961); + static constexpr const TSymbolUniqueId acosh_Float3 = TSymbolUniqueId(2962); + static constexpr const TSymbolUniqueId acosh_Float4 = TSymbolUniqueId(2963); + static constexpr const TSymbolUniqueId atanh_Float1 = TSymbolUniqueId(2964); + static constexpr const TSymbolUniqueId atanh_Float2 = TSymbolUniqueId(2965); + static constexpr const TSymbolUniqueId atanh_Float3 = TSymbolUniqueId(2966); + static constexpr const TSymbolUniqueId atanh_Float4 = TSymbolUniqueId(2967); + static constexpr const TSymbolUniqueId pow_Float1_Float1 = TSymbolUniqueId(2968); + static constexpr const TSymbolUniqueId pow_Float2_Float2 = TSymbolUniqueId(2969); + static constexpr const TSymbolUniqueId pow_Float3_Float3 = TSymbolUniqueId(2970); + static constexpr const TSymbolUniqueId pow_Float4_Float4 = TSymbolUniqueId(2971); + static constexpr const TSymbolUniqueId exp_Float1 = TSymbolUniqueId(2972); + static constexpr const TSymbolUniqueId exp_Float2 = TSymbolUniqueId(2973); + static constexpr const TSymbolUniqueId exp_Float3 = TSymbolUniqueId(2974); + static constexpr const TSymbolUniqueId exp_Float4 = TSymbolUniqueId(2975); + static constexpr const TSymbolUniqueId log_Float1 = TSymbolUniqueId(2976); + static constexpr const TSymbolUniqueId log_Float2 = TSymbolUniqueId(2977); + static constexpr const TSymbolUniqueId log_Float3 = TSymbolUniqueId(2978); + static constexpr const TSymbolUniqueId log_Float4 = TSymbolUniqueId(2979); + static constexpr const TSymbolUniqueId exp2_Float1 = TSymbolUniqueId(2980); + static constexpr const TSymbolUniqueId exp2_Float2 = TSymbolUniqueId(2981); + static constexpr const TSymbolUniqueId exp2_Float3 = TSymbolUniqueId(2982); + static constexpr const TSymbolUniqueId exp2_Float4 = TSymbolUniqueId(2983); + static constexpr const TSymbolUniqueId log2_Float1 = TSymbolUniqueId(2984); + static constexpr const TSymbolUniqueId log2_Float2 = TSymbolUniqueId(2985); + static constexpr const TSymbolUniqueId log2_Float3 = TSymbolUniqueId(2986); + static constexpr const TSymbolUniqueId log2_Float4 = TSymbolUniqueId(2987); + static constexpr const TSymbolUniqueId sqrt_Float1 = TSymbolUniqueId(2988); + static constexpr const TSymbolUniqueId sqrt_Float2 = TSymbolUniqueId(2989); + static constexpr const TSymbolUniqueId sqrt_Float3 = TSymbolUniqueId(2990); + static constexpr const TSymbolUniqueId sqrt_Float4 = TSymbolUniqueId(2991); + static constexpr const TSymbolUniqueId inversesqrt_Float1 = TSymbolUniqueId(2992); + static constexpr const TSymbolUniqueId inversesqrt_Float2 = TSymbolUniqueId(2993); + static constexpr const TSymbolUniqueId inversesqrt_Float3 = TSymbolUniqueId(2994); + static constexpr const TSymbolUniqueId inversesqrt_Float4 = TSymbolUniqueId(2995); + static constexpr const TSymbolUniqueId abs_Float1 = TSymbolUniqueId(2996); + static constexpr const TSymbolUniqueId abs_Float2 = TSymbolUniqueId(2997); + static constexpr const TSymbolUniqueId abs_Float3 = TSymbolUniqueId(2998); + static constexpr const TSymbolUniqueId abs_Float4 = TSymbolUniqueId(2999); + static constexpr const TSymbolUniqueId abs_Int1 = TSymbolUniqueId(3000); + static constexpr const TSymbolUniqueId pt00D = TSymbolUniqueId(3001); + static constexpr const TSymbolUniqueId abs_Int2 = TSymbolUniqueId(3002); + static constexpr const TSymbolUniqueId pt10D = TSymbolUniqueId(3003); + static constexpr const TSymbolUniqueId abs_Int3 = TSymbolUniqueId(3004); + static constexpr const TSymbolUniqueId pt20D = TSymbolUniqueId(3005); + static constexpr const TSymbolUniqueId abs_Int4 = TSymbolUniqueId(3006); + static constexpr const TSymbolUniqueId pt30D = TSymbolUniqueId(3007); + static constexpr const TSymbolUniqueId sign_Float1 = TSymbolUniqueId(3008); + static constexpr const TSymbolUniqueId sign_Float2 = TSymbolUniqueId(3009); + static constexpr const TSymbolUniqueId sign_Float3 = TSymbolUniqueId(3010); + static constexpr const TSymbolUniqueId sign_Float4 = TSymbolUniqueId(3011); + static constexpr const TSymbolUniqueId sign_Int1 = TSymbolUniqueId(3012); + static constexpr const TSymbolUniqueId sign_Int2 = TSymbolUniqueId(3013); + static constexpr const TSymbolUniqueId sign_Int3 = TSymbolUniqueId(3014); + static constexpr const TSymbolUniqueId sign_Int4 = TSymbolUniqueId(3015); + static constexpr const TSymbolUniqueId floor_Float1 = TSymbolUniqueId(3016); + static constexpr const TSymbolUniqueId floor_Float2 = TSymbolUniqueId(3017); + static constexpr const TSymbolUniqueId floor_Float3 = TSymbolUniqueId(3018); + static constexpr const TSymbolUniqueId floor_Float4 = TSymbolUniqueId(3019); + static constexpr const TSymbolUniqueId trunc_Float1 = TSymbolUniqueId(3020); + static constexpr const TSymbolUniqueId trunc_Float2 = TSymbolUniqueId(3021); + static constexpr const TSymbolUniqueId trunc_Float3 = TSymbolUniqueId(3022); + static constexpr const TSymbolUniqueId trunc_Float4 = TSymbolUniqueId(3023); + static constexpr const TSymbolUniqueId round_Float1 = TSymbolUniqueId(3024); + static constexpr const TSymbolUniqueId round_Float2 = TSymbolUniqueId(3025); + static constexpr const TSymbolUniqueId round_Float3 = TSymbolUniqueId(3026); + static constexpr const TSymbolUniqueId round_Float4 = TSymbolUniqueId(3027); + static constexpr const TSymbolUniqueId roundEven_Float1 = TSymbolUniqueId(3028); + static constexpr const TSymbolUniqueId roundEven_Float2 = TSymbolUniqueId(3029); + static constexpr const TSymbolUniqueId roundEven_Float3 = TSymbolUniqueId(3030); + static constexpr const TSymbolUniqueId roundEven_Float4 = TSymbolUniqueId(3031); + static constexpr const TSymbolUniqueId ceil_Float1 = TSymbolUniqueId(3032); + static constexpr const TSymbolUniqueId ceil_Float2 = TSymbolUniqueId(3033); + static constexpr const TSymbolUniqueId ceil_Float3 = TSymbolUniqueId(3034); + static constexpr const TSymbolUniqueId ceil_Float4 = TSymbolUniqueId(3035); + static constexpr const TSymbolUniqueId fract_Float1 = TSymbolUniqueId(3036); + static constexpr const TSymbolUniqueId fract_Float2 = TSymbolUniqueId(3037); + static constexpr const TSymbolUniqueId fract_Float3 = TSymbolUniqueId(3038); + static constexpr const TSymbolUniqueId fract_Float4 = TSymbolUniqueId(3039); + static constexpr const TSymbolUniqueId mod_Float1_Float1 = TSymbolUniqueId(3040); + static constexpr const TSymbolUniqueId mod_Float2_Float1 = TSymbolUniqueId(3041); + static constexpr const TSymbolUniqueId mod_Float3_Float1 = TSymbolUniqueId(3042); + static constexpr const TSymbolUniqueId mod_Float4_Float1 = TSymbolUniqueId(3043); + static constexpr const TSymbolUniqueId mod_Float2_Float2 = TSymbolUniqueId(3044); + static constexpr const TSymbolUniqueId mod_Float3_Float3 = TSymbolUniqueId(3045); + static constexpr const TSymbolUniqueId mod_Float4_Float4 = TSymbolUniqueId(3046); + static constexpr const TSymbolUniqueId min_Float1_Float1 = TSymbolUniqueId(3047); + static constexpr const TSymbolUniqueId min_Float2_Float1 = TSymbolUniqueId(3048); + static constexpr const TSymbolUniqueId min_Float3_Float1 = TSymbolUniqueId(3049); + static constexpr const TSymbolUniqueId min_Float4_Float1 = TSymbolUniqueId(3050); + static constexpr const TSymbolUniqueId min_Float2_Float2 = TSymbolUniqueId(3051); + static constexpr const TSymbolUniqueId min_Float3_Float3 = TSymbolUniqueId(3052); + static constexpr const TSymbolUniqueId min_Float4_Float4 = TSymbolUniqueId(3053); + static constexpr const TSymbolUniqueId min_Int1_Int1 = TSymbolUniqueId(3054); + static constexpr const TSymbolUniqueId min_Int2_Int2 = TSymbolUniqueId(3055); + static constexpr const TSymbolUniqueId min_Int3_Int3 = TSymbolUniqueId(3056); + static constexpr const TSymbolUniqueId min_Int4_Int4 = TSymbolUniqueId(3057); + static constexpr const TSymbolUniqueId min_Int2_Int1 = TSymbolUniqueId(3058); + static constexpr const TSymbolUniqueId min_Int3_Int1 = TSymbolUniqueId(3059); + static constexpr const TSymbolUniqueId min_Int4_Int1 = TSymbolUniqueId(3060); + static constexpr const TSymbolUniqueId min_UInt1_UInt1 = TSymbolUniqueId(3061); + static constexpr const TSymbolUniqueId pt00E = TSymbolUniqueId(3062); + static constexpr const TSymbolUniqueId min_UInt2_UInt2 = TSymbolUniqueId(3063); + static constexpr const TSymbolUniqueId pt10E = TSymbolUniqueId(3064); + static constexpr const TSymbolUniqueId min_UInt3_UInt3 = TSymbolUniqueId(3065); + static constexpr const TSymbolUniqueId pt20E = TSymbolUniqueId(3066); + static constexpr const TSymbolUniqueId min_UInt4_UInt4 = TSymbolUniqueId(3067); + static constexpr const TSymbolUniqueId pt30E = TSymbolUniqueId(3068); + static constexpr const TSymbolUniqueId min_UInt2_UInt1 = TSymbolUniqueId(3069); + static constexpr const TSymbolUniqueId min_UInt3_UInt1 = TSymbolUniqueId(3070); + static constexpr const TSymbolUniqueId min_UInt4_UInt1 = TSymbolUniqueId(3071); + static constexpr const TSymbolUniqueId max_Float1_Float1 = TSymbolUniqueId(3072); + static constexpr const TSymbolUniqueId max_Float2_Float1 = TSymbolUniqueId(3073); + static constexpr const TSymbolUniqueId max_Float3_Float1 = TSymbolUniqueId(3074); + static constexpr const TSymbolUniqueId max_Float4_Float1 = TSymbolUniqueId(3075); + static constexpr const TSymbolUniqueId max_Float2_Float2 = TSymbolUniqueId(3076); + static constexpr const TSymbolUniqueId max_Float3_Float3 = TSymbolUniqueId(3077); + static constexpr const TSymbolUniqueId max_Float4_Float4 = TSymbolUniqueId(3078); + static constexpr const TSymbolUniqueId max_Int1_Int1 = TSymbolUniqueId(3079); + static constexpr const TSymbolUniqueId max_Int2_Int2 = TSymbolUniqueId(3080); + static constexpr const TSymbolUniqueId max_Int3_Int3 = TSymbolUniqueId(3081); + static constexpr const TSymbolUniqueId max_Int4_Int4 = TSymbolUniqueId(3082); + static constexpr const TSymbolUniqueId max_Int2_Int1 = TSymbolUniqueId(3083); + static constexpr const TSymbolUniqueId max_Int3_Int1 = TSymbolUniqueId(3084); + static constexpr const TSymbolUniqueId max_Int4_Int1 = TSymbolUniqueId(3085); + static constexpr const TSymbolUniqueId max_UInt1_UInt1 = TSymbolUniqueId(3086); + static constexpr const TSymbolUniqueId max_UInt2_UInt2 = TSymbolUniqueId(3087); + static constexpr const TSymbolUniqueId max_UInt3_UInt3 = TSymbolUniqueId(3088); + static constexpr const TSymbolUniqueId max_UInt4_UInt4 = TSymbolUniqueId(3089); + static constexpr const TSymbolUniqueId max_UInt2_UInt1 = TSymbolUniqueId(3090); + static constexpr const TSymbolUniqueId max_UInt3_UInt1 = TSymbolUniqueId(3091); + static constexpr const TSymbolUniqueId max_UInt4_UInt1 = TSymbolUniqueId(3092); + static constexpr const TSymbolUniqueId clamp_Float1_Float1_Float1 = TSymbolUniqueId(3093); + static constexpr const TSymbolUniqueId clamp_Float2_Float1_Float1 = TSymbolUniqueId(3094); + static constexpr const TSymbolUniqueId clamp_Float3_Float1_Float1 = TSymbolUniqueId(3095); + static constexpr const TSymbolUniqueId clamp_Float4_Float1_Float1 = TSymbolUniqueId(3096); + static constexpr const TSymbolUniqueId clamp_Float2_Float2_Float2 = TSymbolUniqueId(3097); + static constexpr const TSymbolUniqueId clamp_Float3_Float3_Float3 = TSymbolUniqueId(3098); + static constexpr const TSymbolUniqueId clamp_Float4_Float4_Float4 = TSymbolUniqueId(3099); + static constexpr const TSymbolUniqueId clamp_Int1_Int1_Int1 = TSymbolUniqueId(3100); + static constexpr const TSymbolUniqueId clamp_Int2_Int1_Int1 = TSymbolUniqueId(3101); + static constexpr const TSymbolUniqueId clamp_Int3_Int1_Int1 = TSymbolUniqueId(3102); + static constexpr const TSymbolUniqueId clamp_Int4_Int1_Int1 = TSymbolUniqueId(3103); + static constexpr const TSymbolUniqueId clamp_Int2_Int2_Int2 = TSymbolUniqueId(3104); + static constexpr const TSymbolUniqueId clamp_Int3_Int3_Int3 = TSymbolUniqueId(3105); + static constexpr const TSymbolUniqueId clamp_Int4_Int4_Int4 = TSymbolUniqueId(3106); + static constexpr const TSymbolUniqueId clamp_UInt1_UInt1_UInt1 = TSymbolUniqueId(3107); + static constexpr const TSymbolUniqueId clamp_UInt2_UInt1_UInt1 = TSymbolUniqueId(3108); + static constexpr const TSymbolUniqueId clamp_UInt3_UInt1_UInt1 = TSymbolUniqueId(3109); + static constexpr const TSymbolUniqueId clamp_UInt4_UInt1_UInt1 = TSymbolUniqueId(3110); + static constexpr const TSymbolUniqueId clamp_UInt2_UInt2_UInt2 = TSymbolUniqueId(3111); + static constexpr const TSymbolUniqueId clamp_UInt3_UInt3_UInt3 = TSymbolUniqueId(3112); + static constexpr const TSymbolUniqueId clamp_UInt4_UInt4_UInt4 = TSymbolUniqueId(3113); + static constexpr const TSymbolUniqueId mix_Float1_Float1_Float1 = TSymbolUniqueId(3114); + static constexpr const TSymbolUniqueId mix_Float2_Float2_Float1 = TSymbolUniqueId(3115); + static constexpr const TSymbolUniqueId mix_Float3_Float3_Float1 = TSymbolUniqueId(3116); + static constexpr const TSymbolUniqueId mix_Float4_Float4_Float1 = TSymbolUniqueId(3117); + static constexpr const TSymbolUniqueId mix_Float2_Float2_Float2 = TSymbolUniqueId(3118); + static constexpr const TSymbolUniqueId mix_Float3_Float3_Float3 = TSymbolUniqueId(3119); + static constexpr const TSymbolUniqueId mix_Float4_Float4_Float4 = TSymbolUniqueId(3120); + static constexpr const TSymbolUniqueId mix_Float1_Float1_Bool1 = TSymbolUniqueId(3121); + static constexpr const TSymbolUniqueId pt00F = TSymbolUniqueId(3122); + static constexpr const TSymbolUniqueId mix_Float2_Float2_Bool2 = TSymbolUniqueId(3123); + static constexpr const TSymbolUniqueId pt10F = TSymbolUniqueId(3124); + static constexpr const TSymbolUniqueId mix_Float3_Float3_Bool3 = TSymbolUniqueId(3125); + static constexpr const TSymbolUniqueId pt20F = TSymbolUniqueId(3126); + static constexpr const TSymbolUniqueId mix_Float4_Float4_Bool4 = TSymbolUniqueId(3127); + static constexpr const TSymbolUniqueId pt30F = TSymbolUniqueId(3128); + static constexpr const TSymbolUniqueId mix_Int1_Int1_Bool1 = TSymbolUniqueId(3129); + static constexpr const TSymbolUniqueId mix_Int2_Int2_Bool2 = TSymbolUniqueId(3130); + static constexpr const TSymbolUniqueId mix_Int3_Int3_Bool3 = TSymbolUniqueId(3131); + static constexpr const TSymbolUniqueId mix_Int4_Int4_Bool4 = TSymbolUniqueId(3132); + static constexpr const TSymbolUniqueId mix_UInt1_UInt1_Bool1 = TSymbolUniqueId(3133); + static constexpr const TSymbolUniqueId mix_UInt2_UInt2_Bool2 = TSymbolUniqueId(3134); + static constexpr const TSymbolUniqueId mix_UInt3_UInt3_Bool3 = TSymbolUniqueId(3135); + static constexpr const TSymbolUniqueId mix_UInt4_UInt4_Bool4 = TSymbolUniqueId(3136); + static constexpr const TSymbolUniqueId mix_Bool1_Bool1_Bool1 = TSymbolUniqueId(3137); + static constexpr const TSymbolUniqueId mix_Bool2_Bool2_Bool2 = TSymbolUniqueId(3138); + static constexpr const TSymbolUniqueId mix_Bool3_Bool3_Bool3 = TSymbolUniqueId(3139); + static constexpr const TSymbolUniqueId mix_Bool4_Bool4_Bool4 = TSymbolUniqueId(3140); + static constexpr const TSymbolUniqueId step_Float1_Float1 = TSymbolUniqueId(3141); + static constexpr const TSymbolUniqueId step_Float2_Float2 = TSymbolUniqueId(3142); + static constexpr const TSymbolUniqueId step_Float3_Float3 = TSymbolUniqueId(3143); + static constexpr const TSymbolUniqueId step_Float4_Float4 = TSymbolUniqueId(3144); + static constexpr const TSymbolUniqueId step_Float1_Float2 = TSymbolUniqueId(3145); + static constexpr const TSymbolUniqueId step_Float1_Float3 = TSymbolUniqueId(3146); + static constexpr const TSymbolUniqueId step_Float1_Float4 = TSymbolUniqueId(3147); + static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float1 = TSymbolUniqueId(3148); + static constexpr const TSymbolUniqueId smoothstep_Float2_Float2_Float2 = TSymbolUniqueId(3149); + static constexpr const TSymbolUniqueId smoothstep_Float3_Float3_Float3 = TSymbolUniqueId(3150); + static constexpr const TSymbolUniqueId smoothstep_Float4_Float4_Float4 = TSymbolUniqueId(3151); + static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float2 = TSymbolUniqueId(3152); + static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float3 = TSymbolUniqueId(3153); + static constexpr const TSymbolUniqueId smoothstep_Float1_Float1_Float4 = TSymbolUniqueId(3154); + static constexpr const TSymbolUniqueId modf_Float1_Float1 = TSymbolUniqueId(3155); + static constexpr const TSymbolUniqueId pt_o_00B = TSymbolUniqueId(3156); + static constexpr const TSymbolUniqueId modf_Float2_Float2 = TSymbolUniqueId(3157); + static constexpr const TSymbolUniqueId pt_o_10B = TSymbolUniqueId(3158); + static constexpr const TSymbolUniqueId modf_Float3_Float3 = TSymbolUniqueId(3159); + static constexpr const TSymbolUniqueId pt_o_20B = TSymbolUniqueId(3160); + static constexpr const TSymbolUniqueId modf_Float4_Float4 = TSymbolUniqueId(3161); + static constexpr const TSymbolUniqueId pt_o_30B = TSymbolUniqueId(3162); + static constexpr const TSymbolUniqueId isnan_Float1 = TSymbolUniqueId(3163); + static constexpr const TSymbolUniqueId isnan_Float2 = TSymbolUniqueId(3164); + static constexpr const TSymbolUniqueId isnan_Float3 = TSymbolUniqueId(3165); + static constexpr const TSymbolUniqueId isnan_Float4 = TSymbolUniqueId(3166); + static constexpr const TSymbolUniqueId isinf_Float1 = TSymbolUniqueId(3167); + static constexpr const TSymbolUniqueId isinf_Float2 = TSymbolUniqueId(3168); + static constexpr const TSymbolUniqueId isinf_Float3 = TSymbolUniqueId(3169); + static constexpr const TSymbolUniqueId isinf_Float4 = TSymbolUniqueId(3170); + static constexpr const TSymbolUniqueId floatBitsToInt_Float1 = TSymbolUniqueId(3171); + static constexpr const TSymbolUniqueId floatBitsToInt_Float2 = TSymbolUniqueId(3172); + static constexpr const TSymbolUniqueId floatBitsToInt_Float3 = TSymbolUniqueId(3173); + static constexpr const TSymbolUniqueId floatBitsToInt_Float4 = TSymbolUniqueId(3174); + static constexpr const TSymbolUniqueId floatBitsToUint_Float1 = TSymbolUniqueId(3175); + static constexpr const TSymbolUniqueId floatBitsToUint_Float2 = TSymbolUniqueId(3176); + static constexpr const TSymbolUniqueId floatBitsToUint_Float3 = TSymbolUniqueId(3177); + static constexpr const TSymbolUniqueId floatBitsToUint_Float4 = TSymbolUniqueId(3178); + static constexpr const TSymbolUniqueId intBitsToFloat_Int1 = TSymbolUniqueId(3179); + static constexpr const TSymbolUniqueId intBitsToFloat_Int2 = TSymbolUniqueId(3180); + static constexpr const TSymbolUniqueId intBitsToFloat_Int3 = TSymbolUniqueId(3181); + static constexpr const TSymbolUniqueId intBitsToFloat_Int4 = TSymbolUniqueId(3182); + static constexpr const TSymbolUniqueId uintBitsToFloat_UInt1 = TSymbolUniqueId(3183); + static constexpr const TSymbolUniqueId uintBitsToFloat_UInt2 = TSymbolUniqueId(3184); + static constexpr const TSymbolUniqueId uintBitsToFloat_UInt3 = TSymbolUniqueId(3185); + static constexpr const TSymbolUniqueId uintBitsToFloat_UInt4 = TSymbolUniqueId(3186); + static constexpr const TSymbolUniqueId fma_Float1_Float1_Float1 = TSymbolUniqueId(3187); + static constexpr const TSymbolUniqueId fma_Float2_Float2_Float2 = TSymbolUniqueId(3188); + static constexpr const TSymbolUniqueId fma_Float3_Float3_Float3 = TSymbolUniqueId(3189); + static constexpr const TSymbolUniqueId fma_Float4_Float4_Float4 = TSymbolUniqueId(3190); + static constexpr const TSymbolUniqueId fmaExt_Float1_Float1_Float1 = TSymbolUniqueId(3191); + static constexpr const TSymbolUniqueId fmaExt_Float2_Float2_Float2 = TSymbolUniqueId(3192); + static constexpr const TSymbolUniqueId fmaExt_Float3_Float3_Float3 = TSymbolUniqueId(3193); + static constexpr const TSymbolUniqueId fmaExt_Float4_Float4_Float4 = TSymbolUniqueId(3194); + static constexpr const TSymbolUniqueId frexp_Float1_Int1 = TSymbolUniqueId(3195); + static constexpr const TSymbolUniqueId pt_o_00D = TSymbolUniqueId(3196); + static constexpr const TSymbolUniqueId frexp_Float2_Int2 = TSymbolUniqueId(3197); + static constexpr const TSymbolUniqueId pt_o_10D = TSymbolUniqueId(3198); + static constexpr const TSymbolUniqueId frexp_Float3_Int3 = TSymbolUniqueId(3199); + static constexpr const TSymbolUniqueId pt_o_20D = TSymbolUniqueId(3200); + static constexpr const TSymbolUniqueId frexp_Float4_Int4 = TSymbolUniqueId(3201); + static constexpr const TSymbolUniqueId pt_o_30D = TSymbolUniqueId(3202); + static constexpr const TSymbolUniqueId ldexp_Float1_Int1 = TSymbolUniqueId(3203); + static constexpr const TSymbolUniqueId ldexp_Float2_Int2 = TSymbolUniqueId(3204); + static constexpr const TSymbolUniqueId ldexp_Float3_Int3 = TSymbolUniqueId(3205); + static constexpr const TSymbolUniqueId ldexp_Float4_Int4 = TSymbolUniqueId(3206); + static constexpr const TSymbolUniqueId packSnorm2x16_Float2 = TSymbolUniqueId(3207); + static constexpr const TSymbolUniqueId packHalf2x16_Float2 = TSymbolUniqueId(3208); + static constexpr const TSymbolUniqueId unpackSnorm2x16_UInt1 = TSymbolUniqueId(3209); + static constexpr const TSymbolUniqueId unpackHalf2x16_UInt1 = TSymbolUniqueId(3210); + static constexpr const TSymbolUniqueId packUnorm2x16_Float2 = TSymbolUniqueId(3211); + static constexpr const TSymbolUniqueId unpackUnorm2x16_UInt1 = TSymbolUniqueId(3212); + static constexpr const TSymbolUniqueId packUnorm4x8_Float4 = TSymbolUniqueId(3213); + static constexpr const TSymbolUniqueId packSnorm4x8_Float4 = TSymbolUniqueId(3214); + static constexpr const TSymbolUniqueId unpackUnorm4x8_UInt1 = TSymbolUniqueId(3215); + static constexpr const TSymbolUniqueId unpackSnorm4x8_UInt1 = TSymbolUniqueId(3216); + static constexpr const TSymbolUniqueId length_Float1 = TSymbolUniqueId(3217); + static constexpr const TSymbolUniqueId length_Float2 = TSymbolUniqueId(3218); + static constexpr const TSymbolUniqueId length_Float3 = TSymbolUniqueId(3219); + static constexpr const TSymbolUniqueId length_Float4 = TSymbolUniqueId(3220); + static constexpr const TSymbolUniqueId distance_Float1_Float1 = TSymbolUniqueId(3221); + static constexpr const TSymbolUniqueId distance_Float2_Float2 = TSymbolUniqueId(3222); + static constexpr const TSymbolUniqueId distance_Float3_Float3 = TSymbolUniqueId(3223); + static constexpr const TSymbolUniqueId distance_Float4_Float4 = TSymbolUniqueId(3224); + static constexpr const TSymbolUniqueId dot_Float1_Float1 = TSymbolUniqueId(3225); + static constexpr const TSymbolUniqueId dot_Float2_Float2 = TSymbolUniqueId(3226); + static constexpr const TSymbolUniqueId dot_Float3_Float3 = TSymbolUniqueId(3227); + static constexpr const TSymbolUniqueId dot_Float4_Float4 = TSymbolUniqueId(3228); + static constexpr const TSymbolUniqueId cross_Float3_Float3 = TSymbolUniqueId(3229); + static constexpr const TSymbolUniqueId normalize_Float1 = TSymbolUniqueId(3230); + static constexpr const TSymbolUniqueId normalize_Float2 = TSymbolUniqueId(3231); + static constexpr const TSymbolUniqueId normalize_Float3 = TSymbolUniqueId(3232); + static constexpr const TSymbolUniqueId normalize_Float4 = TSymbolUniqueId(3233); + static constexpr const TSymbolUniqueId faceforward_Float1_Float1_Float1 = TSymbolUniqueId(3234); + static constexpr const TSymbolUniqueId faceforward_Float2_Float2_Float2 = TSymbolUniqueId(3235); + static constexpr const TSymbolUniqueId faceforward_Float3_Float3_Float3 = TSymbolUniqueId(3236); + static constexpr const TSymbolUniqueId faceforward_Float4_Float4_Float4 = TSymbolUniqueId(3237); + static constexpr const TSymbolUniqueId reflect_Float1_Float1 = TSymbolUniqueId(3238); + static constexpr const TSymbolUniqueId reflect_Float2_Float2 = TSymbolUniqueId(3239); + static constexpr const TSymbolUniqueId reflect_Float3_Float3 = TSymbolUniqueId(3240); + static constexpr const TSymbolUniqueId reflect_Float4_Float4 = TSymbolUniqueId(3241); + static constexpr const TSymbolUniqueId refract_Float1_Float1_Float1 = TSymbolUniqueId(3242); + static constexpr const TSymbolUniqueId refract_Float2_Float2_Float1 = TSymbolUniqueId(3243); + static constexpr const TSymbolUniqueId refract_Float3_Float3_Float1 = TSymbolUniqueId(3244); + static constexpr const TSymbolUniqueId refract_Float4_Float4_Float1 = TSymbolUniqueId(3245); + static constexpr const TSymbolUniqueId matrixCompMult_Float2x2_Float2x2 = TSymbolUniqueId(3246); + static constexpr const TSymbolUniqueId pt50B = TSymbolUniqueId(3247); + static constexpr const TSymbolUniqueId matrixCompMult_Float3x3_Float3x3 = TSymbolUniqueId(3248); + static constexpr const TSymbolUniqueId ptA0B = TSymbolUniqueId(3249); + static constexpr const TSymbolUniqueId matrixCompMult_Float4x4_Float4x4 = TSymbolUniqueId(3250); + static constexpr const TSymbolUniqueId ptF0B = TSymbolUniqueId(3251); + static constexpr const TSymbolUniqueId matrixCompMult_Float2x3_Float2x3 = TSymbolUniqueId(3252); + static constexpr const TSymbolUniqueId pt90B = TSymbolUniqueId(3253); + static constexpr const TSymbolUniqueId matrixCompMult_Float3x2_Float3x2 = TSymbolUniqueId(3254); + static constexpr const TSymbolUniqueId pt60B = TSymbolUniqueId(3255); + static constexpr const TSymbolUniqueId matrixCompMult_Float2x4_Float2x4 = TSymbolUniqueId(3256); + static constexpr const TSymbolUniqueId ptD0B = TSymbolUniqueId(3257); + static constexpr const TSymbolUniqueId matrixCompMult_Float4x2_Float4x2 = TSymbolUniqueId(3258); + static constexpr const TSymbolUniqueId pt70B = TSymbolUniqueId(3259); + static constexpr const TSymbolUniqueId matrixCompMult_Float3x4_Float3x4 = TSymbolUniqueId(3260); + static constexpr const TSymbolUniqueId ptE0B = TSymbolUniqueId(3261); + static constexpr const TSymbolUniqueId matrixCompMult_Float4x3_Float4x3 = TSymbolUniqueId(3262); + static constexpr const TSymbolUniqueId ptB0B = TSymbolUniqueId(3263); + static constexpr const TSymbolUniqueId outerProduct_Float2_Float2 = TSymbolUniqueId(3264); + static constexpr const TSymbolUniqueId outerProduct_Float3_Float3 = TSymbolUniqueId(3265); + static constexpr const TSymbolUniqueId outerProduct_Float4_Float4 = TSymbolUniqueId(3266); + static constexpr const TSymbolUniqueId outerProduct_Float3_Float2 = TSymbolUniqueId(3267); + static constexpr const TSymbolUniqueId outerProduct_Float2_Float3 = TSymbolUniqueId(3268); + static constexpr const TSymbolUniqueId outerProduct_Float4_Float2 = TSymbolUniqueId(3269); + static constexpr const TSymbolUniqueId outerProduct_Float2_Float4 = TSymbolUniqueId(3270); + static constexpr const TSymbolUniqueId outerProduct_Float4_Float3 = TSymbolUniqueId(3271); + static constexpr const TSymbolUniqueId outerProduct_Float3_Float4 = TSymbolUniqueId(3272); + static constexpr const TSymbolUniqueId transpose_Float2x2 = TSymbolUniqueId(3273); + static constexpr const TSymbolUniqueId transpose_Float3x3 = TSymbolUniqueId(3274); + static constexpr const TSymbolUniqueId transpose_Float4x4 = TSymbolUniqueId(3275); + static constexpr const TSymbolUniqueId transpose_Float3x2 = TSymbolUniqueId(3276); + static constexpr const TSymbolUniqueId transpose_Float2x3 = TSymbolUniqueId(3277); + static constexpr const TSymbolUniqueId transpose_Float4x2 = TSymbolUniqueId(3278); + static constexpr const TSymbolUniqueId transpose_Float2x4 = TSymbolUniqueId(3279); + static constexpr const TSymbolUniqueId transpose_Float4x3 = TSymbolUniqueId(3280); + static constexpr const TSymbolUniqueId transpose_Float3x4 = TSymbolUniqueId(3281); + static constexpr const TSymbolUniqueId determinant_Float2x2 = TSymbolUniqueId(3282); + static constexpr const TSymbolUniqueId determinant_Float3x3 = TSymbolUniqueId(3283); + static constexpr const TSymbolUniqueId determinant_Float4x4 = TSymbolUniqueId(3284); + static constexpr const TSymbolUniqueId inverse_Float2x2 = TSymbolUniqueId(3285); + static constexpr const TSymbolUniqueId inverse_Float3x3 = TSymbolUniqueId(3286); + static constexpr const TSymbolUniqueId inverse_Float4x4 = TSymbolUniqueId(3287); + static constexpr const TSymbolUniqueId lessThan_Float2_Float2 = TSymbolUniqueId(3288); + static constexpr const TSymbolUniqueId lessThan_Float3_Float3 = TSymbolUniqueId(3289); + static constexpr const TSymbolUniqueId lessThan_Float4_Float4 = TSymbolUniqueId(3290); + static constexpr const TSymbolUniqueId lessThan_Int2_Int2 = TSymbolUniqueId(3291); + static constexpr const TSymbolUniqueId lessThan_Int3_Int3 = TSymbolUniqueId(3292); + static constexpr const TSymbolUniqueId lessThan_Int4_Int4 = TSymbolUniqueId(3293); + static constexpr const TSymbolUniqueId lessThan_UInt2_UInt2 = TSymbolUniqueId(3294); + static constexpr const TSymbolUniqueId lessThan_UInt3_UInt3 = TSymbolUniqueId(3295); + static constexpr const TSymbolUniqueId lessThan_UInt4_UInt4 = TSymbolUniqueId(3296); + static constexpr const TSymbolUniqueId lessThanEqual_Float2_Float2 = TSymbolUniqueId(3297); + static constexpr const TSymbolUniqueId lessThanEqual_Float3_Float3 = TSymbolUniqueId(3298); + static constexpr const TSymbolUniqueId lessThanEqual_Float4_Float4 = TSymbolUniqueId(3299); + static constexpr const TSymbolUniqueId lessThanEqual_Int2_Int2 = TSymbolUniqueId(3300); + static constexpr const TSymbolUniqueId lessThanEqual_Int3_Int3 = TSymbolUniqueId(3301); + static constexpr const TSymbolUniqueId lessThanEqual_Int4_Int4 = TSymbolUniqueId(3302); + static constexpr const TSymbolUniqueId lessThanEqual_UInt2_UInt2 = TSymbolUniqueId(3303); + static constexpr const TSymbolUniqueId lessThanEqual_UInt3_UInt3 = TSymbolUniqueId(3304); + static constexpr const TSymbolUniqueId lessThanEqual_UInt4_UInt4 = TSymbolUniqueId(3305); + static constexpr const TSymbolUniqueId greaterThan_Float2_Float2 = TSymbolUniqueId(3306); + static constexpr const TSymbolUniqueId greaterThan_Float3_Float3 = TSymbolUniqueId(3307); + static constexpr const TSymbolUniqueId greaterThan_Float4_Float4 = TSymbolUniqueId(3308); + static constexpr const TSymbolUniqueId greaterThan_Int2_Int2 = TSymbolUniqueId(3309); + static constexpr const TSymbolUniqueId greaterThan_Int3_Int3 = TSymbolUniqueId(3310); + static constexpr const TSymbolUniqueId greaterThan_Int4_Int4 = TSymbolUniqueId(3311); + static constexpr const TSymbolUniqueId greaterThan_UInt2_UInt2 = TSymbolUniqueId(3312); + static constexpr const TSymbolUniqueId greaterThan_UInt3_UInt3 = TSymbolUniqueId(3313); + static constexpr const TSymbolUniqueId greaterThan_UInt4_UInt4 = TSymbolUniqueId(3314); + static constexpr const TSymbolUniqueId greaterThanEqual_Float2_Float2 = TSymbolUniqueId(3315); + static constexpr const TSymbolUniqueId greaterThanEqual_Float3_Float3 = TSymbolUniqueId(3316); + static constexpr const TSymbolUniqueId greaterThanEqual_Float4_Float4 = TSymbolUniqueId(3317); + static constexpr const TSymbolUniqueId greaterThanEqual_Int2_Int2 = TSymbolUniqueId(3318); + static constexpr const TSymbolUniqueId greaterThanEqual_Int3_Int3 = TSymbolUniqueId(3319); + static constexpr const TSymbolUniqueId greaterThanEqual_Int4_Int4 = TSymbolUniqueId(3320); + static constexpr const TSymbolUniqueId greaterThanEqual_UInt2_UInt2 = TSymbolUniqueId(3321); + static constexpr const TSymbolUniqueId greaterThanEqual_UInt3_UInt3 = TSymbolUniqueId(3322); + static constexpr const TSymbolUniqueId greaterThanEqual_UInt4_UInt4 = TSymbolUniqueId(3323); + static constexpr const TSymbolUniqueId equal_Float2_Float2 = TSymbolUniqueId(3324); + static constexpr const TSymbolUniqueId equal_Float3_Float3 = TSymbolUniqueId(3325); + static constexpr const TSymbolUniqueId equal_Float4_Float4 = TSymbolUniqueId(3326); + static constexpr const TSymbolUniqueId equal_Int2_Int2 = TSymbolUniqueId(3327); + static constexpr const TSymbolUniqueId equal_Int3_Int3 = TSymbolUniqueId(3328); + static constexpr const TSymbolUniqueId equal_Int4_Int4 = TSymbolUniqueId(3329); + static constexpr const TSymbolUniqueId equal_UInt2_UInt2 = TSymbolUniqueId(3330); + static constexpr const TSymbolUniqueId equal_UInt3_UInt3 = TSymbolUniqueId(3331); + static constexpr const TSymbolUniqueId equal_UInt4_UInt4 = TSymbolUniqueId(3332); + static constexpr const TSymbolUniqueId equal_Bool2_Bool2 = TSymbolUniqueId(3333); + static constexpr const TSymbolUniqueId equal_Bool3_Bool3 = TSymbolUniqueId(3334); + static constexpr const TSymbolUniqueId equal_Bool4_Bool4 = TSymbolUniqueId(3335); + static constexpr const TSymbolUniqueId notEqual_Float2_Float2 = TSymbolUniqueId(3336); + static constexpr const TSymbolUniqueId notEqual_Float3_Float3 = TSymbolUniqueId(3337); + static constexpr const TSymbolUniqueId notEqual_Float4_Float4 = TSymbolUniqueId(3338); + static constexpr const TSymbolUniqueId notEqual_Int2_Int2 = TSymbolUniqueId(3339); + static constexpr const TSymbolUniqueId notEqual_Int3_Int3 = TSymbolUniqueId(3340); + static constexpr const TSymbolUniqueId notEqual_Int4_Int4 = TSymbolUniqueId(3341); + static constexpr const TSymbolUniqueId notEqual_UInt2_UInt2 = TSymbolUniqueId(3342); + static constexpr const TSymbolUniqueId notEqual_UInt3_UInt3 = TSymbolUniqueId(3343); + static constexpr const TSymbolUniqueId notEqual_UInt4_UInt4 = TSymbolUniqueId(3344); + static constexpr const TSymbolUniqueId notEqual_Bool2_Bool2 = TSymbolUniqueId(3345); + static constexpr const TSymbolUniqueId notEqual_Bool3_Bool3 = TSymbolUniqueId(3346); + static constexpr const TSymbolUniqueId notEqual_Bool4_Bool4 = TSymbolUniqueId(3347); + static constexpr const TSymbolUniqueId any_Bool2 = TSymbolUniqueId(3348); + static constexpr const TSymbolUniqueId any_Bool3 = TSymbolUniqueId(3349); + static constexpr const TSymbolUniqueId any_Bool4 = TSymbolUniqueId(3350); + static constexpr const TSymbolUniqueId all_Bool2 = TSymbolUniqueId(3351); + static constexpr const TSymbolUniqueId all_Bool3 = TSymbolUniqueId(3352); + static constexpr const TSymbolUniqueId all_Bool4 = TSymbolUniqueId(3353); + static constexpr const TSymbolUniqueId notFunc_Bool2 = TSymbolUniqueId(3354); + static constexpr const TSymbolUniqueId notFunc_Bool3 = TSymbolUniqueId(3355); + static constexpr const TSymbolUniqueId notFunc_Bool4 = TSymbolUniqueId(3356); + static constexpr const TSymbolUniqueId bitfieldExtract_Int1_Int1_Int1 = TSymbolUniqueId(3357); + static constexpr const TSymbolUniqueId bitfieldExtract_Int2_Int1_Int1 = TSymbolUniqueId(3358); + static constexpr const TSymbolUniqueId bitfieldExtract_Int3_Int1_Int1 = TSymbolUniqueId(3359); + static constexpr const TSymbolUniqueId bitfieldExtract_Int4_Int1_Int1 = TSymbolUniqueId(3360); + static constexpr const TSymbolUniqueId bitfieldExtract_UInt1_Int1_Int1 = TSymbolUniqueId(3361); + static constexpr const TSymbolUniqueId bitfieldExtract_UInt2_Int1_Int1 = TSymbolUniqueId(3362); + static constexpr const TSymbolUniqueId bitfieldExtract_UInt3_Int1_Int1 = TSymbolUniqueId(3363); + static constexpr const TSymbolUniqueId bitfieldExtract_UInt4_Int1_Int1 = TSymbolUniqueId(3364); static constexpr const TSymbolUniqueId bitfieldInsert_Int1_Int1_Int1_Int1 = - TSymbolUniqueId(3477); + TSymbolUniqueId(3365); static constexpr const TSymbolUniqueId bitfieldInsert_Int2_Int2_Int1_Int1 = - TSymbolUniqueId(3478); + TSymbolUniqueId(3366); static constexpr const TSymbolUniqueId bitfieldInsert_Int3_Int3_Int1_Int1 = - TSymbolUniqueId(3479); + TSymbolUniqueId(3367); static constexpr const TSymbolUniqueId bitfieldInsert_Int4_Int4_Int1_Int1 = - TSymbolUniqueId(3480); + TSymbolUniqueId(3368); static constexpr const TSymbolUniqueId bitfieldInsert_UInt1_UInt1_Int1_Int1 = - TSymbolUniqueId(3481); + TSymbolUniqueId(3369); static constexpr const TSymbolUniqueId bitfieldInsert_UInt2_UInt2_Int1_Int1 = - TSymbolUniqueId(3482); + TSymbolUniqueId(3370); static constexpr const TSymbolUniqueId bitfieldInsert_UInt3_UInt3_Int1_Int1 = - TSymbolUniqueId(3483); + TSymbolUniqueId(3371); static constexpr const TSymbolUniqueId bitfieldInsert_UInt4_UInt4_Int1_Int1 = - TSymbolUniqueId(3484); - static constexpr const TSymbolUniqueId bitfieldReverse_Int1 = TSymbolUniqueId(3485); - static constexpr const TSymbolUniqueId bitfieldReverse_Int2 = TSymbolUniqueId(3486); - static constexpr const TSymbolUniqueId bitfieldReverse_Int3 = TSymbolUniqueId(3487); - static constexpr const TSymbolUniqueId bitfieldReverse_Int4 = TSymbolUniqueId(3488); - static constexpr const TSymbolUniqueId bitfieldReverse_UInt1 = TSymbolUniqueId(3489); - static constexpr const TSymbolUniqueId bitfieldReverse_UInt2 = TSymbolUniqueId(3490); - static constexpr const TSymbolUniqueId bitfieldReverse_UInt3 = TSymbolUniqueId(3491); - static constexpr const TSymbolUniqueId bitfieldReverse_UInt4 = TSymbolUniqueId(3492); - static constexpr const TSymbolUniqueId bitCount_Int1 = TSymbolUniqueId(3493); - static constexpr const TSymbolUniqueId bitCount_Int2 = TSymbolUniqueId(3494); - static constexpr const TSymbolUniqueId bitCount_Int3 = TSymbolUniqueId(3495); - static constexpr const TSymbolUniqueId bitCount_Int4 = TSymbolUniqueId(3496); - static constexpr const TSymbolUniqueId bitCount_UInt1 = TSymbolUniqueId(3497); - static constexpr const TSymbolUniqueId bitCount_UInt2 = TSymbolUniqueId(3498); - static constexpr const TSymbolUniqueId bitCount_UInt3 = TSymbolUniqueId(3499); - static constexpr const TSymbolUniqueId bitCount_UInt4 = TSymbolUniqueId(3500); - static constexpr const TSymbolUniqueId findLSB_Int1 = TSymbolUniqueId(3501); - static constexpr const TSymbolUniqueId findLSB_Int2 = TSymbolUniqueId(3502); - static constexpr const TSymbolUniqueId findLSB_Int3 = TSymbolUniqueId(3503); - static constexpr const TSymbolUniqueId findLSB_Int4 = TSymbolUniqueId(3504); - static constexpr const TSymbolUniqueId findLSB_UInt1 = TSymbolUniqueId(3505); - static constexpr const TSymbolUniqueId findLSB_UInt2 = TSymbolUniqueId(3506); - static constexpr const TSymbolUniqueId findLSB_UInt3 = TSymbolUniqueId(3507); - static constexpr const TSymbolUniqueId findLSB_UInt4 = TSymbolUniqueId(3508); - static constexpr const TSymbolUniqueId findMSB_Int1 = TSymbolUniqueId(3509); - static constexpr const TSymbolUniqueId findMSB_Int2 = TSymbolUniqueId(3510); - static constexpr const TSymbolUniqueId findMSB_Int3 = TSymbolUniqueId(3511); - static constexpr const TSymbolUniqueId findMSB_Int4 = TSymbolUniqueId(3512); - static constexpr const TSymbolUniqueId findMSB_UInt1 = TSymbolUniqueId(3513); - static constexpr const TSymbolUniqueId findMSB_UInt2 = TSymbolUniqueId(3514); - static constexpr const TSymbolUniqueId findMSB_UInt3 = TSymbolUniqueId(3515); - static constexpr const TSymbolUniqueId findMSB_UInt4 = TSymbolUniqueId(3516); - static constexpr const TSymbolUniqueId uaddCarry_UInt1_UInt1_UInt1 = TSymbolUniqueId(3517); - static constexpr const TSymbolUniqueId pt_o_00E = TSymbolUniqueId(3518); - static constexpr const TSymbolUniqueId uaddCarry_UInt2_UInt2_UInt2 = TSymbolUniqueId(3519); - static constexpr const TSymbolUniqueId pt_o_10E = TSymbolUniqueId(3520); - static constexpr const TSymbolUniqueId uaddCarry_UInt3_UInt3_UInt3 = TSymbolUniqueId(3521); - static constexpr const TSymbolUniqueId pt_o_20E = TSymbolUniqueId(3522); - static constexpr const TSymbolUniqueId uaddCarry_UInt4_UInt4_UInt4 = TSymbolUniqueId(3523); - static constexpr const TSymbolUniqueId pt_o_30E = TSymbolUniqueId(3524); - static constexpr const TSymbolUniqueId usubBorrow_UInt1_UInt1_UInt1 = TSymbolUniqueId(3525); - static constexpr const TSymbolUniqueId usubBorrow_UInt2_UInt2_UInt2 = TSymbolUniqueId(3526); - static constexpr const TSymbolUniqueId usubBorrow_UInt3_UInt3_UInt3 = TSymbolUniqueId(3527); - static constexpr const TSymbolUniqueId usubBorrow_UInt4_UInt4_UInt4 = TSymbolUniqueId(3528); + TSymbolUniqueId(3372); + static constexpr const TSymbolUniqueId bitfieldReverse_Int1 = TSymbolUniqueId(3373); + static constexpr const TSymbolUniqueId bitfieldReverse_Int2 = TSymbolUniqueId(3374); + static constexpr const TSymbolUniqueId bitfieldReverse_Int3 = TSymbolUniqueId(3375); + static constexpr const TSymbolUniqueId bitfieldReverse_Int4 = TSymbolUniqueId(3376); + static constexpr const TSymbolUniqueId bitfieldReverse_UInt1 = TSymbolUniqueId(3377); + static constexpr const TSymbolUniqueId bitfieldReverse_UInt2 = TSymbolUniqueId(3378); + static constexpr const TSymbolUniqueId bitfieldReverse_UInt3 = TSymbolUniqueId(3379); + static constexpr const TSymbolUniqueId bitfieldReverse_UInt4 = TSymbolUniqueId(3380); + static constexpr const TSymbolUniqueId bitCount_Int1 = TSymbolUniqueId(3381); + static constexpr const TSymbolUniqueId bitCount_Int2 = TSymbolUniqueId(3382); + static constexpr const TSymbolUniqueId bitCount_Int3 = TSymbolUniqueId(3383); + static constexpr const TSymbolUniqueId bitCount_Int4 = TSymbolUniqueId(3384); + static constexpr const TSymbolUniqueId bitCount_UInt1 = TSymbolUniqueId(3385); + static constexpr const TSymbolUniqueId bitCount_UInt2 = TSymbolUniqueId(3386); + static constexpr const TSymbolUniqueId bitCount_UInt3 = TSymbolUniqueId(3387); + static constexpr const TSymbolUniqueId bitCount_UInt4 = TSymbolUniqueId(3388); + static constexpr const TSymbolUniqueId findLSB_Int1 = TSymbolUniqueId(3389); + static constexpr const TSymbolUniqueId findLSB_Int2 = TSymbolUniqueId(3390); + static constexpr const TSymbolUniqueId findLSB_Int3 = TSymbolUniqueId(3391); + static constexpr const TSymbolUniqueId findLSB_Int4 = TSymbolUniqueId(3392); + static constexpr const TSymbolUniqueId findLSB_UInt1 = TSymbolUniqueId(3393); + static constexpr const TSymbolUniqueId findLSB_UInt2 = TSymbolUniqueId(3394); + static constexpr const TSymbolUniqueId findLSB_UInt3 = TSymbolUniqueId(3395); + static constexpr const TSymbolUniqueId findLSB_UInt4 = TSymbolUniqueId(3396); + static constexpr const TSymbolUniqueId findMSB_Int1 = TSymbolUniqueId(3397); + static constexpr const TSymbolUniqueId findMSB_Int2 = TSymbolUniqueId(3398); + static constexpr const TSymbolUniqueId findMSB_Int3 = TSymbolUniqueId(3399); + static constexpr const TSymbolUniqueId findMSB_Int4 = TSymbolUniqueId(3400); + static constexpr const TSymbolUniqueId findMSB_UInt1 = TSymbolUniqueId(3401); + static constexpr const TSymbolUniqueId findMSB_UInt2 = TSymbolUniqueId(3402); + static constexpr const TSymbolUniqueId findMSB_UInt3 = TSymbolUniqueId(3403); + static constexpr const TSymbolUniqueId findMSB_UInt4 = TSymbolUniqueId(3404); + static constexpr const TSymbolUniqueId uaddCarry_UInt1_UInt1_UInt1 = TSymbolUniqueId(3405); + static constexpr const TSymbolUniqueId pt_o_00E = TSymbolUniqueId(3406); + static constexpr const TSymbolUniqueId uaddCarry_UInt2_UInt2_UInt2 = TSymbolUniqueId(3407); + static constexpr const TSymbolUniqueId pt_o_10E = TSymbolUniqueId(3408); + static constexpr const TSymbolUniqueId uaddCarry_UInt3_UInt3_UInt3 = TSymbolUniqueId(3409); + static constexpr const TSymbolUniqueId pt_o_20E = TSymbolUniqueId(3410); + static constexpr const TSymbolUniqueId uaddCarry_UInt4_UInt4_UInt4 = TSymbolUniqueId(3411); + static constexpr const TSymbolUniqueId pt_o_30E = TSymbolUniqueId(3412); + static constexpr const TSymbolUniqueId usubBorrow_UInt1_UInt1_UInt1 = TSymbolUniqueId(3413); + static constexpr const TSymbolUniqueId usubBorrow_UInt2_UInt2_UInt2 = TSymbolUniqueId(3414); + static constexpr const TSymbolUniqueId usubBorrow_UInt3_UInt3_UInt3 = TSymbolUniqueId(3415); + static constexpr const TSymbolUniqueId usubBorrow_UInt4_UInt4_UInt4 = TSymbolUniqueId(3416); static constexpr const TSymbolUniqueId umulExtended_UInt1_UInt1_UInt1_UInt1 = - TSymbolUniqueId(3529); + TSymbolUniqueId(3417); static constexpr const TSymbolUniqueId umulExtended_UInt2_UInt2_UInt2_UInt2 = - TSymbolUniqueId(3530); + TSymbolUniqueId(3418); static constexpr const TSymbolUniqueId umulExtended_UInt3_UInt3_UInt3_UInt3 = - TSymbolUniqueId(3531); + TSymbolUniqueId(3419); static constexpr const TSymbolUniqueId umulExtended_UInt4_UInt4_UInt4_UInt4 = - TSymbolUniqueId(3532); - static constexpr const TSymbolUniqueId imulExtended_Int1_Int1_Int1_Int1 = TSymbolUniqueId(3533); - static constexpr const TSymbolUniqueId imulExtended_Int2_Int2_Int2_Int2 = TSymbolUniqueId(3534); - static constexpr const TSymbolUniqueId imulExtended_Int3_Int3_Int3_Int3 = TSymbolUniqueId(3535); - static constexpr const TSymbolUniqueId imulExtended_Int4_Int4_Int4_Int4 = TSymbolUniqueId(3536); - static constexpr const TSymbolUniqueId texture2D_Sampler2D1_Float2 = TSymbolUniqueId(3537); - static constexpr const TSymbolUniqueId pt00I = TSymbolUniqueId(3538); - static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float3 = TSymbolUniqueId(3539); - static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float4 = TSymbolUniqueId(3540); - static constexpr const TSymbolUniqueId textureCube_SamplerCube1_Float3 = TSymbolUniqueId(3541); - static constexpr const TSymbolUniqueId pt00K = TSymbolUniqueId(3542); + TSymbolUniqueId(3420); + static constexpr const TSymbolUniqueId imulExtended_Int1_Int1_Int1_Int1 = TSymbolUniqueId(3421); + static constexpr const TSymbolUniqueId imulExtended_Int2_Int2_Int2_Int2 = TSymbolUniqueId(3422); + static constexpr const TSymbolUniqueId imulExtended_Int3_Int3_Int3_Int3 = TSymbolUniqueId(3423); + static constexpr const TSymbolUniqueId imulExtended_Int4_Int4_Int4_Int4 = TSymbolUniqueId(3424); + static constexpr const TSymbolUniqueId texture2D_Sampler2D1_Float2 = TSymbolUniqueId(3425); + static constexpr const TSymbolUniqueId pt00I = TSymbolUniqueId(3426); + static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float3 = TSymbolUniqueId(3427); + static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float4 = TSymbolUniqueId(3428); + static constexpr const TSymbolUniqueId textureCube_SamplerCube1_Float3 = TSymbolUniqueId(3429); + static constexpr const TSymbolUniqueId pt00K = TSymbolUniqueId(3430); static constexpr const TSymbolUniqueId texture2D_SamplerExternalOES1_Float2 = - TSymbolUniqueId(3543); - static constexpr const TSymbolUniqueId pt00M = TSymbolUniqueId(3544); + TSymbolUniqueId(3431); + static constexpr const TSymbolUniqueId pt00M = TSymbolUniqueId(3432); static constexpr const TSymbolUniqueId texture2DProj_SamplerExternalOES1_Float3 = - TSymbolUniqueId(3545); + TSymbolUniqueId(3433); static constexpr const TSymbolUniqueId texture2DProj_SamplerExternalOES1_Float4 = - TSymbolUniqueId(3546); + TSymbolUniqueId(3434); static constexpr const TSymbolUniqueId texture2DRect_Sampler2DRect1_Float2 = - TSymbolUniqueId(3547); - static constexpr const TSymbolUniqueId pt00O = TSymbolUniqueId(3548); + TSymbolUniqueId(3435); + static constexpr const TSymbolUniqueId pt00O = TSymbolUniqueId(3436); static constexpr const TSymbolUniqueId texture2DRectProj_Sampler2DRect1_Float3 = - TSymbolUniqueId(3549); + TSymbolUniqueId(3437); static constexpr const TSymbolUniqueId texture2DRectProj_Sampler2DRect1_Float4 = - TSymbolUniqueId(3550); - static constexpr const TSymbolUniqueId texture_Sampler2DRect1_Float2 = TSymbolUniqueId(3551); + TSymbolUniqueId(3438); + static constexpr const TSymbolUniqueId texture_Sampler2DRect1_Float2 = TSymbolUniqueId(3439); static constexpr const TSymbolUniqueId textureProj_Sampler2DRect1_Float3 = - TSymbolUniqueId(3552); + TSymbolUniqueId(3440); static constexpr const TSymbolUniqueId textureProj_Sampler2DRect1_Float4 = - TSymbolUniqueId(3553); + TSymbolUniqueId(3441); static constexpr const TSymbolUniqueId texture2DGradEXT_Sampler2D1_Float2_Float2_Float2 = - TSymbolUniqueId(3554); + TSymbolUniqueId(3442); static constexpr const TSymbolUniqueId texture2DProjGradEXT_Sampler2D1_Float3_Float2_Float2 = - TSymbolUniqueId(3555); + TSymbolUniqueId(3443); static constexpr const TSymbolUniqueId texture2DProjGradEXT_Sampler2D1_Float4_Float2_Float2 = - TSymbolUniqueId(3556); + TSymbolUniqueId(3444); static constexpr const TSymbolUniqueId textureCubeGradEXT_SamplerCube1_Float3_Float3_Float3 = - TSymbolUniqueId(3557); + TSymbolUniqueId(3445); static constexpr const TSymbolUniqueId texture2D_Sampler2D1_Float2_Float1 = - TSymbolUniqueId(3558); + TSymbolUniqueId(3446); static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float3_Float1 = - TSymbolUniqueId(3559); + TSymbolUniqueId(3447); static constexpr const TSymbolUniqueId texture2DProj_Sampler2D1_Float4_Float1 = - TSymbolUniqueId(3560); + TSymbolUniqueId(3448); static constexpr const TSymbolUniqueId textureCube_SamplerCube1_Float3_Float1 = - TSymbolUniqueId(3561); - static constexpr const TSymbolUniqueId dFdxExt_Float1 = TSymbolUniqueId(3562); - static constexpr const TSymbolUniqueId dFdxExt_Float2 = TSymbolUniqueId(3563); - static constexpr const TSymbolUniqueId dFdxExt_Float3 = TSymbolUniqueId(3564); - static constexpr const TSymbolUniqueId dFdxExt_Float4 = TSymbolUniqueId(3565); - static constexpr const TSymbolUniqueId dFdyExt_Float1 = TSymbolUniqueId(3566); - static constexpr const TSymbolUniqueId dFdyExt_Float2 = TSymbolUniqueId(3567); - static constexpr const TSymbolUniqueId dFdyExt_Float3 = TSymbolUniqueId(3568); - static constexpr const TSymbolUniqueId dFdyExt_Float4 = TSymbolUniqueId(3569); - static constexpr const TSymbolUniqueId fwidthExt_Float1 = TSymbolUniqueId(3570); - static constexpr const TSymbolUniqueId fwidthExt_Float2 = TSymbolUniqueId(3571); - static constexpr const TSymbolUniqueId fwidthExt_Float3 = TSymbolUniqueId(3572); - static constexpr const TSymbolUniqueId fwidthExt_Float4 = TSymbolUniqueId(3573); + TSymbolUniqueId(3449); + static constexpr const TSymbolUniqueId dFdxExt_Float1 = TSymbolUniqueId(3450); + static constexpr const TSymbolUniqueId dFdxExt_Float2 = TSymbolUniqueId(3451); + static constexpr const TSymbolUniqueId dFdxExt_Float3 = TSymbolUniqueId(3452); + static constexpr const TSymbolUniqueId dFdxExt_Float4 = TSymbolUniqueId(3453); + static constexpr const TSymbolUniqueId dFdyExt_Float1 = TSymbolUniqueId(3454); + static constexpr const TSymbolUniqueId dFdyExt_Float2 = TSymbolUniqueId(3455); + static constexpr const TSymbolUniqueId dFdyExt_Float3 = TSymbolUniqueId(3456); + static constexpr const TSymbolUniqueId dFdyExt_Float4 = TSymbolUniqueId(3457); + static constexpr const TSymbolUniqueId fwidthExt_Float1 = TSymbolUniqueId(3458); + static constexpr const TSymbolUniqueId fwidthExt_Float2 = TSymbolUniqueId(3459); + static constexpr const TSymbolUniqueId fwidthExt_Float3 = TSymbolUniqueId(3460); + static constexpr const TSymbolUniqueId fwidthExt_Float4 = TSymbolUniqueId(3461); static constexpr const TSymbolUniqueId texture2DLodEXT_Sampler2D1_Float2_Float1 = - TSymbolUniqueId(3574); + TSymbolUniqueId(3462); static constexpr const TSymbolUniqueId texture2DProjLodEXT_Sampler2D1_Float3_Float1 = - TSymbolUniqueId(3575); + TSymbolUniqueId(3463); static constexpr const TSymbolUniqueId texture2DProjLodEXT_Sampler2D1_Float4_Float1 = - TSymbolUniqueId(3576); + TSymbolUniqueId(3464); static constexpr const TSymbolUniqueId textureCubeLodEXT_SamplerCube1_Float3_Float1 = - TSymbolUniqueId(3577); + TSymbolUniqueId(3465); static constexpr const TSymbolUniqueId shadow2DEXT_Sampler2DShadow1_Float3 = - TSymbolUniqueId(3578); - static constexpr const TSymbolUniqueId pt00d = TSymbolUniqueId(3579); + TSymbolUniqueId(3466); + static constexpr const TSymbolUniqueId pt00d = TSymbolUniqueId(3467); static constexpr const TSymbolUniqueId shadow2DProjEXT_Sampler2DShadow1_Float4 = - TSymbolUniqueId(3580); - static constexpr const TSymbolUniqueId texture3D_Sampler3D1_Float3 = TSymbolUniqueId(3581); - static constexpr const TSymbolUniqueId pt00J = TSymbolUniqueId(3582); - static constexpr const TSymbolUniqueId texture3DProj_Sampler3D1_Float4 = TSymbolUniqueId(3583); + TSymbolUniqueId(3468); + static constexpr const TSymbolUniqueId texture3D_Sampler3D1_Float3 = TSymbolUniqueId(3469); + static constexpr const TSymbolUniqueId pt00J = TSymbolUniqueId(3470); + static constexpr const TSymbolUniqueId texture3DProj_Sampler3D1_Float4 = TSymbolUniqueId(3471); static constexpr const TSymbolUniqueId texture3D_Sampler3D1_Float3_Float1 = - TSymbolUniqueId(3584); + TSymbolUniqueId(3472); static constexpr const TSymbolUniqueId texture3DProj_Sampler3D1_Float4_Float1 = - TSymbolUniqueId(3585); + TSymbolUniqueId(3473); static constexpr const TSymbolUniqueId texture3DLod_Sampler3D1_Float3_Float1 = - TSymbolUniqueId(3586); + TSymbolUniqueId(3474); static constexpr const TSymbolUniqueId texture3DProjLod_Sampler3D1_Float4_Float1 = - TSymbolUniqueId(3587); + TSymbolUniqueId(3475); static constexpr const TSymbolUniqueId texture2DLod_Sampler2D1_Float2_Float1 = - TSymbolUniqueId(3588); + TSymbolUniqueId(3476); static constexpr const TSymbolUniqueId texture2DProjLod_Sampler2D1_Float3_Float1 = - TSymbolUniqueId(3589); + TSymbolUniqueId(3477); static constexpr const TSymbolUniqueId texture2DProjLod_Sampler2D1_Float4_Float1 = - TSymbolUniqueId(3590); + TSymbolUniqueId(3478); static constexpr const TSymbolUniqueId textureCubeLod_SamplerCube1_Float3_Float1 = - TSymbolUniqueId(3591); - static constexpr const TSymbolUniqueId texture_Sampler2D1_Float2 = TSymbolUniqueId(3592); - static constexpr const TSymbolUniqueId texture_ISampler2D1_Float2 = TSymbolUniqueId(3593); - static constexpr const TSymbolUniqueId pt00R = TSymbolUniqueId(3594); - static constexpr const TSymbolUniqueId texture_USampler2D1_Float2 = TSymbolUniqueId(3595); - static constexpr const TSymbolUniqueId pt00X = TSymbolUniqueId(3596); - static constexpr const TSymbolUniqueId texture_Sampler3D1_Float3 = TSymbolUniqueId(3597); - static constexpr const TSymbolUniqueId texture_ISampler3D1_Float3 = TSymbolUniqueId(3598); - static constexpr const TSymbolUniqueId pt00S = TSymbolUniqueId(3599); - static constexpr const TSymbolUniqueId texture_USampler3D1_Float3 = TSymbolUniqueId(3600); - static constexpr const TSymbolUniqueId pt00Y = TSymbolUniqueId(3601); - static constexpr const TSymbolUniqueId texture_SamplerCube1_Float3 = TSymbolUniqueId(3602); - static constexpr const TSymbolUniqueId texture_ISamplerCube1_Float3 = TSymbolUniqueId(3603); - static constexpr const TSymbolUniqueId pt00T = TSymbolUniqueId(3604); - static constexpr const TSymbolUniqueId texture_USamplerCube1_Float3 = TSymbolUniqueId(3605); - static constexpr const TSymbolUniqueId pt00Z = TSymbolUniqueId(3606); - static constexpr const TSymbolUniqueId texture_Sampler2DArray1_Float3 = TSymbolUniqueId(3607); - static constexpr const TSymbolUniqueId pt00L = TSymbolUniqueId(3608); - static constexpr const TSymbolUniqueId texture_ISampler2DArray1_Float3 = TSymbolUniqueId(3609); - static constexpr const TSymbolUniqueId pt00U = TSymbolUniqueId(3610); - static constexpr const TSymbolUniqueId texture_USampler2DArray1_Float3 = TSymbolUniqueId(3611); - static constexpr const TSymbolUniqueId pt00a = TSymbolUniqueId(3612); - static constexpr const TSymbolUniqueId texture_Sampler2DShadow1_Float3 = TSymbolUniqueId(3613); + TSymbolUniqueId(3479); + static constexpr const TSymbolUniqueId texture_Sampler2D1_Float2 = TSymbolUniqueId(3480); + static constexpr const TSymbolUniqueId texture_ISampler2D1_Float2 = TSymbolUniqueId(3481); + static constexpr const TSymbolUniqueId pt00R = TSymbolUniqueId(3482); + static constexpr const TSymbolUniqueId texture_USampler2D1_Float2 = TSymbolUniqueId(3483); + static constexpr const TSymbolUniqueId pt00X = TSymbolUniqueId(3484); + static constexpr const TSymbolUniqueId texture_Sampler3D1_Float3 = TSymbolUniqueId(3485); + static constexpr const TSymbolUniqueId texture_ISampler3D1_Float3 = TSymbolUniqueId(3486); + static constexpr const TSymbolUniqueId pt00S = TSymbolUniqueId(3487); + static constexpr const TSymbolUniqueId texture_USampler3D1_Float3 = TSymbolUniqueId(3488); + static constexpr const TSymbolUniqueId pt00Y = TSymbolUniqueId(3489); + static constexpr const TSymbolUniqueId texture_SamplerCube1_Float3 = TSymbolUniqueId(3490); + static constexpr const TSymbolUniqueId texture_ISamplerCube1_Float3 = TSymbolUniqueId(3491); + static constexpr const TSymbolUniqueId pt00T = TSymbolUniqueId(3492); + static constexpr const TSymbolUniqueId texture_USamplerCube1_Float3 = TSymbolUniqueId(3493); + static constexpr const TSymbolUniqueId pt00Z = TSymbolUniqueId(3494); + static constexpr const TSymbolUniqueId texture_Sampler2DArray1_Float3 = TSymbolUniqueId(3495); + static constexpr const TSymbolUniqueId pt00L = TSymbolUniqueId(3496); + static constexpr const TSymbolUniqueId texture_ISampler2DArray1_Float3 = TSymbolUniqueId(3497); + static constexpr const TSymbolUniqueId pt00U = TSymbolUniqueId(3498); + static constexpr const TSymbolUniqueId texture_USampler2DArray1_Float3 = TSymbolUniqueId(3499); + static constexpr const TSymbolUniqueId pt00a = TSymbolUniqueId(3500); + static constexpr const TSymbolUniqueId texture_Sampler2DShadow1_Float3 = TSymbolUniqueId(3501); static constexpr const TSymbolUniqueId texture_SamplerCubeShadow1_Float4 = - TSymbolUniqueId(3614); - static constexpr const TSymbolUniqueId pt00e = TSymbolUniqueId(3615); + TSymbolUniqueId(3502); + static constexpr const TSymbolUniqueId pt00e = TSymbolUniqueId(3503); static constexpr const TSymbolUniqueId texture_Sampler2DArrayShadow1_Float4 = - TSymbolUniqueId(3616); - static constexpr const TSymbolUniqueId pt00f = TSymbolUniqueId(3617); - static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float3 = TSymbolUniqueId(3618); - static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float3 = TSymbolUniqueId(3619); - static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float3 = TSymbolUniqueId(3620); - static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float4 = TSymbolUniqueId(3621); - static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float4 = TSymbolUniqueId(3622); - static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float4 = TSymbolUniqueId(3623); - static constexpr const TSymbolUniqueId textureProj_Sampler3D1_Float4 = TSymbolUniqueId(3624); - static constexpr const TSymbolUniqueId textureProj_ISampler3D1_Float4 = TSymbolUniqueId(3625); - static constexpr const TSymbolUniqueId textureProj_USampler3D1_Float4 = TSymbolUniqueId(3626); + TSymbolUniqueId(3504); + static constexpr const TSymbolUniqueId pt00f = TSymbolUniqueId(3505); + static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float3 = TSymbolUniqueId(3506); + static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float3 = TSymbolUniqueId(3507); + static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float3 = TSymbolUniqueId(3508); + static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float4 = TSymbolUniqueId(3509); + static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float4 = TSymbolUniqueId(3510); + static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float4 = TSymbolUniqueId(3511); + static constexpr const TSymbolUniqueId textureProj_Sampler3D1_Float4 = TSymbolUniqueId(3512); + static constexpr const TSymbolUniqueId textureProj_ISampler3D1_Float4 = TSymbolUniqueId(3513); + static constexpr const TSymbolUniqueId textureProj_USampler3D1_Float4 = TSymbolUniqueId(3514); static constexpr const TSymbolUniqueId textureProj_Sampler2DShadow1_Float4 = - TSymbolUniqueId(3627); + TSymbolUniqueId(3515); static constexpr const TSymbolUniqueId textureLod_Sampler2D1_Float2_Float1 = - TSymbolUniqueId(3628); + TSymbolUniqueId(3516); static constexpr const TSymbolUniqueId textureLod_ISampler2D1_Float2_Float1 = - TSymbolUniqueId(3629); + TSymbolUniqueId(3517); static constexpr const TSymbolUniqueId textureLod_USampler2D1_Float2_Float1 = - TSymbolUniqueId(3630); + TSymbolUniqueId(3518); static constexpr const TSymbolUniqueId textureLod_Sampler3D1_Float3_Float1 = - TSymbolUniqueId(3631); + TSymbolUniqueId(3519); static constexpr const TSymbolUniqueId textureLod_ISampler3D1_Float3_Float1 = - TSymbolUniqueId(3632); + TSymbolUniqueId(3520); static constexpr const TSymbolUniqueId textureLod_USampler3D1_Float3_Float1 = - TSymbolUniqueId(3633); + TSymbolUniqueId(3521); static constexpr const TSymbolUniqueId textureLod_SamplerCube1_Float3_Float1 = - TSymbolUniqueId(3634); + TSymbolUniqueId(3522); static constexpr const TSymbolUniqueId textureLod_ISamplerCube1_Float3_Float1 = - TSymbolUniqueId(3635); + TSymbolUniqueId(3523); static constexpr const TSymbolUniqueId textureLod_USamplerCube1_Float3_Float1 = - TSymbolUniqueId(3636); + TSymbolUniqueId(3524); static constexpr const TSymbolUniqueId textureLod_Sampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3637); + TSymbolUniqueId(3525); static constexpr const TSymbolUniqueId textureLod_ISampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3638); + TSymbolUniqueId(3526); static constexpr const TSymbolUniqueId textureLod_USampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3639); + TSymbolUniqueId(3527); static constexpr const TSymbolUniqueId textureLod_Sampler2DShadow1_Float3_Float1 = - TSymbolUniqueId(3640); - static constexpr const TSymbolUniqueId textureSize_Sampler2D1_Int1 = TSymbolUniqueId(3641); - static constexpr const TSymbolUniqueId textureSize_ISampler2D1_Int1 = TSymbolUniqueId(3642); - static constexpr const TSymbolUniqueId textureSize_USampler2D1_Int1 = TSymbolUniqueId(3643); - static constexpr const TSymbolUniqueId textureSize_Sampler3D1_Int1 = TSymbolUniqueId(3644); - static constexpr const TSymbolUniqueId textureSize_ISampler3D1_Int1 = TSymbolUniqueId(3645); - static constexpr const TSymbolUniqueId textureSize_USampler3D1_Int1 = TSymbolUniqueId(3646); - static constexpr const TSymbolUniqueId textureSize_SamplerCube1_Int1 = TSymbolUniqueId(3647); - static constexpr const TSymbolUniqueId textureSize_ISamplerCube1_Int1 = TSymbolUniqueId(3648); - static constexpr const TSymbolUniqueId textureSize_USamplerCube1_Int1 = TSymbolUniqueId(3649); - static constexpr const TSymbolUniqueId textureSize_Sampler2DArray1_Int1 = TSymbolUniqueId(3650); + TSymbolUniqueId(3528); + static constexpr const TSymbolUniqueId textureSize_Sampler2D1_Int1 = TSymbolUniqueId(3529); + static constexpr const TSymbolUniqueId textureSize_ISampler2D1_Int1 = TSymbolUniqueId(3530); + static constexpr const TSymbolUniqueId textureSize_USampler2D1_Int1 = TSymbolUniqueId(3531); + static constexpr const TSymbolUniqueId textureSize_Sampler3D1_Int1 = TSymbolUniqueId(3532); + static constexpr const TSymbolUniqueId textureSize_ISampler3D1_Int1 = TSymbolUniqueId(3533); + static constexpr const TSymbolUniqueId textureSize_USampler3D1_Int1 = TSymbolUniqueId(3534); + static constexpr const TSymbolUniqueId textureSize_SamplerCube1_Int1 = TSymbolUniqueId(3535); + static constexpr const TSymbolUniqueId textureSize_ISamplerCube1_Int1 = TSymbolUniqueId(3536); + static constexpr const TSymbolUniqueId textureSize_USamplerCube1_Int1 = TSymbolUniqueId(3537); + static constexpr const TSymbolUniqueId textureSize_Sampler2DArray1_Int1 = TSymbolUniqueId(3538); static constexpr const TSymbolUniqueId textureSize_ISampler2DArray1_Int1 = - TSymbolUniqueId(3651); + TSymbolUniqueId(3539); static constexpr const TSymbolUniqueId textureSize_USampler2DArray1_Int1 = - TSymbolUniqueId(3652); + TSymbolUniqueId(3540); static constexpr const TSymbolUniqueId textureSize_Sampler2DShadow1_Int1 = - TSymbolUniqueId(3653); + TSymbolUniqueId(3541); static constexpr const TSymbolUniqueId textureSize_SamplerCubeShadow1_Int1 = - TSymbolUniqueId(3654); + TSymbolUniqueId(3542); static constexpr const TSymbolUniqueId textureSize_Sampler2DArrayShadow1_Int1 = - TSymbolUniqueId(3655); + TSymbolUniqueId(3543); static constexpr const TSymbolUniqueId textureProjLod_Sampler2D1_Float3_Float1 = - TSymbolUniqueId(3656); + TSymbolUniqueId(3544); static constexpr const TSymbolUniqueId textureProjLod_ISampler2D1_Float3_Float1 = - TSymbolUniqueId(3657); + TSymbolUniqueId(3545); static constexpr const TSymbolUniqueId textureProjLod_USampler2D1_Float3_Float1 = - TSymbolUniqueId(3658); + TSymbolUniqueId(3546); static constexpr const TSymbolUniqueId textureProjLod_Sampler2D1_Float4_Float1 = - TSymbolUniqueId(3659); + TSymbolUniqueId(3547); static constexpr const TSymbolUniqueId textureProjLod_ISampler2D1_Float4_Float1 = - TSymbolUniqueId(3660); + TSymbolUniqueId(3548); static constexpr const TSymbolUniqueId textureProjLod_USampler2D1_Float4_Float1 = - TSymbolUniqueId(3661); + TSymbolUniqueId(3549); static constexpr const TSymbolUniqueId textureProjLod_Sampler3D1_Float4_Float1 = - TSymbolUniqueId(3662); + TSymbolUniqueId(3550); static constexpr const TSymbolUniqueId textureProjLod_ISampler3D1_Float4_Float1 = - TSymbolUniqueId(3663); + TSymbolUniqueId(3551); static constexpr const TSymbolUniqueId textureProjLod_USampler3D1_Float4_Float1 = - TSymbolUniqueId(3664); + TSymbolUniqueId(3552); static constexpr const TSymbolUniqueId textureProjLod_Sampler2DShadow1_Float4_Float1 = - TSymbolUniqueId(3665); - static constexpr const TSymbolUniqueId texelFetch_Sampler2D1_Int2_Int1 = TSymbolUniqueId(3666); - static constexpr const TSymbolUniqueId texelFetch_ISampler2D1_Int2_Int1 = TSymbolUniqueId(3667); - static constexpr const TSymbolUniqueId texelFetch_USampler2D1_Int2_Int1 = TSymbolUniqueId(3668); - static constexpr const TSymbolUniqueId texelFetch_Sampler3D1_Int3_Int1 = TSymbolUniqueId(3669); - static constexpr const TSymbolUniqueId texelFetch_ISampler3D1_Int3_Int1 = TSymbolUniqueId(3670); - static constexpr const TSymbolUniqueId texelFetch_USampler3D1_Int3_Int1 = TSymbolUniqueId(3671); + TSymbolUniqueId(3553); + static constexpr const TSymbolUniqueId texelFetch_Sampler2D1_Int2_Int1 = TSymbolUniqueId(3554); + static constexpr const TSymbolUniqueId texelFetch_ISampler2D1_Int2_Int1 = TSymbolUniqueId(3555); + static constexpr const TSymbolUniqueId texelFetch_USampler2D1_Int2_Int1 = TSymbolUniqueId(3556); + static constexpr const TSymbolUniqueId texelFetch_Sampler3D1_Int3_Int1 = TSymbolUniqueId(3557); + static constexpr const TSymbolUniqueId texelFetch_ISampler3D1_Int3_Int1 = TSymbolUniqueId(3558); + static constexpr const TSymbolUniqueId texelFetch_USampler3D1_Int3_Int1 = TSymbolUniqueId(3559); static constexpr const TSymbolUniqueId texelFetch_Sampler2DArray1_Int3_Int1 = - TSymbolUniqueId(3672); + TSymbolUniqueId(3560); static constexpr const TSymbolUniqueId texelFetch_ISampler2DArray1_Int3_Int1 = - TSymbolUniqueId(3673); + TSymbolUniqueId(3561); static constexpr const TSymbolUniqueId texelFetch_USampler2DArray1_Int3_Int1 = - TSymbolUniqueId(3674); + TSymbolUniqueId(3562); static constexpr const TSymbolUniqueId textureGrad_Sampler2D1_Float2_Float2_Float2 = - TSymbolUniqueId(3675); + TSymbolUniqueId(3563); static constexpr const TSymbolUniqueId textureGrad_ISampler2D1_Float2_Float2_Float2 = - TSymbolUniqueId(3676); + TSymbolUniqueId(3564); static constexpr const TSymbolUniqueId textureGrad_USampler2D1_Float2_Float2_Float2 = - TSymbolUniqueId(3677); + TSymbolUniqueId(3565); static constexpr const TSymbolUniqueId textureGrad_Sampler3D1_Float3_Float3_Float3 = - TSymbolUniqueId(3678); + TSymbolUniqueId(3566); static constexpr const TSymbolUniqueId textureGrad_ISampler3D1_Float3_Float3_Float3 = - TSymbolUniqueId(3679); + TSymbolUniqueId(3567); static constexpr const TSymbolUniqueId textureGrad_USampler3D1_Float3_Float3_Float3 = - TSymbolUniqueId(3680); + TSymbolUniqueId(3568); static constexpr const TSymbolUniqueId textureGrad_SamplerCube1_Float3_Float3_Float3 = - TSymbolUniqueId(3681); + TSymbolUniqueId(3569); static constexpr const TSymbolUniqueId textureGrad_ISamplerCube1_Float3_Float3_Float3 = - TSymbolUniqueId(3682); + TSymbolUniqueId(3570); static constexpr const TSymbolUniqueId textureGrad_USamplerCube1_Float3_Float3_Float3 = - TSymbolUniqueId(3683); + TSymbolUniqueId(3571); static constexpr const TSymbolUniqueId textureGrad_Sampler2DShadow1_Float3_Float2_Float2 = - TSymbolUniqueId(3684); + TSymbolUniqueId(3572); static constexpr const TSymbolUniqueId textureGrad_SamplerCubeShadow1_Float4_Float3_Float3 = - TSymbolUniqueId(3685); + TSymbolUniqueId(3573); static constexpr const TSymbolUniqueId textureGrad_Sampler2DArray1_Float3_Float2_Float2 = - TSymbolUniqueId(3686); + TSymbolUniqueId(3574); static constexpr const TSymbolUniqueId textureGrad_ISampler2DArray1_Float3_Float2_Float2 = - TSymbolUniqueId(3687); + TSymbolUniqueId(3575); static constexpr const TSymbolUniqueId textureGrad_USampler2DArray1_Float3_Float2_Float2 = - TSymbolUniqueId(3688); + TSymbolUniqueId(3576); static constexpr const TSymbolUniqueId textureGrad_Sampler2DArrayShadow1_Float4_Float2_Float2 = - TSymbolUniqueId(3689); + TSymbolUniqueId(3577); static constexpr const TSymbolUniqueId textureProjGrad_Sampler2D1_Float3_Float2_Float2 = - TSymbolUniqueId(3690); + TSymbolUniqueId(3578); static constexpr const TSymbolUniqueId textureProjGrad_ISampler2D1_Float3_Float2_Float2 = - TSymbolUniqueId(3691); + TSymbolUniqueId(3579); static constexpr const TSymbolUniqueId textureProjGrad_USampler2D1_Float3_Float2_Float2 = - TSymbolUniqueId(3692); + TSymbolUniqueId(3580); static constexpr const TSymbolUniqueId textureProjGrad_Sampler2D1_Float4_Float2_Float2 = - TSymbolUniqueId(3693); + TSymbolUniqueId(3581); static constexpr const TSymbolUniqueId textureProjGrad_ISampler2D1_Float4_Float2_Float2 = - TSymbolUniqueId(3694); + TSymbolUniqueId(3582); static constexpr const TSymbolUniqueId textureProjGrad_USampler2D1_Float4_Float2_Float2 = - TSymbolUniqueId(3695); + TSymbolUniqueId(3583); static constexpr const TSymbolUniqueId textureProjGrad_Sampler3D1_Float4_Float3_Float3 = - TSymbolUniqueId(3696); + TSymbolUniqueId(3584); static constexpr const TSymbolUniqueId textureProjGrad_ISampler3D1_Float4_Float3_Float3 = - TSymbolUniqueId(3697); + TSymbolUniqueId(3585); static constexpr const TSymbolUniqueId textureProjGrad_USampler3D1_Float4_Float3_Float3 = - TSymbolUniqueId(3698); + TSymbolUniqueId(3586); static constexpr const TSymbolUniqueId textureProjGrad_Sampler2DShadow1_Float4_Float2_Float2 = - TSymbolUniqueId(3699); - static constexpr const TSymbolUniqueId textureSize_Sampler2DMS1 = TSymbolUniqueId(3700); - static constexpr const TSymbolUniqueId pt00P = TSymbolUniqueId(3701); - static constexpr const TSymbolUniqueId textureSize_ISampler2DMS1 = TSymbolUniqueId(3702); - static constexpr const TSymbolUniqueId pt00V = TSymbolUniqueId(3703); - static constexpr const TSymbolUniqueId textureSize_USampler2DMS1 = TSymbolUniqueId(3704); - static constexpr const TSymbolUniqueId pt00b = TSymbolUniqueId(3705); - static constexpr const TSymbolUniqueId textureSizeExt_Sampler2DMS1 = TSymbolUniqueId(3706); - static constexpr const TSymbolUniqueId textureSizeExt_ISampler2DMS1 = TSymbolUniqueId(3707); - static constexpr const TSymbolUniqueId textureSizeExt_USampler2DMS1 = TSymbolUniqueId(3708); - static constexpr const TSymbolUniqueId textureSizeExt_Sampler2DMSArray1 = TSymbolUniqueId(3709); - static constexpr const TSymbolUniqueId pt00Q = TSymbolUniqueId(3710); + TSymbolUniqueId(3587); + static constexpr const TSymbolUniqueId textureSize_Sampler2DMS1 = TSymbolUniqueId(3588); + static constexpr const TSymbolUniqueId pt00P = TSymbolUniqueId(3589); + static constexpr const TSymbolUniqueId textureSize_ISampler2DMS1 = TSymbolUniqueId(3590); + static constexpr const TSymbolUniqueId pt00V = TSymbolUniqueId(3591); + static constexpr const TSymbolUniqueId textureSize_USampler2DMS1 = TSymbolUniqueId(3592); + static constexpr const TSymbolUniqueId pt00b = TSymbolUniqueId(3593); + static constexpr const TSymbolUniqueId textureSizeExt_Sampler2DMS1 = TSymbolUniqueId(3594); + static constexpr const TSymbolUniqueId textureSizeExt_ISampler2DMS1 = TSymbolUniqueId(3595); + static constexpr const TSymbolUniqueId textureSizeExt_USampler2DMS1 = TSymbolUniqueId(3596); + static constexpr const TSymbolUniqueId textureSizeExt_Sampler2DMSArray1 = TSymbolUniqueId(3597); + static constexpr const TSymbolUniqueId pt00Q = TSymbolUniqueId(3598); static constexpr const TSymbolUniqueId textureSizeExt_ISampler2DMSArray1 = - TSymbolUniqueId(3711); - static constexpr const TSymbolUniqueId pt00W = TSymbolUniqueId(3712); + TSymbolUniqueId(3599); + static constexpr const TSymbolUniqueId pt00W = TSymbolUniqueId(3600); static constexpr const TSymbolUniqueId textureSizeExt_USampler2DMSArray1 = - TSymbolUniqueId(3713); - static constexpr const TSymbolUniqueId pt00c = TSymbolUniqueId(3714); + TSymbolUniqueId(3601); + static constexpr const TSymbolUniqueId pt00c = TSymbolUniqueId(3602); static constexpr const TSymbolUniqueId textureSize_SamplerCubeArray1_Int1 = - TSymbolUniqueId(3715); - static constexpr const TSymbolUniqueId pt00k = TSymbolUniqueId(3716); + TSymbolUniqueId(3603); + static constexpr const TSymbolUniqueId pt00k = TSymbolUniqueId(3604); static constexpr const TSymbolUniqueId textureSize_ISamplerCubeArray1_Int1 = - TSymbolUniqueId(3717); - static constexpr const TSymbolUniqueId pt00s = TSymbolUniqueId(3718); + TSymbolUniqueId(3605); + static constexpr const TSymbolUniqueId pt00s = TSymbolUniqueId(3606); static constexpr const TSymbolUniqueId textureSize_USamplerCubeArray1_Int1 = - TSymbolUniqueId(3719); - static constexpr const TSymbolUniqueId pt00x = TSymbolUniqueId(3720); + TSymbolUniqueId(3607); + static constexpr const TSymbolUniqueId pt00x = TSymbolUniqueId(3608); static constexpr const TSymbolUniqueId textureSize_SamplerCubeArrayShadow1_Int1 = - TSymbolUniqueId(3721); - static constexpr const TSymbolUniqueId pt00l = TSymbolUniqueId(3722); - static constexpr const TSymbolUniqueId texture_SamplerCubeArray1_Float4 = TSymbolUniqueId(3723); + TSymbolUniqueId(3609); + static constexpr const TSymbolUniqueId pt00l = TSymbolUniqueId(3610); + static constexpr const TSymbolUniqueId texture_SamplerCubeArray1_Float4 = TSymbolUniqueId(3611); static constexpr const TSymbolUniqueId texture_ISamplerCubeArray1_Float4 = - TSymbolUniqueId(3724); + TSymbolUniqueId(3612); static constexpr const TSymbolUniqueId texture_USamplerCubeArray1_Float4 = - TSymbolUniqueId(3725); + TSymbolUniqueId(3613); static constexpr const TSymbolUniqueId texture_SamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3726); + TSymbolUniqueId(3614); static constexpr const TSymbolUniqueId texture_ISamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3727); + TSymbolUniqueId(3615); static constexpr const TSymbolUniqueId texture_USamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3728); + TSymbolUniqueId(3616); static constexpr const TSymbolUniqueId texture_SamplerCubeArrayShadow1_Float4_Float1 = - TSymbolUniqueId(3729); + TSymbolUniqueId(3617); static constexpr const TSymbolUniqueId textureLod_SamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3730); + TSymbolUniqueId(3618); static constexpr const TSymbolUniqueId textureLod_ISamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3731); + TSymbolUniqueId(3619); static constexpr const TSymbolUniqueId textureLod_USamplerCubeArray1_Float4_Float1 = - TSymbolUniqueId(3732); + TSymbolUniqueId(3620); static constexpr const TSymbolUniqueId textureGrad_SamplerCubeArray1_Float4_Float3_Float3 = - TSymbolUniqueId(3733); + TSymbolUniqueId(3621); static constexpr const TSymbolUniqueId textureGrad_ISamplerCubeArray1_Float4_Float3_Float3 = - TSymbolUniqueId(3734); + TSymbolUniqueId(3622); static constexpr const TSymbolUniqueId textureGrad_USamplerCubeArray1_Float4_Float3_Float3 = - TSymbolUniqueId(3735); + TSymbolUniqueId(3623); static constexpr const TSymbolUniqueId textureGather_SamplerCubeArray1_Float4 = - TSymbolUniqueId(3736); + TSymbolUniqueId(3624); static constexpr const TSymbolUniqueId textureGather_ISamplerCubeArray1_Float4 = - TSymbolUniqueId(3737); + TSymbolUniqueId(3625); static constexpr const TSymbolUniqueId textureGather_USamplerCubeArray1_Float4 = - TSymbolUniqueId(3738); + TSymbolUniqueId(3626); static constexpr const TSymbolUniqueId textureGather_SamplerCubeArray1_Float4_Int1 = - TSymbolUniqueId(3739); + TSymbolUniqueId(3627); static constexpr const TSymbolUniqueId textureGather_ISamplerCubeArray1_Float4_Int1 = - TSymbolUniqueId(3740); + TSymbolUniqueId(3628); static constexpr const TSymbolUniqueId textureGather_USamplerCubeArray1_Float4_Int1 = - TSymbolUniqueId(3741); + TSymbolUniqueId(3629); static constexpr const TSymbolUniqueId textureGather_SamplerCubeArrayShadow1_Float4_Float1 = - TSymbolUniqueId(3742); - static constexpr const TSymbolUniqueId textureSize_SamplerBuffer1 = TSymbolUniqueId(3743); - static constexpr const TSymbolUniqueId pt00j = TSymbolUniqueId(3744); - static constexpr const TSymbolUniqueId textureSize_ISamplerBuffer1 = TSymbolUniqueId(3745); - static constexpr const TSymbolUniqueId pt00r = TSymbolUniqueId(3746); - static constexpr const TSymbolUniqueId textureSize_USamplerBuffer1 = TSymbolUniqueId(3747); - static constexpr const TSymbolUniqueId pt00w = TSymbolUniqueId(3748); - static constexpr const TSymbolUniqueId texelFetch_SamplerBuffer1_Int1 = TSymbolUniqueId(3749); - static constexpr const TSymbolUniqueId texelFetch_ISamplerBuffer1_Int1 = TSymbolUniqueId(3750); - static constexpr const TSymbolUniqueId texelFetch_USamplerBuffer1_Int1 = TSymbolUniqueId(3751); + TSymbolUniqueId(3630); + static constexpr const TSymbolUniqueId textureSize_SamplerBuffer1 = TSymbolUniqueId(3631); + static constexpr const TSymbolUniqueId pt00j = TSymbolUniqueId(3632); + static constexpr const TSymbolUniqueId textureSize_ISamplerBuffer1 = TSymbolUniqueId(3633); + static constexpr const TSymbolUniqueId pt00r = TSymbolUniqueId(3634); + static constexpr const TSymbolUniqueId textureSize_USamplerBuffer1 = TSymbolUniqueId(3635); + static constexpr const TSymbolUniqueId pt00w = TSymbolUniqueId(3636); + static constexpr const TSymbolUniqueId texelFetch_SamplerBuffer1_Int1 = TSymbolUniqueId(3637); + static constexpr const TSymbolUniqueId texelFetch_ISamplerBuffer1_Int1 = TSymbolUniqueId(3638); + static constexpr const TSymbolUniqueId texelFetch_USamplerBuffer1_Int1 = TSymbolUniqueId(3639); static constexpr const TSymbolUniqueId texelFetch_Sampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3752); + TSymbolUniqueId(3640); static constexpr const TSymbolUniqueId texelFetch_ISampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3753); + TSymbolUniqueId(3641); static constexpr const TSymbolUniqueId texelFetch_USampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3754); + TSymbolUniqueId(3642); static constexpr const TSymbolUniqueId texelFetchExt_Sampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3755); + TSymbolUniqueId(3643); static constexpr const TSymbolUniqueId texelFetchExt_ISampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3756); + TSymbolUniqueId(3644); static constexpr const TSymbolUniqueId texelFetchExt_USampler2DMS1_Int2_Int1 = - TSymbolUniqueId(3757); + TSymbolUniqueId(3645); static constexpr const TSymbolUniqueId texelFetchExt_Sampler2DMSArray1_Int3_Int1 = - TSymbolUniqueId(3758); + TSymbolUniqueId(3646); static constexpr const TSymbolUniqueId texelFetchExt_ISampler2DMSArray1_Int3_Int1 = - TSymbolUniqueId(3759); + TSymbolUniqueId(3647); static constexpr const TSymbolUniqueId texelFetchExt_USampler2DMSArray1_Int3_Int1 = - TSymbolUniqueId(3760); - static constexpr const TSymbolUniqueId texture_Sampler2D1_Float2_Float1 = TSymbolUniqueId(3761); + TSymbolUniqueId(3648); + static constexpr const TSymbolUniqueId texture_Sampler2D1_Float2_Float1 = TSymbolUniqueId(3649); static constexpr const TSymbolUniqueId texture_ISampler2D1_Float2_Float1 = - TSymbolUniqueId(3762); + TSymbolUniqueId(3650); static constexpr const TSymbolUniqueId texture_USampler2D1_Float2_Float1 = - TSymbolUniqueId(3763); - static constexpr const TSymbolUniqueId texture_Sampler3D1_Float3_Float1 = TSymbolUniqueId(3764); + TSymbolUniqueId(3651); + static constexpr const TSymbolUniqueId texture_Sampler3D1_Float3_Float1 = TSymbolUniqueId(3652); static constexpr const TSymbolUniqueId texture_ISampler3D1_Float3_Float1 = - TSymbolUniqueId(3765); + TSymbolUniqueId(3653); static constexpr const TSymbolUniqueId texture_USampler3D1_Float3_Float1 = - TSymbolUniqueId(3766); + TSymbolUniqueId(3654); static constexpr const TSymbolUniqueId texture_SamplerCube1_Float3_Float1 = - TSymbolUniqueId(3767); + TSymbolUniqueId(3655); static constexpr const TSymbolUniqueId texture_ISamplerCube1_Float3_Float1 = - TSymbolUniqueId(3768); + TSymbolUniqueId(3656); static constexpr const TSymbolUniqueId texture_USamplerCube1_Float3_Float1 = - TSymbolUniqueId(3769); + TSymbolUniqueId(3657); static constexpr const TSymbolUniqueId texture_Sampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3770); + TSymbolUniqueId(3658); static constexpr const TSymbolUniqueId texture_ISampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3771); + TSymbolUniqueId(3659); static constexpr const TSymbolUniqueId texture_USampler2DArray1_Float3_Float1 = - TSymbolUniqueId(3772); + TSymbolUniqueId(3660); static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float3_Float1 = - TSymbolUniqueId(3773); + TSymbolUniqueId(3661); static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float3_Float1 = - TSymbolUniqueId(3774); + TSymbolUniqueId(3662); static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float3_Float1 = - TSymbolUniqueId(3775); + TSymbolUniqueId(3663); static constexpr const TSymbolUniqueId textureProj_Sampler2D1_Float4_Float1 = - TSymbolUniqueId(3776); + TSymbolUniqueId(3664); static constexpr const TSymbolUniqueId textureProj_ISampler2D1_Float4_Float1 = - TSymbolUniqueId(3777); + TSymbolUniqueId(3665); static constexpr const TSymbolUniqueId textureProj_USampler2D1_Float4_Float1 = - TSymbolUniqueId(3778); + TSymbolUniqueId(3666); static constexpr const TSymbolUniqueId textureProj_Sampler3D1_Float4_Float1 = - TSymbolUniqueId(3779); + TSymbolUniqueId(3667); static constexpr const TSymbolUniqueId textureProj_ISampler3D1_Float4_Float1 = - TSymbolUniqueId(3780); + TSymbolUniqueId(3668); static constexpr const TSymbolUniqueId textureProj_USampler3D1_Float4_Float1 = - TSymbolUniqueId(3781); + TSymbolUniqueId(3669); static constexpr const TSymbolUniqueId texture_Sampler2DShadow1_Float3_Float1 = - TSymbolUniqueId(3782); + TSymbolUniqueId(3670); static constexpr const TSymbolUniqueId texture_SamplerCubeShadow1_Float4_Float1 = - TSymbolUniqueId(3783); + TSymbolUniqueId(3671); static constexpr const TSymbolUniqueId textureProj_Sampler2DShadow1_Float4_Float1 = - TSymbolUniqueId(3784); + TSymbolUniqueId(3672); static constexpr const TSymbolUniqueId texture_SamplerExternalOES1_Float2_Float1 = - TSymbolUniqueId(3785); + TSymbolUniqueId(3673); static constexpr const TSymbolUniqueId textureProj_SamplerExternalOES1_Float3_Float1 = - TSymbolUniqueId(3786); + TSymbolUniqueId(3674); static constexpr const TSymbolUniqueId textureProj_SamplerExternalOES1_Float4_Float1 = - TSymbolUniqueId(3787); + TSymbolUniqueId(3675); static constexpr const TSymbolUniqueId texture_SamplerExternal2DY2YEXT1_Float2_Float1 = - TSymbolUniqueId(3788); - static constexpr const TSymbolUniqueId pt00N = TSymbolUniqueId(3789); + TSymbolUniqueId(3676); + static constexpr const TSymbolUniqueId pt00N = TSymbolUniqueId(3677); static constexpr const TSymbolUniqueId textureProj_SamplerExternal2DY2YEXT1_Float3_Float1 = - TSymbolUniqueId(3790); + TSymbolUniqueId(3678); static constexpr const TSymbolUniqueId textureProj_SamplerExternal2DY2YEXT1_Float4_Float1 = - TSymbolUniqueId(3791); + TSymbolUniqueId(3679); static constexpr const TSymbolUniqueId textureOffset_Sampler2D1_Float2_Int2 = - TSymbolUniqueId(3792); + TSymbolUniqueId(3680); static constexpr const TSymbolUniqueId textureOffset_ISampler2D1_Float2_Int2 = - TSymbolUniqueId(3793); + TSymbolUniqueId(3681); static constexpr const TSymbolUniqueId textureOffset_USampler2D1_Float2_Int2 = - TSymbolUniqueId(3794); + TSymbolUniqueId(3682); static constexpr const TSymbolUniqueId textureOffset_Sampler3D1_Float3_Int3 = - TSymbolUniqueId(3795); + TSymbolUniqueId(3683); static constexpr const TSymbolUniqueId textureOffset_ISampler3D1_Float3_Int3 = - TSymbolUniqueId(3796); + TSymbolUniqueId(3684); static constexpr const TSymbolUniqueId textureOffset_USampler3D1_Float3_Int3 = - TSymbolUniqueId(3797); + TSymbolUniqueId(3685); static constexpr const TSymbolUniqueId textureOffset_Sampler2DShadow1_Float3_Int2 = - TSymbolUniqueId(3798); + TSymbolUniqueId(3686); static constexpr const TSymbolUniqueId textureOffset_Sampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3799); + TSymbolUniqueId(3687); static constexpr const TSymbolUniqueId textureOffset_ISampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3800); + TSymbolUniqueId(3688); static constexpr const TSymbolUniqueId textureOffset_USampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3801); + TSymbolUniqueId(3689); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2D1_Float3_Int2 = - TSymbolUniqueId(3802); + TSymbolUniqueId(3690); static constexpr const TSymbolUniqueId textureProjOffset_ISampler2D1_Float3_Int2 = - TSymbolUniqueId(3803); + TSymbolUniqueId(3691); static constexpr const TSymbolUniqueId textureProjOffset_USampler2D1_Float3_Int2 = - TSymbolUniqueId(3804); + TSymbolUniqueId(3692); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2D1_Float4_Int2 = - TSymbolUniqueId(3805); + TSymbolUniqueId(3693); static constexpr const TSymbolUniqueId textureProjOffset_ISampler2D1_Float4_Int2 = - TSymbolUniqueId(3806); + TSymbolUniqueId(3694); static constexpr const TSymbolUniqueId textureProjOffset_USampler2D1_Float4_Int2 = - TSymbolUniqueId(3807); + TSymbolUniqueId(3695); static constexpr const TSymbolUniqueId textureProjOffset_Sampler3D1_Float4_Int3 = - TSymbolUniqueId(3808); + TSymbolUniqueId(3696); static constexpr const TSymbolUniqueId textureProjOffset_ISampler3D1_Float4_Int3 = - TSymbolUniqueId(3809); + TSymbolUniqueId(3697); static constexpr const TSymbolUniqueId textureProjOffset_USampler3D1_Float4_Int3 = - TSymbolUniqueId(3810); + TSymbolUniqueId(3698); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2DShadow1_Float4_Int2 = - TSymbolUniqueId(3811); + TSymbolUniqueId(3699); static constexpr const TSymbolUniqueId textureLodOffset_Sampler2D1_Float2_Float1_Int2 = - TSymbolUniqueId(3812); + TSymbolUniqueId(3700); static constexpr const TSymbolUniqueId textureLodOffset_ISampler2D1_Float2_Float1_Int2 = - TSymbolUniqueId(3813); + TSymbolUniqueId(3701); static constexpr const TSymbolUniqueId textureLodOffset_USampler2D1_Float2_Float1_Int2 = - TSymbolUniqueId(3814); + TSymbolUniqueId(3702); static constexpr const TSymbolUniqueId textureLodOffset_Sampler3D1_Float3_Float1_Int3 = - TSymbolUniqueId(3815); + TSymbolUniqueId(3703); static constexpr const TSymbolUniqueId textureLodOffset_ISampler3D1_Float3_Float1_Int3 = - TSymbolUniqueId(3816); + TSymbolUniqueId(3704); static constexpr const TSymbolUniqueId textureLodOffset_USampler3D1_Float3_Float1_Int3 = - TSymbolUniqueId(3817); + TSymbolUniqueId(3705); static constexpr const TSymbolUniqueId textureLodOffset_Sampler2DShadow1_Float3_Float1_Int2 = - TSymbolUniqueId(3818); + TSymbolUniqueId(3706); static constexpr const TSymbolUniqueId textureLodOffset_Sampler2DArray1_Float3_Float1_Int2 = - TSymbolUniqueId(3819); + TSymbolUniqueId(3707); static constexpr const TSymbolUniqueId textureLodOffset_ISampler2DArray1_Float3_Float1_Int2 = - TSymbolUniqueId(3820); + TSymbolUniqueId(3708); static constexpr const TSymbolUniqueId textureLodOffset_USampler2DArray1_Float3_Float1_Int2 = - TSymbolUniqueId(3821); + TSymbolUniqueId(3709); static constexpr const TSymbolUniqueId textureProjLodOffset_Sampler2D1_Float3_Float1_Int2 = - TSymbolUniqueId(3822); + TSymbolUniqueId(3710); static constexpr const TSymbolUniqueId textureProjLodOffset_ISampler2D1_Float3_Float1_Int2 = - TSymbolUniqueId(3823); + TSymbolUniqueId(3711); static constexpr const TSymbolUniqueId textureProjLodOffset_USampler2D1_Float3_Float1_Int2 = - TSymbolUniqueId(3824); + TSymbolUniqueId(3712); static constexpr const TSymbolUniqueId textureProjLodOffset_Sampler2D1_Float4_Float1_Int2 = - TSymbolUniqueId(3825); + TSymbolUniqueId(3713); static constexpr const TSymbolUniqueId textureProjLodOffset_ISampler2D1_Float4_Float1_Int2 = - TSymbolUniqueId(3826); + TSymbolUniqueId(3714); static constexpr const TSymbolUniqueId textureProjLodOffset_USampler2D1_Float4_Float1_Int2 = - TSymbolUniqueId(3827); + TSymbolUniqueId(3715); static constexpr const TSymbolUniqueId textureProjLodOffset_Sampler3D1_Float4_Float1_Int3 = - TSymbolUniqueId(3828); + TSymbolUniqueId(3716); static constexpr const TSymbolUniqueId textureProjLodOffset_ISampler3D1_Float4_Float1_Int3 = - TSymbolUniqueId(3829); + TSymbolUniqueId(3717); static constexpr const TSymbolUniqueId textureProjLodOffset_USampler3D1_Float4_Float1_Int3 = - TSymbolUniqueId(3830); + TSymbolUniqueId(3718); static constexpr const TSymbolUniqueId - textureProjLodOffset_Sampler2DShadow1_Float4_Float1_Int2 = TSymbolUniqueId(3831); + textureProjLodOffset_Sampler2DShadow1_Float4_Float1_Int2 = TSymbolUniqueId(3719); static constexpr const TSymbolUniqueId texelFetchOffset_Sampler2D1_Int2_Int1_Int2 = - TSymbolUniqueId(3832); + TSymbolUniqueId(3720); static constexpr const TSymbolUniqueId texelFetchOffset_ISampler2D1_Int2_Int1_Int2 = - TSymbolUniqueId(3833); + TSymbolUniqueId(3721); static constexpr const TSymbolUniqueId texelFetchOffset_USampler2D1_Int2_Int1_Int2 = - TSymbolUniqueId(3834); + TSymbolUniqueId(3722); static constexpr const TSymbolUniqueId texelFetchOffset_Sampler3D1_Int3_Int1_Int3 = - TSymbolUniqueId(3835); + TSymbolUniqueId(3723); static constexpr const TSymbolUniqueId texelFetchOffset_ISampler3D1_Int3_Int1_Int3 = - TSymbolUniqueId(3836); + TSymbolUniqueId(3724); static constexpr const TSymbolUniqueId texelFetchOffset_USampler3D1_Int3_Int1_Int3 = - TSymbolUniqueId(3837); + TSymbolUniqueId(3725); static constexpr const TSymbolUniqueId texelFetchOffset_Sampler2DArray1_Int3_Int1_Int2 = - TSymbolUniqueId(3838); + TSymbolUniqueId(3726); static constexpr const TSymbolUniqueId texelFetchOffset_ISampler2DArray1_Int3_Int1_Int2 = - TSymbolUniqueId(3839); + TSymbolUniqueId(3727); static constexpr const TSymbolUniqueId texelFetchOffset_USampler2DArray1_Int3_Int1_Int2 = - TSymbolUniqueId(3840); + TSymbolUniqueId(3728); static constexpr const TSymbolUniqueId textureGradOffset_Sampler2D1_Float2_Float2_Float2_Int2 = - TSymbolUniqueId(3841); + TSymbolUniqueId(3729); static constexpr const TSymbolUniqueId textureGradOffset_ISampler2D1_Float2_Float2_Float2_Int2 = - TSymbolUniqueId(3842); + TSymbolUniqueId(3730); static constexpr const TSymbolUniqueId textureGradOffset_USampler2D1_Float2_Float2_Float2_Int2 = - TSymbolUniqueId(3843); + TSymbolUniqueId(3731); static constexpr const TSymbolUniqueId textureGradOffset_Sampler3D1_Float3_Float3_Float3_Int3 = - TSymbolUniqueId(3844); + TSymbolUniqueId(3732); static constexpr const TSymbolUniqueId textureGradOffset_ISampler3D1_Float3_Float3_Float3_Int3 = - TSymbolUniqueId(3845); + TSymbolUniqueId(3733); static constexpr const TSymbolUniqueId textureGradOffset_USampler3D1_Float3_Float3_Float3_Int3 = - TSymbolUniqueId(3846); + TSymbolUniqueId(3734); static constexpr const TSymbolUniqueId - textureGradOffset_Sampler2DShadow1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3847); + textureGradOffset_Sampler2DShadow1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3735); static constexpr const TSymbolUniqueId - textureGradOffset_Sampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3848); + textureGradOffset_Sampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3736); static constexpr const TSymbolUniqueId - textureGradOffset_ISampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3849); + textureGradOffset_ISampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3737); static constexpr const TSymbolUniqueId - textureGradOffset_USampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3850); + textureGradOffset_USampler2DArray1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3738); static constexpr const TSymbolUniqueId - textureGradOffset_Sampler2DArrayShadow1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3851); + textureGradOffset_Sampler2DArrayShadow1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3739); static constexpr const TSymbolUniqueId - textureProjGradOffset_Sampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3852); + textureProjGradOffset_Sampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3740); static constexpr const TSymbolUniqueId - textureProjGradOffset_ISampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3853); + textureProjGradOffset_ISampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3741); static constexpr const TSymbolUniqueId - textureProjGradOffset_USampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3854); + textureProjGradOffset_USampler2D1_Float3_Float2_Float2_Int2 = TSymbolUniqueId(3742); static constexpr const TSymbolUniqueId - textureProjGradOffset_Sampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3855); + textureProjGradOffset_Sampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3743); static constexpr const TSymbolUniqueId - textureProjGradOffset_ISampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3856); + textureProjGradOffset_ISampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3744); static constexpr const TSymbolUniqueId - textureProjGradOffset_USampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3857); + textureProjGradOffset_USampler2D1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3745); static constexpr const TSymbolUniqueId - textureProjGradOffset_Sampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3858); + textureProjGradOffset_Sampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3746); static constexpr const TSymbolUniqueId - textureProjGradOffset_ISampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3859); + textureProjGradOffset_ISampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3747); static constexpr const TSymbolUniqueId - textureProjGradOffset_USampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3860); + textureProjGradOffset_USampler3D1_Float4_Float3_Float3_Int3 = TSymbolUniqueId(3748); static constexpr const TSymbolUniqueId - textureProjGradOffset_Sampler2DShadow1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3861); + textureProjGradOffset_Sampler2DShadow1_Float4_Float2_Float2_Int2 = TSymbolUniqueId(3749); static constexpr const TSymbolUniqueId textureOffset_Sampler2D1_Float2_Int2_Float1 = - TSymbolUniqueId(3862); + TSymbolUniqueId(3750); static constexpr const TSymbolUniqueId textureOffset_ISampler2D1_Float2_Int2_Float1 = - TSymbolUniqueId(3863); + TSymbolUniqueId(3751); static constexpr const TSymbolUniqueId textureOffset_USampler2D1_Float2_Int2_Float1 = - TSymbolUniqueId(3864); + TSymbolUniqueId(3752); static constexpr const TSymbolUniqueId textureOffset_Sampler3D1_Float3_Int3_Float1 = - TSymbolUniqueId(3865); + TSymbolUniqueId(3753); static constexpr const TSymbolUniqueId textureOffset_ISampler3D1_Float3_Int3_Float1 = - TSymbolUniqueId(3866); + TSymbolUniqueId(3754); static constexpr const TSymbolUniqueId textureOffset_USampler3D1_Float3_Int3_Float1 = - TSymbolUniqueId(3867); + TSymbolUniqueId(3755); static constexpr const TSymbolUniqueId textureOffset_Sampler2DShadow1_Float3_Int2_Float1 = - TSymbolUniqueId(3868); + TSymbolUniqueId(3756); static constexpr const TSymbolUniqueId textureOffset_Sampler2DArray1_Float3_Int2_Float1 = - TSymbolUniqueId(3869); + TSymbolUniqueId(3757); static constexpr const TSymbolUniqueId textureOffset_ISampler2DArray1_Float3_Int2_Float1 = - TSymbolUniqueId(3870); + TSymbolUniqueId(3758); static constexpr const TSymbolUniqueId textureOffset_USampler2DArray1_Float3_Int2_Float1 = - TSymbolUniqueId(3871); + TSymbolUniqueId(3759); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2D1_Float3_Int2_Float1 = - TSymbolUniqueId(3872); + TSymbolUniqueId(3760); static constexpr const TSymbolUniqueId textureProjOffset_ISampler2D1_Float3_Int2_Float1 = - TSymbolUniqueId(3873); + TSymbolUniqueId(3761); static constexpr const TSymbolUniqueId textureProjOffset_USampler2D1_Float3_Int2_Float1 = - TSymbolUniqueId(3874); + TSymbolUniqueId(3762); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2D1_Float4_Int2_Float1 = - TSymbolUniqueId(3875); + TSymbolUniqueId(3763); static constexpr const TSymbolUniqueId textureProjOffset_ISampler2D1_Float4_Int2_Float1 = - TSymbolUniqueId(3876); + TSymbolUniqueId(3764); static constexpr const TSymbolUniqueId textureProjOffset_USampler2D1_Float4_Int2_Float1 = - TSymbolUniqueId(3877); + TSymbolUniqueId(3765); static constexpr const TSymbolUniqueId textureProjOffset_Sampler3D1_Float4_Int3_Float1 = - TSymbolUniqueId(3878); + TSymbolUniqueId(3766); static constexpr const TSymbolUniqueId textureProjOffset_ISampler3D1_Float4_Int3_Float1 = - TSymbolUniqueId(3879); + TSymbolUniqueId(3767); static constexpr const TSymbolUniqueId textureProjOffset_USampler3D1_Float4_Int3_Float1 = - TSymbolUniqueId(3880); + TSymbolUniqueId(3768); static constexpr const TSymbolUniqueId textureProjOffset_Sampler2DShadow1_Float4_Int2_Float1 = - TSymbolUniqueId(3881); + TSymbolUniqueId(3769); static constexpr const TSymbolUniqueId texture_SamplerExternalOES1_Float2 = - TSymbolUniqueId(3882); + TSymbolUniqueId(3770); static constexpr const TSymbolUniqueId textureProj_SamplerExternalOES1_Float3 = - TSymbolUniqueId(3883); + TSymbolUniqueId(3771); static constexpr const TSymbolUniqueId textureProj_SamplerExternalOES1_Float4 = - TSymbolUniqueId(3884); + TSymbolUniqueId(3772); static constexpr const TSymbolUniqueId textureSize_SamplerExternalOES1_Int1 = - TSymbolUniqueId(3885); + TSymbolUniqueId(3773); static constexpr const TSymbolUniqueId texelFetch_SamplerExternalOES1_Int2_Int1 = - TSymbolUniqueId(3886); + TSymbolUniqueId(3774); static constexpr const TSymbolUniqueId texture_SamplerExternal2DY2YEXT1_Float2 = - TSymbolUniqueId(3887); + TSymbolUniqueId(3775); static constexpr const TSymbolUniqueId textureProj_SamplerExternal2DY2YEXT1_Float3 = - TSymbolUniqueId(3888); + TSymbolUniqueId(3776); static constexpr const TSymbolUniqueId textureProj_SamplerExternal2DY2YEXT1_Float4 = - TSymbolUniqueId(3889); + TSymbolUniqueId(3777); static constexpr const TSymbolUniqueId rgb_2_yuv_Float3_YuvCscStandardEXT1 = - TSymbolUniqueId(3890); - static constexpr const TSymbolUniqueId pt00H = TSymbolUniqueId(3891); + TSymbolUniqueId(3778); + static constexpr const TSymbolUniqueId pt00H = TSymbolUniqueId(3779); static constexpr const TSymbolUniqueId yuv_2_rgb_Float3_YuvCscStandardEXT1 = - TSymbolUniqueId(3892); + TSymbolUniqueId(3780); static constexpr const TSymbolUniqueId textureSize_SamplerExternal2DY2YEXT1_Int1 = - TSymbolUniqueId(3893); + TSymbolUniqueId(3781); static constexpr const TSymbolUniqueId texelFetch_SamplerExternal2DY2YEXT1_Int2_Int1 = - TSymbolUniqueId(3894); - static constexpr const TSymbolUniqueId textureGather_Sampler2D1_Float2 = TSymbolUniqueId(3895); - static constexpr const TSymbolUniqueId textureGather_ISampler2D1_Float2 = TSymbolUniqueId(3896); - static constexpr const TSymbolUniqueId textureGather_USampler2D1_Float2 = TSymbolUniqueId(3897); + TSymbolUniqueId(3782); + static constexpr const TSymbolUniqueId textureGather_Sampler2D1_Float2 = TSymbolUniqueId(3783); + static constexpr const TSymbolUniqueId textureGather_ISampler2D1_Float2 = TSymbolUniqueId(3784); + static constexpr const TSymbolUniqueId textureGather_USampler2D1_Float2 = TSymbolUniqueId(3785); static constexpr const TSymbolUniqueId textureGather_Sampler2D1_Float2_Int1 = - TSymbolUniqueId(3898); + TSymbolUniqueId(3786); static constexpr const TSymbolUniqueId textureGather_ISampler2D1_Float2_Int1 = - TSymbolUniqueId(3899); + TSymbolUniqueId(3787); static constexpr const TSymbolUniqueId textureGather_USampler2D1_Float2_Int1 = - TSymbolUniqueId(3900); + TSymbolUniqueId(3788); static constexpr const TSymbolUniqueId textureGather_Sampler2DArray1_Float3 = - TSymbolUniqueId(3901); + TSymbolUniqueId(3789); static constexpr const TSymbolUniqueId textureGather_ISampler2DArray1_Float3 = - TSymbolUniqueId(3902); + TSymbolUniqueId(3790); static constexpr const TSymbolUniqueId textureGather_USampler2DArray1_Float3 = - TSymbolUniqueId(3903); + TSymbolUniqueId(3791); static constexpr const TSymbolUniqueId textureGather_Sampler2DArray1_Float3_Int1 = - TSymbolUniqueId(3904); + TSymbolUniqueId(3792); static constexpr const TSymbolUniqueId textureGather_ISampler2DArray1_Float3_Int1 = - TSymbolUniqueId(3905); + TSymbolUniqueId(3793); static constexpr const TSymbolUniqueId textureGather_USampler2DArray1_Float3_Int1 = - TSymbolUniqueId(3906); + TSymbolUniqueId(3794); static constexpr const TSymbolUniqueId textureGather_SamplerCube1_Float3 = - TSymbolUniqueId(3907); + TSymbolUniqueId(3795); static constexpr const TSymbolUniqueId textureGather_ISamplerCube1_Float3 = - TSymbolUniqueId(3908); + TSymbolUniqueId(3796); static constexpr const TSymbolUniqueId textureGather_USamplerCube1_Float3 = - TSymbolUniqueId(3909); + TSymbolUniqueId(3797); static constexpr const TSymbolUniqueId textureGather_SamplerCube1_Float3_Int1 = - TSymbolUniqueId(3910); + TSymbolUniqueId(3798); static constexpr const TSymbolUniqueId textureGather_ISamplerCube1_Float3_Int1 = - TSymbolUniqueId(3911); + TSymbolUniqueId(3799); static constexpr const TSymbolUniqueId textureGather_USamplerCube1_Float3_Int1 = - TSymbolUniqueId(3912); + TSymbolUniqueId(3800); static constexpr const TSymbolUniqueId textureGather_Sampler2DShadow1_Float2 = - TSymbolUniqueId(3913); + TSymbolUniqueId(3801); static constexpr const TSymbolUniqueId textureGather_Sampler2DShadow1_Float2_Float1 = - TSymbolUniqueId(3914); + TSymbolUniqueId(3802); static constexpr const TSymbolUniqueId textureGather_Sampler2DArrayShadow1_Float3 = - TSymbolUniqueId(3915); + TSymbolUniqueId(3803); static constexpr const TSymbolUniqueId textureGather_Sampler2DArrayShadow1_Float3_Float1 = - TSymbolUniqueId(3916); + TSymbolUniqueId(3804); static constexpr const TSymbolUniqueId textureGather_SamplerCubeShadow1_Float3 = - TSymbolUniqueId(3917); + TSymbolUniqueId(3805); static constexpr const TSymbolUniqueId textureGather_SamplerCubeShadow1_Float3_Float1 = - TSymbolUniqueId(3918); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2 = - TSymbolUniqueId(3919); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2 = - TSymbolUniqueId(3920); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2 = - TSymbolUniqueId(3921); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3922); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3923); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2 = - TSymbolUniqueId(3924); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2 = - TSymbolUniqueId(3925); - static constexpr const TSymbolUniqueId - textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2 = TSymbolUniqueId(3926); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(3927); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(3928); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(3929); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(3930); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(3931); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(3932); - static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3933); - static constexpr const TSymbolUniqueId pt10Dx4 = TSymbolUniqueId(3934); - static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3935); - static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3936); - static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3937); - static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3938); - static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3939); - static constexpr const TSymbolUniqueId - textureGatherOffsets_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(3940); - static constexpr const TSymbolUniqueId - textureGatherOffsets_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(3941); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3942); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3943); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2 = - TSymbolUniqueId(3944); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3945); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3946); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(3947); - static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(3948); - static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(3949); + TSymbolUniqueId(3806); static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3950); + TSymbolUniqueId(3807); + static constexpr const TSymbolUniqueId pt10Dx4 = TSymbolUniqueId(3808); static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3951); + TSymbolUniqueId(3809); static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3952); + TSymbolUniqueId(3810); static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1 = - TSymbolUniqueId(3953); + TSymbolUniqueId(3811); static constexpr const TSymbolUniqueId - textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3954); + textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3812); static constexpr const TSymbolUniqueId - textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3955); + textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3813); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3956); + TSymbolUniqueId(3814); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3957); + TSymbolUniqueId(3815); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(3958); + TSymbolUniqueId(3816); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3959); + textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3817); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3960); + textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3818); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3961); - static constexpr const TSymbolUniqueId dFdx_Float1 = TSymbolUniqueId(3962); - static constexpr const TSymbolUniqueId dFdx_Float2 = TSymbolUniqueId(3963); - static constexpr const TSymbolUniqueId dFdx_Float3 = TSymbolUniqueId(3964); - static constexpr const TSymbolUniqueId dFdx_Float4 = TSymbolUniqueId(3965); - static constexpr const TSymbolUniqueId dFdy_Float1 = TSymbolUniqueId(3966); - static constexpr const TSymbolUniqueId dFdy_Float2 = TSymbolUniqueId(3967); - static constexpr const TSymbolUniqueId dFdy_Float3 = TSymbolUniqueId(3968); - static constexpr const TSymbolUniqueId dFdy_Float4 = TSymbolUniqueId(3969); - static constexpr const TSymbolUniqueId fwidth_Float1 = TSymbolUniqueId(3970); - static constexpr const TSymbolUniqueId fwidth_Float2 = TSymbolUniqueId(3971); - static constexpr const TSymbolUniqueId fwidth_Float3 = TSymbolUniqueId(3972); - static constexpr const TSymbolUniqueId fwidth_Float4 = TSymbolUniqueId(3973); - static constexpr const TSymbolUniqueId interpolateAtCentroid_Float1 = TSymbolUniqueId(3974); - static constexpr const TSymbolUniqueId interpolateAtCentroid_Float2 = TSymbolUniqueId(3975); - static constexpr const TSymbolUniqueId interpolateAtCentroid_Float3 = TSymbolUniqueId(3976); - static constexpr const TSymbolUniqueId interpolateAtCentroid_Float4 = TSymbolUniqueId(3977); - static constexpr const TSymbolUniqueId interpolateAtSample_Float1_Int1 = TSymbolUniqueId(3978); - static constexpr const TSymbolUniqueId interpolateAtSample_Float2_Int1 = TSymbolUniqueId(3979); - static constexpr const TSymbolUniqueId interpolateAtSample_Float3_Int1 = TSymbolUniqueId(3980); - static constexpr const TSymbolUniqueId interpolateAtSample_Float4_Int1 = TSymbolUniqueId(3981); + textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(3819); + static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3820); + static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3821); + static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3822); + static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3823); + static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3824); + static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3825); + static constexpr const TSymbolUniqueId + textureGatherOffsets_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(3826); + static constexpr const TSymbolUniqueId + textureGatherOffsets_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(3827); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3828); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3829); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2 = + TSymbolUniqueId(3830); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3831); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3832); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(3833); + static constexpr const TSymbolUniqueId + textureGatherOffsetsExt_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(3834); + static constexpr const TSymbolUniqueId + textureGatherOffsetsExt_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(3835); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(3836); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(3837); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(3838); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(3839); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(3840); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(3841); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2 = + TSymbolUniqueId(3842); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2 = + TSymbolUniqueId(3843); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2 = + TSymbolUniqueId(3844); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2 = + TSymbolUniqueId(3845); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2 = + TSymbolUniqueId(3846); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2 = + TSymbolUniqueId(3847); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2 = + TSymbolUniqueId(3848); + static constexpr const TSymbolUniqueId + textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2 = TSymbolUniqueId(3849); + static constexpr const TSymbolUniqueId dFdx_Float1 = TSymbolUniqueId(3850); + static constexpr const TSymbolUniqueId dFdx_Float2 = TSymbolUniqueId(3851); + static constexpr const TSymbolUniqueId dFdx_Float3 = TSymbolUniqueId(3852); + static constexpr const TSymbolUniqueId dFdx_Float4 = TSymbolUniqueId(3853); + static constexpr const TSymbolUniqueId dFdy_Float1 = TSymbolUniqueId(3854); + static constexpr const TSymbolUniqueId dFdy_Float2 = TSymbolUniqueId(3855); + static constexpr const TSymbolUniqueId dFdy_Float3 = TSymbolUniqueId(3856); + static constexpr const TSymbolUniqueId dFdy_Float4 = TSymbolUniqueId(3857); + static constexpr const TSymbolUniqueId fwidth_Float1 = TSymbolUniqueId(3858); + static constexpr const TSymbolUniqueId fwidth_Float2 = TSymbolUniqueId(3859); + static constexpr const TSymbolUniqueId fwidth_Float3 = TSymbolUniqueId(3860); + static constexpr const TSymbolUniqueId fwidth_Float4 = TSymbolUniqueId(3861); + static constexpr const TSymbolUniqueId interpolateAtCentroid_Float1 = TSymbolUniqueId(3862); + static constexpr const TSymbolUniqueId interpolateAtCentroid_Float2 = TSymbolUniqueId(3863); + static constexpr const TSymbolUniqueId interpolateAtCentroid_Float3 = TSymbolUniqueId(3864); + static constexpr const TSymbolUniqueId interpolateAtCentroid_Float4 = TSymbolUniqueId(3865); + static constexpr const TSymbolUniqueId interpolateAtSample_Float1_Int1 = TSymbolUniqueId(3866); + static constexpr const TSymbolUniqueId interpolateAtSample_Float2_Int1 = TSymbolUniqueId(3867); + static constexpr const TSymbolUniqueId interpolateAtSample_Float3_Int1 = TSymbolUniqueId(3868); + static constexpr const TSymbolUniqueId interpolateAtSample_Float4_Int1 = TSymbolUniqueId(3869); static constexpr const TSymbolUniqueId interpolateAtOffset_Float1_Float2 = - TSymbolUniqueId(3982); + TSymbolUniqueId(3870); static constexpr const TSymbolUniqueId interpolateAtOffset_Float2_Float2 = - TSymbolUniqueId(3983); + TSymbolUniqueId(3871); static constexpr const TSymbolUniqueId interpolateAtOffset_Float3_Float2 = - TSymbolUniqueId(3984); + TSymbolUniqueId(3872); static constexpr const TSymbolUniqueId interpolateAtOffset_Float4_Float2 = - TSymbolUniqueId(3985); - static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float1 = TSymbolUniqueId(3986); - static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float2 = TSymbolUniqueId(3987); - static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float3 = TSymbolUniqueId(3988); - static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float4 = TSymbolUniqueId(3989); + TSymbolUniqueId(3873); + static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float1 = TSymbolUniqueId(3874); + static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float2 = TSymbolUniqueId(3875); + static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float3 = TSymbolUniqueId(3876); + static constexpr const TSymbolUniqueId interpolateAtCentroidExt_Float4 = TSymbolUniqueId(3877); static constexpr const TSymbolUniqueId interpolateAtSampleExt_Float1_Int1 = - TSymbolUniqueId(3990); + TSymbolUniqueId(3878); static constexpr const TSymbolUniqueId interpolateAtSampleExt_Float2_Int1 = - TSymbolUniqueId(3991); + TSymbolUniqueId(3879); static constexpr const TSymbolUniqueId interpolateAtSampleExt_Float3_Int1 = - TSymbolUniqueId(3992); + TSymbolUniqueId(3880); static constexpr const TSymbolUniqueId interpolateAtSampleExt_Float4_Int1 = - TSymbolUniqueId(3993); + TSymbolUniqueId(3881); static constexpr const TSymbolUniqueId interpolateAtOffsetExt_Float1_Float2 = - TSymbolUniqueId(3994); + TSymbolUniqueId(3882); static constexpr const TSymbolUniqueId interpolateAtOffsetExt_Float2_Float2 = - TSymbolUniqueId(3995); + TSymbolUniqueId(3883); static constexpr const TSymbolUniqueId interpolateAtOffsetExt_Float3_Float2 = - TSymbolUniqueId(3996); + TSymbolUniqueId(3884); static constexpr const TSymbolUniqueId interpolateAtOffsetExt_Float4_Float2 = - TSymbolUniqueId(3997); - static constexpr const TSymbolUniqueId atomicCounter_AtomicCounter1 = TSymbolUniqueId(3998); - static constexpr const TSymbolUniqueId pt00G = TSymbolUniqueId(3999); + TSymbolUniqueId(3885); + static constexpr const TSymbolUniqueId atomicCounter_AtomicCounter1 = TSymbolUniqueId(3886); + static constexpr const TSymbolUniqueId pt00G = TSymbolUniqueId(3887); static constexpr const TSymbolUniqueId atomicCounterIncrement_AtomicCounter1 = - TSymbolUniqueId(4000); + TSymbolUniqueId(3888); static constexpr const TSymbolUniqueId atomicCounterDecrement_AtomicCounter1 = - TSymbolUniqueId(4001); - static constexpr const TSymbolUniqueId atomicAdd_UInt1_UInt1 = TSymbolUniqueId(4002); - static constexpr const TSymbolUniqueId pt_io_00E = TSymbolUniqueId(4003); - static constexpr const TSymbolUniqueId atomicAdd_Int1_Int1 = TSymbolUniqueId(4004); - static constexpr const TSymbolUniqueId pt_io_00D = TSymbolUniqueId(4005); - static constexpr const TSymbolUniqueId atomicMin_UInt1_UInt1 = TSymbolUniqueId(4006); - static constexpr const TSymbolUniqueId atomicMin_Int1_Int1 = TSymbolUniqueId(4007); - static constexpr const TSymbolUniqueId atomicMax_UInt1_UInt1 = TSymbolUniqueId(4008); - static constexpr const TSymbolUniqueId atomicMax_Int1_Int1 = TSymbolUniqueId(4009); - static constexpr const TSymbolUniqueId atomicAnd_UInt1_UInt1 = TSymbolUniqueId(4010); - static constexpr const TSymbolUniqueId atomicAnd_Int1_Int1 = TSymbolUniqueId(4011); - static constexpr const TSymbolUniqueId atomicOr_UInt1_UInt1 = TSymbolUniqueId(4012); - static constexpr const TSymbolUniqueId atomicOr_Int1_Int1 = TSymbolUniqueId(4013); - static constexpr const TSymbolUniqueId atomicXor_UInt1_UInt1 = TSymbolUniqueId(4014); - static constexpr const TSymbolUniqueId atomicXor_Int1_Int1 = TSymbolUniqueId(4015); - static constexpr const TSymbolUniqueId atomicExchange_UInt1_UInt1 = TSymbolUniqueId(4016); - static constexpr const TSymbolUniqueId atomicExchange_Int1_Int1 = TSymbolUniqueId(4017); - static constexpr const TSymbolUniqueId atomicCompSwap_UInt1_UInt1_UInt1 = TSymbolUniqueId(4018); - static constexpr const TSymbolUniqueId atomicCompSwap_Int1_Int1_Int1 = TSymbolUniqueId(4019); - static constexpr const TSymbolUniqueId imageSize_Image2D1 = TSymbolUniqueId(4020); - static constexpr const TSymbolUniqueId pt00z = TSymbolUniqueId(4021); - static constexpr const TSymbolUniqueId imageSize_IImage2D1 = TSymbolUniqueId(4022); - static constexpr const TSymbolUniqueId pt01A = TSymbolUniqueId(4023); - static constexpr const TSymbolUniqueId imageSize_UImage2D1 = TSymbolUniqueId(4024); - static constexpr const TSymbolUniqueId pt01B = TSymbolUniqueId(4025); - static constexpr const TSymbolUniqueId imageSize_Image3D1 = TSymbolUniqueId(4026); - static constexpr const TSymbolUniqueId pt01C = TSymbolUniqueId(4027); - static constexpr const TSymbolUniqueId imageSize_IImage3D1 = TSymbolUniqueId(4028); - static constexpr const TSymbolUniqueId pt01D = TSymbolUniqueId(4029); - static constexpr const TSymbolUniqueId imageSize_UImage3D1 = TSymbolUniqueId(4030); - static constexpr const TSymbolUniqueId pt01E = TSymbolUniqueId(4031); - static constexpr const TSymbolUniqueId imageSize_Image2DArray1 = TSymbolUniqueId(4032); - static constexpr const TSymbolUniqueId pt01F = TSymbolUniqueId(4033); - static constexpr const TSymbolUniqueId imageSize_IImage2DArray1 = TSymbolUniqueId(4034); - static constexpr const TSymbolUniqueId pt01G = TSymbolUniqueId(4035); - static constexpr const TSymbolUniqueId imageSize_UImage2DArray1 = TSymbolUniqueId(4036); - static constexpr const TSymbolUniqueId pt01H = TSymbolUniqueId(4037); - static constexpr const TSymbolUniqueId imageSize_ImageCube1 = TSymbolUniqueId(4038); - static constexpr const TSymbolUniqueId pt01I = TSymbolUniqueId(4039); - static constexpr const TSymbolUniqueId imageSize_IImageCube1 = TSymbolUniqueId(4040); - static constexpr const TSymbolUniqueId pt01J = TSymbolUniqueId(4041); - static constexpr const TSymbolUniqueId imageSize_UImageCube1 = TSymbolUniqueId(4042); - static constexpr const TSymbolUniqueId pt01K = TSymbolUniqueId(4043); - static constexpr const TSymbolUniqueId imageSize_ImageCubeArray1 = TSymbolUniqueId(4044); - static constexpr const TSymbolUniqueId pt01X = TSymbolUniqueId(4045); - static constexpr const TSymbolUniqueId imageSize_IImageCubeArray1 = TSymbolUniqueId(4046); - static constexpr const TSymbolUniqueId pt01Y = TSymbolUniqueId(4047); - static constexpr const TSymbolUniqueId imageSize_UImageCubeArray1 = TSymbolUniqueId(4048); - static constexpr const TSymbolUniqueId pt01Z = TSymbolUniqueId(4049); - static constexpr const TSymbolUniqueId imageSize_ImageBuffer1 = TSymbolUniqueId(4050); - static constexpr const TSymbolUniqueId pt01d = TSymbolUniqueId(4051); - static constexpr const TSymbolUniqueId imageSize_IImageBuffer1 = TSymbolUniqueId(4052); - static constexpr const TSymbolUniqueId pt01e = TSymbolUniqueId(4053); - static constexpr const TSymbolUniqueId imageSize_UImageBuffer1 = TSymbolUniqueId(4054); - static constexpr const TSymbolUniqueId pt01f = TSymbolUniqueId(4055); - static constexpr const TSymbolUniqueId imageStore_Image2D1_Int2_Float4 = TSymbolUniqueId(4056); - static constexpr const TSymbolUniqueId imageStore_IImage2D1_Int2_Int4 = TSymbolUniqueId(4057); - static constexpr const TSymbolUniqueId imageStore_UImage2D1_Int2_UInt4 = TSymbolUniqueId(4058); - static constexpr const TSymbolUniqueId imageStore_Image3D1_Int3_Float4 = TSymbolUniqueId(4059); - static constexpr const TSymbolUniqueId imageStore_IImage3D1_Int3_Int4 = TSymbolUniqueId(4060); - static constexpr const TSymbolUniqueId imageStore_UImage3D1_Int3_UInt4 = TSymbolUniqueId(4061); - static constexpr const TSymbolUniqueId imageStore_Image2DArray1_Int3_Float4 = - TSymbolUniqueId(4062); - static constexpr const TSymbolUniqueId imageStore_IImage2DArray1_Int3_Int4 = - TSymbolUniqueId(4063); - static constexpr const TSymbolUniqueId imageStore_UImage2DArray1_Int3_UInt4 = - TSymbolUniqueId(4064); - static constexpr const TSymbolUniqueId imageStore_ImageCube1_Int3_Float4 = - TSymbolUniqueId(4065); - static constexpr const TSymbolUniqueId imageStore_IImageCube1_Int3_Int4 = TSymbolUniqueId(4066); - static constexpr const TSymbolUniqueId imageStore_UImageCube1_Int3_UInt4 = - TSymbolUniqueId(4067); - static constexpr const TSymbolUniqueId imageStore_ImageCubeArray1_Int3_Float4 = - TSymbolUniqueId(4068); - static constexpr const TSymbolUniqueId imageStore_IImageCubeArray1_Int3_Int4 = - TSymbolUniqueId(4069); - static constexpr const TSymbolUniqueId imageStore_UImageCubeArray1_Int3_UInt4 = - TSymbolUniqueId(4070); - static constexpr const TSymbolUniqueId imageStore_ImageBuffer1_Int1_Float4 = - TSymbolUniqueId(4071); - static constexpr const TSymbolUniqueId imageStore_IImageBuffer1_Int1_Int4 = - TSymbolUniqueId(4072); - static constexpr const TSymbolUniqueId imageStore_UImageBuffer1_Int1_UInt4 = - TSymbolUniqueId(4073); - static constexpr const TSymbolUniqueId imageLoad_Image2D1_Int2 = TSymbolUniqueId(4074); - static constexpr const TSymbolUniqueId imageLoad_IImage2D1_Int2 = TSymbolUniqueId(4075); - static constexpr const TSymbolUniqueId imageLoad_UImage2D1_Int2 = TSymbolUniqueId(4076); - static constexpr const TSymbolUniqueId imageLoad_Image3D1_Int3 = TSymbolUniqueId(4077); - static constexpr const TSymbolUniqueId imageLoad_IImage3D1_Int3 = TSymbolUniqueId(4078); - static constexpr const TSymbolUniqueId imageLoad_UImage3D1_Int3 = TSymbolUniqueId(4079); - static constexpr const TSymbolUniqueId imageLoad_Image2DArray1_Int3 = TSymbolUniqueId(4080); - static constexpr const TSymbolUniqueId imageLoad_IImage2DArray1_Int3 = TSymbolUniqueId(4081); - static constexpr const TSymbolUniqueId imageLoad_UImage2DArray1_Int3 = TSymbolUniqueId(4082); - static constexpr const TSymbolUniqueId imageLoad_ImageCube1_Int3 = TSymbolUniqueId(4083); - static constexpr const TSymbolUniqueId imageLoad_IImageCube1_Int3 = TSymbolUniqueId(4084); - static constexpr const TSymbolUniqueId imageLoad_UImageCube1_Int3 = TSymbolUniqueId(4085); - static constexpr const TSymbolUniqueId imageLoad_ImageCubeArray1_Int3 = TSymbolUniqueId(4086); - static constexpr const TSymbolUniqueId imageLoad_IImageCubeArray1_Int3 = TSymbolUniqueId(4087); - static constexpr const TSymbolUniqueId imageLoad_UImageCubeArray1_Int3 = TSymbolUniqueId(4088); - static constexpr const TSymbolUniqueId imageLoad_ImageBuffer1_Int1 = TSymbolUniqueId(4089); - static constexpr const TSymbolUniqueId imageLoad_IImageBuffer1_Int1 = TSymbolUniqueId(4090); - static constexpr const TSymbolUniqueId imageLoad_UImageBuffer1_Int1 = TSymbolUniqueId(4091); + TSymbolUniqueId(3889); + static constexpr const TSymbolUniqueId atomicAdd_UInt1_UInt1 = TSymbolUniqueId(3890); + static constexpr const TSymbolUniqueId pt_io_00E = TSymbolUniqueId(3891); + static constexpr const TSymbolUniqueId atomicAdd_Int1_Int1 = TSymbolUniqueId(3892); + static constexpr const TSymbolUniqueId pt_io_00D = TSymbolUniqueId(3893); + static constexpr const TSymbolUniqueId atomicMin_UInt1_UInt1 = TSymbolUniqueId(3894); + static constexpr const TSymbolUniqueId atomicMin_Int1_Int1 = TSymbolUniqueId(3895); + static constexpr const TSymbolUniqueId atomicMax_UInt1_UInt1 = TSymbolUniqueId(3896); + static constexpr const TSymbolUniqueId atomicMax_Int1_Int1 = TSymbolUniqueId(3897); + static constexpr const TSymbolUniqueId atomicAnd_UInt1_UInt1 = TSymbolUniqueId(3898); + static constexpr const TSymbolUniqueId atomicAnd_Int1_Int1 = TSymbolUniqueId(3899); + static constexpr const TSymbolUniqueId atomicOr_UInt1_UInt1 = TSymbolUniqueId(3900); + static constexpr const TSymbolUniqueId atomicOr_Int1_Int1 = TSymbolUniqueId(3901); + static constexpr const TSymbolUniqueId atomicXor_UInt1_UInt1 = TSymbolUniqueId(3902); + static constexpr const TSymbolUniqueId atomicXor_Int1_Int1 = TSymbolUniqueId(3903); + static constexpr const TSymbolUniqueId atomicExchange_UInt1_UInt1 = TSymbolUniqueId(3904); + static constexpr const TSymbolUniqueId atomicExchange_Int1_Int1 = TSymbolUniqueId(3905); + static constexpr const TSymbolUniqueId atomicCompSwap_UInt1_UInt1_UInt1 = TSymbolUniqueId(3906); + static constexpr const TSymbolUniqueId atomicCompSwap_Int1_Int1_Int1 = TSymbolUniqueId(3907); + static constexpr const TSymbolUniqueId imageSize_Image2D1 = TSymbolUniqueId(3908); + static constexpr const TSymbolUniqueId pt00z = TSymbolUniqueId(3909); + static constexpr const TSymbolUniqueId imageSize_IImage2D1 = TSymbolUniqueId(3910); + static constexpr const TSymbolUniqueId pt01A = TSymbolUniqueId(3911); + static constexpr const TSymbolUniqueId imageSize_UImage2D1 = TSymbolUniqueId(3912); + static constexpr const TSymbolUniqueId pt01B = TSymbolUniqueId(3913); + static constexpr const TSymbolUniqueId imageSize_Image3D1 = TSymbolUniqueId(3914); + static constexpr const TSymbolUniqueId pt01C = TSymbolUniqueId(3915); + static constexpr const TSymbolUniqueId imageSize_IImage3D1 = TSymbolUniqueId(3916); + static constexpr const TSymbolUniqueId pt01D = TSymbolUniqueId(3917); + static constexpr const TSymbolUniqueId imageSize_UImage3D1 = TSymbolUniqueId(3918); + static constexpr const TSymbolUniqueId pt01E = TSymbolUniqueId(3919); + static constexpr const TSymbolUniqueId imageSize_Image2DArray1 = TSymbolUniqueId(3920); + static constexpr const TSymbolUniqueId pt01F = TSymbolUniqueId(3921); + static constexpr const TSymbolUniqueId imageSize_IImage2DArray1 = TSymbolUniqueId(3922); + static constexpr const TSymbolUniqueId pt01G = TSymbolUniqueId(3923); + static constexpr const TSymbolUniqueId imageSize_UImage2DArray1 = TSymbolUniqueId(3924); + static constexpr const TSymbolUniqueId pt01H = TSymbolUniqueId(3925); + static constexpr const TSymbolUniqueId imageSize_ImageCube1 = TSymbolUniqueId(3926); + static constexpr const TSymbolUniqueId pt01I = TSymbolUniqueId(3927); + static constexpr const TSymbolUniqueId imageSize_IImageCube1 = TSymbolUniqueId(3928); + static constexpr const TSymbolUniqueId pt01J = TSymbolUniqueId(3929); + static constexpr const TSymbolUniqueId imageSize_UImageCube1 = TSymbolUniqueId(3930); + static constexpr const TSymbolUniqueId pt01K = TSymbolUniqueId(3931); + static constexpr const TSymbolUniqueId imageSize_ImageCubeArray1 = TSymbolUniqueId(3932); + static constexpr const TSymbolUniqueId pt01a = TSymbolUniqueId(3933); + static constexpr const TSymbolUniqueId imageSize_IImageCubeArray1 = TSymbolUniqueId(3934); + static constexpr const TSymbolUniqueId pt01b = TSymbolUniqueId(3935); + static constexpr const TSymbolUniqueId imageSize_UImageCubeArray1 = TSymbolUniqueId(3936); + static constexpr const TSymbolUniqueId pt01c = TSymbolUniqueId(3937); + static constexpr const TSymbolUniqueId imageSize_ImageBuffer1 = TSymbolUniqueId(3938); + static constexpr const TSymbolUniqueId pt01g = TSymbolUniqueId(3939); + static constexpr const TSymbolUniqueId imageSize_IImageBuffer1 = TSymbolUniqueId(3940); + static constexpr const TSymbolUniqueId pt01h = TSymbolUniqueId(3941); + static constexpr const TSymbolUniqueId imageSize_UImageBuffer1 = TSymbolUniqueId(3942); + static constexpr const TSymbolUniqueId pt01i = TSymbolUniqueId(3943); + static constexpr const TSymbolUniqueId imageLoad_Image2D1_Int2 = TSymbolUniqueId(3944); + static constexpr const TSymbolUniqueId imageLoad_IImage2D1_Int2 = TSymbolUniqueId(3945); + static constexpr const TSymbolUniqueId imageLoad_UImage2D1_Int2 = TSymbolUniqueId(3946); + static constexpr const TSymbolUniqueId imageLoad_Image3D1_Int3 = TSymbolUniqueId(3947); + static constexpr const TSymbolUniqueId imageLoad_IImage3D1_Int3 = TSymbolUniqueId(3948); + static constexpr const TSymbolUniqueId imageLoad_UImage3D1_Int3 = TSymbolUniqueId(3949); + static constexpr const TSymbolUniqueId imageLoad_Image2DArray1_Int3 = TSymbolUniqueId(3950); + static constexpr const TSymbolUniqueId imageLoad_IImage2DArray1_Int3 = TSymbolUniqueId(3951); + static constexpr const TSymbolUniqueId imageLoad_UImage2DArray1_Int3 = TSymbolUniqueId(3952); + static constexpr const TSymbolUniqueId imageLoad_ImageCube1_Int3 = TSymbolUniqueId(3953); + static constexpr const TSymbolUniqueId imageLoad_IImageCube1_Int3 = TSymbolUniqueId(3954); + static constexpr const TSymbolUniqueId imageLoad_UImageCube1_Int3 = TSymbolUniqueId(3955); + static constexpr const TSymbolUniqueId imageLoad_ImageCubeArray1_Int3 = TSymbolUniqueId(3956); + static constexpr const TSymbolUniqueId imageLoad_IImageCubeArray1_Int3 = TSymbolUniqueId(3957); + static constexpr const TSymbolUniqueId imageLoad_UImageCubeArray1_Int3 = TSymbolUniqueId(3958); + static constexpr const TSymbolUniqueId imageLoad_ImageBuffer1_Int1 = TSymbolUniqueId(3959); + static constexpr const TSymbolUniqueId imageLoad_IImageBuffer1_Int1 = TSymbolUniqueId(3960); + static constexpr const TSymbolUniqueId imageLoad_UImageBuffer1_Int1 = TSymbolUniqueId(3961); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4092); + TSymbolUniqueId(3962); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4093); + TSymbolUniqueId(3963); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4094); + TSymbolUniqueId(3964); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4095); + TSymbolUniqueId(3965); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4096); + TSymbolUniqueId(3966); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4097); + TSymbolUniqueId(3967); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4098); + TSymbolUniqueId(3968); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4099); + TSymbolUniqueId(3969); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4100); + TSymbolUniqueId(3970); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4101); + TSymbolUniqueId(3971); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4102); + TSymbolUniqueId(3972); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4103); + TSymbolUniqueId(3973); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4104); + TSymbolUniqueId(3974); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4105); + TSymbolUniqueId(3975); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4106); + TSymbolUniqueId(3976); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4107); + TSymbolUniqueId(3977); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4108); + TSymbolUniqueId(3978); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4109); + TSymbolUniqueId(3979); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4110); - static constexpr const TSymbolUniqueId pt01L = TSymbolUniqueId(4111); + TSymbolUniqueId(3980); + static constexpr const TSymbolUniqueId pt01L = TSymbolUniqueId(3981); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4112); - static constexpr const TSymbolUniqueId pt01M = TSymbolUniqueId(4113); + TSymbolUniqueId(3982); + static constexpr const TSymbolUniqueId pt01M = TSymbolUniqueId(3983); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4114); - static constexpr const TSymbolUniqueId pt01N = TSymbolUniqueId(4115); + TSymbolUniqueId(3984); + static constexpr const TSymbolUniqueId pt01N = TSymbolUniqueId(3985); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4116); - static constexpr const TSymbolUniqueId pt01O = TSymbolUniqueId(4117); + TSymbolUniqueId(3986); + static constexpr const TSymbolUniqueId pt01O = TSymbolUniqueId(3987); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4118); - static constexpr const TSymbolUniqueId pt01P = TSymbolUniqueId(4119); + TSymbolUniqueId(3988); + static constexpr const TSymbolUniqueId pt01P = TSymbolUniqueId(3989); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4120); - static constexpr const TSymbolUniqueId pt01Q = TSymbolUniqueId(4121); - static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4122); - static constexpr const TSymbolUniqueId pt01a = TSymbolUniqueId(4123); - static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4124); - static constexpr const TSymbolUniqueId pt01b = TSymbolUniqueId(4125); - static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4126); - static constexpr const TSymbolUniqueId pt01c = TSymbolUniqueId(4127); + TSymbolUniqueId(3990); + static constexpr const TSymbolUniqueId pt01Q = TSymbolUniqueId(3991); + static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(3992); + static constexpr const TSymbolUniqueId pt01X = TSymbolUniqueId(3993); + static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(3994); + static constexpr const TSymbolUniqueId pt01Y = TSymbolUniqueId(3995); + static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(3996); + static constexpr const TSymbolUniqueId pt01Z = TSymbolUniqueId(3997); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4128); - static constexpr const TSymbolUniqueId pt01R = TSymbolUniqueId(4129); + TSymbolUniqueId(3998); + static constexpr const TSymbolUniqueId pt01R = TSymbolUniqueId(3999); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4130); - static constexpr const TSymbolUniqueId pt01S = TSymbolUniqueId(4131); + TSymbolUniqueId(4000); + static constexpr const TSymbolUniqueId pt01S = TSymbolUniqueId(4001); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4132); - static constexpr const TSymbolUniqueId pt01T = TSymbolUniqueId(4133); + TSymbolUniqueId(4002); + static constexpr const TSymbolUniqueId pt01T = TSymbolUniqueId(4003); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4134); - static constexpr const TSymbolUniqueId pt01U = TSymbolUniqueId(4135); + TSymbolUniqueId(4004); + static constexpr const TSymbolUniqueId pt01U = TSymbolUniqueId(4005); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4136); - static constexpr const TSymbolUniqueId pt01V = TSymbolUniqueId(4137); + TSymbolUniqueId(4006); + static constexpr const TSymbolUniqueId pt01V = TSymbolUniqueId(4007); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4138); - static constexpr const TSymbolUniqueId pt01W = TSymbolUniqueId(4139); + TSymbolUniqueId(4008); + static constexpr const TSymbolUniqueId pt01W = TSymbolUniqueId(4009); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4140); + TSymbolUniqueId(4010); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4141); + TSymbolUniqueId(4011); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4142); + TSymbolUniqueId(4012); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4143); + TSymbolUniqueId(4013); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4144); + TSymbolUniqueId(4014); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4145); + TSymbolUniqueId(4015); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4146); + TSymbolUniqueId(4016); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4147); + TSymbolUniqueId(4017); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4148); + TSymbolUniqueId(4018); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4149); + TSymbolUniqueId(4019); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4150); + TSymbolUniqueId(4020); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4151); + TSymbolUniqueId(4021); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4152); + TSymbolUniqueId(4022); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4153); + TSymbolUniqueId(4023); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4154); + TSymbolUniqueId(4024); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4155); + TSymbolUniqueId(4025); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4156); + TSymbolUniqueId(4026); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4157); + TSymbolUniqueId(4027); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4158); + TSymbolUniqueId(4028); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4159); + TSymbolUniqueId(4029); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4160); + TSymbolUniqueId(4030); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4161); + TSymbolUniqueId(4031); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4162); + TSymbolUniqueId(4032); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4163); - static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4164); - static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4165); - static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4166); + TSymbolUniqueId(4033); + static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4034); + static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4035); + static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4036); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4167); + TSymbolUniqueId(4037); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4168); + TSymbolUniqueId(4038); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4169); + TSymbolUniqueId(4039); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4170); + TSymbolUniqueId(4040); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4171); + TSymbolUniqueId(4041); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4172); + TSymbolUniqueId(4042); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4173); + TSymbolUniqueId(4043); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4174); + TSymbolUniqueId(4044); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4175); + TSymbolUniqueId(4045); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4176); + TSymbolUniqueId(4046); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4177); + TSymbolUniqueId(4047); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4178); + TSymbolUniqueId(4048); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4179); + TSymbolUniqueId(4049); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4180); + TSymbolUniqueId(4050); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4181); + TSymbolUniqueId(4051); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4182); + TSymbolUniqueId(4052); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4183); + TSymbolUniqueId(4053); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4184); + TSymbolUniqueId(4054); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4185); + TSymbolUniqueId(4055); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4186); + TSymbolUniqueId(4056); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4187); + TSymbolUniqueId(4057); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4188); + TSymbolUniqueId(4058); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4189); + TSymbolUniqueId(4059); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4190); + TSymbolUniqueId(4060); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4191); + TSymbolUniqueId(4061); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4192); + TSymbolUniqueId(4062); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4193); + TSymbolUniqueId(4063); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4194); + TSymbolUniqueId(4064); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4195); + TSymbolUniqueId(4065); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4196); - static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4197); - static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4198); - static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4199); + TSymbolUniqueId(4066); + static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4067); + static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4068); + static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4069); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4200); + TSymbolUniqueId(4070); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4201); + TSymbolUniqueId(4071); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4202); + TSymbolUniqueId(4072); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4203); + TSymbolUniqueId(4073); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4204); + TSymbolUniqueId(4074); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4205); + TSymbolUniqueId(4075); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4206); + TSymbolUniqueId(4076); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4207); + TSymbolUniqueId(4077); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4208); + TSymbolUniqueId(4078); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4209); + TSymbolUniqueId(4079); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4210); + TSymbolUniqueId(4080); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4211); + TSymbolUniqueId(4081); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4212); + TSymbolUniqueId(4082); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4213); + TSymbolUniqueId(4083); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4214); + TSymbolUniqueId(4084); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4215); + TSymbolUniqueId(4085); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4216); + TSymbolUniqueId(4086); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4217); + TSymbolUniqueId(4087); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4218); + TSymbolUniqueId(4088); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4219); + TSymbolUniqueId(4089); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4220); + TSymbolUniqueId(4090); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4221); + TSymbolUniqueId(4091); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4222); + TSymbolUniqueId(4092); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4223); + TSymbolUniqueId(4093); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4224); + TSymbolUniqueId(4094); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4225); + TSymbolUniqueId(4095); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4226); + TSymbolUniqueId(4096); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4227); + TSymbolUniqueId(4097); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4228); + TSymbolUniqueId(4098); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4229); - static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4230); - static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4231); - static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4232); + TSymbolUniqueId(4099); + static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4100); + static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4101); + static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4102); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4233); + TSymbolUniqueId(4103); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4234); + TSymbolUniqueId(4104); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4235); + TSymbolUniqueId(4105); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4236); + TSymbolUniqueId(4106); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4237); + TSymbolUniqueId(4107); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4238); + TSymbolUniqueId(4108); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4239); + TSymbolUniqueId(4109); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4240); + TSymbolUniqueId(4110); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4241); + TSymbolUniqueId(4111); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4242); + TSymbolUniqueId(4112); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4243); + TSymbolUniqueId(4113); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4244); + TSymbolUniqueId(4114); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4245); + TSymbolUniqueId(4115); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4246); + TSymbolUniqueId(4116); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4247); + TSymbolUniqueId(4117); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4248); + TSymbolUniqueId(4118); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4249); + TSymbolUniqueId(4119); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4250); + TSymbolUniqueId(4120); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4251); + TSymbolUniqueId(4121); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4252); + TSymbolUniqueId(4122); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4253); + TSymbolUniqueId(4123); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4254); + TSymbolUniqueId(4124); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4255); + TSymbolUniqueId(4125); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4256); + TSymbolUniqueId(4126); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4257); + TSymbolUniqueId(4127); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4258); + TSymbolUniqueId(4128); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4259); + TSymbolUniqueId(4129); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4260); + TSymbolUniqueId(4130); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4261); + TSymbolUniqueId(4131); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4262); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4263); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4264); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4265); + TSymbolUniqueId(4132); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4133); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4134); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4135); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4266); + TSymbolUniqueId(4136); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4267); + TSymbolUniqueId(4137); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4268); + TSymbolUniqueId(4138); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4269); + TSymbolUniqueId(4139); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4270); + TSymbolUniqueId(4140); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4271); + TSymbolUniqueId(4141); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4272); + TSymbolUniqueId(4142); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4273); + TSymbolUniqueId(4143); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4274); + TSymbolUniqueId(4144); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4275); + TSymbolUniqueId(4145); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4276); + TSymbolUniqueId(4146); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4277); + TSymbolUniqueId(4147); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4278); + TSymbolUniqueId(4148); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4279); + TSymbolUniqueId(4149); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4280); + TSymbolUniqueId(4150); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4281); + TSymbolUniqueId(4151); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4282); + TSymbolUniqueId(4152); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4283); + TSymbolUniqueId(4153); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4284); + TSymbolUniqueId(4154); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4285); + TSymbolUniqueId(4155); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4286); + TSymbolUniqueId(4156); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4287); + TSymbolUniqueId(4157); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4288); + TSymbolUniqueId(4158); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4289); + TSymbolUniqueId(4159); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4290); + TSymbolUniqueId(4160); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4291); + TSymbolUniqueId(4161); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4292); + TSymbolUniqueId(4162); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4293); + TSymbolUniqueId(4163); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4294); + TSymbolUniqueId(4164); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4295); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4296); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4297); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4298); + TSymbolUniqueId(4165); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4166); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4167); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4168); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4299); + TSymbolUniqueId(4169); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4300); + TSymbolUniqueId(4170); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4301); + TSymbolUniqueId(4171); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4302); + TSymbolUniqueId(4172); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4303); + TSymbolUniqueId(4173); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4304); + TSymbolUniqueId(4174); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4305); + TSymbolUniqueId(4175); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4306); + TSymbolUniqueId(4176); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4307); + TSymbolUniqueId(4177); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4308); + TSymbolUniqueId(4178); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4309); + TSymbolUniqueId(4179); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4310); + TSymbolUniqueId(4180); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4311); + TSymbolUniqueId(4181); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4312); + TSymbolUniqueId(4182); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4313); + TSymbolUniqueId(4183); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4314); + TSymbolUniqueId(4184); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4315); + TSymbolUniqueId(4185); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4316); + TSymbolUniqueId(4186); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4317); + TSymbolUniqueId(4187); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4318); + TSymbolUniqueId(4188); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4319); + TSymbolUniqueId(4189); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4320); + TSymbolUniqueId(4190); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4321); + TSymbolUniqueId(4191); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4322); + TSymbolUniqueId(4192); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4323); + TSymbolUniqueId(4193); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4324); + TSymbolUniqueId(4194); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4325); + TSymbolUniqueId(4195); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4326); + TSymbolUniqueId(4196); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4327); + TSymbolUniqueId(4197); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4328); - static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4329); - static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4330); - static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4331); + TSymbolUniqueId(4198); + static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4199); + static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4200); + static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4201); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4332); + TSymbolUniqueId(4202); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4333); + TSymbolUniqueId(4203); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4334); + TSymbolUniqueId(4204); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4335); + TSymbolUniqueId(4205); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4336); + TSymbolUniqueId(4206); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4337); + TSymbolUniqueId(4207); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4338); + TSymbolUniqueId(4208); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4339); + TSymbolUniqueId(4209); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4340); + TSymbolUniqueId(4210); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4341); + TSymbolUniqueId(4211); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4342); + TSymbolUniqueId(4212); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4343); + TSymbolUniqueId(4213); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4344); + TSymbolUniqueId(4214); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4345); + TSymbolUniqueId(4215); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4346); + TSymbolUniqueId(4216); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4347); + TSymbolUniqueId(4217); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4348); + TSymbolUniqueId(4218); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4349); + TSymbolUniqueId(4219); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4350); + TSymbolUniqueId(4220); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4351); + TSymbolUniqueId(4221); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4352); + TSymbolUniqueId(4222); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4353); + TSymbolUniqueId(4223); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4354); + TSymbolUniqueId(4224); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4355); + TSymbolUniqueId(4225); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4356); + TSymbolUniqueId(4226); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4357); + TSymbolUniqueId(4227); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4358); + TSymbolUniqueId(4228); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4359); + TSymbolUniqueId(4229); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4360); + TSymbolUniqueId(4230); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4361); - static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4362); - static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4363); - static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4364); + TSymbolUniqueId(4231); + static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4232); + static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4233); + static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4234); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4365); + TSymbolUniqueId(4235); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4366); + TSymbolUniqueId(4236); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4367); + TSymbolUniqueId(4237); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4368); + TSymbolUniqueId(4238); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4369); + TSymbolUniqueId(4239); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4370); + TSymbolUniqueId(4240); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4371); + TSymbolUniqueId(4241); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4372); + TSymbolUniqueId(4242); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4373); + TSymbolUniqueId(4243); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4374); + TSymbolUniqueId(4244); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4375); + TSymbolUniqueId(4245); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4376); + TSymbolUniqueId(4246); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4377); + TSymbolUniqueId(4247); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4378); + TSymbolUniqueId(4248); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4379); + TSymbolUniqueId(4249); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4380); + TSymbolUniqueId(4250); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4381); + TSymbolUniqueId(4251); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4382); + TSymbolUniqueId(4252); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4383); + TSymbolUniqueId(4253); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4384); + TSymbolUniqueId(4254); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4385); + TSymbolUniqueId(4255); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4386); + TSymbolUniqueId(4256); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4387); + TSymbolUniqueId(4257); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4388); + TSymbolUniqueId(4258); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4389); + TSymbolUniqueId(4259); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4390); + TSymbolUniqueId(4260); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4391); + TSymbolUniqueId(4261); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4392); + TSymbolUniqueId(4262); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4393); + TSymbolUniqueId(4263); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4394); - static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4395); - static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4396); - static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4397); + TSymbolUniqueId(4264); + static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4265); + static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4266); + static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4267); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4398); + TSymbolUniqueId(4268); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4399); + TSymbolUniqueId(4269); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4400); + TSymbolUniqueId(4270); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4401); + TSymbolUniqueId(4271); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4402); + TSymbolUniqueId(4272); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4403); + TSymbolUniqueId(4273); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4404); + TSymbolUniqueId(4274); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4405); + TSymbolUniqueId(4275); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4406); + TSymbolUniqueId(4276); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4407); + TSymbolUniqueId(4277); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4408); + TSymbolUniqueId(4278); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4409); + TSymbolUniqueId(4279); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4410); + TSymbolUniqueId(4280); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4411); + TSymbolUniqueId(4281); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4412); + TSymbolUniqueId(4282); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4413); + TSymbolUniqueId(4283); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4414); + TSymbolUniqueId(4284); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4415); + TSymbolUniqueId(4285); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4416); + TSymbolUniqueId(4286); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4417); + TSymbolUniqueId(4287); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4418); + TSymbolUniqueId(4288); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4419); + TSymbolUniqueId(4289); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4420); + TSymbolUniqueId(4290); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4421); + TSymbolUniqueId(4291); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4422); + TSymbolUniqueId(4292); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4423); + TSymbolUniqueId(4293); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4424); + TSymbolUniqueId(4294); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4425); + TSymbolUniqueId(4295); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4426); + TSymbolUniqueId(4296); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4427); - static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4428); - static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4429); - static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4430); + TSymbolUniqueId(4297); + static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4298); + static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4299); + static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4300); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4431); + TSymbolUniqueId(4301); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4432); + TSymbolUniqueId(4302); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4433); + TSymbolUniqueId(4303); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4434); + TSymbolUniqueId(4304); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4435); + TSymbolUniqueId(4305); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4436); + TSymbolUniqueId(4306); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4437); + TSymbolUniqueId(4307); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4438); + TSymbolUniqueId(4308); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4439); + TSymbolUniqueId(4309); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4440); + TSymbolUniqueId(4310); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4441); + TSymbolUniqueId(4311); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4442); + TSymbolUniqueId(4312); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4443); + TSymbolUniqueId(4313); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4444); + TSymbolUniqueId(4314); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4445); + TSymbolUniqueId(4315); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4446); + TSymbolUniqueId(4316); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4447); + TSymbolUniqueId(4317); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4448); + TSymbolUniqueId(4318); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4449); + TSymbolUniqueId(4319); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4450); + TSymbolUniqueId(4320); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4451); + TSymbolUniqueId(4321); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4452); + TSymbolUniqueId(4322); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4453); + TSymbolUniqueId(4323); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4454); + TSymbolUniqueId(4324); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4455); + TSymbolUniqueId(4325); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4456); + TSymbolUniqueId(4326); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4457); + TSymbolUniqueId(4327); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4458); + TSymbolUniqueId(4328); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4459); + TSymbolUniqueId(4329); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4460); - static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4461); - static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4462); - static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4463); + TSymbolUniqueId(4330); + static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4331); + static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4332); + static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4333); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4464); + TSymbolUniqueId(4334); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4465); + TSymbolUniqueId(4335); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4466); + TSymbolUniqueId(4336); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4467); + TSymbolUniqueId(4337); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4468); + TSymbolUniqueId(4338); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4469); + TSymbolUniqueId(4339); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4470); + TSymbolUniqueId(4340); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4471); + TSymbolUniqueId(4341); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4472); + TSymbolUniqueId(4342); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4473); + TSymbolUniqueId(4343); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4474); + TSymbolUniqueId(4344); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4475); + TSymbolUniqueId(4345); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4476); + TSymbolUniqueId(4346); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4477); + TSymbolUniqueId(4347); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4478); + TSymbolUniqueId(4348); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4479); + TSymbolUniqueId(4349); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4480); + TSymbolUniqueId(4350); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4481); + TSymbolUniqueId(4351); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4482); + TSymbolUniqueId(4352); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4483); + TSymbolUniqueId(4353); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4484); + TSymbolUniqueId(4354); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4485); + TSymbolUniqueId(4355); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4486); + TSymbolUniqueId(4356); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4487); + TSymbolUniqueId(4357); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4488); + TSymbolUniqueId(4358); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4489); + TSymbolUniqueId(4359); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4490); + TSymbolUniqueId(4360); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4491); + TSymbolUniqueId(4361); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4492); + TSymbolUniqueId(4362); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4493); - static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4494); - static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4495); - static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4496); + TSymbolUniqueId(4363); + static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4364); + static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4365); + static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4366); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4497); + TSymbolUniqueId(4367); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4498); + TSymbolUniqueId(4368); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4499); + TSymbolUniqueId(4369); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4500); + TSymbolUniqueId(4370); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4501); + TSymbolUniqueId(4371); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4502); + TSymbolUniqueId(4372); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(4503); + TSymbolUniqueId(4373); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(4504); + TSymbolUniqueId(4374); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(4505); + TSymbolUniqueId(4375); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(4506); + TSymbolUniqueId(4376); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(4507); + TSymbolUniqueId(4377); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(4508); + TSymbolUniqueId(4378); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(4509); + TSymbolUniqueId(4379); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(4510); + TSymbolUniqueId(4380); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(4511); + TSymbolUniqueId(4381); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4512); + TSymbolUniqueId(4382); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4513); + TSymbolUniqueId(4383); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(4514); + TSymbolUniqueId(4384); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(4515); + TSymbolUniqueId(4385); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4516); + TSymbolUniqueId(4386); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(4517); + TSymbolUniqueId(4387); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4518); + TSymbolUniqueId(4388); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4519); + TSymbolUniqueId(4389); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(4520); + TSymbolUniqueId(4390); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(4521); + TSymbolUniqueId(4391); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(4522); + TSymbolUniqueId(4392); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(4523); + TSymbolUniqueId(4393); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(4524); + TSymbolUniqueId(4394); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4525); + TSymbolUniqueId(4395); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(4526); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(4527); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(4528); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(4529); + TSymbolUniqueId(4396); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(4397); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4398); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(4399); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4530); + TSymbolUniqueId(4400); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4531); + TSymbolUniqueId(4401); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(4532); + TSymbolUniqueId(4402); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4533); + TSymbolUniqueId(4403); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4534); + TSymbolUniqueId(4404); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(4535); + TSymbolUniqueId(4405); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(4536); + TSymbolUniqueId(4406); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(4537); + TSymbolUniqueId(4407); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(4538); + TSymbolUniqueId(4408); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(4539); + TSymbolUniqueId(4409); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(4540); + TSymbolUniqueId(4410); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(4541); + TSymbolUniqueId(4411); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(4542); + TSymbolUniqueId(4412); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(4543); + TSymbolUniqueId(4413); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(4544); + TSymbolUniqueId(4414); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4545); + TSymbolUniqueId(4415); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4546); + TSymbolUniqueId(4416); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(4547); + TSymbolUniqueId(4417); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(4548); + TSymbolUniqueId(4418); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4549); + TSymbolUniqueId(4419); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(4550); + TSymbolUniqueId(4420); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4551); + TSymbolUniqueId(4421); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4552); + TSymbolUniqueId(4422); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(4553); + TSymbolUniqueId(4423); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(4554); + TSymbolUniqueId(4424); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(4555); + TSymbolUniqueId(4425); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(4556); + TSymbolUniqueId(4426); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(4557); + TSymbolUniqueId(4427); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4558); + TSymbolUniqueId(4428); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(4559); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(4560); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(4561); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(4562); + TSymbolUniqueId(4429); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(4430); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4431); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(4432); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4563); + TSymbolUniqueId(4433); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4564); + TSymbolUniqueId(4434); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(4565); + TSymbolUniqueId(4435); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4566); + TSymbolUniqueId(4436); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4567); + TSymbolUniqueId(4437); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4568); + TSymbolUniqueId(4438); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_Float1 = - TSymbolUniqueId(4569); + TSymbolUniqueId(4439); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_Float1 = - TSymbolUniqueId(4570); + TSymbolUniqueId(4440); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_Float1 = - TSymbolUniqueId(4571); + TSymbolUniqueId(4441); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_Float1 = - TSymbolUniqueId(4572); + TSymbolUniqueId(4442); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_Float1 = - TSymbolUniqueId(4573); + TSymbolUniqueId(4443); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_Float1 = - TSymbolUniqueId(4574); + TSymbolUniqueId(4444); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_Float1 = - TSymbolUniqueId(4575); + TSymbolUniqueId(4445); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_Float1 = - TSymbolUniqueId(4576); + TSymbolUniqueId(4446); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_Float1 = - TSymbolUniqueId(4577); + TSymbolUniqueId(4447); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_Float1 = - TSymbolUniqueId(4578); + TSymbolUniqueId(4448); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_Float1 = - TSymbolUniqueId(4579); + TSymbolUniqueId(4449); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_Float1 = - TSymbolUniqueId(4580); + TSymbolUniqueId(4450); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_Float1 = - TSymbolUniqueId(4581); + TSymbolUniqueId(4451); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_Float1 = - TSymbolUniqueId(4582); + TSymbolUniqueId(4452); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_Float1 = - TSymbolUniqueId(4583); + TSymbolUniqueId(4453); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(4584); + TSymbolUniqueId(4454); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(4585); + TSymbolUniqueId(4455); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(4586); + TSymbolUniqueId(4456); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_Float1 = - TSymbolUniqueId(4587); + TSymbolUniqueId(4457); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_Float1 = - TSymbolUniqueId(4588); + TSymbolUniqueId(4458); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_Float1 = - TSymbolUniqueId(4589); + TSymbolUniqueId(4459); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_Float1 = - TSymbolUniqueId(4590); + TSymbolUniqueId(4460); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_Float1 = - TSymbolUniqueId(4591); + TSymbolUniqueId(4461); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_Float1 = - TSymbolUniqueId(4592); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_Float1 = - TSymbolUniqueId(4593); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_Float1 = - TSymbolUniqueId(4594); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_Float1 = - TSymbolUniqueId(4595); + TSymbolUniqueId(4462); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_Float1 = + TSymbolUniqueId(4463); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_Float1 = + TSymbolUniqueId(4464); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_Float1 = + TSymbolUniqueId(4465); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(4596); + TSymbolUniqueId(4466); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(4597); + TSymbolUniqueId(4467); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(4598); + TSymbolUniqueId(4468); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_Float1 = - TSymbolUniqueId(4599); + TSymbolUniqueId(4469); static constexpr const TSymbolUniqueId - imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(4600); + imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(4470); static constexpr const TSymbolUniqueId - imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(4601); + imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(4471); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4602); + TSymbolUniqueId(4472); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4603); + TSymbolUniqueId(4473); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4604); + TSymbolUniqueId(4474); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4605); + TSymbolUniqueId(4475); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4606); + TSymbolUniqueId(4476); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4607); + TSymbolUniqueId(4477); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4608); + TSymbolUniqueId(4478); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4609); + TSymbolUniqueId(4479); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4610); + TSymbolUniqueId(4480); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4611); + TSymbolUniqueId(4481); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4612); + TSymbolUniqueId(4482); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4613); + TSymbolUniqueId(4483); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4614); + TSymbolUniqueId(4484); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4615); + TSymbolUniqueId(4485); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4616); + TSymbolUniqueId(4486); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCubeArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(4617); + TSymbolUniqueId(4487); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(4618); + imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(4488); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(4619); + imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(4489); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4620); + TSymbolUniqueId(4490); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4621); + TSymbolUniqueId(4491); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(4622); + TSymbolUniqueId(4492); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4623); + TSymbolUniqueId(4493); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4624); + TSymbolUniqueId(4494); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4625); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4626); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4627); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(4628); + TSymbolUniqueId(4495); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(4496); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(4497); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(4498); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_UInt1_UInt1 = - TSymbolUniqueId(4629); + TSymbolUniqueId(4499); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(4630); + imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(4500); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(4631); + imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(4501); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4632); + imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4502); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4633); + imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4503); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4634); + imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(4504); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2D1_Int2_Int1_Int1 = - TSymbolUniqueId(4635); + TSymbolUniqueId(4505); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(4636); + TSymbolUniqueId(4506); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(4637); + TSymbolUniqueId(4507); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image3D1_Int3_Int1_Int1 = - TSymbolUniqueId(4638); + TSymbolUniqueId(4508); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(4639); + TSymbolUniqueId(4509); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(4640); + TSymbolUniqueId(4510); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(4641); + TSymbolUniqueId(4511); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(4642); + TSymbolUniqueId(4512); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(4643); + TSymbolUniqueId(4513); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(4644); + TSymbolUniqueId(4514); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(4645); + TSymbolUniqueId(4515); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(4646); + TSymbolUniqueId(4516); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4647); + TSymbolUniqueId(4517); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4648); + TSymbolUniqueId(4518); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4649); + TSymbolUniqueId(4519); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4650); + TSymbolUniqueId(4520); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4651); + TSymbolUniqueId(4521); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(4652); + TSymbolUniqueId(4522); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1D1_Int1_Int1_Int1 = - TSymbolUniqueId(4653); + TSymbolUniqueId(4523); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(4654); + TSymbolUniqueId(4524); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(4655); + TSymbolUniqueId(4525); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(4656); + TSymbolUniqueId(4526); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(4657); + TSymbolUniqueId(4527); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(4658); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(4659); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(4660); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(4661); + TSymbolUniqueId(4528); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(4529); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(4530); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(4531); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(4662); + TSymbolUniqueId(4532); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(4663); + TSymbolUniqueId(4533); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(4664); + TSymbolUniqueId(4534); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4665); + imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4535); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4666); + imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4536); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4667); - static constexpr const TSymbolUniqueId memoryBarrier = TSymbolUniqueId(4668); - static constexpr const TSymbolUniqueId memoryBarrierAtomicCounter = TSymbolUniqueId(4669); - static constexpr const TSymbolUniqueId memoryBarrierBuffer = TSymbolUniqueId(4670); - static constexpr const TSymbolUniqueId memoryBarrierImage = TSymbolUniqueId(4671); - static constexpr const TSymbolUniqueId barrier = TSymbolUniqueId(4672); - static constexpr const TSymbolUniqueId memoryBarrierShared = TSymbolUniqueId(4673); - static constexpr const TSymbolUniqueId groupMemoryBarrier = TSymbolUniqueId(4674); - static constexpr const TSymbolUniqueId barrierES3_2 = TSymbolUniqueId(4675); - static constexpr const TSymbolUniqueId EmitVertex = TSymbolUniqueId(4676); - static constexpr const TSymbolUniqueId EmitVertexES3_2 = TSymbolUniqueId(4677); - static constexpr const TSymbolUniqueId EndPrimitive = TSymbolUniqueId(4678); - static constexpr const TSymbolUniqueId EndPrimitiveES3_2 = TSymbolUniqueId(4679); + imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(4537); + static constexpr const TSymbolUniqueId imageStore_Image2D1_Int2_Float4 = TSymbolUniqueId(4538); + static constexpr const TSymbolUniqueId imageStore_IImage2D1_Int2_Int4 = TSymbolUniqueId(4539); + static constexpr const TSymbolUniqueId imageStore_UImage2D1_Int2_UInt4 = TSymbolUniqueId(4540); + static constexpr const TSymbolUniqueId imageStore_Image3D1_Int3_Float4 = TSymbolUniqueId(4541); + static constexpr const TSymbolUniqueId imageStore_IImage3D1_Int3_Int4 = TSymbolUniqueId(4542); + static constexpr const TSymbolUniqueId imageStore_UImage3D1_Int3_UInt4 = TSymbolUniqueId(4543); + static constexpr const TSymbolUniqueId imageStore_Image2DArray1_Int3_Float4 = + TSymbolUniqueId(4544); + static constexpr const TSymbolUniqueId imageStore_IImage2DArray1_Int3_Int4 = + TSymbolUniqueId(4545); + static constexpr const TSymbolUniqueId imageStore_UImage2DArray1_Int3_UInt4 = + TSymbolUniqueId(4546); + static constexpr const TSymbolUniqueId imageStore_ImageCube1_Int3_Float4 = + TSymbolUniqueId(4547); + static constexpr const TSymbolUniqueId imageStore_IImageCube1_Int3_Int4 = TSymbolUniqueId(4548); + static constexpr const TSymbolUniqueId imageStore_UImageCube1_Int3_UInt4 = + TSymbolUniqueId(4549); + static constexpr const TSymbolUniqueId imageStore_ImageCubeArray1_Int3_Float4 = + TSymbolUniqueId(4550); + static constexpr const TSymbolUniqueId imageStore_IImageCubeArray1_Int3_Int4 = + TSymbolUniqueId(4551); + static constexpr const TSymbolUniqueId imageStore_UImageCubeArray1_Int3_UInt4 = + TSymbolUniqueId(4552); + static constexpr const TSymbolUniqueId imageStore_ImageBuffer1_Int1_Float4 = + TSymbolUniqueId(4553); + static constexpr const TSymbolUniqueId imageStore_IImageBuffer1_Int1_Int4 = + TSymbolUniqueId(4554); + static constexpr const TSymbolUniqueId imageStore_UImageBuffer1_Int1_UInt4 = + TSymbolUniqueId(4555); + static constexpr const TSymbolUniqueId memoryBarrier = TSymbolUniqueId(4556); + static constexpr const TSymbolUniqueId memoryBarrierAtomicCounter = TSymbolUniqueId(4557); + static constexpr const TSymbolUniqueId memoryBarrierBuffer = TSymbolUniqueId(4558); + static constexpr const TSymbolUniqueId memoryBarrierImage = TSymbolUniqueId(4559); + static constexpr const TSymbolUniqueId barrier = TSymbolUniqueId(4560); + static constexpr const TSymbolUniqueId memoryBarrierShared = TSymbolUniqueId(4561); + static constexpr const TSymbolUniqueId groupMemoryBarrier = TSymbolUniqueId(4562); + static constexpr const TSymbolUniqueId EmitVertex = TSymbolUniqueId(4563); + static constexpr const TSymbolUniqueId EndPrimitive = TSymbolUniqueId(4564); static constexpr const TSymbolUniqueId textureVideoWEBGL_SamplerVideoWEBGL1_Float2 = - TSymbolUniqueId(4680); - static constexpr const TSymbolUniqueId pt00y = TSymbolUniqueId(4681); + TSymbolUniqueId(4565); + static constexpr const TSymbolUniqueId pt00y = TSymbolUniqueId(4566); static constexpr const TSymbolUniqueId texture_SamplerVideoWEBGL1_Float2 = - TSymbolUniqueId(4682); - static constexpr const TSymbolUniqueId gl_DepthRangeParameters = TSymbolUniqueId(4683); - static constexpr const TSymbolUniqueId gl_DepthRange = TSymbolUniqueId(4684); - static constexpr const TSymbolUniqueId gl_NumSamples = TSymbolUniqueId(4685); - static constexpr const TSymbolUniqueId gl_NumSamplesES3_2 = TSymbolUniqueId(4686); - static constexpr const TSymbolUniqueId gl_MaxVertexAttribs = TSymbolUniqueId(4687); - static constexpr const TSymbolUniqueId gl_MaxVertexUniformVectors = TSymbolUniqueId(4688); - static constexpr const TSymbolUniqueId gl_MaxVertexTextureImageUnits = TSymbolUniqueId(4689); - static constexpr const TSymbolUniqueId gl_MaxCombinedTextureImageUnits = TSymbolUniqueId(4690); - static constexpr const TSymbolUniqueId gl_MaxTextureImageUnits = TSymbolUniqueId(4691); - static constexpr const TSymbolUniqueId gl_MaxFragmentUniformVectors = TSymbolUniqueId(4692); - static constexpr const TSymbolUniqueId gl_MaxVaryingVectors = TSymbolUniqueId(4693); - static constexpr const TSymbolUniqueId gl_MaxDrawBuffers = TSymbolUniqueId(4694); - static constexpr const TSymbolUniqueId gl_MaxDualSourceDrawBuffersEXT = TSymbolUniqueId(4695); - static constexpr const TSymbolUniqueId gl_MaxVertexOutputVectors = TSymbolUniqueId(4696); - static constexpr const TSymbolUniqueId gl_MaxFragmentInputVectors = TSymbolUniqueId(4697); - static constexpr const TSymbolUniqueId gl_MinProgramTexelOffset = TSymbolUniqueId(4698); - static constexpr const TSymbolUniqueId gl_MaxProgramTexelOffset = TSymbolUniqueId(4699); - static constexpr const TSymbolUniqueId gl_MaxImageUnits = TSymbolUniqueId(4700); - static constexpr const TSymbolUniqueId gl_MaxVertexImageUniforms = TSymbolUniqueId(4701); - static constexpr const TSymbolUniqueId gl_MaxFragmentImageUniforms = TSymbolUniqueId(4702); - static constexpr const TSymbolUniqueId gl_MaxComputeImageUniforms = TSymbolUniqueId(4703); - static constexpr const TSymbolUniqueId gl_MaxCombinedImageUniforms = TSymbolUniqueId(4704); + TSymbolUniqueId(4567); + static constexpr const TSymbolUniqueId gl_DepthRangeParameters = TSymbolUniqueId(4568); + static constexpr const TSymbolUniqueId gl_DepthRange = TSymbolUniqueId(4569); + static constexpr const TSymbolUniqueId gl_MaxVertexAttribs = TSymbolUniqueId(4570); + static constexpr const TSymbolUniqueId gl_MaxVertexUniformVectors = TSymbolUniqueId(4571); + static constexpr const TSymbolUniqueId gl_MaxVertexTextureImageUnits = TSymbolUniqueId(4572); + static constexpr const TSymbolUniqueId gl_MaxCombinedTextureImageUnits = TSymbolUniqueId(4573); + static constexpr const TSymbolUniqueId gl_MaxTextureImageUnits = TSymbolUniqueId(4574); + static constexpr const TSymbolUniqueId gl_MaxFragmentUniformVectors = TSymbolUniqueId(4575); + static constexpr const TSymbolUniqueId gl_MaxVaryingVectors = TSymbolUniqueId(4576); + static constexpr const TSymbolUniqueId gl_MaxDrawBuffers = TSymbolUniqueId(4577); + static constexpr const TSymbolUniqueId gl_MaxDualSourceDrawBuffersEXT = TSymbolUniqueId(4578); + static constexpr const TSymbolUniqueId gl_MaxVertexOutputVectors = TSymbolUniqueId(4579); + static constexpr const TSymbolUniqueId gl_MaxFragmentInputVectors = TSymbolUniqueId(4580); + static constexpr const TSymbolUniqueId gl_MinProgramTexelOffset = TSymbolUniqueId(4581); + static constexpr const TSymbolUniqueId gl_MaxProgramTexelOffset = TSymbolUniqueId(4582); + static constexpr const TSymbolUniqueId gl_MaxImageUnits = TSymbolUniqueId(4583); + static constexpr const TSymbolUniqueId gl_MaxVertexImageUniforms = TSymbolUniqueId(4584); + static constexpr const TSymbolUniqueId gl_MaxFragmentImageUniforms = TSymbolUniqueId(4585); + static constexpr const TSymbolUniqueId gl_MaxComputeImageUniforms = TSymbolUniqueId(4586); + static constexpr const TSymbolUniqueId gl_MaxCombinedImageUniforms = TSymbolUniqueId(4587); static constexpr const TSymbolUniqueId gl_MaxCombinedShaderOutputResources = - TSymbolUniqueId(4705); - static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupCount = TSymbolUniqueId(4706); - static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupSize = TSymbolUniqueId(4707); - static constexpr const TSymbolUniqueId gl_MaxComputeUniformComponents = TSymbolUniqueId(4708); - static constexpr const TSymbolUniqueId gl_MaxComputeTextureImageUnits = TSymbolUniqueId(4709); - static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounters = TSymbolUniqueId(4710); + TSymbolUniqueId(4588); + static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupCount = TSymbolUniqueId(4589); + static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupSize = TSymbolUniqueId(4590); + static constexpr const TSymbolUniqueId gl_MaxComputeUniformComponents = TSymbolUniqueId(4591); + static constexpr const TSymbolUniqueId gl_MaxComputeTextureImageUnits = TSymbolUniqueId(4592); + static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounters = TSymbolUniqueId(4593); static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounterBuffers = - TSymbolUniqueId(4711); - static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounters = TSymbolUniqueId(4712); - static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounters = TSymbolUniqueId(4713); - static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounters = TSymbolUniqueId(4714); - static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBindings = TSymbolUniqueId(4715); - static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounterBuffers = TSymbolUniqueId(4716); + TSymbolUniqueId(4594); + static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounters = TSymbolUniqueId(4595); + static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounters = TSymbolUniqueId(4596); + static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounters = TSymbolUniqueId(4597); + static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBindings = TSymbolUniqueId(4598); + static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounterBuffers = TSymbolUniqueId(4599); static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounterBuffers = - TSymbolUniqueId(4717); + TSymbolUniqueId(4600); static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounterBuffers = - TSymbolUniqueId(4718); - static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBufferSize = TSymbolUniqueId(4719); - static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponents = TSymbolUniqueId(4720); - static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponentsES3_2 = - TSymbolUniqueId(4721); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponents = TSymbolUniqueId(4722); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponentsES3_2 = - TSymbolUniqueId(4723); - static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniforms = TSymbolUniqueId(4724); - static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniformsES3_2 = TSymbolUniqueId(4725); - static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnits = TSymbolUniqueId(4726); - static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnitsES3_2 = - TSymbolUniqueId(4727); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVertices = TSymbolUniqueId(4728); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVerticesES3_2 = - TSymbolUniqueId(4729); + TSymbolUniqueId(4601); + static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBufferSize = TSymbolUniqueId(4602); + static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponents = TSymbolUniqueId(4603); + static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponents = TSymbolUniqueId(4604); + static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniforms = TSymbolUniqueId(4605); + static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnits = TSymbolUniqueId(4606); + static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVertices = TSymbolUniqueId(4607); static constexpr const TSymbolUniqueId gl_MaxGeometryTotalOutputComponents = - TSymbolUniqueId(4730); - static constexpr const TSymbolUniqueId gl_MaxGeometryTotalOutputComponentsES3_2 = - TSymbolUniqueId(4731); - static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponents = TSymbolUniqueId(4732); - static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponentsES3_2 = - TSymbolUniqueId(4733); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounters = TSymbolUniqueId(4734); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCountersES3_2 = - TSymbolUniqueId(4735); + TSymbolUniqueId(4608); + static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponents = TSymbolUniqueId(4609); + static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounters = TSymbolUniqueId(4610); static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounterBuffers = - TSymbolUniqueId(4736); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounterBuffersES3_2 = - TSymbolUniqueId(4737); - static constexpr const TSymbolUniqueId gl_MaxTessControlInputComponents = TSymbolUniqueId(4738); - static constexpr const TSymbolUniqueId gl_MaxTessControlInputComponentsES3_2 = - TSymbolUniqueId(4739); - static constexpr const TSymbolUniqueId gl_MaxTessControlOutputComponents = - TSymbolUniqueId(4740); - static constexpr const TSymbolUniqueId gl_MaxTessControlOutputComponentsES3_2 = - TSymbolUniqueId(4741); - static constexpr const TSymbolUniqueId gl_MaxTessControlTextureImageUnits = - TSymbolUniqueId(4742); - static constexpr const TSymbolUniqueId gl_MaxTessControlTextureImageUnitsES3_2 = - TSymbolUniqueId(4743); - static constexpr const TSymbolUniqueId gl_MaxTessControlUniformComponents = - TSymbolUniqueId(4744); - static constexpr const TSymbolUniqueId gl_MaxTessControlUniformComponentsES3_2 = - TSymbolUniqueId(4745); - static constexpr const TSymbolUniqueId gl_MaxTessControlTotalOutputComponents = - TSymbolUniqueId(4746); - static constexpr const TSymbolUniqueId gl_MaxTessControlTotalOutputComponentsES3_2 = - TSymbolUniqueId(4747); - static constexpr const TSymbolUniqueId gl_MaxTessControlImageUniforms = TSymbolUniqueId(4748); - static constexpr const TSymbolUniqueId gl_MaxTessControlImageUniformsES3_2 = - TSymbolUniqueId(4749); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounters = TSymbolUniqueId(4750); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCountersES3_2 = - TSymbolUniqueId(4751); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounterBuffers = - TSymbolUniqueId(4752); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounterBuffersES3_2 = - TSymbolUniqueId(4753); - static constexpr const TSymbolUniqueId gl_MaxTessPatchComponents = TSymbolUniqueId(4754); - static constexpr const TSymbolUniqueId gl_MaxTessPatchComponentsES3_2 = TSymbolUniqueId(4755); - static constexpr const TSymbolUniqueId gl_MaxPatchVertices = TSymbolUniqueId(4756); - static constexpr const TSymbolUniqueId gl_MaxPatchVerticesES3_2 = TSymbolUniqueId(4757); - static constexpr const TSymbolUniqueId gl_MaxTessGenLevel = TSymbolUniqueId(4758); - static constexpr const TSymbolUniqueId gl_MaxTessGenLevelES3_2 = TSymbolUniqueId(4759); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationInputComponents = - TSymbolUniqueId(4760); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationInputComponentsES3_2 = - TSymbolUniqueId(4761); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationOutputComponents = - TSymbolUniqueId(4762); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationOutputComponentsES3_2 = - TSymbolUniqueId(4763); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationTextureImageUnits = - TSymbolUniqueId(4764); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationTextureImageUnitsES3_2 = - TSymbolUniqueId(4765); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationUniformComponents = - TSymbolUniqueId(4766); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationUniformComponentsES3_2 = - TSymbolUniqueId(4767); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationImageUniforms = - TSymbolUniqueId(4768); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationImageUniformsES3_2 = - TSymbolUniqueId(4769); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounters = - TSymbolUniqueId(4770); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCountersES3_2 = - TSymbolUniqueId(4771); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounterBuffers = - TSymbolUniqueId(4772); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounterBuffersES3_2 = - TSymbolUniqueId(4773); - static constexpr const TSymbolUniqueId gl_MaxSamples = TSymbolUniqueId(4774); - static constexpr const TSymbolUniqueId gl_MaxSamplesES3_2 = TSymbolUniqueId(4775); - static constexpr const TSymbolUniqueId gl_MaxClipDistancesAPPLE = TSymbolUniqueId(4776); - static constexpr const TSymbolUniqueId gl_MaxCullDistancesEXT = TSymbolUniqueId(4777); - static constexpr const TSymbolUniqueId gl_MaxCombinedClipAndCullDistancesEXT = - TSymbolUniqueId(4778); - static constexpr const TSymbolUniqueId gl_FragCoord = TSymbolUniqueId(4779); - static constexpr const TSymbolUniqueId gl_FrontFacing = TSymbolUniqueId(4780); - static constexpr const TSymbolUniqueId gl_PointCoord = TSymbolUniqueId(4781); - static constexpr const TSymbolUniqueId gl_FragColor = TSymbolUniqueId(4782); - static constexpr const TSymbolUniqueId gl_FragData = TSymbolUniqueId(4783); - static constexpr const TSymbolUniqueId gl_FragDepth = TSymbolUniqueId(4784); - static constexpr const TSymbolUniqueId gl_HelperInvocation = TSymbolUniqueId(4785); - static constexpr const TSymbolUniqueId gl_SecondaryFragColorEXT = TSymbolUniqueId(4786); - static constexpr const TSymbolUniqueId gl_SecondaryFragDataEXT = TSymbolUniqueId(4787); - static constexpr const TSymbolUniqueId gl_FragDepthEXT = TSymbolUniqueId(4788); - static constexpr const TSymbolUniqueId gl_LastFragData = TSymbolUniqueId(4789); - static constexpr const TSymbolUniqueId gl_LastFragDataNonCoherent = TSymbolUniqueId(4790); - static constexpr const TSymbolUniqueId gl_LastFragColor = TSymbolUniqueId(4791); - static constexpr const TSymbolUniqueId gl_LastFragDataNV = TSymbolUniqueId(4792); - static constexpr const TSymbolUniqueId gl_LastFragColorARM = TSymbolUniqueId(4793); - static constexpr const TSymbolUniqueId gl_PrimitiveID = TSymbolUniqueId(4794); - static constexpr const TSymbolUniqueId gl_PrimitiveIDES3_2 = TSymbolUniqueId(4795); - static constexpr const TSymbolUniqueId gl_Layer = TSymbolUniqueId(4796); - static constexpr const TSymbolUniqueId gl_LayerES3_2 = TSymbolUniqueId(4797); - static constexpr const TSymbolUniqueId gl_SampleID = TSymbolUniqueId(4798); - static constexpr const TSymbolUniqueId gl_SampleIDES3_2 = TSymbolUniqueId(4799); - static constexpr const TSymbolUniqueId gl_SamplePosition = TSymbolUniqueId(4800); - static constexpr const TSymbolUniqueId gl_SamplePositionES3_2 = TSymbolUniqueId(4801); - static constexpr const TSymbolUniqueId gl_SampleMaskIn = TSymbolUniqueId(4802); - static constexpr const TSymbolUniqueId gl_SampleMaskInES3_2 = TSymbolUniqueId(4803); - static constexpr const TSymbolUniqueId gl_SampleMask = TSymbolUniqueId(4804); - static constexpr const TSymbolUniqueId gl_SampleMaskES3_2 = TSymbolUniqueId(4805); - static constexpr const TSymbolUniqueId gl_CullDistance = TSymbolUniqueId(4806); - static constexpr const TSymbolUniqueId gl_ClipDistance = TSymbolUniqueId(4807); - static constexpr const TSymbolUniqueId gl_Position = TSymbolUniqueId(4808); - static constexpr const TSymbolUniqueId gl_PointSize = TSymbolUniqueId(4809); - static constexpr const TSymbolUniqueId gl_InstanceID = TSymbolUniqueId(4810); - static constexpr const TSymbolUniqueId gl_InstanceIndex = TSymbolUniqueId(4811); - static constexpr const TSymbolUniqueId gl_VertexID = TSymbolUniqueId(4812); - static constexpr const TSymbolUniqueId gl_VertexIndex = TSymbolUniqueId(4813); - static constexpr const TSymbolUniqueId gl_ViewportIndex = TSymbolUniqueId(4814); - static constexpr const TSymbolUniqueId gl_LayerVS = TSymbolUniqueId(4815); - static constexpr const TSymbolUniqueId gl_DrawID = TSymbolUniqueId(4816); - static constexpr const TSymbolUniqueId gl_BaseVertex = TSymbolUniqueId(4817); - static constexpr const TSymbolUniqueId gl_BaseInstance = TSymbolUniqueId(4818); - static constexpr const TSymbolUniqueId angle_BaseVertex = TSymbolUniqueId(4819); - static constexpr const TSymbolUniqueId angle_BaseInstance = TSymbolUniqueId(4820); - static constexpr const TSymbolUniqueId gl_ClipDistanceAPPLE = TSymbolUniqueId(4821); - static constexpr const TSymbolUniqueId gl_CullDistanceEXT = TSymbolUniqueId(4822); - static constexpr const TSymbolUniqueId gl_NumWorkGroups = TSymbolUniqueId(4823); - static constexpr const TSymbolUniqueId gl_WorkGroupSize = TSymbolUniqueId(4824); - static constexpr const TSymbolUniqueId gl_WorkGroupID = TSymbolUniqueId(4825); - static constexpr const TSymbolUniqueId gl_LocalInvocationID = TSymbolUniqueId(4826); - static constexpr const TSymbolUniqueId gl_GlobalInvocationID = TSymbolUniqueId(4827); - static constexpr const TSymbolUniqueId gl_LocalInvocationIndex = TSymbolUniqueId(4828); - static constexpr const TSymbolUniqueId gl_PrimitiveIDIn = TSymbolUniqueId(4829); - static constexpr const TSymbolUniqueId gl_PrimitiveIDInES3_2 = TSymbolUniqueId(4830); - static constexpr const TSymbolUniqueId gl_InvocationID = TSymbolUniqueId(4831); - static constexpr const TSymbolUniqueId gl_InvocationIDES3_2 = TSymbolUniqueId(4832); - static constexpr const TSymbolUniqueId gl_PrimitiveIDGS = TSymbolUniqueId(4833); - static constexpr const TSymbolUniqueId gl_PrimitiveIDGSES3_2 = TSymbolUniqueId(4834); - static constexpr const TSymbolUniqueId gl_LayerGS = TSymbolUniqueId(4835); - static constexpr const TSymbolUniqueId gl_LayerGSES3_2 = TSymbolUniqueId(4836); - static constexpr const TSymbolUniqueId gl_PerVertex = TSymbolUniqueId(4837); - static constexpr const TSymbolUniqueId gl_PerVertexES3_2 = TSymbolUniqueId(4838); - static constexpr const TSymbolUniqueId gl_in = TSymbolUniqueId(4839); - static constexpr const TSymbolUniqueId gl_inES3_2 = TSymbolUniqueId(4840); - static constexpr const TSymbolUniqueId gl_PerVertexOutBlock = TSymbolUniqueId(4841); - static constexpr const TSymbolUniqueId gl_PerVertexOutBlockES3_2 = TSymbolUniqueId(4842); - static constexpr const TSymbolUniqueId gl_PositionGS = TSymbolUniqueId(4843); - static constexpr const TSymbolUniqueId gl_PositionGSES3_2 = TSymbolUniqueId(4844); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTCS = TSymbolUniqueId(4845); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTCSES3_2 = TSymbolUniqueId(4846); - static constexpr const TSymbolUniqueId gl_InvocationIDTCS = TSymbolUniqueId(4847); - static constexpr const TSymbolUniqueId gl_InvocationIDTCSES3_2 = TSymbolUniqueId(4848); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTCS = TSymbolUniqueId(4849); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTCSES3_2 = TSymbolUniqueId(4850); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTCS = TSymbolUniqueId(4851); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTCSES3_2 = TSymbolUniqueId(4852); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTCS = TSymbolUniqueId(4853); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTCSES3_2 = TSymbolUniqueId(4854); - static constexpr const TSymbolUniqueId gl_PerVertexTCS = TSymbolUniqueId(4855); - static constexpr const TSymbolUniqueId gl_PerVertexTCSES3_2 = TSymbolUniqueId(4856); - static constexpr const TSymbolUniqueId gl_inTCS = TSymbolUniqueId(4857); - static constexpr const TSymbolUniqueId gl_inTCSES3_2 = TSymbolUniqueId(4858); - static constexpr const TSymbolUniqueId gl_outTCS = TSymbolUniqueId(4859); - static constexpr const TSymbolUniqueId gl_outTCSES3_2 = TSymbolUniqueId(4860); - static constexpr const TSymbolUniqueId gl_PerVertexOutTcsBlock = TSymbolUniqueId(4861); - static constexpr const TSymbolUniqueId gl_PerVertexOutTcsBlockES3_2 = TSymbolUniqueId(4862); - static constexpr const TSymbolUniqueId gl_PositionTCS = TSymbolUniqueId(4863); - static constexpr const TSymbolUniqueId gl_PositionTCSES3_2 = TSymbolUniqueId(4864); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTES = TSymbolUniqueId(4865); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTESES3_2 = TSymbolUniqueId(4866); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTES = TSymbolUniqueId(4867); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTESES3_2 = TSymbolUniqueId(4868); - static constexpr const TSymbolUniqueId gl_TessCoord = TSymbolUniqueId(4869); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTES = TSymbolUniqueId(4870); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTESES3_2 = TSymbolUniqueId(4871); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTES = TSymbolUniqueId(4872); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTESES3_2 = TSymbolUniqueId(4873); - static constexpr const TSymbolUniqueId gl_PerVertexTES = TSymbolUniqueId(4874); - static constexpr const TSymbolUniqueId gl_PerVertexTESES3_2 = TSymbolUniqueId(4875); - static constexpr const TSymbolUniqueId gl_inTES = TSymbolUniqueId(4876); - static constexpr const TSymbolUniqueId gl_inTESES3_2 = TSymbolUniqueId(4877); - static constexpr const TSymbolUniqueId gl_outTES = TSymbolUniqueId(4878); - static constexpr const TSymbolUniqueId gl_outTESES3_2 = TSymbolUniqueId(4879); - static constexpr const TSymbolUniqueId gl_PerVertexOutTesBlock = TSymbolUniqueId(4880); - static constexpr const TSymbolUniqueId gl_PerVertexOutTesBlockES3_2 = TSymbolUniqueId(4881); - static constexpr const TSymbolUniqueId gl_PositionTES = TSymbolUniqueId(4882); - static constexpr const TSymbolUniqueId gl_PositionTESES3_2 = TSymbolUniqueId(4883); - static constexpr const TSymbolUniqueId gl_ViewID_OVR = TSymbolUniqueId(4884); + TSymbolUniqueId(4611); + static constexpr const TSymbolUniqueId gl_FragCoord = TSymbolUniqueId(4612); + static constexpr const TSymbolUniqueId gl_FrontFacing = TSymbolUniqueId(4613); + static constexpr const TSymbolUniqueId gl_PointCoord = TSymbolUniqueId(4614); + static constexpr const TSymbolUniqueId gl_FragColor = TSymbolUniqueId(4615); + static constexpr const TSymbolUniqueId gl_FragData = TSymbolUniqueId(4616); + static constexpr const TSymbolUniqueId gl_FragDepth = TSymbolUniqueId(4617); + static constexpr const TSymbolUniqueId gl_HelperInvocation = TSymbolUniqueId(4618); + static constexpr const TSymbolUniqueId gl_SecondaryFragColorEXT = TSymbolUniqueId(4619); + static constexpr const TSymbolUniqueId gl_SecondaryFragDataEXT = TSymbolUniqueId(4620); + static constexpr const TSymbolUniqueId gl_FragDepthEXT = TSymbolUniqueId(4621); + static constexpr const TSymbolUniqueId gl_LastFragData = TSymbolUniqueId(4622); + static constexpr const TSymbolUniqueId gl_LastFragColor = TSymbolUniqueId(4623); + static constexpr const TSymbolUniqueId gl_LastFragDataNV = TSymbolUniqueId(4624); + static constexpr const TSymbolUniqueId gl_LastFragColorARM = TSymbolUniqueId(4625); + static constexpr const TSymbolUniqueId gl_PrimitiveID = TSymbolUniqueId(4626); + static constexpr const TSymbolUniqueId gl_Layer = TSymbolUniqueId(4627); + static constexpr const TSymbolUniqueId gl_Position = TSymbolUniqueId(4628); + static constexpr const TSymbolUniqueId gl_PointSize = TSymbolUniqueId(4629); + static constexpr const TSymbolUniqueId gl_InstanceID = TSymbolUniqueId(4630); + static constexpr const TSymbolUniqueId gl_InstanceIndex = TSymbolUniqueId(4631); + static constexpr const TSymbolUniqueId gl_VertexID = TSymbolUniqueId(4632); + static constexpr const TSymbolUniqueId gl_VertexIndex = TSymbolUniqueId(4633); + static constexpr const TSymbolUniqueId gl_ViewportIndex = TSymbolUniqueId(4634); + static constexpr const TSymbolUniqueId gl_LayerVS = TSymbolUniqueId(4635); + static constexpr const TSymbolUniqueId gl_DrawID = TSymbolUniqueId(4636); + static constexpr const TSymbolUniqueId gl_BaseVertex = TSymbolUniqueId(4637); + static constexpr const TSymbolUniqueId gl_BaseInstance = TSymbolUniqueId(4638); + static constexpr const TSymbolUniqueId angle_BaseVertex = TSymbolUniqueId(4639); + static constexpr const TSymbolUniqueId angle_BaseInstance = TSymbolUniqueId(4640); + static constexpr const TSymbolUniqueId gl_ClipDistance = TSymbolUniqueId(4641); + static constexpr const TSymbolUniqueId gl_MaxClipDistances = TSymbolUniqueId(4642); + static constexpr const TSymbolUniqueId gl_NumWorkGroups = TSymbolUniqueId(4643); + static constexpr const TSymbolUniqueId gl_WorkGroupSize = TSymbolUniqueId(4644); + static constexpr const TSymbolUniqueId gl_WorkGroupID = TSymbolUniqueId(4645); + static constexpr const TSymbolUniqueId gl_LocalInvocationID = TSymbolUniqueId(4646); + static constexpr const TSymbolUniqueId gl_GlobalInvocationID = TSymbolUniqueId(4647); + static constexpr const TSymbolUniqueId gl_LocalInvocationIndex = TSymbolUniqueId(4648); + static constexpr const TSymbolUniqueId gl_PrimitiveIDIn = TSymbolUniqueId(4649); + static constexpr const TSymbolUniqueId gl_InvocationID = TSymbolUniqueId(4650); + static constexpr const TSymbolUniqueId gl_PrimitiveIDGS = TSymbolUniqueId(4651); + static constexpr const TSymbolUniqueId gl_LayerGS = TSymbolUniqueId(4652); + static constexpr const TSymbolUniqueId gl_PerVertex = TSymbolUniqueId(4653); + static constexpr const TSymbolUniqueId gl_in = TSymbolUniqueId(4654); + static constexpr const TSymbolUniqueId gl_PerVertexOutBlock = TSymbolUniqueId(4655); + static constexpr const TSymbolUniqueId gl_PositionGS = TSymbolUniqueId(4656); + static constexpr const TSymbolUniqueId gl_ViewID_OVR = TSymbolUniqueId(4657); }; // class BuiltInId @@ -2869,44 +2718,21 @@ const TVariable *gl_HelperInvocation(); const TVariable *gl_InstanceID(); const TVariable *gl_InstanceIndex(); const TVariable *gl_InvocationID(); -const TVariable *gl_InvocationIDES3_2(); -const TVariable *gl_InvocationIDTCS(); -const TVariable *gl_InvocationIDTCSES3_2(); const TVariable *gl_LastFragColor(); const TVariable *gl_LastFragColorARM(); const TVariable *gl_Layer(); -const TVariable *gl_LayerES3_2(); const TVariable *gl_LayerGS(); -const TVariable *gl_LayerGSES3_2(); const TVariable *gl_LayerVS(); const TVariable *gl_LocalInvocationID(); const TVariable *gl_LocalInvocationIndex(); -const TVariable *gl_NumSamples(); -const TVariable *gl_NumSamplesES3_2(); const TVariable *gl_NumWorkGroups(); -const TVariable *gl_PatchVerticesInTCS(); -const TVariable *gl_PatchVerticesInTCSES3_2(); -const TVariable *gl_PatchVerticesInTES(); -const TVariable *gl_PatchVerticesInTESES3_2(); const TVariable *gl_PointCoord(); const TVariable *gl_PointSize(); const TVariable *gl_Position(); const TVariable *gl_PrimitiveID(); -const TVariable *gl_PrimitiveIDES3_2(); const TVariable *gl_PrimitiveIDGS(); -const TVariable *gl_PrimitiveIDGSES3_2(); const TVariable *gl_PrimitiveIDIn(); -const TVariable *gl_PrimitiveIDInES3_2(); -const TVariable *gl_PrimitiveIDTCS(); -const TVariable *gl_PrimitiveIDTCSES3_2(); -const TVariable *gl_PrimitiveIDTES(); -const TVariable *gl_PrimitiveIDTESES3_2(); -const TVariable *gl_SampleID(); -const TVariable *gl_SampleIDES3_2(); -const TVariable *gl_SamplePosition(); -const TVariable *gl_SamplePositionES3_2(); const TVariable *gl_SecondaryFragColorEXT(); -const TVariable *gl_TessCoord(); const TVariable *gl_VertexID(); const TVariable *gl_VertexIndex(); const TVariable *gl_ViewID_OVR(); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_complete_autogen.h b/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_complete_autogen.h index eadcf2a12925..9b2c9a2601b0 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_complete_autogen.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/BuiltIn_complete_autogen.h @@ -2,7 +2,7 @@ // Generated by gen_builtin_symbols.py using data from builtin_variables.json and // builtin_function_declarations.txt. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2021 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -1902,119 +1902,119 @@ class BuiltInId TSymbolUniqueId(1356); static constexpr const TSymbolUniqueId textureGather_Sampler2DRectShadow1_Float2_Float1 = TSymbolUniqueId(1357); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2 = - TSymbolUniqueId(1358); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2 = - TSymbolUniqueId(1359); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2 = - TSymbolUniqueId(1360); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2 = - TSymbolUniqueId(1361); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2 = - TSymbolUniqueId(1362); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2 = - TSymbolUniqueId(1363); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2 = - TSymbolUniqueId(1364); - static constexpr const TSymbolUniqueId - textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2 = TSymbolUniqueId(1365); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DRect1_Float2_Int2 = - TSymbolUniqueId(1366); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DRect1_Float2_Int2 = - TSymbolUniqueId(1367); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DRect1_Float2_Int2 = - TSymbolUniqueId(1368); - static constexpr const TSymbolUniqueId - textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2 = TSymbolUniqueId(1369); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(1370); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(1371); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2_Int1 = - TSymbolUniqueId(1372); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(1373); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(1374); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2_Int1 = - TSymbolUniqueId(1375); - static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1 = - TSymbolUniqueId(1376); - static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1 = - TSymbolUniqueId(1377); - static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DRect1_Float2_Int2_Int1 = - TSymbolUniqueId(1378); - static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1379); - static constexpr const TSymbolUniqueId pt10Dx4 = TSymbolUniqueId(1380); - static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1381); - static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1382); - static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1383); - static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1384); - static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1385); - static constexpr const TSymbolUniqueId - textureGatherOffsets_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1386); - static constexpr const TSymbolUniqueId - textureGatherOffsets_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(1387); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1388); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1389); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2 = - TSymbolUniqueId(1390); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1391); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1392); - static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2 = - TSymbolUniqueId(1393); - static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1394); - static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(1395); - static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DRect1_Float2_4xInt2 = - TSymbolUniqueId(1396); - static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DRect1_Float2_4xInt2 = - TSymbolUniqueId(1397); - static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DRect1_Float2_4xInt2 = - TSymbolUniqueId(1398); - static constexpr const TSymbolUniqueId - textureGatherOffsets_Sampler2DRectShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1399); static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1400); + TSymbolUniqueId(1358); + static constexpr const TSymbolUniqueId pt10Dx4 = TSymbolUniqueId(1359); static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1401); + TSymbolUniqueId(1360); static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1402); + TSymbolUniqueId(1361); static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2_Int1 = - TSymbolUniqueId(1403); + TSymbolUniqueId(1362); static constexpr const TSymbolUniqueId - textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1404); + textureGatherOffsets_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1363); static constexpr const TSymbolUniqueId - textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1405); + textureGatherOffsets_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1364); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1406); + TSymbolUniqueId(1365); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1407); + TSymbolUniqueId(1366); static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1408); + TSymbolUniqueId(1367); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1409); + textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1368); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1410); + textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1369); static constexpr const TSymbolUniqueId - textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1411); + textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2_Int1 = TSymbolUniqueId(1370); static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DRect1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1412); + TSymbolUniqueId(1371); static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DRect1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1413); + TSymbolUniqueId(1372); static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DRect1_Float2_4xInt2_Int1 = - TSymbolUniqueId(1414); + TSymbolUniqueId(1373); + static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1374); + static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1375); + static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1376); + static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1377); + static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1378); + static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1379); + static constexpr const TSymbolUniqueId + textureGatherOffsets_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1380); + static constexpr const TSymbolUniqueId + textureGatherOffsets_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(1381); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1382); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1383); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2D1_Float2_4xInt2 = + TSymbolUniqueId(1384); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_Sampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1385); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_ISampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1386); + static constexpr const TSymbolUniqueId textureGatherOffsetsExt_USampler2DArray1_Float3_4xInt2 = + TSymbolUniqueId(1387); + static constexpr const TSymbolUniqueId + textureGatherOffsetsExt_Sampler2DShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1388); + static constexpr const TSymbolUniqueId + textureGatherOffsetsExt_Sampler2DArrayShadow1_Float3_Float1_4xInt2 = TSymbolUniqueId(1389); + static constexpr const TSymbolUniqueId textureGatherOffsets_Sampler2DRect1_Float2_4xInt2 = + TSymbolUniqueId(1390); + static constexpr const TSymbolUniqueId textureGatherOffsets_ISampler2DRect1_Float2_4xInt2 = + TSymbolUniqueId(1391); + static constexpr const TSymbolUniqueId textureGatherOffsets_USampler2DRect1_Float2_4xInt2 = + TSymbolUniqueId(1392); + static constexpr const TSymbolUniqueId + textureGatherOffsets_Sampler2DRectShadow1_Float2_Float1_4xInt2 = TSymbolUniqueId(1393); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(1394); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(1395); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2_Int1 = + TSymbolUniqueId(1396); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(1397); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(1398); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2_Int1 = + TSymbolUniqueId(1399); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DRect1_Float2_Int2_Int1 = + TSymbolUniqueId(1400); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DRect1_Float2_Int2_Int1 = + TSymbolUniqueId(1401); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DRect1_Float2_Int2_Int1 = + TSymbolUniqueId(1402); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2D1_Float2_Int2 = + TSymbolUniqueId(1403); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2D1_Float2_Int2 = + TSymbolUniqueId(1404); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2D1_Float2_Int2 = + TSymbolUniqueId(1405); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DArray1_Float3_Int2 = + TSymbolUniqueId(1406); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DArray1_Float3_Int2 = + TSymbolUniqueId(1407); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DArray1_Float3_Int2 = + TSymbolUniqueId(1408); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DShadow1_Float2_Float1_Int2 = + TSymbolUniqueId(1409); + static constexpr const TSymbolUniqueId + textureGatherOffset_Sampler2DArrayShadow1_Float3_Float1_Int2 = TSymbolUniqueId(1410); + static constexpr const TSymbolUniqueId textureGatherOffset_Sampler2DRect1_Float2_Int2 = + TSymbolUniqueId(1411); + static constexpr const TSymbolUniqueId textureGatherOffset_ISampler2DRect1_Float2_Int2 = + TSymbolUniqueId(1412); + static constexpr const TSymbolUniqueId textureGatherOffset_USampler2DRect1_Float2_Int2 = + TSymbolUniqueId(1413); + static constexpr const TSymbolUniqueId + textureGatherOffset_Sampler2DRectShadow1_Float2_Float1_Int2 = TSymbolUniqueId(1414); static constexpr const TSymbolUniqueId dFdx_Float1 = TSymbolUniqueId(1415); static constexpr const TSymbolUniqueId dFdx_Float2 = TSymbolUniqueId(1416); static constexpr const TSymbolUniqueId dFdx_Float3 = TSymbolUniqueId(1417); @@ -2154,17 +2154,17 @@ class BuiltInId static constexpr const TSymbolUniqueId imageSize_UImageCube1 = TSymbolUniqueId(1528); static constexpr const TSymbolUniqueId pt01K = TSymbolUniqueId(1529); static constexpr const TSymbolUniqueId imageSize_ImageCubeArray1 = TSymbolUniqueId(1530); - static constexpr const TSymbolUniqueId pt01X = TSymbolUniqueId(1531); + static constexpr const TSymbolUniqueId pt01a = TSymbolUniqueId(1531); static constexpr const TSymbolUniqueId imageSize_IImageCubeArray1 = TSymbolUniqueId(1532); - static constexpr const TSymbolUniqueId pt01Y = TSymbolUniqueId(1533); + static constexpr const TSymbolUniqueId pt01b = TSymbolUniqueId(1533); static constexpr const TSymbolUniqueId imageSize_UImageCubeArray1 = TSymbolUniqueId(1534); - static constexpr const TSymbolUniqueId pt01Z = TSymbolUniqueId(1535); + static constexpr const TSymbolUniqueId pt01c = TSymbolUniqueId(1535); static constexpr const TSymbolUniqueId imageSize_ImageBuffer1 = TSymbolUniqueId(1536); - static constexpr const TSymbolUniqueId pt01d = TSymbolUniqueId(1537); + static constexpr const TSymbolUniqueId pt01g = TSymbolUniqueId(1537); static constexpr const TSymbolUniqueId imageSize_IImageBuffer1 = TSymbolUniqueId(1538); - static constexpr const TSymbolUniqueId pt01e = TSymbolUniqueId(1539); + static constexpr const TSymbolUniqueId pt01h = TSymbolUniqueId(1539); static constexpr const TSymbolUniqueId imageSize_UImageBuffer1 = TSymbolUniqueId(1540); - static constexpr const TSymbolUniqueId pt01f = TSymbolUniqueId(1541); + static constexpr const TSymbolUniqueId pt01i = TSymbolUniqueId(1541); static constexpr const TSymbolUniqueId imageSize_Image1D1 = TSymbolUniqueId(1542); static constexpr const TSymbolUniqueId pt01L = TSymbolUniqueId(1543); static constexpr const TSymbolUniqueId imageSize_IImage1D1 = TSymbolUniqueId(1544); @@ -2172,11 +2172,11 @@ class BuiltInId static constexpr const TSymbolUniqueId imageSize_UImage1D1 = TSymbolUniqueId(1546); static constexpr const TSymbolUniqueId pt01N = TSymbolUniqueId(1547); static constexpr const TSymbolUniqueId imageSize_ImageRect1 = TSymbolUniqueId(1548); - static constexpr const TSymbolUniqueId pt01a = TSymbolUniqueId(1549); + static constexpr const TSymbolUniqueId pt01d = TSymbolUniqueId(1549); static constexpr const TSymbolUniqueId imageSize_IImageRect1 = TSymbolUniqueId(1550); - static constexpr const TSymbolUniqueId pt01b = TSymbolUniqueId(1551); + static constexpr const TSymbolUniqueId pt01e = TSymbolUniqueId(1551); static constexpr const TSymbolUniqueId imageSize_UImageRect1 = TSymbolUniqueId(1552); - static constexpr const TSymbolUniqueId pt01c = TSymbolUniqueId(1553); + static constexpr const TSymbolUniqueId pt01f = TSymbolUniqueId(1553); static constexpr const TSymbolUniqueId imageSize_Image1DArray1 = TSymbolUniqueId(1554); static constexpr const TSymbolUniqueId pt01O = TSymbolUniqueId(1555); static constexpr const TSymbolUniqueId imageSize_IImage1DArray1 = TSymbolUniqueId(1556); @@ -2201,2382 +2201,2383 @@ class BuiltInId static constexpr const TSymbolUniqueId imageSamples_Image2DMSArray1 = TSymbolUniqueId(1575); static constexpr const TSymbolUniqueId imageSamples_IImage2DMSArray1 = TSymbolUniqueId(1576); static constexpr const TSymbolUniqueId imageSamples_UImage2DMSArray1 = TSymbolUniqueId(1577); - static constexpr const TSymbolUniqueId imageStore_Image2D1_Int2_Float4 = TSymbolUniqueId(1578); - static constexpr const TSymbolUniqueId imageStore_IImage2D1_Int2_Int4 = TSymbolUniqueId(1579); - static constexpr const TSymbolUniqueId imageStore_UImage2D1_Int2_UInt4 = TSymbolUniqueId(1580); - static constexpr const TSymbolUniqueId imageStore_Image3D1_Int3_Float4 = TSymbolUniqueId(1581); - static constexpr const TSymbolUniqueId imageStore_IImage3D1_Int3_Int4 = TSymbolUniqueId(1582); - static constexpr const TSymbolUniqueId imageStore_UImage3D1_Int3_UInt4 = TSymbolUniqueId(1583); - static constexpr const TSymbolUniqueId imageStore_Image2DArray1_Int3_Float4 = - TSymbolUniqueId(1584); - static constexpr const TSymbolUniqueId imageStore_IImage2DArray1_Int3_Int4 = - TSymbolUniqueId(1585); - static constexpr const TSymbolUniqueId imageStore_UImage2DArray1_Int3_UInt4 = - TSymbolUniqueId(1586); - static constexpr const TSymbolUniqueId imageStore_ImageCube1_Int3_Float4 = - TSymbolUniqueId(1587); - static constexpr const TSymbolUniqueId imageStore_IImageCube1_Int3_Int4 = TSymbolUniqueId(1588); - static constexpr const TSymbolUniqueId imageStore_UImageCube1_Int3_UInt4 = - TSymbolUniqueId(1589); - static constexpr const TSymbolUniqueId imageStore_ImageCubeArray1_Int3_Float4 = - TSymbolUniqueId(1590); - static constexpr const TSymbolUniqueId imageStore_IImageCubeArray1_Int3_Int4 = - TSymbolUniqueId(1591); - static constexpr const TSymbolUniqueId imageStore_UImageCubeArray1_Int3_UInt4 = - TSymbolUniqueId(1592); - static constexpr const TSymbolUniqueId imageStore_ImageBuffer1_Int1_Float4 = - TSymbolUniqueId(1593); - static constexpr const TSymbolUniqueId imageStore_IImageBuffer1_Int1_Int4 = - TSymbolUniqueId(1594); - static constexpr const TSymbolUniqueId imageStore_UImageBuffer1_Int1_UInt4 = - TSymbolUniqueId(1595); - static constexpr const TSymbolUniqueId imageStore_Image1D1_Int1_Float4 = TSymbolUniqueId(1596); - static constexpr const TSymbolUniqueId imageStore_IImage1D1_Int1_Int4 = TSymbolUniqueId(1597); - static constexpr const TSymbolUniqueId imageStore_UImage1D1_Int1_UInt4 = TSymbolUniqueId(1598); - static constexpr const TSymbolUniqueId imageStore_Image1DArray1_Int2_Float4 = - TSymbolUniqueId(1599); - static constexpr const TSymbolUniqueId imageStore_IImage1DArray1_Int2_Int4 = - TSymbolUniqueId(1600); - static constexpr const TSymbolUniqueId imageStore_UImage1DArray1_Int2_UInt4 = - TSymbolUniqueId(1601); - static constexpr const TSymbolUniqueId imageStore_ImageRect1_Int2_Float4 = - TSymbolUniqueId(1602); - static constexpr const TSymbolUniqueId imageStore_IImageRect1_Int2_Int4 = TSymbolUniqueId(1603); - static constexpr const TSymbolUniqueId imageStore_UImageRect1_Int2_UInt4 = - TSymbolUniqueId(1604); - static constexpr const TSymbolUniqueId imageStore_Image2DMS1_Int2_Int1_Float4 = - TSymbolUniqueId(1605); - static constexpr const TSymbolUniqueId imageStore_IImage2DMS1_Int2_Int1_Int4 = - TSymbolUniqueId(1606); - static constexpr const TSymbolUniqueId imageStore_UImage2DMS1_Int2_Int1_UInt4 = - TSymbolUniqueId(1607); - static constexpr const TSymbolUniqueId imageStore_Image2DMSArray1_Int3_Int1_Float4 = - TSymbolUniqueId(1608); - static constexpr const TSymbolUniqueId imageStore_IImage2DMSArray1_Int3_Int1_Int4 = - TSymbolUniqueId(1609); - static constexpr const TSymbolUniqueId imageStore_UImage2DMSArray1_Int3_Int1_UInt4 = - TSymbolUniqueId(1610); - static constexpr const TSymbolUniqueId imageLoad_Image2D1_Int2 = TSymbolUniqueId(1611); - static constexpr const TSymbolUniqueId imageLoad_IImage2D1_Int2 = TSymbolUniqueId(1612); - static constexpr const TSymbolUniqueId imageLoad_UImage2D1_Int2 = TSymbolUniqueId(1613); - static constexpr const TSymbolUniqueId imageLoad_Image3D1_Int3 = TSymbolUniqueId(1614); - static constexpr const TSymbolUniqueId imageLoad_IImage3D1_Int3 = TSymbolUniqueId(1615); - static constexpr const TSymbolUniqueId imageLoad_UImage3D1_Int3 = TSymbolUniqueId(1616); - static constexpr const TSymbolUniqueId imageLoad_Image2DArray1_Int3 = TSymbolUniqueId(1617); - static constexpr const TSymbolUniqueId imageLoad_IImage2DArray1_Int3 = TSymbolUniqueId(1618); - static constexpr const TSymbolUniqueId imageLoad_UImage2DArray1_Int3 = TSymbolUniqueId(1619); - static constexpr const TSymbolUniqueId imageLoad_ImageCube1_Int3 = TSymbolUniqueId(1620); - static constexpr const TSymbolUniqueId imageLoad_IImageCube1_Int3 = TSymbolUniqueId(1621); - static constexpr const TSymbolUniqueId imageLoad_UImageCube1_Int3 = TSymbolUniqueId(1622); - static constexpr const TSymbolUniqueId imageLoad_ImageCubeArray1_Int3 = TSymbolUniqueId(1623); - static constexpr const TSymbolUniqueId imageLoad_IImageCubeArray1_Int3 = TSymbolUniqueId(1624); - static constexpr const TSymbolUniqueId imageLoad_UImageCubeArray1_Int3 = TSymbolUniqueId(1625); - static constexpr const TSymbolUniqueId imageLoad_ImageBuffer1_Int1 = TSymbolUniqueId(1626); - static constexpr const TSymbolUniqueId imageLoad_IImageBuffer1_Int1 = TSymbolUniqueId(1627); - static constexpr const TSymbolUniqueId imageLoad_UImageBuffer1_Int1 = TSymbolUniqueId(1628); - static constexpr const TSymbolUniqueId imageLoad_Image1D1_Int1 = TSymbolUniqueId(1629); - static constexpr const TSymbolUniqueId imageLoad_IImage1D1_Int1 = TSymbolUniqueId(1630); - static constexpr const TSymbolUniqueId imageLoad_UImage1D1_Int1 = TSymbolUniqueId(1631); - static constexpr const TSymbolUniqueId imageLoad_Image1DArray1_Int2 = TSymbolUniqueId(1632); - static constexpr const TSymbolUniqueId imageLoad_IImage1DArray1_Int2 = TSymbolUniqueId(1633); - static constexpr const TSymbolUniqueId imageLoad_UImage1DArray1_Int2 = TSymbolUniqueId(1634); - static constexpr const TSymbolUniqueId imageLoad_ImageRect1_Int2 = TSymbolUniqueId(1635); - static constexpr const TSymbolUniqueId imageLoad_IImageRect1_Int2 = TSymbolUniqueId(1636); - static constexpr const TSymbolUniqueId imageLoad_UImageRect1_Int2 = TSymbolUniqueId(1637); - static constexpr const TSymbolUniqueId imageLoad_Image2DMS1_Int2_Int1 = TSymbolUniqueId(1638); - static constexpr const TSymbolUniqueId imageLoad_IImage2DMS1_Int2_Int1 = TSymbolUniqueId(1639); - static constexpr const TSymbolUniqueId imageLoad_UImage2DMS1_Int2_Int1 = TSymbolUniqueId(1640); + static constexpr const TSymbolUniqueId imageLoad_Image2D1_Int2 = TSymbolUniqueId(1578); + static constexpr const TSymbolUniqueId imageLoad_IImage2D1_Int2 = TSymbolUniqueId(1579); + static constexpr const TSymbolUniqueId imageLoad_UImage2D1_Int2 = TSymbolUniqueId(1580); + static constexpr const TSymbolUniqueId imageLoad_Image3D1_Int3 = TSymbolUniqueId(1581); + static constexpr const TSymbolUniqueId imageLoad_IImage3D1_Int3 = TSymbolUniqueId(1582); + static constexpr const TSymbolUniqueId imageLoad_UImage3D1_Int3 = TSymbolUniqueId(1583); + static constexpr const TSymbolUniqueId imageLoad_Image2DArray1_Int3 = TSymbolUniqueId(1584); + static constexpr const TSymbolUniqueId imageLoad_IImage2DArray1_Int3 = TSymbolUniqueId(1585); + static constexpr const TSymbolUniqueId imageLoad_UImage2DArray1_Int3 = TSymbolUniqueId(1586); + static constexpr const TSymbolUniqueId imageLoad_ImageCube1_Int3 = TSymbolUniqueId(1587); + static constexpr const TSymbolUniqueId imageLoad_IImageCube1_Int3 = TSymbolUniqueId(1588); + static constexpr const TSymbolUniqueId imageLoad_UImageCube1_Int3 = TSymbolUniqueId(1589); + static constexpr const TSymbolUniqueId imageLoad_ImageCubeArray1_Int3 = TSymbolUniqueId(1590); + static constexpr const TSymbolUniqueId imageLoad_IImageCubeArray1_Int3 = TSymbolUniqueId(1591); + static constexpr const TSymbolUniqueId imageLoad_UImageCubeArray1_Int3 = TSymbolUniqueId(1592); + static constexpr const TSymbolUniqueId imageLoad_ImageBuffer1_Int1 = TSymbolUniqueId(1593); + static constexpr const TSymbolUniqueId imageLoad_IImageBuffer1_Int1 = TSymbolUniqueId(1594); + static constexpr const TSymbolUniqueId imageLoad_UImageBuffer1_Int1 = TSymbolUniqueId(1595); + static constexpr const TSymbolUniqueId imageLoad_Image1D1_Int1 = TSymbolUniqueId(1596); + static constexpr const TSymbolUniqueId imageLoad_IImage1D1_Int1 = TSymbolUniqueId(1597); + static constexpr const TSymbolUniqueId imageLoad_UImage1D1_Int1 = TSymbolUniqueId(1598); + static constexpr const TSymbolUniqueId imageLoad_Image1DArray1_Int2 = TSymbolUniqueId(1599); + static constexpr const TSymbolUniqueId imageLoad_IImage1DArray1_Int2 = TSymbolUniqueId(1600); + static constexpr const TSymbolUniqueId imageLoad_UImage1DArray1_Int2 = TSymbolUniqueId(1601); + static constexpr const TSymbolUniqueId imageLoad_Image2DRect1_Int2 = TSymbolUniqueId(1602); + static constexpr const TSymbolUniqueId pt01X = TSymbolUniqueId(1603); + static constexpr const TSymbolUniqueId imageLoad_IImage2DRect1_Int2 = TSymbolUniqueId(1604); + static constexpr const TSymbolUniqueId pt01Y = TSymbolUniqueId(1605); + static constexpr const TSymbolUniqueId imageLoad_UImage2DRect1_Int2 = TSymbolUniqueId(1606); + static constexpr const TSymbolUniqueId pt01Z = TSymbolUniqueId(1607); + static constexpr const TSymbolUniqueId imageLoad_Image2DMS1_Int2_Int1 = TSymbolUniqueId(1608); + static constexpr const TSymbolUniqueId imageLoad_IImage2DMS1_Int2_Int1 = TSymbolUniqueId(1609); + static constexpr const TSymbolUniqueId imageLoad_UImage2DMS1_Int2_Int1 = TSymbolUniqueId(1610); static constexpr const TSymbolUniqueId imageLoad_Image2DMSArray1_Int3_Int1 = - TSymbolUniqueId(1641); + TSymbolUniqueId(1611); static constexpr const TSymbolUniqueId imageLoad_IImage2DMSArray1_Int3_Int1 = - TSymbolUniqueId(1642); + TSymbolUniqueId(1612); static constexpr const TSymbolUniqueId imageLoad_UImage2DMSArray1_Int3_Int1 = - TSymbolUniqueId(1643); + TSymbolUniqueId(1613); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1644); + TSymbolUniqueId(1614); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1645); + TSymbolUniqueId(1615); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1646); + TSymbolUniqueId(1616); static constexpr const TSymbolUniqueId imageAtomicAdd_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1647); + TSymbolUniqueId(1617); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1648); + TSymbolUniqueId(1618); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1649); + TSymbolUniqueId(1619); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1650); + TSymbolUniqueId(1620); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1651); + TSymbolUniqueId(1621); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1652); + TSymbolUniqueId(1622); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1653); + TSymbolUniqueId(1623); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1654); + TSymbolUniqueId(1624); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1655); + TSymbolUniqueId(1625); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1656); + TSymbolUniqueId(1626); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1657); + TSymbolUniqueId(1627); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1658); + TSymbolUniqueId(1628); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1659); + TSymbolUniqueId(1629); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1660); + TSymbolUniqueId(1630); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1661); + TSymbolUniqueId(1631); static constexpr const TSymbolUniqueId imageAtomicAdd_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1662); + TSymbolUniqueId(1632); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1663); + TSymbolUniqueId(1633); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1664); + TSymbolUniqueId(1634); static constexpr const TSymbolUniqueId imageAtomicAdd_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1665); + TSymbolUniqueId(1635); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1666); + TSymbolUniqueId(1636); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1667); - static constexpr const TSymbolUniqueId imageAtomicAdd_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1668); - static constexpr const TSymbolUniqueId imageAtomicAdd_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1669); - static constexpr const TSymbolUniqueId imageAtomicAdd_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(1670); + TSymbolUniqueId(1637); + static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1638); + static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1639); + static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1640); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1671); + TSymbolUniqueId(1641); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1672); + TSymbolUniqueId(1642); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1673); + TSymbolUniqueId(1643); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1674); + TSymbolUniqueId(1644); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1675); + TSymbolUniqueId(1645); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1676); + TSymbolUniqueId(1646); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2D1_Int2_Int1 = - TSymbolUniqueId(1677); + TSymbolUniqueId(1647); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2D1_Int2_Int1 = - TSymbolUniqueId(1678); + TSymbolUniqueId(1648); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2D1_Int2_Int1 = - TSymbolUniqueId(1679); + TSymbolUniqueId(1649); static constexpr const TSymbolUniqueId imageAtomicAdd_Image3D1_Int3_Int1 = - TSymbolUniqueId(1680); + TSymbolUniqueId(1650); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage3D1_Int3_Int1 = - TSymbolUniqueId(1681); + TSymbolUniqueId(1651); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage3D1_Int3_Int1 = - TSymbolUniqueId(1682); + TSymbolUniqueId(1652); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageCube1_Int3_Int1 = - TSymbolUniqueId(1683); + TSymbolUniqueId(1653); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageCube1_Int3_Int1 = - TSymbolUniqueId(1684); + TSymbolUniqueId(1654); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageCube1_Int3_Int1 = - TSymbolUniqueId(1685); + TSymbolUniqueId(1655); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1686); + TSymbolUniqueId(1656); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1687); + TSymbolUniqueId(1657); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1688); + TSymbolUniqueId(1658); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(1689); + TSymbolUniqueId(1659); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1690); + TSymbolUniqueId(1660); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1691); + TSymbolUniqueId(1661); static constexpr const TSymbolUniqueId imageAtomicAdd_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1692); + TSymbolUniqueId(1662); static constexpr const TSymbolUniqueId imageAtomicAdd_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1693); + TSymbolUniqueId(1663); static constexpr const TSymbolUniqueId imageAtomicAdd_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1694); + TSymbolUniqueId(1664); static constexpr const TSymbolUniqueId imageAtomicAdd_Image1D1_Int1_Int1 = - TSymbolUniqueId(1695); + TSymbolUniqueId(1665); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage1D1_Int1_Int1 = - TSymbolUniqueId(1696); + TSymbolUniqueId(1666); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage1D1_Int1_Int1 = - TSymbolUniqueId(1697); + TSymbolUniqueId(1667); static constexpr const TSymbolUniqueId imageAtomicAdd_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(1698); + TSymbolUniqueId(1668); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1699); + TSymbolUniqueId(1669); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1700); - static constexpr const TSymbolUniqueId imageAtomicAdd_ImageRect1_Int2_Int1 = - TSymbolUniqueId(1701); - static constexpr const TSymbolUniqueId imageAtomicAdd_IImageRect1_Int2_Int1 = - TSymbolUniqueId(1702); - static constexpr const TSymbolUniqueId imageAtomicAdd_UImageRect1_Int2_Int1 = - TSymbolUniqueId(1703); + TSymbolUniqueId(1670); + static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(1671); + static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1672); + static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1673); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1704); + TSymbolUniqueId(1674); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1705); + TSymbolUniqueId(1675); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1706); + TSymbolUniqueId(1676); static constexpr const TSymbolUniqueId imageAtomicAdd_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1707); + TSymbolUniqueId(1677); static constexpr const TSymbolUniqueId imageAtomicAdd_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1708); + TSymbolUniqueId(1678); static constexpr const TSymbolUniqueId imageAtomicAdd_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1709); + TSymbolUniqueId(1679); static constexpr const TSymbolUniqueId imageAtomicMin_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1710); + TSymbolUniqueId(1680); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1711); + TSymbolUniqueId(1681); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1712); + TSymbolUniqueId(1682); static constexpr const TSymbolUniqueId imageAtomicMin_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1713); + TSymbolUniqueId(1683); static constexpr const TSymbolUniqueId imageAtomicMin_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1714); + TSymbolUniqueId(1684); static constexpr const TSymbolUniqueId imageAtomicMin_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1715); + TSymbolUniqueId(1685); static constexpr const TSymbolUniqueId imageAtomicMin_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1716); + TSymbolUniqueId(1686); static constexpr const TSymbolUniqueId imageAtomicMin_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1717); + TSymbolUniqueId(1687); static constexpr const TSymbolUniqueId imageAtomicMin_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1718); + TSymbolUniqueId(1688); static constexpr const TSymbolUniqueId imageAtomicMin_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1719); + TSymbolUniqueId(1689); static constexpr const TSymbolUniqueId imageAtomicMin_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1720); + TSymbolUniqueId(1690); static constexpr const TSymbolUniqueId imageAtomicMin_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1721); + TSymbolUniqueId(1691); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1722); + TSymbolUniqueId(1692); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1723); + TSymbolUniqueId(1693); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1724); + TSymbolUniqueId(1694); static constexpr const TSymbolUniqueId imageAtomicMin_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1725); + TSymbolUniqueId(1695); static constexpr const TSymbolUniqueId imageAtomicMin_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1726); + TSymbolUniqueId(1696); static constexpr const TSymbolUniqueId imageAtomicMin_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1727); + TSymbolUniqueId(1697); static constexpr const TSymbolUniqueId imageAtomicMin_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1728); + TSymbolUniqueId(1698); static constexpr const TSymbolUniqueId imageAtomicMin_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1729); + TSymbolUniqueId(1699); static constexpr const TSymbolUniqueId imageAtomicMin_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1730); + TSymbolUniqueId(1700); static constexpr const TSymbolUniqueId imageAtomicMin_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1731); + TSymbolUniqueId(1701); static constexpr const TSymbolUniqueId imageAtomicMin_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1732); + TSymbolUniqueId(1702); static constexpr const TSymbolUniqueId imageAtomicMin_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1733); - static constexpr const TSymbolUniqueId imageAtomicMin_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1734); - static constexpr const TSymbolUniqueId imageAtomicMin_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1735); - static constexpr const TSymbolUniqueId imageAtomicMin_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(1736); + TSymbolUniqueId(1703); + static constexpr const TSymbolUniqueId imageAtomicMin_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1704); + static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1705); + static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1706); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1737); + TSymbolUniqueId(1707); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1738); + TSymbolUniqueId(1708); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1739); + TSymbolUniqueId(1709); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1740); + TSymbolUniqueId(1710); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1741); + TSymbolUniqueId(1711); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1742); + TSymbolUniqueId(1712); static constexpr const TSymbolUniqueId imageAtomicMin_Image2D1_Int2_Int1 = - TSymbolUniqueId(1743); + TSymbolUniqueId(1713); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2D1_Int2_Int1 = - TSymbolUniqueId(1744); + TSymbolUniqueId(1714); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2D1_Int2_Int1 = - TSymbolUniqueId(1745); + TSymbolUniqueId(1715); static constexpr const TSymbolUniqueId imageAtomicMin_Image3D1_Int3_Int1 = - TSymbolUniqueId(1746); + TSymbolUniqueId(1716); static constexpr const TSymbolUniqueId imageAtomicMin_IImage3D1_Int3_Int1 = - TSymbolUniqueId(1747); + TSymbolUniqueId(1717); static constexpr const TSymbolUniqueId imageAtomicMin_UImage3D1_Int3_Int1 = - TSymbolUniqueId(1748); + TSymbolUniqueId(1718); static constexpr const TSymbolUniqueId imageAtomicMin_ImageCube1_Int3_Int1 = - TSymbolUniqueId(1749); + TSymbolUniqueId(1719); static constexpr const TSymbolUniqueId imageAtomicMin_IImageCube1_Int3_Int1 = - TSymbolUniqueId(1750); + TSymbolUniqueId(1720); static constexpr const TSymbolUniqueId imageAtomicMin_UImageCube1_Int3_Int1 = - TSymbolUniqueId(1751); + TSymbolUniqueId(1721); static constexpr const TSymbolUniqueId imageAtomicMin_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1752); + TSymbolUniqueId(1722); static constexpr const TSymbolUniqueId imageAtomicMin_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1753); + TSymbolUniqueId(1723); static constexpr const TSymbolUniqueId imageAtomicMin_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1754); + TSymbolUniqueId(1724); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(1755); + TSymbolUniqueId(1725); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1756); + TSymbolUniqueId(1726); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1757); + TSymbolUniqueId(1727); static constexpr const TSymbolUniqueId imageAtomicMin_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1758); + TSymbolUniqueId(1728); static constexpr const TSymbolUniqueId imageAtomicMin_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1759); + TSymbolUniqueId(1729); static constexpr const TSymbolUniqueId imageAtomicMin_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1760); + TSymbolUniqueId(1730); static constexpr const TSymbolUniqueId imageAtomicMin_Image1D1_Int1_Int1 = - TSymbolUniqueId(1761); + TSymbolUniqueId(1731); static constexpr const TSymbolUniqueId imageAtomicMin_IImage1D1_Int1_Int1 = - TSymbolUniqueId(1762); + TSymbolUniqueId(1732); static constexpr const TSymbolUniqueId imageAtomicMin_UImage1D1_Int1_Int1 = - TSymbolUniqueId(1763); + TSymbolUniqueId(1733); static constexpr const TSymbolUniqueId imageAtomicMin_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(1764); + TSymbolUniqueId(1734); static constexpr const TSymbolUniqueId imageAtomicMin_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1765); + TSymbolUniqueId(1735); static constexpr const TSymbolUniqueId imageAtomicMin_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1766); - static constexpr const TSymbolUniqueId imageAtomicMin_ImageRect1_Int2_Int1 = - TSymbolUniqueId(1767); - static constexpr const TSymbolUniqueId imageAtomicMin_IImageRect1_Int2_Int1 = - TSymbolUniqueId(1768); - static constexpr const TSymbolUniqueId imageAtomicMin_UImageRect1_Int2_Int1 = - TSymbolUniqueId(1769); + TSymbolUniqueId(1736); + static constexpr const TSymbolUniqueId imageAtomicMin_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(1737); + static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1738); + static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1739); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1770); + TSymbolUniqueId(1740); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1771); + TSymbolUniqueId(1741); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1772); + TSymbolUniqueId(1742); static constexpr const TSymbolUniqueId imageAtomicMin_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1773); + TSymbolUniqueId(1743); static constexpr const TSymbolUniqueId imageAtomicMin_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1774); + TSymbolUniqueId(1744); static constexpr const TSymbolUniqueId imageAtomicMin_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1775); + TSymbolUniqueId(1745); static constexpr const TSymbolUniqueId imageAtomicMax_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1776); + TSymbolUniqueId(1746); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1777); + TSymbolUniqueId(1747); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1778); + TSymbolUniqueId(1748); static constexpr const TSymbolUniqueId imageAtomicMax_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1779); + TSymbolUniqueId(1749); static constexpr const TSymbolUniqueId imageAtomicMax_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1780); + TSymbolUniqueId(1750); static constexpr const TSymbolUniqueId imageAtomicMax_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1781); + TSymbolUniqueId(1751); static constexpr const TSymbolUniqueId imageAtomicMax_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1782); + TSymbolUniqueId(1752); static constexpr const TSymbolUniqueId imageAtomicMax_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1783); + TSymbolUniqueId(1753); static constexpr const TSymbolUniqueId imageAtomicMax_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1784); + TSymbolUniqueId(1754); static constexpr const TSymbolUniqueId imageAtomicMax_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1785); + TSymbolUniqueId(1755); static constexpr const TSymbolUniqueId imageAtomicMax_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1786); + TSymbolUniqueId(1756); static constexpr const TSymbolUniqueId imageAtomicMax_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1787); + TSymbolUniqueId(1757); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1788); + TSymbolUniqueId(1758); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1789); + TSymbolUniqueId(1759); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1790); + TSymbolUniqueId(1760); static constexpr const TSymbolUniqueId imageAtomicMax_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1791); + TSymbolUniqueId(1761); static constexpr const TSymbolUniqueId imageAtomicMax_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1792); + TSymbolUniqueId(1762); static constexpr const TSymbolUniqueId imageAtomicMax_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1793); + TSymbolUniqueId(1763); static constexpr const TSymbolUniqueId imageAtomicMax_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1794); + TSymbolUniqueId(1764); static constexpr const TSymbolUniqueId imageAtomicMax_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1795); + TSymbolUniqueId(1765); static constexpr const TSymbolUniqueId imageAtomicMax_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1796); + TSymbolUniqueId(1766); static constexpr const TSymbolUniqueId imageAtomicMax_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1797); + TSymbolUniqueId(1767); static constexpr const TSymbolUniqueId imageAtomicMax_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1798); + TSymbolUniqueId(1768); static constexpr const TSymbolUniqueId imageAtomicMax_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1799); - static constexpr const TSymbolUniqueId imageAtomicMax_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1800); - static constexpr const TSymbolUniqueId imageAtomicMax_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1801); - static constexpr const TSymbolUniqueId imageAtomicMax_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(1802); + TSymbolUniqueId(1769); + static constexpr const TSymbolUniqueId imageAtomicMax_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1770); + static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1771); + static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1772); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1803); + TSymbolUniqueId(1773); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1804); + TSymbolUniqueId(1774); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1805); + TSymbolUniqueId(1775); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1806); + TSymbolUniqueId(1776); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1807); + TSymbolUniqueId(1777); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1808); + TSymbolUniqueId(1778); static constexpr const TSymbolUniqueId imageAtomicMax_Image2D1_Int2_Int1 = - TSymbolUniqueId(1809); + TSymbolUniqueId(1779); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2D1_Int2_Int1 = - TSymbolUniqueId(1810); + TSymbolUniqueId(1780); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2D1_Int2_Int1 = - TSymbolUniqueId(1811); + TSymbolUniqueId(1781); static constexpr const TSymbolUniqueId imageAtomicMax_Image3D1_Int3_Int1 = - TSymbolUniqueId(1812); + TSymbolUniqueId(1782); static constexpr const TSymbolUniqueId imageAtomicMax_IImage3D1_Int3_Int1 = - TSymbolUniqueId(1813); + TSymbolUniqueId(1783); static constexpr const TSymbolUniqueId imageAtomicMax_UImage3D1_Int3_Int1 = - TSymbolUniqueId(1814); + TSymbolUniqueId(1784); static constexpr const TSymbolUniqueId imageAtomicMax_ImageCube1_Int3_Int1 = - TSymbolUniqueId(1815); + TSymbolUniqueId(1785); static constexpr const TSymbolUniqueId imageAtomicMax_IImageCube1_Int3_Int1 = - TSymbolUniqueId(1816); + TSymbolUniqueId(1786); static constexpr const TSymbolUniqueId imageAtomicMax_UImageCube1_Int3_Int1 = - TSymbolUniqueId(1817); + TSymbolUniqueId(1787); static constexpr const TSymbolUniqueId imageAtomicMax_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1818); + TSymbolUniqueId(1788); static constexpr const TSymbolUniqueId imageAtomicMax_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1819); + TSymbolUniqueId(1789); static constexpr const TSymbolUniqueId imageAtomicMax_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1820); + TSymbolUniqueId(1790); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(1821); + TSymbolUniqueId(1791); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1822); + TSymbolUniqueId(1792); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1823); + TSymbolUniqueId(1793); static constexpr const TSymbolUniqueId imageAtomicMax_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1824); + TSymbolUniqueId(1794); static constexpr const TSymbolUniqueId imageAtomicMax_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1825); + TSymbolUniqueId(1795); static constexpr const TSymbolUniqueId imageAtomicMax_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1826); + TSymbolUniqueId(1796); static constexpr const TSymbolUniqueId imageAtomicMax_Image1D1_Int1_Int1 = - TSymbolUniqueId(1827); + TSymbolUniqueId(1797); static constexpr const TSymbolUniqueId imageAtomicMax_IImage1D1_Int1_Int1 = - TSymbolUniqueId(1828); + TSymbolUniqueId(1798); static constexpr const TSymbolUniqueId imageAtomicMax_UImage1D1_Int1_Int1 = - TSymbolUniqueId(1829); + TSymbolUniqueId(1799); static constexpr const TSymbolUniqueId imageAtomicMax_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(1830); + TSymbolUniqueId(1800); static constexpr const TSymbolUniqueId imageAtomicMax_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1831); + TSymbolUniqueId(1801); static constexpr const TSymbolUniqueId imageAtomicMax_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1832); - static constexpr const TSymbolUniqueId imageAtomicMax_ImageRect1_Int2_Int1 = - TSymbolUniqueId(1833); - static constexpr const TSymbolUniqueId imageAtomicMax_IImageRect1_Int2_Int1 = - TSymbolUniqueId(1834); - static constexpr const TSymbolUniqueId imageAtomicMax_UImageRect1_Int2_Int1 = - TSymbolUniqueId(1835); + TSymbolUniqueId(1802); + static constexpr const TSymbolUniqueId imageAtomicMax_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(1803); + static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1804); + static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1805); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1836); + TSymbolUniqueId(1806); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1837); + TSymbolUniqueId(1807); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1838); + TSymbolUniqueId(1808); static constexpr const TSymbolUniqueId imageAtomicMax_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1839); + TSymbolUniqueId(1809); static constexpr const TSymbolUniqueId imageAtomicMax_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1840); + TSymbolUniqueId(1810); static constexpr const TSymbolUniqueId imageAtomicMax_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1841); + TSymbolUniqueId(1811); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1842); + TSymbolUniqueId(1812); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1843); + TSymbolUniqueId(1813); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1844); + TSymbolUniqueId(1814); static constexpr const TSymbolUniqueId imageAtomicAnd_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1845); + TSymbolUniqueId(1815); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1846); + TSymbolUniqueId(1816); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1847); + TSymbolUniqueId(1817); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1848); + TSymbolUniqueId(1818); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1849); + TSymbolUniqueId(1819); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1850); + TSymbolUniqueId(1820); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1851); + TSymbolUniqueId(1821); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1852); + TSymbolUniqueId(1822); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1853); + TSymbolUniqueId(1823); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1854); + TSymbolUniqueId(1824); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1855); + TSymbolUniqueId(1825); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1856); + TSymbolUniqueId(1826); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1857); + TSymbolUniqueId(1827); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1858); + TSymbolUniqueId(1828); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1859); + TSymbolUniqueId(1829); static constexpr const TSymbolUniqueId imageAtomicAnd_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1860); + TSymbolUniqueId(1830); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1861); + TSymbolUniqueId(1831); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1862); + TSymbolUniqueId(1832); static constexpr const TSymbolUniqueId imageAtomicAnd_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1863); + TSymbolUniqueId(1833); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1864); + TSymbolUniqueId(1834); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1865); - static constexpr const TSymbolUniqueId imageAtomicAnd_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1866); - static constexpr const TSymbolUniqueId imageAtomicAnd_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1867); - static constexpr const TSymbolUniqueId imageAtomicAnd_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(1868); + TSymbolUniqueId(1835); + static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1836); + static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1837); + static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1838); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1869); + TSymbolUniqueId(1839); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1870); + TSymbolUniqueId(1840); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1871); + TSymbolUniqueId(1841); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1872); + TSymbolUniqueId(1842); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1873); + TSymbolUniqueId(1843); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1874); + TSymbolUniqueId(1844); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2D1_Int2_Int1 = - TSymbolUniqueId(1875); + TSymbolUniqueId(1845); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2D1_Int2_Int1 = - TSymbolUniqueId(1876); + TSymbolUniqueId(1846); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2D1_Int2_Int1 = - TSymbolUniqueId(1877); + TSymbolUniqueId(1847); static constexpr const TSymbolUniqueId imageAtomicAnd_Image3D1_Int3_Int1 = - TSymbolUniqueId(1878); + TSymbolUniqueId(1848); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage3D1_Int3_Int1 = - TSymbolUniqueId(1879); + TSymbolUniqueId(1849); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage3D1_Int3_Int1 = - TSymbolUniqueId(1880); + TSymbolUniqueId(1850); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageCube1_Int3_Int1 = - TSymbolUniqueId(1881); + TSymbolUniqueId(1851); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageCube1_Int3_Int1 = - TSymbolUniqueId(1882); + TSymbolUniqueId(1852); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageCube1_Int3_Int1 = - TSymbolUniqueId(1883); + TSymbolUniqueId(1853); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1884); + TSymbolUniqueId(1854); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1885); + TSymbolUniqueId(1855); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1886); + TSymbolUniqueId(1856); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(1887); + TSymbolUniqueId(1857); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1888); + TSymbolUniqueId(1858); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1889); + TSymbolUniqueId(1859); static constexpr const TSymbolUniqueId imageAtomicAnd_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1890); + TSymbolUniqueId(1860); static constexpr const TSymbolUniqueId imageAtomicAnd_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1891); + TSymbolUniqueId(1861); static constexpr const TSymbolUniqueId imageAtomicAnd_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1892); + TSymbolUniqueId(1862); static constexpr const TSymbolUniqueId imageAtomicAnd_Image1D1_Int1_Int1 = - TSymbolUniqueId(1893); + TSymbolUniqueId(1863); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage1D1_Int1_Int1 = - TSymbolUniqueId(1894); + TSymbolUniqueId(1864); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage1D1_Int1_Int1 = - TSymbolUniqueId(1895); + TSymbolUniqueId(1865); static constexpr const TSymbolUniqueId imageAtomicAnd_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(1896); + TSymbolUniqueId(1866); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1897); + TSymbolUniqueId(1867); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1898); - static constexpr const TSymbolUniqueId imageAtomicAnd_ImageRect1_Int2_Int1 = - TSymbolUniqueId(1899); - static constexpr const TSymbolUniqueId imageAtomicAnd_IImageRect1_Int2_Int1 = - TSymbolUniqueId(1900); - static constexpr const TSymbolUniqueId imageAtomicAnd_UImageRect1_Int2_Int1 = - TSymbolUniqueId(1901); + TSymbolUniqueId(1868); + static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(1869); + static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1870); + static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1871); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1902); + TSymbolUniqueId(1872); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1903); + TSymbolUniqueId(1873); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1904); + TSymbolUniqueId(1874); static constexpr const TSymbolUniqueId imageAtomicAnd_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1905); + TSymbolUniqueId(1875); static constexpr const TSymbolUniqueId imageAtomicAnd_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1906); + TSymbolUniqueId(1876); static constexpr const TSymbolUniqueId imageAtomicAnd_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1907); + TSymbolUniqueId(1877); static constexpr const TSymbolUniqueId imageAtomicOr_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1908); + TSymbolUniqueId(1878); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1909); + TSymbolUniqueId(1879); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1910); + TSymbolUniqueId(1880); static constexpr const TSymbolUniqueId imageAtomicOr_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1911); + TSymbolUniqueId(1881); static constexpr const TSymbolUniqueId imageAtomicOr_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1912); + TSymbolUniqueId(1882); static constexpr const TSymbolUniqueId imageAtomicOr_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1913); + TSymbolUniqueId(1883); static constexpr const TSymbolUniqueId imageAtomicOr_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1914); + TSymbolUniqueId(1884); static constexpr const TSymbolUniqueId imageAtomicOr_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1915); + TSymbolUniqueId(1885); static constexpr const TSymbolUniqueId imageAtomicOr_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1916); + TSymbolUniqueId(1886); static constexpr const TSymbolUniqueId imageAtomicOr_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1917); + TSymbolUniqueId(1887); static constexpr const TSymbolUniqueId imageAtomicOr_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1918); + TSymbolUniqueId(1888); static constexpr const TSymbolUniqueId imageAtomicOr_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1919); + TSymbolUniqueId(1889); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1920); + TSymbolUniqueId(1890); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1921); + TSymbolUniqueId(1891); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1922); + TSymbolUniqueId(1892); static constexpr const TSymbolUniqueId imageAtomicOr_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1923); + TSymbolUniqueId(1893); static constexpr const TSymbolUniqueId imageAtomicOr_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1924); + TSymbolUniqueId(1894); static constexpr const TSymbolUniqueId imageAtomicOr_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1925); + TSymbolUniqueId(1895); static constexpr const TSymbolUniqueId imageAtomicOr_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1926); + TSymbolUniqueId(1896); static constexpr const TSymbolUniqueId imageAtomicOr_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1927); + TSymbolUniqueId(1897); static constexpr const TSymbolUniqueId imageAtomicOr_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1928); + TSymbolUniqueId(1898); static constexpr const TSymbolUniqueId imageAtomicOr_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1929); + TSymbolUniqueId(1899); static constexpr const TSymbolUniqueId imageAtomicOr_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1930); + TSymbolUniqueId(1900); static constexpr const TSymbolUniqueId imageAtomicOr_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1931); - static constexpr const TSymbolUniqueId imageAtomicOr_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1932); - static constexpr const TSymbolUniqueId imageAtomicOr_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1933); - static constexpr const TSymbolUniqueId imageAtomicOr_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(1934); + TSymbolUniqueId(1901); + static constexpr const TSymbolUniqueId imageAtomicOr_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1902); + static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1903); + static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1904); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1935); + TSymbolUniqueId(1905); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1936); + TSymbolUniqueId(1906); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(1937); + TSymbolUniqueId(1907); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1938); + TSymbolUniqueId(1908); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1939); + TSymbolUniqueId(1909); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(1940); - static constexpr const TSymbolUniqueId imageAtomicOr_Image2D1_Int2_Int1 = TSymbolUniqueId(1941); + TSymbolUniqueId(1910); + static constexpr const TSymbolUniqueId imageAtomicOr_Image2D1_Int2_Int1 = TSymbolUniqueId(1911); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2D1_Int2_Int1 = - TSymbolUniqueId(1942); + TSymbolUniqueId(1912); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2D1_Int2_Int1 = - TSymbolUniqueId(1943); - static constexpr const TSymbolUniqueId imageAtomicOr_Image3D1_Int3_Int1 = TSymbolUniqueId(1944); + TSymbolUniqueId(1913); + static constexpr const TSymbolUniqueId imageAtomicOr_Image3D1_Int3_Int1 = TSymbolUniqueId(1914); static constexpr const TSymbolUniqueId imageAtomicOr_IImage3D1_Int3_Int1 = - TSymbolUniqueId(1945); + TSymbolUniqueId(1915); static constexpr const TSymbolUniqueId imageAtomicOr_UImage3D1_Int3_Int1 = - TSymbolUniqueId(1946); + TSymbolUniqueId(1916); static constexpr const TSymbolUniqueId imageAtomicOr_ImageCube1_Int3_Int1 = - TSymbolUniqueId(1947); + TSymbolUniqueId(1917); static constexpr const TSymbolUniqueId imageAtomicOr_IImageCube1_Int3_Int1 = - TSymbolUniqueId(1948); + TSymbolUniqueId(1918); static constexpr const TSymbolUniqueId imageAtomicOr_UImageCube1_Int3_Int1 = - TSymbolUniqueId(1949); + TSymbolUniqueId(1919); static constexpr const TSymbolUniqueId imageAtomicOr_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1950); + TSymbolUniqueId(1920); static constexpr const TSymbolUniqueId imageAtomicOr_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1951); + TSymbolUniqueId(1921); static constexpr const TSymbolUniqueId imageAtomicOr_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(1952); + TSymbolUniqueId(1922); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(1953); + TSymbolUniqueId(1923); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1954); + TSymbolUniqueId(1924); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(1955); + TSymbolUniqueId(1925); static constexpr const TSymbolUniqueId imageAtomicOr_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1956); + TSymbolUniqueId(1926); static constexpr const TSymbolUniqueId imageAtomicOr_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1957); + TSymbolUniqueId(1927); static constexpr const TSymbolUniqueId imageAtomicOr_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(1958); - static constexpr const TSymbolUniqueId imageAtomicOr_Image1D1_Int1_Int1 = TSymbolUniqueId(1959); + TSymbolUniqueId(1928); + static constexpr const TSymbolUniqueId imageAtomicOr_Image1D1_Int1_Int1 = TSymbolUniqueId(1929); static constexpr const TSymbolUniqueId imageAtomicOr_IImage1D1_Int1_Int1 = - TSymbolUniqueId(1960); + TSymbolUniqueId(1930); static constexpr const TSymbolUniqueId imageAtomicOr_UImage1D1_Int1_Int1 = - TSymbolUniqueId(1961); + TSymbolUniqueId(1931); static constexpr const TSymbolUniqueId imageAtomicOr_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(1962); + TSymbolUniqueId(1932); static constexpr const TSymbolUniqueId imageAtomicOr_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1963); + TSymbolUniqueId(1933); static constexpr const TSymbolUniqueId imageAtomicOr_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(1964); - static constexpr const TSymbolUniqueId imageAtomicOr_ImageRect1_Int2_Int1 = - TSymbolUniqueId(1965); - static constexpr const TSymbolUniqueId imageAtomicOr_IImageRect1_Int2_Int1 = - TSymbolUniqueId(1966); - static constexpr const TSymbolUniqueId imageAtomicOr_UImageRect1_Int2_Int1 = - TSymbolUniqueId(1967); + TSymbolUniqueId(1934); + static constexpr const TSymbolUniqueId imageAtomicOr_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(1935); + static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1936); + static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(1937); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1968); + TSymbolUniqueId(1938); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1969); + TSymbolUniqueId(1939); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(1970); + TSymbolUniqueId(1940); static constexpr const TSymbolUniqueId imageAtomicOr_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1971); + TSymbolUniqueId(1941); static constexpr const TSymbolUniqueId imageAtomicOr_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1972); + TSymbolUniqueId(1942); static constexpr const TSymbolUniqueId imageAtomicOr_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(1973); + TSymbolUniqueId(1943); static constexpr const TSymbolUniqueId imageAtomicXor_Image2D1_Int2_UInt1 = - TSymbolUniqueId(1974); + TSymbolUniqueId(1944); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(1975); + TSymbolUniqueId(1945); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(1976); + TSymbolUniqueId(1946); static constexpr const TSymbolUniqueId imageAtomicXor_Image3D1_Int3_UInt1 = - TSymbolUniqueId(1977); + TSymbolUniqueId(1947); static constexpr const TSymbolUniqueId imageAtomicXor_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(1978); + TSymbolUniqueId(1948); static constexpr const TSymbolUniqueId imageAtomicXor_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(1979); + TSymbolUniqueId(1949); static constexpr const TSymbolUniqueId imageAtomicXor_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(1980); + TSymbolUniqueId(1950); static constexpr const TSymbolUniqueId imageAtomicXor_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(1981); + TSymbolUniqueId(1951); static constexpr const TSymbolUniqueId imageAtomicXor_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(1982); + TSymbolUniqueId(1952); static constexpr const TSymbolUniqueId imageAtomicXor_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1983); + TSymbolUniqueId(1953); static constexpr const TSymbolUniqueId imageAtomicXor_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1984); + TSymbolUniqueId(1954); static constexpr const TSymbolUniqueId imageAtomicXor_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(1985); + TSymbolUniqueId(1955); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(1986); + TSymbolUniqueId(1956); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1987); + TSymbolUniqueId(1957); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(1988); + TSymbolUniqueId(1958); static constexpr const TSymbolUniqueId imageAtomicXor_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1989); + TSymbolUniqueId(1959); static constexpr const TSymbolUniqueId imageAtomicXor_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1990); + TSymbolUniqueId(1960); static constexpr const TSymbolUniqueId imageAtomicXor_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(1991); + TSymbolUniqueId(1961); static constexpr const TSymbolUniqueId imageAtomicXor_Image1D1_Int1_UInt1 = - TSymbolUniqueId(1992); + TSymbolUniqueId(1962); static constexpr const TSymbolUniqueId imageAtomicXor_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(1993); + TSymbolUniqueId(1963); static constexpr const TSymbolUniqueId imageAtomicXor_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(1994); + TSymbolUniqueId(1964); static constexpr const TSymbolUniqueId imageAtomicXor_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(1995); + TSymbolUniqueId(1965); static constexpr const TSymbolUniqueId imageAtomicXor_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1996); + TSymbolUniqueId(1966); static constexpr const TSymbolUniqueId imageAtomicXor_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(1997); - static constexpr const TSymbolUniqueId imageAtomicXor_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(1998); - static constexpr const TSymbolUniqueId imageAtomicXor_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(1999); - static constexpr const TSymbolUniqueId imageAtomicXor_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2000); + TSymbolUniqueId(1967); + static constexpr const TSymbolUniqueId imageAtomicXor_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(1968); + static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1969); + static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(1970); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2001); + TSymbolUniqueId(1971); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2002); + TSymbolUniqueId(1972); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2003); + TSymbolUniqueId(1973); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2004); + TSymbolUniqueId(1974); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2005); + TSymbolUniqueId(1975); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2006); + TSymbolUniqueId(1976); static constexpr const TSymbolUniqueId imageAtomicXor_Image2D1_Int2_Int1 = - TSymbolUniqueId(2007); + TSymbolUniqueId(1977); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2008); + TSymbolUniqueId(1978); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2009); + TSymbolUniqueId(1979); static constexpr const TSymbolUniqueId imageAtomicXor_Image3D1_Int3_Int1 = - TSymbolUniqueId(2010); + TSymbolUniqueId(1980); static constexpr const TSymbolUniqueId imageAtomicXor_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2011); + TSymbolUniqueId(1981); static constexpr const TSymbolUniqueId imageAtomicXor_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2012); + TSymbolUniqueId(1982); static constexpr const TSymbolUniqueId imageAtomicXor_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2013); + TSymbolUniqueId(1983); static constexpr const TSymbolUniqueId imageAtomicXor_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2014); + TSymbolUniqueId(1984); static constexpr const TSymbolUniqueId imageAtomicXor_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2015); + TSymbolUniqueId(1985); static constexpr const TSymbolUniqueId imageAtomicXor_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2016); + TSymbolUniqueId(1986); static constexpr const TSymbolUniqueId imageAtomicXor_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2017); + TSymbolUniqueId(1987); static constexpr const TSymbolUniqueId imageAtomicXor_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2018); + TSymbolUniqueId(1988); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2019); + TSymbolUniqueId(1989); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2020); + TSymbolUniqueId(1990); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2021); + TSymbolUniqueId(1991); static constexpr const TSymbolUniqueId imageAtomicXor_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2022); + TSymbolUniqueId(1992); static constexpr const TSymbolUniqueId imageAtomicXor_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2023); + TSymbolUniqueId(1993); static constexpr const TSymbolUniqueId imageAtomicXor_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2024); + TSymbolUniqueId(1994); static constexpr const TSymbolUniqueId imageAtomicXor_Image1D1_Int1_Int1 = - TSymbolUniqueId(2025); + TSymbolUniqueId(1995); static constexpr const TSymbolUniqueId imageAtomicXor_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2026); + TSymbolUniqueId(1996); static constexpr const TSymbolUniqueId imageAtomicXor_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2027); + TSymbolUniqueId(1997); static constexpr const TSymbolUniqueId imageAtomicXor_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2028); + TSymbolUniqueId(1998); static constexpr const TSymbolUniqueId imageAtomicXor_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2029); + TSymbolUniqueId(1999); static constexpr const TSymbolUniqueId imageAtomicXor_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2030); - static constexpr const TSymbolUniqueId imageAtomicXor_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2031); - static constexpr const TSymbolUniqueId imageAtomicXor_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2032); - static constexpr const TSymbolUniqueId imageAtomicXor_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2033); + TSymbolUniqueId(2000); + static constexpr const TSymbolUniqueId imageAtomicXor_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2001); + static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2002); + static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2003); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2034); + TSymbolUniqueId(2004); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2035); + TSymbolUniqueId(2005); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2036); + TSymbolUniqueId(2006); static constexpr const TSymbolUniqueId imageAtomicXor_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2037); + TSymbolUniqueId(2007); static constexpr const TSymbolUniqueId imageAtomicXor_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2038); + TSymbolUniqueId(2008); static constexpr const TSymbolUniqueId imageAtomicXor_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2039); + TSymbolUniqueId(2009); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2040); + TSymbolUniqueId(2010); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2041); + TSymbolUniqueId(2011); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2042); + TSymbolUniqueId(2012); static constexpr const TSymbolUniqueId imageAtomicExchange_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2043); + TSymbolUniqueId(2013); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2044); + TSymbolUniqueId(2014); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2045); + TSymbolUniqueId(2015); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2046); + TSymbolUniqueId(2016); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2047); + TSymbolUniqueId(2017); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2048); + TSymbolUniqueId(2018); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2049); + TSymbolUniqueId(2019); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2050); + TSymbolUniqueId(2020); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2051); + TSymbolUniqueId(2021); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2052); + TSymbolUniqueId(2022); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2053); + TSymbolUniqueId(2023); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2054); + TSymbolUniqueId(2024); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2055); + TSymbolUniqueId(2025); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2056); + TSymbolUniqueId(2026); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2057); + TSymbolUniqueId(2027); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2058); + TSymbolUniqueId(2028); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2059); + TSymbolUniqueId(2029); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2060); + TSymbolUniqueId(2030); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2061); + TSymbolUniqueId(2031); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2062); + TSymbolUniqueId(2032); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2063); - static constexpr const TSymbolUniqueId imageAtomicExchange_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2064); - static constexpr const TSymbolUniqueId imageAtomicExchange_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2065); - static constexpr const TSymbolUniqueId imageAtomicExchange_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2066); + TSymbolUniqueId(2033); + static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2034); + static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2035); + static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2036); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2067); + TSymbolUniqueId(2037); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2068); + TSymbolUniqueId(2038); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2069); + TSymbolUniqueId(2039); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2070); + TSymbolUniqueId(2040); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2071); + TSymbolUniqueId(2041); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2072); + TSymbolUniqueId(2042); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2D1_Int2_Int1 = - TSymbolUniqueId(2073); + TSymbolUniqueId(2043); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2074); + TSymbolUniqueId(2044); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2075); + TSymbolUniqueId(2045); static constexpr const TSymbolUniqueId imageAtomicExchange_Image3D1_Int3_Int1 = - TSymbolUniqueId(2076); + TSymbolUniqueId(2046); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2077); + TSymbolUniqueId(2047); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2078); + TSymbolUniqueId(2048); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2079); + TSymbolUniqueId(2049); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2080); + TSymbolUniqueId(2050); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2081); + TSymbolUniqueId(2051); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2082); + TSymbolUniqueId(2052); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2083); + TSymbolUniqueId(2053); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2084); + TSymbolUniqueId(2054); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2085); + TSymbolUniqueId(2055); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2086); + TSymbolUniqueId(2056); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2087); + TSymbolUniqueId(2057); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2088); + TSymbolUniqueId(2058); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2089); + TSymbolUniqueId(2059); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2090); + TSymbolUniqueId(2060); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1D1_Int1_Int1 = - TSymbolUniqueId(2091); + TSymbolUniqueId(2061); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2092); + TSymbolUniqueId(2062); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2093); + TSymbolUniqueId(2063); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2094); + TSymbolUniqueId(2064); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2095); + TSymbolUniqueId(2065); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2096); - static constexpr const TSymbolUniqueId imageAtomicExchange_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2097); - static constexpr const TSymbolUniqueId imageAtomicExchange_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2098); - static constexpr const TSymbolUniqueId imageAtomicExchange_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2099); + TSymbolUniqueId(2066); + static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2067); + static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2068); + static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2069); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2100); + TSymbolUniqueId(2070); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2101); + TSymbolUniqueId(2071); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2102); + TSymbolUniqueId(2072); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2103); + TSymbolUniqueId(2073); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2104); + TSymbolUniqueId(2074); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2105); + TSymbolUniqueId(2075); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2D1_Int2_Float1 = - TSymbolUniqueId(2106); + TSymbolUniqueId(2076); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2D1_Int2_Float1 = - TSymbolUniqueId(2107); + TSymbolUniqueId(2077); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2D1_Int2_Float1 = - TSymbolUniqueId(2108); + TSymbolUniqueId(2078); static constexpr const TSymbolUniqueId imageAtomicExchange_Image3D1_Int3_Float1 = - TSymbolUniqueId(2109); + TSymbolUniqueId(2079); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage3D1_Int3_Float1 = - TSymbolUniqueId(2110); + TSymbolUniqueId(2080); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage3D1_Int3_Float1 = - TSymbolUniqueId(2111); + TSymbolUniqueId(2081); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCube1_Int3_Float1 = - TSymbolUniqueId(2112); + TSymbolUniqueId(2082); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCube1_Int3_Float1 = - TSymbolUniqueId(2113); + TSymbolUniqueId(2083); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCube1_Int3_Float1 = - TSymbolUniqueId(2114); + TSymbolUniqueId(2084); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2115); + TSymbolUniqueId(2085); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2116); + TSymbolUniqueId(2086); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2117); + TSymbolUniqueId(2087); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DArray1_Int3_Float1 = - TSymbolUniqueId(2118); + TSymbolUniqueId(2088); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DArray1_Int3_Float1 = - TSymbolUniqueId(2119); + TSymbolUniqueId(2089); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DArray1_Int3_Float1 = - TSymbolUniqueId(2120); + TSymbolUniqueId(2090); static constexpr const TSymbolUniqueId imageAtomicExchange_ImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2121); + TSymbolUniqueId(2091); static constexpr const TSymbolUniqueId imageAtomicExchange_IImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2122); + TSymbolUniqueId(2092); static constexpr const TSymbolUniqueId imageAtomicExchange_UImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2123); + TSymbolUniqueId(2093); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1D1_Int1_Float1 = - TSymbolUniqueId(2124); + TSymbolUniqueId(2094); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1D1_Int1_Float1 = - TSymbolUniqueId(2125); + TSymbolUniqueId(2095); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1D1_Int1_Float1 = - TSymbolUniqueId(2126); + TSymbolUniqueId(2096); static constexpr const TSymbolUniqueId imageAtomicExchange_Image1DArray1_Int2_Float1 = - TSymbolUniqueId(2127); + TSymbolUniqueId(2097); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage1DArray1_Int2_Float1 = - TSymbolUniqueId(2128); + TSymbolUniqueId(2098); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage1DArray1_Int2_Float1 = - TSymbolUniqueId(2129); - static constexpr const TSymbolUniqueId imageAtomicExchange_ImageRect1_Int2_Float1 = - TSymbolUniqueId(2130); - static constexpr const TSymbolUniqueId imageAtomicExchange_IImageRect1_Int2_Float1 = - TSymbolUniqueId(2131); - static constexpr const TSymbolUniqueId imageAtomicExchange_UImageRect1_Int2_Float1 = - TSymbolUniqueId(2132); + TSymbolUniqueId(2099); + static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DRect1_Int2_Float1 = + TSymbolUniqueId(2100); + static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DRect1_Int2_Float1 = + TSymbolUniqueId(2101); + static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DRect1_Int2_Float1 = + TSymbolUniqueId(2102); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2133); + TSymbolUniqueId(2103); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2134); + TSymbolUniqueId(2104); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2135); + TSymbolUniqueId(2105); static constexpr const TSymbolUniqueId imageAtomicExchange_Image2DMSArray1_Int3_Int1_Float1 = - TSymbolUniqueId(2136); + TSymbolUniqueId(2106); static constexpr const TSymbolUniqueId imageAtomicExchange_IImage2DMSArray1_Int3_Int1_Float1 = - TSymbolUniqueId(2137); + TSymbolUniqueId(2107); static constexpr const TSymbolUniqueId imageAtomicExchange_UImage2DMSArray1_Int3_Int1_Float1 = - TSymbolUniqueId(2138); + TSymbolUniqueId(2108); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2139); + TSymbolUniqueId(2109); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2140); + TSymbolUniqueId(2110); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2141); + TSymbolUniqueId(2111); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2142); + TSymbolUniqueId(2112); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2143); + TSymbolUniqueId(2113); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2144); + TSymbolUniqueId(2114); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2145); + TSymbolUniqueId(2115); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2146); + TSymbolUniqueId(2116); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2147); + TSymbolUniqueId(2117); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2148); + TSymbolUniqueId(2118); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2149); + TSymbolUniqueId(2119); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2150); + TSymbolUniqueId(2120); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2151); + TSymbolUniqueId(2121); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2152); + TSymbolUniqueId(2122); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2153); + TSymbolUniqueId(2123); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageCubeArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2154); + TSymbolUniqueId(2124); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageCubeArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2155); + TSymbolUniqueId(2125); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageCubeArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2156); + TSymbolUniqueId(2126); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2157); + TSymbolUniqueId(2127); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2158); + TSymbolUniqueId(2128); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2159); + TSymbolUniqueId(2129); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2160); + TSymbolUniqueId(2130); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2161); + TSymbolUniqueId(2131); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2162); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2163); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2164); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2165); + TSymbolUniqueId(2132); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2133); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2134); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2135); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DMS1_Int2_Int1_UInt1_UInt1 = - TSymbolUniqueId(2166); + TSymbolUniqueId(2136); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DMS1_Int2_Int1_UInt1_UInt1 = - TSymbolUniqueId(2167); + TSymbolUniqueId(2137); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DMS1_Int2_Int1_UInt1_UInt1 = - TSymbolUniqueId(2168); + TSymbolUniqueId(2138); static constexpr const TSymbolUniqueId - imageAtomicCompSwap_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2169); + imageAtomicCompSwap_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2139); static constexpr const TSymbolUniqueId - imageAtomicCompSwap_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2170); + imageAtomicCompSwap_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2140); static constexpr const TSymbolUniqueId - imageAtomicCompSwap_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2171); + imageAtomicCompSwap_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2141); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2172); + TSymbolUniqueId(2142); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2173); + TSymbolUniqueId(2143); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2174); + TSymbolUniqueId(2144); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2175); + TSymbolUniqueId(2145); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2176); + TSymbolUniqueId(2146); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2177); + TSymbolUniqueId(2147); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2178); + TSymbolUniqueId(2148); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2179); + TSymbolUniqueId(2149); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2180); + TSymbolUniqueId(2150); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2181); + TSymbolUniqueId(2151); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2182); + TSymbolUniqueId(2152); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2183); + TSymbolUniqueId(2153); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2184); + TSymbolUniqueId(2154); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2185); + TSymbolUniqueId(2155); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2186); + TSymbolUniqueId(2156); static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2187); + TSymbolUniqueId(2157); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2188); + TSymbolUniqueId(2158); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2189); + TSymbolUniqueId(2159); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2190); + TSymbolUniqueId(2160); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2191); + TSymbolUniqueId(2161); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2192); + TSymbolUniqueId(2162); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2193); + TSymbolUniqueId(2163); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2194); + TSymbolUniqueId(2164); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2195); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_ImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2196); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2197); - static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2198); + TSymbolUniqueId(2165); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2166); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2167); + static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2168); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(2199); + TSymbolUniqueId(2169); static constexpr const TSymbolUniqueId imageAtomicCompSwap_IImage2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(2200); + TSymbolUniqueId(2170); static constexpr const TSymbolUniqueId imageAtomicCompSwap_UImage2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(2201); + TSymbolUniqueId(2171); static constexpr const TSymbolUniqueId imageAtomicCompSwap_Image2DMSArray1_Int3_Int1_Int1_Int1 = - TSymbolUniqueId(2202); + TSymbolUniqueId(2172); static constexpr const TSymbolUniqueId - imageAtomicCompSwap_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2203); + imageAtomicCompSwap_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2173); static constexpr const TSymbolUniqueId - imageAtomicCompSwap_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2204); + imageAtomicCompSwap_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2174); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2205); + TSymbolUniqueId(2175); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2206); + TSymbolUniqueId(2176); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2207); + TSymbolUniqueId(2177); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2208); + TSymbolUniqueId(2178); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2209); + TSymbolUniqueId(2179); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2210); + TSymbolUniqueId(2180); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2211); + TSymbolUniqueId(2181); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2212); + TSymbolUniqueId(2182); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2213); + TSymbolUniqueId(2183); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2214); + TSymbolUniqueId(2184); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2215); + TSymbolUniqueId(2185); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2216); + TSymbolUniqueId(2186); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2217); + TSymbolUniqueId(2187); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2218); + TSymbolUniqueId(2188); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2219); + TSymbolUniqueId(2189); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2220); + TSymbolUniqueId(2190); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2221); + TSymbolUniqueId(2191); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2222); + TSymbolUniqueId(2192); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2223); + TSymbolUniqueId(2193); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2224); + TSymbolUniqueId(2194); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2225); + TSymbolUniqueId(2195); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2226); + TSymbolUniqueId(2196); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2227); + TSymbolUniqueId(2197); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2228); - static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2229); - static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2230); - static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2231); + TSymbolUniqueId(2198); + static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2199); + static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2200); + static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2201); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2232); + TSymbolUniqueId(2202); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2233); + TSymbolUniqueId(2203); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2234); + TSymbolUniqueId(2204); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2235); + TSymbolUniqueId(2205); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2236); + TSymbolUniqueId(2206); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2237); + TSymbolUniqueId(2207); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2238); + TSymbolUniqueId(2208); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2239); + TSymbolUniqueId(2209); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2240); + TSymbolUniqueId(2210); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2241); + TSymbolUniqueId(2211); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2242); + TSymbolUniqueId(2212); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2243); + TSymbolUniqueId(2213); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2244); + TSymbolUniqueId(2214); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2245); + TSymbolUniqueId(2215); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2246); + TSymbolUniqueId(2216); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2247); + TSymbolUniqueId(2217); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2248); + TSymbolUniqueId(2218); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2249); + TSymbolUniqueId(2219); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2250); + TSymbolUniqueId(2220); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2251); + TSymbolUniqueId(2221); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2252); + TSymbolUniqueId(2222); static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2253); + TSymbolUniqueId(2223); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2254); + TSymbolUniqueId(2224); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2255); + TSymbolUniqueId(2225); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2256); + TSymbolUniqueId(2226); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2257); + TSymbolUniqueId(2227); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2258); + TSymbolUniqueId(2228); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2259); + TSymbolUniqueId(2229); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2260); + TSymbolUniqueId(2230); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2261); - static constexpr const TSymbolUniqueId imageAtomicAddExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2262); - static constexpr const TSymbolUniqueId imageAtomicAddExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2263); - static constexpr const TSymbolUniqueId imageAtomicAddExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2264); + TSymbolUniqueId(2231); + static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2232); + static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2233); + static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2234); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2265); + TSymbolUniqueId(2235); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2266); + TSymbolUniqueId(2236); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2267); + TSymbolUniqueId(2237); static constexpr const TSymbolUniqueId imageAtomicAddExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2268); + TSymbolUniqueId(2238); static constexpr const TSymbolUniqueId imageAtomicAddExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2269); + TSymbolUniqueId(2239); static constexpr const TSymbolUniqueId imageAtomicAddExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2270); + TSymbolUniqueId(2240); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2271); + TSymbolUniqueId(2241); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2272); + TSymbolUniqueId(2242); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2273); + TSymbolUniqueId(2243); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2274); + TSymbolUniqueId(2244); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2275); + TSymbolUniqueId(2245); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2276); + TSymbolUniqueId(2246); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2277); + TSymbolUniqueId(2247); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2278); + TSymbolUniqueId(2248); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2279); + TSymbolUniqueId(2249); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2280); + TSymbolUniqueId(2250); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2281); + TSymbolUniqueId(2251); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2282); + TSymbolUniqueId(2252); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2283); + TSymbolUniqueId(2253); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2284); + TSymbolUniqueId(2254); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2285); + TSymbolUniqueId(2255); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2286); + TSymbolUniqueId(2256); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2287); + TSymbolUniqueId(2257); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2288); + TSymbolUniqueId(2258); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2289); + TSymbolUniqueId(2259); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2290); + TSymbolUniqueId(2260); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2291); + TSymbolUniqueId(2261); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2292); + TSymbolUniqueId(2262); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2293); + TSymbolUniqueId(2263); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2294); - static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2295); - static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2296); - static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2297); + TSymbolUniqueId(2264); + static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2265); + static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2266); + static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2267); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2298); + TSymbolUniqueId(2268); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2299); + TSymbolUniqueId(2269); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2300); + TSymbolUniqueId(2270); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2301); + TSymbolUniqueId(2271); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2302); + TSymbolUniqueId(2272); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2303); + TSymbolUniqueId(2273); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2304); + TSymbolUniqueId(2274); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2305); + TSymbolUniqueId(2275); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2306); + TSymbolUniqueId(2276); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2307); + TSymbolUniqueId(2277); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2308); + TSymbolUniqueId(2278); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2309); + TSymbolUniqueId(2279); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2310); + TSymbolUniqueId(2280); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2311); + TSymbolUniqueId(2281); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2312); + TSymbolUniqueId(2282); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2313); + TSymbolUniqueId(2283); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2314); + TSymbolUniqueId(2284); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2315); + TSymbolUniqueId(2285); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2316); + TSymbolUniqueId(2286); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2317); + TSymbolUniqueId(2287); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2318); + TSymbolUniqueId(2288); static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2319); + TSymbolUniqueId(2289); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2320); + TSymbolUniqueId(2290); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2321); + TSymbolUniqueId(2291); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2322); + TSymbolUniqueId(2292); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2323); + TSymbolUniqueId(2293); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2324); + TSymbolUniqueId(2294); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2325); + TSymbolUniqueId(2295); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2326); + TSymbolUniqueId(2296); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2327); - static constexpr const TSymbolUniqueId imageAtomicMinExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2328); - static constexpr const TSymbolUniqueId imageAtomicMinExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2329); - static constexpr const TSymbolUniqueId imageAtomicMinExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2330); + TSymbolUniqueId(2297); + static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2298); + static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2299); + static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2300); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2331); + TSymbolUniqueId(2301); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2332); + TSymbolUniqueId(2302); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2333); + TSymbolUniqueId(2303); static constexpr const TSymbolUniqueId imageAtomicMinExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2334); + TSymbolUniqueId(2304); static constexpr const TSymbolUniqueId imageAtomicMinExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2335); + TSymbolUniqueId(2305); static constexpr const TSymbolUniqueId imageAtomicMinExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2336); + TSymbolUniqueId(2306); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2337); + TSymbolUniqueId(2307); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2338); + TSymbolUniqueId(2308); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2339); + TSymbolUniqueId(2309); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2340); + TSymbolUniqueId(2310); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2341); + TSymbolUniqueId(2311); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2342); + TSymbolUniqueId(2312); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2343); + TSymbolUniqueId(2313); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2344); + TSymbolUniqueId(2314); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2345); + TSymbolUniqueId(2315); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2346); + TSymbolUniqueId(2316); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2347); + TSymbolUniqueId(2317); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2348); + TSymbolUniqueId(2318); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2349); + TSymbolUniqueId(2319); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2350); + TSymbolUniqueId(2320); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2351); + TSymbolUniqueId(2321); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2352); + TSymbolUniqueId(2322); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2353); + TSymbolUniqueId(2323); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2354); + TSymbolUniqueId(2324); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2355); + TSymbolUniqueId(2325); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2356); + TSymbolUniqueId(2326); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2357); + TSymbolUniqueId(2327); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2358); + TSymbolUniqueId(2328); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2359); + TSymbolUniqueId(2329); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2360); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2361); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2362); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2363); + TSymbolUniqueId(2330); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2331); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2332); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2333); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2364); + TSymbolUniqueId(2334); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2365); + TSymbolUniqueId(2335); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2366); + TSymbolUniqueId(2336); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2367); + TSymbolUniqueId(2337); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2368); + TSymbolUniqueId(2338); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2369); + TSymbolUniqueId(2339); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2370); + TSymbolUniqueId(2340); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2371); + TSymbolUniqueId(2341); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2372); + TSymbolUniqueId(2342); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2373); + TSymbolUniqueId(2343); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2374); + TSymbolUniqueId(2344); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2375); + TSymbolUniqueId(2345); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2376); + TSymbolUniqueId(2346); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2377); + TSymbolUniqueId(2347); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2378); + TSymbolUniqueId(2348); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2379); + TSymbolUniqueId(2349); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2380); + TSymbolUniqueId(2350); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2381); + TSymbolUniqueId(2351); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2382); + TSymbolUniqueId(2352); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2383); + TSymbolUniqueId(2353); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2384); + TSymbolUniqueId(2354); static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2385); + TSymbolUniqueId(2355); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2386); + TSymbolUniqueId(2356); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2387); + TSymbolUniqueId(2357); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2388); + TSymbolUniqueId(2358); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2389); + TSymbolUniqueId(2359); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2390); + TSymbolUniqueId(2360); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2391); + TSymbolUniqueId(2361); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2392); + TSymbolUniqueId(2362); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2393); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2394); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2395); - static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2396); + TSymbolUniqueId(2363); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2364); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2365); + static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2366); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2397); + TSymbolUniqueId(2367); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2398); + TSymbolUniqueId(2368); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2399); + TSymbolUniqueId(2369); static constexpr const TSymbolUniqueId imageAtomicMaxExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2400); + TSymbolUniqueId(2370); static constexpr const TSymbolUniqueId imageAtomicMaxExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2401); + TSymbolUniqueId(2371); static constexpr const TSymbolUniqueId imageAtomicMaxExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2402); + TSymbolUniqueId(2372); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2403); + TSymbolUniqueId(2373); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2404); + TSymbolUniqueId(2374); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2405); + TSymbolUniqueId(2375); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2406); + TSymbolUniqueId(2376); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2407); + TSymbolUniqueId(2377); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2408); + TSymbolUniqueId(2378); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2409); + TSymbolUniqueId(2379); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2410); + TSymbolUniqueId(2380); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2411); + TSymbolUniqueId(2381); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2412); + TSymbolUniqueId(2382); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2413); + TSymbolUniqueId(2383); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2414); + TSymbolUniqueId(2384); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2415); + TSymbolUniqueId(2385); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2416); + TSymbolUniqueId(2386); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2417); + TSymbolUniqueId(2387); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2418); + TSymbolUniqueId(2388); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2419); + TSymbolUniqueId(2389); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2420); + TSymbolUniqueId(2390); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2421); + TSymbolUniqueId(2391); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2422); + TSymbolUniqueId(2392); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2423); + TSymbolUniqueId(2393); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2424); + TSymbolUniqueId(2394); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2425); + TSymbolUniqueId(2395); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2426); - static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2427); - static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2428); - static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2429); + TSymbolUniqueId(2396); + static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2397); + static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2398); + static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2399); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2430); + TSymbolUniqueId(2400); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2431); + TSymbolUniqueId(2401); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2432); + TSymbolUniqueId(2402); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2433); + TSymbolUniqueId(2403); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2434); + TSymbolUniqueId(2404); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2435); + TSymbolUniqueId(2405); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2436); + TSymbolUniqueId(2406); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2437); + TSymbolUniqueId(2407); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2438); + TSymbolUniqueId(2408); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2439); + TSymbolUniqueId(2409); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2440); + TSymbolUniqueId(2410); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2441); + TSymbolUniqueId(2411); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2442); + TSymbolUniqueId(2412); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2443); + TSymbolUniqueId(2413); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2444); + TSymbolUniqueId(2414); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2445); + TSymbolUniqueId(2415); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2446); + TSymbolUniqueId(2416); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2447); + TSymbolUniqueId(2417); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2448); + TSymbolUniqueId(2418); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2449); + TSymbolUniqueId(2419); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2450); + TSymbolUniqueId(2420); static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2451); + TSymbolUniqueId(2421); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2452); + TSymbolUniqueId(2422); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2453); + TSymbolUniqueId(2423); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2454); + TSymbolUniqueId(2424); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2455); + TSymbolUniqueId(2425); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2456); + TSymbolUniqueId(2426); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2457); + TSymbolUniqueId(2427); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2458); + TSymbolUniqueId(2428); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2459); - static constexpr const TSymbolUniqueId imageAtomicAndExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2460); - static constexpr const TSymbolUniqueId imageAtomicAndExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2461); - static constexpr const TSymbolUniqueId imageAtomicAndExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2462); + TSymbolUniqueId(2429); + static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2430); + static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2431); + static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2432); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2463); + TSymbolUniqueId(2433); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2464); + TSymbolUniqueId(2434); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2465); + TSymbolUniqueId(2435); static constexpr const TSymbolUniqueId imageAtomicAndExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2466); + TSymbolUniqueId(2436); static constexpr const TSymbolUniqueId imageAtomicAndExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2467); + TSymbolUniqueId(2437); static constexpr const TSymbolUniqueId imageAtomicAndExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2468); + TSymbolUniqueId(2438); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2469); + TSymbolUniqueId(2439); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2470); + TSymbolUniqueId(2440); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2471); + TSymbolUniqueId(2441); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2472); + TSymbolUniqueId(2442); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2473); + TSymbolUniqueId(2443); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2474); + TSymbolUniqueId(2444); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2475); + TSymbolUniqueId(2445); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2476); + TSymbolUniqueId(2446); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2477); + TSymbolUniqueId(2447); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2478); + TSymbolUniqueId(2448); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2479); + TSymbolUniqueId(2449); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2480); + TSymbolUniqueId(2450); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2481); + TSymbolUniqueId(2451); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2482); + TSymbolUniqueId(2452); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2483); + TSymbolUniqueId(2453); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2484); + TSymbolUniqueId(2454); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2485); + TSymbolUniqueId(2455); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2486); + TSymbolUniqueId(2456); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2487); + TSymbolUniqueId(2457); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2488); + TSymbolUniqueId(2458); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2489); + TSymbolUniqueId(2459); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2490); + TSymbolUniqueId(2460); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2491); + TSymbolUniqueId(2461); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2492); - static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2493); - static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2494); - static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2495); + TSymbolUniqueId(2462); + static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2463); + static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2464); + static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2465); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2496); + TSymbolUniqueId(2466); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2497); + TSymbolUniqueId(2467); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2498); + TSymbolUniqueId(2468); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2499); + TSymbolUniqueId(2469); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2500); + TSymbolUniqueId(2470); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2501); + TSymbolUniqueId(2471); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2502); + TSymbolUniqueId(2472); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2503); + TSymbolUniqueId(2473); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2504); + TSymbolUniqueId(2474); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2505); + TSymbolUniqueId(2475); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2506); + TSymbolUniqueId(2476); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2507); + TSymbolUniqueId(2477); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2508); + TSymbolUniqueId(2478); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2509); + TSymbolUniqueId(2479); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2510); + TSymbolUniqueId(2480); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2511); + TSymbolUniqueId(2481); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2512); + TSymbolUniqueId(2482); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2513); + TSymbolUniqueId(2483); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2514); + TSymbolUniqueId(2484); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2515); + TSymbolUniqueId(2485); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2516); + TSymbolUniqueId(2486); static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2517); + TSymbolUniqueId(2487); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2518); + TSymbolUniqueId(2488); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2519); + TSymbolUniqueId(2489); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2520); + TSymbolUniqueId(2490); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2521); + TSymbolUniqueId(2491); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2522); + TSymbolUniqueId(2492); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2523); + TSymbolUniqueId(2493); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2524); + TSymbolUniqueId(2494); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2525); - static constexpr const TSymbolUniqueId imageAtomicOrExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2526); - static constexpr const TSymbolUniqueId imageAtomicOrExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2527); - static constexpr const TSymbolUniqueId imageAtomicOrExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2528); + TSymbolUniqueId(2495); + static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2496); + static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2497); + static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2498); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2529); + TSymbolUniqueId(2499); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2530); + TSymbolUniqueId(2500); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2531); + TSymbolUniqueId(2501); static constexpr const TSymbolUniqueId imageAtomicOrExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2532); + TSymbolUniqueId(2502); static constexpr const TSymbolUniqueId imageAtomicOrExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2533); + TSymbolUniqueId(2503); static constexpr const TSymbolUniqueId imageAtomicOrExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2534); + TSymbolUniqueId(2504); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2535); + TSymbolUniqueId(2505); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2536); + TSymbolUniqueId(2506); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2537); + TSymbolUniqueId(2507); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2538); + TSymbolUniqueId(2508); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2539); + TSymbolUniqueId(2509); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2540); + TSymbolUniqueId(2510); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2541); + TSymbolUniqueId(2511); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2542); + TSymbolUniqueId(2512); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2543); + TSymbolUniqueId(2513); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2544); + TSymbolUniqueId(2514); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2545); + TSymbolUniqueId(2515); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2546); + TSymbolUniqueId(2516); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2547); + TSymbolUniqueId(2517); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2548); + TSymbolUniqueId(2518); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2549); + TSymbolUniqueId(2519); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2550); + TSymbolUniqueId(2520); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2551); + TSymbolUniqueId(2521); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2552); + TSymbolUniqueId(2522); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2553); + TSymbolUniqueId(2523); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2554); + TSymbolUniqueId(2524); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2555); + TSymbolUniqueId(2525); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2556); + TSymbolUniqueId(2526); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2557); + TSymbolUniqueId(2527); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2558); - static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2559); - static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2560); - static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2561); + TSymbolUniqueId(2528); + static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2529); + static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2530); + static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2531); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2562); + TSymbolUniqueId(2532); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2563); + TSymbolUniqueId(2533); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2564); + TSymbolUniqueId(2534); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2565); + TSymbolUniqueId(2535); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2566); + TSymbolUniqueId(2536); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2567); + TSymbolUniqueId(2537); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2568); + TSymbolUniqueId(2538); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2569); + TSymbolUniqueId(2539); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2570); + TSymbolUniqueId(2540); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2571); + TSymbolUniqueId(2541); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2572); + TSymbolUniqueId(2542); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2573); + TSymbolUniqueId(2543); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2574); + TSymbolUniqueId(2544); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2575); + TSymbolUniqueId(2545); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2576); + TSymbolUniqueId(2546); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2577); + TSymbolUniqueId(2547); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2578); + TSymbolUniqueId(2548); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2579); + TSymbolUniqueId(2549); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2580); + TSymbolUniqueId(2550); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2581); + TSymbolUniqueId(2551); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2582); + TSymbolUniqueId(2552); static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2583); + TSymbolUniqueId(2553); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2584); + TSymbolUniqueId(2554); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2585); + TSymbolUniqueId(2555); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2586); + TSymbolUniqueId(2556); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2587); + TSymbolUniqueId(2557); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2588); + TSymbolUniqueId(2558); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2589); + TSymbolUniqueId(2559); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2590); + TSymbolUniqueId(2560); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2591); - static constexpr const TSymbolUniqueId imageAtomicXorExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2592); - static constexpr const TSymbolUniqueId imageAtomicXorExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2593); - static constexpr const TSymbolUniqueId imageAtomicXorExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2594); + TSymbolUniqueId(2561); + static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2562); + static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2563); + static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2564); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2595); + TSymbolUniqueId(2565); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2596); + TSymbolUniqueId(2566); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2597); + TSymbolUniqueId(2567); static constexpr const TSymbolUniqueId imageAtomicXorExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2598); + TSymbolUniqueId(2568); static constexpr const TSymbolUniqueId imageAtomicXorExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2599); + TSymbolUniqueId(2569); static constexpr const TSymbolUniqueId imageAtomicXorExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2600); + TSymbolUniqueId(2570); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_UInt1 = - TSymbolUniqueId(2601); + TSymbolUniqueId(2571); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_UInt1 = - TSymbolUniqueId(2602); + TSymbolUniqueId(2572); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_UInt1 = - TSymbolUniqueId(2603); + TSymbolUniqueId(2573); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_UInt1 = - TSymbolUniqueId(2604); + TSymbolUniqueId(2574); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_UInt1 = - TSymbolUniqueId(2605); + TSymbolUniqueId(2575); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_UInt1 = - TSymbolUniqueId(2606); + TSymbolUniqueId(2576); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_UInt1 = - TSymbolUniqueId(2607); + TSymbolUniqueId(2577); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_UInt1 = - TSymbolUniqueId(2608); + TSymbolUniqueId(2578); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_UInt1 = - TSymbolUniqueId(2609); + TSymbolUniqueId(2579); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2610); + TSymbolUniqueId(2580); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2611); + TSymbolUniqueId(2581); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_UInt1 = - TSymbolUniqueId(2612); + TSymbolUniqueId(2582); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_UInt1 = - TSymbolUniqueId(2613); + TSymbolUniqueId(2583); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2614); + TSymbolUniqueId(2584); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_UInt1 = - TSymbolUniqueId(2615); + TSymbolUniqueId(2585); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2616); + TSymbolUniqueId(2586); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2617); + TSymbolUniqueId(2587); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_UInt1 = - TSymbolUniqueId(2618); + TSymbolUniqueId(2588); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_UInt1 = - TSymbolUniqueId(2619); + TSymbolUniqueId(2589); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_UInt1 = - TSymbolUniqueId(2620); + TSymbolUniqueId(2590); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_UInt1 = - TSymbolUniqueId(2621); + TSymbolUniqueId(2591); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_UInt1 = - TSymbolUniqueId(2622); + TSymbolUniqueId(2592); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2623); + TSymbolUniqueId(2593); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_UInt1 = - TSymbolUniqueId(2624); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_UInt1 = - TSymbolUniqueId(2625); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_UInt1 = - TSymbolUniqueId(2626); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_UInt1 = - TSymbolUniqueId(2627); + TSymbolUniqueId(2594); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_UInt1 = + TSymbolUniqueId(2595); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2596); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_UInt1 = + TSymbolUniqueId(2597); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2628); + TSymbolUniqueId(2598); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2629); + TSymbolUniqueId(2599); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_UInt1 = - TSymbolUniqueId(2630); + TSymbolUniqueId(2600); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2631); + TSymbolUniqueId(2601); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2632); + TSymbolUniqueId(2602); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_UInt1 = - TSymbolUniqueId(2633); + TSymbolUniqueId(2603); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_Int1 = - TSymbolUniqueId(2634); + TSymbolUniqueId(2604); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_Int1 = - TSymbolUniqueId(2635); + TSymbolUniqueId(2605); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_Int1 = - TSymbolUniqueId(2636); + TSymbolUniqueId(2606); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_Int1 = - TSymbolUniqueId(2637); + TSymbolUniqueId(2607); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_Int1 = - TSymbolUniqueId(2638); + TSymbolUniqueId(2608); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_Int1 = - TSymbolUniqueId(2639); + TSymbolUniqueId(2609); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_Int1 = - TSymbolUniqueId(2640); + TSymbolUniqueId(2610); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_Int1 = - TSymbolUniqueId(2641); + TSymbolUniqueId(2611); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_Int1 = - TSymbolUniqueId(2642); + TSymbolUniqueId(2612); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2643); + TSymbolUniqueId(2613); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2644); + TSymbolUniqueId(2614); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_Int1 = - TSymbolUniqueId(2645); + TSymbolUniqueId(2615); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_Int1 = - TSymbolUniqueId(2646); + TSymbolUniqueId(2616); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2647); + TSymbolUniqueId(2617); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_Int1 = - TSymbolUniqueId(2648); + TSymbolUniqueId(2618); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2649); + TSymbolUniqueId(2619); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2650); + TSymbolUniqueId(2620); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_Int1 = - TSymbolUniqueId(2651); + TSymbolUniqueId(2621); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_Int1 = - TSymbolUniqueId(2652); + TSymbolUniqueId(2622); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_Int1 = - TSymbolUniqueId(2653); + TSymbolUniqueId(2623); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_Int1 = - TSymbolUniqueId(2654); + TSymbolUniqueId(2624); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_Int1 = - TSymbolUniqueId(2655); + TSymbolUniqueId(2625); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2656); + TSymbolUniqueId(2626); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_Int1 = - TSymbolUniqueId(2657); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_Int1 = - TSymbolUniqueId(2658); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_Int1 = - TSymbolUniqueId(2659); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_Int1 = - TSymbolUniqueId(2660); + TSymbolUniqueId(2627); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_Int1 = + TSymbolUniqueId(2628); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2629); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_Int1 = + TSymbolUniqueId(2630); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2661); + TSymbolUniqueId(2631); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2662); + TSymbolUniqueId(2632); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Int1 = - TSymbolUniqueId(2663); + TSymbolUniqueId(2633); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2664); + TSymbolUniqueId(2634); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2665); + TSymbolUniqueId(2635); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2666); + TSymbolUniqueId(2636); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2D1_Int2_Float1 = - TSymbolUniqueId(2667); + TSymbolUniqueId(2637); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2D1_Int2_Float1 = - TSymbolUniqueId(2668); + TSymbolUniqueId(2638); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2D1_Int2_Float1 = - TSymbolUniqueId(2669); + TSymbolUniqueId(2639); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image3D1_Int3_Float1 = - TSymbolUniqueId(2670); + TSymbolUniqueId(2640); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage3D1_Int3_Float1 = - TSymbolUniqueId(2671); + TSymbolUniqueId(2641); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage3D1_Int3_Float1 = - TSymbolUniqueId(2672); + TSymbolUniqueId(2642); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCube1_Int3_Float1 = - TSymbolUniqueId(2673); + TSymbolUniqueId(2643); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCube1_Int3_Float1 = - TSymbolUniqueId(2674); + TSymbolUniqueId(2644); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCube1_Int3_Float1 = - TSymbolUniqueId(2675); + TSymbolUniqueId(2645); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2676); + TSymbolUniqueId(2646); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2677); + TSymbolUniqueId(2647); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageBuffer1_Int1_Float1 = - TSymbolUniqueId(2678); + TSymbolUniqueId(2648); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DArray1_Int3_Float1 = - TSymbolUniqueId(2679); + TSymbolUniqueId(2649); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DArray1_Int3_Float1 = - TSymbolUniqueId(2680); + TSymbolUniqueId(2650); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DArray1_Int3_Float1 = - TSymbolUniqueId(2681); + TSymbolUniqueId(2651); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2682); + TSymbolUniqueId(2652); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2683); + TSymbolUniqueId(2653); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageCubeArray1_Int3_Float1 = - TSymbolUniqueId(2684); + TSymbolUniqueId(2654); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1D1_Int1_Float1 = - TSymbolUniqueId(2685); + TSymbolUniqueId(2655); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1D1_Int1_Float1 = - TSymbolUniqueId(2686); + TSymbolUniqueId(2656); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1D1_Int1_Float1 = - TSymbolUniqueId(2687); + TSymbolUniqueId(2657); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image1DArray1_Int2_Float1 = - TSymbolUniqueId(2688); + TSymbolUniqueId(2658); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage1DArray1_Int2_Float1 = - TSymbolUniqueId(2689); + TSymbolUniqueId(2659); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage1DArray1_Int2_Float1 = - TSymbolUniqueId(2690); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_ImageRect1_Int2_Float1 = - TSymbolUniqueId(2691); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImageRect1_Int2_Float1 = - TSymbolUniqueId(2692); - static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImageRect1_Int2_Float1 = - TSymbolUniqueId(2693); + TSymbolUniqueId(2660); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DRect1_Int2_Float1 = + TSymbolUniqueId(2661); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DRect1_Int2_Float1 = + TSymbolUniqueId(2662); + static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DRect1_Int2_Float1 = + TSymbolUniqueId(2663); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2694); + TSymbolUniqueId(2664); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_IImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2695); + TSymbolUniqueId(2665); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_UImage2DMS1_Int2_Int1_Float1 = - TSymbolUniqueId(2696); + TSymbolUniqueId(2666); static constexpr const TSymbolUniqueId imageAtomicExchangeExt_Image2DMSArray1_Int3_Int1_Float1 = + TSymbolUniqueId(2667); + static constexpr const TSymbolUniqueId + imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(2668); + static constexpr const TSymbolUniqueId + imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(2669); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2D1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2670); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2D1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2671); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2D1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2672); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image3D1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2673); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage3D1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2674); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage3D1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2675); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCube1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2676); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCube1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2677); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCube1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2678); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageBuffer1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2679); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageBuffer1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2680); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageBuffer1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2681); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DArray1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2682); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DArray1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2683); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DArray1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2684); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCubeArray1_Int3_UInt1_UInt1 = + TSymbolUniqueId(2685); + static constexpr const TSymbolUniqueId + imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(2686); + static constexpr const TSymbolUniqueId + imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(2687); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1D1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2688); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1D1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2689); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1D1_Int1_UInt1_UInt1 = + TSymbolUniqueId(2690); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1DArray1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2691); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1DArray1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2692); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1DArray1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2693); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2694); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2695); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DRect1_Int2_UInt1_UInt1 = + TSymbolUniqueId(2696); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(2697); static constexpr const TSymbolUniqueId - imageAtomicExchangeExt_IImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(2698); + imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(2698); static constexpr const TSymbolUniqueId - imageAtomicExchangeExt_UImage2DMSArray1_Int3_Int1_Float1 = TSymbolUniqueId(2699); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2700); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2701); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2D1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2702); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2703); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2704); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage3D1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2705); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2706); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2707); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCube1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2708); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2709); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2710); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageBuffer1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2711); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2712); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2713); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2714); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCubeArray1_Int3_UInt1_UInt1 = - TSymbolUniqueId(2715); + imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(2699); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(2716); + imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2700); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImageCubeArray1_Int3_UInt1_UInt1 = TSymbolUniqueId(2717); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2718); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2719); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1D1_Int1_UInt1_UInt1 = - TSymbolUniqueId(2720); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2721); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2722); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1DArray1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2723); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2724); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2725); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageRect1_Int2_UInt1_UInt1 = - TSymbolUniqueId(2726); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_UInt1_UInt1 = - TSymbolUniqueId(2727); + imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2701); static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(2728); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_UInt1_UInt1 = TSymbolUniqueId(2729); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2730); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2731); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2732); + imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_UInt1_UInt1 = TSymbolUniqueId(2702); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2733); + TSymbolUniqueId(2703); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2734); + TSymbolUniqueId(2704); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2D1_Int2_Int1_Int1 = - TSymbolUniqueId(2735); + TSymbolUniqueId(2705); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2736); + TSymbolUniqueId(2706); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2737); + TSymbolUniqueId(2707); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage3D1_Int3_Int1_Int1 = - TSymbolUniqueId(2738); + TSymbolUniqueId(2708); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2739); + TSymbolUniqueId(2709); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2740); + TSymbolUniqueId(2710); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCube1_Int3_Int1_Int1 = - TSymbolUniqueId(2741); + TSymbolUniqueId(2711); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2742); + TSymbolUniqueId(2712); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2743); + TSymbolUniqueId(2713); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageBuffer1_Int1_Int1_Int1 = - TSymbolUniqueId(2744); + TSymbolUniqueId(2714); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2745); + TSymbolUniqueId(2715); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2746); + TSymbolUniqueId(2716); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2747); + TSymbolUniqueId(2717); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2748); + TSymbolUniqueId(2718); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2749); + TSymbolUniqueId(2719); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageCubeArray1_Int3_Int1_Int1 = - TSymbolUniqueId(2750); + TSymbolUniqueId(2720); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2751); + TSymbolUniqueId(2721); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2752); + TSymbolUniqueId(2722); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1D1_Int1_Int1_Int1 = - TSymbolUniqueId(2753); + TSymbolUniqueId(2723); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2754); + TSymbolUniqueId(2724); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2755); + TSymbolUniqueId(2725); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage1DArray1_Int2_Int1_Int1 = - TSymbolUniqueId(2756); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_ImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2757); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2758); - static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImageRect1_Int2_Int1_Int1 = - TSymbolUniqueId(2759); + TSymbolUniqueId(2726); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2727); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2728); + static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DRect1_Int2_Int1_Int1 = + TSymbolUniqueId(2729); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_Image2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(2760); + TSymbolUniqueId(2730); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_IImage2DMS1_Int2_Int1_Int1_Int1 = - TSymbolUniqueId(2761); + TSymbolUniqueId(2731); static constexpr const TSymbolUniqueId imageAtomicCompSwapExt_UImage2DMS1_Int2_Int1_Int1_Int1 = + TSymbolUniqueId(2732); + static constexpr const TSymbolUniqueId + imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2733); + static constexpr const TSymbolUniqueId + imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2734); + static constexpr const TSymbolUniqueId + imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2735); + static constexpr const TSymbolUniqueId imageStore_Image2D1_Int2_Float4 = TSymbolUniqueId(2736); + static constexpr const TSymbolUniqueId imageStore_IImage2D1_Int2_Int4 = TSymbolUniqueId(2737); + static constexpr const TSymbolUniqueId imageStore_UImage2D1_Int2_UInt4 = TSymbolUniqueId(2738); + static constexpr const TSymbolUniqueId imageStore_Image3D1_Int3_Float4 = TSymbolUniqueId(2739); + static constexpr const TSymbolUniqueId imageStore_IImage3D1_Int3_Int4 = TSymbolUniqueId(2740); + static constexpr const TSymbolUniqueId imageStore_UImage3D1_Int3_UInt4 = TSymbolUniqueId(2741); + static constexpr const TSymbolUniqueId imageStore_Image2DArray1_Int3_Float4 = + TSymbolUniqueId(2742); + static constexpr const TSymbolUniqueId imageStore_IImage2DArray1_Int3_Int4 = + TSymbolUniqueId(2743); + static constexpr const TSymbolUniqueId imageStore_UImage2DArray1_Int3_UInt4 = + TSymbolUniqueId(2744); + static constexpr const TSymbolUniqueId imageStore_ImageCube1_Int3_Float4 = + TSymbolUniqueId(2745); + static constexpr const TSymbolUniqueId imageStore_IImageCube1_Int3_Int4 = TSymbolUniqueId(2746); + static constexpr const TSymbolUniqueId imageStore_UImageCube1_Int3_UInt4 = + TSymbolUniqueId(2747); + static constexpr const TSymbolUniqueId imageStore_ImageCubeArray1_Int3_Float4 = + TSymbolUniqueId(2748); + static constexpr const TSymbolUniqueId imageStore_IImageCubeArray1_Int3_Int4 = + TSymbolUniqueId(2749); + static constexpr const TSymbolUniqueId imageStore_UImageCubeArray1_Int3_UInt4 = + TSymbolUniqueId(2750); + static constexpr const TSymbolUniqueId imageStore_ImageBuffer1_Int1_Float4 = + TSymbolUniqueId(2751); + static constexpr const TSymbolUniqueId imageStore_IImageBuffer1_Int1_Int4 = + TSymbolUniqueId(2752); + static constexpr const TSymbolUniqueId imageStore_UImageBuffer1_Int1_UInt4 = + TSymbolUniqueId(2753); + static constexpr const TSymbolUniqueId imageStore_Image1D1_Int1_Float4 = TSymbolUniqueId(2754); + static constexpr const TSymbolUniqueId imageStore_IImage1D1_Int1_Int4 = TSymbolUniqueId(2755); + static constexpr const TSymbolUniqueId imageStore_UImage1D1_Int1_UInt4 = TSymbolUniqueId(2756); + static constexpr const TSymbolUniqueId imageStore_Image1DArray1_Int2_Float4 = + TSymbolUniqueId(2757); + static constexpr const TSymbolUniqueId imageStore_IImage1DArray1_Int2_Int4 = + TSymbolUniqueId(2758); + static constexpr const TSymbolUniqueId imageStore_UImage1DArray1_Int2_UInt4 = + TSymbolUniqueId(2759); + static constexpr const TSymbolUniqueId imageStore_Image2DRect1_Int2_Float4 = + TSymbolUniqueId(2760); + static constexpr const TSymbolUniqueId imageStore_IImage2DRect1_Int2_Int4 = + TSymbolUniqueId(2761); + static constexpr const TSymbolUniqueId imageStore_UImage2DRect1_Int2_UInt4 = TSymbolUniqueId(2762); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_Image2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2763); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_IImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2764); - static constexpr const TSymbolUniqueId - imageAtomicCompSwapExt_UImage2DMSArray1_Int3_Int1_Int1_Int1 = TSymbolUniqueId(2765); - static constexpr const TSymbolUniqueId noise1_Float1 = TSymbolUniqueId(2766); - static constexpr const TSymbolUniqueId noise1_Float2 = TSymbolUniqueId(2767); - static constexpr const TSymbolUniqueId noise1_Float3 = TSymbolUniqueId(2768); - static constexpr const TSymbolUniqueId noise1_Float4 = TSymbolUniqueId(2769); - static constexpr const TSymbolUniqueId noise2_Float1 = TSymbolUniqueId(2770); - static constexpr const TSymbolUniqueId noise2_Float2 = TSymbolUniqueId(2771); - static constexpr const TSymbolUniqueId noise2_Float3 = TSymbolUniqueId(2772); - static constexpr const TSymbolUniqueId noise2_Float4 = TSymbolUniqueId(2773); - static constexpr const TSymbolUniqueId noise3_Float1 = TSymbolUniqueId(2774); - static constexpr const TSymbolUniqueId noise3_Float2 = TSymbolUniqueId(2775); - static constexpr const TSymbolUniqueId noise3_Float3 = TSymbolUniqueId(2776); - static constexpr const TSymbolUniqueId noise3_Float4 = TSymbolUniqueId(2777); - static constexpr const TSymbolUniqueId noise4_Float1 = TSymbolUniqueId(2778); - static constexpr const TSymbolUniqueId noise4_Float2 = TSymbolUniqueId(2779); - static constexpr const TSymbolUniqueId noise4_Float3 = TSymbolUniqueId(2780); - static constexpr const TSymbolUniqueId noise4_Float4 = TSymbolUniqueId(2781); - static constexpr const TSymbolUniqueId memoryBarrier = TSymbolUniqueId(2782); - static constexpr const TSymbolUniqueId memoryBarrierAtomicCounter = TSymbolUniqueId(2783); - static constexpr const TSymbolUniqueId memoryBarrierBuffer = TSymbolUniqueId(2784); - static constexpr const TSymbolUniqueId memoryBarrierImage = TSymbolUniqueId(2785); - static constexpr const TSymbolUniqueId barrier = TSymbolUniqueId(2786); - static constexpr const TSymbolUniqueId memoryBarrierShared = TSymbolUniqueId(2787); - static constexpr const TSymbolUniqueId groupMemoryBarrier = TSymbolUniqueId(2788); - static constexpr const TSymbolUniqueId barrierES3_2 = TSymbolUniqueId(2789); - static constexpr const TSymbolUniqueId EmitVertex = TSymbolUniqueId(2790); - static constexpr const TSymbolUniqueId EmitVertexES3_2 = TSymbolUniqueId(2791); - static constexpr const TSymbolUniqueId EndPrimitive = TSymbolUniqueId(2792); - static constexpr const TSymbolUniqueId EndPrimitiveES3_2 = TSymbolUniqueId(2793); + static constexpr const TSymbolUniqueId imageStore_Image2DMS1_Int2_Int1_Float4 = + TSymbolUniqueId(2763); + static constexpr const TSymbolUniqueId imageStore_IImage2DMS1_Int2_Int1_Int4 = + TSymbolUniqueId(2764); + static constexpr const TSymbolUniqueId imageStore_UImage2DMS1_Int2_Int1_UInt4 = + TSymbolUniqueId(2765); + static constexpr const TSymbolUniqueId imageStore_Image2DMSArray1_Int3_Int1_Float4 = + TSymbolUniqueId(2766); + static constexpr const TSymbolUniqueId imageStore_IImage2DMSArray1_Int3_Int1_Int4 = + TSymbolUniqueId(2767); + static constexpr const TSymbolUniqueId imageStore_UImage2DMSArray1_Int3_Int1_UInt4 = + TSymbolUniqueId(2768); + static constexpr const TSymbolUniqueId noise1_Float1 = TSymbolUniqueId(2769); + static constexpr const TSymbolUniqueId noise1_Float2 = TSymbolUniqueId(2770); + static constexpr const TSymbolUniqueId noise1_Float3 = TSymbolUniqueId(2771); + static constexpr const TSymbolUniqueId noise1_Float4 = TSymbolUniqueId(2772); + static constexpr const TSymbolUniqueId noise2_Float1 = TSymbolUniqueId(2773); + static constexpr const TSymbolUniqueId noise2_Float2 = TSymbolUniqueId(2774); + static constexpr const TSymbolUniqueId noise2_Float3 = TSymbolUniqueId(2775); + static constexpr const TSymbolUniqueId noise2_Float4 = TSymbolUniqueId(2776); + static constexpr const TSymbolUniqueId noise3_Float1 = TSymbolUniqueId(2777); + static constexpr const TSymbolUniqueId noise3_Float2 = TSymbolUniqueId(2778); + static constexpr const TSymbolUniqueId noise3_Float3 = TSymbolUniqueId(2779); + static constexpr const TSymbolUniqueId noise3_Float4 = TSymbolUniqueId(2780); + static constexpr const TSymbolUniqueId noise4_Float1 = TSymbolUniqueId(2781); + static constexpr const TSymbolUniqueId noise4_Float2 = TSymbolUniqueId(2782); + static constexpr const TSymbolUniqueId noise4_Float3 = TSymbolUniqueId(2783); + static constexpr const TSymbolUniqueId noise4_Float4 = TSymbolUniqueId(2784); + static constexpr const TSymbolUniqueId memoryBarrier = TSymbolUniqueId(2785); + static constexpr const TSymbolUniqueId memoryBarrierAtomicCounter = TSymbolUniqueId(2786); + static constexpr const TSymbolUniqueId memoryBarrierBuffer = TSymbolUniqueId(2787); + static constexpr const TSymbolUniqueId memoryBarrierImage = TSymbolUniqueId(2788); + static constexpr const TSymbolUniqueId barrier = TSymbolUniqueId(2789); + static constexpr const TSymbolUniqueId memoryBarrierShared = TSymbolUniqueId(2790); + static constexpr const TSymbolUniqueId groupMemoryBarrier = TSymbolUniqueId(2791); + static constexpr const TSymbolUniqueId EmitVertex = TSymbolUniqueId(2792); + static constexpr const TSymbolUniqueId EndPrimitive = TSymbolUniqueId(2793); static constexpr const TSymbolUniqueId EmitStreamVertex_Int1 = TSymbolUniqueId(2794); static constexpr const TSymbolUniqueId EndStreamPrimitive_Int1 = TSymbolUniqueId(2795); static constexpr const TSymbolUniqueId subpassLoad_SubpassInput1 = TSymbolUniqueId(2796); - static constexpr const TSymbolUniqueId pt01g = TSymbolUniqueId(2797); + static constexpr const TSymbolUniqueId pt01j = TSymbolUniqueId(2797); static constexpr const TSymbolUniqueId subpassLoad_ISubpassInput1 = TSymbolUniqueId(2798); - static constexpr const TSymbolUniqueId pt01h = TSymbolUniqueId(2799); + static constexpr const TSymbolUniqueId pt01k = TSymbolUniqueId(2799); static constexpr const TSymbolUniqueId subpassLoad_USubpassInput1 = TSymbolUniqueId(2800); - static constexpr const TSymbolUniqueId pt01i = TSymbolUniqueId(2801); + static constexpr const TSymbolUniqueId pt01l = TSymbolUniqueId(2801); static constexpr const TSymbolUniqueId subpassLoad_SubpassInputMS1_Int1 = TSymbolUniqueId(2802); - static constexpr const TSymbolUniqueId pt01j = TSymbolUniqueId(2803); + static constexpr const TSymbolUniqueId pt01m = TSymbolUniqueId(2803); static constexpr const TSymbolUniqueId subpassLoad_ISubpassInputMS1_Int1 = TSymbolUniqueId(2804); - static constexpr const TSymbolUniqueId pt01k = TSymbolUniqueId(2805); + static constexpr const TSymbolUniqueId pt01n = TSymbolUniqueId(2805); static constexpr const TSymbolUniqueId subpassLoad_USubpassInputMS1_Int1 = TSymbolUniqueId(2806); - static constexpr const TSymbolUniqueId pt01l = TSymbolUniqueId(2807); + static constexpr const TSymbolUniqueId pt01o = TSymbolUniqueId(2807); static constexpr const TSymbolUniqueId anyInvocation_Bool1 = TSymbolUniqueId(2808); static constexpr const TSymbolUniqueId allInvocations_Bool1 = TSymbolUniqueId(2809); static constexpr const TSymbolUniqueId allInvocationsEqual_Bool1 = TSymbolUniqueId(2810); @@ -4587,248 +4588,100 @@ class BuiltInId TSymbolUniqueId(2813); static constexpr const TSymbolUniqueId gl_DepthRangeParameters = TSymbolUniqueId(2814); static constexpr const TSymbolUniqueId gl_DepthRange = TSymbolUniqueId(2815); - static constexpr const TSymbolUniqueId gl_NumSamples = TSymbolUniqueId(2816); - static constexpr const TSymbolUniqueId gl_NumSamplesES3_2 = TSymbolUniqueId(2817); - static constexpr const TSymbolUniqueId gl_MaxVertexAttribs = TSymbolUniqueId(2818); - static constexpr const TSymbolUniqueId gl_MaxVertexUniformVectors = TSymbolUniqueId(2819); - static constexpr const TSymbolUniqueId gl_MaxVertexTextureImageUnits = TSymbolUniqueId(2820); - static constexpr const TSymbolUniqueId gl_MaxCombinedTextureImageUnits = TSymbolUniqueId(2821); - static constexpr const TSymbolUniqueId gl_MaxTextureImageUnits = TSymbolUniqueId(2822); - static constexpr const TSymbolUniqueId gl_MaxFragmentUniformVectors = TSymbolUniqueId(2823); - static constexpr const TSymbolUniqueId gl_MaxVaryingVectors = TSymbolUniqueId(2824); - static constexpr const TSymbolUniqueId gl_MaxDrawBuffers = TSymbolUniqueId(2825); - static constexpr const TSymbolUniqueId gl_MaxDualSourceDrawBuffersEXT = TSymbolUniqueId(2826); - static constexpr const TSymbolUniqueId gl_MaxVertexOutputVectors = TSymbolUniqueId(2827); - static constexpr const TSymbolUniqueId gl_MaxFragmentInputVectors = TSymbolUniqueId(2828); - static constexpr const TSymbolUniqueId gl_MinProgramTexelOffset = TSymbolUniqueId(2829); - static constexpr const TSymbolUniqueId gl_MaxProgramTexelOffset = TSymbolUniqueId(2830); - static constexpr const TSymbolUniqueId gl_MaxImageUnits = TSymbolUniqueId(2831); - static constexpr const TSymbolUniqueId gl_MaxVertexImageUniforms = TSymbolUniqueId(2832); - static constexpr const TSymbolUniqueId gl_MaxFragmentImageUniforms = TSymbolUniqueId(2833); - static constexpr const TSymbolUniqueId gl_MaxComputeImageUniforms = TSymbolUniqueId(2834); - static constexpr const TSymbolUniqueId gl_MaxCombinedImageUniforms = TSymbolUniqueId(2835); + static constexpr const TSymbolUniqueId gl_MaxVertexAttribs = TSymbolUniqueId(2816); + static constexpr const TSymbolUniqueId gl_MaxVertexUniformVectors = TSymbolUniqueId(2817); + static constexpr const TSymbolUniqueId gl_MaxVertexTextureImageUnits = TSymbolUniqueId(2818); + static constexpr const TSymbolUniqueId gl_MaxCombinedTextureImageUnits = TSymbolUniqueId(2819); + static constexpr const TSymbolUniqueId gl_MaxTextureImageUnits = TSymbolUniqueId(2820); + static constexpr const TSymbolUniqueId gl_MaxFragmentUniformVectors = TSymbolUniqueId(2821); + static constexpr const TSymbolUniqueId gl_MaxVaryingVectors = TSymbolUniqueId(2822); + static constexpr const TSymbolUniqueId gl_MaxDrawBuffers = TSymbolUniqueId(2823); + static constexpr const TSymbolUniqueId gl_MaxDualSourceDrawBuffersEXT = TSymbolUniqueId(2824); + static constexpr const TSymbolUniqueId gl_MaxVertexOutputVectors = TSymbolUniqueId(2825); + static constexpr const TSymbolUniqueId gl_MaxFragmentInputVectors = TSymbolUniqueId(2826); + static constexpr const TSymbolUniqueId gl_MinProgramTexelOffset = TSymbolUniqueId(2827); + static constexpr const TSymbolUniqueId gl_MaxProgramTexelOffset = TSymbolUniqueId(2828); + static constexpr const TSymbolUniqueId gl_MaxImageUnits = TSymbolUniqueId(2829); + static constexpr const TSymbolUniqueId gl_MaxVertexImageUniforms = TSymbolUniqueId(2830); + static constexpr const TSymbolUniqueId gl_MaxFragmentImageUniforms = TSymbolUniqueId(2831); + static constexpr const TSymbolUniqueId gl_MaxComputeImageUniforms = TSymbolUniqueId(2832); + static constexpr const TSymbolUniqueId gl_MaxCombinedImageUniforms = TSymbolUniqueId(2833); static constexpr const TSymbolUniqueId gl_MaxCombinedShaderOutputResources = - TSymbolUniqueId(2836); - static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupCount = TSymbolUniqueId(2837); - static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupSize = TSymbolUniqueId(2838); - static constexpr const TSymbolUniqueId gl_MaxComputeUniformComponents = TSymbolUniqueId(2839); - static constexpr const TSymbolUniqueId gl_MaxComputeTextureImageUnits = TSymbolUniqueId(2840); - static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounters = TSymbolUniqueId(2841); + TSymbolUniqueId(2834); + static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupCount = TSymbolUniqueId(2835); + static constexpr const TSymbolUniqueId gl_MaxComputeWorkGroupSize = TSymbolUniqueId(2836); + static constexpr const TSymbolUniqueId gl_MaxComputeUniformComponents = TSymbolUniqueId(2837); + static constexpr const TSymbolUniqueId gl_MaxComputeTextureImageUnits = TSymbolUniqueId(2838); + static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounters = TSymbolUniqueId(2839); static constexpr const TSymbolUniqueId gl_MaxComputeAtomicCounterBuffers = - TSymbolUniqueId(2842); - static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounters = TSymbolUniqueId(2843); - static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounters = TSymbolUniqueId(2844); - static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounters = TSymbolUniqueId(2845); - static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBindings = TSymbolUniqueId(2846); - static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounterBuffers = TSymbolUniqueId(2847); + TSymbolUniqueId(2840); + static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounters = TSymbolUniqueId(2841); + static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounters = TSymbolUniqueId(2842); + static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounters = TSymbolUniqueId(2843); + static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBindings = TSymbolUniqueId(2844); + static constexpr const TSymbolUniqueId gl_MaxVertexAtomicCounterBuffers = TSymbolUniqueId(2845); static constexpr const TSymbolUniqueId gl_MaxFragmentAtomicCounterBuffers = - TSymbolUniqueId(2848); + TSymbolUniqueId(2846); static constexpr const TSymbolUniqueId gl_MaxCombinedAtomicCounterBuffers = - TSymbolUniqueId(2849); - static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBufferSize = TSymbolUniqueId(2850); - static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponents = TSymbolUniqueId(2851); - static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponentsES3_2 = - TSymbolUniqueId(2852); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponents = TSymbolUniqueId(2853); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponentsES3_2 = - TSymbolUniqueId(2854); - static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniforms = TSymbolUniqueId(2855); - static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniformsES3_2 = TSymbolUniqueId(2856); - static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnits = TSymbolUniqueId(2857); - static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnitsES3_2 = - TSymbolUniqueId(2858); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVertices = TSymbolUniqueId(2859); - static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVerticesES3_2 = - TSymbolUniqueId(2860); + TSymbolUniqueId(2847); + static constexpr const TSymbolUniqueId gl_MaxAtomicCounterBufferSize = TSymbolUniqueId(2848); + static constexpr const TSymbolUniqueId gl_MaxGeometryInputComponents = TSymbolUniqueId(2849); + static constexpr const TSymbolUniqueId gl_MaxGeometryOutputComponents = TSymbolUniqueId(2850); + static constexpr const TSymbolUniqueId gl_MaxGeometryImageUniforms = TSymbolUniqueId(2851); + static constexpr const TSymbolUniqueId gl_MaxGeometryTextureImageUnits = TSymbolUniqueId(2852); + static constexpr const TSymbolUniqueId gl_MaxGeometryOutputVertices = TSymbolUniqueId(2853); static constexpr const TSymbolUniqueId gl_MaxGeometryTotalOutputComponents = - TSymbolUniqueId(2861); - static constexpr const TSymbolUniqueId gl_MaxGeometryTotalOutputComponentsES3_2 = - TSymbolUniqueId(2862); - static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponents = TSymbolUniqueId(2863); - static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponentsES3_2 = - TSymbolUniqueId(2864); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounters = TSymbolUniqueId(2865); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCountersES3_2 = - TSymbolUniqueId(2866); + TSymbolUniqueId(2854); + static constexpr const TSymbolUniqueId gl_MaxGeometryUniformComponents = TSymbolUniqueId(2855); + static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounters = TSymbolUniqueId(2856); static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounterBuffers = - TSymbolUniqueId(2867); - static constexpr const TSymbolUniqueId gl_MaxGeometryAtomicCounterBuffersES3_2 = - TSymbolUniqueId(2868); - static constexpr const TSymbolUniqueId gl_MaxTessControlInputComponents = TSymbolUniqueId(2869); - static constexpr const TSymbolUniqueId gl_MaxTessControlInputComponentsES3_2 = - TSymbolUniqueId(2870); - static constexpr const TSymbolUniqueId gl_MaxTessControlOutputComponents = - TSymbolUniqueId(2871); - static constexpr const TSymbolUniqueId gl_MaxTessControlOutputComponentsES3_2 = - TSymbolUniqueId(2872); - static constexpr const TSymbolUniqueId gl_MaxTessControlTextureImageUnits = - TSymbolUniqueId(2873); - static constexpr const TSymbolUniqueId gl_MaxTessControlTextureImageUnitsES3_2 = - TSymbolUniqueId(2874); - static constexpr const TSymbolUniqueId gl_MaxTessControlUniformComponents = - TSymbolUniqueId(2875); - static constexpr const TSymbolUniqueId gl_MaxTessControlUniformComponentsES3_2 = - TSymbolUniqueId(2876); - static constexpr const TSymbolUniqueId gl_MaxTessControlTotalOutputComponents = - TSymbolUniqueId(2877); - static constexpr const TSymbolUniqueId gl_MaxTessControlTotalOutputComponentsES3_2 = - TSymbolUniqueId(2878); - static constexpr const TSymbolUniqueId gl_MaxTessControlImageUniforms = TSymbolUniqueId(2879); - static constexpr const TSymbolUniqueId gl_MaxTessControlImageUniformsES3_2 = - TSymbolUniqueId(2880); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounters = TSymbolUniqueId(2881); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCountersES3_2 = - TSymbolUniqueId(2882); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounterBuffers = - TSymbolUniqueId(2883); - static constexpr const TSymbolUniqueId gl_MaxTessControlAtomicCounterBuffersES3_2 = - TSymbolUniqueId(2884); - static constexpr const TSymbolUniqueId gl_MaxTessPatchComponents = TSymbolUniqueId(2885); - static constexpr const TSymbolUniqueId gl_MaxTessPatchComponentsES3_2 = TSymbolUniqueId(2886); - static constexpr const TSymbolUniqueId gl_MaxPatchVertices = TSymbolUniqueId(2887); - static constexpr const TSymbolUniqueId gl_MaxPatchVerticesES3_2 = TSymbolUniqueId(2888); - static constexpr const TSymbolUniqueId gl_MaxTessGenLevel = TSymbolUniqueId(2889); - static constexpr const TSymbolUniqueId gl_MaxTessGenLevelES3_2 = TSymbolUniqueId(2890); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationInputComponents = - TSymbolUniqueId(2891); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationInputComponentsES3_2 = - TSymbolUniqueId(2892); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationOutputComponents = - TSymbolUniqueId(2893); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationOutputComponentsES3_2 = - TSymbolUniqueId(2894); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationTextureImageUnits = - TSymbolUniqueId(2895); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationTextureImageUnitsES3_2 = - TSymbolUniqueId(2896); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationUniformComponents = - TSymbolUniqueId(2897); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationUniformComponentsES3_2 = - TSymbolUniqueId(2898); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationImageUniforms = - TSymbolUniqueId(2899); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationImageUniformsES3_2 = - TSymbolUniqueId(2900); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounters = - TSymbolUniqueId(2901); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCountersES3_2 = - TSymbolUniqueId(2902); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounterBuffers = - TSymbolUniqueId(2903); - static constexpr const TSymbolUniqueId gl_MaxTessEvaluationAtomicCounterBuffersES3_2 = - TSymbolUniqueId(2904); - static constexpr const TSymbolUniqueId gl_MaxSamples = TSymbolUniqueId(2905); - static constexpr const TSymbolUniqueId gl_MaxSamplesES3_2 = TSymbolUniqueId(2906); - static constexpr const TSymbolUniqueId gl_MaxClipDistancesAPPLE = TSymbolUniqueId(2907); - static constexpr const TSymbolUniqueId gl_MaxCullDistancesEXT = TSymbolUniqueId(2908); - static constexpr const TSymbolUniqueId gl_MaxCombinedClipAndCullDistancesEXT = - TSymbolUniqueId(2909); - static constexpr const TSymbolUniqueId gl_FragCoord = TSymbolUniqueId(2910); - static constexpr const TSymbolUniqueId gl_FrontFacing = TSymbolUniqueId(2911); - static constexpr const TSymbolUniqueId gl_PointCoord = TSymbolUniqueId(2912); - static constexpr const TSymbolUniqueId gl_FragColor = TSymbolUniqueId(2913); - static constexpr const TSymbolUniqueId gl_FragData = TSymbolUniqueId(2914); - static constexpr const TSymbolUniqueId gl_FragDepth = TSymbolUniqueId(2915); - static constexpr const TSymbolUniqueId gl_HelperInvocation = TSymbolUniqueId(2916); - static constexpr const TSymbolUniqueId gl_SecondaryFragColorEXT = TSymbolUniqueId(2917); - static constexpr const TSymbolUniqueId gl_SecondaryFragDataEXT = TSymbolUniqueId(2918); - static constexpr const TSymbolUniqueId gl_FragDepthEXT = TSymbolUniqueId(2919); - static constexpr const TSymbolUniqueId gl_LastFragData = TSymbolUniqueId(2920); - static constexpr const TSymbolUniqueId gl_LastFragDataNonCoherent = TSymbolUniqueId(2921); - static constexpr const TSymbolUniqueId gl_LastFragColor = TSymbolUniqueId(2922); - static constexpr const TSymbolUniqueId gl_LastFragDataNV = TSymbolUniqueId(2923); - static constexpr const TSymbolUniqueId gl_LastFragColorARM = TSymbolUniqueId(2924); - static constexpr const TSymbolUniqueId gl_PrimitiveID = TSymbolUniqueId(2925); - static constexpr const TSymbolUniqueId gl_PrimitiveIDES3_2 = TSymbolUniqueId(2926); - static constexpr const TSymbolUniqueId gl_Layer = TSymbolUniqueId(2927); - static constexpr const TSymbolUniqueId gl_LayerES3_2 = TSymbolUniqueId(2928); - static constexpr const TSymbolUniqueId gl_SampleID = TSymbolUniqueId(2929); - static constexpr const TSymbolUniqueId gl_SampleIDES3_2 = TSymbolUniqueId(2930); - static constexpr const TSymbolUniqueId gl_SamplePosition = TSymbolUniqueId(2931); - static constexpr const TSymbolUniqueId gl_SamplePositionES3_2 = TSymbolUniqueId(2932); - static constexpr const TSymbolUniqueId gl_SampleMaskIn = TSymbolUniqueId(2933); - static constexpr const TSymbolUniqueId gl_SampleMaskInES3_2 = TSymbolUniqueId(2934); - static constexpr const TSymbolUniqueId gl_SampleMask = TSymbolUniqueId(2935); - static constexpr const TSymbolUniqueId gl_SampleMaskES3_2 = TSymbolUniqueId(2936); - static constexpr const TSymbolUniqueId gl_CullDistance = TSymbolUniqueId(2937); - static constexpr const TSymbolUniqueId gl_ClipDistance = TSymbolUniqueId(2938); - static constexpr const TSymbolUniqueId gl_Position = TSymbolUniqueId(2939); - static constexpr const TSymbolUniqueId gl_PointSize = TSymbolUniqueId(2940); - static constexpr const TSymbolUniqueId gl_InstanceID = TSymbolUniqueId(2941); - static constexpr const TSymbolUniqueId gl_InstanceIndex = TSymbolUniqueId(2942); - static constexpr const TSymbolUniqueId gl_VertexID = TSymbolUniqueId(2943); - static constexpr const TSymbolUniqueId gl_VertexIndex = TSymbolUniqueId(2944); - static constexpr const TSymbolUniqueId gl_ViewportIndex = TSymbolUniqueId(2945); - static constexpr const TSymbolUniqueId gl_LayerVS = TSymbolUniqueId(2946); - static constexpr const TSymbolUniqueId gl_DrawID = TSymbolUniqueId(2947); - static constexpr const TSymbolUniqueId gl_BaseVertex = TSymbolUniqueId(2948); - static constexpr const TSymbolUniqueId gl_BaseInstance = TSymbolUniqueId(2949); - static constexpr const TSymbolUniqueId angle_BaseVertex = TSymbolUniqueId(2950); - static constexpr const TSymbolUniqueId angle_BaseInstance = TSymbolUniqueId(2951); - static constexpr const TSymbolUniqueId gl_ClipDistanceAPPLE = TSymbolUniqueId(2952); - static constexpr const TSymbolUniqueId gl_CullDistanceEXT = TSymbolUniqueId(2953); - static constexpr const TSymbolUniqueId gl_NumWorkGroups = TSymbolUniqueId(2954); - static constexpr const TSymbolUniqueId gl_WorkGroupSize = TSymbolUniqueId(2955); - static constexpr const TSymbolUniqueId gl_WorkGroupID = TSymbolUniqueId(2956); - static constexpr const TSymbolUniqueId gl_LocalInvocationID = TSymbolUniqueId(2957); - static constexpr const TSymbolUniqueId gl_GlobalInvocationID = TSymbolUniqueId(2958); - static constexpr const TSymbolUniqueId gl_LocalInvocationIndex = TSymbolUniqueId(2959); - static constexpr const TSymbolUniqueId gl_PrimitiveIDIn = TSymbolUniqueId(2960); - static constexpr const TSymbolUniqueId gl_PrimitiveIDInES3_2 = TSymbolUniqueId(2961); - static constexpr const TSymbolUniqueId gl_InvocationID = TSymbolUniqueId(2962); - static constexpr const TSymbolUniqueId gl_InvocationIDES3_2 = TSymbolUniqueId(2963); - static constexpr const TSymbolUniqueId gl_PrimitiveIDGS = TSymbolUniqueId(2964); - static constexpr const TSymbolUniqueId gl_PrimitiveIDGSES3_2 = TSymbolUniqueId(2965); - static constexpr const TSymbolUniqueId gl_LayerGS = TSymbolUniqueId(2966); - static constexpr const TSymbolUniqueId gl_LayerGSES3_2 = TSymbolUniqueId(2967); - static constexpr const TSymbolUniqueId gl_PerVertex = TSymbolUniqueId(2968); - static constexpr const TSymbolUniqueId gl_PerVertexES3_2 = TSymbolUniqueId(2969); - static constexpr const TSymbolUniqueId gl_in = TSymbolUniqueId(2970); - static constexpr const TSymbolUniqueId gl_inES3_2 = TSymbolUniqueId(2971); - static constexpr const TSymbolUniqueId gl_PerVertexOutBlock = TSymbolUniqueId(2972); - static constexpr const TSymbolUniqueId gl_PerVertexOutBlockES3_2 = TSymbolUniqueId(2973); - static constexpr const TSymbolUniqueId gl_PositionGS = TSymbolUniqueId(2974); - static constexpr const TSymbolUniqueId gl_PositionGSES3_2 = TSymbolUniqueId(2975); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTCS = TSymbolUniqueId(2976); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTCSES3_2 = TSymbolUniqueId(2977); - static constexpr const TSymbolUniqueId gl_InvocationIDTCS = TSymbolUniqueId(2978); - static constexpr const TSymbolUniqueId gl_InvocationIDTCSES3_2 = TSymbolUniqueId(2979); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTCS = TSymbolUniqueId(2980); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTCSES3_2 = TSymbolUniqueId(2981); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTCS = TSymbolUniqueId(2982); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTCSES3_2 = TSymbolUniqueId(2983); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTCS = TSymbolUniqueId(2984); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTCSES3_2 = TSymbolUniqueId(2985); - static constexpr const TSymbolUniqueId gl_PerVertexTCS = TSymbolUniqueId(2986); - static constexpr const TSymbolUniqueId gl_PerVertexTCSES3_2 = TSymbolUniqueId(2987); - static constexpr const TSymbolUniqueId gl_inTCS = TSymbolUniqueId(2988); - static constexpr const TSymbolUniqueId gl_inTCSES3_2 = TSymbolUniqueId(2989); - static constexpr const TSymbolUniqueId gl_outTCS = TSymbolUniqueId(2990); - static constexpr const TSymbolUniqueId gl_outTCSES3_2 = TSymbolUniqueId(2991); - static constexpr const TSymbolUniqueId gl_PerVertexOutTcsBlock = TSymbolUniqueId(2992); - static constexpr const TSymbolUniqueId gl_PerVertexOutTcsBlockES3_2 = TSymbolUniqueId(2993); - static constexpr const TSymbolUniqueId gl_PositionTCS = TSymbolUniqueId(2994); - static constexpr const TSymbolUniqueId gl_PositionTCSES3_2 = TSymbolUniqueId(2995); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTES = TSymbolUniqueId(2996); - static constexpr const TSymbolUniqueId gl_PatchVerticesInTESES3_2 = TSymbolUniqueId(2997); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTES = TSymbolUniqueId(2998); - static constexpr const TSymbolUniqueId gl_PrimitiveIDTESES3_2 = TSymbolUniqueId(2999); - static constexpr const TSymbolUniqueId gl_TessCoord = TSymbolUniqueId(3000); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTES = TSymbolUniqueId(3001); - static constexpr const TSymbolUniqueId gl_TessLevelOuterTESES3_2 = TSymbolUniqueId(3002); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTES = TSymbolUniqueId(3003); - static constexpr const TSymbolUniqueId gl_TessLevelInnerTESES3_2 = TSymbolUniqueId(3004); - static constexpr const TSymbolUniqueId gl_PerVertexTES = TSymbolUniqueId(3005); - static constexpr const TSymbolUniqueId gl_PerVertexTESES3_2 = TSymbolUniqueId(3006); - static constexpr const TSymbolUniqueId gl_inTES = TSymbolUniqueId(3007); - static constexpr const TSymbolUniqueId gl_inTESES3_2 = TSymbolUniqueId(3008); - static constexpr const TSymbolUniqueId gl_outTES = TSymbolUniqueId(3009); - static constexpr const TSymbolUniqueId gl_outTESES3_2 = TSymbolUniqueId(3010); - static constexpr const TSymbolUniqueId gl_PerVertexOutTesBlock = TSymbolUniqueId(3011); - static constexpr const TSymbolUniqueId gl_PerVertexOutTesBlockES3_2 = TSymbolUniqueId(3012); - static constexpr const TSymbolUniqueId gl_PositionTES = TSymbolUniqueId(3013); - static constexpr const TSymbolUniqueId gl_PositionTESES3_2 = TSymbolUniqueId(3014); - static constexpr const TSymbolUniqueId gl_ViewID_OVR = TSymbolUniqueId(3015); + TSymbolUniqueId(2857); + static constexpr const TSymbolUniqueId gl_FragCoord = TSymbolUniqueId(2858); + static constexpr const TSymbolUniqueId gl_FrontFacing = TSymbolUniqueId(2859); + static constexpr const TSymbolUniqueId gl_PointCoord = TSymbolUniqueId(2860); + static constexpr const TSymbolUniqueId gl_FragColor = TSymbolUniqueId(2861); + static constexpr const TSymbolUniqueId gl_FragData = TSymbolUniqueId(2862); + static constexpr const TSymbolUniqueId gl_FragDepth = TSymbolUniqueId(2863); + static constexpr const TSymbolUniqueId gl_HelperInvocation = TSymbolUniqueId(2864); + static constexpr const TSymbolUniqueId gl_SecondaryFragColorEXT = TSymbolUniqueId(2865); + static constexpr const TSymbolUniqueId gl_SecondaryFragDataEXT = TSymbolUniqueId(2866); + static constexpr const TSymbolUniqueId gl_FragDepthEXT = TSymbolUniqueId(2867); + static constexpr const TSymbolUniqueId gl_LastFragData = TSymbolUniqueId(2868); + static constexpr const TSymbolUniqueId gl_LastFragColor = TSymbolUniqueId(2869); + static constexpr const TSymbolUniqueId gl_LastFragDataNV = TSymbolUniqueId(2870); + static constexpr const TSymbolUniqueId gl_LastFragColorARM = TSymbolUniqueId(2871); + static constexpr const TSymbolUniqueId gl_PrimitiveID = TSymbolUniqueId(2872); + static constexpr const TSymbolUniqueId gl_Layer = TSymbolUniqueId(2873); + static constexpr const TSymbolUniqueId gl_Position = TSymbolUniqueId(2874); + static constexpr const TSymbolUniqueId gl_PointSize = TSymbolUniqueId(2875); + static constexpr const TSymbolUniqueId gl_InstanceID = TSymbolUniqueId(2876); + static constexpr const TSymbolUniqueId gl_InstanceIndex = TSymbolUniqueId(2877); + static constexpr const TSymbolUniqueId gl_VertexID = TSymbolUniqueId(2878); + static constexpr const TSymbolUniqueId gl_VertexIndex = TSymbolUniqueId(2879); + static constexpr const TSymbolUniqueId gl_ViewportIndex = TSymbolUniqueId(2880); + static constexpr const TSymbolUniqueId gl_LayerVS = TSymbolUniqueId(2881); + static constexpr const TSymbolUniqueId gl_DrawID = TSymbolUniqueId(2882); + static constexpr const TSymbolUniqueId gl_BaseVertex = TSymbolUniqueId(2883); + static constexpr const TSymbolUniqueId gl_BaseInstance = TSymbolUniqueId(2884); + static constexpr const TSymbolUniqueId angle_BaseVertex = TSymbolUniqueId(2885); + static constexpr const TSymbolUniqueId angle_BaseInstance = TSymbolUniqueId(2886); + static constexpr const TSymbolUniqueId gl_ClipDistance = TSymbolUniqueId(2887); + static constexpr const TSymbolUniqueId gl_MaxClipDistances = TSymbolUniqueId(2888); + static constexpr const TSymbolUniqueId gl_NumWorkGroups = TSymbolUniqueId(2889); + static constexpr const TSymbolUniqueId gl_WorkGroupSize = TSymbolUniqueId(2890); + static constexpr const TSymbolUniqueId gl_WorkGroupID = TSymbolUniqueId(2891); + static constexpr const TSymbolUniqueId gl_LocalInvocationID = TSymbolUniqueId(2892); + static constexpr const TSymbolUniqueId gl_GlobalInvocationID = TSymbolUniqueId(2893); + static constexpr const TSymbolUniqueId gl_LocalInvocationIndex = TSymbolUniqueId(2894); + static constexpr const TSymbolUniqueId gl_PrimitiveIDIn = TSymbolUniqueId(2895); + static constexpr const TSymbolUniqueId gl_InvocationID = TSymbolUniqueId(2896); + static constexpr const TSymbolUniqueId gl_PrimitiveIDGS = TSymbolUniqueId(2897); + static constexpr const TSymbolUniqueId gl_LayerGS = TSymbolUniqueId(2898); + static constexpr const TSymbolUniqueId gl_PerVertex = TSymbolUniqueId(2899); + static constexpr const TSymbolUniqueId gl_in = TSymbolUniqueId(2900); + static constexpr const TSymbolUniqueId gl_PerVertexOutBlock = TSymbolUniqueId(2901); + static constexpr const TSymbolUniqueId gl_PositionGS = TSymbolUniqueId(2902); + static constexpr const TSymbolUniqueId gl_ViewID_OVR = TSymbolUniqueId(2903); }; // class BuiltInId @@ -4849,44 +4702,21 @@ const TVariable *gl_HelperInvocation(); const TVariable *gl_InstanceID(); const TVariable *gl_InstanceIndex(); const TVariable *gl_InvocationID(); -const TVariable *gl_InvocationIDES3_2(); -const TVariable *gl_InvocationIDTCS(); -const TVariable *gl_InvocationIDTCSES3_2(); const TVariable *gl_LastFragColor(); const TVariable *gl_LastFragColorARM(); const TVariable *gl_Layer(); -const TVariable *gl_LayerES3_2(); const TVariable *gl_LayerGS(); -const TVariable *gl_LayerGSES3_2(); const TVariable *gl_LayerVS(); const TVariable *gl_LocalInvocationID(); const TVariable *gl_LocalInvocationIndex(); -const TVariable *gl_NumSamples(); -const TVariable *gl_NumSamplesES3_2(); const TVariable *gl_NumWorkGroups(); -const TVariable *gl_PatchVerticesInTCS(); -const TVariable *gl_PatchVerticesInTCSES3_2(); -const TVariable *gl_PatchVerticesInTES(); -const TVariable *gl_PatchVerticesInTESES3_2(); const TVariable *gl_PointCoord(); const TVariable *gl_PointSize(); const TVariable *gl_Position(); const TVariable *gl_PrimitiveID(); -const TVariable *gl_PrimitiveIDES3_2(); const TVariable *gl_PrimitiveIDGS(); -const TVariable *gl_PrimitiveIDGSES3_2(); const TVariable *gl_PrimitiveIDIn(); -const TVariable *gl_PrimitiveIDInES3_2(); -const TVariable *gl_PrimitiveIDTCS(); -const TVariable *gl_PrimitiveIDTCSES3_2(); -const TVariable *gl_PrimitiveIDTES(); -const TVariable *gl_PrimitiveIDTESES3_2(); -const TVariable *gl_SampleID(); -const TVariable *gl_SampleIDES3_2(); -const TVariable *gl_SamplePosition(); -const TVariable *gl_SamplePositionES3_2(); const TVariable *gl_SecondaryFragColorEXT(); -const TVariable *gl_TessCoord(); const TVariable *gl_VertexID(); const TVariable *gl_VertexIndex(); const TVariable *gl_ViewID_OVR(); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.cpp deleted file mode 100644 index c09c8171c942..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.cpp +++ /dev/null @@ -1,290 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// DriverUniform.cpp: Add code to support driver uniforms -// - -#include "compiler/translator/tree_util/DriverUniform.h" - -#include "compiler/translator/Compiler.h" -#include "compiler/translator/IntermNode.h" -#include "compiler/translator/StaticType.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/FindMain.h" -#include "compiler/translator/tree_util/IntermNode_util.h" -#include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/util.h" - -namespace sh -{ - -namespace -{ -constexpr ImmutableString kEmulatedDepthRangeParams = ImmutableString("ANGLEDepthRangeParams"); - -constexpr const char kViewport[] = "viewport"; -constexpr const char kClipDistancesEnabled[] = "clipDistancesEnabled"; -constexpr const char kXfbActiveUnpaused[] = "xfbActiveUnpaused"; -constexpr const char kXfbVerticesPerInstance[] = "xfbVerticesPerInstance"; -constexpr const char kXfbBufferOffsets[] = "xfbBufferOffsets"; -constexpr const char kAcbBufferOffsets[] = "acbBufferOffsets"; -constexpr const char kDepthRange[] = "depthRange"; -constexpr const char kNumSamples[] = "numSamples"; - -constexpr const char kHalfRenderArea[] = "halfRenderArea"; -constexpr const char kFlipXY[] = "flipXY"; -constexpr const char kNegFlipXY[] = "negFlipXY"; -constexpr const char kFragRotation[] = "fragRotation"; -} // anonymous namespace - -// Class DriverUniform -bool DriverUniform::addComputeDriverUniformsToShader(TIntermBlock *root, TSymbolTable *symbolTable) -{ - constexpr size_t kNumComputeDriverUniforms = 1; - constexpr std::array kComputeDriverUniformNames = { - {kAcbBufferOffsets}}; - - ASSERT(!mDriverUniforms); - // This field list mirrors the structure of ComputeDriverUniforms in ContextVk.cpp. - TFieldList *driverFieldList = new TFieldList; - - const std::array kDriverUniformTypes = {{ - new TType(EbtUInt, 4), - }}; - - for (size_t uniformIndex = 0; uniformIndex < kNumComputeDriverUniforms; ++uniformIndex) - { - TField *driverUniformField = - new TField(kDriverUniformTypes[uniformIndex], - ImmutableString(kComputeDriverUniformNames[uniformIndex]), TSourceLoc(), - SymbolType::AngleInternal); - driverFieldList->push_back(driverUniformField); - } - - // Define a driver uniform block "ANGLEUniformBlock" with instance name "ANGLEUniforms". - mDriverUniforms = DeclareInterfaceBlock(root, symbolTable, driverFieldList, EvqUniform, - TLayoutQualifier::Create(), TMemoryQualifier::Create(), - 0, ImmutableString(vk::kDriverUniformsBlockName), - ImmutableString(vk::kDriverUniformsVarName)); - return mDriverUniforms != nullptr; -} - -TFieldList *DriverUniform::createUniformFields(TSymbolTable *symbolTable) -{ - constexpr size_t kNumGraphicsDriverUniforms = 8; - constexpr std::array kGraphicsDriverUniformNames = { - {kViewport, kClipDistancesEnabled, kXfbActiveUnpaused, kXfbVerticesPerInstance, kNumSamples, - kXfbBufferOffsets, kAcbBufferOffsets, kDepthRange}}; - - // This field list mirrors the structure of GraphicsDriverUniforms in ContextVk.cpp. - TFieldList *driverFieldList = new TFieldList; - - const std::array kDriverUniformTypes = {{ - new TType(EbtFloat, 4), - new TType(EbtUInt), // uint clipDistancesEnabled; // 32 bits for 32 clip distances max - new TType(EbtUInt), - new TType(EbtInt), - new TType(EbtInt), - new TType(EbtInt, 4), - new TType(EbtUInt, 4), - createEmulatedDepthRangeType(symbolTable), - }}; - - for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniforms; ++uniformIndex) - { - TField *driverUniformField = - new TField(kDriverUniformTypes[uniformIndex], - ImmutableString(kGraphicsDriverUniformNames[uniformIndex]), TSourceLoc(), - SymbolType::AngleInternal); - driverFieldList->push_back(driverUniformField); - } - - return driverFieldList; -} - -TType *DriverUniform::createEmulatedDepthRangeType(TSymbolTable *symbolTable) -{ - // If already defined, return it immediately. - if (mEmulatedDepthRangeType != nullptr) - { - return mEmulatedDepthRangeType; - } - - // Create the depth range type. - TFieldList *depthRangeParamsFields = new TFieldList(); - depthRangeParamsFields->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1), - ImmutableString("near"), TSourceLoc(), - SymbolType::AngleInternal)); - depthRangeParamsFields->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1), - ImmutableString("far"), TSourceLoc(), - SymbolType::AngleInternal)); - depthRangeParamsFields->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1), - ImmutableString("diff"), TSourceLoc(), - SymbolType::AngleInternal)); - // This additional field might be used by subclass such as TranslatorMetal. - depthRangeParamsFields->push_back(new TField(new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1), - ImmutableString("reserved"), TSourceLoc(), - SymbolType::AngleInternal)); - - TStructure *emulatedDepthRangeParams = new TStructure( - symbolTable, kEmulatedDepthRangeParams, depthRangeParamsFields, SymbolType::AngleInternal); - - mEmulatedDepthRangeType = new TType(emulatedDepthRangeParams, false); - - // Note: this should really return a const TType *, but one of its uses is with TField who takes - // a non-const TType. See comment on that class. - return mEmulatedDepthRangeType; -} - -// The Add*DriverUniformsToShader operation adds an internal uniform block to a shader. The driver -// block is used to implement Vulkan-specific features and workarounds. Returns the driver uniforms -// variable. -// -// There are Graphics and Compute variations as they require different uniforms. -bool DriverUniform::addGraphicsDriverUniformsToShader(TIntermBlock *root, TSymbolTable *symbolTable) -{ - ASSERT(!mDriverUniforms); - - // Declare the depth range struct type. - TType *emulatedDepthRangeType = createEmulatedDepthRangeType(symbolTable); - TType *emulatedDepthRangeDeclType = new TType(emulatedDepthRangeType->getStruct(), true); - - TVariable *depthRangeVar = - new TVariable(symbolTable->nextUniqueId(), kEmptyImmutableString, SymbolType::Empty, - TExtension::UNDEFINED, emulatedDepthRangeDeclType); - - DeclareGlobalVariable(root, depthRangeVar); - - TFieldList *driverFieldList = createUniformFields(symbolTable); - // Define a driver uniform block "ANGLEUniformBlock" with instance name "ANGLEUniforms". - mDriverUniforms = DeclareInterfaceBlock(root, symbolTable, driverFieldList, EvqUniform, - TLayoutQualifier::Create(), TMemoryQualifier::Create(), - 0, ImmutableString(vk::kDriverUniformsBlockName), - ImmutableString(vk::kDriverUniformsVarName)); - - return mDriverUniforms != nullptr; -} - -TIntermBinary *DriverUniform::createDriverUniformRef(const char *fieldName) const -{ - size_t fieldIndex = - FindFieldIndex(mDriverUniforms->getType().getInterfaceBlock()->fields(), fieldName); - - TIntermSymbol *angleUniformsRef = new TIntermSymbol(mDriverUniforms); - TConstantUnion *uniformIndex = new TConstantUnion; - uniformIndex->setIConst(static_cast(fieldIndex)); - TIntermConstantUnion *indexRef = - new TIntermConstantUnion(uniformIndex, *StaticType::GetBasic()); - return new TIntermBinary(EOpIndexDirectInterfaceBlock, angleUniformsRef, indexRef); -} - -TIntermBinary *DriverUniform::getViewportRef() const -{ - return createDriverUniformRef(kViewport); -} - -TIntermBinary *DriverUniform::getAbcBufferOffsets() const -{ - return createDriverUniformRef(kAcbBufferOffsets); -} - -TIntermBinary *DriverUniform::getXfbActiveUnpaused() const -{ - return createDriverUniformRef(kXfbActiveUnpaused); -} - -TIntermBinary *DriverUniform::getXfbVerticesPerInstance() const -{ - return createDriverUniformRef(kXfbVerticesPerInstance); -} - -TIntermBinary *DriverUniform::getXfbBufferOffsets() const -{ - return createDriverUniformRef(kXfbBufferOffsets); -} - -TIntermBinary *DriverUniform::getClipDistancesEnabled() const -{ - return createDriverUniformRef(kClipDistancesEnabled); -} - -TIntermBinary *DriverUniform::getDepthRangeRef() const -{ - return createDriverUniformRef(kDepthRange); -} - -TIntermBinary *DriverUniform::getDepthRangeReservedFieldRef() const -{ - TIntermBinary *depthRange = createDriverUniformRef(kDepthRange); - - return new TIntermBinary(EOpIndexDirectStruct, depthRange, CreateIndexNode(3)); -} - -TIntermBinary *DriverUniform::getNumSamplesRef() const -{ - return createDriverUniformRef(kNumSamples); -} - -// -// Class DriverUniformExtended -// -TFieldList *DriverUniformExtended::createUniformFields(TSymbolTable *symbolTable) -{ - TFieldList *driverFieldList = DriverUniform::createUniformFields(symbolTable); - - constexpr size_t kNumGraphicsDriverUniformsExt = 4; - constexpr std::array - kGraphicsDriverUniformNamesExt = {{kHalfRenderArea, kFlipXY, kNegFlipXY, kFragRotation}}; - - const std::array kDriverUniformTypesExt = {{ - new TType(EbtFloat, 2), - new TType(EbtFloat, 2), - new TType(EbtFloat, 2), - // NOTE: There's a vec2 gap here that can be used in the future - new TType(EbtFloat, 2, 2), - }}; - - for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniformsExt; ++uniformIndex) - { - TField *driverUniformField = - new TField(kDriverUniformTypesExt[uniformIndex], - ImmutableString(kGraphicsDriverUniformNamesExt[uniformIndex]), TSourceLoc(), - SymbolType::AngleInternal); - driverFieldList->push_back(driverUniformField); - } - - return driverFieldList; -} - -TIntermBinary *DriverUniformExtended::getFlipXYRef() const -{ - return createDriverUniformRef(kFlipXY); -} - -TIntermBinary *DriverUniformExtended::getNegFlipXYRef() const -{ - return createDriverUniformRef(kNegFlipXY); -} - -TIntermSwizzle *DriverUniformExtended::getNegFlipYRef() const -{ - // Create a swizzle to "negFlipXY.y" - TIntermBinary *negFlipXY = createDriverUniformRef(kNegFlipXY); - TVector swizzleOffsetY = {1}; - TIntermSwizzle *negFlipY = new TIntermSwizzle(negFlipXY, swizzleOffsetY); - return negFlipY; -} - -TIntermBinary *DriverUniformExtended::getFragRotationMatrixRef() const -{ - return createDriverUniformRef(kFragRotation); -} - -TIntermBinary *DriverUniformExtended::getHalfRenderAreaRef() const -{ - return createDriverUniformRef(kHalfRenderArea); -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.h b/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.h deleted file mode 100644 index c7c110a1e649..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/DriverUniform.h +++ /dev/null @@ -1,78 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// DriverUniform.h: Add code to support driver uniforms -// - -#ifndef COMPILER_TRANSLATOR_TREEUTIL_DRIVERUNIFORM_H_ -#define COMPILER_TRANSLATOR_TREEUTIL_DRIVERUNIFORM_H_ - -#include "common/angleutils.h" -#include "compiler/translator/Types.h" - -namespace sh -{ - -class TCompiler; -class TIntermBlock; -class TIntermNode; -class TSymbolTable; -class TIntermTyped; -class TIntermSwizzle; -class TIntermBinary; - -class DriverUniform -{ - public: - DriverUniform() : mDriverUniforms(nullptr), mEmulatedDepthRangeType(nullptr) {} - virtual ~DriverUniform() = default; - - bool addComputeDriverUniformsToShader(TIntermBlock *root, TSymbolTable *symbolTable); - bool addGraphicsDriverUniformsToShader(TIntermBlock *root, TSymbolTable *symbolTable); - - TIntermBinary *getViewportRef() const; - TIntermBinary *getAbcBufferOffsets() const; - TIntermBinary *getXfbActiveUnpaused() const; - TIntermBinary *getXfbVerticesPerInstance() const; - TIntermBinary *getXfbBufferOffsets() const; - TIntermBinary *getClipDistancesEnabled() const; - TIntermBinary *getDepthRangeRef() const; - TIntermBinary *getDepthRangeReservedFieldRef() const; - TIntermBinary *getNumSamplesRef() const; - - virtual TIntermBinary *getFlipXYRef() const { return nullptr; } - virtual TIntermBinary *getNegFlipXYRef() const { return nullptr; } - virtual TIntermBinary *getFragRotationMatrixRef() const { return nullptr; } - virtual TIntermBinary *getHalfRenderAreaRef() const { return nullptr; } - virtual TIntermSwizzle *getNegFlipYRef() const { return nullptr; } - - protected: - TIntermBinary *createDriverUniformRef(const char *fieldName) const; - virtual TFieldList *createUniformFields(TSymbolTable *symbolTable); - TType *createEmulatedDepthRangeType(TSymbolTable *symbolTable); - - const TVariable *mDriverUniforms; - TType *mEmulatedDepthRangeType; -}; - -class DriverUniformExtended : public DriverUniform -{ - public: - DriverUniformExtended() : DriverUniform() {} - virtual ~DriverUniformExtended() override {} - - TIntermBinary *getFlipXYRef() const override; - TIntermBinary *getNegFlipXYRef() const override; - TIntermBinary *getFragRotationMatrixRef() const override; - TIntermBinary *getHalfRenderAreaRef() const override; - TIntermSwizzle *getNegFlipYRef() const override; - - protected: - virtual TFieldList *createUniformFields(TSymbolTable *symbolTable) override; -}; - -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEUTIL_DRIVERUNIFORM_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.cpp index b28e15339eb0..6ab13ba4695e 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.cpp @@ -86,7 +86,7 @@ TIntermTyped *CreateZeroNode(const TType &type) return node; } - TIntermSequence arguments; + TIntermSequence *arguments = new TIntermSequence(); if (type.isArray()) { @@ -96,7 +96,7 @@ TIntermTyped *CreateZeroNode(const TType &type) size_t arraySize = type.getOutermostArraySize(); for (size_t i = 0; i < arraySize; ++i) { - arguments.push_back(CreateZeroNode(elementType)); + arguments->push_back(CreateZeroNode(elementType)); } } else @@ -106,11 +106,11 @@ TIntermTyped *CreateZeroNode(const TType &type) const TStructure *structure = type.getStruct(); for (const auto &field : structure->fields()) { - arguments.push_back(CreateZeroNode(*field->type())); + arguments->push_back(CreateZeroNode(*field->type())); } } - return TIntermAggregate::CreateConstructor(constType, &arguments); + return TIntermAggregate::CreateConstructor(constType, arguments); } TIntermConstantUnion *CreateFloatNode(float value) @@ -228,14 +228,14 @@ const TVariable *DeclareInterfaceBlock(TIntermBlock *root, TSymbolTable *symbolTable, TFieldList *fieldList, TQualifier qualifier, - const TLayoutQualifier &layoutQualifier, const TMemoryQualifier &memoryQualifier, uint32_t arraySize, const ImmutableString &blockTypeName, const ImmutableString &blockVariableName) { // Define an interface block. - TInterfaceBlock *interfaceBlock = new TInterfaceBlock( + TLayoutQualifier layoutQualifier = TLayoutQualifier::Create(); + TInterfaceBlock *interfaceBlock = new TInterfaceBlock( symbolTable, blockTypeName, fieldList, layoutQualifier, SymbolType::AngleInternal); // Turn the inteface block into a declaration. @@ -247,18 +247,17 @@ const TVariable *DeclareInterfaceBlock(TIntermBlock *root, } TIntermDeclaration *interfaceBlockDecl = new TIntermDeclaration; - TVariable *interfaceBlockVar = - new TVariable(symbolTable, blockVariableName, interfaceBlockType, - blockVariableName.empty() ? SymbolType::Empty : SymbolType::AngleInternal); + TVariable *interfaceBlockVar = new TVariable(symbolTable, blockVariableName, interfaceBlockType, + SymbolType::AngleInternal); TIntermSymbol *interfaceBlockDeclarator = new TIntermSymbol(interfaceBlockVar); interfaceBlockDecl->appendDeclarator(interfaceBlockDeclarator); // Insert the declarations before the first function. - TIntermSequence insertSequence; - insertSequence.push_back(interfaceBlockDecl); + TIntermSequence *insertSequence = new TIntermSequence; + insertSequence->push_back(interfaceBlockDecl); size_t firstFunctionIndex = FindFirstFunctionDefinitionIndex(root); - root->insertChildNodes(firstFunctionIndex, insertSequence); + root->insertChildNodes(firstFunctionIndex, *insertSequence); return interfaceBlockVar; } diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.h b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.h index 75d4e22496c6..39b86dd1bf29 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermNode_util.h @@ -49,7 +49,6 @@ const TVariable *DeclareInterfaceBlock(TIntermBlock *root, TSymbolTable *symbolTable, TFieldList *fieldList, TQualifier qualifier, - const TLayoutQualifier &layoutQualifier, const TMemoryQualifier &memoryQualifier, uint32_t arraySize, const ImmutableString &blockTypeName, diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.h b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.h index 95ae48ebcad3..bf5f9c9ae424 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/IntermTraverse.h @@ -167,7 +167,7 @@ class TIntermTraverser : angle::NonCopyable { NodeReplaceWithMultipleEntry(TIntermAggregateBase *parentIn, TIntermNode *originalIn, - TIntermSequence &&replacementsIn) + TIntermSequence replacementsIn) : parent(parentIn), original(originalIn), replacements(std::move(replacementsIn)) {} diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp deleted file mode 100644 index 24876ee210eb..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp +++ /dev/null @@ -1,634 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// ReplaceClipCullDistanceVariable.cpp: Find any references to gl_ClipDistance or gl_CullDistance -// and replace it with ANGLEClipDistance or ANGLECullDistance. -// - -#include "compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h" - -#include "common/bitset_utils.h" -#include "common/debug.h" -#include "common/utilities.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/BuiltIn.h" -#include "compiler/translator/tree_util/IntermNode_util.h" -#include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/tree_util/RunAtTheBeginningOfShader.h" -#include "compiler/translator/tree_util/RunAtTheEndOfShader.h" - -namespace sh -{ -namespace -{ - -using ClipCullDistanceIdxSet = angle::BitSet<32>; - -typedef TIntermNode *AssignFunc(const unsigned int index, - TIntermSymbol *left, - TIntermSymbol *right, - const TIntermTyped *enableFlags); - -template -const Variable *FindVariable(const std::vector &mVars, const ImmutableString &name) -{ - for (const Variable &var : mVars) - { - if (name == var.instanceName) - { - return &var; - } - } - - return nullptr; -} - -// Traverse the tree and collect the redeclaration and all constant index references of -// gl_ClipDistance/gl_CullDistance -class GLClipCullDistanceReferenceTraverser : public TIntermTraverser -{ - public: - GLClipCullDistanceReferenceTraverser(const TIntermSymbol **redeclaredSymOut, - bool *nonConstIdxUsedOut, - unsigned int *maxConstIdxOut, - ClipCullDistanceIdxSet *constIndicesOut, - const ImmutableString &targetStr) - : TIntermTraverser(true, false, false), - mRedeclaredSym(redeclaredSymOut), - mUseNonConstClipCullDistanceIndex(nonConstIdxUsedOut), - mMaxConstClipCullDistanceIndex(maxConstIdxOut), - mConstClipCullDistanceIndices(constIndicesOut), - mTargetStr(targetStr) - { - *mRedeclaredSym = nullptr; - *mUseNonConstClipCullDistanceIndex = false; - *mMaxConstClipCullDistanceIndex = 0; - mConstClipCullDistanceIndices->reset(); - } - - bool visitDeclaration(Visit visit, TIntermDeclaration *node) override - { - // If gl_ClipDistance/gl_CullDistance is redeclared, we need to collect its information - const TIntermSequence &sequence = *(node->getSequence()); - - if (sequence.size() != 1) - { - return true; - } - - TIntermTyped *variable = sequence.front()->getAsTyped(); - if (!variable->getAsSymbolNode() || variable->getAsSymbolNode()->getName() != mTargetStr) - { - return true; - } - - *mRedeclaredSym = variable->getAsSymbolNode(); - - return true; - } - - bool visitBinary(Visit visit, TIntermBinary *node) override - { - TOperator op = node->getOp(); - if (op != EOpIndexDirect && op != EOpIndexIndirect) - { - return true; - } - - // gl_ClipDistance / gl_CullDistance - TIntermTyped *left = node->getLeft()->getAsTyped(); - if (!left) - { - return true; - } - - ASSERT(op == EOpIndexDirect || op == EOpIndexIndirect); - - TIntermSymbol *clipCullDistance = left->getAsSymbolNode(); - if (!clipCullDistance) - { - return true; - } - if (clipCullDistance->getName() != mTargetStr) - { - return true; - } - - const TConstantUnion *constIdx = node->getRight()->getConstantValue(); - if (!constIdx) - { - *mUseNonConstClipCullDistanceIndex = true; - } - else - { - unsigned int idx = 0; - switch (constIdx->getType()) - { - case EbtInt: - idx = constIdx->getIConst(); - break; - case EbtUInt: - idx = constIdx->getUConst(); - break; - case EbtFloat: - idx = static_cast(constIdx->getFConst()); - break; - case EbtBool: - idx = constIdx->getBConst() ? 1 : 0; - break; - default: - UNREACHABLE(); - break; - } - ASSERT(idx < mConstClipCullDistanceIndices->size()); - mConstClipCullDistanceIndices->set(idx); - - *mMaxConstClipCullDistanceIndex = std::max(*mMaxConstClipCullDistanceIndex, idx); - } - - return true; - } - - private: - const TIntermSymbol **mRedeclaredSym; - // Flag indicating whether there is at least one reference of gl_ClipDistance with non-constant - // index - bool *mUseNonConstClipCullDistanceIndex; - // Max constant index that is used to reference gl_ClipDistance - unsigned int *mMaxConstClipCullDistanceIndex; - // List of constant index reference of gl_ClipDistance - ClipCullDistanceIdxSet *mConstClipCullDistanceIndices; - // String for gl_ClipDistance/gl_CullDistance - const ImmutableString mTargetStr; -}; - -// Replace all symbolic occurrences of given variables except one symbol. -class ReplaceVariableExceptOneTraverser : public TIntermTraverser -{ - public: - ReplaceVariableExceptOneTraverser(const TVariable *toBeReplaced, - const TIntermTyped *replacement, - const TIntermSymbol *exception) - : TIntermTraverser(true, false, false), - mToBeReplaced(toBeReplaced), - mException(exception), - mReplacement(replacement) - {} - - void visitSymbol(TIntermSymbol *node) override - { - if (&node->variable() == mToBeReplaced && node != mException) - { - queueReplacement(mReplacement->deepCopy(), OriginalNode::IS_DROPPED); - } - } - - private: - const TVariable *const mToBeReplaced; - const TIntermSymbol *const mException; - const TIntermTyped *const mReplacement; -}; - -TIntermNode *simpleAssignFunc(const unsigned int index, - TIntermSymbol *leftSymbol, - TIntermSymbol *rightSymbol, - const TIntermTyped * /*enableFlags*/) -{ - // leftSymbol[index] = rightSymbol[index] - // E.g., ANGLEClipDistance[index] = gl_ClipDistance[index] - TIntermBinary *left = - new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); - TIntermBinary *right = - new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); - - return new TIntermBinary(EOpAssign, left, right); -} - -// This is only used for gl_Clipdistance -TIntermNode *assignFuncWithEnableFlags(const unsigned int index, - TIntermSymbol *leftSymbol, - TIntermSymbol *rightSymbol, - const TIntermTyped *enableFlags) -{ - // if (ANGLEUniforms.clipDistancesEnabled & (0x1 << index)) - // gl_ClipDistance[index] = ANGLEClipDistance[index]; - // else - // gl_ClipDistance[index] = 0; - TIntermConstantUnion *bitMask = CreateUIntNode(0x1 << index); - TIntermBinary *bitwiseAnd = new TIntermBinary(EOpBitwiseAnd, enableFlags->deepCopy(), bitMask); - TIntermBinary *nonZero = new TIntermBinary(EOpNotEqual, bitwiseAnd, CreateUIntNode(0)); - - TIntermBinary *left = - new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); - TIntermBinary *right = - new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); - TIntermBinary *assignment = new TIntermBinary(EOpAssign, left, right); - TIntermBlock *trueBlock = new TIntermBlock(); - trueBlock->appendStatement(assignment); - - TIntermBinary *zeroAssignment = - new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0)); - TIntermBlock *falseBlock = new TIntermBlock(); - falseBlock->appendStatement(zeroAssignment); - - return new TIntermIfElse(nonZero, trueBlock, falseBlock); -} - -class ReplaceClipCullDistanceAssignments : angle::NonCopyable -{ - public: - ReplaceClipCullDistanceAssignments(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const TVariable *glClipCullDistanceVar, - const TIntermSymbol *redeclaredGlClipDistance, - const ImmutableString &angleVarName) - : mCompiler(compiler), - mRoot(root), - mSymbolTable(symbolTable), - mGlVar(glClipCullDistanceVar), - mRedeclaredGLVar(redeclaredGlClipDistance), - mANGLEVarName(angleVarName) - { - mEnabledDistances = 0; - } - - unsigned int getEnabledClipCullDistance(const bool useNonConstIndex, - const unsigned int maxConstIndex); - const TVariable *declareANGLEVariable(); - bool assignOriginalValueToANGLEVariable(const GLenum shaderType); - bool assignANGLEValueToOriginalVariable(const GLenum shaderType, - const bool isRedeclared, - const TIntermTyped *enableFlags, - const ClipCullDistanceIdxSet *constIndices, - AssignFunc assignFunc); - - private: - bool assignOriginalValueToANGLEVariableImpl(); - bool assignANGLEValueToOriginalVariableImpl(const bool isRedeclared, - const TIntermTyped *enableFlags, - const ClipCullDistanceIdxSet *constIndices, - AssignFunc assignFunc); - - // Common variables for replacing gl_Clip/CullDistances with ANGLEClip/CullDistances - TCompiler *mCompiler; - TIntermBlock *mRoot; - TSymbolTable *mSymbolTable; - - const TVariable *mGlVar; - const TIntermSymbol *mRedeclaredGLVar; - const ImmutableString mANGLEVarName; - - unsigned int mEnabledDistances; - const TVariable *mANGLEVar; -}; - -unsigned int ReplaceClipCullDistanceAssignments::getEnabledClipCullDistance( - const bool useNonConstIndex, - const unsigned int maxConstIndex) -{ - if (mRedeclaredGLVar) - { - // If array is redeclared by user, use that redeclared size. - mEnabledDistances = mRedeclaredGLVar->getType().getOutermostArraySize(); - } - else if (!useNonConstIndex) - { - ASSERT(maxConstIndex < mGlVar->getType().getOutermostArraySize()); - // Only use constant index, then use max array index used. - mEnabledDistances = maxConstIndex + 1; - } - - return mEnabledDistances; -} - -const TVariable *ReplaceClipCullDistanceAssignments::declareANGLEVariable() -{ - ASSERT(mEnabledDistances > 0); - - TType *clipCullDistanceType = new TType(EbtFloat, EbpMedium, EvqGlobal, 1); - clipCullDistanceType->makeArray(mEnabledDistances); - - mANGLEVar = - new TVariable(mSymbolTable, mANGLEVarName, clipCullDistanceType, SymbolType::AngleInternal); - - TIntermSymbol *clipCullDistanceDeclarator = new TIntermSymbol(mANGLEVar); - TIntermDeclaration *clipCullDistanceDecl = new TIntermDeclaration; - clipCullDistanceDecl->appendDeclarator(clipCullDistanceDeclarator); - - // Must declare ANGLEClipdistance/ANGLECullDistance before any function, since - // gl_ClipDistance/gl_CullDistance might be accessed within a function declared before main. - mRoot->insertStatement(0, clipCullDistanceDecl); - - return mANGLEVar; -} - -bool ReplaceClipCullDistanceAssignments::assignOriginalValueToANGLEVariableImpl() -{ - ASSERT(mEnabledDistances > 0); - - TIntermBlock *readBlock = new TIntermBlock; - TIntermSymbol *glClipCullDistanceSymbol = new TIntermSymbol(mGlVar); - TIntermSymbol *clipCullDistanceSymbol = new TIntermSymbol(mANGLEVar); - - for (unsigned int i = 0; i < mEnabledDistances; i++) - { - readBlock->appendStatement( - simpleAssignFunc(i, glClipCullDistanceSymbol, clipCullDistanceSymbol, nullptr)); - } - - return RunAtTheBeginningOfShader(mCompiler, mRoot, readBlock); -} - -bool ReplaceClipCullDistanceAssignments::assignANGLEValueToOriginalVariableImpl( - const bool isRedeclared, - const TIntermTyped *enableFlags, - const ClipCullDistanceIdxSet *constIndices, - AssignFunc assignFunc) -{ - ASSERT(mEnabledDistances > 0); - - TIntermBlock *assignBlock = new TIntermBlock; - TIntermSymbol *glClipCullDistanceSymbol = new TIntermSymbol(mGlVar); - TIntermSymbol *clipCullDistanceSymbol = new TIntermSymbol(mANGLEVar); - - // The array size is decided by either redeclaring the variable or accessing the variable with a - // integral constant index. And this size is the count of the enabled value. So, if the index - // which is greater than the array size, is used to access the variable, this access will be - // ignored. - if (isRedeclared || !constIndices) - { - for (unsigned int i = 0; i < mEnabledDistances; ++i) - { - assignBlock->appendStatement( - assignFunc(i, glClipCullDistanceSymbol, clipCullDistanceSymbol, enableFlags)); - } - } - else - { - // Assign ANGLEClip/CullDistance[i]'s value to gl_Clip/CullDistance[i] if i is in the - // constant indices list. Those elements whose index is not in the constant index list will - // be zeroise for initialization. - for (unsigned int i = 0; i < mEnabledDistances; ++i) - { - if (constIndices->test(i)) - { - assignBlock->appendStatement( - assignFunc(i, glClipCullDistanceSymbol, clipCullDistanceSymbol, enableFlags)); - } - else - { - // gl_Clip/CullDistance[i] = 0; - TIntermBinary *left = new TIntermBinary( - EOpIndexDirect, glClipCullDistanceSymbol->deepCopy(), CreateIndexNode(i)); - TIntermBinary *zeroAssignment = - new TIntermBinary(EOpAssign, left, CreateFloatNode(0)); - assignBlock->appendStatement(zeroAssignment); - } - } - } - - return RunAtTheEndOfShader(mCompiler, mRoot, assignBlock, mSymbolTable); -} - -ANGLE_NO_DISCARD bool ReplaceClipCullDistanceAssignments::assignOriginalValueToANGLEVariable( - const GLenum shaderType) -{ - switch (shaderType) - { - case GL_VERTEX_SHADER: - // Vertex shader can use gl_Clip/CullDistance as a output only - break; - case GL_FRAGMENT_SHADER: - { - // These shader types can use gl_Clip/CullDistance as input - if (!assignOriginalValueToANGLEVariableImpl()) - { - return false; - } - break; - } - default: - { - UNREACHABLE(); - return false; - } - } - - return true; -} - -ANGLE_NO_DISCARD bool ReplaceClipCullDistanceAssignments::assignANGLEValueToOriginalVariable( - const GLenum shaderType, - const bool isRedeclared, - const TIntermTyped *enableFlags, - const ClipCullDistanceIdxSet *constIndices, - AssignFunc assignFunc) -{ - switch (shaderType) - { - case GL_VERTEX_SHADER: - { - // Vertex shader can use gl_Clip/CullDistance as output. - // If the enabled gl_Clip/CullDistances are not initialized, results are undefined. - // EXT_clip_cull_distance spec : - // The shader must also set all values in gl_ClipDistance that have been enabled via the - // OpenGL ES API, or results are undefined. Values written into gl_ClipDistance for - // planes that are not enabled have no effect. - // ... - // Shaders writing gl_CullDistance must write all enabled distances, or culling results - // are undefined. - if (!assignANGLEValueToOriginalVariableImpl(isRedeclared, enableFlags, constIndices, - assignFuncWithEnableFlags)) - { - return false; - } - break; - } - case GL_FRAGMENT_SHADER: - // Fragment shader can use gl_Clip/CullDistance as input only - break; - default: - { - UNREACHABLE(); - return false; - } - } - - return true; -} - -} // anonymous namespace - -ANGLE_NO_DISCARD bool ReplaceClipDistanceAssignments(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const GLenum shaderType, - const TIntermTyped *clipDistanceEnableFlags) -{ - // Collect all constant index references of gl_ClipDistance - ImmutableString glClipDistanceName("gl_ClipDistance"); - ClipCullDistanceIdxSet constIndices; - bool useNonConstIndex = false; - const TIntermSymbol *redeclaredGlClipDistance = nullptr; - unsigned int maxConstIndex = 0; - GLClipCullDistanceReferenceTraverser indexTraverser(&redeclaredGlClipDistance, - &useNonConstIndex, &maxConstIndex, - &constIndices, glClipDistanceName); - root->traverse(&indexTraverser); - if (!useNonConstIndex && constIndices.none()) - { - // No references of gl_ClipDistance - return true; - } - - // Retrieve gl_ClipDistance variable reference - // Search user redeclared gl_ClipDistance first - const TVariable *glClipDistanceVar = nullptr; - if (redeclaredGlClipDistance) - { - glClipDistanceVar = &redeclaredGlClipDistance->variable(); - } - else - { - // User defined not found, find in built-in table - glClipDistanceVar = - static_cast(symbolTable->findBuiltIn(glClipDistanceName, 300)); - } - if (!glClipDistanceVar) - { - return false; - } - - ReplaceClipCullDistanceAssignments replacementUtils(compiler, root, symbolTable, - glClipDistanceVar, redeclaredGlClipDistance, - ImmutableString("ANGLEClipDistance")); - - // Declare a global variable substituting gl_ClipDistance - unsigned int enabledClipDistances = - replacementUtils.getEnabledClipCullDistance(useNonConstIndex, maxConstIndex); - if (!enabledClipDistances) - { - // Spec : - // The gl_ClipDistance array is predeclared as unsized and must be explicitly sized by the - // shader either redeclaring it with a size or implicitly sized by indexing it only with - // integral constant expressions. - return false; - } - - const TVariable *clipDistanceVar = replacementUtils.declareANGLEVariable(); - - // Replace gl_ClipDistance reference with ANGLEClipDistance, except the declaration - ReplaceVariableExceptOneTraverser replaceTraverser(glClipDistanceVar, - new TIntermSymbol(clipDistanceVar), - /** exception */ redeclaredGlClipDistance); - root->traverse(&replaceTraverser); - if (!replaceTraverser.updateTree(compiler, root)) - { - return false; - } - - // Read gl_ClipDistance to ANGLEClipDistance for getting a original data - if (!replacementUtils.assignOriginalValueToANGLEVariable(shaderType)) - { - return false; - } - - // Reassign ANGLEClipDistance to gl_ClipDistance but ignore those that are disabled - const bool isRedeclared = (redeclaredGlClipDistance != nullptr); - if (!replacementUtils.assignANGLEValueToOriginalVariable(shaderType, isRedeclared, - clipDistanceEnableFlags, &constIndices, - assignFuncWithEnableFlags)) - { - return false; - } - - return true; -} - -ANGLE_NO_DISCARD bool ReplaceCullDistanceAssignments(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const GLenum shaderType) -{ - // Collect all constant index references of gl_CullDistance - ImmutableString glCullDistanceName("gl_CullDistance"); - ClipCullDistanceIdxSet constIndices; - bool useNonConstIndex = false; - const TIntermSymbol *redeclaredGLCullDistance = nullptr; - unsigned int maxConstIndex = 0; - GLClipCullDistanceReferenceTraverser indexTraverser(&redeclaredGLCullDistance, - &useNonConstIndex, &maxConstIndex, - &constIndices, glCullDistanceName); - root->traverse(&indexTraverser); - if (!useNonConstIndex) - { - // Nothing to do - return true; - } - - // Retrieve gl_CullDistance variable reference - // Search user redeclared gl_CullDistance first - const TVariable *glCullDistanceVar = nullptr; - if (redeclaredGLCullDistance) - { - glCullDistanceVar = &redeclaredGLCullDistance->variable(); - } - else - { - // User defined not found, find in built-in table - glCullDistanceVar = - static_cast(symbolTable->findBuiltIn(glCullDistanceName, 300)); - } - if (!glCullDistanceVar) - { - return false; - } - - ReplaceClipCullDistanceAssignments replacementUtils(compiler, root, symbolTable, - glCullDistanceVar, redeclaredGLCullDistance, - ImmutableString("ANGLECullDistance")); - - // Declare a global variable substituting gl_CullDistance - unsigned int enabledCullDistances = - replacementUtils.getEnabledClipCullDistance(useNonConstIndex, maxConstIndex); - if (!enabledCullDistances) - { - // Spec : - // The gl_CullDistance array is predeclared as unsized and must be sized by the shader - // either redeclaring it with a size or indexing it only with integral constant expressions. - return false; - } - - const TVariable *cullDistanceVar = replacementUtils.declareANGLEVariable(); - - // Replace gl_CullDistance reference with ANGLECullDistance, except the declaration - ReplaceVariableExceptOneTraverser replaceTraverser(glCullDistanceVar, - new TIntermSymbol(cullDistanceVar), - /** exception */ redeclaredGLCullDistance); - root->traverse(&replaceTraverser); - if (!replaceTraverser.updateTree(compiler, root)) - { - return false; - } - - // Read gl_CullDistance to ANGLECullDistance for getting a original data - if (!replacementUtils.assignOriginalValueToANGLEVariable(shaderType)) - { - return false; - } - - // Reassign ANGLECullDistance to gl_CullDistance but ignore those that are disabled - const bool isRedeclared = (redeclaredGLCullDistance != nullptr); - if (!replacementUtils.assignANGLEValueToOriginalVariable(shaderType, isRedeclared, nullptr, - &constIndices, simpleAssignFunc)) - { - return false; - } - - return true; -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.cpp new file mode 100644 index 000000000000..438e90dccd16 --- /dev/null +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.cpp @@ -0,0 +1,312 @@ +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// ReplaceClipDistanceVariable.cpp: Find any references to gl_ClipDistance and +// replace it with ANGLEClipDistance. +// + +#include "compiler/translator/tree_util/ReplaceClipDistanceVariable.h" + +#include "common/bitset_utils.h" +#include "common/debug.h" +#include "common/utilities.h" +#include "compiler/translator/SymbolTable.h" +#include "compiler/translator/tree_util/BuiltIn.h" +#include "compiler/translator/tree_util/IntermNode_util.h" +#include "compiler/translator/tree_util/IntermTraverse.h" +#include "compiler/translator/tree_util/RunAtTheEndOfShader.h" + +namespace sh +{ +namespace +{ + +using ClipDistanceIdxSet = angle::BitSet<32>; + +// Traverse the tree and collect the redeclaration and all constant index references of +// gl_ClipDistance +class GLClipDistanceReferenceTraverser : public TIntermTraverser +{ + public: + GLClipDistanceReferenceTraverser(const TIntermSymbol **redeclaredSymOut, + bool *nonConstIdxUsedOut, + unsigned int *maxConstIdxOut, + ClipDistanceIdxSet *constIndicesOut) + : TIntermTraverser(true, false, false), + mRedeclaredSym(redeclaredSymOut), + mUseNonConstClipDistanceIndex(nonConstIdxUsedOut), + mMaxConstClipDistanceIndex(maxConstIdxOut), + mConstClipDistanceIndices(constIndicesOut) + { + *mRedeclaredSym = nullptr; + *mUseNonConstClipDistanceIndex = false; + *mMaxConstClipDistanceIndex = 0; + mConstClipDistanceIndices->reset(); + } + + bool visitDeclaration(Visit visit, TIntermDeclaration *node) override + { + // If gl_ClipDistance is redeclared, we need to collect its information + const TIntermSequence &sequence = *(node->getSequence()); + + if (sequence.size() != 1) + { + return true; + } + + TIntermTyped *variable = sequence.front()->getAsTyped(); + if (!variable->getAsSymbolNode() || + variable->getAsSymbolNode()->getName() != "gl_ClipDistance") + { + return true; + } + + *mRedeclaredSym = variable->getAsSymbolNode(); + + return true; + } + + bool visitBinary(Visit visit, TIntermBinary *node) override + { + TOperator op = node->getOp(); + if (op != EOpIndexDirect && op != EOpIndexIndirect) + { + return true; + } + TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); + if (!left) + { + return true; + } + if (left->getName() != "gl_ClipDistance") + { + return true; + } + const TConstantUnion *constIdx = node->getRight()->getConstantValue(); + if (!constIdx) + { + *mUseNonConstClipDistanceIndex = true; + } + else + { + unsigned int idx = 0; + switch (constIdx->getType()) + { + case EbtInt: + idx = constIdx->getIConst(); + break; + case EbtUInt: + idx = constIdx->getUConst(); + break; + case EbtFloat: + idx = static_cast(constIdx->getFConst()); + break; + case EbtBool: + idx = constIdx->getBConst() ? 1 : 0; + break; + default: + UNREACHABLE(); + break; + } + ASSERT(idx < mConstClipDistanceIndices->size()); + mConstClipDistanceIndices->set(idx); + + *mMaxConstClipDistanceIndex = std::max(*mMaxConstClipDistanceIndex, idx); + } + + return true; + } + + private: + const TIntermSymbol **mRedeclaredSym; + // Flag indicating whether there is at least one reference of gl_ClipDistance with non-constant + // index + bool *mUseNonConstClipDistanceIndex; + // Max constant index that is used to reference gl_ClipDistance + unsigned int *mMaxConstClipDistanceIndex; + // List of constant index reference of gl_ClipDistance + ClipDistanceIdxSet *mConstClipDistanceIndices; +}; + +// Replace all symbolic occurrences of given variables except one symbol. +class ReplaceVariableExceptOneTraverser : public TIntermTraverser +{ + public: + ReplaceVariableExceptOneTraverser(const TVariable *toBeReplaced, + const TIntermTyped *replacement, + const TIntermSymbol *exception) + : TIntermTraverser(true, false, false), + mToBeReplaced(toBeReplaced), + mException(exception), + mReplacement(replacement) + {} + + void visitSymbol(TIntermSymbol *node) override + { + if (&node->variable() == mToBeReplaced && node != mException) + { + queueReplacement(mReplacement->deepCopy(), OriginalNode::IS_DROPPED); + } + } + + private: + const TVariable *const mToBeReplaced; + const TIntermSymbol *const mException; + const TIntermTyped *const mReplacement; +}; + +} // anonymous namespace + +ANGLE_NO_DISCARD bool ReplaceClipDistanceAssignments(TCompiler *compiler, + TIntermBlock *root, + TSymbolTable *symbolTable, + const TIntermTyped *clipDistanceEnableFlags) +{ + // Collect all constant index references of gl_ClipDistance + ClipDistanceIdxSet constIndices; + bool useNonConstIndex = false; + const TIntermSymbol *redeclaredGLClipDistance = nullptr; + unsigned int maxConstIndex = 0; + GLClipDistanceReferenceTraverser indexTraverser(&redeclaredGLClipDistance, &useNonConstIndex, + &maxConstIndex, &constIndices); + root->traverse(&indexTraverser); + if (!useNonConstIndex && constIndices.none()) + { + // No references of gl_ClipDistance + return true; + } + + // Retrieve gl_ClipDistance variable reference + // Search user redeclared gl_ClipDistance first + const TVariable *glClipDistanceVar = nullptr; + if (redeclaredGLClipDistance) + { + glClipDistanceVar = &redeclaredGLClipDistance->variable(); + } + else + { + ImmutableString glClipDistanceName("gl_ClipDistance"); + // User defined not found, find in built-in table + glClipDistanceVar = + static_cast(symbolTable->findBuiltIn(glClipDistanceName, 0)); + } + if (!glClipDistanceVar) + { + return false; + } + + // Declare a global variable substituting gl_ClipDistance + TType *clipDistanceType = new TType(EbtFloat, EbpMedium, EvqGlobal, 1); + if (redeclaredGLClipDistance) + { + // If array is redeclared by user, use that redeclared size. + clipDistanceType->makeArray(redeclaredGLClipDistance->getType().getOutermostArraySize()); + } + else if (!useNonConstIndex) + { + ASSERT(maxConstIndex < glClipDistanceVar->getType().getOutermostArraySize()); + // Only use constant index, then use max array index used. + clipDistanceType->makeArray(maxConstIndex + 1); + } + else + { + clipDistanceType->makeArray(glClipDistanceVar->getType().getOutermostArraySize()); + } + + clipDistanceType->realize(); + TVariable *clipDistanceVar = new TVariable(symbolTable, ImmutableString("ANGLEClipDistance"), + clipDistanceType, SymbolType::AngleInternal); + + TIntermSymbol *clipDistanceDeclarator = new TIntermSymbol(clipDistanceVar); + TIntermDeclaration *clipDistanceDecl = new TIntermDeclaration; + clipDistanceDecl->appendDeclarator(clipDistanceDeclarator); + + // Must declare ANGLEClipDistance before any function, since gl_ClipDistance might be accessed + // within a function declared before main. + root->insertStatement(0, clipDistanceDecl); + + // Replace gl_ClipDistance reference with ANGLEClipDistance, except the declaration + ReplaceVariableExceptOneTraverser replaceTraverser(glClipDistanceVar, + new TIntermSymbol(clipDistanceVar), + /** exception */ redeclaredGLClipDistance); + root->traverse(&replaceTraverser); + if (!replaceTraverser.updateTree(compiler, root)) + { + return false; + } + + TIntermBlock *reassignBlock = new TIntermBlock; + TIntermSymbol *glClipDistanceSymbol = new TIntermSymbol(glClipDistanceVar); + TIntermSymbol *clipDistanceSymbol = new TIntermSymbol(clipDistanceVar); + + // Reassign ANGLEClipDistance to gl_ClipDistance but ignore those that are disabled + + auto assignFunc = [=](unsigned int index) { + // if (ANGLEUniforms.clipDistancesEnabled & (0x1 << index)) + // gl_ClipDistance[index] = ANGLEClipDistance[index]; + // else + // gl_ClipDistance[index] = 0; + TIntermConstantUnion *bitMask = CreateUIntNode(0x1 << index); + TIntermBinary *bitwiseAnd = + new TIntermBinary(EOpBitwiseAnd, clipDistanceEnableFlags->deepCopy(), bitMask); + TIntermBinary *nonZero = new TIntermBinary(EOpNotEqual, bitwiseAnd, CreateUIntNode(0)); + + TIntermBinary *left = new TIntermBinary(EOpIndexDirect, glClipDistanceSymbol->deepCopy(), + CreateIndexNode(index)); + TIntermBinary *right = new TIntermBinary(EOpIndexDirect, clipDistanceSymbol->deepCopy(), + CreateIndexNode(index)); + TIntermBinary *assignment = new TIntermBinary(EOpAssign, left, right); + TIntermBlock *trueBlock = new TIntermBlock(); + trueBlock->appendStatement(assignment); + + TIntermBinary *zeroAssignment = + new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0)); + TIntermBlock *falseBlock = new TIntermBlock(); + falseBlock->appendStatement(zeroAssignment); + + return new TIntermIfElse(nonZero, trueBlock, falseBlock); + }; + + if (useNonConstIndex) + { + // If there is at least one non constant index reference, + // Then we need to loop through the whole declared size of gl_ClipDistance. + // Since we don't know exactly the index at compile time. + // As mentioned in + // https://www.khronos.org/registry/OpenGL/extensions/APPLE/APPLE_clip_distance.txt + // Non constant index can only be used if gl_ClipDistance is redeclared with an explicit + // size. + for (unsigned int i = 0; i < clipDistanceType->getOutermostArraySize(); ++i) + { + reassignBlock->appendStatement(assignFunc(i)); + } + } + else + { + // Assign ANGLEClipDistance[i]'s value to gl_ClipDistance[i] if i is in the constant + // indices list. + // Those elements whose index is not in the constant index list will be zeroise. + for (unsigned int i = 0; i < clipDistanceType->getOutermostArraySize(); ++i) + { + if (constIndices.test(i)) + { + reassignBlock->appendStatement(assignFunc(i)); + } + else + { + // gl_ClipDistance[i] = 0; + TIntermBinary *left = new TIntermBinary( + EOpIndexDirect, glClipDistanceSymbol->deepCopy(), CreateIndexNode(i)); + TIntermBinary *zeroAssignment = + new TIntermBinary(EOpAssign, left, CreateFloatNode(0)); + reassignBlock->appendStatement(zeroAssignment); + } + } + } + + return RunAtTheEndOfShader(compiler, root, reassignBlock, symbolTable); +} + +} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.h similarity index 58% rename from gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h rename to gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.h index 0bf88c2fd24d..3aa5d56d5e35 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.h @@ -3,20 +3,18 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// ReplaceClipCullDistanceVariable.h: Find any references to gl_ClipDistance or gl_CullDistance and -// replace it with ANGLEClipDistance or ANGLECullDistance. +// ReplaceClipDistanceVariable.h: Find any references to gl_ClipDistance and +// replace it with ANGLEClipDistance. // -#ifndef COMPILER_TRANSLATOR_TREEUTIL_REPLACECLIPCULLDISTANCEVARIABLE_H_ -#define COMPILER_TRANSLATOR_TREEUTIL_REPLACECLIPCULLDISTANCEVARIABLE_H_ +#ifndef COMPILER_TRANSLATOR_TREEUTIL_REPLACECLIPDISTANCEVARIABLE_H_ +#define COMPILER_TRANSLATOR_TREEUTIL_REPLACECLIPDISTANCEVARIABLE_H_ -#include "GLSLANG/ShaderLang.h" #include "common/angleutils.h" namespace sh { -struct InterfaceBlock; class TCompiler; class TIntermBlock; class TSymbolTable; @@ -31,13 +29,7 @@ class TIntermTyped; ANGLE_NO_DISCARD bool ReplaceClipDistanceAssignments(TCompiler *compiler, TIntermBlock *root, TSymbolTable *symbolTable, - const GLenum shaderType, const TIntermTyped *clipDistanceEnableFlags); - -ANGLE_NO_DISCARD bool ReplaceCullDistanceAssignments(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const GLenum shaderType); } // namespace sh #endif diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp index 42777ee88b78..901b4cedae6a 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp @@ -40,67 +40,6 @@ class ReplaceVariableTraverser : public TIntermTraverser const TIntermTyped *const mReplacement; }; -class ReplaceVariablesTraverser : public TIntermTraverser -{ - public: - ReplaceVariablesTraverser(const VariableReplacementMap &variableMap) - : TIntermTraverser(true, false, false), mVariableMap(variableMap) - {} - - void visitSymbol(TIntermSymbol *node) override - { - auto iter = mVariableMap.find(&node->variable()); - if (iter != mVariableMap.end()) - { - queueReplacement(iter->second->deepCopy(), OriginalNode::IS_DROPPED); - } - } - - private: - const VariableReplacementMap &mVariableMap; -}; - -class GetDeclaratorReplacementsTraverser : public TIntermTraverser -{ - public: - GetDeclaratorReplacementsTraverser(TSymbolTable *symbolTable, - VariableReplacementMap *variableMap) - : TIntermTraverser(true, false, false, symbolTable), mVariableMap(variableMap) - {} - - bool visitDeclaration(Visit visit, TIntermDeclaration *node) override - { - const TIntermSequence &sequence = *(node->getSequence()); - - for (TIntermNode *decl : sequence) - { - TIntermSymbol *asSymbol = decl->getAsSymbolNode(); - TIntermBinary *asBinary = decl->getAsBinaryNode(); - - if (asBinary != nullptr) - { - ASSERT(asBinary->getOp() == EOpInitialize); - asSymbol = asBinary->getLeft()->getAsSymbolNode(); - } - - ASSERT(asSymbol); - const TVariable &variable = asSymbol->variable(); - - ASSERT(mVariableMap->find(&variable) == mVariableMap->end()); - - const TVariable *replacementVariable = new TVariable( - mSymbolTable, variable.name(), &variable.getType(), variable.symbolType()); - - (*mVariableMap)[&variable] = new TIntermSymbol(replacementVariable); - } - - return false; - } - - private: - VariableReplacementMap *mVariableMap; -}; - } // anonymous namespace // Replaces every occurrence of a variable with another variable. @@ -114,23 +53,6 @@ ANGLE_NO_DISCARD bool ReplaceVariable(TCompiler *compiler, return traverser.updateTree(compiler, root); } -ANGLE_NO_DISCARD bool ReplaceVariables(TCompiler *compiler, - TIntermBlock *root, - const VariableReplacementMap &variableMap) -{ - ReplaceVariablesTraverser traverser(variableMap); - root->traverse(&traverser); - return traverser.updateTree(compiler, root); -} - -void GetDeclaratorReplacements(TSymbolTable *symbolTable, - TIntermBlock *root, - VariableReplacementMap *variableMap) -{ - GetDeclaratorReplacementsTraverser traverser(symbolTable, variableMap); - root->traverse(&traverser); -} - // Replaces every occurrence of a variable with a TIntermNode. ANGLE_NO_DISCARD bool ReplaceVariableWithTyped(TCompiler *compiler, TIntermBlock *root, @@ -142,4 +64,75 @@ ANGLE_NO_DISCARD bool ReplaceVariableWithTyped(TCompiler *compiler, return traverser.updateTree(compiler, root); } +TIntermFunctionPrototype *RetypeOpaqueVariablesHelper::convertFunctionPrototype( + TSymbolTable *symbolTable, + const TFunction *oldFunction) +{ + if (mReplacedFunctionParams.empty()) + { + return nullptr; + } + + // Create a new function prototype for replacement. + TFunction *replacementFunction = new TFunction( + symbolTable, oldFunction->name(), SymbolType::UserDefined, + new TType(oldFunction->getReturnType()), oldFunction->isKnownToNotHaveSideEffects()); + for (size_t paramIndex = 0; paramIndex < oldFunction->getParamCount(); ++paramIndex) + { + const TVariable *param = oldFunction->getParam(paramIndex); + TVariable *replacement = nullptr; + auto replaced = mReplacedFunctionParams.find(param); + if (replaced != mReplacedFunctionParams.end()) + { + replacement = replaced->second; + } + else + { + replacement = new TVariable(symbolTable, param->name(), new TType(param->getType()), + SymbolType::UserDefined); + } + replacementFunction->addParameter(replacement); + } + mReplacedFunctions[oldFunction] = replacementFunction; + + TIntermFunctionPrototype *replacementPrototype = + new TIntermFunctionPrototype(replacementFunction); + + return replacementPrototype; +} + +TIntermAggregate *RetypeOpaqueVariablesHelper::convertASTFunction(TIntermAggregate *node) +{ + // See if the function needs replacement at all. + const TFunction *function = node->getFunction(); + auto replacedFunction = mReplacedFunctions.find(function); + if (replacedFunction == mReplacedFunctions.end()) + { + return nullptr; + } + + // Arguments to this call are staged to be replaced at the same time. + TFunction *substituteFunction = replacedFunction->second; + TIntermSequence *substituteArguments = new TIntermSequence; + + for (size_t paramIndex = 0; paramIndex < function->getParamCount(); ++paramIndex) + { + TIntermNode *param = node->getChildNode(paramIndex); + + TIntermNode *replacement = nullptr; + auto replacedArg = mReplacedFunctionCallArgs.top().find(param); + if (replacedArg != mReplacedFunctionCallArgs.top().end()) + { + replacement = replacedArg->second; + } + else + { + replacement = param->getAsTyped()->deepCopy(); + } + substituteArguments->push_back(replacement); + } + + return TIntermAggregate::CreateFunctionCall(*substituteFunction, substituteArguments); +} + } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.h b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.h index bb48625d0039..cfe0f472634c 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.h +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/ReplaceVariable.h @@ -36,19 +36,107 @@ ANGLE_NO_DISCARD bool ReplaceVariableWithTyped(TCompiler *compiler, const TVariable *toBeReplaced, const TIntermTyped *replacement); -using VariableReplacementMap = angle::HashMap; +// A helper class to keep track of opaque variable re-typing during a pass. Unlike the above +// functions, this can be used to replace all opaque variables of a certain type with another in a +// pass that possibly does other related transformations. Only opaque variables are supported as +// replacing local variables is not supported. +// +// The class uses "old" to refer to the original type of the variable and "new" to refer to the type +// that will replace it. +// +// - replaceGlobalVariable(): Call to track a global variable that is replaced. +// - in TIntermTraverser::visitFunctionPrototype(): +// * Call visitFunctionPrototype(). +// * For every replaced parameter, call replaceFunctionParam(). +// * call convertFunctionPrototype() to convert the prototype based on the above replacements +// and track the function with its replacement. +// * Call replaceFunction() to track the function that is replaced. +// - In PreVisit of TIntermTraverser::visitAggregate(): +// * call preVisitAggregate() +// - In TIntermTraverser::visitSymbol(): +// * Replace non-function-call-argument symbols that refer to a global or function param with the +// replacement (getVariableReplacement()). +// * For function call arguments, call replaceFunctionCallArg() to track the replacement. +// - In PostVisit of TIntermTraverser::visitAggregate(): +// * Convert built-in functions per case. Call convertASTFunction() for non built-in functions +// for the replacement to be created. +// * Call postVisitAggregate() when done. +// +class RetypeOpaqueVariablesHelper +{ + public: + RetypeOpaqueVariablesHelper() {} + ~RetypeOpaqueVariablesHelper() {} -// Replace a set of variables with their corresponding expression. -ANGLE_NO_DISCARD bool ReplaceVariables(TCompiler *compiler, - TIntermBlock *root, - const VariableReplacementMap &variableMap); + // Global variable handling: + void replaceGlobalVariable(const TVariable *oldVar, TVariable *newVar) + { + ASSERT(mReplacedGlobalVariables.count(oldVar) == 0); + mReplacedGlobalVariables[oldVar] = newVar; + } + TVariable *getVariableReplacement(const TVariable *oldVar) const + { + if (mReplacedGlobalVariables.count(oldVar) != 0) + { + return mReplacedGlobalVariables.at(oldVar); + } + else + { + // This function should only be called if the variable is expected to have been + // replaced either way (as a global variable or a function parameter). + ASSERT(mReplacedFunctionParams.count(oldVar) != 0); + return mReplacedFunctionParams.at(oldVar); + } + } -// Find all declarators, and replace the TVariable they are declaring with a duplicate. This is -// used to support deepCopy of TIntermBlock and TIntermLoop nodes that include declarations. -// Replacements already present in variableMap are preserved. -void GetDeclaratorReplacements(TSymbolTable *symbolTable, - TIntermBlock *root, - VariableReplacementMap *variableMap); + // Function parameters handling: + void visitFunctionPrototype() { mReplacedFunctionParams.clear(); } + void replaceFunctionParam(const TVariable *oldParam, TVariable *newParam) + { + ASSERT(mReplacedFunctionParams.count(oldParam) == 0); + mReplacedFunctionParams[oldParam] = newParam; + } + TVariable *getFunctionParamReplacement(const TVariable *oldParam) const + { + ASSERT(mReplacedFunctionParams.count(oldParam) != 0); + return mReplacedFunctionParams.at(oldParam); + } + + // Function call arguments handling: + void preVisitAggregate() { mReplacedFunctionCallArgs.emplace(); } + bool isInAggregate() const { return !mReplacedFunctionCallArgs.empty(); } + void postVisitAggregate() { mReplacedFunctionCallArgs.pop(); } + void replaceFunctionCallArg(const TIntermNode *oldArg, TIntermTyped *newArg) + { + ASSERT(mReplacedFunctionCallArgs.top().count(oldArg) == 0); + mReplacedFunctionCallArgs.top()[oldArg] = newArg; + } + TIntermTyped *getFunctionCallArgReplacement(const TIntermNode *oldArg) const + { + ASSERT(mReplacedFunctionCallArgs.top().count(oldArg) != 0); + return mReplacedFunctionCallArgs.top().at(oldArg); + } + + // Helper code conversion methods. + TIntermFunctionPrototype *convertFunctionPrototype(TSymbolTable *symbolTable, + const TFunction *oldFunction); + TIntermAggregate *convertASTFunction(TIntermAggregate *node); + + private: + // A map from the old global variable to the new one. + std::unordered_map mReplacedGlobalVariables; + + // A map from functions with old type parameters to one where that's replaced with the new type. + std::unordered_map mReplacedFunctions; + + // A map from function old type parameters to their replacement new type parameter for the + // current function definition. + std::unordered_map mReplacedFunctionParams; + + // A map from function call old type arguments to their replacement for the current function + // call. + std::stack> mReplacedFunctionCallArgs; +}; } // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp deleted file mode 100644 index 98e0f5edd26d..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RewriteSampleMaskVariable.cpp: Find any references to gl_SampleMask and gl_SampleMaskIn, and -// rewrite it with ANGLESampleMask or ANGLESampleMaskIn. -// - -#include "compiler/translator/tree_util/RewriteSampleMaskVariable.h" - -#include "common/bitset_utils.h" -#include "common/debug.h" -#include "common/utilities.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/BuiltIn.h" -#include "compiler/translator/tree_util/IntermNode_util.h" -#include "compiler/translator/tree_util/IntermTraverse.h" -#include "compiler/translator/tree_util/RunAtTheBeginningOfShader.h" -#include "compiler/translator/tree_util/RunAtTheEndOfShader.h" - -namespace sh -{ -namespace -{ -constexpr int kMaxIndexForSampleMaskVar = 0; -constexpr int kFullSampleMask = 0xFFFFFFFF; - -// Traverse the tree and collect the redeclaration and replace all non constant index references of -// gl_SampleMask or gl_SampleMaskIn with constant index references -class GLSampleMaskRelatedReferenceTraverser : public TIntermTraverser -{ - public: - GLSampleMaskRelatedReferenceTraverser(const TIntermSymbol **redeclaredSymOut, - const ImmutableString &targetStr) - : TIntermTraverser(true, false, false), - mRedeclaredSym(redeclaredSymOut), - mTargetStr(targetStr) - { - *mRedeclaredSym = nullptr; - } - - bool visitDeclaration(Visit visit, TIntermDeclaration *node) override - { - // If gl_SampleMask is redeclared, we need to collect its information - const TIntermSequence &sequence = *(node->getSequence()); - - if (sequence.size() != 1) - { - return true; - } - - TIntermTyped *variable = sequence.front()->getAsTyped(); - TIntermSymbol *symbol = variable->getAsSymbolNode(); - if (symbol == nullptr || symbol->getName() != mTargetStr) - { - return true; - } - - *mRedeclaredSym = symbol; - - return true; - } - - bool visitBinary(Visit visit, TIntermBinary *node) override - { - TOperator op = node->getOp(); - if (op != EOpIndexDirect && op != EOpIndexIndirect) - { - return true; - } - TIntermSymbol *left = node->getLeft()->getAsSymbolNode(); - if (!left) - { - return true; - } - if (left->getName() != mTargetStr) - { - return true; - } - const TConstantUnion *constIdx = node->getRight()->getConstantValue(); - if (!constIdx) - { - if (node->getRight()->hasSideEffects()) - { - insertStatementInParentBlock(node->getRight()); - } - - queueReplacementWithParent(node, node->getRight(), - CreateIndexNode(kMaxIndexForSampleMaskVar), - OriginalNode::IS_DROPPED); - } - - return true; - } - - private: - const TIntermSymbol **mRedeclaredSym; - const ImmutableString mTargetStr; -}; - -} // anonymous namespace - -ANGLE_NO_DISCARD bool RewriteSampleMask(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const TIntermTyped *numSamplesUniform) -{ - const TIntermSymbol *redeclaredGLSampleMask = nullptr; - GLSampleMaskRelatedReferenceTraverser indexTraverser(&redeclaredGLSampleMask, - ImmutableString("gl_SampleMask")); - - root->traverse(&indexTraverser); - if (!indexTraverser.updateTree(compiler, root)) - { - return false; - } - - // Retrieve gl_SampleMask variable reference - // Search user redeclared it first - const TVariable *glSampleMaskVar = nullptr; - if (redeclaredGLSampleMask) - { - glSampleMaskVar = &redeclaredGLSampleMask->variable(); - } - else - { - // User defined not found, find in built-in table - glSampleMaskVar = static_cast( - symbolTable->findBuiltIn(ImmutableString("gl_SampleMask"), 320)); - } - if (!glSampleMaskVar) - { - return false; - } - - // Current ANGLE assumes that the maximum number of samples is less than or equal to - // VK_SAMPLE_COUNT_32_BIT. So, the size of gl_SampleMask array is always one. - const unsigned int arraySizeOfSampleMask = glSampleMaskVar->getType().getOutermostArraySize(); - ASSERT(arraySizeOfSampleMask == 1); - - TIntermSymbol *glSampleMaskSymbol = new TIntermSymbol(glSampleMaskVar); - - // if (ANGLEUniforms.numSamples == 1) - // { - // gl_SampleMask[0] = int(0xFFFFFFFF); - // } - TIntermConstantUnion *singleSampleCount = CreateUIntNode(1); - TIntermBinary *equalTo = - new TIntermBinary(EOpEqual, numSamplesUniform->deepCopy(), singleSampleCount); - - TIntermBlock *trueBlock = new TIntermBlock(); - - TIntermBinary *sampleMaskVar = new TIntermBinary(EOpIndexDirect, glSampleMaskSymbol->deepCopy(), - CreateIndexNode(kMaxIndexForSampleMaskVar)); - TIntermConstantUnion *fullSampleMask = CreateIndexNode(kFullSampleMask); - TIntermBinary *assignment = new TIntermBinary(EOpAssign, sampleMaskVar, fullSampleMask); - - trueBlock->appendStatement(assignment); - - TIntermIfElse *multiSampleOrNot = new TIntermIfElse(equalTo, trueBlock, nullptr); - - return RunAtTheEndOfShader(compiler, root, multiSampleOrNot, symbolTable); -} - -ANGLE_NO_DISCARD bool RewriteSampleMaskIn(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable) -{ - const TIntermSymbol *redeclaredGLSampleMaskIn = nullptr; - GLSampleMaskRelatedReferenceTraverser indexTraverser(&redeclaredGLSampleMaskIn, - ImmutableString("gl_SampleMaskIn")); - - root->traverse(&indexTraverser); - if (!indexTraverser.updateTree(compiler, root)) - { - return false; - } - - // Retrieve gl_SampleMaskIn variable reference - const TVariable *glSampleMaskInVar = nullptr; - glSampleMaskInVar = static_cast( - symbolTable->findBuiltIn(ImmutableString("gl_SampleMaskIn"), 320)); - if (!glSampleMaskInVar) - { - return false; - } - - // Current ANGLE assumes that the maximum number of samples is less than or equal to - // VK_SAMPLE_COUNT_32_BIT. So, the size of gl_SampleMask array is always one. - const unsigned int arraySizeOfSampleMaskIn = - glSampleMaskInVar->getType().getOutermostArraySize(); - ASSERT(arraySizeOfSampleMaskIn == 1); - - return true; -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h b/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h deleted file mode 100644 index 505d03b7113e..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RewriteSampleMaskVariable.cpp: Find any references to gl_SampleMask and gl_SampleMaskIn, and -// rewrite it with ANGLESampleMask or ANGLESampleMaskIn. -// - -#ifndef COMPILER_TRANSLATOR_TREEUTIL_REWRITESAMPLEMASKVARIABLE_H_ -#define COMPILER_TRANSLATOR_TREEUTIL_REWRITESAMPLEMASKVARIABLE_H_ - -#include "common/angleutils.h" - -namespace sh -{ - -class TCompiler; -class TIntermBlock; -class TSymbolTable; -class TIntermTyped; - -// Rewrite every gl_SampleMask or gl_SampleMaskIn to "ANGLESampleMask" or "ANGLESampleMaskIn", then -// at the end of shader re-assign the values of this global variable to gl_SampleMask and -// gl_SampleMaskIn. This to solve the problem which the non constant index is used for the unsized -// array problem. -ANGLE_NO_DISCARD bool RewriteSampleMask(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable, - const TIntermTyped *numSamplesUniform); - -ANGLE_NO_DISCARD bool RewriteSampleMaskIn(TCompiler *compiler, - TIntermBlock *root, - TSymbolTable *symbolTable); - -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEUTIL_REWRITESAMPLEMASKVARIABLE_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp deleted file mode 100644 index cd9ffeac151f..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RunAtTheBeginningOfShader.cpp: Add code to be run at the beginning of the shader. -// void main() { body } -// => -// void main() -// { -// codeToRun -// body -// } -// - -#include "compiler/translator/tree_util/RunAtTheBeginningOfShader.h" - -#include "compiler/translator/Compiler.h" -#include "compiler/translator/IntermNode.h" -#include "compiler/translator/StaticType.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/FindMain.h" -#include "compiler/translator/tree_util/IntermNode_util.h" -#include "compiler/translator/tree_util/IntermTraverse.h" - -namespace sh -{ - -bool RunAtTheBeginningOfShader(TCompiler *compiler, TIntermBlock *root, TIntermNode *codeToRun) -{ - TIntermFunctionDefinition *main = FindMain(root); - main->getBody()->insertStatement(0, codeToRun); - return compiler->validateAST(root); -} - -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h b/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h deleted file mode 100644 index 405a02fc3d93..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// RunAtTheBeginningOfShader.h: Add code to be run at the beginning of the shader. -// - -#ifndef COMPILER_TRANSLATOR_TREEUTIL_RUNATTHEBEGINNINGOFSHADER_H_ -#define COMPILER_TRANSLATOR_TREEUTIL_RUNATTHEBEGINNINGOFSHADER_H_ - -#include "common/angleutils.h" - -namespace sh -{ - -class TCompiler; -class TIntermBlock; -class TIntermNode; - -ANGLE_NO_DISCARD bool RunAtTheBeginningOfShader(TCompiler *compiler, - TIntermBlock *root, - TIntermNode *codeToRun); - -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEUTIL_RUNATTHEBEGINNINGOFSHADER_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp index 68723ee1a672..1af04c898f14 100644 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp +++ b/gfx/angle/checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp @@ -89,8 +89,8 @@ void WrapMainAndAppend(TIntermBlock *root, // codeToRun // } TIntermBlock *newMainBody = new TIntermBlock(); - TIntermSequence emptySequence; - TIntermAggregate *oldMainCall = TIntermAggregate::CreateFunctionCall(*oldMain, &emptySequence); + TIntermAggregate *oldMainCall = + TIntermAggregate::CreateFunctionCall(*oldMain, new TIntermSequence()); newMainBody->appendStatement(oldMainCall); newMainBody->appendStatement(codeToRun); diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp b/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp deleted file mode 100644 index 9b274acb9253..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp +++ /dev/null @@ -1,481 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// SpecializationConst.cpp: Add code to generate AST node for various specialization constants. -// - -#include "compiler/translator/tree_util/SpecializationConstant.h" -#include "common/PackedEnums.h" -#include "common/angleutils.h" -#include "compiler/translator/StaticType.h" -#include "compiler/translator/SymbolTable.h" -#include "compiler/translator/tree_util/IntermNode_util.h" - -namespace sh -{ - -namespace -{ -// Specialization constant names -constexpr ImmutableString kLineRasterEmulationSpecConstVarName = - ImmutableString("ANGLELineRasterEmulation"); -constexpr ImmutableString kSurfaceRotationSpecConstVarName = - ImmutableString("ANGLESurfaceRotation"); -constexpr ImmutableString kDrawableWidthSpecConstVarName = ImmutableString("ANGLEDrawableWidth"); -constexpr ImmutableString kDrawableHeightSpecConstVarName = ImmutableString("ANGLEDrawableHeight"); - -// When an Android surface is rotated differently than the device's native orientation, ANGLE must -// rotate gl_Position in the vertex shader and gl_FragCoord in the fragment shader. The following -// are the rotation matrices used. -// -// This is 2x2 matrix in column major. The first column is for dFdx and second column is for dFdy. -using Mat2x2 = std::array; -using Mat2x2EnumMap = - angle::PackedEnumMap()>; - -constexpr Mat2x2EnumMap kFragRotationMatrices = { - {{vk::SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated90Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}, - {vk::SurfaceRotation::Rotated180Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated270Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}, - {vk::SurfaceRotation::FlippedIdentity, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated90Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}, - {vk::SurfaceRotation::FlippedRotated180Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated270Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}}}; - -// TODO: https://issuetracker.google.com/174066134. This is to make sure the specialization constant -// code path behaves exactly the same as driver uniform code path. Not sure why this has to be -// different from kFragRotationMatrices. -constexpr Mat2x2EnumMap kHalfRenderAreaRotationMatrices = { - {{vk::SurfaceRotation::Identity, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated90Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}, - {vk::SurfaceRotation::Rotated180Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated270Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedIdentity, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated90Degrees, {{0.0f, 1.0f, 1.0f, 0.0f}}}, - {vk::SurfaceRotation::FlippedRotated180Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated270Degrees, {{1.0f, 0.0f, 0.0f, 1.0f}}}}}; - -// Returns mat2(m0, m1, m2, m3) -TIntermAggregate *CreateMat2x2(const Mat2x2EnumMap &matrix, vk::SurfaceRotation rotation) -{ - auto mat2Type = new TType(EbtFloat, 2, 2); - TIntermSequence mat2Args; - mat2Args.push_back(CreateFloatNode(matrix[rotation][0])); - mat2Args.push_back(CreateFloatNode(matrix[rotation][1])); - mat2Args.push_back(CreateFloatNode(matrix[rotation][2])); - mat2Args.push_back(CreateFloatNode(matrix[rotation][3])); - TIntermAggregate *constVarConstructor = - TIntermAggregate::CreateConstructor(*mat2Type, &mat2Args); - return constVarConstructor; -} - -// Generates an array of vec2 and then use rotation to retrieve the desired flipXY out. -TIntermTyped *GenerateMat2x2ArrayWithIndex(const Mat2x2EnumMap &matrix, TIntermSymbol *rotation) -{ - auto mat2Type = new TType(EbtFloat, 2, 2); - TType *typeMat2Array = new TType(*mat2Type); - typeMat2Array->makeArray(static_cast(vk::SurfaceRotation::EnumCount)); - - TIntermSequence sequences = { - CreateMat2x2(matrix, vk::SurfaceRotation::Identity), - CreateMat2x2(matrix, vk::SurfaceRotation::Rotated90Degrees), - CreateMat2x2(matrix, vk::SurfaceRotation::Rotated180Degrees), - CreateMat2x2(matrix, vk::SurfaceRotation::Rotated270Degrees), - CreateMat2x2(matrix, vk::SurfaceRotation::FlippedIdentity), - CreateMat2x2(matrix, vk::SurfaceRotation::FlippedRotated90Degrees), - CreateMat2x2(matrix, vk::SurfaceRotation::FlippedRotated180Degrees), - CreateMat2x2(matrix, vk::SurfaceRotation::FlippedRotated270Degrees)}; - TIntermTyped *array = TIntermAggregate::CreateConstructor(*typeMat2Array, &sequences); - return new TIntermBinary(EOpIndexDirect, array, rotation); -} - -using Vec2 = std::array; -using Vec2EnumMap = - angle::PackedEnumMap()>; -constexpr Vec2EnumMap kFlipXYValue = { - {{vk::SurfaceRotation::Identity, {{1.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated90Degrees, {{1.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated180Degrees, {{-1.0f, 1.0f}}}, - {vk::SurfaceRotation::Rotated270Degrees, {{-1.0f, -1.0f}}}, - {vk::SurfaceRotation::FlippedIdentity, {{1.0f, -1.0f}}}, - {vk::SurfaceRotation::FlippedRotated90Degrees, {{1.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated180Degrees, {{1.0f, 1.0f}}}, - {vk::SurfaceRotation::FlippedRotated270Degrees, {{-1.0f, -1.0f}}}}}; - -// Returns [[flipX*m0+flipY*m1] [flipX*m2+flipY*m3]] where [m0 m1] is the first column of -// kFragRotation matrix and [m2 m3] is the second column of kFragRotation matrix. -constexpr Vec2 CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation rotation) -{ - return Vec2({kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][0] + - kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][1], - kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][2] + - kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][3]}); -} - -// Returns vec2(vec2Values.x, vec2Values.y*yscale) -TIntermAggregate *CreateVec2(Vec2EnumMap vec2Values, float yscale, vk::SurfaceRotation rotation) -{ - auto vec2Type = new TType(EbtFloat, 2); - TIntermSequence vec2Args; - vec2Args.push_back(CreateFloatNode(vec2Values[rotation][0])); - vec2Args.push_back(CreateFloatNode(vec2Values[rotation][1] * yscale)); - TIntermAggregate *constVarConstructor = - TIntermAggregate::CreateConstructor(*vec2Type, &vec2Args); - return constVarConstructor; -} - -// Generates an array of vec2 and then use rotation to retrieve the desired flipXY out. -TIntermTyped *CreateVec2ArrayWithIndex(Vec2EnumMap vec2Values, - float yscale, - TIntermSymbol *rotation) -{ - auto vec2Type = new TType(EbtFloat, 2); - TType *typeVec2Array = new TType(*vec2Type); - typeVec2Array->makeArray(static_cast(vk::SurfaceRotation::EnumCount)); - - TIntermSequence sequences = { - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Identity), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated90Degrees), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated180Degrees), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated270Degrees), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedIdentity), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedRotated90Degrees), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedRotated180Degrees), - CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedRotated270Degrees)}; - TIntermTyped *vec2Array = TIntermAggregate::CreateConstructor(*typeVec2Array, &sequences); - return new TIntermBinary(EOpIndexDirect, vec2Array, rotation); -} - -// Returns [flipX*m0, flipY*m1], where [m0 m1] is the first column of kFragRotation matrix. -constexpr Vec2 CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation rotation) -{ - return Vec2({kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][0], - kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][1]}); -} -constexpr Vec2EnumMap kRotatedFlipXYForDFdx = { - {{vk::SurfaceRotation::Identity, CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::Identity)}, - {vk::SurfaceRotation::Rotated90Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::Rotated90Degrees)}, - {vk::SurfaceRotation::Rotated180Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::Rotated180Degrees)}, - {vk::SurfaceRotation::Rotated270Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::Rotated270Degrees)}, - {vk::SurfaceRotation::FlippedIdentity, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::FlippedIdentity)}, - {vk::SurfaceRotation::FlippedRotated90Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::FlippedRotated90Degrees)}, - {vk::SurfaceRotation::FlippedRotated180Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::FlippedRotated180Degrees)}, - {vk::SurfaceRotation::FlippedRotated270Degrees, - CalcRotatedFlipXYValueForDFdx(vk::SurfaceRotation::FlippedRotated270Degrees)}}}; - -// Returns [flipX*m2, flipY*m3], where [m2 m3] is the second column of kFragRotation matrix. -constexpr Vec2 CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation rotation) -{ - return Vec2({kFlipXYValue[rotation][0] * kFragRotationMatrices[rotation][2], - kFlipXYValue[rotation][1] * kFragRotationMatrices[rotation][3]}); -} -constexpr Vec2EnumMap kRotatedFlipXYForDFdy = { - {{vk::SurfaceRotation::Identity, CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::Identity)}, - {vk::SurfaceRotation::Rotated90Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::Rotated90Degrees)}, - {vk::SurfaceRotation::Rotated180Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::Rotated180Degrees)}, - {vk::SurfaceRotation::Rotated270Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::Rotated270Degrees)}, - {vk::SurfaceRotation::FlippedIdentity, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::FlippedIdentity)}, - {vk::SurfaceRotation::FlippedRotated90Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::FlippedRotated90Degrees)}, - {vk::SurfaceRotation::FlippedRotated180Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::FlippedRotated180Degrees)}, - {vk::SurfaceRotation::FlippedRotated270Degrees, - CalcRotatedFlipXYValueForDFdy(vk::SurfaceRotation::FlippedRotated270Degrees)}}}; - -// Returns an array of float and then use rotation to retrieve the desired float value out. -TIntermTyped *CreateFloatArrayWithRotationIndex(const Vec2EnumMap &valuesEnumMap, - int subscript, - float scale, - TIntermSymbol *rotation) -{ - const TType *floatType = StaticType::GetBasic(); - TType *typeFloat8 = new TType(*floatType); - typeFloat8->makeArray(static_cast(vk::SurfaceRotation::EnumCount)); - - TIntermSequence sequences = { - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Identity][subscript] * scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated90Degrees][subscript] * scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated180Degrees][subscript] * scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::Rotated270Degrees][subscript] * scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::FlippedIdentity][subscript] * scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::FlippedRotated90Degrees][subscript] * - scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::FlippedRotated180Degrees][subscript] * - scale), - CreateFloatNode(valuesEnumMap[vk::SurfaceRotation::FlippedRotated270Degrees][subscript] * - scale)}; - TIntermTyped *array = TIntermAggregate::CreateConstructor(*typeFloat8, &sequences); - - return new TIntermBinary(EOpIndexDirect, array, rotation); -} -} // anonymous namespace - -SpecConst::SpecConst(TSymbolTable *symbolTable, ShCompileOptions compileOptions, GLenum shaderType) - : mSymbolTable(symbolTable), mCompileOptions(compileOptions) -{ - if (shaderType == GL_FRAGMENT_SHADER || shaderType == GL_COMPUTE_SHADER) - { - return; - } - - // Mark SpecConstUsage::Rotation unconditionally. gl_Position is always rotated. - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) != 0 && - (mCompileOptions & SH_ADD_PRE_ROTATION) != 0) - { - mUsageBits.set(vk::SpecConstUsage::Rotation); - } -} - -SpecConst::~SpecConst() {} - -void SpecConst::outputLayoutString(TInfoSinkBase &sink) const -{ - // Add specialization constant declarations. The default value of the specialization - // constant is irrelevant, as it will be set when creating the pipeline. - // Only emit specialized const layout string if it has been referenced. - if (mUsageBits.test(vk::SpecConstUsage::LineRasterEmulation)) - { - sink << "layout(constant_id=" - << static_cast(vk::SpecializationConstantId::LineRasterEmulation) - << ") const bool " << kLineRasterEmulationSpecConstVarName << " = false;\n\n"; - } - - if (mUsageBits.test(vk::SpecConstUsage::YFlip) || mUsageBits.test(vk::SpecConstUsage::Rotation)) - { - sink << "layout(constant_id=" - << static_cast(vk::SpecializationConstantId::SurfaceRotation) - << ") const uint " << kSurfaceRotationSpecConstVarName << " = 0;\n\n"; - } - - if (mUsageBits.test(vk::SpecConstUsage::DrawableSize)) - { - sink << "layout(constant_id=" - << static_cast(vk::SpecializationConstantId::DrawableWidth) - << ") const uint " << kDrawableWidthSpecConstVarName << " = 0;\n\n"; - sink << "layout(constant_id=" - << static_cast(vk::SpecializationConstantId::DrawableHeight) - << ") const uint " << kDrawableHeightSpecConstVarName << " = 0;\n\n"; - } -} - -TIntermSymbol *SpecConst::getLineRasterEmulation() -{ - if ((mCompileOptions & SH_ADD_BRESENHAM_LINE_RASTER_EMULATION) == 0) - { - return nullptr; - } - TVariable *specConstVar = - new TVariable(mSymbolTable, kLineRasterEmulationSpecConstVarName, - StaticType::GetBasic(), SymbolType::AngleInternal); - mUsageBits.set(vk::SpecConstUsage::LineRasterEmulation); - return new TIntermSymbol(specConstVar); -} - -TIntermSymbol *SpecConst::getFlipRotation() -{ - TVariable *specConstVar = - new TVariable(mSymbolTable, kSurfaceRotationSpecConstVarName, - StaticType::GetBasic(), SymbolType::AngleInternal); - return new TIntermSymbol(specConstVar); -} - -TIntermTyped *SpecConst::getMultiplierXForDFdx() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - mUsageBits.set(vk::SpecConstUsage::Rotation); - return CreateFloatArrayWithRotationIndex(kRotatedFlipXYForDFdx, 0, 1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getMultiplierYForDFdx() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - mUsageBits.set(vk::SpecConstUsage::Rotation); - return CreateFloatArrayWithRotationIndex(kRotatedFlipXYForDFdx, 1, 1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getMultiplierXForDFdy() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - mUsageBits.set(vk::SpecConstUsage::Rotation); - return CreateFloatArrayWithRotationIndex(kRotatedFlipXYForDFdy, 0, 1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getMultiplierYForDFdy() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - mUsageBits.set(vk::SpecConstUsage::Rotation); - return CreateFloatArrayWithRotationIndex(kRotatedFlipXYForDFdy, 1, 1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getFragRotationMatrix() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::Rotation); - return GenerateMat2x2ArrayWithIndex(kFragRotationMatrices, getFlipRotation()); -} - -TIntermTyped *SpecConst::getHalfRenderAreaRotationMatrix() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::Rotation); - return GenerateMat2x2ArrayWithIndex(kHalfRenderAreaRotationMatrices, getFlipRotation()); -} - -TIntermTyped *SpecConst::getFlipXY() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - return CreateVec2ArrayWithIndex(kFlipXYValue, 1.0, getFlipRotation()); -} - -TIntermTyped *SpecConst::getNegFlipXY() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - return CreateVec2ArrayWithIndex(kFlipXYValue, -1.0, getFlipRotation()); -} - -TIntermTyped *SpecConst::getFlipY() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - return CreateFloatArrayWithRotationIndex(kFlipXYValue, 1, 1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getNegFlipY() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - mUsageBits.set(vk::SpecConstUsage::YFlip); - return CreateFloatArrayWithRotationIndex(kFlipXYValue, 1, -1, getFlipRotation()); -} - -TIntermTyped *SpecConst::getFragRotationMultiplyFlipXY() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - - constexpr Vec2EnumMap kFragRotationMultiplyFlipXY = { - {{vk::SurfaceRotation::Identity, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::Identity)}, - {vk::SurfaceRotation::Rotated90Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::Rotated90Degrees)}, - {vk::SurfaceRotation::Rotated180Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::Rotated180Degrees)}, - {vk::SurfaceRotation::Rotated270Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::Rotated270Degrees)}, - {vk::SurfaceRotation::FlippedIdentity, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::FlippedIdentity)}, - {vk::SurfaceRotation::FlippedRotated90Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::FlippedRotated90Degrees)}, - {vk::SurfaceRotation::FlippedRotated180Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::FlippedRotated180Degrees)}, - {vk::SurfaceRotation::FlippedRotated270Degrees, - CalcFragRotationMultiplyFlipXY(vk::SurfaceRotation::FlippedRotated270Degrees)}}}; - - mUsageBits.set(vk::SpecConstUsage::YFlip); - mUsageBits.set(vk::SpecConstUsage::Rotation); - return CreateVec2ArrayWithIndex(kFragRotationMultiplyFlipXY, 1.0, getFlipRotation()); -} - -TIntermSymbol *SpecConst::getDrawableWidth() -{ - TVariable *widthSpecConstVar = - new TVariable(mSymbolTable, kDrawableWidthSpecConstVarName, - StaticType::GetBasic(), SymbolType::AngleInternal); - TIntermSymbol *drawableWidth = new TIntermSymbol(widthSpecConstVar); - return drawableWidth; -} - -TIntermSymbol *SpecConst::getDrawableHeight() -{ - TVariable *heightSpecConstVar = - new TVariable(mSymbolTable, kDrawableHeightSpecConstVarName, - StaticType::GetBasic(), SymbolType::AngleInternal); - TIntermSymbol *drawableHeight = new TIntermSymbol(heightSpecConstVar); - return drawableHeight; -} - -TIntermBinary *SpecConst::getHalfRenderArea() -{ - if ((mCompileOptions & SH_USE_SPECIALIZATION_CONSTANT) == 0) - { - return nullptr; - } - - // vec2 drawableSize(drawableWidth, drawableHeight) - auto vec2Type = new TType(EbtFloat, 2); - TIntermSequence widthHeightArgs; - widthHeightArgs.push_back(getDrawableWidth()); - widthHeightArgs.push_back(getDrawableHeight()); - TIntermAggregate *drawableSize = - TIntermAggregate::CreateConstructor(*vec2Type, &widthHeightArgs); - - // drawableSize * 0.5f - TIntermBinary *halfRenderArea = - new TIntermBinary(EOpVectorTimesScalar, drawableSize, CreateFloatNode(0.5)); - mUsageBits.set(vk::SpecConstUsage::DrawableSize); - - // drawableSize * 0.5f * halfRenderAreaRotationMatrix (See comment in - // kHalfRenderAreaRotationMatrices) - TIntermBinary *rotatedHalfRenderArea = - new TIntermBinary(EOpMatrixTimesVector, getHalfRenderAreaRotationMatrix(), halfRenderArea); - - return rotatedHalfRenderArea; -} - -bool SpecConst::IsSpecConstName(const ImmutableString &name) -{ - return name == kLineRasterEmulationSpecConstVarName || - name == kSurfaceRotationSpecConstVarName || name == kDrawableWidthSpecConstVarName || - name == kDrawableHeightSpecConstVarName; -} -} // namespace sh diff --git a/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.h b/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.h deleted file mode 100644 index a2b700193ce8..000000000000 --- a/gfx/angle/checkout/src/compiler/translator/tree_util/SpecializationConstant.h +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// SpecializationConst.h: Add code to generate AST node for specialization constant. -// - -#ifndef COMPILER_TRANSLATOR_TREEUTIL_SPECIALIZATIONCONSTANT_H_ -#define COMPILER_TRANSLATOR_TREEUTIL_SPECIALIZATIONCONSTANT_H_ - -#include "common/angleutils.h" -#include "compiler/translator/Compiler.h" -#include "compiler/translator/SymbolTable.h" - -class TIntermTyped; -class TIntermSymbol; -class TVariable; - -namespace sh -{ - -class SpecConst -{ - public: - SpecConst(TSymbolTable *symbolTable, ShCompileOptions compileOptions, GLenum shaderType); - virtual ~SpecConst(); - - // Line rasterizaton emulation - TIntermSymbol *getLineRasterEmulation(); - - // Flip/rotation - TIntermTyped *getMultiplierXForDFdx(); - TIntermTyped *getMultiplierYForDFdx(); - TIntermTyped *getMultiplierXForDFdy(); - TIntermTyped *getMultiplierYForDFdy(); - TIntermTyped *getFragRotationMatrix(); - TIntermTyped *getFlipXY(); - TIntermTyped *getNegFlipXY(); - TIntermTyped *getFlipY(); - TIntermTyped *getFragRotationMultiplyFlipXY(); - - // Half render area - TIntermBinary *getHalfRenderArea(); - - void outputLayoutString(TInfoSinkBase &sink) const; - SpecConstUsageBits getSpecConstUsageBits() const { return mUsageBits; } - - static bool IsSpecConstName(const ImmutableString &name); - - private: - TIntermSymbol *getFlipRotation(); - TIntermTyped *getNegFlipY(); - TIntermSymbol *getDrawableWidth(); - TIntermSymbol *getDrawableHeight(); - TIntermTyped *getHalfRenderAreaRotationMatrix(); - - // If unsupported, this should be set to null. - TSymbolTable *mSymbolTable; - ShCompileOptions mCompileOptions; - - // Bit is set if YFlip or Rotation has been used - SpecConstUsageBits mUsageBits; -}; -} // namespace sh - -#endif // COMPILER_TRANSLATOR_TREEUTIL_SPECIALIZATIONCONSTANT_H_ diff --git a/gfx/angle/checkout/src/compiler/translator/util.cpp b/gfx/angle/checkout/src/compiler/translator/util.cpp index ae596b9df166..346470e4b205 100644 --- a/gfx/angle/checkout/src/compiler/translator/util.cpp +++ b/gfx/angle/checkout/src/compiler/translator/util.cpp @@ -26,6 +26,7 @@ namespace sh namespace { + bool IsInterpolationIn(TQualifier qualifier) { switch (qualifier) @@ -41,20 +42,6 @@ bool IsInterpolationIn(TQualifier qualifier) } } -bool IsInterpolationOut(TQualifier qualifier) -{ - switch (qualifier) - { - case EvqSmoothOut: - case EvqFlatOut: - case EvqNoPerspectiveOut: - case EvqCentroidOut: - case EvqSampleOut: - return true; - default: - return false; - } -} } // anonymous namespace float NumericLexFloat32OutOfRangeToInfinity(const std::string &str) @@ -564,10 +551,7 @@ bool IsVaryingOut(TQualifier qualifier) case EvqCentroidOut: case EvqVertexOut: case EvqGeometryOut: - case EvqTessControlOut: - case EvqTessEvaluationOut: case EvqSampleOut: - case EvqPatchOut: return true; default: @@ -588,10 +572,7 @@ bool IsVaryingIn(TQualifier qualifier) case EvqCentroidIn: case EvqFragmentIn: case EvqGeometryIn: - case EvqTessControlIn: - case EvqTessEvaluationIn: case EvqSampleIn: - case EvqPatchIn: return true; default: @@ -612,34 +593,12 @@ bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier) ((shaderType == GL_GEOMETRY_SHADER_EXT) && IsInterpolationIn(qualifier)); } -bool IsTessellationControlShaderInput(GLenum shaderType, TQualifier qualifier) -{ - return qualifier == EvqTessControlIn || - ((shaderType == GL_TESS_CONTROL_SHADER) && IsInterpolationIn(qualifier)); -} - -bool IsTessellationControlShaderOutput(GLenum shaderType, TQualifier qualifier) -{ - return qualifier == EvqTessControlOut || - ((shaderType == GL_TESS_CONTROL_SHADER) && IsInterpolationOut(qualifier)); -} - -bool IsTessellationEvaluationShaderInput(GLenum shaderType, TQualifier qualifier) -{ - return qualifier == EvqTessEvaluationIn || - ((shaderType == GL_TESS_EVALUATION_SHADER) && IsInterpolationIn(qualifier)); -} - InterpolationType GetInterpolationType(TQualifier qualifier) { switch (qualifier) { case EvqFlatIn: case EvqFlatOut: - // The auxiliary storage qualifier patch is not used for interpolation - // it is a compile-time error to use interpolation qualifiers with patch - case EvqPatchIn: - case EvqPatchOut: return INTERPOLATION_FLAT; case EvqNoPerspectiveIn: @@ -654,10 +613,6 @@ InterpolationType GetInterpolationType(TQualifier qualifier) case EvqVaryingOut: case EvqGeometryIn: case EvqGeometryOut: - case EvqTessControlIn: - case EvqTessControlOut: - case EvqTessEvaluationIn: - case EvqTessEvaluationOut: return INTERPOLATION_SMOOTH; case EvqCentroidIn: @@ -675,24 +630,6 @@ InterpolationType GetInterpolationType(TQualifier qualifier) } } -// a field may not have qualifer without in or out. -InterpolationType GetFieldInterpolationType(TQualifier qualifier) -{ - switch (qualifier) - { - case EvqFlat: - return INTERPOLATION_FLAT; - case EvqNoPerspective: - return INTERPOLATION_NOPERSPECTIVE; - case EvqSmooth: - return INTERPOLATION_SMOOTH; - case EvqCentroid: - return INTERPOLATION_CENTROID; - default: - return GetInterpolationType(qualifier); - } -} - TType GetShaderVariableBasicType(const sh::ShaderVariable &var) { switch (var.type) @@ -777,7 +714,7 @@ bool CanBeInvariantESSL1(TQualifier qualifier) bool CanBeInvariantESSL3OrGreater(TQualifier qualifier) { return IsVaryingOut(qualifier) || qualifier == EvqFragmentOut || - IsBuiltinOutputVariable(qualifier) || qualifier == EvqFragmentInOut; + IsBuiltinOutputVariable(qualifier); } bool IsBuiltinOutputVariable(TQualifier qualifier) @@ -793,7 +730,6 @@ bool IsBuiltinOutputVariable(TQualifier qualifier) case EvqFragData: case EvqSecondaryFragDataEXT: case EvqClipDistance: - case EvqLastFragData: return true; default: break; @@ -809,7 +745,6 @@ bool IsBuiltinFragmentInputVariable(TQualifier qualifier) case EvqPointCoord: case EvqFrontFacing: case EvqHelperInvocation: - case EvqLastFragData: return true; default: break; @@ -863,11 +798,11 @@ bool IsOutputHLSL(ShShaderOutput output) } bool IsOutputVulkan(ShShaderOutput output) { - return output == SH_SPIRV_VULKAN_OUTPUT; + return output == SH_GLSL_VULKAN_OUTPUT; } bool IsOutputMetal(ShShaderOutput output) { - return output == SH_SPIRV_METAL_OUTPUT; + return output == SH_GLSL_METAL_OUTPUT; } bool IsInShaderStorageBlock(TIntermTyped *node) diff --git a/gfx/angle/checkout/src/compiler/translator/util.h b/gfx/angle/checkout/src/compiler/translator/util.h index 64693ef9781d..53ee755203d9 100644 --- a/gfx/angle/checkout/src/compiler/translator/util.h +++ b/gfx/angle/checkout/src/compiler/translator/util.h @@ -55,11 +55,7 @@ bool IsVaryingIn(TQualifier qualifier); bool IsVaryingOut(TQualifier qualifier); bool IsVarying(TQualifier qualifier); bool IsGeometryShaderInput(GLenum shaderType, TQualifier qualifier); -bool IsTessellationControlShaderInput(GLenum shaderType, TQualifier qualifier); -bool IsTessellationControlShaderOutput(GLenum shaderType, TQualifier qualifier); -bool IsTessellationEvaluationShaderInput(GLenum shaderType, TQualifier qualifier); InterpolationType GetInterpolationType(TQualifier qualifier); -InterpolationType GetFieldInterpolationType(TQualifier qualifier); // Returns array brackets including size with outermost array size first, as specified in GLSL ES // 3.10 section 4.1.9. diff --git a/gfx/angle/checkout/src/gpu_info_util/SystemInfo.cpp b/gfx/angle/checkout/src/gpu_info_util/SystemInfo.cpp index 54c3db59635f..f748949d9f15 100644 --- a/gfx/angle/checkout/src/gpu_info_util/SystemInfo.cpp +++ b/gfx/angle/checkout/src/gpu_info_util/SystemInfo.cpp @@ -47,8 +47,6 @@ std::string VendorName(VendorID vendor) return "Vivante"; case kVendorID_VMWare: return "VMWare"; - case kVendorID_Apple: - return "Apple"; default: return "Unknown (" + std::to_string(vendor) + ")"; } @@ -162,11 +160,6 @@ bool IsVivante(VendorID vendorId) return vendorId == kVendorID_Vivante; } -bool IsApple(VendorID vendorId) -{ - return vendorId == kVendorID_Apple; -} - bool ParseAMDBrahmaDriverVersion(const std::string &content, std::string *version) { const size_t begin = content.find_first_of("0123456789"); diff --git a/gfx/angle/checkout/src/gpu_info_util/SystemInfo.h b/gfx/angle/checkout/src/gpu_info_util/SystemInfo.h index 4ff48c1089a2..ad17698eb5cc 100644 --- a/gfx/angle/checkout/src/gpu_info_util/SystemInfo.h +++ b/gfx/angle/checkout/src/gpu_info_util/SystemInfo.h @@ -16,9 +16,8 @@ namespace angle { -using VendorID = uint32_t; -using DeviceID = uint32_t; -using RevisionID = uint32_t; +using VendorID = uint32_t; +using DeviceID = uint32_t; struct VersionInfo { @@ -35,9 +34,8 @@ struct GPUDeviceInfo GPUDeviceInfo(const GPUDeviceInfo &other); - VendorID vendorId = 0; - DeviceID deviceId = 0; - RevisionID revisionId = 0; + VendorID vendorId = 0; + DeviceID deviceId = 0; std::string driverVendor; std::string driverVersion; @@ -69,12 +67,12 @@ struct SystemInfo bool isAMDSwitchable = false; // Only true on dual-GPU Mac laptops. bool isMacSwitchable = false; - // Only true on Apple Silicon Macs when running in macCatalyst. - bool needsEAGLOnMac = false; + // Only true on Apple Silicon Macs when running iOS binaries. + // See https://developer.apple.com/documentation/foundation/nsprocessinfo/3608556-iosapponmac + bool isiOSAppOnMac = false; // Only available on Android std::string machineManufacturer; - int androidSdkLevel = 0; // Only available on macOS and Android std::string machineModelName; @@ -101,7 +99,6 @@ constexpr VendorID kVendorID_Intel = 0x8086; constexpr VendorID kVendorID_NVIDIA = 0x10DE; constexpr VendorID kVendorID_Qualcomm = 0x5143; constexpr VendorID kVendorID_VMWare = 0x15ad; -constexpr VendorID kVendorID_Apple = 0x106B; // Known non-PCI (i.e. Khronos-registered) vendor IDs constexpr VendorID kVendorID_Vivante = 0x10001; @@ -127,7 +124,6 @@ bool IsSwiftshader(VendorID vendorId); bool IsVeriSilicon(VendorID vendorId); bool IsVMWare(VendorID vendorId); bool IsVivante(VendorID vendorId); -bool IsApple(VendorID vendorId); // Use a heuristic to attempt to find the GPU used for 3D graphics. Sets activeGPUIndex, // isOptimus, and isAMDSwitchable. diff --git a/gfx/angle/checkout/src/gpu_info_util/SystemInfo_vulkan.cpp b/gfx/angle/checkout/src/gpu_info_util/SystemInfo_vulkan.cpp index 4a4a448b4723..aad211b89304 100644 --- a/gfx/angle/checkout/src/gpu_info_util/SystemInfo_vulkan.cpp +++ b/gfx/angle/checkout/src/gpu_info_util/SystemInfo_vulkan.cpp @@ -49,16 +49,7 @@ class VulkanLibrary final : NonCopyable { mLibVulkan = OpenSharedLibraryWithExtension(libraryName); if (mLibVulkan) - { - if (mLibVulkan->getNative()) - { - break; - } - else - { - SafeDelete(mLibVulkan); - } - } + break; } if (!mLibVulkan) diff --git a/gfx/angle/checkout/src/image_util/loadimage.inc b/gfx/angle/checkout/src/image_util/loadimage.inc index 8d44b2bc3b7d..40ad295a59fe 100644 --- a/gfx/angle/checkout/src/image_util/loadimage.inc +++ b/gfx/angle/checkout/src/image_util/loadimage.inc @@ -81,7 +81,9 @@ inline void LoadToNative3To4(size_t width, size_t height, size_t depth, type *dest = priv::OffsetDataPointer(output, y, z, outputRowPitch, outputDepthPitch); for (size_t x = 0; x < width; x++) { - memcpy(&dest[x * 4], &source[x * 3], sizeof(type) * 3); + dest[x * 4 + 0] = source[x * 3 + 0]; + dest[x * 4 + 1] = source[x * 3 + 1]; + dest[x * 4 + 2] = source[x * 3 + 2]; dest[x * 4 + 3] = fourthValue; } } diff --git a/gfx/angle/checkout/src/libANGLE/AttributeMap.cpp b/gfx/angle/checkout/src/libANGLE/AttributeMap.cpp index 8519731b3b87..fc6dbd58b1fe 100644 --- a/gfx/angle/checkout/src/libANGLE/AttributeMap.cpp +++ b/gfx/angle/checkout/src/libANGLE/AttributeMap.cpp @@ -11,12 +11,10 @@ namespace egl { -AttributeMap::AttributeMap() = default; +AttributeMap::AttributeMap() {} AttributeMap::AttributeMap(const AttributeMap &other) = default; -AttributeMap &AttributeMap::operator=(const AttributeMap &other) = default; - AttributeMap::~AttributeMap() = default; void AttributeMap::insert(EGLAttrib key, EGLAttrib value) diff --git a/gfx/angle/checkout/src/libANGLE/AttributeMap.h b/gfx/angle/checkout/src/libANGLE/AttributeMap.h index 403418920715..9ce2373a8cb8 100644 --- a/gfx/angle/checkout/src/libANGLE/AttributeMap.h +++ b/gfx/angle/checkout/src/libANGLE/AttributeMap.h @@ -22,7 +22,6 @@ class AttributeMap final public: AttributeMap(); AttributeMap(const AttributeMap &other); - AttributeMap &operator=(const AttributeMap &other); ~AttributeMap(); void insert(EGLAttrib key, EGLAttrib value); diff --git a/gfx/angle/checkout/src/libANGLE/BinaryStream.h b/gfx/angle/checkout/src/libANGLE/BinaryStream.h index 35672f62e831..79810d87811b 100644 --- a/gfx/angle/checkout/src/libANGLE/BinaryStream.h +++ b/gfx/angle/checkout/src/libANGLE/BinaryStream.h @@ -121,13 +121,6 @@ class BinaryInputStream : angle::NonCopyable mOffset = checkedOffset.ValueOrDie(); } - float readFloat() - { - float f; - read(&f, 1); - return f; - } - void skip(size_t length) { angle::CheckedNumeric checkedOffset(mOffset); @@ -204,7 +197,6 @@ class BinaryOutputStream : angle::NonCopyable template void writeInt(IntT param) { - static_assert(std::is_integral::value, "Not an integral type"); static_assert(!std::is_same()>(), "Use writeBool"); using PromotedIntT = typename PromotedIntegerType::type; ASSERT(angle::IsValueInRangeForNumericType(param)); @@ -257,8 +249,6 @@ class BinaryOutputStream : angle::NonCopyable write(&intValue, 1); } - void writeFloat(float value) { write(&value, 1); } - size_t length() const { return mData.size(); } const void *data() const { return mData.size() ? &mData[0] : nullptr; } diff --git a/gfx/angle/checkout/src/libANGLE/BlobCache.cpp b/gfx/angle/checkout/src/libANGLE/BlobCache.cpp index 12f0095622a1..2a0aba420da6 100644 --- a/gfx/angle/checkout/src/libANGLE/BlobCache.cpp +++ b/gfx/angle/checkout/src/libANGLE/BlobCache.cpp @@ -14,9 +14,6 @@ #include "libANGLE/histogram_macros.h" #include "platform/PlatformMethods.h" -#define USE_SYSTEM_ZLIB -#include "compression_utils_portable.h" - namespace egl { @@ -32,74 +29,6 @@ enum CacheResult } // anonymous namespace -// In oder to store more cache in blob cache, compress cacheData to compressedData -// before being stored. -bool CompressBlobCacheData(const size_t cacheSize, - const uint8_t *cacheData, - angle::MemoryBuffer *compressedData) -{ - uLong uncompressedSize = static_cast(cacheSize); - uLong expectedCompressedSize = zlib_internal::GzipExpectedCompressedSize(uncompressedSize); - - // Allocate memory. - if (!compressedData->resize(expectedCompressedSize)) - { - ERR() << "Failed to allocate memory for compression"; - return false; - } - - int zResult = zlib_internal::GzipCompressHelper(compressedData->data(), &expectedCompressedSize, - cacheData, uncompressedSize, nullptr, nullptr); - - if (zResult != Z_OK) - { - ERR() << "Failed to compress cache data: " << zResult; - return false; - } - - // Resize it to expected size. - if (!compressedData->resize(expectedCompressedSize)) - { - return false; - } - - return true; -} - -bool DecompressBlobCacheData(const uint8_t *compressedData, - const size_t compressedSize, - angle::MemoryBuffer *uncompressedData) -{ - // Call zlib function to decompress. - uint32_t uncompressedSize = - zlib_internal::GetGzipUncompressedSize(compressedData, compressedSize); - - // Allocate enough memory. - if (!uncompressedData->resize(uncompressedSize)) - { - ERR() << "Failed to allocate memory for decompression"; - return false; - } - - uLong destLen = uncompressedSize; - int zResult = zlib_internal::GzipUncompressHelper( - uncompressedData->data(), &destLen, compressedData, static_cast(compressedSize)); - - if (zResult != Z_OK) - { - ERR() << "Failed to decompress data: " << zResult << "\n"; - return false; - } - - // Resize it to expected size. - if (!uncompressedData->resize(destLen)) - { - return false; - } - - return true; -} - BlobCache::BlobCache(size_t maxCacheSizeBytes) : mBlobCache(maxCacheSizeBytes), mSetBlobFunc(nullptr), mGetBlobFunc(nullptr) {} @@ -121,7 +50,6 @@ void BlobCache::put(const BlobCache::Key &key, angle::MemoryBuffer &&value) void BlobCache::putApplication(const BlobCache::Key &key, const angle::MemoryBuffer &value) { - std::lock_guard lock(mBlobCacheMutex); if (areBlobCacheFuncsSet()) { mSetBlobFunc(key.data(), key.size(), value.data(), value.size()); diff --git a/gfx/angle/checkout/src/libANGLE/BlobCache.h b/gfx/angle/checkout/src/libANGLE/BlobCache.h index 38f66893a2cf..b75796c70e23 100644 --- a/gfx/angle/checkout/src/libANGLE/BlobCache.h +++ b/gfx/angle/checkout/src/libANGLE/BlobCache.h @@ -48,13 +48,6 @@ struct hash namespace egl { -bool CompressBlobCacheData(const size_t cacheSize, - const uint8_t *cacheData, - angle::MemoryBuffer *compressedData); -bool DecompressBlobCacheData(const uint8_t *compressedData, - const size_t compressedSize, - angle::MemoryBuffer *uncompressedData); - class BlobCache final : angle::NonCopyable { public: @@ -150,8 +143,6 @@ class BlobCache final : angle::NonCopyable private: // This internal cache is used only if the application is not providing caching callbacks using CacheEntry = std::pair; - - std::mutex mBlobCacheMutex; angle::SizedMRUCache mBlobCache; EGLSetBlobFuncANDROID mSetBlobFunc; diff --git a/gfx/angle/checkout/src/libANGLE/Buffer.cpp b/gfx/angle/checkout/src/libANGLE/Buffer.cpp index d8cbfada8e91..9f2e11aec265 100644 --- a/gfx/angle/checkout/src/libANGLE/Buffer.cpp +++ b/gfx/angle/checkout/src/libANGLE/Buffer.cpp @@ -34,9 +34,8 @@ BufferState::BufferState() mBindingCount(0), mTransformFeedbackIndexedBindingCount(0), mTransformFeedbackGenericBindingCount(0), - mImmutable(GL_FALSE), - mStorageExtUsageFlags(0), - mExternal(GL_FALSE) + mImmutable(false), + mStorageExtUsageFlags(0) {} BufferState::~BufferState() {} @@ -71,15 +70,6 @@ const std::string &Buffer::getLabel() const return mState.mLabel; } -angle::Result Buffer::bufferStorageExternal(Context *context, - BufferBinding target, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags) -{ - return bufferExternalDataImpl(context, target, clientBuffer, size, flags); -} - angle::Result Buffer::bufferStorage(Context *context, BufferBinding target, GLsizeiptr size, @@ -132,7 +122,7 @@ angle::Result Buffer::bufferDataImpl(Context *context, dataForImpl = scratchBuffer->data(); } - if (mImpl->setDataWithUsageFlags(context, target, nullptr, dataForImpl, size, usage, flags) == + if (mImpl->setDataWithUsageFlags(context, target, dataForImpl, size, usage, flags) == angle::Result::Stop) { // If setData fails, the buffer contents are undefined. Set a zero size to indicate that. @@ -157,51 +147,6 @@ angle::Result Buffer::bufferDataImpl(Context *context, return angle::Result::Continue; } -angle::Result Buffer::bufferExternalDataImpl(Context *context, - BufferBinding target, - GLeglClientBufferEXT clientBuffer, - GLsizeiptr size, - GLbitfield flags) -{ - if (mState.isMapped()) - { - // Per the OpenGL ES 3.0 spec, buffers are implicity unmapped when a call to - // BufferData happens on a mapped buffer: - // - // If any portion of the buffer object is mapped in the current context or any context - // current to another thread, it is as though UnmapBuffer (see section 2.10.3) is - // executed in each such context prior to deleting the existing data store. - // - GLboolean dontCare = GL_FALSE; - ANGLE_TRY(unmap(context, &dontCare)); - } - - if (mImpl->setDataWithUsageFlags(context, target, clientBuffer, nullptr, size, - BufferUsage::InvalidEnum, flags) == angle::Result::Stop) - { - // If setData fails, the buffer contents are undefined. Set a zero size to indicate that. - mIndexRangeCache.clear(); - mState.mSize = 0; - - // Notify when storage changes. - onStateChange(angle::SubjectMessage::SubjectChanged); - - return angle::Result::Stop; - } - - mIndexRangeCache.clear(); - mState.mUsage = BufferUsage::InvalidEnum; - mState.mSize = size; - mState.mImmutable = GL_TRUE; - mState.mStorageExtUsageFlags = flags; - mState.mExternal = GL_TRUE; - - // Notify when storage changes. - onStateChange(angle::SubjectMessage::SubjectChanged); - - return angle::Result::Continue; -} - angle::Result Buffer::bufferSubData(const Context *context, BufferBinding target, const void *data, diff --git a/gfx/angle/checkout/src/libANGLE/Buffer.h b/gfx/angle/checkout/src/libANGLE/Buffer.h index 513eab82e42c..09282b4193ba 100644 --- a/gfx/angle/checkout/src/libANGLE/Buffer.h +++ b/gfx/angle/checkout/src/libANGLE/Buffer.h @@ -66,7 +66,6 @@ class BufferState final : angle::NonCopyable int mTransformFeedbackGenericBindingCount; GLboolean mImmutable; GLbitfield mStorageExtUsageFlags; - GLboolean mExternal; }; class Buffer final : public RefCountObject, @@ -82,11 +81,6 @@ class Buffer final : public RefCountObject, void setLabel(const Context *context, const std::string &label) override; const std::string &getLabel() const override; - angle::Result bufferStorageExternal(Context *context, - BufferBinding target, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags); angle::Result bufferStorage(Context *context, BufferBinding target, GLsizeiptr size, @@ -97,6 +91,12 @@ class Buffer final : public RefCountObject, const void *data, GLsizeiptr size, BufferUsage usage); + angle::Result bufferDataImpl(Context *context, + BufferBinding target, + const void *data, + GLsizeiptr size, + BufferUsage usage, + GLbitfield flags); angle::Result bufferSubData(const Context *context, BufferBinding target, const void *data, @@ -166,18 +166,6 @@ class Buffer final : public RefCountObject, void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; private: - angle::Result bufferDataImpl(Context *context, - BufferBinding target, - const void *data, - GLsizeiptr size, - BufferUsage usage, - GLbitfield flags); - angle::Result bufferExternalDataImpl(Context *context, - BufferBinding target, - GLeglClientBufferEXT clientBuffer, - GLsizeiptr size, - GLbitfield flags); - BufferState mState; rx::BufferImpl *mImpl; angle::ObserverBinding mImplObserver; diff --git a/gfx/angle/checkout/src/libANGLE/Caps.cpp b/gfx/angle/checkout/src/libANGLE/Caps.cpp index f3f86665a5e7..f90678378382 100644 --- a/gfx/angle/checkout/src/libANGLE/Caps.cpp +++ b/gfx/angle/checkout/src/libANGLE/Caps.cpp @@ -34,8 +34,6 @@ TextureCaps::TextureCaps() = default; TextureCaps::TextureCaps(const TextureCaps &other) = default; -TextureCaps &TextureCaps::operator=(const TextureCaps &other) = default; - TextureCaps::~TextureCaps() = default; GLuint TextureCaps::getMaxSamples() const @@ -111,12 +109,12 @@ const TextureCaps &TextureCapsMap::get(GLenum internalFormat) const const TextureCaps &TextureCapsMap::get(angle::FormatID formatID) const { - return mFormatData[formatID]; + return mFormatData[static_cast(formatID)]; } TextureCaps &TextureCapsMap::get(angle::FormatID formatID) { - return mFormatData[formatID]; + return mFormatData[static_cast(formatID)]; } void TextureCapsMap::set(angle::FormatID formatID, const TextureCaps &caps) @@ -401,18 +399,6 @@ static bool DetermineRGTextureSupport(const TextureCapsMap &textureCaps, return GetFormatSupport(textureCaps, requiredFormats, true, true, true, true, false); } -static bool DetermineTextureFormat2101010Support(const TextureCapsMap &textureCaps) -{ - // GL_EXT_texture_type_2_10_10_10_REV specifies both RGBA and RGB support whereas desktop GL - // only specifies RGBA support, so check both RGBA and RGB before marking as supported. - constexpr GLenum requiredFormats[] = { - GL_RGB10_A2, - GL_RGB10_UNORM_ANGLEX, - }; - - return GetFormatSupport(textureCaps, requiredFormats, true, true, false, false, false); -} - // Check for GL_EXT_texture_compression_dxt1 support static bool DetermineDXT1TextureSupport(const TextureCapsMap &textureCaps) { @@ -836,11 +822,10 @@ void Extensions::setTextureExtensionSupport(const TextureCapsMap &textureCaps) textureFloatOES = DetermineFloatTextureSupport(textureCaps); textureFloatLinearOES = DetermineFloatTextureFilteringSupport(textureCaps, textureFloatOES); textureRG = DetermineRGTextureSupport(textureCaps, textureHalfFloat, textureFloatOES); - colorBufferHalfFloat = textureHalfFloat && DetermineColorBufferHalfFloatSupport(textureCaps); - textureFormat2101010REV = DetermineTextureFormat2101010Support(textureCaps); - textureCompressionDXT1 = DetermineDXT1TextureSupport(textureCaps); - textureCompressionDXT3 = DetermineDXT3TextureSupport(textureCaps); - textureCompressionDXT5 = DetermineDXT5TextureSupport(textureCaps); + colorBufferHalfFloat = textureHalfFloat && DetermineColorBufferHalfFloatSupport(textureCaps); + textureCompressionDXT1 = DetermineDXT1TextureSupport(textureCaps); + textureCompressionDXT3 = DetermineDXT3TextureSupport(textureCaps); + textureCompressionDXT5 = DetermineDXT5TextureSupport(textureCaps); textureCompressionS3TCsRGB = DetermineS3TCsRGBTextureSupport(textureCaps); textureCompressionASTCLDRKHR = DetermineASTCLDRTextureSupport(textureCaps); textureCompressionASTCOES = DetermineASTCOESTExtureSupport(textureCaps); @@ -964,8 +949,7 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_EXT_robustness"] = esOnlyExtension(&Extensions::robustness); map["GL_KHR_robust_buffer_access_behavior"] = esOnlyExtension(&Extensions::robustBufferAccessBehavior); map["GL_EXT_blend_minmax"] = enableableExtension(&Extensions::blendMinMax); - map["GL_ANGLE_framebuffer_blit"] = enableableExtension(&Extensions::framebufferBlitANGLE); - map["GL_NV_framebuffer_blit"] = enableableExtension(&Extensions::framebufferBlitNV); + map["GL_ANGLE_framebuffer_blit"] = enableableExtension(&Extensions::framebufferBlit); map["GL_ANGLE_framebuffer_multisample"] = enableableExtension(&Extensions::framebufferMultisample); map["GL_EXT_multisampled_render_to_texture"] = enableableExtension(&Extensions::multisampledRenderToTexture); map["GL_EXT_multisampled_render_to_texture2"] = enableableExtension(&Extensions::multisampledRenderToTexture2); @@ -981,7 +965,6 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_ANGLE_translated_shader_source"] = esOnlyExtension(&Extensions::translatedShaderSource); map["GL_OES_fbo_render_mipmap"] = enableableExtension(&Extensions::fboRenderMipmapOES); map["GL_EXT_discard_framebuffer"] = esOnlyExtension(&Extensions::discardFramebuffer); - map["GL_EXT_debug_label"] = esOnlyExtension(&Extensions::debugLabel); map["GL_EXT_debug_marker"] = esOnlyExtension(&Extensions::debugMarker); map["GL_OES_EGL_image"] = enableableExtension(&Extensions::eglImageOES); map["GL_OES_EGL_image_external"] = enableableExtension(&Extensions::eglImageExternalOES); @@ -1005,7 +988,6 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_OES_vertex_type_10_10_10_2"] = enableableExtension(&Extensions::vertexAttribType1010102OES); map["GL_KHR_debug"] = esOnlyExtension(&Extensions::debug); map["GL_OES_texture_border_clamp"] = enableableExtension(&Extensions::textureBorderClampOES); - map["GL_EXT_texture_border_clamp"] = enableableExtension(&Extensions::textureBorderClampEXT); map["GL_KHR_no_error"] = esOnlyExtension(&Extensions::noError); map["GL_ANGLE_lossy_etc_decode"] = enableableExtension(&Extensions::lossyETCDecode); map["GL_CHROMIUM_bind_uniform_location"] = esOnlyExtension(&Extensions::bindUniformLocation); @@ -1018,7 +1000,7 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_CHROMIUM_bind_generates_resource"] = esOnlyExtension(&Extensions::bindGeneratesResource); map["GL_ANGLE_robust_client_memory"] = esOnlyExtension(&Extensions::robustClientMemory); map["GL_EXT_texture_sRGB_decode"] = esOnlyExtension(&Extensions::textureSRGBDecode); - map["GL_EXT_texture_format_sRGB_override"] = esOnlyExtension(&Extensions::textureSRGBOverride); + map["GL_EXT_texture_sRGB_override"] = esOnlyExtension(&Extensions::textureSRGBOverride); map["GL_EXT_sRGB_write_control"] = esOnlyExtension(&Extensions::sRGBWriteControl); map["GL_CHROMIUM_color_buffer_float_rgb"] = enableableExtension(&Extensions::colorBufferFloatRGB); map["GL_CHROMIUM_color_buffer_float_rgba"] = enableableExtension(&Extensions::colorBufferFloatRGBA); @@ -1034,10 +1016,8 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_ANGLE_explicit_context_gles1"] = enableableExtension(&Extensions::explicitContextGles1); map["GL_ANGLE_explicit_context"] = enableableExtension(&Extensions::explicitContext); map["GL_KHR_parallel_shader_compile"] = enableableExtension(&Extensions::parallelShaderCompile); - map["GL_EXT_separate_shader_objects"] = enableableExtension(&Extensions::separateShaderObjects); map["GL_OES_texture_storage_multisample_2d_array"] = enableableExtension(&Extensions::textureStorageMultisample2DArrayOES); map["GL_ANGLE_multiview_multisample"] = enableableExtension(&Extensions::multiviewMultisample); - map["GL_KHR_blend_equation_advanced"] = esOnlyExtension(&Extensions::blendEquationAdvancedKHR); map["GL_EXT_blend_func_extended"] = enableableExtension(&Extensions::blendFuncExtended); map["GL_EXT_float_blend"] = enableableExtension(&Extensions::floatBlend); map["GL_ANGLE_texture_multisample"] = enableableExtension(&Extensions::textureMultisample); @@ -1052,7 +1032,6 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_EXT_draw_elements_base_vertex"] = enableableExtension(&Extensions::drawElementsBaseVertexEXT); map["GL_EXT_gpu_shader5"] = enableableExtension(&Extensions::gpuShader5EXT); map["GL_APPLE_clip_distance"] = enableableExtension(&Extensions::clipDistanceAPPLE); - map["GL_EXT_clip_control"] = enableableExtension(&Extensions::clipControlEXT); map["GL_EXT_EGL_image_array"] = enableableExtension(&Extensions::eglImageArray); map["GL_EXT_buffer_storage"] = enableableExtension(&Extensions::bufferStorageEXT); map["GL_EXT_external_buffer"] = enableableExtension(&Extensions::externalBufferEXT); @@ -1060,32 +1039,22 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_OES_sample_shading"] = enableableExtension(&Extensions::sampleShadingOES); map["GL_OES_shader_multisample_interpolation"] = enableableExtension(&Extensions::multisampleInterpolationOES); map["GL_OES_shader_image_atomic"] = enableableExtension(&Extensions::shaderImageAtomicOES); - map["GL_OES_sample_variables"] = enableableExtension(&Extensions::sampleVariablesOES); - map["GL_EXT_shader_framebuffer_fetch_non_coherent"] = enableableExtension(&Extensions::shaderFramebufferFetchNonCoherentEXT); map["GL_NV_robustness_video_memory_purge"] = esOnlyExtension(&Extensions::robustnessVideoMemoryPurgeNV); map["GL_ANGLE_get_tex_level_parameter"] = enableableExtension(&Extensions::getTexLevelParameterANGLE); map["GL_EXT_copy_image"] = enableableExtension(&Extensions::copyImageEXT); map["GL_OES_texture_buffer"] = enableableExtension(&Extensions::textureBufferOES); map["GL_EXT_texture_buffer"] = enableableExtension(&Extensions::textureBufferEXT); - map["GL_EXT_YUV_target"] = enableableExtension(&Extensions::yuvTargetEXT); - map["GL_OES_shader_io_blocks"] = enableableExtension(&Extensions::shaderIoBlocksOES); - map["GL_EXT_shader_io_blocks"] = enableableExtension(&Extensions::shaderIoBlocksEXT); - map["GL_EXT_clip_cull_distance"] = enableableExtension(&Extensions::clipCullDistanceEXT); - map["GL_ANGLE_get_serialized_context_string"] = esOnlyExtension(&Extensions::getSerializedContextStringANGLE); - map["GL_EXT_primitive_bounding_box"] = esOnlyExtension(&Extensions::primitiveBoundingBoxEXT); // GLES1 extensions map["GL_OES_point_size_array"] = enableableExtension(&Extensions::pointSizeArrayOES); map["GL_OES_texture_cube_map"] = enableableExtension(&Extensions::textureCubeMapOES); map["GL_OES_point_sprite"] = enableableExtension(&Extensions::pointSpriteOES); map["GL_OES_draw_texture"] = enableableExtension(&Extensions::drawTextureOES); - map["GL_OES_framebuffer_object"] = enableableExtension(&Extensions::framebufferObjectOES); map["GL_ANGLE_memory_size"] = enableableExtension(&Extensions::memorySize); map["GL_EXT_shader_non_constant_global_initializers"] = enableableExtension(&Extensions::shaderNonConstGlobalInitializersEXT); map["GL_WEBGL_video_texture"] = enableableExtension(&Extensions::webglVideoTexture); map["GL_OES_texture_cube_map_array"] = enableableExtension(&Extensions::textureCubeMapArrayOES); map["GL_EXT_texture_cube_map_array"] = enableableExtension(&Extensions::textureCubeMapArrayEXT); map["GL_EXT_shadow_samplers"] = enableableExtension(&Extensions::shadowSamplersEXT); - map["GL_EXT_tessellation_shader"] = enableableExtension(&Extensions::tessellationShaderEXT); // clang-format on #if defined(ANGLE_ENABLE_ASSERTS) @@ -1142,7 +1111,6 @@ void TypePrecision::get(GLint *returnRange, GLint *returnPrecision) const Caps::Caps() = default; Caps::Caps(const Caps &other) = default; Caps::~Caps() = default; -Caps &Caps::operator=(const Caps &other) = default; Caps GenerateMinimumCaps(const Version &clientVersion, const Extensions &extensions) { @@ -1367,36 +1335,6 @@ Caps GenerateMinimumCaps(const Version &clientVersion, const Extensions &extensi caps.maxCombinedTextureImageUnits = 64; } - if (extensions.tessellationShaderEXT) - { - // Table 20.43 "Implementation Dependent Tessellation Shader Limits" - caps.maxTessControlInputComponents = 64; - caps.maxTessControlOutputComponents = 64; - caps.maxShaderTextureImageUnits[ShaderType::TessControl] = 16; - caps.maxShaderUniformComponents[ShaderType::TessControl] = 1024; - caps.maxTessControlTotalOutputComponents = 2048; - caps.maxShaderImageUniforms[ShaderType::TessControl] = 0; - caps.maxShaderAtomicCounters[ShaderType::TessControl] = 0; - caps.maxShaderAtomicCounterBuffers[ShaderType::TessControl] = 0; - - caps.maxTessPatchComponents = 120; - caps.maxPatchVertices = 32; - caps.maxTessGenLevel = 64; - - caps.maxTessEvaluationInputComponents = 64; - caps.maxTessEvaluationOutputComponents = 64; - caps.maxShaderTextureImageUnits[ShaderType::TessEvaluation] = 16; - caps.maxShaderUniformComponents[ShaderType::TessEvaluation] = 1024; - caps.maxShaderImageUniforms[ShaderType::TessEvaluation] = 0; - caps.maxShaderAtomicCounters[ShaderType::TessEvaluation] = 0; - caps.maxShaderAtomicCounterBuffers[ShaderType::TessEvaluation] = 0; - - // Table 20.46 "Implementation Dependent Aggregate Shader Limits" - caps.maxUniformBufferBindings = 72; - caps.maxCombinedUniformBlocks = 60; - caps.maxCombinedTextureImageUnits = 96; - } - for (ShaderType shaderType : AllShaderTypes()) { caps.maxCombinedShaderUniformComponents[shaderType] = @@ -1434,6 +1372,7 @@ std::vector DisplayExtensions::getStrings() const InsertExtensionString("EGL_ANGLE_windows_ui_composition", windowsUIComposition, &extensionStrings); InsertExtensionString("EGL_NV_post_sub_buffer", postSubBuffer, &extensionStrings); InsertExtensionString("EGL_KHR_create_context", createContext, &extensionStrings); + InsertExtensionString("EGL_EXT_device_query", deviceQuery, &extensionStrings); InsertExtensionString("EGL_KHR_image", image, &extensionStrings); InsertExtensionString("EGL_KHR_image_base", imageBase, &extensionStrings); InsertExtensionString("EGL_KHR_image_pixmap", imagePixmap, &extensionStrings); @@ -1469,7 +1408,6 @@ std::vector DisplayExtensions::getStrings() const InsertExtensionString("EGL_ANGLE_program_cache_control", programCacheControl, &extensionStrings); InsertExtensionString("EGL_ANGLE_robust_resource_initialization", robustResourceInitialization, &extensionStrings); InsertExtensionString("EGL_ANGLE_iosurface_client_buffer", iosurfaceClientBuffer, &extensionStrings); - InsertExtensionString("EGL_ANGLE_metal_texture_client_buffer", mtlTextureClientBuffer, &extensionStrings); InsertExtensionString("EGL_ANGLE_create_context_extensions_enabled", createContextExtensionsEnabled, &extensionStrings); InsertExtensionString("EGL_ANDROID_presentation_time", presentationTime, &extensionStrings); InsertExtensionString("EGL_ANDROID_blob_cache", blobCache, &extensionStrings); @@ -1489,10 +1427,8 @@ std::vector DisplayExtensions::getStrings() const InsertExtensionString("EGL_EXT_image_dma_buf_import", imageDmaBufImportEXT, &extensionStrings); InsertExtensionString("EGL_EXT_image_dma_buf_import_modifiers", imageDmaBufImportModifiersEXT, &extensionStrings); InsertExtensionString("EGL_NOK_texture_from_pixmap", textureFromPixmapNOK, &extensionStrings); - InsertExtensionString("EGL_NV_robustness_video_memory_purge", robustnessVideoMemoryPurgeNV, &extensionStrings); + InsertExtensionString("EGL_NV_robustness_video_memory_purge", robustnessVideoMemoryPurgeNV, &extensionStrings); InsertExtensionString("EGL_KHR_reusable_sync", reusableSyncKHR, &extensionStrings); - InsertExtensionString("EGL_ANGLE_external_context_and_surface", externalContextAndSurface, &extensionStrings); - InsertExtensionString("EGL_EXT_buffer_age", bufferAgeEXT, &extensionStrings); // clang-format on return extensionStrings; @@ -1509,7 +1445,6 @@ std::vector DeviceExtensions::getStrings() const InsertExtensionString("EGL_ANGLE_device_d3d", deviceD3D, &extensionStrings); InsertExtensionString("EGL_ANGLE_device_cgl", deviceCGL, &extensionStrings); InsertExtensionString("EGL_ANGLE_device_eagl", deviceEAGL, &extensionStrings); - InsertExtensionString("EGL_ANGLE_device_metal", deviceMetal, &extensionStrings); // clang-format on @@ -1526,7 +1461,6 @@ std::vector ClientExtensions::getStrings() const // clang-format off // | Extension name | Supported flag | Output vector | InsertExtensionString("EGL_EXT_client_extensions", clientExtensions, &extensionStrings); - InsertExtensionString("EGL_EXT_device_query", deviceQueryEXT, &extensionStrings); InsertExtensionString("EGL_EXT_platform_base", platformBase, &extensionStrings); InsertExtensionString("EGL_EXT_platform_device", platformDevice, &extensionStrings); InsertExtensionString("EGL_ANGLE_platform_angle", platformANGLE, &extensionStrings); diff --git a/gfx/angle/checkout/src/libANGLE/Caps.h b/gfx/angle/checkout/src/libANGLE/Caps.h index 988ad3c4b826..fe4c4c68d5e1 100644 --- a/gfx/angle/checkout/src/libANGLE/Caps.h +++ b/gfx/angle/checkout/src/libANGLE/Caps.h @@ -27,8 +27,6 @@ struct TextureCaps { TextureCaps(); TextureCaps(const TextureCaps &other); - TextureCaps &operator=(const TextureCaps &other); - ~TextureCaps(); // Supports for basic texturing: glTexImage, glTexSubImage, etc @@ -81,7 +79,7 @@ class TextureCapsMap final : angle::NonCopyable TextureCaps &get(angle::FormatID formatID); // Indexed by angle::FormatID - angle::FormatMap mFormatData; + std::array mFormatData; }; void InitMinimumTextureCapsMap(const Version &clientVersion, @@ -111,7 +109,6 @@ struct Extensions // GL_OES_texture_half_float, GL_OES_texture_half_float_linear // GL_OES_texture_float, GL_OES_texture_float_linear // GL_EXT_texture_rg - // GL_EXT_texture_type_2_10_10_10_REV // GL_EXT_texture_compression_dxt1, GL_ANGLE_texture_compression_dxt3, // GL_ANGLE_texture_compression_dxt5 // GL_KHR_texture_compression_astc_ldr, GL_OES_texture_compression_astc. @@ -181,6 +178,9 @@ struct Extensions bool textureHalfFloat = false; bool textureHalfFloatLinear = false; + // GL_EXT_texture_type_2_10_10_10_REV + bool textureFormat2101010REV = false; + // GL_OES_texture_float and GL_OES_texture_float_linear // Implies that TextureCaps for GL_RGB32F, GL_RGBA32F, GL_ALPHA16F_EXT, GL_LUMINANCE16F_EXT and // GL_LUMINANCE_ALPHA16F_EXT exist @@ -192,9 +192,6 @@ struct Extensions // floating point extensions are also present) exist bool textureRG = false; - // GL_EXT_texture_type_2_10_10_10_REV - bool textureFormat2101010REV = false; - // GL_EXT_texture_compression_dxt1, GL_ANGLE_texture_compression_dxt3 and // GL_ANGLE_texture_compression_dxt5 Implies that TextureCaps exist for // GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT @@ -348,11 +345,7 @@ struct Extensions bool blendMinMax = false; // GL_ANGLE_framebuffer_blit - bool framebufferBlitANGLE = false; - // GL_NV_framebuffer_blit - bool framebufferBlitNV = false; - // Any version of the framebuffer_blit extension - bool framebufferBlitAny() const { return (framebufferBlitANGLE || framebufferBlitNV); } + bool framebufferBlit = false; // GL_ANGLE_framebuffer_multisample bool framebufferMultisample = false; @@ -379,9 +372,6 @@ struct Extensions // GL_EXT_shader_texture_lod bool shaderTextureLOD = false; - // GL_EXT_shader_framebuffer_fetch_non_coherent - bool shaderFramebufferFetchNonCoherentEXT = false; - // GL_EXT_frag_depth bool fragDepth = false; @@ -407,9 +397,6 @@ struct Extensions // EXT_debug_marker bool debugMarker = false; - // EXT_debug_label - bool debugLabel = false; - // GL_OES_EGL_image bool eglImageOES = false; @@ -510,16 +497,10 @@ struct Extensions // GL_OES_texture_border_clamp bool textureBorderClampOES = false; - // GL_EXT_texture_border_clamp - bool textureBorderClampEXT = false; - - // Any version of the texture border clamp extension - bool textureBorderClampAny() const { return (textureBorderClampOES || textureBorderClampEXT); } - // GL_EXT_texture_sRGB_decode bool textureSRGBDecode = false; - // GL_EXT_texture_format_sRGB_override + // GL_EXT_texture_sRGB_override bool textureSRGBOverride = false; // GL_EXT_sRGB_write_control @@ -581,9 +562,6 @@ struct Extensions // GL_OES_draw_texture bool drawTextureOES = false; - // GL_OES_framebuffer_object - bool framebufferObjectOES = false; - // EGL_ANGLE_explicit_context GL subextensions // GL_ANGLE_explicit_context_gles1 bool explicitContextGles1 = false; @@ -593,18 +571,12 @@ struct Extensions // GL_KHR_parallel_shader_compile bool parallelShaderCompile = false; - // GL_EXT_separate_shader_objects - bool separateShaderObjects = false; - // GL_OES_texture_storage_multisample_2d_array bool textureStorageMultisample2DArrayOES = false; // GL_ANGLE_multiview_multisample bool multiviewMultisample = false; - // GL_KHR_blend_equation_advanced - bool blendEquationAdvancedKHR = false; - // GL_EXT_blend_func_extended bool blendFuncExtended = false; GLuint maxDualSourceDrawBuffers = 0; @@ -652,13 +624,6 @@ struct Extensions // GL_EXT_shader_non_constant_global_initializers bool shaderNonConstGlobalInitializersEXT = false; - // GL_OES_shader_io_blocks - bool shaderIoBlocksOES = false; - // GL_EXT_shader_io_blocks - bool shaderIoBlocksEXT = false; - // Any version of shader io block extension - bool shaderIoBlocksAny() const { return (shaderIoBlocksOES || shaderIoBlocksEXT); } - // GL_EXT_gpu_shader5 bool gpuShader5EXT = false; // WEBGL_video_texture @@ -667,9 +632,6 @@ struct Extensions // GL_APPLE_clip_distance bool clipDistanceAPPLE = false; - // GL_EXT_clip_control - bool clipControlEXT = false; - // GL_OES_texture_cube_map_array bool textureCubeMapArrayOES = false; // GL_EXT_texture_cube_map_array @@ -701,18 +663,12 @@ struct Extensions // GL_OES_shader_image_atomic bool shaderImageAtomicOES = false; - // GL_OES_sample_variables - bool sampleVariablesOES = false; - // GL_NV_robustness_video_memory_purge bool robustnessVideoMemoryPurgeNV = false; // GL_ANGLE_get_tex_level_parameter bool getTexLevelParameterANGLE = false; - // GL_EXT_tessellation_shader - bool tessellationShaderEXT = false; - // GL_EXT_copy_image bool copyImageEXT = false; @@ -722,18 +678,6 @@ struct Extensions bool textureBufferEXT = false; // Any version of the texture buffer extension bool textureBufferAny() const { return (textureBufferOES || textureBufferEXT); } - - // GL_EXT_YUV_target - bool yuvTargetEXT = false; - - // GL_EXT_clip_cull_distance - bool clipCullDistanceEXT = false; - - // GL_ANGLE_get_serialized_context_string - bool getSerializedContextStringANGLE = false; - - // GL_EXT_primitive_bounding_box - bool primitiveBoundingBoxEXT = false; }; // Pointer to a boolean memeber of the Extensions struct @@ -791,12 +735,6 @@ struct Limitations // Renderer doesn't support GL_TEXTURE_COMPARE_MODE=GL_NONE on a shadow sampler. // TODO(http://anglebug.com/5231): add validation code to front-end. bool noShadowSamplerCompareModeNone = false; - - // PVRTC1 textures must be squares. - bool squarePvrtc1 = false; - - // ETC1 texture support is emulated. - bool emulatedEtc1 = false; }; struct TypePrecision @@ -821,8 +759,6 @@ struct Caps { Caps(); Caps(const Caps &other); - Caps &operator=(const Caps &other); - ~Caps(); // If the values could be got by using GetIntegeri_v, they should @@ -967,24 +903,10 @@ struct Caps GLint maxGeometryTotalOutputComponents = 0; GLint maxGeometryShaderInvocations = 0; - // GL_EXT_tessellation_shader - GLint maxTessControlInputComponents = 0; - GLint maxTessControlOutputComponents = 0; - GLint maxTessControlTotalOutputComponents = 0; - - GLint maxTessPatchComponents = 0; - GLint maxPatchVertices = 0; - GLint maxTessGenLevel = 0; - - GLint maxTessEvaluationInputComponents = 0; - GLint maxTessEvaluationOutputComponents = 0; - GLuint subPixelBits = 4; // GL_APPLE_clip_distance/GL_EXT_clip_cull_distance - GLuint maxClipDistances = 0; - GLuint maxCullDistances = 0; - GLuint maxCombinedClipAndCullDistances = 0; + GLuint maxClipDistances = 0; // GLES1 emulation: Caps for ES 1.1. Taken from Table 6.20 / 6.22 in the OpenGL ES 1.1 spec. GLuint maxMultitextureUnits = 0; @@ -1058,6 +980,9 @@ struct DisplayExtensions // EGL_KHR_create_context bool createContext = false; + // EGL_EXT_device_query + bool deviceQuery = false; + // EGL_KHR_image bool image = false; @@ -1151,9 +1076,6 @@ struct DisplayExtensions // EGL_ANGLE_iosurface_client_buffer bool iosurfaceClientBuffer = false; - // EGL_ANGLE_metal_texture_client_buffer - bool mtlTextureClientBuffer = false; - // EGL_ANGLE_create_context_extensions_enabled bool createContextExtensionsEnabled = false; @@ -1240,12 +1162,6 @@ struct DisplayExtensions // EGL_KHR_reusable_sync bool reusableSyncKHR = false; - - // EGL_ANGLE_external_context_and_surface - bool externalContextAndSurface = false; - - // EGL_EXT_buffer_age - bool bufferAgeEXT = false; }; struct DeviceExtensions @@ -1263,9 +1179,6 @@ struct DeviceExtensions // EGL_ANGLE_device_eagl bool deviceEAGL = false; - - // EGL_ANGLE_device_metal - bool deviceMetal = false; }; struct ClientExtensions @@ -1344,9 +1257,6 @@ struct ClientExtensions // EGL_ANGLE_platform_angle_device_type_egl_angle bool platformANGLEDeviceTypeEGLANGLE = false; - - // EGL_EXT_device_query - bool deviceQueryEXT = false; }; } // namespace egl diff --git a/gfx/angle/checkout/src/libANGLE/Compiler.cpp b/gfx/angle/checkout/src/libANGLE/Compiler.cpp index 3e1beb1ae209..05dffe7a7bd2 100644 --- a/gfx/angle/checkout/src/libANGLE/Compiler.cpp +++ b/gfx/angle/checkout/src/libANGLE/Compiler.cpp @@ -37,17 +37,13 @@ ShShaderSpec SelectShaderSpec(GLint majorVersion, if (majorVersion >= 3) { - switch (minorVersion) + if (minorVersion == 1) { - case 2: - ASSERT(!isWebGL); - return SH_GLES3_2_SPEC; - case 1: - return isWebGL ? SH_WEBGL3_SPEC : SH_GLES3_1_SPEC; - case 0: - return isWebGL ? SH_WEBGL2_SPEC : SH_GLES3_SPEC; - default: - UNREACHABLE(); + return isWebGL ? SH_WEBGL3_SPEC : SH_GLES3_1_SPEC; + } + else + { + return isWebGL ? SH_WEBGL2_SPEC : SH_GLES3_SPEC; } } @@ -107,8 +103,6 @@ Compiler::Compiler(rx::GLImplFactory *implFactory, const State &state, egl::Disp mResources.NV_shader_noperspective_interpolation = extensions.noperspectiveInterpolationNV; mResources.ARB_texture_rectangle = extensions.textureRectangle; mResources.EXT_gpu_shader5 = extensions.gpuShader5EXT; - mResources.OES_shader_io_blocks = extensions.shaderIoBlocksOES; - mResources.EXT_shader_io_blocks = extensions.shaderIoBlocksEXT; mResources.OES_texture_storage_multisample_2d_array = extensions.textureStorageMultisample2DArrayOES; mResources.OES_texture_3D = extensions.texture3DOES; @@ -148,15 +142,6 @@ Compiler::Compiler(rx::GLImplFactory *implFactory, const State &state, egl::Disp mResources.OES_texture_buffer = extensions.textureBufferOES; mResources.EXT_texture_buffer = extensions.textureBufferEXT; - // GL_EXT_YUV_target - mResources.EXT_YUV_target = extensions.yuvTargetEXT; - - mResources.EXT_shader_framebuffer_fetch_non_coherent = - extensions.shaderFramebufferFetchNonCoherentEXT; - - // GL_EXT_clip_cull_distance - mResources.EXT_clip_cull_distance = extensions.clipCullDistanceEXT; - // GLSL ES 3.0 constants mResources.MaxVertexOutputVectors = caps.maxVertexOutputComponents / 4; mResources.MaxFragmentInputVectors = caps.maxFragmentInputComponents / 4; @@ -168,13 +153,7 @@ Compiler::Compiler(rx::GLImplFactory *implFactory, const State &state, egl::Disp mResources.MaxDualSourceDrawBuffers = extensions.maxDualSourceDrawBuffers; // APPLE_clip_distance/EXT_clip_cull_distance - mResources.MaxClipDistances = caps.maxClipDistances; - mResources.MaxCullDistances = caps.maxCullDistances; - mResources.MaxCombinedClipAndCullDistances = caps.maxCombinedClipAndCullDistances; - - // OES_sample_variables - mResources.OES_sample_variables = extensions.sampleVariablesOES; - mResources.MaxSamples = caps.maxSamples; + mResources.MaxClipDistances = caps.maxClipDistances; // GLSL ES 3.1 constants mResources.MaxProgramTextureGatherOffset = caps.maxProgramTextureGatherOffset; @@ -239,37 +218,6 @@ Compiler::Compiler(rx::GLImplFactory *implFactory, const State &state, egl::Disp mResources.MaxGeometryShaderInvocations = caps.maxGeometryShaderInvocations; mResources.MaxGeometryImageUniforms = caps.maxShaderImageUniforms[ShaderType::Geometry]; - // Tessellation Shader constants - mResources.EXT_tessellation_shader = extensions.tessellationShaderEXT; - mResources.MaxTessControlInputComponents = caps.maxTessControlInputComponents; - mResources.MaxTessControlOutputComponents = caps.maxTessControlOutputComponents; - mResources.MaxTessControlTextureImageUnits = - caps.maxShaderTextureImageUnits[ShaderType::TessControl]; - mResources.MaxTessControlUniformComponents = - caps.maxShaderUniformComponents[ShaderType::TessControl]; - mResources.MaxTessControlTotalOutputComponents = caps.maxTessControlTotalOutputComponents; - mResources.MaxTessControlImageUniforms = caps.maxShaderImageUniforms[ShaderType::TessControl]; - mResources.MaxTessControlAtomicCounters = caps.maxShaderAtomicCounters[ShaderType::TessControl]; - mResources.MaxTessControlAtomicCounterBuffers = - caps.maxShaderAtomicCounterBuffers[ShaderType::TessControl]; - - mResources.MaxTessPatchComponents = caps.maxTessPatchComponents; - mResources.MaxPatchVertices = caps.maxPatchVertices; - mResources.MaxTessGenLevel = caps.maxTessGenLevel; - - mResources.MaxTessEvaluationInputComponents = caps.maxTessEvaluationInputComponents; - mResources.MaxTessEvaluationOutputComponents = caps.maxTessEvaluationOutputComponents; - mResources.MaxTessEvaluationTextureImageUnits = - caps.maxShaderTextureImageUnits[ShaderType::TessEvaluation]; - mResources.MaxTessEvaluationUniformComponents = - caps.maxShaderUniformComponents[ShaderType::TessEvaluation]; - mResources.MaxTessEvaluationImageUniforms = - caps.maxShaderImageUniforms[ShaderType::TessEvaluation]; - mResources.MaxTessEvaluationAtomicCounters = - caps.maxShaderAtomicCounters[ShaderType::TessEvaluation]; - mResources.MaxTessEvaluationAtomicCounterBuffers = - caps.maxShaderAtomicCounterBuffers[ShaderType::TessEvaluation]; - // Subpixel bits. mResources.SubPixelBits = static_cast(caps.subPixelBits); } diff --git a/gfx/angle/checkout/src/libANGLE/Constants.h b/gfx/angle/checkout/src/libANGLE/Constants.h index db53548b8ada..6298889982be 100644 --- a/gfx/angle/checkout/src/libANGLE/Constants.h +++ b/gfx/angle/checkout/src/libANGLE/Constants.h @@ -37,13 +37,12 @@ enum IMPLEMENTATION_MAX_GEOMETRY_SHADER_UNIFORM_BUFFERS = 16, IMPLEMENTATION_MAX_FRAGMENT_SHADER_UNIFORM_BUFFERS = 16, IMPLEMENTATION_MAX_COMPUTE_SHADER_UNIFORM_BUFFERS = 16, - // GL_EXT_geometry_shader increases the minimum value of GL_MAX_COMBINED_UNIFORM_BLOCKS to 36. - // GL_EXT_tessellation_shader increases the minimum value to 60. - IMPLEMENTATION_MAX_COMBINED_SHADER_UNIFORM_BUFFERS = 60, + IMPLEMENTATION_MAX_COMBINED_SHADER_UNIFORM_BUFFERS = 36, // GL_EXT_geometry_shader increases the minimum value of GL_MAX_UNIFORM_BUFFER_BINDINGS to 48. - // GL_EXT_tessellation_shader increases the minimum value to 72. + // Vulkan's minimum value for maxDescriptorSetUniformBuffers is 72 so allow exposing up to that + // many. IMPLEMENTATION_MAX_UNIFORM_BUFFER_BINDINGS = 72, // Transform feedback limits set to the minimum required by the spec. @@ -66,26 +65,19 @@ enum // 1+log2 of max of MAX_*_TEXTURE_SIZE IMPLEMENTATION_MAX_TEXTURE_LEVELS = 16, + // Limit active textures so we can use fast bitsets. IMPLEMENTATION_MAX_SHADER_TEXTURES = 32, - - // In ES 3.1 and below, the limit for active textures is 64. - IMPLEMENTATION_MAX_ES31_ACTIVE_TEXTURES = 64, - - // In ES 3.2 we need to support a minimum of 96 maximum textures. - IMPLEMENTATION_MAX_ACTIVE_TEXTURES = 96, + IMPLEMENTATION_MAX_ACTIVE_TEXTURES = IMPLEMENTATION_MAX_SHADER_TEXTURES * 2, IMPLEMENTATION_MAX_IMAGE_UNITS = IMPLEMENTATION_MAX_ACTIVE_TEXTURES, // Maximum number of slots allocated for atomic counter buffers. - IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS = 8, + IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS = 8, // Implementation upper limits, real maximums depend on the hardware. IMPLEMENTATION_MAX_SHADER_STORAGE_BUFFER_BINDINGS = 64, // Implementation upper limits of max number of clip distances IMPLEMENTATION_MAX_CLIP_DISTANCES = 32, - - // Implementation upper limit for layered framebuffer layer count - IMPLEMENTATION_MAX_FRAMEBUFFER_LAYERS = 256, }; namespace limits diff --git a/gfx/angle/checkout/src/libANGLE/Context.cpp b/gfx/angle/checkout/src/libANGLE/Context.cpp index 4a3deaac93ab..5b87d4fdff45 100644 --- a/gfx/angle/checkout/src/libANGLE/Context.cpp +++ b/gfx/angle/checkout/src/libANGLE/Context.cpp @@ -19,12 +19,12 @@ #include "common/angle_version.h" #include "common/matrix_utils.h" #include "common/platform.h" -#include "common/system_utils.h" #include "common/utilities.h" #include "libANGLE/Buffer.h" #include "libANGLE/Compiler.h" #include "libANGLE/Display.h" #include "libANGLE/Fence.h" +#include "libANGLE/FrameCapture.h" #include "libANGLE/Framebuffer.h" #include "libANGLE/FramebufferAttachment.h" #include "libANGLE/MemoryObject.h" @@ -39,8 +39,6 @@ #include "libANGLE/Texture.h" #include "libANGLE/TransformFeedback.h" #include "libANGLE/VertexArray.h" -#include "libANGLE/capture/FrameCapture.h" -#include "libANGLE/capture/frame_capture_utils.h" #include "libANGLE/formatutils.h" #include "libANGLE/queryconversions.h" #include "libANGLE/queryutils.h" @@ -52,7 +50,6 @@ namespace gl { namespace { - egl::ShareGroup *AllocateOrGetShareGroup(egl::Display *display, const gl::Context *shareContext) { if (shareContext) @@ -70,25 +67,7 @@ egl::ShareGroup *AllocateOrGetShareGroup(egl::Display *display, const gl::Contex template angle::Result GetQueryObjectParameter(const Context *context, Query *query, GLenum pname, T *params) { - if (!query) - { - // Some applications call into glGetQueryObjectuiv(...) prior to calling glBeginQuery(...) - // This wouldn't be an issue since the validation layer will handle such a usecases but when - // the app enables EGL_KHR_create_context_no_error extension, we skip the validation layer. - switch (pname) - { - case GL_QUERY_RESULT_EXT: - *params = 0; - break; - case GL_QUERY_RESULT_AVAILABLE_EXT: - *params = GL_FALSE; - break; - default: - UNREACHABLE(); - return angle::Result::Stop; - } - return angle::Result::Continue; - } + ASSERT(query != nullptr || pname == GL_QUERY_RESULT_AVAILABLE_EXT); switch (pname) { @@ -252,6 +231,18 @@ void GetObjectLabelBase(const std::string &objectLabel, } } +// The rest default to false. +constexpr angle::PackedEnumMap() + 1> + kValidBasicDrawModes = {{ + {PrimitiveMode::Points, true}, + {PrimitiveMode::Lines, true}, + {PrimitiveMode::LineLoop, true}, + {PrimitiveMode::LineStrip, true}, + {PrimitiveMode::Triangles, true}, + {PrimitiveMode::TriangleStrip, true}, + {PrimitiveMode::TriangleFan, true}, + }}; + enum SubjectIndexes : angle::SubjectIndex { kTexture0SubjectIndex = 0, @@ -290,17 +281,6 @@ bool IsColorMaskedOut(const BlendStateExt &blendStateExt, const GLint drawbuffer ASSERT(static_cast(drawbuffer) < blendStateExt.mMaxDrawBuffers); return blendStateExt.getColorMaskIndexed(static_cast(drawbuffer)) == 0; } - -bool GetIsExternal(const egl::AttributeMap &attribs) -{ - return (attribs.get(EGL_EXTERNAL_CONTEXT_ANGLE, EGL_FALSE) == EGL_TRUE); -} - -bool GetSaveAndRestoreState(const egl::AttributeMap &attribs) -{ - return (attribs.get(EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE, EGL_FALSE) == EGL_TRUE); -} - } // anonymous namespace thread_local Context *gCurrentValidContext = nullptr; @@ -359,10 +339,7 @@ Context::Context(egl::Display *display, mThreadPool(nullptr), mFrameCapture(new angle::FrameCapture), mRefCount(0), - mOverlay(mImplementation.get()), - mIsExternal(GetIsExternal(attribs)), - mSaveAndRestoreState(GetSaveAndRestoreState(attribs)), - mIsCurrent(false) + mOverlay(mImplementation.get()) { for (angle::SubjectIndex uboIndex = kUniformBuffer0SubjectIndex; uboIndex < kUniformBufferMaxSubjectIndex; ++uboIndex) @@ -386,14 +363,7 @@ Context::Context(egl::Display *display, ASSERT(mDisplay); } -egl::Error Context::initialize() -{ - if (!mImplementation) - return egl::Error(EGL_NOT_INITIALIZED, "native context creation failed"); - return egl::NoError(); -} - -void Context::initializeDefaultResources() +void Context::initialize() { mImplementation->setMemoryProgramCache(mMemoryProgramCache); @@ -567,7 +537,7 @@ void Context::initializeDefaultResources() mBlitDirtyBits.set(State::DIRTY_BIT_SCISSOR_TEST_ENABLED); mBlitDirtyBits.set(State::DIRTY_BIT_SCISSOR); - mBlitDirtyBits.set(State::DIRTY_BIT_FRAMEBUFFER_SRGB_WRITE_CONTROL_MODE); + mBlitDirtyBits.set(State::DIRTY_BIT_FRAMEBUFFER_SRGB); mBlitDirtyBits.set(State::DIRTY_BIT_READ_FRAMEBUFFER_BINDING); mBlitDirtyBits.set(State::DIRTY_BIT_DRAW_FRAMEBUFFER_BINDING); mBlitDirtyObjects.set(State::DIRTY_OBJECT_READ_FRAMEBUFFER); @@ -605,10 +575,7 @@ egl::Error Context::onDestroy(const egl::Display *display) mGLES1Renderer->onDestroy(this, &mState); } - if (mIsCurrent) - { - ANGLE_TRY(unMakeCurrent(display)); - } + ANGLE_TRY(unMakeCurrent(display)); for (auto fence : mFenceNVMap) { @@ -705,9 +672,7 @@ egl::Error Context::makeCurrent(egl::Display *display, if (!mHasBeenCurrent) { - ASSERT(!mIsCurrent); - - initializeDefaultResources(); + initialize(); initRendererString(); initVersionStrings(); initExtensionStrings(); @@ -726,11 +691,6 @@ egl::Error Context::makeCurrent(egl::Display *display, mHasBeenCurrent = true; } - if (mIsCurrent) - { - ANGLE_TRY(unsetDefaultFramebuffer()); - } - mFrameCapture->onMakeCurrent(this, drawSurface); // TODO(jmadill): Rework this when we support ContextImpl @@ -749,15 +709,11 @@ egl::Error Context::makeCurrent(egl::Display *display, return angle::ResultToEGL(implResult); } - mIsCurrent = true; - return egl::NoError(); } egl::Error Context::unMakeCurrent(const egl::Display *display) { - ASSERT(mIsCurrent); - ANGLE_TRY(angle::ResultToEGL(mImplementation->onUnMakeCurrent(this))); ANGLE_TRY(unsetDefaultFramebuffer()); @@ -773,8 +729,6 @@ egl::Error Context::unMakeCurrent(const egl::Display *display) mDisplay->returnZeroFilledBuffer(mZeroFilledBuffer.release()); } - mIsCurrent = false; - return egl::NoError(); } @@ -828,14 +782,14 @@ ProgramPipelineID Context::createProgramPipeline() GLuint Context::createShaderProgramv(ShaderType type, GLsizei count, const GLchar *const *strings) { - const ShaderProgramID shaderID = PackParam(createShader(type)); + const ShaderProgramID shaderID = FromGL(createShader(type)); if (shaderID.value) { Shader *shaderObject = getShader(shaderID); ASSERT(shaderObject); shaderObject->setSource(count, strings, nullptr); shaderObject->compile(this); - const ShaderProgramID programID = PackParam(createProgram()); + const ShaderProgramID programID = FromGL(createProgram()); if (programID.value) { gl::Program *programObject = getProgramNoResolveLink(programID); @@ -848,7 +802,7 @@ GLuint Context::createShaderProgramv(ShaderType type, GLsizei count, const GLcha // We must wait to mark the program separable until it's successfully compiled. programObject->setSeparable(true); - programObject->attachShader(shaderObject); + programObject->attachShader(this, shaderObject); if (programObject->link(this) != angle::Result::Continue) { @@ -863,14 +817,11 @@ GLuint Context::createShaderProgramv(ShaderType type, GLsizei count, const GLcha return 0u; } - // If frame capture is enabled, don't detach the shader since we need the following - // to recreate the Shader and Program during MEC setup: - // 1.) Shader ID - // 2.) Shader source - if (!getFrameCapture()->enabled()) - { - programObject->detachShader(this, shaderObject); - } + // Need to manually resolveLink(), since onProgramLink() doesn't think the program + // is in use. For the normal glDetachShader() API call path, this is done during + // ValidateDetachShader() via gl::GetValidProgram(). + programObject->resolveLink(this); + programObject->detachShader(this, shaderObject); } InfoLog &programInfoLog = programObject->getExecutable().getInfoLog(); @@ -1048,19 +999,14 @@ gl::LabeledObject *Context::getLabeledObject(GLenum identifier, GLuint name) con switch (identifier) { case GL_BUFFER: - case GL_BUFFER_OBJECT_EXT: return getBuffer({name}); case GL_SHADER: - case GL_SHADER_OBJECT_EXT: return getShader({name}); case GL_PROGRAM: - case GL_PROGRAM_OBJECT_EXT: return getProgramNoResolveLink({name}); case GL_VERTEX_ARRAY: - case GL_VERTEX_ARRAY_OBJECT_EXT: return getVertexArray({name}); case GL_QUERY: - case GL_QUERY_OBJECT_EXT: return getQuery({name}); case GL_TRANSFORM_FEEDBACK: return getTransformFeedback({name}); @@ -1073,7 +1019,6 @@ gl::LabeledObject *Context::getLabeledObject(GLenum identifier, GLuint name) con case GL_FRAMEBUFFER: return getFramebuffer({name}); case GL_PROGRAM_PIPELINE: - case GL_PROGRAM_PIPELINE_OBJECT_EXT: return getProgramPipeline({name}); default: UNREACHABLE(); @@ -1099,21 +1044,6 @@ void Context::objectLabel(GLenum identifier, GLuint name, GLsizei length, const mState.setObjectDirty(identifier); } -void Context::labelObject(GLenum type, GLuint object, GLsizei length, const GLchar *label) -{ - gl::LabeledObject *obj = getLabeledObject(type, object); - ASSERT(obj != nullptr); - - std::string labelName = ""; - if (label != nullptr) - { - size_t labelLength = length == 0 ? strlen(label) : length; - labelName = std::string(label, labelLength); - } - obj->setLabel(this, labelName); - mState.setObjectDirty(type); -} - void Context::objectPtrLabel(const void *ptr, GLsizei length, const GLchar *label) { gl::LabeledObject *object = getLabeledObjectFromPtr(ptr); @@ -1878,81 +1808,6 @@ void Context::getIntegervImpl(GLenum pname, GLint *params) const case GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT: *params = mState.mCaps.maxShaderStorageBlocks[ShaderType::Geometry]; break; - // GL_EXT_tessellation_shader - case GL_MAX_PATCH_VERTICES_EXT: - *params = mState.mCaps.maxPatchVertices; - break; - case GL_MAX_TESS_GEN_LEVEL_EXT: - *params = mState.mCaps.maxTessGenLevel; - break; - case GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT: - *params = mState.mCaps.maxShaderUniformComponents[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT: - *params = mState.mCaps.maxShaderUniformComponents[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT: - *params = mState.mCaps.maxShaderTextureImageUnits[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT: - *params = mState.mCaps.maxShaderTextureImageUnits[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT: - *params = mState.mCaps.maxTessControlOutputComponents; - break; - case GL_MAX_TESS_PATCH_COMPONENTS_EXT: - *params = mState.mCaps.maxTessPatchComponents; - break; - case GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT: - *params = mState.mCaps.maxTessControlTotalOutputComponents; - break; - case GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT: - *params = mState.mCaps.maxTessEvaluationOutputComponents; - break; - case GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT: - *params = mState.mCaps.maxShaderUniformBlocks[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT: - *params = mState.mCaps.maxShaderUniformBlocks[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT: - *params = mState.mCaps.maxTessControlInputComponents; - break; - case GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT: - *params = mState.mCaps.maxTessEvaluationInputComponents; - break; - case GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT: - *params = static_cast( - mState.mCaps.maxCombinedShaderUniformComponents[ShaderType::TessControl]); - break; - case GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT: - *params = static_cast( - mState.mCaps.maxCombinedShaderUniformComponents[ShaderType::TessEvaluation]); - break; - case GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT: - *params = mState.mCaps.maxShaderAtomicCounterBuffers[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT: - *params = mState.mCaps.maxShaderAtomicCounterBuffers[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT: - *params = mState.mCaps.maxShaderAtomicCounters[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT: - *params = mState.mCaps.maxShaderAtomicCounters[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT: - *params = mState.mCaps.maxShaderImageUniforms[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT: - *params = mState.mCaps.maxShaderImageUniforms[ShaderType::TessEvaluation]; - break; - case GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT: - *params = mState.mCaps.maxShaderStorageBlocks[ShaderType::TessControl]; - break; - case GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT: - *params = mState.mCaps.maxShaderStorageBlocks[ShaderType::TessEvaluation]; - break; // GLES1 emulation: Caps queries case GL_MAX_TEXTURE_UNITS: *params = mState.mCaps.maxMultitextureUnits; @@ -1982,12 +1837,6 @@ void Context::getIntegervImpl(GLenum pname, GLint *params) const *params = mState.mCaps.maxClipPlanes; } break; - case GL_MAX_CULL_DISTANCES_EXT: - *params = mState.mCaps.maxCullDistances; - break; - case GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT: - *params = mState.mCaps.maxCombinedClipAndCullDistances; - break; // GLES1 emulation: Vertex attribute queries case GL_VERTEX_ARRAY_BUFFER_BINDING: case GL_NORMAL_ARRAY_BUFFER_BINDING: @@ -2039,14 +1888,6 @@ void Context::getIntegervImpl(GLenum pname, GLint *params) const *params = mState.mCaps.textureBufferOffsetAlignment; break; - // GL_EXT_clip_control - case GL_CLIP_ORIGIN_EXT: - *params = mState.mClipControlOrigin; - break; - case GL_CLIP_DEPTH_MODE_EXT: - *params = mState.mClipControlDepth; - break; - default: ANGLE_CONTEXT_TRY(mState.getIntegerv(this, pname, params)); break; @@ -2258,11 +2099,8 @@ void Context::getRenderbufferParameterivRobust(GLenum target, void Context::texBuffer(TextureType target, GLenum internalformat, BufferID buffer) { - ASSERT(target == TextureType::Buffer); - - Texture *texture = getTextureByType(target); Buffer *bufferObj = mState.mBufferManager->getBuffer(buffer); - ANGLE_CONTEXT_TRY(texture->setBuffer(this, bufferObj, internalformat)); + texBufferRange(target, internalformat, buffer, 0, clampCast(bufferObj->getSize())); } void Context::texBufferRange(TextureType target, @@ -2275,7 +2113,7 @@ void Context::texBufferRange(TextureType target, Texture *texture = getTextureByType(target); Buffer *bufferObj = mState.mBufferManager->getBuffer(buffer); - ANGLE_CONTEXT_TRY(texture->setBufferRange(this, bufferObj, internalformat, offset, size)); + ANGLE_CONTEXT_TRY(texture->setBuffer(this, bufferObj, internalformat, offset, size)); } void Context::getTexParameterfv(TextureType target, GLenum pname, GLfloat *params) @@ -2657,7 +2495,7 @@ void Context::getProgramResourceiv(ShaderProgramID program, GLint *params) { const Program *programObject = getProgramResolveLink(program); - QueryProgramResourceiv(programObject, programInterface, {index}, propCount, props, bufSize, + QueryProgramResourceiv(programObject, programInterface, index, propCount, props, bufSize, length, params); } @@ -2773,7 +2611,7 @@ GLenum Context::getGraphicsResetStatus() return ToGLenum(mResetStatus); } -bool Context::isResetNotificationEnabled() const +bool Context::isResetNotificationEnabled() { return (mResetStrategy == GL_LOSE_CONTEXT_ON_RESET_EXT); } @@ -3098,27 +2936,12 @@ void Context::programParameteri(ShaderProgramID program, GLenum pname, GLint val void Context::initRendererString() { - std::ostringstream frontendRendererString; - std::string vendorString(mDisplay->getBackendVendorString()); - std::string rendererString(mDisplay->getBackendRendererDescription()); - std::string versionString(mDisplay->getBackendVersionString()); - // Commas are used as a separator in ANGLE's renderer string, so remove commas from each - // element. - vendorString.erase(std::remove(vendorString.begin(), vendorString.end(), ','), - vendorString.end()); - rendererString.erase(std::remove(rendererString.begin(), rendererString.end(), ','), - rendererString.end()); - versionString.erase(std::remove(versionString.begin(), versionString.end(), ','), - versionString.end()); - frontendRendererString << "ANGLE ("; - frontendRendererString << vendorString; - frontendRendererString << ", "; - frontendRendererString << rendererString; - frontendRendererString << ", "; - frontendRendererString << versionString; - frontendRendererString << ")"; + std::ostringstream rendererString; + rendererString << "ANGLE ("; + rendererString << mImplementation->getRendererDescription(); + rendererString << ")"; - mRendererString = MakeStaticString(frontendRendererString.str()); + mRendererString = MakeStaticString(rendererString.str()); } void Context::initVersionStrings() @@ -3194,7 +3017,7 @@ const GLubyte *Context::getString(GLenum name) const switch (name) { case GL_VENDOR: - return reinterpret_cast(mDisplay->getVendorString().c_str()); + return reinterpret_cast("Google Inc."); case GL_RENDERER: return reinterpret_cast(mRendererString); @@ -3211,17 +3034,6 @@ const GLubyte *Context::getString(GLenum name) const case GL_REQUESTABLE_EXTENSIONS_ANGLE: return reinterpret_cast(mRequestableExtensionString); - case GL_SERIALIZED_CONTEXT_STRING_ANGLE: - if (angle::SerializeContextToString(this, &mCachedSerializedStateString) == - angle::Result::Continue) - { - return reinterpret_cast(mCachedSerializedStateString.c_str()); - } - else - { - return nullptr; - } - default: UNREACHABLE(); return nullptr; @@ -3364,10 +3176,8 @@ Extensions Context::generateSupportedExtensions() const supportedExtensions.textureCubeMapOES = true; supportedExtensions.pointSpriteOES = true; supportedExtensions.drawTextureOES = true; - supportedExtensions.framebufferObjectOES = true; supportedExtensions.parallelShaderCompile = false; supportedExtensions.texture3DOES = false; - supportedExtensions.clipDistanceAPPLE = false; } if (getClientVersion() < ES_3_0) @@ -3408,19 +3218,12 @@ Extensions Context::generateSupportedExtensions() const // between GLES 2.0 and 3.0, vertex type 10_10_10_2 is disabled // when the context version is lower than 3.0 supportedExtensions.vertexAttribType1010102OES = false; - - // GL_EXT_YUV_target requires ESSL3 - supportedExtensions.yuvTargetEXT = false; - - // GL_EXT_clip_cull_distance requires ESSL3 - supportedExtensions.clipCullDistanceEXT = false; } if (getClientVersion() < ES_3_1) { // Disable ES3.1+ extensions - supportedExtensions.geometryShader = false; - supportedExtensions.tessellationShaderEXT = false; + supportedExtensions.geometryShader = false; // TODO(http://anglebug.com/2775): Multisample arrays could be supported on ES 3.0 as well // once 2D multisample texture extension is exposed there. @@ -3479,9 +3282,6 @@ Extensions Context::generateSupportedExtensions() const supportedExtensions.maxDebugGroupStackDepth = 1024; supportedExtensions.maxLabelLength = 1024; - // Explicitly enable GL_EXT_debug_label - supportedExtensions.debugLabel = true; - // Explicitly enable GL_ANGLE_robust_client_memory if the context supports validation. supportedExtensions.robustClientMemory = !mSkipValidation; @@ -3542,9 +3342,6 @@ Extensions Context::generateSupportedExtensions() const // GL_ANGLE_get_tex_level_parameter is implemented in the frontend supportedExtensions.getTexLevelParameterANGLE = true; - // Always enabled. Will return a default string if capture is not enabled. - supportedExtensions.getSerializedContextStringANGLE = true; - return supportedExtensions; } @@ -3673,17 +3470,8 @@ void Context::initCaps() ANGLE_LIMIT_CAP(mState.mCaps.maxTransformFeedbackSeparateComponents, IMPLEMENTATION_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS); - if (getClientVersion() < ES_3_2 && !mState.mExtensions.tessellationShaderEXT) - { - ANGLE_LIMIT_CAP(mState.mCaps.maxCombinedTextureImageUnits, - IMPLEMENTATION_MAX_ES31_ACTIVE_TEXTURES); - } - else - { - ANGLE_LIMIT_CAP(mState.mCaps.maxCombinedTextureImageUnits, - IMPLEMENTATION_MAX_ACTIVE_TEXTURES); - } - + // Limit textures as well, so we can use fast bitsets with texture bindings. + ANGLE_LIMIT_CAP(mState.mCaps.maxCombinedTextureImageUnits, IMPLEMENTATION_MAX_ACTIVE_TEXTURES); for (ShaderType shaderType : AllShaderTypes()) { ANGLE_LIMIT_CAP(mState.mCaps.maxShaderTextureImageUnits[shaderType], @@ -3701,12 +3489,10 @@ void Context::initCaps() for (ShaderType shaderType : AllShaderTypes()) { ANGLE_LIMIT_CAP(mState.mCaps.maxShaderAtomicCounterBuffers[shaderType], - IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS); + IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS); } - ANGLE_LIMIT_CAP(mState.mCaps.maxAtomicCounterBufferBindings, - IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS); ANGLE_LIMIT_CAP(mState.mCaps.maxCombinedAtomicCounterBuffers, - IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS); + IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS); for (ShaderType shaderType : AllShaderTypes()) { @@ -3718,12 +3504,11 @@ void Context::initCaps() ANGLE_LIMIT_CAP(mState.mCaps.maxCombinedShaderStorageBlocks, IMPLEMENTATION_MAX_SHADER_STORAGE_BUFFER_BINDINGS); - ANGLE_LIMIT_CAP(mState.mCaps.maxClipDistances, IMPLEMENTATION_MAX_CLIP_DISTANCES); - - ANGLE_LIMIT_CAP(mState.mCaps.maxFramebufferLayers, IMPLEMENTATION_MAX_FRAMEBUFFER_LAYERS); - ANGLE_LIMIT_CAP(mState.mCaps.maxSampleMaskWords, MAX_SAMPLE_MASK_WORDS); +#undef ANGLE_LIMIT_CAP +#undef ANGLE_LOG_CAP_LIMIT + // WebGL compatibility mState.mExtensions.webglCompatibility = mWebGLContext; for (const auto &extensionInfo : GetExtensionInfoMap()) @@ -3736,54 +3521,19 @@ void Context::initCaps() } } - // Hide emulated ETC1 extension from WebGL contexts. - if (mWebGLContext && getLimitations().emulatedEtc1) - { - mSupportedExtensions.compressedETC1RGB8TextureOES = false; - } - // If we're capturing application calls for replay, don't expose any binary formats to prevent // traces from trying to use cached results - if (getFrameCapture()->enabled() || getFrontendFeatures().captureLimits.enabled) + if (getFrameCapture()->enabled()) { - INFO() << "Limit some features because " - << (getFrameCapture()->enabled() ? "FrameCapture is enabled" - : "FrameCapture limits were forced") + INFO() << "Limiting binary format support count to zero while FrameCapture enabled" << std::endl; - - INFO() << "Limiting binary format support count to zero"; mDisplay->overrideFrontendFeatures({"disable_program_binary"}, true); - // Set to the most common limit per gpuinfo.org. Required for several platforms we test. - constexpr GLint maxImageUnits = 8; - INFO() << "Limiting image unit count to " << maxImageUnits; - ANGLE_LIMIT_CAP(mState.mCaps.maxImageUnits, maxImageUnits); - - // Set a large uniform buffer offset alignment that works on multiple platforms. - // The offset used by the trace needs to be divisible by the device's actual value. - // Values seen during development: ARM (16), Intel (32), Qualcomm (128), Nvidia (256) - constexpr GLint uniformBufferOffsetAlignment = 256; - ASSERT(uniformBufferOffsetAlignment % mState.mCaps.uniformBufferOffsetAlignment == 0); - INFO() << "Setting uniform buffer offset alignment to " << uniformBufferOffsetAlignment; - mState.mCaps.uniformBufferOffsetAlignment = uniformBufferOffsetAlignment; - INFO() << "Disabling GL_EXT_map_buffer_range and GL_OES_mapbuffer during capture, which " - "are not supported on some native drivers"; + "are not supported on some native drivers" + << std::endl; mState.mExtensions.mapBufferRange = false; mState.mExtensions.mapBufferOES = false; - - INFO() << "Disabling GL_CHROMIUM_bind_uniform_location during capture, which is not " - "supported on native drivers"; - mState.mExtensions.bindUniformLocation = false; - - INFO() << "Disabling GL_NV_shader_noperspective_interpolation during capture, which is not " - "supported on some native drivers"; - mState.mExtensions.noperspectiveInterpolationNV = false; - - // Nvidia's Vulkan driver only supports 4 draw buffers - constexpr GLint maxDrawBuffers = 4; - INFO() << "Limiting draw buffer count to " << maxDrawBuffers; - ANGLE_LIMIT_CAP(mState.mCaps.maxDrawBuffers, maxDrawBuffers); } // Disable support for OES_get_program_binary @@ -3794,9 +3544,6 @@ void Context::initCaps() mState.mCaps.programBinaryFormats.clear(); } -#undef ANGLE_LIMIT_CAP -#undef ANGLE_LOG_CAP_LIMIT - // Generate texture caps updateCaps(); } @@ -3930,9 +3677,7 @@ void Context::updateCaps() mValidBufferBindings.set(BufferBinding::Texture); } - mThreadPool = angle::WorkerThreadPool::Create( - mState.mExtensions.parallelShaderCompile || - getFrontendFeatures().enableCompressingPipelineCacheInThreadPool.enabled); + mThreadPool = angle::WorkerThreadPool::Create(mState.mExtensions.parallelShaderCompile); // Reinitialize some dirty bits that depend on extensions. if (mState.isRobustResourceInitEnabled()) @@ -4085,20 +3830,6 @@ void Context::blitFramebuffer(GLint srcX0, ANGLE_CONTEXT_TRY(drawFramebuffer->blit(this, srcArea, dstArea, mask, filter)); } -void Context::blitFramebufferNV(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -} - void Context::clear(GLbitfield mask) { if (mState.isRasterizerDiscardEnabled()) @@ -4426,11 +4157,11 @@ void Context::copyImageSubData(GLuint srcName, if (srcTarget == GL_RENDERBUFFER) { // Source target is a Renderbuffer - Renderbuffer *readBuffer = getRenderbuffer(PackParam(srcName)); + Renderbuffer *readBuffer = getRenderbuffer(FromGL(srcName)); if (dstTarget == GL_RENDERBUFFER) { // Destination target is a Renderbuffer - Renderbuffer *writeBuffer = getRenderbuffer(PackParam(dstName)); + Renderbuffer *writeBuffer = getRenderbuffer(FromGL(dstName)); // Copy Renderbuffer to Renderbuffer ANGLE_CONTEXT_TRY(writeBuffer->copyRenderbufferSubData( @@ -4443,7 +4174,7 @@ void Context::copyImageSubData(GLuint srcName, ASSERT(dstTarget == GL_TEXTURE_2D || dstTarget == GL_TEXTURE_2D_ARRAY || dstTarget == GL_TEXTURE_3D || dstTarget == GL_TEXTURE_CUBE_MAP); - Texture *writeTexture = getTexture(PackParam(dstName)); + Texture *writeTexture = getTexture(FromGL(dstName)); ANGLE_CONTEXT_TRY(syncTextureForCopy(writeTexture)); // Copy Renderbuffer to Texture @@ -4458,13 +4189,13 @@ void Context::copyImageSubData(GLuint srcName, ASSERT(srcTarget == GL_TEXTURE_2D || srcTarget == GL_TEXTURE_2D_ARRAY || srcTarget == GL_TEXTURE_3D || srcTarget == GL_TEXTURE_CUBE_MAP); - Texture *readTexture = getTexture(PackParam(srcName)); + Texture *readTexture = getTexture(FromGL(srcName)); ANGLE_CONTEXT_TRY(syncTextureForCopy(readTexture)); if (dstTarget == GL_RENDERBUFFER) { // Destination target is a Renderbuffer - Renderbuffer *writeBuffer = getRenderbuffer(PackParam(dstName)); + Renderbuffer *writeBuffer = getRenderbuffer(FromGL(dstName)); // Copy Texture to Renderbuffer ANGLE_CONTEXT_TRY(writeBuffer->copyTextureSubData(this, readTexture, srcLevel, srcX, @@ -4477,7 +4208,7 @@ void Context::copyImageSubData(GLuint srcName, ASSERT(dstTarget == GL_TEXTURE_2D || dstTarget == GL_TEXTURE_2D_ARRAY || dstTarget == GL_TEXTURE_3D || dstTarget == GL_TEXTURE_CUBE_MAP); - Texture *writeTexture = getTexture(PackParam(dstName)); + Texture *writeTexture = getTexture(FromGL(dstName)); ANGLE_CONTEXT_TRY(syncTextureForCopy(writeTexture)); // Copy Texture to Texture @@ -5366,11 +5097,6 @@ void Context::depthRangef(GLfloat zNear, GLfloat zFar) mState.setDepthRange(clamp01(zNear), clamp01(zFar)); } -void Context::clipControl(GLenum origin, GLenum depth) -{ - mState.setClipControl(origin, depth); -} - void Context::disable(GLenum cap) { mState.setEnableFeature(cap, false); @@ -5879,16 +5605,13 @@ void Context::bufferStorage(BufferBinding target, ANGLE_CONTEXT_TRY(buffer->bufferStorage(this, target, size, data, flags)); } -void Context::bufferStorageExternal(BufferBinding target, +void Context::bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - Buffer *buffer = mState.getTargetBuffer(target); - ASSERT(buffer); - - ANGLE_CONTEXT_TRY(buffer->bufferStorageExternal(this, target, size, clientBuffer, flags)); + UNIMPLEMENTED(); } void Context::namedBufferStorageExternal(GLuint buffer, @@ -5927,7 +5650,7 @@ void Context::attachShader(ShaderProgramID program, ShaderProgramID shader) Program *programObject = mState.mShaderProgramManager->getProgram(program); Shader *shaderObject = mState.mShaderProgramManager->getShader(shader); ASSERT(programObject && shaderObject); - programObject->attachShader(shaderObject); + programObject->attachShader(this, shaderObject); } void Context::copyBufferSubData(BufferBinding readTarget, @@ -6447,7 +6170,7 @@ GLenum Context::checkFramebufferStatus(GLenum target) { Framebuffer *framebuffer = mState.getTargetFramebuffer(target); ASSERT(framebuffer); - return framebuffer->checkStatus(this).status; + return framebuffer->checkStatus(this); } void Context::compileShader(ShaderProgramID shader) @@ -6628,7 +6351,7 @@ void Context::getFloatvRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GL void Context::getIntegerv(GLenum pname, GLint *params) { - GLenum nativeType = GL_NONE; + GLenum nativeType; unsigned int numParams = 0; getQueryParameterInfo(pname, &nativeType, &numParams); @@ -7017,14 +6740,7 @@ void Context::stencilOp(GLenum fail, GLenum zfail, GLenum zpass) void Context::patchParameteri(GLenum pname, GLint value) { - switch (pname) - { - case GL_PATCH_VERTICES: - mState.setPatchVertices(value); - break; - default: - break; - } + UNIMPLEMENTED(); } Program *Context::getActiveLinkedProgram() const @@ -7567,7 +7283,7 @@ GLuint Context::getUniformBlockIndex(ShaderProgramID program, const GLchar *unif } void Context::getActiveUniformBlockiv(ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLint *params) { @@ -7576,7 +7292,7 @@ void Context::getActiveUniformBlockiv(ShaderProgramID program, } void Context::getActiveUniformBlockivRobust(ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, @@ -7586,7 +7302,7 @@ void Context::getActiveUniformBlockivRobust(ShaderProgramID program, } void Context::getActiveUniformBlockName(ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) @@ -7596,7 +7312,7 @@ void Context::getActiveUniformBlockName(ShaderProgramID program, } void Context::uniformBlockBinding(ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLuint uniformBlockBinding) { Program *programObject = getProgramResolveLink(program); @@ -8541,11 +8257,6 @@ void Context::eGLImageTargetRenderbufferStorage(GLenum target, GLeglImageOES ima ANGLE_CONTEXT_TRY(renderbuffer->setStorageEGLImageTarget(this, imageObject)); } -void Context::framebufferFetchBarrier() -{ - mImplementation->framebufferFetchBarrier(); -} - void Context::texStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { UNIMPLEMENTED(); @@ -8827,7 +8538,6 @@ angle::Result Context::onProgramLink(Program *programObject) if (programObject->isLinked()) { ANGLE_TRY(mState.onProgramExecutableChange(this, programObject)); - programObject->onStateChange(angle::SubjectMessage::ProgramRelinked); } mStateCache.onProgramExecutableChange(this); } @@ -8967,18 +8677,6 @@ std::mutex &Context::getProgramCacheMutex() const return mDisplay->getProgramCacheMutex(); } -bool Context::supportsGeometryOrTesselation() const -{ - return mState.getClientVersion() == ES_3_2 || mState.getExtensions().geometryShader || - mState.getExtensions().tessellationShaderEXT; -} - -void Context::dirtyAllState() -{ - mState.setAllDirtyBits(); - mState.setAllDirtyObjects(); -} - // ErrorSet implementation. ErrorSet::ErrorSet(Context *context) : mContext(context) {} @@ -9044,9 +8742,7 @@ StateCache::StateCache() mCachedBasicDrawElementsError(kInvalidPointer), mCachedTransformFeedbackActiveUnpaused(false), mCachedCanDraw(false) -{ - mCachedValidDrawModes.fill(false); -} +{} StateCache::~StateCache() = default; @@ -9270,35 +8966,25 @@ void StateCache::setValidDrawModes(bool pointsOK, bool linesOK, bool trisOK, bool lineAdjOK, - bool triAdjOK, - bool patchOK) + bool triAdjOK) { mCachedValidDrawModes[PrimitiveMode::Points] = pointsOK; mCachedValidDrawModes[PrimitiveMode::Lines] = linesOK; - mCachedValidDrawModes[PrimitiveMode::LineLoop] = linesOK; mCachedValidDrawModes[PrimitiveMode::LineStrip] = linesOK; + mCachedValidDrawModes[PrimitiveMode::LineLoop] = linesOK; mCachedValidDrawModes[PrimitiveMode::Triangles] = trisOK; - mCachedValidDrawModes[PrimitiveMode::TriangleStrip] = trisOK; mCachedValidDrawModes[PrimitiveMode::TriangleFan] = trisOK; + mCachedValidDrawModes[PrimitiveMode::TriangleStrip] = trisOK; mCachedValidDrawModes[PrimitiveMode::LinesAdjacency] = lineAdjOK; mCachedValidDrawModes[PrimitiveMode::LineStripAdjacency] = lineAdjOK; mCachedValidDrawModes[PrimitiveMode::TrianglesAdjacency] = triAdjOK; mCachedValidDrawModes[PrimitiveMode::TriangleStripAdjacency] = triAdjOK; - mCachedValidDrawModes[PrimitiveMode::Patches] = patchOK; } void StateCache::updateValidDrawModes(Context *context) { const State &state = context->getState(); - - const ProgramExecutable *programExecutable = context->getState().getProgramExecutable(); - - // If tessellation is active primitive mode must be GL_PATCHES. - if (programExecutable && programExecutable->hasLinkedTessellationShader()) - { - setValidDrawModes(false, false, false, false, false, true); - return; - } + Program *program = state.getProgram(); if (mCachedTransformFeedbackActiveUnpaused) { @@ -9312,32 +8998,44 @@ void StateCache::updateValidDrawModes(Context *context) // DrawElements, DrawElementsInstanced, and DrawRangeElements while transform feedback is // active and not paused, regardless of mode. Any primitive type may be used while transform // feedback is paused. - if (!context->getExtensions().geometryShader && - !context->getExtensions().tessellationShaderEXT && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { mCachedValidDrawModes.fill(false); mCachedValidDrawModes[curTransformFeedback->getPrimitiveMode()] = true; return; } - } - if (!programExecutable || !programExecutable->hasLinkedShaderStage(ShaderType::Geometry)) - { - // All draw modes are valid, since drawing without a program does not generate an error and - // and operations requiring a GS will trigger other validation errors. - // `patchOK = false` due to checking above already enabling it if a TS is present. - setValidDrawModes(true, true, true, true, true, false); + // EXT_geometry_shader validation text: + // When transform feedback is active and not paused, all geometric primitives generated must + // be compatible with the value of passed to BeginTransformFeedback. If a + // geometry shader is active, the type of primitive emitted by that shader is used instead + // of the parameter passed to drawing commands for the purposes of this error check. + // Any primitive type may be used while transform feedback is paused. + bool pointsOK = curTransformFeedback->getPrimitiveMode() == PrimitiveMode::Points; + bool linesOK = curTransformFeedback->getPrimitiveMode() == PrimitiveMode::Lines; + bool trisOK = curTransformFeedback->getPrimitiveMode() == PrimitiveMode::Triangles; + + setValidDrawModes(pointsOK, linesOK, trisOK, false, false); return; } - PrimitiveMode gsMode = programExecutable->getGeometryShaderInputPrimitiveType(); - bool pointsOK = gsMode == PrimitiveMode::Points; - bool linesOK = gsMode == PrimitiveMode::Lines; - bool trisOK = gsMode == PrimitiveMode::Triangles; - bool lineAdjOK = gsMode == PrimitiveMode::LinesAdjacency; - bool triAdjOK = gsMode == PrimitiveMode::TrianglesAdjacency; + const ProgramExecutable *programExecutable = context->getState().getProgramExecutable(); + if (!programExecutable || !programExecutable->hasLinkedShaderStage(ShaderType::Geometry)) + { + mCachedValidDrawModes = kValidBasicDrawModes; + return; + } - setValidDrawModes(pointsOK, linesOK, trisOK, lineAdjOK, triAdjOK, false); + ASSERT(programExecutable->hasLinkedShaderStage(ShaderType::Geometry)); + PrimitiveMode gsMode = program->getGeometryShaderInputPrimitiveType(); + + bool pointsOK = gsMode == PrimitiveMode::Points; + bool linesOK = gsMode == PrimitiveMode::Lines; + bool trisOK = gsMode == PrimitiveMode::Triangles; + bool lineAdjOK = gsMode == PrimitiveMode::LinesAdjacency; + bool triAdjOK = gsMode == PrimitiveMode::TrianglesAdjacency; + + setValidDrawModes(pointsOK, linesOK, trisOK, lineAdjOK, triAdjOK); } void StateCache::updateValidBindTextureTypes(Context *context) diff --git a/gfx/angle/checkout/src/libANGLE/Context.h b/gfx/angle/checkout/src/libANGLE/Context.h index 485ada150a64..fa1ca4bcd06d 100644 --- a/gfx/angle/checkout/src/libANGLE/Context.h +++ b/gfx/angle/checkout/src/libANGLE/Context.h @@ -20,10 +20,25 @@ #include "common/angleutils.h" #include "libANGLE/Caps.h" #include "libANGLE/Constants.h" -#include "libANGLE/Context_gl_1_autogen.h" -#include "libANGLE/Context_gl_2_autogen.h" -#include "libANGLE/Context_gl_3_autogen.h" -#include "libANGLE/Context_gl_4_autogen.h" +#include "libANGLE/Context_gl_1_0_autogen.h" +#include "libANGLE/Context_gl_1_1_autogen.h" +#include "libANGLE/Context_gl_1_2_autogen.h" +#include "libANGLE/Context_gl_1_3_autogen.h" +#include "libANGLE/Context_gl_1_4_autogen.h" +#include "libANGLE/Context_gl_1_5_autogen.h" +#include "libANGLE/Context_gl_2_0_autogen.h" +#include "libANGLE/Context_gl_2_1_autogen.h" +#include "libANGLE/Context_gl_3_0_autogen.h" +#include "libANGLE/Context_gl_3_1_autogen.h" +#include "libANGLE/Context_gl_3_2_autogen.h" +#include "libANGLE/Context_gl_3_3_autogen.h" +#include "libANGLE/Context_gl_4_0_autogen.h" +#include "libANGLE/Context_gl_4_1_autogen.h" +#include "libANGLE/Context_gl_4_2_autogen.h" +#include "libANGLE/Context_gl_4_3_autogen.h" +#include "libANGLE/Context_gl_4_4_autogen.h" +#include "libANGLE/Context_gl_4_5_autogen.h" +#include "libANGLE/Context_gl_4_6_autogen.h" #include "libANGLE/Context_gles_1_0_autogen.h" #include "libANGLE/Context_gles_2_0_autogen.h" #include "libANGLE/Context_gles_3_0_autogen.h" @@ -247,7 +262,7 @@ class StateCache final : angle::NonCopyable // Places that can trigger updateActiveImageUnitIndices: // 1. onProgramExecutableChange. - const ImageUnitMask &getActiveImageUnitIndices() const { return mCachedActiveImageUnitIndices; } + ImageUnitMask getActiveImageUnitIndices() const { return mCachedActiveImageUnitIndices; } // Places that can trigger updateCanDraw: // 1. onProgramExecutableChange. @@ -289,12 +304,7 @@ class StateCache final : angle::NonCopyable void updateActiveImageUnitIndices(Context *context); void updateCanDraw(Context *context); - void setValidDrawModes(bool pointsOK, - bool linesOK, - bool trisOK, - bool lineAdjOK, - bool triAdjOK, - bool patchOK); + void setValidDrawModes(bool pointsOK, bool linesOK, bool trisOK, bool lineAdjOK, bool triAdjOK); intptr_t getBasicDrawStatesErrorImpl(const Context *context) const; intptr_t getBasicDrawElementsErrorImpl(const Context *context) const; @@ -353,8 +363,6 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl // Use for debugging. ContextID id() const { return mState.getContextID(); } - egl::Error initialize(); - egl::Error onDestroy(const egl::Display *display); ~Context() override; @@ -413,10 +421,6 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl bool isVertexArrayGenerated(VertexArrayID vertexArray) const; bool isTransformFeedbackGenerated(TransformFeedbackID transformFeedback) const; - bool isExternal() const { return mIsExternal; } - bool saveAndRestoreState() const { return mSaveAndRestoreState; } - bool isCurrent() const { return mIsCurrent; } - void getBooleanvImpl(GLenum pname, GLboolean *params) const; void getFloatvImpl(GLenum pname, GLfloat *params) const; void getIntegervImpl(GLenum pname, GLint *params) const; @@ -430,13 +434,28 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl bool hasActiveTransformFeedback(ShaderProgramID program) const; - // Desktop GL entry point interface - ANGLE_GL_1_CONTEXT_API - ANGLE_GL_2_CONTEXT_API - ANGLE_GL_3_CONTEXT_API - ANGLE_GL_4_CONTEXT_API + // GL emulation: Interface to entry points + ANGLE_GL_1_0_CONTEXT_API + ANGLE_GL_1_1_CONTEXT_API + ANGLE_GL_1_2_CONTEXT_API + ANGLE_GL_1_3_CONTEXT_API + ANGLE_GL_1_4_CONTEXT_API + ANGLE_GL_1_5_CONTEXT_API + ANGLE_GL_2_0_CONTEXT_API + ANGLE_GL_2_1_CONTEXT_API + ANGLE_GL_3_0_CONTEXT_API + ANGLE_GL_3_1_CONTEXT_API + ANGLE_GL_3_2_CONTEXT_API + ANGLE_GL_3_3_CONTEXT_API + ANGLE_GL_4_0_CONTEXT_API + ANGLE_GL_4_1_CONTEXT_API + ANGLE_GL_4_2_CONTEXT_API + ANGLE_GL_4_3_CONTEXT_API + ANGLE_GL_4_4_CONTEXT_API + ANGLE_GL_4_5_CONTEXT_API + ANGLE_GL_4_6_CONTEXT_API - // GLES entry point interface + // GLES emulation: Interface to entry points ANGLE_GLES_1_0_CONTEXT_API ANGLE_GLES_2_0_CONTEXT_API ANGLE_GLES_3_0_CONTEXT_API @@ -459,7 +478,7 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl void setContextLost(); GLenum getGraphicsResetStrategy() const { return mResetStrategy; } - bool isResetNotificationEnabled() const; + bool isResetNotificationEnabled(); const egl::Config *getConfig() const; EGLenum getClientType() const; @@ -618,11 +637,8 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl egl::ShareGroup *getShareGroup() const { return mState.getShareGroup(); } - bool supportsGeometryOrTesselation() const; - void dirtyAllState(); - private: - void initializeDefaultResources(); + void initialize(); angle::Result prepareForDraw(PrimitiveMode mode); angle::Result prepareForClear(GLbitfield mask); @@ -782,17 +798,9 @@ class Context final : public egl::LabeledObject, angle::NonCopyable, public angl // Note: we use a raw pointer here so we can exclude frame capture sources from the build. std::unique_ptr mFrameCapture; - // Cache representation of the serialized context string. - mutable std::string mCachedSerializedStateString; - mutable size_t mRefCount; OverlayType mOverlay; - - const bool mIsExternal; - const bool mSaveAndRestoreState; - - bool mIsCurrent; }; // Thread-local current valid context bound to the thread. diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl.cpp b/gfx/angle/checkout/src/libANGLE/Context_gl.cpp index 8a2360804920..12b329f82d52 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gl.cpp +++ b/gfx/angle/checkout/src/libANGLE/Context_gl.cpp @@ -2935,6 +2935,11 @@ void Context::clearNamedFramebufferuiv(FramebufferID framebuffer, UNIMPLEMENTED(); } +void Context::clipControl(GLenum origin, GLenum depth) +{ + UNIMPLEMENTED(); +} + void Context::compressedTextureSubImage1D(TextureID texture, GLint level, GLint xoffset, diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_0_autogen.h similarity index 70% rename from gfx/angle/checkout/src/libANGLE/Context_gl_1_autogen.h rename to gfx/angle/checkout/src/libANGLE/Context_gl_1_0_autogen.h index 724ca49505a6..8707bef6e1b9 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gl_1_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_0_autogen.h @@ -5,12 +5,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// Context_gl_1_autogen.h: Creates a macro for interfaces in Context. +// Context_gl_1_0_autogen.h: Creates a macro for interfaces in Context. -#ifndef ANGLE_CONTEXT_GL_1_AUTOGEN_H_ -#define ANGLE_CONTEXT_GL_1_AUTOGEN_H_ +#ifndef ANGLE_CONTEXT_GL_1_0_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_0_AUTOGEN_H_ -#define ANGLE_GL_1_CONTEXT_API \ +#define ANGLE_GL_1_0_CONTEXT_API \ void accum(GLenum op, GLfloat value); \ void begin(GLenum mode); \ void bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, \ @@ -248,103 +248,6 @@ void vertex4i(GLint x, GLint y, GLint z, GLint w); \ void vertex4iv(const GLint *v); \ void vertex4s(GLshort x, GLshort y, GLshort z, GLshort w); \ - void vertex4sv(const GLshort *v); \ - GLboolean areTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); \ - void arrayElement(GLint i); \ - void copyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, \ - GLsizei width, GLint border); \ - void copyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, \ - GLsizei width); \ - void edgeFlagPointer(GLsizei stride, const void *pointer); \ - void indexPointer(GLenum type, GLsizei stride, const void *pointer); \ - void indexub(GLubyte c); \ - void indexubv(const GLubyte *c); \ - void interleavedArrays(GLenum format, GLsizei stride, const void *pointer); \ - void popClientAttrib(); \ - void prioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); \ - void pushClientAttrib(GLbitfield mask); \ - void texSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, \ - GLenum type, const void *pixels); \ - void compressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, \ - GLint border, GLsizei imageSize, const void *data); \ - void compressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, \ - GLenum format, GLsizei imageSize, const void *data); \ - void getCompressedTexImage(GLenum target, GLint level, void *img); \ - void loadTransposeMatrixd(const GLdouble *m); \ - void loadTransposeMatrixf(const GLfloat *m); \ - void multTransposeMatrixd(const GLdouble *m); \ - void multTransposeMatrixf(const GLfloat *m); \ - void multiTexCoord1d(GLenum target, GLdouble s); \ - void multiTexCoord1dv(GLenum target, const GLdouble *v); \ - void multiTexCoord1f(GLenum target, GLfloat s); \ - void multiTexCoord1fv(GLenum target, const GLfloat *v); \ - void multiTexCoord1i(GLenum target, GLint s); \ - void multiTexCoord1iv(GLenum target, const GLint *v); \ - void multiTexCoord1s(GLenum target, GLshort s); \ - void multiTexCoord1sv(GLenum target, const GLshort *v); \ - void multiTexCoord2d(GLenum target, GLdouble s, GLdouble t); \ - void multiTexCoord2dv(GLenum target, const GLdouble *v); \ - void multiTexCoord2f(GLenum target, GLfloat s, GLfloat t); \ - void multiTexCoord2fv(GLenum target, const GLfloat *v); \ - void multiTexCoord2i(GLenum target, GLint s, GLint t); \ - void multiTexCoord2iv(GLenum target, const GLint *v); \ - void multiTexCoord2s(GLenum target, GLshort s, GLshort t); \ - void multiTexCoord2sv(GLenum target, const GLshort *v); \ - void multiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); \ - void multiTexCoord3dv(GLenum target, const GLdouble *v); \ - void multiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); \ - void multiTexCoord3fv(GLenum target, const GLfloat *v); \ - void multiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); \ - void multiTexCoord3iv(GLenum target, const GLint *v); \ - void multiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); \ - void multiTexCoord3sv(GLenum target, const GLshort *v); \ - void multiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); \ - void multiTexCoord4dv(GLenum target, const GLdouble *v); \ - void multiTexCoord4fv(GLenum target, const GLfloat *v); \ - void multiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); \ - void multiTexCoord4iv(GLenum target, const GLint *v); \ - void multiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); \ - void multiTexCoord4sv(GLenum target, const GLshort *v); \ - void fogCoordPointer(GLenum type, GLsizei stride, const void *pointer); \ - void fogCoordd(GLdouble coord); \ - void fogCoorddv(const GLdouble *coord); \ - void fogCoordf(GLfloat coord); \ - void fogCoordfv(const GLfloat *coord); \ - void pointParameteri(GLenum pname, GLint param); \ - void pointParameteriv(GLenum pname, const GLint *params); \ - void secondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); \ - void secondaryColor3bv(const GLbyte *v); \ - void secondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); \ - void secondaryColor3dv(const GLdouble *v); \ - void secondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); \ - void secondaryColor3fv(const GLfloat *v); \ - void secondaryColor3i(GLint red, GLint green, GLint blue); \ - void secondaryColor3iv(const GLint *v); \ - void secondaryColor3s(GLshort red, GLshort green, GLshort blue); \ - void secondaryColor3sv(const GLshort *v); \ - void secondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); \ - void secondaryColor3ubv(const GLubyte *v); \ - void secondaryColor3ui(GLuint red, GLuint green, GLuint blue); \ - void secondaryColor3uiv(const GLuint *v); \ - void secondaryColor3us(GLushort red, GLushort green, GLushort blue); \ - void secondaryColor3usv(const GLushort *v); \ - void secondaryColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ - void windowPos2d(GLdouble x, GLdouble y); \ - void windowPos2dv(const GLdouble *v); \ - void windowPos2f(GLfloat x, GLfloat y); \ - void windowPos2fv(const GLfloat *v); \ - void windowPos2i(GLint x, GLint y); \ - void windowPos2iv(const GLint *v); \ - void windowPos2s(GLshort x, GLshort y); \ - void windowPos2sv(const GLshort *v); \ - void windowPos3d(GLdouble x, GLdouble y, GLdouble z); \ - void windowPos3dv(const GLdouble *v); \ - void windowPos3f(GLfloat x, GLfloat y, GLfloat z); \ - void windowPos3fv(const GLfloat *v); \ - void windowPos3i(GLint x, GLint y, GLint z); \ - void windowPos3iv(const GLint *v); \ - void windowPos3s(GLshort x, GLshort y, GLshort z); \ - void windowPos3sv(const GLshort *v); \ - void getBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void *data); + void vertex4sv(const GLshort *v); -#endif // ANGLE_CONTEXT_API_1_AUTOGEN_H_ +#endif // ANGLE_CONTEXT_API_1_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_1_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_1_autogen.h new file mode 100644 index 000000000000..7424752bd683 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_1_autogen.h @@ -0,0 +1,31 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_1_1_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_1_1_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_1_AUTOGEN_H_ + +#define ANGLE_GL_1_1_CONTEXT_API \ + GLboolean areTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); \ + void arrayElement(GLint i); \ + void copyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, \ + GLsizei width, GLint border); \ + void copyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, \ + GLsizei width); \ + void edgeFlagPointer(GLsizei stride, const void *pointer); \ + void indexPointer(GLenum type, GLsizei stride, const void *pointer); \ + void indexub(GLubyte c); \ + void indexubv(const GLubyte *c); \ + void interleavedArrays(GLenum format, GLsizei stride, const void *pointer); \ + void popClientAttrib(); \ + void prioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); \ + void pushClientAttrib(GLbitfield mask); \ + void texSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, \ + GLenum type, const void *pixels); + +#endif // ANGLE_CONTEXT_API_1_1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_2_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_2_autogen.h new file mode 100644 index 000000000000..56888dd5cf5d --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_2_autogen.h @@ -0,0 +1,15 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_1_2_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_1_2_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_2_AUTOGEN_H_ + +#define ANGLE_GL_1_2_CONTEXT_API + +#endif // ANGLE_CONTEXT_API_1_2_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_3_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_3_autogen.h new file mode 100644 index 000000000000..b64e0fcecce2 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_3_autogen.h @@ -0,0 +1,55 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_1_3_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_1_3_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_3_AUTOGEN_H_ + +#define ANGLE_GL_1_3_CONTEXT_API \ + void compressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, \ + GLint border, GLsizei imageSize, const void *data); \ + void compressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, \ + GLenum format, GLsizei imageSize, const void *data); \ + void getCompressedTexImage(GLenum target, GLint level, void *img); \ + void loadTransposeMatrixd(const GLdouble *m); \ + void loadTransposeMatrixf(const GLfloat *m); \ + void multTransposeMatrixd(const GLdouble *m); \ + void multTransposeMatrixf(const GLfloat *m); \ + void multiTexCoord1d(GLenum target, GLdouble s); \ + void multiTexCoord1dv(GLenum target, const GLdouble *v); \ + void multiTexCoord1f(GLenum target, GLfloat s); \ + void multiTexCoord1fv(GLenum target, const GLfloat *v); \ + void multiTexCoord1i(GLenum target, GLint s); \ + void multiTexCoord1iv(GLenum target, const GLint *v); \ + void multiTexCoord1s(GLenum target, GLshort s); \ + void multiTexCoord1sv(GLenum target, const GLshort *v); \ + void multiTexCoord2d(GLenum target, GLdouble s, GLdouble t); \ + void multiTexCoord2dv(GLenum target, const GLdouble *v); \ + void multiTexCoord2f(GLenum target, GLfloat s, GLfloat t); \ + void multiTexCoord2fv(GLenum target, const GLfloat *v); \ + void multiTexCoord2i(GLenum target, GLint s, GLint t); \ + void multiTexCoord2iv(GLenum target, const GLint *v); \ + void multiTexCoord2s(GLenum target, GLshort s, GLshort t); \ + void multiTexCoord2sv(GLenum target, const GLshort *v); \ + void multiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); \ + void multiTexCoord3dv(GLenum target, const GLdouble *v); \ + void multiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); \ + void multiTexCoord3fv(GLenum target, const GLfloat *v); \ + void multiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); \ + void multiTexCoord3iv(GLenum target, const GLint *v); \ + void multiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); \ + void multiTexCoord3sv(GLenum target, const GLshort *v); \ + void multiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); \ + void multiTexCoord4dv(GLenum target, const GLdouble *v); \ + void multiTexCoord4fv(GLenum target, const GLfloat *v); \ + void multiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); \ + void multiTexCoord4iv(GLenum target, const GLint *v); \ + void multiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); \ + void multiTexCoord4sv(GLenum target, const GLshort *v); + +#endif // ANGLE_CONTEXT_API_1_3_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_4_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_4_autogen.h new file mode 100644 index 000000000000..bf14379553a3 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_4_autogen.h @@ -0,0 +1,55 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_1_4_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_1_4_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_4_AUTOGEN_H_ + +#define ANGLE_GL_1_4_CONTEXT_API \ + void fogCoordPointer(GLenum type, GLsizei stride, const void *pointer); \ + void fogCoordd(GLdouble coord); \ + void fogCoorddv(const GLdouble *coord); \ + void fogCoordf(GLfloat coord); \ + void fogCoordfv(const GLfloat *coord); \ + void pointParameteri(GLenum pname, GLint param); \ + void pointParameteriv(GLenum pname, const GLint *params); \ + void secondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); \ + void secondaryColor3bv(const GLbyte *v); \ + void secondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); \ + void secondaryColor3dv(const GLdouble *v); \ + void secondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); \ + void secondaryColor3fv(const GLfloat *v); \ + void secondaryColor3i(GLint red, GLint green, GLint blue); \ + void secondaryColor3iv(const GLint *v); \ + void secondaryColor3s(GLshort red, GLshort green, GLshort blue); \ + void secondaryColor3sv(const GLshort *v); \ + void secondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); \ + void secondaryColor3ubv(const GLubyte *v); \ + void secondaryColor3ui(GLuint red, GLuint green, GLuint blue); \ + void secondaryColor3uiv(const GLuint *v); \ + void secondaryColor3us(GLushort red, GLushort green, GLushort blue); \ + void secondaryColor3usv(const GLushort *v); \ + void secondaryColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ + void windowPos2d(GLdouble x, GLdouble y); \ + void windowPos2dv(const GLdouble *v); \ + void windowPos2f(GLfloat x, GLfloat y); \ + void windowPos2fv(const GLfloat *v); \ + void windowPos2i(GLint x, GLint y); \ + void windowPos2iv(const GLint *v); \ + void windowPos2s(GLshort x, GLshort y); \ + void windowPos2sv(const GLshort *v); \ + void windowPos3d(GLdouble x, GLdouble y, GLdouble z); \ + void windowPos3dv(const GLdouble *v); \ + void windowPos3f(GLfloat x, GLfloat y, GLfloat z); \ + void windowPos3fv(const GLfloat *v); \ + void windowPos3i(GLint x, GLint y, GLint z); \ + void windowPos3iv(const GLint *v); \ + void windowPos3s(GLshort x, GLshort y, GLshort z); \ + void windowPos3sv(const GLshort *v); + +#endif // ANGLE_CONTEXT_API_1_4_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_1_5_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_1_5_autogen.h new file mode 100644 index 000000000000..fdc53faeb0a9 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_1_5_autogen.h @@ -0,0 +1,16 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_1_5_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_1_5_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_1_5_AUTOGEN_H_ + +#define ANGLE_GL_1_5_CONTEXT_API \ + void getBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void *data); + +#endif // ANGLE_CONTEXT_API_1_5_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_2_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_2_0_autogen.h similarity index 91% rename from gfx/angle/checkout/src/libANGLE/Context_gl_2_autogen.h rename to gfx/angle/checkout/src/libANGLE/Context_gl_2_0_autogen.h index 92e17d1d6e32..f8a22a20778a 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gl_2_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_2_0_autogen.h @@ -5,12 +5,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// Context_gl_2_autogen.h: Creates a macro for interfaces in Context. +// Context_gl_2_0_autogen.h: Creates a macro for interfaces in Context. -#ifndef ANGLE_CONTEXT_GL_2_AUTOGEN_H_ -#define ANGLE_CONTEXT_GL_2_AUTOGEN_H_ +#ifndef ANGLE_CONTEXT_GL_2_0_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_2_0_AUTOGEN_H_ -#define ANGLE_GL_2_CONTEXT_API \ +#define ANGLE_GL_2_0_CONTEXT_API \ void getVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); \ void vertexAttrib1d(GLuint index, GLdouble x); \ void vertexAttrib1dv(GLuint index, const GLdouble *v); \ @@ -41,4 +41,4 @@ void vertexAttrib4uiv(GLuint index, const GLuint *v); \ void vertexAttrib4usv(GLuint index, const GLushort *v); -#endif // ANGLE_CONTEXT_API_2_AUTOGEN_H_ +#endif // ANGLE_CONTEXT_API_2_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_2_1_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_2_1_autogen.h new file mode 100644 index 000000000000..73d3d0742986 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_2_1_autogen.h @@ -0,0 +1,15 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_2_1_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_2_1_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_2_1_AUTOGEN_H_ + +#define ANGLE_GL_2_1_CONTEXT_API + +#endif // ANGLE_CONTEXT_API_2_1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_3_0_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_3_0_autogen.h new file mode 100644 index 000000000000..f0c67372c12a --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_3_0_autogen.h @@ -0,0 +1,36 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_3_0_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_3_0_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_3_0_AUTOGEN_H_ + +#define ANGLE_GL_3_0_CONTEXT_API \ + void beginConditionalRender(GLuint id, GLenum mode); \ + void clampColor(GLenum target, GLenum clamp); \ + void endConditionalRender(); \ + void framebufferTexture1D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \ + TextureID texturePacked, GLint level); \ + void vertexAttribI1i(GLuint index, GLint x); \ + void vertexAttribI1iv(GLuint index, const GLint *v); \ + void vertexAttribI1ui(GLuint index, GLuint x); \ + void vertexAttribI1uiv(GLuint index, const GLuint *v); \ + void vertexAttribI2i(GLuint index, GLint x, GLint y); \ + void vertexAttribI2iv(GLuint index, const GLint *v); \ + void vertexAttribI2ui(GLuint index, GLuint x, GLuint y); \ + void vertexAttribI2uiv(GLuint index, const GLuint *v); \ + void vertexAttribI3i(GLuint index, GLint x, GLint y, GLint z); \ + void vertexAttribI3iv(GLuint index, const GLint *v); \ + void vertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z); \ + void vertexAttribI3uiv(GLuint index, const GLuint *v); \ + void vertexAttribI4bv(GLuint index, const GLbyte *v); \ + void vertexAttribI4sv(GLuint index, const GLshort *v); \ + void vertexAttribI4ubv(GLuint index, const GLubyte *v); \ + void vertexAttribI4usv(GLuint index, const GLushort *v); + +#endif // ANGLE_CONTEXT_API_3_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_3_1_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_3_1_autogen.h new file mode 100644 index 000000000000..90a48986f860 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_3_1_autogen.h @@ -0,0 +1,18 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_3_1_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_3_1_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_3_1_AUTOGEN_H_ + +#define ANGLE_GL_3_1_CONTEXT_API \ + void getActiveUniformName(ShaderProgramID programPacked, GLuint uniformIndex, GLsizei bufSize, \ + GLsizei *length, GLchar *uniformName); \ + void primitiveRestartIndex(GLuint index); + +#endif // ANGLE_CONTEXT_API_3_1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_3_2_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_3_2_autogen.h new file mode 100644 index 000000000000..e2e5ee41ac45 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_3_2_autogen.h @@ -0,0 +1,20 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_3_2_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_3_2_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_3_2_AUTOGEN_H_ + +#define ANGLE_GL_3_2_CONTEXT_API \ + void texImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, \ + GLsizei width, GLsizei height, GLboolean fixedsamplelocations); \ + void texImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, \ + GLsizei width, GLsizei height, GLsizei depth, \ + GLboolean fixedsamplelocations); + +#endif // ANGLE_CONTEXT_API_3_2_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_3_3_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_3_3_autogen.h new file mode 100644 index 000000000000..c715027a1907 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_3_3_autogen.h @@ -0,0 +1,53 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_3_3_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_3_3_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_3_3_AUTOGEN_H_ + +#define ANGLE_GL_3_3_CONTEXT_API \ + void colorP3ui(GLenum type, GLuint color); \ + void colorP3uiv(GLenum type, const GLuint *color); \ + void colorP4ui(GLenum type, GLuint color); \ + void colorP4uiv(GLenum type, const GLuint *color); \ + void multiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords); \ + void multiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords); \ + void multiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords); \ + void multiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords); \ + void multiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords); \ + void multiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords); \ + void multiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords); \ + void multiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords); \ + void normalP3ui(GLenum type, GLuint coords); \ + void normalP3uiv(GLenum type, const GLuint *coords); \ + void secondaryColorP3ui(GLenum type, GLuint color); \ + void secondaryColorP3uiv(GLenum type, const GLuint *color); \ + void texCoordP1ui(GLenum type, GLuint coords); \ + void texCoordP1uiv(GLenum type, const GLuint *coords); \ + void texCoordP2ui(GLenum type, GLuint coords); \ + void texCoordP2uiv(GLenum type, const GLuint *coords); \ + void texCoordP3ui(GLenum type, GLuint coords); \ + void texCoordP3uiv(GLenum type, const GLuint *coords); \ + void texCoordP4ui(GLenum type, GLuint coords); \ + void texCoordP4uiv(GLenum type, const GLuint *coords); \ + void vertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ + void vertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ + void vertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ + void vertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ + void vertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ + void vertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ + void vertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ + void vertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ + void vertexP2ui(GLenum type, GLuint value); \ + void vertexP2uiv(GLenum type, const GLuint *value); \ + void vertexP3ui(GLenum type, GLuint value); \ + void vertexP3uiv(GLenum type, const GLuint *value); \ + void vertexP4ui(GLenum type, GLuint value); \ + void vertexP4uiv(GLenum type, const GLuint *value); + +#endif // ANGLE_CONTEXT_API_3_3_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_3_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_3_autogen.h deleted file mode 100644 index 598a9055ef58..000000000000 --- a/gfx/angle/checkout/src/libANGLE/Context_gl_3_autogen.h +++ /dev/null @@ -1,82 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from gl.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Context_gl_3_autogen.h: Creates a macro for interfaces in Context. - -#ifndef ANGLE_CONTEXT_GL_3_AUTOGEN_H_ -#define ANGLE_CONTEXT_GL_3_AUTOGEN_H_ - -#define ANGLE_GL_3_CONTEXT_API \ - void beginConditionalRender(GLuint id, GLenum mode); \ - void clampColor(GLenum target, GLenum clamp); \ - void endConditionalRender(); \ - void framebufferTexture1D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \ - TextureID texturePacked, GLint level); \ - void vertexAttribI1i(GLuint index, GLint x); \ - void vertexAttribI1iv(GLuint index, const GLint *v); \ - void vertexAttribI1ui(GLuint index, GLuint x); \ - void vertexAttribI1uiv(GLuint index, const GLuint *v); \ - void vertexAttribI2i(GLuint index, GLint x, GLint y); \ - void vertexAttribI2iv(GLuint index, const GLint *v); \ - void vertexAttribI2ui(GLuint index, GLuint x, GLuint y); \ - void vertexAttribI2uiv(GLuint index, const GLuint *v); \ - void vertexAttribI3i(GLuint index, GLint x, GLint y, GLint z); \ - void vertexAttribI3iv(GLuint index, const GLint *v); \ - void vertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z); \ - void vertexAttribI3uiv(GLuint index, const GLuint *v); \ - void vertexAttribI4bv(GLuint index, const GLbyte *v); \ - void vertexAttribI4sv(GLuint index, const GLshort *v); \ - void vertexAttribI4ubv(GLuint index, const GLubyte *v); \ - void vertexAttribI4usv(GLuint index, const GLushort *v); \ - void getActiveUniformName(ShaderProgramID programPacked, GLuint uniformIndex, GLsizei bufSize, \ - GLsizei *length, GLchar *uniformName); \ - void primitiveRestartIndex(GLuint index); \ - void texImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, \ - GLsizei width, GLsizei height, GLboolean fixedsamplelocations); \ - void texImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, \ - GLsizei width, GLsizei height, GLsizei depth, \ - GLboolean fixedsamplelocations); \ - void colorP3ui(GLenum type, GLuint color); \ - void colorP3uiv(GLenum type, const GLuint *color); \ - void colorP4ui(GLenum type, GLuint color); \ - void colorP4uiv(GLenum type, const GLuint *color); \ - void multiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords); \ - void multiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords); \ - void multiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords); \ - void multiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords); \ - void multiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords); \ - void multiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords); \ - void multiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords); \ - void multiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords); \ - void normalP3ui(GLenum type, GLuint coords); \ - void normalP3uiv(GLenum type, const GLuint *coords); \ - void secondaryColorP3ui(GLenum type, GLuint color); \ - void secondaryColorP3uiv(GLenum type, const GLuint *color); \ - void texCoordP1ui(GLenum type, GLuint coords); \ - void texCoordP1uiv(GLenum type, const GLuint *coords); \ - void texCoordP2ui(GLenum type, GLuint coords); \ - void texCoordP2uiv(GLenum type, const GLuint *coords); \ - void texCoordP3ui(GLenum type, GLuint coords); \ - void texCoordP3uiv(GLenum type, const GLuint *coords); \ - void texCoordP4ui(GLenum type, GLuint coords); \ - void texCoordP4uiv(GLenum type, const GLuint *coords); \ - void vertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ - void vertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ - void vertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ - void vertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ - void vertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ - void vertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ - void vertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ - void vertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ - void vertexP2ui(GLenum type, GLuint value); \ - void vertexP2uiv(GLenum type, const GLuint *value); \ - void vertexP3ui(GLenum type, GLuint value); \ - void vertexP3uiv(GLenum type, const GLuint *value); \ - void vertexP4ui(GLenum type, GLuint value); \ - void vertexP4uiv(GLenum type, const GLuint *value); - -#endif // ANGLE_CONTEXT_API_3_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_0_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_0_autogen.h new file mode 100644 index 000000000000..80fa17b98aad --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_0_autogen.h @@ -0,0 +1,65 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_0_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_0_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_0_AUTOGEN_H_ + +#define ANGLE_GL_4_0_CONTEXT_API \ + void beginQueryIndexed(GLenum target, GLuint index, QueryID idPacked); \ + void drawTransformFeedback(GLenum mode, TransformFeedbackID idPacked); \ + void drawTransformFeedbackStream(GLenum mode, TransformFeedbackID idPacked, GLuint stream); \ + void endQueryIndexed(GLenum target, GLuint index); \ + void getActiveSubroutineName(ShaderProgramID programPacked, GLenum shadertype, GLuint index, \ + GLsizei bufsize, GLsizei *length, GLchar *name); \ + void getActiveSubroutineUniformName(ShaderProgramID programPacked, GLenum shadertype, \ + GLuint index, GLsizei bufsize, GLsizei *length, \ + GLchar *name); \ + void getActiveSubroutineUniformiv(ShaderProgramID programPacked, GLenum shadertype, \ + GLuint index, GLenum pname, GLint *values); \ + void getProgramStageiv(ShaderProgramID programPacked, GLenum shadertype, GLenum pname, \ + GLint *values); \ + void getQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params); \ + GLuint getSubroutineIndex(ShaderProgramID programPacked, GLenum shadertype, \ + const GLchar *name); \ + GLint getSubroutineUniformLocation(ShaderProgramID programPacked, GLenum shadertype, \ + const GLchar *name); \ + void getUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params); \ + void getUniformdv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLdouble *params); \ + void patchParameterfv(GLenum pname, const GLfloat *values); \ + void uniform1d(UniformLocation locationPacked, GLdouble x); \ + void uniform1dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ + void uniform2d(UniformLocation locationPacked, GLdouble x, GLdouble y); \ + void uniform2dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ + void uniform3d(UniformLocation locationPacked, GLdouble x, GLdouble y, GLdouble z); \ + void uniform3dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ + void uniform4d(UniformLocation locationPacked, GLdouble x, GLdouble y, GLdouble z, \ + GLdouble w); \ + void uniform4dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ + void uniformMatrix2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix2x3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix2x4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix3x2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix3x4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix4x2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformMatrix4x3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ + const GLdouble *value); \ + void uniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices); + +#endif // ANGLE_CONTEXT_API_4_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_1_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_1_autogen.h new file mode 100644 index 000000000000..0cca1c00458a --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_1_autogen.h @@ -0,0 +1,70 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_1_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_1_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_1_AUTOGEN_H_ + +#define ANGLE_GL_4_1_CONTEXT_API \ + void depthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v); \ + void depthRangeIndexed(GLuint index, GLdouble n, GLdouble f); \ + void getDoublei_v(GLenum target, GLuint index, GLdouble *data); \ + void getFloati_v(GLenum target, GLuint index, GLfloat *data); \ + void getVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params); \ + void programUniform1d(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLdouble v0); \ + void programUniform1dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, const GLdouble *value); \ + void programUniform2d(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLdouble v0, GLdouble v1); \ + void programUniform2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, const GLdouble *value); \ + void programUniform3d(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLdouble v0, GLdouble v1, GLdouble v2); \ + void programUniform3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, const GLdouble *value); \ + void programUniform4d(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); \ + void programUniform4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, const GLdouble *value); \ + void programUniformMatrix2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix2x3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix2x4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix3x2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix3x4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix4x2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void programUniformMatrix4x3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ + GLsizei count, GLboolean transpose, const GLdouble *value); \ + void scissorArrayv(GLuint first, GLsizei count, const GLint *v); \ + void scissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); \ + void scissorIndexedv(GLuint index, const GLint *v); \ + void vertexAttribL1d(GLuint index, GLdouble x); \ + void vertexAttribL1dv(GLuint index, const GLdouble *v); \ + void vertexAttribL2d(GLuint index, GLdouble x, GLdouble y); \ + void vertexAttribL2dv(GLuint index, const GLdouble *v); \ + void vertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); \ + void vertexAttribL3dv(GLuint index, const GLdouble *v); \ + void vertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); \ + void vertexAttribL4dv(GLuint index, const GLdouble *v); \ + void vertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, \ + const void *pointer); \ + void viewportArrayv(GLuint first, GLsizei count, const GLfloat *v); \ + void viewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); \ + void viewportIndexedfv(GLuint index, const GLfloat *v); + +#endif // ANGLE_CONTEXT_API_4_1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_2_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_2_autogen.h new file mode 100644 index 000000000000..643166672888 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_2_autogen.h @@ -0,0 +1,24 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_2_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_2_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_2_AUTOGEN_H_ + +#define ANGLE_GL_4_2_CONTEXT_API \ + void drawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, \ + const void *indices, GLsizei instancecount, \ + GLuint baseinstance); \ + void drawTransformFeedbackInstanced(GLenum mode, TransformFeedbackID idPacked, \ + GLsizei instancecount); \ + void drawTransformFeedbackStreamInstanced(GLenum mode, TransformFeedbackID idPacked, \ + GLuint stream, GLsizei instancecount); \ + void getActiveAtomicCounterBufferiv(ShaderProgramID programPacked, GLuint bufferIndex, \ + GLenum pname, GLint *params); + +#endif // ANGLE_CONTEXT_API_4_2_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_3_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_3_autogen.h new file mode 100644 index 000000000000..ec38f50a9aae --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_3_autogen.h @@ -0,0 +1,36 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_3_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_3_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_3_AUTOGEN_H_ + +#define ANGLE_GL_4_3_CONTEXT_API \ + void clearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, \ + const void *data); \ + void clearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, \ + GLsizeiptr size, GLenum format, GLenum type, const void *data); \ + void getInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, \ + GLsizei bufSize, GLint64 *params); \ + void invalidateBufferData(BufferID bufferPacked); \ + void invalidateBufferSubData(BufferID bufferPacked, GLintptr offset, GLsizeiptr length); \ + void invalidateTexImage(TextureID texturePacked, GLint level); \ + void invalidateTexSubImage(TextureID texturePacked, GLint level, GLint xoffset, GLint yoffset, \ + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); \ + void multiDrawArraysIndirect(GLenum mode, const void *indirect, GLsizei drawcount, \ + GLsizei stride); \ + void multiDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect, \ + GLsizei drawcount, GLsizei stride); \ + void shaderStorageBlockBinding(ShaderProgramID programPacked, GLuint storageBlockIndex, \ + GLuint storageBlockBinding); \ + void textureView(TextureID texturePacked, GLenum target, GLuint origtexture, \ + GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, \ + GLuint numlayers); \ + void vertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); + +#endif // ANGLE_CONTEXT_API_4_3_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_4_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_4_autogen.h new file mode 100644 index 000000000000..48e035f08650 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_4_autogen.h @@ -0,0 +1,30 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_4_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_4_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_4_AUTOGEN_H_ + +#define ANGLE_GL_4_4_CONTEXT_API \ + void bindBuffersBase(GLenum target, GLuint first, GLsizei count, \ + const BufferID *buffersPacked); \ + void bindBuffersRange(GLenum target, GLuint first, GLsizei count, \ + const BufferID *buffersPacked, const GLintptr *offsets, \ + const GLsizeiptr *sizes); \ + void bindImageTextures(GLuint first, GLsizei count, const GLuint *textures); \ + void bindSamplers(GLuint first, GLsizei count, const GLuint *samplers); \ + void bindTextures(GLuint first, GLsizei count, const GLuint *textures); \ + void bindVertexBuffers(GLuint first, GLsizei count, const BufferID *buffersPacked, \ + const GLintptr *offsets, const GLsizei *strides); \ + void clearTexImage(TextureID texturePacked, GLint level, GLenum format, GLenum type, \ + const void *data); \ + void clearTexSubImage(TextureID texturePacked, GLint level, GLint xoffset, GLint yoffset, \ + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, \ + GLenum format, GLenum type, const void *data); + +#endif // ANGLE_CONTEXT_API_4_4_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_5_autogen.h similarity index 54% rename from gfx/angle/checkout/src/libANGLE/Context_gl_4_autogen.h rename to gfx/angle/checkout/src/libANGLE/Context_gl_4_5_autogen.h index 8d880b7c3942..a582c436b2d8 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gl_4_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_5_autogen.h @@ -5,162 +5,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// Context_gl_4_autogen.h: Creates a macro for interfaces in Context. +// Context_gl_4_5_autogen.h: Creates a macro for interfaces in Context. -#ifndef ANGLE_CONTEXT_GL_4_AUTOGEN_H_ -#define ANGLE_CONTEXT_GL_4_AUTOGEN_H_ +#ifndef ANGLE_CONTEXT_GL_4_5_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_5_AUTOGEN_H_ -#define ANGLE_GL_4_CONTEXT_API \ - void beginQueryIndexed(GLenum target, GLuint index, QueryID idPacked); \ - void drawTransformFeedback(GLenum mode, TransformFeedbackID idPacked); \ - void drawTransformFeedbackStream(GLenum mode, TransformFeedbackID idPacked, GLuint stream); \ - void endQueryIndexed(GLenum target, GLuint index); \ - void getActiveSubroutineName(ShaderProgramID programPacked, GLenum shadertype, GLuint index, \ - GLsizei bufsize, GLsizei *length, GLchar *name); \ - void getActiveSubroutineUniformName(ShaderProgramID programPacked, GLenum shadertype, \ - GLuint index, GLsizei bufsize, GLsizei *length, \ - GLchar *name); \ - void getActiveSubroutineUniformiv(ShaderProgramID programPacked, GLenum shadertype, \ - GLuint index, GLenum pname, GLint *values); \ - void getProgramStageiv(ShaderProgramID programPacked, GLenum shadertype, GLenum pname, \ - GLint *values); \ - void getQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params); \ - GLuint getSubroutineIndex(ShaderProgramID programPacked, GLenum shadertype, \ - const GLchar *name); \ - GLint getSubroutineUniformLocation(ShaderProgramID programPacked, GLenum shadertype, \ - const GLchar *name); \ - void getUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params); \ - void getUniformdv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLdouble *params); \ - void patchParameterfv(GLenum pname, const GLfloat *values); \ - void uniform1d(UniformLocation locationPacked, GLdouble x); \ - void uniform1dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ - void uniform2d(UniformLocation locationPacked, GLdouble x, GLdouble y); \ - void uniform2dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ - void uniform3d(UniformLocation locationPacked, GLdouble x, GLdouble y, GLdouble z); \ - void uniform3dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ - void uniform4d(UniformLocation locationPacked, GLdouble x, GLdouble y, GLdouble z, \ - GLdouble w); \ - void uniform4dv(UniformLocation locationPacked, GLsizei count, const GLdouble *value); \ - void uniformMatrix2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix2x3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix2x4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix3x2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix3x4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix4dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix4x2dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformMatrix4x3dv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ - const GLdouble *value); \ - void uniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices); \ - void depthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v); \ - void depthRangeIndexed(GLuint index, GLdouble n, GLdouble f); \ - void getDoublei_v(GLenum target, GLuint index, GLdouble *data); \ - void getFloati_v(GLenum target, GLuint index, GLfloat *data); \ - void getVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params); \ - void programUniform1d(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLdouble v0); \ - void programUniform1dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, const GLdouble *value); \ - void programUniform2d(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLdouble v0, GLdouble v1); \ - void programUniform2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, const GLdouble *value); \ - void programUniform3d(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLdouble v0, GLdouble v1, GLdouble v2); \ - void programUniform3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, const GLdouble *value); \ - void programUniform4d(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); \ - void programUniform4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, const GLdouble *value); \ - void programUniformMatrix2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix2x3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix2x4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix3x2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix3x4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix4dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix4x2dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void programUniformMatrix4x3dv(ShaderProgramID programPacked, UniformLocation locationPacked, \ - GLsizei count, GLboolean transpose, const GLdouble *value); \ - void scissorArrayv(GLuint first, GLsizei count, const GLint *v); \ - void scissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); \ - void scissorIndexedv(GLuint index, const GLint *v); \ - void vertexAttribL1d(GLuint index, GLdouble x); \ - void vertexAttribL1dv(GLuint index, const GLdouble *v); \ - void vertexAttribL2d(GLuint index, GLdouble x, GLdouble y); \ - void vertexAttribL2dv(GLuint index, const GLdouble *v); \ - void vertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); \ - void vertexAttribL3dv(GLuint index, const GLdouble *v); \ - void vertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); \ - void vertexAttribL4dv(GLuint index, const GLdouble *v); \ - void vertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, \ - const void *pointer); \ - void viewportArrayv(GLuint first, GLsizei count, const GLfloat *v); \ - void viewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); \ - void viewportIndexedfv(GLuint index, const GLfloat *v); \ - void drawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, \ - const void *indices, GLsizei instancecount, \ - GLuint baseinstance); \ - void drawTransformFeedbackInstanced(GLenum mode, TransformFeedbackID idPacked, \ - GLsizei instancecount); \ - void drawTransformFeedbackStreamInstanced(GLenum mode, TransformFeedbackID idPacked, \ - GLuint stream, GLsizei instancecount); \ - void getActiveAtomicCounterBufferiv(ShaderProgramID programPacked, GLuint bufferIndex, \ - GLenum pname, GLint *params); \ - void clearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, \ - const void *data); \ - void clearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, \ - GLsizeiptr size, GLenum format, GLenum type, const void *data); \ - void getInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, \ - GLsizei bufSize, GLint64 *params); \ - void invalidateBufferData(BufferID bufferPacked); \ - void invalidateBufferSubData(BufferID bufferPacked, GLintptr offset, GLsizeiptr length); \ - void invalidateTexImage(TextureID texturePacked, GLint level); \ - void invalidateTexSubImage(TextureID texturePacked, GLint level, GLint xoffset, GLint yoffset, \ - GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); \ - void multiDrawArraysIndirect(GLenum mode, const void *indirect, GLsizei drawcount, \ - GLsizei stride); \ - void multiDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect, \ - GLsizei drawcount, GLsizei stride); \ - void shaderStorageBlockBinding(ShaderProgramID programPacked, GLuint storageBlockIndex, \ - GLuint storageBlockBinding); \ - void textureView(TextureID texturePacked, GLenum target, GLuint origtexture, \ - GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, \ - GLuint numlayers); \ - void vertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); \ - void bindBuffersBase(GLenum target, GLuint first, GLsizei count, \ - const BufferID *buffersPacked); \ - void bindBuffersRange(GLenum target, GLuint first, GLsizei count, \ - const BufferID *buffersPacked, const GLintptr *offsets, \ - const GLsizeiptr *sizes); \ - void bindImageTextures(GLuint first, GLsizei count, const GLuint *textures); \ - void bindSamplers(GLuint first, GLsizei count, const GLuint *samplers); \ - void bindTextures(GLuint first, GLsizei count, const GLuint *textures); \ - void bindVertexBuffers(GLuint first, GLsizei count, const BufferID *buffersPacked, \ - const GLintptr *offsets, const GLsizei *strides); \ - void clearTexImage(TextureID texturePacked, GLint level, GLenum format, GLenum type, \ - const void *data); \ - void clearTexSubImage(TextureID texturePacked, GLint level, GLint xoffset, GLint yoffset, \ - GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, \ - GLenum format, GLenum type, const void *data); \ +#define ANGLE_GL_4_5_CONTEXT_API \ void bindTextureUnit(GLuint unit, TextureID texturePacked); \ void blitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, \ GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, \ @@ -178,6 +28,7 @@ const GLint *value); \ void clearNamedFramebufferuiv(FramebufferID framebufferPacked, GLenum buffer, \ GLint drawbuffer, const GLuint *value); \ + void clipControl(GLenum origin, GLenum depth); \ void compressedTextureSubImage1D(TextureID texturePacked, GLint level, GLint xoffset, \ GLsizei width, GLenum format, GLsizei imageSize, \ const void *data); \ @@ -352,14 +203,6 @@ BufferID bufferPacked, GLintptr offset, GLsizei stride); \ void vertexArrayVertexBuffers(VertexArrayID vaobjPacked, GLuint first, GLsizei count, \ const BufferID *buffersPacked, const GLintptr *offsets, \ - const GLsizei *strides); \ - void multiDrawArraysIndirectCount(GLenum mode, const void *indirect, GLintptr drawcount, \ - GLsizei maxdrawcount, GLsizei stride); \ - void multiDrawElementsIndirectCount(GLenum mode, GLenum type, const void *indirect, \ - GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); \ - void polygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp); \ - void specializeShader(GLuint shader, const GLchar *pEntryPoint, \ - GLuint numSpecializationConstants, const GLuint *pConstantIndex, \ - const GLuint *pConstantValue); + const GLsizei *strides); -#endif // ANGLE_CONTEXT_API_4_AUTOGEN_H_ +#endif // ANGLE_CONTEXT_API_4_5_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gl_4_6_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gl_4_6_autogen.h new file mode 100644 index 000000000000..33faee8870f6 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/Context_gl_4_6_autogen.h @@ -0,0 +1,23 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// Context_gl_4_6_autogen.h: Creates a macro for interfaces in Context. + +#ifndef ANGLE_CONTEXT_GL_4_6_AUTOGEN_H_ +#define ANGLE_CONTEXT_GL_4_6_AUTOGEN_H_ + +#define ANGLE_GL_4_6_CONTEXT_API \ + void multiDrawArraysIndirectCount(GLenum mode, const void *indirect, GLintptr drawcount, \ + GLsizei maxdrawcount, GLsizei stride); \ + void multiDrawElementsIndirectCount(GLenum mode, GLenum type, const void *indirect, \ + GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); \ + void polygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp); \ + void specializeShader(GLuint shader, const GLchar *pEntryPoint, \ + GLuint numSpecializationConstants, const GLuint *pConstantIndex, \ + const GLuint *pConstantValue); + +#endif // ANGLE_CONTEXT_API_4_6_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gles_1_0.cpp b/gfx/angle/checkout/src/libANGLE/Context_gles_1_0.cpp index 611085cfae75..4e99f821a72e 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gles_1_0.cpp +++ b/gfx/angle/checkout/src/libANGLE/Context_gles_1_0.cpp @@ -100,10 +100,8 @@ void Context::color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) void Context::colorPointer(GLint size, VertexAttribType type, GLsizei stride, const void *ptr) { - // Note that we normalize data for UnsignedByte types. This is to match the behavior - // of current native GLES drivers. - vertexAttribPointer(vertexArrayIndex(ClientVertexArrayType::Color), size, type, - type == VertexAttribType::UnsignedByte, stride, ptr); + vertexAttribPointer(vertexArrayIndex(ClientVertexArrayType::Color), size, type, GL_FALSE, + stride, ptr); } void Context::depthRangex(GLfixed n, GLfixed f) diff --git a/gfx/angle/checkout/src/libANGLE/Context_gles_3_0_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gles_3_0_autogen.h index 32095f30008c..cf110bf4535d 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gles_3_0_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Context_gles_3_0_autogen.h @@ -60,12 +60,10 @@ void genSamplers(GLsizei count, SamplerID *samplersPacked); \ void genTransformFeedbacks(GLsizei n, TransformFeedbackID *idsPacked); \ void genVertexArrays(GLsizei n, VertexArrayID *arraysPacked); \ - void getActiveUniformBlockName(ShaderProgramID programPacked, \ - UniformBlockIndex uniformBlockIndexPacked, GLsizei bufSize, \ - GLsizei *length, GLchar *uniformBlockName); \ - void getActiveUniformBlockiv(ShaderProgramID programPacked, \ - UniformBlockIndex uniformBlockIndexPacked, GLenum pname, \ - GLint *params); \ + void getActiveUniformBlockName(ShaderProgramID programPacked, GLuint uniformBlockIndex, \ + GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); \ + void getActiveUniformBlockiv(ShaderProgramID programPacked, GLuint uniformBlockIndex, \ + GLenum pname, GLint *params); \ void getActiveUniformsiv(ShaderProgramID programPacked, GLsizei uniformCount, \ const GLuint *uniformIndices, GLenum pname, GLint *params); \ void getBufferParameteri64v(BufferBinding targetPacked, GLenum pname, GLint64 *params); \ @@ -136,8 +134,7 @@ void uniform3uiv(UniformLocation locationPacked, GLsizei count, const GLuint *value); \ void uniform4ui(UniformLocation locationPacked, GLuint v0, GLuint v1, GLuint v2, GLuint v3); \ void uniform4uiv(UniformLocation locationPacked, GLsizei count, const GLuint *value); \ - void uniformBlockBinding(ShaderProgramID programPacked, \ - UniformBlockIndex uniformBlockIndexPacked, \ + void uniformBlockBinding(ShaderProgramID programPacked, GLuint uniformBlockIndex, \ GLuint uniformBlockBinding); \ void uniformMatrix2x3fv(UniformLocation locationPacked, GLsizei count, GLboolean transpose, \ const GLfloat *value); \ diff --git a/gfx/angle/checkout/src/libANGLE/Context_gles_ext_autogen.h b/gfx/angle/checkout/src/libANGLE/Context_gles_ext_autogen.h index 18ee4561537a..52a8db1c4703 100644 --- a/gfx/angle/checkout/src/libANGLE/Context_gles_ext_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Context_gles_ext_autogen.h @@ -44,226 +44,6 @@ void texGenx(GLenum coord, GLenum pname, GLfixed param); \ void texGenxv(GLenum coord, GLenum pname, const GLfixed *params); \ \ - /* GLES2+ Extensions */ \ - \ - /* GL_ANGLE_base_vertex_base_instance */ \ - void drawArraysInstancedBaseInstance(PrimitiveMode modePacked, GLint first, GLsizei count, \ - GLsizei instanceCount, GLuint baseInstance); \ - void drawElementsInstancedBaseVertexBaseInstance( \ - PrimitiveMode modePacked, GLsizei count, DrawElementsType typePacked, \ - const GLvoid *indices, GLsizei instanceCounts, GLint baseVertex, GLuint baseInstance); \ - void multiDrawArraysInstancedBaseInstance( \ - PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ - const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawcount); \ - void multiDrawElementsInstancedBaseVertexBaseInstance( \ - PrimitiveMode modePacked, const GLsizei *counts, DrawElementsType typePacked, \ - const GLvoid *const *indices, const GLsizei *instanceCounts, const GLint *baseVertices, \ - const GLuint *baseInstances, GLsizei drawcount); \ - /* GL_ANGLE_framebuffer_blit */ \ - /* GL_ANGLE_framebuffer_multisample */ \ - /* GL_ANGLE_instanced_arrays */ \ - /* GL_ANGLE_memory_object_flags */ \ - void texStorageMemFlags2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ - GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ - GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags); \ - void texStorageMemFlags2DMultisample( \ - TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ - GLsizei height, GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ - GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags); \ - void texStorageMemFlags3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ - GLsizei width, GLsizei height, GLsizei depth, \ - MemoryObjectID memoryPacked, GLuint64 offset, \ - GLbitfield createFlags, GLbitfield usageFlags); \ - void texStorageMemFlags3DMultisample(TextureType targetPacked, GLsizei samples, \ - GLenum internalFormat, GLsizei width, GLsizei height, \ - GLsizei depth, GLboolean fixedSampleLocations, \ - MemoryObjectID memoryPacked, GLuint64 offset, \ - GLbitfield createFlags, GLbitfield usageFlags); \ - /* GL_ANGLE_memory_object_fuchsia */ \ - void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size, \ - HandleType handleTypePacked, GLuint handle); \ - /* GL_ANGLE_multi_draw */ \ - void multiDrawArrays(PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ - GLsizei drawcount); \ - void multiDrawArraysInstanced(PrimitiveMode modePacked, const GLint *firsts, \ - const GLsizei *counts, const GLsizei *instanceCounts, \ - GLsizei drawcount); \ - void multiDrawElements(PrimitiveMode modePacked, const GLsizei *counts, \ - DrawElementsType typePacked, const GLvoid *const *indices, \ - GLsizei drawcount); \ - void multiDrawElementsInstanced(PrimitiveMode modePacked, const GLsizei *counts, \ - DrawElementsType typePacked, const GLvoid *const *indices, \ - const GLsizei *instanceCounts, GLsizei drawcount); \ - /* GL_ANGLE_provoking_vertex */ \ - void provokingVertex(ProvokingVertexConvention modePacked); \ - /* GL_ANGLE_semaphore_fuchsia */ \ - void importSemaphoreZirconHandle(SemaphoreID semaphorePacked, HandleType handleTypePacked, \ - GLuint handle); \ - /* GL_ANGLE_texture_multisample */ \ - /* GL_ANGLE_translated_shader_source */ \ - void getTranslatedShaderSource(ShaderProgramID shaderPacked, GLsizei bufsize, GLsizei *length, \ - GLchar *source); \ - /* GL_EXT_EGL_image_array */ \ - /* GL_EXT_YUV_target */ \ - /* GL_EXT_blend_func_extended */ \ - void bindFragDataLocation(ShaderProgramID programPacked, GLuint color, const GLchar *name); \ - void bindFragDataLocationIndexed(ShaderProgramID programPacked, GLuint colorNumber, \ - GLuint index, const GLchar *name); \ - GLint getFragDataIndex(ShaderProgramID programPacked, const GLchar *name); \ - GLint getProgramResourceLocationIndex(ShaderProgramID programPacked, GLenum programInterface, \ - const GLchar *name); \ - /* GL_EXT_buffer_storage */ \ - void bufferStorage(BufferBinding targetPacked, GLsizeiptr size, const void *data, \ - GLbitfield flags); \ - /* GL_EXT_clip_control */ \ - void clipControl(GLenum origin, GLenum depth); \ - /* GL_EXT_compressed_ETC1_RGB8_sub_texture */ \ - /* GL_EXT_copy_image */ \ - /* GL_EXT_debug_label */ \ - void labelObject(GLenum type, GLuint object, GLsizei length, const GLchar *label); \ - /* GL_EXT_debug_marker */ \ - void insertEventMarker(GLsizei length, const GLchar *marker); \ - void popGroupMarker(); \ - void pushGroupMarker(GLsizei length, const GLchar *marker); \ - /* GL_EXT_discard_framebuffer */ \ - void discardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments); \ - /* GL_EXT_disjoint_timer_query */ \ - void getQueryObjecti64v(QueryID idPacked, GLenum pname, GLint64 *params); \ - void getQueryObjectiv(QueryID idPacked, GLenum pname, GLint *params); \ - void getQueryObjectui64v(QueryID idPacked, GLenum pname, GLuint64 *params); \ - void queryCounter(QueryID idPacked, QueryType targetPacked); \ - /* GL_EXT_draw_buffers */ \ - /* GL_EXT_draw_buffers_indexed */ \ - /* GL_EXT_draw_elements_base_vertex */ \ - void multiDrawElementsBaseVertex(PrimitiveMode modePacked, const GLsizei *count, \ - DrawElementsType typePacked, const void *const *indices, \ - GLsizei primcount, const GLint *basevertex); \ - /* GL_EXT_external_buffer */ \ - void bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, \ - GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ - void namedBufferStorageExternal(GLuint buffer, GLintptr offset, GLsizeiptr size, \ - GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ - /* GL_EXT_geometry_shader */ \ - /* GL_EXT_instanced_arrays */ \ - /* GL_EXT_map_buffer_range */ \ - /* GL_EXT_memory_object */ \ - void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ - GLuint64 offset); \ - void createMemoryObjects(GLsizei n, MemoryObjectID *memoryObjectsPacked); \ - void deleteMemoryObjects(GLsizei n, const MemoryObjectID *memoryObjectsPacked); \ - void getMemoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ - GLint *params); \ - void getUnsignedBytev(GLenum pname, GLubyte *data); \ - void getUnsignedBytei_v(GLenum target, GLuint index, GLubyte *data); \ - GLboolean isMemoryObject(MemoryObjectID memoryObjectPacked) const; \ - void memoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ - const GLint *params); \ - void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ - GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ - GLuint64 offset); \ - void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples, \ - GLenum internalFormat, GLsizei width, GLsizei height, \ - GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ - GLuint64 offset); \ - void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ - GLsizei width, GLsizei height, GLsizei depth, \ - MemoryObjectID memoryPacked, GLuint64 offset); \ - void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples, \ - GLenum internalFormat, GLsizei width, GLsizei height, \ - GLsizei depth, GLboolean fixedSampleLocations, \ - MemoryObjectID memoryPacked, GLuint64 offset); \ - /* GL_EXT_memory_object_fd */ \ - void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked, \ - GLint fd); \ - /* GL_EXT_multisampled_render_to_texture */ \ - void framebufferTexture2DMultisample(GLenum target, GLenum attachment, \ - TextureTarget textargetPacked, TextureID texturePacked, \ - GLint level, GLsizei samples); \ - void renderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, \ - GLsizei width, GLsizei height); \ - /* GL_EXT_multisampled_render_to_texture2 */ \ - /* GL_EXT_occlusion_query_boolean */ \ - /* GL_EXT_primitive_bounding_box */ \ - /* GL_EXT_read_format_bgra */ \ - /* GL_EXT_robustness */ \ - /* GL_EXT_sRGB */ \ - /* GL_EXT_semaphore */ \ - void deleteSemaphores(GLsizei n, const SemaphoreID *semaphoresPacked); \ - void genSemaphores(GLsizei n, SemaphoreID *semaphoresPacked); \ - void getSemaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, GLuint64 *params); \ - GLboolean isSemaphore(SemaphoreID semaphorePacked) const; \ - void semaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, \ - const GLuint64 *params); \ - void signalSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ - const BufferID *buffersPacked, GLuint numTextureBarriers, \ - const TextureID *texturesPacked, const GLenum *dstLayouts); \ - void waitSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ - const BufferID *buffersPacked, GLuint numTextureBarriers, \ - const TextureID *texturesPacked, const GLenum *srcLayouts); \ - /* GL_EXT_semaphore_fd */ \ - void importSemaphoreFd(SemaphoreID semaphorePacked, HandleType handleTypePacked, GLint fd); \ - /* GL_EXT_separate_shader_objects */ \ - /* GL_EXT_shader_framebuffer_fetch_non_coherent */ \ - void framebufferFetchBarrier(); \ - /* GL_EXT_shader_io_blocks */ \ - /* GL_EXT_tessellation_shader */ \ - /* GL_EXT_texture_border_clamp */ \ - /* GL_EXT_texture_buffer */ \ - /* GL_EXT_texture_compression_bptc */ \ - /* GL_EXT_texture_compression_dxt1 */ \ - /* GL_EXT_texture_compression_rgtc */ \ - /* GL_EXT_texture_compression_s3tc */ \ - /* GL_EXT_texture_compression_s3tc_srgb */ \ - /* GL_EXT_texture_cube_map_array */ \ - /* GL_EXT_texture_filter_anisotropic */ \ - /* GL_EXT_texture_format_BGRA8888 */ \ - /* GL_EXT_texture_sRGB_R8 */ \ - /* GL_EXT_texture_sRGB_RG8 */ \ - /* GL_EXT_texture_storage */ \ - void texStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); \ - /* GL_KHR_blend_equation_advanced */ \ - /* GL_KHR_debug */ \ - /* GL_KHR_parallel_shader_compile */ \ - void maxShaderCompilerThreads(GLuint count); \ - /* GL_NV_fence */ \ - void deleteFencesNV(GLsizei n, const FenceNVID *fencesPacked); \ - void finishFenceNV(FenceNVID fencePacked); \ - void genFencesNV(GLsizei n, FenceNVID *fencesPacked); \ - void getFenceivNV(FenceNVID fencePacked, GLenum pname, GLint *params); \ - GLboolean isFenceNV(FenceNVID fencePacked) const; \ - void setFenceNV(FenceNVID fencePacked, GLenum condition); \ - GLboolean testFenceNV(FenceNVID fencePacked); \ - /* GL_NV_framebuffer_blit */ \ - void blitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, \ - GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); \ - /* GL_OES_EGL_image */ \ - void eGLImageTargetRenderbufferStorage(GLenum target, GLeglImageOES image); \ - void eGLImageTargetTexture2D(TextureType targetPacked, GLeglImageOES image); \ - /* GL_OES_compressed_ETC1_RGB8_texture */ \ - /* GL_OES_copy_image */ \ - /* GL_OES_depth32 */ \ - /* GL_OES_draw_buffers_indexed */ \ - /* GL_OES_draw_elements_base_vertex */ \ - /* GL_OES_get_program_binary */ \ - /* GL_OES_mapbuffer */ \ - void *mapBuffer(BufferBinding targetPacked, GLenum access); \ - /* GL_OES_sample_shading */ \ - /* GL_OES_shader_io_blocks */ \ - /* GL_OES_texture_3D */ \ - void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \ - TextureID texturePacked, GLint level, GLint zoffset); \ - /* GL_OES_texture_border_clamp */ \ - /* GL_OES_texture_buffer */ \ - /* GL_OES_texture_cube_map_array */ \ - /* GL_OES_texture_half_float */ \ - /* GL_OES_texture_stencil8 */ \ - /* GL_OES_texture_storage_multisample_2d_array */ \ - /* GL_OES_vertex_array_object */ \ - /* GL_OVR_multiview */ \ - void framebufferTextureMultiview(GLenum target, GLenum attachment, TextureID texturePacked, \ - GLint level, GLint baseViewIndex, GLsizei numViews); \ - /* GL_OVR_multiview2 */ \ - \ /* ANGLE Extensions */ \ \ /* GL_ANGLE_copy_texture_3d */ \ @@ -280,7 +60,6 @@ void getTexImage(TextureTarget targetPacked, GLint level, GLenum format, GLenum type, \ void *pixels); \ void getRenderbufferImage(GLenum target, GLenum format, GLenum type, void *pixels); \ - /* GL_ANGLE_get_serialized_context_string */ \ /* GL_ANGLE_get_tex_level_parameter */ \ /* GL_ANGLE_program_binary */ \ /* GL_ANGLE_request_extension */ \ @@ -365,9 +144,9 @@ GLuint *params); \ void getUniformuivRobust(ShaderProgramID programPacked, UniformLocation locationPacked, \ GLsizei bufSize, GLsizei *length, GLuint *params); \ - void getActiveUniformBlockivRobust(ShaderProgramID programPacked, \ - UniformBlockIndex uniformBlockIndexPacked, GLenum pname, \ - GLsizei bufSize, GLsizei *length, GLint *params); \ + void getActiveUniformBlockivRobust(ShaderProgramID programPacked, GLuint uniformBlockIndex, \ + GLenum pname, GLsizei bufSize, GLsizei *length, \ + GLint *params); \ void getInteger64vRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data); \ void getInteger64i_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ GLint64 *data); \ @@ -451,6 +230,208 @@ void coverageModulation(GLenum components); \ /* GL_CHROMIUM_lose_context */ \ void loseContext(GraphicsResetStatus currentPacked, GraphicsResetStatus otherPacked); \ - /* GL_CHROMIUM_path_rendering */ + /* GL_CHROMIUM_path_rendering */ \ + \ + /* GLES2+ Extensions */ \ + \ + /* GL_ANGLE_base_vertex_base_instance */ \ + void drawArraysInstancedBaseInstance(PrimitiveMode modePacked, GLint first, GLsizei count, \ + GLsizei instanceCount, GLuint baseInstance); \ + void drawElementsInstancedBaseVertexBaseInstance( \ + PrimitiveMode modePacked, GLsizei count, DrawElementsType typePacked, \ + const GLvoid *indices, GLsizei instanceCounts, GLint baseVertex, GLuint baseInstance); \ + void multiDrawArraysInstancedBaseInstance( \ + PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ + const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawcount); \ + void multiDrawElementsInstancedBaseVertexBaseInstance( \ + PrimitiveMode modePacked, const GLsizei *counts, DrawElementsType typePacked, \ + const GLvoid *const *indices, const GLsizei *instanceCounts, const GLint *baseVertices, \ + const GLuint *baseInstances, GLsizei drawcount); \ + /* GL_ANGLE_framebuffer_blit */ \ + /* GL_ANGLE_framebuffer_multisample */ \ + /* GL_ANGLE_instanced_arrays */ \ + /* GL_ANGLE_memory_object_flags */ \ + void texStorageMemFlags2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ + GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ + GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags); \ + void texStorageMemFlags2DMultisample( \ + TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ + GLsizei height, GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ + GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags); \ + void texStorageMemFlags3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ + GLsizei width, GLsizei height, GLsizei depth, \ + MemoryObjectID memoryPacked, GLuint64 offset, \ + GLbitfield createFlags, GLbitfield usageFlags); \ + void texStorageMemFlags3DMultisample(TextureType targetPacked, GLsizei samples, \ + GLenum internalFormat, GLsizei width, GLsizei height, \ + GLsizei depth, GLboolean fixedSampleLocations, \ + MemoryObjectID memoryPacked, GLuint64 offset, \ + GLbitfield createFlags, GLbitfield usageFlags); \ + /* GL_ANGLE_memory_object_fuchsia */ \ + void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size, \ + HandleType handleTypePacked, GLuint handle); \ + /* GL_ANGLE_multi_draw */ \ + void multiDrawArrays(PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts, \ + GLsizei drawcount); \ + void multiDrawArraysInstanced(PrimitiveMode modePacked, const GLint *firsts, \ + const GLsizei *counts, const GLsizei *instanceCounts, \ + GLsizei drawcount); \ + void multiDrawElements(PrimitiveMode modePacked, const GLsizei *counts, \ + DrawElementsType typePacked, const GLvoid *const *indices, \ + GLsizei drawcount); \ + void multiDrawElementsInstanced(PrimitiveMode modePacked, const GLsizei *counts, \ + DrawElementsType typePacked, const GLvoid *const *indices, \ + const GLsizei *instanceCounts, GLsizei drawcount); \ + /* GL_ANGLE_provoking_vertex */ \ + void provokingVertex(ProvokingVertexConvention modePacked); \ + /* GL_ANGLE_semaphore_fuchsia */ \ + void importSemaphoreZirconHandle(SemaphoreID semaphorePacked, HandleType handleTypePacked, \ + GLuint handle); \ + /* GL_ANGLE_texture_multisample */ \ + /* GL_ANGLE_translated_shader_source */ \ + void getTranslatedShaderSource(ShaderProgramID shaderPacked, GLsizei bufsize, GLsizei *length, \ + GLchar *source); \ + /* GL_EXT_EGL_image_array */ \ + /* GL_EXT_blend_func_extended */ \ + void bindFragDataLocation(ShaderProgramID programPacked, GLuint color, const GLchar *name); \ + void bindFragDataLocationIndexed(ShaderProgramID programPacked, GLuint colorNumber, \ + GLuint index, const GLchar *name); \ + GLint getFragDataIndex(ShaderProgramID programPacked, const GLchar *name); \ + GLint getProgramResourceLocationIndex(ShaderProgramID programPacked, GLenum programInterface, \ + const GLchar *name); \ + /* GL_EXT_buffer_storage */ \ + void bufferStorage(BufferBinding targetPacked, GLsizeiptr size, const void *data, \ + GLbitfield flags); \ + /* GL_EXT_compressed_ETC1_RGB8_sub_texture */ \ + /* GL_EXT_copy_image */ \ + /* GL_EXT_debug_marker */ \ + void insertEventMarker(GLsizei length, const GLchar *marker); \ + void popGroupMarker(); \ + void pushGroupMarker(GLsizei length, const GLchar *marker); \ + /* GL_EXT_discard_framebuffer */ \ + void discardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments); \ + /* GL_EXT_disjoint_timer_query */ \ + void getQueryObjecti64v(QueryID idPacked, GLenum pname, GLint64 *params); \ + void getQueryObjectiv(QueryID idPacked, GLenum pname, GLint *params); \ + void getQueryObjectui64v(QueryID idPacked, GLenum pname, GLuint64 *params); \ + void queryCounter(QueryID idPacked, QueryType targetPacked); \ + /* GL_EXT_draw_buffers */ \ + /* GL_EXT_draw_buffers_indexed */ \ + /* GL_EXT_draw_elements_base_vertex */ \ + void multiDrawElementsBaseVertex(PrimitiveMode modePacked, const GLsizei *count, \ + DrawElementsType typePacked, const void *const *indices, \ + GLsizei primcount, const GLint *basevertex); \ + /* GL_EXT_external_buffer */ \ + void bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, \ + GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ + void namedBufferStorageExternal(GLuint buffer, GLintptr offset, GLsizeiptr size, \ + GLeglClientBufferEXT clientBuffer, GLbitfield flags); \ + /* GL_EXT_geometry_shader */ \ + /* GL_EXT_instanced_arrays */ \ + /* GL_EXT_map_buffer_range */ \ + /* GL_EXT_memory_object */ \ + void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ + GLuint64 offset); \ + void createMemoryObjects(GLsizei n, MemoryObjectID *memoryObjectsPacked); \ + void deleteMemoryObjects(GLsizei n, const MemoryObjectID *memoryObjectsPacked); \ + void getMemoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ + GLint *params); \ + void getUnsignedBytev(GLenum pname, GLubyte *data); \ + void getUnsignedBytei_v(GLenum target, GLuint index, GLubyte *data); \ + GLboolean isMemoryObject(MemoryObjectID memoryObjectPacked) const; \ + void memoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname, \ + const GLint *params); \ + void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ + GLsizei width, GLsizei height, MemoryObjectID memoryPacked, \ + GLuint64 offset); \ + void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples, \ + GLenum internalFormat, GLsizei width, GLsizei height, \ + GLboolean fixedSampleLocations, MemoryObjectID memoryPacked, \ + GLuint64 offset); \ + void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ + GLsizei width, GLsizei height, GLsizei depth, \ + MemoryObjectID memoryPacked, GLuint64 offset); \ + void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples, \ + GLenum internalFormat, GLsizei width, GLsizei height, \ + GLsizei depth, GLboolean fixedSampleLocations, \ + MemoryObjectID memoryPacked, GLuint64 offset); \ + /* GL_EXT_memory_object_fd */ \ + void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked, \ + GLint fd); \ + /* GL_EXT_multisampled_render_to_texture */ \ + void framebufferTexture2DMultisample(GLenum target, GLenum attachment, \ + TextureTarget textargetPacked, TextureID texturePacked, \ + GLint level, GLsizei samples); \ + void renderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, \ + GLsizei width, GLsizei height); \ + /* GL_EXT_multisampled_render_to_texture2 */ \ + /* GL_EXT_occlusion_query_boolean */ \ + /* GL_EXT_read_format_bgra */ \ + /* GL_EXT_robustness */ \ + /* GL_EXT_sRGB */ \ + /* GL_EXT_semaphore */ \ + void deleteSemaphores(GLsizei n, const SemaphoreID *semaphoresPacked); \ + void genSemaphores(GLsizei n, SemaphoreID *semaphoresPacked); \ + void getSemaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, GLuint64 *params); \ + GLboolean isSemaphore(SemaphoreID semaphorePacked) const; \ + void semaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, \ + const GLuint64 *params); \ + void signalSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ + const BufferID *buffersPacked, GLuint numTextureBarriers, \ + const TextureID *texturesPacked, const GLenum *dstLayouts); \ + void waitSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers, \ + const BufferID *buffersPacked, GLuint numTextureBarriers, \ + const TextureID *texturesPacked, const GLenum *srcLayouts); \ + /* GL_EXT_semaphore_fd */ \ + void importSemaphoreFd(SemaphoreID semaphorePacked, HandleType handleTypePacked, GLint fd); \ + /* GL_EXT_texture_buffer */ \ + /* GL_EXT_texture_compression_bptc */ \ + /* GL_EXT_texture_compression_dxt1 */ \ + /* GL_EXT_texture_compression_rgtc */ \ + /* GL_EXT_texture_compression_s3tc */ \ + /* GL_EXT_texture_compression_s3tc_srgb */ \ + /* GL_EXT_texture_cube_map_array */ \ + /* GL_EXT_texture_filter_anisotropic */ \ + /* GL_EXT_texture_format_BGRA8888 */ \ + /* GL_EXT_texture_sRGB_R8 */ \ + /* GL_EXT_texture_storage */ \ + void texStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); \ + /* GL_KHR_debug */ \ + /* GL_KHR_parallel_shader_compile */ \ + void maxShaderCompilerThreads(GLuint count); \ + /* GL_NV_fence */ \ + void deleteFencesNV(GLsizei n, const FenceNVID *fencesPacked); \ + void finishFenceNV(FenceNVID fencePacked); \ + void genFencesNV(GLsizei n, FenceNVID *fencesPacked); \ + void getFenceivNV(FenceNVID fencePacked, GLenum pname, GLint *params); \ + GLboolean isFenceNV(FenceNVID fencePacked) const; \ + void setFenceNV(FenceNVID fencePacked, GLenum condition); \ + GLboolean testFenceNV(FenceNVID fencePacked); \ + /* GL_OES_EGL_image */ \ + void eGLImageTargetRenderbufferStorage(GLenum target, GLeglImageOES image); \ + void eGLImageTargetTexture2D(TextureType targetPacked, GLeglImageOES image); \ + /* GL_OES_compressed_ETC1_RGB8_texture */ \ + /* GL_OES_copy_image */ \ + /* GL_OES_depth32 */ \ + /* GL_OES_draw_buffers_indexed */ \ + /* GL_OES_draw_elements_base_vertex */ \ + /* GL_OES_get_program_binary */ \ + /* GL_OES_mapbuffer */ \ + void *mapBuffer(BufferBinding targetPacked, GLenum access); \ + /* GL_OES_sample_shading */ \ + /* GL_OES_texture_3D */ \ + void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked, \ + TextureID texturePacked, GLint level, GLint zoffset); \ + /* GL_OES_texture_border_clamp */ \ + /* GL_OES_texture_buffer */ \ + /* GL_OES_texture_cube_map_array */ \ + /* GL_OES_texture_half_float */ \ + /* GL_OES_texture_stencil8 */ \ + /* GL_OES_texture_storage_multisample_2d_array */ \ + /* GL_OES_vertex_array_object */ \ + /* GL_OVR_multiview */ \ + void framebufferTextureMultiview(GLenum target, GLenum attachment, TextureID texturePacked, \ + GLint level, GLint baseViewIndex, GLsizei numViews); \ + /* GL_OVR_multiview2 */ #endif // ANGLE_CONTEXT_API_EXT_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/Device.cpp b/gfx/angle/checkout/src/libANGLE/Device.cpp index 0bff8d02b979..e549af67be1d 100644 --- a/gfx/angle/checkout/src/libANGLE/Device.cpp +++ b/gfx/angle/checkout/src/libANGLE/Device.cpp @@ -110,9 +110,9 @@ Error Device::getAttribute(EGLint attribute, EGLAttrib *value) return error; } -EGLint Device::getType() const +EGLint Device::getType() { - return mImplementation.get()->getType(); + return getImplementation()->getType(); } void Device::initDeviceExtensions() diff --git a/gfx/angle/checkout/src/libANGLE/Device.h b/gfx/angle/checkout/src/libANGLE/Device.h index 8fbdf72e68c4..e28e532a0ba5 100644 --- a/gfx/angle/checkout/src/libANGLE/Device.h +++ b/gfx/angle/checkout/src/libANGLE/Device.h @@ -33,8 +33,8 @@ class Device final : public LabeledObject, angle::NonCopyable EGLLabelKHR getLabel() const override; Error getAttribute(EGLint attribute, EGLAttrib *value); - Display *getOwningDisplay() const { return mOwningDisplay; } - EGLint getType() const; + Display *getOwningDisplay() { return mOwningDisplay; } + EGLint getType(); const DeviceExtensions &getExtensions() const; const std::string &getExtensionString() const; diff --git a/gfx/angle/checkout/src/libANGLE/Display.cpp b/gfx/angle/checkout/src/libANGLE/Display.cpp index 5c121b5d0358..dde4337ba5b7 100644 --- a/gfx/angle/checkout/src/libANGLE/Display.cpp +++ b/gfx/angle/checkout/src/libANGLE/Display.cpp @@ -32,12 +32,12 @@ #include "libANGLE/Context.h" #include "libANGLE/Device.h" #include "libANGLE/EGLSync.h" +#include "libANGLE/FrameCapture.h" #include "libANGLE/Image.h" #include "libANGLE/ResourceManager.h" #include "libANGLE/Stream.h" #include "libANGLE/Surface.h" #include "libANGLE/Thread.h" -#include "libANGLE/capture/FrameCapture.h" #include "libANGLE/histogram_macros.h" #include "libANGLE/renderer/DeviceImpl.h" #include "libANGLE/renderer/DisplayImpl.h" @@ -175,13 +175,6 @@ EGLAttrib GetDisplayTypeFromEnvironment() } #endif -#if defined(ANGLE_ENABLE_METAL) - if (angleDefaultEnv == "metal") - { - return EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE; - } -#endif - #if defined(ANGLE_ENABLE_NULL) if (angleDefaultEnv == "null") { @@ -374,10 +367,11 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib displayType, { impl = rx::CreateVulkanSimpleDisplay(state); } - else if (platformType == EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE && - rx::IsVulkanHeadlessDisplayAvailable()) + else if (platformType == EGL_PLATFORM_VULKAN_DISPLAY_MODE_HEADLESS_ANGLE) { - impl = rx::CreateVulkanHeadlessDisplay(state); + // TODO: anglebug.com/5260 + // Add support for headless rendering + UNIMPLEMENTED(); } else { @@ -689,7 +683,6 @@ Display::Display(EGLenum platform, EGLNativeDisplayType displayId, Device *eglDe mDisplayExtensions(), mDisplayExtensionString(), mVendorString(), - mVersionString(), mDevice(eglDevice), mSurface(nullptr), mPlatform(platform), @@ -870,33 +863,35 @@ Error Display::initialize() initDisplayExtensions(); initVendorString(); - initVersionString(); // Populate the Display's EGLDeviceEXT if the Display wasn't created using one - if (mPlatform == EGL_PLATFORM_DEVICE_EXT) + if (mPlatform != EGL_PLATFORM_DEVICE_EXT) + { + if (mDisplayExtensions.deviceQuery) + { + std::unique_ptr impl(mImplementation->createDevice()); + ASSERT(impl != nullptr); + error = impl->initialize(); + if (error.isError()) + { + ERR() << "Failed to initialize display because device creation failed: " + << error.getMessage(); + mImplementation->terminate(); + return error; + } + mDevice = new Device(this, impl.release()); + } + else + { + mDevice = nullptr; + } + } + else { // For EGL_PLATFORM_DEVICE_EXT, mDevice should always be populated using // an external device ASSERT(mDevice != nullptr); } - else if (GetClientExtensions().deviceQueryEXT) - { - std::unique_ptr impl(mImplementation->createDevice()); - ASSERT(impl); - error = impl->initialize(); - if (error.isError()) - { - ERR() << "Failed to initialize display because device creation failed: " - << error.getMessage(); - mImplementation->terminate(); - return error; - } - mDevice = new Device(this, impl.release()); - } - else - { - mDevice = nullptr; - } mInitialized = true; @@ -1237,13 +1232,6 @@ Error Display::createContext(const Config *configuration, gl::Context *context = new gl::Context(this, configuration, shareContext, shareTextures, shareSemaphores, cachePointer, clientType, attribs, mDisplayExtensions, GetClientExtensions()); - Error error = context->initialize(); - if (error.isError()) - { - delete context; - return error; - } - if (shareContext != nullptr) { shareContext->setShared(); @@ -1298,11 +1286,14 @@ Error Display::makeCurrent(gl::Context *previousContext, // If the context is changing we need to update the reference counts. If it's not, e.g. just // changing the surfaces leave the reference count alone. Otherwise the reference count might go // to zero even though we know we are not done with the context. - bool contextChanged = context != previousContext; - if (previousContext != nullptr && contextChanged) + bool updateRefCount = context != previousContext; + if (previousContext != nullptr) { ANGLE_TRY(previousContext->unMakeCurrent(this)); - ANGLE_TRY(releaseContext(previousContext)); + if (updateRefCount) + { + ANGLE_TRY(releaseContext(previousContext)); + } } ANGLE_TRY(mImplementation->makeCurrent(this, drawSurface, readSurface, context)); @@ -1310,7 +1301,7 @@ Error Display::makeCurrent(gl::Context *previousContext, if (context != nullptr) { ANGLE_TRY(context->makeCurrent(this, drawSurface, readSurface)); - if (contextChanged) + if (updateRefCount) { context->addRef(); } @@ -1439,17 +1430,6 @@ Error Display::releaseContext(gl::Context *context) } Error Display::destroyContext(const Thread *thread, gl::Context *context) -{ - return destroyContextWithSurfaces(thread, context, thread->getContext(), - thread->getCurrentDrawSurface(), - thread->getCurrentReadSurface()); -} - -Error Display::destroyContextWithSurfaces(const Thread *thread, - gl::Context *context, - gl::Context *currentContext, - Surface *currentDrawSurface, - Surface *currentReadSurface) { size_t refCount = context->getRefCount(); if (refCount > 1) @@ -1459,16 +1439,11 @@ Error Display::destroyContextWithSurfaces(const Thread *thread, } // This is the last reference for this context, so we can destroy it now. + gl::Context *currentContext = thread->getContext(); + Surface *currentDrawSurface = thread->getCurrentDrawSurface(); + Surface *currentReadSurface = thread->getCurrentReadSurface(); bool changeContextForDeletion = context != currentContext; - // For external context, we cannot change the current native context, and the API user should - // make sure the native context is current. - if (changeContextForDeletion && context->isExternal()) - { - ASSERT(!currentContext); - changeContextForDeletion = false; - } - // Make the context being deleted current during its deletion. This allows it to delete // any resources it's holding. if (changeContextForDeletion) @@ -1692,7 +1667,6 @@ static ClientExtensions GenerateClientExtensions() extensions.debug = true; extensions.explicitContext = true; extensions.featureControlANGLE = true; - extensions.deviceQueryEXT = true; return extensions; } @@ -1779,7 +1753,7 @@ Error Display::validateImageClientBuffer(const gl::Context *context, return mImplementation->validateImageClientBuffer(context, target, clientBuffer, attribs); } -Error Display::valdiatePixmap(const Config *config, +Error Display::valdiatePixmap(Config *config, EGLNativePixmapType pixmap, const AttributeMap &attributes) const { @@ -1831,35 +1805,19 @@ bool Display::isValidNativeDisplay(EGLNativeDisplayType display) void Display::initVendorString() { - mVendorString = "Google Inc."; - std::string vendorStringImpl = mImplementation->getVendorString(); - if (!vendorStringImpl.empty()) - { - mVendorString += " (" + vendorStringImpl + ")"; - } -} - -void Display::initVersionString() -{ - mVersionString = mImplementation->getVersionString(); + mVendorString = mImplementation->getVendorString(); } void Display::initializeFrontendFeatures() { // Enable on all Impls ANGLE_FEATURE_CONDITION((&mFrontendFeatures), loseContextOnOutOfMemory, true); + ANGLE_FEATURE_CONDITION((&mFrontendFeatures), scalarizeVecAndMatConstructorArgs, true); ANGLE_FEATURE_CONDITION((&mFrontendFeatures), allowCompressedFormats, true); - // No longer enable this on any Impl - crbug.com/1165751 - ANGLE_FEATURE_CONDITION((&mFrontendFeatures), scalarizeVecAndMatConstructorArgs, false); - mImplementation->initializeFrontendFeatures(&mFrontendFeatures); rx::ApplyFeatureOverrides(&mFrontendFeatures, mState); - - // Disabled by default. To reduce the risk, create a feature to enable - // compressing pipeline cache in multi-thread pool. - ANGLE_FEATURE_CONDITION(&mFrontendFeatures, enableCompressingPipelineCacheInThreadPool, false); } const DisplayExtensions &Display::getExtensions() const @@ -1877,26 +1835,6 @@ const std::string &Display::getVendorString() const return mVendorString; } -const std::string &Display::getVersionString() const -{ - return mVersionString; -} - -std::string Display::getBackendRendererDescription() const -{ - return mImplementation->getRendererDescription(); -} - -std::string Display::getBackendVendorString() const -{ - return mImplementation->getVendorString(); -} - -std::string Display::getBackendVersionString() const -{ - return mImplementation->getVersionString(); -} - Device *Display::getDevice() const { return mDevice; @@ -2107,11 +2045,8 @@ void Display::returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer, bufferVector->push_back(std::move(scratchBuffer)); } -Error Display::handleGPUSwitch() +egl::Error Display::handleGPUSwitch() { - ANGLE_TRY(mImplementation->handleGPUSwitch()); - initVendorString(); - return NoError(); + return mImplementation->handleGPUSwitch(); } - } // namespace egl diff --git a/gfx/angle/checkout/src/libANGLE/Display.h b/gfx/angle/checkout/src/libANGLE/Display.h index 1b4e6879776e..4ac6336e0f3a 100644 --- a/gfx/angle/checkout/src/libANGLE/Display.h +++ b/gfx/angle/checkout/src/libANGLE/Display.h @@ -180,11 +180,6 @@ class Display final : public LabeledObject, void destroyImage(Image *image); void destroyStream(Stream *stream); Error destroyContext(const Thread *thread, gl::Context *context); - Error destroyContextWithSurfaces(const Thread *thread, - gl::Context *context, - gl::Context *currentContext, - Surface *currentDrawSurface, - Surface *currentReadSurface); void destroySync(Sync *sync); bool isInitialized() const; @@ -204,7 +199,7 @@ class Display final : public LabeledObject, EGLenum target, EGLClientBuffer clientBuffer, const egl::AttributeMap &attribs) const; - Error valdiatePixmap(const Config *config, + Error valdiatePixmap(Config *config, EGLNativePixmapType pixmap, const AttributeMap &attributes) const; @@ -232,11 +227,6 @@ class Display final : public LabeledObject, const DisplayExtensions &getExtensions() const; const std::string &getExtensionString() const; const std::string &getVendorString() const; - const std::string &getVersionString() const; - - std::string getBackendRendererDescription() const; - std::string getBackendVendorString() const; - std::string getBackendVersionString() const; EGLint programCacheGetAttrib(EGLenum attrib) const; Error programCacheQuery(EGLint index, @@ -303,7 +293,6 @@ class Display final : public LabeledObject, void initDisplayExtensions(); void initVendorString(); - void initVersionString(); void initializeFrontendFeatures(); angle::ScratchBuffer requestScratchBufferImpl(std::vector *bufferVector); @@ -338,7 +327,6 @@ class Display final : public LabeledObject, std::string mDisplayExtensionString; std::string mVendorString; - std::string mVersionString; Device *mDevice; Surface *mSurface; diff --git a/gfx/angle/checkout/src/libANGLE/Error.h b/gfx/angle/checkout/src/libANGLE/Error.h index 2b09aec6364a..b7d7e6af0a83 100644 --- a/gfx/angle/checkout/src/libANGLE/Error.h +++ b/gfx/angle/checkout/src/libANGLE/Error.h @@ -186,22 +186,6 @@ inline bool IsError(const egl::Error &err) return err.isError(); } -// TODO(jmadill): Remove this when refactor is complete. http://anglebug.com/3041 -inline bool IsError(bool value) -{ - return !value; -} - -// Utility macro for handling implementation methods inside Validation. -#define ANGLE_HANDLE_VALIDATION_ERR(X) \ - do \ - { \ - (void)(X); \ - return false; \ - } while (0) - -#define ANGLE_VALIDATION_TRY(EXPR) ANGLE_TRY_TEMPLATE(EXPR, ANGLE_HANDLE_VALIDATION_ERR) - #include "Error.inc" #endif // LIBANGLE_ERROR_H_ diff --git a/gfx/angle/checkout/src/libANGLE/ErrorStrings.h b/gfx/angle/checkout/src/libANGLE/ErrorStrings.h index c46db55d06af..b15016fe56eb 100644 --- a/gfx/angle/checkout/src/libANGLE/ErrorStrings.h +++ b/gfx/angle/checkout/src/libANGLE/ErrorStrings.h @@ -52,7 +52,6 @@ MSG kBlitTypeMismatchFixedOrFloat = "If the read buffer contains fixed-point or MSG kBlitTypeMismatchFixedPoint = "If the read buffer contains fixed-point values, the draw buffer must as well."; MSG kBlitTypeMismatchSignedInteger = "If the read buffer contains signed integer values the draw buffer must as well."; MSG kBlitTypeMismatchUnsignedInteger = "If the read buffer contains unsigned integer values the draw buffer must as well."; -MSG kBlitYUVFramebuffer = "Blitting to or from a YUV framebuffer is disallowed."; MSG kBufferAlreadyMapped = "Buffer is already mapped."; MSG kBufferBoundForTransformFeedback = "Buffer is bound for transform feedback."; MSG kBufferImmutable = "Buffer is immutable."; @@ -64,7 +63,6 @@ MSG kBufferNotUpdatable = "Buffer is not updatable."; MSG kBufferOffsetOverflow = "Buffer offset overflow."; MSG kBufferPointerNotAvailable = "Can not get pointer for reserved buffer name zero."; MSG kCannotPopDefaultDebugGroup = "Cannot pop the default debug group."; -MSG kClientBufferInvalid = "Size must not exceed the size of clientbuffer"; MSG kClientDataInVertexArray = "Client data cannot be used with a non-default vertex array object."; MSG kColorNumberGreaterThanMaxDrawBuffers = "Color number for primary color greater than or equal to MAX_DRAW_BUFFERS"; MSG kColorNumberGreaterThanMaxDualSourceDrawBuffers = "Color number for secondary color greater than or equal to MAX_DUAL_SOURCE_DRAW_BUFFERS"; @@ -75,7 +73,6 @@ MSG kCompressedTexturesNotAttachable = "Compressed textures cannot be attached t MSG kConstantColorAlphaLimitation = "Simultaneous use of GL_CONSTANT_ALPHA/GL_ONE_MINUS_CONSTANT_ALPHA and GL_CONSTANT_COLOR/GL_ONE_MINUS_CONSTANT_COLOR as color factors is not supported by this implementation."; MSG kContextLost = "Context has been lost."; MSG kCopyAlias = "The read and write copy regions alias memory."; -MSG kCopyFromYUVFramebuffer = "Copying from a YUV framebuffer is disallowed."; MSG kCubemapFacesEqualDimensions = "Each cubemap face must have equal width and height."; MSG kCubemapIncomplete = "Texture is not cubemap complete. All cubemaps faces must be defined and be the same size."; MSG kCubemapInvalidDepth = "The cubemap depth must be a multiple of 6."; @@ -133,8 +130,6 @@ MSG kExpectedShaderName = "Expected a shader name, but found a program name."; MSG kExtensionNotEnabled = "Extension is not enabled."; MSG kExtensionNotDisablable = "Extension is not disablable."; MSG kExtensionNotRequestable = "Extension is not requestable."; -MSG kExternalBufferInvalidOffset = "Offset must be zero for external buffers"; -MSG kExternalTextureAttachmentNotYUV = "External texture attached to framebuffer is not YUV."; MSG kExternalTextureNotSupported = "External texture extension not enabled"; MSG kFeedbackLoop = "Feedback loop formed between Framebuffer and active Texture."; MSG kFixedNotInWebGL = "GL_FIXED is not supported in WebGL."; @@ -143,41 +138,6 @@ MSG kFragDataBindingIndexOutOfRange = "Fragment output color index must be zero MSG kFragmentInputTypeNotFloatingPoint = "Fragment input type is not a floating point scalar or vector."; MSG kFramebufferIncomplete = "Framebuffer is incomplete."; MSG kFramebufferIncompleteAttachment = "Attachment type must be compatible with attachment object."; -MSG kFramebufferIncompleteAttachmentDepthGreaterThanMaxLayers = "Framebuffer is incomplete: Attachment depth is greater than MAX_FRAMEBUFFER_LAYERS."; -MSG kFramebufferIncompleteAttachmentInconsistantBitPlanes = "Framebuffer is incomplete: Attachments have inconsistent bit plane counts."; -MSG kFramebufferIncompleteAttachmentLayerGreaterThanDepth = "Framebuffer is incomplete: Attachment layer is greater than texture layer count."; -MSG kFramebufferIncompleteAttachmentLevelNotBaseLevelForIncompleteMipTexture = "Framebuffer is incomplete: Attachment level not equal to the base level and the texture is not mipmap complete."; -MSG kFramebufferIncompleteAttachmentLevelOutOfBaseMaxLevelRange = "Framebuffer is incomplete: Attachment level is not in the [base level, max level] range."; -MSG kFramebufferIncompleteAttachmentNoDepthBitsInDepthBuffer = "Framebuffer is incomplete: Depth attachment has no depth bits."; -MSG kFramebufferIncompleteAttachmentNoStencilBitsInStencilBuffer = "Framebuffer is incomplete: Stencil attachment has no stencil bits."; -MSG kFramebufferIncompleteAttachmentNotCubeComplete = "Framebuffer is incomplete: Attachment is an incomplete cube map."; -MSG kFramebufferIncompleteAttachmentNotRenderable = "Framebuffer is incomplete: Attachment is not renderable."; -MSG kFramebufferIncompleteAttachmentSamplesGreaterThanMaxSupportedSamples = "Framebuffer is incomplete: Attachment samples are greater than the maximum supported samples for this format."; -MSG kFramebufferIncompleteAttachmentsNotUnique = "Framebuffer is incomplete: All attachments must be unique."; -MSG kFramebufferIncompleteAttachmentWebGLDepthBufferHasStencilBits = "Framebuffer is incomplete: Stencil attachment has depth bits."; -MSG kFramebufferIncompleteAttachmentWebGLDepthStencilNoDepthOrStencilBits = "Framebuffer is incomplete: Depth stencil attachment has no depth bits or no stencil bits."; -MSG kFramebufferIncompleteAttachmentWebGLStencilBufferHasDepthBits = "Framebuffer is incomplete: Stencil attachment has depth bits."; -MSG kFramebufferIncompleteAttachmentZeroSize = "Framebuffer is incomplete: Attachment has zero size."; -MSG kFramebufferIncompleteDefaultZeroSize = "Framebuffer is incomplete: No attachments and default size is zero."; -MSG kFramebufferIncompleteDepthAndStencilBuffersNotTheSame = "Framebuffer is incomplete: Depth and stencil attachments are not the same."; -MSG kFramebufferIncompleteDepthStencilInColorBuffer = "Framebuffer is incomplete: Depth stencil texture in color attachment."; -MSG kFramebufferIncompleteDriverUnsupported = "Framebuffer is incomplete: Driver does not support this framebuffer configuration."; -MSG kFramebufferIncompleteInconsistantAttachmentSizes = "Framebuffer is incomplete: Attachments are not all the same size."; -MSG kFramebufferIncompleteInternalError = "Framebuffer is incomplete: Internal error."; -MSG kFramebufferIncompleteMismatchedLayeredAttachments = "Framebuffer is incomplete: If one attachment is layered, all must be layered."; -MSG kFramebufferIncompleteMismatchedLayeredTexturetypes = "Framebuffer is incomplete: If an attachments are layered, they must all be the same texture type."; -MSG kFramebufferIncompleteMultisampleDepthStencilSampleCountDivisibleByColorSampleCount = "Framebuffer is incomplete: Depth stencil sample count must be divisible by the color sample count."; -MSG kFramebufferIncompleteMultisampleInconsistentFixedSampleLocations = "Framebuffer is incomplete: Attachments have inconsistent fixed sample locations."; -MSG kFramebufferIncompleteMultisampleInconsistentSampleCounts = "Framebuffer is incomplete: Attachments have different sample counts."; -MSG kFramebufferIncompleteMultisampleNonFixedSamplesWithRenderbuffers = "Framebuffer is incomplete: All textures must have fixed samples if paired with multisample renderbuffers."; -MSG kFramebufferIncompleteMultiviewBaseViewMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview base view."; -MSG kFramebufferIncompleteMultiviewMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview enabled state."; -MSG kFramebufferIncompleteMultiviewViewsMismatch = "Framebuffer is incomplete: Attachments have inconsistent multiview view counts."; -MSG kFramebufferIncompleteSurfaceless = "Framebuffer is incomplete: Framebuffer is surfaceless."; -MSG kFramebufferIncompleteUnsupportedMissmatchedDimensions = "Framebuffer is incomplete: Mismatched attachment sizes are unsupported."; -MSG kFramebufferIncompleteUnsupportedNonUniqueAttachments = "Framebuffer is incomplete: Non-unique attachments are unsupported."; -MSG kFramebufferIncompleteUnsupportedSeparateDepthStencilBuffers = "Framebuffer is incomplete: Separate depth and stencil buffers are unsupported."; -MSG kFramebufferIncompleteWebGLDepthStencilInconsistant = "Framebuffer is incomplete: WebGL depth stencil state is inconsistent."; MSG kFramebufferTextureInvalidLayer = "Layer invalid for framebuffer texture attachment."; MSG kFramebufferTextureInvalidMipLevel = "Mip level invalid for framebuffer texture attachment."; MSG kFramebufferTextureLayerIncorrectTextureType = "Texture is not a three-dimensional or two-dimensionsal array texture."; @@ -191,8 +151,6 @@ MSG kImageSizeTooSmall = "imageSize is too small."; MSG kImmutableMemoryObject = "The memory object is immutable."; MSG kImmutableTextureBound = "The value of TEXTURE_IMMUTABLE_FORMAT for the texture currently bound to target on the active texture unit is true."; MSG kIncompatibleDrawModeAgainstGeometryShader = "Primitive mode is incompatible with the input primitive type of the geometry shader."; -MSG kIncompatibleDrawModeWithTessellationShader = "When tessellation is active the primitive mode must be GL_PATCHES."; -MSG kIncompatibleDrawModeWithoutTessellationShader = "When tessellation is not active the primitive mode must not be GL_PATCHES."; MSG kIncompatibleTextures = "Texture formats are not compatible"; MSG kIndexExceedsActiveUniformBlockCount = "Index exceeds active uniform block count."; MSG kIndexExceedsMaxActiveUniform = "Index must be less than program active uniform count."; @@ -222,7 +180,6 @@ MSG kInvalidBindBufferSize = "Invalid buffer binding size."; MSG kInvalidBindUniformLocation = "Location must be less than (MAX_VERTEX_UNIFORM_VECTORS + MAX_FRAGMENT_UNIFORM_VECTORS) * 4"; MSG kInvalidBlendEquation = "Invalid blend equation."; MSG kInvalidBlendFunction = "Invalid blend function."; -MSG kInvalidBlendStateForYUV = "Blending must be disabled when writing to YUV framebuffers."; MSG kInvalidBooleanValue = "Invalid boolean value. Must be GL_FALSE or GL_TRUE."; MSG kInvalidBorder = "Border must be 0."; MSG kInvalidBufferName = "name is not a valid buffer."; @@ -232,7 +189,6 @@ MSG kInvalidBufferUsageFlags = "Invalid buffer usage flags."; MSG kInvalidClearMask = "Invalid mask bits."; MSG kInvalidClientState = "Invalid client vertex array type."; MSG kInvalidClipPlane = "Invalid clip plane."; -MSG kInvalidColorMaskForYUV = "Red, green and blue color writes must be enabled when writing to YUV framebuffers."; MSG kInvalidCombinedImageUnit = "Specified unit must be in [GL_TEXTURE0, GL_TEXTURE0 + GL_MAX_COMBINED_IMAGE_UNITS)"; MSG kInvalidComponents = "Invalid components."; MSG kInvalidCompressedFormat = "Not a valid compressed texture format."; @@ -249,7 +205,6 @@ MSG kInvalidDebugSource = "Invalid debug source."; MSG kInvalidDebugSourceType = "If count is greater than zero, source and type cannot be GL_DONT_CARE."; MSG kInvalidDebugType = "Invalid debug type."; MSG kInvalidDefaultReadBuffer = "Read buffer must be GL_NONE or GL_BACK when reading from the default framebuffer."; -MSG kInvalidDepthEnum = "Invalid depth enum."; MSG kInvalidDepthRange = "Near value cannot be greater than far."; MSG kInvalidDepthStencilDrawBuffer = "Draw buffer must be zero when using depth or stencil."; MSG kInvalidDestinationTexture = "Destination texture is not a valid texture object."; @@ -305,7 +260,6 @@ MSG kInvalidMultisampledFramebufferOperation = "Invalid operation on multisample MSG kInvalidMultitextureUnit = "Specified unit must be in [GL_TEXTURE0, GL_TEXTURE0 + GL_MAX_TEXTURE_UNITS)"; MSG kInvalidName = "Invalid name."; MSG kInvalidNameCharacters = "Name contains invalid characters."; -MSG kInvalidOriginEnum = "Invalid origin enum."; MSG kInvalidPackParametersForWebGL = "Invalid combination of pack parameters for WebGL."; MSG kInvalidPname = "Invalid pname."; MSG kInvalidPointerQuery = "Invalid pointer query."; @@ -376,8 +330,6 @@ MSG kInvalidUniformLocation = "Invalid uniform location"; MSG kInvalidUnpackAlignment = "Unpack alignment must be 1, 2, 4 or 8."; MSG kInvalidUnpackParametersForWebGL = "Invalid combination of unpack parameters for WebGL."; MSG kInvalidExternalUsageFlags = "Usage flags must only include bits defined by GL_ANGLE_external_objects_flags"; -MSG kInvalidValueExceedsMaxPatchSize = "Value must be less than or equal to MAX_PATCH_SIZE."; -MSG kInvalidValueNonPositive = "Value must be greater than zero."; MSG kInvalidVaryingLocation = "Location exceeds max varying."; MSG kInvalidVertexArray = "Vertex array does not exist."; MSG kInvalidVertexArrayName = "name is not a valid vertex array."; @@ -443,7 +395,6 @@ MSG kNoActiveGraphicsShaderStage = "It is a undefined behaviour to render withou MSG kNoActiveProgramWithComputeShader = "No active program for the compute shader stage."; MSG kNoDefinedClearConversion = "No defined conversion between clear value and attachment format."; MSG kNonPositiveDrawTextureDimension = "Both width and height argument of drawn texture must be positive."; -MSG kNonPositiveSize = "Size must be greater than 0"; MSG kNoProgramBinaryFormats = "No program binary formats supported."; MSG kNoReadFramebuffer = "No active read framebuffer."; MSG kNoSampleAlphaToCoveragesLimitation = "Current renderer doesn't support alpha-to-coverage."; @@ -500,9 +451,6 @@ MSG kStrideExceedsWebGLLimit = "Stride is over the maximum stride allowed by Web MSG kStrideMustBeMultipleOfType = "Stride must be a multiple of the passed in datatype."; MSG kSyncMissing = "Sync object does not exist."; MSG kTargetMustBeTexture2DMultisampleArrayOES = "Target must be TEXTURE_2D_MULTISAMPLE_ARRAY_OES."; -MSG kTessellationShaderExtensionNotEnabled = "GL_EXT_tessellation_shader extension not enabled."; -MSG kTessellationShaderRequiresBothControlAndEvaluation = "Tessellation requires both control and evaluation shaders."; -MSG kTessellationShaderRequiresVertexShader = "Any command that transfers vertices to the GL requires a vertex shader if the current program uses a tessellation shader."; MSG kTextureBufferExtensionNotAvailable = "Texture buffer extension not available."; MSG kTextureBufferOffsetAlignment = "Offset must be multiple of value of TEXTURE_BUFFER_OFFSET_ALIGNMENT."; MSG kTextureBufferSize = "Texture buffer size must be a positive integer."; @@ -558,8 +506,6 @@ MSG kViewsExceedMaxArrayLayers = "baseViewIndex+numViews cannot be greater than MSG kWebgl2NameLengthLimitExceeded = "Location lengths must not be greater than 1024 characters."; MSG kWebglBindAttribLocationReservedPrefix = "Attributes that begin with 'webgl_', or '_webgl_' are not allowed."; MSG kWebglNameLengthLimitExceeded = "Location name lengths must not be greater than 256 characters."; -MSG kYUVOutputMissmatch = "Program and framebuffer YUV output state does not match."; -MSG kYUVTargetExtensionRequired = "GL_EXT_YUV_target not enabled."; MSG kZeroBoundToTarget = "Zero is bound to target."; MSG kUnrecognizedShaderStageBit = "Unrecognized shader stage bit."; MSG kProgramNotSeparable = "Program object was not linked with its PROGRAM_SEPARABLE status set."; diff --git a/gfx/angle/checkout/src/libANGLE/capture/FrameCapture.h b/gfx/angle/checkout/src/libANGLE/FrameCapture.h similarity index 86% rename from gfx/angle/checkout/src/libANGLE/capture/FrameCapture.h rename to gfx/angle/checkout/src/libANGLE/FrameCapture.h index aa25fbfdc0c8..93c6a1658ab6 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/FrameCapture.h +++ b/gfx/angle/checkout/src/libANGLE/FrameCapture.h @@ -13,8 +13,8 @@ #include "common/PackedEnums.h" #include "libANGLE/Context.h" #include "libANGLE/angletypes.h" -#include "libANGLE/capture/frame_capture_utils_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/frame_capture_utils_autogen.h" namespace gl { @@ -96,7 +96,7 @@ class ParamBuffer final : angle::NonCopyable struct CallCapture { - CallCapture(EntryPoint entryPointIn, ParamBuffer &¶msIn); + CallCapture(gl::EntryPoint entryPointIn, ParamBuffer &¶msIn); CallCapture(const std::string &customFunctionNameIn, ParamBuffer &¶msIn); ~CallCapture(); @@ -105,7 +105,7 @@ struct CallCapture const char *name() const; - EntryPoint entryPoint; + gl::EntryPoint entryPoint; std::string customFunctionName; ParamBuffer params; }; @@ -171,11 +171,11 @@ class DataCounters final : angle::NonCopyable DataCounters(); ~DataCounters(); - int getAndIncrement(EntryPoint entryPoint, const std::string ¶mName); + int getAndIncrement(gl::EntryPoint entryPoint, const std::string ¶mName); private: // - using Counter = std::pair; + using Counter = std::pair; std::map mData; }; @@ -213,9 +213,6 @@ using BufferCalls = std::map>; // true means mapped, false means unmapped using BufferMapStatusMap = std::map; -using FenceSyncSet = std::set; -using FenceSyncCalls = std::map>; - // Helper to track resource changes during the capture class ResourceTracker final : angle::NonCopyable { @@ -261,11 +258,6 @@ class ResourceTracker final : angle::NonCopyable void onShaderProgramAccess(gl::ShaderProgramID shaderProgramID); uint32_t getMaxShaderPrograms() const { return mMaxShaderPrograms; } - FenceSyncSet &getStartingFenceSyncs() { return mStartingFenceSyncs; } - FenceSyncCalls &getFenceSyncRegenCalls() { return mFenceSyncRegenCalls; } - FenceSyncSet &getFenceSyncsToRegen() { return mFenceSyncsToRegen; } - void setDeletedFenceSync(GLsync sync); - private: // Buffer regen calls will delete and gen a buffer BufferCalls mBufferRegenCalls; @@ -295,14 +287,6 @@ class ResourceTracker final : angle::NonCopyable // Maximum accessed shader program ID. uint32_t mMaxShaderPrograms = 0; - - // Fence sync objects created during MEC setup - FenceSyncSet mStartingFenceSyncs; - // Fence sync regen calls will create a fence sync objects - FenceSyncCalls mFenceSyncRegenCalls; - // Fence syncs to regen are a list of starting fence sync objects that were deleted and need to - // be regen'ed. - FenceSyncSet mFenceSyncsToRegen; }; // Used by the CPP replay to filter out unnecessary code. @@ -331,7 +315,7 @@ class FrameCapture final : angle::NonCopyable FrameCapture(); ~FrameCapture(); - void captureCall(const gl::Context *context, CallCapture &&call, bool isCallValid); + void captureCall(const gl::Context *context, CallCapture &&call); void checkForCaptureTrigger(); void onEndFrame(const gl::Context *context); void onDestroyContext(const gl::Context *context); @@ -359,28 +343,17 @@ class FrameCapture final : angle::NonCopyable size_t instanceCount); void captureMappedBufferSnapshot(const gl::Context *context, const CallCapture &call); - void copyCompressedTextureData(const gl::Context *context, const CallCapture &call); void captureCompressedTextureData(const gl::Context *context, const CallCapture &call); void reset(); void maybeOverrideEntryPoint(const gl::Context *context, CallCapture &call); void maybeCapturePreCallUpdates(const gl::Context *context, CallCapture &call); void maybeCapturePostCallUpdates(const gl::Context *context); - void maybeCaptureDrawArraysClientData(const gl::Context *context, - CallCapture &call, - size_t instanceCount); - void maybeCaptureDrawElementsClientData(const gl::Context *context, - CallCapture &call, - size_t instanceCount); static void ReplayCall(gl::Context *context, ReplayContext *replayContext, const CallCapture &call); - void setCaptureActive() { mCaptureActive = true; } - void setCaptureInactive() { mCaptureActive = false; } - bool isCaptureActive() { return mCaptureActive; } - std::vector mSetupCalls; std::vector mFrameCalls; @@ -411,8 +384,6 @@ class FrameCapture final : angle::NonCopyable // Initialize it to the number of frames you want to capture, and then clear the value to 0 when // you reach the content you want to capture. Currently only available on Android. uint32_t mCaptureTrigger; - - bool mCaptureActive = false; }; // Shared class for any items that need to be tracked by FrameCapture across shared contexts @@ -429,23 +400,12 @@ class FrameCaptureShared final : angle::NonCopyable void setProgramSources(gl::ShaderProgramID id, ProgramSources sources); // Load data from a previously stored texture level - const std::vector &retrieveCachedTextureLevel(gl::TextureID id, - gl::TextureTarget target, - GLint level); - - // Create new texture level data and copy the source into it - void copyCachedTextureLevel(const gl::Context *context, - gl::TextureID srcID, - GLint srcLevel, - gl::TextureID dstID, - GLint dstLevel, - const CallCapture &call); + const std::vector &retrieveCachedTextureLevel(gl::TextureID id, GLint level); // Create the location that should be used to cache texture level data - std::vector &getCachedTextureLevelData(gl::Texture *texture, - gl::TextureTarget target, - GLint level, - EntryPoint entryPoint); + std::vector &getTextureLevelCacheLocation(gl::Texture *texture, + gl::TextureTarget target, + GLint level); // Remove any cached texture levels on deletion void deleteCachedTextureLevelData(gl::TextureID id); @@ -468,13 +428,14 @@ void CaptureCallToFrameCapture(CaptureFuncT captureFunc, { FrameCapture *frameCapture = context->getFrameCapture(); if (!frameCapture->isCapturing()) - { return; - } CallCapture call = captureFunc(context->getState(), isCallValid, captureParams...); - frameCapture->captureCall(context, std::move(call), isCallValid); + if (!isCallValid) + INFO() << "FrameCapture: Capturing invalid call to " << GetEntryPointName(call.entryPoint); + + frameCapture->captureCall(context, std::move(call)); } template @@ -503,10 +464,6 @@ std::ostream &operator<<(std::ostream &os, const ParamCapture &capture); void CaptureMemory(const void *source, size_t size, ParamCapture *paramCapture); void CaptureString(const GLchar *str, ParamCapture *paramCapture); void CaptureStringLimit(const GLchar *str, uint32_t limit, ParamCapture *paramCapture); -void CaptureVertexPointerGLES1(const gl::State &glState, - gl::ClientVertexArrayType type, - const void *pointer, - ParamCapture *paramCapture); gl::Program *GetProgramForCapture(const gl::State &glState, gl::ShaderProgramID handle); @@ -518,7 +475,7 @@ void CaptureGetParameter(const gl::State &glState, void CaptureGetActiveUniformBlockivParameters(const gl::State &glState, gl::ShaderProgramID handle, - gl::UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, ParamCapture *paramCapture); @@ -538,11 +495,6 @@ void CaptureGenHandles(GLsizei n, T *handles, ParamCapture *paramCapture) CaptureGenHandlesImpl(n, reinterpret_cast(handles), paramCapture); } -void CaptureShaderStrings(GLsizei count, - const GLchar *const *strings, - const GLint *length, - ParamCapture *paramCapture); - template void WriteParamValueReplay(std::ostream &os, const CallCapture &call, T value); @@ -636,11 +588,6 @@ void WriteParamValueReplay(std::ostream &os, const CallCapture &call, gl::UniformLocation value); -template <> -void WriteParamValueReplay(std::ostream &os, - const CallCapture &call, - gl::UniformBlockIndex value); - template <> void WriteParamValueReplay(std::ostream &os, const CallCapture &call, diff --git a/gfx/angle/checkout/src/libANGLE/capture/FrameCapture_mock.cpp b/gfx/angle/checkout/src/libANGLE/FrameCapture_mock.cpp similarity index 95% rename from gfx/angle/checkout/src/libANGLE/capture/FrameCapture_mock.cpp rename to gfx/angle/checkout/src/libANGLE/FrameCapture_mock.cpp index cdb48a18123b..ee7b52730188 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/FrameCapture_mock.cpp +++ b/gfx/angle/checkout/src/libANGLE/FrameCapture_mock.cpp @@ -7,7 +7,7 @@ // ANGLE mock Frame capture implementation. // -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" #if ANGLE_CAPTURE_ENABLED # error Frame capture must be disabled to include this file. diff --git a/gfx/angle/checkout/src/libANGLE/Framebuffer.cpp b/gfx/angle/checkout/src/libANGLE/Framebuffer.cpp index d4c8ce92a30f..6abb80404ef5 100644 --- a/gfx/angle/checkout/src/libANGLE/Framebuffer.cpp +++ b/gfx/angle/checkout/src/libANGLE/Framebuffer.cpp @@ -15,7 +15,6 @@ #include "libANGLE/Config.h" #include "libANGLE/Context.h" #include "libANGLE/Display.h" -#include "libANGLE/ErrorStrings.h" #include "libANGLE/FramebufferAttachment.h" #include "libANGLE/Renderbuffer.h" #include "libANGLE/Surface.h" @@ -36,48 +35,40 @@ namespace gl namespace { -FramebufferStatus CheckMultiviewStateMatchesForCompleteness( - const FramebufferAttachment *firstAttachment, - const FramebufferAttachment *secondAttachment) +bool CheckMultiviewStateMatchesForCompleteness(const FramebufferAttachment *firstAttachment, + const FramebufferAttachment *secondAttachment) { ASSERT(firstAttachment && secondAttachment); ASSERT(firstAttachment->isAttached() && secondAttachment->isAttached()); if (firstAttachment->getNumViews() != secondAttachment->getNumViews()) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR, - err::kFramebufferIncompleteMultiviewViewsMismatch); + return false; } if (firstAttachment->getBaseViewIndex() != secondAttachment->getBaseViewIndex()) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR, - err::kFramebufferIncompleteMultiviewBaseViewMismatch); + return false; } if (firstAttachment->isMultiview() != secondAttachment->isMultiview()) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR, - err::kFramebufferIncompleteMultiviewMismatch); + return false; } - - return FramebufferStatus::Complete(); + return true; } -FramebufferStatus CheckAttachmentCompleteness(const Context *context, - const FramebufferAttachment &attachment) +bool CheckAttachmentCompleteness(const Context *context, const FramebufferAttachment &attachment) { ASSERT(attachment.isAttached()); const Extents &size = attachment.getSize(); if (size.width == 0 || size.height == 0) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentZeroSize); + return false; } if (!attachment.isRenderable(context)) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentNotRenderable); + return false; } if (attachment.type() == GL_TEXTURE) @@ -90,9 +81,7 @@ FramebufferStatus CheckAttachmentCompleteness(const Context *context, { if (attachment.layer() >= size.depth) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentLayerGreaterThanDepth); + return false; } } // If is a three-dimensional texture or a two-dimensional array texture and the @@ -102,9 +91,7 @@ FramebufferStatus CheckAttachmentCompleteness(const Context *context, { if (size.depth >= context->getCaps().maxFramebufferLayers) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentDepthGreaterThanMaxLayers); + return false; } } @@ -117,9 +104,7 @@ FramebufferStatus CheckAttachmentCompleteness(const Context *context, if (texture->getType() == TextureType::CubeMap && !texture->getTextureState().isCubeComplete()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentNotCubeComplete); + return false; } if (!texture->getImmutableFormat()) @@ -136,9 +121,7 @@ FramebufferStatus CheckAttachmentCompleteness(const Context *context, if (attachmentMipLevel < texture->getBaseLevel() || attachmentMipLevel > texture->getMipmapMaxLevel()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentLevelOutOfBaseMaxLevelRange); + return false; } // Form the ES 3.0 spec, pg 213/214: @@ -149,20 +132,18 @@ FramebufferStatus CheckAttachmentCompleteness(const Context *context, // a cubemap texture, the texture must also be cube complete. if (attachmentMipLevel != texture->getBaseLevel() && !texture->isMipmapComplete()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentLevelNotBaseLevelForIncompleteMipTexture); + return false; } } } - return FramebufferStatus::Complete(); + return true; } -FramebufferStatus CheckAttachmentSampleCounts(const Context *context, - GLsizei currAttachmentSamples, - GLsizei samples, - bool colorAttachment) +bool CheckAttachmentSampleCounts(const Context *context, + GLsizei currAttachmentSamples, + GLsizei samples, + bool colorAttachment) { if (currAttachmentSamples != samples) { @@ -170,9 +151,7 @@ FramebufferStatus CheckAttachmentSampleCounts(const Context *context, { // APPLE_framebuffer_multisample, which EXT_draw_buffers refers to, requires that // all color attachments have the same number of samples for the FBO to be complete. - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err::kFramebufferIncompleteMultisampleInconsistentSampleCounts); + return false; } else { @@ -180,30 +159,24 @@ FramebufferStatus CheckAttachmentSampleCounts(const Context *context, // when its depth or stencil samples are a multiple of the number of color samples. if (!context->getExtensions().framebufferMixedSamples) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err::kFramebufferIncompleteMultisampleInconsistentSampleCounts); + return false; } if ((currAttachmentSamples % std::max(samples, 1)) != 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err:: - kFramebufferIncompleteMultisampleDepthStencilSampleCountDivisibleByColorSampleCount); + return false; } } } - - return FramebufferStatus::Complete(); + return true; } -FramebufferStatus CheckAttachmentSampleCompleteness(const Context *context, - const FramebufferAttachment &attachment, - bool colorAttachment, - Optional *samples, - Optional *fixedSampleLocations, - Optional *renderToTextureSamples) +bool CheckAttachmentSampleCompleteness(const Context *context, + const FramebufferAttachment &attachment, + bool colorAttachment, + Optional *samples, + Optional *fixedSampleLocations, + Optional *renderToTextureSamples) { ASSERT(attachment.isAttached()); @@ -215,18 +188,14 @@ FramebufferStatus CheckAttachmentSampleCompleteness(const Context *context, const TextureCaps &formatCaps = context->getTextureCaps().get(internalFormat); if (static_cast(attachment.getSamples()) > formatCaps.getMaxSamples()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err::kFramebufferIncompleteAttachmentSamplesGreaterThanMaxSupportedSamples); + return false; } const ImageIndex &attachmentImageIndex = attachment.getTextureImageIndex(); bool fixedSampleloc = texture->getAttachmentFixedSampleLocations(attachmentImageIndex); if (fixedSampleLocations->valid() && fixedSampleloc != fixedSampleLocations->value()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err::kFramebufferIncompleteMultisampleInconsistentFixedSampleLocations); + return false; } else { @@ -240,12 +209,10 @@ FramebufferStatus CheckAttachmentSampleCompleteness(const Context *context, if (renderToTextureSamples->value() != FramebufferAttachment::kDefaultRenderToTextureSamples) { - FramebufferStatus sampleCountStatus = - CheckAttachmentSampleCounts(context, attachment.getRenderToTextureSamples(), - renderToTextureSamples->value(), colorAttachment); - if (!sampleCountStatus.isComplete()) + if (!CheckAttachmentSampleCounts(context, attachment.getRenderToTextureSamples(), + renderToTextureSamples->value(), colorAttachment)) { - return sampleCountStatus; + return false; } } } @@ -260,12 +227,10 @@ FramebufferStatus CheckAttachmentSampleCompleteness(const Context *context, if (renderToTextureSamples->value() == FramebufferAttachment::kDefaultRenderToTextureSamples) { - - FramebufferStatus sampleCountStatus = CheckAttachmentSampleCounts( - context, attachment.getSamples(), samples->value(), colorAttachment); - if (!sampleCountStatus.isComplete()) + if (!CheckAttachmentSampleCounts(context, attachment.getSamples(), samples->value(), + colorAttachment)) { - return sampleCountStatus; + return false; } } } @@ -274,7 +239,7 @@ FramebufferStatus CheckAttachmentSampleCompleteness(const Context *context, *samples = attachment.getSamples(); } - return FramebufferStatus::Complete(); + return true; } // Needed to index into the attachment arrays/bitsets. @@ -307,44 +272,20 @@ bool AttachmentOverlapsWithTexture(const FramebufferAttachment &attachment, return false; } - const gl::ImageIndex &index = attachment.getTextureImageIndex(); - GLuint attachmentLevel = static_cast(index.getLevelIndex()); - GLuint textureEffectiveBaseLevel = texture->getTextureState().getEffectiveBaseLevel(); - GLuint textureMaxLevel = textureEffectiveBaseLevel; + const gl::ImageIndex &index = attachment.getTextureImageIndex(); + GLuint attachmentLevel = static_cast(index.getLevelIndex()); + GLuint textureBaseLevel = texture->getBaseLevel(); + GLuint textureMaxLevel = textureBaseLevel; if ((sampler && IsMipmapFiltered(sampler->getSamplerState().getMinFilter())) || IsMipmapFiltered(texture->getSamplerState().getMinFilter())) { textureMaxLevel = texture->getMipmapMaxLevel(); } - return attachmentLevel >= textureEffectiveBaseLevel && attachmentLevel <= textureMaxLevel; + return attachmentLevel >= textureBaseLevel && attachmentLevel <= textureMaxLevel; } - } // anonymous namespace -bool FramebufferStatus::isComplete() const -{ - return status == GL_FRAMEBUFFER_COMPLETE; -} - -FramebufferStatus FramebufferStatus::Complete() -{ - FramebufferStatus result; - result.status = GL_FRAMEBUFFER_COMPLETE; - result.reason = nullptr; - return result; -} - -FramebufferStatus FramebufferStatus::Incomplete(GLenum status, const char *reason) -{ - ASSERT(status != GL_FRAMEBUFFER_COMPLETE); - - FramebufferStatus result; - result.status = status; - result.reason = reason; - return result; -} - // This constructor is only used for default framebuffers. FramebufferState::FramebufferState(rx::Serial serial) : mId(Framebuffer::kDefaultDrawFramebufferHandle), @@ -361,8 +302,7 @@ FramebufferState::FramebufferState(rx::Serial serial) mDefaultFixedSampleLocations(GL_FALSE), mDefaultLayers(0), mWebGLDepthStencilConsistent(true), - mDefaultFramebufferReadAttachmentInitialized(false), - mSrgbWriteControlMode(SrgbWriteControlMode::Default) + mDefaultFramebufferReadAttachmentInitialized(false) { ASSERT(mDrawBufferStates.size() > 0); mEnabledDrawBuffers.set(0); @@ -383,8 +323,7 @@ FramebufferState::FramebufferState(const Caps &caps, FramebufferID id, rx::Seria mDefaultFixedSampleLocations(GL_FALSE), mDefaultLayers(0), mWebGLDepthStencilConsistent(true), - mDefaultFramebufferReadAttachmentInitialized(false), - mSrgbWriteControlMode(SrgbWriteControlMode::Default) + mDefaultFramebufferReadAttachmentInitialized(false) { ASSERT(mId != Framebuffer::kDefaultDrawFramebufferHandle); ASSERT(mDrawBufferStates.size() > 0); @@ -576,34 +515,6 @@ const FramebufferAttachment *FramebufferState::getDepthStencilAttachment() const return nullptr; } -const Extents FramebufferState::getAttachmentExtentsIntersection() const -{ - int32_t width = std::numeric_limits::max(); - int32_t height = std::numeric_limits::max(); - for (const FramebufferAttachment &attachment : mColorAttachments) - { - if (attachment.isAttached()) - { - width = std::min(width, attachment.getSize().width); - height = std::min(height, attachment.getSize().height); - } - } - - if (mDepthAttachment.isAttached()) - { - width = std::min(width, mDepthAttachment.getSize().width); - height = std::min(height, mDepthAttachment.getSize().height); - } - - if (mStencilAttachment.isAttached()) - { - width = std::min(width, mStencilAttachment.getSize().width); - height = std::min(height, mStencilAttachment.getSize().height); - } - - return Extents(width, height, 0); -} - bool FramebufferState::attachmentsHaveSameDimensions() const { Optional attachmentSize; @@ -719,19 +630,6 @@ bool FramebufferState::hasStencil() const return (mStencilAttachment.isAttached() && mStencilAttachment.getStencilSize() > 0); } -bool FramebufferState::hasExternalTextureAttachment() const -{ - // External textures can only be bound to color attachment 0 - return (mColorAttachments[0].isAttached() && mColorAttachments[0].isExternalTexture()); -} - -bool FramebufferState::hasYUVAttachment() const -{ - // The only attachments that can be YUV are external textures and surfaces, both are attached at - // color attachment 0. - return (mColorAttachments[0].isAttached() && mColorAttachments[0].isYUV()); -} - bool FramebufferState::isMultiview() const { const FramebufferAttachment *attachment = getFirstNonNullAttachment(); @@ -760,12 +658,11 @@ Box FramebufferState::getDimensions() const Extents FramebufferState::getExtents() const { - // OpenGLES3.0 (https://www.khronos.org/registry/OpenGL/specs/es/3.0/es_spec_3.0.pdf - // section 4.4.4.2) allows attachments have unequal size. + ASSERT(attachmentsHaveSameDimensions()); const FramebufferAttachment *first = getFirstNonNullAttachment(); if (first) { - return getAttachmentExtentsIntersection(); + return first->getSize(); } return Extents(getDefaultWidth(), getDefaultHeight(), 0); } @@ -795,16 +692,13 @@ Framebuffer::Framebuffer(const Caps &caps, { mDirtyColorAttachmentBindings.emplace_back(this, DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex); } - if (caps.maxDrawBuffers > 1) - { - mDirtyBits.set(DIRTY_BIT_READ_BUFFER); - } + mDirtyBits.set(DIRTY_BIT_READ_BUFFER); } Framebuffer::Framebuffer(const Context *context, egl::Surface *surface, egl::Surface *readSurface) : mState(context->getShareGroup()->generateFramebufferSerial()), mImpl(surface->getImplementation()->createDefaultFramebuffer(context, mState)), - mCachedStatus(FramebufferStatus::Complete()), + mCachedStatus(GL_FRAMEBUFFER_COMPLETE), mDirtyDepthAttachmentBinding(this, DIRTY_BIT_DEPTH_ATTACHMENT), mDirtyStencilAttachmentBinding(this, DIRTY_BIT_STENCIL_ATTACHMENT) { @@ -846,8 +740,7 @@ Framebuffer::Framebuffer(const Context *context, egl::Surface *readSurface) : mState(context->getShareGroup()->generateFramebufferSerial()), mImpl(factory->createFramebuffer(mState)), - mCachedStatus(FramebufferStatus::Incomplete(GL_FRAMEBUFFER_UNDEFINED_OES, - err::kFramebufferIncompleteSurfaceless)), + mCachedStatus(GL_FRAMEBUFFER_UNDEFINED_OES), mDirtyDepthAttachmentBinding(this, DIRTY_BIT_DEPTH_ATTACHMENT), mDirtyStencilAttachmentBinding(this, DIRTY_BIT_STENCIL_ATTACHMENT) { @@ -1144,16 +1037,6 @@ bool Framebuffer::hasStencil() const return mState.hasStencil(); } -bool Framebuffer::hasExternalTextureAttachment() const -{ - return mState.hasExternalTextureAttachment(); -} - -bool Framebuffer::hasYUVAttachment() const -{ - return mState.hasYUVAttachment(); -} - bool Framebuffer::usingExtendedDrawBuffers() const { for (size_t drawbufferIdx = 1; drawbufferIdx < mState.mDrawBufferStates.size(); ++drawbufferIdx) @@ -1176,14 +1059,14 @@ void Framebuffer::invalidateCompletenessCache() onStateChange(angle::SubjectMessage::DirtyBitsFlagged); } -const FramebufferStatus &Framebuffer::checkStatusImpl(const Context *context) const +GLenum Framebuffer::checkStatusImpl(const Context *context) const { ASSERT(!isDefault()); ASSERT(hasAnyDirtyBit() || !mCachedStatus.valid()); mCachedStatus = checkStatusWithGLFrontEnd(context); - if (mCachedStatus.value().isComplete()) + if (mCachedStatus.value() == GL_FRAMEBUFFER_COMPLETE) { // We can skip syncState on several back-ends. if (mImpl->shouldSyncStateBeforeCheckStatus()) @@ -1193,19 +1076,20 @@ const FramebufferStatus &Framebuffer::checkStatusImpl(const Context *context) co angle::Result err = syncState(context, GL_FRAMEBUFFER, Command::Other); if (err != angle::Result::Continue) { - mCachedStatus = - FramebufferStatus::Incomplete(0, err::kFramebufferIncompleteInternalError); - return mCachedStatus.value(); + return 0; } } - mCachedStatus = mImpl->checkStatus(context); + if (!mImpl->checkStatus(context)) + { + mCachedStatus = GL_FRAMEBUFFER_UNSUPPORTED; + } } return mCachedStatus.value(); } -FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) const +GLenum Framebuffer::checkStatusWithGLFrontEnd(const Context *context) const { const State &state = context->getState(); @@ -1227,27 +1111,21 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) { if (colorAttachment.isAttached()) { - FramebufferStatus attachmentCompleteness = - CheckAttachmentCompleteness(context, colorAttachment); - if (!attachmentCompleteness.isComplete()) + if (!CheckAttachmentCompleteness(context, colorAttachment)) { - return attachmentCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } const InternalFormat &format = *colorAttachment.getFormat().info; if (format.depthBits > 0 || format.stencilBits > 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteDepthStencilInColorBuffer); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } - FramebufferStatus attachmentSampleCompleteness = - CheckAttachmentSampleCompleteness(context, colorAttachment, true, &samples, - &fixedSampleLocations, &renderToTextureSamples); - if (!attachmentSampleCompleteness.isComplete()) + if (!CheckAttachmentSampleCompleteness(context, colorAttachment, true, &samples, + &fixedSampleLocations, &renderToTextureSamples)) { - return attachmentSampleCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; } // in GLES 2.0, all color attachments attachments must have the same number of bitplanes @@ -1258,9 +1136,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) { if (format.pixelBytes != colorbufferSize.value()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - err::kFramebufferIncompleteAttachmentInconsistantBitPlanes); + return GL_FRAMEBUFFER_UNSUPPORTED; } } else @@ -1269,11 +1145,9 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) } } - FramebufferStatus attachmentMultiviewCompleteness = - CheckMultiviewStateMatchesForCompleteness(firstAttachment, &colorAttachment); - if (!attachmentMultiviewCompleteness.isComplete()) + if (!CheckMultiviewStateMatchesForCompleteness(firstAttachment, &colorAttachment)) { - return attachmentMultiviewCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR; } hasRenderbuffer = hasRenderbuffer || (colorAttachment.type() == GL_RENDERBUFFER); @@ -1296,9 +1170,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) ASSERT(isLayered.valid()); if (isLayered.value() != colorAttachment.isLayered()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT, - err::kFramebufferIncompleteMismatchedLayeredAttachments); + return GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT; } else if (isLayered.value()) { @@ -1306,9 +1178,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) if (colorAttachmentsTextureType.value() != colorAttachment.getTextureImageIndex().getType()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT, - err::kFramebufferIncompleteMismatchedLayeredTexturetypes); + return GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT; } } } @@ -1318,34 +1188,26 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) const FramebufferAttachment &depthAttachment = mState.mDepthAttachment; if (depthAttachment.isAttached()) { - FramebufferStatus attachmentCompleteness = - CheckAttachmentCompleteness(context, depthAttachment); - if (!attachmentCompleteness.isComplete()) + if (!CheckAttachmentCompleteness(context, depthAttachment)) { - return attachmentCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } const InternalFormat &format = *depthAttachment.getFormat().info; if (format.depthBits == 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentNoDepthBitsInDepthBuffer); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } - FramebufferStatus attachmentSampleCompleteness = - CheckAttachmentSampleCompleteness(context, depthAttachment, false, &samples, - &fixedSampleLocations, &renderToTextureSamples); - if (!attachmentSampleCompleteness.isComplete()) + if (!CheckAttachmentSampleCompleteness(context, depthAttachment, false, &samples, + &fixedSampleLocations, &renderToTextureSamples)) { - return attachmentSampleCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; } - FramebufferStatus attachmentMultiviewCompleteness = - CheckMultiviewStateMatchesForCompleteness(firstAttachment, &depthAttachment); - if (!attachmentMultiviewCompleteness.isComplete()) + if (!CheckMultiviewStateMatchesForCompleteness(firstAttachment, &depthAttachment)) { - return attachmentMultiviewCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR; } hasRenderbuffer = hasRenderbuffer || (depthAttachment.type() == GL_RENDERBUFFER); @@ -1363,9 +1225,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) ASSERT(isLayered.valid()); if (isLayered.value() != depthAttachment.isLayered()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT, - err::kFramebufferIncompleteMismatchedLayeredAttachments); + return GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT; } } } @@ -1373,34 +1233,26 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) const FramebufferAttachment &stencilAttachment = mState.mStencilAttachment; if (stencilAttachment.isAttached()) { - FramebufferStatus attachmentCompleteness = - CheckAttachmentCompleteness(context, stencilAttachment); - if (!attachmentCompleteness.isComplete()) + if (!CheckAttachmentCompleteness(context, stencilAttachment)) { - return attachmentCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } const InternalFormat &format = *stencilAttachment.getFormat().info; if (format.stencilBits == 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentNoStencilBitsInStencilBuffer); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } - FramebufferStatus attachmentSampleCompleteness = - CheckAttachmentSampleCompleteness(context, stencilAttachment, false, &samples, - &fixedSampleLocations, &renderToTextureSamples); - if (!attachmentSampleCompleteness.isComplete()) + if (!CheckAttachmentSampleCompleteness(context, stencilAttachment, false, &samples, + &fixedSampleLocations, &renderToTextureSamples)) { - return attachmentSampleCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; } - FramebufferStatus attachmentMultiviewCompleteness = - CheckMultiviewStateMatchesForCompleteness(firstAttachment, &stencilAttachment); - if (!attachmentMultiviewCompleteness.isComplete()) + if (!CheckMultiviewStateMatchesForCompleteness(firstAttachment, &stencilAttachment)) { - return attachmentMultiviewCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR; } hasRenderbuffer = hasRenderbuffer || (stencilAttachment.type() == GL_RENDERBUFFER); @@ -1418,9 +1270,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) ASSERT(isLayered.valid()); if (isLayered.value() != stencilAttachment.isLayered()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT, - err::kFramebufferIncompleteMismatchedLayeredAttachments); + return GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT; } } } @@ -1429,9 +1279,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) if (state.getClientMajorVersion() >= 3 && depthAttachment.isAttached() && stencilAttachment.isAttached() && stencilAttachment != depthAttachment) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - err::kFramebufferIncompleteDepthAndStencilBuffersNotTheSame); + return GL_FRAMEBUFFER_UNSUPPORTED; } // Special additional validation for WebGL 1 DEPTH/STENCIL/DEPTH_STENCIL. @@ -1439,9 +1287,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) { if (!mState.mWebGLDepthStencilConsistent) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - err::kFramebufferIncompleteWebGLDepthStencilInconsistant); + return GL_FRAMEBUFFER_UNSUPPORTED; } if (mState.mWebGLDepthStencilAttachment.isAttached()) @@ -1449,32 +1295,24 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) if (mState.mWebGLDepthStencilAttachment.getDepthSize() == 0 || mState.mWebGLDepthStencilAttachment.getStencilSize() == 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentWebGLDepthStencilNoDepthOrStencilBits); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } - FramebufferStatus attachmentMultiviewCompleteness = - CheckMultiviewStateMatchesForCompleteness(firstAttachment, - &mState.mWebGLDepthStencilAttachment); - if (!attachmentMultiviewCompleteness.isComplete()) + if (!CheckMultiviewStateMatchesForCompleteness(firstAttachment, + &mState.mWebGLDepthStencilAttachment)) { - return attachmentMultiviewCompleteness; + return GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR; } } else if (mState.mStencilAttachment.isAttached() && mState.mStencilAttachment.getDepthSize() > 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentWebGLStencilBufferHasDepthBits); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } else if (mState.mDepthAttachment.isAttached() && mState.mDepthAttachment.getStencilSize() > 0) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, - err::kFramebufferIncompleteAttachmentWebGLDepthBufferHasStencilBits); + return GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT; } } @@ -1485,8 +1323,7 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) GLint defaultHeight = mState.getDefaultHeight(); if (!hasAttachments && (defaultWidth == 0 || defaultHeight == 0)) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, - err::kFramebufferIncompleteDefaultZeroSize); + return GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT; } // In ES 2.0 and WebGL, all color attachments must have the same width and height. @@ -1494,18 +1331,14 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) if ((state.getClientMajorVersion() < 3 || state.getExtensions().webglCompatibility) && !mState.attachmentsHaveSameDimensions()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, - err::kFramebufferIncompleteInconsistantAttachmentSizes); + return GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS; } // ES3.1(section 9.4) requires that if the attached images are a mix of renderbuffers and // textures, the value of TEXTURE_FIXED_SAMPLE_LOCATIONS must be TRUE for all attached textures. if (fixedSampleLocations.valid() && hasRenderbuffer && !fixedSampleLocations.value()) { - return FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE, - err::kFramebufferIncompleteMultisampleNonFixedSamplesWithRenderbuffers); + return GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; } // The WebGL conformance tests implicitly define that all framebuffer @@ -1515,12 +1348,11 @@ FramebufferStatus Framebuffer::checkStatusWithGLFrontEnd(const Context *context) { if (!mState.colorAttachmentsAreUniqueImages()) { - return FramebufferStatus::Incomplete(GL_FRAMEBUFFER_UNSUPPORTED, - err::kFramebufferIncompleteAttachmentsNotUnique); + return GL_FRAMEBUFFER_UNSUPPORTED; } } - return FramebufferStatus::Complete(); + return GL_FRAMEBUFFER_COMPLETE; } angle::Result Framebuffer::discard(const Context *context, size_t count, const GLenum *attachments) @@ -1718,7 +1550,7 @@ int Framebuffer::getSamples(const Context *context) const return 0; } - ASSERT(mCachedStatus.valid() && mCachedStatus.value().isComplete()); + ASSERT(mCachedStatus.valid() && mCachedStatus.value() == GL_FRAMEBUFFER_COMPLETE); // For a complete framebuffer, all attachments must have the same sample count. // In this case return the first nonzero sample size. @@ -1735,7 +1567,7 @@ int Framebuffer::getReadBufferResourceSamples(const Context *context) const return 0; } - ASSERT(mCachedStatus.valid() && mCachedStatus.value().isComplete()); + ASSERT(mCachedStatus.valid() && mCachedStatus.value() == GL_FRAMEBUFFER_COMPLETE); const FramebufferAttachment *readAttachment = mState.getReadAttachment(); ASSERT(readAttachment == nullptr || readAttachment->isAttached()); @@ -2021,15 +1853,6 @@ void Framebuffer::resetAttachment(const Context *context, GLenum binding) setAttachment(context, GL_NONE, binding, ImageIndex(), nullptr); } -void Framebuffer::setWriteControlMode(SrgbWriteControlMode srgbWriteControlMode) -{ - if (srgbWriteControlMode != mState.getWriteControlMode()) - { - mState.mSrgbWriteControlMode = srgbWriteControlMode; - mDirtyBits.set(DIRTY_BIT_FRAMEBUFFER_SRGB_WRITE_CONTROL_MODE); - } -} - angle::Result Framebuffer::syncState(const Context *context, GLenum framebufferBinding, Command command) const diff --git a/gfx/angle/checkout/src/libANGLE/Framebuffer.h b/gfx/angle/checkout/src/libANGLE/Framebuffer.h index f4c769353966..78fb690266da 100644 --- a/gfx/angle/checkout/src/libANGLE/Framebuffer.h +++ b/gfx/angle/checkout/src/libANGLE/Framebuffer.h @@ -50,17 +50,6 @@ class State; class Texture; class TextureCapsMap; -struct FramebufferStatus -{ - bool isComplete() const; - - static FramebufferStatus Complete(); - static FramebufferStatus Incomplete(GLenum status, const char *reason); - - GLenum status = GL_FRAMEBUFFER_COMPLETE; - const char *reason = nullptr; -}; - class FramebufferState final : angle::NonCopyable { public: @@ -92,7 +81,6 @@ class FramebufferState final : angle::NonCopyable } const DrawBufferMask getColorAttachmentsMask() const { return mColorAttachmentsMask; } - const Extents getAttachmentExtentsIntersection() const; bool attachmentsHaveSameDimensions() const; bool hasSeparateDepthAndStencilAttachments() const; bool colorAttachmentsAreUniqueImages() const; @@ -111,9 +99,6 @@ class FramebufferState final : angle::NonCopyable bool hasDepth() const; bool hasStencil() const; - bool hasExternalTextureAttachment() const; - bool hasYUVAttachment() const; - bool isMultiview() const; ANGLE_INLINE GLsizei getNumViews() const @@ -128,8 +113,6 @@ class FramebufferState final : angle::NonCopyable GLint getBaseViewIndex() const; - SrgbWriteControlMode getWriteControlMode() const { return mSrgbWriteControlMode; } - FramebufferID id() const { return mId; } bool isDefault() const; @@ -182,9 +165,6 @@ class FramebufferState final : angle::NonCopyable bool mDefaultFramebufferReadAttachmentInitialized; FramebufferAttachment mDefaultFramebufferReadAttachment; - // EXT_sRGB_write_control - SrgbWriteControlMode mSrgbWriteControlMode; - gl::Offset mSurfaceTextureOffset; }; @@ -279,9 +259,6 @@ class Framebuffer final : public angle::ObserverInterface, bool hasDepth() const; bool hasStencil() const; - bool hasExternalTextureAttachment() const; - bool hasYUVAttachment() const; - bool usingExtendedDrawBuffers() const; // This method calls checkStatus. @@ -304,7 +281,7 @@ class Framebuffer final : public angle::ObserverInterface, void invalidateCompletenessCache(); ANGLE_INLINE bool cachedStatusValid() { return mCachedStatus.valid(); } - ANGLE_INLINE const FramebufferStatus &checkStatus(const Context *context) const + ANGLE_INLINE GLenum checkStatus(const Context *context) const { // The default framebuffer is always complete except when it is surfaceless in which // case it is always unsupported. @@ -320,7 +297,7 @@ class Framebuffer final : public angle::ObserverInterface, // Helper for checkStatus == GL_FRAMEBUFFER_COMPLETE. ANGLE_INLINE bool isComplete(const Context *context) const { - return checkStatus(context).isComplete(); + return (checkStatus(context) == GL_FRAMEBUFFER_COMPLETE); } bool hasValidDepthStencil() const; @@ -393,7 +370,6 @@ class Framebuffer final : public angle::ObserverInterface, DIRTY_BIT_DEFAULT_SAMPLES, DIRTY_BIT_DEFAULT_FIXED_SAMPLE_LOCATIONS, DIRTY_BIT_DEFAULT_LAYERS, - DIRTY_BIT_FRAMEBUFFER_SRGB_WRITE_CONTROL_MODE, DIRTY_BIT_UNKNOWN, DIRTY_BIT_MAX = DIRTY_BIT_UNKNOWN }; @@ -412,8 +388,6 @@ class Framebuffer final : public angle::ObserverInterface, GLenum framebufferBinding, Command command) const; - void setWriteControlMode(SrgbWriteControlMode srgbWriteControlMode); - // Observer implementation void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; @@ -440,8 +414,8 @@ class Framebuffer final : public angle::ObserverInterface, FramebufferAttachment *attachment, GLenum matchType, GLuint matchId); - FramebufferStatus checkStatusWithGLFrontEnd(const Context *context) const; - const FramebufferStatus &checkStatusImpl(const Context *context) const; + GLenum checkStatusWithGLFrontEnd(const Context *context) const; + GLenum checkStatusImpl(const Context *context) const; void setAttachment(const Context *context, GLenum type, GLenum binding, @@ -502,7 +476,7 @@ class Framebuffer final : public angle::ObserverInterface, FramebufferState mState; rx::FramebufferImpl *mImpl; - mutable Optional mCachedStatus; + mutable Optional mCachedStatus; std::vector mDirtyColorAttachmentBindings; angle::ObserverBinding mDirtyDepthAttachmentBinding; angle::ObserverBinding mDirtyStencilAttachmentBinding; diff --git a/gfx/angle/checkout/src/libANGLE/FramebufferAttachment.h b/gfx/angle/checkout/src/libANGLE/FramebufferAttachment.h index 013a1e02874e..8b05930220db 100644 --- a/gfx/angle/checkout/src/libANGLE/FramebufferAttachment.h +++ b/gfx/angle/checkout/src/libANGLE/FramebufferAttachment.h @@ -93,10 +93,6 @@ class FramebufferAttachment final { return mType == GL_TEXTURE && id() == textureId.value; } - bool isExternalTexture() const - { - return mType == GL_TEXTURE && getTextureImageIndex().getType() == gl::TextureType::External; - } bool isRenderbufferWithId(GLuint renderbufferId) const { return mType == GL_RENDERBUFFER && id() == renderbufferId; @@ -117,10 +113,6 @@ class FramebufferAttachment final bool isMultiview() const; GLint getBaseViewIndex() const; - bool isRenderToTexture() const - { - return mRenderToTextureSamples != kDefaultRenderToTextureSamples; - } GLsizei getRenderToTextureSamples() const { return mRenderToTextureSamples; } // The size of the underlying resource the attachment points to. The 'depth' value will @@ -135,7 +127,6 @@ class FramebufferAttachment final GLenum type() const { return mType; } bool isAttached() const { return mType != GL_NONE; } bool isRenderable(const Context *context) const; - bool isYUV() const; Renderbuffer *getRenderbuffer() const; Texture *getTexture() const; @@ -211,7 +202,6 @@ class FramebufferAttachmentObject : public angle::Subject, public angle::Observe virtual bool isRenderable(const Context *context, GLenum binding, const ImageIndex &imageIndex) const = 0; - virtual bool isYUV() const = 0; virtual void onAttach(const Context *context, rx::Serial framebufferSerial) = 0; virtual void onDetach(const Context *context, rx::Serial framebufferSerial) = 0; @@ -279,12 +269,6 @@ inline bool FramebufferAttachment::isRenderable(const Context *context) const return mResource->isRenderable(context, mTarget.binding(), mTarget.textureIndex()); } -inline bool FramebufferAttachment::isYUV() const -{ - ASSERT(mResource); - return mResource->isYUV(); -} - } // namespace gl #endif // LIBANGLE_FRAMEBUFFERATTACHMENT_H_ diff --git a/gfx/angle/checkout/src/libANGLE/GLES1Renderer.cpp b/gfx/angle/checkout/src/libANGLE/GLES1Renderer.cpp index 51297b6abb04..3fbf0348bfff 100644 --- a/gfx/angle/checkout/src/libANGLE/GLES1Renderer.cpp +++ b/gfx/angle/checkout/src/libANGLE/GLES1Renderer.cpp @@ -454,29 +454,6 @@ int GLES1Renderer::VertexArrayIndex(ClientVertexArrayType type, const GLES1State } } -// static -ClientVertexArrayType GLES1Renderer::VertexArrayType(int attribIndex) -{ - switch (attribIndex) - { - case kVertexAttribIndex: - return ClientVertexArrayType::Vertex; - case kNormalAttribIndex: - return ClientVertexArrayType::Normal; - case kColorAttribIndex: - return ClientVertexArrayType::Color; - case kPointSizeAttribIndex: - return ClientVertexArrayType::PointSize; - default: - if (attribIndex < kTextureCoordAttribIndexBase + kTexUnitCount) - { - return ClientVertexArrayType::TextureCoord; - } - UNREACHABLE(); - return ClientVertexArrayType::InvalidEnum; - } -} - // static int GLES1Renderer::TexCoordArrayIndex(unsigned int unit) { @@ -572,7 +549,7 @@ angle::Result GLES1Renderer::linkProgram(Context *context, State *glState, ShaderProgramID vertexShader, ShaderProgramID fragmentShader, - const angle::HashMap &attribLocs, + const std::unordered_map &attribLocs, ShaderProgramID *programOut) { ShaderProgramID program = mShaderPrograms->createProgram(context->getImplementation()); @@ -582,8 +559,8 @@ angle::Result GLES1Renderer::linkProgram(Context *context, *programOut = program; - programObject->attachShader(getShader(vertexShader)); - programObject->attachShader(getShader(fragmentShader)); + programObject->attachShader(context, getShader(vertexShader)); + programObject->attachShader(context, getShader(fragmentShader)); for (auto it : attribLocs) { @@ -638,7 +615,7 @@ angle::Result GLES1Renderer::initializeRendererProgram(Context *context, State * ANGLE_TRY(compileShader(context, ShaderType::Fragment, fragmentStream.str().c_str(), &fragmentShader)); - angle::HashMap attribLocs; + std::unordered_map attribLocs; attribLocs[(GLint)kVertexAttribIndex] = "pos"; attribLocs[(GLint)kNormalAttribIndex] = "normal"; diff --git a/gfx/angle/checkout/src/libANGLE/GLES1Renderer.h b/gfx/angle/checkout/src/libANGLE/GLES1Renderer.h index 869529742db4..5fef0756161d 100644 --- a/gfx/angle/checkout/src/libANGLE/GLES1Renderer.h +++ b/gfx/angle/checkout/src/libANGLE/GLES1Renderer.h @@ -38,7 +38,6 @@ class GLES1Renderer final : angle::NonCopyable angle::Result prepareForDraw(PrimitiveMode mode, Context *context, State *glState); static int VertexArrayIndex(ClientVertexArrayType type, const GLES1State &gles1); - static ClientVertexArrayType VertexArrayType(int attribIndex); static int TexCoordArrayIndex(unsigned int unit); void drawTexture(Context *context, @@ -67,7 +66,7 @@ class GLES1Renderer final : angle::NonCopyable State *glState, ShaderProgramID vshader, ShaderProgramID fshader, - const angle::HashMap &attribLocs, + const std::unordered_map &attribLocs, ShaderProgramID *programOut); angle::Result initializeRendererProgram(Context *context, State *glState); diff --git a/gfx/angle/checkout/src/libANGLE/GLES1State.cpp b/gfx/angle/checkout/src/libANGLE/GLES1State.cpp index eeab9bc46799..48ddbb2063bd 100644 --- a/gfx/angle/checkout/src/libANGLE/GLES1State.cpp +++ b/gfx/angle/checkout/src/libANGLE/GLES1State.cpp @@ -388,10 +388,6 @@ bool GLES1State::isTexCoordArrayEnabled(unsigned int unit) const bool GLES1State::isTextureTargetEnabled(unsigned int unit, const TextureType type) const { - if (mTexUnitEnables.empty()) - { - return false; - } return mTexUnitEnables[unit].test(type); } diff --git a/gfx/angle/checkout/src/libANGLE/Image.cpp b/gfx/angle/checkout/src/libANGLE/Image.cpp index d74128633991..bea5a864fcd9 100644 --- a/gfx/angle/checkout/src/libANGLE/Image.cpp +++ b/gfx/angle/checkout/src/libANGLE/Image.cpp @@ -130,11 +130,6 @@ bool ImageSibling::isRenderable(const gl::Context *context, return mTargetOf->isRenderable(context); } -bool ImageSibling::isYUV() const -{ - return mTargetOf.get() && mTargetOf->isYUV(); -} - void ImageSibling::notifySiblings(angle::SubjectMessage message) { if (mTargetOf.get()) @@ -198,11 +193,6 @@ bool ExternalImageSibling::isTextureable(const gl::Context *context) const return mImplementation->isTexturable(context); } -bool ExternalImageSibling::isYUV() const -{ - return mImplementation->isYUV(); -} - void ExternalImageSibling::onAttach(const gl::Context *context, rx::Serial framebufferSerial) {} void ExternalImageSibling::onDetach(const gl::Context *context, rx::Serial framebufferSerial) {} @@ -244,7 +234,6 @@ ImageState::ImageState(EGLenum target, ImageSibling *buffer, const AttributeMap source(buffer), targets(), format(GL_NONE), - yuv(false), size(), samples(), sourceType(target), @@ -389,11 +378,6 @@ bool Image::isTexturable(const gl::Context *context) const return false; } -bool Image::isYUV() const -{ - return mState.yuv; -} - size_t Image::getWidth() const { return mState.size.width; @@ -423,11 +407,7 @@ Error Image::initialize(const Display *display) { if (IsExternalImageTarget(mState.sourceType)) { - ExternalImageSibling *externalSibling = rx::GetAs(mState.source); - ANGLE_TRY(externalSibling->initialize(display)); - - // Only external siblings can be YUV - mState.yuv = externalSibling->isYUV(); + ANGLE_TRY(rx::GetAs(mState.source)->initialize(display)); } mState.format = mState.source->getAttachmentFormat(GL_NONE, mState.imageIndex); diff --git a/gfx/angle/checkout/src/libANGLE/Image.h b/gfx/angle/checkout/src/libANGLE/Image.h index 9924ebe09d2d..44e28b2b6257 100644 --- a/gfx/angle/checkout/src/libANGLE/Image.h +++ b/gfx/angle/checkout/src/libANGLE/Image.h @@ -51,7 +51,6 @@ class ImageSibling : public gl::FramebufferAttachmentObject bool isRenderable(const gl::Context *context, GLenum binding, const gl::ImageIndex &imageIndex) const override; - bool isYUV() const override; protected: // Set the image target of this sibling @@ -98,7 +97,6 @@ class ExternalImageSibling : public ImageSibling GLenum binding, const gl::ImageIndex &imageIndex) const override; bool isTextureable(const gl::Context *context) const; - bool isYUV() const override; void onAttach(const gl::Context *context, rx::Serial framebufferSerial) override; void onDetach(const gl::Context *context, rx::Serial framebufferSerial) override; @@ -132,7 +130,6 @@ struct ImageState : private angle::NonCopyable std::set targets; gl::Format format; - bool yuv; gl::Extents size; size_t samples; EGLenum sourceType; @@ -157,7 +154,6 @@ class Image final : public RefCountObject, public LabeledObject const gl::Format &getFormat() const; bool isRenderable(const gl::Context *context) const; bool isTexturable(const gl::Context *context) const; - bool isYUV() const; size_t getWidth() const; size_t getHeight() const; bool isLayered() const; diff --git a/gfx/angle/checkout/src/libANGLE/InfoLog.h b/gfx/angle/checkout/src/libANGLE/InfoLog.h index 53333ea1aaec..7dacdcebd1b0 100644 --- a/gfx/angle/checkout/src/libANGLE/InfoLog.h +++ b/gfx/angle/checkout/src/libANGLE/InfoLog.h @@ -39,7 +39,7 @@ class InfoLog : angle::NonCopyable ~StreamHelper() { // Write newline when destroyed on the stack - if (mStream && !mStream->str().empty()) + if (mStream) { (*mStream) << std::endl; } diff --git a/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.cpp b/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.cpp index 290b6c0d5ed3..09ee1e1ff092 100644 --- a/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.cpp +++ b/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.cpp @@ -19,14 +19,16 @@ bool LoggingAnnotator::getStatus() } void LoggingAnnotator::beginEvent(gl::Context *context, - EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) { ANGLE_TRACE_EVENT_BEGIN0("gpu.angle", eventName); } -void LoggingAnnotator::endEvent(gl::Context *context, const char *eventName, EntryPoint entryPoint) +void LoggingAnnotator::endEvent(gl::Context *context, + const char *eventName, + gl::EntryPoint entryPoint) { ANGLE_TRACE_EVENT_END0("gpu.angle", eventName); } diff --git a/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.h b/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.h index e59feaa88e3c..68d90c11c7dc 100644 --- a/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.h +++ b/gfx/angle/checkout/src/libANGLE/LoggingAnnotator.h @@ -25,10 +25,10 @@ class LoggingAnnotator : public gl::DebugAnnotator LoggingAnnotator() {} ~LoggingAnnotator() override {} void beginEvent(gl::Context *context, - EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) override; - void endEvent(gl::Context *context, const char *eventName, EntryPoint entryPoint) override; + void endEvent(gl::Context *context, const char *eventName, gl::EntryPoint entryPoint) override; void setMarker(const char *markerName) override; bool getStatus() override; void logMessage(const gl::LogMessage &msg) const override; diff --git a/gfx/angle/checkout/src/libANGLE/MemoryProgramCache.cpp b/gfx/angle/checkout/src/libANGLE/MemoryProgramCache.cpp index 65638300546b..01a0d9fec209 100644 --- a/gfx/angle/checkout/src/libANGLE/MemoryProgramCache.cpp +++ b/gfx/angle/checkout/src/libANGLE/MemoryProgramCache.cpp @@ -49,7 +49,7 @@ class HashStream final : angle::NonCopyable std::ostringstream mStringStream; }; -HashStream &operator<<(HashStream &stream, Shader *shader) +HashStream &operator<<(HashStream &stream, const Shader *shader) { if (shader) { @@ -147,10 +147,18 @@ angle::Result MemoryProgramCache::getProgram(const Context *context, size_t programSize = 0; if (get(context, *hashOut, &binaryProgram, &programSize)) { - angle::MemoryBuffer uncompressedData; - if (!egl::DecompressBlobCacheData(binaryProgram.data(), programSize, &uncompressedData)) + uint32_t uncompressedSize = + zlib_internal::GetGzipUncompressedSize(binaryProgram.data(), programSize); + + std::vector uncompressedData(uncompressedSize); + uLong destLen = uncompressedSize; + int zResult = zlib_internal::GzipUncompressHelper(uncompressedData.data(), &destLen, + binaryProgram.data(), + static_cast(programSize)); + + if (zResult != Z_OK) { - ERR() << "Error decompressing binary data."; + ERR() << "Failure to decompressed binary data: " << zResult << "\n"; return angle::Result::Incomplete; } @@ -213,11 +221,33 @@ angle::Result MemoryProgramCache::putProgram(const egl::BlobCache::Key &programH angle::MemoryBuffer serializedProgram; ANGLE_TRY(program->serialize(context, &serializedProgram)); + // Compress the program data + uLong uncompressedSize = static_cast(serializedProgram.size()); + uLong expectedCompressedSize = zlib_internal::GzipExpectedCompressedSize(uncompressedSize); + angle::MemoryBuffer compressedData; - if (!egl::CompressBlobCacheData(serializedProgram.size(), serializedProgram.data(), - &compressedData)) + if (!compressedData.resize(expectedCompressedSize)) { - ERR() << "Error compressing binary data."; + ERR() << "Failed to allocate enough memory to hold compressed program. (" + << expectedCompressedSize << " bytes )"; + return angle::Result::Incomplete; + } + + int zResult = zlib_internal::GzipCompressHelper(compressedData.data(), &expectedCompressedSize, + serializedProgram.data(), uncompressedSize, + nullptr, nullptr); + + if (zResult != Z_OK) + { + FATAL() << "Error compressing binary data: " << zResult; + return angle::Result::Incomplete; + } + + // Resize the buffer to the actual compressed size + if (!compressedData.resize(expectedCompressedSize)) + { + ERR() << "Failed to resize to actual compressed program size. (" << expectedCompressedSize + << " bytes )"; return angle::Result::Incomplete; } diff --git a/gfx/angle/checkout/src/libANGLE/Observer.h b/gfx/angle/checkout/src/libANGLE/Observer.h index 35b462add813..ae83677c7762 100644 --- a/gfx/angle/checkout/src/libANGLE/Observer.h +++ b/gfx/angle/checkout/src/libANGLE/Observer.h @@ -54,13 +54,6 @@ enum class SubjectMessage // Indicates an external change to the default framebuffer. SurfaceChanged, - - // Indicates a separable program's textures or images changed in the ProgramExecutable. - ProgramTextureOrImageBindingChanged, - // Indicates a separable program was successfully re-linked. - ProgramRelinked, - // Indicates a separable program's sampler uniforms were updated. - SamplerUniformsUpdated, }; // The observing class inherits from this interface class. diff --git a/gfx/angle/checkout/src/libANGLE/Overlay.cpp b/gfx/angle/checkout/src/libANGLE/Overlay.cpp index 271d363aad63..d7846406d274 100644 --- a/gfx/angle/checkout/src/libANGLE/Overlay.cpp +++ b/gfx/angle/checkout/src/libANGLE/Overlay.cpp @@ -47,13 +47,7 @@ angle::Result Overlay::init(const Context *context) enableOverlayWidgetsFromEnvironment(); - bool success = false; - ANGLE_TRY(mImplementation->init(context, &success)); - if (!success) - { - mState.mEnabledWidgetCount = 0; - } - return angle::Result::Continue; + return mImplementation->init(context); } void Overlay::destroy(const gl::Context *context) diff --git a/gfx/angle/checkout/src/libANGLE/OverlayWidgets.cpp b/gfx/angle/checkout/src/libANGLE/OverlayWidgets.cpp index f94e7cd3c99f..22c8972d0a97 100644 --- a/gfx/angle/checkout/src/libANGLE/OverlayWidgets.cpp +++ b/gfx/angle/checkout/src/libANGLE/OverlayWidgets.cpp @@ -43,7 +43,7 @@ constexpr angle::PackedEnumMap kWidgetTypeToInte constexpr size_t kMaxRenderableTextWidgets = 32; constexpr size_t kMaxRenderableGraphWidgets = 32; constexpr size_t kMaxTextLength = 256; -constexpr size_t kMaxGraphDataSize = 256; +constexpr size_t kMaxGraphDataSize = 64; constexpr angle::PackedEnumMap kWidgetInternalTypeMaxWidgets = { {WidgetInternalType::Text, kMaxRenderableTextWidgets}, @@ -446,36 +446,6 @@ void AppendWidgetDataHelper::AppendVulkanDescriptorSetAllocations(const overlay: AppendRunningGraphCommon(widget, imageExtent, textWidget, graphWidget, widgetCounts, format); } -void AppendWidgetDataHelper::AppendVulkanShaderBufferDSHitRate(const overlay::Widget *widget, - const gl::Extents &imageExtent, - TextWidgetData *textWidget, - GraphWidgetData *graphWidget, - OverlayWidgetCounts *widgetCounts) -{ - auto format = [](size_t maxValue) { - std::ostringstream text; - text << "Shader Buffer DS Hit Rate (Max: " << maxValue << "%)"; - return text.str(); - }; - - AppendRunningGraphCommon(widget, imageExtent, textWidget, graphWidget, widgetCounts, format); -} - -void AppendWidgetDataHelper::AppendVulkanDynamicBufferAllocations(const overlay::Widget *widget, - const gl::Extents &imageExtent, - TextWidgetData *textWidget, - GraphWidgetData *graphWidget, - OverlayWidgetCounts *widgetCounts) -{ - auto format = [](size_t maxValue) { - std::ostringstream text; - text << "DynamicBuffer Allocations (Max: " << maxValue << ")"; - return text.str(); - }; - - AppendRunningGraphCommon(widget, imageExtent, textWidget, graphWidget, widgetCounts, format); -} - std::ostream &AppendWidgetDataHelper::OutputPerSecond(std::ostream &out, const overlay::PerSecond *perSecond) { diff --git a/gfx/angle/checkout/src/libANGLE/Overlay_autogen.cpp b/gfx/angle/checkout/src/libANGLE/Overlay_autogen.cpp index 0bd982c23ade..8c8440d503e3 100644 --- a/gfx/angle/checkout/src/libANGLE/Overlay_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/Overlay_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_overlay_widgets.py using data from overlay_widgets.json. // -// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -317,92 +317,6 @@ void Overlay::initOverlayWidgets() widget->description.color[3] = 1.0f; } } - - { - RunningGraph *widget = new RunningGraph(60); - { - const int32_t fontSize = GetFontSize(0, kLargeFont); - const int32_t offsetX = -50; - const int32_t offsetY = 360; - const int32_t width = 6 * static_cast(widget->runningValues.size()); - const int32_t height = 100; - - widget->type = WidgetType::RunningGraph; - widget->fontSize = fontSize; - widget->coords[0] = offsetX - width; - widget->coords[1] = offsetY; - widget->coords[2] = offsetX; - widget->coords[3] = offsetY + height; - widget->color[0] = 1.0f; - widget->color[1] = 0.0f; - widget->color[2] = 0.294117647059f; - widget->color[3] = 0.78431372549f; - } - mState.mOverlayWidgets[WidgetId::VulkanShaderBufferDSHitRate].reset(widget); - { - const int32_t fontSize = GetFontSize(kFontLayerSmall, kLargeFont); - const int32_t offsetX = - mState.mOverlayWidgets[WidgetId::VulkanShaderBufferDSHitRate]->coords[0]; - const int32_t offsetY = - mState.mOverlayWidgets[WidgetId::VulkanShaderBufferDSHitRate]->coords[1]; - const int32_t width = 40 * kFontGlyphWidths[fontSize]; - const int32_t height = kFontGlyphHeights[fontSize]; - - widget->description.type = WidgetType::Text; - widget->description.fontSize = fontSize; - widget->description.coords[0] = offsetX; - widget->description.coords[1] = std::max(offsetY - height, 1); - widget->description.coords[2] = std::min(offsetX + width, -1); - widget->description.coords[3] = offsetY; - widget->description.color[0] = 1.0f; - widget->description.color[1] = 0.0f; - widget->description.color[2] = 0.294117647059f; - widget->description.color[3] = 1.0f; - } - } - - { - RunningGraph *widget = new RunningGraph(120); - { - const int32_t fontSize = GetFontSize(0, kLargeFont); - const int32_t offsetX = -50; - const int32_t offsetY = -50; - const int32_t width = 5 * static_cast(widget->runningValues.size()); - const int32_t height = 100; - - widget->type = WidgetType::RunningGraph; - widget->fontSize = fontSize; - widget->coords[0] = offsetX - width; - widget->coords[1] = offsetY - height; - widget->coords[2] = offsetX; - widget->coords[3] = offsetY; - widget->color[0] = 0.0f; - widget->color[1] = 0.78431372549f; - widget->color[2] = 0.294117647059f; - widget->color[3] = 0.78431372549f; - } - mState.mOverlayWidgets[WidgetId::VulkanDynamicBufferAllocations].reset(widget); - { - const int32_t fontSize = GetFontSize(kFontLayerSmall, kLargeFont); - const int32_t offsetX = - mState.mOverlayWidgets[WidgetId::VulkanDynamicBufferAllocations]->coords[2]; - const int32_t offsetY = - mState.mOverlayWidgets[WidgetId::VulkanDynamicBufferAllocations]->coords[1]; - const int32_t width = 40 * kFontGlyphWidths[fontSize]; - const int32_t height = kFontGlyphHeights[fontSize]; - - widget->description.type = WidgetType::Text; - widget->description.fontSize = fontSize; - widget->description.coords[0] = offsetX - width; - widget->description.coords[1] = offsetY - height; - widget->description.coords[2] = offsetX; - widget->description.coords[3] = offsetY; - widget->description.color[0] = 0.0f; - widget->description.color[1] = 0.78431372549f; - widget->description.color[2] = 0.294117647059f; - widget->description.color[3] = 1.0f; - } - } } } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/Overlay_autogen.h b/gfx/angle/checkout/src/libANGLE/Overlay_autogen.h index a0914d524e0c..c8953fefef69 100644 --- a/gfx/angle/checkout/src/libANGLE/Overlay_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/Overlay_autogen.h @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_overlay_widgets.py using data from overlay_widgets.json. // -// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -28,10 +28,6 @@ enum class WidgetId VulkanWriteDescriptorSetCount, // Descriptor Set Allocations. VulkanDescriptorSetAllocations, - // Shader Buffer Descriptor Set Cache Hit Rate. - VulkanShaderBufferDSHitRate, - // Buffer Allocations Made By vk::DynamicBuffer. - VulkanDynamicBufferAllocations, InvalidEnum, EnumCount = InvalidEnum, @@ -46,8 +42,6 @@ enum class WidgetId PROC(VulkanRenderPassBufferCount) \ PROC(VulkanSecondaryCommandBufferPoolWaste) \ PROC(VulkanWriteDescriptorSetCount) \ - PROC(VulkanDescriptorSetAllocations) \ - PROC(VulkanShaderBufferDSHitRate) \ - PROC(VulkanDynamicBufferAllocations) + PROC(VulkanDescriptorSetAllocations) } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/Program.cpp b/gfx/angle/checkout/src/libANGLE/Program.cpp index c030891e4197..ca0ce6b0a44a 100644 --- a/gfx/angle/checkout/src/libANGLE/Program.cpp +++ b/gfx/angle/checkout/src/libANGLE/Program.cpp @@ -232,6 +232,23 @@ void CopyStringToBuffer(GLchar *buffer, } } +bool IncludeSameArrayElement(const std::set &nameSet, const std::string &name) +{ + std::vector subscripts; + std::string baseName = ParseResourceName(name, &subscripts); + for (const std::string &nameInSet : nameSet) + { + std::vector arrayIndices; + std::string arrayName = ParseResourceName(nameInSet, &arrayIndices); + if (baseName == arrayName && + (subscripts.empty() || arrayIndices.empty() || subscripts == arrayIndices)) + { + return true; + } + } + return false; +} + std::string GetInterfaceBlockLimitName(ShaderType shaderType, sh::BlockType blockType) { std::ostringstream stream; @@ -342,15 +359,15 @@ GLuint GetInterfaceBlockIndex(const std::vector &list, const std return GL_INVALID_INDEX; } -void GetInterfaceBlockName(const UniformBlockIndex index, +void GetInterfaceBlockName(const GLuint index, const std::vector &list, GLsizei bufSize, GLsizei *length, GLchar *name) { - ASSERT(index.value < list.size()); + ASSERT(index < list.size()); - const auto &block = list[index.value]; + const auto &block = list[index]; if (bufSize > 0) { @@ -387,7 +404,50 @@ void InitShaderStorageBlockLinker(const ProgramState &state, ShaderStorageBlockL } } } -} // anonymous namespace + +// Find the matching varying or field by name. +const sh::ShaderVariable *FindOutputVaryingOrField(const ProgramMergedVaryings &varyings, + ShaderType stage, + const std::string &name) +{ + const sh::ShaderVariable *var = nullptr; + for (const ProgramVaryingRef &ref : varyings) + { + if (ref.frontShaderStage != stage) + { + continue; + } + + const sh::ShaderVariable *varying = ref.get(stage); + if (varying->name == name) + { + var = varying; + break; + } + GLuint fieldIndex = 0; + var = varying->findField(name, &fieldIndex); + if (var != nullptr) + { + break; + } + } + return var; +} + +void AddParentPrefix(const std::string &parentName, std::string *mismatchedFieldName) +{ + ASSERT(mismatchedFieldName); + if (mismatchedFieldName->empty()) + { + *mismatchedFieldName = parentName; + } + else + { + std::ostringstream stream; + stream << parentName << "." << *mismatchedFieldName; + *mismatchedFieldName = stream.str(); + } +} const char *GetLinkMismatchErrorString(LinkMismatchError linkError) { @@ -395,8 +455,6 @@ const char *GetLinkMismatchErrorString(LinkMismatchError linkError) { case LinkMismatchError::TYPE_MISMATCH: return "Type"; - case LinkMismatchError::ARRAYNESS_MISMATCH: - return "Array-ness"; case LinkMismatchError::ARRAY_SIZE_MISMATCH: return "Array size"; case LinkMismatchError::PRECISION_MISMATCH: @@ -428,11 +486,6 @@ const char *GetLinkMismatchErrorString(LinkMismatchError linkError) return "Layout qualifier"; case LinkMismatchError::MATRIX_PACKING_MISMATCH: return "Matrix Packing"; - - case LinkMismatchError::FIELD_LOCATION_MISMATCH: - return "Field location"; - case LinkMismatchError::FIELD_STRUCT_NAME_MISMATCH: - return "Field structure name"; default: UNREACHABLE(); return ""; @@ -450,17 +503,17 @@ LinkMismatchError LinkValidateInterfaceBlockFields(const sh::ShaderVariable &blo } // If webgl, validate precision of UBO fields, otherwise don't. See Khronos bug 10287. - LinkMismatchError linkError = LinkValidateProgramVariables( - blockField1, blockField2, webglCompatibility, false, false, mismatchedBlockFieldName); + LinkMismatchError linkError = Program::LinkValidateVariablesBase( + blockField1, blockField2, webglCompatibility, true, mismatchedBlockFieldName); if (linkError != LinkMismatchError::NO_MISMATCH) { - AddProgramVariableParentPrefix(blockField1.name, mismatchedBlockFieldName); + AddParentPrefix(blockField1.name, mismatchedBlockFieldName); return linkError; } if (blockField1.isRowMajorLayout != blockField2.isRowMajorLayout) { - AddProgramVariableParentPrefix(blockField1.name, mismatchedBlockFieldName); + AddParentPrefix(blockField1.name, mismatchedBlockFieldName); return LinkMismatchError::MATRIX_PACKING_MISMATCH; } @@ -556,75 +609,12 @@ bool ValidateGraphicsInterfaceBlocksPerShader( return true; } -void LogAmbiguousFieldLinkMismatch(InfoLog &infoLog, - const std::string &blockName1, - const std::string &blockName2, - const std::string &fieldName, - ShaderType shaderType1, - ShaderType shaderType2) -{ - infoLog << "Ambiguous field '" << fieldName << "' in blocks '" << blockName1 << "' (" - << GetShaderTypeString(shaderType1) << " shader) and '" << blockName2 << "' (" - << GetShaderTypeString(shaderType2) << " shader) which don't have instance names."; -} - -bool ValidateInstancelessGraphicsInterfaceBlocksPerShader( - const std::vector &interfaceBlocks, - ShaderType shaderType, - InterfaceBlockMap *instancelessBlocksFields, - InfoLog &infoLog) -{ - ASSERT(instancelessBlocksFields); - - for (const sh::InterfaceBlock &block : interfaceBlocks) - { - if (!block.instanceName.empty()) - { - continue; - } - - for (const sh::ShaderVariable &field : block.fields) - { - const auto &entry = instancelessBlocksFields->find(field.name); - if (entry != instancelessBlocksFields->end()) - { - const sh::InterfaceBlock &linkedBlock = *(entry->second.second); - if (block.name != linkedBlock.name) - { - LogAmbiguousFieldLinkMismatch(infoLog, block.name, linkedBlock.name, field.name, - entry->second.first, shaderType); - return false; - } - } - else - { - (*instancelessBlocksFields)[field.name] = std::make_pair(shaderType, &block); - } - } - } - - return true; -} - bool ValidateInterfaceBlocksMatch( GLuint numShadersHasInterfaceBlocks, const ShaderMap *> &shaderInterfaceBlocks, InfoLog &infoLog, - bool webglCompatibility, - InterfaceBlockMap *instancelessInterfaceBlocksFields) + bool webglCompatibility) { - for (ShaderType shaderType : kAllGraphicsShaderTypes) - { - // Validate that instanceless blocks of different names don't have fields of the same name. - if (shaderInterfaceBlocks[shaderType] && - !ValidateInstancelessGraphicsInterfaceBlocksPerShader( - *shaderInterfaceBlocks[shaderType], shaderType, instancelessInterfaceBlocksFields, - infoLog)) - { - return false; - } - } - if (numShadersHasInterfaceBlocks < 2u) { return true; @@ -661,51 +651,6 @@ bool ValidateInterfaceBlocksMatch( return true; } -void UpdateInterfaceVariable(std::vector *block, const sh::ShaderVariable &var) -{ - if (!var.isStruct()) - { - block->emplace_back(var); - block->back().resetEffectiveLocation(); - } - - for (const sh::ShaderVariable &field : var.fields) - { - ASSERT(!var.name.empty() || var.isShaderIOBlock); - - // Shader I/O block naming is similar to UBOs and SSBOs: - // - // in Block - // { - // type field; // produces "field" - // }; - // - // in Block2 - // { - // type field; // produces "Block2.field" - // } block2; - // - const std::string &baseName = var.isShaderIOBlock ? var.structOrBlockName : var.name; - const std::string prefix = var.name.empty() ? "" : baseName + "."; - - if (!field.isStruct()) - { - sh::ShaderVariable fieldCopy = field; - fieldCopy.updateEffectiveLocation(var); - fieldCopy.name = prefix + field.name; - block->emplace_back(fieldCopy); - } - - for (const sh::ShaderVariable &nested : field.fields) - { - sh::ShaderVariable nestedCopy = nested; - nestedCopy.updateEffectiveLocation(field); - nestedCopy.name = prefix + field.name + "." + nested.name; - block->emplace_back(nestedCopy); - } - } -} - void WriteShaderVariableBuffer(BinaryOutputStream *stream, const ShaderVariableBuffer &var) { stream->writeInt(var.binding); @@ -787,12 +732,13 @@ void LoadInterfaceBlock(BinaryInputStream *stream, InterfaceBlock *block) LoadShaderVariableBuffer(stream, block); } +} // anonymous namespace // Saves the linking context for later use in resolveLink(). struct Program::LinkingState { std::shared_ptr linkedExecutable; - ProgramLinkedResources resources; + std::unique_ptr resources; egl::BlobCache::Key programHash; std::unique_ptr linkEvent; bool linkingFromBinary; @@ -858,10 +804,7 @@ void InfoLog::appendSanitized(const char *message) } } while (found != std::string::npos); - if (!msg.empty()) - { - *mLazyStream << message << std::endl; - } + *mLazyStream << message << std::endl; } void InfoLog::reset() @@ -938,66 +881,37 @@ void WriteShaderVar(BinaryOutputStream *stream, const sh::ShaderVariable &var) stream->writeIntVector(var.arraySizes); stream->writeBool(var.staticUse); stream->writeBool(var.active); - stream->writeInt(var.fields.size()); - for (const sh::ShaderVariable &shaderVariable : var.fields) - { - WriteShaderVar(stream, shaderVariable); - } - stream->writeString(var.structOrBlockName); - stream->writeString(var.mappedStructOrBlockName); - stream->writeBool(var.isRowMajorLayout); - stream->writeInt(var.location); - stream->writeBool(var.hasImplicitLocation); stream->writeInt(var.binding); + stream->writeString(var.structName); + stream->writeInt(var.hasParentArrayIndex() ? var.parentArrayIndex() : -1); + stream->writeInt(var.imageUnitFormat); stream->writeInt(var.offset); stream->writeBool(var.readonly); stream->writeBool(var.writeonly); - stream->writeBool(var.isFragmentInOut); - stream->writeInt(var.index); - stream->writeBool(var.yuv); - stream->writeEnum(var.interpolation); - stream->writeBool(var.isInvariant); - stream->writeBool(var.isShaderIOBlock); - stream->writeBool(var.isPatch); stream->writeBool(var.texelFetchStaticUse); - stream->writeInt(var.getFlattenedOffsetInParentArrays()); + + ASSERT(var.fields.empty()); } -void LoadShaderVar(gl::BinaryInputStream *stream, sh::ShaderVariable *var) +void LoadShaderVar(BinaryInputStream *stream, sh::ShaderVariable *var) { - var->type = stream->readInt(); - var->precision = stream->readInt(); - stream->readString(&var->name); - stream->readString(&var->mappedName); + var->type = stream->readInt(); + var->precision = stream->readInt(); + var->name = stream->readString(); + var->mappedName = stream->readString(); stream->readIntVector(&var->arraySizes); - var->staticUse = stream->readBool(); - var->active = stream->readBool(); - size_t elementCount = stream->readInt(); - var->fields.resize(elementCount); - for (sh::ShaderVariable &variable : var->fields) - { - LoadShaderVar(stream, &variable); - } - stream->readString(&var->structOrBlockName); - stream->readString(&var->mappedStructOrBlockName); - var->isRowMajorLayout = stream->readBool(); - var->location = stream->readInt(); - var->hasImplicitLocation = stream->readBool(); - var->binding = stream->readInt(); + var->staticUse = stream->readBool(); + var->active = stream->readBool(); + var->binding = stream->readInt(); + var->structName = stream->readString(); + var->setParentArrayIndex(stream->readInt()); + var->imageUnitFormat = stream->readInt(); var->offset = stream->readInt(); var->readonly = stream->readBool(); var->writeonly = stream->readBool(); - var->isFragmentInOut = stream->readBool(); - var->index = stream->readInt(); - var->yuv = stream->readBool(); - var->interpolation = stream->readEnum(); - var->isInvariant = stream->readBool(); - var->isShaderIOBlock = stream->readBool(); - var->isPatch = stream->readBool(); var->texelFetchStaticUse = stream->readBool(); - var->setParentArrayIndex(stream->readInt()); } // VariableLocation implementation. @@ -1011,13 +925,9 @@ VariableLocation::VariableLocation(unsigned int arrayIndex, unsigned int index) // SamplerBindings implementation. SamplerBinding::SamplerBinding(TextureType textureTypeIn, - GLenum samplerTypeIn, SamplerFormat formatIn, size_t elementCount) - : textureType(textureTypeIn), - samplerType(samplerTypeIn), - format(formatIn), - boundTextureUnits(elementCount, 0) + : textureType(textureTypeIn), format(formatIn), boundTextureUnits(elementCount, 0) {} SamplerBinding::SamplerBinding(const SamplerBinding &other) = default; @@ -1149,11 +1059,8 @@ ProgramAliasedBindings::const_iterator ProgramAliasedBindings::end() const } // ImageBinding implementation. -ImageBinding::ImageBinding(size_t count, TextureType textureTypeIn) - : textureType(textureTypeIn), boundImageUnits(count, 0) -{} -ImageBinding::ImageBinding(GLuint imageUnit, size_t count, TextureType textureTypeIn) - : textureType(textureTypeIn) +ImageBinding::ImageBinding(size_t count) : boundImageUnits(count, 0) {} +ImageBinding::ImageBinding(GLuint imageUnit, size_t count) { for (size_t index = 0; index < count; ++index) { @@ -1169,12 +1076,17 @@ ImageBinding::~ImageBinding() = default; ProgramState::ProgramState() : mLabel(), mAttachedShaders{}, + mAttachedShadersMarkedForDetach{}, mLocationsUsedForXfbExtension(0), mAtomicCounterUniformRange(0, 0), - mYUVOutput(false), mBinaryRetrieveableHint(false), mSeparable(false), mNumViews(-1), + // [GL_EXT_geometry_shader] Table 20.22 + mGeometryShaderInputPrimitiveType(PrimitiveMode::Triangles), + mGeometryShaderOutputPrimitiveType(PrimitiveMode::TriangleStrip), + mGeometryShaderInvocations(1), + mGeometryShaderMaxVertices(0), mDrawIDLocation(-1), mBaseVertexLocation(-1), mBaseInstanceLocation(-1), @@ -1283,37 +1195,32 @@ bool ProgramState::hasAttachedShader() const ShaderType ProgramState::getFirstAttachedShaderStageType() const { - const ShaderBitSet linkedStages = mExecutable->getLinkedShaderStages(); - if (linkedStages.none()) + if (mExecutable->getLinkedShaderStages().none()) { return ShaderType::InvalidEnum; } - return linkedStages.first(); + return *mExecutable->getLinkedShaderStages().begin(); } ShaderType ProgramState::getLastAttachedShaderStageType() const { - const ShaderBitSet linkedStages = mExecutable->getLinkedShaderStages(); - if (linkedStages.none()) + for (int i = gl::kAllGraphicsShaderTypes.size() - 1; i >= 0; --i) { - return ShaderType::InvalidEnum; + const gl::ShaderType shaderType = gl::kAllGraphicsShaderTypes[i]; + + if (mExecutable->hasLinkedShaderStage(shaderType)) + { + return shaderType; + } } - return linkedStages.last(); -} + if (mExecutable->hasLinkedShaderStage(ShaderType::Compute)) + { + return ShaderType::Compute; + } -ShaderType ProgramState::getAttachedTransformFeedbackStage() const -{ - if (mAttachedShaders[ShaderType::Geometry]) - { - return ShaderType::Geometry; - } - if (mAttachedShaders[ShaderType::TessEvaluation]) - { - return ShaderType::TessEvaluation; - } - return ShaderType::Vertex; + return ShaderType::InvalidEnum; } Program::Program(rx::GLImplFactory *factory, ShaderProgramManager *manager, ShaderProgramID handle) @@ -1344,7 +1251,8 @@ void Program::onDestroy(const Context *context) if (mState.mAttachedShaders[shaderType]) { mState.mAttachedShaders[shaderType]->release(context); - mState.mAttachedShaders[shaderType] = nullptr; + mState.mAttachedShaders[shaderType] = nullptr; + mState.mAttachedShadersMarkedForDetach[shaderType] = false; } } @@ -1373,24 +1281,45 @@ const std::string &Program::getLabel() const return mState.mLabel; } -void Program::attachShader(Shader *shader) +void Program::attachShader(const Context *context, Shader *shader) { + ASSERT(!mLinkingState); ShaderType shaderType = shader->getType(); ASSERT(shaderType != ShaderType::InvalidEnum); + // Since detachShader doesn't actually detach anymore, we need to do that work when attaching a + // new shader to make sure we don't lose track of it and free the resources. + if (mState.mAttachedShaders[shaderType]) + { + mState.mAttachedShaders[shaderType]->release(context); + mState.mAttachedShaders[shaderType] = nullptr; + mState.mAttachedShadersMarkedForDetach[shaderType] = false; + } + mState.mAttachedShaders[shaderType] = shader; mState.mAttachedShaders[shaderType]->addRef(); } void Program::detachShader(const Context *context, Shader *shader) { - resolveLink(context); + ASSERT(!mLinkingState); ShaderType shaderType = shader->getType(); ASSERT(shaderType != ShaderType::InvalidEnum); ASSERT(mState.mAttachedShaders[shaderType] == shader); + + if (isSeparable()) + { + // Don't actually detach the shader since we still need it in case this + // Program is part of a Program Pipeline Object. Instead, leave a mark + // that indicates we intended to. + mState.mAttachedShadersMarkedForDetach[shaderType] = true; + return; + } + shader->release(context); - mState.mAttachedShaders[shaderType] = nullptr; + mState.mAttachedShaders[shaderType] = nullptr; + mState.mAttachedShadersMarkedForDetach[shaderType] = false; } int Program::getAttachedShadersCount() const @@ -1408,7 +1337,7 @@ int Program::getAttachedShadersCount() const return numAttachedShaders; } -Shader *Program::getAttachedShader(ShaderType shaderType) const +const Shader *Program::getAttachedShader(ShaderType shaderType) const { ASSERT(!mLinkingState); return mState.getAttachedShader(shaderType); @@ -1436,6 +1365,32 @@ void Program::bindFragmentOutputIndex(GLuint index, const char *name) mFragmentOutputIndexes.bindLocation(index, name); } +angle::Result Program::linkMergedVaryings(const Context *context, + const ProgramExecutable &executable, + const ProgramMergedVaryings &mergedVaryings) +{ + ShaderType tfStage = + mState.mAttachedShaders[ShaderType::Geometry] ? ShaderType::Geometry : ShaderType::Vertex; + InfoLog &infoLog = getExecutable().getInfoLog(); + + if (!linkValidateTransformFeedback(context->getClientVersion(), infoLog, mergedVaryings, + tfStage, context->getCaps())) + { + return angle::Result::Stop; + } + + if (!executable.mResources->varyingPacking.collectAndPackUserVaryings( + infoLog, mergedVaryings, mState.getTransformFeedbackVaryingNames(), isSeparable())) + { + return angle::Result::Stop; + } + + gatherTransformFeedbackVaryings(mergedVaryings, tfStage); + mState.updateTransformFeedbackStrides(); + + return angle::Result::Continue; +} + angle::Result Program::link(const Context *context) { angle::Result result = linkImpl(context); @@ -1458,6 +1413,7 @@ angle::Result Program::linkImpl(const Context *context) ASSERT(!mLinkingState); // Don't make any local variables pointing to anything within the ProgramExecutable, since // unlink() could make a new ProgramExecutable making any references/pointers invalid. + const auto &data = context->getState(); auto *platform = ANGLEPlatformCurrent(); double startTime = platform->currentTime(platform); @@ -1503,20 +1459,19 @@ angle::Result Program::linkImpl(const Context *context) bool result = linkValidateShaders(infoLog); ASSERT(result); - std::unique_ptr linkingState(new LinkingState()); ProgramMergedVaryings mergedVaryings; - ProgramLinkedResources &resources = linkingState->resources; if (mState.mAttachedShaders[ShaderType::Compute]) { - resources.init(&mState.mExecutable->mUniformBlocks, &mState.mExecutable->mUniforms, - &mState.mExecutable->mComputeShaderStorageBlocks, &mState.mBufferVariables, - &mState.mExecutable->mAtomicCounterBuffers); + mState.mExecutable->mResources.reset(new ProgramLinkedResources( + 0, PackMode::ANGLE_RELAXED, &mState.mExecutable->mUniformBlocks, + &mState.mExecutable->mUniforms, &mState.mExecutable->mComputeShaderStorageBlocks, + &mState.mBufferVariables, &mState.mExecutable->mAtomicCounterBuffers)); GLuint combinedImageUniforms = 0u; if (!linkUniforms(context->getCaps(), context->getClientVersion(), infoLog, mState.mUniformLocationBindings, &combinedImageUniforms, - &resources.unusedUniforms)) + &mState.mExecutable->getResources().unusedUniforms)) { return angle::Result::Continue; } @@ -1545,14 +1500,30 @@ angle::Result Program::linkImpl(const Context *context) return angle::Result::Continue; } - InitUniformBlockLinker(mState, &resources.uniformBlockLinker); - InitShaderStorageBlockLinker(mState, &resources.shaderStorageBlockLinker); + InitUniformBlockLinker(mState, &mState.mExecutable->getResources().uniformBlockLinker); + InitShaderStorageBlockLinker(mState, + &mState.mExecutable->getResources().shaderStorageBlockLinker); } else { - resources.init(&mState.mExecutable->mUniformBlocks, &mState.mExecutable->mUniforms, - &mState.mExecutable->mGraphicsShaderStorageBlocks, &mState.mBufferVariables, - &mState.mExecutable->mAtomicCounterBuffers); + // Map the varyings to the register file + // In WebGL, we use a slightly different handling for packing variables. + gl::PackMode packMode = PackMode::ANGLE_RELAXED; + if (data.getLimitations().noFlexibleVaryingPacking) + { + // D3D9 pack mode is strictly more strict than WebGL, so takes priority. + packMode = PackMode::ANGLE_NON_CONFORMANT_D3D9; + } + else if (data.getExtensions().webglCompatibility) + { + packMode = PackMode::WEBGL_STRICT; + } + + mState.mExecutable->mResources.reset(new ProgramLinkedResources( + static_cast(data.getCaps().maxVaryingVectors), packMode, + &mState.mExecutable->mUniformBlocks, &mState.mExecutable->mUniforms, + &mState.mExecutable->mGraphicsShaderStorageBlocks, &mState.mBufferVariables, + &mState.mExecutable->mAtomicCounterBuffers)); if (!linkAttributes(context, infoLog)) { @@ -1567,7 +1538,7 @@ angle::Result Program::linkImpl(const Context *context) GLuint combinedImageUniforms = 0u; if (!linkUniforms(context->getCaps(), context->getClientVersion(), infoLog, mState.mUniformLocationBindings, &combinedImageUniforms, - &resources.unusedUniforms)) + &mState.mExecutable->getResources().unusedUniforms)) { return angle::Result::Continue; } @@ -1580,7 +1551,9 @@ angle::Result Program::linkImpl(const Context *context) return angle::Result::Continue; } - if (!LinkValidateProgramGlobalNames(infoLog, *this)) + gl::ShaderMap programStates; + fillProgramStateMap(&programStates); + if (!mState.mExecutable->linkValidateGlobalNames(infoLog, programStates)) { return angle::Result::Continue; } @@ -1596,7 +1569,6 @@ angle::Result Program::linkImpl(const Context *context) if (vertexShader) { mState.mNumViews = vertexShader->getNumViews(); - mState.mSpecConstUsageBits |= vertexShader->getSpecConstUsageBits(); } gl::Shader *fragmentShader = mState.mAttachedShaders[ShaderType::Fragment]; @@ -1604,27 +1576,31 @@ angle::Result Program::linkImpl(const Context *context) { mState.mEarlyFramentTestsOptimization = fragmentShader->hasEarlyFragmentTestsOptimization(); - mState.mSpecConstUsageBits |= fragmentShader->getSpecConstUsageBits(); } - InitUniformBlockLinker(mState, &resources.uniformBlockLinker); - InitShaderStorageBlockLinker(mState, &resources.shaderStorageBlockLinker); + InitUniformBlockLinker(mState, &mState.mExecutable->getResources().uniformBlockLinker); + InitShaderStorageBlockLinker(mState, + &mState.mExecutable->getResources().shaderStorageBlockLinker); - mergedVaryings = GetMergedVaryingsFromShaders(*this, getExecutable()); - if (!mState.mExecutable->linkMergedVaryings(context, *this, mergedVaryings, - mState.mTransformFeedbackVaryingNames, - isSeparable(), &resources.varyingPacking)) + ProgramPipeline *programPipeline = context->getState().getProgramPipeline(); + if (programPipeline && programPipeline->usesShaderProgram(id())) { - return angle::Result::Continue; + mergedVaryings = context->getState().getProgramPipeline()->getMergedVaryings(); } + else + { + mergedVaryings = getMergedVaryings(); + } + ANGLE_TRY(linkMergedVaryings(context, *mState.mExecutable, mergedVaryings)); } updateLinkedShaderStages(); - mLinkingState = std::move(linkingState); + mLinkingState.reset(new LinkingState()); mLinkingState->linkingFromBinary = false; mLinkingState->programHash = programHash; - mLinkingState->linkEvent = mProgram->link(context, resources, infoLog, mergedVaryings); + mLinkingState->linkEvent = + mProgram->link(context, mState.mExecutable->getResources(), infoLog, mergedVaryings); // Must be after mProgram->link() to avoid misleading the linker about output variables. mState.updateProgramInterfaceInputs(); @@ -1719,6 +1695,32 @@ void Program::updateLinkedShaderStages() } } +void ProgramState::updateTransformFeedbackStrides() +{ + if (mExecutable->mTransformFeedbackBufferMode == GL_INTERLEAVED_ATTRIBS) + { + mExecutable->mTransformFeedbackStrides.resize(1); + size_t totalSize = 0; + for (const TransformFeedbackVarying &varying : + mExecutable->mLinkedTransformFeedbackVaryings) + { + totalSize += varying.size() * VariableExternalSize(varying.type); + } + mExecutable->mTransformFeedbackStrides[0] = static_cast(totalSize); + } + else + { + mExecutable->mTransformFeedbackStrides.resize( + mExecutable->mLinkedTransformFeedbackVaryings.size()); + for (size_t i = 0; i < mExecutable->mLinkedTransformFeedbackVaryings.size(); i++) + { + TransformFeedbackVarying &varying = mExecutable->mLinkedTransformFeedbackVaryings[i]; + mExecutable->mTransformFeedbackStrides[i] = + static_cast(varying.size() * VariableExternalSize(varying.type)); + } + } +} + void ProgramState::updateActiveSamplers() { mExecutable->mActiveSamplerRefCounts.fill(0); @@ -1754,11 +1756,24 @@ void ProgramState::updateProgramInterfaceInputs() mExecutable->mProgramInputs.emplace_back(attribute); } } - else + else if (shader->getType() == ShaderType::Fragment) { for (const sh::ShaderVariable &varying : shader->getInputVaryings()) { - UpdateInterfaceVariable(&mExecutable->mProgramInputs, varying); + if (varying.isStruct()) + { + for (const sh::ShaderVariable &field : varying.fields) + { + sh::ShaderVariable fieldVarying = sh::ShaderVariable(field); + fieldVarying.location = varying.location; + fieldVarying.name = varying.name + "." + field.name; + mExecutable->mProgramInputs.emplace_back(fieldVarying); + } + } + else + { + mExecutable->mProgramInputs.emplace_back(varying); + } } } } @@ -1784,7 +1799,20 @@ void ProgramState::updateProgramInterfaceOutputs() // Copy over each output varying, since the Shader could go away for (const sh::ShaderVariable &varying : shader->getOutputVaryings()) { - UpdateInterfaceVariable(&mExecutable->mOutputVariables, varying); + if (varying.isStruct()) + { + for (const sh::ShaderVariable &field : varying.fields) + { + sh::ShaderVariable fieldVarying = sh::ShaderVariable(field); + fieldVarying.location = varying.location; + fieldVarying.name = varying.name + "." + field.name; + mExecutable->mOutputVariables.emplace_back(fieldVarying); + } + } + else + { + mExecutable->mOutputVariables.emplace_back(varying); + } } } @@ -1801,25 +1829,23 @@ void Program::unlink() mState.mUniformLocations.clear(); mState.mBufferVariables.clear(); + mState.mActiveUniformBlockBindings.reset(); + mState.mSecondaryOutputLocations.clear(); mState.mOutputVariableTypes.clear(); mState.mDrawBufferTypeMask.reset(); - mState.mYUVOutput = false; mState.mActiveOutputVariables.reset(); mState.mComputeShaderLocalSize.fill(1); - mState.mNumViews = -1; - mState.mDrawIDLocation = -1; - mState.mBaseVertexLocation = -1; - mState.mBaseInstanceLocation = -1; - mState.mCachedBaseVertex = 0; - mState.mCachedBaseInstance = 0; - mState.mEarlyFramentTestsOptimization = false; - mState.mDrawIDLocation = -1; - mState.mBaseVertexLocation = -1; - mState.mBaseInstanceLocation = -1; - mState.mCachedBaseVertex = 0; - mState.mCachedBaseInstance = 0; - mState.mEarlyFramentTestsOptimization = false; - mState.mSpecConstUsageBits.reset(); + mState.mNumViews = -1; + mState.mGeometryShaderInputPrimitiveType = PrimitiveMode::Triangles; + mState.mGeometryShaderOutputPrimitiveType = PrimitiveMode::TriangleStrip; + mState.mGeometryShaderInvocations = 1; + mState.mGeometryShaderMaxVertices = 0; + mState.mDrawIDLocation = -1; + mState.mBaseVertexLocation = -1; + mState.mBaseInstanceLocation = -1; + mState.mCachedBaseVertex = 0; + mState.mCachedBaseInstance = 0; + mState.mEarlyFramentTestsOptimization = false; mValidated = false; @@ -2110,53 +2136,23 @@ const sh::WorkGroupSize &Program::getComputeShaderLocalSize() const PrimitiveMode Program::getGeometryShaderInputPrimitiveType() const { - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->getGeometryShaderInputPrimitiveType(); + ASSERT(!mLinkingState); + return mState.mGeometryShaderInputPrimitiveType; } PrimitiveMode Program::getGeometryShaderOutputPrimitiveType() const { - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->getGeometryShaderOutputPrimitiveType(); + ASSERT(!mLinkingState); + return mState.mGeometryShaderOutputPrimitiveType; } GLint Program::getGeometryShaderInvocations() const { - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->getGeometryShaderInvocations(); + ASSERT(!mLinkingState); + return mState.mGeometryShaderInvocations; } GLint Program::getGeometryShaderMaxVertices() const { - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->getGeometryShaderMaxVertices(); -} - -GLint Program::getTessControlShaderVertices() const -{ - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->mTessControlShaderVertices; -} - -GLenum Program::getTessGenMode() const -{ - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->mTessGenMode; -} - -GLenum Program::getTessGenPointMode() const -{ - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->mTessGenPointMode; -} - -GLenum Program::getTessGenSpacing() const -{ - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->mTessGenSpacing; -} - -GLenum Program::getTessGenVertexOrder() const -{ - ASSERT(!mLinkingState && mState.mExecutable); - return mState.mExecutable->mTessGenVertexOrder; + ASSERT(!mLinkingState); + return mState.mGeometryShaderMaxVertices; } const sh::ShaderVariable &Program::getInputResource(size_t index) const @@ -2439,7 +2435,7 @@ GLint Program::getFragDataLocation(const std::string &name) const return primaryLocation; } return GetVariableLocation(mState.mExecutable->getOutputVariables(), - mState.mExecutable->getSecondaryOutputLocations(), name); + mState.mSecondaryOutputLocations, name); } GLint Program::getFragDataIndex(const std::string &name) const @@ -2451,7 +2447,7 @@ GLint Program::getFragDataIndex(const std::string &name) const return 0; } if (GetVariableLocation(mState.mExecutable->getOutputVariables(), - mState.mExecutable->getSecondaryOutputLocations(), name) != -1) + mState.mSecondaryOutputLocations, name) != -1) { return 1; } @@ -3033,13 +3029,41 @@ void Program::validate(const Caps &caps) } } +bool Program::validateSamplersImpl(InfoLog *infoLog, const Caps &caps) +{ + const ProgramExecutable *executable = mState.mExecutable.get(); + ASSERT(!mLinkingState); + + // if any two active samplers in a program are of different types, but refer to the same + // texture image unit, and this is the current program, then ValidateProgram will fail, and + // DrawArrays and DrawElements will issue the INVALID_OPERATION error. + for (size_t textureUnit : executable->mActiveSamplersMask) + { + if (executable->mActiveSamplerTypes[textureUnit] == TextureType::InvalidEnum) + { + if (infoLog) + { + (*infoLog) << "Samplers of conflicting types refer to the same texture " + "image unit (" + << textureUnit << ")."; + } + + mCachedValidateSamplersResult = false; + return false; + } + } + + mCachedValidateSamplersResult = true; + return true; +} + bool Program::isValidated() const { ASSERT(!mLinkingState); return mValidated; } -void Program::getActiveUniformBlockName(const UniformBlockIndex blockIndex, +void Program::getActiveUniformBlockName(const GLuint blockIndex, GLsizei bufSize, GLsizei *length, GLchar *blockName) const @@ -3055,8 +3079,8 @@ void Program::getActiveShaderStorageBlockName(const GLuint blockIndex, GLchar *blockName) const { ASSERT(!mLinkingState); - GetInterfaceBlockName({blockIndex}, mState.mExecutable->getShaderStorageBlocks(), bufSize, - length, blockName); + GetInterfaceBlockName(blockIndex, mState.mExecutable->getShaderStorageBlocks(), bufSize, length, + blockName); } template @@ -3117,13 +3141,12 @@ const InterfaceBlock &Program::getShaderStorageBlockByIndex(GLuint index) const return mState.mExecutable->getShaderStorageBlocks()[index]; } -void Program::bindUniformBlock(UniformBlockIndex uniformBlockIndex, GLuint uniformBlockBinding) +void Program::bindUniformBlock(GLuint uniformBlockIndex, GLuint uniformBlockBinding) { ASSERT(!mLinkingState); - mState.mExecutable->mUniformBlocks[uniformBlockIndex.value].binding = uniformBlockBinding; - mState.mExecutable->mActiveUniformBlockBindings.set(uniformBlockIndex.value, - uniformBlockBinding != 0); - mDirtyBits.set(DIRTY_BIT_UNIFORM_BLOCK_BINDING_0 + uniformBlockIndex.value); + mState.mExecutable->mUniformBlocks[uniformBlockIndex].binding = uniformBlockBinding; + mState.mActiveUniformBlockBindings.set(uniformBlockIndex, uniformBlockBinding != 0); + mDirtyBits.set(DIRTY_BIT_UNIFORM_BLOCK_BINDING_0 + uniformBlockIndex); } GLuint Program::getUniformBlockBinding(GLuint uniformBlockIndex) const @@ -3227,55 +3250,33 @@ GLenum Program::getTransformFeedbackBufferMode() const bool Program::linkValidateShaders(InfoLog &infoLog) { - const ShaderMap &shaders = mState.mAttachedShaders; + Shader *vertexShader = mState.mAttachedShaders[ShaderType::Vertex]; + Shader *fragmentShader = mState.mAttachedShaders[ShaderType::Fragment]; + Shader *computeShader = mState.mAttachedShaders[ShaderType::Compute]; + Shader *geometryShader = mState.mAttachedShaders[ShaderType::Geometry]; - bool isComputeShaderAttached = shaders[ShaderType::Compute] != nullptr; - bool isGraphicsShaderAttached = shaders[ShaderType::Vertex] || - shaders[ShaderType::TessControl] || - shaders[ShaderType::TessEvaluation] || - shaders[ShaderType::Geometry] || shaders[ShaderType::Fragment]; + bool isComputeShaderAttached = (computeShader != nullptr); + bool isGraphicsShaderAttached = + (vertexShader != nullptr || fragmentShader != nullptr || geometryShader != nullptr); // Check whether we both have a compute and non-compute shaders attached. // If there are of both types attached, then linking should fail. // OpenGL ES 3.10, 7.3 Program Objects, under LinkProgram - if (isComputeShaderAttached && isGraphicsShaderAttached) + if (isComputeShaderAttached == true && isGraphicsShaderAttached == true) { infoLog << "Both compute and graphics shaders are attached to the same program."; return false; } - Optional version; - for (ShaderType shaderType : kAllGraphicsShaderTypes) + if (computeShader) { - Shader *shader = shaders[shaderType]; - ASSERT(!shader || shader->getType() == shaderType); - if (!shader) + if (!computeShader->isCompiled()) { - continue; - } - - if (!shader->isCompiled()) - { - infoLog << ShaderTypeToString(shaderType) << " shader is not compiled."; + infoLog << "Attached compute shader is not compiled."; return false; } + ASSERT(computeShader->getType() == ShaderType::Compute); - if (!version.valid()) - { - version = shader->getShaderVersion(); - } - else if (version != shader->getShaderVersion()) - { - infoLog << ShaderTypeToString(shaderType) - << " shader version does not match other shader versions."; - return false; - } - } - - if (isComputeShaderAttached) - { - ASSERT(shaders[ShaderType::Compute]->getType() == ShaderType::Compute); - - mState.mComputeShaderLocalSize = shaders[ShaderType::Compute]->getWorkGroupSize(); + mState.mComputeShaderLocalSize = computeShader->getWorkGroupSize(); // GLSL ES 3.10, 4.4.1.1 Compute Shader Inputs // If the work group size is not specified, a link time error should occur. @@ -3287,31 +3288,60 @@ bool Program::linkValidateShaders(InfoLog &infoLog) } else { - if (!isGraphicsShaderAttached) + if (isSeparable()) { - infoLog << "No compiled shaders."; - return false; + if (!fragmentShader && !vertexShader) + { + infoLog << "No compiled shaders."; + return false; + } + + ASSERT(!fragmentShader || fragmentShader->getType() == ShaderType::Fragment); + if (fragmentShader && !fragmentShader->isCompiled()) + { + infoLog << "Fragment shader is not compiled."; + return false; + } + + ASSERT(!vertexShader || vertexShader->getType() == ShaderType::Vertex); + if (vertexShader && !vertexShader->isCompiled()) + { + infoLog << "Vertex shader is not compiled."; + return false; + } + } + else + { + if (!fragmentShader || !fragmentShader->isCompiled()) + { + infoLog + << "No compiled fragment shader when at least one graphics shader is attached."; + return false; + } + ASSERT(fragmentShader->getType() == ShaderType::Fragment); + + if (!vertexShader || !vertexShader->isCompiled()) + { + infoLog + << "No compiled vertex shader when at least one graphics shader is attached."; + return false; + } + ASSERT(vertexShader->getType() == ShaderType::Vertex); } - bool hasVertex = shaders[ShaderType::Vertex] != nullptr; - bool hasFragment = shaders[ShaderType::Fragment] != nullptr; - if (!isSeparable() && (!hasVertex || !hasFragment)) + if (vertexShader && fragmentShader) { - infoLog - << "The program must contain objects to form both a vertex and fragment shader."; - return false; + int vertexShaderVersion = vertexShader->getShaderVersion(); + int fragmentShaderVersion = fragmentShader->getShaderVersion(); + + if (fragmentShaderVersion != vertexShaderVersion) + { + infoLog << "Fragment shader version does not match vertex shader version."; + return false; + } } - bool hasTessControl = shaders[ShaderType::TessControl] != nullptr; - bool hasTessEvaluation = shaders[ShaderType::TessEvaluation] != nullptr; - if (!isSeparable() && (hasTessControl != hasTessEvaluation)) - { - infoLog << "Tessellation control and evaluation shaders must be specified together."; - return false; - } - - Shader *geometryShader = shaders[ShaderType::Geometry]; - if (shaders[ShaderType::Geometry]) + if (geometryShader) { // [GL_EXT_geometry_shader] Chapter 7 // Linking can fail for a variety of reasons as specified in the OpenGL ES Shading @@ -3323,6 +3353,18 @@ bool Program::linkValidateShaders(InfoLog &infoLog) // - is not separable and contains no objects to form a vertex shader; or // - the input primitive type, output primitive type, or maximum output vertex count // is not specified in the compiled geometry shader object. + if (!geometryShader->isCompiled()) + { + infoLog << "The attached geometry shader isn't compiled."; + return false; + } + + if (vertexShader && + (geometryShader->getShaderVersion() != vertexShader->getShaderVersion())) + { + infoLog << "Geometry shader version does not match vertex shader version."; + return false; + } ASSERT(geometryShader->getType() == ShaderType::Geometry); Optional inputPrimitive = @@ -3348,59 +3390,10 @@ bool Program::linkValidateShaders(InfoLog &infoLog) return false; } - mState.mExecutable->mGeometryShaderInputPrimitiveType = inputPrimitive.value(); - mState.mExecutable->mGeometryShaderOutputPrimitiveType = outputPrimitive.value(); - mState.mExecutable->mGeometryShaderMaxVertices = maxVertices.value(); - mState.mExecutable->mGeometryShaderInvocations = - geometryShader->getGeometryShaderInvocations(); - } - - Shader *tessControlShader = shaders[ShaderType::TessControl]; - if (tessControlShader) - { - int tcsShaderVertices = tessControlShader->getTessControlShaderVertices(); - if (tcsShaderVertices == 0) - { - // In tessellation control shader, output vertices should be specified at least - // once. - // > GLSL ES Version 3.20.6 spec: - // > 4.4.2. Output Layout Qualifiers - // > Tessellation Control Outputs - // > ... - // > There must be at least one layout qualifier specifying an output patch vertex - // > count in any program containing a tessellation control shader. - infoLog << "In Tessellation Control Shader, at least one layout qualifier " - "specifying an output patch vertex count must exist."; - return false; - } - - mState.mExecutable->mTessControlShaderVertices = tcsShaderVertices; - } - - Shader *tessEvaluationShader = shaders[ShaderType::TessEvaluation]; - if (tessEvaluationShader) - { - GLenum tesPrimitiveMode = tessEvaluationShader->getTessGenMode(); - if (tesPrimitiveMode == 0) - { - // In tessellation evaluation shader, a primitive mode should be specified at least - // once. - // > GLSL ES Version 3.20.6 spec: - // > 4.4.1. Input Layout Qualifiers - // > Tessellation Evaluation Inputs - // > ... - // > The tessellation evaluation shader object in a program must declare a primitive - // > mode in its input layout. Declaring vertex spacing, ordering, or point mode - // > identifiers is optional. - infoLog << "The Tessellation Evaluation Shader object in a program must declare a " - "primitive mode in its input layout."; - return false; - } - - mState.mExecutable->mTessGenMode = tesPrimitiveMode; - mState.mExecutable->mTessGenSpacing = tessEvaluationShader->getTessGenSpacing(); - mState.mExecutable->mTessGenVertexOrder = tessEvaluationShader->getTessGenVertexOrder(); - mState.mExecutable->mTessGenPointMode = tessEvaluationShader->getTessGenPointMode(); + mState.mGeometryShaderInputPrimitiveType = inputPrimitive.value(); + mState.mGeometryShaderOutputPrimitiveType = outputPrimitive.value(); + mState.mGeometryShaderMaxVertices = maxVertices.value(); + mState.mGeometryShaderInvocations = geometryShader->getGeometryShaderInvocations(); } } @@ -3496,7 +3489,7 @@ bool Program::linkVaryings(InfoLog &infoLog) const const std::vector &outputVaryings = previousShader->getOutputVaryings(); - if (!LinkValidateShaderInterfaceMatching( + if (!linkValidateShaderInterfaceMatching( outputVaryings, currentShader->getInputVaryings(), previousShaderType, currentShader->getType(), previousShader->getShaderVersion(), currentShader->getShaderVersion(), isSeparable(), infoLog)) @@ -3507,17 +3500,12 @@ bool Program::linkVaryings(InfoLog &infoLog) const previousShaderType = currentShader->getType(); } - // TODO: http://anglebug.com/3571 and http://anglebug.com/3572 - // Need to move logic of validating builtin varyings inside the for-loop above. - // This is because the built-in symbols `gl_ClipDistance` and `gl_CullDistance` - // can be redeclared in Geometry or Tessellation shaders as well. Shader *vertexShader = mState.mAttachedShaders[ShaderType::Vertex]; Shader *fragmentShader = mState.mAttachedShaders[ShaderType::Fragment]; if (vertexShader && fragmentShader && - !LinkValidateBuiltInVaryings(vertexShader->getOutputVaryings(), - fragmentShader->getInputVaryings(), vertexShader->getType(), - fragmentShader->getType(), vertexShader->getShaderVersion(), - fragmentShader->getShaderVersion(), infoLog)) + !linkValidateBuiltInVaryings(vertexShader->getOutputVaryings(), + fragmentShader->getInputVaryings(), + vertexShader->getShaderVersion(), infoLog)) { return false; } @@ -3525,6 +3513,125 @@ bool Program::linkVaryings(InfoLog &infoLog) const return true; } +void Program::getFilteredVaryings(const std::vector &varyings, + std::vector *filteredVaryingsOut) +{ + for (const sh::ShaderVariable &varying : varyings) + { + // Built-in varyings obey special rules + if (varying.isBuiltIn()) + { + continue; + } + + filteredVaryingsOut->push_back(&varying); + } +} + +bool Program::doShaderVariablesMatch(int outputShaderVersion, + ShaderType outputShaderType, + ShaderType inputShaderType, + const sh::ShaderVariable &input, + const sh::ShaderVariable &output, + bool validateGeometryShaderInputs, + bool isSeparable, + gl::InfoLog &infoLog) +{ + bool namesMatch = input.name == output.name; + bool locationsMatch = (input.location != -1) && (input.location == output.location); + + // An output variable is considered to match an input variable in the subsequent + // shader if: + // - the two variables match in name, type, and qualification; or + // - the two variables are declared with the same location qualifier and + // match in type and qualification. + + if (namesMatch || locationsMatch) + { + std::string mismatchedStructFieldName; + LinkMismatchError linkError = + LinkValidateVaryings(output, input, outputShaderVersion, validateGeometryShaderInputs, + isSeparable, &mismatchedStructFieldName); + if (linkError != LinkMismatchError::NO_MISMATCH) + { + LogLinkMismatch(infoLog, input.name, "varying", linkError, mismatchedStructFieldName, + outputShaderType, inputShaderType); + return false; + } + + return true; + } + + return false; +} + +// [OpenGL ES 3.1] Chapter 7.4.1 "Shader Interface Matching" Page 91 +// TODO(jiawei.shao@intel.com): add validation on input/output blocks matching +bool Program::linkValidateShaderInterfaceMatching( + const std::vector &outputVaryings, + const std::vector &inputVaryings, + ShaderType outputShaderType, + ShaderType inputShaderType, + int outputShaderVersion, + int inputShaderVersion, + bool isSeparable, + gl::InfoLog &infoLog) +{ + ASSERT(outputShaderVersion == inputShaderVersion); + + std::vector filteredInputVaryings; + std::vector filteredOutputVaryings; + bool validateGeometryShaderInputs = inputShaderType == ShaderType::Geometry; + + getFilteredVaryings(inputVaryings, &filteredInputVaryings); + getFilteredVaryings(outputVaryings, &filteredOutputVaryings); + + // Separable programs require the number of inputs and outputs match + if (isSeparable && filteredInputVaryings.size() < filteredOutputVaryings.size()) + { + infoLog << GetShaderTypeString(inputShaderType) + << " does not consume all varyings generated by " + << GetShaderTypeString(outputShaderType); + return false; + } + if (isSeparable && filteredInputVaryings.size() > filteredOutputVaryings.size()) + { + infoLog << GetShaderTypeString(outputShaderType) + << " does not generate all varyings consumed by " + << GetShaderTypeString(inputShaderType); + return false; + } + + // All inputs must match all outputs + for (const sh::ShaderVariable *input : filteredInputVaryings) + { + bool match = false; + for (const sh::ShaderVariable *output : filteredOutputVaryings) + { + if (doShaderVariablesMatch(outputShaderVersion, outputShaderType, inputShaderType, + *input, *output, validateGeometryShaderInputs, isSeparable, + infoLog)) + { + match = true; + break; + } + } + + // We permit unmatched, unreferenced varyings. Note that this specifically depends on + // whether the input is statically used - a statically used input should fail this test even + // if it is not active. GLSL ES 3.00.6 section 4.3.10. + if (!match && input->staticUse) + { + infoLog << GetShaderTypeString(inputShaderType) << " varying " << input->name + << " does not match any " << GetShaderTypeString(outputShaderType) + << " varying"; + return false; + } + } + + return true; +} + bool Program::linkUniforms(const Caps &caps, const Version &version, InfoLog &infoLog, @@ -3565,8 +3672,8 @@ void Program::linkSamplerAndImageBindings(GLuint *combinedImageUniforms) { ASSERT(combinedImageUniforms); - // Iterate over mExecutable->mUniforms from the back, and find the range of subpass inputs, - // atomic counters, images and samplers in that order. + // Iterate over mExecutable->mUniforms from the back, and find the range of atomic counters, + // images and samplers in that order. auto highIter = mState.mExecutable->getUniforms().rbegin(); auto lowIter = highIter; @@ -3575,19 +3682,7 @@ void Program::linkSamplerAndImageBindings(GLuint *combinedImageUniforms) // Note that uniform block uniforms are not yet appended to this list. ASSERT(mState.mExecutable->getUniforms().size() == 0 || highIter->isAtomicCounter() || - highIter->isImage() || highIter->isSampler() || highIter->isInDefaultBlock() || - highIter->isFragmentInOut); - - for (; lowIter != mState.mExecutable->getUniforms().rend() && lowIter->isFragmentInOut; - ++lowIter) - { - --low; - } - - mState.mExecutable->mFragmentInoutRange = RangeUI(low, high); - - highIter = lowIter; - high = low; + highIter->isImage() || highIter->isSampler() || highIter->isInDefaultBlock()); for (; lowIter != mState.mExecutable->getUniforms().rend() && lowIter->isAtomicCounter(); ++lowIter) @@ -3612,6 +3707,9 @@ void Program::linkSamplerAndImageBindings(GLuint *combinedImageUniforms) std::vector &imageBindings = hasComputeShader ? mState.mExecutable->mComputeImageBindings : mState.mExecutable->mGraphicsImageBindings; + // The arrays of arrays are flattened to arrays, it needs to record the array offset for the + // correct binding image unit. + uint32_t arrayOffset = 0; // If uniform is a image type, insert it into the mImageBindings array. for (unsigned int imageIndex : mState.mExecutable->getImageUniformRange()) { @@ -3619,25 +3717,27 @@ void Program::linkSamplerAndImageBindings(GLuint *combinedImageUniforms) // cannot load values into a uniform defined as an image. if declare without a // binding qualifier, any uniform image variable (include all elements of // unbound image array) shoud be bound to unit zero. - auto &imageUniform = mState.mExecutable->getUniforms()[imageIndex]; - TextureType textureType = ImageTypeToTextureType(imageUniform.type); - const GLuint arraySize = imageUniform.isArray() ? imageUniform.arraySizes[0] : 1u; - + auto &imageUniform = mState.mExecutable->getUniforms()[imageIndex]; if (imageUniform.binding == -1) { - imageBindings.emplace_back( - ImageBinding(imageUniform.getBasicTypeElementCount(), textureType)); + imageBindings.emplace_back(ImageBinding(imageUniform.getBasicTypeElementCount())); } else { - // The arrays of arrays are flattened to arrays, it needs to record the array offset for - // the correct binding image unit. - imageBindings.emplace_back( - ImageBinding(imageUniform.binding + imageUniform.parentArrayIndex() * arraySize, - imageUniform.getBasicTypeElementCount(), textureType)); + imageBindings.emplace_back(ImageBinding(imageUniform.binding + arrayOffset, + imageUniform.getBasicTypeElementCount())); } + GLuint arraySize = imageUniform.isArray() ? imageUniform.arraySizes[0] : 1u; *combinedImageUniforms += imageUniform.activeShaderCount() * arraySize; + if (imageUniform.hasParentArrayIndex() && imageUniform.isArray()) + { + arrayOffset += arraySize; + } + else + { + arrayOffset = 0; + } } highIter = lowIter; @@ -3655,11 +3755,9 @@ void Program::linkSamplerAndImageBindings(GLuint *combinedImageUniforms) { const auto &samplerUniform = mState.mExecutable->getUniforms()[samplerIndex]; TextureType textureType = SamplerTypeToTextureType(samplerUniform.type); - GLenum samplerType = samplerUniform.typeInfo->type; unsigned int elementCount = samplerUniform.getBasicTypeElementCount(); SamplerFormat format = samplerUniform.typeInfo->samplerFormat; - mState.mExecutable->mSamplerBindings.emplace_back(textureType, samplerType, format, - elementCount); + mState.mExecutable->mSamplerBindings.emplace_back(textureType, format, elementCount); } // Whatever is left constitutes the default uniforms. @@ -3879,8 +3977,6 @@ bool Program::linkInterfaceBlocks(const Caps &caps, GLuint combinedUniformBlocksCount = 0u; GLuint numShadersHasUniformBlocks = 0u; ShaderMap *> allShaderUniformBlocks = {}; - InterfaceBlockMap instancelessInterfaceBlocksFields; - for (ShaderType shaderType : AllShaderTypes()) { Shader *shader = mState.mAttachedShaders[shaderType]; @@ -3913,7 +4009,7 @@ bool Program::linkInterfaceBlocks(const Caps &caps, } if (!ValidateInterfaceBlocksMatch(numShadersHasUniformBlocks, allShaderUniformBlocks, infoLog, - webglCompatibility, &instancelessInterfaceBlocksFields)) + webglCompatibility)) { return false; } @@ -3957,8 +4053,7 @@ bool Program::linkInterfaceBlocks(const Caps &caps, } if (!ValidateInterfaceBlocksMatch(numShadersHasShaderStorageBlocks, allShaderStorageBlocks, - infoLog, webglCompatibility, - &instancelessInterfaceBlocksFields)) + infoLog, webglCompatibility)) { return false; } @@ -3967,6 +4062,464 @@ bool Program::linkInterfaceBlocks(const Caps &caps, return true; } +LinkMismatchError Program::LinkValidateVariablesBase(const sh::ShaderVariable &variable1, + const sh::ShaderVariable &variable2, + bool validatePrecision, + bool validateArraySize, + std::string *mismatchedStructOrBlockMemberName) +{ + if (variable1.type != variable2.type) + { + return LinkMismatchError::TYPE_MISMATCH; + } + if (validateArraySize && variable1.arraySizes != variable2.arraySizes) + { + return LinkMismatchError::ARRAY_SIZE_MISMATCH; + } + if (validatePrecision && variable1.precision != variable2.precision) + { + return LinkMismatchError::PRECISION_MISMATCH; + } + if (variable1.structName != variable2.structName) + { + return LinkMismatchError::STRUCT_NAME_MISMATCH; + } + if (variable1.imageUnitFormat != variable2.imageUnitFormat) + { + return LinkMismatchError::FORMAT_MISMATCH; + } + + if (variable1.fields.size() != variable2.fields.size()) + { + return LinkMismatchError::FIELD_NUMBER_MISMATCH; + } + const unsigned int numMembers = static_cast(variable1.fields.size()); + for (unsigned int memberIndex = 0; memberIndex < numMembers; memberIndex++) + { + const sh::ShaderVariable &member1 = variable1.fields[memberIndex]; + const sh::ShaderVariable &member2 = variable2.fields[memberIndex]; + + if (member1.name != member2.name) + { + return LinkMismatchError::FIELD_NAME_MISMATCH; + } + + LinkMismatchError linkErrorOnField = LinkValidateVariablesBase( + member1, member2, validatePrecision, true, mismatchedStructOrBlockMemberName); + if (linkErrorOnField != LinkMismatchError::NO_MISMATCH) + { + AddParentPrefix(member1.name, mismatchedStructOrBlockMemberName); + return linkErrorOnField; + } + } + + return LinkMismatchError::NO_MISMATCH; +} + +LinkMismatchError Program::LinkValidateVaryings(const sh::ShaderVariable &outputVarying, + const sh::ShaderVariable &inputVarying, + int shaderVersion, + bool validateGeometryShaderInputVarying, + bool isSeparable, + std::string *mismatchedStructFieldName) +{ + if (validateGeometryShaderInputVarying) + { + // [GL_EXT_geometry_shader] Section 11.1gs.4.3: + // The OpenGL ES Shading Language doesn't support multi-dimensional arrays as shader inputs + // or outputs. + ASSERT(inputVarying.arraySizes.size() == 1u); + + // Geometry shader input varyings are not treated as arrays, so a vertex array output + // varying cannot match a geometry shader input varying. + // [GL_EXT_geometry_shader] Section 7.4.1: + // Geometry shader per-vertex input variables and blocks are required to be declared as + // arrays, with each element representing input or output values for a single vertex of a + // multi-vertex primitive. For the purposes of interface matching, such variables and blocks + // are treated as though they were not declared as arrays. + if (outputVarying.isArray()) + { + return LinkMismatchError::ARRAY_SIZE_MISMATCH; + } + } + + // Skip the validation on the array sizes between a vertex output varying and a geometry input + // varying as it has been done before. + bool validatePrecision = isSeparable && (shaderVersion > 100); + LinkMismatchError linkError = + LinkValidateVariablesBase(outputVarying, inputVarying, validatePrecision, + !validateGeometryShaderInputVarying, mismatchedStructFieldName); + if (linkError != LinkMismatchError::NO_MISMATCH) + { + return linkError; + } + + // Explicit locations must match if the names match. + if ((outputVarying.name == inputVarying.name) && + (outputVarying.location != inputVarying.location)) + { + return LinkMismatchError::LOCATION_MISMATCH; + } + + if (!sh::InterpolationTypesMatch(outputVarying.interpolation, inputVarying.interpolation)) + { + return LinkMismatchError::INTERPOLATION_TYPE_MISMATCH; + } + + if (shaderVersion == 100 && outputVarying.isInvariant != inputVarying.isInvariant) + { + return LinkMismatchError::INVARIANCE_MISMATCH; + } + + return LinkMismatchError::NO_MISMATCH; +} + +bool Program::linkValidateBuiltInVaryings(const std::vector &vertexVaryings, + const std::vector &fragmentVaryings, + int vertexShaderVersion, + InfoLog &infoLog) +{ + if (vertexShaderVersion != 100) + { + // Only ESSL 1.0 has restrictions on matching input and output invariance + return true; + } + + bool glPositionIsInvariant = false; + bool glPointSizeIsInvariant = false; + bool glFragCoordIsInvariant = false; + bool glPointCoordIsInvariant = false; + + for (const sh::ShaderVariable &varying : vertexVaryings) + { + if (!varying.isBuiltIn()) + { + continue; + } + if (varying.name.compare("gl_Position") == 0) + { + glPositionIsInvariant = varying.isInvariant; + } + else if (varying.name.compare("gl_PointSize") == 0) + { + glPointSizeIsInvariant = varying.isInvariant; + } + } + + for (const sh::ShaderVariable &varying : fragmentVaryings) + { + if (!varying.isBuiltIn()) + { + continue; + } + if (varying.name.compare("gl_FragCoord") == 0) + { + glFragCoordIsInvariant = varying.isInvariant; + } + else if (varying.name.compare("gl_PointCoord") == 0) + { + glPointCoordIsInvariant = varying.isInvariant; + } + } + + // There is some ambiguity in ESSL 1.00.17 paragraph 4.6.4 interpretation, + // for example, https://cvs.khronos.org/bugzilla/show_bug.cgi?id=13842. + // Not requiring invariance to match is supported by: + // dEQP, WebGL CTS, Nexus 5X GLES + if (glFragCoordIsInvariant && !glPositionIsInvariant) + { + infoLog << "gl_FragCoord can only be declared invariant if and only if gl_Position is " + "declared invariant."; + return false; + } + if (glPointCoordIsInvariant && !glPointSizeIsInvariant) + { + infoLog << "gl_PointCoord can only be declared invariant if and only if gl_PointSize is " + "declared invariant."; + return false; + } + + return true; +} + +bool Program::linkValidateTransformFeedback(const Version &version, + InfoLog &infoLog, + const ProgramMergedVaryings &varyings, + ShaderType stage, + const Caps &caps) const +{ + + // Validate the tf names regardless of the actual program varyings. + std::set uniqueNames; + for (const std::string &tfVaryingName : mState.mTransformFeedbackVaryingNames) + { + if (version < Version(3, 1) && tfVaryingName.find('[') != std::string::npos) + { + infoLog << "Capture of array elements is undefined and not supported."; + return false; + } + if (version >= Version(3, 1)) + { + if (IncludeSameArrayElement(uniqueNames, tfVaryingName)) + { + infoLog << "Two transform feedback varyings include the same array element (" + << tfVaryingName << ")."; + return false; + } + } + else + { + if (uniqueNames.count(tfVaryingName) > 0) + { + infoLog << "Two transform feedback varyings specify the same output variable (" + << tfVaryingName << ")."; + return false; + } + } + uniqueNames.insert(tfVaryingName); + } + + // Validate against program varyings. + size_t totalComponents = 0; + for (const std::string &tfVaryingName : mState.mTransformFeedbackVaryingNames) + { + std::vector subscripts; + std::string baseName = ParseResourceName(tfVaryingName, &subscripts); + + const sh::ShaderVariable *var = FindOutputVaryingOrField(varyings, stage, baseName); + if (var == nullptr) + { + infoLog << "Transform feedback varying " << tfVaryingName + << " does not exist in the vertex shader."; + return false; + } + + // Validate the matching variable. + if (var->isStruct()) + { + infoLog << "Struct cannot be captured directly (" << baseName << ")."; + return false; + } + + size_t elementCount = 0; + size_t componentCount = 0; + + if (var->isArray()) + { + if (version < Version(3, 1)) + { + infoLog << "Capture of arrays is undefined and not supported."; + return false; + } + + // GLSL ES 3.10 section 4.3.6: A vertex output can't be an array of arrays. + ASSERT(!var->isArrayOfArrays()); + + if (!subscripts.empty() && subscripts[0] >= var->getOutermostArraySize()) + { + infoLog << "Cannot capture outbound array element '" << tfVaryingName << "'."; + return false; + } + elementCount = (subscripts.empty() ? var->getOutermostArraySize() : 1); + } + else + { + if (!subscripts.empty()) + { + infoLog << "Varying '" << baseName + << "' is not an array to be captured by element."; + return false; + } + elementCount = 1; + } + + // TODO(jmadill): Investigate implementation limits on D3D11 + componentCount = VariableComponentCount(var->type) * elementCount; + if (mState.mExecutable->getTransformFeedbackBufferMode() == GL_SEPARATE_ATTRIBS && + componentCount > static_cast(caps.maxTransformFeedbackSeparateComponents)) + { + infoLog << "Transform feedback varying " << tfVaryingName << " components (" + << componentCount << ") exceed the maximum separate components (" + << caps.maxTransformFeedbackSeparateComponents << ")."; + return false; + } + + totalComponents += componentCount; + if (mState.mExecutable->getTransformFeedbackBufferMode() == GL_INTERLEAVED_ATTRIBS && + totalComponents > static_cast(caps.maxTransformFeedbackInterleavedComponents)) + { + infoLog << "Transform feedback varying total components (" << totalComponents + << ") exceed the maximum interleaved components (" + << caps.maxTransformFeedbackInterleavedComponents << ")."; + return false; + } + } + return true; +} + +void Program::gatherTransformFeedbackVaryings(const ProgramMergedVaryings &varyings, + ShaderType stage) +{ + // Gather the linked varyings that are used for transform feedback, they should all exist. + mState.mExecutable->mLinkedTransformFeedbackVaryings.clear(); + for (const std::string &tfVaryingName : mState.mTransformFeedbackVaryingNames) + { + std::vector subscripts; + std::string baseName = ParseResourceName(tfVaryingName, &subscripts); + size_t subscript = GL_INVALID_INDEX; + if (!subscripts.empty()) + { + subscript = subscripts.back(); + } + for (const ProgramVaryingRef &ref : varyings) + { + if (ref.frontShaderStage != stage) + { + continue; + } + + const sh::ShaderVariable *varying = ref.get(stage); + if (baseName == varying->name) + { + mState.mExecutable->mLinkedTransformFeedbackVaryings.emplace_back( + *varying, static_cast(subscript)); + break; + } + else if (varying->isStruct()) + { + GLuint fieldIndex = 0; + const auto *field = varying->findField(tfVaryingName, &fieldIndex); + if (field != nullptr) + { + mState.mExecutable->mLinkedTransformFeedbackVaryings.emplace_back(*field, + *varying); + break; + } + } + } + } +} + +ProgramMergedVaryings Program::getMergedVaryings() const +{ + ASSERT(mState.mAttachedShaders[ShaderType::Compute] == nullptr); + + // Varyings are matched between pairs of consecutive stages, by location if assigned or + // by name otherwise. Note that it's possible for one stage to specify location and the other + // not: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16261 + + // Map stages to the previous active stage in the rendering pipeline. When looking at input + // varyings of a stage, this is used to find the stage whose output varyings are being linked + // with them. + ShaderMap previousActiveStage; + + // Note that kAllGraphicsShaderTypes is sorted according to the rendering pipeline. + ShaderType lastActiveStage = ShaderType::InvalidEnum; + for (ShaderType stage : kAllGraphicsShaderTypes) + { + previousActiveStage[stage] = lastActiveStage; + if (mState.mAttachedShaders[stage]) + { + lastActiveStage = stage; + } + } + + // First, go through output varyings and create two maps (one by name, one by location) for + // faster lookup when matching input varyings. + + ShaderMap> outputVaryingNameToIndex; + ShaderMap> outputVaryingLocationToIndex; + + ProgramMergedVaryings merged; + + // Gather output varyings. + for (Shader *shader : mState.mAttachedShaders) + { + if (!shader) + { + continue; + } + ShaderType stage = shader->getType(); + + for (const sh::ShaderVariable &varying : shader->getOutputVaryings()) + { + merged.push_back({}); + ProgramVaryingRef *ref = &merged.back(); + + ref->frontShader = &varying; + ref->frontShaderStage = stage; + + // Always map by name. Even if location is provided in this stage, it may not be in the + // paired stage. + outputVaryingNameToIndex[stage][varying.name] = merged.size() - 1; + + // If location is provided, also keep it in a map by location. + if (varying.location != -1) + { + outputVaryingLocationToIndex[stage][varying.location] = merged.size() - 1; + } + } + } + + // Gather input varyings, and match them with output varyings of the previous stage. + for (Shader *shader : mState.mAttachedShaders) + { + if (!shader) + { + continue; + } + ShaderType stage = shader->getType(); + ShaderType previousStage = previousActiveStage[stage]; + + for (const sh::ShaderVariable &varying : shader->getInputVaryings()) + { + size_t mergedIndex = merged.size(); + if (previousStage != ShaderType::InvalidEnum) + { + // If location is provided, see if we can match by location. + if (varying.location != -1) + { + auto byLocationIter = + outputVaryingLocationToIndex[previousStage].find(varying.location); + if (byLocationIter != outputVaryingLocationToIndex[previousStage].end()) + { + mergedIndex = byLocationIter->second; + } + } + + // If not found, try to match by name. + if (mergedIndex == merged.size()) + { + auto byNameIter = outputVaryingNameToIndex[previousStage].find(varying.name); + if (byNameIter != outputVaryingNameToIndex[previousStage].end()) + { + mergedIndex = byNameIter->second; + } + } + } + + // If no previous stage, or not matched by location or name, create a new entry for it. + if (mergedIndex == merged.size()) + { + merged.push_back({}); + mergedIndex = merged.size() - 1; + } + + ProgramVaryingRef *ref = &merged[mergedIndex]; + + ref->backShader = &varying; + ref->backShaderStage = stage; + } + } + + return merged; +} + +bool CompareOutputVariable(const sh::ShaderVariable &a, const sh::ShaderVariable &b) +{ + return a.getArraySizeProduct() > b.getArraySizeProduct(); +} + int Program::getOutputLocationForLink(const sh::ShaderVariable &outputVariable) const { if (outputVariable.location != -1) @@ -4069,7 +4622,6 @@ bool Program::linkOutputVariables(const Caps &caps, ASSERT(mState.mOutputVariableTypes.empty()); ASSERT(mState.mActiveOutputVariables.none()); ASSERT(mState.mDrawBufferTypeMask.none()); - ASSERT(!mState.mYUVOutput); if (!fragmentShader) { @@ -4077,11 +4629,10 @@ bool Program::linkOutputVariables(const Caps &caps, return true; } - const std::vector &outputVariables = - fragmentShader->getActiveOutputVariables(); + const auto &outputVariables = fragmentShader->getActiveOutputVariables(); // Gather output variable types - for (const sh::ShaderVariable &outputVariable : outputVariables) + for (const auto &outputVariable : outputVariables) { if (outputVariable.isBuiltIn() && outputVariable.name != "gl_FragColor" && outputVariable.name != "gl_FragData") @@ -4110,12 +4661,6 @@ bool Program::linkOutputVariables(const Caps &caps, GLenumToComponentType(mState.mOutputVariableTypes[location]); SetComponentTypeMask(componentType, location, &mState.mDrawBufferTypeMask); } - - if (outputVariable.yuv) - { - ASSERT(outputVariables.size() == 1); - mState.mYUVOutput = true; - } } if (version >= ES_3_1) @@ -4143,7 +4688,6 @@ bool Program::linkOutputVariables(const Caps &caps, return true; mState.mExecutable->mOutputVariables = outputVariables; - mState.mExecutable->mYUVOutput = mState.mYUVOutput; // TODO(jmadill): any caps validation here? // EXT_blend_func_extended doesn't specify anything related to binding specific elements of an @@ -4196,7 +4740,7 @@ bool Program::linkOutputVariables(const Caps &caps, // Get the API index that corresponds to this exact binding. // This index may differ from the index used for the array's base. auto &outputLocations = mFragmentOutputIndexes.getBindingByName(binding.first) == 1 - ? mState.mExecutable->mSecondaryOutputLocations + ? mState.mSecondaryOutputLocations : mState.mExecutable->mOutputLocations; unsigned int location = binding.second.location; VariableLocation locationInfo(arrayIndex, outputVariableIndex); @@ -4239,7 +4783,7 @@ bool Program::linkOutputVariables(const Caps &caps, unsigned int baseLocation = static_cast(fixedLocation); auto &outputLocations = isOutputSecondaryForLink(outputVariable) - ? mState.mExecutable->mSecondaryOutputLocations + ? mState.mSecondaryOutputLocations : mState.mExecutable->mOutputLocations; // GLSL ES 3.10 section 4.3.6: Output variables cannot be arrays of arrays or arrays of @@ -4263,7 +4807,7 @@ bool Program::linkOutputVariables(const Caps &caps, // we got the output variables. The spec isn't clear on what kind of algorithm is required for // finding locations for the output variables, so this should be acceptable at least for now. GLuint maxLocation = static_cast(caps.maxDrawBuffers); - if (!mState.mExecutable->getSecondaryOutputLocations().empty()) + if (!mState.mSecondaryOutputLocations.empty()) { // EXT_blend_func_extended: Program outputs will be validated against // MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT if there's even one output with index one. @@ -4283,7 +4827,7 @@ bool Program::linkOutputVariables(const Caps &caps, int fixedLocation = getOutputLocationForLink(outputVariable); auto &outputLocations = isOutputSecondaryForLink(outputVariable) - ? mState.mExecutable->mSecondaryOutputLocations + ? mState.mSecondaryOutputLocations : mState.mExecutable->mOutputLocations; unsigned int baseLocation = 0; unsigned int elementCount = outputVariable.getBasicTypeElementCount(); @@ -4359,7 +4903,7 @@ void Program::initInterfaceBlockBindings() blockIndex++) { InterfaceBlock &uniformBlock = mState.mExecutable->mUniformBlocks[blockIndex]; - bindUniformBlock({blockIndex}, uniformBlock.binding); + bindUniformBlock(blockIndex, uniformBlock.binding); } } @@ -4445,14 +4989,6 @@ void Program::updateSamplerUniform(Context *context, } } - // Update the observing PPO's executable, if any. - // Do this before any of the Context work, since that uses the current ProgramExecutable, - // which will be the PPO's if this Program is bound to it, rather than this Program's. - if (isSeparable()) - { - onStateChange(angle::SubjectMessage::ProgramTextureOrImageBindingChanged); - } - // Notify context. if (context) { @@ -4462,9 +4998,7 @@ void Program::updateSamplerUniform(Context *context, } // Invalidate the validation cache. - getExecutable().resetCachedValidateSamplersResult(); - // Inform any PPOs this Program may be bound to. - onStateChange(angle::SubjectMessage::SamplerUniformsUpdated); + mCachedValidateSamplersResult.reset(); } void ProgramState::setSamplerUniformTextureTypeAndFormat(size_t textureUnitIndex) @@ -4601,10 +5135,7 @@ angle::Result Program::serialize(const Context *context, angle::MemoryBuffer *bi stream.writeInt(0); } - // Must be before mExecutable->save(), since it uses the value. - stream.writeBool(mState.mSeparable); - - mState.mExecutable->save(mState.mSeparable, &stream); + mState.mExecutable->save(&stream); const auto &computeLocalSize = mState.getComputeShaderLocalSize(); @@ -4612,9 +5143,40 @@ angle::Result Program::serialize(const Context *context, angle::MemoryBuffer *bi stream.writeInt(computeLocalSize[1]); stream.writeInt(computeLocalSize[2]); + ASSERT(mState.mGeometryShaderInvocations >= 1 && mState.mGeometryShaderMaxVertices >= 0); + stream.writeEnum(mState.mGeometryShaderInputPrimitiveType); + stream.writeEnum(mState.mGeometryShaderOutputPrimitiveType); + stream.writeInt(mState.mGeometryShaderInvocations); + stream.writeInt(mState.mGeometryShaderMaxVertices); + stream.writeInt(mState.mNumViews); stream.writeBool(mState.mEarlyFramentTestsOptimization); - stream.writeInt(mState.mSpecConstUsageBits.bits()); + + stream.writeInt(mState.getProgramInputs().size()); + for (const sh::ShaderVariable &attrib : mState.getProgramInputs()) + { + WriteShaderVar(&stream, attrib); + stream.writeInt(attrib.location); + } + + stream.writeInt(mState.getUniforms().size()); + for (const LinkedUniform &uniform : mState.getUniforms()) + { + WriteShaderVar(&stream, uniform); + + // FIXME: referenced + + stream.writeInt(uniform.bufferIndex); + WriteBlockMemberInfo(&stream, uniform.blockInfo); + + stream.writeIntVector(uniform.outerArraySizes); + + // Active shader info + for (ShaderType shaderType : gl::AllShaderTypes()) + { + stream.writeBool(uniform.isActive(shaderType)); + } + } stream.writeInt(mState.getUniformLocations().size()); for (const auto &variable : mState.getUniformLocations()) @@ -4624,12 +5186,31 @@ angle::Result Program::serialize(const Context *context, angle::MemoryBuffer *bi stream.writeBool(variable.ignored); } + stream.writeInt(mState.getUniformBlocks().size()); + for (const InterfaceBlock &uniformBlock : mState.getUniformBlocks()) + { + WriteInterfaceBlock(&stream, uniformBlock); + } + stream.writeInt(mState.getBufferVariables().size()); for (const BufferVariable &bufferVariable : mState.getBufferVariables()) { WriteBufferVariable(&stream, bufferVariable); } + stream.writeInt(mState.getShaderStorageBlocks().size()); + for (const InterfaceBlock &shaderStorageBlock : mState.getShaderStorageBlocks()) + { + WriteInterfaceBlock(&stream, shaderStorageBlock); + } + + stream.writeInt(mState.mExecutable->mAtomicCounterBuffers.size()); + for (const AtomicCounterBuffer &atomicCounterBuffer : + mState.mExecutable->getAtomicCounterBuffers()) + { + WriteShaderVariableBuffer(&stream, atomicCounterBuffer); + } + // Warn the app layer if saving a binary with unsupported transform feedback. if (!mState.getLinkedTransformFeedbackVaryings().empty() && context->getFrontendFeatures().disableProgramCachingForTransformFeedback.enabled) @@ -4638,6 +5219,42 @@ angle::Result Program::serialize(const Context *context, angle::MemoryBuffer *bi "driver."; } + stream.writeInt(mState.getLinkedTransformFeedbackVaryings().size()); + for (const auto &var : mState.getLinkedTransformFeedbackVaryings()) + { + stream.writeIntVector(var.arraySizes); + stream.writeInt(var.type); + stream.writeString(var.name); + + stream.writeIntOrNegOne(var.arrayIndex); + } + + stream.writeInt(mState.getTransformFeedbackBufferMode()); + + stream.writeInt(mState.getOutputVariables().size()); + for (const sh::ShaderVariable &output : mState.getOutputVariables()) + { + WriteShaderVar(&stream, output); + stream.writeInt(output.location); + stream.writeInt(output.index); + } + + stream.writeInt(mState.getOutputLocations().size()); + for (const auto &outputVar : mState.getOutputLocations()) + { + stream.writeInt(outputVar.arrayIndex); + stream.writeIntOrNegOne(outputVar.index); + stream.writeBool(outputVar.ignored); + } + + stream.writeInt(mState.getSecondaryOutputLocations().size()); + for (const auto &outputVar : mState.getSecondaryOutputLocations()) + { + stream.writeInt(outputVar.arrayIndex); + stream.writeIntOrNegOne(outputVar.index); + stream.writeBool(outputVar.ignored); + } + stream.writeInt(mState.mOutputVariableTypes.size()); for (const auto &outputVariableType : mState.mOutputVariableTypes) { @@ -4650,7 +5267,32 @@ angle::Result Program::serialize(const Context *context, angle::MemoryBuffer *bi stream.writeInt(static_cast(mState.mDrawBufferTypeMask.to_ulong())); stream.writeInt(static_cast(mState.mActiveOutputVariables.to_ulong())); - stream.writeBool(mState.isYUVOutput()); + stream.writeInt(mState.getDefaultUniformRange().low()); + stream.writeInt(mState.getDefaultUniformRange().high()); + + stream.writeInt(mState.getSamplerUniformRange().low()); + stream.writeInt(mState.getSamplerUniformRange().high()); + + stream.writeInt(mState.getSamplerBindings().size()); + for (const auto &samplerBinding : mState.getSamplerBindings()) + { + stream.writeEnum(samplerBinding.textureType); + stream.writeEnum(samplerBinding.format); + stream.writeInt(samplerBinding.boundTextureUnits.size()); + } + + stream.writeInt(mState.getImageUniformRange().low()); + stream.writeInt(mState.getImageUniformRange().high()); + + stream.writeInt(mState.getImageBindings().size()); + for (const auto &imageBinding : mState.getImageBindings()) + { + stream.writeInt(imageBinding.boundImageUnits.size()); + for (size_t i = 0; i < imageBinding.boundImageUnits.size(); ++i) + { + stream.writeInt(imageBinding.boundImageUnits[i]); + } + } stream.writeInt(mState.getAtomicCounterUniformRange().low()); stream.writeInt(mState.getAtomicCounterUniformRange().high()); @@ -4678,7 +5320,7 @@ angle::Result Program::deserialize(const Context *context, 0) { infoLog << "Invalid program binary version."; - return angle::Result::Stop; + return angle::Result::Incomplete; } int majorVersion = stream.readInt(); @@ -4687,21 +5329,55 @@ angle::Result Program::deserialize(const Context *context, minorVersion != context->getClientMinorVersion()) { infoLog << "Cannot load program binaries across different ES context versions."; - return angle::Result::Stop; + return angle::Result::Incomplete; } - // Must be before mExecutable->load(), since it uses the value. - mState.mSeparable = stream.readBool(); - - mState.mExecutable->load(mState.mSeparable, &stream); + mState.mExecutable->load(&stream); mState.mComputeShaderLocalSize[0] = stream.readInt(); mState.mComputeShaderLocalSize[1] = stream.readInt(); mState.mComputeShaderLocalSize[2] = stream.readInt(); + mState.mGeometryShaderInputPrimitiveType = stream.readEnum(); + mState.mGeometryShaderOutputPrimitiveType = stream.readEnum(); + mState.mGeometryShaderInvocations = stream.readInt(); + mState.mGeometryShaderMaxVertices = stream.readInt(); + mState.mNumViews = stream.readInt(); mState.mEarlyFramentTestsOptimization = stream.readBool(); - mState.mSpecConstUsageBits = rx::SpecConstUsageBits(stream.readInt()); + + size_t attribCount = stream.readInt(); + ASSERT(mState.mExecutable->getProgramInputs().empty()); + for (size_t attribIndex = 0; attribIndex < attribCount; ++attribIndex) + { + sh::ShaderVariable attrib; + LoadShaderVar(&stream, &attrib); + attrib.location = stream.readInt(); + mState.mExecutable->mProgramInputs.push_back(attrib); + } + + size_t uniformCount = stream.readInt(); + ASSERT(mState.mExecutable->getUniforms().empty()); + for (size_t uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) + { + LinkedUniform uniform; + LoadShaderVar(&stream, &uniform); + + uniform.bufferIndex = stream.readInt(); + LoadBlockMemberInfo(&stream, &uniform.blockInfo); + + stream.readIntVector(&uniform.outerArraySizes); + + uniform.typeInfo = &GetUniformTypeInfo(uniform.type); + + // Active shader info + for (ShaderType shaderType : gl::AllShaderTypes()) + { + uniform.setActive(shaderType, stream.readBool()); + } + + mState.mExecutable->mUniforms.push_back(uniform); + } const size_t uniformIndexCount = stream.readInt(); ASSERT(mState.mUniformLocations.empty()); @@ -4715,6 +5391,17 @@ angle::Result Program::deserialize(const Context *context, mState.mUniformLocations.push_back(variable); } + size_t uniformBlockCount = stream.readInt(); + ASSERT(mState.mExecutable->getUniformBlocks().empty()); + for (size_t uniformBlockIndex = 0; uniformBlockIndex < uniformBlockCount; ++uniformBlockIndex) + { + InterfaceBlock uniformBlock; + LoadInterfaceBlock(&stream, &uniformBlock); + mState.mExecutable->mUniformBlocks.push_back(uniformBlock); + + mState.mActiveUniformBlockBindings.set(uniformBlockIndex, uniformBlock.binding != 0); + } + size_t bufferVariableCount = stream.readInt(); ASSERT(mState.mBufferVariables.empty()); for (size_t bufferVarIndex = 0; bufferVarIndex < bufferVariableCount; ++bufferVarIndex) @@ -4724,6 +5411,93 @@ angle::Result Program::deserialize(const Context *context, mState.mBufferVariables.push_back(bufferVariable); } + size_t shaderStorageBlockCount = stream.readInt(); + ASSERT(mState.mExecutable->getShaderStorageBlocks().empty()); + for (size_t shaderStorageBlockIndex = 0; shaderStorageBlockIndex < shaderStorageBlockCount; + ++shaderStorageBlockIndex) + { + InterfaceBlock shaderStorageBlock; + LoadInterfaceBlock(&stream, &shaderStorageBlock); + if (getExecutable().isCompute()) + { + mState.mExecutable->mComputeShaderStorageBlocks.push_back(shaderStorageBlock); + } + else + { + mState.mExecutable->mGraphicsShaderStorageBlocks.push_back(shaderStorageBlock); + } + } + + size_t atomicCounterBufferCount = stream.readInt(); + ASSERT(mState.mExecutable->getAtomicCounterBuffers().empty()); + for (size_t bufferIndex = 0; bufferIndex < atomicCounterBufferCount; ++bufferIndex) + { + AtomicCounterBuffer atomicCounterBuffer; + LoadShaderVariableBuffer(&stream, &atomicCounterBuffer); + + mState.mExecutable->mAtomicCounterBuffers.push_back(atomicCounterBuffer); + } + + size_t transformFeedbackVaryingCount = stream.readInt(); + + // Reject programs that use transform feedback varyings if the hardware cannot support them. + if (transformFeedbackVaryingCount > 0 && + context->getFrontendFeatures().disableProgramCachingForTransformFeedback.enabled) + { + infoLog << "Current driver does not support transform feedback in binary programs."; + return angle::Result::Incomplete; + } + + ASSERT(mState.mExecutable->mLinkedTransformFeedbackVaryings.empty()); + for (size_t transformFeedbackVaryingIndex = 0; + transformFeedbackVaryingIndex < transformFeedbackVaryingCount; + ++transformFeedbackVaryingIndex) + { + sh::ShaderVariable varying; + stream.readIntVector(&varying.arraySizes); + stream.readInt(&varying.type); + stream.readString(&varying.name); + + GLuint arrayIndex = stream.readInt(); + + mState.mExecutable->mLinkedTransformFeedbackVaryings.emplace_back(varying, arrayIndex); + } + + stream.readInt(&mState.mExecutable->mTransformFeedbackBufferMode); + + size_t outputCount = stream.readInt(); + ASSERT(mState.mExecutable->getOutputVariables().empty()); + for (size_t outputIndex = 0; outputIndex < outputCount; ++outputIndex) + { + sh::ShaderVariable output; + LoadShaderVar(&stream, &output); + output.location = stream.readInt(); + output.index = stream.readInt(); + mState.mExecutable->mOutputVariables.push_back(output); + } + + size_t outputVarCount = stream.readInt(); + ASSERT(mState.mExecutable->getOutputLocations().empty()); + for (size_t outputIndex = 0; outputIndex < outputVarCount; ++outputIndex) + { + VariableLocation locationData; + stream.readInt(&locationData.arrayIndex); + stream.readInt(&locationData.index); + stream.readBool(&locationData.ignored); + mState.mExecutable->mOutputLocations.push_back(locationData); + } + + size_t secondaryOutputVarCount = stream.readInt(); + ASSERT(mState.mSecondaryOutputLocations.empty()); + for (size_t outputIndex = 0; outputIndex < secondaryOutputVarCount; ++outputIndex) + { + VariableLocation locationData; + stream.readInt(&locationData.arrayIndex); + stream.readInt(&locationData.index); + stream.readBool(&locationData.ignored); + mState.mSecondaryOutputLocations.push_back(locationData); + } + size_t outputTypeCount = stream.readInt(); for (size_t outputIndex = 0; outputIndex < outputTypeCount; ++outputIndex) { @@ -4737,7 +5511,44 @@ angle::Result Program::deserialize(const Context *context, mState.mActiveOutputVariables = gl::DrawBufferMask(stream.readInt()); - stream.readBool(&mState.mYUVOutput); + unsigned int defaultUniformRangeLow = stream.readInt(); + unsigned int defaultUniformRangeHigh = stream.readInt(); + mState.mExecutable->mDefaultUniformRange = + RangeUI(defaultUniformRangeLow, defaultUniformRangeHigh); + + unsigned int samplerRangeLow = stream.readInt(); + unsigned int samplerRangeHigh = stream.readInt(); + mState.mExecutable->mSamplerUniformRange = RangeUI(samplerRangeLow, samplerRangeHigh); + size_t samplerCount = stream.readInt(); + for (size_t samplerIndex = 0; samplerIndex < samplerCount; ++samplerIndex) + { + TextureType textureType = stream.readEnum(); + SamplerFormat format = stream.readEnum(); + size_t bindingCount = stream.readInt(); + mState.mExecutable->mSamplerBindings.emplace_back(textureType, format, bindingCount); + } + + unsigned int imageRangeLow = stream.readInt(); + unsigned int imageRangeHigh = stream.readInt(); + mState.mExecutable->mImageUniformRange = RangeUI(imageRangeLow, imageRangeHigh); + size_t imageBindingCount = stream.readInt(); + for (size_t imageIndex = 0; imageIndex < imageBindingCount; ++imageIndex) + { + size_t elementCount = stream.readInt(); + ImageBinding imageBinding(elementCount); + for (size_t elementIndex = 0; elementIndex < elementCount; ++elementIndex) + { + imageBinding.boundImageUnits[elementIndex] = stream.readInt(); + } + if (getExecutable().isCompute()) + { + mState.mExecutable->mComputeImageBindings.emplace_back(imageBinding); + } + else + { + mState.mExecutable->mGraphicsImageBindings.emplace_back(imageBinding); + } + } unsigned int atomicCounterRangeLow = stream.readInt(); unsigned int atomicCounterRangeHigh = stream.readInt(); @@ -4746,17 +5557,9 @@ angle::Result Program::deserialize(const Context *context, static_assert(static_cast(ShaderType::EnumCount) <= sizeof(unsigned long) * 8, "Too many shader types"); - // Reject programs that use transform feedback varyings if the hardware cannot support them. - if (mState.mExecutable->getLinkedTransformFeedbackVaryings().size() > 0 && - context->getFrontendFeatures().disableProgramCachingForTransformFeedback.enabled) - { - infoLog << "Current driver does not support transform feedback in binary programs."; - return angle::Result::Stop; - } - if (!mState.mAttachedShaders[ShaderType::Compute]) { - mState.mExecutable->updateTransformFeedbackStrides(); + mState.updateTransformFeedbackStrides(); } postResolveLink(context); @@ -4768,7 +5571,6 @@ angle::Result Program::deserialize(const Context *context, void Program::postResolveLink(const gl::Context *context) { mState.updateActiveSamplers(); - mState.mExecutable->mActiveImageShaderBits.fill({}); mState.mExecutable->updateActiveImages(getExecutable()); setUniformValuesFromBindingQualifiers(); @@ -4785,17 +5587,17 @@ void Program::postResolveLink(const gl::Context *context) } } -// HasAttachedShaders implementation. -ShaderType HasAttachedShaders::getTransformFeedbackStage() const +void Program::fillProgramStateMap(ShaderMap *programStatesOut) { - if (getAttachedShader(ShaderType::Geometry)) + for (ShaderType shaderType : AllShaderTypes()) { - return ShaderType::Geometry; + (*programStatesOut)[shaderType] = nullptr; + if (mState.getExecutable().hasLinkedShaderStage(shaderType) || + mState.getAttachedShader(shaderType)) + { + (*programStatesOut)[shaderType] = &mState; + } } - if (getAttachedShader(ShaderType::TessEvaluation)) - { - return ShaderType::TessEvaluation; - } - return ShaderType::Vertex; } + } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/Program.h b/gfx/angle/checkout/src/libANGLE/Program.h index 6c69384afc54..fe3ec2859baa 100644 --- a/gfx/angle/checkout/src/libANGLE/Program.h +++ b/gfx/angle/checkout/src/libANGLE/Program.h @@ -65,7 +65,6 @@ enum class LinkMismatchError // Shared NO_MISMATCH, TYPE_MISMATCH, - ARRAYNESS_MISMATCH, ARRAY_SIZE_MISMATCH, PRECISION_MISMATCH, STRUCT_NAME_MISMATCH, @@ -86,10 +85,6 @@ enum class LinkMismatchError // Interface block specific LAYOUT_QUALIFIER_MISMATCH, MATRIX_PACKING_MISMATCH, - - // I/O block specific - FIELD_LOCATION_MISMATCH, - FIELD_STRUCT_NAME_MISMATCH, }; void LogLinkMismatch(InfoLog &infoLog, @@ -108,12 +103,6 @@ void LoadBlockMemberInfo(BinaryInputStream *stream, sh::BlockMemberInfo *var); void WriteShaderVar(BinaryOutputStream *stream, const sh::ShaderVariable &var); void LoadShaderVar(BinaryInputStream *stream, sh::ShaderVariable *var); -void WriteInterfaceBlock(BinaryOutputStream *stream, const InterfaceBlock &block); -void LoadInterfaceBlock(BinaryInputStream *stream, InterfaceBlock *block); - -void WriteShaderVariableBuffer(BinaryOutputStream *stream, const ShaderVariableBuffer &var); -void LoadShaderVariableBuffer(BinaryInputStream *stream, ShaderVariableBuffer *var); - // Struct used for correlating uniforms/elements of uniform arrays to handles struct VariableLocation { @@ -203,12 +192,12 @@ class ProgramAliasedBindings final : angle::NonCopyable int getBindingByLocation(GLuint location) const; int getBinding(const sh::ShaderVariable &variable) const; - using const_iterator = angle::HashMap::const_iterator; + using const_iterator = std::unordered_map::const_iterator; const_iterator begin() const; const_iterator end() const; private: - angle::HashMap mBindings; + std::unordered_map mBindings; }; class ProgramState final : angle::NonCopyable @@ -239,7 +228,7 @@ class ProgramState final : angle::NonCopyable } const UniformBlockBindingMask &getActiveUniformBlockBindingsMask() const { - return mExecutable->getActiveUniformBlockBindings(); + return mActiveUniformBlockBindings; } const std::vector &getProgramInputs() const { @@ -256,7 +245,7 @@ class ProgramState final : angle::NonCopyable } const std::vector &getSecondaryOutputLocations() const { - return mExecutable->getSecondaryOutputLocations(); + return mSecondaryOutputLocations; } const std::vector &getUniforms() const { return mExecutable->getUniforms(); } const std::vector &getUniformLocations() const { return mUniformLocations; } @@ -282,7 +271,6 @@ class ProgramState final : angle::NonCopyable const RangeUI &getSamplerUniformRange() const { return mExecutable->getSamplerUniformRange(); } const RangeUI &getImageUniformRange() const { return mExecutable->getImageUniformRange(); } const RangeUI &getAtomicCounterUniformRange() const { return mAtomicCounterUniformRange; } - const RangeUI &getFragmentInoutRange() const { return mExecutable->getFragmentInoutRange(); } const std::vector &getLinkedTransformFeedbackVaryings() const { @@ -335,13 +323,21 @@ class ProgramState final : angle::NonCopyable bool hasImages() const { return !getImageBindings().empty(); } bool hasEarlyFragmentTestsOptimization() const { return mEarlyFramentTestsOptimization; } - rx::SpecConstUsageBits getSpecConstUsageBits() const { return mSpecConstUsageBits; } + + bool isShaderMarkedForDetach(gl::ShaderType shaderType) const + { + return mAttachedShadersMarkedForDetach[shaderType]; + } // A Program can only either be graphics or compute, but never both, so it // can answer isCompute() based on which shaders it has. bool isCompute() const { return mExecutable->hasLinkedShaderStage(ShaderType::Compute); } const std::string &getLabel() const { return mLabel; } + const ShaderMap &getAttachedShadersMarkedForDetach() const + { + return mAttachedShadersMarkedForDetach; + } uint32_t getLocationsUsedForXfbExtension() const { return mLocationsUsedForXfbExtension; } @@ -349,24 +345,35 @@ class ProgramState final : angle::NonCopyable ComponentTypeMask getDrawBufferTypeMask() const { return mDrawBufferTypeMask; } - bool isYUVOutput() const { return mYUVOutput; } - bool hasBinaryRetrieveableHint() const { return mBinaryRetrieveableHint; } bool isSeparable() const { return mSeparable; } + PrimitiveMode getGeometryShaderInputPrimitiveType() const + { + return mGeometryShaderInputPrimitiveType; + } + + PrimitiveMode getGeometryShaderOutputPrimitiveType() const + { + return mGeometryShaderOutputPrimitiveType; + } + + int getGeometryShaderInvocations() const { return mGeometryShaderInvocations; } + + int getGeometryShaderMaxVertices() const { return mGeometryShaderMaxVertices; } + int getDrawIDLocation() const { return mDrawIDLocation; } int getBaseVertexLocation() const { return mBaseVertexLocation; } int getBaseInstanceLocation() const { return mBaseInstanceLocation; } - ShaderType getAttachedTransformFeedbackStage() const; - private: friend class MemoryProgramCache; friend class Program; + void updateTransformFeedbackStrides(); void updateActiveSamplers(); void updateProgramInterfaceInputs(); void updateProgramInterfaceOutputs(); @@ -379,32 +386,40 @@ class ProgramState final : angle::NonCopyable sh::WorkGroupSize mComputeShaderLocalSize; ShaderMap mAttachedShaders; + ShaderMap mAttachedShadersMarkedForDetach; uint32_t mLocationsUsedForXfbExtension; std::vector mTransformFeedbackVaryingNames; + // For faster iteration on the blocks currently being bound. + UniformBlockBindingMask mActiveUniformBlockBindings; + std::vector mUniformLocations; std::vector mBufferVariables; RangeUI mAtomicCounterUniformRange; + // EXT_blend_func_extended secondary outputs (ones with index 1) in ESSL 3.00 shaders. + std::vector mSecondaryOutputLocations; + DrawBufferMask mActiveOutputVariables; // Fragment output variable base types: FLOAT, INT, or UINT. Ordered by location. std::vector mOutputVariableTypes; ComponentTypeMask mDrawBufferTypeMask; - // GL_EXT_YUV_target. YUV output shaders can only have one ouput and can only write to YUV - // framebuffers. - bool mYUVOutput; - bool mBinaryRetrieveableHint; bool mSeparable; bool mEarlyFramentTestsOptimization; - rx::SpecConstUsageBits mSpecConstUsageBits; // ANGLE_multiview. int mNumViews; + // GL_EXT_geometry_shader. + PrimitiveMode mGeometryShaderInputPrimitiveType; + PrimitiveMode mGeometryShaderOutputPrimitiveType; + int mGeometryShaderInvocations; + int mGeometryShaderMaxVertices; + // GL_ANGLE_multi_draw int mDrawIDLocation; @@ -441,19 +456,7 @@ struct ProgramVaryingRef using ProgramMergedVaryings = std::vector; -// TODO: Copy necessary shader state into Program. http://anglebug.com/5506 -class HasAttachedShaders -{ - public: - virtual Shader *getAttachedShader(ShaderType shaderType) const = 0; - - ShaderType getTransformFeedbackStage() const; - - protected: - virtual ~HasAttachedShaders() {} -}; - -class Program final : public LabeledObject, public angle::Subject, public HasAttachedShaders +class Program final : public LabeledObject, public angle::Subject { public: Program(rx::GLImplFactory *factory, ShaderProgramManager *manager, ShaderProgramID handle); @@ -470,12 +473,11 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt return mProgram; } - void attachShader(Shader *shader); + void attachShader(const Context *context, Shader *shader); void detachShader(const Context *context, Shader *shader); int getAttachedShadersCount() const; - // HasAttachedShaders implementation - Shader *getAttachedShader(ShaderType shaderType) const override; + const Shader *getAttachedShader(ShaderType shaderType) const; void bindAttributeLocation(GLuint index, const char *name); void bindUniformLocation(UniformLocation location, const char *name); @@ -484,6 +486,10 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt void bindFragmentOutputLocation(GLuint index, const char *name); void bindFragmentOutputIndex(GLuint index, const char *name); + angle::Result linkMergedVaryings(const Context *context, + const ProgramExecutable &executable, + const ProgramMergedVaryings &mergedVaryings); + // KHR_parallel_shader_compile // Try to link the program asynchrously. As a result, background threads may be launched to // execute the linking tasks concurrently. @@ -491,7 +497,6 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt // Peek whether there is any running linking tasks. bool isLinking() const; - bool hasLinkingState() const { return mLinkingState != nullptr; } bool isLinked() const { @@ -629,7 +634,7 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt void getUniformiv(const Context *context, UniformLocation location, GLint *params) const; void getUniformuiv(const Context *context, UniformLocation location, GLuint *params) const; - void getActiveUniformBlockName(const UniformBlockIndex blockIndex, + void getActiveUniformBlockName(const GLuint blockIndex, GLsizei bufSize, GLsizei *length, GLchar *blockName) const; @@ -662,7 +667,7 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt GLuint getUniformBlockIndex(const std::string &name) const; GLuint getShaderStorageBlockIndex(const std::string &name) const; - void bindUniformBlock(UniformBlockIndex uniformBlockIndex, GLuint uniformBlockBinding); + void bindUniformBlock(GLuint uniformBlockIndex, GLuint uniformBlockBinding); GLuint getUniformBlockBinding(GLuint uniformBlockIndex) const; GLuint getShaderStorageBlockBinding(GLuint shaderStorageBlockIndex) const; @@ -715,8 +720,23 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt bool isFlaggedForDeletion() const; void validate(const Caps &caps); + bool validateSamplers(InfoLog *infoLog, const Caps &caps) + { + // Skip cache if we're using an infolog, so we get the full error. + // Also skip the cache if the sample mapping has changed, or if we haven't ever validated. + if (infoLog == nullptr && mCachedValidateSamplersResult.valid()) + { + return mCachedValidateSamplersResult.value(); + } + + return validateSamplersImpl(infoLog, caps); + } + bool isValidated() const; + Optional getCachedValidateSamplersResult() { return mCachedValidateSamplersResult; } + void setCachedValidateSamplersResult(bool result) { mCachedValidateSamplersResult = result; } + const std::vector &getImageBindings() const { ASSERT(!mLinkingState); @@ -728,18 +748,19 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt GLint getGeometryShaderInvocations() const; GLint getGeometryShaderMaxVertices() const; - GLint getTessControlShaderVertices() const; - GLenum getTessGenMode() const; - GLenum getTessGenPointMode() const; - GLenum getTessGenSpacing() const; - GLenum getTessGenVertexOrder() const; - const ProgramState &getState() const { ASSERT(!mLinkingState); return mState; } + static LinkMismatchError LinkValidateVariablesBase( + const sh::ShaderVariable &variable1, + const sh::ShaderVariable &variable2, + bool validatePrecision, + bool validateArraySize, + std::string *mismatchedStructOrBlockMemberName); + GLuint getInputResourceIndex(const GLchar *name) const; GLuint getOutputResourceIndex(const GLchar *name) const; void getInputResourceName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const; @@ -776,12 +797,6 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt ComponentTypeMask getDrawBufferTypeMask() const; - bool isYUVOutput() const - { - ASSERT(!mLinkingState); - return mState.isYUVOutput(); - } - const std::vector &getTransformFeedbackStrides() const; // Program dirty bits. @@ -817,6 +832,34 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt const ProgramExecutable &getExecutable() const { return mState.getExecutable(); } ProgramExecutable &getExecutable() { return mState.getExecutable(); } + const char *validateDrawStates(const State &state, const gl::Extensions &extensions) const; + + static void getFilteredVaryings(const std::vector &varyings, + std::vector *filteredVaryingsOut); + static bool doShaderVariablesMatch(int outputShaderVersion, + ShaderType outputShaderType, + ShaderType inputShaderType, + const sh::ShaderVariable &input, + const sh::ShaderVariable &output, + bool validateGeometryShaderInputs, + bool isSeparable, + gl::InfoLog &infoLog); + static bool linkValidateShaderInterfaceMatching( + const std::vector &outputVaryings, + const std::vector &inputVaryings, + ShaderType outputShaderType, + ShaderType inputShaderType, + int outputShaderVersion, + int inputShaderVersion, + bool isSeparable, + InfoLog &infoLog); + static bool linkValidateBuiltInVaryings(const std::vector &vertexVaryings, + const std::vector &fragmentVaryings, + int vertexShaderVersion, + InfoLog &infoLog); + + void fillProgramStateMap(ShaderMap *programStatesOut); + private: struct LinkingState; @@ -850,6 +893,22 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt void updateLinkedShaderStages(); + static LinkMismatchError LinkValidateVaryings(const sh::ShaderVariable &outputVarying, + const sh::ShaderVariable &inputVarying, + int shaderVersion, + bool validateGeometryShaderInputVarying, + bool isSeparable, + std::string *mismatchedStructFieldName); + + bool linkValidateTransformFeedback(const Version &version, + InfoLog &infoLog, + const ProgramMergedVaryings &linkedVaryings, + ShaderType stage, + const Caps &caps) const; + + void gatherTransformFeedbackVaryings(const ProgramMergedVaryings &varyings, ShaderType stage); + + ProgramMergedVaryings getMergedVaryings() const; int getOutputLocationForLink(const sh::ShaderVariable &outputVariable) const; bool isOutputSecondaryForLink(const sh::ShaderVariable &outputVariable) const; bool linkOutputVariables(const Caps &caps, @@ -899,6 +958,8 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt GLuint getSamplerUniformBinding(const VariableLocation &uniformLocation) const; GLuint getImageUniformBinding(const VariableLocation &uniformLocation) const; + bool validateSamplersImpl(InfoLog *infoLog, const Caps &caps); + // Block until linking is finished and resolve it. void resolveLinkImpl(const gl::Context *context); @@ -925,6 +986,9 @@ class Program final : public LabeledObject, public angle::Subject, public HasAtt ShaderProgramManager *mResourceManager; const ShaderProgramID mHandle; + // Cache for sampler validation + Optional mCachedValidateSamplersResult; + DirtyBits mDirtyBits; }; } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/ProgramExecutable.cpp b/gfx/angle/checkout/src/libANGLE/ProgramExecutable.cpp index e71abc160de6..c1defb06adfc 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramExecutable.cpp +++ b/gfx/angle/checkout/src/libANGLE/ProgramExecutable.cpp @@ -10,71 +10,24 @@ #include "libANGLE/Context.h" #include "libANGLE/Program.h" +#include "libANGLE/ProgramPipeline.h" #include "libANGLE/Shader.h" namespace gl { -namespace -{ -bool IncludeSameArrayElement(const std::set &nameSet, const std::string &name) -{ - std::vector subscripts; - std::string baseName = ParseResourceName(name, &subscripts); - for (const std::string &nameInSet : nameSet) - { - std::vector arrayIndices; - std::string arrayName = ParseResourceName(nameInSet, &arrayIndices); - if (baseName == arrayName && - (subscripts.empty() || arrayIndices.empty() || subscripts == arrayIndices)) - { - return true; - } - } - return false; -} - -// Find the matching varying or field by name. -const sh::ShaderVariable *FindOutputVaryingOrField(const ProgramMergedVaryings &varyings, - ShaderType stage, - const std::string &name) -{ - const sh::ShaderVariable *var = nullptr; - for (const ProgramVaryingRef &ref : varyings) - { - if (ref.frontShaderStage != stage) - { - continue; - } - - const sh::ShaderVariable *varying = ref.get(stage); - if (varying->name == name) - { - var = varying; - break; - } - GLuint fieldIndex = 0; - var = varying->findField(name, &fieldIndex); - if (var != nullptr) - { - break; - } - } - return var; -} -} // anonymous namespace ProgramExecutable::ProgramExecutable() : mMaxActiveAttribLocation(0), mAttributesTypeMask(0), mAttributesMask(0), + mActiveSamplersMask(0), mActiveSamplerRefCounts{}, + mActiveImagesMask(0), mCanDrawWith(false), - mYUVOutput(false), mTransformFeedbackBufferMode(GL_INTERLEAVED_ATTRIBS), mDefaultUniformRange(0, 0), mSamplerUniformRange(0, 0), mImageUniformRange(0, 0), - mFragmentInoutRange(0, 0), mPipelineHasGraphicsUniformBuffers(false), mPipelineHasComputeUniformBuffers(false), mPipelineHasGraphicsStorageBuffers(false), @@ -87,17 +40,7 @@ ProgramExecutable::ProgramExecutable() mPipelineHasComputeTextures(false), mPipelineHasGraphicsImages(false), mPipelineHasComputeImages(false), - mIsCompute(false), - // [GL_EXT_geometry_shader] Table 20.22 - mGeometryShaderInputPrimitiveType(PrimitiveMode::Triangles), - mGeometryShaderOutputPrimitiveType(PrimitiveMode::TriangleStrip), - mGeometryShaderInvocations(1), - mGeometryShaderMaxVertices(0), - mTessControlShaderVertices(0), - mTessGenMode(GL_NONE), - mTessGenSpacing(GL_NONE), - mTessGenVertexOrder(GL_NONE), - mTessGenPointMode(GL_NONE) + mIsCompute(false) { reset(); } @@ -112,7 +55,6 @@ ProgramExecutable::ProgramExecutable(const ProgramExecutable &other) mActiveSamplersMask(other.mActiveSamplersMask), mActiveSamplerRefCounts(other.mActiveSamplerRefCounts), mActiveSamplerTypes(other.mActiveSamplerTypes), - mActiveSamplerYUV(other.mActiveSamplerYUV), mActiveSamplerFormats(other.mActiveSamplerFormats), mActiveSamplerShaderBits(other.mActiveSamplerShaderBits), mActiveImagesMask(other.mActiveImagesMask), @@ -120,8 +62,6 @@ ProgramExecutable::ProgramExecutable(const ProgramExecutable &other) mCanDrawWith(other.mCanDrawWith), mOutputVariables(other.mOutputVariables), mOutputLocations(other.mOutputLocations), - mSecondaryOutputLocations(other.mSecondaryOutputLocations), - mYUVOutput(other.mYUVOutput), mProgramInputs(other.mProgramInputs), mLinkedTransformFeedbackVaryings(other.mLinkedTransformFeedbackVaryings), mTransformFeedbackStrides(other.mTransformFeedbackStrides), @@ -130,12 +70,10 @@ ProgramExecutable::ProgramExecutable(const ProgramExecutable &other) mDefaultUniformRange(other.mDefaultUniformRange), mSamplerUniformRange(other.mSamplerUniformRange), mUniformBlocks(other.mUniformBlocks), - mActiveUniformBlockBindings(other.mActiveUniformBlockBindings), mAtomicCounterBuffers(other.mAtomicCounterBuffers), mImageUniformRange(other.mImageUniformRange), mComputeShaderStorageBlocks(other.mComputeShaderStorageBlocks), mGraphicsShaderStorageBlocks(other.mGraphicsShaderStorageBlocks), - mFragmentInoutRange(other.mFragmentInoutRange), mPipelineHasGraphicsUniformBuffers(other.mPipelineHasGraphicsUniformBuffers), mPipelineHasComputeUniformBuffers(other.mPipelineHasComputeUniformBuffers), mPipelineHasGraphicsStorageBuffers(other.mPipelineHasGraphicsStorageBuffers), @@ -166,24 +104,19 @@ void ProgramExecutable::reset() mActiveSamplersMask.reset(); mActiveSamplerRefCounts = {}; mActiveSamplerTypes.fill(TextureType::InvalidEnum); - mActiveSamplerYUV.reset(); mActiveSamplerFormats.fill(SamplerFormat::InvalidEnum); mActiveImagesMask.reset(); mProgramInputs.clear(); mLinkedTransformFeedbackVaryings.clear(); - mTransformFeedbackStrides.clear(); mUniforms.clear(); mUniformBlocks.clear(); - mActiveUniformBlockBindings.reset(); mComputeShaderStorageBlocks.clear(); mGraphicsShaderStorageBlocks.clear(); mAtomicCounterBuffers.clear(); mOutputVariables.clear(); mOutputLocations.clear(); - mSecondaryOutputLocations.clear(); - mYUVOutput = false; mSamplerBindings.clear(); mComputeImageBindings.clear(); mGraphicsImageBindings.clear(); @@ -198,20 +131,9 @@ void ProgramExecutable::reset() mPipelineHasComputeDefaultUniforms = false; mPipelineHasGraphicsTextures = false; mPipelineHasComputeTextures = false; - - mGeometryShaderInputPrimitiveType = PrimitiveMode::Triangles; - mGeometryShaderOutputPrimitiveType = PrimitiveMode::TriangleStrip; - mGeometryShaderInvocations = 1; - mGeometryShaderMaxVertices = 0; - - mTessControlShaderVertices = 0; - mTessGenMode = GL_NONE; - mTessGenSpacing = GL_NONE; - mTessGenVertexOrder = GL_NONE; - mTessGenPointMode = GL_NONE; } -void ProgramExecutable::load(bool isSeparable, gl::BinaryInputStream *stream) +void ProgramExecutable::load(gl::BinaryInputStream *stream) { static_assert(MAX_VERTEX_ATTRIBS * 2 <= sizeof(uint32_t) * 8, "Too many vertex attribs for mask: All bits of mAttributesTypeMask types and " @@ -221,10 +143,6 @@ void ProgramExecutable::load(bool isSeparable, gl::BinaryInputStream *stream) mActiveAttribLocationsMask = gl::AttributesMask(stream->readInt()); mMaxActiveAttribLocation = stream->readInt(); - unsigned int fragmentInoutRangeLow = stream->readInt(); - unsigned int fragmentInoutRangeHigh = stream->readInt(); - mFragmentInoutRange = RangeUI(fragmentInoutRangeLow, fragmentInoutRangeHigh); - mLinkedGraphicsShaderStages = ShaderBitSet(stream->readInt()); mLinkedComputeShaderStages = ShaderBitSet(stream->readInt()); mIsCompute = stream->readBool(); @@ -239,218 +157,9 @@ void ProgramExecutable::load(bool isSeparable, gl::BinaryInputStream *stream) mPipelineHasComputeDefaultUniforms = stream->readBool(); mPipelineHasGraphicsTextures = stream->readBool(); mPipelineHasComputeTextures = stream->readBool(); - - mGeometryShaderInputPrimitiveType = stream->readEnum(); - mGeometryShaderOutputPrimitiveType = stream->readEnum(); - mGeometryShaderInvocations = stream->readInt(); - mGeometryShaderMaxVertices = stream->readInt(); - - mTessControlShaderVertices = stream->readInt(); - mTessGenMode = stream->readInt(); - mTessGenSpacing = stream->readInt(); - mTessGenVertexOrder = stream->readInt(); - mTessGenPointMode = stream->readInt(); - - size_t attribCount = stream->readInt(); - ASSERT(getProgramInputs().empty()); - for (size_t attribIndex = 0; attribIndex < attribCount; ++attribIndex) - { - sh::ShaderVariable attrib; - LoadShaderVar(stream, &attrib); - attrib.location = stream->readInt(); - mProgramInputs.push_back(attrib); - } - - size_t uniformCount = stream->readInt(); - ASSERT(getUniforms().empty()); - for (size_t uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) - { - LinkedUniform uniform; - LoadShaderVar(stream, &uniform); - - uniform.bufferIndex = stream->readInt(); - LoadBlockMemberInfo(stream, &uniform.blockInfo); - - stream->readIntVector(&uniform.outerArraySizes); - - uniform.typeInfo = &GetUniformTypeInfo(uniform.type); - - // Active shader info - for (ShaderType shaderType : gl::AllShaderTypes()) - { - uniform.setActive(shaderType, stream->readBool()); - } - - mUniforms.push_back(uniform); - } - - size_t uniformBlockCount = stream->readInt(); - ASSERT(getUniformBlocks().empty()); - for (size_t uniformBlockIndex = 0; uniformBlockIndex < uniformBlockCount; ++uniformBlockIndex) - { - InterfaceBlock uniformBlock; - LoadInterfaceBlock(stream, &uniformBlock); - mUniformBlocks.push_back(uniformBlock); - - mActiveUniformBlockBindings.set(uniformBlockIndex, uniformBlock.binding != 0); - } - - size_t shaderStorageBlockCount = stream->readInt(); - ASSERT(getShaderStorageBlocks().empty()); - for (size_t shaderStorageBlockIndex = 0; shaderStorageBlockIndex < shaderStorageBlockCount; - ++shaderStorageBlockIndex) - { - InterfaceBlock shaderStorageBlock; - LoadInterfaceBlock(stream, &shaderStorageBlock); - if (isCompute()) - { - mComputeShaderStorageBlocks.push_back(shaderStorageBlock); - } - else - { - mGraphicsShaderStorageBlocks.push_back(shaderStorageBlock); - } - } - - size_t atomicCounterBufferCount = stream->readInt(); - ASSERT(getAtomicCounterBuffers().empty()); - for (size_t bufferIndex = 0; bufferIndex < atomicCounterBufferCount; ++bufferIndex) - { - AtomicCounterBuffer atomicCounterBuffer; - LoadShaderVariableBuffer(stream, &atomicCounterBuffer); - - mAtomicCounterBuffers.push_back(atomicCounterBuffer); - } - - size_t transformFeedbackVaryingCount = stream->readInt(); - ASSERT(mLinkedTransformFeedbackVaryings.empty()); - for (size_t transformFeedbackVaryingIndex = 0; - transformFeedbackVaryingIndex < transformFeedbackVaryingCount; - ++transformFeedbackVaryingIndex) - { - sh::ShaderVariable varying; - stream->readIntVector(&varying.arraySizes); - stream->readInt(&varying.type); - stream->readString(&varying.name); - - GLuint arrayIndex = stream->readInt(); - - mLinkedTransformFeedbackVaryings.emplace_back(varying, arrayIndex); - } - - mTransformFeedbackBufferMode = stream->readInt(); - - size_t outputCount = stream->readInt(); - ASSERT(getOutputVariables().empty()); - for (size_t outputIndex = 0; outputIndex < outputCount; ++outputIndex) - { - sh::ShaderVariable output; - LoadShaderVar(stream, &output); - output.location = stream->readInt(); - output.index = stream->readInt(); - mOutputVariables.push_back(output); - } - - size_t outputVarCount = stream->readInt(); - ASSERT(getOutputLocations().empty()); - for (size_t outputIndex = 0; outputIndex < outputVarCount; ++outputIndex) - { - VariableLocation locationData; - stream->readInt(&locationData.arrayIndex); - stream->readInt(&locationData.index); - stream->readBool(&locationData.ignored); - mOutputLocations.push_back(locationData); - } - - size_t secondaryOutputVarCount = stream->readInt(); - ASSERT(getSecondaryOutputLocations().empty()); - for (size_t outputIndex = 0; outputIndex < secondaryOutputVarCount; ++outputIndex) - { - VariableLocation locationData; - stream->readInt(&locationData.arrayIndex); - stream->readInt(&locationData.index); - stream->readBool(&locationData.ignored); - mSecondaryOutputLocations.push_back(locationData); - } - - unsigned int defaultUniformRangeLow = stream->readInt(); - unsigned int defaultUniformRangeHigh = stream->readInt(); - mDefaultUniformRange = RangeUI(defaultUniformRangeLow, defaultUniformRangeHigh); - - unsigned int samplerRangeLow = stream->readInt(); - unsigned int samplerRangeHigh = stream->readInt(); - mSamplerUniformRange = RangeUI(samplerRangeLow, samplerRangeHigh); - - size_t samplerCount = stream->readInt(); - for (size_t samplerIndex = 0; samplerIndex < samplerCount; ++samplerIndex) - { - TextureType textureType = stream->readEnum(); - GLenum samplerType = stream->readInt(); - SamplerFormat format = stream->readEnum(); - size_t bindingCount = stream->readInt(); - mSamplerBindings.emplace_back(textureType, samplerType, format, bindingCount); - } - - unsigned int imageRangeLow = stream->readInt(); - unsigned int imageRangeHigh = stream->readInt(); - mImageUniformRange = RangeUI(imageRangeLow, imageRangeHigh); - - size_t imageBindingCount = stream->readInt(); - for (size_t imageIndex = 0; imageIndex < imageBindingCount; ++imageIndex) - { - size_t elementCount = stream->readInt(); - TextureType textureType = static_cast(stream->readInt()); - ImageBinding imageBinding(elementCount, textureType); - for (size_t elementIndex = 0; elementIndex < elementCount; ++elementIndex) - { - imageBinding.boundImageUnits[elementIndex] = stream->readInt(); - } - if (isCompute()) - { - mComputeImageBindings.emplace_back(imageBinding); - } - else - { - mGraphicsImageBindings.emplace_back(imageBinding); - } - } - - // These values are currently only used by PPOs, so only load them when the program is marked - // separable to save memory. - if (isSeparable) - { - for (ShaderType shaderType : mLinkedGraphicsShaderStages) - { - mLinkedOutputVaryings[shaderType].resize(stream->readInt()); - for (sh::ShaderVariable &variable : mLinkedOutputVaryings[shaderType]) - { - LoadShaderVar(stream, &variable); - } - mLinkedInputVaryings[shaderType].resize(stream->readInt()); - for (sh::ShaderVariable &variable : mLinkedInputVaryings[shaderType]) - { - LoadShaderVar(stream, &variable); - } - mLinkedShaderVersions[shaderType] = stream->readInt(); - } - for (ShaderType shaderType : mLinkedComputeShaderStages) - { - mLinkedOutputVaryings[shaderType].resize(stream->readInt()); - for (sh::ShaderVariable &variable : mLinkedOutputVaryings[shaderType]) - { - LoadShaderVar(stream, &variable); - } - mLinkedInputVaryings[shaderType].resize(stream->readInt()); - for (sh::ShaderVariable &variable : mLinkedInputVaryings[shaderType]) - { - LoadShaderVar(stream, &variable); - } - mLinkedShaderVersions[shaderType] = stream->readInt(); - } - } } -void ProgramExecutable::save(bool isSeparable, gl::BinaryOutputStream *stream) const +void ProgramExecutable::save(gl::BinaryOutputStream *stream) const { static_assert(MAX_VERTEX_ATTRIBS * 2 <= sizeof(uint32_t) * 8, "All bits of mAttributesTypeMask types and mask fit into 32 bits each"); @@ -459,9 +168,6 @@ void ProgramExecutable::save(bool isSeparable, gl::BinaryOutputStream *stream) c stream->writeInt(static_cast(mActiveAttribLocationsMask.to_ulong())); stream->writeInt(mMaxActiveAttribLocation); - stream->writeInt(mFragmentInoutRange.low()); - stream->writeInt(mFragmentInoutRange.high()); - stream->writeInt(mLinkedGraphicsShaderStages.bits()); stream->writeInt(mLinkedComputeShaderStages.bits()); stream->writeBool(mIsCompute); @@ -476,159 +182,6 @@ void ProgramExecutable::save(bool isSeparable, gl::BinaryOutputStream *stream) c stream->writeBool(mPipelineHasComputeDefaultUniforms); stream->writeBool(mPipelineHasGraphicsTextures); stream->writeBool(mPipelineHasComputeTextures); - - ASSERT(mGeometryShaderInvocations >= 1 && mGeometryShaderMaxVertices >= 0); - stream->writeEnum(mGeometryShaderInputPrimitiveType); - stream->writeEnum(mGeometryShaderOutputPrimitiveType); - stream->writeInt(mGeometryShaderInvocations); - stream->writeInt(mGeometryShaderMaxVertices); - - stream->writeInt(mTessControlShaderVertices); - stream->writeInt(mTessGenMode); - stream->writeInt(mTessGenSpacing); - stream->writeInt(mTessGenVertexOrder); - stream->writeInt(mTessGenPointMode); - - stream->writeInt(getProgramInputs().size()); - for (const sh::ShaderVariable &attrib : getProgramInputs()) - { - WriteShaderVar(stream, attrib); - stream->writeInt(attrib.location); - } - - stream->writeInt(getUniforms().size()); - for (const LinkedUniform &uniform : getUniforms()) - { - WriteShaderVar(stream, uniform); - - stream->writeInt(uniform.bufferIndex); - WriteBlockMemberInfo(stream, uniform.blockInfo); - - stream->writeIntVector(uniform.outerArraySizes); - - // Active shader info - for (ShaderType shaderType : gl::AllShaderTypes()) - { - stream->writeBool(uniform.isActive(shaderType)); - } - } - - stream->writeInt(getUniformBlocks().size()); - for (const InterfaceBlock &uniformBlock : getUniformBlocks()) - { - WriteInterfaceBlock(stream, uniformBlock); - } - - stream->writeInt(getShaderStorageBlocks().size()); - for (const InterfaceBlock &shaderStorageBlock : getShaderStorageBlocks()) - { - WriteInterfaceBlock(stream, shaderStorageBlock); - } - - stream->writeInt(mAtomicCounterBuffers.size()); - for (const AtomicCounterBuffer &atomicCounterBuffer : getAtomicCounterBuffers()) - { - WriteShaderVariableBuffer(stream, atomicCounterBuffer); - } - - stream->writeInt(getLinkedTransformFeedbackVaryings().size()); - for (const auto &var : getLinkedTransformFeedbackVaryings()) - { - stream->writeIntVector(var.arraySizes); - stream->writeInt(var.type); - stream->writeString(var.name); - - stream->writeIntOrNegOne(var.arrayIndex); - } - - stream->writeInt(getTransformFeedbackBufferMode()); - - stream->writeInt(getOutputVariables().size()); - for (const sh::ShaderVariable &output : getOutputVariables()) - { - WriteShaderVar(stream, output); - stream->writeInt(output.location); - stream->writeInt(output.index); - } - - stream->writeInt(getOutputLocations().size()); - for (const auto &outputVar : getOutputLocations()) - { - stream->writeInt(outputVar.arrayIndex); - stream->writeIntOrNegOne(outputVar.index); - stream->writeBool(outputVar.ignored); - } - - stream->writeInt(getSecondaryOutputLocations().size()); - for (const auto &outputVar : getSecondaryOutputLocations()) - { - stream->writeInt(outputVar.arrayIndex); - stream->writeIntOrNegOne(outputVar.index); - stream->writeBool(outputVar.ignored); - } - - stream->writeInt(getDefaultUniformRange().low()); - stream->writeInt(getDefaultUniformRange().high()); - - stream->writeInt(getSamplerUniformRange().low()); - stream->writeInt(getSamplerUniformRange().high()); - - stream->writeInt(getSamplerBindings().size()); - for (const auto &samplerBinding : getSamplerBindings()) - { - stream->writeEnum(samplerBinding.textureType); - stream->writeInt(samplerBinding.samplerType); - stream->writeEnum(samplerBinding.format); - stream->writeInt(samplerBinding.boundTextureUnits.size()); - } - - stream->writeInt(getImageUniformRange().low()); - stream->writeInt(getImageUniformRange().high()); - - stream->writeInt(getImageBindings().size()); - for (const auto &imageBinding : getImageBindings()) - { - stream->writeInt(imageBinding.boundImageUnits.size()); - stream->writeInt(static_cast(imageBinding.textureType)); - for (size_t i = 0; i < imageBinding.boundImageUnits.size(); ++i) - { - stream->writeInt(imageBinding.boundImageUnits[i]); - } - } - - // These values are currently only used by PPOs, so only save them when the program is marked - // separable to save memory. - if (isSeparable) - { - for (ShaderType shaderType : mLinkedGraphicsShaderStages) - { - stream->writeInt(mLinkedOutputVaryings[shaderType].size()); - for (const sh::ShaderVariable &shaderVariable : mLinkedOutputVaryings[shaderType]) - { - WriteShaderVar(stream, shaderVariable); - } - stream->writeInt(mLinkedInputVaryings[shaderType].size()); - for (const sh::ShaderVariable &shaderVariable : mLinkedInputVaryings[shaderType]) - { - WriteShaderVar(stream, shaderVariable); - } - stream->writeInt(mLinkedShaderVersions[shaderType]); - } - for (ShaderType shaderType : mLinkedComputeShaderStages) - { - stream->writeInt(mLinkedOutputVaryings[shaderType].size()); - for (const sh::ShaderVariable &shaderVariable : mLinkedOutputVaryings[shaderType]) - { - WriteShaderVar(stream, shaderVariable); - } - stream->writeInt(mLinkedInputVaryings[shaderType].size()); - for (const sh::ShaderVariable &shaderVariable : mLinkedInputVaryings[shaderType]) - { - WriteShaderVar(stream, shaderVariable); - } - stream->writeInt(mLinkedShaderVersions[shaderType]); - } - } } int ProgramExecutable::getInfoLogLength() const @@ -718,11 +271,6 @@ bool ProgramExecutable::hasComputeImages() const return !mComputeImageBindings.empty() || mPipelineHasComputeImages; } -bool ProgramExecutable::usesFramebufferFetch() const -{ - return (mFragmentInoutRange.length() > 0); -} - GLuint ProgramExecutable::getUniformIndexFromImageIndex(GLuint imageIndex) const { ASSERT(imageIndex < mImageUniformRange.length()); @@ -743,23 +291,16 @@ void ProgramExecutable::updateActiveSamplers(const ProgramState &programState) { if (++mActiveSamplerRefCounts[textureUnit] == 1) { - mActiveSamplerTypes[textureUnit] = samplerBinding.textureType; - mActiveSamplerYUV[textureUnit] = IsSamplerYUVType(samplerBinding.samplerType); - mActiveSamplerFormats[textureUnit] = samplerBinding.format; + mActiveSamplerTypes[textureUnit] = samplerBinding.textureType; + mActiveSamplerFormats[textureUnit] = samplerBinding.format; mActiveSamplerShaderBits[textureUnit] = samplerUniform.activeShaders(); } else { if (mActiveSamplerTypes[textureUnit] != samplerBinding.textureType) { - // Conflicts are marked with InvalidEnum mActiveSamplerTypes[textureUnit] = TextureType::InvalidEnum; } - if (mActiveSamplerYUV.test(textureUnit) != - IsSamplerYUVType(samplerBinding.samplerType)) - { - mActiveSamplerYUV[textureUnit] = false; - } if (mActiveSamplerFormats[textureUnit] != samplerBinding.format) { mActiveSamplerFormats[textureUnit] = SamplerFormat::InvalidEnum; @@ -789,7 +330,7 @@ void ProgramExecutable::updateActiveImages(const ProgramExecutable &executable) } else { - mActiveImageShaderBits[imageUnit] |= shaderBits; + mActiveImageShaderBits[imageUnit] = shaderBits; } } } @@ -801,7 +342,6 @@ void ProgramExecutable::setSamplerUniformTextureTypeAndFormat( { bool foundBinding = false; TextureType foundType = TextureType::InvalidEnum; - bool foundYUV = false; SamplerFormat foundFormat = SamplerFormat::InvalidEnum; for (const SamplerBinding &binding : samplerBindings) @@ -816,7 +356,6 @@ void ProgramExecutable::setSamplerUniformTextureTypeAndFormat( { foundBinding = true; foundType = binding.textureType; - foundYUV = IsSamplerYUVType(binding.samplerType); foundFormat = binding.format; } else @@ -825,10 +364,6 @@ void ProgramExecutable::setSamplerUniformTextureTypeAndFormat( { foundType = TextureType::InvalidEnum; } - if (foundYUV != IsSamplerYUVType(binding.samplerType)) - { - foundYUV = false; - } if (foundFormat != binding.format) { foundFormat = SamplerFormat::InvalidEnum; @@ -839,10 +374,130 @@ void ProgramExecutable::setSamplerUniformTextureTypeAndFormat( } mActiveSamplerTypes[textureUnitIndex] = foundType; - mActiveSamplerYUV[textureUnitIndex] = foundYUV; mActiveSamplerFormats[textureUnitIndex] = foundFormat; } +bool ProgramExecutable::linkValidateGlobalNames( + InfoLog &infoLog, + const ShaderMap &programStates) const +{ + std::unordered_map uniformMap; + using BlockAndFieldPair = std::pair; + std::unordered_map> uniformBlockFieldMap; + + for (ShaderType shaderType : kAllGraphicsShaderTypes) + { + const ProgramState *programState = programStates[shaderType]; + if (!programState) + { + continue; + } + Shader *shader = programState->getAttachedShader(shaderType); + if (!shader) + { + continue; + } + + // Build a map of Uniforms + const std::vector uniforms = shader->getUniforms(); + for (const auto &uniform : uniforms) + { + uniformMap[uniform.name] = &uniform; + } + + // Build a map of Uniform Blocks + // This will also detect any field name conflicts between Uniform Blocks without instance + // names + const std::vector &uniformBlocks = shader->getUniformBlocks(); + for (const auto &uniformBlock : uniformBlocks) + { + // Only uniform blocks without an instance name can create a conflict with their field + // names + if (!uniformBlock.instanceName.empty()) + { + continue; + } + + for (const auto &field : uniformBlock.fields) + { + if (!uniformBlockFieldMap.count(field.name)) + { + // First time we've seen this uniform block field name, so add the + // (Uniform Block, Field) pair immediately since there can't be a conflict yet + BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); + std::vector newUniformBlockList; + newUniformBlockList.push_back(blockAndFieldPair); + uniformBlockFieldMap[field.name] = newUniformBlockList; + continue; + } + + // We've seen this name before. + // We need to check each of the uniform blocks that contain a field with this name + // to see if there's a conflict or not. + std::vector prevBlockFieldPairs = + uniformBlockFieldMap[field.name]; + for (const auto &prevBlockFieldPair : prevBlockFieldPairs) + { + const sh::InterfaceBlock *prevUniformBlock = prevBlockFieldPair.first; + const sh::ShaderVariable *prevUniformBlockField = prevBlockFieldPair.second; + + if (uniformBlock.isSameInterfaceBlockAtLinkTime(*prevUniformBlock)) + { + // The same uniform block should, by definition, contain the same field name + continue; + } + + // The uniform blocks don't match, so check if the necessary field properties + // also match + if ((field.name == prevUniformBlockField->name) && + (field.type == prevUniformBlockField->type) && + (field.precision == prevUniformBlockField->precision)) + { + infoLog << "Name conflicts between uniform block field names: " + << field.name; + return false; + } + } + + // No conflict, so record this pair + BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); + uniformBlockFieldMap[field.name].push_back(blockAndFieldPair); + } + } + } + + // Validate no uniform names conflict with attribute names + const ProgramState *programState = programStates[ShaderType::Vertex]; + if (programState) + { + Shader *vertexShader = programState->getAttachedShader(ShaderType::Vertex); + if (vertexShader) + { + for (const auto &attrib : vertexShader->getActiveAttributes()) + { + if (uniformMap.count(attrib.name)) + { + infoLog << "Name conflicts between a uniform and an attribute: " << attrib.name; + return false; + } + } + } + } + + // Validate no Uniform Block fields conflict with other Uniforms + for (const auto &uniformBlockField : uniformBlockFieldMap) + { + const std::string &fieldName = uniformBlockField.first; + if (uniformMap.count(fieldName)) + { + infoLog << "Name conflicts between a uniform and a uniform block field: " << fieldName; + return false; + } + } + + return true; +} + void ProgramExecutable::updateCanDrawWith() { mCanDrawWith = @@ -861,282 +516,4 @@ void ProgramExecutable::saveLinkedStateInfo(const ProgramState &state) } } -bool ProgramExecutable::isYUVOutput() const -{ - return !isCompute() && mYUVOutput; -} - -ShaderType ProgramExecutable::getLinkedTransformFeedbackStage() const -{ - return GetLastPreFragmentStage(mLinkedGraphicsShaderStages); -} - -bool ProgramExecutable::linkMergedVaryings( - const Context *context, - const HasAttachedShaders &programOrPipeline, - const ProgramMergedVaryings &mergedVaryings, - const std::vector &transformFeedbackVaryingNames, - bool isSeparable, - ProgramVaryingPacking *varyingPacking) -{ - ShaderType tfStage = programOrPipeline.getTransformFeedbackStage(); - - if (!linkValidateTransformFeedback(context, mergedVaryings, tfStage, - transformFeedbackVaryingNames)) - { - return false; - } - - // Map the varyings to the register file - // In WebGL, we use a slightly different handling for packing variables. - gl::PackMode packMode = PackMode::ANGLE_RELAXED; - if (context->getLimitations().noFlexibleVaryingPacking) - { - // D3D9 pack mode is strictly more strict than WebGL, so takes priority. - packMode = PackMode::ANGLE_NON_CONFORMANT_D3D9; - } - else if (context->getExtensions().webglCompatibility) - { - packMode = PackMode::WEBGL_STRICT; - } - - // Build active shader stage map. - ShaderBitSet activeShadersMask; - for (ShaderType shaderType : kAllGraphicsShaderTypes) - { - // - Check for attached shaders to handle the case of a Program linking the currently - // attached shaders. - // - Check for linked shaders to handle the case of a PPO linking separable programs before - // drawing. - if (programOrPipeline.getAttachedShader(shaderType) || - getLinkedShaderStages().test(shaderType)) - { - activeShadersMask[shaderType] = true; - } - } - - if (!varyingPacking->collectAndPackUserVaryings(mInfoLog, context->getCaps(), packMode, - activeShadersMask, mergedVaryings, - transformFeedbackVaryingNames, isSeparable)) - { - return false; - } - - gatherTransformFeedbackVaryings(mergedVaryings, tfStage, transformFeedbackVaryingNames); - updateTransformFeedbackStrides(); - - return true; -} - -bool ProgramExecutable::linkValidateTransformFeedback( - const Context *context, - const ProgramMergedVaryings &varyings, - ShaderType stage, - const std::vector &transformFeedbackVaryingNames) -{ - const Version &version = context->getClientVersion(); - - // Validate the tf names regardless of the actual program varyings. - std::set uniqueNames; - for (const std::string &tfVaryingName : transformFeedbackVaryingNames) - { - if (version < Version(3, 1) && tfVaryingName.find('[') != std::string::npos) - { - mInfoLog << "Capture of array elements is undefined and not supported."; - return false; - } - if (version >= Version(3, 1)) - { - if (IncludeSameArrayElement(uniqueNames, tfVaryingName)) - { - mInfoLog << "Two transform feedback varyings include the same array element (" - << tfVaryingName << ")."; - return false; - } - } - else - { - if (uniqueNames.count(tfVaryingName) > 0) - { - mInfoLog << "Two transform feedback varyings specify the same output variable (" - << tfVaryingName << ")."; - return false; - } - } - uniqueNames.insert(tfVaryingName); - } - - // Validate against program varyings. - size_t totalComponents = 0; - for (const std::string &tfVaryingName : transformFeedbackVaryingNames) - { - std::vector subscripts; - std::string baseName = ParseResourceName(tfVaryingName, &subscripts); - - const sh::ShaderVariable *var = FindOutputVaryingOrField(varyings, stage, baseName); - if (var == nullptr) - { - mInfoLog << "Transform feedback varying " << tfVaryingName - << " does not exist in the vertex shader."; - return false; - } - - // Validate the matching variable. - if (var->isStruct()) - { - mInfoLog << "Struct cannot be captured directly (" << baseName << ")."; - return false; - } - - size_t elementCount = 0; - size_t componentCount = 0; - - if (var->isArray()) - { - if (version < Version(3, 1)) - { - mInfoLog << "Capture of arrays is undefined and not supported."; - return false; - } - - // GLSL ES 3.10 section 4.3.6: A vertex output can't be an array of arrays. - ASSERT(!var->isArrayOfArrays()); - - if (!subscripts.empty() && subscripts[0] >= var->getOutermostArraySize()) - { - mInfoLog << "Cannot capture outbound array element '" << tfVaryingName << "'."; - return false; - } - elementCount = (subscripts.empty() ? var->getOutermostArraySize() : 1); - } - else - { - if (!subscripts.empty()) - { - mInfoLog << "Varying '" << baseName - << "' is not an array to be captured by element."; - return false; - } - elementCount = 1; - } - - const Caps &caps = context->getCaps(); - - // TODO(jmadill): Investigate implementation limits on D3D11 - componentCount = VariableComponentCount(var->type) * elementCount; - if (mTransformFeedbackBufferMode == GL_SEPARATE_ATTRIBS && - componentCount > static_cast(caps.maxTransformFeedbackSeparateComponents)) - { - mInfoLog << "Transform feedback varying " << tfVaryingName << " components (" - << componentCount << ") exceed the maximum separate components (" - << caps.maxTransformFeedbackSeparateComponents << ")."; - return false; - } - - totalComponents += componentCount; - if (mTransformFeedbackBufferMode == GL_INTERLEAVED_ATTRIBS && - totalComponents > static_cast(caps.maxTransformFeedbackInterleavedComponents)) - { - mInfoLog << "Transform feedback varying total components (" << totalComponents - << ") exceed the maximum interleaved components (" - << caps.maxTransformFeedbackInterleavedComponents << ")."; - return false; - } - } - return true; -} - -void ProgramExecutable::gatherTransformFeedbackVaryings( - const ProgramMergedVaryings &varyings, - ShaderType stage, - const std::vector &transformFeedbackVaryingNames) -{ - // Gather the linked varyings that are used for transform feedback, they should all exist. - mLinkedTransformFeedbackVaryings.clear(); - for (const std::string &tfVaryingName : transformFeedbackVaryingNames) - { - std::vector subscripts; - std::string baseName = ParseResourceName(tfVaryingName, &subscripts); - size_t subscript = GL_INVALID_INDEX; - if (!subscripts.empty()) - { - subscript = subscripts.back(); - } - for (const ProgramVaryingRef &ref : varyings) - { - if (ref.frontShaderStage != stage) - { - continue; - } - - const sh::ShaderVariable *varying = ref.get(stage); - if (baseName == varying->name) - { - mLinkedTransformFeedbackVaryings.emplace_back(*varying, - static_cast(subscript)); - break; - } - else if (varying->isStruct()) - { - GLuint fieldIndex = 0; - const auto *field = varying->findField(tfVaryingName, &fieldIndex); - if (field != nullptr) - { - mLinkedTransformFeedbackVaryings.emplace_back(*field, *varying); - break; - } - } - } - } -} - -void ProgramExecutable::updateTransformFeedbackStrides() -{ - if (mTransformFeedbackBufferMode == GL_INTERLEAVED_ATTRIBS) - { - mTransformFeedbackStrides.resize(1); - size_t totalSize = 0; - for (const TransformFeedbackVarying &varying : mLinkedTransformFeedbackVaryings) - { - totalSize += varying.size() * VariableExternalSize(varying.type); - } - mTransformFeedbackStrides[0] = static_cast(totalSize); - } - else - { - mTransformFeedbackStrides.resize(mLinkedTransformFeedbackVaryings.size()); - for (size_t i = 0; i < mLinkedTransformFeedbackVaryings.size(); i++) - { - TransformFeedbackVarying &varying = mLinkedTransformFeedbackVaryings[i]; - mTransformFeedbackStrides[i] = - static_cast(varying.size() * VariableExternalSize(varying.type)); - } - } -} - -bool ProgramExecutable::validateSamplersImpl(InfoLog *infoLog, const Caps &caps) const -{ - // if any two active samplers in a program are of different types, but refer to the same - // texture image unit, and this is the current program, then ValidateProgram will fail, and - // DrawArrays and DrawElements will issue the INVALID_OPERATION error. - for (size_t textureUnit : mActiveSamplersMask) - { - if (mActiveSamplerTypes[textureUnit] == TextureType::InvalidEnum) - { - if (infoLog) - { - (*infoLog) << "Samplers of conflicting types refer to the same texture " - "image unit (" - << textureUnit << ")."; - } - - mCachedValidateSamplersResult = false; - return false; - } - } - - mCachedValidateSamplersResult = true; - return true; -} - } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/ProgramExecutable.h b/gfx/angle/checkout/src/libANGLE/ProgramExecutable.h index 3e2f7d420e05..950832b4e805 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramExecutable.h +++ b/gfx/angle/checkout/src/libANGLE/ProgramExecutable.h @@ -24,18 +24,13 @@ namespace gl // This small structure encapsulates binding sampler uniforms to active GL textures. struct SamplerBinding { - SamplerBinding(TextureType textureTypeIn, - GLenum samplerTypeIn, - SamplerFormat formatIn, - size_t elementCount); + SamplerBinding(TextureType textureTypeIn, SamplerFormat formatIn, size_t elementCount); SamplerBinding(const SamplerBinding &other); ~SamplerBinding(); // Necessary for retrieving active textures from the GL state. TextureType textureType; - GLenum samplerType; - SamplerFormat format; // List of all textures bound to this sampler, of type textureType. @@ -45,14 +40,11 @@ struct SamplerBinding struct ImageBinding { - ImageBinding(size_t count, TextureType textureTypeIn); - ImageBinding(GLuint imageUnit, size_t count, TextureType textureTypeIn); + ImageBinding(size_t count); + ImageBinding(GLuint imageUnit, size_t count); ImageBinding(const ImageBinding &other); ~ImageBinding(); - // Necessary for distinguishing between textures with images and texture buffers. - TextureType textureType; - // List of all textures bound. // Cropped by the amount of unused elements reported by the driver. std::vector boundImageUnits; @@ -75,14 +67,8 @@ struct TransformFeedbackVarying : public sh::ShaderVariable *thisVar = field; interpolation = parent.interpolation; isInvariant = parent.isInvariant; - ASSERT(parent.isShaderIOBlock || !parent.name.empty()); - if (!parent.name.empty()) - { - name = parent.name + "." + name; - mappedName = parent.mappedName + "." + mappedName; - } - structOrBlockName = parent.structOrBlockName; - mappedStructOrBlockName = parent.mappedStructOrBlockName; + name = parent.name + "." + name; + mappedName = parent.mappedName + "." + mappedName; } std::string nameWithArrayIndex() const @@ -115,8 +101,8 @@ class ProgramExecutable final : public angle::Subject void reset(); - void save(bool isSeparable, gl::BinaryOutputStream *stream) const; - void load(bool isSeparable, gl::BinaryInputStream *stream); + void save(gl::BinaryOutputStream *stream) const; + void load(gl::BinaryInputStream *stream); int getInfoLogLength() const; InfoLog &getInfoLog() { return mInfoLog; } @@ -157,15 +143,6 @@ class ProgramExecutable final : public angle::Subject return isCompute() ? mLinkedComputeShaderStages.count() : mLinkedGraphicsShaderStages.count(); } - bool hasLinkedTessellationShader() const - { - return mLinkedGraphicsShaderStages[ShaderType::TessControl] || - mLinkedGraphicsShaderStages[ShaderType::TessEvaluation]; - } - - ShaderType getTransformFeedbackStage() const; - - ShaderType getLinkedTransformFeedbackStage() const; // A PPO can have both graphics and compute programs attached, so // we don't know if the PPO is a 'graphics' or 'compute' PPO until the @@ -200,8 +177,6 @@ class ProgramExecutable final : public angle::Subject return mActiveImageShaderBits; } - const ActiveTextureMask &getActiveYUVSamplers() const { return mActiveSamplerYUV; } - const ActiveTextureArray &getActiveSamplerTypes() const { return mActiveSamplerTypes; @@ -223,27 +198,21 @@ class ProgramExecutable final : public angle::Subject { return !getLinkedTransformFeedbackVaryings().empty(); } - bool usesFramebufferFetch() const; // Count the number of uniform and storage buffer declarations, counting arrays as one. size_t getTransformFeedbackBufferCount() const { return mTransformFeedbackStrides.size(); } + bool linkValidateGlobalNames(InfoLog &infoLog, + const ShaderMap &programStates) const; + void updateCanDrawWith(); bool hasVertexAndFragmentShader() const { return mCanDrawWith; } const std::vector &getProgramInputs() const { return mProgramInputs; } const std::vector &getOutputVariables() const { return mOutputVariables; } const std::vector &getOutputLocations() const { return mOutputLocations; } - const std::vector &getSecondaryOutputLocations() const - { - return mSecondaryOutputLocations; - } const std::vector &getUniforms() const { return mUniforms; } const std::vector &getUniformBlocks() const { return mUniformBlocks; } - const UniformBlockBindingMask &getActiveUniformBlockBindings() const - { - return mActiveUniformBlockBindings; - } const std::vector &getSamplerBindings() const { return mSamplerBindings; } const std::vector &getImageBindings() const { @@ -256,7 +225,6 @@ class ProgramExecutable final : public angle::Subject const RangeUI &getDefaultUniformRange() const { return mDefaultUniformRange; } const RangeUI &getSamplerUniformRange() const { return mSamplerUniformRange; } const RangeUI &getImageUniformRange() const { return mImageUniformRange; } - const RangeUI &getFragmentInoutRange() const { return mFragmentInoutRange; } const std::vector &getLinkedTransformFeedbackVaryings() const { return mLinkedTransformFeedbackVaryings; @@ -311,52 +279,22 @@ class ProgramExecutable final : public angle::Subject GLuint getUniformIndexFromImageIndex(GLuint imageIndex) const; + gl::ProgramLinkedResources &getResources() const + { + ASSERT(mResources); + return *mResources; + } + void saveLinkedStateInfo(const ProgramState &state); - const std::vector &getLinkedOutputVaryings(ShaderType shaderType) const + std::vector getLinkedOutputVaryings(ShaderType shaderType) { return mLinkedOutputVaryings[shaderType]; } - const std::vector &getLinkedInputVaryings(ShaderType shaderType) const + std::vector getLinkedInputVaryings(ShaderType shaderType) { return mLinkedInputVaryings[shaderType]; } - - int getLinkedShaderVersion(ShaderType shaderType) const - { - return mLinkedShaderVersions[shaderType]; - } - - bool isYUVOutput() const; - - PrimitiveMode getGeometryShaderInputPrimitiveType() const - { - return mGeometryShaderInputPrimitiveType; - } - - PrimitiveMode getGeometryShaderOutputPrimitiveType() const - { - return mGeometryShaderOutputPrimitiveType; - } - - int getGeometryShaderInvocations() const { return mGeometryShaderInvocations; } - - int getGeometryShaderMaxVertices() const { return mGeometryShaderMaxVertices; } - - GLenum getTessGenMode() const { return mTessGenMode; } - - void resetCachedValidateSamplersResult() { mCachedValidateSamplersResult.reset(); } - bool validateSamplers(InfoLog *infoLog, const Caps &caps) const - { - // Use the cache if: - // - we aren't using an infolog (which gives the full error). - // - The sample mapping hasn't changed and we've already validated. - if (infoLog == nullptr && mCachedValidateSamplersResult.valid()) - { - return mCachedValidateSamplersResult.value(); - } - - return validateSamplersImpl(infoLog, caps); - } + int getLinkedShaderVersion(ShaderType shaderType) { return mLinkedShaderVersions[shaderType]; } private: // TODO(timvp): http://anglebug.com/3570: Investigate removing these friend @@ -371,28 +309,6 @@ class ProgramExecutable final : public angle::Subject void setSamplerUniformTextureTypeAndFormat(size_t textureUnitIndex, std::vector &samplerBindings); - bool linkMergedVaryings(const Context *context, - const HasAttachedShaders &programOrPipeline, - const ProgramMergedVaryings &mergedVaryings, - const std::vector &transformFeedbackVaryingNames, - bool isSeparable, - ProgramVaryingPacking *varyingPacking); - - bool linkValidateTransformFeedback( - const Context *context, - const ProgramMergedVaryings &varyings, - ShaderType stage, - const std::vector &transformFeedbackVaryingNames); - - void gatherTransformFeedbackVaryings( - const ProgramMergedVaryings &varyings, - ShaderType stage, - const std::vector &transformFeedbackVaryingNames); - - void updateTransformFeedbackStrides(); - - bool validateSamplersImpl(InfoLog *infoLog, const Caps &caps) const; - InfoLog mInfoLog; ShaderBitSet mLinkedGraphicsShaderStages; @@ -408,7 +324,6 @@ class ProgramExecutable final : public angle::Subject ActiveTextureMask mActiveSamplersMask; ActiveTextureArray mActiveSamplerRefCounts; ActiveTextureArray mActiveSamplerTypes; - ActiveTextureMask mActiveSamplerYUV; ActiveTextureArray mActiveSamplerFormats; ActiveTextureArray mActiveSamplerShaderBits; @@ -422,9 +337,6 @@ class ProgramExecutable final : public angle::Subject // to uniforms. std::vector mOutputVariables; std::vector mOutputLocations; - // EXT_blend_func_extended secondary outputs (ones with index 1) - std::vector mSecondaryOutputLocations; - bool mYUVOutput; // Vertex attributes, Fragment input varyings, etc. std::vector mProgramInputs; std::vector mLinkedTransformFeedbackVaryings; @@ -436,8 +348,7 @@ class ProgramExecutable final : public angle::Subject // 2. Sampler uniforms // 3. Image uniforms // 4. Atomic counter uniforms - // 5. Subpass Input uniforms (Only for Vulkan) - // 6. Uniform block uniforms + // 5. Uniform block uniforms // This makes opaque uniform validation easier, since we don't need a separate list. // For generating the entries and naming them we follow the spec: GLES 3.1 November 2016 section // 7.3.1.1 Naming Active Resources. There's a separate entry for each struct member and each @@ -447,15 +358,10 @@ class ProgramExecutable final : public angle::Subject RangeUI mDefaultUniformRange; RangeUI mSamplerUniformRange; std::vector mUniformBlocks; - - // For faster iteration on the blocks currently being bound. - UniformBlockBindingMask mActiveUniformBlockBindings; - std::vector mAtomicCounterBuffers; RangeUI mImageUniformRange; std::vector mComputeShaderStorageBlocks; std::vector mGraphicsShaderStorageBlocks; - RangeUI mFragmentInoutRange; // An array of the samplers that are used by the program std::vector mSamplerBindings; @@ -484,23 +390,10 @@ class ProgramExecutable final : public angle::Subject ShaderMap> mLinkedOutputVaryings; ShaderMap> mLinkedInputVaryings; ShaderMap mLinkedShaderVersions; - - // GL_EXT_geometry_shader. - PrimitiveMode mGeometryShaderInputPrimitiveType; - PrimitiveMode mGeometryShaderOutputPrimitiveType; - int mGeometryShaderInvocations; - int mGeometryShaderMaxVertices; - - // GL_EXT_tessellation_shader - int mTessControlShaderVertices; - GLenum mTessGenMode; - GLenum mTessGenSpacing; - GLenum mTessGenVertexOrder; - GLenum mTessGenPointMode; - - // Cache for sampler validation - mutable Optional mCachedValidateSamplersResult; + // TODO: http://anglebug.com/4514: Remove + std::unique_ptr mResources; }; + } // namespace gl #endif // LIBANGLE_PROGRAMEXECUTABLE_H_ diff --git a/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.cpp b/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.cpp index 9e12b0f35ea9..369d1c83f2b4 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.cpp +++ b/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.cpp @@ -58,8 +58,8 @@ LinkMismatchError LinkValidateUniforms(const sh::ShaderVariable &uniform1, // Validate precision match of uniforms iff they are statically used bool validatePrecision = uniform1.staticUse && uniform2.staticUse && validatePrecisionFeature; - LinkMismatchError linkError = LinkValidateProgramVariables( - uniform1, uniform2, validatePrecision, false, false, mismatchedStructFieldName); + LinkMismatchError linkError = Program::LinkValidateVariablesBase( + uniform1, uniform2, validatePrecision, true, mismatchedStructFieldName); if (linkError != LinkMismatchError::NO_MISMATCH) { return linkError; @@ -131,8 +131,6 @@ GLuint GetMaximumShaderUniformVectors(ShaderType shaderType, const Caps &caps) case ShaderType::Compute: case ShaderType::Geometry: - case ShaderType::TessControl: - case ShaderType::TessEvaluation: return static_cast(caps.maxShaderUniformComponents[shaderType]) / 4; default: @@ -363,7 +361,6 @@ struct ShaderUniformCount unsigned int samplerCount = 0; unsigned int imageCount = 0; unsigned int atomicCounterCount = 0; - unsigned int fragmentInOutCount = 0; }; ShaderUniformCount &operator+=(ShaderUniformCount &lhs, const ShaderUniformCount &rhs) @@ -372,7 +369,6 @@ ShaderUniformCount &operator+=(ShaderUniformCount &lhs, const ShaderUniformCount lhs.samplerCount += rhs.samplerCount; lhs.imageCount += rhs.imageCount; lhs.atomicCounterCount += rhs.atomicCounterCount; - lhs.fragmentInOutCount += rhs.fragmentInOutCount; return lhs; } @@ -388,7 +384,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor std::vector *samplerUniforms, std::vector *imageUniforms, std::vector *atomicCounterUniforms, - std::vector *inputAttachmentUniforms, std::vector *unusedUniforms) : sh::VariableNameVisitor("", ""), mShaderType(shaderType), @@ -401,16 +396,15 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor mSamplerUniforms(samplerUniforms), mImageUniforms(imageUniforms), mAtomicCounterUniforms(atomicCounterUniforms), - mInputAttachmentUniforms(inputAttachmentUniforms), mUnusedUniforms(unusedUniforms) {} - void visitNamedOpaqueObject(const sh::ShaderVariable &variable, - const std::string &name, - const std::string &mappedName, - const std::vector &arraySizes) override + void visitNamedSamplerOrImage(const sh::ShaderVariable &sampler, + const std::string &name, + const std::string &mappedName, + const std::vector &arraySizes) override { - visitNamedVariable(variable, false, name, mappedName, arraySizes); + visitNamedVariable(sampler, false, name, mappedName, arraySizes); } void visitNamedVariable(const sh::ShaderVariable &variable, @@ -422,7 +416,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor bool isSampler = IsSamplerType(variable.type); bool isImage = IsImageType(variable.type); bool isAtomicCounter = IsAtomicCounterType(variable.type); - bool isFragmentInOut = variable.isFragmentInOut; std::vector *uniformList = mUniforms; if (isSampler) { @@ -436,10 +429,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor { uniformList = mAtomicCounterUniforms; } - else if (isFragmentInOut) - { - uniformList = mInputAttachmentUniforms; - } std::string fullNameWithArrayIndex(name); std::string fullMappedNameWithArrayIndex(mappedName); @@ -487,8 +476,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor linkedUniform.staticUse = mMarkStaticUse; linkedUniform.outerArraySizes = arraySizes; linkedUniform.texelFetchStaticUse = variable.texelFetchStaticUse; - linkedUniform.imageUnitFormat = variable.imageUnitFormat; - linkedUniform.isFragmentInOut = variable.isFragmentInOut; if (variable.hasParentArrayIndex()) { linkedUniform.setParentArrayIndex(variable.parentArrayIndex()); @@ -499,9 +486,9 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor } else { - mUnusedUniforms->emplace_back( - linkedUniform.name, linkedUniform.isSampler(), linkedUniform.isImage(), - linkedUniform.isAtomicCounter(), linkedUniform.isFragmentInOut); + mUnusedUniforms->emplace_back(linkedUniform.name, linkedUniform.isSampler(), + linkedUniform.isImage(), + linkedUniform.isAtomicCounter()); } uniformList->push_back(linkedUniform); @@ -512,7 +499,7 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor // Samplers and images aren't "real" uniforms, so they don't count towards register usage. // Likewise, don't count "real" uniforms towards opaque count. - if (!IsOpaqueType(variable.type) && !isFragmentInOut) + if (!IsOpaqueType(variable.type)) { mUniformCount.vectorCount += VariableRegisterCount(variable.type) * elementCount; } @@ -520,7 +507,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor mUniformCount.samplerCount += (isSampler ? elementCount : 0); mUniformCount.imageCount += (isImage ? elementCount : 0); mUniformCount.atomicCounterCount += (isAtomicCounter ? elementCount : 0); - mUniformCount.fragmentInOutCount += (isFragmentInOut ? elementCount : 0); if (mLocation != -1) { @@ -558,7 +544,6 @@ class FlattenUniformVisitor : public sh::VariableNameVisitor std::vector *mSamplerUniforms; std::vector *mImageUniforms; std::vector *mAtomicCounterUniforms; - std::vector *mInputAttachmentUniforms; std::vector *mUnusedUniforms; ShaderUniformCount mUniformCount; unsigned int mStructStackSize = 0; @@ -673,122 +658,6 @@ bool InterfaceBlockInfo::getBlockMemberInfo(const std::string &name, *infoOut = infoIter->second; return true; } - -void GetFilteredVaryings(const std::vector &varyings, - std::vector *filteredVaryingsOut) -{ - for (const sh::ShaderVariable &varying : varyings) - { - // Built-in varyings obey special rules - if (varying.isBuiltIn()) - { - continue; - } - - filteredVaryingsOut->push_back(&varying); - } -} - -LinkMismatchError LinkValidateVaryings(const sh::ShaderVariable &outputVarying, - const sh::ShaderVariable &inputVarying, - int shaderVersion, - ShaderType frontShaderType, - ShaderType backShaderType, - bool isSeparable, - std::string *mismatchedStructFieldName) -{ - // [ES 3.2 spec] 7.4.1 Shader Interface Matching: - // Tessellation control shader per-vertex output variables and blocks and tessellation control, - // tessellation evaluation, and geometry shader per-vertex input variables and blocks are - // required to be declared as arrays, with each element representing input or output values for - // a single vertex of a multi-vertex primitive. For the purposes of interface matching, such - // variables and blocks are treated as though they were not declared as arrays. - bool treatOutputAsNonArray = - (frontShaderType == ShaderType::TessControl && !outputVarying.isPatch); - bool treatInputAsNonArray = - ((backShaderType == ShaderType::TessControl || - backShaderType == ShaderType::TessEvaluation || backShaderType == ShaderType::Geometry) && - !inputVarying.isPatch); - - // Skip the validation on the array sizes between a vertex output varying and a geometry input - // varying as it has been done before. - bool validatePrecision = isSeparable && (shaderVersion > 100); - LinkMismatchError linkError = LinkValidateProgramVariables( - outputVarying, inputVarying, validatePrecision, treatOutputAsNonArray, treatInputAsNonArray, - mismatchedStructFieldName); - if (linkError != LinkMismatchError::NO_MISMATCH) - { - return linkError; - } - - // Explicit locations must match if the names match. - if (outputVarying.isSameNameAtLinkTime(inputVarying) && - outputVarying.location != inputVarying.location) - { - return LinkMismatchError::LOCATION_MISMATCH; - } - - if (!sh::InterpolationTypesMatch(outputVarying.interpolation, inputVarying.interpolation)) - { - return LinkMismatchError::INTERPOLATION_TYPE_MISMATCH; - } - - if (shaderVersion == 100 && outputVarying.isInvariant != inputVarying.isInvariant) - { - return LinkMismatchError::INVARIANCE_MISMATCH; - } - - return LinkMismatchError::NO_MISMATCH; -} - -bool DoShaderVariablesMatch(int frontShaderVersion, - ShaderType frontShaderType, - ShaderType backShaderType, - const sh::ShaderVariable &input, - const sh::ShaderVariable &output, - bool isSeparable, - gl::InfoLog &infoLog) -{ - bool namesMatch = input.isSameNameAtLinkTime(output); - bool locationsMatch = input.location != -1 && input.location == output.location; - - // An output block is considered to match an input block in the subsequent - // shader if the two blocks have the same block name, and the members of the - // block match exactly in name, type, qualification, and declaration order. - // - // - For the purposes of shader interface matching, the gl_PointSize - // member of the intrinsically declared gl_PerVertex shader interface - // block is ignored. - // - Output blocks that do not match in name, but have a location and match - // in every other way listed above may be considered to match by some - // implementations, but not all - so this behaviour should not be relied - // upon. - - // An output variable is considered to match an input variable in the subsequent - // shader if: - // - // - the two variables match in name, type, and qualification; or - // - the two variables are declared with the same location qualifier and - // match in type and qualification. - - if (namesMatch || locationsMatch) - { - std::string mismatchedStructFieldName; - LinkMismatchError linkError = - LinkValidateVaryings(output, input, frontShaderVersion, frontShaderType, backShaderType, - isSeparable, &mismatchedStructFieldName); - if (linkError != LinkMismatchError::NO_MISMATCH) - { - LogLinkMismatch(infoLog, input.name, "varying", linkError, mismatchedStructFieldName, - frontShaderType, backShaderType); - return false; - } - - return true; - } - - return false; -} } // anonymous namespace UniformLinker::UniformLinker(const ProgramState &state) : mState(state) {} @@ -900,7 +769,7 @@ bool UniformLinker::indexUniforms(InfoLog &infoLog, const LinkedUniform &uniform = mUniforms[uniformIndex]; if ((uniform.isBuiltIn() && !uniform.isEmulatedBuiltIn()) || - IsAtomicCounterType(uniform.type) || uniform.isFragmentInOut) + IsAtomicCounterType(uniform.type)) { continue; } @@ -976,10 +845,8 @@ bool UniformLinker::gatherUniformLocationsAndCheckConflicts( for (const LinkedUniform &uniform : mUniforms) { - if ((uniform.isBuiltIn() && !uniform.isEmulatedBuiltIn()) || uniform.isFragmentInOut) + if (uniform.isBuiltIn() && !uniform.isEmulatedBuiltIn()) { - // The uniform of the fragment inout is not a normal uniform type. So, in the case of - // the fragment inout, this routine should be skipped. continue; } @@ -1051,8 +918,7 @@ void UniformLinker::pruneUnusedUniforms() else { mUnusedUniforms.emplace_back(uniformIter->name, uniformIter->isSampler(), - uniformIter->isImage(), uniformIter->isAtomicCounter(), - uniformIter->isFragmentInOut); + uniformIter->isImage(), uniformIter->isAtomicCounter()); uniformIter = mUniforms.erase(uniformIter); } } @@ -1064,7 +930,6 @@ bool UniformLinker::flattenUniformsAndCheckCapsForShader( std::vector &samplerUniforms, std::vector &imageUniforms, std::vector &atomicCounterUniforms, - std::vector &inputAttachmentUniforms, std::vector &unusedUniforms, InfoLog &infoLog) { @@ -1072,8 +937,7 @@ bool UniformLinker::flattenUniformsAndCheckCapsForShader( for (const sh::ShaderVariable &uniform : shader->getUniforms()) { FlattenUniformVisitor flattener(shader->getType(), uniform, &mUniforms, &samplerUniforms, - &imageUniforms, &atomicCounterUniforms, - &inputAttachmentUniforms, &unusedUniforms); + &imageUniforms, &atomicCounterUniforms, &unusedUniforms); sh::TraverseShaderVariable(uniform, false, &flattener); if (uniform.active) @@ -1084,7 +948,7 @@ bool UniformLinker::flattenUniformsAndCheckCapsForShader( { unusedUniforms.emplace_back(uniform.name, IsSamplerType(uniform.type), IsImageType(uniform.type), - IsAtomicCounterType(uniform.type), uniform.isFragmentInOut); + IsAtomicCounterType(uniform.type)); } } @@ -1142,7 +1006,6 @@ bool UniformLinker::flattenUniformsAndCheckCaps(const Caps &caps, InfoLog &infoL std::vector samplerUniforms; std::vector imageUniforms; std::vector atomicCounterUniforms; - std::vector inputAttachmentUniforms; std::vector unusedUniforms; for (const ShaderType shaderType : AllShaderTypes()) @@ -1154,8 +1017,7 @@ bool UniformLinker::flattenUniformsAndCheckCaps(const Caps &caps, InfoLog &infoL } if (!flattenUniformsAndCheckCapsForShader(shader, caps, samplerUniforms, imageUniforms, - atomicCounterUniforms, inputAttachmentUniforms, - unusedUniforms, infoLog)) + atomicCounterUniforms, unusedUniforms, infoLog)) { return false; } @@ -1164,8 +1026,6 @@ bool UniformLinker::flattenUniformsAndCheckCaps(const Caps &caps, InfoLog &infoL mUniforms.insert(mUniforms.end(), samplerUniforms.begin(), samplerUniforms.end()); mUniforms.insert(mUniforms.end(), imageUniforms.begin(), imageUniforms.end()); mUniforms.insert(mUniforms.end(), atomicCounterUniforms.begin(), atomicCounterUniforms.end()); - mUniforms.insert(mUniforms.end(), inputAttachmentUniforms.begin(), - inputAttachmentUniforms.end()); mUnusedUniforms.insert(mUnusedUniforms.end(), unusedUniforms.begin(), unusedUniforms.end()); return true; } @@ -1190,16 +1050,12 @@ bool UniformLinker::checkMaxCombinedAtomicCounters(const Caps &caps, InfoLog &in } // InterfaceBlockLinker implementation. -InterfaceBlockLinker::InterfaceBlockLinker() = default; +InterfaceBlockLinker::InterfaceBlockLinker(std::vector *blocksOut, + std::vector *unusedInterfaceBlocksOut) + : mShaderBlocks({}), mBlocksOut(blocksOut), mUnusedInterfaceBlocksOut(unusedInterfaceBlocksOut) +{} -InterfaceBlockLinker::~InterfaceBlockLinker() = default; - -void InterfaceBlockLinker::init(std::vector *blocksOut, - std::vector *unusedInterfaceBlocksOut) -{ - mBlocksOut = blocksOut; - mUnusedInterfaceBlocksOut = unusedInterfaceBlocksOut; -} +InterfaceBlockLinker::~InterfaceBlockLinker() {} void InterfaceBlockLinker::addShaderBlocks(ShaderType shaderType, const std::vector *blocks) @@ -1324,18 +1180,14 @@ void InterfaceBlockLinker::defineInterfaceBlock(const GetBlockSizeFunc &getBlock } // UniformBlockLinker implementation. -UniformBlockLinker::UniformBlockLinker() = default; +UniformBlockLinker::UniformBlockLinker(std::vector *blocksOut, + std::vector *uniformsOut, + std::vector *unusedInterfaceBlocksOut) + : InterfaceBlockLinker(blocksOut, unusedInterfaceBlocksOut), mUniformsOut(uniformsOut) +{} UniformBlockLinker::~UniformBlockLinker() {} -void UniformBlockLinker::init(std::vector *blocksOut, - std::vector *uniformsOut, - std::vector *unusedInterfaceBlocksOut) -{ - InterfaceBlockLinker::init(blocksOut, unusedInterfaceBlocksOut); - mUniformsOut = uniformsOut; -} - size_t UniformBlockLinker::getCurrentBlockMemberIndex() const { return mUniformsOut->size(); @@ -1353,17 +1205,15 @@ sh::ShaderVariableVisitor *UniformBlockLinker::getVisitor( } // ShaderStorageBlockLinker implementation. -ShaderStorageBlockLinker::ShaderStorageBlockLinker() = default; +ShaderStorageBlockLinker::ShaderStorageBlockLinker( + std::vector *blocksOut, + std::vector *bufferVariablesOut, + std::vector *unusedInterfaceBlocksOut) + : InterfaceBlockLinker(blocksOut, unusedInterfaceBlocksOut), + mBufferVariablesOut(bufferVariablesOut) +{} -ShaderStorageBlockLinker::~ShaderStorageBlockLinker() = default; - -void ShaderStorageBlockLinker::init(std::vector *blocksOut, - std::vector *bufferVariablesOut, - std::vector *unusedInterfaceBlocksOut) -{ - InterfaceBlockLinker::init(blocksOut, unusedInterfaceBlocksOut); - mBufferVariablesOut = bufferVariablesOut; -} +ShaderStorageBlockLinker::~ShaderStorageBlockLinker() {} size_t ShaderStorageBlockLinker::getCurrentBlockMemberIndex() const { @@ -1382,14 +1232,12 @@ sh::ShaderVariableVisitor *ShaderStorageBlockLinker::getVisitor( } // AtomicCounterBufferLinker implementation. -AtomicCounterBufferLinker::AtomicCounterBufferLinker() = default; +AtomicCounterBufferLinker::AtomicCounterBufferLinker( + std::vector *atomicCounterBuffersOut) + : mAtomicCounterBuffersOut(atomicCounterBuffersOut) +{} -AtomicCounterBufferLinker::~AtomicCounterBufferLinker() = default; - -void AtomicCounterBufferLinker::init(std::vector *atomicCounterBuffersOut) -{ - mAtomicCounterBuffersOut = atomicCounterBuffersOut; -} +AtomicCounterBufferLinker::~AtomicCounterBufferLinker() {} void AtomicCounterBufferLinker::link(const std::map &sizeMap) const { @@ -1401,22 +1249,22 @@ void AtomicCounterBufferLinker::link(const std::map &sizeMap) } } -ProgramLinkedResources::ProgramLinkedResources() = default; +ProgramLinkedResources::ProgramLinkedResources( + GLuint maxVaryingVectors, + PackMode packMode, + std::vector *uniformBlocksOut, + std::vector *uniformsOut, + std::vector *shaderStorageBlocksOut, + std::vector *bufferVariablesOut, + std::vector *atomicCounterBuffersOut) + : varyingPacking(maxVaryingVectors, packMode), + uniformBlockLinker(uniformBlocksOut, uniformsOut, &unusedInterfaceBlocks), + shaderStorageBlockLinker(shaderStorageBlocksOut, bufferVariablesOut, &unusedInterfaceBlocks), + atomicCounterBufferLinker(atomicCounterBuffersOut) +{} ProgramLinkedResources::~ProgramLinkedResources() = default; -void ProgramLinkedResources::init(std::vector *uniformBlocksOut, - std::vector *uniformsOut, - std::vector *shaderStorageBlocksOut, - std::vector *bufferVariablesOut, - std::vector *atomicCounterBuffersOut) -{ - uniformBlockLinker.init(uniformBlocksOut, uniformsOut, &unusedInterfaceBlocks); - shaderStorageBlockLinker.init(shaderStorageBlocksOut, bufferVariablesOut, - &unusedInterfaceBlocks); - atomicCounterBufferLinker.init(atomicCounterBuffersOut); -} - void ProgramLinkedResourcesLinker::linkResources(const ProgramState &programState, const ProgramLinkedResources &resources) const { @@ -1445,7 +1293,7 @@ void ProgramLinkedResourcesLinker::linkResources(const ProgramState &programStat // Link uniform interface blocks. resources.uniformBlockLinker.linkBlocks(getUniformBlockSize, getUniformBlockMemberInfo); - // Gather storage buffer interface block info. + // Gather storage bufer interface block info. InterfaceBlockInfo shaderStorageBlockInfo(mCustomEncoderFactory); for (const ShaderType shaderType : AllShaderTypes()) { @@ -1501,422 +1349,4 @@ void ProgramLinkedResourcesLinker::getAtomicCounterBufferSizeMap( } } -// Note: this is broken for pipelines with modified/discarded shaders. http://anglebug.com/5506 -bool LinkValidateProgramGlobalNames(InfoLog &infoLog, const HasAttachedShaders &programOrPipeline) -{ - angle::HashMap uniformMap; - using BlockAndFieldPair = std::pair; - angle::HashMap> uniformBlockFieldMap; - - for (ShaderType shaderType : kAllGraphicsShaderTypes) - { - Shader *shader = programOrPipeline.getAttachedShader(shaderType); - if (!shader) - { - continue; - } - - // Build a map of Uniforms - const std::vector uniforms = shader->getUniforms(); - for (const auto &uniform : uniforms) - { - uniformMap[uniform.name] = &uniform; - } - - // Build a map of Uniform Blocks - // This will also detect any field name conflicts between Uniform Blocks without instance - // names - const std::vector &uniformBlocks = shader->getUniformBlocks(); - for (const auto &uniformBlock : uniformBlocks) - { - // Only uniform blocks without an instance name can create a conflict with their field - // names - if (!uniformBlock.instanceName.empty()) - { - continue; - } - - for (const auto &field : uniformBlock.fields) - { - if (!uniformBlockFieldMap.count(field.name)) - { - // First time we've seen this uniform block field name, so add the - // (Uniform Block, Field) pair immediately since there can't be a conflict yet - BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); - std::vector newUniformBlockList; - newUniformBlockList.push_back(blockAndFieldPair); - uniformBlockFieldMap[field.name] = newUniformBlockList; - continue; - } - - // We've seen this name before. - // We need to check each of the uniform blocks that contain a field with this name - // to see if there's a conflict or not. - std::vector prevBlockFieldPairs = - uniformBlockFieldMap[field.name]; - for (const auto &prevBlockFieldPair : prevBlockFieldPairs) - { - const sh::InterfaceBlock *prevUniformBlock = prevBlockFieldPair.first; - const sh::ShaderVariable *prevUniformBlockField = prevBlockFieldPair.second; - - if (uniformBlock.isSameInterfaceBlockAtLinkTime(*prevUniformBlock)) - { - // The same uniform block should, by definition, contain the same field name - continue; - } - - // The uniform blocks don't match, so check if the necessary field properties - // also match - if ((field.name == prevUniformBlockField->name) && - (field.type == prevUniformBlockField->type) && - (field.precision == prevUniformBlockField->precision)) - { - infoLog << "Name conflicts between uniform block field names: " - << field.name; - return false; - } - } - - // No conflict, so record this pair - BlockAndFieldPair blockAndFieldPair(&uniformBlock, &field); - uniformBlockFieldMap[field.name].push_back(blockAndFieldPair); - } - } - } - - // Validate no uniform names conflict with attribute names - Shader *vertexShader = programOrPipeline.getAttachedShader(ShaderType::Vertex); - if (vertexShader) - { - // ESSL 3.00.6 section 4.3.5: - // If a uniform variable name is declared in one stage (e.g., a vertex shader) - // but not in another (e.g., a fragment shader), then that name is still - // available in the other stage for a different use. - std::unordered_set uniforms; - for (const sh::ShaderVariable &uniform : vertexShader->getUniforms()) - { - uniforms.insert(uniform.name); - } - for (const auto &attrib : vertexShader->getActiveAttributes()) - { - if (uniforms.count(attrib.name)) - { - infoLog << "Name conflicts between a uniform and an attribute: " << attrib.name; - return false; - } - } - } - - // Validate no Uniform Block fields conflict with other Uniforms - for (const auto &uniformBlockField : uniformBlockFieldMap) - { - const std::string &fieldName = uniformBlockField.first; - if (uniformMap.count(fieldName)) - { - infoLog << "Name conflicts between a uniform and a uniform block field: " << fieldName; - return false; - } - } - - return true; -} - -// [OpenGL ES 3.2] Chapter 7.4.1 "Shader Interface Matching" -bool LinkValidateShaderInterfaceMatching(const std::vector &outputVaryings, - const std::vector &inputVaryings, - ShaderType frontShaderType, - ShaderType backShaderType, - int frontShaderVersion, - int backShaderVersion, - bool isSeparable, - gl::InfoLog &infoLog) -{ - ASSERT(frontShaderVersion == backShaderVersion); - - std::vector filteredInputVaryings; - std::vector filteredOutputVaryings; - - GetFilteredVaryings(inputVaryings, &filteredInputVaryings); - GetFilteredVaryings(outputVaryings, &filteredOutputVaryings); - - // Separable programs require the number of inputs and outputs match - if (isSeparable && filteredInputVaryings.size() < filteredOutputVaryings.size()) - { - infoLog << GetShaderTypeString(backShaderType) - << " does not consume all varyings generated by " - << GetShaderTypeString(frontShaderType); - return false; - } - if (isSeparable && filteredInputVaryings.size() > filteredOutputVaryings.size()) - { - infoLog << GetShaderTypeString(frontShaderType) - << " does not generate all varyings consumed by " - << GetShaderTypeString(backShaderType); - return false; - } - - // All inputs must match all outputs - for (const sh::ShaderVariable *input : filteredInputVaryings) - { - bool match = false; - for (const sh::ShaderVariable *output : filteredOutputVaryings) - { - if (DoShaderVariablesMatch(frontShaderVersion, frontShaderType, backShaderType, *input, - *output, isSeparable, infoLog)) - { - match = true; - break; - } - } - - // We permit unmatched, unreferenced varyings. Note that this specifically depends on - // whether the input is statically used - a statically used input should fail this test even - // if it is not active. GLSL ES 3.00.6 section 4.3.10. - if (!match && input->staticUse) - { - const std::string &name = - input->isShaderIOBlock ? input->structOrBlockName : input->name; - infoLog << GetShaderTypeString(backShaderType) << " varying " << name - << " does not match any " << GetShaderTypeString(frontShaderType) << " varying"; - return false; - } - } - - return true; -} - -LinkMismatchError LinkValidateProgramVariables(const sh::ShaderVariable &variable1, - const sh::ShaderVariable &variable2, - bool validatePrecision, - bool treatVariable1AsNonArray, - bool treatVariable2AsNonArray, - std::string *mismatchedStructOrBlockMemberName) -{ - if (variable1.type != variable2.type) - { - return LinkMismatchError::TYPE_MISMATCH; - } - - bool variable1IsArray = variable1.isArray(); - bool variable2IsArray = variable2.isArray(); - if (treatVariable1AsNonArray) - { - ASSERT(variable1IsArray); - variable1IsArray = false; - } - if (treatVariable2AsNonArray) - { - ASSERT(variable2IsArray); - variable2IsArray = false; - } - // TODO(anglebug.com/5557): Investigate interactions with arrays-of-arrays. - if (variable1IsArray != variable2IsArray) - { - return LinkMismatchError::ARRAYNESS_MISMATCH; - } - if (!treatVariable1AsNonArray && !treatVariable2AsNonArray && - variable1.arraySizes != variable2.arraySizes) - { - return LinkMismatchError::ARRAY_SIZE_MISMATCH; - } - if (validatePrecision && variable1.precision != variable2.precision) - { - return LinkMismatchError::PRECISION_MISMATCH; - } - if (!variable1.isShaderIOBlock && !variable2.isShaderIOBlock && - variable1.structOrBlockName != variable2.structOrBlockName) - { - return LinkMismatchError::STRUCT_NAME_MISMATCH; - } - if (variable1.imageUnitFormat != variable2.imageUnitFormat) - { - return LinkMismatchError::FORMAT_MISMATCH; - } - - if (variable1.fields.size() != variable2.fields.size()) - { - return LinkMismatchError::FIELD_NUMBER_MISMATCH; - } - const unsigned int numMembers = static_cast(variable1.fields.size()); - for (unsigned int memberIndex = 0; memberIndex < numMembers; memberIndex++) - { - const sh::ShaderVariable &member1 = variable1.fields[memberIndex]; - const sh::ShaderVariable &member2 = variable2.fields[memberIndex]; - - if (member1.name != member2.name) - { - return LinkMismatchError::FIELD_NAME_MISMATCH; - } - - if (member1.interpolation != member2.interpolation) - { - return LinkMismatchError::INTERPOLATION_TYPE_MISMATCH; - } - - if (variable1.isShaderIOBlock && variable2.isShaderIOBlock) - { - if (member1.location != member2.location) - { - return LinkMismatchError::FIELD_LOCATION_MISMATCH; - } - - if (member1.structOrBlockName != member2.structOrBlockName) - { - return LinkMismatchError::FIELD_STRUCT_NAME_MISMATCH; - } - } - - LinkMismatchError linkErrorOnField = LinkValidateProgramVariables( - member1, member2, validatePrecision, false, false, mismatchedStructOrBlockMemberName); - if (linkErrorOnField != LinkMismatchError::NO_MISMATCH) - { - AddProgramVariableParentPrefix(member1.name, mismatchedStructOrBlockMemberName); - return linkErrorOnField; - } - } - - return LinkMismatchError::NO_MISMATCH; -} - -void AddProgramVariableParentPrefix(const std::string &parentName, std::string *mismatchedFieldName) -{ - ASSERT(mismatchedFieldName); - if (mismatchedFieldName->empty()) - { - *mismatchedFieldName = parentName; - } - else - { - std::ostringstream stream; - stream << parentName << "." << *mismatchedFieldName; - *mismatchedFieldName = stream.str(); - } -} - -bool LinkValidateBuiltInVaryingsInvariant(const std::vector &vertexVaryings, - const std::vector &fragmentVaryings, - int vertexShaderVersion, - InfoLog &infoLog) -{ - bool glPositionIsInvariant = false; - bool glPointSizeIsInvariant = false; - bool glFragCoordIsInvariant = false; - bool glPointCoordIsInvariant = false; - - for (const sh::ShaderVariable &varying : vertexVaryings) - { - if (!varying.isBuiltIn()) - { - continue; - } - if (varying.name.compare("gl_Position") == 0) - { - glPositionIsInvariant = varying.isInvariant; - } - else if (varying.name.compare("gl_PointSize") == 0) - { - glPointSizeIsInvariant = varying.isInvariant; - } - } - - for (const sh::ShaderVariable &varying : fragmentVaryings) - { - if (!varying.isBuiltIn()) - { - continue; - } - if (varying.name.compare("gl_FragCoord") == 0) - { - glFragCoordIsInvariant = varying.isInvariant; - } - else if (varying.name.compare("gl_PointCoord") == 0) - { - glPointCoordIsInvariant = varying.isInvariant; - } - } - - // There is some ambiguity in ESSL 1.00.17 paragraph 4.6.4 interpretation, - // for example, https://cvs.khronos.org/bugzilla/show_bug.cgi?id=13842. - // Not requiring invariance to match is supported by: - // dEQP, WebGL CTS, Nexus 5X GLES - if (glFragCoordIsInvariant && !glPositionIsInvariant) - { - infoLog << "gl_FragCoord can only be declared invariant if and only if gl_Position is " - "declared invariant."; - return false; - } - if (glPointCoordIsInvariant && !glPointSizeIsInvariant) - { - infoLog << "gl_PointCoord can only be declared invariant if and only if gl_PointSize is " - "declared invariant."; - return false; - } - - return true; -} - -bool LinkValidateBuiltInVaryings(const std::vector &outputVaryings, - const std::vector &inputVaryings, - ShaderType outputShaderType, - ShaderType inputShaderType, - int outputShaderVersion, - int inputShaderVersion, - InfoLog &infoLog) -{ - ASSERT(outputShaderVersion == inputShaderVersion); - - // Only ESSL 1.0 has restrictions on matching input and output invariance - if (inputShaderVersion == 100 && outputShaderType == ShaderType::Vertex && - inputShaderType == ShaderType::Fragment) - { - return LinkValidateBuiltInVaryingsInvariant(outputVaryings, inputVaryings, - outputShaderVersion, infoLog); - } - - uint32_t sizeClipDistance = 0; - uint32_t sizeCullDistance = 0; - - for (const sh::ShaderVariable &varying : outputVaryings) - { - if (!varying.isBuiltIn()) - { - continue; - } - if (varying.name.compare("gl_ClipDistance") == 0) - { - sizeClipDistance = varying.getOutermostArraySize(); - } - else if (varying.name.compare("gl_CullDistance") == 0) - { - sizeCullDistance = varying.getOutermostArraySize(); - } - } - - for (const sh::ShaderVariable &varying : inputVaryings) - { - if (!varying.isBuiltIn()) - { - continue; - } - if (varying.name.compare("gl_ClipDistance") == 0) - { - if (sizeClipDistance != varying.getOutermostArraySize()) - { - infoLog << "If either shader redeclares the built-in arrays gl_ClipDistance[] the " - "array must have the same size in both shaders."; - return false; - } - } - else if (varying.name.compare("gl_CullDistance") == 0) - { - if (sizeCullDistance != varying.getOutermostArraySize()) - { - infoLog << "If either shader redeclares the built-in arrays gl_CullDistance[] the " - "array must have the same size in both shaders."; - return false; - } - } - } - return true; -} } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.h b/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.h index e51e50410fbb..ac881c4c63a4 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.h +++ b/gfx/angle/checkout/src/libANGLE/ProgramLinkedResources.h @@ -70,7 +70,6 @@ class UniformLinker final : angle::NonCopyable std::vector &samplerUniforms, std::vector &imageUniforms, std::vector &atomicCounterUniforms, - std::vector &inputAttachmentUniforms, std::vector &unusedUniforms, InfoLog &infoLog); @@ -113,9 +112,8 @@ class InterfaceBlockLinker : angle::NonCopyable const GetBlockMemberInfoFunc &getMemberInfo) const; protected: - InterfaceBlockLinker(); - void init(std::vector *blocksOut, - std::vector *unusedInterfaceBlocksOut); + InterfaceBlockLinker(std::vector *blocksOut, + std::vector *unusedInterfaceBlocksOut); void defineInterfaceBlock(const GetBlockSizeFunc &getBlockSize, const GetBlockMemberInfoFunc &getMemberInfo, const sh::InterfaceBlock &interfaceBlock, @@ -123,28 +121,26 @@ class InterfaceBlockLinker : angle::NonCopyable virtual size_t getCurrentBlockMemberIndex() const = 0; + ShaderMap *> mShaderBlocks; + + std::vector *mBlocksOut; + std::vector *mUnusedInterfaceBlocksOut; + virtual sh::ShaderVariableVisitor *getVisitor(const GetBlockMemberInfoFunc &getMemberInfo, const std::string &namePrefix, const std::string &mappedNamePrefix, ShaderType shaderType, int blockIndex) const = 0; - - ShaderMap *> mShaderBlocks = {}; - - std::vector *mBlocksOut = nullptr; - std::vector *mUnusedInterfaceBlocksOut = nullptr; }; class UniformBlockLinker final : public InterfaceBlockLinker { public: - UniformBlockLinker(); + UniformBlockLinker(std::vector *blocksOut, + std::vector *uniformsOut, + std::vector *unusedInterfaceBlocksOut); ~UniformBlockLinker() override; - void init(std::vector *blocksOut, - std::vector *uniformsOut, - std::vector *unusedInterfaceBlocksOut); - private: size_t getCurrentBlockMemberIndex() const override; @@ -154,19 +150,17 @@ class UniformBlockLinker final : public InterfaceBlockLinker ShaderType shaderType, int blockIndex) const override; - std::vector *mUniformsOut = nullptr; + std::vector *mUniformsOut; }; class ShaderStorageBlockLinker final : public InterfaceBlockLinker { public: - ShaderStorageBlockLinker(); + ShaderStorageBlockLinker(std::vector *blocksOut, + std::vector *bufferVariablesOut, + std::vector *unusedInterfaceBlocksOut); ~ShaderStorageBlockLinker() override; - void init(std::vector *blocksOut, - std::vector *bufferVariablesOut, - std::vector *unusedInterfaceBlocksOut); - private: size_t getCurrentBlockMemberIndex() const override; @@ -176,20 +170,19 @@ class ShaderStorageBlockLinker final : public InterfaceBlockLinker ShaderType shaderType, int blockIndex) const override; - std::vector *mBufferVariablesOut = nullptr; + std::vector *mBufferVariablesOut; }; class AtomicCounterBufferLinker final : angle::NonCopyable { public: - AtomicCounterBufferLinker(); + AtomicCounterBufferLinker(std::vector *atomicCounterBuffersOut); ~AtomicCounterBufferLinker(); - void init(std::vector *atomicCounterBuffersOut); void link(const std::map &sizeMap) const; private: - std::vector *mAtomicCounterBuffersOut = nullptr; + std::vector *mAtomicCounterBuffersOut; }; // The link operation is responsible for finishing the link of uniform and interface blocks. @@ -197,38 +190,32 @@ class AtomicCounterBufferLinker final : angle::NonCopyable // TODO(jmadill): Integrate uniform linking/filtering as well as interface blocks. struct UnusedUniform { - UnusedUniform(std::string name, - bool isSampler, - bool isImage, - bool isAtomicCounter, - bool isFragmentInOut) + UnusedUniform(std::string name, bool isSampler, bool isImage, bool isAtomicCounter) { this->name = name; this->isSampler = isSampler; this->isImage = isImage; this->isAtomicCounter = isAtomicCounter; - this->isFragmentInOut = isFragmentInOut; } std::string name; bool isSampler; bool isImage; bool isAtomicCounter; - bool isFragmentInOut; }; struct ProgramLinkedResources { - ProgramLinkedResources(); + ProgramLinkedResources(GLuint maxVaryingVectors, + PackMode packMode, + std::vector *uniformBlocksOut, + std::vector *uniformsOut, + std::vector *shaderStorageBlocksOut, + std::vector *bufferVariablesOut, + std::vector *atomicCounterBuffersOut); ~ProgramLinkedResources(); - void init(std::vector *uniformBlocksOut, - std::vector *uniformsOut, - std::vector *shaderStorageBlocksOut, - std::vector *bufferVariablesOut, - std::vector *atomicCounterBuffersOut); - - ProgramVaryingPacking varyingPacking; + VaryingPacking varyingPacking; UniformBlockLinker uniformBlockLinker; ShaderStorageBlockLinker shaderStorageBlockLinker; AtomicCounterBufferLinker atomicCounterBufferLinker; @@ -263,34 +250,6 @@ class ProgramLinkedResourcesLinker final : angle::NonCopyable CustomBlockLayoutEncoderFactory *mCustomEncoderFactory; }; -bool LinkValidateProgramGlobalNames(InfoLog &infoLog, const HasAttachedShaders &programOrPipeline); -bool LinkValidateShaderInterfaceMatching(const std::vector &outputVaryings, - const std::vector &inputVaryings, - ShaderType frontShaderType, - ShaderType backShaderType, - int frontShaderVersion, - int backShaderVersion, - bool isSeparable, - InfoLog &infoLog); -bool LinkValidateBuiltInVaryingsInvariant(const std::vector &vertexVaryings, - const std::vector &fragmentVaryings, - int vertexShaderVersion, - InfoLog &infoLog); -bool LinkValidateBuiltInVaryings(const std::vector &inputVaryings, - const std::vector &outputVaryings, - ShaderType inputShaderType, - ShaderType outputShaderType, - int inputShaderVersion, - int outputShaderVersion, - InfoLog &infoLog); -LinkMismatchError LinkValidateProgramVariables(const sh::ShaderVariable &variable1, - const sh::ShaderVariable &variable2, - bool validatePrecision, - bool treatVariable1AsNonArray, - bool treatVariable2AsNonArray, - std::string *mismatchedStructOrBlockMemberName); -void AddProgramVariableParentPrefix(const std::string &parentName, - std::string *mismatchedFieldName); } // namespace gl #endif // LIBANGLE_UNIFORMLINKER_H_ diff --git a/gfx/angle/checkout/src/libANGLE/ProgramPipeline.cpp b/gfx/angle/checkout/src/libANGLE/ProgramPipeline.cpp index 5fe22e93788b..55a92c4e52ca 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramPipeline.cpp +++ b/gfx/angle/checkout/src/libANGLE/ProgramPipeline.cpp @@ -92,16 +92,41 @@ void ProgramPipelineState::useProgramStages( Program *shaderProgram, std::vector *programObserverBindings) { - for (size_t singleShaderBit : angle::BitSet16<16>(static_cast(stages))) + if (stages == GL_ALL_SHADER_BITS) { - // Cast back to a bit after the iterator returns an index. - ShaderType shaderType = GetShaderTypeFromBitfield(angle::Bit(singleShaderBit)); - if (shaderType == ShaderType::InvalidEnum) + for (const ShaderType shaderType : gl::AllShaderTypes()) { - break; + size_t index = static_cast(shaderType); + ASSERT(index < programObserverBindings->size()); + useProgramStage(context, shaderType, shaderProgram, + &programObserverBindings->at(index)); + } + } + else + { + if (stages & GL_VERTEX_SHADER_BIT) + { + size_t index = static_cast(ShaderType::Vertex); + ASSERT(index < programObserverBindings->size()); + useProgramStage(context, ShaderType::Vertex, shaderProgram, + &programObserverBindings->at(index)); + } + + if (stages & GL_FRAGMENT_SHADER_BIT) + { + size_t index = static_cast(ShaderType::Fragment); + ASSERT(index < programObserverBindings->size()); + useProgramStage(context, ShaderType::Fragment, shaderProgram, + &programObserverBindings->at(index)); + } + + if (stages & GL_COMPUTE_SHADER_BIT) + { + size_t index = static_cast(ShaderType::Compute); + ASSERT(index < programObserverBindings->size()); + useProgramStage(context, ShaderType::Compute, shaderProgram, + &programObserverBindings->at(index)); } - useProgramStage(context, shaderType, shaderProgram, - &programObserverBindings->at(static_cast(shaderType))); } } @@ -131,18 +156,6 @@ void ProgramPipelineState::updateExecutableTextures() } } -rx::SpecConstUsageBits ProgramPipelineState::getSpecConstUsageBits() const -{ - rx::SpecConstUsageBits specConstUsageBits; - for (const ShaderType shaderType : mExecutable->getLinkedShaderStages()) - { - const Program *program = getShaderProgram(shaderType); - ASSERT(program); - specConstUsageBits |= program->getState().getSpecConstUsageBits(); - } - return specConstUsageBits; -} - ProgramPipeline::ProgramPipeline(rx::GLImplFactory *factory, ProgramPipelineID handle) : RefCountObject(factory->generateSerial(), handle), mProgramPipelineImpl(factory->createProgramPipeline(mState)), @@ -241,21 +254,17 @@ void ProgramPipeline::updateExecutableAttributes() void ProgramPipeline::updateTransformFeedbackMembers() { - ShaderType lastVertexProcessingStage = - gl::GetLastPreFragmentStage(getExecutable().getLinkedShaderStages()); - if (lastVertexProcessingStage == ShaderType::InvalidEnum) + Program *vertexProgram = getShaderProgram(gl::ShaderType::Vertex); + + if (!vertexProgram) { return; } - Program *shaderProgram = getShaderProgram(lastVertexProcessingStage); - ASSERT(shaderProgram); - - const ProgramExecutable &lastPreFragmentExecutable = shaderProgram->getExecutable(); - mState.mExecutable->mTransformFeedbackStrides = - lastPreFragmentExecutable.mTransformFeedbackStrides; + const ProgramExecutable &vertexExecutable = vertexProgram->getExecutable(); + mState.mExecutable->mTransformFeedbackStrides = vertexExecutable.mTransformFeedbackStrides; mState.mExecutable->mLinkedTransformFeedbackVaryings = - lastPreFragmentExecutable.mLinkedTransformFeedbackVaryings; + vertexExecutable.mLinkedTransformFeedbackVaryings; } void ProgramPipeline::updateShaderStorageBlocks() @@ -297,7 +306,6 @@ void ProgramPipeline::updateImageBindings() { mState.mExecutable->mComputeImageBindings.clear(); mState.mExecutable->mGraphicsImageBindings.clear(); - mState.mExecutable->mActiveImageShaderBits.fill({}); // Only copy the storage blocks from each Program in the PPO once, since each Program could // contain multiple shader stages. @@ -315,8 +323,6 @@ void ProgramPipeline::updateImageBindings() { mState.mExecutable->mGraphicsImageBindings.emplace_back(imageBinding); } - - mState.mExecutable->updateActiveImages(shaderProgram->getExecutable()); } } @@ -327,90 +333,6 @@ void ProgramPipeline::updateImageBindings() { mState.mExecutable->mComputeImageBindings.emplace_back(imageBinding); } - - mState.mExecutable->setIsCompute(true); - mState.mExecutable->updateActiveImages(computeProgram->getExecutable()); - mState.mExecutable->setIsCompute(false); - } -} - -void ProgramPipeline::updateExecutableGeometryProperties() -{ - Program *geometryProgram = getShaderProgram(gl::ShaderType::Geometry); - - if (!geometryProgram) - { - return; - } - - const ProgramExecutable &geometryExecutable = geometryProgram->getExecutable(); - mState.mExecutable->mGeometryShaderInputPrimitiveType = - geometryExecutable.mGeometryShaderInputPrimitiveType; - mState.mExecutable->mGeometryShaderOutputPrimitiveType = - geometryExecutable.mGeometryShaderOutputPrimitiveType; - mState.mExecutable->mGeometryShaderInvocations = geometryExecutable.mGeometryShaderInvocations; - mState.mExecutable->mGeometryShaderMaxVertices = geometryExecutable.mGeometryShaderMaxVertices; -} - -void ProgramPipeline::updateExecutableTessellationProperties() -{ - Program *tessControlProgram = getShaderProgram(gl::ShaderType::TessControl); - Program *tessEvalProgram = getShaderProgram(gl::ShaderType::TessEvaluation); - - if (tessControlProgram) - { - const ProgramExecutable &tessControlExecutable = tessControlProgram->getExecutable(); - mState.mExecutable->mTessControlShaderVertices = - tessControlExecutable.mTessControlShaderVertices; - } - - if (tessEvalProgram) - { - const ProgramExecutable &tessEvalExecutable = tessEvalProgram->getExecutable(); - mState.mExecutable->mTessGenMode = tessEvalExecutable.mTessGenMode; - mState.mExecutable->mTessGenSpacing = tessEvalExecutable.mTessGenSpacing; - mState.mExecutable->mTessGenVertexOrder = tessEvalExecutable.mTessGenVertexOrder; - mState.mExecutable->mTessGenPointMode = tessEvalExecutable.mTessGenPointMode; - } -} - -void ProgramPipeline::updateFragmentInoutRange() -{ - Program *fragmentProgram = getShaderProgram(gl::ShaderType::Fragment); - - if (!fragmentProgram) - { - return; - } - - const ProgramExecutable &fragmentExecutable = fragmentProgram->getExecutable(); - mState.mExecutable->mFragmentInoutRange = fragmentExecutable.mFragmentInoutRange; -} - -void ProgramPipeline::updateLinkedVaryings() -{ - // Need to check all of the shader stages, not just linked, so we handle Compute correctly. - for (const gl::ShaderType shaderType : kAllGraphicsShaderTypes) - { - const Program *shaderProgram = getShaderProgram(shaderType); - if (shaderProgram && shaderProgram->isLinked()) - { - const ProgramExecutable &executable = shaderProgram->getExecutable(); - mState.mExecutable->mLinkedOutputVaryings[shaderType] = - executable.getLinkedOutputVaryings(shaderType); - mState.mExecutable->mLinkedInputVaryings[shaderType] = - executable.getLinkedInputVaryings(shaderType); - } - } - - const Program *computeProgram = getShaderProgram(ShaderType::Compute); - if (computeProgram && computeProgram->isLinked()) - { - const ProgramExecutable &executable = computeProgram->getExecutable(); - mState.mExecutable->mLinkedOutputVaryings[ShaderType::Compute] = - executable.getLinkedOutputVaryings(ShaderType::Compute); - mState.mExecutable->mLinkedInputVaryings[ShaderType::Compute] = - executable.getLinkedInputVaryings(ShaderType::Compute); } } @@ -493,23 +415,130 @@ void ProgramPipeline::updateExecutable() updateShaderStorageBlocks(); updateImageBindings(); - // Geometry Shader ProgramExecutable properties - updateExecutableGeometryProperties(); - - // Tessellation Shaders ProgramExecutable properties - updateExecutableTessellationProperties(); - - // Fragment Shader ProgramExecutable properties - updateFragmentInoutRange(); - // All Shader ProgramExecutable properties mState.updateExecutableTextures(); - updateLinkedVaryings(); // Must be last, since it queries things updated by earlier functions updateHasBooleans(); } +ProgramMergedVaryings ProgramPipeline::getMergedVaryings() const +{ + ASSERT(!mState.mExecutable->isCompute()); + + // Varyings are matched between pairs of consecutive stages, by location if assigned or + // by name otherwise. Note that it's possible for one stage to specify location and the other + // not: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16261 + + // Map stages to the previous active stage in the rendering pipeline. When looking at input + // varyings of a stage, this is used to find the stage whose output varyings are being linked + // with them. + ShaderMap previousActiveStage; + + // Note that kAllGraphicsShaderTypes is sorted according to the rendering pipeline. + ShaderType lastActiveStage = ShaderType::InvalidEnum; + for (ShaderType shaderType : getExecutable().getLinkedShaderStages()) + { + previousActiveStage[shaderType] = lastActiveStage; + + const Program *program = getShaderProgram(shaderType); + ASSERT(program); + lastActiveStage = shaderType; + } + + // First, go through output varyings and create two maps (one by name, one by location) for + // faster lookup when matching input varyings. + + ShaderMap> outputVaryingNameToIndexShaderMap; + ShaderMap> outputVaryingLocationToIndexShaderMap; + + ProgramMergedVaryings merged; + + // Gather output varyings. + for (ShaderType shaderType : getExecutable().getLinkedShaderStages()) + { + const Program *program = getShaderProgram(shaderType); + ASSERT(program); + Shader *shader = program->getState().getAttachedShader(shaderType); + ASSERT(shader); + + for (const sh::ShaderVariable &varying : shader->getOutputVaryings()) + { + merged.push_back({}); + ProgramVaryingRef *ref = &merged.back(); + + ref->frontShader = &varying; + ref->frontShaderStage = shaderType; + + // Always map by name. Even if location is provided in this stage, it may not be in the + // paired stage. + outputVaryingNameToIndexShaderMap[shaderType][varying.name] = merged.size() - 1; + + // If location is provided, also keep it in a map by location. + if (varying.location != -1) + { + outputVaryingLocationToIndexShaderMap[shaderType][varying.location] = + merged.size() - 1; + } + } + } + + // Gather input varyings, and match them with output varyings of the previous stage. + for (ShaderType shaderType : getExecutable().getLinkedShaderStages()) + { + const Program *program = getShaderProgram(shaderType); + ASSERT(program); + Shader *shader = program->getState().getAttachedShader(shaderType); + ASSERT(shader); + ShaderType previousStage = previousActiveStage[shaderType]; + + for (const sh::ShaderVariable &varying : shader->getInputVaryings()) + { + size_t mergedIndex = merged.size(); + if (previousStage != ShaderType::InvalidEnum) + { + // If location is provided, see if we can match by location. + if (varying.location != -1) + { + std::map outputVaryingLocationToIndex = + outputVaryingLocationToIndexShaderMap[previousStage]; + auto byLocationIter = outputVaryingLocationToIndex.find(varying.location); + if (byLocationIter != outputVaryingLocationToIndex.end()) + { + mergedIndex = byLocationIter->second; + } + } + + // If not found, try to match by name. + if (mergedIndex == merged.size()) + { + std::map outputVaryingNameToIndex = + outputVaryingNameToIndexShaderMap[previousStage]; + auto byNameIter = outputVaryingNameToIndex.find(varying.name); + if (byNameIter != outputVaryingNameToIndex.end()) + { + mergedIndex = byNameIter->second; + } + } + } + + // If no previous stage, or not matched by location or name, create a new entry for it. + if (mergedIndex == merged.size()) + { + merged.push_back({}); + mergedIndex = merged.size() - 1; + } + + ProgramVaryingRef *ref = &merged[mergedIndex]; + + ref->backShader = &varying; + ref->backShaderStage = shaderType; + } + } + + return merged; +} + // The attached shaders are checked for linking errors by matching up their variables. // Uniform, input and output variables get collected. // The code gets compiled into binaries. @@ -521,53 +550,54 @@ angle::Result ProgramPipeline::link(const Context *context) } ProgramMergedVaryings mergedVaryings; - ProgramVaryingPacking varyingPacking; if (!getExecutable().isCompute()) { InfoLog &infoLog = mState.mExecutable->getInfoLog(); infoLog.reset(); + const State &state = context->getState(); + + // Map the varyings to the register file + gl::PackMode packMode = PackMode::ANGLE_RELAXED; + if (state.getLimitations().noFlexibleVaryingPacking) + { + // D3D9 pack mode is strictly more strict than WebGL, so takes priority. + packMode = PackMode::ANGLE_NON_CONFORMANT_D3D9; + } + else if (state.getExtensions().webglCompatibility) + { + // In WebGL, we use a slightly different handling for packing variables. + packMode = PackMode::WEBGL_STRICT; + } if (!linkVaryings(infoLog)) { return angle::Result::Stop; } - if (!LinkValidateProgramGlobalNames(infoLog, *this)) + gl::ShaderMap programStates; + fillProgramStateMap(&programStates); + if (!mState.mExecutable->linkValidateGlobalNames(infoLog, programStates)) { return angle::Result::Stop; } - mergedVaryings = GetMergedVaryingsFromShaders(*this, getExecutable()); - // If separable program objects are in use, the set of attributes captured is taken - // from the program object active on the last vertex processing stage. - ShaderType lastVertexProcessingStage = - gl::GetLastPreFragmentStage(getExecutable().getLinkedShaderStages()); - if (lastVertexProcessingStage == ShaderType::InvalidEnum) + GLuint maxVaryingVectors = + static_cast(context->getState().getCaps().maxVaryingVectors); + VaryingPacking varyingPacking(maxVaryingVectors, packMode); + + mergedVaryings = getMergedVaryings(); + for (ShaderType shaderType : getExecutable().getLinkedShaderStages()) { - return angle::Result::Stop; - } - - Program *tfProgram = getShaderProgram(lastVertexProcessingStage); - ASSERT(tfProgram); - - if (!tfProgram) - { - tfProgram = mState.mPrograms[ShaderType::Vertex]; - } - - const std::vector &transformFeedbackVaryingNames = - tfProgram->getState().getTransformFeedbackVaryingNames(); - - if (!mState.mExecutable->linkMergedVaryings(context, *this, mergedVaryings, - transformFeedbackVaryingNames, false, - &varyingPacking)) - { - return angle::Result::Stop; + Program *program = mState.mPrograms[shaderType]; + ASSERT(program); + program->getExecutable().getResources().varyingPacking.reset(); + ANGLE_TRY( + program->linkMergedVaryings(context, program->getExecutable(), mergedVaryings)); } } - ANGLE_TRY(getImplementation()->link(context, mergedVaryings, varyingPacking)); + ANGLE_TRY(getImplementation()->link(context, mergedVaryings)); mState.mIsLinked = true; @@ -587,9 +617,9 @@ bool ProgramPipeline::linkVaryings(InfoLog &infoLog) const { Program *previousProgram = getShaderProgram(previousShaderType); ASSERT(previousProgram); - const ProgramExecutable &previousExecutable = previousProgram->getExecutable(); + ProgramExecutable &previousExecutable = previousProgram->getExecutable(); - if (!LinkValidateShaderInterfaceMatching( + if (!Program::linkValidateShaderInterfaceMatching( previousExecutable.getLinkedOutputVaryings(previousShaderType), executable.getLinkedInputVaryings(shaderType), previousShaderType, shaderType, previousExecutable.getLinkedShaderVersion(previousShaderType), @@ -601,10 +631,6 @@ bool ProgramPipeline::linkVaryings(InfoLog &infoLog) const previousShaderType = shaderType; } - // TODO: http://anglebug.com/3571 and http://anglebug.com/3572 - // Need to move logic of validating builtin varyings inside the for-loop above. - // This is because the built-in symbols `gl_ClipDistance` and `gl_CullDistance` - // can be redeclared in Geometry or Tessellation shaders as well. Program *vertexProgram = mState.mPrograms[ShaderType::Vertex]; Program *fragmentProgram = mState.mPrograms[ShaderType::Fragment]; if (!vertexProgram || !fragmentProgram) @@ -613,11 +639,10 @@ bool ProgramPipeline::linkVaryings(InfoLog &infoLog) const } ProgramExecutable &vertexExecutable = vertexProgram->getExecutable(); ProgramExecutable &fragmentExecutable = fragmentProgram->getExecutable(); - return LinkValidateBuiltInVaryings( + return Program::linkValidateBuiltInVaryings( vertexExecutable.getLinkedOutputVaryings(ShaderType::Vertex), - fragmentExecutable.getLinkedInputVaryings(ShaderType::Fragment), ShaderType::Vertex, - ShaderType::Fragment, vertexExecutable.getLinkedShaderVersion(ShaderType::Vertex), - fragmentExecutable.getLinkedShaderVersion(ShaderType::Fragment), infoLog); + fragmentExecutable.getLinkedInputVaryings(ShaderType::Fragment), + vertexExecutable.getLinkedShaderVersion(ShaderType::Vertex), infoLog); } void ProgramPipeline::validate(const gl::Context *context) @@ -669,31 +694,46 @@ void ProgramPipeline::validate(const gl::Context *context) } } +bool ProgramPipeline::validateSamplers(InfoLog *infoLog, const Caps &caps) +{ + for (const ShaderType shaderType : gl::AllShaderTypes()) + { + Program *shaderProgram = mState.mPrograms[shaderType]; + if (shaderProgram && !shaderProgram->validateSamplers(infoLog, caps)) + { + return false; + } + } + + return true; +} + void ProgramPipeline::onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) { switch (message) { - case angle::SubjectMessage::ProgramTextureOrImageBindingChanged: + case angle::SubjectMessage::SubjectChanged: mState.mIsLinked = false; - mState.mExecutable->mActiveSamplerRefCounts.fill(0); mState.updateExecutableTextures(); break; - case angle::SubjectMessage::ProgramRelinked: - mState.mIsLinked = false; - updateExecutable(); - break; - case angle::SubjectMessage::SamplerUniformsUpdated: - getExecutable().resetCachedValidateSamplersResult(); - break; default: UNREACHABLE(); break; } } -Shader *ProgramPipeline::getAttachedShader(ShaderType shaderType) const +void ProgramPipeline::fillProgramStateMap(ShaderMap *programStatesOut) { - const Program *program = mState.mPrograms[shaderType]; - return program ? program->getAttachedShader(shaderType) : nullptr; + for (ShaderType shaderType : AllShaderTypes()) + { + (*programStatesOut)[shaderType] = nullptr; + + Program *program = getShaderProgram(shaderType); + if (program) + { + (*programStatesOut)[shaderType] = &program->getState(); + } + } } + } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/ProgramPipeline.h b/gfx/angle/checkout/src/libANGLE/ProgramPipeline.h index e951a8eff971..2e53ea401b58 100644 --- a/gfx/angle/checkout/src/libANGLE/ProgramPipeline.h +++ b/gfx/angle/checkout/src/libANGLE/ProgramPipeline.h @@ -65,8 +65,6 @@ class ProgramPipelineState final : angle::NonCopyable void updateExecutableTextures(); - rx::SpecConstUsageBits getSpecConstUsageBits() const; - private: void useProgramStage(const Context *context, ShaderType shaderType, @@ -91,8 +89,7 @@ class ProgramPipelineState final : angle::NonCopyable class ProgramPipeline final : public RefCountObject, public LabeledObject, - public angle::ObserverInterface, - public HasAttachedShaders + public angle::ObserverInterface { public: ProgramPipeline(rx::GLImplFactory *factory, ProgramPipelineID handle); @@ -128,16 +125,23 @@ class ProgramPipeline final : public RefCountObject, Program *getShaderProgram(ShaderType shaderType) const { return mState.mPrograms[shaderType]; } void resetIsLinked() { mState.mIsLinked = false; } + ProgramMergedVaryings getMergedVaryings() const; angle::Result link(const gl::Context *context); bool linkVaryings(InfoLog &infoLog) const; void validate(const gl::Context *context); + bool validateSamplers(InfoLog *infoLog, const Caps &caps); + + bool usesShaderProgram(ShaderProgramID program) const + { + return mState.usesShaderProgram(program); + } + GLboolean isValid() const { return mState.isValid(); } // ObserverInterface implementation. void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; - // HasAttachedShaders implementation - Shader *getAttachedShader(ShaderType shaderType) const override; + void fillProgramStateMap(gl::ShaderMap *programStatesOut); private: void updateLinkedShaderStages(); @@ -145,10 +149,6 @@ class ProgramPipeline final : public RefCountObject, void updateTransformFeedbackMembers(); void updateShaderStorageBlocks(); void updateImageBindings(); - void updateExecutableGeometryProperties(); - void updateExecutableTessellationProperties(); - void updateFragmentInoutRange(); - void updateLinkedVaryings(); void updateHasBooleans(); void updateExecutable(); diff --git a/gfx/angle/checkout/src/libANGLE/ResourceManager.cpp b/gfx/angle/checkout/src/libANGLE/ResourceManager.cpp index c440f8d4447b..e130e5b065bc 100644 --- a/gfx/angle/checkout/src/libANGLE/ResourceManager.cpp +++ b/gfx/angle/checkout/src/libANGLE/ResourceManager.cpp @@ -33,7 +33,7 @@ template IDType AllocateEmptyObject(HandleAllocator *handleAllocator, ResourceMap *objectMap) { - IDType handle = PackParam(handleAllocator->allocate()); + IDType handle = FromGL(handleAllocator->allocate()); objectMap->assign(handle, nullptr); return handle; } @@ -381,11 +381,6 @@ void FramebufferManager::setDefaultFramebuffer(Framebuffer *framebuffer) mObjectMap.assign(Framebuffer::kDefaultDrawFramebufferHandle, framebuffer); } -Framebuffer *FramebufferManager::getDefaultFramebuffer() const -{ - return getFramebuffer(Framebuffer::kDefaultDrawFramebufferHandle); -} - void FramebufferManager::invalidateFramebufferCompletenessCache() const { for (const auto &framebuffer : mObjectMap) diff --git a/gfx/angle/checkout/src/libANGLE/ResourceManager.h b/gfx/angle/checkout/src/libANGLE/ResourceManager.h index 979ed97b4dd5..e58cd9d8632d 100644 --- a/gfx/angle/checkout/src/libANGLE/ResourceManager.h +++ b/gfx/angle/checkout/src/libANGLE/ResourceManager.h @@ -273,7 +273,6 @@ class FramebufferManager FramebufferID createFramebuffer(); Framebuffer *getFramebuffer(FramebufferID handle) const; void setDefaultFramebuffer(Framebuffer *framebuffer); - Framebuffer *getDefaultFramebuffer() const; void invalidateFramebufferCompletenessCache() const; diff --git a/gfx/angle/checkout/src/libANGLE/ResourceMap.h b/gfx/angle/checkout/src/libANGLE/ResourceMap.h index b24c1e62403a..b4cea85c4a28 100644 --- a/gfx/angle/checkout/src/libANGLE/ResourceMap.h +++ b/gfx/angle/checkout/src/libANGLE/ResourceMap.h @@ -47,7 +47,7 @@ class ResourceMap final : angle::NonCopyable void clear(); using IndexAndResource = std::pair; - using HashMap = angle::HashMap; + using HashMap = std::unordered_map; class Iterator final { @@ -297,8 +297,8 @@ bool ResourceMap::Iterator::operator!=(const Iterator &oth } template -typename ResourceMap::Iterator & -ResourceMap::Iterator::operator++() +typename ResourceMap::Iterator &ResourceMap::Iterator:: +operator++() { if (mFlatIndex < static_cast(mOrigin.mFlatResourcesSize)) { @@ -313,15 +313,15 @@ ResourceMap::Iterator::operator++() } template -const typename ResourceMap::IndexAndResource * -ResourceMap::Iterator::operator->() const +const typename ResourceMap::IndexAndResource + *ResourceMap::Iterator::operator->() const { return &mValue; } template -const typename ResourceMap::IndexAndResource & -ResourceMap::Iterator::operator*() const +const typename ResourceMap::IndexAndResource + &ResourceMap::Iterator::operator*() const { return mValue; } diff --git a/gfx/angle/checkout/src/libANGLE/Shader.cpp b/gfx/angle/checkout/src/libANGLE/Shader.cpp index bbda668cf4bc..6f9a78a2632d 100644 --- a/gfx/angle/checkout/src/libANGLE/Shader.cpp +++ b/gfx/angle/checkout/src/libANGLE/Shader.cpp @@ -92,12 +92,6 @@ const char *GetShaderTypeString(ShaderType type) case ShaderType::Geometry: return "GEOMETRY"; - case ShaderType::TessControl: - return "TESS_CONTROL"; - - case ShaderType::TessEvaluation: - return "TESS_EVALUATION"; - default: UNREACHABLE(); return ""; @@ -298,12 +292,6 @@ const std::string &Shader::getTranslatedSource() return mState.mTranslatedSource; } -const sh::BinaryBlob &Shader::getCompiledBinary() -{ - resolveCompile(); - return mState.mCompiledBinary; -} - void Shader::getTranslatedSourceWithDebugInfo(GLsizei bufSize, GLsizei *length, char *buffer) { resolveCompile(); @@ -316,7 +304,6 @@ void Shader::compile(const Context *context) resolveCompile(); mState.mTranslatedSource.clear(); - mState.mCompiledBinary.clear(); mInfoLog.clear(); mState.mShaderVersion = 100; mState.mInputVaryings.clear(); @@ -331,13 +318,7 @@ void Shader::compile(const Context *context) mState.mGeometryShaderOutputPrimitiveType.reset(); mState.mGeometryShaderMaxVertices.reset(); mState.mGeometryShaderInvocations = 1; - mState.mTessControlShaderVertices = 0; - mState.mTessGenMode = 0; - mState.mTessGenSpacing = 0; - mState.mTessGenVertexOrder = 0; - mState.mTessGenPointMode = 0; mState.mEarlyFragmentTestsOptimization = false; - mState.mSpecConstUsageBits.reset(); mState.mCompileStatus = CompileStatus::COMPILE_REQUESTED; mBoundCompiler.set(context, context->getCompiler()); @@ -414,47 +395,36 @@ void Shader::resolveCompile() return; } - const ShShaderOutput outputType = mCompilingState->shCompilerInstance.getShaderOutputType(); - const bool isBinaryOutput = - outputType == SH_SPIRV_VULKAN_OUTPUT || outputType == SH_SPIRV_METAL_OUTPUT; - - if (isBinaryOutput) - { - mState.mCompiledBinary = sh::GetObjectBinaryBlob(compilerHandle); - } - else - { - mState.mTranslatedSource = sh::GetObjectCode(compilerHandle); + mState.mTranslatedSource = sh::GetObjectCode(compilerHandle); #if !defined(NDEBUG) - // Prefix translated shader with commented out un-translated shader. - // Useful in diagnostics tools which capture the shader source. - std::ostringstream shaderStream; - shaderStream << "// GLSL\n"; - shaderStream << "//\n"; + // Prefix translated shader with commented out un-translated shader. + // Useful in diagnostics tools which capture the shader source. + std::ostringstream shaderStream; + shaderStream << "// GLSL\n"; + shaderStream << "//\n"; - std::istringstream inputSourceStream(mState.mSource); - std::string line; - while (std::getline(inputSourceStream, line)) + std::istringstream inputSourceStream(mState.mSource); + std::string line; + while (std::getline(inputSourceStream, line)) + { + // Remove null characters from the source line + line.erase(std::remove(line.begin(), line.end(), '\0'), line.end()); + + shaderStream << "// " << line; + + // glslang complains if a comment ends with backslash + if (!line.empty() && line.back() == '\\') { - // Remove null characters from the source line - line.erase(std::remove(line.begin(), line.end(), '\0'), line.end()); - - shaderStream << "// " << line; - - // glslang complains if a comment ends with backslash - if (!line.empty() && line.back() == '\\') - { - shaderStream << "\\"; - } - - shaderStream << std::endl; + shaderStream << "\\"; } - shaderStream << "\n\n"; - shaderStream << mState.mTranslatedSource; - mState.mTranslatedSource = shaderStream.str(); -#endif // !defined(NDEBUG) + + shaderStream << std::endl; } + shaderStream << "\n\n"; + shaderStream << mState.mTranslatedSource; + mState.mTranslatedSource = shaderStream.str(); +#endif // !defined(NDEBUG) // Gather the shader information mState.mShaderVersion = sh::GetShaderVersion(compilerHandle); @@ -462,8 +432,6 @@ void Shader::resolveCompile() mState.mUniforms = GetShaderVariables(sh::GetUniforms(compilerHandle)); mState.mUniformBlocks = GetShaderVariables(sh::GetUniformBlocks(compilerHandle)); mState.mShaderStorageBlocks = GetShaderVariables(sh::GetShaderStorageBlocks(compilerHandle)); - mState.mSpecConstUsageBits = - rx::SpecConstUsageBits(sh::GetShaderSpecConstUsageBits(compilerHandle)); switch (mState.mShaderType) { @@ -550,41 +518,11 @@ void Shader::resolveCompile() mState.mGeometryShaderInvocations = sh::GetGeometryShaderInvocations(compilerHandle); break; } - case ShaderType::TessControl: - { - mState.mInputVaryings = GetShaderVariables(sh::GetInputVaryings(compilerHandle)); - mState.mOutputVaryings = GetShaderVariables(sh::GetOutputVaryings(compilerHandle)); - mState.mTessControlShaderVertices = sh::GetTessControlShaderVertices(compilerHandle); - break; - } - case ShaderType::TessEvaluation: - { - mState.mInputVaryings = GetShaderVariables(sh::GetInputVaryings(compilerHandle)); - mState.mOutputVaryings = GetShaderVariables(sh::GetOutputVaryings(compilerHandle)); - if (sh::HasValidTessGenMode(compilerHandle)) - { - mState.mTessGenMode = sh::GetTessGenMode(compilerHandle); - } - if (sh::HasValidTessGenSpacing(compilerHandle)) - { - mState.mTessGenSpacing = sh::GetTessGenSpacing(compilerHandle); - } - if (sh::HasValidTessGenVertexOrder(compilerHandle)) - { - mState.mTessGenVertexOrder = sh::GetTessGenVertexOrder(compilerHandle); - } - if (sh::HasValidTessGenPointMode(compilerHandle)) - { - mState.mTessGenPointMode = sh::GetTessGenPointMode(compilerHandle); - } - break; - } - default: UNREACHABLE(); } - ASSERT(!mState.mTranslatedSource.empty() || !mState.mCompiledBinary.empty()); + ASSERT(!mState.mTranslatedSource.empty()); bool success = mCompilingState->compileEvent->postTranslate(&mInfoLog); mState.mCompileStatus = success ? CompileStatus::COMPILED : CompileStatus::NOT_COMPILED; @@ -687,8 +625,9 @@ const std::vector &Shader::getActiveOutputVariables() std::string Shader::getTransformFeedbackVaryingMappedName(const std::string &tfVaryingName) { - ASSERT(mState.getShaderType() != ShaderType::Fragment && - mState.getShaderType() != ShaderType::Compute); + // TODO(jiawei.shao@intel.com): support transform feedback on geometry shader. + ASSERT(mState.getShaderType() == ShaderType::Vertex || + mState.getShaderType() == ShaderType::Geometry); const auto &varyings = getOutputVaryings(); auto bracketPos = tfVaryingName.find("["); if (bracketPos != std::string::npos) @@ -716,21 +655,8 @@ std::string Shader::getTransformFeedbackVaryingMappedName(const std::string &tfV { GLuint fieldIndex = 0; const auto *field = varying.findField(tfVaryingName, &fieldIndex); - if (field == nullptr) - { - continue; - } - ASSERT(field != nullptr && !field->isStruct() && - (!field->isArray() || varying.isShaderIOBlock)); - std::string mappedName; - // If it's an I/O block without an instance name, don't include the block name. - if (!varying.isShaderIOBlock || !varying.name.empty()) - { - mappedName = varying.isShaderIOBlock ? varying.mappedStructOrBlockName - : varying.mappedName; - mappedName += '.'; - } - return mappedName + field->mappedName; + ASSERT(field != nullptr && !field->isStruct() && !field->isArray()); + return varying.mappedName + "." + field->mappedName; } } } @@ -774,36 +700,6 @@ Optional Shader::getGeometryShaderMaxVertices() return mState.mGeometryShaderMaxVertices; } -int Shader::getTessControlShaderVertices() -{ - resolveCompile(); - return mState.mTessControlShaderVertices; -} - -GLenum Shader::getTessGenMode() -{ - resolveCompile(); - return mState.mTessGenMode; -} - -GLenum Shader::getTessGenSpacing() -{ - resolveCompile(); - return mState.mTessGenSpacing; -} - -GLenum Shader::getTessGenVertexOrder() -{ - resolveCompile(); - return mState.mTessGenVertexOrder; -} - -GLenum Shader::getTessGenPointMode() -{ - resolveCompile(); - return mState.mTessGenPointMode; -} - const std::string &Shader::getCompilerResourcesString() const { return mCompilerResourcesString; diff --git a/gfx/angle/checkout/src/libANGLE/Shader.h b/gfx/angle/checkout/src/libANGLE/Shader.h index 5b1bb6c24b9a..6fb980cce0ba 100644 --- a/gfx/angle/checkout/src/libANGLE/Shader.h +++ b/gfx/angle/checkout/src/libANGLE/Shader.h @@ -65,9 +65,7 @@ class ShaderState final : angle::NonCopyable const std::string &getLabel() const { return mLabel; } const std::string &getSource() const { return mSource; } - bool isCompiledToBinary() const { return !mCompiledBinary.empty(); } const std::string &getTranslatedSource() const { return mTranslatedSource; } - const sh::BinaryBlob &getCompiledBinary() const { return mCompiledBinary; } ShaderType getShaderType() const { return mShaderType; } int getShaderVersion() const { return mShaderVersion; } @@ -92,7 +90,6 @@ class ShaderState final : angle::NonCopyable const sh::WorkGroupSize &getLocalSize() const { return mLocalSize; } bool getEarlyFragmentTestsOptimization() const { return mEarlyFragmentTestsOptimization; } - rx::SpecConstUsageBits getSpecConstUsageBits() const { return mSpecConstUsageBits; } int getNumViews() const { return mNumViews; } @@ -120,7 +117,6 @@ class ShaderState final : angle::NonCopyable ShaderType mShaderType; int mShaderVersion; std::string mTranslatedSource; - sh::BinaryBlob mCompiledBinary; std::string mSource; sh::WorkGroupSize mLocalSize; @@ -135,7 +131,6 @@ class ShaderState final : angle::NonCopyable std::vector mActiveOutputVariables; bool mEarlyFragmentTestsOptimization; - rx::SpecConstUsageBits mSpecConstUsageBits; // ANGLE_multiview. int mNumViews; @@ -146,13 +141,6 @@ class ShaderState final : angle::NonCopyable Optional mGeometryShaderMaxVertices; int mGeometryShaderInvocations; - // Tessellation Shader - int mTessControlShaderVertices; - GLenum mTessGenMode; - GLenum mTessGenSpacing; - GLenum mTessGenVertexOrder; - GLenum mTessGenPointMode; - // Indicates if this shader has been successfully compiled CompileStatus mCompileStatus; }; @@ -188,7 +176,6 @@ class Shader final : angle::NonCopyable, public LabeledObject const std::string &getTranslatedSource(); void getTranslatedSource(GLsizei bufSize, GLsizei *length, char *buffer); void getTranslatedSourceWithDebugInfo(GLsizei bufSize, GLsizei *length, char *buffer); - const sh::BinaryBlob &getCompiledBinary(); void compile(const Context *context); bool isCompiled(); @@ -203,7 +190,6 @@ class Shader final : angle::NonCopyable, public LabeledObject { return mState.mEarlyFragmentTestsOptimization; } - rx::SpecConstUsageBits getSpecConstUsageBits() const { return mState.mSpecConstUsageBits; } int getShaderVersion(); @@ -229,11 +215,6 @@ class Shader final : angle::NonCopyable, public LabeledObject Optional getGeometryShaderOutputPrimitiveType(); int getGeometryShaderInvocations(); Optional getGeometryShaderMaxVertices(); - int getTessControlShaderVertices(); - GLenum getTessGenMode(); - GLenum getTessGenSpacing(); - GLenum getTessGenVertexOrder(); - GLenum getTessGenPointMode(); const std::string &getCompilerResourcesString() const; diff --git a/gfx/angle/checkout/src/libANGLE/State.cpp b/gfx/angle/checkout/src/libANGLE/State.cpp index 751830e3a66a..7b08d8ddb8f4 100644 --- a/gfx/angle/checkout/src/libANGLE/State.cpp +++ b/gfx/angle/checkout/src/libANGLE/State.cpp @@ -347,6 +347,8 @@ State::State(const State *shareContextState, mProvokingVertex(gl::ProvokingVertexConvention::LastVertexConvention), mVertexArray(nullptr), mActiveSampler(0), + mTexturesIncompatibleWithSamplers(0), + mValidAtomicCounterBufferCount(0), mPrimitiveRestart(false), mDebug(debug), mMultiSampling(false), @@ -356,7 +358,6 @@ State::State(const State *shareContextState, mProgramBinaryCacheEnabled(programBinaryCacheEnabled), mTextureRectangleEnabled(true), mMaxShaderCompilerThreads(std::numeric_limits::max()), - mPatchVertices(3), mOverlay(overlay), mNoSimultaneousConstantColorAndAlphaBlendFunc(false) {} @@ -414,9 +415,6 @@ void State::initialize(Context *context) mNearZ = 0.0f; mFarZ = 1.0f; - mClipControlOrigin = GL_LOWER_LEFT_EXT; - mClipControlDepth = GL_NEGATIVE_ONE_TO_ONE_EXT; - mActiveSampler = 0; mVertexAttribCurrentValues.resize(caps.maxVertexAttributes); @@ -570,26 +568,24 @@ void State::reset(const Context *context) { UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::Uniform, 0, 0); } - mBoundUniformBuffersMask.reset(); for (OffsetBindingPointer &buf : mAtomicCounterBuffers) { UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::AtomicCounter, 0, 0); } - mBoundAtomicCounterBuffersMask.reset(); + mValidAtomicCounterBufferCount = 0; for (OffsetBindingPointer &buf : mShaderStorageBuffers) { UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::ShaderStorage, 0, 0); } - mBoundShaderStorageBuffersMask.reset(); mClipDistancesEnabled.reset(); setAllDirtyBits(); } -ANGLE_INLINE void State::unsetActiveTextures(const ActiveTextureMask &textureMask) +ANGLE_INLINE void State::unsetActiveTextures(ActiveTextureMask textureMask) { // Unset any relevant bound textures. for (size_t textureIndex : textureMask) @@ -640,21 +636,12 @@ ANGLE_INLINE void State::setActiveTextureDirty(size_t textureIndex, Texture *tex // If we defer the update until syncState it's too late and we've already passed validation. if (texture && mExecutable) { - // It is invalid to try to sample a non-yuv texture with a yuv sampler. + const Sampler *sampler = mSamplers[textureIndex].get(); + const SamplerState &samplerState = + sampler ? sampler->getSamplerState() : texture->getSamplerState(); mTexturesIncompatibleWithSamplers[textureIndex] = - mExecutable->getActiveYUVSamplers().test(textureIndex) && !texture->isYUV(); - - if (isWebGL()) - { - const Sampler *sampler = mSamplers[textureIndex].get(); - const SamplerState &samplerState = - sampler ? sampler->getSamplerState() : texture->getSamplerState(); - if (!texture->getTextureState().compatibleWithSamplerFormatForWebGL( - mExecutable->getSamplerFormatForTextureUnitIndex(textureIndex), samplerState)) - { - mTexturesIncompatibleWithSamplers[textureIndex] = true; - } - } + !texture->getTextureState().compatibleWithSamplerFormat( + mExecutable->getSamplerFormatForTextureUnitIndex(textureIndex), samplerState); } else { @@ -758,38 +745,26 @@ void State::setDepthMask(bool mask) void State::setRasterizerDiscard(bool enabled) { - if (mRasterizer.rasterizerDiscard != enabled) - { - mRasterizer.rasterizerDiscard = enabled; - mDirtyBits.set(DIRTY_BIT_RASTERIZER_DISCARD_ENABLED); - } + mRasterizer.rasterizerDiscard = enabled; + mDirtyBits.set(DIRTY_BIT_RASTERIZER_DISCARD_ENABLED); } void State::setCullFace(bool enabled) { - if (mRasterizer.cullFace != enabled) - { - mRasterizer.cullFace = enabled; - mDirtyBits.set(DIRTY_BIT_CULL_FACE_ENABLED); - } + mRasterizer.cullFace = enabled; + mDirtyBits.set(DIRTY_BIT_CULL_FACE_ENABLED); } void State::setCullMode(CullFaceMode mode) { - if (mRasterizer.cullMode != mode) - { - mRasterizer.cullMode = mode; - mDirtyBits.set(DIRTY_BIT_CULL_FACE); - } + mRasterizer.cullMode = mode; + mDirtyBits.set(DIRTY_BIT_CULL_FACE); } void State::setFrontFace(GLenum front) { - if (mRasterizer.frontFace != front) - { - mRasterizer.frontFace = front; - mDirtyBits.set(DIRTY_BIT_FRONT_FACE); - } + mRasterizer.frontFace = front; + mDirtyBits.set(DIRTY_BIT_FRONT_FACE); } void State::setDepthTest(bool enabled) @@ -820,28 +795,6 @@ void State::setDepthRange(float zNear, float zFar) } } -void State::setClipControl(GLenum origin, GLenum depth) -{ - bool updated = false; - if (mClipControlOrigin != origin) - { - mClipControlOrigin = origin; - updated = true; - } - - if (mClipControlDepth != depth) - { - mClipControlDepth = depth; - updated = true; - } - - if (updated) - { - mDirtyBits.set(DIRTY_BIT_EXTENDED); - mExtendedDirtyBits.set(EXTENDED_DIRTY_BIT_CLIP_CONTROL); - } -} - void State::setBlend(bool enabled) { mBlendState.blend = enabled; @@ -1028,11 +981,8 @@ void State::setStencilBackOperations(GLenum stencilBackFail, void State::setPolygonOffsetFill(bool enabled) { - if (mRasterizer.polygonOffsetFill != enabled) - { - mRasterizer.polygonOffsetFill = enabled; - mDirtyBits.set(DIRTY_BIT_POLYGON_OFFSET_FILL_ENABLED); - } + mRasterizer.polygonOffsetFill = enabled; + mDirtyBits.set(DIRTY_BIT_POLYGON_OFFSET_FILL_ENABLED); } void State::setPolygonOffsetParams(GLfloat factor, GLfloat units) @@ -1045,20 +995,14 @@ void State::setPolygonOffsetParams(GLfloat factor, GLfloat units) void State::setSampleAlphaToCoverage(bool enabled) { - if (mSampleAlphaToCoverage != enabled) - { - mSampleAlphaToCoverage = enabled; - mDirtyBits.set(DIRTY_BIT_SAMPLE_ALPHA_TO_COVERAGE_ENABLED); - } + mSampleAlphaToCoverage = enabled; + mDirtyBits.set(DIRTY_BIT_SAMPLE_ALPHA_TO_COVERAGE_ENABLED); } void State::setSampleCoverage(bool enabled) { - if (mSampleCoverage != enabled) - { - mSampleCoverage = enabled; - mDirtyBits.set(DIRTY_BIT_SAMPLE_COVERAGE_ENABLED); - } + mSampleCoverage = enabled; + mDirtyBits.set(DIRTY_BIT_SAMPLE_COVERAGE_ENABLED); } void State::setSampleCoverageParams(GLclampf value, bool invert) @@ -1070,11 +1014,8 @@ void State::setSampleCoverageParams(GLclampf value, bool invert) void State::setSampleMaskEnabled(bool enabled) { - if (mSampleMask != enabled) - { - mSampleMask = enabled; - mDirtyBits.set(DIRTY_BIT_SAMPLE_MASK_ENABLED); - } + mSampleMask = enabled; + mDirtyBits.set(DIRTY_BIT_SAMPLE_MASK_ENABLED); } void State::setSampleMaskParams(GLuint maskNumber, GLbitfield mask) @@ -1087,30 +1028,21 @@ void State::setSampleMaskParams(GLuint maskNumber, GLbitfield mask) void State::setSampleAlphaToOne(bool enabled) { - if (mSampleAlphaToOne != enabled) - { - mSampleAlphaToOne = enabled; - mDirtyBits.set(DIRTY_BIT_SAMPLE_ALPHA_TO_ONE); - } + mSampleAlphaToOne = enabled; + mDirtyBits.set(DIRTY_BIT_SAMPLE_ALPHA_TO_ONE); } void State::setMultisampling(bool enabled) { - if (mMultiSampling != enabled) - { - mMultiSampling = enabled; - mDirtyBits.set(DIRTY_BIT_MULTISAMPLING); - } + mMultiSampling = enabled; + mDirtyBits.set(DIRTY_BIT_MULTISAMPLING); } void State::setSampleShading(bool enabled) { - if (mIsSampleShadingEnabled != enabled) - { - mIsSampleShadingEnabled = enabled; - mMinSampleShading = (enabled) ? 1.0f : mMinSampleShading; - mDirtyBits.set(DIRTY_BIT_SAMPLE_SHADING); - } + mIsSampleShadingEnabled = enabled; + mMinSampleShading = (enabled) ? 1.0f : mMinSampleShading; + mDirtyBits.set(DIRTY_BIT_SAMPLE_SHADING); } void State::setMinSampleShading(float value) @@ -1148,20 +1080,14 @@ void State::setScissorParams(GLint x, GLint y, GLsizei width, GLsizei height) void State::setDither(bool enabled) { - if (mRasterizer.dither != enabled) - { - mRasterizer.dither = enabled; - mDirtyBits.set(DIRTY_BIT_DITHER_ENABLED); - } + mRasterizer.dither = enabled; + mDirtyBits.set(DIRTY_BIT_DITHER_ENABLED); } void State::setPrimitiveRestart(bool enabled) { - if (mPrimitiveRestart != enabled) - { - mPrimitiveRestart = enabled; - mDirtyBits.set(DIRTY_BIT_PRIMITIVE_RESTART_ENABLED); - } + mPrimitiveRestart = enabled; + mDirtyBits.set(DIRTY_BIT_PRIMITIVE_RESTART_ENABLED); } void State::setClipDistanceEnable(int idx, bool enable) @@ -1176,7 +1102,6 @@ void State::setClipDistanceEnable(int idx, bool enable) } mDirtyBits.set(DIRTY_BIT_EXTENDED); - mExtendedDirtyBits.set(EXTENDED_DIRTY_BIT_CLIP_DISTANCES); } void State::setEnableFeature(GLenum feature, bool enabled) @@ -1421,9 +1346,9 @@ bool State::getEnableFeature(GLenum feature) const case GL_TEXTURE_COORD_ARRAY: return mGLES1State.mTexCoordArrayEnabled[mGLES1State.mClientActiveTexture]; case GL_TEXTURE_2D: - return mGLES1State.isTextureTargetEnabled(getActiveSampler(), TextureType::_2D); + return mGLES1State.mTexUnitEnables[mActiveSampler].test(TextureType::_2D); case GL_TEXTURE_CUBE_MAP: - return mGLES1State.isTextureTargetEnabled(getActiveSampler(), TextureType::CubeMap); + return mGLES1State.mTexUnitEnables[mActiveSampler].test(TextureType::CubeMap); case GL_LIGHTING: return mGLES1State.mLightingEnabled; case GL_LIGHT0: @@ -1486,7 +1411,6 @@ void State::setGenerateMipmapHint(GLenum hint) { mGenerateMipmapHint = hint; mDirtyBits.set(DIRTY_BIT_EXTENDED); - mExtendedDirtyBits.set(EXTENDED_DIRTY_BIT_MIPMAP_GENERATION_HINT); } GLenum State::getGenerateMipmapHint() const @@ -1510,7 +1434,6 @@ void State::setFragmentShaderDerivativeHint(GLenum hint) { mFragmentShaderDerivativeHint = hint; mDirtyBits.set(DIRTY_BIT_EXTENDED); - mExtendedDirtyBits.set(EXTENDED_DIRTY_BIT_SHADER_DERIVATIVE_HINT); // TODO: Propagate the hint to shader translator so we can write // ddx, ddx_coarse, or ddx_fine depending on the hint. // Ignore for now. It is valid for implementations to ignore hint. @@ -1729,9 +1652,6 @@ void State::setDrawFramebufferBinding(Framebuffer *framebuffer) if (mDrawFramebuffer) { - mDrawFramebuffer->setWriteControlMode(getFramebufferSRGB() ? SrgbWriteControlMode::Default - : SrgbWriteControlMode::Linear); - if (mDrawFramebuffer->hasAnyDirtyBit()) { mDirtyObjects.set(DIRTY_OBJECT_DRAW_FRAMEBUFFER); @@ -1759,11 +1679,6 @@ Framebuffer *State::getTargetFramebuffer(GLenum target) const } } -Framebuffer *State::getDefaultFramebuffer() const -{ - return mFramebufferManager->getDefaultFramebuffer(); -} - bool State::removeReadFramebufferBinding(FramebufferID framebuffer) { if (mReadFramebuffer != nullptr && mReadFramebuffer->id() == framebuffer) @@ -2046,17 +1961,27 @@ angle::Result State::setIndexedBufferBinding(const Context *context, setBufferBinding(context, target, buffer); break; case BufferBinding::Uniform: - mBoundUniformBuffersMask.set(index, buffer != nullptr); UpdateIndexedBufferBinding(context, &mUniformBuffers[index], buffer, target, offset, size); break; case BufferBinding::AtomicCounter: - mBoundAtomicCounterBuffersMask.set(index, buffer != nullptr); + if (!mAtomicCounterBuffers[index].get() && buffer) + { + // going from an invalid binding to a valid one, increment the count + mValidAtomicCounterBufferCount++; + ASSERT(mValidAtomicCounterBufferCount <= + static_cast(getCaps().maxAtomicCounterBufferBindings)); + } + else if (mAtomicCounterBuffers[index].get() && !buffer) + { + // going from a valid binding to an invalid one, decrement the count + mValidAtomicCounterBufferCount--; + ASSERT(mValidAtomicCounterBufferCount >= 0); + } UpdateIndexedBufferBinding(context, &mAtomicCounterBuffers[index], buffer, target, offset, size); break; case BufferBinding::ShaderStorage: - mBoundShaderStorageBuffersMask.set(index, buffer != nullptr); UpdateIndexedBufferBinding(context, &mShaderStorageBuffers[index], buffer, target, offset, size); break; @@ -2113,38 +2038,29 @@ angle::Result State::detachBuffer(Context *context, const Buffer *buffer) context->getStateCache().onVertexArrayStateChange(context); } - for (size_t uniformBufferIndex : mBoundUniformBuffersMask) + for (auto &buf : mUniformBuffers) { - OffsetBindingPointer &binding = mUniformBuffers[uniformBufferIndex]; - - if (binding.id() == bufferID) + if (buf.id() == bufferID) { - UpdateIndexedBufferBinding(context, &binding, nullptr, BufferBinding::Uniform, 0, 0); - mBoundUniformBuffersMask.reset(uniformBufferIndex); + UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::Uniform, 0, 0); } } - for (size_t atomicCounterBufferIndex : mBoundAtomicCounterBuffersMask) + for (auto &buf : mAtomicCounterBuffers) { - OffsetBindingPointer &binding = mAtomicCounterBuffers[atomicCounterBufferIndex]; - - if (binding.id() == bufferID) + if (buf.id() == bufferID) { - UpdateIndexedBufferBinding(context, &binding, nullptr, BufferBinding::AtomicCounter, 0, - 0); - mBoundAtomicCounterBuffersMask.reset(atomicCounterBufferIndex); + UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::AtomicCounter, 0, 0); + mValidAtomicCounterBufferCount--; + ASSERT(mValidAtomicCounterBufferCount >= 0); } } - for (size_t shaderStorageBufferIndex : mBoundShaderStorageBuffersMask) + for (auto &buf : mShaderStorageBuffers) { - OffsetBindingPointer &binding = mShaderStorageBuffers[shaderStorageBufferIndex]; - - if (binding.id() == bufferID) + if (buf.id() == bufferID) { - UpdateIndexedBufferBinding(context, &binding, nullptr, BufferBinding::ShaderStorage, 0, - 0); - mBoundShaderStorageBuffersMask.reset(shaderStorageBufferIndex); + UpdateIndexedBufferBinding(context, &buf, nullptr, BufferBinding::ShaderStorage, 0, 0); } } @@ -2263,21 +2179,14 @@ void State::setUnpackSkipPixels(GLint skipPixels) void State::setCoverageModulation(GLenum components) { - if (mCoverageModulation != components) - { - mCoverageModulation = components; - mDirtyBits.set(DIRTY_BIT_COVERAGE_MODULATION); - } + mCoverageModulation = components; + mDirtyBits.set(DIRTY_BIT_COVERAGE_MODULATION); } void State::setFramebufferSRGB(bool sRGB) { - if (mFramebufferSRGB != sRGB) - { - mFramebufferSRGB = sRGB; - mDirtyBits.set(DIRTY_BIT_FRAMEBUFFER_SRGB_WRITE_CONTROL_MODE); - setDrawFramebufferDirty(); - } + mFramebufferSRGB = sRGB; + mDirtyBits.set(DIRTY_BIT_FRAMEBUFFER_SRGB); } void State::setMaxShaderCompilerThreads(GLuint count) @@ -2285,15 +2194,6 @@ void State::setMaxShaderCompilerThreads(GLuint count) mMaxShaderCompilerThreads = count; } -void State::setPatchVertices(GLuint value) -{ - if (mPatchVertices != value) - { - mPatchVertices = value; - mDirtyBits.set(DIRTY_BIT_PATCH_VERTICES); - } -} - void State::getBooleanv(GLenum pname, GLboolean *params) const { switch (pname) @@ -2394,19 +2294,6 @@ void State::getBooleanv(GLenum pname, GLboolean *params) const case GL_SAMPLE_SHADING: *params = mIsSampleShadingEnabled; break; - case GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED: - *params = isPrimitiveRestartEnabled() && getExtensions().tessellationShaderEXT; - break; - // 2.2.2 Data Conversions For State Query Commands, in GLES 3.2 spec. - // If a command returning boolean data is called, such as GetBooleanv, a floating-point or - // integer value converts to FALSE if and only if it is zero. Otherwise it converts to TRUE. - // GL_EXT_clip_control - case GL_CLIP_ORIGIN_EXT: - *params = GL_TRUE; - break; - case GL_CLIP_DEPTH_MODE_EXT: - *params = GL_TRUE; - break; default: UNREACHABLE(); break; @@ -2523,15 +2410,6 @@ void State::getFloatv(GLenum pname, GLfloat *params) const case GL_MIN_SAMPLE_SHADING_VALUE: *params = mMinSampleShading; break; - // 2.2.2 Data Conversions For State Query Commands, in GLES 3.2 spec. - // If a command returning floating-point data is called, such as GetFloatv, ... An integer - // value is coerced to floating-point. - case GL_CLIP_ORIGIN_EXT: - *params = static_cast(mClipControlOrigin); - break; - case GL_CLIP_DEPTH_MODE_EXT: - *params = static_cast(mClipControlDepth); - break; default: UNREACHABLE(); break; @@ -2994,17 +2872,7 @@ angle::Result State::getIntegerv(const Context *context, GLenum pname, GLint *pa } break; } - case GL_PATCH_VERTICES: - *params = mPatchVertices; - break; - // GL_EXT_clip_control - case GL_CLIP_ORIGIN_EXT: - *params = mClipControlOrigin; - break; - case GL_CLIP_DEPTH_MODE_EXT: - *params = mClipControlDepth; - break; default: UNREACHABLE(); break; @@ -3298,9 +3166,6 @@ angle::Result State::syncReadFramebuffer(const Context *context, Command command angle::Result State::syncDrawFramebuffer(const Context *context, Command command) { ASSERT(mDrawFramebuffer); - mDrawFramebuffer->setWriteControlMode(context->getState().getFramebufferSRGB() - ? SrgbWriteControlMode::Default - : SrgbWriteControlMode::Linear); return mDrawFramebuffer->syncState(context, GL_DRAW_FRAMEBUFFER, command); } @@ -3581,7 +3446,7 @@ void State::onActiveTextureChange(const Context *context, size_t textureUnit) : nullptr; updateTextureBinding(context, textureUnit, activeTexture); - mExecutable->onStateChange(angle::SubjectMessage::ProgramTextureOrImageBindingChanged); + mExecutable->onStateChange(angle::SubjectMessage::SubjectChanged); } } @@ -3618,7 +3483,7 @@ void State::onImageStateChange(const Context *context, size_t unit) mDirtyObjects.set(DIRTY_OBJECT_IMAGES_INIT); } - mExecutable->onStateChange(angle::SubjectMessage::ProgramTextureOrImageBindingChanged); + mExecutable->onStateChange(angle::SubjectMessage::SubjectChanged); } } @@ -3635,13 +3500,6 @@ AttributesMask State::getAndResetDirtyCurrentValues() const return retVal; } -State::ExtendedDirtyBits State::getAndResetExtendedDirtyBits() const -{ - ExtendedDirtyBits retVal = mExtendedDirtyBits; - mExtendedDirtyBits.reset(); - return retVal; -} - constexpr State::DirtyObjectHandler State::kDirtyObjectHandlers[DIRTY_OBJECT_MAX]; } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/State.h b/gfx/angle/checkout/src/libANGLE/State.h index 75c38e2d9c45..467e79380d15 100644 --- a/gfx/angle/checkout/src/libANGLE/State.h +++ b/gfx/angle/checkout/src/libANGLE/State.h @@ -173,15 +173,6 @@ class State : angle::NonCopyable float getNearPlane() const { return mNearZ; } float getFarPlane() const { return mFarZ; } - // Clip control extension - void setClipControl(GLenum origin, GLenum depth); - bool isClipControlDepthZeroToOne() const { return mClipControlDepth == GL_ZERO_TO_ONE_EXT; } - gl::ClipSpaceOrigin getClipSpaceOrigin() const - { - return mClipControlOrigin == GL_UPPER_LEFT_EXT ? ClipSpaceOrigin::UpperLeft - : ClipSpaceOrigin::LowerLeft; - } - // Blend state manipulation bool isBlendEnabled() const { return mBlendStateExt.mEnabledMask.test(0); } bool isBlendEnabledIndexed(GLuint index) const @@ -342,7 +333,6 @@ class State : angle::NonCopyable Framebuffer *getTargetFramebuffer(GLenum target) const; Framebuffer *getReadFramebuffer() const { return mReadFramebuffer; } Framebuffer *getDrawFramebuffer() const { return mDrawFramebuffer; } - Framebuffer *getDefaultFramebuffer() const; bool removeReadFramebufferBinding(FramebufferID framebuffer); bool removeDrawFramebufferBinding(FramebufferID framebuffer); @@ -446,29 +436,13 @@ class State : angle::NonCopyable ANGLE_INLINE bool hasValidAtomicCounterBuffer() const { - return mBoundAtomicCounterBuffersMask.any(); + return mValidAtomicCounterBufferCount > 0; } const OffsetBindingPointer &getIndexedUniformBuffer(size_t index) const; const OffsetBindingPointer &getIndexedAtomicCounterBuffer(size_t index) const; const OffsetBindingPointer &getIndexedShaderStorageBuffer(size_t index) const; - const angle::BitSet &getUniformBuffersMask() - const - { - return mBoundUniformBuffersMask; - } - const angle::BitSet - &getAtomicCounterBuffersMask() const - { - return mBoundAtomicCounterBuffersMask; - } - const angle::BitSet - &getShaderStorageBuffersMask() const - { - return mBoundShaderStorageBuffersMask; - } - // Detach a buffer from all bindings angle::Result detachBuffer(Context *context, const Buffer *buffer); @@ -585,10 +559,6 @@ class State : angle::NonCopyable void setMaxShaderCompilerThreads(GLuint count); GLuint getMaxShaderCompilerThreads() const { return mMaxShaderCompilerThreads; } - // GL_EXT_tessellation_shader - void setPatchVertices(GLuint value); - GLuint getPatchVertices() const { return mPatchVertices; } - // State query functions void getBooleanv(GLenum pname, GLboolean *params) const; void getFloatv(GLenum pname, GLfloat *params) const; @@ -670,32 +640,18 @@ class State : angle::NonCopyable DIRTY_BIT_ATOMIC_COUNTER_BUFFER_BINDING, DIRTY_BIT_MULTISAMPLING, DIRTY_BIT_SAMPLE_ALPHA_TO_ONE, - DIRTY_BIT_COVERAGE_MODULATION, // CHROMIUM_framebuffer_mixed_samples - DIRTY_BIT_FRAMEBUFFER_SRGB_WRITE_CONTROL_MODE, // GL_EXT_sRGB_write_control + DIRTY_BIT_COVERAGE_MODULATION, // CHROMIUM_framebuffer_mixed_samples + DIRTY_BIT_FRAMEBUFFER_SRGB, // GL_EXT_sRGB_write_control DIRTY_BIT_CURRENT_VALUES, DIRTY_BIT_PROVOKING_VERTEX, DIRTY_BIT_SAMPLE_SHADING, - DIRTY_BIT_PATCH_VERTICES, - DIRTY_BIT_EXTENDED, // clip distances, mipmap generation hint, derivative hint, - // EXT_clip_control + DIRTY_BIT_EXTENDED, // clip distances, mipmap generation hint, derivative hint. DIRTY_BIT_INVALID, DIRTY_BIT_MAX = DIRTY_BIT_INVALID, }; static_assert(DIRTY_BIT_MAX <= 64, "State dirty bits must be capped at 64"); - enum ExtendedDirtyBitType - { - EXTENDED_DIRTY_BIT_CLIP_CONTROL, // EXT_clip_control - EXTENDED_DIRTY_BIT_CLIP_DISTANCES, // clip distances - EXTENDED_DIRTY_BIT_MIPMAP_GENERATION_HINT, // mipmap generation hint - EXTENDED_DIRTY_BIT_SHADER_DERIVATIVE_HINT, // shader derivative hint - EXTENDED_DIRTY_BIT_INVALID, - EXTENDED_DIRTY_BIT_MAX = EXTENDED_DIRTY_BIT_INVALID, - }; - - static_assert(EXTENDED_DIRTY_BIT_MAX <= 32, "State extended dirty bits must be capped at 32"); - // TODO(jmadill): Consider storing dirty objects in a list instead of by binding. enum DirtyObjectType { @@ -725,12 +681,6 @@ class State : angle::NonCopyable mDirtyCurrentValues.set(); } - using ExtendedDirtyBits = angle::BitSet32; - const ExtendedDirtyBits &getExtendedDirtyBits() const { return mExtendedDirtyBits; } - // TODO(https://anglebug.com/5631): Handle extended dirty bits on non-vulkan backends - ExtendedDirtyBits getAndResetExtendedDirtyBits() const; - void clearExtendedDirtyBits() { mExtendedDirtyBits.reset(); } - using DirtyObjects = angle::BitSet; void clearDirtyObjects() { mDirtyObjects.reset(); } void setAllDirtyObjects() { mDirtyObjects.set(); } @@ -802,8 +752,8 @@ class State : angle::NonCopyable ANGLE_INLINE bool validateSamplerFormats() const { - return (!mExecutable || !(mTexturesIncompatibleWithSamplers.intersects( - mExecutable->getActiveSamplersMask()))); + return (!mExecutable || + (mTexturesIncompatibleWithSamplers & mExecutable->getActiveSamplersMask()).none()); } ProvokingVertexConvention getProvokingVertex() const { return mProvokingVertex; } @@ -904,17 +854,12 @@ class State : angle::NonCopyable return mBlendFuncConstantColorDrawBuffers; } - const std::vector &getImageUnits() const { return mImageUnits; } - - const ProgramPipelineManager *getProgramPipelineManagerForCapture() const - { - return mProgramPipelineManager; - } + const std::vector getImageUnits() const { return mImageUnits; } private: friend class Context; - void unsetActiveTextures(const ActiveTextureMask &textureMask); + void unsetActiveTextures(ActiveTextureMask textureMask); void setActiveTextureDirty(size_t textureIndex, Texture *texture); void updateTextureBinding(const Context *context, size_t textureIndex, Texture *texture); void updateActiveTextureStateOnSync(const Context *context, @@ -1038,9 +983,6 @@ class State : angle::NonCopyable float mNearZ; float mFarZ; - GLenum mClipControlOrigin; - GLenum mClipControlDepth; - Framebuffer *mReadFramebuffer; Framebuffer *mDrawFramebuffer; BindingPointer mRenderbuffer; @@ -1089,14 +1031,9 @@ class State : angle::NonCopyable BufferVector mUniformBuffers; BufferVector mAtomicCounterBuffers; + uint32_t mValidAtomicCounterBufferCount; BufferVector mShaderStorageBuffers; - angle::BitSet mBoundUniformBuffersMask; - angle::BitSet - mBoundAtomicCounterBuffersMask; - angle::BitSet - mBoundShaderStorageBuffersMask; - BindingPointer mTransformFeedback; PixelUnpackState mUnpack; @@ -1129,14 +1066,10 @@ class State : angle::NonCopyable // GL_APPLE_clip_distance/GL_EXT_clip_cull_distance ClipDistanceEnableBits mClipDistancesEnabled; - // GL_EXT_tessellation_shader - GLuint mPatchVertices; - // GLES1 emulation: state specific to GLES1 GLES1State mGLES1State; DirtyBits mDirtyBits; - mutable ExtendedDirtyBits mExtendedDirtyBits; DirtyObjects mDirtyObjects; mutable AttributesMask mDirtyCurrentValues; ActiveTextureMask mDirtyActiveTextures; diff --git a/gfx/angle/checkout/src/libANGLE/Stream.cpp b/gfx/angle/checkout/src/libANGLE/Stream.cpp index ad04de33b27c..e3f8d24f60d8 100644 --- a/gfx/angle/checkout/src/libANGLE/Stream.cpp +++ b/gfx/angle/checkout/src/libANGLE/Stream.cpp @@ -237,7 +237,7 @@ bool Stream::isConsumerBoundToContext(const gl::Context *context) const return (context == mContext); } -Error Stream::validateD3D11Texture(const void *texture, const AttributeMap &attributes) const +Error Stream::validateD3D11Texture(void *texture, const AttributeMap &attributes) const { ASSERT(mConsumerType == ConsumerType::GLTextureRGB || mConsumerType == ConsumerType::GLTextureYUV); diff --git a/gfx/angle/checkout/src/libANGLE/Stream.h b/gfx/angle/checkout/src/libANGLE/Stream.h index b53c90b76497..0daa9b013381 100644 --- a/gfx/angle/checkout/src/libANGLE/Stream.h +++ b/gfx/angle/checkout/src/libANGLE/Stream.h @@ -100,7 +100,7 @@ class Stream final : public LabeledObject, angle::NonCopyable bool isConsumerBoundToContext(const gl::Context *context) const; // Producer methods - Error validateD3D11Texture(const void *texture, const AttributeMap &attributes) const; + Error validateD3D11Texture(void *texture, const AttributeMap &attributes) const; Error postD3D11Texture(void *texture, const AttributeMap &attributes); private: diff --git a/gfx/angle/checkout/src/libANGLE/Surface.cpp b/gfx/angle/checkout/src/libANGLE/Surface.cpp index 9bb994651a29..a7f33526e06e 100644 --- a/gfx/angle/checkout/src/libANGLE/Surface.cpp +++ b/gfx/angle/checkout/src/libANGLE/Surface.cpp @@ -17,6 +17,7 @@ #include "libANGLE/Display.h" #include "libANGLE/Framebuffer.h" #include "libANGLE/Texture.h" +#include "libANGLE/Thread.h" #include "libANGLE/formatutils.h" #include "libANGLE/renderer/EGLImplFactory.h" #include "libANGLE/trace.h" @@ -198,14 +199,7 @@ Error Surface::initialize(const Display *display) { GLenum internalFormat = static_cast(mState.attributes.get(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE)); - GLenum type = static_cast(mState.attributes.get(EGL_TEXTURE_TYPE_ANGLE)); - - // GL_RGBA + GL_HALF_FLOAT is not a valid format/type combination in GLES like it is in - // desktop GL. Adjust the frontend format to be sized RGBA16F. - if (internalFormat == GL_RGBA && type == GL_HALF_FLOAT) - { - internalFormat = GL_RGBA16F; - } + GLenum type = static_cast(mState.attributes.get(EGL_TEXTURE_TYPE_ANGLE)); mColorFormat = gl::Format(internalFormat, type); } if (mBuftype == EGL_D3D_TEXTURE_ANGLE) @@ -296,11 +290,8 @@ Error Surface::swap(const gl::Context *context) return NoError(); } -Error Surface::swapWithDamage(const gl::Context *context, const EGLint *rects, EGLint n_rects) +Error Surface::swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects) { - ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::swapWithDamage"); - context->onPreSwap(); - context->getState().getOverlay()->onSwap(); ANGLE_TRY(mImplementation->swapWithDamage(context, rects, n_rects)); @@ -310,9 +301,6 @@ Error Surface::swapWithDamage(const gl::Context *context, const EGLint *rects, E Error Surface::swapWithFrameToken(const gl::Context *context, EGLFrameTokenANGLE frameToken) { - ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::swapWithFrameToken"); - context->onPreSwap(); - context->getState().getOverlay()->onSwap(); ANGLE_TRY(mImplementation->swapWithFrameToken(context, frameToken)); @@ -573,33 +561,12 @@ bool Surface::isRenderable(const gl::Context *context, return true; } -bool Surface::isYUV() const -{ - // EGL_EXT_yuv_surface is not implemented. - return false; -} - GLuint Surface::getId() const { UNREACHABLE(); return 0; } -Error Surface::getBufferAge(const gl::Context *context, EGLint *age) const -{ - // When EGL_BUFFER_PRESERVED, the previous frame contents are copied to - // current frame, so the buffer age is always 1. - if (mSwapBehavior == EGL_BUFFER_PRESERVED) - { - if (age != nullptr) - { - *age = 1; - } - return egl::NoError(); - } - return mImplementation->getBufferAge(context, age); -} - gl::Framebuffer *Surface::createDefaultFramebuffer(const gl::Context *context, egl::Surface *readSurface) { diff --git a/gfx/angle/checkout/src/libANGLE/Surface.h b/gfx/angle/checkout/src/libANGLE/Surface.h index f3a55d032f42..a45b022a1f35 100644 --- a/gfx/angle/checkout/src/libANGLE/Surface.h +++ b/gfx/angle/checkout/src/libANGLE/Surface.h @@ -74,7 +74,7 @@ class Surface : public LabeledObject, public gl::FramebufferAttachmentObject Error makeCurrent(const gl::Context *context); Error unMakeCurrent(const gl::Context *context); Error swap(const gl::Context *context); - Error swapWithDamage(const gl::Context *context, const EGLint *rects, EGLint n_rects); + Error swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects); Error swapWithFrameToken(const gl::Context *context, EGLFrameTokenANGLE frameToken); Error postSubBuffer(const gl::Context *context, EGLint x, @@ -144,7 +144,6 @@ class Surface : public LabeledObject, public gl::FramebufferAttachmentObject bool isRenderable(const gl::Context *context, GLenum binding, const gl::ImageIndex &imageIndex) const override; - bool isYUV() const override; void onAttach(const gl::Context *context, rx::Serial framebufferSerial) override {} void onDetach(const gl::Context *context, rx::Serial framebufferSerial) override {} @@ -186,8 +185,6 @@ class Surface : public LabeledObject, public gl::FramebufferAttachmentObject // otherwise. const gl::Offset &getTextureOffset() const { return mTextureOffset; } - Error getBufferAge(const gl::Context *context, EGLint *age) const; - protected: Surface(EGLint surfaceType, const egl::Config *config, diff --git a/gfx/angle/checkout/src/libANGLE/Texture.cpp b/gfx/angle/checkout/src/libANGLE/Texture.cpp index ae7ca6b97f05..0dd648cc3ee0 100644 --- a/gfx/angle/checkout/src/libANGLE/Texture.cpp +++ b/gfx/angle/checkout/src/libANGLE/Texture.cpp @@ -24,10 +24,6 @@ namespace gl namespace { -constexpr angle::SubjectIndex kBufferSubjectIndex = 2; -static_assert(kBufferSubjectIndex != rx::kTextureImageImplObserverMessageIndex, "Index collision"); -static_assert(kBufferSubjectIndex != rx::kTextureImageSiblingMessageIndex, "Index collision"); - bool IsPointSampled(const SamplerState &samplerState) { return (samplerState.getMagFilter() == GL_NEAREST && @@ -263,12 +259,6 @@ const ImageDesc &TextureState::getBaseLevelDesc() const return getImageDesc(getBaseImageTarget(), getEffectiveBaseLevel()); } -const ImageDesc &TextureState::getLevelZeroDesc() const -{ - ASSERT(mType != TextureType::CubeMap || isCubeComplete()); - return getImageDesc(getBaseImageTarget(), 0); -} - void TextureState::setCrop(const Rectangle &rect) { mCropRect = rect; @@ -325,7 +315,7 @@ bool TextureState::computeSamplerCompleteness(const SamplerState &samplerState, return true; } - if (!mImmutableFormat && mBaseLevel > mMaxLevel) + if (mBaseLevel > mMaxLevel) { return false; } @@ -723,7 +713,6 @@ Texture::Texture(rx::GLImplFactory *factory, TextureID id, TextureType type) mState(type), mTexture(factory->createTexture(mState)), mImplObserver(this, rx::kTextureImageImplObserverMessageIndex), - mBufferObserver(this, kBufferSubjectIndex), mLabel(), mBoundSurface(nullptr), mBoundStream(nullptr) @@ -819,10 +808,8 @@ GLenum Texture::getSwizzleAlpha() const void Texture::setMinFilter(const Context *context, GLenum minFilter) { - if (mState.mSamplerState.setMinFilter(minFilter)) - { - signalDirtyState(DIRTY_BIT_MIN_FILTER); - } + mState.mSamplerState.setMinFilter(minFilter); + signalDirtyState(DIRTY_BIT_MIN_FILTER); } GLenum Texture::getMinFilter() const @@ -832,10 +819,8 @@ GLenum Texture::getMinFilter() const void Texture::setMagFilter(const Context *context, GLenum magFilter) { - if (mState.mSamplerState.setMagFilter(magFilter)) - { - signalDirtyState(DIRTY_BIT_MAG_FILTER); - } + mState.mSamplerState.setMagFilter(magFilter); + signalDirtyState(DIRTY_BIT_MAG_FILTER); } GLenum Texture::getMagFilter() const @@ -845,10 +830,8 @@ GLenum Texture::getMagFilter() const void Texture::setWrapS(const Context *context, GLenum wrapS) { - if (mState.mSamplerState.setWrapS(wrapS)) - { - signalDirtyState(DIRTY_BIT_WRAP_S); - } + mState.mSamplerState.setWrapS(wrapS); + signalDirtyState(DIRTY_BIT_WRAP_S); } GLenum Texture::getWrapS() const @@ -858,12 +841,8 @@ GLenum Texture::getWrapS() const void Texture::setWrapT(const Context *context, GLenum wrapT) { - if (mState.mSamplerState.getWrapT() == wrapT) - return; - if (mState.mSamplerState.setWrapT(wrapT)) - { - signalDirtyState(DIRTY_BIT_WRAP_T); - } + mState.mSamplerState.setWrapT(wrapT); + signalDirtyState(DIRTY_BIT_WRAP_T); } GLenum Texture::getWrapT() const @@ -873,10 +852,8 @@ GLenum Texture::getWrapT() const void Texture::setWrapR(const Context *context, GLenum wrapR) { - if (mState.mSamplerState.setWrapR(wrapR)) - { - signalDirtyState(DIRTY_BIT_WRAP_R); - } + mState.mSamplerState.setWrapR(wrapR); + signalDirtyState(DIRTY_BIT_WRAP_R); } GLenum Texture::getWrapR() const @@ -886,10 +863,8 @@ GLenum Texture::getWrapR() const void Texture::setMaxAnisotropy(const Context *context, float maxAnisotropy) { - if (mState.mSamplerState.setMaxAnisotropy(maxAnisotropy)) - { - signalDirtyState(DIRTY_BIT_MAX_ANISOTROPY); - } + mState.mSamplerState.setMaxAnisotropy(maxAnisotropy); + signalDirtyState(DIRTY_BIT_MAX_ANISOTROPY); } float Texture::getMaxAnisotropy() const @@ -899,10 +874,8 @@ float Texture::getMaxAnisotropy() const void Texture::setMinLod(const Context *context, GLfloat minLod) { - if (mState.mSamplerState.setMinLod(minLod)) - { - signalDirtyState(DIRTY_BIT_MIN_LOD); - } + mState.mSamplerState.setMinLod(minLod); + signalDirtyState(DIRTY_BIT_MIN_LOD); } GLfloat Texture::getMinLod() const @@ -912,10 +885,8 @@ GLfloat Texture::getMinLod() const void Texture::setMaxLod(const Context *context, GLfloat maxLod) { - if (mState.mSamplerState.setMaxLod(maxLod)) - { - signalDirtyState(DIRTY_BIT_MAX_LOD); - } + mState.mSamplerState.setMaxLod(maxLod); + signalDirtyState(DIRTY_BIT_MAX_LOD); } GLfloat Texture::getMaxLod() const @@ -925,10 +896,8 @@ GLfloat Texture::getMaxLod() const void Texture::setCompareMode(const Context *context, GLenum compareMode) { - if (mState.mSamplerState.setCompareMode(compareMode)) - { - signalDirtyState(DIRTY_BIT_COMPARE_MODE); - } + mState.mSamplerState.setCompareMode(compareMode); + signalDirtyState(DIRTY_BIT_COMPARE_MODE); } GLenum Texture::getCompareMode() const @@ -938,10 +907,8 @@ GLenum Texture::getCompareMode() const void Texture::setCompareFunc(const Context *context, GLenum compareFunc) { - if (mState.mSamplerState.setCompareFunc(compareFunc)) - { - signalDirtyState(DIRTY_BIT_COMPARE_FUNC); - } + mState.mSamplerState.setCompareFunc(compareFunc); + signalDirtyState(DIRTY_BIT_COMPARE_FUNC); } GLenum Texture::getCompareFunc() const @@ -951,10 +918,8 @@ GLenum Texture::getCompareFunc() const void Texture::setSRGBDecode(const Context *context, GLenum sRGBDecode) { - if (mState.mSamplerState.setSRGBDecode(sRGBDecode)) - { - signalDirtyState(DIRTY_BIT_SRGB_DECODE); - } + mState.mSamplerState.setSRGBDecode(sRGBDecode); + signalDirtyState(DIRTY_BIT_SRGB_DECODE); } GLenum Texture::getSRGBDecode() const @@ -1523,12 +1488,13 @@ angle::Result Texture::setStorage(Context *context, mState.mImmutableFormat = true; mState.mImmutableLevels = static_cast(levels); + + ANGLE_TRY(mTexture->setStorage(context, type, levels, internalFormat, size)); + mState.clearImageDescs(); mState.setImageDescChain(0, static_cast(levels - 1), size, Format(internalFormat), InitState::MayNeedInit); - ANGLE_TRY(mTexture->setStorage(context, type, levels, internalFormat, size)); - // Changing the texture to immutable can trigger a change in the base and max levels: // GLES 3.0.4 section 3.8.10 pg 158: // "For immutable-format textures, levelbase is clamped to the range[0;levels],levelmax is then @@ -1586,15 +1552,15 @@ angle::Result Texture::setStorageMultisample(Context *context, const TextureCaps &formatCaps = context->getTextureCaps().get(internalFormat); samples = formatCaps.getNearestSamples(samples); + ANGLE_TRY(mTexture->setStorageMultisample(context, type, samples, internalFormat, size, + fixedSampleLocations)); + mState.mImmutableFormat = true; mState.mImmutableLevels = static_cast(1); mState.clearImageDescs(); mState.setImageDescChainMultisample(size, Format(internalFormat), samples, fixedSampleLocations, InitState::MayNeedInit); - ANGLE_TRY(mTexture->setStorageMultisample(context, type, samples, internalFormat, size, - fixedSampleLocations)); - signalDirtyStorage(InitState::MayNeedInit); return angle::Result::Continue; @@ -1908,17 +1874,6 @@ const ColorGeneric &Texture::getBorderColor() const return mState.mSamplerState.getBorderColor(); } -GLint Texture::getRequiredTextureImageUnits(const Context *context) const -{ - // Only external texture types can return non-1. - if (mState.mType != TextureType::External) - { - return 1; - } - - return mTexture->getRequiredExternalTextureImageUnits(context); -} - void Texture::setCrop(const Rectangle &rect) { mState.setCrop(rect); @@ -1941,34 +1896,16 @@ GLenum Texture::getGenerateMipmapHint() const angle::Result Texture::setBuffer(const gl::Context *context, gl::Buffer *buffer, - GLenum internalFormat) -{ - // Use 0 to indicate that the size is taken from whatever size the buffer has when the texture - // buffer is used. - return setBufferRange(context, buffer, internalFormat, 0, 0); -} - -angle::Result Texture::setBufferRange(const gl::Context *context, - gl::Buffer *buffer, - GLenum internalFormat, - GLintptr offset, - GLsizeiptr size) + GLenum internalFormat, + GLintptr offset, + GLsizeiptr size) { mState.mImmutableFormat = true; mState.mBuffer.set(context, buffer, offset, size); ANGLE_TRY(mTexture->setBuffer(context, internalFormat)); + mState.mImmutableLevels = static_cast(1); mState.clearImageDescs(); - if (buffer == nullptr) - { - mBufferObserver.reset(); - signalDirtyStorage(InitState::MayNeedInit); - return angle::Result::Continue; - } - - size = GetBoundBufferAvailableSize(mState.mBuffer); - - mState.mImmutableLevels = static_cast(1); InternalFormat internalFormatInfo = GetSizedInternalFormatInfo(internalFormat); Format format(internalFormat); Extents extents(static_cast(size / internalFormatInfo.pixelBytes), 1, 1); @@ -1977,9 +1914,6 @@ angle::Result Texture::setBufferRange(const gl::Context *context, signalDirtyStorage(InitState::MayNeedInit); - // Observe modifications to the buffer, so that extents can be updated. - mBufferObserver.bind(buffer); - return angle::Result::Continue; } @@ -2191,21 +2125,11 @@ void Texture::onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMess switch (message) { case angle::SubjectMessage::ContentsChanged: - if (index == kBufferSubjectIndex) - { - // If the contents of the buffer attached to a texture buffer has changed, mark the - // texture dirty. - signalDirtyState(DIRTY_BIT_IMPLEMENTATION); - onStateChange(angle::SubjectMessage::ContentsChanged); - } - else - { - // ContentsChange originates from TextureStorage11::resolveAndReleaseTexture - // which resolves the underlying multisampled texture if it exists and so - // Texture will signal dirty storage to invalidate its own cache and the - // attached framebuffer's cache. - signalDirtyStorage(InitState::Initialized); - } + // ContentsChange is originates from TextureStorage11::resolveAndReleaseTexture + // which resolves the underlying multisampled texture if it exists and so + // Texture will signal dirty storage to invalidate its own cache and the + // attached framebuffer's cache. + signalDirtyStorage(InitState::Initialized); break; case angle::SubjectMessage::DirtyBitsFlagged: signalDirtyState(DIRTY_BIT_IMPLEMENTATION); @@ -2226,25 +2150,6 @@ void Texture::onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMess { notifySiblings(message); } - else if (index == kBufferSubjectIndex) - { - const gl::Buffer *buffer = mState.mBuffer.get(); - ASSERT(buffer != nullptr); - - // Update cached image desc based on buffer size. - GLsizeiptr size = GetBoundBufferAvailableSize(mState.mBuffer); - - ImageDesc desc = mState.getImageDesc(TextureTarget::Buffer, 0); - const GLuint pixelBytes = desc.format.info->pixelBytes; - desc.size.width = static_cast(size / pixelBytes); - - mState.setImageDesc(TextureTarget::Buffer, 0, desc); - } - break; - case angle::SubjectMessage::SubjectMapped: - case angle::SubjectMessage::SubjectUnmapped: - case angle::SubjectMessage::BindingChanged: - ASSERT(index == kBufferSubjectIndex); break; default: UNREACHABLE(); diff --git a/gfx/angle/checkout/src/libANGLE/Texture.h b/gfx/angle/checkout/src/libANGLE/Texture.h index 1d038ad30164..840893ce1ac2 100644 --- a/gfx/angle/checkout/src/libANGLE/Texture.h +++ b/gfx/angle/checkout/src/libANGLE/Texture.h @@ -122,8 +122,8 @@ class TextureState final : private angle::NonCopyable bool isCubeComplete() const; - ANGLE_INLINE bool compatibleWithSamplerFormatForWebGL(SamplerFormat format, - const SamplerState &samplerState) const + ANGLE_INLINE bool compatibleWithSamplerFormat(SamplerFormat format, + const SamplerState &samplerState) const { if (!mCachedSamplerFormatValid || mCachedSamplerCompareMode != samplerState.getCompareMode()) @@ -152,7 +152,6 @@ class TextureState final : private angle::NonCopyable // Returns the desc of the base level. Only valid for cube-complete/mip-complete textures. const ImageDesc &getBaseLevelDesc() const; - const ImageDesc &getLevelZeroDesc() const; // GLES1 emulation: For GL_OES_draw_texture void setCrop(const Rectangle &rect); @@ -172,11 +171,11 @@ class TextureState final : private angle::NonCopyable InitState getInitState() const { return mInitState; } - const OffsetBindingPointer &getBuffer() const { return mBuffer; } - private: // Texture needs access to the ImageDesc functions. friend class Texture; + // TODO(jmadill): Remove TextureGL from friends. + friend class rx::TextureGL; friend bool operator==(const TextureState &a, const TextureState &b); bool computeSamplerCompleteness(const SamplerState &samplerState, const State &state) const; @@ -330,16 +329,13 @@ class Texture final : public RefCountObject, void setBorderColor(const Context *context, const ColorGeneric &color); const ColorGeneric &getBorderColor() const; - angle::Result setBuffer(const Context *context, gl::Buffer *buffer, GLenum internalFormat); - angle::Result setBufferRange(const Context *context, - gl::Buffer *buffer, - GLenum internalFormat, - GLintptr offset, - GLsizeiptr size); + angle::Result setBuffer(const Context *context, + gl::Buffer *buffer, + GLenum internalFormat, + GLintptr offset, + GLsizeiptr size); const OffsetBindingPointer &getBuffer() const; - GLint getRequiredTextureImageUnits(const Context *context) const; - const TextureState &getTextureState() const; const Extents &getExtents(TextureTarget target, size_t level) const; @@ -641,8 +637,6 @@ class Texture final : public RefCountObject, DirtyBits mDirtyBits; rx::TextureImpl *mTexture; angle::ObserverBinding mImplObserver; - // For EXT_texture_buffer, observes buffer changes. - angle::ObserverBinding mBufferObserver; std::string mLabel; diff --git a/gfx/angle/checkout/src/libANGLE/Thread.cpp b/gfx/angle/checkout/src/libANGLE/Thread.cpp index 6726a45438fd..7c05b7732784 100644 --- a/gfx/angle/checkout/src/libANGLE/Thread.cpp +++ b/gfx/angle/checkout/src/libANGLE/Thread.cpp @@ -19,10 +19,6 @@ bool gUseAndroidOpenGLTlsSlot; namespace egl { -namespace -{ -Debug *sDebug = nullptr; -} // namespace Thread::Thread() : mLabel(nullptr), @@ -46,29 +42,18 @@ void Thread::setSuccess() mError = EGL_SUCCESS; } -void Thread::setError(EGLint error, +void Thread::setError(const Error &error, + const Debug *debug, const char *command, - const LabeledObject *object, - const char *message) + const LabeledObject *object) { - mError = error; - if (error != EGL_SUCCESS && message) - { - EnsureDebugAllocated(); - sDebug->insertMessage(error, command, ErrorCodeToMessageType(error), getLabel(), - object ? object->getLabel() : nullptr, message); - } -} + ASSERT(debug != nullptr); -void Thread::setError(const Error &error, const char *command, const LabeledObject *object) -{ mError = error.getCode(); if (error.isError() && !error.getMessage().empty()) { - EnsureDebugAllocated(); - sDebug->insertMessage(error.getCode(), command, ErrorCodeToMessageType(error.getCode()), - getLabel(), object ? object->getLabel() : nullptr, - error.getMessage()); + debug->insertMessage(error.getCode(), command, ErrorCodeToMessageType(error.getCode()), + getLabel(), object ? object->getLabel() : nullptr, error.getMessage()); } } @@ -123,24 +108,4 @@ Display *Thread::getDisplay() const } return nullptr; } - -void EnsureDebugAllocated() -{ - // All EGL calls use a global lock, this is thread safe - if (sDebug == nullptr) - { - sDebug = new Debug(); - } -} - -void DeallocateDebug() -{ - SafeDelete(sDebug); -} - -Debug *GetDebug() -{ - EnsureDebugAllocated(); - return sDebug; -} } // namespace egl diff --git a/gfx/angle/checkout/src/libANGLE/Thread.h b/gfx/angle/checkout/src/libANGLE/Thread.h index d547088372f8..7f4cc5244ebd 100644 --- a/gfx/angle/checkout/src/libANGLE/Thread.h +++ b/gfx/angle/checkout/src/libANGLE/Thread.h @@ -39,14 +39,10 @@ class Thread : public LabeledObject EGLLabelKHR getLabel() const override; void setSuccess(); - - void setError(EGLint error, + void setError(const Error &error, + const Debug *debug, const char *command, - const LabeledObject *object, - const char *message); - - // TODO: Remove egl::Error. http://anglebug.com/3041 - void setError(const Error &error, const char *command, const LabeledObject *object); + const LabeledObject *object); EGLint getError() const; void setAPI(EGLenum api); @@ -65,10 +61,6 @@ class Thread : public LabeledObject gl::Context *mContext; }; -void EnsureDebugAllocated(); -void DeallocateDebug(); -Debug *GetDebug(); - } // namespace egl #endif // LIBANGLE_THREAD_H_ diff --git a/gfx/angle/checkout/src/libANGLE/TransformFeedback.cpp b/gfx/angle/checkout/src/libANGLE/TransformFeedback.cpp index 7fc3894260b4..cddc289f4149 100644 --- a/gfx/angle/checkout/src/libANGLE/TransformFeedback.cpp +++ b/gfx/angle/checkout/src/libANGLE/TransformFeedback.cpp @@ -134,9 +134,6 @@ angle::Result TransformFeedback::begin(const Context *context, PrimitiveMode primitiveMode, Program *program) { - // TODO: http://anglebug.com/5486: This method should take in as parameter a - // ProgramExecutable instead of a Program. - ANGLE_TRY(mImplementation->begin(context, primitiveMode)); mState.mActive = true; mState.mPrimitiveMode = primitiveMode; @@ -144,14 +141,10 @@ angle::Result TransformFeedback::begin(const Context *context, mState.mVerticesDrawn = 0; bindProgram(context, program); - // In one of the angle_unittests - "TransformFeedbackTest.SideEffectsOfStartAndStop" - // there is a code path where is a nullptr, account for that possiblity. - const ProgramExecutable *programExecutable = - context ? context->getState().getProgramExecutable() : nullptr; - if (programExecutable) + if (program) { // Compute the number of vertices we can draw before overflowing the bound buffers. - auto strides = programExecutable->getTransformFeedbackStrides(); + auto strides = program->getTransformFeedbackStrides(); ASSERT(strides.size() <= mState.mIndexedBuffers.size() && !strides.empty()); GLsizeiptr minCapacity = std::numeric_limits::max(); for (size_t index = 0; index < strides.size(); index++) diff --git a/gfx/angle/checkout/src/libANGLE/VaryingPacking.cpp b/gfx/angle/checkout/src/libANGLE/VaryingPacking.cpp index 827b8739b23a..25155eb7da18 100644 --- a/gfx/angle/checkout/src/libANGLE/VaryingPacking.cpp +++ b/gfx/angle/checkout/src/libANGLE/VaryingPacking.cpp @@ -13,7 +13,6 @@ #include "common/utilities.h" #include "libANGLE/Program.h" -#include "libANGLE/ProgramExecutable.h" #include "libANGLE/Shader.h" namespace gl @@ -25,163 +24,31 @@ namespace // true if varying x has a higher priority in packing than y bool ComparePackedVarying(const PackedVarying &x, const PackedVarying &y) { - // If the PackedVarying 'x' or 'y' to be compared is an array element for transform feedback, - // this clones an equivalent non-array shader variable 'vx' or 'vy' for actual comparison - // instead. For I/O block arrays, the array index is used in the comparison. + // If the PackedVarying 'x' or 'y' to be compared is an array element, this clones an equivalent + // non-array shader variable 'vx' or 'vy' for actual comparison instead. sh::ShaderVariable vx, vy; const sh::ShaderVariable *px, *py; px = &x.varying(); py = &y.varying(); - if (x.isTransformFeedbackArrayElement()) + if (x.isArrayElement()) { vx = *px; vx.arraySizes.clear(); px = &vx; } - if (y.isTransformFeedbackArrayElement()) + if (y.isArrayElement()) { vy = *py; vy.arraySizes.clear(); py = &vy; } - // Make sure struct fields end up together. - if (x.isStructField() != y.isStructField()) - { - return x.isStructField(); - } - - if (x.isStructField()) - { - ASSERT(y.isStructField()); - - if (x.getParentStructName() != y.getParentStructName()) - { - return x.getParentStructName() < y.getParentStructName(); - } - } - - // For I/O block fields, order first by array index: - if (!x.isTransformFeedbackArrayElement() && !y.isTransformFeedbackArrayElement()) - { - if (x.arrayIndex != y.arrayIndex) - { - return x.arrayIndex < y.arrayIndex; - } - } - - // Then order by field index - if (x.fieldIndex != y.fieldIndex) - { - return x.fieldIndex < y.fieldIndex; - } - - // Then order by secondary field index - if (x.secondaryFieldIndex != y.secondaryFieldIndex) - { - return x.secondaryFieldIndex < y.secondaryFieldIndex; - } - - // Otherwise order by variable return gl::CompareShaderVar(*px, *py); } -bool InterfaceVariablesMatch(const sh::ShaderVariable &front, const sh::ShaderVariable &back) -{ - // Matching ruels from 7.4.1 Shader Interface Matching from the GLES 3.2 spec: - // - the two variables match in name, type, and qualification; or - // - the two variables are declared with the same location qualifier and match in type and - // qualification. Note that we use a more permissive check here thanks to front-end validation. - if (back.location != -1 && back.location == front.location) - { - return true; - } - - if (front.isShaderIOBlock != back.isShaderIOBlock) - { - return false; - } - - // Compare names, or if shader I/O blocks, block names. - const std::string &backName = back.isShaderIOBlock ? back.structOrBlockName : back.name; - const std::string &frontName = front.isShaderIOBlock ? front.structOrBlockName : front.name; - return backName == frontName; -} - -GLint GetMaxShaderInputVectors(const Caps &caps, ShaderType shaderStage) -{ - switch (shaderStage) - { - case ShaderType::TessControl: - return caps.maxTessControlInputComponents / 4; - case ShaderType::TessEvaluation: - return caps.maxTessEvaluationInputComponents / 4; - case ShaderType::Geometry: - return caps.maxGeometryInputComponents / 4; - case ShaderType::Fragment: - return caps.maxFragmentInputComponents / 4; - default: - return std::numeric_limits::max(); - } -} - -GLint GetMaxShaderOutputVectors(const Caps &caps, ShaderType shaderStage) -{ - switch (shaderStage) - { - case ShaderType::Vertex: - return caps.maxVertexOutputComponents / 4; - case ShaderType::TessControl: - return caps.maxTessControlOutputComponents / 4; - case ShaderType::TessEvaluation: - return caps.maxTessEvaluationOutputComponents / 4; - case ShaderType::Geometry: - return caps.maxGeometryOutputComponents / 4; - default: - return std::numeric_limits::max(); - } -} - -bool ShouldSkipPackedVarying(const sh::ShaderVariable &varying, PackMode packMode) -{ - // Don't pack gl_Position. Also don't count gl_PointSize for D3D9. - return varying.name == "gl_Position" || - (varying.name == "gl_PointSize" && packMode == PackMode::ANGLE_NON_CONFORMANT_D3D9); -} - -std::vector StripVaryingArrayDimension(const sh::ShaderVariable *frontVarying, - ShaderType frontShaderStage, - const sh::ShaderVariable *backVarying, - ShaderType backShaderStage, - bool isStructField) -{ - // "Geometry shader inputs, tessellation control shader inputs and outputs, and tessellation - // evaluation inputs all have an additional level of arrayness relative to other shader inputs - // and outputs. This outer array level is removed from the type before considering how many - // locations the type consumes." - - if (backVarying && backVarying->isArray() && !backVarying->isPatch && !isStructField && - (backShaderStage == ShaderType::Geometry || backShaderStage == ShaderType::TessEvaluation || - backShaderStage == ShaderType::TessControl)) - { - std::vector arr = backVarying->arraySizes; - arr.pop_back(); - return arr; - } - - if (frontVarying && frontVarying->isArray() && !frontVarying->isPatch && !isStructField && - frontShaderStage == ShaderType::TessControl) - { - std::vector arr = frontVarying->arraySizes; - arr.pop_back(); - return arr; - } - - return frontVarying ? frontVarying->arraySizes : backVarying->arraySizes; -} } // anonymous namespace // Implementation of VaryingInShaderRef @@ -192,11 +59,9 @@ VaryingInShaderRef::VaryingInShaderRef(ShaderType stageIn, const sh::ShaderVaria VaryingInShaderRef::~VaryingInShaderRef() = default; VaryingInShaderRef::VaryingInShaderRef(VaryingInShaderRef &&other) - : varying(other.varying), - stage(other.stage), - parentStructName(std::move(other.parentStructName)), - parentStructMappedName(std::move(other.parentStructMappedName)) -{} +{ + *this = std::move(other); +} VaryingInShaderRef &VaryingInShaderRef::operator=(VaryingInShaderRef &&other) { @@ -212,40 +77,28 @@ VaryingInShaderRef &VaryingInShaderRef::operator=(VaryingInShaderRef &&other) PackedVarying::PackedVarying(VaryingInShaderRef &&frontVaryingIn, VaryingInShaderRef &&backVaryingIn, sh::InterpolationType interpolationIn) - : PackedVarying(std::move(frontVaryingIn), - std::move(backVaryingIn), - interpolationIn, - GL_INVALID_INDEX, - 0, - 0) + : PackedVarying(std::move(frontVaryingIn), std::move(backVaryingIn), interpolationIn, 0) {} PackedVarying::PackedVarying(VaryingInShaderRef &&frontVaryingIn, VaryingInShaderRef &&backVaryingIn, sh::InterpolationType interpolationIn, - GLuint arrayIndexIn, - GLuint fieldIndexIn, - GLuint secondaryFieldIndexIn) + GLuint fieldIndexIn) : frontVarying(std::move(frontVaryingIn)), backVarying(std::move(backVaryingIn)), interpolation(interpolationIn), - arrayIndex(arrayIndexIn), - isTransformFeedback(false), - fieldIndex(fieldIndexIn), - secondaryFieldIndex(secondaryFieldIndexIn) + arrayIndex(GL_INVALID_INDEX), + fieldIndex(fieldIndexIn) {} PackedVarying::~PackedVarying() = default; PackedVarying::PackedVarying(PackedVarying &&other) - : frontVarying(std::move(other.frontVarying)), - backVarying(std::move(other.backVarying)), - interpolation(other.interpolation), - arrayIndex(other.arrayIndex), - isTransformFeedback(other.isTransformFeedback), - fieldIndex(other.fieldIndex), - secondaryFieldIndex(other.secondaryFieldIndex) -{} + : frontVarying(other.frontVarying.stage, other.frontVarying.varying), + backVarying(other.backVarying.stage, other.backVarying.varying) +{ + *this = std::move(other); +} PackedVarying &PackedVarying::operator=(PackedVarying &&other) { @@ -253,27 +106,15 @@ PackedVarying &PackedVarying::operator=(PackedVarying &&other) std::swap(backVarying, other.backVarying); std::swap(interpolation, other.interpolation); std::swap(arrayIndex, other.arrayIndex); - std::swap(isTransformFeedback, other.isTransformFeedback); std::swap(fieldIndex, other.fieldIndex); - std::swap(secondaryFieldIndex, other.secondaryFieldIndex); return *this; } -unsigned int PackedVarying::getBasicTypeElementCount() const -{ - // "Geometry shader inputs, tessellation control shader inputs and outputs, and tessellation - // evaluation inputs all have an additional level of arrayness relative to other shader inputs - // and outputs. This outer array level is removed from the type before considering how many - // locations the type consumes." - std::vector arr = - StripVaryingArrayDimension(frontVarying.varying, frontVarying.stage, backVarying.varying, - backVarying.stage, isStructField()); - return arr.empty() ? 1u : arr.back(); -} - // Implementation of VaryingPacking -VaryingPacking::VaryingPacking() = default; +VaryingPacking::VaryingPacking(GLuint maxVaryingVectors, PackMode packMode) + : mRegisterMap(maxVaryingVectors), mPackMode(packMode) +{} VaryingPacking::~VaryingPacking() = default; @@ -283,15 +124,10 @@ void VaryingPacking::reset() mRegisterList.clear(); mPackedVaryings.clear(); - for (std::vector &inactiveVaryingMappedNames : mInactiveVaryingMappedNames) + for (std::vector inactiveVaryingMappedNames : mInactiveVaryingMappedNames) { inactiveVaryingMappedNames.clear(); } - - for (std::vector &activeBuiltIns : mActiveOutputBuiltIns) - { - activeBuiltIns.clear(); - } } void VaryingPacking::clearRegisterMap() @@ -303,8 +139,7 @@ void VaryingPacking::clearRegisterMap() // See [OpenGL ES Shading Language 1.00 rev. 17] appendix A section 7 page 111 // Also [OpenGL ES Shading Language 3.00 rev. 4] Section 11 page 119 // Returns false if unsuccessful. -bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, - const PackedVarying &packedVarying) +bool VaryingPacking::packVarying(const PackedVarying &packedVarying) { const sh::ShaderVariable &varying = packedVarying.varying(); @@ -319,14 +154,14 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, // Special pack mode for D3D9. Each varying takes a full register, no sharing. // TODO(jmadill): Implement more sophisticated component packing in D3D9. - if (packMode == PackMode::ANGLE_NON_CONFORMANT_D3D9) + if (mPackMode == PackMode::ANGLE_NON_CONFORMANT_D3D9) { varyingColumns = 4; } // "Variables of type mat2 occupies 2 complete rows." // For non-WebGL contexts, we allow mat2 to occupy only two columns per row. - else if (packMode == PackMode::WEBGL_STRICT && varying.type == GL_FLOAT_MAT2) + else if (mPackMode == PackMode::WEBGL_STRICT && varying.type == GL_FLOAT_MAT2) { varyingColumns = 4; } @@ -334,8 +169,8 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, // "Arrays of size N are assumed to take N times the size of the base type" // GLSL ES 3.10 section 4.3.6: Output variables cannot be arrays of arrays or arrays of // structures, so we may use getBasicTypeElementCount(). - const unsigned int elementCount = packedVarying.getBasicTypeElementCount(); - varyingRows *= (packedVarying.isTransformFeedbackArrayElement() ? 1 : elementCount); + const unsigned int elementCount = varying.getBasicTypeElementCount(); + varyingRows *= (packedVarying.isArrayElement() ? 1 : elementCount); unsigned int maxVaryingVectors = static_cast(mRegisterMap.size()); @@ -351,9 +186,9 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, { for (unsigned int row = 0; row <= maxVaryingVectors - varyingRows; ++row) { - if (isRegisterRangeFree(row, 0, varyingRows, varyingColumns)) + if (isFree(row, 0, varyingRows, varyingColumns)) { - insertVaryingIntoRegisterMap(row, 0, varyingColumns, packedVarying); + insert(row, 0, packedVarying); return true; } } @@ -365,9 +200,9 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, { for (unsigned int r = maxVaryingVectors - varyingRows + 1; r-- >= 1;) { - if (isRegisterRangeFree(r, 2, varyingRows, 2)) + if (isFree(r, 2, varyingRows, 2)) { - insertVaryingIntoRegisterMap(r, 2, varyingColumns, packedVarying); + insert(r, 2, packedVarying); return true; } } @@ -420,7 +255,7 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, { for (unsigned int row = 0; row < maxVaryingVectors; row++) { - if (isRegisterRangeFree(row, bestColumn, varyingRows, 1)) + if (isFree(row, bestColumn, varyingRows, 1)) { for (unsigned int arrayIndex = 0; arrayIndex < varyingRows; ++arrayIndex) { @@ -430,8 +265,7 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, registerInfo.registerRow = row + arrayIndex; registerInfo.registerColumn = bestColumn; registerInfo.varyingArrayIndex = - (packedVarying.isTransformFeedbackArrayElement() ? packedVarying.arrayIndex - : arrayIndex); + (packedVarying.isArrayElement() ? packedVarying.arrayIndex : arrayIndex); registerInfo.varyingRowIndex = 0; // Do not record register info for builtins. // TODO(jmadill): Clean this up. @@ -450,10 +284,10 @@ bool VaryingPacking::packVaryingIntoRegisterMap(PackMode packMode, return false; } -bool VaryingPacking::isRegisterRangeFree(unsigned int registerRow, - unsigned int registerColumn, - unsigned int varyingRows, - unsigned int varyingColumns) const +bool VaryingPacking::isFree(unsigned int registerRow, + unsigned int registerColumn, + unsigned int varyingRows, + unsigned int varyingColumns) const { for (unsigned int row = 0; row < varyingRows; ++row) { @@ -471,17 +305,18 @@ bool VaryingPacking::isRegisterRangeFree(unsigned int registerRow, return true; } -void VaryingPacking::insertVaryingIntoRegisterMap(unsigned int registerRow, - unsigned int registerColumn, - unsigned int varyingColumns, - const PackedVarying &packedVarying) +void VaryingPacking::insert(unsigned int registerRow, + unsigned int registerColumn, + const PackedVarying &packedVarying) { - unsigned int varyingRows = 0; + unsigned int varyingRows = 0; + unsigned int varyingColumns = 0; const sh::ShaderVariable &varying = packedVarying.varying(); ASSERT(!varying.isStruct()); GLenum transposedType = gl::TransposeMatrixType(varying.type); varyingRows = gl::VariableRowCount(transposedType); + varyingColumns = gl::VariableColumnCount(transposedType); PackedVaryingRegister registerInfo; registerInfo.packedVarying = &packedVarying; @@ -489,11 +324,10 @@ void VaryingPacking::insertVaryingIntoRegisterMap(unsigned int registerRow, // GLSL ES 3.10 section 4.3.6: Output variables cannot be arrays of arrays or arrays of // structures, so we may use getBasicTypeElementCount(). - const unsigned int arrayElementCount = packedVarying.getBasicTypeElementCount(); + const unsigned int arrayElementCount = varying.getBasicTypeElementCount(); for (unsigned int arrayElement = 0; arrayElement < arrayElementCount; ++arrayElement) { - if (packedVarying.isTransformFeedbackArrayElement() && - arrayElement != packedVarying.arrayIndex) + if (packedVarying.isArrayElement() && arrayElement != packedVarying.arrayIndex) { continue; } @@ -517,8 +351,8 @@ void VaryingPacking::insertVaryingIntoRegisterMap(unsigned int registerRow, } } -void VaryingPacking::collectUserVarying(const ProgramVaryingRef &ref, - VaryingUniqueFullNames *uniqueFullNames) +void VaryingPacking::packUserVarying(const ProgramVaryingRef &ref, + VaryingUniqueFullNames *uniqueFullNames) { const sh::ShaderVariable *input = ref.frontShader; const sh::ShaderVariable *output = ref.backShader; @@ -530,23 +364,21 @@ void VaryingPacking::collectUserVarying(const ProgramVaryingRef &ref, VaryingInShaderRef backVarying(ref.backShaderStage, output); mPackedVaryings.emplace_back(std::move(frontVarying), std::move(backVarying), interpolation); - if (input && !input->isBuiltIn()) + if (input) { (*uniqueFullNames)[ref.frontShaderStage].insert( mPackedVaryings.back().fullName(ref.frontShaderStage)); } - if (output && !output->isBuiltIn()) + if (output) { (*uniqueFullNames)[ref.backShaderStage].insert( mPackedVaryings.back().fullName(ref.backShaderStage)); } } -void VaryingPacking::collectUserVaryingField(const ProgramVaryingRef &ref, - GLuint arrayIndex, - GLuint fieldIndex, - GLuint secondaryFieldIndex, - VaryingUniqueFullNames *uniqueFullNames) +void VaryingPacking::packUserVaryingField(const ProgramVaryingRef &ref, + GLuint fieldIndex, + VaryingUniqueFullNames *uniqueFullNames) { const sh::ShaderVariable *input = ref.frontShader; const sh::ShaderVariable *output = ref.backShader; @@ -557,47 +389,24 @@ void VaryingPacking::collectUserVaryingField(const ProgramVaryingRef &ref, const sh::ShaderVariable *frontField = input ? &input->fields[fieldIndex] : nullptr; const sh::ShaderVariable *backField = output ? &output->fields[fieldIndex] : nullptr; - if (secondaryFieldIndex != GL_INVALID_INDEX) - { - frontField = frontField ? &frontField->fields[secondaryFieldIndex] : nullptr; - backField = backField ? &backField->fields[secondaryFieldIndex] : nullptr; - } - VaryingInShaderRef frontVarying(ref.frontShaderStage, frontField); VaryingInShaderRef backVarying(ref.backShaderStage, backField); if (input) { - if (frontField->isShaderIOBlock) - { - frontVarying.parentStructName = input->structOrBlockName; - frontVarying.parentStructMappedName = input->mappedStructOrBlockName; - } - else - { - ASSERT(!frontField->isStruct() && !frontField->isArray()); - frontVarying.parentStructName = input->name; - frontVarying.parentStructMappedName = input->mappedName; - } + ASSERT(!frontField->isStruct() && !frontField->isArray()); + frontVarying.parentStructName = input->name; + frontVarying.parentStructMappedName = input->mappedName; } if (output) { - if (backField->isShaderIOBlock) - { - backVarying.parentStructName = output->structOrBlockName; - backVarying.parentStructMappedName = output->mappedStructOrBlockName; - } - else - { - ASSERT(!backField->isStruct() && !backField->isArray()); - backVarying.parentStructName = output->name; - backVarying.parentStructMappedName = output->mappedName; - } + ASSERT(!backField->isStruct() && !backField->isArray()); + backVarying.parentStructName = output->name; + backVarying.parentStructMappedName = output->mappedName; } mPackedVaryings.emplace_back(std::move(frontVarying), std::move(backVarying), interpolation, - arrayIndex, fieldIndex, - secondaryFieldIndex == GL_INVALID_INDEX ? 0 : secondaryFieldIndex); + fieldIndex); if (input) { @@ -611,7 +420,7 @@ void VaryingPacking::collectUserVaryingField(const ProgramVaryingRef &ref, } } -void VaryingPacking::collectUserVaryingTF(const ProgramVaryingRef &ref, size_t subscript) +void VaryingPacking::packUserVaryingTF(const ProgramVaryingRef &ref, size_t subscript) { const sh::ShaderVariable *input = ref.frontShader; @@ -620,269 +429,77 @@ void VaryingPacking::collectUserVaryingTF(const ProgramVaryingRef &ref, size_t s mPackedVaryings.emplace_back(std::move(frontVarying), std::move(backVarying), input->interpolation); - mPackedVaryings.back().arrayIndex = static_cast(subscript); - mPackedVaryings.back().isTransformFeedback = true; + mPackedVaryings.back().arrayIndex = static_cast(subscript); } -void VaryingPacking::collectUserVaryingFieldTF(const ProgramVaryingRef &ref, - const sh::ShaderVariable &field, - GLuint fieldIndex, - GLuint secondaryFieldIndex) +void VaryingPacking::packUserVaryingFieldTF(const ProgramVaryingRef &ref, + const sh::ShaderVariable &field, + GLuint fieldIndex) { const sh::ShaderVariable *input = ref.frontShader; - const sh::ShaderVariable *frontField = &field; - if (secondaryFieldIndex != GL_INVALID_INDEX) - { - frontField = &frontField->fields[secondaryFieldIndex]; - } - - VaryingInShaderRef frontVarying(ref.frontShaderStage, frontField); + VaryingInShaderRef frontVarying(ref.frontShaderStage, &field); VaryingInShaderRef backVarying(ref.backShaderStage, nullptr); - if (frontField->isShaderIOBlock) - { - frontVarying.parentStructName = input->structOrBlockName; - frontVarying.parentStructMappedName = input->mappedStructOrBlockName; - } - else - { - ASSERT(!frontField->isStruct() && !frontField->isArray()); - frontVarying.parentStructName = input->name; - frontVarying.parentStructMappedName = input->mappedName; - } + frontVarying.parentStructName = input->name; + frontVarying.parentStructMappedName = input->mappedName; mPackedVaryings.emplace_back(std::move(frontVarying), std::move(backVarying), - input->interpolation, GL_INVALID_INDEX, fieldIndex, - secondaryFieldIndex == GL_INVALID_INDEX ? 0 : secondaryFieldIndex); -} - -void VaryingPacking::collectVarying(const sh::ShaderVariable &varying, - const ProgramVaryingRef &ref, - PackMode packMode, - VaryingUniqueFullNames *uniqueFullNames) -{ - const sh::ShaderVariable *input = ref.frontShader; - const sh::ShaderVariable *output = ref.backShader; - - if (varying.isStruct()) - { - std::vector arraySizes = StripVaryingArrayDimension( - ref.frontShader, ref.frontShaderStage, ref.backShader, ref.backShaderStage, false); - const bool isArray = !arraySizes.empty(); - const GLuint arraySize = isArray ? arraySizes[0] : 1; - - for (GLuint arrayIndex = 0; arrayIndex < arraySize; ++arrayIndex) - { - const GLuint effectiveArrayIndex = isArray ? arrayIndex : GL_INVALID_INDEX; - for (GLuint fieldIndex = 0; fieldIndex < varying.fields.size(); ++fieldIndex) - { - const sh::ShaderVariable &fieldVarying = varying.fields[fieldIndex]; - if (ShouldSkipPackedVarying(fieldVarying, packMode)) - { - continue; - } - - if (fieldVarying.isStruct()) - { - if (fieldVarying.isArray()) - { - unsigned int structFieldArraySize = fieldVarying.arraySizes[0]; - for (unsigned int fieldArrayIndex = 0; - fieldArrayIndex < structFieldArraySize; ++fieldArrayIndex) - { - for (GLuint nestedIndex = 0; nestedIndex < fieldVarying.fields.size(); - nestedIndex++) - { - collectUserVaryingField(ref, effectiveArrayIndex, fieldIndex, - nestedIndex, uniqueFullNames); - } - } - } - else - { - for (GLuint nestedIndex = 0; nestedIndex < fieldVarying.fields.size(); - nestedIndex++) - { - collectUserVaryingField(ref, effectiveArrayIndex, fieldIndex, - nestedIndex, uniqueFullNames); - } - } - } - else - { - collectUserVaryingField(ref, effectiveArrayIndex, fieldIndex, GL_INVALID_INDEX, - uniqueFullNames); - } - } - } - if (input) - { - (*uniqueFullNames)[ref.frontShaderStage].insert(input->name); - if (input->isShaderIOBlock) - { - (*uniqueFullNames)[ref.frontShaderStage].insert(input->structOrBlockName); - } - } - if (output) - { - (*uniqueFullNames)[ref.backShaderStage].insert(output->name); - } - } - else - { - collectUserVarying(ref, uniqueFullNames); - } -} - -void VaryingPacking::collectTFVarying(const std::string &tfVarying, - const ProgramVaryingRef &ref, - VaryingUniqueFullNames *uniqueFullNames) -{ - const sh::ShaderVariable *input = ref.frontShader; - - std::vector subscripts; - std::string baseName = ParseResourceName(tfVarying, &subscripts); - - // Already packed as active varying. - if ((*uniqueFullNames)[ref.frontShaderStage].count(tfVarying) > 0 || - (*uniqueFullNames)[ref.frontShaderStage].count(baseName) > 0 || - (input->isShaderIOBlock && - (*uniqueFullNames)[ref.frontShaderStage].count(input->structOrBlockName) > 0)) - { - return; - } - - if (input->isStruct()) - { - GLuint fieldIndex = 0; - const sh::ShaderVariable *field = input->findField(tfVarying, &fieldIndex); - if (field != nullptr) - { - ASSERT(input->isShaderIOBlock || (!field->isStruct() && !field->isArray())); - - // If it's an I/O block whose member is being captured, pack every member of the - // block. Currently, we pack either all or none of an I/O block. - if (input->isShaderIOBlock) - { - for (fieldIndex = 0; fieldIndex < input->fields.size(); ++fieldIndex) - { - if (input->fields[fieldIndex].isStruct()) - { - - for (GLuint nestedIndex = 0; - nestedIndex < input->fields[fieldIndex].fields.size(); nestedIndex++) - { - collectUserVaryingFieldTF(ref, input->fields[fieldIndex], fieldIndex, - nestedIndex); - } - } - else - { - collectUserVaryingFieldTF(ref, input->fields[fieldIndex], fieldIndex, - GL_INVALID_INDEX); - } - } - - (*uniqueFullNames)[ref.frontShaderStage].insert(input->structOrBlockName); - } - else - { - collectUserVaryingFieldTF(ref, *field, fieldIndex, GL_INVALID_INDEX); - } - (*uniqueFullNames)[ref.frontShaderStage].insert(tfVarying); - (*uniqueFullNames)[ref.frontShaderStage].insert(input->name); - } - } - // Array as a whole and array element conflict has already been checked in - // linkValidateTransformFeedback. - else if (baseName == input->name) - { - size_t subscript = GL_INVALID_INDEX; - if (!subscripts.empty()) - { - subscript = subscripts.back(); - } - - // only pack varyings that are not builtins. - if (tfVarying.compare(0, 3, "gl_") != 0) - { - collectUserVaryingTF(ref, subscript); - (*uniqueFullNames)[ref.frontShaderStage].insert(tfVarying); - } - } + input->interpolation, fieldIndex); } bool VaryingPacking::collectAndPackUserVaryings(gl::InfoLog &infoLog, - GLint maxVaryingVectors, - PackMode packMode, - ShaderType frontShaderStage, - ShaderType backShaderStage, const ProgramMergedVaryings &mergedVaryings, const std::vector &tfVaryings, const bool isSeparableProgram) { VaryingUniqueFullNames uniqueFullNames; - - reset(); + mPackedVaryings.clear(); + clearRegisterMap(); for (const ProgramVaryingRef &ref : mergedVaryings) { const sh::ShaderVariable *input = ref.frontShader; const sh::ShaderVariable *output = ref.backShader; - if ((input && ref.frontShaderStage != frontShaderStage) || - (output && ref.backShaderStage != backShaderStage)) - { - continue; - } - - const bool isActiveBuiltInInput = input && input->isBuiltIn() && input->active; - const bool isActiveBuiltInOutput = output && output->isBuiltIn() && output->active; - - // Keep track of output builtins that are used by the shader, such as gl_Position, - // gl_PointSize etc. - if (isActiveBuiltInInput) - { - mActiveOutputBuiltIns[ref.frontShaderStage].push_back(input->name); - // Keep track of members of builtins, such as gl_out[].gl_Position, too. - for (sh::ShaderVariable field : input->fields) - { - mActiveOutputBuiltIns[ref.frontShaderStage].push_back(field.name); - } - } - // Only pack statically used varyings that have a matched input or output, plus special // builtins. Note that we pack all statically used user-defined varyings even if they are // not active. GLES specs are a bit vague on whether it's allowed to only pack active // varyings, though GLES 3.1 spec section 11.1.2.1 says that "device-dependent // optimizations" may be used to make vertex shader outputs fit. - // - // When separable programs are linked, varyings at the separable program's boundary are - // treated as active. See section 7.4.1 in - // https://www.khronos.org/registry/OpenGL/specs/es/3.2/es_spec_3.2.pdf - bool matchedInputOutputStaticUse = (input && output && output->staticUse); - bool activeBuiltIn = (isActiveBuiltInInput || isActiveBuiltInOutput); - - // Output variable in TCS can be read as input in another invocation by barrier. - // See section 11.2.1.2.4 Tessellation Control Shader Execution Order in OpenGL ES 3.2. - bool staticUseInTCS = - (input && input->staticUse && ref.frontShaderStage == ShaderType::TessControl); - - // Separable program requirements - bool separableActiveInput = (input && (input->active || !output)); - bool separableActiveOutput = (output && (output->active || !input)); - bool separableActiveVarying = - (isSeparableProgram && (separableActiveInput || separableActiveOutput)); - - if (matchedInputOutputStaticUse || activeBuiltIn || separableActiveVarying || - staticUseInTCS) + if ((input && output && output->staticUse) || + (input && input->isBuiltIn() && input->active) || + (output && output->isBuiltIn() && output->active) || + (isSeparableProgram && ((input && input->active) || (output && output->active)))) { const sh::ShaderVariable *varying = output ? output : input; - if (!ShouldSkipPackedVarying(*varying, packMode)) + // Don't count gl_Position. Also don't count gl_PointSize for D3D9. + if (varying->name != "gl_Position" && + !(varying->name == "gl_PointSize" && + mPackMode == PackMode::ANGLE_NON_CONFORMANT_D3D9)) { - collectVarying(*varying, ref, packMode, &uniqueFullNames); + if (varying->isStruct()) + { + ASSERT(!(varying->isArray() && varying == input)); + + for (GLuint fieldIndex = 0; fieldIndex < varying->fields.size(); ++fieldIndex) + { + packUserVaryingField(ref, fieldIndex, &uniqueFullNames); + } + if (input) + { + uniqueFullNames[ref.frontShaderStage].insert(input->name); + } + if (output) + { + uniqueFullNames[ref.backShaderStage].insert(output->name); + } + } + else + { + packUserVarying(ref, &uniqueFullNames); + } continue; } } @@ -891,65 +508,82 @@ bool VaryingPacking::collectAndPackUserVaryings(gl::InfoLog &infoLog, // program, in which case the input shader may not exist in this program. if (!input && !isSeparableProgram) { - if (!output->isBuiltIn()) - { - mInactiveVaryingMappedNames[ref.backShaderStage].push_back(output->mappedName); - if (output->isShaderIOBlock) - { - mInactiveVaryingMappedNames[ref.backShaderStage].push_back( - output->mappedStructOrBlockName); - } - } + mInactiveVaryingMappedNames[ref.backShaderStage].push_back(output->mappedName); continue; } // Keep Transform FB varyings in the merged list always. for (const std::string &tfVarying : tfVaryings) { - collectTFVarying(tfVarying, ref, &uniqueFullNames); + std::vector subscripts; + std::string baseName = ParseResourceName(tfVarying, &subscripts); + size_t subscript = GL_INVALID_INDEX; + if (!subscripts.empty()) + { + subscript = subscripts.back(); + } + // Already packed for fragment shader. + if (uniqueFullNames[ref.frontShaderStage].count(tfVarying) > 0 || + uniqueFullNames[ref.frontShaderStage].count(baseName) > 0) + { + continue; + } + if (input->isStruct()) + { + GLuint fieldIndex = 0; + const sh::ShaderVariable *field = input->findField(tfVarying, &fieldIndex); + if (field != nullptr) + { + ASSERT(!field->isStruct() && !field->isArray()); + + packUserVaryingFieldTF(ref, *field, fieldIndex); + uniqueFullNames[ref.frontShaderStage].insert(tfVarying); + } + uniqueFullNames[ref.frontShaderStage].insert(input->name); + } + // Array as a whole and array element conflict has already been checked in + // linkValidateTransformFeedback. + else if (baseName == input->name) + { + // only pack varyings that are not builtins. + if (tfVarying.compare(0, 3, "gl_") != 0) + { + packUserVaryingTF(ref, subscript); + uniqueFullNames[ref.frontShaderStage].insert(tfVarying); + } + // Continue to match next array element for 'input' if the current match is array + // element. + if (subscript == GL_INVALID_INDEX) + { + break; + } + } } - if (input && !input->isBuiltIn() && - uniqueFullNames[ref.frontShaderStage].count(input->name) == 0) + if (input && uniqueFullNames[ref.frontShaderStage].count(input->name) == 0) { mInactiveVaryingMappedNames[ref.frontShaderStage].push_back(input->mappedName); - if (input->isShaderIOBlock) - { - mInactiveVaryingMappedNames[ref.frontShaderStage].push_back( - input->mappedStructOrBlockName); - } } - if (output && !output->isBuiltIn() && - uniqueFullNames[ref.backShaderStage].count(output->name) == 0) + if (output && uniqueFullNames[ref.backShaderStage].count(output->name) == 0) { mInactiveVaryingMappedNames[ref.backShaderStage].push_back(output->mappedName); - if (output->isShaderIOBlock) - { - mInactiveVaryingMappedNames[ref.backShaderStage].push_back( - output->mappedStructOrBlockName); - } } } std::sort(mPackedVaryings.begin(), mPackedVaryings.end(), ComparePackedVarying); - return packUserVaryings(infoLog, maxVaryingVectors, packMode, mPackedVaryings); + return packUserVaryings(infoLog, mPackedVaryings); } // See comment on packVarying. bool VaryingPacking::packUserVaryings(gl::InfoLog &infoLog, - GLint maxVaryingVectors, - PackMode packMode, const std::vector &packedVaryings) { - clearRegisterMap(); - mRegisterMap.resize(maxVaryingVectors); - // "Variables are packed into the registers one at a time so that they each occupy a contiguous // subrectangle. No splitting of variables is permitted." for (const PackedVarying &packedVarying : packedVaryings) { - if (!packVaryingIntoRegisterMap(packMode, packedVarying)) + if (!packVarying(packedVarying)) { ShaderType eitherStage = packedVarying.frontVarying.varying ? packedVarying.frontVarying.stage @@ -957,7 +591,7 @@ bool VaryingPacking::packUserVaryings(gl::InfoLog &infoLog, infoLog << "Could not pack varying " << packedVarying.fullName(eitherStage); // TODO(jmadill): Implement more sophisticated component packing in D3D9. - if (packMode == PackMode::ANGLE_NON_CONFORMANT_D3D9) + if (mPackMode == PackMode::ANGLE_NON_CONFORMANT_D3D9) { infoLog << "Note: Additional non-conformant packing restrictions are enforced on " "D3D9."; @@ -972,190 +606,4 @@ bool VaryingPacking::packUserVaryings(gl::InfoLog &infoLog, return true; } - -// ProgramVaryingPacking implementation. -ProgramVaryingPacking::ProgramVaryingPacking() = default; - -ProgramVaryingPacking::~ProgramVaryingPacking() = default; - -const VaryingPacking &ProgramVaryingPacking::getInputPacking(ShaderType backShaderStage) const -{ - ShaderType frontShaderStage = mBackToFrontStageMap[backShaderStage]; - - // If there's a missing shader stage, return the compute shader packing which is always empty. - if (frontShaderStage == ShaderType::InvalidEnum) - { - ASSERT(mVaryingPackings[ShaderType::Compute].getMaxSemanticIndex() == 0); - return mVaryingPackings[ShaderType::Compute]; - } - - return mVaryingPackings[frontShaderStage]; -} - -const VaryingPacking &ProgramVaryingPacking::getOutputPacking(ShaderType frontShaderStage) const -{ - return mVaryingPackings[frontShaderStage]; -} - -bool ProgramVaryingPacking::collectAndPackUserVaryings(InfoLog &infoLog, - const Caps &caps, - PackMode packMode, - const ShaderBitSet &activeShadersMask, - const ProgramMergedVaryings &mergedVaryings, - const std::vector &tfVaryings, - bool isSeparableProgram) -{ - mBackToFrontStageMap.fill(ShaderType::InvalidEnum); - - ShaderBitSet activeShaders = activeShadersMask; - - ASSERT(activeShaders.any()); - ShaderType frontShaderStage = activeShaders.first(); - activeShaders[frontShaderStage] = false; - - // Special case for start-after-vertex. - if (frontShaderStage != ShaderType::Vertex) - { - ASSERT(isSeparableProgram); - - ShaderType emulatedFrontShaderStage = ShaderType::Vertex; - ShaderType backShaderStage = frontShaderStage; - - if (!mVaryingPackings[emulatedFrontShaderStage].collectAndPackUserVaryings( - infoLog, GetMaxShaderInputVectors(caps, backShaderStage), packMode, - ShaderType::InvalidEnum, backShaderStage, mergedVaryings, tfVaryings, - isSeparableProgram)) - { - return false; - } - mBackToFrontStageMap[backShaderStage] = emulatedFrontShaderStage; - } - - // Process input/output shader pairs. - for (ShaderType backShaderStage : activeShaders) - { - GLint maxVaryingVectors; - if (frontShaderStage == ShaderType::Vertex && backShaderStage == ShaderType::Fragment) - { - maxVaryingVectors = caps.maxVaryingVectors; - } - else - { - GLint outputVaryingsMax = GetMaxShaderOutputVectors(caps, frontShaderStage); - GLint inputVaryingsMax = GetMaxShaderInputVectors(caps, backShaderStage); - maxVaryingVectors = std::min(inputVaryingsMax, outputVaryingsMax); - } - - ASSERT(maxVaryingVectors > 0 && maxVaryingVectors < std::numeric_limits::max()); - - if (!mVaryingPackings[frontShaderStage].collectAndPackUserVaryings( - infoLog, maxVaryingVectors, packMode, frontShaderStage, backShaderStage, - mergedVaryings, tfVaryings, isSeparableProgram)) - { - return false; - } - - mBackToFrontStageMap[backShaderStage] = frontShaderStage; - frontShaderStage = backShaderStage; - } - - // Special case for stop-before-fragment. - if (frontShaderStage != ShaderType::Fragment) - { - ASSERT(isSeparableProgram); - - if (!mVaryingPackings[frontShaderStage].collectAndPackUserVaryings( - infoLog, GetMaxShaderOutputVectors(caps, frontShaderStage), packMode, - frontShaderStage, ShaderType::InvalidEnum, mergedVaryings, tfVaryings, - isSeparableProgram)) - { - return false; - } - - ShaderType emulatedBackShaderStage = ShaderType::Fragment; - mBackToFrontStageMap[emulatedBackShaderStage] = frontShaderStage; - } - - return true; -} - -ProgramMergedVaryings GetMergedVaryingsFromShaders(const HasAttachedShaders &programOrPipeline, - const ProgramExecutable &programExecutable) -{ - ShaderType frontShaderType = ShaderType::InvalidEnum; - ProgramMergedVaryings merged; - - for (ShaderType backShaderType : kAllGraphicsShaderTypes) - { - Shader *backShader = programOrPipeline.getAttachedShader(backShaderType); - - if (!backShader && !programExecutable.hasLinkedShaderStage(backShaderType)) - { - continue; - } - - const std::vector &backShaderOutputVaryings = - backShader ? backShader->getOutputVaryings() - : programExecutable.getLinkedOutputVaryings(backShaderType); - const std::vector &backShaderInputVaryings = - backShader ? backShader->getInputVaryings() - : programExecutable.getLinkedInputVaryings(backShaderType); - - // Add outputs. These are always unmatched since we walk shader stages sequentially. - for (const sh::ShaderVariable &frontVarying : backShaderOutputVaryings) - { - ProgramVaryingRef ref; - ref.frontShader = &frontVarying; - ref.frontShaderStage = backShaderType; - merged.push_back(ref); - } - - if (frontShaderType == ShaderType::InvalidEnum) - { - // If this is our first shader stage, and not a VS, we might have unmatched inputs. - for (const sh::ShaderVariable &backVarying : backShaderInputVaryings) - { - ProgramVaryingRef ref; - ref.backShader = &backVarying; - ref.backShaderStage = backShaderType; - merged.push_back(ref); - } - } - else - { - // Match inputs with the prior shader stage outputs. - for (const sh::ShaderVariable &backVarying : backShaderInputVaryings) - { - bool found = false; - for (ProgramVaryingRef &ref : merged) - { - if (ref.frontShader && ref.frontShaderStage == frontShaderType && - InterfaceVariablesMatch(*ref.frontShader, backVarying)) - { - ASSERT(ref.backShader == nullptr); - - ref.backShader = &backVarying; - ref.backShaderStage = backShaderType; - found = true; - break; - } - } - - // Some outputs are never matched, e.g. some builtin variables. - if (!found) - { - ProgramVaryingRef ref; - ref.backShader = &backVarying; - ref.backShaderStage = backShaderType; - merged.push_back(ref); - } - } - } - - // Save the current back shader to use as the next front shader. - frontShaderType = backShaderType; - } - - return merged; -} } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/VaryingPacking.h b/gfx/angle/checkout/src/libANGLE/VaryingPacking.h index 202cc21413ed..251191d50d17 100644 --- a/gfx/angle/checkout/src/libANGLE/VaryingPacking.h +++ b/gfx/angle/checkout/src/libANGLE/VaryingPacking.h @@ -22,10 +22,7 @@ namespace gl { -class HasAttachedShaders; class InfoLog; -class ProgramExecutable; -struct Caps; struct ProgramVaryingRef; using ProgramMergedVaryings = std::vector; @@ -69,9 +66,7 @@ struct PackedVarying : angle::NonCopyable PackedVarying(VaryingInShaderRef &&frontVaryingIn, VaryingInShaderRef &&backVaryingIn, sh::InterpolationType interpolationIn, - GLuint arrayIndexIn, - GLuint fieldIndexIn, - GLuint secondaryFieldIndexIn); + GLuint fieldIndexIn); PackedVarying(PackedVarying &&other); ~PackedVarying(); @@ -83,10 +78,7 @@ struct PackedVarying : angle::NonCopyable : !backVarying.parentStructName.empty(); } - bool isTransformFeedbackArrayElement() const - { - return isTransformFeedback && arrayIndex != GL_INVALID_INDEX; - } + bool isArrayElement() const { return arrayIndex != GL_INVALID_INDEX; } // Return either front or back varying, whichever is available. Only used when the name of the // varying is not important, but only the type is interesting. @@ -95,12 +87,6 @@ struct PackedVarying : angle::NonCopyable return frontVarying.varying ? *frontVarying.varying : *backVarying.varying; } - const std::string &getParentStructName() const - { - ASSERT(isStructField()); - return frontVarying.varying ? frontVarying.parentStructName : backVarying.parentStructName; - } - std::string fullName(ShaderType stage) const { ASSERT(stage == frontVarying.stage || stage == backVarying.stage); @@ -127,24 +113,17 @@ struct PackedVarying : angle::NonCopyable return frontVarying.stage == ShaderType::Vertex && backVarying.varying == nullptr; } - // Special handling for GS/TS array inputs. - unsigned int getBasicTypeElementCount() const; - VaryingInShaderRef frontVarying; VaryingInShaderRef backVarying; // Cached so we can store sh::ShaderVariable to point to varying fields. sh::InterpolationType interpolation; - // Used by varyings that are captured with transform feedback, xor arrays of shader I/O blocks, - // distinguished by isTransformFeedback; GLuint arrayIndex; - bool isTransformFeedback; // Field index in the struct. In Vulkan, this is used to assign a // struct-typed varying location to the location of its first field. GLuint fieldIndex; - GLuint secondaryFieldIndex; }; struct PackedVaryingRegister final @@ -208,17 +187,15 @@ enum class PackMode class VaryingPacking final : angle::NonCopyable { public: - VaryingPacking(); + VaryingPacking(GLuint maxVaryingVectors, PackMode packMode); ~VaryingPacking(); - ANGLE_NO_DISCARD bool collectAndPackUserVaryings(InfoLog &infoLog, - GLint maxVaryingVectors, - PackMode packMode, - ShaderType frontShaderStage, - ShaderType backShaderStage, - const ProgramMergedVaryings &mergedVaryings, - const std::vector &tfVaryings, - const bool isSeparableProgram); + bool packUserVaryings(gl::InfoLog &infoLog, const std::vector &packedVaryings); + + bool collectAndPackUserVaryings(gl::InfoLog &infoLog, + const ProgramMergedVaryings &mergedVaryings, + const std::vector &tfVaryings, + const bool isSeparableProgram); struct Register { @@ -244,87 +221,38 @@ class VaryingPacking final : angle::NonCopyable return mInactiveVaryingMappedNames; } - const ShaderMap> &getActiveOutputBuiltInNames() const - { - return mActiveOutputBuiltIns; - } - void reset(); private: + bool packVarying(const PackedVarying &packedVarying); + bool isFree(unsigned int registerRow, + unsigned int registerColumn, + unsigned int varyingRows, + unsigned int varyingColumns) const; + void insert(unsigned int registerRow, + unsigned int registerColumn, + const PackedVarying &packedVarying); + using VaryingUniqueFullNames = ShaderMap>; + void packUserVarying(const ProgramVaryingRef &ref, VaryingUniqueFullNames *uniqueFullNames); + void packUserVaryingField(const ProgramVaryingRef &ref, + GLuint fieldIndex, + VaryingUniqueFullNames *uniqueFullNames); + void packUserVaryingTF(const ProgramVaryingRef &ref, size_t subscript); + void packUserVaryingFieldTF(const ProgramVaryingRef &ref, + const sh::ShaderVariable &field, + GLuint fieldIndex); - // Register map functions. - bool packUserVaryings(InfoLog &infoLog, - GLint maxVaryingVectors, - PackMode packMode, - const std::vector &packedVaryings); - bool packVaryingIntoRegisterMap(PackMode packMode, const PackedVarying &packedVarying); - bool isRegisterRangeFree(unsigned int registerRow, - unsigned int registerColumn, - unsigned int varyingRows, - unsigned int varyingColumns) const; - void insertVaryingIntoRegisterMap(unsigned int registerRow, - unsigned int registerColumn, - unsigned int varyingColumns, - const PackedVarying &packedVarying); void clearRegisterMap(); - // Collection functions. - void collectUserVarying(const ProgramVaryingRef &ref, VaryingUniqueFullNames *uniqueFullNames); - void collectUserVaryingField(const ProgramVaryingRef &ref, - GLuint arrayIndex, - GLuint fieldIndex, - GLuint secondaryFieldIndex, - VaryingUniqueFullNames *uniqueFullNames); - void collectUserVaryingTF(const ProgramVaryingRef &ref, size_t subscript); - void collectUserVaryingFieldTF(const ProgramVaryingRef &ref, - const sh::ShaderVariable &field, - GLuint fieldIndex, - GLuint secondaryFieldIndex); - void collectVarying(const sh::ShaderVariable &varying, - const ProgramVaryingRef &ref, - PackMode packMode, - VaryingUniqueFullNames *uniqueFullNames); - void collectTFVarying(const std::string &tfVarying, - const ProgramVaryingRef &ref, - VaryingUniqueFullNames *uniqueFullNames); - std::vector mRegisterMap; std::vector mRegisterList; std::vector mPackedVaryings; ShaderMap> mInactiveVaryingMappedNames; - ShaderMap> mActiveOutputBuiltIns; + + PackMode mPackMode; }; -class ProgramVaryingPacking final : angle::NonCopyable -{ - public: - ProgramVaryingPacking(); - ~ProgramVaryingPacking(); - - const VaryingPacking &getInputPacking(ShaderType backShaderStage) const; - const VaryingPacking &getOutputPacking(ShaderType frontShaderStage) const; - - ANGLE_NO_DISCARD bool collectAndPackUserVaryings(InfoLog &infoLog, - const Caps &caps, - PackMode packMode, - const ShaderBitSet &activeShadersMask, - const ProgramMergedVaryings &mergedVaryings, - const std::vector &tfVaryings, - bool isSeparableProgram); - - private: - // Indexed by the front shader. - ShaderMap mVaryingPackings; - - // Looks up the front stage from the back stage. - ShaderMap mBackToFrontStageMap; -}; - -// Takes an abstract handle to a program or pipeline. -ProgramMergedVaryings GetMergedVaryingsFromShaders(const HasAttachedShaders &programOrPipeline, - const ProgramExecutable &programExecutable); } // namespace gl #endif // LIBANGLE_VARYINGPACKING_H_ diff --git a/gfx/angle/checkout/src/libANGLE/VertexArray.cpp b/gfx/angle/checkout/src/libANGLE/VertexArray.cpp index 281f3adad7a4..8987129ec1ef 100644 --- a/gfx/angle/checkout/src/libANGLE/VertexArray.cpp +++ b/gfx/angle/checkout/src/libANGLE/VertexArray.cpp @@ -90,20 +90,7 @@ void VertexArrayState::setAttribBinding(const Context *context, bool isMapped = newBinding.getBuffer().get() && newBinding.getBuffer()->isMapped(); mCachedMappedArrayBuffers.set(attribIndex, isMapped); - mEnabledAttributesMask.set(attribIndex, attrib.enabled); - updateCachedMutableOrNonPersistentArrayBuffers(attribIndex); - mCachedInvalidMappedArrayBuffer = mCachedMappedArrayBuffers & mEnabledAttributesMask & - mCachedMutableOrImpersistentArrayBuffers; -} - -void VertexArrayState::updateCachedMutableOrNonPersistentArrayBuffers(size_t index) -{ - const VertexBinding &vertexBinding = mVertexBindings[index]; - const BindingPointer &buffer = vertexBinding.getBuffer(); - bool isMutableOrImpersistentArrayBuffer = - buffer.get() && - (!buffer->isImmutable() || (buffer->getAccessFlags() & GL_MAP_PERSISTENT_BIT_EXT) == 0); - mCachedMutableOrImpersistentArrayBuffers.set(index, isMutableOrImpersistentArrayBuffer); + mCachedEnabledMappedArrayBuffers.set(attribIndex, isMapped && attrib.enabled); } // VertexArray implementation. @@ -250,10 +237,8 @@ ANGLE_INLINE void VertexArray::updateCachedBufferBindingSize(VertexBinding *bind } } -ANGLE_INLINE void VertexArray::updateCachedArrayBuffersMasks( +ANGLE_INLINE void VertexArray::updateCachedMappedArrayBuffers( bool isMapped, - bool isImmutable, - bool isPersistent, const AttributesMask &boundAttributesMask) { if (isMapped) @@ -265,28 +250,15 @@ ANGLE_INLINE void VertexArray::updateCachedArrayBuffersMasks( mState.mCachedMappedArrayBuffers &= ~boundAttributesMask; } - if (!isImmutable || !isPersistent) - { - mState.mCachedMutableOrImpersistentArrayBuffers |= boundAttributesMask; - } - else - { - mState.mCachedMutableOrImpersistentArrayBuffers &= ~boundAttributesMask; - } - - mState.mCachedInvalidMappedArrayBuffer = mState.mCachedMappedArrayBuffers & - mState.mEnabledAttributesMask & - mState.mCachedMutableOrImpersistentArrayBuffers; + mState.mCachedEnabledMappedArrayBuffers = + mState.mCachedMappedArrayBuffers & mState.mEnabledAttributesMask; } ANGLE_INLINE void VertexArray::updateCachedMappedArrayBuffersBinding(const VertexBinding &binding) { const Buffer *buffer = binding.getBuffer().get(); - bool isMapped = buffer && buffer->isMapped(); - bool isImmutable = buffer && buffer->isImmutable(); - bool isPersistent = buffer && (buffer->getAccessFlags() & GL_MAP_PERSISTENT_BIT_EXT) != 0; - return updateCachedArrayBuffersMasks(isMapped, isImmutable, isPersistent, - binding.getBoundAttributesMask()); + return updateCachedMappedArrayBuffers(buffer && buffer->isMapped(), + binding.getBoundAttributesMask()); } ANGLE_INLINE void VertexArray::updateCachedTransformFeedbackBindingValidation(size_t bindingIndex, @@ -343,18 +315,14 @@ bool VertexArray::bindVertexBufferImpl(const Context *context, mCachedTransformFeedbackConflictedBindingsMask.set( bindingIndex, boundBuffer->isBoundForTransformFeedbackAndOtherUse()); mState.mClientMemoryAttribsMask &= ~binding->getBoundAttributesMask(); - - bool isMapped = boundBuffer->isMapped() == GL_TRUE; - bool isImmutable = boundBuffer->isImmutable() == GL_TRUE; - bool isPersistent = (boundBuffer->getAccessFlags() & GL_MAP_PERSISTENT_BIT_EXT) != 0; - updateCachedArrayBuffersMasks(isMapped, isImmutable, isPersistent, - binding->getBoundAttributesMask()); + updateCachedMappedArrayBuffers((boundBuffer->isMapped() == GL_TRUE), + binding->getBoundAttributesMask()); } else { mCachedTransformFeedbackConflictedBindingsMask.set(bindingIndex, false); mState.mClientMemoryAttribsMask |= binding->getBoundAttributesMask(); - updateCachedArrayBuffersMasks(false, false, false, binding->getBoundAttributesMask()); + updateCachedMappedArrayBuffers(false, binding->getBoundAttributesMask()); } return true; @@ -378,21 +346,19 @@ void VertexArray::setVertexAttribBinding(const Context *context, { ASSERT(attribIndex < getMaxAttribs() && bindingIndex < getMaxBindings()); - if (mState.mVertexAttributes[attribIndex].bindingIndex == bindingIndex) + if (mState.mVertexAttributes[attribIndex].bindingIndex != bindingIndex) { - return; + // In ES 3.0 contexts, the binding cannot change, hence the code below is unreachable. + ASSERT(context->getClientVersion() >= ES_3_1); + + mState.setAttribBinding(context, attribIndex, bindingIndex); + + setDirtyAttribBit(attribIndex, DIRTY_ATTRIB_BINDING); + + // Update client attribs mask. + bool hasBuffer = mState.mVertexBindings[bindingIndex].getBuffer().get() != nullptr; + mState.mClientMemoryAttribsMask.set(attribIndex, !hasBuffer); } - - // In ES 3.0 contexts, the binding cannot change, hence the code below is unreachable. - ASSERT(context->getClientVersion() >= ES_3_1); - - mState.setAttribBinding(context, attribIndex, bindingIndex); - - setDirtyAttribBit(attribIndex, DIRTY_ATTRIB_BINDING); - - // Update client attribs mask. - bool hasBuffer = mState.mVertexBindings[bindingIndex].getBuffer().get() != nullptr; - mState.mClientMemoryAttribsMask.set(attribIndex, !hasBuffer); } void VertexArray::setVertexBindingDivisor(size_t bindingIndex, GLuint divisor) @@ -475,10 +441,8 @@ void VertexArray::enableAttribute(size_t attribIndex, bool enabledState) // Update state cache mState.mEnabledAttributesMask.set(attribIndex, enabledState); - mState.updateCachedMutableOrNonPersistentArrayBuffers(attribIndex); - mState.mCachedInvalidMappedArrayBuffer = mState.mCachedMappedArrayBuffers & - mState.mEnabledAttributesMask & - mState.mCachedMutableOrImpersistentArrayBuffers; + mState.mCachedEnabledMappedArrayBuffers = + mState.mCachedMappedArrayBuffers & mState.mEnabledAttributesMask; } ANGLE_INLINE void VertexArray::setVertexAttribPointerImpl(const Context *context, diff --git a/gfx/angle/checkout/src/libANGLE/VertexArray.h b/gfx/angle/checkout/src/libANGLE/VertexArray.h index 1b68f897af4b..565cdfb156dc 100644 --- a/gfx/angle/checkout/src/libANGLE/VertexArray.h +++ b/gfx/angle/checkout/src/libANGLE/VertexArray.h @@ -81,8 +81,6 @@ class VertexArrayState final : angle::NonCopyable } private: - void updateCachedMutableOrNonPersistentArrayBuffers(size_t index); - friend class VertexArray; std::string mLabel; std::vector mVertexAttributes; @@ -103,8 +101,7 @@ class VertexArrayState final : angle::NonCopyable // Used for validation cache. Indexed by attribute. AttributesMask mCachedMappedArrayBuffers; - AttributesMask mCachedMutableOrImpersistentArrayBuffers; - AttributesMask mCachedInvalidMappedArrayBuffer; + AttributesMask mCachedEnabledMappedArrayBuffers; }; class VertexArray final : public angle::ObserverInterface, @@ -254,9 +251,9 @@ class VertexArray final : public angle::ObserverInterface, return mState.hasEnabledNullPointerClientArray(); } - bool hasInvalidMappedArrayBuffer() const + bool hasMappedEnabledArrayBuffer() const { - return mState.mCachedInvalidMappedArrayBuffer.any(); + return mState.mCachedEnabledMappedArrayBuffers.any(); } const VertexArrayState &getState() const { return mState; } @@ -312,10 +309,7 @@ class VertexArray final : public angle::ObserverInterface, // These are used to optimize draw call validation. void updateCachedBufferBindingSize(VertexBinding *binding); void updateCachedTransformFeedbackBindingValidation(size_t bindingIndex, const Buffer *buffer); - void updateCachedArrayBuffersMasks(bool isMapped, - bool isImmutable, - bool isPersistent, - const AttributesMask &boundAttributesMask); + void updateCachedMappedArrayBuffers(bool isMapped, const AttributesMask &boundAttributesMask); void updateCachedMappedArrayBuffersBinding(const VertexBinding &binding); angle::Result getIndexRangeImpl(const Context *context, diff --git a/gfx/angle/checkout/src/libANGLE/angletypes.cpp b/gfx/angle/checkout/src/libANGLE/angletypes.cpp index 8bcc622f0146..4e15658849d6 100644 --- a/gfx/angle/checkout/src/libANGLE/angletypes.cpp +++ b/gfx/angle/checkout/src/libANGLE/angletypes.cpp @@ -198,129 +198,69 @@ SamplerState SamplerState::CreateDefaultForTarget(TextureType type) return state; } -bool SamplerState::setMinFilter(GLenum minFilter) +void SamplerState::setMinFilter(GLenum minFilter) { - if (mMinFilter != minFilter) - { - mMinFilter = minFilter; - mCompleteness.typed.minFilter = static_cast(FromGLenum(minFilter)); - return true; - } - return false; + mMinFilter = minFilter; + mCompleteness.typed.minFilter = static_cast(FromGLenum(minFilter)); } -bool SamplerState::setMagFilter(GLenum magFilter) +void SamplerState::setMagFilter(GLenum magFilter) { - if (mMagFilter != magFilter) - { - mMagFilter = magFilter; - mCompleteness.typed.magFilter = static_cast(FromGLenum(magFilter)); - return true; - } - return false; + mMagFilter = magFilter; + mCompleteness.typed.magFilter = static_cast(FromGLenum(magFilter)); } -bool SamplerState::setWrapS(GLenum wrapS) +void SamplerState::setWrapS(GLenum wrapS) { - if (mWrapS != wrapS) - { - mWrapS = wrapS; - mCompleteness.typed.wrapS = static_cast(FromGLenum(wrapS)); - return true; - } - return false; + mWrapS = wrapS; + mCompleteness.typed.wrapS = static_cast(FromGLenum(wrapS)); } -bool SamplerState::setWrapT(GLenum wrapT) +void SamplerState::setWrapT(GLenum wrapT) { - if (mWrapT != wrapT) - { - mWrapT = wrapT; - updateWrapTCompareMode(); - return true; - } - return false; + mWrapT = wrapT; + updateWrapTCompareMode(); } -bool SamplerState::setWrapR(GLenum wrapR) +void SamplerState::setWrapR(GLenum wrapR) { - if (mWrapR != wrapR) - { - mWrapR = wrapR; - return true; - } - return false; + mWrapR = wrapR; } -bool SamplerState::setMaxAnisotropy(float maxAnisotropy) +void SamplerState::setMaxAnisotropy(float maxAnisotropy) { - if (mMaxAnisotropy != maxAnisotropy) - { - mMaxAnisotropy = maxAnisotropy; - return true; - } - return false; + mMaxAnisotropy = maxAnisotropy; } -bool SamplerState::setMinLod(GLfloat minLod) +void SamplerState::setMinLod(GLfloat minLod) { - if (mMinLod != minLod) - { - mMinLod = minLod; - return true; - } - return false; + mMinLod = minLod; } -bool SamplerState::setMaxLod(GLfloat maxLod) +void SamplerState::setMaxLod(GLfloat maxLod) { - if (mMaxLod != maxLod) - { - mMaxLod = maxLod; - return true; - } - return false; + mMaxLod = maxLod; } -bool SamplerState::setCompareMode(GLenum compareMode) +void SamplerState::setCompareMode(GLenum compareMode) { - if (mCompareMode != compareMode) - { - mCompareMode = compareMode; - updateWrapTCompareMode(); - return true; - } - return false; + mCompareMode = compareMode; + updateWrapTCompareMode(); } -bool SamplerState::setCompareFunc(GLenum compareFunc) +void SamplerState::setCompareFunc(GLenum compareFunc) { - if (mCompareFunc != compareFunc) - { - mCompareFunc = compareFunc; - return true; - } - return false; + mCompareFunc = compareFunc; } -bool SamplerState::setSRGBDecode(GLenum sRGBDecode) +void SamplerState::setSRGBDecode(GLenum sRGBDecode) { - if (mSRGBDecode != sRGBDecode) - { - mSRGBDecode = sRGBDecode; - return true; - } - return false; + mSRGBDecode = sRGBDecode; } -bool SamplerState::setBorderColor(const ColorGeneric &color) +void SamplerState::setBorderColor(const ColorGeneric &color) { - if (mBorderColor != color) - { - mBorderColor = color; - return true; - } - return false; + mBorderColor = color; } void SamplerState::updateWrapTCompareMode() @@ -894,29 +834,30 @@ bool ValidateComponentTypeMasks(unsigned long outputTypes, GLsizeiptr GetBoundBufferAvailableSize(const OffsetBindingPointer &binding) { Buffer *buffer = binding.get(); - if (buffer == nullptr) + if (buffer) + { + if (binding.getSize() == 0) + return static_cast(buffer->getSize()); + angle::CheckedNumeric offset = binding.getOffset(); + angle::CheckedNumeric size = binding.getSize(); + angle::CheckedNumeric bufferSize = buffer->getSize(); + auto end = offset + size; + auto clampedSize = size; + auto difference = end - bufferSize; + if (!difference.IsValid()) + { + return 0; + } + if (difference.ValueOrDie() > 0) + { + clampedSize = size - difference; + } + return clampedSize.ValueOrDefault(0); + } + else { return 0; } - - const GLsizeiptr bufferSize = static_cast(buffer->getSize()); - - if (binding.getSize() == 0) - { - return bufferSize; - } - - const GLintptr offset = binding.getOffset(); - const GLsizeiptr size = binding.getSize(); - - ASSERT(offset >= 0 && bufferSize >= 0); - - if (bufferSize <= offset) - { - return 0; - } - - return std::min(size, bufferSize - offset); } } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/angletypes.h b/gfx/angle/checkout/src/libANGLE/angletypes.h index d2ca9ad3bc43..8ad62d738ace 100644 --- a/gfx/angle/checkout/src/libANGLE/angletypes.h +++ b/gfx/angle/checkout/src/libANGLE/angletypes.h @@ -83,16 +83,8 @@ struct Rectangle bool operator==(const Rectangle &a, const Rectangle &b); bool operator!=(const Rectangle &a, const Rectangle &b); -enum class ClipSpaceOrigin -{ - LowerLeft = 0, - UpperLeft = 1 -}; - // Calculate the intersection of two rectangles. Returns false if the intersection is empty. -ANGLE_NO_DISCARD bool ClipRectangle(const Rectangle &source, - const Rectangle &clip, - Rectangle *intersection); +bool ClipRectangle(const Rectangle &source, const Rectangle &clip, Rectangle *intersection); // Calculate the smallest rectangle that covers both rectangles. This rectangle may cover areas // not covered by the two rectangles, for example in this situation: // @@ -295,49 +287,49 @@ class SamplerState final GLenum getMinFilter() const { return mMinFilter; } - bool setMinFilter(GLenum minFilter); + void setMinFilter(GLenum minFilter); GLenum getMagFilter() const { return mMagFilter; } - bool setMagFilter(GLenum magFilter); + void setMagFilter(GLenum magFilter); GLenum getWrapS() const { return mWrapS; } - bool setWrapS(GLenum wrapS); + void setWrapS(GLenum wrapS); GLenum getWrapT() const { return mWrapT; } - bool setWrapT(GLenum wrapT); + void setWrapT(GLenum wrapT); GLenum getWrapR() const { return mWrapR; } - bool setWrapR(GLenum wrapR); + void setWrapR(GLenum wrapR); float getMaxAnisotropy() const { return mMaxAnisotropy; } - bool setMaxAnisotropy(float maxAnisotropy); + void setMaxAnisotropy(float maxAnisotropy); GLfloat getMinLod() const { return mMinLod; } - bool setMinLod(GLfloat minLod); + void setMinLod(GLfloat minLod); GLfloat getMaxLod() const { return mMaxLod; } - bool setMaxLod(GLfloat maxLod); + void setMaxLod(GLfloat maxLod); GLenum getCompareMode() const { return mCompareMode; } - bool setCompareMode(GLenum compareMode); + void setCompareMode(GLenum compareMode); GLenum getCompareFunc() const { return mCompareFunc; } - bool setCompareFunc(GLenum compareFunc); + void setCompareFunc(GLenum compareFunc); GLenum getSRGBDecode() const { return mSRGBDecode; } - bool setSRGBDecode(GLenum sRGBDecode); + void setSRGBDecode(GLenum sRGBDecode); - bool setBorderColor(const ColorGeneric &color); + void setBorderColor(const ColorGeneric &color); const ColorGeneric &getBorderColor() const { return mBorderColor; } @@ -455,7 +447,7 @@ class BlendStateExt final { static_assert(ElementCount <= 256, "ElementCount cannot exceed 256."); -#if INTPTR_MAX == INT64_MAX +#if defined(ANGLE_IS_64_BIT_CPU) // Always use uint64_t on 64-bit systems static constexpr size_t kBits = 8; #else @@ -843,8 +835,8 @@ using UniformBuffersArray = std::array using StorageBuffersArray = std::array; template -using AtomicCounterBuffersArray = std::array; -using AtomicCounterBufferMask = angle::BitSet; +using AtomicCounterBuffersArray = std::array; +using AtomicCounterBufferMask = angle::BitSet; template using ImagesArray = std::array; @@ -856,9 +848,6 @@ template using TransformFeedbackBuffersArray = std::array; -template -using QueryTypeMap = angle::PackedEnumMap; - constexpr size_t kBarrierVectorDefaultSize = 16; template diff --git a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils.h b/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils.h deleted file mode 100644 index 18e2fe41cc00..000000000000 --- a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// frame_capture_utils.h: -// ANGLE frame capture utils interface. -// -#ifndef FRAME_CAPTURE_UTILS_H_ -#define FRAME_CAPTURE_UTILS_H_ - -#include "libANGLE/Error.h" - -namespace gl -{ -class Context; -} // namespace gl - -namespace angle -{ -Result SerializeContextToString(const gl::Context *context, std::string *stringOut); -} // namespace angle -#endif // FRAME_CAPTURE_UTILS_H_ diff --git a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp b/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp deleted file mode 100644 index f136a3c17d6c..000000000000 --- a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp +++ /dev/null @@ -1,19 +0,0 @@ -// -// Copyright 2021 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// frame_capture_utils_mock.cpp: -// ANGLE frame capture util stub implementation. -// - -#include "libANGLE/capture/frame_capture_utils.h" - -namespace angle -{ -Result SerializeContextToString(const gl::Context *context, std::string *stringOut) -{ - *stringOut = "SerializationNotAvailable"; - return angle::Result::Continue; -} -} // namespace angle diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_1_0_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_1_0_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_1_0_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_1_0_autogen.h index 009ddb99777d..30c19a48ea3b 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_1_0_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_1_0_autogen.h @@ -12,7 +12,7 @@ #define LIBANGLE_CAPTURE_GLES_1_0_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_2_0_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_2_0_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_2_0_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_2_0_autogen.h index 45c437821ab9..2e8bb3102f66 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_2_0_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_2_0_autogen.h @@ -12,7 +12,7 @@ #define LIBANGLE_CAPTURE_GLES_2_0_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_0_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_3_0_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_0_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_3_0_autogen.h index a0442ea4466b..da0ff3b19218 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_0_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_3_0_autogen.h @@ -12,7 +12,7 @@ #define LIBANGLE_CAPTURE_GLES_3_0_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { @@ -210,14 +210,14 @@ angle::CallCapture CaptureGenVertexArrays(const State &glState, angle::CallCapture CaptureGetActiveUniformBlockName(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); angle::CallCapture CaptureGetActiveUniformBlockiv(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, GLint *params); angle::CallCapture CaptureGetActiveUniformsiv(const State &glState, @@ -510,7 +510,7 @@ angle::CallCapture CaptureUniform4uiv(const State &glState, angle::CallCapture CaptureUniformBlockBinding(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLuint uniformBlockBinding); angle::CallCapture CaptureUniformMatrix2x3fv(const State &glState, bool isCallValid, @@ -702,7 +702,7 @@ void CaptureGenVertexArrays_arraysPacked(const State &glState, void CaptureGetActiveUniformBlockName_length(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName, @@ -710,7 +710,7 @@ void CaptureGetActiveUniformBlockName_length(const State &glState, void CaptureGetActiveUniformBlockName_uniformBlockName(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName, @@ -718,7 +718,7 @@ void CaptureGetActiveUniformBlockName_uniformBlockName(const State &glState, void CaptureGetActiveUniformBlockiv_params(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, GLint *params, angle::ParamCapture *paramCapture); diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_1_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_3_1_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_1_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_3_1_autogen.h index 01c636430e63..22c54e234d59 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_1_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_3_1_autogen.h @@ -12,7 +12,7 @@ #define LIBANGLE_CAPTURE_GLES_3_1_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_2_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_3_2_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_2_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_3_2_autogen.h index 80001a034895..a091214cd016 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_3_2_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_3_2_autogen.h @@ -12,7 +12,7 @@ #define LIBANGLE_CAPTURE_GLES_3_2_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { diff --git a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_ext_autogen.h b/gfx/angle/checkout/src/libANGLE/capture_gles_ext_autogen.h similarity index 85% rename from gfx/angle/checkout/src/libANGLE/capture/capture_gles_ext_autogen.h rename to gfx/angle/checkout/src/libANGLE/capture_gles_ext_autogen.h index ef9ed2316723..ded32273cb62 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/capture_gles_ext_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/capture_gles_ext_autogen.h @@ -8,11 +8,11 @@ // capture_gles_ext_autogen.h: // Capture functions for the OpenGL ES extension entry points. -#ifndef LIBANGLE_CAPTURE_GLES_EXT_AUTOGEN_H_ -#define LIBANGLE_CAPTURE_GLES_EXT_AUTOGEN_H_ +#ifndef LIBANGLE_CAPTURE_GLES_ext_AUTOGEN_H_ +#define LIBANGLE_CAPTURE_GLES_ext_AUTOGEN_H_ #include "common/PackedEnums.h" -#include "libANGLE/capture/FrameCapture.h" +#include "libANGLE/FrameCapture.h" namespace gl { @@ -550,15 +550,14 @@ angle::CallCapture CaptureGetUniformuivRobustANGLE(const State &glState, GLsizei bufSize, GLsizei *length, GLuint *params); -angle::CallCapture CaptureGetActiveUniformBlockivRobustANGLE( - const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); +angle::CallCapture CaptureGetActiveUniformBlockivRobustANGLE(const State &glState, + bool isCallValid, + ShaderProgramID programPacked, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); angle::CallCapture CaptureGetInteger64vRobustANGLE(const State &glState, bool isCallValid, GLenum pname, @@ -869,8 +868,6 @@ angle::CallCapture CaptureLoseContextCHROMIUM(const State &glState, // GL_EXT_EGL_image_array -// GL_EXT_YUV_target - // GL_EXT_blend_func_extended angle::CallCapture CaptureBindFragDataLocationEXT(const State &glState, bool isCallValid, @@ -903,12 +900,6 @@ angle::CallCapture CaptureBufferStorageEXT(const State &glState, const void *data, GLbitfield flags); -// GL_EXT_clip_control -angle::CallCapture CaptureClipControlEXT(const State &glState, - bool isCallValid, - GLenum origin, - GLenum depth); - // GL_EXT_copy_image angle::CallCapture CaptureCopyImageSubDataEXT(const State &glState, bool isCallValid, @@ -928,21 +919,6 @@ angle::CallCapture CaptureCopyImageSubDataEXT(const State &glState, GLsizei srcHeight, GLsizei srcDepth); -// GL_EXT_debug_label -angle::CallCapture CaptureGetObjectLabelEXT(const State &glState, - bool isCallValid, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label); -angle::CallCapture CaptureLabelObjectEXT(const State &glState, - bool isCallValid, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label); - // GL_EXT_debug_marker angle::CallCapture CaptureInsertEventMarkerEXT(const State &glState, bool isCallValid, @@ -1261,18 +1237,6 @@ angle::CallCapture CaptureRenderbufferStorageMultisampleEXT(const State &glState // GL_EXT_occlusion_query_boolean -// GL_EXT_primitive_bounding_box -angle::CallCapture CapturePrimitiveBoundingBoxEXT(const State &glState, - bool isCallValid, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); - // GL_EXT_read_format_bgra // GL_EXT_robustness @@ -1351,323 +1315,6 @@ angle::CallCapture CaptureImportSemaphoreFdEXT(const State &glState, HandleType handleTypePacked, GLint fd); -// GL_EXT_separate_shader_objects -angle::CallCapture CaptureActiveShaderProgramEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - ShaderProgramID programPacked); -angle::CallCapture CaptureBindProgramPipelineEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked); -angle::CallCapture CaptureCreateShaderProgramvEXT(const State &glState, - bool isCallValid, - ShaderType typePacked, - GLsizei count, - const GLchar **strings, - GLuint returnValue); -angle::CallCapture CaptureDeleteProgramPipelinesEXT(const State &glState, - bool isCallValid, - GLsizei n, - const ProgramPipelineID *pipelinesPacked); -angle::CallCapture CaptureGenProgramPipelinesEXT(const State &glState, - bool isCallValid, - GLsizei n, - ProgramPipelineID *pipelinesPacked); -angle::CallCapture CaptureGetProgramPipelineInfoLogEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -angle::CallCapture CaptureGetProgramPipelineivEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLenum pname, - GLint *params); -angle::CallCapture CaptureIsProgramPipelineEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLboolean returnValue); -angle::CallCapture CaptureProgramParameteriEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - GLenum pname, - GLint value); -angle::CallCapture CaptureProgramUniform1fEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0); -angle::CallCapture CaptureProgramUniform1fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -angle::CallCapture CaptureProgramUniform1iEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0); -angle::CallCapture CaptureProgramUniform1ivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -angle::CallCapture CaptureProgramUniform1uiEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0); -angle::CallCapture CaptureProgramUniform1uivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -angle::CallCapture CaptureProgramUniform2fEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1); -angle::CallCapture CaptureProgramUniform2fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -angle::CallCapture CaptureProgramUniform2iEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1); -angle::CallCapture CaptureProgramUniform2ivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -angle::CallCapture CaptureProgramUniform2uiEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1); -angle::CallCapture CaptureProgramUniform2uivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -angle::CallCapture CaptureProgramUniform3fEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2); -angle::CallCapture CaptureProgramUniform3fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -angle::CallCapture CaptureProgramUniform3iEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2); -angle::CallCapture CaptureProgramUniform3ivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -angle::CallCapture CaptureProgramUniform3uiEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2); -angle::CallCapture CaptureProgramUniform3uivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -angle::CallCapture CaptureProgramUniform4fEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -angle::CallCapture CaptureProgramUniform4fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -angle::CallCapture CaptureProgramUniform4iEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2, - GLint v3); -angle::CallCapture CaptureProgramUniform4ivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -angle::CallCapture CaptureProgramUniform4uiEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -angle::CallCapture CaptureProgramUniform4uivEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -angle::CallCapture CaptureProgramUniformMatrix2fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix2x3fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix2x4fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix3fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix3x2fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix3x4fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix4fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix4x2fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureProgramUniformMatrix4x3fvEXT(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -angle::CallCapture CaptureUseProgramStagesEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLbitfield stages, - ShaderProgramID programPacked); -angle::CallCapture CaptureValidateProgramPipelineEXT(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked); - -// GL_EXT_shader_framebuffer_fetch_non_coherent -angle::CallCapture CaptureFramebufferFetchBarrierEXT(const State &glState, bool isCallValid); - -// GL_EXT_shader_io_blocks - -// GL_EXT_tessellation_shader -angle::CallCapture CapturePatchParameteriEXT(const State &glState, - bool isCallValid, - GLenum pname, - GLint value); - -// GL_EXT_texture_border_clamp -angle::CallCapture CaptureGetSamplerParameterIivEXT(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - GLint *params); -angle::CallCapture CaptureGetSamplerParameterIuivEXT(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - GLuint *params); -angle::CallCapture CaptureGetTexParameterIivEXT(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - GLint *params); -angle::CallCapture CaptureGetTexParameterIuivEXT(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - GLuint *params); -angle::CallCapture CaptureSamplerParameterIivEXT(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - const GLint *param); -angle::CallCapture CaptureSamplerParameterIuivEXT(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - const GLuint *param); -angle::CallCapture CaptureTexParameterIivEXT(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - const GLint *params); -angle::CallCapture CaptureTexParameterIuivEXT(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - const GLuint *params); - // GL_EXT_texture_buffer angle::CallCapture CaptureTexBufferEXT(const State &glState, bool isCallValid, @@ -1700,8 +1347,6 @@ angle::CallCapture CaptureTexBufferRangeEXT(const State &glState, // GL_EXT_texture_sRGB_R8 -// GL_EXT_texture_sRGB_RG8 - // GL_EXT_texture_storage angle::CallCapture CaptureTexStorage1DEXT(const State &glState, bool isCallValid, @@ -1725,9 +1370,6 @@ angle::CallCapture CaptureTexStorage3DEXT(const State &glState, GLsizei height, GLsizei depth); -// GL_KHR_blend_equation_advanced -angle::CallCapture CaptureBlendBarrierKHR(const State &glState, bool isCallValid); - // GL_KHR_debug angle::CallCapture CaptureDebugMessageCallbackKHR(const State &glState, bool isCallValid, @@ -1831,20 +1473,6 @@ angle::CallCapture CaptureTestFenceNV(const State &glState, FenceNVID fencePacked, GLboolean returnValue); -// GL_NV_framebuffer_blit -angle::CallCapture CaptureBlitFramebufferNV(const State &glState, - bool isCallValid, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); - // GL_OES_EGL_image angle::CallCapture CaptureEGLImageTargetRenderbufferStorageOES(const State &glState, bool isCallValid, @@ -2126,8 +1754,6 @@ angle::CallCapture CaptureMinSampleShadingOES(const State &glState, bool isCallValid, GLfloat value); -// GL_OES_shader_io_blocks - // GL_OES_texture_3D angle::CallCapture CaptureCompressedTexImage3DOES(const State &glState, bool isCallValid, @@ -3133,7 +2759,7 @@ void CaptureGetUniformuivRobustANGLE_params(const State &glState, void CaptureGetActiveUniformBlockivRobustANGLE_length(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, @@ -3142,7 +2768,7 @@ void CaptureGetActiveUniformBlockivRobustANGLE_length(const State &glState, void CaptureGetActiveUniformBlockivRobustANGLE_params(const State &glState, bool isCallValid, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, @@ -3657,29 +3283,6 @@ void CaptureBufferStorageEXT_data(const State &glState, const void *data, GLbitfield flags, angle::ParamCapture *paramCapture); -void CaptureGetObjectLabelEXT_length(const State &glState, - bool isCallValid, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label, - angle::ParamCapture *paramCapture); -void CaptureGetObjectLabelEXT_label(const State &glState, - bool isCallValid, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label, - angle::ParamCapture *paramCapture); -void CaptureLabelObjectEXT_label(const State &glState, - bool isCallValid, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label, - angle::ParamCapture *paramCapture); void CaptureInsertEventMarkerEXT_marker(const State &glState, bool isCallValid, GLsizei length, @@ -3942,246 +3545,6 @@ void CaptureWaitSemaphoreEXT_srcLayouts(const State &glState, const TextureID *texturesPacked, const GLenum *srcLayouts, angle::ParamCapture *paramCapture); -void CaptureCreateShaderProgramvEXT_strings(const State &glState, - bool isCallValid, - ShaderType typePacked, - GLsizei count, - const GLchar **strings, - angle::ParamCapture *paramCapture); -void CaptureDeleteProgramPipelinesEXT_pipelinesPacked(const State &glState, - bool isCallValid, - GLsizei n, - const ProgramPipelineID *pipelinesPacked, - angle::ParamCapture *paramCapture); -void CaptureGenProgramPipelinesEXT_pipelinesPacked(const State &glState, - bool isCallValid, - GLsizei n, - ProgramPipelineID *pipelinesPacked, - angle::ParamCapture *paramCapture); -void CaptureGetProgramPipelineInfoLogEXT_length(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog, - angle::ParamCapture *paramCapture); -void CaptureGetProgramPipelineInfoLogEXT_infoLog(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog, - angle::ParamCapture *paramCapture); -void CaptureGetProgramPipelineivEXT_params(const State &glState, - bool isCallValid, - ProgramPipelineID pipelinePacked, - GLenum pname, - GLint *params, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform1fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform1ivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform1uivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform2fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform2ivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform2uivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform3fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform3ivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform3uivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform4fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform4ivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniform4uivEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix2fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix2x3fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix2x4fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix3fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix3x2fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix3x4fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix4fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix4x2fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureProgramUniformMatrix4x3fvEXT_value(const State &glState, - bool isCallValid, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value, - angle::ParamCapture *paramCapture); -void CaptureGetSamplerParameterIivEXT_params(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - GLint *params, - angle::ParamCapture *paramCapture); -void CaptureGetSamplerParameterIuivEXT_params(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - GLuint *params, - angle::ParamCapture *paramCapture); -void CaptureGetTexParameterIivEXT_params(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - GLint *params, - angle::ParamCapture *paramCapture); -void CaptureGetTexParameterIuivEXT_params(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - GLuint *params, - angle::ParamCapture *paramCapture); -void CaptureSamplerParameterIivEXT_param(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - const GLint *param, - angle::ParamCapture *paramCapture); -void CaptureSamplerParameterIuivEXT_param(const State &glState, - bool isCallValid, - SamplerID samplerPacked, - GLenum pname, - const GLuint *param, - angle::ParamCapture *paramCapture); -void CaptureTexParameterIivEXT_params(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - const GLint *params, - angle::ParamCapture *paramCapture); -void CaptureTexParameterIuivEXT_params(const State &glState, - bool isCallValid, - TextureType targetPacked, - GLenum pname, - const GLuint *params, - angle::ParamCapture *paramCapture); void CaptureDebugMessageCallbackKHR_userParam(const State &glState, bool isCallValid, GLDEBUGPROCKHR callback, @@ -4647,4 +4010,4 @@ void CaptureGenVertexArraysOES_arraysPacked(const State &glState, angle::ParamCapture *paramCapture); } // namespace gl -#endif // LIBANGLE_CAPTURE_GLES_EXT_AUTOGEN_H_ +#endif // LIBANGLE_CAPTURE_GLES_ext_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/entry_points_utils.h b/gfx/angle/checkout/src/libANGLE/entry_points_utils.h index 0be7f2989b74..2b631e58e0ad 100644 --- a/gfx/angle/checkout/src/libANGLE/entry_points_utils.h +++ b/gfx/angle/checkout/src/libANGLE/entry_points_utils.h @@ -15,49 +15,48 @@ #include "common/angleutils.h" #include "common/entry_points_enum_autogen.h" #include "common/mathutil.h" -#include "libANGLE/Context.h" #include "libANGLE/Display.h" namespace gl { // A template struct for determining the default value to return for each entry point. -template +template struct DefaultReturnValue; // Default return values for each basic return type. -template +template struct DefaultReturnValue { static constexpr GLint kValue = -1; }; // This doubles as the GLenum return value. -template +template struct DefaultReturnValue { static constexpr GLuint kValue = 0; }; -template +template struct DefaultReturnValue { static constexpr GLboolean kValue = GL_FALSE; }; -template +template struct DefaultReturnValue { static constexpr ShaderProgramID kValue = {0}; }; // Catch-all rules for pointer types. -template +template struct DefaultReturnValue { static constexpr const PointerType *kValue = nullptr; }; -template +template struct DefaultReturnValue { static constexpr PointerType *kValue = nullptr; @@ -65,26 +64,26 @@ struct DefaultReturnValue // Overloaded to return invalid index template <> -struct DefaultReturnValue +struct DefaultReturnValue { static constexpr GLuint kValue = GL_INVALID_INDEX; }; // Specialized enum error value. template <> -struct DefaultReturnValue +struct DefaultReturnValue { static constexpr GLenum kValue = GL_WAIT_FAILED; }; // glTestFenceNV should still return TRUE for an invalid fence. template <> -struct DefaultReturnValue +struct DefaultReturnValue { static constexpr GLboolean kValue = GL_TRUE; }; -template +template constexpr ANGLE_INLINE ReturnType GetDefaultReturnValue() { return DefaultReturnValue::kValue; @@ -96,7 +95,8 @@ constexpr ANGLE_INLINE ReturnType GetDefaultReturnValue() # define ANGLE_CAPTURE(...) #endif // ANGLE_CAPTURE_ENABLED -#define EGL_EVENT(EP, FMT, ...) EVENT(nullptr, EGL##EP, FMT, ##__VA_ARGS__) +#define FUNC_EVENT(format, ...) \ + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, format, __VA_ARGS__) inline int CID(const Context *context) { diff --git a/gfx/angle/checkout/src/libANGLE/es3_copy_conversion_table_autogen.cpp b/gfx/angle/checkout/src/libANGLE/es3_copy_conversion_table_autogen.cpp index 3647445c5078..c4fb5bab90ca 100644 --- a/gfx/angle/checkout/src/libANGLE/es3_copy_conversion_table_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/es3_copy_conversion_table_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_copy_conversion_table.py using data from es3_copy_conversion_formats.json. // -// Copyright 2016 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/libANGLE/format_map_autogen.cpp b/gfx/angle/checkout/src/libANGLE/format_map_autogen.cpp index cde5c2120b8b..33b9120424b3 100644 --- a/gfx/angle/checkout/src/libANGLE/format_map_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/format_map_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_format_map.py using data from format_map_data.json. // ES3 format info from es3_format_type_combinations.json. // -// Copyright 2016 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -652,929 +652,9 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat switch (format) { - case GL_ALPHA: - switch (type) - { - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_ALPHA: - case GL_ALPHA32F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_ALPHA: - case GL_ALPHA16F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_ALPHA: - case GL_ALPHA16F_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_ALPHA: - case GL_ALPHA8_EXT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_BGRA_EXT: - switch (type) - { - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_BGRA_EXT: - case GL_BGRA8_EXT: - case GL_BGRA4_ANGLEX: - case GL_BGR5_A1_ANGLEX: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT: - { - switch (internalFormat) - { - case GL_BGR5_A1_ANGLEX: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT: - { - switch (internalFormat) - { - case GL_BGRA4_ANGLEX: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_DEPTH_COMPONENT: - switch (type) - { - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_DEPTH_COMPONENT32F: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT: - { - switch (internalFormat) - { - case GL_DEPTH_COMPONENT24: - case GL_DEPTH_COMPONENT16: - case GL_DEPTH_COMPONENT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_24_8: - { - switch (internalFormat) - { - case GL_DEPTH_COMPONENT32_OES: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_DEPTH_COMPONENT16: - case GL_DEPTH_COMPONENT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_DEPTH_STENCIL: - switch (type) - { - case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: - { - switch (internalFormat) - { - case GL_DEPTH32F_STENCIL8: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_24_8: - { - switch (internalFormat) - { - case GL_DEPTH_STENCIL: - case GL_DEPTH24_STENCIL8: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_LUMINANCE: - switch (type) - { - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_LUMINANCE: - case GL_LUMINANCE32F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_LUMINANCE: - case GL_LUMINANCE16F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_LUMINANCE: - case GL_LUMINANCE16F_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_LUMINANCE: - case GL_LUMINANCE8_EXT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_LUMINANCE_ALPHA: - switch (type) - { - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_LUMINANCE_ALPHA: - case GL_LUMINANCE_ALPHA32F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_LUMINANCE_ALPHA: - case GL_LUMINANCE_ALPHA16F_EXT: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_LUMINANCE_ALPHA: - case GL_LUMINANCE_ALPHA16F_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_LUMINANCE_ALPHA: - case GL_LUMINANCE8_ALPHA8_EXT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RED: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_R8_SNORM: - return true; - default: - break; - } - break; - } - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_R32F: - case GL_R16F: - case GL_RED: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_R16F: - case GL_RED: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_R16F: - case GL_RED: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_R16_SNORM_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_R8: - case GL_RED: - case GL_SR8_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_R16_EXT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RED_INTEGER: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_R8I: - return true; - default: - break; - } - break; - } - case GL_INT: - { - switch (internalFormat) - { - case GL_R32I: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_R16I: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_R8UI: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT: - { - switch (internalFormat) - { - case GL_R32UI: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_R16UI: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RG: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_RG8_SNORM: - return true; - default: - break; - } - break; - } - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_RG32F: - case GL_RG16F: - case GL_RG: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_RG16F: - case GL_RG: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_RG16F: - case GL_RG: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_RG16_SNORM_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_RG8: - case GL_RG: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_RG16_EXT: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RGB: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_RGB8_SNORM: - return true; - default: - break; - } - break; - } - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_RGB32F: - case GL_RGB16F: - case GL_R11F_G11F_B10F: - case GL_RGB9_E5: - case GL_RGB: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_RGB16F: - case GL_R11F_G11F_B10F: - case GL_RGB9_E5: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_RGB16F: - case GL_R11F_G11F_B10F: - case GL_RGB9_E5: - case GL_RGB: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_RGB16_SNORM_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_RGB8: - case GL_RGB565: - case GL_SRGB8: - case GL_RGB: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_10F_11F_11F_REV: - { - switch (internalFormat) - { - case GL_R11F_G11F_B10F: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_2_10_10_10_REV: - { - switch (internalFormat) - { - case GL_RGB: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_5_9_9_9_REV: - { - switch (internalFormat) - { - case GL_RGB9_E5: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_RGB16_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT_5_6_5: - { - switch (internalFormat) - { - case GL_RGB565: - case GL_RGB: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RGBA: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_RGBA8_SNORM: - return true; - default: - break; - } - break; - } - case GL_FLOAT: - { - switch (internalFormat) - { - case GL_RGBA32F: - case GL_RGBA16F: - case GL_RGBA: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT: - { - switch (internalFormat) - { - case GL_RGBA16F: - return true; - default: - break; - } - break; - } - case GL_HALF_FLOAT_OES: - { - switch (internalFormat) - { - case GL_RGBA16F: - case GL_RGBA: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_RGBA16_SNORM_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_RGBA8: - case GL_RGB5_A1: - case GL_RGBA4: - case GL_SRGB8_ALPHA8: - case GL_RGBA: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_2_10_10_10_REV: - { - switch (internalFormat) - { - case GL_RGB10_A2: - case GL_RGB5_A1: - case GL_RGBA: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_RGBA16_EXT: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT_4_4_4_4: - { - switch (internalFormat) - { - case GL_RGBA4: - case GL_RGBA: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT_5_5_5_1: - { - switch (internalFormat) - { - case GL_RGB5_A1: - case GL_RGBA: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - - case GL_RGBA_INTEGER: - switch (type) - { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_RGBA8I: - return true; - default: - break; - } - break; - } - case GL_INT: - { - switch (internalFormat) - { - case GL_RGBA32I: - return true; - default: - break; - } - break; - } - case GL_SHORT: - { - switch (internalFormat) - { - case GL_RGBA16I: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_BYTE: - { - switch (internalFormat) - { - case GL_RGBA8UI: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT: - { - switch (internalFormat) - { - case GL_RGBA32UI: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_INT_2_10_10_10_REV: - { - switch (internalFormat) - { - case GL_RGB10_A2UI: - return true; - default: - break; - } - break; - } - case GL_UNSIGNED_SHORT: - { - switch (internalFormat) - { - case GL_RGBA16UI: - return true; - default: - break; - } - break; - } - default: - break; - } - break; - case GL_RGB_INTEGER: switch (type) { - case GL_BYTE: - { - switch (internalFormat) - { - case GL_RGB8I: - return true; - default: - break; - } - break; - } case GL_INT: { switch (internalFormat) @@ -1586,6 +666,17 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; } + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_RGB16UI: + return true; + default: + break; + } + break; + } case GL_SHORT: { switch (internalFormat) @@ -1608,6 +699,17 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RGB8I: + return true; + default: + break; + } + break; + } case GL_UNSIGNED_INT: { switch (internalFormat) @@ -1619,11 +721,524 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; } + default: + break; + } + break; + + case GL_RGBA_INTEGER: + switch (type) + { + case GL_INT: + { + switch (internalFormat) + { + case GL_RGBA32I: + return true; + default: + break; + } + break; + } case GL_UNSIGNED_SHORT: { switch (internalFormat) { - case GL_RGB16UI: + case GL_RGBA16UI: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT_2_10_10_10_REV: + { + switch (internalFormat) + { + case GL_RGB10_A2UI: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_RGBA16I: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_RGBA8UI: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RGBA8I: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT: + { + switch (internalFormat) + { + case GL_RGBA32UI: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_RGB: + switch (type) + { + case GL_UNSIGNED_INT_10F_11F_11F_REV: + { + switch (internalFormat) + { + case GL_R11F_G11F_B10F: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_RGB16_EXT: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT_2_10_10_10_REV: + { + switch (internalFormat) + { + case GL_RGB: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_RGB16_SNORM_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_RGB: + case GL_RGB32F: + case GL_RGB16F: + case GL_R11F_G11F_B10F: + case GL_RGB9_E5: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT_5_6_5: + { + switch (internalFormat) + { + case GL_RGB: + case GL_RGB565: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_RGB: + case GL_RGB16F: + case GL_R11F_G11F_B10F: + case GL_RGB9_E5: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_RGB16F: + case GL_R11F_G11F_B10F: + case GL_RGB9_E5: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_RGB: + case GL_RGB8: + case GL_RGB565: + case GL_SRGB8: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RGB8_SNORM: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT_5_9_9_9_REV: + { + switch (internalFormat) + { + case GL_RGB9_E5: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_LUMINANCE_ALPHA: + switch (type) + { + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_LUMINANCE_ALPHA16F_EXT: + case GL_LUMINANCE_ALPHA: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_LUMINANCE_ALPHA: + case GL_LUMINANCE8_ALPHA8_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_LUMINANCE_ALPHA: + case GL_LUMINANCE_ALPHA32F_EXT: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_LUMINANCE_ALPHA16F_EXT: + case GL_LUMINANCE_ALPHA: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_ALPHA: + switch (type) + { + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_ALPHA16F_EXT: + case GL_ALPHA: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_ALPHA: + case GL_ALPHA8_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_ALPHA: + case GL_ALPHA32F_EXT: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_ALPHA16F_EXT: + case GL_ALPHA: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_RGBA: + switch (type) + { + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_RGBA16_EXT: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT_2_10_10_10_REV: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGB10_A2: + case GL_RGB5_A1: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_RGBA16_SNORM_EXT: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT_4_4_4_4: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGBA4: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGBA32F: + case GL_RGBA16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGBA16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_RGBA16F: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGBA8: + case GL_RGB5_A1: + case GL_RGBA4: + case GL_SRGB8_ALPHA8: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RGBA8_SNORM: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT_5_5_5_1: + { + switch (internalFormat) + { + case GL_RGBA: + case GL_RGB5_A1: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_LUMINANCE: + switch (type) + { + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_LUMINANCE16F_EXT: + case GL_LUMINANCE: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_LUMINANCE: + case GL_LUMINANCE8_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_LUMINANCE: + case GL_LUMINANCE32F_EXT: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_LUMINANCE16F_EXT: + case GL_LUMINANCE: return true; default: break; @@ -1638,22 +1253,22 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat case GL_RG_INTEGER: switch (type) { - case GL_BYTE: + case GL_INT: { switch (internalFormat) { - case GL_RG8I: + case GL_RG32I: return true; default: break; } break; } - case GL_INT: + case GL_UNSIGNED_SHORT: { switch (internalFormat) { - case GL_RG32I: + case GL_RG16UI: return true; default: break; @@ -1682,6 +1297,17 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RG8I: + return true; + default: + break; + } + break; + } case GL_UNSIGNED_INT: { switch (internalFormat) @@ -1693,11 +1319,74 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; } + default: + break; + } + break; + + case GL_RED_INTEGER: + switch (type) + { + case GL_INT: + { + switch (internalFormat) + { + case GL_R32I: + return true; + default: + break; + } + break; + } case GL_UNSIGNED_SHORT: { switch (internalFormat) { - case GL_RG16UI: + case GL_R16UI: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_R16I: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_R8UI: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_R8I: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT: + { + switch (internalFormat) + { + case GL_R32UI: return true; default: break; @@ -1709,15 +1398,191 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; - case GL_SRGB_ALPHA_EXT: + case GL_DEPTH_STENCIL: + switch (type) + { + case GL_UNSIGNED_INT_24_8: + { + switch (internalFormat) + { + case GL_DEPTH_STENCIL: + case GL_DEPTH24_STENCIL8: + return true; + default: + break; + } + break; + } + case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: + { + switch (internalFormat) + { + case GL_DEPTH32F_STENCIL8: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_RED: + switch (type) + { + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_R16_EXT: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_R16_SNORM_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_RED: + case GL_R32F: + case GL_R16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_RED: + case GL_R16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_RED: + case GL_R16F: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_RED: + case GL_SR8_EXT: + case GL_R8: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_R8_SNORM: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_DEPTH_COMPONENT: + switch (type) + { + case GL_UNSIGNED_INT: + { + switch (internalFormat) + { + case GL_DEPTH_COMPONENT: + case GL_DEPTH_COMPONENT24: + case GL_DEPTH_COMPONENT16: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_INT_24_8: + { + switch (internalFormat) + { + case GL_DEPTH_COMPONENT32_OES: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_DEPTH_COMPONENT32F: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_DEPTH_COMPONENT: + case GL_DEPTH_COMPONENT16: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_STENCIL_INDEX: switch (type) { case GL_UNSIGNED_BYTE: { switch (internalFormat) { - case GL_SRGB_ALPHA_EXT: - case GL_SRGB8_ALPHA8_EXT: + case GL_STENCIL_INDEX8: return true; default: break; @@ -1749,14 +1614,149 @@ bool ValidES3FormatCombination(GLenum format, GLenum type, GLenum internalFormat } break; - case GL_STENCIL_INDEX: + case GL_SRGB_ALPHA_EXT: switch (type) { case GL_UNSIGNED_BYTE: { switch (internalFormat) { - case GL_STENCIL_INDEX8: + case GL_SRGB_ALPHA_EXT: + case GL_SRGB8_ALPHA8_EXT: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_RG: + switch (type) + { + case GL_UNSIGNED_SHORT: + { + switch (internalFormat) + { + case GL_RG16_EXT: + return true; + default: + break; + } + break; + } + case GL_SHORT: + { + switch (internalFormat) + { + case GL_RG16_SNORM_EXT: + return true; + default: + break; + } + break; + } + case GL_FLOAT: + { + switch (internalFormat) + { + case GL_RG: + case GL_RG32F: + case GL_RG16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT_OES: + { + switch (internalFormat) + { + case GL_RG: + case GL_RG16F: + return true; + default: + break; + } + break; + } + case GL_HALF_FLOAT: + { + switch (internalFormat) + { + case GL_RG: + case GL_RG16F: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_RG: + case GL_RG8: + return true; + default: + break; + } + break; + } + case GL_BYTE: + { + switch (internalFormat) + { + case GL_RG8_SNORM: + return true; + default: + break; + } + break; + } + default: + break; + } + break; + + case GL_BGRA_EXT: + switch (type) + { + case GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT: + { + switch (internalFormat) + { + case GL_BGRA4_ANGLEX: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_BYTE: + { + switch (internalFormat) + { + case GL_BGRA8_EXT: + case GL_BGRA4_ANGLEX: + case GL_BGR5_A1_ANGLEX: + case GL_BGRA_EXT: + return true; + default: + break; + } + break; + } + case GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT: + { + switch (internalFormat) + { + case GL_BGR5_A1_ANGLEX: return true; default: break; diff --git a/gfx/angle/checkout/src/libANGLE/formatutils.cpp b/gfx/angle/checkout/src/libANGLE/formatutils.cpp index ed2c8a6d515d..3f9f37d9713c 100644 --- a/gfx/angle/checkout/src/libANGLE/formatutils.cpp +++ b/gfx/angle/checkout/src/libANGLE/formatutils.cpp @@ -845,7 +845,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMap() // ANGLE Depth stencil formats // | Internal format |sized| D |S | X | Format | Type | Component type | Texture supported | Filterable | Texture attachment | Renderbuffer | Blend AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT16, true, 16, 0, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_UNSIGNED_NORMALIZED, RequireES<1, 0>, RequireESOrExtOrExt<3, 0, &Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireES<1, 0>, RequireES<1, 0>, RequireES<1, 0>); - AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT24, true, 24, 0, 8, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_UNSIGNED_NORMALIZED, RequireES<3, 0>, RequireESOrExt<3, 0, &Extensions::depthTextureANGLE>, RequireES<3, 0>, RequireESOrExt<3, 0, &Extensions::depth24OES>, RequireESOrExt<3, 0, &Extensions::depth24OES>); + AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT24, true, 24, 0, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_UNSIGNED_NORMALIZED, RequireES<3, 0>, RequireESOrExt<3, 0, &Extensions::depthTextureANGLE>, RequireES<3, 0>, RequireESOrExt<3, 0, &Extensions::depth24OES>, RequireESOrExt<3, 0, &Extensions::depth24OES>); AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT32F, true, 32, 0, 0, GL_DEPTH_COMPONENT, GL_FLOAT, GL_FLOAT, RequireES<3, 0>, RequireESOrExt<3, 0, &Extensions::depthTextureANGLE>, RequireES<3, 0>, RequireES<3, 0>, RequireES<3, 0>); AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT32_OES, true, 32, 0, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_UNSIGNED_NORMALIZED, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, AlwaysSupported, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES, &Extensions::depth32OES>, RequireExtOrExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES, &Extensions::depth32OES>); AddDepthStencilFormat(&map, GL_DEPTH24_STENCIL8, true, 24, 8, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_NORMALIZED, RequireESOrExt<3, 0, &Extensions::depthTextureANGLE>, AlwaysSupported, RequireESOrExtOrExt<3, 0, &Extensions::depthTextureANGLE, &Extensions::packedDepthStencilOES>, RequireESOrExtOrExt<3, 0, &Extensions::depthTextureANGLE, &Extensions::packedDepthStencilOES>, RequireESOrExtOrExt<3, 0, &Extensions::depthTextureANGLE, &Extensions::packedDepthStencilOES>); @@ -1018,13 +1018,13 @@ static InternalFormatInfoMap BuildInternalFormatInfoMap() AddRGBAFormat(&map, GL_RG, false, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureRG>, AlwaysSupported, RequireExt<&Extensions::textureRG>, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RG, false, 8, 8, 0, 0, 0, GL_RG, GL_BYTE, GL_SIGNED_NORMALIZED, false, NeverSupported, NeverSupported, NeverSupported, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RG, false, 16, 16, 0, 0, 0, GL_RG, GL_UNSIGNED_SHORT, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureNorm16>, AlwaysSupported, RequireExt<&Extensions::textureNorm16>, NeverSupported, NeverSupported); - AddRGBAFormat(&map, GL_RGB, false, 8, 8, 8, 0, 0, GL_RGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireESOrExt<2, 0, &Extensions::framebufferObjectOES>, NeverSupported, NeverSupported); - AddRGBAFormat(&map, GL_RGB, false, 5, 6, 5, 0, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireESOrExt<2, 0, &Extensions::framebufferObjectOES>, NeverSupported, NeverSupported); + AddRGBAFormat(&map, GL_RGB, false, 8, 8, 8, 0, 0, GL_RGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); + AddRGBAFormat(&map, GL_RGB, false, 5, 6, 5, 0, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RGB, false, 8, 8, 8, 0, 0, GL_RGB, GL_BYTE, GL_SIGNED_NORMALIZED, false, NeverSupported, NeverSupported, NeverSupported, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RGB, false, 10, 10, 10, 0, 0, GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureFormat2101010REV>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); - AddRGBAFormat(&map, GL_RGBA, false, 4, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireESOrExt<2, 0, &Extensions::framebufferObjectOES>, NeverSupported, NeverSupported); - AddRGBAFormat(&map, GL_RGBA, false, 5, 5, 5, 1, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireESOrExt<2, 0, &Extensions::framebufferObjectOES>, NeverSupported, NeverSupported); - AddRGBAFormat(&map, GL_RGBA, false, 8, 8, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireESOrExt<2, 0, &Extensions::framebufferObjectOES>, NeverSupported, NeverSupported); + AddRGBAFormat(&map, GL_RGBA, false, 4, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); + AddRGBAFormat(&map, GL_RGBA, false, 5, 5, 5, 1, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); + AddRGBAFormat(&map, GL_RGBA, false, 8, 8, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, AlwaysSupported, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RGBA, false, 16, 16, 16, 16, 0, GL_RGBA, GL_UNSIGNED_SHORT, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureNorm16>, AlwaysSupported, RequireExt<&Extensions::textureNorm16>, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RGBA, false, 10, 10, 10, 2, 0, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureFormat2101010REV>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); AddRGBAFormat(&map, GL_RGBA, false, 8, 8, 8, 8, 0, GL_RGBA, GL_BYTE, GL_SIGNED_NORMALIZED, false, NeverSupported, NeverSupported, NeverSupported, NeverSupported, NeverSupported); @@ -1034,7 +1034,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMap() angle::SystemInfo info; if (angle::GetSystemInfo(&info)) { - if (info.needsEAGLOnMac) + if (info.isiOSAppOnMac) { // Using OpenGLES.framework. AddRGBAFormat(&map, GL_BGRA_EXT, false, 8, 8, 8, 8, 0, GL_BGRA_EXT, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireES<2, 0>, AlwaysSupported, RequireES<2, 0>, NeverSupported, NeverSupported); @@ -1109,7 +1109,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMap() // Unsized depth stencil formats // | Internal format |sized | D |S | X | Format | Type | Component type | Texture supported | Filterable | Texture attachment | Renderbuffer | Blend AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT, false, 16, 0, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_UNSIGNED_NORMALIZED, RequireES<1, 0>, AlwaysSupported, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>); - AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT, false, 24, 0, 8, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_UNSIGNED_NORMALIZED, RequireES<1, 0>, AlwaysSupported, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>); + AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT, false, 24, 0, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_UNSIGNED_NORMALIZED, RequireES<1, 0>, AlwaysSupported, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>, RequireExtOrExt<&Extensions::depthTextureANGLE, &Extensions::depthTextureOES>); AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT, false, 32, 0, 0, GL_DEPTH_COMPONENT, GL_FLOAT, GL_FLOAT, RequireES<1, 0>, AlwaysSupported, RequireES<1, 0>, RequireES<1, 0>, RequireES<1, 0>); AddDepthStencilFormat(&map, GL_DEPTH_COMPONENT, false, 24, 8, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_NORMALIZED, RequireESOrExt<3, 0, &Extensions::packedDepthStencilOES>, AlwaysSupported, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>); AddDepthStencilFormat(&map, GL_DEPTH_STENCIL, false, 24, 8, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_NORMALIZED, RequireESOrExt<3, 0, &Extensions::packedDepthStencilOES>, AlwaysSupported, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>, RequireExtAndExt<&Extensions::packedDepthStencilOES, &Extensions::depthTextureANGLE>); @@ -1521,7 +1521,21 @@ bool CompressedFormatRequiresWholeImage(GLenum internalFormat) { // List of compressed texture format that require that the sub-image size is equal to texture's // respective mip level's size - return IsPVRTC1Format(internalFormat); + switch (internalFormat) + { + case GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: + case GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: + return true; + + default: + return false; + } } void MaybeOverrideLuminance(GLenum &format, GLenum &type, GLenum actualFormat, GLenum actualType) diff --git a/gfx/angle/checkout/src/libANGLE/formatutils.h b/gfx/angle/checkout/src/libANGLE/formatutils.h index 344865e22f3b..63e916fb735f 100644 --- a/gfx/angle/checkout/src/libANGLE/formatutils.h +++ b/gfx/angle/checkout/src/libANGLE/formatutils.h @@ -423,25 +423,6 @@ ANGLE_INLINE bool IsETC2EACFormat(const GLenum format) } } -ANGLE_INLINE bool IsPVRTC1Format(const GLenum format) -{ - switch (format) - { - case GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: - case GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: - case GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: - case GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: - case GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT: - case GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT: - case GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: - case GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: - return true; - - default: - return false; - } -} - // Check if an internal format is ever valid in ES3. Makes no checks about support for a specific // context. bool ValidES3InternalFormat(GLenum internalFormat); diff --git a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_autogen.h b/gfx/angle/checkout/src/libANGLE/frame_capture_utils_autogen.h similarity index 99% rename from gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_autogen.h rename to gfx/angle/checkout/src/libANGLE/frame_capture_utils_autogen.h index dfbf991bcd9c..8b5a15aab651 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/frame_capture_utils_autogen.h @@ -129,7 +129,6 @@ enum class ParamType TTransformFeedbackID, TTransformFeedbackIDConstPointer, TTransformFeedbackIDPointer, - TUniformBlockIndex, TUniformLocation, TVertexArrayID, TVertexArrayIDConstPointer, @@ -141,7 +140,7 @@ enum class ParamType TvoidPointerPointer, }; -constexpr uint32_t kParamTypeCount = 122; +constexpr uint32_t kParamTypeCount = 121; union ParamValue { @@ -257,7 +256,6 @@ union ParamValue gl::TransformFeedbackID TransformFeedbackIDVal; const gl::TransformFeedbackID *TransformFeedbackIDConstPointerVal; gl::TransformFeedbackID *TransformFeedbackIDPointerVal; - gl::UniformBlockIndex UniformBlockIndexVal; gl::UniformLocation UniformLocationVal; gl::VertexArrayID VertexArrayIDVal; const gl::VertexArrayID *VertexArrayIDConstPointerVal; @@ -1016,13 +1014,6 @@ inline gl::TransformFeedbackID *GetParamVal -inline gl::UniformBlockIndex GetParamVal( - const ParamValue &value) -{ - return value.UniformBlockIndexVal; -} - template <> inline gl::UniformLocation GetParamVal( const ParamValue &value) @@ -1319,8 +1310,6 @@ T AccessParamValue(ParamType paramType, const ParamValue &value) return GetParamVal(value); case ParamType::TTransformFeedbackIDPointer: return GetParamVal(value); - case ParamType::TUniformBlockIndex: - return GetParamVal(value); case ParamType::TUniformLocation: return GetParamVal(value); case ParamType::TVertexArrayID: @@ -2068,13 +2057,6 @@ inline void SetParamVal(gl::TransformFee valueOut->TransformFeedbackIDPointerVal = valueIn; } -template <> -inline void SetParamVal(gl::UniformBlockIndex valueIn, - ParamValue *valueOut) -{ - valueOut->UniformBlockIndexVal = valueIn; -} - template <> inline void SetParamVal(gl::UniformLocation valueIn, ParamValue *valueOut) @@ -2481,9 +2463,6 @@ void InitParamValue(ParamType paramType, T valueIn, ParamValue *valueOut) case ParamType::TTransformFeedbackIDPointer: SetParamVal(valueIn, valueOut); break; - case ParamType::TUniformBlockIndex: - SetParamVal(valueIn, valueOut); - break; case ParamType::TUniformLocation: SetParamVal(valueIn, valueOut); break; diff --git a/gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils.h b/gfx/angle/checkout/src/libANGLE/gl_enum_utils.h similarity index 94% rename from gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils.h rename to gfx/angle/checkout/src/libANGLE/gl_enum_utils.h index 08e4f173f21e..c0e32b79873f 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils.h +++ b/gfx/angle/checkout/src/libANGLE/gl_enum_utils.h @@ -12,7 +12,7 @@ #include #include -#include "libANGLE/capture/gl_enum_utils_autogen.h" +#include "libANGLE/gl_enum_utils_autogen.h" namespace gl { diff --git a/gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils_autogen.h b/gfx/angle/checkout/src/libANGLE/gl_enum_utils_autogen.h similarity index 98% rename from gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils_autogen.h rename to gfx/angle/checkout/src/libANGLE/gl_enum_utils_autogen.h index 560fa54decef..35ad30b48494 100644 --- a/gfx/angle/checkout/src/libANGLE/capture/gl_enum_utils_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/gl_enum_utils_autogen.h @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_gl_enum_utils.py using data from gl.xml and gl_angle_ext.xml. // -// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/libANGLE/queryconversions.cpp b/gfx/angle/checkout/src/libANGLE/queryconversions.cpp index 3c3ab45b7c86..fe28b4a2c78f 100644 --- a/gfx/angle/checkout/src/libANGLE/queryconversions.cpp +++ b/gfx/angle/checkout/src/libANGLE/queryconversions.cpp @@ -220,9 +220,7 @@ void CastStateValues(const Context *context, } } else - { - WARN() << "Application querying parameter that does not exist."; - } + UNREACHABLE(); } // Explicit template instantiation (how we export template functions in different files) diff --git a/gfx/angle/checkout/src/libANGLE/queryutils.cpp b/gfx/angle/checkout/src/libANGLE/queryutils.cpp index a169907b31ef..d715a66e6bf1 100644 --- a/gfx/angle/checkout/src/libANGLE/queryutils.cpp +++ b/gfx/angle/checkout/src/libANGLE/queryutils.cpp @@ -227,7 +227,7 @@ void QueryTexLevelParameterBase(const Texture *texture, break; case GL_TEXTURE_BUFFER_SIZE: *params = CastFromStateValue( - pname, static_cast(GetBoundBufferAvailableSize(texture->getBuffer()))); + pname, static_cast(texture->getBuffer().getSize())); break; default: UNREACHABLE(); @@ -365,10 +365,6 @@ void QueryTexParameterBase(const Context *context, *params = CastFromGLintStateValue( pname, texture->initState() == InitState::Initialized); break; - case GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES: - *params = CastFromGLintStateValue( - pname, texture->getRequiredTextureImageUnits(context)); - break; default: UNREACHABLE(); break; @@ -735,13 +731,6 @@ GLint GetInputResourceProperty(const Program *program, GLuint index, GLenum prop return program->getState().getFirstAttachedShaderStageType() == ShaderType::Compute; case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: return program->getState().getFirstAttachedShaderStageType() == ShaderType::Geometry; - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - return program->getState().getFirstAttachedShaderStageType() == ShaderType::TessControl; - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - return program->getState().getFirstAttachedShaderStageType() == - ShaderType::TessEvaluation; - case GL_IS_PER_PATCH_EXT: - return variable.isPatch; default: UNREACHABLE(); @@ -785,13 +774,6 @@ GLint GetOutputResourceProperty(const Program *program, GLuint index, const GLen return program->getState().getLastAttachedShaderStageType() == ShaderType::Compute; case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: return program->getState().getLastAttachedShaderStageType() == ShaderType::Geometry; - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - return program->getState().getLastAttachedShaderStageType() == ShaderType::TessControl; - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - return program->getState().getLastAttachedShaderStageType() == - ShaderType::TessEvaluation; - case GL_IS_PER_PATCH_EXT: - return outputVariable.isPatch; default: UNREACHABLE(); @@ -1020,14 +1002,6 @@ void GetShaderVariableBufferResourceProperty(const ShaderVariableBuffer &buffer, case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: params[(*outputPosition)++] = static_cast(buffer.isActive(ShaderType::Geometry)); break; - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - params[(*outputPosition)++] = - static_cast(buffer.isActive(ShaderType::TessControl)); - break; - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - params[(*outputPosition)++] = - static_cast(buffer.isActive(ShaderType::TessEvaluation)); - break; default: UNREACHABLE(); break; @@ -1369,21 +1343,6 @@ void QueryProgramiv(Context *context, const Program *program, GLenum pname, GLin case GL_GEOMETRY_SHADER_INVOCATIONS_EXT: *params = program->getGeometryShaderInvocations(); break; - case GL_TESS_CONTROL_OUTPUT_VERTICES_EXT: - *params = program->getTessControlShaderVertices(); - break; - case GL_TESS_GEN_MODE_EXT: - *params = program->getTessGenMode(); - break; - case GL_TESS_GEN_SPACING_EXT: - *params = program->getTessGenSpacing() ? program->getTessGenSpacing() : GL_EQUAL; - break; - case GL_TESS_GEN_VERTEX_ORDER: - *params = program->getTessGenVertexOrder() ? program->getTessGenVertexOrder() : GL_CCW; - break; - case GL_TESS_GEN_POINT_MODE_EXT: - *params = program->getTessGenPointMode() ? GL_TRUE : GL_FALSE; - break; default: UNREACHABLE(); break; @@ -1626,7 +1585,7 @@ void QueryVertexAttribIuiv(const VertexAttribute &attrib, } void QueryActiveUniformBlockiv(const Program *program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLint *params) { @@ -1903,12 +1862,6 @@ GLint GetUniformResourceProperty(const Program *program, GLuint index, const GLe case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: return uniform.isActive(ShaderType::Geometry); - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - return uniform.isActive(ShaderType::TessControl); - - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - return uniform.isActive(ShaderType::TessEvaluation); - case GL_ATOMIC_COUNTER_BUFFER_INDEX: return (uniform.isAtomicCounter() ? uniform.bufferIndex : -1); @@ -1955,12 +1908,6 @@ GLint GetBufferVariableResourceProperty(const Program *program, GLuint index, co case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: return bufferVariable.isActive(ShaderType::Geometry); - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - return bufferVariable.isActive(ShaderType::TessControl); - - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - return bufferVariable.isActive(ShaderType::TessEvaluation); - case GL_TOP_LEVEL_ARRAY_SIZE: return bufferVariable.topLevelArraySize; @@ -2036,7 +1983,7 @@ void QueryProgramResourceName(const Program *program, break; case GL_UNIFORM_BLOCK: - program->getActiveUniformBlockName({index}, bufSize, length, name); + program->getActiveUniformBlockName(index, bufSize, length, name); break; case GL_TRANSFORM_FEEDBACK_VARYING: @@ -2071,7 +2018,7 @@ GLint QueryProgramResourceLocation(const Program *program, void QueryProgramResourceiv(const Program *program, GLenum programInterface, - UniformBlockIndex index, + GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, @@ -2100,43 +2047,41 @@ void QueryProgramResourceiv(const Program *program, switch (programInterface) { case GL_PROGRAM_INPUT: - params[i] = GetInputResourceProperty(program, index.value, props[i]); + params[i] = GetInputResourceProperty(program, index, props[i]); ++pos; break; case GL_PROGRAM_OUTPUT: - params[i] = GetOutputResourceProperty(program, index.value, props[i]); + params[i] = GetOutputResourceProperty(program, index, props[i]); ++pos; break; case GL_UNIFORM: - params[i] = GetUniformResourceProperty(program, index.value, props[i]); + params[i] = GetUniformResourceProperty(program, index, props[i]); ++pos; break; case GL_BUFFER_VARIABLE: - params[i] = GetBufferVariableResourceProperty(program, index.value, props[i]); + params[i] = GetBufferVariableResourceProperty(program, index, props[i]); ++pos; break; case GL_UNIFORM_BLOCK: - GetUniformBlockResourceProperty(program, index.value, props[i], params, bufSize, - &pos); + GetUniformBlockResourceProperty(program, index, props[i], params, bufSize, &pos); break; case GL_SHADER_STORAGE_BLOCK: - GetShaderStorageBlockResourceProperty(program, index.value, props[i], params, - bufSize, &pos); + GetShaderStorageBlockResourceProperty(program, index, props[i], params, bufSize, + &pos); break; case GL_ATOMIC_COUNTER_BUFFER: - GetAtomicCounterBufferResourceProperty(program, index.value, props[i], params, - bufSize, &pos); + GetAtomicCounterBufferResourceProperty(program, index, props[i], params, bufSize, + &pos); break; case GL_TRANSFORM_FEEDBACK_VARYING: - params[i] = - GetTransformFeedbackVaryingResourceProperty(program, index.value, props[i]); + params[i] = GetTransformFeedbackVaryingResourceProperty(program, index, props[i]); ++pos; break; @@ -2487,7 +2432,6 @@ unsigned int GetLightModelParameterCount(GLenum pname) case GL_LIGHT_MODEL_TWO_SIDE: return 1; default: - UNREACHABLE(); return 0; } } @@ -2498,7 +2442,6 @@ unsigned int GetLightParameterCount(LightParameter pname) { case LightParameter::Ambient: case LightParameter::Diffuse: - case LightParameter::AmbientAndDiffuse: case LightParameter::Specular: case LightParameter::Position: return 4; @@ -2511,7 +2454,6 @@ unsigned int GetLightParameterCount(LightParameter pname) case LightParameter::QuadraticAttenuation: return 1; default: - UNREACHABLE(); return 0; } } @@ -2522,14 +2464,12 @@ unsigned int GetMaterialParameterCount(MaterialParameter pname) { case MaterialParameter::Ambient: case MaterialParameter::Diffuse: - case MaterialParameter::AmbientAndDiffuse: case MaterialParameter::Specular: case MaterialParameter::Emission: return 4; case MaterialParameter::Shininess: return 1; default: - UNREACHABLE(); return 0; } } @@ -3071,7 +3011,7 @@ bool GetQueryParameterInfo(const State &glState, case GL_NUM_COMPRESSED_TEXTURE_FORMATS: case GL_ARRAY_BUFFER_BINDING: case GL_FRAMEBUFFER_BINDING: // GL_FRAMEBUFFER_BINDING now equivalent to - // GL_DRAW_FRAMEBUFFER_BINDING + // GL_DRAW_FRAMEBUFFER_BINDING_ANGLE case GL_RENDERBUFFER_BINDING: case GL_CURRENT_PROGRAM: case GL_PACK_ALIGNMENT: @@ -3274,24 +3214,6 @@ bool GetQueryParameterInfo(const State &glState, *type = GL_INT; *numParams = 1; return true; - case GL_MAX_CULL_DISTANCES_EXT: - case GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT: - if (!extensions.clipCullDistanceEXT) - { - return false; - } - *type = GL_INT; - *numParams = 1; - return true; - case GL_CLIP_ORIGIN_EXT: - case GL_CLIP_DEPTH_MODE_EXT: - if (!extensions.clipControlEXT) - { - return false; - } - *type = GL_INT; - *numParams = 1; - return true; } if (glState.getClientType() == EGL_OPENGL_API) @@ -3407,9 +3329,9 @@ bool GetQueryParameterInfo(const State &glState, // Check for ES3.0+ parameter names which are also exposed as ES2 extensions switch (pname) { - // GL_DRAW_FRAMEBUFFER_BINDING equivalent to GL_FRAMEBUFFER_BINDING - case GL_READ_FRAMEBUFFER_BINDING: - if ((clientMajorVersion < 3) && !extensions.framebufferBlitAny()) + // GL_DRAW_FRAMEBUFFER_BINDING_ANGLE equivalent to FRAMEBUFFER_BINDING + case GL_READ_FRAMEBUFFER_BINDING_ANGLE: + if ((clientMajorVersion < 3) && !extensions.framebufferBlit) { return false; } @@ -3845,45 +3767,6 @@ bool GetQueryParameterInfo(const State &glState, } } - if (extensions.tessellationShaderEXT) - { - switch (pname) - { - case GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED: - *type = GL_BOOL; - *numParams = 1; - return true; - case GL_PATCH_VERTICES: - case GL_MAX_PATCH_VERTICES_EXT: - case GL_MAX_TESS_GEN_LEVEL_EXT: - case GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT: - case GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT: - case GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT: - case GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT: - case GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT: - case GL_MAX_TESS_PATCH_COMPONENTS_EXT: - case GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT: - case GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT: - case GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT: - case GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT: - case GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT: - case GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT: - case GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT: - case GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT: - case GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT: - case GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT: - case GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT: - case GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT: - case GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT: - case GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT: - case GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT: - case GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT: - *type = GL_INT; - *numParams = 1; - return true; - } - } - return false; } @@ -4160,7 +4043,6 @@ void QueryContextAttrib(const gl::Context *context, EGLint attribute, EGLint *va } egl::Error QuerySurfaceAttrib(const Display *display, - const gl::Context *context, const Surface *surface, EGLint attribute, EGLint *value) @@ -4259,9 +4141,6 @@ egl::Error QuerySurfaceAttrib(const Display *display, case EGL_TIMESTAMPS_ANDROID: *value = surface->isTimestampsEnabled(); break; - case EGL_BUFFER_AGE_EXT: - ANGLE_TRY(surface->getBufferAge(context, value)); - break; default: UNREACHABLE(); break; diff --git a/gfx/angle/checkout/src/libANGLE/queryutils.h b/gfx/angle/checkout/src/libANGLE/queryutils.h index 1cac4165f7eb..d618f4bbabd8 100644 --- a/gfx/angle/checkout/src/libANGLE/queryutils.h +++ b/gfx/angle/checkout/src/libANGLE/queryutils.h @@ -113,7 +113,7 @@ void QueryVertexAttribIuiv(const VertexAttribute &attrib, GLuint *params); void QueryActiveUniformBlockiv(const Program *program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLint *params); @@ -172,7 +172,7 @@ GLint QueryProgramResourceLocation(const Program *program, const GLchar *name); void QueryProgramResourceiv(const Program *program, GLenum programInterface, - UniformBlockIndex index, + GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, @@ -275,7 +275,6 @@ void QueryConfigAttrib(const Config *config, EGLint attribute, EGLint *value); void QueryContextAttrib(const gl::Context *context, EGLint attribute, EGLint *value); egl::Error QuerySurfaceAttrib(const Display *display, - const gl::Context *context, const Surface *surface, EGLint attribute, EGLint *value); diff --git a/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.cpp b/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.cpp index ad55b14754ee..835f44077ca8 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.cpp @@ -22,7 +22,6 @@ angle::Result BufferImpl::getSubData(const gl::Context *context, angle::Result BufferImpl::setDataWithUsageFlags(const gl::Context *context, gl::BufferBinding target, - GLeglClientBufferEXT clientBuffer, const void *data, size_t size, gl::BufferUsage usage, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.h index 7bb20cdbccb5..6fbfa0da808a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/BufferImpl.h @@ -37,7 +37,6 @@ class BufferImpl : public angle::Subject virtual angle::Result setDataWithUsageFlags(const gl::Context *context, gl::BufferBinding target, - GLeglClientBufferEXT clientBuffer, const void *data, size_t size, gl::BufferUsage usage, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/ContextImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/ContextImpl.h index efca800dd819..1af56839e35a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/ContextImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/ContextImpl.h @@ -161,6 +161,10 @@ class ContextImpl : public GLImplFactory // Device loss virtual gl::GraphicsResetStatus getResetStatus() = 0; + // Vendor and description strings. + virtual std::string getVendorString() const = 0; + virtual std::string getRendererDescription() const = 0; + // EXT_debug_marker virtual angle::Result insertEventMarker(GLsizei length, const char *marker) = 0; virtual angle::Result pushGroupMarker(GLsizei length, const char *marker) = 0; @@ -179,9 +183,6 @@ class ContextImpl : public GLImplFactory // GL_ANGLE_texture_storage_external virtual void invalidateTexture(gl::TextureType target); - // EXT_shader_framebuffer_fetch_non_coherent - virtual void framebufferFetchBarrier() {} - // State sync with dirty bits. virtual angle::Result syncState(const gl::Context *context, const gl::State::DirtyBits &dirtyBits, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.cpp b/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.cpp index b38f9ca9b97a..d41c25776cd2 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.cpp @@ -10,34 +10,9 @@ #include "libANGLE/Display.h" #include "libANGLE/Surface.h" -#include "libANGLE/renderer/DeviceImpl.h" namespace rx { -namespace -{ -// For back-ends that do not implement EGLDevice. -class MockDevice : public DeviceImpl -{ - public: - MockDevice() = default; - egl::Error initialize() override { return egl::NoError(); } - egl::Error getAttribute(const egl::Display *display, EGLint attribute, void **outValue) override - { - UNREACHABLE(); - return egl::EglBadAttribute(); - } - EGLint getType() override - { - UNREACHABLE(); - return EGL_NONE; - } - void generateExtensions(egl::DeviceExtensions *outExtensions) const override - { - *outExtensions = egl::DeviceExtensions(); - } -}; -} // anonymous namespace DisplayImpl::DisplayImpl(const egl::DisplayState &state) : mState(state), mExtensionsInitialized(false), mCapsInitialized(false), mBlobCache(nullptr) @@ -92,7 +67,7 @@ egl::Error DisplayImpl::validateImageClientBuffer(const gl::Context *context, return egl::EglBadDisplay() << "DisplayImpl::validateImageClientBuffer unimplemented."; } -egl::Error DisplayImpl::validatePixmap(const egl::Config *config, +egl::Error DisplayImpl::validatePixmap(egl::Config *config, EGLNativePixmapType pixmap, const egl::AttributeMap &attributes) const { @@ -111,8 +86,4 @@ const egl::Caps &DisplayImpl::getCaps() const return mCaps; } -DeviceImpl *DisplayImpl::createDevice() -{ - return new MockDevice(); -} } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.h index cd1d36546779..84f8ff104e2b 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/DisplayImpl.h @@ -90,15 +90,13 @@ class DisplayImpl : public EGLImplFactory, public angle::Subject EGLenum target, EGLClientBuffer clientBuffer, const egl::AttributeMap &attribs) const; - virtual egl::Error validatePixmap(const egl::Config *config, + virtual egl::Error validatePixmap(egl::Config *config, EGLNativePixmapType pixmap, const egl::AttributeMap &attributes) const; - virtual std::string getRendererDescription() = 0; - virtual std::string getVendorString() = 0; - virtual std::string getVersionString() = 0; + virtual std::string getVendorString() const = 0; - virtual DeviceImpl *createDevice(); + virtual DeviceImpl *createDevice() = 0; virtual egl::Error waitClient(const gl::Context *context) = 0; virtual egl::Error waitNative(const gl::Context *context, EGLint engine) = 0; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/Format.h b/gfx/angle/checkout/src/libANGLE/renderer/Format.h index 1974381f53a8..b17f657839e4 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/Format.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/Format.h @@ -44,7 +44,6 @@ struct Format final : private angle::NonCopyable bool isFixed, bool isScaled, bool isSRGB, - bool isYUV, gl::VertexAttribType vertexAttribType); static const Format &Get(FormatID id) { return gFormatInfoTable[static_cast(id)]; } @@ -53,7 +52,6 @@ struct Format final : private angle::NonCopyable constexpr bool hasDepthOrStencilBits() const; constexpr bool isLUMA() const; - constexpr bool isBGRA() const; constexpr bool isSint() const; constexpr bool isUint() const; @@ -108,7 +106,6 @@ struct Format final : private angle::NonCopyable bool isFixed; bool isScaled; bool isSRGB; - bool isYUV; // For vertex formats only. Returns the "type" value for glVertexAttribPointer etc. gl::VertexAttribType vertexAttribType; @@ -148,7 +145,6 @@ constexpr Format::Format(FormatID id, bool isFixed, bool isScaled, bool isSRGB, - bool isYUV, gl::VertexAttribType vertexAttribType) : id(id), glInternalFormat(glFormat), @@ -178,7 +174,6 @@ constexpr Format::Format(FormatID id, isFixed(isFixed), isScaled(isScaled), isSRGB(isSRGB), - isYUV(isYUV), vertexAttribType(vertexAttribType) {} @@ -194,12 +189,6 @@ constexpr bool Format::isLUMA() const return redBits == 0 && (luminanceBits > 0 || alphaBits > 0); } -constexpr bool Format::isBGRA() const -{ - return id == FormatID::B8G8R8A8_UNORM || id == FormatID::B8G8R8A8_UNORM_SRGB || - id == FormatID::B8G8R8A8_TYPELESS || id == FormatID::B8G8R8A8_TYPELESS_SRGB; -} - constexpr bool Format::isSint() const { return componentType == GL_INT; @@ -230,9 +219,6 @@ constexpr bool Format::isVertexTypeHalfFloat() const return vertexAttribType == gl::VertexAttribType::HalfFloat; } -template -using FormatMap = PackedEnumMap; - } // namespace angle #endif // LIBANGLE_RENDERER_FORMAT_H_ diff --git a/gfx/angle/checkout/src/libANGLE/renderer/FormatID_autogen.h b/gfx/angle/checkout/src/libANGLE/renderer/FormatID_autogen.h index 92b58becfa1d..a298857858b4 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/FormatID_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/FormatID_autogen.h @@ -104,10 +104,10 @@ enum class FormatID BC4_RED_UNORM_BLOCK, BC5_RG_SNORM_BLOCK, BC5_RG_UNORM_BLOCK, - BC6H_RGB_SFLOAT_BLOCK, - BC6H_RGB_UFLOAT_BLOCK, - BC7_RGBA_UNORM_BLOCK, - BC7_RGBA_UNORM_SRGB_BLOCK, + BPTC_RGBA_UNORM_BLOCK, + BPTC_RGB_SIGNED_FLOAT_BLOCK, + BPTC_RGB_UNSIGNED_FLOAT_BLOCK, + BPTC_SRGB_ALPHA_UNORM_BLOCK, EAC_R11G11_SNORM_BLOCK, EAC_R11G11_UNORM_BLOCK, EAC_R11_SNORM_BLOCK, @@ -120,8 +120,6 @@ enum class FormatID ETC2_R8G8B8A8_UNORM_BLOCK, ETC2_R8G8B8_SRGB_BLOCK, ETC2_R8G8B8_UNORM_BLOCK, - G8_B8R8_2PLANE_420_UNORM, - G8_B8_R8_3PLANE_420_UNORM, L16A16_FLOAT, L16_FLOAT, L32A32_FLOAT, @@ -245,7 +243,7 @@ enum class FormatID X2R10G10B10_USCALED_VERTEX }; -constexpr uint32_t kNumANGLEFormats = 226; +constexpr uint32_t kNumANGLEFormats = 224; } // namespace angle diff --git a/gfx/angle/checkout/src/libANGLE/renderer/Format_table_autogen.cpp b/gfx/angle/checkout/src/libANGLE/renderer/Format_table_autogen.cpp index aab2dc732a8a..be9dc03dbc03 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/Format_table_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/Format_table_autogen.cpp @@ -24,232 +24,230 @@ static constexpr rx::FastCopyFunctionMap NoCopyFunctions; const Format gFormatInfoTable[] = { // clang-format off - { FormatID::NONE, GL_NONE, GL_NONE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::D16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT16, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 16, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::D24_UNORM_S8_UINT, GL_DEPTH24_STENCIL8, GL_DEPTH24_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 8, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::D24_UNORM_X8_UINT, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT24, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::D32_FLOAT, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT32F, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_FLOAT, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::D32_FLOAT_S8X24_UINT, GL_DEPTH32F_STENCIL8, GL_DEPTH32F_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_FLOAT, 0, 0, 0, 0, 0, 32, 8, 8, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::D32_UNORM, GL_DEPTH_COMPONENT32_OES, GL_DEPTH_COMPONENT32_OES, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::S8_UINT, GL_STENCIL_INDEX8, GL_STENCIL_INDEX8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_INT, 0, 0, 0, 0, 0, 0, 8, 1, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::A16_FLOAT, GL_ALPHA16F_EXT, GL_ALPHA16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 16, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::A1R5G5B5_UNORM, GL_A1RGB5_ANGLEX, GL_A1RGB5_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::A2R10G10B10_SINT_VERTEX, GL_INT_10_10_10_2_OES, GL_INT_10_10_10_2_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::A2R10G10B10_SNORM_VERTEX, GL_A2_RGB10_SNORM_ANGLEX, GL_A2_RGB10_SNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::A2R10G10B10_SSCALED_VERTEX, GL_A2_RGB10_SSCALED_ANGLEX, GL_A2_RGB10_SSCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::A2R10G10B10_UINT_VERTEX, GL_UNSIGNED_INT_10_10_10_2_OES, GL_UNSIGNED_INT_10_10_10_2_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, - { FormatID::A2R10G10B10_UNORM_VERTEX, GL_A2_RGB10_UNORM_ANGLEX, GL_A2_RGB10_UNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, - { FormatID::A2R10G10B10_USCALED_VERTEX, GL_A2_RGB10_USCALED_ANGLEX, GL_A2_RGB10_USCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::UnsignedInt1010102 }, - { FormatID::A32_FLOAT, GL_ALPHA32F_EXT, GL_ALPHA32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 32, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::A8_UNORM, GL_ALPHA8_EXT, GL_ALPHA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x10_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x10_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x5_KHR, GL_COMPRESSED_RGBA_ASTC_10x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x6_KHR, GL_COMPRESSED_RGBA_ASTC_10x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_10x8_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x8_KHR, GL_COMPRESSED_RGBA_ASTC_10x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_12x10_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_12x10_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_12x10_KHR, GL_COMPRESSED_RGBA_ASTC_12x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_12x12_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_12x12_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_12x12_KHR, GL_COMPRESSED_RGBA_ASTC_12x12_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_3x3x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_3x3x3_OES, GL_COMPRESSED_RGBA_ASTC_3x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_3x3x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x3x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x3x3_OES, GL_COMPRESSED_RGBA_ASTC_4x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x3x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4_KHR, GL_COMPRESSED_RGBA_ASTC_4x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4x3_OES, GL_COMPRESSED_RGBA_ASTC_4x4x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4x4_OES, GL_COMPRESSED_RGBA_ASTC_4x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_4x4x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x4_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x4_KHR, GL_COMPRESSED_RGBA_ASTC_5x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x4x4_OES, GL_COMPRESSED_RGBA_ASTC_5x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x4x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5_KHR, GL_COMPRESSED_RGBA_ASTC_5x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5x4_OES, GL_COMPRESSED_RGBA_ASTC_5x5x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5x5_OES, GL_COMPRESSED_RGBA_ASTC_5x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_5x5x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x5_KHR, GL_COMPRESSED_RGBA_ASTC_6x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x5x5_OES, GL_COMPRESSED_RGBA_ASTC_6x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x5x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6_KHR, GL_COMPRESSED_RGBA_ASTC_6x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6x5_OES, GL_COMPRESSED_RGBA_ASTC_6x6x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6x6_OES, GL_COMPRESSED_RGBA_ASTC_6x6x6_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_6x6x6_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x5_KHR, GL_COMPRESSED_RGBA_ASTC_8x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x6_KHR, GL_COMPRESSED_RGBA_ASTC_8x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ASTC_8x8_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x8_KHR, GL_COMPRESSED_RGBA_ASTC_8x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::B10G10R10A2_UNORM, GL_BGR10_A2_ANGLEX, GL_BGR10_A2_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, - { FormatID::B4G4R4A4_UNORM, GL_BGRA4_ANGLEX, GL_RGBA4, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 4, 4, 4, 4, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::B5G5R5A1_UNORM, GL_BGR5_A1_ANGLEX, GL_RGB5_A1, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::B5G6R5_UNORM, GL_BGR565_ANGLEX, GL_RGB565, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 6, 5, 0, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::B8G8R8A8_TYPELESS, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::B8G8R8A8_TYPELESS_SRGB, GL_BGRA8_SRGB_ANGLEX, GL_BGRA8_SRGB_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::B8G8R8A8_UNORM, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, BGRACopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::B8G8R8A8_UNORM_SRGB, GL_BGRA8_SRGB_ANGLEX, GL_BGRA8_SRGB_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::B8G8R8X8_UNORM, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::BC1_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC1_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC1_RGB_UNORM_BLOCK, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC1_RGB_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC2_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE, GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC2_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC3_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE, GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC3_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC4_RED_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RED_RGTC1_EXT, GL_COMPRESSED_SIGNED_RED_RGTC1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC4_RED_UNORM_BLOCK, GL_COMPRESSED_RED_RGTC1_EXT, GL_COMPRESSED_RED_RGTC1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC5_RG_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC5_RG_UNORM_BLOCK, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC6H_RGB_SFLOAT_BLOCK, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_FLOAT, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC6H_RGB_UFLOAT_BLOCK, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_FLOAT, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC7_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_BPTC_UNORM_EXT, GL_COMPRESSED_RGBA_BPTC_UNORM_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::BC7_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::EAC_R11G11_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RG11_EAC, GL_COMPRESSED_SIGNED_RG11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 11, 11, 0, 0, 0, 0, 0, 16, 0, true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::EAC_R11G11_UNORM_BLOCK, GL_COMPRESSED_RG11_EAC, GL_COMPRESSED_RG11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 11, 11, 0, 0, 0, 0, 0, 16, 0, true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::EAC_R11_SNORM_BLOCK, GL_COMPRESSED_SIGNED_R11_EAC, GL_COMPRESSED_SIGNED_R11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 11, 0, 0, 0, 0, 0, 0, 8, 0, true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::EAC_R11_UNORM_BLOCK, GL_COMPRESSED_R11_EAC, GL_COMPRESSED_R11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 11, 0, 0, 0, 0, 0, 0, 8, 0, true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::ETC1_LOSSY_DECODE_R8G8B8_UNORM_BLOCK, GL_ETC1_RGB8_LOSSY_DECODE_ANGLE, GL_ETC1_RGB8_LOSSY_DECODE_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::ETC1_R8G8B8_UNORM_BLOCK, GL_ETC1_RGB8_OES, GL_ETC1_RGB8_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::ETC2_R8G8B8A1_SRGB_BLOCK, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 1, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::ETC2_R8G8B8A1_UNORM_BLOCK, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 1, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::ETC2_R8G8B8A8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 16, 0, true, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::ETC2_R8G8B8A8_UNORM_BLOCK, GL_COMPRESSED_RGBA8_ETC2_EAC, GL_COMPRESSED_RGBA8_ETC2_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 16, 0, true, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::ETC2_R8G8B8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ETC2, GL_COMPRESSED_SRGB8_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::ETC2_R8G8B8_UNORM_BLOCK, GL_COMPRESSED_RGB8_ETC2, GL_COMPRESSED_RGB8_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::G8_B8R8_2PLANE_420_UNORM, GL_G8_B8R8_2PLANE_420_UNORM_ANGLEX, GL_G8_B8R8_2PLANE_420_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, true, gl::VertexAttribType::UnsignedByte }, - { FormatID::G8_B8_R8_3PLANE_420_UNORM, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLEX, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, true, gl::VertexAttribType::UnsignedByte }, - { FormatID::L16A16_FLOAT, GL_LUMINANCE_ALPHA16F_EXT, GL_LUMINANCE_ALPHA16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 16, 16, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::L16_FLOAT, GL_LUMINANCE16F_EXT, GL_LUMINANCE16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 0, 16, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::L32A32_FLOAT, GL_LUMINANCE_ALPHA32F_EXT, GL_LUMINANCE_ALPHA32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 32, 32, 0, 0, 8, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::L32_FLOAT, GL_LUMINANCE32F_EXT, GL_LUMINANCE32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 0, 32, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::L8A8_UNORM, GL_LUMINANCE8_ALPHA8_EXT, GL_LUMINANCE8_ALPHA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 8, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::L8_UNORM, GL_LUMINANCE8_EXT, GL_LUMINANCE8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 8, 0, 0, 1, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGBA_2BPP_UNORM_BLOCK, GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG, GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGBA_2BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT, GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGBA_4BPP_UNORM_BLOCK, GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG, GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGBA_4BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT, GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGB_2BPP_UNORM_BLOCK, GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG, GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGB_2BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT, GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGB_4BPP_UNORM_BLOCK, GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG, GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::PVRTC1_RGB_4BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT, GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::R10G10B10A2_SINT, GL_RGB10_A2_SINT_ANGLEX, GL_RGB10_A2_SINT_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int2101010 }, - { FormatID::R10G10B10A2_SNORM, GL_RGB10_A2_SNORM_ANGLEX, GL_RGB10_A2_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int2101010 }, - { FormatID::R10G10B10A2_SSCALED, GL_RGB10_A2_SSCALED_ANGLEX, GL_RGB10_A2_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::Int2101010 }, - { FormatID::R10G10B10A2_UINT, GL_RGB10_A2UI, GL_RGB10_A2UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, - { FormatID::R10G10B10A2_UNORM, GL_RGB10_A2, GL_RGB10_A2, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, - { FormatID::R10G10B10A2_USCALED, GL_RGB10_A2_USCALED_ANGLEX, GL_RGB10_A2_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::UnsignedInt2101010 }, - { FormatID::R10G10B10X2_UNORM, GL_RGB10_UNORM_ANGLEX, GL_RGB10_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, - { FormatID::R11G11B10_FLOAT, GL_R11F_G11F_B10F, GL_R11F_G11F_B10F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 11, 11, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::R16G16B16A16_FLOAT, GL_RGBA16F, GL_RGBA16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, false, gl::VertexAttribType::HalfFloat }, - { FormatID::R16G16B16A16_SINT, GL_RGBA16I, GL_RGBA16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16A16_SNORM, GL_RGBA16_SNORM_EXT, GL_RGBA16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16A16_SSCALED, GL_RGBA16_SSCALED_ANGLEX, GL_RGBA16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, true, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16A16_UINT, GL_RGBA16UI, GL_RGBA16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16B16A16_UNORM, GL_RGBA16_EXT, GL_RGBA16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16B16A16_USCALED, GL_RGBA16_USCALED_ANGLEX, GL_RGBA16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, true, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16B16_FLOAT, GL_RGB16F, GL_RGB16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, false, gl::VertexAttribType::HalfFloat }, - { FormatID::R16G16B16_SINT, GL_RGB16I, GL_RGB16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16_SNORM, GL_RGB16_SNORM_EXT, GL_RGB16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16_SSCALED, GL_RGB16_SSCALED_ANGLEX, GL_RGB16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, true, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16B16_UINT, GL_RGB16UI, GL_RGB16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16B16_UNORM, GL_RGB16_EXT, GL_RGB16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16B16_USCALED, GL_RGB16_USCALED_ANGLEX, GL_RGB16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, true, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16_FLOAT, GL_RG16F, GL_RG16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, false, gl::VertexAttribType::HalfFloat }, - { FormatID::R16G16_SINT, GL_RG16I, GL_RG16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16_SNORM, GL_RG16_SNORM_EXT, GL_RG16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16_SSCALED, GL_RG16_SSCALED_ANGLEX, GL_RG16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, true, false, false, gl::VertexAttribType::Short }, - { FormatID::R16G16_UINT, GL_RG16UI, GL_RG16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16_UNORM, GL_RG16_EXT, GL_RG16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16G16_USCALED, GL_RG16_USCALED_ANGLEX, GL_RG16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, true, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16_FLOAT, GL_R16F, GL_R16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::HalfFloat }, - { FormatID::R16_SINT, GL_R16I, GL_R16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16_SNORM, GL_R16_SNORM_EXT, GL_R16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::Short }, - { FormatID::R16_SSCALED, GL_R16_SSCALED_ANGLEX, GL_R16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, true, false, false, gl::VertexAttribType::Short }, - { FormatID::R16_UINT, GL_R16UI, GL_R16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16_UNORM, GL_R16_EXT, GL_R16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R16_USCALED, GL_R16_USCALED_ANGLEX, GL_R16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, true, false, false, gl::VertexAttribType::UnsignedShort }, - { FormatID::R32G32B32A32_FIXED, GL_RGBA32_FIXED_ANGLEX, GL_RGBA32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, true, false, false, false, gl::VertexAttribType::Fixed }, - { FormatID::R32G32B32A32_FLOAT, GL_RGBA32F, GL_RGBA32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::R32G32B32A32_SINT, GL_RGBA32I, GL_RGBA32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32A32_SNORM, GL_RGBA32_SNORM_ANGLEX, GL_RGBA32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32A32_SSCALED, GL_RGBA32_SSCALED_ANGLEX, GL_RGBA32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, true, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32A32_UINT, GL_RGBA32UI, GL_RGBA32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32B32A32_UNORM, GL_RGBA32_UNORM_ANGLEX, GL_RGBA32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32B32A32_USCALED, GL_RGBA32_USCALED_ANGLEX, GL_RGBA32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, true, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32B32_FIXED, GL_RGB32_FIXED_ANGLEX, GL_RGB32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, true, false, false, false, gl::VertexAttribType::Fixed }, - { FormatID::R32G32B32_FLOAT, GL_RGB32F, GL_RGB32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::R32G32B32_SINT, GL_RGB32I, GL_RGB32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32_SNORM, GL_RGB32_SNORM_ANGLEX, GL_RGB32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32_SSCALED, GL_RGB32_SSCALED_ANGLEX, GL_RGB32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, true, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32B32_UINT, GL_RGB32UI, GL_RGB32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32B32_UNORM, GL_RGB32_UNORM_ANGLEX, GL_RGB32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32B32_USCALED, GL_RGB32_USCALED_ANGLEX, GL_RGB32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, true, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32_FIXED, GL_RG32_FIXED_ANGLEX, GL_RG32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, true, false, false, false, gl::VertexAttribType::Fixed }, - { FormatID::R32G32_FLOAT, GL_RG32F, GL_RG32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::R32G32_SINT, GL_RG32I, GL_RG32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32_SNORM, GL_RG32_SNORM_ANGLEX, GL_RG32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32_SSCALED, GL_RG32_SSCALED_ANGLEX, GL_RG32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, true, false, false, gl::VertexAttribType::Int }, - { FormatID::R32G32_UINT, GL_RG32UI, GL_RG32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32_UNORM, GL_RG32_UNORM_ANGLEX, GL_RG32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32G32_USCALED, GL_RG32_USCALED_ANGLEX, GL_RG32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, true, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32_FIXED, GL_R32_FIXED_ANGLEX, GL_R32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, true, false, false, false, gl::VertexAttribType::Fixed }, - { FormatID::R32_FLOAT, GL_R32F, GL_R32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::Float }, - { FormatID::R32_SINT, GL_R32I, GL_R32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32_SNORM, GL_R32_SNORM_ANGLEX, GL_R32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::Int }, - { FormatID::R32_SSCALED, GL_R32_SSCALED_ANGLEX, GL_R32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, true, false, false, gl::VertexAttribType::Int }, - { FormatID::R32_UINT, GL_R32UI, GL_R32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32_UNORM, GL_R32_UNORM_ANGLEX, GL_R32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R32_USCALED, GL_R32_USCALED_ANGLEX, GL_R32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, true, false, false, gl::VertexAttribType::UnsignedInt }, - { FormatID::R4G4B4A4_UNORM, GL_RGBA4, GL_RGBA4, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 4, 4, 4, 4, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::R5G5B5A1_UNORM, GL_RGB5_A1, GL_RGB5_A1, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::R5G6B5_UNORM, GL_RGB565, GL_RGB565, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 6, 5, 0, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::R8G8B8A8_SINT, GL_RGBA8I, GL_RGBA8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8A8_SNORM, GL_RGBA8_SNORM, GL_RGBA8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8A8_SSCALED, GL_RGBA8_SSCALED_ANGLEX, GL_RGBA8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, true, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8A8_TYPELESS, GL_RGBA8, GL_RGBA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8A8_TYPELESS_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8A8_UINT, GL_RGBA8UI, GL_RGBA8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8A8_UNORM, GL_RGBA8, GL_RGBA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8A8_UNORM_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8A8_USCALED, GL_RGBA8_USCALED_ANGLEX, GL_RGBA8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, true, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8_SINT, GL_RGB8I, GL_RGB8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8_SNORM, GL_RGB8_SNORM, GL_RGB8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8_SSCALED, GL_RGB8_SSCALED_ANGLEX, GL_RGB8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, true, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8_UINT, GL_RGB8UI, GL_RGB8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8_UNORM, GL_RGB8, GL_RGB8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8B8_UNORM_SRGB, GL_SRGB8, GL_SRGB8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8B8_USCALED, GL_RGB8_USCALED_ANGLEX, GL_RGB8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, true, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8_SINT, GL_RG8I, GL_RG8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8_SNORM, GL_RG8_SNORM, GL_RG8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8_SSCALED, GL_RG8_SSCALED_ANGLEX, GL_RG8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, true, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8G8_UINT, GL_RG8UI, GL_RG8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8_UNORM, GL_RG8, GL_RG8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8G8_USCALED, GL_RG8_USCALED_ANGLEX, GL_RG8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, true, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8_SINT, GL_R8I, GL_R8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8_SNORM, GL_R8_SNORM, GL_R8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8_SSCALED, GL_R8_SSCALED_ANGLEX, GL_R8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, true, false, false, gl::VertexAttribType::Byte }, - { FormatID::R8_UINT, GL_R8UI, GL_R8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8_UNORM, GL_R8, GL_R8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R8_UNORM_SRGB, GL_SR8_EXT, GL_SR8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, - { FormatID::R8_USCALED, GL_R8_USCALED_ANGLEX, GL_R8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, true, false, false, gl::VertexAttribType::UnsignedByte }, - { FormatID::R9G9B9E5_SHAREDEXP, GL_RGB9_E5, GL_RGB9_E5, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 9, 9, 9, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum }, - { FormatID::X2R10G10B10_SINT_VERTEX, GL_X2_RGB10_SINT_ANGLEX, GL_X2_RGB10_SINT_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::X2R10G10B10_SNORM_VERTEX, GL_X2_RGB10_SNORM_ANGLEX, GL_X2_RGB10_SNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::X2R10G10B10_SSCALED_VERTEX, GL_X2_RGB10_SSCALED_ANGLEX, GL_X2_RGB10_SSCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::Int1010102 }, - { FormatID::X2R10G10B10_UINT_VERTEX, GL_X2_RGB10_UINT_ANGLEX, GL_X2_RGB10_UINT_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, - { FormatID::X2R10G10B10_UNORM_VERTEX, GL_X2_RGB10_UNORM_ANGLEX, GL_X2_RGB10_UNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, - { FormatID::X2R10G10B10_USCALED_VERTEX, GL_X2_RGB10_USCALED_ANGLEX, GL_X2_RGB10_USCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::NONE, GL_NONE, GL_NONE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_NONE, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::D16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT16, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 16, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::D24_UNORM_S8_UINT, GL_DEPTH24_STENCIL8, GL_DEPTH24_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 8, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::D24_UNORM_X8_UINT, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT24, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 24, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::D32_FLOAT, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT32F, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_FLOAT, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::D32_FLOAT_S8X24_UINT, GL_DEPTH32F_STENCIL8, GL_DEPTH32F_STENCIL8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_FLOAT, 0, 0, 0, 0, 0, 32, 8, 8, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::D32_UNORM, GL_DEPTH_COMPONENT32_OES, GL_DEPTH_COMPONENT32_OES, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 32, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::S8_UINT, GL_STENCIL_INDEX8, GL_STENCIL_INDEX8, nullptr, NoCopyFunctions, ReadDepthStencil, WriteDepthStencil, GL_UNSIGNED_INT, 0, 0, 0, 0, 0, 0, 8, 1, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::A16_FLOAT, GL_ALPHA16F_EXT, GL_ALPHA16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 16, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::A1R5G5B5_UNORM, GL_A1RGB5_ANGLEX, GL_A1RGB5_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::A2R10G10B10_SINT_VERTEX, GL_INT_10_10_10_2_OES, GL_INT_10_10_10_2_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int1010102 }, + { FormatID::A2R10G10B10_SNORM_VERTEX, GL_A2_RGB10_SNORM_ANGLEX, GL_A2_RGB10_SNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int1010102 }, + { FormatID::A2R10G10B10_SSCALED_VERTEX, GL_A2_RGB10_SSCALED_ANGLEX, GL_A2_RGB10_SSCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::Int1010102 }, + { FormatID::A2R10G10B10_UINT_VERTEX, GL_UNSIGNED_INT_10_10_10_2_OES, GL_UNSIGNED_INT_10_10_10_2_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::A2R10G10B10_UNORM_VERTEX, GL_A2_RGB10_UNORM_ANGLEX, GL_A2_RGB10_UNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::A2R10G10B10_USCALED_VERTEX, GL_A2_RGB10_USCALED_ANGLEX, GL_A2_RGB10_USCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::A32_FLOAT, GL_ALPHA32F_EXT, GL_ALPHA32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 32, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::A8_UNORM, GL_ALPHA8_EXT, GL_ALPHA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 0, 0, 0, 1, 0, false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x10_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x10_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, GL_COMPRESSED_RGBA_ASTC_10x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x5_KHR, GL_COMPRESSED_RGBA_ASTC_10x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x6_KHR, GL_COMPRESSED_RGBA_ASTC_10x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_10x8_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_10x8_KHR, GL_COMPRESSED_RGBA_ASTC_10x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_12x10_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_12x10_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_12x10_KHR, GL_COMPRESSED_RGBA_ASTC_12x10_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_12x12_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_12x12_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_12x12_KHR, GL_COMPRESSED_RGBA_ASTC_12x12_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_3x3x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_3x3x3_OES, GL_COMPRESSED_RGBA_ASTC_3x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_3x3x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x3x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x3x3_OES, GL_COMPRESSED_RGBA_ASTC_4x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x3x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4_KHR, GL_COMPRESSED_RGBA_ASTC_4x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4x3_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4x3_OES, GL_COMPRESSED_RGBA_ASTC_4x4x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4x3_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_4x4x4_OES, GL_COMPRESSED_RGBA_ASTC_4x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_4x4x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x4_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x4_KHR, GL_COMPRESSED_RGBA_ASTC_5x4_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x4x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x4x4_OES, GL_COMPRESSED_RGBA_ASTC_5x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x4x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5_KHR, GL_COMPRESSED_RGBA_ASTC_5x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5x4_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5x4_OES, GL_COMPRESSED_RGBA_ASTC_5x5x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5x4_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_5x5x5_OES, GL_COMPRESSED_RGBA_ASTC_5x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_5x5x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x5_KHR, GL_COMPRESSED_RGBA_ASTC_6x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x5x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x5x5_OES, GL_COMPRESSED_RGBA_ASTC_6x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x5x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6_KHR, GL_COMPRESSED_RGBA_ASTC_6x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6x5_OES, GL_COMPRESSED_RGBA_ASTC_6x6x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6x5_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_6x6x6_OES, GL_COMPRESSED_RGBA_ASTC_6x6x6_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_6x6x6_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x5_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x5_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x5_KHR, GL_COMPRESSED_RGBA_ASTC_8x5_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x6_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x6_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x6_KHR, GL_COMPRESSED_RGBA_ASTC_8x6_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::ASTC_8x8_UNORM_BLOCK, GL_COMPRESSED_RGBA_ASTC_8x8_KHR, GL_COMPRESSED_RGBA_ASTC_8x8_KHR, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::B10G10R10A2_UNORM, GL_BGR10_A2_ANGLEX, GL_BGR10_A2_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, + { FormatID::B4G4R4A4_UNORM, GL_BGRA4_ANGLEX, GL_RGBA4, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 4, 4, 4, 4, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::B5G5R5A1_UNORM, GL_BGR5_A1_ANGLEX, GL_RGB5_A1, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::B5G6R5_UNORM, GL_BGR565_ANGLEX, GL_RGB565, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 6, 5, 0, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::B8G8R8A8_TYPELESS, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::B8G8R8A8_TYPELESS_SRGB, GL_BGRA8_SRGB_ANGLEX, GL_BGRA8_SRGB_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::B8G8R8A8_UNORM, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, BGRACopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::B8G8R8A8_UNORM_SRGB, GL_BGRA8_SRGB_ANGLEX, GL_BGRA8_SRGB_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::B8G8R8X8_UNORM, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::BC1_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC1_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC1_RGB_UNORM_BLOCK, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC1_RGB_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC2_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE, GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC2_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC3_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE, GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC3_RGBA_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC4_RED_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RED_RGTC1_EXT, GL_COMPRESSED_SIGNED_RED_RGTC1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC4_RED_UNORM_BLOCK, GL_COMPRESSED_RED_RGTC1_EXT, GL_COMPRESSED_RED_RGTC1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC5_RG_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BC5_RG_UNORM_BLOCK, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, GL_COMPRESSED_RED_GREEN_RGTC2_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BPTC_RGBA_UNORM_BLOCK, GL_COMPRESSED_RGBA_BPTC_UNORM_EXT, GL_COMPRESSED_RGBA_BPTC_UNORM_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::BPTC_RGB_SIGNED_FLOAT_BLOCK, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_FLOAT, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::Float }, + { FormatID::BPTC_RGB_UNSIGNED_FLOAT_BLOCK, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_FLOAT, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::Float }, + { FormatID::BPTC_SRGB_ALPHA_UNORM_BLOCK, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 16, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::EAC_R11G11_SNORM_BLOCK, GL_COMPRESSED_SIGNED_RG11_EAC, GL_COMPRESSED_SIGNED_RG11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 11, 11, 0, 0, 0, 0, 0, 16, 0, true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::EAC_R11G11_UNORM_BLOCK, GL_COMPRESSED_RG11_EAC, GL_COMPRESSED_RG11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 11, 11, 0, 0, 0, 0, 0, 16, 0, true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::EAC_R11_SNORM_BLOCK, GL_COMPRESSED_SIGNED_R11_EAC, GL_COMPRESSED_SIGNED_R11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 11, 0, 0, 0, 0, 0, 0, 8, 0, true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::EAC_R11_UNORM_BLOCK, GL_COMPRESSED_R11_EAC, GL_COMPRESSED_R11_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 11, 0, 0, 0, 0, 0, 0, 8, 0, true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::ETC1_LOSSY_DECODE_R8G8B8_UNORM_BLOCK, GL_ETC1_RGB8_LOSSY_DECODE_ANGLE, GL_ETC1_RGB8_LOSSY_DECODE_ANGLE, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::ETC1_R8G8B8_UNORM_BLOCK, GL_ETC1_RGB8_OES, GL_ETC1_RGB8_OES, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::ETC2_R8G8B8A1_SRGB_BLOCK, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 1, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::ETC2_R8G8B8A1_UNORM_BLOCK, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 1, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::ETC2_R8G8B8A8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 16, 0, true, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::ETC2_R8G8B8A8_UNORM_BLOCK, GL_COMPRESSED_RGBA8_ETC2_EAC, GL_COMPRESSED_RGBA8_ETC2_EAC, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 16, 0, true, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::ETC2_R8G8B8_SRGB_BLOCK, GL_COMPRESSED_SRGB8_ETC2, GL_COMPRESSED_SRGB8_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::ETC2_R8G8B8_UNORM_BLOCK, GL_COMPRESSED_RGB8_ETC2, GL_COMPRESSED_RGB8_ETC2, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 8, 0, true, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::L16A16_FLOAT, GL_LUMINANCE_ALPHA16F_EXT, GL_LUMINANCE_ALPHA16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 16, 16, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::L16_FLOAT, GL_LUMINANCE16F_EXT, GL_LUMINANCE16F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 0, 16, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::L32A32_FLOAT, GL_LUMINANCE_ALPHA32F_EXT, GL_LUMINANCE_ALPHA32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 32, 32, 0, 0, 8, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::L32_FLOAT, GL_LUMINANCE32F_EXT, GL_LUMINANCE32F_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 0, 0, 0, 0, 32, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::L8A8_UNORM, GL_LUMINANCE8_ALPHA8_EXT, GL_LUMINANCE8_ALPHA8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 8, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::L8_UNORM, GL_LUMINANCE8_EXT, GL_LUMINANCE8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 8, 0, 0, 1, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGBA_2BPP_UNORM_BLOCK, GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG, GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGBA_2BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT, GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGBA_4BPP_UNORM_BLOCK, GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG, GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGBA_4BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT, GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGB_2BPP_UNORM_BLOCK, GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG, GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGB_2BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT, GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGB_4BPP_UNORM_BLOCK, GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG, GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::PVRTC1_RGB_4BPP_UNORM_SRGB_BLOCK, GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT, GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 0, 0, 0, 0, 8, std::numeric_limits::max(), true, false, false, true, gl::VertexAttribType::InvalidEnum }, + { FormatID::R10G10B10A2_SINT, GL_RGB10_A2_SINT_ANGLEX, GL_RGB10_A2_SINT_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int2101010 }, + { FormatID::R10G10B10A2_SNORM, GL_RGB10_A2_SNORM_ANGLEX, GL_RGB10_A2_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int2101010 }, + { FormatID::R10G10B10A2_SSCALED, GL_RGB10_A2_SSCALED_ANGLEX, GL_RGB10_A2_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::Int2101010 }, + { FormatID::R10G10B10A2_UINT, GL_RGB10_A2UI, GL_RGB10_A2UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, + { FormatID::R10G10B10A2_UNORM, GL_RGB10_A2, GL_RGB10_A2, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, + { FormatID::R10G10B10A2_USCALED, GL_RGB10_A2_USCALED_ANGLEX, GL_RGB10_A2_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::UnsignedInt2101010 }, + { FormatID::R10G10B10X2_UNORM, GL_RGB10_UNORM_ANGLEX, GL_RGB10_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 }, + { FormatID::R11G11B10_FLOAT, GL_R11F_G11F_B10F, GL_R11F_G11F_B10F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 11, 11, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::R16G16B16A16_FLOAT, GL_RGBA16F, GL_RGBA16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, gl::VertexAttribType::HalfFloat }, + { FormatID::R16G16B16A16_SINT, GL_RGBA16I, GL_RGBA16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16A16_SNORM, GL_RGBA16_SNORM_EXT, GL_RGBA16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16A16_SSCALED, GL_RGBA16_SSCALED_ANGLEX, GL_RGBA16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, true, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16A16_UINT, GL_RGBA16UI, GL_RGBA16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16B16A16_UNORM, GL_RGBA16_EXT, GL_RGBA16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16B16A16_USCALED, GL_RGBA16_USCALED_ANGLEX, GL_RGBA16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 16, 0, 0, 0, 8, 1, false, false, true, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16B16_FLOAT, GL_RGB16F, GL_RGB16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, gl::VertexAttribType::HalfFloat }, + { FormatID::R16G16B16_SINT, GL_RGB16I, GL_RGB16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16_SNORM, GL_RGB16_SNORM_EXT, GL_RGB16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16_SSCALED, GL_RGB16_SSCALED_ANGLEX, GL_RGB16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, true, false, gl::VertexAttribType::Short }, + { FormatID::R16G16B16_UINT, GL_RGB16UI, GL_RGB16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16B16_UNORM, GL_RGB16_EXT, GL_RGB16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16B16_USCALED, GL_RGB16_USCALED_ANGLEX, GL_RGB16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 16, 0, 0, 0, 0, 6, 1, false, false, true, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16_FLOAT, GL_RG16F, GL_RG16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, gl::VertexAttribType::HalfFloat }, + { FormatID::R16G16_SINT, GL_RG16I, GL_RG16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16_SNORM, GL_RG16_SNORM_EXT, GL_RG16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16G16_SSCALED, GL_RG16_SSCALED_ANGLEX, GL_RG16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, true, false, gl::VertexAttribType::Short }, + { FormatID::R16G16_UINT, GL_RG16UI, GL_RG16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16_UNORM, GL_RG16_EXT, GL_RG16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16G16_USCALED, GL_RG16_USCALED_ANGLEX, GL_RG16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 16, 0, 0, 0, 0, 0, 4, 1, false, false, true, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16_FLOAT, GL_R16F, GL_R16F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::HalfFloat }, + { FormatID::R16_SINT, GL_R16I, GL_R16I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16_SNORM, GL_R16_SNORM_EXT, GL_R16_SNORM_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::Short }, + { FormatID::R16_SSCALED, GL_R16_SSCALED_ANGLEX, GL_R16_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, true, false, gl::VertexAttribType::Short }, + { FormatID::R16_UINT, GL_R16UI, GL_R16UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16_UNORM, GL_R16_EXT, GL_R16_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, false, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R16_USCALED, GL_R16_USCALED_ANGLEX, GL_R16_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 16, 0, 0, 0, 0, 0, 0, 2, 1, false, false, true, false, gl::VertexAttribType::UnsignedShort }, + { FormatID::R32G32B32A32_FIXED, GL_RGBA32_FIXED_ANGLEX, GL_RGBA32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, true, false, false, gl::VertexAttribType::Fixed }, + { FormatID::R32G32B32A32_FLOAT, GL_RGBA32F, GL_RGBA32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::R32G32B32A32_SINT, GL_RGBA32I, GL_RGBA32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32A32_SNORM, GL_RGBA32_SNORM_ANGLEX, GL_RGBA32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32A32_SSCALED, GL_RGBA32_SSCALED_ANGLEX, GL_RGBA32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, true, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32A32_UINT, GL_RGBA32UI, GL_RGBA32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32B32A32_UNORM, GL_RGBA32_UNORM_ANGLEX, GL_RGBA32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32B32A32_USCALED, GL_RGBA32_USCALED_ANGLEX, GL_RGBA32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 32, 0, 0, 0, 16, 3, false, false, true, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32B32_FIXED, GL_RGB32_FIXED_ANGLEX, GL_RGB32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, true, false, false, gl::VertexAttribType::Fixed }, + { FormatID::R32G32B32_FLOAT, GL_RGB32F, GL_RGB32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::R32G32B32_SINT, GL_RGB32I, GL_RGB32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32_SNORM, GL_RGB32_SNORM_ANGLEX, GL_RGB32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32_SSCALED, GL_RGB32_SSCALED_ANGLEX, GL_RGB32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, true, false, gl::VertexAttribType::Int }, + { FormatID::R32G32B32_UINT, GL_RGB32UI, GL_RGB32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32B32_UNORM, GL_RGB32_UNORM_ANGLEX, GL_RGB32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32B32_USCALED, GL_RGB32_USCALED_ANGLEX, GL_RGB32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 32, 0, 0, 0, 0, 12, 3, false, false, true, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32_FIXED, GL_RG32_FIXED_ANGLEX, GL_RG32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, true, false, false, gl::VertexAttribType::Fixed }, + { FormatID::R32G32_FLOAT, GL_RG32F, GL_RG32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::R32G32_SINT, GL_RG32I, GL_RG32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32_SNORM, GL_RG32_SNORM_ANGLEX, GL_RG32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32G32_SSCALED, GL_RG32_SSCALED_ANGLEX, GL_RG32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, true, false, gl::VertexAttribType::Int }, + { FormatID::R32G32_UINT, GL_RG32UI, GL_RG32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32_UNORM, GL_RG32_UNORM_ANGLEX, GL_RG32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32G32_USCALED, GL_RG32_USCALED_ANGLEX, GL_RG32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 32, 0, 0, 0, 0, 0, 8, 3, false, false, true, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32_FIXED, GL_R32_FIXED_ANGLEX, GL_R32_FIXED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, true, false, false, gl::VertexAttribType::Fixed }, + { FormatID::R32_FLOAT, GL_R32F, GL_R32F, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::Float }, + { FormatID::R32_SINT, GL_R32I, GL_R32I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32_SNORM, GL_R32_SNORM_ANGLEX, GL_R32_SNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::Int }, + { FormatID::R32_SSCALED, GL_R32_SSCALED_ANGLEX, GL_R32_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, true, false, gl::VertexAttribType::Int }, + { FormatID::R32_UINT, GL_R32UI, GL_R32UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32_UNORM, GL_R32_UNORM_ANGLEX, GL_R32_UNORM_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, false, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R32_USCALED, GL_R32_USCALED_ANGLEX, GL_R32_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 32, 0, 0, 0, 0, 0, 0, 4, 3, false, false, true, false, gl::VertexAttribType::UnsignedInt }, + { FormatID::R4G4B4A4_UNORM, GL_RGBA4, GL_RGBA4, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 4, 4, 4, 4, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::R5G5B5A1_UNORM, GL_RGB5_A1, GL_RGB5_A1, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::R5G6B5_UNORM, GL_RGB565, GL_RGB565, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 5, 6, 5, 0, 0, 0, 0, 2, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::R8G8B8A8_SINT, GL_RGBA8I, GL_RGBA8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8A8_SNORM, GL_RGBA8_SNORM, GL_RGBA8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8A8_SSCALED, GL_RGBA8_SSCALED_ANGLEX, GL_RGBA8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, true, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8A8_TYPELESS, GL_RGBA8, GL_RGBA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8A8_TYPELESS_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8A8_UINT, GL_RGBA8UI, GL_RGBA8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8A8_UNORM, GL_RGBA8, GL_RGBA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8A8_UNORM_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8A8_USCALED, GL_RGBA8_USCALED_ANGLEX, GL_RGBA8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, true, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8_SINT, GL_RGB8I, GL_RGB8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8_SNORM, GL_RGB8_SNORM, GL_RGB8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8_SSCALED, GL_RGB8_SSCALED_ANGLEX, GL_RGB8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, true, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8_UINT, GL_RGB8UI, GL_RGB8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8_UNORM, GL_RGB8, GL_RGB8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8B8_UNORM_SRGB, GL_SRGB8, GL_SRGB8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::R8G8B8_USCALED, GL_RGB8_USCALED_ANGLEX, GL_RGB8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 8, 0, 0, 0, 0, 3, 0, false, false, true, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8_SINT, GL_RG8I, GL_RG8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8_SNORM, GL_RG8_SNORM, GL_RG8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8_SSCALED, GL_RG8_SSCALED_ANGLEX, GL_RG8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, true, false, gl::VertexAttribType::Byte }, + { FormatID::R8G8_UINT, GL_RG8UI, GL_RG8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8_UNORM, GL_RG8, GL_RG8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8G8_USCALED, GL_RG8_USCALED_ANGLEX, GL_RG8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 8, 0, 0, 0, 0, 0, 2, 0, false, false, true, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8_SINT, GL_R8I, GL_R8I, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8_SNORM, GL_R8_SNORM, GL_R8_SNORM, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_SIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, gl::VertexAttribType::Byte }, + { FormatID::R8_SSCALED, GL_R8_SSCALED_ANGLEX, GL_R8_SSCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, true, false, gl::VertexAttribType::Byte }, + { FormatID::R8_UINT, GL_R8UI, GL_R8UI, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8_UNORM, GL_R8, GL_R8, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R8_UNORM_SRGB, GL_SR8_EXT, GL_SR8_EXT, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_NORMALIZED, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, false, true, gl::VertexAttribType::Byte }, + { FormatID::R8_USCALED, GL_R8_USCALED_ANGLEX, GL_R8_USCALED_ANGLEX, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_UNSIGNED_INT, 8, 0, 0, 0, 0, 0, 0, 1, 0, false, false, true, false, gl::VertexAttribType::UnsignedByte }, + { FormatID::R9G9B9E5_SHAREDEXP, GL_RGB9_E5, GL_RGB9_E5, GenerateMip, NoCopyFunctions, ReadColor, WriteColor, GL_FLOAT, 9, 9, 9, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::InvalidEnum }, + { FormatID::X2R10G10B10_SINT_VERTEX, GL_X2_RGB10_SINT_ANGLEX, GL_X2_RGB10_SINT_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int1010102 }, + { FormatID::X2R10G10B10_SNORM_VERTEX, GL_X2_RGB10_SNORM_ANGLEX, GL_X2_RGB10_SNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_SIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::Int1010102 }, + { FormatID::X2R10G10B10_SSCALED_VERTEX, GL_X2_RGB10_SSCALED_ANGLEX, GL_X2_RGB10_SSCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::Int1010102 }, + { FormatID::X2R10G10B10_UINT_VERTEX, GL_X2_RGB10_UINT_ANGLEX, GL_X2_RGB10_UINT_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::X2R10G10B10_UNORM_VERTEX, GL_X2_RGB10_UNORM_ANGLEX, GL_X2_RGB10_UNORM_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, false, false, gl::VertexAttribType::UnsignedInt1010102 }, + { FormatID::X2R10G10B10_USCALED_VERTEX, GL_X2_RGB10_USCALED_ANGLEX, GL_X2_RGB10_USCALED_ANGLEX, nullptr, NoCopyFunctions, nullptr, nullptr, GL_UNSIGNED_INT, 10, 10, 10, 0, 0, 0, 0, 4, std::numeric_limits::max(), false, false, true, false, gl::VertexAttribType::UnsignedInt1010102 }, // clang-format on }; @@ -355,7 +353,7 @@ FormatID Format::InternalFormatToID(GLenum internalFormat) case GL_COMPRESSED_RGBA_ASTC_8x8_KHR: return FormatID::ASTC_8x8_UNORM_BLOCK; case GL_COMPRESSED_RGBA_BPTC_UNORM_EXT: - return FormatID::BC7_RGBA_UNORM_BLOCK; + return FormatID::BPTC_RGBA_UNORM_BLOCK; case GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: return FormatID::PVRTC1_RGBA_2BPP_UNORM_BLOCK; case GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: @@ -367,9 +365,9 @@ FormatID Format::InternalFormatToID(GLenum internalFormat) case GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE: return FormatID::BC3_RGBA_UNORM_BLOCK; case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: - return FormatID::BC6H_RGB_SFLOAT_BLOCK; + return FormatID::BPTC_RGB_SIGNED_FLOAT_BLOCK; case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: - return FormatID::BC6H_RGB_UFLOAT_BLOCK; + return FormatID::BPTC_RGB_UNSIGNED_FLOAT_BLOCK; case GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: return FormatID::PVRTC1_RGB_2BPP_UNORM_BLOCK; case GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: @@ -439,7 +437,7 @@ FormatID Format::InternalFormatToID(GLenum internalFormat) case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: return FormatID::ETC2_R8G8B8A1_SRGB_BLOCK; case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: - return FormatID::BC7_RGBA_UNORM_SRGB_BLOCK; + return FormatID::BPTC_SRGB_ALPHA_UNORM_BLOCK; case GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: return FormatID::PVRTC1_RGBA_2BPP_UNORM_SRGB_BLOCK; case GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: @@ -472,10 +470,6 @@ FormatID Format::InternalFormatToID(GLenum internalFormat) return FormatID::ETC1_LOSSY_DECODE_R8G8B8_UNORM_BLOCK; case GL_ETC1_RGB8_OES: return FormatID::ETC1_R8G8B8_UNORM_BLOCK; - case GL_G8_B8R8_2PLANE_420_UNORM_ANGLEX: - return FormatID::G8_B8R8_2PLANE_420_UNORM; - case GL_G8_B8_R8_3PLANE_420_UNORM_ANGLEX: - return FormatID::G8_B8_R8_3PLANE_420_UNORM; case GL_INT_10_10_10_2_OES: return FormatID::A2R10G10B10_SINT_VERTEX; case GL_LUMINANCE16F_EXT: diff --git a/gfx/angle/checkout/src/libANGLE/renderer/FramebufferImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/FramebufferImpl.h index 39ae74f3589a..0fce527edeb3 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/FramebufferImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/FramebufferImpl.h @@ -82,7 +82,7 @@ class FramebufferImpl : angle::NonCopyable GLbitfield mask, GLenum filter) = 0; - virtual gl::FramebufferStatus checkStatus(const gl::Context *context) const = 0; + virtual bool checkStatus(const gl::Context *context) const = 0; virtual angle::Result syncState(const gl::Context *context, GLenum binding, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/ImageImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/ImageImpl.h index f5dbcad9b933..f3affbaa6dda 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/ImageImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/ImageImpl.h @@ -39,7 +39,6 @@ class ExternalImageSiblingImpl : public FramebufferAttachmentObjectImpl virtual gl::Format getFormat() const = 0; virtual bool isRenderable(const gl::Context *context) const = 0; virtual bool isTexturable(const gl::Context *context) const = 0; - virtual bool isYUV() const = 0; virtual gl::Extents getSize() const = 0; virtual size_t getSamples() const = 0; }; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/OverlayImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/OverlayImpl.h index 67833ccea8d2..eecd08b2477d 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/OverlayImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/OverlayImpl.h @@ -33,13 +33,13 @@ class OverlayImpl : angle::NonCopyable virtual void onDestroy(const gl::Context *context) {} - virtual angle::Result init(const gl::Context *context, bool *successOut); + virtual angle::Result init(const gl::Context *context); protected: const gl::OverlayState &mState; }; -inline angle::Result OverlayImpl::init(const gl::Context *context, bool *successOut) +inline angle::Result OverlayImpl::init(const gl::Context *context) { return angle::Result::Continue; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.cpp b/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.cpp index c16f824440f0..8e1f56d5f50b 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.cpp @@ -12,8 +12,7 @@ namespace rx { angle::Result ProgramPipelineImpl::link(const gl::Context *context, - const gl::ProgramMergedVaryings &mergedVaryings, - const gl::ProgramVaryingPacking &varyingPacking) + const gl::ProgramMergedVaryings &mergedVaryings) { return angle::Result::Continue; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.h index 788fa82906d6..b6276edcd4e3 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/ProgramPipelineImpl.h @@ -24,8 +24,7 @@ class ProgramPipelineImpl : public angle::NonCopyable virtual void destroy(const gl::Context *context) {} virtual angle::Result link(const gl::Context *context, - const gl::ProgramMergedVaryings &mergedVaryings, - const gl::ProgramVaryingPacking &varyingPacking); + const gl::ProgramMergedVaryings &mergedVaryings); const gl::ProgramPipelineState &getState() const { return mState; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/QueryImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/QueryImpl.h index c116738d6c53..34ccb808eddd 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/QueryImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/QueryImpl.h @@ -39,7 +39,16 @@ class QueryImpl : angle::NonCopyable gl::QueryType getType() const { return mType; } - protected: + // Convenient functions + bool isOcclusionQuery() const { return isAnySamplesQuery() || isAnySamplesConservativeQuery(); } + bool isAnySamplesQuery() const { return getType() == gl::QueryType::AnySamples; } + + bool isAnySamplesConservativeQuery() const + { + return getType() == gl::QueryType::AnySamplesConservative; + } + + private: gl::QueryType mType; }; } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/StreamProducerImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/StreamProducerImpl.h index e4a65e281295..866684567275 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/StreamProducerImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/StreamProducerImpl.h @@ -23,7 +23,7 @@ class StreamProducerImpl : angle::NonCopyable // Validates the ability for the producer to accept an arbitrary pointer to a frame. All // pointers should be validated through this function before being used to produce a frame. - virtual egl::Error validateD3DTexture(const void *pointer, + virtual egl::Error validateD3DTexture(void *pointer, const egl::AttributeMap &attributes) const = 0; // Constructs a frame from an arbitrary external pointer that points to producer specific frame diff --git a/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.cpp b/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.cpp index 9bce4e5f3d46..8f309ce42c6d 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.cpp @@ -25,9 +25,7 @@ egl::Error SurfaceImpl::unMakeCurrent(const gl::Context *context) return egl::NoError(); } -egl::Error SurfaceImpl::swapWithDamage(const gl::Context *context, - const EGLint *rects, - EGLint n_rects) +egl::Error SurfaceImpl::swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects) { UNREACHABLE(); return egl::EglBadSurface() << "swapWithDamage implementation missing."; @@ -113,11 +111,4 @@ egl::Error SurfaceImpl::getUserHeight(const egl::Display *display, EGLint *value *value = getHeight(); return egl::NoError(); } - -egl::Error SurfaceImpl::getBufferAge(const gl::Context *context, EGLint *age) -{ - UNREACHABLE(); - return egl::EglBadMatch(); -} - } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.h index 533098d63276..b4e4a93f2763 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/SurfaceImpl.h @@ -56,9 +56,7 @@ class SurfaceImpl : public FramebufferAttachmentObjectImpl virtual egl::Error makeCurrent(const gl::Context *context); virtual egl::Error unMakeCurrent(const gl::Context *context); virtual egl::Error swap(const gl::Context *context) = 0; - virtual egl::Error swapWithDamage(const gl::Context *context, - const EGLint *rects, - EGLint n_rects); + virtual egl::Error swapWithDamage(const gl::Context *context, EGLint *rects, EGLint n_rects); virtual egl::Error swapWithFrameToken(const gl::Context *context, EGLFrameTokenANGLE frameToken); virtual egl::Error postSubBuffer(const gl::Context *context, @@ -109,7 +107,6 @@ class SurfaceImpl : public FramebufferAttachmentObjectImpl EGLint numTimestamps, const EGLint *timestamps, EGLnsecsANDROID *values) const; - virtual egl::Error getBufferAge(const gl::Context *context, EGLint *age); protected: const egl::SurfaceState &mState; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.cpp b/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.cpp index b096b727ac1c..23736f857acd 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.cpp @@ -174,11 +174,4 @@ angle::Result TextureImpl::getTexImage(const gl::Context *context, UNREACHABLE(); return angle::Result::Stop; } - -GLint TextureImpl::getRequiredExternalTextureImageUnits(const gl::Context *context) -{ - UNREACHABLE(); - return 0; -} - } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.h b/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.h index 832b6bf0298b..396b3a69cec5 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/TextureImpl.h @@ -234,8 +234,6 @@ class TextureImpl : public FramebufferAttachmentObjectImpl GLenum type, void *pixels); - virtual GLint getRequiredExternalTextureImageUnits(const gl::Context *context); - protected: const gl::TextureState &mState; }; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.h b/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.h index 54624bb29bdc..6e8f7711b988 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.h @@ -41,12 +41,8 @@ void Copy8SnormTo16SnormVertexData(const uint8_t *input, template void Copy32FixedTo32FVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output); -template -void CopyToFloatVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output); +template +void CopyTo32FVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output); template void Copy32FTo16FVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output); @@ -55,23 +51,23 @@ void CopyXYZ32FToXYZ9E5(const uint8_t *input, size_t stride, size_t count, uint8 void CopyXYZ32FToX11Y11B10F(const uint8_t *input, size_t stride, size_t count, uint8_t *output); -template -void CopyXYZ10W2ToXYZWFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output); - -template -void CopyXYZ10ToXYZWFloatVertexData(const uint8_t *input, +template +void CopyXYZ10W2ToXYZW32FVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output); -template -void CopyW2XYZ10ToXYZWFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output); +template +void CopyXYZ10ToXYZW32FVertexData(const uint8_t *input, + size_t stride, + size_t count, + uint8_t *output); + +template +void CopyW2XYZ10ToXYZW32FVertexData(const uint8_t *input, + size_t stride, + size_t count, + uint8_t *output); } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.inc.h b/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.inc.h index 15c72d7a168c..b8c14d3e1353 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.inc.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/copyvertex.inc.h @@ -177,71 +177,44 @@ inline void Copy32FixedTo32FVertexData(const uint8_t *input, } } -template -inline void CopyToFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output) +template +inline void CopyTo32FVertexData(const uint8_t *input, size_t stride, size_t count, uint8_t *output) { typedef std::numeric_limits NL; - typedef typename std::conditional::type outputType; for (size_t i = 0; i < count; i++) { const T *offsetInput = reinterpret_cast(input + (stride * i)); - outputType *offsetOutput = - reinterpret_cast(output) + i * outputComponentCount; + float *offsetOutput = reinterpret_cast(output) + i * outputComponentCount; for (size_t j = 0; j < inputComponentCount; j++) { - float result = 0; - if (normalized) { if (NL::is_signed) { - result = static_cast(offsetInput[j]) / NL::max(); - result = result >= -1.0f ? result : -1.0f; + offsetOutput[j] = static_cast(offsetInput[j]) / NL::max(); + offsetOutput[j] = (offsetOutput[j] >= -1.0f) ? (offsetOutput[j]) : (-1.0f); } else { - result = static_cast(offsetInput[j]) / NL::max(); + offsetOutput[j] = static_cast(offsetInput[j]) / NL::max(); } } else { - result = static_cast(offsetInput[j]); - } - - if (toHalf) - { - offsetOutput[j] = gl::float32ToFloat16(result); - } - else - { - offsetOutput[j] = static_cast(result); + offsetOutput[j] = static_cast(offsetInput[j]); } } + // This would require special padding. + static_assert(!(inputComponentCount < 4 && outputComponentCount == 4), + "An inputComponentCount less than 4 and an outputComponentCount equal to 4 " + "is not supported."); + for (size_t j = inputComponentCount; j < outputComponentCount; j++) { - offsetOutput[j] = 0; - } - - if (inputComponentCount < 4 && outputComponentCount == 4) - { - if (toHalf) - { - offsetOutput[3] = gl::Float16One; - } - else - { - offsetOutput[3] = static_cast(gl::Float32One); - } + offsetOutput[j] = 0.0f; } } } @@ -300,22 +273,27 @@ inline void CopyXYZ32FToX11Y11B10F(const uint8_t *input, namespace priv { -template +template static inline void CopyPackedRGB(uint32_t data, uint8_t *output) { const uint32_t rgbSignMask = 0x200; // 1 set at the 9 bit const uint32_t negativeMask = 0xFFFFFC00; // All bits from 10 to 31 set to 1 - if (toFloat || toHalf) + if (toFloat) { - GLfloat finalValue = static_cast(data); + GLfloat *floatOutput = reinterpret_cast(output); if (isSigned) { + GLfloat finalValue = 0; if (data & rgbSignMask) { int negativeNumber = data | negativeMask; finalValue = static_cast(negativeNumber); } + else + { + finalValue = static_cast(data); + } if (normalized) { @@ -331,7 +309,11 @@ static inline void CopyPackedRGB(uint32_t data, uint8_t *output) } const int32_t halfRange = (maxValue - minValue) >> 1; - finalValue = ((finalValue - minValue) / halfRange) - 1.0f; + *floatOutput = ((finalValue - minValue) / halfRange) - 1.0f; + } + else + { + *floatOutput = finalValue; } } else @@ -339,17 +321,12 @@ static inline void CopyPackedRGB(uint32_t data, uint8_t *output) if (normalized) { const uint32_t maxValue = 0x3FF; // 1 set in bits 0 through 9 - finalValue /= static_cast(maxValue); + *floatOutput = static_cast(data) / static_cast(maxValue); + } + else + { + *floatOutput = static_cast(data); } - } - - if (toHalf) - { - *reinterpret_cast(output) = gl::float32ToFloat16(finalValue); - } - else - { - *reinterpret_cast(output) = finalValue; } } else @@ -375,14 +352,12 @@ static inline void CopyPackedRGB(uint32_t data, uint8_t *output) } } -template +template inline void CopyPackedAlpha(uint32_t data, uint8_t *output) { - ASSERT(data >= 0 && data <= 3); - - if (toFloat || toHalf) + if (toFloat) { - GLfloat finalValue = 0; + GLfloat *floatOutput = reinterpret_cast(output); if (isSigned) { if (normalized) @@ -390,16 +365,16 @@ inline void CopyPackedAlpha(uint32_t data, uint8_t *output) switch (data) { case 0x0: - finalValue = 0.0f; + *floatOutput = 0.0f; break; case 0x1: - finalValue = 1.0f; + *floatOutput = 1.0f; break; case 0x2: - finalValue = -1.0f; + *floatOutput = -1.0f; break; case 0x3: - finalValue = -1.0f; + *floatOutput = -1.0f; break; default: UNREACHABLE(); @@ -410,16 +385,16 @@ inline void CopyPackedAlpha(uint32_t data, uint8_t *output) switch (data) { case 0x0: - finalValue = 0.0f; + *floatOutput = 0.0f; break; case 0x1: - finalValue = 1.0f; + *floatOutput = 1.0f; break; case 0x2: - finalValue = -2.0f; + *floatOutput = -2.0f; break; case 0x3: - finalValue = -1.0f; + *floatOutput = -1.0f; break; default: UNREACHABLE(); @@ -430,22 +405,45 @@ inline void CopyPackedAlpha(uint32_t data, uint8_t *output) { if (normalized) { - finalValue = data / 3.0f; + switch (data) + { + case 0x0: + *floatOutput = 0.0f / 3.0f; + break; + case 0x1: + *floatOutput = 1.0f / 3.0f; + break; + case 0x2: + *floatOutput = 2.0f / 3.0f; + break; + case 0x3: + *floatOutput = 3.0f / 3.0f; + break; + default: + UNREACHABLE(); + } } else { - finalValue = static_cast(data); + switch (data) + { + case 0x0: + *floatOutput = 0.0f; + break; + case 0x1: + *floatOutput = 1.0f; + break; + case 0x2: + *floatOutput = 2.0f; + break; + case 0x3: + *floatOutput = 3.0f; + break; + default: + UNREACHABLE(); + } } } - - if (toHalf) - { - *reinterpret_cast(output) = gl::float32ToFloat16(finalValue); - } - else - { - *reinterpret_cast(output) = finalValue; - } } else { @@ -472,20 +470,37 @@ inline void CopyPackedAlpha(uint32_t data, uint8_t *output) } else { - *reinterpret_cast(output) = static_cast(data); + GLushort *uintOutput = reinterpret_cast(output); + switch (data) + { + case 0x0: + *uintOutput = 0; + break; + case 0x1: + *uintOutput = 1; + break; + case 0x2: + *uintOutput = 2; + break; + case 0x3: + *uintOutput = 3; + break; + default: + UNREACHABLE(); + } } } } } // namespace priv -template -inline void CopyXYZ10W2ToXYZWFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output) +template +inline void CopyXYZ10W2ToXYZW32FVertexData(const uint8_t *input, + size_t stride, + size_t count, + uint8_t *output) { - const size_t outputComponentSize = toFloat && !toHalf ? 4 : 2; + const size_t outputComponentSize = toFloat ? 4 : 2; const size_t componentCount = 4; const uint32_t rgbMask = 0x3FF; // 1 set in bits 0 through 9 @@ -501,24 +516,24 @@ inline void CopyXYZ10W2ToXYZWFloatVertexData(const uint8_t *input, GLuint packedValue = *reinterpret_cast(input + (i * stride)); uint8_t *offsetOutput = output + (i * outputComponentSize * componentCount); - priv::CopyPackedRGB( + priv::CopyPackedRGB( (packedValue >> redShift) & rgbMask, offsetOutput + (0 * outputComponentSize)); - priv::CopyPackedRGB( + priv::CopyPackedRGB( (packedValue >> greenShift) & rgbMask, offsetOutput + (1 * outputComponentSize)); - priv::CopyPackedRGB( + priv::CopyPackedRGB( (packedValue >> blueShift) & rgbMask, offsetOutput + (2 * outputComponentSize)); - priv::CopyPackedAlpha( + priv::CopyPackedAlpha( (packedValue >> alphaShift) & alphaMask, offsetOutput + (3 * outputComponentSize)); } } -template -inline void CopyXYZ10ToXYZWFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output) +template +inline void CopyXYZ10ToXYZW32FVertexData(const uint8_t *input, + size_t stride, + size_t count, + uint8_t *output) { - const size_t outputComponentSize = toHalf ? 2 : 4; + const size_t outputComponentSize = 4; const size_t componentCount = 4; const uint32_t rgbMask = 0x3FF; // 1 set in bits 0 through 9 @@ -533,24 +548,24 @@ inline void CopyXYZ10ToXYZWFloatVertexData(const uint8_t *input, GLuint packedValue = *reinterpret_cast(input + (i * stride)); uint8_t *offsetOutput = output + (i * outputComponentSize * componentCount); - priv::CopyPackedRGB( - (packedValue >> redShift) & rgbMask, offsetOutput + (0 * outputComponentSize)); - priv::CopyPackedRGB( - (packedValue >> greenShift) & rgbMask, offsetOutput + (1 * outputComponentSize)); - priv::CopyPackedRGB( - (packedValue >> blueShift) & rgbMask, offsetOutput + (2 * outputComponentSize)); - priv::CopyPackedAlpha( - alphaDefaultValueBits, offsetOutput + (3 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> redShift) & rgbMask, + offsetOutput + (0 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> greenShift) & rgbMask, + offsetOutput + (1 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> blueShift) & rgbMask, + offsetOutput + (2 * outputComponentSize)); + priv::CopyPackedAlpha(alphaDefaultValueBits, + offsetOutput + (3 * outputComponentSize)); } } -template -inline void CopyW2XYZ10ToXYZWFloatVertexData(const uint8_t *input, - size_t stride, - size_t count, - uint8_t *output) +template +inline void CopyW2XYZ10ToXYZW32FVertexData(const uint8_t *input, + size_t stride, + size_t count, + uint8_t *output) { - const size_t outputComponentSize = toHalf ? 2 : 4; + const size_t outputComponentSize = 4; const size_t componentCount = 4; const uint32_t rgbMask = 0x3FF; // 1 set in bits 0 through 9 @@ -566,14 +581,14 @@ inline void CopyW2XYZ10ToXYZWFloatVertexData(const uint8_t *input, GLuint packedValue = *reinterpret_cast(input + (i * stride)); uint8_t *offsetOutput = output + (i * outputComponentSize * componentCount); - priv::CopyPackedRGB( - (packedValue >> redShift) & rgbMask, offsetOutput + (0 * outputComponentSize)); - priv::CopyPackedRGB( - (packedValue >> greenShift) & rgbMask, offsetOutput + (1 * outputComponentSize)); - priv::CopyPackedRGB( - (packedValue >> blueShift) & rgbMask, offsetOutput + (2 * outputComponentSize)); - priv::CopyPackedAlpha( - (packedValue >> alphaShift) & alphaMask, offsetOutput + (3 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> redShift) & rgbMask, + offsetOutput + (0 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> greenShift) & rgbMask, + offsetOutput + (1 * outputComponentSize)); + priv::CopyPackedRGB((packedValue >> blueShift) & rgbMask, + offsetOutput + (2 * outputComponentSize)); + priv::CopyPackedAlpha((packedValue >> alphaShift) & alphaMask, + offsetOutput + (3 * outputComponentSize)); } } } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp index 8b1d010cfc2b..f6f1a717ceb0 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp @@ -322,7 +322,7 @@ egl::Error DisplayD3D::validateClientBuffer(const egl::Config *config, case EGL_D3D_TEXTURE_ANGLE: return mRenderer->getD3DTextureInfo(config, static_cast(clientBuffer), attribs, nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr); + nullptr); default: return DisplayImpl::validateClientBuffer(config, buftype, clientBuffer, attribs); @@ -340,7 +340,7 @@ egl::Error DisplayD3D::validateImageClientBuffer(const gl::Context *context, { return mRenderer->getD3DTextureInfo(nullptr, static_cast(clientBuffer), attribs, nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr); + nullptr); } default: @@ -353,31 +353,15 @@ void DisplayD3D::generateExtensions(egl::DisplayExtensions *outExtensions) const mRenderer->generateDisplayExtensions(outExtensions); } -std::string DisplayD3D::getRendererDescription() +std::string DisplayD3D::getVendorString() const { + std::string vendorString = "Google Inc."; if (mRenderer) { - return mRenderer->getRendererDescription(); + vendorString += " " + mRenderer->getVendorString(); } - return std::string(); -} -std::string DisplayD3D::getVendorString() -{ - if (mRenderer) - { - return mRenderer->getVendorString(); - } - return std::string(); -} - -std::string DisplayD3D::getVersionString() -{ - if (mRenderer) - { - return mRenderer->getVersionString(); - } - return std::string(); + return vendorString; } void DisplayD3D::generateCaps(egl::Caps *outCaps) const diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.h index 29c0ddd7258b..f65429be0d0e 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/DisplayD3D.h @@ -84,9 +84,7 @@ class DisplayD3D : public DisplayImpl, public d3d::Context DeviceImpl *createDevice() override; - std::string getRendererDescription() override; - std::string getVendorString() override; - std::string getVersionString() override; + std::string getVendorString() const override; egl::Error waitClient(const gl::Context *context) override; egl::Error waitNative(const gl::Context *context, EGLint engine) override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.cpp index e03d0507ce49..0a4a85875c00 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.cpp @@ -10,7 +10,6 @@ #include "common/bitset_utils.h" #include "libANGLE/Context.h" -#include "libANGLE/ErrorStrings.h" #include "libANGLE/Framebuffer.h" #include "libANGLE/FramebufferAttachment.h" #include "libANGLE/Surface.h" @@ -250,15 +249,13 @@ angle::Result FramebufferD3D::blit(const gl::Context *context, return angle::Result::Continue; } -gl::FramebufferStatus FramebufferD3D::checkStatus(const gl::Context *context) const +bool FramebufferD3D::checkStatus(const gl::Context *context) const { // if we have both a depth and stencil buffer, they must refer to the same object // since we only support packed_depth_stencil and not separate depth and stencil if (mState.hasSeparateDepthAndStencilAttachments()) { - return gl::FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - gl::err::kFramebufferIncompleteUnsupportedSeparateDepthStencilBuffers); + return false; } // D3D11 does not allow for overlapping RenderTargetViews. @@ -269,21 +266,17 @@ gl::FramebufferStatus FramebufferD3D::checkStatus(const gl::Context *context) co { if (!mState.colorAttachmentsAreUniqueImages()) { - return gl::FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - gl::err::kFramebufferIncompleteUnsupportedNonUniqueAttachments); + return false; } } // D3D requires all render targets to have the same dimensions. if (!mState.attachmentsHaveSameDimensions()) { - return gl::FramebufferStatus::Incomplete( - GL_FRAMEBUFFER_UNSUPPORTED, - gl::err::kFramebufferIncompleteUnsupportedMissmatchedDimensions); + return false; } - return gl::FramebufferStatus::Complete(); + return true; } angle::Result FramebufferD3D::syncState(const gl::Context *context, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.h index 67e19bd4bcd8..a9c88822944a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/FramebufferD3D.h @@ -92,7 +92,7 @@ class FramebufferD3D : public FramebufferImpl GLbitfield mask, GLenum filter) override; - gl::FramebufferStatus checkStatus(const gl::Context *context) const override; + bool checkStatus(const gl::Context *context) const override; angle::Result syncState(const gl::Context *context, GLenum binding, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.cpp index b6dc06726781..aecf1c0aa635 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.cpp @@ -222,10 +222,10 @@ class UniformEncodingVisitorD3D : public sh::BlockEncoderVisitor mUniformMapOut(uniformMapOut) {} - void visitNamedOpaqueObject(const sh::ShaderVariable &sampler, - const std::string &name, - const std::string &mappedName, - const std::vector &arraySizes) override + void visitNamedSamplerOrImage(const sh::ShaderVariable &sampler, + const std::string &name, + const std::string &mappedName, + const std::vector &arraySizes) override { auto uniformMapEntry = mUniformMapOut->find(name); if (uniformMapEntry == mUniformMapOut->end()) @@ -1065,7 +1065,7 @@ std::unique_ptr ProgramD3D::load(const gl::Context *context, mImage2DUniforms.push_back(image2Duniform); } - for (unsigned int ii = 0; ii < gl::IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS; ++ii) + for (unsigned int ii = 0; ii < gl::IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS; ++ii) { unsigned int index = stream->readInt(); mComputeAtomicCounterBufferRegisterIndices[ii] = index; @@ -1381,7 +1381,7 @@ void ProgramD3D::save(const gl::Context *context, gl::BinaryOutputStream *stream gl::WriteShaderVar(stream, image2DUniform); } - for (unsigned int ii = 0; ii < gl::IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS; ++ii) + for (unsigned int ii = 0; ii < gl::IMPLEMENTATION_MAX_ATOMIC_COUNTER_BUFFERS; ++ii) { stream->writeInt(mComputeAtomicCounterBufferRegisterIndices[ii]); } @@ -2078,27 +2078,6 @@ std::unique_ptr ProgramD3D::link(const gl::Context *context, shadersD3D[shaderType]->generateWorkarounds(&mShaderWorkarounds[shaderType]); mShaderUniformsDirty.set(shaderType); - - const std::set &slowCompilingUniformBlockSet = - shadersD3D[shaderType]->getSlowCompilingUniformBlockSet(); - if (slowCompilingUniformBlockSet.size() > 0) - { - std::ostringstream stream; - stream << "You could get a better shader compiling performance if you re-write" - << " the uniform block(s)\n[ "; - for (const std::string &str : slowCompilingUniformBlockSet) - { - stream << str << " "; - } - stream << "]\nin the " << gl::GetShaderTypeString(shaderType) << " shader.\n"; - - stream << "You could get more details from " - "https://chromium.googlesource.com/angle/angle/+/refs/heads/master/" - "src/libANGLE/renderer/d3d/d3d11/" - "UniformBlockToStructuredBufferTranslation.md\n"; - ANGLE_PERF_WARNING(context->getState().getDebug(), GL_DEBUG_SEVERITY_MEDIUM, - stream.str().c_str()); - } } } @@ -2112,14 +2091,11 @@ std::unique_ptr ProgramD3D::link(const gl::Context *context, } } - const gl::VaryingPacking &varyingPacking = - resources.varyingPacking.getOutputPacking(gl::ShaderType::Vertex); - ProgramD3DMetadata metadata(mRenderer, shadersD3D, context->getClientType()); - BuiltinVaryingsD3D builtins(metadata, varyingPacking); + BuiltinVaryingsD3D builtins(metadata, resources.varyingPacking); - mDynamicHLSL->generateShaderLinkHLSL(context->getCaps(), mState, metadata, varyingPacking, - builtins, &mShaderHLSL); + mDynamicHLSL->generateShaderLinkHLSL(context->getCaps(), mState, metadata, + resources.varyingPacking, builtins, &mShaderHLSL); const ShaderD3D *vertexShader = shadersD3D[gl::ShaderType::Vertex]; mUsesPointSize = vertexShader && vertexShader->usesPointSize(); @@ -2135,7 +2111,7 @@ std::unique_ptr ProgramD3D::link(const gl::Context *context, if (mRenderer->getMajorShaderModel() >= 4) { mGeometryShaderPreamble = mDynamicHLSL->generateGeometryShaderPreamble( - varyingPacking, builtins, mHasANGLEMultiviewEnabled, + resources.varyingPacking, builtins, mHasANGLEMultiviewEnabled, metadata.canSelectViewInVertexShader()); } @@ -2143,7 +2119,7 @@ std::unique_ptr ProgramD3D::link(const gl::Context *context, defineUniformsAndAssignRegisters(); - gatherTransformFeedbackVaryings(varyingPacking, builtins[gl::ShaderType::Vertex]); + gatherTransformFeedbackVaryings(resources.varyingPacking, builtins[gl::ShaderType::Vertex]); linkResources(resources); @@ -2662,34 +2638,24 @@ bool ProgramD3D::hasNamedUniform(const std::string &name) // Assume count is already clamped. template -void ProgramD3D::setUniformImpl(D3DUniform *targetUniform, - const gl::VariableLocation &locationInfo, +void ProgramD3D::setUniformImpl(const gl::VariableLocation &locationInfo, GLsizei count, const T *v, uint8_t *targetState, GLenum uniformType) { + D3DUniform *targetUniform = mD3DUniforms[locationInfo.index]; const int components = targetUniform->typeInfo.componentCount; const unsigned int arrayElementOffset = locationInfo.arrayIndex; - const int blockSize = 4; if (targetUniform->typeInfo.type == uniformType) { - T *dest = reinterpret_cast(targetState) + arrayElementOffset * blockSize; + T *dest = reinterpret_cast(targetState) + arrayElementOffset * 4; const T *source = v; - // If the component is equal to the block size, we can optimize to a single memcpy. - // Otherwise, we have to do partial block writes. - if (components == blockSize) + for (GLint i = 0; i < count; i++, dest += 4, source += components) { - memcpy(dest, source, components * count * sizeof(T)); - } - else - { - for (GLint i = 0; i < count; i++, dest += blockSize, source += components) - { - memcpy(dest, source, components * sizeof(T)); - } + memcpy(dest, source, components * sizeof(T)); } } else @@ -2731,10 +2697,10 @@ void ProgramD3D::setUniformInternal(GLint location, GLsizei count, const T *v, G for (gl::ShaderType shaderType : gl::AllShaderTypes()) { - uint8_t *targetState = targetUniform->mShaderData[shaderType]; - if (targetState) + if (targetUniform->mShaderData[shaderType]) { - setUniformImpl(targetUniform, locationInfo, count, v, targetState, uniformType); + setUniformImpl(locationInfo, count, v, targetUniform->mShaderData[shaderType], + uniformType); mShaderUniformsDirty.set(shaderType); } } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.h index 5f8229d69012..4074d7aa799d 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ProgramD3D.h @@ -481,8 +481,7 @@ class ProgramD3D : public ProgramImpl void getUniformInternal(GLint location, DestT *dataOut) const; template - void setUniformImpl(D3DUniform *targetUniform, - const gl::VariableLocation &locationInfo, + void setUniformImpl(const gl::VariableLocation &locationInfo, GLsizei count, const T *v, uint8_t *targetData, @@ -584,7 +583,7 @@ class ProgramD3D : public ProgramImpl std::map mAtomicBindingMap; std::vector mD3DUniformBlocks; std::vector mD3DShaderStorageBlocks; - std::array + std::array mComputeAtomicCounterBufferRegisterIndices; std::vector mImage2DUniforms; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.cpp index edea121fb401..237bde37e52a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.cpp @@ -98,6 +98,21 @@ void RendererD3D::notifyDeviceLost() mDisplay->notifyDeviceLost(); } +std::string RendererD3D::getVendorString() const +{ + LUID adapterLuid = {}; + + if (getLUID(&adapterLuid)) + { + char adapterLuidString[64]; + sprintf_s(adapterLuidString, sizeof(adapterLuidString), "(adapter LUID: %08x%08x)", + adapterLuid.HighPart, adapterLuid.LowPart); + return std::string(adapterLuidString); + } + + return std::string(""); +} + void RendererD3D::setGPUDisjoint() { mDisjoint = true; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.h index c16241c6c4ca..76fb2da66f3e 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/RendererD3D.h @@ -160,9 +160,7 @@ class RendererD3D : public BufferFactoryD3D virtual ContextImpl *createContext(const gl::State &state, gl::ErrorSet *errorSet) = 0; - virtual std::string getRendererDescription() const = 0; - virtual std::string getVendorString() const = 0; - virtual std::string getVersionString() const = 0; + std::string getVendorString() const; virtual int getMinorShaderModel() const = 0; virtual std::string getShaderModelSuffix() const = 0; @@ -189,8 +187,7 @@ class RendererD3D : public BufferFactoryD3D EGLint *height, GLsizei *samples, gl::Format *glFormat, - const angle::Format **angleFormat, - UINT *arraySlice) const = 0; + const angle::Format **angleFormat) const = 0; virtual egl::Error validateShareHandle(const egl::Config *config, HANDLE shareHandle, const egl::AttributeMap &attribs) const = 0; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.cpp index f91bd687fbf1..6d197a817fd6 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.cpp @@ -240,11 +240,6 @@ bool ShaderD3D::useImage2DFunction(const std::string &functionName) const return mUsedImage2DFunctionNames.find(functionName) != mUsedImage2DFunctionNames.end(); } -const std::set &ShaderD3D::getSlowCompilingUniformBlockSet() const -{ - return mSlowCompilingUniformBlockSet; -} - const std::map &GetUniformRegisterMap( const std::map *uniformRegisterMap) { @@ -252,13 +247,6 @@ const std::map &GetUniformRegisterMap( return *uniformRegisterMap; } -const std::set &GetSlowCompilingUniformBlockSet( - const std::set *slowCompilingUniformBlockSet) -{ - ASSERT(slowCompilingUniformBlockSet); - return *slowCompilingUniformBlockSet; -} - const std::set &GetUsedImage2DFunctionNames( const std::set *usedImage2DFunctionNames) { @@ -342,9 +330,6 @@ std::shared_ptr ShaderD3D::compile(const gl::Context *cont } } - mSlowCompilingUniformBlockSet = - GetSlowCompilingUniformBlockSet(sh::GetSlowCompilingUniformBlockSet(compilerHandle)); - for (const sh::InterfaceBlock &interfaceBlock : mState.getShaderStorageBlocks()) { if (interfaceBlock.active) diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.h index 4d5c609f291c..b5a5ef56c6c8 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/ShaderD3D.h @@ -59,7 +59,6 @@ class ShaderD3D : public ShaderImpl unsigned int getReadonlyImage2DRegisterIndex() const { return mReadonlyImage2DRegisterIndex; } unsigned int getImage2DRegisterIndex() const { return mImage2DRegisterIndex; } bool useImage2DFunction(const std::string &functionName) const; - const std::set &getSlowCompilingUniformBlockSet() const; void appendDebugInfo(const std::string &info) const { mDebugInfo += info; } void generateWorkarounds(angle::CompilerWorkaroundsD3D *workarounds) const; @@ -105,7 +104,6 @@ class ShaderD3D : public ShaderImpl std::map mUniformRegisterMap; std::map mUniformBlockRegisterMap; std::map mUniformBlockUseStructuredBufferMap; - std::set mSlowCompilingUniformBlockSet; std::map mShaderStorageBlockRegisterMap; unsigned int mReadonlyImage2DRegisterIndex; unsigned int mImage2DRegisterIndex; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/SurfaceD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/SurfaceD3D.cpp index 6e0e2b37eae1..9f00a5def555 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/SurfaceD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/SurfaceD3D.cpp @@ -106,7 +106,7 @@ egl::Error SurfaceD3D::initialize(const egl::Display *display) { ANGLE_TRY(mRenderer->getD3DTextureInfo(mState.config, mD3DTexture, mState.attributes, &mFixedWidth, &mFixedHeight, nullptr, nullptr, - &mColorFormat, nullptr)); + &mColorFormat)); if (mState.attributes.contains(EGL_GL_COLORSPACE)) { if (mColorFormat->id != angle::FormatID::R8G8B8A8_TYPELESS && diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.cpp index 1b26d79933d8..f5add2dc5fe0 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.cpp @@ -374,12 +374,9 @@ angle::Result TextureD3D::subImageCompressed(const gl::Context *context, return angle::Result::Continue; } -bool TextureD3D::isFastUnpackable(const gl::Buffer *unpackBuffer, - const gl::PixelUnpackState &unpack, - GLenum sizedInternalFormat) +bool TextureD3D::isFastUnpackable(const gl::Buffer *unpackBuffer, GLenum sizedInternalFormat) { - return unpackBuffer != nullptr && unpack.skipRows == 0 && unpack.skipPixels == 0 && - unpack.imageHeight == 0 && unpack.skipImages == 0 && + return unpackBuffer != nullptr && mRenderer->supportsFastCopyBufferToTexture(sizedInternalFormat); } @@ -799,13 +796,6 @@ angle::Result TextureD3D::initializeContents(const gl::Context *context, RenderTargetD3D *renderTarget = nullptr; ANGLE_TRY(mTexStorage->getRenderTarget(context, index, 0, &renderTarget)); ANGLE_TRY(mRenderer->initRenderTarget(context, renderTarget)); - - // Force image clean again, the texture storage may have been re-created and the image used. - if (image) - { - image->markClean(); - } - return angle::Result::Continue; } @@ -970,7 +960,7 @@ angle::Result TextureD3D_2D::setImage(const gl::Context *context, { ANGLE_TRY(mTexStorage->releaseMultisampledTexStorageForLevel(index.getLevelIndex())); } - if (isFastUnpackable(unpackBuffer, unpack, internalFormatInfo.sizedInternalFormat) && + if (isFastUnpackable(unpackBuffer, internalFormatInfo.sizedInternalFormat) && isLevelComplete(index.getLevelIndex())) { // Will try to create RT storage if it does not exist @@ -1013,7 +1003,7 @@ angle::Result TextureD3D_2D::setSubImage(const gl::Context *context, { ANGLE_TRY(mTexStorage->releaseMultisampledTexStorageForLevel(index.getLevelIndex())); } - if (isFastUnpackable(unpackBuffer, unpack, mipFormat) && isLevelComplete(index.getLevelIndex())) + if (isFastUnpackable(unpackBuffer, mipFormat) && isLevelComplete(index.getLevelIndex())) { RenderTargetD3D *renderTarget = nullptr; ANGLE_TRY(getRenderTarget(context, index, getRenderToTextureSamples(), &renderTarget)); @@ -1633,8 +1623,8 @@ angle::Result TextureD3D_2D::redefineImage(const gl::Context *context, } if ((level >= storageLevels && storageLevels != 0) || size.width != storageWidth || - size.height != storageHeight || internalformat != storageFormat || - mEGLImageTarget) // Discard mismatched storage + size.height != storageHeight || + internalformat != storageFormat) // Discard mismatched storage { ANGLE_TRY(releaseTexStorage(context)); markAllImagesDirty(); @@ -2501,8 +2491,8 @@ angle::Result TextureD3D_3D::setImage(const gl::Context *context, bool fastUnpacked = false; // Attempt a fast gpu copy of the pixel data to the surface if the app bound an unpack buffer - if (isFastUnpackable(unpackBuffer, unpack, internalFormatInfo.sizedInternalFormat) && - !size.empty() && isLevelComplete(index.getLevelIndex())) + if (isFastUnpackable(unpackBuffer, internalFormatInfo.sizedInternalFormat) && !size.empty() && + isLevelComplete(index.getLevelIndex())) { // Will try to create RT storage if it does not exist RenderTargetD3D *destRenderTarget = nullptr; @@ -2541,7 +2531,7 @@ angle::Result TextureD3D_3D::setSubImage(const gl::Context *context, // Attempt a fast gpu copy of the pixel data to the surface if the app bound an unpack buffer GLenum mipFormat = getInternalFormat(index.getLevelIndex()); - if (isFastUnpackable(unpackBuffer, unpack, mipFormat) && isLevelComplete(index.getLevelIndex())) + if (isFastUnpackable(unpackBuffer, mipFormat) && isLevelComplete(index.getLevelIndex())) { RenderTargetD3D *destRenderTarget = nullptr; ANGLE_TRY(getRenderTarget(context, index, getRenderToTextureSamples(), &destRenderTarget)); diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.h index 9fff550f3f48..b5d7b79a888e 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/TextureD3D.h @@ -149,9 +149,7 @@ class TextureD3D : public TextureImpl, public angle::ObserverInterface const gl::PixelUnpackState &unpack, const uint8_t *pixels, ptrdiff_t layerOffset); - bool isFastUnpackable(const gl::Buffer *unpackBuffer, - const gl::PixelUnpackState &unpack, - GLenum sizedInternalFormat); + bool isFastUnpackable(const gl::Buffer *unpackBuffer, GLenum sizedInternalFormat); angle::Result fastUnpackPixels(const gl::Context *context, const gl::PixelUnpackState &unpack, gl::Buffer *unpackBuffer, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11.cpp index 6d9365af8db5..55f8f8f4d38f 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11.cpp @@ -141,10 +141,7 @@ void StretchedBlitNearest(const gl::Box &sourceArea, uint8_t *destData) { gl::Rectangle clippedDestArea(destArea.x, destArea.y, destArea.width, destArea.height); - if (!gl::ClipRectangle(clippedDestArea, clipRect, &clippedDestArea)) - { - return; - } + gl::ClipRectangle(clippedDestArea, clipRect, &clippedDestArea); // Determine if entire rows can be copied at once instead of each individual pixel. There // must be no out of bounds lookups, whole rows copies, and no scale. diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11Helper_autogen.inc b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11Helper_autogen.inc index 64d8106a1863..6db8a4e6d9ae 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11Helper_autogen.inc +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Blit11Helper_autogen.inc @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_blit11helper.py. // -// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.cpp index 117e5c79f49f..c1eacff9d10d 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.cpp @@ -723,6 +723,16 @@ gl::GraphicsResetStatus Context11::getResetStatus() return mRenderer->getResetStatus(); } +std::string Context11::getVendorString() const +{ + return mRenderer->getVendorString(); +} + +std::string Context11::getRendererDescription() const +{ + return mRenderer->getRendererDescription(); +} + angle::Result Context11::insertEventMarker(GLsizei length, const char *marker) { mRenderer->getAnnotator()->setMarker(marker); @@ -731,8 +741,7 @@ angle::Result Context11::insertEventMarker(GLsizei length, const char *marker) angle::Result Context11::pushGroupMarker(GLsizei length, const char *marker) { - mRenderer->getAnnotator()->beginEvent(nullptr, angle::EntryPoint::GLPushGroupMarkerEXT, marker, - marker); + mRenderer->getAnnotator()->beginEvent(nullptr, gl::EntryPoint::Begin, marker, marker); mMarkerStack.push(std::string(marker)); return angle::Result::Continue; } @@ -744,8 +753,7 @@ angle::Result Context11::popGroupMarker() { marker = mMarkerStack.top().c_str(); mMarkerStack.pop(); - mRenderer->getAnnotator()->endEvent(nullptr, marker, - angle::EntryPoint::GLPopGroupMarkerEXT); + mRenderer->getAnnotator()->endEvent(nullptr, marker, gl::EntryPoint::Begin); } return angle::Result::Continue; } @@ -966,8 +974,7 @@ angle::Result Context11::getIncompleteTexture(const gl::Context *context, gl::TextureType type, gl::Texture **textureOut) { - return mIncompleteTextures.getIncompleteTexture(context, type, gl::SamplerFormat::Float, this, - textureOut); + return mIncompleteTextures.getIncompleteTexture(context, type, this, textureOut); } angle::Result Context11::initializeMultisampleTextureToBlack(const gl::Context *context, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.h index 04648874c38b..d0207493e805 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Context11.h @@ -191,6 +191,10 @@ class Context11 : public ContextD3D, public MultisampleTextureInitializer // Device loss gl::GraphicsResetStatus getResetStatus() override; + // Vendor and description strings. + std::string getVendorString() const override; + std::string getRendererDescription() const override; + // EXT_debug_marker angle::Result insertEventMarker(GLsizei length, const char *marker) override; angle::Result pushGroupMarker(GLsizei length, const char *marker) override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp index 533aa676abf8..9f801d823bb4 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.cpp @@ -20,7 +20,7 @@ DebugAnnotator11::DebugAnnotator11() {} DebugAnnotator11::~DebugAnnotator11() {} void DebugAnnotator11::beginEvent(gl::Context *context, - angle::EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) { @@ -35,7 +35,7 @@ void DebugAnnotator11::beginEvent(gl::Context *context, void DebugAnnotator11::endEvent(gl::Context *context, const char *eventName, - angle::EntryPoint entryPoint) + gl::EntryPoint entryPoint) { angle::LoggingAnnotator::endEvent(context, eventName, entryPoint); if (loggingEnabledForThisThread()) diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.h index 17c9efdd0327..e1ed021bde36 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/DebugAnnotator11.h @@ -24,12 +24,10 @@ class DebugAnnotator11 : public angle::LoggingAnnotator void initialize(ID3D11DeviceContext *context); void release(); void beginEvent(gl::Context *context, - angle::EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) override; - void endEvent(gl::Context *context, - const char *eventName, - angle::EntryPoint entryPoint) override; + void endEvent(gl::Context *context, const char *eventName, gl::EntryPoint entryPoint) override; void setMarker(const char *markerName) override; bool getStatus() override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.cpp index c0481f8634c9..e10e84095346 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.cpp @@ -29,8 +29,7 @@ egl::Error ExternalImageSiblingImpl11::initialize(const egl::Display *display) { const angle::Format *angleFormat = nullptr; ANGLE_TRY(mRenderer->getD3DTextureInfo(nullptr, static_cast(mBuffer), mAttribs, - &mWidth, &mHeight, &mSamples, &mFormat, &angleFormat, - &mArraySlice)); + &mWidth, &mHeight, &mSamples, &mFormat, &angleFormat)); ID3D11Texture2D *texture = d3d11::DynamicCastComObject(static_cast(mBuffer)); ASSERT(texture != nullptr); @@ -53,11 +52,6 @@ egl::Error ExternalImageSiblingImpl11::initialize(const egl::Display *display) mIsTexturable = (textureDesc.BindFlags & D3D11_BIND_SHADER_RESOURCE) && (resourceUsage & DXGI_USAGE_SHADER_INPUT); - mIsTextureArray = (textureDesc.ArraySize > 1); - - mYUV = (textureDesc.Format == DXGI_FORMAT_NV12 || textureDesc.Format == DXGI_FORMAT_P010 || - textureDesc.Format == DXGI_FORMAT_P016); - return egl::NoError(); } @@ -76,11 +70,6 @@ bool ExternalImageSiblingImpl11::isTexturable(const gl::Context *context) const return mIsTexturable; } -bool ExternalImageSiblingImpl11::isYUV() const -{ - return mYUV; -} - gl::Extents ExternalImageSiblingImpl11::getSize() const { return gl::Extents(mWidth, mHeight, 1); @@ -123,34 +112,9 @@ angle::Result ExternalImageSiblingImpl11::createRenderTarget(const gl::Context * { D3D11_RENDER_TARGET_VIEW_DESC rtvDesc; rtvDesc.Format = formatInfo.rtvFormat; - if (mIsTextureArray) - { - if (mSamples == 0) - { - rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DARRAY; - rtvDesc.Texture2DArray.MipSlice = 0; - rtvDesc.Texture2DArray.FirstArraySlice = mArraySlice; - rtvDesc.Texture2DArray.ArraySize = 1; - } - else - { - rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY; - rtvDesc.Texture2DMSArray.FirstArraySlice = mArraySlice; - rtvDesc.Texture2DMSArray.ArraySize = 1; - } - } - else - { - if (mSamples == 0) - { - rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D; - rtvDesc.Texture2D.MipSlice = 0; - } - else - { - rtvDesc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2DMS; - } - } + rtvDesc.ViewDimension = + mSamples == 0 ? D3D11_RTV_DIMENSION_TEXTURE2D : D3D11_RTV_DIMENSION_TEXTURE2DMS; + rtvDesc.Texture2D.MipSlice = 0; ANGLE_TRY(mRenderer->allocateResource(context11, rtvDesc, mTexture.get(), &rtv)); rtv.setDebugName("getAttachmentRenderTarget.RTV"); @@ -161,36 +125,10 @@ angle::Result ExternalImageSiblingImpl11::createRenderTarget(const gl::Context * { D3D11_SHADER_RESOURCE_VIEW_DESC srvDesc; srvDesc.Format = formatInfo.srvFormat; - if (mIsTextureArray) - { - if (mSamples == 0) - { - srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DARRAY; - srvDesc.Texture2DArray.MostDetailedMip = 0; - srvDesc.Texture2DArray.MipLevels = 1; - srvDesc.Texture2DArray.FirstArraySlice = mArraySlice; - srvDesc.Texture2DArray.ArraySize = 1; - } - else - { - srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY; - srvDesc.Texture2DArray.FirstArraySlice = mArraySlice; - srvDesc.Texture2DArray.ArraySize = 1; - } - } - else - { - if (mSamples == 0) - { - srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D; - srvDesc.Texture2D.MostDetailedMip = 0; - srvDesc.Texture2D.MipLevels = 1; - } - else - { - srvDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DMS; - } - } + srvDesc.ViewDimension = + mSamples == 0 ? D3D11_SRV_DIMENSION_TEXTURE2D : D3D11_SRV_DIMENSION_TEXTURE2DMS; + srvDesc.Texture2D.MostDetailedMip = 0; + srvDesc.Texture2D.MipLevels = 1; ANGLE_TRY(mRenderer->allocateResource(context11, srvDesc, mTexture.get(), &srv)); srv.setDebugName("getAttachmentRenderTarget.SRV"); diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.h index a163bcad2600..87a22d9459e8 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/ExternalImageSiblingImpl11.h @@ -29,7 +29,6 @@ class ExternalImageSiblingImpl11 : public ExternalImageSiblingImpl gl::Format getFormat() const override; bool isRenderable(const gl::Context *context) const override; bool isTexturable(const gl::Context *context) const override; - bool isYUV() const override; gl::Extents getSize() const override; size_t getSamples() const override; @@ -51,15 +50,12 @@ class ExternalImageSiblingImpl11 : public ExternalImageSiblingImpl TextureHelper11 mTexture; - gl::Format mFormat = gl::Format::Invalid(); - bool mIsRenderable = false; - bool mIsTexturable = false; - bool mIsTextureArray = false; - bool mYUV = false; - EGLint mWidth = 0; - EGLint mHeight = 0; - GLsizei mSamples = 0; - UINT mArraySlice = 0; + gl::Format mFormat = gl::Format::Invalid(); + bool mIsRenderable = false; + bool mIsTexturable = false; + EGLint mWidth = 0; + EGLint mHeight = 0; + GLsizei mSamples = 0; std::unique_ptr mRenderTarget; }; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Image11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Image11.cpp index cb5563e5dc9e..daa5c3abc3ab 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Image11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Image11.cpp @@ -200,8 +200,6 @@ angle::Result Image11::recoverFromAssociatedStorage(const gl::Context *context) // Reset all the recovery parameters, even if the texture storage association is broken. disassociateStorage(); - - markDirty(); } return angle::Result::Continue; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp index 414c7edb9fbb..484b256b29ab 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp @@ -58,8 +58,6 @@ #include "libANGLE/renderer/d3d/d3d11/formatutils11.h" #include "libANGLE/renderer/d3d/d3d11/renderer11_utils.h" #include "libANGLE/renderer/d3d/d3d11/texture_format_table.h" -#include "libANGLE/renderer/d3d/driver_utils_d3d.h" -#include "libANGLE/renderer/driver_utils.h" #include "libANGLE/renderer/dxgi_support_table.h" #include "libANGLE/renderer/renderer_utils.h" #include "libANGLE/trace.h" @@ -67,11 +65,8 @@ #ifdef ANGLE_ENABLE_WINDOWS_UWP # include "libANGLE/renderer/d3d/d3d11/winrt/NativeWindow11WinRT.h" #else -# include "libANGLE/renderer/d3d/d3d11/win32/NativeWindow11Win32.h" -#endif - -#ifdef ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW # include "libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.h" +# include "libANGLE/renderer/d3d/d3d11/win32/NativeWindow11Win32.h" #endif // Enable ANGLE_SKIP_DXGI_1_2_CHECK if there is not a possibility of using cross-process @@ -1298,6 +1293,8 @@ void Renderer11::generateDisplayExtensions(egl::DisplayExtensions *outExtensions // D3D11 does not support present with dirty rectangles until DXGI 1.2. outExtensions->postSubBuffer = mRenderer11DeviceCaps.supportsDXGI1_2; + outExtensions->deviceQuery = true; + outExtensions->image = true; outExtensions->imageBase = true; outExtensions->glTexture2DImage = true; @@ -1325,7 +1322,7 @@ void Renderer11::generateDisplayExtensions(egl::DisplayExtensions *outExtensions // All D3D feature levels support robust resource init outExtensions->robustResourceInitialization = true; -#ifdef ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW +#if !defined(ANGLE_ENABLE_WINDOWS_UWP) // Compositor Native Window capabilies require WinVer >= 1803 if (CompositorNativeWindow11::IsSupportedWinRelease()) { @@ -1386,28 +1383,19 @@ angle::Result Renderer11::finish(Context11 *context11) bool Renderer11::isValidNativeWindow(EGLNativeWindowType window) const { + static_assert(sizeof(ABI::Windows::UI::Composition::SpriteVisual *) == sizeof(HWND), + "Pointer size must match Window Handle size"); + #if defined(ANGLE_ENABLE_WINDOWS_UWP) - if (NativeWindow11WinRT::IsValidNativeWindow(window)) - { - return true; - } + return NativeWindow11WinRT::IsValidNativeWindow(window); #else if (NativeWindow11Win32::IsValidNativeWindow(window)) { return true; } -#endif -#ifdef ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW - static_assert(sizeof(ABI::Windows::UI::Composition::SpriteVisual *) == sizeof(HWND), - "Pointer size must match Window Handle size"); - if (CompositorNativeWindow11::IsValidNativeWindow(window)) - { - return true; - } + return CompositorNativeWindow11::IsValidNativeWindow(window); #endif - - return false; } NativeWindowD3D *Renderer11::createNativeWindow(EGLNativeWindowType window, @@ -1415,28 +1403,21 @@ NativeWindowD3D *Renderer11::createNativeWindow(EGLNativeWindowType window, const egl::AttributeMap &attribs) const { #if defined(ANGLE_ENABLE_WINDOWS_UWP) - if (window == nullptr || NativeWindow11WinRT::IsValidNativeWindow(window)) - { - return new NativeWindow11WinRT(window, config->alphaSize > 0); - } + return new NativeWindow11WinRT(window, config->alphaSize > 0); #else - if (window == nullptr || NativeWindow11Win32::IsValidNativeWindow(window)) + auto useWinUiComp = window != nullptr && !NativeWindow11Win32::IsValidNativeWindow(window); + + if (useWinUiComp) + { + return new CompositorNativeWindow11(window, config->alphaSize > 0); + } + else { return new NativeWindow11Win32( window, config->alphaSize > 0, attribs.get(EGL_DIRECT_COMPOSITION_ANGLE, EGL_FALSE) == EGL_TRUE); } #endif - -#ifdef ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW - if (CompositorNativeWindow11::IsValidNativeWindow(window)) - { - return new CompositorNativeWindow11(window, config->alphaSize > 0); - } -#endif - - UNREACHABLE(); - return nullptr; } egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, @@ -1446,8 +1427,7 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, EGLint *height, GLsizei *samples, gl::Format *glFormat, - const angle::Format **angleFormat, - UINT *arraySlice) const + const angle::Format **angleFormat) const { angle::ComPtr d3dTexture = d3d11::DynamicCastComObjectToComPtr(texture); @@ -1466,8 +1446,14 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, D3D11_TEXTURE2D_DESC desc = {}; d3dTexture->GetDesc(&desc); - EGLint imageWidth = static_cast(desc.Width); - EGLint imageHeight = static_cast(desc.Height); + if (width) + { + *width = static_cast(desc.Width); + } + if (height) + { + *height = static_cast(desc.Height); + } GLsizei sampleCount = static_cast(desc.SampleDesc.Count); if (configuration && (configuration->samples != sampleCount)) @@ -1481,122 +1467,65 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, return egl::EglBadParameter() << "Texture's sample count does not match."; } } - - const angle::Format *textureAngleFormat = nullptr; - GLenum sizedInternalFormat = GL_NONE; - - // From table egl.restrictions in EGL_ANGLE_d3d_texture_client_buffer. - if (desc.Format == DXGI_FORMAT_NV12 || desc.Format == DXGI_FORMAT_P010 || - desc.Format == DXGI_FORMAT_P016) - { - if (!attribs.contains(EGL_D3D11_TEXTURE_PLANE_ANGLE)) - { - return egl::EglBadParameter() - << "EGL_D3D11_TEXTURE_PLANE_ANGLE must be specified for YUV textures."; - } - - EGLint plane = attribs.getAsInt(EGL_D3D11_TEXTURE_PLANE_ANGLE); - - // P010 and P016 have the same memory layout, SRV/RTV format, etc. - const bool isNV12 = (desc.Format == DXGI_FORMAT_NV12); - if (plane == 0) - { - textureAngleFormat = isNV12 ? &angle::Format::Get(angle::FormatID::R8_UNORM) - : &angle::Format::Get(angle::FormatID::R16_UNORM); - } - else if (plane == 1) - { - textureAngleFormat = isNV12 ? &angle::Format::Get(angle::FormatID::R8G8_UNORM) - : &angle::Format::Get(angle::FormatID::R16G16_UNORM); - imageWidth /= 2; - imageHeight /= 2; - } - else - { - return egl::EglBadParameter() << "Invalid client buffer texture plane: " << plane; - } - - ASSERT(textureAngleFormat); - sizedInternalFormat = textureAngleFormat->glInternalFormat; - } - else - { - switch (desc.Format) - { - case DXGI_FORMAT_R8G8B8A8_UNORM: - case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: - case DXGI_FORMAT_R8G8B8A8_TYPELESS: - case DXGI_FORMAT_B8G8R8A8_UNORM: - case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: - case DXGI_FORMAT_B8G8R8A8_TYPELESS: - case DXGI_FORMAT_R16G16B16A16_FLOAT: - case DXGI_FORMAT_R32G32B32A32_FLOAT: - case DXGI_FORMAT_R10G10B10A2_UNORM: - break; - - default: - return egl::EglBadParameter() - << "Invalid client buffer texture format: " << desc.Format; - } - - textureAngleFormat = &d3d11_angle::GetFormat(desc.Format); - ASSERT(textureAngleFormat); - - sizedInternalFormat = textureAngleFormat->glInternalFormat; - - if (attribs.contains(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE)) - { - const GLenum internalFormat = - static_cast(attribs.get(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE)); - switch (internalFormat) - { - case GL_RGBA: - case GL_BGRA_EXT: - case GL_RGB: - break; - default: - return egl::EglBadParameter() - << "Invalid client buffer texture internal format: " << std::hex - << internalFormat; - } - - const GLenum type = gl::GetSizedInternalFormatInfo(sizedInternalFormat).type; - - const auto format = gl::Format(internalFormat, type); - if (!format.valid()) - { - return egl::EglBadParameter() - << "Invalid client buffer texture internal format: " << std::hex - << internalFormat; - } - - sizedInternalFormat = format.info->sizedInternalFormat; - } - } - - UINT textureArraySlice = - static_cast(attribs.getAsInt(EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE, 0)); - if (textureArraySlice >= desc.ArraySize) - { - return egl::EglBadParameter() - << "Invalid client buffer texture array slice: " << textureArraySlice; - } - - if (width) - { - *width = imageWidth; - } - if (height) - { - *height = imageHeight; - } - if (samples) { // EGL samples 0 corresponds to D3D11 sample count 1. *samples = sampleCount != 1 ? sampleCount : 0; } + // From table egl.restrictions in EGL_ANGLE_d3d_texture_client_buffer. + switch (desc.Format) + { + case DXGI_FORMAT_R8G8B8A8_UNORM: + case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: + case DXGI_FORMAT_R8G8B8A8_TYPELESS: + case DXGI_FORMAT_B8G8R8A8_UNORM: + case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: + case DXGI_FORMAT_B8G8R8A8_TYPELESS: + case DXGI_FORMAT_R16G16B16A16_FLOAT: + case DXGI_FORMAT_R32G32B32A32_FLOAT: + case DXGI_FORMAT_R10G10B10A2_UNORM: + break; + + default: + return egl::EglBadParameter() + << "Invalid client buffer texture format: " << desc.Format; + } + + const angle::Format *textureAngleFormat = &d3d11_angle::GetFormat(desc.Format); + ASSERT(textureAngleFormat); + + GLenum sizedInternalFormat = textureAngleFormat->glInternalFormat; + + if (attribs.contains(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE)) + { + const GLenum internalFormat = + static_cast(attribs.get(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE)); + switch (internalFormat) + { + case GL_RGBA: + case GL_BGRA_EXT: + case GL_RGB: + break; + default: + return egl::EglBadParameter() + << "Invalid client buffer texture internal format: " << std::hex + << internalFormat; + } + + const GLenum type = gl::GetSizedInternalFormatInfo(sizedInternalFormat).type; + + const auto format = gl::Format(internalFormat, type); + if (!format.valid()) + { + return egl::EglBadParameter() + << "Invalid client buffer texture internal format: " << std::hex + << internalFormat; + } + + sizedInternalFormat = format.info->sizedInternalFormat; + } + if (glFormat) { *glFormat = gl::Format(sizedInternalFormat); @@ -1607,11 +1536,6 @@ egl::Error Renderer11::getD3DTextureInfo(const egl::Config *configuration, *angleFormat = textureAngleFormat; } - if (arraySlice) - { - *arraySlice = textureArraySlice; - } - return egl::NoError(); } @@ -4310,25 +4234,8 @@ angle::Result Renderer11::getIncompleteTexture(const gl::Context *context, return GetImplAs(context)->getIncompleteTexture(context, type, textureOut); } -std::string Renderer11::getVendorString() const -{ - return GetVendorString(mAdapterDescription.VendorId); -} - -std::string Renderer11::getVersionString() const -{ - std::ostringstream versionString; - versionString << "D3D11-"; - if (mRenderer11DeviceCaps.driverVersion.valid()) - { - versionString << GetDriverVersionString(mRenderer11DeviceCaps.driverVersion.value()); - } - return versionString.str(); -} - RendererD3D *CreateRenderer11(egl::Display *display) { return new Renderer11(display); } - } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.h index 59c7d9d51955..8ca3da113de6 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/Renderer11.h @@ -109,8 +109,7 @@ class Renderer11 : public RendererD3D EGLint *height, GLsizei *samples, gl::Format *glFormat, - const angle::Format **angleFormat, - UINT *arraySlice) const override; + const angle::Format **angleFormat) const override; egl::Error validateShareHandle(const egl::Config *config, HANDLE shareHandle, const egl::AttributeMap &attribs) const override; @@ -119,6 +118,7 @@ class Renderer11 : public RendererD3D bool testDeviceLost() override; bool testDeviceResettable() override; + std::string getRendererDescription() const; DeviceIdentifier getAdapterIdentifier() const override; unsigned int getReservedVertexUniformVectors() const; @@ -478,10 +478,6 @@ class Renderer11 : public RendererD3D void setGlobalDebugAnnotator() override; - std::string getRendererDescription() const override; - std::string getVendorString() const override; - std::string getVersionString() const override; - private: void generateCaps(gl::Caps *outCaps, gl::TextureCapsMap *outTextureCaps, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.cpp index bd6fef15d9c1..7afccbbedbc1 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.cpp @@ -112,11 +112,10 @@ StreamProducerD3DTexture::~StreamProducerD3DTexture() SafeRelease(mTexture); } -egl::Error StreamProducerD3DTexture::validateD3DTexture(const void *pointer, +egl::Error StreamProducerD3DTexture::validateD3DTexture(void *pointer, const egl::AttributeMap &attributes) const { - // We must remove the const qualifier because "GetDevice" and "GetDesc" are non-const in D3D11. - ID3D11Texture2D *textureD3D = static_cast(const_cast(pointer)); + ID3D11Texture2D *textureD3D = static_cast(pointer); // Check that the texture originated from our device ID3D11Device *device; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.h index bcb0057fde38..287fad0c7b65 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/StreamProducerD3DTexture.h @@ -21,7 +21,7 @@ class StreamProducerD3DTexture : public StreamProducerImpl StreamProducerD3DTexture(Renderer11 *renderer); ~StreamProducerD3DTexture() override; - egl::Error validateD3DTexture(const void *pointer, + egl::Error validateD3DTexture(void *pointer, const egl::AttributeMap &attributes) const override; void postD3DTexture(void *pointer, const egl::AttributeMap &attributes) override; egl::Stream::GLTextureDescription getGLFrameDescription(int planeIndex) override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp index dff0848de680..8cab6264e748 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp @@ -272,7 +272,7 @@ EGLint SwapChain11::resetOffscreenColorBuffer(DisplayD3D *displayD3D, return EGL_BAD_ALLOC; } - mOffscreenTexture.setDebugName("OffscreenBackBufferTexture"); + mOffscreenTexture.setDebugName("Offscreen back buffer texture"); // EGL_ANGLE_surface_d3d_texture_2d_share_handle requires that we store a share handle for // the client @@ -312,14 +312,8 @@ EGLint SwapChain11::resetOffscreenColorBuffer(DisplayD3D *displayD3D, angle::Result result = mRenderer->allocateResource(displayD3D, offscreenRTVDesc, mOffscreenTexture.get(), &mOffscreenRTView); - if (result == angle::Result::Stop) - { - ERR() << "Could not create offscreen back buffer render target, " - << displayD3D->getStoredErrorString(); - release(); - return EGL_BAD_ALLOC; - } - mOffscreenRTView.setDebugName("OffscreenBackBufferRenderTarget"); + ASSERT(result != angle::Result::Stop); + mOffscreenRTView.setDebugName("Offscreen back buffer render target"); D3D11_SHADER_RESOURCE_VIEW_DESC offscreenSRVDesc; offscreenSRVDesc.Format = backbufferFormatInfo.srvFormat; @@ -332,14 +326,8 @@ EGLint SwapChain11::resetOffscreenColorBuffer(DisplayD3D *displayD3D, { result = mRenderer->allocateResource(displayD3D, offscreenSRVDesc, mOffscreenTexture.get(), &mOffscreenSRView); - if (result == angle::Result::Stop) - { - ERR() << "Could not create offscreen back buffer shader resource, " - << displayD3D->getStoredErrorString(); - release(); - return EGL_BAD_ALLOC; - } - mOffscreenSRView.setDebugName("OffscreenBackBufferShaderResource"); + ASSERT(result != angle::Result::Stop); + mOffscreenSRView.setDebugName("Offscreen back buffer shader resource"); } else { @@ -428,7 +416,7 @@ EGLint SwapChain11::resetOffscreenDepthBuffer(DisplayD3D *displayD3D, release(); return EGL_BAD_ALLOC; } - mDepthStencilTexture.setDebugName("OffscreenDepthStencilTexture"); + mDepthStencilTexture.setDebugName("Offscreen depth stencil texture"); D3D11_DEPTH_STENCIL_VIEW_DESC depthStencilDesc; depthStencilDesc.Format = depthBufferFormatInfo.dsvFormat; @@ -440,7 +428,7 @@ EGLint SwapChain11::resetOffscreenDepthBuffer(DisplayD3D *displayD3D, result = mRenderer->allocateResource(displayD3D, depthStencilDesc, mDepthStencilTexture.get(), &mDepthStencilDSView); ASSERT(result != angle::Result::Stop); - mDepthStencilDSView.setDebugName("OffscreenDSV"); + mDepthStencilDSView.setDebugName("Offscreen depth stencil view"); if (depthStencilSRV) { @@ -455,7 +443,7 @@ EGLint SwapChain11::resetOffscreenDepthBuffer(DisplayD3D *displayD3D, result = mRenderer->allocateResource(displayD3D, depthStencilSRVDesc, mDepthStencilTexture.get(), &mDepthStencilSRView); ASSERT(result != angle::Result::Stop); - mDepthStencilSRView.setDebugName("OffscreenDepthStencilSRV"); + mDepthStencilSRView.setDebugName("Offscreen depth stencil shader resource"); } } @@ -529,17 +517,17 @@ EGLint SwapChain11::resize(DisplayD3D *displayD3D, EGLint backbufferWidth, EGLin const auto &format = d3d11::Format::Get(mOffscreenRenderTargetFormat, mRenderer->getRenderer11DeviceCaps()); mBackBufferTexture.set(backbufferTexture, format); - mBackBufferTexture.setDebugName("BackBufferTexture"); + mBackBufferTexture.setDebugName("Back buffer texture"); angle::Result result = mRenderer->allocateResourceNoDesc( displayD3D, mBackBufferTexture.get(), &mBackBufferRTView); ASSERT(result != angle::Result::Stop); - mBackBufferRTView.setDebugName("BackBufferRTV"); + mBackBufferRTView.setDebugName("Back buffer render target"); result = mRenderer->allocateResourceNoDesc(displayD3D, mBackBufferTexture.get(), &mBackBufferSRView); ASSERT(result != angle::Result::Stop); - mBackBufferSRView.setDebugName("BackBufferSRV"); + mBackBufferSRView.setDebugName("Back buffer shader resource"); } mFirstSwap = true; @@ -650,17 +638,17 @@ EGLint SwapChain11::reset(DisplayD3D *displayD3D, const auto &format = d3d11::Format::Get(mOffscreenRenderTargetFormat, mRenderer->getRenderer11DeviceCaps()); mBackBufferTexture.set(backbufferTex, format); - mBackBufferTexture.setDebugName("BackBufferTexture"); + mBackBufferTexture.setDebugName("Back buffer texture"); angle::Result result = mRenderer->allocateResourceNoDesc( displayD3D, mBackBufferTexture.get(), &mBackBufferRTView); ASSERT(result != angle::Result::Stop); - mBackBufferRTView.setDebugName("BackBufferRTV"); + mBackBufferRTView.setDebugName("Back buffer render target"); result = mRenderer->allocateResourceNoDesc(displayD3D, mBackBufferTexture.get(), &mBackBufferSRView); ASSERT(result != angle::Result::Stop); - mBackBufferSRView.setDebugName("BackBufferSRV"); + mBackBufferSRView.setDebugName("Back buffer shader resource view"); } mFirstSwap = true; @@ -693,7 +681,7 @@ angle::Result SwapChain11::initPassThroughResources(DisplayD3D *displayD3D) vbDesc.StructureByteStride = 0; ANGLE_TRY(mRenderer->allocateResource(displayD3D, vbDesc, &mQuadVB)); - mQuadVB.setDebugName("SwapChainQuadVB"); + mQuadVB.setDebugName("Swap chain quad vertex buffer"); D3D11_SAMPLER_DESC samplerDesc; samplerDesc.Filter = D3D11_FILTER_MIN_MAG_MIP_POINT; @@ -711,7 +699,7 @@ angle::Result SwapChain11::initPassThroughResources(DisplayD3D *displayD3D) samplerDesc.MaxLOD = D3D11_FLOAT32_MAX; ANGLE_TRY(mRenderer->allocateResource(displayD3D, samplerDesc, &mPassThroughSampler)); - mPassThroughSampler.setDebugName("SwapChainPassThroughSampler"); + mPassThroughSampler.setDebugName("Swap chain pass through sampler"); D3D11_INPUT_ELEMENT_DESC quadLayout[] = { {"POSITION", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0}, @@ -723,10 +711,10 @@ angle::Result SwapChain11::initPassThroughResources(DisplayD3D *displayD3D) ANGLE_TRY( mRenderer->allocateResource(displayD3D, quadElements, &vertexShaderData, &mPassThroughIL)); - mPassThroughIL.setDebugName("SwapChainPassThroughIL"); + mPassThroughIL.setDebugName("Swap chain pass through layout"); ANGLE_TRY(mRenderer->allocateResource(displayD3D, vertexShaderData, &mPassThroughVS)); - mPassThroughVS.setDebugName("SwapChainPassThroughVS"); + mPassThroughVS.setDebugName("Swap chain pass through vertex shader"); if (mEGLSamples <= 1) { @@ -750,7 +738,7 @@ angle::Result SwapChain11::initPassThroughResources(DisplayD3D *displayD3D) } } - mPassThroughOrResolvePS.setDebugName("SwapChainPassThroughPS"); + mPassThroughOrResolvePS.setDebugName("Swap chain pass through pixel shader"); // Use the default rasterizer state but without culling D3D11_RASTERIZER_DESC rasterizerDesc; @@ -989,7 +977,7 @@ const d3d11::SharedSRV &SwapChain11::getRenderTargetShaderResource(d3d::Context angle::Result result = mRenderer->allocateTexture( context, offscreenCopyDesc, backbufferFormatInfo, &mOffscreenTextureCopyForSRV); ASSERT(result != angle::Result::Stop); - mOffscreenTextureCopyForSRV.setDebugName("OffscreenBackBufferCopyForSRV"); + mOffscreenTextureCopyForSRV.setDebugName("Offscreen back buffer copy for SRV"); D3D11_SHADER_RESOURCE_VIEW_DESC offscreenSRVDesc; offscreenSRVDesc.Format = backbufferFormatInfo.srvFormat; @@ -1001,7 +989,7 @@ const d3d11::SharedSRV &SwapChain11::getRenderTargetShaderResource(d3d::Context result = mRenderer->allocateResource(context, offscreenSRVDesc, mOffscreenTextureCopyForSRV.get(), &mOffscreenSRView); ASSERT(result != angle::Result::Stop); - mOffscreenSRView.setDebugName("OffscreenBackBufferSRV"); + mOffscreenSRView.setDebugName("Offscreen back buffer shader resource"); } // Need to copy the offscreen texture into the shader-readable copy, since it's external and diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp index a2b190f38775..8903ca9973e0 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/converged/CompositorNativeWindow11.cpp @@ -118,9 +118,7 @@ HRESULT CompositorNativeWindow11::createSwapChain(ID3D11Device *device, swapChainDesc.Scaling = DXGI_SCALING_STRETCH; swapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL; swapChainDesc.AlphaMode = mHasAlpha ? DXGI_ALPHA_MODE_PREMULTIPLIED : DXGI_ALPHA_MODE_IGNORE; -#ifndef ANGLE_ENABLE_WINDOWS_UWP swapChainDesc.Flags = DXGI_SWAP_CHAIN_FLAG::DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT; -#endif Microsoft::WRL::ComPtr swapChain1; hr = factory2->CreateSwapChainForComposition(device, &swapChainDesc, nullptr, &swapChain1); if (SUCCEEDED(hr)) @@ -239,17 +237,10 @@ RoHelper::RoHelper() mComBaseModule(nullptr), mCoreMessagingModule(nullptr) { - -#ifdef ANGLE_ENABLE_WINDOWS_UWP - mFpWindowsCreateStringReference = &::WindowsCreateStringReference; - mFpRoInitialize = &::RoInitialize; - mFpRoUninitialize = &::RoUninitialize; - mFpWindowsDeleteString = &::WindowsDeleteString; - mFpGetActivationFactory = &::RoGetActivationFactory; - mFpWindowsCompareStringOrdinal = &::WindowsCompareStringOrdinal; - mFpCreateDispatcherQueueController = &::CreateDispatcherQueueController; - mWinRtAvailable = true; -#else + if (!IsWindows10OrGreater()) + { + return; + } mComBaseModule = LoadLibraryA("ComBase.dll"); @@ -303,18 +294,14 @@ RoHelper::RoHelper() return; } - auto result = RoInitialize(RO_INIT_MULTITHREADED); - - if (SUCCEEDED(result) || result == S_FALSE || result == RPC_E_CHANGED_MODE) + if (SUCCEEDED(RoInitialize(RO_INIT_MULTITHREADED))) { mWinRtAvailable = true; } -#endif } RoHelper::~RoHelper() { -#ifndef ANGLE_ENABLE_WINDOWS_UWP if (mWinRtAvailable) { RoUninitialize(); @@ -331,7 +318,6 @@ RoHelper::~RoHelper() FreeLibrary(mComBaseModule); mComBaseModule = nullptr; } -#endif } bool RoHelper::WinRtAvailable() const @@ -341,7 +327,7 @@ bool RoHelper::WinRtAvailable() const bool RoHelper::SupportedWindowsRelease() { - if (!mWinRtAvailable) + if (!IsWindows10OrGreater() || !mWinRtAvailable) { return false; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp index 75ddbd9ea13d..d44e79e68fe5 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp @@ -322,30 +322,26 @@ const VertexFormat *GetVertexFormatInfo_FL_9_3(angle::FormatID vertexFormatID) // GL_UNSIGNED_SHORT -- un-normalized case angle::FormatID::R16_USCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16_USCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16B16_USCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32_FLOAT, - &CopyToFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32_FLOAT, + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16B16A16_USCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyToFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, + &CopyTo32FVertexData); return &info; } @@ -353,25 +349,25 @@ const VertexFormat *GetVertexFormatInfo_FL_9_3(angle::FormatID vertexFormatID) case angle::FormatID::R16_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16B16_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return &info; } case angle::FormatID::R16G16B16A16_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return &info; } @@ -656,25 +652,25 @@ const VertexFormat &GetVertexFormatInfo(angle::FormatID vertexFormatID, case angle::FormatID::R32_SNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32_SNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32B32_SNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32B32A32_SNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } @@ -708,25 +704,25 @@ const VertexFormat &GetVertexFormatInfo(angle::FormatID vertexFormatID, case angle::FormatID::R32_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32B32_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } case angle::FormatID::R32G32B32A32_UNORM: { static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyToFloatVertexData); + &CopyTo32FVertexData); return info; } @@ -811,25 +807,22 @@ const VertexFormat &GetVertexFormatInfo(angle::FormatID vertexFormatID, // GL_INT_2_10_10_10_REV case angle::FormatID::R10G10B10A2_SSCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyXYZ10W2ToXYZWFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, + &CopyXYZ10W2ToXYZW32FVertexData); return info; } case angle::FormatID::R10G10B10A2_SNORM: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyXYZ10W2ToXYZWFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, + &CopyXYZ10W2ToXYZW32FVertexData); return info; } // GL_UNSIGNED_INT_2_10_10_10_REV case angle::FormatID::R10G10B10A2_USCALED: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, - &CopyXYZ10W2ToXYZWFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R32G32B32A32_FLOAT, + &CopyXYZ10W2ToXYZW32FVertexData); return info; } case angle::FormatID::R10G10B10A2_UNORM: @@ -1002,9 +995,8 @@ const VertexFormat &GetVertexFormatInfo(angle::FormatID vertexFormatID, // GL_INT_2_10_10_10_REV case angle::FormatID::R10G10B10A2_SINT: { - static constexpr VertexFormat info( - VERTEX_CONVERT_CPU, DXGI_FORMAT_R16G16B16A16_SINT, - &CopyXYZ10W2ToXYZWFloatVertexData); + static constexpr VertexFormat info(VERTEX_CONVERT_CPU, DXGI_FORMAT_R16G16B16A16_SINT, + &CopyXYZ10W2ToXYZW32FVertexData); return info; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp index 83c86a07b0ce..5ac5f4bfe975 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp @@ -1609,7 +1609,7 @@ void GenerateCaps(ID3D11Device *device, extensions->blendMinMax = true; // https://docs.microsoft.com/en-us/windows/desktop/direct3ddxgi/format-support-for-direct3d-11-0-feature-level-hardware extensions->floatBlend = true; - extensions->framebufferBlitANGLE = GetFramebufferBlitSupport(featureLevel); + extensions->framebufferBlit = GetFramebufferBlitSupport(featureLevel); extensions->framebufferMultisample = GetFramebufferMultisampleSupport(featureLevel); extensions->instancedArraysANGLE = GetInstancingSupport(featureLevel); extensions->instancedArraysEXT = GetInstancingSupport(featureLevel); @@ -2138,12 +2138,10 @@ void MakeValidSize(bool isImage, int *levelOffset) { const DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(format); - bool validFormat = format != DXGI_FORMAT_UNKNOWN; - bool validImage = isImage && validFormat; int upsampleCount = 0; // Don't expand the size of full textures that are at least (blockWidth x blockHeight) already. - if (validImage || *requestWidth < static_cast(dxgiFormatInfo.blockWidth) || + if (isImage || *requestWidth < static_cast(dxgiFormatInfo.blockWidth) || *requestHeight < static_cast(dxgiFormatInfo.blockHeight)) { while (*requestWidth % dxgiFormatInfo.blockWidth != 0 || @@ -2154,7 +2152,7 @@ void MakeValidSize(bool isImage, upsampleCount++; } } - else if (validFormat) + else { if (*requestWidth % dxgiFormatInfo.blockWidth != 0) { @@ -2284,6 +2282,7 @@ bool operator!=(const RasterizerStateKey &a, const RasterizerStateKey &b) HRESULT SetDebugName(ID3D11DeviceChild *resource, const char *name) { +#if defined(_DEBUG) UINT existingDataSize = 0; resource->GetPrivateData(WKPDID_D3DDebugObjectName, &existingDataSize, nullptr); // Don't check the HRESULT- if it failed then that probably just means that no private data @@ -2295,22 +2294,28 @@ HRESULT SetDebugName(ID3D11DeviceChild *resource, const char *name) // a D3D SDK Layers warning. This can occur if, for example, you 'create' two objects // (e.g.Rasterizer States) with identical DESCs on the same device. D3D11 will optimize // these calls and return the same object both times. - static const char *multipleNamesUsed = "MultipleNamesSetByANGLE"; + static const char *multipleNamesUsed = "Multiple names set by ANGLE"; // Remove the existing name - const HRESULT hr = resource->SetPrivateData(WKPDID_D3DDebugObjectName, 0, nullptr); + HRESULT hr = resource->SetPrivateData(WKPDID_D3DDebugObjectName, 0, nullptr); if (FAILED(hr)) { return hr; } - name = multipleNamesUsed; + // Apply the new name + return resource->SetPrivateData(WKPDID_D3DDebugObjectName, + static_cast(strlen(multipleNamesUsed)), + multipleNamesUsed); } - - // Prepend ANGLE_ to separate names from other components in the same process. - const std::string d3dName = std::string("ANGLE_") + name; - return resource->SetPrivateData(WKPDID_D3DDebugObjectName, static_cast(d3dName.size()), - d3dName.c_str()); + else + { + return resource->SetPrivateData(WKPDID_D3DDebugObjectName, + static_cast(strlen(name)), name); + } +#else + return S_OK; +#endif } // Keep this in cpp file where it has visibility of Renderer11.h, otherwise calling diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp index cb33ab27e658..fb65cb4a68c7 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/texture_format_table_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by gen_texture_format_table.py using data from texture_format_data.json // -// Copyright 2015 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -689,7 +689,7 @@ const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &dev case GL_COMPRESSED_RGBA_BPTC_UNORM_EXT: { static constexpr Format info(GL_COMPRESSED_RGBA_BPTC_UNORM_EXT, - angle::FormatID::BC7_RGBA_UNORM_BLOCK, + angle::FormatID::BPTC_RGBA_UNORM_BLOCK, DXGI_FORMAT_BC7_UNORM, DXGI_FORMAT_BC7_UNORM, DXGI_FORMAT_UNKNOWN, @@ -773,7 +773,7 @@ const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &dev case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: { static constexpr Format info(GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT, - angle::FormatID::BC6H_RGB_SFLOAT_BLOCK, + angle::FormatID::BPTC_RGB_SIGNED_FLOAT_BLOCK, DXGI_FORMAT_BC6H_SF16, DXGI_FORMAT_BC6H_SF16, DXGI_FORMAT_UNKNOWN, @@ -787,7 +787,7 @@ const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &dev case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: { static constexpr Format info(GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT, - angle::FormatID::BC6H_RGB_UFLOAT_BLOCK, + angle::FormatID::BPTC_RGB_UNSIGNED_FLOAT_BLOCK, DXGI_FORMAT_BC6H_UF16, DXGI_FORMAT_BC6H_UF16, DXGI_FORMAT_UNKNOWN, @@ -1305,7 +1305,7 @@ const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &dev case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: { static constexpr Format info(GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT, - angle::FormatID::BC7_RGBA_UNORM_SRGB_BLOCK, + angle::FormatID::BPTC_SRGB_ALPHA_UNORM_BLOCK, DXGI_FORMAT_BC7_UNORM_SRGB, DXGI_FORMAT_BC7_UNORM_SRGB, DXGI_FORMAT_UNKNOWN, @@ -2098,20 +2098,6 @@ const Format &Format::Get(GLenum internalFormat, const Renderer11DeviceCaps &dev nullptr); return info; } - case GL_RGB10_UNORM_ANGLEX: - { - static constexpr Format info(GL_RGB10_UNORM_ANGLEX, - angle::FormatID::R10G10B10X2_UNORM, - DXGI_FORMAT_R10G10B10A2_UNORM, - DXGI_FORMAT_R10G10B10A2_UNORM, - DXGI_FORMAT_UNKNOWN, - DXGI_FORMAT_R10G10B10A2_UNORM, - DXGI_FORMAT_UNKNOWN, - DXGI_FORMAT_R10G10B10A2_UNORM, - GL_RGBA16_EXT, - nullptr); - return info; - } case GL_RGB16F: { static constexpr Format info(GL_RGB16F, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.cpp index 99bf8d4631bf..a4987bdfdfdf 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.cpp @@ -358,6 +358,16 @@ gl::GraphicsResetStatus Context9::getResetStatus() return mRenderer->getResetStatus(); } +std::string Context9::getVendorString() const +{ + return mRenderer->getVendorString(); +} + +std::string Context9::getRendererDescription() const +{ + return mRenderer->getRendererDescription(); +} + angle::Result Context9::insertEventMarker(GLsizei length, const char *marker) { mRenderer->getAnnotator()->setMarker(marker); @@ -366,8 +376,7 @@ angle::Result Context9::insertEventMarker(GLsizei length, const char *marker) angle::Result Context9::pushGroupMarker(GLsizei length, const char *marker) { - mRenderer->getAnnotator()->beginEvent(nullptr, angle::EntryPoint::GLPushGroupMarkerEXT, marker, - marker); + mRenderer->getAnnotator()->beginEvent(nullptr, gl::EntryPoint::Begin, marker, marker); mMarkerStack.push(std::string(marker)); return angle::Result::Continue; } @@ -379,8 +388,7 @@ angle::Result Context9::popGroupMarker() { marker = mMarkerStack.top().c_str(); mMarkerStack.pop(); - mRenderer->getAnnotator()->endEvent(nullptr, marker, - angle::EntryPoint::GLPopGroupMarkerEXT); + mRenderer->getAnnotator()->endEvent(nullptr, marker, gl::EntryPoint::Begin); } return angle::Result::Continue; } @@ -475,8 +483,7 @@ angle::Result Context9::getIncompleteTexture(const gl::Context *context, gl::TextureType type, gl::Texture **textureOut) { - return mIncompleteTextures.getIncompleteTexture(context, type, gl::SamplerFormat::Float, - nullptr, textureOut); + return mIncompleteTextures.getIncompleteTexture(context, type, nullptr, textureOut); } void Context9::handleResult(HRESULT hr, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.h index a43a5a842125..ac1cc70ff309 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Context9.h @@ -190,6 +190,10 @@ class Context9 : public ContextD3D // Device loss gl::GraphicsResetStatus getResetStatus() override; + // Vendor and description strings. + std::string getVendorString() const override; + std::string getRendererDescription() const override; + // EXT_debug_marker angle::Result insertEventMarker(GLsizei length, const char *marker) override; angle::Result pushGroupMarker(GLsizei length, const char *marker) override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.cpp index 0522f2467f5c..83c02c943113 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.cpp @@ -14,7 +14,7 @@ namespace rx { void DebugAnnotator9::beginEvent(gl::Context *context, - angle::EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) { @@ -26,7 +26,7 @@ void DebugAnnotator9::beginEvent(gl::Context *context, void DebugAnnotator9::endEvent(gl::Context *context, const char *eventName, - angle::EntryPoint entryPoint) + gl::EntryPoint entryPoint) { angle::LoggingAnnotator::endEvent(context, eventName, entryPoint); D3DPERF_EndEvent(); diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.h index 03438341fe5b..f315f099111a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/DebugAnnotator9.h @@ -19,12 +19,10 @@ class DebugAnnotator9 : public angle::LoggingAnnotator public: DebugAnnotator9() {} void beginEvent(gl::Context *context, - angle::EntryPoint entryPoint, + gl::EntryPoint entryPoint, const char *eventName, const char *eventMessage) override; - void endEvent(gl::Context *context, - const char *eventName, - angle::EntryPoint entryPoint) override; + void endEvent(gl::Context *context, const char *eventName, gl::EntryPoint entryPoint) override; void setMarker(const char *markerName) override; bool getStatus() override; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp index 0155d4e23e4d..96d9f827eca6 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp @@ -52,8 +52,6 @@ #include "libANGLE/renderer/d3d/d3d9/VertexBuffer9.h" #include "libANGLE/renderer/d3d/d3d9/formatutils9.h" #include "libANGLE/renderer/d3d/d3d9/renderer9_utils.h" -#include "libANGLE/renderer/d3d/driver_utils_d3d.h" -#include "libANGLE/renderer/driver_utils.h" #include "libANGLE/trace.h" #if !defined(ANGLE_COMPILE_OPTIMIZATION_LEVEL) @@ -590,6 +588,7 @@ void Renderer9::generateDisplayExtensions(egl::DisplayExtensions *outExtensions) outExtensions->querySurfacePointer = true; outExtensions->windowFixedSize = true; outExtensions->postSubBuffer = true; + outExtensions->deviceQuery = true; outExtensions->image = true; outExtensions->imageBase = true; @@ -734,8 +733,7 @@ egl::Error Renderer9::getD3DTextureInfo(const egl::Config *configuration, EGLint *height, GLsizei *samples, gl::Format *glFormat, - const angle::Format **angleFormat, - UINT *arraySlice) const + const angle::Format **angleFormat) const { IDirect3DTexture9 *texture = nullptr; if (FAILED(d3dTexture->QueryInterface(&texture))) @@ -804,11 +802,6 @@ egl::Error Renderer9::getD3DTextureInfo(const egl::Config *configuration, *angleFormat = &d3dFormatInfo.info(); } - if (arraySlice) - { - *arraySlice = 0; - } - return egl::NoError(); } @@ -3277,32 +3270,8 @@ angle::Result Renderer9::ensureVertexDataManagerInitialized(const gl::Context *c return angle::Result::Continue; } -std::string Renderer9::getVendorString() const -{ - return GetVendorString(getVendorId()); -} - -std::string Renderer9::getVersionString() const -{ - std::ostringstream versionString; - std::string driverName(mAdapterIdentifier.Driver); - if (!driverName.empty()) - { - versionString << mAdapterIdentifier.Driver; - } - else - { - versionString << "D3D9 "; - } - versionString << "-"; - versionString << GetDriverVersionString(mAdapterIdentifier.DriverVersion); - - return versionString.str(); -} - RendererD3D *CreateRenderer9(egl::Display *display) { return new Renderer9(display); } - } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.h index 2a2f37528bfb..742ac8b6755a 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/Renderer9.h @@ -81,8 +81,7 @@ class Renderer9 : public RendererD3D EGLint *height, GLsizei *samples, gl::Format *glFormat, - const angle::Format **angleFormat, - UINT *arraySlice) const override; + const angle::Format **angleFormat) const override; egl::Error validateShareHandle(const egl::Config *config, HANDLE shareHandle, const egl::AttributeMap &attribs) const override; @@ -157,6 +156,7 @@ class Renderer9 : public RendererD3D bool testDeviceResettable() override; VendorID getVendorId() const; + std::string getRendererDescription() const; DeviceIdentifier getAdapterIdentifier() const override; IDirect3DDevice9 *getDevice() { return mDevice; } @@ -407,10 +407,6 @@ class Renderer9 : public RendererD3D void setGlobalDebugAnnotator() override; - std::string getRendererDescription() const override; - std::string getVendorString() const override; - std::string getVersionString() const override; - private: angle::Result drawArraysImpl(const gl::Context *context, gl::PrimitiveMode mode, diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/ShaderCache.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/ShaderCache.h index bd1a4cf2690b..3d35ee5f7780 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/ShaderCache.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/ShaderCache.h @@ -95,7 +95,7 @@ class ShaderCache : angle::NonCopyable return mDevice->CreatePixelShader(function, shader); } - typedef angle::HashMap Map; + typedef std::unordered_map Map; Map mMap; std::mutex mMutex; diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp index e818d637afcf..0f318ef76a2f 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d9/renderer9_utils.cpp @@ -722,7 +722,7 @@ void GenerateCaps(IDirect3D9 *d3d9, // correct blending result in reality. As a result of some regression reports by client app, we // decided to turn floatBlend on for D3D9 extensions->floatBlend = true; - extensions->framebufferBlitANGLE = true; + extensions->framebufferBlit = true; extensions->framebufferMultisample = true; extensions->instancedArraysANGLE = deviceCaps.PixelShaderVersion >= D3DPS_VERSION(3, 0); // D3D9 requires at least one attribute that has a divisor of 0, which isn't required by the EXT diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp b/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp deleted file mode 100644 index 1709f8286880..000000000000 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -// driver_utils_d3d.cpp: Information specific to the D3D driver - -#include "libANGLE/renderer/d3d/driver_utils_d3d.h" - -namespace rx -{ - -std::string GetDriverVersionString(LARGE_INTEGER driverVersion) -{ - std::stringstream versionString; - uint64_t intVersion = driverVersion.QuadPart; - constexpr uint64_t kMask16 = std::numeric_limits::max(); - versionString << ((intVersion >> 48) & kMask16) << "."; - versionString << ((intVersion >> 32) & kMask16) << "."; - versionString << ((intVersion >> 16) & kMask16) << "."; - versionString << (intVersion & kMask16); - return versionString.str(); -} - -} // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.h b/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.h deleted file mode 100644 index 3b217838f92d..000000000000 --- a/gfx/angle/checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -// driver_utils_d3d.h: Information specific to the D3D driver - -#ifndef LIBANGLE_RENDERER_D3D_DRIVER_UTILS_D3D_H_ -#define LIBANGLE_RENDERER_D3D_DRIVER_UTILS_D3D_H_ - -#include "libANGLE/angletypes.h" - -namespace rx -{ - -std::string GetDriverVersionString(LARGE_INTEGER driverVersion); - -} // namespace rx - -#endif // LIBANGLE_RENDERER_D3D_DRIVER_UTILS_D3D_H_ diff --git a/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.cpp b/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.cpp index 20f019a513e3..6468e8e5ad8e 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.cpp @@ -32,7 +32,7 @@ namespace rx namespace { // gen6 -const uint32_t SandyBridge[] = {0x0102, 0x0106, 0x010A, 0x0112, 0x0122, 0x0116, 0x0126}; +const uint32_t SandyBridge[] = {0x0102, 0x0106, 0x010A, 0x0112, 0x0116, 0x0122, 0x0126}; // gen7 const uint32_t IvyBridge[] = {0x0152, 0x0156, 0x015A, 0x0162, 0x0166, 0x016A}; @@ -146,42 +146,29 @@ bool IsKabylake(uint32_t DeviceId) return std::find(std::begin(Kabylake), std::end(Kabylake), DeviceId) != std::end(Kabylake); } -bool Is9thGenIntel(uint32_t DeviceId) -{ - return IsSkylake(DeviceId) || IsBroxton(DeviceId) || IsKabylake(DeviceId); -} - const char *GetVendorString(uint32_t vendorId) { switch (vendorId) { case VENDOR_ID_AMD: - return "AMD"; + return "Advanced Micro Devices"; case VENDOR_ID_ARM: return "ARM"; - case VENDOR_ID_APPLE: - return "Apple"; case VENDOR_ID_BROADCOM: return "Broadcom"; case VENDOR_ID_GOOGLE: return "Google"; case VENDOR_ID_INTEL: return "Intel"; - case VENDOR_ID_MESA: - return "Mesa"; case VENDOR_ID_NVIDIA: return "NVIDIA"; case VENDOR_ID_POWERVR: return "Imagination Technologies"; case VENDOR_ID_QUALCOMM: return "Qualcomm"; - case 0xba5eba11: // Mock vendor ID used for tests. - return "Test"; - case 0: - return "NULL"; default: // TODO(jmadill): More vendor IDs. - UNIMPLEMENTED(); + ASSERT(vendorId == 0xba5eba11); // Mock vendor ID used for tests. return "Unknown"; } } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.h b/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.h index 02f5353fb05f..fb6823e22598 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/driver_utils.h @@ -19,13 +19,11 @@ enum VendorID : uint32_t { VENDOR_ID_UNKNOWN = 0x0, VENDOR_ID_AMD = 0x1002, - VENDOR_ID_APPLE = 0x106B, VENDOR_ID_ARM = 0x13B5, // Broadcom devices won't use PCI, but this is their Vulkan vendor id. VENDOR_ID_BROADCOM = 0x14E4, VENDOR_ID_GOOGLE = 0x1AE0, VENDOR_ID_INTEL = 0x8086, - VENDOR_ID_MESA = 0x10005, VENDOR_ID_NVIDIA = 0x10DE, VENDOR_ID_POWERVR = 0x1010, // This is Qualcomm PCI Vendor ID. @@ -33,7 +31,6 @@ enum VendorID : uint32_t VENDOR_ID_QUALCOMM = 0x5143, VENDOR_ID_SAMSUNG = 0x144D, VENDOR_ID_VMWARE = 0x15AD, - VENDOR_ID_VIVANTE = 0x9999, }; enum AndroidDeviceID : uint32_t @@ -50,11 +47,6 @@ inline bool IsAMD(uint32_t vendorId) return vendorId == VENDOR_ID_AMD; } -inline bool IsApple(uint32_t vendorId) -{ - return vendorId == VENDOR_ID_APPLE; -} - inline bool IsARM(uint32_t vendorId) { return vendorId == VENDOR_ID_ARM; @@ -100,11 +92,6 @@ inline bool IsSamsung(uint32_t vendorId) return vendorId == VENDOR_ID_SAMSUNG; } -inline bool IsVivante(uint32_t vendorId) -{ - return vendorId == VENDOR_ID_VIVANTE; -} - inline bool IsNexus5X(uint32_t vendorId, uint32_t deviceId) { return IsQualcomm(vendorId) && deviceId == ANDROID_DEVICE_ID_NEXUS5X; @@ -152,7 +139,6 @@ bool IsCherryView(uint32_t DeviceId); bool IsSkylake(uint32_t DeviceId); bool IsBroxton(uint32_t DeviceId); bool IsKabylake(uint32_t DeviceId); -bool Is9thGenIntel(uint32_t DeviceId); // Platform helpers inline bool IsWindows() diff --git a/gfx/angle/checkout/src/libANGLE/renderer/load_functions_table_autogen.cpp b/gfx/angle/checkout/src/libANGLE/renderer/load_functions_table_autogen.cpp index 2ca27fae72e6..20e706f7c9bc 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/load_functions_table_autogen.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/load_functions_table_autogen.cpp @@ -1608,30 +1608,6 @@ LoadImageFunctionInfo ETC1_RGB8_OES_to_R8G8B8A8_UNORM(GLenum type) } } -LoadImageFunctionInfo G8_B8R8_2PLANE_420_UNORM_ANGLEX_to_default(GLenum type) -{ - switch (type) - { - case GL_UNSIGNED_BYTE: - return LoadImageFunctionInfo(UnimplementedLoadFunction, true); - default: - UNREACHABLE(); - return LoadImageFunctionInfo(UnreachableLoadFunction, true); - } -} - -LoadImageFunctionInfo G8_B8_R8_3PLANE_420_UNORM_ANGLEX_to_default(GLenum type) -{ - switch (type) - { - case GL_UNSIGNED_BYTE: - return LoadImageFunctionInfo(UnimplementedLoadFunction, true); - default: - UNREACHABLE(); - return LoadImageFunctionInfo(UnreachableLoadFunction, true); - } -} - LoadImageFunctionInfo LUMINANCE_to_R16G16B16A16_FLOAT(GLenum type) { switch (type) @@ -2380,18 +2356,6 @@ LoadImageFunctionInfo RGB10_UNORM_ANGLEX_to_R10G10B10A2_UNORM(GLenum type) } } -LoadImageFunctionInfo RGB10_UNORM_ANGLEX_to_R10G10B10X2_UNORM(GLenum type) -{ - switch (type) - { - case GL_UNSIGNED_INT_2_10_10_10_REV: - return LoadImageFunctionInfo(LoadRGB10A2ToRGB10X2, true); - default: - UNREACHABLE(); - return LoadImageFunctionInfo(UnreachableLoadFunction, true); - } -} - LoadImageFunctionInfo RGB16F_to_R16G16B16A16_FLOAT(GLenum type) { switch (type) @@ -3714,10 +3678,6 @@ LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, FormatID angleFormat) } break; } - case GL_G8_B8R8_2PLANE_420_UNORM_ANGLEX: - return G8_B8R8_2PLANE_420_UNORM_ANGLEX_to_default; - case GL_G8_B8_R8_3PLANE_420_UNORM_ANGLEX: - return G8_B8_R8_3PLANE_420_UNORM_ANGLEX_to_default; case GL_LUMINANCE: { switch (angleFormat) @@ -4155,8 +4115,6 @@ LoadFunctionMap GetLoadFunctionsMap(GLenum internalFormat, FormatID angleFormat) { case FormatID::R10G10B10A2_UNORM: return RGB10_UNORM_ANGLEX_to_R10G10B10A2_UNORM; - case FormatID::R10G10B10X2_UNORM: - return RGB10_UNORM_ANGLEX_to_R10G10B10X2_UNORM; default: break; } diff --git a/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.cpp b/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.cpp index 5823b668cf01..fe10a036e99d 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.cpp +++ b/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.cpp @@ -49,25 +49,6 @@ constexpr std::array kSamplePositions = { 0.375f, 0.875f, 0.5f, 0.0625f, 0.25f, 0.125f, 0.125f, 0.75f, 0.0f, 0.5f, 0.9375f, 0.25f, 0.875f, 0.9375f, 0.0625f, 0.0f}}}}; -struct IncompleteTextureParameters -{ - GLenum sizedInternalFormat; - GLenum format; - GLenum type; - GLubyte clearColor[4]; -}; - -// Note that for gl::SamplerFormat::Shadow, the clearColor datatype needs to be GLushort and as such -// we will reinterpret GLubyte[4] as GLushort[2]. -constexpr angle::PackedEnumMap - kIncompleteTextureParameters = { - {gl::SamplerFormat::Float, {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, {0, 0, 0, 255}}}, - {gl::SamplerFormat::Unsigned, - {GL_RGBA8UI, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, {0, 0, 0, 255}}}, - {gl::SamplerFormat::Signed, {GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE, {0, 0, 0, 127}}}, - {gl::SamplerFormat::Shadow, - {GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, {0, 0, 0, 0}}}}; - void CopyColor(gl::ColorF *color) { // No-op @@ -225,7 +206,6 @@ void SetFloatUniformMatrixFast(unsigned int arrayElementOffset, memcpy(targetData, valueData, matrixSize * count); } - } // anonymous namespace void RotateRectangle(const SurfaceRotation rotation, @@ -568,39 +548,30 @@ void CopyImageCHROMIUM(const uint8_t *sourceData, } // IncompleteTextureSet implementation. -IncompleteTextureSet::IncompleteTextureSet() : mIncompleteTextureBufferAttachment(nullptr) {} +IncompleteTextureSet::IncompleteTextureSet() {} IncompleteTextureSet::~IncompleteTextureSet() {} void IncompleteTextureSet::onDestroy(const gl::Context *context) { // Clear incomplete textures. - for (auto &incompleteTextures : mIncompleteTextures) + for (auto &incompleteTexture : mIncompleteTextures) { - for (auto &incompleteTexture : incompleteTextures) + if (incompleteTexture.get() != nullptr) { - if (incompleteTexture.get() != nullptr) - { - incompleteTexture->onDestroy(context); - incompleteTexture.set(context, nullptr); - } + incompleteTexture->onDestroy(context); + incompleteTexture.set(context, nullptr); } } - if (mIncompleteTextureBufferAttachment != nullptr) - { - mIncompleteTextureBufferAttachment->onDestroy(context); - mIncompleteTextureBufferAttachment = nullptr; - } } angle::Result IncompleteTextureSet::getIncompleteTexture( const gl::Context *context, gl::TextureType type, - gl::SamplerFormat format, MultisampleTextureInitializer *multisampleInitializer, gl::Texture **textureOut) { - *textureOut = mIncompleteTextures[format][type].get(); + *textureOut = mIncompleteTextures[type].get(); if (*textureOut != nullptr) { return angle::Result::Continue; @@ -608,12 +579,11 @@ angle::Result IncompleteTextureSet::getIncompleteTexture( ContextImpl *implFactory = context->getImplementation(); + const GLubyte color[] = {0, 0, 0, 255}; const gl::Extents colorSize(1, 1, 1); gl::PixelUnpackState unpack; unpack.alignment = 1; const gl::Box area(0, 0, 0, 1, 1, 1); - const IncompleteTextureParameters &incompleteTextureParam = - kIncompleteTextureParameters[format]; // If a texture is external use a 2D texture for the incomplete texture gl::TextureType createType = (type == gl::TextureType::External) ? gl::TextureType::_2D : type; @@ -625,34 +595,22 @@ angle::Result IncompleteTextureSet::getIncompleteTexture( // This is a bit of a kludge but is necessary to consume the error. gl::Context *mutableContext = const_cast(context); - if (createType == gl::TextureType::Buffer) + if (createType == gl::TextureType::_2DMultisample) { - constexpr uint32_t kBufferInitData = 0; - mIncompleteTextureBufferAttachment = - new gl::Buffer(implFactory, {std::numeric_limits::max()}); - ANGLE_TRY(mIncompleteTextureBufferAttachment->bufferData( - mutableContext, gl::BufferBinding::Texture, &kBufferInitData, sizeof(kBufferInitData), - gl::BufferUsage::StaticDraw)); - } - else if (createType == gl::TextureType::_2DMultisample) - { - ANGLE_TRY(t->setStorageMultisample(mutableContext, createType, 1, - incompleteTextureParam.sizedInternalFormat, colorSize, - true)); + ANGLE_TRY( + t->setStorageMultisample(mutableContext, createType, 1, GL_RGBA8, colorSize, true)); } else { - ANGLE_TRY(t->setStorage(mutableContext, createType, 1, - incompleteTextureParam.sizedInternalFormat, colorSize)); + ANGLE_TRY(t->setStorage(mutableContext, createType, 1, GL_RGBA8, colorSize)); } if (type == gl::TextureType::CubeMap) { for (gl::TextureTarget face : gl::AllCubeFaceTextureTargets()) { - ANGLE_TRY(t->setSubImage(mutableContext, unpack, nullptr, face, 0, area, - incompleteTextureParam.format, incompleteTextureParam.type, - incompleteTextureParam.clearColor)); + ANGLE_TRY(t->setSubImage(mutableContext, unpack, nullptr, face, 0, area, GL_RGBA, + GL_UNSIGNED_BYTE, color)); } } else if (type == gl::TextureType::_2DMultisample) @@ -660,31 +618,17 @@ angle::Result IncompleteTextureSet::getIncompleteTexture( // Call a specialized clear function to init a multisample texture. ANGLE_TRY(multisampleInitializer->initializeMultisampleTextureToBlack(context, t.get())); } - else if (type == gl::TextureType::Buffer) - { - ANGLE_TRY(t->setBuffer(context, mIncompleteTextureBufferAttachment, - incompleteTextureParam.sizedInternalFormat)); - } else { ANGLE_TRY(t->setSubImage(mutableContext, unpack, nullptr, - gl::NonCubeTextureTypeToTarget(createType), 0, area, - incompleteTextureParam.format, incompleteTextureParam.type, - incompleteTextureParam.clearColor)); - } - - if (format == gl::SamplerFormat::Shadow) - { - // To avoid the undefined spec behavior for shadow samplers with a depth texture, we set the - // compare mode to GL_COMPARE_REF_TO_TEXTURE - ASSERT(!t->hasObservers()); - t->setCompareMode(context, GL_COMPARE_REF_TO_TEXTURE); + gl::NonCubeTextureTypeToTarget(createType), 0, area, GL_RGBA, + GL_UNSIGNED_BYTE, color)); } ANGLE_TRY(t->syncState(context, gl::Command::Other)); - mIncompleteTextures[format][type].set(context, t.release()); - *textureOut = mIncompleteTextures[format][type].get(); + mIncompleteTextures[type].set(context, t.release()); + *textureOut = mIncompleteTextures[type].get(); return angle::Result::Continue; } @@ -1276,130 +1220,4 @@ ResetBaseVertexBaseInstance::~ResetBaseVertexBaseInstance() } } -angle::FormatID ConvertToSRGB(angle::FormatID formatID) -{ - switch (formatID) - { - case angle::FormatID::R8_UNORM: - return angle::FormatID::R8_UNORM_SRGB; - case angle::FormatID::R8G8B8_UNORM: - return angle::FormatID::R8G8B8_UNORM_SRGB; - case angle::FormatID::R8G8B8A8_UNORM: - return angle::FormatID::R8G8B8A8_UNORM_SRGB; - case angle::FormatID::B8G8R8A8_UNORM: - return angle::FormatID::B8G8R8A8_UNORM_SRGB; - case angle::FormatID::BC1_RGB_UNORM_BLOCK: - return angle::FormatID::BC1_RGB_UNORM_SRGB_BLOCK; - case angle::FormatID::BC1_RGBA_UNORM_BLOCK: - return angle::FormatID::BC1_RGBA_UNORM_SRGB_BLOCK; - case angle::FormatID::BC2_RGBA_UNORM_BLOCK: - return angle::FormatID::BC2_RGBA_UNORM_SRGB_BLOCK; - case angle::FormatID::BC3_RGBA_UNORM_BLOCK: - return angle::FormatID::BC3_RGBA_UNORM_SRGB_BLOCK; - case angle::FormatID::BC7_RGBA_UNORM_BLOCK: - return angle::FormatID::BC7_RGBA_UNORM_SRGB_BLOCK; - case angle::FormatID::ETC2_R8G8B8_UNORM_BLOCK: - return angle::FormatID::ETC2_R8G8B8_SRGB_BLOCK; - case angle::FormatID::ETC2_R8G8B8A1_UNORM_BLOCK: - return angle::FormatID::ETC2_R8G8B8A1_SRGB_BLOCK; - case angle::FormatID::ETC2_R8G8B8A8_UNORM_BLOCK: - return angle::FormatID::ETC2_R8G8B8A8_SRGB_BLOCK; - case angle::FormatID::ASTC_4x4_UNORM_BLOCK: - return angle::FormatID::ASTC_4x4_SRGB_BLOCK; - case angle::FormatID::ASTC_5x4_UNORM_BLOCK: - return angle::FormatID::ASTC_5x4_SRGB_BLOCK; - case angle::FormatID::ASTC_5x5_UNORM_BLOCK: - return angle::FormatID::ASTC_5x5_SRGB_BLOCK; - case angle::FormatID::ASTC_6x5_UNORM_BLOCK: - return angle::FormatID::ASTC_6x5_SRGB_BLOCK; - case angle::FormatID::ASTC_6x6_UNORM_BLOCK: - return angle::FormatID::ASTC_6x6_SRGB_BLOCK; - case angle::FormatID::ASTC_8x5_UNORM_BLOCK: - return angle::FormatID::ASTC_8x5_SRGB_BLOCK; - case angle::FormatID::ASTC_8x6_UNORM_BLOCK: - return angle::FormatID::ASTC_8x6_SRGB_BLOCK; - case angle::FormatID::ASTC_8x8_UNORM_BLOCK: - return angle::FormatID::ASTC_8x8_SRGB_BLOCK; - case angle::FormatID::ASTC_10x5_UNORM_BLOCK: - return angle::FormatID::ASTC_10x5_SRGB_BLOCK; - case angle::FormatID::ASTC_10x6_UNORM_BLOCK: - return angle::FormatID::ASTC_10x6_SRGB_BLOCK; - case angle::FormatID::ASTC_10x8_UNORM_BLOCK: - return angle::FormatID::ASTC_10x8_SRGB_BLOCK; - case angle::FormatID::ASTC_10x10_UNORM_BLOCK: - return angle::FormatID::ASTC_10x10_SRGB_BLOCK; - case angle::FormatID::ASTC_12x10_UNORM_BLOCK: - return angle::FormatID::ASTC_12x10_SRGB_BLOCK; - case angle::FormatID::ASTC_12x12_UNORM_BLOCK: - return angle::FormatID::ASTC_12x12_SRGB_BLOCK; - default: - return angle::FormatID::NONE; - } -} - -angle::FormatID ConvertToLinear(angle::FormatID formatID) -{ - switch (formatID) - { - case angle::FormatID::R8_UNORM_SRGB: - return angle::FormatID::R8_UNORM; - case angle::FormatID::R8G8B8_UNORM_SRGB: - return angle::FormatID::R8G8B8_UNORM; - case angle::FormatID::R8G8B8A8_UNORM_SRGB: - return angle::FormatID::R8G8B8A8_UNORM; - case angle::FormatID::B8G8R8A8_UNORM_SRGB: - return angle::FormatID::B8G8R8A8_UNORM; - case angle::FormatID::BC1_RGB_UNORM_SRGB_BLOCK: - return angle::FormatID::BC1_RGB_UNORM_BLOCK; - case angle::FormatID::BC1_RGBA_UNORM_SRGB_BLOCK: - return angle::FormatID::BC1_RGBA_UNORM_BLOCK; - case angle::FormatID::BC2_RGBA_UNORM_SRGB_BLOCK: - return angle::FormatID::BC2_RGBA_UNORM_BLOCK; - case angle::FormatID::BC3_RGBA_UNORM_SRGB_BLOCK: - return angle::FormatID::BC3_RGBA_UNORM_BLOCK; - case angle::FormatID::BC7_RGBA_UNORM_SRGB_BLOCK: - return angle::FormatID::BC7_RGBA_UNORM_BLOCK; - case angle::FormatID::ETC2_R8G8B8_SRGB_BLOCK: - return angle::FormatID::ETC2_R8G8B8_UNORM_BLOCK; - case angle::FormatID::ETC2_R8G8B8A1_SRGB_BLOCK: - return angle::FormatID::ETC2_R8G8B8A1_UNORM_BLOCK; - case angle::FormatID::ETC2_R8G8B8A8_SRGB_BLOCK: - return angle::FormatID::ETC2_R8G8B8A8_UNORM_BLOCK; - case angle::FormatID::ASTC_4x4_SRGB_BLOCK: - return angle::FormatID::ASTC_4x4_UNORM_BLOCK; - case angle::FormatID::ASTC_5x4_SRGB_BLOCK: - return angle::FormatID::ASTC_5x4_UNORM_BLOCK; - case angle::FormatID::ASTC_5x5_SRGB_BLOCK: - return angle::FormatID::ASTC_5x5_UNORM_BLOCK; - case angle::FormatID::ASTC_6x5_SRGB_BLOCK: - return angle::FormatID::ASTC_6x5_UNORM_BLOCK; - case angle::FormatID::ASTC_6x6_SRGB_BLOCK: - return angle::FormatID::ASTC_6x6_UNORM_BLOCK; - case angle::FormatID::ASTC_8x5_SRGB_BLOCK: - return angle::FormatID::ASTC_8x5_UNORM_BLOCK; - case angle::FormatID::ASTC_8x6_SRGB_BLOCK: - return angle::FormatID::ASTC_8x6_UNORM_BLOCK; - case angle::FormatID::ASTC_8x8_SRGB_BLOCK: - return angle::FormatID::ASTC_8x8_UNORM_BLOCK; - case angle::FormatID::ASTC_10x5_SRGB_BLOCK: - return angle::FormatID::ASTC_10x5_UNORM_BLOCK; - case angle::FormatID::ASTC_10x6_SRGB_BLOCK: - return angle::FormatID::ASTC_10x6_UNORM_BLOCK; - case angle::FormatID::ASTC_10x8_SRGB_BLOCK: - return angle::FormatID::ASTC_10x8_UNORM_BLOCK; - case angle::FormatID::ASTC_10x10_SRGB_BLOCK: - return angle::FormatID::ASTC_10x10_UNORM_BLOCK; - case angle::FormatID::ASTC_12x10_SRGB_BLOCK: - return angle::FormatID::ASTC_12x10_UNORM_BLOCK; - case angle::FormatID::ASTC_12x12_SRGB_BLOCK: - return angle::FormatID::ASTC_12x12_UNORM_BLOCK; - default: - return angle::FormatID::NONE; - } -} - -bool IsOverridableLinearFormat(angle::FormatID formatID) -{ - return ConvertToSRGB(formatID) != angle::FormatID::NONE; -} } // namespace rx diff --git a/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.h b/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.h index 2fdfbcc45347..1e717157995c 100644 --- a/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.h +++ b/gfx/angle/checkout/src/libANGLE/renderer/renderer_utils.h @@ -15,7 +15,6 @@ #include #include -#include "GLSLANG/ShaderLang.h" #include "common/angleutils.h" #include "common/utilities.h" #include "libANGLE/angletypes.h" @@ -61,8 +60,6 @@ enum class SurfaceRotation EnumCount = InvalidEnum, }; -using SpecConstUsageBits = angle::PackedEnumBitSet; - void RotateRectangle(const SurfaceRotation rotation, const bool flipY, const int framebufferWidth, @@ -207,15 +204,11 @@ class IncompleteTextureSet final : angle::NonCopyable angle::Result getIncompleteTexture(const gl::Context *context, gl::TextureType type, - gl::SamplerFormat format, MultisampleTextureInitializer *multisampleInitializer, gl::Texture **textureOut); private: - using TextureMapWithSamplerFormat = angle::PackedEnumMap; - - TextureMapWithSamplerFormat mIncompleteTextures; - gl::Buffer *mIncompleteTextureBufferAttachment; + gl::TextureMap mIncompleteTextures; }; // Helpers to set a matrix uniform value based on GLSL or HLSL semantics. @@ -420,9 +413,6 @@ class ResetBaseVertexBaseInstance : angle::NonCopyable bool mResetBaseInstance; }; -angle::FormatID ConvertToSRGB(angle::FormatID formatID); -angle::FormatID ConvertToLinear(angle::FormatID formatID); -bool IsOverridableLinearFormat(angle::FormatID formatID); } // namespace rx // MultiDraw macro patterns diff --git a/gfx/angle/checkout/src/libANGLE/validationEGL.cpp b/gfx/angle/checkout/src/libANGLE/validationEGL.cpp index 15d01d81759a..10e967b085f5 100644 --- a/gfx/angle/checkout/src/libANGLE/validationEGL.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationEGL.cpp @@ -6,7 +6,7 @@ // validationEGL.cpp: Validation functions for generic EGL entry point parameters -#include "libANGLE/validationEGL_autogen.h" +#include "libANGLE/validationEGL.h" #include "common/utilities.h" #include "libANGLE/Config.h" @@ -98,50 +98,43 @@ bool CubeTextureHasUnspecifiedLevel0Face(const gl::Texture *texture) return false; } -bool ValidateStreamAttribute(const ValidationContext *val, - const EGLAttrib attribute, - const EGLAttrib value, - const DisplayExtensions &extensions) +Error ValidateStreamAttribute(const EGLAttrib attribute, + const EGLAttrib value, + const DisplayExtensions &extensions) { switch (attribute) { case EGL_STREAM_STATE_KHR: case EGL_PRODUCER_FRAME_KHR: case EGL_CONSUMER_FRAME_KHR: - val->setError(EGL_BAD_ACCESS, "Attempt to initialize readonly parameter"); - return false; + return EglBadAccess() << "Attempt to initialize readonly parameter"; case EGL_CONSUMER_LATENCY_USEC_KHR: // Technically not in spec but a latency < 0 makes no sense so we check it if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "Latency must be positive"); - return false; + return EglBadParameter() << "Latency must be positive"; } break; case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: if (!extensions.streamConsumerGLTexture) { - val->setError(EGL_BAD_ATTRIBUTE, "Consumer GL extension not enabled"); - return false; + return EglBadAttribute() << "Consumer GL extension not enabled"; } // Again not in spec but it should be positive anyways if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "Timeout must be positive"); - return false; + return EglBadParameter() << "Timeout must be positive"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid stream attribute"); - return false; + return EglBadAttribute() << "Invalid stream attribute"; } - return true; + return NoError(); } -bool ValidateCreateImageMipLevelCommon(const ValidationContext *val, - const gl::Context *context, - const gl::Texture *texture, - EGLAttrib level) +Error ValidateCreateImageMipLevelCommon(gl::Context *context, + const gl::Texture *texture, + EGLAttrib level) { // Note that the spec EGL_create_image spec does not explicitly specify an error // when the level is outside the base/max level range, but it does mention that the @@ -152,25 +145,20 @@ bool ValidateCreateImageMipLevelCommon(const ValidationContext *val, (!texture->isMipmapComplete() || static_cast(level) < effectiveBaseLevel || static_cast(level) > texture->getTextureState().getMipmapMaxLevel())) { - val->setError(EGL_BAD_PARAMETER, "texture must be complete if level is non-zero."); - return false; + return EglBadParameter() << "texture must be complete if level is non-zero."; } if (level == 0 && !texture->isMipmapComplete() && TextureHasNonZeroMipLevelsSpecified(context, texture)) { - val->setError(EGL_BAD_PARAMETER, - "if level is zero and the texture is incomplete, it must " - "have no mip levels specified except zero."); - return false; + return EglBadParameter() << "if level is zero and the texture is incomplete, it must " + "have no mip levels specified except zero."; } - return true; + return NoError(); } -bool ValidateConfigAttribute(const ValidationContext *val, - const Display *display, - EGLAttrib attribute) +Error ValidateConfigAttribute(const Display *display, EGLAttrib attribute) { switch (attribute) { @@ -212,64 +200,53 @@ bool ValidateConfigAttribute(const ValidationContext *val, case EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE: if (!display->getExtensions().surfaceOrientation) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_ANGLE_surface_orientation is not enabled."); - return false; + return EglBadAttribute() << "EGL_ANGLE_surface_orientation is not enabled."; } break; case EGL_COLOR_COMPONENT_TYPE_EXT: if (!display->getExtensions().pixelFormatFloat) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_EXT_pixel_format_float is not enabled."); - return false; + return EglBadAttribute() << "EGL_EXT_pixel_format_float is not enabled."; } break; case EGL_RECORDABLE_ANDROID: if (!display->getExtensions().recordable) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_ANDROID_recordable is not enabled."); - return false; + return EglBadAttribute() << "EGL_ANDROID_recordable is not enabled."; } break; case EGL_FRAMEBUFFER_TARGET_ANDROID: if (!display->getExtensions().framebufferTargetANDROID) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_ANDROID_framebuffer_target is not enabled."); - return false; + return EglBadAttribute() << "EGL_ANDROID_framebuffer_target is not enabled."; } break; case EGL_BIND_TO_TEXTURE_TARGET_ANGLE: if (!display->getExtensions().iosurfaceClientBuffer) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_iosurface_client_buffer is not enabled."); - return false; + return EglBadAttribute() << "EGL_ANGLE_iosurface_client_buffer is not enabled."; } break; case EGL_Y_INVERTED_NOK: if (!display->getExtensions().textureFromPixmapNOK) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_NOK_texture_from_pixmap is not enabled."); - return false; + return EglBadAttribute() << "EGL_NOK_texture_from_pixmap is not enabled."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Unknown attribute."); - return false; + return EglBadAttribute() << "Unknown attribute."; } - return true; + return NoError(); } -bool ValidateConfigAttributeValue(const ValidationContext *val, - const Display *display, - EGLAttrib attribute, - EGLAttrib value) +Error ValidateConfigAttributeValue(const Display *display, EGLAttrib attribute, EGLAttrib value) { switch (attribute) { @@ -283,9 +260,7 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_FALSE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "EGL_bind_to_texture invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() << "EGL_bind_to_texture invalid attribute: " << value; } break; @@ -298,10 +273,8 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_DONT_CARE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_color_buffer_type invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() + << "EGL_color_buffer_type invalid attribute: " << value; } break; @@ -313,10 +286,8 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_FALSE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_native_renderable invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() + << "EGL_native_renderable invalid attribute: " << value; } break; @@ -329,9 +300,7 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_DONT_CARE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "EGL_transparent_type invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() << "EGL_transparent_type invalid attribute: " << value; } break; @@ -343,10 +312,8 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_DONT_CARE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_RECORDABLE_ANDROID invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() + << "EGL_RECORDABLE_ANDROID invalid attribute: " << value; } break; @@ -358,10 +325,8 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, case EGL_DONT_CARE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_COLOR_COMPONENT_TYPE_EXT invalid attribute: 0x%X", - static_cast(value)); - return false; + return EglBadAttribute() + << "EGL_COLOR_COMPONENT_TYPE_EXT invalid attribute: " << value; } break; @@ -369,26 +334,21 @@ bool ValidateConfigAttributeValue(const ValidationContext *val, break; } - return true; + return NoError(); } -bool ValidateConfigAttributes(const ValidationContext *val, - const Display *display, - const AttributeMap &attributes) +Error ValidateConfigAttributes(const Display *display, const AttributeMap &attributes) { for (const auto &attrib : attributes) { - ANGLE_VALIDATION_TRY(ValidateConfigAttribute(val, display, attrib.first)); - ANGLE_VALIDATION_TRY( - ValidateConfigAttributeValue(val, display, attrib.first, attrib.second)); + ANGLE_TRY(ValidateConfigAttribute(display, attrib.first)); + ANGLE_TRY(ValidateConfigAttributeValue(display, attrib.first, attrib.second)); } - return true; + return NoError(); } -bool ValidateColorspaceAttribute(const ValidationContext *val, - const DisplayExtensions &displayExtensions, - EGLAttrib colorSpace) +Error ValidateColorspaceAttribute(const DisplayExtensions &displayExtensions, EGLAttrib colorSpace) { switch (colorSpace) { @@ -399,50 +359,40 @@ bool ValidateColorspaceAttribute(const ValidationContext *val, case EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT: if (!displayExtensions.glColorspaceDisplayP3Linear) { - val->setError(EGL_BAD_ATTRIBUTE, - "EXT_gl_colorspace_display_p3_linear is not available."); - return false; + return EglBadAttribute() << "EXT_gl_colorspace_display_p3_linear is not available."; } break; case EGL_GL_COLORSPACE_DISPLAY_P3_EXT: if (!displayExtensions.glColorspaceDisplayP3) { - val->setError(EGL_BAD_ATTRIBUTE, "EXT_gl_colorspace_display_p3 is not available."); - return false; + return EglBadAttribute() << "EXT_gl_colorspace_display_p3 is not available."; } break; case EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT: if (!displayExtensions.glColorspaceDisplayP3Passthrough) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_EXT_gl_colorspace_display_p3_passthrough is not available."); - return false; + return EglBadAttribute() + << "EGL_EXT_gl_colorspace_display_p3_passthrough is not available."; } break; case EGL_GL_COLORSPACE_SCRGB_EXT: if (!displayExtensions.glColorspaceScrgb) { - val->setError(EGL_BAD_ATTRIBUTE, "EXT_gl_colorspace_scrgb is not available."); - return false; + return EglBadAttribute() << "EXT_gl_colorspace_scrgb is not available."; } break; case EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT: if (!displayExtensions.glColorspaceScrgbLinear) { - val->setError(EGL_BAD_ATTRIBUTE, - "EXT_gl_colorspace_scrgb_linear is not available."); - return false; + return EglBadAttribute() << "EXT_gl_colorspace_scrgb_linear is not available."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } - return true; + return NoError(); } -bool ValidatePlatformType(const ValidationContext *val, - const ClientExtensions &clientExtensions, - EGLAttrib platformType) +Error ValidatePlatformType(const ClientExtensions &clientExtensions, EGLAttrib platformType) { switch (platformType) { @@ -453,8 +403,7 @@ bool ValidatePlatformType(const ValidationContext *val, case EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE: if (!clientExtensions.platformANGLED3D) { - val->setError(EGL_BAD_ATTRIBUTE, "Direct3D platform is unsupported."); - return false; + return EglBadAttribute() << "Direct3D platform is unsupported."; } break; @@ -462,49 +411,42 @@ bool ValidatePlatformType(const ValidationContext *val, case EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE: if (!clientExtensions.platformANGLEOpenGL) { - val->setError(EGL_BAD_ATTRIBUTE, "OpenGL platform is unsupported."); - return false; + return EglBadAttribute() << "OpenGL platform is unsupported."; } break; case EGL_PLATFORM_ANGLE_TYPE_NULL_ANGLE: if (!clientExtensions.platformANGLENULL) { - val->setError(EGL_BAD_ATTRIBUTE, - "Display type EGL_PLATFORM_ANGLE_TYPE_NULL_ANGLE " - "requires EGL_ANGLE_platform_angle_null."); - return false; + return EglBadAttribute() << "Display type EGL_PLATFORM_ANGLE_TYPE_NULL_ANGLE " + "requires EGL_ANGLE_platform_angle_null."; } break; case EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE: if (!clientExtensions.platformANGLEVulkan) { - val->setError(EGL_BAD_ATTRIBUTE, "Vulkan platform is unsupported."); - return false; + return EglBadAttribute() << "Vulkan platform is unsupported."; } break; case EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE: if (!clientExtensions.platformANGLEMetal) { - val->setError(EGL_BAD_ATTRIBUTE, "Metal platform is unsupported."); - return false; + return EglBadAttribute() << "Metal platform is unsupported."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Unknown platform type."); - return false; + return EglBadAttribute() << "Unknown platform type."; } - return true; + return NoError(); } -bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, - EGLenum platform, - const void *native_display, - const AttributeMap &attribMap) +Error ValidateGetPlatformDisplayCommon(EGLenum platform, + void *native_display, + const AttributeMap &attribMap) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); @@ -513,20 +455,17 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_PLATFORM_ANGLE_ANGLE: if (!clientExtensions.platformANGLE) { - val->setError(EGL_BAD_PARAMETER, "Platform ANGLE extension is not active"); - return false; + return EglBadParameter() << "Platform ANGLE extension is not active"; } break; case EGL_PLATFORM_DEVICE_EXT: if (!clientExtensions.platformDevice) { - val->setError(EGL_BAD_PARAMETER, "Platform Device extension is not active"); - return false; + return EglBadParameter() << "Platform Device extension is not active"; } break; default: - val->setError(EGL_BAD_CONFIG, "Bad platform type."); - return false; + return EglBadConfig() << "Bad platform type."; } if (platform == EGL_PLATFORM_ANGLE_ANGLE) @@ -550,7 +489,7 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, { case EGL_PLATFORM_ANGLE_TYPE_ANGLE: { - ANGLE_VALIDATION_TRY(ValidatePlatformType(val, clientExtensions, value)); + ANGLE_TRY(ValidatePlatformType(clientExtensions, value)); platformType = value; break; } @@ -576,8 +515,7 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_FALSE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid automatic trim attribute"); - return false; + return EglBadAttribute() << "Invalid automatic trim attribute"; } enableAutoTrimSpecified = true; break; @@ -586,9 +524,8 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, if (!clientExtensions.platformANGLED3D || !clientExtensions.platformANGLED3D11ON12) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE extension not active."); - return false; + return EglBadAttribute() + << "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE extension not active."; } switch (value) @@ -597,8 +534,7 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_FALSE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid D3D11on12 attribute"); - return false; + return EglBadAttribute() << "Invalid D3D11on12 attribute"; } enableD3D11on12 = true; break; @@ -606,9 +542,8 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE: if (!clientExtensions.experimentalPresentPath) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_experimental_present_path extension not active"); - return false; + return EglBadAttribute() + << "EGL_ANGLE_experimental_present_path extension not active"; } switch (value) @@ -617,9 +552,8 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_EXPERIMENTAL_PRESENT_PATH_COPY_ANGLE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Invalid value for EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE"); - return false; + return EglBadAttribute() + << "Invalid value for EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE"; } presentPathSpecified = true; break; @@ -635,38 +569,31 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_REFERENCE_ANGLE: if (!clientExtensions.platformANGLED3D) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_platform_angle_d3d is not supported"); - return false; + return EglBadAttribute() + << "EGL_ANGLE_platform_angle_d3d is not supported"; } break; case EGL_PLATFORM_ANGLE_DEVICE_TYPE_EGL_ANGLE: if (!clientExtensions.platformANGLEDeviceTypeEGLANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_platform_angle_device_type_" - "egl_angle is not supported"); - return false; + return EglBadAttribute() << "EGL_ANGLE_platform_angle_device_type_" + "egl_angle is not supported"; } break; case EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE: if (!clientExtensions.platformANGLEDeviceTypeSwiftShader) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_platform_angle_device_type_" - "swiftshader is not supported"); - return false; + return EglBadAttribute() << "EGL_ANGLE_platform_angle_device_type_" + "swiftshader is not supported"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Invalid value for " - "EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE " - "attrib"); - return false; + return EglBadAttribute() << "Invalid value for " + "EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE " + "attrib"; } deviceType = value; break; @@ -674,17 +601,13 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_PLATFORM_ANGLE_DEBUG_LAYERS_ENABLED_ANGLE: if (!clientExtensions.platformANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_platform_angle extension not active"); - return false; + return EglBadAttribute() << "EGL_ANGLE_platform_angle extension not active"; } if (value != EGL_TRUE && value != EGL_FALSE && value != EGL_DONT_CARE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_DEBUG_LAYERS_ENABLED_ANGLE " - "must be EGL_TRUE, EGL_FALSE, or " - "EGL_DONT_CARE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_DEBUG_LAYERS_ENABLED_ANGLE " + "must be EGL_TRUE, EGL_FALSE, or " + "EGL_DONT_CARE."; } break; @@ -698,10 +621,8 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_PLATFORM_ANGLE_CONTEXT_VIRTUALIZATION_ANGLE: if (!clientExtensions.platformANGLEContextVirtualization) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_platform_angle_context_" - "virtualization extension not active"); - return false; + return EglBadAttribute() << "EGL_ANGLE_platform_angle_context_" + "virtualization extension not active"; } switch (value) @@ -712,11 +633,9 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Invalid value for " - "EGL_PLATFORM_ANGLE_CONTEXT_VIRTUALIZATION_" - "ANGLE attrib"); - return false; + return EglBadAttribute() << "Invalid value for " + "EGL_PLATFORM_ANGLE_CONTEXT_VIRTUALIZATION_" + "ANGLE attrib"; } break; @@ -733,11 +652,10 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_TRUE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Invalid value for " - "EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_" - "EAGL_ANGLE attrib"); - return false; + return EglBadAttribute() + << "Invalid value for " + "EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_" + "EAGL_ANGLE attrib"; } break; case EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_CGL_ANGLE: @@ -749,11 +667,10 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, case EGL_TRUE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Invalid value for " - "EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_" - "CGL_ANGLE attrib"); - return false; + return EglBadAttribute() + << "Invalid value for " + "EGL_PLATFORM_ANGLE_DEVICE_CONTEXT_VOLATILE_" + "CGL_ANGLE attrib"; } break; default: @@ -763,79 +680,64 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, if (!majorVersion.valid() && minorVersion.valid()) { - val->setError(EGL_BAD_ATTRIBUTE, - "Must specify major version if you specify a minor version."); - return false; + return EglBadAttribute() + << "Must specify major version if you specify a minor version."; } if (deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE && platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE requires a " - "device type of EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE requires a " + "device type of EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."; } if (enableAutoTrimSpecified && platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE " - "requires a device type of " - "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE " + "requires a device type of " + "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."; } if (enableD3D11on12) { if (platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE " - "requires a platform type of " - "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE " + "requires a platform type of " + "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."; } if (deviceType.valid() && deviceType != EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE && deviceType != EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE requires a device " - "type of EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE " - "or EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE"); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE requires a device " + "type of EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE " + "or EGL_PLATFORM_ANGLE_DEVICE_TYPE_D3D_WARP_ANGLE"; } } if (presentPathSpecified && platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE requires a " - "device type of EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."); - return false; + return EglBadAttribute() << "EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE requires a " + "device type of EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."; } if (luidSpecified) { if (platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and " - "EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE " - "require a platform type of " - "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE and " + "EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE " + "require a platform type of " + "EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE."; } if (attribMap.get(EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE, 0) == 0 && attribMap.get(EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE, 0) == 0) { - val->setError(EGL_BAD_ATTRIBUTE, - "If either EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE " - "and/or EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE are " - "specified, at least one must non-zero."); - return false; + return EglBadAttribute() << "If either EGL_PLATFORM_ANGLE_D3D_LUID_HIGH_ANGLE " + "and/or EGL_PLATFORM_ANGLE_D3D_LUID_LOW_ANGLE are " + "specified, at least one must non-zero."; } } @@ -848,21 +750,19 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, if (platformType != EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE && platformType != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "This device type requires a " - "platform type of EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE or " - "EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE."); - return false; + return EglBadAttribute() + << "This device type requires a " + "platform type of EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE or " + "EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE."; } break; case EGL_PLATFORM_ANGLE_DEVICE_TYPE_SWIFTSHADER_ANGLE: if (platformType != EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "This device type requires a " - "platform type of EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE."); - return false; + return EglBadAttribute() + << "This device type requires a " + "platform type of EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE."; } break; @@ -876,31 +776,25 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, if ((majorVersion.valid() && majorVersion.value() != 1) || (minorVersion.valid() && minorVersion.value() != 0)) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE currently " - "only supports Vulkan 1.0."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE currently " + "only supports Vulkan 1.0."; } } if (eglHandle.valid() && platformType != EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE && platformType != EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE requires a " - "device type of EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE."); - return false; + return EglBadAttribute() << "EGL_PLATFORM_ANGLE_EGL_HANDLE_ANGLE requires a " + "device type of EGL_PLATFORM_ANGLE_TYPE_OPENGLES_ANGLE."; } } else if (platform == EGL_PLATFORM_DEVICE_EXT) { - const Device *eglDevice = static_cast(native_display); + Device *eglDevice = static_cast(native_display); if (eglDevice == nullptr || !Device::IsValidDevice(eglDevice)) { - val->setError(EGL_BAD_ATTRIBUTE, - "native_display should be a valid EGL device if " - "platform equals EGL_PLATFORM_DEVICE_EXT"); - return false; + return EglBadAttribute() << "native_display should be a valid EGL device if " + "platform equals EGL_PLATFORM_DEVICE_EXT"; } } else @@ -912,82 +806,71 @@ bool ValidateGetPlatformDisplayCommon(const ValidationContext *val, { if (!clientExtensions.featureControlANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_ANGLE_feature_control is not supported"); - return false; + return EglBadAttribute() << "EGL_ANGLE_feature_control is not supported"; } else if (attribMap.get(EGL_FEATURE_OVERRIDES_ENABLED_ANGLE, 0) == 0) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_FEATURE_OVERRIDES_ENABLED_ANGLE must be a valid pointer"); - return false; + return EglBadAttribute() + << "EGL_FEATURE_OVERRIDES_ENABLED_ANGLE must be a valid pointer"; } } if (attribMap.contains(EGL_FEATURE_OVERRIDES_DISABLED_ANGLE)) { if (!clientExtensions.featureControlANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_ANGLE_feature_control is not supported"); - return false; + return EglBadAttribute() << "EGL_ANGLE_feature_control is not supported"; } else if (attribMap.get(EGL_FEATURE_OVERRIDES_DISABLED_ANGLE, 0) == 0) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_FEATURE_OVERRIDES_DISABLED_ANGLE must be a valid pointer"); - return false; + return EglBadAttribute() + << "EGL_FEATURE_OVERRIDES_DISABLED_ANGLE must be a valid pointer"; } } - return true; + return NoError(); } -bool ValidateStream(const ValidationContext *val, const Display *display, const Stream *stream) +Error ValidateStream(const Display *display, const Stream *stream) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.stream) { - val->setError(EGL_BAD_ACCESS, "Stream extension not active"); - return false; + return EglBadAccess() << "Stream extension not active"; } if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) { - val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); - return false; + return EglBadStream() << "Invalid stream"; } - return true; + return NoError(); } -bool ValidateLabeledObject(const ValidationContext *val, - const Display *display, - ObjectType objectType, - EGLObjectKHR object, - LabeledObject **outLabeledObject) +Error ValidateLabeledObject(Thread *thread, + const Display *display, + ObjectType objectType, + EGLObjectKHR object, + LabeledObject **outLabeledObject) { switch (objectType) { case ObjectType::Context: { gl::Context *context = static_cast(object); - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); *outLabeledObject = context; break; } case ObjectType::Display: { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (display != object) { - if (val) - { - val->setError(EGL_BAD_PARAMETER, - "when object type is EGL_OBJECT_DISPLAY_KHR, the " - "object must be the same as the display."); - } - return false; + return EglBadParameter() << "when object type is EGL_OBJECT_DISPLAY_KHR, the " + "object must be the same as the display."; } *outLabeledObject = static_cast(object); @@ -997,7 +880,7 @@ bool ValidateLabeledObject(const ValidationContext *val, case ObjectType::Image: { Image *image = static_cast(object); - ANGLE_VALIDATION_TRY(ValidateImage(val, display, image)); + ANGLE_TRY(ValidateImage(display, image)); *outLabeledObject = image; break; } @@ -1005,7 +888,7 @@ bool ValidateLabeledObject(const ValidationContext *val, case ObjectType::Stream: { Stream *stream = static_cast(object); - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); *outLabeledObject = stream; break; } @@ -1013,7 +896,7 @@ bool ValidateLabeledObject(const ValidationContext *val, case ObjectType::Surface: { Surface *surface = static_cast(object); - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); *outLabeledObject = surface; break; } @@ -1021,51 +904,38 @@ bool ValidateLabeledObject(const ValidationContext *val, case ObjectType::Sync: { Sync *sync = static_cast(object); - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); + ANGLE_TRY(ValidateSync(display, sync)); *outLabeledObject = sync; break; } case ObjectType::Thread: { - ASSERT(val); - *outLabeledObject = val->eglThread; + *outLabeledObject = thread; break; } default: - if (val) - { - val->setError(EGL_BAD_PARAMETER, "unknown object type."); - } - return false; + return EglBadParameter() << "unknown object type."; } - return true; + return NoError(); } // This is a common sub-check of Display status that's shared by multiple functions -bool ValidateDisplayPointer(const ValidationContext *val, const Display *display) +Error ValidateDisplayPointer(const Display *display) { if (display == EGL_NO_DISPLAY) { - if (val) - { - val->setError(EGL_BAD_DISPLAY, "display is EGL_NO_DISPLAY."); - } - return false; + return EglBadDisplay() << "display is EGL_NO_DISPLAY."; } if (!Display::isValidDisplay(display)) { - if (val) - { - val->setError(EGL_BAD_DISPLAY, "display is not a valid display."); - } - return false; + return EglBadDisplay() << "display is not a valid display."; } - return true; + return NoError(); } bool ValidCompositorTimingName(CompositorTiming name) @@ -1102,442 +972,98 @@ bool ValidTimestampType(Timestamp timestamp) } } -bool ValidateCompatibleSurface(const ValidationContext *val, - const Display *display, - const gl::Context *context, - const Surface *surface) -{ - const Config *contextConfig = context->getConfig(); - const Config *surfaceConfig = surface->getConfig(); - - // Surface compatible with client API - only OPENGL_ES supported - switch (context->getClientMajorVersion()) - { - case 1: - if (!(surfaceConfig->renderableType & EGL_OPENGL_ES_BIT)) - { - val->setError(EGL_BAD_MATCH, "Surface not compatible with OpenGL ES 1.x."); - return false; - } - break; - case 2: - if (!(surfaceConfig->renderableType & EGL_OPENGL_ES2_BIT)) - { - val->setError(EGL_BAD_MATCH, "Surface not compatible with OpenGL ES 2.x."); - return false; - } - break; - case 3: - if (!(surfaceConfig->renderableType & (EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT))) - { - val->setError(EGL_BAD_MATCH, "Surface not compatible with OpenGL ES 3.x."); - return false; - } - break; - default: - val->setError(EGL_BAD_MATCH, "Surface not compatible with Context API."); - return false; - } - - // EGL KHR no config context - if (context->getConfig() == EGL_NO_CONFIG_KHR) - { - const DisplayExtensions &displayExtensions = display->getExtensions(); - if (displayExtensions.noConfigContext) - { - return true; - } - val->setError(EGL_BAD_MATCH, "Context with no config is not supported."); - return false; - } - - if (!surface->flexibleSurfaceCompatibilityRequested()) - { - // Config compatibility is defined in section 2.2 of the EGL 1.5 spec - - bool colorBufferCompat = surfaceConfig->colorBufferType == contextConfig->colorBufferType; - if (!colorBufferCompat) - { - val->setError(EGL_BAD_MATCH, "Color buffer types are not compatible."); - return false; - } - - bool colorCompat = surfaceConfig->redSize == contextConfig->redSize && - surfaceConfig->greenSize == contextConfig->greenSize && - surfaceConfig->blueSize == contextConfig->blueSize && - surfaceConfig->alphaSize == contextConfig->alphaSize && - surfaceConfig->luminanceSize == contextConfig->luminanceSize; - if (!colorCompat) - { - val->setError(EGL_BAD_MATCH, "Color buffer sizes are not compatible."); - return false; - } - - bool componentTypeCompat = - surfaceConfig->colorComponentType == contextConfig->colorComponentType; - if (!componentTypeCompat) - { - val->setError(EGL_BAD_MATCH, "Color buffer component types are not compatible."); - return false; - } - - bool dsCompat = surfaceConfig->depthSize == contextConfig->depthSize && - surfaceConfig->stencilSize == contextConfig->stencilSize; - if (!dsCompat) - { - val->setError(EGL_BAD_MATCH, "Depth-stencil buffer types are not compatible."); - return false; - } - } - - bool surfaceTypeCompat = (surfaceConfig->surfaceType & contextConfig->surfaceType) != 0; - if (!surfaceTypeCompat) - { - val->setError(EGL_BAD_MATCH, "Surface type is not compatible."); - return false; - } - - return true; -} - -bool ValidateCreateSyncBase(const ValidationContext *val, - const Display *display, - EGLenum type, - const AttributeMap &attribs, - bool isExt) -{ - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - - gl::Context *currentContext = val->eglThread->getContext(); - egl::Display *currentDisplay = currentContext ? currentContext->getDisplay() : nullptr; - - switch (type) - { - case EGL_SYNC_FENCE_KHR: - if (!attribs.isEmpty()) - { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; - } - - if (!display->getExtensions().fenceSync) - { - val->setError(EGL_BAD_MATCH, "EGL_KHR_fence_sync extension is not available"); - return false; - } - - if (display != currentDisplay) - { - val->setError(EGL_BAD_MATCH, - "CreateSync can only be called on the current display"); - return false; - } - - ANGLE_VALIDATION_TRY(ValidateContext(val, currentDisplay, currentContext)); - - if (!currentContext->getExtensions().eglSyncOES) - { - val->setError(EGL_BAD_MATCH, - "EGL_SYNC_FENCE_KHR cannot be used without " - "GL_OES_EGL_sync support."); - return false; - } - break; - - case EGL_SYNC_NATIVE_FENCE_ANDROID: - if (!display->getExtensions().fenceSync) - { - val->setError(EGL_BAD_MATCH, "EGL_KHR_fence_sync extension is not available"); - return false; - } - - if (!display->getExtensions().nativeFenceSyncANDROID) - { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_native_fence_sync extension is not available."); - return false; - } - - if (display != currentDisplay) - { - val->setError(EGL_BAD_MATCH, - "CreateSync can only be called on the current display"); - return false; - } - - ANGLE_VALIDATION_TRY(ValidateContext(val, currentDisplay, currentContext)); - - if (!currentContext->getExtensions().eglSyncOES) - { - val->setError(EGL_BAD_MATCH, - "EGL_SYNC_FENCE_KHR cannot be used without " - "GL_OES_EGL_sync support."); - return false; - } - - for (const auto &attributeIter : attribs) - { - EGLAttrib attribute = attributeIter.first; - - switch (attribute) - { - case EGL_SYNC_NATIVE_FENCE_FD_ANDROID: - break; - - default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; - } - } - break; - - case EGL_SYNC_REUSABLE_KHR: - if (!attribs.isEmpty()) - { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; - } - - if (!display->getExtensions().reusableSyncKHR) - { - val->setError(EGL_BAD_MATCH, "EGL_KHR_reusable_sync extension is not available."); - return false; - } - break; - - default: - if (isExt) - { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid type parameter"); - return false; - } - else - { - val->setError(EGL_BAD_PARAMETER, "Invalid type parameter"); - return false; - } - } - - return true; -} - -bool ValidateGetSyncAttribBase(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLint attribute) -{ - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); - - switch (attribute) - { - case EGL_SYNC_CONDITION_KHR: - switch (sync->getType()) - { - case EGL_SYNC_FENCE_KHR: - case EGL_SYNC_NATIVE_FENCE_ANDROID: - break; - - default: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_SYNC_CONDITION_KHR is not valid for this sync type."); - return false; - } - break; - - // The following attributes are accepted by all types - case EGL_SYNC_TYPE_KHR: - case EGL_SYNC_STATUS_KHR: - break; - - default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; - } - - return true; -} - -bool ValidateQueryDisplayAttribBase(const ValidationContext *val, - const Display *display, - const EGLint attribute) -{ - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - - switch (attribute) - { - case EGL_DEVICE_EXT: - if (!Display::GetClientExtensions().deviceQueryEXT) - { - val->setError(EGL_BAD_DISPLAY, "EGL_EXT_device_query extension is not available."); - return false; - } - break; - - case EGL_FEATURE_COUNT_ANGLE: - if (!Display::GetClientExtensions().featureControlANGLE) - { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANGLE_feature_control extension is not available."); - return false; - } - break; - - default: - val->setError(EGL_BAD_ATTRIBUTE, "attribute is not valid."); - return false; - } - - return true; -} } // anonymous namespace -void ValidationContext::setError(EGLint error) const +Error ValidateDisplay(const Display *display) { - eglThread->setError(error, entryPoint, labeledObject, nullptr); -} - -void ValidationContext::setError(EGLint error, const char *message...) const -{ - ASSERT(message); - - constexpr uint32_t kBufferSize = 1000; - char buffer[kBufferSize]; - - va_list args; - va_start(args, message); - vsnprintf(buffer, kBufferSize, message, args); - - eglThread->setError(error, entryPoint, labeledObject, buffer); -} - -bool ValidateDisplay(const ValidationContext *val, const Display *display) -{ - ANGLE_VALIDATION_TRY(ValidateDisplayPointer(val, display)); + ANGLE_TRY(ValidateDisplayPointer(display)); if (!display->isInitialized()) { - if (val) - { - val->setError(EGL_NOT_INITIALIZED, "display is not initialized."); - } - return false; + return EglNotInitialized() << "display is not initialized."; } if (display->isDeviceLost()) { - if (val) - { - val->setError(EGL_CONTEXT_LOST, "display had a context loss"); - } - return false; + return EglContextLost() << "display had a context loss"; } - return true; + return NoError(); } -bool ValidateSurface(const ValidationContext *val, const Display *display, const Surface *surface) +Error ValidateSurface(const Display *display, const Surface *surface) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->isValidSurface(surface)) { - if (val) - { - val->setError(EGL_BAD_SURFACE); - } - return false; + return EglBadSurface(); } - return true; + return NoError(); } -bool ValidateConfig(const ValidationContext *val, const Display *display, const Config *config) +Error ValidateConfig(const Display *display, const Config *config) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->isValidConfig(config)) { - if (val) - { - val->setError(EGL_BAD_CONFIG); - } - return false; + return EglBadConfig(); } - return true; + return NoError(); } -bool ValidateContext(const ValidationContext *val, - const Display *display, - const gl::Context *context) +Error ValidateContext(const Display *display, const gl::Context *context) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->isValidContext(context)) { - if (val) - { - val->setError(EGL_BAD_CONTEXT); - } - return false; + return EglBadContext(); } - return true; + return NoError(); } -bool ValidateImage(const ValidationContext *val, const Display *display, const Image *image) +Error ValidateImage(const Display *display, const Image *image) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->isValidImage(image)) { - if (val) - { - val->setError(EGL_BAD_PARAMETER, "image is not valid."); - } - return false; + return EglBadParameter() << "image is not valid."; } - return true; + return NoError(); } -bool ValidateDevice(const ValidationContext *val, const Device *device) +Error ValidateDevice(const Device *device) { if (device == EGL_NO_DEVICE_EXT) { - if (val) - { - val->setError(EGL_BAD_ACCESS, "device is EGL_NO_DEVICE."); - } - return false; + return EglBadAccess() << "device is EGL_NO_DEVICE."; } if (!Device::IsValidDevice(device)) { - if (val) - { - val->setError(EGL_BAD_ACCESS, "device is not valid."); - } - return false; + return EglBadAccess() << "device is not valid."; } - return true; + return NoError(); } -bool ValidateSync(const ValidationContext *val, const Display *display, const Sync *sync) +Error ValidateSync(const Display *display, const Sync *sync) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->isValidSync(sync)) { - if (val) - { - val->setError(EGL_BAD_PARAMETER, "sync object is not valid."); - } - return false; + return EglBadParameter() << "sync object is not valid."; } - return true; + return NoError(); } const Thread *GetThreadIfValid(const Thread *thread) @@ -1548,37 +1074,72 @@ const Thread *GetThreadIfValid(const Thread *thread) const Display *GetDisplayIfValid(const Display *display) { - return ValidateDisplay(nullptr, display) ? display : nullptr; + if (ValidateDisplay(display).isError()) + { + return nullptr; + } + + return display; } const Surface *GetSurfaceIfValid(const Display *display, const Surface *surface) { - return ValidateSurface(nullptr, display, surface) ? surface : nullptr; + if (ValidateSurface(display, surface).isError()) + { + return nullptr; + } + + return surface; } const Image *GetImageIfValid(const Display *display, const Image *image) { - return ValidateImage(nullptr, display, image) ? image : nullptr; + if (ValidateImage(display, image).isError()) + { + return nullptr; + } + + return image; } const Stream *GetStreamIfValid(const Display *display, const Stream *stream) { - return ValidateStream(nullptr, display, stream) ? stream : nullptr; + if (ValidateStream(display, stream).isError()) + { + return nullptr; + } + + return stream; } const gl::Context *GetContextIfValid(const Display *display, const gl::Context *context) { - return ValidateContext(nullptr, display, context) ? context : nullptr; + if (ValidateContext(display, context).isError()) + { + return nullptr; + } + + return context; } const Device *GetDeviceIfValid(const Device *device) { - return ValidateDevice(nullptr, device) ? device : nullptr; + if (ValidateDevice(device).isError()) + { + return nullptr; + } + + return device; } const Sync *GetSyncIfValid(const Display *display, const Sync *sync) { - return ValidateSync(nullptr, display, sync) ? sync : nullptr; + if (ValidateSync(display, sync).isError()) + { + return nullptr; + } + + return sync; } LabeledObject *GetLabeledObjectIfValid(Thread *thread, @@ -1586,51 +1147,41 @@ LabeledObject *GetLabeledObjectIfValid(Thread *thread, ObjectType objectType, EGLObjectKHR object) { - if (objectType == ObjectType::Thread) - { - return thread; - } - LabeledObject *labeledObject = nullptr; - if (ValidateLabeledObject(nullptr, display, objectType, object, &labeledObject)) + if (ValidateLabeledObject(thread, display, objectType, object, &labeledObject).isError()) { - return labeledObject; + return nullptr; } - return nullptr; + return labeledObject; } -bool ValidateInitialize(const ValidationContext *val, - const Display *display, - const EGLint *major, - const EGLint *minor) +Error ValidateInitialize(const Display *display) { - return ValidateDisplayPointer(val, display); + return ValidateDisplayPointer(display); } -bool ValidateTerminate(const ValidationContext *val, const Display *display) +Error ValidateTerminate(const Display *display) { - return ValidateDisplayPointer(val, display); + return ValidateDisplayPointer(display); } -bool ValidateCreateContext(const ValidationContext *val, - const Display *display, - const Config *configuration, - const gl::Context *shareContext, - const AttributeMap &attributes) +Error ValidateCreateContext(Display *display, + Config *configuration, + gl::Context *shareContext, + const AttributeMap &attributes) { if (configuration) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, configuration)); + ANGLE_TRY(ValidateConfig(display, configuration)); } else { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.noConfigContext) { - val->setError(EGL_BAD_CONFIG); - return false; + return EglBadConfig(); } } @@ -1664,33 +1215,28 @@ bool ValidateCreateContext(const ValidationContext *val, case EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR: // Only valid for OpenGL (non-ES) contexts - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); case EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT: if (!display->getExtensions().createContextRobustness) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR: - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR is not" - " valid for GLES with EGL 1.4 and KHR_create_context. Use" - " EXT_create_context_robustness."); - return false; + return EglBadAttribute() + << "EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR is not" + << " valid for GLES with EGL 1.4 and KHR_create_context. Use" + << " EXT_create_context_robustness."; case EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT: if (!display->getExtensions().createContextRobustness) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if (value == EGL_LOSE_CONTEXT_ON_RESET_EXT) { @@ -1698,222 +1244,182 @@ bool ValidateCreateContext(const ValidationContext *val, } else if (value != EGL_NO_RESET_NOTIFICATION_EXT) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_CONTEXT_OPENGL_NO_ERROR_KHR: if (!display->getExtensions().createContextNoError) { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid Context attribute."); - return false; + return EglBadAttribute() << "Invalid Context attribute."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, "Attribute must be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "Attribute must be EGL_TRUE or EGL_FALSE."; } break; case EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE: if (!display->getExtensions().createContextWebGLCompatibility) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE requires " - "EGL_ANGLE_create_context_webgl_compatibility."); - return false; + return EglBadAttribute() << "Attribute " + "EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE requires " + "EGL_ANGLE_create_context_webgl_compatibility."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE must be " - "EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE must be " + "EGL_TRUE or EGL_FALSE."; } break; case EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM: if (!display->getExtensions().createContextBindGeneratesResource) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM requires " - "EGL_CHROMIUM_create_context_bind_generates_resource."); - return false; + return EglBadAttribute() + << "Attribute EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM requires " + "EGL_CHROMIUM_create_context_bind_generates_resource."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM " - "must be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM " + "must be EGL_TRUE or EGL_FALSE."; } break; case EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE: if (!display->getExtensions().displayTextureShareGroup) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE requires " - "EGL_ANGLE_display_texture_share_group."); - return false; + return EglBadAttribute() << "Attribute " + "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE requires " + "EGL_ANGLE_display_texture_share_group."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE must be " - "EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE must be " + "EGL_TRUE or EGL_FALSE."; } if (shareContext && (shareContext->usingDisplayTextureShareGroup() != (value == EGL_TRUE))) { - val->setError(EGL_BAD_ATTRIBUTE, - "All contexts within a share group must be " - "created with the same value of " - "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE."); - return false; + return EglBadAttribute() << "All contexts within a share group must be " + "created with the same value of " + "EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE."; } break; case EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE: if (!display->getExtensions().displayTextureShareGroup) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE requires " - "EGL_ANGLE_display_semaphore_share_group."); - return false; + return EglBadAttribute() << "Attribute " + "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE requires " + "EGL_ANGLE_display_semaphore_share_group."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE must be " - "EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE must be " + "EGL_TRUE or EGL_FALSE."; } if (shareContext && (shareContext->usingDisplaySemaphoreShareGroup() != (value == EGL_TRUE))) { - val->setError(EGL_BAD_ATTRIBUTE, - "All contexts within a share group must be " - "created with the same value of " - "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE."); - return false; + return EglBadAttribute() << "All contexts within a share group must be " + "created with the same value of " + "EGL_DISPLAY_SEMAPHORE_SHARE_GROUP_ANGLE."; } break; case EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE: if (!display->getExtensions().createContextClientArrays) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE requires " - "EGL_ANGLE_create_context_client_arrays."); - return false; + return EglBadAttribute() + << "Attribute EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE requires " + "EGL_ANGLE_create_context_client_arrays."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE must " - "be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_CONTEXT_CLIENT_ARRAYS_ENABLED_ANGLE must " + "be EGL_TRUE or EGL_FALSE."; } break; case EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE: if (!display->getExtensions().programCacheControl) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE " - "requires EGL_ANGLE_program_cache_control."); - return false; + return EglBadAttribute() + << "Attribute EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE " + "requires EGL_ANGLE_program_cache_control."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE must " - "be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() + << "EGL_CONTEXT_PROGRAM_BINARY_CACHE_ENABLED_ANGLE must " + "be EGL_TRUE or EGL_FALSE."; } break; case EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE: if (!display->getExtensions().robustResourceInitialization) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " - "requires EGL_ANGLE_robust_resource_initialization."); - return false; + return EglBadAttribute() + << "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " + "requires EGL_ANGLE_robust_resource_initialization."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " - "either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " + "either EGL_TRUE or EGL_FALSE."; } break; case EGL_EXTENSIONS_ENABLED_ANGLE: if (!display->getExtensions().createContextExtensionsEnabled) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_EXTENSIONS_ENABLED_ANGLE " - "requires EGL_ANGLE_create_context_extensions_enabled."); - return false; + return EglBadAttribute() + << "Attribute EGL_EXTENSIONS_ENABLED_ANGLE " + "requires EGL_ANGLE_create_context_extensions_enabled."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_EXTENSIONS_ENABLED_ANGLE must be " - "either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_EXTENSIONS_ENABLED_ANGLE must be " + "either EGL_TRUE or EGL_FALSE."; } break; case EGL_POWER_PREFERENCE_ANGLE: if (!display->getExtensions().powerPreference) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_POWER_PREFERENCE_ANGLE " - "requires EGL_ANGLE_power_preference."); - return false; + return EglBadAttribute() << "Attribute EGL_POWER_PREFERENCE_ANGLE " + "requires EGL_ANGLE_power_preference."; } if (value != EGL_LOW_POWER_ANGLE && value != EGL_HIGH_POWER_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_POWER_PREFERENCE_ANGLE must be " - "either EGL_LOW_POWER_ANGLE or EGL_HIGH_POWER_ANGLE."); - return false; + return EglBadAttribute() + << "EGL_POWER_PREFERENCE_ANGLE must be " + "either EGL_LOW_POWER_ANGLE or EGL_HIGH_POWER_ANGLE."; } break; case EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE: if (!display->getExtensions().createContextBackwardsCompatible) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE " - "requires EGL_ANGLE_create_context_backwards_compatible."); - return false; + return EglBadAttribute() + << "Attribute EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE " + "requires EGL_ANGLE_create_context_backwards_compatible."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE must be " - "either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() + << "EGL_CONTEXT_OPENGL_BACKWARDS_COMPATIBLE_ANGLE must be " + "either EGL_TRUE or EGL_FALSE."; } break; case EGL_CONTEXT_PRIORITY_LEVEL_IMG: if (!display->getExtensions().contextPriority) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_PRIORITY_LEVEL_IMG requires " - "extension EGL_IMG_context_priority."); - return false; + return EglBadAttribute() << "Attribute EGL_CONTEXT_PRIORITY_LEVEL_IMG requires " + "extension EGL_IMG_context_priority."; } switch (value) { @@ -1922,76 +1428,29 @@ bool ValidateCreateContext(const ValidationContext *val, case EGL_CONTEXT_PRIORITY_HIGH_IMG: break; default: - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_PRIORITY_LEVEL_IMG " - "must be one of: EGL_CONTEXT_PRIORITY_LOW_IMG, " - "EGL_CONTEXT_PRIORITY_MEDIUM_IMG, or " - "EGL_CONTEXT_PRIORITY_HIGH_IMG."); - return false; + return EglBadAttribute() << "Attribute EGL_CONTEXT_PRIORITY_LEVEL_IMG " + "must be one of: EGL_CONTEXT_PRIORITY_LOW_IMG, " + "EGL_CONTEXT_PRIORITY_MEDIUM_IMG, or " + "EGL_CONTEXT_PRIORITY_HIGH_IMG."; } break; case EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV: if (!display->getExtensions().robustnessVideoMemoryPurgeNV) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV requires " - "extension EGL_NV_robustness_video_memory_purge."); - return false; + return EglBadAttribute() + << "Attribute EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV requires " + "extension EGL_NV_robustness_video_memory_purge."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV must " - "be either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV must " + "be either EGL_TRUE or EGL_FALSE."; } break; - case EGL_EXTERNAL_CONTEXT_ANGLE: - if (!display->getExtensions().externalContextAndSurface) - { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_EXTERNAL_CONTEXT_ANGLE requires " - "EGL_ANGLE_external_context_and_surface."); - return false; - } - if (value != EGL_TRUE && value != EGL_FALSE) - { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_EXTERNAL_CONTEXT_ANGLE must " - "be either EGL_TRUE or EGL_FALSE."); - return false; - } - if (value == EGL_TRUE && shareContext) - { - val->setError( - EGL_BAD_ATTRIBUTE, - "EGL_EXTERNAL_CONTEXT_ANGLE doesn't allow creating with sharedContext."); - return false; - } - break; - case EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE: - if (!display->getExtensions().externalContextAndSurface) - { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE requires " - "EGL_ANGLE_external_context_and_surface."); - return false; - } - if (value != EGL_TRUE && value != EGL_FALSE) - { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_EXTERNAL_CONTEXT_SAVE_STATE_ANGLE must " - "be either EGL_TRUE or EGL_FALSE."); - return false; - } - break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Unknown attribute."); - return false; + return EglBadAttribute() << "Unknown attribute."; } } @@ -2000,58 +1459,49 @@ bool ValidateCreateContext(const ValidationContext *val, case 1: if (clientMinorVersion != 0 && clientMinorVersion != 1) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if (configuration == EGL_NO_CONFIG_KHR) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } if ((configuration != EGL_NO_CONFIG_KHR) && !(configuration->renderableType & EGL_OPENGL_ES_BIT)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } break; case 2: if (clientMinorVersion != 0) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if ((configuration != EGL_NO_CONFIG_KHR) && !(configuration->renderableType & EGL_OPENGL_ES2_BIT)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } break; case 3: - if (clientMinorVersion < 0 || clientMinorVersion > 2) + if (clientMinorVersion != 0 && clientMinorVersion != 1) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if ((configuration != EGL_NO_CONFIG_KHR) && !(configuration->renderableType & EGL_OPENGL_ES3_BIT)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } if (display->getMaxSupportedESVersion() < gl::Version(static_cast(clientMajorVersion), static_cast(clientMinorVersion))) { - val->setError(EGL_BAD_ATTRIBUTE, "Requested GLES version is not supported."); - return false; + return EglBadAttribute() << "Requested GLES version is not supported."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); break; } @@ -2060,8 +1510,7 @@ bool ValidateCreateContext(const ValidationContext *val, (EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR | EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR); if ((contextFlags & ~validContextFlags) != 0) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if (shareContext) @@ -2069,32 +1518,28 @@ bool ValidateCreateContext(const ValidationContext *val, // Shared context is invalid or is owned by another display if (!display->isValidContext(shareContext)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } if (shareContext->isResetNotificationEnabled() != resetNotification) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } } - return true; + return NoError(); } -bool ValidateCreateWindowSurface(const ValidationContext *val, - const Display *display, - const Config *config, - EGLNativeWindowType window, - const AttributeMap &attributes) +Error ValidateCreateWindowSurface(Display *display, + Config *config, + EGLNativeWindowType window, + const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, config)); + ANGLE_TRY(ValidateConfig(display, config)); if (!display->isValidNativeWindow(window)) { - val->setError(EGL_BAD_NATIVE_WINDOW); - return false; + return EglBadNativeWindow(); } const DisplayExtensions &displayExtensions = display->getExtensions(); @@ -2113,27 +1558,23 @@ bool ValidateCreateWindowSurface(const ValidationContext *val, case EGL_BACK_BUFFER: break; case EGL_SINGLE_BUFFER: - val->setError(EGL_BAD_MATCH); - return false; // Rendering directly to front buffer not supported + return EglBadMatch(); // Rendering directly to front buffer not supported default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_POST_SUB_BUFFER_SUPPORTED_NV: if (!displayExtensions.postSubBuffer) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE: if (!displayExtensions.flexibleSurfaceCompatibility) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; @@ -2141,101 +1582,83 @@ bool ValidateCreateWindowSurface(const ValidationContext *val, case EGL_HEIGHT: if (!displayExtensions.windowFixedSize) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } if (value < 0) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } break; case EGL_FIXED_SIZE_ANGLE: if (!displayExtensions.windowFixedSize) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_SURFACE_ORIENTATION_ANGLE: if (!displayExtensions.surfaceOrientation) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ANGLE_surface_orientation is not enabled."); - return false; + return EglBadAttribute() << "EGL_ANGLE_surface_orientation is not enabled."; } break; case EGL_VG_COLORSPACE: - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); case EGL_GL_COLORSPACE: - ANGLE_VALIDATION_TRY(ValidateColorspaceAttribute(val, displayExtensions, value)); + ANGLE_TRY(ValidateColorspaceAttribute(displayExtensions, value)); break; case EGL_VG_ALPHA_FORMAT: - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); case EGL_DIRECT_COMPOSITION_ANGLE: if (!displayExtensions.directComposition) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE: if (!display->getExtensions().robustResourceInitialization) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " - "requires EGL_ANGLE_robust_resource_initialization."); - return false; + return EglBadAttribute() + << "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " + "requires EGL_ANGLE_robust_resource_initialization."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " - "either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " + "either EGL_TRUE or EGL_FALSE."; } break; case EGL_GGP_STREAM_DESCRIPTOR_ANGLE: if (!display->getExtensions().ggpStreamDescriptor) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_GGP_STREAM_DESCRIPTOR_ANGLE requires " - "EGL_ANGLE_ggp_stream_descriptor."); - return false; + return EglBadAttribute() << "EGL_GGP_STREAM_DESCRIPTOR_ANGLE requires " + "EGL_ANGLE_ggp_stream_descriptor."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } } if (Display::hasExistingWindowSurface(window)) { - val->setError(EGL_BAD_ALLOC); - return false; + return EglBadAlloc(); } - return true; + return NoError(); } -bool ValidateCreatePbufferSurface(const ValidationContext *val, - const Display *display, - const Config *config, - const AttributeMap &attributes) +Error ValidateCreatePbufferSurface(Display *display, Config *config, const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, config)); + ANGLE_TRY(ValidateConfig(display, config)); const DisplayExtensions &displayExtensions = display->getExtensions(); @@ -2251,8 +1674,7 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, case EGL_HEIGHT: if (value < 0) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } break; @@ -2267,8 +1689,7 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, case EGL_TEXTURE_RGBA: break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; @@ -2279,8 +1700,7 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, case EGL_TEXTURE_2D: break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; @@ -2291,7 +1711,7 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, break; case EGL_GL_COLORSPACE: - ANGLE_VALIDATION_TRY(ValidateColorspaceAttribute(val, displayExtensions, value)); + ANGLE_TRY(ValidateColorspaceAttribute(displayExtensions, value)); break; case EGL_VG_ALPHA_FORMAT: @@ -2300,41 +1720,34 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, case EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE: if (!displayExtensions.flexibleSurfaceCompatibility) { - val->setError( - EGL_BAD_ATTRIBUTE, - "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be used " - "without EGL_ANGLE_flexible_surface_compatibility support."); - return false; + return EglBadAttribute() + << "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be used " + "without EGL_ANGLE_flexible_surface_compatibility support."; } break; case EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE: if (!display->getExtensions().robustResourceInitialization) { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " - "requires EGL_ANGLE_robust_resource_initialization."); - return false; + return EglBadAttribute() + << "Attribute EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE " + "requires EGL_ANGLE_robust_resource_initialization."; } if (value != EGL_TRUE && value != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " - "either EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE must be " + "either EGL_TRUE or EGL_FALSE."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } } if (!(config->surfaceType & EGL_PBUFFER_BIT)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } const Caps &caps = display->getCaps(); @@ -2345,15 +1758,13 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } if ((textureFormat == EGL_TEXTURE_RGB && config->bindToTextureRGB != EGL_TRUE) || (textureFormat == EGL_TEXTURE_RGBA && config->bindToTextureRGBA != EGL_TRUE)) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } EGLint width = static_cast(attributes.get(EGL_WIDTH, 0)); @@ -2361,21 +1772,19 @@ bool ValidateCreatePbufferSurface(const ValidationContext *val, if (textureFormat != EGL_NO_TEXTURE && !caps.textureNPOT && (!gl::isPow2(width) || !gl::isPow2(height))) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } - return true; + return NoError(); } -bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, - const Display *display, - EGLenum buftype, - EGLClientBuffer buffer, - const Config *config, - const AttributeMap &attributes) +Error ValidateCreatePbufferFromClientBuffer(Display *display, + EGLenum buftype, + EGLClientBuffer buffer, + Config *config, + const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, config)); + ANGLE_TRY(ValidateConfig(display, config)); const DisplayExtensions &displayExtensions = display->getExtensions(); @@ -2384,62 +1793,39 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE: if (!displayExtensions.d3dShareHandleClientBuffer) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } if (buffer == nullptr) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } break; case EGL_D3D_TEXTURE_ANGLE: if (!displayExtensions.d3dTextureClientBuffer) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } if (buffer == nullptr) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } break; case EGL_IOSURFACE_ANGLE: if (!displayExtensions.iosurfaceClientBuffer) { - val->setError(EGL_BAD_PARAMETER, - " EGL_IOSURFACE_ANGLE requires the " - "EGL_ANGLE_iosurface_client_buffer extension."); - return false; + return EglBadParameter() << " EGL_IOSURFACE_ANGLE requires the " + "EGL_ANGLE_iosurface_client_buffer extension."; } if (buffer == nullptr) { - val->setError(EGL_BAD_PARAMETER, " must be non null"); - return false; - } - break; - case EGL_EXTERNAL_SURFACE_ANGLE: - if (!display->getExtensions().externalContextAndSurface) - { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute " - "EGL_EXTERNAL_SURFACE_ANGLE requires " - "EGL_ANGLE_external_context_and_surface."); - return false; - } - if (buffer != nullptr) - { - val->setError(EGL_BAD_PARAMETER, " must be null"); - return false; + return EglBadParameter() << " must be non null"; } break; default: - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } for (AttributeMap::const_iterator attributeIter = attributes.begin(); @@ -2453,17 +1839,14 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_WIDTH: case EGL_HEIGHT: if (buftype != EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE && - buftype != EGL_D3D_TEXTURE_ANGLE && buftype != EGL_IOSURFACE_ANGLE && - buftype != EGL_EXTERNAL_SURFACE_ANGLE) + buftype != EGL_D3D_TEXTURE_ANGLE && buftype != EGL_IOSURFACE_ANGLE) { - val->setError(EGL_BAD_PARAMETER, - "Width and Height are not supported for this "); - return false; + return EglBadParameter() + << "Width and Height are not supported for thie "; } if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "Width and Height must be positive"); - return false; + return EglBadParameter() << "Width and Height must be positive"; } break; @@ -2475,8 +1858,7 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_TEXTURE_RGBA: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid value for EGL_TEXTURE_FORMAT"); - return false; + return EglBadAttribute() << "Invalid value for EGL_TEXTURE_FORMAT"; } break; @@ -2489,15 +1871,13 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_TEXTURE_RECTANGLE_ANGLE: if (buftype != EGL_IOSURFACE_ANGLE) { - val->setError(EGL_BAD_PARAMETER, - " doesn't support rectangle texture targets"); - return false; + return EglBadParameter() + << " doesn't support rectangle texture targets"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid value for EGL_TEXTURE_TARGET"); - return false; + return EglBadAttribute() << "Invalid value for EGL_TEXTURE_TARGET"; } break; @@ -2507,54 +1887,45 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE: if (!displayExtensions.flexibleSurfaceCompatibility) { - val->setError( - EGL_BAD_ATTRIBUTE, - "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be used " - "without EGL_ANGLE_flexible_surface_compatibility support."); - return false; + return EglBadAttribute() + << "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be used " + "without EGL_ANGLE_flexible_surface_compatibility support."; } break; case EGL_IOSURFACE_PLANE_ANGLE: if (buftype != EGL_IOSURFACE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, " doesn't support iosurface plane"); - return false; + return EglBadAttribute() << " doesn't support iosurface plane"; } break; case EGL_TEXTURE_TYPE_ANGLE: if (buftype != EGL_IOSURFACE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, " doesn't support texture type"); - return false; + return EglBadAttribute() << " doesn't support texture type"; } break; case EGL_TEXTURE_INTERNAL_FORMAT_ANGLE: if (buftype != EGL_IOSURFACE_ANGLE && buftype != EGL_D3D_TEXTURE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - " doesn't support texture internal format"); - return false; + return EglBadAttribute() << " doesn't support texture internal format"; } break; case EGL_GL_COLORSPACE: if (buftype != EGL_D3D_TEXTURE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - " doesn't support setting GL colorspace"); - return false; + return EglBadAttribute() << " doesn't support setting GL colorspace"; } break; case EGL_IOSURFACE_USAGE_HINT_ANGLE: if (value & ~(EGL_IOSURFACE_READ_HINT_ANGLE | EGL_IOSURFACE_WRITE_HINT_ANGLE)) { - val->setError(EGL_BAD_ATTRIBUTE, - "IOSurface usage hint must only contain READ or WRITE"); - return false; + return EglBadAttribute() + << "IOSurface usage hint must only contain READ or WRITE"; } break; @@ -2562,34 +1933,28 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, case EGL_TEXTURE_OFFSET_Y_ANGLE: if (buftype != EGL_D3D_TEXTURE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE, - " doesn't support setting texture offset"); - return false; + return EglBadAttribute() << " doesn't support setting texture offset"; } if (value < 0) { - val->setError(EGL_BAD_ATTRIBUTE, "Texture offset cannot be negative"); - return false; + return EglBadAttribute() << "Texture offset cannot be negative"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } } EGLAttrib colorspace = attributes.get(EGL_GL_COLORSPACE, EGL_GL_COLORSPACE_LINEAR); if (colorspace != EGL_GL_COLORSPACE_LINEAR && colorspace != EGL_GL_COLORSPACE_SRGB) { - val->setError(EGL_BAD_ATTRIBUTE, "invalid GL colorspace"); - return false; + return EglBadAttribute() << "invalid GL colorspace"; } if (!(config->surfaceType & EGL_PBUFFER_BIT)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } EGLAttrib textureFormat = attributes.get(EGL_TEXTURE_FORMAT, EGL_NO_TEXTURE); @@ -2597,8 +1962,7 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } if ((textureFormat == EGL_TEXTURE_RGB && config->bindToTextureRGB != EGL_TRUE) || (textureFormat == EGL_TEXTURE_RGBA && config->bindToTextureRGBA != EGL_TRUE)) @@ -2612,8 +1976,7 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, // OSX? if (buftype != EGL_IOSURFACE_ANGLE) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } } @@ -2624,16 +1987,14 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, if (width == 0 || height == 0) { - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } const Caps &caps = display->getCaps(); if (textureFormat != EGL_NO_TEXTURE && !caps.textureNPOT && (!gl::isPow2(width) || !gl::isPow2(height))) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } } @@ -2641,14 +2002,12 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, { if (static_cast(textureTarget) != config->bindToTextureTarget) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_IOSURFACE requires the texture target to match the config"); - return false; + return EglBadAttribute() + << "EGL_IOSURFACE requires the texture target to match the config"; } if (textureFormat != EGL_TEXTURE_RGBA) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_IOSURFACE requires the EGL_TEXTURE_RGBA format"); - return false; + return EglBadAttribute() << "EGL_IOSURFACE requires the EGL_TEXTURE_RGBA format"; } if (!attributes.contains(EGL_WIDTH) || !attributes.contains(EGL_HEIGHT) || @@ -2657,25 +2016,21 @@ bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, !attributes.contains(EGL_TEXTURE_INTERNAL_FORMAT_ANGLE) || !attributes.contains(EGL_IOSURFACE_PLANE_ANGLE)) { - val->setError(EGL_BAD_PARAMETER, "Missing required attribute for EGL_IOSURFACE"); - return false; + return EglBadParameter() << "Missing required attribute for EGL_IOSURFACE"; } } - ANGLE_EGL_TRY_RETURN(val->eglThread, - display->validateClientBuffer(config, buftype, buffer, attributes), - val->entryPoint, val->labeledObject, false); + ANGLE_TRY(display->validateClientBuffer(config, buftype, buffer, attributes)); - return true; + return NoError(); } -bool ValidateCreatePixmapSurface(const ValidationContext *val, - const Display *display, - const Config *config, - EGLNativePixmapType pixmap, - const AttributeMap &attributes) +Error ValidateCreatePixmapSurface(Display *display, + Config *config, + EGLNativePixmapType pixmap, + const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, config)); + ANGLE_TRY(ValidateConfig(display, config)); const DisplayExtensions &displayExtensions = display->getExtensions(); @@ -2688,7 +2043,7 @@ bool ValidateCreatePixmapSurface(const ValidationContext *val, switch (attribute) { case EGL_GL_COLORSPACE: - ANGLE_VALIDATION_TRY(ValidateColorspaceAttribute(val, displayExtensions, value)); + ANGLE_TRY(ValidateColorspaceAttribute(displayExtensions, value)); break; case EGL_VG_COLORSPACE: @@ -2699,8 +2054,7 @@ bool ValidateCreatePixmapSurface(const ValidationContext *val, case EGL_TEXTURE_FORMAT: if (!displayExtensions.textureFromPixmapNOK) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_NOK_texture_from_pixmap is not enabled."); - return false; + return EglBadAttribute() << "EGL_NOK_texture_from_pixmap is not enabled."; } switch (value) { @@ -2709,16 +2063,14 @@ bool ValidateCreatePixmapSurface(const ValidationContext *val, case EGL_TEXTURE_RGBA: break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_TEXTURE_TARGET: if (!displayExtensions.textureFromPixmapNOK) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_NOK_texture_from_pixmap is not enabled."); - return false; + return EglBadAttribute() << "EGL_NOK_texture_from_pixmap is not enabled."; } switch (value) { @@ -2726,47 +2078,37 @@ bool ValidateCreatePixmapSurface(const ValidationContext *val, case EGL_TEXTURE_2D: break; default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; + return EglBadAttribute(); } break; case EGL_MIPMAP_TEXTURE: if (!displayExtensions.textureFromPixmapNOK) { - val->setError(EGL_BAD_ATTRIBUTE, "EGL_NOK_texture_from_pixmap is not enabled."); - return false; + return EglBadAttribute() << "EGL_NOK_texture_from_pixmap is not enabled."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Unknown attribute"); - return false; + return EglBadAttribute() << "Unknown attribute"; } } if (!(config->surfaceType & EGL_PIXMAP_BIT)) { - val->setError(EGL_BAD_MATCH, "Congfig does not suport pixmaps."); - return false; + return EglBadMatch() << "Congfig does not suport pixmaps."; } - ANGLE_EGL_TRY_RETURN(val->eglThread, display->valdiatePixmap(config, pixmap, attributes), - val->entryPoint, val->labeledObject, false); + ANGLE_TRY(display->valdiatePixmap(config, pixmap, attributes)); - return true; + return NoError(); } -bool ValidateMakeCurrent(const ValidationContext *val, - const Display *display, - const Surface *draw, - const Surface *read, - const gl::Context *context) +Error ValidateMakeCurrent(Display *display, Surface *draw, Surface *read, gl::Context *context) { if (context == EGL_NO_CONTEXT && (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE)) { - val->setError(EGL_BAD_MATCH, "If ctx is EGL_NO_CONTEXT, surfaces must be EGL_NO_SURFACE"); - return false; + return EglBadMatch() << "If ctx is EGL_NO_CONTEXT, surfaces must be EGL_NO_SURFACE"; } // If ctx is EGL_NO_CONTEXT and either draw or read are not EGL_NO_SURFACE, an EGL_BAD_MATCH @@ -2777,17 +2119,14 @@ bool ValidateMakeCurrent(const ValidationContext *val, { if ((draw == EGL_NO_SURFACE) != (read == EGL_NO_SURFACE)) { - val->setError(EGL_BAD_MATCH, - "If ctx is not EGL_NOT_CONTEXT, draw or read must " - "both be EGL_NO_SURFACE, or both not"); - return false; + return EglBadMatch() << "If ctx is not EGL_NOT_CONTEXT, draw or read must " + "both be EGL_NO_SURFACE, or both not"; } } else { - val->setError(EGL_BAD_MATCH, - "If ctx is not EGL_NO_CONTEXT, surfaces must not be EGL_NO_SURFACE"); - return false; + return EglBadMatch() + << "If ctx is not EGL_NO_CONTEXT, surfaces must not be EGL_NO_SURFACE"; } } @@ -2795,70 +2134,152 @@ bool ValidateMakeCurrent(const ValidationContext *val, // EGL_BAD_MATCH error is generated. if ((read == EGL_NO_SURFACE) != (draw == EGL_NO_SURFACE)) { - val->setError(EGL_BAD_MATCH, - "read and draw must both be valid surfaces, or both be EGL_NO_SURFACE"); - return false; + return EglBadMatch() + << "read and draw must both be valid surfaces, or both be EGL_NO_SURFACE"; } if (display == EGL_NO_DISPLAY || !Display::isValidDisplay(display)) { - val->setError(EGL_BAD_DISPLAY, "'dpy' not a valid EGLDisplay handle"); - return false; + return EglBadDisplay() << "'dpy' not a valid EGLDisplay handle"; } // EGL 1.5 spec: dpy can be uninitialized if all other parameters are null if (!display->isInitialized() && (context != EGL_NO_CONTEXT || draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE)) { - val->setError(EGL_NOT_INITIALIZED, "'dpy' not initialized"); - return false; + return EglNotInitialized() << "'dpy' not initialized"; } if (context != EGL_NO_CONTEXT) { - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); } if (display->isInitialized() && display->isDeviceLost()) { - val->setError(EGL_CONTEXT_LOST); - return false; + return EglContextLost(); } if (draw != EGL_NO_SURFACE) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, draw)); + ANGLE_TRY(ValidateSurface(display, draw)); } if (read != EGL_NO_SURFACE) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, read)); - ANGLE_VALIDATION_TRY(ValidateCompatibleSurface(val, display, context, read)); + ANGLE_TRY(ValidateSurface(display, read)); + ANGLE_TRY(ValidateCompatibleSurface(display, context, read)); } if (draw != read) { if (draw) { - ANGLE_VALIDATION_TRY(ValidateCompatibleSurface(val, display, context, draw)); + ANGLE_TRY(ValidateCompatibleSurface(display, context, draw)); } if (read) { - ANGLE_VALIDATION_TRY(ValidateCompatibleSurface(val, display, context, read)); + ANGLE_TRY(ValidateCompatibleSurface(display, context, read)); } } - return true; + return NoError(); } -bool ValidateCreateImage(const ValidationContext *val, - const Display *display, - const gl::Context *context, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attributes) +Error ValidateCompatibleSurface(const Display *display, + gl::Context *context, + const Surface *surface) +{ + const Config *contextConfig = context->getConfig(); + const Config *surfaceConfig = surface->getConfig(); + + // Surface compatible with client API - only OPENGL_ES supported + switch (context->getClientMajorVersion()) + { + case 1: + if (!(surfaceConfig->renderableType & EGL_OPENGL_ES_BIT)) + { + return EglBadMatch() << "Surface not compatible with OpenGL ES 1.x."; + } + break; + case 2: + if (!(surfaceConfig->renderableType & EGL_OPENGL_ES2_BIT)) + { + return EglBadMatch() << "Surface not compatible with OpenGL ES 2.x."; + } + break; + case 3: + if (!(surfaceConfig->renderableType & (EGL_OPENGL_ES2_BIT | EGL_OPENGL_ES3_BIT))) + { + return EglBadMatch() << "Surface not compatible with OpenGL ES 3.x."; + } + break; + default: + return EglBadMatch() << "Surface not compatible with Context API."; + } + + // EGL KHR no config context + if (context->getConfig() == EGL_NO_CONFIG_KHR) + { + const DisplayExtensions &displayExtensions = display->getExtensions(); + if (displayExtensions.noConfigContext) + { + return NoError(); + } + return EglBadMatch() << "Context with no config is not supported."; + } + + if (!surface->flexibleSurfaceCompatibilityRequested()) + { + // Config compatibility is defined in section 2.2 of the EGL 1.5 spec + + bool colorBufferCompat = surfaceConfig->colorBufferType == contextConfig->colorBufferType; + if (!colorBufferCompat) + { + return EglBadMatch() << "Color buffer types are not compatible."; + } + + bool colorCompat = surfaceConfig->redSize == contextConfig->redSize && + surfaceConfig->greenSize == contextConfig->greenSize && + surfaceConfig->blueSize == contextConfig->blueSize && + surfaceConfig->alphaSize == contextConfig->alphaSize && + surfaceConfig->luminanceSize == contextConfig->luminanceSize; + if (!colorCompat) + { + return EglBadMatch() << "Color buffer sizes are not compatible."; + } + + bool componentTypeCompat = + surfaceConfig->colorComponentType == contextConfig->colorComponentType; + if (!componentTypeCompat) + { + return EglBadMatch() << "Color buffer component types are not compatible."; + } + + bool dsCompat = surfaceConfig->depthSize == contextConfig->depthSize && + surfaceConfig->stencilSize == contextConfig->stencilSize; + if (!dsCompat) + { + return EglBadMatch() << "Depth-stencil buffer types are not compatible."; + } + } + + bool surfaceTypeCompat = (surfaceConfig->surfaceType & contextConfig->surfaceType) != 0; + if (!surfaceTypeCompat) + { + return EglBadMatch() << "Surface type is not compatible."; + } + + return NoError(); +} + +Error ValidateCreateImage(const Display *display, + gl::Context *context, + EGLenum target, + EGLClientBuffer buffer, + const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); @@ -2882,9 +2303,8 @@ bool ValidateCreateImage(const ValidationContext *val, break; default: - val->setError(EGL_BAD_PARAMETER, - "EGL_IMAGE_PRESERVED must be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadParameter() + << "EGL_IMAGE_PRESERVED must be EGL_TRUE or EGL_FALSE."; } break; @@ -2892,44 +2312,36 @@ bool ValidateCreateImage(const ValidationContext *val, if (!displayExtensions.glTexture2DImage && !displayExtensions.glTextureCubemapImage && !displayExtensions.glTexture3DImage) { - val->setError(EGL_BAD_PARAMETER, - "EGL_GL_TEXTURE_LEVEL cannot be used " - "without KHR_gl_texture_*_image support."); - return false; + return EglBadParameter() << "EGL_GL_TEXTURE_LEVEL cannot be used " + "without KHR_gl_texture_*_image support."; } if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "EGL_GL_TEXTURE_LEVEL cannot be negative."); - return false; + return EglBadParameter() << "EGL_GL_TEXTURE_LEVEL cannot be negative."; } break; case EGL_GL_TEXTURE_ZOFFSET: if (!displayExtensions.glTexture3DImage) { - val->setError(EGL_BAD_PARAMETER, - "EGL_GL_TEXTURE_ZOFFSET cannot be used " - "without KHR_gl_texture_3D_image support."); - return false; + return EglBadParameter() << "EGL_GL_TEXTURE_ZOFFSET cannot be used " + "without KHR_gl_texture_3D_image support."; } break; case EGL_GL_COLORSPACE: if (!displayExtensions.glColorspace) { - val->setError(EGL_BAD_PARAMETER, - "EGL_GL_COLORSPACE cannot be used " - "without EGL_KHR_gl_colorspace support."); - return false; + return EglBadParameter() << "EGL_GL_COLORSPACE cannot be used " + "without EGL_KHR_gl_colorspace support."; } switch (value) { case EGL_GL_COLORSPACE_DEFAULT_EXT: break; default: - ANGLE_VALIDATION_TRY( - ValidateColorspaceAttribute(val, displayExtensions, value)); + ANGLE_TRY(ValidateColorspaceAttribute(displayExtensions, value)); break; } break; @@ -2937,31 +2349,9 @@ bool ValidateCreateImage(const ValidationContext *val, case EGL_TEXTURE_INTERNAL_FORMAT_ANGLE: if (!displayExtensions.imageD3D11Texture) { - val->setError( - EGL_BAD_PARAMETER, - "EGL_TEXTURE_INTERNAL_FORMAT_ANGLE and EGL_TEXTURE_TYPE_ANGLE cannot " - "be used without EGL_ANGLE_image_d3d11_texture support."); - return false; - } - break; - - case EGL_D3D11_TEXTURE_PLANE_ANGLE: - if (!displayExtensions.imageD3D11Texture) - { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_D3D11_TEXTURE_PLANE_ANGLE cannot be used without " - "EGL_ANGLE_image_d3d11_texture support."); - return false; - } - break; - - case EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE: - if (!displayExtensions.imageD3D11Texture) - { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE cannot be used without " - "EGL_ANGLE_image_d3d11_texture support."); - return false; + return EglBadParameter() + << "EGL_TEXTURE_INTERNAL_FORMAT_ANGLE and EGL_TEXTURE_TYPE_ANGLE cannot " + "be used without EGL_ANGLE_image_d3d11_texture support."; } break; @@ -2969,10 +2359,8 @@ bool ValidateCreateImage(const ValidationContext *val, case EGL_HEIGHT: if (target != EGL_LINUX_DMA_BUF_EXT) { - val->setError( - EGL_BAD_PARAMETER, - "Parameter cannot be used if target is not EGL_LINUX_DMA_BUF_EXT"); - return false; + return EglBadParameter() + << "Parameter cannot be used if target is not EGL_LINUX_DMA_BUF_EXT"; } break; @@ -2988,20 +2376,16 @@ bool ValidateCreateImage(const ValidationContext *val, case EGL_DMA_BUF_PLANE2_PITCH_EXT: if (!displayExtensions.imageDmaBufImportEXT) { - val->setError(EGL_BAD_PARAMETER, - "Parameter cannot be used without " - "EGL_EXT_image_dma_buf_import support."); - return false; + return EglBadParameter() << "Parameter cannot be used without " + "EGL_EXT_image_dma_buf_import support."; } break; case EGL_YUV_COLOR_SPACE_HINT_EXT: if (!displayExtensions.imageDmaBufImportEXT) { - val->setError(EGL_BAD_PARAMETER, - "Parameter cannot be used without " - "EGL_EXT_image_dma_buf_import support."); - return false; + return EglBadParameter() << "Parameter cannot be used without " + "EGL_EXT_image_dma_buf_import support."; } switch (value) @@ -3012,19 +2396,16 @@ bool ValidateCreateImage(const ValidationContext *val, break; default: - val->setError(EGL_BAD_PARAMETER, - "Invalid value for EGL_YUV_COLOR_SPACE_HINT_EXT."); - return false; + return EglBadParameter() + << "Invalid value for EGL_YUV_COLOR_SPACE_HINT_EXT."; } break; case EGL_SAMPLE_RANGE_HINT_EXT: if (!displayExtensions.imageDmaBufImportEXT) { - val->setError(EGL_BAD_PARAMETER, - "Parameter cannot be used without " - "EGL_EXT_image_dma_buf_import support."); - return false; + return EglBadParameter() << "Parameter cannot be used without " + "EGL_EXT_image_dma_buf_import support."; } switch (value) @@ -3034,9 +2415,7 @@ bool ValidateCreateImage(const ValidationContext *val, break; default: - val->setError(EGL_BAD_PARAMETER, - "Invalid value for EGL_SAMPLE_RANGE_HINT_EXT."); - return false; + return EglBadParameter() << "Invalid value for EGL_SAMPLE_RANGE_HINT_EXT."; } break; @@ -3044,10 +2423,8 @@ bool ValidateCreateImage(const ValidationContext *val, case EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT: if (!displayExtensions.imageDmaBufImportEXT) { - val->setError(EGL_BAD_PARAMETER, - "Parameter cannot be used without " - "EGL_EXT_image_dma_buf_import support."); - return false; + return EglBadParameter() << "Parameter cannot be used without " + "EGL_EXT_image_dma_buf_import support."; } switch (value) @@ -3057,11 +2434,9 @@ bool ValidateCreateImage(const ValidationContext *val, break; default: - val->setError( - EGL_BAD_PARAMETER, - "Invalid value for EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT or " - "EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT."); - return false; + return EglBadParameter() + << "Invalid value for EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT or " + "EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT."; } break; @@ -3078,16 +2453,14 @@ bool ValidateCreateImage(const ValidationContext *val, case EGL_DMA_BUF_PLANE3_MODIFIER_HI_EXT: if (!displayExtensions.imageDmaBufImportModifiersEXT) { - val->setError(EGL_BAD_PARAMETER, - "Parameter cannot be used without " - "EGL_EXT_image_dma_buf_import_modifiers support."); - return false; + return EglBadParameter() << "Parameter cannot be used without " + "EGL_EXT_image_dma_buf_import_modifiers support."; } break; default: - val->setError(EGL_BAD_PARAMETER, "invalid attribute: 0x%X", attribute); - return false; + return EglBadParameter() + << "invalid attribute: 0x" << std::hex << std::uppercase << attribute; } } @@ -3097,42 +2470,36 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!displayExtensions.glTexture2DImage) { - val->setError(EGL_BAD_PARAMETER, "KHR_gl_texture_2D_image not supported."); - return false; + return EglBadParameter() << "KHR_gl_texture_2D_image not supported."; } if (buffer == 0) { - val->setError(EGL_BAD_PARAMETER, - "buffer cannot reference a 2D texture with the name 0."); - return false; + return EglBadParameter() << "buffer cannot reference a 2D texture with the name 0."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); const gl::Texture *texture = context->getTexture({egl_gl::EGLClientBufferToGLObjectHandle(buffer)}); if (texture == nullptr || texture->getType() != gl::TextureType::_2D) { - val->setError(EGL_BAD_PARAMETER, "target is not a 2D texture."); - return false; + return EglBadParameter() << "target is not a 2D texture."; } if (texture->getBoundSurface() != nullptr) { - val->setError(EGL_BAD_ACCESS, "texture has a surface bound to it."); - return false; + return EglBadAccess() << "texture has a surface bound to it."; } EGLAttrib level = attributes.get(EGL_GL_TEXTURE_LEVEL, 0); if (texture->getWidth(gl::TextureTarget::_2D, static_cast(level)) == 0 || texture->getHeight(gl::TextureTarget::_2D, static_cast(level)) == 0) { - val->setError(EGL_BAD_PARAMETER, - "target 2D texture does not have a valid size at specified level."); - return false; + return EglBadParameter() + << "target 2D texture does not have a valid size at specified level."; } - ANGLE_VALIDATION_TRY(ValidateCreateImageMipLevelCommon(val, context, texture, level)); + ANGLE_TRY(ValidateCreateImageMipLevelCommon(context, texture, level)); } break; @@ -3145,30 +2512,26 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!displayExtensions.glTextureCubemapImage) { - val->setError(EGL_BAD_PARAMETER, "KHR_gl_texture_cubemap_image not supported."); - return false; + return EglBadParameter() << "KHR_gl_texture_cubemap_image not supported."; } if (buffer == 0) { - val->setError(EGL_BAD_PARAMETER, - "buffer cannot reference a cubemap texture with the name 0."); - return false; + return EglBadParameter() + << "buffer cannot reference a cubemap texture with the name 0."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); const gl::Texture *texture = context->getTexture({egl_gl::EGLClientBufferToGLObjectHandle(buffer)}); if (texture == nullptr || texture->getType() != gl::TextureType::CubeMap) { - val->setError(EGL_BAD_PARAMETER, "target is not a cubemap texture."); - return false; + return EglBadParameter() << "target is not a cubemap texture."; } if (texture->getBoundSurface() != nullptr) { - val->setError(EGL_BAD_ACCESS, "texture has a surface bound to it."); - return false; + return EglBadAccess() << "texture has a surface bound to it."; } EGLAttrib level = attributes.get(EGL_GL_TEXTURE_LEVEL, 0); @@ -3176,22 +2539,18 @@ bool ValidateCreateImage(const ValidationContext *val, if (texture->getWidth(cubeMapFace, static_cast(level)) == 0 || texture->getHeight(cubeMapFace, static_cast(level)) == 0) { - val->setError(EGL_BAD_PARAMETER, - "target cubemap texture does not have a valid " - "size at specified level and face."); - return false; + return EglBadParameter() << "target cubemap texture does not have a valid " + "size at specified level and face."; } - ANGLE_VALIDATION_TRY(ValidateCreateImageMipLevelCommon(val, context, texture, level)); + ANGLE_TRY(ValidateCreateImageMipLevelCommon(context, texture, level)); if (level == 0 && !texture->isMipmapComplete() && CubeTextureHasUnspecifiedLevel0Face(texture)) { - val->setError(EGL_BAD_PARAMETER, - "if level is zero and the texture is incomplete, " - "it must have all of its faces specified at level " - "zero."); - return false; + return EglBadParameter() << "if level is zero and the texture is incomplete, " + "it must have all of its faces specified at level " + "zero."; } } break; @@ -3200,30 +2559,25 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!displayExtensions.glTexture3DImage) { - val->setError(EGL_BAD_PARAMETER, "KHR_gl_texture_3D_image not supported."); - return false; + return EglBadParameter() << "KHR_gl_texture_3D_image not supported."; } if (buffer == 0) { - val->setError(EGL_BAD_PARAMETER, - "buffer cannot reference a 3D texture with the name 0."); - return false; + return EglBadParameter() << "buffer cannot reference a 3D texture with the name 0."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); const gl::Texture *texture = context->getTexture({egl_gl::EGLClientBufferToGLObjectHandle(buffer)}); if (texture == nullptr || texture->getType() != gl::TextureType::_3D) { - val->setError(EGL_BAD_PARAMETER, "target is not a 3D texture."); - return false; + return EglBadParameter() << "target is not a 3D texture."; } if (texture->getBoundSurface() != nullptr) { - val->setError(EGL_BAD_ACCESS, "texture has a surface bound to it."); - return false; + return EglBadAccess() << "texture has a surface bound to it."; } EGLAttrib level = attributes.get(EGL_GL_TEXTURE_LEVEL, 0); @@ -3232,22 +2586,19 @@ bool ValidateCreateImage(const ValidationContext *val, texture->getHeight(gl::TextureTarget::_3D, static_cast(level)) == 0 || texture->getDepth(gl::TextureTarget::_3D, static_cast(level)) == 0) { - val->setError(EGL_BAD_PARAMETER, - "target 3D texture does not have a valid size at specified level."); - return false; + return EglBadParameter() + << "target 3D texture does not have a valid size at specified level."; } if (static_cast(zOffset) >= texture->getDepth(gl::TextureTarget::_3D, static_cast(level))) { - val->setError(EGL_BAD_PARAMETER, - "target 3D texture does not have enough layers " - "for the specified Z offset at the specified " - "level."); - return false; + return EglBadParameter() << "target 3D texture does not have enough layers " + "for the specified Z offset at the specified " + "level."; } - ANGLE_VALIDATION_TRY(ValidateCreateImageMipLevelCommon(val, context, texture, level)); + ANGLE_TRY(ValidateCreateImageMipLevelCommon(context, texture, level)); } break; @@ -3255,38 +2606,32 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!displayExtensions.glRenderbufferImage) { - val->setError(EGL_BAD_PARAMETER, "KHR_gl_renderbuffer_image not supported."); - return false; + return EglBadParameter() << "KHR_gl_renderbuffer_image not supported."; } if (attributes.contains(EGL_GL_TEXTURE_LEVEL)) { - val->setError(EGL_BAD_PARAMETER, - "EGL_GL_TEXTURE_LEVEL cannot be used in " - "conjunction with a renderbuffer target."); - return false; + return EglBadParameter() << "EGL_GL_TEXTURE_LEVEL cannot be used in " + "conjunction with a renderbuffer target."; } if (buffer == 0) { - val->setError(EGL_BAD_PARAMETER, - "buffer cannot reference a renderbuffer with the name 0."); - return false; + return EglBadParameter() + << "buffer cannot reference a renderbuffer with the name 0."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); const gl::Renderbuffer *renderbuffer = context->getRenderbuffer({egl_gl::EGLClientBufferToGLObjectHandle(buffer)}); if (renderbuffer == nullptr) { - val->setError(EGL_BAD_PARAMETER, "target is not a renderbuffer."); - return false; + return EglBadParameter() << "target is not a renderbuffer."; } if (renderbuffer->getSamples() > 0) { - val->setError(EGL_BAD_PARAMETER, "target renderbuffer cannot be multisampled."); - return false; + return EglBadParameter() << "target renderbuffer cannot be multisampled."; } } break; @@ -3295,59 +2640,46 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!displayExtensions.imageNativeBuffer) { - val->setError(EGL_BAD_PARAMETER, "EGL_ANDROID_image_native_buffer not supported."); - return false; + return EglBadParameter() << "EGL_ANDROID_image_native_buffer not supported."; } if (context != nullptr) { - val->setError(EGL_BAD_CONTEXT, "ctx must be EGL_NO_CONTEXT."); - return false; + return EglBadContext() << "ctx must be EGL_NO_CONTEXT."; } - ANGLE_EGL_TRY_RETURN( - val->eglThread, - display->validateImageClientBuffer(context, target, buffer, attributes), - val->entryPoint, val->labeledObject, false); + ANGLE_TRY(display->validateImageClientBuffer(context, target, buffer, attributes)); } break; case EGL_D3D11_TEXTURE_ANGLE: if (!displayExtensions.imageD3D11Texture) { - val->setError(EGL_BAD_PARAMETER, "EGL_ANGLE_image_d3d11_texture not supported."); - return false; + return EglBadParameter() << "EGL_ANGLE_image_d3d11_texture not supported."; } if (context != nullptr) { - val->setError(EGL_BAD_CONTEXT, "ctx must be EGL_NO_CONTEXT."); - return false; + return EglBadContext() << "ctx must be EGL_NO_CONTEXT."; } - ANGLE_EGL_TRY_RETURN( - val->eglThread, - display->validateImageClientBuffer(context, target, buffer, attributes), - val->entryPoint, val->labeledObject, false); + ANGLE_TRY(display->validateImageClientBuffer(context, target, buffer, attributes)); break; case EGL_LINUX_DMA_BUF_EXT: if (!displayExtensions.imageDmaBufImportEXT) { - val->setError(EGL_BAD_PARAMETER, "EGL_EXT_image_dma_buf_import not supported."); - return false; + return EglBadParameter() << "EGL_EXT_image_dma_buf_import not supported."; } if (context != nullptr) { - val->setError(EGL_BAD_CONTEXT, "ctx must be EGL_NO_CONTEXT."); - return false; + return EglBadContext() << "ctx must be EGL_NO_CONTEXT."; } if (buffer != nullptr) { - val->setError(EGL_BAD_PARAMETER, "buffer must be NULL."); - return false; + return EglBadParameter() << "buffer must be NULL."; } { @@ -3361,11 +2693,9 @@ bool ValidateCreateImage(const ValidationContext *val, { if (!attributes.contains(requiredParameter)) { - val->setError(EGL_BAD_PARAMETER, - "Missing required parameter 0x%X for image target " - "EGL_LINUX_DMA_BUF_EXT.", - requiredParameter); - return false; + return EglBadParameter() + << "Missing required parameter " << gl::FmtHex(requiredParameter) + << " for image target EGL_LINUX_DMA_BUF_EXT."; } } @@ -3390,112 +2720,80 @@ bool ValidateCreateImage(const ValidationContext *val, (containPlane2ModifierLo ^ containPlane2ModifierHi) || (containPlane3ModifierLo ^ containPlane3ModifierHi)) { - val->setError( - EGL_BAD_PARAMETER, - "the list of attributes contains EGL_DMA_BUF_PLANE*_MODIFIER_LO_EXT " - "but not EGL_DMA_BUF_PLANE*_MODIFIER_HI_EXT or vice versa."); - return false; + return EglBadParameter() + << "the list of attributes contains EGL_DMA_BUF_PLANE*_MODIFIER_LO_EXT " + "but not EGL_DMA_BUF_PLANE*_MODIFIER_HI_EXT or vice versa."; } } break; - case EGL_METAL_TEXTURE_ANGLE: - if (!displayExtensions.mtlTextureClientBuffer) - { - val->setError(EGL_BAD_PARAMETER, - "EGL_ANGLE_metal_texture_client_buffer not supported."); - return false; - } - - if (context != nullptr) - { - val->setError(EGL_BAD_CONTEXT, "ctx must be EGL_NO_CONTEXT."); - return false; - } - - ANGLE_EGL_TRY_RETURN( - val->eglThread, - display->validateImageClientBuffer(context, target, buffer, attributes), - val->entryPoint, val->labeledObject, false); - break; - default: - val->setError(EGL_BAD_PARAMETER, "invalid target: 0x%X", target); - return false; + return EglBadParameter() + << "invalid target: 0x" << std::hex << std::uppercase << target; } if (attributes.contains(EGL_GL_TEXTURE_ZOFFSET) && target != EGL_GL_TEXTURE_3D) { - val->setError(EGL_BAD_PARAMETER, - "EGL_GL_TEXTURE_ZOFFSET must be used with a 3D texture target."); - return false; + return EglBadParameter() << "EGL_GL_TEXTURE_ZOFFSET must be used with a 3D texture target."; } - return true; + return NoError(); } -bool ValidateDestroyImage(const ValidationContext *val, const Display *display, const Image *image) +Error ValidateDestroyImage(const Display *display, const Image *image) { - ANGLE_VALIDATION_TRY(ValidateImage(val, display, image)); + ANGLE_TRY(ValidateImage(display, image)); - return true; + return NoError(); } -bool ValidateCreateImageKHR(const ValidationContext *val, - const Display *display, - const gl::Context *context, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attributes) +Error ValidateCreateImageKHR(const Display *display, + gl::Context *context, + EGLenum target, + EGLClientBuffer buffer, + const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().imageBase && !display->getExtensions().image) { // It is out of spec what happens when calling an extension function when the extension is // not available. // EGL_BAD_DISPLAY seems like a reasonable error. - val->setError(EGL_BAD_DISPLAY, "EGL_KHR_image not supported."); - return false; + return EglBadDisplay() << "EGL_KHR_image not supported."; } - return ValidateCreateImage(val, display, context, target, buffer, attributes); + return ValidateCreateImage(display, context, target, buffer, attributes); } -bool ValidateDestroyImageKHR(const ValidationContext *val, - const Display *display, - const Image *image) +Error ValidateDestroyImageKHR(const Display *display, const Image *image) { - ANGLE_VALIDATION_TRY(ValidateImage(val, display, image)); + ANGLE_TRY(ValidateImage(display, image)); if (!display->getExtensions().imageBase && !display->getExtensions().image) { // It is out of spec what happens when calling an extension function when the extension is // not available. // EGL_BAD_DISPLAY seems like a reasonable error. - val->setError(EGL_BAD_DISPLAY); - return false; + return EglBadDisplay(); } - return true; + return NoError(); } -bool ValidateCreateDeviceANGLE(const ValidationContext *val, - EGLint device_type, - const void *native_device, - const EGLAttrib *attrib_list) +Error ValidateCreateDeviceANGLE(EGLint device_type, + void *native_device, + const EGLAttrib *attrib_list) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); if (!clientExtensions.deviceCreation) { - val->setError(EGL_BAD_ACCESS, "Device creation extension not active"); - return false; + return EglBadAccess() << "Device creation extension not active"; } if (attrib_list != nullptr && attrib_list[0] != EGL_NONE) { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attrib_list parameter"); - return false; + return EglBadAttribute() << "Invalid attrib_list parameter"; } switch (device_type) @@ -3503,178 +2801,270 @@ bool ValidateCreateDeviceANGLE(const ValidationContext *val, case EGL_D3D11_DEVICE_ANGLE: if (!clientExtensions.deviceCreationD3D11) { - val->setError(EGL_BAD_ATTRIBUTE, "D3D11 device creation extension not active"); - return false; + return EglBadAttribute() << "D3D11 device creation extension not active"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid device_type parameter"); - return false; + return EglBadAttribute() << "Invalid device_type parameter"; } - return true; + return NoError(); } -bool ValidateReleaseDeviceANGLE(const ValidationContext *val, const Device *device) +Error ValidateReleaseDeviceANGLE(Device *device) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); if (!clientExtensions.deviceCreation) { - val->setError(EGL_BAD_ACCESS, "Device creation extension not active"); - return false; + return EglBadAccess() << "Device creation extension not active"; } if (device == EGL_NO_DEVICE_EXT || !Device::IsValidDevice(device)) { - val->setError(EGL_BAD_DEVICE_EXT, "Invalid device parameter"); - return false; + return EglBadDevice() << "Invalid device parameter"; } Display *owningDisplay = device->getOwningDisplay(); if (owningDisplay != nullptr) { - val->setError(EGL_BAD_DEVICE_EXT, "Device must have been created using eglCreateDevice"); - return false; + return EglBadDevice() << "Device must have been created using eglCreateDevice"; } - return true; + return NoError(); } -bool ValidateCreateSync(const ValidationContext *val, - const Display *display, - EGLenum type, - const AttributeMap &attribs) +Error ValidateCreateSyncBase(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext, + bool isExt) { - return ValidateCreateSyncBase(val, display, type, attribs, false); + ANGLE_TRY(ValidateDisplay(display)); + + switch (type) + { + case EGL_SYNC_FENCE_KHR: + if (!attribs.isEmpty()) + { + return EglBadAttribute() << "Invalid attribute"; + } + + if (!display->getExtensions().fenceSync) + { + return EglBadMatch() << "EGL_KHR_fence_sync extension is not available"; + } + + if (display != currentDisplay) + { + return EglBadMatch() << "CreateSync can only be called on the current display"; + } + + ANGLE_TRY(ValidateContext(currentDisplay, currentContext)); + + if (!currentContext->getExtensions().eglSyncOES) + { + return EglBadMatch() << "EGL_SYNC_FENCE_KHR cannot be used without " + "GL_OES_EGL_sync support."; + } + break; + + case EGL_SYNC_NATIVE_FENCE_ANDROID: + if (!display->getExtensions().fenceSync) + { + return EglBadMatch() << "EGL_KHR_fence_sync extension is not available"; + } + + if (!display->getExtensions().nativeFenceSyncANDROID) + { + return EglBadDisplay() + << "EGL_ANDROID_native_fence_sync extension is not available."; + } + + if (display != currentDisplay) + { + return EglBadMatch() << "CreateSync can only be called on the current display"; + } + + ANGLE_TRY(ValidateContext(currentDisplay, currentContext)); + + if (!currentContext->getExtensions().eglSyncOES) + { + return EglBadMatch() << "EGL_SYNC_FENCE_KHR cannot be used without " + "GL_OES_EGL_sync support."; + } + + for (const auto &attributeIter : attribs) + { + EGLAttrib attribute = attributeIter.first; + + switch (attribute) + { + case EGL_SYNC_NATIVE_FENCE_FD_ANDROID: + break; + + default: + return EglBadAttribute() << "Invalid attribute"; + } + } + break; + + case EGL_SYNC_REUSABLE_KHR: + if (!attribs.isEmpty()) + { + return EglBadAttribute() << "Invalid attribute"; + } + + if (!display->getExtensions().reusableSyncKHR) + { + return EglBadMatch() << "EGL_KHR_reusable_sync extension is not available."; + } + break; + + default: + if (isExt) + { + return EglBadAttribute() << "Invalid type parameter"; + } + else + { + return EglBadParameter() << "Invalid type parameter"; + } + } + + return NoError(); } -bool ValidateCreateSyncKHR(const ValidationContext *val, - const Display *display, - EGLenum type, - const AttributeMap &attribs) +Error ValidateGetSyncAttribBase(const Display *display, const Sync *sync, EGLint attribute) { - return ValidateCreateSyncBase(val, display, type, attribs, true); + ANGLE_TRY(ValidateSync(display, sync)); + + switch (attribute) + { + case EGL_SYNC_CONDITION_KHR: + switch (sync->getType()) + { + case EGL_SYNC_FENCE_KHR: + case EGL_SYNC_NATIVE_FENCE_ANDROID: + break; + + default: + return EglBadAttribute() + << "EGL_SYNC_CONDITION_KHR is not valid for this sync type."; + } + break; + + // The following attributes are accepted by all types + case EGL_SYNC_TYPE_KHR: + case EGL_SYNC_STATUS_KHR: + break; + + default: + return EglBadAttribute() << "Invalid attribute"; + } + + return NoError(); } -bool ValidateDestroySync(const ValidationContext *val, const Display *display, const Sync *sync) +Error ValidateCreateSyncKHR(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext) { - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); - return true; + return ValidateCreateSyncBase(display, type, attribs, currentDisplay, currentContext, true); } -bool ValidateDestroySyncKHR(const ValidationContext *val, - const Display *dpyPacked, - const Sync *syncPacked) +Error ValidateCreateSync(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext) { - return ValidateDestroySync(val, dpyPacked, syncPacked); + return ValidateCreateSyncBase(display, type, attribs, currentDisplay, currentContext, false); } -bool ValidateClientWaitSync(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLint flags, - EGLTime timeout) +Error ValidateDestroySync(const Display *display, const Sync *sync) { - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); - return true; + ANGLE_TRY(ValidateSync(display, sync)); + return NoError(); } -bool ValidateClientWaitSyncKHR(const ValidationContext *val, - const Display *dpyPacked, - const Sync *syncPacked, - EGLint flags, - EGLTimeKHR timeout) +Error ValidateClientWaitSync(const Display *display, + const Sync *sync, + EGLint flags, + EGLTime timeout) { - return ValidateClientWaitSync(val, dpyPacked, syncPacked, flags, timeout); + ANGLE_TRY(ValidateSync(display, sync)); + return NoError(); } -bool ValidateWaitSync(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLint flags) +Error ValidateWaitSync(const Display *display, + const gl::Context *context, + const Sync *sync, + EGLint flags) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &extensions = display->getExtensions(); if (!extensions.waitSync) { - val->setError(EGL_BAD_ACCESS, "EGL_KHR_wait_sync extension is not available"); - return false; + return EglBadAccess() << "EGL_KHR_wait_sync extension is not available"; } - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); + ANGLE_TRY(ValidateSync(display, sync)); - gl::Context *context = val->eglThread->getContext(); if (context == nullptr) { - val->setError(EGL_BAD_MATCH, "No context is current."); - return false; + return EglBadMatch() << "No context is current."; } if (!context->getExtensions().eglSyncOES) { - val->setError(EGL_BAD_MATCH, - "Server-side waits cannot be performed without " - "GL_OES_EGL_sync support."); - return false; + return EglBadMatch() << "Server-side waits cannot be performed without " + "GL_OES_EGL_sync support."; } if (flags != 0) { - val->setError(EGL_BAD_PARAMETER, "flags must be zero"); - return false; + return EglBadParameter() << "flags must be zero"; } - return true; + return NoError(); } -bool ValidateWaitSyncKHR(const ValidationContext *val, - const Display *dpyPacked, - const Sync *syncPacked, - EGLint flags) -{ - return ValidateWaitSync(val, dpyPacked, syncPacked, flags); -} - -bool ValidateGetSyncAttrib(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLint attribute, - const EGLAttrib *value) +Error ValidateGetSyncAttribKHR(const Display *display, + const Sync *sync, + EGLint attribute, + EGLint *value) { if (value == nullptr) { - val->setError(EGL_BAD_PARAMETER, "Invalid value parameter"); - return false; + return EglBadParameter() << "Invalid value parameter"; } - return ValidateGetSyncAttribBase(val, display, sync, attribute); + return ValidateGetSyncAttribBase(display, sync, attribute); } -bool ValidateGetSyncAttribKHR(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLint attribute, - const EGLint *value) +Error ValidateGetSyncAttrib(const Display *display, + const Sync *sync, + EGLint attribute, + EGLAttrib *value) { if (value == nullptr) { - val->setError(EGL_BAD_PARAMETER, "Invalid value parameter"); - return false; + return EglBadParameter() << "Invalid value parameter"; } - return ValidateGetSyncAttribBase(val, display, sync, attribute); + return ValidateGetSyncAttribBase(display, sync, attribute); } -bool ValidateCreateStreamKHR(const ValidationContext *val, - const Display *display, - const AttributeMap &attributes) +Error ValidateCreateStreamKHR(const Display *display, const AttributeMap &attributes) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.stream) { - val->setError(EGL_BAD_ALLOC, "Stream extension not active"); - return false; + return EglBadAlloc() << "Stream extension not active"; } for (const auto &attributeIter : attributes) @@ -3682,44 +3072,39 @@ bool ValidateCreateStreamKHR(const ValidationContext *val, EGLAttrib attribute = attributeIter.first; EGLAttrib value = attributeIter.second; - ANGLE_VALIDATION_TRY(ValidateStreamAttribute(val, attribute, value, displayExtensions)); + ANGLE_TRY(ValidateStreamAttribute(attribute, value, displayExtensions)); } - return true; + return NoError(); } -bool ValidateDestroyStreamKHR(const ValidationContext *val, - const Display *display, - const Stream *stream) +Error ValidateDestroyStreamKHR(const Display *display, const Stream *stream) { - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); - return true; + ANGLE_TRY(ValidateStream(display, stream)); + return NoError(); } -bool ValidateStreamAttribKHR(const ValidationContext *val, - const Display *display, - const Stream *stream, - EGLenum attribute, - EGLint value) +Error ValidateStreamAttribKHR(const Display *display, + const Stream *stream, + EGLint attribute, + EGLint value) { - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); if (stream->getState() == EGL_STREAM_STATE_DISCONNECTED_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Bad stream state"); - return false; + return EglBadState() << "Bad stream state"; } - return ValidateStreamAttribute(val, attribute, value, display->getExtensions()); + return ValidateStreamAttribute(attribute, value, display->getExtensions()); } -bool ValidateQueryStreamKHR(const ValidationContext *val, - const Display *display, - const Stream *stream, - EGLenum attribute, - const EGLint *value) +Error ValidateQueryStreamKHR(const Display *display, + const Stream *stream, + EGLenum attribute, + EGLint *value) { - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); switch (attribute) { @@ -3729,25 +3114,22 @@ bool ValidateQueryStreamKHR(const ValidationContext *val, case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: if (!display->getExtensions().streamConsumerGLTexture) { - val->setError(EGL_BAD_ATTRIBUTE, "Consumer GLTexture extension not active"); - return false; + return EglBadAttribute() << "Consumer GLTexture extension not active"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; + return EglBadAttribute() << "Invalid attribute"; } - return true; + return NoError(); } -bool ValidateQueryStreamu64KHR(const ValidationContext *val, - const Display *display, - const Stream *stream, - EGLenum attribute, - const EGLuint64KHR *value) +Error ValidateQueryStreamu64KHR(const Display *display, + const Stream *stream, + EGLenum attribute, + EGLuint64KHR *value) { - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); switch (attribute) { @@ -3755,95 +3137,82 @@ bool ValidateQueryStreamu64KHR(const ValidationContext *val, case EGL_PRODUCER_FRAME_KHR: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; + return EglBadAttribute() << "Invalid attribute"; } - return true; + return NoError(); } -bool ValidateStreamConsumerGLTextureExternalKHR(const ValidationContext *val, - const Display *display, - const Stream *stream) +Error ValidateStreamConsumerGLTextureExternalKHR(const Display *display, + gl::Context *context, + const Stream *stream) { - gl::Context *context = val->eglThread->getContext(); - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamConsumerGLTexture) { - val->setError(EGL_BAD_ACCESS, "Stream consumer extension not active"); - return false; + return EglBadAccess() << "Stream consumer extension not active"; } if (!context->getExtensions().eglStreamConsumerExternalNV) { - val->setError(EGL_BAD_ACCESS, "EGL stream consumer external GL extension not enabled"); - return false; + return EglBadAccess() << "EGL stream consumer external GL extension not enabled"; } if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) { - val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); - return false; + return EglBadStream() << "Invalid stream"; } if (stream->getState() != EGL_STREAM_STATE_CREATED_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Invalid stream state"); - return false; + return EglBadState() << "Invalid stream state"; } // Lookup the texture and ensure it is correct gl::Texture *texture = context->getState().getTargetTexture(gl::TextureType::External); if (texture == nullptr || texture->id().value == 0) { - val->setError(EGL_BAD_ACCESS, "No external texture bound"); - return false; + return EglBadAccess() << "No external texture bound"; } - return true; + return NoError(); } -bool ValidateStreamConsumerAcquireKHR(const ValidationContext *val, - const Display *display, - const Stream *stream) +Error ValidateStreamConsumerAcquireKHR(const Display *display, + gl::Context *context, + const Stream *stream) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamConsumerGLTexture) { - val->setError(EGL_BAD_ACCESS, "Stream consumer extension not active"); - return false; + return EglBadAccess() << "Stream consumer extension not active"; } if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) { - val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); - return false; + return EglBadStream() << "Invalid stream"; } - gl::Context *context = val->eglThread->getContext(); if (!context) { - val->setError(EGL_BAD_ACCESS, "No GL context current to calling thread."); - return false; + return EglBadAccess() << "No GL context current to calling thread."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); if (!stream->isConsumerBoundToContext(context)) { - val->setError(EGL_BAD_ACCESS, "Current GL context not associated with stream consumer"); - return false; + return EglBadAccess() << "Current GL context not associated with stream consumer"; } if (stream->getConsumerType() != Stream::ConsumerType::GLTextureRGB && stream->getConsumerType() != Stream::ConsumerType::GLTextureYUV) { - val->setError(EGL_BAD_ACCESS, "Invalid stream consumer type"); - return false; + return EglBadAccess() << "Invalid stream consumer type"; } // Note: technically EGL_STREAM_STATE_EMPTY_KHR is a valid state when the timeout is non-zero. @@ -3852,100 +3221,87 @@ bool ValidateStreamConsumerAcquireKHR(const ValidationContext *val, if (stream->getState() != EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR && stream->getState() != EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Invalid stream state"); - return false; + return EglBadState() << "Invalid stream state"; } - return true; + return NoError(); } -bool ValidateStreamConsumerReleaseKHR(const ValidationContext *val, - const Display *display, - const Stream *stream) +Error ValidateStreamConsumerReleaseKHR(const Display *display, + gl::Context *context, + const Stream *stream) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamConsumerGLTexture) { - val->setError(EGL_BAD_ACCESS, "Stream consumer extension not active"); - return false; + return EglBadAccess() << "Stream consumer extension not active"; } if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) { - val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); - return false; + return EglBadStream() << "Invalid stream"; } - gl::Context *context = val->eglThread->getContext(); if (!context) { - val->setError(EGL_BAD_ACCESS, "No GL context current to calling thread."); - return false; + return EglBadAccess() << "No GL context current to calling thread."; } - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); if (!stream->isConsumerBoundToContext(context)) { - val->setError(EGL_BAD_ACCESS, "Current GL context not associated with stream consumer"); - return false; + return EglBadAccess() << "Current GL context not associated with stream consumer"; } if (stream->getConsumerType() != Stream::ConsumerType::GLTextureRGB && stream->getConsumerType() != Stream::ConsumerType::GLTextureYUV) { - val->setError(EGL_BAD_ACCESS, "Invalid stream consumer type"); - return false; + return EglBadAccess() << "Invalid stream consumer type"; } if (stream->getState() != EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR && stream->getState() != EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Invalid stream state"); - return false; + return EglBadState() << "Invalid stream state"; } - return true; + return NoError(); } -bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *val, - const Display *display, - const Stream *stream, - const AttributeMap &attribs) +Error ValidateStreamConsumerGLTextureExternalAttribsNV(const Display *display, + gl::Context *context, + const Stream *stream, + const AttributeMap &attribs) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamConsumerGLTexture) { - val->setError(EGL_BAD_ACCESS, "Stream consumer extension not active"); - return false; + return EglBadAccess() << "Stream consumer extension not active"; } - gl::Context *context = val->eglThread->getContext(); - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); // Although technically not a requirement in spec, the context needs to be checked for support // for external textures or future logic will cause assertations. This extension is also // effectively useless without external textures. if (!context->getExtensions().eglStreamConsumerExternalNV) { - val->setError(EGL_BAD_ACCESS, "EGL stream consumer external GL extension not enabled"); - return false; + return EglBadAccess() << "EGL stream consumer external GL extension not enabled"; } if (stream == EGL_NO_STREAM_KHR || !display->isValidStream(stream)) { - val->setError(EGL_BAD_STREAM_KHR, "Invalid stream"); - return false; + return EglBadStream() << "Invalid stream"; } if (stream->getState() != EGL_STREAM_STATE_CREATED_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Invalid stream state"); - return false; + return EglBadState() << "Invalid stream state"; } const gl::Caps &glCaps = context->getCaps(); @@ -3967,8 +3323,7 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v case EGL_COLOR_BUFFER_TYPE: if (value != EGL_RGB_BUFFER && value != EGL_YUV_BUFFER_EXT) { - val->setError(EGL_BAD_PARAMETER, "Invalid color buffer type"); - return false; + return EglBadParameter() << "Invalid color buffer type"; } colorBufferType = value; break; @@ -3978,8 +3333,7 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v // inputs if (value < 0) { - val->setError(EGL_BAD_MATCH, "Invalid plane count"); - return false; + return EglBadMatch() << "Invalid plane count"; } planeCount = value; break; @@ -3991,15 +3345,13 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v value >= static_cast(glCaps.maxCombinedTextureImageUnits)) && value != EGL_NONE) { - val->setError(EGL_BAD_ACCESS, "Invalid texture unit"); - return false; + return EglBadAccess() << "Invalid texture unit"; } plane[attribute - EGL_YUV_PLANE0_TEXTURE_UNIT_NV] = value; } else { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; + return EglBadAttribute() << "Invalid attribute"; } } } @@ -4008,15 +3360,13 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v { if (planeCount > 0) { - val->setError(EGL_BAD_MATCH, "Plane count must be 0 for RGB buffer"); - return false; + return EglBadMatch() << "Plane count must be 0 for RGB buffer"; } for (int i = 0; i < 3; i++) { if (plane[i] != -1) { - val->setError(EGL_BAD_MATCH, "Planes cannot be specified"); - return false; + return EglBadMatch() << "Planes cannot be specified"; } } @@ -4024,8 +3374,7 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v gl::Texture *texture = context->getState().getTargetTexture(gl::TextureType::External); if (texture == nullptr || texture->id().value == 0) { - val->setError(EGL_BAD_ACCESS, "No external texture bound"); - return false; + return EglBadAccess() << "No external texture bound"; } } else @@ -4036,15 +3385,13 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v } if (planeCount < 1 || planeCount > 3) { - val->setError(EGL_BAD_MATCH, "Invalid YUV plane count"); - return false; + return EglBadMatch() << "Invalid YUV plane count"; } for (EGLAttrib i = planeCount; i < 3; i++) { if (plane[i] != -1) { - val->setError(EGL_BAD_MATCH, "Invalid plane specified"); - return false; + return EglBadMatch() << "Invalid plane specified"; } } @@ -4054,8 +3401,7 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v { if (plane[i] == -1) { - val->setError(EGL_BAD_MATCH, "Not all planes specified"); - return false; + return EglBadMatch() << "Not all planes specified"; } if (plane[i] != EGL_NONE) { @@ -4063,50 +3409,43 @@ bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *v static_cast(plane[i]), gl::TextureType::External); if (texture == nullptr || texture->id().value == 0) { - val->setError( - EGL_BAD_ACCESS, - "No external texture bound at one or more specified texture units"); - return false; + return EglBadAccess() + << "No external texture bound at one or more specified texture units"; } if (textureSet.find(texture) != textureSet.end()) { - val->setError(EGL_BAD_ACCESS, "Multiple planes bound to same texture object"); - return false; + return EglBadAccess() << "Multiple planes bound to same texture object"; } textureSet.insert(texture); } } } - return true; + return NoError(); } -bool ValidateCreateStreamProducerD3DTextureANGLE(const ValidationContext *val, - const Display *display, - const Stream *stream, - const AttributeMap &attribs) +Error ValidateCreateStreamProducerD3DTextureANGLE(const Display *display, + const Stream *stream, + const AttributeMap &attribs) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamProducerD3DTexture) { - val->setError(EGL_BAD_ACCESS, "Stream producer extension not active"); - return false; + return EglBadAccess() << "Stream producer extension not active"; } - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); if (!attribs.isEmpty()) { - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; + return EglBadAttribute() << "Invalid attribute"; } if (stream->getState() != EGL_STREAM_STATE_CONNECTING_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Stream not in connecting state"); - return false; + return EglBadState() << "Stream not in connecting state"; } switch (stream->getConsumerType()) @@ -4114,43 +3453,38 @@ bool ValidateCreateStreamProducerD3DTextureANGLE(const ValidationContext *val, case Stream::ConsumerType::GLTextureYUV: if (stream->getPlaneCount() != 2) { - val->setError(EGL_BAD_MATCH, "Incompatible stream consumer type"); - return false; + return EglBadMatch() << "Incompatible stream consumer type"; } break; case Stream::ConsumerType::GLTextureRGB: if (stream->getPlaneCount() != 1) { - val->setError(EGL_BAD_MATCH, "Incompatible stream consumer type"); - return false; + return EglBadMatch() << "Incompatible stream consumer type"; } break; default: - val->setError(EGL_BAD_MATCH, "Incompatible stream consumer type"); - return false; + return EglBadMatch() << "Incompatible stream consumer type"; } - return true; + return NoError(); } -bool ValidateStreamPostD3DTextureANGLE(const ValidationContext *val, - const Display *display, - const Stream *stream, - const void *texture, - const AttributeMap &attribs) +Error ValidateStreamPostD3DTextureANGLE(const Display *display, + const Stream *stream, + void *texture, + const AttributeMap &attribs) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.streamProducerD3DTexture) { - val->setError(EGL_BAD_ACCESS, "Stream producer extension not active"); - return false; + return EglBadAccess() << "Stream producer extension not active"; } - ANGLE_VALIDATION_TRY(ValidateStream(val, display, stream)); + ANGLE_TRY(ValidateStream(display, stream)); for (auto &attributeIter : attribs) { @@ -4162,20 +3496,17 @@ bool ValidateStreamPostD3DTextureANGLE(const ValidationContext *val, case EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE: if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "Invalid subresource index"); - return false; + return EglBadParameter() << "Invalid subresource index"; } break; case EGL_NATIVE_BUFFER_PLANE_OFFSET_IMG: if (value < 0) { - val->setError(EGL_BAD_PARAMETER, "Invalid plane offset"); - return false; + return EglBadParameter() << "Invalid plane offset"; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid attribute"); - return false; + return EglBadAttribute() << "Invalid attribute"; } } @@ -4183,486 +3514,424 @@ bool ValidateStreamPostD3DTextureANGLE(const ValidationContext *val, stream->getState() != EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR && stream->getState() != EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR) { - val->setError(EGL_BAD_STATE_KHR, "Stream not fully configured"); - return false; + return EglBadState() << "Stream not fully configured"; } if (stream->getProducerType() != Stream::ProducerType::D3D11Texture) { - val->setError(EGL_BAD_MATCH, "Incompatible stream producer"); - return false; + return EglBadMatch() << "Incompatible stream producer"; } if (texture == nullptr) { - val->setError(EGL_BAD_PARAMETER, "Texture is null"); - return false; + return EglBadParameter() << "Texture is null"; } - ANGLE_EGL_TRY_RETURN(val->eglThread, stream->validateD3D11Texture(texture, attribs), - val->entryPoint, val->labeledObject, false); - - return true; + return stream->validateD3D11Texture(texture, attribs); } -bool ValidateSyncControlCHROMIUM(const ValidationContext *val, - const Display *display, - const Surface *eglSurface) +Error ValidateSyncControlCHROMIUM(const Display *display, const Surface *eglSurface) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); + ANGLE_TRY(ValidateDisplay(display)); + ANGLE_TRY(ValidateSurface(display, eglSurface)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.syncControlCHROMIUM) { - val->setError(EGL_BAD_ACCESS, "syncControlCHROMIUM extension not active"); - return false; + return EglBadAccess() << "syncControlCHROMIUM extension not active"; } - return true; + return NoError(); } -bool ValidateSyncControlRateANGLE(const ValidationContext *val, - const Display *display, - const Surface *eglSurface) +Error ValidateSyncControlRateANGLE(const Display *display, const Surface *eglSurface) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); + ANGLE_TRY(ValidateDisplay(display)); + ANGLE_TRY(ValidateSurface(display, eglSurface)); const DisplayExtensions &displayExtensions = display->getExtensions(); if (!displayExtensions.syncControlRateANGLE) { - val->setError(EGL_BAD_ACCESS, "syncControlRateANGLE extension not active"); - return false; + return EglBadAccess() << "syncControlRateANGLE extension not active"; } - return true; + return NoError(); } -bool ValidateGetMscRateANGLE(const ValidationContext *val, - const Display *display, - const Surface *eglSurface, - const EGLint *numerator, - const EGLint *denominator) +Error ValidateGetMscRateANGLE(const Display *display, + const Surface *eglSurface, + const EGLint *numerator, + const EGLint *denominator) { - ANGLE_VALIDATION_TRY(ValidateSyncControlRateANGLE(val, display, eglSurface)); + ANGLE_TRY(ValidateSyncControlRateANGLE(display, eglSurface)); if (numerator == nullptr) { - val->setError(EGL_BAD_PARAMETER, "numerator is null"); - return false; + return EglBadParameter() << "numerator is null"; } if (denominator == nullptr) { - val->setError(EGL_BAD_PARAMETER, "denominator is null"); - return false; + return EglBadParameter() << "denominator is null"; } - return true; + return NoError(); } -bool ValidateGetSyncValuesCHROMIUM(const ValidationContext *val, - const Display *display, - const Surface *eglSurface, - const EGLuint64KHR *ust, - const EGLuint64KHR *msc, - const EGLuint64KHR *sbc) +Error ValidateGetSyncValuesCHROMIUM(const Display *display, + const Surface *eglSurface, + const EGLuint64KHR *ust, + const EGLuint64KHR *msc, + const EGLuint64KHR *sbc) { - ANGLE_VALIDATION_TRY(ValidateSyncControlCHROMIUM(val, display, eglSurface)); + ANGLE_TRY(ValidateSyncControlCHROMIUM(display, eglSurface)); if (ust == nullptr) { - val->setError(EGL_BAD_PARAMETER, "ust is null"); - return false; + return EglBadParameter() << "ust is null"; } if (msc == nullptr) { - val->setError(EGL_BAD_PARAMETER, "msc is null"); - return false; + return EglBadParameter() << "msc is null"; } if (sbc == nullptr) { - val->setError(EGL_BAD_PARAMETER, "sbc is null"); - return false; + return EglBadParameter() << "sbc is null"; } - return true; + return NoError(); } -bool ValidateDestroySurface(const ValidationContext *val, - const Display *display, - const Surface *surface) +Error ValidateDestroySurface(const Display *display, + const Surface *surface, + const EGLSurface eglSurface) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); - return true; + ANGLE_TRY(ValidateSurface(display, surface)); + + if (eglSurface == EGL_NO_SURFACE) + { + return EglBadSurface(); + } + + return NoError(); } -bool ValidateDestroyContext(const ValidationContext *val, - const Display *display, - const gl::Context *glCtx) +Error ValidateDestroyContext(const Display *display, + const gl::Context *glCtx, + const EGLContext eglCtx) { - ANGLE_VALIDATION_TRY(ValidateContext(val, display, glCtx)); - return true; + ANGLE_TRY(ValidateContext(display, glCtx)); + + if (eglCtx == EGL_NO_CONTEXT) + { + return EglBadContext(); + } + + return NoError(); } -bool ValidateSwapBuffers(const ValidationContext *val, - const Display *display, - const Surface *eglSurface) +Error ValidateSwapBuffers(Thread *thread, const Display *display, const Surface *eglSurface) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); + ANGLE_TRY(ValidateSurface(display, eglSurface)); if (display->isDeviceLost()) { - val->setError(EGL_CONTEXT_LOST); - return false; + return EglContextLost(); } - if (eglSurface == EGL_NO_SURFACE || !val->eglThread->getContext() || - val->eglThread->getCurrentDrawSurface() != eglSurface) + if (eglSurface == EGL_NO_SURFACE || !thread->getContext() || + thread->getCurrentDrawSurface() != eglSurface) { - val->setError(EGL_BAD_SURFACE); - return false; + return EglBadSurface(); } - return true; + return NoError(); } -bool ValidateSwapBuffersWithDamageKHR(const ValidationContext *val, - const Display *display, - const Surface *surface, - const EGLint *rects, - EGLint n_rects) +Error ValidateSwapBuffersWithDamageKHR(const Display *display, + const Surface *surface, + EGLint *rects, + EGLint n_rects) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (!display->getExtensions().swapBuffersWithDamage) { // It is out of spec what happens when calling an extension function when the extension is // not available. EGL_BAD_DISPLAY seems like a reasonable error. - val->setError(EGL_BAD_DISPLAY, "EGL_KHR_swap_buffers_with_damage is not available."); - return false; + return EglBadDisplay() << "EGL_KHR_swap_buffers_with_damage is not available."; } if (surface == EGL_NO_SURFACE) { - val->setError(EGL_BAD_SURFACE, "Swap surface cannot be EGL_NO_SURFACE."); - return false; + return EglBadSurface() << "Swap surface cannot be EGL_NO_SURFACE."; } if (n_rects < 0) { - val->setError(EGL_BAD_PARAMETER, "n_rects cannot be negative."); - return false; + return EglBadParameter() << "n_rects cannot be negative."; } if (n_rects > 0 && rects == nullptr) { - val->setError(EGL_BAD_PARAMETER, "n_rects cannot be greater than zero when rects is NULL."); - return false; + return EglBadParameter() << "n_rects cannot be greater than zero when rects is NULL."; } // TODO(jmadill): Validate Surface is bound to the thread. - return true; + return NoError(); } -bool ValidateWaitNative(const ValidationContext *val, const EGLint engine) +Error ValidateWaitNative(const Display *display, const EGLint engine) { - if (val->eglThread->getDisplay() == nullptr) - { - // EGL spec says this about eglWaitNative - - // eglWaitNative is ignored if there is no current EGL rendering context. - return true; - } - - ANGLE_VALIDATION_TRY(ValidateDisplay(val, val->eglThread->getDisplay())); + ANGLE_TRY(ValidateDisplay(display)); if (engine != EGL_CORE_NATIVE_ENGINE) { - val->setError(EGL_BAD_PARAMETER, "the 'engine' parameter has an unrecognized value"); - return false; + return EglBadParameter() << "the 'engine' parameter has an unrecognized value"; } - return true; + return NoError(); } -bool ValidateCopyBuffers(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLNativePixmapType target) +Error ValidateCopyBuffers(Display *display, const Surface *surface) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); - if (display->isDeviceLost()) + if (display->testDeviceLost()) { - val->setError(EGL_CONTEXT_LOST); - return false; + return EglContextLost(); } - return true; + return NoError(); } -bool ValidateBindTexImage(const ValidationContext *val, - const Display *display, - const Surface *surface, - const EGLint buffer) +// Validate state for eglBindTexImage. If context is non-null then textureObject will be set to +// surface's texture that will have an image bound to it +Error ValidateBindTexImage(const Display *display, + const Surface *surface, + const EGLSurface eglSurface, + const EGLint buffer, + const gl::Context *context, + gl::Texture **textureObject) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (buffer != EGL_BACK_BUFFER) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } - if (surface->getType() == EGL_WINDOW_BIT) + if (eglSurface == EGL_NO_SURFACE || surface->getType() == EGL_WINDOW_BIT) { - val->setError(EGL_BAD_SURFACE); - return false; + return EglBadSurface(); } if (surface->getBoundTexture()) { - val->setError(EGL_BAD_ACCESS); - return false; + return EglBadAccess(); } if (surface->getTextureFormat() == TextureFormat::NoTexture) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } - gl::Context *context = val->eglThread->getContext(); if (context) { gl::TextureType type = egl_gl::EGLTextureTargetToTextureType(surface->getTextureTarget()); - gl::Texture *textureObject = context->getTextureByType(type); - ASSERT(textureObject != nullptr); + *textureObject = context->getTextureByType(type); + ASSERT(*textureObject != nullptr); - if (textureObject->getImmutableFormat()) + if ((*textureObject)->getImmutableFormat()) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } } - return true; + return NoError(); } -bool ValidateReleaseTexImage(const ValidationContext *val, - const Display *display, - const Surface *surface, - const EGLint buffer) +Error ValidateReleaseTexImage(const Display *display, + const Surface *surface, + const EGLSurface eglSurface, + const EGLint buffer) { - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (buffer != EGL_BACK_BUFFER) { - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } - if (surface->getType() == EGL_WINDOW_BIT) + if (eglSurface == EGL_NO_SURFACE || surface->getType() == EGL_WINDOW_BIT) { - val->setError(EGL_BAD_SURFACE); - return false; + return EglBadSurface(); } if (surface->getTextureFormat() == TextureFormat::NoTexture) { - val->setError(EGL_BAD_MATCH); - return false; + return EglBadMatch(); } - return true; + return NoError(); } -bool ValidateSwapInterval(const ValidationContext *val, const Display *display, EGLint interval) +Error ValidateSwapInterval(const Display *display, + const Surface *draw_surface, + const gl::Context *context) { - const gl::Context *context = val->eglThread->getContext(); - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); - Surface *drawSurface = val->eglThread->getCurrentDrawSurface(); - if (drawSurface == nullptr) + if (draw_surface == nullptr) { - val->setError(EGL_BAD_SURFACE); - return false; + return EglBadSurface(); } - return true; + return NoError(); } -bool ValidateBindAPI(const ValidationContext *val, const EGLenum api) +Error ValidateBindAPI(const EGLenum api) { switch (api) { case EGL_OPENGL_API: case EGL_OPENVG_API: - val->setError(EGL_BAD_PARAMETER); - return false; // Not supported by this implementation + return EglBadParameter(); // Not supported by this implementation case EGL_OPENGL_ES_API: break; default: - val->setError(EGL_BAD_PARAMETER); - return false; + return EglBadParameter(); } - return true; + return NoError(); } -bool ValidatePresentationTimeANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLnsecsANDROID time) +Error ValidatePresentationTimeANDROID(const Display *display, + const Surface *surface, + EGLnsecsANDROID time) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().presentationTime) { // It is out of spec what happens when calling an extension function when the extension is // not available. EGL_BAD_DISPLAY seems like a reasonable error. - val->setError(EGL_BAD_DISPLAY, "EGL_ANDROID_presentation_time is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_presentation_time is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); - return true; + return NoError(); } -bool ValidateSetBlobCacheFuncsANDROID(const ValidationContext *val, - const Display *display, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get) +Error ValidateSetBlobCacheANDROID(const Display *display, + EGLSetBlobFuncANDROID set, + EGLGetBlobFuncANDROID get) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (display->areBlobCacheFuncsSet()) { - val->setError(EGL_BAD_PARAMETER, - "Blob cache functions can only be set once in the lifetime of a Display"); - return false; + return EglBadParameter() + << "Blob cache functions can only be set once in the lifetime of a Display"; } if (set == nullptr || get == nullptr) { - val->setError(EGL_BAD_PARAMETER, "Blob cache callbacks cannot be null."); - return false; + return EglBadParameter() << "Blob cache callbacks cannot be null."; } - return true; + return NoError(); } -bool ValidateGetConfigAttrib(const ValidationContext *val, - const Display *display, - const Config *config, - EGLint attribute, - const EGLint *value) +Error ValidateGetConfigAttrib(const Display *display, const Config *config, EGLint attribute) { - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, config)); - ANGLE_TRY(ValidateConfigAttribute(val, display, static_cast(attribute))); - return true; + ANGLE_TRY(ValidateConfig(display, config)); + ANGLE_TRY(ValidateConfigAttribute(display, static_cast(attribute))); + return NoError(); } -bool ValidateChooseConfig(const ValidationContext *val, - const Display *display, - const AttributeMap &attribs, - const EGLConfig *configs, - EGLint configSize, - const EGLint *numConfig) +Error ValidateChooseConfig(const Display *display, + const AttributeMap &attribs, + EGLint configSize, + EGLint *numConfig) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - ANGLE_VALIDATION_TRY(ValidateConfigAttributes(val, display, attribs)); + ANGLE_TRY(ValidateDisplay(display)); + ANGLE_TRY(ValidateConfigAttributes(display, attribs)); if (numConfig == nullptr) { - val->setError(EGL_BAD_PARAMETER, "num_config cannot be null."); - return false; + return EglBadParameter() << "num_config cannot be null."; } - return true; + return NoError(); } -bool ValidateGetConfigs(const ValidationContext *val, - const Display *display, - const EGLConfig *configs, - EGLint configSize, - const EGLint *numConfig) +Error ValidateGetConfigs(const Display *display, EGLint configSize, EGLint *numConfig) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (numConfig == nullptr) { - val->setError(EGL_BAD_PARAMETER, "num_config cannot be null."); - return false; + return EglBadParameter() << "num_config cannot be null."; } - return true; + return NoError(); } -bool ValidateGetPlatformDisplay(const ValidationContext *val, - EGLenum platform, - const void *native_display, - const AttributeMap &attribMap) +Error ValidateGetPlatformDisplay(EGLenum platform, + void *native_display, + const EGLAttrib *attrib_list) { - return ValidateGetPlatformDisplayCommon(val, platform, native_display, attribMap); + const auto &attribMap = AttributeMap::CreateFromAttribArray(attrib_list); + return ValidateGetPlatformDisplayCommon(platform, native_display, attribMap); } -bool ValidateGetPlatformDisplayEXT(const ValidationContext *val, - EGLenum platform, - const void *native_display, - const AttributeMap &attribMap) +Error ValidateGetPlatformDisplayEXT(EGLenum platform, + void *native_display, + const EGLint *attrib_list) { - return ValidateGetPlatformDisplayCommon(val, platform, native_display, attribMap); + const auto &attribMap = AttributeMap::CreateFromIntArray(attrib_list); + return ValidateGetPlatformDisplayCommon(platform, native_display, attribMap); } -bool ValidateCreatePlatformWindowSurfaceEXT(const ValidationContext *val, - const Display *display, - const Config *configuration, - const void *nativeWindow, - const AttributeMap &attributes) +Error ValidateCreatePlatformWindowSurfaceEXT(const Display *display, + const Config *configuration, + void *nativeWindow, + const AttributeMap &attributes) { if (!Display::GetClientExtensions().platformBase) { - val->setError(EGL_BAD_ACCESS, "EGL_EXT_platform_base not supported"); - return false; + return EglBadAccess() << "EGL_EXT_platform_base not supported"; } - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, configuration)); + ANGLE_TRY(ValidateConfig(display, configuration)); - val->setError(EGL_BAD_DISPLAY, "ValidateCreatePlatformWindowSurfaceEXT unimplemented."); - return false; + return EglBadDisplay() << "ValidateCreatePlatformWindowSurfaceEXT unimplemented."; } -bool ValidateCreatePlatformPixmapSurfaceEXT(const ValidationContext *val, - const Display *display, - const Config *configuration, - const void *nativePixmap, - const AttributeMap &attributes) +Error ValidateCreatePlatformPixmapSurfaceEXT(const Display *display, + const Config *configuration, + void *nativePixmap, + const AttributeMap &attributes) { if (!Display::GetClientExtensions().platformBase) { - val->setError(EGL_BAD_ACCESS, "EGL_EXT_platform_base not supported"); - return false; + return EglBadAccess() << "EGL_EXT_platform_base not supported"; } - ANGLE_VALIDATION_TRY(ValidateConfig(val, display, configuration)); + ANGLE_TRY(ValidateConfig(display, configuration)); - val->setError(EGL_BAD_DISPLAY, "ValidateCreatePlatformPixmapSurfaceEXT unimplemented."); - return false; + return EglBadDisplay() << "ValidateCreatePlatformPixmapSurfaceEXT unimplemented."; } -bool ValidateProgramCacheGetAttribANGLE(const ValidationContext *val, - const Display *display, - EGLenum attrib) +Error ValidateProgramCacheGetAttribANGLE(const Display *display, EGLenum attrib) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().programCacheControl) { - val->setError(EGL_BAD_ACCESS, "Extension not supported"); - return false; + return EglBadAccess() << "Extension not supported"; } switch (attrib) @@ -4672,110 +3941,93 @@ bool ValidateProgramCacheGetAttribANGLE(const ValidationContext *val, break; default: - val->setError(EGL_BAD_PARAMETER, "Invalid program cache attribute."); - return false; + return EglBadParameter() << "Invalid program cache attribute."; } - return true; + return NoError(); } -bool ValidateProgramCacheQueryANGLE(const ValidationContext *val, - const Display *display, - EGLint index, - const void *key, - const EGLint *keysize, - const void *binary, - const EGLint *binarysize) +Error ValidateProgramCacheQueryANGLE(const Display *display, + EGLint index, + void *key, + EGLint *keysize, + void *binary, + EGLint *binarysize) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().programCacheControl) { - val->setError(EGL_BAD_ACCESS, "Extension not supported"); - return false; + return EglBadAccess() << "Extension not supported"; } if (index < 0 || index >= display->programCacheGetAttrib(EGL_PROGRAM_CACHE_SIZE_ANGLE)) { - val->setError(EGL_BAD_PARAMETER, "Program index out of range."); - return false; + return EglBadParameter() << "Program index out of range."; } if (keysize == nullptr || binarysize == nullptr) { - val->setError(EGL_BAD_PARAMETER, "keysize and binarysize must always be valid pointers."); - return false; + return EglBadParameter() << "keysize and binarysize must always be valid pointers."; } if (binary && *keysize != static_cast(egl::BlobCache::kKeyLength)) { - val->setError(EGL_BAD_PARAMETER, "Invalid program key size."); - return false; + return EglBadParameter() << "Invalid program key size."; } if ((key == nullptr) != (binary == nullptr)) { - val->setError(EGL_BAD_PARAMETER, "key and binary must both be null or both non-null."); - return false; + return EglBadParameter() << "key and binary must both be null or both non-null."; } - return true; + return NoError(); } -bool ValidateProgramCachePopulateANGLE(const ValidationContext *val, - const Display *display, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize) +Error ValidateProgramCachePopulateANGLE(const Display *display, + const void *key, + EGLint keysize, + const void *binary, + EGLint binarysize) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().programCacheControl) { - val->setError(EGL_BAD_ACCESS, "Extension not supported"); - return false; + return EglBadAccess() << "Extension not supported"; } if (keysize != static_cast(egl::BlobCache::kKeyLength)) { - val->setError(EGL_BAD_PARAMETER, "Invalid program key size."); - return false; + return EglBadParameter() << "Invalid program key size."; } if (key == nullptr || binary == nullptr) { - val->setError(EGL_BAD_PARAMETER, "null pointer in arguments."); - return false; + return EglBadParameter() << "null pointer in arguments."; } // Upper bound for binarysize is arbitrary. if (binarysize <= 0 || binarysize > egl::kProgramCacheSizeAbsoluteMax) { - val->setError(EGL_BAD_PARAMETER, "binarysize out of valid range."); - return false; + return EglBadParameter() << "binarysize out of valid range."; } - return true; + return NoError(); } -bool ValidateProgramCacheResizeANGLE(const ValidationContext *val, - const Display *display, - EGLint limit, - EGLint mode) +Error ValidateProgramCacheResizeANGLE(const Display *display, EGLint limit, EGLenum mode) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().programCacheControl) { - val->setError(EGL_BAD_ACCESS, "Extension not supported"); - return false; + return EglBadAccess() << "Extension not supported"; } if (limit < 0) { - val->setError(EGL_BAD_PARAMETER, "limit must be non-negative."); - return false; + return EglBadParameter() << "limit must be non-negative."; } switch (mode) @@ -4785,26 +4037,23 @@ bool ValidateProgramCacheResizeANGLE(const ValidationContext *val, break; default: - val->setError(EGL_BAD_PARAMETER, "Invalid cache resize mode."); - return false; + return EglBadParameter() << "Invalid cache resize mode."; } - return true; + return NoError(); } -bool ValidateSurfaceAttrib(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLint attribute, - EGLint value) +Error ValidateSurfaceAttrib(const Display *display, + const Surface *surface, + EGLint attribute, + EGLint value) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateDisplay(display)); + ANGLE_TRY(ValidateSurface(display, surface)); if (surface == EGL_NO_SURFACE) { - val->setError(EGL_BAD_SURFACE, "Surface cannot be EGL_NO_SURFACE."); - return false; + return EglBadSurface() << "Surface cannot be EGL_NO_SURFACE."; } switch (attribute) @@ -4821,15 +4070,13 @@ bool ValidateSurfaceAttrib(const ValidationContext *val, case EGL_MULTISAMPLE_RESOLVE_BOX: if ((surface->getConfig()->surfaceType & EGL_MULTISAMPLE_RESOLVE_BOX_BIT) == 0) { - val->setError(EGL_BAD_MATCH, - "Surface does not support EGL_MULTISAMPLE_RESOLVE_BOX."); - return false; + return EglBadMatch() + << "Surface does not support EGL_MULTISAMPLE_RESOLVE_BOX."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid multisample resolve type."); - return false; + return EglBadAttribute() << "Invalid multisample resolve type."; } break; @@ -4839,9 +4086,8 @@ bool ValidateSurfaceAttrib(const ValidationContext *val, case EGL_BUFFER_PRESERVED: if ((surface->getConfig()->surfaceType & EGL_SWAP_BEHAVIOR_PRESERVED_BIT) == 0) { - val->setError(EGL_BAD_MATCH, - "Surface does not support EGL_SWAP_BEHAVIOR_PRESERVED."); - return false; + return EglBadMatch() + << "Surface does not support EGL_SWAP_BEHAVIOR_PRESERVED."; } break; @@ -4849,8 +4095,7 @@ bool ValidateSurfaceAttrib(const ValidationContext *val, break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid swap behaviour."); - return false; + return EglBadAttribute() << "Invalid swap behaviour."; } break; @@ -4858,27 +4103,21 @@ bool ValidateSurfaceAttrib(const ValidationContext *val, case EGL_HEIGHT: if (!display->getExtensions().windowFixedSize) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_WIDTH or EGL_HEIGHT cannot be set without " - "EGL_ANGLE_window_fixed_size support."); - return false; + return EglBadAttribute() << "EGL_WIDTH or EGL_HEIGHT cannot be set without " + "EGL_ANGLE_window_fixed_size support."; } if (!surface->isFixedSize()) { - val->setError(EGL_BAD_MATCH, - "EGL_WIDTH or EGL_HEIGHT cannot be set without " - "EGL_FIXED_SIZE_ANGLE being enabled on the surface."); - return false; + return EglBadMatch() << "EGL_WIDTH or EGL_HEIGHT cannot be set without " + "EGL_FIXED_SIZE_ANGLE being enabled on the surface."; } break; case EGL_TIMESTAMPS_ANDROID: if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_TIMESTAMPS_ANDROID cannot be used without " - "EGL_ANDROID_get_frame_timestamps support."); - return false; + return EglBadAttribute() << "EGL_TIMESTAMPS_ANDROID cannot be used without " + "EGL_ANDROID_get_frame_timestamps support."; } switch (value) { @@ -4887,32 +4126,28 @@ bool ValidateSurfaceAttrib(const ValidationContext *val, break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid value."); - return false; + return EglBadAttribute() << "Invalid value."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid surface attribute."); - return false; + return EglBadAttribute() << "Invalid surface attribute."; } - return true; + return NoError(); } -bool ValidateQuerySurface(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLint attribute, - const EGLint *value) +Error ValidateQuerySurface(const Display *display, + const Surface *surface, + EGLint attribute, + EGLint *value) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateDisplay(display)); + ANGLE_TRY(ValidateSurface(display, surface)); if (surface == EGL_NO_SURFACE) { - val->setError(EGL_BAD_SURFACE, "Surface cannot be EGL_NO_SURFACE."); - return false; + return EglBadSurface() << "Surface cannot be EGL_NO_SURFACE."; } switch (attribute) @@ -4939,112 +4174,76 @@ bool ValidateQuerySurface(const ValidationContext *val, case EGL_POST_SUB_BUFFER_SUPPORTED_NV: if (!display->getExtensions().postSubBuffer) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_POST_SUB_BUFFER_SUPPORTED_NV cannot be used " - "without EGL_ANGLE_surface_orientation support."); - return false; + return EglBadAttribute() << "EGL_POST_SUB_BUFFER_SUPPORTED_NV cannot be used " + "without EGL_ANGLE_surface_orientation support."; } break; case EGL_FIXED_SIZE_ANGLE: if (!display->getExtensions().windowFixedSize) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_FIXED_SIZE_ANGLE cannot be used without " - "EGL_ANGLE_window_fixed_size support."); - return false; + return EglBadAttribute() << "EGL_FIXED_SIZE_ANGLE cannot be used without " + "EGL_ANGLE_window_fixed_size support."; } break; case EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE: if (!display->getExtensions().flexibleSurfaceCompatibility) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be " - "used without EGL_ANGLE_flexible_surface_compatibility support."); - return false; + return EglBadAttribute() + << "EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE cannot be " + "used without EGL_ANGLE_flexible_surface_compatibility support."; } break; case EGL_SURFACE_ORIENTATION_ANGLE: if (!display->getExtensions().surfaceOrientation) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_SURFACE_ORIENTATION_ANGLE cannot be " - "queried without " - "EGL_ANGLE_surface_orientation support."); - return false; + return EglBadAttribute() << "EGL_SURFACE_ORIENTATION_ANGLE cannot be " + "queried without " + "EGL_ANGLE_surface_orientation support."; } break; case EGL_DIRECT_COMPOSITION_ANGLE: if (!display->getExtensions().directComposition) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_DIRECT_COMPOSITION_ANGLE cannot be " - "used without " - "EGL_ANGLE_direct_composition support."); - return false; + return EglBadAttribute() << "EGL_DIRECT_COMPOSITION_ANGLE cannot be " + "used without " + "EGL_ANGLE_direct_composition support."; } break; case EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE: if (!display->getExtensions().robustResourceInitialization) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE cannot be " - "used without EGL_ANGLE_robust_resource_initialization " - "support."); - return false; + return EglBadAttribute() << "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE cannot be " + "used without EGL_ANGLE_robust_resource_initialization " + "support."; } break; case EGL_TIMESTAMPS_ANDROID: if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_TIMESTAMPS_ANDROID cannot be used without " - "EGL_ANDROID_get_frame_timestamps support."); - return false; + return EglBadAttribute() << "EGL_TIMESTAMPS_ANDROID cannot be used without " + "EGL_ANDROID_get_frame_timestamps support."; } break; - case EGL_BUFFER_AGE_EXT: - { - if (!display->getExtensions().bufferAgeEXT) - { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_BUFFER_AGE_EXT cannot be used without " - "EGL_EXT_buffer_age support."); - return false; - } - gl::Context *context = val->eglThread->getContext(); - if ((context == nullptr) || (context->getCurrentDrawSurface() != surface)) - { - val->setError(EGL_BAD_SURFACE, - "The surface must be current to the current context " - "in order to query buffer age per extension " - "EGL_EXT_buffer_age."); - return false; - } - } - break; - default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid surface attribute."); - return false; + return EglBadAttribute() << "Invalid surface attribute."; } - return true; + return NoError(); } -bool ValidateQueryContext(const ValidationContext *val, - const Display *display, - const gl::Context *context, - EGLint attribute, - const EGLint *value) +Error ValidateQueryContext(const Display *display, + const gl::Context *context, + EGLint attribute, + EGLint *value) { - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); + ANGLE_TRY(ValidateContext(display, context)); switch (attribute) { @@ -5057,41 +4256,25 @@ bool ValidateQueryContext(const ValidationContext *val, case EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE: if (!display->getExtensions().robustResourceInitialization) { - val->setError(EGL_BAD_ATTRIBUTE, - "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE cannot be " - "used without EGL_ANGLE_robust_resource_initialization " - "support."); - return false; - } - break; - - case EGL_CONTEXT_PRIORITY_LEVEL_IMG: - if (!display->getExtensions().contextPriority) - { - val->setError(EGL_BAD_ATTRIBUTE, - "Attribute EGL_CONTEXT_PRIORITY_LEVEL_IMG requires " - "extension EGL_IMG_context_priority."); - return false; + return EglBadAttribute() << "EGL_ROBUST_RESOURCE_INITIALIZATION_ANGLE cannot be " + "used without EGL_ANGLE_robust_resource_initialization " + "support."; } break; default: - val->setError(EGL_BAD_ATTRIBUTE, "Invalid context attribute."); - return false; + return EglBadAttribute() << "Invalid context attribute."; } - return true; + return NoError(); } -bool ValidateDebugMessageControlKHR(const ValidationContext *val, - EGLDEBUGPROCKHR callback, - const AttributeMap &attribs) +Error ValidateDebugMessageControlKHR(EGLDEBUGPROCKHR callback, const AttributeMap &attribs) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); if (!clientExtensions.debug) { - val->setError(EGL_BAD_ACCESS, "EGL_KHR_debug extension is not available."); - return false; + return EglBadAccess() << "EGL_KHR_debug extension is not available."; } for (const auto &attrib : attribs) @@ -5104,24 +4287,21 @@ bool ValidateDebugMessageControlKHR(const ValidationContext *val, case EGL_DEBUG_MSG_INFO_KHR: if (attrib.second != EGL_TRUE && attrib.second != EGL_FALSE) { - val->setError(EGL_BAD_ATTRIBUTE, - "message controls must be EGL_TRUE or EGL_FALSE."); - return false; + return EglBadAttribute() << "message controls must be EGL_TRUE or EGL_FALSE."; } break; } } - return true; + return NoError(); } -bool ValidateQueryDebugKHR(const ValidationContext *val, EGLint attribute, const EGLAttrib *value) +Error ValidateQueryDebugKHR(EGLint attribute, EGLAttrib *value) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); if (!clientExtensions.debug) { - val->setError(EGL_BAD_ACCESS, "EGL_KHR_debug extension is not available."); - return false; + return EglBadAccess() << "EGL_KHR_debug extension is not available."; } switch (attribute) @@ -5134,91 +4314,79 @@ bool ValidateQueryDebugKHR(const ValidationContext *val, EGLint attribute, const break; default: - val->setError(EGL_BAD_ATTRIBUTE, "unknown attribute."); - return false; + return EglBadAttribute() << "unknown attribute."; } - return true; + return NoError(); } -bool ValidateLabelObjectKHR(const ValidationContext *val, - const Display *display, - ObjectType objectType, - EGLObjectKHR object, - EGLLabelKHR label) +Error ValidateLabelObjectKHR(Thread *thread, + const Display *display, + ObjectType objectType, + EGLObjectKHR object, + EGLLabelKHR label) { const ClientExtensions &clientExtensions = Display::GetClientExtensions(); if (!clientExtensions.debug) { - val->setError(EGL_BAD_ACCESS, "EGL_KHR_debug extension is not available."); - return false; + return EglBadAccess() << "EGL_KHR_debug extension is not available."; } LabeledObject *labeledObject = nullptr; - ANGLE_VALIDATION_TRY(ValidateLabeledObject(val, display, objectType, object, &labeledObject)); + ANGLE_TRY(ValidateLabeledObject(thread, display, objectType, object, &labeledObject)); - return true; + return NoError(); } -bool ValidateGetCompositorTimingSupportedANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - CompositorTiming name) +Error ValidateGetCompositorTimingSupportedANDROID(const Display *display, + const Surface *surface, + CompositorTiming name) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_get_frame_timestamps extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_get_frame_timestamps extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (!ValidCompositorTimingName(name)) { - val->setError(EGL_BAD_PARAMETER, "invalid timing name."); - return false; + return EglBadParameter() << "invalid timing name."; } - return true; + return NoError(); } -bool ValidateGetCompositorTimingANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLint numTimestamps, - const EGLint *names, - const EGLnsecsANDROID *values) +Error ValidateGetCompositorTimingANDROID(const Display *display, + const Surface *surface, + EGLint numTimestamps, + const EGLint *names, + EGLnsecsANDROID *values) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_get_frame_timestamps extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_get_frame_timestamps extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (names == nullptr && numTimestamps > 0) { - val->setError(EGL_BAD_PARAMETER, "names is NULL."); - return false; + return EglBadParameter() << "names is NULL."; } if (values == nullptr && numTimestamps > 0) { - val->setError(EGL_BAD_PARAMETER, "values is NULL."); - return false; + return EglBadParameter() << "values is NULL."; } if (numTimestamps < 0) { - val->setError(EGL_BAD_PARAMETER, "numTimestamps must be at least 0."); - return false; + return EglBadParameter() << "numTimestamps must be at least 0."; } for (EGLint i = 0; i < numTimestamps; i++) @@ -5227,111 +4395,94 @@ bool ValidateGetCompositorTimingANDROID(const ValidationContext *val, if (!ValidCompositorTimingName(name)) { - val->setError(EGL_BAD_PARAMETER, "invalid compositor timing."); - return false; + return EglBadParameter() << "invalid compositor timing."; } if (!surface->getSupportedCompositorTimings().test(name)) { - val->setError(EGL_BAD_PARAMETER, "compositor timing not supported by surface."); - return false; + return EglBadParameter() << "compositor timing not supported by surface."; } } - return true; + return NoError(); } -bool ValidateGetNextFrameIdANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - const EGLuint64KHR *frameId) +Error ValidateGetNextFrameIdANDROID(const Display *display, + const Surface *surface, + EGLuint64KHR *frameId) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_get_frame_timestamps extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_get_frame_timestamps extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (frameId == nullptr) { - val->setError(EGL_BAD_PARAMETER, "frameId is NULL."); - return false; + return EglBadParameter() << "frameId is NULL."; } - return true; + return NoError(); } -bool ValidateGetFrameTimestampSupportedANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - Timestamp timestamp) +Error ValidateGetFrameTimestampSupportedANDROID(const Display *display, + const Surface *surface, + Timestamp timestamp) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_get_frame_timestamps extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_get_frame_timestamps extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (!ValidTimestampType(timestamp)) { - val->setError(EGL_BAD_PARAMETER, "invalid timestamp type."); - return false; + return EglBadParameter() << "invalid timestamp type."; } - return true; + return NoError(); } -bool ValidateGetFrameTimestampsANDROID(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - const EGLnsecsANDROID *values) +Error ValidateGetFrameTimestampsANDROID(const Display *display, + const Surface *surface, + EGLuint64KHR frameId, + EGLint numTimestamps, + const EGLint *timestamps, + EGLnsecsANDROID *values) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().getFrameTimestamps) { - val->setError(EGL_BAD_DISPLAY, - "EGL_ANDROID_get_frame_timestamps extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_get_frame_timestamps extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); if (!surface->isTimestampsEnabled()) { - val->setError(EGL_BAD_SURFACE, "timestamp collection is not enabled for this surface."); - return false; + return EglBadSurface() << "timestamp collection is not enabled for this surface."; } if (timestamps == nullptr && numTimestamps > 0) { - val->setError(EGL_BAD_PARAMETER, "timestamps is NULL."); - return false; + return EglBadParameter() << "timestamps is NULL."; } if (values == nullptr && numTimestamps > 0) { - val->setError(EGL_BAD_PARAMETER, "values is NULL."); - return false; + return EglBadParameter() << "values is NULL."; } if (numTimestamps < 0) { - val->setError(EGL_BAD_PARAMETER, "numTimestamps must be at least 0."); - return false; + return EglBadParameter() << "numTimestamps must be at least 0."; } for (EGLint i = 0; i < numTimestamps; i++) @@ -5340,37 +4491,30 @@ bool ValidateGetFrameTimestampsANDROID(const ValidationContext *val, if (!ValidTimestampType(timestamp)) { - val->setError(EGL_BAD_PARAMETER, "invalid timestamp type."); - return false; + return EglBadParameter() << "invalid timestamp type."; } if (!surface->getSupportedTimestamps().test(timestamp)) { - val->setError(EGL_BAD_PARAMETER, "timestamp not supported by surface."); - return false; + return EglBadParameter() << "timestamp not supported by surface."; } } - return true; + return NoError(); } -bool ValidateQueryStringiANGLE(const ValidationContext *val, - const Display *display, - EGLint name, - EGLint index) +Error ValidateQueryStringiANGLE(const Display *display, EGLint name, EGLint index) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!Display::GetClientExtensions().featureControlANGLE) { - val->setError(EGL_BAD_DISPLAY, "EGL_ANGLE_feature_control extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANGLE_feature_control extension is not available."; } if (index < 0) { - val->setError(EGL_BAD_PARAMETER, "index is negative."); - return false; + return EglBadParameter() << "index is negative."; } switch (name) @@ -5383,60 +4527,72 @@ bool ValidateQueryStringiANGLE(const ValidationContext *val, case EGL_FEATURE_CONDITION_ANGLE: break; default: - val->setError(EGL_BAD_PARAMETER, "name is not valid."); - return false; + return EglBadParameter() << "name is not valid."; } if (static_cast(index) >= display->getFeatures().size()) { - val->setError(EGL_BAD_PARAMETER, "index is too big."); - return false; + return EglBadParameter() << "index is too big."; } - return true; + return NoError(); } -bool ValidateQueryDisplayAttribEXT(const ValidationContext *val, - const Display *display, - const EGLint attribute, - const EGLAttrib *value) +Error ValidateQueryDisplayAttribBase(const Display *display, const EGLint attribute) { - ANGLE_VALIDATION_TRY(ValidateQueryDisplayAttribBase(val, display, attribute)); - return true; + ANGLE_TRY(ValidateDisplay(display)); + + switch (attribute) + { + case EGL_DEVICE_EXT: + if (!display->getExtensions().deviceQuery) + { + return EglBadDisplay() << "EGL_EXT_device_query extension is not available."; + } + break; + + case EGL_FEATURE_COUNT_ANGLE: + if (!Display::GetClientExtensions().featureControlANGLE) + { + return EglBadDisplay() << "EGL_ANGLE_feature_control extension is not available."; + } + break; + + default: + return EglBadAttribute() << "attribute is not valid."; + } + + return NoError(); } -bool ValidateQueryDisplayAttribANGLE(const ValidationContext *val, - const Display *display, - const EGLint attribute, - const EGLAttrib *value) +Error ValidateQueryDisplayAttribEXT(const Display *display, const EGLint attribute) { - ANGLE_VALIDATION_TRY(ValidateQueryDisplayAttribBase(val, display, attribute)); - return true; + ANGLE_TRY(ValidateQueryDisplayAttribBase(display, attribute)); + + return NoError(); } -bool ValidateGetNativeClientBufferANDROID(const ValidationContext *val, - const AHardwareBuffer *buffer) +Error ValidateQueryDisplayAttribANGLE(const Display *display, const EGLint attribute) +{ + ANGLE_TRY(ValidateQueryDisplayAttribBase(display, attribute)); + + return NoError(); +} + +Error ValidateGetNativeClientBufferANDROID(const AHardwareBuffer *buffer) { // No extension check is done because no display is passed to eglGetNativeClientBufferANDROID // despite it being a display extension. No display is needed for the implementation though. if (buffer == nullptr) { - val->setError(EGL_BAD_PARAMETER, "NULL buffer."); - return false; + return EglBadParameter() << "NULL buffer."; } - return true; + return NoError(); } -bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val, - const egl::AttributeMap &attribMap) +Error ValidateCreateNativeClientBufferANDROID(const egl::AttributeMap &attribMap) { - if (attribMap.isEmpty() || attribMap.begin()->second == EGL_NONE) - { - val->setError(EGL_BAD_PARAMETER, "invalid attribute list."); - return false; - } - int width = attribMap.getAsInt(EGL_WIDTH, 0); int height = attribMap.getAsInt(EGL_HEIGHT, 0); int redSize = attribMap.getAsInt(EGL_RED_SIZE, 0); @@ -5461,8 +4617,7 @@ bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val, case EGL_ALPHA_SIZE: if (redSize < 0 || greenSize < 0 || blueSize < 0 || alphaSize < 0) { - val->setError(EGL_BAD_PARAMETER, "incorrect channel size requested"); - return false; + return EglBadParameter() << "incorrect channel size requested"; } break; case EGL_NATIVE_BUFFER_USAGE_ANDROID: @@ -5471,15 +4626,13 @@ bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val, EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID | EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID)) != 0) { - val->setError(EGL_BAD_PARAMETER, "invalid usage flag"); - return false; + return EglBadParameter() << "invalid usage flag"; } break; case EGL_NONE: break; default: - val->setError(EGL_BAD_ATTRIBUTE, "invalid attribute"); - return false; + return EglBadAttribute() << "invalid attribute"; } } @@ -5487,348 +4640,68 @@ bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val, // for the case where EGL_WIDTH and EGL_HEIGHT were not part of the attribute list. if (width <= 0 || height <= 0) { - val->setError(EGL_BAD_PARAMETER, "incorrect buffer dimensions requested"); - return false; + return EglBadParameter() << "incorrect buffer dimensions requested"; } if (gl::GetAndroidHardwareBufferFormatFromChannelSizes(attribMap) == 0) { - val->setError(EGL_BAD_PARAMETER, "unsupported format"); - return false; + return EglBadParameter() << "unsupported format"; } - return true; + return NoError(); } -bool ValidateDupNativeFenceFDANDROID(const ValidationContext *val, - const Display *display, - const Sync *sync) +Error ValidateDupNativeFenceFDANDROID(const Display *display, const Sync *sync) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().nativeFenceSyncANDROID) { - val->setError(EGL_BAD_DISPLAY, "EGL_ANDROID_native_fence_sync extension is not available."); - return false; + return EglBadDisplay() << "EGL_ANDROID_native_fence_sync extension is not available."; } - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); + ANGLE_TRY(ValidateSync(display, sync)); - return true; + return NoError(); } -bool ValidateSwapBuffersWithFrameTokenANGLE(const ValidationContext *val, - const Display *display, - const Surface *surface, - EGLFrameTokenANGLE frametoken) +Error ValidateSwapBuffersWithFrameTokenANGLE(const Display *display, + const Surface *surface, + EGLFrameTokenANGLE frametoken) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); if (!display->getExtensions().swapWithFrameToken) { - val->setError(EGL_BAD_DISPLAY, "EGL_ANGLE_swap_buffers_with_frame_token is not available."); - return false; + return EglBadDisplay() << "EGL_ANGLE_swap_buffers_with_frame_token is not available."; } - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, surface)); + ANGLE_TRY(ValidateSurface(display, surface)); - return true; + return NoError(); } -bool ValidateSignalSyncKHR(const ValidationContext *val, - const Display *display, - const Sync *sync, - EGLenum mode) +Error ValidateSignalSyncKHR(const Display *display, const Sync *sync, EGLint mode) { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); + ANGLE_TRY(ValidateDisplay(display)); - ANGLE_VALIDATION_TRY(ValidateSync(val, display, sync)); + ANGLE_TRY(ValidateSync(display, sync)); if (sync->getType() == EGL_SYNC_REUSABLE_KHR) { if (!display->getExtensions().reusableSyncKHR) { - val->setError(EGL_BAD_MATCH, "EGL_KHR_reusable_sync extension is not available."); - return false; + return EglBadMatch() << "EGL_KHR_reusable_sync extension is not available."; } if ((mode != EGL_SIGNALED_KHR) && (mode != EGL_UNSIGNALED_KHR)) { - val->setError(EGL_BAD_PARAMETER, "eglSignalSyncKHR invalid mode."); - return false; + return EglBadParameter() << "eglSignalSyncKHR invalid mode."; } - return true; + return NoError(); } - val->setError(EGL_BAD_MATCH); - return false; -} - -bool ValidateQuerySurfacePointerANGLE(const ValidationContext *val, - const Display *display, - const Surface *eglSurface, - EGLint attribute, - void *const *value) -{ - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - - if (!display->getExtensions().querySurfacePointer) - { - val->setError(EGL_BAD_ACCESS); - return false; - } - - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); - - // validate the attribute parameter - switch (attribute) - { - case EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE: - if (!display->getExtensions().surfaceD3DTexture2DShareHandle) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - case EGL_DXGI_KEYED_MUTEX_ANGLE: - if (!display->getExtensions().keyedMutex) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - - return true; -} - -bool ValidatePostSubBufferNV(const ValidationContext *val, - const Display *display, - const Surface *eglSurface, - EGLint x, - EGLint y, - EGLint width, - EGLint height) -{ - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - - if (!display->getExtensions().postSubBuffer) - { - val->setError(EGL_BAD_ACCESS); - return false; - } - - if (x < 0 || y < 0 || width < 0 || height < 0) - { - val->setError(EGL_BAD_PARAMETER); - return false; - } - - ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); - - if (display->isDeviceLost()) - { - val->setError(EGL_CONTEXT_LOST); - return false; - } - - return true; -} - -bool ValidateQueryDeviceAttribEXT(const ValidationContext *val, - const Device *device, - EGLint attribute, - const EGLAttrib *value) -{ - ANGLE_VALIDATION_TRY(ValidateDevice(val, device)); - - if (!Display::GetClientExtensions().deviceQueryEXT) - { - val->setError(EGL_BAD_ACCESS, "EGL_EXT_device_query not supported."); - return false; - } - - // validate the attribute parameter - switch (attribute) - { - case EGL_D3D11_DEVICE_ANGLE: - case EGL_D3D9_DEVICE_ANGLE: - if (!device->getExtensions().deviceD3D || device->getType() != attribute) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - case EGL_EAGL_CONTEXT_ANGLE: - if (!device->getExtensions().deviceEAGL) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - case EGL_METAL_DEVICE_ANGLE: - if (!device->getExtensions().deviceMetal) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - case EGL_CGL_CONTEXT_ANGLE: - case EGL_CGL_PIXEL_FORMAT_ANGLE: - if (!device->getExtensions().deviceCGL) - { - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - break; - default: - val->setError(EGL_BAD_ATTRIBUTE); - return false; - } - return true; -} - -bool ValidateQueryDeviceStringEXT(const ValidationContext *val, const Device *device, EGLint name) -{ - ANGLE_VALIDATION_TRY(ValidateDevice(val, device)); - return true; -} - -bool ValidateReleaseHighPowerGPUANGLE(const ValidationContext *val, - const Display *display, - const gl::Context *context) -{ - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); - return true; -} - -bool ValidateReacquireHighPowerGPUANGLE(const ValidationContext *val, - const Display *display, - const gl::Context *context) -{ - ANGLE_VALIDATION_TRY(ValidateContext(val, display, context)); - return true; -} - -bool ValidateHandleGPUSwitchANGLE(const ValidationContext *val, const Display *display) -{ - ANGLE_VALIDATION_TRY(ValidateDisplay(val, display)); - return true; -} - -bool ValidateGetCurrentDisplay(const ValidationContext *val) -{ - return true; -} - -bool ValidateGetCurrentSurface(const ValidationContext *val, EGLint readdraw) -{ - return true; -} - -bool ValidateGetDisplay(const ValidationContext *val, EGLNativeDisplayType display_id) -{ - return true; -} - -bool ValidateGetError(const ValidationContext *val) -{ - return true; -} - -bool ValidateGetProcAddress(const ValidationContext *val, const char *procname) -{ - return true; -} - -bool ValidateQueryString(const ValidationContext *val, const Display *dpyPacked, EGLint name) -{ - if (name != EGL_EXTENSIONS || dpyPacked != nullptr) - { - ANGLE_VALIDATION_TRY(ValidateDisplay(val, dpyPacked)); - } - - switch (name) - { - case EGL_CLIENT_APIS: - case EGL_EXTENSIONS: - case EGL_VENDOR: - case EGL_VERSION: - break; - default: - val->setError(EGL_BAD_PARAMETER); - return false; - } - return true; -} - -bool ValidateWaitGL(const ValidationContext *val) -{ - if (val->eglThread->getDisplay() == nullptr) - { - // EGL spec says this about eglWaitGL - - // eglWaitGL is ignored if there is no current EGL rendering context for OpenGL ES. - return true; - } - - ANGLE_VALIDATION_TRY(ValidateDisplay(val, val->eglThread->getDisplay())); - return true; -} - -bool ValidateQueryAPI(const ValidationContext *val) -{ - return true; -} - -bool ValidateReleaseThread(const ValidationContext *val) -{ - return true; -} - -bool ValidateWaitClient(const ValidationContext *val) -{ - if (val->eglThread->getDisplay() == nullptr) - { - // EGL spec says this about eglWaitClient - - // If there is no current context for the current rendering API, - // the function has no effect but still returns EGL_TRUE. - return true; - } - - ANGLE_VALIDATION_TRY(ValidateDisplay(val, val->eglThread->getDisplay())); - return true; -} - -bool ValidateGetCurrentContext(const ValidationContext *val) -{ - return true; -} - -bool ValidateCreatePlatformPixmapSurface(const ValidationContext *val, - const Display *dpyPacked, - const Config *configPacked, - const void *native_pixmap, - const AttributeMap &attrib_listPacked) -{ - EGLNativePixmapType nativePixmap = - reinterpret_cast(const_cast(native_pixmap)); - return ValidateCreatePixmapSurface(val, dpyPacked, configPacked, nativePixmap, - attrib_listPacked); -} - -bool ValidateCreatePlatformWindowSurface(const ValidationContext *val, - const Display *dpyPacked, - const Config *configPacked, - const void *native_window, - const AttributeMap &attrib_listPacked) -{ - EGLNativeWindowType nativeWindow = - reinterpret_cast(const_cast(native_window)); - return ValidateCreateWindowSurface(val, dpyPacked, configPacked, nativeWindow, - attrib_listPacked); + return EglBadMatch(); } } // namespace egl diff --git a/gfx/angle/checkout/src/libANGLE/validationEGL.h b/gfx/angle/checkout/src/libANGLE/validationEGL.h index 410b161d61fa..df2dfb1969a4 100644 --- a/gfx/angle/checkout/src/libANGLE/validationEGL.h +++ b/gfx/angle/checkout/src/libANGLE/validationEGL.h @@ -11,7 +11,7 @@ #include "common/PackedEnums.h" #include "libANGLE/Error.h" -#include "libANGLE/Thread.h" +#include "libANGLE/Texture.h" #include #include @@ -36,31 +36,14 @@ class Sync; class Thread; class LabeledObject; -struct ValidationContext -{ - ValidationContext(Thread *threadIn, const char *entryPointIn, const LabeledObject *objectIn) - : eglThread(threadIn), entryPoint(entryPointIn), labeledObject(objectIn) - {} - - // We should remove the message-less overload once we have messages for all EGL errors. - void setError(EGLint error) const; - void setError(EGLint error, const char *message...) const; - - Thread *eglThread; - const char *entryPoint; - const LabeledObject *labeledObject; -}; - // Object validation -bool ValidateDisplay(const ValidationContext *val, const Display *display); -bool ValidateSurface(const ValidationContext *val, const Display *display, const Surface *surface); -bool ValidateConfig(const ValidationContext *val, const Display *display, const Config *config); -bool ValidateContext(const ValidationContext *val, - const Display *display, - const gl::Context *context); -bool ValidateImage(const ValidationContext *val, const Display *display, const Image *image); -bool ValidateDevice(const ValidationContext *val, const Device *device); -bool ValidateSync(const ValidationContext *val, const Display *display, const Sync *sync); +Error ValidateDisplay(const Display *display); +Error ValidateSurface(const Display *display, const Surface *surface); +Error ValidateConfig(const Display *display, const Config *config); +Error ValidateContext(const Display *display, const gl::Context *context); +Error ValidateImage(const Display *display, const Image *image); +Error ValidateDevice(const Device *device); +Error ValidateSync(const Display *display, const Sync *sync); // Return the requested object only if it is valid (otherwise nullptr) const Thread *GetThreadIfValid(const Thread *thread); @@ -76,107 +59,316 @@ LabeledObject *GetLabeledObjectIfValid(Thread *thread, ObjectType objectType, EGLObjectKHR object); -// A template struct for determining the default value to return for each entry point. -template -struct DefaultReturnValue -{ - static constexpr ReturnType kValue = static_cast(0); -}; +// Entry point validation +Error ValidateInitialize(const Display *display); -template -ReturnType GetDefaultReturnValue(Thread *thread); +Error ValidateTerminate(const Display *display); -template <> -ANGLE_INLINE EGLint -GetDefaultReturnValue(Thread *thread) -{ - return thread->getError(); -} +Error ValidateCreateContext(Display *display, + Config *configuration, + gl::Context *shareContext, + const AttributeMap &attributes); -template -ANGLE_INLINE ReturnType GetDefaultReturnValue(Thread *thread) -{ - return DefaultReturnValue::kValue; -} +Error ValidateCreateWindowSurface(Display *display, + Config *config, + EGLNativeWindowType window, + const AttributeMap &attributes); -// First case: handling packed enums. -template -typename std::enable_if::value, PackedT>::type PackParam(FromT from) -{ - return FromEGLenum(from); -} +Error ValidateCreatePbufferSurface(Display *display, + Config *config, + const AttributeMap &attributes); +Error ValidateCreatePbufferFromClientBuffer(Display *display, + EGLenum buftype, + EGLClientBuffer buffer, + Config *config, + const AttributeMap &attributes); -template -typename std::enable_if::value, - typename std::remove_reference::type>::type -PackParam(FromT from); +Error ValidateCreatePixmapSurface(Display *display, + Config *config, + EGLNativePixmapType pixmap, + const AttributeMap &attributes); -// Second case: handling attrib/int arrays -template <> -inline const AttributeMap PackParam(const EGLint *attribs) -{ - return AttributeMap::CreateFromIntArray(attribs); -} +Error ValidateMakeCurrent(Display *display, Surface *draw, Surface *read, gl::Context *context); -// In a 32-bit environment the EGLAttrib and EGLint types are the same. We need to mask out one of -// the two specializations to avoid having an override ambiguity. -template ::value>::type* = nullptr> -inline typename std::remove_reference::type PackParam(const EGLAttrib *attribs) -{ - return AttributeMap::CreateFromAttribArray(attribs); -} +Error ValidateCreateImage(const Display *display, + gl::Context *context, + EGLenum target, + EGLClientBuffer buffer, + const AttributeMap &attributes); +Error ValidateDestroyImage(const Display *display, const Image *image); +Error ValidateCreateImageKHR(const Display *display, + gl::Context *context, + EGLenum target, + EGLClientBuffer buffer, + const AttributeMap &attributes); +Error ValidateDestroyImageKHR(const Display *display, const Image *image); + +Error ValidateCreateDeviceANGLE(EGLint device_type, + void *native_device, + const EGLAttrib *attrib_list); +Error ValidateReleaseDeviceANGLE(Device *device); + +Error ValidateCreateSyncBase(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext, + bool isExt); +Error ValidateGetSyncAttribBase(const Display *display, const Sync *sync, EGLint attribute); + +Error ValidateCreateSyncKHR(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext); +Error ValidateCreateSync(const Display *display, + EGLenum type, + const AttributeMap &attribs, + const Display *currentDisplay, + const gl::Context *currentContext); +Error ValidateDestroySync(const Display *display, const Sync *sync); +Error ValidateClientWaitSync(const Display *display, + const Sync *sync, + EGLint flags, + EGLTime timeout); +Error ValidateWaitSync(const Display *display, + const gl::Context *context, + const Sync *sync, + EGLint flags); +Error ValidateGetSyncAttribKHR(const Display *display, + const Sync *sync, + EGLint attribute, + EGLint *value); +Error ValidateGetSyncAttrib(const Display *display, + const Sync *sync, + EGLint attribute, + EGLAttrib *value); + +Error ValidateCreateStreamKHR(const Display *display, const AttributeMap &attributes); +Error ValidateDestroyStreamKHR(const Display *display, const Stream *stream); +Error ValidateStreamAttribKHR(const Display *display, + const Stream *stream, + EGLint attribute, + EGLint value); +Error ValidateQueryStreamKHR(const Display *display, + const Stream *stream, + EGLenum attribute, + EGLint *value); +Error ValidateQueryStreamu64KHR(const Display *display, + const Stream *stream, + EGLenum attribute, + EGLuint64KHR *value); +Error ValidateStreamConsumerGLTextureExternalKHR(const Display *display, + gl::Context *context, + const Stream *stream); +Error ValidateStreamConsumerAcquireKHR(const Display *display, + gl::Context *context, + const Stream *stream); +Error ValidateStreamConsumerReleaseKHR(const Display *display, + gl::Context *context, + const Stream *stream); +Error ValidateStreamConsumerGLTextureExternalAttribsNV(const Display *display, + gl::Context *context, + const Stream *stream, + const AttributeMap &attribs); +Error ValidateCreateStreamProducerD3DTextureANGLE(const Display *display, + const Stream *stream, + const AttributeMap &attribs); +Error ValidateStreamPostD3DTextureANGLE(const Display *display, + const Stream *stream, + void *texture, + const AttributeMap &attribs); + +Error ValidateGetMscRateANGLE(const Display *display, + const Surface *surface, + const EGLint *numerator, + const EGLint *denominator); +Error ValidateGetSyncValuesCHROMIUM(const Display *display, + const Surface *surface, + const EGLuint64KHR *ust, + const EGLuint64KHR *msc, + const EGLuint64KHR *sbc); + +Error ValidateDestroySurface(const Display *display, + const Surface *surface, + const EGLSurface eglSurface); + +Error ValidateDestroyContext(const Display *display, + const gl::Context *glCtx, + const EGLContext eglCtx); + +Error ValidateSwapBuffers(Thread *thread, const Display *display, const Surface *surface); + +Error ValidateWaitNative(const Display *display, const EGLint engine); + +Error ValidateCopyBuffers(Display *display, const Surface *surface); + +Error ValidateSwapBuffersWithDamageKHR(const Display *display, + const Surface *surface, + EGLint *rects, + EGLint n_rects); + +Error ValidateBindTexImage(const Display *display, + const Surface *surface, + const EGLSurface eglSurface, + const EGLint buffer, + const gl::Context *context, + gl::Texture **textureObject); + +Error ValidateReleaseTexImage(const Display *display, + const Surface *surface, + const EGLSurface eglSurface, + const EGLint buffer); + +Error ValidateSwapInterval(const Display *display, + const Surface *draw_surface, + const gl::Context *context); + +Error ValidateBindAPI(const EGLenum api); + +Error ValidatePresentationTimeANDROID(const Display *display, + const Surface *surface, + EGLnsecsANDROID time); + +Error ValidateSetBlobCacheANDROID(const Display *display, + EGLSetBlobFuncANDROID set, + EGLGetBlobFuncANDROID get); + +Error ValidateGetConfigAttrib(const Display *display, const Config *config, EGLint attribute); +Error ValidateChooseConfig(const Display *display, + const AttributeMap &attribs, + EGLint configSize, + EGLint *numConfig); +Error ValidateGetConfigs(const Display *display, EGLint configSize, EGLint *numConfig); + +// Other validation +Error ValidateCompatibleSurface(const Display *display, + gl::Context *context, + const Surface *surface); + +Error ValidateGetPlatformDisplay(EGLenum platform, + void *native_display, + const EGLAttrib *attrib_list); +Error ValidateGetPlatformDisplayEXT(EGLenum platform, + void *native_display, + const EGLint *attrib_list); +Error ValidateCreatePlatformWindowSurfaceEXT(const Display *display, + const Config *configuration, + void *nativeWindow, + const AttributeMap &attributes); +Error ValidateCreatePlatformPixmapSurfaceEXT(const Display *display, + const Config *configuration, + void *nativePixmap, + const AttributeMap &attributes); + +Error ValidateProgramCacheGetAttribANGLE(const Display *display, EGLenum attrib); + +Error ValidateProgramCacheQueryANGLE(const Display *display, + EGLint index, + void *key, + EGLint *keysize, + void *binary, + EGLint *binarysize); + +Error ValidateProgramCachePopulateANGLE(const Display *display, + const void *key, + EGLint keysize, + const void *binary, + EGLint binarysize); + +Error ValidateProgramCacheResizeANGLE(const Display *display, EGLint limit, EGLenum mode); + +Error ValidateSurfaceAttrib(const Display *display, + const Surface *surface, + EGLint attribute, + EGLint value); +Error ValidateQuerySurface(const Display *display, + const Surface *surface, + EGLint attribute, + EGLint *value); +Error ValidateQueryContext(const Display *display, + const gl::Context *context, + EGLint attribute, + EGLint *value); + +// EGL_KHR_debug +Error ValidateDebugMessageControlKHR(EGLDEBUGPROCKHR callback, const AttributeMap &attribs); + +Error ValidateQueryDebugKHR(EGLint attribute, EGLAttrib *value); + +Error ValidateLabelObjectKHR(Thread *thread, + const Display *display, + ObjectType objectType, + EGLObjectKHR object, + EGLLabelKHR label); + +// ANDROID_get_frame_timestamps +Error ValidateGetCompositorTimingSupportedANDROID(const Display *display, + const Surface *surface, + CompositorTiming name); + +Error ValidateGetCompositorTimingANDROID(const Display *display, + const Surface *surface, + EGLint numTimestamps, + const EGLint *names, + EGLnsecsANDROID *values); + +Error ValidateGetNextFrameIdANDROID(const Display *display, + const Surface *surface, + EGLuint64KHR *frameId); + +Error ValidateGetFrameTimestampSupportedANDROID(const Display *display, + const Surface *surface, + Timestamp timestamp); + +Error ValidateGetFrameTimestampsANDROID(const Display *display, + const Surface *surface, + EGLuint64KHR frameId, + EGLint numTimestamps, + const EGLint *timestamps, + EGLnsecsANDROID *values); + +Error ValidateQueryStringiANGLE(const Display *display, EGLint name, EGLint index); + +Error ValidateQueryDisplayAttribEXT(const Display *display, const EGLint attribute); +Error ValidateQueryDisplayAttribANGLE(const Display *display, const EGLint attribute); + +// EGL_ANDROID_get_native_client_buffer +Error ValidateGetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer); + +// EGL_ANDROID_create_native_client_buffer +Error ValidateCreateNativeClientBufferANDROID(const egl::AttributeMap &attribMap); + +// EGL_ANDROID_native_fence_sync +Error ValidateDupNativeFenceFDANDROID(const Display *display, const Sync *sync); + +// EGL_ANGLE_swap_with_frame_token +Error ValidateSwapBuffersWithFrameTokenANGLE(const Display *display, + const Surface *surface, + EGLFrameTokenANGLE frametoken); + +// EGL_KHR_reusable_sync +Error ValidateSignalSyncKHR(const Display *display, const Sync *sync, EGLint mode); -// Third case: handling other types. -template -inline typename std::enable_if::value, - typename std::remove_reference::type>::type -PackParam(FromT from) -{ - return static_cast(from); -} } // namespace egl -#define ANGLE_EGL_VALIDATE(THREAD, EP, OBJ, RETURN_TYPE, ...) \ - do \ - { \ - const char *epname = "egl" #EP; \ - ValidationContext vctx(THREAD, epname, OBJ); \ - auto ANGLE_LOCAL_VAR = (Validate##EP(&vctx, ##__VA_ARGS__)); \ - if (!ANGLE_LOCAL_VAR) \ - { \ - return GetDefaultReturnValue(THREAD); \ - } \ +#define ANGLE_EGL_TRY(THREAD, EXPR, FUNCNAME, LABELOBJECT) \ + do \ + { \ + auto ANGLE_LOCAL_VAR = (EXPR); \ + if (ANGLE_LOCAL_VAR.isError()) \ + return THREAD->setError(ANGLE_LOCAL_VAR, GetDebug(), FUNCNAME, LABELOBJECT); \ } while (0) -#define ANGLE_EGL_VALIDATE_VOID(THREAD, EP, OBJ, ...) \ - do \ - { \ - const char *epname = "egl" #EP; \ - ValidationContext vctx(THREAD, epname, OBJ); \ - auto ANGLE_LOCAL_VAR = (Validate##EP(&vctx, ##__VA_ARGS__)); \ - if (!ANGLE_LOCAL_VAR) \ - { \ - return; \ - } \ - } while (0) - -#define ANGLE_EGL_TRY(THREAD, EXPR, FUNCNAME, LABELOBJECT) \ - do \ - { \ - auto ANGLE_LOCAL_VAR = (EXPR); \ - if (ANGLE_LOCAL_VAR.isError()) \ - return THREAD->setError(ANGLE_LOCAL_VAR, FUNCNAME, LABELOBJECT); \ - } while (0) - -#define ANGLE_EGL_TRY_RETURN(THREAD, EXPR, FUNCNAME, LABELOBJECT, RETVAL) \ - do \ - { \ - auto ANGLE_LOCAL_VAR = (EXPR); \ - if (ANGLE_LOCAL_VAR.isError()) \ - { \ - THREAD->setError(ANGLE_LOCAL_VAR, FUNCNAME, LABELOBJECT); \ - return RETVAL; \ - } \ +#define ANGLE_EGL_TRY_RETURN(THREAD, EXPR, FUNCNAME, LABELOBJECT, RETVAL) \ + do \ + { \ + auto ANGLE_LOCAL_VAR = (EXPR); \ + if (ANGLE_LOCAL_VAR.isError()) \ + { \ + THREAD->setError(ANGLE_LOCAL_VAR, GetDebug(), FUNCNAME, LABELOBJECT); \ + return RETVAL; \ + } \ } while (0) #endif // LIBANGLE_VALIDATIONEGL_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationEGL_autogen.h b/gfx/angle/checkout/src/libANGLE/validationEGL_autogen.h deleted file mode 100644 index 869bd86e571e..000000000000 --- a/gfx/angle/checkout/src/libANGLE/validationEGL_autogen.h +++ /dev/null @@ -1,454 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// validationEGL_autogen.h: -// Validation functions for the EGL entry points. - -#ifndef LIBANGLE_VALIDATION_EGL_AUTOGEN_H_ -#define LIBANGLE_VALIDATION_EGL_AUTOGEN_H_ - -#include "libANGLE/validationEGL.h" - -namespace egl -{ - -// EGL 1.0 -bool ValidateChooseConfig(const ValidationContext *val, - const egl::Display *dpyPacked, - const AttributeMap &attrib_listPacked, - const EGLConfig *configs, - EGLint config_size, - const EGLint *num_config); -bool ValidateCopyBuffers(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLNativePixmapType target); -bool ValidateCreateContext(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const gl::Context *share_contextPacked, - const AttributeMap &attrib_listPacked); -bool ValidateCreatePbufferSurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const AttributeMap &attrib_listPacked); -bool ValidateCreatePixmapSurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - EGLNativePixmapType pixmap, - const AttributeMap &attrib_listPacked); -bool ValidateCreateWindowSurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - EGLNativeWindowType win, - const AttributeMap &attrib_listPacked); -bool ValidateDestroyContext(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked); -bool ValidateDestroySurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked); -bool ValidateGetConfigAttrib(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - EGLint attribute, - const EGLint *value); -bool ValidateGetConfigs(const ValidationContext *val, - const egl::Display *dpyPacked, - const EGLConfig *configs, - EGLint config_size, - const EGLint *num_config); -bool ValidateGetCurrentDisplay(const ValidationContext *val); -bool ValidateGetCurrentSurface(const ValidationContext *val, EGLint readdraw); -bool ValidateGetDisplay(const ValidationContext *val, EGLNativeDisplayType display_id); -bool ValidateGetError(const ValidationContext *val); -bool ValidateGetProcAddress(const ValidationContext *val, const char *procname); -bool ValidateInitialize(const ValidationContext *val, - const egl::Display *dpyPacked, - const EGLint *major, - const EGLint *minor); -bool ValidateMakeCurrent(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *drawPacked, - const Surface *readPacked, - const gl::Context *ctxPacked); -bool ValidateQueryContext(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked, - EGLint attribute, - const EGLint *value); -bool ValidateQueryString(const ValidationContext *val, const egl::Display *dpyPacked, EGLint name); -bool ValidateQuerySurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint attribute, - const EGLint *value); -bool ValidateSwapBuffers(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked); -bool ValidateTerminate(const ValidationContext *val, const egl::Display *dpyPacked); -bool ValidateWaitGL(const ValidationContext *val); -bool ValidateWaitNative(const ValidationContext *val, EGLint engine); - -// EGL 1.1 -bool ValidateBindTexImage(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint buffer); -bool ValidateReleaseTexImage(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint buffer); -bool ValidateSurfaceAttrib(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint attribute, - EGLint value); -bool ValidateSwapInterval(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint interval); - -// EGL 1.2 -bool ValidateBindAPI(const ValidationContext *val, EGLenum api); -bool ValidateCreatePbufferFromClientBuffer(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLenum buftype, - EGLClientBuffer buffer, - const Config *configPacked, - const AttributeMap &attrib_listPacked); -bool ValidateQueryAPI(const ValidationContext *val); -bool ValidateReleaseThread(const ValidationContext *val); -bool ValidateWaitClient(const ValidationContext *val); - -// EGL 1.4 -bool ValidateGetCurrentContext(const ValidationContext *val); - -// EGL 1.5 -bool ValidateClientWaitSync(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint flags, - EGLTime timeout); -bool ValidateCreateImage(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attrib_listPacked); -bool ValidateCreatePlatformPixmapSurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const void *native_pixmap, - const AttributeMap &attrib_listPacked); -bool ValidateCreatePlatformWindowSurface(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const void *native_window, - const AttributeMap &attrib_listPacked); -bool ValidateCreateSync(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLenum type, - const AttributeMap &attrib_listPacked); -bool ValidateDestroyImage(const ValidationContext *val, - const egl::Display *dpyPacked, - const Image *imagePacked); -bool ValidateDestroySync(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked); -bool ValidateGetPlatformDisplay(const ValidationContext *val, - EGLenum platform, - const void *native_display, - const AttributeMap &attrib_listPacked); -bool ValidateGetSyncAttrib(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint attribute, - const EGLAttrib *value); -bool ValidateWaitSync(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint flags); - -// EGL_ANDROID_blob_cache -bool ValidateSetBlobCacheFuncsANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get); - -// EGL_ANDROID_create_native_client_buffer -bool ValidateCreateNativeClientBufferANDROID(const ValidationContext *val, - const AttributeMap &attrib_listPacked); - -// EGL_ANDROID_get_frame_timestamps -bool ValidateGetCompositorTimingSupportedANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - CompositorTiming namePacked); -bool ValidateGetCompositorTimingANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint numTimestamps, - const EGLint *names, - const EGLnsecsANDROID *values); -bool ValidateGetNextFrameIdANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - const EGLuint64KHR *frameId); -bool ValidateGetFrameTimestampSupportedANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - Timestamp timestampPacked); -bool ValidateGetFrameTimestampsANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - const EGLnsecsANDROID *values); - -// EGL_ANDROID_get_native_client_buffer -bool ValidateGetNativeClientBufferANDROID(const ValidationContext *val, - const struct AHardwareBuffer *buffer); - -// EGL_ANDROID_native_fence_sync -bool ValidateDupNativeFenceFDANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked); - -// EGL_ANDROID_presentation_time -bool ValidatePresentationTimeANDROID(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLnsecsANDROID time); - -// EGL_ANGLE_device_creation -bool ValidateCreateDeviceANGLE(const ValidationContext *val, - EGLint device_type, - const void *native_device, - const EGLAttrib *attrib_list); -bool ValidateReleaseDeviceANGLE(const ValidationContext *val, const Device *devicePacked); - -// EGL_ANGLE_feature_control -bool ValidateQueryStringiANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint name, - EGLint index); -bool ValidateQueryDisplayAttribANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint attribute, - const EGLAttrib *value); - -// EGL_ANGLE_power_preference -bool ValidateReleaseHighPowerGPUANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked); -bool ValidateReacquireHighPowerGPUANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked); -bool ValidateHandleGPUSwitchANGLE(const ValidationContext *val, const egl::Display *dpyPacked); - -// EGL_ANGLE_program_cache_control -bool ValidateProgramCacheGetAttribANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLenum attrib); -bool ValidateProgramCacheQueryANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint index, - const void *key, - const EGLint *keysize, - const void *binary, - const EGLint *binarysize); -bool ValidateProgramCachePopulateANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize); -bool ValidateProgramCacheResizeANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint limit, - EGLint mode); - -// EGL_ANGLE_query_surface_pointer -bool ValidateQuerySurfacePointerANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint attribute, - void *const *value); - -// EGL_ANGLE_stream_producer_d3d_texture -bool ValidateCreateStreamProducerD3DTextureANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - const AttributeMap &attrib_listPacked); -bool ValidateStreamPostD3DTextureANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - const void *texture, - const AttributeMap &attrib_listPacked); - -// EGL_ANGLE_swap_with_frame_token -bool ValidateSwapBuffersWithFrameTokenANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLFrameTokenANGLE frametoken); - -// EGL_ANGLE_sync_control_rate -bool ValidateGetMscRateANGLE(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - const EGLint *numerator, - const EGLint *denominator); - -// EGL_CHROMIUM_sync_control -bool ValidateGetSyncValuesCHROMIUM(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - const EGLuint64KHR *ust, - const EGLuint64KHR *msc, - const EGLuint64KHR *sbc); - -// EGL_EXT_device_query -bool ValidateQueryDeviceAttribEXT(const ValidationContext *val, - const Device *devicePacked, - EGLint attribute, - const EGLAttrib *value); -bool ValidateQueryDeviceStringEXT(const ValidationContext *val, - const Device *devicePacked, - EGLint name); -bool ValidateQueryDisplayAttribEXT(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLint attribute, - const EGLAttrib *value); - -// EGL_EXT_platform_base -bool ValidateCreatePlatformPixmapSurfaceEXT(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const void *native_pixmap, - const AttributeMap &attrib_listPacked); -bool ValidateCreatePlatformWindowSurfaceEXT(const ValidationContext *val, - const egl::Display *dpyPacked, - const Config *configPacked, - const void *native_window, - const AttributeMap &attrib_listPacked); -bool ValidateGetPlatformDisplayEXT(const ValidationContext *val, - EGLenum platform, - const void *native_display, - const AttributeMap &attrib_listPacked); - -// EGL_KHR_debug -bool ValidateDebugMessageControlKHR(const ValidationContext *val, - EGLDEBUGPROCKHR callback, - const AttributeMap &attrib_listPacked); -bool ValidateLabelObjectKHR(const ValidationContext *val, - const egl::Display *displayPacked, - ObjectType objectTypePacked, - EGLObjectKHR object, - EGLLabelKHR label); -bool ValidateQueryDebugKHR(const ValidationContext *val, EGLint attribute, const EGLAttrib *value); - -// EGL_KHR_fence_sync -bool ValidateClientWaitSyncKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint flags, - EGLTimeKHR timeout); -bool ValidateCreateSyncKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - EGLenum type, - const AttributeMap &attrib_listPacked); -bool ValidateDestroySyncKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked); -bool ValidateGetSyncAttribKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint attribute, - const EGLint *value); - -// EGL_KHR_image -bool ValidateCreateImageKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const gl::Context *ctxPacked, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attrib_listPacked); -bool ValidateDestroyImageKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Image *imagePacked); - -// EGL_KHR_reusable_sync -bool ValidateSignalSyncKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLenum mode); - -// EGL_KHR_stream -bool ValidateCreateStreamKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const AttributeMap &attrib_listPacked); -bool ValidateDestroyStreamKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked); -bool ValidateQueryStreamKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - EGLenum attribute, - const EGLint *value); -bool ValidateQueryStreamu64KHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - EGLenum attribute, - const EGLuint64KHR *value); -bool ValidateStreamAttribKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - EGLenum attribute, - EGLint value); - -// EGL_KHR_stream_consumer_gltexture -bool ValidateStreamConsumerAcquireKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked); -bool ValidateStreamConsumerGLTextureExternalKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked); -bool ValidateStreamConsumerReleaseKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked); - -// EGL_KHR_swap_buffers_with_damage -bool ValidateSwapBuffersWithDamageKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - const EGLint *rects, - EGLint n_rects); - -// EGL_KHR_wait_sync -bool ValidateWaitSyncKHR(const ValidationContext *val, - const egl::Display *dpyPacked, - const Sync *syncPacked, - EGLint flags); - -// EGL_NV_post_sub_buffer -bool ValidatePostSubBufferNV(const ValidationContext *val, - const egl::Display *dpyPacked, - const Surface *surfacePacked, - EGLint x, - EGLint y, - EGLint width, - EGLint height); - -// EGL_NV_stream_consumer_gltexture_yuv -bool ValidateStreamConsumerGLTextureExternalAttribsNV(const ValidationContext *val, - const egl::Display *dpyPacked, - const Stream *streamPacked, - const AttributeMap &attrib_listPacked); -} // namespace egl - -#endif // LIBANGLE_VALIDATION_EGL_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationES.cpp b/gfx/angle/checkout/src/libANGLE/validationES.cpp index be5e30726658..18ac48b03e52 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES.cpp @@ -249,8 +249,7 @@ bool ValidateTextureWrapModeValue(const Context *context, break; case GL_CLAMP_TO_BORDER: - if (!context->getExtensions().textureBorderClampAny() && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().textureBorderClampOES) { context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); return false; @@ -728,9 +727,7 @@ bool ValidateTransformFeedbackPrimitiveMode(const Context *context, { ASSERT(context); - if ((!context->getExtensions().geometryShader || - !context->getExtensions().tessellationShaderEXT) && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { // It is an invalid operation to call DrawArrays or DrawArraysInstanced with a draw mode // that does not match the current transform feedback object's draw mode (if transform @@ -738,22 +735,6 @@ bool ValidateTransformFeedbackPrimitiveMode(const Context *context, return transformFeedbackPrimitiveMode == renderPrimitiveMode; } - const ProgramExecutable *executable = context->getState().getProgramExecutable(); - ASSERT(executable); - if (executable->hasLinkedShaderStage(ShaderType::Geometry)) - { - // If geometry shader is active, transform feedback mode must match what is output from this - // stage. - renderPrimitiveMode = executable->getGeometryShaderOutputPrimitiveType(); - } - else if (executable->hasLinkedShaderStage(ShaderType::TessEvaluation)) - { - // Similarly with tessellation shaders, but only if no geometry shader is present. With - // tessellation shaders, only triangles are possibly output. - return transformFeedbackPrimitiveMode == PrimitiveMode::Triangles && - executable->getTessGenMode() == GL_TRIANGLES; - } - // [GL_EXT_geometry_shader] Table 12.1gs switch (renderPrimitiveMode) { @@ -767,8 +748,6 @@ bool ValidateTransformFeedbackPrimitiveMode(const Context *context, case PrimitiveMode::TriangleFan: case PrimitiveMode::TriangleStrip: return transformFeedbackPrimitiveMode == PrimitiveMode::Triangles; - case PrimitiveMode::Patches: - return transformFeedbackPrimitiveMode == PrimitiveMode::Patches; default: UNREACHABLE(); return false; @@ -923,7 +902,7 @@ bool ValidFramebufferTarget(const Context *context, GLenum target) case GL_READ_FRAMEBUFFER: case GL_DRAW_FRAMEBUFFER: - return (context->getExtensions().framebufferBlitAny() || + return (context->getExtensions().framebufferBlit || context->getClientMajorVersion() >= 3); default: @@ -1024,23 +1003,6 @@ bool ValidCompressedImageSize(const Context *context, return false; } - // Only PVRTC1 requires dimensions to be powers of two - if (IsPVRTC1Format(internalFormat)) - { - if (!isPow2(width) || !isPow2(height)) - { - return false; - } - - if (context->getLimitations().squarePvrtc1) - { - if (width != height) - { - return false; - } - } - } - if (CompressedTextureFormatRequiresExactSize(internalFormat)) { if (!ValidCompressedDimension(width, formatInfo.compressedBlockWidth, level) || @@ -1196,7 +1158,7 @@ bool ValidQueryType(const Context *context, QueryType queryType) case QueryType::CommandsCompleted: return context->getExtensions().syncQuery; case QueryType::PrimitivesGenerated: - return context->getClientVersion() >= ES_3_2 || context->getExtensions().geometryShader; + return context->getExtensions().geometryShader; default: return false; } @@ -1403,6 +1365,48 @@ bool ValidateRenderbufferStorageParametersBase(const Context *context, return true; } +bool ValidateFramebufferRenderbufferParameters(const Context *context, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + RenderbufferID renderbuffer) +{ + if (!ValidFramebufferTarget(context, target)) + { + context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); + return false; + } + + Framebuffer *framebuffer = context->getState().getTargetFramebuffer(target); + + ASSERT(framebuffer); + if (framebuffer->isDefault()) + { + context->validationError(GL_INVALID_OPERATION, kDefaultFramebufferTarget); + return false; + } + + if (!ValidateAttachmentTarget(context, attachment)) + { + return false; + } + + // [OpenGL ES 2.0.25] Section 4.4.3 page 112 + // [OpenGL ES 3.0.2] Section 4.4.2 page 201 + // 'renderbuffer' must be either zero or the name of an existing renderbuffer object of + // type 'renderbuffertarget', otherwise an INVALID_OPERATION error is generated. + if (renderbuffer.value != 0) + { + if (!context->getRenderbuffer(renderbuffer)) + { + context->validationError(GL_INVALID_OPERATION, kInvalidRenderbufferTarget); + return false; + } + } + + return true; +} + bool ValidateBlitFramebufferParameters(const Context *context, GLint srcX0, GLint srcY0, @@ -1460,14 +1464,6 @@ bool ValidateBlitFramebufferParameters(const Context *context, return false; } - // EXT_YUV_target disallows blitting to or from a YUV framebuffer - if ((mask & GL_COLOR_BUFFER_BIT) != 0 && - (readFramebuffer->hasYUVAttachment() || drawFramebuffer->hasYUVAttachment())) - { - context->validationError(GL_INVALID_OPERATION, kBlitYUVFramebuffer); - return false; - } - // The draw and read framebuffers can only match if: // - They are the default framebuffer AND // - The read/draw surfaces are different @@ -1656,231 +1652,6 @@ bool ValidateBlitFramebufferParameters(const Context *context, return true; } -bool ValidateBindFramebufferBase(const Context *context, GLenum target, FramebufferID framebuffer) -{ - if (!ValidFramebufferTarget(context, target)) - { - context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); - return false; - } - - if (!context->getState().isBindGeneratesResourceEnabled() && - !context->isFramebufferGenerated(framebuffer)) - { - context->validationError(GL_INVALID_OPERATION, kObjectNotGenerated); - return false; - } - - return true; -} - -bool ValidateBindRenderbufferBase(const Context *context, - GLenum target, - RenderbufferID renderbuffer) -{ - if (target != GL_RENDERBUFFER) - { - context->validationError(GL_INVALID_ENUM, kInvalidRenderbufferTarget); - return false; - } - - if (!context->getState().isBindGeneratesResourceEnabled() && - !context->isRenderbufferGenerated(renderbuffer)) - { - context->validationError(GL_INVALID_OPERATION, kObjectNotGenerated); - return false; - } - - return true; -} - -bool ValidateFramebufferRenderbufferBase(const Context *context, - GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - RenderbufferID renderbuffer) -{ - if (!ValidFramebufferTarget(context, target)) - { - context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); - return false; - } - - if (renderbuffertarget != GL_RENDERBUFFER) - { - context->validationError(GL_INVALID_ENUM, kInvalidRenderbufferTarget); - return false; - } - - Framebuffer *framebuffer = context->getState().getTargetFramebuffer(target); - - ASSERT(framebuffer); - if (framebuffer->isDefault()) - { - context->validationError(GL_INVALID_OPERATION, kDefaultFramebufferTarget); - return false; - } - - if (!ValidateAttachmentTarget(context, attachment)) - { - return false; - } - - // [OpenGL ES 2.0.25] Section 4.4.3 page 112 - // [OpenGL ES 3.0.2] Section 4.4.2 page 201 - // 'renderbuffer' must be either zero or the name of an existing renderbuffer object of - // type 'renderbuffertarget', otherwise an INVALID_OPERATION error is generated. - if (renderbuffer.value != 0) - { - if (!context->getRenderbuffer(renderbuffer)) - { - context->validationError(GL_INVALID_OPERATION, kInvalidRenderbufferTarget); - return false; - } - } - - return true; -} - -bool ValidateFramebufferTextureBase(const Context *context, - GLenum target, - GLenum attachment, - TextureID texture, - GLint level) -{ - if (!ValidFramebufferTarget(context, target)) - { - context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); - return false; - } - - if (!ValidateAttachmentTarget(context, attachment)) - { - return false; - } - - if (texture.value != 0) - { - Texture *tex = context->getTexture(texture); - - if (tex == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kMissingTexture); - return false; - } - - if (level < 0) - { - context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); - return false; - } - } - - const Framebuffer *framebuffer = context->getState().getTargetFramebuffer(target); - ASSERT(framebuffer); - - if (framebuffer->isDefault()) - { - context->validationError(GL_INVALID_OPERATION, kDefaultFramebufferTarget); - return false; - } - - return true; -} - -bool ValidateGenerateMipmapBase(const Context *context, TextureType target) -{ - if (!ValidTextureTarget(context, target)) - { - context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); - return false; - } - - Texture *texture = context->getTextureByType(target); - - if (texture == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kTextureNotBound); - return false; - } - - const GLuint effectiveBaseLevel = texture->getTextureState().getEffectiveBaseLevel(); - - // This error isn't spelled out in the spec in a very explicit way, but we interpret the spec so - // that out-of-range base level has a non-color-renderable / non-texture-filterable format. - if (effectiveBaseLevel >= IMPLEMENTATION_MAX_TEXTURE_LEVELS) - { - context->validationError(GL_INVALID_OPERATION, kBaseLevelOutOfRange); - return false; - } - - TextureTarget baseTarget = (target == TextureType::CubeMap) - ? TextureTarget::CubeMapPositiveX - : NonCubeTextureTypeToTarget(target); - const auto &format = *(texture->getFormat(baseTarget, effectiveBaseLevel).info); - if (format.sizedInternalFormat == GL_NONE || format.compressed || format.depthBits > 0 || - format.stencilBits > 0) - { - context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); - return false; - } - - // GenerateMipmap accepts formats that are unsized or both color renderable and filterable. - bool formatUnsized = !format.sized; - bool formatColorRenderableAndFilterable = - format.filterSupport(context->getClientVersion(), context->getExtensions()) && - format.textureAttachmentSupport(context->getClientVersion(), context->getExtensions()); - if (!formatUnsized && !formatColorRenderableAndFilterable) - { - context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); - return false; - } - - // GL_EXT_sRGB adds an unsized SRGB (no alpha) format which has explicitly disabled mipmap - // generation - if (format.colorEncoding == GL_SRGB && format.format == GL_RGB) - { - context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); - return false; - } - - // According to the OpenGL extension spec EXT_sRGB.txt, EXT_SRGB is based on ES 2.0 and - // generateMipmap is not allowed if texture format is SRGB_EXT or SRGB_ALPHA_EXT. - if (context->getClientVersion() < Version(3, 0) && format.colorEncoding == GL_SRGB) - { - context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); - return false; - } - - // Non-power of 2 ES2 check - if (context->getClientVersion() < Version(3, 0) && !context->getExtensions().textureNPOTOES && - (!isPow2(static_cast(texture->getWidth(baseTarget, 0))) || - !isPow2(static_cast(texture->getHeight(baseTarget, 0))))) - { - ASSERT(target == TextureType::_2D || target == TextureType::Rectangle || - target == TextureType::CubeMap); - context->validationError(GL_INVALID_OPERATION, kTextureNotPow2); - return false; - } - - // Cube completeness check - if (target == TextureType::CubeMap && !texture->getTextureState().isCubeComplete()) - { - context->validationError(GL_INVALID_OPERATION, kCubemapIncomplete); - return false; - } - - if (context->getExtensions().webglCompatibility && - (texture->getWidth(baseTarget, effectiveBaseLevel) == 0 || - texture->getHeight(baseTarget, effectiveBaseLevel) == 0)) - { - context->validationError(GL_INVALID_OPERATION, kGenerateMipmapZeroSize); - return false; - } - - return true; -} - bool ValidateReadPixelsRobustANGLE(const Context *context, GLint x, GLint y, @@ -2854,7 +2625,7 @@ bool ValidateCopyImageSubDataTarget(const Context *context, GLuint name, GLenum { case GL_RENDERBUFFER: { - RenderbufferID renderbuffer = PackParam(name); + RenderbufferID renderbuffer = FromGL(name); if (!context->isRenderbuffer(renderbuffer)) { context->validationError(GL_INVALID_VALUE, kInvalidRenderbufferName); @@ -2868,7 +2639,7 @@ bool ValidateCopyImageSubDataTarget(const Context *context, GLuint name, GLenum case GL_TEXTURE_CUBE_MAP: case GL_TEXTURE_CUBE_MAP_ARRAY_EXT: { - TextureID texture = PackParam(name); + TextureID texture = FromGL(name); if (!context->isTexture(texture)) { context->validationError(GL_INVALID_VALUE, kInvalidTextureName); @@ -2876,7 +2647,7 @@ bool ValidateCopyImageSubDataTarget(const Context *context, GLuint name, GLenum } Texture *textureObject = context->getTexture(texture); - if (textureObject && textureObject->getType() != PackParam(target)) + if (textureObject && textureObject->getType() != FromGL(target)) { context->validationError(GL_INVALID_VALUE, err::kTextureTypeMismatch); return false; @@ -2922,7 +2693,7 @@ bool ValidateCopyImageSubDataTargetRegion(const Context *context, // INVALID_VALUE is generated if the dimensions of the either subregion exceeds the // boundaries of the corresponding image object - Renderbuffer *buffer = context->getRenderbuffer(PackParam(name)); + Renderbuffer *buffer = context->getRenderbuffer(FromGL(name)); if ((buffer->getWidth() - offsetX < width) || (buffer->getHeight() - offsetY < height)) { context->validationError(GL_INVALID_VALUE, kSourceTextureTooSmall); @@ -2932,13 +2703,13 @@ bool ValidateCopyImageSubDataTargetRegion(const Context *context, else { // INVALID_VALUE is generated if the specified level is not a valid level for the image - if (!ValidMipLevel(context, PackParam(target), level)) + if (!ValidMipLevel(context, FromGL(target), level)) { context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); return false; } - Texture *texture = context->getTexture(PackParam(name)); + Texture *texture = context->getTexture(FromGL(name)); // INVALID_OPERATION is generated if either object is a texture and the texture is not // complete @@ -2958,9 +2729,9 @@ bool ValidateCopyImageSubDataTargetRegion(const Context *context, } const GLsizei textureWidth = static_cast( - texture->getWidth(PackParam(textureTargetToUse), level)); + texture->getWidth(FromGL(textureTargetToUse), level)); const GLsizei textureHeight = static_cast( - texture->getHeight(PackParam(textureTargetToUse), level)); + texture->getHeight(FromGL(textureTargetToUse), level)); // INVALID_VALUE is generated if the dimensions of the either subregion exceeds the // boundaries of the corresponding image object @@ -2970,7 +2741,7 @@ bool ValidateCopyImageSubDataTargetRegion(const Context *context, return false; } - *samples = texture->getSamples(PackParam(textureTargetToUse), level); + *samples = texture->getSamples(FromGL(textureTargetToUse), level); *samples = (*samples == 0) ? 1 : *samples; } @@ -2982,15 +2753,16 @@ bool ValidateCompressedRegion(const Context *context, GLsizei width, GLsizei height) { - ASSERT(formatInfo.compressed); - - // INVALID_VALUE is generated if the image format is compressed and the dimensions of the - // subregion fail to meet the alignment constraints of the format. - if ((width % formatInfo.compressedBlockWidth != 0) || - (height % formatInfo.compressedBlockHeight != 0)) + if (formatInfo.compressed) { - context->validationError(GL_INVALID_VALUE, kInvalidCompressedRegionSize); - return false; + // INVALID_VALUE is generated if the image format is compressed and the dimensions of the + // subregion fail to meet the alignment constraints of the format. + if ((width % formatInfo.compressedBlockWidth != 0) || + (height % formatInfo.compressedBlockHeight != 0)) + { + context->validationError(GL_INVALID_VALUE, kInvalidCompressedRegionSize); + return false; + } } return true; @@ -3007,7 +2779,7 @@ const InternalFormat &GetTargetFormatInfo(const Context *context, { case GL_RENDERBUFFER: { - Renderbuffer *buffer = context->getRenderbuffer(PackParam(name)); + Renderbuffer *buffer = context->getRenderbuffer(FromGL(name)); return *buffer->getFormat().info; break; } @@ -3017,7 +2789,7 @@ const InternalFormat &GetTargetFormatInfo(const Context *context, case GL_TEXTURE_CUBE_MAP: case GL_TEXTURE_CUBE_MAP_ARRAY_EXT: { - Texture *texture = context->getTexture(PackParam(name)); + Texture *texture = context->getTexture(FromGL(name)); GLenum textureTargetToUse = target; if (target == GL_TEXTURE_CUBE_MAP) @@ -3026,7 +2798,7 @@ const InternalFormat &GetTargetFormatInfo(const Context *context, // textureWidth/textureHeight textureTargetToUse = GL_TEXTURE_CUBE_MAP_POSITIVE_X; } - return *texture->getFormat(PackParam(textureTargetToUse), level).info; + return *texture->getFormat(FromGL(textureTargetToUse), level).info; } default: context->validationError(GL_INVALID_ENUM, kInvalidTarget); @@ -3371,27 +3143,12 @@ bool ValidateCopyImageSubDataBase(const Context *context, return false; } - bool fillsEntireMip = false; - gl::Texture *dstTexture = context->getTexture({dstName}); - gl::TextureTarget dstTargetPacked = gl::PackParam(dstTarget); - // TODO(http://anglebug.com/5643): Some targets (e.g., GL_TEXTURE_CUBE_MAP, GL_RENDERBUFFER) are - // unsupported when used with compressed formats due to gl::PackParam() returning - // TextureTarget::InvalidEnum. - if (dstTargetPacked != gl::TextureTarget::InvalidEnum) - { - const gl::Extents &dstExtents = dstTexture->getExtents(dstTargetPacked, dstLevel); - fillsEntireMip = dstX == 0 && dstY == 0 && dstZ == 0 && srcWidth == dstExtents.width && - srcHeight == dstExtents.height && srcDepth == dstExtents.depth; - } - - if (srcFormatInfo.compressed && !fillsEntireMip && - !ValidateCompressedRegion(context, srcFormatInfo, srcWidth, srcHeight)) + if (!ValidateCompressedRegion(context, srcFormatInfo, srcWidth, srcHeight)) { return false; } - if (dstFormatInfo.compressed && !fillsEntireMip && - !ValidateCompressedRegion(context, dstFormatInfo, dstWidth, dstHeight)) + if (!ValidateCompressedRegion(context, dstFormatInfo, dstWidth, dstHeight)) { return false; } @@ -3495,12 +3252,6 @@ bool ValidateCopyTexImageParametersBase(const Context *context, return false; } - if (source->isYUV()) - { - context->validationError(GL_INVALID_OPERATION, kCopyFromYUVFramebuffer); - return false; - } - // ANGLE_multiview spec, Revision 1: // Calling CopyTexSubImage3D, CopyTexImage2D, or CopyTexSubImage2D will result in an // INVALID_FRAMEBUFFER_OPERATION error if the multi-view layout of the current read framebuffer @@ -3661,18 +3412,6 @@ const char *ValidateProgramPipelineAttachedPrograms(ProgramPipeline *programPipe } } - // [EXT_geometry_shader] Section 11.1.gs Geometry Shaders - // A non-separable program object or program pipeline object that includes - // a geometry shader must also include a vertex shader. - // An INVALID_OPERATION error is generated by any command that transfers - // vertices to the GL if the current program state has a geometry shader - // but no vertex shader. - if (!programPipeline->getShaderProgram(ShaderType::Vertex) && - programPipeline->getShaderProgram(ShaderType::Geometry)) - { - return gl::err::kNoActiveGraphicsShaderStage; - } - return nullptr; } @@ -3689,7 +3428,7 @@ const char *ValidateDrawStates(const Context *context) VertexArray *vertexArray = state.getVertexArray(); ASSERT(vertexArray); - if (!extensions.webglCompatibility && vertexArray->hasInvalidMappedArrayBuffer()) + if (!extensions.webglCompatibility && vertexArray->hasMappedEnabledArrayBuffer()) { return kBufferMapped; } @@ -3764,32 +3503,6 @@ const char *ValidateDrawStates(const Context *context) return kDrawFramebufferIncomplete; } - bool framebufferIsYUV = framebuffer->hasYUVAttachment(); - if (framebufferIsYUV) - { - const BlendState &blendState = state.getBlendState(); - if (!blendState.colorMaskRed || !blendState.colorMaskGreen || !blendState.colorMaskBlue) - { - // When rendering into a YUV framebuffer, the color mask must have r g and b set to - // true. - return kInvalidColorMaskForYUV; - } - - if (blendState.blend) - { - // When rendering into a YUV framebuffer, blending must be disabled. - return kInvalidBlendStateForYUV; - } - } - else - { - if (framebuffer->hasExternalTextureAttachment()) - { - // It is an error to render into an external texture that is not YUV. - return kExternalTextureAttachmentNotYUV; - } - } - if (context->getStateCache().hasAnyEnabledClientAttrib()) { if (extensions.webglCompatibility || !state.areClientArraysEnabled()) @@ -3812,21 +3525,21 @@ const char *ValidateDrawStates(const Context *context) // If we are running GLES1, there is no current program. if (context->getClientVersion() >= Version(2, 0)) { - Program *program = state.getLinkedProgram(context); - ProgramPipeline *programPipeline = state.getProgramPipeline(); - const ProgramExecutable *executable = state.getProgramExecutable(); - - bool programIsYUVOutput = false; + Program *program = state.getLinkedProgram(context); + ProgramPipeline *programPipeline = state.getProgramPipeline(); if (program) { + if (!program->validateSamplers(nullptr, context->getCaps())) + { + return kTextureTypeConflict; + } + const char *errorMsg = ValidateProgramDrawStates(state, extensions, program); if (errorMsg) { return errorMsg; } - - programIsYUVOutput = program->isYUVOutput(); } else if (programPipeline) { @@ -3836,6 +3549,11 @@ const char *ValidateDrawStates(const Context *context) return errorMsg; } + if (!programPipeline->validateSamplers(nullptr, context->getCaps())) + { + return kTextureTypeConflict; + } + errorMsg = ValidateProgramPipelineDrawStates(state, extensions, programPipeline); if (errorMsg) { @@ -3848,51 +3566,21 @@ const char *ValidateDrawStates(const Context *context) // of vertex and fragment shader execution will respectively be undefined. However, // this is not an error, so ANGLE only signals PPO link failures if both VS and FS // stages are present. - ASSERT(executable); - if (!goodResult && executable->hasVertexAndFragmentShader()) + const ProgramExecutable &executable = programPipeline->getExecutable(); + if (!goodResult && executable.hasVertexAndFragmentShader()) { - return kProgramPipelineLinkFailed; + return err::kProgramPipelineLinkFailed; } - - programIsYUVOutput = executable->isYUVOutput(); - } - - if (executable) - { - if (!executable->validateSamplers(nullptr, context->getCaps())) - { - return kTextureTypeConflict; - } - - if (executable->hasLinkedTessellationShader()) - { - if (!executable->hasLinkedShaderStage(ShaderType::Vertex)) - { - return kTessellationShaderRequiresVertexShader; - } - - if (!executable->hasLinkedShaderStage(ShaderType::TessControl) || - !executable->hasLinkedShaderStage(ShaderType::TessEvaluation)) - { - return kTessellationShaderRequiresBothControlAndEvaluation; - } - } - } - - if (programIsYUVOutput != framebufferIsYUV) - { - // Both the program and framebuffer must match in YUV output state. - return kYUVOutputMissmatch; - } - - if (!state.validateSamplerFormats()) - { - return kSamplerFormatMismatch; } // Do some additional WebGL-specific validation if (extensions.webglCompatibility) { + if (!state.validateSamplerFormats()) + { + return kSamplerFormatMismatch; + } + const TransformFeedback *transformFeedbackObject = state.getCurrentTransformFeedback(); if (state.isTransformFeedbackActive() && transformFeedbackObject->buffersBoundForOtherUse()) @@ -3970,21 +3658,12 @@ void RecordDrawModeError(const Context *context, PrimitiveMode mode) case PrimitiveMode::LineStripAdjacency: case PrimitiveMode::TrianglesAdjacency: case PrimitiveMode::TriangleStripAdjacency: - if (!extensions.geometryShader && context->getClientVersion() < ES_3_2) + if (!extensions.geometryShader) { context->validationError(GL_INVALID_ENUM, kGeometryShaderExtensionNotEnabled); return; } break; - - case PrimitiveMode::Patches: - if (!extensions.tessellationShaderEXT && context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kTessellationShaderExtensionNotEnabled); - return; - } - break; - default: context->validationError(GL_INVALID_ENUM, kInvalidDrawMode); return; @@ -3993,34 +3672,20 @@ void RecordDrawModeError(const Context *context, PrimitiveMode mode) // If we are running GLES1, there is no current program. if (context->getClientVersion() >= Version(2, 0)) { - const ProgramExecutable *executable = state.getProgramExecutable(); - ASSERT(executable); + Program *program = context->getActiveLinkedProgram(); + ASSERT(program); // Do geometry shader specific validations - if (executable->hasLinkedShaderStage(ShaderType::Geometry)) + if (program->getExecutable().hasLinkedShaderStage(ShaderType::Geometry)) { if (!IsCompatibleDrawModeWithGeometryShader( - mode, executable->getGeometryShaderInputPrimitiveType())) + mode, program->getGeometryShaderInputPrimitiveType())) { context->validationError(GL_INVALID_OPERATION, kIncompatibleDrawModeAgainstGeometryShader); return; } } - - if (executable->hasLinkedTessellationShader() && mode != PrimitiveMode::Patches) - { - context->validationError(GL_INVALID_OPERATION, - kIncompatibleDrawModeWithTessellationShader); - return; - } - - if (!executable->hasLinkedTessellationShader() && mode == PrimitiveMode::Patches) - { - context->validationError(GL_INVALID_OPERATION, - kIncompatibleDrawModeWithoutTessellationShader); - return; - } } // An error should be recorded. @@ -4075,7 +3740,7 @@ const char *ValidateDrawElementsStates(const Context *context) { // EXT_geometry_shader allows transform feedback to work with all draw commands. // [EXT_geometry_shader] Section 12.1, "Transform Feedback" - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { // It is an invalid operation to call DrawElements, DrawRangeElements or // DrawElementsInstanced while transform feedback is active, (3.0.2, section 2.14, pg @@ -4161,6 +3826,52 @@ bool ValidateDrawElementsInstancedEXT(const Context *context, return true; } +bool ValidateFramebufferTextureBase(const Context *context, + GLenum target, + GLenum attachment, + TextureID texture, + GLint level) +{ + if (!ValidFramebufferTarget(context, target)) + { + context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); + return false; + } + + if (!ValidateAttachmentTarget(context, attachment)) + { + return false; + } + + if (texture.value != 0) + { + Texture *tex = context->getTexture(texture); + + if (tex == nullptr) + { + context->validationError(GL_INVALID_OPERATION, kMissingTexture); + return false; + } + + if (level < 0) + { + context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); + return false; + } + } + + const Framebuffer *framebuffer = context->getState().getTargetFramebuffer(target); + ASSERT(framebuffer); + + if (framebuffer->isDefault()) + { + context->validationError(GL_INVALID_OPERATION, kDefaultFramebufferTarget); + return false; + } + + return true; +} + bool ValidateGetUniformBase(const Context *context, ShaderProgramID program, UniformLocation location) @@ -4542,13 +4253,6 @@ bool ValidateEGLImageTargetTexture2DOES(const Context *context, return false; } - if (imageObject->isYUV() && type != TextureType::External) - { - context->validationError(GL_INVALID_OPERATION, - "Image is YUV, target must be TEXTURE_EXTERNAL_OES"); - return false; - } - return true; } @@ -5063,7 +4767,7 @@ bool ValidateGetFramebufferAttachmentParameterivBase(const Context *context, break; case GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT: - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { context->validationError(GL_INVALID_ENUM, kGeometryShaderExtensionNotEnabled); return false; @@ -5460,7 +5164,7 @@ bool ValidateGetProgramivBase(const Context *context, case GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT: case GL_GEOMETRY_LINKED_VERTICES_OUT_EXT: case GL_GEOMETRY_SHADER_INVOCATIONS_EXT: - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { context->validationError(GL_INVALID_ENUM, kGeometryShaderExtensionNotEnabled); return false; @@ -5490,23 +5194,7 @@ bool ValidateGetProgramivBase(const Context *context, return false; } break; - case GL_TESS_CONTROL_OUTPUT_VERTICES_EXT: - case GL_TESS_GEN_MODE_EXT: - case GL_TESS_GEN_SPACING_EXT: - case GL_TESS_GEN_VERTEX_ORDER_EXT: - case GL_TESS_GEN_POINT_MODE_EXT: - if (!context->getExtensions().tessellationShaderEXT && - context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kTessellationShaderExtensionNotEnabled); - return false; - } - if (!programObject->isLinked()) - { - context->validationError(GL_INVALID_OPERATION, kProgramNotLinked); - return false; - } - break; + default: context->validationError(GL_INVALID_ENUM, kEnumNotSupported); return false; @@ -6000,7 +5688,7 @@ bool ValidateGetVertexAttribIuivRobustANGLE(const Context *context, bool ValidateGetActiveUniformBlockivRobustANGLE(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, const GLsizei *length, @@ -6451,7 +6139,7 @@ bool ValidateGetTexParameterBase(const Context *context, case GL_DEPTH_STENCIL_TEXTURE_MODE: case GL_IMAGE_FORMAT_COMPATIBILITY_TYPE: - if (context->getClientVersion() < ES_3_1) + if (context->getClientVersion() < Version(3, 1)) { context->validationError(GL_INVALID_ENUM, kEnumRequiresGLES31); return false; @@ -6478,8 +6166,7 @@ bool ValidateGetTexParameterBase(const Context *context, break; case GL_TEXTURE_BORDER_COLOR: - if (!context->getExtensions().textureBorderClampOES && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().textureBorderClampOES) { context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); return false; @@ -7193,8 +6880,7 @@ bool ValidateTexParameterBase(const Context *context, break; case GL_TEXTURE_BORDER_COLOR: - if (!context->getExtensions().textureBorderClampOES && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().textureBorderClampOES) { context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); return false; @@ -7256,7 +6942,7 @@ bool ValidateVertexAttribIndex(const Context *context, GLuint index) bool ValidateGetActiveUniformBlockivBase(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLsizei *length) { @@ -7277,7 +6963,7 @@ bool ValidateGetActiveUniformBlockivBase(const Context *context, return false; } - if (uniformBlockIndex.value >= programObject->getActiveUniformBlockCount()) + if (uniformBlockIndex >= programObject->getActiveUniformBlockCount()) { context->validationError(GL_INVALID_VALUE, kIndexExceedsActiveUniformBlockCount); return false; @@ -7304,7 +6990,7 @@ bool ValidateGetActiveUniformBlockivBase(const Context *context, if (pname == GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES) { const InterfaceBlock &uniformBlock = - programObject->getUniformBlockByIndex(uniformBlockIndex.value); + programObject->getUniformBlockByIndex(uniformBlockIndex); *length = static_cast(uniformBlock.memberIndexes.size()); } else @@ -7405,8 +7091,7 @@ bool ValidateSamplerParameterBase(const Context *context, break; case GL_TEXTURE_BORDER_COLOR: - if (!context->getExtensions().textureBorderClampOES && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().textureBorderClampOES) { context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); return false; @@ -7496,8 +7181,7 @@ bool ValidateGetSamplerParameterBase(const Context *context, break; case GL_TEXTURE_BORDER_COLOR: - if (!context->getExtensions().textureBorderClampOES && - context->getClientVersion() < ES_3_2) + if (!context->getExtensions().textureBorderClampOES) { context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); return false; diff --git a/gfx/angle/checkout/src/libANGLE/validationES.h b/gfx/angle/checkout/src/libANGLE/validationES.h index f7daadb3de4d..f4feedc4777a 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES.h +++ b/gfx/angle/checkout/src/libANGLE/validationES.h @@ -101,6 +101,17 @@ Program *GetValidProgram(const Context *context, ShaderProgramID id); Shader *GetValidShader(const Context *context, ShaderProgramID id); bool ValidateAttachmentTarget(const Context *context, GLenum attachment); +bool ValidateRenderbufferStorageParametersBase(const Context *context, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +bool ValidateFramebufferRenderbufferParameters(const Context *context, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + RenderbufferID renderbuffer); bool ValidateBlitFramebufferParameters(const Context *context, GLint srcX0, @@ -114,29 +125,6 @@ bool ValidateBlitFramebufferParameters(const Context *context, GLbitfield mask, GLenum filter); -bool ValidateBindFramebufferBase(const Context *context, GLenum target, FramebufferID framebuffer); -bool ValidateBindRenderbufferBase(const Context *context, - GLenum target, - RenderbufferID renderbuffer); -bool ValidateFramebufferRenderbufferBase(const Context *context, - GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - RenderbufferID renderbuffer); -bool ValidateFramebufferTextureBase(const Context *context, - GLenum target, - GLenum attachment, - TextureID texture, - GLint level); -bool ValidateGenerateMipmapBase(const Context *context, TextureType target); - -bool ValidateRenderbufferStorageParametersBase(const Context *context, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); - bool ValidatePixelPack(const Context *context, GLenum format, GLenum type, @@ -360,6 +348,12 @@ const char *ValidateDrawElementsStates(const Context *context); ANGLE_INLINE bool ValidateDrawBase(const Context *context, PrimitiveMode mode) { + if (!context->getStateCache().isValidDrawMode(mode)) + { + RecordDrawModeError(context, mode); + return false; + } + intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesError(context); if (drawStatesError) { @@ -374,12 +368,6 @@ ANGLE_INLINE bool ValidateDrawBase(const Context *context, PrimitiveMode mode) return false; } - if (!context->getStateCache().isValidDrawMode(mode)) - { - RecordDrawModeError(context, mode); - return false; - } - return true; } @@ -420,6 +408,12 @@ bool ValidateDrawElementsInstancedEXT(const Context *context, bool ValidateDrawInstancedANGLE(const Context *context); +bool ValidateFramebufferTextureBase(const Context *context, + GLenum target, + GLenum attachment, + TextureID texture, + GLint level); + bool ValidateGetUniformBase(const Context *context, ShaderProgramID program, UniformLocation location); @@ -647,7 +641,7 @@ bool ValidateVertexAttribIndex(const Context *context, GLuint index); bool ValidateGetActiveUniformBlockivBase(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, GLsizei *length); @@ -755,6 +749,12 @@ bool ValidateGetMultisamplefvBase(const Context *context, const GLfloat *val); bool ValidateSampleMaskiBase(const Context *context, GLuint maskNumber, GLbitfield mask); +// Utility macro for handling implementation methods inside Validation. +#define ANGLE_HANDLE_VALIDATION_ERR(X) \ + (void)(X); \ + return false +#define ANGLE_VALIDATION_TRY(EXPR) ANGLE_TRY_TEMPLATE(EXPR, ANGLE_HANDLE_VALIDATION_ERR) + // We should check with Khronos if returning INVALID_FRAMEBUFFER_OPERATION is OK when querying // implementation format info for incomplete framebuffers. It seems like these queries are // incongruent with the other errors. @@ -763,11 +763,9 @@ template ANGLE_INLINE bool ValidateFramebufferComplete(const Context *context, const Framebuffer *framebuffer) { - const FramebufferStatus &framebufferStatus = framebuffer->checkStatus(context); - if (!framebufferStatus.isComplete()) + if (!framebuffer->isComplete(context)) { - ASSERT(framebufferStatus.reason != nullptr); - context->validationError(ErrorCode, framebufferStatus.reason); + context->validationError(ErrorCode, err::kFramebufferIncomplete); return false; } @@ -861,8 +859,7 @@ ANGLE_INLINE bool ValidateDrawArraysCommon(const Context *context, return false; } - if (context->getStateCache().isTransformFeedbackActiveUnpaused() && - !context->supportsGeometryOrTesselation()) + if (context->getStateCache().isTransformFeedbackActiveUnpaused()) { const State &state = context->getState(); TransformFeedback *curTransformFeedback = state.getCurrentTransformFeedback(); diff --git a/gfx/angle/checkout/src/libANGLE/validationES1.cpp b/gfx/angle/checkout/src/libANGLE/validationES1.cpp index 5b61d0a932b8..be2d8a50dff2 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES1.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES1.cpp @@ -1551,90 +1551,49 @@ bool ValidateGenFramebuffersOES(const Context *context, GLsizei n, const FramebufferID *framebuffers) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenOrDelete(context, n); + UNIMPLEMENTED(); + return true; } bool ValidateDeleteFramebuffersOES(const Context *context, GLsizei n, const FramebufferID *framebuffers) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenOrDelete(context, n); + UNIMPLEMENTED(); + return true; } bool ValidateGenRenderbuffersOES(const Context *context, GLsizei n, const RenderbufferID *renderbuffers) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenOrDelete(context, n); + UNIMPLEMENTED(); + return true; } bool ValidateDeleteRenderbuffersOES(const Context *context, GLsizei n, const RenderbufferID *renderbuffers) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenOrDelete(context, n); + UNIMPLEMENTED(); + return true; } bool ValidateBindFramebufferOES(const Context *context, GLenum target, FramebufferID framebuffer) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateBindFramebufferBase(context, target, framebuffer); + UNIMPLEMENTED(); + return true; } bool ValidateBindRenderbufferOES(const Context *context, GLenum target, RenderbufferID renderbuffer) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateBindRenderbufferBase(context, target, renderbuffer); + UNIMPLEMENTED(); + return true; } bool ValidateCheckFramebufferStatusOES(const Context *context, GLenum target) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - if (!ValidFramebufferTarget(context, target)) - { - context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); - return false; - } - + UNIMPLEMENTED(); return true; } @@ -1644,13 +1603,8 @@ bool ValidateFramebufferRenderbufferOES(const Context *context, GLenum rbtarget, RenderbufferID renderbuffer) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateFramebufferRenderbufferBase(context, target, attachment, rbtarget, renderbuffer); + UNIMPLEMENTED(); + return true; } bool ValidateFramebufferTexture2DOES(const Context *context, @@ -1660,91 +1614,14 @@ bool ValidateFramebufferTexture2DOES(const Context *context, TextureID texture, GLint level) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - if (level != 0) - { - context->validationError(GL_INVALID_VALUE, kInvalidFramebufferTextureLevel); - return false; - } - - if (!ValidateFramebufferTextureBase(context, target, attachment, texture, level)) - { - return false; - } - - if (texture.value != 0) - { - Texture *tex = context->getTexture(texture); - ASSERT(tex); - - const Caps &caps = context->getCaps(); - - switch (textarget) - { - case TextureTarget::_2D: - { - if (level > log2(caps.max2DTextureSize)) - { - context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); - return false; - } - if (tex->getType() != TextureType::_2D) - { - context->validationError(GL_INVALID_OPERATION, kInvalidTextureTarget); - return false; - } - } - break; - - case TextureTarget::CubeMapNegativeX: - case TextureTarget::CubeMapNegativeY: - case TextureTarget::CubeMapNegativeZ: - case TextureTarget::CubeMapPositiveX: - case TextureTarget::CubeMapPositiveY: - case TextureTarget::CubeMapPositiveZ: - { - if (!context->getExtensions().textureCubeMapOES) - { - context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); - return false; - } - - if (level > log2(caps.maxCubeMapTextureSize)) - { - context->validationError(GL_INVALID_VALUE, kInvalidMipLevel); - return false; - } - if (tex->getType() != TextureType::CubeMap) - { - context->validationError(GL_INVALID_OPERATION, kTextureTargetMismatch); - return false; - } - } - break; - - default: - context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); - return false; - } - } - + UNIMPLEMENTED(); return true; } bool ValidateGenerateMipmapOES(const Context *context, TextureType target) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenerateMipmapBase(context, target); + UNIMPLEMENTED(); + return true; } bool ValidateGetFramebufferAttachmentParameterivOES(const Context *context, @@ -1753,14 +1630,8 @@ bool ValidateGetFramebufferAttachmentParameterivOES(const Context *context, GLenum pname, const GLint *params) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGetFramebufferAttachmentParameterivBase(context, target, attachment, pname, - nullptr); + UNIMPLEMENTED(); + return true; } bool ValidateGetRenderbufferParameterivOES(const Context *context, @@ -1768,34 +1639,19 @@ bool ValidateGetRenderbufferParameterivOES(const Context *context, GLenum pname, const GLint *params) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGetRenderbufferParameterivBase(context, target, pname, nullptr); + UNIMPLEMENTED(); + return true; } bool ValidateIsFramebufferOES(const Context *context, FramebufferID framebuffer) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - + UNIMPLEMENTED(); return true; } bool ValidateIsRenderbufferOES(const Context *context, RenderbufferID renderbuffer) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - + UNIMPLEMENTED(); return true; } @@ -1805,14 +1661,8 @@ bool ValidateRenderbufferStorageOES(const Context *context, GLsizei width, GLsizei height) { - if (!context->getExtensions().framebufferObjectOES) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateRenderbufferStorageParametersBase(context, target, 0, internalformat, width, - height); + UNIMPLEMENTED(); + return true; } // GL_OES_texture_cube_map diff --git a/gfx/angle/checkout/src/libANGLE/validationES2.cpp b/gfx/angle/checkout/src/libANGLE/validationES2.cpp index 19d286e19352..e8cabc0628e8 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES2.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES2.cpp @@ -389,8 +389,6 @@ bool ValidateES2CopyTexImageParameters(const Context *context, framebuffer->getReadColorAttachment()->getFormat().info->sizedInternalFormat; const auto &formatInfo = *textureFormat.info; - ASSERT(!formatInfo.compressed); - // [OpenGL ES 2.0.24] table 3.9 if (isSubImage) { @@ -469,6 +467,22 @@ bool ValidateES2CopyTexImageParameters(const Context *context, return false; } break; + case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: + case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: + case GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE: + case GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE: + case GL_ETC1_RGB8_OES: + case GL_ETC1_RGB8_LOSSY_DECODE_ANGLE: + case GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_RGBA_BPTC_UNORM_EXT: + case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: + case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: + case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; case GL_DEPTH_COMPONENT: case GL_DEPTH_STENCIL_OES: context->validationError(GL_INVALID_OPERATION, kInvalidFormat); @@ -544,6 +558,73 @@ bool ValidateES2CopyTexImageParameters(const Context *context, return false; } break; + case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: + case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: + if (context->getExtensions().textureCompressionDXT1) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE: + if (context->getExtensions().textureCompressionDXT3) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE: + if (context->getExtensions().textureCompressionDXT5) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_ETC1_RGB8_OES: + if (context->getExtensions().compressedETC1RGB8TextureOES) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_ETC1_RGB8_LOSSY_DECODE_ANGLE: + case GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + if (context->getExtensions().lossyETCDecode) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: + if (context->getExtensions().compressedTexturePVRTC) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: + if (context->getExtensions().compressedTexturePVRTCsRGB) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; case GL_DEPTH_COMPONENT: case GL_DEPTH_COMPONENT16: case GL_DEPTH_COMPONENT32_OES: @@ -630,8 +711,8 @@ bool ValidCap(const Context *context, GLenum cap, bool queryOnly) case GL_CLIP_DISTANCE5_EXT: case GL_CLIP_DISTANCE6_EXT: case GL_CLIP_DISTANCE7_EXT: - if (context->getExtensions().clipDistanceAPPLE || - context->getExtensions().clipCullDistanceEXT) + if (context->getClientVersion() >= Version(2, 0) && + context->getExtensions().clipDistanceAPPLE) { return true; } @@ -724,6 +805,130 @@ bool IsValidESSLString(const char *str, size_t len) return true; } +bool IsValidESSLShaderSourceString(const char *str, size_t len, bool lineContinuationAllowed) +{ + enum class ParseState + { + // Have not seen an ASCII non-whitespace character yet on + // this line. Possible that we might see a preprocessor + // directive. + BEGINING_OF_LINE, + + // Have seen at least one ASCII non-whitespace character + // on this line. + MIDDLE_OF_LINE, + + // Handling a preprocessor directive. Passes through all + // characters up to the end of the line. Disables comment + // processing. + IN_PREPROCESSOR_DIRECTIVE, + + // Handling a single-line comment. The comment text is + // replaced with a single space. + IN_SINGLE_LINE_COMMENT, + + // Handling a multi-line comment. Newlines are passed + // through to preserve line numbers. + IN_MULTI_LINE_COMMENT + }; + + ParseState state = ParseState::BEGINING_OF_LINE; + size_t pos = 0; + + while (pos < len) + { + char c = str[pos]; + char next = pos + 1 < len ? str[pos + 1] : 0; + + // Check for newlines + if (c == '\n' || c == '\r') + { + if (state != ParseState::IN_MULTI_LINE_COMMENT) + { + state = ParseState::BEGINING_OF_LINE; + } + + pos++; + continue; + } + + switch (state) + { + case ParseState::BEGINING_OF_LINE: + if (c == ' ') + { + // Maintain the BEGINING_OF_LINE state until a non-space is seen + pos++; + } + else if (c == '#') + { + state = ParseState::IN_PREPROCESSOR_DIRECTIVE; + pos++; + } + else + { + // Don't advance, re-process this character with the MIDDLE_OF_LINE state + state = ParseState::MIDDLE_OF_LINE; + } + break; + + case ParseState::MIDDLE_OF_LINE: + if (c == '/' && next == '/') + { + state = ParseState::IN_SINGLE_LINE_COMMENT; + pos++; + } + else if (c == '/' && next == '*') + { + state = ParseState::IN_MULTI_LINE_COMMENT; + pos++; + } + else if (lineContinuationAllowed && c == '\\' && (next == '\n' || next == '\r')) + { + // Skip line continuation characters + } + else if (!IsValidESSLCharacter(c)) + { + return false; + } + pos++; + break; + + case ParseState::IN_PREPROCESSOR_DIRECTIVE: + // Line-continuation characters may not be permitted. + // Otherwise, just pass it through. Do not parse comments in this state. + if (!lineContinuationAllowed && c == '\\') + { + return false; + } + pos++; + break; + + case ParseState::IN_SINGLE_LINE_COMMENT: + // Line-continuation characters are processed before comment processing. + // Advance string if a new line character is immediately behind + // line-continuation character. + if (c == '\\' && (next == '\n' || next == '\r')) + { + pos++; + } + pos++; + break; + + case ParseState::IN_MULTI_LINE_COMMENT: + if (c == '*' && next == '/') + { + state = ParseState::MIDDLE_OF_LINE; + pos++; + } + pos++; + break; + } + } + + return true; +} + bool ValidateWebGLNamePrefix(const Context *context, const GLchar *name) { ASSERT(context->isWebGL()); @@ -1231,6 +1436,77 @@ bool ValidateES2TexImageParametersBase(const Context *context, switch (format) { + case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: + case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: + if (context->getExtensions().textureCompressionDXT1) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + else + { + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + } + break; + case GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE: + if (context->getExtensions().textureCompressionDXT3) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE: + if (context->getExtensions().textureCompressionDXT5) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_ETC1_RGB8_OES: + if (context->getExtensions().compressedETC1RGB8TextureOES) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_ETC1_RGB8_LOSSY_DECODE_ANGLE: + case GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE: + if (context->getExtensions().lossyETCDecode) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: + case GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: + if (context->getExtensions().compressedTexturePVRTC) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; + case GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: + case GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: + if (context->getExtensions().compressedTexturePVRTCsRGB) + { + context->validationError(GL_INVALID_OPERATION, kInvalidFormat); + return false; + } + context->validationError(GL_INVALID_ENUM, kEnumNotSupported); + return false; case GL_DEPTH_COMPONENT: case GL_DEPTH_STENCIL_OES: if (!context->getExtensions().depthTextureANGLE && @@ -2465,7 +2741,7 @@ bool ValidateBlitFramebufferANGLE(const Context *context, GLbitfield mask, GLenum filter) { - if (!context->getExtensions().framebufferBlitANGLE) + if (!context->getExtensions().framebufferBlit) { context->validationError(GL_INVALID_OPERATION, kBlitExtensionNotAvailable); return false; @@ -2586,28 +2862,6 @@ bool ValidateBlitFramebufferANGLE(const Context *context, dstX1, dstY1, mask, filter); } -bool ValidateBlitFramebufferNV(const Context *context, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - if (!context->getExtensions().framebufferBlitANGLE) - { - context->validationError(GL_INVALID_OPERATION, kBlitExtensionNotAvailable); - return false; - } - - return ValidateBlitFramebufferParameters(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, - dstX1, dstY1, mask, filter); -} - bool ValidateClear(const Context *context, GLbitfield mask) { Framebuffer *fbo = context->getState().getDrawFramebuffer(); @@ -3465,7 +3719,7 @@ bool ValidateCreateShader(const Context *context, ShaderType type) break; case ShaderType::Compute: - if (context->getClientVersion() < ES_3_1) + if (context->getClientVersion() < Version(3, 1)) { context->validationError(GL_INVALID_ENUM, kES31Required); return false; @@ -3473,31 +3727,12 @@ bool ValidateCreateShader(const Context *context, ShaderType type) break; case ShaderType::Geometry: - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { context->validationError(GL_INVALID_ENUM, kInvalidShaderType); return false; } break; - - case ShaderType::TessControl: - if (!context->getExtensions().tessellationShaderEXT && - context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kInvalidShaderType); - return false; - } - break; - - case ShaderType::TessEvaluation: - if (!context->getExtensions().tessellationShaderEXT && - context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kInvalidShaderType); - return false; - } - break; - default: context->validationError(GL_INVALID_ENUM, kInvalidShaderType); return false; @@ -3709,7 +3944,8 @@ bool ValidateAttachShader(const Context *context, ShaderProgramID program, Shade return false; } - if (programObject->getAttachedShader(shaderObject->getType())) + if (programObject->getAttachedShader(shaderObject->getType()) && + !programObject->getState().isShaderMarkedForDetach(shaderObject->getType())) { context->validationError(GL_INVALID_OPERATION, kShaderAttachmentHasShader); return false; @@ -3758,12 +3994,38 @@ bool ValidateBindAttribLocation(const Context *context, bool ValidateBindFramebuffer(const Context *context, GLenum target, FramebufferID framebuffer) { - return ValidateBindFramebufferBase(context, target, framebuffer); + if (!ValidFramebufferTarget(context, target)) + { + context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); + return false; + } + + if (!context->getState().isBindGeneratesResourceEnabled() && + !context->isFramebufferGenerated(framebuffer)) + { + context->validationError(GL_INVALID_OPERATION, kObjectNotGenerated); + return false; + } + + return true; } bool ValidateBindRenderbuffer(const Context *context, GLenum target, RenderbufferID renderbuffer) { - return ValidateBindRenderbufferBase(context, target, renderbuffer); + if (target != GL_RENDERBUFFER) + { + context->validationError(GL_INVALID_ENUM, kInvalidRenderbufferTarget); + return false; + } + + if (!context->getState().isBindGeneratesResourceEnabled() && + !context->isRenderbufferGenerated(renderbuffer)) + { + context->validationError(GL_INVALID_OPERATION, kObjectNotGenerated); + return false; + } + + return true; } static bool ValidBlendEquationMode(const Context *context, GLenum mode) @@ -3903,14 +4165,6 @@ bool ValidateGetString(const Context *context, GLenum name) } break; - case GL_SERIALIZED_CONTEXT_STRING_ANGLE: - if (!context->getExtensions().getSerializedContextStringANGLE) - { - context->validationError(GL_INVALID_ENUM, kInvalidName); - return false; - } - break; - default: context->validationError(GL_INVALID_ENUM, kInvalidName); return false; @@ -4694,6 +4948,25 @@ bool ValidateShaderSource(const Context *context, return false; } + // The WebGL spec (section 6.20) disallows strings containing invalid ESSL characters for + // shader-related entry points + if (context->getExtensions().webglCompatibility) + { + for (GLsizei i = 0; i < count; i++) + { + size_t len = + (length && length[i] >= 0) ? static_cast(length[i]) : strlen(string[i]); + + // Backslash as line-continuation is allowed in WebGL 2.0. + if (!IsValidESSLShaderSourceString(string[i], len, + context->getClientVersion() >= ES_3_0)) + { + context->validationError(GL_INVALID_VALUE, kShaderSourceInvalidCharacters); + return false; + } + } + } + Shader *shaderObject = GetValidShader(context, shader); if (!shaderObject) { @@ -5124,8 +5397,20 @@ bool ValidateFramebufferRenderbuffer(const Context *context, GLenum renderbuffertarget, RenderbufferID renderbuffer) { - return ValidateFramebufferRenderbufferBase(context, target, attachment, renderbuffertarget, - renderbuffer); + if (!ValidFramebufferTarget(context, target)) + { + context->validationError(GL_INVALID_ENUM, kInvalidFramebufferTarget); + return false; + } + + if (renderbuffertarget != GL_RENDERBUFFER && renderbuffer.value != 0) + { + context->validationError(GL_INVALID_ENUM, kInvalidRenderbufferTarget); + return false; + } + + return ValidateFramebufferRenderbufferParameters(context, target, attachment, + renderbuffertarget, renderbuffer); } bool ValidateFramebufferTexture2D(const Context *context, @@ -5231,28 +5516,6 @@ bool ValidateFramebufferTexture2D(const Context *context, } break; - case TextureTarget::External: - { - if (!context->getExtensions().yuvTargetEXT) - { - context->validationError(GL_INVALID_OPERATION, kYUVTargetExtensionRequired); - return false; - } - - if (attachment != GL_COLOR_ATTACHMENT0) - { - context->validationError(GL_INVALID_OPERATION, kInvalidAttachment); - return false; - } - - if (tex->getType() != TextureType::External) - { - context->validationError(GL_INVALID_OPERATION, kTextureTargetMismatch); - return false; - } - } - break; - default: context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); return false; @@ -5353,7 +5616,95 @@ bool ValidateGenTextures(const Context *context, GLint n, const TextureID *textu bool ValidateGenerateMipmap(const Context *context, TextureType target) { - return ValidateGenerateMipmapBase(context, target); + if (!ValidTextureTarget(context, target)) + { + context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); + return false; + } + + Texture *texture = context->getTextureByType(target); + + if (texture == nullptr) + { + context->validationError(GL_INVALID_OPERATION, kTextureNotBound); + return false; + } + + const GLuint effectiveBaseLevel = texture->getTextureState().getEffectiveBaseLevel(); + + // This error isn't spelled out in the spec in a very explicit way, but we interpret the spec so + // that out-of-range base level has a non-color-renderable / non-texture-filterable format. + if (effectiveBaseLevel >= IMPLEMENTATION_MAX_TEXTURE_LEVELS) + { + context->validationError(GL_INVALID_OPERATION, kBaseLevelOutOfRange); + return false; + } + + TextureTarget baseTarget = (target == TextureType::CubeMap) + ? TextureTarget::CubeMapPositiveX + : NonCubeTextureTypeToTarget(target); + const auto &format = *(texture->getFormat(baseTarget, effectiveBaseLevel).info); + if (format.sizedInternalFormat == GL_NONE || format.compressed || format.depthBits > 0 || + format.stencilBits > 0) + { + context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); + return false; + } + + // GenerateMipmap accepts formats that are unsized or both color renderable and filterable. + bool formatUnsized = !format.sized; + bool formatColorRenderableAndFilterable = + format.filterSupport(context->getClientVersion(), context->getExtensions()) && + format.textureAttachmentSupport(context->getClientVersion(), context->getExtensions()); + if (!formatUnsized && !formatColorRenderableAndFilterable) + { + context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); + return false; + } + + // GL_EXT_sRGB adds an unsized SRGB (no alpha) format which has explicitly disabled mipmap + // generation + if (format.colorEncoding == GL_SRGB && format.format == GL_RGB) + { + context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); + return false; + } + + // According to the OpenGL extension spec EXT_sRGB.txt, EXT_SRGB is based on ES 2.0 and + // generateMipmap is not allowed if texture format is SRGB_EXT or SRGB_ALPHA_EXT. + if (context->getClientVersion() < Version(3, 0) && format.colorEncoding == GL_SRGB) + { + context->validationError(GL_INVALID_OPERATION, kGenerateMipmapNotAllowed); + return false; + } + + // Non-power of 2 ES2 check + if (context->getClientVersion() < Version(3, 0) && !context->getExtensions().textureNPOTOES && + (!isPow2(static_cast(texture->getWidth(baseTarget, 0))) || + !isPow2(static_cast(texture->getHeight(baseTarget, 0))))) + { + ASSERT(target == TextureType::_2D || target == TextureType::Rectangle || + target == TextureType::CubeMap); + context->validationError(GL_INVALID_OPERATION, kTextureNotPow2); + return false; + } + + // Cube completeness check + if (target == TextureType::CubeMap && !texture->getTextureState().isCubeComplete()) + { + context->validationError(GL_INVALID_OPERATION, kCubemapIncomplete); + return false; + } + + if (context->getExtensions().webglCompatibility && + (texture->getWidth(baseTarget, effectiveBaseLevel) == 0 || + texture->getHeight(baseTarget, effectiveBaseLevel) == 0)) + { + context->validationError(GL_INVALID_OPERATION, kGenerateMipmapZeroSize); + return false; + } + + return true; } bool ValidateGetBufferParameteriv(const Context *context, @@ -6027,11 +6378,6 @@ bool ValidateFramebufferTexture2DMultisampleEXT(const Context *context, return false; } - if (!ValidateFramebufferTextureBase(context, target, attachment, texture, level)) - { - return false; - } - // EXT_multisampled_render_to_texture returns INVALID_OPERATION when a sample number higher than // the maximum sample number supported by this format is passed. // The TextureCaps::getMaxSamples method is only guarenteed to be valid when the context is ES3. @@ -6047,6 +6393,11 @@ bool ValidateFramebufferTexture2DMultisampleEXT(const Context *context, } } + if (!ValidateFramebufferTextureBase(context, target, attachment, texture, level)) + { + return false; + } + // Unless EXT_multisampled_render_to_texture2 is enabled, only color attachment 0 can be used. if (!context->getExtensions().multisampledRenderToTexture2 && attachment != GL_COLOR_ATTACHMENT0) @@ -6147,12 +6498,6 @@ void RecordBindTextureTypeError(const Context *context, TextureType target) context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); break; - case TextureType::Buffer: - ASSERT(!context->getExtensions().textureBufferOES && - !context->getExtensions().textureBufferEXT); - context->validationError(GL_INVALID_ENUM, kExtensionNotEnabled); - break; - default: context->validationError(GL_INVALID_ENUM, kInvalidTextureTarget); } diff --git a/gfx/angle/checkout/src/libANGLE/validationES3.cpp b/gfx/angle/checkout/src/libANGLE/validationES3.cpp index 62e477b4afdc..ea5907cbe39c 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES3.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES3.cpp @@ -2014,11 +2014,17 @@ bool ValidateGetProgramBinary(const Context *context, return ValidateGetProgramBinaryBase(context, program, bufSize, length, binaryFormat, binary); } -bool ValidateProgramParameteriBase(const Context *context, - ShaderProgramID program, - GLenum pname, - GLint value) +bool ValidateProgramParameteri(const Context *context, + ShaderProgramID program, + GLenum pname, + GLint value) { + if (context->getClientMajorVersion() < 3) + { + context->validationError(GL_INVALID_OPERATION, kES3Required); + return false; + } + if (GetValidProgram(context, program) == nullptr) { return false; @@ -2056,20 +2062,6 @@ bool ValidateProgramParameteriBase(const Context *context, return true; } -bool ValidateProgramParameteri(const Context *context, - ShaderProgramID program, - GLenum pname, - GLint value) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - - return ValidateProgramParameteriBase(context, program, pname, value); -} - bool ValidateBlitFramebuffer(const Context *context, GLint srcX0, GLint srcY0, @@ -2082,7 +2074,7 @@ bool ValidateBlitFramebuffer(const Context *context, GLbitfield mask, GLenum filter) { - if (context->getClientMajorVersion() < 3 && !context->getExtensions().framebufferBlitNV) + if (context->getClientMajorVersion() < 3) { context->validationError(GL_INVALID_OPERATION, kES3Required); return false; @@ -2703,21 +2695,20 @@ bool ValidateBeginTransformFeedback(const Context *context, PrimitiveMode primit } } - const ProgramExecutable *programExecutable = context->getState().getProgramExecutable(); - if (programExecutable) - { - if (programExecutable->getLinkedTransformFeedbackVaryings().size() == 0) - { - context->validationError(GL_INVALID_OPERATION, kNoTransformFeedbackOutputVariables); - return false; - } - } - else + Program *program = context->getState().getLinkedProgram(context); + + if (!program) { context->validationError(GL_INVALID_OPERATION, kProgramNotBound); return false; } + if (program->getTransformFeedbackVaryingCount() == 0) + { + context->validationError(GL_INVALID_OPERATION, kNoTransformFeedbackOutputVariables); + return false; + } + return true; } @@ -4142,7 +4133,7 @@ bool ValidateGetUniformBlockIndex(const Context *context, bool ValidateGetActiveUniformBlockiv(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLenum pname, const GLint *params) { @@ -4151,7 +4142,7 @@ bool ValidateGetActiveUniformBlockiv(const Context *context, bool ValidateGetActiveUniformBlockName(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLsizei bufSize, const GLsizei *length, const GLchar *uniformBlockName) @@ -4168,7 +4159,7 @@ bool ValidateGetActiveUniformBlockName(const Context *context, return false; } - if (uniformBlockIndex.value >= programObject->getActiveUniformBlockCount()) + if (uniformBlockIndex >= programObject->getActiveUniformBlockCount()) { context->validationError(GL_INVALID_VALUE, kIndexExceedsMaxActiveUniformBlock); return false; @@ -4179,7 +4170,7 @@ bool ValidateGetActiveUniformBlockName(const Context *context, bool ValidateUniformBlockBinding(const Context *context, ShaderProgramID program, - UniformBlockIndex uniformBlockIndex, + GLuint uniformBlockIndex, GLuint uniformBlockBinding) { if (context->getClientMajorVersion() < 3) @@ -4201,7 +4192,7 @@ bool ValidateUniformBlockBinding(const Context *context, } // if never linked, there won't be any uniform blocks - if (uniformBlockIndex.value >= programObject->getActiveUniformBlockCount()) + if (uniformBlockIndex >= programObject->getActiveUniformBlockCount()) { context->validationError(GL_INVALID_VALUE, kIndexExceedsMaxUniformBufferBindings); return false; diff --git a/gfx/angle/checkout/src/libANGLE/validationES3.h b/gfx/angle/checkout/src/libANGLE/validationES3.h index 9c8fe08810a0..d546a576853b 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES3.h +++ b/gfx/angle/checkout/src/libANGLE/validationES3.h @@ -31,11 +31,6 @@ bool ValidateES3TexImageParametersBase(const Context *context, GLenum type, GLsizei imageSize, const void *pixels); - -bool ValidateProgramParameteriBase(const Context *context, - ShaderProgramID program, - GLenum pname, - GLint value); } // namespace gl #endif // LIBANGLE_VALIDATION_ES3_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationES31.cpp b/gfx/angle/checkout/src/libANGLE/validationES31.cpp index 73141c747fd2..f6d6df831956 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES31.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES31.cpp @@ -102,13 +102,7 @@ bool ValidateProgramResourceProperty(const Context *context, GLenum prop) return true; case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: - return context->getExtensions().geometryShader || context->getClientVersion() >= ES_3_2; - - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: - case GL_IS_PER_PATCH_EXT: - return context->getExtensions().tessellationShaderEXT || - context->getClientVersion() >= ES_3_2; + return context->getExtensions().geometryShader; case GL_LOCATION_INDEX_EXT: return context->getExtensions().blendFuncExtended; @@ -222,8 +216,6 @@ bool ValidateProgramResourcePropertyByInterface(GLenum prop, GLenum programInter case GL_REFERENCED_BY_FRAGMENT_SHADER: case GL_REFERENCED_BY_COMPUTE_SHADER: case GL_REFERENCED_BY_GEOMETRY_SHADER_EXT: - case GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT: - case GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT: { switch (programInterface) { @@ -264,14 +256,6 @@ bool ValidateProgramResourcePropertyByInterface(GLenum prop, GLenum programInter return false; } } - case GL_IS_PER_PATCH_EXT: - switch (programInterface) - { - case GL_PROGRAM_INPUT: - case GL_PROGRAM_OUTPUT: - return true; - } - return false; default: return false; @@ -315,25 +299,39 @@ bool ValidateProgramResourceIndex(const Program *programObject, } } -bool ValidateProgramUniformBase(const Context *context, - GLenum valueType, - ShaderProgramID program, - UniformLocation location, - GLsizei count) +bool ValidateProgramUniform(const Context *context, + GLenum valueType, + ShaderProgramID program, + UniformLocation location, + GLsizei count) { + // Check for ES31 program uniform entry points + if (context->getClientVersion() < Version(3, 1)) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + const LinkedUniform *uniform = nullptr; Program *programObject = GetValidProgram(context, program); return ValidateUniformCommonBase(context, programObject, location, count, &uniform) && ValidateUniformValue(context, valueType, uniform->type); } -bool ValidateProgramUniformMatrixBase(const Context *context, - GLenum valueType, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose) +bool ValidateProgramUniformMatrix(const Context *context, + GLenum valueType, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose) { + // Check for ES31 program uniform entry points + if (context->getClientVersion() < Version(3, 1)) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + const LinkedUniform *uniform = nullptr; Program *programObject = GetValidProgram(context, program); return ValidateUniformCommonBase(context, programObject, location, count, &uniform) && @@ -481,7 +479,7 @@ bool ValidateDrawArraysIndirect(const Context *context, PrimitiveMode mode, cons { // EXT_geometry_shader allows transform feedback to work with all draw commands. // [EXT_geometry_shader] Section 12.1, "Transform Feedback" - if (context->getExtensions().geometryShader || context->getClientVersion() >= ES_3_2) + if (context->getExtensions().geometryShader) { if (!ValidateTransformFeedbackPrimitiveMode( context, curTransformFeedback->getPrimitiveMode(), mode)) @@ -555,337 +553,344 @@ bool ValidateDrawElementsIndirect(const Context *context, return true; } -bool ValidateProgramUniform1iBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLint v0) +bool ValidateProgramUniform1i(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLint v0) { - return ValidateProgramUniform1ivBase(context, program, location, 1, &v0); + return ValidateProgramUniform1iv(context, program, location, 1, &v0); } -bool ValidateProgramUniform2iBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLint v0, - GLint v1) +bool ValidateProgramUniform2i(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLint v0, + GLint v1) { GLint xy[2] = {v0, v1}; - return ValidateProgramUniform2ivBase(context, program, location, 1, xy); + return ValidateProgramUniform2iv(context, program, location, 1, xy); } -bool ValidateProgramUniform3iBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLint v0, - GLint v1, - GLint v2) +bool ValidateProgramUniform3i(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLint v0, + GLint v1, + GLint v2) { GLint xyz[3] = {v0, v1, v2}; - return ValidateProgramUniform3ivBase(context, program, location, 1, xyz); + return ValidateProgramUniform3iv(context, program, location, 1, xyz); } -bool ValidateProgramUniform4iBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLint v0, - GLint v1, - GLint v2, - GLint v3) +bool ValidateProgramUniform4i(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLint v0, + GLint v1, + GLint v2, + GLint v3) { GLint xyzw[4] = {v0, v1, v2, v3}; - return ValidateProgramUniform4ivBase(context, program, location, 1, xyzw); + return ValidateProgramUniform4iv(context, program, location, 1, xyzw); } -bool ValidateProgramUniform1uiBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLuint v0) +bool ValidateProgramUniform1ui(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLuint v0) { - return ValidateProgramUniform1uivBase(context, program, location, 1, &v0); + return ValidateProgramUniform1uiv(context, program, location, 1, &v0); } -bool ValidateProgramUniform2uiBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLuint v0, - GLuint v1) +bool ValidateProgramUniform2ui(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLuint v0, + GLuint v1) { GLuint xy[2] = {v0, v1}; - return ValidateProgramUniform2uivBase(context, program, location, 1, xy); + return ValidateProgramUniform2uiv(context, program, location, 1, xy); } -bool ValidateProgramUniform3uiBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLuint v0, - GLuint v1, - GLuint v2) +bool ValidateProgramUniform3ui(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLuint v0, + GLuint v1, + GLuint v2) { GLuint xyz[3] = {v0, v1, v2}; - return ValidateProgramUniform3uivBase(context, program, location, 1, xyz); + return ValidateProgramUniform3uiv(context, program, location, 1, xyz); } -bool ValidateProgramUniform4uiBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) +bool ValidateProgramUniform4ui(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3) { GLuint xyzw[4] = {v0, v1, v2, v3}; - return ValidateProgramUniform4uivBase(context, program, location, 1, xyzw); + return ValidateProgramUniform4uiv(context, program, location, 1, xyzw); } -bool ValidateProgramUniform1fBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLfloat v0) +bool ValidateProgramUniform1f(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLfloat v0) { - return ValidateProgramUniform1fvBase(context, program, location, 1, &v0); + return ValidateProgramUniform1fv(context, program, location, 1, &v0); } -bool ValidateProgramUniform2fBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLfloat v0, - GLfloat v1) +bool ValidateProgramUniform2f(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLfloat v0, + GLfloat v1) { GLfloat xy[2] = {v0, v1}; - return ValidateProgramUniform2fvBase(context, program, location, 1, xy); + return ValidateProgramUniform2fv(context, program, location, 1, xy); } -bool ValidateProgramUniform3fBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLfloat v0, - GLfloat v1, - GLfloat v2) +bool ValidateProgramUniform3f(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLfloat v0, + GLfloat v1, + GLfloat v2) { GLfloat xyz[3] = {v0, v1, v2}; - return ValidateProgramUniform3fvBase(context, program, location, 1, xyz); + return ValidateProgramUniform3fv(context, program, location, 1, xyz); } -bool ValidateProgramUniform4fBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) +bool ValidateProgramUniform4f(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) { GLfloat xyzw[4] = {v0, v1, v2, v3}; - return ValidateProgramUniform4fvBase(context, program, location, 1, xyzw); + return ValidateProgramUniform4fv(context, program, location, 1, xyzw); } -bool ValidateProgramUniform1ivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLint *value) +bool ValidateProgramUniform1iv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLint *value) { + // Check for ES31 program uniform entry points + if (context->getClientVersion() < Version(3, 1)) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + const LinkedUniform *uniform = nullptr; Program *programObject = GetValidProgram(context, program); return ValidateUniformCommonBase(context, programObject, location, count, &uniform) && ValidateUniform1ivValue(context, uniform->type, count, value); } -bool ValidateProgramUniform2ivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLint *value) +bool ValidateProgramUniform2iv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLint *value) { - return ValidateProgramUniformBase(context, GL_INT_VEC2, program, location, count); + return ValidateProgramUniform(context, GL_INT_VEC2, program, location, count); } -bool ValidateProgramUniform3ivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLint *value) +bool ValidateProgramUniform3iv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLint *value) { - return ValidateProgramUniformBase(context, GL_INT_VEC3, program, location, count); + return ValidateProgramUniform(context, GL_INT_VEC3, program, location, count); } -bool ValidateProgramUniform4ivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLint *value) +bool ValidateProgramUniform4iv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLint *value) { - return ValidateProgramUniformBase(context, GL_INT_VEC4, program, location, count); + return ValidateProgramUniform(context, GL_INT_VEC4, program, location, count); } -bool ValidateProgramUniform1uivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLuint *value) +bool ValidateProgramUniform1uiv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLuint *value) { - return ValidateProgramUniformBase(context, GL_UNSIGNED_INT, program, location, count); + return ValidateProgramUniform(context, GL_UNSIGNED_INT, program, location, count); } -bool ValidateProgramUniform2uivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLuint *value) +bool ValidateProgramUniform2uiv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLuint *value) { - return ValidateProgramUniformBase(context, GL_UNSIGNED_INT_VEC2, program, location, count); + return ValidateProgramUniform(context, GL_UNSIGNED_INT_VEC2, program, location, count); } -bool ValidateProgramUniform3uivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLuint *value) +bool ValidateProgramUniform3uiv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLuint *value) { - return ValidateProgramUniformBase(context, GL_UNSIGNED_INT_VEC3, program, location, count); + return ValidateProgramUniform(context, GL_UNSIGNED_INT_VEC3, program, location, count); } -bool ValidateProgramUniform4uivBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLuint *value) +bool ValidateProgramUniform4uiv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLuint *value) { - return ValidateProgramUniformBase(context, GL_UNSIGNED_INT_VEC4, program, location, count); + return ValidateProgramUniform(context, GL_UNSIGNED_INT_VEC4, program, location, count); } -bool ValidateProgramUniform1fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLfloat *value) +bool ValidateProgramUniform1fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLfloat *value) { - return ValidateProgramUniformBase(context, GL_FLOAT, program, location, count); + return ValidateProgramUniform(context, GL_FLOAT, program, location, count); } -bool ValidateProgramUniform2fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLfloat *value) +bool ValidateProgramUniform2fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLfloat *value) { - return ValidateProgramUniformBase(context, GL_FLOAT_VEC2, program, location, count); + return ValidateProgramUniform(context, GL_FLOAT_VEC2, program, location, count); } -bool ValidateProgramUniform3fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLfloat *value) +bool ValidateProgramUniform3fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLfloat *value) { - return ValidateProgramUniformBase(context, GL_FLOAT_VEC3, program, location, count); + return ValidateProgramUniform(context, GL_FLOAT_VEC3, program, location, count); } -bool ValidateProgramUniform4fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLfloat *value) +bool ValidateProgramUniform4fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLfloat *value) { - return ValidateProgramUniformBase(context, GL_FLOAT_VEC4, program, location, count); + return ValidateProgramUniform(context, GL_FLOAT_VEC4, program, location, count); } -bool ValidateProgramUniformMatrix2fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix2fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT2, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT2, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix3fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix3fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT3, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT3, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix4fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix4fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT4, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT4, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix2x3fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix2x3fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT2x3, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT2x3, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix3x2fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix3x2fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT3x2, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT3x2, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix2x4fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix2x4fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT2x4, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT2x4, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix4x2fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix4x2fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT4x2, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT4x2, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix3x4fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix3x4fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT3x4, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT3x4, program, location, count, + transpose); } -bool ValidateProgramUniformMatrix4x3fvBase(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +bool ValidateProgramUniformMatrix4x3fv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { - return ValidateProgramUniformMatrixBase(context, GL_FLOAT_MAT4x3, program, location, count, - transpose); + return ValidateProgramUniformMatrix(context, GL_FLOAT_MAT4x3, program, location, count, + transpose); } bool ValidateGetTexLevelParameterfv(const Context *context, @@ -1057,7 +1062,7 @@ bool ValidateFramebufferParameteri(const Context *context, GLenum target, GLenum } case GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT: { - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { context->validationError(GL_INVALID_ENUM, kGeometryShaderExtensionNotEnabled); return false; @@ -1112,7 +1117,7 @@ bool ValidateGetFramebufferParameteriv(const Context *context, case GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS: break; case GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT: - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) + if (!context->getExtensions().geometryShader) { context->validationError(GL_INVALID_ENUM, kGeometryShaderExtensionNotEnabled); return false; @@ -1676,22 +1681,39 @@ bool ValidateGetProgramInterfaceivRobustANGLE(const Context *context, return false; } -bool ValidateGenProgramPipelinesBase(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelines) +static bool ValidateGenOrDeleteES31(const Context *context, GLint n) { + if (context->getClientVersion() < ES_3_1) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + return ValidateGenOrDelete(context, n); } -bool ValidateDeleteProgramPipelinesBase(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelines) +bool ValidateGenProgramPipelines(const Context *context, + GLsizei n, + const ProgramPipelineID *pipelines) { - return ValidateGenOrDelete(context, n); + return ValidateGenOrDeleteES31(context, n); } -bool ValidateBindProgramPipelineBase(const Context *context, ProgramPipelineID pipeline) +bool ValidateDeleteProgramPipelines(const Context *context, + GLsizei n, + const ProgramPipelineID *pipelines) { + return ValidateGenOrDeleteES31(context, n); +} + +bool ValidateBindProgramPipeline(const Context *context, ProgramPipelineID pipeline) +{ + if (context->getClientVersion() < ES_3_1) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + if (!context->isProgramPipelineGenerated({pipeline})) { context->validationError(GL_INVALID_OPERATION, kObjectNotGenerated); @@ -1701,32 +1723,32 @@ bool ValidateBindProgramPipelineBase(const Context *context, ProgramPipelineID p return true; } -bool ValidateIsProgramPipelineBase(const Context *context, ProgramPipelineID pipeline) +bool ValidateIsProgramPipeline(const Context *context, ProgramPipelineID pipeline) { + if (context->getClientVersion() < ES_3_1) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + return true; } -bool ValidateUseProgramStagesBase(const Context *context, - ProgramPipelineID pipeline, - GLbitfield stages, - ShaderProgramID programId) +bool ValidateUseProgramStages(const Context *context, + ProgramPipelineID pipeline, + GLbitfield stages, + ShaderProgramID programId) { + if (context->getClientVersion() < ES_3_1) + { + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + // GL_INVALID_VALUE is generated if shaders contains set bits that are not recognized, and is // not the reserved value GL_ALL_SHADER_BITS. - GLbitfield knownShaderBits = + const GLbitfield knownShaderBits = GL_VERTEX_SHADER_BIT | GL_FRAGMENT_SHADER_BIT | GL_COMPUTE_SHADER_BIT; - - if (context->getClientVersion() >= ES_3_2 || context->getExtensions().geometryShader) - { - knownShaderBits |= GL_GEOMETRY_SHADER_BIT; - } - - if (context->getClientVersion() >= ES_3_2 || context->getExtensions().tessellationShaderEXT) - { - knownShaderBits |= GL_TESS_CONTROL_SHADER_BIT; - knownShaderBits |= GL_TESS_EVALUATION_SHADER_BIT; - } - if ((stages & ~knownShaderBits) && (stages != GL_ALL_SHADER_BITS)) { context->validationError(GL_INVALID_VALUE, kUnrecognizedShaderStageBit); @@ -1779,9 +1801,9 @@ bool ValidateUseProgramStagesBase(const Context *context, return true; } -bool ValidateActiveShaderProgramBase(const Context *context, - ProgramPipelineID pipeline, - ShaderProgramID programId) +bool ValidateActiveShaderProgram(const Context *context, + ProgramPipelineID pipeline, + ShaderProgramID programId) { // An INVALID_OPERATION error is generated if pipeline is not a name returned from a previous // call to GenProgramPipelines or if such a name has since been deleted by @@ -1819,38 +1841,23 @@ bool ValidateActiveShaderProgramBase(const Context *context, return true; } -bool ValidateCreateShaderProgramvBase(const Context *context, - ShaderType type, - GLsizei count, - const GLchar *const *strings) +bool ValidateCreateShaderProgramv(const Context *context, + ShaderType type, + GLsizei count, + const GLchar *const *strings) { - switch (type) + if (context->getClientVersion() < ES_3_1) { - case ShaderType::InvalidEnum: - context->validationError(GL_INVALID_ENUM, kInvalidShaderType); - return false; - case ShaderType::Vertex: - case ShaderType::Fragment: - case ShaderType::Compute: - break; - case ShaderType::Geometry: - if (!context->getExtensions().geometryShader && context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kInvalidShaderType); - return false; - } - break; - case ShaderType::TessControl: - case ShaderType::TessEvaluation: - if (!context->getExtensions().tessellationShaderEXT && - context->getClientVersion() < ES_3_2) - { - context->validationError(GL_INVALID_ENUM, kInvalidShaderType); - return false; - } - break; - default: - UNREACHABLE(); + context->validationError(GL_INVALID_OPERATION, kES31Required); + return false; + } + + // GL_INVALID_ENUM is generated if type is not an accepted shader type. + if ((type != ShaderType::Vertex) && (type != ShaderType::Fragment) && + (type != ShaderType::Compute)) + { + context->validationError(GL_INVALID_ENUM, kInvalidShaderType); + return false; } // GL_INVALID_VALUE is generated if count is negative. @@ -1863,19 +1870,10 @@ bool ValidateCreateShaderProgramvBase(const Context *context, return true; } -bool ValidateCreateShaderProgramvBase(const Context *context, - ShaderType type, - GLsizei count, - const GLchar **strings) -{ - const GLchar *const *tmpStrings = strings; - return ValidateCreateShaderProgramvBase(context, type, count, tmpStrings); -} - -bool ValidateGetProgramPipelineivBase(const Context *context, - ProgramPipelineID pipeline, - GLenum pname, - const GLint *params) +bool ValidateGetProgramPipelineiv(const Context *context, + ProgramPipelineID pipeline, + GLenum pname, + const GLint *params) { // An INVALID_OPERATION error is generated if pipeline is not a name returned from a previous // call to GenProgramPipelines or if such a name has since been deleted by @@ -1907,7 +1905,7 @@ bool ValidateGetProgramPipelineivBase(const Context *context, return true; } -bool ValidateValidateProgramPipelineBase(const Context *context, ProgramPipelineID pipeline) +bool ValidateValidateProgramPipeline(const Context *context, ProgramPipelineID pipeline) { if (pipeline.value == 0) { @@ -1923,11 +1921,11 @@ bool ValidateValidateProgramPipelineBase(const Context *context, ProgramPipeline return true; } -bool ValidateGetProgramPipelineInfoLogBase(const Context *context, - ProgramPipelineID pipeline, - GLsizei bufSize, - const GLsizei *length, - const GLchar *infoLog) +bool ValidateGetProgramPipelineInfoLog(const Context *context, + ProgramPipelineID pipeline, + GLsizei bufSize, + const GLsizei *length, + const GLchar *infoLog) { if (bufSize < 0) { @@ -1944,654 +1942,6 @@ bool ValidateGetProgramPipelineInfoLogBase(const Context *context, return true; } -bool ValidateActiveShaderProgram(const Context *context, - ProgramPipelineID pipelinePacked, - ShaderProgramID programPacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateActiveShaderProgramBase(context, pipelinePacked, programPacked); -} - -bool ValidateBindProgramPipeline(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateBindProgramPipelineBase(context, pipelinePacked); -} - -bool ValidateCreateShaderProgramv(const Context *context, - ShaderType typePacked, - GLsizei count, - const GLchar *const *strings) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateCreateShaderProgramvBase(context, typePacked, count, strings); -} - -bool ValidateDeleteProgramPipelines(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateDeleteProgramPipelinesBase(context, n, pipelinesPacked); -} - -bool ValidateGenProgramPipelines(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateGenProgramPipelinesBase(context, n, pipelinesPacked); -} - -bool ValidateGetProgramPipelineInfoLog(const Context *context, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - const GLsizei *length, - const GLchar *infoLog) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateGetProgramPipelineInfoLogBase(context, pipelinePacked, bufSize, length, infoLog); -} - -bool ValidateGetProgramPipelineiv(const Context *context, - ProgramPipelineID pipelinePacked, - GLenum pname, - const GLint *params) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateGetProgramPipelineivBase(context, pipelinePacked, pname, params); -} - -bool ValidateIsProgramPipeline(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateIsProgramPipelineBase(context, pipelinePacked); -} - -bool ValidateProgramUniform1f(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1fBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform1i(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1iBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1iv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform1ui(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1uiBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1uiv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform1uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2f(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2fBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2i(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2iBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2iv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2ui(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2uiBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2uiv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform2uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3f(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3fBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3i(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3iBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3iv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3ui(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3uiBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3uiv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform3uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4f(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4fBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4i(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2, - GLint v3) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4iBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4iv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4ui(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4uiBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4uiv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniform4uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniformMatrix2fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix2x3fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix2x3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix2x4fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix2x4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3x2fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix3x2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3x4fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix3x4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4x2fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix4x2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4x3fv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateProgramUniformMatrix4x3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateUseProgramStages(const Context *context, - ProgramPipelineID pipelinePacked, - GLbitfield stages, - ShaderProgramID programPacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateUseProgramStagesBase(context, pipelinePacked, stages, programPacked); -} - -bool ValidateValidateProgramPipeline(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (context->getClientVersion() < ES_3_1) - { - context->validationError(GL_INVALID_OPERATION, kES31Required); - return false; - } - - return ValidateValidateProgramPipelineBase(context, pipelinePacked); -} - bool ValidateMemoryBarrier(const Context *context, GLbitfield barriers) { if (context->getClientVersion() < ES_3_1) @@ -2957,13 +2307,6 @@ bool ValidateTexBufferRangeBase(const Context *context, return false; } const Buffer *buffer = context->getBuffer(bufferPacked); - - if (!buffer) - { - context->validationError(GL_INVALID_OPERATION, kBufferNotBound); - return false; - } - if (offset + size > buffer->getSize()) { context->validationError(GL_INVALID_VALUE, kTextureBufferSizeOffset); diff --git a/gfx/angle/checkout/src/libANGLE/validationES31.h b/gfx/angle/checkout/src/libANGLE/validationES31.h index 0f9d4eee7ca9..9f792e8e9889 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES31.h +++ b/gfx/angle/checkout/src/libANGLE/validationES31.h @@ -26,220 +26,6 @@ bool ValidateTexBufferRangeBase(const Context *context, GLintptr offset, GLsizeiptr size); -// GL_EXT_separate_shader_objects -bool ValidateActiveShaderProgramBase(const Context *context, - ProgramPipelineID pipelinePacked, - ShaderProgramID programPacked); -bool ValidateBindProgramPipelineBase(const Context *context, ProgramPipelineID pipelinePacked); -bool ValidateCreateShaderProgramvBase(const Context *context, - ShaderType typePacked, - GLsizei count, - const GLchar **strings); -bool ValidateDeleteProgramPipelinesBase(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked); -bool ValidateGenProgramPipelinesBase(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked); -bool ValidateGetProgramPipelineInfoLogBase(const Context *context, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - const GLsizei *length, - const GLchar *infoLog); -bool ValidateGetProgramPipelineivBase(const Context *context, - ProgramPipelineID pipelinePacked, - GLenum pname, - const GLint *params); -bool ValidateIsProgramPipelineBase(const Context *context, ProgramPipelineID pipelinePacked); -bool ValidateProgramParameteriBase(const Context *context, - ShaderProgramID programPacked, - GLenum pname, - GLint value); -bool ValidateProgramUniform1fBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0); -bool ValidateProgramUniform1fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform1iBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0); -bool ValidateProgramUniform1ivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform1uiBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0); -bool ValidateProgramUniform1uivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform2fBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1); -bool ValidateProgramUniform2fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform2iBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1); -bool ValidateProgramUniform2ivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform2uiBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1); -bool ValidateProgramUniform2uivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform3fBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2); -bool ValidateProgramUniform3fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform3iBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2); -bool ValidateProgramUniform3ivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform3uiBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2); -bool ValidateProgramUniform3uivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform4fBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -bool ValidateProgramUniform4fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform4iBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2, - GLint v3); -bool ValidateProgramUniform4ivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform4uiBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -bool ValidateProgramUniform4uivBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniformMatrix2fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix2x3fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix2x4fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3x2fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3x4fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4x2fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4x3fvBase(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateUseProgramStagesBase(const Context *context, - ProgramPipelineID pipelinePacked, - GLbitfield stages, - ShaderProgramID programPacked); -bool ValidateValidateProgramPipelineBase(const Context *context, ProgramPipelineID pipelinePacked); } // namespace gl #endif // LIBANGLE_VALIDATION_ES31_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationES32.cpp b/gfx/angle/checkout/src/libANGLE/validationES32.cpp index 0b31e94954f5..dc9a31b6532b 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES32.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationES32.cpp @@ -205,6 +205,12 @@ bool ValidateDrawElementsBaseVertex(const Context *context, const void *indices, GLint basevertex) { + if (!context->getExtensions().drawElementsBaseVertexAny()) + { + context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); + return false; + } + return ValidateDrawElementsCommon(context, mode, count, type, indices, 1); } @@ -216,6 +222,12 @@ bool ValidateDrawElementsInstancedBaseVertex(const Context *context, GLsizei instancecount, GLint basevertex) { + if (!context->getExtensions().drawElementsBaseVertexAny()) + { + context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); + return false; + } + return ValidateDrawElementsInstancedBase(context, mode, count, type, indices, instancecount); } @@ -228,6 +240,12 @@ bool ValidateDrawRangeElementsBaseVertex(const Context *context, const void *indices, GLint basevertex) { + if (!context->getExtensions().drawElementsBaseVertexAny()) + { + context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); + return false; + } + if (end < start) { context->validationError(GL_INVALID_VALUE, kInvalidElementRange); diff --git a/gfx/angle/checkout/src/libANGLE/validationES3_autogen.h b/gfx/angle/checkout/src/libANGLE/validationES3_autogen.h index 0c1a0149fab9..803da1ef00ec 100644 --- a/gfx/angle/checkout/src/libANGLE/validationES3_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationES3_autogen.h @@ -153,13 +153,13 @@ bool ValidateGenTransformFeedbacks(const Context *context, bool ValidateGenVertexArrays(const Context *context, GLsizei n, const VertexArrayID *arraysPacked); bool ValidateGetActiveUniformBlockName(const Context *context, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLsizei bufSize, const GLsizei *length, const GLchar *uniformBlockName); bool ValidateGetActiveUniformBlockiv(const Context *context, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, const GLint *params); bool ValidateGetActiveUniformsiv(const Context *context, @@ -379,7 +379,7 @@ bool ValidateUniform4uiv(const Context *context, const GLuint *value); bool ValidateUniformBlockBinding(const Context *context, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLuint uniformBlockBinding); bool ValidateUniformMatrix2x3fv(const Context *context, UniformLocation locationPacked, diff --git a/gfx/angle/checkout/src/libANGLE/validationESEXT.cpp b/gfx/angle/checkout/src/libANGLE/validationESEXT.cpp index e567816eaf94..c8d31ee91850 100644 --- a/gfx/angle/checkout/src/libANGLE/validationESEXT.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationESEXT.cpp @@ -12,8 +12,6 @@ #include "libANGLE/MemoryObject.h" #include "libANGLE/validationES.h" #include "libANGLE/validationES2.h" -#include "libANGLE/validationES3.h" -#include "libANGLE/validationES31.h" #include "libANGLE/validationES32.h" namespace gl @@ -77,141 +75,6 @@ bool IsValidMemoryObjectParamater(const Context *context, GLenum pname) } } -bool ValidateObjectIdentifierAndName(const Context *context, GLenum identifier, GLuint name) -{ - bool isGLES11 = context->getClientVersion() == Version(1, 1); - bool isGLES3 = context->getClientMajorVersion() >= 3; - bool isGLES31 = context->getClientVersion() >= Version(3, 1); - switch (identifier) - { - case GL_BUFFER_OBJECT_EXT: - if (context->getBuffer({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidBufferName); - return false; - } - return true; - - case GL_SHADER_OBJECT_EXT: - if (isGLES11) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getShader({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidShaderName); - return false; - } - return true; - - case GL_PROGRAM_OBJECT_EXT: - if (isGLES11) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getProgramNoResolveLink({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidProgramName); - return false; - } - return true; - - case GL_VERTEX_ARRAY_OBJECT_EXT: - if (!isGLES3 && !context->getExtensions().vertexArrayObjectOES) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getVertexArray({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidVertexArrayName); - return false; - } - return true; - - case GL_QUERY_OBJECT_EXT: - if (!isGLES3 && !context->getExtensions().occlusionQueryBoolean) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getQuery({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidQueryName); - return false; - } - return true; - - case GL_TRANSFORM_FEEDBACK: - if (!isGLES3) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getTransformFeedback({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidTransformFeedbackName); - return false; - } - return true; - - case GL_SAMPLER: - if (!isGLES3) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getSampler({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidSamplerName); - return false; - } - return true; - - case GL_TEXTURE: - if (context->getTexture({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidTextureName); - return false; - } - return true; - - case GL_RENDERBUFFER: - if (!context->isRenderbuffer({name})) - { - context->validationError(GL_INVALID_OPERATION, kInvalidRenderbufferName); - return false; - } - return true; - - case GL_FRAMEBUFFER: - if (context->getFramebuffer({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidFramebufferName); - return false; - } - return true; - - case GL_PROGRAM_PIPELINE_OBJECT_EXT: - if (!isGLES31 && !context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_ENUM, kInvalidType); - return false; - } - if (context->getProgramPipeline({name}) == nullptr) - { - context->validationError(GL_INVALID_OPERATION, kInvalidProgramPipelineName); - return false; - } - return true; - - default: - context->validationError(GL_INVALID_ENUM, kInvalidIndentifier); - return false; - } -} } // namespace bool ValidateGetTexImageANGLE(const Context *context, @@ -468,13 +331,6 @@ bool ValidateDrawRangeElementsBaseVertexOES(const Context *context, return true; } -// GL_KHR_blend_equation_advanced -bool ValidateBlendBarrierKHR(const Context *context) -{ - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; -} - bool ValidateBlendEquationSeparateiEXT(const Context *context, GLuint buf, GLenum modeRGB, @@ -1122,110 +978,6 @@ bool ValidateImportSemaphoreFdEXT(const Context *context, return true; } -bool ValidateGetSamplerParameterIivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateGetSamplerParameterBase(context, samplerPacked, pname, nullptr); -} - -bool ValidateGetSamplerParameterIuivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLuint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateGetSamplerParameterBase(context, samplerPacked, pname, nullptr); -} - -bool ValidateGetTexParameterIivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateGetTexParameterBase(context, targetPacked, pname, nullptr); -} - -bool ValidateGetTexParameterIuivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLuint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateGetTexParameterBase(context, targetPacked, pname, nullptr); -} - -bool ValidateSamplerParameterIivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLint *param) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateSamplerParameterBase(context, samplerPacked, pname, -1, true, param); -} - -bool ValidateSamplerParameterIuivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLuint *param) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateSamplerParameterBase(context, samplerPacked, pname, -1, true, param); -} - -bool ValidateTexParameterIivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateTexParameterBase(context, targetPacked, pname, -1, true, params); -} - -bool ValidateTexParameterIuivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLuint *params) -{ - if (context->getClientMajorVersion() < 3) - { - context->validationError(GL_INVALID_OPERATION, kES3Required); - return false; - } - return ValidateTexParameterBase(context, targetPacked, pname, -1, true, params); -} - bool ValidateImportSemaphoreZirconHandleANGLE(const Context *context, SemaphoreID semaphore, HandleType handleType, @@ -1249,40 +1001,6 @@ bool ValidateImportSemaphoreZirconHandleANGLE(const Context *context, return true; } -bool ValidateFramebufferFetchBarrierEXT(const Context *context) -{ - return true; -} - -bool ValidatePatchParameteriEXT(const Context *context, GLenum pname, GLint value) -{ - if (!context->getExtensions().tessellationShaderEXT) - { - context->validationError(GL_INVALID_OPERATION, kTessellationShaderExtensionNotEnabled); - return false; - } - - if (pname != GL_PATCH_VERTICES) - { - context->validationError(GL_INVALID_ENUM, kInvalidPname); - return false; - } - - if (value <= 0) - { - context->validationError(GL_INVALID_VALUE, kInvalidValueNonPositive); - return false; - } - - if (value > context->getCaps().maxPatchVertices) - { - context->validationError(GL_INVALID_VALUE, kInvalidValueExceedsMaxPatchSize); - return false; - } - - return true; -} - bool ValidateTexStorageMemFlags2DANGLE(const Context *context, TextureType targetPacked, GLsizei levels, @@ -1401,15 +1119,15 @@ bool ValidateBufferStorageEXT(const Context *context, return false; } - if (size <= 0) + if (size < 0) { - context->validationError(GL_INVALID_VALUE, kNonPositiveSize); + context->validationError(GL_INVALID_VALUE, kNegativeSize); return false; } constexpr GLbitfield kAllUsageFlags = (GL_DYNAMIC_STORAGE_BIT_EXT | GL_MAP_READ_BIT | GL_MAP_WRITE_BIT | - GL_MAP_PERSISTENT_BIT_EXT | GL_MAP_COHERENT_BIT_EXT | GL_CLIENT_STORAGE_BIT_EXT); + GL_MAP_PERSISTENT_BIT_EXT | GL_MAP_PERSISTENT_BIT_EXT | GL_CLIENT_STORAGE_BIT_EXT); if ((flags & ~kAllUsageFlags) != 0) { context->validationError(GL_INVALID_VALUE, kInvalidBufferUsageFlags); @@ -1446,24 +1164,6 @@ bool ValidateBufferStorageEXT(const Context *context, return true; } -// GL_EXT_clip_control -bool ValidateClipControlEXT(const Context *context, GLenum origin, GLenum depth) -{ - if ((origin != GL_LOWER_LEFT_EXT) && (origin != GL_UPPER_LEFT_EXT)) - { - context->validationError(GL_INVALID_ENUM, kInvalidOriginEnum); - return false; - } - - if ((depth != GL_NEGATIVE_ONE_TO_ONE_EXT) && (depth != GL_ZERO_TO_ONE_EXT)) - { - context->validationError(GL_INVALID_ENUM, kInvalidDepthEnum); - return false; - } - - return true; -} - // GL_EXT_external_buffer bool ValidateBufferStorageExternalEXT(const Context *context, BufferBinding targetPacked, @@ -1472,24 +1172,8 @@ bool ValidateBufferStorageExternalEXT(const Context *context, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - if (!ValidateBufferStorageEXT(context, targetPacked, size, nullptr, flags)) - { - return false; - } - - if (offset != 0) - { - context->validationError(GL_INVALID_VALUE, kExternalBufferInvalidOffset); - return false; - } - - if (clientBuffer == nullptr && size > 0) - { - context->validationError(GL_INVALID_VALUE, kClientBufferInvalid); - return false; - } - - return true; + UNIMPLEMENTED(); + return false; } bool ValidateNamedBufferStorageExternalEXT(const Context *context, @@ -1502,714 +1186,4 @@ bool ValidateNamedBufferStorageExternalEXT(const Context *context, UNIMPLEMENTED(); return false; } - -// GL_EXT_primitive_bounding_box -bool ValidatePrimitiveBoundingBoxEXT(const Context *context, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) -{ - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; -} - -// GL_EXT_separate_shader_objects -bool ValidateActiveShaderProgramEXT(const Context *context, - ProgramPipelineID pipelinePacked, - ShaderProgramID programPacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateActiveShaderProgramBase(context, pipelinePacked, programPacked); -} - -bool ValidateBindProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateBindProgramPipelineBase(context, pipelinePacked); -} - -bool ValidateCreateShaderProgramvEXT(const Context *context, - ShaderType typePacked, - GLsizei count, - const GLchar **strings) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateCreateShaderProgramvBase(context, typePacked, count, strings); -} - -bool ValidateDeleteProgramPipelinesEXT(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateDeleteProgramPipelinesBase(context, n, pipelinesPacked); -} - -bool ValidateGenProgramPipelinesEXT(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGenProgramPipelinesBase(context, n, pipelinesPacked); -} - -bool ValidateGetProgramPipelineInfoLogEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - const GLsizei *length, - const GLchar *infoLog) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGetProgramPipelineInfoLogBase(context, pipelinePacked, bufSize, length, infoLog); -} - -bool ValidateGetProgramPipelineivEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLenum pname, - const GLint *params) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateGetProgramPipelineivBase(context, pipelinePacked, pname, params); -} - -bool ValidateIsProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateIsProgramPipelineBase(context, pipelinePacked); -} - -bool ValidateProgramParameteriEXT(const Context *context, - ShaderProgramID programPacked, - GLenum pname, - GLint value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramParameteriBase(context, programPacked, pname, value); -} - -bool ValidateProgramUniform1fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1fBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform1iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1iBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform1uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1uiBase(context, programPacked, locationPacked, v0); -} - -bool ValidateProgramUniform1uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform1uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2fBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2iBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform2uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2uiBase(context, programPacked, locationPacked, v0, v1); -} - -bool ValidateProgramUniform2uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform2uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3fBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3iBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform3uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3uiBase(context, programPacked, locationPacked, v0, v1, v2); -} - -bool ValidateProgramUniform3uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform3uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform4fBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform4fvBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2, - GLint v3) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform4iBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value) -{ - return ValidateProgramUniform4ivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniform4uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniform4uiBase(context, programPacked, locationPacked, v0, v1, v2, v3); -} - -bool ValidateProgramUniform4uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value) -{ - return ValidateProgramUniform4uivBase(context, programPacked, locationPacked, count, value); -} - -bool ValidateProgramUniformMatrix2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix2x3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix2x3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix2x4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix2x4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3x2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix3x2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix3x4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix3x4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix4fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4x2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix4x2fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateProgramUniformMatrix4x3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateProgramUniformMatrix4x3fvBase(context, programPacked, locationPacked, count, - transpose, value); -} - -bool ValidateUseProgramStagesEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLbitfield stages, - ShaderProgramID programPacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateUseProgramStagesBase(context, pipelinePacked, stages, programPacked); -} - -bool ValidateValidateProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked) -{ - if (!context->getExtensions().separateShaderObjects) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - return ValidateValidateProgramPipelineBase(context, pipelinePacked); -} - -// GL_EXT_debug_label -bool ValidateGetObjectLabelEXT(const Context *context, - GLenum type, - GLuint object, - GLsizei bufSize, - const GLsizei *length, - const GLchar *label) -{ - if (!context->getExtensions().debugLabel) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - if (bufSize < 0) - { - context->validationError(GL_INVALID_VALUE, kNegativeBufferSize); - return false; - } - - return ValidateObjectIdentifierAndName(context, type, object); -} - -bool ValidateLabelObjectEXT(const Context *context, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label) -{ - if (!context->getExtensions().debugLabel) - { - context->validationError(GL_INVALID_OPERATION, kExtensionNotEnabled); - return false; - } - - if (length < 0) - { - context->validationError(GL_INVALID_VALUE, kNegativeLength); - return false; - } - - return ValidateObjectIdentifierAndName(context, type, object); -} } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationESEXT_autogen.h b/gfx/angle/checkout/src/libANGLE/validationESEXT_autogen.h index 61060223a642..33ee2853e08f 100644 --- a/gfx/angle/checkout/src/libANGLE/validationESEXT_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationESEXT_autogen.h @@ -482,7 +482,7 @@ bool ValidateGetUniformuivRobustANGLE(const Context *context, const GLuint *params); bool ValidateGetActiveUniformBlockivRobustANGLE(const Context *context, ShaderProgramID programPacked, - UniformBlockIndex uniformBlockIndexPacked, + GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, const GLsizei *length, @@ -751,8 +751,6 @@ bool ValidateLoseContextCHROMIUM(const Context *context, // GL_EXT_EGL_image_array -// GL_EXT_YUV_target - // GL_EXT_blend_func_extended bool ValidateBindFragDataLocationEXT(const Context *context, ShaderProgramID programPacked, @@ -778,9 +776,6 @@ bool ValidateBufferStorageEXT(const Context *context, const void *data, GLbitfield flags); -// GL_EXT_clip_control -bool ValidateClipControlEXT(const Context *context, GLenum origin, GLenum depth); - // GL_EXT_copy_image bool ValidateCopyImageSubDataEXT(const Context *context, GLuint srcName, @@ -799,19 +794,6 @@ bool ValidateCopyImageSubDataEXT(const Context *context, GLsizei srcHeight, GLsizei srcDepth); -// GL_EXT_debug_label -bool ValidateGetObjectLabelEXT(const Context *context, - GLenum type, - GLuint object, - GLsizei bufSize, - const GLsizei *length, - const GLchar *label); -bool ValidateLabelObjectEXT(const Context *context, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label); - // GL_EXT_debug_marker bool ValidateInsertEventMarkerEXT(const Context *context, GLsizei length, const GLchar *marker); bool ValidatePopGroupMarkerEXT(const Context *context); @@ -1041,17 +1023,6 @@ bool ValidateRenderbufferStorageMultisampleEXT(const Context *context, // GL_EXT_occlusion_query_boolean -// GL_EXT_primitive_bounding_box -bool ValidatePrimitiveBoundingBoxEXT(const Context *context, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); - // GL_EXT_read_format_bgra // GL_EXT_robustness @@ -1115,263 +1086,6 @@ bool ValidateImportSemaphoreFdEXT(const Context *context, HandleType handleTypePacked, GLint fd); -// GL_EXT_separate_shader_objects -bool ValidateActiveShaderProgramEXT(const Context *context, - ProgramPipelineID pipelinePacked, - ShaderProgramID programPacked); -bool ValidateBindProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked); -bool ValidateCreateShaderProgramvEXT(const Context *context, - ShaderType typePacked, - GLsizei count, - const GLchar **strings); -bool ValidateDeleteProgramPipelinesEXT(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked); -bool ValidateGenProgramPipelinesEXT(const Context *context, - GLsizei n, - const ProgramPipelineID *pipelinesPacked); -bool ValidateGetProgramPipelineInfoLogEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLsizei bufSize, - const GLsizei *length, - const GLchar *infoLog); -bool ValidateGetProgramPipelineivEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLenum pname, - const GLint *params); -bool ValidateIsProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked); -bool ValidateProgramParameteriEXT(const Context *context, - ShaderProgramID programPacked, - GLenum pname, - GLint value); -bool ValidateProgramUniform1fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0); -bool ValidateProgramUniform1fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform1iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0); -bool ValidateProgramUniform1ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform1uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0); -bool ValidateProgramUniform1uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform2fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1); -bool ValidateProgramUniform2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform2iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1); -bool ValidateProgramUniform2ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform2uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1); -bool ValidateProgramUniform2uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform3fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2); -bool ValidateProgramUniform3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform3iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2); -bool ValidateProgramUniform3ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform3uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2); -bool ValidateProgramUniform3uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniform4fEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -bool ValidateProgramUniform4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLfloat *value); -bool ValidateProgramUniform4iEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLint v0, - GLint v1, - GLint v2, - GLint v3); -bool ValidateProgramUniform4ivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLint *value); -bool ValidateProgramUniform4uiEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -bool ValidateProgramUniform4uivEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLuint *value); -bool ValidateProgramUniformMatrix2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix2x3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix2x4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3x2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix3x4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4x2fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateProgramUniformMatrix4x3fvEXT(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -bool ValidateUseProgramStagesEXT(const Context *context, - ProgramPipelineID pipelinePacked, - GLbitfield stages, - ShaderProgramID programPacked); -bool ValidateValidateProgramPipelineEXT(const Context *context, ProgramPipelineID pipelinePacked); - -// GL_EXT_shader_framebuffer_fetch_non_coherent -bool ValidateFramebufferFetchBarrierEXT(const Context *context); - -// GL_EXT_shader_io_blocks - -// GL_EXT_tessellation_shader -bool ValidatePatchParameteriEXT(const Context *context, GLenum pname, GLint value); - -// GL_EXT_texture_border_clamp -bool ValidateGetSamplerParameterIivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLint *params); -bool ValidateGetSamplerParameterIuivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLuint *params); -bool ValidateGetTexParameterIivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLint *params); -bool ValidateGetTexParameterIuivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLuint *params); -bool ValidateSamplerParameterIivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLint *param); -bool ValidateSamplerParameterIuivEXT(const Context *context, - SamplerID samplerPacked, - GLenum pname, - const GLuint *param); -bool ValidateTexParameterIivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLint *params); -bool ValidateTexParameterIuivEXT(const Context *context, - TextureType targetPacked, - GLenum pname, - const GLuint *params); - // GL_EXT_texture_buffer bool ValidateTexBufferEXT(const Context *context, TextureType targetPacked, @@ -1402,8 +1116,6 @@ bool ValidateTexBufferRangeEXT(const Context *context, // GL_EXT_texture_sRGB_R8 -// GL_EXT_texture_sRGB_RG8 - // GL_EXT_texture_storage bool ValidateTexStorage1DEXT(const Context *context, GLenum target, @@ -1424,9 +1136,6 @@ bool ValidateTexStorage3DEXT(const Context *context, GLsizei height, GLsizei depth); -// GL_KHR_blend_equation_advanced -bool ValidateBlendBarrierKHR(const Context *context); - // GL_KHR_debug bool ValidateDebugMessageCallbackKHR(const Context *context, GLDEBUGPROCKHR callback, @@ -1497,19 +1206,6 @@ bool ValidateIsFenceNV(const Context *context, FenceNVID fencePacked); bool ValidateSetFenceNV(const Context *context, FenceNVID fencePacked, GLenum condition); bool ValidateTestFenceNV(const Context *context, FenceNVID fencePacked); -// GL_NV_framebuffer_blit -bool ValidateBlitFramebufferNV(const Context *context, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); - // GL_OES_EGL_image bool ValidateEGLImageTargetRenderbufferStorageOES(const Context *context, GLenum target, @@ -1714,8 +1410,6 @@ bool ValidateQueryMatrixxOES(const Context *context, // GL_OES_sample_shading bool ValidateMinSampleShadingOES(const Context *context, GLfloat value); -// GL_OES_shader_io_blocks - // GL_OES_texture_3D bool ValidateCompressedTexImage3DOES(const Context *context, TextureTarget targetPacked, diff --git a/gfx/angle/checkout/src/libANGLE/validationGL1.cpp b/gfx/angle/checkout/src/libANGLE/validationGL1.cpp index 8a77398a9d37..c6ded5fb3509 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL1.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationGL1.cpp @@ -1276,568 +1276,4 @@ bool ValidateVertex4sv(const Context *, const GLshort *v) return true; } -bool ValidateAreTexturesResident(const Context *context, - GLsizei n, - const GLuint *textures, - const GLboolean *residences) -{ - return true; -} - -bool ValidateArrayElement(const Context *context, GLint i) -{ - return true; -} - -bool ValidateCopyTexImage1D(const Context *context, - GLenum target, - GLint level, - GLenum internalformat, - GLint x, - GLint y, - GLsizei width, - GLint border) -{ - return true; -} - -bool ValidateCopyTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLint x, - GLint y, - GLsizei width) -{ - return true; -} - -bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer) -{ - return true; -} - -bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer) -{ - return true; -} - -bool ValidateIndexub(const Context *context, GLubyte c) -{ - return true; -} - -bool ValidateIndexubv(const Context *context, const GLubyte *c) -{ - return true; -} - -bool ValidateInterleavedArrays(const Context *context, - GLenum format, - GLsizei stride, - const void *pointer) -{ - return true; -} - -bool ValidatePopClientAttrib(const Context *context) -{ - return true; -} - -bool ValidatePrioritizeTextures(const Context *context, - GLsizei n, - const GLuint *textures, - const GLfloat *priorities) -{ - return true; -} - -bool ValidatePushClientAttrib(const Context *context, GLbitfield mask) -{ - return true; -} - -bool ValidateTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLenum type, - const void *pixels) -{ - return true; -} - -bool ValidateCompressedTexImage1D(const Context *context, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLint border, - GLsizei imageSize, - const void *data) -{ - return true; -} - -bool ValidateCompressedTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLsizei imageSize, - const void *data) -{ - return true; -} - -bool ValidateGetCompressedTexImage(const Context *context, - GLenum target, - GLint level, - const void *img) -{ - return true; -} - -bool ValidateLoadTransposeMatrixd(const Context *context, const GLdouble *m) -{ - return true; -} - -bool ValidateLoadTransposeMatrixf(const Context *context, const GLfloat *m) -{ - return true; -} - -bool ValidateMultTransposeMatrixd(const Context *context, const GLdouble *m) -{ - return true; -} - -bool ValidateMultTransposeMatrixf(const Context *context, const GLfloat *m) -{ - return true; -} - -bool ValidateMultiTexCoord1d(const Context *context, GLenum target, GLdouble s) -{ - return true; -} - -bool ValidateMultiTexCoord1dv(const Context *context, GLenum target, const GLdouble *v) -{ - return true; -} - -bool ValidateMultiTexCoord1f(const Context *context, GLenum target, GLfloat s) -{ - return true; -} - -bool ValidateMultiTexCoord1fv(const Context *context, GLenum target, const GLfloat *v) -{ - return true; -} - -bool ValidateMultiTexCoord1i(const Context *context, GLenum target, GLint s) -{ - return true; -} - -bool ValidateMultiTexCoord1iv(const Context *context, GLenum target, const GLint *v) -{ - return true; -} - -bool ValidateMultiTexCoord1s(const Context *context, GLenum target, GLshort s) -{ - return true; -} - -bool ValidateMultiTexCoord1sv(const Context *context, GLenum target, const GLshort *v) -{ - return true; -} - -bool ValidateMultiTexCoord2d(const Context *context, GLenum target, GLdouble s, GLdouble t) -{ - return true; -} - -bool ValidateMultiTexCoord2dv(const Context *context, GLenum target, const GLdouble *v) -{ - return true; -} - -bool ValidateMultiTexCoord2f(const Context *context, GLenum target, GLfloat s, GLfloat t) -{ - return true; -} - -bool ValidateMultiTexCoord2fv(const Context *context, GLenum target, const GLfloat *v) -{ - return true; -} - -bool ValidateMultiTexCoord2i(const Context *context, GLenum target, GLint s, GLint t) -{ - return true; -} - -bool ValidateMultiTexCoord2iv(const Context *context, GLenum target, const GLint *v) -{ - return true; -} - -bool ValidateMultiTexCoord2s(const Context *context, GLenum target, GLshort s, GLshort t) -{ - return true; -} - -bool ValidateMultiTexCoord2sv(const Context *context, GLenum target, const GLshort *v) -{ - return true; -} - -bool ValidateMultiTexCoord3d(const Context *context, - GLenum target, - GLdouble s, - GLdouble t, - GLdouble r) -{ - return true; -} - -bool ValidateMultiTexCoord3dv(const Context *context, GLenum target, const GLdouble *v) -{ - return true; -} - -bool ValidateMultiTexCoord3f(const Context *context, GLenum target, GLfloat s, GLfloat t, GLfloat r) -{ - return true; -} - -bool ValidateMultiTexCoord3fv(const Context *context, GLenum target, const GLfloat *v) -{ - return true; -} - -bool ValidateMultiTexCoord3i(const Context *context, GLenum target, GLint s, GLint t, GLint r) -{ - return true; -} - -bool ValidateMultiTexCoord3iv(const Context *context, GLenum target, const GLint *v) -{ - return true; -} - -bool ValidateMultiTexCoord3s(const Context *context, GLenum target, GLshort s, GLshort t, GLshort r) -{ - return true; -} - -bool ValidateMultiTexCoord3sv(const Context *context, GLenum target, const GLshort *v) -{ - return true; -} - -bool ValidateMultiTexCoord4d(const Context *context, - GLenum target, - GLdouble s, - GLdouble t, - GLdouble r, - GLdouble q) -{ - return true; -} - -bool ValidateMultiTexCoord4dv(const Context *context, GLenum target, const GLdouble *v) -{ - return true; -} - -bool ValidateMultiTexCoord4fv(const Context *context, GLenum target, const GLfloat *v) -{ - return true; -} - -bool ValidateMultiTexCoord4i(const Context *context, - GLenum target, - GLint s, - GLint t, - GLint r, - GLint q) -{ - return true; -} - -bool ValidateMultiTexCoord4iv(const Context *context, GLenum target, const GLint *v) -{ - return true; -} - -bool ValidateMultiTexCoord4s(const Context *context, - GLenum target, - GLshort s, - GLshort t, - GLshort r, - GLshort q) -{ - return true; -} - -bool ValidateMultiTexCoord4sv(const Context *context, GLenum target, const GLshort *v) -{ - return true; -} - -bool ValidateFogCoordPointer(const Context *context, - GLenum type, - GLsizei stride, - const void *pointer) -{ - return true; -} - -bool ValidateFogCoordd(const Context *context, GLdouble coord) -{ - return true; -} - -bool ValidateFogCoorddv(const Context *context, const GLdouble *coord) -{ - return true; -} - -bool ValidateFogCoordf(const Context *context, GLfloat coord) -{ - return true; -} - -bool ValidateFogCoordfv(const Context *context, const GLfloat *coord) -{ - return true; -} - -bool ValidateMultiDrawArrays(const Context *context, - PrimitiveMode modePacked, - const GLint *first, - const GLsizei *count, - GLsizei drawcount) -{ - return true; -} - -bool ValidateMultiDrawElements(const Context *context, - PrimitiveMode modePacked, - const GLsizei *count, - DrawElementsType typePacked, - const void *const *indices, - GLsizei drawcount) -{ - return true; -} - -bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param) -{ - return true; -} - -bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params) -{ - return true; -} - -bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue) -{ - return true; -} - -bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v) -{ - return true; -} - -bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue) -{ - return true; -} - -bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v) -{ - return true; -} - -bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue) -{ - return true; -} - -bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v) -{ - return true; -} - -bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue) -{ - return true; -} - -bool ValidateSecondaryColor3iv(const Context *context, const GLint *v) -{ - return true; -} - -bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue) -{ - return true; -} - -bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v) -{ - return true; -} - -bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue) -{ - return true; -} - -bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v) -{ - return true; -} - -bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue) -{ - return true; -} - -bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v) -{ - return true; -} - -bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue) -{ - return true; -} - -bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v) -{ - return true; -} - -bool ValidateSecondaryColorPointer(const Context *context, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) -{ - return true; -} - -bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y) -{ - return true; -} - -bool ValidateWindowPos2dv(const Context *context, const GLdouble *v) -{ - return true; -} - -bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y) -{ - return true; -} - -bool ValidateWindowPos2fv(const Context *context, const GLfloat *v) -{ - return true; -} - -bool ValidateWindowPos2i(const Context *context, GLint x, GLint y) -{ - return true; -} - -bool ValidateWindowPos2iv(const Context *context, const GLint *v) -{ - return true; -} - -bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y) -{ - return true; -} - -bool ValidateWindowPos2sv(const Context *context, const GLshort *v) -{ - return true; -} - -bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z) -{ - return true; -} - -bool ValidateWindowPos3dv(const Context *context, const GLdouble *v) -{ - return true; -} - -bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z) -{ - return true; -} - -bool ValidateWindowPos3fv(const Context *context, const GLfloat *v) -{ - return true; -} - -bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z) -{ - return true; -} - -bool ValidateWindowPos3iv(const Context *context, const GLint *v) -{ - return true; -} - -bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z) -{ - return true; -} - -bool ValidateWindowPos3sv(const Context *context, const GLshort *v) -{ - return true; -} - -bool ValidateGetBufferSubData(const Context *context, - GLenum target, - GLintptr offset, - GLsizeiptr size, - const void *data) -{ - return true; -} - -bool ValidateGetQueryObjectiv(const Context *context, QueryID id, GLenum pname, const GLint *params) -{ - return true; -} - -bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access) -{ - return true; -} } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL11.cpp b/gfx/angle/checkout/src/libANGLE/validationGL11.cpp new file mode 100644 index 000000000000..67e239f58a87 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL11.cpp @@ -0,0 +1,108 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL11.cpp: Validation functions for OpenGL 1.1 entry point parameters + +#include "libANGLE/validationGL11_autogen.h" + +namespace gl +{ + +bool ValidateAreTexturesResident(const Context *context, + GLsizei n, + const GLuint *textures, + const GLboolean *residences) +{ + return true; +} + +bool ValidateArrayElement(const Context *context, GLint i) +{ + return true; +} + +bool ValidateCopyTexImage1D(const Context *context, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLint border) +{ + return true; +} + +bool ValidateCopyTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLint x, + GLint y, + GLsizei width) +{ + return true; +} + +bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer) +{ + return true; +} + +bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer) +{ + return true; +} + +bool ValidateIndexub(const Context *context, GLubyte c) +{ + return true; +} + +bool ValidateIndexubv(const Context *context, const GLubyte *c) +{ + return true; +} + +bool ValidateInterleavedArrays(const Context *context, + GLenum format, + GLsizei stride, + const void *pointer) +{ + return true; +} + +bool ValidatePopClientAttrib(const Context *context) +{ + return true; +} + +bool ValidatePrioritizeTextures(const Context *context, + GLsizei n, + const GLuint *textures, + const GLfloat *priorities) +{ + return true; +} + +bool ValidatePushClientAttrib(const Context *context, GLbitfield mask) +{ + return true; +} + +bool ValidateTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLenum type, + const void *pixels) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL11_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL11_autogen.h new file mode 100644 index 000000000000..abd25986f8fc --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL11_autogen.h @@ -0,0 +1,64 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL11_autogen.h: +// Validation functions for the OpenGL 1.1 entry points. + +#ifndef LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateAreTexturesResident(const Context *context, + GLsizei n, + const GLuint *textures, + const GLboolean *residences); +bool ValidateArrayElement(const Context *context, GLint i); +bool ValidateCopyTexImage1D(const Context *context, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLint border); +bool ValidateCopyTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLint x, + GLint y, + GLsizei width); +bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer); +bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer); +bool ValidateIndexub(const Context *context, GLubyte c); +bool ValidateIndexubv(const Context *context, const GLubyte *c); +bool ValidateInterleavedArrays(const Context *context, + GLenum format, + GLsizei stride, + const void *pointer); +bool ValidatePopClientAttrib(const Context *context); +bool ValidatePrioritizeTextures(const Context *context, + GLsizei n, + const GLuint *textures, + const GLfloat *priorities); +bool ValidatePushClientAttrib(const Context *context, GLbitfield mask); +bool ValidateTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLenum type, + const void *pixels); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL11_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL12.cpp b/gfx/angle/checkout/src/libANGLE/validationGL12.cpp new file mode 100644 index 000000000000..7c94ddb682b7 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL12.cpp @@ -0,0 +1,12 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL12.cpp: Validation functions for OpenGL 1.2 entry point parameters + +#include "libANGLE/validationGL12_autogen.h" + +namespace gl +{} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL12_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL12_autogen.h new file mode 100644 index 000000000000..ee4239d93376 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL12_autogen.h @@ -0,0 +1,22 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL12_autogen.h: +// Validation functions for the OpenGL 1.2 entry points. + +#ifndef LIBANGLE_VALIDATION_GL12_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL12_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL12_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL13.cpp b/gfx/angle/checkout/src/libANGLE/validationGL13.cpp new file mode 100644 index 000000000000..bb61003a3265 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL13.cpp @@ -0,0 +1,240 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL13.cpp: Validation functions for OpenGL 1.3 entry point parameters + +#include "libANGLE/validationGL13_autogen.h" + +namespace gl +{ + +bool ValidateCompressedTexImage1D(const Context *context, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLint border, + GLsizei imageSize, + const void *data) +{ + return true; +} + +bool ValidateCompressedTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return true; +} + +bool ValidateGetCompressedTexImage(const Context *context, + GLenum target, + GLint level, + const void *img) +{ + return true; +} + +bool ValidateLoadTransposeMatrixd(const Context *context, const GLdouble *m) +{ + return true; +} + +bool ValidateLoadTransposeMatrixf(const Context *context, const GLfloat *m) +{ + return true; +} + +bool ValidateMultTransposeMatrixd(const Context *context, const GLdouble *m) +{ + return true; +} + +bool ValidateMultTransposeMatrixf(const Context *context, const GLfloat *m) +{ + return true; +} + +bool ValidateMultiTexCoord1d(const Context *context, GLenum target, GLdouble s) +{ + return true; +} + +bool ValidateMultiTexCoord1dv(const Context *context, GLenum target, const GLdouble *v) +{ + return true; +} + +bool ValidateMultiTexCoord1f(const Context *context, GLenum target, GLfloat s) +{ + return true; +} + +bool ValidateMultiTexCoord1fv(const Context *context, GLenum target, const GLfloat *v) +{ + return true; +} + +bool ValidateMultiTexCoord1i(const Context *context, GLenum target, GLint s) +{ + return true; +} + +bool ValidateMultiTexCoord1iv(const Context *context, GLenum target, const GLint *v) +{ + return true; +} + +bool ValidateMultiTexCoord1s(const Context *context, GLenum target, GLshort s) +{ + return true; +} + +bool ValidateMultiTexCoord1sv(const Context *context, GLenum target, const GLshort *v) +{ + return true; +} + +bool ValidateMultiTexCoord2d(const Context *context, GLenum target, GLdouble s, GLdouble t) +{ + return true; +} + +bool ValidateMultiTexCoord2dv(const Context *context, GLenum target, const GLdouble *v) +{ + return true; +} + +bool ValidateMultiTexCoord2f(const Context *context, GLenum target, GLfloat s, GLfloat t) +{ + return true; +} + +bool ValidateMultiTexCoord2fv(const Context *context, GLenum target, const GLfloat *v) +{ + return true; +} + +bool ValidateMultiTexCoord2i(const Context *context, GLenum target, GLint s, GLint t) +{ + return true; +} + +bool ValidateMultiTexCoord2iv(const Context *context, GLenum target, const GLint *v) +{ + return true; +} + +bool ValidateMultiTexCoord2s(const Context *context, GLenum target, GLshort s, GLshort t) +{ + return true; +} + +bool ValidateMultiTexCoord2sv(const Context *context, GLenum target, const GLshort *v) +{ + return true; +} + +bool ValidateMultiTexCoord3d(const Context *context, + GLenum target, + GLdouble s, + GLdouble t, + GLdouble r) +{ + return true; +} + +bool ValidateMultiTexCoord3dv(const Context *context, GLenum target, const GLdouble *v) +{ + return true; +} + +bool ValidateMultiTexCoord3f(const Context *context, GLenum target, GLfloat s, GLfloat t, GLfloat r) +{ + return true; +} + +bool ValidateMultiTexCoord3fv(const Context *context, GLenum target, const GLfloat *v) +{ + return true; +} + +bool ValidateMultiTexCoord3i(const Context *context, GLenum target, GLint s, GLint t, GLint r) +{ + return true; +} + +bool ValidateMultiTexCoord3iv(const Context *context, GLenum target, const GLint *v) +{ + return true; +} + +bool ValidateMultiTexCoord3s(const Context *context, GLenum target, GLshort s, GLshort t, GLshort r) +{ + return true; +} + +bool ValidateMultiTexCoord3sv(const Context *context, GLenum target, const GLshort *v) +{ + return true; +} + +bool ValidateMultiTexCoord4d(const Context *context, + GLenum target, + GLdouble s, + GLdouble t, + GLdouble r, + GLdouble q) +{ + return true; +} + +bool ValidateMultiTexCoord4dv(const Context *context, GLenum target, const GLdouble *v) +{ + return true; +} + +bool ValidateMultiTexCoord4fv(const Context *context, GLenum target, const GLfloat *v) +{ + return true; +} + +bool ValidateMultiTexCoord4i(const Context *context, + GLenum target, + GLint s, + GLint t, + GLint r, + GLint q) +{ + return true; +} + +bool ValidateMultiTexCoord4iv(const Context *context, GLenum target, const GLint *v) +{ + return true; +} + +bool ValidateMultiTexCoord4s(const Context *context, + GLenum target, + GLshort s, + GLshort t, + GLshort r, + GLshort q) +{ + return true; +} + +bool ValidateMultiTexCoord4sv(const Context *context, GLenum target, const GLshort *v) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL13_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL13_autogen.h new file mode 100644 index 000000000000..8db1c8ac727f --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL13_autogen.h @@ -0,0 +1,104 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL13_autogen.h: +// Validation functions for the OpenGL 1.3 entry points. + +#ifndef LIBANGLE_VALIDATION_GL13_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL13_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateCompressedTexImage1D(const Context *context, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLint border, + GLsizei imageSize, + const void *data); +bool ValidateCompressedTexSubImage1D(const Context *context, + GLenum target, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLsizei imageSize, + const void *data); +bool ValidateGetCompressedTexImage(const Context *context, + GLenum target, + GLint level, + const void *img); +bool ValidateLoadTransposeMatrixd(const Context *context, const GLdouble *m); +bool ValidateLoadTransposeMatrixf(const Context *context, const GLfloat *m); +bool ValidateMultTransposeMatrixd(const Context *context, const GLdouble *m); +bool ValidateMultTransposeMatrixf(const Context *context, const GLfloat *m); +bool ValidateMultiTexCoord1d(const Context *context, GLenum target, GLdouble s); +bool ValidateMultiTexCoord1dv(const Context *context, GLenum target, const GLdouble *v); +bool ValidateMultiTexCoord1f(const Context *context, GLenum target, GLfloat s); +bool ValidateMultiTexCoord1fv(const Context *context, GLenum target, const GLfloat *v); +bool ValidateMultiTexCoord1i(const Context *context, GLenum target, GLint s); +bool ValidateMultiTexCoord1iv(const Context *context, GLenum target, const GLint *v); +bool ValidateMultiTexCoord1s(const Context *context, GLenum target, GLshort s); +bool ValidateMultiTexCoord1sv(const Context *context, GLenum target, const GLshort *v); +bool ValidateMultiTexCoord2d(const Context *context, GLenum target, GLdouble s, GLdouble t); +bool ValidateMultiTexCoord2dv(const Context *context, GLenum target, const GLdouble *v); +bool ValidateMultiTexCoord2f(const Context *context, GLenum target, GLfloat s, GLfloat t); +bool ValidateMultiTexCoord2fv(const Context *context, GLenum target, const GLfloat *v); +bool ValidateMultiTexCoord2i(const Context *context, GLenum target, GLint s, GLint t); +bool ValidateMultiTexCoord2iv(const Context *context, GLenum target, const GLint *v); +bool ValidateMultiTexCoord2s(const Context *context, GLenum target, GLshort s, GLshort t); +bool ValidateMultiTexCoord2sv(const Context *context, GLenum target, const GLshort *v); +bool ValidateMultiTexCoord3d(const Context *context, + GLenum target, + GLdouble s, + GLdouble t, + GLdouble r); +bool ValidateMultiTexCoord3dv(const Context *context, GLenum target, const GLdouble *v); +bool ValidateMultiTexCoord3f(const Context *context, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r); +bool ValidateMultiTexCoord3fv(const Context *context, GLenum target, const GLfloat *v); +bool ValidateMultiTexCoord3i(const Context *context, GLenum target, GLint s, GLint t, GLint r); +bool ValidateMultiTexCoord3iv(const Context *context, GLenum target, const GLint *v); +bool ValidateMultiTexCoord3s(const Context *context, + GLenum target, + GLshort s, + GLshort t, + GLshort r); +bool ValidateMultiTexCoord3sv(const Context *context, GLenum target, const GLshort *v); +bool ValidateMultiTexCoord4d(const Context *context, + GLenum target, + GLdouble s, + GLdouble t, + GLdouble r, + GLdouble q); +bool ValidateMultiTexCoord4dv(const Context *context, GLenum target, const GLdouble *v); +bool ValidateMultiTexCoord4fv(const Context *context, GLenum target, const GLfloat *v); +bool ValidateMultiTexCoord4i(const Context *context, + GLenum target, + GLint s, + GLint t, + GLint r, + GLint q); +bool ValidateMultiTexCoord4iv(const Context *context, GLenum target, const GLint *v); +bool ValidateMultiTexCoord4s(const Context *context, + GLenum target, + GLshort s, + GLshort t, + GLshort r, + GLshort q); +bool ValidateMultiTexCoord4sv(const Context *context, GLenum target, const GLshort *v); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL13_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL14.cpp b/gfx/angle/checkout/src/libANGLE/validationGL14.cpp new file mode 100644 index 000000000000..68fa933adbbb --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL14.cpp @@ -0,0 +1,240 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL14.cpp: Validation functions for OpenGL 1.4 entry point parameters + +#include "libANGLE/validationGL14_autogen.h" + +namespace gl +{ + +bool ValidateFogCoordPointer(const Context *context, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return true; +} + +bool ValidateFogCoordd(const Context *context, GLdouble coord) +{ + return true; +} + +bool ValidateFogCoorddv(const Context *context, const GLdouble *coord) +{ + return true; +} + +bool ValidateFogCoordf(const Context *context, GLfloat coord) +{ + return true; +} + +bool ValidateFogCoordfv(const Context *context, const GLfloat *coord) +{ + return true; +} + +bool ValidateMultiDrawArrays(const Context *context, + PrimitiveMode modePacked, + const GLint *first, + const GLsizei *count, + GLsizei drawcount) +{ + return true; +} + +bool ValidateMultiDrawElements(const Context *context, + PrimitiveMode modePacked, + const GLsizei *count, + DrawElementsType typePacked, + const void *const *indices, + GLsizei drawcount) +{ + return true; +} + +bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param) +{ + return true; +} + +bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params) +{ + return true; +} + +bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue) +{ + return true; +} + +bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v) +{ + return true; +} + +bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue) +{ + return true; +} + +bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v) +{ + return true; +} + +bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue) +{ + return true; +} + +bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v) +{ + return true; +} + +bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue) +{ + return true; +} + +bool ValidateSecondaryColor3iv(const Context *context, const GLint *v) +{ + return true; +} + +bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue) +{ + return true; +} + +bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v) +{ + return true; +} + +bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue) +{ + return true; +} + +bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v) +{ + return true; +} + +bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue) +{ + return true; +} + +bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v) +{ + return true; +} + +bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue) +{ + return true; +} + +bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v) +{ + return true; +} + +bool ValidateSecondaryColorPointer(const Context *context, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return true; +} + +bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y) +{ + return true; +} + +bool ValidateWindowPos2dv(const Context *context, const GLdouble *v) +{ + return true; +} + +bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y) +{ + return true; +} + +bool ValidateWindowPos2fv(const Context *context, const GLfloat *v) +{ + return true; +} + +bool ValidateWindowPos2i(const Context *context, GLint x, GLint y) +{ + return true; +} + +bool ValidateWindowPos2iv(const Context *context, const GLint *v) +{ + return true; +} + +bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y) +{ + return true; +} + +bool ValidateWindowPos2sv(const Context *context, const GLshort *v) +{ + return true; +} + +bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z) +{ + return true; +} + +bool ValidateWindowPos3dv(const Context *context, const GLdouble *v) +{ + return true; +} + +bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z) +{ + return true; +} + +bool ValidateWindowPos3fv(const Context *context, const GLfloat *v) +{ + return true; +} + +bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z) +{ + return true; +} + +bool ValidateWindowPos3iv(const Context *context, const GLint *v) +{ + return true; +} + +bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z) +{ + return true; +} + +bool ValidateWindowPos3sv(const Context *context, const GLshort *v) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL14_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL14_autogen.h new file mode 100644 index 000000000000..6837ce9fd8ae --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL14_autogen.h @@ -0,0 +1,80 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL14_autogen.h: +// Validation functions for the OpenGL 1.4 entry points. + +#ifndef LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateFogCoordPointer(const Context *context, + GLenum type, + GLsizei stride, + const void *pointer); +bool ValidateFogCoordd(const Context *context, GLdouble coord); +bool ValidateFogCoorddv(const Context *context, const GLdouble *coord); +bool ValidateFogCoordf(const Context *context, GLfloat coord); +bool ValidateFogCoordfv(const Context *context, const GLfloat *coord); +bool ValidateMultiDrawArrays(const Context *context, + PrimitiveMode modePacked, + const GLint *first, + const GLsizei *count, + GLsizei drawcount); +bool ValidateMultiDrawElements(const Context *context, + PrimitiveMode modePacked, + const GLsizei *count, + DrawElementsType typePacked, + const void *const *indices, + GLsizei drawcount); +bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param); +bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params); +bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); +bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v); +bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); +bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v); +bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); +bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v); +bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue); +bool ValidateSecondaryColor3iv(const Context *context, const GLint *v); +bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); +bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v); +bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); +bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v); +bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); +bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v); +bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue); +bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v); +bool ValidateSecondaryColorPointer(const Context *context, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y); +bool ValidateWindowPos2dv(const Context *context, const GLdouble *v); +bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y); +bool ValidateWindowPos2fv(const Context *context, const GLfloat *v); +bool ValidateWindowPos2i(const Context *context, GLint x, GLint y); +bool ValidateWindowPos2iv(const Context *context, const GLint *v); +bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y); +bool ValidateWindowPos2sv(const Context *context, const GLshort *v); +bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); +bool ValidateWindowPos3dv(const Context *context, const GLdouble *v); +bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); +bool ValidateWindowPos3fv(const Context *context, const GLfloat *v); +bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z); +bool ValidateWindowPos3iv(const Context *context, const GLint *v); +bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z); +bool ValidateWindowPos3sv(const Context *context, const GLshort *v); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL14_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL15.cpp b/gfx/angle/checkout/src/libANGLE/validationGL15.cpp new file mode 100644 index 000000000000..6703b64b8bc5 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL15.cpp @@ -0,0 +1,33 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL15.cpp: Validation functions for OpenGL 1.5 entry point parameters + +#include "libANGLE/validationGL15_autogen.h" + +namespace gl +{ + +bool ValidateGetBufferSubData(const Context *context, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data) +{ + return true; +} + +bool ValidateGetQueryObjectiv(const Context *context, QueryID id, GLenum pname, const GLint *params) +{ + return true; +} + +bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL15_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL15_autogen.h new file mode 100644 index 000000000000..634f4ec4d91c --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL15_autogen.h @@ -0,0 +1,32 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL15_autogen.h: +// Validation functions for the OpenGL 1.5 entry points. + +#ifndef LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateGetBufferSubData(const Context *context, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data); +bool ValidateGetQueryObjectiv(const Context *context, + QueryID idPacked, + GLenum pname, + const GLint *params); +bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL15_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL1_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL1_autogen.h index 5cd573ea8ba3..37af44e336cd 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL1_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationGL1_autogen.h @@ -1,12 +1,12 @@ // GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from gl.xml. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. // // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // validationGL1_autogen.h: -// Validation functions for the OpenGL Desktop GL 1.x entry points. +// Validation functions for the OpenGL 1.0 entry points. #ifndef LIBANGLE_VALIDATION_GL1_AUTOGEN_H_ #define LIBANGLE_VALIDATION_GL1_AUTOGEN_H_ @@ -17,7 +17,6 @@ namespace gl { class Context; -// GL 1.0 bool ValidateAccum(const Context *context, GLenum op, GLfloat value); bool ValidateBegin(const Context *context, GLenum mode); bool ValidateBitmap(const Context *context, @@ -365,208 +364,6 @@ bool ValidateVertex4i(const Context *context, GLint x, GLint y, GLint z, GLint w bool ValidateVertex4iv(const Context *context, const GLint *v); bool ValidateVertex4s(const Context *context, GLshort x, GLshort y, GLshort z, GLshort w); bool ValidateVertex4sv(const Context *context, const GLshort *v); - -// GL 1.1 -bool ValidateAreTexturesResident(const Context *context, - GLsizei n, - const GLuint *textures, - const GLboolean *residences); -bool ValidateArrayElement(const Context *context, GLint i); -bool ValidateCopyTexImage1D(const Context *context, - GLenum target, - GLint level, - GLenum internalformat, - GLint x, - GLint y, - GLsizei width, - GLint border); -bool ValidateCopyTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLint x, - GLint y, - GLsizei width); -bool ValidateEdgeFlagPointer(const Context *context, GLsizei stride, const void *pointer); -bool ValidateIndexPointer(const Context *context, GLenum type, GLsizei stride, const void *pointer); -bool ValidateIndexub(const Context *context, GLubyte c); -bool ValidateIndexubv(const Context *context, const GLubyte *c); -bool ValidateInterleavedArrays(const Context *context, - GLenum format, - GLsizei stride, - const void *pointer); -bool ValidatePopClientAttrib(const Context *context); -bool ValidatePrioritizeTextures(const Context *context, - GLsizei n, - const GLuint *textures, - const GLfloat *priorities); -bool ValidatePushClientAttrib(const Context *context, GLbitfield mask); -bool ValidateTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLenum type, - const void *pixels); - -// GL 1.2 - -// GL 1.3 -bool ValidateCompressedTexImage1D(const Context *context, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLint border, - GLsizei imageSize, - const void *data); -bool ValidateCompressedTexSubImage1D(const Context *context, - GLenum target, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLsizei imageSize, - const void *data); -bool ValidateGetCompressedTexImage(const Context *context, - GLenum target, - GLint level, - const void *img); -bool ValidateLoadTransposeMatrixd(const Context *context, const GLdouble *m); -bool ValidateLoadTransposeMatrixf(const Context *context, const GLfloat *m); -bool ValidateMultTransposeMatrixd(const Context *context, const GLdouble *m); -bool ValidateMultTransposeMatrixf(const Context *context, const GLfloat *m); -bool ValidateMultiTexCoord1d(const Context *context, GLenum target, GLdouble s); -bool ValidateMultiTexCoord1dv(const Context *context, GLenum target, const GLdouble *v); -bool ValidateMultiTexCoord1f(const Context *context, GLenum target, GLfloat s); -bool ValidateMultiTexCoord1fv(const Context *context, GLenum target, const GLfloat *v); -bool ValidateMultiTexCoord1i(const Context *context, GLenum target, GLint s); -bool ValidateMultiTexCoord1iv(const Context *context, GLenum target, const GLint *v); -bool ValidateMultiTexCoord1s(const Context *context, GLenum target, GLshort s); -bool ValidateMultiTexCoord1sv(const Context *context, GLenum target, const GLshort *v); -bool ValidateMultiTexCoord2d(const Context *context, GLenum target, GLdouble s, GLdouble t); -bool ValidateMultiTexCoord2dv(const Context *context, GLenum target, const GLdouble *v); -bool ValidateMultiTexCoord2f(const Context *context, GLenum target, GLfloat s, GLfloat t); -bool ValidateMultiTexCoord2fv(const Context *context, GLenum target, const GLfloat *v); -bool ValidateMultiTexCoord2i(const Context *context, GLenum target, GLint s, GLint t); -bool ValidateMultiTexCoord2iv(const Context *context, GLenum target, const GLint *v); -bool ValidateMultiTexCoord2s(const Context *context, GLenum target, GLshort s, GLshort t); -bool ValidateMultiTexCoord2sv(const Context *context, GLenum target, const GLshort *v); -bool ValidateMultiTexCoord3d(const Context *context, - GLenum target, - GLdouble s, - GLdouble t, - GLdouble r); -bool ValidateMultiTexCoord3dv(const Context *context, GLenum target, const GLdouble *v); -bool ValidateMultiTexCoord3f(const Context *context, - GLenum target, - GLfloat s, - GLfloat t, - GLfloat r); -bool ValidateMultiTexCoord3fv(const Context *context, GLenum target, const GLfloat *v); -bool ValidateMultiTexCoord3i(const Context *context, GLenum target, GLint s, GLint t, GLint r); -bool ValidateMultiTexCoord3iv(const Context *context, GLenum target, const GLint *v); -bool ValidateMultiTexCoord3s(const Context *context, - GLenum target, - GLshort s, - GLshort t, - GLshort r); -bool ValidateMultiTexCoord3sv(const Context *context, GLenum target, const GLshort *v); -bool ValidateMultiTexCoord4d(const Context *context, - GLenum target, - GLdouble s, - GLdouble t, - GLdouble r, - GLdouble q); -bool ValidateMultiTexCoord4dv(const Context *context, GLenum target, const GLdouble *v); -bool ValidateMultiTexCoord4fv(const Context *context, GLenum target, const GLfloat *v); -bool ValidateMultiTexCoord4i(const Context *context, - GLenum target, - GLint s, - GLint t, - GLint r, - GLint q); -bool ValidateMultiTexCoord4iv(const Context *context, GLenum target, const GLint *v); -bool ValidateMultiTexCoord4s(const Context *context, - GLenum target, - GLshort s, - GLshort t, - GLshort r, - GLshort q); -bool ValidateMultiTexCoord4sv(const Context *context, GLenum target, const GLshort *v); - -// GL 1.4 -bool ValidateFogCoordPointer(const Context *context, - GLenum type, - GLsizei stride, - const void *pointer); -bool ValidateFogCoordd(const Context *context, GLdouble coord); -bool ValidateFogCoorddv(const Context *context, const GLdouble *coord); -bool ValidateFogCoordf(const Context *context, GLfloat coord); -bool ValidateFogCoordfv(const Context *context, const GLfloat *coord); -bool ValidateMultiDrawArrays(const Context *context, - PrimitiveMode modePacked, - const GLint *first, - const GLsizei *count, - GLsizei drawcount); -bool ValidateMultiDrawElements(const Context *context, - PrimitiveMode modePacked, - const GLsizei *count, - DrawElementsType typePacked, - const void *const *indices, - GLsizei drawcount); -bool ValidatePointParameteri(const Context *context, GLenum pname, GLint param); -bool ValidatePointParameteriv(const Context *context, GLenum pname, const GLint *params); -bool ValidateSecondaryColor3b(const Context *context, GLbyte red, GLbyte green, GLbyte blue); -bool ValidateSecondaryColor3bv(const Context *context, const GLbyte *v); -bool ValidateSecondaryColor3d(const Context *context, GLdouble red, GLdouble green, GLdouble blue); -bool ValidateSecondaryColor3dv(const Context *context, const GLdouble *v); -bool ValidateSecondaryColor3f(const Context *context, GLfloat red, GLfloat green, GLfloat blue); -bool ValidateSecondaryColor3fv(const Context *context, const GLfloat *v); -bool ValidateSecondaryColor3i(const Context *context, GLint red, GLint green, GLint blue); -bool ValidateSecondaryColor3iv(const Context *context, const GLint *v); -bool ValidateSecondaryColor3s(const Context *context, GLshort red, GLshort green, GLshort blue); -bool ValidateSecondaryColor3sv(const Context *context, const GLshort *v); -bool ValidateSecondaryColor3ub(const Context *context, GLubyte red, GLubyte green, GLubyte blue); -bool ValidateSecondaryColor3ubv(const Context *context, const GLubyte *v); -bool ValidateSecondaryColor3ui(const Context *context, GLuint red, GLuint green, GLuint blue); -bool ValidateSecondaryColor3uiv(const Context *context, const GLuint *v); -bool ValidateSecondaryColor3us(const Context *context, GLushort red, GLushort green, GLushort blue); -bool ValidateSecondaryColor3usv(const Context *context, const GLushort *v); -bool ValidateSecondaryColorPointer(const Context *context, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -bool ValidateWindowPos2d(const Context *context, GLdouble x, GLdouble y); -bool ValidateWindowPos2dv(const Context *context, const GLdouble *v); -bool ValidateWindowPos2f(const Context *context, GLfloat x, GLfloat y); -bool ValidateWindowPos2fv(const Context *context, const GLfloat *v); -bool ValidateWindowPos2i(const Context *context, GLint x, GLint y); -bool ValidateWindowPos2iv(const Context *context, const GLint *v); -bool ValidateWindowPos2s(const Context *context, GLshort x, GLshort y); -bool ValidateWindowPos2sv(const Context *context, const GLshort *v); -bool ValidateWindowPos3d(const Context *context, GLdouble x, GLdouble y, GLdouble z); -bool ValidateWindowPos3dv(const Context *context, const GLdouble *v); -bool ValidateWindowPos3f(const Context *context, GLfloat x, GLfloat y, GLfloat z); -bool ValidateWindowPos3fv(const Context *context, const GLfloat *v); -bool ValidateWindowPos3i(const Context *context, GLint x, GLint y, GLint z); -bool ValidateWindowPos3iv(const Context *context, const GLint *v); -bool ValidateWindowPos3s(const Context *context, GLshort x, GLshort y, GLshort z); -bool ValidateWindowPos3sv(const Context *context, const GLshort *v); - -// GL 1.5 -bool ValidateGetBufferSubData(const Context *context, - GLenum target, - GLintptr offset, - GLsizeiptr size, - const void *data); -bool ValidateGetQueryObjectiv(const Context *context, - QueryID idPacked, - GLenum pname, - const GLint *params); -bool ValidateMapBuffer(const Context *context, BufferBinding targetPacked, GLenum access); } // namespace gl #endif // LIBANGLE_VALIDATION_GL1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL21.cpp b/gfx/angle/checkout/src/libANGLE/validationGL21.cpp new file mode 100644 index 000000000000..9e5532c99c93 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL21.cpp @@ -0,0 +1,12 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL21.cpp: Validation functions for OpenGL 2.1 entry point parameters + +#include "libANGLE/validationGL21_autogen.h" + +namespace gl +{} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL21_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL21_autogen.h new file mode 100644 index 000000000000..dc02d514aef6 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL21_autogen.h @@ -0,0 +1,22 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL21_autogen.h: +// Validation functions for the OpenGL 2.1 entry points. + +#ifndef LIBANGLE_VALIDATION_GL21_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL21_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL21_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL2_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL2_autogen.h index 24788ea6e852..fc793f9d9820 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL2_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationGL2_autogen.h @@ -1,12 +1,12 @@ // GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from gl.xml. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. // // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // validationGL2_autogen.h: -// Validation functions for the OpenGL Desktop GL 2.x entry points. +// Validation functions for the OpenGL 2.0 entry points. #ifndef LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ #define LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ @@ -17,7 +17,6 @@ namespace gl { class Context; -// GL 2.0 bool ValidateGetVertexAttribdv(const Context *context, GLuint index, GLenum pname, @@ -69,8 +68,6 @@ bool ValidateVertexAttrib4sv(const Context *context, GLuint index, const GLshort bool ValidateVertexAttrib4ubv(const Context *context, GLuint index, const GLubyte *v); bool ValidateVertexAttrib4uiv(const Context *context, GLuint index, const GLuint *v); bool ValidateVertexAttrib4usv(const Context *context, GLuint index, const GLushort *v); - -// GL 2.1 } // namespace gl #endif // LIBANGLE_VALIDATION_GL2_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL3.cpp b/gfx/angle/checkout/src/libANGLE/validationGL3.cpp index d8009a5a5604..295d433a0472 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL3.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationGL3.cpp @@ -134,327 +134,4 @@ bool ValidateVertexAttribI4usv(const Context *context, GLuint index, const GLush return true; } -bool ValidateGetActiveUniformName(const Context *context, - ShaderProgramID program, - GLuint uniformIndex, - GLsizei bufSize, - const GLsizei *length, - const GLchar *uniformName) -{ - return true; -} - -bool ValidatePrimitiveRestartIndex(const Context *context, GLuint index) -{ - return true; -} - -bool ValidateMultiDrawElementsBaseVertex(const Context *context, - PrimitiveMode mode, - const GLsizei *count, - DrawElementsType type, - const void *const *indices, - GLsizei drawcount, - const GLint *basevertex) -{ - return true; -} - -bool ValidateProvokingVertex(const Context *context, ProvokingVertexConvention modePacked) -{ - return true; -} - -bool ValidateTexImage2DMultisample(const Context *context, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) -{ - return true; -} - -bool ValidateTexImage3DMultisample(const Context *context, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) -{ - return true; -} - -bool ValidateBindFragDataLocationIndexed(const Context *context, - ShaderProgramID program, - GLuint colorNumber, - GLuint index, - const GLchar *name) -{ - return true; -} - -bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color) -{ - return true; -} - -bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color) -{ - return true; -} - -bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color) -{ - return true; -} - -bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color) -{ - return true; -} - -bool ValidateGetFragDataIndex(const Context *context, ShaderProgramID program, const GLchar *name) -{ - return true; -} - -bool ValidateGetQueryObjecti64v(const Context *context, - QueryID id, - GLenum pname, - const GLint64 *params) -{ - return true; -} - -bool ValidateGetQueryObjectui64v(const Context *context, - QueryID id, - GLenum pname, - const GLuint64 *params) -{ - return true; -} - -bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateMultiTexCoordP1uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords) -{ - return true; -} - -bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateMultiTexCoordP2uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords) -{ - return true; -} - -bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateMultiTexCoordP3uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords) -{ - return true; -} - -bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateMultiTexCoordP4uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords) -{ - return true; -} - -bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords) -{ - return true; -} - -bool ValidateQueryCounter(const Context *context, QueryID id, QueryType targetPacked) -{ - return true; -} - -bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color) -{ - return true; -} - -bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color) -{ - return true; -} - -bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords) -{ - return true; -} - -bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords) -{ - return true; -} - -bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords) -{ - return true; -} - -bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords) -{ - return true; -} - -bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords) -{ - return true; -} - -bool ValidateVertexAttribP1ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value) -{ - return true; -} - -bool ValidateVertexAttribP1uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value) -{ - return true; -} - -bool ValidateVertexAttribP2ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value) -{ - return true; -} - -bool ValidateVertexAttribP2uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value) -{ - return true; -} - -bool ValidateVertexAttribP3ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value) -{ - return true; -} - -bool ValidateVertexAttribP3uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value) -{ - return true; -} - -bool ValidateVertexAttribP4ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value) -{ - return true; -} - -bool ValidateVertexAttribP4uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value) -{ - return true; -} - -bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value) -{ - return true; -} - -bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value) -{ - return true; -} - -bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value) -{ - return true; -} - -bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value) -{ - return true; -} - -bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value) -{ - return true; -} - -bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value) -{ - return true; -} - } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL31.cpp b/gfx/angle/checkout/src/libANGLE/validationGL31.cpp new file mode 100644 index 000000000000..fc95a99d6b98 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL31.cpp @@ -0,0 +1,29 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL31.cpp: Validation functions for OpenGL 3.1 entry point parameters + +#include "libANGLE/validationGL31_autogen.h" + +namespace gl +{ + +bool ValidateGetActiveUniformName(const Context *context, + ShaderProgramID program, + GLuint uniformIndex, + GLsizei bufSize, + const GLsizei *length, + const GLchar *uniformName) +{ + return true; +} + +bool ValidatePrimitiveRestartIndex(const Context *context, GLuint index) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL31_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL31_autogen.h new file mode 100644 index 000000000000..a3250b1c8309 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL31_autogen.h @@ -0,0 +1,29 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL31_autogen.h: +// Validation functions for the OpenGL 3.1 entry points. + +#ifndef LIBANGLE_VALIDATION_GL31_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL31_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateGetActiveUniformName(const Context *context, + ShaderProgramID programPacked, + GLuint uniformIndex, + GLsizei bufSize, + const GLsizei *length, + const GLchar *uniformName); +bool ValidatePrimitiveRestartIndex(const Context *context, GLuint index); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL31_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL32.cpp b/gfx/angle/checkout/src/libANGLE/validationGL32.cpp new file mode 100644 index 000000000000..458e20a8b4ff --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL32.cpp @@ -0,0 +1,53 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL32.cpp: Validation functions for OpenGL 3.2 entry point parameters + +#include "libANGLE/validationGL32_autogen.h" + +namespace gl +{ + +bool ValidateMultiDrawElementsBaseVertex(const Context *context, + PrimitiveMode mode, + const GLsizei *count, + DrawElementsType type, + const void *const *indices, + GLsizei drawcount, + const GLint *basevertex) +{ + return true; +} + +bool ValidateProvokingVertex(const Context *context, ProvokingVertexConvention modePacked) +{ + return true; +} + +bool ValidateTexImage2DMultisample(const Context *context, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) +{ + return true; +} + +bool ValidateTexImage3DMultisample(const Context *context, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL32_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL32_autogen.h new file mode 100644 index 000000000000..761b1ee392aa --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL32_autogen.h @@ -0,0 +1,45 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL32_autogen.h: +// Validation functions for the OpenGL 3.2 entry points. + +#ifndef LIBANGLE_VALIDATION_GL32_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL32_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateMultiDrawElementsBaseVertex(const Context *context, + PrimitiveMode modePacked, + const GLsizei *count, + DrawElementsType typePacked, + const void *const *indices, + GLsizei drawcount, + const GLint *basevertex); +bool ValidateProvokingVertex(const Context *context, ProvokingVertexConvention modePacked); +bool ValidateTexImage2DMultisample(const Context *context, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +bool ValidateTexImage3DMultisample(const Context *context, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL32_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL33.cpp b/gfx/angle/checkout/src/libANGLE/validationGL33.cpp new file mode 100644 index 000000000000..48f56e062c83 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL33.cpp @@ -0,0 +1,283 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL33.cpp: Validation functions for OpenGL 3.3 entry point parameters + +#include "libANGLE/validationGL33_autogen.h" + +namespace gl +{ + +bool ValidateBindFragDataLocationIndexed(const Context *context, + ShaderProgramID program, + GLuint colorNumber, + GLuint index, + const GLchar *name) +{ + return true; +} + +bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color) +{ + return true; +} + +bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color) +{ + return true; +} + +bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color) +{ + return true; +} + +bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color) +{ + return true; +} + +bool ValidateGetFragDataIndex(const Context *context, ShaderProgramID program, const GLchar *name) +{ + return true; +} + +bool ValidateGetQueryObjecti64v(const Context *context, + QueryID id, + GLenum pname, + const GLint64 *params) +{ + return true; +} + +bool ValidateGetQueryObjectui64v(const Context *context, + QueryID id, + GLenum pname, + const GLuint64 *params) +{ + return true; +} + +bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateMultiTexCoordP1uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords) +{ + return true; +} + +bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateMultiTexCoordP2uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords) +{ + return true; +} + +bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateMultiTexCoordP3uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords) +{ + return true; +} + +bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateMultiTexCoordP4uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords) +{ + return true; +} + +bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords) +{ + return true; +} + +bool ValidateQueryCounter(const Context *context, QueryID id, QueryType targetPacked) +{ + return true; +} + +bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color) +{ + return true; +} + +bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color) +{ + return true; +} + +bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords) +{ + return true; +} + +bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords) +{ + return true; +} + +bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords) +{ + return true; +} + +bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords) +{ + return true; +} + +bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords) +{ + return true; +} + +bool ValidateVertexAttribP1ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value) +{ + return true; +} + +bool ValidateVertexAttribP1uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value) +{ + return true; +} + +bool ValidateVertexAttribP2ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value) +{ + return true; +} + +bool ValidateVertexAttribP2uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value) +{ + return true; +} + +bool ValidateVertexAttribP3ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value) +{ + return true; +} + +bool ValidateVertexAttribP3uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value) +{ + return true; +} + +bool ValidateVertexAttribP4ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value) +{ + return true; +} + +bool ValidateVertexAttribP4uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value) +{ + return true; +} + +bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value) +{ + return true; +} + +bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value) +{ + return true; +} + +bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value) +{ + return true; +} + +bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value) +{ + return true; +} + +bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value) +{ + return true; +} + +bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL33_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL33_autogen.h new file mode 100644 index 000000000000..457e4f3bb74e --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL33_autogen.h @@ -0,0 +1,121 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL33_autogen.h: +// Validation functions for the OpenGL 3.3 entry points. + +#ifndef LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateBindFragDataLocationIndexed(const Context *context, + ShaderProgramID programPacked, + GLuint colorNumber, + GLuint index, + const GLchar *name); +bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color); +bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color); +bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color); +bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color); +bool ValidateGetFragDataIndex(const Context *context, + ShaderProgramID programPacked, + const GLchar *name); +bool ValidateGetQueryObjecti64v(const Context *context, + QueryID idPacked, + GLenum pname, + const GLint64 *params); +bool ValidateGetQueryObjectui64v(const Context *context, + QueryID idPacked, + GLenum pname, + const GLuint64 *params); +bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords); +bool ValidateMultiTexCoordP1uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords); +bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords); +bool ValidateMultiTexCoordP2uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords); +bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords); +bool ValidateMultiTexCoordP3uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords); +bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords); +bool ValidateMultiTexCoordP4uiv(const Context *context, + GLenum texture, + GLenum type, + const GLuint *coords); +bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords); +bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords); +bool ValidateQueryCounter(const Context *context, QueryID idPacked, QueryType targetPacked); +bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color); +bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color); +bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords); +bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords); +bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords); +bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords); +bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords); +bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords); +bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords); +bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords); +bool ValidateVertexAttribP1ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value); +bool ValidateVertexAttribP1uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value); +bool ValidateVertexAttribP2ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value); +bool ValidateVertexAttribP2uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value); +bool ValidateVertexAttribP3ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value); +bool ValidateVertexAttribP3uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value); +bool ValidateVertexAttribP4ui(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + GLuint value); +bool ValidateVertexAttribP4uiv(const Context *context, + GLuint index, + GLenum type, + GLboolean normalized, + const GLuint *value); +bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value); +bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value); +bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value); +bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value); +bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value); +bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL33_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL3_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL3_autogen.h index de383b657ef4..8e7cee3157af 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL3_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationGL3_autogen.h @@ -1,12 +1,12 @@ // GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from gl.xml. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. // // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // validationGL3_autogen.h: -// Validation functions for the OpenGL Desktop GL 3.x entry points. +// Validation functions for the OpenGL 3.0 entry points. #ifndef LIBANGLE_VALIDATION_GL3_AUTOGEN_H_ #define LIBANGLE_VALIDATION_GL3_AUTOGEN_H_ @@ -17,7 +17,6 @@ namespace gl { class Context; -// GL 3.0 bool ValidateBeginConditionalRender(const Context *context, GLuint id, GLenum mode); bool ValidateBindFragDataLocation(const Context *context, ShaderProgramID programPacked, @@ -54,141 +53,6 @@ bool ValidateVertexAttribI4bv(const Context *context, GLuint index, const GLbyte bool ValidateVertexAttribI4sv(const Context *context, GLuint index, const GLshort *v); bool ValidateVertexAttribI4ubv(const Context *context, GLuint index, const GLubyte *v); bool ValidateVertexAttribI4usv(const Context *context, GLuint index, const GLushort *v); - -// GL 3.1 -bool ValidateGetActiveUniformName(const Context *context, - ShaderProgramID programPacked, - GLuint uniformIndex, - GLsizei bufSize, - const GLsizei *length, - const GLchar *uniformName); -bool ValidatePrimitiveRestartIndex(const Context *context, GLuint index); - -// GL 3.2 -bool ValidateMultiDrawElementsBaseVertex(const Context *context, - PrimitiveMode modePacked, - const GLsizei *count, - DrawElementsType typePacked, - const void *const *indices, - GLsizei drawcount, - const GLint *basevertex); -bool ValidateProvokingVertex(const Context *context, ProvokingVertexConvention modePacked); -bool ValidateTexImage2DMultisample(const Context *context, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -bool ValidateTexImage3DMultisample(const Context *context, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations); - -// GL 3.3 -bool ValidateBindFragDataLocationIndexed(const Context *context, - ShaderProgramID programPacked, - GLuint colorNumber, - GLuint index, - const GLchar *name); -bool ValidateColorP3ui(const Context *context, GLenum type, GLuint color); -bool ValidateColorP3uiv(const Context *context, GLenum type, const GLuint *color); -bool ValidateColorP4ui(const Context *context, GLenum type, GLuint color); -bool ValidateColorP4uiv(const Context *context, GLenum type, const GLuint *color); -bool ValidateGetFragDataIndex(const Context *context, - ShaderProgramID programPacked, - const GLchar *name); -bool ValidateGetQueryObjecti64v(const Context *context, - QueryID idPacked, - GLenum pname, - const GLint64 *params); -bool ValidateGetQueryObjectui64v(const Context *context, - QueryID idPacked, - GLenum pname, - const GLuint64 *params); -bool ValidateMultiTexCoordP1ui(const Context *context, GLenum texture, GLenum type, GLuint coords); -bool ValidateMultiTexCoordP1uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords); -bool ValidateMultiTexCoordP2ui(const Context *context, GLenum texture, GLenum type, GLuint coords); -bool ValidateMultiTexCoordP2uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords); -bool ValidateMultiTexCoordP3ui(const Context *context, GLenum texture, GLenum type, GLuint coords); -bool ValidateMultiTexCoordP3uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords); -bool ValidateMultiTexCoordP4ui(const Context *context, GLenum texture, GLenum type, GLuint coords); -bool ValidateMultiTexCoordP4uiv(const Context *context, - GLenum texture, - GLenum type, - const GLuint *coords); -bool ValidateNormalP3ui(const Context *context, GLenum type, GLuint coords); -bool ValidateNormalP3uiv(const Context *context, GLenum type, const GLuint *coords); -bool ValidateQueryCounter(const Context *context, QueryID idPacked, QueryType targetPacked); -bool ValidateSecondaryColorP3ui(const Context *context, GLenum type, GLuint color); -bool ValidateSecondaryColorP3uiv(const Context *context, GLenum type, const GLuint *color); -bool ValidateTexCoordP1ui(const Context *context, GLenum type, GLuint coords); -bool ValidateTexCoordP1uiv(const Context *context, GLenum type, const GLuint *coords); -bool ValidateTexCoordP2ui(const Context *context, GLenum type, GLuint coords); -bool ValidateTexCoordP2uiv(const Context *context, GLenum type, const GLuint *coords); -bool ValidateTexCoordP3ui(const Context *context, GLenum type, GLuint coords); -bool ValidateTexCoordP3uiv(const Context *context, GLenum type, const GLuint *coords); -bool ValidateTexCoordP4ui(const Context *context, GLenum type, GLuint coords); -bool ValidateTexCoordP4uiv(const Context *context, GLenum type, const GLuint *coords); -bool ValidateVertexAttribP1ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value); -bool ValidateVertexAttribP1uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value); -bool ValidateVertexAttribP2ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value); -bool ValidateVertexAttribP2uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value); -bool ValidateVertexAttribP3ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value); -bool ValidateVertexAttribP3uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value); -bool ValidateVertexAttribP4ui(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - GLuint value); -bool ValidateVertexAttribP4uiv(const Context *context, - GLuint index, - GLenum type, - GLboolean normalized, - const GLuint *value); -bool ValidateVertexP2ui(const Context *context, GLenum type, GLuint value); -bool ValidateVertexP2uiv(const Context *context, GLenum type, const GLuint *value); -bool ValidateVertexP3ui(const Context *context, GLenum type, GLuint value); -bool ValidateVertexP3uiv(const Context *context, GLenum type, const GLuint *value); -bool ValidateVertexP4ui(const Context *context, GLenum type, GLuint value); -bool ValidateVertexP4uiv(const Context *context, GLenum type, const GLuint *value); } // namespace gl #endif // LIBANGLE_VALIDATION_GL3_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL4.cpp b/gfx/angle/checkout/src/libANGLE/validationGL4.cpp index f46df2be4bb1..bcfb606a7947 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL4.cpp +++ b/gfx/angle/checkout/src/libANGLE/validationGL4.cpp @@ -271,1655 +271,4 @@ bool ValidateUniformSubroutinesuiv(const Context *context, return true; } -bool ValidateDepthRangeArrayv(const Context *context, - GLuint first, - GLsizei count, - const GLdouble *v) -{ - return true; -} - -bool ValidateDepthRangeIndexed(const Context *context, GLuint index, GLdouble n, GLdouble f) -{ - return true; -} - -bool ValidateGetDoublei_v(const Context *context, GLenum target, GLuint index, const GLdouble *data) -{ - return true; -} - -bool ValidateGetFloati_v(const Context *context, GLenum target, GLuint index, const GLfloat *data) -{ - return true; -} - -bool ValidateGetVertexAttribLdv(const Context *context, - GLuint index, - GLenum pname, - const GLdouble *params) -{ - return true; -} - -bool ValidateProgramUniform1d(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLdouble v0) -{ - return true; -} - -bool ValidateProgramUniform1dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniform2d(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLdouble v0, - GLdouble v1) -{ - return true; -} - -bool ValidateProgramUniform2dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniform3d(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLdouble v0, - GLdouble v1, - GLdouble v2) -{ - return true; -} - -bool ValidateProgramUniform3dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniform4d(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLdouble v0, - GLdouble v1, - GLdouble v2, - GLdouble v3) -{ - return true; -} - -bool ValidateProgramUniform4dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix2dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix2x3dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix2x4dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix3dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix3x2dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix3x4dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix4dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix4x2dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateProgramUniformMatrix4x3dv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei count, - GLboolean transpose, - const GLdouble *value) -{ - return true; -} - -bool ValidateScissorArrayv(const Context *context, GLuint first, GLsizei count, const GLint *v) -{ - return true; -} - -bool ValidateScissorIndexed(const Context *context, - GLuint index, - GLint left, - GLint bottom, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateScissorIndexedv(const Context *context, GLuint index, const GLint *v) -{ - return true; -} - -bool ValidateVertexAttribL1d(const Context *context, GLuint index, GLdouble x) -{ - return true; -} - -bool ValidateVertexAttribL1dv(const Context *context, GLuint index, const GLdouble *v) -{ - return true; -} - -bool ValidateVertexAttribL2d(const Context *context, GLuint index, GLdouble x, GLdouble y) -{ - return true; -} - -bool ValidateVertexAttribL2dv(const Context *context, GLuint index, const GLdouble *v) -{ - return true; -} - -bool ValidateVertexAttribL3d(const Context *context, - GLuint index, - GLdouble x, - GLdouble y, - GLdouble z) -{ - return true; -} - -bool ValidateVertexAttribL3dv(const Context *context, GLuint index, const GLdouble *v) -{ - return true; -} - -bool ValidateVertexAttribL4d(const Context *context, - GLuint index, - GLdouble x, - GLdouble y, - GLdouble z, - GLdouble w) -{ - return true; -} - -bool ValidateVertexAttribL4dv(const Context *context, GLuint index, const GLdouble *v) -{ - return true; -} - -bool ValidateVertexAttribLPointer(const Context *context, - GLuint index, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) -{ - return true; -} - -bool ValidateViewportArrayv(const Context *context, GLuint first, GLsizei count, const GLfloat *v) -{ - return true; -} - -bool ValidateViewportIndexedf(const Context *context, - GLuint index, - GLfloat x, - GLfloat y, - GLfloat w, - GLfloat h) -{ - return true; -} - -bool ValidateViewportIndexedfv(const Context *context, GLuint index, const GLfloat *v) -{ - return true; -} - -bool ValidateDrawArraysInstancedBaseInstance(const Context *context, - PrimitiveMode mode, - GLint first, - GLsizei count, - GLsizei instancecount, - GLuint baseinstance) -{ - return true; -} - -bool ValidateDrawElementsInstancedBaseInstance(const Context *context, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLuint baseinstance) -{ - return true; -} - -bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context, - PrimitiveMode mode, - GLsizei count, - DrawElementsType type, - const void *indices, - GLsizei instancecount, - GLint basevertex, - GLuint baseinstance) -{ - return true; -} - -bool ValidateDrawTransformFeedbackInstanced(const Context *context, - GLenum mode, - TransformFeedbackID id, - GLsizei instancecount) -{ - return true; -} - -bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context, - GLenum mode, - TransformFeedbackID id, - GLuint stream, - GLsizei instancecount) -{ - return true; -} - -bool ValidateGetActiveAtomicCounterBufferiv(const Context *context, - ShaderProgramID program, - GLuint bufferIndex, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateTexStorage1D(const Context *context, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width) -{ - return true; -} - -bool ValidateClearBufferData(const Context *context, - GLenum target, - GLenum internalformat, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateClearBufferSubData(const Context *context, - GLenum target, - GLenum internalformat, - GLintptr offset, - GLsizeiptr size, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateGetInternalformati64v(const Context *context, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - const GLint64 *params) -{ - return true; -} - -bool ValidateGetProgramResourceLocationIndex(const Context *context, - ShaderProgramID program, - GLenum programInterface, - const GLchar *name) -{ - return true; -} - -bool ValidateInvalidateBufferData(const Context *context, BufferID buffer) -{ - return true; -} - -bool ValidateInvalidateBufferSubData(const Context *context, - BufferID buffer, - GLintptr offset, - GLsizeiptr length) -{ - return true; -} - -bool ValidateInvalidateTexImage(const Context *context, TextureID texture, GLint level) -{ - return true; -} - -bool ValidateInvalidateTexSubImage(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth) -{ - return true; -} - -bool ValidateMultiDrawArraysIndirect(const Context *context, - GLenum mode, - const void *indirect, - GLsizei drawcount, - GLsizei stride) -{ - return true; -} - -bool ValidateMultiDrawElementsIndirect(const Context *context, - GLenum mode, - GLenum type, - const void *indirect, - GLsizei drawcount, - GLsizei stride) -{ - return true; -} - -bool ValidateShaderStorageBlockBinding(const Context *context, - ShaderProgramID program, - GLuint storageBlockIndex, - GLuint storageBlockBinding) -{ - return true; -} - -bool ValidateTextureView(const Context *context, - TextureID texture, - GLenum target, - GLuint origtexture, - GLenum internalformat, - GLuint minlevel, - GLuint numlevels, - GLuint minlayer, - GLuint numlayers) -{ - return true; -} - -bool ValidateVertexAttribLFormat(const Context *context, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset) -{ - return true; -} - -bool ValidateBindBuffersBase(const Context *context, - GLenum target, - GLuint first, - GLsizei count, - const BufferID *buffers) -{ - return true; -} - -bool ValidateBindBuffersRange(const Context *context, - GLenum target, - GLuint first, - GLsizei count, - const BufferID *buffers, - const GLintptr *offsets, - const GLsizeiptr *sizes) -{ - return true; -} - -bool ValidateBindImageTextures(const Context *context, - GLuint first, - GLsizei count, - const GLuint *textures) -{ - return true; -} - -bool ValidateBindSamplers(const Context *context, - GLuint first, - GLsizei count, - const GLuint *samplers) -{ - return true; -} - -bool ValidateBindTextures(const Context *context, - GLuint first, - GLsizei count, - const GLuint *textures) -{ - return true; -} - -bool ValidateBindVertexBuffers(const Context *context, - GLuint first, - GLsizei count, - const BufferID *buffers, - const GLintptr *offsets, - const GLsizei *strides) -{ - return true; -} - -bool ValidateBufferStorage(const Context *context, - BufferBinding targetPacked, - GLsizeiptr size, - const void *data, - GLbitfield flags) -{ - return true; -} - -bool ValidateClearTexImage(const Context *context, - TextureID texture, - GLint level, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateClearTexSubImage(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texture) -{ - return true; -} - -bool ValidateBlitNamedFramebuffer(const Context *context, - GLuint readFramebuffer, - GLuint drawFramebuffer, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - return true; -} - -bool ValidateCheckNamedFramebufferStatus(const Context *context, - FramebufferID framebuffer, - GLenum target) -{ - return true; -} - -bool ValidateClearNamedBufferData(const Context *context, - BufferID buffer, - GLenum internalformat, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateClearNamedBufferSubData(const Context *context, - BufferID buffer, - GLenum internalformat, - GLintptr offset, - GLsizeiptr size, - GLenum format, - GLenum type, - const void *data) -{ - return true; -} - -bool ValidateClearNamedFramebufferfi(const Context *context, - FramebufferID framebuffer, - GLenum buffer, - GLint drawbuffer, - GLfloat depth, - GLint stencil) -{ - return true; -} - -bool ValidateClearNamedFramebufferfv(const Context *context, - FramebufferID framebuffer, - GLenum buffer, - GLint drawbuffer, - const GLfloat *value) -{ - return true; -} - -bool ValidateClearNamedFramebufferiv(const Context *context, - FramebufferID framebuffer, - GLenum buffer, - GLint drawbuffer, - const GLint *value) -{ - return true; -} - -bool ValidateClearNamedFramebufferuiv(const Context *context, - FramebufferID framebuffer, - GLenum buffer, - GLint drawbuffer, - const GLuint *value) -{ - return true; -} - -bool ValidateClipControl(const Context *context, GLenum origin, GLenum depth) -{ - return true; -} - -bool ValidateCompressedTextureSubImage1D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLsizei imageSize, - const void *data) -{ - return true; -} - -bool ValidateCompressedTextureSubImage2D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data) -{ - return true; -} - -bool ValidateCompressedTextureSubImage3D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data) -{ - return true; -} - -bool ValidateCopyNamedBufferSubData(const Context *context, - GLuint readBuffer, - GLuint writeBuffer, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size) -{ - return true; -} - -bool ValidateCopyTextureSubImage1D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint x, - GLint y, - GLsizei width) -{ - return true; -} - -bool ValidateCopyTextureSubImage2D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateCopyTextureSubImage3D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateCreateBuffers(const Context *context, GLsizei n, const BufferID *buffers) -{ - return true; -} - -bool ValidateCreateFramebuffers(const Context *context, GLsizei n, const GLuint *framebuffers) -{ - return true; -} - -bool ValidateCreateProgramPipelines(const Context *context, GLsizei n, const GLuint *pipelines) -{ - return true; -} - -bool ValidateCreateQueries(const Context *context, GLenum target, GLsizei n, const GLuint *ids) -{ - return true; -} - -bool ValidateCreateRenderbuffers(const Context *context, - GLsizei n, - const RenderbufferID *renderbuffers) -{ - return true; -} - -bool ValidateCreateSamplers(const Context *context, GLsizei n, const GLuint *samplers) -{ - return true; -} - -bool ValidateCreateTextures(const Context *context, - GLenum target, - GLsizei n, - const GLuint *textures) -{ - return true; -} - -bool ValidateCreateTransformFeedbacks(const Context *context, GLsizei n, const GLuint *ids) -{ - return true; -} - -bool ValidateCreateVertexArrays(const Context *context, GLsizei n, const VertexArrayID *arrays) -{ - return true; -} - -bool ValidateDisableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index) -{ - return true; -} - -bool ValidateEnableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index) -{ - return true; -} - -bool ValidateFlushMappedNamedBufferRange(const Context *context, - BufferID buffer, - GLintptr offset, - GLsizeiptr length) -{ - return true; -} - -bool ValidateGenerateTextureMipmap(const Context *context, TextureID texture) -{ - return true; -} - -bool ValidateGetCompressedTextureImage(const Context *context, - TextureID texture, - GLint level, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetCompressedTextureSubImage(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetNamedBufferParameteri64v(const Context *context, - BufferID buffer, - GLenum pname, - const GLint64 *params) -{ - return true; -} - -bool ValidateGetNamedBufferParameteriv(const Context *context, - BufferID buffer, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetNamedBufferPointerv(const Context *context, - BufferID buffer, - GLenum pname, - void *const *params) -{ - return true; -} - -bool ValidateGetNamedBufferSubData(const Context *context, - BufferID buffer, - GLintptr offset, - GLsizeiptr size, - const void *data) -{ - return true; -} - -bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context, - FramebufferID framebuffer, - GLenum attachment, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetNamedFramebufferParameteriv(const Context *context, - FramebufferID framebuffer, - GLenum pname, - const GLint *param) -{ - return true; -} - -bool ValidateGetNamedRenderbufferParameteriv(const Context *context, - RenderbufferID renderbuffer, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetQueryBufferObjecti64v(const Context *context, - GLuint id, - BufferID buffer, - GLenum pname, - GLintptr offset) -{ - return true; -} - -bool ValidateGetQueryBufferObjectiv(const Context *context, - GLuint id, - BufferID buffer, - GLenum pname, - GLintptr offset) -{ - return true; -} - -bool ValidateGetQueryBufferObjectui64v(const Context *context, - GLuint id, - BufferID buffer, - GLenum pname, - GLintptr offset) -{ - return true; -} - -bool ValidateGetQueryBufferObjectuiv(const Context *context, - GLuint id, - BufferID buffer, - GLenum pname, - GLintptr offset) -{ - return true; -} - -bool ValidateGetTextureImage(const Context *context, - TextureID texture, - GLint level, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetTextureLevelParameterfv(const Context *context, - TextureID texture, - GLint level, - GLenum pname, - const GLfloat *params) -{ - return true; -} - -bool ValidateGetTextureLevelParameteriv(const Context *context, - TextureID texture, - GLint level, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetTextureParameterIiv(const Context *context, - TextureID texture, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetTextureParameterIuiv(const Context *context, - TextureID texture, - GLenum pname, - const GLuint *params) -{ - return true; -} - -bool ValidateGetTextureParameterfv(const Context *context, - TextureID texture, - GLenum pname, - const GLfloat *params) -{ - return true; -} - -bool ValidateGetTextureParameteriv(const Context *context, - TextureID texture, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateGetTextureSubImage(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetTransformFeedbacki64_v(const Context *context, - GLuint xfb, - GLenum pname, - GLuint index, - const GLint64 *param) -{ - return true; -} - -bool ValidateGetTransformFeedbacki_v(const Context *context, - GLuint xfb, - GLenum pname, - GLuint index, - const GLint *param) -{ - return true; -} - -bool ValidateGetTransformFeedbackiv(const Context *context, - GLuint xfb, - GLenum pname, - const GLint *param) -{ - return true; -} - -bool ValidateGetVertexArrayIndexed64iv(const Context *context, - VertexArrayID vaobj, - GLuint index, - GLenum pname, - const GLint64 *param) -{ - return true; -} - -bool ValidateGetVertexArrayIndexediv(const Context *context, - VertexArrayID vaobj, - GLuint index, - GLenum pname, - const GLint *param) -{ - return true; -} - -bool ValidateGetVertexArrayiv(const Context *context, - VertexArrayID vaobj, - GLenum pname, - const GLint *param) -{ - return true; -} - -bool ValidateGetnColorTable(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *table) -{ - return true; -} - -bool ValidateGetnCompressedTexImage(const Context *context, - GLenum target, - GLint lod, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetnConvolutionFilter(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *image) -{ - return true; -} - -bool ValidateGetnHistogram(const Context *context, - GLenum target, - GLboolean reset, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *values) -{ - return true; -} - -bool ValidateGetnMapdv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLdouble *v) -{ - return true; -} - -bool ValidateGetnMapfv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLfloat *v) -{ - return true; -} - -bool ValidateGetnMapiv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLint *v) -{ - return true; -} - -bool ValidateGetnMinmax(const Context *context, - GLenum target, - GLboolean reset, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *values) -{ - return true; -} - -bool ValidateGetnPixelMapfv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLfloat *values) -{ - return true; -} - -bool ValidateGetnPixelMapuiv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLuint *values) -{ - return true; -} - -bool ValidateGetnPixelMapusv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLushort *values) -{ - return true; -} - -bool ValidateGetnPolygonStipple(const Context *context, GLsizei bufSize, const GLubyte *pattern) -{ - return true; -} - -bool ValidateGetnSeparableFilter(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei rowBufSize, - const void *row, - GLsizei columnBufSize, - const void *column, - const void *span) -{ - return true; -} - -bool ValidateGetnTexImage(const Context *context, - GLenum target, - GLint level, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) -{ - return true; -} - -bool ValidateGetnUniformdv(const Context *context, - ShaderProgramID program, - UniformLocation location, - GLsizei bufSize, - const GLdouble *params) -{ - return true; -} - -bool ValidateInvalidateNamedFramebufferData(const Context *context, - FramebufferID framebuffer, - GLsizei numAttachments, - const GLenum *attachments) -{ - return true; -} - -bool ValidateInvalidateNamedFramebufferSubData(const Context *context, - FramebufferID framebuffer, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateMapNamedBuffer(const Context *context, BufferID buffer, GLenum access) -{ - return true; -} - -bool ValidateMapNamedBufferRange(const Context *context, - BufferID buffer, - GLintptr offset, - GLsizeiptr length, - GLbitfield access) -{ - return true; -} - -bool ValidateNamedBufferData(const Context *context, - BufferID buffer, - GLsizeiptr size, - const void *data, - GLenum usage) -{ - return true; -} - -bool ValidateNamedBufferStorage(const Context *context, - BufferID buffer, - GLsizeiptr size, - const void *data, - GLbitfield flags) -{ - return true; -} - -bool ValidateNamedBufferSubData(const Context *context, - BufferID buffer, - GLintptr offset, - GLsizeiptr size, - const void *data) -{ - return true; -} - -bool ValidateNamedFramebufferDrawBuffer(const Context *context, - FramebufferID framebuffer, - GLenum buf) -{ - return true; -} - -bool ValidateNamedFramebufferDrawBuffers(const Context *context, - FramebufferID framebuffer, - GLsizei n, - const GLenum *bufs) -{ - return true; -} - -bool ValidateNamedFramebufferParameteri(const Context *context, - FramebufferID framebuffer, - GLenum pname, - GLint param) -{ - return true; -} - -bool ValidateNamedFramebufferReadBuffer(const Context *context, - FramebufferID framebuffer, - GLenum src) -{ - return true; -} - -bool ValidateNamedFramebufferRenderbuffer(const Context *context, - FramebufferID framebuffer, - GLenum attachment, - GLenum renderbuffertarget, - RenderbufferID renderbuffer) -{ - return true; -} - -bool ValidateNamedFramebufferTexture(const Context *context, - FramebufferID framebuffer, - GLenum attachment, - TextureID texture, - GLint level) -{ - return true; -} - -bool ValidateNamedFramebufferTextureLayer(const Context *context, - FramebufferID framebuffer, - GLenum attachment, - TextureID texture, - GLint level, - GLint layer) -{ - return true; -} - -bool ValidateNamedRenderbufferStorage(const Context *context, - RenderbufferID renderbuffer, - GLenum internalformat, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateNamedRenderbufferStorageMultisample(const Context *context, - RenderbufferID renderbuffer, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateTextureBarrier(const Context *context) -{ - return true; -} - -bool ValidateTextureBuffer(const Context *context, - TextureID texture, - GLenum internalformat, - BufferID buffer) -{ - return true; -} - -bool ValidateTextureBufferRange(const Context *context, - TextureID texture, - GLenum internalformat, - BufferID buffer, - GLintptr offset, - GLsizeiptr size) -{ - return true; -} - -bool ValidateTextureParameterIiv(const Context *context, - TextureID texture, - GLenum pname, - const GLint *params) -{ - return true; -} - -bool ValidateTextureParameterIuiv(const Context *context, - TextureID texture, - GLenum pname, - const GLuint *params) -{ - return true; -} - -bool ValidateTextureParameterf(const Context *context, - TextureID texture, - GLenum pname, - GLfloat param) -{ - return true; -} - -bool ValidateTextureParameterfv(const Context *context, - TextureID texture, - GLenum pname, - const GLfloat *param) -{ - return true; -} - -bool ValidateTextureParameteri(const Context *context, TextureID texture, GLenum pname, GLint param) -{ - return true; -} - -bool ValidateTextureParameteriv(const Context *context, - TextureID texture, - GLenum pname, - const GLint *param) -{ - return true; -} - -bool ValidateTextureStorage1D(const Context *context, - TextureID texture, - GLsizei levels, - GLenum internalformat, - GLsizei width) -{ - return true; -} - -bool ValidateTextureStorage2D(const Context *context, - TextureID texture, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height) -{ - return true; -} - -bool ValidateTextureStorage2DMultisample(const Context *context, - TextureID texture, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) -{ - return true; -} - -bool ValidateTextureStorage3D(const Context *context, - TextureID texture, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth) -{ - return true; -} - -bool ValidateTextureStorage3DMultisample(const Context *context, - TextureID texture, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) -{ - return true; -} - -bool ValidateTextureSubImage1D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLenum type, - const void *pixels) -{ - return true; -} - -bool ValidateTextureSubImage2D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels) -{ - return true; -} - -bool ValidateTextureSubImage3D(const Context *context, - TextureID texture, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels) -{ - return true; -} - -bool ValidateTransformFeedbackBufferBase(const Context *context, - GLuint xfb, - GLuint index, - BufferID buffer) -{ - return true; -} - -bool ValidateTransformFeedbackBufferRange(const Context *context, - GLuint xfb, - GLuint index, - BufferID buffer, - GLintptr offset, - GLsizeiptr size) -{ - return true; -} - -bool ValidateUnmapNamedBuffer(const Context *context, BufferID buffer) -{ - return true; -} - -bool ValidateVertexArrayAttribBinding(const Context *context, - VertexArrayID vaobj, - GLuint attribindex, - GLuint bindingindex) -{ - return true; -} - -bool ValidateVertexArrayAttribFormat(const Context *context, - VertexArrayID vaobj, - GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset) -{ - return true; -} - -bool ValidateVertexArrayAttribIFormat(const Context *context, - VertexArrayID vaobj, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset) -{ - return true; -} - -bool ValidateVertexArrayAttribLFormat(const Context *context, - VertexArrayID vaobj, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset) -{ - return true; -} - -bool ValidateVertexArrayBindingDivisor(const Context *context, - VertexArrayID vaobj, - GLuint bindingindex, - GLuint divisor) -{ - return true; -} - -bool ValidateVertexArrayElementBuffer(const Context *context, VertexArrayID vaobj, BufferID buffer) -{ - return true; -} - -bool ValidateVertexArrayVertexBuffer(const Context *context, - VertexArrayID vaobj, - GLuint bindingindex, - BufferID buffer, - GLintptr offset, - GLsizei stride) -{ - return true; -} - -bool ValidateVertexArrayVertexBuffers(const Context *context, - VertexArrayID vaobj, - GLuint first, - GLsizei count, - const BufferID *buffers, - const GLintptr *offsets, - const GLsizei *strides) -{ - return true; -} - -bool ValidateMultiDrawArraysIndirectCount(const Context *context, - GLenum mode, - const void *indirect, - GLintptr drawcount, - GLsizei maxdrawcount, - GLsizei stride) -{ - return true; -} - -bool ValidateMultiDrawElementsIndirectCount(const Context *context, - GLenum mode, - GLenum type, - const void *indirect, - GLintptr drawcount, - GLsizei maxdrawcount, - GLsizei stride) -{ - return true; -} - -bool ValidatePolygonOffsetClamp(const Context *context, - GLfloat factor, - GLfloat units, - GLfloat clamp) -{ - return true; -} - -bool ValidateSpecializeShader(const Context *context, - GLuint shader, - const GLchar *pEntryPoint, - GLuint numSpecializationConstants, - const GLuint *pConstantIndex, - const GLuint *pConstantValue) -{ - return true; -} - } // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL41.cpp b/gfx/angle/checkout/src/libANGLE/validationGL41.cpp new file mode 100644 index 000000000000..9c55d21c29dc --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL41.cpp @@ -0,0 +1,308 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL41.cpp: Validation functions for OpenGL 4.1 entry point parameters + +#include "libANGLE/validationGL41_autogen.h" + +namespace gl +{ + +bool ValidateDepthRangeArrayv(const Context *context, + GLuint first, + GLsizei count, + const GLdouble *v) +{ + return true; +} + +bool ValidateDepthRangeIndexed(const Context *context, GLuint index, GLdouble n, GLdouble f) +{ + return true; +} + +bool ValidateGetDoublei_v(const Context *context, GLenum target, GLuint index, const GLdouble *data) +{ + return true; +} + +bool ValidateGetFloati_v(const Context *context, GLenum target, GLuint index, const GLfloat *data) +{ + return true; +} + +bool ValidateGetVertexAttribLdv(const Context *context, + GLuint index, + GLenum pname, + const GLdouble *params) +{ + return true; +} + +bool ValidateProgramUniform1d(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLdouble v0) +{ + return true; +} + +bool ValidateProgramUniform1dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniform2d(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLdouble v0, + GLdouble v1) +{ + return true; +} + +bool ValidateProgramUniform2dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniform3d(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLdouble v0, + GLdouble v1, + GLdouble v2) +{ + return true; +} + +bool ValidateProgramUniform3dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniform4d(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLdouble v0, + GLdouble v1, + GLdouble v2, + GLdouble v3) +{ + return true; +} + +bool ValidateProgramUniform4dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix2dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix2x3dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix2x4dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix3dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix3x2dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix3x4dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix4dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix4x2dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateProgramUniformMatrix4x3dv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei count, + GLboolean transpose, + const GLdouble *value) +{ + return true; +} + +bool ValidateScissorArrayv(const Context *context, GLuint first, GLsizei count, const GLint *v) +{ + return true; +} + +bool ValidateScissorIndexed(const Context *context, + GLuint index, + GLint left, + GLint bottom, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateScissorIndexedv(const Context *context, GLuint index, const GLint *v) +{ + return true; +} + +bool ValidateVertexAttribL1d(const Context *context, GLuint index, GLdouble x) +{ + return true; +} + +bool ValidateVertexAttribL1dv(const Context *context, GLuint index, const GLdouble *v) +{ + return true; +} + +bool ValidateVertexAttribL2d(const Context *context, GLuint index, GLdouble x, GLdouble y) +{ + return true; +} + +bool ValidateVertexAttribL2dv(const Context *context, GLuint index, const GLdouble *v) +{ + return true; +} + +bool ValidateVertexAttribL3d(const Context *context, + GLuint index, + GLdouble x, + GLdouble y, + GLdouble z) +{ + return true; +} + +bool ValidateVertexAttribL3dv(const Context *context, GLuint index, const GLdouble *v) +{ + return true; +} + +bool ValidateVertexAttribL4d(const Context *context, + GLuint index, + GLdouble x, + GLdouble y, + GLdouble z, + GLdouble w) +{ + return true; +} + +bool ValidateVertexAttribL4dv(const Context *context, GLuint index, const GLdouble *v) +{ + return true; +} + +bool ValidateVertexAttribLPointer(const Context *context, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return true; +} + +bool ValidateViewportArrayv(const Context *context, GLuint first, GLsizei count, const GLfloat *v) +{ + return true; +} + +bool ValidateViewportIndexedf(const Context *context, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat w, + GLfloat h) +{ + return true; +} + +bool ValidateViewportIndexedfv(const Context *context, GLuint index, const GLfloat *v) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL41_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL41_autogen.h new file mode 100644 index 000000000000..c5ccf9d01b36 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL41_autogen.h @@ -0,0 +1,171 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL41_autogen.h: +// Validation functions for the OpenGL 4.1 entry points. + +#ifndef LIBANGLE_VALIDATION_GL41_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL41_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateDepthRangeArrayv(const Context *context, + GLuint first, + GLsizei count, + const GLdouble *v); +bool ValidateDepthRangeIndexed(const Context *context, GLuint index, GLdouble n, GLdouble f); +bool ValidateGetDoublei_v(const Context *context, + GLenum target, + GLuint index, + const GLdouble *data); +bool ValidateGetFloati_v(const Context *context, GLenum target, GLuint index, const GLfloat *data); +bool ValidateGetVertexAttribLdv(const Context *context, + GLuint index, + GLenum pname, + const GLdouble *params); +bool ValidateProgramUniform1d(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLdouble v0); +bool ValidateProgramUniform1dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + const GLdouble *value); +bool ValidateProgramUniform2d(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLdouble v0, + GLdouble v1); +bool ValidateProgramUniform2dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + const GLdouble *value); +bool ValidateProgramUniform3d(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLdouble v0, + GLdouble v1, + GLdouble v2); +bool ValidateProgramUniform3dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + const GLdouble *value); +bool ValidateProgramUniform4d(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLdouble v0, + GLdouble v1, + GLdouble v2, + GLdouble v3); +bool ValidateProgramUniform4dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + const GLdouble *value); +bool ValidateProgramUniformMatrix2dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix2x3dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix2x4dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix3dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix3x2dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix3x4dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix4dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix4x2dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateProgramUniformMatrix4x3dv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei count, + GLboolean transpose, + const GLdouble *value); +bool ValidateScissorArrayv(const Context *context, GLuint first, GLsizei count, const GLint *v); +bool ValidateScissorIndexed(const Context *context, + GLuint index, + GLint left, + GLint bottom, + GLsizei width, + GLsizei height); +bool ValidateScissorIndexedv(const Context *context, GLuint index, const GLint *v); +bool ValidateVertexAttribL1d(const Context *context, GLuint index, GLdouble x); +bool ValidateVertexAttribL1dv(const Context *context, GLuint index, const GLdouble *v); +bool ValidateVertexAttribL2d(const Context *context, GLuint index, GLdouble x, GLdouble y); +bool ValidateVertexAttribL2dv(const Context *context, GLuint index, const GLdouble *v); +bool ValidateVertexAttribL3d(const Context *context, + GLuint index, + GLdouble x, + GLdouble y, + GLdouble z); +bool ValidateVertexAttribL3dv(const Context *context, GLuint index, const GLdouble *v); +bool ValidateVertexAttribL4d(const Context *context, + GLuint index, + GLdouble x, + GLdouble y, + GLdouble z, + GLdouble w); +bool ValidateVertexAttribL4dv(const Context *context, GLuint index, const GLdouble *v); +bool ValidateVertexAttribLPointer(const Context *context, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +bool ValidateViewportArrayv(const Context *context, GLuint first, GLsizei count, const GLfloat *v); +bool ValidateViewportIndexedf(const Context *context, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat w, + GLfloat h); +bool ValidateViewportIndexedfv(const Context *context, GLuint index, const GLfloat *v); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL41_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL42.cpp b/gfx/angle/checkout/src/libANGLE/validationGL42.cpp new file mode 100644 index 000000000000..ee09d5d6ae9b --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL42.cpp @@ -0,0 +1,82 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL42.cpp: Validation functions for OpenGL 4.2 entry point parameters + +#include "libANGLE/validationGL42_autogen.h" + +namespace gl +{ + +bool ValidateDrawArraysInstancedBaseInstance(const Context *context, + PrimitiveMode mode, + GLint first, + GLsizei count, + GLsizei instancecount, + GLuint baseinstance) +{ + return true; +} + +bool ValidateDrawElementsInstancedBaseInstance(const Context *context, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLuint baseinstance) +{ + return true; +} + +bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context, + PrimitiveMode mode, + GLsizei count, + DrawElementsType type, + const void *indices, + GLsizei instancecount, + GLint basevertex, + GLuint baseinstance) +{ + return true; +} + +bool ValidateDrawTransformFeedbackInstanced(const Context *context, + GLenum mode, + TransformFeedbackID id, + GLsizei instancecount) +{ + return true; +} + +bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context, + GLenum mode, + TransformFeedbackID id, + GLuint stream, + GLsizei instancecount) +{ + return true; +} + +bool ValidateGetActiveAtomicCounterBufferiv(const Context *context, + ShaderProgramID program, + GLuint bufferIndex, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateTexStorage1D(const Context *context, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL42_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL42_autogen.h new file mode 100644 index 000000000000..c4a0b60f2e39 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL42_autogen.h @@ -0,0 +1,62 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL42_autogen.h: +// Validation functions for the OpenGL 4.2 entry points. + +#ifndef LIBANGLE_VALIDATION_GL42_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL42_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateDrawArraysInstancedBaseInstance(const Context *context, + PrimitiveMode modePacked, + GLint first, + GLsizei count, + GLsizei instancecount, + GLuint baseinstance); +bool ValidateDrawElementsInstancedBaseInstance(const Context *context, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLuint baseinstance); +bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context, + PrimitiveMode modePacked, + GLsizei count, + DrawElementsType typePacked, + const void *indices, + GLsizei instancecount, + GLint basevertex, + GLuint baseinstance); +bool ValidateDrawTransformFeedbackInstanced(const Context *context, + GLenum mode, + TransformFeedbackID idPacked, + GLsizei instancecount); +bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context, + GLenum mode, + TransformFeedbackID idPacked, + GLuint stream, + GLsizei instancecount); +bool ValidateGetActiveAtomicCounterBufferiv(const Context *context, + ShaderProgramID programPacked, + GLuint bufferIndex, + GLenum pname, + const GLint *params); +bool ValidateTexStorage1D(const Context *context, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL42_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL43.cpp b/gfx/angle/checkout/src/libANGLE/validationGL43.cpp new file mode 100644 index 000000000000..4967c257f1c9 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL43.cpp @@ -0,0 +1,134 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL43.cpp: Validation functions for OpenGL 4.3 entry point parameters + +#include "libANGLE/validationGL43_autogen.h" + +namespace gl +{ + +bool ValidateClearBufferData(const Context *context, + GLenum target, + GLenum internalformat, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +bool ValidateClearBufferSubData(const Context *context, + GLenum target, + GLenum internalformat, + GLintptr offset, + GLsizeiptr size, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +bool ValidateGetInternalformati64v(const Context *context, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + const GLint64 *params) +{ + return true; +} + +bool ValidateGetProgramResourceLocationIndex(const Context *context, + ShaderProgramID program, + GLenum programInterface, + const GLchar *name) +{ + return true; +} + +bool ValidateInvalidateBufferData(const Context *context, BufferID buffer) +{ + return true; +} + +bool ValidateInvalidateBufferSubData(const Context *context, + BufferID buffer, + GLintptr offset, + GLsizeiptr length) +{ + return true; +} + +bool ValidateInvalidateTexImage(const Context *context, TextureID texture, GLint level) +{ + return true; +} + +bool ValidateInvalidateTexSubImage(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + return true; +} + +bool ValidateMultiDrawArraysIndirect(const Context *context, + GLenum mode, + const void *indirect, + GLsizei drawcount, + GLsizei stride) +{ + return true; +} + +bool ValidateMultiDrawElementsIndirect(const Context *context, + GLenum mode, + GLenum type, + const void *indirect, + GLsizei drawcount, + GLsizei stride) +{ + return true; +} + +bool ValidateShaderStorageBlockBinding(const Context *context, + ShaderProgramID program, + GLuint storageBlockIndex, + GLuint storageBlockBinding) +{ + return true; +} + +bool ValidateTextureView(const Context *context, + TextureID texture, + GLenum target, + GLuint origtexture, + GLenum internalformat, + GLuint minlevel, + GLuint numlevels, + GLuint minlayer, + GLuint numlayers) +{ + return true; +} + +bool ValidateVertexAttribLFormat(const Context *context, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL43_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL43_autogen.h new file mode 100644 index 000000000000..9915fbb781e3 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL43_autogen.h @@ -0,0 +1,90 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL43_autogen.h: +// Validation functions for the OpenGL 4.3 entry points. + +#ifndef LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateClearBufferData(const Context *context, + GLenum target, + GLenum internalformat, + GLenum format, + GLenum type, + const void *data); +bool ValidateClearBufferSubData(const Context *context, + GLenum target, + GLenum internalformat, + GLintptr offset, + GLsizeiptr size, + GLenum format, + GLenum type, + const void *data); +bool ValidateGetInternalformati64v(const Context *context, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + const GLint64 *params); +bool ValidateGetProgramResourceLocationIndex(const Context *context, + ShaderProgramID programPacked, + GLenum programInterface, + const GLchar *name); +bool ValidateInvalidateBufferData(const Context *context, BufferID bufferPacked); +bool ValidateInvalidateBufferSubData(const Context *context, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr length); +bool ValidateInvalidateTexImage(const Context *context, TextureID texturePacked, GLint level); +bool ValidateInvalidateTexSubImage(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth); +bool ValidateMultiDrawArraysIndirect(const Context *context, + GLenum mode, + const void *indirect, + GLsizei drawcount, + GLsizei stride); +bool ValidateMultiDrawElementsIndirect(const Context *context, + GLenum mode, + GLenum type, + const void *indirect, + GLsizei drawcount, + GLsizei stride); +bool ValidateShaderStorageBlockBinding(const Context *context, + ShaderProgramID programPacked, + GLuint storageBlockIndex, + GLuint storageBlockBinding); +bool ValidateTextureView(const Context *context, + TextureID texturePacked, + GLenum target, + GLuint origtexture, + GLenum internalformat, + GLuint minlevel, + GLuint numlevels, + GLuint minlayer, + GLuint numlayers); +bool ValidateVertexAttribLFormat(const Context *context, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL43_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL44.cpp b/gfx/angle/checkout/src/libANGLE/validationGL44.cpp new file mode 100644 index 000000000000..d95c1e01e73e --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL44.cpp @@ -0,0 +1,103 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL44.cpp: Validation functions for OpenGL 4.4 entry point parameters + +#include "libANGLE/validationGL44_autogen.h" + +namespace gl +{ + +bool ValidateBindBuffersBase(const Context *context, + GLenum target, + GLuint first, + GLsizei count, + const BufferID *buffers) +{ + return true; +} + +bool ValidateBindBuffersRange(const Context *context, + GLenum target, + GLuint first, + GLsizei count, + const BufferID *buffers, + const GLintptr *offsets, + const GLsizeiptr *sizes) +{ + return true; +} + +bool ValidateBindImageTextures(const Context *context, + GLuint first, + GLsizei count, + const GLuint *textures) +{ + return true; +} + +bool ValidateBindSamplers(const Context *context, + GLuint first, + GLsizei count, + const GLuint *samplers) +{ + return true; +} + +bool ValidateBindTextures(const Context *context, + GLuint first, + GLsizei count, + const GLuint *textures) +{ + return true; +} + +bool ValidateBindVertexBuffers(const Context *context, + GLuint first, + GLsizei count, + const BufferID *buffers, + const GLintptr *offsets, + const GLsizei *strides) +{ + return true; +} + +bool ValidateBufferStorage(const Context *context, + BufferBinding targetPacked, + GLsizeiptr size, + const void *data, + GLbitfield flags) +{ + return true; +} + +bool ValidateClearTexImage(const Context *context, + TextureID texture, + GLint level, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +bool ValidateClearTexSubImage(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL44_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL44_autogen.h new file mode 100644 index 000000000000..afe788bc3be4 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL44_autogen.h @@ -0,0 +1,75 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL44_autogen.h: +// Validation functions for the OpenGL 4.4 entry points. + +#ifndef LIBANGLE_VALIDATION_GL44_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL44_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateBindBuffersBase(const Context *context, + GLenum target, + GLuint first, + GLsizei count, + const BufferID *buffersPacked); +bool ValidateBindBuffersRange(const Context *context, + GLenum target, + GLuint first, + GLsizei count, + const BufferID *buffersPacked, + const GLintptr *offsets, + const GLsizeiptr *sizes); +bool ValidateBindImageTextures(const Context *context, + GLuint first, + GLsizei count, + const GLuint *textures); +bool ValidateBindSamplers(const Context *context, + GLuint first, + GLsizei count, + const GLuint *samplers); +bool ValidateBindTextures(const Context *context, + GLuint first, + GLsizei count, + const GLuint *textures); +bool ValidateBindVertexBuffers(const Context *context, + GLuint first, + GLsizei count, + const BufferID *buffersPacked, + const GLintptr *offsets, + const GLsizei *strides); +bool ValidateBufferStorage(const Context *context, + BufferBinding targetPacked, + GLsizeiptr size, + const void *data, + GLbitfield flags); +bool ValidateClearTexImage(const Context *context, + TextureID texturePacked, + GLint level, + GLenum format, + GLenum type, + const void *data); +bool ValidateClearTexSubImage(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *data); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL44_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL45.cpp b/gfx/angle/checkout/src/libANGLE/validationGL45.cpp new file mode 100644 index 000000000000..d5b43d00c950 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL45.cpp @@ -0,0 +1,1055 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL45.cpp: Validation functions for OpenGL 4.5 entry point parameters + +#include "libANGLE/validationGL45_autogen.h" + +namespace gl +{ + +bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texture) +{ + return true; +} + +bool ValidateBlitNamedFramebuffer(const Context *context, + GLuint readFramebuffer, + GLuint drawFramebuffer, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) +{ + return true; +} + +bool ValidateCheckNamedFramebufferStatus(const Context *context, + FramebufferID framebuffer, + GLenum target) +{ + return true; +} + +bool ValidateClearNamedBufferData(const Context *context, + BufferID buffer, + GLenum internalformat, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +bool ValidateClearNamedBufferSubData(const Context *context, + BufferID buffer, + GLenum internalformat, + GLintptr offset, + GLsizeiptr size, + GLenum format, + GLenum type, + const void *data) +{ + return true; +} + +bool ValidateClearNamedFramebufferfi(const Context *context, + FramebufferID framebuffer, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil) +{ + return true; +} + +bool ValidateClearNamedFramebufferfv(const Context *context, + FramebufferID framebuffer, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value) +{ + return true; +} + +bool ValidateClearNamedFramebufferiv(const Context *context, + FramebufferID framebuffer, + GLenum buffer, + GLint drawbuffer, + const GLint *value) +{ + return true; +} + +bool ValidateClearNamedFramebufferuiv(const Context *context, + FramebufferID framebuffer, + GLenum buffer, + GLint drawbuffer, + const GLuint *value) +{ + return true; +} + +bool ValidateClipControl(const Context *context, GLenum origin, GLenum depth) +{ + return true; +} + +bool ValidateCompressedTextureSubImage1D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return true; +} + +bool ValidateCompressedTextureSubImage2D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return true; +} + +bool ValidateCompressedTextureSubImage3D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return true; +} + +bool ValidateCopyNamedBufferSubData(const Context *context, + GLuint readBuffer, + GLuint writeBuffer, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size) +{ + return true; +} + +bool ValidateCopyTextureSubImage1D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint x, + GLint y, + GLsizei width) +{ + return true; +} + +bool ValidateCopyTextureSubImage2D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateCopyTextureSubImage3D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateCreateBuffers(const Context *context, GLsizei n, const BufferID *buffers) +{ + return true; +} + +bool ValidateCreateFramebuffers(const Context *context, GLsizei n, const GLuint *framebuffers) +{ + return true; +} + +bool ValidateCreateProgramPipelines(const Context *context, GLsizei n, const GLuint *pipelines) +{ + return true; +} + +bool ValidateCreateQueries(const Context *context, GLenum target, GLsizei n, const GLuint *ids) +{ + return true; +} + +bool ValidateCreateRenderbuffers(const Context *context, + GLsizei n, + const RenderbufferID *renderbuffers) +{ + return true; +} + +bool ValidateCreateSamplers(const Context *context, GLsizei n, const GLuint *samplers) +{ + return true; +} + +bool ValidateCreateTextures(const Context *context, + GLenum target, + GLsizei n, + const GLuint *textures) +{ + return true; +} + +bool ValidateCreateTransformFeedbacks(const Context *context, GLsizei n, const GLuint *ids) +{ + return true; +} + +bool ValidateCreateVertexArrays(const Context *context, GLsizei n, const VertexArrayID *arrays) +{ + return true; +} + +bool ValidateDisableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index) +{ + return true; +} + +bool ValidateEnableVertexArrayAttrib(const Context *context, VertexArrayID vaobj, GLuint index) +{ + return true; +} + +bool ValidateFlushMappedNamedBufferRange(const Context *context, + BufferID buffer, + GLintptr offset, + GLsizeiptr length) +{ + return true; +} + +bool ValidateGenerateTextureMipmap(const Context *context, TextureID texture) +{ + return true; +} + +bool ValidateGetCompressedTextureImage(const Context *context, + TextureID texture, + GLint level, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetCompressedTextureSubImage(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetNamedBufferParameteri64v(const Context *context, + BufferID buffer, + GLenum pname, + const GLint64 *params) +{ + return true; +} + +bool ValidateGetNamedBufferParameteriv(const Context *context, + BufferID buffer, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetNamedBufferPointerv(const Context *context, + BufferID buffer, + GLenum pname, + void *const *params) +{ + return true; +} + +bool ValidateGetNamedBufferSubData(const Context *context, + BufferID buffer, + GLintptr offset, + GLsizeiptr size, + const void *data) +{ + return true; +} + +bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context, + FramebufferID framebuffer, + GLenum attachment, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetNamedFramebufferParameteriv(const Context *context, + FramebufferID framebuffer, + GLenum pname, + const GLint *param) +{ + return true; +} + +bool ValidateGetNamedRenderbufferParameteriv(const Context *context, + RenderbufferID renderbuffer, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetQueryBufferObjecti64v(const Context *context, + GLuint id, + BufferID buffer, + GLenum pname, + GLintptr offset) +{ + return true; +} + +bool ValidateGetQueryBufferObjectiv(const Context *context, + GLuint id, + BufferID buffer, + GLenum pname, + GLintptr offset) +{ + return true; +} + +bool ValidateGetQueryBufferObjectui64v(const Context *context, + GLuint id, + BufferID buffer, + GLenum pname, + GLintptr offset) +{ + return true; +} + +bool ValidateGetQueryBufferObjectuiv(const Context *context, + GLuint id, + BufferID buffer, + GLenum pname, + GLintptr offset) +{ + return true; +} + +bool ValidateGetTextureImage(const Context *context, + TextureID texture, + GLint level, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetTextureLevelParameterfv(const Context *context, + TextureID texture, + GLint level, + GLenum pname, + const GLfloat *params) +{ + return true; +} + +bool ValidateGetTextureLevelParameteriv(const Context *context, + TextureID texture, + GLint level, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetTextureParameterIiv(const Context *context, + TextureID texture, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetTextureParameterIuiv(const Context *context, + TextureID texture, + GLenum pname, + const GLuint *params) +{ + return true; +} + +bool ValidateGetTextureParameterfv(const Context *context, + TextureID texture, + GLenum pname, + const GLfloat *params) +{ + return true; +} + +bool ValidateGetTextureParameteriv(const Context *context, + TextureID texture, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateGetTextureSubImage(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetTransformFeedbacki64_v(const Context *context, + GLuint xfb, + GLenum pname, + GLuint index, + const GLint64 *param) +{ + return true; +} + +bool ValidateGetTransformFeedbacki_v(const Context *context, + GLuint xfb, + GLenum pname, + GLuint index, + const GLint *param) +{ + return true; +} + +bool ValidateGetTransformFeedbackiv(const Context *context, + GLuint xfb, + GLenum pname, + const GLint *param) +{ + return true; +} + +bool ValidateGetVertexArrayIndexed64iv(const Context *context, + VertexArrayID vaobj, + GLuint index, + GLenum pname, + const GLint64 *param) +{ + return true; +} + +bool ValidateGetVertexArrayIndexediv(const Context *context, + VertexArrayID vaobj, + GLuint index, + GLenum pname, + const GLint *param) +{ + return true; +} + +bool ValidateGetVertexArrayiv(const Context *context, + VertexArrayID vaobj, + GLenum pname, + const GLint *param) +{ + return true; +} + +bool ValidateGetnColorTable(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *table) +{ + return true; +} + +bool ValidateGetnCompressedTexImage(const Context *context, + GLenum target, + GLint lod, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetnConvolutionFilter(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *image) +{ + return true; +} + +bool ValidateGetnHistogram(const Context *context, + GLenum target, + GLboolean reset, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *values) +{ + return true; +} + +bool ValidateGetnMapdv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLdouble *v) +{ + return true; +} + +bool ValidateGetnMapfv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLfloat *v) +{ + return true; +} + +bool ValidateGetnMapiv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLint *v) +{ + return true; +} + +bool ValidateGetnMinmax(const Context *context, + GLenum target, + GLboolean reset, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *values) +{ + return true; +} + +bool ValidateGetnPixelMapfv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLfloat *values) +{ + return true; +} + +bool ValidateGetnPixelMapuiv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLuint *values) +{ + return true; +} + +bool ValidateGetnPixelMapusv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLushort *values) +{ + return true; +} + +bool ValidateGetnPolygonStipple(const Context *context, GLsizei bufSize, const GLubyte *pattern) +{ + return true; +} + +bool ValidateGetnSeparableFilter(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei rowBufSize, + const void *row, + GLsizei columnBufSize, + const void *column, + const void *span) +{ + return true; +} + +bool ValidateGetnTexImage(const Context *context, + GLenum target, + GLint level, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return true; +} + +bool ValidateGetnUniformdv(const Context *context, + ShaderProgramID program, + UniformLocation location, + GLsizei bufSize, + const GLdouble *params) +{ + return true; +} + +bool ValidateInvalidateNamedFramebufferData(const Context *context, + FramebufferID framebuffer, + GLsizei numAttachments, + const GLenum *attachments) +{ + return true; +} + +bool ValidateInvalidateNamedFramebufferSubData(const Context *context, + FramebufferID framebuffer, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateMapNamedBuffer(const Context *context, BufferID buffer, GLenum access) +{ + return true; +} + +bool ValidateMapNamedBufferRange(const Context *context, + BufferID buffer, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) +{ + return true; +} + +bool ValidateNamedBufferData(const Context *context, + BufferID buffer, + GLsizeiptr size, + const void *data, + GLenum usage) +{ + return true; +} + +bool ValidateNamedBufferStorage(const Context *context, + BufferID buffer, + GLsizeiptr size, + const void *data, + GLbitfield flags) +{ + return true; +} + +bool ValidateNamedBufferSubData(const Context *context, + BufferID buffer, + GLintptr offset, + GLsizeiptr size, + const void *data) +{ + return true; +} + +bool ValidateNamedFramebufferDrawBuffer(const Context *context, + FramebufferID framebuffer, + GLenum buf) +{ + return true; +} + +bool ValidateNamedFramebufferDrawBuffers(const Context *context, + FramebufferID framebuffer, + GLsizei n, + const GLenum *bufs) +{ + return true; +} + +bool ValidateNamedFramebufferParameteri(const Context *context, + FramebufferID framebuffer, + GLenum pname, + GLint param) +{ + return true; +} + +bool ValidateNamedFramebufferReadBuffer(const Context *context, + FramebufferID framebuffer, + GLenum src) +{ + return true; +} + +bool ValidateNamedFramebufferRenderbuffer(const Context *context, + FramebufferID framebuffer, + GLenum attachment, + GLenum renderbuffertarget, + RenderbufferID renderbuffer) +{ + return true; +} + +bool ValidateNamedFramebufferTexture(const Context *context, + FramebufferID framebuffer, + GLenum attachment, + TextureID texture, + GLint level) +{ + return true; +} + +bool ValidateNamedFramebufferTextureLayer(const Context *context, + FramebufferID framebuffer, + GLenum attachment, + TextureID texture, + GLint level, + GLint layer) +{ + return true; +} + +bool ValidateNamedRenderbufferStorage(const Context *context, + RenderbufferID renderbuffer, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateNamedRenderbufferStorageMultisample(const Context *context, + RenderbufferID renderbuffer, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateTextureBarrier(const Context *context) +{ + return true; +} + +bool ValidateTextureBuffer(const Context *context, + TextureID texture, + GLenum internalformat, + BufferID buffer) +{ + return true; +} + +bool ValidateTextureBufferRange(const Context *context, + TextureID texture, + GLenum internalformat, + BufferID buffer, + GLintptr offset, + GLsizeiptr size) +{ + return true; +} + +bool ValidateTextureParameterIiv(const Context *context, + TextureID texture, + GLenum pname, + const GLint *params) +{ + return true; +} + +bool ValidateTextureParameterIuiv(const Context *context, + TextureID texture, + GLenum pname, + const GLuint *params) +{ + return true; +} + +bool ValidateTextureParameterf(const Context *context, + TextureID texture, + GLenum pname, + GLfloat param) +{ + return true; +} + +bool ValidateTextureParameterfv(const Context *context, + TextureID texture, + GLenum pname, + const GLfloat *param) +{ + return true; +} + +bool ValidateTextureParameteri(const Context *context, TextureID texture, GLenum pname, GLint param) +{ + return true; +} + +bool ValidateTextureParameteriv(const Context *context, + TextureID texture, + GLenum pname, + const GLint *param) +{ + return true; +} + +bool ValidateTextureStorage1D(const Context *context, + TextureID texture, + GLsizei levels, + GLenum internalformat, + GLsizei width) +{ + return true; +} + +bool ValidateTextureStorage2D(const Context *context, + TextureID texture, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return true; +} + +bool ValidateTextureStorage2DMultisample(const Context *context, + TextureID texture, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) +{ + return true; +} + +bool ValidateTextureStorage3D(const Context *context, + TextureID texture, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + return true; +} + +bool ValidateTextureStorage3DMultisample(const Context *context, + TextureID texture, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) +{ + return true; +} + +bool ValidateTextureSubImage1D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLenum type, + const void *pixels) +{ + return true; +} + +bool ValidateTextureSubImage2D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels) +{ + return true; +} + +bool ValidateTextureSubImage3D(const Context *context, + TextureID texture, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) +{ + return true; +} + +bool ValidateTransformFeedbackBufferBase(const Context *context, + GLuint xfb, + GLuint index, + BufferID buffer) +{ + return true; +} + +bool ValidateTransformFeedbackBufferRange(const Context *context, + GLuint xfb, + GLuint index, + BufferID buffer, + GLintptr offset, + GLsizeiptr size) +{ + return true; +} + +bool ValidateUnmapNamedBuffer(const Context *context, BufferID buffer) +{ + return true; +} + +bool ValidateVertexArrayAttribBinding(const Context *context, + VertexArrayID vaobj, + GLuint attribindex, + GLuint bindingindex) +{ + return true; +} + +bool ValidateVertexArrayAttribFormat(const Context *context, + VertexArrayID vaobj, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset) +{ + return true; +} + +bool ValidateVertexArrayAttribIFormat(const Context *context, + VertexArrayID vaobj, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) +{ + return true; +} + +bool ValidateVertexArrayAttribLFormat(const Context *context, + VertexArrayID vaobj, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) +{ + return true; +} + +bool ValidateVertexArrayBindingDivisor(const Context *context, + VertexArrayID vaobj, + GLuint bindingindex, + GLuint divisor) +{ + return true; +} + +bool ValidateVertexArrayElementBuffer(const Context *context, VertexArrayID vaobj, BufferID buffer) +{ + return true; +} + +bool ValidateVertexArrayVertexBuffer(const Context *context, + VertexArrayID vaobj, + GLuint bindingindex, + BufferID buffer, + GLintptr offset, + GLsizei stride) +{ + return true; +} + +bool ValidateVertexArrayVertexBuffers(const Context *context, + VertexArrayID vaobj, + GLuint first, + GLsizei count, + const BufferID *buffers, + const GLintptr *offsets, + const GLsizei *strides) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL45_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL45_autogen.h new file mode 100644 index 000000000000..cb88064669d1 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL45_autogen.h @@ -0,0 +1,610 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL45_autogen.h: +// Validation functions for the OpenGL 4.5 entry points. + +#ifndef LIBANGLE_VALIDATION_GL45_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL45_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texturePacked); +bool ValidateBlitNamedFramebuffer(const Context *context, + GLuint readFramebuffer, + GLuint drawFramebuffer, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); +bool ValidateCheckNamedFramebufferStatus(const Context *context, + FramebufferID framebufferPacked, + GLenum target); +bool ValidateClearNamedBufferData(const Context *context, + BufferID bufferPacked, + GLenum internalformat, + GLenum format, + GLenum type, + const void *data); +bool ValidateClearNamedBufferSubData(const Context *context, + BufferID bufferPacked, + GLenum internalformat, + GLintptr offset, + GLsizeiptr size, + GLenum format, + GLenum type, + const void *data); +bool ValidateClearNamedFramebufferfi(const Context *context, + FramebufferID framebufferPacked, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil); +bool ValidateClearNamedFramebufferfv(const Context *context, + FramebufferID framebufferPacked, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value); +bool ValidateClearNamedFramebufferiv(const Context *context, + FramebufferID framebufferPacked, + GLenum buffer, + GLint drawbuffer, + const GLint *value); +bool ValidateClearNamedFramebufferuiv(const Context *context, + FramebufferID framebufferPacked, + GLenum buffer, + GLint drawbuffer, + const GLuint *value); +bool ValidateClipControl(const Context *context, GLenum origin, GLenum depth); +bool ValidateCompressedTextureSubImage1D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLsizei imageSize, + const void *data); +bool ValidateCompressedTextureSubImage2D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data); +bool ValidateCompressedTextureSubImage3D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data); +bool ValidateCopyNamedBufferSubData(const Context *context, + GLuint readBuffer, + GLuint writeBuffer, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size); +bool ValidateCopyTextureSubImage1D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint x, + GLint y, + GLsizei width); +bool ValidateCopyTextureSubImage2D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +bool ValidateCopyTextureSubImage3D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +bool ValidateCreateBuffers(const Context *context, GLsizei n, const BufferID *buffersPacked); +bool ValidateCreateFramebuffers(const Context *context, GLsizei n, const GLuint *framebuffers); +bool ValidateCreateProgramPipelines(const Context *context, GLsizei n, const GLuint *pipelines); +bool ValidateCreateQueries(const Context *context, GLenum target, GLsizei n, const GLuint *ids); +bool ValidateCreateRenderbuffers(const Context *context, + GLsizei n, + const RenderbufferID *renderbuffersPacked); +bool ValidateCreateSamplers(const Context *context, GLsizei n, const GLuint *samplers); +bool ValidateCreateTextures(const Context *context, + GLenum target, + GLsizei n, + const GLuint *textures); +bool ValidateCreateTransformFeedbacks(const Context *context, GLsizei n, const GLuint *ids); +bool ValidateCreateVertexArrays(const Context *context, + GLsizei n, + const VertexArrayID *arraysPacked); +bool ValidateDisableVertexArrayAttrib(const Context *context, + VertexArrayID vaobjPacked, + GLuint index); +bool ValidateEnableVertexArrayAttrib(const Context *context, + VertexArrayID vaobjPacked, + GLuint index); +bool ValidateFlushMappedNamedBufferRange(const Context *context, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr length); +bool ValidateGenerateTextureMipmap(const Context *context, TextureID texturePacked); +bool ValidateGetCompressedTextureImage(const Context *context, + TextureID texturePacked, + GLint level, + GLsizei bufSize, + const void *pixels); +bool ValidateGetCompressedTextureSubImage(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLsizei bufSize, + const void *pixels); +bool ValidateGetNamedBufferParameteri64v(const Context *context, + BufferID bufferPacked, + GLenum pname, + const GLint64 *params); +bool ValidateGetNamedBufferParameteriv(const Context *context, + BufferID bufferPacked, + GLenum pname, + const GLint *params); +bool ValidateGetNamedBufferPointerv(const Context *context, + BufferID bufferPacked, + GLenum pname, + void *const *params); +bool ValidateGetNamedBufferSubData(const Context *context, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr size, + const void *data); +bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context, + FramebufferID framebufferPacked, + GLenum attachment, + GLenum pname, + const GLint *params); +bool ValidateGetNamedFramebufferParameteriv(const Context *context, + FramebufferID framebufferPacked, + GLenum pname, + const GLint *param); +bool ValidateGetNamedRenderbufferParameteriv(const Context *context, + RenderbufferID renderbufferPacked, + GLenum pname, + const GLint *params); +bool ValidateGetQueryBufferObjecti64v(const Context *context, + GLuint id, + BufferID bufferPacked, + GLenum pname, + GLintptr offset); +bool ValidateGetQueryBufferObjectiv(const Context *context, + GLuint id, + BufferID bufferPacked, + GLenum pname, + GLintptr offset); +bool ValidateGetQueryBufferObjectui64v(const Context *context, + GLuint id, + BufferID bufferPacked, + GLenum pname, + GLintptr offset); +bool ValidateGetQueryBufferObjectuiv(const Context *context, + GLuint id, + BufferID bufferPacked, + GLenum pname, + GLintptr offset); +bool ValidateGetTextureImage(const Context *context, + TextureID texturePacked, + GLint level, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +bool ValidateGetTextureLevelParameterfv(const Context *context, + TextureID texturePacked, + GLint level, + GLenum pname, + const GLfloat *params); +bool ValidateGetTextureLevelParameteriv(const Context *context, + TextureID texturePacked, + GLint level, + GLenum pname, + const GLint *params); +bool ValidateGetTextureParameterIiv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLint *params); +bool ValidateGetTextureParameterIuiv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLuint *params); +bool ValidateGetTextureParameterfv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLfloat *params); +bool ValidateGetTextureParameteriv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLint *params); +bool ValidateGetTextureSubImage(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +bool ValidateGetTransformFeedbacki64_v(const Context *context, + GLuint xfb, + GLenum pname, + GLuint index, + const GLint64 *param); +bool ValidateGetTransformFeedbacki_v(const Context *context, + GLuint xfb, + GLenum pname, + GLuint index, + const GLint *param); +bool ValidateGetTransformFeedbackiv(const Context *context, + GLuint xfb, + GLenum pname, + const GLint *param); +bool ValidateGetVertexArrayIndexed64iv(const Context *context, + VertexArrayID vaobjPacked, + GLuint index, + GLenum pname, + const GLint64 *param); +bool ValidateGetVertexArrayIndexediv(const Context *context, + VertexArrayID vaobjPacked, + GLuint index, + GLenum pname, + const GLint *param); +bool ValidateGetVertexArrayiv(const Context *context, + VertexArrayID vaobjPacked, + GLenum pname, + const GLint *param); +bool ValidateGetnColorTable(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *table); +bool ValidateGetnCompressedTexImage(const Context *context, + GLenum target, + GLint lod, + GLsizei bufSize, + const void *pixels); +bool ValidateGetnConvolutionFilter(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *image); +bool ValidateGetnHistogram(const Context *context, + GLenum target, + GLboolean reset, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *values); +bool ValidateGetnMapdv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLdouble *v); +bool ValidateGetnMapfv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLfloat *v); +bool ValidateGetnMapiv(const Context *context, + GLenum target, + GLenum query, + GLsizei bufSize, + const GLint *v); +bool ValidateGetnMinmax(const Context *context, + GLenum target, + GLboolean reset, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *values); +bool ValidateGetnPixelMapfv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLfloat *values); +bool ValidateGetnPixelMapuiv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLuint *values); +bool ValidateGetnPixelMapusv(const Context *context, + GLenum map, + GLsizei bufSize, + const GLushort *values); +bool ValidateGetnPolygonStipple(const Context *context, GLsizei bufSize, const GLubyte *pattern); +bool ValidateGetnSeparableFilter(const Context *context, + GLenum target, + GLenum format, + GLenum type, + GLsizei rowBufSize, + const void *row, + GLsizei columnBufSize, + const void *column, + const void *span); +bool ValidateGetnTexImage(const Context *context, + GLenum target, + GLint level, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +bool ValidateGetnUniformdv(const Context *context, + ShaderProgramID programPacked, + UniformLocation locationPacked, + GLsizei bufSize, + const GLdouble *params); +bool ValidateInvalidateNamedFramebufferData(const Context *context, + FramebufferID framebufferPacked, + GLsizei numAttachments, + const GLenum *attachments); +bool ValidateInvalidateNamedFramebufferSubData(const Context *context, + FramebufferID framebufferPacked, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +bool ValidateMapNamedBuffer(const Context *context, BufferID bufferPacked, GLenum access); +bool ValidateMapNamedBufferRange(const Context *context, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); +bool ValidateNamedBufferData(const Context *context, + BufferID bufferPacked, + GLsizeiptr size, + const void *data, + GLenum usage); +bool ValidateNamedBufferStorage(const Context *context, + BufferID bufferPacked, + GLsizeiptr size, + const void *data, + GLbitfield flags); +bool ValidateNamedBufferSubData(const Context *context, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr size, + const void *data); +bool ValidateNamedFramebufferDrawBuffer(const Context *context, + FramebufferID framebufferPacked, + GLenum buf); +bool ValidateNamedFramebufferDrawBuffers(const Context *context, + FramebufferID framebufferPacked, + GLsizei n, + const GLenum *bufs); +bool ValidateNamedFramebufferParameteri(const Context *context, + FramebufferID framebufferPacked, + GLenum pname, + GLint param); +bool ValidateNamedFramebufferReadBuffer(const Context *context, + FramebufferID framebufferPacked, + GLenum src); +bool ValidateNamedFramebufferRenderbuffer(const Context *context, + FramebufferID framebufferPacked, + GLenum attachment, + GLenum renderbuffertarget, + RenderbufferID renderbufferPacked); +bool ValidateNamedFramebufferTexture(const Context *context, + FramebufferID framebufferPacked, + GLenum attachment, + TextureID texturePacked, + GLint level); +bool ValidateNamedFramebufferTextureLayer(const Context *context, + FramebufferID framebufferPacked, + GLenum attachment, + TextureID texturePacked, + GLint level, + GLint layer); +bool ValidateNamedRenderbufferStorage(const Context *context, + RenderbufferID renderbufferPacked, + GLenum internalformat, + GLsizei width, + GLsizei height); +bool ValidateNamedRenderbufferStorageMultisample(const Context *context, + RenderbufferID renderbufferPacked, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +bool ValidateTextureBarrier(const Context *context); +bool ValidateTextureBuffer(const Context *context, + TextureID texturePacked, + GLenum internalformat, + BufferID bufferPacked); +bool ValidateTextureBufferRange(const Context *context, + TextureID texturePacked, + GLenum internalformat, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr size); +bool ValidateTextureParameterIiv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLint *params); +bool ValidateTextureParameterIuiv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLuint *params); +bool ValidateTextureParameterf(const Context *context, + TextureID texturePacked, + GLenum pname, + GLfloat param); +bool ValidateTextureParameterfv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLfloat *param); +bool ValidateTextureParameteri(const Context *context, + TextureID texturePacked, + GLenum pname, + GLint param); +bool ValidateTextureParameteriv(const Context *context, + TextureID texturePacked, + GLenum pname, + const GLint *param); +bool ValidateTextureStorage1D(const Context *context, + TextureID texturePacked, + GLsizei levels, + GLenum internalformat, + GLsizei width); +bool ValidateTextureStorage2D(const Context *context, + TextureID texturePacked, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height); +bool ValidateTextureStorage2DMultisample(const Context *context, + TextureID texturePacked, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +bool ValidateTextureStorage3D(const Context *context, + TextureID texturePacked, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); +bool ValidateTextureStorage3DMultisample(const Context *context, + TextureID texturePacked, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations); +bool ValidateTextureSubImage1D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLsizei width, + GLenum format, + GLenum type, + const void *pixels); +bool ValidateTextureSubImage2D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels); +bool ValidateTextureSubImage3D(const Context *context, + TextureID texturePacked, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels); +bool ValidateTransformFeedbackBufferBase(const Context *context, + GLuint xfb, + GLuint index, + BufferID bufferPacked); +bool ValidateTransformFeedbackBufferRange(const Context *context, + GLuint xfb, + GLuint index, + BufferID bufferPacked, + GLintptr offset, + GLsizeiptr size); +bool ValidateUnmapNamedBuffer(const Context *context, BufferID bufferPacked); +bool ValidateVertexArrayAttribBinding(const Context *context, + VertexArrayID vaobjPacked, + GLuint attribindex, + GLuint bindingindex); +bool ValidateVertexArrayAttribFormat(const Context *context, + VertexArrayID vaobjPacked, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset); +bool ValidateVertexArrayAttribIFormat(const Context *context, + VertexArrayID vaobjPacked, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +bool ValidateVertexArrayAttribLFormat(const Context *context, + VertexArrayID vaobjPacked, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +bool ValidateVertexArrayBindingDivisor(const Context *context, + VertexArrayID vaobjPacked, + GLuint bindingindex, + GLuint divisor); +bool ValidateVertexArrayElementBuffer(const Context *context, + VertexArrayID vaobjPacked, + BufferID bufferPacked); +bool ValidateVertexArrayVertexBuffer(const Context *context, + VertexArrayID vaobjPacked, + GLuint bindingindex, + BufferID bufferPacked, + GLintptr offset, + GLsizei stride); +bool ValidateVertexArrayVertexBuffers(const Context *context, + VertexArrayID vaobjPacked, + GLuint first, + GLsizei count, + const BufferID *buffersPacked, + const GLintptr *offsets, + const GLsizei *strides); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL45_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL46.cpp b/gfx/angle/checkout/src/libANGLE/validationGL46.cpp new file mode 100644 index 000000000000..44dfe76cf342 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL46.cpp @@ -0,0 +1,53 @@ +// +// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// validationGL46.cpp: Validation functions for OpenGL 4.6 entry point parameters + +#include "libANGLE/validationGL46_autogen.h" + +namespace gl +{ + +bool ValidateMultiDrawArraysIndirectCount(const Context *context, + GLenum mode, + const void *indirect, + GLintptr drawcount, + GLsizei maxdrawcount, + GLsizei stride) +{ + return true; +} + +bool ValidateMultiDrawElementsIndirectCount(const Context *context, + GLenum mode, + GLenum type, + const void *indirect, + GLintptr drawcount, + GLsizei maxdrawcount, + GLsizei stride) +{ + return true; +} + +bool ValidatePolygonOffsetClamp(const Context *context, + GLfloat factor, + GLfloat units, + GLfloat clamp) +{ + return true; +} + +bool ValidateSpecializeShader(const Context *context, + GLuint shader, + const GLchar *pEntryPoint, + GLuint numSpecializationConstants, + const GLuint *pConstantIndex, + const GLuint *pConstantValue) +{ + return true; +} + +} // namespace gl diff --git a/gfx/angle/checkout/src/libANGLE/validationGL46_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL46_autogen.h new file mode 100644 index 000000000000..d479b1412620 --- /dev/null +++ b/gfx/angle/checkout/src/libANGLE/validationGL46_autogen.h @@ -0,0 +1,45 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. +// +// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// validationGL46_autogen.h: +// Validation functions for the OpenGL 4.6 entry points. + +#ifndef LIBANGLE_VALIDATION_GL46_AUTOGEN_H_ +#define LIBANGLE_VALIDATION_GL46_AUTOGEN_H_ + +#include "common/PackedEnums.h" + +namespace gl +{ +class Context; + +bool ValidateMultiDrawArraysIndirectCount(const Context *context, + GLenum mode, + const void *indirect, + GLintptr drawcount, + GLsizei maxdrawcount, + GLsizei stride); +bool ValidateMultiDrawElementsIndirectCount(const Context *context, + GLenum mode, + GLenum type, + const void *indirect, + GLintptr drawcount, + GLsizei maxdrawcount, + GLsizei stride); +bool ValidatePolygonOffsetClamp(const Context *context, + GLfloat factor, + GLfloat units, + GLfloat clamp); +bool ValidateSpecializeShader(const Context *context, + GLuint shader, + const GLchar *pEntryPoint, + GLuint numSpecializationConstants, + const GLuint *pConstantIndex, + const GLuint *pConstantValue); +} // namespace gl + +#endif // LIBANGLE_VALIDATION_GL46_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libANGLE/validationGL4_autogen.h b/gfx/angle/checkout/src/libANGLE/validationGL4_autogen.h index 54ad232e5941..8043f7dafde7 100644 --- a/gfx/angle/checkout/src/libANGLE/validationGL4_autogen.h +++ b/gfx/angle/checkout/src/libANGLE/validationGL4_autogen.h @@ -1,12 +1,12 @@ // GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from gl.xml. +// Generated by generate_entry_points.py using data from gl.xml and wgl.xml. // // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // validationGL4_autogen.h: -// Validation functions for the OpenGL Desktop GL 4.x entry points. +// Validation functions for the OpenGL 4.0 entry points. #ifndef LIBANGLE_VALIDATION_GL4_AUTOGEN_H_ #define LIBANGLE_VALIDATION_GL4_AUTOGEN_H_ @@ -17,7 +17,6 @@ namespace gl { class Context; -// GL 4.0 bool ValidateBeginQueryIndexed(const Context *context, GLenum target, GLuint index, @@ -158,939 +157,6 @@ bool ValidateUniformSubroutinesuiv(const Context *context, GLenum shadertype, GLsizei count, const GLuint *indices); - -// GL 4.1 -bool ValidateDepthRangeArrayv(const Context *context, - GLuint first, - GLsizei count, - const GLdouble *v); -bool ValidateDepthRangeIndexed(const Context *context, GLuint index, GLdouble n, GLdouble f); -bool ValidateGetDoublei_v(const Context *context, - GLenum target, - GLuint index, - const GLdouble *data); -bool ValidateGetFloati_v(const Context *context, GLenum target, GLuint index, const GLfloat *data); -bool ValidateGetVertexAttribLdv(const Context *context, - GLuint index, - GLenum pname, - const GLdouble *params); -bool ValidateProgramUniform1d(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLdouble v0); -bool ValidateProgramUniform1dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLdouble *value); -bool ValidateProgramUniform2d(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLdouble v0, - GLdouble v1); -bool ValidateProgramUniform2dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLdouble *value); -bool ValidateProgramUniform3d(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLdouble v0, - GLdouble v1, - GLdouble v2); -bool ValidateProgramUniform3dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLdouble *value); -bool ValidateProgramUniform4d(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLdouble v0, - GLdouble v1, - GLdouble v2, - GLdouble v3); -bool ValidateProgramUniform4dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - const GLdouble *value); -bool ValidateProgramUniformMatrix2dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix2x3dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix2x4dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix3dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix3x2dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix3x4dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix4dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix4x2dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateProgramUniformMatrix4x3dv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei count, - GLboolean transpose, - const GLdouble *value); -bool ValidateScissorArrayv(const Context *context, GLuint first, GLsizei count, const GLint *v); -bool ValidateScissorIndexed(const Context *context, - GLuint index, - GLint left, - GLint bottom, - GLsizei width, - GLsizei height); -bool ValidateScissorIndexedv(const Context *context, GLuint index, const GLint *v); -bool ValidateVertexAttribL1d(const Context *context, GLuint index, GLdouble x); -bool ValidateVertexAttribL1dv(const Context *context, GLuint index, const GLdouble *v); -bool ValidateVertexAttribL2d(const Context *context, GLuint index, GLdouble x, GLdouble y); -bool ValidateVertexAttribL2dv(const Context *context, GLuint index, const GLdouble *v); -bool ValidateVertexAttribL3d(const Context *context, - GLuint index, - GLdouble x, - GLdouble y, - GLdouble z); -bool ValidateVertexAttribL3dv(const Context *context, GLuint index, const GLdouble *v); -bool ValidateVertexAttribL4d(const Context *context, - GLuint index, - GLdouble x, - GLdouble y, - GLdouble z, - GLdouble w); -bool ValidateVertexAttribL4dv(const Context *context, GLuint index, const GLdouble *v); -bool ValidateVertexAttribLPointer(const Context *context, - GLuint index, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -bool ValidateViewportArrayv(const Context *context, GLuint first, GLsizei count, const GLfloat *v); -bool ValidateViewportIndexedf(const Context *context, - GLuint index, - GLfloat x, - GLfloat y, - GLfloat w, - GLfloat h); -bool ValidateViewportIndexedfv(const Context *context, GLuint index, const GLfloat *v); - -// GL 4.2 -bool ValidateDrawArraysInstancedBaseInstance(const Context *context, - PrimitiveMode modePacked, - GLint first, - GLsizei count, - GLsizei instancecount, - GLuint baseinstance); -bool ValidateDrawElementsInstancedBaseInstance(const Context *context, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLuint baseinstance); -bool ValidateDrawElementsInstancedBaseVertexBaseInstance(const Context *context, - PrimitiveMode modePacked, - GLsizei count, - DrawElementsType typePacked, - const void *indices, - GLsizei instancecount, - GLint basevertex, - GLuint baseinstance); -bool ValidateDrawTransformFeedbackInstanced(const Context *context, - GLenum mode, - TransformFeedbackID idPacked, - GLsizei instancecount); -bool ValidateDrawTransformFeedbackStreamInstanced(const Context *context, - GLenum mode, - TransformFeedbackID idPacked, - GLuint stream, - GLsizei instancecount); -bool ValidateGetActiveAtomicCounterBufferiv(const Context *context, - ShaderProgramID programPacked, - GLuint bufferIndex, - GLenum pname, - const GLint *params); -bool ValidateTexStorage1D(const Context *context, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width); - -// GL 4.3 -bool ValidateClearBufferData(const Context *context, - GLenum target, - GLenum internalformat, - GLenum format, - GLenum type, - const void *data); -bool ValidateClearBufferSubData(const Context *context, - GLenum target, - GLenum internalformat, - GLintptr offset, - GLsizeiptr size, - GLenum format, - GLenum type, - const void *data); -bool ValidateGetInternalformati64v(const Context *context, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - const GLint64 *params); -bool ValidateGetProgramResourceLocationIndex(const Context *context, - ShaderProgramID programPacked, - GLenum programInterface, - const GLchar *name); -bool ValidateInvalidateBufferData(const Context *context, BufferID bufferPacked); -bool ValidateInvalidateBufferSubData(const Context *context, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr length); -bool ValidateInvalidateTexImage(const Context *context, TextureID texturePacked, GLint level); -bool ValidateInvalidateTexSubImage(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth); -bool ValidateMultiDrawArraysIndirect(const Context *context, - GLenum mode, - const void *indirect, - GLsizei drawcount, - GLsizei stride); -bool ValidateMultiDrawElementsIndirect(const Context *context, - GLenum mode, - GLenum type, - const void *indirect, - GLsizei drawcount, - GLsizei stride); -bool ValidateShaderStorageBlockBinding(const Context *context, - ShaderProgramID programPacked, - GLuint storageBlockIndex, - GLuint storageBlockBinding); -bool ValidateTextureView(const Context *context, - TextureID texturePacked, - GLenum target, - GLuint origtexture, - GLenum internalformat, - GLuint minlevel, - GLuint numlevels, - GLuint minlayer, - GLuint numlayers); -bool ValidateVertexAttribLFormat(const Context *context, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset); - -// GL 4.4 -bool ValidateBindBuffersBase(const Context *context, - GLenum target, - GLuint first, - GLsizei count, - const BufferID *buffersPacked); -bool ValidateBindBuffersRange(const Context *context, - GLenum target, - GLuint first, - GLsizei count, - const BufferID *buffersPacked, - const GLintptr *offsets, - const GLsizeiptr *sizes); -bool ValidateBindImageTextures(const Context *context, - GLuint first, - GLsizei count, - const GLuint *textures); -bool ValidateBindSamplers(const Context *context, - GLuint first, - GLsizei count, - const GLuint *samplers); -bool ValidateBindTextures(const Context *context, - GLuint first, - GLsizei count, - const GLuint *textures); -bool ValidateBindVertexBuffers(const Context *context, - GLuint first, - GLsizei count, - const BufferID *buffersPacked, - const GLintptr *offsets, - const GLsizei *strides); -bool ValidateBufferStorage(const Context *context, - BufferBinding targetPacked, - GLsizeiptr size, - const void *data, - GLbitfield flags); -bool ValidateClearTexImage(const Context *context, - TextureID texturePacked, - GLint level, - GLenum format, - GLenum type, - const void *data); -bool ValidateClearTexSubImage(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *data); - -// GL 4.5 -bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texturePacked); -bool ValidateBlitNamedFramebuffer(const Context *context, - GLuint readFramebuffer, - GLuint drawFramebuffer, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); -bool ValidateCheckNamedFramebufferStatus(const Context *context, - FramebufferID framebufferPacked, - GLenum target); -bool ValidateClearNamedBufferData(const Context *context, - BufferID bufferPacked, - GLenum internalformat, - GLenum format, - GLenum type, - const void *data); -bool ValidateClearNamedBufferSubData(const Context *context, - BufferID bufferPacked, - GLenum internalformat, - GLintptr offset, - GLsizeiptr size, - GLenum format, - GLenum type, - const void *data); -bool ValidateClearNamedFramebufferfi(const Context *context, - FramebufferID framebufferPacked, - GLenum buffer, - GLint drawbuffer, - GLfloat depth, - GLint stencil); -bool ValidateClearNamedFramebufferfv(const Context *context, - FramebufferID framebufferPacked, - GLenum buffer, - GLint drawbuffer, - const GLfloat *value); -bool ValidateClearNamedFramebufferiv(const Context *context, - FramebufferID framebufferPacked, - GLenum buffer, - GLint drawbuffer, - const GLint *value); -bool ValidateClearNamedFramebufferuiv(const Context *context, - FramebufferID framebufferPacked, - GLenum buffer, - GLint drawbuffer, - const GLuint *value); -bool ValidateClipControl(const Context *context, GLenum origin, GLenum depth); -bool ValidateCompressedTextureSubImage1D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLsizei imageSize, - const void *data); -bool ValidateCompressedTextureSubImage2D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data); -bool ValidateCompressedTextureSubImage3D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data); -bool ValidateCopyNamedBufferSubData(const Context *context, - GLuint readBuffer, - GLuint writeBuffer, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size); -bool ValidateCopyTextureSubImage1D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint x, - GLint y, - GLsizei width); -bool ValidateCopyTextureSubImage2D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -bool ValidateCopyTextureSubImage3D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -bool ValidateCreateBuffers(const Context *context, GLsizei n, const BufferID *buffersPacked); -bool ValidateCreateFramebuffers(const Context *context, GLsizei n, const GLuint *framebuffers); -bool ValidateCreateProgramPipelines(const Context *context, GLsizei n, const GLuint *pipelines); -bool ValidateCreateQueries(const Context *context, GLenum target, GLsizei n, const GLuint *ids); -bool ValidateCreateRenderbuffers(const Context *context, - GLsizei n, - const RenderbufferID *renderbuffersPacked); -bool ValidateCreateSamplers(const Context *context, GLsizei n, const GLuint *samplers); -bool ValidateCreateTextures(const Context *context, - GLenum target, - GLsizei n, - const GLuint *textures); -bool ValidateCreateTransformFeedbacks(const Context *context, GLsizei n, const GLuint *ids); -bool ValidateCreateVertexArrays(const Context *context, - GLsizei n, - const VertexArrayID *arraysPacked); -bool ValidateDisableVertexArrayAttrib(const Context *context, - VertexArrayID vaobjPacked, - GLuint index); -bool ValidateEnableVertexArrayAttrib(const Context *context, - VertexArrayID vaobjPacked, - GLuint index); -bool ValidateFlushMappedNamedBufferRange(const Context *context, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr length); -bool ValidateGenerateTextureMipmap(const Context *context, TextureID texturePacked); -bool ValidateGetCompressedTextureImage(const Context *context, - TextureID texturePacked, - GLint level, - GLsizei bufSize, - const void *pixels); -bool ValidateGetCompressedTextureSubImage(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLsizei bufSize, - const void *pixels); -bool ValidateGetNamedBufferParameteri64v(const Context *context, - BufferID bufferPacked, - GLenum pname, - const GLint64 *params); -bool ValidateGetNamedBufferParameteriv(const Context *context, - BufferID bufferPacked, - GLenum pname, - const GLint *params); -bool ValidateGetNamedBufferPointerv(const Context *context, - BufferID bufferPacked, - GLenum pname, - void *const *params); -bool ValidateGetNamedBufferSubData(const Context *context, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr size, - const void *data); -bool ValidateGetNamedFramebufferAttachmentParameteriv(const Context *context, - FramebufferID framebufferPacked, - GLenum attachment, - GLenum pname, - const GLint *params); -bool ValidateGetNamedFramebufferParameteriv(const Context *context, - FramebufferID framebufferPacked, - GLenum pname, - const GLint *param); -bool ValidateGetNamedRenderbufferParameteriv(const Context *context, - RenderbufferID renderbufferPacked, - GLenum pname, - const GLint *params); -bool ValidateGetQueryBufferObjecti64v(const Context *context, - GLuint id, - BufferID bufferPacked, - GLenum pname, - GLintptr offset); -bool ValidateGetQueryBufferObjectiv(const Context *context, - GLuint id, - BufferID bufferPacked, - GLenum pname, - GLintptr offset); -bool ValidateGetQueryBufferObjectui64v(const Context *context, - GLuint id, - BufferID bufferPacked, - GLenum pname, - GLintptr offset); -bool ValidateGetQueryBufferObjectuiv(const Context *context, - GLuint id, - BufferID bufferPacked, - GLenum pname, - GLintptr offset); -bool ValidateGetTextureImage(const Context *context, - TextureID texturePacked, - GLint level, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -bool ValidateGetTextureLevelParameterfv(const Context *context, - TextureID texturePacked, - GLint level, - GLenum pname, - const GLfloat *params); -bool ValidateGetTextureLevelParameteriv(const Context *context, - TextureID texturePacked, - GLint level, - GLenum pname, - const GLint *params); -bool ValidateGetTextureParameterIiv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLint *params); -bool ValidateGetTextureParameterIuiv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLuint *params); -bool ValidateGetTextureParameterfv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLfloat *params); -bool ValidateGetTextureParameteriv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLint *params); -bool ValidateGetTextureSubImage(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -bool ValidateGetTransformFeedbacki64_v(const Context *context, - GLuint xfb, - GLenum pname, - GLuint index, - const GLint64 *param); -bool ValidateGetTransformFeedbacki_v(const Context *context, - GLuint xfb, - GLenum pname, - GLuint index, - const GLint *param); -bool ValidateGetTransformFeedbackiv(const Context *context, - GLuint xfb, - GLenum pname, - const GLint *param); -bool ValidateGetVertexArrayIndexed64iv(const Context *context, - VertexArrayID vaobjPacked, - GLuint index, - GLenum pname, - const GLint64 *param); -bool ValidateGetVertexArrayIndexediv(const Context *context, - VertexArrayID vaobjPacked, - GLuint index, - GLenum pname, - const GLint *param); -bool ValidateGetVertexArrayiv(const Context *context, - VertexArrayID vaobjPacked, - GLenum pname, - const GLint *param); -bool ValidateGetnColorTable(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *table); -bool ValidateGetnCompressedTexImage(const Context *context, - GLenum target, - GLint lod, - GLsizei bufSize, - const void *pixels); -bool ValidateGetnConvolutionFilter(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *image); -bool ValidateGetnHistogram(const Context *context, - GLenum target, - GLboolean reset, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *values); -bool ValidateGetnMapdv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLdouble *v); -bool ValidateGetnMapfv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLfloat *v); -bool ValidateGetnMapiv(const Context *context, - GLenum target, - GLenum query, - GLsizei bufSize, - const GLint *v); -bool ValidateGetnMinmax(const Context *context, - GLenum target, - GLboolean reset, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *values); -bool ValidateGetnPixelMapfv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLfloat *values); -bool ValidateGetnPixelMapuiv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLuint *values); -bool ValidateGetnPixelMapusv(const Context *context, - GLenum map, - GLsizei bufSize, - const GLushort *values); -bool ValidateGetnPolygonStipple(const Context *context, GLsizei bufSize, const GLubyte *pattern); -bool ValidateGetnSeparableFilter(const Context *context, - GLenum target, - GLenum format, - GLenum type, - GLsizei rowBufSize, - const void *row, - GLsizei columnBufSize, - const void *column, - const void *span); -bool ValidateGetnTexImage(const Context *context, - GLenum target, - GLint level, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -bool ValidateGetnUniformdv(const Context *context, - ShaderProgramID programPacked, - UniformLocation locationPacked, - GLsizei bufSize, - const GLdouble *params); -bool ValidateInvalidateNamedFramebufferData(const Context *context, - FramebufferID framebufferPacked, - GLsizei numAttachments, - const GLenum *attachments); -bool ValidateInvalidateNamedFramebufferSubData(const Context *context, - FramebufferID framebufferPacked, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -bool ValidateMapNamedBuffer(const Context *context, BufferID bufferPacked, GLenum access); -bool ValidateMapNamedBufferRange(const Context *context, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr length, - GLbitfield access); -bool ValidateNamedBufferData(const Context *context, - BufferID bufferPacked, - GLsizeiptr size, - const void *data, - GLenum usage); -bool ValidateNamedBufferStorage(const Context *context, - BufferID bufferPacked, - GLsizeiptr size, - const void *data, - GLbitfield flags); -bool ValidateNamedBufferSubData(const Context *context, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr size, - const void *data); -bool ValidateNamedFramebufferDrawBuffer(const Context *context, - FramebufferID framebufferPacked, - GLenum buf); -bool ValidateNamedFramebufferDrawBuffers(const Context *context, - FramebufferID framebufferPacked, - GLsizei n, - const GLenum *bufs); -bool ValidateNamedFramebufferParameteri(const Context *context, - FramebufferID framebufferPacked, - GLenum pname, - GLint param); -bool ValidateNamedFramebufferReadBuffer(const Context *context, - FramebufferID framebufferPacked, - GLenum src); -bool ValidateNamedFramebufferRenderbuffer(const Context *context, - FramebufferID framebufferPacked, - GLenum attachment, - GLenum renderbuffertarget, - RenderbufferID renderbufferPacked); -bool ValidateNamedFramebufferTexture(const Context *context, - FramebufferID framebufferPacked, - GLenum attachment, - TextureID texturePacked, - GLint level); -bool ValidateNamedFramebufferTextureLayer(const Context *context, - FramebufferID framebufferPacked, - GLenum attachment, - TextureID texturePacked, - GLint level, - GLint layer); -bool ValidateNamedRenderbufferStorage(const Context *context, - RenderbufferID renderbufferPacked, - GLenum internalformat, - GLsizei width, - GLsizei height); -bool ValidateNamedRenderbufferStorageMultisample(const Context *context, - RenderbufferID renderbufferPacked, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); -bool ValidateTextureBarrier(const Context *context); -bool ValidateTextureBuffer(const Context *context, - TextureID texturePacked, - GLenum internalformat, - BufferID bufferPacked); -bool ValidateTextureBufferRange(const Context *context, - TextureID texturePacked, - GLenum internalformat, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr size); -bool ValidateTextureParameterIiv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLint *params); -bool ValidateTextureParameterIuiv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLuint *params); -bool ValidateTextureParameterf(const Context *context, - TextureID texturePacked, - GLenum pname, - GLfloat param); -bool ValidateTextureParameterfv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLfloat *param); -bool ValidateTextureParameteri(const Context *context, - TextureID texturePacked, - GLenum pname, - GLint param); -bool ValidateTextureParameteriv(const Context *context, - TextureID texturePacked, - GLenum pname, - const GLint *param); -bool ValidateTextureStorage1D(const Context *context, - TextureID texturePacked, - GLsizei levels, - GLenum internalformat, - GLsizei width); -bool ValidateTextureStorage2D(const Context *context, - TextureID texturePacked, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height); -bool ValidateTextureStorage2DMultisample(const Context *context, - TextureID texturePacked, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -bool ValidateTextureStorage3D(const Context *context, - TextureID texturePacked, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth); -bool ValidateTextureStorage3DMultisample(const Context *context, - TextureID texturePacked, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations); -bool ValidateTextureSubImage1D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLsizei width, - GLenum format, - GLenum type, - const void *pixels); -bool ValidateTextureSubImage2D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels); -bool ValidateTextureSubImage3D(const Context *context, - TextureID texturePacked, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels); -bool ValidateTransformFeedbackBufferBase(const Context *context, - GLuint xfb, - GLuint index, - BufferID bufferPacked); -bool ValidateTransformFeedbackBufferRange(const Context *context, - GLuint xfb, - GLuint index, - BufferID bufferPacked, - GLintptr offset, - GLsizeiptr size); -bool ValidateUnmapNamedBuffer(const Context *context, BufferID bufferPacked); -bool ValidateVertexArrayAttribBinding(const Context *context, - VertexArrayID vaobjPacked, - GLuint attribindex, - GLuint bindingindex); -bool ValidateVertexArrayAttribFormat(const Context *context, - VertexArrayID vaobjPacked, - GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset); -bool ValidateVertexArrayAttribIFormat(const Context *context, - VertexArrayID vaobjPacked, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset); -bool ValidateVertexArrayAttribLFormat(const Context *context, - VertexArrayID vaobjPacked, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset); -bool ValidateVertexArrayBindingDivisor(const Context *context, - VertexArrayID vaobjPacked, - GLuint bindingindex, - GLuint divisor); -bool ValidateVertexArrayElementBuffer(const Context *context, - VertexArrayID vaobjPacked, - BufferID bufferPacked); -bool ValidateVertexArrayVertexBuffer(const Context *context, - VertexArrayID vaobjPacked, - GLuint bindingindex, - BufferID bufferPacked, - GLintptr offset, - GLsizei stride); -bool ValidateVertexArrayVertexBuffers(const Context *context, - VertexArrayID vaobjPacked, - GLuint first, - GLsizei count, - const BufferID *buffersPacked, - const GLintptr *offsets, - const GLsizei *strides); - -// GL 4.6 -bool ValidateMultiDrawArraysIndirectCount(const Context *context, - GLenum mode, - const void *indirect, - GLintptr drawcount, - GLsizei maxdrawcount, - GLsizei stride); -bool ValidateMultiDrawElementsIndirectCount(const Context *context, - GLenum mode, - GLenum type, - const void *indirect, - GLintptr drawcount, - GLsizei maxdrawcount, - GLsizei stride); -bool ValidatePolygonOffsetClamp(const Context *context, - GLfloat factor, - GLfloat units, - GLfloat clamp); -bool ValidateSpecializeShader(const Context *context, - GLuint shader, - const GLchar *pEntryPoint, - GLuint numSpecializationConstants, - const GLuint *pConstantIndex, - const GLuint *pConstantValue); } // namespace gl #endif // LIBANGLE_VALIDATION_GL4_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libEGL/egl_loader_autogen.cpp b/gfx/angle/checkout/src/libEGL/egl_loader_autogen.cpp index f0d927b03dc5..fb97e3208337 100644 --- a/gfx/angle/checkout/src/libEGL/egl_loader_autogen.cpp +++ b/gfx/angle/checkout/src/libEGL/egl_loader_autogen.cpp @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by generate_loader.py using data from egl.xml and egl_angle_ext.xml. // -// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/libEGL/egl_loader_autogen.h b/gfx/angle/checkout/src/libEGL/egl_loader_autogen.h index cd2a90839226..7dba8dc9398c 100644 --- a/gfx/angle/checkout/src/libEGL/egl_loader_autogen.h +++ b/gfx/angle/checkout/src/libEGL/egl_loader_autogen.h @@ -1,7 +1,7 @@ // GENERATED FILE - DO NOT EDIT. // Generated by generate_loader.py using data from egl.xml and egl_angle_ext.xml. // -// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // diff --git a/gfx/angle/checkout/src/libEGL/libEGL_autogen.cpp b/gfx/angle/checkout/src/libEGL/libEGL.cpp similarity index 89% rename from gfx/angle/checkout/src/libEGL/libEGL_autogen.cpp rename to gfx/angle/checkout/src/libEGL/libEGL.cpp index 85b3ab9dbee0..c9ce935aaa3c 100644 --- a/gfx/angle/checkout/src/libEGL/libEGL_autogen.cpp +++ b/gfx/angle/checkout/src/libEGL/libEGL.cpp @@ -1,11 +1,10 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2002 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// libEGL_autogen.cpp: Implements the exported EGL functions. + +// libEGL.cpp: Implements the exported EGL functions. #include "anglebase/no_destructor.h" #include "common/system_utils.h" @@ -15,8 +14,8 @@ #if defined(ANGLE_USE_EGL_LOADER) # include "libEGL/egl_loader_autogen.h" #else -# include "libGLESv2/entry_points_egl_autogen.h" -# include "libGLESv2/entry_points_egl_ext_autogen.h" +# include "libGLESv2/entry_points_egl.h" +# include "libGLESv2/entry_points_egl_ext.h" #endif // defined(ANGLE_USE_EGL_LOADER) namespace @@ -26,8 +25,8 @@ bool gLoaded = false; std::unique_ptr &EntryPointsLib() { - static angle::base::NoDestructor> sEntryPointsLib; - return *sEntryPointsLib; + static angle::base::NoDestructor> entryPointsLib; + return *entryPointsLib; } angle::GenericProc KHRONOS_APIENTRY GlobalLoad(const char *symbol) @@ -38,9 +37,7 @@ angle::GenericProc KHRONOS_APIENTRY GlobalLoad(const char *symbol) void EnsureEGLLoaded() { if (gLoaded) - { return; - } EntryPointsLib().reset( angle::OpenSharedLibrary(ANGLE_GLESV2_LIBRARY_NAME, angle::SearchType::ApplicationDir)); @@ -61,7 +58,6 @@ void EnsureEGLLoaded() {} extern "C" { -// EGL 1.0 EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, @@ -145,7 +141,7 @@ EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, return EGL_GetConfigs(dpy, configs, config_size, num_config); } -EGLDisplay EGLAPIENTRY eglGetCurrentDisplay() +EGLDisplay EGLAPIENTRY eglGetCurrentDisplay(void) { EnsureEGLLoaded(); return EGL_GetCurrentDisplay(); @@ -163,18 +159,12 @@ EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id) return EGL_GetDisplay(display_id); } -EGLint EGLAPIENTRY eglGetError() +EGLint EGLAPIENTRY eglGetError(void) { EnsureEGLLoaded(); return EGL_GetError(); } -__eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress(const char *procname) -{ - EnsureEGLLoaded(); - return EGL_GetProcAddress(procname); -} - EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) { EnsureEGLLoaded(); @@ -226,7 +216,7 @@ EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy) return EGL_Terminate(dpy); } -EGLBoolean EGLAPIENTRY eglWaitGL() +EGLBoolean EGLAPIENTRY eglWaitGL(void) { EnsureEGLLoaded(); return EGL_WaitGL(); @@ -238,7 +228,6 @@ EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine) return EGL_WaitNative(engine); } -// EGL 1.1 EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) { EnsureEGLLoaded(); @@ -266,13 +255,18 @@ EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval) return EGL_SwapInterval(dpy, interval); } -// EGL 1.2 EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api) { EnsureEGLLoaded(); return EGL_BindAPI(api); } +EGLenum EGLAPIENTRY eglQueryAPI(void) +{ + EnsureEGLLoaded(); + return EGL_QueryAPI(); +} + EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, @@ -283,38 +277,51 @@ EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer(EGLDisplay dpy, return EGL_CreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); } -EGLenum EGLAPIENTRY eglQueryAPI() -{ - EnsureEGLLoaded(); - return EGL_QueryAPI(); -} - -EGLBoolean EGLAPIENTRY eglReleaseThread() +EGLBoolean EGLAPIENTRY eglReleaseThread(void) { EnsureEGLLoaded(); return EGL_ReleaseThread(); } -EGLBoolean EGLAPIENTRY eglWaitClient() +EGLBoolean EGLAPIENTRY eglWaitClient(void) { EnsureEGLLoaded(); return EGL_WaitClient(); } -// EGL 1.4 -EGLContext EGLAPIENTRY eglGetCurrentContext() +EGLContext EGLAPIENTRY eglGetCurrentContext(void) { EnsureEGLLoaded(); return EGL_GetCurrentContext(); } -// EGL 1.5 +EGLSync EGLAPIENTRY eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreateSync(dpy, type, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglDestroySync(EGLDisplay dpy, EGLSync sync) +{ + EnsureEGLLoaded(); + return EGL_DestroySync(dpy, sync); +} + EGLint EGLAPIENTRY eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) { EnsureEGLLoaded(); return EGL_ClientWaitSync(dpy, sync, flags, timeout); } +EGLBoolean EGLAPIENTRY eglGetSyncAttrib(EGLDisplay dpy, + EGLSync sync, + EGLint attribute, + EGLAttrib *value) +{ + EnsureEGLLoaded(); + return EGL_GetSyncAttrib(dpy, sync, attribute, value); +} + EGLImage EGLAPIENTRY eglCreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, @@ -325,13 +332,18 @@ EGLImage EGLAPIENTRY eglCreateImage(EGLDisplay dpy, return EGL_CreateImage(dpy, ctx, target, buffer, attrib_list); } -EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLAttrib *attrib_list) +EGLBoolean EGLAPIENTRY eglDestroyImage(EGLDisplay dpy, EGLImage image) { EnsureEGLLoaded(); - return EGL_CreatePlatformPixmapSurface(dpy, config, native_pixmap, attrib_list); + return EGL_DestroyImage(dpy, image); +} + +EGLDisplay EGLAPIENTRY eglGetPlatformDisplay(EGLenum platform, + void *native_display, + const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_GetPlatformDisplay(platform, native_display, attrib_list); } EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface(EGLDisplay dpy, @@ -343,39 +355,13 @@ EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurface(EGLDisplay dpy, return EGL_CreatePlatformWindowSurface(dpy, config, native_window, attrib_list); } -EGLSync EGLAPIENTRY eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list) +EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurface(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLAttrib *attrib_list) { EnsureEGLLoaded(); - return EGL_CreateSync(dpy, type, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglDestroyImage(EGLDisplay dpy, EGLImage image) -{ - EnsureEGLLoaded(); - return EGL_DestroyImage(dpy, image); -} - -EGLBoolean EGLAPIENTRY eglDestroySync(EGLDisplay dpy, EGLSync sync) -{ - EnsureEGLLoaded(); - return EGL_DestroySync(dpy, sync); -} - -EGLDisplay EGLAPIENTRY eglGetPlatformDisplay(EGLenum platform, - void *native_display, - const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_GetPlatformDisplay(platform, native_display, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglGetSyncAttrib(EGLDisplay dpy, - EGLSync sync, - EGLint attribute, - EGLAttrib *value) -{ - EnsureEGLLoaded(); - return EGL_GetSyncAttrib(dpy, sync, attribute, value); + return EGL_CreatePlatformPixmapSurface(dpy, config, native_pixmap, attrib_list); } EGLBoolean EGLAPIENTRY eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) @@ -384,7 +370,286 @@ EGLBoolean EGLAPIENTRY eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) return EGL_WaitSync(dpy, sync, flags); } -// EGL_ANDROID_blob_cache +EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint attribute, + void **value) +{ + EnsureEGLLoaded(); + return EGL_QuerySurfacePointerANGLE(dpy, surface, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglPostSubBufferNV(EGLDisplay dpy, + EGLSurface surface, + EGLint x, + EGLint y, + EGLint width, + EGLint height) +{ + EnsureEGLLoaded(); + return EGL_PostSubBufferNV(dpy, surface, x, y, width, height); +} + +EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT(EGLenum platform, + void *native_display, + const EGLint *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_GetPlatformDisplayEXT(platform, native_display, attrib_list); +} + +EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_window, + const EGLint *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreatePlatformWindowSurfaceEXT(dpy, config, native_window, attrib_list); +} + +EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLint *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreatePlatformPixmapSurfaceEXT(dpy, config, native_pixmap, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT(EGLDisplay dpy, EGLint attribute, EGLAttrib *value) +{ + EnsureEGLLoaded(); + return EGL_QueryDisplayAttribEXT(dpy, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglQueryDisplayAttribANGLE(EGLDisplay dpy, + EGLint attribute, + EGLAttrib *value) +{ + EnsureEGLLoaded(); + return EGL_QueryDisplayAttribANGLE(dpy, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT(EGLDeviceEXT device, + EGLint attribute, + EGLAttrib *value) +{ + EnsureEGLLoaded(); + return EGL_QueryDeviceAttribEXT(device, attribute, value); +} + +const char *EGLAPIENTRY eglQueryDeviceStringEXT(EGLDeviceEXT device, EGLint name) +{ + EnsureEGLLoaded(); + return EGL_QueryDeviceStringEXT(device, name); +} + +EGLImageKHR EGLAPIENTRY eglCreateImageKHR(EGLDisplay dpy, + EGLContext ctx, + EGLenum target, + EGLClientBuffer buffer, + const EGLint *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreateImageKHR(dpy, ctx, target, buffer, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) +{ + EnsureEGLLoaded(); + return EGL_DestroyImageKHR(dpy, image); +} + +EGLDeviceEXT EGLAPIENTRY eglCreateDeviceANGLE(EGLint device_type, + void *native_device, + const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreateDeviceANGLE(device_type, native_device, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglReleaseDeviceANGLE(EGLDeviceEXT device) +{ + EnsureEGLLoaded(); + return EGL_ReleaseDeviceANGLE(device); +} + +__eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress(const char *procname) +{ + EnsureEGLLoaded(); + return EGL_GetProcAddress(procname); +} + +EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreateStreamKHR(dpy, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + EnsureEGLLoaded(); + return EGL_DestroyStreamKHR(dpy, stream); +} + +EGLBoolean EGLAPIENTRY eglStreamAttribKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint value) +{ + EnsureEGLLoaded(); + return EGL_StreamAttribKHR(dpy, stream, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglQueryStreamKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint *value) +{ + EnsureEGLLoaded(); + return EGL_QueryStreamKHR(dpy, stream, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLuint64KHR *value) +{ + EnsureEGLLoaded(); + return EGL_QueryStreamu64KHR(dpy, stream, attribute, value); +} + +EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + EnsureEGLLoaded(); + return EGL_StreamConsumerGLTextureExternalKHR(dpy, stream); +} + +EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + EnsureEGLLoaded(); + return EGL_StreamConsumerAcquireKHR(dpy, stream); +} + +EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + EnsureEGLLoaded(); + return EGL_StreamConsumerReleaseKHR(dpy, stream); +} + +EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_StreamConsumerGLTextureExternalAttribsNV(dpy, stream, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_CreateStreamProducerD3DTextureANGLE(dpy, stream, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglStreamPostD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + void *texture, + const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_StreamPostD3DTextureANGLE(dpy, stream, texture, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglGetSyncValuesCHROMIUM(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR *ust, + EGLuint64KHR *msc, + EGLuint64KHR *sbc) +{ + EnsureEGLLoaded(); + return EGL_GetSyncValuesCHROMIUM(dpy, surface, ust, msc, sbc); +} + +EGLBoolean EGLAPIENTRY eglGetMscRateANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint *numerator, + EGLint *denominator) +{ + EnsureEGLLoaded(); + return EGL_GetMscRateANGLE(dpy, surface, numerator, denominator); +} + +EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR(EGLDisplay dpy, + EGLSurface surface, + EGLint *rects, + EGLint n_rects) +{ + EnsureEGLLoaded(); + return EGL_SwapBuffersWithDamageKHR(dpy, surface, rects, n_rects); +} + +EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLnsecsANDROID time) +{ + EnsureEGLLoaded(); + return EGL_PresentationTimeANDROID(dpy, surface, time); +} + +EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib) +{ + EnsureEGLLoaded(); + return EGL_ProgramCacheGetAttribANGLE(dpy, attrib); +} + +void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, + EGLint index, + void *key, + EGLint *keysize, + void *binary, + EGLint *binarysize) +{ + EGL_ProgramCacheQueryANGLE(dpy, index, key, keysize, binary, binarysize); +} + +void EGLAPIENTRY eglProgramCachePopulateANGLE(EGLDisplay dpy, + const void *key, + EGLint keysize, + const void *binary, + EGLint binarysize) +{ + EGL_ProgramCachePopulateANGLE(dpy, key, keysize, binary, binarysize); +} + +EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLenum mode) +{ + EnsureEGLLoaded(); + return EGL_ProgramCacheResizeANGLE(dpy, limit, mode); +} + +EGLint EGLAPIENTRY eglDebugMessageControlKHR(EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list) +{ + EnsureEGLLoaded(); + return EGL_DebugMessageControlKHR(callback, attrib_list); +} + +EGLBoolean EGLAPIENTRY eglQueryDebugKHR(EGLint attribute, EGLAttrib *value) +{ + EnsureEGLLoaded(); + return EGL_QueryDebugKHR(attribute, value); +} + +EGLint EGLAPIENTRY eglLabelObjectKHR(EGLDisplay dpy, + EGLenum objectType, + EGLObjectKHR object, + EGLLabelKHR label) +{ + EnsureEGLLoaded(); + return EGL_LabelObjectKHR(dpy, objectType, object, label); +} + void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get) @@ -393,14 +658,6 @@ void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, return EGL_SetBlobCacheFuncsANDROID(dpy, set, get); } -// EGL_ANDROID_create_native_client_buffer -EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID(const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreateNativeClientBufferANDROID(attrib_list); -} - -// EGL_ANDROID_get_frame_timestamps EGLBoolean EGLAPIENTRY eglGetCompositorTimingSupportedANDROID(EGLDisplay dpy, EGLSurface surface, EGLint name) @@ -446,141 +703,30 @@ EGLBoolean EGLAPIENTRY eglGetFrameTimestampsANDROID(EGLDisplay dpy, return EGL_GetFrameTimestampsANDROID(dpy, surface, frameId, numTimestamps, timestamps, values); } -// EGL_ANDROID_get_native_client_buffer -EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer) -{ - EnsureEGLLoaded(); - return EGL_GetNativeClientBufferANDROID(buffer); -} - -// EGL_ANDROID_native_fence_sync -EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) -{ - EnsureEGLLoaded(); - return EGL_DupNativeFenceFDANDROID(dpy, sync); -} - -// EGL_ANDROID_presentation_time -EGLBoolean EGLAPIENTRY eglPresentationTimeANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLnsecsANDROID time) -{ - EnsureEGLLoaded(); - return EGL_PresentationTimeANDROID(dpy, surface, time); -} - -// EGL_ANGLE_device_creation -EGLDeviceEXT EGLAPIENTRY eglCreateDeviceANGLE(EGLint device_type, - void *native_device, - const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreateDeviceANGLE(device_type, native_device, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglReleaseDeviceANGLE(EGLDeviceEXT device) -{ - EnsureEGLLoaded(); - return EGL_ReleaseDeviceANGLE(device); -} - -// EGL_ANGLE_feature_control const char *EGLAPIENTRY eglQueryStringiANGLE(EGLDisplay dpy, EGLint name, EGLint index) { EnsureEGLLoaded(); return EGL_QueryStringiANGLE(dpy, name, index); } -EGLBoolean EGLAPIENTRY eglQueryDisplayAttribANGLE(EGLDisplay dpy, - EGLint attribute, - EGLAttrib *value) +EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer) { EnsureEGLLoaded(); - return EGL_QueryDisplayAttribANGLE(dpy, attribute, value); + return EGL_GetNativeClientBufferANDROID(buffer); } -// EGL_ANGLE_power_preference -void EGLAPIENTRY eglReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) +EGLClientBuffer EGLAPIENTRY eglCreateNativeClientBufferANDROID(const EGLint *attrib_list) { EnsureEGLLoaded(); - return EGL_ReleaseHighPowerGPUANGLE(dpy, ctx); + return EGL_CreateNativeClientBufferANDROID(attrib_list); } -void EGLAPIENTRY eglReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) +EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) { EnsureEGLLoaded(); - return EGL_ReacquireHighPowerGPUANGLE(dpy, ctx); + return EGL_DupNativeFenceFDANDROID(dpy, sync); } -void EGLAPIENTRY eglHandleGPUSwitchANGLE(EGLDisplay dpy) -{ - EnsureEGLLoaded(); - return EGL_HandleGPUSwitchANGLE(dpy); -} - -// EGL_ANGLE_program_cache_control -EGLint EGLAPIENTRY eglProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib) -{ - EnsureEGLLoaded(); - return EGL_ProgramCacheGetAttribANGLE(dpy, attrib); -} - -void EGLAPIENTRY eglProgramCacheQueryANGLE(EGLDisplay dpy, - EGLint index, - void *key, - EGLint *keysize, - void *binary, - EGLint *binarysize) -{ - EnsureEGLLoaded(); - return EGL_ProgramCacheQueryANGLE(dpy, index, key, keysize, binary, binarysize); -} - -void EGLAPIENTRY eglProgramCachePopulateANGLE(EGLDisplay dpy, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize) -{ - EnsureEGLLoaded(); - return EGL_ProgramCachePopulateANGLE(dpy, key, keysize, binary, binarysize); -} - -EGLint EGLAPIENTRY eglProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLint mode) -{ - EnsureEGLLoaded(); - return EGL_ProgramCacheResizeANGLE(dpy, limit, mode); -} - -// EGL_ANGLE_query_surface_pointer -EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint attribute, - void **value) -{ - EnsureEGLLoaded(); - return EGL_QuerySurfacePointerANGLE(dpy, surface, attribute, value); -} - -// EGL_ANGLE_stream_producer_d3d_texture -EGLBoolean EGLAPIENTRY eglCreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreateStreamProducerD3DTextureANGLE(dpy, stream, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglStreamPostD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - void *texture, - const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_StreamPostD3DTextureANGLE(dpy, stream, texture, attrib_list); -} - -// EGL_ANGLE_swap_with_frame_token EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken) @@ -589,121 +735,26 @@ EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, return EGL_SwapBuffersWithFrameTokenANGLE(dpy, surface, frametoken); } -// EGL_ANGLE_sync_control_rate -EGLBoolean EGLAPIENTRY eglGetMscRateANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint *numerator, - EGLint *denominator) -{ - EnsureEGLLoaded(); - return EGL_GetMscRateANGLE(dpy, surface, numerator, denominator); -} - -// EGL_CHROMIUM_sync_control -EGLBoolean EGLAPIENTRY eglGetSyncValuesCHROMIUM(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR *ust, - EGLuint64KHR *msc, - EGLuint64KHR *sbc) -{ - EnsureEGLLoaded(); - return EGL_GetSyncValuesCHROMIUM(dpy, surface, ust, msc, sbc); -} - -// EGL_EXT_device_query -EGLBoolean EGLAPIENTRY eglQueryDeviceAttribEXT(EGLDeviceEXT device, - EGLint attribute, - EGLAttrib *value) -{ - EnsureEGLLoaded(); - return EGL_QueryDeviceAttribEXT(device, attribute, value); -} - -const char *EGLAPIENTRY eglQueryDeviceStringEXT(EGLDeviceEXT device, EGLint name) -{ - EnsureEGLLoaded(); - return EGL_QueryDeviceStringEXT(device, name); -} - -EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT(EGLDisplay dpy, EGLint attribute, EGLAttrib *value) -{ - EnsureEGLLoaded(); - return EGL_QueryDisplayAttribEXT(dpy, attribute, value); -} - -// EGL_EXT_platform_base -EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreatePlatformPixmapSurfaceEXT(dpy, config, native_pixmap, attrib_list); -} - -EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_window, - const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreatePlatformWindowSurfaceEXT(dpy, config, native_window, attrib_list); -} - -EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT(EGLenum platform, - void *native_display, - const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_GetPlatformDisplayEXT(platform, native_display, attrib_list); -} - -// EGL_KHR_debug -EGLint EGLAPIENTRY eglDebugMessageControlKHR(EGLDEBUGPROCKHR callback, const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_DebugMessageControlKHR(callback, attrib_list); -} - -EGLint EGLAPIENTRY eglLabelObjectKHR(EGLDisplay display, - EGLenum objectType, - EGLObjectKHR object, - EGLLabelKHR label) -{ - EnsureEGLLoaded(); - return EGL_LabelObjectKHR(display, objectType, object, label); -} - -EGLBoolean EGLAPIENTRY eglQueryDebugKHR(EGLint attribute, EGLAttrib *value) -{ - EnsureEGLLoaded(); - return EGL_QueryDebugKHR(attribute, value); -} - -// EGL_KHR_fence_sync -EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLint flags, - EGLTimeKHR timeout) -{ - EnsureEGLLoaded(); - return EGL_ClientWaitSyncKHR(dpy, sync, flags, timeout); -} - -EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) +EGLSync EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) { EnsureEGLLoaded(); return EGL_CreateSyncKHR(dpy, type, attrib_list); } -EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) +EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSync sync) { EnsureEGLLoaded(); return EGL_DestroySyncKHR(dpy, sync); } +EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) +{ + EnsureEGLLoaded(); + return EGL_ClientWaitSyncKHR(dpy, sync, flags, timeout); +} + EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, - EGLSyncKHR sync, + EGLSync sync, EGLint attribute, EGLint *value) { @@ -711,125 +762,16 @@ EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, return EGL_GetSyncAttribKHR(dpy, sync, attribute, value); } -// EGL_KHR_image -EGLImageKHR EGLAPIENTRY eglCreateImageKHR(EGLDisplay dpy, - EGLContext ctx, - EGLenum target, - EGLClientBuffer buffer, - const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreateImageKHR(dpy, ctx, target, buffer, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) -{ - EnsureEGLLoaded(); - return EGL_DestroyImageKHR(dpy, image); -} - -// EGL_KHR_reusable_sync -EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) -{ - EnsureEGLLoaded(); - return EGL_SignalSyncKHR(dpy, sync, mode); -} - -// EGL_KHR_stream -EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_CreateStreamKHR(dpy, attrib_list); -} - -EGLBoolean EGLAPIENTRY eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - EnsureEGLLoaded(); - return EGL_DestroyStreamKHR(dpy, stream); -} - -EGLBoolean EGLAPIENTRY eglQueryStreamKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint *value) -{ - EnsureEGLLoaded(); - return EGL_QueryStreamKHR(dpy, stream, attribute, value); -} - -EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLuint64KHR *value) -{ - EnsureEGLLoaded(); - return EGL_QueryStreamu64KHR(dpy, stream, attribute, value); -} - -EGLBoolean EGLAPIENTRY eglStreamAttribKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint value) -{ - EnsureEGLLoaded(); - return EGL_StreamAttribKHR(dpy, stream, attribute, value); -} - -// EGL_KHR_stream_consumer_gltexture -EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - EnsureEGLLoaded(); - return EGL_StreamConsumerAcquireKHR(dpy, stream); -} - -EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - EnsureEGLLoaded(); - return EGL_StreamConsumerGLTextureExternalKHR(dpy, stream); -} - -EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - EnsureEGLLoaded(); - return EGL_StreamConsumerReleaseKHR(dpy, stream); -} - -// EGL_KHR_swap_buffers_with_damage -EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR(EGLDisplay dpy, - EGLSurface surface, - const EGLint *rects, - EGLint n_rects) -{ - EnsureEGLLoaded(); - return EGL_SwapBuffersWithDamageKHR(dpy, surface, rects, n_rects); -} - -// EGL_KHR_wait_sync -EGLint EGLAPIENTRY eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) +EGLint EGLAPIENTRY eglWaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags) { EnsureEGLLoaded(); return EGL_WaitSyncKHR(dpy, sync, flags); } -// EGL_NV_post_sub_buffer -EGLBoolean EGLAPIENTRY eglPostSubBufferNV(EGLDisplay dpy, - EGLSurface surface, - EGLint x, - EGLint y, - EGLint width, - EGLint height) +EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSync sync, EGLenum mode) { EnsureEGLLoaded(); - return EGL_PostSubBufferNV(dpy, surface, x, y, width, height); -} - -// EGL_NV_stream_consumer_gltexture_yuv -EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list) -{ - EnsureEGLLoaded(); - return EGL_StreamConsumerGLTextureExternalAttribsNV(dpy, stream, attrib_list); + return EGL_SignalSyncKHR(dpy, sync, mode); } } // extern "C" diff --git a/gfx/angle/checkout/src/libEGL/libEGL.def b/gfx/angle/checkout/src/libEGL/libEGL.def new file mode 100644 index 000000000000..ca4ba6844b68 --- /dev/null +++ b/gfx/angle/checkout/src/libEGL/libEGL.def @@ -0,0 +1,95 @@ +LIBRARY libEGL +EXPORTS + eglBindAPI @14 + eglBindTexImage @20 + eglChooseConfig @7 + eglCopyBuffers @33 + eglCreateContext @23 + eglCreatePbufferFromClientBuffer @18 + eglCreatePbufferSurface @10 + eglCreatePixmapSurface @11 + eglCreateWindowSurface @9 + eglDestroyContext @24 + eglDestroySurface @12 + eglGetConfigAttrib @8 + eglGetConfigs @6 + eglGetCurrentContext @26 + eglGetCurrentDisplay @28 + eglGetCurrentSurface @27 + eglGetDisplay @2 + eglGetError @1 + eglGetProcAddress @34 + eglInitialize @3 + eglMakeCurrent @25 + eglQueryAPI @15 + eglQueryContext @29 + eglQueryString @5 + eglQuerySurface @13 + eglReleaseTexImage @21 + eglReleaseThread @17 + eglSurfaceAttrib @19 + eglSwapBuffers @32 + eglSwapInterval @22 + eglTerminate @4 + eglWaitClient @16 + eglWaitGL @30 + eglWaitNative @31 + + ; Extensions + eglGetPlatformDisplayEXT @35 + eglQuerySurfacePointerANGLE @36 + eglPostSubBufferNV @37 + eglQueryDisplayAttribEXT @48 + eglQueryDeviceAttribEXT @49 + eglQueryDeviceStringEXT @50 + eglCreateImageKHR @51 + eglDestroyImageKHR @52 + eglCreateDeviceANGLE @53 + eglReleaseDeviceANGLE @54 + eglCreateStreamKHR @55 + eglDestroyStreamKHR @56 + eglStreamAttribKHR @57 + eglQueryStreamKHR @58 + eglQueryStreamu64KHR @59 + eglStreamConsumerGLTextureExternalKHR @60 + eglStreamConsumerAcquireKHR @61 + eglStreamConsumerReleaseKHR @62 + eglStreamConsumerGLTextureExternalAttribsNV @63 + eglCreateStreamProducerD3DTextureANGLE @64 + eglStreamPostD3DTextureANGLE @65 + eglGetSyncValuesCHROMIUM @66 + eglSwapBuffersWithDamageKHR @67 + eglProgramCacheGetAttribANGLE @68 + eglProgramCachePopulateANGLE @69 + eglProgramCacheQueryANGLE @70 + eglProgramCacheResizeANGLE @71 + eglCreatePlatformWindowSurfaceEXT @72 + eglCreatePlatformPixmapSurfaceEXT @73 + eglPresentationTimeANDROID @74 + eglDebugMessageControlKHR @75 + eglQueryDebugKHR @76 + eglLabelObjectKHR @77 + eglSetBlobCacheFuncsANDROID @78 + eglQueryDisplayAttribANGLE @79 + eglQueryStringiANGLE @80 + eglGetNativeClientBufferANDROID @81 + eglDupNativeFenceFDANDROID @82 + eglGetMscRateANGLE @83 + eglCreateSyncKHR @84 + eglDestroySyncKHR @85 + eglClientWaitSyncKHR @86 + eglGetSyncAttribKHR @87 + eglWaitSyncKHR @88 + eglSignalSyncKHR @89 + + ; 1.5 entry points + eglCreateSync @38 + eglDestroySync @39 + eglClientWaitSync @40 + eglGetSyncAttrib @41 + eglCreateImage @42 + eglDestroyImage @43 + eglGetPlatformDisplay @44 + eglCreatePlatformWindowSurface @45 + eglCreatePlatformPixmapSurface @46 + eglWaitSync @47 diff --git a/gfx/angle/checkout/src/libEGL/libEGL_autogen.def b/gfx/angle/checkout/src/libEGL/libEGL_autogen.def deleted file mode 100644 index a6e664e5ddc5..000000000000 --- a/gfx/angle/checkout/src/libEGL/libEGL_autogen.def +++ /dev/null @@ -1,171 +0,0 @@ -; GENERATED FILE - DO NOT EDIT. -; Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. -; -; Copyright 2020 The ANGLE Project Authors. All rights reserved. -; Use of this source code is governed by a BSD-style license that can be -; found in the LICENSE file. -LIBRARY libEGL -EXPORTS - - ; EGL 1.0 - eglChooseConfig - eglCopyBuffers - eglCreateContext - eglCreatePbufferSurface - eglCreatePixmapSurface - eglCreateWindowSurface - eglDestroyContext - eglDestroySurface - eglGetConfigAttrib - eglGetConfigs - eglGetCurrentDisplay - eglGetCurrentSurface - eglGetDisplay - eglGetError - eglGetProcAddress - eglInitialize - eglMakeCurrent - eglQueryContext - eglQueryString - eglQuerySurface - eglSwapBuffers - eglTerminate - eglWaitGL - eglWaitNative - - ; EGL 1.1 - eglBindTexImage - eglReleaseTexImage - eglSurfaceAttrib - eglSwapInterval - - ; EGL 1.2 - eglBindAPI - eglCreatePbufferFromClientBuffer - eglQueryAPI - eglReleaseThread - eglWaitClient - - ; EGL 1.4 - eglGetCurrentContext - - ; EGL 1.5 - eglClientWaitSync - eglCreateImage - eglCreatePlatformPixmapSurface - eglCreatePlatformWindowSurface - eglCreateSync - eglDestroyImage - eglDestroySync - eglGetPlatformDisplay - eglGetSyncAttrib - eglWaitSync - - ; EGL_ANDROID_blob_cache - eglSetBlobCacheFuncsANDROID - - ; EGL_ANDROID_create_native_client_buffer - eglCreateNativeClientBufferANDROID - - ; EGL_ANDROID_get_frame_timestamps - eglGetCompositorTimingANDROID - eglGetCompositorTimingSupportedANDROID - eglGetFrameTimestampSupportedANDROID - eglGetFrameTimestampsANDROID - eglGetNextFrameIdANDROID - - ; EGL_ANDROID_get_native_client_buffer - eglGetNativeClientBufferANDROID - - ; EGL_ANDROID_native_fence_sync - eglDupNativeFenceFDANDROID - - ; EGL_ANDROID_presentation_time - eglPresentationTimeANDROID - - ; EGL_ANGLE_device_creation - eglCreateDeviceANGLE - eglReleaseDeviceANGLE - - ; EGL_ANGLE_feature_control - eglQueryDisplayAttribANGLE - eglQueryStringiANGLE - - ; EGL_ANGLE_power_preference - eglHandleGPUSwitchANGLE - eglReacquireHighPowerGPUANGLE - eglReleaseHighPowerGPUANGLE - - ; EGL_ANGLE_program_cache_control - eglProgramCacheGetAttribANGLE - eglProgramCachePopulateANGLE - eglProgramCacheQueryANGLE - eglProgramCacheResizeANGLE - - ; EGL_ANGLE_query_surface_pointer - eglQuerySurfacePointerANGLE - - ; EGL_ANGLE_stream_producer_d3d_texture - eglCreateStreamProducerD3DTextureANGLE - eglStreamPostD3DTextureANGLE - - ; EGL_ANGLE_swap_with_frame_token - eglSwapBuffersWithFrameTokenANGLE - - ; EGL_ANGLE_sync_control_rate - eglGetMscRateANGLE - - ; EGL_CHROMIUM_sync_control - eglGetSyncValuesCHROMIUM - - ; EGL_EXT_device_query - eglQueryDeviceAttribEXT - eglQueryDeviceStringEXT - eglQueryDisplayAttribEXT - - ; EGL_EXT_platform_base - eglCreatePlatformPixmapSurfaceEXT - eglCreatePlatformWindowSurfaceEXT - eglGetPlatformDisplayEXT - - ; EGL_KHR_debug - eglDebugMessageControlKHR - eglLabelObjectKHR - eglQueryDebugKHR - - ; EGL_KHR_fence_sync - eglClientWaitSyncKHR - eglCreateSyncKHR - eglDestroySyncKHR - eglGetSyncAttribKHR - - ; EGL_KHR_image - eglCreateImageKHR - eglDestroyImageKHR - - ; EGL_KHR_reusable_sync - eglSignalSyncKHR - - ; EGL_KHR_stream - eglCreateStreamKHR - eglDestroyStreamKHR - eglQueryStreamKHR - eglQueryStreamu64KHR - eglStreamAttribKHR - - ; EGL_KHR_stream_consumer_gltexture - eglStreamConsumerAcquireKHR - eglStreamConsumerGLTextureExternalKHR - eglStreamConsumerReleaseKHR - - ; EGL_KHR_swap_buffers_with_damage - eglSwapBuffersWithDamageKHR - - ; EGL_KHR_wait_sync - eglWaitSyncKHR - - ; EGL_NV_post_sub_buffer - eglPostSubBufferNV - - ; EGL_NV_stream_consumer_gltexture_yuv - eglStreamConsumerGLTextureExternalAttribsNV diff --git a/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs.cpp b/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs.cpp deleted file mode 100644 index dbc151c2e3f4..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs.cpp +++ /dev/null @@ -1,796 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// egl_ext_stubs.cpp: Stubs for EXT extension entry points. -// - -#include "libGLESv2/egl_ext_stubs_autogen.h" - -#include "libANGLE/Device.h" -#include "libANGLE/Display.h" -#include "libANGLE/EGLSync.h" -#include "libANGLE/Surface.h" -#include "libANGLE/Thread.h" -#include "libANGLE/queryutils.h" -#include "libANGLE/validationEGL.h" -#include "libGLESv2/global_state.h" - -namespace egl -{ -EGLint ClientWaitSyncKHR(Thread *thread, - Display *display, - Sync *syncObject, - EGLint flags, - EGLTimeKHR timeout) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", - GetDisplayIfValid(display), EGL_FALSE); - gl::Context *currentContext = thread->getContext(); - EGLint syncStatus = EGL_FALSE; - ANGLE_EGL_TRY_RETURN( - thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), - "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return syncStatus; -} - -EGLImageKHR CreateImageKHR(Thread *thread, - Display *display, - gl::Context *context, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", - GetDisplayIfValid(display), EGL_NO_IMAGE); - Image *image = nullptr; - ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), - "", GetDisplayIfValid(display), EGL_NO_IMAGE); - - thread->setSuccess(); - return static_cast(image); -} - -EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, const AttributeMap &attribMap) -{ - EGLClientBuffer eglClientBuffer = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - egl::Display::CreateNativeClientBuffer(attribMap, &eglClientBuffer), - "eglCreateNativeClientBufferANDROID", nullptr, nullptr); - - thread->setSuccess(); - return eglClientBuffer; -} - -EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, - Display *display, - Config *configPacked, - void *native_pixmap, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformPixmapSurfaceEXT", - GetDisplayIfValid(display), EGL_NO_SURFACE); - thread->setError(EGL_BAD_DISPLAY, "eglCreatePlatformPixmapSurfaceEXT", - GetDisplayIfValid(display), "CreatePlatformPixmapSurfaceEXT unimplemented."); - return EGL_NO_SURFACE; -} - -EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, - Display *display, - Config *configPacked, - void *native_window, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformWindowSurfaceEXT", - GetDisplayIfValid(display), EGL_NO_SURFACE); - thread->setError(EGL_BAD_DISPLAY, "eglCreatePlatformWindowSurfaceEXT", - GetDisplayIfValid(display), "CreatePlatformWindowSurfaceEXT unimplemented."); - return EGL_NO_SURFACE; -} - -EGLStreamKHR CreateStreamKHR(Thread *thread, Display *display, const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateStreamKHR", - GetDisplayIfValid(display), EGL_NO_STREAM_KHR); - Stream *stream; - ANGLE_EGL_TRY_RETURN(thread, display->createStream(attributes, &stream), "eglCreateStreamKHR", - GetDisplayIfValid(display), EGL_NO_STREAM_KHR); - - thread->setSuccess(); - return static_cast(stream); -} - -EGLSyncKHR CreateSyncKHR(Thread *thread, - Display *display, - EGLenum type, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateSyncKHR", - GetDisplayIfValid(display), EGL_NO_SYNC); - egl::Sync *syncObject = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - display->createSync(thread->getContext(), type, attributes, &syncObject), - "eglCreateSyncKHR", GetDisplayIfValid(display), EGL_NO_SYNC); - - thread->setSuccess(); - return static_cast(syncObject); -} - -EGLint DebugMessageControlKHR(Thread *thread, - EGLDEBUGPROCKHR callback, - const AttributeMap &attributes) -{ - Debug *debug = GetDebug(); - debug->setCallback(callback, attributes); - - thread->setSuccess(); - return EGL_SUCCESS; -} - -EGLBoolean DestroyImageKHR(Thread *thread, Display *display, Image *img) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyImageKHR", - GetDisplayIfValid(display), EGL_FALSE); - display->destroyImage(img); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean DestroyStreamKHR(Thread *thread, Display *display, Stream *streamObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyStreamKHR", - GetDisplayIfValid(display), EGL_FALSE); - display->destroyStream(streamObject); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean DestroySyncKHR(Thread *thread, Display *display, Sync *syncObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySync", - GetDisplayIfValid(display), EGL_FALSE); - display->destroySync(syncObject); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLint DupNativeFenceFDANDROID(Thread *thread, Display *display, Sync *syncObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDupNativeFenceFDANDROID", - GetDisplayIfValid(display), EGL_NO_NATIVE_FENCE_FD_ANDROID); - EGLint result = EGL_NO_NATIVE_FENCE_FD_ANDROID; - ANGLE_EGL_TRY_RETURN(thread, syncObject->dupNativeFenceFD(display, &result), - "eglDupNativeFenceFDANDROID", GetSyncIfValid(display, syncObject), - EGL_NO_NATIVE_FENCE_FD_ANDROID); - - thread->setSuccess(); - return result; -} - -EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer) -{ - thread->setSuccess(); - return egl::Display::GetNativeClientBuffer(buffer); -} - -EGLDisplay GetPlatformDisplayEXT(Thread *thread, - EGLenum platform, - void *native_display, - const AttributeMap &attribMap) -{ - if (platform == EGL_PLATFORM_ANGLE_ANGLE) - { - return egl::Display::GetDisplayFromNativeDisplay( - gl::bitCast(native_display), attribMap); - } - else if (platform == EGL_PLATFORM_DEVICE_EXT) - { - Device *eglDevice = static_cast(native_display); - return egl::Display::GetDisplayFromDevice(eglDevice, attribMap); - } - else - { - UNREACHABLE(); - return EGL_NO_DISPLAY; - } -} - -EGLBoolean GetSyncAttribKHR(Thread *thread, - Display *display, - Sync *syncObject, - EGLint attribute, - EGLint *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncAttrib", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, GetSyncAttrib(display, syncObject, attribute, value), - "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLint LabelObjectKHR(Thread *thread, - Display *display, - ObjectType objectTypePacked, - EGLObjectKHR object, - EGLLabelKHR label) -{ - LabeledObject *labeledObject = - GetLabeledObjectIfValid(thread, display, objectTypePacked, object); - ASSERT(labeledObject != nullptr); - labeledObject->setLabel(label); - - thread->setSuccess(); - return EGL_SUCCESS; -} - -EGLBoolean PostSubBufferNV(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint x, - EGLint y, - EGLint width, - EGLint height) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPostSubBufferNV", - GetDisplayIfValid(display), EGL_FALSE); - Error error = eglSurface->postSubBuffer(thread->getContext(), x, y, width, height); - if (error.isError()) - { - thread->setError(error, "eglPostSubBufferNV", GetSurfaceIfValid(display, eglSurface)); - return EGL_FALSE; - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean PresentationTimeANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - EGLnsecsANDROID time) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPresentationTimeANDROID", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->setPresentationTime(time), - "eglPresentationTimeANDROID", GetSurfaceIfValid(display, eglSurface), - EGL_FALSE); - - return EGL_TRUE; -} - -EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - CompositorTiming nameInternal) -{ - thread->setSuccess(); - return eglSurface->getSupportedCompositorTimings().test(nameInternal); -} - -EGLBoolean GetCompositorTimingANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint numTimestamps, - const EGLint *names, - EGLnsecsANDROID *values) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetCompositorTimingANDROIDD", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->getCompositorTiming(numTimestamps, names, values), - "eglGetCompositorTimingANDROIDD", GetSurfaceIfValid(display, eglSurface), - EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetNextFrameIdANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - EGLuint64KHR *frameId) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetNextFrameIdANDROID", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->getNextFrameId(frameId), "eglGetNextFrameIdANDROID", - GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - Timestamp timestampInternal) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryTimestampSupportedANDROID", - GetDisplayIfValid(display), EGL_FALSE); - thread->setSuccess(); - return eglSurface->getSupportedTimestamps().test(timestampInternal); -} - -EGLBoolean GetFrameTimestampsANDROID(Thread *thread, - Display *display, - Surface *eglSurface, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - EGLnsecsANDROID *values) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetFrameTimestampsANDROID", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN( - thread, eglSurface->getFrameTimestamps(frameId, numTimestamps, timestamps, values), - "eglGetFrameTimestampsANDROID", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value) -{ - Debug *debug = GetDebug(); - switch (attribute) - { - case EGL_DEBUG_MSG_CRITICAL_KHR: - case EGL_DEBUG_MSG_ERROR_KHR: - case EGL_DEBUG_MSG_WARN_KHR: - case EGL_DEBUG_MSG_INFO_KHR: - *value = debug->isMessageTypeEnabled(FromEGLenum(attribute)) ? EGL_TRUE - : EGL_FALSE; - break; - case EGL_DEBUG_CALLBACK_KHR: - *value = reinterpret_cast(debug->getCallback()); - break; - - default: - UNREACHABLE(); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean QueryDeviceAttribEXT(Thread *thread, Device *dev, EGLint attribute, EGLAttrib *value) -{ - ANGLE_EGL_TRY_RETURN(thread, dev->getAttribute(attribute, value), "eglQueryDeviceAttribEXT", - GetDeviceIfValid(dev), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -const char *QueryDeviceStringEXT(Thread *thread, Device *dev, EGLint name) -{ - egl::Display *owningDisplay = dev->getOwningDisplay(); - ANGLE_EGL_TRY_RETURN(thread, owningDisplay->prepareForCall(), "eglQueryDeviceStringEXT", - GetDisplayIfValid(owningDisplay), EGL_FALSE); - const char *result; - switch (name) - { - case EGL_EXTENSIONS: - result = dev->getExtensionString().c_str(); - break; - default: - thread->setError(EglBadDevice(), "eglQueryDeviceStringEXT", GetDeviceIfValid(dev)); - return nullptr; - } - - thread->setSuccess(); - return result; -} - -EGLBoolean QueryDisplayAttribEXT(Thread *thread, - Display *display, - EGLint attribute, - EGLAttrib *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribEXT", - GetDisplayIfValid(display), EGL_FALSE); - *value = display->queryAttrib(attribute); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean QueryStreamKHR(Thread *thread, - Display *display, - Stream *streamObject, - EGLenum attribute, - EGLint *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamKHR", - GetDisplayIfValid(display), EGL_FALSE); - switch (attribute) - { - case EGL_STREAM_STATE_KHR: - *value = streamObject->getState(); - break; - case EGL_CONSUMER_LATENCY_USEC_KHR: - *value = streamObject->getConsumerLatency(); - break; - case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: - *value = streamObject->getConsumerAcquireTimeout(); - break; - default: - UNREACHABLE(); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean QueryStreamu64KHR(Thread *thread, - Display *display, - Stream *streamObject, - EGLenum attribute, - EGLuint64KHR *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamu64KHR", - GetDisplayIfValid(display), EGL_FALSE); - switch (attribute) - { - case EGL_PRODUCER_FRAME_KHR: - *value = streamObject->getProducerFrame(); - break; - case EGL_CONSUMER_FRAME_KHR: - *value = streamObject->getConsumerFrame(); - break; - default: - UNREACHABLE(); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean QuerySurfacePointerANGLE(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint attribute, - void **value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurfacePointerANGLE", - GetDisplayIfValid(display), EGL_FALSE); - Error error = eglSurface->querySurfacePointerANGLE(attribute, value); - if (error.isError()) - { - thread->setError(error, "eglQuerySurfacePointerANGLE", - GetSurfaceIfValid(display, eglSurface)); - return EGL_FALSE; - } - - thread->setSuccess(); - return EGL_TRUE; -} - -void SetBlobCacheFuncsANDROID(Thread *thread, - Display *display, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglSetBlobCacheFuncsANDROID", - GetDisplayIfValid(display)); - thread->setSuccess(); - display->setBlobCacheFuncs(set, get); -} - -EGLBoolean SignalSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLenum mode) -{ - gl::Context *currentContext = thread->getContext(); - ANGLE_EGL_TRY_RETURN(thread, syncObject->signal(display, currentContext, mode), - "eglSignalSyncKHR", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamAttribKHR(Thread *thread, - Display *display, - Stream *streamObject, - EGLenum attribute, - EGLint value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamAttribKHR", - GetDisplayIfValid(display), EGL_FALSE); - switch (attribute) - { - case EGL_CONSUMER_LATENCY_USEC_KHR: - streamObject->setConsumerLatency(value); - break; - case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: - streamObject->setConsumerAcquireTimeout(value); - break; - default: - UNREACHABLE(); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamConsumerAcquireKHR(Thread *thread, Display *display, Stream *streamObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerAcquireKHR", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, streamObject->consumerAcquire(thread->getContext()), - "eglStreamConsumerAcquireKHR", GetStreamIfValid(display, streamObject), - EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread, - Display *display, - Stream *streamObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerGLTextureExternalKHR", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN( - thread, streamObject->createConsumerGLTextureExternal(AttributeMap(), thread->getContext()), - "eglStreamConsumerGLTextureExternalKHR", GetStreamIfValid(display, streamObject), - EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread, - Display *display, - Stream *streamObject, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), - "eglStreamConsumerGLTextureExternalAttribsNV", GetDisplayIfValid(display), - EGL_FALSE); - - gl::Context *context = gl::GetValidGlobalContext(); - ANGLE_EGL_TRY_RETURN(thread, streamObject->createConsumerGLTextureExternal(attributes, context), - "eglStreamConsumerGLTextureExternalAttribsNV", - GetStreamIfValid(display, streamObject), EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamConsumerReleaseKHR(Thread *thread, Display *display, Stream *streamObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerReleaseKHR", - GetDisplayIfValid(display), EGL_FALSE); - - gl::Context *context = gl::GetValidGlobalContext(); - ANGLE_EGL_TRY_RETURN(thread, streamObject->consumerRelease(context), - "eglStreamConsumerReleaseKHR", GetStreamIfValid(display, streamObject), - EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean SwapBuffersWithDamageKHR(Thread *thread, - Display *display, - Surface *eglSurface, - const EGLint *rects, - EGLint n_rects) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithDamageEXT", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->swapWithDamage(thread->getContext(), rects, n_rects), - "eglSwapBuffersWithDamageEXT", GetSurfaceIfValid(display, eglSurface), - EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLint WaitSyncKHR(Thread *thread, Display *display, Sync *syncObject, EGLint flags) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitSync", - GetDisplayIfValid(display), EGL_FALSE); - gl::Context *currentContext = thread->getContext(); - ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), - "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLDeviceEXT CreateDeviceANGLE(Thread *thread, - EGLint device_type, - void *native_device, - const EGLAttrib *attrib_list) -{ - Device *device = nullptr; - ANGLE_EGL_TRY_RETURN(thread, Device::CreateDevice(device_type, native_device, &device), - "eglCreateDeviceANGLE", GetThreadIfValid(thread), EGL_NO_DEVICE_EXT); - - thread->setSuccess(); - return device; -} - -EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *dev) -{ - SafeDelete(dev); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread, - Display *display, - Stream *streamObject, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), - "eglCreateStreamProducerD3DTextureANGLE", GetDisplayIfValid(display), - EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, streamObject->createProducerD3D11Texture(attributes), - "eglCreateStreamProducerD3DTextureANGLE", - GetStreamIfValid(display, streamObject), EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean StreamPostD3DTextureANGLE(Thread *thread, - Display *display, - Stream *streamObject, - void *texture, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamPostD3DTextureANGLE", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, streamObject->postD3D11Texture(texture, attributes), - "eglStreamPostD3DTextureANGLE", GetStreamIfValid(display, streamObject), - EGL_FALSE); - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetMscRateANGLE(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint *numerator, - EGLint *denominator) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetMscRateANGLE", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->getMscRate(numerator, denominator), - "eglGetMscRateANGLE", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetSyncValuesCHROMIUM(Thread *thread, - Display *display, - Surface *eglSurface, - EGLuint64KHR *ust, - EGLuint64KHR *msc, - EGLuint64KHR *sbc) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncValuesCHROMIUM", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->getSyncValues(ust, msc, sbc), - "eglGetSyncValuesCHROMIUM", GetSurfaceIfValid(display, eglSurface), - EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLint ProgramCacheGetAttribANGLE(Thread *thread, Display *display, EGLenum attrib) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheGetAttribANGLE", - GetDisplayIfValid(display), 0); - thread->setSuccess(); - return display->programCacheGetAttrib(attrib); -} - -void ProgramCacheQueryANGLE(Thread *thread, - Display *display, - EGLint index, - void *key, - EGLint *keysize, - void *binary, - EGLint *binarysize) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCacheQueryANGLE", - GetDisplayIfValid(display)); - ANGLE_EGL_TRY(thread, display->programCacheQuery(index, key, keysize, binary, binarysize), - "eglProgramCacheQueryANGLE", GetDisplayIfValid(display)); - - thread->setSuccess(); -} - -void ProgramCachePopulateANGLE(Thread *thread, - Display *display, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCachePopulateANGLE", - GetDisplayIfValid(display)); - ANGLE_EGL_TRY(thread, display->programCachePopulate(key, keysize, binary, binarysize), - "eglProgramCachePopulateANGLE", GetDisplayIfValid(display)); - - thread->setSuccess(); -} - -EGLint ProgramCacheResizeANGLE(Thread *thread, Display *display, EGLint limit, EGLint mode) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheResizeANGLE", - GetDisplayIfValid(display), 0); - thread->setSuccess(); - return display->programCacheResize(limit, mode); -} - -const char *QueryStringiANGLE(Thread *thread, Display *display, EGLint name, EGLint index) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStringiANGLE", - GetDisplayIfValid(display), nullptr); - thread->setSuccess(); - return display->queryStringi(name, index); -} - -EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread, - Display *display, - Surface *eglSurface, - EGLFrameTokenANGLE frametoken) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithFrameTokenANGLE", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->swapWithFrameToken(thread->getContext(), frametoken), - "eglSwapBuffersWithFrameTokenANGLE", GetDisplayIfValid(display), - EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -void ReleaseHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReleaseHighPowerGPUANGLE", - GetDisplayIfValid(display)); - ANGLE_EGL_TRY(thread, context->releaseHighPowerGPU(), "eglReleaseHighPowerGPUANGLE", - GetDisplayIfValid(display)); - - thread->setSuccess(); -} - -void ReacquireHighPowerGPUANGLE(Thread *thread, Display *display, gl::Context *context) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReacquireHighPowerGPUANGLE", - GetDisplayIfValid(display)); - ANGLE_EGL_TRY(thread, context->reacquireHighPowerGPU(), "eglReacquireHighPowerGPUANGLE", - GetDisplayIfValid(display)); - - thread->setSuccess(); -} - -void HandleGPUSwitchANGLE(Thread *thread, Display *display) -{ - ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglHandleGPUSwitchANGLE", - GetDisplayIfValid(display)); - ANGLE_EGL_TRY(thread, display->handleGPUSwitch(), "eglHandleGPUSwitchANGLE", - GetDisplayIfValid(display)); - - thread->setSuccess(); -} - -EGLBoolean QueryDisplayAttribANGLE(Thread *thread, - Display *display, - EGLint attribute, - EGLAttrib *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribEXT", - GetDisplayIfValid(display), EGL_FALSE); - *value = display->queryAttrib(attribute); - thread->setSuccess(); - return EGL_TRUE; -} -} // namespace egl diff --git a/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs_autogen.h b/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs_autogen.h deleted file mode 100644 index 435cfca69db1..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/egl_ext_stubs_autogen.h +++ /dev/null @@ -1,226 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// egl_ext_stubs_autogen.h: Stubs for EXT extension entry points. - -#ifndef LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ -#define LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ - -#include -#include - -#include "common/PackedEGLEnums_autogen.h" - -namespace gl -{ -class Context; -} // namespace gl - -namespace egl -{ -class AttributeMap; -class Device; -class Display; -class Image; -class Stream; -class Surface; -class Sync; -class Thread; -struct Config; - -EGLint ClientWaitSyncKHR(Thread *thread, - egl::Display *dpyPacked, - Sync *syncPacked, - EGLint flags, - EGLTimeKHR timeout); -EGLImageKHR CreateImageKHR(Thread *thread, - egl::Display *dpyPacked, - gl::Context *ctxPacked, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attrib_listPacked); -EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - void *native_pixmap, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - void *native_window, - const AttributeMap &attrib_listPacked); -EGLStreamKHR CreateStreamKHR(Thread *thread, - egl::Display *dpyPacked, - const AttributeMap &attrib_listPacked); -EGLSyncKHR CreateSyncKHR(Thread *thread, - egl::Display *dpyPacked, - EGLenum type, - const AttributeMap &attrib_listPacked); -EGLint DebugMessageControlKHR(Thread *thread, - EGLDEBUGPROCKHR callback, - const AttributeMap &attrib_listPacked); -EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked); -EGLBoolean DestroyStreamKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); -EGLBoolean DestroySyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); -EGLint DupNativeFenceFDANDROID(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); -EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer); -EGLDisplay GetPlatformDisplayEXT(Thread *thread, - EGLenum platform, - void *native_display, - const AttributeMap &attrib_listPacked); -EGLBoolean GetSyncAttribKHR(Thread *thread, - egl::Display *dpyPacked, - Sync *syncPacked, - EGLint attribute, - EGLint *value); -EGLint LabelObjectKHR(Thread *thread, - egl::Display *displayPacked, - ObjectType objectTypePacked, - EGLObjectKHR object, - EGLLabelKHR label); -EGLBoolean PostSubBufferNV(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint x, - EGLint y, - EGLint width, - EGLint height); -EGLBoolean PresentationTimeANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLnsecsANDROID time); -EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - CompositorTiming namePacked); -EGLBoolean GetCompositorTimingANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint numTimestamps, - const EGLint *names, - EGLnsecsANDROID *values); -EGLBoolean GetNextFrameIdANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLuint64KHR *frameId); -EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - Timestamp timestampPacked); -EGLBoolean GetFrameTimestampsANDROID(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - EGLnsecsANDROID *values); -EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value); -EGLBoolean QueryDeviceAttribEXT(Thread *thread, - Device *devicePacked, - EGLint attribute, - EGLAttrib *value); -const char *QueryDeviceStringEXT(Thread *thread, Device *devicePacked, EGLint name); -EGLBoolean QueryDisplayAttribEXT(Thread *thread, - egl::Display *dpyPacked, - EGLint attribute, - EGLAttrib *value); -EGLBoolean QueryStreamKHR(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - EGLenum attribute, - EGLint *value); -EGLBoolean QueryStreamu64KHR(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - EGLenum attribute, - EGLuint64KHR *value); -EGLBoolean QuerySurfacePointerANGLE(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint attribute, - void **value); -void SetBlobCacheFuncsANDROID(Thread *thread, - egl::Display *dpyPacked, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get); -EGLBoolean SignalSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLenum mode); -EGLBoolean StreamAttribKHR(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - EGLenum attribute, - EGLint value); -EGLBoolean StreamConsumerAcquireKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); -EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked); -EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - const AttributeMap &attrib_listPacked); -EGLBoolean StreamConsumerReleaseKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); -EGLBoolean SwapBuffersWithDamageKHR(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - const EGLint *rects, - EGLint n_rects); -EGLint WaitSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags); -EGLDeviceEXT CreateDeviceANGLE(Thread *thread, - EGLint device_type, - void *native_device, - const EGLAttrib *attrib_list); -EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *devicePacked); -EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - const AttributeMap &attrib_listPacked); -EGLBoolean StreamPostD3DTextureANGLE(Thread *thread, - egl::Display *dpyPacked, - Stream *streamPacked, - void *texture, - const AttributeMap &attrib_listPacked); -EGLBoolean GetMscRateANGLE(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint *numerator, - EGLint *denominator); -EGLBoolean GetSyncValuesCHROMIUM(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLuint64KHR *ust, - EGLuint64KHR *msc, - EGLuint64KHR *sbc); -EGLint ProgramCacheGetAttribANGLE(Thread *thread, egl::Display *dpyPacked, EGLenum attrib); -void ProgramCacheQueryANGLE(Thread *thread, - egl::Display *dpyPacked, - EGLint index, - void *key, - EGLint *keysize, - void *binary, - EGLint *binarysize); -void ProgramCachePopulateANGLE(Thread *thread, - egl::Display *dpyPacked, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize); -EGLint ProgramCacheResizeANGLE(Thread *thread, egl::Display *dpyPacked, EGLint limit, EGLint mode); -const char *QueryStringiANGLE(Thread *thread, egl::Display *dpyPacked, EGLint name, EGLint index); -EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLFrameTokenANGLE frametoken); -void ReleaseHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked); -void ReacquireHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked); -void HandleGPUSwitchANGLE(Thread *thread, egl::Display *dpyPacked); -EGLBoolean QueryDisplayAttribANGLE(Thread *thread, - egl::Display *dpyPacked, - EGLint attribute, - EGLAttrib *value); -} // namespace egl -#endif // LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/egl_stubs.cpp b/gfx/angle/checkout/src/libGLESv2/egl_stubs.cpp deleted file mode 100644 index 4b062a9c1452..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/egl_stubs.cpp +++ /dev/null @@ -1,767 +0,0 @@ -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// egl_stubs.cpp: Stubs for EGL entry points. -// - -#include "libGLESv2/egl_stubs_autogen.h" - -#include "common/version.h" -#include "libANGLE/Context.h" -#include "libANGLE/Display.h" -#include "libANGLE/EGLSync.h" -#include "libANGLE/Surface.h" -#include "libANGLE/Thread.h" -#include "libANGLE/queryutils.h" -#include "libANGLE/validationEGL.h" -#include "libGLESv2/global_state.h" -#include "libGLESv2/proc_table_egl.h" - -namespace egl -{ -namespace -{ -bool CompareProc(const ProcEntry &a, const char *b) -{ - return strcmp(a.first, b) < 0; -} - -void ClipConfigs(const std::vector &filteredConfigs, - EGLConfig *outputConfigs, - EGLint configSize, - EGLint *numConfigs) -{ - EGLint resultSize = static_cast(filteredConfigs.size()); - if (outputConfigs) - { - resultSize = std::max(std::min(resultSize, configSize), 0); - for (EGLint i = 0; i < resultSize; i++) - { - outputConfigs[i] = const_cast(filteredConfigs[i]); - } - } - *numConfigs = resultSize; -} -} // anonymous namespace - -EGLBoolean BindAPI(Thread *thread, EGLenum api) -{ - thread->setAPI(api); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", - GetDisplayIfValid(display), EGL_FALSE); - - gl::Context *context = thread->getContext(); - if (context) - { - gl::TextureType type = - egl_gl::EGLTextureTargetToTextureType(eglSurface->getTextureTarget()); - gl::Texture *textureObject = context->getTextureByType(type); - ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), - "eglBindTexImage", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean ChooseConfig(Thread *thread, - Display *display, - const AttributeMap &attribMap, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config) -{ - ClipConfigs(display->chooseConfig(attribMap), configs, config_size, num_config); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLint ClientWaitSync(Thread *thread, - Display *display, - Sync *syncObject, - EGLint flags, - EGLTime timeout) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", - GetDisplayIfValid(display), EGL_FALSE); - gl::Context *currentContext = thread->getContext(); - EGLint syncStatus = EGL_FALSE; - ANGLE_EGL_TRY_RETURN( - thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), - "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return syncStatus; -} - -EGLBoolean CopyBuffers(Thread *thread, - Display *display, - Surface *eglSurface, - EGLNativePixmapType target) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCopyBuffers", - GetDisplayIfValid(display), EGL_FALSE); - UNIMPLEMENTED(); // FIXME - - thread->setSuccess(); - return 0; -} - -EGLContext CreateContext(Thread *thread, - Display *display, - Config *configuration, - gl::Context *sharedGLContext, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateContext", - GetDisplayIfValid(display), EGL_NO_CONTEXT); - gl::Context *context = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - display->createContext(configuration, sharedGLContext, thread->getAPI(), - attributes, &context), - "eglCreateContext", GetDisplayIfValid(display), EGL_NO_CONTEXT); - - thread->setSuccess(); - return static_cast(context); -} - -EGLImage CreateImage(Thread *thread, - Display *display, - gl::Context *context, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImage", - GetDisplayIfValid(display), EGL_FALSE); - - Image *image = nullptr; - Error error = display->createImage(context, target, buffer, attributes, &image); - if (error.isError()) - { - thread->setError(error, "eglCreateImage", GetDisplayIfValid(display)); - return EGL_NO_IMAGE; - } - - thread->setSuccess(); - return static_cast(image); -} - -EGLSurface CreatePbufferFromClientBuffer(Thread *thread, - Display *display, - EGLenum buftype, - EGLClientBuffer buffer, - Config *configuration, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePbufferFromClientBuffer", - GetDisplayIfValid(display), EGL_NO_SURFACE); - Surface *surface = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - display->createPbufferFromClientBuffer(configuration, buftype, buffer, - attributes, &surface), - "eglCreatePbufferFromClientBuffer", GetDisplayIfValid(display), - EGL_NO_SURFACE); - - return static_cast(surface); -} - -EGLSurface CreatePbufferSurface(Thread *thread, - Display *display, - Config *configuration, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePbufferSurface", - GetDisplayIfValid(display), EGL_NO_SURFACE); - Surface *surface = nullptr; - ANGLE_EGL_TRY_RETURN(thread, display->createPbufferSurface(configuration, attributes, &surface), - "eglCreatePbufferSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); - - return static_cast(surface); -} - -EGLSurface CreatePixmapSurface(Thread *thread, - Display *display, - Config *configuration, - EGLNativePixmapType pixmap, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePixmapSurface", - GetDisplayIfValid(display), EGL_NO_SURFACE); - Surface *surface = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - display->createPixmapSurface(configuration, pixmap, attributes, &surface), - "eglCreatePixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); - - thread->setSuccess(); - return static_cast(surface); -} - -EGLSurface CreatePlatformPixmapSurface(Thread *thread, - Display *display, - Config *configuration, - void *pixmap, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformPixmapSurface", - GetDisplayIfValid(display), EGL_NO_SURFACE); - Surface *surface = nullptr; - EGLNativePixmapType nativePixmap = reinterpret_cast(pixmap); - ANGLE_EGL_TRY_RETURN( - thread, display->createPixmapSurface(configuration, nativePixmap, attributes, &surface), - "eglCreatePlatformPixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); - - thread->setSuccess(); - return static_cast(surface); -} - -EGLSurface CreatePlatformWindowSurface(Thread *thread, - Display *display, - Config *configuration, - void *win, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformWindowSurface", - GetDisplayIfValid(display), EGL_NO_SURFACE); - Surface *surface = nullptr; - EGLNativeWindowType nativeWindow = reinterpret_cast(win); - ANGLE_EGL_TRY_RETURN( - thread, display->createWindowSurface(configuration, nativeWindow, attributes, &surface), - "eglPlatformCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); - - return static_cast(surface); -} - -EGLSync CreateSync(Thread *thread, Display *display, EGLenum type, const AttributeMap &attributes) -{ - gl::Context *currentContext = thread->getContext(); - - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateSync", - GetDisplayIfValid(display), EGL_FALSE); - Sync *syncObject = nullptr; - ANGLE_EGL_TRY_RETURN(thread, display->createSync(currentContext, type, attributes, &syncObject), - "eglCreateSync", GetDisplayIfValid(display), EGL_NO_SYNC); - - thread->setSuccess(); - return static_cast(syncObject); -} - -EGLSurface CreateWindowSurface(Thread *thread, - Display *display, - Config *configuration, - EGLNativeWindowType win, - const AttributeMap &attributes) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateWindowSurface", - GetDisplayIfValid(display), EGL_NO_SURFACE); - - Surface *surface = nullptr; - ANGLE_EGL_TRY_RETURN(thread, - display->createWindowSurface(configuration, win, attributes, &surface), - "eglCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); - - return static_cast(surface); -} - -EGLBoolean DestroyContext(Thread *thread, Display *display, gl::Context *context) -{ - - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyContext", - GetDisplayIfValid(display), EGL_FALSE); - - gl::Context *contextForThread = thread->getContext(); - bool contextWasCurrent = context == contextForThread; - - bool shouldMakeCurrent = - !contextWasCurrent && !context->isExternal() && context->getRefCount() <= 1; - - // Display can't access the current global context, but does exhibit a context switch, - // so ensuring the current global context is correct needs to happen here. - Surface *currentDrawSurface = thread->getCurrentDrawSurface(); - Surface *currentReadSurface = thread->getCurrentReadSurface(); - - if (shouldMakeCurrent) - { - SetContextCurrent(thread, context); - } - - ANGLE_EGL_TRY_RETURN( - thread, - display->destroyContextWithSurfaces(thread, context, contextForThread, currentDrawSurface, - currentReadSurface), - "eglDestroyContext", GetContextIfValid(display, context), EGL_FALSE); - - if (contextWasCurrent) - { - ANGLE_EGL_TRY_RETURN(thread, display->makeCurrent(context, nullptr, nullptr, nullptr), - "eglDestroyContext", GetContextIfValid(display, context), EGL_FALSE); - SetContextCurrent(thread, nullptr); - } - else if (shouldMakeCurrent) - { - SetContextCurrent(thread, contextForThread); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean DestroyImage(Thread *thread, Display *display, Image *img) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyImage", - GetDisplayIfValid(display), EGL_FALSE); - display->destroyImage(img); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean DestroySurface(Thread *thread, Display *display, Surface *eglSurface) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySurface", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, display->destroySurface(eglSurface), "eglDestroySurface", - GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean DestroySync(Thread *thread, Display *display, Sync *syncObject) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySync", - GetDisplayIfValid(display), EGL_FALSE); - display->destroySync(syncObject); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetConfigAttrib(Thread *thread, - Display *display, - Config *configuration, - EGLint attribute, - EGLint *value) -{ - QueryConfigAttrib(configuration, attribute, value); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean GetConfigs(Thread *thread, - Display *display, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config) -{ - ClipConfigs(display->getConfigs(AttributeMap()), configs, config_size, num_config); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLContext GetCurrentContext(Thread *thread) -{ - gl::Context *context = thread->getContext(); - - thread->setSuccess(); - return static_cast(context); -} - -EGLDisplay GetCurrentDisplay(Thread *thread) -{ - thread->setSuccess(); - if (thread->getContext() != nullptr) - { - return thread->getContext()->getDisplay(); - } - return EGL_NO_DISPLAY; -} - -EGLSurface GetCurrentSurface(Thread *thread, EGLint readdraw) -{ - if (readdraw == EGL_READ) - { - thread->setSuccess(); - return thread->getCurrentReadSurface(); - } - else if (readdraw == EGL_DRAW) - { - thread->setSuccess(); - return thread->getCurrentDrawSurface(); - } - else - { - thread->setError(EglBadParameter(), "eglGetCurrentSurface", nullptr); - return EGL_NO_SURFACE; - } -} - -EGLDisplay GetDisplay(Thread *thread, EGLNativeDisplayType display_id) -{ - return Display::GetDisplayFromNativeDisplay(display_id, AttributeMap()); -} - -EGLint GetError(Thread *thread) -{ - EGLint error = thread->getError(); - thread->setSuccess(); - return error; -} - -EGLDisplay GetPlatformDisplay(Thread *thread, - EGLenum platform, - void *native_display, - const AttributeMap &attribMap) -{ - if (platform == EGL_PLATFORM_ANGLE_ANGLE) - { - return Display::GetDisplayFromNativeDisplay( - gl::bitCast(native_display), attribMap); - } - else if (platform == EGL_PLATFORM_DEVICE_EXT) - { - Device *eglDevice = static_cast(native_display); - return Display::GetDisplayFromDevice(eglDevice, attribMap); - } - else - { - UNREACHABLE(); - return EGL_NO_DISPLAY; - } -} - -__eglMustCastToProperFunctionPointerType GetProcAddress(Thread *thread, const char *procname) -{ - const ProcEntry *entry = - std::lower_bound(&g_procTable[0], &g_procTable[g_numProcs], procname, CompareProc); - - thread->setSuccess(); - - if (entry == &g_procTable[g_numProcs] || strcmp(entry->first, procname) != 0) - { - return nullptr; - } - - return entry->second; -} - -EGLBoolean GetSyncAttrib(Thread *thread, - Display *display, - Sync *syncObject, - EGLint attribute, - EGLAttrib *value) -{ - EGLint valueExt; - ANGLE_EGL_TRY_RETURN(thread, GetSyncAttrib(display, syncObject, attribute, &valueExt), - "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); - *value = valueExt; - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean Initialize(Thread *thread, Display *display, EGLint *major, EGLint *minor) -{ - ANGLE_EGL_TRY_RETURN(thread, display->initialize(), "eglInitialize", GetDisplayIfValid(display), - EGL_FALSE); - - if (major) - *major = 1; - if (minor) - *minor = 5; - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean MakeCurrent(Thread *thread, - Display *display, - Surface *drawSurface, - Surface *readSurface, - gl::Context *context) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglMakeCurrent", - GetDisplayIfValid(display), EGL_FALSE); - Surface *previousDraw = thread->getCurrentDrawSurface(); - Surface *previousRead = thread->getCurrentReadSurface(); - gl::Context *previousContext = thread->getContext(); - - // Only call makeCurrent if the context or surfaces have changed. - if (previousDraw != drawSurface || previousRead != readSurface || previousContext != context) - { - ANGLE_EGL_TRY_RETURN( - thread, display->makeCurrent(previousContext, drawSurface, readSurface, context), - "eglMakeCurrent", GetContextIfValid(display, context), EGL_FALSE); - SetContextCurrent(thread, context); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLenum QueryAPI(Thread *thread) -{ - EGLenum API = thread->getAPI(); - - thread->setSuccess(); - return API; -} - -EGLBoolean QueryContext(Thread *thread, - Display *display, - gl::Context *context, - EGLint attribute, - EGLint *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryContext", - GetDisplayIfValid(display), EGL_FALSE); - QueryContextAttrib(context, attribute, value); - - thread->setSuccess(); - return EGL_TRUE; -} - -const char *QueryString(Thread *thread, Display *display, EGLint name) -{ - if (display) - { - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryString", - GetDisplayIfValid(display), nullptr); - } - - const char *result = nullptr; - switch (name) - { - case EGL_CLIENT_APIS: - result = "OpenGL_ES"; - break; - case EGL_EXTENSIONS: - if (display == EGL_NO_DISPLAY) - { - result = Display::GetClientExtensionString().c_str(); - } - else - { - result = display->getExtensionString().c_str(); - } - break; - case EGL_VENDOR: - result = display->getVendorString().c_str(); - break; - case EGL_VERSION: - result = "1.5 (ANGLE " ANGLE_VERSION_STRING ")"; - break; - default: - UNREACHABLE(); - break; - } - - thread->setSuccess(); - return result; -} - -EGLBoolean QuerySurface(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint attribute, - EGLint *value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurface", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN( - thread, QuerySurfaceAttrib(display, thread->getContext(), eglSurface, attribute, value), - "eglQuerySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean ReleaseTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglReleaseTexImage", - GetDisplayIfValid(display), EGL_FALSE); - gl::Texture *texture = eglSurface->getBoundTexture(); - - if (texture) - { - ANGLE_EGL_TRY_RETURN(thread, eglSurface->releaseTexImage(thread->getContext(), buffer), - "eglReleaseTexImage", GetSurfaceIfValid(display, eglSurface), - EGL_FALSE); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean ReleaseThread(Thread *thread) -{ - Surface *previousDraw = thread->getCurrentDrawSurface(); - Surface *previousRead = thread->getCurrentReadSurface(); - gl::Context *previousContext = thread->getContext(); - Display *previousDisplay = thread->getDisplay(); - - if (previousDisplay != EGL_NO_DISPLAY) - { - ANGLE_EGL_TRY_RETURN(thread, previousDisplay->prepareForCall(), "eglReleaseThread", - GetDisplayIfValid(previousDisplay), EGL_FALSE); - // Only call makeCurrent if the context or surfaces have changed. - if (previousDraw != EGL_NO_SURFACE || previousRead != EGL_NO_SURFACE || - previousContext != EGL_NO_CONTEXT) - { - ANGLE_EGL_TRY_RETURN( - thread, previousDisplay->makeCurrent(previousContext, nullptr, nullptr, nullptr), - "eglReleaseThread", nullptr, EGL_FALSE); - } - ANGLE_EGL_TRY_RETURN(thread, previousDisplay->releaseThread(), "eglReleaseThread", - GetDisplayIfValid(previousDisplay), EGL_FALSE); - SetContextCurrent(thread, nullptr); - } - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean SurfaceAttrib(Thread *thread, - Display *display, - Surface *eglSurface, - EGLint attribute, - EGLint value) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSurfaceAttrib", - GetDisplayIfValid(display), EGL_FALSE); - SetSurfaceAttrib(eglSurface, attribute, value); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean SwapBuffers(Thread *thread, Display *display, Surface *eglSurface) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffers", - GetDisplayIfValid(display), EGL_FALSE); - - ANGLE_EGL_TRY_RETURN(thread, eglSurface->swap(thread->getContext()), "eglSwapBuffers", - GetSurfaceIfValid(display, eglSurface), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean SwapInterval(Thread *thread, Display *display, EGLint interval) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapInterval", - GetDisplayIfValid(display), EGL_FALSE); - - Surface *drawSurface = static_cast(thread->getCurrentDrawSurface()); - const Config *surfaceConfig = drawSurface->getConfig(); - EGLint clampedInterval = std::min(std::max(interval, surfaceConfig->minSwapInterval), - surfaceConfig->maxSwapInterval); - - drawSurface->setSwapInterval(clampedInterval); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean Terminate(Thread *thread, Display *display) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglTerminate", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, - display->makeCurrent(thread->getContext(), nullptr, nullptr, nullptr), - "eglTerminate", GetDisplayIfValid(display), EGL_FALSE); - SetContextCurrent(thread, nullptr); - ANGLE_EGL_TRY_RETURN(thread, display->terminate(thread), "eglTerminate", - GetDisplayIfValid(display), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean WaitClient(Thread *thread) -{ - Display *display = thread->getDisplay(); - if (display == nullptr) - { - // EGL spec says this about eglWaitClient - - // If there is no current context for the current rendering API, - // the function has no effect but still returns EGL_TRUE. - return EGL_TRUE; - } - - gl::Context *context = thread->getContext(); - - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitClient", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, display->waitClient(context), "eglWaitClient", - GetContextIfValid(display, context), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean WaitGL(Thread *thread) -{ - Display *display = thread->getDisplay(); - if (display == nullptr) - { - // EGL spec says this about eglWaitGL - - // eglWaitGL is ignored if there is no current EGL rendering context for OpenGL ES. - return EGL_TRUE; - } - - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitGL", GetDisplayIfValid(display), - EGL_FALSE); - - // eglWaitGL like calling eglWaitClient with the OpenGL ES API bound. Since we only implement - // OpenGL ES we can do the call directly. - ANGLE_EGL_TRY_RETURN(thread, display->waitClient(thread->getContext()), "eglWaitGL", - GetDisplayIfValid(display), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean WaitNative(Thread *thread, EGLint engine) -{ - Display *display = thread->getDisplay(); - if (display == nullptr) - { - // EGL spec says this about eglWaitNative - - // eglWaitNative is ignored if there is no current EGL rendering context. - return EGL_TRUE; - } - - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitNative", - GetDisplayIfValid(display), EGL_FALSE); - ANGLE_EGL_TRY_RETURN(thread, display->waitNative(thread->getContext(), engine), "eglWaitNative", - GetThreadIfValid(thread), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} - -EGLBoolean WaitSync(Thread *thread, Display *display, Sync *syncObject, EGLint flags) -{ - ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitSync", - GetDisplayIfValid(display), EGL_FALSE); - gl::Context *currentContext = thread->getContext(); - ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), - "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); - - thread->setSuccess(); - return EGL_TRUE; -} -} // namespace egl diff --git a/gfx/angle/checkout/src/libGLESv2/egl_stubs_autogen.h b/gfx/angle/checkout/src/libGLESv2/egl_stubs_autogen.h deleted file mode 100644 index 6d7d210d9d2c..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/egl_stubs_autogen.h +++ /dev/null @@ -1,165 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// egl_stubs_autogen.h: Stubs for EGL entry points. - -#ifndef LIBGLESV2_EGL_STUBS_AUTOGEN_H_ -#define LIBGLESV2_EGL_STUBS_AUTOGEN_H_ - -#include -#include - -#include "common/PackedEGLEnums_autogen.h" - -namespace gl -{ -class Context; -} // namespace gl - -namespace egl -{ -class AttributeMap; -class Device; -class Display; -class Image; -class Stream; -class Surface; -class Sync; -class Thread; -struct Config; - -EGLBoolean BindAPI(Thread *thread, EGLenum api); -EGLBoolean BindTexImage(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint buffer); -EGLBoolean ChooseConfig(Thread *thread, - egl::Display *dpyPacked, - const AttributeMap &attrib_listPacked, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config); -EGLint ClientWaitSync(Thread *thread, - egl::Display *dpyPacked, - Sync *syncPacked, - EGLint flags, - EGLTime timeout); -EGLBoolean CopyBuffers(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLNativePixmapType target); -EGLContext CreateContext(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - gl::Context *share_contextPacked, - const AttributeMap &attrib_listPacked); -EGLImage CreateImage(Thread *thread, - egl::Display *dpyPacked, - gl::Context *ctxPacked, - EGLenum target, - EGLClientBuffer buffer, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePbufferFromClientBuffer(Thread *thread, - egl::Display *dpyPacked, - EGLenum buftype, - EGLClientBuffer buffer, - Config *configPacked, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePbufferSurface(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePixmapSurface(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - EGLNativePixmapType pixmap, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePlatformPixmapSurface(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - void *native_pixmap, - const AttributeMap &attrib_listPacked); -EGLSurface CreatePlatformWindowSurface(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - void *native_window, - const AttributeMap &attrib_listPacked); -EGLSync CreateSync(Thread *thread, - egl::Display *dpyPacked, - EGLenum type, - const AttributeMap &attrib_listPacked); -EGLSurface CreateWindowSurface(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - EGLNativeWindowType win, - const AttributeMap &attrib_listPacked); -EGLBoolean DestroyContext(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked); -EGLBoolean DestroyImage(Thread *thread, egl::Display *dpyPacked, Image *imagePacked); -EGLBoolean DestroySurface(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked); -EGLBoolean DestroySync(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); -EGLBoolean GetConfigAttrib(Thread *thread, - egl::Display *dpyPacked, - Config *configPacked, - EGLint attribute, - EGLint *value); -EGLBoolean GetConfigs(Thread *thread, - egl::Display *dpyPacked, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config); -EGLContext GetCurrentContext(Thread *thread); -EGLDisplay GetCurrentDisplay(Thread *thread); -EGLSurface GetCurrentSurface(Thread *thread, EGLint readdraw); -EGLDisplay GetDisplay(Thread *thread, EGLNativeDisplayType display_id); -EGLint GetError(Thread *thread); -EGLDisplay GetPlatformDisplay(Thread *thread, - EGLenum platform, - void *native_display, - const AttributeMap &attrib_listPacked); -__eglMustCastToProperFunctionPointerType GetProcAddress(Thread *thread, const char *procname); -EGLBoolean GetSyncAttrib(Thread *thread, - egl::Display *dpyPacked, - Sync *syncPacked, - EGLint attribute, - EGLAttrib *value); -EGLBoolean Initialize(Thread *thread, egl::Display *dpyPacked, EGLint *major, EGLint *minor); -EGLBoolean MakeCurrent(Thread *thread, - egl::Display *dpyPacked, - Surface *drawPacked, - Surface *readPacked, - gl::Context *ctxPacked); -EGLenum QueryAPI(Thread *thread); -EGLBoolean QueryContext(Thread *thread, - egl::Display *dpyPacked, - gl::Context *ctxPacked, - EGLint attribute, - EGLint *value); -const char *QueryString(Thread *thread, egl::Display *dpyPacked, EGLint name); -EGLBoolean QuerySurface(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint attribute, - EGLint *value); -EGLBoolean ReleaseTexImage(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint buffer); -EGLBoolean ReleaseThread(Thread *thread); -EGLBoolean SurfaceAttrib(Thread *thread, - egl::Display *dpyPacked, - Surface *surfacePacked, - EGLint attribute, - EGLint value); -EGLBoolean SwapBuffers(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked); -EGLBoolean SwapInterval(Thread *thread, egl::Display *dpyPacked, EGLint interval); -EGLBoolean Terminate(Thread *thread, egl::Display *dpyPacked); -EGLBoolean WaitClient(Thread *thread); -EGLBoolean WaitGL(Thread *thread); -EGLBoolean WaitNative(Thread *thread, EGLint engine); -EGLBoolean WaitSync(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags); -} // namespace egl -#endif // LIBGLESV2_EGL_STUBS_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_egl.cpp new file mode 100644 index 000000000000..755bd61d7f2d --- /dev/null +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_egl.cpp @@ -0,0 +1,1171 @@ +// +// Copyright 2014 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// entry_points_egl.cpp : Implements the EGL entry points. + +#include "libGLESv2/entry_points_egl.h" + +#include "common/angle_version.h" +#include "common/debug.h" +#include "common/utilities.h" +#include "libANGLE/Context.h" +#include "libANGLE/Display.h" +#include "libANGLE/EGLSync.h" +#include "libANGLE/Surface.h" +#include "libANGLE/Texture.h" +#include "libANGLE/Thread.h" +#include "libANGLE/entry_points_utils.h" +#include "libANGLE/queryutils.h" +#include "libANGLE/validationEGL.h" +#include "libGLESv2/global_state.h" +#include "libGLESv2/proc_table_egl.h" + +using namespace egl; + +namespace +{ + +bool CompareProc(const ProcEntry &a, const char *b) +{ + return strcmp(a.first, b) < 0; +} + +void ClipConfigs(const std::vector &filteredConfigs, + EGLConfig *output_configs, + EGLint config_size, + EGLint *num_config) +{ + EGLint result_size = static_cast(filteredConfigs.size()); + if (output_configs) + { + result_size = std::max(std::min(result_size, config_size), 0); + for (EGLint i = 0; i < result_size; i++) + { + output_configs[i] = const_cast(filteredConfigs[i]); + } + } + *num_config = result_size; +} +} // anonymous namespace + +extern "C" { +// EGL 1.0 +EGLint EGLAPIENTRY EGL_GetError(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + EGLint error = thread->getError(); + thread->setSuccess(); + return error; +} + +EGLDisplay EGLAPIENTRY EGL_GetDisplay(EGLNativeDisplayType display_id) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLNativeDisplayType display_id = 0x%016" PRIxPTR, (uintptr_t)display_id); + + return egl::Display::GetDisplayFromNativeDisplay(display_id, AttributeMap()); +} + +EGLBoolean EGLAPIENTRY EGL_Initialize(EGLDisplay dpy, EGLint *major, EGLint *minor) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint *major = 0x%016" PRIxPTR + ", EGLint *minor = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)major, (uintptr_t)minor); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + ANGLE_EGL_TRY_RETURN(thread, ValidateInitialize(display), "eglInitialize", + GetDisplayIfValid(display), EGL_FALSE); + + ANGLE_EGL_TRY_RETURN(thread, display->initialize(), "eglInitialize", GetDisplayIfValid(display), + EGL_FALSE); + + if (major) + *major = 1; + if (minor) + *minor = 5; + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_Terminate(EGLDisplay dpy) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR, (uintptr_t)dpy); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + ANGLE_EGL_TRY_RETURN(thread, ValidateTerminate(display), "eglTerminate", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglTerminate", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, + display->makeCurrent(thread->getContext(), nullptr, nullptr, nullptr), + "eglTerminate", GetDisplayIfValid(display), EGL_FALSE); + SetContextCurrent(thread, nullptr); + ANGLE_EGL_TRY_RETURN(thread, display->terminate(thread), "eglTerminate", + GetDisplayIfValid(display), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +const char *EGLAPIENTRY EGL_QueryString(EGLDisplay dpy, EGLint name) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint name = %d", (uintptr_t)dpy, name); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + if (!(display == EGL_NO_DISPLAY && name == EGL_EXTENSIONS)) + { + ANGLE_EGL_TRY_RETURN(thread, ValidateDisplay(display), "eglQueryString", + GetDisplayIfValid(display), nullptr); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryString", + GetDisplayIfValid(display), nullptr); + } + + const char *result; + switch (name) + { + case EGL_CLIENT_APIS: + result = "OpenGL_ES"; + break; + case EGL_EXTENSIONS: + if (display == EGL_NO_DISPLAY) + { + result = egl::Display::GetClientExtensionString().c_str(); + } + else + { + result = display->getExtensionString().c_str(); + } + break; + case EGL_VENDOR: + result = display->getVendorString().c_str(); + break; + case EGL_VERSION: + result = "1.5 (ANGLE " ANGLE_VERSION_STRING ")"; + break; + default: + thread->setError(EglBadParameter(), GetDebug(), "eglQueryString", + GetDisplayIfValid(display)); + return nullptr; + } + + thread->setSuccess(); + return result; +} + +EGLBoolean EGLAPIENTRY EGL_GetConfigs(EGLDisplay dpy, + EGLConfig *configs, + EGLint config_size, + EGLint *num_config) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig *configs = 0x%016" PRIxPTR + ", " + "EGLint config_size = %d, EGLint *num_config = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)configs, config_size, (uintptr_t)num_config); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetConfigs(display, config_size, num_config), + "eglGetConfigs", GetDisplayIfValid(display), EGL_FALSE); + + ClipConfigs(display->getConfigs(AttributeMap()), configs, config_size, num_config); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_ChooseConfig(EGLDisplay dpy, + const EGLint *attrib_list, + EGLConfig *configs, + EGLint config_size, + EGLint *num_config) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", const EGLint *attrib_list = 0x%016" PRIxPTR + ", " + "EGLConfig *configs = 0x%016" PRIxPTR + ", EGLint config_size = %d, EGLint *num_config = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)attrib_list, (uintptr_t)configs, config_size, + (uintptr_t)num_config); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + AttributeMap attribMap = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN(thread, ValidateChooseConfig(display, attribMap, config_size, num_config), + "eglChooseConfig", GetDisplayIfValid(display), EGL_FALSE); + + ClipConfigs(display->chooseConfig(attribMap), configs, config_size, num_config); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_GetConfigAttrib(EGLDisplay dpy, + EGLConfig config, + EGLint attribute, + EGLint *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLint " + "*value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetConfigAttrib(display, configuration, attribute), + "eglGetConfigAttrib", GetDisplayIfValid(display), EGL_FALSE); + + QueryConfigAttrib(configuration, attribute, value); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLSurface EGLAPIENTRY EGL_CreateWindowSurface(EGLDisplay dpy, + EGLConfig config, + EGLNativeWindowType win, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", EGLNativeWindowType win = 0x%016" PRIxPTR + ", " + "const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)win, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN(thread, + ValidateCreateWindowSurface(display, configuration, win, attributes), + "eglCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateWindowSurface", + GetDisplayIfValid(display), EGL_NO_SURFACE); + + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN(thread, + display->createWindowSurface(configuration, win, attributes, &surface), + "eglCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + + return static_cast(surface); +} + +EGLSurface EGLAPIENTRY EGL_CreatePbufferSurface(EGLDisplay dpy, + EGLConfig config, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", const EGLint *attrib_list = " + "0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN(thread, ValidateCreatePbufferSurface(display, configuration, attributes), + "eglCreatePbufferSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePbufferSurface", + GetDisplayIfValid(display), EGL_NO_SURFACE); + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN(thread, display->createPbufferSurface(configuration, attributes, &surface), + "eglCreatePbufferSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + + return static_cast(surface); +} + +EGLSurface EGLAPIENTRY EGL_CreatePixmapSurface(EGLDisplay dpy, + EGLConfig config, + EGLNativePixmapType pixmap, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", EGLNativePixmapType pixmap = " + "0x%016" PRIxPTR + ", " + "const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)pixmap, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN(thread, + ValidateCreatePixmapSurface(display, configuration, pixmap, attributes), + "eglCreatePixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePixmapSurface", + GetDisplayIfValid(display), EGL_NO_SURFACE); + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN(thread, + display->createPixmapSurface(configuration, pixmap, attributes, &surface), + "eglCreatePixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + + thread->setSuccess(); + return static_cast(surface); +} + +EGLBoolean EGLAPIENTRY EGL_DestroySurface(EGLDisplay dpy, EGLSurface surface) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDestroySurface(display, eglSurface, surface), + "eglDestroySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySurface", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->destroySurface(eglSurface), "eglDestroySurface", + GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_QuerySurface(EGLDisplay dpy, + EGLSurface surface, + EGLint attribute, + EGLint *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLint " + "*value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + const Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidateQuerySurface(display, eglSurface, attribute, value), + "eglQuerySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurface", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, QuerySurfaceAttrib(display, eglSurface, attribute, value), + "eglQuerySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLContext EGLAPIENTRY EGL_CreateContext(EGLDisplay dpy, + EGLConfig config, + EGLContext share_context, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", EGLContext share_context = %d, " + "const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, CID(dpy, share_context), (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + gl::Context *sharedGLContext = static_cast(share_context); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN(thread, + ValidateCreateContext(display, configuration, sharedGLContext, attributes), + "eglCreateContext", GetDisplayIfValid(display), EGL_NO_CONTEXT); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateContext", + GetDisplayIfValid(display), EGL_NO_CONTEXT); + gl::Context *context = nullptr; + ANGLE_EGL_TRY_RETURN(thread, + display->createContext(configuration, sharedGLContext, thread->getAPI(), + attributes, &context), + "eglCreateContext", GetDisplayIfValid(display), EGL_NO_CONTEXT); + + thread->setSuccess(); + return static_cast(context); +} + +EGLBoolean EGLAPIENTRY EGL_DestroyContext(EGLDisplay dpy, EGLContext ctx) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLContext ctx = %d", (uintptr_t)dpy, + CID(dpy, ctx)); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDestroyContext(display, context, ctx), "eglDestroyContext", + GetContextIfValid(display, context), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyContext", + GetDisplayIfValid(display), EGL_FALSE); + bool contextWasCurrent = context == thread->getContext(); + + ANGLE_EGL_TRY_RETURN(thread, display->destroyContext(thread, context), "eglDestroyContext", + GetContextIfValid(display, context), EGL_FALSE); + + if (contextWasCurrent) + { + ANGLE_EGL_TRY_RETURN(thread, display->makeCurrent(context, nullptr, nullptr, nullptr), + "eglDestroyContext", GetContextIfValid(display, context), EGL_FALSE); + SetContextCurrent(thread, nullptr); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_MakeCurrent(EGLDisplay dpy, + EGLSurface draw, + EGLSurface read, + EGLContext ctx) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface draw = 0x%016" PRIxPTR + ", EGLSurface read = 0x%016" PRIxPTR + ", " + "EGLContext ctx = %d", + (uintptr_t)dpy, (uintptr_t)draw, (uintptr_t)read, CID(dpy, ctx)); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *drawSurface = static_cast(draw); + Surface *readSurface = static_cast(read); + gl::Context *context = static_cast(ctx); + + ANGLE_EGL_TRY_RETURN(thread, ValidateMakeCurrent(display, drawSurface, readSurface, context), + "eglMakeCurrent", GetContextIfValid(display, context), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglMakeCurrent", + GetDisplayIfValid(display), EGL_FALSE); + Surface *previousDraw = thread->getCurrentDrawSurface(); + Surface *previousRead = thread->getCurrentReadSurface(); + gl::Context *previousContext = thread->getContext(); + + // Only call makeCurrent if the context or surfaces have changed. + if (previousDraw != drawSurface || previousRead != readSurface || previousContext != context) + { + ANGLE_EGL_TRY_RETURN( + thread, display->makeCurrent(previousContext, drawSurface, readSurface, context), + "eglMakeCurrent", GetContextIfValid(display, context), EGL_FALSE); + + SetContextCurrent(thread, context); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLSurface EGLAPIENTRY EGL_GetCurrentSurface(EGLint readdraw) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLint readdraw = %d", readdraw); + Thread *thread = egl::GetCurrentThread(); + + if (readdraw == EGL_READ) + { + thread->setSuccess(); + return thread->getCurrentReadSurface(); + } + else if (readdraw == EGL_DRAW) + { + thread->setSuccess(); + return thread->getCurrentDrawSurface(); + } + else + { + thread->setError(EglBadParameter(), GetDebug(), "eglGetCurrentSurface", nullptr); + return EGL_NO_SURFACE; + } +} + +EGLDisplay EGLAPIENTRY EGL_GetCurrentDisplay(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + thread->setSuccess(); + if (thread->getContext() != nullptr) + { + return thread->getContext()->getDisplay(); + } + return EGL_NO_DISPLAY; +} + +EGLBoolean EGLAPIENTRY EGL_QueryContext(EGLDisplay dpy, + EGLContext ctx, + EGLint attribute, + EGLint *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLContext ctx = %d" + ", EGLint attribute = %d, EGLint *value " + "= 0x%016" PRIxPTR, + (uintptr_t)dpy, CID(dpy, ctx), attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + + ANGLE_EGL_TRY_RETURN(thread, ValidateQueryContext(display, context, attribute, value), + "eglQueryContext", GetContextIfValid(display, context), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryContext", + GetDisplayIfValid(display), EGL_FALSE); + QueryContextAttrib(context, attribute, value); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_WaitGL(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = thread->getDisplay(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDisplay(display), "eglWaitGL", GetDisplayIfValid(display), + EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitGL", GetDisplayIfValid(display), + EGL_FALSE); + + // eglWaitGL like calling eglWaitClient with the OpenGL ES API bound. Since we only implement + // OpenGL ES we can do the call directly. + ANGLE_EGL_TRY_RETURN(thread, display->waitClient(thread->getContext()), "eglWaitGL", + GetDisplayIfValid(display), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_WaitNative(EGLint engine) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLint engine = %d", engine); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = thread->getDisplay(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateWaitNative(display, engine), "eglWaitNative", + GetThreadIfValid(thread), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitNative", + GetDisplayIfValid(display), EGL_FALSE); + + ANGLE_EGL_TRY_RETURN(thread, display->waitNative(thread->getContext(), engine), "eglWaitNative", + GetThreadIfValid(thread), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_SwapBuffers(EGLDisplay dpy, EGLSurface surface) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = (Surface *)surface; + + ANGLE_EGL_TRY_RETURN(thread, ValidateSwapBuffers(thread, display, eglSurface), "eglSwapBuffers", + GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffers", + GetDisplayIfValid(display), EGL_FALSE); + + ANGLE_EGL_TRY_RETURN(thread, eglSurface->swap(thread->getContext()), "eglSwapBuffers", + GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_CopyBuffers(EGLDisplay dpy, + EGLSurface surface, + EGLNativePixmapType target) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLNativePixmapType target = " + "0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)target); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidateCopyBuffers(display, eglSurface), "eglCopyBuffers", + GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCopyBuffers", + GetDisplayIfValid(display), EGL_FALSE); + UNIMPLEMENTED(); // FIXME + + thread->setSuccess(); + return 0; +} + +// EGL 1.1 +EGLBoolean EGLAPIENTRY EGL_BindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint buffer = %d", + (uintptr_t)dpy, (uintptr_t)surface, buffer); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + gl::Context *context = thread->getContext(); + gl::Texture *textureObject = nullptr; + + ANGLE_EGL_TRY_RETURN( + thread, ValidateBindTexImage(display, eglSurface, surface, buffer, context, &textureObject), + "eglBindTexImage", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", + GetDisplayIfValid(display), EGL_FALSE); + if (context) + { + ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), + "eglBindTexImage", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_SurfaceAttrib(EGLDisplay dpy, + EGLSurface surface, + EGLint attribute, + EGLint value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLint " + "value = %d", + (uintptr_t)dpy, (uintptr_t)surface, attribute, value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidateSurfaceAttrib(display, eglSurface, attribute, value), + "eglSurfaceAttrib", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSurfaceAttrib", + GetDisplayIfValid(display), EGL_FALSE); + SetSurfaceAttrib(eglSurface, attribute, value); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_ReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint buffer = %d", + (uintptr_t)dpy, (uintptr_t)surface, buffer); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidateReleaseTexImage(display, eglSurface, surface, buffer), + "eglReleaseTexImage", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglReleaseTexImage", + GetDisplayIfValid(display), EGL_FALSE); + gl::Texture *texture = eglSurface->getBoundTexture(); + + if (texture) + { + ANGLE_EGL_TRY_RETURN(thread, eglSurface->releaseTexImage(thread->getContext(), buffer), + "eglReleaseTexImage", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_SwapInterval(EGLDisplay dpy, EGLint interval) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint interval = %d", (uintptr_t)dpy, + interval); + Thread *thread = egl::GetCurrentThread(); + gl::Context *context = thread->getContext(); + + egl::Display *display = static_cast(dpy); + Surface *draw_surface = static_cast(thread->getCurrentDrawSurface()); + + ANGLE_EGL_TRY_RETURN(thread, ValidateSwapInterval(display, draw_surface, context), + "eglSwapInterval", GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapInterval", + GetDisplayIfValid(display), EGL_FALSE); + const egl::Config *surfaceConfig = draw_surface->getConfig(); + EGLint clampedInterval = std::min(std::max(interval, surfaceConfig->minSwapInterval), + surfaceConfig->maxSwapInterval); + + draw_surface->setSwapInterval(clampedInterval); + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL 1.2 +EGLBoolean EGLAPIENTRY EGL_BindAPI(EGLenum api) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLenum api = 0x%X", api); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateBindAPI(api), "eglBindAPI", GetThreadIfValid(thread), + EGL_FALSE); + + thread->setAPI(api); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLenum EGLAPIENTRY EGL_QueryAPI(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + EGLenum API = thread->getAPI(); + + thread->setSuccess(); + return API; +} + +EGLSurface EGLAPIENTRY EGL_CreatePbufferFromClientBuffer(EGLDisplay dpy, + EGLenum buftype, + EGLClientBuffer buffer, + EGLConfig config, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLenum buftype = 0x%X, EGLClientBuffer buffer = 0x%016" PRIxPTR + ", " + "EGLConfig config = 0x%016" PRIxPTR ", const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, buftype, (uintptr_t)buffer, (uintptr_t)config, + (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN( + thread, + ValidateCreatePbufferFromClientBuffer(display, buftype, buffer, configuration, attributes), + "eglCreatePbufferFromClientBuffer", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePbufferFromClientBuffer", + GetDisplayIfValid(display), EGL_NO_SURFACE); + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN(thread, + display->createPbufferFromClientBuffer(configuration, buftype, buffer, + attributes, &surface), + "eglCreatePbufferFromClientBuffer", GetDisplayIfValid(display), + EGL_NO_SURFACE); + + return static_cast(surface); +} + +EGLBoolean EGLAPIENTRY EGL_ReleaseThread(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + Surface *previousDraw = thread->getCurrentDrawSurface(); + Surface *previousRead = thread->getCurrentReadSurface(); + gl::Context *previousContext = thread->getContext(); + egl::Display *previousDisplay = thread->getDisplay(); + + if (previousDisplay != EGL_NO_DISPLAY) + { + ANGLE_EGL_TRY_RETURN(thread, previousDisplay->prepareForCall(), "eglReleaseThread", + GetDisplayIfValid(previousDisplay), EGL_FALSE); + // Only call makeCurrent if the context or surfaces have changed. + if (previousDraw != EGL_NO_SURFACE || previousRead != EGL_NO_SURFACE || + previousContext != EGL_NO_CONTEXT) + { + ANGLE_EGL_TRY_RETURN( + thread, previousDisplay->makeCurrent(previousContext, nullptr, nullptr, nullptr), + "eglReleaseThread", nullptr, EGL_FALSE); + } + ANGLE_EGL_TRY_RETURN(thread, previousDisplay->releaseThread(), "eglReleaseThread", + GetDisplayIfValid(previousDisplay), EGL_FALSE); + SetContextCurrent(thread, nullptr); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_WaitClient(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = thread->getDisplay(); + gl::Context *context = thread->getContext(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDisplay(display), "eglWaitClient", + GetContextIfValid(display, context), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitClient", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->waitClient(context), "eglWaitClient", + GetContextIfValid(display, context), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL 1.4 +EGLContext EGLAPIENTRY EGL_GetCurrentContext(void) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + EVENT(nullptr, gl::EntryPoint::Begin, __FUNCTION__, ""); + Thread *thread = egl::GetCurrentThread(); + + gl::Context *context = thread->getContext(); + + thread->setSuccess(); + return static_cast(context); +} + +// EGL 1.5 +EGLSync EGLAPIENTRY EGL_CreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLenum type = 0x%X, const EGLint* attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, type, (uintptr_t)attrib_list); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + gl::Context *currentContext = thread->getContext(); + egl::Display *currentDisplay = currentContext ? currentContext->getDisplay() : nullptr; + + ANGLE_EGL_TRY_RETURN( + thread, ValidateCreateSync(display, type, attributes, currentDisplay, currentContext), + "eglCreateSync", GetDisplayIfValid(display), EGL_NO_SYNC); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateSync", + GetDisplayIfValid(display), EGL_FALSE); + egl::Sync *syncObject = nullptr; + ANGLE_EGL_TRY_RETURN(thread, display->createSync(currentContext, type, attributes, &syncObject), + "eglCreateSync", GetDisplayIfValid(display), EGL_NO_SYNC); + + thread->setSuccess(); + return static_cast(syncObject); +} + +EGLBoolean EGLAPIENTRY EGL_DestroySync(EGLDisplay dpy, EGLSync sync) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)sync); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDestroySync(display, syncObject), "eglDestroySync", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySync", + GetDisplayIfValid(display), EGL_FALSE); + display->destroySync(syncObject); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLint EGLAPIENTRY EGL_ClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR + ", EGLint flags = 0x%X, EGLTime timeout = " + "%llu", + (uintptr_t)dpy, (uintptr_t)sync, flags, static_cast(timeout)); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateClientWaitSync(display, syncObject, flags, timeout), + "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", + GetDisplayIfValid(display), EGL_FALSE); + gl::Context *currentContext = thread->getContext(); + EGLint syncStatus = EGL_FALSE; + ANGLE_EGL_TRY_RETURN( + thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), + "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return syncStatus; +} + +EGLBoolean EGLAPIENTRY EGL_GetSyncAttrib(EGLDisplay dpy, + EGLSync sync, + EGLint attribute, + EGLAttrib *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR + ", EGLint attribute = 0x%X, EGLAttrib " + "*value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)sync, attribute, (uintptr_t)value); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetSyncAttrib(display, syncObject, attribute, value), + "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); + + EGLint valueExt; + ANGLE_EGL_TRY_RETURN(thread, GetSyncAttrib(display, syncObject, attribute, &valueExt), + "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); + *value = valueExt; + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLImage EGLAPIENTRY EGL_CreateImage(EGLDisplay dpy, + EGLContext ctx, + EGLenum target, + EGLClientBuffer buffer, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLContext ctx = %d" + ", EGLenum target = 0x%X, " + "EGLClientBuffer buffer = 0x%016" PRIxPTR + ", const EGLAttrib *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, CID(dpy, ctx), target, (uintptr_t)buffer, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + AttributeMap attributes = AttributeMap::CreateFromIntArray((const EGLint *)attrib_list); + + Error error = ValidateCreateImage(display, context, target, buffer, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateImage", GetDisplayIfValid(display)); + return EGL_NO_IMAGE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImage", + GetDisplayIfValid(display), EGL_FALSE); + + Image *image = nullptr; + error = display->createImage(context, target, buffer, attributes, &image); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateImage", GetDisplayIfValid(display)); + return EGL_NO_IMAGE; + } + + thread->setSuccess(); + return static_cast(image); +} + +EGLBoolean EGLAPIENTRY EGL_DestroyImage(EGLDisplay dpy, EGLImage image) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLImage image = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)image); + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + Image *img = static_cast(image); + + Error error = ValidateDestroyImage(display, img); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglDestroyImage", GetImageIfValid(display, img)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyImage", + GetDisplayIfValid(display), EGL_FALSE); + display->destroyImage(img); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplay(EGLenum platform, + void *native_display, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLenum platform = %d, void* native_display = 0x%016" PRIxPTR + ", const EGLint* attrib_list = " + "0x%016" PRIxPTR, + platform, (uintptr_t)native_display, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetPlatformDisplay(platform, native_display, attrib_list), + "eglGetPlatformDisplay", GetThreadIfValid(thread), EGL_NO_DISPLAY); + + const auto &attribMap = AttributeMap::CreateFromAttribArray(attrib_list); + if (platform == EGL_PLATFORM_ANGLE_ANGLE) + { + return egl::Display::GetDisplayFromNativeDisplay( + gl::bitCast(native_display), attribMap); + } + else if (platform == EGL_PLATFORM_DEVICE_EXT) + { + Device *eglDevice = static_cast(native_display); + return egl::Display::GetDisplayFromDevice(eglDevice, attribMap); + } + else + { + UNREACHABLE(); + return EGL_NO_DISPLAY; + } +} + +EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurface(EGLDisplay dpy, + EGLConfig config, + void *native_window, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", void* native_window = 0x%016" PRIxPTR + ", " + "const EGLint* attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_window, (uintptr_t)attrib_list); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + + Config *configuration = static_cast(config); + // Use reinterpret_cast since native_window could be a pointer or an actual value. + EGLNativeWindowType win = reinterpret_cast(native_window); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + ANGLE_EGL_TRY_RETURN( + thread, ValidateCreateWindowSurface(display, configuration, win, attributes), + "eglPlatformCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateWindowSurface", + GetDisplayIfValid(display), EGL_NO_SURFACE); + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN( + thread, display->createWindowSurface(configuration, win, attributes, &surface), + "eglPlatformCreateWindowSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + + return static_cast(surface); +} + +EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurface(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", void* native_pixmap = 0x%016" PRIxPTR + ", " + "const EGLint* attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_pixmap, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + // Use reinterpret_cast since native_window could be a pointer or an actual value. + EGLNativePixmapType pixmap = reinterpret_cast(native_pixmap); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + ANGLE_EGL_TRY_RETURN( + thread, ValidateCreatePixmapSurface(display, configuration, pixmap, attributes), + "eglCreatePlatformPixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformPixmapSurface", + GetDisplayIfValid(display), EGL_NO_SURFACE); + egl::Surface *surface = nullptr; + ANGLE_EGL_TRY_RETURN( + thread, display->createPixmapSurface(configuration, pixmap, attributes, &surface), + "eglCreatePlatformPixmapSurface", GetDisplayIfValid(display), EGL_NO_SURFACE); + + thread->setSuccess(); + return static_cast(surface); +} + +EGLBoolean EGLAPIENTRY EGL_WaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy =0x%016" PRIxPTR "p, EGLSync sync = 0x%016" PRIxPTR + ", EGLint flags = 0x%X", + (uintptr_t)dpy, (uintptr_t)sync, flags); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + gl::Context *context = thread->getContext(); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateWaitSync(display, context, syncObject, flags), + "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitSync", + GetDisplayIfValid(display), EGL_FALSE); + gl::Context *currentContext = thread->getContext(); + ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), + "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +__eglMustCastToProperFunctionPointerType EGLAPIENTRY EGL_GetProcAddress(const char *procname) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("const char *procname = \"%s\"", procname); + Thread *thread = egl::GetCurrentThread(); + + const ProcEntry *entry = + std::lower_bound(&g_procTable[0], &g_procTable[g_numProcs], procname, CompareProc); + + thread->setSuccess(); + + if (entry == &g_procTable[g_numProcs] || strcmp(entry->first, procname) != 0) + { + return nullptr; + } + + return entry->second; +} +} // extern "C" diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_egl.h similarity index 91% rename from gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.h rename to gfx/angle/checkout/src/libGLESv2/entry_points_egl.h index 407054b3e61f..95f5c31c2905 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_egl.h @@ -1,15 +1,13 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2014 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// entry_points_egl_autogen.h: -// Defines the EGL entry points. -#ifndef LIBGLESV2_ENTRY_POINTS_EGL_AUTOGEN_H_ -#define LIBGLESV2_ENTRY_POINTS_EGL_AUTOGEN_H_ +// entry_points_egl.h : Defines the EGL entry points. + +#ifndef LIBGLESV2_ENTRYPOINTSEGL_H_ +#define LIBGLESV2_ENTRYPOINTSEGL_H_ #include #include @@ -50,10 +48,10 @@ ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config); -ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetCurrentDisplay(); +ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetCurrentDisplay(void); ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_GetCurrentSurface(EGLint readdraw); ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetDisplay(EGLNativeDisplayType display_id); -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_GetError(); +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_GetError(void); ANGLE_EXPORT __eglMustCastToProperFunctionPointerType EGLAPIENTRY EGL_GetProcAddress(const char *procname); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_Initialize(EGLDisplay dpy, EGLint *major, EGLint *minor); @@ -72,7 +70,7 @@ ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QuerySurface(EGLDisplay dpy, EGLint *value); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SwapBuffers(EGLDisplay dpy, EGLSurface surface); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_Terminate(EGLDisplay dpy); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitGL(); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitGL(void); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitNative(EGLint engine); // EGL 1.1 @@ -90,49 +88,49 @@ ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SwapInterval(EGLDisplay dpy, EGLint inte // EGL 1.2 ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_BindAPI(EGLenum api); +ANGLE_EXPORT EGLenum EGLAPIENTRY EGL_QueryAPI(void); ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); -ANGLE_EXPORT EGLenum EGLAPIENTRY EGL_QueryAPI(); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_ReleaseThread(); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitClient(); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_ReleaseThread(void); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitClient(void); // EGL 1.4 -ANGLE_EXPORT EGLContext EGLAPIENTRY EGL_GetCurrentContext(); +ANGLE_EXPORT EGLContext EGLAPIENTRY EGL_GetCurrentContext(void); // EGL 1.5 +ANGLE_EXPORT EGLSync EGLAPIENTRY EGL_CreateSync(EGLDisplay dpy, + EGLenum type, + const EGLAttrib *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroySync(EGLDisplay dpy, EGLSync sync); ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncAttrib(EGLDisplay dpy, + EGLSync sync, + EGLint attribute, + EGLAttrib *value); ANGLE_EXPORT EGLImage EGLAPIENTRY EGL_CreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurface(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLAttrib *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyImage(EGLDisplay dpy, EGLImage image); +ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplay(EGLenum platform, + void *native_display, + const EGLAttrib *attrib_list); ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLSync EGLAPIENTRY EGL_CreateSync(EGLDisplay dpy, - EGLenum type, - const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyImage(EGLDisplay dpy, EGLImage image); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroySync(EGLDisplay dpy, EGLSync sync); -ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplay(EGLenum platform, - void *native_display, - const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncAttrib(EGLDisplay dpy, - EGLSync sync, - EGLint attribute, - EGLAttrib *value); +ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurface(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLAttrib *attrib_list); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags); } // extern "C" -#endif // LIBGLESV2_ENTRY_POINTS_EGL_AUTOGEN_H_ +#endif // LIBGLESV2_ENTRYPOINTSEGL_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.cpp deleted file mode 100644 index 89eccf6957d3..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_autogen.cpp +++ /dev/null @@ -1,812 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// entry_points_egl_autogen.cpp: -// Defines the EGL entry points. - -#include "libGLESv2/entry_points_egl_autogen.h" - -#include "libANGLE/entry_points_utils.h" -#include "libANGLE/validationEGL_autogen.h" -#include "libGLESv2/egl_stubs_autogen.h" -#include "libGLESv2/global_state.h" - -using namespace egl; - -extern "C" { - -// EGL 1.0 -EGLBoolean EGLAPIENTRY EGL_ChooseConfig(EGLDisplay dpy, - const EGLint *attrib_list, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ChooseConfig, - "dpy = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR ", configs = 0x%016" PRIxPTR - ", config_size = %d, num_config = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)attrib_list, (uintptr_t)configs, config_size, - (uintptr_t)num_config); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, ChooseConfig, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - attrib_listPacked, configs, config_size, num_config); - - return ChooseConfig(thread, dpyPacked, attrib_listPacked, configs, config_size, num_config); -} - -EGLBoolean EGLAPIENTRY EGL_CopyBuffers(EGLDisplay dpy, - EGLSurface surface, - EGLNativePixmapType target) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CopyBuffers, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", target = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)target); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, CopyBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, target); - - return CopyBuffers(thread, dpyPacked, surfacePacked, target); -} - -EGLContext EGLAPIENTRY EGL_CreateContext(EGLDisplay dpy, - EGLConfig config, - EGLContext share_context, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateContext, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", share_context = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)share_context, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - gl::Context *share_contextPacked = PackParam(share_context); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateContext, GetDisplayIfValid(dpyPacked), EGLContext, dpyPacked, - configPacked, share_contextPacked, attrib_listPacked); - - return CreateContext(thread, dpyPacked, configPacked, share_contextPacked, attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreatePbufferSurface(EGLDisplay dpy, - EGLConfig config, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePbufferSurface, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePbufferSurface, GetDisplayIfValid(dpyPacked), EGLSurface, - dpyPacked, configPacked, attrib_listPacked); - - return CreatePbufferSurface(thread, dpyPacked, configPacked, attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreatePixmapSurface(EGLDisplay dpy, - EGLConfig config, - EGLNativePixmapType pixmap, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePixmapSurface, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", pixmap = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)pixmap, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePixmapSurface, GetDisplayIfValid(dpyPacked), EGLSurface, - dpyPacked, configPacked, pixmap, attrib_listPacked); - - return CreatePixmapSurface(thread, dpyPacked, configPacked, pixmap, attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreateWindowSurface(EGLDisplay dpy, - EGLConfig config, - EGLNativeWindowType win, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateWindowSurface, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", win = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)win, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateWindowSurface, GetDisplayIfValid(dpyPacked), EGLSurface, - dpyPacked, configPacked, win, attrib_listPacked); - - return CreateWindowSurface(thread, dpyPacked, configPacked, win, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroyContext(EGLDisplay dpy, EGLContext ctx) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroyContext, "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)ctx); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - - ANGLE_EGL_VALIDATE(thread, DestroyContext, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - ctxPacked); - - return DestroyContext(thread, dpyPacked, ctxPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroySurface(EGLDisplay dpy, EGLSurface surface) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroySurface, "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, DestroySurface, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked); - - return DestroySurface(thread, dpyPacked, surfacePacked); -} - -EGLBoolean EGLAPIENTRY EGL_GetConfigAttrib(EGLDisplay dpy, - EGLConfig config, - EGLint attribute, - EGLint *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetConfigAttrib, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - - ANGLE_EGL_VALIDATE(thread, GetConfigAttrib, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - configPacked, attribute, value); - - return GetConfigAttrib(thread, dpyPacked, configPacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_GetConfigs(EGLDisplay dpy, - EGLConfig *configs, - EGLint config_size, - EGLint *num_config) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetConfigs, - "dpy = 0x%016" PRIxPTR ", configs = 0x%016" PRIxPTR - ", config_size = %d, num_config = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)configs, config_size, (uintptr_t)num_config); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, GetConfigs, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - configs, config_size, num_config); - - return GetConfigs(thread, dpyPacked, configs, config_size, num_config); -} - -EGLDisplay EGLAPIENTRY EGL_GetCurrentDisplay() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetCurrentDisplay, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetCurrentDisplay, nullptr, EGLDisplay); - - return GetCurrentDisplay(thread); -} - -EGLSurface EGLAPIENTRY EGL_GetCurrentSurface(EGLint readdraw) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetCurrentSurface, "readdraw = %d", readdraw); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetCurrentSurface, nullptr, EGLSurface, readdraw); - - return GetCurrentSurface(thread, readdraw); -} - -EGLDisplay EGLAPIENTRY EGL_GetDisplay(EGLNativeDisplayType display_id) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetDisplay, "display_id = 0x%016" PRIxPTR "", (uintptr_t)display_id); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetDisplay, nullptr, EGLDisplay, display_id); - - return GetDisplay(thread, display_id); -} - -EGLint EGLAPIENTRY EGL_GetError() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetError, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetError, nullptr, EGLint); - - return GetError(thread); -} - -__eglMustCastToProperFunctionPointerType EGLAPIENTRY EGL_GetProcAddress(const char *procname) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetProcAddress, "procname = 0x%016" PRIxPTR "", (uintptr_t)procname); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetProcAddress, nullptr, __eglMustCastToProperFunctionPointerType, - procname); - - return GetProcAddress(thread, procname); -} - -EGLBoolean EGLAPIENTRY EGL_Initialize(EGLDisplay dpy, EGLint *major, EGLint *minor) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(Initialize, - "dpy = 0x%016" PRIxPTR ", major = 0x%016" PRIxPTR ", minor = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)major, (uintptr_t)minor); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, Initialize, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - major, minor); - - return Initialize(thread, dpyPacked, major, minor); -} - -EGLBoolean EGLAPIENTRY EGL_MakeCurrent(EGLDisplay dpy, - EGLSurface draw, - EGLSurface read, - EGLContext ctx) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(MakeCurrent, - "dpy = 0x%016" PRIxPTR ", draw = 0x%016" PRIxPTR ", read = 0x%016" PRIxPTR - ", ctx = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)draw, (uintptr_t)read, (uintptr_t)ctx); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *drawPacked = PackParam(draw); - Surface *readPacked = PackParam(read); - gl::Context *ctxPacked = PackParam(ctx); - - ANGLE_EGL_VALIDATE(thread, MakeCurrent, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - drawPacked, readPacked, ctxPacked); - - return MakeCurrent(thread, dpyPacked, drawPacked, readPacked, ctxPacked); -} - -EGLBoolean EGLAPIENTRY EGL_QueryContext(EGLDisplay dpy, - EGLContext ctx, - EGLint attribute, - EGLint *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryContext, - "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)ctx, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - - ANGLE_EGL_VALIDATE(thread, QueryContext, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - ctxPacked, attribute, value); - - return QueryContext(thread, dpyPacked, ctxPacked, attribute, value); -} - -const char *EGLAPIENTRY EGL_QueryString(EGLDisplay dpy, EGLint name) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryString, "dpy = 0x%016" PRIxPTR ", name = %d", (uintptr_t)dpy, name); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, QueryString, GetDisplayIfValid(dpyPacked), const char *, dpyPacked, - name); - - return QueryString(thread, dpyPacked, name); -} - -EGLBoolean EGLAPIENTRY EGL_QuerySurface(EGLDisplay dpy, - EGLSurface surface, - EGLint attribute, - EGLint *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QuerySurface, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, QuerySurface, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, attribute, value); - - return QuerySurface(thread, dpyPacked, surfacePacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_SwapBuffers(EGLDisplay dpy, EGLSurface surface) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SwapBuffers, "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)surface); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, SwapBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked); - - return SwapBuffers(thread, dpyPacked, surfacePacked); -} - -EGLBoolean EGLAPIENTRY EGL_Terminate(EGLDisplay dpy) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(Terminate, "dpy = 0x%016" PRIxPTR "", (uintptr_t)dpy); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, Terminate, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked); - - return Terminate(thread, dpyPacked); -} - -EGLBoolean EGLAPIENTRY EGL_WaitGL() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(WaitGL, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, WaitGL, nullptr, EGLBoolean); - - return WaitGL(thread); -} - -EGLBoolean EGLAPIENTRY EGL_WaitNative(EGLint engine) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(WaitNative, "engine = %d", engine); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, WaitNative, nullptr, EGLBoolean, engine); - - return WaitNative(thread, engine); -} - -// EGL 1.1 -EGLBoolean EGLAPIENTRY EGL_BindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(BindTexImage, "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", buffer = %d", - (uintptr_t)dpy, (uintptr_t)surface, buffer); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, BindTexImage, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, buffer); - - return BindTexImage(thread, dpyPacked, surfacePacked, buffer); -} - -EGLBoolean EGLAPIENTRY EGL_ReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ReleaseTexImage, "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", buffer = %d", - (uintptr_t)dpy, (uintptr_t)surface, buffer); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, ReleaseTexImage, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, buffer); - - return ReleaseTexImage(thread, dpyPacked, surfacePacked, buffer); -} - -EGLBoolean EGLAPIENTRY EGL_SurfaceAttrib(EGLDisplay dpy, - EGLSurface surface, - EGLint attribute, - EGLint value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SurfaceAttrib, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", attribute = %d, value = %d", - (uintptr_t)dpy, (uintptr_t)surface, attribute, value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, SurfaceAttrib, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, attribute, value); - - return SurfaceAttrib(thread, dpyPacked, surfacePacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_SwapInterval(EGLDisplay dpy, EGLint interval) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SwapInterval, "dpy = 0x%016" PRIxPTR ", interval = %d", (uintptr_t)dpy, interval); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, SwapInterval, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - interval); - - return SwapInterval(thread, dpyPacked, interval); -} - -// EGL 1.2 -EGLBoolean EGLAPIENTRY EGL_BindAPI(EGLenum api) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(BindAPI, "api = 0x%X", api); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, BindAPI, nullptr, EGLBoolean, api); - - return BindAPI(thread, api); -} - -EGLSurface EGLAPIENTRY EGL_CreatePbufferFromClientBuffer(EGLDisplay dpy, - EGLenum buftype, - EGLClientBuffer buffer, - EGLConfig config, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePbufferFromClientBuffer, - "dpy = 0x%016" PRIxPTR ", buftype = 0x%X, buffer = 0x%016" PRIxPTR - ", config = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, buftype, (uintptr_t)buffer, (uintptr_t)config, - (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePbufferFromClientBuffer, GetDisplayIfValid(dpyPacked), - EGLSurface, dpyPacked, buftype, buffer, configPacked, attrib_listPacked); - - return CreatePbufferFromClientBuffer(thread, dpyPacked, buftype, buffer, configPacked, - attrib_listPacked); -} - -EGLenum EGLAPIENTRY EGL_QueryAPI() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryAPI, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, QueryAPI, nullptr, EGLenum); - - return QueryAPI(thread); -} - -EGLBoolean EGLAPIENTRY EGL_ReleaseThread() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ReleaseThread, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, ReleaseThread, nullptr, EGLBoolean); - - return ReleaseThread(thread); -} - -EGLBoolean EGLAPIENTRY EGL_WaitClient() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(WaitClient, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, WaitClient, nullptr, EGLBoolean); - - return WaitClient(thread); -} - -// EGL 1.4 -EGLContext EGLAPIENTRY EGL_GetCurrentContext() -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetCurrentContext, ""); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetCurrentContext, nullptr, EGLContext); - - return GetCurrentContext(thread); -} - -// EGL 1.5 -EGLint EGLAPIENTRY EGL_ClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ClientWaitSync, - "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR ", flags = %d, timeout = %llu", - (uintptr_t)dpy, (uintptr_t)sync, flags, static_cast(timeout)); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, ClientWaitSync, GetDisplayIfValid(dpyPacked), EGLint, dpyPacked, - syncPacked, flags, timeout); - - return ClientWaitSync(thread, dpyPacked, syncPacked, flags, timeout); -} - -EGLImage EGLAPIENTRY EGL_CreateImage(EGLDisplay dpy, - EGLContext ctx, - EGLenum target, - EGLClientBuffer buffer, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateImage, - "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR - ", target = 0x%X, buffer = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)ctx, target, (uintptr_t)buffer, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateImage, GetDisplayIfValid(dpyPacked), EGLImage, dpyPacked, - ctxPacked, target, buffer, attrib_listPacked); - - return CreateImage(thread, dpyPacked, ctxPacked, target, buffer, attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurface(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePlatformPixmapSurface, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", native_pixmap = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_pixmap, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePlatformPixmapSurface, GetDisplayIfValid(dpyPacked), - EGLSurface, dpyPacked, configPacked, native_pixmap, attrib_listPacked); - - return CreatePlatformPixmapSurface(thread, dpyPacked, configPacked, native_pixmap, - attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurface(EGLDisplay dpy, - EGLConfig config, - void *native_window, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePlatformWindowSurface, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", native_window = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_window, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePlatformWindowSurface, GetDisplayIfValid(dpyPacked), - EGLSurface, dpyPacked, configPacked, native_window, attrib_listPacked); - - return CreatePlatformWindowSurface(thread, dpyPacked, configPacked, native_window, - attrib_listPacked); -} - -EGLSync EGLAPIENTRY EGL_CreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateSync, "dpy = 0x%016" PRIxPTR ", type = 0x%X, attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, type, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateSync, GetDisplayIfValid(dpyPacked), EGLSync, dpyPacked, type, - attrib_listPacked); - - return CreateSync(thread, dpyPacked, type, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroyImage(EGLDisplay dpy, EGLImage image) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroyImage, "dpy = 0x%016" PRIxPTR ", image = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)image); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Image *imagePacked = PackParam(image); - - ANGLE_EGL_VALIDATE(thread, DestroyImage, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - imagePacked); - - return DestroyImage(thread, dpyPacked, imagePacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroySync(EGLDisplay dpy, EGLSync sync) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroySync, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)sync); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, DestroySync, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - syncPacked); - - return DestroySync(thread, dpyPacked, syncPacked); -} - -EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplay(EGLenum platform, - void *native_display, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetPlatformDisplay, - "platform = 0x%X, native_display = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - platform, (uintptr_t)native_display, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, GetPlatformDisplay, nullptr, EGLDisplay, platform, native_display, - attrib_listPacked); - - return GetPlatformDisplay(thread, platform, native_display, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_GetSyncAttrib(EGLDisplay dpy, - EGLSync sync, - EGLint attribute, - EGLAttrib *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetSyncAttrib, - "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)sync, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, GetSyncAttrib, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - syncPacked, attribute, value); - - return GetSyncAttrib(thread, dpyPacked, syncPacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_WaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(WaitSync, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR ", flags = %d", - (uintptr_t)dpy, (uintptr_t)sync, flags); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, WaitSync, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - syncPacked, flags); - - return WaitSync(thread, dpyPacked, syncPacked, flags); -} - -} // extern "C" diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.cpp new file mode 100644 index 000000000000..fd30978ac250 --- /dev/null +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.cpp @@ -0,0 +1,1730 @@ +// +// Copyright 2014 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// entry_points_ext.cpp : Implements the EGL extension entry points. + +#include "libGLESv2/entry_points_egl_ext.h" + +#include "common/debug.h" +#include "libANGLE/Context.h" +#include "libANGLE/Device.h" +#include "libANGLE/Display.h" +#include "libANGLE/EGLSync.h" +#include "libANGLE/Stream.h" +#include "libANGLE/Surface.h" +#include "libANGLE/Thread.h" +#include "libANGLE/entry_points_utils.h" +#include "libANGLE/queryutils.h" +#include "libANGLE/validationEGL.h" +#include "libGLESv2/global_state.h" + +using namespace egl; + +extern "C" { + +// EGL_ANGLE_query_surface_pointer +EGLBoolean EGLAPIENTRY EGL_QuerySurfacePointerANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint attribute, + void **value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint attribute = %d, void " + "**value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + Error error = ValidateSurface(display, eglSurface); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + if (!display->getExtensions().querySurfacePointer) + { + thread->setSuccess(); + return EGL_FALSE; + } + + if (surface == EGL_NO_SURFACE) + { + thread->setError(EglBadSurface(), GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + // validate the attribute parameter + switch (attribute) + { + case EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE: + if (!display->getExtensions().surfaceD3DTexture2DShareHandle) + { + thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + break; + case EGL_DXGI_KEYED_MUTEX_ANGLE: + if (!display->getExtensions().keyedMutex) + { + thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + break; + default: + thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQuerySurfacePointerANGLE", + GetDisplayIfValid(display), EGL_FALSE); + error = eglSurface->querySurfacePointerANGLE(attribute, value); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQuerySurfacePointerANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_NV_post_sub_buffer +EGLBoolean EGLAPIENTRY EGL_PostSubBufferNV(EGLDisplay dpy, + EGLSurface surface, + EGLint x, + EGLint y, + EGLint width, + EGLint height) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint x = %d, EGLint y = %d, " + "EGLint width = %d, EGLint height = %d", + (uintptr_t)dpy, (uintptr_t)surface, x, y, width, height); + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + if (x < 0 || y < 0 || width < 0 || height < 0) + { + thread->setError(EglBadParameter(), GetDebug(), "eglPostSubBufferNV", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + Error error = ValidateSurface(display, eglSurface); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglPostSubBufferNV", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + if (display->testDeviceLost()) + { + thread->setError(EglContextLost(), GetDebug(), "eglPostSubBufferNV", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + if (surface == EGL_NO_SURFACE) + { + thread->setError(EglBadSurface(), GetDebug(), "eglPostSubBufferNV", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + if (!display->getExtensions().postSubBuffer) + { + // Spec is not clear about how this should be handled. + thread->setSuccess(); + return EGL_TRUE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPostSubBufferNV", + GetDisplayIfValid(display), EGL_FALSE); + // TODO(jmadill): Validate Surface is bound to the thread. + error = eglSurface->postSubBuffer(thread->getContext(), x, y, width, height); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglPostSubBufferNV", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_EXT_platform_base +EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplayEXT(EGLenum platform, + void *native_display, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLenum platform = %d, void* native_display = 0x%016" PRIxPTR + ", const EGLint* attrib_list = " + "0x%016" PRIxPTR, + platform, (uintptr_t)native_display, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + Error err = ValidateGetPlatformDisplayEXT(platform, native_display, attrib_list); + thread->setError(err, GetDebug(), "eglGetPlatformDisplayEXT", GetThreadIfValid(thread)); + if (err.isError()) + { + return EGL_NO_DISPLAY; + } + + const auto &attribMap = AttributeMap::CreateFromIntArray(attrib_list); + if (platform == EGL_PLATFORM_ANGLE_ANGLE) + { + return egl::Display::GetDisplayFromNativeDisplay( + gl::bitCast(native_display), attribMap); + } + else if (platform == EGL_PLATFORM_DEVICE_EXT) + { + Device *eglDevice = static_cast(native_display); + return egl::Display::GetDisplayFromDevice(eglDevice, attribMap); + } + else + { + UNREACHABLE(); + return EGL_NO_DISPLAY; + } +} + +EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_window, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", void *native_window = 0x%016" PRIxPTR + ", " + "const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_window, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN( + thread, + ValidateCreatePlatformWindowSurfaceEXT(display, configuration, native_window, attributes), + "eglCreatePlatformWindowSurfaceEXT", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformWindowSurfaceEXT", + GetDisplayIfValid(display), EGL_NO_SURFACE); + thread->setError(EglBadDisplay() << "CreatePlatformWindowSurfaceEXT unimplemented.", GetDebug(), + "eglCreatePlatformWindowSurfaceEXT", GetDisplayIfValid(display)); + return EGL_NO_SURFACE; +} + +EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLConfig config = 0x%016" PRIxPTR + ", void *native_pixmap = 0x%016" PRIxPTR + ", " + "const EGLint *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_pixmap, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Config *configuration = static_cast(config); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + ANGLE_EGL_TRY_RETURN( + thread, + ValidateCreatePlatformPixmapSurfaceEXT(display, configuration, native_pixmap, attributes), + "eglCreatePlatformPixmapSurfaceEXT", GetDisplayIfValid(display), EGL_NO_SURFACE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreatePlatformPixmapSurfaceEXT", + GetDisplayIfValid(display), EGL_NO_SURFACE); + thread->setError(EglBadDisplay() << "CreatePlatformPixmapSurfaceEXT unimplemented.", GetDebug(), + "eglCreatePlatformPixmapSurfaceEXT", GetDisplayIfValid(display)); + return EGL_NO_SURFACE; +} + +// EGL_EXT_device_query +EGLBoolean EGLAPIENTRY EGL_QueryDeviceAttribEXT(EGLDeviceEXT device, + EGLint attribute, + EGLAttrib *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDeviceEXT device = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLAttrib *value = 0x%016" PRIxPTR, + (uintptr_t)device, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + Device *dev = static_cast(device); + + Error error = ValidateDevice(dev); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryDeviceAttribEXT", GetDeviceIfValid(dev)); + return EGL_FALSE; + } + egl::Display *owningDisplay = dev->getOwningDisplay(); + if (owningDisplay) + { + ANGLE_EGL_TRY_RETURN(thread, owningDisplay->prepareForCall(), "eglQueryDeviceAttribEXT", + GetDisplayIfValid(owningDisplay), EGL_FALSE); + } + // If the device was created by (and is owned by) a display, and that display doesn't support + // device querying, then this call should fail + if (owningDisplay != nullptr && !owningDisplay->getExtensions().deviceQuery) + { + thread->setError(EglBadAccess() << "Device wasn't created using eglCreateDeviceANGLE, " + "and the egl::Display that created it doesn't support " + "device querying", + GetDebug(), "eglQueryDeviceAttribEXT", GetDeviceIfValid(dev)); + return EGL_FALSE; + } + + // validate the attribute parameter + switch (attribute) + { + case EGL_D3D11_DEVICE_ANGLE: + case EGL_D3D9_DEVICE_ANGLE: + if (!dev->getExtensions().deviceD3D || dev->getType() != attribute) + { + thread->setError(EglBadAttribute(), GetDebug(), "eglQueryDeviceAttribEXT", + GetDeviceIfValid(dev)); + return EGL_FALSE; + } + error = dev->getAttribute(attribute, value); + break; + case EGL_EAGL_CONTEXT_ANGLE: + if (!dev->getExtensions().deviceEAGL) + { + thread->setError(EglBadAttribute(), GetDebug(), "eglQueryDeviceAttribEXT", + GetDeviceIfValid(dev)); + return EGL_FALSE; + } + error = dev->getAttribute(attribute, value); + break; + case EGL_CGL_CONTEXT_ANGLE: + case EGL_CGL_PIXEL_FORMAT_ANGLE: + if (!dev->getExtensions().deviceCGL) + { + thread->setError(EglBadAttribute(), GetDebug(), "eglQueryDeviceAttribEXT", + GetDeviceIfValid(dev)); + return EGL_FALSE; + } + error = dev->getAttribute(attribute, value); + break; + default: + thread->setError(EglBadAttribute(), GetDebug(), "eglQueryDeviceAttribEXT", + GetDeviceIfValid(dev)); + return EGL_FALSE; + } + + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryDeviceAttribEXT", GetDeviceIfValid(dev)); + return EGL_FALSE; + } + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_EXT_device_query +const char *EGLAPIENTRY EGL_QueryDeviceStringEXT(EGLDeviceEXT device, EGLint name) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDeviceEXT device = 0x%016" PRIxPTR ", EGLint name = %d", (uintptr_t)device, + name); + Thread *thread = egl::GetCurrentThread(); + + Device *dev = static_cast(device); + + Error error = ValidateDevice(dev); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryDeviceStringEXT", GetDeviceIfValid(dev)); + return EGL_FALSE; + } + egl::Display *owningDisplay = dev->getOwningDisplay(); + ANGLE_EGL_TRY_RETURN(thread, owningDisplay->prepareForCall(), "eglQueryDeviceStringEXT", + GetDisplayIfValid(owningDisplay), EGL_FALSE); + const char *result; + switch (name) + { + case EGL_EXTENSIONS: + result = dev->getExtensionString().c_str(); + break; + default: + thread->setError(EglBadDevice(), GetDebug(), "eglQueryDeviceStringEXT", + GetDeviceIfValid(dev)); + return nullptr; + } + + thread->setSuccess(); + return result; +} + +// EGL_EXT_device_query +EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribEXT(EGLDisplay dpy, EGLint attribute, EGLAttrib *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLAttrib *value = 0x%016" PRIxPTR, + (uintptr_t)dpy, attribute, (uintptr_t)value); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateQueryDisplayAttribEXT(display, attribute), + "eglQueryDisplayAttribEXT", GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribEXT", + GetDisplayIfValid(display), EGL_FALSE); + *value = display->queryAttrib(attribute); + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_ANGLE_feature_control +EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribANGLE(EGLDisplay dpy, + EGLint attribute, + EGLAttrib *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLint attribute = %d, EGLAttrib *value = 0x%016" PRIxPTR, + (uintptr_t)dpy, attribute, (uintptr_t)value); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateQueryDisplayAttribANGLE(display, attribute), + "eglQueryDisplayAttribANGLE", GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryDisplayAttribANGLE", + GetDisplayIfValid(display), EGL_FALSE); + *value = display->queryAttrib(attribute); + thread->setSuccess(); + return EGL_TRUE; +} + +ANGLE_EXPORT EGLImageKHR EGLAPIENTRY EGL_CreateImageKHR(EGLDisplay dpy, + EGLContext ctx, + EGLenum target, + EGLClientBuffer buffer, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLContext ctx = %d" + ", EGLenum target = 0x%X, " + "EGLClientBuffer buffer = 0x%016" PRIxPTR + ", const EGLAttrib *attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, CID(dpy, ctx), target, (uintptr_t)buffer, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + Error error = ValidateCreateImageKHR(display, context, target, buffer, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateImageKHR", GetDisplayIfValid(display)); + return EGL_NO_IMAGE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", + GetDisplayIfValid(display), EGL_NO_IMAGE); + Image *image = nullptr; + error = display->createImage(context, target, buffer, attributes, &image); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateImageKHR", GetDisplayIfValid(display)); + return EGL_NO_IMAGE; + } + + thread->setSuccess(); + return static_cast(image); +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLImage image = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)image); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Image *img = static_cast(image); + + Error error = ValidateDestroyImageKHR(display, img); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglDestroyImageKHR", GetImageIfValid(display, img)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyImageKHR", + GetDisplayIfValid(display), EGL_FALSE); + display->destroyImage(img); + + thread->setSuccess(); + return EGL_TRUE; +} + +ANGLE_EXPORT EGLDeviceEXT EGLAPIENTRY EGL_CreateDeviceANGLE(EGLint device_type, + void *native_device, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLint device_type = %d, void* native_device = 0x%016" PRIxPTR + ", const EGLAttrib* attrib_list = " + "0x%016" PRIxPTR, + device_type, (uintptr_t)native_device, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + Error error = ValidateCreateDeviceANGLE(device_type, native_device, attrib_list); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateDeviceANGLE", GetThreadIfValid(thread)); + return EGL_NO_DEVICE_EXT; + } + + Device *device = nullptr; + error = Device::CreateDevice(device_type, native_device, &device); + if (error.isError()) + { + ASSERT(device == nullptr); + thread->setError(error, GetDebug(), "eglCreateDeviceANGLE", GetThreadIfValid(thread)); + return EGL_NO_DEVICE_EXT; + } + + thread->setSuccess(); + return device; +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_ReleaseDeviceANGLE(EGLDeviceEXT device) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDeviceEXT device = 0x%016" PRIxPTR, (uintptr_t)device); + Thread *thread = egl::GetCurrentThread(); + + Device *dev = static_cast(device); + + Error error = ValidateReleaseDeviceANGLE(dev); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglReleaseDeviceANGLE", GetDeviceIfValid(dev)); + return EGL_FALSE; + } + + SafeDelete(dev); + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_KHR_stream +EGLStreamKHR EGLAPIENTRY EGL_CreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", const EGLAttrib* attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + Error error = ValidateCreateStreamKHR(display, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateStreamKHR", GetDisplayIfValid(display)); + return EGL_NO_STREAM_KHR; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateStreamKHR", + GetDisplayIfValid(display), EGL_NO_STREAM_KHR); + Stream *stream; + error = display->createStream(attributes, &stream); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateStreamKHR", GetDisplayIfValid(display)); + return EGL_NO_STREAM_KHR; + } + + thread->setSuccess(); + return static_cast(stream); +} + +EGLBoolean EGLAPIENTRY EGL_DestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)stream); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + + Error error = ValidateDestroyStreamKHR(display, streamObject); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglDestroyStreamKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroyStreamKHR", + GetDisplayIfValid(display), EGL_FALSE); + display->destroyStream(streamObject); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamAttribKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", EGLenum attribute = 0x%X, " + "EGLint value = 0x%X", + (uintptr_t)dpy, (uintptr_t)stream, attribute, value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + + Error error = ValidateStreamAttribKHR(display, streamObject, attribute, value); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamAttribKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamAttribKHR", + GetDisplayIfValid(display), EGL_FALSE); + switch (attribute) + { + case EGL_CONSUMER_LATENCY_USEC_KHR: + streamObject->setConsumerLatency(value); + break; + case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: + streamObject->setConsumerAcquireTimeout(value); + break; + default: + UNREACHABLE(); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_QueryStreamKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", EGLenum attribute = 0x%X, " + "EGLint value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)stream, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + + Error error = ValidateQueryStreamKHR(display, streamObject, attribute, value); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryStreamKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamKHR", + GetDisplayIfValid(display), EGL_FALSE); + switch (attribute) + { + case EGL_STREAM_STATE_KHR: + *value = streamObject->getState(); + break; + case EGL_CONSUMER_LATENCY_USEC_KHR: + *value = streamObject->getConsumerLatency(); + break; + case EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR: + *value = streamObject->getConsumerAcquireTimeout(); + break; + default: + UNREACHABLE(); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_QueryStreamu64KHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLuint64KHR *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", EGLenum attribute = 0x%X, " + "EGLuint64KHR value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)stream, attribute, (uintptr_t)value); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + + Error error = ValidateQueryStreamu64KHR(display, streamObject, attribute, value); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryStreamu64KHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStreamu64KHR", + GetDisplayIfValid(display), EGL_FALSE); + switch (attribute) + { + case EGL_PRODUCER_FRAME_KHR: + *value = streamObject->getProducerFrame(); + break; + case EGL_CONSUMER_FRAME_KHR: + *value = streamObject->getConsumerFrame(); + break; + default: + UNREACHABLE(); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)stream); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + gl::Context *context = gl::GetValidGlobalContext(); + + Error error = ValidateStreamConsumerGLTextureExternalKHR(display, context, streamObject); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerGLTextureExternalKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerGLTextureExternalKHR", + GetDisplayIfValid(display), EGL_FALSE); + error = streamObject->createConsumerGLTextureExternal(AttributeMap(), context); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerGLTextureExternalKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)stream); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + gl::Context *context = gl::GetValidGlobalContext(); + + Error error = ValidateStreamConsumerAcquireKHR(display, context, streamObject); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerAcquireKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerAcquireKHR", + GetDisplayIfValid(display), EGL_FALSE); + error = streamObject->consumerAcquire(context); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerAcquireKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamConsumerReleaseKHR(EGLDisplay dpy, EGLStreamKHR stream) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)stream); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + gl::Context *context = gl::GetValidGlobalContext(); + + Error error = ValidateStreamConsumerReleaseKHR(display, context, streamObject); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglSStreamConsumerReleaseKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamConsumerReleaseKHR", + GetDisplayIfValid(display), EGL_FALSE); + error = streamObject->consumerRelease(context); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerReleaseKHR", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", EGLAttrib attrib_list = 0x%016" PRIxPTR "", + (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + gl::Context *context = gl::GetValidGlobalContext(); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + Error error = ValidateStreamConsumerGLTextureExternalAttribsNV(display, context, streamObject, + attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerGLTextureExternalAttribsNV", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), + "eglStreamConsumerGLTextureExternalAttribsNV", GetDisplayIfValid(display), + EGL_FALSE); + error = streamObject->createConsumerGLTextureExternal(attributes, context); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamConsumerGLTextureExternalAttribsNV", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_CreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", EGLAttrib attrib_list = 0x%016" PRIxPTR "", + (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + Error error = ValidateCreateStreamProducerD3DTextureANGLE(display, streamObject, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateStreamProducerD3DTextureANGLE", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), + "eglCreateStreamProducerD3DTextureANGLE", GetDisplayIfValid(display), + EGL_FALSE); + error = streamObject->createProducerD3D11Texture(attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglCreateStreamProducerD3DTextureANGLE", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_StreamPostD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + void *texture, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLStreamKHR stream = 0x%016" PRIxPTR + ", void* texture = 0x%016" PRIxPTR + ", " + "EGLAttrib attrib_list = 0x%016" PRIxPTR "", + (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)texture, (uintptr_t)attrib_list); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Stream *streamObject = static_cast(stream); + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + Error error = ValidateStreamPostD3DTextureANGLE(display, streamObject, texture, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamPostD3DTextureANGLE", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglStreamPostD3DTextureANGLE", + GetDisplayIfValid(display), EGL_FALSE); + error = streamObject->postD3D11Texture(texture, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglStreamPostD3DTextureANGLE", + GetStreamIfValid(display, streamObject)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_KHR_fence_sync +ANGLE_EXPORT EGLSync EGLAPIENTRY EGL_CreateSyncKHR(EGLDisplay dpy, + EGLenum type, + const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLenum type = 0x%X, const EGLint* attrib_list = 0x%016" PRIxPTR, + (uintptr_t)dpy, type, (uintptr_t)attrib_list); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + AttributeMap attributes = AttributeMap::CreateFromIntArray(attrib_list); + + gl::Context *currentContext = thread->getContext(); + egl::Display *currentDisplay = currentContext ? currentContext->getDisplay() : nullptr; + + ANGLE_EGL_TRY_RETURN( + thread, ValidateCreateSyncKHR(display, type, attributes, currentDisplay, currentContext), + "eglCreateSync", GetDisplayIfValid(display), EGL_NO_SYNC); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateSync", + GetDisplayIfValid(display), EGL_NO_SYNC); + egl::Sync *syncObject = nullptr; + ANGLE_EGL_TRY_RETURN(thread, display->createSync(currentContext, type, attributes, &syncObject), + "eglCreateSync", GetDisplayIfValid(display), EGL_NO_SYNC); + + thread->setSuccess(); + return static_cast(syncObject); +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroySyncKHR(EGLDisplay dpy, EGLSync sync) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR, (uintptr_t)dpy, + (uintptr_t)sync); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDestroySync(display, syncObject), "eglDestroySync", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDestroySync", + GetDisplayIfValid(display), EGL_FALSE); + display->destroySync(syncObject); + + thread->setSuccess(); + return EGL_TRUE; +} + +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ClientWaitSyncKHR(EGLDisplay dpy, + EGLSync sync, + EGLint flags, + EGLTime timeout) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR + ", EGLint flags = 0x%X, EGLTime timeout = " + "%llu", + (uintptr_t)dpy, (uintptr_t)sync, flags, static_cast(timeout)); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateClientWaitSync(display, syncObject, flags, timeout), + "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", + GetDisplayIfValid(display), EGL_FALSE); + gl::Context *currentContext = thread->getContext(); + EGLint syncStatus = EGL_FALSE; + ANGLE_EGL_TRY_RETURN( + thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), + "eglClientWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return syncStatus; +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncAttribKHR(EGLDisplay dpy, + EGLSync sync, + EGLint attribute, + EGLint *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR + ", EGLint attribute = 0x%X, EGLAttrib " + "*value = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)sync, attribute, (uintptr_t)value); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetSyncAttribKHR(display, syncObject, attribute, value), + "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncAttrib", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, GetSyncAttrib(display, syncObject, attribute, value), + "eglGetSyncAttrib", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_KHR_wait_sync +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR "p, EGLSync sync = 0x%016" PRIxPTR + ", EGLint flags = 0x%X", + (uintptr_t)dpy, (uintptr_t)sync, flags); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + gl::Context *context = thread->getContext(); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateWaitSync(display, context, syncObject, flags), + "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglWaitSync", + GetDisplayIfValid(display), EGL_FALSE); + gl::Context *currentContext = thread->getContext(); + ANGLE_EGL_TRY_RETURN(thread, syncObject->serverWait(display, currentContext, flags), + "eglWaitSync", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_GetMscRateANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint *numerator, + EGLint *denominator) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint* numerator = 0x%016" PRIxPTR + ", " + "EGLint* denomintor = 0x%016" PRIxPTR "", + (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)numerator, (uintptr_t)denominator); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + Error error = ValidateGetMscRateANGLE(display, eglSurface, numerator, denominator); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglGetMscRateANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetMscRateANGLE", + GetDisplayIfValid(display), EGL_FALSE); + error = eglSurface->getMscRate(numerator, denominator); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglGetMscRateANGLE", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_GetSyncValuesCHROMIUM(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR *ust, + EGLuint64KHR *msc, + EGLuint64KHR *sbc) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLuint64KHR* ust = 0x%016" PRIxPTR + ", " + "EGLuint64KHR* msc = 0x%016" PRIxPTR ", EGLuint64KHR* sbc = 0x%016" PRIxPTR "", + (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)ust, (uintptr_t)msc, (uintptr_t)sbc); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + Error error = ValidateGetSyncValuesCHROMIUM(display, eglSurface, ust, msc, sbc); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglGetSyncValuesCHROMIUM", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetSyncValuesCHROMIUM", + GetDisplayIfValid(display), EGL_FALSE); + error = eglSurface->getSyncValues(ust, msc, sbc); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglGetSyncValuesCHROMIUM", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithDamageKHR(EGLDisplay dpy, + EGLSurface surface, + EGLint *rects, + EGLint n_rects) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint *rects = 0x%016" PRIxPTR + ", EGLint " + "n_rects = %d", + (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)rects, n_rects); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + Error error = ValidateSwapBuffersWithDamageKHR(display, eglSurface, rects, n_rects); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglSwapBuffersWithDamageEXT", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithDamageEXT", + GetDisplayIfValid(display), EGL_FALSE); + error = eglSurface->swapWithDamage(thread->getContext(), rects, n_rects); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglSwapBuffersWithDamageEXT", + GetSurfaceIfValid(display, eglSurface)); + return EGL_FALSE; + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLBoolean EGLAPIENTRY EGL_PresentationTimeANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLnsecsANDROID time) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLnsecsANDROID time = %llu", + (uintptr_t)dpy, (uintptr_t)surface, static_cast(time)); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + + ANGLE_EGL_TRY_RETURN(thread, ValidatePresentationTimeANDROID(display, eglSurface, time), + "eglPresentationTimeANDROID", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglPresentationTimeANDROID", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, eglSurface->setPresentationTime(time), + "eglPresentationTimeANDROID", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + + return EGL_TRUE; +} + +ANGLE_EXPORT void EGLAPIENTRY EGL_SetBlobCacheFuncsANDROID(EGLDisplay dpy, + EGLSetBlobFuncANDROID set, + EGLGetBlobFuncANDROID get) +{ + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSetBlobFuncANDROID set = 0x%016" PRIxPTR + ", EGLGetBlobFuncANDROID get " + "= 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)set, (uintptr_t)get); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + + ANGLE_EGL_TRY(thread, ValidateSetBlobCacheANDROID(display, set, get), + "eglSetBlobCacheFuncsANDROID", GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglSetBlobCacheFuncsANDROID", + GetDisplayIfValid(display)); + thread->setSuccess(); + display->setBlobCacheFuncs(set, get); +} + +EGLint EGLAPIENTRY EGL_ProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLenum attrib = 0x%X", (uintptr_t)dpy, attrib); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateProgramCacheGetAttribANGLE(display, attrib), + "eglProgramCacheGetAttribANGLE", GetDisplayIfValid(display), 0); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheGetAttribANGLE", + GetDisplayIfValid(display), 0); + thread->setSuccess(); + return display->programCacheGetAttrib(attrib); +} + +void EGLAPIENTRY EGL_ProgramCacheQueryANGLE(EGLDisplay dpy, + EGLint index, + void *key, + EGLint *keysize, + void *binary, + EGLint *binarysize) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint index = %d, void *key = 0x%016" PRIxPTR + ", EGLint *keysize = " + "0x%016" PRIxPTR ", void *binary = 0x%016" PRIxPTR ", EGLint *size = 0x%016" PRIxPTR, + (uintptr_t)dpy, index, (uintptr_t)key, (uintptr_t)keysize, (uintptr_t)binary, + (uintptr_t)binarysize); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY(thread, + ValidateProgramCacheQueryANGLE(display, index, key, keysize, binary, binarysize), + "eglProgramCacheQueryANGLE", GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCacheQueryANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->programCacheQuery(index, key, keysize, binary, binarysize), + "eglProgramCacheQueryANGLE", GetDisplayIfValid(display)); + + thread->setSuccess(); +} + +void EGLAPIENTRY EGL_ProgramCachePopulateANGLE(EGLDisplay dpy, + const void *key, + EGLint keysize, + const void *binary, + EGLint binarysize) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", void *key = 0x%016" PRIxPTR + ", EGLint keysize = %d, void *binary = " + "0x%016" PRIxPTR ", EGLint size = %d", + (uintptr_t)dpy, (uintptr_t)key, keysize, (uintptr_t)binary, binarysize); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY(thread, + ValidateProgramCachePopulateANGLE(display, key, keysize, binary, binarysize), + "eglProgramCachePopulateANGLE", GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglProgramCachePopulateANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->programCachePopulate(key, keysize, binary, binarysize), + "eglProgramCachePopulateANGLE", GetDisplayIfValid(display)); + + thread->setSuccess(); +} + +EGLint EGLAPIENTRY EGL_ProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLenum mode) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint limit = %d, EGLenum mode = 0x%X", + (uintptr_t)dpy, limit, mode); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateProgramCacheResizeANGLE(display, limit, mode), + "eglProgramCacheResizeANGLE", GetDisplayIfValid(display), 0); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglProgramCacheResizeANGLE", + GetDisplayIfValid(display), 0); + thread->setSuccess(); + return display->programCacheResize(limit, mode); +} + +EGLint EGLAPIENTRY EGL_DebugMessageControlKHR(EGLDEBUGPROCKHR callback, + const EGLAttrib *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDEBUGPROCKHR callback = 0x%016" PRIxPTR + ", EGLAttrib attrib_list = 0x%016" PRIxPTR, + (uintptr_t)callback, (uintptr_t)attrib_list); + + Thread *thread = egl::GetCurrentThread(); + + AttributeMap attributes = AttributeMap::CreateFromAttribArray(attrib_list); + + Error error = ValidateDebugMessageControlKHR(callback, attributes); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglDebugMessageControlKHR", nullptr); + return error.getCode(); + } + + Debug *debug = GetDebug(); + debug->setCallback(callback, attributes); + + thread->setSuccess(); + return EGL_SUCCESS; +} + +EGLBoolean EGLAPIENTRY EGL_QueryDebugKHR(EGLint attribute, EGLAttrib *value) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLint attribute = 0x%X, EGLAttrib* value = 0x%016" PRIxPTR, attribute, + (uintptr_t)value); + + Thread *thread = egl::GetCurrentThread(); + + Error error = ValidateQueryDebugKHR(attribute, value); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglQueryDebugKHR", nullptr); + return EGL_FALSE; + } + + Debug *debug = GetDebug(); + switch (attribute) + { + case EGL_DEBUG_MSG_CRITICAL_KHR: + case EGL_DEBUG_MSG_ERROR_KHR: + case EGL_DEBUG_MSG_WARN_KHR: + case EGL_DEBUG_MSG_INFO_KHR: + *value = debug->isMessageTypeEnabled(FromEGLenum(attribute)) ? EGL_TRUE + : EGL_FALSE; + break; + case EGL_DEBUG_CALLBACK_KHR: + *value = reinterpret_cast(debug->getCallback()); + break; + + default: + UNREACHABLE(); + } + + thread->setSuccess(); + return EGL_TRUE; +} + +EGLint EGLAPIENTRY EGL_LabelObjectKHR(EGLDisplay dpy, + EGLenum objectType, + EGLObjectKHR object, + EGLLabelKHR label) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR + ", EGLenum objectType = 0x%X, EGLObjectKHR object = 0x%016" PRIxPTR + ", " + "EGLLabelKHR label = 0x%016" PRIxPTR, + (uintptr_t)dpy, objectType, (uintptr_t)object, (uintptr_t)label); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ObjectType objectTypePacked = FromEGLenum(objectType); + Error error = ValidateLabelObjectKHR(thread, display, objectTypePacked, object, label); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglLabelObjectKHR", + GetLabeledObjectIfValid(thread, display, objectTypePacked, object)); + return error.getCode(); + } + if (display) + { + error = display->prepareForCall(); + if (error.isError()) + { + thread->setError(error, GetDebug(), "eglLabelObjectKHR", GetDisplayIfValid(display)); + return error.getCode(); + } + } + LabeledObject *labeledObject = + GetLabeledObjectIfValid(thread, display, objectTypePacked, object); + ASSERT(labeledObject != nullptr); + labeledObject->setLabel(label); + + thread->setSuccess(); + return EGL_SUCCESS; +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingSupportedANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint name) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint name = 0x%X", + (uintptr_t)dpy, (uintptr_t)surface, name); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + CompositorTiming nameInternal = FromEGLenum(name); + + ANGLE_EGL_TRY_RETURN( + thread, ValidateGetCompositorTimingSupportedANDROID(display, eglSurface, nameInternal), + "eglQueryTimestampSupportedANDROID", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return eglSurface->getSupportedCompositorTimings().test(nameInternal); +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint numTimestamps, + const EGLint *names, + EGLnsecsANDROID *values) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint numTimestamps = %d, const EGLint *names = 0x%016" PRIxPTR + ", EGLnsecsANDROID *values = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, numTimestamps, (uintptr_t)names, + (uintptr_t)values); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN( + thread, + ValidateGetCompositorTimingANDROID(display, eglSurface, numTimestamps, names, values), + "eglGetCompositorTimingANDROIDD", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetCompositorTimingANDROIDD", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, eglSurface->getCompositorTiming(numTimestamps, names, values), + "eglGetCompositorTimingANDROIDD", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetNextFrameIdANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR *frameId) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLuint64KHR *frameId = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)frameId); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetNextFrameIdANDROID(display, eglSurface, frameId), + "eglGetNextFrameIdANDROID", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetNextFrameIdANDROID", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, eglSurface->getNextFrameId(frameId), "eglGetNextFrameIdANDROID", + GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampSupportedANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint timestamp) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLint timestamp = 0x%X", + (uintptr_t)dpy, (uintptr_t)surface, timestamp); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + Timestamp timestampInternal = FromEGLenum(timestamp); + + ANGLE_EGL_TRY_RETURN( + thread, ValidateGetFrameTimestampSupportedANDROID(display, eglSurface, timestampInternal), + "eglQueryTimestampSupportedANDROID", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryTimestampSupportedANDROID", + GetDisplayIfValid(display), EGL_FALSE); + thread->setSuccess(); + return eglSurface->getSupportedTimestamps().test(timestampInternal); +} + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampsANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR frameId, + EGLint numTimestamps, + const EGLint *timestamps, + EGLnsecsANDROID *values) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT( + "EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLuint64KHR frameId = %llu, EGLint numTimestamps = %d, const EGLint *timestamps = " + "0x%016" PRIxPTR ", EGLnsecsANDROID *values = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)surface, (unsigned long long)frameId, numTimestamps, + (uintptr_t)timestamps, (uintptr_t)values); + + egl::Display *display = static_cast(dpy); + Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, + ValidateGetFrameTimestampsANDROID(display, eglSurface, frameId, + numTimestamps, timestamps, values), + "eglGetFrameTimestampsANDROID", GetSurfaceIfValid(display, eglSurface), + EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglGetFrameTimestampsANDROID", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN( + thread, eglSurface->getFrameTimestamps(frameId, numTimestamps, timestamps, values), + "eglGetFrameTimestampsANDROID", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +// EGL_ANGLE_feature_control +ANGLE_EXPORT const char *EGLAPIENTRY EGL_QueryStringiANGLE(EGLDisplay dpy, + EGLint name, + EGLint index) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLint name = %d, EGLint index = %d", + (uintptr_t)dpy, name, index); + + egl::Display *display = static_cast(dpy); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateQueryStringiANGLE(display, name, index), + "eglQueryStringiANGLE", GetDisplayIfValid(display), nullptr); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglQueryStringiANGLE", + GetDisplayIfValid(display), nullptr); + thread->setSuccess(); + return display->queryStringi(name, index); +} + +EGLClientBuffer EGLAPIENTRY EGL_GetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("const struct AHardwareBuffer *buffer = 0x%016" PRIxPTR, (uintptr_t)buffer); + + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateGetNativeClientBufferANDROID(buffer), + "eglGetNativeClientBufferANDROID", nullptr, nullptr); + + thread->setSuccess(); + return egl::Display::GetNativeClientBuffer(buffer); +} + +EGLClientBuffer EGLAPIENTRY EGL_CreateNativeClientBufferANDROID(const EGLint *attrib_list) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("const EGLint *attrib_list = 0x%016" PRIxPTR, (uintptr_t)attrib_list); + + Thread *thread = egl::GetCurrentThread(); + ANGLE_EGL_TRY_RETURN(thread, + (attrib_list == nullptr || attrib_list[0] == EGL_NONE) + ? egl::EglBadParameter() << "invalid attribute list." + : NoError(), + "eglCreateNativeClientBufferANDROID", nullptr, nullptr); + + const AttributeMap &attribMap = AttributeMap::CreateFromIntArray(attrib_list); + ANGLE_EGL_TRY_RETURN(thread, ValidateCreateNativeClientBufferANDROID(attribMap), + "eglCreateNativeClientBufferANDROID", nullptr, nullptr); + + EGLClientBuffer eglClientBuffer = nullptr; + ANGLE_EGL_TRY_RETURN(thread, + egl::Display::CreateNativeClientBuffer(attribMap, &eglClientBuffer), + "eglCreateNativeClientBufferANDROID", nullptr, nullptr); + + thread->setSuccess(); + return eglClientBuffer; +} + +EGLint EGLAPIENTRY EGL_DupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSyncKHR sync = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)sync); + + egl::Display *display = static_cast(dpy); + Sync *syncObject = static_cast(sync); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN(thread, ValidateDupNativeFenceFDANDROID(display, syncObject), + "eglDupNativeFenceFDANDROID", GetSyncIfValid(display, syncObject), + EGL_NO_NATIVE_FENCE_FD_ANDROID); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglDupNativeFenceFDANDROID", + GetDisplayIfValid(display), EGL_NO_NATIVE_FENCE_FD_ANDROID); + EGLint result = EGL_NO_NATIVE_FENCE_FD_ANDROID; + ANGLE_EGL_TRY_RETURN(thread, syncObject->dupNativeFenceFD(display, &result), + "eglDupNativeFenceFDANDROID", GetSyncIfValid(display, syncObject), + EGL_NO_NATIVE_FENCE_FD_ANDROID); + + thread->setSuccess(); + return result; +} + +EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLFrameTokenANGLE frametoken) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSurface surface = 0x%016" PRIxPTR + ", EGLFrameTokenANGLE frametoken = 0x%llX", + (uintptr_t)dpy, (uintptr_t)surface, (unsigned long long)frametoken); + + egl::Display *display = static_cast(dpy); + egl::Surface *eglSurface = static_cast(surface); + Thread *thread = egl::GetCurrentThread(); + + ANGLE_EGL_TRY_RETURN( + thread, ValidateSwapBuffersWithFrameTokenANGLE(display, eglSurface, frametoken), + "eglSwapBuffersWithFrameTokenANGLE", GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglSwapBuffersWithFrameTokenANGLE", + GetDisplayIfValid(display), EGL_FALSE); + ANGLE_EGL_TRY_RETURN(thread, eglSurface->swapWithFrameToken(thread->getContext(), frametoken), + "eglSwapBuffersWithFrameTokenANGLE", GetDisplayIfValid(display), + EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +void EGLAPIENTRY EGL_ReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLContext ctx = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)ctx); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + + ANGLE_EGL_TRY(thread, ValidateContext(display, context), "eglReleaseHighPowerGPUANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReleaseHighPowerGPUANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, context->releaseHighPowerGPU(), "eglReleaseHighPowerGPUANGLE", + GetDisplayIfValid(display)); + + thread->setSuccess(); +} + +void EGLAPIENTRY EGL_ReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLContext ctx = 0x%016" PRIxPTR, + (uintptr_t)dpy, (uintptr_t)ctx); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + gl::Context *context = static_cast(ctx); + + ANGLE_EGL_TRY(thread, ValidateContext(display, context), "eglReacquireHighPowerGPUANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglReacquireHighPowerGPUANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, context->reacquireHighPowerGPU(), "eglReacquireHighPowerGPUANGLE", + GetDisplayIfValid(display)); + + thread->setSuccess(); +} + +void EGLAPIENTRY EGL_HandleGPUSwitchANGLE(EGLDisplay dpy) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR, (uintptr_t)dpy); + Thread *thread = egl::GetCurrentThread(); + + egl::Display *display = static_cast(dpy); + + ANGLE_EGL_TRY(thread, ValidateDisplay(display), "eglHandleGPUSwitchANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->prepareForCall(), "eglHandleGPUSwitchANGLE", + GetDisplayIfValid(display)); + ANGLE_EGL_TRY(thread, display->handleGPUSwitch(), "eglHandleGPUSwitchANGLE", + GetDisplayIfValid(display)); + + thread->setSuccess(); +} + +// EGL_KHR_reusable_sync +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SignalSyncKHR(EGLDisplay dpy, EGLSync sync, EGLenum mode) +{ + ANGLE_SCOPED_GLOBAL_LOCK(); + FUNC_EVENT("EGLDisplay dpy = 0x%016" PRIxPTR ", EGLSync sync = 0x%016" PRIxPTR + ", EGLint mode = 0x%X", + (uintptr_t)dpy, (uintptr_t)sync, mode); + + Thread *thread = egl::GetCurrentThread(); + egl::Display *display = static_cast(dpy); + egl::Sync *syncObject = static_cast(sync); + + ANGLE_EGL_TRY_RETURN(thread, ValidateSignalSyncKHR(display, syncObject, mode), + "eglSignalSyncKHR", GetSyncIfValid(display, syncObject), EGL_FALSE); + + gl::Context *currentContext = thread->getContext(); + ANGLE_EGL_TRY_RETURN(thread, syncObject->signal(display, currentContext, mode), + "eglSignalSyncKHR", GetSyncIfValid(display, syncObject), EGL_FALSE); + + thread->setSuccess(); + return EGL_TRUE; +} + +} // extern "C" diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.h similarity index 91% rename from gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.h rename to gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.h index 7eef98aab1ac..ab9955611ec8 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext.h @@ -1,15 +1,13 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. // -// Copyright 2020 The ANGLE Project Authors. All rights reserved. +// Copyright 2014 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// entry_points_egl_ext_autogen.h: -// Defines the EGL Extension entry points. -#ifndef LIBGLESV2_ENTRY_POINTS_EGL_EXT_AUTOGEN_H_ -#define LIBGLESV2_ENTRY_POINTS_EGL_EXT_AUTOGEN_H_ +// entry_points_egl_ext.h : Defines the EGL extension entry points. + +#ifndef LIBGLESV2_ENTRYPOINTSEGLEXT_H_ +#define LIBGLESV2_ENTRYPOINTSEGLEXT_H_ #include #include @@ -17,48 +15,56 @@ extern "C" { -// EGL_ANDROID_blob_cache -ANGLE_EXPORT void EGLAPIENTRY EGL_SetBlobCacheFuncsANDROID(EGLDisplay dpy, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get); +// EGL_ANGLE_query_surface_pointer +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QuerySurfacePointerANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint attribute, + void **value); -// EGL_ANDROID_create_native_client_buffer -ANGLE_EXPORT EGLClientBuffer EGLAPIENTRY -EGL_CreateNativeClientBufferANDROID(const EGLint *attrib_list); +// EGL_NV_post_sub_buffer +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_PostSubBufferNV(EGLDisplay dpy, + EGLSurface surface, + EGLint x, + EGLint y, + EGLint width, + EGLint height); -// EGL_ANDROID_get_frame_timestamps -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingSupportedANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint name); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint numTimestamps, - const EGLint *names, - EGLnsecsANDROID *values); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetNextFrameIdANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR *frameId); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampSupportedANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint timestamp); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampsANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - EGLnsecsANDROID *values); +// EGL_EXT_platform_base +ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplayEXT(EGLenum platform, + void *native_display, + const EGLint *attrib_list); +ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_window, + const EGLint *attrib_list); +ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, + EGLConfig config, + void *native_pixmap, + const EGLint *attrib_list); -// EGL_ANDROID_get_native_client_buffer -ANGLE_EXPORT EGLClientBuffer EGLAPIENTRY -EGL_GetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer); +// EGL_EXT_device_query +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribEXT(EGLDisplay dpy, + EGLint attribute, + EGLAttrib *value); -// EGL_ANDROID_native_fence_sync -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_DupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync); +// EGL_ANGLE_feature_control +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribANGLE(EGLDisplay dpy, + EGLint attribute, + EGLAttrib *value); -// EGL_ANDROID_presentation_time -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_PresentationTimeANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLnsecsANDROID time); +// EGL_EXT_device_query +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDeviceAttribEXT(EGLDeviceEXT device, + EGLint attribute, + EGLAttrib *value); +ANGLE_EXPORT const char *EGLAPIENTRY EGL_QueryDeviceStringEXT(EGLDeviceEXT device, EGLint name); + +// EGL_KHR_image_base/EGL_KHR_image +ANGLE_EXPORT EGLImageKHR EGLAPIENTRY EGL_CreateImageKHR(EGLDisplay dpy, + EGLContext ctx, + EGLenum target, + EGLClientBuffer buffer, + const EGLint *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyImageKHR(EGLDisplay dpy, EGLImageKHR image); // EGL_ANGLE_device_creation ANGLE_EXPORT EGLDeviceEXT EGLAPIENTRY EGL_CreateDeviceANGLE(EGLint device_type, @@ -66,18 +72,90 @@ ANGLE_EXPORT EGLDeviceEXT EGLAPIENTRY EGL_CreateDeviceANGLE(EGLint device_type, const EGLAttrib *attrib_list); ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_ReleaseDeviceANGLE(EGLDeviceEXT device); -// EGL_ANGLE_feature_control -ANGLE_EXPORT const char *EGLAPIENTRY EGL_QueryStringiANGLE(EGLDisplay dpy, - EGLint name, - EGLint index); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribANGLE(EGLDisplay dpy, - EGLint attribute, - EGLAttrib *value); +// EGL_KHR_stream +ANGLE_EXPORT EGLStreamKHR EGLAPIENTRY EGL_CreateStreamKHR(EGLDisplay dpy, + const EGLint *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamAttribKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint value); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryStreamKHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLint *value); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryStreamu64KHR(EGLDisplay dpy, + EGLStreamKHR stream, + EGLenum attribute, + EGLuint64KHR *value); -// EGL_ANGLE_power_preference -ANGLE_EXPORT void EGLAPIENTRY EGL_ReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); -ANGLE_EXPORT void EGLAPIENTRY EGL_ReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); -ANGLE_EXPORT void EGLAPIENTRY EGL_HandleGPUSwitchANGLE(EGLDisplay dpy); +// EGL_KHR_stream_consumer_gltexture +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalKHR(EGLDisplay dpy, + EGLStreamKHR stream); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerAcquireKHR(EGLDisplay dpy, + EGLStreamKHR stream); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerReleaseKHR(EGLDisplay dpy, + EGLStreamKHR stream); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY +EGL_StreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list); + +// EGL_ANGLE_stream_producer_d3d_texture +ANGLE_EXPORT EGLBoolean EGLAPIENTRY +EGL_CreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + const EGLAttrib *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamPostD3DTextureANGLE(EGLDisplay dpy, + EGLStreamKHR stream, + void *texture, + const EGLAttrib *attrib_list); + +// EGL_KHR_fence_sync +ANGLE_EXPORT EGLSync EGLAPIENTRY EGL_CreateSyncKHR(EGLDisplay dpy, + EGLenum type, + const EGLint *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroySyncKHR(EGLDisplay dpy, EGLSync sync); +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ClientWaitSyncKHR(EGLDisplay dpy, + EGLSync sync, + EGLint flags, + EGLTime timeout); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncAttribKHR(EGLDisplay dpy, + EGLSync sync, + EGLint attribute, + EGLint *value); + +// EGL_KHR_wait_sync +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_WaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags); + +// EGL_CHROMIUM_sync_control +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncValuesCHROMIUM(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR *ust, + EGLuint64KHR *msc, + EGLuint64KHR *sbc); + +// EGL_ANGLE_sync_control_rate +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetMscRateANGLE(EGLDisplay dpy, + EGLSurface surface, + EGLint *numerator, + EGLint *denominator); + +// EGL_KHR_swap_buffers_with_damage +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithDamageKHR(EGLDisplay dpy, + EGLSurface surface, + EGLint *rects, + EGLint n_rects); + +// EGL_ANDROID_presentation_time +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_PresentationTimeANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLnsecsANDROID time); + +// EGL_ANDRIOD_blob_cache +ANGLE_EXPORT void EGLAPIENTRY EGL_SetBlobCacheFuncsANDROID(EGLDisplay dpy, + EGLSetBlobFuncANDROID set, + EGLGetBlobFuncANDROID get); // EGL_ANGLE_program_cache_control ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib); @@ -94,23 +172,60 @@ ANGLE_EXPORT void EGLAPIENTRY EGL_ProgramCachePopulateANGLE(EGLDisplay dpy, EGLint binarysize); ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, - EGLint mode); + EGLenum mode); -// EGL_ANGLE_query_surface_pointer -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QuerySurfacePointerANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint attribute, - void **value); +// EGL_KHR_debug +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_DebugMessageControlKHR(EGLDEBUGPROCKHR callback, + const EGLAttrib *attrib_list); -// EGL_ANGLE_stream_producer_d3d_texture -ANGLE_EXPORT EGLBoolean EGLAPIENTRY -EGL_CreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamPostD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - void *texture, - const EGLAttrib *attrib_list); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDebugKHR(EGLint attribute, EGLAttrib *value); + +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_LabelObjectKHR(EGLDisplay display, + EGLenum objectType, + EGLObjectKHR object, + EGLLabelKHR label); + +// ANDROID_get_frame_timestamps +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingSupportedANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint name); + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint numTimestamps, + const EGLint *names, + EGLnsecsANDROID *values); + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetNextFrameIdANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR *frameId); + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampSupportedANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLint timestamp); + +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampsANDROID(EGLDisplay dpy, + EGLSurface surface, + EGLuint64KHR frameId, + EGLint numTimestamps, + const EGLint *timestamps, + EGLnsecsANDROID *values); + +// EGL_ANGLE_feature_control +ANGLE_EXPORT const char *EGLAPIENTRY EGL_QueryStringiANGLE(EGLDisplay dpy, + EGLint name, + EGLint index); + +// EGL_ANDROID_get_native_client_buffer +ANGLE_EXPORT EGLClientBuffer EGLAPIENTRY +EGL_GetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer); + +// EGL_ANDROID_create_native_client_buffer +ANGLE_EXPORT EGLClientBuffer EGLAPIENTRY +EGL_CreateNativeClientBufferANDROID(const EGLint *attrib_list); + +// EGL_ANDROID_native_fence_sync +ANGLE_EXPORT EGLint EGLAPIENTRY EGL_DupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync); // EGL_ANGLE_swap_with_frame_token ANGLE_EXPORT EGLBoolean EGLAPIENTRY @@ -118,124 +233,16 @@ EGL_SwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, EGLSurface surface, EGLFrameTokenANGLE frametoken); -// EGL_ANGLE_sync_control_rate -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetMscRateANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint *numerator, - EGLint *denominator); +// EGL_ANGLE_power_preference +ANGLE_EXPORT void EGLAPIENTRY EGL_ReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); -// EGL_CHROMIUM_sync_control -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncValuesCHROMIUM(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR *ust, - EGLuint64KHR *msc, - EGLuint64KHR *sbc); +ANGLE_EXPORT void EGLAPIENTRY EGL_ReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx); -// EGL_EXT_device_query -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDeviceAttribEXT(EGLDeviceEXT device, - EGLint attribute, - EGLAttrib *value); -ANGLE_EXPORT const char *EGLAPIENTRY EGL_QueryDeviceStringEXT(EGLDeviceEXT device, EGLint name); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribEXT(EGLDisplay dpy, - EGLint attribute, - EGLAttrib *value); - -// EGL_EXT_platform_base -ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLint *attrib_list); -ANGLE_EXPORT EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_window, - const EGLint *attrib_list); -ANGLE_EXPORT EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplayEXT(EGLenum platform, - void *native_display, - const EGLint *attrib_list); - -// EGL_KHR_debug -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_DebugMessageControlKHR(EGLDEBUGPROCKHR callback, - const EGLAttrib *attrib_list); -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_LabelObjectKHR(EGLDisplay display, - EGLenum objectType, - EGLObjectKHR object, - EGLLabelKHR label); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryDebugKHR(EGLint attribute, EGLAttrib *value); - -// EGL_KHR_fence_sync -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_ClientWaitSyncKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLint flags, - EGLTimeKHR timeout); -ANGLE_EXPORT EGLSyncKHR EGLAPIENTRY EGL_CreateSyncKHR(EGLDisplay dpy, - EGLenum type, - const EGLint *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_GetSyncAttribKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLint attribute, - EGLint *value); - -// EGL_KHR_image -ANGLE_EXPORT EGLImageKHR EGLAPIENTRY EGL_CreateImageKHR(EGLDisplay dpy, - EGLContext ctx, - EGLenum target, - EGLClientBuffer buffer, - const EGLint *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyImageKHR(EGLDisplay dpy, EGLImageKHR image); +ANGLE_EXPORT void EGLAPIENTRY EGL_HandleGPUSwitchANGLE(EGLDisplay dpy); // EGL_KHR_reusable_sync -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SignalSyncKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLenum mode); +ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SignalSyncKHR(EGLDisplay dpy, EGLSync sync, EGLenum mode); -// EGL_KHR_stream -ANGLE_EXPORT EGLStreamKHR EGLAPIENTRY EGL_CreateStreamKHR(EGLDisplay dpy, - const EGLint *attrib_list); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_DestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryStreamKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint *value); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_QueryStreamu64KHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLuint64KHR *value); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamAttribKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint value); - -// EGL_KHR_stream_consumer_gltexture -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerAcquireKHR(EGLDisplay dpy, - EGLStreamKHR stream); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalKHR(EGLDisplay dpy, - EGLStreamKHR stream); -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_StreamConsumerReleaseKHR(EGLDisplay dpy, - EGLStreamKHR stream); - -// EGL_KHR_swap_buffers_with_damage -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithDamageKHR(EGLDisplay dpy, - EGLSurface surface, - const EGLint *rects, - EGLint n_rects); - -// EGL_KHR_wait_sync -ANGLE_EXPORT EGLint EGLAPIENTRY EGL_WaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); - -// EGL_NV_post_sub_buffer -ANGLE_EXPORT EGLBoolean EGLAPIENTRY EGL_PostSubBufferNV(EGLDisplay dpy, - EGLSurface surface, - EGLint x, - EGLint y, - EGLint width, - EGLint height); - -// EGL_NV_stream_consumer_gltexture_yuv -ANGLE_EXPORT EGLBoolean EGLAPIENTRY -EGL_StreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list); } // extern "C" -#endif // LIBGLESV2_ENTRY_POINTS_EGL_EXT_AUTOGEN_H_ +#endif // LIBGLESV2_ENTRYPOINTSEGLEXT_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp deleted file mode 100644 index 88a847221a2d..000000000000 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp +++ /dev/null @@ -1,1127 +0,0 @@ -// GENERATED FILE - DO NOT EDIT. -// Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. -// -// Copyright 2020 The ANGLE Project Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// entry_points_egl_ext_autogen.cpp: -// Defines the EGL Extension entry points. - -#include "libGLESv2/entry_points_egl_ext_autogen.h" - -#include "libANGLE/entry_points_utils.h" -#include "libANGLE/validationEGL_autogen.h" -#include "libGLESv2/egl_ext_stubs_autogen.h" -#include "libGLESv2/global_state.h" - -using namespace egl; - -extern "C" { - -// EGL_ANDROID_blob_cache -void EGLAPIENTRY EGL_SetBlobCacheFuncsANDROID(EGLDisplay dpy, - EGLSetBlobFuncANDROID set, - EGLGetBlobFuncANDROID get) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SetBlobCacheFuncsANDROID, - "dpy = 0x%016" PRIxPTR ", set = 0x%016" PRIxPTR ", get = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)set, (uintptr_t)get); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE_VOID(thread, SetBlobCacheFuncsANDROID, GetDisplayIfValid(dpyPacked), - dpyPacked, set, get); - - SetBlobCacheFuncsANDROID(thread, dpyPacked, set, get); -} - -// EGL_ANDROID_create_native_client_buffer -EGLClientBuffer EGLAPIENTRY EGL_CreateNativeClientBufferANDROID(const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateNativeClientBufferANDROID, "attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateNativeClientBufferANDROID, nullptr, EGLClientBuffer, - attrib_listPacked); - - return CreateNativeClientBufferANDROID(thread, attrib_listPacked); -} - -// EGL_ANDROID_get_frame_timestamps -EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingSupportedANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint name) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetCompositorTimingSupportedANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", name = %d", (uintptr_t)dpy, - (uintptr_t)surface, name); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - CompositorTiming namePacked = PackParam(name); - - ANGLE_EGL_VALIDATE(thread, GetCompositorTimingSupportedANDROID, GetDisplayIfValid(dpyPacked), - EGLBoolean, dpyPacked, surfacePacked, namePacked); - - return GetCompositorTimingSupportedANDROID(thread, dpyPacked, surfacePacked, namePacked); -} - -EGLBoolean EGLAPIENTRY EGL_GetCompositorTimingANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint numTimestamps, - const EGLint *names, - EGLnsecsANDROID *values) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetCompositorTimingANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR - ", numTimestamps = %d, names = 0x%016" PRIxPTR ", values = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, numTimestamps, (uintptr_t)names, - (uintptr_t)values); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, GetCompositorTimingANDROID, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, numTimestamps, names, values); - - return GetCompositorTimingANDROID(thread, dpyPacked, surfacePacked, numTimestamps, names, - values); -} - -EGLBoolean EGLAPIENTRY EGL_GetNextFrameIdANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR *frameId) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetNextFrameIdANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", frameId = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)frameId); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, GetNextFrameIdANDROID, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, frameId); - - return GetNextFrameIdANDROID(thread, dpyPacked, surfacePacked, frameId); -} - -EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampSupportedANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLint timestamp) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetFrameTimestampSupportedANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", timestamp = %d", - (uintptr_t)dpy, (uintptr_t)surface, timestamp); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - Timestamp timestampPacked = PackParam(timestamp); - - ANGLE_EGL_VALIDATE(thread, GetFrameTimestampSupportedANDROID, GetDisplayIfValid(dpyPacked), - EGLBoolean, dpyPacked, surfacePacked, timestampPacked); - - return GetFrameTimestampSupportedANDROID(thread, dpyPacked, surfacePacked, timestampPacked); -} - -EGLBoolean EGLAPIENTRY EGL_GetFrameTimestampsANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR frameId, - EGLint numTimestamps, - const EGLint *timestamps, - EGLnsecsANDROID *values) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetFrameTimestampsANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR - ", frameId = %llu, numTimestamps = %d, timestamps = 0x%016" PRIxPTR - ", values = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, static_cast(frameId), - numTimestamps, (uintptr_t)timestamps, (uintptr_t)values); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, GetFrameTimestampsANDROID, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, frameId, numTimestamps, timestamps, values); - - return GetFrameTimestampsANDROID(thread, dpyPacked, surfacePacked, frameId, numTimestamps, - timestamps, values); -} - -// EGL_ANDROID_get_native_client_buffer -EGLClientBuffer EGLAPIENTRY EGL_GetNativeClientBufferANDROID(const struct AHardwareBuffer *buffer) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetNativeClientBufferANDROID, "buffer = 0x%016" PRIxPTR "", (uintptr_t)buffer); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, GetNativeClientBufferANDROID, nullptr, EGLClientBuffer, buffer); - - return GetNativeClientBufferANDROID(thread, buffer); -} - -// EGL_ANDROID_native_fence_sync -EGLint EGLAPIENTRY EGL_DupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DupNativeFenceFDANDROID, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)sync); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, DupNativeFenceFDANDROID, GetDisplayIfValid(dpyPacked), EGLint, - dpyPacked, syncPacked); - - return DupNativeFenceFDANDROID(thread, dpyPacked, syncPacked); -} - -// EGL_ANDROID_presentation_time -EGLBoolean EGLAPIENTRY EGL_PresentationTimeANDROID(EGLDisplay dpy, - EGLSurface surface, - EGLnsecsANDROID time) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(PresentationTimeANDROID, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", time = %llu", (uintptr_t)dpy, - (uintptr_t)surface, static_cast(time)); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, PresentationTimeANDROID, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, time); - - return PresentationTimeANDROID(thread, dpyPacked, surfacePacked, time); -} - -// EGL_ANGLE_device_creation -EGLDeviceEXT EGLAPIENTRY EGL_CreateDeviceANGLE(EGLint device_type, - void *native_device, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateDeviceANGLE, - "device_type = %d, native_device = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - device_type, (uintptr_t)native_device, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, CreateDeviceANGLE, nullptr, EGLDeviceEXT, device_type, native_device, - attrib_list); - - return CreateDeviceANGLE(thread, device_type, native_device, attrib_list); -} - -EGLBoolean EGLAPIENTRY EGL_ReleaseDeviceANGLE(EGLDeviceEXT device) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ReleaseDeviceANGLE, "device = 0x%016" PRIxPTR "", (uintptr_t)device); - - Thread *thread = egl::GetCurrentThread(); - - Device *devicePacked = PackParam(device); - - ANGLE_EGL_VALIDATE(thread, ReleaseDeviceANGLE, nullptr, EGLBoolean, devicePacked); - - return ReleaseDeviceANGLE(thread, devicePacked); -} - -// EGL_ANGLE_feature_control -const char *EGLAPIENTRY EGL_QueryStringiANGLE(EGLDisplay dpy, EGLint name, EGLint index) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryStringiANGLE, "dpy = 0x%016" PRIxPTR ", name = %d, index = %d", (uintptr_t)dpy, - name, index); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, QueryStringiANGLE, GetDisplayIfValid(dpyPacked), const char *, - dpyPacked, name, index); - - return QueryStringiANGLE(thread, dpyPacked, name, index); -} - -EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribANGLE(EGLDisplay dpy, - EGLint attribute, - EGLAttrib *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryDisplayAttribANGLE, - "dpy = 0x%016" PRIxPTR ", attribute = %d, value = 0x%016" PRIxPTR "", (uintptr_t)dpy, - attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, QueryDisplayAttribANGLE, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, attribute, value); - - return QueryDisplayAttribANGLE(thread, dpyPacked, attribute, value); -} - -// EGL_ANGLE_power_preference -void EGLAPIENTRY EGL_ReleaseHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ReleaseHighPowerGPUANGLE, "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)ctx); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - - ANGLE_EGL_VALIDATE_VOID(thread, ReleaseHighPowerGPUANGLE, GetDisplayIfValid(dpyPacked), - dpyPacked, ctxPacked); - - ReleaseHighPowerGPUANGLE(thread, dpyPacked, ctxPacked); -} - -void EGLAPIENTRY EGL_ReacquireHighPowerGPUANGLE(EGLDisplay dpy, EGLContext ctx) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ReacquireHighPowerGPUANGLE, "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)ctx); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - - ANGLE_EGL_VALIDATE_VOID(thread, ReacquireHighPowerGPUANGLE, GetDisplayIfValid(dpyPacked), - dpyPacked, ctxPacked); - - ReacquireHighPowerGPUANGLE(thread, dpyPacked, ctxPacked); -} - -void EGLAPIENTRY EGL_HandleGPUSwitchANGLE(EGLDisplay dpy) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(HandleGPUSwitchANGLE, "dpy = 0x%016" PRIxPTR "", (uintptr_t)dpy); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE_VOID(thread, HandleGPUSwitchANGLE, GetDisplayIfValid(dpyPacked), dpyPacked); - - HandleGPUSwitchANGLE(thread, dpyPacked); -} - -// EGL_ANGLE_program_cache_control -EGLint EGLAPIENTRY EGL_ProgramCacheGetAttribANGLE(EGLDisplay dpy, EGLenum attrib) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ProgramCacheGetAttribANGLE, "dpy = 0x%016" PRIxPTR ", attrib = 0x%X", (uintptr_t)dpy, - attrib); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, ProgramCacheGetAttribANGLE, GetDisplayIfValid(dpyPacked), EGLint, - dpyPacked, attrib); - - return ProgramCacheGetAttribANGLE(thread, dpyPacked, attrib); -} - -void EGLAPIENTRY EGL_ProgramCacheQueryANGLE(EGLDisplay dpy, - EGLint index, - void *key, - EGLint *keysize, - void *binary, - EGLint *binarysize) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ProgramCacheQueryANGLE, - "dpy = 0x%016" PRIxPTR ", index = %d, key = 0x%016" PRIxPTR - ", keysize = 0x%016" PRIxPTR ", binary = 0x%016" PRIxPTR - ", binarysize = 0x%016" PRIxPTR "", - (uintptr_t)dpy, index, (uintptr_t)key, (uintptr_t)keysize, (uintptr_t)binary, - (uintptr_t)binarysize); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE_VOID(thread, ProgramCacheQueryANGLE, GetDisplayIfValid(dpyPacked), dpyPacked, - index, key, keysize, binary, binarysize); - - ProgramCacheQueryANGLE(thread, dpyPacked, index, key, keysize, binary, binarysize); -} - -void EGLAPIENTRY EGL_ProgramCachePopulateANGLE(EGLDisplay dpy, - const void *key, - EGLint keysize, - const void *binary, - EGLint binarysize) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ProgramCachePopulateANGLE, - "dpy = 0x%016" PRIxPTR ", key = 0x%016" PRIxPTR - ", keysize = %d, binary = 0x%016" PRIxPTR ", binarysize = %d", - (uintptr_t)dpy, (uintptr_t)key, keysize, (uintptr_t)binary, binarysize); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE_VOID(thread, ProgramCachePopulateANGLE, GetDisplayIfValid(dpyPacked), - dpyPacked, key, keysize, binary, binarysize); - - ProgramCachePopulateANGLE(thread, dpyPacked, key, keysize, binary, binarysize); -} - -EGLint EGLAPIENTRY EGL_ProgramCacheResizeANGLE(EGLDisplay dpy, EGLint limit, EGLint mode) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ProgramCacheResizeANGLE, "dpy = 0x%016" PRIxPTR ", limit = %d, mode = %d", - (uintptr_t)dpy, limit, mode); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, ProgramCacheResizeANGLE, GetDisplayIfValid(dpyPacked), EGLint, - dpyPacked, limit, mode); - - return ProgramCacheResizeANGLE(thread, dpyPacked, limit, mode); -} - -// EGL_ANGLE_query_surface_pointer -EGLBoolean EGLAPIENTRY EGL_QuerySurfacePointerANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint attribute, - void **value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QuerySurfacePointerANGLE, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, QuerySurfacePointerANGLE, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, attribute, value); - - return QuerySurfacePointerANGLE(thread, dpyPacked, surfacePacked, attribute, value); -} - -// EGL_ANGLE_stream_producer_d3d_texture -EGLBoolean EGLAPIENTRY EGL_CreateStreamProducerD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateStreamProducerD3DTextureANGLE, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateStreamProducerD3DTextureANGLE, GetDisplayIfValid(dpyPacked), - EGLBoolean, dpyPacked, streamPacked, attrib_listPacked); - - return CreateStreamProducerD3DTextureANGLE(thread, dpyPacked, streamPacked, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_StreamPostD3DTextureANGLE(EGLDisplay dpy, - EGLStreamKHR stream, - void *texture, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamPostD3DTextureANGLE, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR ", texture = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)texture, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, StreamPostD3DTextureANGLE, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, streamPacked, texture, attrib_listPacked); - - return StreamPostD3DTextureANGLE(thread, dpyPacked, streamPacked, texture, attrib_listPacked); -} - -// EGL_ANGLE_swap_with_frame_token -EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithFrameTokenANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLFrameTokenANGLE frametoken) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SwapBuffersWithFrameTokenANGLE, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", frametoken = 0x%llX", - (uintptr_t)dpy, (uintptr_t)surface, static_cast(frametoken)); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, SwapBuffersWithFrameTokenANGLE, GetDisplayIfValid(dpyPacked), - EGLBoolean, dpyPacked, surfacePacked, frametoken); - - return SwapBuffersWithFrameTokenANGLE(thread, dpyPacked, surfacePacked, frametoken); -} - -// EGL_ANGLE_sync_control_rate -EGLBoolean EGLAPIENTRY EGL_GetMscRateANGLE(EGLDisplay dpy, - EGLSurface surface, - EGLint *numerator, - EGLint *denominator) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetMscRateANGLE, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", numerator = 0x%016" PRIxPTR - ", denominator = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)numerator, (uintptr_t)denominator); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, GetMscRateANGLE, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, numerator, denominator); - - return GetMscRateANGLE(thread, dpyPacked, surfacePacked, numerator, denominator); -} - -// EGL_CHROMIUM_sync_control -EGLBoolean EGLAPIENTRY EGL_GetSyncValuesCHROMIUM(EGLDisplay dpy, - EGLSurface surface, - EGLuint64KHR *ust, - EGLuint64KHR *msc, - EGLuint64KHR *sbc) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetSyncValuesCHROMIUM, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", ust = 0x%016" PRIxPTR - ", msc = 0x%016" PRIxPTR ", sbc = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)ust, (uintptr_t)msc, (uintptr_t)sbc); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, GetSyncValuesCHROMIUM, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, ust, msc, sbc); - - return GetSyncValuesCHROMIUM(thread, dpyPacked, surfacePacked, ust, msc, sbc); -} - -// EGL_EXT_device_query -EGLBoolean EGLAPIENTRY EGL_QueryDeviceAttribEXT(EGLDeviceEXT device, - EGLint attribute, - EGLAttrib *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryDeviceAttribEXT, - "device = 0x%016" PRIxPTR ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)device, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - Device *devicePacked = PackParam(device); - - ANGLE_EGL_VALIDATE(thread, QueryDeviceAttribEXT, nullptr, EGLBoolean, devicePacked, attribute, - value); - - return QueryDeviceAttribEXT(thread, devicePacked, attribute, value); -} - -const char *EGLAPIENTRY EGL_QueryDeviceStringEXT(EGLDeviceEXT device, EGLint name) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryDeviceStringEXT, "device = 0x%016" PRIxPTR ", name = %d", (uintptr_t)device, - name); - - Thread *thread = egl::GetCurrentThread(); - - Device *devicePacked = PackParam(device); - - ANGLE_EGL_VALIDATE(thread, QueryDeviceStringEXT, nullptr, const char *, devicePacked, name); - - return QueryDeviceStringEXT(thread, devicePacked, name); -} - -EGLBoolean EGLAPIENTRY EGL_QueryDisplayAttribEXT(EGLDisplay dpy, EGLint attribute, EGLAttrib *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryDisplayAttribEXT, - "dpy = 0x%016" PRIxPTR ", attribute = %d, value = 0x%016" PRIxPTR "", (uintptr_t)dpy, - attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - - ANGLE_EGL_VALIDATE(thread, QueryDisplayAttribEXT, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, attribute, value); - - return QueryDisplayAttribEXT(thread, dpyPacked, attribute, value); -} - -// EGL_EXT_platform_base -EGLSurface EGLAPIENTRY EGL_CreatePlatformPixmapSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_pixmap, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePlatformPixmapSurfaceEXT, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", native_pixmap = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_pixmap, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePlatformPixmapSurfaceEXT, GetDisplayIfValid(dpyPacked), - EGLSurface, dpyPacked, configPacked, native_pixmap, attrib_listPacked); - - return CreatePlatformPixmapSurfaceEXT(thread, dpyPacked, configPacked, native_pixmap, - attrib_listPacked); -} - -EGLSurface EGLAPIENTRY EGL_CreatePlatformWindowSurfaceEXT(EGLDisplay dpy, - EGLConfig config, - void *native_window, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreatePlatformWindowSurfaceEXT, - "dpy = 0x%016" PRIxPTR ", config = 0x%016" PRIxPTR ", native_window = 0x%016" PRIxPTR - ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)config, (uintptr_t)native_window, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Config *configPacked = PackParam(config); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreatePlatformWindowSurfaceEXT, GetDisplayIfValid(dpyPacked), - EGLSurface, dpyPacked, configPacked, native_window, attrib_listPacked); - - return CreatePlatformWindowSurfaceEXT(thread, dpyPacked, configPacked, native_window, - attrib_listPacked); -} - -EGLDisplay EGLAPIENTRY EGL_GetPlatformDisplayEXT(EGLenum platform, - void *native_display, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetPlatformDisplayEXT, - "platform = 0x%X, native_display = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - platform, (uintptr_t)native_display, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, GetPlatformDisplayEXT, nullptr, EGLDisplay, platform, native_display, - attrib_listPacked); - - return GetPlatformDisplayEXT(thread, platform, native_display, attrib_listPacked); -} - -// EGL_KHR_debug -EGLint EGLAPIENTRY EGL_DebugMessageControlKHR(EGLDEBUGPROCKHR callback, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DebugMessageControlKHR, - "callback = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR "", (uintptr_t)callback, - (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, DebugMessageControlKHR, nullptr, EGLint, callback, - attrib_listPacked); - - return DebugMessageControlKHR(thread, callback, attrib_listPacked); -} - -EGLint EGLAPIENTRY EGL_LabelObjectKHR(EGLDisplay display, - EGLenum objectType, - EGLObjectKHR object, - EGLLabelKHR label) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(LabelObjectKHR, - "display = 0x%016" PRIxPTR ", objectType = 0x%X, object = 0x%016" PRIxPTR - ", label = 0x%016" PRIxPTR "", - (uintptr_t)display, objectType, (uintptr_t)object, (uintptr_t)label); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *displayPacked = PackParam(display); - ObjectType objectTypePacked = PackParam(objectType); - - ANGLE_EGL_VALIDATE(thread, LabelObjectKHR, GetDisplayIfValid(displayPacked), EGLint, - displayPacked, objectTypePacked, object, label); - - return LabelObjectKHR(thread, displayPacked, objectTypePacked, object, label); -} - -EGLBoolean EGLAPIENTRY EGL_QueryDebugKHR(EGLint attribute, EGLAttrib *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryDebugKHR, "attribute = %d, value = 0x%016" PRIxPTR "", attribute, - (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - ANGLE_EGL_VALIDATE(thread, QueryDebugKHR, nullptr, EGLBoolean, attribute, value); - - return QueryDebugKHR(thread, attribute, value); -} - -// EGL_KHR_fence_sync -EGLint EGLAPIENTRY EGL_ClientWaitSyncKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLint flags, - EGLTimeKHR timeout) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(ClientWaitSyncKHR, - "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR ", flags = %d, timeout = %llu", - (uintptr_t)dpy, (uintptr_t)sync, flags, static_cast(timeout)); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, ClientWaitSyncKHR, GetDisplayIfValid(dpyPacked), EGLint, dpyPacked, - syncPacked, flags, timeout); - - return ClientWaitSyncKHR(thread, dpyPacked, syncPacked, flags, timeout); -} - -EGLSyncKHR EGLAPIENTRY EGL_CreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateSyncKHR, - "dpy = 0x%016" PRIxPTR ", type = 0x%X, attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, type, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateSyncKHR, GetDisplayIfValid(dpyPacked), EGLSyncKHR, dpyPacked, - type, attrib_listPacked); - - return CreateSyncKHR(thread, dpyPacked, type, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroySyncKHR, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)sync); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, DestroySyncKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - syncPacked); - - return DestroySyncKHR(thread, dpyPacked, syncPacked); -} - -EGLBoolean EGLAPIENTRY EGL_GetSyncAttribKHR(EGLDisplay dpy, - EGLSyncKHR sync, - EGLint attribute, - EGLint *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(GetSyncAttribKHR, - "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR - ", attribute = %d, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)sync, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, GetSyncAttribKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, syncPacked, attribute, value); - - return GetSyncAttribKHR(thread, dpyPacked, syncPacked, attribute, value); -} - -// EGL_KHR_image -EGLImageKHR EGLAPIENTRY EGL_CreateImageKHR(EGLDisplay dpy, - EGLContext ctx, - EGLenum target, - EGLClientBuffer buffer, - const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateImageKHR, - "dpy = 0x%016" PRIxPTR ", ctx = 0x%016" PRIxPTR - ", target = 0x%X, buffer = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)ctx, target, (uintptr_t)buffer, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - gl::Context *ctxPacked = PackParam(ctx); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateImageKHR, GetDisplayIfValid(dpyPacked), EGLImageKHR, dpyPacked, - ctxPacked, target, buffer, attrib_listPacked); - - return CreateImageKHR(thread, dpyPacked, ctxPacked, target, buffer, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroyImageKHR, "dpy = 0x%016" PRIxPTR ", image = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)image); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Image *imagePacked = PackParam(image); - - ANGLE_EGL_VALIDATE(thread, DestroyImageKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - imagePacked); - - return DestroyImageKHR(thread, dpyPacked, imagePacked); -} - -// EGL_KHR_reusable_sync -EGLBoolean EGLAPIENTRY EGL_SignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SignalSyncKHR, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR ", mode = 0x%X", - (uintptr_t)dpy, (uintptr_t)sync, mode); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, SignalSyncKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - syncPacked, mode); - - return SignalSyncKHR(thread, dpyPacked, syncPacked, mode); -} - -// ClientWaitSyncKHR is already defined. - -// CreateSyncKHR is already defined. - -// DestroySyncKHR is already defined. - -// GetSyncAttribKHR is already defined. - -// EGL_KHR_stream -EGLStreamKHR EGLAPIENTRY EGL_CreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(CreateStreamKHR, "dpy = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, CreateStreamKHR, GetDisplayIfValid(dpyPacked), EGLStreamKHR, - dpyPacked, attrib_listPacked); - - return CreateStreamKHR(thread, dpyPacked, attrib_listPacked); -} - -EGLBoolean EGLAPIENTRY EGL_DestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(DestroyStreamKHR, "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, DestroyStreamKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, streamPacked); - - return DestroyStreamKHR(thread, dpyPacked, streamPacked); -} - -EGLBoolean EGLAPIENTRY EGL_QueryStreamKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryStreamKHR, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR - ", attribute = 0x%X, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, QueryStreamKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - streamPacked, attribute, value); - - return QueryStreamKHR(thread, dpyPacked, streamPacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_QueryStreamu64KHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLuint64KHR *value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(QueryStreamu64KHR, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR - ", attribute = 0x%X, value = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream, attribute, (uintptr_t)value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, QueryStreamu64KHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, streamPacked, attribute, value); - - return QueryStreamu64KHR(thread, dpyPacked, streamPacked, attribute, value); -} - -EGLBoolean EGLAPIENTRY EGL_StreamAttribKHR(EGLDisplay dpy, - EGLStreamKHR stream, - EGLenum attribute, - EGLint value) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamAttribKHR, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR ", attribute = 0x%X, value = %d", - (uintptr_t)dpy, (uintptr_t)stream, attribute, value); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, StreamAttribKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - streamPacked, attribute, value); - - return StreamAttribKHR(thread, dpyPacked, streamPacked, attribute, value); -} - -// EGL_KHR_stream_consumer_gltexture -EGLBoolean EGLAPIENTRY EGL_StreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamConsumerAcquireKHR, "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, StreamConsumerAcquireKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, streamPacked); - - return StreamConsumerAcquireKHR(thread, dpyPacked, streamPacked); -} - -EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamConsumerGLTextureExternalKHR, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR "", (uintptr_t)dpy, - (uintptr_t)stream); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, StreamConsumerGLTextureExternalKHR, GetDisplayIfValid(dpyPacked), - EGLBoolean, dpyPacked, streamPacked); - - return StreamConsumerGLTextureExternalKHR(thread, dpyPacked, streamPacked); -} - -EGLBoolean EGLAPIENTRY EGL_StreamConsumerReleaseKHR(EGLDisplay dpy, EGLStreamKHR stream) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamConsumerReleaseKHR, "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR "", - (uintptr_t)dpy, (uintptr_t)stream); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - - ANGLE_EGL_VALIDATE(thread, StreamConsumerReleaseKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, streamPacked); - - return StreamConsumerReleaseKHR(thread, dpyPacked, streamPacked); -} - -// EGL_KHR_swap_buffers_with_damage -EGLBoolean EGLAPIENTRY EGL_SwapBuffersWithDamageKHR(EGLDisplay dpy, - EGLSurface surface, - const EGLint *rects, - EGLint n_rects) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(SwapBuffersWithDamageKHR, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR ", rects = 0x%016" PRIxPTR - ", n_rects = %d", - (uintptr_t)dpy, (uintptr_t)surface, (uintptr_t)rects, n_rects); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, SwapBuffersWithDamageKHR, GetDisplayIfValid(dpyPacked), EGLBoolean, - dpyPacked, surfacePacked, rects, n_rects); - - return SwapBuffersWithDamageKHR(thread, dpyPacked, surfacePacked, rects, n_rects); -} - -// EGL_KHR_wait_sync -EGLint EGLAPIENTRY EGL_WaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(WaitSyncKHR, "dpy = 0x%016" PRIxPTR ", sync = 0x%016" PRIxPTR ", flags = %d", - (uintptr_t)dpy, (uintptr_t)sync, flags); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Sync *syncPacked = PackParam(sync); - - ANGLE_EGL_VALIDATE(thread, WaitSyncKHR, GetDisplayIfValid(dpyPacked), EGLint, dpyPacked, - syncPacked, flags); - - return WaitSyncKHR(thread, dpyPacked, syncPacked, flags); -} - -// EGL_NV_post_sub_buffer -EGLBoolean EGLAPIENTRY EGL_PostSubBufferNV(EGLDisplay dpy, - EGLSurface surface, - EGLint x, - EGLint y, - EGLint width, - EGLint height) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(PostSubBufferNV, - "dpy = 0x%016" PRIxPTR ", surface = 0x%016" PRIxPTR - ", x = %d, y = %d, width = %d, height = %d", - (uintptr_t)dpy, (uintptr_t)surface, x, y, width, height); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Surface *surfacePacked = PackParam(surface); - - ANGLE_EGL_VALIDATE(thread, PostSubBufferNV, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, - surfacePacked, x, y, width, height); - - return PostSubBufferNV(thread, dpyPacked, surfacePacked, x, y, width, height); -} - -// EGL_NV_stream_consumer_gltexture_yuv -EGLBoolean EGLAPIENTRY EGL_StreamConsumerGLTextureExternalAttribsNV(EGLDisplay dpy, - EGLStreamKHR stream, - const EGLAttrib *attrib_list) -{ - ANGLE_SCOPED_GLOBAL_LOCK(); - EGL_EVENT(StreamConsumerGLTextureExternalAttribsNV, - "dpy = 0x%016" PRIxPTR ", stream = 0x%016" PRIxPTR ", attrib_list = 0x%016" PRIxPTR - "", - (uintptr_t)dpy, (uintptr_t)stream, (uintptr_t)attrib_list); - - Thread *thread = egl::GetCurrentThread(); - - egl::Display *dpyPacked = PackParam(dpy); - Stream *streamPacked = PackParam(stream); - const AttributeMap &attrib_listPacked = PackParam(attrib_list); - - ANGLE_EGL_VALIDATE(thread, StreamConsumerGLTextureExternalAttribsNV, - GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, streamPacked, - attrib_listPacked); - - return StreamConsumerGLTextureExternalAttribsNV(thread, dpyPacked, streamPacked, - attrib_listPacked); -} - -} // extern "C" diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp index ff6681f127ed..ffa842419fb1 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp @@ -13,25 +13,24 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_1_0_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_1_0_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationES1.h" #include "libGLESv2/global_state.h" -using namespace gl; - -extern "C" { -void GL_APIENTRY GL_AlphaFunc(GLenum func, GLfloat ref) +namespace gl +{ +void GL_APIENTRY AlphaFunc(GLenum func, GLfloat ref) { Context *context = GetValidGlobalContext(); - EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), - GLenumToString(GLenumGroup::AlphaFunction, func), ref); + EVENT(context, gl::EntryPoint::AlphaFunc, "glAlphaFunc", "context = %d, func = %s, ref = %f", + CID(context), GLenumToString(GLenumGroup::AlphaFunction, func), ref); if (context) { - AlphaTestFunc funcPacked = PackParam(func); - std::unique_lock shareContextLock = GetContextLock(context); + AlphaTestFunc funcPacked = FromGL(func); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAlphaFunc(context, funcPacked, ref)); if (isCallValid) @@ -46,16 +45,17 @@ void GL_APIENTRY GL_AlphaFunc(GLenum func, GLfloat ref) } } -void GL_APIENTRY GL_AlphaFuncx(GLenum func, GLfixed ref) +void GL_APIENTRY AlphaFuncx(GLenum func, GLfixed ref) { Context *context = GetValidGlobalContext(); - EVENT(context, GLAlphaFuncx, "context = %d, func = %s, ref = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::AlphaFuncx, "glAlphaFuncx", + "context = %d, func = %s, ref = 0x%X", CID(context), GLenumToString(GLenumGroup::AlphaFunction, func), ref); if (context) { - AlphaTestFunc funcPacked = PackParam(func); - std::unique_lock shareContextLock = GetContextLock(context); + AlphaTestFunc funcPacked = FromGL(func); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAlphaFuncx(context, funcPacked, ref)); if (isCallValid) @@ -70,16 +70,16 @@ void GL_APIENTRY GL_AlphaFuncx(GLenum func, GLfixed ref) } } -void GL_APIENTRY GL_ClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +void GL_APIENTRY ClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearColorx, + EVENT(context, gl::EntryPoint::ClearColorx, "glClearColorx", "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", CID(context), red, green, blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearColorx(context, red, green, blue, alpha)); if (isCallValid) @@ -94,14 +94,15 @@ void GL_APIENTRY GL_ClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixe } } -void GL_APIENTRY GL_ClearDepthx(GLfixed depth) +void GL_APIENTRY ClearDepthx(GLfixed depth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearDepthx, "context = %d, depth = 0x%X", CID(context), depth); + EVENT(context, gl::EntryPoint::ClearDepthx, "glClearDepthx", "context = %d, depth = 0x%X", + CID(context), depth); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearDepthx(context, depth)); if (isCallValid) { @@ -115,15 +116,16 @@ void GL_APIENTRY GL_ClearDepthx(GLfixed depth) } } -void GL_APIENTRY GL_ClientActiveTexture(GLenum texture) +void GL_APIENTRY ClientActiveTexture(GLenum texture) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClientActiveTexture, "context = %d, texture = %s", CID(context), + EVENT(context, gl::EntryPoint::ClientActiveTexture, "glClientActiveTexture", + "context = %d, texture = %s", CID(context), GLenumToString(GLenumGroup::TextureUnit, texture)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClientActiveTexture(context, texture)); if (isCallValid) @@ -138,15 +140,16 @@ void GL_APIENTRY GL_ClientActiveTexture(GLenum texture) } } -void GL_APIENTRY GL_ClipPlanef(GLenum p, const GLfloat *eqn) +void GL_APIENTRY ClipPlanef(GLenum p, const GLfloat *eqn) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClipPlanef, "context = %d, p = %s, eqn = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::ClipPlanef, "glClipPlanef", + "context = %d, p = %s, eqn = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ClipPlaneName, p), (uintptr_t)eqn); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClipPlanef(context, p, eqn)); if (isCallValid) { @@ -160,15 +163,16 @@ void GL_APIENTRY GL_ClipPlanef(GLenum p, const GLfloat *eqn) } } -void GL_APIENTRY GL_ClipPlanex(GLenum plane, const GLfixed *equation) +void GL_APIENTRY ClipPlanex(GLenum plane, const GLfixed *equation) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClipPlanex, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::ClipPlanex, "glClipPlanex", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClipPlanex(context, plane, equation)); if (isCallValid) @@ -183,15 +187,16 @@ void GL_APIENTRY GL_ClipPlanex(GLenum plane, const GLfixed *equation) } } -void GL_APIENTRY GL_Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +void GL_APIENTRY Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColor4f, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4f, "glColor4f", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4f(context, red, green, blue, alpha)); if (isCallValid) @@ -206,15 +211,16 @@ void GL_APIENTRY GL_Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat al } } -void GL_APIENTRY GL_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +void GL_APIENTRY Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColor4ub, "context = %d, red = %d, green = %d, blue = %d, alpha = %d", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4ub, "glColor4ub", + "context = %d, red = %d, green = %d, blue = %d, alpha = %d", CID(context), red, green, + blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4ub(context, red, green, blue, alpha)); if (isCallValid) @@ -229,15 +235,16 @@ void GL_APIENTRY GL_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte a } } -void GL_APIENTRY GL_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +void GL_APIENTRY Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColor4x, "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4x, "glColor4x", + "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", CID(context), red, + green, blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4x(context, red, green, blue, alpha)); if (isCallValid) @@ -252,18 +259,18 @@ void GL_APIENTRY GL_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed al } } -void GL_APIENTRY GL_ColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY ColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColorPointer, + EVENT(context, gl::EntryPoint::ColorPointer, "glColorPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::ColorPointerType, type), stride, (uintptr_t)pointer); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -278,14 +285,15 @@ void GL_APIENTRY GL_ColorPointer(GLint size, GLenum type, GLsizei stride, const } } -void GL_APIENTRY GL_DepthRangex(GLfixed n, GLfixed f) +void GL_APIENTRY DepthRangex(GLfixed n, GLfixed f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDepthRangex, "context = %d, n = 0x%X, f = 0x%X", CID(context), n, f); + EVENT(context, gl::EntryPoint::DepthRangex, "glDepthRangex", "context = %d, n = 0x%X, f = 0x%X", + CID(context), n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthRangex(context, n, f)); if (isCallValid) { @@ -299,16 +307,16 @@ void GL_APIENTRY GL_DepthRangex(GLfixed n, GLfixed f) } } -void GL_APIENTRY GL_DisableClientState(GLenum array) +void GL_APIENTRY DisableClientState(GLenum array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisableClientState, "context = %d, array = %s", CID(context), - GLenumToString(GLenumGroup::EnableCap, array)); + EVENT(context, gl::EntryPoint::DisableClientState, "glDisableClientState", + "context = %d, array = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, array)); if (context) { - ClientVertexArrayType arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + ClientVertexArrayType arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableClientState(context, arrayPacked)); if (isCallValid) @@ -323,16 +331,16 @@ void GL_APIENTRY GL_DisableClientState(GLenum array) } } -void GL_APIENTRY GL_EnableClientState(GLenum array) +void GL_APIENTRY EnableClientState(GLenum array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnableClientState, "context = %d, array = %s", CID(context), - GLenumToString(GLenumGroup::EnableCap, array)); + EVENT(context, gl::EntryPoint::EnableClientState, "glEnableClientState", + "context = %d, array = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, array)); if (context) { - ClientVertexArrayType arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + ClientVertexArrayType arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableClientState(context, arrayPacked)); if (isCallValid) @@ -347,15 +355,15 @@ void GL_APIENTRY GL_EnableClientState(GLenum array) } } -void GL_APIENTRY GL_Fogf(GLenum pname, GLfloat param) +void GL_APIENTRY Fogf(GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFogf, "context = %d, pname = %s, param = %f", CID(context), - GLenumToString(GLenumGroup::FogParameter, pname), param); + EVENT(context, gl::EntryPoint::Fogf, "glFogf", "context = %d, pname = %s, param = %f", + CID(context), GLenumToString(GLenumGroup::FogParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogf(context, pname, param)); if (isCallValid) { @@ -369,15 +377,16 @@ void GL_APIENTRY GL_Fogf(GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_Fogfv(GLenum pname, const GLfloat *params) +void GL_APIENTRY Fogfv(GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFogfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::Fogfv, "glFogfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FogParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogfv(context, pname, params)); if (isCallValid) { @@ -391,15 +400,15 @@ void GL_APIENTRY GL_Fogfv(GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_Fogx(GLenum pname, GLfixed param) +void GL_APIENTRY Fogx(GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFogx, "context = %d, pname = %s, param = 0x%X", CID(context), - GLenumToString(GLenumGroup::FogPName, pname), param); + EVENT(context, gl::EntryPoint::Fogx, "glFogx", "context = %d, pname = %s, param = 0x%X", + CID(context), GLenumToString(GLenumGroup::FogPName, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogx(context, pname, param)); if (isCallValid) { @@ -413,15 +422,16 @@ void GL_APIENTRY GL_Fogx(GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_Fogxv(GLenum pname, const GLfixed *param) +void GL_APIENTRY Fogxv(GLenum pname, const GLfixed *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFogxv, "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::Fogxv, "glFogxv", + "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FogPName, pname), (uintptr_t)param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogxv(context, pname, param)); if (isCallValid) { @@ -435,15 +445,16 @@ void GL_APIENTRY GL_Fogxv(GLenum pname, const GLfixed *param) } } -void GL_APIENTRY GL_Frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +void GL_APIENTRY Frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFrustumf, "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", - CID(context), l, r, b, t, n, f); + EVENT(context, gl::EntryPoint::Frustumf, "glFrustumf", + "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", CID(context), l, r, b, t, + n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrustumf(context, l, r, b, t, n, f)); if (isCallValid) @@ -458,16 +469,16 @@ void GL_APIENTRY GL_Frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat } } -void GL_APIENTRY GL_Frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) +void GL_APIENTRY Frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFrustumx, + EVENT(context, gl::EntryPoint::Frustumx, "glFrustumx", "context = %d, l = 0x%X, r = 0x%X, b = 0x%X, t = 0x%X, n = 0x%X, f = 0x%X", CID(context), l, r, b, t, n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrustumx(context, l, r, b, t, n, f)); if (isCallValid) @@ -482,15 +493,16 @@ void GL_APIENTRY GL_Frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed } } -void GL_APIENTRY GL_GetClipPlanef(GLenum plane, GLfloat *equation) +void GL_APIENTRY GetClipPlanef(GLenum plane, GLfloat *equation) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetClipPlanef, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::GetClipPlanef, "glGetClipPlanef", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetClipPlanef(context, plane, equation)); if (isCallValid) @@ -505,15 +517,16 @@ void GL_APIENTRY GL_GetClipPlanef(GLenum plane, GLfloat *equation) } } -void GL_APIENTRY GL_GetClipPlanex(GLenum plane, GLfixed *equation) +void GL_APIENTRY GetClipPlanex(GLenum plane, GLfixed *equation) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetClipPlanex, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::GetClipPlanex, "glGetClipPlanex", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetClipPlanex(context, plane, equation)); if (isCallValid) @@ -528,15 +541,16 @@ void GL_APIENTRY GL_GetClipPlanex(GLenum plane, GLfixed *equation) } } -void GL_APIENTRY GL_GetFixedv(GLenum pname, GLfixed *params) +void GL_APIENTRY GetFixedv(GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFixedv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetFixedv, "glGetFixedv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFixedv(context, pname, params)); if (isCallValid) { @@ -550,17 +564,18 @@ void GL_APIENTRY GL_GetFixedv(GLenum pname, GLfixed *params) } } -void GL_APIENTRY GL_GetLightfv(GLenum light, GLenum pname, GLfloat *params) +void GL_APIENTRY GetLightfv(GLenum light, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetLightfv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::GetLightfv, "glGetLightfv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetLightfv(context, light, pnamePacked, params)); if (isCallValid) @@ -575,17 +590,18 @@ void GL_APIENTRY GL_GetLightfv(GLenum light, GLenum pname, GLfloat *params) } } -void GL_APIENTRY GL_GetLightxv(GLenum light, GLenum pname, GLfixed *params) +void GL_APIENTRY GetLightxv(GLenum light, GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetLightxv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::GetLightxv, "glGetLightxv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetLightxv(context, light, pnamePacked, params)); if (isCallValid) @@ -600,18 +616,18 @@ void GL_APIENTRY GL_GetLightxv(GLenum light, GLenum pname, GLfixed *params) } } -void GL_APIENTRY GL_GetMaterialfv(GLenum face, GLenum pname, GLfloat *params) +void GL_APIENTRY GetMaterialfv(GLenum face, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMaterialfv, + EVENT(context, gl::EntryPoint::GetMaterialfv, "glGetMaterialfv", "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMaterialfv(context, face, pnamePacked, params)); if (isCallValid) @@ -626,18 +642,18 @@ void GL_APIENTRY GL_GetMaterialfv(GLenum face, GLenum pname, GLfloat *params) } } -void GL_APIENTRY GL_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params) +void GL_APIENTRY GetMaterialxv(GLenum face, GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMaterialxv, + EVENT(context, gl::EntryPoint::GetMaterialxv, "glGetMaterialxv", "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMaterialxv(context, face, pnamePacked, params)); if (isCallValid) @@ -652,19 +668,19 @@ void GL_APIENTRY GL_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params) } } -void GL_APIENTRY GL_GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) +void GL_APIENTRY GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexEnvfv, + EVENT(context, gl::EntryPoint::GetTexEnvfv, "glGetTexEnvfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnvfv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -679,19 +695,19 @@ void GL_APIENTRY GL_GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) } } -void GL_APIENTRY GL_GetTexEnviv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetTexEnviv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexEnviv, + EVENT(context, gl::EntryPoint::GetTexEnviv, "glGetTexEnviv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnviv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -706,19 +722,19 @@ void GL_APIENTRY GL_GetTexEnviv(GLenum target, GLenum pname, GLint *params) } } -void GL_APIENTRY GL_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params) +void GL_APIENTRY GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexEnvxv, + EVENT(context, gl::EntryPoint::GetTexEnvxv, "glGetTexEnvxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnvxv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -733,18 +749,18 @@ void GL_APIENTRY GL_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params) } } -void GL_APIENTRY GL_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) +void GL_APIENTRY GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterxv, + EVENT(context, gl::EntryPoint::GetTexParameterxv, "glGetTexParameterxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterxv(context, targetPacked, pname, params)); if (isCallValid) @@ -759,15 +775,16 @@ void GL_APIENTRY GL_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *para } } -void GL_APIENTRY GL_LightModelf(GLenum pname, GLfloat param) +void GL_APIENTRY LightModelf(GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightModelf, "context = %d, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::LightModelf, "glLightModelf", + "context = %d, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelf(context, pname, param)); if (isCallValid) @@ -782,15 +799,16 @@ void GL_APIENTRY GL_LightModelf(GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_LightModelfv(GLenum pname, const GLfloat *params) +void GL_APIENTRY LightModelfv(GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightModelfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::LightModelfv, "glLightModelfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelfv(context, pname, params)); if (isCallValid) @@ -805,15 +823,16 @@ void GL_APIENTRY GL_LightModelfv(GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_LightModelx(GLenum pname, GLfixed param) +void GL_APIENTRY LightModelx(GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightModelx, "context = %d, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::LightModelx, "glLightModelx", + "context = %d, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelx(context, pname, param)); if (isCallValid) @@ -828,15 +847,16 @@ void GL_APIENTRY GL_LightModelx(GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_LightModelxv(GLenum pname, const GLfixed *param) +void GL_APIENTRY LightModelxv(GLenum pname, const GLfixed *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightModelxv, "context = %d, pname = %s, param = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)param); + EVENT(context, gl::EntryPoint::LightModelxv, "glLightModelxv", + "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelxv(context, pname, param)); if (isCallValid) @@ -851,17 +871,18 @@ void GL_APIENTRY GL_LightModelxv(GLenum pname, const GLfixed *param) } } -void GL_APIENTRY GL_Lightf(GLenum light, GLenum pname, GLfloat param) +void GL_APIENTRY Lightf(GLenum light, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightf, "context = %d, light = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::Lightf, "glLightf", + "context = %d, light = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), param); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightf(context, light, pnamePacked, param)); if (isCallValid) @@ -876,17 +897,18 @@ void GL_APIENTRY GL_Lightf(GLenum light, GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_Lightfv(GLenum light, GLenum pname, const GLfloat *params) +void GL_APIENTRY Lightfv(GLenum light, GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightfv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::Lightfv, "glLightfv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightfv(context, light, pnamePacked, params)); if (isCallValid) @@ -901,17 +923,18 @@ void GL_APIENTRY GL_Lightfv(GLenum light, GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_Lightx(GLenum light, GLenum pname, GLfixed param) +void GL_APIENTRY Lightx(GLenum light, GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightx, "context = %d, light = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::Lightx, "glLightx", + "context = %d, light = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), param); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightx(context, light, pnamePacked, param)); if (isCallValid) @@ -926,17 +949,18 @@ void GL_APIENTRY GL_Lightx(GLenum light, GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_Lightxv(GLenum light, GLenum pname, const GLfixed *params) +void GL_APIENTRY Lightxv(GLenum light, GLenum pname, const GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLightxv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::Lightxv, "glLightxv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context) { - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightxv(context, light, pnamePacked, params)); if (isCallValid) @@ -951,14 +975,15 @@ void GL_APIENTRY GL_Lightxv(GLenum light, GLenum pname, const GLfixed *params) } } -void GL_APIENTRY GL_LineWidthx(GLfixed width) +void GL_APIENTRY LineWidthx(GLfixed width) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLineWidthx, "context = %d, width = 0x%X", CID(context), width); + EVENT(context, gl::EntryPoint::LineWidthx, "glLineWidthx", "context = %d, width = 0x%X", + CID(context), width); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLineWidthx(context, width)); if (isCallValid) { @@ -972,14 +997,14 @@ void GL_APIENTRY GL_LineWidthx(GLfixed width) } } -void GL_APIENTRY GL_LoadIdentity() +void GL_APIENTRY LoadIdentity() { Context *context = GetValidGlobalContext(); - EVENT(context, GLLoadIdentity, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::LoadIdentity, "glLoadIdentity", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadIdentity(context)); if (isCallValid) { @@ -993,15 +1018,15 @@ void GL_APIENTRY GL_LoadIdentity() } } -void GL_APIENTRY GL_LoadMatrixf(const GLfloat *m) +void GL_APIENTRY LoadMatrixf(const GLfloat *m) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLoadMatrixf, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::LoadMatrixf, "glLoadMatrixf", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadMatrixf(context, m)); if (isCallValid) { @@ -1015,15 +1040,15 @@ void GL_APIENTRY GL_LoadMatrixf(const GLfloat *m) } } -void GL_APIENTRY GL_LoadMatrixx(const GLfixed *m) +void GL_APIENTRY LoadMatrixx(const GLfixed *m) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLoadMatrixx, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::LoadMatrixx, "glLoadMatrixx", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadMatrixx(context, m)); if (isCallValid) { @@ -1037,16 +1062,16 @@ void GL_APIENTRY GL_LoadMatrixx(const GLfixed *m) } } -void GL_APIENTRY GL_LogicOp(GLenum opcode) +void GL_APIENTRY LogicOp(GLenum opcode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLogicOp, "context = %d, opcode = %s", CID(context), + EVENT(context, gl::EntryPoint::LogicOp, "glLogicOp", "context = %d, opcode = %s", CID(context), GLenumToString(GLenumGroup::LogicOp, opcode)); if (context) { - LogicalOperation opcodePacked = PackParam(opcode); - std::unique_lock shareContextLock = GetContextLock(context); + LogicalOperation opcodePacked = FromGL(opcode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLogicOp(context, opcodePacked)); if (isCallValid) { @@ -1060,17 +1085,18 @@ void GL_APIENTRY GL_LogicOp(GLenum opcode) } } -void GL_APIENTRY GL_Materialf(GLenum face, GLenum pname, GLfloat param) +void GL_APIENTRY Materialf(GLenum face, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMaterialf, "context = %d, face = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::Materialf, "glMaterialf", + "context = %d, face = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), param); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialf(context, face, pnamePacked, param)); if (isCallValid) @@ -1085,17 +1111,18 @@ void GL_APIENTRY GL_Materialf(GLenum face, GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_Materialfv(GLenum face, GLenum pname, const GLfloat *params) +void GL_APIENTRY Materialfv(GLenum face, GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMaterialfv, "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::MaterialFace, face), + EVENT(context, gl::EntryPoint::Materialfv, "glMaterialfv", + "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialfv(context, face, pnamePacked, params)); if (isCallValid) @@ -1110,17 +1137,18 @@ void GL_APIENTRY GL_Materialfv(GLenum face, GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_Materialx(GLenum face, GLenum pname, GLfixed param) +void GL_APIENTRY Materialx(GLenum face, GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMaterialx, "context = %d, face = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::Materialx, "glMaterialx", + "context = %d, face = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), param); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialx(context, face, pnamePacked, param)); if (isCallValid) @@ -1135,17 +1163,18 @@ void GL_APIENTRY GL_Materialx(GLenum face, GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_Materialxv(GLenum face, GLenum pname, const GLfixed *param) +void GL_APIENTRY Materialxv(GLenum face, GLenum pname, const GLfixed *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMaterialxv, "context = %d, face = %s, pname = %s, param = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::MaterialFace, face), + EVENT(context, gl::EntryPoint::Materialxv, "glMaterialxv", + "context = %d, face = %s, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)param); if (context) { - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialxv(context, face, pnamePacked, param)); if (isCallValid) @@ -1160,16 +1189,16 @@ void GL_APIENTRY GL_Materialxv(GLenum face, GLenum pname, const GLfixed *param) } } -void GL_APIENTRY GL_MatrixMode(GLenum mode) +void GL_APIENTRY MatrixMode(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMatrixMode, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::MatrixMode, mode)); + EVENT(context, gl::EntryPoint::MatrixMode, "glMatrixMode", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::MatrixMode, mode)); if (context) { - MatrixType modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + MatrixType modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMatrixMode(context, modePacked)); if (isCallValid) { @@ -1183,15 +1212,15 @@ void GL_APIENTRY GL_MatrixMode(GLenum mode) } } -void GL_APIENTRY GL_MultMatrixf(const GLfloat *m) +void GL_APIENTRY MultMatrixf(const GLfloat *m) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultMatrixf, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::MultMatrixf, "glMultMatrixf", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultMatrixf(context, m)); if (isCallValid) { @@ -1205,15 +1234,15 @@ void GL_APIENTRY GL_MultMatrixf(const GLfloat *m) } } -void GL_APIENTRY GL_MultMatrixx(const GLfixed *m) +void GL_APIENTRY MultMatrixx(const GLfixed *m) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultMatrixx, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::MultMatrixx, "glMultMatrixx", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultMatrixx(context, m)); if (isCallValid) { @@ -1227,15 +1256,16 @@ void GL_APIENTRY GL_MultMatrixx(const GLfixed *m) } } -void GL_APIENTRY GL_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) +void GL_APIENTRY MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiTexCoord4f, "context = %d, target = %s, s = %f, t = %f, r = %f, q = %f", - CID(context), GLenumToString(GLenumGroup::TextureUnit, target), s, t, r, q); + EVENT(context, gl::EntryPoint::MultiTexCoord4f, "glMultiTexCoord4f", + "context = %d, target = %s, s = %f, t = %f, r = %f, q = %f", CID(context), + GLenumToString(GLenumGroup::TextureUnit, target), s, t, r, q); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiTexCoord4f(context, target, s, t, r, q)); if (isCallValid) @@ -1250,16 +1280,16 @@ void GL_APIENTRY GL_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat } } -void GL_APIENTRY GL_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) +void GL_APIENTRY MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiTexCoord4x, + EVENT(context, gl::EntryPoint::MultiTexCoord4x, "glMultiTexCoord4x", "context = %d, texture = %s, s = 0x%X, t = 0x%X, r = 0x%X, q = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureUnit, texture), s, t, r, q); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiTexCoord4x(context, texture, s, t, r, q)); if (isCallValid) @@ -1274,14 +1304,15 @@ void GL_APIENTRY GL_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixe } } -void GL_APIENTRY GL_Normal3f(GLfloat nx, GLfloat ny, GLfloat nz) +void GL_APIENTRY Normal3f(GLfloat nx, GLfloat ny, GLfloat nz) { Context *context = GetValidGlobalContext(); - EVENT(context, GLNormal3f, "context = %d, nx = %f, ny = %f, nz = %f", CID(context), nx, ny, nz); + EVENT(context, gl::EntryPoint::Normal3f, "glNormal3f", + "context = %d, nx = %f, ny = %f, nz = %f", CID(context), nx, ny, nz); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormal3f(context, nx, ny, nz)); if (isCallValid) { @@ -1295,15 +1326,15 @@ void GL_APIENTRY GL_Normal3f(GLfloat nx, GLfloat ny, GLfloat nz) } } -void GL_APIENTRY GL_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) +void GL_APIENTRY Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) { Context *context = GetValidGlobalContext(); - EVENT(context, GLNormal3x, "context = %d, nx = 0x%X, ny = 0x%X, nz = 0x%X", CID(context), nx, - ny, nz); + EVENT(context, gl::EntryPoint::Normal3x, "glNormal3x", + "context = %d, nx = 0x%X, ny = 0x%X, nz = 0x%X", CID(context), nx, ny, nz); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormal3x(context, nx, ny, nz)); if (isCallValid) { @@ -1317,17 +1348,17 @@ void GL_APIENTRY GL_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) } } -void GL_APIENTRY GL_NormalPointer(GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY NormalPointer(GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLNormalPointer, + EVENT(context, gl::EntryPoint::NormalPointer, "glNormalPointer", "context = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::NormalPointerType, type), stride, (uintptr_t)pointer); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormalPointer(context, typePacked, stride, pointer)); if (isCallValid) @@ -1342,15 +1373,16 @@ void GL_APIENTRY GL_NormalPointer(GLenum type, GLsizei stride, const void *point } } -void GL_APIENTRY GL_Orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) +void GL_APIENTRY Orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLOrthof, "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", - CID(context), l, r, b, t, n, f); + EVENT(context, gl::EntryPoint::Orthof, "glOrthof", + "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", CID(context), l, r, b, t, + n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateOrthof(context, l, r, b, t, n, f)); if (isCallValid) { @@ -1364,16 +1396,16 @@ void GL_APIENTRY GL_Orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n } } -void GL_APIENTRY GL_Orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) +void GL_APIENTRY Orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLOrthox, + EVENT(context, gl::EntryPoint::Orthox, "glOrthox", "context = %d, l = 0x%X, r = 0x%X, b = 0x%X, t = 0x%X, n = 0x%X, f = 0x%X", CID(context), l, r, b, t, n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateOrthox(context, l, r, b, t, n, f)); if (isCallValid) { @@ -1387,16 +1419,17 @@ void GL_APIENTRY GL_Orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n } } -void GL_APIENTRY GL_PointParameterf(GLenum pname, GLfloat param) +void GL_APIENTRY PointParameterf(GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointParameterf, "context = %d, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::PointParameterf, "glPointParameterf", + "context = %d, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), param); if (context) { - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterf(context, pnamePacked, param)); if (isCallValid) @@ -1411,16 +1444,17 @@ void GL_APIENTRY GL_PointParameterf(GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_PointParameterfv(GLenum pname, const GLfloat *params) +void GL_APIENTRY PointParameterfv(GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointParameterfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::PointParameterfv, "glPointParameterfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterfv(context, pnamePacked, params)); if (isCallValid) @@ -1435,16 +1469,17 @@ void GL_APIENTRY GL_PointParameterfv(GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_PointParameterx(GLenum pname, GLfixed param) +void GL_APIENTRY PointParameterx(GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointParameterx, "context = %d, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::PointParameterx, "glPointParameterx", + "context = %d, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), param); if (context) { - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterx(context, pnamePacked, param)); if (isCallValid) @@ -1459,16 +1494,17 @@ void GL_APIENTRY GL_PointParameterx(GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_PointParameterxv(GLenum pname, const GLfixed *params) +void GL_APIENTRY PointParameterxv(GLenum pname, const GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointParameterxv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::PointParameterxv, "glPointParameterxv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterxv(context, pnamePacked, params)); if (isCallValid) @@ -1483,14 +1519,15 @@ void GL_APIENTRY GL_PointParameterxv(GLenum pname, const GLfixed *params) } } -void GL_APIENTRY GL_PointSize(GLfloat size) +void GL_APIENTRY PointSize(GLfloat size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointSize, "context = %d, size = %f", CID(context), size); + EVENT(context, gl::EntryPoint::PointSize, "glPointSize", "context = %d, size = %f", + CID(context), size); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSize(context, size)); if (isCallValid) { @@ -1504,14 +1541,15 @@ void GL_APIENTRY GL_PointSize(GLfloat size) } } -void GL_APIENTRY GL_PointSizex(GLfixed size) +void GL_APIENTRY PointSizex(GLfixed size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointSizex, "context = %d, size = 0x%X", CID(context), size); + EVENT(context, gl::EntryPoint::PointSizex, "glPointSizex", "context = %d, size = 0x%X", + CID(context), size); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSizex(context, size)); if (isCallValid) { @@ -1525,15 +1563,15 @@ void GL_APIENTRY GL_PointSizex(GLfixed size) } } -void GL_APIENTRY GL_PolygonOffsetx(GLfixed factor, GLfixed units) +void GL_APIENTRY PolygonOffsetx(GLfixed factor, GLfixed units) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPolygonOffsetx, "context = %d, factor = 0x%X, units = 0x%X", CID(context), - factor, units); + EVENT(context, gl::EntryPoint::PolygonOffsetx, "glPolygonOffsetx", + "context = %d, factor = 0x%X, units = 0x%X", CID(context), factor, units); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePolygonOffsetx(context, factor, units)); if (isCallValid) @@ -1548,14 +1586,14 @@ void GL_APIENTRY GL_PolygonOffsetx(GLfixed factor, GLfixed units) } } -void GL_APIENTRY GL_PopMatrix() +void GL_APIENTRY PopMatrix() { Context *context = GetValidGlobalContext(); - EVENT(context, GLPopMatrix, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopMatrix, "glPopMatrix", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopMatrix(context)); if (isCallValid) { @@ -1569,14 +1607,14 @@ void GL_APIENTRY GL_PopMatrix() } } -void GL_APIENTRY GL_PushMatrix() +void GL_APIENTRY PushMatrix() { Context *context = GetValidGlobalContext(); - EVENT(context, GLPushMatrix, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PushMatrix, "glPushMatrix", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushMatrix(context)); if (isCallValid) { @@ -1590,15 +1628,15 @@ void GL_APIENTRY GL_PushMatrix() } } -void GL_APIENTRY GL_Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRotatef, "context = %d, angle = %f, x = %f, y = %f, z = %f", CID(context), - angle, x, y, z); + EVENT(context, gl::EntryPoint::Rotatef, "glRotatef", + "context = %d, angle = %f, x = %f, y = %f, z = %f", CID(context), angle, x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRotatef(context, angle, x, y, z)); if (isCallValid) { @@ -1612,15 +1650,15 @@ void GL_APIENTRY GL_Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) } } -void GL_APIENTRY GL_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) +void GL_APIENTRY Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRotatex, "context = %d, angle = 0x%X, x = 0x%X, y = 0x%X, z = 0x%X", - CID(context), angle, x, y, z); + EVENT(context, gl::EntryPoint::Rotatex, "glRotatex", + "context = %d, angle = 0x%X, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), angle, x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRotatex(context, angle, x, y, z)); if (isCallValid) { @@ -1634,15 +1672,16 @@ void GL_APIENTRY GL_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) } } -void GL_APIENTRY GL_SampleCoveragex(GLclampx value, GLboolean invert) +void GL_APIENTRY SampleCoveragex(GLclampx value, GLboolean invert) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSampleCoveragex, "context = %d, value = 0x%X, invert = %s", CID(context), - value, GLbooleanToString(invert)); + EVENT(context, gl::EntryPoint::SampleCoveragex, "glSampleCoveragex", + "context = %d, value = 0x%X, invert = %s", CID(context), value, + GLbooleanToString(invert)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleCoveragex(context, value, invert)); if (isCallValid) @@ -1657,14 +1696,15 @@ void GL_APIENTRY GL_SampleCoveragex(GLclampx value, GLboolean invert) } } -void GL_APIENTRY GL_Scalef(GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY Scalef(GLfloat x, GLfloat y, GLfloat z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLScalef, "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Scalef, "glScalef", "context = %d, x = %f, y = %f, z = %f", + CID(context), x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScalef(context, x, y, z)); if (isCallValid) { @@ -1678,14 +1718,15 @@ void GL_APIENTRY GL_Scalef(GLfloat x, GLfloat y, GLfloat z) } } -void GL_APIENTRY GL_Scalex(GLfixed x, GLfixed y, GLfixed z) +void GL_APIENTRY Scalex(GLfixed x, GLfixed y, GLfixed z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLScalex, "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Scalex, "glScalex", "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", + CID(context), x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScalex(context, x, y, z)); if (isCallValid) { @@ -1699,16 +1740,16 @@ void GL_APIENTRY GL_Scalex(GLfixed x, GLfixed y, GLfixed z) } } -void GL_APIENTRY GL_ShadeModel(GLenum mode) +void GL_APIENTRY ShadeModel(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLShadeModel, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::ShadingModel, mode)); + EVENT(context, gl::EntryPoint::ShadeModel, "glShadeModel", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::ShadingModel, mode)); if (context) { - ShadingModel modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + ShadingModel modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShadeModel(context, modePacked)); if (isCallValid) { @@ -1722,18 +1763,18 @@ void GL_APIENTRY GL_ShadeModel(GLenum mode) } } -void GL_APIENTRY GL_TexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY TexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexCoordPointer, + EVENT(context, gl::EntryPoint::TexCoordPointer, "glTexCoordPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::TexCoordPointerType, type), stride, (uintptr_t)pointer); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexCoordPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -1748,18 +1789,19 @@ void GL_APIENTRY GL_TexCoordPointer(GLint size, GLenum type, GLsizei stride, con } } -void GL_APIENTRY GL_TexEnvf(GLenum target, GLenum pname, GLfloat param) +void GL_APIENTRY TexEnvf(GLenum target, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnvf, "context = %d, target = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::TexEnvf, "glTexEnvf", + "context = %d, target = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvf(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -1774,18 +1816,19 @@ void GL_APIENTRY GL_TexEnvf(GLenum target, GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_TexEnvfv(GLenum target, GLenum pname, const GLfloat *params) +void GL_APIENTRY TexEnvfv(GLenum target, GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnvfv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnvfv, "glTexEnvfv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvfv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -1800,18 +1843,19 @@ void GL_APIENTRY GL_TexEnvfv(GLenum target, GLenum pname, const GLfloat *params) } } -void GL_APIENTRY GL_TexEnvi(GLenum target, GLenum pname, GLint param) +void GL_APIENTRY TexEnvi(GLenum target, GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnvi, "context = %d, target = %s, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::TexEnvi, "glTexEnvi", + "context = %d, target = %s, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvi(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -1826,18 +1870,19 @@ void GL_APIENTRY GL_TexEnvi(GLenum target, GLenum pname, GLint param) } } -void GL_APIENTRY GL_TexEnviv(GLenum target, GLenum pname, const GLint *params) +void GL_APIENTRY TexEnviv(GLenum target, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnviv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnviv, "glTexEnviv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnviv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -1852,18 +1897,19 @@ void GL_APIENTRY GL_TexEnviv(GLenum target, GLenum pname, const GLint *params) } } -void GL_APIENTRY GL_TexEnvx(GLenum target, GLenum pname, GLfixed param) +void GL_APIENTRY TexEnvx(GLenum target, GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnvx, "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::TexEnvx, "glTexEnvx", + "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvx(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -1878,18 +1924,19 @@ void GL_APIENTRY GL_TexEnvx(GLenum target, GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params) +void GL_APIENTRY TexEnvxv(GLenum target, GLenum pname, const GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexEnvxv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnvxv, "glTexEnvxv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context) { - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvxv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -1904,17 +1951,18 @@ void GL_APIENTRY GL_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params) } } -void GL_APIENTRY GL_TexParameterx(GLenum target, GLenum pname, GLfixed param) +void GL_APIENTRY TexParameterx(GLenum target, GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterx, "context = %d, target = %s, pname = %s, param = 0x%X", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameterx, "glTexParameterx", + "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), param); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterx(context, targetPacked, pname, param)); if (isCallValid) @@ -1929,18 +1977,18 @@ void GL_APIENTRY GL_TexParameterx(GLenum target, GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params) +void GL_APIENTRY TexParameterxv(GLenum target, GLenum pname, const GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterxv, + EVENT(context, gl::EntryPoint::TexParameterxv, "glTexParameterxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterxv(context, targetPacked, pname, params)); if (isCallValid) @@ -1955,14 +2003,15 @@ void GL_APIENTRY GL_TexParameterxv(GLenum target, GLenum pname, const GLfixed *p } } -void GL_APIENTRY GL_Translatef(GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY Translatef(GLfloat x, GLfloat y, GLfloat z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTranslatef, "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Translatef, "glTranslatef", + "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTranslatef(context, x, y, z)); if (isCallValid) { @@ -1976,15 +2025,15 @@ void GL_APIENTRY GL_Translatef(GLfloat x, GLfloat y, GLfloat z) } } -void GL_APIENTRY GL_Translatex(GLfixed x, GLfixed y, GLfixed z) +void GL_APIENTRY Translatex(GLfixed x, GLfixed y, GLfixed z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTranslatex, "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, - z); + EVENT(context, gl::EntryPoint::Translatex, "glTranslatex", + "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTranslatex(context, x, y, z)); if (isCallValid) { @@ -1998,18 +2047,18 @@ void GL_APIENTRY GL_Translatex(GLfixed x, GLfixed y, GLfixed z) } } -void GL_APIENTRY GL_VertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY VertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexPointer, + EVENT(context, gl::EntryPoint::VertexPointer, "glVertexPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::VertexPointerType, type), stride, (uintptr_t)pointer); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -2023,5 +2072,4 @@ void GL_APIENTRY GL_VertexPointer(GLint size, GLenum type, GLsizei stride, const GenerateContextLostErrorOnCurrentGlobalContext(); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.h index 211fb5b8db52..f31bf5cee4e8 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_1_0_autogen.h @@ -14,110 +14,108 @@ #include #include -extern "C" { -ANGLE_EXPORT void GL_APIENTRY GL_AlphaFunc(GLenum func, GLfloat ref); -ANGLE_EXPORT void GL_APIENTRY GL_AlphaFuncx(GLenum func, GLfixed ref); -ANGLE_EXPORT void GL_APIENTRY GL_ClearColorx(GLfixed red, - GLfixed green, - GLfixed blue, - GLfixed alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ClearDepthx(GLfixed depth); -ANGLE_EXPORT void GL_APIENTRY GL_ClientActiveTexture(GLenum texture); -ANGLE_EXPORT void GL_APIENTRY GL_ClipPlanef(GLenum p, const GLfloat *eqn); -ANGLE_EXPORT void GL_APIENTRY GL_ClipPlanex(GLenum plane, const GLfixed *equation); -ANGLE_EXPORT void GL_APIENTRY GL_Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -ANGLE_EXPORT void GL_APIENTRY GL_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); -ANGLE_EXPORT void GL_APIENTRY GL_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ColorPointer(GLint size, +namespace gl +{ +ANGLE_EXPORT void GL_APIENTRY AlphaFunc(GLenum func, GLfloat ref); +ANGLE_EXPORT void GL_APIENTRY AlphaFuncx(GLenum func, GLfixed ref); +ANGLE_EXPORT void GL_APIENTRY ClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ClearDepthx(GLfixed depth); +ANGLE_EXPORT void GL_APIENTRY ClientActiveTexture(GLenum texture); +ANGLE_EXPORT void GL_APIENTRY ClipPlanef(GLenum p, const GLfloat *eqn); +ANGLE_EXPORT void GL_APIENTRY ClipPlanex(GLenum plane, const GLfixed *equation); +ANGLE_EXPORT void GL_APIENTRY Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +ANGLE_EXPORT void GL_APIENTRY Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ColorPointer(GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY DepthRangex(GLfixed n, GLfixed f); +ANGLE_EXPORT void GL_APIENTRY DisableClientState(GLenum array); +ANGLE_EXPORT void GL_APIENTRY EnableClientState(GLenum array); +ANGLE_EXPORT void GL_APIENTRY Fogf(GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY Fogfv(GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY Fogx(GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY Fogxv(GLenum pname, const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY +Frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +ANGLE_EXPORT void GL_APIENTRY +Frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +ANGLE_EXPORT void GL_APIENTRY GetClipPlanef(GLenum plane, GLfloat *equation); +ANGLE_EXPORT void GL_APIENTRY GetClipPlanex(GLenum plane, GLfixed *equation); +ANGLE_EXPORT void GL_APIENTRY GetFixedv(GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetLightfv(GLenum light, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetLightxv(GLenum light, GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetMaterialfv(GLenum face, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetMaterialxv(GLenum face, GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnviv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY LightModelf(GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY LightModelfv(GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY LightModelx(GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY LightModelxv(GLenum pname, const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY Lightf(GLenum light, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY Lightfv(GLenum light, GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY Lightx(GLenum light, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY Lightxv(GLenum light, GLenum pname, const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY LineWidthx(GLfixed width); +ANGLE_EXPORT void GL_APIENTRY LoadIdentity(); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixf(const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixx(const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY LogicOp(GLenum opcode); +ANGLE_EXPORT void GL_APIENTRY Materialf(GLenum face, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY Materialfv(GLenum face, GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY Materialx(GLenum face, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY Materialxv(GLenum face, GLenum pname, const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY MatrixMode(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY MultMatrixf(const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY MultMatrixx(const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY +MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +ANGLE_EXPORT void GL_APIENTRY +MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +ANGLE_EXPORT void GL_APIENTRY Normal3f(GLfloat nx, GLfloat ny, GLfloat nz); +ANGLE_EXPORT void GL_APIENTRY Normal3x(GLfixed nx, GLfixed ny, GLfixed nz); +ANGLE_EXPORT void GL_APIENTRY NormalPointer(GLenum type, GLsizei stride, const void *pointer); +ANGLE_EXPORT void GL_APIENTRY +Orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +ANGLE_EXPORT void GL_APIENTRY +Orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +ANGLE_EXPORT void GL_APIENTRY PointParameterf(GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY PointParameterfv(GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY PointParameterx(GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY PointParameterxv(GLenum pname, const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY PointSize(GLfloat size); +ANGLE_EXPORT void GL_APIENTRY PointSizex(GLfixed size); +ANGLE_EXPORT void GL_APIENTRY PolygonOffsetx(GLfixed factor, GLfixed units); +ANGLE_EXPORT void GL_APIENTRY PopMatrix(); +ANGLE_EXPORT void GL_APIENTRY PushMatrix(); +ANGLE_EXPORT void GL_APIENTRY Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY SampleCoveragex(GLclampx value, GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY Scalef(GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY Scalex(GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY ShadeModel(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY TexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_DepthRangex(GLfixed n, GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_DisableClientState(GLenum array); -ANGLE_EXPORT void GL_APIENTRY GL_EnableClientState(GLenum array); -ANGLE_EXPORT void GL_APIENTRY GL_Fogf(GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_Fogfv(GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_Fogx(GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_Fogxv(GLenum pname, const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY -GL_Frustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -ANGLE_EXPORT void GL_APIENTRY -GL_Frustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_GetClipPlanef(GLenum plane, GLfloat *equation); -ANGLE_EXPORT void GL_APIENTRY GL_GetClipPlanex(GLenum plane, GLfixed *equation); -ANGLE_EXPORT void GL_APIENTRY GL_GetFixedv(GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetLightfv(GLenum light, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetLightxv(GLenum light, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialfv(GLenum face, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialxv(GLenum face, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnviv(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvxv(GLenum target, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterxv(GLenum target, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelf(GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelfv(GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelx(GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelxv(GLenum pname, const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY GL_Lightf(GLenum light, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_Lightfv(GLenum light, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_Lightx(GLenum light, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_Lightxv(GLenum light, GLenum pname, const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_LineWidthx(GLfixed width); -ANGLE_EXPORT void GL_APIENTRY GL_LoadIdentity(); -ANGLE_EXPORT void GL_APIENTRY GL_LoadMatrixf(const GLfloat *m); -ANGLE_EXPORT void GL_APIENTRY GL_LoadMatrixx(const GLfixed *m); -ANGLE_EXPORT void GL_APIENTRY GL_LogicOp(GLenum opcode); -ANGLE_EXPORT void GL_APIENTRY GL_Materialf(GLenum face, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_Materialfv(GLenum face, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_Materialx(GLenum face, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_Materialxv(GLenum face, GLenum pname, const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY GL_MatrixMode(GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_MultMatrixf(const GLfloat *m); -ANGLE_EXPORT void GL_APIENTRY GL_MultMatrixx(const GLfixed *m); -ANGLE_EXPORT void GL_APIENTRY -GL_MultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -ANGLE_EXPORT void GL_APIENTRY -GL_MultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -ANGLE_EXPORT void GL_APIENTRY GL_Normal3f(GLfloat nx, GLfloat ny, GLfloat nz); -ANGLE_EXPORT void GL_APIENTRY GL_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz); -ANGLE_EXPORT void GL_APIENTRY GL_NormalPointer(GLenum type, GLsizei stride, const void *pointer); -ANGLE_EXPORT void GL_APIENTRY -GL_Orthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -ANGLE_EXPORT void GL_APIENTRY -GL_Orthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterf(GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterfv(GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterx(GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterxv(GLenum pname, const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_PointSize(GLfloat size); -ANGLE_EXPORT void GL_APIENTRY GL_PointSizex(GLfixed size); -ANGLE_EXPORT void GL_APIENTRY GL_PolygonOffsetx(GLfixed factor, GLfixed units); -ANGLE_EXPORT void GL_APIENTRY GL_PopMatrix(); -ANGLE_EXPORT void GL_APIENTRY GL_PushMatrix(); -ANGLE_EXPORT void GL_APIENTRY GL_Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -ANGLE_EXPORT void GL_APIENTRY GL_SampleCoveragex(GLclampx value, GLboolean invert); -ANGLE_EXPORT void GL_APIENTRY GL_Scalef(GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_Scalex(GLfixed x, GLfixed y, GLfixed z); -ANGLE_EXPORT void GL_APIENTRY GL_ShadeModel(GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_TexCoordPointer(GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvf(GLenum target, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvfv(GLenum target, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvi(GLenum target, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnviv(GLenum target, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvx(GLenum target, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvxv(GLenum target, GLenum pname, const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterx(GLenum target, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterxv(GLenum target, GLenum pname, const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_Translatef(GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_Translatex(GLfixed x, GLfixed y, GLfixed z); -ANGLE_EXPORT void GL_APIENTRY GL_VertexPointer(GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -} // extern "C" +ANGLE_EXPORT void GL_APIENTRY TexEnvf(GLenum target, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexEnvfv(GLenum target, GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexEnvi(GLenum target, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY TexEnviv(GLenum target, GLenum pname, const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexEnvx(GLenum target, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexEnvxv(GLenum target, GLenum pname, const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterx(GLenum target, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexParameterxv(GLenum target, GLenum pname, const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY Translatef(GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY Translatex(GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY VertexPointer(GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_1_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp index 37115793b4a5..87f96bda623b 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp @@ -13,24 +13,23 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_2_0_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_2_0_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationES2.h" #include "libGLESv2/global_state.h" -using namespace gl; - -extern "C" { -void GL_APIENTRY GL_ActiveTexture(GLenum texture) +namespace gl +{ +void GL_APIENTRY ActiveTexture(GLenum texture) { Context *context = GetValidGlobalContext(); - EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), - GLenumToString(GLenumGroup::TextureUnit, texture)); + EVENT(context, gl::EntryPoint::ActiveTexture, "glActiveTexture", "context = %d, texture = %s", + CID(context), GLenumToString(GLenumGroup::TextureUnit, texture)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateActiveTexture(context, texture)); if (isCallValid) { @@ -44,17 +43,17 @@ void GL_APIENTRY GL_ActiveTexture(GLenum texture) } } -void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader) +void GL_APIENTRY AttachShader(GLuint program, GLuint shader) { Context *context = GetValidGlobalContext(); - EVENT(context, GLAttachShader, "context = %d, program = %u, shader = %u", CID(context), program, - shader); + EVENT(context, gl::EntryPoint::AttachShader, "glAttachShader", + "context = %d, program = %u, shader = %u", CID(context), program, shader); if (context) { - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAttachShader(context, programPacked, shaderPacked)); if (isCallValid) @@ -69,17 +68,17 @@ void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader) } } -void GL_APIENTRY GL_BindAttribLocation(GLuint program, GLuint index, const GLchar *name) +void GL_APIENTRY BindAttribLocation(GLuint program, GLuint index, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindAttribLocation, + EVENT(context, gl::EntryPoint::BindAttribLocation, "glBindAttribLocation", "context = %d, program = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, index, (uintptr_t)name); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindAttribLocation(context, programPacked, index, name)); if (isCallValid) @@ -94,17 +93,18 @@ void GL_APIENTRY GL_BindAttribLocation(GLuint program, GLuint index, const GLcha } } -void GL_APIENTRY GL_BindBuffer(GLenum target, GLuint buffer) +void GL_APIENTRY BindBuffer(GLenum target, GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindBuffer, "context = %d, target = %s, buffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindBuffer, "glBindBuffer", + "context = %d, target = %s, buffer = %u", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), buffer); if (context) { - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBuffer(context, targetPacked, bufferPacked)); if (isCallValid) @@ -119,16 +119,17 @@ void GL_APIENTRY GL_BindBuffer(GLenum target, GLuint buffer) } } -void GL_APIENTRY GL_BindFramebuffer(GLenum target, GLuint framebuffer) +void GL_APIENTRY BindFramebuffer(GLenum target, GLuint framebuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindFramebuffer, "context = %d, target = %s, framebuffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindFramebuffer, "glBindFramebuffer", + "context = %d, target = %s, framebuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); if (context) { - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFramebuffer(context, target, framebufferPacked)); if (isCallValid) @@ -143,16 +144,17 @@ void GL_APIENTRY GL_BindFramebuffer(GLenum target, GLuint framebuffer) } } -void GL_APIENTRY GL_BindRenderbuffer(GLenum target, GLuint renderbuffer) +void GL_APIENTRY BindRenderbuffer(GLenum target, GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindRenderbuffer, "context = %d, target = %s, renderbuffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindRenderbuffer, "glBindRenderbuffer", + "context = %d, target = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindRenderbuffer(context, target, renderbufferPacked)); if (isCallValid) @@ -167,17 +169,18 @@ void GL_APIENTRY GL_BindRenderbuffer(GLenum target, GLuint renderbuffer) } } -void GL_APIENTRY GL_BindTexture(GLenum target, GLuint texture) +void GL_APIENTRY BindTexture(GLenum target, GLuint texture) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindTexture, "context = %d, target = %s, texture = %u", CID(context), + EVENT(context, gl::EntryPoint::BindTexture, "glBindTexture", + "context = %d, target = %s, texture = %u", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), texture); if (context) { - TextureType targetPacked = PackParam(target); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindTexture(context, targetPacked, texturePacked)); if (isCallValid) @@ -192,15 +195,16 @@ void GL_APIENTRY GL_BindTexture(GLenum target, GLuint texture) } } -void GL_APIENTRY GL_BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +void GL_APIENTRY BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::BlendColor, "glBlendColor", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendColor(context, red, green, blue, alpha)); if (isCallValid) @@ -215,15 +219,15 @@ void GL_APIENTRY GL_BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat } } -void GL_APIENTRY GL_BlendEquation(GLenum mode) +void GL_APIENTRY BlendEquation(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquation, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); + EVENT(context, gl::EntryPoint::BlendEquation, "glBlendEquation", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquation(context, mode)); if (isCallValid) { @@ -237,16 +241,17 @@ void GL_APIENTRY GL_BlendEquation(GLenum mode) } } -void GL_APIENTRY GL_BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationSeparate, "context = %d, modeRGB = %s, modeAlpha = %s", - CID(context), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), + EVENT(context, gl::EntryPoint::BlendEquationSeparate, "glBlendEquationSeparate", + "context = %d, modeRGB = %s, modeAlpha = %s", CID(context), + GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparate(context, modeRGB, modeAlpha)); if (isCallValid) @@ -261,16 +266,17 @@ void GL_APIENTRY GL_BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) } } -void GL_APIENTRY GL_BlendFunc(GLenum sfactor, GLenum dfactor) +void GL_APIENTRY BlendFunc(GLenum sfactor, GLenum dfactor) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFunc, "context = %d, sfactor = %s, dfactor = %s", CID(context), + EVENT(context, gl::EntryPoint::BlendFunc, "glBlendFunc", + "context = %d, sfactor = %s, dfactor = %s", CID(context), GLenumToString(GLenumGroup::BlendingFactor, sfactor), GLenumToString(GLenumGroup::BlendingFactor, dfactor)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunc(context, sfactor, dfactor)); if (isCallValid) @@ -285,13 +291,13 @@ void GL_APIENTRY GL_BlendFunc(GLenum sfactor, GLenum dfactor) } } -void GL_APIENTRY GL_BlendFuncSeparate(GLenum sfactorRGB, - GLenum dfactorRGB, - GLenum sfactorAlpha, - GLenum dfactorAlpha) +void GL_APIENTRY BlendFuncSeparate(GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFuncSeparate, + EVENT(context, gl::EntryPoint::BlendFuncSeparate, "glBlendFuncSeparate", "context = %d, sfactorRGB = %s, dfactorRGB = %s, sfactorAlpha = %s, dfactorAlpha = %s", CID(context), GLenumToString(GLenumGroup::BlendingFactor, sfactorRGB), GLenumToString(GLenumGroup::BlendingFactor, dfactorRGB), @@ -300,7 +306,7 @@ void GL_APIENTRY GL_BlendFuncSeparate(GLenum sfactorRGB, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparate(context, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)); @@ -317,10 +323,10 @@ void GL_APIENTRY GL_BlendFuncSeparate(GLenum sfactorRGB, } } -void GL_APIENTRY GL_BufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage) +void GL_APIENTRY BufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBufferData, + EVENT(context, gl::EntryPoint::BufferData, "glBufferData", "context = %d, target = %s, size = %llu, data = 0x%016" PRIxPTR ", usage = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(size), (uintptr_t)data, @@ -328,9 +334,9 @@ void GL_APIENTRY GL_BufferData(GLenum target, GLsizeiptr size, const void *data, if (context) { - BufferBinding targetPacked = PackParam(target); - BufferUsage usagePacked = PackParam(usage); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferUsage usagePacked = FromGL(usage); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferData(context, targetPacked, size, data, usagePacked)); if (isCallValid) @@ -345,10 +351,10 @@ void GL_APIENTRY GL_BufferData(GLenum target, GLsizeiptr size, const void *data, } } -void GL_APIENTRY GL_BufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data) +void GL_APIENTRY BufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBufferSubData, + EVENT(context, gl::EntryPoint::BufferSubData, "glBufferSubData", "context = %d, target = %s, offset = %llu, size = %llu, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(size), @@ -356,8 +362,8 @@ void GL_APIENTRY GL_BufferSubData(GLenum target, GLintptr offset, GLsizeiptr siz if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferSubData(context, targetPacked, offset, size, data)); if (isCallValid) @@ -372,16 +378,17 @@ void GL_APIENTRY GL_BufferSubData(GLenum target, GLintptr offset, GLsizeiptr siz } } -GLenum GL_APIENTRY GL_CheckFramebufferStatus(GLenum target) +GLenum GL_APIENTRY CheckFramebufferStatus(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCheckFramebufferStatus, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::CheckFramebufferStatus, "glCheckFramebufferStatus", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target)); GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCheckFramebufferStatus(context, target)); if (isCallValid) @@ -390,28 +397,27 @@ GLenum GL_APIENTRY GL_CheckFramebufferStatus(GLenum target) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CheckFramebufferStatus, isCallValid, context, target, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_Clear(GLbitfield mask) +void GL_APIENTRY Clear(GLbitfield mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClear, "context = %d, mask = %s", CID(context), + EVENT(context, gl::EntryPoint::Clear, "glClear", "context = %d, mask = %s", CID(context), GLbitfieldToString(GLenumGroup::ClearBufferMask, mask).c_str()); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClear(context, mask)); if (isCallValid) { @@ -425,15 +431,16 @@ void GL_APIENTRY GL_Clear(GLbitfield mask) } } -void GL_APIENTRY GL_ClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +void GL_APIENTRY ClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::ClearColor, "glClearColor", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearColor(context, red, green, blue, alpha)); if (isCallValid) @@ -448,14 +455,15 @@ void GL_APIENTRY GL_ClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat } } -void GL_APIENTRY GL_ClearDepthf(GLfloat d) +void GL_APIENTRY ClearDepthf(GLfloat d) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearDepthf, "context = %d, d = %f", CID(context), d); + EVENT(context, gl::EntryPoint::ClearDepthf, "glClearDepthf", "context = %d, d = %f", + CID(context), d); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearDepthf(context, d)); if (isCallValid) { @@ -469,14 +477,15 @@ void GL_APIENTRY GL_ClearDepthf(GLfloat d) } } -void GL_APIENTRY GL_ClearStencil(GLint s) +void GL_APIENTRY ClearStencil(GLint s) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearStencil, "context = %d, s = %d", CID(context), s); + EVENT(context, gl::EntryPoint::ClearStencil, "glClearStencil", "context = %d, s = %d", + CID(context), s); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearStencil(context, s)); if (isCallValid) { @@ -490,16 +499,17 @@ void GL_APIENTRY GL_ClearStencil(GLint s) } } -void GL_APIENTRY GL_ColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) +void GL_APIENTRY ColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColorMask, "context = %d, red = %s, green = %s, blue = %s, alpha = %s", - CID(context), GLbooleanToString(red), GLbooleanToString(green), GLbooleanToString(blue), + EVENT(context, gl::EntryPoint::ColorMask, "glColorMask", + "context = %d, red = %s, green = %s, blue = %s, alpha = %s", CID(context), + GLbooleanToString(red), GLbooleanToString(green), GLbooleanToString(blue), GLbooleanToString(alpha)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMask(context, red, green, blue, alpha)); if (isCallValid) @@ -514,15 +524,16 @@ void GL_APIENTRY GL_ColorMask(GLboolean red, GLboolean green, GLboolean blue, GL } } -void GL_APIENTRY GL_CompileShader(GLuint shader) +void GL_APIENTRY CompileShader(GLuint shader) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompileShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::CompileShader, "glCompileShader", "context = %d, shader = %u", + CID(context), shader); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompileShader(context, shaderPacked)); if (isCallValid) @@ -537,17 +548,17 @@ void GL_APIENTRY GL_CompileShader(GLuint shader) } } -void GL_APIENTRY GL_CompressedTexImage2D(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage2D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexImage2D, + EVENT(context, gl::EntryPoint::CompressedTexImage2D, "glCompressedTexImage2D", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -556,8 +567,8 @@ void GL_APIENTRY GL_CompressedTexImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage2D(context, targetPacked, level, internalformat, width, @@ -576,18 +587,18 @@ void GL_APIENTRY GL_CompressedTexImage2D(GLenum target, } } -void GL_APIENTRY GL_CompressedTexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage2D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexSubImage2D, + EVENT(context, gl::EntryPoint::CompressedTexSubImage2D, "glCompressedTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -596,8 +607,8 @@ void GL_APIENTRY GL_CompressedTexSubImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, @@ -616,17 +627,17 @@ void GL_APIENTRY GL_CompressedTexSubImage2D(GLenum target, } } -void GL_APIENTRY GL_CopyTexImage2D(GLenum target, - GLint level, - GLenum internalformat, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLint border) +void GL_APIENTRY CopyTexImage2D(GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTexImage2D, + EVENT(context, gl::EntryPoint::CopyTexImage2D, "glCopyTexImage2D", "context = %d, target = %s, level = %d, internalformat = %s, x = %d, y = %d, width = %d, " "height = %d, border = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -634,8 +645,8 @@ void GL_APIENTRY GL_CopyTexImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexImage2D(context, targetPacked, level, internalformat, x, y, width, height, border)); @@ -653,17 +664,17 @@ void GL_APIENTRY GL_CopyTexImage2D(GLenum target, } } -void GL_APIENTRY GL_CopyTexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage2D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTexSubImage2D, + EVENT(context, gl::EntryPoint::CopyTexSubImage2D, "glCopyTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, x = %d, y = %d, " "width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -671,8 +682,8 @@ void GL_APIENTRY GL_CopyTexSubImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage2D(context, targetPacked, level, xoffset, yoffset, x, y, width, height)); @@ -689,15 +700,15 @@ void GL_APIENTRY GL_CopyTexSubImage2D(GLenum target, } } -GLuint GL_APIENTRY GL_CreateProgram() +GLuint GL_APIENTRY CreateProgram() { Context *context = GetValidGlobalContext(); - EVENT(context, GLCreateProgram, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::CreateProgram, "glCreateProgram", "context = %d", CID(context)); GLuint returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateProgram(context)); if (isCallValid) { @@ -705,29 +716,29 @@ GLuint GL_APIENTRY GL_CreateProgram() } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateProgram, isCallValid, context, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLuint GL_APIENTRY GL_CreateShader(GLenum type) +GLuint GL_APIENTRY CreateShader(GLenum type) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCreateShader, "context = %d, type = %s", CID(context), - GLenumToString(GLenumGroup::ShaderType, type)); + EVENT(context, gl::EntryPoint::CreateShader, "glCreateShader", "context = %d, type = %s", + CID(context), GLenumToString(GLenumGroup::ShaderType, type)); GLuint returnValue; if (context) { - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateShader(context, typePacked)); if (isCallValid) { @@ -735,28 +746,28 @@ GLuint GL_APIENTRY GL_CreateShader(GLenum type) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateShader, isCallValid, context, typePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_CullFace(GLenum mode) +void GL_APIENTRY CullFace(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCullFace, "context = %d, mode = %s", CID(context), + EVENT(context, gl::EntryPoint::CullFace, "glCullFace", "context = %d, mode = %s", CID(context), GLenumToString(GLenumGroup::CullFaceMode, mode)); if (context) { - CullFaceMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + CullFaceMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCullFace(context, modePacked)); if (isCallValid) { @@ -770,16 +781,16 @@ void GL_APIENTRY GL_CullFace(GLenum mode) } } -void GL_APIENTRY GL_DeleteBuffers(GLsizei n, const GLuint *buffers) +void GL_APIENTRY DeleteBuffers(GLsizei n, const GLuint *buffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteBuffers, "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)buffers); + EVENT(context, gl::EntryPoint::DeleteBuffers, "glDeleteBuffers", + "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)buffers); if (context) { - const BufferID *buffersPacked = PackParam(buffers); - std::unique_lock shareContextLock = GetContextLock(context); + const BufferID *buffersPacked = FromGL(buffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteBuffers(context, n, buffersPacked)); if (isCallValid) @@ -794,16 +805,17 @@ void GL_APIENTRY GL_DeleteBuffers(GLsizei n, const GLuint *buffers) } } -void GL_APIENTRY GL_DeleteFramebuffers(GLsizei n, const GLuint *framebuffers) +void GL_APIENTRY DeleteFramebuffers(GLsizei n, const GLuint *framebuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteFramebuffers, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::DeleteFramebuffers, "glDeleteFramebuffers", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context) { - const FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFramebuffers(context, n, framebuffersPacked)); if (isCallValid) @@ -818,15 +830,16 @@ void GL_APIENTRY GL_DeleteFramebuffers(GLsizei n, const GLuint *framebuffers) } } -void GL_APIENTRY GL_DeleteProgram(GLuint program) +void GL_APIENTRY DeleteProgram(GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::DeleteProgram, "glDeleteProgram", "context = %d, program = %u", + CID(context), program); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteProgram(context, programPacked)); if (isCallValid) @@ -841,17 +854,17 @@ void GL_APIENTRY GL_DeleteProgram(GLuint program) } } -void GL_APIENTRY GL_DeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) +void GL_APIENTRY DeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteRenderbuffers, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::DeleteRenderbuffers, "glDeleteRenderbuffers", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context) { - const RenderbufferID *renderbuffersPacked = - PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteRenderbuffers(context, n, renderbuffersPacked)); if (isCallValid) @@ -866,15 +879,16 @@ void GL_APIENTRY GL_DeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) } } -void GL_APIENTRY GL_DeleteShader(GLuint shader) +void GL_APIENTRY DeleteShader(GLuint shader) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::DeleteShader, "glDeleteShader", "context = %d, shader = %u", + CID(context), shader); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteShader(context, shaderPacked)); if (isCallValid) @@ -889,16 +903,17 @@ void GL_APIENTRY GL_DeleteShader(GLuint shader) } } -void GL_APIENTRY GL_DeleteTextures(GLsizei n, const GLuint *textures) +void GL_APIENTRY DeleteTextures(GLsizei n, const GLuint *textures) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteTextures, "context = %d, n = %d, textures = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)textures); + EVENT(context, gl::EntryPoint::DeleteTextures, "glDeleteTextures", + "context = %d, n = %d, textures = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)textures); if (context) { - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteTextures(context, n, texturesPacked)); if (isCallValid) @@ -913,15 +928,15 @@ void GL_APIENTRY GL_DeleteTextures(GLsizei n, const GLuint *textures) } } -void GL_APIENTRY GL_DepthFunc(GLenum func) +void GL_APIENTRY DepthFunc(GLenum func) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDepthFunc, "context = %d, func = %s", CID(context), - GLenumToString(GLenumGroup::DepthFunction, func)); + EVENT(context, gl::EntryPoint::DepthFunc, "glDepthFunc", "context = %d, func = %s", + CID(context), GLenumToString(GLenumGroup::DepthFunction, func)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthFunc(context, func)); if (isCallValid) { @@ -935,14 +950,15 @@ void GL_APIENTRY GL_DepthFunc(GLenum func) } } -void GL_APIENTRY GL_DepthMask(GLboolean flag) +void GL_APIENTRY DepthMask(GLboolean flag) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDepthMask, "context = %d, flag = %s", CID(context), GLbooleanToString(flag)); + EVENT(context, gl::EntryPoint::DepthMask, "glDepthMask", "context = %d, flag = %s", + CID(context), GLbooleanToString(flag)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthMask(context, flag)); if (isCallValid) { @@ -956,14 +972,15 @@ void GL_APIENTRY GL_DepthMask(GLboolean flag) } } -void GL_APIENTRY GL_DepthRangef(GLfloat n, GLfloat f) +void GL_APIENTRY DepthRangef(GLfloat n, GLfloat f) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDepthRangef, "context = %d, n = %f, f = %f", CID(context), n, f); + EVENT(context, gl::EntryPoint::DepthRangef, "glDepthRangef", "context = %d, n = %f, f = %f", + CID(context), n, f); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthRangef(context, n, f)); if (isCallValid) { @@ -977,17 +994,17 @@ void GL_APIENTRY GL_DepthRangef(GLfloat n, GLfloat f) } } -void GL_APIENTRY GL_DetachShader(GLuint program, GLuint shader) +void GL_APIENTRY DetachShader(GLuint program, GLuint shader) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDetachShader, "context = %d, program = %u, shader = %u", CID(context), program, - shader); + EVENT(context, gl::EntryPoint::DetachShader, "glDetachShader", + "context = %d, program = %u, shader = %u", CID(context), program, shader); if (context) { - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDetachShader(context, programPacked, shaderPacked)); if (isCallValid) @@ -1002,15 +1019,15 @@ void GL_APIENTRY GL_DetachShader(GLuint program, GLuint shader) } } -void GL_APIENTRY GL_Disable(GLenum cap) +void GL_APIENTRY Disable(GLenum cap) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisable, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::Disable, "glDisable", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisable(context, cap)); if (isCallValid) { @@ -1024,14 +1041,15 @@ void GL_APIENTRY GL_Disable(GLenum cap) } } -void GL_APIENTRY GL_DisableVertexAttribArray(GLuint index) +void GL_APIENTRY DisableVertexAttribArray(GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisableVertexAttribArray, "context = %d, index = %u", CID(context), index); + EVENT(context, gl::EntryPoint::DisableVertexAttribArray, "glDisableVertexAttribArray", + "context = %d, index = %u", CID(context), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableVertexAttribArray(context, index)); if (isCallValid) @@ -1046,16 +1064,17 @@ void GL_APIENTRY GL_DisableVertexAttribArray(GLuint index) } } -void GL_APIENTRY GL_DrawArrays(GLenum mode, GLint first, GLsizei count) +void GL_APIENTRY DrawArrays(GLenum mode, GLint first, GLsizei count) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArrays, "context = %d, mode = %s, first = %d, count = %d", CID(context), + EVENT(context, gl::EntryPoint::DrawArrays, "glDrawArrays", + "context = %d, mode = %s, first = %d, count = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArrays(context, modePacked, first, count)); if (isCallValid) @@ -1070,19 +1089,19 @@ void GL_APIENTRY GL_DrawArrays(GLenum mode, GLint first, GLsizei count) } } -void GL_APIENTRY GL_DrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices) +void GL_APIENTRY DrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElements, + EVENT(context, gl::EntryPoint::DrawElements, "glDrawElements", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, GLenumToString(GLenumGroup::DrawElementsType, type), (uintptr_t)indices); if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElements(context, modePacked, count, typePacked, indices)); if (isCallValid) @@ -1097,15 +1116,15 @@ void GL_APIENTRY GL_DrawElements(GLenum mode, GLsizei count, GLenum type, const } } -void GL_APIENTRY GL_Enable(GLenum cap) +void GL_APIENTRY Enable(GLenum cap) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnable, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::Enable, "glEnable", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnable(context, cap)); if (isCallValid) { @@ -1119,14 +1138,15 @@ void GL_APIENTRY GL_Enable(GLenum cap) } } -void GL_APIENTRY GL_EnableVertexAttribArray(GLuint index) +void GL_APIENTRY EnableVertexAttribArray(GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnableVertexAttribArray, "context = %d, index = %u", CID(context), index); + EVENT(context, gl::EntryPoint::EnableVertexAttribArray, "glEnableVertexAttribArray", + "context = %d, index = %u", CID(context), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableVertexAttribArray(context, index)); if (isCallValid) @@ -1141,14 +1161,14 @@ void GL_APIENTRY GL_EnableVertexAttribArray(GLuint index) } } -void GL_APIENTRY GL_Finish() +void GL_APIENTRY Finish() { Context *context = GetValidGlobalContext(); - EVENT(context, GLFinish, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::Finish, "glFinish", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFinish(context)); if (isCallValid) { @@ -1162,14 +1182,14 @@ void GL_APIENTRY GL_Finish() } } -void GL_APIENTRY GL_Flush() +void GL_APIENTRY Flush() { Context *context = GetValidGlobalContext(); - EVENT(context, GLFlush, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::Flush, "glFlush", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlush(context)); if (isCallValid) { @@ -1183,13 +1203,13 @@ void GL_APIENTRY GL_Flush() } } -void GL_APIENTRY GL_FramebufferRenderbuffer(GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer) +void GL_APIENTRY FramebufferRenderbuffer(GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferRenderbuffer, + EVENT(context, gl::EntryPoint::FramebufferRenderbuffer, "glFramebufferRenderbuffer", "context = %d, target = %s, attachment = %s, renderbuffertarget = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -1197,8 +1217,8 @@ void GL_APIENTRY GL_FramebufferRenderbuffer(GLenum target, if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferRenderbuffer(context, target, attachment, renderbuffertarget, @@ -1217,14 +1237,14 @@ void GL_APIENTRY GL_FramebufferRenderbuffer(GLenum target, } } -void GL_APIENTRY GL_FramebufferTexture2D(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTexture2D(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTexture2D, + EVENT(context, gl::EntryPoint::FramebufferTexture2D, "glFramebufferTexture2D", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -1232,9 +1252,9 @@ void GL_APIENTRY GL_FramebufferTexture2D(GLenum target, if (context) { - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2D(context, target, attachment, textargetPacked, texturePacked, level)); @@ -1252,15 +1272,15 @@ void GL_APIENTRY GL_FramebufferTexture2D(GLenum target, } } -void GL_APIENTRY GL_FrontFace(GLenum mode) +void GL_APIENTRY FrontFace(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFrontFace, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::FrontFaceDirection, mode)); + EVENT(context, gl::EntryPoint::FrontFace, "glFrontFace", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::FrontFaceDirection, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrontFace(context, mode)); if (isCallValid) { @@ -1274,16 +1294,16 @@ void GL_APIENTRY GL_FrontFace(GLenum mode) } } -void GL_APIENTRY GL_GenBuffers(GLsizei n, GLuint *buffers) +void GL_APIENTRY GenBuffers(GLsizei n, GLuint *buffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenBuffers, "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)buffers); + EVENT(context, gl::EntryPoint::GenBuffers, "glGenBuffers", + "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)buffers); if (context) { - BufferID *buffersPacked = PackParam(buffers); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID *buffersPacked = FromGL(buffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenBuffers(context, n, buffersPacked)); if (isCallValid) @@ -1298,16 +1318,17 @@ void GL_APIENTRY GL_GenBuffers(GLsizei n, GLuint *buffers) } } -void GL_APIENTRY GL_GenFramebuffers(GLsizei n, GLuint *framebuffers) +void GL_APIENTRY GenFramebuffers(GLsizei n, GLuint *framebuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenFramebuffers, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::GenFramebuffers, "glGenFramebuffers", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context) { - FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFramebuffers(context, n, framebuffersPacked)); if (isCallValid) @@ -1322,16 +1343,17 @@ void GL_APIENTRY GL_GenFramebuffers(GLsizei n, GLuint *framebuffers) } } -void GL_APIENTRY GL_GenRenderbuffers(GLsizei n, GLuint *renderbuffers) +void GL_APIENTRY GenRenderbuffers(GLsizei n, GLuint *renderbuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenRenderbuffers, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::GenRenderbuffers, "glGenRenderbuffers", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context) { - RenderbufferID *renderbuffersPacked = PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenRenderbuffers(context, n, renderbuffersPacked)); if (isCallValid) @@ -1346,16 +1368,17 @@ void GL_APIENTRY GL_GenRenderbuffers(GLsizei n, GLuint *renderbuffers) } } -void GL_APIENTRY GL_GenTextures(GLsizei n, GLuint *textures) +void GL_APIENTRY GenTextures(GLsizei n, GLuint *textures) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenTextures, "context = %d, n = %d, textures = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)textures); + EVENT(context, gl::EntryPoint::GenTextures, "glGenTextures", + "context = %d, n = %d, textures = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)textures); if (context) { - TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenTextures(context, n, texturesPacked)); if (isCallValid) @@ -1370,16 +1393,16 @@ void GL_APIENTRY GL_GenTextures(GLsizei n, GLuint *textures) } } -void GL_APIENTRY GL_GenerateMipmap(GLenum target) +void GL_APIENTRY GenerateMipmap(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenerateMipmap, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target)); + EVENT(context, gl::EntryPoint::GenerateMipmap, "glGenerateMipmap", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenerateMipmap(context, targetPacked)); if (isCallValid) @@ -1394,16 +1417,16 @@ void GL_APIENTRY GL_GenerateMipmap(GLenum target) } } -void GL_APIENTRY GL_GetActiveAttrib(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetActiveAttrib(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetActiveAttrib, + EVENT(context, gl::EntryPoint::GetActiveAttrib, "glGetActiveAttrib", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -1411,8 +1434,8 @@ void GL_APIENTRY GL_GetActiveAttrib(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveAttrib(context, programPacked, index, bufSize, length, size, type, name)); @@ -1429,16 +1452,16 @@ void GL_APIENTRY GL_GetActiveAttrib(GLuint program, } } -void GL_APIENTRY GL_GetActiveUniform(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetActiveUniform(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetActiveUniform, + EVENT(context, gl::EntryPoint::GetActiveUniform, "glGetActiveUniform", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -1446,8 +1469,8 @@ void GL_APIENTRY GL_GetActiveUniform(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveUniform(context, programPacked, index, bufSize, length, size, type, name)); @@ -1464,22 +1487,22 @@ void GL_APIENTRY GL_GetActiveUniform(GLuint program, } } -void GL_APIENTRY GL_GetAttachedShaders(GLuint program, - GLsizei maxCount, - GLsizei *count, - GLuint *shaders) +void GL_APIENTRY GetAttachedShaders(GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetAttachedShaders, + EVENT(context, gl::EntryPoint::GetAttachedShaders, "glGetAttachedShaders", "context = %d, program = %u, maxCount = %d, count = 0x%016" PRIxPTR ", shaders = 0x%016" PRIxPTR "", CID(context), program, maxCount, (uintptr_t)count, (uintptr_t)shaders); if (context) { - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID *shadersPacked = PackParam(shaders); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID *shadersPacked = FromGL(shaders); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetAttachedShaders(context, programPacked, maxCount, count, shadersPacked)); @@ -1496,17 +1519,18 @@ void GL_APIENTRY GL_GetAttachedShaders(GLuint program, } } -GLint GL_APIENTRY GL_GetAttribLocation(GLuint program, const GLchar *name) +GLint GL_APIENTRY GetAttribLocation(GLuint program, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetAttribLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetAttribLocation, "glGetAttribLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetAttribLocation(context, programPacked, name)); if (isCallValid) @@ -1515,27 +1539,28 @@ GLint GL_APIENTRY GL_GetAttribLocation(GLuint program, const GLchar *name) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetAttribLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetBooleanv(GLenum pname, GLboolean *data) +void GL_APIENTRY GetBooleanv(GLenum pname, GLboolean *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBooleanv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetBooleanv, "glGetBooleanv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleanv(context, pname, data)); if (isCallValid) { @@ -1549,18 +1574,18 @@ void GL_APIENTRY GL_GetBooleanv(GLenum pname, GLboolean *data) } } -void GL_APIENTRY GL_GetBufferParameteriv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetBufferParameteriv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferParameteriv, + EVENT(context, gl::EntryPoint::GetBufferParameteriv, "glGetBufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -1575,15 +1600,15 @@ void GL_APIENTRY GL_GetBufferParameteriv(GLenum target, GLenum pname, GLint *par } } -GLenum GL_APIENTRY GL_GetError() +GLenum GL_APIENTRY GetError() { Context *context = GetGlobalContext(); - EVENT(context, GLGetError, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetError, "glGetError", "context = %d", CID(context)); GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetError(context)); if (isCallValid) { @@ -1591,27 +1616,28 @@ GLenum GL_APIENTRY GL_GetError() } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetError, isCallValid, context, returnValue); } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetFloatv(GLenum pname, GLfloat *data) +void GL_APIENTRY GetFloatv(GLenum pname, GLfloat *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFloatv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::GetFloatv, "glGetFloatv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFloatv(context, pname, data)); if (isCallValid) { @@ -1625,13 +1651,14 @@ void GL_APIENTRY GL_GetFloatv(GLenum pname, GLfloat *data) } } -void GL_APIENTRY GL_GetFramebufferAttachmentParameteriv(GLenum target, - GLenum attachment, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameteriv(GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFramebufferAttachmentParameteriv, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameteriv, + "glGetFramebufferAttachmentParameteriv", "context = %d, target = %s, attachment = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -1640,7 +1667,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameteriv(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameteriv( context, target, attachment, pname, params)); @@ -1657,15 +1684,16 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameteriv(GLenum target, } } -void GL_APIENTRY GL_GetIntegerv(GLenum pname, GLint *data) +void GL_APIENTRY GetIntegerv(GLenum pname, GLint *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetIntegerv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetIntegerv, "glGetIntegerv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegerv(context, pname, data)); if (isCallValid) { @@ -1679,21 +1707,21 @@ void GL_APIENTRY GL_GetIntegerv(GLenum pname, GLint *data) } } -void GL_APIENTRY GL_GetProgramInfoLog(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetProgramInfoLog(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramInfoLog, + EVENT(context, gl::EntryPoint::GetProgramInfoLog, "glGetProgramInfoLog", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)infoLog); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInfoLog(context, programPacked, bufSize, length, infoLog)); @@ -1710,17 +1738,17 @@ void GL_APIENTRY GL_GetProgramInfoLog(GLuint program, } } -void GL_APIENTRY GL_GetProgramiv(GLuint program, GLenum pname, GLint *params) +void GL_APIENTRY GetProgramiv(GLuint program, GLenum pname, GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetProgramiv, + EVENT(context, gl::EntryPoint::GetProgramiv, "glGetProgramiv", "context = %d, program = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramPropertyARB, pname), (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramiv(context, programPacked, pname, params)); if (isCallValid) @@ -1733,17 +1761,17 @@ void GL_APIENTRY GL_GetProgramiv(GLuint program, GLenum pname, GLint *params) {} } -void GL_APIENTRY GL_GetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetRenderbufferParameteriv, + EVENT(context, gl::EntryPoint::GetRenderbufferParameteriv, "glGetRenderbufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::RenderbufferParameterName, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameteriv(context, target, pname, params)); if (isCallValid) @@ -1758,21 +1786,18 @@ void GL_APIENTRY GL_GetRenderbufferParameteriv(GLenum target, GLenum pname, GLin } } -void GL_APIENTRY GL_GetShaderInfoLog(GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetShaderInfoLog, + EVENT(context, gl::EntryPoint::GetShaderInfoLog, "glGetShaderInfoLog", "context = %d, shader = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), shader, bufSize, (uintptr_t)length, (uintptr_t)infoLog); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderInfoLog(context, shaderPacked, bufSize, length, infoLog)); @@ -1789,13 +1814,13 @@ void GL_APIENTRY GL_GetShaderInfoLog(GLuint shader, } } -void GL_APIENTRY GL_GetShaderPrecisionFormat(GLenum shadertype, - GLenum precisiontype, - GLint *range, - GLint *precision) +void GL_APIENTRY GetShaderPrecisionFormat(GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetShaderPrecisionFormat, + EVENT(context, gl::EntryPoint::GetShaderPrecisionFormat, "glGetShaderPrecisionFormat", "context = %d, shadertype = %s, precisiontype = %s, range = 0x%016" PRIxPTR ", precision = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ShaderType, shadertype), @@ -1804,7 +1829,7 @@ void GL_APIENTRY GL_GetShaderPrecisionFormat(GLenum shadertype, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderPrecisionFormat(context, shadertype, precisiontype, range, precision)); @@ -1821,18 +1846,18 @@ void GL_APIENTRY GL_GetShaderPrecisionFormat(GLenum shadertype, } } -void GL_APIENTRY GL_GetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) +void GL_APIENTRY GetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetShaderSource, + EVENT(context, gl::EntryPoint::GetShaderSource, "glGetShaderSource", "context = %d, shader = %u, bufSize = %d, length = 0x%016" PRIxPTR ", source = 0x%016" PRIxPTR "", CID(context), shader, bufSize, (uintptr_t)length, (uintptr_t)source); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderSource(context, shaderPacked, bufSize, length, source)); @@ -1848,17 +1873,17 @@ void GL_APIENTRY GL_GetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *len } } -void GL_APIENTRY GL_GetShaderiv(GLuint shader, GLenum pname, GLint *params) +void GL_APIENTRY GetShaderiv(GLuint shader, GLenum pname, GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetShaderiv, + EVENT(context, gl::EntryPoint::GetShaderiv, "glGetShaderiv", "context = %d, shader = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), shader, GLenumToString(GLenumGroup::ShaderParameterName, pname), (uintptr_t)params); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderiv(context, shaderPacked, pname, params)); if (isCallValid) @@ -1871,16 +1896,16 @@ void GL_APIENTRY GL_GetShaderiv(GLuint shader, GLenum pname, GLint *params) {} } -const GLubyte *GL_APIENTRY GL_GetString(GLenum name) +const GLubyte *GL_APIENTRY GetString(GLenum name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetString, "context = %d, name = %s", CID(context), - GLenumToString(GLenumGroup::StringName, name)); + EVENT(context, gl::EntryPoint::GetString, "glGetString", "context = %d, name = %s", + CID(context), GLenumToString(GLenumGroup::StringName, name)); const GLubyte *returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetString(context, name)); if (isCallValid) { @@ -1888,30 +1913,30 @@ const GLubyte *GL_APIENTRY GL_GetString(GLenum name) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetString, isCallValid, context, name, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) +void GL_APIENTRY GetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterfv, + EVENT(context, gl::EntryPoint::GetTexParameterfv, "glGetTexParameterfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterfv(context, targetPacked, pname, params)); if (isCallValid) @@ -1926,18 +1951,18 @@ void GL_APIENTRY GL_GetTexParameterfv(GLenum target, GLenum pname, GLfloat *para } } -void GL_APIENTRY GL_GetTexParameteriv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetTexParameteriv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameteriv, + EVENT(context, gl::EntryPoint::GetTexParameteriv, "glGetTexParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -1952,17 +1977,18 @@ void GL_APIENTRY GL_GetTexParameteriv(GLenum target, GLenum pname, GLint *params } } -GLint GL_APIENTRY GL_GetUniformLocation(GLuint program, const GLchar *name) +GLint GL_APIENTRY GetUniformLocation(GLuint program, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetUniformLocation, "glGetUniformLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformLocation(context, programPacked, name)); if (isCallValid) @@ -1971,30 +1997,30 @@ GLint GL_APIENTRY GL_GetUniformLocation(GLuint program, const GLchar *name) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetUniformLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetUniformfv(GLuint program, GLint location, GLfloat *params) +void GL_APIENTRY GetUniformfv(GLuint program, GLint location, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformfv, + EVENT(context, gl::EntryPoint::GetUniformfv, "glGetUniformfv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformfv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -2009,18 +2035,18 @@ void GL_APIENTRY GL_GetUniformfv(GLuint program, GLint location, GLfloat *params } } -void GL_APIENTRY GL_GetUniformiv(GLuint program, GLint location, GLint *params) +void GL_APIENTRY GetUniformiv(GLuint program, GLint location, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformiv, + EVENT(context, gl::EntryPoint::GetUniformiv, "glGetUniformiv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformiv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -2035,16 +2061,16 @@ void GL_APIENTRY GL_GetUniformiv(GLuint program, GLint location, GLint *params) } } -void GL_APIENTRY GL_GetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer) +void GL_APIENTRY GetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribPointerv, + EVENT(context, gl::EntryPoint::GetVertexAttribPointerv, "glGetVertexAttribPointerv", "context = %d, index = %u, pname = %s, pointer = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)pointer); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribPointerv(context, index, pname, pointer)); if (isCallValid) @@ -2059,16 +2085,16 @@ void GL_APIENTRY GL_GetVertexAttribPointerv(GLuint index, GLenum pname, void **p } } -void GL_APIENTRY GL_GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) +void GL_APIENTRY GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribfv, + EVENT(context, gl::EntryPoint::GetVertexAttribfv, "glGetVertexAttribfv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribfv(context, index, pname, params)); if (isCallValid) @@ -2083,16 +2109,16 @@ void GL_APIENTRY GL_GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *param } } -void GL_APIENTRY GL_GetVertexAttribiv(GLuint index, GLenum pname, GLint *params) +void GL_APIENTRY GetVertexAttribiv(GLuint index, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribiv, + EVENT(context, gl::EntryPoint::GetVertexAttribiv, "glGetVertexAttribiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribiv(context, index, pname, params)); if (isCallValid) @@ -2107,16 +2133,16 @@ void GL_APIENTRY GL_GetVertexAttribiv(GLuint index, GLenum pname, GLint *params) } } -void GL_APIENTRY GL_Hint(GLenum target, GLenum mode) +void GL_APIENTRY Hint(GLenum target, GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLHint, "context = %d, target = %s, mode = %s", CID(context), - GLenumToString(GLenumGroup::HintTarget, target), + EVENT(context, gl::EntryPoint::Hint, "glHint", "context = %d, target = %s, mode = %s", + CID(context), GLenumToString(GLenumGroup::HintTarget, target), GLenumToString(GLenumGroup::HintMode, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateHint(context, target, mode)); if (isCallValid) { @@ -2130,16 +2156,17 @@ void GL_APIENTRY GL_Hint(GLenum target, GLenum mode) } } -GLboolean GL_APIENTRY GL_IsBuffer(GLuint buffer) +GLboolean GL_APIENTRY IsBuffer(GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsBuffer, "context = %d, buffer = %u", CID(context), buffer); + EVENT(context, gl::EntryPoint::IsBuffer, "glIsBuffer", "context = %d, buffer = %u", + CID(context), buffer); GLboolean returnValue; if (context) { - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsBuffer(context, bufferPacked)); if (isCallValid) { @@ -2147,28 +2174,28 @@ GLboolean GL_APIENTRY GL_IsBuffer(GLuint buffer) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsBuffer, isCallValid, context, bufferPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsEnabled(GLenum cap) +GLboolean GL_APIENTRY IsEnabled(GLenum cap) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsEnabled, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::IsEnabled, "glIsEnabled", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); GLboolean returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnabled(context, cap)); if (isCallValid) { @@ -2176,28 +2203,29 @@ GLboolean GL_APIENTRY GL_IsEnabled(GLenum cap) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnabled, isCallValid, context, cap, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsFramebuffer(GLuint framebuffer) +GLboolean GL_APIENTRY IsFramebuffer(GLuint framebuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsFramebuffer, "context = %d, framebuffer = %u", CID(context), framebuffer); + EVENT(context, gl::EntryPoint::IsFramebuffer, "glIsFramebuffer", + "context = %d, framebuffer = %u", CID(context), framebuffer); GLboolean returnValue; if (context) { - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFramebuffer(context, framebufferPacked)); if (isCallValid) @@ -2206,28 +2234,29 @@ GLboolean GL_APIENTRY GL_IsFramebuffer(GLuint framebuffer) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFramebuffer, isCallValid, context, framebufferPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsProgram(GLuint program) +GLboolean GL_APIENTRY IsProgram(GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::IsProgram, "glIsProgram", "context = %d, program = %u", + CID(context), program); GLboolean returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsProgram(context, programPacked)); if (isCallValid) { @@ -2235,28 +2264,29 @@ GLboolean GL_APIENTRY GL_IsProgram(GLuint program) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsProgram, isCallValid, context, programPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsRenderbuffer(GLuint renderbuffer) +GLboolean GL_APIENTRY IsRenderbuffer(GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsRenderbuffer, "context = %d, renderbuffer = %u", CID(context), renderbuffer); + EVENT(context, gl::EntryPoint::IsRenderbuffer, "glIsRenderbuffer", + "context = %d, renderbuffer = %u", CID(context), renderbuffer); GLboolean returnValue; if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsRenderbuffer(context, renderbufferPacked)); if (isCallValid) @@ -2265,28 +2295,29 @@ GLboolean GL_APIENTRY GL_IsRenderbuffer(GLuint renderbuffer) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsRenderbuffer, isCallValid, context, renderbufferPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsShader(GLuint shader) +GLboolean GL_APIENTRY IsShader(GLuint shader) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::IsShader, "glIsShader", "context = %d, shader = %u", + CID(context), shader); GLboolean returnValue; if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsShader(context, shaderPacked)); if (isCallValid) { @@ -2294,28 +2325,29 @@ GLboolean GL_APIENTRY GL_IsShader(GLuint shader) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsShader, isCallValid, context, shaderPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsTexture(GLuint texture) +GLboolean GL_APIENTRY IsTexture(GLuint texture) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsTexture, "context = %d, texture = %u", CID(context), texture); + EVENT(context, gl::EntryPoint::IsTexture, "glIsTexture", "context = %d, texture = %u", + CID(context), texture); GLboolean returnValue; if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsTexture(context, texturePacked)); if (isCallValid) { @@ -2323,26 +2355,27 @@ GLboolean GL_APIENTRY GL_IsTexture(GLuint texture) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsTexture, isCallValid, context, texturePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_LineWidth(GLfloat width) +void GL_APIENTRY LineWidth(GLfloat width) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLineWidth, "context = %d, width = %f", CID(context), width); + EVENT(context, gl::EntryPoint::LineWidth, "glLineWidth", "context = %d, width = %f", + CID(context), width); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLineWidth(context, width)); if (isCallValid) { @@ -2356,15 +2389,16 @@ void GL_APIENTRY GL_LineWidth(GLfloat width) } } -void GL_APIENTRY GL_LinkProgram(GLuint program) +void GL_APIENTRY LinkProgram(GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLinkProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::LinkProgram, "glLinkProgram", "context = %d, program = %u", + CID(context), program); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLinkProgram(context, programPacked)); if (isCallValid) @@ -2379,15 +2413,16 @@ void GL_APIENTRY GL_LinkProgram(GLuint program) } } -void GL_APIENTRY GL_PixelStorei(GLenum pname, GLint param) +void GL_APIENTRY PixelStorei(GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPixelStorei, "context = %d, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::PixelStorei, "glPixelStorei", + "context = %d, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::PixelStoreParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePixelStorei(context, pname, param)); if (isCallValid) @@ -2402,15 +2437,15 @@ void GL_APIENTRY GL_PixelStorei(GLenum pname, GLint param) } } -void GL_APIENTRY GL_PolygonOffset(GLfloat factor, GLfloat units) +void GL_APIENTRY PolygonOffset(GLfloat factor, GLfloat units) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPolygonOffset, "context = %d, factor = %f, units = %f", CID(context), factor, - units); + EVENT(context, gl::EntryPoint::PolygonOffset, "glPolygonOffset", + "context = %d, factor = %f, units = %f", CID(context), factor, units); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePolygonOffset(context, factor, units)); if (isCallValid) @@ -2425,16 +2460,16 @@ void GL_APIENTRY GL_PolygonOffset(GLfloat factor, GLfloat units) } } -void GL_APIENTRY GL_ReadPixels(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - void *pixels) +void GL_APIENTRY ReadPixels(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadPixels, + EVENT(context, gl::EntryPoint::ReadPixels, "glReadPixels", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, pixels = " "0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -2442,7 +2477,7 @@ void GL_APIENTRY GL_ReadPixels(GLint x, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadPixels(context, x, y, width, height, format, type, pixels)); if (isCallValid) @@ -2457,14 +2492,15 @@ void GL_APIENTRY GL_ReadPixels(GLint x, } } -void GL_APIENTRY GL_ReleaseShaderCompiler() +void GL_APIENTRY ReleaseShaderCompiler() { Context *context = GetValidGlobalContext(); - EVENT(context, GLReleaseShaderCompiler, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::ReleaseShaderCompiler, "glReleaseShaderCompiler", "context = %d", + CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReleaseShaderCompiler(context)); if (isCallValid) { @@ -2478,20 +2514,20 @@ void GL_APIENTRY GL_ReleaseShaderCompiler() } } -void GL_APIENTRY GL_RenderbufferStorage(GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorage(GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRenderbufferStorage, + EVENT(context, gl::EntryPoint::RenderbufferStorage, "glRenderbufferStorage", "context = %d, target = %s, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorage(context, target, internalformat, width, height)); @@ -2508,15 +2544,15 @@ void GL_APIENTRY GL_RenderbufferStorage(GLenum target, } } -void GL_APIENTRY GL_SampleCoverage(GLfloat value, GLboolean invert) +void GL_APIENTRY SampleCoverage(GLfloat value, GLboolean invert) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSampleCoverage, "context = %d, value = %f, invert = %s", CID(context), value, - GLbooleanToString(invert)); + EVENT(context, gl::EntryPoint::SampleCoverage, "glSampleCoverage", + "context = %d, value = %f, invert = %s", CID(context), value, GLbooleanToString(invert)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleCoverage(context, value, invert)); if (isCallValid) @@ -2531,15 +2567,16 @@ void GL_APIENTRY GL_SampleCoverage(GLfloat value, GLboolean invert) } } -void GL_APIENTRY GL_Scissor(GLint x, GLint y, GLsizei width, GLsizei height) +void GL_APIENTRY Scissor(GLint x, GLint y, GLsizei width, GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLScissor, "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), - x, y, width, height); + EVENT(context, gl::EntryPoint::Scissor, "glScissor", + "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), x, y, width, + height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScissor(context, x, y, width, height)); if (isCallValid) @@ -2554,14 +2591,14 @@ void GL_APIENTRY GL_Scissor(GLint x, GLint y, GLsizei width, GLsizei height) } } -void GL_APIENTRY GL_ShaderBinary(GLsizei count, - const GLuint *shaders, - GLenum binaryformat, - const void *binary, - GLsizei length) +void GL_APIENTRY ShaderBinary(GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLShaderBinary, + EVENT(context, gl::EntryPoint::ShaderBinary, "glShaderBinary", "context = %d, count = %d, shaders = 0x%016" PRIxPTR ", binaryformat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), count, (uintptr_t)shaders, @@ -2569,8 +2606,8 @@ void GL_APIENTRY GL_ShaderBinary(GLsizei count, if (context) { - const ShaderProgramID *shadersPacked = PackParam(shaders); - std::unique_lock shareContextLock = GetContextLock(context); + const ShaderProgramID *shadersPacked = FromGL(shaders); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShaderBinary(context, count, shadersPacked, binaryformat, binary, length)); @@ -2587,21 +2624,21 @@ void GL_APIENTRY GL_ShaderBinary(GLsizei count, } } -void GL_APIENTRY GL_ShaderSource(GLuint shader, - GLsizei count, - const GLchar *const *string, - const GLint *length) +void GL_APIENTRY ShaderSource(GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLShaderSource, + EVENT(context, gl::EntryPoint::ShaderSource, "glShaderSource", "context = %d, shader = %u, count = %d, string = 0x%016" PRIxPTR ", length = 0x%016" PRIxPTR "", CID(context), shader, count, (uintptr_t)string, (uintptr_t)length); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShaderSource(context, shaderPacked, count, string, length)); if (isCallValid) @@ -2616,15 +2653,16 @@ void GL_APIENTRY GL_ShaderSource(GLuint shader, } } -void GL_APIENTRY GL_StencilFunc(GLenum func, GLint ref, GLuint mask) +void GL_APIENTRY StencilFunc(GLenum func, GLint ref, GLuint mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilFunc, "context = %d, func = %s, ref = %d, mask = %u", CID(context), + EVENT(context, gl::EntryPoint::StencilFunc, "glStencilFunc", + "context = %d, func = %s, ref = %d, mask = %u", CID(context), GLenumToString(GLenumGroup::StencilFunction, func), ref, mask); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilFunc(context, func, ref, mask)); if (isCallValid) @@ -2639,16 +2677,17 @@ void GL_APIENTRY GL_StencilFunc(GLenum func, GLint ref, GLuint mask) } } -void GL_APIENTRY GL_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) +void GL_APIENTRY StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilFuncSeparate, "context = %d, face = %s, func = %s, ref = %d, mask = %u", - CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), + EVENT(context, gl::EntryPoint::StencilFuncSeparate, "glStencilFuncSeparate", + "context = %d, face = %s, func = %s, ref = %d, mask = %u", CID(context), + GLenumToString(GLenumGroup::StencilFaceDirection, face), GLenumToString(GLenumGroup::StencilFunction, func), ref, mask); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilFuncSeparate(context, face, func, ref, mask)); if (isCallValid) @@ -2663,14 +2702,15 @@ void GL_APIENTRY GL_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLu } } -void GL_APIENTRY GL_StencilMask(GLuint mask) +void GL_APIENTRY StencilMask(GLuint mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilMask, "context = %d, mask = %u", CID(context), mask); + EVENT(context, gl::EntryPoint::StencilMask, "glStencilMask", "context = %d, mask = %u", + CID(context), mask); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilMask(context, mask)); if (isCallValid) { @@ -2684,15 +2724,16 @@ void GL_APIENTRY GL_StencilMask(GLuint mask) } } -void GL_APIENTRY GL_StencilMaskSeparate(GLenum face, GLuint mask) +void GL_APIENTRY StencilMaskSeparate(GLenum face, GLuint mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilMaskSeparate, "context = %d, face = %s, mask = %u", CID(context), + EVENT(context, gl::EntryPoint::StencilMaskSeparate, "glStencilMaskSeparate", + "context = %d, face = %s, mask = %u", CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), mask); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilMaskSeparate(context, face, mask)); if (isCallValid) @@ -2707,17 +2748,18 @@ void GL_APIENTRY GL_StencilMaskSeparate(GLenum face, GLuint mask) } } -void GL_APIENTRY GL_StencilOp(GLenum fail, GLenum zfail, GLenum zpass) +void GL_APIENTRY StencilOp(GLenum fail, GLenum zfail, GLenum zpass) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilOp, "context = %d, fail = %s, zfail = %s, zpass = %s", CID(context), + EVENT(context, gl::EntryPoint::StencilOp, "glStencilOp", + "context = %d, fail = %s, zfail = %s, zpass = %s", CID(context), GLenumToString(GLenumGroup::StencilOp, fail), GLenumToString(GLenumGroup::StencilOp, zfail), GLenumToString(GLenumGroup::StencilOp, zpass)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilOp(context, fail, zfail, zpass)); if (isCallValid) @@ -2732,10 +2774,10 @@ void GL_APIENTRY GL_StencilOp(GLenum fail, GLenum zfail, GLenum zpass) } } -void GL_APIENTRY GL_StencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) +void GL_APIENTRY StencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { Context *context = GetValidGlobalContext(); - EVENT(context, GLStencilOpSeparate, + EVENT(context, gl::EntryPoint::StencilOpSeparate, "glStencilOpSeparate", "context = %d, face = %s, sfail = %s, dpfail = %s, dppass = %s", CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), GLenumToString(GLenumGroup::StencilOp, sfail), @@ -2744,7 +2786,7 @@ void GL_APIENTRY GL_StencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilOpSeparate(context, face, sfail, dpfail, dppass)); if (isCallValid) @@ -2759,18 +2801,18 @@ void GL_APIENTRY GL_StencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, } } -void GL_APIENTRY GL_TexImage2D(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage2D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage2D, + EVENT(context, gl::EntryPoint::TexImage2D, "glTexImage2D", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -2779,8 +2821,8 @@ void GL_APIENTRY GL_TexImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2D(context, targetPacked, level, internalformat, width, height, border, format, type, pixels)); @@ -2798,17 +2840,18 @@ void GL_APIENTRY GL_TexImage2D(GLenum target, } } -void GL_APIENTRY GL_TexParameterf(GLenum target, GLenum pname, GLfloat param) +void GL_APIENTRY TexParameterf(GLenum target, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterf, "context = %d, target = %s, pname = %s, param = %f", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameterf, "glTexParameterf", + "context = %d, target = %s, pname = %s, param = %f", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), param); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterf(context, targetPacked, pname, param)); if (isCallValid) @@ -2823,18 +2866,18 @@ void GL_APIENTRY GL_TexParameterf(GLenum target, GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_TexParameterfv(GLenum target, GLenum pname, const GLfloat *params) +void GL_APIENTRY TexParameterfv(GLenum target, GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterfv, + EVENT(context, gl::EntryPoint::TexParameterfv, "glTexParameterfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterfv(context, targetPacked, pname, params)); if (isCallValid) @@ -2849,17 +2892,18 @@ void GL_APIENTRY GL_TexParameterfv(GLenum target, GLenum pname, const GLfloat *p } } -void GL_APIENTRY GL_TexParameteri(GLenum target, GLenum pname, GLint param) +void GL_APIENTRY TexParameteri(GLenum target, GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameteri, "context = %d, target = %s, pname = %s, param = %d", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameteri, "glTexParameteri", + "context = %d, target = %s, pname = %s, param = %d", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), param); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameteri(context, targetPacked, pname, param)); if (isCallValid) @@ -2874,18 +2918,18 @@ void GL_APIENTRY GL_TexParameteri(GLenum target, GLenum pname, GLint param) } } -void GL_APIENTRY GL_TexParameteriv(GLenum target, GLenum pname, const GLint *params) +void GL_APIENTRY TexParameteriv(GLenum target, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameteriv, + EVENT(context, gl::EntryPoint::TexParameteriv, "glTexParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -2900,18 +2944,18 @@ void GL_APIENTRY GL_TexParameteriv(GLenum target, GLenum pname, const GLint *par } } -void GL_APIENTRY GL_TexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage2D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexSubImage2D, + EVENT(context, gl::EntryPoint::TexSubImage2D, "glTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -2920,8 +2964,8 @@ void GL_APIENTRY GL_TexSubImage2D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, height, format, type, pixels)); @@ -2939,15 +2983,16 @@ void GL_APIENTRY GL_TexSubImage2D(GLenum target, } } -void GL_APIENTRY GL_Uniform1f(GLint location, GLfloat v0) +void GL_APIENTRY Uniform1f(GLint location, GLfloat v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1f, "context = %d, location = %d, v0 = %f", CID(context), location, v0); + EVENT(context, gl::EntryPoint::Uniform1f, "glUniform1f", "context = %d, location = %d, v0 = %f", + CID(context), location, v0); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1f(context, locationPacked, v0)); if (isCallValid) @@ -2962,17 +3007,17 @@ void GL_APIENTRY GL_Uniform1f(GLint location, GLfloat v0) } } -void GL_APIENTRY GL_Uniform1fv(GLint location, GLsizei count, const GLfloat *value) +void GL_APIENTRY Uniform1fv(GLint location, GLsizei count, const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1fv, + EVENT(context, gl::EntryPoint::Uniform1fv, "glUniform1fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1fv(context, locationPacked, count, value)); if (isCallValid) @@ -2987,15 +3032,16 @@ void GL_APIENTRY GL_Uniform1fv(GLint location, GLsizei count, const GLfloat *val } } -void GL_APIENTRY GL_Uniform1i(GLint location, GLint v0) +void GL_APIENTRY Uniform1i(GLint location, GLint v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1i, "context = %d, location = %d, v0 = %d", CID(context), location, v0); + EVENT(context, gl::EntryPoint::Uniform1i, "glUniform1i", "context = %d, location = %d, v0 = %d", + CID(context), location, v0); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1i(context, locationPacked, v0)); if (isCallValid) @@ -3010,17 +3056,17 @@ void GL_APIENTRY GL_Uniform1i(GLint location, GLint v0) } } -void GL_APIENTRY GL_Uniform1iv(GLint location, GLsizei count, const GLint *value) +void GL_APIENTRY Uniform1iv(GLint location, GLsizei count, const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1iv, + EVENT(context, gl::EntryPoint::Uniform1iv, "glUniform1iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1iv(context, locationPacked, count, value)); if (isCallValid) @@ -3035,16 +3081,16 @@ void GL_APIENTRY GL_Uniform1iv(GLint location, GLsizei count, const GLint *value } } -void GL_APIENTRY GL_Uniform2f(GLint location, GLfloat v0, GLfloat v1) +void GL_APIENTRY Uniform2f(GLint location, GLfloat v0, GLfloat v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2f, "context = %d, location = %d, v0 = %f, v1 = %f", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2f, "glUniform2f", + "context = %d, location = %d, v0 = %f, v1 = %f", CID(context), location, v0, v1); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2f(context, locationPacked, v0, v1)); if (isCallValid) @@ -3059,17 +3105,17 @@ void GL_APIENTRY GL_Uniform2f(GLint location, GLfloat v0, GLfloat v1) } } -void GL_APIENTRY GL_Uniform2fv(GLint location, GLsizei count, const GLfloat *value) +void GL_APIENTRY Uniform2fv(GLint location, GLsizei count, const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2fv, + EVENT(context, gl::EntryPoint::Uniform2fv, "glUniform2fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2fv(context, locationPacked, count, value)); if (isCallValid) @@ -3084,16 +3130,16 @@ void GL_APIENTRY GL_Uniform2fv(GLint location, GLsizei count, const GLfloat *val } } -void GL_APIENTRY GL_Uniform2i(GLint location, GLint v0, GLint v1) +void GL_APIENTRY Uniform2i(GLint location, GLint v0, GLint v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2i, "context = %d, location = %d, v0 = %d, v1 = %d", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2i, "glUniform2i", + "context = %d, location = %d, v0 = %d, v1 = %d", CID(context), location, v0, v1); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2i(context, locationPacked, v0, v1)); if (isCallValid) @@ -3108,17 +3154,17 @@ void GL_APIENTRY GL_Uniform2i(GLint location, GLint v0, GLint v1) } } -void GL_APIENTRY GL_Uniform2iv(GLint location, GLsizei count, const GLint *value) +void GL_APIENTRY Uniform2iv(GLint location, GLsizei count, const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2iv, + EVENT(context, gl::EntryPoint::Uniform2iv, "glUniform2iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2iv(context, locationPacked, count, value)); if (isCallValid) @@ -3133,16 +3179,17 @@ void GL_APIENTRY GL_Uniform2iv(GLint location, GLsizei count, const GLint *value } } -void GL_APIENTRY GL_Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +void GL_APIENTRY Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3f, "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3f, "glUniform3f", + "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), location, v0, v1, + v2); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3f(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -3157,17 +3204,17 @@ void GL_APIENTRY GL_Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2 } } -void GL_APIENTRY GL_Uniform3fv(GLint location, GLsizei count, const GLfloat *value) +void GL_APIENTRY Uniform3fv(GLint location, GLsizei count, const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3fv, + EVENT(context, gl::EntryPoint::Uniform3fv, "glUniform3fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3fv(context, locationPacked, count, value)); if (isCallValid) @@ -3182,16 +3229,17 @@ void GL_APIENTRY GL_Uniform3fv(GLint location, GLsizei count, const GLfloat *val } } -void GL_APIENTRY GL_Uniform3i(GLint location, GLint v0, GLint v1, GLint v2) +void GL_APIENTRY Uniform3i(GLint location, GLint v0, GLint v1, GLint v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3i, "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3i, "glUniform3i", + "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), location, v0, v1, + v2); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3i(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -3206,17 +3254,17 @@ void GL_APIENTRY GL_Uniform3i(GLint location, GLint v0, GLint v1, GLint v2) } } -void GL_APIENTRY GL_Uniform3iv(GLint location, GLsizei count, const GLint *value) +void GL_APIENTRY Uniform3iv(GLint location, GLsizei count, const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3iv, + EVENT(context, gl::EntryPoint::Uniform3iv, "glUniform3iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3iv(context, locationPacked, count, value)); if (isCallValid) @@ -3231,16 +3279,17 @@ void GL_APIENTRY GL_Uniform3iv(GLint location, GLsizei count, const GLint *value } } -void GL_APIENTRY GL_Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) +void GL_APIENTRY Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4f, "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4f, "glUniform4f", + "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", CID(context), location, + v0, v1, v2, v3); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4f(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -3255,17 +3304,17 @@ void GL_APIENTRY GL_Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2 } } -void GL_APIENTRY GL_Uniform4fv(GLint location, GLsizei count, const GLfloat *value) +void GL_APIENTRY Uniform4fv(GLint location, GLsizei count, const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4fv, + EVENT(context, gl::EntryPoint::Uniform4fv, "glUniform4fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4fv(context, locationPacked, count, value)); if (isCallValid) @@ -3280,16 +3329,17 @@ void GL_APIENTRY GL_Uniform4fv(GLint location, GLsizei count, const GLfloat *val } } -void GL_APIENTRY GL_Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +void GL_APIENTRY Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4i, "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4i, "glUniform4i", + "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", CID(context), location, + v0, v1, v2, v3); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4i(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -3304,17 +3354,17 @@ void GL_APIENTRY GL_Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLin } } -void GL_APIENTRY GL_Uniform4iv(GLint location, GLsizei count, const GLint *value) +void GL_APIENTRY Uniform4iv(GLint location, GLsizei count, const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4iv, + EVENT(context, gl::EntryPoint::Uniform4iv, "glUniform4iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4iv(context, locationPacked, count, value)); if (isCallValid) @@ -3329,20 +3379,20 @@ void GL_APIENTRY GL_Uniform4iv(GLint location, GLsizei count, const GLint *value } } -void GL_APIENTRY GL_UniformMatrix2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix2fv, + EVENT(context, gl::EntryPoint::UniformMatrix2fv, "glUniformMatrix2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2fv(context, locationPacked, count, transpose, value)); @@ -3359,20 +3409,20 @@ void GL_APIENTRY GL_UniformMatrix2fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix3fv, + EVENT(context, gl::EntryPoint::UniformMatrix3fv, "glUniformMatrix3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3fv(context, locationPacked, count, transpose, value)); @@ -3389,20 +3439,20 @@ void GL_APIENTRY GL_UniformMatrix3fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix4fv, + EVENT(context, gl::EntryPoint::UniformMatrix4fv, "glUniformMatrix4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4fv(context, locationPacked, count, transpose, value)); @@ -3419,15 +3469,16 @@ void GL_APIENTRY GL_UniformMatrix4fv(GLint location, } } -void GL_APIENTRY GL_UseProgram(GLuint program) +void GL_APIENTRY UseProgram(GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUseProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::UseProgram, "glUseProgram", "context = %d, program = %u", + CID(context), program); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUseProgram(context, programPacked)); if (isCallValid) @@ -3442,15 +3493,16 @@ void GL_APIENTRY GL_UseProgram(GLuint program) } } -void GL_APIENTRY GL_ValidateProgram(GLuint program) +void GL_APIENTRY ValidateProgram(GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLValidateProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::ValidateProgram, "glValidateProgram", + "context = %d, program = %u", CID(context), program); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateValidateProgram(context, programPacked)); if (isCallValid) @@ -3465,14 +3517,15 @@ void GL_APIENTRY GL_ValidateProgram(GLuint program) } } -void GL_APIENTRY GL_VertexAttrib1f(GLuint index, GLfloat x) +void GL_APIENTRY VertexAttrib1f(GLuint index, GLfloat x) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib1f, "context = %d, index = %u, x = %f", CID(context), index, x); + EVENT(context, gl::EntryPoint::VertexAttrib1f, "glVertexAttrib1f", + "context = %d, index = %u, x = %f", CID(context), index, x); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib1f(context, index, x)); if (isCallValid) { @@ -3486,15 +3539,15 @@ void GL_APIENTRY GL_VertexAttrib1f(GLuint index, GLfloat x) } } -void GL_APIENTRY GL_VertexAttrib1fv(GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib1fv(GLuint index, const GLfloat *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib1fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib1fv, "glVertexAttrib1fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib1fv(context, index, v)); if (isCallValid) @@ -3509,15 +3562,15 @@ void GL_APIENTRY GL_VertexAttrib1fv(GLuint index, const GLfloat *v) } } -void GL_APIENTRY GL_VertexAttrib2f(GLuint index, GLfloat x, GLfloat y) +void GL_APIENTRY VertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib2f, "context = %d, index = %u, x = %f, y = %f", CID(context), - index, x, y); + EVENT(context, gl::EntryPoint::VertexAttrib2f, "glVertexAttrib2f", + "context = %d, index = %u, x = %f, y = %f", CID(context), index, x, y); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib2f(context, index, x, y)); if (isCallValid) @@ -3532,15 +3585,15 @@ void GL_APIENTRY GL_VertexAttrib2f(GLuint index, GLfloat x, GLfloat y) } } -void GL_APIENTRY GL_VertexAttrib2fv(GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib2fv(GLuint index, const GLfloat *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib2fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib2fv, "glVertexAttrib2fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib2fv(context, index, v)); if (isCallValid) @@ -3555,15 +3608,15 @@ void GL_APIENTRY GL_VertexAttrib2fv(GLuint index, const GLfloat *v) } } -void GL_APIENTRY GL_VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib3f, "context = %d, index = %u, x = %f, y = %f, z = %f", - CID(context), index, x, y, z); + EVENT(context, gl::EntryPoint::VertexAttrib3f, "glVertexAttrib3f", + "context = %d, index = %u, x = %f, y = %f, z = %f", CID(context), index, x, y, z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib3f(context, index, x, y, z)); if (isCallValid) @@ -3578,15 +3631,15 @@ void GL_APIENTRY GL_VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z } } -void GL_APIENTRY GL_VertexAttrib3fv(GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib3fv(GLuint index, const GLfloat *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib3fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib3fv, "glVertexAttrib3fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib3fv(context, index, v)); if (isCallValid) @@ -3601,15 +3654,16 @@ void GL_APIENTRY GL_VertexAttrib3fv(GLuint index, const GLfloat *v) } } -void GL_APIENTRY GL_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void GL_APIENTRY VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib4f, "context = %d, index = %u, x = %f, y = %f, z = %f, w = %f", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttrib4f, "glVertexAttrib4f", + "context = %d, index = %u, x = %f, y = %f, z = %f, w = %f", CID(context), index, x, y, z, + w); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib4f(context, index, x, y, z, w)); if (isCallValid) @@ -3624,15 +3678,15 @@ void GL_APIENTRY GL_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z } } -void GL_APIENTRY GL_VertexAttrib4fv(GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib4fv(GLuint index, const GLfloat *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttrib4fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib4fv, "glVertexAttrib4fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib4fv(context, index, v)); if (isCallValid) @@ -3647,15 +3701,15 @@ void GL_APIENTRY GL_VertexAttrib4fv(GLuint index, const GLfloat *v) } } -void GL_APIENTRY GL_VertexAttribPointer(GLuint index, - GLint size, - GLenum type, - GLboolean normalized, - GLsizei stride, - const void *pointer) +void GL_APIENTRY VertexAttribPointer(GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribPointer, + EVENT(context, gl::EntryPoint::VertexAttribPointer, "glVertexAttribPointer", "context = %d, index = %u, size = %d, type = %s, normalized = %s, stride = %d, pointer = " "0x%016" PRIxPTR "", CID(context), index, size, GLenumToString(GLenumGroup::VertexAttribPointerType, type), @@ -3663,8 +3717,8 @@ void GL_APIENTRY GL_VertexAttribPointer(GLuint index, if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribPointer(context, index, size, typePacked, normalized, stride, pointer)); @@ -3681,15 +3735,16 @@ void GL_APIENTRY GL_VertexAttribPointer(GLuint index, } } -void GL_APIENTRY GL_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) +void GL_APIENTRY Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLViewport, "context = %d, x = %d, y = %d, width = %d, height = %d", - CID(context), x, y, width, height); + EVENT(context, gl::EntryPoint::Viewport, "glViewport", + "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), x, y, width, + height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateViewport(context, x, y, width, height)); if (isCallValid) @@ -3703,5 +3758,4 @@ void GL_APIENTRY GL_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) GenerateContextLostErrorOnCurrentGlobalContext(); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.h index 5defcfd65ef6..49c7103fbf68 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_2_0_autogen.h @@ -14,296 +14,284 @@ #include #include -extern "C" { -ANGLE_EXPORT void GL_APIENTRY GL_ActiveTexture(GLenum texture); -ANGLE_EXPORT void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_BindAttribLocation(GLuint program, - GLuint index, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_BindBuffer(GLenum target, GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindFramebuffer(GLenum target, GLuint framebuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindRenderbuffer(GLenum target, GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindTexture(GLenum target, GLuint texture); -ANGLE_EXPORT void GL_APIENTRY GL_BlendColor(GLfloat red, - GLfloat green, - GLfloat blue, - GLfloat alpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquation(GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunc(GLenum sfactor, GLenum dfactor); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparate(GLenum sfactorRGB, - GLenum dfactorRGB, - GLenum sfactorAlpha, - GLenum dfactorAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BufferData(GLenum target, +namespace gl +{ +ANGLE_EXPORT void GL_APIENTRY ActiveTexture(GLenum texture); +ANGLE_EXPORT void GL_APIENTRY AttachShader(GLuint program, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY BindAttribLocation(GLuint program, GLuint index, const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindBuffer(GLenum target, GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY BindFramebuffer(GLenum target, GLuint framebuffer); +ANGLE_EXPORT void GL_APIENTRY BindRenderbuffer(GLenum target, GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY BindTexture(GLenum target, GLuint texture); +ANGLE_EXPORT void GL_APIENTRY BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquation(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFunc(GLenum sfactor, GLenum dfactor); +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparate(GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha); +ANGLE_EXPORT void GL_APIENTRY BufferData(GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage); +ANGLE_EXPORT void GL_APIENTRY BufferSubData(GLenum target, + GLintptr offset, GLsizeiptr size, - const void *data, - GLenum usage); -ANGLE_EXPORT void GL_APIENTRY GL_BufferSubData(GLenum target, - GLintptr offset, - GLsizeiptr size, - const void *data); -ANGLE_EXPORT GLenum GL_APIENTRY GL_CheckFramebufferStatus(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_Clear(GLbitfield mask); -ANGLE_EXPORT void GL_APIENTRY GL_ClearColor(GLfloat red, - GLfloat green, - GLfloat blue, - GLfloat alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ClearDepthf(GLfloat d); -ANGLE_EXPORT void GL_APIENTRY GL_ClearStencil(GLint s); -ANGLE_EXPORT void GL_APIENTRY GL_ColorMask(GLboolean red, - GLboolean green, - GLboolean blue, - GLboolean alpha); -ANGLE_EXPORT void GL_APIENTRY GL_CompileShader(GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage2D(GLenum target, + const void *data); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatus(GLenum target); +ANGLE_EXPORT void GL_APIENTRY Clear(GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY ClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY ClearDepthf(GLfloat d); +ANGLE_EXPORT void GL_APIENTRY ClearStencil(GLint s); +ANGLE_EXPORT void GL_APIENTRY ColorMask(GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha); +ANGLE_EXPORT void GL_APIENTRY CompileShader(GLuint shader); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2D(GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, GLsizei width, GLsizei height, - GLint border, + GLenum format, GLsizei imageSize, const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexImage2D(GLenum target, +ANGLE_EXPORT void GL_APIENTRY CopyTexImage2D(GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage2D(GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, GLint x, GLint y, GLsizei width, - GLsizei height, - GLint border); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateProgram(); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShader(GLenum type); -ANGLE_EXPORT void GL_APIENTRY GL_CullFace(GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteBuffers(GLsizei n, const GLuint *buffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFramebuffers(GLsizei n, const GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgram(GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteShader(GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteTextures(GLsizei n, const GLuint *textures); -ANGLE_EXPORT void GL_APIENTRY GL_DepthFunc(GLenum func); -ANGLE_EXPORT void GL_APIENTRY GL_DepthMask(GLboolean flag); -ANGLE_EXPORT void GL_APIENTRY GL_DepthRangef(GLfloat n, GLfloat f); -ANGLE_EXPORT void GL_APIENTRY GL_DetachShader(GLuint program, GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_Disable(GLenum cap); -ANGLE_EXPORT void GL_APIENTRY GL_DisableVertexAttribArray(GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArrays(GLenum mode, GLint first, GLsizei count); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElements(GLenum mode, - GLsizei count, - GLenum type, - const void *indices); -ANGLE_EXPORT void GL_APIENTRY GL_Enable(GLenum cap); -ANGLE_EXPORT void GL_APIENTRY GL_EnableVertexAttribArray(GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_Finish(); -ANGLE_EXPORT void GL_APIENTRY GL_Flush(); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferRenderbuffer(GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2D(GLenum target, + GLsizei height); +ANGLE_EXPORT GLuint GL_APIENTRY CreateProgram(); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShader(GLenum type); +ANGLE_EXPORT void GL_APIENTRY CullFace(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY DeleteBuffers(GLsizei n, const GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffers(GLsizei n, const GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteProgram(GLuint program); +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteShader(GLuint shader); +ANGLE_EXPORT void GL_APIENTRY DeleteTextures(GLsizei n, const GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY DepthFunc(GLenum func); +ANGLE_EXPORT void GL_APIENTRY DepthMask(GLboolean flag); +ANGLE_EXPORT void GL_APIENTRY DepthRangef(GLfloat n, GLfloat f); +ANGLE_EXPORT void GL_APIENTRY DetachShader(GLuint program, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY Disable(GLenum cap); +ANGLE_EXPORT void GL_APIENTRY DisableVertexAttribArray(GLuint index); +ANGLE_EXPORT void GL_APIENTRY DrawArrays(GLenum mode, GLint first, GLsizei count); +ANGLE_EXPORT void GL_APIENTRY DrawElements(GLenum mode, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY Enable(GLenum cap); +ANGLE_EXPORT void GL_APIENTRY EnableVertexAttribArray(GLuint index); +ANGLE_EXPORT void GL_APIENTRY Finish(); +ANGLE_EXPORT void GL_APIENTRY Flush(); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbuffer(GLenum target, GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_FrontFace(GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_GenBuffers(GLsizei n, GLuint *buffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenFramebuffers(GLsizei n, GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenRenderbuffers(GLsizei n, GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenTextures(GLsizei n, GLuint *textures); -ANGLE_EXPORT void GL_APIENTRY GL_GenerateMipmap(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveAttrib(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniform(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetAttachedShaders(GLuint program, - GLsizei maxCount, - GLsizei *count, - GLuint *shaders); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetAttribLocation(GLuint program, const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleanv(GLenum pname, GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameteriv(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetError(); -ANGLE_EXPORT void GL_APIENTRY GL_GetFloatv(GLenum pname, GLfloat *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferAttachmentParameteriv(GLenum target, - GLenum attachment, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegerv(GLenum pname, GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInfoLog(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramiv(GLuint program, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameteriv(GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderInfoLog(GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderPrecisionFormat(GLenum shadertype, - GLenum precisiontype, - GLint *range, - GLint *precision); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderSource(GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *source); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderiv(GLuint shader, GLenum pname, GLint *params); -ANGLE_EXPORT const GLubyte *GL_APIENTRY GL_GetString(GLenum name); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameteriv(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetUniformLocation(GLuint program, const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformfv(GLuint program, GLint location, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformiv(GLuint program, GLint location, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribPointerv(GLuint index, + GLenum renderbuffertarget, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2D(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FrontFace(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY GenBuffers(GLsizei n, GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffers(GLsizei n, GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffers(GLsizei n, GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY GenTextures(GLsizei n, GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY GenerateMipmap(GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetActiveAttrib(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniform(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetAttachedShaders(GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders); +ANGLE_EXPORT GLint GL_APIENTRY GetAttribLocation(GLuint program, const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetBooleanv(GLenum pname, GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteriv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT GLenum GL_APIENTRY GetError(); +ANGLE_EXPORT void GL_APIENTRY GetFloatv(GLenum pname, GLfloat *data); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameteriv(GLenum target, + GLenum attachment, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetIntegerv(GLenum pname, GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetProgramInfoLog(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramiv(GLuint program, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameteriv(GLenum target, GLenum pname, - void **pointer); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribiv(GLuint index, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_Hint(GLenum target, GLenum mode); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsBuffer(GLuint buffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnabled(GLenum cap); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFramebuffer(GLuint framebuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgram(GLuint program); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsRenderbuffer(GLuint renderbuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsShader(GLuint shader); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsTexture(GLuint texture); -ANGLE_EXPORT void GL_APIENTRY GL_LineWidth(GLfloat width); -ANGLE_EXPORT void GL_APIENTRY GL_LinkProgram(GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_PixelStorei(GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_PolygonOffset(GLfloat factor, GLfloat units); -ANGLE_EXPORT void GL_APIENTRY GL_ReadPixels(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_ReleaseShaderCompiler(); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorage(GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_SampleCoverage(GLfloat value, GLboolean invert); -ANGLE_EXPORT void GL_APIENTRY GL_Scissor(GLint x, GLint y, GLsizei width, GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_ShaderBinary(GLsizei count, - const GLuint *shaders, - GLenum binaryformat, - const void *binary, - GLsizei length); -ANGLE_EXPORT void GL_APIENTRY GL_ShaderSource(GLuint shader, - GLsizei count, - const GLchar *const *string, - const GLint *length); -ANGLE_EXPORT void GL_APIENTRY GL_StencilFunc(GLenum func, GLint ref, GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilFuncSeparate(GLenum face, - GLenum func, - GLint ref, - GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilMask(GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilMaskSeparate(GLenum face, GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilOp(GLenum fail, GLenum zfail, GLenum zpass); -ANGLE_EXPORT void GL_APIENTRY GL_StencilOpSeparate(GLenum face, - GLenum sfail, - GLenum dpfail, - GLenum dppass); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2D(GLenum target, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetShaderInfoLog(GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetShaderPrecisionFormat(GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision); +ANGLE_EXPORT void GL_APIENTRY GetShaderSource(GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source); +ANGLE_EXPORT void GL_APIENTRY GetShaderiv(GLuint shader, GLenum pname, GLint *params); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetString(GLenum name); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameteriv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT GLint GL_APIENTRY GetUniformLocation(GLuint program, const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetUniformfv(GLuint program, GLint location, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformiv(GLuint program, GLint location, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribiv(GLuint index, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY Hint(GLenum target, GLenum mode); +ANGLE_EXPORT GLboolean GL_APIENTRY IsBuffer(GLuint buffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnabled(GLenum cap); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebuffer(GLuint framebuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgram(GLuint program); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbuffer(GLuint renderbuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsShader(GLuint shader); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTexture(GLuint texture); +ANGLE_EXPORT void GL_APIENTRY LineWidth(GLfloat width); +ANGLE_EXPORT void GL_APIENTRY LinkProgram(GLuint program); +ANGLE_EXPORT void GL_APIENTRY PixelStorei(GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY PolygonOffset(GLfloat factor, GLfloat units); +ANGLE_EXPORT void GL_APIENTRY ReadPixels(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY ReleaseShaderCompiler(); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorage(GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY SampleCoverage(GLfloat value, GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY Scissor(GLint x, GLint y, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY ShaderBinary(GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ShaderSource(GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length); +ANGLE_EXPORT void GL_APIENTRY StencilFunc(GLenum func, GLint ref, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMask(GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMaskSeparate(GLenum face, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilOp(GLenum fail, GLenum zfail, GLenum zpass); +ANGLE_EXPORT void GL_APIENTRY StencilOpSeparate(GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass); +ANGLE_EXPORT void GL_APIENTRY TexImage2D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexParameterf(GLenum target, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexParameterfv(GLenum target, GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameteri(GLenum target, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY TexParameteriv(GLenum target, GLenum pname, const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2D(GLenum target, GLint level, - GLint internalformat, + GLint xoffset, + GLint yoffset, GLsizei width, GLsizei height, - GLint border, GLenum format, GLenum type, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterf(GLenum target, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterfv(GLenum target, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameteri(GLenum target, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameteriv(GLenum target, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage2D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1f(GLint location, GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1fv(GLint location, GLsizei count, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1i(GLint location, GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1iv(GLint location, GLsizei count, const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2f(GLint location, GLfloat v0, GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2fv(GLint location, GLsizei count, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2i(GLint location, GLint v0, GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2iv(GLint location, GLsizei count, const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3fv(GLint location, GLsizei count, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3i(GLint location, GLint v0, GLint v1, GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3iv(GLint location, GLsizei count, const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1f(GLint location, GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1fv(GLint location, GLsizei count, const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1i(GLint location, GLint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1iv(GLint location, GLsizei count, const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2f(GLint location, GLfloat v0, GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2fv(GLint location, GLsizei count, const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2i(GLint location, GLint v0, GLint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2iv(GLint location, GLsizei count, const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3fv(GLint location, GLsizei count, const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform3i(GLint location, GLint v0, GLint v1, GLint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3iv(GLint location, GLsizei count, const GLint *value); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4fv(GLint location, GLsizei count, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4iv(GLint location, GLsizei count, const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgram(GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgram(GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1f(GLuint index, GLfloat x); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1fv(GLuint index, const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2f(GLuint index, GLfloat x, GLfloat y); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2fv(GLuint index, const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3fv(GLuint index, const GLfloat *v); +Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4fv(GLint location, GLsizei count, const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4iv(GLint location, GLsizei count, const GLint *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UseProgram(GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgram(GLuint program); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1f(GLuint index, GLfloat x); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1fv(GLuint index, const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2f(GLuint index, GLfloat x, GLfloat y); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2fv(GLuint index, const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib3fv(GLuint index, const GLfloat *v); ANGLE_EXPORT void GL_APIENTRY -GL_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4fv(GLuint index, const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribPointer(GLuint index, - GLint size, - GLenum type, - GLboolean normalized, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_Viewport(GLint x, GLint y, GLsizei width, GLsizei height); -} // extern "C" +VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib4fv(GLuint index, const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribPointer(GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY Viewport(GLint x, GLint y, GLsizei width, GLsizei height); +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_2_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp index d0541b68e8c1..25ef1ca129c5 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp @@ -13,26 +13,25 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_3_0_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_3_0_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationES3.h" #include "libGLESv2/global_state.h" -using namespace gl; - -extern "C" { -void GL_APIENTRY GL_BeginQuery(GLenum target, GLuint id) +namespace gl +{ +void GL_APIENTRY BeginQuery(GLenum target, GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target), id); + EVENT(context, gl::EntryPoint::BeginQuery, "glBeginQuery", "context = %d, target = %s, id = %u", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target), id); if (context) { - QueryType targetPacked = PackParam(target); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginQuery(context, targetPacked, idPacked)); if (isCallValid) @@ -47,16 +46,17 @@ void GL_APIENTRY GL_BeginQuery(GLenum target, GLuint id) } } -void GL_APIENTRY GL_BeginTransformFeedback(GLenum primitiveMode) +void GL_APIENTRY BeginTransformFeedback(GLenum primitiveMode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBeginTransformFeedback, "context = %d, primitiveMode = %s", CID(context), + EVENT(context, gl::EntryPoint::BeginTransformFeedback, "glBeginTransformFeedback", + "context = %d, primitiveMode = %s", CID(context), GLenumToString(GLenumGroup::PrimitiveType, primitiveMode)); if (context) { - PrimitiveMode primitiveModePacked = PackParam(primitiveMode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode primitiveModePacked = FromGL(primitiveMode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginTransformFeedback(context, primitiveModePacked)); if (isCallValid) @@ -71,17 +71,18 @@ void GL_APIENTRY GL_BeginTransformFeedback(GLenum primitiveMode) } } -void GL_APIENTRY GL_BindBufferBase(GLenum target, GLuint index, GLuint buffer) +void GL_APIENTRY BindBufferBase(GLenum target, GLuint index, GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindBufferBase, "context = %d, target = %s, index = %u, buffer = %u", - CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer); + EVENT(context, gl::EntryPoint::BindBufferBase, "glBindBufferBase", + "context = %d, target = %s, index = %u, buffer = %u", CID(context), + GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer); if (context) { - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBufferBase(context, targetPacked, index, bufferPacked)); if (isCallValid) @@ -97,19 +98,19 @@ void GL_APIENTRY GL_BindBufferBase(GLenum target, GLuint index, GLuint buffer) } void GL_APIENTRY -GL_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) +BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindBufferRange, + EVENT(context, gl::EntryPoint::BindBufferRange, "glBindBufferRange", "context = %d, target = %s, index = %u, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer, static_cast(offset), static_cast(size)); if (context) { - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBufferRange(context, targetPacked, index, bufferPacked, offset, size)); @@ -126,16 +127,16 @@ GL_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, } } -void GL_APIENTRY GL_BindSampler(GLuint unit, GLuint sampler) +void GL_APIENTRY BindSampler(GLuint unit, GLuint sampler) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindSampler, "context = %d, unit = %u, sampler = %u", CID(context), unit, - sampler); + EVENT(context, gl::EntryPoint::BindSampler, "glBindSampler", + "context = %d, unit = %u, sampler = %u", CID(context), unit, sampler); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindSampler(context, unit, samplerPacked)); if (isCallValid) @@ -150,16 +151,17 @@ void GL_APIENTRY GL_BindSampler(GLuint unit, GLuint sampler) } } -void GL_APIENTRY GL_BindTransformFeedback(GLenum target, GLuint id) +void GL_APIENTRY BindTransformFeedback(GLenum target, GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindTransformFeedback, "context = %d, target = %s, id = %u", CID(context), + EVENT(context, gl::EntryPoint::BindTransformFeedback, "glBindTransformFeedback", + "context = %d, target = %s, id = %u", CID(context), GLenumToString(GLenumGroup::BindTransformFeedbackTarget, target), id); if (context) { - TransformFeedbackID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindTransformFeedback(context, target, idPacked)); if (isCallValid) @@ -174,15 +176,16 @@ void GL_APIENTRY GL_BindTransformFeedback(GLenum target, GLuint id) } } -void GL_APIENTRY GL_BindVertexArray(GLuint array) +void GL_APIENTRY BindVertexArray(GLuint array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindVertexArray, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::BindVertexArray, "glBindVertexArray", "context = %d, array = %u", + CID(context), array); if (context) { - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexArray(context, arrayPacked)); if (isCallValid) @@ -197,19 +200,19 @@ void GL_APIENTRY GL_BindVertexArray(GLuint array) } } -void GL_APIENTRY GL_BlitFramebuffer(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) +void GL_APIENTRY BlitFramebuffer(GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlitFramebuffer, + EVENT(context, gl::EntryPoint::BlitFramebuffer, "glBlitFramebuffer", "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, @@ -218,7 +221,7 @@ void GL_APIENTRY GL_BlitFramebuffer(GLint srcX0, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlitFramebuffer(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)); @@ -236,16 +239,16 @@ void GL_APIENTRY GL_BlitFramebuffer(GLint srcX0, } } -void GL_APIENTRY GL_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) +void GL_APIENTRY ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearBufferfi, + EVENT(context, gl::EntryPoint::ClearBufferfi, "glClearBufferfi", "context = %d, buffer = %s, drawbuffer = %d, depth = %f, stencil = %d", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, depth, stencil); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferfi(context, buffer, drawbuffer, depth, stencil)); if (isCallValid) @@ -260,16 +263,16 @@ void GL_APIENTRY GL_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth } } -void GL_APIENTRY GL_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) +void GL_APIENTRY ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearBufferfv, + EVENT(context, gl::EntryPoint::ClearBufferfv, "glClearBufferfv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferfv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -284,16 +287,16 @@ void GL_APIENTRY GL_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat } } -void GL_APIENTRY GL_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) +void GL_APIENTRY ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearBufferiv, + EVENT(context, gl::EntryPoint::ClearBufferiv, "glClearBufferiv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferiv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -308,16 +311,16 @@ void GL_APIENTRY GL_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint * } } -void GL_APIENTRY GL_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) +void GL_APIENTRY ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClearBufferuiv, + EVENT(context, gl::EntryPoint::ClearBufferuiv, "glClearBufferuiv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferuiv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -332,10 +335,10 @@ void GL_APIENTRY GL_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint } } -GLenum GL_APIENTRY GL_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) +GLenum GL_APIENTRY ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { Context *context = GetValidGlobalContext(); - EVENT(context, GLClientWaitSync, + EVENT(context, gl::EntryPoint::ClientWaitSync, "glClientWaitSync", "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", CID(context), (uintptr_t)sync, GLbitfieldToString(GLenumGroup::SyncObjectMask, flags).c_str(), static_cast(timeout)); @@ -343,7 +346,7 @@ GLenum GL_APIENTRY GL_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 tim GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClientWaitSync(context, sync, flags, timeout)); if (isCallValid) @@ -352,30 +355,30 @@ GLenum GL_APIENTRY GL_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 tim } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(ClientWaitSync, isCallValid, context, sync, flags, timeout, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_CompressedTexImage3D(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage3D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexImage3D, + EVENT(context, gl::EntryPoint::CompressedTexImage3D, "glCompressedTexImage3D", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -384,8 +387,8 @@ void GL_APIENTRY GL_CompressedTexImage3D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3D(context, targetPacked, level, internalformat, width, @@ -404,20 +407,20 @@ void GL_APIENTRY GL_CompressedTexImage3D(GLenum target, } } -void GL_APIENTRY GL_CompressedTexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexSubImage3D, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3D, "glCompressedTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -426,8 +429,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, @@ -446,14 +449,14 @@ void GL_APIENTRY GL_CompressedTexSubImage3D(GLenum target, } } -void GL_APIENTRY GL_CopyBufferSubData(GLenum readTarget, - GLenum writeTarget, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size) +void GL_APIENTRY CopyBufferSubData(GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyBufferSubData, + EVENT(context, gl::EntryPoint::CopyBufferSubData, "glCopyBufferSubData", "context = %d, readTarget = %s, writeTarget = %s, readOffset = %llu, writeOffset = %llu, " "size = %llu", CID(context), GLenumToString(GLenumGroup::CopyBufferSubDataTarget, readTarget), @@ -463,9 +466,9 @@ void GL_APIENTRY GL_CopyBufferSubData(GLenum readTarget, if (context) { - BufferBinding readTargetPacked = PackParam(readTarget); - BufferBinding writeTargetPacked = PackParam(writeTarget); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding readTargetPacked = FromGL(readTarget); + BufferBinding writeTargetPacked = FromGL(writeTarget); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyBufferSubData(context, readTargetPacked, writeTargetPacked, readOffset, writeOffset, size)); @@ -483,18 +486,18 @@ void GL_APIENTRY GL_CopyBufferSubData(GLenum readTarget, } } -void GL_APIENTRY GL_CopyTexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTexSubImage3D, + EVENT(context, gl::EntryPoint::CopyTexSubImage3D, "glCopyTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, x = " "%d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -502,8 +505,8 @@ void GL_APIENTRY GL_CopyTexSubImage3D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, x, y, width, height)); @@ -521,16 +524,16 @@ void GL_APIENTRY GL_CopyTexSubImage3D(GLenum target, } } -void GL_APIENTRY GL_DeleteQueries(GLsizei n, const GLuint *ids) +void GL_APIENTRY DeleteQueries(GLsizei n, const GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteQueries, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::DeleteQueries, "glDeleteQueries", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - const QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteQueries(context, n, idsPacked)); if (isCallValid) @@ -545,16 +548,17 @@ void GL_APIENTRY GL_DeleteQueries(GLsizei n, const GLuint *ids) } } -void GL_APIENTRY GL_DeleteSamplers(GLsizei count, const GLuint *samplers) +void GL_APIENTRY DeleteSamplers(GLsizei count, const GLuint *samplers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteSamplers, "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", - CID(context), count, (uintptr_t)samplers); + EVENT(context, gl::EntryPoint::DeleteSamplers, "glDeleteSamplers", + "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", CID(context), count, + (uintptr_t)samplers); if (context) { - const SamplerID *samplersPacked = PackParam(samplers); - std::unique_lock shareContextLock = GetContextLock(context); + const SamplerID *samplersPacked = FromGL(samplers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSamplers(context, count, samplersPacked)); if (isCallValid) @@ -569,15 +573,15 @@ void GL_APIENTRY GL_DeleteSamplers(GLsizei count, const GLuint *samplers) } } -void GL_APIENTRY GL_DeleteSync(GLsync sync) +void GL_APIENTRY DeleteSync(GLsync sync) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteSync, "context = %d, sync = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)sync); + EVENT(context, gl::EntryPoint::DeleteSync, "glDeleteSync", + "context = %d, sync = 0x%016" PRIxPTR "", CID(context), (uintptr_t)sync); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSync(context, sync)); if (isCallValid) { @@ -591,16 +595,16 @@ void GL_APIENTRY GL_DeleteSync(GLsync sync) } } -void GL_APIENTRY GL_DeleteTransformFeedbacks(GLsizei n, const GLuint *ids) +void GL_APIENTRY DeleteTransformFeedbacks(GLsizei n, const GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteTransformFeedbacks, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::DeleteTransformFeedbacks, "glDeleteTransformFeedbacks", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - const TransformFeedbackID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const TransformFeedbackID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteTransformFeedbacks(context, n, idsPacked)); if (isCallValid) @@ -615,16 +619,16 @@ void GL_APIENTRY GL_DeleteTransformFeedbacks(GLsizei n, const GLuint *ids) } } -void GL_APIENTRY GL_DeleteVertexArrays(GLsizei n, const GLuint *arrays) +void GL_APIENTRY DeleteVertexArrays(GLsizei n, const GLuint *arrays) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteVertexArrays, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::DeleteVertexArrays, "glDeleteVertexArrays", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context) { - const VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + const VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteVertexArrays(context, n, arraysPacked)); if (isCallValid) @@ -639,20 +643,17 @@ void GL_APIENTRY GL_DeleteVertexArrays(GLsizei n, const GLuint *arrays) } } -void GL_APIENTRY GL_DrawArraysInstanced(GLenum mode, - GLint first, - GLsizei count, - GLsizei instancecount) +void GL_APIENTRY DrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArraysInstanced, + EVENT(context, gl::EntryPoint::DrawArraysInstanced, "glDrawArraysInstanced", "context = %d, mode = %s, first = %d, count = %d, instancecount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, instancecount); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstanced(context, modePacked, first, count, instancecount)); @@ -669,15 +670,15 @@ void GL_APIENTRY GL_DrawArraysInstanced(GLenum mode, } } -void GL_APIENTRY GL_DrawBuffers(GLsizei n, const GLenum *bufs) +void GL_APIENTRY DrawBuffers(GLsizei n, const GLenum *bufs) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawBuffers, "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)bufs); + EVENT(context, gl::EntryPoint::DrawBuffers, "glDrawBuffers", + "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)bufs); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawBuffers(context, n, bufs)); if (isCallValid) { @@ -691,14 +692,14 @@ void GL_APIENTRY GL_DrawBuffers(GLsizei n, const GLenum *bufs) } } -void GL_APIENTRY GL_DrawElementsInstanced(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount) +void GL_APIENTRY DrawElementsInstanced(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstanced, + EVENT(context, gl::EntryPoint::DrawElementsInstanced, "glDrawElementsInstanced", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -706,9 +707,9 @@ void GL_APIENTRY GL_DrawElementsInstanced(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstanced(context, modePacked, count, typePacked, indices, instancecount)); @@ -725,15 +726,15 @@ void GL_APIENTRY GL_DrawElementsInstanced(GLenum mode, } } -void GL_APIENTRY GL_DrawRangeElements(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices) +void GL_APIENTRY DrawRangeElements(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawRangeElements, + EVENT(context, gl::EntryPoint::DrawRangeElements, "glDrawRangeElements", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -741,9 +742,9 @@ void GL_APIENTRY GL_DrawRangeElements(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElements(context, modePacked, start, end, count, typePacked, indices)); @@ -760,16 +761,16 @@ void GL_APIENTRY GL_DrawRangeElements(GLenum mode, } } -void GL_APIENTRY GL_EndQuery(GLenum target) +void GL_APIENTRY EndQuery(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEndQuery, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target)); + EVENT(context, gl::EntryPoint::EndQuery, "glEndQuery", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target)); if (context) { - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndQuery(context, targetPacked)); if (isCallValid) { @@ -783,14 +784,15 @@ void GL_APIENTRY GL_EndQuery(GLenum target) } } -void GL_APIENTRY GL_EndTransformFeedback() +void GL_APIENTRY EndTransformFeedback() { Context *context = GetValidGlobalContext(); - EVENT(context, GLEndTransformFeedback, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::EndTransformFeedback, "glEndTransformFeedback", "context = %d", + CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndTransformFeedback(context)); if (isCallValid) { @@ -804,17 +806,18 @@ void GL_APIENTRY GL_EndTransformFeedback() } } -GLsync GL_APIENTRY GL_FenceSync(GLenum condition, GLbitfield flags) +GLsync GL_APIENTRY FenceSync(GLenum condition, GLbitfield flags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFenceSync, "context = %d, condition = %s, flags = %s", CID(context), + EVENT(context, gl::EntryPoint::FenceSync, "glFenceSync", + "context = %d, condition = %s, flags = %s", CID(context), GLenumToString(GLenumGroup::SyncCondition, condition), GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str()); GLsync returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFenceSync(context, condition, flags)); if (isCallValid) @@ -823,30 +826,30 @@ GLsync GL_APIENTRY GL_FenceSync(GLenum condition, GLbitfield flags) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(FenceSync, isCallValid, context, condition, flags, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_FlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) +void GL_APIENTRY FlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFlushMappedBufferRange, + EVENT(context, gl::EntryPoint::FlushMappedBufferRange, "glFlushMappedBufferRange", "context = %d, target = %s, offset = %llu, length = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length)); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlushMappedBufferRange(context, targetPacked, offset, length)); if (isCallValid) @@ -861,22 +864,19 @@ void GL_APIENTRY GL_FlushMappedBufferRange(GLenum target, GLintptr offset, GLsiz } } -void GL_APIENTRY GL_FramebufferTextureLayer(GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint layer) +void GL_APIENTRY +FramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTextureLayer, + EVENT(context, gl::EntryPoint::FramebufferTextureLayer, "glFramebufferTextureLayer", "context = %d, target = %s, attachment = %s, texture = %u, level = %d, layer = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level, layer); if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureLayer(context, target, attachment, texturePacked, level, layer)); @@ -893,16 +893,16 @@ void GL_APIENTRY GL_FramebufferTextureLayer(GLenum target, } } -void GL_APIENTRY GL_GenQueries(GLsizei n, GLuint *ids) +void GL_APIENTRY GenQueries(GLsizei n, GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenQueries, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)ids); + EVENT(context, gl::EntryPoint::GenQueries, "glGenQueries", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenQueries(context, n, idsPacked)); if (isCallValid) { @@ -916,16 +916,17 @@ void GL_APIENTRY GL_GenQueries(GLsizei n, GLuint *ids) } } -void GL_APIENTRY GL_GenSamplers(GLsizei count, GLuint *samplers) +void GL_APIENTRY GenSamplers(GLsizei count, GLuint *samplers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenSamplers, "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", - CID(context), count, (uintptr_t)samplers); + EVENT(context, gl::EntryPoint::GenSamplers, "glGenSamplers", + "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", CID(context), count, + (uintptr_t)samplers); if (context) { - SamplerID *samplersPacked = PackParam(samplers); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID *samplersPacked = FromGL(samplers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenSamplers(context, count, samplersPacked)); if (isCallValid) @@ -940,16 +941,16 @@ void GL_APIENTRY GL_GenSamplers(GLsizei count, GLuint *samplers) } } -void GL_APIENTRY GL_GenTransformFeedbacks(GLsizei n, GLuint *ids) +void GL_APIENTRY GenTransformFeedbacks(GLsizei n, GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenTransformFeedbacks, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::GenTransformFeedbacks, "glGenTransformFeedbacks", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - TransformFeedbackID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenTransformFeedbacks(context, n, idsPacked)); if (isCallValid) @@ -964,16 +965,16 @@ void GL_APIENTRY GL_GenTransformFeedbacks(GLsizei n, GLuint *ids) } } -void GL_APIENTRY GL_GenVertexArrays(GLsizei n, GLuint *arrays) +void GL_APIENTRY GenVertexArrays(GLsizei n, GLuint *arrays) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenVertexArrays, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::GenVertexArrays, "glGenVertexArrays", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context) { - VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenVertexArrays(context, n, arraysPacked)); if (isCallValid) @@ -988,15 +989,15 @@ void GL_APIENTRY GL_GenVertexArrays(GLsizei n, GLuint *arrays) } } -void GL_APIENTRY GL_GetActiveUniformBlockName(GLuint program, - GLuint uniformBlockIndex, - GLsizei bufSize, - GLsizei *length, - GLchar *uniformBlockName) +void GL_APIENTRY GetActiveUniformBlockName(GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName) { Context *context = GetValidGlobalContext(); EVENT( - context, GLGetActiveUniformBlockName, + context, gl::EntryPoint::GetActiveUniformBlockName, "glGetActiveUniformBlockName", "context = %d, program = %u, uniformBlockIndex = %u, bufSize = %d, length = 0x%016" PRIxPTR ", uniformBlockName = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, bufSize, (uintptr_t)length, @@ -1004,20 +1005,19 @@ void GL_APIENTRY GL_GetActiveUniformBlockName(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockName(context, programPacked, uniformBlockIndexPacked, - bufSize, length, uniformBlockName)); + ValidateGetActiveUniformBlockName(context, programPacked, uniformBlockIndex, bufSize, + length, uniformBlockName)); if (isCallValid) { - context->getActiveUniformBlockName(programPacked, uniformBlockIndexPacked, bufSize, - length, uniformBlockName); + context->getActiveUniformBlockName(programPacked, uniformBlockIndex, bufSize, length, + uniformBlockName); } ANGLE_CAPTURE(GetActiveUniformBlockName, isCallValid, context, programPacked, - uniformBlockIndexPacked, bufSize, length, uniformBlockName); + uniformBlockIndex, bufSize, length, uniformBlockName); } else { @@ -1025,13 +1025,13 @@ void GL_APIENTRY GL_GetActiveUniformBlockName(GLuint program, } } -void GL_APIENTRY GL_GetActiveUniformBlockiv(GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLint *params) +void GL_APIENTRY GetActiveUniformBlockiv(GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetActiveUniformBlockiv, + EVENT(context, gl::EntryPoint::GetActiveUniformBlockiv, "glGetActiveUniformBlockiv", "context = %d, program = %u, uniformBlockIndex = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, @@ -1039,18 +1039,17 @@ void GL_APIENTRY GL_GetActiveUniformBlockiv(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockiv( - context, programPacked, uniformBlockIndexPacked, pname, params)); + ValidateGetActiveUniformBlockiv(context, programPacked, + uniformBlockIndex, pname, params)); if (isCallValid) { - context->getActiveUniformBlockiv(programPacked, uniformBlockIndexPacked, pname, params); + context->getActiveUniformBlockiv(programPacked, uniformBlockIndex, pname, params); } ANGLE_CAPTURE(GetActiveUniformBlockiv, isCallValid, context, programPacked, - uniformBlockIndexPacked, pname, params); + uniformBlockIndex, pname, params); } else { @@ -1058,14 +1057,14 @@ void GL_APIENTRY GL_GetActiveUniformBlockiv(GLuint program, } } -void GL_APIENTRY GL_GetActiveUniformsiv(GLuint program, - GLsizei uniformCount, - const GLuint *uniformIndices, - GLenum pname, - GLint *params) +void GL_APIENTRY GetActiveUniformsiv(GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetActiveUniformsiv, + EVENT(context, gl::EntryPoint::GetActiveUniformsiv, "glGetActiveUniformsiv", "context = %d, program = %u, uniformCount = %d, uniformIndices = 0x%016" PRIxPTR ", pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, uniformCount, (uintptr_t)uniformIndices, @@ -1073,8 +1072,8 @@ void GL_APIENTRY GL_GetActiveUniformsiv(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveUniformsiv(context, programPacked, uniformCount, uniformIndices, pname, params)); @@ -1092,18 +1091,18 @@ void GL_APIENTRY GL_GetActiveUniformsiv(GLuint program, } } -void GL_APIENTRY GL_GetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) +void GL_APIENTRY GetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferParameteri64v, + EVENT(context, gl::EntryPoint::GetBufferParameteri64v, "glGetBufferParameteri64v", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteri64v(context, targetPacked, pname, params)); if (isCallValid) @@ -1118,18 +1117,18 @@ void GL_APIENTRY GL_GetBufferParameteri64v(GLenum target, GLenum pname, GLint64 } } -void GL_APIENTRY GL_GetBufferPointerv(GLenum target, GLenum pname, void **params) +void GL_APIENTRY GetBufferPointerv(GLenum target, GLenum pname, void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferPointerv, + EVENT(context, gl::EntryPoint::GetBufferPointerv, "glGetBufferPointerv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointerv(context, targetPacked, pname, params)); if (isCallValid) @@ -1144,17 +1143,18 @@ void GL_APIENTRY GL_GetBufferPointerv(GLenum target, GLenum pname, void **params } } -GLint GL_APIENTRY GL_GetFragDataLocation(GLuint program, const GLchar *name) +GLint GL_APIENTRY GetFragDataLocation(GLuint program, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFragDataLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetFragDataLocation, "glGetFragDataLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFragDataLocation(context, programPacked, name)); if (isCallValid) @@ -1163,28 +1163,28 @@ GLint GL_APIENTRY GL_GetFragDataLocation(GLuint program, const GLchar *name) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetFragDataLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetInteger64i_v(GLenum target, GLuint index, GLint64 *data) +void GL_APIENTRY GetInteger64i_v(GLenum target, GLuint index, GLint64 *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInteger64i_v, + EVENT(context, gl::EntryPoint::GetInteger64i_v, "glGetInteger64i_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TypeEnum, target), index, (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64i_v(context, target, index, data)); if (isCallValid) @@ -1199,15 +1199,16 @@ void GL_APIENTRY GL_GetInteger64i_v(GLenum target, GLuint index, GLint64 *data) } } -void GL_APIENTRY GL_GetInteger64v(GLenum pname, GLint64 *data) +void GL_APIENTRY GetInteger64v(GLenum pname, GLint64 *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInteger64v, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetInteger64v, "glGetInteger64v", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64v(context, pname, data)); if (isCallValid) @@ -1222,16 +1223,16 @@ void GL_APIENTRY GL_GetInteger64v(GLenum pname, GLint64 *data) } } -void GL_APIENTRY GL_GetIntegeri_v(GLenum target, GLuint index, GLint *data) +void GL_APIENTRY GetIntegeri_v(GLenum target, GLuint index, GLint *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetIntegeri_v, + EVENT(context, gl::EntryPoint::GetIntegeri_v, "glGetIntegeri_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TypeEnum, target), index, (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegeri_v(context, target, index, data)); if (isCallValid) @@ -1246,14 +1247,14 @@ void GL_APIENTRY GL_GetIntegeri_v(GLenum target, GLuint index, GLint *data) } } -void GL_APIENTRY GL_GetInternalformativ(GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLint *params) +void GL_APIENTRY GetInternalformativ(GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInternalformativ, + EVENT(context, gl::EntryPoint::GetInternalformativ, "glGetInternalformativ", "context = %d, target = %s, internalformat = %s, pname = %s, bufSize = %d, params = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), @@ -1262,7 +1263,7 @@ void GL_APIENTRY GL_GetInternalformativ(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInternalformativ(context, target, internalformat, pname, bufSize, params)); @@ -1279,14 +1280,14 @@ void GL_APIENTRY GL_GetInternalformativ(GLenum target, } } -void GL_APIENTRY GL_GetProgramBinary(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary) +void GL_APIENTRY GetProgramBinary(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramBinary, + EVENT(context, gl::EntryPoint::GetProgramBinary, "glGetProgramBinary", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", binaryFormat = 0x%016" PRIxPTR ", binary = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)binaryFormat, @@ -1294,8 +1295,8 @@ void GL_APIENTRY GL_GetProgramBinary(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramBinary(context, programPacked, bufSize, length, binaryFormat, binary)); @@ -1312,17 +1313,17 @@ void GL_APIENTRY GL_GetProgramBinary(GLuint program, } } -void GL_APIENTRY GL_GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) +void GL_APIENTRY GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryObjectuiv, + EVENT(context, gl::EntryPoint::GetQueryObjectuiv, "glGetQueryObjectuiv", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuiv(context, idPacked, pname, params)); if (isCallValid) @@ -1337,18 +1338,18 @@ void GL_APIENTRY GL_GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) } } -void GL_APIENTRY GL_GetQueryiv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetQueryiv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryiv, + EVENT(context, gl::EntryPoint::GetQueryiv, "glGetQueryiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), GLenumToString(GLenumGroup::QueryParameterName, pname), (uintptr_t)params); if (context) { - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryiv(context, targetPacked, pname, params)); if (isCallValid) @@ -1363,17 +1364,17 @@ void GL_APIENTRY GL_GetQueryiv(GLenum target, GLenum pname, GLint *params) } } -void GL_APIENTRY GL_GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) +void GL_APIENTRY GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterfv, + EVENT(context, gl::EntryPoint::GetSamplerParameterfv, "glGetSamplerParameterfv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterfv(context, samplerPacked, pname, params)); if (isCallValid) @@ -1388,17 +1389,17 @@ void GL_APIENTRY GL_GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat } } -void GL_APIENTRY GL_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) +void GL_APIENTRY GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameteriv, + EVENT(context, gl::EntryPoint::GetSamplerParameteriv, "glGetSamplerParameteriv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameteriv(context, samplerPacked, pname, params)); if (isCallValid) @@ -1413,16 +1414,17 @@ void GL_APIENTRY GL_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *p } } -const GLubyte *GL_APIENTRY GL_GetStringi(GLenum name, GLuint index) +const GLubyte *GL_APIENTRY GetStringi(GLenum name, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetStringi, "context = %d, name = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::GetStringi, "glGetStringi", + "context = %d, name = %s, index = %u", CID(context), GLenumToString(GLenumGroup::StringName, name), index); const GLubyte *returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetStringi(context, name, index)); if (isCallValid) { @@ -1430,23 +1432,23 @@ const GLubyte *GL_APIENTRY GL_GetStringi(GLenum name, GLuint index) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetStringi, isCallValid, context, name, index, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } void GL_APIENTRY -GL_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) +GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) { Context *context = GetGlobalContext(); - EVENT(context, GLGetSynciv, + EVENT(context, gl::EntryPoint::GetSynciv, "glGetSynciv", "context = %d, sync = 0x%016" PRIxPTR ", pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", values = 0x%016" PRIxPTR "", CID(context), (uintptr_t)sync, GLenumToString(GLenumGroup::SyncParameterName, pname), @@ -1454,7 +1456,7 @@ GL_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSynciv(context, sync, pname, bufSize, length, values)); if (isCallValid) @@ -1467,16 +1469,16 @@ GL_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint {} } -void GL_APIENTRY GL_GetTransformFeedbackVarying(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLsizei *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetTransformFeedbackVarying(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTransformFeedbackVarying, + EVENT(context, gl::EntryPoint::GetTransformFeedbackVarying, "glGetTransformFeedbackVarying", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -1484,8 +1486,8 @@ void GL_APIENTRY GL_GetTransformFeedbackVarying(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTransformFeedbackVarying(context, programPacked, index, bufSize, length, size, type, name)); @@ -1503,18 +1505,18 @@ void GL_APIENTRY GL_GetTransformFeedbackVarying(GLuint program, } } -GLuint GL_APIENTRY GL_GetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) +GLuint GL_APIENTRY GetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformBlockIndex, + EVENT(context, gl::EntryPoint::GetUniformBlockIndex, "glGetUniformBlockIndex", "context = %d, program = %u, uniformBlockName = 0x%016" PRIxPTR "", CID(context), program, (uintptr_t)uniformBlockName); GLuint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformBlockIndex(context, programPacked, uniformBlockName)); if (isCallValid) @@ -1523,8 +1525,7 @@ GLuint GL_APIENTRY GL_GetUniformBlockIndex(GLuint program, const GLchar *uniform } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetUniformBlockIndex, isCallValid, context, programPacked, uniformBlockName, returnValue); @@ -1532,26 +1533,26 @@ GLuint GL_APIENTRY GL_GetUniformBlockIndex(GLuint program, const GLchar *uniform else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetUniformIndices(GLuint program, - GLsizei uniformCount, - const GLchar *const *uniformNames, - GLuint *uniformIndices) +void GL_APIENTRY GetUniformIndices(GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformIndices, + EVENT(context, gl::EntryPoint::GetUniformIndices, "glGetUniformIndices", "context = %d, program = %u, uniformCount = %d, uniformNames = 0x%016" PRIxPTR ", uniformIndices = 0x%016" PRIxPTR "", CID(context), program, uniformCount, (uintptr_t)uniformNames, (uintptr_t)uniformIndices); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformIndices(context, programPacked, uniformCount, uniformNames, uniformIndices)); @@ -1568,18 +1569,18 @@ void GL_APIENTRY GL_GetUniformIndices(GLuint program, } } -void GL_APIENTRY GL_GetUniformuiv(GLuint program, GLint location, GLuint *params) +void GL_APIENTRY GetUniformuiv(GLuint program, GLint location, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformuiv, + EVENT(context, gl::EntryPoint::GetUniformuiv, "glGetUniformuiv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformuiv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -1594,16 +1595,16 @@ void GL_APIENTRY GL_GetUniformuiv(GLuint program, GLint location, GLuint *params } } -void GL_APIENTRY GL_GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) +void GL_APIENTRY GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribIiv, + EVENT(context, gl::EntryPoint::GetVertexAttribIiv, "glGetVertexAttribIiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::VertexAttribEnum, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIiv(context, index, pname, params)); if (isCallValid) @@ -1618,16 +1619,16 @@ void GL_APIENTRY GL_GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params } } -void GL_APIENTRY GL_GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) +void GL_APIENTRY GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribIuiv, + EVENT(context, gl::EntryPoint::GetVertexAttribIuiv, "glGetVertexAttribIuiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::VertexAttribEnum, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIuiv(context, index, pname, params)); if (isCallValid) @@ -1642,19 +1643,19 @@ void GL_APIENTRY GL_GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *para } } -void GL_APIENTRY GL_InvalidateFramebuffer(GLenum target, - GLsizei numAttachments, - const GLenum *attachments) +void GL_APIENTRY InvalidateFramebuffer(GLenum target, + GLsizei numAttachments, + const GLenum *attachments) { Context *context = GetValidGlobalContext(); - EVENT(context, GLInvalidateFramebuffer, + EVENT(context, gl::EntryPoint::InvalidateFramebuffer, "glInvalidateFramebuffer", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), numAttachments, (uintptr_t)attachments); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateFramebuffer(context, target, numAttachments, attachments)); @@ -1671,16 +1672,16 @@ void GL_APIENTRY GL_InvalidateFramebuffer(GLenum target, } } -void GL_APIENTRY GL_InvalidateSubFramebuffer(GLenum target, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY InvalidateSubFramebuffer(GLenum target, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLInvalidateSubFramebuffer, + EVENT(context, gl::EntryPoint::InvalidateSubFramebuffer, "glInvalidateSubFramebuffer", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR ", x = %d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), numAttachments, @@ -1688,7 +1689,7 @@ void GL_APIENTRY GL_InvalidateSubFramebuffer(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateSubFramebuffer(context, target, numAttachments, attachments, x, y, width, height)); @@ -1706,16 +1707,16 @@ void GL_APIENTRY GL_InvalidateSubFramebuffer(GLenum target, } } -GLboolean GL_APIENTRY GL_IsQuery(GLuint id) +GLboolean GL_APIENTRY IsQuery(GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsQuery, "context = %d, id = %u", CID(context), id); + EVENT(context, gl::EntryPoint::IsQuery, "glIsQuery", "context = %d, id = %u", CID(context), id); GLboolean returnValue; if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsQuery(context, idPacked)); if (isCallValid) { @@ -1723,28 +1724,29 @@ GLboolean GL_APIENTRY GL_IsQuery(GLuint id) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsQuery, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsSampler(GLuint sampler) +GLboolean GL_APIENTRY IsSampler(GLuint sampler) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsSampler, "context = %d, sampler = %u", CID(context), sampler); + EVENT(context, gl::EntryPoint::IsSampler, "glIsSampler", "context = %d, sampler = %u", + CID(context), sampler); GLboolean returnValue; if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSampler(context, samplerPacked)); if (isCallValid) { @@ -1752,28 +1754,28 @@ GLboolean GL_APIENTRY GL_IsSampler(GLuint sampler) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSampler, isCallValid, context, samplerPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsSync(GLsync sync) +GLboolean GL_APIENTRY IsSync(GLsync sync) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsSync, "context = %d, sync = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)sync); + EVENT(context, gl::EntryPoint::IsSync, "glIsSync", "context = %d, sync = 0x%016" PRIxPTR "", + CID(context), (uintptr_t)sync); GLboolean returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSync(context, sync)); if (isCallValid) { @@ -1781,28 +1783,29 @@ GLboolean GL_APIENTRY GL_IsSync(GLsync sync) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSync, isCallValid, context, sync, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsTransformFeedback(GLuint id) +GLboolean GL_APIENTRY IsTransformFeedback(GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsTransformFeedback, "context = %d, id = %u", CID(context), id); + EVENT(context, gl::EntryPoint::IsTransformFeedback, "glIsTransformFeedback", + "context = %d, id = %u", CID(context), id); GLboolean returnValue; if (context) { - TransformFeedbackID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsTransformFeedback(context, idPacked)); if (isCallValid) @@ -1811,29 +1814,29 @@ GLboolean GL_APIENTRY GL_IsTransformFeedback(GLuint id) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsTransformFeedback, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsVertexArray(GLuint array) +GLboolean GL_APIENTRY IsVertexArray(GLuint array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsVertexArray, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::IsVertexArray, "glIsVertexArray", "context = %d, array = %u", + CID(context), array); GLboolean returnValue; if (context) { - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsVertexArray(context, arrayPacked)); if (isCallValid) @@ -1842,25 +1845,25 @@ GLboolean GL_APIENTRY GL_IsVertexArray(GLuint array) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsVertexArray, isCallValid, context, arrayPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void *GL_APIENTRY GL_MapBufferRange(GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access) +void *GL_APIENTRY MapBufferRange(GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMapBufferRange, + EVENT(context, gl::EntryPoint::MapBufferRange, "glMapBufferRange", "context = %d, target = %s, offset = %llu, length = %llu, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length), @@ -1869,8 +1872,8 @@ void *GL_APIENTRY GL_MapBufferRange(GLenum target, void *returnValue; if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferRange(context, targetPacked, offset, length, access)); if (isCallValid) @@ -1879,7 +1882,7 @@ void *GL_APIENTRY GL_MapBufferRange(GLenum target, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferRange, isCallValid, context, targetPacked, offset, length, access, returnValue); @@ -1887,19 +1890,20 @@ void *GL_APIENTRY GL_MapBufferRange(GLenum target, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_PauseTransformFeedback() +void GL_APIENTRY PauseTransformFeedback() { Context *context = GetValidGlobalContext(); - EVENT(context, GLPauseTransformFeedback, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PauseTransformFeedback, "glPauseTransformFeedback", + "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePauseTransformFeedback(context)); if (isCallValid) { @@ -1913,21 +1917,21 @@ void GL_APIENTRY GL_PauseTransformFeedback() } } -void GL_APIENTRY GL_ProgramBinary(GLuint program, - GLenum binaryFormat, - const void *binary, - GLsizei length) +void GL_APIENTRY ProgramBinary(GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramBinary, + EVENT(context, gl::EntryPoint::ProgramBinary, "glProgramBinary", "context = %d, program = %u, binaryFormat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, binaryFormat), (uintptr_t)binary, length); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramBinary(context, programPacked, binaryFormat, binary, length)); @@ -1944,16 +1948,17 @@ void GL_APIENTRY GL_ProgramBinary(GLuint program, } } -void GL_APIENTRY GL_ProgramParameteri(GLuint program, GLenum pname, GLint value) +void GL_APIENTRY ProgramParameteri(GLuint program, GLenum pname, GLint value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramParameteri, "context = %d, program = %u, pname = %s, value = %d", - CID(context), program, GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); + EVENT(context, gl::EntryPoint::ProgramParameteri, "glProgramParameteri", + "context = %d, program = %u, pname = %s, value = %d", CID(context), program, + GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramParameteri(context, programPacked, pname, value)); if (isCallValid) @@ -1968,15 +1973,15 @@ void GL_APIENTRY GL_ProgramParameteri(GLuint program, GLenum pname, GLint value) } } -void GL_APIENTRY GL_ReadBuffer(GLenum src) +void GL_APIENTRY ReadBuffer(GLenum src) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadBuffer, "context = %d, src = %s", CID(context), - GLenumToString(GLenumGroup::ReadBufferMode, src)); + EVENT(context, gl::EntryPoint::ReadBuffer, "glReadBuffer", "context = %d, src = %s", + CID(context), GLenumToString(GLenumGroup::ReadBufferMode, src)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadBuffer(context, src)); if (isCallValid) { @@ -1990,21 +1995,22 @@ void GL_APIENTRY GL_ReadBuffer(GLenum src) } } -void GL_APIENTRY GL_RenderbufferStorageMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRenderbufferStorageMultisample, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisample, + "glRenderbufferStorageMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisample(context, target, samples, internalformat, width, height)); @@ -2021,14 +2027,15 @@ void GL_APIENTRY GL_RenderbufferStorageMultisample(GLenum target, } } -void GL_APIENTRY GL_ResumeTransformFeedback() +void GL_APIENTRY ResumeTransformFeedback() { Context *context = GetValidGlobalContext(); - EVENT(context, GLResumeTransformFeedback, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::ResumeTransformFeedback, "glResumeTransformFeedback", + "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateResumeTransformFeedback(context)); if (isCallValid) { @@ -2042,16 +2049,17 @@ void GL_APIENTRY GL_ResumeTransformFeedback() } } -void GL_APIENTRY GL_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) +void GL_APIENTRY SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterf, "context = %d, sampler = %u, pname = %s, param = %f", - CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), param); + EVENT(context, gl::EntryPoint::SamplerParameterf, "glSamplerParameterf", + "context = %d, sampler = %u, pname = %s, param = %f", CID(context), sampler, + GLenumToString(GLenumGroup::SamplerParameterName, pname), param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterf(context, samplerPacked, pname, param)); if (isCallValid) @@ -2066,17 +2074,17 @@ void GL_APIENTRY GL_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat para } } -void GL_APIENTRY GL_SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) +void GL_APIENTRY SamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterfv, + EVENT(context, gl::EntryPoint::SamplerParameterfv, "glSamplerParameterfv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterfv(context, samplerPacked, pname, param)); if (isCallValid) @@ -2091,16 +2099,17 @@ void GL_APIENTRY GL_SamplerParameterfv(GLuint sampler, GLenum pname, const GLflo } } -void GL_APIENTRY GL_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) +void GL_APIENTRY SamplerParameteri(GLuint sampler, GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameteri, "context = %d, sampler = %u, pname = %s, param = %d", - CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), param); + EVENT(context, gl::EntryPoint::SamplerParameteri, "glSamplerParameteri", + "context = %d, sampler = %u, pname = %s, param = %d", CID(context), sampler, + GLenumToString(GLenumGroup::SamplerParameterName, pname), param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameteri(context, samplerPacked, pname, param)); if (isCallValid) @@ -2115,17 +2124,17 @@ void GL_APIENTRY GL_SamplerParameteri(GLuint sampler, GLenum pname, GLint param) } } -void GL_APIENTRY GL_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) +void GL_APIENTRY SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameteriv, + EVENT(context, gl::EntryPoint::SamplerParameteriv, "glSamplerParameteriv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameteriv(context, samplerPacked, pname, param)); if (isCallValid) @@ -2140,19 +2149,19 @@ void GL_APIENTRY GL_SamplerParameteriv(GLuint sampler, GLenum pname, const GLint } } -void GL_APIENTRY GL_TexImage3D(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage3D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage3D, + EVENT(context, gl::EntryPoint::TexImage3D, "glTexImage3D", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -2161,8 +2170,8 @@ void GL_APIENTRY GL_TexImage3D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3D(context, targetPacked, level, internalformat, width, height, depth, border, format, type, pixels)); @@ -2181,18 +2190,18 @@ void GL_APIENTRY GL_TexImage3D(GLenum target, } void GL_APIENTRY -GL_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) +TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage2D, + EVENT(context, gl::EntryPoint::TexStorage2D, "glTexStorage2D", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2D(context, targetPacked, levels, internalformat, width, height)); @@ -2209,15 +2218,15 @@ GL_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wi } } -void GL_APIENTRY GL_TexStorage3D(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth) +void GL_APIENTRY TexStorage3D(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage3D, + EVENT(context, gl::EntryPoint::TexStorage3D, "glTexStorage3D", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d, " "depth = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -2225,8 +2234,8 @@ void GL_APIENTRY GL_TexStorage3D(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3D(context, targetPacked, levels, internalformat, width, height, depth)); @@ -2243,20 +2252,20 @@ void GL_APIENTRY GL_TexStorage3D(GLenum target, } } -void GL_APIENTRY GL_TexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexSubImage3D, + EVENT(context, gl::EntryPoint::TexSubImage3D, "glTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -2265,8 +2274,8 @@ void GL_APIENTRY GL_TexSubImage3D(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -2285,21 +2294,21 @@ void GL_APIENTRY GL_TexSubImage3D(GLenum target, } } -void GL_APIENTRY GL_TransformFeedbackVaryings(GLuint program, - GLsizei count, - const GLchar *const *varyings, - GLenum bufferMode) +void GL_APIENTRY TransformFeedbackVaryings(GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTransformFeedbackVaryings, + EVENT(context, gl::EntryPoint::TransformFeedbackVaryings, "glTransformFeedbackVaryings", "context = %d, program = %u, count = %d, varyings = 0x%016" PRIxPTR ", bufferMode = %s", CID(context), program, count, (uintptr_t)varyings, GLenumToString(GLenumGroup::DefaultGroup, bufferMode)); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTransformFeedbackVaryings( context, programPacked, count, varyings, bufferMode)); @@ -2316,16 +2325,16 @@ void GL_APIENTRY GL_TransformFeedbackVaryings(GLuint program, } } -void GL_APIENTRY GL_Uniform1ui(GLint location, GLuint v0) +void GL_APIENTRY Uniform1ui(GLint location, GLuint v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1ui, "context = %d, location = %d, v0 = %u", CID(context), location, - v0); + EVENT(context, gl::EntryPoint::Uniform1ui, "glUniform1ui", + "context = %d, location = %d, v0 = %u", CID(context), location, v0); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1ui(context, locationPacked, v0)); if (isCallValid) @@ -2340,17 +2349,17 @@ void GL_APIENTRY GL_Uniform1ui(GLint location, GLuint v0) } } -void GL_APIENTRY GL_Uniform1uiv(GLint location, GLsizei count, const GLuint *value) +void GL_APIENTRY Uniform1uiv(GLint location, GLsizei count, const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform1uiv, + EVENT(context, gl::EntryPoint::Uniform1uiv, "glUniform1uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1uiv(context, locationPacked, count, value)); if (isCallValid) @@ -2365,16 +2374,16 @@ void GL_APIENTRY GL_Uniform1uiv(GLint location, GLsizei count, const GLuint *val } } -void GL_APIENTRY GL_Uniform2ui(GLint location, GLuint v0, GLuint v1) +void GL_APIENTRY Uniform2ui(GLint location, GLuint v0, GLuint v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2ui, "context = %d, location = %d, v0 = %u, v1 = %u", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2ui, "glUniform2ui", + "context = %d, location = %d, v0 = %u, v1 = %u", CID(context), location, v0, v1); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2ui(context, locationPacked, v0, v1)); if (isCallValid) @@ -2389,17 +2398,17 @@ void GL_APIENTRY GL_Uniform2ui(GLint location, GLuint v0, GLuint v1) } } -void GL_APIENTRY GL_Uniform2uiv(GLint location, GLsizei count, const GLuint *value) +void GL_APIENTRY Uniform2uiv(GLint location, GLsizei count, const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform2uiv, + EVENT(context, gl::EntryPoint::Uniform2uiv, "glUniform2uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2uiv(context, locationPacked, count, value)); if (isCallValid) @@ -2414,16 +2423,17 @@ void GL_APIENTRY GL_Uniform2uiv(GLint location, GLsizei count, const GLuint *val } } -void GL_APIENTRY GL_Uniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) +void GL_APIENTRY Uniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3ui, "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3ui, "glUniform3ui", + "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), location, v0, v1, + v2); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3ui(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -2438,17 +2448,17 @@ void GL_APIENTRY GL_Uniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) } } -void GL_APIENTRY GL_Uniform3uiv(GLint location, GLsizei count, const GLuint *value) +void GL_APIENTRY Uniform3uiv(GLint location, GLsizei count, const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform3uiv, + EVENT(context, gl::EntryPoint::Uniform3uiv, "glUniform3uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3uiv(context, locationPacked, count, value)); if (isCallValid) @@ -2463,16 +2473,17 @@ void GL_APIENTRY GL_Uniform3uiv(GLint location, GLsizei count, const GLuint *val } } -void GL_APIENTRY GL_Uniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) +void GL_APIENTRY Uniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4ui, "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4ui, "glUniform4ui", + "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", CID(context), location, + v0, v1, v2, v3); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4ui(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -2487,17 +2498,17 @@ void GL_APIENTRY GL_Uniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, } } -void GL_APIENTRY GL_Uniform4uiv(GLint location, GLsizei count, const GLuint *value) +void GL_APIENTRY Uniform4uiv(GLint location, GLsizei count, const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniform4uiv, + EVENT(context, gl::EntryPoint::Uniform4uiv, "glUniform4uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4uiv(context, locationPacked, count, value)); if (isCallValid) @@ -2512,31 +2523,28 @@ void GL_APIENTRY GL_Uniform4uiv(GLint location, GLsizei count, const GLuint *val } } -void GL_APIENTRY GL_UniformBlockBinding(GLuint program, - GLuint uniformBlockIndex, - GLuint uniformBlockBinding) +void GL_APIENTRY UniformBlockBinding(GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformBlockBinding, + EVENT(context, gl::EntryPoint::UniformBlockBinding, "glUniformBlockBinding", "context = %d, program = %u, uniformBlockIndex = %u, uniformBlockBinding = %u", CID(context), program, uniformBlockIndex, uniformBlockBinding); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateUniformBlockBinding(context, programPacked, uniformBlockIndexPacked, - uniformBlockBinding)); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); + bool isCallValid = (context->skipValidation() || + ValidateUniformBlockBinding(context, programPacked, uniformBlockIndex, + uniformBlockBinding)); if (isCallValid) { - context->uniformBlockBinding(programPacked, uniformBlockIndexPacked, - uniformBlockBinding); + context->uniformBlockBinding(programPacked, uniformBlockIndex, uniformBlockBinding); } - ANGLE_CAPTURE(UniformBlockBinding, isCallValid, context, programPacked, - uniformBlockIndexPacked, uniformBlockBinding); + ANGLE_CAPTURE(UniformBlockBinding, isCallValid, context, programPacked, uniformBlockIndex, + uniformBlockBinding); } else { @@ -2544,20 +2552,20 @@ void GL_APIENTRY GL_UniformBlockBinding(GLuint program, } } -void GL_APIENTRY GL_UniformMatrix2x3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2x3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix2x3fv, + EVENT(context, gl::EntryPoint::UniformMatrix2x3fv, "glUniformMatrix2x3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2x3fv(context, locationPacked, count, transpose, value)); @@ -2574,20 +2582,20 @@ void GL_APIENTRY GL_UniformMatrix2x3fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix2x4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2x4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix2x4fv, + EVENT(context, gl::EntryPoint::UniformMatrix2x4fv, "glUniformMatrix2x4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2x4fv(context, locationPacked, count, transpose, value)); @@ -2604,20 +2612,20 @@ void GL_APIENTRY GL_UniformMatrix2x4fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix3x2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3x2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix3x2fv, + EVENT(context, gl::EntryPoint::UniformMatrix3x2fv, "glUniformMatrix3x2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3x2fv(context, locationPacked, count, transpose, value)); @@ -2634,20 +2642,20 @@ void GL_APIENTRY GL_UniformMatrix3x2fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix3x4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3x4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix3x4fv, + EVENT(context, gl::EntryPoint::UniformMatrix3x4fv, "glUniformMatrix3x4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3x4fv(context, locationPacked, count, transpose, value)); @@ -2664,20 +2672,20 @@ void GL_APIENTRY GL_UniformMatrix3x4fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix4x2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4x2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix4x2fv, + EVENT(context, gl::EntryPoint::UniformMatrix4x2fv, "glUniformMatrix4x2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4x2fv(context, locationPacked, count, transpose, value)); @@ -2694,20 +2702,20 @@ void GL_APIENTRY GL_UniformMatrix4x2fv(GLint location, } } -void GL_APIENTRY GL_UniformMatrix4x3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4x3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUniformMatrix4x3fv, + EVENT(context, gl::EntryPoint::UniformMatrix4x3fv, "glUniformMatrix4x3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4x3fv(context, locationPacked, count, transpose, value)); @@ -2724,17 +2732,17 @@ void GL_APIENTRY GL_UniformMatrix4x3fv(GLint location, } } -GLboolean GL_APIENTRY GL_UnmapBuffer(GLenum target) +GLboolean GL_APIENTRY UnmapBuffer(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUnmapBuffer, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::BufferTargetARB, target)); + EVENT(context, gl::EntryPoint::UnmapBuffer, "glUnmapBuffer", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target)); GLboolean returnValue; if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUnmapBuffer(context, targetPacked)); if (isCallValid) @@ -2743,27 +2751,27 @@ GLboolean GL_APIENTRY GL_UnmapBuffer(GLenum target) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(UnmapBuffer, isCallValid, context, targetPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_VertexAttribDivisor(GLuint index, GLuint divisor) +void GL_APIENTRY VertexAttribDivisor(GLuint index, GLuint divisor) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribDivisor, "context = %d, index = %u, divisor = %u", CID(context), - index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisor, "glVertexAttribDivisor", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisor(context, index, divisor)); if (isCallValid) @@ -2778,15 +2786,16 @@ void GL_APIENTRY GL_VertexAttribDivisor(GLuint index, GLuint divisor) } } -void GL_APIENTRY GL_VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) +void GL_APIENTRY VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribI4i, "context = %d, index = %u, x = %d, y = %d, z = %d, w = %d", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttribI4i, "glVertexAttribI4i", + "context = %d, index = %u, x = %d, y = %d, z = %d, w = %d", CID(context), index, x, y, z, + w); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4i(context, index, x, y, z, w)); if (isCallValid) @@ -2801,15 +2810,15 @@ void GL_APIENTRY GL_VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLi } } -void GL_APIENTRY GL_VertexAttribI4iv(GLuint index, const GLint *v) +void GL_APIENTRY VertexAttribI4iv(GLuint index, const GLint *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribI4iv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttribI4iv, "glVertexAttribI4iv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4iv(context, index, v)); if (isCallValid) @@ -2824,15 +2833,16 @@ void GL_APIENTRY GL_VertexAttribI4iv(GLuint index, const GLint *v) } } -void GL_APIENTRY GL_VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) +void GL_APIENTRY VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribI4ui, "context = %d, index = %u, x = %u, y = %u, z = %u, w = %u", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttribI4ui, "glVertexAttribI4ui", + "context = %d, index = %u, x = %u, y = %u, z = %u, w = %u", CID(context), index, x, y, z, + w); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4ui(context, index, x, y, z, w)); if (isCallValid) @@ -2847,15 +2857,15 @@ void GL_APIENTRY GL_VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, } } -void GL_APIENTRY GL_VertexAttribI4uiv(GLuint index, const GLuint *v) +void GL_APIENTRY VertexAttribI4uiv(GLuint index, const GLuint *v) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribI4uiv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttribI4uiv, "glVertexAttribI4uiv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4uiv(context, index, v)); if (isCallValid) @@ -2871,10 +2881,10 @@ void GL_APIENTRY GL_VertexAttribI4uiv(GLuint index, const GLuint *v) } void GL_APIENTRY -GL_VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) +VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribIPointer, + EVENT(context, gl::EntryPoint::VertexAttribIPointer, "glVertexAttribIPointer", "context = %d, index = %u, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), index, size, GLenumToString(GLenumGroup::VertexAttribPointerType, type), @@ -2882,8 +2892,8 @@ GL_VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, c if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribIPointer(context, index, size, typePacked, stride, pointer)); @@ -2900,17 +2910,17 @@ GL_VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, c } } -void GL_APIENTRY GL_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) +void GL_APIENTRY WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { Context *context = GetValidGlobalContext(); - EVENT(context, GLWaitSync, "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", - CID(context), (uintptr_t)sync, - GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str(), + EVENT(context, gl::EntryPoint::WaitSync, "glWaitSync", + "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", CID(context), + (uintptr_t)sync, GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str(), static_cast(timeout)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWaitSync(context, sync, flags, timeout)); if (isCallValid) @@ -2924,5 +2934,4 @@ void GL_APIENTRY GL_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) GenerateContextLostErrorOnCurrentGlobalContext(); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.h index 4ce0f616a019..cebed70b7a83 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_0_autogen.h @@ -14,286 +14,271 @@ #include #include -extern "C" { -ANGLE_EXPORT void GL_APIENTRY GL_BeginQuery(GLenum target, GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_BeginTransformFeedback(GLenum primitiveMode); -ANGLE_EXPORT void GL_APIENTRY GL_BindBufferBase(GLenum target, GLuint index, GLuint buffer); +namespace gl +{ +ANGLE_EXPORT void GL_APIENTRY BeginQuery(GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BeginTransformFeedback(GLenum primitiveMode); +ANGLE_EXPORT void GL_APIENTRY BindBufferBase(GLenum target, GLuint index, GLuint buffer); ANGLE_EXPORT void GL_APIENTRY -GL_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_BindSampler(GLuint unit, GLuint sampler); -ANGLE_EXPORT void GL_APIENTRY GL_BindTransformFeedback(GLenum target, GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexArray(GLuint array); -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebuffer(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfi(GLenum buffer, - GLint drawbuffer, - GLfloat depth, - GLint stencil); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfv(GLenum buffer, - GLint drawbuffer, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferuiv(GLenum buffer, - GLint drawbuffer, - const GLuint *value); -ANGLE_EXPORT GLenum GL_APIENTRY GL_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3D(GLenum target, +BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY BindSampler(GLuint unit, GLuint sampler); +ANGLE_EXPORT void GL_APIENTRY BindTransformFeedback(GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BindVertexArray(GLuint array); +ANGLE_EXPORT void GL_APIENTRY BlitFramebuffer(GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfi(GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); +ANGLE_EXPORT GLenum GL_APIENTRY ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3D(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3D(GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, + GLenum format, GLsizei imageSize, const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CopyBufferSubData(GLenum readTarget, - GLenum writeTarget, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteQueries(GLsizei n, const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSamplers(GLsizei count, const GLuint *samplers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSync(GLsync sync); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteTransformFeedbacks(GLsizei n, const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteVertexArrays(GLsizei n, const GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstanced(GLenum mode, - GLint first, - GLsizei count, - GLsizei instancecount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawBuffers(GLsizei n, const GLenum *bufs); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstanced(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElements(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices); -ANGLE_EXPORT void GL_APIENTRY GL_EndQuery(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_EndTransformFeedback(); -ANGLE_EXPORT GLsync GL_APIENTRY GL_FenceSync(GLenum condition, GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY GL_FlushMappedBufferRange(GLenum target, - GLintptr offset, - GLsizeiptr length); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureLayer(GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint layer); -ANGLE_EXPORT void GL_APIENTRY GL_GenQueries(GLsizei n, GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GenSamplers(GLsizei count, GLuint *samplers); -ANGLE_EXPORT void GL_APIENTRY GL_GenTransformFeedbacks(GLsizei n, GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GenVertexArrays(GLsizei n, GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformBlockName(GLuint program, - GLuint uniformBlockIndex, - GLsizei bufSize, - GLsizei *length, - GLchar *uniformBlockName); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformBlockiv(GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformsiv(GLuint program, - GLsizei uniformCount, - const GLuint *uniformIndices, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameteri64v(GLenum target, - GLenum pname, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointerv(GLenum target, GLenum pname, void **params); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetFragDataLocation(GLuint program, const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64i_v(GLenum target, GLuint index, GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64v(GLenum pname, GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegeri_v(GLenum target, GLuint index, GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInternalformativ(GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramBinary(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryiv(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterfv(GLuint sampler, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params); -ANGLE_EXPORT const GLubyte *GL_APIENTRY GL_GetStringi(GLenum name, GLuint index); +ANGLE_EXPORT void GL_APIENTRY CopyBufferSubData(GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage3D(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY DeleteQueries(GLsizei n, const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteSamplers(GLsizei count, const GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY DeleteSync(GLsync sync); +ANGLE_EXPORT void GL_APIENTRY DeleteTransformFeedbacks(GLsizei n, const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArrays(GLsizei n, const GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstanced(GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawBuffers(GLsizei n, const GLenum *bufs); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstanced(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElements(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY EndQuery(GLenum target); +ANGLE_EXPORT void GL_APIENTRY EndTransformFeedback(); +ANGLE_EXPORT GLsync GL_APIENTRY FenceSync(GLenum condition, GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRange(GLenum target, + GLintptr offset, + GLsizeiptr length); ANGLE_EXPORT void GL_APIENTRY -GL_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -ANGLE_EXPORT void GL_APIENTRY GL_GetTransformFeedbackVarying(GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLsizei *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetUniformBlockIndex(GLuint program, - const GLchar *uniformBlockName); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformIndices(GLuint program, - GLsizei uniformCount, - const GLchar *const *uniformNames, - GLuint *uniformIndices); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformuiv(GLuint program, GLint location, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateFramebuffer(GLenum target, +FramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +ANGLE_EXPORT void GL_APIENTRY GenQueries(GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenSamplers(GLsizei count, GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY GenTransformFeedbacks(GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenVertexArrays(GLsizei n, GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockName(GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockiv(GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformsiv(GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointerv(GLenum target, GLenum pname, void **params); +ANGLE_EXPORT GLint GL_APIENTRY GetFragDataLocation(GLuint program, const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_v(GLenum target, GLuint index, GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64v(GLenum pname, GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_v(GLenum target, GLuint index, GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativ(GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramBinary(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryiv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetStringi(GLenum name, GLuint index); +ANGLE_EXPORT void GL_APIENTRY +GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbackVarying(GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT GLuint GL_APIENTRY GetUniformBlockIndex(GLuint program, + const GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetUniformIndices(GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices); +ANGLE_EXPORT void GL_APIENTRY GetUniformuiv(GLuint program, GLint location, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY InvalidateFramebuffer(GLenum target, + GLsizei numAttachments, + const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY InvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, - const GLenum *attachments); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateSubFramebuffer(GLenum target, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsQuery(GLuint id); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSampler(GLuint sampler); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSync(GLsync sync); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsTransformFeedback(GLuint id); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsVertexArray(GLuint array); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferRange(GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access); -ANGLE_EXPORT void GL_APIENTRY GL_PauseTransformFeedback(); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramBinary(GLuint program, - GLenum binaryFormat, - const void *binary, - GLsizei length); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramParameteri(GLuint program, GLenum pname, GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_ReadBuffer(GLenum src); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_ResumeTransformFeedback(); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterfv(GLuint sampler, - GLenum pname, - const GLfloat *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameteri(GLuint sampler, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameteriv(GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3D(GLenum target, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQuery(GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSampler(GLuint sampler); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSync(GLsync sync); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTransformFeedback(GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArray(GLuint array); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRange(GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); +ANGLE_EXPORT void GL_APIENTRY PauseTransformFeedback(); +ANGLE_EXPORT void GL_APIENTRY ProgramBinary(GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ProgramParameteri(GLuint program, GLenum pname, GLint value); +ANGLE_EXPORT void GL_APIENTRY ReadBuffer(GLenum src); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY ResumeTransformFeedback(); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfv(GLuint sampler, + GLenum pname, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameteri(GLuint sampler, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param); +ANGLE_EXPORT void GL_APIENTRY TexImage3D(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY +TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY TexStorage3D(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3D(GLenum target, GLint level, - GLint internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, GLenum format, GLenum type, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2D(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3D(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3D(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TransformFeedbackVaryings(GLuint program, - GLsizei count, - const GLchar *const *varyings, - GLenum bufferMode); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1ui(GLint location, GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1uiv(GLint location, GLsizei count, const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2ui(GLint location, GLuint v0, GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2uiv(GLint location, GLsizei count, const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3uiv(GLint location, GLsizei count, const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY TransformFeedbackVaryings(GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode); +ANGLE_EXPORT void GL_APIENTRY Uniform1ui(GLint location, GLuint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1uiv(GLint location, GLsizei count, const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2ui(GLint location, GLuint v0, GLuint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2uiv(GLint location, GLsizei count, const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3uiv(GLint location, GLsizei count, const GLuint *value); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4uiv(GLint location, GLsizei count, const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformBlockBinding(GLuint program, - GLuint uniformBlockIndex, - GLuint uniformBlockBinding); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x4fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x2fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x3fv(GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_UnmapBuffer(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisor(GLuint index, GLuint divisor); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4iv(GLuint index, const GLint *v); +Uniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4uiv(GLint location, GLsizei count, const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY UniformBlockBinding(GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x4fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x2fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x3fv(GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBuffer(GLenum target); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisor(GLuint index, GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4iv(GLuint index, const GLint *v); ANGLE_EXPORT void GL_APIENTRY -GL_VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4uiv(GLuint index, const GLuint *v); +VertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4uiv(GLuint index, const GLuint *v); ANGLE_EXPORT void GL_APIENTRY -GL_VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); -} // extern "C" +VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +ANGLE_EXPORT void GL_APIENTRY WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_3_0_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.cpp index 24d23392efa9..a6f4455c41ec 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.cpp @@ -13,26 +13,25 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_3_1_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_3_1_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationES31.h" #include "libGLESv2/global_state.h" -using namespace gl; - -extern "C" { -void GL_APIENTRY GL_ActiveShaderProgram(GLuint pipeline, GLuint program) +namespace gl +{ +void GL_APIENTRY ActiveShaderProgram(GLuint pipeline, GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), - pipeline, program); + EVENT(context, gl::EntryPoint::ActiveShaderProgram, "glActiveShaderProgram", + "context = %d, pipeline = %u, program = %u", CID(context), pipeline, program); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateActiveShaderProgram(context, pipelinePacked, programPacked)); if (isCallValid) @@ -47,16 +46,16 @@ void GL_APIENTRY GL_ActiveShaderProgram(GLuint pipeline, GLuint program) } } -void GL_APIENTRY GL_BindImageTexture(GLuint unit, - GLuint texture, - GLint level, - GLboolean layered, - GLint layer, - GLenum access, - GLenum format) +void GL_APIENTRY BindImageTexture(GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindImageTexture, + EVENT(context, gl::EntryPoint::BindImageTexture, "glBindImageTexture", "context = %d, unit = %u, texture = %u, level = %d, layered = %s, layer = %d, access = " "%s, format = %s", CID(context), unit, texture, level, GLbooleanToString(layered), layer, @@ -65,8 +64,8 @@ void GL_APIENTRY GL_BindImageTexture(GLuint unit, if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindImageTexture(context, unit, texturePacked, level, layered, layer, access, format)); @@ -83,15 +82,16 @@ void GL_APIENTRY GL_BindImageTexture(GLuint unit, } } -void GL_APIENTRY GL_BindProgramPipeline(GLuint pipeline) +void GL_APIENTRY BindProgramPipeline(GLuint pipeline) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindProgramPipeline, "context = %d, pipeline = %u", CID(context), pipeline); + EVENT(context, gl::EntryPoint::BindProgramPipeline, "glBindProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -106,20 +106,20 @@ void GL_APIENTRY GL_BindProgramPipeline(GLuint pipeline) } } -void GL_APIENTRY GL_BindVertexBuffer(GLuint bindingindex, - GLuint buffer, - GLintptr offset, - GLsizei stride) +void GL_APIENTRY BindVertexBuffer(GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindVertexBuffer, + EVENT(context, gl::EntryPoint::BindVertexBuffer, "glBindVertexBuffer", "context = %d, bindingindex = %u, buffer = %u, offset = %llu, stride = %d", CID(context), bindingindex, buffer, static_cast(offset), stride); if (context) { - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexBuffer(context, bindingindex, bufferPacked, offset, stride)); @@ -136,18 +136,18 @@ void GL_APIENTRY GL_BindVertexBuffer(GLuint bindingindex, } } -GLuint GL_APIENTRY GL_CreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings) +GLuint GL_APIENTRY CreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCreateShaderProgramv, + EVENT(context, gl::EntryPoint::CreateShaderProgramv, "glCreateShaderProgramv", "context = %d, type = %s, count = %d, strings = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ShaderType, type), count, (uintptr_t)strings); GLuint returnValue; if (context) { - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateShaderProgramv(context, typePacked, count, strings)); if (isCallValid) @@ -156,8 +156,7 @@ GLuint GL_APIENTRY GL_CreateShaderProgramv(GLenum type, GLsizei count, const GLc } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateShaderProgramv, isCallValid, context, typePacked, count, strings, returnValue); @@ -165,21 +164,22 @@ GLuint GL_APIENTRY GL_CreateShaderProgramv(GLenum type, GLsizei count, const GLc else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_DeleteProgramPipelines(GLsizei n, const GLuint *pipelines) +void GL_APIENTRY DeleteProgramPipelines(GLsizei n, const GLuint *pipelines) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteProgramPipelines, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::DeleteProgramPipelines, "glDeleteProgramPipelines", + "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)pipelines); if (context) { - const ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); + const ProgramPipelineID *pipelinesPacked = FromGL(pipelines); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteProgramPipelines(context, n, pipelinesPacked)); if (isCallValid) @@ -194,16 +194,16 @@ void GL_APIENTRY GL_DeleteProgramPipelines(GLsizei n, const GLuint *pipelines) } } -void GL_APIENTRY GL_DispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) +void GL_APIENTRY DispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDispatchCompute, + EVENT(context, gl::EntryPoint::DispatchCompute, "glDispatchCompute", "context = %d, num_groups_x = %u, num_groups_y = %u, num_groups_z = %u", CID(context), num_groups_x, num_groups_y, num_groups_z); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDispatchCompute(context, num_groups_x, num_groups_y, num_groups_z)); @@ -220,15 +220,15 @@ void GL_APIENTRY GL_DispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GL } } -void GL_APIENTRY GL_DispatchComputeIndirect(GLintptr indirect) +void GL_APIENTRY DispatchComputeIndirect(GLintptr indirect) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDispatchComputeIndirect, "context = %d, indirect = %llu", CID(context), - static_cast(indirect)); + EVENT(context, gl::EntryPoint::DispatchComputeIndirect, "glDispatchComputeIndirect", + "context = %d, indirect = %llu", CID(context), static_cast(indirect)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDispatchComputeIndirect(context, indirect)); if (isCallValid) @@ -243,16 +243,17 @@ void GL_APIENTRY GL_DispatchComputeIndirect(GLintptr indirect) } } -void GL_APIENTRY GL_DrawArraysIndirect(GLenum mode, const void *indirect) +void GL_APIENTRY DrawArraysIndirect(GLenum mode, const void *indirect) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArraysIndirect, "context = %d, mode = %s, indirect = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)indirect); + EVENT(context, gl::EntryPoint::DrawArraysIndirect, "glDrawArraysIndirect", + "context = %d, mode = %s, indirect = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)indirect); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysIndirect(context, modePacked, indirect)); if (isCallValid) @@ -267,19 +268,19 @@ void GL_APIENTRY GL_DrawArraysIndirect(GLenum mode, const void *indirect) } } -void GL_APIENTRY GL_DrawElementsIndirect(GLenum mode, GLenum type, const void *indirect) +void GL_APIENTRY DrawElementsIndirect(GLenum mode, GLenum type, const void *indirect) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsIndirect, + EVENT(context, gl::EntryPoint::DrawElementsIndirect, "glDrawElementsIndirect", "context = %d, mode = %s, type = %s, indirect = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), GLenumToString(GLenumGroup::DrawElementsType, type), (uintptr_t)indirect); if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsIndirect(context, modePacked, typePacked, indirect)); @@ -295,16 +296,17 @@ void GL_APIENTRY GL_DrawElementsIndirect(GLenum mode, GLenum type, const void *i } } -void GL_APIENTRY GL_FramebufferParameteri(GLenum target, GLenum pname, GLint param) +void GL_APIENTRY FramebufferParameteri(GLenum target, GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferParameteri, "context = %d, target = %s, pname = %s, param = %d", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), + EVENT(context, gl::EntryPoint::FramebufferParameteri, "glFramebufferParameteri", + "context = %d, target = %s, pname = %s, param = %d", CID(context), + GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferParameterName, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferParameteri(context, target, pname, param)); if (isCallValid) @@ -319,16 +321,17 @@ void GL_APIENTRY GL_FramebufferParameteri(GLenum target, GLenum pname, GLint par } } -void GL_APIENTRY GL_GenProgramPipelines(GLsizei n, GLuint *pipelines) +void GL_APIENTRY GenProgramPipelines(GLsizei n, GLuint *pipelines) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenProgramPipelines, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::GenProgramPipelines, "glGenProgramPipelines", + "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)pipelines); if (context) { - ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID *pipelinesPacked = FromGL(pipelines); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenProgramPipelines(context, n, pipelinesPacked)); if (isCallValid) @@ -343,16 +346,16 @@ void GL_APIENTRY GL_GenProgramPipelines(GLsizei n, GLuint *pipelines) } } -void GL_APIENTRY GL_GetBooleani_v(GLenum target, GLuint index, GLboolean *data) +void GL_APIENTRY GetBooleani_v(GLenum target, GLuint index, GLboolean *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBooleani_v, + EVENT(context, gl::EntryPoint::GetBooleani_v, "glGetBooleani_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleani_v(context, target, index, data)); if (isCallValid) @@ -367,10 +370,10 @@ void GL_APIENTRY GL_GetBooleani_v(GLenum target, GLuint index, GLboolean *data) } } -void GL_APIENTRY GL_GetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFramebufferParameteriv, + EVENT(context, gl::EntryPoint::GetFramebufferParameteriv, "glGetFramebufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachmentParameterName, pname), @@ -378,7 +381,7 @@ void GL_APIENTRY GL_GetFramebufferParameteriv(GLenum target, GLenum pname, GLint if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferParameteriv(context, target, pname, params)); if (isCallValid) @@ -393,16 +396,16 @@ void GL_APIENTRY GL_GetFramebufferParameteriv(GLenum target, GLenum pname, GLint } } -void GL_APIENTRY GL_GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) +void GL_APIENTRY GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMultisamplefv, + EVENT(context, gl::EntryPoint::GetMultisamplefv, "glGetMultisamplefv", "context = %d, pname = %s, index = %u, val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, (uintptr_t)val); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefv(context, pname, index, val)); if (isCallValid) @@ -417,13 +420,13 @@ void GL_APIENTRY GL_GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) } } -void GL_APIENTRY GL_GetProgramInterfaceiv(GLuint program, - GLenum programInterface, - GLenum pname, - GLint *params) +void GL_APIENTRY GetProgramInterfaceiv(GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramInterfaceiv, + EVENT(context, gl::EntryPoint::GetProgramInterfaceiv, "glGetProgramInterfaceiv", "context = %d, program = %u, programInterface = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -431,8 +434,8 @@ void GL_APIENTRY GL_GetProgramInterfaceiv(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInterfaceiv(context, programPacked, programInterface, pname, params)); @@ -449,21 +452,21 @@ void GL_APIENTRY GL_GetProgramInterfaceiv(GLuint program, } } -void GL_APIENTRY GL_GetProgramPipelineInfoLog(GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetProgramPipelineInfoLog(GLuint pipeline, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramPipelineInfoLog, + EVENT(context, gl::EntryPoint::GetProgramPipelineInfoLog, "glGetProgramPipelineInfoLog", "context = %d, pipeline = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), pipeline, bufSize, (uintptr_t)length, (uintptr_t)infoLog); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramPipelineInfoLog(context, pipelinePacked, bufSize, length, infoLog)); @@ -480,17 +483,17 @@ void GL_APIENTRY GL_GetProgramPipelineInfoLog(GLuint pipeline, } } -void GL_APIENTRY GL_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) +void GL_APIENTRY GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramPipelineiv, + EVENT(context, gl::EntryPoint::GetProgramPipelineiv, "glGetProgramPipelineiv", "context = %d, pipeline = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), pipeline, GLenumToString(GLenumGroup::PipelineParameterName, pname), (uintptr_t)params); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramPipelineiv(context, pipelinePacked, pname, params)); if (isCallValid) @@ -505,12 +508,12 @@ void GL_APIENTRY GL_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *p } } -GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program, - GLenum programInterface, - const GLchar *name) +GLuint GL_APIENTRY GetProgramResourceIndex(GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramResourceIndex, + EVENT(context, gl::EntryPoint::GetProgramResourceIndex, "glGetProgramResourceIndex", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -518,8 +521,8 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program, GLuint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceIndex(context, programPacked, programInterface, name)); @@ -529,8 +532,7 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceIndex, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -538,17 +540,17 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program, - GLenum programInterface, - const GLchar *name) +GLint GL_APIENTRY GetProgramResourceLocation(GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramResourceLocation, + EVENT(context, gl::EntryPoint::GetProgramResourceLocation, "glGetProgramResourceLocation", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -556,8 +558,8 @@ GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program, GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceLocation(context, programPacked, programInterface, name)); @@ -568,8 +570,7 @@ GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceLocation, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -577,21 +578,20 @@ GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetProgramResourceName(GLuint program, - GLenum programInterface, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLchar *name) +void GL_APIENTRY GetProgramResourceName(GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramResourceName, + EVENT(context, gl::EntryPoint::GetProgramResourceName, "glGetProgramResourceName", "context = %d, program = %u, programInterface = %s, index = %u, bufSize = %d, length = " "0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -599,8 +599,8 @@ void GL_APIENTRY GL_GetProgramResourceName(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceName(context, programPacked, programInterface, index, bufSize, length, name)); @@ -618,17 +618,17 @@ void GL_APIENTRY GL_GetProgramResourceName(GLuint program, } } -void GL_APIENTRY GL_GetProgramResourceiv(GLuint program, - GLenum programInterface, - GLuint index, - GLsizei propCount, - const GLenum *props, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramResourceiv(GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramResourceiv, + EVENT(context, gl::EntryPoint::GetProgramResourceiv, "glGetProgramResourceiv", "context = %d, program = %u, programInterface = %s, index = %u, propCount = %d, props = " "0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -636,8 +636,8 @@ void GL_APIENTRY GL_GetProgramResourceiv(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceiv(context, programPacked, programInterface, index, @@ -656,21 +656,18 @@ void GL_APIENTRY GL_GetProgramResourceiv(GLuint program, } } -void GL_APIENTRY GL_GetTexLevelParameterfv(GLenum target, - GLint level, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameterfv, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfv, "glGetTexLevelParameterfv", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfv(context, targetPacked, level, pname, params)); @@ -687,18 +684,18 @@ void GL_APIENTRY GL_GetTexLevelParameterfv(GLenum target, } } -void GL_APIENTRY GL_GetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) +void GL_APIENTRY GetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameteriv, + EVENT(context, gl::EntryPoint::GetTexLevelParameteriv, "glGetTexLevelParameteriv", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameteriv(context, targetPacked, level, pname, params)); @@ -715,16 +712,17 @@ void GL_APIENTRY GL_GetTexLevelParameteriv(GLenum target, GLint level, GLenum pn } } -GLboolean GL_APIENTRY GL_IsProgramPipeline(GLuint pipeline) +GLboolean GL_APIENTRY IsProgramPipeline(GLuint pipeline) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsProgramPipeline, "context = %d, pipeline = %u", CID(context), pipeline); + EVENT(context, gl::EntryPoint::IsProgramPipeline, "glIsProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); GLboolean returnValue; if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -733,28 +731,27 @@ GLboolean GL_APIENTRY GL_IsProgramPipeline(GLuint pipeline) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsProgramPipeline, isCallValid, context, pipelinePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_MemoryBarrier(GLbitfield barriers) +void GL_APIENTRY MemoryBarrier(GLbitfield barriers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMemoryBarrier, "context = %d, barriers = %s", CID(context), - GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); + EVENT(context, gl::EntryPoint::MemoryBarrier, "glMemoryBarrier", "context = %d, barriers = %s", + CID(context), GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryBarrier(context, barriers)); if (isCallValid) { @@ -768,15 +765,16 @@ void GL_APIENTRY GL_MemoryBarrier(GLbitfield barriers) } } -void GL_APIENTRY GL_MemoryBarrierByRegion(GLbitfield barriers) +void GL_APIENTRY MemoryBarrierByRegion(GLbitfield barriers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMemoryBarrierByRegion, "context = %d, barriers = %s", CID(context), + EVENT(context, gl::EntryPoint::MemoryBarrierByRegion, "glMemoryBarrierByRegion", + "context = %d, barriers = %s", CID(context), GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryBarrierByRegion(context, barriers)); if (isCallValid) @@ -791,17 +789,18 @@ void GL_APIENTRY GL_MemoryBarrierByRegion(GLbitfield barriers) } } -void GL_APIENTRY GL_ProgramUniform1f(GLuint program, GLint location, GLfloat v0) +void GL_APIENTRY ProgramUniform1f(GLuint program, GLint location, GLfloat v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1f, "context = %d, program = %u, location = %d, v0 = %f", - CID(context), program, location, v0); + EVENT(context, gl::EntryPoint::ProgramUniform1f, "glProgramUniform1f", + "context = %d, program = %u, location = %d, v0 = %f", CID(context), program, location, + v0); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1f(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -816,21 +815,21 @@ void GL_APIENTRY GL_ProgramUniform1f(GLuint program, GLint location, GLfloat v0) } } -void GL_APIENTRY GL_ProgramUniform1fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform1fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1fv, + EVENT(context, gl::EntryPoint::ProgramUniform1fv, "glProgramUniform1fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1fv(context, programPacked, locationPacked, count, value)); @@ -847,17 +846,18 @@ void GL_APIENTRY GL_ProgramUniform1fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform1i(GLuint program, GLint location, GLint v0) +void GL_APIENTRY ProgramUniform1i(GLuint program, GLint location, GLint v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1i, "context = %d, program = %u, location = %d, v0 = %d", - CID(context), program, location, v0); + EVENT(context, gl::EntryPoint::ProgramUniform1i, "glProgramUniform1i", + "context = %d, program = %u, location = %d, v0 = %d", CID(context), program, location, + v0); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1i(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -872,21 +872,21 @@ void GL_APIENTRY GL_ProgramUniform1i(GLuint program, GLint location, GLint v0) } } -void GL_APIENTRY GL_ProgramUniform1iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform1iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1iv, + EVENT(context, gl::EntryPoint::ProgramUniform1iv, "glProgramUniform1iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1iv(context, programPacked, locationPacked, count, value)); @@ -903,17 +903,18 @@ void GL_APIENTRY GL_ProgramUniform1iv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform1ui(GLuint program, GLint location, GLuint v0) +void GL_APIENTRY ProgramUniform1ui(GLuint program, GLint location, GLuint v0) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1ui, "context = %d, program = %u, location = %d, v0 = %u", - CID(context), program, location, v0); + EVENT(context, gl::EntryPoint::ProgramUniform1ui, "glProgramUniform1ui", + "context = %d, program = %u, location = %d, v0 = %u", CID(context), program, location, + v0); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1ui(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -928,21 +929,21 @@ void GL_APIENTRY GL_ProgramUniform1ui(GLuint program, GLint location, GLuint v0) } } -void GL_APIENTRY GL_ProgramUniform1uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform1uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1uiv, + EVENT(context, gl::EntryPoint::ProgramUniform1uiv, "glProgramUniform1uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1uiv(context, programPacked, locationPacked, count, value)); @@ -959,18 +960,18 @@ void GL_APIENTRY GL_ProgramUniform1uiv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) +void GL_APIENTRY ProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2f, + EVENT(context, gl::EntryPoint::ProgramUniform2f, "glProgramUniform2f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f", CID(context), program, location, v0, v1); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2f(context, programPacked, locationPacked, v0, v1)); @@ -987,21 +988,21 @@ void GL_APIENTRY GL_ProgramUniform2f(GLuint program, GLint location, GLfloat v0, } } -void GL_APIENTRY GL_ProgramUniform2fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform2fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2fv, + EVENT(context, gl::EntryPoint::ProgramUniform2fv, "glProgramUniform2fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2fv(context, programPacked, locationPacked, count, value)); @@ -1018,18 +1019,18 @@ void GL_APIENTRY GL_ProgramUniform2fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) +void GL_APIENTRY ProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2i, + EVENT(context, gl::EntryPoint::ProgramUniform2i, "glProgramUniform2i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d", CID(context), program, location, v0, v1); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2i(context, programPacked, locationPacked, v0, v1)); @@ -1046,21 +1047,21 @@ void GL_APIENTRY GL_ProgramUniform2i(GLuint program, GLint location, GLint v0, G } } -void GL_APIENTRY GL_ProgramUniform2iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform2iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2iv, + EVENT(context, gl::EntryPoint::ProgramUniform2iv, "glProgramUniform2iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2iv(context, programPacked, locationPacked, count, value)); @@ -1077,18 +1078,18 @@ void GL_APIENTRY GL_ProgramUniform2iv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) +void GL_APIENTRY ProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2ui, + EVENT(context, gl::EntryPoint::ProgramUniform2ui, "glProgramUniform2ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u", CID(context), program, location, v0, v1); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2ui(context, programPacked, locationPacked, v0, v1)); @@ -1105,21 +1106,21 @@ void GL_APIENTRY GL_ProgramUniform2ui(GLuint program, GLint location, GLuint v0, } } -void GL_APIENTRY GL_ProgramUniform2uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform2uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2uiv, + EVENT(context, gl::EntryPoint::ProgramUniform2uiv, "glProgramUniform2uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2uiv(context, programPacked, locationPacked, count, value)); @@ -1137,18 +1138,18 @@ void GL_APIENTRY GL_ProgramUniform2uiv(GLuint program, } void GL_APIENTRY -GL_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3f, + EVENT(context, gl::EntryPoint::ProgramUniform3f, "glProgramUniform3f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), program, location, v0, v1, v2); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3f(context, programPacked, locationPacked, v0, v1, v2)); @@ -1165,21 +1166,21 @@ GL_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfl } } -void GL_APIENTRY GL_ProgramUniform3fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform3fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3fv, + EVENT(context, gl::EntryPoint::ProgramUniform3fv, "glProgramUniform3fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3fv(context, programPacked, locationPacked, count, value)); @@ -1196,18 +1197,18 @@ void GL_APIENTRY GL_ProgramUniform3fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) +void GL_APIENTRY ProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3i, + EVENT(context, gl::EntryPoint::ProgramUniform3i, "glProgramUniform3i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), program, location, v0, v1, v2); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3i(context, programPacked, locationPacked, v0, v1, v2)); @@ -1224,21 +1225,21 @@ void GL_APIENTRY GL_ProgramUniform3i(GLuint program, GLint location, GLint v0, G } } -void GL_APIENTRY GL_ProgramUniform3iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform3iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3iv, + EVENT(context, gl::EntryPoint::ProgramUniform3iv, "glProgramUniform3iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3iv(context, programPacked, locationPacked, count, value)); @@ -1255,19 +1256,18 @@ void GL_APIENTRY GL_ProgramUniform3iv(GLuint program, } } -void GL_APIENTRY -GL_ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) +void GL_APIENTRY ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3ui, + EVENT(context, gl::EntryPoint::ProgramUniform3ui, "glProgramUniform3ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), program, location, v0, v1, v2); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3ui(context, programPacked, locationPacked, v0, v1, v2)); @@ -1284,21 +1284,21 @@ GL_ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuin } } -void GL_APIENTRY GL_ProgramUniform3uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform3uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3uiv, + EVENT(context, gl::EntryPoint::ProgramUniform3uiv, "glProgramUniform3uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3uiv(context, programPacked, locationPacked, count, value)); @@ -1316,18 +1316,18 @@ void GL_APIENTRY GL_ProgramUniform3uiv(GLuint program, } void GL_APIENTRY -GL_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) +ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4f, + EVENT(context, gl::EntryPoint::ProgramUniform4f, "glProgramUniform4f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", CID(context), program, location, v0, v1, v2, v3); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4f(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -1344,21 +1344,21 @@ GL_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfl } } -void GL_APIENTRY GL_ProgramUniform4fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform4fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4fv, + EVENT(context, gl::EntryPoint::ProgramUniform4fv, "glProgramUniform4fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4fv(context, programPacked, locationPacked, count, value)); @@ -1376,18 +1376,18 @@ void GL_APIENTRY GL_ProgramUniform4fv(GLuint program, } void GL_APIENTRY -GL_ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4i, + EVENT(context, gl::EntryPoint::ProgramUniform4i, "glProgramUniform4i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", CID(context), program, location, v0, v1, v2, v3); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4i(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -1404,21 +1404,21 @@ GL_ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2 } } -void GL_APIENTRY GL_ProgramUniform4iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform4iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4iv, + EVENT(context, gl::EntryPoint::ProgramUniform4iv, "glProgramUniform4iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4iv(context, programPacked, locationPacked, count, value)); @@ -1436,18 +1436,18 @@ void GL_APIENTRY GL_ProgramUniform4iv(GLuint program, } void GL_APIENTRY -GL_ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) +ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4ui, + EVENT(context, gl::EntryPoint::ProgramUniform4ui, "glProgramUniform4ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", CID(context), program, location, v0, v1, v2, v3); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4ui(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -1464,21 +1464,21 @@ GL_ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuin } } -void GL_APIENTRY GL_ProgramUniform4uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform4uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4uiv, + EVENT(context, gl::EntryPoint::ProgramUniform4uiv, "glProgramUniform4uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4uiv(context, programPacked, locationPacked, count, value)); @@ -1495,23 +1495,23 @@ void GL_APIENTRY GL_ProgramUniform4uiv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2fv, "glProgramUniformMatrix2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2fv(context, programPacked, locationPacked, count, transpose, value)); @@ -1529,23 +1529,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix2fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix2x3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix2x3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2x3fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2x3fv, "glProgramUniformMatrix2x3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2x3fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1563,23 +1563,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x3fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix2x4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix2x4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2x4fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2x4fv, "glProgramUniformMatrix2x4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2x4fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1597,23 +1597,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x4fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3fv, "glProgramUniformMatrix3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3fv(context, programPacked, locationPacked, count, transpose, value)); @@ -1631,23 +1631,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix3fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix3x2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3x2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3x2fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3x2fv, "glProgramUniformMatrix3x2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3x2fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1665,23 +1665,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x2fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix3x4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3x4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3x4fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3x4fv, "glProgramUniformMatrix3x4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3x4fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1699,23 +1699,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x4fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4fv, "glProgramUniformMatrix4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4fv(context, programPacked, locationPacked, count, transpose, value)); @@ -1733,23 +1733,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix4fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix4x2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4x2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4x2fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4x2fv, "glProgramUniformMatrix4x2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4x2fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1767,23 +1767,23 @@ void GL_APIENTRY GL_ProgramUniformMatrix4x2fv(GLuint program, } } -void GL_APIENTRY GL_ProgramUniformMatrix4x3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4x3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4x3fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4x3fv, "glProgramUniformMatrix4x3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4x3fv( context, programPacked, locationPacked, count, transpose, value)); @@ -1801,15 +1801,16 @@ void GL_APIENTRY GL_ProgramUniformMatrix4x3fv(GLuint program, } } -void GL_APIENTRY GL_SampleMaski(GLuint maskNumber, GLbitfield mask) +void GL_APIENTRY SampleMaski(GLuint maskNumber, GLbitfield mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSampleMaski, "context = %d, maskNumber = %u, mask = %s", CID(context), - maskNumber, GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); + EVENT(context, gl::EntryPoint::SampleMaski, "glSampleMaski", + "context = %d, maskNumber = %u, mask = %s", CID(context), maskNumber, + GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleMaski(context, maskNumber, mask)); if (isCallValid) @@ -1824,15 +1825,15 @@ void GL_APIENTRY GL_SampleMaski(GLuint maskNumber, GLbitfield mask) } } -void GL_APIENTRY GL_TexStorage2DMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage2DMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage2DMultisample, + EVENT(context, gl::EntryPoint::TexStorage2DMultisample, "glTexStorage2DMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -1841,8 +1842,8 @@ void GL_APIENTRY GL_TexStorage2DMultisample(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DMultisample(context, targetPacked, samples, internalformat, width, @@ -1861,18 +1862,18 @@ void GL_APIENTRY GL_TexStorage2DMultisample(GLenum target, } } -void GL_APIENTRY GL_UseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) +void GL_APIENTRY UseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUseProgramStages, "context = %d, pipeline = %u, stages = %s, program = %u", - CID(context), pipeline, + EVENT(context, gl::EntryPoint::UseProgramStages, "glUseProgramStages", + "context = %d, pipeline = %u, stages = %s, program = %u", CID(context), pipeline, GLbitfieldToString(GLenumGroup::UseProgramStageMask, stages).c_str(), program); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUseProgramStages(context, pipelinePacked, stages, programPacked)); @@ -1889,16 +1890,16 @@ void GL_APIENTRY GL_UseProgramStages(GLuint pipeline, GLbitfield stages, GLuint } } -void GL_APIENTRY GL_ValidateProgramPipeline(GLuint pipeline) +void GL_APIENTRY ValidateProgramPipeline(GLuint pipeline) { Context *context = GetValidGlobalContext(); - EVENT(context, GLValidateProgramPipeline, "context = %d, pipeline = %u", CID(context), - pipeline); + EVENT(context, gl::EntryPoint::ValidateProgramPipeline, "glValidateProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); if (context) { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateValidateProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -1913,15 +1914,16 @@ void GL_APIENTRY GL_ValidateProgramPipeline(GLuint pipeline) } } -void GL_APIENTRY GL_VertexAttribBinding(GLuint attribindex, GLuint bindingindex) +void GL_APIENTRY VertexAttribBinding(GLuint attribindex, GLuint bindingindex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribBinding, "context = %d, attribindex = %u, bindingindex = %u", - CID(context), attribindex, bindingindex); + EVENT(context, gl::EntryPoint::VertexAttribBinding, "glVertexAttribBinding", + "context = %d, attribindex = %u, bindingindex = %u", CID(context), attribindex, + bindingindex); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribBinding(context, attribindex, bindingindex)); if (isCallValid) @@ -1936,14 +1938,14 @@ void GL_APIENTRY GL_VertexAttribBinding(GLuint attribindex, GLuint bindingindex) } } -void GL_APIENTRY GL_VertexAttribFormat(GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset) +void GL_APIENTRY VertexAttribFormat(GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribFormat, + EVENT(context, gl::EntryPoint::VertexAttribFormat, "glVertexAttribFormat", "context = %d, attribindex = %u, size = %d, type = %s, normalized = %s, relativeoffset = " "%u", CID(context), attribindex, size, GLenumToString(GLenumGroup::DefaultGroup, type), @@ -1951,8 +1953,8 @@ void GL_APIENTRY GL_VertexAttribFormat(GLuint attribindex, if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribFormat(context, attribindex, size, typePacked, normalized, relativeoffset)); @@ -1969,20 +1971,20 @@ void GL_APIENTRY GL_VertexAttribFormat(GLuint attribindex, } } -void GL_APIENTRY GL_VertexAttribIFormat(GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset) +void GL_APIENTRY VertexAttribIFormat(GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribIFormat, + EVENT(context, gl::EntryPoint::VertexAttribIFormat, "glVertexAttribIFormat", "context = %d, attribindex = %u, size = %d, type = %s, relativeoffset = %u", CID(context), attribindex, size, GLenumToString(GLenumGroup::DefaultGroup, type), relativeoffset); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribIFormat(context, attribindex, size, typePacked, relativeoffset)); @@ -1999,15 +2001,15 @@ void GL_APIENTRY GL_VertexAttribIFormat(GLuint attribindex, } } -void GL_APIENTRY GL_VertexBindingDivisor(GLuint bindingindex, GLuint divisor) +void GL_APIENTRY VertexBindingDivisor(GLuint bindingindex, GLuint divisor) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexBindingDivisor, "context = %d, bindingindex = %u, divisor = %u", - CID(context), bindingindex, divisor); + EVENT(context, gl::EntryPoint::VertexBindingDivisor, "glVertexBindingDivisor", + "context = %d, bindingindex = %u, divisor = %u", CID(context), bindingindex, divisor); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexBindingDivisor(context, bindingindex, divisor)); if (isCallValid) @@ -2021,5 +2023,4 @@ void GL_APIENTRY GL_VertexBindingDivisor(GLuint bindingindex, GLuint divisor) GenerateContextLostErrorOnCurrentGlobalContext(); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.h index 91dd7ccd6283..657298d00184 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_1_autogen.h @@ -15,221 +15,213 @@ #include #include "common/platform.h" -extern "C" { -ANGLE_EXPORT void GL_APIENTRY GL_ActiveShaderProgram(GLuint pipeline, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_BindImageTexture(GLuint unit, - GLuint texture, - GLint level, - GLboolean layered, - GLint layer, - GLenum access, - GLenum format); -ANGLE_EXPORT void GL_APIENTRY GL_BindProgramPipeline(GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexBuffer(GLuint bindingindex, - GLuint buffer, - GLintptr offset, - GLsizei stride); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderProgramv(GLenum type, - GLsizei count, - const GLchar *const *strings); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramPipelines(GLsizei n, const GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_DispatchCompute(GLuint num_groups_x, - GLuint num_groups_y, - GLuint num_groups_z); -ANGLE_EXPORT void GL_APIENTRY GL_DispatchComputeIndirect(GLintptr indirect); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysIndirect(GLenum mode, const void *indirect); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsIndirect(GLenum mode, - GLenum type, - const void *indirect); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferParameteri(GLenum target, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_GenProgramPipelines(GLsizei n, GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleani_v(GLenum target, GLuint index, GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferParameteriv(GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInterfaceiv(GLuint program, - GLenum programInterface, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineInfoLog(GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program, - GLenum programInterface, - const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program, - GLenum programInterface, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceName(GLuint program, - GLenum programInterface, - GLuint index, +namespace gl +{ +ANGLE_EXPORT void GL_APIENTRY ActiveShaderProgram(GLuint pipeline, GLuint program); +ANGLE_EXPORT void GL_APIENTRY BindImageTexture(GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format); +ANGLE_EXPORT void GL_APIENTRY BindProgramPipeline(GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY BindVertexBuffer(GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShaderProgramv(GLenum type, + GLsizei count, + const GLchar *const *strings); +ANGLE_EXPORT void GL_APIENTRY DeleteProgramPipelines(GLsizei n, const GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY DispatchCompute(GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z); +ANGLE_EXPORT void GL_APIENTRY DispatchComputeIndirect(GLintptr indirect); +ANGLE_EXPORT void GL_APIENTRY DrawArraysIndirect(GLenum mode, const void *indirect); +ANGLE_EXPORT void GL_APIENTRY DrawElementsIndirect(GLenum mode, GLenum type, const void *indirect); +ANGLE_EXPORT void GL_APIENTRY FramebufferParameteri(GLenum target, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY GenProgramPipelines(GLsizei n, GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_v(GLenum target, GLuint index, GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceiv(GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceiv(GLuint program, - GLenum programInterface, - GLuint index, - GLsizei propCount, - const GLenum *props, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfv(GLenum target, - GLint level, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameteriv(GLenum target, - GLint level, - GLenum pname, - GLint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramPipeline(GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrier(GLbitfield barriers); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrierByRegion(GLbitfield barriers); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1f(GLuint program, GLint location, GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1i(GLuint program, GLint location, GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1ui(GLuint program, GLint location, GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2f(GLuint program, - GLint location, - GLfloat v0, - GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2i(GLuint program, - GLint location, - GLint v0, - GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2ui(GLuint program, - GLint location, - GLuint v0, - GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params); +ANGLE_EXPORT GLuint GL_APIENTRY GetProgramResourceIndex(GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetProgramResourceLocation(GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceName(GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceiv(GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfv(GLenum target, + GLint level, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameteriv(GLenum target, + GLint level, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgramPipeline(GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrier(GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrierByRegion(GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1f(GLuint program, GLint location, GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1i(GLuint program, GLint location, GLint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1ui(GLuint program, GLint location, GLuint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2f(GLuint program, + GLint location, + GLfloat v0, + GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2ui(GLuint program, + GLint location, + GLuint v0, + GLuint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); +ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value); +ProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); +ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fv(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); +ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4fv(GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4iv(GLuint program, - GLint location, - GLsizei count, - const GLint *value); +ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4iv(GLuint program, + GLint location, + GLsizei count, + const GLint *value); ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uiv(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x2fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x3fv(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_SampleMaski(GLuint maskNumber, GLbitfield mask); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgramStages(GLuint pipeline, - GLbitfield stages, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramPipeline(GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribBinding(GLuint attribindex, GLuint bindingindex); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribFormat(GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribIFormat(GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset); -ANGLE_EXPORT void GL_APIENTRY GL_VertexBindingDivisor(GLuint bindingindex, GLuint divisor); -} // extern "C" +ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4uiv(GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x2fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x3fv(GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY SampleMaski(GLuint maskNumber, GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY UseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgramPipeline(GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY VertexAttribBinding(GLuint attribindex, GLuint bindingindex); +ANGLE_EXPORT void GL_APIENTRY VertexAttribFormat(GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY VertexAttribIFormat(GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY VertexBindingDivisor(GLuint bindingindex, GLuint divisor); +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_3_1_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.cpp index 032d36d6af6c..535ffe4992c8 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.cpp @@ -13,23 +13,22 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_3_2_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_3_2_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationES32.h" #include "libGLESv2/global_state.h" -using namespace gl; - -extern "C" { -void GL_APIENTRY GL_BlendBarrier() +namespace gl +{ +void GL_APIENTRY BlendBarrier() { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendBarrier, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::BlendBarrier, "glBlendBarrier", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendBarrier(context)); if (isCallValid) { @@ -43,16 +42,17 @@ void GL_APIENTRY GL_BlendBarrier() } } -void GL_APIENTRY GL_BlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationSeparatei, "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", - CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), + EVENT(context, gl::EntryPoint::BlendEquationSeparatei, "glBlendEquationSeparatei", + "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, + GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparatei(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -67,15 +67,16 @@ void GL_APIENTRY GL_BlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum mo } } -void GL_APIENTRY GL_BlendEquationi(GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationi(GLuint buf, GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationi, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationi, "glBlendEquationi", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationi(context, buf, mode)); if (isCallValid) @@ -91,10 +92,10 @@ void GL_APIENTRY GL_BlendEquationi(GLuint buf, GLenum mode) } void GL_APIENTRY -GL_BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFuncSeparatei, + EVENT(context, gl::EntryPoint::BlendFuncSeparatei, "glBlendFuncSeparatei", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -103,7 +104,7 @@ GL_BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -120,16 +121,17 @@ GL_BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, } } -void GL_APIENTRY GL_BlendFunci(GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunci(GLuint buf, GLenum src, GLenum dst) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFunci, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunci, "glBlendFunci", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunci(context, buf, src, dst)); if (isCallValid) @@ -144,16 +146,16 @@ void GL_APIENTRY GL_BlendFunci(GLuint buf, GLenum src, GLenum dst) } } -void GL_APIENTRY GL_ColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) +void GL_APIENTRY ColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColorMaski, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaski, "glColorMaski", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaski(context, index, r, g, b, a)); if (isCallValid) @@ -168,24 +170,24 @@ void GL_APIENTRY GL_ColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean } } -void GL_APIENTRY GL_CopyImageSubData(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubData(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyImageSubData, + EVENT(context, gl::EntryPoint::CopyImageSubData, "glCopyImageSubData", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -196,7 +198,7 @@ void GL_APIENTRY GL_CopyImageSubData(GLuint srcName, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubData(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, @@ -217,16 +219,16 @@ void GL_APIENTRY GL_CopyImageSubData(GLuint srcName, } } -void GL_APIENTRY GL_DebugMessageCallback(GLDEBUGPROC callback, const void *userParam) +void GL_APIENTRY DebugMessageCallback(GLDEBUGPROC callback, const void *userParam) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageCallback, + EVENT(context, gl::EntryPoint::DebugMessageCallback, "glDebugMessageCallback", "context = %d, callback = 0x%016" PRIxPTR ", userParam = 0x%016" PRIxPTR "", CID(context), (uintptr_t)callback, (uintptr_t)userParam); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageCallback(context, callback, userParam)); if (isCallValid) @@ -241,15 +243,15 @@ void GL_APIENTRY GL_DebugMessageCallback(GLDEBUGPROC callback, const void *userP } } -void GL_APIENTRY GL_DebugMessageControl(GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled) +void GL_APIENTRY DebugMessageControl(GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageControl, + EVENT(context, gl::EntryPoint::DebugMessageControl, "glDebugMessageControl", "context = %d, source = %s, type = %s, severity = %s, count = %d, ids = 0x%016" PRIxPTR ", enabled = %s", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -259,7 +261,7 @@ void GL_APIENTRY GL_DebugMessageControl(GLenum source, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageControl(context, source, type, severity, count, ids, enabled)); @@ -276,15 +278,15 @@ void GL_APIENTRY GL_DebugMessageControl(GLenum source, } } -void GL_APIENTRY GL_DebugMessageInsert(GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf) +void GL_APIENTRY DebugMessageInsert(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageInsert, + EVENT(context, gl::EntryPoint::DebugMessageInsert, "glDebugMessageInsert", "context = %d, source = %s, type = %s, id = %u, severity = %s, length = %d, buf = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -293,7 +295,7 @@ void GL_APIENTRY GL_DebugMessageInsert(GLenum source, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageInsert(context, source, type, id, severity, length, buf)); @@ -310,15 +312,15 @@ void GL_APIENTRY GL_DebugMessageInsert(GLenum source, } } -void GL_APIENTRY GL_Disablei(GLenum target, GLuint index) +void GL_APIENTRY Disablei(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisablei, "context = %d, target = %s, index = %u", CID(context), - GLenumToString(GLenumGroup::EnableCap, target), index); + EVENT(context, gl::EntryPoint::Disablei, "glDisablei", "context = %d, target = %s, index = %u", + CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisablei(context, target, index)); if (isCallValid) { @@ -332,14 +334,14 @@ void GL_APIENTRY GL_Disablei(GLenum target, GLuint index) } } -void GL_APIENTRY GL_DrawElementsBaseVertex(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertex(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsBaseVertex, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertex, "glDrawElementsBaseVertex", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -347,9 +349,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertex(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertex(context, modePacked, count, typePacked, indices, basevertex)); @@ -366,15 +368,16 @@ void GL_APIENTRY GL_DrawElementsBaseVertex(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertex(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertex(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedBaseVertex, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertex, + "glDrawElementsInstancedBaseVertex", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -383,9 +386,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertex(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertex( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -403,16 +406,16 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertex(GLenum mode, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertex(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertex(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawRangeElementsBaseVertex, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertex, "glDrawRangeElementsBaseVertex", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -420,9 +423,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertex(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertex( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -440,15 +443,15 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertex(GLenum mode, } } -void GL_APIENTRY GL_Enablei(GLenum target, GLuint index) +void GL_APIENTRY Enablei(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnablei, "context = %d, target = %s, index = %u", CID(context), - GLenumToString(GLenumGroup::EnableCap, target), index); + EVENT(context, gl::EntryPoint::Enablei, "glEnablei", "context = %d, target = %s, index = %u", + CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnablei(context, target, index)); if (isCallValid) { @@ -462,21 +465,18 @@ void GL_APIENTRY GL_Enablei(GLenum target, GLuint index) } } -void GL_APIENTRY GL_FramebufferTexture(GLenum target, - GLenum attachment, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTexture, + EVENT(context, gl::EntryPoint::FramebufferTexture, "glFramebufferTexture", "context = %d, target = %s, attachment = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level); if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture(context, target, attachment, texturePacked, level)); @@ -493,17 +493,17 @@ void GL_APIENTRY GL_FramebufferTexture(GLenum target, } } -GLuint GL_APIENTRY GL_GetDebugMessageLog(GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog) +GLuint GL_APIENTRY GetDebugMessageLog(GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetDebugMessageLog, + EVENT(context, gl::EntryPoint::GetDebugMessageLog, "glGetDebugMessageLog", "context = %d, count = %u, bufSize = %d, sources = 0x%016" PRIxPTR ", types = 0x%016" PRIxPTR ", ids = 0x%016" PRIxPTR ", severities = 0x%016" PRIxPTR ", lengths = 0x%016" PRIxPTR ", messageLog = 0x%016" PRIxPTR "", @@ -513,7 +513,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLog(GLuint count, GLuint returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetDebugMessageLog(context, count, bufSize, sources, types, ids, severities, lengths, messageLog)); @@ -524,7 +524,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLog(GLuint count, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetDebugMessageLog, isCallValid, context, count, bufSize, sources, types, ids, severities, lengths, messageLog, returnValue); @@ -532,20 +532,21 @@ GLuint GL_APIENTRY GL_GetDebugMessageLog(GLuint count, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLenum GL_APIENTRY GL_GetGraphicsResetStatus() +GLenum GL_APIENTRY GetGraphicsResetStatus() { Context *context = GetGlobalContext(); - EVENT(context, GLGetGraphicsResetStatus, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetGraphicsResetStatus, "glGetGraphicsResetStatus", + "context = %d", CID(context)); GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetGraphicsResetStatus(context)); if (isCallValid) { @@ -553,24 +554,23 @@ GLenum GL_APIENTRY GL_GetGraphicsResetStatus() } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetGraphicsResetStatus, isCallValid, context, returnValue); } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } void GL_APIENTRY -GL_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) +GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetObjectLabel, + EVENT(context, gl::EntryPoint::GetObjectLabel, "glGetObjectLabel", "context = %d, identifier = %s, name = %u, bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, identifier), name, bufSize, @@ -578,7 +578,7 @@ GL_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *leng if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectLabel(context, identifier, name, bufSize, length, label)); @@ -595,20 +595,17 @@ GL_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *leng } } -void GL_APIENTRY GL_GetObjectPtrLabel(const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetObjectPtrLabel, + EVENT(context, gl::EntryPoint::GetObjectPtrLabel, "glGetObjectPtrLabel", "context = %d, ptr = 0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, bufSize, (uintptr_t)length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectPtrLabel(context, ptr, bufSize, length, label)); if (isCallValid) @@ -623,15 +620,16 @@ void GL_APIENTRY GL_GetObjectPtrLabel(const void *ptr, } } -void GL_APIENTRY GL_GetPointerv(GLenum pname, void **params) +void GL_APIENTRY GetPointerv(GLenum pname, void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetPointerv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPointervPName, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetPointerv, "glGetPointerv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPointervPName, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointerv(context, pname, params)); if (isCallValid) @@ -646,17 +644,17 @@ void GL_APIENTRY GL_GetPointerv(GLenum pname, void **params) } } -void GL_APIENTRY GL_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) +void GL_APIENTRY GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIiv, + EVENT(context, gl::EntryPoint::GetSamplerParameterIiv, "glGetSamplerParameterIiv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIiv(context, samplerPacked, pname, params)); if (isCallValid) @@ -671,17 +669,17 @@ void GL_APIENTRY GL_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint * } } -void GL_APIENTRY GL_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) +void GL_APIENTRY GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIuiv, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuiv, "glGetSamplerParameterIuiv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuiv(context, samplerPacked, pname, params)); if (isCallValid) @@ -696,18 +694,18 @@ void GL_APIENTRY GL_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint } } -void GL_APIENTRY GL_GetTexParameterIiv(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetTexParameterIiv(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIiv, + EVENT(context, gl::EntryPoint::GetTexParameterIiv, "glGetTexParameterIiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIiv(context, targetPacked, pname, params)); if (isCallValid) @@ -722,18 +720,18 @@ void GL_APIENTRY GL_GetTexParameterIiv(GLenum target, GLenum pname, GLint *param } } -void GL_APIENTRY GL_GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) +void GL_APIENTRY GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIuiv, + EVENT(context, gl::EntryPoint::GetTexParameterIuiv, "glGetTexParameterIuiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuiv(context, targetPacked, pname, params)); if (isCallValid) @@ -748,18 +746,18 @@ void GL_APIENTRY GL_GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *par } } -void GL_APIENTRY GL_GetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) +void GL_APIENTRY GetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformfv, + EVENT(context, gl::EntryPoint::GetnUniformfv, "glGetnUniformfv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfv(context, programPacked, locationPacked, bufSize, params)); @@ -776,18 +774,18 @@ void GL_APIENTRY GL_GetnUniformfv(GLuint program, GLint location, GLsizei bufSiz } } -void GL_APIENTRY GL_GetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params) +void GL_APIENTRY GetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformiv, + EVENT(context, gl::EntryPoint::GetnUniformiv, "glGetnUniformiv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformiv(context, programPacked, locationPacked, bufSize, params)); @@ -804,18 +802,18 @@ void GL_APIENTRY GL_GetnUniformiv(GLuint program, GLint location, GLsizei bufSiz } } -void GL_APIENTRY GL_GetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint *params) +void GL_APIENTRY GetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformuiv, + EVENT(context, gl::EntryPoint::GetnUniformuiv, "glGetnUniformuiv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformuiv(context, programPacked, locationPacked, bufSize, params)); @@ -832,16 +830,17 @@ void GL_APIENTRY GL_GetnUniformuiv(GLuint program, GLint location, GLsizei bufSi } } -GLboolean GL_APIENTRY GL_IsEnabledi(GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnabledi(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsEnabledi, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnabledi, "glIsEnabledi", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnabledi(context, target, index)); if (isCallValid) @@ -850,26 +849,27 @@ GLboolean GL_APIENTRY GL_IsEnabledi(GLenum target, GLuint index) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnabledi, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_MinSampleShading(GLfloat value) +void GL_APIENTRY MinSampleShading(GLfloat value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMinSampleShading, "context = %d, value = %f", CID(context), value); + EVENT(context, gl::EntryPoint::MinSampleShading, "glMinSampleShading", + "context = %d, value = %f", CID(context), value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMinSampleShading(context, value)); if (isCallValid) { @@ -883,17 +883,17 @@ void GL_APIENTRY GL_MinSampleShading(GLfloat value) } } -void GL_APIENTRY GL_ObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label) +void GL_APIENTRY ObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLObjectLabel, + EVENT(context, gl::EntryPoint::ObjectLabel, "glObjectLabel", "context = %d, identifier = %s, name = %u, length = %d, label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ObjectIdentifier, identifier), name, length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectLabel(context, identifier, name, length, label)); if (isCallValid) @@ -908,16 +908,16 @@ void GL_APIENTRY GL_ObjectLabel(GLenum identifier, GLuint name, GLsizei length, } } -void GL_APIENTRY GL_ObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label) +void GL_APIENTRY ObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLObjectPtrLabel, + EVENT(context, gl::EntryPoint::ObjectPtrLabel, "glObjectPtrLabel", "context = %d, ptr = 0x%016" PRIxPTR ", length = %d, label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectPtrLabel(context, ptr, length, label)); if (isCallValid) @@ -932,15 +932,16 @@ void GL_APIENTRY GL_ObjectPtrLabel(const void *ptr, GLsizei length, const GLchar } } -void GL_APIENTRY GL_PatchParameteri(GLenum pname, GLint value) +void GL_APIENTRY PatchParameteri(GLenum pname, GLint value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPatchParameteri, "context = %d, pname = %s, value = %d", CID(context), + EVENT(context, gl::EntryPoint::PatchParameteri, "glPatchParameteri", + "context = %d, pname = %s, value = %d", CID(context), GLenumToString(GLenumGroup::PatchParameterName, pname), value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePatchParameteri(context, pname, value)); if (isCallValid) @@ -955,14 +956,14 @@ void GL_APIENTRY GL_PatchParameteri(GLenum pname, GLint value) } } -void GL_APIENTRY GL_PopDebugGroup() +void GL_APIENTRY PopDebugGroup() { Context *context = GetValidGlobalContext(); - EVENT(context, GLPopDebugGroup, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopDebugGroup, "glPopDebugGroup", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopDebugGroup(context)); if (isCallValid) { @@ -976,24 +977,24 @@ void GL_APIENTRY GL_PopDebugGroup() } } -void GL_APIENTRY GL_PrimitiveBoundingBox(GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) +void GL_APIENTRY PrimitiveBoundingBox(GLfloat minX, + GLfloat minY, + GLfloat minZ, + GLfloat minW, + GLfloat maxX, + GLfloat maxY, + GLfloat maxZ, + GLfloat maxW) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPrimitiveBoundingBox, + EVENT(context, gl::EntryPoint::PrimitiveBoundingBox, "glPrimitiveBoundingBox", "context = %d, minX = %f, minY = %f, minZ = %f, minW = %f, maxX = %f, maxY = %f, maxZ = " "%f, maxW = %f", CID(context), minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePrimitiveBoundingBox(context, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)); @@ -1010,17 +1011,17 @@ void GL_APIENTRY GL_PrimitiveBoundingBox(GLfloat minX, } } -void GL_APIENTRY GL_PushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message) +void GL_APIENTRY PushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPushDebugGroup, + EVENT(context, gl::EntryPoint::PushDebugGroup, "glPushDebugGroup", "context = %d, source = %s, id = %u, length = %d, message = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), id, length, (uintptr_t)message); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushDebugGroup(context, source, id, length, message)); if (isCallValid) @@ -1035,17 +1036,17 @@ void GL_APIENTRY GL_PushDebugGroup(GLenum source, GLuint id, GLsizei length, con } } -void GL_APIENTRY GL_ReadnPixels(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data) +void GL_APIENTRY ReadnPixels(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadnPixels, + EVENT(context, gl::EntryPoint::ReadnPixels, "glReadnPixels", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, data = 0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -1053,7 +1054,7 @@ void GL_APIENTRY GL_ReadnPixels(GLint x, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixels(context, x, y, width, height, format, type, bufSize, data)); @@ -1070,17 +1071,17 @@ void GL_APIENTRY GL_ReadnPixels(GLint x, } } -void GL_APIENTRY GL_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param) +void GL_APIENTRY SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIiv, + EVENT(context, gl::EntryPoint::SamplerParameterIiv, "glSamplerParameterIiv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIiv(context, samplerPacked, pname, param)); if (isCallValid) @@ -1095,17 +1096,17 @@ void GL_APIENTRY GL_SamplerParameterIiv(GLuint sampler, GLenum pname, const GLin } } -void GL_APIENTRY GL_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param) +void GL_APIENTRY SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIuiv, + EVENT(context, gl::EntryPoint::SamplerParameterIuiv, "glSamplerParameterIuiv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuiv(context, samplerPacked, pname, param)); if (isCallValid) @@ -1120,18 +1121,19 @@ void GL_APIENTRY GL_SamplerParameterIuiv(GLuint sampler, GLenum pname, const GLu } } -void GL_APIENTRY GL_TexBuffer(GLenum target, GLenum internalformat, GLuint buffer) +void GL_APIENTRY TexBuffer(GLenum target, GLenum internalformat, GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBuffer, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBuffer, "glTexBuffer", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBuffer(context, targetPacked, internalformat, bufferPacked)); if (isCallValid) @@ -1146,14 +1148,14 @@ void GL_APIENTRY GL_TexBuffer(GLenum target, GLenum internalformat, GLuint buffe } } -void GL_APIENTRY GL_TexBufferRange(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRange(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBufferRange, + EVENT(context, gl::EntryPoint::TexBufferRange, "glTexBufferRange", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -1161,9 +1163,9 @@ void GL_APIENTRY GL_TexBufferRange(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRange(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -1180,18 +1182,18 @@ void GL_APIENTRY GL_TexBufferRange(GLenum target, } } -void GL_APIENTRY GL_TexParameterIiv(GLenum target, GLenum pname, const GLint *params) +void GL_APIENTRY TexParameterIiv(GLenum target, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIiv, + EVENT(context, gl::EntryPoint::TexParameterIiv, "glTexParameterIiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIiv(context, targetPacked, pname, params)); if (isCallValid) @@ -1206,18 +1208,18 @@ void GL_APIENTRY GL_TexParameterIiv(GLenum target, GLenum pname, const GLint *pa } } -void GL_APIENTRY GL_TexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) +void GL_APIENTRY TexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIuiv, + EVENT(context, gl::EntryPoint::TexParameterIuiv, "glTexParameterIuiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuiv(context, targetPacked, pname, params)); if (isCallValid) @@ -1232,16 +1234,16 @@ void GL_APIENTRY GL_TexParameterIuiv(GLenum target, GLenum pname, const GLuint * } } -void GL_APIENTRY GL_TexStorage3DMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage3DMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage3DMultisample, + EVENT(context, gl::EntryPoint::TexStorage3DMultisample, "glTexStorage3DMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -1250,8 +1252,8 @@ void GL_APIENTRY GL_TexStorage3DMultisample(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DMultisample(context, targetPacked, samples, internalformat, width, @@ -1269,5 +1271,4 @@ void GL_APIENTRY GL_TexStorage3DMultisample(GLenum target, GenerateContextLostErrorOnCurrentGlobalContext(); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.h index 02fd24d43650..0b9614366068 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_3_2_autogen.h @@ -14,159 +14,148 @@ #include #include -extern "C" { -ANGLE_EXPORT void GL_APIENTRY GL_BlendBarrier(); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparatei(GLuint buf, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationi(GLuint buf, GLenum mode); +namespace gl +{ +ANGLE_EXPORT void GL_APIENTRY BlendBarrier(); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationi(GLuint buf, GLenum mode); ANGLE_EXPORT void GL_APIENTRY -GL_BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunci(GLuint buf, GLenum src, GLenum dst); +BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFunci(GLuint buf, GLenum src, GLenum dst); ANGLE_EXPORT void GL_APIENTRY -GL_ColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubData(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageCallback(GLDEBUGPROC callback, const void *userParam); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageControl(GLenum source, - GLenum type, - GLenum severity, +ColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +ANGLE_EXPORT void GL_APIENTRY CopyImageSubData(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth); +ANGLE_EXPORT void GL_APIENTRY DebugMessageCallback(GLDEBUGPROC callback, const void *userParam); +ANGLE_EXPORT void GL_APIENTRY DebugMessageControl(GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled); +ANGLE_EXPORT void GL_APIENTRY DebugMessageInsert(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf); +ANGLE_EXPORT void GL_APIENTRY Disablei(GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertex(GLenum mode, GLsizei count, - const GLuint *ids, - GLboolean enabled); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageInsert(GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf); -ANGLE_EXPORT void GL_APIENTRY GL_Disablei(GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertex(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedBaseVertex(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertex(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_Enablei(GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture(GLenum target, - GLenum attachment, - GLuint texture, - GLint level); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetDebugMessageLog(GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog); -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetGraphicsResetStatus(); -ANGLE_EXPORT void GL_APIENTRY -GL_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectPtrLabel(const void *ptr, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertex(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertex(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY Enablei(GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture(GLenum target, + GLenum attachment, + GLuint texture, + GLint level); +ANGLE_EXPORT GLuint GL_APIENTRY GetDebugMessageLog(GLuint count, GLsizei bufSize, - GLsizei *length, - GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointerv(GLenum pname, void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIiv(GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuiv(GLuint sampler, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIiv(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfv(GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformiv(GLuint program, - GLint location, - GLsizei bufSize, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformuiv(GLuint program, - GLint location, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog); +ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatus(); +ANGLE_EXPORT void GL_APIENTRY +GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetObjectPtrLabel(const void *ptr, GLsizei bufSize, - GLuint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnabledi(GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_MinSampleShading(GLfloat value); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectLabel(GLenum identifier, - GLuint name, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectPtrLabel(const void *ptr, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_PatchParameteri(GLenum pname, GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_PopDebugGroup(); -ANGLE_EXPORT void GL_APIENTRY GL_PrimitiveBoundingBox(GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); -ANGLE_EXPORT void GL_APIENTRY GL_PushDebugGroup(GLenum source, - GLuint id, - GLsizei length, - const GLchar *message); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixels(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, + GLsizei *length, + GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetPointerv(GLenum pname, void **params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIiv(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfv(GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformiv(GLuint program, + GLint location, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformuiv(GLuint program, + GLint location, GLsizei bufSize, - void *data); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIiv(GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuiv(GLuint sampler, - GLenum pname, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_TexBuffer(GLenum target, GLenum internalformat, GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRange(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIiv(GLenum target, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuiv(GLenum target, - GLenum pname, - const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3DMultisample(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations); -} // extern "C" + GLuint *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnabledi(GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY MinSampleShading(GLfloat value); +ANGLE_EXPORT void GL_APIENTRY ObjectLabel(GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY ObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY PatchParameteri(GLenum pname, GLint value); +ANGLE_EXPORT void GL_APIENTRY PopDebugGroup(); +ANGLE_EXPORT void GL_APIENTRY PrimitiveBoundingBox(GLfloat minX, + GLfloat minY, + GLfloat minZ, + GLfloat minW, + GLfloat maxX, + GLfloat maxY, + GLfloat maxZ, + GLfloat maxW); +ANGLE_EXPORT void GL_APIENTRY PushDebugGroup(GLenum source, + GLuint id, + GLsizei length, + const GLchar *message); +ANGLE_EXPORT void GL_APIENTRY ReadnPixels(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuiv(GLuint sampler, + GLenum pname, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY TexBuffer(GLenum target, GLenum internalformat, GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY TexBufferRange(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY TexParameterIiv(GLenum target, GLenum pname, const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuiv(GLenum target, GLenum pname, const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DMultisample(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations); +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_3_2_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.cpp index 8290e22a5ab3..74af2fd4878d 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.cpp @@ -13,46 +13,44 @@ #include "common/entry_points_enum_autogen.h" #include "libANGLE/Context.h" #include "libANGLE/Context.inl.h" -#include "libANGLE/capture/capture_gles_ext_autogen.h" -#include "libANGLE/capture/gl_enum_utils.h" +#include "libANGLE/capture_gles_ext_autogen.h" #include "libANGLE/entry_points_utils.h" +#include "libANGLE/gl_enum_utils.h" #include "libANGLE/validationESEXT.h" #include "libGLESv2/global_state.h" -using namespace gl; - -#include "libANGLE/capture/capture_gles_1_0_autogen.h" -#include "libANGLE/capture/capture_gles_2_0_autogen.h" -#include "libANGLE/capture/capture_gles_3_0_autogen.h" -#include "libANGLE/capture/capture_gles_3_1_autogen.h" -#include "libANGLE/capture/capture_gles_3_2_autogen.h" +#include "libANGLE/capture_gles_1_0_autogen.h" +#include "libANGLE/capture_gles_2_0_autogen.h" +#include "libANGLE/capture_gles_3_0_autogen.h" +#include "libANGLE/capture_gles_3_1_autogen.h" +#include "libANGLE/capture_gles_3_2_autogen.h" #include "libANGLE/validationES1.h" #include "libANGLE/validationES2.h" #include "libANGLE/validationES3.h" #include "libANGLE/validationES31.h" #include "libANGLE/validationES32.h" -using namespace gl; - -extern "C" { +namespace gl +{ // GL_ANGLE_base_vertex_base_instance -void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLE(GLenum mode, - GLint first, - GLsizei count, - GLsizei instanceCount, - GLuint baseInstance) +void GL_APIENTRY DrawArraysInstancedBaseInstanceANGLE(GLenum mode, + GLint first, + GLsizei count, + GLsizei instanceCount, + GLuint baseInstance) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArraysInstancedBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::DrawArraysInstancedBaseInstanceANGLE, + "glDrawArraysInstancedBaseInstanceANGLE", "context = %d, mode = %s, first = %d, count = %d, instanceCount = %d, baseInstance = %u", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, instanceCount, baseInstance); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedBaseInstanceANGLE( context, modePacked, first, count, instanceCount, baseInstance)); @@ -70,16 +68,17 @@ void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLE(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, - GLsizei count, - GLenum type, - const GLvoid *indices, - GLsizei instanceCounts, - GLint baseVertex, - GLuint baseInstance) +void GL_APIENTRY DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, + GLsizei count, + GLenum type, + const GLvoid *indices, + GLsizei instanceCounts, + GLint baseVertex, + GLuint baseInstance) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedBaseVertexBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexBaseInstanceANGLE, + "glDrawElementsInstancedBaseVertexBaseInstanceANGLE", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = %d, baseVertex = %d, baseInstance = %u", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -88,9 +87,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexBaseInstanceANGLE( context, modePacked, count, typePacked, indices, @@ -110,15 +109,16 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode } } -void GL_APIENTRY GL_MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - const GLuint *baseInstances, - GLsizei drawcount) +void GL_APIENTRY MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + const GLuint *baseInstances, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawArraysInstancedBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysInstancedBaseInstanceANGLE, + "glMultiDrawArraysInstancedBaseInstanceANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", baseInstances = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -126,8 +126,8 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysInstancedBaseInstanceANGLE( @@ -147,17 +147,18 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, } void GL_APIENTRY -GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - const GLint *baseVertices, - const GLuint *baseInstances, - GLsizei drawcount) +MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + const GLint *baseVertices, + const GLuint *baseInstances, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, + "glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", baseVertices = 0x%016" PRIxPTR ", baseInstances = 0x%016" PRIxPTR ", drawcount = %d", @@ -167,9 +168,9 @@ GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE( context, modePacked, counts, typePacked, indices, instanceCounts, @@ -191,19 +192,19 @@ GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, } // GL_ANGLE_copy_texture_3d -void GL_APIENTRY GL_CopyTexture3DANGLE(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint internalFormat, - GLenum destType, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopyTexture3DANGLE(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTexture3DANGLE, + EVENT(context, gl::EntryPoint::CopyTexture3DANGLE, "glCopyTexture3DANGLE", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, internalFormat = %d, destType = %s, unpackFlipY = %s, unpackPremultiplyAlpha = " "%s, unpackUnmultiplyAlpha = %s", @@ -214,10 +215,10 @@ void GL_APIENTRY GL_CopyTexture3DANGLE(GLuint sourceId, if (context) { - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexture3DANGLE( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -239,26 +240,26 @@ void GL_APIENTRY GL_CopyTexture3DANGLE(GLuint sourceId, } } -void GL_APIENTRY GL_CopySubTexture3DANGLE(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLint z, - GLint width, - GLint height, - GLint depth, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopySubTexture3DANGLE(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLint z, + GLint width, + GLint height, + GLint depth, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopySubTexture3DANGLE, + EVENT(context, gl::EntryPoint::CopySubTexture3DANGLE, "glCopySubTexture3DANGLE", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, xoffset = %d, yoffset = %d, zoffset = %d, x = %d, y = %d, z = %d, width = %d, " "height = %d, depth = %d, unpackFlipY = %s, unpackPremultiplyAlpha = %s, " @@ -270,10 +271,10 @@ void GL_APIENTRY GL_CopySubTexture3DANGLE(GLuint sourceId, if (context) { - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopySubTexture3DANGLE(context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -299,19 +300,19 @@ void GL_APIENTRY GL_CopySubTexture3DANGLE(GLuint sourceId, } // GL_ANGLE_framebuffer_blit -void GL_APIENTRY GL_BlitFramebufferANGLE(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) +void GL_APIENTRY BlitFramebufferANGLE(GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlitFramebufferANGLE, + EVENT(context, gl::EntryPoint::BlitFramebufferANGLE, "glBlitFramebufferANGLE", "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, @@ -320,7 +321,7 @@ void GL_APIENTRY GL_BlitFramebufferANGLE(GLint srcX0, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlitFramebufferANGLE(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)); @@ -339,21 +340,22 @@ void GL_APIENTRY GL_BlitFramebufferANGLE(GLint srcX0, } // GL_ANGLE_framebuffer_multisample -void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRenderbufferStorageMultisampleANGLE, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisampleANGLE, + "glRenderbufferStorageMultisampleANGLE", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisampleANGLE( context, target, samples, internalformat, width, height)); @@ -372,10 +374,10 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLE(GLenum target, // GL_ANGLE_get_image void GL_APIENTRY -GL_GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void *pixels) +GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexImageANGLE, + EVENT(context, gl::EntryPoint::GetTexImageANGLE, "glGetTexImageANGLE", "context = %d, target = %s, level = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -384,8 +386,8 @@ GL_GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexImageANGLE(context, targetPacked, level, format, type, pixels)); @@ -402,13 +404,10 @@ GL_GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void } } -void GL_APIENTRY GL_GetRenderbufferImageANGLE(GLenum target, - GLenum format, - GLenum type, - void *pixels) +void GL_APIENTRY GetRenderbufferImageANGLE(GLenum target, GLenum format, GLenum type, void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetRenderbufferImageANGLE, + EVENT(context, gl::EntryPoint::GetRenderbufferImageANGLE, "glGetRenderbufferImageANGLE", "context = %d, target = %s, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::PixelFormat, format), @@ -416,7 +415,7 @@ void GL_APIENTRY GL_GetRenderbufferImageANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferImageANGLE(context, target, format, type, pixels)); @@ -434,21 +433,21 @@ void GL_APIENTRY GL_GetRenderbufferImageANGLE(GLenum target, } // GL_ANGLE_get_tex_level_parameter -void GL_APIENTRY GL_GetTexLevelParameterivANGLE(GLenum target, - GLint level, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexLevelParameterivANGLE(GLenum target, + GLint level, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameterivANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterivANGLE, "glGetTexLevelParameterivANGLE", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterivANGLE(context, targetPacked, level, pname, params)); @@ -465,21 +464,21 @@ void GL_APIENTRY GL_GetTexLevelParameterivANGLE(GLenum target, } } -void GL_APIENTRY GL_GetTexLevelParameterfvANGLE(GLenum target, - GLint level, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfvANGLE(GLenum target, + GLint level, + GLenum pname, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameterfvANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfvANGLE, "glGetTexLevelParameterfvANGLE", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfvANGLE(context, targetPacked, level, pname, params)); @@ -497,20 +496,20 @@ void GL_APIENTRY GL_GetTexLevelParameterfvANGLE(GLenum target, } // GL_ANGLE_instanced_arrays -void GL_APIENTRY GL_DrawArraysInstancedANGLE(GLenum mode, - GLint first, - GLsizei count, - GLsizei primcount) +void GL_APIENTRY DrawArraysInstancedANGLE(GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArraysInstancedANGLE, + EVENT(context, gl::EntryPoint::DrawArraysInstancedANGLE, "glDrawArraysInstancedANGLE", "context = %d, mode = %s, first = %d, count = %d, primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, primcount); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedANGLE(context, modePacked, first, count, primcount)); @@ -527,14 +526,14 @@ void GL_APIENTRY GL_DrawArraysInstancedANGLE(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedANGLE(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount) +void GL_APIENTRY DrawElementsInstancedANGLE(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedANGLE, + EVENT(context, gl::EntryPoint::DrawElementsInstancedANGLE, "glDrawElementsInstancedANGLE", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -542,9 +541,9 @@ void GL_APIENTRY GL_DrawElementsInstancedANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedANGLE(context, modePacked, count, typePacked, indices, primcount)); @@ -561,15 +560,15 @@ void GL_APIENTRY GL_DrawElementsInstancedANGLE(GLenum mode, } } -void GL_APIENTRY GL_VertexAttribDivisorANGLE(GLuint index, GLuint divisor) +void GL_APIENTRY VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribDivisorANGLE, "context = %d, index = %u, divisor = %u", - CID(context), index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisorANGLE, "glVertexAttribDivisorANGLE", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisorANGLE(context, index, divisor)); if (isCallValid) @@ -585,18 +584,18 @@ void GL_APIENTRY GL_VertexAttribDivisorANGLE(GLuint index, GLuint divisor) } // GL_ANGLE_memory_object_flags -void GL_APIENTRY GL_TexStorageMemFlags2DANGLE(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags2DANGLE(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMemFlags2DANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags2DANGLE, "glTexStorageMemFlags2DANGLE", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -607,9 +606,9 @@ void GL_APIENTRY GL_TexStorageMemFlags2DANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags2DANGLE( context, targetPacked, levels, internalFormat, width, height, @@ -628,20 +627,21 @@ void GL_APIENTRY GL_TexStorageMemFlags2DANGLE(GLenum target, } } -void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags2DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = GetValidGlobalContext(); EVENT( - context, GLTexStorageMemFlags2DMultisampleANGLE, + context, gl::EntryPoint::TexStorageMemFlags2DMultisampleANGLE, + "glTexStorageMemFlags2DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "fixedSampleLocations = %s, memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -652,9 +652,9 @@ void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags2DMultisampleANGLE( @@ -676,19 +676,19 @@ void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLE(GLenum target, } } -void GL_APIENTRY GL_TexStorageMemFlags3DANGLE(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags3DANGLE(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMemFlags3DANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags3DANGLE, "glTexStorageMemFlags3DANGLE", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -699,9 +699,9 @@ void GL_APIENTRY GL_TexStorageMemFlags3DANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags3DANGLE( context, targetPacked, levels, internalFormat, width, height, depth, @@ -721,20 +721,21 @@ void GL_APIENTRY GL_TexStorageMemFlags3DANGLE(GLenum target, } } -void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags3DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMemFlags3DMultisampleANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags3DMultisampleANGLE, + "glTexStorageMemFlags3DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, fixedSampleLocations = %s, memory = %u, offset = %llu, createFlags = %s, " "usageFlags = %s", @@ -746,9 +747,9 @@ void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags3DMultisampleANGLE( @@ -771,22 +772,22 @@ void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLE(GLenum target, } // GL_ANGLE_memory_object_fuchsia -void GL_APIENTRY GL_ImportMemoryZirconHandleANGLE(GLuint memory, - GLuint64 size, - GLenum handleType, - GLuint handle) +void GL_APIENTRY ImportMemoryZirconHandleANGLE(GLuint memory, + GLuint64 size, + GLenum handleType, + GLuint handle) { Context *context = GetValidGlobalContext(); - EVENT(context, GLImportMemoryZirconHandleANGLE, + EVENT(context, gl::EntryPoint::ImportMemoryZirconHandleANGLE, "glImportMemoryZirconHandleANGLE", "context = %d, memory = %u, size = %llu, handleType = %s, handle = %u", CID(context), memory, static_cast(size), GLenumToString(GLenumGroup::ExternalHandleType, handleType), handle); if (context) { - MemoryObjectID memoryPacked = PackParam(memory); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryPacked = FromGL(memory); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportMemoryZirconHandleANGLE(context, memoryPacked, size, handleTypePacked, handle)); @@ -804,13 +805,13 @@ void GL_APIENTRY GL_ImportMemoryZirconHandleANGLE(GLuint memory, } // GL_ANGLE_multi_draw -void GL_APIENTRY GL_MultiDrawArraysANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawArraysANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawArraysANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysANGLE, "glMultiDrawArraysANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -818,8 +819,8 @@ void GL_APIENTRY GL_MultiDrawArraysANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysANGLE(context, modePacked, firsts, counts, drawcount)); @@ -836,14 +837,14 @@ void GL_APIENTRY GL_MultiDrawArraysANGLE(GLenum mode, } } -void GL_APIENTRY GL_MultiDrawArraysInstancedANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawArraysInstancedANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawArraysInstancedANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysInstancedANGLE, "glMultiDrawArraysInstancedANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -851,8 +852,8 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysInstancedANGLE( context, modePacked, firsts, counts, instanceCounts, drawcount)); @@ -870,14 +871,14 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedANGLE(GLenum mode, } } -void GL_APIENTRY GL_MultiDrawElementsANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - GLsizei drawcount) +void GL_APIENTRY MultiDrawElementsANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawElementsANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsANGLE, "glMultiDrawElementsANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)counts, @@ -885,9 +886,9 @@ void GL_APIENTRY GL_MultiDrawElementsANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsANGLE(context, modePacked, counts, typePacked, indices, drawcount)); @@ -904,15 +905,16 @@ void GL_APIENTRY GL_MultiDrawElementsANGLE(GLenum mode, } } -void GL_APIENTRY GL_MultiDrawElementsInstancedANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawElementsInstancedANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + GLsizei drawcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawElementsInstancedANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsInstancedANGLE, + "glMultiDrawElementsInstancedANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)counts, @@ -921,9 +923,9 @@ void GL_APIENTRY GL_MultiDrawElementsInstancedANGLE(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsInstancedANGLE(context, modePacked, counts, typePacked, @@ -945,16 +947,17 @@ void GL_APIENTRY GL_MultiDrawElementsInstancedANGLE(GLenum mode, // GL_ANGLE_program_binary // GL_ANGLE_provoking_vertex -void GL_APIENTRY GL_ProvokingVertexANGLE(GLenum mode) +void GL_APIENTRY ProvokingVertexANGLE(GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProvokingVertexANGLE, "context = %d, mode = %s", CID(context), + EVENT(context, gl::EntryPoint::ProvokingVertexANGLE, "glProvokingVertexANGLE", + "context = %d, mode = %s", CID(context), GLenumToString(GLenumGroup::VertexProvokingMode, mode)); if (context) { - ProvokingVertexConvention modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + ProvokingVertexConvention modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProvokingVertexANGLE(context, modePacked)); if (isCallValid) @@ -970,15 +973,15 @@ void GL_APIENTRY GL_ProvokingVertexANGLE(GLenum mode) } // GL_ANGLE_request_extension -void GL_APIENTRY GL_RequestExtensionANGLE(const GLchar *name) +void GL_APIENTRY RequestExtensionANGLE(const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRequestExtensionANGLE, "context = %d, name = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)name); + EVENT(context, gl::EntryPoint::RequestExtensionANGLE, "glRequestExtensionANGLE", + "context = %d, name = 0x%016" PRIxPTR "", CID(context), (uintptr_t)name); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRequestExtensionANGLE(context, name)); if (isCallValid) @@ -993,15 +996,15 @@ void GL_APIENTRY GL_RequestExtensionANGLE(const GLchar *name) } } -void GL_APIENTRY GL_DisableExtensionANGLE(const GLchar *name) +void GL_APIENTRY DisableExtensionANGLE(const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisableExtensionANGLE, "context = %d, name = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)name); + EVENT(context, gl::EntryPoint::DisableExtensionANGLE, "glDisableExtensionANGLE", + "context = %d, name = 0x%016" PRIxPTR "", CID(context), (uintptr_t)name); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableExtensionANGLE(context, name)); if (isCallValid) @@ -1017,13 +1020,13 @@ void GL_APIENTRY GL_DisableExtensionANGLE(const GLchar *name) } // GL_ANGLE_robust_client_memory -void GL_APIENTRY GL_GetBooleanvRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLboolean *params) +void GL_APIENTRY GetBooleanvRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBooleanvRobustANGLE, + EVENT(context, gl::EntryPoint::GetBooleanvRobustANGLE, "glGetBooleanvRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1031,7 +1034,7 @@ void GL_APIENTRY GL_GetBooleanvRobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleanvRobustANGLE(context, pname, bufSize, length, params)); @@ -1047,14 +1050,15 @@ void GL_APIENTRY GL_GetBooleanvRobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_GetBufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetBufferParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferParameterivRobustANGLE, + "glGetBufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1063,8 +1067,8 @@ void GL_APIENTRY GL_GetBufferParameterivRobustANGLE(GLenum target, if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameterivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -1081,13 +1085,13 @@ void GL_APIENTRY GL_GetBufferParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetFloatvRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetFloatvRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFloatvRobustANGLE, + EVENT(context, gl::EntryPoint::GetFloatvRobustANGLE, "glGetFloatvRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1095,7 +1099,7 @@ void GL_APIENTRY GL_GetFloatvRobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFloatvRobustANGLE(context, pname, bufSize, length, params)); if (isCallValid) @@ -1110,15 +1114,16 @@ void GL_APIENTRY GL_GetFloatvRobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLE(GLenum target, - GLenum attachment, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameterivRobustANGLE(GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFramebufferAttachmentParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameterivRobustANGLE, + "glGetFramebufferAttachmentParameterivRobustANGLE", "context = %d, target = %s, attachment = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1128,7 +1133,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLE(GLenum target if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameterivRobustANGLE( context, target, attachment, pname, bufSize, length, params)); @@ -1146,13 +1151,10 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLE(GLenum target } } -void GL_APIENTRY GL_GetIntegervRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *data) +void GL_APIENTRY GetIntegervRobustANGLE(GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetIntegervRobustANGLE, + EVENT(context, gl::EntryPoint::GetIntegervRobustANGLE, "glGetIntegervRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1160,7 +1162,7 @@ void GL_APIENTRY GL_GetIntegervRobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegervRobustANGLE(context, pname, bufSize, length, data)); if (isCallValid) @@ -1175,14 +1177,14 @@ void GL_APIENTRY GL_GetIntegervRobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_GetProgramivRobustANGLE(GLuint program, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramivRobustANGLE(GLuint program, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetProgramivRobustANGLE, + EVENT(context, gl::EntryPoint::GetProgramivRobustANGLE, "glGetProgramivRobustANGLE", "context = %d, program = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1190,8 +1192,8 @@ void GL_APIENTRY GL_GetProgramivRobustANGLE(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramivRobustANGLE(context, programPacked, pname, bufSize, length, params)); @@ -1206,14 +1208,15 @@ void GL_APIENTRY GL_GetProgramivRobustANGLE(GLuint program, {} } -void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetRenderbufferParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetRenderbufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetRenderbufferParameterivRobustANGLE, + "glGetRenderbufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1222,7 +1225,7 @@ void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameterivRobustANGLE( context, target, pname, bufSize, length, params)); @@ -1239,14 +1242,11 @@ void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetShaderivRobustANGLE(GLuint shader, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY +GetShaderivRobustANGLE(GLuint shader, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetShaderivRobustANGLE, + EVENT(context, gl::EntryPoint::GetShaderivRobustANGLE, "glGetShaderivRobustANGLE", "context = %d, shader = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), shader, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1254,8 +1254,8 @@ void GL_APIENTRY GL_GetShaderivRobustANGLE(GLuint shader, if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderivRobustANGLE(context, shaderPacked, pname, bufSize, length, params)); @@ -1270,14 +1270,14 @@ void GL_APIENTRY GL_GetShaderivRobustANGLE(GLuint shader, {} } -void GL_APIENTRY GL_GetTexParameterfvRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetTexParameterfvRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterfvRobustANGLE, "glGetTexParameterfvRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1286,8 +1286,8 @@ void GL_APIENTRY GL_GetTexParameterfvRobustANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterfvRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -1304,14 +1304,14 @@ void GL_APIENTRY GL_GetTexParameterfvRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetTexParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterivRobustANGLE, "glGetTexParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1320,8 +1320,8 @@ void GL_APIENTRY GL_GetTexParameterivRobustANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -1338,23 +1338,23 @@ void GL_APIENTRY GL_GetTexParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetUniformfvRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetUniformfvRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformfvRobustANGLE, "glGetUniformfvRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformfvRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -1371,23 +1371,23 @@ void GL_APIENTRY GL_GetUniformfvRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetUniformivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetUniformivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformivRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformivRobustANGLE, "glGetUniformivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -1404,14 +1404,14 @@ void GL_APIENTRY GL_GetUniformivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetVertexAttribfvRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetVertexAttribfvRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribfvRobustANGLE, "glGetVertexAttribfvRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1419,7 +1419,7 @@ void GL_APIENTRY GL_GetVertexAttribfvRobustANGLE(GLuint index, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribfvRobustANGLE(context, index, pname, bufSize, length, params)); @@ -1436,14 +1436,14 @@ void GL_APIENTRY GL_GetVertexAttribfvRobustANGLE(GLuint index, } } -void GL_APIENTRY GL_GetVertexAttribivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetVertexAttribivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribivRobustANGLE, "glGetVertexAttribivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1451,7 +1451,7 @@ void GL_APIENTRY GL_GetVertexAttribivRobustANGLE(GLuint index, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribivRobustANGLE(context, index, pname, bufSize, length, params)); @@ -1468,14 +1468,15 @@ void GL_APIENTRY GL_GetVertexAttribivRobustANGLE(GLuint index, } } -void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **pointer) +void GL_APIENTRY GetVertexAttribPointervRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribPointervRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribPointervRobustANGLE, + "glGetVertexAttribPointervRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", pointer = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1483,7 +1484,7 @@ void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLE(GLuint index, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribPointervRobustANGLE( context, index, pname, bufSize, length, pointer)); @@ -1500,20 +1501,20 @@ void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLE(GLuint index, } } -void GL_APIENTRY GL_ReadPixelsRobustANGLE(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *pixels) +void GL_APIENTRY ReadPixelsRobustANGLE(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadPixelsRobustANGLE, + EVENT(context, gl::EntryPoint::ReadPixelsRobustANGLE, "glReadPixelsRobustANGLE", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, length = 0x%016" PRIxPTR ", columns = 0x%016" PRIxPTR ", rows = 0x%016" PRIxPTR ", pixels = 0x%016" PRIxPTR "", @@ -1523,7 +1524,7 @@ void GL_APIENTRY GL_ReadPixelsRobustANGLE(GLint x, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, @@ -1542,19 +1543,19 @@ void GL_APIENTRY GL_ReadPixelsRobustANGLE(GLint x, } } -void GL_APIENTRY GL_TexImage2DRobustANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexImage2DRobustANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::TexImage2DRobustANGLE, "glTexImage2DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, internalformat, @@ -1563,8 +1564,8 @@ void GL_APIENTRY GL_TexImage2DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2DRobustANGLE(context, targetPacked, level, internalformat, width, @@ -1583,21 +1584,21 @@ void GL_APIENTRY GL_TexImage2DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexParameterfvRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLfloat *params) +void GL_APIENTRY TexParameterfvRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterfvRobustANGLE, "glTexParameterfvRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterfvRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -1614,21 +1615,21 @@ void GL_APIENTRY GL_TexParameterfvRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params) +void GL_APIENTRY TexParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterivRobustANGLE, "glTexParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -1645,19 +1646,19 @@ void GL_APIENTRY GL_TexParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexSubImage2DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexSubImage2DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexSubImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::TexSubImage2DRobustANGLE, "glTexSubImage2DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -1666,8 +1667,8 @@ void GL_APIENTRY GL_TexSubImage2DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage2DRobustANGLE(context, targetPacked, level, xoffset, yoffset, width, @@ -1686,20 +1687,20 @@ void GL_APIENTRY GL_TexSubImage2DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexImage3DRobustANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexImage3DRobustANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::TexImage3DRobustANGLE, "glTexImage3DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", @@ -1709,8 +1710,8 @@ void GL_APIENTRY GL_TexImage3DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3DRobustANGLE(context, targetPacked, level, internalformat, width, @@ -1729,22 +1730,22 @@ void GL_APIENTRY GL_TexImage3DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexSubImage3DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexSubImage3DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = GetValidGlobalContext(); EVENT( - context, GLTexSubImage3DRobustANGLE, + context, gl::EntryPoint::TexSubImage3DRobustANGLE, "glTexSubImage3DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width = " "%d, height = %d, depth = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", @@ -1754,8 +1755,8 @@ void GL_APIENTRY GL_TexSubImage3DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3DRobustANGLE(context, targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, @@ -1774,18 +1775,19 @@ void GL_APIENTRY GL_TexSubImage3DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_CompressedTexImage2DRobustANGLE(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexImage2DRobustANGLE(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexImage2DRobustANGLE, + "glCompressedTexImage2DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "border = %d, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -1794,8 +1796,8 @@ void GL_APIENTRY GL_CompressedTexImage2DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage2DRobustANGLE( context, targetPacked, level, internalformat, width, @@ -1814,19 +1816,20 @@ void GL_APIENTRY GL_CompressedTexImage2DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLE(GLenum target, - GLint level, - GLsizei xoffset, - GLsizei yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexSubImage2DRobustANGLE(GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexSubImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexSubImage2DRobustANGLE, + "glCompressedTexSubImage2DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -1835,8 +1838,8 @@ void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage2DRobustANGLE( context, targetPacked, level, xoffset, yoffset, width, @@ -1855,19 +1858,20 @@ void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_CompressedTexImage3DRobustANGLE(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexImage3DRobustANGLE(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexImage3DRobustANGLE, + "glCompressedTexImage3DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -1876,8 +1880,8 @@ void GL_APIENTRY GL_CompressedTexImage3DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3DRobustANGLE( context, targetPacked, level, internalformat, width, @@ -1896,21 +1900,22 @@ void GL_APIENTRY GL_CompressedTexImage3DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexSubImage3DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexSubImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3DRobustANGLE, + "glCompressedTexSubImage3DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, dataSize = %d, data = " "0x%016" PRIxPTR "", @@ -1920,8 +1925,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3DRobustANGLE( context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -1942,14 +1947,11 @@ void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetQueryivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY +GetQueryivRobustANGLE(GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryivRobustANGLE, "glGetQueryivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -1958,8 +1960,8 @@ void GL_APIENTRY GL_GetQueryivRobustANGLE(GLenum target, if (context) { - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -1976,14 +1978,14 @@ void GL_APIENTRY GL_GetQueryivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetQueryObjectuivRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetQueryObjectuivRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryObjectuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectuivRobustANGLE, "glGetQueryObjectuivRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -1991,8 +1993,8 @@ void GL_APIENTRY GL_GetQueryObjectuivRobustANGLE(GLuint id, if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuivRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -2009,14 +2011,14 @@ void GL_APIENTRY GL_GetQueryObjectuivRobustANGLE(GLuint id, } } -void GL_APIENTRY GL_GetBufferPointervRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params) +void GL_APIENTRY GetBufferPointervRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferPointervRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferPointervRobustANGLE, "glGetBufferPointervRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2025,8 +2027,8 @@ void GL_APIENTRY GL_GetBufferPointervRobustANGLE(GLenum target, if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointervRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -2043,14 +2045,11 @@ void GL_APIENTRY GL_GetBufferPointervRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetIntegeri_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *data) +void GL_APIENTRY +GetIntegeri_vRobustANGLE(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetIntegeri_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetIntegeri_vRobustANGLE, "glGetIntegeri_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -2058,7 +2057,7 @@ void GL_APIENTRY GL_GetIntegeri_vRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegeri_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -2075,15 +2074,16 @@ void GL_APIENTRY GL_GetIntegeri_vRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetInternalformativRobustANGLE(GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetInternalformativRobustANGLE(GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInternalformativRobustANGLE, + EVENT(context, gl::EntryPoint::GetInternalformativRobustANGLE, + "glGetInternalformativRobustANGLE", "context = %d, target = %s, internalformat = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2093,7 +2093,7 @@ void GL_APIENTRY GL_GetInternalformativRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInternalformativRobustANGLE(context, target, internalformat, pname, bufSize, length, params)); @@ -2111,14 +2111,14 @@ void GL_APIENTRY GL_GetInternalformativRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetVertexAttribIivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetVertexAttribIivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribIivRobustANGLE, "glGetVertexAttribIivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2126,7 +2126,7 @@ void GL_APIENTRY GL_GetVertexAttribIivRobustANGLE(GLuint index, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIivRobustANGLE(context, index, pname, bufSize, length, params)); @@ -2143,14 +2143,15 @@ void GL_APIENTRY GL_GetVertexAttribIivRobustANGLE(GLuint index, } } -void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetVertexAttribIuivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetVertexAttribIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribIuivRobustANGLE, + "glGetVertexAttribIuivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2158,7 +2159,7 @@ void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLE(GLuint index, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIuivRobustANGLE( context, index, pname, bufSize, length, params)); @@ -2175,23 +2176,23 @@ void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLE(GLuint index, } } -void GL_APIENTRY GL_GetUniformuivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetUniformuivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUniformuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformuivRobustANGLE, "glGetUniformuivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformuivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -2208,15 +2209,16 @@ void GL_APIENTRY GL_GetUniformuivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLE(GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetActiveUniformBlockivRobustANGLE(GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetActiveUniformBlockivRobustANGLE, + EVENT(context, gl::EntryPoint::GetActiveUniformBlockivRobustANGLE, + "glGetActiveUniformBlockivRobustANGLE", "context = %d, program = %u, uniformBlockIndex = %u, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, @@ -2225,20 +2227,19 @@ void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLE(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockivRobustANGLE( - context, programPacked, uniformBlockIndexPacked, pname, bufSize, length, params)); + ValidateGetActiveUniformBlockivRobustANGLE(context, programPacked, uniformBlockIndex, + pname, bufSize, length, params)); if (isCallValid) { - context->getActiveUniformBlockivRobust(programPacked, uniformBlockIndexPacked, pname, - bufSize, length, params); + context->getActiveUniformBlockivRobust(programPacked, uniformBlockIndex, pname, bufSize, + length, params); } ANGLE_CAPTURE(GetActiveUniformBlockivRobustANGLE, isCallValid, context, programPacked, - uniformBlockIndexPacked, pname, bufSize, length, params); + uniformBlockIndex, pname, bufSize, length, params); } else { @@ -2246,13 +2247,13 @@ void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetInteger64vRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *data) +void GL_APIENTRY GetInteger64vRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInteger64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetInteger64vRobustANGLE, "glGetInteger64vRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2260,7 +2261,7 @@ void GL_APIENTRY GL_GetInteger64vRobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64vRobustANGLE(context, pname, bufSize, length, data)); @@ -2276,14 +2277,14 @@ void GL_APIENTRY GL_GetInteger64vRobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_GetInteger64i_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint64 *data) +void GL_APIENTRY GetInteger64i_vRobustANGLE(GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInteger64i_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetInteger64i_vRobustANGLE, "glGetInteger64i_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -2291,7 +2292,7 @@ void GL_APIENTRY GL_GetInteger64i_vRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64i_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -2308,14 +2309,15 @@ void GL_APIENTRY GL_GetInteger64i_vRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params) +void GL_APIENTRY GetBufferParameteri64vRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferParameteri64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferParameteri64vRobustANGLE, + "glGetBufferParameteri64vRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2324,8 +2326,8 @@ void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLE(GLenum target, if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteri64vRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -2342,20 +2344,20 @@ void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_SamplerParameterivRobustANGLE(GLuint sampler, - GLuint pname, - GLsizei bufSize, - const GLint *param) +void GL_APIENTRY SamplerParameterivRobustANGLE(GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterivRobustANGLE, "glSamplerParameterivRobustANGLE", "context = %d, sampler = %u, pname = %u, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, pname, bufSize, (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterivRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -2372,21 +2374,21 @@ void GL_APIENTRY GL_SamplerParameterivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_SamplerParameterfvRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLfloat *param) +void GL_APIENTRY SamplerParameterfvRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterfvRobustANGLE, "glSamplerParameterfvRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterfvRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -2403,14 +2405,15 @@ void GL_APIENTRY GL_SamplerParameterfvRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetSamplerParameterivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetSamplerParameterivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterivRobustANGLE, + "glGetSamplerParameterivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2418,8 +2421,8 @@ void GL_APIENTRY GL_GetSamplerParameterivRobustANGLE(GLuint sampler, if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterivRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -2436,14 +2439,15 @@ void GL_APIENTRY GL_GetSamplerParameterivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetSamplerParameterfvRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterfvRobustANGLE, + "glGetSamplerParameterfvRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2451,8 +2455,8 @@ void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLE(GLuint sampler, if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterfvRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -2469,14 +2473,15 @@ void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetFramebufferParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFramebufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetFramebufferParameterivRobustANGLE, + "glGetFramebufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2485,7 +2490,7 @@ void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferParameterivRobustANGLE( context, target, pname, bufSize, length, params)); @@ -2502,15 +2507,16 @@ void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLE(GLuint program, - GLenum programInterface, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramInterfaceivRobustANGLE(GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramInterfaceivRobustANGLE, + EVENT(context, gl::EntryPoint::GetProgramInterfaceivRobustANGLE, + "glGetProgramInterfaceivRobustANGLE", "context = %d, program = %u, programInterface = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, programInterface), @@ -2519,8 +2525,8 @@ void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLE(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInterfaceivRobustANGLE(context, programPacked, programInterface, @@ -2539,14 +2545,14 @@ void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetBooleani_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLboolean *data) +void GL_APIENTRY GetBooleani_vRobustANGLE(GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBooleani_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetBooleani_vRobustANGLE, "glGetBooleani_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -2554,7 +2560,7 @@ void GL_APIENTRY GL_GetBooleani_vRobustANGLE(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleani_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -2571,14 +2577,14 @@ void GL_APIENTRY GL_GetBooleani_vRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetMultisamplefvRobustANGLE(GLenum pname, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLfloat *val) +void GL_APIENTRY GetMultisamplefvRobustANGLE(GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMultisamplefvRobustANGLE, + EVENT(context, gl::EntryPoint::GetMultisamplefvRobustANGLE, "glGetMultisamplefvRobustANGLE", "context = %d, pname = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, bufSize, @@ -2586,7 +2592,7 @@ void GL_APIENTRY GL_GetMultisamplefvRobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefvRobustANGLE(context, pname, index, bufSize, length, val)); @@ -2603,15 +2609,16 @@ void GL_APIENTRY GL_GetMultisamplefvRobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLE(GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexLevelParameterivRobustANGLE(GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterivRobustANGLE, + "glGetTexLevelParameterivRobustANGLE", "context = %d, target = %s, level = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -2620,8 +2627,8 @@ void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterivRobustANGLE( context, targetPacked, level, pname, bufSize, length, params)); @@ -2639,15 +2646,16 @@ void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLE(GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfvRobustANGLE(GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexLevelParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfvRobustANGLE, + "glGetTexLevelParameterfvRobustANGLE", "context = %d, target = %s, level = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -2656,8 +2664,8 @@ void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfvRobustANGLE( context, targetPacked, level, pname, bufSize, length, params)); @@ -2675,13 +2683,14 @@ void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params) +void GL_APIENTRY GetPointervRobustANGLERobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetPointervRobustANGLERobustANGLE, + EVENT(context, gl::EntryPoint::GetPointervRobustANGLERobustANGLE, + "glGetPointervRobustANGLERobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -2689,7 +2698,7 @@ void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLE(GLenum pname, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointervRobustANGLERobustANGLE(context, pname, bufSize, length, params)); @@ -2706,20 +2715,20 @@ void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLE(GLenum pname, } } -void GL_APIENTRY GL_ReadnPixelsRobustANGLE(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *data) +void GL_APIENTRY ReadnPixelsRobustANGLE(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadnPixelsRobustANGLE, + EVENT(context, gl::EntryPoint::ReadnPixelsRobustANGLE, "glReadnPixelsRobustANGLE", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, length = 0x%016" PRIxPTR ", columns = 0x%016" PRIxPTR ", rows = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", @@ -2729,7 +2738,7 @@ void GL_APIENTRY GL_ReadnPixelsRobustANGLE(GLint x, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, @@ -2748,23 +2757,23 @@ void GL_APIENTRY GL_ReadnPixelsRobustANGLE(GLint x, } } -void GL_APIENTRY GL_GetnUniformfvRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetnUniformfvRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformfvRobustANGLE, "glGetnUniformfvRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfvRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -2781,23 +2790,23 @@ void GL_APIENTRY GL_GetnUniformfvRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetnUniformivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetnUniformivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformivRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformivRobustANGLE, "glGetnUniformivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -2814,23 +2823,23 @@ void GL_APIENTRY GL_GetnUniformivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_GetnUniformuivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetnUniformuivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformuivRobustANGLE, "glGetnUniformuivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformuivRobustANGLE( context, programPacked, locationPacked, bufSize, length, params)); @@ -2847,21 +2856,21 @@ void GL_APIENTRY GL_GetnUniformuivRobustANGLE(GLuint program, } } -void GL_APIENTRY GL_TexParameterIivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params) +void GL_APIENTRY TexParameterIivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterIivRobustANGLE, "glTexParameterIivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -2878,21 +2887,21 @@ void GL_APIENTRY GL_TexParameterIivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_TexParameterIuivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLuint *params) +void GL_APIENTRY TexParameterIuivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterIuivRobustANGLE, "glTexParameterIuivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -2909,14 +2918,14 @@ void GL_APIENTRY GL_TexParameterIuivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetTexParameterIivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexParameterIivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterIivRobustANGLE, "glGetTexParameterIivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2925,8 +2934,8 @@ void GL_APIENTRY GL_GetTexParameterIivRobustANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -2943,14 +2952,15 @@ void GL_APIENTRY GL_GetTexParameterIivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_GetTexParameterIuivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetTexParameterIuivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterIuivRobustANGLE, + "glGetTexParameterIuivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -2959,8 +2969,8 @@ void GL_APIENTRY GL_GetTexParameterIuivRobustANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -2977,21 +2987,22 @@ void GL_APIENTRY GL_GetTexParameterIuivRobustANGLE(GLenum target, } } -void GL_APIENTRY GL_SamplerParameterIivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLint *param) +void GL_APIENTRY SamplerParameterIivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterIivRobustANGLE, + "glSamplerParameterIivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIivRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -3008,21 +3019,22 @@ void GL_APIENTRY GL_SamplerParameterIivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_SamplerParameterIuivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLuint *param) +void GL_APIENTRY SamplerParameterIuivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterIuivRobustANGLE, + "glSamplerParameterIuivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuivRobustANGLE( context, samplerPacked, pname, bufSize, param)); @@ -3039,14 +3051,15 @@ void GL_APIENTRY GL_SamplerParameterIuivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetSamplerParameterIivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterIivRobustANGLE, + "glGetSamplerParameterIivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -3054,8 +3067,8 @@ void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLE(GLuint sampler, if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIivRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -3072,14 +3085,15 @@ void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetSamplerParameterIuivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuivRobustANGLE, + "glGetSamplerParameterIuivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -3087,8 +3101,8 @@ void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLE(GLuint sampler, if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuivRobustANGLE( context, samplerPacked, pname, bufSize, length, params)); @@ -3105,14 +3119,14 @@ void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLE(GLuint sampler, } } -void GL_APIENTRY GL_GetQueryObjectivRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetQueryObjectivRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetQueryObjectivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectivRobustANGLE, "glGetQueryObjectivRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -3120,8 +3134,8 @@ void GL_APIENTRY GL_GetQueryObjectivRobustANGLE(GLuint id, if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectivRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -3136,14 +3150,14 @@ void GL_APIENTRY GL_GetQueryObjectivRobustANGLE(GLuint id, {} } -void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params) +void GL_APIENTRY GetQueryObjecti64vRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetQueryObjecti64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjecti64vRobustANGLE, "glGetQueryObjecti64vRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -3151,8 +3165,8 @@ void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLE(GLuint id, if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjecti64vRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -3167,14 +3181,15 @@ void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLE(GLuint id, {} } -void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint64 *params) +void GL_APIENTRY GetQueryObjectui64vRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryObjectui64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectui64vRobustANGLE, + "glGetQueryObjectui64vRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -3182,8 +3197,8 @@ void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLE(GLuint id, if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectui64vRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -3201,20 +3216,21 @@ void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLE(GLuint id, } // GL_ANGLE_semaphore_fuchsia -void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLE(GLuint semaphore, - GLenum handleType, - GLuint handle) +void GL_APIENTRY ImportSemaphoreZirconHandleANGLE(GLuint semaphore, + GLenum handleType, + GLuint handle) { Context *context = GetValidGlobalContext(); - EVENT(context, GLImportSemaphoreZirconHandleANGLE, + EVENT(context, gl::EntryPoint::ImportSemaphoreZirconHandleANGLE, + "glImportSemaphoreZirconHandleANGLE", "context = %d, semaphore = %u, handleType = %s, handle = %u", CID(context), semaphore, GLenumToString(GLenumGroup::ExternalHandleType, handleType), handle); if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportSemaphoreZirconHandleANGLE( context, semaphorePacked, handleTypePacked, handle)); @@ -3232,17 +3248,17 @@ void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLE(GLuint semaphore, } // GL_ANGLE_texture_external_update -void GL_APIENTRY GL_TexImage2DExternalANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type) +void GL_APIENTRY TexImage2DExternalANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage2DExternalANGLE, + EVENT(context, gl::EntryPoint::TexImage2DExternalANGLE, "glTexImage2DExternalANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -3251,8 +3267,8 @@ void GL_APIENTRY GL_TexImage2DExternalANGLE(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2DExternalANGLE(context, targetPacked, level, internalformat, width, @@ -3271,16 +3287,17 @@ void GL_APIENTRY GL_TexImage2DExternalANGLE(GLenum target, } } -void GL_APIENTRY GL_InvalidateTextureANGLE(GLenum target) +void GL_APIENTRY InvalidateTextureANGLE(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLInvalidateTextureANGLE, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::InvalidateTextureANGLE, "glInvalidateTextureANGLE", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateTextureANGLE(context, targetPacked)); if (isCallValid) @@ -3296,15 +3313,15 @@ void GL_APIENTRY GL_InvalidateTextureANGLE(GLenum target) } // GL_ANGLE_texture_multisample -void GL_APIENTRY GL_TexStorage2DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage2DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage2DMultisampleANGLE, + EVENT(context, gl::EntryPoint::TexStorage2DMultisampleANGLE, "glTexStorage2DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), samples, @@ -3313,8 +3330,8 @@ void GL_APIENTRY GL_TexStorage2DMultisampleANGLE(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DMultisampleANGLE(context, targetPacked, samples, internalformat, @@ -3333,16 +3350,16 @@ void GL_APIENTRY GL_TexStorage2DMultisampleANGLE(GLenum target, } } -void GL_APIENTRY GL_GetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val) +void GL_APIENTRY GetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMultisamplefvANGLE, + EVENT(context, gl::EntryPoint::GetMultisamplefvANGLE, "glGetMultisamplefvANGLE", "context = %d, pname = %s, index = %u, val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, (uintptr_t)val); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefvANGLE(context, pname, index, val)); if (isCallValid) @@ -3357,15 +3374,16 @@ void GL_APIENTRY GL_GetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *v } } -void GL_APIENTRY GL_SampleMaskiANGLE(GLuint maskNumber, GLbitfield mask) +void GL_APIENTRY SampleMaskiANGLE(GLuint maskNumber, GLbitfield mask) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSampleMaskiANGLE, "context = %d, maskNumber = %u, mask = %s", CID(context), - maskNumber, GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); + EVENT(context, gl::EntryPoint::SampleMaskiANGLE, "glSampleMaskiANGLE", + "context = %d, maskNumber = %u, mask = %s", CID(context), maskNumber, + GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleMaskiANGLE(context, maskNumber, mask)); if (isCallValid) @@ -3385,21 +3403,22 @@ void GL_APIENTRY GL_SampleMaskiANGLE(GLuint maskNumber, GLbitfield mask) // GetTexLevelParameterivANGLE is already defined. // GL_ANGLE_translated_shader_source -void GL_APIENTRY GL_GetTranslatedShaderSourceANGLE(GLuint shader, - GLsizei bufsize, - GLsizei *length, - GLchar *source) +void GL_APIENTRY GetTranslatedShaderSourceANGLE(GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTranslatedShaderSourceANGLE, + EVENT(context, gl::EntryPoint::GetTranslatedShaderSourceANGLE, + "glGetTranslatedShaderSourceANGLE", "context = %d, shader = %u, bufsize = %d, length = 0x%016" PRIxPTR ", source = 0x%016" PRIxPTR "", CID(context), shader, bufsize, (uintptr_t)length, (uintptr_t)source); if (context) { - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTranslatedShaderSourceANGLE( context, shaderPacked, bufsize, length, source)); @@ -3417,18 +3436,18 @@ void GL_APIENTRY GL_GetTranslatedShaderSourceANGLE(GLuint shader, } // GL_CHROMIUM_bind_uniform_location -void GL_APIENTRY GL_BindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name) +void GL_APIENTRY BindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindUniformLocationCHROMIUM, + EVENT(context, gl::EntryPoint::BindUniformLocationCHROMIUM, "glBindUniformLocationCHROMIUM", "context = %d, program = %u, location = %d, name = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)name); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindUniformLocationCHROMIUM(context, programPacked, locationPacked, name)); @@ -3446,17 +3465,17 @@ void GL_APIENTRY GL_BindUniformLocationCHROMIUM(GLuint program, GLint location, } // GL_CHROMIUM_copy_compressed_texture -void GL_APIENTRY GL_CompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId) +void GL_APIENTRY CompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedCopyTextureCHROMIUM, "context = %d, sourceId = %u, destId = %u", - CID(context), sourceId, destId); + EVENT(context, gl::EntryPoint::CompressedCopyTextureCHROMIUM, "glCompressedCopyTextureCHROMIUM", + "context = %d, sourceId = %u, destId = %u", CID(context), sourceId, destId); if (context) { - TextureID sourceIdPacked = PackParam(sourceId); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedCopyTextureCHROMIUM(context, sourceIdPacked, destIdPacked)); @@ -3474,19 +3493,19 @@ void GL_APIENTRY GL_CompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId } // GL_CHROMIUM_copy_texture -void GL_APIENTRY GL_CopyTextureCHROMIUM(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint internalFormat, - GLenum destType, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopyTextureCHROMIUM(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTextureCHROMIUM, + EVENT(context, gl::EntryPoint::CopyTextureCHROMIUM, "glCopyTextureCHROMIUM", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, internalFormat = %d, destType = %s, unpackFlipY = %s, unpackPremultiplyAlpha = " "%s, unpackUnmultiplyAlpha = %s", @@ -3497,10 +3516,10 @@ void GL_APIENTRY GL_CopyTextureCHROMIUM(GLuint sourceId, if (context) { - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTextureCHROMIUM( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -3522,23 +3541,23 @@ void GL_APIENTRY GL_CopyTextureCHROMIUM(GLuint sourceId, } } -void GL_APIENTRY GL_CopySubTextureCHROMIUM(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLint width, - GLint height, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopySubTextureCHROMIUM(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopySubTextureCHROMIUM, + EVENT(context, gl::EntryPoint::CopySubTextureCHROMIUM, "glCopySubTextureCHROMIUM", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, xoffset = %d, yoffset = %d, x = %d, y = %d, width = %d, height = %d, unpackFlipY " "= %s, unpackPremultiplyAlpha = %s, unpackUnmultiplyAlpha = %s", @@ -3549,10 +3568,10 @@ void GL_APIENTRY GL_CopySubTextureCHROMIUM(GLuint sourceId, if (context) { - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopySubTextureCHROMIUM( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -3575,15 +3594,16 @@ void GL_APIENTRY GL_CopySubTextureCHROMIUM(GLuint sourceId, } // GL_CHROMIUM_framebuffer_mixed_samples -void GL_APIENTRY GL_CoverageModulationCHROMIUM(GLenum components) +void GL_APIENTRY CoverageModulationCHROMIUM(GLenum components) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCoverageModulationCHROMIUM, "context = %d, components = %s", CID(context), + EVENT(context, gl::EntryPoint::CoverageModulationCHROMIUM, "glCoverageModulationCHROMIUM", + "context = %d, components = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, components)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCoverageModulationCHROMIUM(context, components)); if (isCallValid) @@ -3599,18 +3619,19 @@ void GL_APIENTRY GL_CoverageModulationCHROMIUM(GLenum components) } // GL_CHROMIUM_lose_context -void GL_APIENTRY GL_LoseContextCHROMIUM(GLenum current, GLenum other) +void GL_APIENTRY LoseContextCHROMIUM(GLenum current, GLenum other) { Context *context = GetValidGlobalContext(); - EVENT(context, GLLoseContextCHROMIUM, "context = %d, current = %s, other = %s", CID(context), + EVENT(context, gl::EntryPoint::LoseContextCHROMIUM, "glLoseContextCHROMIUM", + "context = %d, current = %s, other = %s", CID(context), GLenumToString(GLenumGroup::GraphicsResetStatus, current), GLenumToString(GLenumGroup::GraphicsResetStatus, other)); if (context) { - GraphicsResetStatus currentPacked = PackParam(current); - GraphicsResetStatus otherPacked = PackParam(other); - std::unique_lock shareContextLock = GetContextLock(context); + GraphicsResetStatus currentPacked = FromGL(current); + GraphicsResetStatus otherPacked = FromGL(other); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoseContextCHROMIUM(context, currentPacked, otherPacked)); if (isCallValid) @@ -3627,20 +3648,18 @@ void GL_APIENTRY GL_LoseContextCHROMIUM(GLenum current, GLenum other) // GL_EXT_EGL_image_array -// GL_EXT_YUV_target - // GL_EXT_blend_func_extended -void GL_APIENTRY GL_BindFragDataLocationEXT(GLuint program, GLuint color, const GLchar *name) +void GL_APIENTRY BindFragDataLocationEXT(GLuint program, GLuint color, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindFragDataLocationEXT, + EVENT(context, gl::EntryPoint::BindFragDataLocationEXT, "glBindFragDataLocationEXT", "context = %d, program = %u, color = %u, name = 0x%016" PRIxPTR "", CID(context), program, color, (uintptr_t)name); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFragDataLocationEXT(context, programPacked, color, name)); if (isCallValid) @@ -3655,20 +3674,21 @@ void GL_APIENTRY GL_BindFragDataLocationEXT(GLuint program, GLuint color, const } } -void GL_APIENTRY GL_BindFragDataLocationIndexedEXT(GLuint program, - GLuint colorNumber, - GLuint index, - const GLchar *name) +void GL_APIENTRY BindFragDataLocationIndexedEXT(GLuint program, + GLuint colorNumber, + GLuint index, + const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindFragDataLocationIndexedEXT, + EVENT(context, gl::EntryPoint::BindFragDataLocationIndexedEXT, + "glBindFragDataLocationIndexedEXT", "context = %d, program = %u, colorNumber = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, colorNumber, index, (uintptr_t)name); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFragDataLocationIndexedEXT( context, programPacked, colorNumber, index, name)); @@ -3685,17 +3705,18 @@ void GL_APIENTRY GL_BindFragDataLocationIndexedEXT(GLuint program, } } -GLint GL_APIENTRY GL_GetFragDataIndexEXT(GLuint program, const GLchar *name) +GLint GL_APIENTRY GetFragDataIndexEXT(GLuint program, const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFragDataIndexEXT, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetFragDataIndexEXT, "glGetFragDataIndexEXT", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFragDataIndexEXT(context, programPacked, name)); if (isCallValid) @@ -3704,24 +3725,25 @@ GLint GL_APIENTRY GL_GetFragDataIndexEXT(GLuint program, const GLchar *name) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetFragDataIndexEXT, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXT(GLuint program, - GLenum programInterface, - const GLchar *name) +GLint GL_APIENTRY GetProgramResourceLocationIndexEXT(GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramResourceLocationIndexEXT, + EVENT(context, gl::EntryPoint::GetProgramResourceLocationIndexEXT, + "glGetProgramResourceLocationIndexEXT", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -3729,8 +3751,8 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXT(GLuint program, GLint returnValue; if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceLocationIndexEXT( context, programPacked, programInterface, name)); @@ -3742,8 +3764,7 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXT(GLuint program, else { returnValue = - GetDefaultReturnValue(); + GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceLocationIndexEXT, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -3752,19 +3773,19 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXT(GLuint program, { GenerateContextLostErrorOnCurrentGlobalContext(); returnValue = - GetDefaultReturnValue(); + GetDefaultReturnValue(); } return returnValue; } // GL_EXT_buffer_storage -void GL_APIENTRY GL_BufferStorageEXT(GLenum target, - GLsizeiptr size, - const void *data, - GLbitfield flags) +void GL_APIENTRY BufferStorageEXT(GLenum target, + GLsizeiptr size, + const void *data, + GLbitfield flags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBufferStorageEXT, + EVENT(context, gl::EntryPoint::BufferStorageEXT, "glBufferStorageEXT", "context = %d, target = %s, size = %llu, data = 0x%016" PRIxPTR ", flags = %s", CID(context), GLenumToString(GLenumGroup::BufferStorageTarget, target), static_cast(size), (uintptr_t)data, @@ -3772,8 +3793,8 @@ void GL_APIENTRY GL_BufferStorageEXT(GLenum target, if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageEXT(context, targetPacked, size, data, flags)); if (isCallValid) @@ -3788,50 +3809,25 @@ void GL_APIENTRY GL_BufferStorageEXT(GLenum target, } } -// GL_EXT_clip_control -void GL_APIENTRY GL_ClipControlEXT(GLenum origin, GLenum depth) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLClipControlEXT, "context = %d, origin = %s, depth = %s", CID(context), - GLenumToString(GLenumGroup::DefaultGroup, origin), - GLenumToString(GLenumGroup::DefaultGroup, depth)); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateClipControlEXT(context, origin, depth)); - if (isCallValid) - { - context->clipControl(origin, depth); - } - ANGLE_CAPTURE(ClipControlEXT, isCallValid, context, origin, depth); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_EXT_copy_image -void GL_APIENTRY GL_CopyImageSubDataEXT(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubDataEXT(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyImageSubDataEXT, + EVENT(context, gl::EntryPoint::CopyImageSubDataEXT, "glCopyImageSubDataEXT", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -3842,7 +3838,7 @@ void GL_APIENTRY GL_CopyImageSubDataEXT(GLuint srcName, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubDataEXT(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, @@ -3864,73 +3860,18 @@ void GL_APIENTRY GL_CopyImageSubDataEXT(GLuint srcName, } } -// GL_EXT_debug_label -void GL_APIENTRY -GL_GetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetObjectLabelEXT, - "context = %d, type = %s, object = %u, bufSize = %d, length = 0x%016" PRIxPTR - ", label = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), object, bufSize, - (uintptr_t)length, (uintptr_t)label); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetObjectLabelEXT(context, type, object, bufSize, length, label)); - if (isCallValid) - { - context->getObjectLabel(type, object, bufSize, length, label); - } - ANGLE_CAPTURE(GetObjectLabelEXT, isCallValid, context, type, object, bufSize, length, - label); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_LabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLLabelObjectEXT, - "context = %d, type = %s, object = %u, length = %d, label = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), object, length, - (uintptr_t)label); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateLabelObjectEXT(context, type, object, length, label)); - if (isCallValid) - { - context->labelObject(type, object, length, label); - } - ANGLE_CAPTURE(LabelObjectEXT, isCallValid, context, type, object, length, label); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_EXT_debug_marker -void GL_APIENTRY GL_InsertEventMarkerEXT(GLsizei length, const GLchar *marker) +void GL_APIENTRY InsertEventMarkerEXT(GLsizei length, const GLchar *marker) { Context *context = GetValidGlobalContext(); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLInsertEventMarkerEXT, "context = %d, length = %d, marker = 0x%016" PRIxPTR - // "", CID(context), length, (uintptr_t)marker); + // EVENT(context, gl::EntryPoint::InsertEventMarkerEXT, "glInsertEventMarkerEXT", "context = %d, + // length = %d, marker = 0x%016" PRIxPTR "", CID(context), length, (uintptr_t)marker); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInsertEventMarkerEXT(context, length, marker)); if (isCallValid) @@ -3945,16 +3886,17 @@ void GL_APIENTRY GL_InsertEventMarkerEXT(GLsizei length, const GLchar *marker) } } -void GL_APIENTRY GL_PopGroupMarkerEXT() +void GL_APIENTRY PopGroupMarkerEXT() { Context *context = GetValidGlobalContext(); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLPopGroupMarkerEXT, "context = %d", CID(context)); + // EVENT(context, gl::EntryPoint::PopGroupMarkerEXT, "glPopGroupMarkerEXT", "context = %d", + // CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopGroupMarkerEXT(context)); if (isCallValid) { @@ -3968,17 +3910,17 @@ void GL_APIENTRY GL_PopGroupMarkerEXT() } } -void GL_APIENTRY GL_PushGroupMarkerEXT(GLsizei length, const GLchar *marker) +void GL_APIENTRY PushGroupMarkerEXT(GLsizei length, const GLchar *marker) { Context *context = GetValidGlobalContext(); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLPushGroupMarkerEXT, "context = %d, length = %d, marker = 0x%016" PRIxPTR "", - // CID(context), length, (uintptr_t)marker); + // EVENT(context, gl::EntryPoint::PushGroupMarkerEXT, "glPushGroupMarkerEXT", "context = %d, + // length = %d, marker = 0x%016" PRIxPTR "", CID(context), length, (uintptr_t)marker); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushGroupMarkerEXT(context, length, marker)); if (isCallValid) @@ -3994,19 +3936,19 @@ void GL_APIENTRY GL_PushGroupMarkerEXT(GLsizei length, const GLchar *marker) } // GL_EXT_discard_framebuffer -void GL_APIENTRY GL_DiscardFramebufferEXT(GLenum target, - GLsizei numAttachments, - const GLenum *attachments) +void GL_APIENTRY DiscardFramebufferEXT(GLenum target, + GLsizei numAttachments, + const GLenum *attachments) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDiscardFramebufferEXT, + EVENT(context, gl::EntryPoint::DiscardFramebufferEXT, "glDiscardFramebufferEXT", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), numAttachments, + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), numAttachments, (uintptr_t)attachments); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDiscardFramebufferEXT(context, target, numAttachments, attachments)); @@ -4024,17 +3966,18 @@ void GL_APIENTRY GL_DiscardFramebufferEXT(GLenum target, } // GL_EXT_disjoint_timer_query -void GL_APIENTRY GL_BeginQueryEXT(GLenum target, GLuint id) +void GL_APIENTRY BeginQueryEXT(GLenum target, GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBeginQueryEXT, "context = %d, target = %s, id = %u", CID(context), + EVENT(context, gl::EntryPoint::BeginQueryEXT, "glBeginQueryEXT", + "context = %d, target = %s, id = %u", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), id); if (context) { - QueryType targetPacked = PackParam(target); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginQueryEXT(context, targetPacked, idPacked)); if (isCallValid) @@ -4049,16 +3992,16 @@ void GL_APIENTRY GL_BeginQueryEXT(GLenum target, GLuint id) } } -void GL_APIENTRY GL_DeleteQueriesEXT(GLsizei n, const GLuint *ids) +void GL_APIENTRY DeleteQueriesEXT(GLsizei n, const GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteQueriesEXT, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::DeleteQueriesEXT, "glDeleteQueriesEXT", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - const QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteQueriesEXT(context, n, idsPacked)); if (isCallValid) @@ -4073,16 +4016,16 @@ void GL_APIENTRY GL_DeleteQueriesEXT(GLsizei n, const GLuint *ids) } } -void GL_APIENTRY GL_EndQueryEXT(GLenum target) +void GL_APIENTRY EndQueryEXT(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEndQueryEXT, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target)); + EVENT(context, gl::EntryPoint::EndQueryEXT, "glEndQueryEXT", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target)); if (context) { - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndQueryEXT(context, targetPacked)); if (isCallValid) @@ -4097,16 +4040,16 @@ void GL_APIENTRY GL_EndQueryEXT(GLenum target) } } -void GL_APIENTRY GL_GenQueriesEXT(GLsizei n, GLuint *ids) +void GL_APIENTRY GenQueriesEXT(GLsizei n, GLuint *ids) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenQueriesEXT, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::GenQueriesEXT, "glGenQueriesEXT", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context) { - QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenQueriesEXT(context, n, idsPacked)); if (isCallValid) @@ -4121,15 +4064,16 @@ void GL_APIENTRY GL_GenQueriesEXT(GLsizei n, GLuint *ids) } } -void GL_APIENTRY GL_GetInteger64vEXT(GLenum pname, GLint64 *data) +void GL_APIENTRY GetInteger64vEXT(GLenum pname, GLint64 *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetInteger64vEXT, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetInteger64vEXT, "glGetInteger64vEXT", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64vEXT(context, pname, data)); if (isCallValid) @@ -4144,17 +4088,17 @@ void GL_APIENTRY GL_GetInteger64vEXT(GLenum pname, GLint64 *data) } } -void GL_APIENTRY GL_GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params) +void GL_APIENTRY GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetQueryObjecti64vEXT, + EVENT(context, gl::EntryPoint::GetQueryObjecti64vEXT, "glGetQueryObjecti64vEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjecti64vEXT(context, idPacked, pname, params)); if (isCallValid) @@ -4167,17 +4111,17 @@ void GL_APIENTRY GL_GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *para {} } -void GL_APIENTRY GL_GetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) +void GL_APIENTRY GetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) { Context *context = GetGlobalContext(); - EVENT(context, GLGetQueryObjectivEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectivEXT, "glGetQueryObjectivEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectivEXT(context, idPacked, pname, params)); if (isCallValid) @@ -4190,17 +4134,17 @@ void GL_APIENTRY GL_GetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) {} } -void GL_APIENTRY GL_GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params) +void GL_APIENTRY GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryObjectui64vEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectui64vEXT, "glGetQueryObjectui64vEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectui64vEXT(context, idPacked, pname, params)); if (isCallValid) @@ -4215,17 +4159,17 @@ void GL_APIENTRY GL_GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *pa } } -void GL_APIENTRY GL_GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) +void GL_APIENTRY GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryObjectuivEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectuivEXT, "glGetQueryObjectuivEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuivEXT(context, idPacked, pname, params)); if (isCallValid) @@ -4240,18 +4184,18 @@ void GL_APIENTRY GL_GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params } } -void GL_APIENTRY GL_GetQueryivEXT(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetQueryivEXT(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetQueryivEXT, + EVENT(context, gl::EntryPoint::GetQueryivEXT, "glGetQueryivEXT", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), GLenumToString(GLenumGroup::QueryParameterName, pname), (uintptr_t)params); if (context) { - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryivEXT(context, targetPacked, pname, params)); if (isCallValid) @@ -4266,16 +4210,17 @@ void GL_APIENTRY GL_GetQueryivEXT(GLenum target, GLenum pname, GLint *params) } } -GLboolean GL_APIENTRY GL_IsQueryEXT(GLuint id) +GLboolean GL_APIENTRY IsQueryEXT(GLuint id) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsQueryEXT, "context = %d, id = %u", CID(context), id); + EVENT(context, gl::EntryPoint::IsQueryEXT, "glIsQueryEXT", "context = %d, id = %u", + CID(context), id); GLboolean returnValue; if (context) { - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsQueryEXT(context, idPacked)); if (isCallValid) { @@ -4283,29 +4228,30 @@ GLboolean GL_APIENTRY GL_IsQueryEXT(GLuint id) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsQueryEXT, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_QueryCounterEXT(GLuint id, GLenum target) +void GL_APIENTRY QueryCounterEXT(GLuint id, GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLQueryCounterEXT, "context = %d, id = %u, target = %s", CID(context), id, + EVENT(context, gl::EntryPoint::QueryCounterEXT, "glQueryCounterEXT", + "context = %d, id = %u, target = %s", CID(context), id, GLenumToString(GLenumGroup::QueryTarget, target)); if (context) { - QueryID idPacked = PackParam(id); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateQueryCounterEXT(context, idPacked, targetPacked)); if (isCallValid) @@ -4321,15 +4267,15 @@ void GL_APIENTRY GL_QueryCounterEXT(GLuint id, GLenum target) } // GL_EXT_draw_buffers -void GL_APIENTRY GL_DrawBuffersEXT(GLsizei n, const GLenum *bufs) +void GL_APIENTRY DrawBuffersEXT(GLsizei n, const GLenum *bufs) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawBuffersEXT, "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)bufs); + EVENT(context, gl::EntryPoint::DrawBuffersEXT, "glDrawBuffersEXT", + "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)bufs); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawBuffersEXT(context, n, bufs)); if (isCallValid) { @@ -4344,17 +4290,17 @@ void GL_APIENTRY GL_DrawBuffersEXT(GLsizei n, const GLenum *bufs) } // GL_EXT_draw_buffers_indexed -void GL_APIENTRY GL_BlendEquationSeparateiEXT(GLuint buf, GLenum modeRGB, GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateiEXT(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationSeparateiEXT, + EVENT(context, gl::EntryPoint::BlendEquationSeparateiEXT, "glBlendEquationSeparateiEXT", "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparateiEXT(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -4369,15 +4315,16 @@ void GL_APIENTRY GL_BlendEquationSeparateiEXT(GLuint buf, GLenum modeRGB, GLenum } } -void GL_APIENTRY GL_BlendEquationiEXT(GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationiEXT(GLuint buf, GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationiEXT, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationiEXT, "glBlendEquationiEXT", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationiEXT(context, buf, mode)); if (isCallValid) @@ -4393,10 +4340,10 @@ void GL_APIENTRY GL_BlendEquationiEXT(GLuint buf, GLenum mode) } void GL_APIENTRY -GL_BlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +BlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFuncSeparateiEXT, + EVENT(context, gl::EntryPoint::BlendFuncSeparateiEXT, "glBlendFuncSeparateiEXT", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -4405,7 +4352,7 @@ GL_BlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlp if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparateiEXT(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -4422,16 +4369,17 @@ GL_BlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlp } } -void GL_APIENTRY GL_BlendFunciEXT(GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunciEXT(GLuint buf, GLenum src, GLenum dst) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFunciEXT, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunciEXT, "glBlendFunciEXT", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunciEXT(context, buf, src, dst)); if (isCallValid) @@ -4446,16 +4394,16 @@ void GL_APIENTRY GL_BlendFunciEXT(GLuint buf, GLenum src, GLenum dst) } } -void GL_APIENTRY GL_ColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) +void GL_APIENTRY ColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColorMaskiEXT, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaskiEXT, "glColorMaskiEXT", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaskiEXT(context, index, r, g, b, a)); if (isCallValid) @@ -4470,15 +4418,16 @@ void GL_APIENTRY GL_ColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLbool } } -void GL_APIENTRY GL_DisableiEXT(GLenum target, GLuint index) +void GL_APIENTRY DisableiEXT(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisableiEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::DisableiEXT, "glDisableiEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableiEXT(context, target, index)); if (isCallValid) @@ -4493,15 +4442,16 @@ void GL_APIENTRY GL_DisableiEXT(GLenum target, GLuint index) } } -void GL_APIENTRY GL_EnableiEXT(GLenum target, GLuint index) +void GL_APIENTRY EnableiEXT(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnableiEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::EnableiEXT, "glEnableiEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableiEXT(context, target, index)); if (isCallValid) @@ -4516,16 +4466,17 @@ void GL_APIENTRY GL_EnableiEXT(GLenum target, GLuint index) } } -GLboolean GL_APIENTRY GL_IsEnablediEXT(GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnablediEXT(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsEnablediEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnablediEXT, "glIsEnablediEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnablediEXT(context, target, index)); if (isCallValid) @@ -4534,27 +4485,27 @@ GLboolean GL_APIENTRY GL_IsEnablediEXT(GLenum target, GLuint index) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnablediEXT, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_EXT_draw_elements_base_vertex -void GL_APIENTRY GL_DrawElementsBaseVertexEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertexEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertexEXT, "glDrawElementsBaseVertexEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -4562,9 +4513,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertexEXT(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertexEXT(context, modePacked, count, typePacked, indices, basevertex)); @@ -4581,15 +4532,16 @@ void GL_APIENTRY GL_DrawElementsBaseVertexEXT(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertexEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexEXT, + "glDrawElementsInstancedBaseVertexEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -4598,9 +4550,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXT(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexEXT( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -4618,16 +4570,17 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXT(GLenum mode, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXT(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertexEXT(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawRangeElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertexEXT, + "glDrawRangeElementsBaseVertexEXT", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -4635,9 +4588,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXT(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertexEXT( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -4655,15 +4608,16 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXT(GLenum mode, } } -void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXT(GLenum mode, - const GLsizei *count, - GLenum type, - const void *const *indices, - GLsizei primcount, - const GLint *basevertex) +void GL_APIENTRY MultiDrawElementsBaseVertexEXT(GLenum mode, + const GLsizei *count, + GLenum type, + const void *const *indices, + GLsizei primcount, + const GLint *basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMultiDrawElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::MultiDrawElementsBaseVertexEXT, + "glMultiDrawElementsBaseVertexEXT", "context = %d, mode = %s, count = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", primcount = %d, basevertex = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)count, @@ -4672,9 +4626,9 @@ void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXT(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsBaseVertexEXT( context, modePacked, count, typePacked, indices, primcount, basevertex)); @@ -4693,14 +4647,14 @@ void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXT(GLenum mode, } // GL_EXT_external_buffer -void GL_APIENTRY GL_BufferStorageExternalEXT(GLenum target, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags) +void GL_APIENTRY BufferStorageExternalEXT(GLenum target, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBufferStorageExternalEXT, + EVENT(context, gl::EntryPoint::BufferStorageExternalEXT, "glBufferStorageExternalEXT", "context = %d, target = %s, offset = %llu, size = %llu, clientBuffer = 0x%016" PRIxPTR ", flags = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -4710,8 +4664,8 @@ void GL_APIENTRY GL_BufferStorageExternalEXT(GLenum target, if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageExternalEXT(context, targetPacked, offset, size, clientBuffer, flags)); @@ -4728,14 +4682,14 @@ void GL_APIENTRY GL_BufferStorageExternalEXT(GLenum target, } } -void GL_APIENTRY GL_NamedBufferStorageExternalEXT(GLuint buffer, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags) +void GL_APIENTRY NamedBufferStorageExternalEXT(GLuint buffer, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags) { Context *context = GetValidGlobalContext(); - EVENT(context, GLNamedBufferStorageExternalEXT, + EVENT(context, gl::EntryPoint::NamedBufferStorageExternalEXT, "glNamedBufferStorageExternalEXT", "context = %d, buffer = %u, offset = %llu, size = %llu, clientBuffer = 0x%016" PRIxPTR ", flags = %s", CID(context), buffer, static_cast(offset), @@ -4744,7 +4698,7 @@ void GL_APIENTRY GL_NamedBufferStorageExternalEXT(GLuint buffer, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNamedBufferStorageExternalEXT( context, buffer, offset, size, clientBuffer, flags)); @@ -4762,21 +4716,21 @@ void GL_APIENTRY GL_NamedBufferStorageExternalEXT(GLuint buffer, } // GL_EXT_geometry_shader -void GL_APIENTRY GL_FramebufferTextureEXT(GLenum target, - GLenum attachment, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTextureEXT(GLenum target, + GLenum attachment, + GLuint texture, + GLint level) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTextureEXT, + EVENT(context, gl::EntryPoint::FramebufferTextureEXT, "glFramebufferTextureEXT", "context = %d, target = %s, attachment = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level); if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureEXT(context, target, attachment, texturePacked, level)); @@ -4794,20 +4748,17 @@ void GL_APIENTRY GL_FramebufferTextureEXT(GLenum target, } // GL_EXT_instanced_arrays -void GL_APIENTRY GL_DrawArraysInstancedEXT(GLenum mode, - GLint start, - GLsizei count, - GLsizei primcount) +void GL_APIENTRY DrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawArraysInstancedEXT, + EVENT(context, gl::EntryPoint::DrawArraysInstancedEXT, "glDrawArraysInstancedEXT", "context = %d, mode = %s, start = %d, count = %d, primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, count, primcount); if (context) { - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedEXT(context, modePacked, start, count, primcount)); @@ -4824,14 +4775,14 @@ void GL_APIENTRY GL_DrawArraysInstancedEXT(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount) +void GL_APIENTRY DrawElementsInstancedEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedEXT, + EVENT(context, gl::EntryPoint::DrawElementsInstancedEXT, "glDrawElementsInstancedEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -4839,9 +4790,9 @@ void GL_APIENTRY GL_DrawElementsInstancedEXT(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedEXT(context, modePacked, count, typePacked, indices, primcount)); @@ -4858,15 +4809,15 @@ void GL_APIENTRY GL_DrawElementsInstancedEXT(GLenum mode, } } -void GL_APIENTRY GL_VertexAttribDivisorEXT(GLuint index, GLuint divisor) +void GL_APIENTRY VertexAttribDivisorEXT(GLuint index, GLuint divisor) { Context *context = GetValidGlobalContext(); - EVENT(context, GLVertexAttribDivisorEXT, "context = %d, index = %u, divisor = %u", CID(context), - index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisorEXT, "glVertexAttribDivisorEXT", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisorEXT(context, index, divisor)); if (isCallValid) @@ -4882,18 +4833,18 @@ void GL_APIENTRY GL_VertexAttribDivisorEXT(GLuint index, GLuint divisor) } // GL_EXT_map_buffer_range -void GL_APIENTRY GL_FlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) +void GL_APIENTRY FlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFlushMappedBufferRangeEXT, + EVENT(context, gl::EntryPoint::FlushMappedBufferRangeEXT, "glFlushMappedBufferRangeEXT", "context = %d, target = %s, offset = %llu, length = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length)); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlushMappedBufferRangeEXT(context, targetPacked, offset, length)); @@ -4910,13 +4861,13 @@ void GL_APIENTRY GL_FlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GL } } -void *GL_APIENTRY GL_MapBufferRangeEXT(GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access) +void *GL_APIENTRY MapBufferRangeEXT(GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMapBufferRangeEXT, + EVENT(context, gl::EntryPoint::MapBufferRangeEXT, "glMapBufferRangeEXT", "context = %d, target = %s, offset = %llu, length = %llu, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length), @@ -4925,8 +4876,8 @@ void *GL_APIENTRY GL_MapBufferRangeEXT(GLenum target, void *returnValue; if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferRangeEXT(context, targetPacked, offset, length, access)); @@ -4936,7 +4887,7 @@ void *GL_APIENTRY GL_MapBufferRangeEXT(GLenum target, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferRangeEXT, isCallValid, context, targetPacked, offset, length, access, returnValue); @@ -4944,28 +4895,25 @@ void *GL_APIENTRY GL_MapBufferRangeEXT(GLenum target, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_EXT_memory_object -void GL_APIENTRY GL_BufferStorageMemEXT(GLenum target, - GLsizeiptr size, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY BufferStorageMemEXT(GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBufferStorageMemEXT, + EVENT(context, gl::EntryPoint::BufferStorageMemEXT, "glBufferStorageMemEXT", "context = %d, target = %s, size = %llu, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(size), memory, static_cast(offset)); if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageMemEXT(context, targetPacked, size, memoryPacked, offset)); @@ -4982,17 +4930,17 @@ void GL_APIENTRY GL_BufferStorageMemEXT(GLenum target, } } -void GL_APIENTRY GL_CreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects) +void GL_APIENTRY CreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCreateMemoryObjectsEXT, + EVENT(context, gl::EntryPoint::CreateMemoryObjectsEXT, "glCreateMemoryObjectsEXT", "context = %d, n = %d, memoryObjects = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)memoryObjects); if (context) { - MemoryObjectID *memoryObjectsPacked = PackParam(memoryObjects); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID *memoryObjectsPacked = FromGL(memoryObjects); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateMemoryObjectsEXT(context, n, memoryObjectsPacked)); if (isCallValid) @@ -5007,18 +4955,17 @@ void GL_APIENTRY GL_CreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects) } } -void GL_APIENTRY GL_DeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects) +void GL_APIENTRY DeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteMemoryObjectsEXT, + EVENT(context, gl::EntryPoint::DeleteMemoryObjectsEXT, "glDeleteMemoryObjectsEXT", "context = %d, n = %d, memoryObjects = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)memoryObjects); if (context) { - const MemoryObjectID *memoryObjectsPacked = - PackParam(memoryObjects); - std::unique_lock shareContextLock = GetContextLock(context); + const MemoryObjectID *memoryObjectsPacked = FromGL(memoryObjects); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteMemoryObjectsEXT(context, n, memoryObjectsPacked)); if (isCallValid) @@ -5033,18 +4980,18 @@ void GL_APIENTRY GL_DeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObject } } -void GL_APIENTRY GL_GetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, GLint *params) +void GL_APIENTRY GetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetMemoryObjectParameterivEXT, + EVENT(context, gl::EntryPoint::GetMemoryObjectParameterivEXT, "glGetMemoryObjectParameterivEXT", "context = %d, memoryObject = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), memoryObject, GLenumToString(GLenumGroup::MemoryObjectParameterName, pname), (uintptr_t)params); if (context) { - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMemoryObjectParameterivEXT(context, memoryObjectPacked, pname, params)); @@ -5061,15 +5008,16 @@ void GL_APIENTRY GL_GetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pn } } -void GL_APIENTRY GL_GetUnsignedBytevEXT(GLenum pname, GLubyte *data) +void GL_APIENTRY GetUnsignedBytevEXT(GLenum pname, GLubyte *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUnsignedBytevEXT, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetUnsignedBytevEXT, "glGetUnsignedBytevEXT", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUnsignedBytevEXT(context, pname, data)); if (isCallValid) @@ -5084,16 +5032,16 @@ void GL_APIENTRY GL_GetUnsignedBytevEXT(GLenum pname, GLubyte *data) } } -void GL_APIENTRY GL_GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data) +void GL_APIENTRY GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetUnsignedBytei_vEXT, + EVENT(context, gl::EntryPoint::GetUnsignedBytei_vEXT, "glGetUnsignedBytei_vEXT", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, (uintptr_t)data); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUnsignedBytei_vEXT(context, target, index, data)); if (isCallValid) @@ -5108,17 +5056,17 @@ void GL_APIENTRY GL_GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte * } } -GLboolean GL_APIENTRY GL_IsMemoryObjectEXT(GLuint memoryObject) +GLboolean GL_APIENTRY IsMemoryObjectEXT(GLuint memoryObject) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsMemoryObjectEXT, "context = %d, memoryObject = %u", CID(context), - memoryObject); + EVENT(context, gl::EntryPoint::IsMemoryObjectEXT, "glIsMemoryObjectEXT", + "context = %d, memoryObject = %u", CID(context), memoryObject); GLboolean returnValue; if (context) { - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsMemoryObjectEXT(context, memoryObjectPacked)); if (isCallValid) @@ -5127,33 +5075,30 @@ GLboolean GL_APIENTRY GL_IsMemoryObjectEXT(GLuint memoryObject) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsMemoryObjectEXT, isCallValid, context, memoryObjectPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_MemoryObjectParameterivEXT(GLuint memoryObject, - GLenum pname, - const GLint *params) +void GL_APIENTRY MemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMemoryObjectParameterivEXT, + EVENT(context, gl::EntryPoint::MemoryObjectParameterivEXT, "glMemoryObjectParameterivEXT", "context = %d, memoryObject = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), memoryObject, GLenumToString(GLenumGroup::MemoryObjectParameterName, pname), (uintptr_t)params); if (context) { - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryObjectParameterivEXT(context, memoryObjectPacked, pname, params)); @@ -5170,16 +5115,16 @@ void GL_APIENTRY GL_MemoryObjectParameterivEXT(GLuint memoryObject, } } -void GL_APIENTRY GL_TexStorageMem2DEXT(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem2DEXT(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMem2DEXT, + EVENT(context, gl::EntryPoint::TexStorageMem2DEXT, "glTexStorageMem2DEXT", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -5188,9 +5133,9 @@ void GL_APIENTRY GL_TexStorageMem2DEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem2DEXT(context, targetPacked, levels, internalFormat, width, @@ -5209,17 +5154,17 @@ void GL_APIENTRY GL_TexStorageMem2DEXT(GLenum target, } } -void GL_APIENTRY GL_TexStorageMem2DMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem2DMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMem2DMultisampleEXT, + EVENT(context, gl::EntryPoint::TexStorageMem2DMultisampleEXT, "glTexStorageMem2DMultisampleEXT", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "fixedSampleLocations = %s, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -5228,9 +5173,9 @@ void GL_APIENTRY GL_TexStorageMem2DMultisampleEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem2DMultisampleEXT( context, targetPacked, samples, internalFormat, width, @@ -5249,17 +5194,17 @@ void GL_APIENTRY GL_TexStorageMem2DMultisampleEXT(GLenum target, } } -void GL_APIENTRY GL_TexStorageMem3DEXT(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem3DEXT(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMem3DEXT, + EVENT(context, gl::EntryPoint::TexStorageMem3DEXT, "glTexStorageMem3DEXT", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -5268,9 +5213,9 @@ void GL_APIENTRY GL_TexStorageMem3DEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem3DEXT(context, targetPacked, levels, internalFormat, width, @@ -5289,18 +5234,18 @@ void GL_APIENTRY GL_TexStorageMem3DEXT(GLenum target, } } -void GL_APIENTRY GL_TexStorageMem3DMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem3DMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorageMem3DMultisampleEXT, + EVENT(context, gl::EntryPoint::TexStorageMem3DMultisampleEXT, "glTexStorageMem3DMultisampleEXT", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, fixedSampleLocations = %s, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -5309,9 +5254,9 @@ void GL_APIENTRY GL_TexStorageMem3DMultisampleEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem3DMultisampleEXT( context, targetPacked, samples, internalFormat, width, height, @@ -5333,19 +5278,19 @@ void GL_APIENTRY GL_TexStorageMem3DMultisampleEXT(GLenum target, } // GL_EXT_memory_object_fd -void GL_APIENTRY GL_ImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd) +void GL_APIENTRY ImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd) { Context *context = GetValidGlobalContext(); - EVENT(context, GLImportMemoryFdEXT, + EVENT(context, gl::EntryPoint::ImportMemoryFdEXT, "glImportMemoryFdEXT", "context = %d, memory = %u, size = %llu, handleType = %s, fd = %d", CID(context), memory, static_cast(size), GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); if (context) { - MemoryObjectID memoryPacked = PackParam(memory); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryPacked = FromGL(memory); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportMemoryFdEXT(context, memoryPacked, size, handleTypePacked, fd)); @@ -5363,15 +5308,16 @@ void GL_APIENTRY GL_ImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handl } // GL_EXT_multisampled_render_to_texture -void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXT(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLsizei samples) +void GL_APIENTRY FramebufferTexture2DMultisampleEXT(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLsizei samples) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTexture2DMultisampleEXT, + EVENT(context, gl::EntryPoint::FramebufferTexture2DMultisampleEXT, + "glFramebufferTexture2DMultisampleEXT", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d, " "samples = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -5380,9 +5326,9 @@ void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXT(GLenum target, if (context) { - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2DMultisampleEXT( @@ -5401,21 +5347,22 @@ void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXT(GLenum target, } } -void GL_APIENTRY GL_RenderbufferStorageMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRenderbufferStorageMultisampleEXT, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisampleEXT, + "glRenderbufferStorageMultisampleEXT", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisampleEXT( context, target, samples, internalformat, width, height)); @@ -5448,53 +5395,19 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleEXT(GLenum target, // IsQueryEXT is already defined. -// GL_EXT_primitive_bounding_box -void GL_APIENTRY GL_PrimitiveBoundingBoxEXT(GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLPrimitiveBoundingBoxEXT, - "context = %d, minX = %f, minY = %f, minZ = %f, minW = %f, maxX = %f, maxY = %f, maxZ = " - "%f, maxW = %f", - CID(context), minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidatePrimitiveBoundingBoxEXT(context, minX, minY, minZ, minW, maxX, - maxY, maxZ, maxW)); - if (isCallValid) - { - context->primitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - } - ANGLE_CAPTURE(PrimitiveBoundingBoxEXT, isCallValid, context, minX, minY, minZ, minW, maxX, - maxY, maxZ, maxW); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_EXT_read_format_bgra // GL_EXT_robustness -GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXT() +GLenum GL_APIENTRY GetGraphicsResetStatusEXT() { Context *context = GetGlobalContext(); - EVENT(context, GLGetGraphicsResetStatusEXT, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetGraphicsResetStatusEXT, "glGetGraphicsResetStatusEXT", + "context = %d", CID(context)); GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetGraphicsResetStatusEXT(context)); if (isCallValid) @@ -5503,35 +5416,30 @@ GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXT() } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetGraphicsResetStatusEXT, isCallValid, context, returnValue); } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetnUniformfvEXT(GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params) +void GL_APIENTRY GetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformfvEXT, + EVENT(context, gl::EntryPoint::GetnUniformfvEXT, "glGetnUniformfvEXT", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfvEXT(context, programPacked, locationPacked, bufSize, params)); @@ -5548,18 +5456,18 @@ void GL_APIENTRY GL_GetnUniformfvEXT(GLuint program, } } -void GL_APIENTRY GL_GetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) +void GL_APIENTRY GetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetnUniformivEXT, + EVENT(context, gl::EntryPoint::GetnUniformivEXT, "glGetnUniformivEXT", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context) { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformivEXT(context, programPacked, locationPacked, bufSize, params)); @@ -5576,17 +5484,17 @@ void GL_APIENTRY GL_GetnUniformivEXT(GLuint program, GLint location, GLsizei buf } } -void GL_APIENTRY GL_ReadnPixelsEXT(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data) +void GL_APIENTRY ReadnPixelsEXT(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLReadnPixelsEXT, + EVENT(context, gl::EntryPoint::ReadnPixelsEXT, "glReadnPixelsEXT", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, data = 0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -5594,7 +5502,7 @@ void GL_APIENTRY GL_ReadnPixelsEXT(GLint x, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixelsEXT(context, x, y, width, height, format, type, bufSize, data)); @@ -5614,16 +5522,17 @@ void GL_APIENTRY GL_ReadnPixelsEXT(GLint x, // GL_EXT_sRGB // GL_EXT_semaphore -void GL_APIENTRY GL_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) +void GL_APIENTRY DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteSemaphoresEXT, "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)semaphores); + EVENT(context, gl::EntryPoint::DeleteSemaphoresEXT, "glDeleteSemaphoresEXT", + "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)semaphores); if (context) { - const SemaphoreID *semaphoresPacked = PackParam(semaphores); - std::unique_lock shareContextLock = GetContextLock(context); + const SemaphoreID *semaphoresPacked = FromGL(semaphores); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSemaphoresEXT(context, n, semaphoresPacked)); if (isCallValid) @@ -5638,16 +5547,17 @@ void GL_APIENTRY GL_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) } } -void GL_APIENTRY GL_GenSemaphoresEXT(GLsizei n, GLuint *semaphores) +void GL_APIENTRY GenSemaphoresEXT(GLsizei n, GLuint *semaphores) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenSemaphoresEXT, "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)semaphores); + EVENT(context, gl::EntryPoint::GenSemaphoresEXT, "glGenSemaphoresEXT", + "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)semaphores); if (context) { - SemaphoreID *semaphoresPacked = PackParam(semaphores); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID *semaphoresPacked = FromGL(semaphores); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenSemaphoresEXT(context, n, semaphoresPacked)); if (isCallValid) @@ -5662,17 +5572,17 @@ void GL_APIENTRY GL_GenSemaphoresEXT(GLsizei n, GLuint *semaphores) } } -void GL_APIENTRY GL_GetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, GLuint64 *params) +void GL_APIENTRY GetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, GLuint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSemaphoreParameterui64vEXT, + EVENT(context, gl::EntryPoint::GetSemaphoreParameterui64vEXT, "glGetSemaphoreParameterui64vEXT", "context = %d, semaphore = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), semaphore, GLenumToString(GLenumGroup::SemaphoreParameterName, pname), (uintptr_t)params); if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSemaphoreParameterui64vEXT(context, semaphorePacked, pname, params)); @@ -5689,16 +5599,17 @@ void GL_APIENTRY GL_GetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname } } -GLboolean GL_APIENTRY GL_IsSemaphoreEXT(GLuint semaphore) +GLboolean GL_APIENTRY IsSemaphoreEXT(GLuint semaphore) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsSemaphoreEXT, "context = %d, semaphore = %u", CID(context), semaphore); + EVENT(context, gl::EntryPoint::IsSemaphoreEXT, "glIsSemaphoreEXT", + "context = %d, semaphore = %u", CID(context), semaphore); GLboolean returnValue; if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSemaphoreEXT(context, semaphorePacked)); if (isCallValid) @@ -5707,31 +5618,29 @@ GLboolean GL_APIENTRY GL_IsSemaphoreEXT(GLuint semaphore) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSemaphoreEXT, isCallValid, context, semaphorePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_SemaphoreParameterui64vEXT(GLuint semaphore, - GLenum pname, - const GLuint64 *params) +void GL_APIENTRY SemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, const GLuint64 *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSemaphoreParameterui64vEXT, + EVENT(context, gl::EntryPoint::SemaphoreParameterui64vEXT, "glSemaphoreParameterui64vEXT", "context = %d, semaphore = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), semaphore, GLenumToString(GLenumGroup::SemaphoreParameterName, pname), (uintptr_t)params); if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSemaphoreParameterui64vEXT(context, semaphorePacked, pname, params)); @@ -5748,15 +5657,15 @@ void GL_APIENTRY GL_SemaphoreParameterui64vEXT(GLuint semaphore, } } -void GL_APIENTRY GL_SignalSemaphoreEXT(GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *dstLayouts) +void GL_APIENTRY SignalSemaphoreEXT(GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *dstLayouts) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSignalSemaphoreEXT, + EVENT(context, gl::EntryPoint::SignalSemaphoreEXT, "glSignalSemaphoreEXT", "context = %d, semaphore = %u, numBufferBarriers = %u, buffers = 0x%016" PRIxPTR ", numTextureBarriers = %u, textures = 0x%016" PRIxPTR ", dstLayouts = 0x%016" PRIxPTR "", CID(context), semaphore, numBufferBarriers, (uintptr_t)buffers, numTextureBarriers, @@ -5764,10 +5673,10 @@ void GL_APIENTRY GL_SignalSemaphoreEXT(GLuint semaphore, if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - const BufferID *buffersPacked = PackParam(buffers); - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + const BufferID *buffersPacked = FromGL(buffers); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSignalSemaphoreEXT(context, semaphorePacked, numBufferBarriers, buffersPacked, @@ -5786,15 +5695,15 @@ void GL_APIENTRY GL_SignalSemaphoreEXT(GLuint semaphore, } } -void GL_APIENTRY GL_WaitSemaphoreEXT(GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *srcLayouts) +void GL_APIENTRY WaitSemaphoreEXT(GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *srcLayouts) { Context *context = GetValidGlobalContext(); - EVENT(context, GLWaitSemaphoreEXT, + EVENT(context, gl::EntryPoint::WaitSemaphoreEXT, "glWaitSemaphoreEXT", "context = %d, semaphore = %u, numBufferBarriers = %u, buffers = 0x%016" PRIxPTR ", numTextureBarriers = %u, textures = 0x%016" PRIxPTR ", srcLayouts = 0x%016" PRIxPTR "", CID(context), semaphore, numBufferBarriers, (uintptr_t)buffers, numTextureBarriers, @@ -5802,10 +5711,10 @@ void GL_APIENTRY GL_WaitSemaphoreEXT(GLuint semaphore, if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - const BufferID *buffersPacked = PackParam(buffers); - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + const BufferID *buffersPacked = FromGL(buffers); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWaitSemaphoreEXT(context, semaphorePacked, numBufferBarriers, buffersPacked, @@ -5829,17 +5738,18 @@ void GL_APIENTRY GL_WaitSemaphoreEXT(GLuint semaphore, // GetUnsignedBytevEXT is already defined. // GL_EXT_semaphore_fd -void GL_APIENTRY GL_ImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GLint fd) +void GL_APIENTRY ImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GLint fd) { Context *context = GetValidGlobalContext(); - EVENT(context, GLImportSemaphoreFdEXT, "context = %d, semaphore = %u, handleType = %s, fd = %d", - CID(context), semaphore, GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); + EVENT(context, gl::EntryPoint::ImportSemaphoreFdEXT, "glImportSemaphoreFdEXT", + "context = %d, semaphore = %u, handleType = %s, fd = %d", CID(context), semaphore, + GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); if (context) { - SemaphoreID semaphorePacked = PackParam(semaphore); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportSemaphoreFdEXT(context, semaphorePacked, handleTypePacked, fd)); @@ -5856,1592 +5766,20 @@ void GL_APIENTRY GL_ImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GL } } -// GL_EXT_separate_shader_objects -void GL_APIENTRY GL_ActiveShaderProgramEXT(GLuint pipeline, GLuint program) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLActiveShaderProgramEXT, "context = %d, pipeline = %u, program = %u", - CID(context), pipeline, program); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateActiveShaderProgramEXT(context, pipelinePacked, programPacked)); - if (isCallValid) - { - context->activeShaderProgram(pipelinePacked, programPacked); - } - ANGLE_CAPTURE(ActiveShaderProgramEXT, isCallValid, context, pipelinePacked, programPacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_BindProgramPipelineEXT(GLuint pipeline) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLBindProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), pipeline); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateBindProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - context->bindProgramPipeline(pipelinePacked); - } - ANGLE_CAPTURE(BindProgramPipelineEXT, isCallValid, context, pipelinePacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -GLuint GL_APIENTRY GL_CreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar **strings) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLCreateShaderProgramvEXT, - "context = %d, type = %s, count = %d, strings = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::ShaderType, type), count, (uintptr_t)strings); - - GLuint returnValue; - if (context) - { - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateCreateShaderProgramvEXT(context, typePacked, count, strings)); - if (isCallValid) - { - returnValue = context->createShaderProgramv(typePacked, count, strings); - } - else - { - returnValue = - GetDefaultReturnValue(); - } - ANGLE_CAPTURE(CreateShaderProgramvEXT, isCallValid, context, typePacked, count, strings, - returnValue); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); - } - return returnValue; -} - -void GL_APIENTRY GL_DeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteProgramPipelinesEXT, - "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)pipelines); - - if (context) - { - const ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateDeleteProgramPipelinesEXT(context, n, pipelinesPacked)); - if (isCallValid) - { - context->deleteProgramPipelines(n, pipelinesPacked); - } - ANGLE_CAPTURE(DeleteProgramPipelinesEXT, isCallValid, context, n, pipelinesPacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GenProgramPipelinesEXT(GLsizei n, GLuint *pipelines) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGenProgramPipelinesEXT, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); - - if (context) - { - ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGenProgramPipelinesEXT(context, n, pipelinesPacked)); - if (isCallValid) - { - context->genProgramPipelines(n, pipelinesPacked); - } - ANGLE_CAPTURE(GenProgramPipelinesEXT, isCallValid, context, n, pipelinesPacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GetProgramPipelineInfoLogEXT(GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramPipelineInfoLogEXT, - "context = %d, pipeline = %u, bufSize = %d, length = 0x%016" PRIxPTR - ", infoLog = 0x%016" PRIxPTR "", - CID(context), pipeline, bufSize, (uintptr_t)length, (uintptr_t)infoLog); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateGetProgramPipelineInfoLogEXT( - context, pipelinePacked, bufSize, length, infoLog)); - if (isCallValid) - { - context->getProgramPipelineInfoLog(pipelinePacked, bufSize, length, infoLog); - } - ANGLE_CAPTURE(GetProgramPipelineInfoLogEXT, isCallValid, context, pipelinePacked, bufSize, - length, infoLog); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramPipelineivEXT, - "context = %d, pipeline = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - pipeline, GLenumToString(GLenumGroup::PipelineParameterName, pname), (uintptr_t)params); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetProgramPipelineivEXT(context, pipelinePacked, pname, params)); - if (isCallValid) - { - context->getProgramPipelineiv(pipelinePacked, pname, params); - } - ANGLE_CAPTURE(GetProgramPipelineivEXT, isCallValid, context, pipelinePacked, pname, params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -GLboolean GL_APIENTRY GL_IsProgramPipelineEXT(GLuint pipeline) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLIsProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), pipeline); - - GLboolean returnValue; - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateIsProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - returnValue = context->isProgramPipeline(pipelinePacked); - } - else - { - returnValue = - GetDefaultReturnValue(); - } - ANGLE_CAPTURE(IsProgramPipelineEXT, isCallValid, context, pipelinePacked, returnValue); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); - } - return returnValue; -} - -void GL_APIENTRY GL_ProgramParameteriEXT(GLuint program, GLenum pname, GLint value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramParameteriEXT, "context = %d, program = %u, pname = %s, value = %d", - CID(context), program, GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramParameteriEXT(context, programPacked, pname, value)); - if (isCallValid) - { - context->programParameteri(programPacked, pname, value); - } - ANGLE_CAPTURE(ProgramParameteriEXT, isCallValid, context, programPacked, pname, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1fEXT, "context = %d, program = %u, location = %d, v0 = %f", - CID(context), program, location, v0); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1fEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1f(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1fEXT, isCallValid, context, programPacked, locationPacked, v0); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1iEXT(GLuint program, GLint location, GLint v0) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1iEXT, "context = %d, program = %u, location = %d, v0 = %d", - CID(context), program, location, v0); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1iEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1i(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1iEXT, isCallValid, context, programPacked, locationPacked, v0); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1uiEXT, "context = %d, program = %u, location = %d, v0 = %u", - CID(context), program, location, v0); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1uiEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1ui(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1uiEXT, isCallValid, context, programPacked, locationPacked, - v0); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform1uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform1uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f", CID(context), program, - location, v0, v1); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2fEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2f(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d", CID(context), program, - location, v0, v1); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2iEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2i(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u", CID(context), program, - location, v0, v1); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2uiEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2ui(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform2uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform2uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY -GL_ProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), - program, location, v0, v1, v2); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3fEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3f(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform3fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY -GL_ProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), - program, location, v0, v1, v2); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3iEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3i(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform3ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY -GL_ProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), - program, location, v0, v1, v2); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3uiEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3ui(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform3uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform3uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform4fEXT(GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", - CID(context), program, location, v0, v1, v2, v3); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4fEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4f(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform4fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY -GL_ProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", - CID(context), program, location, v0, v1, v2, v3); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4iEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4i(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform4ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY -GL_ProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", - CID(context), program, location, v0, v1, v2, v3); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4uiEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4ui(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniform4uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniform4uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2x3fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2x3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2x3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2x3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix2x4fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2x4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2x4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2x4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3x2fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3x2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3x2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3x2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix3x4fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3x4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3x4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3x4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4x2fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4x2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4x2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4x2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramUniformMatrix4x3fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context) - { - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4x3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4x3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4x3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_UseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLUseProgramStagesEXT, "context = %d, pipeline = %u, stages = %s, program = %u", - CID(context), pipeline, - GLbitfieldToString(GLenumGroup::UseProgramStageMask, stages).c_str(), program); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateUseProgramStagesEXT(context, pipelinePacked, stages, programPacked)); - if (isCallValid) - { - context->useProgramStages(pipelinePacked, stages, programPacked); - } - ANGLE_CAPTURE(UseProgramStagesEXT, isCallValid, context, pipelinePacked, stages, - programPacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_ValidateProgramPipelineEXT(GLuint pipeline) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLValidateProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), - pipeline); - - if (context) - { - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateValidateProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - context->validateProgramPipeline(pipelinePacked); - } - ANGLE_CAPTURE(ValidateProgramPipelineEXT, isCallValid, context, pipelinePacked); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -// GL_EXT_shader_framebuffer_fetch_non_coherent -void GL_APIENTRY GL_FramebufferFetchBarrierEXT() -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferFetchBarrierEXT, "context = %d", CID(context)); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateFramebufferFetchBarrierEXT(context)); - if (isCallValid) - { - context->framebufferFetchBarrier(); - } - ANGLE_CAPTURE(FramebufferFetchBarrierEXT, isCallValid, context); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -// GL_EXT_shader_io_blocks - -// GL_EXT_tessellation_shader -void GL_APIENTRY GL_PatchParameteriEXT(GLenum pname, GLint value) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLPatchParameteriEXT, "context = %d, pname = %s, value = %d", CID(context), - GLenumToString(GLenumGroup::PatchParameterName, pname), value); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidatePatchParameteriEXT(context, pname, value)); - if (isCallValid) - { - context->patchParameteri(pname, value); - } - ANGLE_CAPTURE(PatchParameteriEXT, isCallValid, context, pname, value); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -// GL_EXT_texture_border_clamp -void GL_APIENTRY GL_GetSamplerParameterIivEXT(GLuint sampler, GLenum pname, GLint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIivEXT, - "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); - - if (context) - { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetSamplerParameterIivEXT(context, samplerPacked, pname, params)); - if (isCallValid) - { - context->getSamplerParameterIiv(samplerPacked, pname, params); - } - ANGLE_CAPTURE(GetSamplerParameterIivEXT, isCallValid, context, samplerPacked, pname, - params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GetSamplerParameterIuivEXT(GLuint sampler, GLenum pname, GLuint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIuivEXT, - "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); - - if (context) - { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetSamplerParameterIuivEXT(context, samplerPacked, pname, params)); - if (isCallValid) - { - context->getSamplerParameterIuiv(samplerPacked, pname, params); - } - ANGLE_CAPTURE(GetSamplerParameterIuivEXT, isCallValid, context, samplerPacked, pname, - params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GetTexParameterIivEXT(GLenum target, GLenum pname, GLint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIivEXT, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); - - if (context) - { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGetTexParameterIivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->getTexParameterIiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(GetTexParameterIivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_GetTexParameterIuivEXT(GLenum target, GLenum pname, GLuint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIuivEXT, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); - - if (context) - { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGetTexParameterIuivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->getTexParameterIuiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(GetTexParameterIuivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_SamplerParameterIivEXT(GLuint sampler, GLenum pname, const GLint *param) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIivEXT, - "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); - - if (context) - { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateSamplerParameterIivEXT(context, samplerPacked, pname, param)); - if (isCallValid) - { - context->samplerParameterIiv(samplerPacked, pname, param); - } - ANGLE_CAPTURE(SamplerParameterIivEXT, isCallValid, context, samplerPacked, pname, param); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_SamplerParameterIuivEXT(GLuint sampler, GLenum pname, const GLuint *param) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIuivEXT, - "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); - - if (context) - { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateSamplerParameterIuivEXT(context, samplerPacked, pname, param)); - if (isCallValid) - { - context->samplerParameterIuiv(samplerPacked, pname, param); - } - ANGLE_CAPTURE(SamplerParameterIuivEXT, isCallValid, context, samplerPacked, pname, param); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_TexParameterIivEXT(GLenum target, GLenum pname, const GLint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIivEXT, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); - - if (context) - { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateTexParameterIivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->texParameterIiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(TexParameterIivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - -void GL_APIENTRY GL_TexParameterIuivEXT(GLenum target, GLenum pname, const GLuint *params) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIuivEXT, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); - - if (context) - { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateTexParameterIuivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->texParameterIuiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(TexParameterIuivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_EXT_texture_buffer -void GL_APIENTRY GL_TexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer) +void GL_APIENTRY TexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBufferEXT, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBufferEXT, "glTexBufferEXT", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferEXT(context, targetPacked, internalformat, bufferPacked)); @@ -7458,14 +5796,14 @@ void GL_APIENTRY GL_TexBufferEXT(GLenum target, GLenum internalformat, GLuint bu } } -void GL_APIENTRY GL_TexBufferRangeEXT(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRangeEXT(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBufferRangeEXT, + EVENT(context, gl::EntryPoint::TexBufferRangeEXT, "glTexBufferRangeEXT", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -7473,9 +5811,9 @@ void GL_APIENTRY GL_TexBufferRangeEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRangeEXT(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -7510,23 +5848,21 @@ void GL_APIENTRY GL_TexBufferRangeEXT(GLenum target, // GL_EXT_texture_sRGB_R8 -// GL_EXT_texture_sRGB_RG8 - // GL_EXT_texture_storage -void GL_APIENTRY GL_TexStorage1DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width) +void GL_APIENTRY TexStorage1DEXT(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage1DEXT, + EVENT(context, gl::EntryPoint::TexStorage1DEXT, "glTexStorage1DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage1DEXT(context, target, levels, internalformat, width)); @@ -7542,22 +5878,19 @@ void GL_APIENTRY GL_TexStorage1DEXT(GLenum target, } } -void GL_APIENTRY GL_TexStorage2DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY +TexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage2DEXT, + EVENT(context, gl::EntryPoint::TexStorage2DEXT, "glTexStorage2DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DEXT(context, targetPacked, levels, internalformat, width, height)); @@ -7574,15 +5907,15 @@ void GL_APIENTRY GL_TexStorage2DEXT(GLenum target, } } -void GL_APIENTRY GL_TexStorage3DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth) +void GL_APIENTRY TexStorage3DEXT(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage3DEXT, + EVENT(context, gl::EntryPoint::TexStorage3DEXT, "glTexStorage3DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d, " "depth = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -7590,8 +5923,8 @@ void GL_APIENTRY GL_TexStorage3DEXT(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DEXT(context, targetPacked, levels, internalformat, width, height, depth)); @@ -7608,39 +5941,17 @@ void GL_APIENTRY GL_TexStorage3DEXT(GLenum target, } } -// GL_KHR_blend_equation_advanced -void GL_APIENTRY GL_BlendBarrierKHR() -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendBarrierKHR, "context = %d", CID(context)); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || ValidateBlendBarrierKHR(context)); - if (isCallValid) - { - context->blendBarrier(); - } - ANGLE_CAPTURE(BlendBarrierKHR, isCallValid, context); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_KHR_debug -void GL_APIENTRY GL_DebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void *userParam) +void GL_APIENTRY DebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void *userParam) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageCallbackKHR, + EVENT(context, gl::EntryPoint::DebugMessageCallbackKHR, "glDebugMessageCallbackKHR", "context = %d, callback = 0x%016" PRIxPTR ", userParam = 0x%016" PRIxPTR "", CID(context), (uintptr_t)callback, (uintptr_t)userParam); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageCallbackKHR(context, callback, userParam)); if (isCallValid) @@ -7655,15 +5966,15 @@ void GL_APIENTRY GL_DebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void } } -void GL_APIENTRY GL_DebugMessageControlKHR(GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled) +void GL_APIENTRY DebugMessageControlKHR(GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageControlKHR, + EVENT(context, gl::EntryPoint::DebugMessageControlKHR, "glDebugMessageControlKHR", "context = %d, source = %s, type = %s, severity = %s, count = %d, ids = 0x%016" PRIxPTR ", enabled = %s", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -7673,7 +5984,7 @@ void GL_APIENTRY GL_DebugMessageControlKHR(GLenum source, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageControlKHR(context, source, type, severity, count, ids, enabled)); @@ -7690,15 +6001,15 @@ void GL_APIENTRY GL_DebugMessageControlKHR(GLenum source, } } -void GL_APIENTRY GL_DebugMessageInsertKHR(GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf) +void GL_APIENTRY DebugMessageInsertKHR(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDebugMessageInsertKHR, + EVENT(context, gl::EntryPoint::DebugMessageInsertKHR, "glDebugMessageInsertKHR", "context = %d, source = %s, type = %s, id = %u, severity = %s, length = %d, buf = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -7707,7 +6018,7 @@ void GL_APIENTRY GL_DebugMessageInsertKHR(GLenum source, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageInsertKHR(context, source, type, id, severity, length, buf)); @@ -7724,17 +6035,17 @@ void GL_APIENTRY GL_DebugMessageInsertKHR(GLenum source, } } -GLuint GL_APIENTRY GL_GetDebugMessageLogKHR(GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog) +GLuint GL_APIENTRY GetDebugMessageLogKHR(GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetDebugMessageLogKHR, + EVENT(context, gl::EntryPoint::GetDebugMessageLogKHR, "glGetDebugMessageLogKHR", "context = %d, count = %u, bufSize = %d, sources = 0x%016" PRIxPTR ", types = 0x%016" PRIxPTR ", ids = 0x%016" PRIxPTR ", severities = 0x%016" PRIxPTR ", lengths = 0x%016" PRIxPTR ", messageLog = 0x%016" PRIxPTR "", @@ -7744,7 +6055,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHR(GLuint count, GLuint returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetDebugMessageLogKHR(context, count, bufSize, sources, types, ids, severities, lengths, messageLog)); @@ -7755,8 +6066,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHR(GLuint count, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetDebugMessageLogKHR, isCallValid, context, count, bufSize, sources, types, ids, severities, lengths, messageLog, returnValue); @@ -7764,19 +6074,16 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHR(GLuint count, else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetObjectLabelKHR(GLenum identifier, - GLuint name, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY +GetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetObjectLabelKHR, + EVENT(context, gl::EntryPoint::GetObjectLabelKHR, "glGetObjectLabelKHR", "context = %d, identifier = %s, name = %u, bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, identifier), name, bufSize, @@ -7784,7 +6091,7 @@ void GL_APIENTRY GL_GetObjectLabelKHR(GLenum identifier, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectLabelKHR(context, identifier, name, bufSize, length, label)); @@ -7801,20 +6108,20 @@ void GL_APIENTRY GL_GetObjectLabelKHR(GLenum identifier, } } -void GL_APIENTRY GL_GetObjectPtrLabelKHR(const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectPtrLabelKHR(const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetObjectPtrLabelKHR, + EVENT(context, gl::EntryPoint::GetObjectPtrLabelKHR, "glGetObjectPtrLabelKHR", "context = %d, ptr = 0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, bufSize, (uintptr_t)length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectPtrLabelKHR(context, ptr, bufSize, length, label)); if (isCallValid) @@ -7829,15 +6136,16 @@ void GL_APIENTRY GL_GetObjectPtrLabelKHR(const void *ptr, } } -void GL_APIENTRY GL_GetPointervKHR(GLenum pname, void **params) +void GL_APIENTRY GetPointervKHR(GLenum pname, void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetPointervKHR, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetPointervKHR, "glGetPointervKHR", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointervKHR(context, pname, params)); if (isCallValid) @@ -7852,20 +6160,17 @@ void GL_APIENTRY GL_GetPointervKHR(GLenum pname, void **params) } } -void GL_APIENTRY GL_ObjectLabelKHR(GLenum identifier, - GLuint name, - GLsizei length, - const GLchar *label) +void GL_APIENTRY ObjectLabelKHR(GLenum identifier, GLuint name, GLsizei length, const GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLObjectLabelKHR, + EVENT(context, gl::EntryPoint::ObjectLabelKHR, "glObjectLabelKHR", "context = %d, identifier = %s, name = %u, length = %d, label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ObjectIdentifier, identifier), name, length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectLabelKHR(context, identifier, name, length, label)); if (isCallValid) @@ -7880,16 +6185,16 @@ void GL_APIENTRY GL_ObjectLabelKHR(GLenum identifier, } } -void GL_APIENTRY GL_ObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLchar *label) +void GL_APIENTRY ObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLchar *label) { Context *context = GetValidGlobalContext(); - EVENT(context, GLObjectPtrLabelKHR, + EVENT(context, gl::EntryPoint::ObjectPtrLabelKHR, "glObjectPtrLabelKHR", "context = %d, ptr = 0x%016" PRIxPTR ", length = %d, label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, length, (uintptr_t)label); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectPtrLabelKHR(context, ptr, length, label)); if (isCallValid) @@ -7904,14 +6209,15 @@ void GL_APIENTRY GL_ObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLc } } -void GL_APIENTRY GL_PopDebugGroupKHR() +void GL_APIENTRY PopDebugGroupKHR() { Context *context = GetValidGlobalContext(); - EVENT(context, GLPopDebugGroupKHR, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopDebugGroupKHR, "glPopDebugGroupKHR", "context = %d", + CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopDebugGroupKHR(context)); if (isCallValid) { @@ -7925,20 +6231,17 @@ void GL_APIENTRY GL_PopDebugGroupKHR() } } -void GL_APIENTRY GL_PushDebugGroupKHR(GLenum source, - GLuint id, - GLsizei length, - const GLchar *message) +void GL_APIENTRY PushDebugGroupKHR(GLenum source, GLuint id, GLsizei length, const GLchar *message) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPushDebugGroupKHR, + EVENT(context, gl::EntryPoint::PushDebugGroupKHR, "glPushDebugGroupKHR", "context = %d, source = %s, id = %u, length = %d, message = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), id, length, (uintptr_t)message); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushDebugGroupKHR(context, source, id, length, message)); if (isCallValid) @@ -7954,14 +6257,15 @@ void GL_APIENTRY GL_PushDebugGroupKHR(GLenum source, } // GL_KHR_parallel_shader_compile -void GL_APIENTRY GL_MaxShaderCompilerThreadsKHR(GLuint count) +void GL_APIENTRY MaxShaderCompilerThreadsKHR(GLuint count) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMaxShaderCompilerThreadsKHR, "context = %d, count = %u", CID(context), count); + EVENT(context, gl::EntryPoint::MaxShaderCompilerThreadsKHR, "glMaxShaderCompilerThreadsKHR", + "context = %d, count = %u", CID(context), count); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaxShaderCompilerThreadsKHR(context, count)); if (isCallValid) @@ -7977,16 +6281,16 @@ void GL_APIENTRY GL_MaxShaderCompilerThreadsKHR(GLuint count) } // GL_NV_fence -void GL_APIENTRY GL_DeleteFencesNV(GLsizei n, const GLuint *fences) +void GL_APIENTRY DeleteFencesNV(GLsizei n, const GLuint *fences) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteFencesNV, "context = %d, n = %d, fences = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)fences); + EVENT(context, gl::EntryPoint::DeleteFencesNV, "glDeleteFencesNV", + "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)fences); if (context) { - const FenceNVID *fencesPacked = PackParam(fences); - std::unique_lock shareContextLock = GetContextLock(context); + const FenceNVID *fencesPacked = FromGL(fences); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFencesNV(context, n, fencesPacked)); if (isCallValid) @@ -8001,15 +6305,16 @@ void GL_APIENTRY GL_DeleteFencesNV(GLsizei n, const GLuint *fences) } } -void GL_APIENTRY GL_FinishFenceNV(GLuint fence) +void GL_APIENTRY FinishFenceNV(GLuint fence) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFinishFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::FinishFenceNV, "glFinishFenceNV", "context = %d, fence = %u", + CID(context), fence); if (context) { - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFinishFenceNV(context, fencePacked)); if (isCallValid) @@ -8024,16 +6329,16 @@ void GL_APIENTRY GL_FinishFenceNV(GLuint fence) } } -void GL_APIENTRY GL_GenFencesNV(GLsizei n, GLuint *fences) +void GL_APIENTRY GenFencesNV(GLsizei n, GLuint *fences) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenFencesNV, "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)fences); + EVENT(context, gl::EntryPoint::GenFencesNV, "glGenFencesNV", + "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)fences); if (context) { - FenceNVID *fencesPacked = PackParam(fences); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID *fencesPacked = FromGL(fences); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFencesNV(context, n, fencesPacked)); if (isCallValid) @@ -8048,17 +6353,17 @@ void GL_APIENTRY GL_GenFencesNV(GLsizei n, GLuint *fences) } } -void GL_APIENTRY GL_GetFenceivNV(GLuint fence, GLenum pname, GLint *params) +void GL_APIENTRY GetFenceivNV(GLuint fence, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFenceivNV, + EVENT(context, gl::EntryPoint::GetFenceivNV, "glGetFenceivNV", "context = %d, fence = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), fence, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFenceivNV(context, fencePacked, pname, params)); if (isCallValid) @@ -8073,16 +6378,17 @@ void GL_APIENTRY GL_GetFenceivNV(GLuint fence, GLenum pname, GLint *params) } } -GLboolean GL_APIENTRY GL_IsFenceNV(GLuint fence) +GLboolean GL_APIENTRY IsFenceNV(GLuint fence) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::IsFenceNV, "glIsFenceNV", "context = %d, fence = %u", + CID(context), fence); GLboolean returnValue; if (context) { - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFenceNV(context, fencePacked)); if (isCallValid) { @@ -8090,28 +6396,29 @@ GLboolean GL_APIENTRY GL_IsFenceNV(GLuint fence) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFenceNV, isCallValid, context, fencePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_SetFenceNV(GLuint fence, GLenum condition) +void GL_APIENTRY SetFenceNV(GLuint fence, GLenum condition) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSetFenceNV, "context = %d, fence = %u, condition = %s", CID(context), fence, + EVENT(context, gl::EntryPoint::SetFenceNV, "glSetFenceNV", + "context = %d, fence = %u, condition = %s", CID(context), fence, GLenumToString(GLenumGroup::DefaultGroup, condition)); if (context) { - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSetFenceNV(context, fencePacked, condition)); if (isCallValid) @@ -8126,16 +6433,17 @@ void GL_APIENTRY GL_SetFenceNV(GLuint fence, GLenum condition) } } -GLboolean GL_APIENTRY GL_TestFenceNV(GLuint fence) +GLboolean GL_APIENTRY TestFenceNV(GLuint fence) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTestFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::TestFenceNV, "glTestFenceNV", "context = %d, fence = %u", + CID(context), fence); GLboolean returnValue; if (context) { - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTestFenceNV(context, fencePacked)); if (isCallValid) { @@ -8143,69 +6451,30 @@ GLboolean GL_APIENTRY GL_TestFenceNV(GLuint fence) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(TestFenceNV, isCallValid, context, fencePacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -// GL_NV_framebuffer_blit -void GL_APIENTRY GL_BlitFramebufferNV(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - Context *context = GetValidGlobalContext(); - EVENT(context, GLBlitFramebufferNV, - "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " - "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", - CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, - GLbitfieldToString(GLenumGroup::ClearBufferMask, mask).c_str(), - GLenumToString(GLenumGroup::BlitFramebufferFilter, filter)); - - if (context) - { - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateBlitFramebufferNV(context, srcX0, srcY0, srcX1, srcY1, dstX0, - dstY0, dstX1, dstY1, mask, filter)); - if (isCallValid) - { - context->blitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, - filter); - } - ANGLE_CAPTURE(BlitFramebufferNV, isCallValid, context, srcX0, srcY0, srcX1, srcY1, dstX0, - dstY0, dstX1, dstY1, mask, filter); - } - else - { - GenerateContextLostErrorOnCurrentGlobalContext(); - } -} - // GL_OES_EGL_image -void GL_APIENTRY GL_EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) +void GL_APIENTRY EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEGLImageTargetRenderbufferStorageOES, + EVENT(context, gl::EntryPoint::EGLImageTargetRenderbufferStorageOES, + "glEGLImageTargetRenderbufferStorageOES", "context = %d, target = %s, image = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), (uintptr_t)image); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEGLImageTargetRenderbufferStorageOES(context, target, image)); if (isCallValid) @@ -8220,17 +6489,17 @@ void GL_APIENTRY GL_EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglIma } } -void GL_APIENTRY GL_EGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) +void GL_APIENTRY EGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEGLImageTargetTexture2DOES, + EVENT(context, gl::EntryPoint::EGLImageTargetTexture2DOES, "glEGLImageTargetTexture2DOES", "context = %d, target = %s, image = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), (uintptr_t)image); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEGLImageTargetTexture2DOES(context, targetPacked, image)); if (isCallValid) @@ -8248,24 +6517,24 @@ void GL_APIENTRY GL_EGLImageTargetTexture2DOES(GLenum target, GLeglImageOES imag // GL_OES_compressed_ETC1_RGB8_texture // GL_OES_copy_image -void GL_APIENTRY GL_CopyImageSubDataOES(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubDataOES(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyImageSubDataOES, + EVENT(context, gl::EntryPoint::CopyImageSubDataOES, "glCopyImageSubDataOES", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -8276,7 +6545,7 @@ void GL_APIENTRY GL_CopyImageSubDataOES(GLuint srcName, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubDataOES(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, @@ -8301,17 +6570,17 @@ void GL_APIENTRY GL_CopyImageSubDataOES(GLuint srcName, // GL_OES_depth32 // GL_OES_draw_buffers_indexed -void GL_APIENTRY GL_BlendEquationSeparateiOES(GLuint buf, GLenum modeRGB, GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateiOES(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationSeparateiOES, + EVENT(context, gl::EntryPoint::BlendEquationSeparateiOES, "glBlendEquationSeparateiOES", "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparateiOES(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -8326,15 +6595,16 @@ void GL_APIENTRY GL_BlendEquationSeparateiOES(GLuint buf, GLenum modeRGB, GLenum } } -void GL_APIENTRY GL_BlendEquationiOES(GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationiOES(GLuint buf, GLenum mode) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendEquationiOES, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationiOES, "glBlendEquationiOES", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationiOES(context, buf, mode)); if (isCallValid) @@ -8350,10 +6620,10 @@ void GL_APIENTRY GL_BlendEquationiOES(GLuint buf, GLenum mode) } void GL_APIENTRY -GL_BlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) +BlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFuncSeparateiOES, + EVENT(context, gl::EntryPoint::BlendFuncSeparateiOES, "glBlendFuncSeparateiOES", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -8362,7 +6632,7 @@ GL_BlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlp if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparateiOES(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -8379,16 +6649,17 @@ GL_BlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlp } } -void GL_APIENTRY GL_BlendFunciOES(GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunciOES(GLuint buf, GLenum src, GLenum dst) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBlendFunciOES, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunciOES, "glBlendFunciOES", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunciOES(context, buf, src, dst)); if (isCallValid) @@ -8403,16 +6674,16 @@ void GL_APIENTRY GL_BlendFunciOES(GLuint buf, GLenum src, GLenum dst) } } -void GL_APIENTRY GL_ColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) +void GL_APIENTRY ColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { Context *context = GetValidGlobalContext(); - EVENT(context, GLColorMaskiOES, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaskiOES, "glColorMaskiOES", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaskiOES(context, index, r, g, b, a)); if (isCallValid) @@ -8427,15 +6698,16 @@ void GL_APIENTRY GL_ColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLbool } } -void GL_APIENTRY GL_DisableiOES(GLenum target, GLuint index) +void GL_APIENTRY DisableiOES(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDisableiOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::DisableiOES, "glDisableiOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableiOES(context, target, index)); if (isCallValid) @@ -8450,15 +6722,16 @@ void GL_APIENTRY GL_DisableiOES(GLenum target, GLuint index) } } -void GL_APIENTRY GL_EnableiOES(GLenum target, GLuint index) +void GL_APIENTRY EnableiOES(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLEnableiOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::EnableiOES, "glEnableiOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableiOES(context, target, index)); if (isCallValid) @@ -8473,16 +6746,17 @@ void GL_APIENTRY GL_EnableiOES(GLenum target, GLuint index) } } -GLboolean GL_APIENTRY GL_IsEnablediOES(GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnablediOES(GLenum target, GLuint index) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsEnablediOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnablediOES, "glIsEnablediOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnablediOES(context, target, index)); if (isCallValid) @@ -8491,27 +6765,27 @@ GLboolean GL_APIENTRY GL_IsEnablediOES(GLenum target, GLuint index) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnablediOES, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_OES_draw_elements_base_vertex -void GL_APIENTRY GL_DrawElementsBaseVertexOES(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertexOES(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertexOES, "glDrawElementsBaseVertexOES", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -8519,9 +6793,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertexOES(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertexOES(context, modePacked, count, typePacked, indices, basevertex)); @@ -8538,15 +6812,16 @@ void GL_APIENTRY GL_DrawElementsBaseVertexOES(GLenum mode, } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOES(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertexOES(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawElementsInstancedBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexOES, + "glDrawElementsInstancedBaseVertexOES", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -8555,9 +6830,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOES(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexOES( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -8575,16 +6850,17 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOES(GLenum mode, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertexOES(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertexOES(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawRangeElementsBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertexOES, + "glDrawRangeElementsBaseVertexOES", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -8592,9 +6868,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexOES(GLenum mode, if (context) { - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertexOES( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -8615,15 +6891,16 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexOES(GLenum mode, // MultiDrawElementsBaseVertexEXT is already defined. // GL_OES_draw_texture -void GL_APIENTRY GL_DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) +void GL_APIENTRY DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexfOES, "context = %d, x = %f, y = %f, z = %f, width = %f, height = %f", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexfOES, "glDrawTexfOES", + "context = %d, x = %f, y = %f, z = %f, width = %f, height = %f", CID(context), x, y, z, + width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexfOES(context, x, y, z, width, height)); if (isCallValid) @@ -8638,15 +6915,15 @@ void GL_APIENTRY GL_DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, } } -void GL_APIENTRY GL_DrawTexfvOES(const GLfloat *coords) +void GL_APIENTRY DrawTexfvOES(const GLfloat *coords) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexfvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexfvOES, "glDrawTexfvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexfvOES(context, coords)); if (isCallValid) { @@ -8660,15 +6937,16 @@ void GL_APIENTRY GL_DrawTexfvOES(const GLfloat *coords) } } -void GL_APIENTRY GL_DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height) +void GL_APIENTRY DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexiOES, "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexiOES, "glDrawTexiOES", + "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", CID(context), x, y, z, + width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexiOES(context, x, y, z, width, height)); if (isCallValid) @@ -8683,15 +6961,15 @@ void GL_APIENTRY GL_DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint he } } -void GL_APIENTRY GL_DrawTexivOES(const GLint *coords) +void GL_APIENTRY DrawTexivOES(const GLint *coords) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexivOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexivOES, "glDrawTexivOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexivOES(context, coords)); if (isCallValid) { @@ -8705,15 +6983,16 @@ void GL_APIENTRY GL_DrawTexivOES(const GLint *coords) } } -void GL_APIENTRY GL_DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) +void GL_APIENTRY DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexsOES, "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexsOES, "glDrawTexsOES", + "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", CID(context), x, y, z, + width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexsOES(context, x, y, z, width, height)); if (isCallValid) @@ -8728,15 +7007,15 @@ void GL_APIENTRY GL_DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, } } -void GL_APIENTRY GL_DrawTexsvOES(const GLshort *coords) +void GL_APIENTRY DrawTexsvOES(const GLshort *coords) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexsvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexsvOES, "glDrawTexsvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexsvOES(context, coords)); if (isCallValid) { @@ -8750,16 +7029,16 @@ void GL_APIENTRY GL_DrawTexsvOES(const GLshort *coords) } } -void GL_APIENTRY GL_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) +void GL_APIENTRY DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexxOES, + EVENT(context, gl::EntryPoint::DrawTexxOES, "glDrawTexxOES", "context = %d, x = 0x%X, y = 0x%X, z = 0x%X, width = 0x%X, height = 0x%X", CID(context), x, y, z, width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexxOES(context, x, y, z, width, height)); if (isCallValid) @@ -8774,15 +7053,15 @@ void GL_APIENTRY GL_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, } } -void GL_APIENTRY GL_DrawTexxvOES(const GLfixed *coords) +void GL_APIENTRY DrawTexxvOES(const GLfixed *coords) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDrawTexxvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexxvOES, "glDrawTexxvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexxvOES(context, coords)); if (isCallValid) { @@ -8797,16 +7076,17 @@ void GL_APIENTRY GL_DrawTexxvOES(const GLfixed *coords) } // GL_OES_framebuffer_object -void GL_APIENTRY GL_BindFramebufferOES(GLenum target, GLuint framebuffer) +void GL_APIENTRY BindFramebufferOES(GLenum target, GLuint framebuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindFramebufferOES, "context = %d, target = %s, framebuffer = %u", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); + EVENT(context, gl::EntryPoint::BindFramebufferOES, "glBindFramebufferOES", + "context = %d, target = %s, framebuffer = %u", CID(context), + GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); if (context) { - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFramebufferOES(context, target, framebufferPacked)); if (isCallValid) @@ -8821,16 +7101,17 @@ void GL_APIENTRY GL_BindFramebufferOES(GLenum target, GLuint framebuffer) } } -void GL_APIENTRY GL_BindRenderbufferOES(GLenum target, GLuint renderbuffer) +void GL_APIENTRY BindRenderbufferOES(GLenum target, GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindRenderbufferOES, "context = %d, target = %s, renderbuffer = %u", - CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); + EVENT(context, gl::EntryPoint::BindRenderbufferOES, "glBindRenderbufferOES", + "context = %d, target = %s, renderbuffer = %u", CID(context), + GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindRenderbufferOES(context, target, renderbufferPacked)); if (isCallValid) @@ -8845,16 +7126,17 @@ void GL_APIENTRY GL_BindRenderbufferOES(GLenum target, GLuint renderbuffer) } } -GLenum GL_APIENTRY GL_CheckFramebufferStatusOES(GLenum target) +GLenum GL_APIENTRY CheckFramebufferStatusOES(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCheckFramebufferStatusOES, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::CheckFramebufferStatusOES, "glCheckFramebufferStatusOES", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target)); GLenum returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCheckFramebufferStatusOES(context, target)); if (isCallValid) @@ -8863,31 +7145,29 @@ GLenum GL_APIENTRY GL_CheckFramebufferStatusOES(GLenum target) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CheckFramebufferStatusOES, isCallValid, context, target, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_DeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) +void GL_APIENTRY DeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteFramebuffersOES, + EVENT(context, gl::EntryPoint::DeleteFramebuffersOES, "glDeleteFramebuffersOES", "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)framebuffers); if (context) { - const FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFramebuffersOES(context, n, framebuffersPacked)); if (isCallValid) @@ -8902,18 +7182,17 @@ void GL_APIENTRY GL_DeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) } } -void GL_APIENTRY GL_DeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers) +void GL_APIENTRY DeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteRenderbuffersOES, + EVENT(context, gl::EntryPoint::DeleteRenderbuffersOES, "glDeleteRenderbuffersOES", "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)renderbuffers); if (context) { - const RenderbufferID *renderbuffersPacked = - PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteRenderbuffersOES(context, n, renderbuffersPacked)); if (isCallValid) @@ -8928,13 +7207,13 @@ void GL_APIENTRY GL_DeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffer } } -void GL_APIENTRY GL_FramebufferRenderbufferOES(GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer) +void GL_APIENTRY FramebufferRenderbufferOES(GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferRenderbufferOES, + EVENT(context, gl::EntryPoint::FramebufferRenderbufferOES, "glFramebufferRenderbufferOES", "context = %d, target = %s, attachment = %s, renderbuffertarget = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -8942,8 +7221,8 @@ void GL_APIENTRY GL_FramebufferRenderbufferOES(GLenum target, if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferRenderbufferOES(context, target, attachment, renderbuffertarget, @@ -8962,14 +7241,14 @@ void GL_APIENTRY GL_FramebufferRenderbufferOES(GLenum target, } } -void GL_APIENTRY GL_FramebufferTexture2DOES(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTexture2DOES(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTexture2DOES, + EVENT(context, gl::EntryPoint::FramebufferTexture2DOES, "glFramebufferTexture2DOES", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -8977,9 +7256,9 @@ void GL_APIENTRY GL_FramebufferTexture2DOES(GLenum target, if (context) { - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2DOES(context, target, attachment, textargetPacked, texturePacked, level)); @@ -8997,16 +7276,17 @@ void GL_APIENTRY GL_FramebufferTexture2DOES(GLenum target, } } -void GL_APIENTRY GL_GenFramebuffersOES(GLsizei n, GLuint *framebuffers) +void GL_APIENTRY GenFramebuffersOES(GLsizei n, GLuint *framebuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenFramebuffersOES, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::GenFramebuffersOES, "glGenFramebuffersOES", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context) { - FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFramebuffersOES(context, n, framebuffersPacked)); if (isCallValid) @@ -9021,16 +7301,17 @@ void GL_APIENTRY GL_GenFramebuffersOES(GLsizei n, GLuint *framebuffers) } } -void GL_APIENTRY GL_GenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) +void GL_APIENTRY GenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenRenderbuffersOES, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::GenRenderbuffersOES, "glGenRenderbuffersOES", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context) { - RenderbufferID *renderbuffersPacked = PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenRenderbuffersOES(context, n, renderbuffersPacked)); if (isCallValid) @@ -9045,16 +7326,17 @@ void GL_APIENTRY GL_GenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) } } -void GL_APIENTRY GL_GenerateMipmapOES(GLenum target) +void GL_APIENTRY GenerateMipmapOES(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenerateMipmapOES, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::GenerateMipmapOES, "glGenerateMipmapOES", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenerateMipmapOES(context, targetPacked)); if (isCallValid) @@ -9069,13 +7351,14 @@ void GL_APIENTRY GL_GenerateMipmapOES(GLenum target) } } -void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOES(GLenum target, - GLenum attachment, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameterivOES(GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetFramebufferAttachmentParameterivOES, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameterivOES, + "glGetFramebufferAttachmentParameterivOES", "context = %d, target = %s, attachment = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -9084,7 +7367,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOES(GLenum target, if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameterivOES( context, target, attachment, pname, params)); @@ -9101,17 +7384,17 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOES(GLenum target, } } -void GL_APIENTRY GL_GetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetRenderbufferParameterivOES, + EVENT(context, gl::EntryPoint::GetRenderbufferParameterivOES, "glGetRenderbufferParameterivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::RenderbufferParameterName, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameterivOES(context, target, pname, params)); if (isCallValid) @@ -9126,16 +7409,17 @@ void GL_APIENTRY GL_GetRenderbufferParameterivOES(GLenum target, GLenum pname, G } } -GLboolean GL_APIENTRY GL_IsFramebufferOES(GLuint framebuffer) +GLboolean GL_APIENTRY IsFramebufferOES(GLuint framebuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsFramebufferOES, "context = %d, framebuffer = %u", CID(context), framebuffer); + EVENT(context, gl::EntryPoint::IsFramebufferOES, "glIsFramebufferOES", + "context = %d, framebuffer = %u", CID(context), framebuffer); GLboolean returnValue; if (context) { - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFramebufferOES(context, framebufferPacked)); if (isCallValid) @@ -9144,29 +7428,29 @@ GLboolean GL_APIENTRY GL_IsFramebufferOES(GLuint framebuffer) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFramebufferOES, isCallValid, context, framebufferPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsRenderbufferOES(GLuint renderbuffer) +GLboolean GL_APIENTRY IsRenderbufferOES(GLuint renderbuffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsRenderbufferOES, "context = %d, renderbuffer = %u", CID(context), - renderbuffer); + EVENT(context, gl::EntryPoint::IsRenderbufferOES, "glIsRenderbufferOES", + "context = %d, renderbuffer = %u", CID(context), renderbuffer); GLboolean returnValue; if (context) { - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsRenderbufferOES(context, renderbufferPacked)); if (isCallValid) @@ -9175,33 +7459,32 @@ GLboolean GL_APIENTRY GL_IsRenderbufferOES(GLuint renderbuffer) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsRenderbufferOES, isCallValid, context, renderbufferPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_RenderbufferStorageOES(GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageOES(GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLRenderbufferStorageOES, + EVENT(context, gl::EntryPoint::RenderbufferStorageOES, "glRenderbufferStorageOES", "context = %d, target = %s, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageOES(context, target, internalformat, width, height)); @@ -9219,14 +7502,14 @@ void GL_APIENTRY GL_RenderbufferStorageOES(GLenum target, } // GL_OES_get_program_binary -void GL_APIENTRY GL_GetProgramBinaryOES(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary) +void GL_APIENTRY GetProgramBinaryOES(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetProgramBinaryOES, + EVENT(context, gl::EntryPoint::GetProgramBinaryOES, "glGetProgramBinaryOES", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", binaryFormat = 0x%016" PRIxPTR ", binary = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)binaryFormat, @@ -9234,8 +7517,8 @@ void GL_APIENTRY GL_GetProgramBinaryOES(GLuint program, if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramBinaryOES(context, programPacked, bufSize, length, binaryFormat, binary)); @@ -9252,21 +7535,21 @@ void GL_APIENTRY GL_GetProgramBinaryOES(GLuint program, } } -void GL_APIENTRY GL_ProgramBinaryOES(GLuint program, - GLenum binaryFormat, - const void *binary, - GLint length) +void GL_APIENTRY ProgramBinaryOES(GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length) { Context *context = GetValidGlobalContext(); - EVENT(context, GLProgramBinaryOES, + EVENT(context, gl::EntryPoint::ProgramBinaryOES, "glProgramBinaryOES", "context = %d, program = %u, binaryFormat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, binaryFormat), (uintptr_t)binary, length); if (context) { - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramBinaryOES(context, programPacked, binaryFormat, binary, length)); @@ -9284,18 +7567,18 @@ void GL_APIENTRY GL_ProgramBinaryOES(GLuint program, } // GL_OES_mapbuffer -void GL_APIENTRY GL_GetBufferPointervOES(GLenum target, GLenum pname, void **params) +void GL_APIENTRY GetBufferPointervOES(GLenum target, GLenum pname, void **params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetBufferPointervOES, + EVENT(context, gl::EntryPoint::GetBufferPointervOES, "glGetBufferPointervOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointervOES(context, targetPacked, pname, params)); if (isCallValid) @@ -9310,18 +7593,19 @@ void GL_APIENTRY GL_GetBufferPointervOES(GLenum target, GLenum pname, void **par } } -void *GL_APIENTRY GL_MapBufferOES(GLenum target, GLenum access) +void *GL_APIENTRY MapBufferOES(GLenum target, GLenum access) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMapBufferOES, "context = %d, target = %s, access = %s", CID(context), + EVENT(context, gl::EntryPoint::MapBufferOES, "glMapBufferOES", + "context = %d, target = %s, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::BufferAccessARB, access)); void *returnValue; if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferOES(context, targetPacked, access)); if (isCallValid) @@ -9330,29 +7614,29 @@ void *GL_APIENTRY GL_MapBufferOES(GLenum target, GLenum access) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferOES, isCallValid, context, targetPacked, access, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_UnmapBufferOES(GLenum target) +GLboolean GL_APIENTRY UnmapBufferOES(GLenum target) { Context *context = GetValidGlobalContext(); - EVENT(context, GLUnmapBufferOES, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::DefaultGroup, target)); + EVENT(context, gl::EntryPoint::UnmapBufferOES, "glUnmapBufferOES", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target)); GLboolean returnValue; if (context) { - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUnmapBufferOES(context, targetPacked)); if (isCallValid) @@ -9361,28 +7645,28 @@ GLboolean GL_APIENTRY GL_UnmapBufferOES(GLenum target) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(UnmapBufferOES, isCallValid, context, targetPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_OES_matrix_palette -void GL_APIENTRY GL_CurrentPaletteMatrixOES(GLuint matrixpaletteindex) +void GL_APIENTRY CurrentPaletteMatrixOES(GLuint matrixpaletteindex) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCurrentPaletteMatrixOES, "context = %d, matrixpaletteindex = %u", CID(context), - matrixpaletteindex); + EVENT(context, gl::EntryPoint::CurrentPaletteMatrixOES, "glCurrentPaletteMatrixOES", + "context = %d, matrixpaletteindex = %u", CID(context), matrixpaletteindex); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCurrentPaletteMatrixOES(context, matrixpaletteindex)); if (isCallValid) @@ -9397,14 +7681,15 @@ void GL_APIENTRY GL_CurrentPaletteMatrixOES(GLuint matrixpaletteindex) } } -void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOES() +void GL_APIENTRY LoadPaletteFromModelViewMatrixOES() { Context *context = GetValidGlobalContext(); - EVENT(context, GLLoadPaletteFromModelViewMatrixOES, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::LoadPaletteFromModelViewMatrixOES, + "glLoadPaletteFromModelViewMatrixOES", "context = %d", CID(context)); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadPaletteFromModelViewMatrixOES(context)); if (isCallValid) @@ -9419,20 +7704,17 @@ void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOES() } } -void GL_APIENTRY GL_MatrixIndexPointerOES(GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY MatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMatrixIndexPointerOES, + EVENT(context, gl::EntryPoint::MatrixIndexPointerOES, "glMatrixIndexPointerOES", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMatrixIndexPointerOES(context, size, type, stride, pointer)); if (isCallValid) @@ -9447,17 +7729,17 @@ void GL_APIENTRY GL_MatrixIndexPointerOES(GLint size, } } -void GL_APIENTRY GL_WeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY WeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLWeightPointerOES, + EVENT(context, gl::EntryPoint::WeightPointerOES, "glWeightPointerOES", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWeightPointerOES(context, size, type, stride, pointer)); if (isCallValid) @@ -9473,17 +7755,17 @@ void GL_APIENTRY GL_WeightPointerOES(GLint size, GLenum type, GLsizei stride, co } // GL_OES_point_size_array -void GL_APIENTRY GL_PointSizePointerOES(GLenum type, GLsizei stride, const void *pointer) +void GL_APIENTRY PointSizePointerOES(GLenum type, GLsizei stride, const void *pointer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLPointSizePointerOES, + EVENT(context, gl::EntryPoint::PointSizePointerOES, "glPointSizePointerOES", "context = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); if (context) { - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSizePointerOES(context, typePacked, stride, pointer)); if (isCallValid) @@ -9499,17 +7781,17 @@ void GL_APIENTRY GL_PointSizePointerOES(GLenum type, GLsizei stride, const void } // GL_OES_query_matrix -GLbitfield GL_APIENTRY GL_QueryMatrixxOES(GLfixed *mantissa, GLint *exponent) +GLbitfield GL_APIENTRY QueryMatrixxOES(GLfixed *mantissa, GLint *exponent) { Context *context = GetValidGlobalContext(); - EVENT(context, GLQueryMatrixxOES, + EVENT(context, gl::EntryPoint::QueryMatrixxOES, "glQueryMatrixxOES", "context = %d, mantissa = 0x%016" PRIxPTR ", exponent = 0x%016" PRIxPTR "", CID(context), (uintptr_t)mantissa, (uintptr_t)exponent); GLbitfield returnValue; if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateQueryMatrixxOES(context, mantissa, exponent)); if (isCallValid) @@ -9518,27 +7800,28 @@ GLbitfield GL_APIENTRY GL_QueryMatrixxOES(GLfixed *mantissa, GLint *exponent) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(QueryMatrixxOES, isCallValid, context, mantissa, exponent, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_OES_sample_shading -void GL_APIENTRY GL_MinSampleShadingOES(GLfloat value) +void GL_APIENTRY MinSampleShadingOES(GLfloat value) { Context *context = GetValidGlobalContext(); - EVENT(context, GLMinSampleShadingOES, "context = %d, value = %f", CID(context), value); + EVENT(context, gl::EntryPoint::MinSampleShadingOES, "glMinSampleShadingOES", + "context = %d, value = %f", CID(context), value); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMinSampleShadingOES(context, value)); if (isCallValid) @@ -9553,21 +7836,19 @@ void GL_APIENTRY GL_MinSampleShadingOES(GLfloat value) } } -// GL_OES_shader_io_blocks - // GL_OES_texture_3D -void GL_APIENTRY GL_CompressedTexImage3DOES(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage3DOES(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexImage3DOES, + EVENT(context, gl::EntryPoint::CompressedTexImage3DOES, "glCompressedTexImage3DOES", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -9576,8 +7857,8 @@ void GL_APIENTRY GL_CompressedTexImage3DOES(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3DOES(context, targetPacked, level, internalformat, width, @@ -9596,20 +7877,20 @@ void GL_APIENTRY GL_CompressedTexImage3DOES(GLenum target, } } -void GL_APIENTRY GL_CompressedTexSubImage3DOES(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage3DOES(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCompressedTexSubImage3DOES, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3DOES, "glCompressedTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -9618,8 +7899,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3DOES(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3DOES( context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -9638,18 +7919,18 @@ void GL_APIENTRY GL_CompressedTexSubImage3DOES(GLenum target, } } -void GL_APIENTRY GL_CopyTexSubImage3DOES(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage3DOES(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = GetValidGlobalContext(); - EVENT(context, GLCopyTexSubImage3DOES, + EVENT(context, gl::EntryPoint::CopyTexSubImage3DOES, "glCopyTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, x = " "%d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -9657,8 +7938,8 @@ void GL_APIENTRY GL_CopyTexSubImage3DOES(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage3DOES(context, targetPacked, level, xoffset, yoffset, zoffset, x, y, width, height)); @@ -9676,15 +7957,15 @@ void GL_APIENTRY GL_CopyTexSubImage3DOES(GLenum target, } } -void GL_APIENTRY GL_FramebufferTexture3DOES(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLint zoffset) +void GL_APIENTRY FramebufferTexture3DOES(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLint zoffset) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTexture3DOES, + EVENT(context, gl::EntryPoint::FramebufferTexture3DOES, "glFramebufferTexture3DOES", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d, " "zoffset = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -9693,9 +7974,9 @@ void GL_APIENTRY GL_FramebufferTexture3DOES(GLenum target, if (context) { - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture3DOES(context, target, attachment, textargetPacked, @@ -9714,19 +7995,19 @@ void GL_APIENTRY GL_FramebufferTexture3DOES(GLenum target, } } -void GL_APIENTRY GL_TexImage3DOES(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage3DOES(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexImage3DOES, + EVENT(context, gl::EntryPoint::TexImage3DOES, "glTexImage3DOES", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -9736,8 +8017,8 @@ void GL_APIENTRY GL_TexImage3DOES(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3DOES(context, targetPacked, level, internalformat, width, height, @@ -9756,20 +8037,20 @@ void GL_APIENTRY GL_TexImage3DOES(GLenum target, } } -void GL_APIENTRY GL_TexSubImage3DOES(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage3DOES(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexSubImage3DOES, + EVENT(context, gl::EntryPoint::TexSubImage3DOES, "glTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -9778,8 +8059,8 @@ void GL_APIENTRY GL_TexSubImage3DOES(GLenum target, if (context) { - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3DOES(context, targetPacked, level, xoffset, yoffset, zoffset, @@ -9799,17 +8080,17 @@ void GL_APIENTRY GL_TexSubImage3DOES(GLenum target, } // GL_OES_texture_border_clamp -void GL_APIENTRY GL_GetSamplerParameterIivOES(GLuint sampler, GLenum pname, GLint *params) +void GL_APIENTRY GetSamplerParameterIivOES(GLuint sampler, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIivOES, + EVENT(context, gl::EntryPoint::GetSamplerParameterIivOES, "glGetSamplerParameterIivOES", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIivOES(context, samplerPacked, pname, params)); @@ -9826,17 +8107,17 @@ void GL_APIENTRY GL_GetSamplerParameterIivOES(GLuint sampler, GLenum pname, GLin } } -void GL_APIENTRY GL_GetSamplerParameterIuivOES(GLuint sampler, GLenum pname, GLuint *params) +void GL_APIENTRY GetSamplerParameterIuivOES(GLuint sampler, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetSamplerParameterIuivOES, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuivOES, "glGetSamplerParameterIuivOES", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuivOES(context, samplerPacked, pname, params)); @@ -9853,18 +8134,18 @@ void GL_APIENTRY GL_GetSamplerParameterIuivOES(GLuint sampler, GLenum pname, GLu } } -void GL_APIENTRY GL_GetTexParameterIivOES(GLenum target, GLenum pname, GLint *params) +void GL_APIENTRY GetTexParameterIivOES(GLenum target, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIivOES, + EVENT(context, gl::EntryPoint::GetTexParameterIivOES, "glGetTexParameterIivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -9879,18 +8160,18 @@ void GL_APIENTRY GL_GetTexParameterIivOES(GLenum target, GLenum pname, GLint *pa } } -void GL_APIENTRY GL_GetTexParameterIuivOES(GLenum target, GLenum pname, GLuint *params) +void GL_APIENTRY GetTexParameterIuivOES(GLenum target, GLenum pname, GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexParameterIuivOES, + EVENT(context, gl::EntryPoint::GetTexParameterIuivOES, "glGetTexParameterIuivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -9905,17 +8186,17 @@ void GL_APIENTRY GL_GetTexParameterIuivOES(GLenum target, GLenum pname, GLuint * } } -void GL_APIENTRY GL_SamplerParameterIivOES(GLuint sampler, GLenum pname, const GLint *param) +void GL_APIENTRY SamplerParameterIivOES(GLuint sampler, GLenum pname, const GLint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIivOES, + EVENT(context, gl::EntryPoint::SamplerParameterIivOES, "glSamplerParameterIivOES", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIivOES(context, samplerPacked, pname, param)); if (isCallValid) @@ -9930,17 +8211,17 @@ void GL_APIENTRY GL_SamplerParameterIivOES(GLuint sampler, GLenum pname, const G } } -void GL_APIENTRY GL_SamplerParameterIuivOES(GLuint sampler, GLenum pname, const GLuint *param) +void GL_APIENTRY SamplerParameterIuivOES(GLuint sampler, GLenum pname, const GLuint *param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLSamplerParameterIuivOES, + EVENT(context, gl::EntryPoint::SamplerParameterIuivOES, "glSamplerParameterIuivOES", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context) { - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuivOES(context, samplerPacked, pname, param)); if (isCallValid) @@ -9955,18 +8236,18 @@ void GL_APIENTRY GL_SamplerParameterIuivOES(GLuint sampler, GLenum pname, const } } -void GL_APIENTRY GL_TexParameterIivOES(GLenum target, GLenum pname, const GLint *params) +void GL_APIENTRY TexParameterIivOES(GLenum target, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIivOES, + EVENT(context, gl::EntryPoint::TexParameterIivOES, "glTexParameterIivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -9981,18 +8262,18 @@ void GL_APIENTRY GL_TexParameterIivOES(GLenum target, GLenum pname, const GLint } } -void GL_APIENTRY GL_TexParameterIuivOES(GLenum target, GLenum pname, const GLuint *params) +void GL_APIENTRY TexParameterIuivOES(GLenum target, GLenum pname, const GLuint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexParameterIuivOES, + EVENT(context, gl::EntryPoint::TexParameterIuivOES, "glTexParameterIuivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -10008,18 +8289,19 @@ void GL_APIENTRY GL_TexParameterIuivOES(GLenum target, GLenum pname, const GLuin } // GL_OES_texture_buffer -void GL_APIENTRY GL_TexBufferOES(GLenum target, GLenum internalformat, GLuint buffer) +void GL_APIENTRY TexBufferOES(GLenum target, GLenum internalformat, GLuint buffer) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBufferOES, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBufferOES, "glTexBufferOES", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferOES(context, targetPacked, internalformat, bufferPacked)); @@ -10036,14 +8318,14 @@ void GL_APIENTRY GL_TexBufferOES(GLenum target, GLenum internalformat, GLuint bu } } -void GL_APIENTRY GL_TexBufferRangeOES(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRangeOES(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexBufferRangeOES, + EVENT(context, gl::EntryPoint::TexBufferRangeOES, "glTexBufferRangeOES", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -10051,9 +8333,9 @@ void GL_APIENTRY GL_TexBufferRangeOES(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRangeOES(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -10071,17 +8353,17 @@ void GL_APIENTRY GL_TexBufferRangeOES(GLenum target, } // GL_OES_texture_cube_map -void GL_APIENTRY GL_GetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) +void GL_APIENTRY GetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexGenfvOES, + EVENT(context, gl::EntryPoint::GetTexGenfvOES, "glGetTexGenfvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenfvOES(context, coord, pname, params)); if (isCallValid) @@ -10096,17 +8378,17 @@ void GL_APIENTRY GL_GetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) } } -void GL_APIENTRY GL_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params) +void GL_APIENTRY GetTexGenivOES(GLenum coord, GLenum pname, GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexGenivOES, + EVENT(context, gl::EntryPoint::GetTexGenivOES, "glGetTexGenivOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenivOES(context, coord, pname, params)); if (isCallValid) @@ -10121,17 +8403,17 @@ void GL_APIENTRY GL_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params) } } -void GL_APIENTRY GL_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) +void GL_APIENTRY GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGetTexGenxvOES, + EVENT(context, gl::EntryPoint::GetTexGenxvOES, "glGetTexGenxvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenxvOES(context, coord, pname, params)); if (isCallValid) @@ -10146,16 +8428,17 @@ void GL_APIENTRY GL_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) } } -void GL_APIENTRY GL_TexGenfOES(GLenum coord, GLenum pname, GLfloat param) +void GL_APIENTRY TexGenfOES(GLenum coord, GLenum pname, GLfloat param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGenfOES, "context = %d, coord = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::TexGenfOES, "glTexGenfOES", + "context = %d, coord = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenfOES(context, coord, pname, param)); if (isCallValid) @@ -10170,17 +8453,17 @@ void GL_APIENTRY GL_TexGenfOES(GLenum coord, GLenum pname, GLfloat param) } } -void GL_APIENTRY GL_TexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) +void GL_APIENTRY TexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGenfvOES, + EVENT(context, gl::EntryPoint::TexGenfvOES, "glTexGenfvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenfvOES(context, coord, pname, params)); if (isCallValid) @@ -10195,16 +8478,17 @@ void GL_APIENTRY GL_TexGenfvOES(GLenum coord, GLenum pname, const GLfloat *param } } -void GL_APIENTRY GL_TexGeniOES(GLenum coord, GLenum pname, GLint param) +void GL_APIENTRY TexGeniOES(GLenum coord, GLenum pname, GLint param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGeniOES, "context = %d, coord = %s, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::TexGeniOES, "glTexGeniOES", + "context = %d, coord = %s, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGeniOES(context, coord, pname, param)); if (isCallValid) @@ -10219,17 +8503,17 @@ void GL_APIENTRY GL_TexGeniOES(GLenum coord, GLenum pname, GLint param) } } -void GL_APIENTRY GL_TexGenivOES(GLenum coord, GLenum pname, const GLint *params) +void GL_APIENTRY TexGenivOES(GLenum coord, GLenum pname, const GLint *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGenivOES, + EVENT(context, gl::EntryPoint::TexGenivOES, "glTexGenivOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenivOES(context, coord, pname, params)); if (isCallValid) @@ -10244,16 +8528,17 @@ void GL_APIENTRY GL_TexGenivOES(GLenum coord, GLenum pname, const GLint *params) } } -void GL_APIENTRY GL_TexGenxOES(GLenum coord, GLenum pname, GLfixed param) +void GL_APIENTRY TexGenxOES(GLenum coord, GLenum pname, GLfixed param) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGenxOES, "context = %d, coord = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::TexGenxOES, "glTexGenxOES", + "context = %d, coord = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenxOES(context, coord, pname, param)); if (isCallValid) @@ -10268,17 +8553,17 @@ void GL_APIENTRY GL_TexGenxOES(GLenum coord, GLenum pname, GLfixed param) } } -void GL_APIENTRY GL_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) +void GL_APIENTRY TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexGenxvOES, + EVENT(context, gl::EntryPoint::TexGenxvOES, "glTexGenxvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); if (context) { - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenxvOES(context, coord, pname, params)); if (isCallValid) @@ -10300,16 +8585,16 @@ void GL_APIENTRY GL_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *param // GL_OES_texture_stencil8 // GL_OES_texture_storage_multisample_2d_array -void GL_APIENTRY GL_TexStorage3DMultisampleOES(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage3DMultisampleOES(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) { Context *context = GetValidGlobalContext(); - EVENT(context, GLTexStorage3DMultisampleOES, + EVENT(context, gl::EntryPoint::TexStorage3DMultisampleOES, "glTexStorage3DMultisampleOES", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -10318,8 +8603,8 @@ void GL_APIENTRY GL_TexStorage3DMultisampleOES(GLenum target, if (context) { - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DMultisampleOES(context, targetPacked, samples, internalformat, @@ -10339,15 +8624,16 @@ void GL_APIENTRY GL_TexStorage3DMultisampleOES(GLenum target, } // GL_OES_vertex_array_object -void GL_APIENTRY GL_BindVertexArrayOES(GLuint array) +void GL_APIENTRY BindVertexArrayOES(GLuint array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLBindVertexArrayOES, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::BindVertexArrayOES, "glBindVertexArrayOES", + "context = %d, array = %u", CID(context), array); if (context) { - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexArrayOES(context, arrayPacked)); if (isCallValid) @@ -10362,16 +8648,16 @@ void GL_APIENTRY GL_BindVertexArrayOES(GLuint array) } } -void GL_APIENTRY GL_DeleteVertexArraysOES(GLsizei n, const GLuint *arrays) +void GL_APIENTRY DeleteVertexArraysOES(GLsizei n, const GLuint *arrays) { Context *context = GetValidGlobalContext(); - EVENT(context, GLDeleteVertexArraysOES, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::DeleteVertexArraysOES, "glDeleteVertexArraysOES", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context) { - const VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + const VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteVertexArraysOES(context, n, arraysPacked)); if (isCallValid) @@ -10386,16 +8672,16 @@ void GL_APIENTRY GL_DeleteVertexArraysOES(GLsizei n, const GLuint *arrays) } } -void GL_APIENTRY GL_GenVertexArraysOES(GLsizei n, GLuint *arrays) +void GL_APIENTRY GenVertexArraysOES(GLsizei n, GLuint *arrays) { Context *context = GetValidGlobalContext(); - EVENT(context, GLGenVertexArraysOES, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::GenVertexArraysOES, "glGenVertexArraysOES", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context) { - VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenVertexArraysOES(context, n, arraysPacked)); if (isCallValid) @@ -10410,16 +8696,17 @@ void GL_APIENTRY GL_GenVertexArraysOES(GLsizei n, GLuint *arrays) } } -GLboolean GL_APIENTRY GL_IsVertexArrayOES(GLuint array) +GLboolean GL_APIENTRY IsVertexArrayOES(GLuint array) { Context *context = GetValidGlobalContext(); - EVENT(context, GLIsVertexArrayOES, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::IsVertexArrayOES, "glIsVertexArrayOES", + "context = %d, array = %u", CID(context), array); GLboolean returnValue; if (context) { - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsVertexArrayOES(context, arrayPacked)); if (isCallValid) @@ -10428,28 +8715,29 @@ GLboolean GL_APIENTRY GL_IsVertexArrayOES(GLuint array) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsVertexArrayOES, isCallValid, context, arrayPacked, returnValue); } else { GenerateContextLostErrorOnCurrentGlobalContext(); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } // GL_OVR_multiview -void GL_APIENTRY GL_FramebufferTextureMultiviewOVR(GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint baseViewIndex, - GLsizei numViews) +void GL_APIENTRY FramebufferTextureMultiviewOVR(GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews) { Context *context = GetValidGlobalContext(); - EVENT(context, GLFramebufferTextureMultiviewOVR, + EVENT(context, gl::EntryPoint::FramebufferTextureMultiviewOVR, + "glFramebufferTextureMultiviewOVR", "context = %d, target = %s, attachment = %s, texture = %u, level = %d, baseViewIndex = " "%d, numViews = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -10458,8 +8746,8 @@ void GL_APIENTRY GL_FramebufferTextureMultiviewOVR(GLenum target, if (context) { - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureMultiviewOVR(context, target, attachment, texturePacked, @@ -10481,20 +8769,18 @@ void GL_APIENTRY GL_FramebufferTextureMultiviewOVR(GLenum target, // GL_OVR_multiview2 // EGL_ANGLE_explicit_context -void GL_APIENTRY GL_ActiveShaderProgramContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLuint program) +void GL_APIENTRY ActiveShaderProgramContextANGLE(GLeglContext ctx, GLuint pipeline, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), - pipeline, program); + EVENT(context, gl::EntryPoint::ActiveShaderProgram, "glActiveShaderProgram", + "context = %d, pipeline = %u, program = %u", CID(context), pipeline, program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateActiveShaderProgram(context, pipelinePacked, programPacked)); if (isCallValid) @@ -10509,44 +8795,16 @@ void GL_APIENTRY GL_ActiveShaderProgramContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ActiveShaderProgramEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLuint program) +void GL_APIENTRY ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) { Context *context = static_cast(ctx); - EVENT(context, GLActiveShaderProgramEXT, "context = %d, pipeline = %u, program = %u", - CID(context), pipeline, program); + EVENT(context, gl::EntryPoint::ActiveTexture, "glActiveTexture", "context = %d, texture = %s", + CID(context), GLenumToString(GLenumGroup::TextureUnit, texture)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateActiveShaderProgramEXT(context, pipelinePacked, programPacked)); - if (isCallValid) - { - context->activeShaderProgram(pipelinePacked, programPacked); - } - ANGLE_CAPTURE(ActiveShaderProgramEXT, isCallValid, context, pipelinePacked, programPacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) -{ - Context *context = static_cast(ctx); - EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), - GLenumToString(GLenumGroup::TextureUnit, texture)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateActiveTexture(context, texture)); if (isCallValid) { @@ -10560,17 +8818,17 @@ void GL_APIENTRY GL_ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) } } -void GL_APIENTRY GL_AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) +void GL_APIENTRY AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) { Context *context = static_cast(ctx); - EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), - GLenumToString(GLenumGroup::AlphaFunction, func), ref); + EVENT(context, gl::EntryPoint::AlphaFunc, "glAlphaFunc", "context = %d, func = %s, ref = %f", + CID(context), GLenumToString(GLenumGroup::AlphaFunction, func), ref); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - AlphaTestFunc funcPacked = PackParam(func); - std::unique_lock shareContextLock = GetContextLock(context); + AlphaTestFunc funcPacked = FromGL(func); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAlphaFunc(context, funcPacked, ref)); if (isCallValid) @@ -10585,17 +8843,18 @@ void GL_APIENTRY GL_AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat } } -void GL_APIENTRY GL_AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) +void GL_APIENTRY AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) { Context *context = static_cast(ctx); - EVENT(context, GLAlphaFuncx, "context = %d, func = %s, ref = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::AlphaFuncx, "glAlphaFuncx", + "context = %d, func = %s, ref = 0x%X", CID(context), GLenumToString(GLenumGroup::AlphaFunction, func), ref); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - AlphaTestFunc funcPacked = PackParam(func); - std::unique_lock shareContextLock = GetContextLock(context); + AlphaTestFunc funcPacked = FromGL(func); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAlphaFuncx(context, funcPacked, ref)); if (isCallValid) @@ -10610,18 +8869,18 @@ void GL_APIENTRY GL_AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixe } } -void GL_APIENTRY GL_AttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +void GL_APIENTRY AttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) { Context *context = static_cast(ctx); - EVENT(context, GLAttachShader, "context = %d, program = %u, shader = %u", CID(context), program, - shader); + EVENT(context, gl::EntryPoint::AttachShader, "glAttachShader", + "context = %d, program = %u, shader = %u", CID(context), program, shader); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateAttachShader(context, programPacked, shaderPacked)); if (isCallValid) @@ -10636,18 +8895,18 @@ void GL_APIENTRY GL_AttachShaderContextANGLE(GLeglContext ctx, GLuint program, G } } -void GL_APIENTRY GL_BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +void GL_APIENTRY BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target), id); + EVENT(context, gl::EntryPoint::BeginQuery, "glBeginQuery", "context = %d, target = %s, id = %u", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target), id); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginQuery(context, targetPacked, idPacked)); if (isCallValid) @@ -10662,18 +8921,19 @@ void GL_APIENTRY GL_BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLui } } -void GL_APIENTRY GL_BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +void GL_APIENTRY BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLBeginQueryEXT, "context = %d, target = %s, id = %u", CID(context), + EVENT(context, gl::EntryPoint::BeginQueryEXT, "glBeginQueryEXT", + "context = %d, target = %s, id = %u", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), id); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginQueryEXT(context, targetPacked, idPacked)); if (isCallValid) @@ -10688,17 +8948,18 @@ void GL_APIENTRY GL_BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, G } } -void GL_APIENTRY GL_BeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) +void GL_APIENTRY BeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) { Context *context = static_cast(ctx); - EVENT(context, GLBeginTransformFeedback, "context = %d, primitiveMode = %s", CID(context), + EVENT(context, gl::EntryPoint::BeginTransformFeedback, "glBeginTransformFeedback", + "context = %d, primitiveMode = %s", CID(context), GLenumToString(GLenumGroup::PrimitiveType, primitiveMode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode primitiveModePacked = PackParam(primitiveMode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode primitiveModePacked = FromGL(primitiveMode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBeginTransformFeedback(context, primitiveModePacked)); if (isCallValid) @@ -10713,21 +8974,21 @@ void GL_APIENTRY GL_BeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum } } -void GL_APIENTRY GL_BindAttribLocationContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - const GLchar *name) +void GL_APIENTRY BindAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLBindAttribLocation, + EVENT(context, gl::EntryPoint::BindAttribLocation, "glBindAttribLocation", "context = %d, program = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, index, (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindAttribLocation(context, programPacked, index, name)); if (isCallValid) @@ -10742,18 +9003,19 @@ void GL_APIENTRY GL_BindAttribLocationContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) +void GL_APIENTRY BindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindBuffer, "context = %d, target = %s, buffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindBuffer, "glBindBuffer", + "context = %d, target = %s, buffer = %u", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), buffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBuffer(context, targetPacked, bufferPacked)); if (isCallValid) @@ -10768,21 +9030,22 @@ void GL_APIENTRY GL_BindBufferContextANGLE(GLeglContext ctx, GLenum target, GLui } } -void GL_APIENTRY GL_BindBufferBaseContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLuint buffer) +void GL_APIENTRY BindBufferBaseContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindBufferBase, "context = %d, target = %s, index = %u, buffer = %u", - CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer); + EVENT(context, gl::EntryPoint::BindBufferBase, "glBindBufferBase", + "context = %d, target = %s, index = %u, buffer = %u", CID(context), + GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBufferBase(context, targetPacked, index, bufferPacked)); if (isCallValid) @@ -10797,15 +9060,15 @@ void GL_APIENTRY GL_BindBufferBaseContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindBufferRangeContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY BindBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = static_cast(ctx); - EVENT(context, GLBindBufferRange, + EVENT(context, gl::EntryPoint::BindBufferRange, "glBindBufferRange", "context = %d, target = %s, index = %u, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, buffer, static_cast(offset), static_cast(size)); @@ -10813,9 +9076,9 @@ void GL_APIENTRY GL_BindBufferRangeContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindBufferRange(context, targetPacked, index, bufferPacked, offset, size)); @@ -10832,21 +9095,21 @@ void GL_APIENTRY GL_BindBufferRangeContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindFragDataLocationEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLuint color, - const GLchar *name) +void GL_APIENTRY BindFragDataLocationEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLuint color, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLBindFragDataLocationEXT, + EVENT(context, gl::EntryPoint::BindFragDataLocationEXT, "glBindFragDataLocationEXT", "context = %d, program = %u, color = %u, name = 0x%016" PRIxPTR "", CID(context), program, color, (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFragDataLocationEXT(context, programPacked, color, name)); if (isCallValid) @@ -10861,22 +9124,23 @@ void GL_APIENTRY GL_BindFragDataLocationEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLuint colorNumber, - GLuint index, - const GLchar *name) +void GL_APIENTRY BindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLuint colorNumber, + GLuint index, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLBindFragDataLocationIndexedEXT, + EVENT(context, gl::EntryPoint::BindFragDataLocationIndexedEXT, + "glBindFragDataLocationIndexedEXT", "context = %d, program = %u, colorNumber = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, colorNumber, index, (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFragDataLocationIndexedEXT( context, programPacked, colorNumber, index, name)); @@ -10893,17 +9157,18 @@ void GL_APIENTRY GL_BindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) +void GL_APIENTRY BindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindFramebuffer, "context = %d, target = %s, framebuffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindFramebuffer, "glBindFramebuffer", + "context = %d, target = %s, framebuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFramebuffer(context, target, framebufferPacked)); if (isCallValid) @@ -10918,19 +9183,18 @@ void GL_APIENTRY GL_BindFramebufferContextANGLE(GLeglContext ctx, GLenum target, } } -void GL_APIENTRY GL_BindFramebufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint framebuffer) +void GL_APIENTRY BindFramebufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindFramebufferOES, "context = %d, target = %s, framebuffer = %u", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); + EVENT(context, gl::EntryPoint::BindFramebufferOES, "glBindFramebufferOES", + "context = %d, target = %s, framebuffer = %u", CID(context), + GLenumToString(GLenumGroup::FramebufferTarget, target), framebuffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindFramebufferOES(context, target, framebufferPacked)); if (isCallValid) @@ -10945,17 +9209,17 @@ void GL_APIENTRY GL_BindFramebufferOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindImageTextureContextANGLE(GLeglContext ctx, - GLuint unit, - GLuint texture, - GLint level, - GLboolean layered, - GLint layer, - GLenum access, - GLenum format) +void GL_APIENTRY BindImageTextureContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format) { Context *context = static_cast(ctx); - EVENT(context, GLBindImageTexture, + EVENT(context, gl::EntryPoint::BindImageTexture, "glBindImageTexture", "context = %d, unit = %u, texture = %u, level = %d, layered = %s, layer = %d, access = " "%s, format = %s", CID(context), unit, texture, level, GLbooleanToString(layered), layer, @@ -10965,8 +9229,8 @@ void GL_APIENTRY GL_BindImageTextureContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindImageTexture(context, unit, texturePacked, level, layered, layer, access, format)); @@ -10983,16 +9247,17 @@ void GL_APIENTRY GL_BindImageTextureContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +void GL_APIENTRY BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { Context *context = static_cast(ctx); - EVENT(context, GLBindProgramPipeline, "context = %d, pipeline = %u", CID(context), pipeline); + EVENT(context, gl::EntryPoint::BindProgramPipeline, "glBindProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -11007,43 +9272,18 @@ void GL_APIENTRY GL_BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pip } } -void GL_APIENTRY GL_BindProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) +void GL_APIENTRY BindRenderbufferContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), pipeline); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateBindProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - context->bindProgramPipeline(pipelinePacked); - } - ANGLE_CAPTURE(BindProgramPipelineEXT, isCallValid, context, pipelinePacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_BindRenderbufferContextANGLE(GLeglContext ctx, - GLenum target, - GLuint renderbuffer) -{ - Context *context = static_cast(ctx); - EVENT(context, GLBindRenderbuffer, "context = %d, target = %s, renderbuffer = %u", CID(context), + EVENT(context, gl::EntryPoint::BindRenderbuffer, "glBindRenderbuffer", + "context = %d, target = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindRenderbuffer(context, target, renderbufferPacked)); if (isCallValid) @@ -11058,19 +9298,20 @@ void GL_APIENTRY GL_BindRenderbufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindRenderbufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint renderbuffer) +void GL_APIENTRY BindRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLBindRenderbufferOES, "context = %d, target = %s, renderbuffer = %u", - CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); + EVENT(context, gl::EntryPoint::BindRenderbufferOES, "glBindRenderbufferOES", + "context = %d, target = %s, renderbuffer = %u", CID(context), + GLenumToString(GLenumGroup::RenderbufferTarget, target), renderbuffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindRenderbufferOES(context, target, renderbufferPacked)); if (isCallValid) @@ -11085,17 +9326,17 @@ void GL_APIENTRY GL_BindRenderbufferOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) +void GL_APIENTRY BindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) { Context *context = static_cast(ctx); - EVENT(context, GLBindSampler, "context = %d, unit = %u, sampler = %u", CID(context), unit, - sampler); + EVENT(context, gl::EntryPoint::BindSampler, "glBindSampler", + "context = %d, unit = %u, sampler = %u", CID(context), unit, sampler); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindSampler(context, unit, samplerPacked)); if (isCallValid) @@ -11110,18 +9351,19 @@ void GL_APIENTRY GL_BindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuin } } -void GL_APIENTRY GL_BindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) +void GL_APIENTRY BindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) { Context *context = static_cast(ctx); - EVENT(context, GLBindTexture, "context = %d, target = %s, texture = %u", CID(context), + EVENT(context, gl::EntryPoint::BindTexture, "glBindTexture", + "context = %d, target = %s, texture = %u", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), texture); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindTexture(context, targetPacked, texturePacked)); if (isCallValid) @@ -11136,17 +9378,18 @@ void GL_APIENTRY GL_BindTextureContextANGLE(GLeglContext ctx, GLenum target, GLu } } -void GL_APIENTRY GL_BindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +void GL_APIENTRY BindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLBindTransformFeedback, "context = %d, target = %s, id = %u", CID(context), + EVENT(context, gl::EntryPoint::BindTransformFeedback, "glBindTransformFeedback", + "context = %d, target = %s, id = %u", CID(context), GLenumToString(GLenumGroup::BindTransformFeedbackTarget, target), id); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TransformFeedbackID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindTransformFeedback(context, target, idPacked)); if (isCallValid) @@ -11161,16 +9404,17 @@ void GL_APIENTRY GL_BindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum t } } -void GL_APIENTRY GL_BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +void GL_APIENTRY BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) { Context *context = static_cast(ctx); - EVENT(context, GLBindVertexArray, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::BindVertexArray, "glBindVertexArray", "context = %d, array = %u", + CID(context), array); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexArray(context, arrayPacked)); if (isCallValid) @@ -11185,16 +9429,17 @@ void GL_APIENTRY GL_BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) } } -void GL_APIENTRY GL_BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +void GL_APIENTRY BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) { Context *context = static_cast(ctx); - EVENT(context, GLBindVertexArrayOES, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::BindVertexArrayOES, "glBindVertexArrayOES", + "context = %d, array = %u", CID(context), array); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexArrayOES(context, arrayPacked)); if (isCallValid) @@ -11209,22 +9454,22 @@ void GL_APIENTRY GL_BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint arra } } -void GL_APIENTRY GL_BindVertexBufferContextANGLE(GLeglContext ctx, - GLuint bindingindex, - GLuint buffer, - GLintptr offset, - GLsizei stride) +void GL_APIENTRY BindVertexBufferContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride) { Context *context = static_cast(ctx); - EVENT(context, GLBindVertexBuffer, + EVENT(context, gl::EntryPoint::BindVertexBuffer, "glBindVertexBuffer", "context = %d, bindingindex = %u, buffer = %u, offset = %llu, stride = %d", CID(context), bindingindex, buffer, static_cast(offset), stride); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindVertexBuffer(context, bindingindex, bufferPacked, offset, stride)); @@ -11241,15 +9486,15 @@ void GL_APIENTRY GL_BindVertexBufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendBarrierContextANGLE(GLeglContext ctx) +void GL_APIENTRY BlendBarrierContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLBlendBarrier, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::BlendBarrier, "glBlendBarrier", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendBarrier(context)); if (isCallValid) { @@ -11263,39 +9508,18 @@ void GL_APIENTRY GL_BlendBarrierContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_BlendBarrierKHRContextANGLE(GLeglContext ctx) -{ - Context *context = static_cast(ctx); - EVENT(context, GLBlendBarrierKHR, "context = %d", CID(context)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || ValidateBlendBarrierKHR(context)); - if (isCallValid) - { - context->blendBarrier(); - } - ANGLE_CAPTURE(BlendBarrierKHR, isCallValid, context); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - void GL_APIENTRY -GL_BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::BlendColor, "glBlendColor", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendColor(context, red, green, blue, alpha)); if (isCallValid) @@ -11310,16 +9534,16 @@ GL_BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat } } -void GL_APIENTRY GL_BlendEquationContextANGLE(GLeglContext ctx, GLenum mode) +void GL_APIENTRY BlendEquationContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquation, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); + EVENT(context, gl::EntryPoint::BlendEquation, "glBlendEquation", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquation(context, mode)); if (isCallValid) { @@ -11333,19 +9557,20 @@ void GL_APIENTRY GL_BlendEquationContextANGLE(GLeglContext ctx, GLenum mode) } } -void GL_APIENTRY GL_BlendEquationSeparateContextANGLE(GLeglContext ctx, - GLenum modeRGB, - GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateContextANGLE(GLeglContext ctx, + GLenum modeRGB, + GLenum modeAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationSeparate, "context = %d, modeRGB = %s, modeAlpha = %s", - CID(context), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), + EVENT(context, gl::EntryPoint::BlendEquationSeparate, "glBlendEquationSeparate", + "context = %d, modeRGB = %s, modeAlpha = %s", CID(context), + GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparate(context, modeRGB, modeAlpha)); if (isCallValid) @@ -11360,20 +9585,21 @@ void GL_APIENTRY GL_BlendEquationSeparateContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendEquationSeparateiContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum modeRGB, - GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateiContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum modeRGB, + GLenum modeAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationSeparatei, "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", - CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), + EVENT(context, gl::EntryPoint::BlendEquationSeparatei, "glBlendEquationSeparatei", + "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, + GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparatei(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -11388,13 +9614,13 @@ void GL_APIENTRY GL_BlendEquationSeparateiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum modeRGB, - GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum modeRGB, + GLenum modeAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationSeparateiEXT, + EVENT(context, gl::EntryPoint::BlendEquationSeparateiEXT, "glBlendEquationSeparateiEXT", "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); @@ -11402,7 +9628,7 @@ void GL_APIENTRY GL_BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparateiEXT(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -11417,13 +9643,13 @@ void GL_APIENTRY GL_BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum modeRGB, - GLenum modeAlpha) +void GL_APIENTRY BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum modeRGB, + GLenum modeAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationSeparateiOES, + EVENT(context, gl::EntryPoint::BlendEquationSeparateiOES, "glBlendEquationSeparateiOES", "context = %d, buf = %u, modeRGB = %s, modeAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, modeRGB), GLenumToString(GLenumGroup::BlendEquationModeEXT, modeAlpha)); @@ -11431,7 +9657,7 @@ void GL_APIENTRY GL_BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationSeparateiOES(context, buf, modeRGB, modeAlpha)); if (isCallValid) @@ -11446,16 +9672,17 @@ void GL_APIENTRY GL_BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendEquationiContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationiContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationi, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationi, "glBlendEquationi", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationi(context, buf, mode)); if (isCallValid) @@ -11470,16 +9697,17 @@ void GL_APIENTRY GL_BlendEquationiContextANGLE(GLeglContext ctx, GLuint buf, GLe } } -void GL_APIENTRY GL_BlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationiEXT, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationiEXT, "glBlendEquationiEXT", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationiEXT(context, buf, mode)); if (isCallValid) @@ -11494,16 +9722,17 @@ void GL_APIENTRY GL_BlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, } } -void GL_APIENTRY GL_BlendEquationiOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) +void GL_APIENTRY BlendEquationiOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLBlendEquationiOES, "context = %d, buf = %u, mode = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendEquationiOES, "glBlendEquationiOES", + "context = %d, buf = %u, mode = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendEquationModeEXT, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendEquationiOES(context, buf, mode)); if (isCallValid) @@ -11518,17 +9747,18 @@ void GL_APIENTRY GL_BlendEquationiOESContextANGLE(GLeglContext ctx, GLuint buf, } } -void GL_APIENTRY GL_BlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) +void GL_APIENTRY BlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFunc, "context = %d, sfactor = %s, dfactor = %s", CID(context), + EVENT(context, gl::EntryPoint::BlendFunc, "glBlendFunc", + "context = %d, sfactor = %s, dfactor = %s", CID(context), GLenumToString(GLenumGroup::BlendingFactor, sfactor), GLenumToString(GLenumGroup::BlendingFactor, dfactor)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunc(context, sfactor, dfactor)); if (isCallValid) @@ -11543,14 +9773,14 @@ void GL_APIENTRY GL_BlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLen } } -void GL_APIENTRY GL_BlendFuncSeparateContextANGLE(GLeglContext ctx, - GLenum sfactorRGB, - GLenum dfactorRGB, - GLenum sfactorAlpha, - GLenum dfactorAlpha) +void GL_APIENTRY BlendFuncSeparateContextANGLE(GLeglContext ctx, + GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFuncSeparate, + EVENT(context, gl::EntryPoint::BlendFuncSeparate, "glBlendFuncSeparate", "context = %d, sfactorRGB = %s, dfactorRGB = %s, sfactorAlpha = %s, dfactorAlpha = %s", CID(context), GLenumToString(GLenumGroup::BlendingFactor, sfactorRGB), GLenumToString(GLenumGroup::BlendingFactor, dfactorRGB), @@ -11560,7 +9790,7 @@ void GL_APIENTRY GL_BlendFuncSeparateContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparate(context, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)); @@ -11577,15 +9807,15 @@ void GL_APIENTRY GL_BlendFuncSeparateContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendFuncSeparateiContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha) +void GL_APIENTRY BlendFuncSeparateiContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum srcRGB, + GLenum dstRGB, + GLenum srcAlpha, + GLenum dstAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFuncSeparatei, + EVENT(context, gl::EntryPoint::BlendFuncSeparatei, "glBlendFuncSeparatei", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -11595,7 +9825,7 @@ void GL_APIENTRY GL_BlendFuncSeparateiContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -11612,15 +9842,15 @@ void GL_APIENTRY GL_BlendFuncSeparateiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha) +void GL_APIENTRY BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum srcRGB, + GLenum dstRGB, + GLenum srcAlpha, + GLenum dstAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFuncSeparateiEXT, + EVENT(context, gl::EntryPoint::BlendFuncSeparateiEXT, "glBlendFuncSeparateiEXT", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -11630,7 +9860,7 @@ void GL_APIENTRY GL_BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparateiEXT(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -11647,15 +9877,15 @@ void GL_APIENTRY GL_BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha) +void GL_APIENTRY BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum srcRGB, + GLenum dstRGB, + GLenum srcAlpha, + GLenum dstAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFuncSeparateiOES, + EVENT(context, gl::EntryPoint::BlendFuncSeparateiOES, "glBlendFuncSeparateiOES", "context = %d, buf = %u, srcRGB = %s, dstRGB = %s, srcAlpha = %s, dstAlpha = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), GLenumToString(GLenumGroup::BlendingFactor, dstRGB), @@ -11665,7 +9895,7 @@ void GL_APIENTRY GL_BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFuncSeparateiOES(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); @@ -11682,17 +9912,18 @@ void GL_APIENTRY GL_BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlendFunciContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunciContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFunci, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunci, "glBlendFunci", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunci(context, buf, src, dst)); if (isCallValid) @@ -11707,17 +9938,18 @@ void GL_APIENTRY GL_BlendFunciContextANGLE(GLeglContext ctx, GLuint buf, GLenum } } -void GL_APIENTRY GL_BlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFunciEXT, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunciEXT, "glBlendFunciEXT", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunciEXT(context, buf, src, dst)); if (isCallValid) @@ -11732,17 +9964,18 @@ void GL_APIENTRY GL_BlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLen } } -void GL_APIENTRY GL_BlendFunciOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) +void GL_APIENTRY BlendFunciOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { Context *context = static_cast(ctx); - EVENT(context, GLBlendFunciOES, "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, + EVENT(context, gl::EntryPoint::BlendFunciOES, "glBlendFunciOES", + "context = %d, buf = %u, src = %s, dst = %s", CID(context), buf, GLenumToString(GLenumGroup::BlendingFactor, src), GLenumToString(GLenumGroup::BlendingFactor, dst)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlendFunciOES(context, buf, src, dst)); if (isCallValid) @@ -11757,20 +9990,20 @@ void GL_APIENTRY GL_BlendFunciOESContextANGLE(GLeglContext ctx, GLuint buf, GLen } } -void GL_APIENTRY GL_BlitFramebufferContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) +void GL_APIENTRY BlitFramebufferContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) { Context *context = static_cast(ctx); - EVENT(context, GLBlitFramebuffer, + EVENT(context, gl::EntryPoint::BlitFramebuffer, "glBlitFramebuffer", "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, @@ -11780,7 +10013,7 @@ void GL_APIENTRY GL_BlitFramebufferContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlitFramebuffer(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)); @@ -11798,20 +10031,20 @@ void GL_APIENTRY GL_BlitFramebufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlitFramebufferANGLEContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) +void GL_APIENTRY BlitFramebufferANGLEContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) { Context *context = static_cast(ctx); - EVENT(context, GLBlitFramebufferANGLE, + EVENT(context, gl::EntryPoint::BlitFramebufferANGLE, "glBlitFramebufferANGLE", "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, @@ -11821,7 +10054,7 @@ void GL_APIENTRY GL_BlitFramebufferANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBlitFramebufferANGLE(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)); @@ -11839,55 +10072,14 @@ void GL_APIENTRY GL_BlitFramebufferANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BlitFramebufferNVContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) +void GL_APIENTRY BufferDataContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage) { Context *context = static_cast(ctx); - EVENT(context, GLBlitFramebufferNV, - "context = %d, srcX0 = %d, srcY0 = %d, srcX1 = %d, srcY1 = %d, dstX0 = %d, dstY0 = %d, " - "dstX1 = %d, dstY1 = %d, mask = %s, filter = %s", - CID(context), srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, - GLbitfieldToString(GLenumGroup::ClearBufferMask, mask).c_str(), - GLenumToString(GLenumGroup::BlitFramebufferFilter, filter)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateBlitFramebufferNV(context, srcX0, srcY0, srcX1, srcY1, dstX0, - dstY0, dstX1, dstY1, mask, filter)); - if (isCallValid) - { - context->blitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, - filter); - } - ANGLE_CAPTURE(BlitFramebufferNV, isCallValid, context, srcX0, srcY0, srcX1, srcY1, dstX0, - dstY0, dstX1, dstY1, mask, filter); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_BufferDataContextANGLE(GLeglContext ctx, - GLenum target, - GLsizeiptr size, - const void *data, - GLenum usage) -{ - Context *context = static_cast(ctx); - EVENT(context, GLBufferData, + EVENT(context, gl::EntryPoint::BufferData, "glBufferData", "context = %d, target = %s, size = %llu, data = 0x%016" PRIxPTR ", usage = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(size), (uintptr_t)data, @@ -11896,9 +10088,9 @@ void GL_APIENTRY GL_BufferDataContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - BufferUsage usagePacked = PackParam(usage); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + BufferUsage usagePacked = FromGL(usage); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferData(context, targetPacked, size, data, usagePacked)); if (isCallValid) @@ -11913,14 +10105,14 @@ void GL_APIENTRY GL_BufferDataContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BufferStorageEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizeiptr size, - const void *data, - GLbitfield flags) +void GL_APIENTRY BufferStorageEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLbitfield flags) { Context *context = static_cast(ctx); - EVENT(context, GLBufferStorageEXT, + EVENT(context, gl::EntryPoint::BufferStorageEXT, "glBufferStorageEXT", "context = %d, target = %s, size = %llu, data = 0x%016" PRIxPTR ", flags = %s", CID(context), GLenumToString(GLenumGroup::BufferStorageTarget, target), static_cast(size), (uintptr_t)data, @@ -11929,8 +10121,8 @@ void GL_APIENTRY GL_BufferStorageEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageEXT(context, targetPacked, size, data, flags)); if (isCallValid) @@ -11945,15 +10137,15 @@ void GL_APIENTRY GL_BufferStorageEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BufferStorageExternalEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags) +void GL_APIENTRY BufferStorageExternalEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags) { Context *context = static_cast(ctx); - EVENT(context, GLBufferStorageExternalEXT, + EVENT(context, gl::EntryPoint::BufferStorageExternalEXT, "glBufferStorageExternalEXT", "context = %d, target = %s, offset = %llu, size = %llu, clientBuffer = 0x%016" PRIxPTR ", flags = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -11964,8 +10156,8 @@ void GL_APIENTRY GL_BufferStorageExternalEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageExternalEXT(context, targetPacked, offset, size, clientBuffer, flags)); @@ -11982,14 +10174,14 @@ void GL_APIENTRY GL_BufferStorageExternalEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BufferStorageMemEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizeiptr size, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY BufferStorageMemEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + GLuint memory, + GLuint64 offset) { Context *context = static_cast(ctx); - EVENT(context, GLBufferStorageMemEXT, + EVENT(context, gl::EntryPoint::BufferStorageMemEXT, "glBufferStorageMemEXT", "context = %d, target = %s, size = %llu, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(size), memory, static_cast(offset)); @@ -11997,9 +10189,9 @@ void GL_APIENTRY GL_BufferStorageMemEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferStorageMemEXT(context, targetPacked, size, memoryPacked, offset)); @@ -12016,14 +10208,14 @@ void GL_APIENTRY GL_BufferStorageMemEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BufferSubDataContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr size, - const void *data) +void GL_APIENTRY BufferSubDataContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLBufferSubData, + EVENT(context, gl::EntryPoint::BufferSubData, "glBufferSubData", "context = %d, target = %s, offset = %llu, size = %llu, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(size), @@ -12032,8 +10224,8 @@ void GL_APIENTRY GL_BufferSubDataContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBufferSubData(context, targetPacked, offset, size, data)); if (isCallValid) @@ -12048,17 +10240,18 @@ void GL_APIENTRY GL_BufferSubDataContextANGLE(GLeglContext ctx, } } -GLenum GL_APIENTRY GL_CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) +GLenum GL_APIENTRY CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLCheckFramebufferStatus, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::CheckFramebufferStatus, "glCheckFramebufferStatus", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target)); GLenum returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCheckFramebufferStatus(context, target)); if (isCallValid) @@ -12067,30 +10260,30 @@ GLenum GL_APIENTRY GL_CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenu } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CheckFramebufferStatus, isCallValid, context, target, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLenum GL_APIENTRY GL_CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) +GLenum GL_APIENTRY CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLCheckFramebufferStatusOES, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::CheckFramebufferStatusOES, "glCheckFramebufferStatusOES", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target)); GLenum returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCheckFramebufferStatusOES(context, target)); if (isCallValid) @@ -12099,30 +10292,28 @@ GLenum GL_APIENTRY GL_CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GL } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CheckFramebufferStatusOES, isCallValid, context, target, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_ClearContextANGLE(GLeglContext ctx, GLbitfield mask) +void GL_APIENTRY ClearContextANGLE(GLeglContext ctx, GLbitfield mask) { Context *context = static_cast(ctx); - EVENT(context, GLClear, "context = %d, mask = %s", CID(context), + EVENT(context, gl::EntryPoint::Clear, "glClear", "context = %d, mask = %s", CID(context), GLbitfieldToString(GLenumGroup::ClearBufferMask, mask).c_str()); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClear(context, mask)); if (isCallValid) { @@ -12136,21 +10327,21 @@ void GL_APIENTRY GL_ClearContextANGLE(GLeglContext ctx, GLbitfield mask) } } -void GL_APIENTRY GL_ClearBufferfiContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - GLfloat depth, - GLint stencil) +void GL_APIENTRY ClearBufferfiContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil) { Context *context = static_cast(ctx); - EVENT(context, GLClearBufferfi, + EVENT(context, gl::EntryPoint::ClearBufferfi, "glClearBufferfi", "context = %d, buffer = %s, drawbuffer = %d, depth = %f, stencil = %d", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, depth, stencil); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferfi(context, buffer, drawbuffer, depth, stencil)); if (isCallValid) @@ -12165,20 +10356,20 @@ void GL_APIENTRY GL_ClearBufferfiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ClearBufferfvContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLfloat *value) +void GL_APIENTRY ClearBufferfvContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLClearBufferfv, + EVENT(context, gl::EntryPoint::ClearBufferfv, "glClearBufferfv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferfv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -12193,20 +10384,20 @@ void GL_APIENTRY GL_ClearBufferfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ClearBufferivContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLint *value) +void GL_APIENTRY ClearBufferivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLClearBufferiv, + EVENT(context, gl::EntryPoint::ClearBufferiv, "glClearBufferiv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferiv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -12221,20 +10412,20 @@ void GL_APIENTRY GL_ClearBufferivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ClearBufferuivContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLuint *value) +void GL_APIENTRY ClearBufferuivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLClearBufferuiv, + EVENT(context, gl::EntryPoint::ClearBufferuiv, "glClearBufferuiv", "context = %d, buffer = %s, drawbuffer = %d, value = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearBufferuiv(context, buffer, drawbuffer, value)); if (isCallValid) @@ -12250,16 +10441,17 @@ void GL_APIENTRY GL_ClearBufferuivContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = static_cast(ctx); - EVENT(context, GLClearColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::ClearColor, "glClearColor", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearColor(context, red, green, blue, alpha)); if (isCallValid) @@ -12274,21 +10466,18 @@ GL_ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat } } -void GL_APIENTRY GL_ClearColorxContextANGLE(GLeglContext ctx, - GLfixed red, - GLfixed green, - GLfixed blue, - GLfixed alpha) +void GL_APIENTRY +ClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { Context *context = static_cast(ctx); - EVENT(context, GLClearColorx, + EVENT(context, gl::EntryPoint::ClearColorx, "glClearColorx", "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", CID(context), red, green, blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearColorx(context, red, green, blue, alpha)); if (isCallValid) @@ -12303,15 +10492,16 @@ void GL_APIENTRY GL_ClearColorxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) +void GL_APIENTRY ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) { Context *context = static_cast(ctx); - EVENT(context, GLClearDepthf, "context = %d, d = %f", CID(context), d); + EVENT(context, gl::EntryPoint::ClearDepthf, "glClearDepthf", "context = %d, d = %f", + CID(context), d); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearDepthf(context, d)); if (isCallValid) { @@ -12325,15 +10515,16 @@ void GL_APIENTRY GL_ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) } } -void GL_APIENTRY GL_ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) +void GL_APIENTRY ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) { Context *context = static_cast(ctx); - EVENT(context, GLClearDepthx, "context = %d, depth = 0x%X", CID(context), depth); + EVENT(context, gl::EntryPoint::ClearDepthx, "glClearDepthx", "context = %d, depth = 0x%X", + CID(context), depth); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearDepthx(context, depth)); if (isCallValid) { @@ -12347,15 +10538,16 @@ void GL_APIENTRY GL_ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) } } -void GL_APIENTRY GL_ClearStencilContextANGLE(GLeglContext ctx, GLint s) +void GL_APIENTRY ClearStencilContextANGLE(GLeglContext ctx, GLint s) { Context *context = static_cast(ctx); - EVENT(context, GLClearStencil, "context = %d, s = %d", CID(context), s); + EVENT(context, gl::EntryPoint::ClearStencil, "glClearStencil", "context = %d, s = %d", + CID(context), s); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClearStencil(context, s)); if (isCallValid) { @@ -12369,16 +10561,17 @@ void GL_APIENTRY GL_ClearStencilContextANGLE(GLeglContext ctx, GLint s) } } -void GL_APIENTRY GL_ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) +void GL_APIENTRY ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) { Context *context = static_cast(ctx); - EVENT(context, GLClientActiveTexture, "context = %d, texture = %s", CID(context), + EVENT(context, gl::EntryPoint::ClientActiveTexture, "glClientActiveTexture", + "context = %d, texture = %s", CID(context), GLenumToString(GLenumGroup::TextureUnit, texture)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClientActiveTexture(context, texture)); if (isCallValid) @@ -12393,13 +10586,13 @@ void GL_APIENTRY GL_ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum tex } } -GLenum GL_APIENTRY GL_ClientWaitSyncContextANGLE(GLeglContext ctx, - GLsync sync, - GLbitfield flags, - GLuint64 timeout) +GLenum GL_APIENTRY ClientWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) { Context *context = static_cast(ctx); - EVENT(context, GLClientWaitSync, + EVENT(context, gl::EntryPoint::ClientWaitSync, "glClientWaitSync", "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", CID(context), (uintptr_t)sync, GLbitfieldToString(GLenumGroup::SyncObjectMask, flags).c_str(), static_cast(timeout)); @@ -12408,7 +10601,7 @@ GLenum GL_APIENTRY GL_ClientWaitSyncContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClientWaitSync(context, sync, flags, timeout)); if (isCallValid) @@ -12417,53 +10610,29 @@ GLenum GL_APIENTRY GL_ClientWaitSyncContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(ClientWaitSync, isCallValid, context, sync, flags, timeout, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_ClipControlEXTContextANGLE(GLeglContext ctx, GLenum origin, GLenum depth) +void GL_APIENTRY ClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) { Context *context = static_cast(ctx); - EVENT(context, GLClipControlEXT, "context = %d, origin = %s, depth = %s", CID(context), - GLenumToString(GLenumGroup::DefaultGroup, origin), - GLenumToString(GLenumGroup::DefaultGroup, depth)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateClipControlEXT(context, origin, depth)); - if (isCallValid) - { - context->clipControl(origin, depth); - } - ANGLE_CAPTURE(ClipControlEXT, isCallValid, context, origin, depth); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) -{ - Context *context = static_cast(ctx); - EVENT(context, GLClipPlanef, "context = %d, p = %s, eqn = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::ClipPlanef, "glClipPlanef", + "context = %d, p = %s, eqn = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ClipPlaneName, p), (uintptr_t)eqn); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClipPlanef(context, p, eqn)); if (isCallValid) { @@ -12477,16 +10646,17 @@ void GL_APIENTRY GL_ClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLf } } -void GL_APIENTRY GL_ClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) +void GL_APIENTRY ClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) { Context *context = static_cast(ctx); - EVENT(context, GLClipPlanex, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::ClipPlanex, "glClipPlanex", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateClipPlanex(context, plane, equation)); if (isCallValid) @@ -12502,16 +10672,17 @@ void GL_APIENTRY GL_ClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const } void GL_APIENTRY -GL_Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { Context *context = static_cast(ctx); - EVENT(context, GLColor4f, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4f, "glColor4f", + "context = %d, red = %f, green = %f, blue = %f, alpha = %f", CID(context), red, green, + blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4f(context, red, green, blue, alpha)); if (isCallValid) @@ -12527,16 +10698,17 @@ GL_Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blu } void GL_APIENTRY -GL_Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { Context *context = static_cast(ctx); - EVENT(context, GLColor4ub, "context = %d, red = %d, green = %d, blue = %d, alpha = %d", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4ub, "glColor4ub", + "context = %d, red = %d, green = %d, blue = %d, alpha = %d", CID(context), red, green, + blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4ub(context, red, green, blue, alpha)); if (isCallValid) @@ -12552,16 +10724,17 @@ GL_Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte bl } void GL_APIENTRY -GL_Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { Context *context = static_cast(ctx); - EVENT(context, GLColor4x, "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", - CID(context), red, green, blue, alpha); + EVENT(context, gl::EntryPoint::Color4x, "glColor4x", + "context = %d, red = 0x%X, green = 0x%X, blue = 0x%X, alpha = 0x%X", CID(context), red, + green, blue, alpha); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColor4x(context, red, green, blue, alpha)); if (isCallValid) @@ -12576,21 +10749,22 @@ GL_Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blu } } -void GL_APIENTRY GL_ColorMaskContextANGLE(GLeglContext ctx, - GLboolean red, - GLboolean green, - GLboolean blue, - GLboolean alpha) +void GL_APIENTRY ColorMaskContextANGLE(GLeglContext ctx, + GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha) { Context *context = static_cast(ctx); - EVENT(context, GLColorMask, "context = %d, red = %s, green = %s, blue = %s, alpha = %s", - CID(context), GLbooleanToString(red), GLbooleanToString(green), GLbooleanToString(blue), + EVENT(context, gl::EntryPoint::ColorMask, "glColorMask", + "context = %d, red = %s, green = %s, blue = %s, alpha = %s", CID(context), + GLbooleanToString(red), GLbooleanToString(green), GLbooleanToString(blue), GLbooleanToString(alpha)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMask(context, red, green, blue, alpha)); if (isCallValid) @@ -12605,22 +10779,22 @@ void GL_APIENTRY GL_ColorMaskContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ColorMaskiContextANGLE(GLeglContext ctx, - GLuint index, - GLboolean r, - GLboolean g, - GLboolean b, - GLboolean a) +void GL_APIENTRY ColorMaskiContextANGLE(GLeglContext ctx, + GLuint index, + GLboolean r, + GLboolean g, + GLboolean b, + GLboolean a) { Context *context = static_cast(ctx); - EVENT(context, GLColorMaski, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaski, "glColorMaski", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaski(context, index, r, g, b, a)); if (isCallValid) @@ -12635,22 +10809,22 @@ void GL_APIENTRY GL_ColorMaskiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ColorMaskiEXTContextANGLE(GLeglContext ctx, - GLuint index, - GLboolean r, - GLboolean g, - GLboolean b, - GLboolean a) +void GL_APIENTRY ColorMaskiEXTContextANGLE(GLeglContext ctx, + GLuint index, + GLboolean r, + GLboolean g, + GLboolean b, + GLboolean a) { Context *context = static_cast(ctx); - EVENT(context, GLColorMaskiEXT, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaskiEXT, "glColorMaskiEXT", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaskiEXT(context, index, r, g, b, a)); if (isCallValid) @@ -12665,22 +10839,22 @@ void GL_APIENTRY GL_ColorMaskiEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ColorMaskiOESContextANGLE(GLeglContext ctx, - GLuint index, - GLboolean r, - GLboolean g, - GLboolean b, - GLboolean a) +void GL_APIENTRY ColorMaskiOESContextANGLE(GLeglContext ctx, + GLuint index, + GLboolean r, + GLboolean g, + GLboolean b, + GLboolean a) { Context *context = static_cast(ctx); - EVENT(context, GLColorMaskiOES, "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", - CID(context), index, GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), - GLbooleanToString(a)); + EVENT(context, gl::EntryPoint::ColorMaskiOES, "glColorMaskiOES", + "context = %d, index = %u, r = %s, g = %s, b = %s, a = %s", CID(context), index, + GLbooleanToString(r), GLbooleanToString(g), GLbooleanToString(b), GLbooleanToString(a)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorMaskiOES(context, index, r, g, b, a)); if (isCallValid) @@ -12695,14 +10869,14 @@ void GL_APIENTRY GL_ColorMaskiOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ColorPointerContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY ColorPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLColorPointer, + EVENT(context, gl::EntryPoint::ColorPointer, "glColorPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::ColorPointerType, type), stride, (uintptr_t)pointer); @@ -12710,8 +10884,8 @@ void GL_APIENTRY GL_ColorPointerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateColorPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -12726,16 +10900,17 @@ void GL_APIENTRY GL_ColorPointerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompileShaderContextANGLE(GLeglContext ctx, GLuint shader) +void GL_APIENTRY CompileShaderContextANGLE(GLeglContext ctx, GLuint shader) { Context *context = static_cast(ctx); - EVENT(context, GLCompileShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::CompileShader, "glCompileShader", "context = %d, shader = %u", + CID(context), shader); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompileShader(context, shaderPacked)); if (isCallValid) @@ -12750,18 +10925,18 @@ void GL_APIENTRY GL_CompileShaderContextANGLE(GLeglContext ctx, GLuint shader) } } -void GL_APIENTRY GL_CompressedTexImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexImage2D, + EVENT(context, gl::EntryPoint::CompressedTexImage2D, "glCompressedTexImage2D", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -12771,8 +10946,8 @@ void GL_APIENTRY GL_CompressedTexImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage2D(context, targetPacked, level, internalformat, width, @@ -12791,19 +10966,19 @@ void GL_APIENTRY GL_CompressedTexImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexImage3D, + EVENT(context, gl::EntryPoint::CompressedTexImage3D, "glCompressedTexImage3D", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -12813,8 +10988,8 @@ void GL_APIENTRY GL_CompressedTexImage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3D(context, targetPacked, level, internalformat, width, @@ -12833,19 +11008,19 @@ void GL_APIENTRY GL_CompressedTexImage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexImage3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexImage3DOES, + EVENT(context, gl::EntryPoint::CompressedTexImage3DOES, "glCompressedTexImage3DOES", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -12855,8 +11030,8 @@ void GL_APIENTRY GL_CompressedTexImage3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3DOES(context, targetPacked, level, internalformat, width, @@ -12875,19 +11050,19 @@ void GL_APIENTRY GL_CompressedTexImage3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexSubImage2D, + EVENT(context, gl::EntryPoint::CompressedTexSubImage2D, "glCompressedTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -12897,8 +11072,8 @@ void GL_APIENTRY GL_CompressedTexSubImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, @@ -12917,21 +11092,21 @@ void GL_APIENTRY GL_CompressedTexSubImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexSubImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexSubImage3D, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3D, "glCompressedTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -12941,8 +11116,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, @@ -12961,21 +11136,21 @@ void GL_APIENTRY GL_CompressedTexSubImage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data) +void GL_APIENTRY CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexSubImage3DOES, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3DOES, "glCompressedTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -12985,8 +11160,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3DOES( context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -13005,15 +11180,15 @@ void GL_APIENTRY GL_CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyBufferSubDataContextANGLE(GLeglContext ctx, - GLenum readTarget, - GLenum writeTarget, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size) +void GL_APIENTRY CopyBufferSubDataContextANGLE(GLeglContext ctx, + GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size) { Context *context = static_cast(ctx); - EVENT(context, GLCopyBufferSubData, + EVENT(context, gl::EntryPoint::CopyBufferSubData, "glCopyBufferSubData", "context = %d, readTarget = %s, writeTarget = %s, readOffset = %llu, writeOffset = %llu, " "size = %llu", CID(context), GLenumToString(GLenumGroup::CopyBufferSubDataTarget, readTarget), @@ -13024,9 +11199,9 @@ void GL_APIENTRY GL_CopyBufferSubDataContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding readTargetPacked = PackParam(readTarget); - BufferBinding writeTargetPacked = PackParam(writeTarget); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding readTargetPacked = FromGL(readTarget); + BufferBinding writeTargetPacked = FromGL(writeTarget); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyBufferSubData(context, readTargetPacked, writeTargetPacked, readOffset, writeOffset, size)); @@ -13044,25 +11219,25 @@ void GL_APIENTRY GL_CopyBufferSubDataContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyImageSubDataContextANGLE(GLeglContext ctx, - GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubDataContextANGLE(GLeglContext ctx, + GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = static_cast(ctx); - EVENT(context, GLCopyImageSubData, + EVENT(context, gl::EntryPoint::CopyImageSubData, "glCopyImageSubData", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -13074,7 +11249,7 @@ void GL_APIENTRY GL_CopyImageSubDataContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubData(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, @@ -13095,25 +11270,25 @@ void GL_APIENTRY GL_CopyImageSubDataContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyImageSubDataEXTContextANGLE(GLeglContext ctx, - GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubDataEXTContextANGLE(GLeglContext ctx, + GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = static_cast(ctx); - EVENT(context, GLCopyImageSubDataEXT, + EVENT(context, gl::EntryPoint::CopyImageSubDataEXT, "glCopyImageSubDataEXT", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -13125,7 +11300,7 @@ void GL_APIENTRY GL_CopyImageSubDataEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubDataEXT(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, @@ -13147,25 +11322,25 @@ void GL_APIENTRY GL_CopyImageSubDataEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyImageSubDataOESContextANGLE(GLeglContext ctx, - GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth) +void GL_APIENTRY CopyImageSubDataOESContextANGLE(GLeglContext ctx, + GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth) { Context *context = static_cast(ctx); - EVENT(context, GLCopyImageSubDataOES, + EVENT(context, gl::EntryPoint::CopyImageSubDataOES, "glCopyImageSubDataOES", "context = %d, srcName = %u, srcTarget = %s, srcLevel = %d, srcX = %d, srcY = %d, srcZ = " "%d, dstName = %u, dstTarget = %s, dstLevel = %d, dstX = %d, dstY = %d, dstZ = %d, " "srcWidth = %d, srcHeight = %d, srcDepth = %d", @@ -13177,7 +11352,7 @@ void GL_APIENTRY GL_CopyImageSubDataOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyImageSubDataOES(context, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, @@ -13199,18 +11374,18 @@ void GL_APIENTRY GL_CopyImageSubDataOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyTexImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLint border) +void GL_APIENTRY CopyTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTexImage2D, + EVENT(context, gl::EntryPoint::CopyTexImage2D, "glCopyTexImage2D", "context = %d, target = %s, level = %d, internalformat = %s, x = %d, y = %d, width = %d, " "height = %d, border = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -13219,8 +11394,8 @@ void GL_APIENTRY GL_CopyTexImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexImage2D(context, targetPacked, level, internalformat, x, y, width, height, border)); @@ -13238,18 +11413,18 @@ void GL_APIENTRY GL_CopyTexImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyTexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTexSubImage2D, + EVENT(context, gl::EntryPoint::CopyTexSubImage2D, "glCopyTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, x = %d, y = %d, " "width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -13258,8 +11433,8 @@ void GL_APIENTRY GL_CopyTexSubImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage2D(context, targetPacked, level, xoffset, yoffset, x, y, width, height)); @@ -13276,19 +11451,19 @@ void GL_APIENTRY GL_CopyTexSubImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyTexSubImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTexSubImage3D, + EVENT(context, gl::EntryPoint::CopyTexSubImage3D, "glCopyTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, x = " "%d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -13297,8 +11472,8 @@ void GL_APIENTRY GL_CopyTexSubImage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, x, y, width, height)); @@ -13316,19 +11491,19 @@ void GL_APIENTRY GL_CopyTexSubImage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTexSubImage3DOES, + EVENT(context, gl::EntryPoint::CopyTexSubImage3DOES, "glCopyTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, x = " "%d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -13337,8 +11512,8 @@ void GL_APIENTRY GL_CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexSubImage3DOES(context, targetPacked, level, xoffset, yoffset, zoffset, x, y, width, height)); @@ -13356,20 +11531,20 @@ void GL_APIENTRY GL_CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *memoryObjects) +void GL_APIENTRY CreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *memoryObjects) { Context *context = static_cast(ctx); - EVENT(context, GLCreateMemoryObjectsEXT, + EVENT(context, gl::EntryPoint::CreateMemoryObjectsEXT, "glCreateMemoryObjectsEXT", "context = %d, n = %d, memoryObjects = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)memoryObjects); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID *memoryObjectsPacked = PackParam(memoryObjects); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID *memoryObjectsPacked = FromGL(memoryObjects); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateMemoryObjectsEXT(context, n, memoryObjectsPacked)); if (isCallValid) @@ -13384,16 +11559,16 @@ void GL_APIENTRY GL_CreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, } } -GLuint GL_APIENTRY GL_CreateProgramContextANGLE(GLeglContext ctx) +GLuint GL_APIENTRY CreateProgramContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLCreateProgram, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::CreateProgram, "glCreateProgram", "context = %d", CID(context)); GLuint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateProgram(context)); if (isCallValid) { @@ -13401,30 +11576,30 @@ GLuint GL_APIENTRY GL_CreateProgramContextANGLE(GLeglContext ctx) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateProgram, isCallValid, context, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLuint GL_APIENTRY GL_CreateShaderContextANGLE(GLeglContext ctx, GLenum type) +GLuint GL_APIENTRY CreateShaderContextANGLE(GLeglContext ctx, GLenum type) { Context *context = static_cast(ctx); - EVENT(context, GLCreateShader, "context = %d, type = %s", CID(context), - GLenumToString(GLenumGroup::ShaderType, type)); + EVENT(context, gl::EntryPoint::CreateShader, "glCreateShader", "context = %d, type = %s", + CID(context), GLenumToString(GLenumGroup::ShaderType, type)); GLuint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateShader(context, typePacked)); if (isCallValid) { @@ -13432,25 +11607,25 @@ GLuint GL_APIENTRY GL_CreateShaderContextANGLE(GLeglContext ctx, GLenum type) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateShader, isCallValid, context, typePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLuint GL_APIENTRY GL_CreateShaderProgramvContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei count, - const GLchar *const *strings) +GLuint GL_APIENTRY CreateShaderProgramvContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei count, + const GLchar *const *strings) { Context *context = static_cast(ctx); - EVENT(context, GLCreateShaderProgramv, + EVENT(context, gl::EntryPoint::CreateShaderProgramv, "glCreateShaderProgramv", "context = %d, type = %s, count = %d, strings = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ShaderType, type), count, (uintptr_t)strings); @@ -13458,8 +11633,8 @@ GLuint GL_APIENTRY GL_CreateShaderProgramvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCreateShaderProgramv(context, typePacked, count, strings)); if (isCallValid) @@ -13468,8 +11643,7 @@ GLuint GL_APIENTRY GL_CreateShaderProgramvContextANGLE(GLeglContext ctx, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(CreateShaderProgramv, isCallValid, context, typePacked, count, strings, returnValue); @@ -13477,60 +11651,22 @@ GLuint GL_APIENTRY GL_CreateShaderProgramvContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLuint GL_APIENTRY GL_CreateShaderProgramvEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei count, - const GLchar **strings) +void GL_APIENTRY CullFaceContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLCreateShaderProgramvEXT, - "context = %d, type = %s, count = %d, strings = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::ShaderType, type), count, (uintptr_t)strings); - - GLuint returnValue; - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateCreateShaderProgramvEXT(context, typePacked, count, strings)); - if (isCallValid) - { - returnValue = context->createShaderProgramv(typePacked, count, strings); - } - else - { - returnValue = - GetDefaultReturnValue(); - } - ANGLE_CAPTURE(CreateShaderProgramvEXT, isCallValid, context, typePacked, count, strings, - returnValue); - } - else - { - GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); - } - return returnValue; -} - -void GL_APIENTRY GL_CullFaceContextANGLE(GLeglContext ctx, GLenum mode) -{ - Context *context = static_cast(ctx); - EVENT(context, GLCullFace, "context = %d, mode = %s", CID(context), + EVENT(context, gl::EntryPoint::CullFace, "glCullFace", "context = %d, mode = %s", CID(context), GLenumToString(GLenumGroup::CullFaceMode, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - CullFaceMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + CullFaceMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCullFace(context, modePacked)); if (isCallValid) { @@ -13544,16 +11680,16 @@ void GL_APIENTRY GL_CullFaceContextANGLE(GLeglContext ctx, GLenum mode) } } -void GL_APIENTRY GL_CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) +void GL_APIENTRY CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) { Context *context = static_cast(ctx); - EVENT(context, GLCurrentPaletteMatrixOES, "context = %d, matrixpaletteindex = %u", CID(context), - matrixpaletteindex); + EVENT(context, gl::EntryPoint::CurrentPaletteMatrixOES, "glCurrentPaletteMatrixOES", + "context = %d, matrixpaletteindex = %u", CID(context), matrixpaletteindex); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCurrentPaletteMatrixOES(context, matrixpaletteindex)); if (isCallValid) @@ -13568,19 +11704,19 @@ void GL_APIENTRY GL_CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint } } -void GL_APIENTRY GL_DebugMessageCallbackContextANGLE(GLeglContext ctx, - GLDEBUGPROC callback, - const void *userParam) +void GL_APIENTRY DebugMessageCallbackContextANGLE(GLeglContext ctx, + GLDEBUGPROC callback, + const void *userParam) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageCallback, + EVENT(context, gl::EntryPoint::DebugMessageCallback, "glDebugMessageCallback", "context = %d, callback = 0x%016" PRIxPTR ", userParam = 0x%016" PRIxPTR "", CID(context), (uintptr_t)callback, (uintptr_t)userParam); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageCallback(context, callback, userParam)); if (isCallValid) @@ -13595,19 +11731,19 @@ void GL_APIENTRY GL_DebugMessageCallbackContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, - GLDEBUGPROCKHR callback, - const void *userParam) +void GL_APIENTRY DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, + GLDEBUGPROCKHR callback, + const void *userParam) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageCallbackKHR, + EVENT(context, gl::EntryPoint::DebugMessageCallbackKHR, "glDebugMessageCallbackKHR", "context = %d, callback = 0x%016" PRIxPTR ", userParam = 0x%016" PRIxPTR "", CID(context), (uintptr_t)callback, (uintptr_t)userParam); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageCallbackKHR(context, callback, userParam)); if (isCallValid) @@ -13622,16 +11758,16 @@ void GL_APIENTRY GL_DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DebugMessageControlContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled) +void GL_APIENTRY DebugMessageControlContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageControl, + EVENT(context, gl::EntryPoint::DebugMessageControl, "glDebugMessageControl", "context = %d, source = %s, type = %s, severity = %s, count = %d, ids = 0x%016" PRIxPTR ", enabled = %s", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -13642,7 +11778,7 @@ void GL_APIENTRY GL_DebugMessageControlContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageControl(context, source, type, severity, count, ids, enabled)); @@ -13659,16 +11795,16 @@ void GL_APIENTRY GL_DebugMessageControlContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DebugMessageControlKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled) +void GL_APIENTRY DebugMessageControlKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageControlKHR, + EVENT(context, gl::EntryPoint::DebugMessageControlKHR, "glDebugMessageControlKHR", "context = %d, source = %s, type = %s, severity = %s, count = %d, ids = 0x%016" PRIxPTR ", enabled = %s", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -13679,7 +11815,7 @@ void GL_APIENTRY GL_DebugMessageControlKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageControlKHR(context, source, type, severity, count, ids, enabled)); @@ -13696,16 +11832,16 @@ void GL_APIENTRY GL_DebugMessageControlKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DebugMessageInsertContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf) +void GL_APIENTRY DebugMessageInsertContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageInsert, + EVENT(context, gl::EntryPoint::DebugMessageInsert, "glDebugMessageInsert", "context = %d, source = %s, type = %s, id = %u, severity = %s, length = %d, buf = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -13715,7 +11851,7 @@ void GL_APIENTRY GL_DebugMessageInsertContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageInsert(context, source, type, id, severity, length, buf)); @@ -13732,16 +11868,16 @@ void GL_APIENTRY GL_DebugMessageInsertContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DebugMessageInsertKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf) +void GL_APIENTRY DebugMessageInsertKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) { Context *context = static_cast(ctx); - EVENT(context, GLDebugMessageInsertKHR, + EVENT(context, gl::EntryPoint::DebugMessageInsertKHR, "glDebugMessageInsertKHR", "context = %d, source = %s, type = %s, id = %u, severity = %s, length = %d, buf = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), @@ -13751,7 +11887,7 @@ void GL_APIENTRY GL_DebugMessageInsertKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDebugMessageInsertKHR(context, source, type, id, severity, length, buf)); @@ -13768,17 +11904,17 @@ void GL_APIENTRY GL_DebugMessageInsertKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) +void GL_APIENTRY DeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteBuffers, "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)buffers); + EVENT(context, gl::EntryPoint::DeleteBuffers, "glDeleteBuffers", + "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)buffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const BufferID *buffersPacked = PackParam(buffers); - std::unique_lock shareContextLock = GetContextLock(context); + const BufferID *buffersPacked = FromGL(buffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteBuffers(context, n, buffersPacked)); if (isCallValid) @@ -13793,17 +11929,17 @@ void GL_APIENTRY GL_DeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const } } -void GL_APIENTRY GL_DeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) +void GL_APIENTRY DeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteFencesNV, "context = %d, n = %d, fences = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)fences); + EVENT(context, gl::EntryPoint::DeleteFencesNV, "glDeleteFencesNV", + "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)fences); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const FenceNVID *fencesPacked = PackParam(fences); - std::unique_lock shareContextLock = GetContextLock(context); + const FenceNVID *fencesPacked = FromGL(fences); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFencesNV(context, n, fencesPacked)); if (isCallValid) @@ -13818,19 +11954,20 @@ void GL_APIENTRY GL_DeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, cons } } -void GL_APIENTRY GL_DeleteFramebuffersContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *framebuffers) +void GL_APIENTRY DeleteFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteFramebuffers, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::DeleteFramebuffers, "glDeleteFramebuffers", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFramebuffers(context, n, framebuffersPacked)); if (isCallValid) @@ -13845,20 +11982,20 @@ void GL_APIENTRY GL_DeleteFramebuffersContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteFramebuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *framebuffers) +void GL_APIENTRY DeleteFramebuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteFramebuffersOES, + EVENT(context, gl::EntryPoint::DeleteFramebuffersOES, "glDeleteFramebuffersOES", "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)framebuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteFramebuffersOES(context, n, framebuffersPacked)); if (isCallValid) @@ -13873,21 +12010,20 @@ void GL_APIENTRY GL_DeleteFramebuffersOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *memoryObjects) +void GL_APIENTRY DeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *memoryObjects) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteMemoryObjectsEXT, + EVENT(context, gl::EntryPoint::DeleteMemoryObjectsEXT, "glDeleteMemoryObjectsEXT", "context = %d, n = %d, memoryObjects = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)memoryObjects); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const MemoryObjectID *memoryObjectsPacked = - PackParam(memoryObjects); - std::unique_lock shareContextLock = GetContextLock(context); + const MemoryObjectID *memoryObjectsPacked = FromGL(memoryObjects); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteMemoryObjectsEXT(context, n, memoryObjectsPacked)); if (isCallValid) @@ -13902,16 +12038,17 @@ void GL_APIENTRY GL_DeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteProgramContextANGLE(GLeglContext ctx, GLuint program) +void GL_APIENTRY DeleteProgramContextANGLE(GLeglContext ctx, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::DeleteProgram, "glDeleteProgram", "context = %d, program = %u", + CID(context), program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteProgram(context, programPacked)); if (isCallValid) @@ -13926,19 +12063,20 @@ void GL_APIENTRY GL_DeleteProgramContextANGLE(GLeglContext ctx, GLuint program) } } -void GL_APIENTRY GL_DeleteProgramPipelinesContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *pipelines) +void GL_APIENTRY DeleteProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *pipelines) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteProgramPipelines, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::DeleteProgramPipelines, "glDeleteProgramPipelines", + "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)pipelines); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); + const ProgramPipelineID *pipelinesPacked = FromGL(pipelines); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteProgramPipelines(context, n, pipelinesPacked)); if (isCallValid) @@ -13953,45 +12091,17 @@ void GL_APIENTRY GL_DeleteProgramPipelinesContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *pipelines) +void GL_APIENTRY DeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteProgramPipelinesEXT, - "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::DeleteQueries, "glDeleteQueries", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateDeleteProgramPipelinesEXT(context, n, pipelinesPacked)); - if (isCallValid) - { - context->deleteProgramPipelines(n, pipelinesPacked); - } - ANGLE_CAPTURE(DeleteProgramPipelinesEXT, isCallValid, context, n, pipelinesPacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_DeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) -{ - Context *context = static_cast(ctx); - EVENT(context, GLDeleteQueries, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)ids); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - const QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteQueries(context, n, idsPacked)); if (isCallValid) @@ -14006,17 +12116,17 @@ void GL_APIENTRY GL_DeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const } } -void GL_APIENTRY GL_DeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) +void GL_APIENTRY DeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteQueriesEXT, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::DeleteQueriesEXT, "glDeleteQueriesEXT", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteQueriesEXT(context, n, idsPacked)); if (isCallValid) @@ -14031,20 +12141,20 @@ void GL_APIENTRY GL_DeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, co } } -void GL_APIENTRY GL_DeleteRenderbuffersContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *renderbuffers) +void GL_APIENTRY DeleteRenderbuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteRenderbuffers, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::DeleteRenderbuffers, "glDeleteRenderbuffers", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const RenderbufferID *renderbuffersPacked = - PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteRenderbuffers(context, n, renderbuffersPacked)); if (isCallValid) @@ -14059,21 +12169,20 @@ void GL_APIENTRY GL_DeleteRenderbuffersContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *renderbuffers) +void GL_APIENTRY DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteRenderbuffersOES, + EVENT(context, gl::EntryPoint::DeleteRenderbuffersOES, "glDeleteRenderbuffersOES", "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)renderbuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const RenderbufferID *renderbuffersPacked = - PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + const RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteRenderbuffersOES(context, n, renderbuffersPacked)); if (isCallValid) @@ -14088,19 +12197,18 @@ void GL_APIENTRY GL_DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteSamplersContextANGLE(GLeglContext ctx, - GLsizei count, - const GLuint *samplers) +void GL_APIENTRY DeleteSamplersContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *samplers) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteSamplers, "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", - CID(context), count, (uintptr_t)samplers); + EVENT(context, gl::EntryPoint::DeleteSamplers, "glDeleteSamplers", + "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", CID(context), count, + (uintptr_t)samplers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const SamplerID *samplersPacked = PackParam(samplers); - std::unique_lock shareContextLock = GetContextLock(context); + const SamplerID *samplersPacked = FromGL(samplers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSamplers(context, count, samplersPacked)); if (isCallValid) @@ -14115,19 +12223,20 @@ void GL_APIENTRY GL_DeleteSamplersContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteSemaphoresEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *semaphores) +void GL_APIENTRY DeleteSemaphoresEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *semaphores) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteSemaphoresEXT, "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)semaphores); + EVENT(context, gl::EntryPoint::DeleteSemaphoresEXT, "glDeleteSemaphoresEXT", + "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)semaphores); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const SemaphoreID *semaphoresPacked = PackParam(semaphores); - std::unique_lock shareContextLock = GetContextLock(context); + const SemaphoreID *semaphoresPacked = FromGL(semaphores); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSemaphoresEXT(context, n, semaphoresPacked)); if (isCallValid) @@ -14142,16 +12251,17 @@ void GL_APIENTRY GL_DeleteSemaphoresEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) +void GL_APIENTRY DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::DeleteShader, "glDeleteShader", "context = %d, shader = %u", + CID(context), shader); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteShader(context, shaderPacked)); if (isCallValid) @@ -14166,16 +12276,16 @@ void GL_APIENTRY GL_DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) } } -void GL_APIENTRY GL_DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) +void GL_APIENTRY DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteSync, "context = %d, sync = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)sync); + EVENT(context, gl::EntryPoint::DeleteSync, "glDeleteSync", + "context = %d, sync = 0x%016" PRIxPTR "", CID(context), (uintptr_t)sync); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteSync(context, sync)); if (isCallValid) { @@ -14189,17 +12299,18 @@ void GL_APIENTRY GL_DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) } } -void GL_APIENTRY GL_DeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) +void GL_APIENTRY DeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteTextures, "context = %d, n = %d, textures = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)textures); + EVENT(context, gl::EntryPoint::DeleteTextures, "glDeleteTextures", + "context = %d, n = %d, textures = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)textures); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteTextures(context, n, texturesPacked)); if (isCallValid) @@ -14214,19 +12325,19 @@ void GL_APIENTRY GL_DeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, cons } } -void GL_APIENTRY GL_DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *ids) +void GL_APIENTRY DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteTransformFeedbacks, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::DeleteTransformFeedbacks, "glDeleteTransformFeedbacks", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const TransformFeedbackID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + const TransformFeedbackID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteTransformFeedbacks(context, n, idsPacked)); if (isCallValid) @@ -14241,19 +12352,17 @@ void GL_APIENTRY GL_DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteVertexArraysContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *arrays) +void GL_APIENTRY DeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteVertexArrays, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::DeleteVertexArrays, "glDeleteVertexArrays", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + const VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteVertexArrays(context, n, arraysPacked)); if (isCallValid) @@ -14268,19 +12377,19 @@ void GL_APIENTRY GL_DeleteVertexArraysContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DeleteVertexArraysOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *arrays) +void GL_APIENTRY DeleteVertexArraysOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays) { Context *context = static_cast(ctx); - EVENT(context, GLDeleteVertexArraysOES, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::DeleteVertexArraysOES, "glDeleteVertexArraysOES", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + const VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDeleteVertexArraysOES(context, n, arraysPacked)); if (isCallValid) @@ -14295,16 +12404,16 @@ void GL_APIENTRY GL_DeleteVertexArraysOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DepthFuncContextANGLE(GLeglContext ctx, GLenum func) +void GL_APIENTRY DepthFuncContextANGLE(GLeglContext ctx, GLenum func) { Context *context = static_cast(ctx); - EVENT(context, GLDepthFunc, "context = %d, func = %s", CID(context), - GLenumToString(GLenumGroup::DepthFunction, func)); + EVENT(context, gl::EntryPoint::DepthFunc, "glDepthFunc", "context = %d, func = %s", + CID(context), GLenumToString(GLenumGroup::DepthFunction, func)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthFunc(context, func)); if (isCallValid) { @@ -14318,15 +12427,16 @@ void GL_APIENTRY GL_DepthFuncContextANGLE(GLeglContext ctx, GLenum func) } } -void GL_APIENTRY GL_DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) +void GL_APIENTRY DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) { Context *context = static_cast(ctx); - EVENT(context, GLDepthMask, "context = %d, flag = %s", CID(context), GLbooleanToString(flag)); + EVENT(context, gl::EntryPoint::DepthMask, "glDepthMask", "context = %d, flag = %s", + CID(context), GLbooleanToString(flag)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthMask(context, flag)); if (isCallValid) { @@ -14340,15 +12450,16 @@ void GL_APIENTRY GL_DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) } } -void GL_APIENTRY GL_DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) +void GL_APIENTRY DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) { Context *context = static_cast(ctx); - EVENT(context, GLDepthRangef, "context = %d, n = %f, f = %f", CID(context), n, f); + EVENT(context, gl::EntryPoint::DepthRangef, "glDepthRangef", "context = %d, n = %f, f = %f", + CID(context), n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthRangef(context, n, f)); if (isCallValid) { @@ -14362,15 +12473,16 @@ void GL_APIENTRY GL_DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat } } -void GL_APIENTRY GL_DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) +void GL_APIENTRY DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) { Context *context = static_cast(ctx); - EVENT(context, GLDepthRangex, "context = %d, n = 0x%X, f = 0x%X", CID(context), n, f); + EVENT(context, gl::EntryPoint::DepthRangex, "glDepthRangex", "context = %d, n = 0x%X, f = 0x%X", + CID(context), n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDepthRangex(context, n, f)); if (isCallValid) { @@ -14384,18 +12496,18 @@ void GL_APIENTRY GL_DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed } } -void GL_APIENTRY GL_DetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +void GL_APIENTRY DetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) { Context *context = static_cast(ctx); - EVENT(context, GLDetachShader, "context = %d, program = %u, shader = %u", CID(context), program, - shader); + EVENT(context, gl::EntryPoint::DetachShader, "glDetachShader", + "context = %d, program = %u, shader = %u", CID(context), program, shader); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDetachShader(context, programPacked, shaderPacked)); if (isCallValid) @@ -14410,16 +12522,16 @@ void GL_APIENTRY GL_DetachShaderContextANGLE(GLeglContext ctx, GLuint program, G } } -void GL_APIENTRY GL_DisableContextANGLE(GLeglContext ctx, GLenum cap) +void GL_APIENTRY DisableContextANGLE(GLeglContext ctx, GLenum cap) { Context *context = static_cast(ctx); - EVENT(context, GLDisable, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::Disable, "glDisable", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisable(context, cap)); if (isCallValid) { @@ -14433,17 +12545,17 @@ void GL_APIENTRY GL_DisableContextANGLE(GLeglContext ctx, GLenum cap) } } -void GL_APIENTRY GL_DisableClientStateContextANGLE(GLeglContext ctx, GLenum array) +void GL_APIENTRY DisableClientStateContextANGLE(GLeglContext ctx, GLenum array) { Context *context = static_cast(ctx); - EVENT(context, GLDisableClientState, "context = %d, array = %s", CID(context), - GLenumToString(GLenumGroup::EnableCap, array)); + EVENT(context, gl::EntryPoint::DisableClientState, "glDisableClientState", + "context = %d, array = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, array)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ClientVertexArrayType arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + ClientVertexArrayType arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableClientState(context, arrayPacked)); if (isCallValid) @@ -14458,15 +12570,16 @@ void GL_APIENTRY GL_DisableClientStateContextANGLE(GLeglContext ctx, GLenum arra } } -void GL_APIENTRY GL_DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +void GL_APIENTRY DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLDisableVertexAttribArray, "context = %d, index = %u", CID(context), index); + EVENT(context, gl::EntryPoint::DisableVertexAttribArray, "glDisableVertexAttribArray", + "context = %d, index = %u", CID(context), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableVertexAttribArray(context, index)); if (isCallValid) @@ -14481,16 +12594,16 @@ void GL_APIENTRY GL_DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuin } } -void GL_APIENTRY GL_DisableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY DisableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLDisablei, "context = %d, target = %s, index = %u", CID(context), - GLenumToString(GLenumGroup::EnableCap, target), index); + EVENT(context, gl::EntryPoint::Disablei, "glDisablei", "context = %d, target = %s, index = %u", + CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisablei(context, target, index)); if (isCallValid) { @@ -14504,16 +12617,17 @@ void GL_APIENTRY GL_DisableiContextANGLE(GLeglContext ctx, GLenum target, GLuint } } -void GL_APIENTRY GL_DisableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY DisableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLDisableiEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::DisableiEXT, "glDisableiEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableiEXT(context, target, index)); if (isCallValid) @@ -14528,16 +12642,17 @@ void GL_APIENTRY GL_DisableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLu } } -void GL_APIENTRY GL_DisableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY DisableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLDisableiOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::DisableiOES, "glDisableiOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableiOES(context, target, index)); if (isCallValid) @@ -14552,21 +12667,21 @@ void GL_APIENTRY GL_DisableiOESContextANGLE(GLeglContext ctx, GLenum target, GLu } } -void GL_APIENTRY GL_DiscardFramebufferEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei numAttachments, - const GLenum *attachments) +void GL_APIENTRY DiscardFramebufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) { Context *context = static_cast(ctx); - EVENT(context, GLDiscardFramebufferEXT, + EVENT(context, gl::EntryPoint::DiscardFramebufferEXT, "glDiscardFramebufferEXT", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), numAttachments, + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), numAttachments, (uintptr_t)attachments); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDiscardFramebufferEXT(context, target, numAttachments, attachments)); @@ -14583,20 +12698,20 @@ void GL_APIENTRY GL_DiscardFramebufferEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DispatchComputeContextANGLE(GLeglContext ctx, - GLuint num_groups_x, - GLuint num_groups_y, - GLuint num_groups_z) +void GL_APIENTRY DispatchComputeContextANGLE(GLeglContext ctx, + GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z) { Context *context = static_cast(ctx); - EVENT(context, GLDispatchCompute, + EVENT(context, gl::EntryPoint::DispatchCompute, "glDispatchCompute", "context = %d, num_groups_x = %u, num_groups_y = %u, num_groups_z = %u", CID(context), num_groups_x, num_groups_y, num_groups_z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDispatchCompute(context, num_groups_x, num_groups_y, num_groups_z)); @@ -14613,16 +12728,16 @@ void GL_APIENTRY GL_DispatchComputeContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) +void GL_APIENTRY DispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) { Context *context = static_cast(ctx); - EVENT(context, GLDispatchComputeIndirect, "context = %d, indirect = %llu", CID(context), - static_cast(indirect)); + EVENT(context, gl::EntryPoint::DispatchComputeIndirect, "glDispatchComputeIndirect", + "context = %d, indirect = %llu", CID(context), static_cast(indirect)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDispatchComputeIndirect(context, indirect)); if (isCallValid) @@ -14637,20 +12752,18 @@ void GL_APIENTRY GL_DispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintp } } -void GL_APIENTRY GL_DrawArraysContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count) +void GL_APIENTRY DrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArrays, "context = %d, mode = %s, first = %d, count = %d", CID(context), + EVENT(context, gl::EntryPoint::DrawArrays, "glDrawArrays", + "context = %d, mode = %s, first = %d, count = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArrays(context, modePacked, first, count)); if (isCallValid) @@ -14665,19 +12778,18 @@ void GL_APIENTRY GL_DrawArraysContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawArraysIndirectContextANGLE(GLeglContext ctx, - GLenum mode, - const void *indirect) +void GL_APIENTRY DrawArraysIndirectContextANGLE(GLeglContext ctx, GLenum mode, const void *indirect) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArraysIndirect, "context = %d, mode = %s, indirect = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)indirect); + EVENT(context, gl::EntryPoint::DrawArraysIndirect, "glDrawArraysIndirect", + "context = %d, mode = %s, indirect = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)indirect); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysIndirect(context, modePacked, indirect)); if (isCallValid) @@ -14692,22 +12804,22 @@ void GL_APIENTRY GL_DrawArraysIndirectContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawArraysInstancedContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count, - GLsizei instancecount) +void GL_APIENTRY DrawArraysInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArraysInstanced, + EVENT(context, gl::EntryPoint::DrawArraysInstanced, "glDrawArraysInstanced", "context = %d, mode = %s, first = %d, count = %d, instancecount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, instancecount); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstanced(context, modePacked, first, count, instancecount)); @@ -14724,22 +12836,22 @@ void GL_APIENTRY GL_DrawArraysInstancedContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count, - GLsizei primcount) +void GL_APIENTRY DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArraysInstancedANGLE, + EVENT(context, gl::EntryPoint::DrawArraysInstancedANGLE, "glDrawArraysInstancedANGLE", "context = %d, mode = %s, first = %d, count = %d, primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, primcount); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedANGLE(context, modePacked, first, count, primcount)); @@ -14756,22 +12868,22 @@ void GL_APIENTRY GL_DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawArraysInstancedEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLint start, - GLsizei count, - GLsizei primcount) +void GL_APIENTRY DrawArraysInstancedEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLint start, + GLsizei count, + GLsizei primcount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArraysInstancedEXT, + EVENT(context, gl::EntryPoint::DrawArraysInstancedEXT, "glDrawArraysInstancedEXT", "context = %d, mode = %s, start = %d, count = %d, primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, count, primcount); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedEXT(context, modePacked, start, count, primcount)); @@ -14788,16 +12900,16 @@ void GL_APIENTRY GL_DrawArraysInstancedEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +void GL_APIENTRY DrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) { Context *context = static_cast(ctx); - EVENT(context, GLDrawBuffers, "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)bufs); + EVENT(context, gl::EntryPoint::DrawBuffers, "glDrawBuffers", + "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)bufs); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawBuffers(context, n, bufs)); if (isCallValid) { @@ -14811,16 +12923,16 @@ void GL_APIENTRY GL_DrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const G } } -void GL_APIENTRY GL_DrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +void GL_APIENTRY DrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) { Context *context = static_cast(ctx); - EVENT(context, GLDrawBuffersEXT, "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)bufs); + EVENT(context, gl::EntryPoint::DrawBuffersEXT, "glDrawBuffersEXT", + "context = %d, n = %d, bufs = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)bufs); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawBuffersEXT(context, n, bufs)); if (isCallValid) { @@ -14834,14 +12946,14 @@ void GL_APIENTRY GL_DrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, cons } } -void GL_APIENTRY GL_DrawElementsContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices) +void GL_APIENTRY DrawElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElements, + EVENT(context, gl::EntryPoint::DrawElements, "glDrawElements", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, GLenumToString(GLenumGroup::DrawElementsType, type), (uintptr_t)indices); @@ -14849,9 +12961,9 @@ void GL_APIENTRY GL_DrawElementsContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElements(context, modePacked, count, typePacked, indices)); if (isCallValid) @@ -14866,15 +12978,15 @@ void GL_APIENTRY GL_DrawElementsContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsBaseVertexContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertexContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsBaseVertex, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertex, "glDrawElementsBaseVertex", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -14883,9 +12995,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertexContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertex(context, modePacked, count, typePacked, indices, basevertex)); @@ -14902,15 +13014,15 @@ void GL_APIENTRY GL_DrawElementsBaseVertexContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertexEXT, "glDrawElementsBaseVertexEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -14919,9 +13031,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertexEXT(context, modePacked, count, typePacked, indices, basevertex)); @@ -14938,15 +13050,15 @@ void GL_APIENTRY GL_DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawElementsBaseVertexOES, "glDrawElementsBaseVertexOES", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -14955,9 +13067,9 @@ void GL_APIENTRY GL_DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsBaseVertexOES(context, modePacked, count, typePacked, indices, basevertex)); @@ -14974,13 +13086,13 @@ void GL_APIENTRY GL_DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsIndirectContextANGLE(GLeglContext ctx, - GLenum mode, - GLenum type, - const void *indirect) +void GL_APIENTRY DrawElementsIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + GLenum type, + const void *indirect) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsIndirect, + EVENT(context, gl::EntryPoint::DrawElementsIndirect, "glDrawElementsIndirect", "context = %d, mode = %s, type = %s, indirect = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), GLenumToString(GLenumGroup::DrawElementsType, type), (uintptr_t)indirect); @@ -14988,9 +13100,9 @@ void GL_APIENTRY GL_DrawElementsIndirectContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsIndirect(context, modePacked, typePacked, indirect)); @@ -15006,15 +13118,15 @@ void GL_APIENTRY GL_DrawElementsIndirectContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsInstancedContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount) +void GL_APIENTRY DrawElementsInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstanced, + EVENT(context, gl::EntryPoint::DrawElementsInstanced, "glDrawElementsInstanced", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15023,9 +13135,9 @@ void GL_APIENTRY GL_DrawElementsInstancedContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstanced(context, modePacked, count, typePacked, indices, instancecount)); @@ -15042,15 +13154,15 @@ void GL_APIENTRY GL_DrawElementsInstancedContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount) +void GL_APIENTRY DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedANGLE, + EVENT(context, gl::EntryPoint::DrawElementsInstancedANGLE, "glDrawElementsInstancedANGLE", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15059,9 +13171,9 @@ void GL_APIENTRY GL_DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedANGLE(context, modePacked, count, typePacked, indices, primcount)); @@ -15078,16 +13190,17 @@ void GL_APIENTRY GL_DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedBaseVertex, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertex, + "glDrawElementsInstancedBaseVertex", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15097,9 +13210,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertex( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -15117,16 +13230,17 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexEXT, + "glDrawElementsInstancedBaseVertexEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15136,9 +13250,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexEXT( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -15156,16 +13270,17 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext } } -void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex) +void GL_APIENTRY DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexOES, + "glDrawElementsInstancedBaseVertexOES", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instancecount = %d, basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15175,9 +13290,9 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexOES( context, modePacked, count, typePacked, indices, instancecount, basevertex)); @@ -15195,15 +13310,15 @@ void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext } } -void GL_APIENTRY GL_DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount) +void GL_APIENTRY DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedEXT, + EVENT(context, gl::EntryPoint::DrawElementsInstancedEXT, "glDrawElementsInstancedEXT", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", primcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -15212,9 +13327,9 @@ void GL_APIENTRY GL_DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedEXT(context, modePacked, count, typePacked, indices, primcount)); @@ -15231,16 +13346,16 @@ void GL_APIENTRY GL_DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawRangeElementsContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices) +void GL_APIENTRY DrawRangeElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices) { Context *context = static_cast(ctx); - EVENT(context, GLDrawRangeElements, + EVENT(context, gl::EntryPoint::DrawRangeElements, "glDrawRangeElements", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -15249,9 +13364,9 @@ void GL_APIENTRY GL_DrawRangeElementsContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElements(context, modePacked, start, end, count, typePacked, indices)); @@ -15268,17 +13383,17 @@ void GL_APIENTRY GL_DrawRangeElementsContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawRangeElementsBaseVertex, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertex, "glDrawRangeElementsBaseVertex", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -15287,9 +13402,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertex( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -15307,17 +13422,18 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawRangeElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertexEXT, + "glDrawRangeElementsBaseVertexEXT", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -15326,9 +13442,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertexEXT( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -15346,17 +13462,18 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex) +void GL_APIENTRY DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLDrawRangeElementsBaseVertexOES, + EVENT(context, gl::EntryPoint::DrawRangeElementsBaseVertexOES, + "glDrawRangeElementsBaseVertexOES", "context = %d, mode = %s, start = %u, end = %u, count = %d, type = %s, indices = " "0x%016" PRIxPTR ", basevertex = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), start, end, count, @@ -15365,9 +13482,9 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawRangeElementsBaseVertexOES( context, modePacked, start, end, count, typePacked, indices, basevertex)); @@ -15385,21 +13502,22 @@ void GL_APIENTRY GL_DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawTexfOESContextANGLE(GLeglContext ctx, - GLfloat x, - GLfloat y, - GLfloat z, - GLfloat width, - GLfloat height) +void GL_APIENTRY DrawTexfOESContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat width, + GLfloat height) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexfOES, "context = %d, x = %f, y = %f, z = %f, width = %f, height = %f", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexfOES, "glDrawTexfOES", + "context = %d, x = %f, y = %f, z = %f, width = %f, height = %f", CID(context), x, y, z, + width, height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexfOES(context, x, y, z, width, height)); if (isCallValid) @@ -15414,16 +13532,16 @@ void GL_APIENTRY GL_DrawTexfOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) +void GL_APIENTRY DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexfvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexfvOES, "glDrawTexfvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexfvOES(context, coords)); if (isCallValid) { @@ -15438,16 +13556,17 @@ void GL_APIENTRY GL_DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *co } void GL_APIENTRY -GL_DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) +DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexiOES, "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexiOES, "glDrawTexiOES", + "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", CID(context), x, y, z, + width, height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexiOES(context, x, y, z, width, height)); if (isCallValid) @@ -15462,16 +13581,16 @@ GL_DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint wi } } -void GL_APIENTRY GL_DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) +void GL_APIENTRY DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexivOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexivOES, "glDrawTexivOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexivOES(context, coords)); if (isCallValid) { @@ -15485,21 +13604,22 @@ void GL_APIENTRY GL_DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coor } } -void GL_APIENTRY GL_DrawTexsOESContextANGLE(GLeglContext ctx, - GLshort x, - GLshort y, - GLshort z, - GLshort width, - GLshort height) +void GL_APIENTRY DrawTexsOESContextANGLE(GLeglContext ctx, + GLshort x, + GLshort y, + GLshort z, + GLshort width, + GLshort height) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexsOES, "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", - CID(context), x, y, z, width, height); + EVENT(context, gl::EntryPoint::DrawTexsOES, "glDrawTexsOES", + "context = %d, x = %d, y = %d, z = %d, width = %d, height = %d", CID(context), x, y, z, + width, height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexsOES(context, x, y, z, width, height)); if (isCallValid) @@ -15514,16 +13634,16 @@ void GL_APIENTRY GL_DrawTexsOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) +void GL_APIENTRY DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexsvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexsvOES, "glDrawTexsvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexsvOES(context, coords)); if (isCallValid) { @@ -15537,22 +13657,22 @@ void GL_APIENTRY GL_DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *co } } -void GL_APIENTRY GL_DrawTexxOESContextANGLE(GLeglContext ctx, - GLfixed x, - GLfixed y, - GLfixed z, - GLfixed width, - GLfixed height) +void GL_APIENTRY DrawTexxOESContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z, + GLfixed width, + GLfixed height) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexxOES, + EVENT(context, gl::EntryPoint::DrawTexxOES, "glDrawTexxOES", "context = %d, x = 0x%X, y = 0x%X, z = 0x%X, width = 0x%X, height = 0x%X", CID(context), x, y, z, width, height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexxOES(context, x, y, z, width, height)); if (isCallValid) @@ -15567,16 +13687,16 @@ void GL_APIENTRY GL_DrawTexxOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) +void GL_APIENTRY DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) { Context *context = static_cast(ctx); - EVENT(context, GLDrawTexxvOES, "context = %d, coords = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)coords); + EVENT(context, gl::EntryPoint::DrawTexxvOES, "glDrawTexxvOES", + "context = %d, coords = 0x%016" PRIxPTR "", CID(context), (uintptr_t)coords); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawTexxvOES(context, coords)); if (isCallValid) { @@ -15590,19 +13710,20 @@ void GL_APIENTRY GL_DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *co } } -void GL_APIENTRY GL_EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, - GLenum target, - GLeglImageOES image) +void GL_APIENTRY EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) { Context *context = static_cast(ctx); - EVENT(context, GLEGLImageTargetRenderbufferStorageOES, + EVENT(context, gl::EntryPoint::EGLImageTargetRenderbufferStorageOES, + "glEGLImageTargetRenderbufferStorageOES", "context = %d, target = %s, image = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), (uintptr_t)image); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEGLImageTargetRenderbufferStorageOES(context, target, image)); if (isCallValid) @@ -15617,20 +13738,20 @@ void GL_APIENTRY GL_EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContex } } -void GL_APIENTRY GL_EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLeglImageOES image) +void GL_APIENTRY EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) { Context *context = static_cast(ctx); - EVENT(context, GLEGLImageTargetTexture2DOES, + EVENT(context, gl::EntryPoint::EGLImageTargetTexture2DOES, "glEGLImageTargetTexture2DOES", "context = %d, target = %s, image = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), (uintptr_t)image); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEGLImageTargetTexture2DOES(context, targetPacked, image)); if (isCallValid) @@ -15645,16 +13766,16 @@ void GL_APIENTRY GL_EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_EnableContextANGLE(GLeglContext ctx, GLenum cap) +void GL_APIENTRY EnableContextANGLE(GLeglContext ctx, GLenum cap) { Context *context = static_cast(ctx); - EVENT(context, GLEnable, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::Enable, "glEnable", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnable(context, cap)); if (isCallValid) { @@ -15668,17 +13789,17 @@ void GL_APIENTRY GL_EnableContextANGLE(GLeglContext ctx, GLenum cap) } } -void GL_APIENTRY GL_EnableClientStateContextANGLE(GLeglContext ctx, GLenum array) +void GL_APIENTRY EnableClientStateContextANGLE(GLeglContext ctx, GLenum array) { Context *context = static_cast(ctx); - EVENT(context, GLEnableClientState, "context = %d, array = %s", CID(context), - GLenumToString(GLenumGroup::EnableCap, array)); + EVENT(context, gl::EntryPoint::EnableClientState, "glEnableClientState", + "context = %d, array = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, array)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ClientVertexArrayType arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + ClientVertexArrayType arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableClientState(context, arrayPacked)); if (isCallValid) @@ -15693,15 +13814,16 @@ void GL_APIENTRY GL_EnableClientStateContextANGLE(GLeglContext ctx, GLenum array } } -void GL_APIENTRY GL_EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +void GL_APIENTRY EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLEnableVertexAttribArray, "context = %d, index = %u", CID(context), index); + EVENT(context, gl::EntryPoint::EnableVertexAttribArray, "glEnableVertexAttribArray", + "context = %d, index = %u", CID(context), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableVertexAttribArray(context, index)); if (isCallValid) @@ -15716,16 +13838,16 @@ void GL_APIENTRY GL_EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint } } -void GL_APIENTRY GL_EnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY EnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLEnablei, "context = %d, target = %s, index = %u", CID(context), - GLenumToString(GLenumGroup::EnableCap, target), index); + EVENT(context, gl::EntryPoint::Enablei, "glEnablei", "context = %d, target = %s, index = %u", + CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnablei(context, target, index)); if (isCallValid) { @@ -15739,16 +13861,17 @@ void GL_APIENTRY GL_EnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint } } -void GL_APIENTRY GL_EnableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY EnableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLEnableiEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::EnableiEXT, "glEnableiEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableiEXT(context, target, index)); if (isCallValid) @@ -15763,16 +13886,17 @@ void GL_APIENTRY GL_EnableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLui } } -void GL_APIENTRY GL_EnableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +void GL_APIENTRY EnableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLEnableiOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::EnableiOES, "glEnableiOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEnableiOES(context, target, index)); if (isCallValid) @@ -15787,17 +13911,17 @@ void GL_APIENTRY GL_EnableiOESContextANGLE(GLeglContext ctx, GLenum target, GLui } } -void GL_APIENTRY GL_EndQueryContextANGLE(GLeglContext ctx, GLenum target) +void GL_APIENTRY EndQueryContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLEndQuery, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target)); + EVENT(context, gl::EntryPoint::EndQuery, "glEndQuery", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndQuery(context, targetPacked)); if (isCallValid) { @@ -15811,17 +13935,17 @@ void GL_APIENTRY GL_EndQueryContextANGLE(GLeglContext ctx, GLenum target) } } -void GL_APIENTRY GL_EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) +void GL_APIENTRY EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLEndQueryEXT, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::QueryTarget, target)); + EVENT(context, gl::EntryPoint::EndQueryEXT, "glEndQueryEXT", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::QueryTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndQueryEXT(context, targetPacked)); if (isCallValid) @@ -15836,15 +13960,16 @@ void GL_APIENTRY GL_EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) } } -void GL_APIENTRY GL_EndTransformFeedbackContextANGLE(GLeglContext ctx) +void GL_APIENTRY EndTransformFeedbackContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLEndTransformFeedback, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::EndTransformFeedback, "glEndTransformFeedback", "context = %d", + CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateEndTransformFeedback(context)); if (isCallValid) { @@ -15858,10 +13983,11 @@ void GL_APIENTRY GL_EndTransformFeedbackContextANGLE(GLeglContext ctx) } } -GLsync GL_APIENTRY GL_FenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) +GLsync GL_APIENTRY FenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) { Context *context = static_cast(ctx); - EVENT(context, GLFenceSync, "context = %d, condition = %s, flags = %s", CID(context), + EVENT(context, gl::EntryPoint::FenceSync, "glFenceSync", + "context = %d, condition = %s, flags = %s", CID(context), GLenumToString(GLenumGroup::SyncCondition, condition), GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str()); @@ -15869,7 +13995,7 @@ GLsync GL_APIENTRY GL_FenceSyncContextANGLE(GLeglContext ctx, GLenum condition, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFenceSync(context, condition, flags)); if (isCallValid) @@ -15878,27 +14004,27 @@ GLsync GL_APIENTRY GL_FenceSyncContextANGLE(GLeglContext ctx, GLenum condition, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(FenceSync, isCallValid, context, condition, flags, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_FinishContextANGLE(GLeglContext ctx) +void GL_APIENTRY FinishContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLFinish, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::Finish, "glFinish", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFinish(context)); if (isCallValid) { @@ -15912,16 +14038,17 @@ void GL_APIENTRY GL_FinishContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +void GL_APIENTRY FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { Context *context = static_cast(ctx); - EVENT(context, GLFinishFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::FinishFenceNV, "glFinishFenceNV", "context = %d, fence = %u", + CID(context), fence); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFinishFenceNV(context, fencePacked)); if (isCallValid) @@ -15936,15 +14063,15 @@ void GL_APIENTRY GL_FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) } } -void GL_APIENTRY GL_FlushContextANGLE(GLeglContext ctx) +void GL_APIENTRY FlushContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLFlush, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::Flush, "glFlush", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlush(context)); if (isCallValid) { @@ -15958,13 +14085,13 @@ void GL_APIENTRY GL_FlushContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_FlushMappedBufferRangeContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length) +void GL_APIENTRY FlushMappedBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) { Context *context = static_cast(ctx); - EVENT(context, GLFlushMappedBufferRange, + EVENT(context, gl::EntryPoint::FlushMappedBufferRange, "glFlushMappedBufferRange", "context = %d, target = %s, offset = %llu, length = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length)); @@ -15972,8 +14099,8 @@ void GL_APIENTRY GL_FlushMappedBufferRangeContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlushMappedBufferRange(context, targetPacked, offset, length)); if (isCallValid) @@ -15988,13 +14115,13 @@ void GL_APIENTRY GL_FlushMappedBufferRangeContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length) +void GL_APIENTRY FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) { Context *context = static_cast(ctx); - EVENT(context, GLFlushMappedBufferRangeEXT, + EVENT(context, gl::EntryPoint::FlushMappedBufferRangeEXT, "glFlushMappedBufferRangeEXT", "context = %d, target = %s, offset = %llu, length = %llu", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length)); @@ -16002,8 +14129,8 @@ void GL_APIENTRY GL_FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFlushMappedBufferRangeEXT(context, targetPacked, offset, length)); @@ -16020,16 +14147,16 @@ void GL_APIENTRY GL_FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +void GL_APIENTRY FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLFogf, "context = %d, pname = %s, param = %f", CID(context), - GLenumToString(GLenumGroup::FogParameter, pname), param); + EVENT(context, gl::EntryPoint::Fogf, "glFogf", "context = %d, pname = %s, param = %f", + CID(context), GLenumToString(GLenumGroup::FogParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogf(context, pname, param)); if (isCallValid) { @@ -16043,16 +14170,17 @@ void GL_APIENTRY GL_FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat par } } -void GL_APIENTRY GL_FogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +void GL_APIENTRY FogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLFogfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::Fogfv, "glFogfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FogParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogfv(context, pname, params)); if (isCallValid) { @@ -16066,16 +14194,16 @@ void GL_APIENTRY GL_FogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfl } } -void GL_APIENTRY GL_FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +void GL_APIENTRY FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLFogx, "context = %d, pname = %s, param = 0x%X", CID(context), - GLenumToString(GLenumGroup::FogPName, pname), param); + EVENT(context, gl::EntryPoint::Fogx, "glFogx", "context = %d, pname = %s, param = 0x%X", + CID(context), GLenumToString(GLenumGroup::FogPName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogx(context, pname, param)); if (isCallValid) { @@ -16089,16 +14217,17 @@ void GL_APIENTRY GL_FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed par } } -void GL_APIENTRY GL_FogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +void GL_APIENTRY FogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) { Context *context = static_cast(ctx); - EVENT(context, GLFogxv, "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::Fogxv, "glFogxv", + "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FogPName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFogxv(context, pname, param)); if (isCallValid) { @@ -16112,43 +14241,21 @@ void GL_APIENTRY GL_FogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfi } } -void GL_APIENTRY GL_FramebufferFetchBarrierEXTContextANGLE(GLeglContext ctx) +void GL_APIENTRY FramebufferParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferFetchBarrierEXT, "context = %d", CID(context)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateFramebufferFetchBarrierEXT(context)); - if (isCallValid) - { - context->framebufferFetchBarrier(); - } - ANGLE_CAPTURE(FramebufferFetchBarrierEXT, isCallValid, context); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_FramebufferParameteriContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint param) -{ - Context *context = static_cast(ctx); - EVENT(context, GLFramebufferParameteri, "context = %d, target = %s, pname = %s, param = %d", - CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), + EVENT(context, gl::EntryPoint::FramebufferParameteri, "glFramebufferParameteri", + "context = %d, target = %s, pname = %s, param = %d", CID(context), + GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferParameterName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferParameteri(context, target, pname, param)); if (isCallValid) @@ -16163,14 +14270,14 @@ void GL_APIENTRY GL_FramebufferParameteriContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferRenderbufferContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer) +void GL_APIENTRY FramebufferRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferRenderbuffer, + EVENT(context, gl::EntryPoint::FramebufferRenderbuffer, "glFramebufferRenderbuffer", "context = %d, target = %s, attachment = %s, renderbuffertarget = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -16179,8 +14286,8 @@ void GL_APIENTRY GL_FramebufferRenderbufferContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferRenderbuffer(context, target, attachment, renderbuffertarget, @@ -16199,14 +14306,14 @@ void GL_APIENTRY GL_FramebufferRenderbufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer) +void GL_APIENTRY FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferRenderbufferOES, + EVENT(context, gl::EntryPoint::FramebufferRenderbufferOES, "glFramebufferRenderbufferOES", "context = %d, target = %s, attachment = %s, renderbuffertarget = %s, renderbuffer = %u", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -16215,8 +14322,8 @@ void GL_APIENTRY GL_FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferRenderbufferOES(context, target, attachment, renderbuffertarget, @@ -16235,14 +14342,14 @@ void GL_APIENTRY GL_FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTextureContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTextureContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTexture, + EVENT(context, gl::EntryPoint::FramebufferTexture, "glFramebufferTexture", "context = %d, target = %s, attachment = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level); @@ -16250,8 +14357,8 @@ void GL_APIENTRY GL_FramebufferTextureContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture(context, target, attachment, texturePacked, level)); @@ -16268,15 +14375,15 @@ void GL_APIENTRY GL_FramebufferTextureContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTexture2DContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTexture2DContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTexture2D, + EVENT(context, gl::EntryPoint::FramebufferTexture2D, "glFramebufferTexture2D", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -16285,9 +14392,9 @@ void GL_APIENTRY GL_FramebufferTexture2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2D(context, target, attachment, textargetPacked, texturePacked, level)); @@ -16305,16 +14412,17 @@ void GL_APIENTRY GL_FramebufferTexture2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLsizei samples) +void GL_APIENTRY FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLsizei samples) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTexture2DMultisampleEXT, + EVENT(context, gl::EntryPoint::FramebufferTexture2DMultisampleEXT, + "glFramebufferTexture2DMultisampleEXT", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d, " "samples = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -16324,9 +14432,9 @@ void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2DMultisampleEXT( @@ -16345,15 +14453,15 @@ void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext } } -void GL_APIENTRY GL_FramebufferTexture2DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTexture2DOES, + EVENT(context, gl::EntryPoint::FramebufferTexture2DOES, "glFramebufferTexture2DOES", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -16362,9 +14470,9 @@ void GL_APIENTRY GL_FramebufferTexture2DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture2DOES(context, target, attachment, textargetPacked, texturePacked, level)); @@ -16382,16 +14490,16 @@ void GL_APIENTRY GL_FramebufferTexture2DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTexture3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLint zoffset) +void GL_APIENTRY FramebufferTexture3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLint zoffset) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTexture3DOES, + EVENT(context, gl::EntryPoint::FramebufferTexture3DOES, "glFramebufferTexture3DOES", "context = %d, target = %s, attachment = %s, textarget = %s, texture = %u, level = %d, " "zoffset = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -16401,9 +14509,9 @@ void GL_APIENTRY GL_FramebufferTexture3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget textargetPacked = PackParam(textarget); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget textargetPacked = FromGL(textarget); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTexture3DOES(context, target, attachment, textargetPacked, @@ -16422,14 +14530,14 @@ void GL_APIENTRY GL_FramebufferTexture3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTextureEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level) +void GL_APIENTRY FramebufferTextureEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTextureEXT, + EVENT(context, gl::EntryPoint::FramebufferTextureEXT, "glFramebufferTextureEXT", "context = %d, target = %s, attachment = %s, texture = %u, level = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level); @@ -16437,8 +14545,8 @@ void GL_APIENTRY GL_FramebufferTextureEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureEXT(context, target, attachment, texturePacked, level)); @@ -16455,15 +14563,15 @@ void GL_APIENTRY GL_FramebufferTextureEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTextureLayerContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint layer) +void GL_APIENTRY FramebufferTextureLayerContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint layer) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTextureLayer, + EVENT(context, gl::EntryPoint::FramebufferTextureLayer, "glFramebufferTextureLayer", "context = %d, target = %s, attachment = %s, texture = %u, level = %d, layer = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), texture, level, layer); @@ -16471,8 +14579,8 @@ void GL_APIENTRY GL_FramebufferTextureLayerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureLayer(context, target, attachment, texturePacked, level, layer)); @@ -16489,16 +14597,17 @@ void GL_APIENTRY GL_FramebufferTextureLayerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint baseViewIndex, - GLsizei numViews) +void GL_APIENTRY FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews) { Context *context = static_cast(ctx); - EVENT(context, GLFramebufferTextureMultiviewOVR, + EVENT(context, gl::EntryPoint::FramebufferTextureMultiviewOVR, + "glFramebufferTextureMultiviewOVR", "context = %d, target = %s, attachment = %s, texture = %u, level = %d, baseViewIndex = " "%d, numViews = %d", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), @@ -16508,8 +14617,8 @@ void GL_APIENTRY GL_FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFramebufferTextureMultiviewOVR(context, target, attachment, texturePacked, @@ -16528,16 +14637,16 @@ void GL_APIENTRY GL_FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FrontFaceContextANGLE(GLeglContext ctx, GLenum mode) +void GL_APIENTRY FrontFaceContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLFrontFace, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::FrontFaceDirection, mode)); + EVENT(context, gl::EntryPoint::FrontFace, "glFrontFace", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::FrontFaceDirection, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrontFace(context, mode)); if (isCallValid) { @@ -16551,22 +14660,23 @@ void GL_APIENTRY GL_FrontFaceContextANGLE(GLeglContext ctx, GLenum mode) } } -void GL_APIENTRY GL_FrustumfContextANGLE(GLeglContext ctx, - GLfloat l, - GLfloat r, - GLfloat b, - GLfloat t, - GLfloat n, - GLfloat f) +void GL_APIENTRY FrustumfContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) { Context *context = static_cast(ctx); - EVENT(context, GLFrustumf, "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", - CID(context), l, r, b, t, n, f); + EVENT(context, gl::EntryPoint::Frustumf, "glFrustumf", + "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", CID(context), l, r, b, t, + n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrustumf(context, l, r, b, t, n, f)); if (isCallValid) @@ -16581,23 +14691,23 @@ void GL_APIENTRY GL_FrustumfContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_FrustumxContextANGLE(GLeglContext ctx, - GLfixed l, - GLfixed r, - GLfixed b, - GLfixed t, - GLfixed n, - GLfixed f) +void GL_APIENTRY FrustumxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) { Context *context = static_cast(ctx); - EVENT(context, GLFrustumx, + EVENT(context, gl::EntryPoint::Frustumx, "glFrustumx", "context = %d, l = 0x%X, r = 0x%X, b = 0x%X, t = 0x%X, n = 0x%X, f = 0x%X", CID(context), l, r, b, t, n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateFrustumx(context, l, r, b, t, n, f)); if (isCallValid) @@ -16612,17 +14722,17 @@ void GL_APIENTRY GL_FrustumxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) +void GL_APIENTRY GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) { Context *context = static_cast(ctx); - EVENT(context, GLGenBuffers, "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)buffers); + EVENT(context, gl::EntryPoint::GenBuffers, "glGenBuffers", + "context = %d, n = %d, buffers = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)buffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferID *buffersPacked = PackParam(buffers); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID *buffersPacked = FromGL(buffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenBuffers(context, n, buffersPacked)); if (isCallValid) @@ -16637,17 +14747,17 @@ void GL_APIENTRY GL_GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint * } } -void GL_APIENTRY GL_GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) +void GL_APIENTRY GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) { Context *context = static_cast(ctx); - EVENT(context, GLGenFencesNV, "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)fences); + EVENT(context, gl::EntryPoint::GenFencesNV, "glGenFencesNV", + "context = %d, n = %d, fences = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)fences); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID *fencesPacked = PackParam(fences); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID *fencesPacked = FromGL(fences); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFencesNV(context, n, fencesPacked)); if (isCallValid) @@ -16662,17 +14772,18 @@ void GL_APIENTRY GL_GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint } } -void GL_APIENTRY GL_GenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) +void GL_APIENTRY GenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) { Context *context = static_cast(ctx); - EVENT(context, GLGenFramebuffers, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::GenFramebuffers, "glGenFramebuffers", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFramebuffers(context, n, framebuffersPacked)); if (isCallValid) @@ -16687,19 +14798,18 @@ void GL_APIENTRY GL_GenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLu } } -void GL_APIENTRY GL_GenFramebuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *framebuffers) +void GL_APIENTRY GenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) { Context *context = static_cast(ctx); - EVENT(context, GLGenFramebuffersOES, "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)framebuffers); + EVENT(context, gl::EntryPoint::GenFramebuffersOES, "glGenFramebuffersOES", + "context = %d, n = %d, framebuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)framebuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID *framebuffersPacked = PackParam(framebuffers); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID *framebuffersPacked = FromGL(framebuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenFramebuffersOES(context, n, framebuffersPacked)); if (isCallValid) @@ -16714,17 +14824,18 @@ void GL_APIENTRY GL_GenFramebuffersOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) +void GL_APIENTRY GenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) { Context *context = static_cast(ctx); - EVENT(context, GLGenProgramPipelines, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::GenProgramPipelines, "glGenProgramPipelines", + "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)pipelines); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID *pipelinesPacked = FromGL(pipelines); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenProgramPipelines(context, n, pipelinesPacked)); if (isCallValid) @@ -16739,44 +14850,17 @@ void GL_APIENTRY GL_GenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, } } -void GL_APIENTRY GL_GenProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *pipelines) +void GL_APIENTRY GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLGenProgramPipelinesEXT, "context = %d, n = %d, pipelines = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)pipelines); + EVENT(context, gl::EntryPoint::GenQueries, "glGenQueries", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID *pipelinesPacked = PackParam(pipelines); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGenProgramPipelinesEXT(context, n, pipelinesPacked)); - if (isCallValid) - { - context->genProgramPipelines(n, pipelinesPacked); - } - ANGLE_CAPTURE(GenProgramPipelinesEXT, isCallValid, context, n, pipelinesPacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGenQueries, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, - (uintptr_t)ids); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenQueries(context, n, idsPacked)); if (isCallValid) { @@ -16790,17 +14874,17 @@ void GL_APIENTRY GL_GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint * } } -void GL_APIENTRY GL_GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +void GL_APIENTRY GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLGenQueriesEXT, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), - n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::GenQueriesEXT, "glGenQueriesEXT", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenQueriesEXT(context, n, idsPacked)); if (isCallValid) @@ -16815,17 +14899,18 @@ void GL_APIENTRY GL_GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuin } } -void GL_APIENTRY GL_GenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) +void GL_APIENTRY GenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) { Context *context = static_cast(ctx); - EVENT(context, GLGenRenderbuffers, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::GenRenderbuffers, "glGenRenderbuffers", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID *renderbuffersPacked = PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenRenderbuffers(context, n, renderbuffersPacked)); if (isCallValid) @@ -16840,19 +14925,18 @@ void GL_APIENTRY GL_GenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GL } } -void GL_APIENTRY GL_GenRenderbuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *renderbuffers) +void GL_APIENTRY GenRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) { Context *context = static_cast(ctx); - EVENT(context, GLGenRenderbuffersOES, "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)renderbuffers); + EVENT(context, gl::EntryPoint::GenRenderbuffersOES, "glGenRenderbuffersOES", + "context = %d, n = %d, renderbuffers = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)renderbuffers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID *renderbuffersPacked = PackParam(renderbuffers); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID *renderbuffersPacked = FromGL(renderbuffers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenRenderbuffersOES(context, n, renderbuffersPacked)); if (isCallValid) @@ -16867,17 +14951,18 @@ void GL_APIENTRY GL_GenRenderbuffersOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) +void GL_APIENTRY GenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) { Context *context = static_cast(ctx); - EVENT(context, GLGenSamplers, "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", - CID(context), count, (uintptr_t)samplers); + EVENT(context, gl::EntryPoint::GenSamplers, "glGenSamplers", + "context = %d, count = %d, samplers = 0x%016" PRIxPTR "", CID(context), count, + (uintptr_t)samplers); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID *samplersPacked = PackParam(samplers); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID *samplersPacked = FromGL(samplers); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenSamplers(context, count, samplersPacked)); if (isCallValid) @@ -16892,17 +14977,18 @@ void GL_APIENTRY GL_GenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLu } } -void GL_APIENTRY GL_GenSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *semaphores) +void GL_APIENTRY GenSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *semaphores) { Context *context = static_cast(ctx); - EVENT(context, GLGenSemaphoresEXT, "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)semaphores); + EVENT(context, gl::EntryPoint::GenSemaphoresEXT, "glGenSemaphoresEXT", + "context = %d, n = %d, semaphores = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)semaphores); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID *semaphoresPacked = PackParam(semaphores); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID *semaphoresPacked = FromGL(semaphores); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenSemaphoresEXT(context, n, semaphoresPacked)); if (isCallValid) @@ -16917,17 +15003,18 @@ void GL_APIENTRY GL_GenSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, GL } } -void GL_APIENTRY GL_GenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) +void GL_APIENTRY GenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) { Context *context = static_cast(ctx); - EVENT(context, GLGenTextures, "context = %d, n = %d, textures = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)textures); + EVENT(context, gl::EntryPoint::GenTextures, "glGenTextures", + "context = %d, n = %d, textures = 0x%016" PRIxPTR "", CID(context), n, + (uintptr_t)textures); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenTextures(context, n, texturesPacked)); if (isCallValid) @@ -16942,17 +15029,17 @@ void GL_APIENTRY GL_GenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint } } -void GL_APIENTRY GL_GenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +void GL_APIENTRY GenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { Context *context = static_cast(ctx); - EVENT(context, GLGenTransformFeedbacks, "context = %d, n = %d, ids = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)ids); + EVENT(context, gl::EntryPoint::GenTransformFeedbacks, "glGenTransformFeedbacks", + "context = %d, n = %d, ids = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)ids); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TransformFeedbackID *idsPacked = PackParam(ids); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID *idsPacked = FromGL(ids); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenTransformFeedbacks(context, n, idsPacked)); if (isCallValid) @@ -16967,17 +15054,17 @@ void GL_APIENTRY GL_GenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei } } -void GL_APIENTRY GL_GenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +void GL_APIENTRY GenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) { Context *context = static_cast(ctx); - EVENT(context, GLGenVertexArrays, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::GenVertexArrays, "glGenVertexArrays", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenVertexArrays(context, n, arraysPacked)); if (isCallValid) @@ -16992,17 +15079,17 @@ void GL_APIENTRY GL_GenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLu } } -void GL_APIENTRY GL_GenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +void GL_APIENTRY GenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) { Context *context = static_cast(ctx); - EVENT(context, GLGenVertexArraysOES, "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", - CID(context), n, (uintptr_t)arrays); + EVENT(context, gl::EntryPoint::GenVertexArraysOES, "glGenVertexArraysOES", + "context = %d, n = %d, arrays = 0x%016" PRIxPTR "", CID(context), n, (uintptr_t)arrays); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID *arraysPacked = PackParam(arrays); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID *arraysPacked = FromGL(arrays); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenVertexArraysOES(context, n, arraysPacked)); if (isCallValid) @@ -17017,17 +15104,17 @@ void GL_APIENTRY GL_GenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, } } -void GL_APIENTRY GL_GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) +void GL_APIENTRY GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLGenerateMipmap, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target)); + EVENT(context, gl::EntryPoint::GenerateMipmap, "glGenerateMipmap", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenerateMipmap(context, targetPacked)); if (isCallValid) @@ -17042,17 +15129,18 @@ void GL_APIENTRY GL_GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) } } -void GL_APIENTRY GL_GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) +void GL_APIENTRY GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLGenerateMipmapOES, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::GenerateMipmapOES, "glGenerateMipmapOES", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGenerateMipmapOES(context, targetPacked)); if (isCallValid) @@ -17067,17 +15155,17 @@ void GL_APIENTRY GL_GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum targe } } -void GL_APIENTRY GL_GetActiveAttribContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetActiveAttribContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetActiveAttrib, + EVENT(context, gl::EntryPoint::GetActiveAttrib, "glGetActiveAttrib", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -17086,8 +15174,8 @@ void GL_APIENTRY GL_GetActiveAttribContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveAttrib(context, programPacked, index, bufSize, length, size, type, name)); @@ -17104,17 +15192,17 @@ void GL_APIENTRY GL_GetActiveAttribContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetActiveUniformContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetActiveUniformContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetActiveUniform, + EVENT(context, gl::EntryPoint::GetActiveUniform, "glGetActiveUniform", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -17123,8 +15211,8 @@ void GL_APIENTRY GL_GetActiveUniformContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveUniform(context, programPacked, index, bufSize, length, size, type, name)); @@ -17141,16 +15229,16 @@ void GL_APIENTRY GL_GetActiveUniformContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLsizei bufSize, - GLsizei *length, - GLchar *uniformBlockName) +void GL_APIENTRY GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName) { Context *context = static_cast(ctx); EVENT( - context, GLGetActiveUniformBlockName, + context, gl::EntryPoint::GetActiveUniformBlockName, "glGetActiveUniformBlockName", "context = %d, program = %u, uniformBlockIndex = %u, bufSize = %d, length = 0x%016" PRIxPTR ", uniformBlockName = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, bufSize, (uintptr_t)length, @@ -17159,20 +15247,19 @@ void GL_APIENTRY GL_GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockName(context, programPacked, uniformBlockIndexPacked, - bufSize, length, uniformBlockName)); + ValidateGetActiveUniformBlockName(context, programPacked, uniformBlockIndex, bufSize, + length, uniformBlockName)); if (isCallValid) { - context->getActiveUniformBlockName(programPacked, uniformBlockIndexPacked, bufSize, - length, uniformBlockName); + context->getActiveUniformBlockName(programPacked, uniformBlockIndex, bufSize, length, + uniformBlockName); } ANGLE_CAPTURE(GetActiveUniformBlockName, isCallValid, context, programPacked, - uniformBlockIndexPacked, bufSize, length, uniformBlockName); + uniformBlockIndex, bufSize, length, uniformBlockName); } else { @@ -17180,14 +15267,14 @@ void GL_APIENTRY GL_GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetActiveUniformBlockivContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLint *params) +void GL_APIENTRY GetActiveUniformBlockivContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetActiveUniformBlockiv, + EVENT(context, gl::EntryPoint::GetActiveUniformBlockiv, "glGetActiveUniformBlockiv", "context = %d, program = %u, uniformBlockIndex = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, @@ -17196,18 +15283,17 @@ void GL_APIENTRY GL_GetActiveUniformBlockivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockiv( - context, programPacked, uniformBlockIndexPacked, pname, params)); + ValidateGetActiveUniformBlockiv(context, programPacked, + uniformBlockIndex, pname, params)); if (isCallValid) { - context->getActiveUniformBlockiv(programPacked, uniformBlockIndexPacked, pname, params); + context->getActiveUniformBlockiv(programPacked, uniformBlockIndex, pname, params); } ANGLE_CAPTURE(GetActiveUniformBlockiv, isCallValid, context, programPacked, - uniformBlockIndexPacked, pname, params); + uniformBlockIndex, pname, params); } else { @@ -17215,15 +15301,15 @@ void GL_APIENTRY GL_GetActiveUniformBlockivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetActiveUniformsivContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei uniformCount, - const GLuint *uniformIndices, - GLenum pname, - GLint *params) +void GL_APIENTRY GetActiveUniformsivContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetActiveUniformsiv, + EVENT(context, gl::EntryPoint::GetActiveUniformsiv, "glGetActiveUniformsiv", "context = %d, program = %u, uniformCount = %d, uniformIndices = 0x%016" PRIxPTR ", pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, uniformCount, (uintptr_t)uniformIndices, @@ -17232,8 +15318,8 @@ void GL_APIENTRY GL_GetActiveUniformsivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetActiveUniformsiv(context, programPacked, uniformCount, uniformIndices, pname, params)); @@ -17251,14 +15337,14 @@ void GL_APIENTRY GL_GetActiveUniformsivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetAttachedShadersContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei maxCount, - GLsizei *count, - GLuint *shaders) +void GL_APIENTRY GetAttachedShadersContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders) { Context *context = static_cast(ctx); - EVENT(context, GLGetAttachedShaders, + EVENT(context, gl::EntryPoint::GetAttachedShaders, "glGetAttachedShaders", "context = %d, program = %u, maxCount = %d, count = 0x%016" PRIxPTR ", shaders = 0x%016" PRIxPTR "", CID(context), program, maxCount, (uintptr_t)count, (uintptr_t)shaders); @@ -17266,9 +15352,9 @@ void GL_APIENTRY GL_GetAttachedShadersContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - ShaderProgramID *shadersPacked = PackParam(shaders); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + ShaderProgramID *shadersPacked = FromGL(shaders); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetAttachedShaders(context, programPacked, maxCount, count, shadersPacked)); @@ -17285,20 +15371,21 @@ void GL_APIENTRY GL_GetAttachedShadersContextANGLE(GLeglContext ctx, } } -GLint GL_APIENTRY GL_GetAttribLocationContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name) +GLint GL_APIENTRY GetAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetAttribLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetAttribLocation, "glGetAttribLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetAttribLocation(context, programPacked, name)); if (isCallValid) @@ -17307,32 +15394,32 @@ GLint GL_APIENTRY GL_GetAttribLocationContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetAttribLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetBooleani_vContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLboolean *data) +void GL_APIENTRY GetBooleani_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLboolean *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetBooleani_v, + EVENT(context, gl::EntryPoint::GetBooleani_v, "glGetBooleani_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), index, (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleani_v(context, target, index, data)); if (isCallValid) @@ -17347,16 +15434,17 @@ void GL_APIENTRY GL_GetBooleani_vContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) +void GL_APIENTRY GetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetBooleanv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetBooleanv, "glGetBooleanv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleanv(context, pname, data)); if (isCallValid) { @@ -17370,13 +15458,13 @@ void GL_APIENTRY GL_GetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLbo } } -void GL_APIENTRY GL_GetBufferParameteri64vContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint64 *params) +void GL_APIENTRY GetBufferParameteri64vContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferParameteri64v, + EVENT(context, gl::EntryPoint::GetBufferParameteri64v, "glGetBufferParameteri64v", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); @@ -17384,8 +15472,8 @@ void GL_APIENTRY GL_GetBufferParameteri64vContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteri64v(context, targetPacked, pname, params)); if (isCallValid) @@ -17400,13 +15488,13 @@ void GL_APIENTRY GL_GetBufferParameteri64vContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetBufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferParameteriv, + EVENT(context, gl::EntryPoint::GetBufferParameteriv, "glGetBufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); @@ -17414,8 +15502,8 @@ void GL_APIENTRY GL_GetBufferParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -17430,13 +15518,13 @@ void GL_APIENTRY GL_GetBufferParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferPointervContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - void **params) +void GL_APIENTRY GetBufferPointervContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferPointerv, + EVENT(context, gl::EntryPoint::GetBufferPointerv, "glGetBufferPointerv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); @@ -17444,8 +15532,8 @@ void GL_APIENTRY GL_GetBufferPointervContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointerv(context, targetPacked, pname, params)); if (isCallValid) @@ -17460,13 +15548,13 @@ void GL_APIENTRY GL_GetBufferPointervContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferPointervOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - void **params) +void GL_APIENTRY GetBufferPointervOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferPointervOES, + EVENT(context, gl::EntryPoint::GetBufferPointervOES, "glGetBufferPointervOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); @@ -17474,8 +15562,8 @@ void GL_APIENTRY GL_GetBufferPointervOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointervOES(context, targetPacked, pname, params)); if (isCallValid) @@ -17490,16 +15578,17 @@ void GL_APIENTRY GL_GetBufferPointervOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) +void GL_APIENTRY GetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) { Context *context = static_cast(ctx); - EVENT(context, GLGetClipPlanef, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::GetClipPlanef, "glGetClipPlanef", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetClipPlanef(context, plane, equation)); if (isCallValid) @@ -17514,16 +15603,17 @@ void GL_APIENTRY GL_GetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GL } } -void GL_APIENTRY GL_GetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) +void GL_APIENTRY GetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) { Context *context = static_cast(ctx); - EVENT(context, GLGetClipPlanex, "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); + EVENT(context, gl::EntryPoint::GetClipPlanex, "glGetClipPlanex", + "context = %d, plane = %s, equation = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::ClipPlaneName, plane), (uintptr_t)equation); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetClipPlanex(context, plane, equation)); if (isCallValid) @@ -17538,18 +15628,18 @@ void GL_APIENTRY GL_GetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GL } } -GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext ctx, - GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog) +GLuint GL_APIENTRY GetDebugMessageLogContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) { Context *context = static_cast(ctx); - EVENT(context, GLGetDebugMessageLog, + EVENT(context, gl::EntryPoint::GetDebugMessageLog, "glGetDebugMessageLog", "context = %d, count = %u, bufSize = %d, sources = 0x%016" PRIxPTR ", types = 0x%016" PRIxPTR ", ids = 0x%016" PRIxPTR ", severities = 0x%016" PRIxPTR ", lengths = 0x%016" PRIxPTR ", messageLog = 0x%016" PRIxPTR "", @@ -17560,7 +15650,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetDebugMessageLog(context, count, bufSize, sources, types, ids, severities, lengths, messageLog)); @@ -17571,7 +15661,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetDebugMessageLog, isCallValid, context, count, bufSize, sources, types, ids, severities, lengths, messageLog, returnValue); @@ -17579,23 +15669,23 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLuint GL_APIENTRY GL_GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, - GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog) +GLuint GL_APIENTRY GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) { Context *context = static_cast(ctx); - EVENT(context, GLGetDebugMessageLogKHR, + EVENT(context, gl::EntryPoint::GetDebugMessageLogKHR, "glGetDebugMessageLogKHR", "context = %d, count = %u, bufSize = %d, sources = 0x%016" PRIxPTR ", types = 0x%016" PRIxPTR ", ids = 0x%016" PRIxPTR ", severities = 0x%016" PRIxPTR ", lengths = 0x%016" PRIxPTR ", messageLog = 0x%016" PRIxPTR "", @@ -17606,7 +15696,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetDebugMessageLogKHR(context, count, bufSize, sources, types, ids, severities, lengths, messageLog)); @@ -17617,8 +15707,7 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetDebugMessageLogKHR, isCallValid, context, count, bufSize, sources, types, ids, severities, lengths, messageLog, returnValue); @@ -17626,21 +15715,21 @@ GLuint GL_APIENTRY GL_GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLenum GL_APIENTRY GL_GetErrorContextANGLE(GLeglContext ctx) +GLenum GL_APIENTRY GetErrorContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLGetError, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetError, "glGetError", "context = %d", CID(context)); GLenum returnValue; if (context) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetError(context)); if (isCallValid) { @@ -17648,33 +15737,33 @@ GLenum GL_APIENTRY GL_GetErrorContextANGLE(GLeglContext ctx) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetError, isCallValid, context, returnValue); } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetFenceivNVContextANGLE(GLeglContext ctx, - GLuint fence, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFenceivNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFenceivNV, + EVENT(context, gl::EntryPoint::GetFenceivNV, "glGetFenceivNV", "context = %d, fence = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), fence, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFenceivNV(context, fencePacked, pname, params)); if (isCallValid) @@ -17689,16 +15778,17 @@ void GL_APIENTRY GL_GetFenceivNVContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) +void GL_APIENTRY GetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFixedv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetFixedv, "glGetFixedv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFixedv(context, pname, params)); if (isCallValid) { @@ -17712,16 +15802,17 @@ void GL_APIENTRY GL_GetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixe } } -void GL_APIENTRY GL_GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) +void GL_APIENTRY GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetFloatv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + EVENT(context, gl::EntryPoint::GetFloatv, "glGetFloatv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFloatv(context, pname, data)); if (isCallValid) { @@ -17735,20 +15826,21 @@ void GL_APIENTRY GL_GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloa } } -GLint GL_APIENTRY GL_GetFragDataIndexEXTContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name) +GLint GL_APIENTRY GetFragDataIndexEXTContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetFragDataIndexEXT, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetFragDataIndexEXT, "glGetFragDataIndexEXT", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFragDataIndexEXT(context, programPacked, name)); if (isCallValid) @@ -17757,32 +15849,33 @@ GLint GL_APIENTRY GL_GetFragDataIndexEXTContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetFragDataIndexEXT, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLint GL_APIENTRY GL_GetFragDataLocationContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name) +GLint GL_APIENTRY GetFragDataLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetFragDataLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetFragDataLocation, "glGetFragDataLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFragDataLocation(context, programPacked, name)); if (isCallValid) @@ -17791,26 +15884,27 @@ GLint GL_APIENTRY GL_GetFragDataLocationContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetFragDataLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFramebufferAttachmentParameteriv, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameteriv, + "glGetFramebufferAttachmentParameteriv", "context = %d, target = %s, attachment = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -17820,7 +15914,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameteriv( context, target, attachment, pname, params)); @@ -17837,14 +15931,15 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivContextANGLE(GLeglContext } } -void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFramebufferAttachmentParameterivOES, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameterivOES, + "glGetFramebufferAttachmentParameterivOES", "context = %d, target = %s, attachment = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachment, attachment), @@ -17854,7 +15949,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOESContextANGLE(GLeglCont if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameterivOES( context, target, attachment, pname, params)); @@ -17871,13 +15966,13 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOESContextANGLE(GLeglCont } } -void GL_APIENTRY GL_GetFramebufferParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetFramebufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFramebufferParameteriv, + EVENT(context, gl::EntryPoint::GetFramebufferParameteriv, "glGetFramebufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), GLenumToString(GLenumGroup::FramebufferAttachmentParameterName, pname), @@ -17886,7 +15981,7 @@ void GL_APIENTRY GL_GetFramebufferParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferParameteriv(context, target, pname, params)); if (isCallValid) @@ -17901,16 +15996,17 @@ void GL_APIENTRY GL_GetFramebufferParameterivContextANGLE(GLeglContext ctx, } } -GLenum GL_APIENTRY GL_GetGraphicsResetStatusContextANGLE(GLeglContext ctx) +GLenum GL_APIENTRY GetGraphicsResetStatusContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLGetGraphicsResetStatus, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetGraphicsResetStatus, "glGetGraphicsResetStatus", + "context = %d", CID(context)); GLenum returnValue; if (context) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetGraphicsResetStatus(context)); if (isCallValid) { @@ -17918,29 +16014,29 @@ GLenum GL_APIENTRY GL_GetGraphicsResetStatusContextANGLE(GLeglContext ctx) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetGraphicsResetStatus, isCallValid, context, returnValue); } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) +GLenum GL_APIENTRY GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLGetGraphicsResetStatusEXT, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::GetGraphicsResetStatusEXT, "glGetGraphicsResetStatusEXT", + "context = %d", CID(context)); GLenum returnValue; if (context) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetGraphicsResetStatusEXT(context)); if (isCallValid) @@ -17949,34 +16045,32 @@ GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetGraphicsResetStatusEXT, isCallValid, context, returnValue); } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetInteger64i_vContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLint64 *data) +void GL_APIENTRY GetInteger64i_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint64 *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetInteger64i_v, + EVENT(context, gl::EntryPoint::GetInteger64i_v, "glGetInteger64i_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TypeEnum, target), index, (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64i_v(context, target, index, data)); if (isCallValid) @@ -17991,16 +16085,17 @@ void GL_APIENTRY GL_GetInteger64i_vContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) +void GL_APIENTRY GetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetInteger64v, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetInteger64v, "glGetInteger64v", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64v(context, pname, data)); if (isCallValid) @@ -18015,16 +16110,17 @@ void GL_APIENTRY GL_GetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GL } } -void GL_APIENTRY GL_GetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) +void GL_APIENTRY GetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetInteger64vEXT, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetInteger64vEXT, "glGetInteger64vEXT", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64vEXT(context, pname, data)); if (isCallValid) @@ -18039,20 +16135,20 @@ void GL_APIENTRY GL_GetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, } } -void GL_APIENTRY GL_GetIntegeri_vContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLint *data) +void GL_APIENTRY GetIntegeri_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetIntegeri_v, + EVENT(context, gl::EntryPoint::GetIntegeri_v, "glGetIntegeri_v", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TypeEnum, target), index, (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegeri_v(context, target, index, data)); if (isCallValid) @@ -18067,16 +16163,17 @@ void GL_APIENTRY GL_GetIntegeri_vContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) +void GL_APIENTRY GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetIntegerv, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetIntegerv, "glGetIntegerv", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegerv(context, pname, data)); if (isCallValid) { @@ -18090,15 +16187,15 @@ void GL_APIENTRY GL_GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLin } } -void GL_APIENTRY GL_GetInternalformativContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLint *params) +void GL_APIENTRY GetInternalformativContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetInternalformativ, + EVENT(context, gl::EntryPoint::GetInternalformativ, "glGetInternalformativ", "context = %d, target = %s, internalformat = %s, pname = %s, bufSize = %d, params = " "0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), @@ -18108,7 +16205,7 @@ void GL_APIENTRY GL_GetInternalformativContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInternalformativ(context, target, internalformat, pname, bufSize, params)); @@ -18125,21 +16222,22 @@ void GL_APIENTRY GL_GetInternalformativContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetLightfvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetLightfv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::GetLightfv, "glGetLightfv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetLightfv(context, light, pnamePacked, params)); if (isCallValid) @@ -18154,21 +16252,22 @@ void GL_APIENTRY GL_GetLightfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetLightxvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - GLfixed *params) +void GL_APIENTRY GetLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetLightxv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::GetLightxv, "glGetLightxv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetLightxv(context, light, pnamePacked, params)); if (isCallValid) @@ -18183,13 +16282,13 @@ void GL_APIENTRY GL_GetLightxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetMaterialfvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetMaterialfv, + EVENT(context, gl::EntryPoint::GetMaterialfv, "glGetMaterialfv", "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); @@ -18197,8 +16296,8 @@ void GL_APIENTRY GL_GetMaterialfvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMaterialfv(context, face, pnamePacked, params)); if (isCallValid) @@ -18213,13 +16312,13 @@ void GL_APIENTRY GL_GetMaterialfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetMaterialxvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfixed *params) +void GL_APIENTRY GetMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetMaterialxv, + EVENT(context, gl::EntryPoint::GetMaterialxv, "glGetMaterialxv", "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); @@ -18227,8 +16326,8 @@ void GL_APIENTRY GL_GetMaterialxvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMaterialxv(context, face, pnamePacked, params)); if (isCallValid) @@ -18243,13 +16342,13 @@ void GL_APIENTRY GL_GetMaterialxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, - GLuint memoryObject, - GLenum pname, - GLint *params) +void GL_APIENTRY GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, + GLuint memoryObject, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetMemoryObjectParameterivEXT, + EVENT(context, gl::EntryPoint::GetMemoryObjectParameterivEXT, "glGetMemoryObjectParameterivEXT", "context = %d, memoryObject = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), memoryObject, GLenumToString(GLenumGroup::MemoryObjectParameterName, pname), (uintptr_t)params); @@ -18257,8 +16356,8 @@ void GL_APIENTRY GL_GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMemoryObjectParameterivEXT(context, memoryObjectPacked, pname, params)); @@ -18275,20 +16374,20 @@ void GL_APIENTRY GL_GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetMultisamplefvContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLfloat *val) +void GL_APIENTRY GetMultisamplefvContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val) { Context *context = static_cast(ctx); - EVENT(context, GLGetMultisamplefv, + EVENT(context, gl::EntryPoint::GetMultisamplefv, "glGetMultisamplefv", "context = %d, pname = %s, index = %u, val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, (uintptr_t)val); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefv(context, pname, index, val)); if (isCallValid) @@ -18303,15 +16402,15 @@ void GL_APIENTRY GL_GetMultisamplefvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetObjectLabelContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectLabelContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLGetObjectLabel, + EVENT(context, gl::EntryPoint::GetObjectLabel, "glGetObjectLabel", "context = %d, identifier = %s, name = %u, bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, identifier), name, bufSize, @@ -18320,7 +16419,7 @@ void GL_APIENTRY GL_GetObjectLabelContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectLabel(context, identifier, name, bufSize, length, label)); @@ -18337,49 +16436,15 @@ void GL_APIENTRY GL_GetObjectLabelContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetObjectLabelEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLGetObjectLabelEXT, - "context = %d, type = %s, object = %u, bufSize = %d, length = 0x%016" PRIxPTR - ", label = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), object, bufSize, - (uintptr_t)length, (uintptr_t)label); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetObjectLabelEXT(context, type, object, bufSize, length, label)); - if (isCallValid) - { - context->getObjectLabel(type, object, bufSize, length, label); - } - ANGLE_CAPTURE(GetObjectLabelEXT, isCallValid, context, type, object, bufSize, length, - label); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetObjectLabelKHRContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei bufSize, - GLsizei *length, - GLchar *label) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetObjectLabelKHR, + EVENT(context, gl::EntryPoint::GetObjectLabelKHR, "glGetObjectLabelKHR", "context = %d, identifier = %s, name = %u, bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, identifier), name, bufSize, @@ -18388,7 +16453,7 @@ void GL_APIENTRY GL_GetObjectLabelKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectLabelKHR(context, identifier, name, bufSize, length, label)); @@ -18405,14 +16470,14 @@ void GL_APIENTRY GL_GetObjectLabelKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetObjectPtrLabelContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectPtrLabelContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLGetObjectPtrLabel, + EVENT(context, gl::EntryPoint::GetObjectPtrLabel, "glGetObjectPtrLabel", "context = %d, ptr = 0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, bufSize, (uintptr_t)length, (uintptr_t)label); @@ -18420,7 +16485,7 @@ void GL_APIENTRY GL_GetObjectPtrLabelContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectPtrLabel(context, ptr, bufSize, length, label)); if (isCallValid) @@ -18435,14 +16500,14 @@ void GL_APIENTRY GL_GetObjectPtrLabelContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label) +void GL_APIENTRY GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLGetObjectPtrLabelKHR, + EVENT(context, gl::EntryPoint::GetObjectPtrLabelKHR, "glGetObjectPtrLabelKHR", "context = %d, ptr = 0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, bufSize, (uintptr_t)length, (uintptr_t)label); @@ -18450,7 +16515,7 @@ void GL_APIENTRY GL_GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetObjectPtrLabelKHR(context, ptr, bufSize, length, label)); if (isCallValid) @@ -18465,16 +16530,17 @@ void GL_APIENTRY GL_GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) +void GL_APIENTRY GetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetPointerv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPointervPName, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetPointerv, "glGetPointerv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPointervPName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointerv(context, pname, params)); if (isCallValid) @@ -18489,16 +16555,17 @@ void GL_APIENTRY GL_GetPointervContextANGLE(GLeglContext ctx, GLenum pname, void } } -void GL_APIENTRY GL_GetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) +void GL_APIENTRY GetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetPointervKHR, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::GetPointervKHR, "glGetPointervKHR", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointervKHR(context, pname, params)); if (isCallValid) @@ -18513,15 +16580,15 @@ void GL_APIENTRY GL_GetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, v } } -void GL_APIENTRY GL_GetProgramBinaryContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary) +void GL_APIENTRY GetProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramBinary, + EVENT(context, gl::EntryPoint::GetProgramBinary, "glGetProgramBinary", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", binaryFormat = 0x%016" PRIxPTR ", binary = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)binaryFormat, @@ -18530,8 +16597,8 @@ void GL_APIENTRY GL_GetProgramBinaryContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramBinary(context, programPacked, bufSize, length, binaryFormat, binary)); @@ -18548,15 +16615,15 @@ void GL_APIENTRY GL_GetProgramBinaryContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramBinaryOESContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary) +void GL_APIENTRY GetProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramBinaryOES, + EVENT(context, gl::EntryPoint::GetProgramBinaryOES, "glGetProgramBinaryOES", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", binaryFormat = 0x%016" PRIxPTR ", binary = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)binaryFormat, @@ -18565,8 +16632,8 @@ void GL_APIENTRY GL_GetProgramBinaryOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramBinaryOES(context, programPacked, bufSize, length, binaryFormat, binary)); @@ -18583,14 +16650,14 @@ void GL_APIENTRY GL_GetProgramBinaryOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramInfoLogContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetProgramInfoLogContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramInfoLog, + EVENT(context, gl::EntryPoint::GetProgramInfoLog, "glGetProgramInfoLog", "context = %d, program = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), program, bufSize, (uintptr_t)length, (uintptr_t)infoLog); @@ -18598,8 +16665,8 @@ void GL_APIENTRY GL_GetProgramInfoLogContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInfoLog(context, programPacked, bufSize, length, infoLog)); @@ -18616,14 +16683,14 @@ void GL_APIENTRY GL_GetProgramInfoLogContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramInterfaceivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLenum pname, - GLint *params) +void GL_APIENTRY GetProgramInterfaceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramInterfaceiv, + EVENT(context, gl::EntryPoint::GetProgramInterfaceiv, "glGetProgramInterfaceiv", "context = %d, program = %u, programInterface = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -18632,8 +16699,8 @@ void GL_APIENTRY GL_GetProgramInterfaceivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInterfaceiv(context, programPacked, programInterface, pname, params)); @@ -18650,14 +16717,14 @@ void GL_APIENTRY GL_GetProgramInterfaceivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramPipelineInfoLog, + EVENT(context, gl::EntryPoint::GetProgramPipelineInfoLog, "glGetProgramPipelineInfoLog", "context = %d, pipeline = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), pipeline, bufSize, (uintptr_t)length, (uintptr_t)infoLog); @@ -18665,8 +16732,8 @@ void GL_APIENTRY GL_GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramPipelineInfoLog(context, pipelinePacked, bufSize, length, infoLog)); @@ -18683,54 +16750,21 @@ void GL_APIENTRY GL_GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramPipelineInfoLogEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetProgramPipelineivContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramPipelineInfoLogEXT, - "context = %d, pipeline = %u, bufSize = %d, length = 0x%016" PRIxPTR - ", infoLog = 0x%016" PRIxPTR "", - CID(context), pipeline, bufSize, (uintptr_t)length, (uintptr_t)infoLog); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateGetProgramPipelineInfoLogEXT( - context, pipelinePacked, bufSize, length, infoLog)); - if (isCallValid) - { - context->getProgramPipelineInfoLog(pipelinePacked, bufSize, length, infoLog); - } - ANGLE_CAPTURE(GetProgramPipelineInfoLogEXT, isCallValid, context, pipelinePacked, bufSize, - length, infoLog); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetProgramPipelineivContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLenum pname, - GLint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetProgramPipelineiv, + EVENT(context, gl::EntryPoint::GetProgramPipelineiv, "glGetProgramPipelineiv", "context = %d, pipeline = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), pipeline, GLenumToString(GLenumGroup::PipelineParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramPipelineiv(context, pipelinePacked, pname, params)); if (isCallValid) @@ -18745,43 +16779,13 @@ void GL_APIENTRY GL_GetProgramPipelineivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramPipelineivEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLenum pname, - GLint *params) +GLuint GL_APIENTRY GetProgramResourceIndexContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramPipelineivEXT, - "context = %d, pipeline = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - pipeline, GLenumToString(GLenumGroup::PipelineParameterName, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetProgramPipelineivEXT(context, pipelinePacked, pname, params)); - if (isCallValid) - { - context->getProgramPipelineiv(pipelinePacked, pname, params); - } - ANGLE_CAPTURE(GetProgramPipelineivEXT, isCallValid, context, pipelinePacked, pname, params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -GLuint GL_APIENTRY GL_GetProgramResourceIndexContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetProgramResourceIndex, + EVENT(context, gl::EntryPoint::GetProgramResourceIndex, "glGetProgramResourceIndex", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -18790,8 +16794,8 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndexContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceIndex(context, programPacked, programInterface, name)); @@ -18801,8 +16805,7 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndexContextANGLE(GLeglContext ctx, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceIndex, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -18810,18 +16813,18 @@ GLuint GL_APIENTRY GL_GetProgramResourceIndexContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLint GL_APIENTRY GL_GetProgramResourceLocationContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name) +GLint GL_APIENTRY GetProgramResourceLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramResourceLocation, + EVENT(context, gl::EntryPoint::GetProgramResourceLocation, "glGetProgramResourceLocation", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -18830,8 +16833,8 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceLocation(context, programPacked, programInterface, name)); @@ -18842,8 +16845,7 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationContextANGLE(GLeglContext ctx, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceLocation, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -18851,19 +16853,19 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name) +GLint GL_APIENTRY GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramResourceLocationIndexEXT, + EVENT(context, gl::EntryPoint::GetProgramResourceLocationIndexEXT, + "glGetProgramResourceLocationIndexEXT", "context = %d, program = %u, programInterface = %s, name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), (uintptr_t)name); @@ -18872,8 +16874,8 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceLocationIndexEXT( context, programPacked, programInterface, name)); @@ -18885,8 +16887,7 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext else { returnValue = - GetDefaultReturnValue(); + GetDefaultReturnValue(); } ANGLE_CAPTURE(GetProgramResourceLocationIndexEXT, isCallValid, context, programPacked, programInterface, name, returnValue); @@ -18895,21 +16896,21 @@ GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext { GenerateContextLostErrorOnContext(context); returnValue = - GetDefaultReturnValue(); + GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetProgramResourceNameContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLchar *name) +void GL_APIENTRY GetProgramResourceNameContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramResourceName, + EVENT(context, gl::EntryPoint::GetProgramResourceName, "glGetProgramResourceName", "context = %d, program = %u, programInterface = %s, index = %u, bufSize = %d, length = " "0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -18918,8 +16919,8 @@ void GL_APIENTRY GL_GetProgramResourceNameContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceName(context, programPacked, programInterface, index, bufSize, length, name)); @@ -18937,18 +16938,18 @@ void GL_APIENTRY GL_GetProgramResourceNameContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramResourceivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLuint index, - GLsizei propCount, - const GLenum *props, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramResourceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramResourceiv, + EVENT(context, gl::EntryPoint::GetProgramResourceiv, "glGetProgramResourceiv", "context = %d, program = %u, programInterface = %s, index = %u, propCount = %d, props = " "0x%016" PRIxPTR ", bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramInterface, programInterface), @@ -18957,8 +16958,8 @@ void GL_APIENTRY GL_GetProgramResourceivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramResourceiv(context, programPacked, programInterface, index, @@ -18977,21 +16978,21 @@ void GL_APIENTRY GL_GetProgramResourceivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint *params) +void GL_APIENTRY GetProgramivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramiv, + EVENT(context, gl::EntryPoint::GetProgramiv, "glGetProgramiv", "context = %d, program = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::ProgramPropertyARB, pname), (uintptr_t)params); if (context) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramiv(context, programPacked, pname, params)); if (isCallValid) @@ -19004,21 +17005,21 @@ void GL_APIENTRY GL_GetProgramivContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLint64 *params) +void GL_APIENTRY GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjecti64vEXT, + EVENT(context, gl::EntryPoint::GetQueryObjecti64vEXT, "glGetQueryObjecti64vEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjecti64vEXT(context, idPacked, pname, params)); if (isCallValid) @@ -19031,21 +17032,21 @@ void GL_APIENTRY GL_GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetQueryObjectivEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLint *params) +void GL_APIENTRY GetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectivEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectivEXT, "glGetQueryObjectivEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectivEXT(context, idPacked, pname, params)); if (isCallValid) @@ -19058,21 +17059,21 @@ void GL_APIENTRY GL_GetQueryObjectivEXTContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLuint64 *params) +void GL_APIENTRY GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectui64vEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectui64vEXT, "glGetQueryObjectui64vEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectui64vEXT(context, idPacked, pname, params)); if (isCallValid) @@ -19087,21 +17088,21 @@ void GL_APIENTRY GL_GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetQueryObjectuivContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectuiv, + EVENT(context, gl::EntryPoint::GetQueryObjectuiv, "glGetQueryObjectuiv", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuiv(context, idPacked, pname, params)); if (isCallValid) @@ -19116,21 +17117,21 @@ void GL_APIENTRY GL_GetQueryObjectuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectuivEXT, + EVENT(context, gl::EntryPoint::GetQueryObjectuivEXT, "glGetQueryObjectuivEXT", "context = %d, id = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::QueryObjectParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuivEXT(context, idPacked, pname, params)); if (isCallValid) @@ -19145,13 +17146,13 @@ void GL_APIENTRY GL_GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetQueryivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetQueryivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryiv, + EVENT(context, gl::EntryPoint::GetQueryiv, "glGetQueryiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), GLenumToString(GLenumGroup::QueryParameterName, pname), (uintptr_t)params); @@ -19159,8 +17160,8 @@ void GL_APIENTRY GL_GetQueryivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryiv(context, targetPacked, pname, params)); if (isCallValid) @@ -19175,13 +17176,13 @@ void GL_APIENTRY GL_GetQueryivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetQueryivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetQueryivEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryivEXT, + EVENT(context, gl::EntryPoint::GetQueryivEXT, "glGetQueryivEXT", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::QueryTarget, target), GLenumToString(GLenumGroup::QueryParameterName, pname), (uintptr_t)params); @@ -19189,8 +17190,8 @@ void GL_APIENTRY GL_GetQueryivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryivEXT(context, targetPacked, pname, params)); if (isCallValid) @@ -19205,13 +17206,13 @@ void GL_APIENTRY GL_GetQueryivEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetRenderbufferParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetRenderbufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetRenderbufferParameteriv, + EVENT(context, gl::EntryPoint::GetRenderbufferParameteriv, "glGetRenderbufferParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::RenderbufferParameterName, pname), (uintptr_t)params); @@ -19219,7 +17220,7 @@ void GL_APIENTRY GL_GetRenderbufferParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameteriv(context, target, pname, params)); if (isCallValid) @@ -19234,13 +17235,13 @@ void GL_APIENTRY GL_GetRenderbufferParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetRenderbufferParameterivOES, + EVENT(context, gl::EntryPoint::GetRenderbufferParameterivOES, "glGetRenderbufferParameterivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::RenderbufferParameterName, pname), (uintptr_t)params); @@ -19248,7 +17249,7 @@ void GL_APIENTRY GL_GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameterivOES(context, target, pname, params)); if (isCallValid) @@ -19263,21 +17264,21 @@ void GL_APIENTRY GL_GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterIivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params) +void GL_APIENTRY GetSamplerParameterIivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIiv, + EVENT(context, gl::EntryPoint::GetSamplerParameterIiv, "glGetSamplerParameterIiv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIiv(context, samplerPacked, pname, params)); if (isCallValid) @@ -19292,52 +17293,21 @@ void GL_APIENTRY GL_GetSamplerParameterIivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params) +void GL_APIENTRY GetSamplerParameterIivOESContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIivEXT, + EVENT(context, gl::EntryPoint::GetSamplerParameterIivOES, "glGetSamplerParameterIivOES", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetSamplerParameterIivEXT(context, samplerPacked, pname, params)); - if (isCallValid) - { - context->getSamplerParameterIiv(samplerPacked, pname, params); - } - ANGLE_CAPTURE(GetSamplerParameterIivEXT, isCallValid, context, samplerPacked, pname, - params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetSamplerParameterIivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIivOES, - "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIivOES(context, samplerPacked, pname, params)); @@ -19354,21 +17324,21 @@ void GL_APIENTRY GL_GetSamplerParameterIivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterIuivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetSamplerParameterIuivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIuiv, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuiv, "glGetSamplerParameterIuiv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuiv(context, samplerPacked, pname, params)); if (isCallValid) @@ -19383,52 +17353,21 @@ void GL_APIENTRY GL_GetSamplerParameterIuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIuivEXT, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuivOES, "glGetSamplerParameterIuivOES", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateGetSamplerParameterIuivEXT(context, samplerPacked, pname, params)); - if (isCallValid) - { - context->getSamplerParameterIuiv(samplerPacked, pname, params); - } - ANGLE_CAPTURE(GetSamplerParameterIuivEXT, isCallValid, context, samplerPacked, pname, - params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLuint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIuivOES, - "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuivOES(context, samplerPacked, pname, params)); @@ -19445,21 +17384,21 @@ void GL_APIENTRY GL_GetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterfvContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterfv, + EVENT(context, gl::EntryPoint::GetSamplerParameterfv, "glGetSamplerParameterfv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterfv(context, samplerPacked, pname, params)); if (isCallValid) @@ -19474,21 +17413,21 @@ void GL_APIENTRY GL_GetSamplerParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params) +void GL_APIENTRY GetSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameteriv, + EVENT(context, gl::EntryPoint::GetSamplerParameteriv, "glGetSamplerParameteriv", "context = %d, sampler = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameteriv(context, samplerPacked, pname, params)); if (isCallValid) @@ -19503,21 +17442,21 @@ void GL_APIENTRY GL_GetSamplerParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum pname, - GLuint64 *params) +void GL_APIENTRY GetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLenum pname, + GLuint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSemaphoreParameterui64vEXT, + EVENT(context, gl::EntryPoint::GetSemaphoreParameterui64vEXT, "glGetSemaphoreParameterui64vEXT", "context = %d, semaphore = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), semaphore, GLenumToString(GLenumGroup::SemaphoreParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSemaphoreParameterui64vEXT(context, semaphorePacked, pname, params)); @@ -19534,14 +17473,14 @@ void GL_APIENTRY GL_GetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetShaderInfoLogContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) +void GL_APIENTRY GetShaderInfoLogContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) { Context *context = static_cast(ctx); - EVENT(context, GLGetShaderInfoLog, + EVENT(context, gl::EntryPoint::GetShaderInfoLog, "glGetShaderInfoLog", "context = %d, shader = %u, bufSize = %d, length = 0x%016" PRIxPTR ", infoLog = 0x%016" PRIxPTR "", CID(context), shader, bufSize, (uintptr_t)length, (uintptr_t)infoLog); @@ -19549,8 +17488,8 @@ void GL_APIENTRY GL_GetShaderInfoLogContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderInfoLog(context, shaderPacked, bufSize, length, infoLog)); @@ -19567,14 +17506,14 @@ void GL_APIENTRY GL_GetShaderInfoLogContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, - GLenum shadertype, - GLenum precisiontype, - GLint *range, - GLint *precision) +void GL_APIENTRY GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, + GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision) { Context *context = static_cast(ctx); - EVENT(context, GLGetShaderPrecisionFormat, + EVENT(context, gl::EntryPoint::GetShaderPrecisionFormat, "glGetShaderPrecisionFormat", "context = %d, shadertype = %s, precisiontype = %s, range = 0x%016" PRIxPTR ", precision = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ShaderType, shadertype), @@ -19584,7 +17523,7 @@ void GL_APIENTRY GL_GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderPrecisionFormat(context, shadertype, precisiontype, range, precision)); @@ -19601,14 +17540,14 @@ void GL_APIENTRY GL_GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetShaderSourceContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *source) +void GL_APIENTRY GetShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source) { Context *context = static_cast(ctx); - EVENT(context, GLGetShaderSource, + EVENT(context, gl::EntryPoint::GetShaderSource, "glGetShaderSource", "context = %d, shader = %u, bufSize = %d, length = 0x%016" PRIxPTR ", source = 0x%016" PRIxPTR "", CID(context), shader, bufSize, (uintptr_t)length, (uintptr_t)source); @@ -19616,8 +17555,8 @@ void GL_APIENTRY GL_GetShaderSourceContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderSource(context, shaderPacked, bufSize, length, source)); @@ -19633,21 +17572,21 @@ void GL_APIENTRY GL_GetShaderSourceContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetShaderivContextANGLE(GLeglContext ctx, - GLuint shader, - GLenum pname, - GLint *params) +void GL_APIENTRY GetShaderivContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetShaderiv, + EVENT(context, gl::EntryPoint::GetShaderiv, "glGetShaderiv", "context = %d, shader = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), shader, GLenumToString(GLenumGroup::ShaderParameterName, pname), (uintptr_t)params); if (context) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderiv(context, shaderPacked, pname, params)); if (isCallValid) @@ -19660,17 +17599,17 @@ void GL_APIENTRY GL_GetShaderivContextANGLE(GLeglContext ctx, {} } -const GLubyte *GL_APIENTRY GL_GetStringContextANGLE(GLeglContext ctx, GLenum name) +const GLubyte *GL_APIENTRY GetStringContextANGLE(GLeglContext ctx, GLenum name) { Context *context = static_cast(ctx); - EVENT(context, GLGetString, "context = %d, name = %s", CID(context), - GLenumToString(GLenumGroup::StringName, name)); + EVENT(context, gl::EntryPoint::GetString, "glGetString", "context = %d, name = %s", + CID(context), GLenumToString(GLenumGroup::StringName, name)); const GLubyte *returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetString(context, name)); if (isCallValid) { @@ -19678,29 +17617,30 @@ const GLubyte *GL_APIENTRY GL_GetStringContextANGLE(GLeglContext ctx, GLenum nam } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetString, isCallValid, context, name, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -const GLubyte *GL_APIENTRY GL_GetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) +const GLubyte *GL_APIENTRY GetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLGetStringi, "context = %d, name = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::GetStringi, "glGetStringi", + "context = %d, name = %s, index = %u", CID(context), GLenumToString(GLenumGroup::StringName, name), index); const GLubyte *returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetStringi(context, name, index)); if (isCallValid) { @@ -19708,27 +17648,27 @@ const GLubyte *GL_APIENTRY GL_GetStringiContextANGLE(GLeglContext ctx, GLenum na } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetStringi, isCallValid, context, name, index, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetSyncivContextANGLE(GLeglContext ctx, - GLsync sync, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *values) +void GL_APIENTRY GetSyncivContextANGLE(GLeglContext ctx, + GLsync sync, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *values) { Context *context = static_cast(ctx); - EVENT(context, GLGetSynciv, + EVENT(context, gl::EntryPoint::GetSynciv, "glGetSynciv", "context = %d, sync = 0x%016" PRIxPTR ", pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", values = 0x%016" PRIxPTR "", CID(context), (uintptr_t)sync, GLenumToString(GLenumGroup::SyncParameterName, pname), @@ -19737,7 +17677,7 @@ void GL_APIENTRY GL_GetSyncivContextANGLE(GLeglContext ctx, if (context) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSynciv(context, sync, pname, bufSize, length, values)); if (isCallValid) @@ -19750,13 +17690,13 @@ void GL_APIENTRY GL_GetSyncivContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetTexEnvfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexEnvfv, + EVENT(context, gl::EntryPoint::GetTexEnvfv, "glGetTexEnvfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); @@ -19764,9 +17704,9 @@ void GL_APIENTRY GL_GetTexEnvfvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnvfv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -19781,13 +17721,13 @@ void GL_APIENTRY GL_GetTexEnvfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexEnvivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexEnviv, + EVENT(context, gl::EntryPoint::GetTexEnviv, "glGetTexEnviv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); @@ -19795,9 +17735,9 @@ void GL_APIENTRY GL_GetTexEnvivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnviv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -19812,13 +17752,13 @@ void GL_APIENTRY GL_GetTexEnvivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexEnvxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed *params) +void GL_APIENTRY GetTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexEnvxv, + EVENT(context, gl::EntryPoint::GetTexEnvxv, "glGetTexEnvxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); @@ -19826,9 +17766,9 @@ void GL_APIENTRY GL_GetTexEnvxvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexEnvxv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -19843,13 +17783,13 @@ void GL_APIENTRY GL_GetTexEnvxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexGenfvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexGenfvOES, + EVENT(context, gl::EntryPoint::GetTexGenfvOES, "glGetTexGenfvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -19857,7 +17797,7 @@ void GL_APIENTRY GL_GetTexGenfvOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenfvOES(context, coord, pname, params)); if (isCallValid) @@ -19872,13 +17812,13 @@ void GL_APIENTRY GL_GetTexGenfvOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexGenivOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexGenivOES, + EVENT(context, gl::EntryPoint::GetTexGenivOES, "glGetTexGenivOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -19886,7 +17826,7 @@ void GL_APIENTRY GL_GetTexGenivOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenivOES(context, coord, pname, params)); if (isCallValid) @@ -19901,13 +17841,13 @@ void GL_APIENTRY GL_GetTexGenivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexGenxvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfixed *params) +void GL_APIENTRY GetTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexGenxvOES, + EVENT(context, gl::EntryPoint::GetTexGenxvOES, "glGetTexGenxvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -19915,7 +17855,7 @@ void GL_APIENTRY GL_GetTexGenxvOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexGenxvOES(context, coord, pname, params)); if (isCallValid) @@ -19930,14 +17870,14 @@ void GL_APIENTRY GL_GetTexGenxvOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexLevelParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameterfv, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfv, "glGetTexLevelParameterfv", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -19945,8 +17885,8 @@ void GL_APIENTRY GL_GetTexLevelParameterfvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfv(context, targetPacked, level, pname, params)); @@ -19963,14 +17903,14 @@ void GL_APIENTRY GL_GetTexLevelParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexLevelParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexLevelParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameteriv, + EVENT(context, gl::EntryPoint::GetTexLevelParameteriv, "glGetTexLevelParameteriv", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -19978,8 +17918,8 @@ void GL_APIENTRY GL_GetTexLevelParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameteriv(context, targetPacked, level, pname, params)); @@ -19996,13 +17936,13 @@ void GL_APIENTRY GL_GetTexLevelParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexParameterIivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIiv, + EVENT(context, gl::EntryPoint::GetTexParameterIiv, "glGetTexParameterIiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20010,8 +17950,8 @@ void GL_APIENTRY GL_GetTexParameterIivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIiv(context, targetPacked, pname, params)); if (isCallValid) @@ -20026,13 +17966,13 @@ void GL_APIENTRY GL_GetTexParameterIivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexParameterIivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIivEXT, + EVENT(context, gl::EntryPoint::GetTexParameterIivOES, "glGetTexParameterIivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20040,38 +17980,8 @@ void GL_APIENTRY GL_GetTexParameterIivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGetTexParameterIivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->getTexParameterIiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(GetTexParameterIivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetTexParameterIivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIivOES, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -20086,13 +17996,13 @@ void GL_APIENTRY GL_GetTexParameterIivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIuivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetTexParameterIuivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIuiv, + EVENT(context, gl::EntryPoint::GetTexParameterIuiv, "glGetTexParameterIuiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20100,8 +18010,8 @@ void GL_APIENTRY GL_GetTexParameterIuivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuiv(context, targetPacked, pname, params)); if (isCallValid) @@ -20116,13 +18026,13 @@ void GL_APIENTRY GL_GetTexParameterIuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetTexParameterIuivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIuivEXT, + EVENT(context, gl::EntryPoint::GetTexParameterIuivOES, "glGetTexParameterIuivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20130,38 +18040,8 @@ void GL_APIENTRY GL_GetTexParameterIuivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateGetTexParameterIuivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->getTexParameterIuiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(GetTexParameterIuivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_GetTexParameterIuivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIuivOES, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -20176,13 +18056,13 @@ void GL_APIENTRY GL_GetTexParameterIuivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterfv, + EVENT(context, gl::EntryPoint::GetTexParameterfv, "glGetTexParameterfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20190,8 +18070,8 @@ void GL_APIENTRY GL_GetTexParameterfvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterfv(context, targetPacked, pname, params)); if (isCallValid) @@ -20206,13 +18086,13 @@ void GL_APIENTRY GL_GetTexParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameteriv, + EVENT(context, gl::EntryPoint::GetTexParameteriv, "glGetTexParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20220,8 +18100,8 @@ void GL_APIENTRY GL_GetTexParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -20236,13 +18116,13 @@ void GL_APIENTRY GL_GetTexParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed *params) +void GL_APIENTRY GetTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterxv, + EVENT(context, gl::EntryPoint::GetTexParameterxv, "glGetTexParameterxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -20250,8 +18130,8 @@ void GL_APIENTRY GL_GetTexParameterxvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterxv(context, targetPacked, pname, params)); if (isCallValid) @@ -20266,17 +18146,17 @@ void GL_APIENTRY GL_GetTexParameterxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLsizei *size, - GLenum *type, - GLchar *name) +void GL_APIENTRY GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetTransformFeedbackVarying, + EVENT(context, gl::EntryPoint::GetTransformFeedbackVarying, "glGetTransformFeedbackVarying", "context = %d, program = %u, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", size = 0x%016" PRIxPTR ", type = 0x%016" PRIxPTR ", name = 0x%016" PRIxPTR "", CID(context), program, index, bufSize, (uintptr_t)length, (uintptr_t)size, @@ -20285,8 +18165,8 @@ void GL_APIENTRY GL_GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTransformFeedbackVarying(context, programPacked, index, bufSize, length, size, type, name)); @@ -20304,14 +18184,15 @@ void GL_APIENTRY GL_GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufsize, - GLsizei *length, - GLchar *source) +void GL_APIENTRY GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source) { Context *context = static_cast(ctx); - EVENT(context, GLGetTranslatedShaderSourceANGLE, + EVENT(context, gl::EntryPoint::GetTranslatedShaderSourceANGLE, + "glGetTranslatedShaderSourceANGLE", "context = %d, shader = %u, bufsize = %d, length = 0x%016" PRIxPTR ", source = 0x%016" PRIxPTR "", CID(context), shader, bufsize, (uintptr_t)length, (uintptr_t)source); @@ -20319,8 +18200,8 @@ void GL_APIENTRY GL_GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTranslatedShaderSourceANGLE( context, shaderPacked, bufsize, length, source)); @@ -20337,12 +18218,12 @@ void GL_APIENTRY GL_GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, } } -GLuint GL_APIENTRY GL_GetUniformBlockIndexContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *uniformBlockName) +GLuint GL_APIENTRY GetUniformBlockIndexContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *uniformBlockName) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformBlockIndex, + EVENT(context, gl::EntryPoint::GetUniformBlockIndex, "glGetUniformBlockIndex", "context = %d, program = %u, uniformBlockName = 0x%016" PRIxPTR "", CID(context), program, (uintptr_t)uniformBlockName); @@ -20350,8 +18231,8 @@ GLuint GL_APIENTRY GL_GetUniformBlockIndexContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformBlockIndex(context, programPacked, uniformBlockName)); if (isCallValid) @@ -20360,8 +18241,7 @@ GLuint GL_APIENTRY GL_GetUniformBlockIndexContextANGLE(GLeglContext ctx, } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetUniformBlockIndex, isCallValid, context, programPacked, uniformBlockName, returnValue); @@ -20369,19 +18249,19 @@ GLuint GL_APIENTRY GL_GetUniformBlockIndexContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetUniformIndicesContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei uniformCount, - const GLchar *const *uniformNames, - GLuint *uniformIndices) +void GL_APIENTRY GetUniformIndicesContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformIndices, + EVENT(context, gl::EntryPoint::GetUniformIndices, "glGetUniformIndices", "context = %d, program = %u, uniformCount = %d, uniformNames = 0x%016" PRIxPTR ", uniformIndices = 0x%016" PRIxPTR "", CID(context), program, uniformCount, (uintptr_t)uniformNames, (uintptr_t)uniformIndices); @@ -20389,8 +18269,8 @@ void GL_APIENTRY GL_GetUniformIndicesContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformIndices(context, programPacked, uniformCount, uniformNames, uniformIndices)); @@ -20407,20 +18287,21 @@ void GL_APIENTRY GL_GetUniformIndicesContextANGLE(GLeglContext ctx, } } -GLint GL_APIENTRY GL_GetUniformLocationContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name) +GLint GL_APIENTRY GetUniformLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformLocation, "context = %d, program = %u, name = 0x%016" PRIxPTR "", - CID(context), program, (uintptr_t)name); + EVENT(context, gl::EntryPoint::GetUniformLocation, "glGetUniformLocation", + "context = %d, program = %u, name = 0x%016" PRIxPTR "", CID(context), program, + (uintptr_t)name); GLint returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformLocation(context, programPacked, name)); if (isCallValid) @@ -20429,34 +18310,34 @@ GLint GL_APIENTRY GL_GetUniformLocationContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(GetUniformLocation, isCallValid, context, programPacked, name, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_GetUniformfvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat *params) +void GL_APIENTRY GetUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformfv, + EVENT(context, gl::EntryPoint::GetUniformfv, "glGetUniformfv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformfv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -20471,22 +18352,22 @@ void GL_APIENTRY GL_GetUniformfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUniformivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint *params) +void GL_APIENTRY GetUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformiv, + EVENT(context, gl::EntryPoint::GetUniformiv, "glGetUniformiv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformiv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -20501,22 +18382,22 @@ void GL_APIENTRY GL_GetUniformivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUniformuivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint *params) +void GL_APIENTRY GetUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformuiv, + EVENT(context, gl::EntryPoint::GetUniformuiv, "glGetUniformuiv", "context = %d, program = %u, location = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformuiv(context, programPacked, locationPacked, params)); if (isCallValid) @@ -20531,16 +18412,17 @@ void GL_APIENTRY GL_GetUniformuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUnsignedBytevEXTContextANGLE(GLeglContext ctx, GLenum pname, GLubyte *data) +void GL_APIENTRY GetUnsignedBytevEXTContextANGLE(GLeglContext ctx, GLenum pname, GLubyte *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetUnsignedBytevEXT, "context = %d, pname = %s, data = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); + EVENT(context, gl::EntryPoint::GetUnsignedBytevEXT, "glGetUnsignedBytevEXT", + "context = %d, pname = %s, data = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::GetPName, pname), (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUnsignedBytevEXT(context, pname, data)); if (isCallValid) @@ -20555,20 +18437,20 @@ void GL_APIENTRY GL_GetUnsignedBytevEXTContextANGLE(GLeglContext ctx, GLenum pna } } -void GL_APIENTRY GL_GetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLubyte *data) +void GL_APIENTRY GetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLubyte *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetUnsignedBytei_vEXT, + EVENT(context, gl::EntryPoint::GetUnsignedBytei_vEXT, "glGetUnsignedBytei_vEXT", "context = %d, target = %s, index = %u, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, (uintptr_t)data); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUnsignedBytei_vEXT(context, target, index, data)); if (isCallValid) @@ -20583,20 +18465,20 @@ void GL_APIENTRY GL_GetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribIivContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLint *params) +void GL_APIENTRY GetVertexAttribIivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribIiv, + EVENT(context, gl::EntryPoint::GetVertexAttribIiv, "glGetVertexAttribIiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::VertexAttribEnum, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIiv(context, index, pname, params)); if (isCallValid) @@ -20611,20 +18493,20 @@ void GL_APIENTRY GL_GetVertexAttribIivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribIuivContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLuint *params) +void GL_APIENTRY GetVertexAttribIuivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribIuiv, + EVENT(context, gl::EntryPoint::GetVertexAttribIuiv, "glGetVertexAttribIuiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::VertexAttribEnum, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIuiv(context, index, pname, params)); if (isCallValid) @@ -20639,20 +18521,20 @@ void GL_APIENTRY GL_GetVertexAttribIuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribPointervContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - void **pointer) +void GL_APIENTRY GetVertexAttribPointervContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + void **pointer) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribPointerv, + EVENT(context, gl::EntryPoint::GetVertexAttribPointerv, "glGetVertexAttribPointerv", "context = %d, index = %u, pname = %s, pointer = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)pointer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribPointerv(context, index, pname, pointer)); if (isCallValid) @@ -20667,20 +18549,20 @@ void GL_APIENTRY GL_GetVertexAttribPointervContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribfvContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetVertexAttribfvContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribfv, + EVENT(context, gl::EntryPoint::GetVertexAttribfv, "glGetVertexAttribfv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribfv(context, index, pname, params)); if (isCallValid) @@ -20695,20 +18577,20 @@ void GL_APIENTRY GL_GetVertexAttribfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribivContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLint *params) +void GL_APIENTRY GetVertexAttribivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribiv, + EVENT(context, gl::EntryPoint::GetVertexAttribiv, "glGetVertexAttribiv", "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribiv(context, index, pname, params)); if (isCallValid) @@ -20723,23 +18605,23 @@ void GL_APIENTRY GL_GetVertexAttribivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformfvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params) +void GL_APIENTRY GetnUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformfv, + EVENT(context, gl::EntryPoint::GetnUniformfv, "glGetnUniformfv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfv(context, programPacked, locationPacked, bufSize, params)); @@ -20756,23 +18638,23 @@ void GL_APIENTRY GL_GetnUniformfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformfvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params) +void GL_APIENTRY GetnUniformfvEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformfvEXT, + EVENT(context, gl::EntryPoint::GetnUniformfvEXT, "glGetnUniformfvEXT", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfvEXT(context, programPacked, locationPacked, bufSize, params)); @@ -20789,23 +18671,23 @@ void GL_APIENTRY GL_GetnUniformfvEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLint *params) +void GL_APIENTRY GetnUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformiv, + EVENT(context, gl::EntryPoint::GetnUniformiv, "glGetnUniformiv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformiv(context, programPacked, locationPacked, bufSize, params)); @@ -20822,23 +18704,23 @@ void GL_APIENTRY GL_GetnUniformivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLint *params) +void GL_APIENTRY GetnUniformivEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformivEXT, + EVENT(context, gl::EntryPoint::GetnUniformivEXT, "glGetnUniformivEXT", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformivEXT(context, programPacked, locationPacked, bufSize, params)); @@ -20855,23 +18737,23 @@ void GL_APIENTRY GL_GetnUniformivEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformuivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLuint *params) +void GL_APIENTRY GetnUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformuiv, + EVENT(context, gl::EntryPoint::GetnUniformuiv, "glGetnUniformuiv", "context = %d, program = %u, location = %d, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformuiv(context, programPacked, locationPacked, bufSize, params)); @@ -20888,17 +18770,17 @@ void GL_APIENTRY GL_GetnUniformuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) +void GL_APIENTRY HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLHint, "context = %d, target = %s, mode = %s", CID(context), - GLenumToString(GLenumGroup::HintTarget, target), + EVENT(context, gl::EntryPoint::Hint, "glHint", "context = %d, target = %s, mode = %s", + CID(context), GLenumToString(GLenumGroup::HintTarget, target), GLenumToString(GLenumGroup::HintMode, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateHint(context, target, mode)); if (isCallValid) { @@ -20912,14 +18794,14 @@ void GL_APIENTRY GL_HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mod } } -void GL_APIENTRY GL_ImportMemoryFdEXTContextANGLE(GLeglContext ctx, - GLuint memory, - GLuint64 size, - GLenum handleType, - GLint fd) +void GL_APIENTRY ImportMemoryFdEXTContextANGLE(GLeglContext ctx, + GLuint memory, + GLuint64 size, + GLenum handleType, + GLint fd) { Context *context = static_cast(ctx); - EVENT(context, GLImportMemoryFdEXT, + EVENT(context, gl::EntryPoint::ImportMemoryFdEXT, "glImportMemoryFdEXT", "context = %d, memory = %u, size = %llu, handleType = %s, fd = %d", CID(context), memory, static_cast(size), GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); @@ -20927,9 +18809,9 @@ void GL_APIENTRY GL_ImportMemoryFdEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID memoryPacked = PackParam(memory); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryPacked = FromGL(memory); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportMemoryFdEXT(context, memoryPacked, size, handleTypePacked, fd)); @@ -20946,21 +18828,22 @@ void GL_APIENTRY GL_ImportMemoryFdEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum handleType, - GLint fd) +void GL_APIENTRY ImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLenum handleType, + GLint fd) { Context *context = static_cast(ctx); - EVENT(context, GLImportSemaphoreFdEXT, "context = %d, semaphore = %u, handleType = %s, fd = %d", - CID(context), semaphore, GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); + EVENT(context, gl::EntryPoint::ImportSemaphoreFdEXT, "glImportSemaphoreFdEXT", + "context = %d, semaphore = %u, handleType = %s, fd = %d", CID(context), semaphore, + GLenumToString(GLenumGroup::ExternalHandleType, handleType), fd); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportSemaphoreFdEXT(context, semaphorePacked, handleTypePacked, fd)); @@ -20977,20 +18860,20 @@ void GL_APIENTRY GL_ImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_InsertEventMarkerEXTContextANGLE(GLeglContext ctx, - GLsizei length, - const GLchar *marker) +void GL_APIENTRY InsertEventMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) { Context *context = static_cast(ctx); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLInsertEventMarkerEXT, "context = %d, length = %d, marker = 0x%016" PRIxPTR - // "", CID(context), length, (uintptr_t)marker); + // EVENT(context, gl::EntryPoint::InsertEventMarkerEXT, "glInsertEventMarkerEXT", "context = %d, + // length = %d, marker = 0x%016" PRIxPTR "", CID(context), length, (uintptr_t)marker); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInsertEventMarkerEXT(context, length, marker)); if (isCallValid) @@ -21005,13 +18888,13 @@ void GL_APIENTRY GL_InsertEventMarkerEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_InvalidateFramebufferContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei numAttachments, - const GLenum *attachments) +void GL_APIENTRY InvalidateFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) { Context *context = static_cast(ctx); - EVENT(context, GLInvalidateFramebuffer, + EVENT(context, gl::EntryPoint::InvalidateFramebuffer, "glInvalidateFramebuffer", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::FramebufferTarget, target), numAttachments, (uintptr_t)attachments); @@ -21019,7 +18902,7 @@ void GL_APIENTRY GL_InvalidateFramebufferContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateFramebuffer(context, target, numAttachments, attachments)); @@ -21036,17 +18919,17 @@ void GL_APIENTRY GL_InvalidateFramebufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_InvalidateSubFramebufferContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height) +void GL_APIENTRY InvalidateSubFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLInvalidateSubFramebuffer, + EVENT(context, gl::EntryPoint::InvalidateSubFramebuffer, "glInvalidateSubFramebuffer", "context = %d, target = %s, numAttachments = %d, attachments = 0x%016" PRIxPTR ", x = %d, y = %d, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), numAttachments, @@ -21055,7 +18938,7 @@ void GL_APIENTRY GL_InvalidateSubFramebufferContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateSubFramebuffer(context, target, numAttachments, attachments, x, y, width, height)); @@ -21073,17 +18956,18 @@ void GL_APIENTRY GL_InvalidateSubFramebufferContextANGLE(GLeglContext ctx, } } -GLboolean GL_APIENTRY GL_IsBufferContextANGLE(GLeglContext ctx, GLuint buffer) +GLboolean GL_APIENTRY IsBufferContextANGLE(GLeglContext ctx, GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLIsBuffer, "context = %d, buffer = %u", CID(context), buffer); + EVENT(context, gl::EntryPoint::IsBuffer, "glIsBuffer", "context = %d, buffer = %u", + CID(context), buffer); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsBuffer(context, bufferPacked)); if (isCallValid) { @@ -21091,29 +18975,29 @@ GLboolean GL_APIENTRY GL_IsBufferContextANGLE(GLeglContext ctx, GLuint buffer) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsBuffer, isCallValid, context, bufferPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsEnabledContextANGLE(GLeglContext ctx, GLenum cap) +GLboolean GL_APIENTRY IsEnabledContextANGLE(GLeglContext ctx, GLenum cap) { Context *context = static_cast(ctx); - EVENT(context, GLIsEnabled, "context = %d, cap = %s", CID(context), + EVENT(context, gl::EntryPoint::IsEnabled, "glIsEnabled", "context = %d, cap = %s", CID(context), GLenumToString(GLenumGroup::EnableCap, cap)); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnabled(context, cap)); if (isCallValid) { @@ -21121,29 +19005,30 @@ GLboolean GL_APIENTRY GL_IsEnabledContextANGLE(GLeglContext ctx, GLenum cap) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnabled, isCallValid, context, cap, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsEnablediContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnablediContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLIsEnabledi, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnabledi, "glIsEnabledi", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnabledi(context, target, index)); if (isCallValid) @@ -21152,29 +19037,30 @@ GLboolean GL_APIENTRY GL_IsEnablediContextANGLE(GLeglContext ctx, GLenum target, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnabledi, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsEnablediEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnablediEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLIsEnablediEXT, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnablediEXT, "glIsEnablediEXT", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnablediEXT(context, target, index)); if (isCallValid) @@ -21183,29 +19069,30 @@ GLboolean GL_APIENTRY GL_IsEnablediEXTContextANGLE(GLeglContext ctx, GLenum targ } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnablediEXT, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsEnablediOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) +GLboolean GL_APIENTRY IsEnablediOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { Context *context = static_cast(ctx); - EVENT(context, GLIsEnablediOES, "context = %d, target = %s, index = %u", CID(context), + EVENT(context, gl::EntryPoint::IsEnablediOES, "glIsEnablediOES", + "context = %d, target = %s, index = %u", CID(context), GLenumToString(GLenumGroup::EnableCap, target), index); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsEnablediOES(context, target, index)); if (isCallValid) @@ -21214,29 +19101,30 @@ GLboolean GL_APIENTRY GL_IsEnablediOESContextANGLE(GLeglContext ctx, GLenum targ } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsEnablediOES, isCallValid, context, target, index, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +GLboolean GL_APIENTRY IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { Context *context = static_cast(ctx); - EVENT(context, GLIsFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::IsFenceNV, "glIsFenceNV", "context = %d, fence = %u", + CID(context), fence); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFenceNV(context, fencePacked)); if (isCallValid) { @@ -21244,29 +19132,30 @@ GLboolean GL_APIENTRY GL_IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFenceNV, isCallValid, context, fencePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) +GLboolean GL_APIENTRY IsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) { Context *context = static_cast(ctx); - EVENT(context, GLIsFramebuffer, "context = %d, framebuffer = %u", CID(context), framebuffer); + EVENT(context, gl::EntryPoint::IsFramebuffer, "glIsFramebuffer", + "context = %d, framebuffer = %u", CID(context), framebuffer); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFramebuffer(context, framebufferPacked)); if (isCallValid) @@ -21275,29 +19164,30 @@ GLboolean GL_APIENTRY GL_IsFramebufferContextANGLE(GLeglContext ctx, GLuint fram } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFramebuffer, isCallValid, context, framebufferPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) +GLboolean GL_APIENTRY IsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) { Context *context = static_cast(ctx); - EVENT(context, GLIsFramebufferOES, "context = %d, framebuffer = %u", CID(context), framebuffer); + EVENT(context, gl::EntryPoint::IsFramebufferOES, "glIsFramebufferOES", + "context = %d, framebuffer = %u", CID(context), framebuffer); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FramebufferID framebufferPacked = PackParam(framebuffer); - std::unique_lock shareContextLock = GetContextLock(context); + FramebufferID framebufferPacked = FromGL(framebuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsFramebufferOES(context, framebufferPacked)); if (isCallValid) @@ -21306,30 +19196,30 @@ GLboolean GL_APIENTRY GL_IsFramebufferOESContextANGLE(GLeglContext ctx, GLuint f } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsFramebufferOES, isCallValid, context, framebufferPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsMemoryObjectEXTContextANGLE(GLeglContext ctx, GLuint memoryObject) +GLboolean GL_APIENTRY IsMemoryObjectEXTContextANGLE(GLeglContext ctx, GLuint memoryObject) { Context *context = static_cast(ctx); - EVENT(context, GLIsMemoryObjectEXT, "context = %d, memoryObject = %u", CID(context), - memoryObject); + EVENT(context, gl::EntryPoint::IsMemoryObjectEXT, "glIsMemoryObjectEXT", + "context = %d, memoryObject = %u", CID(context), memoryObject); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsMemoryObjectEXT(context, memoryObjectPacked)); if (isCallValid) @@ -21338,30 +19228,30 @@ GLboolean GL_APIENTRY GL_IsMemoryObjectEXTContextANGLE(GLeglContext ctx, GLuint } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsMemoryObjectEXT, isCallValid, context, memoryObjectPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsProgramContextANGLE(GLeglContext ctx, GLuint program) +GLboolean GL_APIENTRY IsProgramContextANGLE(GLeglContext ctx, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLIsProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::IsProgram, "glIsProgram", "context = %d, program = %u", + CID(context), program); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsProgram(context, programPacked)); if (isCallValid) { @@ -21369,29 +19259,30 @@ GLboolean GL_APIENTRY GL_IsProgramContextANGLE(GLeglContext ctx, GLuint program) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsProgram, isCallValid, context, programPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +GLboolean GL_APIENTRY IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { Context *context = static_cast(ctx); - EVENT(context, GLIsProgramPipeline, "context = %d, pipeline = %u", CID(context), pipeline); + EVENT(context, gl::EntryPoint::IsProgramPipeline, "glIsProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -21400,62 +19291,29 @@ GLboolean GL_APIENTRY GL_IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsProgramPipeline, isCallValid, context, pipelinePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) +GLboolean GL_APIENTRY IsQueryContextANGLE(GLeglContext ctx, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLIsProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), pipeline); + EVENT(context, gl::EntryPoint::IsQuery, "glIsQuery", "context = %d, id = %u", CID(context), id); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidateIsProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - returnValue = context->isProgramPipeline(pipelinePacked); - } - else - { - returnValue = - GetDefaultReturnValue(); - } - ANGLE_CAPTURE(IsProgramPipelineEXT, isCallValid, context, pipelinePacked, returnValue); - } - else - { - GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); - } - return returnValue; -} - -GLboolean GL_APIENTRY GL_IsQueryContextANGLE(GLeglContext ctx, GLuint id) -{ - Context *context = static_cast(ctx); - EVENT(context, GLIsQuery, "context = %d, id = %u", CID(context), id); - - GLboolean returnValue; - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsQuery(context, idPacked)); if (isCallValid) { @@ -21463,29 +19321,30 @@ GLboolean GL_APIENTRY GL_IsQueryContextANGLE(GLeglContext ctx, GLuint id) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsQuery, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) +GLboolean GL_APIENTRY IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLIsQueryEXT, "context = %d, id = %u", CID(context), id); + EVENT(context, gl::EntryPoint::IsQueryEXT, "glIsQueryEXT", "context = %d, id = %u", + CID(context), id); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsQueryEXT(context, idPacked)); if (isCallValid) { @@ -21493,29 +19352,30 @@ GLboolean GL_APIENTRY GL_IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsQueryEXT, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) +GLboolean GL_APIENTRY IsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLIsRenderbuffer, "context = %d, renderbuffer = %u", CID(context), renderbuffer); + EVENT(context, gl::EntryPoint::IsRenderbuffer, "glIsRenderbuffer", + "context = %d, renderbuffer = %u", CID(context), renderbuffer); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsRenderbuffer(context, renderbufferPacked)); if (isCallValid) @@ -21524,30 +19384,30 @@ GLboolean GL_APIENTRY GL_IsRenderbufferContextANGLE(GLeglContext ctx, GLuint ren } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsRenderbuffer, isCallValid, context, renderbufferPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) +GLboolean GL_APIENTRY IsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) { Context *context = static_cast(ctx); - EVENT(context, GLIsRenderbufferOES, "context = %d, renderbuffer = %u", CID(context), - renderbuffer); + EVENT(context, gl::EntryPoint::IsRenderbufferOES, "glIsRenderbufferOES", + "context = %d, renderbuffer = %u", CID(context), renderbuffer); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - RenderbufferID renderbufferPacked = PackParam(renderbuffer); - std::unique_lock shareContextLock = GetContextLock(context); + RenderbufferID renderbufferPacked = FromGL(renderbuffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsRenderbufferOES(context, renderbufferPacked)); if (isCallValid) @@ -21556,30 +19416,30 @@ GLboolean GL_APIENTRY GL_IsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsRenderbufferOES, isCallValid, context, renderbufferPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore) +GLboolean GL_APIENTRY IsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore) { Context *context = static_cast(ctx); - EVENT(context, GLIsSemaphoreEXT, "context = %d, semaphore = %u", CID(context), semaphore); + EVENT(context, gl::EntryPoint::IsSemaphoreEXT, "glIsSemaphoreEXT", + "context = %d, semaphore = %u", CID(context), semaphore); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSemaphoreEXT(context, semaphorePacked)); if (isCallValid) @@ -21588,29 +19448,30 @@ GLboolean GL_APIENTRY GL_IsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint sem } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSemaphoreEXT, isCallValid, context, semaphorePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) +GLboolean GL_APIENTRY IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) { Context *context = static_cast(ctx); - EVENT(context, GLIsSampler, "context = %d, sampler = %u", CID(context), sampler); + EVENT(context, gl::EntryPoint::IsSampler, "glIsSampler", "context = %d, sampler = %u", + CID(context), sampler); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSampler(context, samplerPacked)); if (isCallValid) { @@ -21618,29 +19479,30 @@ GLboolean GL_APIENTRY GL_IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSampler, isCallValid, context, samplerPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsShaderContextANGLE(GLeglContext ctx, GLuint shader) +GLboolean GL_APIENTRY IsShaderContextANGLE(GLeglContext ctx, GLuint shader) { Context *context = static_cast(ctx); - EVENT(context, GLIsShader, "context = %d, shader = %u", CID(context), shader); + EVENT(context, gl::EntryPoint::IsShader, "glIsShader", "context = %d, shader = %u", + CID(context), shader); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsShader(context, shaderPacked)); if (isCallValid) { @@ -21648,29 +19510,29 @@ GLboolean GL_APIENTRY GL_IsShaderContextANGLE(GLeglContext ctx, GLuint shader) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsShader, isCallValid, context, shaderPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsSyncContextANGLE(GLeglContext ctx, GLsync sync) +GLboolean GL_APIENTRY IsSyncContextANGLE(GLeglContext ctx, GLsync sync) { Context *context = static_cast(ctx); - EVENT(context, GLIsSync, "context = %d, sync = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)sync); + EVENT(context, gl::EntryPoint::IsSync, "glIsSync", "context = %d, sync = 0x%016" PRIxPTR "", + CID(context), (uintptr_t)sync); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsSync(context, sync)); if (isCallValid) { @@ -21678,29 +19540,30 @@ GLboolean GL_APIENTRY GL_IsSyncContextANGLE(GLeglContext ctx, GLsync sync) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsSync, isCallValid, context, sync, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsTextureContextANGLE(GLeglContext ctx, GLuint texture) +GLboolean GL_APIENTRY IsTextureContextANGLE(GLeglContext ctx, GLuint texture) { Context *context = static_cast(ctx); - EVENT(context, GLIsTexture, "context = %d, texture = %u", CID(context), texture); + EVENT(context, gl::EntryPoint::IsTexture, "glIsTexture", "context = %d, texture = %u", + CID(context), texture); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID texturePacked = PackParam(texture); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID texturePacked = FromGL(texture); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsTexture(context, texturePacked)); if (isCallValid) { @@ -21708,29 +19571,30 @@ GLboolean GL_APIENTRY GL_IsTextureContextANGLE(GLeglContext ctx, GLuint texture) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsTexture, isCallValid, context, texturePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) +GLboolean GL_APIENTRY IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) { Context *context = static_cast(ctx); - EVENT(context, GLIsTransformFeedback, "context = %d, id = %u", CID(context), id); + EVENT(context, gl::EntryPoint::IsTransformFeedback, "glIsTransformFeedback", + "context = %d, id = %u", CID(context), id); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TransformFeedbackID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + TransformFeedbackID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsTransformFeedback(context, idPacked)); if (isCallValid) @@ -21739,30 +19603,30 @@ GLboolean GL_APIENTRY GL_IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuin } else { - returnValue = - GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsTransformFeedback, isCallValid, context, idPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +GLboolean GL_APIENTRY IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) { Context *context = static_cast(ctx); - EVENT(context, GLIsVertexArray, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::IsVertexArray, "glIsVertexArray", "context = %d, array = %u", + CID(context), array); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsVertexArray(context, arrayPacked)); if (isCallValid) @@ -21771,29 +19635,30 @@ GLboolean GL_APIENTRY GL_IsVertexArrayContextANGLE(GLeglContext ctx, GLuint arra } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsVertexArray, isCallValid, context, arrayPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +GLboolean GL_APIENTRY IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) { Context *context = static_cast(ctx); - EVENT(context, GLIsVertexArrayOES, "context = %d, array = %u", CID(context), array); + EVENT(context, gl::EntryPoint::IsVertexArrayOES, "glIsVertexArrayOES", + "context = %d, array = %u", CID(context), array); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexArrayID arrayPacked = PackParam(array); - std::unique_lock shareContextLock = GetContextLock(context); + VertexArrayID arrayPacked = FromGL(array); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateIsVertexArrayOES(context, arrayPacked)); if (isCallValid) @@ -21802,58 +19667,29 @@ GLboolean GL_APIENTRY GL_IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint a } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(IsVertexArrayOES, isCallValid, context, arrayPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_LabelObjectEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label) +void GL_APIENTRY LightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLLabelObjectEXT, - "context = %d, type = %s, object = %u, length = %d, label = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), object, length, - (uintptr_t)label); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateLabelObjectEXT(context, type, object, length, label)); - if (isCallValid) - { - context->labelObject(type, object, length, label); - } - ANGLE_CAPTURE(LabelObjectEXT, isCallValid, context, type, object, length, label); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_LightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) -{ - Context *context = static_cast(ctx); - EVENT(context, GLLightModelf, "context = %d, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::LightModelf, "glLightModelf", + "context = %d, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelf(context, pname, param)); if (isCallValid) @@ -21868,16 +19704,17 @@ void GL_APIENTRY GL_LightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfl } } -void GL_APIENTRY GL_LightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +void GL_APIENTRY LightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLLightModelfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::LightModelfv, "glLightModelfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelfv(context, pname, params)); if (isCallValid) @@ -21892,16 +19729,17 @@ void GL_APIENTRY GL_LightModelfvContextANGLE(GLeglContext ctx, GLenum pname, con } } -void GL_APIENTRY GL_LightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +void GL_APIENTRY LightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLLightModelx, "context = %d, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::LightModelx, "glLightModelx", + "context = %d, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelx(context, pname, param)); if (isCallValid) @@ -21916,16 +19754,17 @@ void GL_APIENTRY GL_LightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfi } } -void GL_APIENTRY GL_LightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +void GL_APIENTRY LightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) { Context *context = static_cast(ctx); - EVENT(context, GLLightModelxv, "context = %d, pname = %s, param = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)param); + EVENT(context, gl::EntryPoint::LightModelxv, "glLightModelxv", + "context = %d, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightModelParameter, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightModelxv(context, pname, param)); if (isCallValid) @@ -21940,18 +19779,19 @@ void GL_APIENTRY GL_LightModelxvContextANGLE(GLeglContext ctx, GLenum pname, con } } -void GL_APIENTRY GL_LightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) +void GL_APIENTRY LightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLLightf, "context = %d, light = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::Lightf, "glLightf", + "context = %d, light = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightf(context, light, pnamePacked, param)); if (isCallValid) @@ -21966,21 +19806,22 @@ void GL_APIENTRY GL_LightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pn } } -void GL_APIENTRY GL_LightfvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY LightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLLightfv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::Lightfv, "glLightfv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightfv(context, light, pnamePacked, params)); if (isCallValid) @@ -21995,18 +19836,19 @@ void GL_APIENTRY GL_LightfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_LightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) +void GL_APIENTRY LightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLLightx, "context = %d, light = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::Lightx, "glLightx", + "context = %d, light = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightx(context, light, pnamePacked, param)); if (isCallValid) @@ -22021,21 +19863,22 @@ void GL_APIENTRY GL_LightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pn } } -void GL_APIENTRY GL_LightxvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - const GLfixed *params) +void GL_APIENTRY LightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLLightxv, "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::LightName, light), + EVENT(context, gl::EntryPoint::Lightxv, "glLightxv", + "context = %d, light = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::LightName, light), GLenumToString(GLenumGroup::LightParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LightParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + LightParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLightxv(context, light, pnamePacked, params)); if (isCallValid) @@ -22050,15 +19893,16 @@ void GL_APIENTRY GL_LightxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_LineWidthContextANGLE(GLeglContext ctx, GLfloat width) +void GL_APIENTRY LineWidthContextANGLE(GLeglContext ctx, GLfloat width) { Context *context = static_cast(ctx); - EVENT(context, GLLineWidth, "context = %d, width = %f", CID(context), width); + EVENT(context, gl::EntryPoint::LineWidth, "glLineWidth", "context = %d, width = %f", + CID(context), width); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLineWidth(context, width)); if (isCallValid) { @@ -22072,15 +19916,16 @@ void GL_APIENTRY GL_LineWidthContextANGLE(GLeglContext ctx, GLfloat width) } } -void GL_APIENTRY GL_LineWidthxContextANGLE(GLeglContext ctx, GLfixed width) +void GL_APIENTRY LineWidthxContextANGLE(GLeglContext ctx, GLfixed width) { Context *context = static_cast(ctx); - EVENT(context, GLLineWidthx, "context = %d, width = 0x%X", CID(context), width); + EVENT(context, gl::EntryPoint::LineWidthx, "glLineWidthx", "context = %d, width = 0x%X", + CID(context), width); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLineWidthx(context, width)); if (isCallValid) { @@ -22094,16 +19939,17 @@ void GL_APIENTRY GL_LineWidthxContextANGLE(GLeglContext ctx, GLfixed width) } } -void GL_APIENTRY GL_LinkProgramContextANGLE(GLeglContext ctx, GLuint program) +void GL_APIENTRY LinkProgramContextANGLE(GLeglContext ctx, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLLinkProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::LinkProgram, "glLinkProgram", "context = %d, program = %u", + CID(context), program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLinkProgram(context, programPacked)); if (isCallValid) @@ -22118,15 +19964,15 @@ void GL_APIENTRY GL_LinkProgramContextANGLE(GLeglContext ctx, GLuint program) } } -void GL_APIENTRY GL_LoadIdentityContextANGLE(GLeglContext ctx) +void GL_APIENTRY LoadIdentityContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLLoadIdentity, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::LoadIdentity, "glLoadIdentity", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadIdentity(context)); if (isCallValid) { @@ -22140,16 +19986,16 @@ void GL_APIENTRY GL_LoadIdentityContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +void GL_APIENTRY LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) { Context *context = static_cast(ctx); - EVENT(context, GLLoadMatrixf, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::LoadMatrixf, "glLoadMatrixf", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadMatrixf(context, m)); if (isCallValid) { @@ -22163,16 +20009,16 @@ void GL_APIENTRY GL_LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) } } -void GL_APIENTRY GL_LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +void GL_APIENTRY LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) { Context *context = static_cast(ctx); - EVENT(context, GLLoadMatrixx, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::LoadMatrixx, "glLoadMatrixx", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadMatrixx(context, m)); if (isCallValid) { @@ -22186,15 +20032,16 @@ void GL_APIENTRY GL_LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) } } -void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) +void GL_APIENTRY LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLLoadPaletteFromModelViewMatrixOES, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::LoadPaletteFromModelViewMatrixOES, + "glLoadPaletteFromModelViewMatrixOES", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoadPaletteFromModelViewMatrixOES(context)); if (isCallValid) @@ -22209,17 +20056,17 @@ void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_LogicOpContextANGLE(GLeglContext ctx, GLenum opcode) +void GL_APIENTRY LogicOpContextANGLE(GLeglContext ctx, GLenum opcode) { Context *context = static_cast(ctx); - EVENT(context, GLLogicOp, "context = %d, opcode = %s", CID(context), + EVENT(context, gl::EntryPoint::LogicOp, "glLogicOp", "context = %d, opcode = %s", CID(context), GLenumToString(GLenumGroup::LogicOp, opcode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - LogicalOperation opcodePacked = PackParam(opcode); - std::unique_lock shareContextLock = GetContextLock(context); + LogicalOperation opcodePacked = FromGL(opcode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLogicOp(context, opcodePacked)); if (isCallValid) { @@ -22233,10 +20080,11 @@ void GL_APIENTRY GL_LogicOpContextANGLE(GLeglContext ctx, GLenum opcode) } } -void *GL_APIENTRY GL_MapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) +void *GL_APIENTRY MapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) { Context *context = static_cast(ctx); - EVENT(context, GLMapBufferOES, "context = %d, target = %s, access = %s", CID(context), + EVENT(context, gl::EntryPoint::MapBufferOES, "glMapBufferOES", + "context = %d, target = %s, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), GLenumToString(GLenumGroup::BufferAccessARB, access)); @@ -22244,8 +20092,8 @@ void *GL_APIENTRY GL_MapBufferOESContextANGLE(GLeglContext ctx, GLenum target, G if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferOES(context, targetPacked, access)); if (isCallValid) @@ -22254,26 +20102,26 @@ void *GL_APIENTRY GL_MapBufferOESContextANGLE(GLeglContext ctx, GLenum target, G } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferOES, isCallValid, context, targetPacked, access, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void *GL_APIENTRY GL_MapBufferRangeContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access) +void *GL_APIENTRY MapBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) { Context *context = static_cast(ctx); - EVENT(context, GLMapBufferRange, + EVENT(context, gl::EntryPoint::MapBufferRange, "glMapBufferRange", "context = %d, target = %s, offset = %llu, length = %llu, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length), @@ -22283,8 +20131,8 @@ void *GL_APIENTRY GL_MapBufferRangeContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferRange(context, targetPacked, offset, length, access)); if (isCallValid) @@ -22293,7 +20141,7 @@ void *GL_APIENTRY GL_MapBufferRangeContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferRange, isCallValid, context, targetPacked, offset, length, access, returnValue); @@ -22301,19 +20149,19 @@ void *GL_APIENTRY GL_MapBufferRangeContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void *GL_APIENTRY GL_MapBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access) +void *GL_APIENTRY MapBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) { Context *context = static_cast(ctx); - EVENT(context, GLMapBufferRangeEXT, + EVENT(context, gl::EntryPoint::MapBufferRangeEXT, "glMapBufferRangeEXT", "context = %d, target = %s, offset = %llu, length = %llu, access = %s", CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target), static_cast(offset), static_cast(length), @@ -22323,8 +20171,8 @@ void *GL_APIENTRY GL_MapBufferRangeEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMapBufferRangeEXT(context, targetPacked, offset, length, access)); @@ -22334,7 +20182,7 @@ void *GL_APIENTRY GL_MapBufferRangeEXTContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(MapBufferRangeEXT, isCallValid, context, targetPacked, offset, length, access, returnValue); @@ -22342,26 +20190,24 @@ void *GL_APIENTRY GL_MapBufferRangeEXTContextANGLE(GLeglContext ctx, else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_MaterialfContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfloat param) +void GL_APIENTRY MaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLMaterialf, "context = %d, face = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::Materialf, "glMaterialf", + "context = %d, face = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialf(context, face, pnamePacked, param)); if (isCallValid) @@ -22376,21 +20222,22 @@ void GL_APIENTRY GL_MaterialfContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MaterialfvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY MaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLMaterialfv, "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::MaterialFace, face), + EVENT(context, gl::EntryPoint::Materialfv, "glMaterialfv", + "context = %d, face = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialfv(context, face, pnamePacked, params)); if (isCallValid) @@ -22405,21 +20252,19 @@ void GL_APIENTRY GL_MaterialfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MaterialxContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfixed param) +void GL_APIENTRY MaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLMaterialx, "context = %d, face = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::Materialx, "glMaterialx", + "context = %d, face = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialx(context, face, pnamePacked, param)); if (isCallValid) @@ -22434,21 +20279,22 @@ void GL_APIENTRY GL_MaterialxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MaterialxvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - const GLfixed *param) +void GL_APIENTRY MaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfixed *param) { Context *context = static_cast(ctx); - EVENT(context, GLMaterialxv, "context = %d, face = %s, pname = %s, param = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::MaterialFace, face), + EVENT(context, gl::EntryPoint::Materialxv, "glMaterialxv", + "context = %d, face = %s, pname = %s, param = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::MaterialFace, face), GLenumToString(GLenumGroup::MaterialParameter, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MaterialParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + MaterialParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaterialxv(context, face, pnamePacked, param)); if (isCallValid) @@ -22463,14 +20309,14 @@ void GL_APIENTRY GL_MaterialxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MatrixIndexPointerOESContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY MatrixIndexPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLMatrixIndexPointerOES, + EVENT(context, gl::EntryPoint::MatrixIndexPointerOES, "glMatrixIndexPointerOES", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); @@ -22478,7 +20324,7 @@ void GL_APIENTRY GL_MatrixIndexPointerOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMatrixIndexPointerOES(context, size, type, stride, pointer)); if (isCallValid) @@ -22493,17 +20339,17 @@ void GL_APIENTRY GL_MatrixIndexPointerOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MatrixModeContextANGLE(GLeglContext ctx, GLenum mode) +void GL_APIENTRY MatrixModeContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLMatrixMode, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::MatrixMode, mode)); + EVENT(context, gl::EntryPoint::MatrixMode, "glMatrixMode", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::MatrixMode, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MatrixType modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + MatrixType modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMatrixMode(context, modePacked)); if (isCallValid) { @@ -22517,15 +20363,16 @@ void GL_APIENTRY GL_MatrixModeContextANGLE(GLeglContext ctx, GLenum mode) } } -void GL_APIENTRY GL_MaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GLuint count) +void GL_APIENTRY MaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GLuint count) { Context *context = static_cast(ctx); - EVENT(context, GLMaxShaderCompilerThreadsKHR, "context = %d, count = %u", CID(context), count); + EVENT(context, gl::EntryPoint::MaxShaderCompilerThreadsKHR, "glMaxShaderCompilerThreadsKHR", + "context = %d, count = %u", CID(context), count); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMaxShaderCompilerThreadsKHR(context, count)); if (isCallValid) @@ -22540,16 +20387,16 @@ void GL_APIENTRY GL_MaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GL } } -void GL_APIENTRY GL_MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) +void GL_APIENTRY MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) { Context *context = static_cast(ctx); - EVENT(context, GLMemoryBarrier, "context = %d, barriers = %s", CID(context), - GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); + EVENT(context, gl::EntryPoint::MemoryBarrier, "glMemoryBarrier", "context = %d, barriers = %s", + CID(context), GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryBarrier(context, barriers)); if (isCallValid) { @@ -22563,16 +20410,17 @@ void GL_APIENTRY GL_MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barri } } -void GL_APIENTRY GL_MemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) +void GL_APIENTRY MemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) { Context *context = static_cast(ctx); - EVENT(context, GLMemoryBarrierByRegion, "context = %d, barriers = %s", CID(context), + EVENT(context, gl::EntryPoint::MemoryBarrierByRegion, "glMemoryBarrierByRegion", + "context = %d, barriers = %s", CID(context), GLbitfieldToString(GLenumGroup::MemoryBarrierMask, barriers).c_str()); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryBarrierByRegion(context, barriers)); if (isCallValid) @@ -22587,13 +20435,13 @@ void GL_APIENTRY GL_MemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfie } } -void GL_APIENTRY GL_MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, - GLuint memoryObject, - GLenum pname, - const GLint *params) +void GL_APIENTRY MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, + GLuint memoryObject, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLMemoryObjectParameterivEXT, + EVENT(context, gl::EntryPoint::MemoryObjectParameterivEXT, "glMemoryObjectParameterivEXT", "context = %d, memoryObject = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), memoryObject, GLenumToString(GLenumGroup::MemoryObjectParameterName, pname), (uintptr_t)params); @@ -22601,8 +20449,8 @@ void GL_APIENTRY GL_MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID memoryObjectPacked = PackParam(memoryObject); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryObjectPacked = FromGL(memoryObject); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMemoryObjectParameterivEXT(context, memoryObjectPacked, pname, params)); @@ -22619,15 +20467,16 @@ void GL_APIENTRY GL_MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value) +void GL_APIENTRY MinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value) { Context *context = static_cast(ctx); - EVENT(context, GLMinSampleShading, "context = %d, value = %f", CID(context), value); + EVENT(context, gl::EntryPoint::MinSampleShading, "glMinSampleShading", + "context = %d, value = %f", CID(context), value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMinSampleShading(context, value)); if (isCallValid) { @@ -22641,15 +20490,16 @@ void GL_APIENTRY GL_MinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value } } -void GL_APIENTRY GL_MinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat value) +void GL_APIENTRY MinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat value) { Context *context = static_cast(ctx); - EVENT(context, GLMinSampleShadingOES, "context = %d, value = %f", CID(context), value); + EVENT(context, gl::EntryPoint::MinSampleShadingOES, "glMinSampleShadingOES", + "context = %d, value = %f", CID(context), value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMinSampleShadingOES(context, value)); if (isCallValid) @@ -22664,16 +20514,16 @@ void GL_APIENTRY GL_MinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat va } } -void GL_APIENTRY GL_MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +void GL_APIENTRY MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) { Context *context = static_cast(ctx); - EVENT(context, GLMultMatrixf, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::MultMatrixf, "glMultMatrixf", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultMatrixf(context, m)); if (isCallValid) { @@ -22687,16 +20537,16 @@ void GL_APIENTRY GL_MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) } } -void GL_APIENTRY GL_MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +void GL_APIENTRY MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) { Context *context = static_cast(ctx); - EVENT(context, GLMultMatrixx, "context = %d, m = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)m); + EVENT(context, gl::EntryPoint::MultMatrixx, "glMultMatrixx", + "context = %d, m = 0x%016" PRIxPTR "", CID(context), (uintptr_t)m); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultMatrixx(context, m)); if (isCallValid) { @@ -22710,16 +20560,17 @@ void GL_APIENTRY GL_MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) } } -void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *count, - GLenum type, - const void *const *indices, - GLsizei primcount, - const GLint *basevertex) +void GL_APIENTRY MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *count, + GLenum type, + const void *const *indices, + GLsizei primcount, + const GLint *basevertex) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawElementsBaseVertexEXT, + EVENT(context, gl::EntryPoint::MultiDrawElementsBaseVertexEXT, + "glMultiDrawElementsBaseVertexEXT", "context = %d, mode = %s, count = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", primcount = %d, basevertex = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)count, @@ -22729,9 +20580,9 @@ void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsBaseVertexEXT( context, modePacked, count, typePacked, indices, primcount, basevertex)); @@ -22749,21 +20600,22 @@ void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiTexCoord4fContextANGLE(GLeglContext ctx, - GLenum target, - GLfloat s, - GLfloat t, - GLfloat r, - GLfloat q) +void GL_APIENTRY MultiTexCoord4fContextANGLE(GLeglContext ctx, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r, + GLfloat q) { Context *context = static_cast(ctx); - EVENT(context, GLMultiTexCoord4f, "context = %d, target = %s, s = %f, t = %f, r = %f, q = %f", - CID(context), GLenumToString(GLenumGroup::TextureUnit, target), s, t, r, q); + EVENT(context, gl::EntryPoint::MultiTexCoord4f, "glMultiTexCoord4f", + "context = %d, target = %s, s = %f, t = %f, r = %f, q = %f", CID(context), + GLenumToString(GLenumGroup::TextureUnit, target), s, t, r, q); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiTexCoord4f(context, target, s, t, r, q)); if (isCallValid) @@ -22778,22 +20630,22 @@ void GL_APIENTRY GL_MultiTexCoord4fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiTexCoord4xContextANGLE(GLeglContext ctx, - GLenum texture, - GLfixed s, - GLfixed t, - GLfixed r, - GLfixed q) +void GL_APIENTRY MultiTexCoord4xContextANGLE(GLeglContext ctx, + GLenum texture, + GLfixed s, + GLfixed t, + GLfixed r, + GLfixed q) { Context *context = static_cast(ctx); - EVENT(context, GLMultiTexCoord4x, + EVENT(context, gl::EntryPoint::MultiTexCoord4x, "glMultiTexCoord4x", "context = %d, texture = %s, s = 0x%X, t = 0x%X, r = 0x%X, q = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureUnit, texture), s, t, r, q); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiTexCoord4x(context, texture, s, t, r, q)); if (isCallValid) @@ -22808,15 +20660,15 @@ void GL_APIENTRY GL_MultiTexCoord4xContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, - GLuint buffer, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags) +void GL_APIENTRY NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, + GLuint buffer, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags) { Context *context = static_cast(ctx); - EVENT(context, GLNamedBufferStorageExternalEXT, + EVENT(context, gl::EntryPoint::NamedBufferStorageExternalEXT, "glNamedBufferStorageExternalEXT", "context = %d, buffer = %u, offset = %llu, size = %llu, clientBuffer = 0x%016" PRIxPTR ", flags = %s", CID(context), buffer, static_cast(offset), @@ -22826,7 +20678,7 @@ void GL_APIENTRY GL_NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNamedBufferStorageExternalEXT( context, buffer, offset, size, clientBuffer, flags)); @@ -22843,15 +20695,16 @@ void GL_APIENTRY GL_NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Normal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) +void GL_APIENTRY Normal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) { Context *context = static_cast(ctx); - EVENT(context, GLNormal3f, "context = %d, nx = %f, ny = %f, nz = %f", CID(context), nx, ny, nz); + EVENT(context, gl::EntryPoint::Normal3f, "glNormal3f", + "context = %d, nx = %f, ny = %f, nz = %f", CID(context), nx, ny, nz); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormal3f(context, nx, ny, nz)); if (isCallValid) { @@ -22865,16 +20718,16 @@ void GL_APIENTRY GL_Normal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat n } } -void GL_APIENTRY GL_Normal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) +void GL_APIENTRY Normal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) { Context *context = static_cast(ctx); - EVENT(context, GLNormal3x, "context = %d, nx = 0x%X, ny = 0x%X, nz = 0x%X", CID(context), nx, - ny, nz); + EVENT(context, gl::EntryPoint::Normal3x, "glNormal3x", + "context = %d, nx = 0x%X, ny = 0x%X, nz = 0x%X", CID(context), nx, ny, nz); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormal3x(context, nx, ny, nz)); if (isCallValid) { @@ -22888,21 +20741,21 @@ void GL_APIENTRY GL_Normal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed n } } -void GL_APIENTRY GL_NormalPointerContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY NormalPointerContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLNormalPointer, + EVENT(context, gl::EntryPoint::NormalPointer, "glNormalPointer", "context = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::NormalPointerType, type), stride, (uintptr_t)pointer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateNormalPointer(context, typePacked, stride, pointer)); if (isCallValid) @@ -22917,14 +20770,14 @@ void GL_APIENTRY GL_NormalPointerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ObjectLabelContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei length, - const GLchar *label) +void GL_APIENTRY ObjectLabelContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLObjectLabel, + EVENT(context, gl::EntryPoint::ObjectLabel, "glObjectLabel", "context = %d, identifier = %s, name = %u, length = %d, label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ObjectIdentifier, identifier), name, length, (uintptr_t)label); @@ -22932,7 +20785,7 @@ void GL_APIENTRY GL_ObjectLabelContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectLabel(context, identifier, name, length, label)); if (isCallValid) @@ -22947,14 +20800,14 @@ void GL_APIENTRY GL_ObjectLabelContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ObjectLabelKHRContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei length, - const GLchar *label) +void GL_APIENTRY ObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLObjectLabelKHR, + EVENT(context, gl::EntryPoint::ObjectLabelKHR, "glObjectLabelKHR", "context = %d, identifier = %s, name = %u, length = %d, label = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::ObjectIdentifier, identifier), name, length, (uintptr_t)label); @@ -22962,7 +20815,7 @@ void GL_APIENTRY GL_ObjectLabelKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectLabelKHR(context, identifier, name, length, label)); if (isCallValid) @@ -22977,20 +20830,20 @@ void GL_APIENTRY GL_ObjectLabelKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ObjectPtrLabelContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei length, - const GLchar *label) +void GL_APIENTRY ObjectPtrLabelContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLObjectPtrLabel, + EVENT(context, gl::EntryPoint::ObjectPtrLabel, "glObjectPtrLabel", "context = %d, ptr = 0x%016" PRIxPTR ", length = %d, label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, length, (uintptr_t)label); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectPtrLabel(context, ptr, length, label)); if (isCallValid) @@ -23005,20 +20858,20 @@ void GL_APIENTRY GL_ObjectPtrLabelContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei length, - const GLchar *label) +void GL_APIENTRY ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label) { Context *context = static_cast(ctx); - EVENT(context, GLObjectPtrLabelKHR, + EVENT(context, gl::EntryPoint::ObjectPtrLabelKHR, "glObjectPtrLabelKHR", "context = %d, ptr = 0x%016" PRIxPTR ", length = %d, label = 0x%016" PRIxPTR "", CID(context), (uintptr_t)ptr, length, (uintptr_t)label); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateObjectPtrLabelKHR(context, ptr, length, label)); if (isCallValid) @@ -23033,22 +20886,23 @@ void GL_APIENTRY GL_ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_OrthofContextANGLE(GLeglContext ctx, - GLfloat l, - GLfloat r, - GLfloat b, - GLfloat t, - GLfloat n, - GLfloat f) +void GL_APIENTRY OrthofContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) { Context *context = static_cast(ctx); - EVENT(context, GLOrthof, "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", - CID(context), l, r, b, t, n, f); + EVENT(context, gl::EntryPoint::Orthof, "glOrthof", + "context = %d, l = %f, r = %f, b = %f, t = %f, n = %f, f = %f", CID(context), l, r, b, t, + n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateOrthof(context, l, r, b, t, n, f)); if (isCallValid) { @@ -23062,23 +20916,23 @@ void GL_APIENTRY GL_OrthofContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_OrthoxContextANGLE(GLeglContext ctx, - GLfixed l, - GLfixed r, - GLfixed b, - GLfixed t, - GLfixed n, - GLfixed f) +void GL_APIENTRY OrthoxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) { Context *context = static_cast(ctx); - EVENT(context, GLOrthox, + EVENT(context, gl::EntryPoint::Orthox, "glOrthox", "context = %d, l = 0x%X, r = 0x%X, b = 0x%X, t = 0x%X, n = 0x%X, f = 0x%X", CID(context), l, r, b, t, n, f); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateOrthox(context, l, r, b, t, n, f)); if (isCallValid) { @@ -23092,16 +20946,17 @@ void GL_APIENTRY GL_OrthoxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PatchParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint value) +void GL_APIENTRY PatchParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint value) { Context *context = static_cast(ctx); - EVENT(context, GLPatchParameteri, "context = %d, pname = %s, value = %d", CID(context), + EVENT(context, gl::EntryPoint::PatchParameteri, "glPatchParameteri", + "context = %d, pname = %s, value = %d", CID(context), GLenumToString(GLenumGroup::PatchParameterName, pname), value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePatchParameteri(context, pname, value)); if (isCallValid) @@ -23116,39 +20971,16 @@ void GL_APIENTRY GL_PatchParameteriContextANGLE(GLeglContext ctx, GLenum pname, } } -void GL_APIENTRY GL_PatchParameteriEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint value) +void GL_APIENTRY PauseTransformFeedbackContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLPatchParameteriEXT, "context = %d, pname = %s, value = %d", CID(context), - GLenumToString(GLenumGroup::PatchParameterName, pname), value); + EVENT(context, gl::EntryPoint::PauseTransformFeedback, "glPauseTransformFeedback", + "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || ValidatePatchParameteriEXT(context, pname, value)); - if (isCallValid) - { - context->patchParameteri(pname, value); - } - ANGLE_CAPTURE(PatchParameteriEXT, isCallValid, context, pname, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_PauseTransformFeedbackContextANGLE(GLeglContext ctx) -{ - Context *context = static_cast(ctx); - EVENT(context, GLPauseTransformFeedback, "context = %d", CID(context)); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePauseTransformFeedback(context)); if (isCallValid) { @@ -23162,16 +20994,17 @@ void GL_APIENTRY GL_PauseTransformFeedbackContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) +void GL_APIENTRY PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLPixelStorei, "context = %d, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::PixelStorei, "glPixelStorei", + "context = %d, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::PixelStoreParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePixelStorei(context, pname, param)); if (isCallValid) @@ -23186,17 +21019,18 @@ void GL_APIENTRY GL_PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLin } } -void GL_APIENTRY GL_PointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +void GL_APIENTRY PointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLPointParameterf, "context = %d, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::PointParameterf, "glPointParameterf", + "context = %d, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterf(context, pnamePacked, param)); if (isCallValid) @@ -23211,19 +21045,18 @@ void GL_APIENTRY GL_PointParameterfContextANGLE(GLeglContext ctx, GLenum pname, } } -void GL_APIENTRY GL_PointParameterfvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY PointParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLPointParameterfv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::PointParameterfv, "glPointParameterfv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterfv(context, pnamePacked, params)); if (isCallValid) @@ -23238,17 +21071,18 @@ void GL_APIENTRY GL_PointParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +void GL_APIENTRY PointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLPointParameterx, "context = %d, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::PointParameterx, "glPointParameterx", + "context = %d, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterx(context, pnamePacked, param)); if (isCallValid) @@ -23263,19 +21097,18 @@ void GL_APIENTRY GL_PointParameterxContextANGLE(GLeglContext ctx, GLenum pname, } } -void GL_APIENTRY GL_PointParameterxvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfixed *params) +void GL_APIENTRY PointParameterxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLPointParameterxv, "context = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); + EVENT(context, gl::EntryPoint::PointParameterxv, "glPointParameterxv", + "context = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PointParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + PointParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointParameterxv(context, pnamePacked, params)); if (isCallValid) @@ -23290,15 +21123,16 @@ void GL_APIENTRY GL_PointParameterxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PointSizeContextANGLE(GLeglContext ctx, GLfloat size) +void GL_APIENTRY PointSizeContextANGLE(GLeglContext ctx, GLfloat size) { Context *context = static_cast(ctx); - EVENT(context, GLPointSize, "context = %d, size = %f", CID(context), size); + EVENT(context, gl::EntryPoint::PointSize, "glPointSize", "context = %d, size = %f", + CID(context), size); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSize(context, size)); if (isCallValid) { @@ -23312,21 +21146,21 @@ void GL_APIENTRY GL_PointSizeContextANGLE(GLeglContext ctx, GLfloat size) } } -void GL_APIENTRY GL_PointSizePointerOESContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY PointSizePointerOESContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLPointSizePointerOES, + EVENT(context, gl::EntryPoint::PointSizePointerOES, "glPointSizePointerOES", "context = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSizePointerOES(context, typePacked, stride, pointer)); if (isCallValid) @@ -23341,15 +21175,16 @@ void GL_APIENTRY GL_PointSizePointerOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PointSizexContextANGLE(GLeglContext ctx, GLfixed size) +void GL_APIENTRY PointSizexContextANGLE(GLeglContext ctx, GLfixed size) { Context *context = static_cast(ctx); - EVENT(context, GLPointSizex, "context = %d, size = 0x%X", CID(context), size); + EVENT(context, gl::EntryPoint::PointSizex, "glPointSizex", "context = %d, size = 0x%X", + CID(context), size); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePointSizex(context, size)); if (isCallValid) { @@ -23363,16 +21198,16 @@ void GL_APIENTRY GL_PointSizexContextANGLE(GLeglContext ctx, GLfixed size) } } -void GL_APIENTRY GL_PolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) +void GL_APIENTRY PolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) { Context *context = static_cast(ctx); - EVENT(context, GLPolygonOffset, "context = %d, factor = %f, units = %f", CID(context), factor, - units); + EVENT(context, gl::EntryPoint::PolygonOffset, "glPolygonOffset", + "context = %d, factor = %f, units = %f", CID(context), factor, units); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePolygonOffset(context, factor, units)); if (isCallValid) @@ -23387,16 +21222,16 @@ void GL_APIENTRY GL_PolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, } } -void GL_APIENTRY GL_PolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) +void GL_APIENTRY PolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) { Context *context = static_cast(ctx); - EVENT(context, GLPolygonOffsetx, "context = %d, factor = 0x%X, units = 0x%X", CID(context), - factor, units); + EVENT(context, gl::EntryPoint::PolygonOffsetx, "glPolygonOffsetx", + "context = %d, factor = 0x%X, units = 0x%X", CID(context), factor, units); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePolygonOffsetx(context, factor, units)); if (isCallValid) @@ -23411,15 +21246,15 @@ void GL_APIENTRY GL_PolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, } } -void GL_APIENTRY GL_PopDebugGroupContextANGLE(GLeglContext ctx) +void GL_APIENTRY PopDebugGroupContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLPopDebugGroup, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopDebugGroup, "glPopDebugGroup", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopDebugGroup(context)); if (isCallValid) { @@ -23433,15 +21268,16 @@ void GL_APIENTRY GL_PopDebugGroupContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_PopDebugGroupKHRContextANGLE(GLeglContext ctx) +void GL_APIENTRY PopDebugGroupKHRContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLPopDebugGroupKHR, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopDebugGroupKHR, "glPopDebugGroupKHR", "context = %d", + CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopDebugGroupKHR(context)); if (isCallValid) { @@ -23455,17 +21291,18 @@ void GL_APIENTRY GL_PopDebugGroupKHRContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_PopGroupMarkerEXTContextANGLE(GLeglContext ctx) +void GL_APIENTRY PopGroupMarkerEXTContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLPopGroupMarkerEXT, "context = %d", CID(context)); + // EVENT(context, gl::EntryPoint::PopGroupMarkerEXT, "glPopGroupMarkerEXT", "context = %d", + // CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopGroupMarkerEXT(context)); if (isCallValid) { @@ -23479,15 +21316,15 @@ void GL_APIENTRY GL_PopGroupMarkerEXTContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_PopMatrixContextANGLE(GLeglContext ctx) +void GL_APIENTRY PopMatrixContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLPopMatrix, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PopMatrix, "glPopMatrix", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePopMatrix(context)); if (isCallValid) { @@ -23501,18 +21338,18 @@ void GL_APIENTRY GL_PopMatrixContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) +void GL_APIENTRY PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, + GLfloat minX, + GLfloat minY, + GLfloat minZ, + GLfloat minW, + GLfloat maxX, + GLfloat maxY, + GLfloat maxZ, + GLfloat maxW) { Context *context = static_cast(ctx); - EVENT(context, GLPrimitiveBoundingBox, + EVENT(context, gl::EntryPoint::PrimitiveBoundingBox, "glPrimitiveBoundingBox", "context = %d, minX = %f, minY = %f, minZ = %f, minW = %f, maxX = %f, maxY = %f, maxZ = " "%f, maxW = %f", CID(context), minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); @@ -23520,7 +21357,7 @@ void GL_APIENTRY GL_PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePrimitiveBoundingBox(context, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)); @@ -23537,50 +21374,14 @@ void GL_APIENTRY GL_PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PrimitiveBoundingBoxEXTContextANGLE(GLeglContext ctx, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) +void GL_APIENTRY ProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length) { Context *context = static_cast(ctx); - EVENT(context, GLPrimitiveBoundingBoxEXT, - "context = %d, minX = %f, minY = %f, minZ = %f, minW = %f, maxX = %f, maxY = %f, maxZ = " - "%f, maxW = %f", - CID(context), minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidatePrimitiveBoundingBoxEXT(context, minX, minY, minZ, minW, maxX, - maxY, maxZ, maxW)); - if (isCallValid) - { - context->primitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); - } - ANGLE_CAPTURE(PrimitiveBoundingBoxEXT, isCallValid, context, minX, minY, minZ, minW, maxX, - maxY, maxZ, maxW); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramBinaryContextANGLE(GLeglContext ctx, - GLuint program, - GLenum binaryFormat, - const void *binary, - GLsizei length) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramBinary, + EVENT(context, gl::EntryPoint::ProgramBinary, "glProgramBinary", "context = %d, program = %u, binaryFormat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, binaryFormat), (uintptr_t)binary, length); @@ -23588,8 +21389,8 @@ void GL_APIENTRY GL_ProgramBinaryContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramBinary(context, programPacked, binaryFormat, binary, length)); @@ -23606,14 +21407,14 @@ void GL_APIENTRY GL_ProgramBinaryContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramBinaryOESContextANGLE(GLeglContext ctx, - GLuint program, - GLenum binaryFormat, - const void *binary, - GLint length) +void GL_APIENTRY ProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length) { Context *context = static_cast(ctx); - EVENT(context, GLProgramBinaryOES, + EVENT(context, gl::EntryPoint::ProgramBinaryOES, "glProgramBinaryOES", "context = %d, program = %u, binaryFormat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, binaryFormat), (uintptr_t)binary, length); @@ -23621,8 +21422,8 @@ void GL_APIENTRY GL_ProgramBinaryOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramBinaryOES(context, programPacked, binaryFormat, binary, length)); @@ -23639,20 +21440,21 @@ void GL_APIENTRY GL_ProgramBinaryOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramParameteriContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint value) +void GL_APIENTRY ProgramParameteriContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramParameteri, "context = %d, program = %u, pname = %s, value = %d", - CID(context), program, GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); + EVENT(context, gl::EntryPoint::ProgramParameteri, "glProgramParameteri", + "context = %d, program = %u, pname = %s, value = %d", CID(context), program, + GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramParameteri(context, programPacked, pname, value)); if (isCallValid) @@ -23667,49 +21469,22 @@ void GL_APIENTRY GL_ProgramParameteriContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramParameteriEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint value) +void GL_APIENTRY ProgramUniform1fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0) { Context *context = static_cast(ctx); - EVENT(context, GLProgramParameteriEXT, "context = %d, program = %u, pname = %s, value = %d", - CID(context), program, GLenumToString(GLenumGroup::ProgramParameterPName, pname), value); + EVENT(context, gl::EntryPoint::ProgramUniform1f, "glProgramUniform1f", + "context = %d, program = %u, location = %d, v0 = %f", CID(context), program, location, + v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramParameteriEXT(context, programPacked, pname, value)); - if (isCallValid) - { - context->programParameteri(programPacked, pname, value); - } - ANGLE_CAPTURE(ProgramParameteriEXT, isCallValid, context, programPacked, pname, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1f, "context = %d, program = %u, location = %d, v0 = %f", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1f(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -23724,53 +21499,23 @@ void GL_APIENTRY GL_ProgramUniform1fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0) +void GL_APIENTRY ProgramUniform1fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1fEXT, "context = %d, program = %u, location = %d, v0 = %f", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1fEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1f(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1fEXT, isCallValid, context, programPacked, locationPacked, v0); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1fv, + EVENT(context, gl::EntryPoint::ProgramUniform1fv, "glProgramUniform1fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1fv(context, programPacked, locationPacked, count, value)); @@ -23787,54 +21532,22 @@ void GL_APIENTRY GL_ProgramUniform1fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform1iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); + EVENT(context, gl::EntryPoint::ProgramUniform1i, "glProgramUniform1i", + "context = %d, program = %u, location = %d, v0 = %d", CID(context), program, location, + v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1i, "context = %d, program = %u, location = %d, v0 = %d", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1i(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -23849,53 +21562,23 @@ void GL_APIENTRY GL_ProgramUniform1iContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0) +void GL_APIENTRY ProgramUniform1ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1iEXT, "context = %d, program = %u, location = %d, v0 = %d", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1iEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1i(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1iEXT, isCallValid, context, programPacked, locationPacked, v0); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1iv, + EVENT(context, gl::EntryPoint::ProgramUniform1iv, "glProgramUniform1iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1iv(context, programPacked, locationPacked, count, value)); @@ -23912,54 +21595,22 @@ void GL_APIENTRY GL_ProgramUniform1ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform1uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); + EVENT(context, gl::EntryPoint::ProgramUniform1ui, "glProgramUniform1ui", + "context = %d, program = %u, location = %d, v0 = %u", CID(context), program, location, + v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1ui, "context = %d, program = %u, location = %d, v0 = %u", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1ui(context, programPacked, locationPacked, v0)); if (isCallValid) @@ -23974,54 +21625,23 @@ void GL_APIENTRY GL_ProgramUniform1uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0) +void GL_APIENTRY ProgramUniform1uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1uiEXT, "context = %d, program = %u, location = %d, v0 = %u", - CID(context), program, location, v0); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1uiEXT(context, programPacked, locationPacked, v0)); - if (isCallValid) - { - context->programUniform1ui(programPacked, locationPacked, v0); - } - ANGLE_CAPTURE(ProgramUniform1uiEXT, isCallValid, context, programPacked, locationPacked, - v0); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform1uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1uiv, + EVENT(context, gl::EntryPoint::ProgramUniform1uiv, "glProgramUniform1uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform1uiv(context, programPacked, locationPacked, count, value)); @@ -24038,56 +21658,23 @@ void GL_APIENTRY GL_ProgramUniform1uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform1uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform2fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform1uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform1uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform1uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform1uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2f, + EVENT(context, gl::EntryPoint::ProgramUniform2f, "glProgramUniform2f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f", CID(context), program, location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2f(context, programPacked, locationPacked, v0, v1)); @@ -24104,56 +21691,23 @@ void GL_APIENTRY GL_ProgramUniform2fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1) +void GL_APIENTRY ProgramUniform2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f", CID(context), program, - location, v0, v1); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2fEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2f(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2fv, + EVENT(context, gl::EntryPoint::ProgramUniform2fv, "glProgramUniform2fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2fv(context, programPacked, locationPacked, count, value)); @@ -24170,56 +21724,20 @@ void GL_APIENTRY GL_ProgramUniform2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY +ProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2i, + EVENT(context, gl::EntryPoint::ProgramUniform2i, "glProgramUniform2i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d", CID(context), program, location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2i(context, programPacked, locationPacked, v0, v1)); @@ -24236,56 +21754,23 @@ void GL_APIENTRY GL_ProgramUniform2iContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1) +void GL_APIENTRY ProgramUniform2ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d", CID(context), program, - location, v0, v1); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2iEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2i(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2iv, + EVENT(context, gl::EntryPoint::ProgramUniform2iv, "glProgramUniform2iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2iv(context, programPacked, locationPacked, count, value)); @@ -24302,56 +21787,23 @@ void GL_APIENTRY GL_ProgramUniform2ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform2uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2ui, + EVENT(context, gl::EntryPoint::ProgramUniform2ui, "glProgramUniform2ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u", CID(context), program, location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2ui(context, programPacked, locationPacked, v0, v1)); @@ -24368,56 +21820,23 @@ void GL_APIENTRY GL_ProgramUniform2uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1) +void GL_APIENTRY ProgramUniform2uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u", CID(context), program, - location, v0, v1); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2uiEXT(context, programPacked, locationPacked, v0, v1)); - if (isCallValid) - { - context->programUniform2ui(programPacked, locationPacked, v0, v1); - } - ANGLE_CAPTURE(ProgramUniform2uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform2uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2uiv, + EVENT(context, gl::EntryPoint::ProgramUniform2uiv, "glProgramUniform2uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform2uiv(context, programPacked, locationPacked, count, value)); @@ -24434,57 +21853,24 @@ void GL_APIENTRY GL_ProgramUniform2uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform2uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform3fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform2uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform2uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform2uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform2uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3f, + EVENT(context, gl::EntryPoint::ProgramUniform3f, "glProgramUniform3f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), program, location, v0, v1, v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3f(context, programPacked, locationPacked, v0, v1, v2)); @@ -24501,57 +21887,23 @@ void GL_APIENTRY GL_ProgramUniform3fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2) +void GL_APIENTRY ProgramUniform3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), - program, location, v0, v1, v2); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3fEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3f(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3fv, + EVENT(context, gl::EntryPoint::ProgramUniform3fv, "glProgramUniform3fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3fv(context, programPacked, locationPacked, count, value)); @@ -24568,57 +21920,24 @@ void GL_APIENTRY GL_ProgramUniform3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform3iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3i, + EVENT(context, gl::EntryPoint::ProgramUniform3i, "glProgramUniform3i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), program, location, v0, v1, v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3i(context, programPacked, locationPacked, v0, v1, v2)); @@ -24635,57 +21954,23 @@ void GL_APIENTRY GL_ProgramUniform3iContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2) +void GL_APIENTRY ProgramUniform3ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), - program, location, v0, v1, v2); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3iEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3i(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3iv, + EVENT(context, gl::EntryPoint::ProgramUniform3iv, "glProgramUniform3iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3iv(context, programPacked, locationPacked, count, value)); @@ -24702,57 +21987,24 @@ void GL_APIENTRY GL_ProgramUniform3ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform3uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3ui, + EVENT(context, gl::EntryPoint::ProgramUniform3ui, "glProgramUniform3ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), program, location, v0, v1, v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3ui(context, programPacked, locationPacked, v0, v1, v2)); @@ -24769,57 +22021,23 @@ void GL_APIENTRY GL_ProgramUniform3uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2) +void GL_APIENTRY ProgramUniform3uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), - program, location, v0, v1, v2); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3uiEXT(context, programPacked, locationPacked, v0, v1, v2)); - if (isCallValid) - { - context->programUniform3ui(programPacked, locationPacked, v0, v1, v2); - } - ANGLE_CAPTURE(ProgramUniform3uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform3uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3uiv, + EVENT(context, gl::EntryPoint::ProgramUniform3uiv, "glProgramUniform3uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform3uiv(context, programPacked, locationPacked, count, value)); @@ -24836,58 +22054,25 @@ void GL_APIENTRY GL_ProgramUniform3uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform3uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniform4fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform3uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform3uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform3uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform3uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4f, + EVENT(context, gl::EntryPoint::ProgramUniform4f, "glProgramUniform4f", "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", CID(context), program, location, v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4f(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -24904,58 +22089,23 @@ void GL_APIENTRY GL_ProgramUniform4fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) +void GL_APIENTRY ProgramUniform4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4fEXT, - "context = %d, program = %u, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", - CID(context), program, location, v0, v1, v2, v3); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4fEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4f(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4fEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4fv, + EVENT(context, gl::EntryPoint::ProgramUniform4fv, "glProgramUniform4fv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4fv(context, programPacked, locationPacked, count, value)); @@ -24972,58 +22122,25 @@ void GL_APIENTRY GL_ProgramUniform4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY ProgramUniform4iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2, + GLint v3) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4fvEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4fvEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4fv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4fvEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2, - GLint v3) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4i, + EVENT(context, gl::EntryPoint::ProgramUniform4i, "glProgramUniform4i", "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", CID(context), program, location, v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4i(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -25040,58 +22157,23 @@ void GL_APIENTRY GL_ProgramUniform4iContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2, - GLint v3) +void GL_APIENTRY ProgramUniform4ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4iEXT, - "context = %d, program = %u, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", - CID(context), program, location, v0, v1, v2, v3); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4iEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4i(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4iEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4iv, + EVENT(context, gl::EntryPoint::ProgramUniform4iv, "glProgramUniform4iv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4iv(context, programPacked, locationPacked, count, value)); @@ -25108,58 +22190,25 @@ void GL_APIENTRY GL_ProgramUniform4ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY ProgramUniform4uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4ivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4ivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4iv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4ivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4ui, + EVENT(context, gl::EntryPoint::ProgramUniform4ui, "glProgramUniform4ui", "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", CID(context), program, location, v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4ui(context, programPacked, locationPacked, v0, v1, v2, v3)); @@ -25176,58 +22225,23 @@ void GL_APIENTRY GL_ProgramUniform4uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) +void GL_APIENTRY ProgramUniform4uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4uiEXT, - "context = %d, program = %u, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", - CID(context), program, location, v0, v1, v2, v3); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4uiEXT(context, programPacked, locationPacked, v0, v1, v2, v3)); - if (isCallValid) - { - context->programUniform4ui(programPacked, locationPacked, v0, v1, v2, v3); - } - ANGLE_CAPTURE(ProgramUniform4uiEXT, isCallValid, context, programPacked, locationPacked, v0, - v1, v2, v3); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniform4uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4uiv, + EVENT(context, gl::EntryPoint::ProgramUniform4uiv, "glProgramUniform4uiv", "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), program, location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniform4uiv(context, programPacked, locationPacked, count, value)); @@ -25244,48 +22258,15 @@ void GL_APIENTRY GL_ProgramUniform4uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniform4uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniform4uivEXT, - "context = %d, program = %u, location = %d, count = %d, value = 0x%016" PRIxPTR "", - CID(context), program, location, count, (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateProgramUniform4uivEXT(context, programPacked, locationPacked, count, value)); - if (isCallValid) - { - context->programUniform4uiv(programPacked, locationPacked, count, value); - } - ANGLE_CAPTURE(ProgramUniform4uivEXT, isCallValid, context, programPacked, locationPacked, - count, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2fv, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2fv, "glProgramUniformMatrix2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25293,9 +22274,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2fv(context, programPacked, locationPacked, count, transpose, value)); @@ -25313,15 +22294,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2x3fv, "glProgramUniformMatrix2x3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25329,45 +22310,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix2fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2x3fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2x3fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25385,15 +22330,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix2x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2x3fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix2x4fv, "glProgramUniformMatrix2x4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25401,45 +22346,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x3fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2x3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2x3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2x3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2x4fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix2x4fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25457,15 +22366,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix2x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix2x4fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3fv, "glProgramUniformMatrix3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25473,45 +22382,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix2x4fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix2x4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix2x4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix2x4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3fv(context, programPacked, locationPacked, count, transpose, value)); @@ -25529,15 +22402,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3x2fv, "glProgramUniformMatrix3x2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25545,45 +22418,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix3fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3x2fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3x2fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25601,15 +22438,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix3x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3x2fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix3x4fv, "glProgramUniformMatrix3x4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25617,45 +22454,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x2fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3x2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3x2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3x2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3x4fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix3x4fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25673,15 +22474,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix3x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix3x4fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4fv, "glProgramUniformMatrix4fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25689,45 +22490,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix3x4fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix3x4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix3x4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix3x4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4fv(context, programPacked, locationPacked, count, transpose, value)); @@ -25745,15 +22510,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4x2fv, "glProgramUniformMatrix4x2fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25761,45 +22526,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix4fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4x2fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4x2fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25817,15 +22546,15 @@ void GL_APIENTRY GL_ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix4x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4x2fvEXT, + EVENT(context, gl::EntryPoint::ProgramUniformMatrix4x3fv, "glProgramUniformMatrix4x3fv", "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " "0x%016" PRIxPTR "", CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); @@ -25833,45 +22562,9 @@ void GL_APIENTRY GL_ProgramUniformMatrix4x2fvEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4x2fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4x2fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4x2fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4x3fv, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProgramUniformMatrix4x3fv( context, programPacked, locationPacked, count, transpose, value)); @@ -25889,50 +22582,14 @@ void GL_APIENTRY GL_ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProgramUniformMatrix4x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY PushDebugGroupContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message) { Context *context = static_cast(ctx); - EVENT(context, GLProgramUniformMatrix4x3fvEXT, - "context = %d, program = %u, location = %d, count = %d, transpose = %s, value = " - "0x%016" PRIxPTR "", - CID(context), program, location, count, GLbooleanToString(transpose), (uintptr_t)value); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateProgramUniformMatrix4x3fvEXT( - context, programPacked, locationPacked, count, transpose, value)); - if (isCallValid) - { - context->programUniformMatrix4x3fv(programPacked, locationPacked, count, transpose, - value); - } - ANGLE_CAPTURE(ProgramUniformMatrix4x3fvEXT, isCallValid, context, programPacked, - locationPacked, count, transpose, value); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_PushDebugGroupContextANGLE(GLeglContext ctx, - GLenum source, - GLuint id, - GLsizei length, - const GLchar *message) -{ - Context *context = static_cast(ctx); - EVENT(context, GLPushDebugGroup, + EVENT(context, gl::EntryPoint::PushDebugGroup, "glPushDebugGroup", "context = %d, source = %s, id = %u, length = %d, message = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), id, length, (uintptr_t)message); @@ -25940,7 +22597,7 @@ void GL_APIENTRY GL_PushDebugGroupContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushDebugGroup(context, source, id, length, message)); if (isCallValid) @@ -25955,14 +22612,14 @@ void GL_APIENTRY GL_PushDebugGroupContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PushDebugGroupKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLuint id, - GLsizei length, - const GLchar *message) +void GL_APIENTRY PushDebugGroupKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message) { Context *context = static_cast(ctx); - EVENT(context, GLPushDebugGroupKHR, + EVENT(context, gl::EntryPoint::PushDebugGroupKHR, "glPushDebugGroupKHR", "context = %d, source = %s, id = %u, length = %d, message = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DebugSource, source), id, length, (uintptr_t)message); @@ -25970,7 +22627,7 @@ void GL_APIENTRY GL_PushDebugGroupKHRContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushDebugGroupKHR(context, source, id, length, message)); if (isCallValid) @@ -25985,20 +22642,20 @@ void GL_APIENTRY GL_PushDebugGroupKHRContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PushGroupMarkerEXTContextANGLE(GLeglContext ctx, - GLsizei length, - const GLchar *marker) +void GL_APIENTRY PushGroupMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) { Context *context = static_cast(ctx); // Don't run the EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. - // EVENT(context, GLPushGroupMarkerEXT, "context = %d, length = %d, marker = 0x%016" PRIxPTR "", - // CID(context), length, (uintptr_t)marker); + // EVENT(context, gl::EntryPoint::PushGroupMarkerEXT, "glPushGroupMarkerEXT", "context = %d, + // length = %d, marker = 0x%016" PRIxPTR "", CID(context), length, (uintptr_t)marker); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushGroupMarkerEXT(context, length, marker)); if (isCallValid) @@ -26013,15 +22670,15 @@ void GL_APIENTRY GL_PushGroupMarkerEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_PushMatrixContextANGLE(GLeglContext ctx) +void GL_APIENTRY PushMatrixContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLPushMatrix, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::PushMatrix, "glPushMatrix", "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidatePushMatrix(context)); if (isCallValid) { @@ -26035,18 +22692,19 @@ void GL_APIENTRY GL_PushMatrixContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_QueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) +void GL_APIENTRY QueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLQueryCounterEXT, "context = %d, id = %u, target = %s", CID(context), id, + EVENT(context, gl::EntryPoint::QueryCounterEXT, "glQueryCounterEXT", + "context = %d, id = %u, target = %s", CID(context), id, GLenumToString(GLenumGroup::QueryTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateQueryCounterEXT(context, idPacked, targetPacked)); if (isCallValid) @@ -26061,12 +22719,12 @@ void GL_APIENTRY GL_QueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLe } } -GLbitfield GL_APIENTRY GL_QueryMatrixxOESContextANGLE(GLeglContext ctx, - GLfixed *mantissa, - GLint *exponent) +GLbitfield GL_APIENTRY QueryMatrixxOESContextANGLE(GLeglContext ctx, + GLfixed *mantissa, + GLint *exponent) { Context *context = static_cast(ctx); - EVENT(context, GLQueryMatrixxOES, + EVENT(context, gl::EntryPoint::QueryMatrixxOES, "glQueryMatrixxOES", "context = %d, mantissa = 0x%016" PRIxPTR ", exponent = 0x%016" PRIxPTR "", CID(context), (uintptr_t)mantissa, (uintptr_t)exponent); @@ -26074,7 +22732,7 @@ GLbitfield GL_APIENTRY GL_QueryMatrixxOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateQueryMatrixxOES(context, mantissa, exponent)); if (isCallValid) @@ -26083,28 +22741,28 @@ GLbitfield GL_APIENTRY GL_QueryMatrixxOESContextANGLE(GLeglContext ctx, } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(QueryMatrixxOES, isCallValid, context, mantissa, exponent, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_ReadBufferContextANGLE(GLeglContext ctx, GLenum src) +void GL_APIENTRY ReadBufferContextANGLE(GLeglContext ctx, GLenum src) { Context *context = static_cast(ctx); - EVENT(context, GLReadBuffer, "context = %d, src = %s", CID(context), - GLenumToString(GLenumGroup::ReadBufferMode, src)); + EVENT(context, gl::EntryPoint::ReadBuffer, "glReadBuffer", "context = %d, src = %s", + CID(context), GLenumToString(GLenumGroup::ReadBufferMode, src)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadBuffer(context, src)); if (isCallValid) { @@ -26118,17 +22776,17 @@ void GL_APIENTRY GL_ReadBufferContextANGLE(GLeglContext ctx, GLenum src) } } -void GL_APIENTRY GL_ReadPixelsContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - void *pixels) +void GL_APIENTRY ReadPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLReadPixels, + EVENT(context, gl::EntryPoint::ReadPixels, "glReadPixels", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, pixels = " "0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -26137,7 +22795,7 @@ void GL_APIENTRY GL_ReadPixelsContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadPixels(context, x, y, width, height, format, type, pixels)); if (isCallValid) @@ -26152,18 +22810,18 @@ void GL_APIENTRY GL_ReadPixelsContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ReadnPixelsContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data) +void GL_APIENTRY ReadnPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) { Context *context = static_cast(ctx); - EVENT(context, GLReadnPixels, + EVENT(context, gl::EntryPoint::ReadnPixels, "glReadnPixels", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, data = 0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -26172,7 +22830,7 @@ void GL_APIENTRY GL_ReadnPixelsContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixels(context, x, y, width, height, format, type, bufSize, data)); @@ -26189,18 +22847,18 @@ void GL_APIENTRY GL_ReadnPixelsContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ReadnPixelsEXTContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data) +void GL_APIENTRY ReadnPixelsEXTContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) { Context *context = static_cast(ctx); - EVENT(context, GLReadnPixelsEXT, + EVENT(context, gl::EntryPoint::ReadnPixelsEXT, "glReadnPixelsEXT", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, data = 0x%016" PRIxPTR "", CID(context), x, y, width, height, GLenumToString(GLenumGroup::PixelFormat, format), @@ -26209,7 +22867,7 @@ void GL_APIENTRY GL_ReadnPixelsEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixelsEXT(context, x, y, width, height, format, type, bufSize, data)); @@ -26226,15 +22884,16 @@ void GL_APIENTRY GL_ReadnPixelsEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ReleaseShaderCompilerContextANGLE(GLeglContext ctx) +void GL_APIENTRY ReleaseShaderCompilerContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLReleaseShaderCompiler, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::ReleaseShaderCompiler, "glReleaseShaderCompiler", "context = %d", + CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReleaseShaderCompiler(context)); if (isCallValid) { @@ -26248,14 +22907,14 @@ void GL_APIENTRY GL_ReleaseShaderCompilerContextANGLE(GLeglContext ctx) } } -void GL_APIENTRY GL_RenderbufferStorageContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLRenderbufferStorage, + EVENT(context, gl::EntryPoint::RenderbufferStorage, "glRenderbufferStorage", "context = %d, target = %s, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -26263,7 +22922,7 @@ void GL_APIENTRY GL_RenderbufferStorageContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorage(context, target, internalformat, width, height)); @@ -26280,15 +22939,16 @@ void GL_APIENTRY GL_RenderbufferStorageContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLRenderbufferStorageMultisample, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisample, + "glRenderbufferStorageMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -26296,7 +22956,7 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisample(context, target, samples, internalformat, width, height)); @@ -26313,15 +22973,16 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLRenderbufferStorageMultisampleANGLE, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisampleANGLE, + "glRenderbufferStorageMultisampleANGLE", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -26329,7 +22990,7 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisampleANGLE( context, target, samples, internalformat, width, height)); @@ -26346,15 +23007,16 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLRenderbufferStorageMultisampleEXT, + EVENT(context, gl::EntryPoint::RenderbufferStorageMultisampleEXT, + "glRenderbufferStorageMultisampleEXT", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), samples, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -26362,7 +23024,7 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageMultisampleEXT( context, target, samples, internalformat, width, height)); @@ -26380,14 +23042,14 @@ void GL_APIENTRY GL_RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_RenderbufferStorageOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY RenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLRenderbufferStorageOES, + EVENT(context, gl::EntryPoint::RenderbufferStorageOES, "glRenderbufferStorageOES", "context = %d, target = %s, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -26395,7 +23057,7 @@ void GL_APIENTRY GL_RenderbufferStorageOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRenderbufferStorageOES(context, target, internalformat, width, height)); @@ -26412,15 +23074,16 @@ void GL_APIENTRY GL_RenderbufferStorageOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ResumeTransformFeedbackContextANGLE(GLeglContext ctx) +void GL_APIENTRY ResumeTransformFeedbackContextANGLE(GLeglContext ctx) { Context *context = static_cast(ctx); - EVENT(context, GLResumeTransformFeedback, "context = %d", CID(context)); + EVENT(context, gl::EntryPoint::ResumeTransformFeedback, "glResumeTransformFeedback", + "context = %d", CID(context)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateResumeTransformFeedback(context)); if (isCallValid) { @@ -26435,16 +23098,16 @@ void GL_APIENTRY GL_ResumeTransformFeedbackContextANGLE(GLeglContext ctx) } void GL_APIENTRY -GL_RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) +RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { Context *context = static_cast(ctx); - EVENT(context, GLRotatef, "context = %d, angle = %f, x = %f, y = %f, z = %f", CID(context), - angle, x, y, z); + EVENT(context, gl::EntryPoint::Rotatef, "glRotatef", + "context = %d, angle = %f, x = %f, y = %f, z = %f", CID(context), angle, x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRotatef(context, angle, x, y, z)); if (isCallValid) { @@ -26459,16 +23122,16 @@ GL_RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GL } void GL_APIENTRY -GL_RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) +RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { Context *context = static_cast(ctx); - EVENT(context, GLRotatex, "context = %d, angle = 0x%X, x = 0x%X, y = 0x%X, z = 0x%X", - CID(context), angle, x, y, z); + EVENT(context, gl::EntryPoint::Rotatex, "glRotatex", + "context = %d, angle = 0x%X, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), angle, x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRotatex(context, angle, x, y, z)); if (isCallValid) { @@ -26482,16 +23145,16 @@ GL_RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GL } } -void GL_APIENTRY GL_SampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) +void GL_APIENTRY SampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) { Context *context = static_cast(ctx); - EVENT(context, GLSampleCoverage, "context = %d, value = %f, invert = %s", CID(context), value, - GLbooleanToString(invert)); + EVENT(context, gl::EntryPoint::SampleCoverage, "glSampleCoverage", + "context = %d, value = %f, invert = %s", CID(context), value, GLbooleanToString(invert)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleCoverage(context, value, invert)); if (isCallValid) @@ -26506,16 +23169,17 @@ void GL_APIENTRY GL_SampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, } } -void GL_APIENTRY GL_SampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) +void GL_APIENTRY SampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) { Context *context = static_cast(ctx); - EVENT(context, GLSampleCoveragex, "context = %d, value = 0x%X, invert = %s", CID(context), - value, GLbooleanToString(invert)); + EVENT(context, gl::EntryPoint::SampleCoveragex, "glSampleCoveragex", + "context = %d, value = 0x%X, invert = %s", CID(context), value, + GLbooleanToString(invert)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleCoveragex(context, value, invert)); if (isCallValid) @@ -26530,16 +23194,17 @@ void GL_APIENTRY GL_SampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value } } -void GL_APIENTRY GL_SampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) +void GL_APIENTRY SampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) { Context *context = static_cast(ctx); - EVENT(context, GLSampleMaski, "context = %d, maskNumber = %u, mask = %s", CID(context), - maskNumber, GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); + EVENT(context, gl::EntryPoint::SampleMaski, "glSampleMaski", + "context = %d, maskNumber = %u, mask = %s", CID(context), maskNumber, + GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleMaski(context, maskNumber, mask)); if (isCallValid) @@ -26554,21 +23219,21 @@ void GL_APIENTRY GL_SampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, } } -void GL_APIENTRY GL_SamplerParameterIivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param) +void GL_APIENTRY SamplerParameterIivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIiv, + EVENT(context, gl::EntryPoint::SamplerParameterIiv, "glSamplerParameterIiv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIiv(context, samplerPacked, pname, param)); if (isCallValid) @@ -26583,50 +23248,21 @@ void GL_APIENTRY GL_SamplerParameterIivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param) +void GL_APIENTRY SamplerParameterIivOESContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIivEXT, + EVENT(context, gl::EntryPoint::SamplerParameterIivOES, "glSamplerParameterIivOES", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateSamplerParameterIivEXT(context, samplerPacked, pname, param)); - if (isCallValid) - { - context->samplerParameterIiv(samplerPacked, pname, param); - } - ANGLE_CAPTURE(SamplerParameterIivEXT, isCallValid, context, samplerPacked, pname, param); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_SamplerParameterIivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param) -{ - Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIivOES, - "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIivOES(context, samplerPacked, pname, param)); if (isCallValid) @@ -26641,21 +23277,21 @@ void GL_APIENTRY GL_SamplerParameterIivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterIuivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param) +void GL_APIENTRY SamplerParameterIuivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLuint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIuiv, + EVENT(context, gl::EntryPoint::SamplerParameterIuiv, "glSamplerParameterIuiv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuiv(context, samplerPacked, pname, param)); if (isCallValid) @@ -26670,50 +23306,21 @@ void GL_APIENTRY GL_SamplerParameterIuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param) +void GL_APIENTRY SamplerParameterIuivOESContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLuint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIuivEXT, + EVENT(context, gl::EntryPoint::SamplerParameterIuivOES, "glSamplerParameterIuivOES", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateSamplerParameterIuivEXT(context, samplerPacked, pname, param)); - if (isCallValid) - { - context->samplerParameterIuiv(samplerPacked, pname, param); - } - ANGLE_CAPTURE(SamplerParameterIuivEXT, isCallValid, context, samplerPacked, pname, param); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_SamplerParameterIuivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param) -{ - Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIuivOES, - "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), - sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuivOES(context, samplerPacked, pname, param)); if (isCallValid) @@ -26728,20 +23335,21 @@ void GL_APIENTRY GL_SamplerParameterIuivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterfContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLfloat param) +void GL_APIENTRY SamplerParameterfContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterf, "context = %d, sampler = %u, pname = %s, param = %f", - CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), param); + EVENT(context, gl::EntryPoint::SamplerParameterf, "glSamplerParameterf", + "context = %d, sampler = %u, pname = %s, param = %f", CID(context), sampler, + GLenumToString(GLenumGroup::SamplerParameterName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterf(context, samplerPacked, pname, param)); if (isCallValid) @@ -26756,21 +23364,21 @@ void GL_APIENTRY GL_SamplerParameterfContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterfvContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLfloat *param) +void GL_APIENTRY SamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLfloat *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterfv, + EVENT(context, gl::EntryPoint::SamplerParameterfv, "glSamplerParameterfv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterfv(context, samplerPacked, pname, param)); if (isCallValid) @@ -26785,20 +23393,21 @@ void GL_APIENTRY GL_SamplerParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameteriContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint param) +void GL_APIENTRY SamplerParameteriContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameteri, "context = %d, sampler = %u, pname = %s, param = %d", - CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), param); + EVENT(context, gl::EntryPoint::SamplerParameteri, "glSamplerParameteri", + "context = %d, sampler = %u, pname = %s, param = %d", CID(context), sampler, + GLenumToString(GLenumGroup::SamplerParameterName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameteri(context, samplerPacked, pname, param)); if (isCallValid) @@ -26813,21 +23422,21 @@ void GL_APIENTRY GL_SamplerParameteriContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param) +void GL_APIENTRY SamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameteriv, + EVENT(context, gl::EntryPoint::SamplerParameteriv, "glSamplerParameteriv", "context = %d, sampler = %u, pname = %s, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::SamplerParameterName, pname), (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameteriv(context, samplerPacked, pname, param)); if (isCallValid) @@ -26842,15 +23451,16 @@ void GL_APIENTRY GL_SamplerParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) { Context *context = static_cast(ctx); - EVENT(context, GLScalef, "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Scalef, "glScalef", "context = %d, x = %f, y = %f, z = %f", + CID(context), x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScalef(context, x, y, z)); if (isCallValid) { @@ -26864,15 +23474,16 @@ void GL_APIENTRY GL_ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, G } } -void GL_APIENTRY GL_ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +void GL_APIENTRY ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) { Context *context = static_cast(ctx); - EVENT(context, GLScalex, "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Scalex, "glScalex", "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", + CID(context), x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScalex(context, x, y, z)); if (isCallValid) { @@ -26887,16 +23498,17 @@ void GL_APIENTRY GL_ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, G } void GL_APIENTRY -GL_ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLScissor, "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), - x, y, width, height); + EVENT(context, gl::EntryPoint::Scissor, "glScissor", + "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), x, y, width, + height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateScissor(context, x, y, width, height)); if (isCallValid) @@ -26911,21 +23523,21 @@ GL_ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsize } } -void GL_APIENTRY GL_SemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum pname, - const GLuint64 *params) +void GL_APIENTRY SemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLenum pname, + const GLuint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLSemaphoreParameterui64vEXT, + EVENT(context, gl::EntryPoint::SemaphoreParameterui64vEXT, "glSemaphoreParameterui64vEXT", "context = %d, semaphore = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), semaphore, GLenumToString(GLenumGroup::SemaphoreParameterName, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSemaphoreParameterui64vEXT(context, semaphorePacked, pname, params)); @@ -26942,17 +23554,18 @@ void GL_APIENTRY GL_SemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) +void GL_APIENTRY SetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) { Context *context = static_cast(ctx); - EVENT(context, GLSetFenceNV, "context = %d, fence = %u, condition = %s", CID(context), fence, + EVENT(context, gl::EntryPoint::SetFenceNV, "glSetFenceNV", + "context = %d, fence = %u, condition = %s", CID(context), fence, GLenumToString(GLenumGroup::DefaultGroup, condition)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSetFenceNV(context, fencePacked, condition)); if (isCallValid) @@ -26967,17 +23580,17 @@ void GL_APIENTRY GL_SetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenu } } -void GL_APIENTRY GL_ShadeModelContextANGLE(GLeglContext ctx, GLenum mode) +void GL_APIENTRY ShadeModelContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLShadeModel, "context = %d, mode = %s", CID(context), - GLenumToString(GLenumGroup::ShadingModel, mode)); + EVENT(context, gl::EntryPoint::ShadeModel, "glShadeModel", "context = %d, mode = %s", + CID(context), GLenumToString(GLenumGroup::ShadingModel, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShadingModel modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + ShadingModel modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShadeModel(context, modePacked)); if (isCallValid) { @@ -26991,15 +23604,15 @@ void GL_APIENTRY GL_ShadeModelContextANGLE(GLeglContext ctx, GLenum mode) } } -void GL_APIENTRY GL_ShaderBinaryContextANGLE(GLeglContext ctx, - GLsizei count, - const GLuint *shaders, - GLenum binaryformat, - const void *binary, - GLsizei length) +void GL_APIENTRY ShaderBinaryContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length) { Context *context = static_cast(ctx); - EVENT(context, GLShaderBinary, + EVENT(context, gl::EntryPoint::ShaderBinary, "glShaderBinary", "context = %d, count = %d, shaders = 0x%016" PRIxPTR ", binaryformat = %s, binary = 0x%016" PRIxPTR ", length = %d", CID(context), count, (uintptr_t)shaders, @@ -27008,8 +23621,8 @@ void GL_APIENTRY GL_ShaderBinaryContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - const ShaderProgramID *shadersPacked = PackParam(shaders); - std::unique_lock shareContextLock = GetContextLock(context); + const ShaderProgramID *shadersPacked = FromGL(shaders); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShaderBinary(context, count, shadersPacked, binaryformat, binary, length)); @@ -27026,14 +23639,14 @@ void GL_APIENTRY GL_ShaderBinaryContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ShaderSourceContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei count, - const GLchar *const *string, - const GLint *length) +void GL_APIENTRY ShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length) { Context *context = static_cast(ctx); - EVENT(context, GLShaderSource, + EVENT(context, gl::EntryPoint::ShaderSource, "glShaderSource", "context = %d, shader = %u, count = %d, string = 0x%016" PRIxPTR ", length = 0x%016" PRIxPTR "", CID(context), shader, count, (uintptr_t)string, (uintptr_t)length); @@ -27041,8 +23654,8 @@ void GL_APIENTRY GL_ShaderSourceContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateShaderSource(context, shaderPacked, count, string, length)); if (isCallValid) @@ -27057,16 +23670,16 @@ void GL_APIENTRY GL_ShaderSourceContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SignalSemaphoreEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *dstLayouts) +void GL_APIENTRY SignalSemaphoreEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *dstLayouts) { Context *context = static_cast(ctx); - EVENT(context, GLSignalSemaphoreEXT, + EVENT(context, gl::EntryPoint::SignalSemaphoreEXT, "glSignalSemaphoreEXT", "context = %d, semaphore = %u, numBufferBarriers = %u, buffers = 0x%016" PRIxPTR ", numTextureBarriers = %u, textures = 0x%016" PRIxPTR ", dstLayouts = 0x%016" PRIxPTR "", CID(context), semaphore, numBufferBarriers, (uintptr_t)buffers, numTextureBarriers, @@ -27075,10 +23688,10 @@ void GL_APIENTRY GL_SignalSemaphoreEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - const BufferID *buffersPacked = PackParam(buffers); - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + const BufferID *buffersPacked = FromGL(buffers); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSignalSemaphoreEXT(context, semaphorePacked, numBufferBarriers, buffersPacked, @@ -27097,16 +23710,17 @@ void GL_APIENTRY GL_SignalSemaphoreEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_StencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) +void GL_APIENTRY StencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) { Context *context = static_cast(ctx); - EVENT(context, GLStencilFunc, "context = %d, func = %s, ref = %d, mask = %u", CID(context), + EVENT(context, gl::EntryPoint::StencilFunc, "glStencilFunc", + "context = %d, func = %s, ref = %d, mask = %u", CID(context), GLenumToString(GLenumGroup::StencilFunction, func), ref, mask); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilFunc(context, func, ref, mask)); if (isCallValid) @@ -27121,21 +23735,19 @@ void GL_APIENTRY GL_StencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint } } -void GL_APIENTRY GL_StencilFuncSeparateContextANGLE(GLeglContext ctx, - GLenum face, - GLenum func, - GLint ref, - GLuint mask) +void GL_APIENTRY +StencilFuncSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask) { Context *context = static_cast(ctx); - EVENT(context, GLStencilFuncSeparate, "context = %d, face = %s, func = %s, ref = %d, mask = %u", - CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), + EVENT(context, gl::EntryPoint::StencilFuncSeparate, "glStencilFuncSeparate", + "context = %d, face = %s, func = %s, ref = %d, mask = %u", CID(context), + GLenumToString(GLenumGroup::StencilFaceDirection, face), GLenumToString(GLenumGroup::StencilFunction, func), ref, mask); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilFuncSeparate(context, face, func, ref, mask)); if (isCallValid) @@ -27150,15 +23762,16 @@ void GL_APIENTRY GL_StencilFuncSeparateContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_StencilMaskContextANGLE(GLeglContext ctx, GLuint mask) +void GL_APIENTRY StencilMaskContextANGLE(GLeglContext ctx, GLuint mask) { Context *context = static_cast(ctx); - EVENT(context, GLStencilMask, "context = %d, mask = %u", CID(context), mask); + EVENT(context, gl::EntryPoint::StencilMask, "glStencilMask", "context = %d, mask = %u", + CID(context), mask); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilMask(context, mask)); if (isCallValid) { @@ -27172,16 +23785,17 @@ void GL_APIENTRY GL_StencilMaskContextANGLE(GLeglContext ctx, GLuint mask) } } -void GL_APIENTRY GL_StencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) +void GL_APIENTRY StencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) { Context *context = static_cast(ctx); - EVENT(context, GLStencilMaskSeparate, "context = %d, face = %s, mask = %u", CID(context), + EVENT(context, gl::EntryPoint::StencilMaskSeparate, "glStencilMaskSeparate", + "context = %d, face = %s, mask = %u", CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), mask); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilMaskSeparate(context, face, mask)); if (isCallValid) @@ -27196,10 +23810,11 @@ void GL_APIENTRY GL_StencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum fac } } -void GL_APIENTRY GL_StencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) +void GL_APIENTRY StencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) { Context *context = static_cast(ctx); - EVENT(context, GLStencilOp, "context = %d, fail = %s, zfail = %s, zpass = %s", CID(context), + EVENT(context, gl::EntryPoint::StencilOp, "glStencilOp", + "context = %d, fail = %s, zfail = %s, zpass = %s", CID(context), GLenumToString(GLenumGroup::StencilOp, fail), GLenumToString(GLenumGroup::StencilOp, zfail), GLenumToString(GLenumGroup::StencilOp, zpass)); @@ -27207,7 +23822,7 @@ void GL_APIENTRY GL_StencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilOp(context, fail, zfail, zpass)); if (isCallValid) @@ -27222,14 +23837,14 @@ void GL_APIENTRY GL_StencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum } } -void GL_APIENTRY GL_StencilOpSeparateContextANGLE(GLeglContext ctx, - GLenum face, - GLenum sfail, - GLenum dpfail, - GLenum dppass) +void GL_APIENTRY StencilOpSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass) { Context *context = static_cast(ctx); - EVENT(context, GLStencilOpSeparate, + EVENT(context, gl::EntryPoint::StencilOpSeparate, "glStencilOpSeparate", "context = %d, face = %s, sfail = %s, dpfail = %s, dppass = %s", CID(context), GLenumToString(GLenumGroup::StencilFaceDirection, face), GLenumToString(GLenumGroup::StencilOp, sfail), @@ -27239,7 +23854,7 @@ void GL_APIENTRY GL_StencilOpSeparateContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateStencilOpSeparate(context, face, sfail, dpfail, dppass)); if (isCallValid) @@ -27254,17 +23869,18 @@ void GL_APIENTRY GL_StencilOpSeparateContextANGLE(GLeglContext ctx, } } -GLboolean GL_APIENTRY GL_TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +GLboolean GL_APIENTRY TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { Context *context = static_cast(ctx); - EVENT(context, GLTestFenceNV, "context = %d, fence = %u", CID(context), fence); + EVENT(context, gl::EntryPoint::TestFenceNV, "glTestFenceNV", "context = %d, fence = %u", + CID(context), fence); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - FenceNVID fencePacked = PackParam(fence); - std::unique_lock shareContextLock = GetContextLock(context); + FenceNVID fencePacked = FromGL(fence); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTestFenceNV(context, fencePacked)); if (isCallValid) { @@ -27272,34 +23888,35 @@ GLboolean GL_APIENTRY GL_TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(TestFenceNV, isCallValid, context, fencePacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_TexBufferContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer) +void GL_APIENTRY TexBufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLTexBuffer, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBuffer, "glTexBuffer", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBuffer(context, targetPacked, internalformat, bufferPacked)); if (isCallValid) @@ -27314,22 +23931,23 @@ void GL_APIENTRY GL_TexBufferContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexBufferEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer) +void GL_APIENTRY TexBufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLTexBufferEXT, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBufferEXT, "glTexBufferEXT", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferEXT(context, targetPacked, internalformat, bufferPacked)); @@ -27346,22 +23964,23 @@ void GL_APIENTRY GL_TexBufferEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexBufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer) +void GL_APIENTRY TexBufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer) { Context *context = static_cast(ctx); - EVENT(context, GLTexBufferOES, "context = %d, target = %s, internalformat = %s, buffer = %u", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexBufferOES, "glTexBufferOES", + "context = %d, target = %s, internalformat = %s, buffer = %u", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferOES(context, targetPacked, internalformat, bufferPacked)); @@ -27378,15 +23997,15 @@ void GL_APIENTRY GL_TexBufferOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexBufferRangeContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = static_cast(ctx); - EVENT(context, GLTexBufferRange, + EVENT(context, gl::EntryPoint::TexBufferRange, "glTexBufferRange", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -27395,9 +24014,9 @@ void GL_APIENTRY GL_TexBufferRangeContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRange(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -27414,15 +24033,15 @@ void GL_APIENTRY GL_TexBufferRangeContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = static_cast(ctx); - EVENT(context, GLTexBufferRangeEXT, + EVENT(context, gl::EntryPoint::TexBufferRangeEXT, "glTexBufferRangeEXT", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -27431,9 +24050,9 @@ void GL_APIENTRY GL_TexBufferRangeEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRangeEXT(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -27450,15 +24069,15 @@ void GL_APIENTRY GL_TexBufferRangeEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexBufferRangeOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size) +void GL_APIENTRY TexBufferRangeOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) { Context *context = static_cast(ctx); - EVENT(context, GLTexBufferRangeOES, + EVENT(context, gl::EntryPoint::TexBufferRangeOES, "glTexBufferRangeOES", "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, @@ -27467,9 +24086,9 @@ void GL_APIENTRY GL_TexBufferRangeOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - BufferID bufferPacked = PackParam(buffer); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + BufferID bufferPacked = FromGL(buffer); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexBufferRangeOES(context, targetPacked, internalformat, bufferPacked, offset, size)); @@ -27486,14 +24105,14 @@ void GL_APIENTRY GL_TexBufferRangeOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexCoordPointerContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY TexCoordPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLTexCoordPointer, + EVENT(context, gl::EntryPoint::TexCoordPointer, "glTexCoordPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::TexCoordPointerType, type), stride, (uintptr_t)pointer); @@ -27501,8 +24120,8 @@ void GL_APIENTRY GL_TexCoordPointerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexCoordPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -27517,22 +24136,20 @@ void GL_APIENTRY GL_TexCoordPointerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexEnvfContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat param) +void GL_APIENTRY TexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnvf, "context = %d, target = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::TexEnvf, "glTexEnvf", + "context = %d, target = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvf(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -27547,22 +24164,23 @@ void GL_APIENTRY GL_TexEnvfContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexEnvfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY TexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnvfv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnvfv, "glTexEnvfv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvfv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -27577,19 +24195,20 @@ void GL_APIENTRY GL_TexEnvfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) +void GL_APIENTRY TexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnvi, "context = %d, target = %s, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::TexEnvi, "glTexEnvi", + "context = %d, target = %s, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvi(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -27604,22 +24223,23 @@ void GL_APIENTRY GL_TexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum } } -void GL_APIENTRY GL_TexEnvivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) +void GL_APIENTRY TexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnviv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnviv, "glTexEnviv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnviv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -27634,22 +24254,20 @@ void GL_APIENTRY GL_TexEnvivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexEnvxContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed param) +void GL_APIENTRY TexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnvx, "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::TexEnvx, "glTexEnvx", + "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvx(context, targetPacked, pnamePacked, param)); if (isCallValid) @@ -27664,22 +24282,23 @@ void GL_APIENTRY GL_TexEnvxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexEnvxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfixed *params) +void GL_APIENTRY TexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexEnvxv, "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureEnvTarget, target), + EVENT(context, gl::EntryPoint::TexEnvxv, "glTexEnvxv", + "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), + GLenumToString(GLenumGroup::TextureEnvTarget, target), GLenumToString(GLenumGroup::TextureEnvParameter, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureEnvTarget targetPacked = PackParam(target); - TextureEnvParameter pnamePacked = PackParam(pname); - std::unique_lock shareContextLock = GetContextLock(context); + TextureEnvTarget targetPacked = FromGL(target); + TextureEnvParameter pnamePacked = FromGL(pname); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexEnvxv(context, targetPacked, pnamePacked, params)); if (isCallValid) @@ -27694,20 +24313,18 @@ void GL_APIENTRY GL_TexEnvxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGenfOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfloat param) +void GL_APIENTRY TexGenfOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLTexGenfOES, "context = %d, coord = %s, pname = %s, param = %f", CID(context), + EVENT(context, gl::EntryPoint::TexGenfOES, "glTexGenfOES", + "context = %d, coord = %s, pname = %s, param = %f", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenfOES(context, coord, pname, param)); if (isCallValid) @@ -27722,13 +24339,13 @@ void GL_APIENTRY GL_TexGenfOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGenfvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY TexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexGenfvOES, + EVENT(context, gl::EntryPoint::TexGenfvOES, "glTexGenfvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -27736,7 +24353,7 @@ void GL_APIENTRY GL_TexGenfvOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenfvOES(context, coord, pname, params)); if (isCallValid) @@ -27751,20 +24368,18 @@ void GL_APIENTRY GL_TexGenfvOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGeniOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLint param) +void GL_APIENTRY TexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLTexGeniOES, "context = %d, coord = %s, pname = %s, param = %d", CID(context), + EVENT(context, gl::EntryPoint::TexGeniOES, "glTexGeniOES", + "context = %d, coord = %s, pname = %s, param = %d", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGeniOES(context, coord, pname, param)); if (isCallValid) @@ -27779,13 +24394,13 @@ void GL_APIENTRY GL_TexGeniOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGenivOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLint *params) +void GL_APIENTRY TexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexGenivOES, + EVENT(context, gl::EntryPoint::TexGenivOES, "glTexGenivOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -27793,7 +24408,7 @@ void GL_APIENTRY GL_TexGenivOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenivOES(context, coord, pname, params)); if (isCallValid) @@ -27808,20 +24423,18 @@ void GL_APIENTRY GL_TexGenivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGenxOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfixed param) +void GL_APIENTRY TexGenxOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLTexGenxOES, "context = %d, coord = %s, pname = %s, param = 0x%X", CID(context), + EVENT(context, gl::EntryPoint::TexGenxOES, "glTexGenxOES", + "context = %d, coord = %s, pname = %s, param = 0x%X", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenxOES(context, coord, pname, param)); if (isCallValid) @@ -27836,13 +24449,13 @@ void GL_APIENTRY GL_TexGenxOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexGenxvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLfixed *params) +void GL_APIENTRY TexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexGenxvOES, + EVENT(context, gl::EntryPoint::TexGenxvOES, "glTexGenxvOES", "context = %d, coord = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureCoordName, coord), GLenumToString(GLenumGroup::TextureGenParameter, pname), (uintptr_t)params); @@ -27850,7 +24463,7 @@ void GL_APIENTRY GL_TexGenxvOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexGenxvOES(context, coord, pname, params)); if (isCallValid) @@ -27865,19 +24478,19 @@ void GL_APIENTRY GL_TexGenxvOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage2D, + EVENT(context, gl::EntryPoint::TexImage2D, "glTexImage2D", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -27887,8 +24500,8 @@ void GL_APIENTRY GL_TexImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2D(context, targetPacked, level, internalformat, width, height, border, format, type, pixels)); @@ -27906,20 +24519,20 @@ void GL_APIENTRY GL_TexImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage3D, + EVENT(context, gl::EntryPoint::TexImage3D, "glTexImage3D", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -27929,8 +24542,8 @@ void GL_APIENTRY GL_TexImage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3D(context, targetPacked, level, internalformat, width, height, depth, border, format, type, pixels)); @@ -27948,20 +24561,20 @@ void GL_APIENTRY GL_TexImage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexImage3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage3DOES, + EVENT(context, gl::EntryPoint::TexImage3DOES, "glTexImage3DOES", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -27972,8 +24585,8 @@ void GL_APIENTRY GL_TexImage3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3DOES(context, targetPacked, level, internalformat, width, height, @@ -27992,13 +24605,13 @@ void GL_APIENTRY GL_TexImage3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) +void GL_APIENTRY TexParameterIivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIiv, + EVENT(context, gl::EntryPoint::TexParameterIiv, "glTexParameterIiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28006,8 +24619,8 @@ void GL_APIENTRY GL_TexParameterIivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIiv(context, targetPacked, pname, params)); if (isCallValid) @@ -28022,13 +24635,13 @@ void GL_APIENTRY GL_TexParameterIivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) +void GL_APIENTRY TexParameterIivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIivEXT, + EVENT(context, gl::EntryPoint::TexParameterIivOES, "glTexParameterIivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28036,38 +24649,8 @@ void GL_APIENTRY GL_TexParameterIivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateTexParameterIivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->texParameterIiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(TexParameterIivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_TexParameterIivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIivOES, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -28082,13 +24665,13 @@ void GL_APIENTRY GL_TexParameterIivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIuivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params) +void GL_APIENTRY TexParameterIuivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIuiv, + EVENT(context, gl::EntryPoint::TexParameterIuiv, "glTexParameterIuiv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28096,8 +24679,8 @@ void GL_APIENTRY GL_TexParameterIuivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuiv(context, targetPacked, pname, params)); if (isCallValid) @@ -28112,13 +24695,13 @@ void GL_APIENTRY GL_TexParameterIuivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params) +void GL_APIENTRY TexParameterIuivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIuivEXT, + EVENT(context, gl::EntryPoint::TexParameterIuivOES, "glTexParameterIuivOES", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28126,38 +24709,8 @@ void GL_APIENTRY GL_TexParameterIuivEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateTexParameterIuivEXT(context, targetPacked, pname, params)); - if (isCallValid) - { - context->texParameterIuiv(targetPacked, pname, params); - } - ANGLE_CAPTURE(TexParameterIuivEXT, isCallValid, context, targetPacked, pname, params); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_TexParameterIuivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params) -{ - Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIuivOES, - "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), - GLenumToString(GLenumGroup::TextureTarget, target), - GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuivOES(context, targetPacked, pname, params)); if (isCallValid) @@ -28172,21 +24725,22 @@ void GL_APIENTRY GL_TexParameterIuivOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterfContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat param) +void GL_APIENTRY TexParameterfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterf, "context = %d, target = %s, pname = %s, param = %f", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameterf, "glTexParameterf", + "context = %d, target = %s, pname = %s, param = %f", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterf(context, targetPacked, pname, param)); if (isCallValid) @@ -28201,13 +24755,13 @@ void GL_APIENTRY GL_TexParameterfContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfloat *params) +void GL_APIENTRY TexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterfv, + EVENT(context, gl::EntryPoint::TexParameterfv, "glTexParameterfv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28215,8 +24769,8 @@ void GL_APIENTRY GL_TexParameterfvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterfv(context, targetPacked, pname, params)); if (isCallValid) @@ -28231,21 +24785,22 @@ void GL_APIENTRY GL_TexParameterfvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameteriContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint param) +void GL_APIENTRY TexParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameteri, "context = %d, target = %s, pname = %s, param = %d", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameteri, "glTexParameteri", + "context = %d, target = %s, pname = %s, param = %d", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameteri(context, targetPacked, pname, param)); if (isCallValid) @@ -28260,13 +24815,13 @@ void GL_APIENTRY GL_TexParameteriContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) +void GL_APIENTRY TexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameteriv, + EVENT(context, gl::EntryPoint::TexParameteriv, "glTexParameteriv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::TextureParameterName, pname), (uintptr_t)params); @@ -28274,8 +24829,8 @@ void GL_APIENTRY GL_TexParameterivContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameteriv(context, targetPacked, pname, params)); if (isCallValid) @@ -28290,21 +24845,22 @@ void GL_APIENTRY GL_TexParameterivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterxContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed param) +void GL_APIENTRY TexParameterxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterx, "context = %d, target = %s, pname = %s, param = 0x%X", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), + EVENT(context, gl::EntryPoint::TexParameterx, "glTexParameterx", + "context = %d, target = %s, pname = %s, param = 0x%X", CID(context), + GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterx(context, targetPacked, pname, param)); if (isCallValid) @@ -28319,13 +24875,13 @@ void GL_APIENTRY GL_TexParameterxContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfixed *params) +void GL_APIENTRY TexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterxv, + EVENT(context, gl::EntryPoint::TexParameterxv, "glTexParameterxv", "context = %d, target = %s, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); @@ -28333,8 +24889,8 @@ void GL_APIENTRY GL_TexParameterxvContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterxv(context, targetPacked, pname, params)); if (isCallValid) @@ -28349,14 +24905,14 @@ void GL_APIENTRY GL_TexParameterxvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage1DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width) +void GL_APIENTRY TexStorage1DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage1DEXT, + EVENT(context, gl::EntryPoint::TexStorage1DEXT, "glTexStorage1DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width); @@ -28364,7 +24920,7 @@ void GL_APIENTRY GL_TexStorage1DEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage1DEXT(context, target, levels, internalformat, width)); @@ -28380,15 +24936,15 @@ void GL_APIENTRY GL_TexStorage1DEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY TexStorage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage2D, + EVENT(context, gl::EntryPoint::TexStorage2D, "glTexStorage2D", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -28396,8 +24952,8 @@ void GL_APIENTRY GL_TexStorage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2D(context, targetPacked, levels, internalformat, width, height)); @@ -28414,15 +24970,15 @@ void GL_APIENTRY GL_TexStorage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage2DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height) +void GL_APIENTRY TexStorage2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage2DEXT, + EVENT(context, gl::EntryPoint::TexStorage2DEXT, "glTexStorage2DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, GLenumToString(GLenumGroup::InternalFormat, internalformat), width, height); @@ -28430,8 +24986,8 @@ void GL_APIENTRY GL_TexStorage2DEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DEXT(context, targetPacked, levels, internalformat, width, height)); @@ -28448,16 +25004,16 @@ void GL_APIENTRY GL_TexStorage2DEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage2DMultisampleContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage2DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage2DMultisample, + EVENT(context, gl::EntryPoint::TexStorage2DMultisample, "glTexStorage2DMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -28467,8 +25023,8 @@ void GL_APIENTRY GL_TexStorage2DMultisampleContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DMultisample(context, targetPacked, samples, internalformat, width, @@ -28487,16 +25043,16 @@ void GL_APIENTRY GL_TexStorage2DMultisampleContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth) +void GL_APIENTRY TexStorage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage3D, + EVENT(context, gl::EntryPoint::TexStorage3D, "glTexStorage3D", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d, " "depth = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -28505,8 +25061,8 @@ void GL_APIENTRY GL_TexStorage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3D(context, targetPacked, levels, internalformat, width, height, depth)); @@ -28523,16 +25079,16 @@ void GL_APIENTRY GL_TexStorage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage3DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth) +void GL_APIENTRY TexStorage3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage3DEXT, + EVENT(context, gl::EntryPoint::TexStorage3DEXT, "glTexStorage3DEXT", "context = %d, target = %s, levels = %d, internalformat = %s, width = %d, height = %d, " "depth = %d", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -28541,8 +25097,8 @@ void GL_APIENTRY GL_TexStorage3DEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DEXT(context, targetPacked, levels, internalformat, width, height, depth)); @@ -28559,17 +25115,17 @@ void GL_APIENTRY GL_TexStorage3DEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage3DMultisampleContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage3DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage3DMultisample, + EVENT(context, gl::EntryPoint::TexStorage3DMultisample, "glTexStorage3DMultisample", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -28579,8 +25135,8 @@ void GL_APIENTRY GL_TexStorage3DMultisampleContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DMultisample(context, targetPacked, samples, internalformat, width, @@ -28599,17 +25155,17 @@ void GL_APIENTRY GL_TexStorage3DMultisampleContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage3DMultisampleOES, + EVENT(context, gl::EntryPoint::TexStorage3DMultisampleOES, "glTexStorage3DMultisampleOES", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -28619,8 +25175,8 @@ void GL_APIENTRY GL_TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage3DMultisampleOES(context, targetPacked, samples, internalformat, @@ -28639,17 +25195,17 @@ void GL_APIENTRY GL_TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMem2DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMem2DEXT, + EVENT(context, gl::EntryPoint::TexStorageMem2DEXT, "glTexStorageMem2DEXT", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -28659,9 +25215,9 @@ void GL_APIENTRY GL_TexStorageMem2DEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem2DEXT(context, targetPacked, levels, internalFormat, width, @@ -28680,18 +25236,18 @@ void GL_APIENTRY GL_TexStorageMem2DEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMem2DMultisampleEXT, + EVENT(context, gl::EntryPoint::TexStorageMem2DMultisampleEXT, "glTexStorageMem2DMultisampleEXT", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "fixedSampleLocations = %s, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -28701,9 +25257,9 @@ void GL_APIENTRY GL_TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem2DMultisampleEXT( context, targetPacked, samples, internalFormat, width, @@ -28722,18 +25278,18 @@ void GL_APIENTRY GL_TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMem3DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMem3DEXT, + EVENT(context, gl::EntryPoint::TexStorageMem3DEXT, "glTexStorageMem3DEXT", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -28743,9 +25299,9 @@ void GL_APIENTRY GL_TexStorageMem3DEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem3DEXT(context, targetPacked, levels, internalFormat, width, @@ -28764,19 +25320,19 @@ void GL_APIENTRY GL_TexStorageMem3DEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset) +void GL_APIENTRY TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMem3DMultisampleEXT, + EVENT(context, gl::EntryPoint::TexStorageMem3DMultisampleEXT, "glTexStorageMem3DMultisampleEXT", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, fixedSampleLocations = %s, memory = %u, offset = %llu", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -28786,9 +25342,9 @@ void GL_APIENTRY GL_TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMem3DMultisampleEXT( context, targetPacked, samples, internalFormat, width, height, @@ -28809,19 +25365,19 @@ void GL_APIENTRY GL_TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexSubImage2D, + EVENT(context, gl::EntryPoint::TexSubImage2D, "glTexSubImage2D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -28831,8 +25387,8 @@ void GL_APIENTRY GL_TexSubImage2DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, height, format, type, pixels)); @@ -28850,21 +25406,21 @@ void GL_APIENTRY GL_TexSubImage2DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexSubImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexSubImage3D, + EVENT(context, gl::EntryPoint::TexSubImage3D, "glTexSubImage3D", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -28874,8 +25430,8 @@ void GL_APIENTRY GL_TexSubImage3DContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -28894,21 +25450,21 @@ void GL_APIENTRY GL_TexSubImage3DContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels) +void GL_APIENTRY TexSubImage3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexSubImage3DOES, + EVENT(context, gl::EntryPoint::TexSubImage3DOES, "glTexSubImage3DOES", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, xoffset, yoffset, @@ -28918,8 +25474,8 @@ void GL_APIENTRY GL_TexSubImage3DOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3DOES(context, targetPacked, level, xoffset, yoffset, zoffset, @@ -28938,14 +25494,14 @@ void GL_APIENTRY GL_TexSubImage3DOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei count, - const GLchar *const *varyings, - GLenum bufferMode) +void GL_APIENTRY TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode) { Context *context = static_cast(ctx); - EVENT(context, GLTransformFeedbackVaryings, + EVENT(context, gl::EntryPoint::TransformFeedbackVaryings, "glTransformFeedbackVaryings", "context = %d, program = %u, count = %d, varyings = 0x%016" PRIxPTR ", bufferMode = %s", CID(context), program, count, (uintptr_t)varyings, GLenumToString(GLenumGroup::DefaultGroup, bufferMode)); @@ -28953,8 +25509,8 @@ void GL_APIENTRY GL_TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTransformFeedbackVaryings( context, programPacked, count, varyings, bufferMode)); @@ -28971,15 +25527,16 @@ void GL_APIENTRY GL_TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +void GL_APIENTRY TranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) { Context *context = static_cast(ctx); - EVENT(context, GLTranslatef, "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); + EVENT(context, gl::EntryPoint::Translatef, "glTranslatef", + "context = %d, x = %f, y = %f, z = %f", CID(context), x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTranslatef(context, x, y, z)); if (isCallValid) { @@ -28993,16 +25550,16 @@ void GL_APIENTRY GL_TranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat } } -void GL_APIENTRY GL_TranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +void GL_APIENTRY TranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) { Context *context = static_cast(ctx); - EVENT(context, GLTranslatex, "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, - z); + EVENT(context, gl::EntryPoint::Translatex, "glTranslatex", + "context = %d, x = 0x%X, y = 0x%X, z = 0x%X", CID(context), x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTranslatex(context, x, y, z)); if (isCallValid) { @@ -29016,16 +25573,17 @@ void GL_APIENTRY GL_TranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed } } -void GL_APIENTRY GL_Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) +void GL_APIENTRY Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1f, "context = %d, location = %d, v0 = %f", CID(context), location, v0); + EVENT(context, gl::EntryPoint::Uniform1f, "glUniform1f", "context = %d, location = %d, v0 = %f", + CID(context), location, v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1f(context, locationPacked, v0)); if (isCallValid) @@ -29040,21 +25598,21 @@ void GL_APIENTRY GL_Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfl } } -void GL_APIENTRY GL_Uniform1fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY Uniform1fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1fv, + EVENT(context, gl::EntryPoint::Uniform1fv, "glUniform1fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1fv(context, locationPacked, count, value)); if (isCallValid) @@ -29069,16 +25627,17 @@ void GL_APIENTRY GL_Uniform1fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) +void GL_APIENTRY Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1i, "context = %d, location = %d, v0 = %d", CID(context), location, v0); + EVENT(context, gl::EntryPoint::Uniform1i, "glUniform1i", "context = %d, location = %d, v0 = %d", + CID(context), location, v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1i(context, locationPacked, v0)); if (isCallValid) @@ -29093,21 +25652,21 @@ void GL_APIENTRY GL_Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLin } } -void GL_APIENTRY GL_Uniform1ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY Uniform1ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1iv, + EVENT(context, gl::EntryPoint::Uniform1iv, "glUniform1iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1iv(context, locationPacked, count, value)); if (isCallValid) @@ -29122,17 +25681,17 @@ void GL_APIENTRY GL_Uniform1ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) +void GL_APIENTRY Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1ui, "context = %d, location = %d, v0 = %u", CID(context), location, - v0); + EVENT(context, gl::EntryPoint::Uniform1ui, "glUniform1ui", + "context = %d, location = %d, v0 = %u", CID(context), location, v0); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1ui(context, locationPacked, v0)); if (isCallValid) @@ -29147,21 +25706,21 @@ void GL_APIENTRY GL_Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLu } } -void GL_APIENTRY GL_Uniform1uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY Uniform1uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform1uiv, + EVENT(context, gl::EntryPoint::Uniform1uiv, "glUniform1uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform1uiv(context, locationPacked, count, value)); if (isCallValid) @@ -29176,17 +25735,17 @@ void GL_APIENTRY GL_Uniform1uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) +void GL_APIENTRY Uniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2f, "context = %d, location = %d, v0 = %f, v1 = %f", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2f, "glUniform2f", + "context = %d, location = %d, v0 = %f, v1 = %f", CID(context), location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2f(context, locationPacked, v0, v1)); if (isCallValid) @@ -29201,21 +25760,21 @@ void GL_APIENTRY GL_Uniform2fContextANGLE(GLeglContext ctx, GLint location, GLfl } } -void GL_APIENTRY GL_Uniform2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY Uniform2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2fv, + EVENT(context, gl::EntryPoint::Uniform2fv, "glUniform2fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2fv(context, locationPacked, count, value)); if (isCallValid) @@ -29230,17 +25789,17 @@ void GL_APIENTRY GL_Uniform2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) +void GL_APIENTRY Uniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2i, "context = %d, location = %d, v0 = %d, v1 = %d", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2i, "glUniform2i", + "context = %d, location = %d, v0 = %d, v1 = %d", CID(context), location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2i(context, locationPacked, v0, v1)); if (isCallValid) @@ -29255,21 +25814,21 @@ void GL_APIENTRY GL_Uniform2iContextANGLE(GLeglContext ctx, GLint location, GLin } } -void GL_APIENTRY GL_Uniform2ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY Uniform2ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2iv, + EVENT(context, gl::EntryPoint::Uniform2iv, "glUniform2iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2iv(context, locationPacked, count, value)); if (isCallValid) @@ -29284,17 +25843,17 @@ void GL_APIENTRY GL_Uniform2ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) +void GL_APIENTRY Uniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2ui, "context = %d, location = %d, v0 = %u, v1 = %u", CID(context), - location, v0, v1); + EVENT(context, gl::EntryPoint::Uniform2ui, "glUniform2ui", + "context = %d, location = %d, v0 = %u, v1 = %u", CID(context), location, v0, v1); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2ui(context, locationPacked, v0, v1)); if (isCallValid) @@ -29309,21 +25868,21 @@ void GL_APIENTRY GL_Uniform2uiContextANGLE(GLeglContext ctx, GLint location, GLu } } -void GL_APIENTRY GL_Uniform2uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY Uniform2uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform2uiv, + EVENT(context, gl::EntryPoint::Uniform2uiv, "glUniform2uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform2uiv(context, locationPacked, count, value)); if (isCallValid) @@ -29339,17 +25898,18 @@ void GL_APIENTRY GL_Uniform2uivContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3f, "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3f, "glUniform3f", + "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f", CID(context), location, v0, v1, + v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3f(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -29364,21 +25924,21 @@ GL_Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v } } -void GL_APIENTRY GL_Uniform3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY Uniform3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3fv, + EVENT(context, gl::EntryPoint::Uniform3fv, "glUniform3fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3fv(context, locationPacked, count, value)); if (isCallValid) @@ -29394,17 +25954,18 @@ void GL_APIENTRY GL_Uniform3fvContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) +Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3i, "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3i, "glUniform3i", + "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d", CID(context), location, v0, v1, + v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3i(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -29419,21 +25980,21 @@ GL_Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, G } } -void GL_APIENTRY GL_Uniform3ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY Uniform3ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3iv, + EVENT(context, gl::EntryPoint::Uniform3iv, "glUniform3iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3iv(context, locationPacked, count, value)); if (isCallValid) @@ -29449,17 +26010,18 @@ void GL_APIENTRY GL_Uniform3ivContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) +Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3ui, "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u", - CID(context), location, v0, v1, v2); + EVENT(context, gl::EntryPoint::Uniform3ui, "glUniform3ui", + "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u", CID(context), location, v0, v1, + v2); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3ui(context, locationPacked, v0, v1, v2)); if (isCallValid) @@ -29474,21 +26036,21 @@ GL_Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1 } } -void GL_APIENTRY GL_Uniform3uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY Uniform3uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform3uiv, + EVENT(context, gl::EntryPoint::Uniform3uiv, "glUniform3uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform3uiv(context, locationPacked, count, value)); if (isCallValid) @@ -29503,22 +26065,23 @@ void GL_APIENTRY GL_Uniform3uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform4fContextANGLE(GLeglContext ctx, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) +void GL_APIENTRY Uniform4fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4f, "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4f, "glUniform4f", + "context = %d, location = %d, v0 = %f, v1 = %f, v2 = %f, v3 = %f", CID(context), location, + v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4f(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -29533,21 +26096,21 @@ void GL_APIENTRY GL_Uniform4fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value) +void GL_APIENTRY Uniform4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4fv, + EVENT(context, gl::EntryPoint::Uniform4fv, "glUniform4fv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4fv(context, locationPacked, count, value)); if (isCallValid) @@ -29563,17 +26126,18 @@ void GL_APIENTRY GL_Uniform4fvContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4i, "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4i, "glUniform4i", + "context = %d, location = %d, v0 = %d, v1 = %d, v2 = %d, v3 = %d", CID(context), location, + v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4i(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -29588,21 +26152,21 @@ GL_Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, G } } -void GL_APIENTRY GL_Uniform4ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value) +void GL_APIENTRY Uniform4ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4iv, + EVENT(context, gl::EntryPoint::Uniform4iv, "glUniform4iv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4iv(context, locationPacked, count, value)); if (isCallValid) @@ -29617,22 +26181,19 @@ void GL_APIENTRY GL_Uniform4ivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform4uiContextANGLE(GLeglContext ctx, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) +void GL_APIENTRY +Uniform4uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4ui, "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", - CID(context), location, v0, v1, v2, v3); + EVENT(context, gl::EntryPoint::Uniform4ui, "glUniform4ui", + "context = %d, location = %d, v0 = %u, v1 = %u, v2 = %u, v3 = %u", CID(context), location, + v0, v1, v2, v3); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4ui(context, locationPacked, v0, v1, v2, v3)); if (isCallValid) @@ -29647,21 +26208,21 @@ void GL_APIENTRY GL_Uniform4uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_Uniform4uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value) +void GL_APIENTRY Uniform4uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniform4uiv, + EVENT(context, gl::EntryPoint::Uniform4uiv, "glUniform4uiv", "context = %d, location = %d, count = %d, value = 0x%016" PRIxPTR "", CID(context), location, count, (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniform4uiv(context, locationPacked, count, value)); if (isCallValid) @@ -29676,33 +26237,30 @@ void GL_APIENTRY GL_Uniform4uivContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformBlockBindingContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLuint uniformBlockBinding) +void GL_APIENTRY UniformBlockBindingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding) { Context *context = static_cast(ctx); - EVENT(context, GLUniformBlockBinding, + EVENT(context, gl::EntryPoint::UniformBlockBinding, "glUniformBlockBinding", "context = %d, program = %u, uniformBlockIndex = %u, uniformBlockBinding = %u", CID(context), program, uniformBlockIndex, uniformBlockBinding); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateUniformBlockBinding(context, programPacked, uniformBlockIndexPacked, - uniformBlockBinding)); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); + bool isCallValid = (context->skipValidation() || + ValidateUniformBlockBinding(context, programPacked, uniformBlockIndex, + uniformBlockBinding)); if (isCallValid) { - context->uniformBlockBinding(programPacked, uniformBlockIndexPacked, - uniformBlockBinding); + context->uniformBlockBinding(programPacked, uniformBlockIndex, uniformBlockBinding); } - ANGLE_CAPTURE(UniformBlockBinding, isCallValid, context, programPacked, - uniformBlockIndexPacked, uniformBlockBinding); + ANGLE_CAPTURE(UniformBlockBinding, isCallValid, context, programPacked, uniformBlockIndex, + uniformBlockBinding); } else { @@ -29710,22 +26268,22 @@ void GL_APIENTRY GL_UniformBlockBindingContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix2fv, + EVENT(context, gl::EntryPoint::UniformMatrix2fv, "glUniformMatrix2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2fv(context, locationPacked, count, transpose, value)); @@ -29742,22 +26300,22 @@ void GL_APIENTRY GL_UniformMatrix2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix2x3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix2x3fv, + EVENT(context, gl::EntryPoint::UniformMatrix2x3fv, "glUniformMatrix2x3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2x3fv(context, locationPacked, count, transpose, value)); @@ -29774,22 +26332,22 @@ void GL_APIENTRY GL_UniformMatrix2x3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix2x4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix2x4fv, + EVENT(context, gl::EntryPoint::UniformMatrix2x4fv, "glUniformMatrix2x4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix2x4fv(context, locationPacked, count, transpose, value)); @@ -29806,22 +26364,22 @@ void GL_APIENTRY GL_UniformMatrix2x4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix3fv, + EVENT(context, gl::EntryPoint::UniformMatrix3fv, "glUniformMatrix3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3fv(context, locationPacked, count, transpose, value)); @@ -29838,22 +26396,22 @@ void GL_APIENTRY GL_UniformMatrix3fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix3x2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix3x2fv, + EVENT(context, gl::EntryPoint::UniformMatrix3x2fv, "glUniformMatrix3x2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3x2fv(context, locationPacked, count, transpose, value)); @@ -29870,22 +26428,22 @@ void GL_APIENTRY GL_UniformMatrix3x2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix3x4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix3x4fv, + EVENT(context, gl::EntryPoint::UniformMatrix3x4fv, "glUniformMatrix3x4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix3x4fv(context, locationPacked, count, transpose, value)); @@ -29902,22 +26460,22 @@ void GL_APIENTRY GL_UniformMatrix3x4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix4fv, + EVENT(context, gl::EntryPoint::UniformMatrix4fv, "glUniformMatrix4fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4fv(context, locationPacked, count, transpose, value)); @@ -29934,22 +26492,22 @@ void GL_APIENTRY GL_UniformMatrix4fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix4x2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix4x2fv, + EVENT(context, gl::EntryPoint::UniformMatrix4x2fv, "glUniformMatrix4x2fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4x2fv(context, locationPacked, count, transpose, value)); @@ -29966,22 +26524,22 @@ void GL_APIENTRY GL_UniformMatrix4x2fvContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UniformMatrix4x3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) +void GL_APIENTRY UniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) { Context *context = static_cast(ctx); - EVENT(context, GLUniformMatrix4x3fv, + EVENT(context, gl::EntryPoint::UniformMatrix4x3fv, "glUniformMatrix4x3fv", "context = %d, location = %d, count = %d, transpose = %s, value = 0x%016" PRIxPTR "", CID(context), location, count, GLbooleanToString(transpose), (uintptr_t)value); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUniformMatrix4x3fv(context, locationPacked, count, transpose, value)); @@ -29998,18 +26556,18 @@ void GL_APIENTRY GL_UniformMatrix4x3fvContextANGLE(GLeglContext ctx, } } -GLboolean GL_APIENTRY GL_UnmapBufferContextANGLE(GLeglContext ctx, GLenum target) +GLboolean GL_APIENTRY UnmapBufferContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLUnmapBuffer, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::BufferTargetARB, target)); + EVENT(context, gl::EntryPoint::UnmapBuffer, "glUnmapBuffer", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::BufferTargetARB, target)); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUnmapBuffer(context, targetPacked)); if (isCallValid) @@ -30018,30 +26576,30 @@ GLboolean GL_APIENTRY GL_UnmapBufferContextANGLE(GLeglContext ctx, GLenum target } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(UnmapBuffer, isCallValid, context, targetPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -GLboolean GL_APIENTRY GL_UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) +GLboolean GL_APIENTRY UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLUnmapBufferOES, "context = %d, target = %s", CID(context), - GLenumToString(GLenumGroup::DefaultGroup, target)); + EVENT(context, gl::EntryPoint::UnmapBufferOES, "glUnmapBufferOES", "context = %d, target = %s", + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target)); GLboolean returnValue; if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUnmapBufferOES(context, targetPacked)); if (isCallValid) @@ -30050,28 +26608,29 @@ GLboolean GL_APIENTRY GL_UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum tar } else { - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } ANGLE_CAPTURE(UnmapBufferOES, isCallValid, context, targetPacked, returnValue); } else { GenerateContextLostErrorOnContext(context); - returnValue = GetDefaultReturnValue(); + returnValue = GetDefaultReturnValue(); } return returnValue; } -void GL_APIENTRY GL_UseProgramContextANGLE(GLeglContext ctx, GLuint program) +void GL_APIENTRY UseProgramContextANGLE(GLeglContext ctx, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLUseProgram, "context = %d, program = %u", CID(context), program); + EVENT(context, gl::EntryPoint::UseProgram, "glUseProgram", "context = %d, program = %u", + CID(context), program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUseProgram(context, programPacked)); if (isCallValid) @@ -30086,22 +26645,22 @@ void GL_APIENTRY GL_UseProgramContextANGLE(GLeglContext ctx, GLuint program) } } -void GL_APIENTRY GL_UseProgramStagesContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLbitfield stages, - GLuint program) +void GL_APIENTRY UseProgramStagesContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLbitfield stages, + GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLUseProgramStages, "context = %d, pipeline = %u, stages = %s, program = %u", - CID(context), pipeline, + EVENT(context, gl::EntryPoint::UseProgramStages, "glUseProgramStages", + "context = %d, pipeline = %u, stages = %s, program = %u", CID(context), pipeline, GLbitfieldToString(GLenumGroup::UseProgramStageMask, stages).c_str(), program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateUseProgramStages(context, pipelinePacked, stages, programPacked)); @@ -30118,48 +26677,17 @@ void GL_APIENTRY GL_UseProgramStagesContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_UseProgramStagesEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLbitfield stages, - GLuint program) +void GL_APIENTRY ValidateProgramContextANGLE(GLeglContext ctx, GLuint program) { Context *context = static_cast(ctx); - EVENT(context, GLUseProgramStagesEXT, "context = %d, pipeline = %u, stages = %s, program = %u", - CID(context), pipeline, - GLbitfieldToString(GLenumGroup::UseProgramStageMask, stages).c_str(), program); + EVENT(context, gl::EntryPoint::ValidateProgram, "glValidateProgram", + "context = %d, program = %u", CID(context), program); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = - (context->skipValidation() || - ValidateUseProgramStagesEXT(context, pipelinePacked, stages, programPacked)); - if (isCallValid) - { - context->useProgramStages(pipelinePacked, stages, programPacked); - } - ANGLE_CAPTURE(UseProgramStagesEXT, isCallValid, context, pipelinePacked, stages, - programPacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_ValidateProgramContextANGLE(GLeglContext ctx, GLuint program) -{ - Context *context = static_cast(ctx); - EVENT(context, GLValidateProgram, "context = %d, program = %u", CID(context), program); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateValidateProgram(context, programPacked)); if (isCallValid) @@ -30174,17 +26702,17 @@ void GL_APIENTRY GL_ValidateProgramContextANGLE(GLeglContext ctx, GLuint program } } -void GL_APIENTRY GL_ValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +void GL_APIENTRY ValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { Context *context = static_cast(ctx); - EVENT(context, GLValidateProgramPipeline, "context = %d, pipeline = %u", CID(context), - pipeline); + EVENT(context, gl::EntryPoint::ValidateProgramPipeline, "glValidateProgramPipeline", + "context = %d, pipeline = %u", CID(context), pipeline); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); + ProgramPipelineID pipelinePacked = FromGL(pipeline); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateValidateProgramPipeline(context, pipelinePacked)); if (isCallValid) @@ -30199,40 +26727,16 @@ void GL_APIENTRY GL_ValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint } } -void GL_APIENTRY GL_ValidateProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) +void GL_APIENTRY VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) { Context *context = static_cast(ctx); - EVENT(context, GLValidateProgramPipelineEXT, "context = %d, pipeline = %u", CID(context), - pipeline); + EVENT(context, gl::EntryPoint::VertexAttrib1f, "glVertexAttrib1f", + "context = %d, index = %u, x = %f", CID(context), index, x); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProgramPipelineID pipelinePacked = PackParam(pipeline); - std::unique_lock shareContextLock = GetContextLock(context); - bool isCallValid = (context->skipValidation() || - ValidateValidateProgramPipelineEXT(context, pipelinePacked)); - if (isCallValid) - { - context->validateProgramPipeline(pipelinePacked); - } - ANGLE_CAPTURE(ValidateProgramPipelineEXT, isCallValid, context, pipelinePacked); - } - else - { - GenerateContextLostErrorOnContext(context); - } -} - -void GL_APIENTRY GL_VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) -{ - Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib1f, "context = %d, index = %u, x = %f", CID(context), index, x); - - if (context && !context->isContextLost()) - { - ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib1f(context, index, x)); if (isCallValid) { @@ -30246,16 +26750,16 @@ void GL_APIENTRY GL_VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, G } } -void GL_APIENTRY GL_VertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib1fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib1fv, "glVertexAttrib1fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib1fv(context, index, v)); if (isCallValid) @@ -30270,16 +26774,16 @@ void GL_APIENTRY GL_VertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, } } -void GL_APIENTRY GL_VertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) +void GL_APIENTRY VertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib2f, "context = %d, index = %u, x = %f, y = %f", CID(context), - index, x, y); + EVENT(context, gl::EntryPoint::VertexAttrib2f, "glVertexAttrib2f", + "context = %d, index = %u, x = %f, y = %f", CID(context), index, x, y); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib2f(context, index, x, y)); if (isCallValid) @@ -30294,16 +26798,16 @@ void GL_APIENTRY GL_VertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, G } } -void GL_APIENTRY GL_VertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib2fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib2fv, "glVertexAttrib2fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib2fv(context, index, v)); if (isCallValid) @@ -30319,16 +26823,16 @@ void GL_APIENTRY GL_VertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, } void GL_APIENTRY -GL_VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) +VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib3f, "context = %d, index = %u, x = %f, y = %f, z = %f", - CID(context), index, x, y, z); + EVENT(context, gl::EntryPoint::VertexAttrib3f, "glVertexAttrib3f", + "context = %d, index = %u, x = %f, y = %f, z = %f", CID(context), index, x, y, z); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib3f(context, index, x, y, z)); if (isCallValid) @@ -30343,16 +26847,16 @@ GL_VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat } } -void GL_APIENTRY GL_VertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib3fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib3fv, "glVertexAttrib3fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib3fv(context, index, v)); if (isCallValid) @@ -30367,21 +26871,22 @@ void GL_APIENTRY GL_VertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, } } -void GL_APIENTRY GL_VertexAttrib4fContextANGLE(GLeglContext ctx, - GLuint index, - GLfloat x, - GLfloat y, - GLfloat z, - GLfloat w) +void GL_APIENTRY VertexAttrib4fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat w) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib4f, "context = %d, index = %u, x = %f, y = %f, z = %f, w = %f", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttrib4f, "glVertexAttrib4f", + "context = %d, index = %u, x = %f, y = %f, z = %f, w = %f", CID(context), index, x, y, z, + w); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib4f(context, index, x, y, z, w)); if (isCallValid) @@ -30396,16 +26901,16 @@ void GL_APIENTRY GL_VertexAttrib4fContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +void GL_APIENTRY VertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttrib4fv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttrib4fv, "glVertexAttrib4fv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttrib4fv(context, index, v)); if (isCallValid) @@ -30420,18 +26925,19 @@ void GL_APIENTRY GL_VertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, } } -void GL_APIENTRY GL_VertexAttribBindingContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLuint bindingindex) +void GL_APIENTRY VertexAttribBindingContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLuint bindingindex) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribBinding, "context = %d, attribindex = %u, bindingindex = %u", - CID(context), attribindex, bindingindex); + EVENT(context, gl::EntryPoint::VertexAttribBinding, "glVertexAttribBinding", + "context = %d, attribindex = %u, bindingindex = %u", CID(context), attribindex, + bindingindex); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribBinding(context, attribindex, bindingindex)); if (isCallValid) @@ -30446,16 +26952,16 @@ void GL_APIENTRY GL_VertexAttribBindingContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) +void GL_APIENTRY VertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribDivisor, "context = %d, index = %u, divisor = %u", CID(context), - index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisor, "glVertexAttribDivisor", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisor(context, index, divisor)); if (isCallValid) @@ -30470,18 +26976,18 @@ void GL_APIENTRY GL_VertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint ind } } -void GL_APIENTRY GL_VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLuint divisor) +void GL_APIENTRY VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribDivisorANGLE, "context = %d, index = %u, divisor = %u", - CID(context), index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisorANGLE, "glVertexAttribDivisorANGLE", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisorANGLE(context, index, divisor)); if (isCallValid) @@ -30496,18 +27002,16 @@ void GL_APIENTRY GL_VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribDivisorEXTContextANGLE(GLeglContext ctx, - GLuint index, - GLuint divisor) +void GL_APIENTRY VertexAttribDivisorEXTContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribDivisorEXT, "context = %d, index = %u, divisor = %u", CID(context), - index, divisor); + EVENT(context, gl::EntryPoint::VertexAttribDivisorEXT, "glVertexAttribDivisorEXT", + "context = %d, index = %u, divisor = %u", CID(context), index, divisor); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribDivisorEXT(context, index, divisor)); if (isCallValid) @@ -30522,15 +27026,15 @@ void GL_APIENTRY GL_VertexAttribDivisorEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribFormatContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset) +void GL_APIENTRY VertexAttribFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribFormat, + EVENT(context, gl::EntryPoint::VertexAttribFormat, "glVertexAttribFormat", "context = %d, attribindex = %u, size = %d, type = %s, normalized = %s, relativeoffset = " "%u", CID(context), attribindex, size, GLenumToString(GLenumGroup::DefaultGroup, type), @@ -30539,8 +27043,8 @@ void GL_APIENTRY GL_VertexAttribFormatContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribFormat(context, attribindex, size, typePacked, normalized, relativeoffset)); @@ -30558,16 +27062,17 @@ void GL_APIENTRY GL_VertexAttribFormatContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) +VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribI4i, "context = %d, index = %u, x = %d, y = %d, z = %d, w = %d", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttribI4i, "glVertexAttribI4i", + "context = %d, index = %u, x = %d, y = %d, z = %d, w = %d", CID(context), index, x, y, z, + w); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4i(context, index, x, y, z, w)); if (isCallValid) @@ -30582,16 +27087,16 @@ GL_VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, } } -void GL_APIENTRY GL_VertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) +void GL_APIENTRY VertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribI4iv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttribI4iv, "glVertexAttribI4iv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4iv(context, index, v)); if (isCallValid) @@ -30606,21 +27111,18 @@ void GL_APIENTRY GL_VertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, } } -void GL_APIENTRY GL_VertexAttribI4uiContextANGLE(GLeglContext ctx, - GLuint index, - GLuint x, - GLuint y, - GLuint z, - GLuint w) +void GL_APIENTRY +VertexAttribI4uiContextANGLE(GLeglContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribI4ui, "context = %d, index = %u, x = %u, y = %u, z = %u, w = %u", - CID(context), index, x, y, z, w); + EVENT(context, gl::EntryPoint::VertexAttribI4ui, "glVertexAttribI4ui", + "context = %d, index = %u, x = %u, y = %u, z = %u, w = %u", CID(context), index, x, y, z, + w); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4ui(context, index, x, y, z, w)); if (isCallValid) @@ -30635,16 +27137,16 @@ void GL_APIENTRY GL_VertexAttribI4uiContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) +void GL_APIENTRY VertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribI4uiv, "context = %d, index = %u, v = 0x%016" PRIxPTR "", - CID(context), index, (uintptr_t)v); + EVENT(context, gl::EntryPoint::VertexAttribI4uiv, "glVertexAttribI4uiv", + "context = %d, index = %u, v = 0x%016" PRIxPTR "", CID(context), index, (uintptr_t)v); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribI4uiv(context, index, v)); if (isCallValid) @@ -30659,22 +27161,22 @@ void GL_APIENTRY GL_VertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index } } -void GL_APIENTRY GL_VertexAttribIFormatContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset) +void GL_APIENTRY VertexAttribIFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribIFormat, + EVENT(context, gl::EntryPoint::VertexAttribIFormat, "glVertexAttribIFormat", "context = %d, attribindex = %u, size = %d, type = %s, relativeoffset = %u", CID(context), attribindex, size, GLenumToString(GLenumGroup::DefaultGroup, type), relativeoffset); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribIFormat(context, attribindex, size, typePacked, relativeoffset)); @@ -30691,15 +27193,15 @@ void GL_APIENTRY GL_VertexAttribIFormatContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribIPointerContextANGLE(GLeglContext ctx, - GLuint index, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY VertexAttribIPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribIPointer, + EVENT(context, gl::EntryPoint::VertexAttribIPointer, "glVertexAttribIPointer", "context = %d, index = %u, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), index, size, GLenumToString(GLenumGroup::VertexAttribPointerType, type), @@ -30708,8 +27210,8 @@ void GL_APIENTRY GL_VertexAttribIPointerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribIPointer(context, index, size, typePacked, stride, pointer)); @@ -30726,16 +27228,16 @@ void GL_APIENTRY GL_VertexAttribIPointerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexAttribPointerContextANGLE(GLeglContext ctx, - GLuint index, - GLint size, - GLenum type, - GLboolean normalized, - GLsizei stride, - const void *pointer) +void GL_APIENTRY VertexAttribPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLVertexAttribPointer, + EVENT(context, gl::EntryPoint::VertexAttribPointer, "glVertexAttribPointer", "context = %d, index = %u, size = %d, type = %s, normalized = %s, stride = %d, pointer = " "0x%016" PRIxPTR "", CID(context), index, size, GLenumToString(GLenumGroup::VertexAttribPointerType, type), @@ -30744,8 +27246,8 @@ void GL_APIENTRY GL_VertexAttribPointerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexAttribPointer(context, index, size, typePacked, normalized, stride, pointer)); @@ -30762,18 +27264,18 @@ void GL_APIENTRY GL_VertexAttribPointerContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexBindingDivisorContextANGLE(GLeglContext ctx, - GLuint bindingindex, - GLuint divisor) +void GL_APIENTRY VertexBindingDivisorContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint divisor) { Context *context = static_cast(ctx); - EVENT(context, GLVertexBindingDivisor, "context = %d, bindingindex = %u, divisor = %u", - CID(context), bindingindex, divisor); + EVENT(context, gl::EntryPoint::VertexBindingDivisor, "glVertexBindingDivisor", + "context = %d, bindingindex = %u, divisor = %u", CID(context), bindingindex, divisor); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexBindingDivisor(context, bindingindex, divisor)); if (isCallValid) @@ -30788,14 +27290,14 @@ void GL_APIENTRY GL_VertexBindingDivisorContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_VertexPointerContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY VertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLVertexPointer, + EVENT(context, gl::EntryPoint::VertexPointer, "glVertexPointer", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::VertexPointerType, type), stride, (uintptr_t)pointer); @@ -30803,8 +27305,8 @@ void GL_APIENTRY GL_VertexPointerContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - VertexAttribType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + VertexAttribType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateVertexPointer(context, size, typePacked, stride, pointer)); if (isCallValid) @@ -30820,16 +27322,17 @@ void GL_APIENTRY GL_VertexPointerContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) { Context *context = static_cast(ctx); - EVENT(context, GLViewport, "context = %d, x = %d, y = %d, width = %d, height = %d", - CID(context), x, y, width, height); + EVENT(context, gl::EntryPoint::Viewport, "glViewport", + "context = %d, x = %d, y = %d, width = %d, height = %d", CID(context), x, y, width, + height); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateViewport(context, x, y, width, height)); if (isCallValid) @@ -30844,16 +27347,16 @@ GL_ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsiz } } -void GL_APIENTRY GL_WaitSemaphoreEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *srcLayouts) +void GL_APIENTRY WaitSemaphoreEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *srcLayouts) { Context *context = static_cast(ctx); - EVENT(context, GLWaitSemaphoreEXT, + EVENT(context, gl::EntryPoint::WaitSemaphoreEXT, "glWaitSemaphoreEXT", "context = %d, semaphore = %u, numBufferBarriers = %u, buffers = 0x%016" PRIxPTR ", numTextureBarriers = %u, textures = 0x%016" PRIxPTR ", srcLayouts = 0x%016" PRIxPTR "", CID(context), semaphore, numBufferBarriers, (uintptr_t)buffers, numTextureBarriers, @@ -30862,10 +27365,10 @@ void GL_APIENTRY GL_WaitSemaphoreEXTContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - const BufferID *buffersPacked = PackParam(buffers); - const TextureID *texturesPacked = PackParam(textures); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + const BufferID *buffersPacked = FromGL(buffers); + const TextureID *texturesPacked = FromGL(textures); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWaitSemaphoreEXT(context, semaphorePacked, numBufferBarriers, buffersPacked, @@ -30884,21 +27387,21 @@ void GL_APIENTRY GL_WaitSemaphoreEXTContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_WaitSyncContextANGLE(GLeglContext ctx, - GLsync sync, - GLbitfield flags, - GLuint64 timeout) +void GL_APIENTRY WaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) { Context *context = static_cast(ctx); - EVENT(context, GLWaitSync, "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", - CID(context), (uintptr_t)sync, - GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str(), + EVENT(context, gl::EntryPoint::WaitSync, "glWaitSync", + "context = %d, sync = 0x%016" PRIxPTR ", flags = %s, timeout = %llu", CID(context), + (uintptr_t)sync, GLbitfieldToString(GLenumGroup::DefaultGroup, flags).c_str(), static_cast(timeout)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWaitSync(context, sync, flags, timeout)); if (isCallValid) @@ -30913,14 +27416,14 @@ void GL_APIENTRY GL_WaitSyncContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_WeightPointerOESContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer) +void GL_APIENTRY WeightPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) { Context *context = static_cast(ctx); - EVENT(context, GLWeightPointerOES, + EVENT(context, gl::EntryPoint::WeightPointerOES, "glWeightPointerOES", "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), size, GLenumToString(GLenumGroup::DefaultGroup, type), stride, (uintptr_t)pointer); @@ -30928,7 +27431,7 @@ void GL_APIENTRY GL_WeightPointerOESContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateWeightPointerOES(context, size, type, stride, pointer)); if (isCallValid) @@ -30943,22 +27446,22 @@ void GL_APIENTRY GL_WeightPointerOESContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - const GLchar *name) +void GL_APIENTRY BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLBindUniformLocationCHROMIUM, + EVENT(context, gl::EntryPoint::BindUniformLocationCHROMIUM, "glBindUniformLocationCHROMIUM", "context = %d, program = %u, location = %d, name = 0x%016" PRIxPTR "", CID(context), program, location, (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateBindUniformLocationCHROMIUM(context, programPacked, locationPacked, name)); @@ -30975,16 +27478,17 @@ void GL_APIENTRY GL_BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) +void GL_APIENTRY CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) { Context *context = static_cast(ctx); - EVENT(context, GLCoverageModulationCHROMIUM, "context = %d, components = %s", CID(context), + EVENT(context, gl::EntryPoint::CoverageModulationCHROMIUM, "glCoverageModulationCHROMIUM", + "context = %d, components = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, components)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCoverageModulationCHROMIUM(context, components)); if (isCallValid) @@ -30999,20 +27503,20 @@ void GL_APIENTRY GL_CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLe } } -void GL_APIENTRY GL_CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint internalFormat, - GLenum destType, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTextureCHROMIUM, + EVENT(context, gl::EntryPoint::CopyTextureCHROMIUM, "glCopyTextureCHROMIUM", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, internalFormat = %d, destType = %s, unpackFlipY = %s, unpackPremultiplyAlpha = " "%s, unpackUnmultiplyAlpha = %s", @@ -31024,10 +27528,10 @@ void GL_APIENTRY GL_CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTextureCHROMIUM( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -31049,24 +27553,24 @@ void GL_APIENTRY GL_CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLint width, - GLint height, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLCopySubTextureCHROMIUM, + EVENT(context, gl::EntryPoint::CopySubTextureCHROMIUM, "glCopySubTextureCHROMIUM", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, xoffset = %d, yoffset = %d, x = %d, y = %d, width = %d, height = %d, unpackFlipY " "= %s, unpackPremultiplyAlpha = %s, unpackUnmultiplyAlpha = %s", @@ -31078,10 +27582,10 @@ void GL_APIENTRY GL_CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopySubTextureCHROMIUM( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -31103,20 +27607,20 @@ void GL_APIENTRY GL_CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLuint destId) +void GL_APIENTRY CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLuint destId) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedCopyTextureCHROMIUM, "context = %d, sourceId = %u, destId = %u", - CID(context), sourceId, destId); + EVENT(context, gl::EntryPoint::CompressedCopyTextureCHROMIUM, "glCompressedCopyTextureCHROMIUM", + "context = %d, sourceId = %u, destId = %u", CID(context), sourceId, destId); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID sourceIdPacked = PackParam(sourceId); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedCopyTextureCHROMIUM(context, sourceIdPacked, destIdPacked)); @@ -31133,16 +27637,16 @@ void GL_APIENTRY GL_CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_RequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) +void GL_APIENTRY RequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLRequestExtensionANGLE, "context = %d, name = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)name); + EVENT(context, gl::EntryPoint::RequestExtensionANGLE, "glRequestExtensionANGLE", + "context = %d, name = 0x%016" PRIxPTR "", CID(context), (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateRequestExtensionANGLE(context, name)); if (isCallValid) @@ -31157,16 +27661,16 @@ void GL_APIENTRY GL_RequestExtensionANGLEContextANGLE(GLeglContext ctx, const GL } } -void GL_APIENTRY GL_DisableExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) +void GL_APIENTRY DisableExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) { Context *context = static_cast(ctx); - EVENT(context, GLDisableExtensionANGLE, "context = %d, name = 0x%016" PRIxPTR "", CID(context), - (uintptr_t)name); + EVENT(context, gl::EntryPoint::DisableExtensionANGLE, "glDisableExtensionANGLE", + "context = %d, name = 0x%016" PRIxPTR "", CID(context), (uintptr_t)name); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDisableExtensionANGLE(context, name)); if (isCallValid) @@ -31181,14 +27685,14 @@ void GL_APIENTRY GL_DisableExtensionANGLEContextANGLE(GLeglContext ctx, const GL } } -void GL_APIENTRY GL_GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLboolean *params) +void GL_APIENTRY GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBooleanvRobustANGLE, + EVENT(context, gl::EntryPoint::GetBooleanvRobustANGLE, "glGetBooleanvRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31197,7 +27701,7 @@ void GL_APIENTRY GL_GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleanvRobustANGLE(context, pname, bufSize, length, params)); @@ -31213,15 +27717,16 @@ void GL_APIENTRY GL_GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferParameterivRobustANGLE, + "glGetBufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -31231,8 +27736,8 @@ void GL_APIENTRY GL_GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameterivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -31249,14 +27754,14 @@ void GL_APIENTRY GL_GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFloatvRobustANGLE, + EVENT(context, gl::EntryPoint::GetFloatvRobustANGLE, "glGetFloatvRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31265,7 +27770,7 @@ void GL_APIENTRY GL_GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFloatvRobustANGLE(context, pname, bufSize, length, params)); if (isCallValid) @@ -31280,16 +27785,17 @@ void GL_APIENTRY GL_GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFramebufferAttachmentParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetFramebufferAttachmentParameterivRobustANGLE, + "glGetFramebufferAttachmentParameterivRobustANGLE", "context = %d, target = %s, attachment = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -31300,7 +27806,7 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(G if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferAttachmentParameterivRobustANGLE( context, target, attachment, pname, bufSize, length, params)); @@ -31318,14 +27824,14 @@ void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(G } } -void GL_APIENTRY GL_GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *data) +void GL_APIENTRY GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetIntegervRobustANGLE, + EVENT(context, gl::EntryPoint::GetIntegervRobustANGLE, "glGetIntegervRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31334,7 +27840,7 @@ void GL_APIENTRY GL_GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegervRobustANGLE(context, pname, bufSize, length, data)); if (isCallValid) @@ -31349,15 +27855,15 @@ void GL_APIENTRY GL_GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramivRobustANGLE, + EVENT(context, gl::EntryPoint::GetProgramivRobustANGLE, "glGetProgramivRobustANGLE", "context = %d, program = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31366,8 +27872,8 @@ void GL_APIENTRY GL_GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, if (context) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramivRobustANGLE(context, programPacked, pname, bufSize, length, params)); @@ -31382,15 +27888,16 @@ void GL_APIENTRY GL_GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetRenderbufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetRenderbufferParameterivRobustANGLE, + "glGetRenderbufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -31400,7 +27907,7 @@ void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglConte if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferParameterivRobustANGLE( context, target, pname, bufSize, length, params)); @@ -31417,15 +27924,15 @@ void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglConte } } -void GL_APIENTRY GL_GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint shader, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetShaderivRobustANGLE, + EVENT(context, gl::EntryPoint::GetShaderivRobustANGLE, "glGetShaderivRobustANGLE", "context = %d, shader = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), shader, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31434,8 +27941,8 @@ void GL_APIENTRY GL_GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, if (context) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID shaderPacked = PackParam(shader); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID shaderPacked = FromGL(shader); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetShaderivRobustANGLE(context, shaderPacked, pname, bufSize, length, params)); @@ -31450,15 +27957,15 @@ void GL_APIENTRY GL_GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterfvRobustANGLE, "glGetTexParameterfvRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -31468,8 +27975,8 @@ void GL_APIENTRY GL_GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterfvRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -31486,15 +27993,15 @@ void GL_APIENTRY GL_GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterivRobustANGLE, "glGetTexParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -31504,8 +28011,8 @@ void GL_APIENTRY GL_GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -31522,15 +28029,15 @@ void GL_APIENTRY GL_GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformfvRobustANGLE, "glGetUniformfvRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -31538,9 +28045,9 @@ void GL_APIENTRY GL_GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformfvRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -31557,15 +28064,15 @@ void GL_APIENTRY GL_GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformivRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformivRobustANGLE, "glGetUniformivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -31573,9 +28080,9 @@ void GL_APIENTRY GL_GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -31592,15 +28099,15 @@ void GL_APIENTRY GL_GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribfvRobustANGLE, "glGetVertexAttribfvRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31609,7 +28116,7 @@ void GL_APIENTRY GL_GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribfvRobustANGLE(context, index, pname, bufSize, length, params)); @@ -31626,15 +28133,15 @@ void GL_APIENTRY GL_GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribivRobustANGLE, "glGetVertexAttribivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31643,7 +28150,7 @@ void GL_APIENTRY GL_GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribivRobustANGLE(context, index, pname, bufSize, length, params)); @@ -31660,15 +28167,16 @@ void GL_APIENTRY GL_GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **pointer) +void GL_APIENTRY GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribPointervRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribPointervRobustANGLE, + "glGetVertexAttribPointervRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", pointer = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -31677,7 +28185,7 @@ void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribPointervRobustANGLE( context, index, pname, bufSize, length, pointer)); @@ -31694,21 +28202,21 @@ void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *pixels) +void GL_APIENTRY ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLReadPixelsRobustANGLE, + EVENT(context, gl::EntryPoint::ReadPixelsRobustANGLE, "glReadPixelsRobustANGLE", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, length = 0x%016" PRIxPTR ", columns = 0x%016" PRIxPTR ", rows = 0x%016" PRIxPTR ", pixels = 0x%016" PRIxPTR "", @@ -31719,7 +28227,7 @@ void GL_APIENTRY GL_ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, @@ -31738,20 +28246,20 @@ void GL_APIENTRY GL_ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::TexImage2DRobustANGLE, "glTexImage2DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, internalformat, @@ -31761,8 +28269,8 @@ void GL_APIENTRY GL_TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2DRobustANGLE(context, targetPacked, level, internalformat, width, @@ -31781,14 +28289,14 @@ void GL_APIENTRY GL_TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLfloat *params) +void GL_APIENTRY TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterfvRobustANGLE, "glTexParameterfvRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); @@ -31796,8 +28304,8 @@ void GL_APIENTRY GL_TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterfvRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -31814,14 +28322,14 @@ void GL_APIENTRY GL_TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params) +void GL_APIENTRY TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterivRobustANGLE, "glTexParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); @@ -31829,8 +28337,8 @@ void GL_APIENTRY GL_TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -31847,20 +28355,20 @@ void GL_APIENTRY GL_TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexSubImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::TexSubImage2DRobustANGLE, "glTexSubImage2DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -31870,8 +28378,8 @@ void GL_APIENTRY GL_TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage2DRobustANGLE(context, targetPacked, level, xoffset, yoffset, width, @@ -31890,21 +28398,21 @@ void GL_APIENTRY GL_TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::TexImage3DRobustANGLE, "glTexImage3DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "depth = %d, border = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", @@ -31915,8 +28423,8 @@ void GL_APIENTRY GL_TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage3DRobustANGLE(context, targetPacked, level, internalformat, width, @@ -31935,23 +28443,23 @@ void GL_APIENTRY GL_TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels) +void GL_APIENTRY TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) { Context *context = static_cast(ctx); EVENT( - context, GLTexSubImage3DRobustANGLE, + context, gl::EntryPoint::TexSubImage3DRobustANGLE, "glTexSubImage3DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width = " "%d, height = %d, depth = %d, format = %s, type = %s, bufSize = %d, pixels = 0x%016" PRIxPTR "", @@ -31962,8 +28470,8 @@ void GL_APIENTRY GL_TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexSubImage3DRobustANGLE(context, targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, @@ -31982,19 +28490,20 @@ void GL_APIENTRY GL_TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexImage2DRobustANGLE, + "glCompressedTexImage2DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "border = %d, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -32004,8 +28513,8 @@ void GL_APIENTRY GL_CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage2DRobustANGLE( context, targetPacked, level, internalformat, width, @@ -32024,20 +28533,21 @@ void GL_APIENTRY GL_CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLsizei xoffset, - GLsizei yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexSubImage2DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexSubImage2DRobustANGLE, + "glCompressedTexSubImage2DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, width = %d, height = " "%d, format = %s, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, xoffset, yoffset, @@ -32047,8 +28557,8 @@ void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage2DRobustANGLE( context, targetPacked, level, xoffset, yoffset, width, @@ -32067,20 +28577,21 @@ void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexImage3DRobustANGLE, + "glCompressedTexImage3DRobustANGLE", "context = %d, target = %s, level = %d, internalformat = %s, width = %d, height = %d, " "depth = %d, border = %d, imageSize = %d, dataSize = %d, data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -32090,8 +28601,8 @@ void GL_APIENTRY GL_CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexImage3DRobustANGLE( context, targetPacked, level, internalformat, width, @@ -32110,22 +28621,23 @@ void GL_APIENTRY GL_CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data) +void GL_APIENTRY CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) { Context *context = static_cast(ctx); - EVENT(context, GLCompressedTexSubImage3DRobustANGLE, + EVENT(context, gl::EntryPoint::CompressedTexSubImage3DRobustANGLE, + "glCompressedTexSubImage3DRobustANGLE", "context = %d, target = %s, level = %d, xoffset = %d, yoffset = %d, zoffset = %d, width " "= %d, height = %d, depth = %d, format = %s, imageSize = %d, dataSize = %d, data = " "0x%016" PRIxPTR "", @@ -32136,8 +28648,8 @@ void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCompressedTexSubImage3DRobustANGLE( context, targetPacked, level, xoffset, yoffset, zoffset, width, @@ -32158,15 +28670,15 @@ void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryivRobustANGLE, "glGetQueryivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -32176,8 +28688,8 @@ void GL_APIENTRY GL_GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + QueryType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -32194,15 +28706,15 @@ void GL_APIENTRY GL_GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectuivRobustANGLE, "glGetQueryObjectuivRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32211,8 +28723,8 @@ void GL_APIENTRY GL_GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectuivRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -32229,15 +28741,15 @@ void GL_APIENTRY GL_GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params) +void GL_APIENTRY GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferPointervRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferPointervRobustANGLE, "glGetBufferPointervRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -32247,8 +28759,8 @@ void GL_APIENTRY GL_GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferPointervRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -32265,15 +28777,15 @@ void GL_APIENTRY GL_GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *data) +void GL_APIENTRY GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetIntegeri_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetIntegeri_vRobustANGLE, "glGetIntegeri_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -32282,7 +28794,7 @@ void GL_APIENTRY GL_GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetIntegeri_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -32299,16 +28811,17 @@ void GL_APIENTRY GL_GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetInternalformativRobustANGLE, + EVENT(context, gl::EntryPoint::GetInternalformativRobustANGLE, + "glGetInternalformativRobustANGLE", "context = %d, target = %s, internalformat = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -32319,7 +28832,7 @@ void GL_APIENTRY GL_GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInternalformativRobustANGLE(context, target, internalformat, pname, bufSize, length, params)); @@ -32337,15 +28850,15 @@ void GL_APIENTRY GL_GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribIivRobustANGLE, "glGetVertexAttribIivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32354,7 +28867,7 @@ void GL_APIENTRY GL_GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIivRobustANGLE(context, index, pname, bufSize, length, params)); @@ -32371,15 +28884,16 @@ void GL_APIENTRY GL_GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetVertexAttribIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetVertexAttribIuivRobustANGLE, + "glGetVertexAttribIuivRobustANGLE", "context = %d, index = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), index, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32388,7 +28902,7 @@ void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetVertexAttribIuivRobustANGLE( context, index, pname, bufSize, length, params)); @@ -32405,15 +28919,15 @@ void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetUniformuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetUniformuivRobustANGLE, "glGetUniformuivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -32421,9 +28935,9 @@ void GL_APIENTRY GL_GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetUniformuivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -32440,16 +28954,17 @@ void GL_APIENTRY GL_GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetActiveUniformBlockivRobustANGLE, + EVENT(context, gl::EntryPoint::GetActiveUniformBlockivRobustANGLE, + "glGetActiveUniformBlockivRobustANGLE", "context = %d, program = %u, uniformBlockIndex = %u, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, uniformBlockIndex, @@ -32459,20 +28974,19 @@ void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformBlockIndex uniformBlockIndexPacked = PackParam(uniformBlockIndex); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || - ValidateGetActiveUniformBlockivRobustANGLE( - context, programPacked, uniformBlockIndexPacked, pname, bufSize, length, params)); + ValidateGetActiveUniformBlockivRobustANGLE(context, programPacked, uniformBlockIndex, + pname, bufSize, length, params)); if (isCallValid) { - context->getActiveUniformBlockivRobust(programPacked, uniformBlockIndexPacked, pname, - bufSize, length, params); + context->getActiveUniformBlockivRobust(programPacked, uniformBlockIndex, pname, bufSize, + length, params); } ANGLE_CAPTURE(GetActiveUniformBlockivRobustANGLE, isCallValid, context, programPacked, - uniformBlockIndexPacked, pname, bufSize, length, params); + uniformBlockIndex, pname, bufSize, length, params); } else { @@ -32480,14 +28994,14 @@ void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *data) +void GL_APIENTRY GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetInteger64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetInteger64vRobustANGLE, "glGetInteger64vRobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32496,7 +29010,7 @@ void GL_APIENTRY GL_GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64vRobustANGLE(context, pname, bufSize, length, data)); @@ -32512,15 +29026,15 @@ void GL_APIENTRY GL_GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint64 *data) +void GL_APIENTRY GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetInteger64i_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetInteger64i_vRobustANGLE, "glGetInteger64i_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -32529,7 +29043,7 @@ void GL_APIENTRY GL_GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetInteger64i_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -32546,15 +29060,16 @@ void GL_APIENTRY GL_GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params) +void GL_APIENTRY GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetBufferParameteri64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetBufferParameteri64vRobustANGLE, + "glGetBufferParameteri64vRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -32564,8 +29079,8 @@ void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - BufferBinding targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + BufferBinding targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBufferParameteri64vRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -32582,22 +29097,22 @@ void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLuint pname, - GLsizei bufSize, - const GLint *param) +void GL_APIENTRY SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterivRobustANGLE, "glSamplerParameterivRobustANGLE", "context = %d, sampler = %u, pname = %u, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, pname, bufSize, (uintptr_t)param); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterivRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -32614,14 +29129,14 @@ void GL_APIENTRY GL_SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLfloat *param) +void GL_APIENTRY SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterfvRobustANGLE, "glSamplerParameterfvRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); @@ -32629,8 +29144,8 @@ void GL_APIENTRY GL_SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterfvRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -32647,15 +29162,16 @@ void GL_APIENTRY GL_SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterivRobustANGLE, + "glGetSamplerParameterivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32664,8 +29180,8 @@ void GL_APIENTRY GL_GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ct if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterivRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -32682,15 +29198,16 @@ void GL_APIENTRY GL_GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ct } } -void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterfvRobustANGLE, + "glGetSamplerParameterfvRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32699,8 +29216,8 @@ void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ct if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterfvRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -32717,15 +29234,16 @@ void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ct } } -void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetFramebufferParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetFramebufferParameterivRobustANGLE, + "glGetFramebufferParameterivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -32735,7 +29253,7 @@ void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContex if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetFramebufferParameterivRobustANGLE( context, target, pname, bufSize, length, params)); @@ -32752,16 +29270,17 @@ void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContex } } -void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetProgramInterfaceivRobustANGLE, + EVENT(context, gl::EntryPoint::GetProgramInterfaceivRobustANGLE, + "glGetProgramInterfaceivRobustANGLE", "context = %d, program = %u, programInterface = %s, pname = %s, bufSize = %d, length = " "0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, GLenumToString(GLenumGroup::DefaultGroup, programInterface), @@ -32771,8 +29290,8 @@ void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ct if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetProgramInterfaceivRobustANGLE(context, programPacked, programInterface, @@ -32791,15 +29310,15 @@ void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ct } } -void GL_APIENTRY GL_GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLboolean *data) +void GL_APIENTRY GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data) { Context *context = static_cast(ctx); - EVENT(context, GLGetBooleani_vRobustANGLE, + EVENT(context, gl::EntryPoint::GetBooleani_vRobustANGLE, "glGetBooleani_vRobustANGLE", "context = %d, target = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), index, bufSize, @@ -32808,7 +29327,7 @@ void GL_APIENTRY GL_GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetBooleani_vRobustANGLE(context, target, index, bufSize, length, data)); @@ -32825,15 +29344,15 @@ void GL_APIENTRY GL_GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLfloat *val) +void GL_APIENTRY GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val) { Context *context = static_cast(ctx); - EVENT(context, GLGetMultisamplefvRobustANGLE, + EVENT(context, gl::EntryPoint::GetMultisamplefvRobustANGLE, "glGetMultisamplefvRobustANGLE", "context = %d, pname = %s, index = %u, bufSize = %d, length = 0x%016" PRIxPTR ", val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, bufSize, @@ -32842,7 +29361,7 @@ void GL_APIENTRY GL_GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefvRobustANGLE(context, pname, index, bufSize, length, val)); @@ -32859,16 +29378,17 @@ void GL_APIENTRY GL_GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameterivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterivRobustANGLE, + "glGetTexLevelParameterivRobustANGLE", "context = %d, target = %s, level = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -32878,8 +29398,8 @@ void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterivRobustANGLE( context, targetPacked, level, pname, bufSize, length, params)); @@ -32897,16 +29417,17 @@ void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameterfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfvRobustANGLE, + "glGetTexLevelParameterfvRobustANGLE", "context = %d, target = %s, level = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, @@ -32916,8 +29437,8 @@ void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfvRobustANGLE( context, targetPacked, level, pname, bufSize, length, params)); @@ -32935,14 +29456,15 @@ void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params) +void GL_APIENTRY GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) { Context *context = static_cast(ctx); - EVENT(context, GLGetPointervRobustANGLERobustANGLE, + EVENT(context, gl::EntryPoint::GetPointervRobustANGLERobustANGLE, + "glGetPointervRobustANGLERobustANGLE", "context = %d, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -32951,7 +29473,7 @@ void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetPointervRobustANGLERobustANGLE(context, pname, bufSize, length, params)); @@ -32968,21 +29490,21 @@ void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *data) +void GL_APIENTRY ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data) { Context *context = static_cast(ctx); - EVENT(context, GLReadnPixelsRobustANGLE, + EVENT(context, gl::EntryPoint::ReadnPixelsRobustANGLE, "glReadnPixelsRobustANGLE", "context = %d, x = %d, y = %d, width = %d, height = %d, format = %s, type = %s, bufSize " "= %d, length = 0x%016" PRIxPTR ", columns = 0x%016" PRIxPTR ", rows = 0x%016" PRIxPTR ", data = 0x%016" PRIxPTR "", @@ -32993,7 +29515,7 @@ void GL_APIENTRY GL_ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateReadnPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, @@ -33012,15 +29534,15 @@ void GL_APIENTRY GL_ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params) +void GL_APIENTRY GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformfvRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformfvRobustANGLE, "glGetnUniformfvRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -33028,9 +29550,9 @@ void GL_APIENTRY GL_GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformfvRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -33047,15 +29569,15 @@ void GL_APIENTRY GL_GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformivRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformivRobustANGLE, "glGetnUniformivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -33063,9 +29585,9 @@ void GL_APIENTRY GL_GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformivRobustANGLE(context, programPacked, locationPacked, bufSize, length, params)); @@ -33082,15 +29604,15 @@ void GL_APIENTRY GL_GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetnUniformuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetnUniformuivRobustANGLE, "glGetnUniformuivRobustANGLE", "context = %d, program = %u, location = %d, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), program, location, bufSize, (uintptr_t)length, (uintptr_t)params); @@ -33098,9 +29620,9 @@ void GL_APIENTRY GL_GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ShaderProgramID programPacked = PackParam(program); - UniformLocation locationPacked = PackParam(location); - std::unique_lock shareContextLock = GetContextLock(context); + ShaderProgramID programPacked = FromGL(program); + UniformLocation locationPacked = FromGL(location); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetnUniformuivRobustANGLE( context, programPacked, locationPacked, bufSize, length, params)); @@ -33117,14 +29639,14 @@ void GL_APIENTRY GL_GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params) +void GL_APIENTRY TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterIivRobustANGLE, "glTexParameterIivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); @@ -33132,8 +29654,8 @@ void GL_APIENTRY GL_TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -33150,14 +29672,14 @@ void GL_APIENTRY GL_TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLuint *params) +void GL_APIENTRY TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLTexParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::TexParameterIuivRobustANGLE, "glTexParameterIuivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)params); @@ -33165,8 +29687,8 @@ void GL_APIENTRY GL_TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexParameterIuivRobustANGLE(context, targetPacked, pname, bufSize, params)); @@ -33183,15 +29705,15 @@ void GL_APIENTRY GL_TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterIivRobustANGLE, "glGetTexParameterIivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -33201,8 +29723,8 @@ void GL_APIENTRY GL_GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -33219,15 +29741,16 @@ void GL_APIENTRY GL_GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetTexParameterIuivRobustANGLE, + "glGetTexParameterIuivRobustANGLE", "context = %d, target = %s, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), @@ -33237,8 +29760,8 @@ void GL_APIENTRY GL_GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexParameterIuivRobustANGLE(context, targetPacked, pname, bufSize, length, params)); @@ -33255,14 +29778,15 @@ void GL_APIENTRY GL_GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLint *param) +void GL_APIENTRY SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterIivRobustANGLE, + "glSamplerParameterIivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); @@ -33270,8 +29794,8 @@ void GL_APIENTRY GL_SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIivRobustANGLE(context, samplerPacked, pname, bufSize, param)); @@ -33288,14 +29812,15 @@ void GL_APIENTRY GL_SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLuint *param) +void GL_APIENTRY SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param) { Context *context = static_cast(ctx); - EVENT(context, GLSamplerParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::SamplerParameterIuivRobustANGLE, + "glSamplerParameterIuivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, param = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, (uintptr_t)param); @@ -33303,8 +29828,8 @@ void GL_APIENTRY GL_SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSamplerParameterIuivRobustANGLE( context, samplerPacked, pname, bufSize, param)); @@ -33321,15 +29846,16 @@ void GL_APIENTRY GL_SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterIivRobustANGLE, + "glGetSamplerParameterIivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -33338,8 +29864,8 @@ void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext c if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIivRobustANGLE(context, samplerPacked, pname, bufSize, length, params)); @@ -33356,15 +29882,16 @@ void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext c } } -void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params) +void GL_APIENTRY GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetSamplerParameterIuivRobustANGLE, + EVENT(context, gl::EntryPoint::GetSamplerParameterIuivRobustANGLE, + "glGetSamplerParameterIuivRobustANGLE", "context = %d, sampler = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), sampler, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -33373,8 +29900,8 @@ void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SamplerID samplerPacked = PackParam(sampler); - std::unique_lock shareContextLock = GetContextLock(context); + SamplerID samplerPacked = FromGL(sampler); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetSamplerParameterIuivRobustANGLE( context, samplerPacked, pname, bufSize, length, params)); @@ -33391,15 +29918,15 @@ void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext } } -void GL_APIENTRY GL_GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params) +void GL_APIENTRY GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectivRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectivRobustANGLE, "glGetQueryObjectivRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -33408,8 +29935,8 @@ void GL_APIENTRY GL_GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, if (context) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectivRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -33424,15 +29951,15 @@ void GL_APIENTRY GL_GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params) +void GL_APIENTRY GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjecti64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjecti64vRobustANGLE, "glGetQueryObjecti64vRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -33441,8 +29968,8 @@ void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, if (context) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjecti64vRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -33457,15 +29984,16 @@ void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, {} } -void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint64 *params) +void GL_APIENTRY GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetQueryObjectui64vRobustANGLE, + EVENT(context, gl::EntryPoint::GetQueryObjectui64vRobustANGLE, + "glGetQueryObjectui64vRobustANGLE", "context = %d, id = %u, pname = %s, bufSize = %d, length = 0x%016" PRIxPTR ", params = 0x%016" PRIxPTR "", CID(context), id, GLenumToString(GLenumGroup::DefaultGroup, pname), bufSize, @@ -33474,8 +30002,8 @@ void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - QueryID idPacked = PackParam(id); - std::unique_lock shareContextLock = GetContextLock(context); + QueryID idPacked = FromGL(id); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetQueryObjectui64vRobustANGLE( context, idPacked, pname, bufSize, length, params)); @@ -33492,20 +30020,20 @@ void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopyTexture3DANGLEContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint internalFormat, - GLenum destType, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopyTexture3DANGLEContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLCopyTexture3DANGLE, + EVENT(context, gl::EntryPoint::CopyTexture3DANGLE, "glCopyTexture3DANGLE", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, internalFormat = %d, destType = %s, unpackFlipY = %s, unpackPremultiplyAlpha = " "%s, unpackUnmultiplyAlpha = %s", @@ -33517,10 +30045,10 @@ void GL_APIENTRY GL_CopyTexture3DANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopyTexture3DANGLE( context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -33542,27 +30070,27 @@ void GL_APIENTRY GL_CopyTexture3DANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLint z, - GLint width, - GLint height, - GLint depth, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha) +void GL_APIENTRY CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLint z, + GLint width, + GLint height, + GLint depth, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) { Context *context = static_cast(ctx); - EVENT(context, GLCopySubTexture3DANGLE, + EVENT(context, gl::EntryPoint::CopySubTexture3DANGLE, "glCopySubTexture3DANGLE", "context = %d, sourceId = %u, sourceLevel = %d, destTarget = %s, destId = %u, destLevel " "= %d, xoffset = %d, yoffset = %d, zoffset = %d, x = %d, y = %d, z = %d, width = %d, " "height = %d, depth = %d, unpackFlipY = %s, unpackPremultiplyAlpha = %s, " @@ -33575,10 +30103,10 @@ void GL_APIENTRY GL_CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureID sourceIdPacked = PackParam(sourceId); - TextureTarget destTargetPacked = PackParam(destTarget); - TextureID destIdPacked = PackParam(destId); - std::unique_lock shareContextLock = GetContextLock(context); + TextureID sourceIdPacked = FromGL(sourceId); + TextureTarget destTargetPacked = FromGL(destTarget); + TextureID destIdPacked = FromGL(destId); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateCopySubTexture3DANGLE(context, sourceIdPacked, sourceLevel, destTargetPacked, @@ -33603,16 +30131,16 @@ void GL_APIENTRY GL_CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations) +void GL_APIENTRY TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorage2DMultisampleANGLE, + EVENT(context, gl::EntryPoint::TexStorage2DMultisampleANGLE, "glTexStorage2DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalformat = %s, width = %d, height = %d, " "fixedsamplelocations = %s", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), samples, @@ -33622,8 +30150,8 @@ void GL_APIENTRY GL_TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorage2DMultisampleANGLE(context, targetPacked, samples, internalformat, @@ -33642,23 +30170,23 @@ void GL_APIENTRY GL_TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLint *params) +void GL_APIENTRY GetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameterivANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterivANGLE, "glGetTexLevelParameterivANGLE", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", - CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, - GLenumToString(GLenumGroup::GetTextureParameter, pname), (uintptr_t)params); + CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, + GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterivANGLE(context, targetPacked, level, pname, params)); @@ -33675,14 +30203,14 @@ void GL_APIENTRY GL_GetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLfloat *params) +void GL_APIENTRY GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexLevelParameterfvANGLE, + EVENT(context, gl::EntryPoint::GetTexLevelParameterfvANGLE, "glGetTexLevelParameterfvANGLE", "context = %d, target = %s, level = %d, pname = %s, params = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, target), level, GLenumToString(GLenumGroup::DefaultGroup, pname), (uintptr_t)params); @@ -33690,8 +30218,8 @@ void GL_APIENTRY GL_GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexLevelParameterfvANGLE(context, targetPacked, level, pname, params)); @@ -33708,14 +30236,14 @@ void GL_APIENTRY GL_GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLint *firsts, - const GLsizei *counts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawArraysANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysANGLE, "glMultiDrawArraysANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -33724,8 +30252,8 @@ void GL_APIENTRY GL_MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysANGLE(context, modePacked, firsts, counts, drawcount)); @@ -33742,15 +30270,15 @@ void GL_APIENTRY GL_MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawArraysInstancedANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysInstancedANGLE, "glMultiDrawArraysInstancedANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -33759,8 +30287,8 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysInstancedANGLE( context, modePacked, firsts, counts, instanceCounts, drawcount)); @@ -33778,15 +30306,15 @@ void GL_APIENTRY GL_MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - GLsizei drawcount) +void GL_APIENTRY MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawElementsANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsANGLE, "glMultiDrawElementsANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)counts, @@ -33795,9 +30323,9 @@ void GL_APIENTRY GL_MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsANGLE(context, modePacked, counts, typePacked, indices, drawcount)); @@ -33814,16 +30342,17 @@ void GL_APIENTRY GL_MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - GLsizei drawcount) +void GL_APIENTRY MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawElementsInstancedANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsInstancedANGLE, + "glMultiDrawElementsInstancedANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)counts, @@ -33833,9 +30362,9 @@ void GL_APIENTRY GL_MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsInstancedANGLE(context, modePacked, counts, typePacked, @@ -33854,15 +30383,16 @@ void GL_APIENTRY GL_MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx } } -void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count, - GLsizei instanceCount, - GLuint baseInstance) +void GL_APIENTRY DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instanceCount, + GLuint baseInstance) { Context *context = static_cast(ctx); - EVENT(context, GLDrawArraysInstancedBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::DrawArraysInstancedBaseInstanceANGLE, + "glDrawArraysInstancedBaseInstanceANGLE", "context = %d, mode = %s, first = %d, count = %d, instanceCount = %d, baseInstance = %u", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, instanceCount, baseInstance); @@ -33870,8 +30400,8 @@ void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContex if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawArraysInstancedBaseInstanceANGLE( context, modePacked, first, count, instanceCount, baseInstance)); @@ -33890,17 +30420,18 @@ void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContex } void GL_APIENTRY -GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const GLvoid *indices, - GLsizei instanceCounts, - GLint baseVertex, - GLuint baseInstance) +DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const GLvoid *indices, + GLsizei instanceCounts, + GLint baseVertex, + GLuint baseInstance) { Context *context = static_cast(ctx); - EVENT(context, GLDrawElementsInstancedBaseVertexBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::DrawElementsInstancedBaseVertexBaseInstanceANGLE, + "glDrawElementsInstancedBaseVertexBaseInstanceANGLE", "context = %d, mode = %s, count = %d, type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = %d, baseVertex = %d, baseInstance = %u", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), count, @@ -33910,9 +30441,9 @@ GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateDrawElementsInstancedBaseVertexBaseInstanceANGLE( context, modePacked, count, typePacked, indices, @@ -33933,16 +30464,17 @@ GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx } void GL_APIENTRY -GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - const GLuint *baseInstances, - GLsizei drawcount) +MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + const GLuint *baseInstances, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawArraysInstancedBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::MultiDrawArraysInstancedBaseInstanceANGLE, + "glMultiDrawArraysInstancedBaseInstanceANGLE", "context = %d, mode = %s, firsts = 0x%016" PRIxPTR ", counts = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", baseInstances = 0x%016" PRIxPTR ", drawcount = %d", CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), (uintptr_t)firsts, @@ -33951,8 +30483,8 @@ GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawArraysInstancedBaseInstanceANGLE( @@ -33972,18 +30504,19 @@ GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, } void GL_APIENTRY -GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - const GLint *baseVertices, - const GLuint *baseInstances, - GLsizei drawcount) +MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + const GLint *baseVertices, + const GLuint *baseInstances, + GLsizei drawcount) { Context *context = static_cast(ctx); - EVENT(context, GLMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, + EVENT(context, gl::EntryPoint::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE, + "glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE", "context = %d, mode = %s, counts = 0x%016" PRIxPTR ", type = %s, indices = 0x%016" PRIxPTR ", instanceCounts = 0x%016" PRIxPTR ", baseVertices = 0x%016" PRIxPTR ", baseInstances = 0x%016" PRIxPTR ", drawcount = %d", @@ -33994,9 +30527,9 @@ GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContex if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - PrimitiveMode modePacked = PackParam(mode); - DrawElementsType typePacked = PackParam(type); - std::unique_lock shareContextLock = GetContextLock(context); + PrimitiveMode modePacked = FromGL(mode); + DrawElementsType typePacked = FromGL(type); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE( context, modePacked, counts, typePacked, indices, instanceCounts, @@ -34017,20 +30550,20 @@ GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContex } } -void GL_APIENTRY GL_GetMultisamplefvANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLfloat *val) +void GL_APIENTRY GetMultisamplefvANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val) { Context *context = static_cast(ctx); - EVENT(context, GLGetMultisamplefvANGLE, + EVENT(context, gl::EntryPoint::GetMultisamplefvANGLE, "glGetMultisamplefvANGLE", "context = %d, pname = %s, index = %u, val = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::DefaultGroup, pname), index, (uintptr_t)val); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetMultisamplefvANGLE(context, pname, index, val)); if (isCallValid) @@ -34045,18 +30578,17 @@ void GL_APIENTRY GL_GetMultisamplefvANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_SampleMaskiANGLEContextANGLE(GLeglContext ctx, - GLuint maskNumber, - GLbitfield mask) +void GL_APIENTRY SampleMaskiANGLEContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) { Context *context = static_cast(ctx); - EVENT(context, GLSampleMaskiANGLE, "context = %d, maskNumber = %u, mask = %s", CID(context), - maskNumber, GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); + EVENT(context, gl::EntryPoint::SampleMaskiANGLE, "glSampleMaskiANGLE", + "context = %d, maskNumber = %u, mask = %s", CID(context), maskNumber, + GLbitfieldToString(GLenumGroup::DefaultGroup, mask).c_str()); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateSampleMaskiANGLE(context, maskNumber, mask)); if (isCallValid) @@ -34071,17 +30603,18 @@ void GL_APIENTRY GL_SampleMaskiANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mode) +void GL_APIENTRY ProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mode) { Context *context = static_cast(ctx); - EVENT(context, GLProvokingVertexANGLE, "context = %d, mode = %s", CID(context), + EVENT(context, gl::EntryPoint::ProvokingVertexANGLE, "glProvokingVertexANGLE", + "context = %d, mode = %s", CID(context), GLenumToString(GLenumGroup::VertexProvokingMode, mode)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - ProvokingVertexConvention modePacked = PackParam(mode); - std::unique_lock shareContextLock = GetContextLock(context); + ProvokingVertexConvention modePacked = FromGL(mode); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateProvokingVertexANGLE(context, modePacked)); if (isCallValid) @@ -34096,19 +30629,20 @@ void GL_APIENTRY GL_ProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mo } } -void GL_APIENTRY GL_LoseContextCHROMIUMContextANGLE(GLeglContext ctx, GLenum current, GLenum other) +void GL_APIENTRY LoseContextCHROMIUMContextANGLE(GLeglContext ctx, GLenum current, GLenum other) { Context *context = static_cast(ctx); - EVENT(context, GLLoseContextCHROMIUM, "context = %d, current = %s, other = %s", CID(context), + EVENT(context, gl::EntryPoint::LoseContextCHROMIUM, "glLoseContextCHROMIUM", + "context = %d, current = %s, other = %s", CID(context), GLenumToString(GLenumGroup::GraphicsResetStatus, current), GLenumToString(GLenumGroup::GraphicsResetStatus, other)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - GraphicsResetStatus currentPacked = PackParam(current); - GraphicsResetStatus otherPacked = PackParam(other); - std::unique_lock shareContextLock = GetContextLock(context); + GraphicsResetStatus currentPacked = FromGL(current); + GraphicsResetStatus otherPacked = FromGL(other); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateLoseContextCHROMIUM(context, currentPacked, otherPacked)); if (isCallValid) @@ -34123,18 +30657,18 @@ void GL_APIENTRY GL_LoseContextCHROMIUMContextANGLE(GLeglContext ctx, GLenum cur } } -void GL_APIENTRY GL_TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type) +void GL_APIENTRY TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type) { Context *context = static_cast(ctx); - EVENT(context, GLTexImage2DExternalANGLE, + EVENT(context, gl::EntryPoint::TexImage2DExternalANGLE, "glTexImage2DExternalANGLE", "context = %d, target = %s, level = %d, internalformat = %d, width = %d, height = %d, " "border = %d, format = %s, type = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, internalformat, @@ -34144,8 +30678,8 @@ void GL_APIENTRY GL_TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexImage2DExternalANGLE(context, targetPacked, level, internalformat, width, @@ -34164,17 +30698,18 @@ void GL_APIENTRY GL_TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_InvalidateTextureANGLEContextANGLE(GLeglContext ctx, GLenum target) +void GL_APIENTRY InvalidateTextureANGLEContextANGLE(GLeglContext ctx, GLenum target) { Context *context = static_cast(ctx); - EVENT(context, GLInvalidateTextureANGLE, "context = %d, target = %s", CID(context), + EVENT(context, gl::EntryPoint::InvalidateTextureANGLE, "glInvalidateTextureANGLE", + "context = %d, target = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target)); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateInvalidateTextureANGLE(context, targetPacked)); if (isCallValid) @@ -34189,15 +30724,15 @@ void GL_APIENTRY GL_InvalidateTextureANGLEContextANGLE(GLeglContext ctx, GLenum } } -void GL_APIENTRY GL_GetTexImageANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum format, - GLenum type, - void *pixels) +void GL_APIENTRY GetTexImageANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum format, + GLenum type, + void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLGetTexImageANGLE, + EVENT(context, gl::EntryPoint::GetTexImageANGLE, "glGetTexImageANGLE", "context = %d, target = %s, level = %d, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), level, @@ -34207,8 +30742,8 @@ void GL_APIENTRY GL_GetTexImageANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureTarget targetPacked = PackParam(target); - std::unique_lock shareContextLock = GetContextLock(context); + TextureTarget targetPacked = FromGL(target); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetTexImageANGLE(context, targetPacked, level, format, type, pixels)); @@ -34225,14 +30760,14 @@ void GL_APIENTRY GL_GetTexImageANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum format, - GLenum type, - void *pixels) +void GL_APIENTRY GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum format, + GLenum type, + void *pixels) { Context *context = static_cast(ctx); - EVENT(context, GLGetRenderbufferImageANGLE, + EVENT(context, gl::EntryPoint::GetRenderbufferImageANGLE, "glGetRenderbufferImageANGLE", "context = %d, target = %s, format = %s, type = %s, pixels = 0x%016" PRIxPTR "", CID(context), GLenumToString(GLenumGroup::RenderbufferTarget, target), GLenumToString(GLenumGroup::PixelFormat, format), @@ -34241,7 +30776,7 @@ void GL_APIENTRY GL_GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - std::unique_lock shareContextLock = GetContextLock(context); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateGetRenderbufferImageANGLE(context, target, format, type, pixels)); @@ -34258,19 +30793,19 @@ void GL_APIENTRY GL_GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMemFlags2DANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags2DANGLE, "glTexStorageMemFlags2DANGLE", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -34282,9 +30817,9 @@ void GL_APIENTRY GL_TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags2DANGLE( context, targetPacked, levels, internalFormat, width, height, @@ -34303,21 +30838,22 @@ void GL_APIENTRY GL_TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = static_cast(ctx); EVENT( - context, GLTexStorageMemFlags2DMultisampleANGLE, + context, gl::EntryPoint::TexStorageMemFlags2DMultisampleANGLE, + "glTexStorageMemFlags2DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "fixedSampleLocations = %s, memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), samples, @@ -34329,9 +30865,9 @@ void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContex if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags2DMultisampleANGLE( @@ -34353,20 +30889,20 @@ void GL_APIENTRY GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContex } } -void GL_APIENTRY GL_TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMemFlags3DANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags3DANGLE, "glTexStorageMemFlags3DANGLE", "context = %d, target = %s, levels = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, memory = %u, offset = %llu, createFlags = %s, usageFlags = %s", CID(context), GLenumToString(GLenumGroup::TextureTarget, target), levels, @@ -34378,9 +30914,9 @@ void GL_APIENTRY GL_TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags3DANGLE( context, targetPacked, levels, internalFormat, width, height, depth, @@ -34400,21 +30936,22 @@ void GL_APIENTRY GL_TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags) +void GL_APIENTRY TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags) { Context *context = static_cast(ctx); - EVENT(context, GLTexStorageMemFlags3DMultisampleANGLE, + EVENT(context, gl::EntryPoint::TexStorageMemFlags3DMultisampleANGLE, + "glTexStorageMemFlags3DMultisampleANGLE", "context = %d, target = %s, samples = %d, internalFormat = %s, width = %d, height = %d, " "depth = %d, fixedSampleLocations = %s, memory = %u, offset = %llu, createFlags = %s, " "usageFlags = %s", @@ -34427,9 +30964,9 @@ void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContex if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - TextureType targetPacked = PackParam(target); - MemoryObjectID memoryPacked = PackParam(memory); - std::unique_lock shareContextLock = GetContextLock(context); + TextureType targetPacked = FromGL(target); + MemoryObjectID memoryPacked = FromGL(memory); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateTexStorageMemFlags3DMultisampleANGLE( @@ -34451,14 +30988,14 @@ void GL_APIENTRY GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContex } } -void GL_APIENTRY GL_ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, - GLuint memory, - GLuint64 size, - GLenum handleType, - GLuint handle) +void GL_APIENTRY ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, + GLuint memory, + GLuint64 size, + GLenum handleType, + GLuint handle) { Context *context = static_cast(ctx); - EVENT(context, GLImportMemoryZirconHandleANGLE, + EVENT(context, gl::EntryPoint::ImportMemoryZirconHandleANGLE, "glImportMemoryZirconHandleANGLE", "context = %d, memory = %u, size = %llu, handleType = %s, handle = %u", CID(context), memory, static_cast(size), GLenumToString(GLenumGroup::ExternalHandleType, handleType), handle); @@ -34466,9 +31003,9 @@ void GL_APIENTRY GL_ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - MemoryObjectID memoryPacked = PackParam(memory); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + MemoryObjectID memoryPacked = FromGL(memory); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportMemoryZirconHandleANGLE(context, memoryPacked, size, handleTypePacked, handle)); @@ -34485,22 +31022,23 @@ void GL_APIENTRY GL_ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, } } -void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum handleType, - GLuint handle) +void GL_APIENTRY ImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLenum handleType, + GLuint handle) { Context *context = static_cast(ctx); - EVENT(context, GLImportSemaphoreZirconHandleANGLE, + EVENT(context, gl::EntryPoint::ImportSemaphoreZirconHandleANGLE, + "glImportSemaphoreZirconHandleANGLE", "context = %d, semaphore = %u, handleType = %s, handle = %u", CID(context), semaphore, GLenumToString(GLenumGroup::ExternalHandleType, handleType), handle); if (context && !context->isContextLost()) { ASSERT(context == GetValidGlobalContext()); - SemaphoreID semaphorePacked = PackParam(semaphore); - HandleType handleTypePacked = PackParam(handleType); - std::unique_lock shareContextLock = GetContextLock(context); + SemaphoreID semaphorePacked = FromGL(semaphore); + HandleType handleTypePacked = FromGL(handleType); + std::unique_lock shareContextLock = GetShareGroupLock(context); bool isCallValid = (context->skipValidation() || ValidateImportSemaphoreZirconHandleANGLE( context, semaphorePacked, handleTypePacked, handle)); @@ -34516,5 +31054,4 @@ void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ct GenerateContextLostErrorOnContext(context); } } - -} // extern "C" +} // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.h b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.h index 335d9d33d61f..7dd3b8c06bb5 100644 --- a/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.h +++ b/gfx/angle/checkout/src/libGLESv2/entry_points_gles_ext_autogen.h @@ -18,1117 +18,907 @@ #include #include -extern "C" { +namespace gl +{ // GL_ANGLE_base_vertex_base_instance -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedBaseInstanceANGLE(GLenum mode, - GLint first, - GLsizei count, - GLsizei instanceCount, - GLuint baseInstance); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedBaseInstanceANGLE(GLenum mode, + GLint first, + GLsizei count, + GLsizei instanceCount, + GLuint baseInstance); ANGLE_EXPORT void GL_APIENTRY -GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, - GLsizei count, - GLenum type, - const GLvoid *indices, - GLsizei instanceCounts, - GLint baseVertex, - GLuint baseInstance); +DrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, + GLsizei count, + GLenum type, + const GLvoid *indices, + GLsizei instanceCounts, + GLint baseVertex, + GLuint baseInstance); ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - const GLuint *baseInstances, - GLsizei drawcount); +MultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + const GLuint *baseInstances, + GLsizei drawcount); ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - const GLint *baseVertices, - const GLuint *baseInstances, - GLsizei drawcount); +MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + const GLint *baseVertices, + const GLuint *baseInstances, + GLsizei drawcount); // GL_ANGLE_copy_texture_3d -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexture3DANGLE(GLuint sourceId, +ANGLE_EXPORT void GL_APIENTRY CopyTexture3DANGLE(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CopySubTexture3DANGLE(GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, - GLint internalFormat, - GLenum destType, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLint z, + GLint width, + GLint height, + GLint depth, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_CopySubTexture3DANGLE(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLint z, - GLint width, - GLint height, - GLint depth, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha); // GL_ANGLE_framebuffer_blit -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferANGLE(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); +ANGLE_EXPORT void GL_APIENTRY BlitFramebufferANGLE(GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); // GL_ANGLE_framebuffer_multisample -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); // GL_ANGLE_get_image ANGLE_EXPORT void GL_APIENTRY -GL_GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferImageANGLE(GLenum target, - GLenum format, - GLenum type, - void *pixels); +GetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferImageANGLE(GLenum target, + GLenum format, + GLenum type, + void *pixels); // GL_ANGLE_get_tex_level_parameter -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterivANGLE(GLenum target, - GLint level, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfvANGLE(GLenum target, - GLint level, - GLenum pname, - GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivANGLE(GLenum target, + GLint level, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvANGLE(GLenum target, + GLint level, + GLenum pname, + GLfloat *params); // GL_ANGLE_instanced_arrays -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedANGLE(GLenum mode, - GLint first, - GLsizei count, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedANGLE(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisorANGLE(GLuint index, GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedANGLE(GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedANGLE(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorANGLE(GLuint index, GLuint divisor); // GL_ANGLE_memory_object_flags -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMemFlags2DANGLE(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMemFlags2DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMemFlags3DANGLE(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMemFlags3DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags2DANGLE(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags2DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags3DANGLE(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags3DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); // GL_ANGLE_memory_object_fuchsia -ANGLE_EXPORT void GL_APIENTRY GL_ImportMemoryZirconHandleANGLE(GLuint memory, - GLuint64 size, - GLenum handleType, - GLuint handle); +ANGLE_EXPORT void GL_APIENTRY ImportMemoryZirconHandleANGLE(GLuint memory, + GLuint64 size, + GLenum handleType, + GLuint handle); // GL_ANGLE_multi_draw -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawArraysANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawArraysInstancedANGLE(GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawElementsANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawElementsInstancedANGLE(GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY MultiDrawArraysANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY MultiDrawArraysInstancedANGLE(GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY MultiDrawElementsANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY MultiDrawElementsInstancedANGLE(GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + GLsizei drawcount); // GL_ANGLE_program_binary // GL_ANGLE_provoking_vertex -ANGLE_EXPORT void GL_APIENTRY GL_ProvokingVertexANGLE(GLenum mode); +ANGLE_EXPORT void GL_APIENTRY ProvokingVertexANGLE(GLenum mode); // GL_ANGLE_request_extension -ANGLE_EXPORT void GL_APIENTRY GL_RequestExtensionANGLE(const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_DisableExtensionANGLE(const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY RequestExtensionANGLE(const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY DisableExtensionANGLE(const GLchar *name); // GL_ANGLE_robust_client_memory -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleanvRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLboolean *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFloatvRobustANGLE(GLenum pname, +ANGLE_EXPORT void GL_APIENTRY GetBooleanvRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFloatvRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivRobustANGLE(GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetIntegervRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetProgramivRobustANGLE(GLuint program, + GLenum pname, GLsizei bufSize, GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferAttachmentParameterivRobustANGLE(GLenum target, - GLenum attachment, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegervRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramivRobustANGLE(GLuint program, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderivRobustANGLE(GLuint shader, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterfvRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformfvRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribfvRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **pointer); -ANGLE_EXPORT void GL_APIENTRY GL_ReadPixelsRobustANGLE(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2DRobustANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterfvRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage2DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DRobustANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage2DRobustANGLE(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLE(GLenum target, - GLint level, - GLsizei xoffset, - GLsizei yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DRobustANGLE(GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLE(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuivRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointervRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegeri_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInternalformativRobustANGLE(GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLE(GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformuivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformBlockivRobustANGLE(GLuint program, - GLuint uniformBlockIndex, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivRobustANGLE(GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64vRobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64i_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterivRobustANGLE(GLuint sampler, - GLuint pname, - GLsizei bufSize, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterfvRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLfloat *param); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInterfaceivRobustANGLE(GLuint program, - GLenum programInterface, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleani_vRobustANGLE(GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefvRobustANGLE(GLenum pname, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLE(GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLE(GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLE(GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsRobustANGLE(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, +ANGLE_EXPORT void GL_APIENTRY GetShaderivRobustANGLE(GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfvRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformfvRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfvRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointervRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer); +ANGLE_EXPORT void GL_APIENTRY ReadPixelsRobustANGLE(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage2DRobustANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexParameterfvRobustANGLE(GLenum target, + GLenum pname, GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfvRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformivRobustANGLE(GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformuivRobustANGLE(GLuint program, - GLint location, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage3DRobustANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2DRobustANGLE(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2DRobustANGLE(GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DRobustANGLE(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DRobustANGLE(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY +GetQueryivRobustANGLE(GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivRobustANGLE(GLuint id, + GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivRobustANGLE(GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLE(GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectivRobustANGLE(GLuint id, +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_vRobustANGLE(GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativRobustANGLE(GLenum target, + GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLE(GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLE(GLuint id, +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuivRobustANGLE(GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformuivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockivRobustANGLE(GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vRobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_vRobustANGLE(GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64vRobustANGLE(GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, - GLuint64 *params); + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterivRobustANGLE(GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfvRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfvRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameterivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceivRobustANGLE(GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_vRobustANGLE(GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvRobustANGLE(GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivRobustANGLE(GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvRobustANGLE(GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetPointervRobustANGLERobustANGLE(GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsRobustANGLE(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformuivRobustANGLE(GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivRobustANGLE(GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivRobustANGLE(GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vRobustANGLE(GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params); // GL_ANGLE_semaphore_fuchsia -ANGLE_EXPORT void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLE(GLuint semaphore, - GLenum handleType, - GLuint handle); +ANGLE_EXPORT void GL_APIENTRY ImportSemaphoreZirconHandleANGLE(GLuint semaphore, + GLenum handleType, + GLuint handle); // GL_ANGLE_texture_external_update -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2DExternalANGLE(GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateTextureANGLE(GLenum target); +ANGLE_EXPORT void GL_APIENTRY TexImage2DExternalANGLE(GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type); +ANGLE_EXPORT void GL_APIENTRY InvalidateTextureANGLE(GLenum target); // GL_ANGLE_texture_multisample -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DMultisampleANGLE(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_SampleMaskiANGLE(GLuint maskNumber, GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DMultisampleANGLE(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY SampleMaskiANGLE(GLuint maskNumber, GLbitfield mask); // GL_ANGLE_translated_shader_source -ANGLE_EXPORT void GL_APIENTRY GL_GetTranslatedShaderSourceANGLE(GLuint shader, - GLsizei bufsize, - GLsizei *length, - GLchar *source); +ANGLE_EXPORT void GL_APIENTRY GetTranslatedShaderSourceANGLE(GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source); // GL_CHROMIUM_bind_uniform_location -ANGLE_EXPORT void GL_APIENTRY GL_BindUniformLocationCHROMIUM(GLuint program, - GLint location, - const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindUniformLocationCHROMIUM(GLuint program, + GLint location, + const GLchar *name); // GL_CHROMIUM_copy_compressed_texture -ANGLE_EXPORT void GL_APIENTRY GL_CompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId); +ANGLE_EXPORT void GL_APIENTRY CompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId); // GL_CHROMIUM_copy_texture -ANGLE_EXPORT void GL_APIENTRY GL_CopyTextureCHROMIUM(GLuint sourceId, +ANGLE_EXPORT void GL_APIENTRY CopyTextureCHROMIUM(GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CopySubTextureCHROMIUM(GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, - GLint internalFormat, - GLenum destType, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_CopySubTextureCHROMIUM(GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLint width, - GLint height, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha); // GL_CHROMIUM_framebuffer_mixed_samples -ANGLE_EXPORT void GL_APIENTRY GL_CoverageModulationCHROMIUM(GLenum components); +ANGLE_EXPORT void GL_APIENTRY CoverageModulationCHROMIUM(GLenum components); // GL_CHROMIUM_lose_context -ANGLE_EXPORT void GL_APIENTRY GL_LoseContextCHROMIUM(GLenum current, GLenum other); +ANGLE_EXPORT void GL_APIENTRY LoseContextCHROMIUM(GLenum current, GLenum other); // GL_EXT_EGL_image_array -// GL_EXT_YUV_target - // GL_EXT_blend_func_extended -ANGLE_EXPORT void GL_APIENTRY GL_BindFragDataLocationEXT(GLuint program, - GLuint color, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_BindFragDataLocationIndexedEXT(GLuint program, - GLuint colorNumber, - GLuint index, - const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetFragDataIndexEXT(GLuint program, const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetProgramResourceLocationIndexEXT(GLuint program, - GLenum programInterface, - const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindFragDataLocationEXT(GLuint program, + GLuint color, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindFragDataLocationIndexedEXT(GLuint program, + GLuint colorNumber, + GLuint index, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetFragDataIndexEXT(GLuint program, const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetProgramResourceLocationIndexEXT(GLuint program, + GLenum programInterface, + const GLchar *name); // GL_EXT_buffer_storage -ANGLE_EXPORT void GL_APIENTRY GL_BufferStorageEXT(GLenum target, - GLsizeiptr size, - const void *data, - GLbitfield flags); - -// GL_EXT_clip_control -ANGLE_EXPORT void GL_APIENTRY GL_ClipControlEXT(GLenum origin, GLenum depth); +ANGLE_EXPORT void GL_APIENTRY BufferStorageEXT(GLenum target, + GLsizeiptr size, + const void *data, + GLbitfield flags); // GL_EXT_copy_image -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataEXT(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth); - -// GL_EXT_debug_label -ANGLE_EXPORT void GL_APIENTRY -GL_GetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_LabelObjectEXT(GLenum type, - GLuint object, - GLsizei length, - const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY CopyImageSubDataEXT(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth); // GL_EXT_debug_marker -ANGLE_EXPORT void GL_APIENTRY GL_InsertEventMarkerEXT(GLsizei length, const GLchar *marker); -ANGLE_EXPORT void GL_APIENTRY GL_PopGroupMarkerEXT(); -ANGLE_EXPORT void GL_APIENTRY GL_PushGroupMarkerEXT(GLsizei length, const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY InsertEventMarkerEXT(GLsizei length, const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY PopGroupMarkerEXT(); +ANGLE_EXPORT void GL_APIENTRY PushGroupMarkerEXT(GLsizei length, const GLchar *marker); // GL_EXT_discard_framebuffer -ANGLE_EXPORT void GL_APIENTRY GL_DiscardFramebufferEXT(GLenum target, - GLsizei numAttachments, - const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY DiscardFramebufferEXT(GLenum target, + GLsizei numAttachments, + const GLenum *attachments); // GL_EXT_disjoint_timer_query -ANGLE_EXPORT void GL_APIENTRY GL_BeginQueryEXT(GLenum target, GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteQueriesEXT(GLsizei n, const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_EndQueryEXT(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GenQueriesEXT(GLsizei n, GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64vEXT(GLenum pname, GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryivEXT(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsQueryEXT(GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_QueryCounterEXT(GLuint id, GLenum target); +ANGLE_EXPORT void GL_APIENTRY BeginQueryEXT(GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY DeleteQueriesEXT(GLsizei n, const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY EndQueryEXT(GLenum target); +ANGLE_EXPORT void GL_APIENTRY GenQueriesEXT(GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vEXT(GLenum pname, GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryivEXT(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQueryEXT(GLuint id); +ANGLE_EXPORT void GL_APIENTRY QueryCounterEXT(GLuint id, GLenum target); // GL_EXT_draw_buffers -ANGLE_EXPORT void GL_APIENTRY GL_DrawBuffersEXT(GLsizei n, const GLenum *bufs); +ANGLE_EXPORT void GL_APIENTRY DrawBuffersEXT(GLsizei n, const GLenum *bufs); // GL_EXT_draw_buffers_indexed -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateiEXT(GLuint buf, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationiEXT(GLuint buf, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateiEXT(GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunciEXT(GLuint buf, GLenum src, GLenum dst); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateiEXT(GLuint buf, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationiEXT(GLuint buf, GLenum mode); ANGLE_EXPORT void GL_APIENTRY -GL_ColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_DisableiEXT(GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EnableiEXT(GLenum target, GLuint index); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnablediEXT(GLenum target, GLuint index); +BlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFunciEXT(GLuint buf, GLenum src, GLenum dst); +ANGLE_EXPORT void GL_APIENTRY +ColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +ANGLE_EXPORT void GL_APIENTRY DisableiEXT(GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EnableiEXT(GLenum target, GLuint index); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnablediEXT(GLenum target, GLuint index); // GL_EXT_draw_elements_base_vertex -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertexEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedBaseVertexEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXT(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawElementsBaseVertexEXT(GLenum mode, - const GLsizei *count, - GLenum type, - const void *const *indices, - GLsizei primcount, - const GLint *basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertexEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertexEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertexEXT(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY MultiDrawElementsBaseVertexEXT(GLenum mode, + const GLsizei *count, + GLenum type, + const void *const *indices, + GLsizei primcount, + const GLint *basevertex); // GL_EXT_external_buffer -ANGLE_EXPORT void GL_APIENTRY GL_BufferStorageExternalEXT(GLenum target, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY GL_NamedBufferStorageExternalEXT(GLuint buffer, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY BufferStorageExternalEXT(GLenum target, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY NamedBufferStorageExternalEXT(GLuint buffer, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags); // GL_EXT_geometry_shader -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureEXT(GLenum target, - GLenum attachment, - GLuint texture, - GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureEXT(GLenum target, + GLenum attachment, + GLuint texture, + GLint level); // GL_EXT_instanced_arrays -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedEXT(GLenum mode, - GLint start, - GLsizei count, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedEXT(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisorEXT(GLuint index, GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedEXT(GLenum mode, + GLint start, + GLsizei count, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedEXT(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorEXT(GLuint index, GLuint divisor); // GL_EXT_map_buffer_range -ANGLE_EXPORT void GL_APIENTRY GL_FlushMappedBufferRangeEXT(GLenum target, - GLintptr offset, - GLsizeiptr length); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferRangeEXT(GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRangeEXT(GLenum target, + GLintptr offset, + GLsizeiptr length); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRangeEXT(GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); // GL_EXT_memory_object -ANGLE_EXPORT void GL_APIENTRY GL_BufferStorageMemEXT(GLenum target, - GLsizeiptr size, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_CreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects); -ANGLE_EXPORT void GL_APIENTRY GL_GetMemoryObjectParameterivEXT(GLuint memoryObject, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUnsignedBytevEXT(GLenum pname, GLubyte *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsMemoryObjectEXT(GLuint memoryObject); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryObjectParameterivEXT(GLuint memoryObject, +ANGLE_EXPORT void GL_APIENTRY BufferStorageMemEXT(GLenum target, + GLsizeiptr size, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY CreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects); +ANGLE_EXPORT void GL_APIENTRY DeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects); +ANGLE_EXPORT void GL_APIENTRY GetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem2DEXT(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem2DMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem3DEXT(GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem3DMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset); + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUnsignedBytevEXT(GLenum pname, GLubyte *data); +ANGLE_EXPORT void GL_APIENTRY GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data); +ANGLE_EXPORT GLboolean GL_APIENTRY IsMemoryObjectEXT(GLuint memoryObject); +ANGLE_EXPORT void GL_APIENTRY MemoryObjectParameterivEXT(GLuint memoryObject, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem2DEXT(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem2DMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem3DEXT(GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem3DMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset); // GL_EXT_memory_object_fd -ANGLE_EXPORT void GL_APIENTRY GL_ImportMemoryFdEXT(GLuint memory, - GLuint64 size, - GLenum handleType, - GLint fd); +ANGLE_EXPORT void GL_APIENTRY ImportMemoryFdEXT(GLuint memory, + GLuint64 size, + GLenum handleType, + GLint fd); // GL_EXT_multisampled_render_to_texture -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXT(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLsizei samples); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageMultisampleEXT(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DMultisampleEXT(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLsizei samples); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleEXT(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); // GL_EXT_occlusion_query_boolean -// GL_EXT_primitive_bounding_box -ANGLE_EXPORT void GL_APIENTRY GL_PrimitiveBoundingBoxEXT(GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); - // GL_EXT_read_format_bgra // GL_EXT_robustness -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXT(); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfvEXT(GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformivEXT(GLuint program, - GLint location, - GLsizei bufSize, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsEXT(GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data); +ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatusEXT(); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvEXT(GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivEXT(GLuint program, + GLint location, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsEXT(GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data); // GL_EXT_sRGB // GL_EXT_semaphore -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores); -ANGLE_EXPORT void GL_APIENTRY GL_GenSemaphoresEXT(GLsizei n, GLuint *semaphores); -ANGLE_EXPORT void GL_APIENTRY GL_GetSemaphoreParameterui64vEXT(GLuint semaphore, - GLenum pname, - GLuint64 *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSemaphoreEXT(GLuint semaphore); -ANGLE_EXPORT void GL_APIENTRY GL_SemaphoreParameterui64vEXT(GLuint semaphore, +ANGLE_EXPORT void GL_APIENTRY DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores); +ANGLE_EXPORT void GL_APIENTRY GenSemaphoresEXT(GLsizei n, GLuint *semaphores); +ANGLE_EXPORT void GL_APIENTRY GetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, - const GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_SignalSemaphoreEXT(GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *dstLayouts); -ANGLE_EXPORT void GL_APIENTRY GL_WaitSemaphoreEXT(GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *srcLayouts); + GLuint64 *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSemaphoreEXT(GLuint semaphore); +ANGLE_EXPORT void GL_APIENTRY SemaphoreParameterui64vEXT(GLuint semaphore, + GLenum pname, + const GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY SignalSemaphoreEXT(GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *dstLayouts); +ANGLE_EXPORT void GL_APIENTRY WaitSemaphoreEXT(GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *srcLayouts); // GL_EXT_semaphore_fd -ANGLE_EXPORT void GL_APIENTRY GL_ImportSemaphoreFdEXT(GLuint semaphore, - GLenum handleType, - GLint fd); - -// GL_EXT_separate_shader_objects -ANGLE_EXPORT void GL_APIENTRY GL_ActiveShaderProgramEXT(GLuint pipeline, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_BindProgramPipelineEXT(GLuint pipeline); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderProgramvEXT(GLenum type, - GLsizei count, - const GLchar **strings); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_GenProgramPipelinesEXT(GLsizei n, GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineInfoLogEXT(GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineivEXT(GLuint pipeline, - GLenum pname, - GLint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramPipelineEXT(GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramParameteriEXT(GLuint program, GLenum pname, GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1iEXT(GLuint program, GLint location, GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fEXT(GLuint program, - GLint location, - GLfloat v0, - GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2iEXT(GLuint program, - GLint location, - GLint v0, - GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uiEXT(GLuint program, - GLint location, - GLuint v0, - GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fEXT(GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY -GL_ProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgramStagesEXT(GLuint pipeline, - GLbitfield stages, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramPipelineEXT(GLuint pipeline); - -// GL_EXT_shader_framebuffer_fetch_non_coherent -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferFetchBarrierEXT(); - -// GL_EXT_shader_io_blocks - -// GL_EXT_tessellation_shader -ANGLE_EXPORT void GL_APIENTRY GL_PatchParameteriEXT(GLenum pname, GLint value); - -// GL_EXT_texture_border_clamp -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivEXT(GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivEXT(GLuint sampler, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivEXT(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivEXT(GLenum target, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivEXT(GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivEXT(GLuint sampler, - GLenum pname, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivEXT(GLenum target, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivEXT(GLenum target, - GLenum pname, - const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY ImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GLint fd); // GL_EXT_texture_buffer -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeEXT(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY TexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY TexBufferRangeEXT(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); // GL_EXT_texture_compression_bptc @@ -1148,347 +938,316 @@ ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeEXT(GLenum target, // GL_EXT_texture_sRGB_R8 -// GL_EXT_texture_sRGB_RG8 - // GL_EXT_texture_storage -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage1DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3DEXT(GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth); - -// GL_KHR_blend_equation_advanced -ANGLE_EXPORT void GL_APIENTRY GL_BlendBarrierKHR(); +ANGLE_EXPORT void GL_APIENTRY TexStorage1DEXT(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DEXT(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DEXT(GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); // GL_KHR_debug -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageCallbackKHR(GLDEBUGPROCKHR callback, - const void *userParam); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageControlKHR(GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageInsertKHR(GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetDebugMessageLogKHR(GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectLabelKHR(GLenum identifier, - GLuint name, +ANGLE_EXPORT void GL_APIENTRY DebugMessageCallbackKHR(GLDEBUGPROCKHR callback, + const void *userParam); +ANGLE_EXPORT void GL_APIENTRY DebugMessageControlKHR(GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled); +ANGLE_EXPORT void GL_APIENTRY DebugMessageInsertKHR(GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf); +ANGLE_EXPORT GLuint GL_APIENTRY GetDebugMessageLogKHR(GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog); +ANGLE_EXPORT void GL_APIENTRY +GetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetObjectPtrLabelKHR(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectPtrLabelKHR(const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointervKHR(GLenum pname, void **params); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectLabelKHR(GLenum identifier, - GLuint name, +ANGLE_EXPORT void GL_APIENTRY GetPointervKHR(GLenum pname, void **params); +ANGLE_EXPORT void GL_APIENTRY ObjectLabelKHR(GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY ObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectPtrLabelKHR(const void *ptr, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_PopDebugGroupKHR(); -ANGLE_EXPORT void GL_APIENTRY GL_PushDebugGroupKHR(GLenum source, - GLuint id, - GLsizei length, - const GLchar *message); +ANGLE_EXPORT void GL_APIENTRY PopDebugGroupKHR(); +ANGLE_EXPORT void GL_APIENTRY PushDebugGroupKHR(GLenum source, + GLuint id, + GLsizei length, + const GLchar *message); // GL_KHR_parallel_shader_compile -ANGLE_EXPORT void GL_APIENTRY GL_MaxShaderCompilerThreadsKHR(GLuint count); +ANGLE_EXPORT void GL_APIENTRY MaxShaderCompilerThreadsKHR(GLuint count); // GL_NV_fence -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFencesNV(GLsizei n, const GLuint *fences); -ANGLE_EXPORT void GL_APIENTRY GL_FinishFenceNV(GLuint fence); -ANGLE_EXPORT void GL_APIENTRY GL_GenFencesNV(GLsizei n, GLuint *fences); -ANGLE_EXPORT void GL_APIENTRY GL_GetFenceivNV(GLuint fence, GLenum pname, GLint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFenceNV(GLuint fence); -ANGLE_EXPORT void GL_APIENTRY GL_SetFenceNV(GLuint fence, GLenum condition); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_TestFenceNV(GLuint fence); - -// GL_NV_framebuffer_blit -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferNV(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); +ANGLE_EXPORT void GL_APIENTRY DeleteFencesNV(GLsizei n, const GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY FinishFenceNV(GLuint fence); +ANGLE_EXPORT void GL_APIENTRY GenFencesNV(GLsizei n, GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY GetFenceivNV(GLuint fence, GLenum pname, GLint *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFenceNV(GLuint fence); +ANGLE_EXPORT void GL_APIENTRY SetFenceNV(GLuint fence, GLenum condition); +ANGLE_EXPORT GLboolean GL_APIENTRY TestFenceNV(GLuint fence); // GL_OES_EGL_image -ANGLE_EXPORT void GL_APIENTRY GL_EGLImageTargetRenderbufferStorageOES(GLenum target, - GLeglImageOES image); -ANGLE_EXPORT void GL_APIENTRY GL_EGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetRenderbufferStorageOES(GLenum target, + GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); // GL_OES_compressed_ETC1_RGB8_texture // GL_OES_copy_image -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataOES(GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth); +ANGLE_EXPORT void GL_APIENTRY CopyImageSubDataOES(GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth); // GL_OES_depth32 // GL_OES_draw_buffers_indexed -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateiOES(GLuint buf, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationiOES(GLuint buf, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateiOES(GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunciOES(GLuint buf, GLenum src, GLenum dst); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateiOES(GLuint buf, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationiOES(GLuint buf, GLenum mode); ANGLE_EXPORT void GL_APIENTRY -GL_ColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_DisableiOES(GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EnableiOES(GLenum target, GLuint index); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnablediOES(GLenum target, GLuint index); +BlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFunciOES(GLuint buf, GLenum src, GLenum dst); +ANGLE_EXPORT void GL_APIENTRY +ColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +ANGLE_EXPORT void GL_APIENTRY DisableiOES(GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EnableiOES(GLenum target, GLuint index); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnablediOES(GLenum target, GLuint index); // GL_OES_draw_elements_base_vertex -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertexOES(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedBaseVertexOES(GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexOES(GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertexOES(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertexOES(GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertexOES(GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); // GL_OES_draw_texture ANGLE_EXPORT void GL_APIENTRY -GL_DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexfvOES(const GLfloat *coords); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexivOES(const GLint *coords); +DrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); +ANGLE_EXPORT void GL_APIENTRY DrawTexfvOES(const GLfloat *coords); +ANGLE_EXPORT void GL_APIENTRY DrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height); +ANGLE_EXPORT void GL_APIENTRY DrawTexivOES(const GLint *coords); ANGLE_EXPORT void GL_APIENTRY -GL_DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexsvOES(const GLshort *coords); +DrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); +ANGLE_EXPORT void GL_APIENTRY DrawTexsvOES(const GLshort *coords); ANGLE_EXPORT void GL_APIENTRY -GL_DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexxvOES(const GLfixed *coords); +DrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); +ANGLE_EXPORT void GL_APIENTRY DrawTexxvOES(const GLfixed *coords); // GL_OES_framebuffer_object -ANGLE_EXPORT void GL_APIENTRY GL_BindFramebufferOES(GLenum target, GLuint framebuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindRenderbufferOES(GLenum target, GLuint renderbuffer); -ANGLE_EXPORT GLenum GL_APIENTRY GL_CheckFramebufferStatusOES(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferRenderbufferOES(GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2DOES(GLenum target, +ANGLE_EXPORT void GL_APIENTRY BindFramebufferOES(GLenum target, GLuint framebuffer); +ANGLE_EXPORT void GL_APIENTRY BindRenderbufferOES(GLenum target, GLuint renderbuffer); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatusOES(GLenum target); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbufferOES(GLenum target, GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_GenFramebuffersOES(GLsizei n, GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenRenderbuffersOES(GLsizei n, GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenerateMipmapOES(GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferAttachmentParameterivOES(GLenum target, - GLenum attachment, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameterivOES(GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFramebufferOES(GLuint framebuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsRenderbufferOES(GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageOES(GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height); + GLenum renderbuffertarget, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DOES(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffersOES(GLsizei n, GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffersOES(GLsizei n, GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY GenerateMipmapOES(GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivOES(GLenum target, + GLenum attachment, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivOES(GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebufferOES(GLuint framebuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbufferOES(GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageOES(GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); // GL_OES_get_program_binary -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramBinaryOES(GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramBinaryOES(GLuint program, - GLenum binaryFormat, - const void *binary, - GLint length); +ANGLE_EXPORT void GL_APIENTRY GetProgramBinaryOES(GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary); +ANGLE_EXPORT void GL_APIENTRY ProgramBinaryOES(GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length); // GL_OES_mapbuffer -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointervOES(GLenum target, GLenum pname, void **params); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferOES(GLenum target, GLenum access); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_UnmapBufferOES(GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervOES(GLenum target, GLenum pname, void **params); +ANGLE_EXPORT void *GL_APIENTRY MapBufferOES(GLenum target, GLenum access); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBufferOES(GLenum target); // GL_OES_matrix_palette -ANGLE_EXPORT void GL_APIENTRY GL_CurrentPaletteMatrixOES(GLuint matrixpaletteindex); -ANGLE_EXPORT void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOES(); -ANGLE_EXPORT void GL_APIENTRY GL_MatrixIndexPointerOES(GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_WeightPointerOES(GLint size, - GLenum type, - GLsizei stride, - const void *pointer); +ANGLE_EXPORT void GL_APIENTRY CurrentPaletteMatrixOES(GLuint matrixpaletteindex); +ANGLE_EXPORT void GL_APIENTRY LoadPaletteFromModelViewMatrixOES(); +ANGLE_EXPORT void GL_APIENTRY MatrixIndexPointerOES(GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY WeightPointerOES(GLint size, + GLenum type, + GLsizei stride, + const void *pointer); // GL_OES_point_size_array -ANGLE_EXPORT void GL_APIENTRY GL_PointSizePointerOES(GLenum type, - GLsizei stride, - const void *pointer); +ANGLE_EXPORT void GL_APIENTRY PointSizePointerOES(GLenum type, GLsizei stride, const void *pointer); // GL_OES_query_matrix -ANGLE_EXPORT GLbitfield GL_APIENTRY GL_QueryMatrixxOES(GLfixed *mantissa, GLint *exponent); +ANGLE_EXPORT GLbitfield GL_APIENTRY QueryMatrixxOES(GLfixed *mantissa, GLint *exponent); // GL_OES_sample_shading -ANGLE_EXPORT void GL_APIENTRY GL_MinSampleShadingOES(GLfloat value); - -// GL_OES_shader_io_blocks +ANGLE_EXPORT void GL_APIENTRY MinSampleShadingOES(GLfloat value); // GL_OES_texture_3D -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DOES(GLenum target, +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DOES(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DOES(GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, + GLenum format, GLsizei imageSize, const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DOES(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage3DOES(GLenum target, +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage3DOES(GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture3DOES(GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture3DOES(GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLint zoffset); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DOES(GLenum target, + GLint zoffset); +ANGLE_EXPORT void GL_APIENTRY TexImage3DOES(GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DOES(GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, GLenum format, GLenum type, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DOES(GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels); // GL_OES_texture_border_clamp -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivOES(GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivOES(GLuint sampler, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivOES(GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivOES(GLenum target, +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivOES(GLuint sampler, GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivOES(GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivOES(GLuint sampler, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivOES(GLuint sampler, GLenum pname, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivOES(GLenum target, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivOES(GLenum target, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivOES(GLenum target, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivOES(GLenum target, GLenum pname, GLuint *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivOES(GLuint sampler, GLenum pname, - const GLuint *params); + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivOES(GLuint sampler, + GLenum pname, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY TexParameterIivOES(GLenum target, GLenum pname, const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivOES(GLenum target, + GLenum pname, + const GLuint *params); // GL_OES_texture_buffer -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferOES(GLenum target, GLenum internalformat, GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeOES(GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY TexBufferOES(GLenum target, GLenum internalformat, GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY TexBufferRangeOES(GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); // GL_OES_texture_cube_map -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenfOES(GLenum coord, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGeniOES(GLenum coord, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenivOES(GLenum coord, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenxOES(GLenum coord, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenivOES(GLenum coord, GLenum pname, GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexGenfOES(GLenum coord, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexGeniOES(GLenum coord, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY TexGenivOES(GLenum coord, GLenum pname, const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexGenxOES(GLenum coord, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params); // GL_OES_texture_cube_map_array @@ -1497,207 +1256,183 @@ ANGLE_EXPORT void GL_APIENTRY GL_TexGenxvOES(GLenum coord, GLenum pname, const G // GL_OES_texture_stencil8 // GL_OES_texture_storage_multisample_2d_array -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3DMultisampleOES(GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DMultisampleOES(GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations); // GL_OES_vertex_array_object -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexArrayOES(GLuint array); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteVertexArraysOES(GLsizei n, const GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_GenVertexArraysOES(GLsizei n, GLuint *arrays); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsVertexArrayOES(GLuint array); +ANGLE_EXPORT void GL_APIENTRY BindVertexArrayOES(GLuint array); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysOES(GLsizei n, const GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY GenVertexArraysOES(GLsizei n, GLuint *arrays); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayOES(GLuint array); // GL_OVR_multiview -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureMultiviewOVR(GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint baseViewIndex, - GLsizei numViews); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureMultiviewOVR(GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews); // GL_OVR_multiview2 // EGL_ANGLE_explicit_context -ANGLE_EXPORT void GL_APIENTRY GL_ActiveShaderProgramContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ActiveShaderProgramEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); -ANGLE_EXPORT void GL_APIENTRY GL_AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref); -ANGLE_EXPORT void GL_APIENTRY GL_AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref); -ANGLE_EXPORT void GL_APIENTRY GL_AttachShaderContextANGLE(GLeglContext ctx, - GLuint program, - GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_BeginQueryEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_BeginTransformFeedbackContextANGLE(GLeglContext ctx, - GLenum primitiveMode); -ANGLE_EXPORT void GL_APIENTRY GL_BindAttribLocationContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_BindBufferContextANGLE(GLeglContext ctx, - GLenum target, - GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindBufferBaseContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindBufferRangeContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY ActiveShaderProgramContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLuint program); +ANGLE_EXPORT void GL_APIENTRY ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +ANGLE_EXPORT void GL_APIENTRY AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref); +ANGLE_EXPORT void GL_APIENTRY AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref); +ANGLE_EXPORT void GL_APIENTRY AttachShaderContextANGLE(GLeglContext ctx, + GLuint program, + GLuint shader); +ANGLE_EXPORT void GL_APIENTRY BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BeginTransformFeedbackContextANGLE(GLeglContext ctx, + GLenum primitiveMode); +ANGLE_EXPORT void GL_APIENTRY BindAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, GLuint index, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_BindFragDataLocationEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLuint color, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_BindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLuint colorNumber, - GLuint index, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_BindFramebufferContextANGLE(GLeglContext ctx, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindBufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY BindBufferBaseContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY BindBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY BindFragDataLocationEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLuint color, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLuint colorNumber, + GLuint index, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint framebuffer); +ANGLE_EXPORT void GL_APIENTRY BindFramebufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindFramebufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint framebuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindImageTextureContextANGLE(GLeglContext ctx, - GLuint unit, - GLuint texture, - GLint level, - GLboolean layered, - GLint layer, - GLenum access, - GLenum format); -ANGLE_EXPORT void GL_APIENTRY GL_BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_BindProgramPipelineEXTContextANGLE(GLeglContext ctx, - GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_BindRenderbufferContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BindImageTextureContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format); +ANGLE_EXPORT void GL_APIENTRY BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY BindRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY BindRenderbufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindRenderbufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_BindSamplerContextANGLE(GLeglContext ctx, - GLuint unit, - GLuint sampler); -ANGLE_EXPORT void GL_APIENTRY GL_BindTextureContextANGLE(GLeglContext ctx, - GLenum target, - GLuint texture); -ANGLE_EXPORT void GL_APIENTRY GL_BindTransformFeedbackContextANGLE(GLeglContext ctx, - GLenum target, - GLuint id); -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array); -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); -ANGLE_EXPORT void GL_APIENTRY GL_BindVertexBufferContextANGLE(GLeglContext ctx, - GLuint bindingindex, - GLuint buffer, - GLintptr offset, - GLsizei stride); -ANGLE_EXPORT void GL_APIENTRY GL_BlendBarrierContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_BlendBarrierKHRContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_BlendColorContextANGLE(GLeglContext ctx, - GLfloat red, - GLfloat green, - GLfloat blue, - GLfloat alpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateContextANGLE(GLeglContext ctx, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateiContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BindSamplerContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint sampler); +ANGLE_EXPORT void GL_APIENTRY BindTextureContextANGLE(GLeglContext ctx, + GLenum target, + GLuint texture); +ANGLE_EXPORT void GL_APIENTRY BindTransformFeedbackContextANGLE(GLeglContext ctx, + GLenum target, + GLuint id); +ANGLE_EXPORT void GL_APIENTRY BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY BindVertexBufferContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride); +ANGLE_EXPORT void GL_APIENTRY BlendBarrierContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY +BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateContextANGLE(GLeglContext ctx, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateiContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum modeRGB, - GLenum modeAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationiContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateiOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationiContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY BlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationiEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationiOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncContextANGLE(GLeglContext ctx, - GLenum sfactor, - GLenum dfactor); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateContextANGLE(GLeglContext ctx, - GLenum sfactorRGB, - GLenum dfactorRGB, - GLenum sfactorAlpha, - GLenum dfactorAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateiContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BlendEquationiOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum mode); +ANGLE_EXPORT void GL_APIENTRY BlendFuncContextANGLE(GLeglContext ctx, + GLenum sfactor, + GLenum dfactor); +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparateContextANGLE(GLeglContext ctx, + GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparateiContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum srcRGB, + GLenum dstRGB, + GLenum srcAlpha, + GLenum dstAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum srcRGB, - GLenum dstRGB, - GLenum srcAlpha, - GLenum dstAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunciContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparateiOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum srcRGB, + GLenum dstRGB, + GLenum srcAlpha, + GLenum dstAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFunciContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum src, + GLenum dst); +ANGLE_EXPORT void GL_APIENTRY BlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunciEXTContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum src, - GLenum dst); -ANGLE_EXPORT void GL_APIENTRY GL_BlendFunciOESContextANGLE(GLeglContext ctx, - GLuint buf, - GLenum src, - GLenum dst); -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferANGLEContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter); -ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferNVContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BlendFunciOESContextANGLE(GLeglContext ctx, + GLuint buf, + GLenum src, + GLenum dst); +ANGLE_EXPORT void GL_APIENTRY BlitFramebufferContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); +ANGLE_EXPORT void GL_APIENTRY BlitFramebufferANGLEContextANGLE(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, @@ -1708,127 +1443,127 @@ ANGLE_EXPORT void GL_APIENTRY GL_BlitFramebufferNVContextANGLE(GLeglContext ctx, GLint dstY1, GLbitfield mask, GLenum filter); -ANGLE_EXPORT void GL_APIENTRY GL_BufferDataContextANGLE(GLeglContext ctx, - GLenum target, - GLsizeiptr size, - const void *data, - GLenum usage); -ANGLE_EXPORT void GL_APIENTRY GL_BufferStorageEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BufferDataContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage); +ANGLE_EXPORT void GL_APIENTRY BufferStorageEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY +BufferStorageExternalEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY BufferStorageMemEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizeiptr size, - const void *data, - GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY -GL_BufferStorageExternalEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY GL_BufferStorageMemEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizeiptr size, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_BufferSubDataContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr size, - const void *data); -ANGLE_EXPORT GLenum GL_APIENTRY GL_CheckFramebufferStatusContextANGLE(GLeglContext ctx, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY BufferSubDataContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT GLenum GL_APIENTRY GL_CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, - GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_ClearContextANGLE(GLeglContext ctx, GLbitfield mask); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfiContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - GLfloat depth, - GLint stencil); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfvContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferivContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferuivContextANGLE(GLeglContext ctx, - GLenum buffer, - GLint drawbuffer, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ClearColorContextANGLE(GLeglContext ctx, - GLfloat red, - GLfloat green, - GLfloat blue, - GLfloat alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ClearColorxContextANGLE(GLeglContext ctx, - GLfixed red, - GLfixed green, - GLfixed blue, - GLfixed alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d); -ANGLE_EXPORT void GL_APIENTRY GL_ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth); -ANGLE_EXPORT void GL_APIENTRY GL_ClearStencilContextANGLE(GLeglContext ctx, GLint s); -ANGLE_EXPORT void GL_APIENTRY GL_ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); -ANGLE_EXPORT GLenum GL_APIENTRY GL_ClientWaitSyncContextANGLE(GLeglContext ctx, - GLsync sync, - GLbitfield flags, - GLuint64 timeout); -ANGLE_EXPORT void GL_APIENTRY GL_ClipControlEXTContextANGLE(GLeglContext ctx, - GLenum origin, - GLenum depth); -ANGLE_EXPORT void GL_APIENTRY GL_ClipPlanefContextANGLE(GLeglContext ctx, - GLenum p, - const GLfloat *eqn); -ANGLE_EXPORT void GL_APIENTRY GL_ClipPlanexContextANGLE(GLeglContext ctx, - GLenum plane, - const GLfixed *equation); +ANGLE_EXPORT void GL_APIENTRY ClearContextANGLE(GLeglContext ctx, GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfiContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfvContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferuivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLuint *value); ANGLE_EXPORT void GL_APIENTRY -GL_Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); ANGLE_EXPORT void GL_APIENTRY -GL_Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +ClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d); +ANGLE_EXPORT void GL_APIENTRY ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth); +ANGLE_EXPORT void GL_APIENTRY ClearStencilContextANGLE(GLeglContext ctx, GLint s); +ANGLE_EXPORT void GL_APIENTRY ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +ANGLE_EXPORT GLenum GL_APIENTRY ClientWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout); +ANGLE_EXPORT void GL_APIENTRY ClipPlanefContextANGLE(GLeglContext ctx, + GLenum p, + const GLfloat *eqn); +ANGLE_EXPORT void GL_APIENTRY ClipPlanexContextANGLE(GLeglContext ctx, + GLenum plane, + const GLfixed *equation); ANGLE_EXPORT void GL_APIENTRY -GL_Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ColorMaskContextANGLE(GLeglContext ctx, - GLboolean red, - GLboolean green, - GLboolean blue, - GLboolean alpha); -ANGLE_EXPORT void GL_APIENTRY GL_ColorMaskiContextANGLE(GLeglContext ctx, +Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY +Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +ANGLE_EXPORT void GL_APIENTRY +Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ColorMaskContextANGLE(GLeglContext ctx, + GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha); +ANGLE_EXPORT void GL_APIENTRY ColorMaskiContextANGLE(GLeglContext ctx, + GLuint index, + GLboolean r, + GLboolean g, + GLboolean b, + GLboolean a); +ANGLE_EXPORT void GL_APIENTRY ColorMaskiEXTContextANGLE(GLeglContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_ColorMaskiEXTContextANGLE(GLeglContext ctx, - GLuint index, - GLboolean r, - GLboolean g, - GLboolean b, - GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_ColorMaskiOESContextANGLE(GLeglContext ctx, - GLuint index, - GLboolean r, - GLboolean g, - GLboolean b, - GLboolean a); -ANGLE_EXPORT void GL_APIENTRY GL_ColorPointerContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_CompileShaderContextANGLE(GLeglContext ctx, GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ColorMaskiOESContextANGLE(GLeglContext ctx, + GLuint index, + GLboolean r, + GLboolean g, + GLboolean b, + GLboolean a); +ANGLE_EXPORT void GL_APIENTRY ColorPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY CompileShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, @@ -1838,27 +1573,29 @@ ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DContextANGLE(GLeglContext c GLint border, GLsizei imageSize, const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, @@ -1870,25 +1607,29 @@ ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DContextANGLE(GLeglContex GLenum format, GLsizei imageSize, const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - const void *data); -ANGLE_EXPORT void GL_APIENTRY GL_CopyBufferSubDataContextANGLE(GLeglContext ctx, - GLenum readTarget, - GLenum writeTarget, - GLintptr readOffset, - GLintptr writeOffset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY CopyBufferSubDataContextANGLE(GLeglContext ctx, + GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY CopyImageSubDataContextANGLE(GLeglContext ctx, + GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth); +ANGLE_EXPORT void GL_APIENTRY CopyImageSubDataEXTContextANGLE(GLeglContext ctx, GLuint srcName, GLenum srcTarget, GLint srcLevel, @@ -1904,57 +1645,51 @@ ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataContextANGLE(GLeglContext ctx, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataEXTContextANGLE(GLeglContext ctx, - GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth); -ANGLE_EXPORT void GL_APIENTRY GL_CopyImageSubDataOESContextANGLE(GLeglContext ctx, - GLuint srcName, - GLenum srcTarget, - GLint srcLevel, - GLint srcX, - GLint srcY, - GLint srcZ, - GLuint dstName, - GLenum dstTarget, - GLint dstLevel, - GLint dstX, - GLint dstY, - GLint dstZ, - GLsizei srcWidth, - GLsizei srcHeight, - GLsizei srcDepth); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexImage2DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY CopyImageSubDataOESContextANGLE(GLeglContext ctx, + GLuint srcName, + GLenum srcTarget, + GLint srcLevel, + GLint srcX, + GLint srcY, + GLint srcZ, + GLuint dstName, + GLenum dstTarget, + GLint dstLevel, + GLint dstX, + GLint dstY, + GLint dstZ, + GLsizei srcWidth, + GLsizei srcHeight, + GLsizei srcDepth); +ANGLE_EXPORT void GL_APIENTRY CopyTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, GLint x, GLint y, GLsizei width, - GLsizei height, - GLint border); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, @@ -1964,254 +1699,240 @@ ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage3DContextANGLE(GLeglContext ctx, GLint y, GLsizei width, GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_CreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *memoryObjects); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateProgramContextANGLE(GLeglContext ctx); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderContextANGLE(GLeglContext ctx, GLenum type); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderProgramvContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei count, - const GLchar *const *strings); -ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderProgramvEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei count, - const GLchar **strings); -ANGLE_EXPORT void GL_APIENTRY GL_CullFaceContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, - GLuint matrixpaletteindex); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageCallbackContextANGLE(GLeglContext ctx, - GLDEBUGPROC callback, +ANGLE_EXPORT void GL_APIENTRY CreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *memoryObjects); +ANGLE_EXPORT GLuint GL_APIENTRY CreateProgramContextANGLE(GLeglContext ctx); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShaderContextANGLE(GLeglContext ctx, GLenum type); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShaderProgramvContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei count, + const GLchar *const *strings); +ANGLE_EXPORT void GL_APIENTRY CullFaceContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, + GLuint matrixpaletteindex); +ANGLE_EXPORT void GL_APIENTRY DebugMessageCallbackContextANGLE(GLeglContext ctx, + GLDEBUGPROC callback, + const void *userParam); +ANGLE_EXPORT void GL_APIENTRY DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, + GLDEBUGPROCKHR callback, const void *userParam); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, - GLDEBUGPROCKHR callback, - const void *userParam); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageControlContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DebugMessageControlContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled); +ANGLE_EXPORT void GL_APIENTRY DebugMessageControlKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageControlKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLenum severity, - GLsizei count, - const GLuint *ids, - GLboolean enabled); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageInsertContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DebugMessageInsertContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf); +ANGLE_EXPORT void GL_APIENTRY DebugMessageInsertKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -ANGLE_EXPORT void GL_APIENTRY GL_DebugMessageInsertKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLenum type, - GLuint id, - GLenum severity, - GLsizei length, - const GLchar *buf); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteBuffersContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *buffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFencesNVContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *fences); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFramebuffersContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DeleteBuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY DeleteFencesNVContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteFramebuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *memoryObjects); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramContextANGLE(GLeglContext ctx, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramPipelinesContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteQueriesContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *memoryObjects); +ANGLE_EXPORT void GL_APIENTRY DeleteProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY DeleteProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY DeleteQueriesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteQueriesEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, - const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteRenderbuffersContextANGLE(GLeglContext ctx, + const GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSamplersContextANGLE(GLeglContext ctx, - GLsizei count, - const GLuint *samplers); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSemaphoresEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *semaphores); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteTexturesContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *textures); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteVertexArraysContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DeleteSamplersContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY DeleteSemaphoresEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *semaphores); +ANGLE_EXPORT void GL_APIENTRY DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync); +ANGLE_EXPORT void GL_APIENTRY DeleteTexturesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_DeleteVertexArraysOESContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_DepthFuncContextANGLE(GLeglContext ctx, GLenum func); -ANGLE_EXPORT void GL_APIENTRY GL_DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag); -ANGLE_EXPORT void GL_APIENTRY GL_DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f); -ANGLE_EXPORT void GL_APIENTRY GL_DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_DetachShaderContextANGLE(GLeglContext ctx, - GLuint program, - GLuint shader); -ANGLE_EXPORT void GL_APIENTRY GL_DisableContextANGLE(GLeglContext ctx, GLenum cap); -ANGLE_EXPORT void GL_APIENTRY GL_DisableClientStateContextANGLE(GLeglContext ctx, GLenum array); -ANGLE_EXPORT void GL_APIENTRY GL_DisableVertexAttribArrayContextANGLE(GLeglContext ctx, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DisableiContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DepthFuncContextANGLE(GLeglContext ctx, GLenum func); +ANGLE_EXPORT void GL_APIENTRY DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag); +ANGLE_EXPORT void GL_APIENTRY DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f); +ANGLE_EXPORT void GL_APIENTRY DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f); +ANGLE_EXPORT void GL_APIENTRY DetachShaderContextANGLE(GLeglContext ctx, + GLuint program, + GLuint shader); +ANGLE_EXPORT void GL_APIENTRY DisableContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT void GL_APIENTRY DisableClientStateContextANGLE(GLeglContext ctx, GLenum array); +ANGLE_EXPORT void GL_APIENTRY DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +ANGLE_EXPORT void GL_APIENTRY DisableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY DisableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DisableiEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DisableiOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_DiscardFramebufferEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei numAttachments, - const GLenum *attachments); -ANGLE_EXPORT void GL_APIENTRY GL_DispatchComputeContextANGLE(GLeglContext ctx, - GLuint num_groups_x, - GLuint num_groups_y, - GLuint num_groups_z); -ANGLE_EXPORT void GL_APIENTRY GL_DispatchComputeIndirectContextANGLE(GLeglContext ctx, - GLintptr indirect); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysIndirectContextANGLE(GLeglContext ctx, - GLenum mode, - const void *indirect); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DisableiOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index); +ANGLE_EXPORT void GL_APIENTRY DiscardFramebufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY DispatchComputeContextANGLE(GLeglContext ctx, + GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z); +ANGLE_EXPORT void GL_APIENTRY DispatchComputeIndirectContextANGLE(GLeglContext ctx, + GLintptr indirect); +ANGLE_EXPORT void GL_APIENTRY DrawArraysContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count); +ANGLE_EXPORT void GL_APIENTRY DrawArraysIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + const void *indirect); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedEXTContextANGLE(GLeglContext ctx, GLenum mode, - GLint first, + GLint start, GLsizei count, - GLsizei instancecount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysInstancedEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLint start, - GLsizei count, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawBuffersContextANGLE(GLeglContext ctx, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawBuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLenum *bufs); +ANGLE_EXPORT void GL_APIENTRY DrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs); -ANGLE_EXPORT void GL_APIENTRY GL_DrawBuffersEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLenum *bufs); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertexContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DrawElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertexContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsIndirectContextANGLE(GLeglContext ctx, - GLenum mode, - GLenum type, - const void *indirect); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + GLenum type, + const void *indirect); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY -GL_DrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY -GL_DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const void *indices, - GLsizei instancecount, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedEXTContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, GLenum mode, + GLuint start, + GLuint end, GLsizei count, GLenum type, const void *indices, - GLsizei primcount); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, GLenum mode, GLuint start, GLuint end, @@ -2219,287 +1940,272 @@ ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexContextANGLE(GLeglCo GLenum type, const void *indices, GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, - GLenum mode, - GLuint start, - GLuint end, - GLsizei count, - GLenum type, - const void *indices, - GLint basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexfOESContextANGLE(GLeglContext ctx, - GLfloat x, - GLfloat y, - GLfloat z, - GLfloat width, - GLfloat height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices, + GLint basevertex); +ANGLE_EXPORT void GL_APIENTRY DrawTexfOESContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat width, + GLfloat height); +ANGLE_EXPORT void GL_APIENTRY DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords); ANGLE_EXPORT void GL_APIENTRY -GL_DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexsOESContextANGLE(GLeglContext ctx, - GLshort x, - GLshort y, - GLshort z, - GLshort width, - GLshort height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexxOESContextANGLE(GLeglContext ctx, - GLfixed x, - GLfixed y, - GLfixed z, - GLfixed width, - GLfixed height); -ANGLE_EXPORT void GL_APIENTRY GL_DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords); -ANGLE_EXPORT void GL_APIENTRY -GL_EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, - GLenum target, - GLeglImageOES image); -ANGLE_EXPORT void GL_APIENTRY GL_EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLeglImageOES image); -ANGLE_EXPORT void GL_APIENTRY GL_EnableContextANGLE(GLeglContext ctx, GLenum cap); -ANGLE_EXPORT void GL_APIENTRY GL_EnableClientStateContextANGLE(GLeglContext ctx, GLenum array); -ANGLE_EXPORT void GL_APIENTRY GL_EnableVertexAttribArrayContextANGLE(GLeglContext ctx, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EnableiEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EnableiOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_EndQueryContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_EndTransformFeedbackContextANGLE(GLeglContext ctx); -ANGLE_EXPORT GLsync GL_APIENTRY GL_FenceSyncContextANGLE(GLeglContext ctx, - GLenum condition, - GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY GL_FinishContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence); -ANGLE_EXPORT void GL_APIENTRY GL_FlushContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_FlushMappedBufferRangeContextANGLE(GLeglContext ctx, +DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height); +ANGLE_EXPORT void GL_APIENTRY DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords); +ANGLE_EXPORT void GL_APIENTRY DrawTexsOESContextANGLE(GLeglContext ctx, + GLshort x, + GLshort y, + GLshort z, + GLshort width, + GLshort height); +ANGLE_EXPORT void GL_APIENTRY DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords); +ANGLE_EXPORT void GL_APIENTRY DrawTexxOESContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z, + GLfixed width, + GLfixed height); +ANGLE_EXPORT void GL_APIENTRY DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EnableContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT void GL_APIENTRY EnableClientStateContextANGLE(GLeglContext ctx, GLenum array); +ANGLE_EXPORT void GL_APIENTRY EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EnableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EnableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EndQueryContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY EndTransformFeedbackContextANGLE(GLeglContext ctx); +ANGLE_EXPORT GLsync GL_APIENTRY FenceSyncContextANGLE(GLeglContext ctx, + GLenum condition, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY FinishContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT void GL_APIENTRY FlushContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); -ANGLE_EXPORT void GL_APIENTRY GL_FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length); -ANGLE_EXPORT void GL_APIENTRY GL_FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_FogfvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_FogxvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferFetchBarrierEXTContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferParameteriContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferRenderbufferContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY FogfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY FogxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY FramebufferParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum renderbuffertarget, - GLuint renderbuffer); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLsizei samples); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLsizei samples); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture2DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTexture3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum textarget, - GLuint texture, - GLint level, - GLint zoffset); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureLayerContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint layer); -ANGLE_EXPORT void GL_APIENTRY GL_FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLuint texture, - GLint level, - GLint baseViewIndex, - GLsizei numViews); -ANGLE_EXPORT void GL_APIENTRY GL_FrontFaceContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_FrustumfContextANGLE(GLeglContext ctx, - GLfloat l, - GLfloat r, - GLfloat b, - GLfloat t, - GLfloat n, - GLfloat f); -ANGLE_EXPORT void GL_APIENTRY GL_FrustumxContextANGLE(GLeglContext ctx, - GLfixed l, - GLfixed r, - GLfixed b, - GLfixed t, - GLfixed n, - GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_GenBuffersContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *buffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenFencesNVContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *fences); -ANGLE_EXPORT void GL_APIENTRY GL_GenFramebuffersContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture3DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level, + GLint zoffset); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureLayerContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint layer); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews); +ANGLE_EXPORT void GL_APIENTRY FrontFaceContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY FrustumfContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f); +ANGLE_EXPORT void GL_APIENTRY FrustumxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f); +ANGLE_EXPORT void GL_APIENTRY GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenFramebuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *framebuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenProgramPipelinesContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_GenProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *pipelines); -ANGLE_EXPORT void GL_APIENTRY GL_GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GenQueriesEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GenProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, - GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GenRenderbuffersContextANGLE(GLeglContext ctx, + GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenRenderbuffersOESContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *renderbuffers); -ANGLE_EXPORT void GL_APIENTRY GL_GenSamplersContextANGLE(GLeglContext ctx, - GLsizei count, - GLuint *samplers); -ANGLE_EXPORT void GL_APIENTRY GL_GenSemaphoresEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *semaphores); -ANGLE_EXPORT void GL_APIENTRY GL_GenTexturesContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *textures); -ANGLE_EXPORT void GL_APIENTRY GL_GenTransformFeedbacksContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *ids); -ANGLE_EXPORT void GL_APIENTRY GL_GenVertexArraysContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GenSamplersContextANGLE(GLeglContext ctx, + GLsizei count, + GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY GenSemaphoresEXTContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *semaphores); +ANGLE_EXPORT void GL_APIENTRY GenTexturesContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY GenTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenVertexArraysContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY GenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_GenVertexArraysOESContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *arrays); -ANGLE_EXPORT void GL_APIENTRY GL_GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveAttribContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLsizei bufSize, - GLsizei *length, - GLchar *uniformBlockName); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformBlockivContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniformsivContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei uniformCount, - const GLuint *uniformIndices, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetAttachedShadersContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei maxCount, - GLsizei *count, - GLuint *shaders); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetAttribLocationContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleani_vContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetActiveAttribContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformContextANGLE(GLeglContext ctx, + GLuint program, GLuint index, - GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleanvContextANGLE(GLeglContext ctx, - GLenum pname, - GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameteri64vContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameterivContextANGLE(GLeglContext ctx, - GLenum target, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockivContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointervContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformsivContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetAttachedShadersContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders); +ANGLE_EXPORT GLint GL_APIENTRY GetAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetBooleanvContextANGLE(GLeglContext ctx, + GLenum pname, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64vContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointervOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetClipPlanefContextANGLE(GLeglContext ctx, - GLenum plane, - GLfloat *equation); -ANGLE_EXPORT void GL_APIENTRY GL_GetClipPlanexContextANGLE(GLeglContext ctx, - GLenum plane, - GLfixed *equation); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetClipPlanefContextANGLE(GLeglContext ctx, + GLenum plane, + GLfloat *equation); +ANGLE_EXPORT void GL_APIENTRY GetClipPlanexContextANGLE(GLeglContext ctx, + GLenum plane, + GLfixed *equation); +ANGLE_EXPORT GLuint GL_APIENTRY GetDebugMessageLogContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog); +ANGLE_EXPORT GLuint GL_APIENTRY GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, GLuint count, GLsizei bufSize, GLenum *sources, @@ -2508,1149 +2214,901 @@ ANGLE_EXPORT GLuint GL_APIENTRY GL_GetDebugMessageLogContextANGLE(GLeglContext c GLenum *severities, GLsizei *lengths, GLchar *messageLog); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, - GLuint count, - GLsizei bufSize, - GLenum *sources, - GLenum *types, - GLuint *ids, - GLenum *severities, - GLsizei *lengths, - GLchar *messageLog); -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetErrorContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_GetFenceivNVContextANGLE(GLeglContext ctx, - GLuint fence, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFixedvContextANGLE(GLeglContext ctx, +ANGLE_EXPORT GLenum GL_APIENTRY GetErrorContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY GetFenceivNVContextANGLE(GLeglContext ctx, + GLuint fence, GLenum pname, - GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFloatvContextANGLE(GLeglContext ctx, - GLenum pname, - GLfloat *data); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetFragDataIndexEXTContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetFragDataLocationContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFixedvContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data); +ANGLE_EXPORT GLint GL_APIENTRY GetFragDataIndexEXTContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetFragDataLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY -GL_GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetGraphicsResetStatusContextANGLE(GLeglContext ctx); -ANGLE_EXPORT GLenum GL_APIENTRY GL_GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64i_vContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64vContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatusContextANGLE(GLeglContext ctx); +ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vContextANGLE(GLeglContext ctx, + GLenum pname, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64vEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, GLenum pname, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegeri_vContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegervContextANGLE(GLeglContext ctx, - GLenum pname, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInternalformativContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetLightfvContextANGLE(GLeglContext ctx, - GLenum light, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetLightxvContextANGLE(GLeglContext ctx, - GLenum light, +ANGLE_EXPORT void GL_APIENTRY GetMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialfvContextANGLE(GLeglContext ctx, - GLenum face, +ANGLE_EXPORT void GL_APIENTRY GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, + GLuint memoryObject, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvContextANGLE(GLeglContext ctx, GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMaterialxvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, - GLuint memoryObject, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefvContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectLabelContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetObjectLabelContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectLabelEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectLabelKHRContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei bufSize, - GLsizei *length, - GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectPtrLabelContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetObjectPtrLabelContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei bufSize, - GLsizei *length, - GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointervContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetPointervContextANGLE(GLeglContext ctx, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointervKHRContextANGLE(GLeglContext ctx, - GLenum pname, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramBinaryContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary); +ANGLE_EXPORT void GL_APIENTRY GetProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramBinaryOESContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei bufSize, - GLsizei *length, - GLenum *binaryFormat, - void *binary); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInfoLogContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInterfaceivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineInfoLogEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineivContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineivEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLenum pname, - GLint *params); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetProgramResourceIndexContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetProgramResourceLocationContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name); -ANGLE_EXPORT GLint GL_APIENTRY -GL_GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceNameContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLuint index, +ANGLE_EXPORT void GL_APIENTRY GetProgramInfoLogContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, + GLuint pipeline, GLsizei bufSize, GLsizei *length, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLuint index, - GLsizei propCount, - const GLenum *props, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramivContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineivContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLuint GL_APIENTRY GetProgramResourceIndexContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetProgramResourceLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY +GetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceNameContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetQueryivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameterivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterfvContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum pname, - GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderInfoLogContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, - GLenum shadertype, - GLenum precisiontype, - GLint *range, - GLint *precision); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderSourceContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufSize, - GLsizei *length, - GLchar *source); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderivContextANGLE(GLeglContext ctx, - GLuint shader, - GLenum pname, - GLint *params); -ANGLE_EXPORT const GLubyte *GL_APIENTRY GL_GetStringContextANGLE(GLeglContext ctx, GLenum name); -ANGLE_EXPORT const GLubyte *GL_APIENTRY GL_GetStringiContextANGLE(GLeglContext ctx, - GLenum name, - GLuint index); -ANGLE_EXPORT void GL_APIENTRY GL_GetSyncivContextANGLE(GLeglContext ctx, - GLsync sync, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *values); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvfvContextANGLE(GLeglContext ctx, - GLenum target, + GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetShaderInfoLogContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, + GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision); +ANGLE_EXPORT void GL_APIENTRY GetShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source); +ANGLE_EXPORT void GL_APIENTRY GetShaderivContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLint *params); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetStringContextANGLE(GLeglContext ctx, GLenum name); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetStringiContextANGLE(GLeglContext ctx, + GLenum name, + GLuint index); +ANGLE_EXPORT void GL_APIENTRY GetSyncivContextANGLE(GLeglContext ctx, + GLsync sync, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *values); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvivContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY GetTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexEnvxvContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY GetTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenfvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenivOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexGenxvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, - GLuint program, - GLuint index, - GLsizei bufSize, +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufsize, GLsizei *length, - GLsizei *size, - GLenum *type, - GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei bufsize, - GLsizei *length, - GLchar *source); -ANGLE_EXPORT GLuint GL_APIENTRY GL_GetUniformBlockIndexContextANGLE(GLeglContext ctx, - GLuint program, - const GLchar *uniformBlockName); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformIndicesContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei uniformCount, - const GLchar *const *uniformNames, - GLuint *uniformIndices); -ANGLE_EXPORT GLint GL_APIENTRY GL_GetUniformLocationContextANGLE(GLeglContext ctx, + GLchar *source); +ANGLE_EXPORT GLuint GL_APIENTRY GetUniformBlockIndexContextANGLE(GLeglContext ctx, GLuint program, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformfvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformuivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUnsignedBytevEXTContextANGLE(GLeglContext ctx, - GLenum pname, - GLubyte *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLubyte *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIivContextANGLE(GLeglContext ctx, + const GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetUniformIndicesContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices); +ANGLE_EXPORT GLint GL_APIENTRY GetUniformLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetUnsignedBytevEXTContextANGLE(GLeglContext ctx, + GLenum pname, + GLubyte *data); +ANGLE_EXPORT void GL_APIENTRY GetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, + GLenum target, GLuint index, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIuivContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribPointervContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - void **pointer); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribfvContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribivContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfvContextANGLE(GLeglContext ctx, + GLubyte *data); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointervContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + void **pointer); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfvContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetnUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformuivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_ImportMemoryFdEXTContextANGLE(GLeglContext ctx, - GLuint memory, - GLuint64 size, +ANGLE_EXPORT void GL_APIENTRY GetnUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY ImportMemoryFdEXTContextANGLE(GLeglContext ctx, + GLuint memory, + GLuint64 size, + GLenum handleType, + GLint fd); +ANGLE_EXPORT void GL_APIENTRY ImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, GLenum handleType, GLint fd); -ANGLE_EXPORT void GL_APIENTRY GL_ImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum handleType, - GLint fd); -ANGLE_EXPORT void GL_APIENTRY GL_InsertEventMarkerEXTContextANGLE(GLeglContext ctx, - GLsizei length, - const GLchar *marker); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateFramebufferContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY InsertEventMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY InvalidateFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY InvalidateSubFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLsizei numAttachments, - const GLenum *attachments); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateSubFramebufferContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei numAttachments, - const GLenum *attachments, - GLint x, - GLint y, - GLsizei width, - GLsizei height); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsBufferContextANGLE(GLeglContext ctx, GLuint buffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnabledContextANGLE(GLeglContext ctx, GLenum cap); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnablediContextANGLE(GLeglContext ctx, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT GLboolean GL_APIENTRY IsBufferContextANGLE(GLeglContext ctx, GLuint buffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnabledContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnablediContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnablediEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnablediEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsEnablediOESContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFramebufferContextANGLE(GLeglContext ctx, +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnablediOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsFramebufferOESContextANGLE(GLeglContext ctx, - GLuint framebuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsMemoryObjectEXTContextANGLE(GLeglContext ctx, - GLuint memoryObject); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramContextANGLE(GLeglContext ctx, GLuint program); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramPipelineContextANGLE(GLeglContext ctx, - GLuint pipeline); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramPipelineEXTContextANGLE(GLeglContext ctx, - GLuint pipeline); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsQueryContextANGLE(GLeglContext ctx, GLuint id); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsRenderbufferContextANGLE(GLeglContext ctx, +ANGLE_EXPORT GLboolean GL_APIENTRY IsMemoryObjectEXTContextANGLE(GLeglContext ctx, + GLuint memoryObject); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQueryContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbufferContextANGLE(GLeglContext ctx, + GLuint renderbuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsRenderbufferOESContextANGLE(GLeglContext ctx, - GLuint renderbuffer); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSemaphoreEXTContextANGLE(GLeglContext ctx, - GLuint semaphore); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsShaderContextANGLE(GLeglContext ctx, GLuint shader); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsSyncContextANGLE(GLeglContext ctx, GLsync sync); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsTextureContextANGLE(GLeglContext ctx, GLuint texture); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); -ANGLE_EXPORT void GL_APIENTRY GL_LabelObjectEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelfContextANGLE(GLeglContext ctx, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelfvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelxContextANGLE(GLeglContext ctx, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_LightModelxvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY GL_LightfContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_LightfvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_LightxContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_LightxvContextANGLE(GLeglContext ctx, - GLenum light, - GLenum pname, - const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_LineWidthContextANGLE(GLeglContext ctx, GLfloat width); -ANGLE_EXPORT void GL_APIENTRY GL_LineWidthxContextANGLE(GLeglContext ctx, GLfixed width); -ANGLE_EXPORT void GL_APIENTRY GL_LinkProgramContextANGLE(GLeglContext ctx, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_LoadIdentityContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); -ANGLE_EXPORT void GL_APIENTRY GL_LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); -ANGLE_EXPORT void GL_APIENTRY GL_LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_LogicOpContextANGLE(GLeglContext ctx, GLenum opcode); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum access); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferRangeContextANGLE(GLeglContext ctx, +ANGLE_EXPORT GLboolean GL_APIENTRY IsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler); +ANGLE_EXPORT GLboolean GL_APIENTRY IsShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSyncContextANGLE(GLeglContext ctx, GLsync sync); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTextureContextANGLE(GLeglContext ctx, GLuint texture); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY LightModelfContextANGLE(GLeglContext ctx, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY LightModelfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY LightModelxContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY LightModelxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY LightfContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY LightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY LightxContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY LightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY LineWidthContextANGLE(GLeglContext ctx, GLfloat width); +ANGLE_EXPORT void GL_APIENTRY LineWidthxContextANGLE(GLeglContext ctx, GLfixed width); +ANGLE_EXPORT void GL_APIENTRY LinkProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY LoadIdentityContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY LogicOpContextANGLE(GLeglContext ctx, GLenum opcode); +ANGLE_EXPORT void *GL_APIENTRY MapBufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum access); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -ANGLE_EXPORT void *GL_APIENTRY GL_MapBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLintptr offset, - GLsizeiptr length, - GLbitfield access); -ANGLE_EXPORT void GL_APIENTRY GL_MaterialfContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_MaterialfvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_MaterialxContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_MaterialxvContextANGLE(GLeglContext ctx, - GLenum face, - GLenum pname, - const GLfixed *param); -ANGLE_EXPORT void GL_APIENTRY GL_MatrixIndexPointerOESContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_MatrixModeContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_MaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, - GLuint count); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrierByRegionContextANGLE(GLeglContext ctx, - GLbitfield barriers); -ANGLE_EXPORT void GL_APIENTRY GL_MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, - GLuint memoryObject, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_MinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value); -ANGLE_EXPORT void GL_APIENTRY GL_MinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat value); -ANGLE_EXPORT void GL_APIENTRY GL_MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); -ANGLE_EXPORT void GL_APIENTRY GL_MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY MaterialfContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY MaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY MaterialxContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY MaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY MatrixIndexPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY MatrixModeContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY MaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, + GLuint count); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrierByRegionContextANGLE(GLeglContext ctx, + GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY MemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, + GLuint memoryObject, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY MinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value); +ANGLE_EXPORT void GL_APIENTRY MinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat value); +ANGLE_EXPORT void GL_APIENTRY MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *count, + GLenum type, + const void *const *indices, + GLsizei primcount, + const GLint *basevertex); +ANGLE_EXPORT void GL_APIENTRY MultiTexCoord4fContextANGLE(GLeglContext ctx, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r, + GLfloat q); +ANGLE_EXPORT void GL_APIENTRY MultiTexCoord4xContextANGLE(GLeglContext ctx, + GLenum texture, + GLfixed s, + GLfixed t, + GLfixed r, + GLfixed q); ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *count, - GLenum type, - const void *const *indices, - GLsizei primcount, - const GLint *basevertex); -ANGLE_EXPORT void GL_APIENTRY GL_MultiTexCoord4fContextANGLE(GLeglContext ctx, - GLenum target, - GLfloat s, - GLfloat t, - GLfloat r, - GLfloat q); -ANGLE_EXPORT void GL_APIENTRY GL_MultiTexCoord4xContextANGLE(GLeglContext ctx, - GLenum texture, - GLfixed s, - GLfixed t, - GLfixed r, - GLfixed q); -ANGLE_EXPORT void GL_APIENTRY -GL_NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, - GLuint buffer, - GLintptr offset, - GLsizeiptr size, - GLeglClientBufferEXT clientBuffer, - GLbitfield flags); -ANGLE_EXPORT void GL_APIENTRY GL_Normal3fContextANGLE(GLeglContext ctx, - GLfloat nx, - GLfloat ny, - GLfloat nz); -ANGLE_EXPORT void GL_APIENTRY GL_Normal3xContextANGLE(GLeglContext ctx, - GLfixed nx, - GLfixed ny, - GLfixed nz); -ANGLE_EXPORT void GL_APIENTRY GL_NormalPointerContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectLabelContextANGLE(GLeglContext ctx, +NamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, + GLuint buffer, + GLintptr offset, + GLsizeiptr size, + GLeglClientBufferEXT clientBuffer, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY Normal3fContextANGLE(GLeglContext ctx, + GLfloat nx, + GLfloat ny, + GLfloat nz); +ANGLE_EXPORT void GL_APIENTRY Normal3xContextANGLE(GLeglContext ctx, + GLfixed nx, + GLfixed ny, + GLfixed nz); +ANGLE_EXPORT void GL_APIENTRY NormalPointerContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY ObjectLabelContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY ObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectLabelKHRContextANGLE(GLeglContext ctx, - GLenum identifier, - GLuint name, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectPtrLabelContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ObjectPtrLabelContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei length, const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, - const void *ptr, - GLsizei length, - const GLchar *label); -ANGLE_EXPORT void GL_APIENTRY GL_OrthofContextANGLE(GLeglContext ctx, - GLfloat l, - GLfloat r, - GLfloat b, - GLfloat t, - GLfloat n, - GLfloat f); -ANGLE_EXPORT void GL_APIENTRY GL_OrthoxContextANGLE(GLeglContext ctx, - GLfixed l, - GLfixed r, - GLfixed b, - GLfixed t, - GLfixed n, - GLfixed f); -ANGLE_EXPORT void GL_APIENTRY GL_PatchParameteriContextANGLE(GLeglContext ctx, - GLenum pname, - GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_PatchParameteriEXTContextANGLE(GLeglContext ctx, - GLenum pname, - GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_PauseTransformFeedbackContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_PixelStoreiContextANGLE(GLeglContext ctx, - GLenum pname, - GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterfContextANGLE(GLeglContext ctx, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterfvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterxContextANGLE(GLeglContext ctx, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_PointParameterxvContextANGLE(GLeglContext ctx, - GLenum pname, - const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_PointSizeContextANGLE(GLeglContext ctx, GLfloat size); -ANGLE_EXPORT void GL_APIENTRY GL_PointSizePointerOESContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_PointSizexContextANGLE(GLeglContext ctx, GLfixed size); -ANGLE_EXPORT void GL_APIENTRY GL_PolygonOffsetContextANGLE(GLeglContext ctx, - GLfloat factor, - GLfloat units); -ANGLE_EXPORT void GL_APIENTRY GL_PolygonOffsetxContextANGLE(GLeglContext ctx, - GLfixed factor, - GLfixed units); -ANGLE_EXPORT void GL_APIENTRY GL_PopDebugGroupContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_PopDebugGroupKHRContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_PopGroupMarkerEXTContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_PopMatrixContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); -ANGLE_EXPORT void GL_APIENTRY GL_PrimitiveBoundingBoxEXTContextANGLE(GLeglContext ctx, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramBinaryContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY OrthofContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f); +ANGLE_EXPORT void GL_APIENTRY OrthoxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f); +ANGLE_EXPORT void GL_APIENTRY PatchParameteriContextANGLE(GLeglContext ctx, + GLenum pname, + GLint value); +ANGLE_EXPORT void GL_APIENTRY PauseTransformFeedbackContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY PointParameterfContextANGLE(GLeglContext ctx, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY PointParameterfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY PointParameterxContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY PointParameterxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY PointSizeContextANGLE(GLeglContext ctx, GLfloat size); +ANGLE_EXPORT void GL_APIENTRY PointSizePointerOESContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY PointSizexContextANGLE(GLeglContext ctx, GLfixed size); +ANGLE_EXPORT void GL_APIENTRY PolygonOffsetContextANGLE(GLeglContext ctx, + GLfloat factor, + GLfloat units); +ANGLE_EXPORT void GL_APIENTRY PolygonOffsetxContextANGLE(GLeglContext ctx, + GLfixed factor, + GLfixed units); +ANGLE_EXPORT void GL_APIENTRY PopDebugGroupContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PopDebugGroupKHRContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PopGroupMarkerEXTContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PopMatrixContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PrimitiveBoundingBoxContextANGLE(GLeglContext ctx, + GLfloat minX, + GLfloat minY, + GLfloat minZ, + GLfloat minW, + GLfloat maxX, + GLfloat maxY, + GLfloat maxZ, + GLfloat maxW); +ANGLE_EXPORT void GL_APIENTRY ProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, - GLsizei length); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramBinaryOESContextANGLE(GLeglContext ctx, - GLuint program, - GLenum binaryFormat, - const void *binary, - GLint length); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramParameteriContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramParameteriEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fvEXTContextANGLE(GLeglContext ctx, + GLint length); +ANGLE_EXPORT void GL_APIENTRY ProgramParameteriContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY +ProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2, + GLint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, + GLboolean transpose, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fvEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, + GLboolean transpose, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fvEXTContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, + GLboolean transpose, const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4iContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2, - GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2, - GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4ivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uiContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uivContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_PushDebugGroupContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY PushDebugGroupContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message); +ANGLE_EXPORT void GL_APIENTRY PushDebugGroupKHRContextANGLE(GLeglContext ctx, GLenum source, GLuint id, GLsizei length, const GLchar *message); -ANGLE_EXPORT void GL_APIENTRY GL_PushDebugGroupKHRContextANGLE(GLeglContext ctx, - GLenum source, - GLuint id, - GLsizei length, - const GLchar *message); -ANGLE_EXPORT void GL_APIENTRY GL_PushGroupMarkerEXTContextANGLE(GLeglContext ctx, - GLsizei length, - const GLchar *marker); -ANGLE_EXPORT void GL_APIENTRY GL_PushMatrixContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_QueryCounterEXTContextANGLE(GLeglContext ctx, - GLuint id, - GLenum target); -ANGLE_EXPORT GLbitfield GL_APIENTRY GL_QueryMatrixxOESContextANGLE(GLeglContext ctx, - GLfixed *mantissa, - GLint *exponent); -ANGLE_EXPORT void GL_APIENTRY GL_ReadBufferContextANGLE(GLeglContext ctx, GLenum src); -ANGLE_EXPORT void GL_APIENTRY GL_ReadPixelsContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY PushGroupMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY PushMatrixContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY QueryCounterEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum target); +ANGLE_EXPORT GLbitfield GL_APIENTRY QueryMatrixxOESContextANGLE(GLeglContext ctx, + GLfixed *mantissa, + GLint *exponent); +ANGLE_EXPORT void GL_APIENTRY ReadBufferContextANGLE(GLeglContext ctx, GLenum src); +ANGLE_EXPORT void GL_APIENTRY ReadPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsEXTContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, @@ -3659,256 +3117,239 @@ ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsContextANGLE(GLeglContext ctx, GLenum type, GLsizei bufSize, void *data); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsEXTContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - void *data); -ANGLE_EXPORT void GL_APIENTRY GL_ReleaseShaderCompilerContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY ReleaseShaderCompilerContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY ResumeTransformFeedbackContextANGLE(GLeglContext ctx); ANGLE_EXPORT void GL_APIENTRY -GL_RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); +RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); ANGLE_EXPORT void GL_APIENTRY -GL_RenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_RenderbufferStorageOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_ResumeTransformFeedbackContextANGLE(GLeglContext ctx); -ANGLE_EXPORT void GL_APIENTRY -GL_RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY -GL_RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -ANGLE_EXPORT void GL_APIENTRY GL_SampleCoverageContextANGLE(GLeglContext ctx, - GLfloat value, - GLboolean invert); -ANGLE_EXPORT void GL_APIENTRY GL_SampleCoveragexContextANGLE(GLeglContext ctx, - GLclampx value, - GLboolean invert); -ANGLE_EXPORT void GL_APIENTRY GL_SampleMaskiContextANGLE(GLeglContext ctx, - GLuint maskNumber, - GLbitfield mask); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivContextANGLE(GLeglContext ctx, +RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY SampleCoverageContextANGLE(GLeglContext ctx, + GLfloat value, + GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY SampleCoveragexContextANGLE(GLeglContext ctx, + GLclampx value, + GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY SampleMaskiContextANGLE(GLeglContext ctx, + GLuint maskNumber, + GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivOESContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterfContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterfvContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLfloat *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameteriContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterivContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_ScalefContextANGLE(GLeglContext ctx, - GLfloat x, - GLfloat y, - GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_ScalexContextANGLE(GLeglContext ctx, - GLfixed x, - GLfixed y, - GLfixed z); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameteriContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); ANGLE_EXPORT void GL_APIENTRY -GL_ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_SemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum pname, - const GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_SetFenceNVContextANGLE(GLeglContext ctx, - GLuint fence, - GLenum condition); -ANGLE_EXPORT void GL_APIENTRY GL_ShadeModelContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_ShaderBinaryContextANGLE(GLeglContext ctx, - GLsizei count, - const GLuint *shaders, - GLenum binaryformat, - const void *binary, - GLsizei length); -ANGLE_EXPORT void GL_APIENTRY GL_ShaderSourceContextANGLE(GLeglContext ctx, - GLuint shader, - GLsizei count, - const GLchar *const *string, - const GLint *length); -ANGLE_EXPORT void GL_APIENTRY GL_SignalSemaphoreEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *dstLayouts); -ANGLE_EXPORT void GL_APIENTRY GL_StencilFuncContextANGLE(GLeglContext ctx, - GLenum func, - GLint ref, - GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilFuncSeparateContextANGLE(GLeglContext ctx, - GLenum face, - GLenum func, - GLint ref, - GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilMaskContextANGLE(GLeglContext ctx, GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilMaskSeparateContextANGLE(GLeglContext ctx, - GLenum face, - GLuint mask); -ANGLE_EXPORT void GL_APIENTRY GL_StencilOpContextANGLE(GLeglContext ctx, - GLenum fail, - GLenum zfail, - GLenum zpass); -ANGLE_EXPORT void GL_APIENTRY GL_StencilOpSeparateContextANGLE(GLeglContext ctx, - GLenum face, - GLenum sfail, - GLenum dpfail, - GLenum dppass); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferContextANGLE(GLeglContext ctx, +ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY SemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLenum pname, + const GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY SetFenceNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum condition); +ANGLE_EXPORT void GL_APIENTRY ShadeModelContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY ShaderBinaryContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length); +ANGLE_EXPORT void GL_APIENTRY SignalSemaphoreEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *dstLayouts); +ANGLE_EXPORT void GL_APIENTRY StencilFuncContextANGLE(GLeglContext ctx, + GLenum func, + GLint ref, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY +StencilFuncSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMaskContextANGLE(GLeglContext ctx, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMaskSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilOpContextANGLE(GLeglContext ctx, + GLenum fail, + GLenum zfail, + GLenum zpass); +ANGLE_EXPORT void GL_APIENTRY StencilOpSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass); +ANGLE_EXPORT GLboolean GL_APIENTRY TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT void GL_APIENTRY TexBufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY TexBufferEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexBufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY TexBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY TexBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_TexBufferRangeOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLuint buffer, - GLintptr offset, - GLsizeiptr size); -ANGLE_EXPORT void GL_APIENTRY GL_TexCoordPointerContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvfContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexBufferRangeOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY TexCoordPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY TexEnvfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexEnviContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY TexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexEnvxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexGenfOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvfvContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnviContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexGeniOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvivContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvxContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexGenxOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexEnvxvContextANGLE(GLeglContext ctx, - GLenum target, +ANGLE_EXPORT void GL_APIENTRY TexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, GLenum pname, const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenfOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenfvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGeniOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenivOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenxOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexGenxvOESContextANGLE(GLeglContext ctx, - GLenum coord, - GLenum pname, - const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, + GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, @@ -3916,106 +3357,94 @@ ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DContextANGLE(GLeglContext ctx, GLenum format, GLenum type, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLint border, - GLenum format, - GLenum type, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexParameterIivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivOESContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterfContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfloat param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterfvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameteriContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterivContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterxContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLfixed param); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterxvContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLfixed *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage1DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexParameterfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY TexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexStorage1DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorage2DMultisampleContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3DContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexStorage2DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorage3DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLsizei depth); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedsamplelocations); ANGLE_EXPORT void GL_APIENTRY -GL_TexStorage3DMultisampleContextANGLE(GLeglContext ctx, +TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, @@ -4023,64 +3452,67 @@ GL_TexStorage3DMultisampleContextANGLE(GLeglContext ctx, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset); ANGLE_EXPORT void GL_APIENTRY -GL_TexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, +TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, - GLenum internalformat, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY TexStorageMem3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY +TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, - GLboolean fixedsamplelocations); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem2DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMem3DEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage2DContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DContextANGLE(GLeglContext ctx, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, @@ -4092,958 +3524,930 @@ ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DContextANGLE(GLeglContext ctx, GLenum format, GLenum type, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DOESContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode); +ANGLE_EXPORT void GL_APIENTRY TranslatefContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z); +ANGLE_EXPORT void GL_APIENTRY TranslatexContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z); +ANGLE_EXPORT void GL_APIENTRY Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2iContextANGLE(GLeglContext ctx, + GLint location, + GLint v0, + GLint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2uiContextANGLE(GLeglContext ctx, + GLint location, + GLuint v0, + GLuint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); ANGLE_EXPORT void GL_APIENTRY -GL_TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, - GLuint program, - GLsizei count, - const GLchar *const *varyings, - GLenum bufferMode); -ANGLE_EXPORT void GL_APIENTRY GL_TranslatefContextANGLE(GLeglContext ctx, - GLfloat x, - GLfloat y, - GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_TranslatexContextANGLE(GLeglContext ctx, - GLfixed x, - GLfixed y, - GLfixed z); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1fContextANGLE(GLeglContext ctx, - GLint location, - GLfloat v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1uiContextANGLE(GLeglContext ctx, - GLint location, - GLuint v0); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform1uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2fContextANGLE(GLeglContext ctx, - GLint location, - GLfloat v0, - GLfloat v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2iContextANGLE(GLeglContext ctx, - GLint location, - GLint v0, - GLint v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2uiContextANGLE(GLeglContext ctx, - GLint location, - GLuint v0, - GLuint v1); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform2uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value); +Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value); +Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value); +Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform4fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform3uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4fContextANGLE(GLeglContext ctx, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLfloat *value); +Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform4uiContextANGLE(GLeglContext ctx, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY UniformBlockBindingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBufferContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY UseProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY UseProgramStagesContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLbitfield stages, + GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgramPipelineContextANGLE(GLeglContext ctx, + GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); ANGLE_EXPORT void GL_APIENTRY -GL_Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4ivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLint *value); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4uiContextANGLE(GLeglContext ctx, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3); -ANGLE_EXPORT void GL_APIENTRY GL_Uniform4uivContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - const GLuint *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformBlockBindingContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLuint uniformBlockBinding); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x2fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x3fvContextANGLE(GLeglContext ctx, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_UnmapBufferContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT GLboolean GL_APIENTRY GL_UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgramContextANGLE(GLeglContext ctx, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgramStagesContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLbitfield stages, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_UseProgramStagesEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLbitfield stages, - GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramContextANGLE(GLeglContext ctx, GLuint program); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramPipelineContextANGLE(GLeglContext ctx, - GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramPipelineEXTContextANGLE(GLeglContext ctx, - GLuint pipeline); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1fContextANGLE(GLeglContext ctx, - GLuint index, - GLfloat x); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1fvContextANGLE(GLeglContext ctx, - GLuint index, - const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2fContextANGLE(GLeglContext ctx, - GLuint index, - GLfloat x, - GLfloat y); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2fvContextANGLE(GLeglContext ctx, - GLuint index, - const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY -GL_VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3fvContextANGLE(GLeglContext ctx, - GLuint index, - const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4fContextANGLE(GLeglContext ctx, - GLuint index, - GLfloat x, - GLfloat y, - GLfloat z, - GLfloat w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4fvContextANGLE(GLeglContext ctx, - GLuint index, - const GLfloat *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribBindingContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLuint bindingindex); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisorContextANGLE(GLeglContext ctx, +VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib3fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib4fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat w); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib4fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribBindingContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLuint bindingindex); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorEXTContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLuint divisor); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribDivisorEXTContextANGLE(GLeglContext ctx, - GLuint index, - GLuint divisor); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribFormatContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLint size, - GLenum type, - GLboolean normalized, - GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY VertexAttribFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset); ANGLE_EXPORT void GL_APIENTRY -GL_VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4ivContextANGLE(GLeglContext ctx, - GLuint index, - const GLint *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4uiContextANGLE(GLeglContext ctx, - GLuint index, - GLuint x, - GLuint y, - GLuint z, - GLuint w); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribI4uivContextANGLE(GLeglContext ctx, +VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4ivContextANGLE(GLeglContext ctx, + GLuint index, + const GLint *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4uiContextANGLE(GLeglContext ctx, + GLuint index, + GLuint x, + GLuint y, + GLuint z, + GLuint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4uivContextANGLE(GLeglContext ctx, + GLuint index, + const GLuint *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribIFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY VertexAttribIPointerContextANGLE(GLeglContext ctx, GLuint index, - const GLuint *v); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribIFormatContextANGLE(GLeglContext ctx, - GLuint attribindex, - GLint size, - GLenum type, - GLuint relativeoffset); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribIPointerContextANGLE(GLeglContext ctx, - GLuint index, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribPointerContextANGLE(GLeglContext ctx, - GLuint index, - GLint size, - GLenum type, - GLboolean normalized, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_VertexBindingDivisorContextANGLE(GLeglContext ctx, - GLuint bindingindex, - GLuint divisor); -ANGLE_EXPORT void GL_APIENTRY GL_VertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY VertexAttribPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY VertexBindingDivisorContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY +ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY WaitSemaphoreEXTContextANGLE(GLeglContext ctx, + GLuint semaphore, + GLuint numBufferBarriers, + const GLuint *buffers, + GLuint numTextureBarriers, + const GLuint *textures, + const GLenum *srcLayouts); +ANGLE_EXPORT void GL_APIENTRY WaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout); +ANGLE_EXPORT void GL_APIENTRY WeightPointerOESContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); -ANGLE_EXPORT void GL_APIENTRY -GL_ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); -ANGLE_EXPORT void GL_APIENTRY GL_WaitSemaphoreEXTContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLuint numBufferBarriers, - const GLuint *buffers, - GLuint numTextureBarriers, - const GLuint *textures, - const GLenum *srcLayouts); -ANGLE_EXPORT void GL_APIENTRY GL_WaitSyncContextANGLE(GLeglContext ctx, - GLsync sync, - GLbitfield flags, - GLuint64 timeout); -ANGLE_EXPORT void GL_APIENTRY GL_WeightPointerOESContextANGLE(GLeglContext ctx, - GLint size, - GLenum type, - GLsizei stride, - const void *pointer); -ANGLE_EXPORT void GL_APIENTRY GL_BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, - GLenum components); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, + GLenum components); +ANGLE_EXPORT void GL_APIENTRY CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, - GLint internalFormat, - GLenum destType, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLuint destId); +ANGLE_EXPORT void GL_APIENTRY RequestExtensionANGLEContextANGLE(GLeglContext ctx, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY DisableExtensionANGLEContextANGLE(GLeglContext ctx, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); ANGLE_EXPORT void GL_APIENTRY -GL_CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint x, - GLint y, - GLint width, - GLint height, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLuint destId); -ANGLE_EXPORT void GL_APIENTRY GL_RequestExtensionANGLEContextANGLE(GLeglContext ctx, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_DisableExtensionANGLEContextANGLE(GLeglContext ctx, - const GLchar *name); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLboolean *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, +GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, GLenum pname, GLsizei bufSize, GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY -GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum attachment, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint shader, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, - void **pointer); -ANGLE_EXPORT void GL_APIENTRY GL_ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer); +ANGLE_EXPORT void GL_APIENTRY ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLint internalformat, + GLint xoffset, + GLint yoffset, GLsizei width, GLsizei height, - GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLint internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLenum type, - GLsizei bufSize, - const void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLenum internalformat, + GLsizei xoffset, + GLsizei yoffset, GLsizei width, GLsizei height, - GLint border, + GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLsizei xoffset, - GLsizei yoffset, - GLsizei width, - GLsizei height, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, - GLenum internalformat, + GLint xoffset, + GLint yoffset, + GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, - GLint border, + GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLsizei width, - GLsizei height, - GLsizei depth, - GLenum format, - GLsizei imageSize, - GLsizei dataSize, - const GLvoid *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum internalformat, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint index, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY -GL_GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLuint uniformBlockIndex, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLint64 *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLuint pname, - GLsizei bufSize, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLfloat *param); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY -GL_GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLenum programInterface, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLboolean *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLsizei bufSize, - GLsizei *length, - GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - void **params); -ANGLE_EXPORT void GL_APIENTRY GL_ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, - GLint x, - GLint y, - GLsizei width, - GLsizei height, - GLenum format, - GLenum type, - GLsizei bufSize, - GLsizei *length, - GLsizei *columns, - GLsizei *rows, - void *data); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, +ANGLE_EXPORT void GL_APIENTRY GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - const GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, - GLenum pname, - GLsizei bufSize, - const GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLint *param); -ANGLE_EXPORT void GL_APIENTRY GL_SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - const GLuint *param); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLuint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, + GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, - GLenum pname, - GLsizei bufSize, - GLsizei *length, - GLint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, - GLuint id, +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY +GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, - GLuint64 *params); -ANGLE_EXPORT void GL_APIENTRY GL_CopyTexture3DANGLEContextANGLE(GLeglContext ctx, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY CopyTexture3DANGLEContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, - GLint internalFormat, - GLenum destType, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLint z, + GLint width, + GLint height, + GLint depth, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); -ANGLE_EXPORT void GL_APIENTRY GL_CopySubTexture3DANGLEContextANGLE(GLeglContext ctx, - GLuint sourceId, - GLint sourceLevel, - GLenum destTarget, - GLuint destId, - GLint destLevel, - GLint xoffset, - GLint yoffset, - GLint zoffset, - GLint x, - GLint y, - GLint z, - GLint width, - GLint height, - GLint depth, - GLboolean unpackFlipY, - GLboolean unpackPremultiplyAlpha, - GLboolean unpackUnmultiplyAlpha); ANGLE_EXPORT void GL_APIENTRY -GL_TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalformat, - GLsizei width, - GLsizei height, - GLboolean fixedsamplelocations); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLint *params); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum pname, - GLfloat *params); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, +TexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY MultiDrawArraysANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY +MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY +MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY +DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instanceCount, + GLuint baseInstance); +ANGLE_EXPORT void GL_APIENTRY +DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const GLvoid *indices, + GLsizei instanceCounts, + GLint baseVertex, + GLuint baseInstance); +ANGLE_EXPORT void GL_APIENTRY +MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + const GLint *firsts, + const GLsizei *counts, + const GLsizei *instanceCounts, + const GLuint *baseInstances, + GLsizei drawcount); +ANGLE_EXPORT void GL_APIENTRY +MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, GLenum mode, - const GLint *firsts, const GLsizei *counts, + GLenum type, + const GLvoid *const *indices, + const GLsizei *instanceCounts, + const GLint *baseVertices, + const GLuint *baseInstances, GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY GL_MultiDrawElementsANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY SampleMaskiANGLEContextANGLE(GLeglContext ctx, + GLuint maskNumber, + GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY ProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY LoseContextCHROMIUMContextANGLE(GLeglContext ctx, + GLenum current, + GLenum other); +ANGLE_EXPORT void GL_APIENTRY TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type); +ANGLE_EXPORT void GL_APIENTRY InvalidateTextureANGLEContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetTexImageANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum format, + GLenum type, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum format, GLenum type, - const GLvoid *const *indices, - GLsizei drawcount); + void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - GLsizei drawcount); +TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); ANGLE_EXPORT void GL_APIENTRY -GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLint first, - GLsizei count, - GLsizei instanceCount, - GLuint baseInstance); -ANGLE_EXPORT void GL_APIENTRY -GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - GLsizei count, - GLenum type, - const GLvoid *indices, - GLsizei instanceCounts, - GLint baseVertex, - GLuint baseInstance); -ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLint *firsts, - const GLsizei *counts, - const GLsizei *instanceCounts, - const GLuint *baseInstances, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY -GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, - GLenum mode, - const GLsizei *counts, - GLenum type, - const GLvoid *const *indices, - const GLsizei *instanceCounts, - const GLint *baseVertices, - const GLuint *baseInstances, - GLsizei drawcount); -ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefvANGLEContextANGLE(GLeglContext ctx, - GLenum pname, - GLuint index, - GLfloat *val); -ANGLE_EXPORT void GL_APIENTRY GL_SampleMaskiANGLEContextANGLE(GLeglContext ctx, - GLuint maskNumber, - GLbitfield mask); -ANGLE_EXPORT void GL_APIENTRY GL_ProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mode); -ANGLE_EXPORT void GL_APIENTRY GL_LoseContextCHROMIUMContextANGLE(GLeglContext ctx, - GLenum current, - GLenum other); -ANGLE_EXPORT void GL_APIENTRY GL_TexImage2DExternalANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLint internalformat, - GLsizei width, - GLsizei height, - GLint border, - GLenum format, - GLenum type); -ANGLE_EXPORT void GL_APIENTRY GL_InvalidateTextureANGLEContextANGLE(GLeglContext ctx, - GLenum target); -ANGLE_EXPORT void GL_APIENTRY GL_GetTexImageANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLint level, - GLenum format, - GLenum type, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_GetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLenum format, - GLenum type, - void *pixels); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY GL_TexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei levels, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY -GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext ctx, - GLenum target, - GLsizei samples, - GLenum internalFormat, - GLsizei width, - GLsizei height, - GLsizei depth, - GLboolean fixedSampleLocations, - GLuint memory, - GLuint64 offset, - GLbitfield createFlags, - GLbitfield usageFlags); -ANGLE_EXPORT void GL_APIENTRY GL_ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, - GLuint memory, - GLuint64 size, +TexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalFormat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLboolean fixedSampleLocations, + GLuint memory, + GLuint64 offset, + GLbitfield createFlags, + GLbitfield usageFlags); +ANGLE_EXPORT void GL_APIENTRY ImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, + GLuint memory, + GLuint64 size, + GLenum handleType, + GLuint handle); +ANGLE_EXPORT void GL_APIENTRY ImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx, + GLuint semaphore, GLenum handleType, GLuint handle); -ANGLE_EXPORT void GL_APIENTRY GL_ImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx, - GLuint semaphore, - GLenum handleType, - GLuint handle); -} // extern "C" +} // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_EXT_AUTOGEN_H_ diff --git a/gfx/angle/checkout/src/libGLESv2/global_state.cpp b/gfx/angle/checkout/src/libGLESv2/global_state.cpp index 17070c787fad..976f853d802a 100644 --- a/gfx/angle/checkout/src/libGLESv2/global_state.cpp +++ b/gfx/angle/checkout/src/libGLESv2/global_state.cpp @@ -12,7 +12,6 @@ #include "common/platform.h" #include "common/system_utils.h" #include "libANGLE/ErrorStrings.h" -#include "libANGLE/Thread.h" #include "libGLESv2/resource.h" #include @@ -21,14 +20,12 @@ namespace egl { namespace { +Debug *g_Debug = nullptr; + ANGLE_REQUIRE_CONSTANT_INIT std::atomic g_Mutex(nullptr); static_assert(std::is_trivially_destructible::value, "global mutex is not trivially destructible"); -ANGLE_REQUIRE_CONSTANT_INIT gl::Context *g_LastContext(nullptr); -static_assert(std::is_trivially_destructible::value, - "global last context is not trivially destructible"); - void SetContextToAndroidOpenGLTLSSlot(gl::Context *value) { #if defined(ANGLE_PLATFORM_ANDROID) @@ -41,11 +38,7 @@ void SetContextToAndroidOpenGLTLSSlot(gl::Context *value) Thread *AllocateCurrentThread() { - { - // Global thread intentionally leaked - ANGLE_SCOPED_DISABLE_LSAN(); - gCurrentThread = new Thread(); - } + gCurrentThread = new Thread(); // Initialize fast TLS slot SetContextToAndroidOpenGLTLSSlot(nullptr); @@ -54,6 +47,15 @@ Thread *AllocateCurrentThread() return gCurrentThread; } +void AllocateDebug() +{ + // All EGL calls use a global lock, this is thread safe + if (g_Debug == nullptr) + { + g_Debug = new Debug(); + } +} + void AllocateMutex() { if (g_Mutex == nullptr) @@ -77,33 +79,25 @@ angle::GlobalMutex &GetGlobalMutex() return *g_Mutex; } -gl::Context *GetGlobalLastContext() -{ - return g_LastContext; -} - -void SetGlobalLastContext(gl::Context *context) -{ - g_LastContext = context; -} - Thread *GetCurrentThread() { Thread *current = gCurrentThread; return (current ? current : AllocateCurrentThread()); } +Debug *GetDebug() +{ + AllocateDebug(); + return g_Debug; +} + void SetContextCurrent(Thread *thread, gl::Context *context) { ASSERT(gCurrentThread); gCurrentThread->setCurrent(context); SetContextToAndroidOpenGLTLSSlot(context); gl::gCurrentValidContext = context; -#if defined(ANGLE_FORCE_CONTEXT_CHECK_EVERY_CALL) - DirtyContextIfNeeded(context); -#endif } - } // namespace egl namespace gl @@ -122,17 +116,23 @@ void GenerateContextLostErrorOnCurrentGlobalContext() } } // namespace gl -#if defined(ANGLE_PLATFORM_WINDOWS) && !defined(ANGLE_STATIC) +#ifdef ANGLE_PLATFORM_WINDOWS namespace egl { namespace { + void DeallocateCurrentThread() { SafeDelete(gCurrentThread); } +void DeallocateDebug() +{ + SafeDelete(g_Debug); +} + void DeallocateMutex() { angle::GlobalMutex *mutex = g_Mutex.exchange(nullptr); @@ -145,7 +145,8 @@ void DeallocateMutex() bool InitializeProcess() { - EnsureDebugAllocated(); + ASSERT(g_Debug == nullptr); + AllocateDebug(); AllocateMutex(); return AllocateCurrentThread() != nullptr; } @@ -238,4 +239,4 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID) return TRUE; } -#endif // defined(ANGLE_PLATFORM_WINDOWS) && !defined(ANGLE_STATIC) +#endif // ANGLE_PLATFORM_WINDOWS diff --git a/gfx/angle/checkout/src/libGLESv2/global_state.h b/gfx/angle/checkout/src/libGLESv2/global_state.h index c1bf27463333..b4e5ec4c814e 100644 --- a/gfx/angle/checkout/src/libGLESv2/global_state.h +++ b/gfx/angle/checkout/src/libGLESv2/global_state.h @@ -92,8 +92,6 @@ class Thread; extern thread_local Thread *gCurrentThread; angle::GlobalMutex &GetGlobalMutex(); -gl::Context *GetGlobalLastContext(); -void SetGlobalLastContext(gl::Context *context); Thread *GetCurrentThread(); Debug *GetDebug(); void SetContextCurrent(Thread *thread, gl::Context *context); @@ -140,31 +138,10 @@ ANGLE_INLINE Context *GetValidGlobalContext() void GenerateContextLostErrorOnContext(Context *context); void GenerateContextLostErrorOnCurrentGlobalContext(); -#if defined(ANGLE_FORCE_CONTEXT_CHECK_EVERY_CALL) -// TODO(b/177574181): This should be handled in a backend-specific way. -// if previous context different from current context, dirty all state -static ANGLE_INLINE void DirtyContextIfNeeded(Context *context) +ANGLE_INLINE std::unique_lock GetShareGroupLock(const Context *context) { - if (context && context != egl::GetGlobalLastContext()) - { - context->dirtyAllState(); - SetGlobalLastContext(context); - } -} - -#endif - -ANGLE_INLINE std::unique_lock GetContextLock(Context *context) -{ -#if defined(ANGLE_FORCE_CONTEXT_CHECK_EVERY_CALL) - auto lock = std::unique_lock(egl::GetGlobalMutex()); - - DirtyContextIfNeeded(context); - return lock; -#else return context->isShared() ? std::unique_lock(egl::GetGlobalMutex()) : std::unique_lock(); -#endif } } // namespace gl diff --git a/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.cpp index 7ab49c7c5d34..173745d2437c 100644 --- a/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.cpp @@ -5,7 +5,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // -// libGLESv2_autogen.cpp: Implements the exported OpenGL ES functions. +// libGLESv2.cpp: Implements the exported OpenGL ES functions. #include "angle_gl.h" @@ -23,57 +23,57 @@ extern "C" { // OpenGL ES 2.0 void GL_APIENTRY glActiveTexture(GLenum texture) { - return GL_ActiveTexture(texture); + return gl::ActiveTexture(texture); } void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) { - return GL_AttachShader(program, shader); + return gl::AttachShader(program, shader); } void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) { - return GL_BindAttribLocation(program, index, name); + return gl::BindAttribLocation(program, index, name); } void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer) { - return GL_BindBuffer(target, buffer); + return gl::BindBuffer(target, buffer); } void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer) { - return GL_BindFramebuffer(target, framebuffer); + return gl::BindFramebuffer(target, framebuffer); } void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer) { - return GL_BindRenderbuffer(target, renderbuffer); + return gl::BindRenderbuffer(target, renderbuffer); } void GL_APIENTRY glBindTexture(GLenum target, GLuint texture) { - return GL_BindTexture(target, texture); + return gl::BindTexture(target, texture); } void GL_APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_BlendColor(red, green, blue, alpha); + return gl::BlendColor(red, green, blue, alpha); } void GL_APIENTRY glBlendEquation(GLenum mode) { - return GL_BlendEquation(mode); + return gl::BlendEquation(mode); } void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparate(modeRGB, modeAlpha); + return gl::BlendEquationSeparate(modeRGB, modeAlpha); } void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor) { - return GL_BlendFunc(sfactor, dfactor); + return gl::BlendFunc(sfactor, dfactor); } void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, @@ -81,52 +81,52 @@ void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { - return GL_BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + return gl::BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage) { - return GL_BufferData(target, size, data, usage); + return gl::BufferData(target, size, data, usage); } void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data) { - return GL_BufferSubData(target, offset, size, data); + return gl::BufferSubData(target, offset, size, data); } GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target) { - return GL_CheckFramebufferStatus(target); + return gl::CheckFramebufferStatus(target); } void GL_APIENTRY glClear(GLbitfield mask) { - return GL_Clear(mask); + return gl::Clear(mask); } void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_ClearColor(red, green, blue, alpha); + return gl::ClearColor(red, green, blue, alpha); } void GL_APIENTRY glClearDepthf(GLfloat d) { - return GL_ClearDepthf(d); + return gl::ClearDepthf(d); } void GL_APIENTRY glClearStencil(GLint s) { - return GL_ClearStencil(s); + return gl::ClearStencil(s); } void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { - return GL_ColorMask(red, green, blue, alpha); + return gl::ColorMask(red, green, blue, alpha); } void GL_APIENTRY glCompileShader(GLuint shader) { - return GL_CompileShader(shader); + return gl::CompileShader(shader); } void GL_APIENTRY glCompressedTexImage2D(GLenum target, @@ -138,8 +138,8 @@ void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, - data); + return gl::CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, + data); } void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, @@ -152,8 +152,8 @@ void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, - imageSize, data); + return gl::CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, + imageSize, data); } void GL_APIENTRY glCopyTexImage2D(GLenum target, @@ -165,7 +165,7 @@ void GL_APIENTRY glCopyTexImage2D(GLenum target, GLsizei height, GLint border) { - return GL_CopyTexImage2D(target, level, internalformat, x, y, width, height, border); + return gl::CopyTexImage2D(target, level, internalformat, x, y, width, height, border); } void GL_APIENTRY glCopyTexSubImage2D(GLenum target, @@ -177,112 +177,112 @@ void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); + return gl::CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); } GLuint GL_APIENTRY glCreateProgram() { - return GL_CreateProgram(); + return gl::CreateProgram(); } GLuint GL_APIENTRY glCreateShader(GLenum type) { - return GL_CreateShader(type); + return gl::CreateShader(type); } void GL_APIENTRY glCullFace(GLenum mode) { - return GL_CullFace(mode); + return gl::CullFace(mode); } void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers) { - return GL_DeleteBuffers(n, buffers); + return gl::DeleteBuffers(n, buffers); } void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) { - return GL_DeleteFramebuffers(n, framebuffers); + return gl::DeleteFramebuffers(n, framebuffers); } void GL_APIENTRY glDeleteProgram(GLuint program) { - return GL_DeleteProgram(program); + return gl::DeleteProgram(program); } void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) { - return GL_DeleteRenderbuffers(n, renderbuffers); + return gl::DeleteRenderbuffers(n, renderbuffers); } void GL_APIENTRY glDeleteShader(GLuint shader) { - return GL_DeleteShader(shader); + return gl::DeleteShader(shader); } void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures) { - return GL_DeleteTextures(n, textures); + return gl::DeleteTextures(n, textures); } void GL_APIENTRY glDepthFunc(GLenum func) { - return GL_DepthFunc(func); + return gl::DepthFunc(func); } void GL_APIENTRY glDepthMask(GLboolean flag) { - return GL_DepthMask(flag); + return gl::DepthMask(flag); } void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f) { - return GL_DepthRangef(n, f); + return gl::DepthRangef(n, f); } void GL_APIENTRY glDetachShader(GLuint program, GLuint shader) { - return GL_DetachShader(program, shader); + return gl::DetachShader(program, shader); } void GL_APIENTRY glDisable(GLenum cap) { - return GL_Disable(cap); + return gl::Disable(cap); } void GL_APIENTRY glDisableVertexAttribArray(GLuint index) { - return GL_DisableVertexAttribArray(index); + return gl::DisableVertexAttribArray(index); } void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) { - return GL_DrawArrays(mode, first, count); + return gl::DrawArrays(mode, first, count); } void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices) { - return GL_DrawElements(mode, count, type, indices); + return gl::DrawElements(mode, count, type, indices); } void GL_APIENTRY glEnable(GLenum cap) { - return GL_Enable(cap); + return gl::Enable(cap); } void GL_APIENTRY glEnableVertexAttribArray(GLuint index) { - return GL_EnableVertexAttribArray(index); + return gl::EnableVertexAttribArray(index); } void GL_APIENTRY glFinish() { - return GL_Finish(); + return gl::Finish(); } void GL_APIENTRY glFlush() { - return GL_Flush(); + return gl::Flush(); } void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, @@ -290,7 +290,7 @@ void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum renderbuffertarget, GLuint renderbuffer) { - return GL_FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); + return gl::FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); } void GL_APIENTRY glFramebufferTexture2D(GLenum target, @@ -299,37 +299,37 @@ void GL_APIENTRY glFramebufferTexture2D(GLenum target, GLuint texture, GLint level) { - return GL_FramebufferTexture2D(target, attachment, textarget, texture, level); + return gl::FramebufferTexture2D(target, attachment, textarget, texture, level); } void GL_APIENTRY glFrontFace(GLenum mode) { - return GL_FrontFace(mode); + return gl::FrontFace(mode); } void GL_APIENTRY glGenBuffers(GLsizei n, GLuint *buffers) { - return GL_GenBuffers(n, buffers); + return gl::GenBuffers(n, buffers); } void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint *framebuffers) { - return GL_GenFramebuffers(n, framebuffers); + return gl::GenFramebuffers(n, framebuffers); } void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) { - return GL_GenRenderbuffers(n, renderbuffers); + return gl::GenRenderbuffers(n, renderbuffers); } void GL_APIENTRY glGenTextures(GLsizei n, GLuint *textures) { - return GL_GenTextures(n, textures); + return gl::GenTextures(n, textures); } void GL_APIENTRY glGenerateMipmap(GLenum target) { - return GL_GenerateMipmap(target); + return gl::GenerateMipmap(target); } void GL_APIENTRY glGetActiveAttrib(GLuint program, @@ -340,7 +340,7 @@ void GL_APIENTRY glGetActiveAttrib(GLuint program, GLenum *type, GLchar *name) { - return GL_GetActiveAttrib(program, index, bufSize, length, size, type, name); + return gl::GetActiveAttrib(program, index, bufSize, length, size, type, name); } void GL_APIENTRY glGetActiveUniform(GLuint program, @@ -351,7 +351,7 @@ void GL_APIENTRY glGetActiveUniform(GLuint program, GLenum *type, GLchar *name) { - return GL_GetActiveUniform(program, index, bufSize, length, size, type, name); + return gl::GetActiveUniform(program, index, bufSize, length, size, type, name); } void GL_APIENTRY glGetAttachedShaders(GLuint program, @@ -359,32 +359,32 @@ void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei *count, GLuint *shaders) { - return GL_GetAttachedShaders(program, maxCount, count, shaders); + return gl::GetAttachedShaders(program, maxCount, count, shaders); } GLint GL_APIENTRY glGetAttribLocation(GLuint program, const GLchar *name) { - return GL_GetAttribLocation(program, name); + return gl::GetAttribLocation(program, name); } void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data) { - return GL_GetBooleanv(pname, data); + return gl::GetBooleanv(pname, data); } void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) { - return GL_GetBufferParameteriv(target, pname, params); + return gl::GetBufferParameteriv(target, pname, params); } GLenum GL_APIENTRY glGetError() { - return GL_GetError(); + return gl::GetError(); } void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data) { - return GL_GetFloatv(pname, data); + return gl::GetFloatv(pname, data); } void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, @@ -392,12 +392,12 @@ void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum pname, GLint *params) { - return GL_GetFramebufferAttachmentParameteriv(target, attachment, pname, params); + return gl::GetFramebufferAttachmentParameteriv(target, attachment, pname, params); } void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data) { - return GL_GetIntegerv(pname, data); + return gl::GetIntegerv(pname, data); } void GL_APIENTRY glGetProgramInfoLog(GLuint program, @@ -405,17 +405,17 @@ void GL_APIENTRY glGetProgramInfoLog(GLuint program, GLsizei *length, GLchar *infoLog) { - return GL_GetProgramInfoLog(program, bufSize, length, infoLog); + return gl::GetProgramInfoLog(program, bufSize, length, infoLog); } void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint *params) { - return GL_GetProgramiv(program, pname, params); + return gl::GetProgramiv(program, pname, params); } void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) { - return GL_GetRenderbufferParameteriv(target, pname, params); + return gl::GetRenderbufferParameteriv(target, pname, params); } void GL_APIENTRY glGetShaderInfoLog(GLuint shader, @@ -423,7 +423,7 @@ void GL_APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei *length, GLchar *infoLog) { - return GL_GetShaderInfoLog(shader, bufSize, length, infoLog); + return gl::GetShaderInfoLog(shader, bufSize, length, infoLog); } void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, @@ -431,122 +431,122 @@ void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLint *range, GLint *precision) { - return GL_GetShaderPrecisionFormat(shadertype, precisiontype, range, precision); + return gl::GetShaderPrecisionFormat(shadertype, precisiontype, range, precision); } void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) { - return GL_GetShaderSource(shader, bufSize, length, source); + return gl::GetShaderSource(shader, bufSize, length, source); } void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint *params) { - return GL_GetShaderiv(shader, pname, params); + return gl::GetShaderiv(shader, pname, params); } const GLubyte *GL_APIENTRY glGetString(GLenum name) { - return GL_GetString(name); + return gl::GetString(name); } void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) { - return GL_GetTexParameterfv(target, pname, params); + return gl::GetTexParameterfv(target, pname, params); } void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) { - return GL_GetTexParameteriv(target, pname, params); + return gl::GetTexParameteriv(target, pname, params); } GLint GL_APIENTRY glGetUniformLocation(GLuint program, const GLchar *name) { - return GL_GetUniformLocation(program, name); + return gl::GetUniformLocation(program, name); } void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat *params) { - return GL_GetUniformfv(program, location, params); + return gl::GetUniformfv(program, location, params); } void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint *params) { - return GL_GetUniformiv(program, location, params); + return gl::GetUniformiv(program, location, params); } void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer) { - return GL_GetVertexAttribPointerv(index, pname, pointer); + return gl::GetVertexAttribPointerv(index, pname, pointer); } void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) { - return GL_GetVertexAttribfv(index, pname, params); + return gl::GetVertexAttribfv(index, pname, params); } void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) { - return GL_GetVertexAttribiv(index, pname, params); + return gl::GetVertexAttribiv(index, pname, params); } void GL_APIENTRY glHint(GLenum target, GLenum mode) { - return GL_Hint(target, mode); + return gl::Hint(target, mode); } GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) { - return GL_IsBuffer(buffer); + return gl::IsBuffer(buffer); } GLboolean GL_APIENTRY glIsEnabled(GLenum cap) { - return GL_IsEnabled(cap); + return gl::IsEnabled(cap); } GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer) { - return GL_IsFramebuffer(framebuffer); + return gl::IsFramebuffer(framebuffer); } GLboolean GL_APIENTRY glIsProgram(GLuint program) { - return GL_IsProgram(program); + return gl::IsProgram(program); } GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer) { - return GL_IsRenderbuffer(renderbuffer); + return gl::IsRenderbuffer(renderbuffer); } GLboolean GL_APIENTRY glIsShader(GLuint shader) { - return GL_IsShader(shader); + return gl::IsShader(shader); } GLboolean GL_APIENTRY glIsTexture(GLuint texture) { - return GL_IsTexture(texture); + return gl::IsTexture(texture); } void GL_APIENTRY glLineWidth(GLfloat width) { - return GL_LineWidth(width); + return gl::LineWidth(width); } void GL_APIENTRY glLinkProgram(GLuint program) { - return GL_LinkProgram(program); + return gl::LinkProgram(program); } void GL_APIENTRY glPixelStorei(GLenum pname, GLint param) { - return GL_PixelStorei(pname, param); + return gl::PixelStorei(pname, param); } void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units) { - return GL_PolygonOffset(factor, units); + return gl::PolygonOffset(factor, units); } void GL_APIENTRY glReadPixels(GLint x, @@ -557,12 +557,12 @@ void GL_APIENTRY glReadPixels(GLint x, GLenum type, void *pixels) { - return GL_ReadPixels(x, y, width, height, format, type, pixels); + return gl::ReadPixels(x, y, width, height, format, type, pixels); } void GL_APIENTRY glReleaseShaderCompiler() { - return GL_ReleaseShaderCompiler(); + return gl::ReleaseShaderCompiler(); } void GL_APIENTRY glRenderbufferStorage(GLenum target, @@ -570,17 +570,17 @@ void GL_APIENTRY glRenderbufferStorage(GLenum target, GLsizei width, GLsizei height) { - return GL_RenderbufferStorage(target, internalformat, width, height); + return gl::RenderbufferStorage(target, internalformat, width, height); } void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert) { - return GL_SampleCoverage(value, invert); + return gl::SampleCoverage(value, invert); } void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { - return GL_Scissor(x, y, width, height); + return gl::Scissor(x, y, width, height); } void GL_APIENTRY glShaderBinary(GLsizei count, @@ -589,7 +589,7 @@ void GL_APIENTRY glShaderBinary(GLsizei count, const void *binary, GLsizei length) { - return GL_ShaderBinary(count, shaders, binaryformat, binary, length); + return gl::ShaderBinary(count, shaders, binaryformat, binary, length); } void GL_APIENTRY glShaderSource(GLuint shader, @@ -597,37 +597,37 @@ void GL_APIENTRY glShaderSource(GLuint shader, const GLchar *const *string, const GLint *length) { - return GL_ShaderSource(shader, count, string, length); + return gl::ShaderSource(shader, count, string, length); } void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask) { - return GL_StencilFunc(func, ref, mask); + return gl::StencilFunc(func, ref, mask); } void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { - return GL_StencilFuncSeparate(face, func, ref, mask); + return gl::StencilFuncSeparate(face, func, ref, mask); } void GL_APIENTRY glStencilMask(GLuint mask) { - return GL_StencilMask(mask); + return gl::StencilMask(mask); } void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask) { - return GL_StencilMaskSeparate(face, mask); + return gl::StencilMaskSeparate(face, mask); } void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { - return GL_StencilOp(fail, zfail, zpass); + return gl::StencilOp(fail, zfail, zpass); } void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { - return GL_StencilOpSeparate(face, sfail, dpfail, dppass); + return gl::StencilOpSeparate(face, sfail, dpfail, dppass); } void GL_APIENTRY glTexImage2D(GLenum target, @@ -640,28 +640,28 @@ void GL_APIENTRY glTexImage2D(GLenum target, GLenum type, const void *pixels) { - return GL_TexImage2D(target, level, internalformat, width, height, border, format, type, - pixels); + return gl::TexImage2D(target, level, internalformat, width, height, border, format, type, + pixels); } void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param) { - return GL_TexParameterf(target, pname, param); + return gl::TexParameterf(target, pname, param); } void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) { - return GL_TexParameterfv(target, pname, params); + return gl::TexParameterfv(target, pname, params); } void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) { - return GL_TexParameteri(target, pname, param); + return gl::TexParameteri(target, pname, param); } void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params) { - return GL_TexParameteriv(target, pname, params); + return gl::TexParameteriv(target, pname, params); } void GL_APIENTRY glTexSubImage2D(GLenum target, @@ -674,87 +674,87 @@ void GL_APIENTRY glTexSubImage2D(GLenum target, GLenum type, const void *pixels) { - return GL_TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); + return gl::TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } void GL_APIENTRY glUniform1f(GLint location, GLfloat v0) { - return GL_Uniform1f(location, v0); + return gl::Uniform1f(location, v0); } void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat *value) { - return GL_Uniform1fv(location, count, value); + return gl::Uniform1fv(location, count, value); } void GL_APIENTRY glUniform1i(GLint location, GLint v0) { - return GL_Uniform1i(location, v0); + return gl::Uniform1i(location, v0); } void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint *value) { - return GL_Uniform1iv(location, count, value); + return gl::Uniform1iv(location, count, value); } void GL_APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1) { - return GL_Uniform2f(location, v0, v1); + return gl::Uniform2f(location, v0, v1); } void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat *value) { - return GL_Uniform2fv(location, count, value); + return gl::Uniform2fv(location, count, value); } void GL_APIENTRY glUniform2i(GLint location, GLint v0, GLint v1) { - return GL_Uniform2i(location, v0, v1); + return gl::Uniform2i(location, v0, v1); } void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint *value) { - return GL_Uniform2iv(location, count, value); + return gl::Uniform2iv(location, count, value); } void GL_APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { - return GL_Uniform3f(location, v0, v1, v2); + return gl::Uniform3f(location, v0, v1, v2); } void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat *value) { - return GL_Uniform3fv(location, count, value); + return gl::Uniform3fv(location, count, value); } void GL_APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { - return GL_Uniform3i(location, v0, v1, v2); + return gl::Uniform3i(location, v0, v1, v2); } void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint *value) { - return GL_Uniform3iv(location, count, value); + return gl::Uniform3iv(location, count, value); } void GL_APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { - return GL_Uniform4f(location, v0, v1, v2, v3); + return gl::Uniform4f(location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat *value) { - return GL_Uniform4fv(location, count, value); + return gl::Uniform4fv(location, count, value); } void GL_APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { - return GL_Uniform4i(location, v0, v1, v2, v3); + return gl::Uniform4i(location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint *value) { - return GL_Uniform4iv(location, count, value); + return gl::Uniform4iv(location, count, value); } void GL_APIENTRY glUniformMatrix2fv(GLint location, @@ -762,7 +762,7 @@ void GL_APIENTRY glUniformMatrix2fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2fv(location, count, transpose, value); + return gl::UniformMatrix2fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3fv(GLint location, @@ -770,7 +770,7 @@ void GL_APIENTRY glUniformMatrix3fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3fv(location, count, transpose, value); + return gl::UniformMatrix3fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4fv(GLint location, @@ -778,57 +778,57 @@ void GL_APIENTRY glUniformMatrix4fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4fv(location, count, transpose, value); + return gl::UniformMatrix4fv(location, count, transpose, value); } void GL_APIENTRY glUseProgram(GLuint program) { - return GL_UseProgram(program); + return gl::UseProgram(program); } void GL_APIENTRY glValidateProgram(GLuint program) { - return GL_ValidateProgram(program); + return gl::ValidateProgram(program); } void GL_APIENTRY glVertexAttrib1f(GLuint index, GLfloat x) { - return GL_VertexAttrib1f(index, x); + return gl::VertexAttrib1f(index, x); } void GL_APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat *v) { - return GL_VertexAttrib1fv(index, v); + return gl::VertexAttrib1fv(index, v); } void GL_APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { - return GL_VertexAttrib2f(index, x, y); + return gl::VertexAttrib2f(index, x, y); } void GL_APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat *v) { - return GL_VertexAttrib2fv(index, v); + return gl::VertexAttrib2fv(index, v); } void GL_APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { - return GL_VertexAttrib3f(index, x, y, z); + return gl::VertexAttrib3f(index, x, y, z); } void GL_APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat *v) { - return GL_VertexAttrib3fv(index, v); + return gl::VertexAttrib3fv(index, v); } void GL_APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - return GL_VertexAttrib4f(index, x, y, z, w); + return gl::VertexAttrib4f(index, x, y, z, w); } void GL_APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat *v) { - return GL_VertexAttrib4fv(index, v); + return gl::VertexAttrib4fv(index, v); } void GL_APIENTRY glVertexAttribPointer(GLuint index, @@ -838,49 +838,49 @@ void GL_APIENTRY glVertexAttribPointer(GLuint index, GLsizei stride, const void *pointer) { - return GL_VertexAttribPointer(index, size, type, normalized, stride, pointer); + return gl::VertexAttribPointer(index, size, type, normalized, stride, pointer); } void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { - return GL_Viewport(x, y, width, height); + return gl::Viewport(x, y, width, height); } // OpenGL ES 3.0 void GL_APIENTRY glBeginQuery(GLenum target, GLuint id) { - return GL_BeginQuery(target, id); + return gl::BeginQuery(target, id); } void GL_APIENTRY glBeginTransformFeedback(GLenum primitiveMode) { - return GL_BeginTransformFeedback(primitiveMode); + return gl::BeginTransformFeedback(primitiveMode); } void GL_APIENTRY glBindBufferBase(GLenum target, GLuint index, GLuint buffer) { - return GL_BindBufferBase(target, index, buffer); + return gl::BindBufferBase(target, index, buffer); } void GL_APIENTRY glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { - return GL_BindBufferRange(target, index, buffer, offset, size); + return gl::BindBufferRange(target, index, buffer, offset, size); } void GL_APIENTRY glBindSampler(GLuint unit, GLuint sampler) { - return GL_BindSampler(unit, sampler); + return gl::BindSampler(unit, sampler); } void GL_APIENTRY glBindTransformFeedback(GLenum target, GLuint id) { - return GL_BindTransformFeedback(target, id); + return gl::BindTransformFeedback(target, id); } void GL_APIENTRY glBindVertexArray(GLuint array) { - return GL_BindVertexArray(array); + return gl::BindVertexArray(array); } void GL_APIENTRY glBlitFramebuffer(GLint srcX0, @@ -894,32 +894,33 @@ void GL_APIENTRY glBlitFramebuffer(GLint srcX0, GLbitfield mask, GLenum filter) { - return GL_BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + return gl::BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, + filter); } void GL_APIENTRY glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { - return GL_ClearBufferfi(buffer, drawbuffer, depth, stencil); + return gl::ClearBufferfi(buffer, drawbuffer, depth, stencil); } void GL_APIENTRY glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) { - return GL_ClearBufferfv(buffer, drawbuffer, value); + return gl::ClearBufferfv(buffer, drawbuffer, value); } void GL_APIENTRY glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) { - return GL_ClearBufferiv(buffer, drawbuffer, value); + return gl::ClearBufferiv(buffer, drawbuffer, value); } void GL_APIENTRY glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) { - return GL_ClearBufferuiv(buffer, drawbuffer, value); + return gl::ClearBufferuiv(buffer, drawbuffer, value); } GLenum GL_APIENTRY glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { - return GL_ClientWaitSync(sync, flags, timeout); + return gl::ClientWaitSync(sync, flags, timeout); } void GL_APIENTRY glCompressedTexImage3D(GLenum target, @@ -932,8 +933,8 @@ void GL_APIENTRY glCompressedTexImage3D(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage3D(target, level, internalformat, width, height, depth, border, - imageSize, data); + return gl::CompressedTexImage3D(target, level, internalformat, width, height, depth, border, + imageSize, data); } void GL_APIENTRY glCompressedTexSubImage3D(GLenum target, @@ -948,8 +949,8 @@ void GL_APIENTRY glCompressedTexSubImage3D(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, - depth, format, imageSize, data); + return gl::CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, + depth, format, imageSize, data); } void GL_APIENTRY glCopyBufferSubData(GLenum readTarget, @@ -958,7 +959,7 @@ void GL_APIENTRY glCopyBufferSubData(GLenum readTarget, GLintptr writeOffset, GLsizeiptr size) { - return GL_CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); + return gl::CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); } void GL_APIENTRY glCopyTexSubImage3D(GLenum target, @@ -971,32 +972,32 @@ void GL_APIENTRY glCopyTexSubImage3D(GLenum target, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); + return gl::CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); } void GL_APIENTRY glDeleteQueries(GLsizei n, const GLuint *ids) { - return GL_DeleteQueries(n, ids); + return gl::DeleteQueries(n, ids); } void GL_APIENTRY glDeleteSamplers(GLsizei count, const GLuint *samplers) { - return GL_DeleteSamplers(count, samplers); + return gl::DeleteSamplers(count, samplers); } void GL_APIENTRY glDeleteSync(GLsync sync) { - return GL_DeleteSync(sync); + return gl::DeleteSync(sync); } void GL_APIENTRY glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids) { - return GL_DeleteTransformFeedbacks(n, ids); + return gl::DeleteTransformFeedbacks(n, ids); } void GL_APIENTRY glDeleteVertexArrays(GLsizei n, const GLuint *arrays) { - return GL_DeleteVertexArrays(n, arrays); + return gl::DeleteVertexArrays(n, arrays); } void GL_APIENTRY glDrawArraysInstanced(GLenum mode, @@ -1004,12 +1005,12 @@ void GL_APIENTRY glDrawArraysInstanced(GLenum mode, GLsizei count, GLsizei instancecount) { - return GL_DrawArraysInstanced(mode, first, count, instancecount); + return gl::DrawArraysInstanced(mode, first, count, instancecount); } void GL_APIENTRY glDrawBuffers(GLsizei n, const GLenum *bufs) { - return GL_DrawBuffers(n, bufs); + return gl::DrawBuffers(n, bufs); } void GL_APIENTRY glDrawElementsInstanced(GLenum mode, @@ -1018,7 +1019,7 @@ void GL_APIENTRY glDrawElementsInstanced(GLenum mode, const void *indices, GLsizei instancecount) { - return GL_DrawElementsInstanced(mode, count, type, indices, instancecount); + return gl::DrawElementsInstanced(mode, count, type, indices, instancecount); } void GL_APIENTRY glDrawRangeElements(GLenum mode, @@ -1028,27 +1029,27 @@ void GL_APIENTRY glDrawRangeElements(GLenum mode, GLenum type, const void *indices) { - return GL_DrawRangeElements(mode, start, end, count, type, indices); + return gl::DrawRangeElements(mode, start, end, count, type, indices); } void GL_APIENTRY glEndQuery(GLenum target) { - return GL_EndQuery(target); + return gl::EndQuery(target); } void GL_APIENTRY glEndTransformFeedback() { - return GL_EndTransformFeedback(); + return gl::EndTransformFeedback(); } GLsync GL_APIENTRY glFenceSync(GLenum condition, GLbitfield flags) { - return GL_FenceSync(condition, flags); + return gl::FenceSync(condition, flags); } void GL_APIENTRY glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) { - return GL_FlushMappedBufferRange(target, offset, length); + return gl::FlushMappedBufferRange(target, offset, length); } void GL_APIENTRY glFramebufferTextureLayer(GLenum target, @@ -1057,27 +1058,27 @@ void GL_APIENTRY glFramebufferTextureLayer(GLenum target, GLint level, GLint layer) { - return GL_FramebufferTextureLayer(target, attachment, texture, level, layer); + return gl::FramebufferTextureLayer(target, attachment, texture, level, layer); } void GL_APIENTRY glGenQueries(GLsizei n, GLuint *ids) { - return GL_GenQueries(n, ids); + return gl::GenQueries(n, ids); } void GL_APIENTRY glGenSamplers(GLsizei count, GLuint *samplers) { - return GL_GenSamplers(count, samplers); + return gl::GenSamplers(count, samplers); } void GL_APIENTRY glGenTransformFeedbacks(GLsizei n, GLuint *ids) { - return GL_GenTransformFeedbacks(n, ids); + return gl::GenTransformFeedbacks(n, ids); } void GL_APIENTRY glGenVertexArrays(GLsizei n, GLuint *arrays) { - return GL_GenVertexArrays(n, arrays); + return gl::GenVertexArrays(n, arrays); } void GL_APIENTRY glGetActiveUniformBlockName(GLuint program, @@ -1086,8 +1087,8 @@ void GL_APIENTRY glGetActiveUniformBlockName(GLuint program, GLsizei *length, GLchar *uniformBlockName) { - return GL_GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, - uniformBlockName); + return gl::GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, + uniformBlockName); } void GL_APIENTRY glGetActiveUniformBlockiv(GLuint program, @@ -1095,7 +1096,7 @@ void GL_APIENTRY glGetActiveUniformBlockiv(GLuint program, GLenum pname, GLint *params) { - return GL_GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); + return gl::GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); } void GL_APIENTRY glGetActiveUniformsiv(GLuint program, @@ -1104,37 +1105,37 @@ void GL_APIENTRY glGetActiveUniformsiv(GLuint program, GLenum pname, GLint *params) { - return GL_GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); + return gl::GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); } void GL_APIENTRY glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) { - return GL_GetBufferParameteri64v(target, pname, params); + return gl::GetBufferParameteri64v(target, pname, params); } void GL_APIENTRY glGetBufferPointerv(GLenum target, GLenum pname, void **params) { - return GL_GetBufferPointerv(target, pname, params); + return gl::GetBufferPointerv(target, pname, params); } GLint GL_APIENTRY glGetFragDataLocation(GLuint program, const GLchar *name) { - return GL_GetFragDataLocation(program, name); + return gl::GetFragDataLocation(program, name); } void GL_APIENTRY glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) { - return GL_GetInteger64i_v(target, index, data); + return gl::GetInteger64i_v(target, index, data); } void GL_APIENTRY glGetInteger64v(GLenum pname, GLint64 *data) { - return GL_GetInteger64v(pname, data); + return gl::GetInteger64v(pname, data); } void GL_APIENTRY glGetIntegeri_v(GLenum target, GLuint index, GLint *data) { - return GL_GetIntegeri_v(target, index, data); + return gl::GetIntegeri_v(target, index, data); } void GL_APIENTRY glGetInternalformativ(GLenum target, @@ -1143,7 +1144,7 @@ void GL_APIENTRY glGetInternalformativ(GLenum target, GLsizei bufSize, GLint *params) { - return GL_GetInternalformativ(target, internalformat, pname, bufSize, params); + return gl::GetInternalformativ(target, internalformat, pname, bufSize, params); } void GL_APIENTRY glGetProgramBinary(GLuint program, @@ -1152,38 +1153,38 @@ void GL_APIENTRY glGetProgramBinary(GLuint program, GLenum *binaryFormat, void *binary) { - return GL_GetProgramBinary(program, bufSize, length, binaryFormat, binary); + return gl::GetProgramBinary(program, bufSize, length, binaryFormat, binary); } void GL_APIENTRY glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) { - return GL_GetQueryObjectuiv(id, pname, params); + return gl::GetQueryObjectuiv(id, pname, params); } void GL_APIENTRY glGetQueryiv(GLenum target, GLenum pname, GLint *params) { - return GL_GetQueryiv(target, pname, params); + return gl::GetQueryiv(target, pname, params); } void GL_APIENTRY glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) { - return GL_GetSamplerParameterfv(sampler, pname, params); + return gl::GetSamplerParameterfv(sampler, pname, params); } void GL_APIENTRY glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) { - return GL_GetSamplerParameteriv(sampler, pname, params); + return gl::GetSamplerParameteriv(sampler, pname, params); } const GLubyte *GL_APIENTRY glGetStringi(GLenum name, GLuint index) { - return GL_GetStringi(name, index); + return gl::GetStringi(name, index); } void GL_APIENTRY glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) { - return GL_GetSynciv(sync, pname, bufSize, length, values); + return gl::GetSynciv(sync, pname, bufSize, length, values); } void GL_APIENTRY glGetTransformFeedbackVarying(GLuint program, @@ -1194,12 +1195,12 @@ void GL_APIENTRY glGetTransformFeedbackVarying(GLuint program, GLenum *type, GLchar *name) { - return GL_GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); + return gl::GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); } GLuint GL_APIENTRY glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) { - return GL_GetUniformBlockIndex(program, uniformBlockName); + return gl::GetUniformBlockIndex(program, uniformBlockName); } void GL_APIENTRY glGetUniformIndices(GLuint program, @@ -1207,29 +1208,29 @@ void GL_APIENTRY glGetUniformIndices(GLuint program, const GLchar *const *uniformNames, GLuint *uniformIndices) { - return GL_GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); + return gl::GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); } void GL_APIENTRY glGetUniformuiv(GLuint program, GLint location, GLuint *params) { - return GL_GetUniformuiv(program, location, params); + return gl::GetUniformuiv(program, location, params); } void GL_APIENTRY glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) { - return GL_GetVertexAttribIiv(index, pname, params); + return gl::GetVertexAttribIiv(index, pname, params); } void GL_APIENTRY glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) { - return GL_GetVertexAttribIuiv(index, pname, params); + return gl::GetVertexAttribIuiv(index, pname, params); } void GL_APIENTRY glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments) { - return GL_InvalidateFramebuffer(target, numAttachments, attachments); + return gl::InvalidateFramebuffer(target, numAttachments, attachments); } void GL_APIENTRY glInvalidateSubFramebuffer(GLenum target, @@ -1240,32 +1241,32 @@ void GL_APIENTRY glInvalidateSubFramebuffer(GLenum target, GLsizei width, GLsizei height) { - return GL_InvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); + return gl::InvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height); } GLboolean GL_APIENTRY glIsQuery(GLuint id) { - return GL_IsQuery(id); + return gl::IsQuery(id); } GLboolean GL_APIENTRY glIsSampler(GLuint sampler) { - return GL_IsSampler(sampler); + return gl::IsSampler(sampler); } GLboolean GL_APIENTRY glIsSync(GLsync sync) { - return GL_IsSync(sync); + return gl::IsSync(sync); } GLboolean GL_APIENTRY glIsTransformFeedback(GLuint id) { - return GL_IsTransformFeedback(id); + return gl::IsTransformFeedback(id); } GLboolean GL_APIENTRY glIsVertexArray(GLuint array) { - return GL_IsVertexArray(array); + return gl::IsVertexArray(array); } void *GL_APIENTRY glMapBufferRange(GLenum target, @@ -1273,12 +1274,12 @@ void *GL_APIENTRY glMapBufferRange(GLenum target, GLsizeiptr length, GLbitfield access) { - return GL_MapBufferRange(target, offset, length, access); + return gl::MapBufferRange(target, offset, length, access); } void GL_APIENTRY glPauseTransformFeedback() { - return GL_PauseTransformFeedback(); + return gl::PauseTransformFeedback(); } void GL_APIENTRY glProgramBinary(GLuint program, @@ -1286,17 +1287,17 @@ void GL_APIENTRY glProgramBinary(GLuint program, const void *binary, GLsizei length) { - return GL_ProgramBinary(program, binaryFormat, binary, length); + return gl::ProgramBinary(program, binaryFormat, binary, length); } void GL_APIENTRY glProgramParameteri(GLuint program, GLenum pname, GLint value) { - return GL_ProgramParameteri(program, pname, value); + return gl::ProgramParameteri(program, pname, value); } void GL_APIENTRY glReadBuffer(GLenum src) { - return GL_ReadBuffer(src); + return gl::ReadBuffer(src); } void GL_APIENTRY glRenderbufferStorageMultisample(GLenum target, @@ -1305,32 +1306,32 @@ void GL_APIENTRY glRenderbufferStorageMultisample(GLenum target, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisample(target, samples, internalformat, width, height); + return gl::RenderbufferStorageMultisample(target, samples, internalformat, width, height); } void GL_APIENTRY glResumeTransformFeedback() { - return GL_ResumeTransformFeedback(); + return gl::ResumeTransformFeedback(); } void GL_APIENTRY glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) { - return GL_SamplerParameterf(sampler, pname, param); + return gl::SamplerParameterf(sampler, pname, param); } void GL_APIENTRY glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) { - return GL_SamplerParameterfv(sampler, pname, param); + return gl::SamplerParameterfv(sampler, pname, param); } void GL_APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) { - return GL_SamplerParameteri(sampler, pname, param); + return gl::SamplerParameteri(sampler, pname, param); } void GL_APIENTRY glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) { - return GL_SamplerParameteriv(sampler, pname, param); + return gl::SamplerParameteriv(sampler, pname, param); } void GL_APIENTRY glTexImage3D(GLenum target, @@ -1344,14 +1345,14 @@ void GL_APIENTRY glTexImage3D(GLenum target, GLenum type, const void *pixels) { - return GL_TexImage3D(target, level, internalformat, width, height, depth, border, format, type, - pixels); + return gl::TexImage3D(target, level, internalformat, width, height, depth, border, format, type, + pixels); } void GL_APIENTRY glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { - return GL_TexStorage2D(target, levels, internalformat, width, height); + return gl::TexStorage2D(target, levels, internalformat, width, height); } void GL_APIENTRY glTexStorage3D(GLenum target, @@ -1361,7 +1362,7 @@ void GL_APIENTRY glTexStorage3D(GLenum target, GLsizei height, GLsizei depth) { - return GL_TexStorage3D(target, levels, internalformat, width, height, depth); + return gl::TexStorage3D(target, levels, internalformat, width, height, depth); } void GL_APIENTRY glTexSubImage3D(GLenum target, @@ -1376,8 +1377,8 @@ void GL_APIENTRY glTexSubImage3D(GLenum target, GLenum type, const void *pixels) { - return GL_TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, - type, pixels); + return gl::TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, + type, pixels); } void GL_APIENTRY glTransformFeedbackVaryings(GLuint program, @@ -1385,54 +1386,54 @@ void GL_APIENTRY glTransformFeedbackVaryings(GLuint program, const GLchar *const *varyings, GLenum bufferMode) { - return GL_TransformFeedbackVaryings(program, count, varyings, bufferMode); + return gl::TransformFeedbackVaryings(program, count, varyings, bufferMode); } void GL_APIENTRY glUniform1ui(GLint location, GLuint v0) { - return GL_Uniform1ui(location, v0); + return gl::Uniform1ui(location, v0); } void GL_APIENTRY glUniform1uiv(GLint location, GLsizei count, const GLuint *value) { - return GL_Uniform1uiv(location, count, value); + return gl::Uniform1uiv(location, count, value); } void GL_APIENTRY glUniform2ui(GLint location, GLuint v0, GLuint v1) { - return GL_Uniform2ui(location, v0, v1); + return gl::Uniform2ui(location, v0, v1); } void GL_APIENTRY glUniform2uiv(GLint location, GLsizei count, const GLuint *value) { - return GL_Uniform2uiv(location, count, value); + return gl::Uniform2uiv(location, count, value); } void GL_APIENTRY glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) { - return GL_Uniform3ui(location, v0, v1, v2); + return gl::Uniform3ui(location, v0, v1, v2); } void GL_APIENTRY glUniform3uiv(GLint location, GLsizei count, const GLuint *value) { - return GL_Uniform3uiv(location, count, value); + return gl::Uniform3uiv(location, count, value); } void GL_APIENTRY glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { - return GL_Uniform4ui(location, v0, v1, v2, v3); + return gl::Uniform4ui(location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4uiv(GLint location, GLsizei count, const GLuint *value) { - return GL_Uniform4uiv(location, count, value); + return gl::Uniform4uiv(location, count, value); } void GL_APIENTRY glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { - return GL_UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); + return gl::UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); } void GL_APIENTRY glUniformMatrix2x3fv(GLint location, @@ -1440,7 +1441,7 @@ void GL_APIENTRY glUniformMatrix2x3fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2x3fv(location, count, transpose, value); + return gl::UniformMatrix2x3fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix2x4fv(GLint location, @@ -1448,7 +1449,7 @@ void GL_APIENTRY glUniformMatrix2x4fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2x4fv(location, count, transpose, value); + return gl::UniformMatrix2x4fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3x2fv(GLint location, @@ -1456,7 +1457,7 @@ void GL_APIENTRY glUniformMatrix3x2fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3x2fv(location, count, transpose, value); + return gl::UniformMatrix3x2fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3x4fv(GLint location, @@ -1464,7 +1465,7 @@ void GL_APIENTRY glUniformMatrix3x4fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3x4fv(location, count, transpose, value); + return gl::UniformMatrix3x4fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4x2fv(GLint location, @@ -1472,7 +1473,7 @@ void GL_APIENTRY glUniformMatrix4x2fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4x2fv(location, count, transpose, value); + return gl::UniformMatrix4x2fv(location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4x3fv(GLint location, @@ -1480,54 +1481,54 @@ void GL_APIENTRY glUniformMatrix4x3fv(GLint location, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4x3fv(location, count, transpose, value); + return gl::UniformMatrix4x3fv(location, count, transpose, value); } GLboolean GL_APIENTRY glUnmapBuffer(GLenum target) { - return GL_UnmapBuffer(target); + return gl::UnmapBuffer(target); } void GL_APIENTRY glVertexAttribDivisor(GLuint index, GLuint divisor) { - return GL_VertexAttribDivisor(index, divisor); + return gl::VertexAttribDivisor(index, divisor); } void GL_APIENTRY glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) { - return GL_VertexAttribI4i(index, x, y, z, w); + return gl::VertexAttribI4i(index, x, y, z, w); } void GL_APIENTRY glVertexAttribI4iv(GLuint index, const GLint *v) { - return GL_VertexAttribI4iv(index, v); + return gl::VertexAttribI4iv(index, v); } void GL_APIENTRY glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { - return GL_VertexAttribI4ui(index, x, y, z, w); + return gl::VertexAttribI4ui(index, x, y, z, w); } void GL_APIENTRY glVertexAttribI4uiv(GLuint index, const GLuint *v) { - return GL_VertexAttribI4uiv(index, v); + return gl::VertexAttribI4uiv(index, v); } void GL_APIENTRY glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) { - return GL_VertexAttribIPointer(index, size, type, stride, pointer); + return gl::VertexAttribIPointer(index, size, type, stride, pointer); } void GL_APIENTRY glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) { - return GL_WaitSync(sync, flags, timeout); + return gl::WaitSync(sync, flags, timeout); } // OpenGL ES 3.1 void GL_APIENTRY glActiveShaderProgram(GLuint pipeline, GLuint program) { - return GL_ActiveShaderProgram(pipeline, program); + return gl::ActiveShaderProgram(pipeline, program); } void GL_APIENTRY glBindImageTexture(GLuint unit, @@ -1538,12 +1539,12 @@ void GL_APIENTRY glBindImageTexture(GLuint unit, GLenum access, GLenum format) { - return GL_BindImageTexture(unit, texture, level, layered, layer, access, format); + return gl::BindImageTexture(unit, texture, level, layered, layer, access, format); } void GL_APIENTRY glBindProgramPipeline(GLuint pipeline) { - return GL_BindProgramPipeline(pipeline); + return gl::BindProgramPipeline(pipeline); } void GL_APIENTRY glBindVertexBuffer(GLuint bindingindex, @@ -1551,62 +1552,62 @@ void GL_APIENTRY glBindVertexBuffer(GLuint bindingindex, GLintptr offset, GLsizei stride) { - return GL_BindVertexBuffer(bindingindex, buffer, offset, stride); + return gl::BindVertexBuffer(bindingindex, buffer, offset, stride); } GLuint GL_APIENTRY glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings) { - return GL_CreateShaderProgramv(type, count, strings); + return gl::CreateShaderProgramv(type, count, strings); } void GL_APIENTRY glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines) { - return GL_DeleteProgramPipelines(n, pipelines); + return gl::DeleteProgramPipelines(n, pipelines); } void GL_APIENTRY glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) { - return GL_DispatchCompute(num_groups_x, num_groups_y, num_groups_z); + return gl::DispatchCompute(num_groups_x, num_groups_y, num_groups_z); } void GL_APIENTRY glDispatchComputeIndirect(GLintptr indirect) { - return GL_DispatchComputeIndirect(indirect); + return gl::DispatchComputeIndirect(indirect); } void GL_APIENTRY glDrawArraysIndirect(GLenum mode, const void *indirect) { - return GL_DrawArraysIndirect(mode, indirect); + return gl::DrawArraysIndirect(mode, indirect); } void GL_APIENTRY glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect) { - return GL_DrawElementsIndirect(mode, type, indirect); + return gl::DrawElementsIndirect(mode, type, indirect); } void GL_APIENTRY glFramebufferParameteri(GLenum target, GLenum pname, GLint param) { - return GL_FramebufferParameteri(target, pname, param); + return gl::FramebufferParameteri(target, pname, param); } void GL_APIENTRY glGenProgramPipelines(GLsizei n, GLuint *pipelines) { - return GL_GenProgramPipelines(n, pipelines); + return gl::GenProgramPipelines(n, pipelines); } void GL_APIENTRY glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) { - return GL_GetBooleani_v(target, index, data); + return gl::GetBooleani_v(target, index, data); } void GL_APIENTRY glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params) { - return GL_GetFramebufferParameteriv(target, pname, params); + return gl::GetFramebufferParameteriv(target, pname, params); } void GL_APIENTRY glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) { - return GL_GetMultisamplefv(pname, index, val); + return gl::GetMultisamplefv(pname, index, val); } void GL_APIENTRY glGetProgramInterfaceiv(GLuint program, @@ -1614,7 +1615,7 @@ void GL_APIENTRY glGetProgramInterfaceiv(GLuint program, GLenum pname, GLint *params) { - return GL_GetProgramInterfaceiv(program, programInterface, pname, params); + return gl::GetProgramInterfaceiv(program, programInterface, pname, params); } void GL_APIENTRY glGetProgramPipelineInfoLog(GLuint pipeline, @@ -1622,26 +1623,26 @@ void GL_APIENTRY glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei *length, GLchar *infoLog) { - return GL_GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); + return gl::GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); } void GL_APIENTRY glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) { - return GL_GetProgramPipelineiv(pipeline, pname, params); + return gl::GetProgramPipelineiv(pipeline, pname, params); } GLuint GL_APIENTRY glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceIndex(program, programInterface, name); + return gl::GetProgramResourceIndex(program, programInterface, name); } GLint GL_APIENTRY glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceLocation(program, programInterface, name); + return gl::GetProgramResourceLocation(program, programInterface, name); } void GL_APIENTRY glGetProgramResourceName(GLuint program, @@ -1651,7 +1652,7 @@ void GL_APIENTRY glGetProgramResourceName(GLuint program, GLsizei *length, GLchar *name) { - return GL_GetProgramResourceName(program, programInterface, index, bufSize, length, name); + return gl::GetProgramResourceName(program, programInterface, index, bufSize, length, name); } void GL_APIENTRY glGetProgramResourceiv(GLuint program, @@ -1663,38 +1664,38 @@ void GL_APIENTRY glGetProgramResourceiv(GLuint program, GLsizei *length, GLint *params) { - return GL_GetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, - length, params); + return gl::GetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, + length, params); } void GL_APIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) { - return GL_GetTexLevelParameterfv(target, level, pname, params); + return gl::GetTexLevelParameterfv(target, level, pname, params); } void GL_APIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) { - return GL_GetTexLevelParameteriv(target, level, pname, params); + return gl::GetTexLevelParameteriv(target, level, pname, params); } GLboolean GL_APIENTRY glIsProgramPipeline(GLuint pipeline) { - return GL_IsProgramPipeline(pipeline); + return gl::IsProgramPipeline(pipeline); } void GL_APIENTRY glMemoryBarrier(GLbitfield barriers) { - return GL_MemoryBarrier(barriers); + return gl::MemoryBarrier(barriers); } void GL_APIENTRY glMemoryBarrierByRegion(GLbitfield barriers) { - return GL_MemoryBarrierByRegion(barriers); + return gl::MemoryBarrierByRegion(barriers); } void GL_APIENTRY glProgramUniform1f(GLuint program, GLint location, GLfloat v0) { - return GL_ProgramUniform1f(program, location, v0); + return gl::ProgramUniform1f(program, location, v0); } void GL_APIENTRY glProgramUniform1fv(GLuint program, @@ -1702,12 +1703,12 @@ void GL_APIENTRY glProgramUniform1fv(GLuint program, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform1fv(program, location, count, value); + return gl::ProgramUniform1fv(program, location, count, value); } void GL_APIENTRY glProgramUniform1i(GLuint program, GLint location, GLint v0) { - return GL_ProgramUniform1i(program, location, v0); + return gl::ProgramUniform1i(program, location, v0); } void GL_APIENTRY glProgramUniform1iv(GLuint program, @@ -1715,12 +1716,12 @@ void GL_APIENTRY glProgramUniform1iv(GLuint program, GLsizei count, const GLint *value) { - return GL_ProgramUniform1iv(program, location, count, value); + return gl::ProgramUniform1iv(program, location, count, value); } void GL_APIENTRY glProgramUniform1ui(GLuint program, GLint location, GLuint v0) { - return GL_ProgramUniform1ui(program, location, v0); + return gl::ProgramUniform1ui(program, location, v0); } void GL_APIENTRY glProgramUniform1uiv(GLuint program, @@ -1728,12 +1729,12 @@ void GL_APIENTRY glProgramUniform1uiv(GLuint program, GLsizei count, const GLuint *value) { - return GL_ProgramUniform1uiv(program, location, count, value); + return gl::ProgramUniform1uiv(program, location, count, value); } void GL_APIENTRY glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) { - return GL_ProgramUniform2f(program, location, v0, v1); + return gl::ProgramUniform2f(program, location, v0, v1); } void GL_APIENTRY glProgramUniform2fv(GLuint program, @@ -1741,12 +1742,12 @@ void GL_APIENTRY glProgramUniform2fv(GLuint program, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform2fv(program, location, count, value); + return gl::ProgramUniform2fv(program, location, count, value); } void GL_APIENTRY glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) { - return GL_ProgramUniform2i(program, location, v0, v1); + return gl::ProgramUniform2i(program, location, v0, v1); } void GL_APIENTRY glProgramUniform2iv(GLuint program, @@ -1754,12 +1755,12 @@ void GL_APIENTRY glProgramUniform2iv(GLuint program, GLsizei count, const GLint *value) { - return GL_ProgramUniform2iv(program, location, count, value); + return gl::ProgramUniform2iv(program, location, count, value); } void GL_APIENTRY glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) { - return GL_ProgramUniform2ui(program, location, v0, v1); + return gl::ProgramUniform2ui(program, location, v0, v1); } void GL_APIENTRY glProgramUniform2uiv(GLuint program, @@ -1767,13 +1768,13 @@ void GL_APIENTRY glProgramUniform2uiv(GLuint program, GLsizei count, const GLuint *value) { - return GL_ProgramUniform2uiv(program, location, count, value); + return gl::ProgramUniform2uiv(program, location, count, value); } void GL_APIENTRY glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { - return GL_ProgramUniform3f(program, location, v0, v1, v2); + return gl::ProgramUniform3f(program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3fv(GLuint program, @@ -1781,12 +1782,12 @@ void GL_APIENTRY glProgramUniform3fv(GLuint program, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform3fv(program, location, count, value); + return gl::ProgramUniform3fv(program, location, count, value); } void GL_APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { - return GL_ProgramUniform3i(program, location, v0, v1, v2); + return gl::ProgramUniform3i(program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3iv(GLuint program, @@ -1794,13 +1795,13 @@ void GL_APIENTRY glProgramUniform3iv(GLuint program, GLsizei count, const GLint *value) { - return GL_ProgramUniform3iv(program, location, count, value); + return gl::ProgramUniform3iv(program, location, count, value); } void GL_APIENTRY glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { - return GL_ProgramUniform3ui(program, location, v0, v1, v2); + return gl::ProgramUniform3ui(program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3uiv(GLuint program, @@ -1808,13 +1809,13 @@ void GL_APIENTRY glProgramUniform3uiv(GLuint program, GLsizei count, const GLuint *value) { - return GL_ProgramUniform3uiv(program, location, count, value); + return gl::ProgramUniform3uiv(program, location, count, value); } void GL_APIENTRY glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { - return GL_ProgramUniform4f(program, location, v0, v1, v2, v3); + return gl::ProgramUniform4f(program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4fv(GLuint program, @@ -1822,13 +1823,13 @@ void GL_APIENTRY glProgramUniform4fv(GLuint program, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform4fv(program, location, count, value); + return gl::ProgramUniform4fv(program, location, count, value); } void GL_APIENTRY glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { - return GL_ProgramUniform4i(program, location, v0, v1, v2, v3); + return gl::ProgramUniform4i(program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4iv(GLuint program, @@ -1836,13 +1837,13 @@ void GL_APIENTRY glProgramUniform4iv(GLuint program, GLsizei count, const GLint *value) { - return GL_ProgramUniform4iv(program, location, count, value); + return gl::ProgramUniform4iv(program, location, count, value); } void GL_APIENTRY glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { - return GL_ProgramUniform4ui(program, location, v0, v1, v2, v3); + return gl::ProgramUniform4ui(program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4uiv(GLuint program, @@ -1850,7 +1851,7 @@ void GL_APIENTRY glProgramUniform4uiv(GLuint program, GLsizei count, const GLuint *value) { - return GL_ProgramUniform4uiv(program, location, count, value); + return gl::ProgramUniform4uiv(program, location, count, value); } void GL_APIENTRY glProgramUniformMatrix2fv(GLuint program, @@ -1859,7 +1860,7 @@ void GL_APIENTRY glProgramUniformMatrix2fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix2fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix2x3fv(GLuint program, @@ -1868,7 +1869,7 @@ void GL_APIENTRY glProgramUniformMatrix2x3fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2x3fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix2x3fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix2x4fv(GLuint program, @@ -1877,7 +1878,7 @@ void GL_APIENTRY glProgramUniformMatrix2x4fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2x4fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix2x4fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix3fv(GLuint program, @@ -1886,7 +1887,7 @@ void GL_APIENTRY glProgramUniformMatrix3fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix3fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix3x2fv(GLuint program, @@ -1895,7 +1896,7 @@ void GL_APIENTRY glProgramUniformMatrix3x2fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3x2fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix3x2fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix3x4fv(GLuint program, @@ -1904,7 +1905,7 @@ void GL_APIENTRY glProgramUniformMatrix3x4fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3x4fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix3x4fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix4fv(GLuint program, @@ -1913,7 +1914,7 @@ void GL_APIENTRY glProgramUniformMatrix4fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix4fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix4x2fv(GLuint program, @@ -1922,7 +1923,7 @@ void GL_APIENTRY glProgramUniformMatrix4x2fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4x2fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix4x2fv(program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix4x3fv(GLuint program, @@ -1931,12 +1932,12 @@ void GL_APIENTRY glProgramUniformMatrix4x3fv(GLuint program, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4x3fv(program, location, count, transpose, value); + return gl::ProgramUniformMatrix4x3fv(program, location, count, transpose, value); } void GL_APIENTRY glSampleMaski(GLuint maskNumber, GLbitfield mask) { - return GL_SampleMaski(maskNumber, mask); + return gl::SampleMaski(maskNumber, mask); } void GL_APIENTRY glTexStorage2DMultisample(GLenum target, @@ -1946,23 +1947,23 @@ void GL_APIENTRY glTexStorage2DMultisample(GLenum target, GLsizei height, GLboolean fixedsamplelocations) { - return GL_TexStorage2DMultisample(target, samples, internalformat, width, height, - fixedsamplelocations); + return gl::TexStorage2DMultisample(target, samples, internalformat, width, height, + fixedsamplelocations); } void GL_APIENTRY glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) { - return GL_UseProgramStages(pipeline, stages, program); + return gl::UseProgramStages(pipeline, stages, program); } void GL_APIENTRY glValidateProgramPipeline(GLuint pipeline) { - return GL_ValidateProgramPipeline(pipeline); + return gl::ValidateProgramPipeline(pipeline); } void GL_APIENTRY glVertexAttribBinding(GLuint attribindex, GLuint bindingindex) { - return GL_VertexAttribBinding(attribindex, bindingindex); + return gl::VertexAttribBinding(attribindex, bindingindex); } void GL_APIENTRY glVertexAttribFormat(GLuint attribindex, @@ -1971,7 +1972,7 @@ void GL_APIENTRY glVertexAttribFormat(GLuint attribindex, GLboolean normalized, GLuint relativeoffset) { - return GL_VertexAttribFormat(attribindex, size, type, normalized, relativeoffset); + return gl::VertexAttribFormat(attribindex, size, type, normalized, relativeoffset); } void GL_APIENTRY glVertexAttribIFormat(GLuint attribindex, @@ -1979,44 +1980,44 @@ void GL_APIENTRY glVertexAttribIFormat(GLuint attribindex, GLenum type, GLuint relativeoffset) { - return GL_VertexAttribIFormat(attribindex, size, type, relativeoffset); + return gl::VertexAttribIFormat(attribindex, size, type, relativeoffset); } void GL_APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor) { - return GL_VertexBindingDivisor(bindingindex, divisor); + return gl::VertexBindingDivisor(bindingindex, divisor); } // OpenGL ES 3.2 void GL_APIENTRY glBlendBarrier() { - return GL_BlendBarrier(); + return gl::BlendBarrier(); } void GL_APIENTRY glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparatei(buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparatei(buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationi(GLuint buf, GLenum mode) { - return GL_BlendEquationi(buf, mode); + return gl::BlendEquationi(buf, mode); } void GL_APIENTRY glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFunci(GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunci(buf, src, dst); + return gl::BlendFunci(buf, src, dst); } void GL_APIENTRY glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { - return GL_ColorMaski(index, r, g, b, a); + return gl::ColorMaski(index, r, g, b, a); } void GL_APIENTRY glCopyImageSubData(GLuint srcName, @@ -2035,13 +2036,13 @@ void GL_APIENTRY glCopyImageSubData(GLuint srcName, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, - dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); + return gl::CopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, + dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); } void GL_APIENTRY glDebugMessageCallback(GLDEBUGPROC callback, const void *userParam) { - return GL_DebugMessageCallback(callback, userParam); + return gl::DebugMessageCallback(callback, userParam); } void GL_APIENTRY glDebugMessageControl(GLenum source, @@ -2051,7 +2052,7 @@ void GL_APIENTRY glDebugMessageControl(GLenum source, const GLuint *ids, GLboolean enabled) { - return GL_DebugMessageControl(source, type, severity, count, ids, enabled); + return gl::DebugMessageControl(source, type, severity, count, ids, enabled); } void GL_APIENTRY glDebugMessageInsert(GLenum source, @@ -2061,12 +2062,12 @@ void GL_APIENTRY glDebugMessageInsert(GLenum source, GLsizei length, const GLchar *buf) { - return GL_DebugMessageInsert(source, type, id, severity, length, buf); + return gl::DebugMessageInsert(source, type, id, severity, length, buf); } void GL_APIENTRY glDisablei(GLenum target, GLuint index) { - return GL_Disablei(target, index); + return gl::Disablei(target, index); } void GL_APIENTRY glDrawElementsBaseVertex(GLenum mode, @@ -2075,7 +2076,7 @@ void GL_APIENTRY glDrawElementsBaseVertex(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertex(mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertex(mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsInstancedBaseVertex(GLenum mode, @@ -2085,8 +2086,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, - basevertex); + return gl::DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, + basevertex); } void GL_APIENTRY glDrawRangeElementsBaseVertex(GLenum mode, @@ -2097,17 +2098,17 @@ void GL_APIENTRY glDrawRangeElementsBaseVertex(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); + return gl::DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); } void GL_APIENTRY glEnablei(GLenum target, GLuint index) { - return GL_Enablei(target, index); + return gl::Enablei(target, index); } void GL_APIENTRY glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) { - return GL_FramebufferTexture(target, attachment, texture, level); + return gl::FramebufferTexture(target, attachment, texture, level); } GLuint GL_APIENTRY glGetDebugMessageLog(GLuint count, @@ -2119,19 +2120,19 @@ GLuint GL_APIENTRY glGetDebugMessageLog(GLuint count, GLsizei *lengths, GLchar *messageLog) { - return GL_GetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, - messageLog); + return gl::GetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, + messageLog); } GLenum GL_APIENTRY glGetGraphicsResetStatus() { - return GL_GetGraphicsResetStatus(); + return gl::GetGraphicsResetStatus(); } void GL_APIENTRY glGetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) { - return GL_GetObjectLabel(identifier, name, bufSize, length, label); + return gl::GetObjectLabel(identifier, name, bufSize, length, label); } void GL_APIENTRY glGetObjectPtrLabel(const void *ptr, @@ -2139,77 +2140,77 @@ void GL_APIENTRY glGetObjectPtrLabel(const void *ptr, GLsizei *length, GLchar *label) { - return GL_GetObjectPtrLabel(ptr, bufSize, length, label); + return gl::GetObjectPtrLabel(ptr, bufSize, length, label); } void GL_APIENTRY glGetPointerv(GLenum pname, void **params) { - return GL_GetPointerv(pname, params); + return gl::GetPointerv(pname, params); } void GL_APIENTRY glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) { - return GL_GetSamplerParameterIiv(sampler, pname, params); + return gl::GetSamplerParameterIiv(sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) { - return GL_GetSamplerParameterIuiv(sampler, pname, params); + return gl::GetSamplerParameterIuiv(sampler, pname, params); } void GL_APIENTRY glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) { - return GL_GetTexParameterIiv(target, pname, params); + return gl::GetTexParameterIiv(target, pname, params); } void GL_APIENTRY glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) { - return GL_GetTexParameterIuiv(target, pname, params); + return gl::GetTexParameterIuiv(target, pname, params); } void GL_APIENTRY glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) { - return GL_GetnUniformfv(program, location, bufSize, params); + return gl::GetnUniformfv(program, location, bufSize, params); } void GL_APIENTRY glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params) { - return GL_GetnUniformiv(program, location, bufSize, params); + return gl::GetnUniformiv(program, location, bufSize, params); } void GL_APIENTRY glGetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint *params) { - return GL_GetnUniformuiv(program, location, bufSize, params); + return gl::GetnUniformuiv(program, location, bufSize, params); } GLboolean GL_APIENTRY glIsEnabledi(GLenum target, GLuint index) { - return GL_IsEnabledi(target, index); + return gl::IsEnabledi(target, index); } void GL_APIENTRY glMinSampleShading(GLfloat value) { - return GL_MinSampleShading(value); + return gl::MinSampleShading(value); } void GL_APIENTRY glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label) { - return GL_ObjectLabel(identifier, name, length, label); + return gl::ObjectLabel(identifier, name, length, label); } void GL_APIENTRY glObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label) { - return GL_ObjectPtrLabel(ptr, length, label); + return gl::ObjectPtrLabel(ptr, length, label); } void GL_APIENTRY glPatchParameteri(GLenum pname, GLint value) { - return GL_PatchParameteri(pname, value); + return gl::PatchParameteri(pname, value); } void GL_APIENTRY glPopDebugGroup() { - return GL_PopDebugGroup(); + return gl::PopDebugGroup(); } void GL_APIENTRY glPrimitiveBoundingBox(GLfloat minX, @@ -2221,12 +2222,12 @@ void GL_APIENTRY glPrimitiveBoundingBox(GLfloat minX, GLfloat maxZ, GLfloat maxW) { - return GL_PrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); + return gl::PrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); } void GL_APIENTRY glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message) { - return GL_PushDebugGroup(source, id, length, message); + return gl::PushDebugGroup(source, id, length, message); } void GL_APIENTRY glReadnPixels(GLint x, @@ -2238,22 +2239,22 @@ void GL_APIENTRY glReadnPixels(GLint x, GLsizei bufSize, void *data) { - return GL_ReadnPixels(x, y, width, height, format, type, bufSize, data); + return gl::ReadnPixels(x, y, width, height, format, type, bufSize, data); } void GL_APIENTRY glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param) { - return GL_SamplerParameterIiv(sampler, pname, param); + return gl::SamplerParameterIiv(sampler, pname, param); } void GL_APIENTRY glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param) { - return GL_SamplerParameterIuiv(sampler, pname, param); + return gl::SamplerParameterIuiv(sampler, pname, param); } void GL_APIENTRY glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) { - return GL_TexBuffer(target, internalformat, buffer); + return gl::TexBuffer(target, internalformat, buffer); } void GL_APIENTRY glTexBufferRange(GLenum target, @@ -2262,17 +2263,17 @@ void GL_APIENTRY glTexBufferRange(GLenum target, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRange(target, internalformat, buffer, offset, size); + return gl::TexBufferRange(target, internalformat, buffer, offset, size); } void GL_APIENTRY glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) { - return GL_TexParameterIiv(target, pname, params); + return gl::TexParameterIiv(target, pname, params); } void GL_APIENTRY glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) { - return GL_TexParameterIuiv(target, pname, params); + return gl::TexParameterIuiv(target, pname, params); } void GL_APIENTRY glTexStorage3DMultisample(GLenum target, @@ -2283,434 +2284,434 @@ void GL_APIENTRY glTexStorage3DMultisample(GLenum target, GLsizei depth, GLboolean fixedsamplelocations) { - return GL_TexStorage3DMultisample(target, samples, internalformat, width, height, depth, - fixedsamplelocations); + return gl::TexStorage3DMultisample(target, samples, internalformat, width, height, depth, + fixedsamplelocations); } // OpenGL ES 1.0 void GL_APIENTRY glAlphaFunc(GLenum func, GLfloat ref) { - return GL_AlphaFunc(func, ref); + return gl::AlphaFunc(func, ref); } void GL_APIENTRY glAlphaFuncx(GLenum func, GLfixed ref) { - return GL_AlphaFuncx(func, ref); + return gl::AlphaFuncx(func, ref); } void GL_APIENTRY glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { - return GL_ClearColorx(red, green, blue, alpha); + return gl::ClearColorx(red, green, blue, alpha); } void GL_APIENTRY glClearDepthx(GLfixed depth) { - return GL_ClearDepthx(depth); + return gl::ClearDepthx(depth); } void GL_APIENTRY glClientActiveTexture(GLenum texture) { - return GL_ClientActiveTexture(texture); + return gl::ClientActiveTexture(texture); } void GL_APIENTRY glClipPlanef(GLenum p, const GLfloat *eqn) { - return GL_ClipPlanef(p, eqn); + return gl::ClipPlanef(p, eqn); } void GL_APIENTRY glClipPlanex(GLenum plane, const GLfixed *equation) { - return GL_ClipPlanex(plane, equation); + return gl::ClipPlanex(plane, equation); } void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_Color4f(red, green, blue, alpha); + return gl::Color4f(red, green, blue, alpha); } void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { - return GL_Color4ub(red, green, blue, alpha); + return gl::Color4ub(red, green, blue, alpha); } void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { - return GL_Color4x(red, green, blue, alpha); + return gl::Color4x(red, green, blue, alpha); } void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { - return GL_ColorPointer(size, type, stride, pointer); + return gl::ColorPointer(size, type, stride, pointer); } void GL_APIENTRY glDepthRangex(GLfixed n, GLfixed f) { - return GL_DepthRangex(n, f); + return gl::DepthRangex(n, f); } void GL_APIENTRY glDisableClientState(GLenum array) { - return GL_DisableClientState(array); + return gl::DisableClientState(array); } void GL_APIENTRY glEnableClientState(GLenum array) { - return GL_EnableClientState(array); + return gl::EnableClientState(array); } void GL_APIENTRY glFogf(GLenum pname, GLfloat param) { - return GL_Fogf(pname, param); + return gl::Fogf(pname, param); } void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params) { - return GL_Fogfv(pname, params); + return gl::Fogfv(pname, params); } void GL_APIENTRY glFogx(GLenum pname, GLfixed param) { - return GL_Fogx(pname, param); + return gl::Fogx(pname, param); } void GL_APIENTRY glFogxv(GLenum pname, const GLfixed *param) { - return GL_Fogxv(pname, param); + return gl::Fogxv(pname, param); } void GL_APIENTRY glFrustumf(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - return GL_Frustumf(l, r, b, t, n, f); + return gl::Frustumf(l, r, b, t, n, f); } void GL_APIENTRY glFrustumx(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - return GL_Frustumx(l, r, b, t, n, f); + return gl::Frustumx(l, r, b, t, n, f); } void GL_APIENTRY glGetClipPlanef(GLenum plane, GLfloat *equation) { - return GL_GetClipPlanef(plane, equation); + return gl::GetClipPlanef(plane, equation); } void GL_APIENTRY glGetClipPlanex(GLenum plane, GLfixed *equation) { - return GL_GetClipPlanex(plane, equation); + return gl::GetClipPlanex(plane, equation); } void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed *params) { - return GL_GetFixedv(pname, params); + return gl::GetFixedv(pname, params); } void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) { - return GL_GetLightfv(light, pname, params); + return gl::GetLightfv(light, pname, params); } void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname, GLfixed *params) { - return GL_GetLightxv(light, pname, params); + return gl::GetLightxv(light, pname, params); } void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) { - return GL_GetMaterialfv(face, pname, params); + return gl::GetMaterialfv(face, pname, params); } void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) { - return GL_GetMaterialxv(face, pname, params); + return gl::GetMaterialxv(face, pname, params); } void GL_APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) { - return GL_GetTexEnvfv(target, pname, params); + return gl::GetTexEnvfv(target, pname, params); } void GL_APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params) { - return GL_GetTexEnviv(target, pname, params); + return gl::GetTexEnviv(target, pname, params); } void GL_APIENTRY glGetTexEnvxv(GLenum target, GLenum pname, GLfixed *params) { - return GL_GetTexEnvxv(target, pname, params); + return gl::GetTexEnvxv(target, pname, params); } void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) { - return GL_GetTexParameterxv(target, pname, params); + return gl::GetTexParameterxv(target, pname, params); } void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param) { - return GL_LightModelf(pname, param); + return gl::LightModelf(pname, param); } void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat *params) { - return GL_LightModelfv(pname, params); + return gl::LightModelfv(pname, params); } void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param) { - return GL_LightModelx(pname, param); + return gl::LightModelx(pname, param); } void GL_APIENTRY glLightModelxv(GLenum pname, const GLfixed *param) { - return GL_LightModelxv(pname, param); + return gl::LightModelxv(pname, param); } void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param) { - return GL_Lightf(light, pname, param); + return gl::Lightf(light, pname, param); } void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params) { - return GL_Lightfv(light, pname, params); + return gl::Lightfv(light, pname, params); } void GL_APIENTRY glLightx(GLenum light, GLenum pname, GLfixed param) { - return GL_Lightx(light, pname, param); + return gl::Lightx(light, pname, param); } void GL_APIENTRY glLightxv(GLenum light, GLenum pname, const GLfixed *params) { - return GL_Lightxv(light, pname, params); + return gl::Lightxv(light, pname, params); } void GL_APIENTRY glLineWidthx(GLfixed width) { - return GL_LineWidthx(width); + return gl::LineWidthx(width); } void GL_APIENTRY glLoadIdentity() { - return GL_LoadIdentity(); + return gl::LoadIdentity(); } void GL_APIENTRY glLoadMatrixf(const GLfloat *m) { - return GL_LoadMatrixf(m); + return gl::LoadMatrixf(m); } void GL_APIENTRY glLoadMatrixx(const GLfixed *m) { - return GL_LoadMatrixx(m); + return gl::LoadMatrixx(m); } void GL_APIENTRY glLogicOp(GLenum opcode) { - return GL_LogicOp(opcode); + return gl::LogicOp(opcode); } void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param) { - return GL_Materialf(face, pname, param); + return gl::Materialf(face, pname, param); } void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { - return GL_Materialfv(face, pname, params); + return gl::Materialfv(face, pname, params); } void GL_APIENTRY glMaterialx(GLenum face, GLenum pname, GLfixed param) { - return GL_Materialx(face, pname, param); + return gl::Materialx(face, pname, param); } void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname, const GLfixed *param) { - return GL_Materialxv(face, pname, param); + return gl::Materialxv(face, pname, param); } void GL_APIENTRY glMatrixMode(GLenum mode) { - return GL_MatrixMode(mode); + return gl::MatrixMode(mode); } void GL_APIENTRY glMultMatrixf(const GLfloat *m) { - return GL_MultMatrixf(m); + return gl::MultMatrixf(m); } void GL_APIENTRY glMultMatrixx(const GLfixed *m) { - return GL_MultMatrixx(m); + return gl::MultMatrixx(m); } void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - return GL_MultiTexCoord4f(target, s, t, r, q); + return gl::MultiTexCoord4f(target, s, t, r, q); } void GL_APIENTRY glMultiTexCoord4x(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { - return GL_MultiTexCoord4x(texture, s, t, r, q); + return gl::MultiTexCoord4x(texture, s, t, r, q); } void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { - return GL_Normal3f(nx, ny, nz); + return gl::Normal3f(nx, ny, nz); } void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) { - return GL_Normal3x(nx, ny, nz); + return gl::Normal3x(nx, ny, nz); } void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const void *pointer) { - return GL_NormalPointer(type, stride, pointer); + return gl::NormalPointer(type, stride, pointer); } void GL_APIENTRY glOrthof(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - return GL_Orthof(l, r, b, t, n, f); + return gl::Orthof(l, r, b, t, n, f); } void GL_APIENTRY glOrthox(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - return GL_Orthox(l, r, b, t, n, f); + return gl::Orthox(l, r, b, t, n, f); } void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param) { - return GL_PointParameterf(pname, param); + return gl::PointParameterf(pname, param); } void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params) { - return GL_PointParameterfv(pname, params); + return gl::PointParameterfv(pname, params); } void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param) { - return GL_PointParameterx(pname, param); + return gl::PointParameterx(pname, param); } void GL_APIENTRY glPointParameterxv(GLenum pname, const GLfixed *params) { - return GL_PointParameterxv(pname, params); + return gl::PointParameterxv(pname, params); } void GL_APIENTRY glPointSize(GLfloat size) { - return GL_PointSize(size); + return gl::PointSize(size); } void GL_APIENTRY glPointSizex(GLfixed size) { - return GL_PointSizex(size); + return gl::PointSizex(size); } void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units) { - return GL_PolygonOffsetx(factor, units); + return gl::PolygonOffsetx(factor, units); } void GL_APIENTRY glPopMatrix() { - return GL_PopMatrix(); + return gl::PopMatrix(); } void GL_APIENTRY glPushMatrix() { - return GL_PushMatrix(); + return gl::PushMatrix(); } void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { - return GL_Rotatef(angle, x, y, z); + return gl::Rotatef(angle, x, y, z); } void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { - return GL_Rotatex(angle, x, y, z); + return gl::Rotatex(angle, x, y, z); } void GL_APIENTRY glSampleCoveragex(GLclampx value, GLboolean invert) { - return GL_SampleCoveragex(value, invert); + return gl::SampleCoveragex(value, invert); } void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z) { - return GL_Scalef(x, y, z); + return gl::Scalef(x, y, z); } void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z) { - return GL_Scalex(x, y, z); + return gl::Scalex(x, y, z); } void GL_APIENTRY glShadeModel(GLenum mode) { - return GL_ShadeModel(mode); + return gl::ShadeModel(mode); } void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { - return GL_TexCoordPointer(size, type, stride, pointer); + return gl::TexCoordPointer(size, type, stride, pointer); } void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param) { - return GL_TexEnvf(target, pname, param); + return gl::TexEnvf(target, pname, param); } void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) { - return GL_TexEnvfv(target, pname, params); + return gl::TexEnvfv(target, pname, params); } void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param) { - return GL_TexEnvi(target, pname, param); + return gl::TexEnvi(target, pname, param); } void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params) { - return GL_TexEnviv(target, pname, params); + return gl::TexEnviv(target, pname, params); } void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname, GLfixed param) { - return GL_TexEnvx(target, pname, param); + return gl::TexEnvx(target, pname, param); } void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params) { - return GL_TexEnvxv(target, pname, params); + return gl::TexEnvxv(target, pname, params); } void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname, GLfixed param) { - return GL_TexParameterx(target, pname, param); + return gl::TexParameterx(target, pname, param); } void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params) { - return GL_TexParameterxv(target, pname, params); + return gl::TexParameterxv(target, pname, params); } void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z) { - return GL_Translatef(x, y, z); + return gl::Translatef(x, y, z); } void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z) { - return GL_Translatex(x, y, z); + return gl::Translatex(x, y, z); } void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) { - return GL_VertexPointer(size, type, stride, pointer); + return gl::VertexPointer(size, type, stride, pointer); } // GL_ANGLE_base_vertex_base_instance @@ -2720,7 +2721,8 @@ void GL_APIENTRY glDrawArraysInstancedBaseInstanceANGLE(GLenum mode, GLsizei instanceCount, GLuint baseInstance) { - return GL_DrawArraysInstancedBaseInstanceANGLE(mode, first, count, instanceCount, baseInstance); + return gl::DrawArraysInstancedBaseInstanceANGLE(mode, first, count, instanceCount, + baseInstance); } void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, @@ -2731,7 +2733,7 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, GLint baseVertex, GLuint baseInstance) { - return GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE( + return gl::DrawElementsInstancedBaseVertexBaseInstanceANGLE( mode, count, type, indices, instanceCounts, baseVertex, baseInstance); } @@ -2742,8 +2744,8 @@ void GL_APIENTRY glMultiDrawArraysInstancedBaseInstanceANGLE(GLenum mode, const GLuint *baseInstances, GLsizei drawcount) { - return GL_MultiDrawArraysInstancedBaseInstanceANGLE(mode, firsts, counts, instanceCounts, - baseInstances, drawcount); + return gl::MultiDrawArraysInstancedBaseInstanceANGLE(mode, firsts, counts, instanceCounts, + baseInstances, drawcount); } void GL_APIENTRY @@ -2756,7 +2758,7 @@ glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(GLenum mode, const GLuint *baseInstances, GLsizei drawcount) { - return GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE( + return gl::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE( mode, counts, type, indices, instanceCounts, baseVertices, baseInstances, drawcount); } @@ -2772,9 +2774,9 @@ void GL_APIENTRY glCopyTexture3DANGLE(GLuint sourceId, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopyTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, - internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, - unpackUnmultiplyAlpha); + return gl::CopyTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, + internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, + unpackUnmultiplyAlpha); } void GL_APIENTRY glCopySubTexture3DANGLE(GLuint sourceId, @@ -2795,9 +2797,9 @@ void GL_APIENTRY glCopySubTexture3DANGLE(GLuint sourceId, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopySubTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, - yoffset, zoffset, x, y, z, width, height, depth, unpackFlipY, - unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + return gl::CopySubTexture3DANGLE(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, + yoffset, zoffset, x, y, z, width, height, depth, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } // GL_ANGLE_framebuffer_blit @@ -2812,8 +2814,8 @@ void GL_APIENTRY glBlitFramebufferANGLE(GLint srcX0, GLbitfield mask, GLenum filter) { - return GL_BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, - filter); + return gl::BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, + filter); } // GL_ANGLE_framebuffer_multisample @@ -2823,14 +2825,14 @@ void GL_APIENTRY glRenderbufferStorageMultisampleANGLE(GLenum target, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisampleANGLE(target, samples, internalformat, width, height); + return gl::RenderbufferStorageMultisampleANGLE(target, samples, internalformat, width, height); } // GL_ANGLE_get_image void GL_APIENTRY glGetTexImageANGLE(GLenum target, GLint level, GLenum format, GLenum type, void *pixels) { - return GL_GetTexImageANGLE(target, level, format, type, pixels); + return gl::GetTexImageANGLE(target, level, format, type, pixels); } void GL_APIENTRY glGetRenderbufferImageANGLE(GLenum target, @@ -2838,7 +2840,7 @@ void GL_APIENTRY glGetRenderbufferImageANGLE(GLenum target, GLenum type, void *pixels) { - return GL_GetRenderbufferImageANGLE(target, format, type, pixels); + return gl::GetRenderbufferImageANGLE(target, format, type, pixels); } // GL_ANGLE_get_tex_level_parameter @@ -2847,7 +2849,7 @@ void GL_APIENTRY glGetTexLevelParameterivANGLE(GLenum target, GLenum pname, GLint *params) { - return GL_GetTexLevelParameterivANGLE(target, level, pname, params); + return gl::GetTexLevelParameterivANGLE(target, level, pname, params); } void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, @@ -2855,7 +2857,7 @@ void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, GLenum pname, GLfloat *params) { - return GL_GetTexLevelParameterfvANGLE(target, level, pname, params); + return gl::GetTexLevelParameterfvANGLE(target, level, pname, params); } // GL_ANGLE_instanced_arrays @@ -2864,7 +2866,7 @@ void GL_APIENTRY glDrawArraysInstancedANGLE(GLenum mode, GLsizei count, GLsizei primcount) { - return GL_DrawArraysInstancedANGLE(mode, first, count, primcount); + return gl::DrawArraysInstancedANGLE(mode, first, count, primcount); } void GL_APIENTRY glDrawElementsInstancedANGLE(GLenum mode, @@ -2873,12 +2875,12 @@ void GL_APIENTRY glDrawElementsInstancedANGLE(GLenum mode, const void *indices, GLsizei primcount) { - return GL_DrawElementsInstancedANGLE(mode, count, type, indices, primcount); + return gl::DrawElementsInstancedANGLE(mode, count, type, indices, primcount); } void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { - return GL_VertexAttribDivisorANGLE(index, divisor); + return gl::VertexAttribDivisorANGLE(index, divisor); } // GL_ANGLE_memory_object_flags @@ -2892,8 +2894,8 @@ void GL_APIENTRY glTexStorageMemFlags2DANGLE(GLenum target, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags2DANGLE(target, levels, internalFormat, width, height, memory, - offset, createFlags, usageFlags); + return gl::TexStorageMemFlags2DANGLE(target, levels, internalFormat, width, height, memory, + offset, createFlags, usageFlags); } void GL_APIENTRY glTexStorageMemFlags2DMultisampleANGLE(GLenum target, @@ -2907,9 +2909,9 @@ void GL_APIENTRY glTexStorageMemFlags2DMultisampleANGLE(GLenum target, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags2DMultisampleANGLE(target, samples, internalFormat, width, height, - fixedSampleLocations, memory, offset, - createFlags, usageFlags); + return gl::TexStorageMemFlags2DMultisampleANGLE(target, samples, internalFormat, width, height, + fixedSampleLocations, memory, offset, + createFlags, usageFlags); } void GL_APIENTRY glTexStorageMemFlags3DANGLE(GLenum target, @@ -2923,8 +2925,8 @@ void GL_APIENTRY glTexStorageMemFlags3DANGLE(GLenum target, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags3DANGLE(target, levels, internalFormat, width, height, depth, - memory, offset, createFlags, usageFlags); + return gl::TexStorageMemFlags3DANGLE(target, levels, internalFormat, width, height, depth, + memory, offset, createFlags, usageFlags); } void GL_APIENTRY glTexStorageMemFlags3DMultisampleANGLE(GLenum target, @@ -2939,9 +2941,9 @@ void GL_APIENTRY glTexStorageMemFlags3DMultisampleANGLE(GLenum target, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags3DMultisampleANGLE(target, samples, internalFormat, width, height, - depth, fixedSampleLocations, memory, offset, - createFlags, usageFlags); + return gl::TexStorageMemFlags3DMultisampleANGLE(target, samples, internalFormat, width, height, + depth, fixedSampleLocations, memory, offset, + createFlags, usageFlags); } // GL_ANGLE_memory_object_fuchsia @@ -2950,7 +2952,7 @@ void GL_APIENTRY glImportMemoryZirconHandleANGLE(GLuint memory, GLenum handleType, GLuint handle) { - return GL_ImportMemoryZirconHandleANGLE(memory, size, handleType, handle); + return gl::ImportMemoryZirconHandleANGLE(memory, size, handleType, handle); } // GL_ANGLE_multi_draw @@ -2959,7 +2961,7 @@ void GL_APIENTRY glMultiDrawArraysANGLE(GLenum mode, const GLsizei *counts, GLsizei drawcount) { - return GL_MultiDrawArraysANGLE(mode, firsts, counts, drawcount); + return gl::MultiDrawArraysANGLE(mode, firsts, counts, drawcount); } void GL_APIENTRY glMultiDrawArraysInstancedANGLE(GLenum mode, @@ -2968,7 +2970,7 @@ void GL_APIENTRY glMultiDrawArraysInstancedANGLE(GLenum mode, const GLsizei *instanceCounts, GLsizei drawcount) { - return GL_MultiDrawArraysInstancedANGLE(mode, firsts, counts, instanceCounts, drawcount); + return gl::MultiDrawArraysInstancedANGLE(mode, firsts, counts, instanceCounts, drawcount); } void GL_APIENTRY glMultiDrawElementsANGLE(GLenum mode, @@ -2977,7 +2979,7 @@ void GL_APIENTRY glMultiDrawElementsANGLE(GLenum mode, const GLvoid *const *indices, GLsizei drawcount) { - return GL_MultiDrawElementsANGLE(mode, counts, type, indices, drawcount); + return gl::MultiDrawElementsANGLE(mode, counts, type, indices, drawcount); } void GL_APIENTRY glMultiDrawElementsInstancedANGLE(GLenum mode, @@ -2987,8 +2989,8 @@ void GL_APIENTRY glMultiDrawElementsInstancedANGLE(GLenum mode, const GLsizei *instanceCounts, GLsizei drawcount) { - return GL_MultiDrawElementsInstancedANGLE(mode, counts, type, indices, instanceCounts, - drawcount); + return gl::MultiDrawElementsInstancedANGLE(mode, counts, type, indices, instanceCounts, + drawcount); } // GL_ANGLE_program_binary @@ -2996,18 +2998,18 @@ void GL_APIENTRY glMultiDrawElementsInstancedANGLE(GLenum mode, // GL_ANGLE_provoking_vertex void GL_APIENTRY glProvokingVertexANGLE(GLenum mode) { - return GL_ProvokingVertexANGLE(mode); + return gl::ProvokingVertexANGLE(mode); } // GL_ANGLE_request_extension void GL_APIENTRY glRequestExtensionANGLE(const GLchar *name) { - return GL_RequestExtensionANGLE(name); + return gl::RequestExtensionANGLE(name); } void GL_APIENTRY glDisableExtensionANGLE(const GLchar *name) { - return GL_DisableExtensionANGLE(name); + return gl::DisableExtensionANGLE(name); } // GL_ANGLE_robust_client_memory @@ -3016,7 +3018,7 @@ void GL_APIENTRY glGetBooleanvRobustANGLE(GLenum pname, GLsizei *length, GLboolean *params) { - return GL_GetBooleanvRobustANGLE(pname, bufSize, length, params); + return gl::GetBooleanvRobustANGLE(pname, bufSize, length, params); } void GL_APIENTRY glGetBufferParameterivRobustANGLE(GLenum target, @@ -3025,7 +3027,7 @@ void GL_APIENTRY glGetBufferParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetBufferParameterivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetBufferParameterivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetFloatvRobustANGLE(GLenum pname, @@ -3033,7 +3035,7 @@ void GL_APIENTRY glGetFloatvRobustANGLE(GLenum pname, GLsizei *length, GLfloat *params) { - return GL_GetFloatvRobustANGLE(pname, bufSize, length, params); + return gl::GetFloatvRobustANGLE(pname, bufSize, length, params); } void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLE(GLenum target, @@ -3043,8 +3045,8 @@ void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetFramebufferAttachmentParameterivRobustANGLE(target, attachment, pname, bufSize, - length, params); + return gl::GetFramebufferAttachmentParameterivRobustANGLE(target, attachment, pname, bufSize, + length, params); } void GL_APIENTRY glGetIntegervRobustANGLE(GLenum pname, @@ -3052,7 +3054,7 @@ void GL_APIENTRY glGetIntegervRobustANGLE(GLenum pname, GLsizei *length, GLint *data) { - return GL_GetIntegervRobustANGLE(pname, bufSize, length, data); + return gl::GetIntegervRobustANGLE(pname, bufSize, length, data); } void GL_APIENTRY glGetProgramivRobustANGLE(GLuint program, @@ -3061,7 +3063,7 @@ void GL_APIENTRY glGetProgramivRobustANGLE(GLuint program, GLsizei *length, GLint *params) { - return GL_GetProgramivRobustANGLE(program, pname, bufSize, length, params); + return gl::GetProgramivRobustANGLE(program, pname, bufSize, length, params); } void GL_APIENTRY glGetRenderbufferParameterivRobustANGLE(GLenum target, @@ -3070,7 +3072,7 @@ void GL_APIENTRY glGetRenderbufferParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetRenderbufferParameterivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetRenderbufferParameterivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetShaderivRobustANGLE(GLuint shader, @@ -3079,7 +3081,7 @@ void GL_APIENTRY glGetShaderivRobustANGLE(GLuint shader, GLsizei *length, GLint *params) { - return GL_GetShaderivRobustANGLE(shader, pname, bufSize, length, params); + return gl::GetShaderivRobustANGLE(shader, pname, bufSize, length, params); } void GL_APIENTRY glGetTexParameterfvRobustANGLE(GLenum target, @@ -3088,7 +3090,7 @@ void GL_APIENTRY glGetTexParameterfvRobustANGLE(GLenum target, GLsizei *length, GLfloat *params) { - return GL_GetTexParameterfvRobustANGLE(target, pname, bufSize, length, params); + return gl::GetTexParameterfvRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetTexParameterivRobustANGLE(GLenum target, @@ -3097,7 +3099,7 @@ void GL_APIENTRY glGetTexParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetTexParameterivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetTexParameterivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetUniformfvRobustANGLE(GLuint program, @@ -3106,7 +3108,7 @@ void GL_APIENTRY glGetUniformfvRobustANGLE(GLuint program, GLsizei *length, GLfloat *params) { - return GL_GetUniformfvRobustANGLE(program, location, bufSize, length, params); + return gl::GetUniformfvRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glGetUniformivRobustANGLE(GLuint program, @@ -3115,7 +3117,7 @@ void GL_APIENTRY glGetUniformivRobustANGLE(GLuint program, GLsizei *length, GLint *params) { - return GL_GetUniformivRobustANGLE(program, location, bufSize, length, params); + return gl::GetUniformivRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribfvRobustANGLE(GLuint index, @@ -3124,7 +3126,7 @@ void GL_APIENTRY glGetVertexAttribfvRobustANGLE(GLuint index, GLsizei *length, GLfloat *params) { - return GL_GetVertexAttribfvRobustANGLE(index, pname, bufSize, length, params); + return gl::GetVertexAttribfvRobustANGLE(index, pname, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribivRobustANGLE(GLuint index, @@ -3133,7 +3135,7 @@ void GL_APIENTRY glGetVertexAttribivRobustANGLE(GLuint index, GLsizei *length, GLint *params) { - return GL_GetVertexAttribivRobustANGLE(index, pname, bufSize, length, params); + return gl::GetVertexAttribivRobustANGLE(index, pname, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribPointervRobustANGLE(GLuint index, @@ -3142,7 +3144,7 @@ void GL_APIENTRY glGetVertexAttribPointervRobustANGLE(GLuint index, GLsizei *length, void **pointer) { - return GL_GetVertexAttribPointervRobustANGLE(index, pname, bufSize, length, pointer); + return gl::GetVertexAttribPointervRobustANGLE(index, pname, bufSize, length, pointer); } void GL_APIENTRY glReadPixelsRobustANGLE(GLint x, @@ -3157,8 +3159,8 @@ void GL_APIENTRY glReadPixelsRobustANGLE(GLint x, GLsizei *rows, void *pixels) { - return GL_ReadPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, - rows, pixels); + return gl::ReadPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, + rows, pixels); } void GL_APIENTRY glTexImage2DRobustANGLE(GLenum target, @@ -3172,8 +3174,8 @@ void GL_APIENTRY glTexImage2DRobustANGLE(GLenum target, GLsizei bufSize, const void *pixels) { - return GL_TexImage2DRobustANGLE(target, level, internalformat, width, height, border, format, - type, bufSize, pixels); + return gl::TexImage2DRobustANGLE(target, level, internalformat, width, height, border, format, + type, bufSize, pixels); } void GL_APIENTRY glTexParameterfvRobustANGLE(GLenum target, @@ -3181,7 +3183,7 @@ void GL_APIENTRY glTexParameterfvRobustANGLE(GLenum target, GLsizei bufSize, const GLfloat *params) { - return GL_TexParameterfvRobustANGLE(target, pname, bufSize, params); + return gl::TexParameterfvRobustANGLE(target, pname, bufSize, params); } void GL_APIENTRY glTexParameterivRobustANGLE(GLenum target, @@ -3189,7 +3191,7 @@ void GL_APIENTRY glTexParameterivRobustANGLE(GLenum target, GLsizei bufSize, const GLint *params) { - return GL_TexParameterivRobustANGLE(target, pname, bufSize, params); + return gl::TexParameterivRobustANGLE(target, pname, bufSize, params); } void GL_APIENTRY glTexSubImage2DRobustANGLE(GLenum target, @@ -3203,8 +3205,8 @@ void GL_APIENTRY glTexSubImage2DRobustANGLE(GLenum target, GLsizei bufSize, const void *pixels) { - return GL_TexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, format, type, - bufSize, pixels); + return gl::TexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, format, + type, bufSize, pixels); } void GL_APIENTRY glTexImage3DRobustANGLE(GLenum target, @@ -3219,8 +3221,8 @@ void GL_APIENTRY glTexImage3DRobustANGLE(GLenum target, GLsizei bufSize, const void *pixels) { - return GL_TexImage3DRobustANGLE(target, level, internalformat, width, height, depth, border, - format, type, bufSize, pixels); + return gl::TexImage3DRobustANGLE(target, level, internalformat, width, height, depth, border, + format, type, bufSize, pixels); } void GL_APIENTRY glTexSubImage3DRobustANGLE(GLenum target, @@ -3236,8 +3238,8 @@ void GL_APIENTRY glTexSubImage3DRobustANGLE(GLenum target, GLsizei bufSize, const void *pixels) { - return GL_TexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, height, - depth, format, type, bufSize, pixels); + return gl::TexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, height, + depth, format, type, bufSize, pixels); } void GL_APIENTRY glCompressedTexImage2DRobustANGLE(GLenum target, @@ -3250,8 +3252,8 @@ void GL_APIENTRY glCompressedTexImage2DRobustANGLE(GLenum target, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexImage2DRobustANGLE(target, level, internalformat, width, height, border, - imageSize, dataSize, data); + return gl::CompressedTexImage2DRobustANGLE(target, level, internalformat, width, height, border, + imageSize, dataSize, data); } void GL_APIENTRY glCompressedTexSubImage2DRobustANGLE(GLenum target, @@ -3265,8 +3267,8 @@ void GL_APIENTRY glCompressedTexSubImage2DRobustANGLE(GLenum target, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, - format, imageSize, dataSize, data); + return gl::CompressedTexSubImage2DRobustANGLE(target, level, xoffset, yoffset, width, height, + format, imageSize, dataSize, data); } void GL_APIENTRY glCompressedTexImage3DRobustANGLE(GLenum target, @@ -3280,8 +3282,8 @@ void GL_APIENTRY glCompressedTexImage3DRobustANGLE(GLenum target, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexImage3DRobustANGLE(target, level, internalformat, width, height, depth, - border, imageSize, dataSize, data); + return gl::CompressedTexImage3DRobustANGLE(target, level, internalformat, width, height, depth, + border, imageSize, dataSize, data); } void GL_APIENTRY glCompressedTexSubImage3DRobustANGLE(GLenum target, @@ -3297,8 +3299,8 @@ void GL_APIENTRY glCompressedTexSubImage3DRobustANGLE(GLenum target, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, - height, depth, format, imageSize, dataSize, data); + return gl::CompressedTexSubImage3DRobustANGLE(target, level, xoffset, yoffset, zoffset, width, + height, depth, format, imageSize, dataSize, data); } void GL_APIENTRY glGetQueryivRobustANGLE(GLenum target, @@ -3307,7 +3309,7 @@ void GL_APIENTRY glGetQueryivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetQueryivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetQueryivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjectuivRobustANGLE(GLuint id, @@ -3316,7 +3318,7 @@ void GL_APIENTRY glGetQueryObjectuivRobustANGLE(GLuint id, GLsizei *length, GLuint *params) { - return GL_GetQueryObjectuivRobustANGLE(id, pname, bufSize, length, params); + return gl::GetQueryObjectuivRobustANGLE(id, pname, bufSize, length, params); } void GL_APIENTRY glGetBufferPointervRobustANGLE(GLenum target, @@ -3325,7 +3327,7 @@ void GL_APIENTRY glGetBufferPointervRobustANGLE(GLenum target, GLsizei *length, void **params) { - return GL_GetBufferPointervRobustANGLE(target, pname, bufSize, length, params); + return gl::GetBufferPointervRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetIntegeri_vRobustANGLE(GLenum target, @@ -3334,7 +3336,7 @@ void GL_APIENTRY glGetIntegeri_vRobustANGLE(GLenum target, GLsizei *length, GLint *data) { - return GL_GetIntegeri_vRobustANGLE(target, index, bufSize, length, data); + return gl::GetIntegeri_vRobustANGLE(target, index, bufSize, length, data); } void GL_APIENTRY glGetInternalformativRobustANGLE(GLenum target, @@ -3344,8 +3346,8 @@ void GL_APIENTRY glGetInternalformativRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetInternalformativRobustANGLE(target, internalformat, pname, bufSize, length, - params); + return gl::GetInternalformativRobustANGLE(target, internalformat, pname, bufSize, length, + params); } void GL_APIENTRY glGetVertexAttribIivRobustANGLE(GLuint index, @@ -3354,7 +3356,7 @@ void GL_APIENTRY glGetVertexAttribIivRobustANGLE(GLuint index, GLsizei *length, GLint *params) { - return GL_GetVertexAttribIivRobustANGLE(index, pname, bufSize, length, params); + return gl::GetVertexAttribIivRobustANGLE(index, pname, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribIuivRobustANGLE(GLuint index, @@ -3363,7 +3365,7 @@ void GL_APIENTRY glGetVertexAttribIuivRobustANGLE(GLuint index, GLsizei *length, GLuint *params) { - return GL_GetVertexAttribIuivRobustANGLE(index, pname, bufSize, length, params); + return gl::GetVertexAttribIuivRobustANGLE(index, pname, bufSize, length, params); } void GL_APIENTRY glGetUniformuivRobustANGLE(GLuint program, @@ -3372,7 +3374,7 @@ void GL_APIENTRY glGetUniformuivRobustANGLE(GLuint program, GLsizei *length, GLuint *params) { - return GL_GetUniformuivRobustANGLE(program, location, bufSize, length, params); + return gl::GetUniformuivRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glGetActiveUniformBlockivRobustANGLE(GLuint program, @@ -3382,8 +3384,8 @@ void GL_APIENTRY glGetActiveUniformBlockivRobustANGLE(GLuint program, GLsizei *length, GLint *params) { - return GL_GetActiveUniformBlockivRobustANGLE(program, uniformBlockIndex, pname, bufSize, length, - params); + return gl::GetActiveUniformBlockivRobustANGLE(program, uniformBlockIndex, pname, bufSize, + length, params); } void GL_APIENTRY glGetInteger64vRobustANGLE(GLenum pname, @@ -3391,7 +3393,7 @@ void GL_APIENTRY glGetInteger64vRobustANGLE(GLenum pname, GLsizei *length, GLint64 *data) { - return GL_GetInteger64vRobustANGLE(pname, bufSize, length, data); + return gl::GetInteger64vRobustANGLE(pname, bufSize, length, data); } void GL_APIENTRY glGetInteger64i_vRobustANGLE(GLenum target, @@ -3400,7 +3402,7 @@ void GL_APIENTRY glGetInteger64i_vRobustANGLE(GLenum target, GLsizei *length, GLint64 *data) { - return GL_GetInteger64i_vRobustANGLE(target, index, bufSize, length, data); + return gl::GetInteger64i_vRobustANGLE(target, index, bufSize, length, data); } void GL_APIENTRY glGetBufferParameteri64vRobustANGLE(GLenum target, @@ -3409,7 +3411,7 @@ void GL_APIENTRY glGetBufferParameteri64vRobustANGLE(GLenum target, GLsizei *length, GLint64 *params) { - return GL_GetBufferParameteri64vRobustANGLE(target, pname, bufSize, length, params); + return gl::GetBufferParameteri64vRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glSamplerParameterivRobustANGLE(GLuint sampler, @@ -3417,7 +3419,7 @@ void GL_APIENTRY glSamplerParameterivRobustANGLE(GLuint sampler, GLsizei bufSize, const GLint *param) { - return GL_SamplerParameterivRobustANGLE(sampler, pname, bufSize, param); + return gl::SamplerParameterivRobustANGLE(sampler, pname, bufSize, param); } void GL_APIENTRY glSamplerParameterfvRobustANGLE(GLuint sampler, @@ -3425,7 +3427,7 @@ void GL_APIENTRY glSamplerParameterfvRobustANGLE(GLuint sampler, GLsizei bufSize, const GLfloat *param) { - return GL_SamplerParameterfvRobustANGLE(sampler, pname, bufSize, param); + return gl::SamplerParameterfvRobustANGLE(sampler, pname, bufSize, param); } void GL_APIENTRY glGetSamplerParameterivRobustANGLE(GLuint sampler, @@ -3434,7 +3436,7 @@ void GL_APIENTRY glGetSamplerParameterivRobustANGLE(GLuint sampler, GLsizei *length, GLint *params) { - return GL_GetSamplerParameterivRobustANGLE(sampler, pname, bufSize, length, params); + return gl::GetSamplerParameterivRobustANGLE(sampler, pname, bufSize, length, params); } void GL_APIENTRY glGetSamplerParameterfvRobustANGLE(GLuint sampler, @@ -3443,7 +3445,7 @@ void GL_APIENTRY glGetSamplerParameterfvRobustANGLE(GLuint sampler, GLsizei *length, GLfloat *params) { - return GL_GetSamplerParameterfvRobustANGLE(sampler, pname, bufSize, length, params); + return gl::GetSamplerParameterfvRobustANGLE(sampler, pname, bufSize, length, params); } void GL_APIENTRY glGetFramebufferParameterivRobustANGLE(GLenum target, @@ -3452,7 +3454,7 @@ void GL_APIENTRY glGetFramebufferParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetFramebufferParameterivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetFramebufferParameterivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetProgramInterfaceivRobustANGLE(GLuint program, @@ -3462,8 +3464,8 @@ void GL_APIENTRY glGetProgramInterfaceivRobustANGLE(GLuint program, GLsizei *length, GLint *params) { - return GL_GetProgramInterfaceivRobustANGLE(program, programInterface, pname, bufSize, length, - params); + return gl::GetProgramInterfaceivRobustANGLE(program, programInterface, pname, bufSize, length, + params); } void GL_APIENTRY glGetBooleani_vRobustANGLE(GLenum target, @@ -3472,7 +3474,7 @@ void GL_APIENTRY glGetBooleani_vRobustANGLE(GLenum target, GLsizei *length, GLboolean *data) { - return GL_GetBooleani_vRobustANGLE(target, index, bufSize, length, data); + return gl::GetBooleani_vRobustANGLE(target, index, bufSize, length, data); } void GL_APIENTRY glGetMultisamplefvRobustANGLE(GLenum pname, @@ -3481,7 +3483,7 @@ void GL_APIENTRY glGetMultisamplefvRobustANGLE(GLenum pname, GLsizei *length, GLfloat *val) { - return GL_GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val); + return gl::GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val); } void GL_APIENTRY glGetTexLevelParameterivRobustANGLE(GLenum target, @@ -3491,7 +3493,7 @@ void GL_APIENTRY glGetTexLevelParameterivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetTexLevelParameterivRobustANGLE(target, level, pname, bufSize, length, params); + return gl::GetTexLevelParameterivRobustANGLE(target, level, pname, bufSize, length, params); } void GL_APIENTRY glGetTexLevelParameterfvRobustANGLE(GLenum target, @@ -3501,7 +3503,7 @@ void GL_APIENTRY glGetTexLevelParameterfvRobustANGLE(GLenum target, GLsizei *length, GLfloat *params) { - return GL_GetTexLevelParameterfvRobustANGLE(target, level, pname, bufSize, length, params); + return gl::GetTexLevelParameterfvRobustANGLE(target, level, pname, bufSize, length, params); } void GL_APIENTRY glGetPointervRobustANGLERobustANGLE(GLenum pname, @@ -3509,7 +3511,7 @@ void GL_APIENTRY glGetPointervRobustANGLERobustANGLE(GLenum pname, GLsizei *length, void **params) { - return GL_GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params); + return gl::GetPointervRobustANGLERobustANGLE(pname, bufSize, length, params); } void GL_APIENTRY glReadnPixelsRobustANGLE(GLint x, @@ -3524,8 +3526,8 @@ void GL_APIENTRY glReadnPixelsRobustANGLE(GLint x, GLsizei *rows, void *data) { - return GL_ReadnPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, - rows, data); + return gl::ReadnPixelsRobustANGLE(x, y, width, height, format, type, bufSize, length, columns, + rows, data); } void GL_APIENTRY glGetnUniformfvRobustANGLE(GLuint program, @@ -3534,7 +3536,7 @@ void GL_APIENTRY glGetnUniformfvRobustANGLE(GLuint program, GLsizei *length, GLfloat *params) { - return GL_GetnUniformfvRobustANGLE(program, location, bufSize, length, params); + return gl::GetnUniformfvRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glGetnUniformivRobustANGLE(GLuint program, @@ -3543,7 +3545,7 @@ void GL_APIENTRY glGetnUniformivRobustANGLE(GLuint program, GLsizei *length, GLint *params) { - return GL_GetnUniformivRobustANGLE(program, location, bufSize, length, params); + return gl::GetnUniformivRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glGetnUniformuivRobustANGLE(GLuint program, @@ -3552,7 +3554,7 @@ void GL_APIENTRY glGetnUniformuivRobustANGLE(GLuint program, GLsizei *length, GLuint *params) { - return GL_GetnUniformuivRobustANGLE(program, location, bufSize, length, params); + return gl::GetnUniformuivRobustANGLE(program, location, bufSize, length, params); } void GL_APIENTRY glTexParameterIivRobustANGLE(GLenum target, @@ -3560,7 +3562,7 @@ void GL_APIENTRY glTexParameterIivRobustANGLE(GLenum target, GLsizei bufSize, const GLint *params) { - return GL_TexParameterIivRobustANGLE(target, pname, bufSize, params); + return gl::TexParameterIivRobustANGLE(target, pname, bufSize, params); } void GL_APIENTRY glTexParameterIuivRobustANGLE(GLenum target, @@ -3568,7 +3570,7 @@ void GL_APIENTRY glTexParameterIuivRobustANGLE(GLenum target, GLsizei bufSize, const GLuint *params) { - return GL_TexParameterIuivRobustANGLE(target, pname, bufSize, params); + return gl::TexParameterIuivRobustANGLE(target, pname, bufSize, params); } void GL_APIENTRY glGetTexParameterIivRobustANGLE(GLenum target, @@ -3577,7 +3579,7 @@ void GL_APIENTRY glGetTexParameterIivRobustANGLE(GLenum target, GLsizei *length, GLint *params) { - return GL_GetTexParameterIivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetTexParameterIivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glGetTexParameterIuivRobustANGLE(GLenum target, @@ -3586,7 +3588,7 @@ void GL_APIENTRY glGetTexParameterIuivRobustANGLE(GLenum target, GLsizei *length, GLuint *params) { - return GL_GetTexParameterIuivRobustANGLE(target, pname, bufSize, length, params); + return gl::GetTexParameterIuivRobustANGLE(target, pname, bufSize, length, params); } void GL_APIENTRY glSamplerParameterIivRobustANGLE(GLuint sampler, @@ -3594,7 +3596,7 @@ void GL_APIENTRY glSamplerParameterIivRobustANGLE(GLuint sampler, GLsizei bufSize, const GLint *param) { - return GL_SamplerParameterIivRobustANGLE(sampler, pname, bufSize, param); + return gl::SamplerParameterIivRobustANGLE(sampler, pname, bufSize, param); } void GL_APIENTRY glSamplerParameterIuivRobustANGLE(GLuint sampler, @@ -3602,7 +3604,7 @@ void GL_APIENTRY glSamplerParameterIuivRobustANGLE(GLuint sampler, GLsizei bufSize, const GLuint *param) { - return GL_SamplerParameterIuivRobustANGLE(sampler, pname, bufSize, param); + return gl::SamplerParameterIuivRobustANGLE(sampler, pname, bufSize, param); } void GL_APIENTRY glGetSamplerParameterIivRobustANGLE(GLuint sampler, @@ -3611,7 +3613,7 @@ void GL_APIENTRY glGetSamplerParameterIivRobustANGLE(GLuint sampler, GLsizei *length, GLint *params) { - return GL_GetSamplerParameterIivRobustANGLE(sampler, pname, bufSize, length, params); + return gl::GetSamplerParameterIivRobustANGLE(sampler, pname, bufSize, length, params); } void GL_APIENTRY glGetSamplerParameterIuivRobustANGLE(GLuint sampler, @@ -3620,7 +3622,7 @@ void GL_APIENTRY glGetSamplerParameterIuivRobustANGLE(GLuint sampler, GLsizei *length, GLuint *params) { - return GL_GetSamplerParameterIuivRobustANGLE(sampler, pname, bufSize, length, params); + return gl::GetSamplerParameterIuivRobustANGLE(sampler, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjectivRobustANGLE(GLuint id, @@ -3629,7 +3631,7 @@ void GL_APIENTRY glGetQueryObjectivRobustANGLE(GLuint id, GLsizei *length, GLint *params) { - return GL_GetQueryObjectivRobustANGLE(id, pname, bufSize, length, params); + return gl::GetQueryObjectivRobustANGLE(id, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjecti64vRobustANGLE(GLuint id, @@ -3638,7 +3640,7 @@ void GL_APIENTRY glGetQueryObjecti64vRobustANGLE(GLuint id, GLsizei *length, GLint64 *params) { - return GL_GetQueryObjecti64vRobustANGLE(id, pname, bufSize, length, params); + return gl::GetQueryObjecti64vRobustANGLE(id, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjectui64vRobustANGLE(GLuint id, @@ -3647,7 +3649,7 @@ void GL_APIENTRY glGetQueryObjectui64vRobustANGLE(GLuint id, GLsizei *length, GLuint64 *params) { - return GL_GetQueryObjectui64vRobustANGLE(id, pname, bufSize, length, params); + return gl::GetQueryObjectui64vRobustANGLE(id, pname, bufSize, length, params); } // GL_ANGLE_semaphore_fuchsia @@ -3655,7 +3657,7 @@ void GL_APIENTRY glImportSemaphoreZirconHandleANGLE(GLuint semaphore, GLenum handleType, GLuint handle) { - return GL_ImportSemaphoreZirconHandleANGLE(semaphore, handleType, handle); + return gl::ImportSemaphoreZirconHandleANGLE(semaphore, handleType, handle); } // GL_ANGLE_texture_external_update @@ -3668,13 +3670,13 @@ void GL_APIENTRY glTexImage2DExternalANGLE(GLenum target, GLenum format, GLenum type) { - return GL_TexImage2DExternalANGLE(target, level, internalformat, width, height, border, format, - type); + return gl::TexImage2DExternalANGLE(target, level, internalformat, width, height, border, format, + type); } void GL_APIENTRY glInvalidateTextureANGLE(GLenum target) { - return GL_InvalidateTextureANGLE(target); + return gl::InvalidateTextureANGLE(target); } // GL_ANGLE_texture_multisample @@ -3685,18 +3687,18 @@ void GL_APIENTRY glTexStorage2DMultisampleANGLE(GLenum target, GLsizei height, GLboolean fixedsamplelocations) { - return GL_TexStorage2DMultisampleANGLE(target, samples, internalformat, width, height, - fixedsamplelocations); + return gl::TexStorage2DMultisampleANGLE(target, samples, internalformat, width, height, + fixedsamplelocations); } void GL_APIENTRY glGetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val) { - return GL_GetMultisamplefvANGLE(pname, index, val); + return gl::GetMultisamplefvANGLE(pname, index, val); } void GL_APIENTRY glSampleMaskiANGLE(GLuint maskNumber, GLbitfield mask) { - return GL_SampleMaskiANGLE(maskNumber, mask); + return gl::SampleMaskiANGLE(maskNumber, mask); } // GL_ANGLE_translated_shader_source @@ -3705,19 +3707,19 @@ void GL_APIENTRY glGetTranslatedShaderSourceANGLE(GLuint shader, GLsizei *length, GLchar *source) { - return GL_GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); + return gl::GetTranslatedShaderSourceANGLE(shader, bufsize, length, source); } // GL_CHROMIUM_bind_uniform_location void GL_APIENTRY glBindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name) { - return GL_BindUniformLocationCHROMIUM(program, location, name); + return gl::BindUniformLocationCHROMIUM(program, location, name); } // GL_CHROMIUM_copy_compressed_texture void GL_APIENTRY glCompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId) { - return GL_CompressedCopyTextureCHROMIUM(sourceId, destId); + return gl::CompressedCopyTextureCHROMIUM(sourceId, destId); } // GL_CHROMIUM_copy_texture @@ -3732,9 +3734,9 @@ void GL_APIENTRY glCopyTextureCHROMIUM(GLuint sourceId, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopyTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, - internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, - unpackUnmultiplyAlpha); + return gl::CopyTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, + internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, + unpackUnmultiplyAlpha); } void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId, @@ -3752,31 +3754,29 @@ void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopySubTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, - yoffset, x, y, width, height, unpackFlipY, - unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + return gl::CopySubTextureCHROMIUM(sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, + yoffset, x, y, width, height, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } // GL_CHROMIUM_framebuffer_mixed_samples void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components) { - return GL_CoverageModulationCHROMIUM(components); + return gl::CoverageModulationCHROMIUM(components); } // GL_CHROMIUM_lose_context void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other) { - return GL_LoseContextCHROMIUM(current, other); + return gl::LoseContextCHROMIUM(current, other); } // GL_EXT_EGL_image_array -// GL_EXT_YUV_target - // GL_EXT_blend_func_extended void GL_APIENTRY glBindFragDataLocationEXT(GLuint program, GLuint color, const GLchar *name) { - return GL_BindFragDataLocationEXT(program, color, name); + return gl::BindFragDataLocationEXT(program, color, name); } void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program, @@ -3784,19 +3784,19 @@ void GL_APIENTRY glBindFragDataLocationIndexedEXT(GLuint program, GLuint index, const GLchar *name) { - return GL_BindFragDataLocationIndexedEXT(program, colorNumber, index, name); + return gl::BindFragDataLocationIndexedEXT(program, colorNumber, index, name); } GLint GL_APIENTRY glGetFragDataIndexEXT(GLuint program, const GLchar *name) { - return GL_GetFragDataIndexEXT(program, name); + return gl::GetFragDataIndexEXT(program, name); } GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT(GLuint program, GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceLocationIndexEXT(program, programInterface, name); + return gl::GetProgramResourceLocationIndexEXT(program, programInterface, name); } // GL_EXT_buffer_storage @@ -3805,13 +3805,7 @@ void GL_APIENTRY glBufferStorageEXT(GLenum target, const void *data, GLbitfield flags) { - return GL_BufferStorageEXT(target, size, data, flags); -} - -// GL_EXT_clip_control -void GL_APIENTRY glClipControlEXT(GLenum origin, GLenum depth) -{ - return GL_ClipControlEXT(origin, depth); + return gl::BufferStorageEXT(target, size, data, flags); } // GL_EXT_copy_image @@ -3831,37 +3825,25 @@ void GL_APIENTRY glCopyImageSubDataEXT(GLuint srcName, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubDataEXT(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, - dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, - srcDepth); -} - -// GL_EXT_debug_label -void GL_APIENTRY -glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) -{ - return GL_GetObjectLabelEXT(type, object, bufSize, length, label); -} - -void GL_APIENTRY glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) -{ - return GL_LabelObjectEXT(type, object, length, label); + return gl::CopyImageSubDataEXT(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, + dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, + srcDepth); } // GL_EXT_debug_marker void GL_APIENTRY glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) { - return GL_InsertEventMarkerEXT(length, marker); + return gl::InsertEventMarkerEXT(length, marker); } void GL_APIENTRY glPopGroupMarkerEXT() { - return GL_PopGroupMarkerEXT(); + return gl::PopGroupMarkerEXT(); } void GL_APIENTRY glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) { - return GL_PushGroupMarkerEXT(length, marker); + return gl::PushGroupMarkerEXT(length, marker); } // GL_EXT_discard_framebuffer @@ -3869,116 +3851,116 @@ void GL_APIENTRY glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments) { - return GL_DiscardFramebufferEXT(target, numAttachments, attachments); + return gl::DiscardFramebufferEXT(target, numAttachments, attachments); } // GL_EXT_disjoint_timer_query void GL_APIENTRY glBeginQueryEXT(GLenum target, GLuint id) { - return GL_BeginQueryEXT(target, id); + return gl::BeginQueryEXT(target, id); } void GL_APIENTRY glDeleteQueriesEXT(GLsizei n, const GLuint *ids) { - return GL_DeleteQueriesEXT(n, ids); + return gl::DeleteQueriesEXT(n, ids); } void GL_APIENTRY glEndQueryEXT(GLenum target) { - return GL_EndQueryEXT(target); + return gl::EndQueryEXT(target); } void GL_APIENTRY glGenQueriesEXT(GLsizei n, GLuint *ids) { - return GL_GenQueriesEXT(n, ids); + return gl::GenQueriesEXT(n, ids); } void GL_APIENTRY glGetInteger64vEXT(GLenum pname, GLint64 *data) { - return GL_GetInteger64vEXT(pname, data); + return gl::GetInteger64vEXT(pname, data); } void GL_APIENTRY glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64 *params) { - return GL_GetQueryObjecti64vEXT(id, pname, params); + return gl::GetQueryObjecti64vEXT(id, pname, params); } void GL_APIENTRY glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) { - return GL_GetQueryObjectivEXT(id, pname, params); + return gl::GetQueryObjectivEXT(id, pname, params); } void GL_APIENTRY glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64 *params) { - return GL_GetQueryObjectui64vEXT(id, pname, params); + return gl::GetQueryObjectui64vEXT(id, pname, params); } void GL_APIENTRY glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) { - return GL_GetQueryObjectuivEXT(id, pname, params); + return gl::GetQueryObjectuivEXT(id, pname, params); } void GL_APIENTRY glGetQueryivEXT(GLenum target, GLenum pname, GLint *params) { - return GL_GetQueryivEXT(target, pname, params); + return gl::GetQueryivEXT(target, pname, params); } GLboolean GL_APIENTRY glIsQueryEXT(GLuint id) { - return GL_IsQueryEXT(id); + return gl::IsQueryEXT(id); } void GL_APIENTRY glQueryCounterEXT(GLuint id, GLenum target) { - return GL_QueryCounterEXT(id, target); + return gl::QueryCounterEXT(id, target); } // GL_EXT_draw_buffers void GL_APIENTRY glDrawBuffersEXT(GLsizei n, const GLenum *bufs) { - return GL_DrawBuffersEXT(n, bufs); + return gl::DrawBuffersEXT(n, bufs); } // GL_EXT_draw_buffers_indexed void GL_APIENTRY glBlendEquationSeparateiEXT(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateiEXT(buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparateiEXT(buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationiEXT(GLuint buf, GLenum mode) { - return GL_BlendEquationiEXT(buf, mode); + return gl::BlendEquationiEXT(buf, mode); } void GL_APIENTRY glBlendFuncSeparateiEXT(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparateiEXT(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparateiEXT(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFunciEXT(GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunciEXT(buf, src, dst); + return gl::BlendFunciEXT(buf, src, dst); } void GL_APIENTRY glColorMaskiEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { - return GL_ColorMaskiEXT(index, r, g, b, a); + return gl::ColorMaskiEXT(index, r, g, b, a); } void GL_APIENTRY glDisableiEXT(GLenum target, GLuint index) { - return GL_DisableiEXT(target, index); + return gl::DisableiEXT(target, index); } void GL_APIENTRY glEnableiEXT(GLenum target, GLuint index) { - return GL_EnableiEXT(target, index); + return gl::EnableiEXT(target, index); } GLboolean GL_APIENTRY glIsEnablediEXT(GLenum target, GLuint index) { - return GL_IsEnablediEXT(target, index); + return gl::IsEnablediEXT(target, index); } // GL_EXT_draw_elements_base_vertex @@ -3988,7 +3970,7 @@ void GL_APIENTRY glDrawElementsBaseVertexEXT(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertexEXT(mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertexEXT(mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT(GLenum mode, @@ -3998,8 +3980,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT(GLenum mode, GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertexEXT(mode, count, type, indices, instancecount, - basevertex); + return gl::DrawElementsInstancedBaseVertexEXT(mode, count, type, indices, instancecount, + basevertex); } void GL_APIENTRY glDrawRangeElementsBaseVertexEXT(GLenum mode, @@ -4010,7 +3992,7 @@ void GL_APIENTRY glDrawRangeElementsBaseVertexEXT(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertexEXT(mode, start, end, count, type, indices, basevertex); + return gl::DrawRangeElementsBaseVertexEXT(mode, start, end, count, type, indices, basevertex); } void GL_APIENTRY glMultiDrawElementsBaseVertexEXT(GLenum mode, @@ -4020,7 +4002,7 @@ void GL_APIENTRY glMultiDrawElementsBaseVertexEXT(GLenum mode, GLsizei primcount, const GLint *basevertex) { - return GL_MultiDrawElementsBaseVertexEXT(mode, count, type, indices, primcount, basevertex); + return gl::MultiDrawElementsBaseVertexEXT(mode, count, type, indices, primcount, basevertex); } // GL_EXT_external_buffer @@ -4030,7 +4012,7 @@ void GL_APIENTRY glBufferStorageExternalEXT(GLenum target, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - return GL_BufferStorageExternalEXT(target, offset, size, clientBuffer, flags); + return gl::BufferStorageExternalEXT(target, offset, size, clientBuffer, flags); } void GL_APIENTRY glNamedBufferStorageExternalEXT(GLuint buffer, @@ -4039,7 +4021,7 @@ void GL_APIENTRY glNamedBufferStorageExternalEXT(GLuint buffer, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - return GL_NamedBufferStorageExternalEXT(buffer, offset, size, clientBuffer, flags); + return gl::NamedBufferStorageExternalEXT(buffer, offset, size, clientBuffer, flags); } // GL_EXT_geometry_shader @@ -4048,7 +4030,7 @@ void GL_APIENTRY glFramebufferTextureEXT(GLenum target, GLuint texture, GLint level) { - return GL_FramebufferTextureEXT(target, attachment, texture, level); + return gl::FramebufferTextureEXT(target, attachment, texture, level); } // GL_EXT_instanced_arrays @@ -4057,7 +4039,7 @@ void GL_APIENTRY glDrawArraysInstancedEXT(GLenum mode, GLsizei count, GLsizei primcount) { - return GL_DrawArraysInstancedEXT(mode, start, count, primcount); + return gl::DrawArraysInstancedEXT(mode, start, count, primcount); } void GL_APIENTRY glDrawElementsInstancedEXT(GLenum mode, @@ -4066,18 +4048,18 @@ void GL_APIENTRY glDrawElementsInstancedEXT(GLenum mode, const void *indices, GLsizei primcount) { - return GL_DrawElementsInstancedEXT(mode, count, type, indices, primcount); + return gl::DrawElementsInstancedEXT(mode, count, type, indices, primcount); } void GL_APIENTRY glVertexAttribDivisorEXT(GLuint index, GLuint divisor) { - return GL_VertexAttribDivisorEXT(index, divisor); + return gl::VertexAttribDivisorEXT(index, divisor); } // GL_EXT_map_buffer_range void GL_APIENTRY glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) { - return GL_FlushMappedBufferRangeEXT(target, offset, length); + return gl::FlushMappedBufferRangeEXT(target, offset, length); } void *GL_APIENTRY glMapBufferRangeEXT(GLenum target, @@ -4085,7 +4067,7 @@ void *GL_APIENTRY glMapBufferRangeEXT(GLenum target, GLsizeiptr length, GLbitfield access) { - return GL_MapBufferRangeEXT(target, offset, length, access); + return gl::MapBufferRangeEXT(target, offset, length, access); } // GL_EXT_memory_object @@ -4094,44 +4076,44 @@ void GL_APIENTRY glBufferStorageMemEXT(GLenum target, GLuint memory, GLuint64 offset) { - return GL_BufferStorageMemEXT(target, size, memory, offset); + return gl::BufferStorageMemEXT(target, size, memory, offset); } void GL_APIENTRY glCreateMemoryObjectsEXT(GLsizei n, GLuint *memoryObjects) { - return GL_CreateMemoryObjectsEXT(n, memoryObjects); + return gl::CreateMemoryObjectsEXT(n, memoryObjects); } void GL_APIENTRY glDeleteMemoryObjectsEXT(GLsizei n, const GLuint *memoryObjects) { - return GL_DeleteMemoryObjectsEXT(n, memoryObjects); + return gl::DeleteMemoryObjectsEXT(n, memoryObjects); } void GL_APIENTRY glGetMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, GLint *params) { - return GL_GetMemoryObjectParameterivEXT(memoryObject, pname, params); + return gl::GetMemoryObjectParameterivEXT(memoryObject, pname, params); } void GL_APIENTRY glGetUnsignedBytevEXT(GLenum pname, GLubyte *data) { - return GL_GetUnsignedBytevEXT(pname, data); + return gl::GetUnsignedBytevEXT(pname, data); } void GL_APIENTRY glGetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data) { - return GL_GetUnsignedBytei_vEXT(target, index, data); + return gl::GetUnsignedBytei_vEXT(target, index, data); } GLboolean GL_APIENTRY glIsMemoryObjectEXT(GLuint memoryObject) { - return GL_IsMemoryObjectEXT(memoryObject); + return gl::IsMemoryObjectEXT(memoryObject); } void GL_APIENTRY glMemoryObjectParameterivEXT(GLuint memoryObject, GLenum pname, const GLint *params) { - return GL_MemoryObjectParameterivEXT(memoryObject, pname, params); + return gl::MemoryObjectParameterivEXT(memoryObject, pname, params); } void GL_APIENTRY glTexStorageMem2DEXT(GLenum target, @@ -4142,7 +4124,7 @@ void GL_APIENTRY glTexStorageMem2DEXT(GLenum target, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem2DEXT(target, levels, internalFormat, width, height, memory, offset); + return gl::TexStorageMem2DEXT(target, levels, internalFormat, width, height, memory, offset); } void GL_APIENTRY glTexStorageMem2DMultisampleEXT(GLenum target, @@ -4154,8 +4136,8 @@ void GL_APIENTRY glTexStorageMem2DMultisampleEXT(GLenum target, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem2DMultisampleEXT(target, samples, internalFormat, width, height, - fixedSampleLocations, memory, offset); + return gl::TexStorageMem2DMultisampleEXT(target, samples, internalFormat, width, height, + fixedSampleLocations, memory, offset); } void GL_APIENTRY glTexStorageMem3DEXT(GLenum target, @@ -4167,8 +4149,8 @@ void GL_APIENTRY glTexStorageMem3DEXT(GLenum target, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem3DEXT(target, levels, internalFormat, width, height, depth, memory, - offset); + return gl::TexStorageMem3DEXT(target, levels, internalFormat, width, height, depth, memory, + offset); } void GL_APIENTRY glTexStorageMem3DMultisampleEXT(GLenum target, @@ -4181,14 +4163,14 @@ void GL_APIENTRY glTexStorageMem3DMultisampleEXT(GLenum target, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem3DMultisampleEXT(target, samples, internalFormat, width, height, depth, - fixedSampleLocations, memory, offset); + return gl::TexStorageMem3DMultisampleEXT(target, samples, internalFormat, width, height, depth, + fixedSampleLocations, memory, offset); } // GL_EXT_memory_object_fd void GL_APIENTRY glImportMemoryFdEXT(GLuint memory, GLuint64 size, GLenum handleType, GLint fd) { - return GL_ImportMemoryFdEXT(memory, size, handleType, fd); + return gl::ImportMemoryFdEXT(memory, size, handleType, fd); } // GL_EXT_multisampled_render_to_texture @@ -4199,8 +4181,8 @@ void GL_APIENTRY glFramebufferTexture2DMultisampleEXT(GLenum target, GLint level, GLsizei samples) { - return GL_FramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, - samples); + return gl::FramebufferTexture2DMultisampleEXT(target, attachment, textarget, texture, level, + samples); } void GL_APIENTRY glRenderbufferStorageMultisampleEXT(GLenum target, @@ -4209,30 +4191,17 @@ void GL_APIENTRY glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); + return gl::RenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); } // GL_EXT_occlusion_query_boolean -// GL_EXT_primitive_bounding_box -void GL_APIENTRY glPrimitiveBoundingBoxEXT(GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) -{ - return GL_PrimitiveBoundingBoxEXT(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); -} - // GL_EXT_read_format_bgra // GL_EXT_robustness GLenum GL_APIENTRY glGetGraphicsResetStatusEXT() { - return GL_GetGraphicsResetStatusEXT(); + return gl::GetGraphicsResetStatusEXT(); } void GL_APIENTRY glGetnUniformfvEXT(GLuint program, @@ -4240,12 +4209,12 @@ void GL_APIENTRY glGetnUniformfvEXT(GLuint program, GLsizei bufSize, GLfloat *params) { - return GL_GetnUniformfvEXT(program, location, bufSize, params); + return gl::GetnUniformfvEXT(program, location, bufSize, params); } void GL_APIENTRY glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) { - return GL_GetnUniformivEXT(program, location, bufSize, params); + return gl::GetnUniformivEXT(program, location, bufSize, params); } void GL_APIENTRY glReadnPixelsEXT(GLint x, @@ -4257,7 +4226,7 @@ void GL_APIENTRY glReadnPixelsEXT(GLint x, GLsizei bufSize, void *data) { - return GL_ReadnPixelsEXT(x, y, width, height, format, type, bufSize, data); + return gl::ReadnPixelsEXT(x, y, width, height, format, type, bufSize, data); } // GL_EXT_sRGB @@ -4265,29 +4234,29 @@ void GL_APIENTRY glReadnPixelsEXT(GLint x, // GL_EXT_semaphore void GL_APIENTRY glDeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) { - return GL_DeleteSemaphoresEXT(n, semaphores); + return gl::DeleteSemaphoresEXT(n, semaphores); } void GL_APIENTRY glGenSemaphoresEXT(GLsizei n, GLuint *semaphores) { - return GL_GenSemaphoresEXT(n, semaphores); + return gl::GenSemaphoresEXT(n, semaphores); } void GL_APIENTRY glGetSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, GLuint64 *params) { - return GL_GetSemaphoreParameterui64vEXT(semaphore, pname, params); + return gl::GetSemaphoreParameterui64vEXT(semaphore, pname, params); } GLboolean GL_APIENTRY glIsSemaphoreEXT(GLuint semaphore) { - return GL_IsSemaphoreEXT(semaphore); + return gl::IsSemaphoreEXT(semaphore); } void GL_APIENTRY glSemaphoreParameterui64vEXT(GLuint semaphore, GLenum pname, const GLuint64 *params) { - return GL_SemaphoreParameterui64vEXT(semaphore, pname, params); + return gl::SemaphoreParameterui64vEXT(semaphore, pname, params); } void GL_APIENTRY glSignalSemaphoreEXT(GLuint semaphore, @@ -4297,8 +4266,8 @@ void GL_APIENTRY glSignalSemaphoreEXT(GLuint semaphore, const GLuint *textures, const GLenum *dstLayouts) { - return GL_SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, - textures, dstLayouts); + return gl::SignalSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, + textures, dstLayouts); } void GL_APIENTRY glWaitSemaphoreEXT(GLuint semaphore, @@ -4308,380 +4277,20 @@ void GL_APIENTRY glWaitSemaphoreEXT(GLuint semaphore, const GLuint *textures, const GLenum *srcLayouts) { - return GL_WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, - srcLayouts); + return gl::WaitSemaphoreEXT(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, + srcLayouts); } // GL_EXT_semaphore_fd void GL_APIENTRY glImportSemaphoreFdEXT(GLuint semaphore, GLenum handleType, GLint fd) { - return GL_ImportSemaphoreFdEXT(semaphore, handleType, fd); -} - -// GL_EXT_separate_shader_objects -void GL_APIENTRY glActiveShaderProgramEXT(GLuint pipeline, GLuint program) -{ - return GL_ActiveShaderProgramEXT(pipeline, program); -} - -void GL_APIENTRY glBindProgramPipelineEXT(GLuint pipeline) -{ - return GL_BindProgramPipelineEXT(pipeline); -} - -GLuint GL_APIENTRY glCreateShaderProgramvEXT(GLenum type, GLsizei count, const GLchar **strings) -{ - return GL_CreateShaderProgramvEXT(type, count, strings); -} - -void GL_APIENTRY glDeleteProgramPipelinesEXT(GLsizei n, const GLuint *pipelines) -{ - return GL_DeleteProgramPipelinesEXT(n, pipelines); -} - -void GL_APIENTRY glGenProgramPipelinesEXT(GLsizei n, GLuint *pipelines) -{ - return GL_GenProgramPipelinesEXT(n, pipelines); -} - -void GL_APIENTRY glGetProgramPipelineInfoLogEXT(GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) -{ - return GL_GetProgramPipelineInfoLogEXT(pipeline, bufSize, length, infoLog); -} - -void GL_APIENTRY glGetProgramPipelineivEXT(GLuint pipeline, GLenum pname, GLint *params) -{ - return GL_GetProgramPipelineivEXT(pipeline, pname, params); -} - -GLboolean GL_APIENTRY glIsProgramPipelineEXT(GLuint pipeline) -{ - return GL_IsProgramPipelineEXT(pipeline); -} - -void GL_APIENTRY glProgramParameteriEXT(GLuint program, GLenum pname, GLint value) -{ - return GL_ProgramParameteriEXT(program, pname, value); -} - -void GL_APIENTRY glProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0) -{ - return GL_ProgramUniform1fEXT(program, location, v0); -} - -void GL_APIENTRY glProgramUniform1fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform1fvEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform1iEXT(GLuint program, GLint location, GLint v0) -{ - return GL_ProgramUniform1iEXT(program, location, v0); -} - -void GL_APIENTRY glProgramUniform1ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform1ivEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0) -{ - return GL_ProgramUniform1uiEXT(program, location, v0); -} - -void GL_APIENTRY glProgramUniform1uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform1uivEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1) -{ - return GL_ProgramUniform2fEXT(program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform2fvEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1) -{ - return GL_ProgramUniform2iEXT(program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform2ivEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1) -{ - return GL_ProgramUniform2uiEXT(program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform2uivEXT(program, location, count, value); -} - -void GL_APIENTRY -glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) -{ - return GL_ProgramUniform3fEXT(program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform3fvEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) -{ - return GL_ProgramUniform3iEXT(program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform3ivEXT(program, location, count, value); -} - -void GL_APIENTRY -glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) -{ - return GL_ProgramUniform3uiEXT(program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform3uivEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniform4fEXT(GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - return GL_ProgramUniform4fEXT(program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4fvEXT(GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform4fvEXT(program, location, count, value); -} - -void GL_APIENTRY -glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) -{ - return GL_ProgramUniform4iEXT(program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4ivEXT(GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform4ivEXT(program, location, count, value); -} - -void GL_APIENTRY -glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) -{ - return GL_ProgramUniform4uiEXT(program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4uivEXT(GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform4uivEXT(program, location, count, value); -} - -void GL_APIENTRY glProgramUniformMatrix2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix2x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2x3fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix2x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2x4fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix3x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3x2fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix3x4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3x4fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix4fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix4x2fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4x2fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix4x3fvEXT(GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4x3fvEXT(program, location, count, transpose, value); -} - -void GL_APIENTRY glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program) -{ - return GL_UseProgramStagesEXT(pipeline, stages, program); -} - -void GL_APIENTRY glValidateProgramPipelineEXT(GLuint pipeline) -{ - return GL_ValidateProgramPipelineEXT(pipeline); -} - -// GL_EXT_shader_framebuffer_fetch_non_coherent -void GL_APIENTRY glFramebufferFetchBarrierEXT() -{ - return GL_FramebufferFetchBarrierEXT(); -} - -// GL_EXT_shader_io_blocks - -// GL_EXT_tessellation_shader -void GL_APIENTRY glPatchParameteriEXT(GLenum pname, GLint value) -{ - return GL_PatchParameteriEXT(pname, value); -} - -// GL_EXT_texture_border_clamp -void GL_APIENTRY glGetSamplerParameterIivEXT(GLuint sampler, GLenum pname, GLint *params) -{ - return GL_GetSamplerParameterIivEXT(sampler, pname, params); -} - -void GL_APIENTRY glGetSamplerParameterIuivEXT(GLuint sampler, GLenum pname, GLuint *params) -{ - return GL_GetSamplerParameterIuivEXT(sampler, pname, params); -} - -void GL_APIENTRY glGetTexParameterIivEXT(GLenum target, GLenum pname, GLint *params) -{ - return GL_GetTexParameterIivEXT(target, pname, params); -} - -void GL_APIENTRY glGetTexParameterIuivEXT(GLenum target, GLenum pname, GLuint *params) -{ - return GL_GetTexParameterIuivEXT(target, pname, params); -} - -void GL_APIENTRY glSamplerParameterIivEXT(GLuint sampler, GLenum pname, const GLint *param) -{ - return GL_SamplerParameterIivEXT(sampler, pname, param); -} - -void GL_APIENTRY glSamplerParameterIuivEXT(GLuint sampler, GLenum pname, const GLuint *param) -{ - return GL_SamplerParameterIuivEXT(sampler, pname, param); -} - -void GL_APIENTRY glTexParameterIivEXT(GLenum target, GLenum pname, const GLint *params) -{ - return GL_TexParameterIivEXT(target, pname, params); -} - -void GL_APIENTRY glTexParameterIuivEXT(GLenum target, GLenum pname, const GLuint *params) -{ - return GL_TexParameterIuivEXT(target, pname, params); + return gl::ImportSemaphoreFdEXT(semaphore, handleType, fd); } // GL_EXT_texture_buffer void GL_APIENTRY glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer) { - return GL_TexBufferEXT(target, internalformat, buffer); + return gl::TexBufferEXT(target, internalformat, buffer); } void GL_APIENTRY glTexBufferRangeEXT(GLenum target, @@ -4690,7 +4299,7 @@ void GL_APIENTRY glTexBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRangeEXT(target, internalformat, buffer, offset, size); + return gl::TexBufferRangeEXT(target, internalformat, buffer, offset, size); } // GL_EXT_texture_compression_bptc @@ -4711,15 +4320,13 @@ void GL_APIENTRY glTexBufferRangeEXT(GLenum target, // GL_EXT_texture_sRGB_R8 -// GL_EXT_texture_sRGB_RG8 - // GL_EXT_texture_storage void GL_APIENTRY glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { - return GL_TexStorage1DEXT(target, levels, internalformat, width); + return gl::TexStorage1DEXT(target, levels, internalformat, width); } void GL_APIENTRY glTexStorage2DEXT(GLenum target, @@ -4728,7 +4335,7 @@ void GL_APIENTRY glTexStorage2DEXT(GLenum target, GLsizei width, GLsizei height) { - return GL_TexStorage2DEXT(target, levels, internalformat, width, height); + return gl::TexStorage2DEXT(target, levels, internalformat, width, height); } void GL_APIENTRY glTexStorage3DEXT(GLenum target, @@ -4738,19 +4345,13 @@ void GL_APIENTRY glTexStorage3DEXT(GLenum target, GLsizei height, GLsizei depth) { - return GL_TexStorage3DEXT(target, levels, internalformat, width, height, depth); -} - -// GL_KHR_blend_equation_advanced -void GL_APIENTRY glBlendBarrierKHR() -{ - return GL_BlendBarrierKHR(); + return gl::TexStorage3DEXT(target, levels, internalformat, width, height, depth); } // GL_KHR_debug void GL_APIENTRY glDebugMessageCallbackKHR(GLDEBUGPROCKHR callback, const void *userParam) { - return GL_DebugMessageCallbackKHR(callback, userParam); + return gl::DebugMessageCallbackKHR(callback, userParam); } void GL_APIENTRY glDebugMessageControlKHR(GLenum source, @@ -4760,7 +4361,7 @@ void GL_APIENTRY glDebugMessageControlKHR(GLenum source, const GLuint *ids, GLboolean enabled) { - return GL_DebugMessageControlKHR(source, type, severity, count, ids, enabled); + return gl::DebugMessageControlKHR(source, type, severity, count, ids, enabled); } void GL_APIENTRY glDebugMessageInsertKHR(GLenum source, @@ -4770,7 +4371,7 @@ void GL_APIENTRY glDebugMessageInsertKHR(GLenum source, GLsizei length, const GLchar *buf) { - return GL_DebugMessageInsertKHR(source, type, id, severity, length, buf); + return gl::DebugMessageInsertKHR(source, type, id, severity, length, buf); } GLuint GL_APIENTRY glGetDebugMessageLogKHR(GLuint count, @@ -4782,14 +4383,14 @@ GLuint GL_APIENTRY glGetDebugMessageLogKHR(GLuint count, GLsizei *lengths, GLchar *messageLog) { - return GL_GetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, - messageLog); + return gl::GetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, + messageLog); } void GL_APIENTRY glGetObjectLabelKHR(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) { - return GL_GetObjectLabelKHR(identifier, name, bufSize, length, label); + return gl::GetObjectLabelKHR(identifier, name, bufSize, length, label); } void GL_APIENTRY glGetObjectPtrLabelKHR(const void *ptr, @@ -4797,12 +4398,12 @@ void GL_APIENTRY glGetObjectPtrLabelKHR(const void *ptr, GLsizei *length, GLchar *label) { - return GL_GetObjectPtrLabelKHR(ptr, bufSize, length, label); + return gl::GetObjectPtrLabelKHR(ptr, bufSize, length, label); } void GL_APIENTRY glGetPointervKHR(GLenum pname, void **params) { - return GL_GetPointervKHR(pname, params); + return gl::GetPointervKHR(pname, params); } void GL_APIENTRY glObjectLabelKHR(GLenum identifier, @@ -4810,17 +4411,17 @@ void GL_APIENTRY glObjectLabelKHR(GLenum identifier, GLsizei length, const GLchar *label) { - return GL_ObjectLabelKHR(identifier, name, length, label); + return gl::ObjectLabelKHR(identifier, name, length, label); } void GL_APIENTRY glObjectPtrLabelKHR(const void *ptr, GLsizei length, const GLchar *label) { - return GL_ObjectPtrLabelKHR(ptr, length, label); + return gl::ObjectPtrLabelKHR(ptr, length, label); } void GL_APIENTRY glPopDebugGroupKHR() { - return GL_PopDebugGroupKHR(); + return gl::PopDebugGroupKHR(); } void GL_APIENTRY glPushDebugGroupKHR(GLenum source, @@ -4828,76 +4429,60 @@ void GL_APIENTRY glPushDebugGroupKHR(GLenum source, GLsizei length, const GLchar *message) { - return GL_PushDebugGroupKHR(source, id, length, message); + return gl::PushDebugGroupKHR(source, id, length, message); } // GL_KHR_parallel_shader_compile void GL_APIENTRY glMaxShaderCompilerThreadsKHR(GLuint count) { - return GL_MaxShaderCompilerThreadsKHR(count); + return gl::MaxShaderCompilerThreadsKHR(count); } // GL_NV_fence void GL_APIENTRY glDeleteFencesNV(GLsizei n, const GLuint *fences) { - return GL_DeleteFencesNV(n, fences); + return gl::DeleteFencesNV(n, fences); } void GL_APIENTRY glFinishFenceNV(GLuint fence) { - return GL_FinishFenceNV(fence); + return gl::FinishFenceNV(fence); } void GL_APIENTRY glGenFencesNV(GLsizei n, GLuint *fences) { - return GL_GenFencesNV(n, fences); + return gl::GenFencesNV(n, fences); } void GL_APIENTRY glGetFenceivNV(GLuint fence, GLenum pname, GLint *params) { - return GL_GetFenceivNV(fence, pname, params); + return gl::GetFenceivNV(fence, pname, params); } GLboolean GL_APIENTRY glIsFenceNV(GLuint fence) { - return GL_IsFenceNV(fence); + return gl::IsFenceNV(fence); } void GL_APIENTRY glSetFenceNV(GLuint fence, GLenum condition) { - return GL_SetFenceNV(fence, condition); + return gl::SetFenceNV(fence, condition); } GLboolean GL_APIENTRY glTestFenceNV(GLuint fence) { - return GL_TestFenceNV(fence); -} - -// GL_NV_framebuffer_blit -void GL_APIENTRY glBlitFramebufferNV(GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - return GL_BlitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, - filter); + return gl::TestFenceNV(fence); } // GL_OES_EGL_image void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) { - return GL_EGLImageTargetRenderbufferStorageOES(target, image); + return gl::EGLImageTargetRenderbufferStorageOES(target, image); } void GL_APIENTRY glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image) { - return GL_EGLImageTargetTexture2DOES(target, image); + return gl::EGLImageTargetTexture2DOES(target, image); } // GL_OES_compressed_ETC1_RGB8_texture @@ -4919,9 +4504,9 @@ void GL_APIENTRY glCopyImageSubDataOES(GLuint srcName, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubDataOES(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, - dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, - srcDepth); + return gl::CopyImageSubDataOES(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, + dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, + srcDepth); } // GL_OES_depth32 @@ -4929,43 +4514,43 @@ void GL_APIENTRY glCopyImageSubDataOES(GLuint srcName, // GL_OES_draw_buffers_indexed void GL_APIENTRY glBlendEquationSeparateiOES(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateiOES(buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparateiOES(buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationiOES(GLuint buf, GLenum mode) { - return GL_BlendEquationiOES(buf, mode); + return gl::BlendEquationiOES(buf, mode); } void GL_APIENTRY glBlendFuncSeparateiOES(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparateiOES(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparateiOES(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFunciOES(GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunciOES(buf, src, dst); + return gl::BlendFunciOES(buf, src, dst); } void GL_APIENTRY glColorMaskiOES(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { - return GL_ColorMaskiOES(index, r, g, b, a); + return gl::ColorMaskiOES(index, r, g, b, a); } void GL_APIENTRY glDisableiOES(GLenum target, GLuint index) { - return GL_DisableiOES(target, index); + return gl::DisableiOES(target, index); } void GL_APIENTRY glEnableiOES(GLenum target, GLuint index) { - return GL_EnableiOES(target, index); + return gl::EnableiOES(target, index); } GLboolean GL_APIENTRY glIsEnablediOES(GLenum target, GLuint index) { - return GL_IsEnablediOES(target, index); + return gl::IsEnablediOES(target, index); } // GL_OES_draw_elements_base_vertex @@ -4975,7 +4560,7 @@ void GL_APIENTRY glDrawElementsBaseVertexOES(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertexOES(mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertexOES(mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsInstancedBaseVertexOES(GLenum mode, @@ -4985,8 +4570,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexOES(GLenum mode, GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertexOES(mode, count, type, indices, instancecount, - basevertex); + return gl::DrawElementsInstancedBaseVertexOES(mode, count, type, indices, instancecount, + basevertex); } void GL_APIENTRY glDrawRangeElementsBaseVertexOES(GLenum mode, @@ -4997,74 +4582,74 @@ void GL_APIENTRY glDrawRangeElementsBaseVertexOES(GLenum mode, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertexOES(mode, start, end, count, type, indices, basevertex); + return gl::DrawRangeElementsBaseVertexOES(mode, start, end, count, type, indices, basevertex); } // GL_OES_draw_texture void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { - return GL_DrawTexfOES(x, y, z, width, height); + return gl::DrawTexfOES(x, y, z, width, height); } void GL_APIENTRY glDrawTexfvOES(const GLfloat *coords) { - return GL_DrawTexfvOES(coords); + return gl::DrawTexfvOES(coords); } void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height) { - return GL_DrawTexiOES(x, y, z, width, height); + return gl::DrawTexiOES(x, y, z, width, height); } void GL_APIENTRY glDrawTexivOES(const GLint *coords) { - return GL_DrawTexivOES(coords); + return gl::DrawTexivOES(coords); } void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { - return GL_DrawTexsOES(x, y, z, width, height); + return gl::DrawTexsOES(x, y, z, width, height); } void GL_APIENTRY glDrawTexsvOES(const GLshort *coords) { - return GL_DrawTexsvOES(coords); + return gl::DrawTexsvOES(coords); } void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { - return GL_DrawTexxOES(x, y, z, width, height); + return gl::DrawTexxOES(x, y, z, width, height); } void GL_APIENTRY glDrawTexxvOES(const GLfixed *coords) { - return GL_DrawTexxvOES(coords); + return gl::DrawTexxvOES(coords); } // GL_OES_framebuffer_object void GL_APIENTRY glBindFramebufferOES(GLenum target, GLuint framebuffer) { - return GL_BindFramebufferOES(target, framebuffer); + return gl::BindFramebufferOES(target, framebuffer); } void GL_APIENTRY glBindRenderbufferOES(GLenum target, GLuint renderbuffer) { - return GL_BindRenderbufferOES(target, renderbuffer); + return gl::BindRenderbufferOES(target, renderbuffer); } GLenum GL_APIENTRY glCheckFramebufferStatusOES(GLenum target) { - return GL_CheckFramebufferStatusOES(target); + return gl::CheckFramebufferStatusOES(target); } void GL_APIENTRY glDeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) { - return GL_DeleteFramebuffersOES(n, framebuffers); + return gl::DeleteFramebuffersOES(n, framebuffers); } void GL_APIENTRY glDeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers) { - return GL_DeleteRenderbuffersOES(n, renderbuffers); + return gl::DeleteRenderbuffersOES(n, renderbuffers); } void GL_APIENTRY glFramebufferRenderbufferOES(GLenum target, @@ -5072,7 +4657,7 @@ void GL_APIENTRY glFramebufferRenderbufferOES(GLenum target, GLenum renderbuffertarget, GLuint renderbuffer) { - return GL_FramebufferRenderbufferOES(target, attachment, renderbuffertarget, renderbuffer); + return gl::FramebufferRenderbufferOES(target, attachment, renderbuffertarget, renderbuffer); } void GL_APIENTRY glFramebufferTexture2DOES(GLenum target, @@ -5081,22 +4666,22 @@ void GL_APIENTRY glFramebufferTexture2DOES(GLenum target, GLuint texture, GLint level) { - return GL_FramebufferTexture2DOES(target, attachment, textarget, texture, level); + return gl::FramebufferTexture2DOES(target, attachment, textarget, texture, level); } void GL_APIENTRY glGenFramebuffersOES(GLsizei n, GLuint *framebuffers) { - return GL_GenFramebuffersOES(n, framebuffers); + return gl::GenFramebuffersOES(n, framebuffers); } void GL_APIENTRY glGenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) { - return GL_GenRenderbuffersOES(n, renderbuffers); + return gl::GenRenderbuffersOES(n, renderbuffers); } void GL_APIENTRY glGenerateMipmapOES(GLenum target) { - return GL_GenerateMipmapOES(target); + return gl::GenerateMipmapOES(target); } void GL_APIENTRY glGetFramebufferAttachmentParameterivOES(GLenum target, @@ -5104,22 +4689,22 @@ void GL_APIENTRY glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum pname, GLint *params) { - return GL_GetFramebufferAttachmentParameterivOES(target, attachment, pname, params); + return gl::GetFramebufferAttachmentParameterivOES(target, attachment, pname, params); } void GL_APIENTRY glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params) { - return GL_GetRenderbufferParameterivOES(target, pname, params); + return gl::GetRenderbufferParameterivOES(target, pname, params); } GLboolean GL_APIENTRY glIsFramebufferOES(GLuint framebuffer) { - return GL_IsFramebufferOES(framebuffer); + return gl::IsFramebufferOES(framebuffer); } GLboolean GL_APIENTRY glIsRenderbufferOES(GLuint renderbuffer) { - return GL_IsRenderbufferOES(renderbuffer); + return gl::IsRenderbufferOES(renderbuffer); } void GL_APIENTRY glRenderbufferStorageOES(GLenum target, @@ -5127,7 +4712,7 @@ void GL_APIENTRY glRenderbufferStorageOES(GLenum target, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageOES(target, internalformat, width, height); + return gl::RenderbufferStorageOES(target, internalformat, width, height); } // GL_OES_get_program_binary @@ -5137,7 +4722,7 @@ void GL_APIENTRY glGetProgramBinaryOES(GLuint program, GLenum *binaryFormat, void *binary) { - return GL_GetProgramBinaryOES(program, bufSize, length, binaryFormat, binary); + return gl::GetProgramBinaryOES(program, bufSize, length, binaryFormat, binary); } void GL_APIENTRY glProgramBinaryOES(GLuint program, @@ -5145,34 +4730,34 @@ void GL_APIENTRY glProgramBinaryOES(GLuint program, const void *binary, GLint length) { - return GL_ProgramBinaryOES(program, binaryFormat, binary, length); + return gl::ProgramBinaryOES(program, binaryFormat, binary, length); } // GL_OES_mapbuffer void GL_APIENTRY glGetBufferPointervOES(GLenum target, GLenum pname, void **params) { - return GL_GetBufferPointervOES(target, pname, params); + return gl::GetBufferPointervOES(target, pname, params); } void *GL_APIENTRY glMapBufferOES(GLenum target, GLenum access) { - return GL_MapBufferOES(target, access); + return gl::MapBufferOES(target, access); } GLboolean GL_APIENTRY glUnmapBufferOES(GLenum target) { - return GL_UnmapBufferOES(target); + return gl::UnmapBufferOES(target); } // GL_OES_matrix_palette void GL_APIENTRY glCurrentPaletteMatrixOES(GLuint matrixpaletteindex) { - return GL_CurrentPaletteMatrixOES(matrixpaletteindex); + return gl::CurrentPaletteMatrixOES(matrixpaletteindex); } void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES() { - return GL_LoadPaletteFromModelViewMatrixOES(); + return gl::LoadPaletteFromModelViewMatrixOES(); } void GL_APIENTRY glMatrixIndexPointerOES(GLint size, @@ -5180,34 +4765,32 @@ void GL_APIENTRY glMatrixIndexPointerOES(GLint size, GLsizei stride, const void *pointer) { - return GL_MatrixIndexPointerOES(size, type, stride, pointer); + return gl::MatrixIndexPointerOES(size, type, stride, pointer); } void GL_APIENTRY glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const void *pointer) { - return GL_WeightPointerOES(size, type, stride, pointer); + return gl::WeightPointerOES(size, type, stride, pointer); } // GL_OES_point_size_array void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const void *pointer) { - return GL_PointSizePointerOES(type, stride, pointer); + return gl::PointSizePointerOES(type, stride, pointer); } // GL_OES_query_matrix GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent) { - return GL_QueryMatrixxOES(mantissa, exponent); + return gl::QueryMatrixxOES(mantissa, exponent); } // GL_OES_sample_shading void GL_APIENTRY glMinSampleShadingOES(GLfloat value) { - return GL_MinSampleShadingOES(value); + return gl::MinSampleShadingOES(value); } -// GL_OES_shader_io_blocks - // GL_OES_texture_3D void GL_APIENTRY glCompressedTexImage3DOES(GLenum target, GLint level, @@ -5219,8 +4802,8 @@ void GL_APIENTRY glCompressedTexImage3DOES(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage3DOES(target, level, internalformat, width, height, depth, border, - imageSize, data); + return gl::CompressedTexImage3DOES(target, level, internalformat, width, height, depth, border, + imageSize, data); } void GL_APIENTRY glCompressedTexSubImage3DOES(GLenum target, @@ -5235,8 +4818,8 @@ void GL_APIENTRY glCompressedTexSubImage3DOES(GLenum target, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, - depth, format, imageSize, data); + return gl::CompressedTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, + depth, format, imageSize, data); } void GL_APIENTRY glCopyTexSubImage3DOES(GLenum target, @@ -5249,7 +4832,7 @@ void GL_APIENTRY glCopyTexSubImage3DOES(GLenum target, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, x, y, width, height); + return gl::CopyTexSubImage3DOES(target, level, xoffset, yoffset, zoffset, x, y, width, height); } void GL_APIENTRY glFramebufferTexture3DOES(GLenum target, @@ -5259,7 +4842,7 @@ void GL_APIENTRY glFramebufferTexture3DOES(GLenum target, GLint level, GLint zoffset) { - return GL_FramebufferTexture3DOES(target, attachment, textarget, texture, level, zoffset); + return gl::FramebufferTexture3DOES(target, attachment, textarget, texture, level, zoffset); } void GL_APIENTRY glTexImage3DOES(GLenum target, @@ -5273,8 +4856,8 @@ void GL_APIENTRY glTexImage3DOES(GLenum target, GLenum type, const void *pixels) { - return GL_TexImage3DOES(target, level, internalformat, width, height, depth, border, format, - type, pixels); + return gl::TexImage3DOES(target, level, internalformat, width, height, depth, border, format, + type, pixels); } void GL_APIENTRY glTexSubImage3DOES(GLenum target, @@ -5289,55 +4872,55 @@ void GL_APIENTRY glTexSubImage3DOES(GLenum target, GLenum type, const void *pixels) { - return GL_TexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, - format, type, pixels); + return gl::TexSubImage3DOES(target, level, xoffset, yoffset, zoffset, width, height, depth, + format, type, pixels); } // GL_OES_texture_border_clamp void GL_APIENTRY glGetSamplerParameterIivOES(GLuint sampler, GLenum pname, GLint *params) { - return GL_GetSamplerParameterIivOES(sampler, pname, params); + return gl::GetSamplerParameterIivOES(sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterIuivOES(GLuint sampler, GLenum pname, GLuint *params) { - return GL_GetSamplerParameterIuivOES(sampler, pname, params); + return gl::GetSamplerParameterIuivOES(sampler, pname, params); } void GL_APIENTRY glGetTexParameterIivOES(GLenum target, GLenum pname, GLint *params) { - return GL_GetTexParameterIivOES(target, pname, params); + return gl::GetTexParameterIivOES(target, pname, params); } void GL_APIENTRY glGetTexParameterIuivOES(GLenum target, GLenum pname, GLuint *params) { - return GL_GetTexParameterIuivOES(target, pname, params); + return gl::GetTexParameterIuivOES(target, pname, params); } void GL_APIENTRY glSamplerParameterIivOES(GLuint sampler, GLenum pname, const GLint *param) { - return GL_SamplerParameterIivOES(sampler, pname, param); + return gl::SamplerParameterIivOES(sampler, pname, param); } void GL_APIENTRY glSamplerParameterIuivOES(GLuint sampler, GLenum pname, const GLuint *param) { - return GL_SamplerParameterIuivOES(sampler, pname, param); + return gl::SamplerParameterIuivOES(sampler, pname, param); } void GL_APIENTRY glTexParameterIivOES(GLenum target, GLenum pname, const GLint *params) { - return GL_TexParameterIivOES(target, pname, params); + return gl::TexParameterIivOES(target, pname, params); } void GL_APIENTRY glTexParameterIuivOES(GLenum target, GLenum pname, const GLuint *params) { - return GL_TexParameterIuivOES(target, pname, params); + return gl::TexParameterIuivOES(target, pname, params); } // GL_OES_texture_buffer void GL_APIENTRY glTexBufferOES(GLenum target, GLenum internalformat, GLuint buffer) { - return GL_TexBufferOES(target, internalformat, buffer); + return gl::TexBufferOES(target, internalformat, buffer); } void GL_APIENTRY glTexBufferRangeOES(GLenum target, @@ -5346,53 +4929,53 @@ void GL_APIENTRY glTexBufferRangeOES(GLenum target, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRangeOES(target, internalformat, buffer, offset, size); + return gl::TexBufferRangeOES(target, internalformat, buffer, offset, size); } // GL_OES_texture_cube_map void GL_APIENTRY glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) { - return GL_GetTexGenfvOES(coord, pname, params); + return gl::GetTexGenfvOES(coord, pname, params); } void GL_APIENTRY glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) { - return GL_GetTexGenivOES(coord, pname, params); + return gl::GetTexGenivOES(coord, pname, params); } void GL_APIENTRY glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) { - return GL_GetTexGenxvOES(coord, pname, params); + return gl::GetTexGenxvOES(coord, pname, params); } void GL_APIENTRY glTexGenfOES(GLenum coord, GLenum pname, GLfloat param) { - return GL_TexGenfOES(coord, pname, param); + return gl::TexGenfOES(coord, pname, param); } void GL_APIENTRY glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) { - return GL_TexGenfvOES(coord, pname, params); + return gl::TexGenfvOES(coord, pname, params); } void GL_APIENTRY glTexGeniOES(GLenum coord, GLenum pname, GLint param) { - return GL_TexGeniOES(coord, pname, param); + return gl::TexGeniOES(coord, pname, param); } void GL_APIENTRY glTexGenivOES(GLenum coord, GLenum pname, const GLint *params) { - return GL_TexGenivOES(coord, pname, params); + return gl::TexGenivOES(coord, pname, params); } void GL_APIENTRY glTexGenxOES(GLenum coord, GLenum pname, GLfixed param) { - return GL_TexGenxOES(coord, pname, param); + return gl::TexGenxOES(coord, pname, param); } void GL_APIENTRY glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) { - return GL_TexGenxvOES(coord, pname, params); + return gl::TexGenxvOES(coord, pname, params); } // GL_OES_texture_cube_map_array @@ -5410,29 +4993,29 @@ void GL_APIENTRY glTexStorage3DMultisampleOES(GLenum target, GLsizei depth, GLboolean fixedsamplelocations) { - return GL_TexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, - fixedsamplelocations); + return gl::TexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, + fixedsamplelocations); } // GL_OES_vertex_array_object void GL_APIENTRY glBindVertexArrayOES(GLuint array) { - return GL_BindVertexArrayOES(array); + return gl::BindVertexArrayOES(array); } void GL_APIENTRY glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) { - return GL_DeleteVertexArraysOES(n, arrays); + return gl::DeleteVertexArraysOES(n, arrays); } void GL_APIENTRY glGenVertexArraysOES(GLsizei n, GLuint *arrays) { - return GL_GenVertexArraysOES(n, arrays); + return gl::GenVertexArraysOES(n, arrays); } GLboolean GL_APIENTRY glIsVertexArrayOES(GLuint array) { - return GL_IsVertexArrayOES(array); + return gl::IsVertexArrayOES(array); } // GL_OVR_multiview @@ -5443,8 +5026,8 @@ void GL_APIENTRY glFramebufferTextureMultiviewOVR(GLenum target, GLint baseViewIndex, GLsizei numViews) { - return GL_FramebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, - numViews); + return gl::FramebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, + numViews); } // GL_OVR_multiview2 @@ -5454,49 +5037,42 @@ void GL_APIENTRY glActiveShaderProgramContextANGLE(GLeglContext ctx, GLuint pipeline, GLuint program) { - return GL_ActiveShaderProgramContextANGLE(ctx, pipeline, program); -} - -void GL_APIENTRY glActiveShaderProgramEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLuint program) -{ - return GL_ActiveShaderProgramEXTContextANGLE(ctx, pipeline, program); + return gl::ActiveShaderProgramContextANGLE(ctx, pipeline, program); } void GL_APIENTRY glActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) { - return GL_ActiveTextureContextANGLE(ctx, texture); + return gl::ActiveTextureContextANGLE(ctx, texture); } void GL_APIENTRY glAlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) { - return GL_AlphaFuncContextANGLE(ctx, func, ref); + return gl::AlphaFuncContextANGLE(ctx, func, ref); } void GL_APIENTRY glAlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) { - return GL_AlphaFuncxContextANGLE(ctx, func, ref); + return gl::AlphaFuncxContextANGLE(ctx, func, ref); } void GL_APIENTRY glAttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) { - return GL_AttachShaderContextANGLE(ctx, program, shader); + return gl::AttachShaderContextANGLE(ctx, program, shader); } void GL_APIENTRY glBeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { - return GL_BeginQueryContextANGLE(ctx, target, id); + return gl::BeginQueryContextANGLE(ctx, target, id); } void GL_APIENTRY glBeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { - return GL_BeginQueryEXTContextANGLE(ctx, target, id); + return gl::BeginQueryEXTContextANGLE(ctx, target, id); } void GL_APIENTRY glBeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) { - return GL_BeginTransformFeedbackContextANGLE(ctx, primitiveMode); + return gl::BeginTransformFeedbackContextANGLE(ctx, primitiveMode); } void GL_APIENTRY glBindAttribLocationContextANGLE(GLeglContext ctx, @@ -5504,12 +5080,12 @@ void GL_APIENTRY glBindAttribLocationContextANGLE(GLeglContext ctx, GLuint index, const GLchar *name) { - return GL_BindAttribLocationContextANGLE(ctx, program, index, name); + return gl::BindAttribLocationContextANGLE(ctx, program, index, name); } void GL_APIENTRY glBindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) { - return GL_BindBufferContextANGLE(ctx, target, buffer); + return gl::BindBufferContextANGLE(ctx, target, buffer); } void GL_APIENTRY glBindBufferBaseContextANGLE(GLeglContext ctx, @@ -5517,7 +5093,7 @@ void GL_APIENTRY glBindBufferBaseContextANGLE(GLeglContext ctx, GLuint index, GLuint buffer) { - return GL_BindBufferBaseContextANGLE(ctx, target, index, buffer); + return gl::BindBufferBaseContextANGLE(ctx, target, index, buffer); } void GL_APIENTRY glBindBufferRangeContextANGLE(GLeglContext ctx, @@ -5527,7 +5103,7 @@ void GL_APIENTRY glBindBufferRangeContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr size) { - return GL_BindBufferRangeContextANGLE(ctx, target, index, buffer, offset, size); + return gl::BindBufferRangeContextANGLE(ctx, target, index, buffer, offset, size); } void GL_APIENTRY glBindFragDataLocationEXTContextANGLE(GLeglContext ctx, @@ -5535,7 +5111,7 @@ void GL_APIENTRY glBindFragDataLocationEXTContextANGLE(GLeglContext ctx, GLuint color, const GLchar *name) { - return GL_BindFragDataLocationEXTContextANGLE(ctx, program, color, name); + return gl::BindFragDataLocationEXTContextANGLE(ctx, program, color, name); } void GL_APIENTRY glBindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, @@ -5544,19 +5120,19 @@ void GL_APIENTRY glBindFragDataLocationIndexedEXTContextANGLE(GLeglContext ctx, GLuint index, const GLchar *name) { - return GL_BindFragDataLocationIndexedEXTContextANGLE(ctx, program, colorNumber, index, name); + return gl::BindFragDataLocationIndexedEXTContextANGLE(ctx, program, colorNumber, index, name); } void GL_APIENTRY glBindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) { - return GL_BindFramebufferContextANGLE(ctx, target, framebuffer); + return gl::BindFramebufferContextANGLE(ctx, target, framebuffer); } void GL_APIENTRY glBindFramebufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) { - return GL_BindFramebufferOESContextANGLE(ctx, target, framebuffer); + return gl::BindFramebufferOESContextANGLE(ctx, target, framebuffer); } void GL_APIENTRY glBindImageTextureContextANGLE(GLeglContext ctx, @@ -5568,57 +5144,52 @@ void GL_APIENTRY glBindImageTextureContextANGLE(GLeglContext ctx, GLenum access, GLenum format) { - return GL_BindImageTextureContextANGLE(ctx, unit, texture, level, layered, layer, access, - format); + return gl::BindImageTextureContextANGLE(ctx, unit, texture, level, layered, layer, access, + format); } void GL_APIENTRY glBindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { - return GL_BindProgramPipelineContextANGLE(ctx, pipeline); -} - -void GL_APIENTRY glBindProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) -{ - return GL_BindProgramPipelineEXTContextANGLE(ctx, pipeline); + return gl::BindProgramPipelineContextANGLE(ctx, pipeline); } void GL_APIENTRY glBindRenderbufferContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer) { - return GL_BindRenderbufferContextANGLE(ctx, target, renderbuffer); + return gl::BindRenderbufferContextANGLE(ctx, target, renderbuffer); } void GL_APIENTRY glBindRenderbufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer) { - return GL_BindRenderbufferOESContextANGLE(ctx, target, renderbuffer); + return gl::BindRenderbufferOESContextANGLE(ctx, target, renderbuffer); } void GL_APIENTRY glBindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) { - return GL_BindSamplerContextANGLE(ctx, unit, sampler); + return gl::BindSamplerContextANGLE(ctx, unit, sampler); } void GL_APIENTRY glBindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) { - return GL_BindTextureContextANGLE(ctx, target, texture); + return gl::BindTextureContextANGLE(ctx, target, texture); } void GL_APIENTRY glBindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) { - return GL_BindTransformFeedbackContextANGLE(ctx, target, id); + return gl::BindTransformFeedbackContextANGLE(ctx, target, id); } void GL_APIENTRY glBindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) { - return GL_BindVertexArrayContextANGLE(ctx, array); + return gl::BindVertexArrayContextANGLE(ctx, array); } void GL_APIENTRY glBindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) { - return GL_BindVertexArrayOESContextANGLE(ctx, array); + return gl::BindVertexArrayOESContextANGLE(ctx, array); } void GL_APIENTRY glBindVertexBufferContextANGLE(GLeglContext ctx, @@ -5627,35 +5198,30 @@ void GL_APIENTRY glBindVertexBufferContextANGLE(GLeglContext ctx, GLintptr offset, GLsizei stride) { - return GL_BindVertexBufferContextANGLE(ctx, bindingindex, buffer, offset, stride); + return gl::BindVertexBufferContextANGLE(ctx, bindingindex, buffer, offset, stride); } void GL_APIENTRY glBlendBarrierContextANGLE(GLeglContext ctx) { - return GL_BlendBarrierContextANGLE(ctx); -} - -void GL_APIENTRY glBlendBarrierKHRContextANGLE(GLeglContext ctx) -{ - return GL_BlendBarrierKHRContextANGLE(ctx); + return gl::BlendBarrierContextANGLE(ctx); } void GL_APIENTRY glBlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_BlendColorContextANGLE(ctx, red, green, blue, alpha); + return gl::BlendColorContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glBlendEquationContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_BlendEquationContextANGLE(ctx, mode); + return gl::BlendEquationContextANGLE(ctx, mode); } void GL_APIENTRY glBlendEquationSeparateContextANGLE(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateContextANGLE(ctx, modeRGB, modeAlpha); + return gl::BlendEquationSeparateContextANGLE(ctx, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationSeparateiContextANGLE(GLeglContext ctx, @@ -5663,7 +5229,7 @@ void GL_APIENTRY glBlendEquationSeparateiContextANGLE(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateiContextANGLE(ctx, buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparateiContextANGLE(ctx, buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, @@ -5671,7 +5237,7 @@ void GL_APIENTRY glBlendEquationSeparateiEXTContextANGLE(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateiEXTContextANGLE(ctx, buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparateiEXTContextANGLE(ctx, buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationSeparateiOESContextANGLE(GLeglContext ctx, @@ -5679,27 +5245,27 @@ void GL_APIENTRY glBlendEquationSeparateiOESContextANGLE(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha) { - return GL_BlendEquationSeparateiOESContextANGLE(ctx, buf, modeRGB, modeAlpha); + return gl::BlendEquationSeparateiOESContextANGLE(ctx, buf, modeRGB, modeAlpha); } void GL_APIENTRY glBlendEquationiContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { - return GL_BlendEquationiContextANGLE(ctx, buf, mode); + return gl::BlendEquationiContextANGLE(ctx, buf, mode); } void GL_APIENTRY glBlendEquationiEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { - return GL_BlendEquationiEXTContextANGLE(ctx, buf, mode); + return gl::BlendEquationiEXTContextANGLE(ctx, buf, mode); } void GL_APIENTRY glBlendEquationiOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum mode) { - return GL_BlendEquationiOESContextANGLE(ctx, buf, mode); + return gl::BlendEquationiOESContextANGLE(ctx, buf, mode); } void GL_APIENTRY glBlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) { - return GL_BlendFuncContextANGLE(ctx, sfactor, dfactor); + return gl::BlendFuncContextANGLE(ctx, sfactor, dfactor); } void GL_APIENTRY glBlendFuncSeparateContextANGLE(GLeglContext ctx, @@ -5708,8 +5274,8 @@ void GL_APIENTRY glBlendFuncSeparateContextANGLE(GLeglContext ctx, GLenum sfactorAlpha, GLenum dfactorAlpha) { - return GL_BlendFuncSeparateContextANGLE(ctx, sfactorRGB, dfactorRGB, sfactorAlpha, - dfactorAlpha); + return gl::BlendFuncSeparateContextANGLE(ctx, sfactorRGB, dfactorRGB, sfactorAlpha, + dfactorAlpha); } void GL_APIENTRY glBlendFuncSeparateiContextANGLE(GLeglContext ctx, @@ -5719,7 +5285,7 @@ void GL_APIENTRY glBlendFuncSeparateiContextANGLE(GLeglContext ctx, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparateiContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparateiContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, @@ -5729,7 +5295,7 @@ void GL_APIENTRY glBlendFuncSeparateiEXTContextANGLE(GLeglContext ctx, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparateiEXTContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparateiEXTContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFuncSeparateiOESContextANGLE(GLeglContext ctx, @@ -5739,22 +5305,22 @@ void GL_APIENTRY glBlendFuncSeparateiOESContextANGLE(GLeglContext ctx, GLenum srcAlpha, GLenum dstAlpha) { - return GL_BlendFuncSeparateiOESContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); + return gl::BlendFuncSeparateiOESContextANGLE(ctx, buf, srcRGB, dstRGB, srcAlpha, dstAlpha); } void GL_APIENTRY glBlendFunciContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunciContextANGLE(ctx, buf, src, dst); + return gl::BlendFunciContextANGLE(ctx, buf, src, dst); } void GL_APIENTRY glBlendFunciEXTContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunciEXTContextANGLE(ctx, buf, src, dst); + return gl::BlendFunciEXTContextANGLE(ctx, buf, src, dst); } void GL_APIENTRY glBlendFunciOESContextANGLE(GLeglContext ctx, GLuint buf, GLenum src, GLenum dst) { - return GL_BlendFunciOESContextANGLE(ctx, buf, src, dst); + return gl::BlendFunciOESContextANGLE(ctx, buf, src, dst); } void GL_APIENTRY glBlitFramebufferContextANGLE(GLeglContext ctx, @@ -5769,8 +5335,8 @@ void GL_APIENTRY glBlitFramebufferContextANGLE(GLeglContext ctx, GLbitfield mask, GLenum filter) { - return GL_BlitFramebufferContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, - dstY1, mask, filter); + return gl::BlitFramebufferContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, + dstY1, mask, filter); } void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, @@ -5785,24 +5351,8 @@ void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, GLbitfield mask, GLenum filter) { - return GL_BlitFramebufferANGLEContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, - dstY1, mask, filter); -} - -void GL_APIENTRY glBlitFramebufferNVContextANGLE(GLeglContext ctx, - GLint srcX0, - GLint srcY0, - GLint srcX1, - GLint srcY1, - GLint dstX0, - GLint dstY0, - GLint dstX1, - GLint dstY1, - GLbitfield mask, - GLenum filter) -{ - return GL_BlitFramebufferNVContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, - dstY1, mask, filter); + return gl::BlitFramebufferANGLEContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, + dstX1, dstY1, mask, filter); } void GL_APIENTRY glBufferDataContextANGLE(GLeglContext ctx, @@ -5811,7 +5361,7 @@ void GL_APIENTRY glBufferDataContextANGLE(GLeglContext ctx, const void *data, GLenum usage) { - return GL_BufferDataContextANGLE(ctx, target, size, data, usage); + return gl::BufferDataContextANGLE(ctx, target, size, data, usage); } void GL_APIENTRY glBufferStorageEXTContextANGLE(GLeglContext ctx, @@ -5820,7 +5370,7 @@ void GL_APIENTRY glBufferStorageEXTContextANGLE(GLeglContext ctx, const void *data, GLbitfield flags) { - return GL_BufferStorageEXTContextANGLE(ctx, target, size, data, flags); + return gl::BufferStorageEXTContextANGLE(ctx, target, size, data, flags); } void GL_APIENTRY glBufferStorageExternalEXTContextANGLE(GLeglContext ctx, @@ -5830,7 +5380,7 @@ void GL_APIENTRY glBufferStorageExternalEXTContextANGLE(GLeglContext ctx, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - return GL_BufferStorageExternalEXTContextANGLE(ctx, target, offset, size, clientBuffer, flags); + return gl::BufferStorageExternalEXTContextANGLE(ctx, target, offset, size, clientBuffer, flags); } void GL_APIENTRY glBufferStorageMemEXTContextANGLE(GLeglContext ctx, @@ -5839,7 +5389,7 @@ void GL_APIENTRY glBufferStorageMemEXTContextANGLE(GLeglContext ctx, GLuint memory, GLuint64 offset) { - return GL_BufferStorageMemEXTContextANGLE(ctx, target, size, memory, offset); + return gl::BufferStorageMemEXTContextANGLE(ctx, target, size, memory, offset); } void GL_APIENTRY glBufferSubDataContextANGLE(GLeglContext ctx, @@ -5848,22 +5398,22 @@ void GL_APIENTRY glBufferSubDataContextANGLE(GLeglContext ctx, GLsizeiptr size, const void *data) { - return GL_BufferSubDataContextANGLE(ctx, target, offset, size, data); + return gl::BufferSubDataContextANGLE(ctx, target, offset, size, data); } GLenum GL_APIENTRY glCheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) { - return GL_CheckFramebufferStatusContextANGLE(ctx, target); + return gl::CheckFramebufferStatusContextANGLE(ctx, target); } GLenum GL_APIENTRY glCheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) { - return GL_CheckFramebufferStatusOESContextANGLE(ctx, target); + return gl::CheckFramebufferStatusOESContextANGLE(ctx, target); } void GL_APIENTRY glClearContextANGLE(GLeglContext ctx, GLbitfield mask) { - return GL_ClearContextANGLE(ctx, mask); + return gl::ClearContextANGLE(ctx, mask); } void GL_APIENTRY glClearBufferfiContextANGLE(GLeglContext ctx, @@ -5872,7 +5422,7 @@ void GL_APIENTRY glClearBufferfiContextANGLE(GLeglContext ctx, GLfloat depth, GLint stencil) { - return GL_ClearBufferfiContextANGLE(ctx, buffer, drawbuffer, depth, stencil); + return gl::ClearBufferfiContextANGLE(ctx, buffer, drawbuffer, depth, stencil); } void GL_APIENTRY glClearBufferfvContextANGLE(GLeglContext ctx, @@ -5880,7 +5430,7 @@ void GL_APIENTRY glClearBufferfvContextANGLE(GLeglContext ctx, GLint drawbuffer, const GLfloat *value) { - return GL_ClearBufferfvContextANGLE(ctx, buffer, drawbuffer, value); + return gl::ClearBufferfvContextANGLE(ctx, buffer, drawbuffer, value); } void GL_APIENTRY glClearBufferivContextANGLE(GLeglContext ctx, @@ -5888,7 +5438,7 @@ void GL_APIENTRY glClearBufferivContextANGLE(GLeglContext ctx, GLint drawbuffer, const GLint *value) { - return GL_ClearBufferivContextANGLE(ctx, buffer, drawbuffer, value); + return gl::ClearBufferivContextANGLE(ctx, buffer, drawbuffer, value); } void GL_APIENTRY glClearBufferuivContextANGLE(GLeglContext ctx, @@ -5896,39 +5446,39 @@ void GL_APIENTRY glClearBufferuivContextANGLE(GLeglContext ctx, GLint drawbuffer, const GLuint *value) { - return GL_ClearBufferuivContextANGLE(ctx, buffer, drawbuffer, value); + return gl::ClearBufferuivContextANGLE(ctx, buffer, drawbuffer, value); } void GL_APIENTRY glClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_ClearColorContextANGLE(ctx, red, green, blue, alpha); + return gl::ClearColorContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { - return GL_ClearColorxContextANGLE(ctx, red, green, blue, alpha); + return gl::ClearColorxContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) { - return GL_ClearDepthfContextANGLE(ctx, d); + return gl::ClearDepthfContextANGLE(ctx, d); } void GL_APIENTRY glClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) { - return GL_ClearDepthxContextANGLE(ctx, depth); + return gl::ClearDepthxContextANGLE(ctx, depth); } void GL_APIENTRY glClearStencilContextANGLE(GLeglContext ctx, GLint s) { - return GL_ClearStencilContextANGLE(ctx, s); + return gl::ClearStencilContextANGLE(ctx, s); } void GL_APIENTRY glClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) { - return GL_ClientActiveTextureContextANGLE(ctx, texture); + return gl::ClientActiveTextureContextANGLE(ctx, texture); } GLenum GL_APIENTRY glClientWaitSyncContextANGLE(GLeglContext ctx, @@ -5936,40 +5486,35 @@ GLenum GL_APIENTRY glClientWaitSyncContextANGLE(GLeglContext ctx, GLbitfield flags, GLuint64 timeout) { - return GL_ClientWaitSyncContextANGLE(ctx, sync, flags, timeout); -} - -void GL_APIENTRY glClipControlEXTContextANGLE(GLeglContext ctx, GLenum origin, GLenum depth) -{ - return GL_ClipControlEXTContextANGLE(ctx, origin, depth); + return gl::ClientWaitSyncContextANGLE(ctx, sync, flags, timeout); } void GL_APIENTRY glClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) { - return GL_ClipPlanefContextANGLE(ctx, p, eqn); + return gl::ClipPlanefContextANGLE(ctx, p, eqn); } void GL_APIENTRY glClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) { - return GL_ClipPlanexContextANGLE(ctx, plane, equation); + return gl::ClipPlanexContextANGLE(ctx, plane, equation); } void GL_APIENTRY glColor4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { - return GL_Color4fContextANGLE(ctx, red, green, blue, alpha); + return gl::Color4fContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glColor4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { - return GL_Color4ubContextANGLE(ctx, red, green, blue, alpha); + return gl::Color4ubContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glColor4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { - return GL_Color4xContextANGLE(ctx, red, green, blue, alpha); + return gl::Color4xContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glColorMaskContextANGLE(GLeglContext ctx, @@ -5978,7 +5523,7 @@ void GL_APIENTRY glColorMaskContextANGLE(GLeglContext ctx, GLboolean blue, GLboolean alpha) { - return GL_ColorMaskContextANGLE(ctx, red, green, blue, alpha); + return gl::ColorMaskContextANGLE(ctx, red, green, blue, alpha); } void GL_APIENTRY glColorMaskiContextANGLE(GLeglContext ctx, @@ -5988,7 +5533,7 @@ void GL_APIENTRY glColorMaskiContextANGLE(GLeglContext ctx, GLboolean b, GLboolean a) { - return GL_ColorMaskiContextANGLE(ctx, index, r, g, b, a); + return gl::ColorMaskiContextANGLE(ctx, index, r, g, b, a); } void GL_APIENTRY glColorMaskiEXTContextANGLE(GLeglContext ctx, @@ -5998,7 +5543,7 @@ void GL_APIENTRY glColorMaskiEXTContextANGLE(GLeglContext ctx, GLboolean b, GLboolean a) { - return GL_ColorMaskiEXTContextANGLE(ctx, index, r, g, b, a); + return gl::ColorMaskiEXTContextANGLE(ctx, index, r, g, b, a); } void GL_APIENTRY glColorMaskiOESContextANGLE(GLeglContext ctx, @@ -6008,7 +5553,7 @@ void GL_APIENTRY glColorMaskiOESContextANGLE(GLeglContext ctx, GLboolean b, GLboolean a) { - return GL_ColorMaskiOESContextANGLE(ctx, index, r, g, b, a); + return gl::ColorMaskiOESContextANGLE(ctx, index, r, g, b, a); } void GL_APIENTRY glColorPointerContextANGLE(GLeglContext ctx, @@ -6017,12 +5562,12 @@ void GL_APIENTRY glColorPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_ColorPointerContextANGLE(ctx, size, type, stride, pointer); + return gl::ColorPointerContextANGLE(ctx, size, type, stride, pointer); } void GL_APIENTRY glCompileShaderContextANGLE(GLeglContext ctx, GLuint shader) { - return GL_CompileShaderContextANGLE(ctx, shader); + return gl::CompileShaderContextANGLE(ctx, shader); } void GL_APIENTRY glCompressedTexImage2DContextANGLE(GLeglContext ctx, @@ -6035,8 +5580,8 @@ void GL_APIENTRY glCompressedTexImage2DContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage2DContextANGLE(ctx, target, level, internalformat, width, height, - border, imageSize, data); + return gl::CompressedTexImage2DContextANGLE(ctx, target, level, internalformat, width, height, + border, imageSize, data); } void GL_APIENTRY glCompressedTexImage3DContextANGLE(GLeglContext ctx, @@ -6050,8 +5595,8 @@ void GL_APIENTRY glCompressedTexImage3DContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage3DContextANGLE(ctx, target, level, internalformat, width, height, - depth, border, imageSize, data); + return gl::CompressedTexImage3DContextANGLE(ctx, target, level, internalformat, width, height, + depth, border, imageSize, data); } void GL_APIENTRY glCompressedTexImage3DOESContextANGLE(GLeglContext ctx, @@ -6065,8 +5610,8 @@ void GL_APIENTRY glCompressedTexImage3DOESContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexImage3DOESContextANGLE(ctx, target, level, internalformat, width, height, - depth, border, imageSize, data); + return gl::CompressedTexImage3DOESContextANGLE(ctx, target, level, internalformat, width, + height, depth, border, imageSize, data); } void GL_APIENTRY glCompressedTexSubImage2DContextANGLE(GLeglContext ctx, @@ -6080,8 +5625,8 @@ void GL_APIENTRY glCompressedTexSubImage2DContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, - height, format, imageSize, data); + return gl::CompressedTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, + height, format, imageSize, data); } void GL_APIENTRY glCompressedTexSubImage3DContextANGLE(GLeglContext ctx, @@ -6097,8 +5642,8 @@ void GL_APIENTRY glCompressedTexSubImage3DContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, - width, height, depth, format, imageSize, data); + return gl::CompressedTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, + width, height, depth, format, imageSize, data); } void GL_APIENTRY glCompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, @@ -6114,8 +5659,9 @@ void GL_APIENTRY glCompressedTexSubImage3DOESContextANGLE(GLeglContext ctx, GLsizei imageSize, const void *data) { - return GL_CompressedTexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, - width, height, depth, format, imageSize, data); + return gl::CompressedTexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, + width, height, depth, format, imageSize, + data); } void GL_APIENTRY glCopyBufferSubDataContextANGLE(GLeglContext ctx, @@ -6125,8 +5671,8 @@ void GL_APIENTRY glCopyBufferSubDataContextANGLE(GLeglContext ctx, GLintptr writeOffset, GLsizeiptr size) { - return GL_CopyBufferSubDataContextANGLE(ctx, readTarget, writeTarget, readOffset, writeOffset, - size); + return gl::CopyBufferSubDataContextANGLE(ctx, readTarget, writeTarget, readOffset, writeOffset, + size); } void GL_APIENTRY glCopyImageSubDataContextANGLE(GLeglContext ctx, @@ -6146,9 +5692,9 @@ void GL_APIENTRY glCopyImageSubDataContextANGLE(GLeglContext ctx, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubDataContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, - dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, - srcHeight, srcDepth); + return gl::CopyImageSubDataContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, + dstName, dstTarget, dstLevel, dstX, dstY, dstZ, + srcWidth, srcHeight, srcDepth); } void GL_APIENTRY glCopyImageSubDataEXTContextANGLE(GLeglContext ctx, @@ -6168,9 +5714,9 @@ void GL_APIENTRY glCopyImageSubDataEXTContextANGLE(GLeglContext ctx, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubDataEXTContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, - dstName, dstTarget, dstLevel, dstX, dstY, dstZ, - srcWidth, srcHeight, srcDepth); + return gl::CopyImageSubDataEXTContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, + dstName, dstTarget, dstLevel, dstX, dstY, dstZ, + srcWidth, srcHeight, srcDepth); } void GL_APIENTRY glCopyImageSubDataOESContextANGLE(GLeglContext ctx, @@ -6190,9 +5736,9 @@ void GL_APIENTRY glCopyImageSubDataOESContextANGLE(GLeglContext ctx, GLsizei srcHeight, GLsizei srcDepth) { - return GL_CopyImageSubDataOESContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, - dstName, dstTarget, dstLevel, dstX, dstY, dstZ, - srcWidth, srcHeight, srcDepth); + return gl::CopyImageSubDataOESContextANGLE(ctx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, + dstName, dstTarget, dstLevel, dstX, dstY, dstZ, + srcWidth, srcHeight, srcDepth); } void GL_APIENTRY glCopyTexImage2DContextANGLE(GLeglContext ctx, @@ -6205,8 +5751,8 @@ void GL_APIENTRY glCopyTexImage2DContextANGLE(GLeglContext ctx, GLsizei height, GLint border) { - return GL_CopyTexImage2DContextANGLE(ctx, target, level, internalformat, x, y, width, height, - border); + return gl::CopyTexImage2DContextANGLE(ctx, target, level, internalformat, x, y, width, height, + border); } void GL_APIENTRY glCopyTexSubImage2DContextANGLE(GLeglContext ctx, @@ -6219,8 +5765,8 @@ void GL_APIENTRY glCopyTexSubImage2DContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, x, y, width, - height); + return gl::CopyTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, x, y, width, + height); } void GL_APIENTRY glCopyTexSubImage3DContextANGLE(GLeglContext ctx, @@ -6234,8 +5780,8 @@ void GL_APIENTRY glCopyTexSubImage3DContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, - width, height); + return gl::CopyTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, + width, height); } void GL_APIENTRY glCopyTexSubImage3DOESContextANGLE(GLeglContext ctx, @@ -6249,25 +5795,25 @@ void GL_APIENTRY glCopyTexSubImage3DOESContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_CopyTexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, - width, height); + return gl::CopyTexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, + width, height); } void GL_APIENTRY glCreateMemoryObjectsEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *memoryObjects) { - return GL_CreateMemoryObjectsEXTContextANGLE(ctx, n, memoryObjects); + return gl::CreateMemoryObjectsEXTContextANGLE(ctx, n, memoryObjects); } GLuint GL_APIENTRY glCreateProgramContextANGLE(GLeglContext ctx) { - return GL_CreateProgramContextANGLE(ctx); + return gl::CreateProgramContextANGLE(ctx); } GLuint GL_APIENTRY glCreateShaderContextANGLE(GLeglContext ctx, GLenum type) { - return GL_CreateShaderContextANGLE(ctx, type); + return gl::CreateShaderContextANGLE(ctx, type); } GLuint GL_APIENTRY glCreateShaderProgramvContextANGLE(GLeglContext ctx, @@ -6275,39 +5821,31 @@ GLuint GL_APIENTRY glCreateShaderProgramvContextANGLE(GLeglContext ctx, GLsizei count, const GLchar *const *strings) { - return GL_CreateShaderProgramvContextANGLE(ctx, type, count, strings); -} - -GLuint GL_APIENTRY glCreateShaderProgramvEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLsizei count, - const GLchar **strings) -{ - return GL_CreateShaderProgramvEXTContextANGLE(ctx, type, count, strings); + return gl::CreateShaderProgramvContextANGLE(ctx, type, count, strings); } void GL_APIENTRY glCullFaceContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_CullFaceContextANGLE(ctx, mode); + return gl::CullFaceContextANGLE(ctx, mode); } void GL_APIENTRY glCurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) { - return GL_CurrentPaletteMatrixOESContextANGLE(ctx, matrixpaletteindex); + return gl::CurrentPaletteMatrixOESContextANGLE(ctx, matrixpaletteindex); } void GL_APIENTRY glDebugMessageCallbackContextANGLE(GLeglContext ctx, GLDEBUGPROC callback, const void *userParam) { - return GL_DebugMessageCallbackContextANGLE(ctx, callback, userParam); + return gl::DebugMessageCallbackContextANGLE(ctx, callback, userParam); } void GL_APIENTRY glDebugMessageCallbackKHRContextANGLE(GLeglContext ctx, GLDEBUGPROCKHR callback, const void *userParam) { - return GL_DebugMessageCallbackKHRContextANGLE(ctx, callback, userParam); + return gl::DebugMessageCallbackKHRContextANGLE(ctx, callback, userParam); } void GL_APIENTRY glDebugMessageControlContextANGLE(GLeglContext ctx, @@ -6318,7 +5856,7 @@ void GL_APIENTRY glDebugMessageControlContextANGLE(GLeglContext ctx, const GLuint *ids, GLboolean enabled) { - return GL_DebugMessageControlContextANGLE(ctx, source, type, severity, count, ids, enabled); + return gl::DebugMessageControlContextANGLE(ctx, source, type, severity, count, ids, enabled); } void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, @@ -6329,7 +5867,7 @@ void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, const GLuint *ids, GLboolean enabled) { - return GL_DebugMessageControlKHRContextANGLE(ctx, source, type, severity, count, ids, enabled); + return gl::DebugMessageControlKHRContextANGLE(ctx, source, type, severity, count, ids, enabled); } void GL_APIENTRY glDebugMessageInsertContextANGLE(GLeglContext ctx, @@ -6340,7 +5878,7 @@ void GL_APIENTRY glDebugMessageInsertContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *buf) { - return GL_DebugMessageInsertContextANGLE(ctx, source, type, id, severity, length, buf); + return gl::DebugMessageInsertContextANGLE(ctx, source, type, id, severity, length, buf); } void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, @@ -6351,184 +5889,177 @@ void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *buf) { - return GL_DebugMessageInsertKHRContextANGLE(ctx, source, type, id, severity, length, buf); + return gl::DebugMessageInsertKHRContextANGLE(ctx, source, type, id, severity, length, buf); } void GL_APIENTRY glDeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) { - return GL_DeleteBuffersContextANGLE(ctx, n, buffers); + return gl::DeleteBuffersContextANGLE(ctx, n, buffers); } void GL_APIENTRY glDeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) { - return GL_DeleteFencesNVContextANGLE(ctx, n, fences); + return gl::DeleteFencesNVContextANGLE(ctx, n, fences); } void GL_APIENTRY glDeleteFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *framebuffers) { - return GL_DeleteFramebuffersContextANGLE(ctx, n, framebuffers); + return gl::DeleteFramebuffersContextANGLE(ctx, n, framebuffers); } void GL_APIENTRY glDeleteFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *framebuffers) { - return GL_DeleteFramebuffersOESContextANGLE(ctx, n, framebuffers); + return gl::DeleteFramebuffersOESContextANGLE(ctx, n, framebuffers); } void GL_APIENTRY glDeleteMemoryObjectsEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *memoryObjects) { - return GL_DeleteMemoryObjectsEXTContextANGLE(ctx, n, memoryObjects); + return gl::DeleteMemoryObjectsEXTContextANGLE(ctx, n, memoryObjects); } void GL_APIENTRY glDeleteProgramContextANGLE(GLeglContext ctx, GLuint program) { - return GL_DeleteProgramContextANGLE(ctx, program); + return gl::DeleteProgramContextANGLE(ctx, program); } void GL_APIENTRY glDeleteProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *pipelines) { - return GL_DeleteProgramPipelinesContextANGLE(ctx, n, pipelines); -} - -void GL_APIENTRY glDeleteProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - const GLuint *pipelines) -{ - return GL_DeleteProgramPipelinesEXTContextANGLE(ctx, n, pipelines); + return gl::DeleteProgramPipelinesContextANGLE(ctx, n, pipelines); } void GL_APIENTRY glDeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) { - return GL_DeleteQueriesContextANGLE(ctx, n, ids); + return gl::DeleteQueriesContextANGLE(ctx, n, ids); } void GL_APIENTRY glDeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) { - return GL_DeleteQueriesEXTContextANGLE(ctx, n, ids); + return gl::DeleteQueriesEXTContextANGLE(ctx, n, ids); } void GL_APIENTRY glDeleteRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers) { - return GL_DeleteRenderbuffersContextANGLE(ctx, n, renderbuffers); + return gl::DeleteRenderbuffersContextANGLE(ctx, n, renderbuffers); } void GL_APIENTRY glDeleteRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers) { - return GL_DeleteRenderbuffersOESContextANGLE(ctx, n, renderbuffers); + return gl::DeleteRenderbuffersOESContextANGLE(ctx, n, renderbuffers); } void GL_APIENTRY glDeleteSamplersContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *samplers) { - return GL_DeleteSamplersContextANGLE(ctx, count, samplers); + return gl::DeleteSamplersContextANGLE(ctx, count, samplers); } void GL_APIENTRY glDeleteSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *semaphores) { - return GL_DeleteSemaphoresEXTContextANGLE(ctx, n, semaphores); + return gl::DeleteSemaphoresEXTContextANGLE(ctx, n, semaphores); } void GL_APIENTRY glDeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) { - return GL_DeleteShaderContextANGLE(ctx, shader); + return gl::DeleteShaderContextANGLE(ctx, shader); } void GL_APIENTRY glDeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) { - return GL_DeleteSyncContextANGLE(ctx, sync); + return gl::DeleteSyncContextANGLE(ctx, sync); } void GL_APIENTRY glDeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) { - return GL_DeleteTexturesContextANGLE(ctx, n, textures); + return gl::DeleteTexturesContextANGLE(ctx, n, textures); } void GL_APIENTRY glDeleteTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) { - return GL_DeleteTransformFeedbacksContextANGLE(ctx, n, ids); + return gl::DeleteTransformFeedbacksContextANGLE(ctx, n, ids); } void GL_APIENTRY glDeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) { - return GL_DeleteVertexArraysContextANGLE(ctx, n, arrays); + return gl::DeleteVertexArraysContextANGLE(ctx, n, arrays); } void GL_APIENTRY glDeleteVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) { - return GL_DeleteVertexArraysOESContextANGLE(ctx, n, arrays); + return gl::DeleteVertexArraysOESContextANGLE(ctx, n, arrays); } void GL_APIENTRY glDepthFuncContextANGLE(GLeglContext ctx, GLenum func) { - return GL_DepthFuncContextANGLE(ctx, func); + return gl::DepthFuncContextANGLE(ctx, func); } void GL_APIENTRY glDepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) { - return GL_DepthMaskContextANGLE(ctx, flag); + return gl::DepthMaskContextANGLE(ctx, flag); } void GL_APIENTRY glDepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) { - return GL_DepthRangefContextANGLE(ctx, n, f); + return gl::DepthRangefContextANGLE(ctx, n, f); } void GL_APIENTRY glDepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) { - return GL_DepthRangexContextANGLE(ctx, n, f); + return gl::DepthRangexContextANGLE(ctx, n, f); } void GL_APIENTRY glDetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) { - return GL_DetachShaderContextANGLE(ctx, program, shader); + return gl::DetachShaderContextANGLE(ctx, program, shader); } void GL_APIENTRY glDisableContextANGLE(GLeglContext ctx, GLenum cap) { - return GL_DisableContextANGLE(ctx, cap); + return gl::DisableContextANGLE(ctx, cap); } void GL_APIENTRY glDisableClientStateContextANGLE(GLeglContext ctx, GLenum array) { - return GL_DisableClientStateContextANGLE(ctx, array); + return gl::DisableClientStateContextANGLE(ctx, array); } void GL_APIENTRY glDisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) { - return GL_DisableVertexAttribArrayContextANGLE(ctx, index); + return gl::DisableVertexAttribArrayContextANGLE(ctx, index); } void GL_APIENTRY glDisableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_DisableiContextANGLE(ctx, target, index); + return gl::DisableiContextANGLE(ctx, target, index); } void GL_APIENTRY glDisableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_DisableiEXTContextANGLE(ctx, target, index); + return gl::DisableiEXTContextANGLE(ctx, target, index); } void GL_APIENTRY glDisableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_DisableiOESContextANGLE(ctx, target, index); + return gl::DisableiOESContextANGLE(ctx, target, index); } void GL_APIENTRY glDiscardFramebufferEXTContextANGLE(GLeglContext ctx, @@ -6536,7 +6067,7 @@ void GL_APIENTRY glDiscardFramebufferEXTContextANGLE(GLeglContext ctx, GLsizei numAttachments, const GLenum *attachments) { - return GL_DiscardFramebufferEXTContextANGLE(ctx, target, numAttachments, attachments); + return gl::DiscardFramebufferEXTContextANGLE(ctx, target, numAttachments, attachments); } void GL_APIENTRY glDispatchComputeContextANGLE(GLeglContext ctx, @@ -6544,24 +6075,24 @@ void GL_APIENTRY glDispatchComputeContextANGLE(GLeglContext ctx, GLuint num_groups_y, GLuint num_groups_z) { - return GL_DispatchComputeContextANGLE(ctx, num_groups_x, num_groups_y, num_groups_z); + return gl::DispatchComputeContextANGLE(ctx, num_groups_x, num_groups_y, num_groups_z); } void GL_APIENTRY glDispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) { - return GL_DispatchComputeIndirectContextANGLE(ctx, indirect); + return gl::DispatchComputeIndirectContextANGLE(ctx, indirect); } void GL_APIENTRY glDrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count) { - return GL_DrawArraysContextANGLE(ctx, mode, first, count); + return gl::DrawArraysContextANGLE(ctx, mode, first, count); } void GL_APIENTRY glDrawArraysIndirectContextANGLE(GLeglContext ctx, GLenum mode, const void *indirect) { - return GL_DrawArraysIndirectContextANGLE(ctx, mode, indirect); + return gl::DrawArraysIndirectContextANGLE(ctx, mode, indirect); } void GL_APIENTRY glDrawArraysInstancedContextANGLE(GLeglContext ctx, @@ -6570,7 +6101,7 @@ void GL_APIENTRY glDrawArraysInstancedContextANGLE(GLeglContext ctx, GLsizei count, GLsizei instancecount) { - return GL_DrawArraysInstancedContextANGLE(ctx, mode, first, count, instancecount); + return gl::DrawArraysInstancedContextANGLE(ctx, mode, first, count, instancecount); } void GL_APIENTRY glDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, @@ -6579,7 +6110,7 @@ void GL_APIENTRY glDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, GLsizei count, GLsizei primcount) { - return GL_DrawArraysInstancedANGLEContextANGLE(ctx, mode, first, count, primcount); + return gl::DrawArraysInstancedANGLEContextANGLE(ctx, mode, first, count, primcount); } void GL_APIENTRY glDrawArraysInstancedEXTContextANGLE(GLeglContext ctx, @@ -6588,17 +6119,17 @@ void GL_APIENTRY glDrawArraysInstancedEXTContextANGLE(GLeglContext ctx, GLsizei count, GLsizei primcount) { - return GL_DrawArraysInstancedEXTContextANGLE(ctx, mode, start, count, primcount); + return gl::DrawArraysInstancedEXTContextANGLE(ctx, mode, start, count, primcount); } void GL_APIENTRY glDrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) { - return GL_DrawBuffersContextANGLE(ctx, n, bufs); + return gl::DrawBuffersContextANGLE(ctx, n, bufs); } void GL_APIENTRY glDrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) { - return GL_DrawBuffersEXTContextANGLE(ctx, n, bufs); + return gl::DrawBuffersEXTContextANGLE(ctx, n, bufs); } void GL_APIENTRY glDrawElementsContextANGLE(GLeglContext ctx, @@ -6607,7 +6138,7 @@ void GL_APIENTRY glDrawElementsContextANGLE(GLeglContext ctx, GLenum type, const void *indices) { - return GL_DrawElementsContextANGLE(ctx, mode, count, type, indices); + return gl::DrawElementsContextANGLE(ctx, mode, count, type, indices); } void GL_APIENTRY glDrawElementsBaseVertexContextANGLE(GLeglContext ctx, @@ -6617,7 +6148,7 @@ void GL_APIENTRY glDrawElementsBaseVertexContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertexContextANGLE(ctx, mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertexContextANGLE(ctx, mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, @@ -6627,7 +6158,7 @@ void GL_APIENTRY glDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, @@ -6637,7 +6168,7 @@ void GL_APIENTRY glDrawElementsBaseVertexOESContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawElementsBaseVertexOESContextANGLE(ctx, mode, count, type, indices, basevertex); + return gl::DrawElementsBaseVertexOESContextANGLE(ctx, mode, count, type, indices, basevertex); } void GL_APIENTRY glDrawElementsIndirectContextANGLE(GLeglContext ctx, @@ -6645,7 +6176,7 @@ void GL_APIENTRY glDrawElementsIndirectContextANGLE(GLeglContext ctx, GLenum type, const void *indirect) { - return GL_DrawElementsIndirectContextANGLE(ctx, mode, type, indirect); + return gl::DrawElementsIndirectContextANGLE(ctx, mode, type, indirect); } void GL_APIENTRY glDrawElementsInstancedContextANGLE(GLeglContext ctx, @@ -6655,7 +6186,7 @@ void GL_APIENTRY glDrawElementsInstancedContextANGLE(GLeglContext ctx, const void *indices, GLsizei instancecount) { - return GL_DrawElementsInstancedContextANGLE(ctx, mode, count, type, indices, instancecount); + return gl::DrawElementsInstancedContextANGLE(ctx, mode, count, type, indices, instancecount); } void GL_APIENTRY glDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, @@ -6665,7 +6196,7 @@ void GL_APIENTRY glDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, const void *indices, GLsizei primcount) { - return GL_DrawElementsInstancedANGLEContextANGLE(ctx, mode, count, type, indices, primcount); + return gl::DrawElementsInstancedANGLEContextANGLE(ctx, mode, count, type, indices, primcount); } void GL_APIENTRY glDrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, @@ -6676,8 +6207,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexContextANGLE(GLeglContext ctx, GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertexContextANGLE(ctx, mode, count, type, indices, - instancecount, basevertex); + return gl::DrawElementsInstancedBaseVertexContextANGLE(ctx, mode, count, type, indices, + instancecount, basevertex); } void GL_APIENTRY glDrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext ctx, @@ -6688,8 +6219,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexEXTContextANGLE(GLeglContext c GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, - instancecount, basevertex); + return gl::DrawElementsInstancedBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, + instancecount, basevertex); } void GL_APIENTRY glDrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext ctx, @@ -6700,8 +6231,8 @@ void GL_APIENTRY glDrawElementsInstancedBaseVertexOESContextANGLE(GLeglContext c GLsizei instancecount, GLint basevertex) { - return GL_DrawElementsInstancedBaseVertexOESContextANGLE(ctx, mode, count, type, indices, - instancecount, basevertex); + return gl::DrawElementsInstancedBaseVertexOESContextANGLE(ctx, mode, count, type, indices, + instancecount, basevertex); } void GL_APIENTRY glDrawElementsInstancedEXTContextANGLE(GLeglContext ctx, @@ -6711,7 +6242,7 @@ void GL_APIENTRY glDrawElementsInstancedEXTContextANGLE(GLeglContext ctx, const void *indices, GLsizei primcount) { - return GL_DrawElementsInstancedEXTContextANGLE(ctx, mode, count, type, indices, primcount); + return gl::DrawElementsInstancedEXTContextANGLE(ctx, mode, count, type, indices, primcount); } void GL_APIENTRY glDrawRangeElementsContextANGLE(GLeglContext ctx, @@ -6722,7 +6253,7 @@ void GL_APIENTRY glDrawRangeElementsContextANGLE(GLeglContext ctx, GLenum type, const void *indices) { - return GL_DrawRangeElementsContextANGLE(ctx, mode, start, end, count, type, indices); + return gl::DrawRangeElementsContextANGLE(ctx, mode, start, end, count, type, indices); } void GL_APIENTRY glDrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, @@ -6734,8 +6265,8 @@ void GL_APIENTRY glDrawRangeElementsBaseVertexContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertexContextANGLE(ctx, mode, start, end, count, type, indices, - basevertex); + return gl::DrawRangeElementsBaseVertexContextANGLE(ctx, mode, start, end, count, type, indices, + basevertex); } void GL_APIENTRY glDrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, @@ -6747,8 +6278,8 @@ void GL_APIENTRY glDrawRangeElementsBaseVertexEXTContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertexEXTContextANGLE(ctx, mode, start, end, count, type, - indices, basevertex); + return gl::DrawRangeElementsBaseVertexEXTContextANGLE(ctx, mode, start, end, count, type, + indices, basevertex); } void GL_APIENTRY glDrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, @@ -6760,8 +6291,8 @@ void GL_APIENTRY glDrawRangeElementsBaseVertexOESContextANGLE(GLeglContext ctx, const void *indices, GLint basevertex) { - return GL_DrawRangeElementsBaseVertexOESContextANGLE(ctx, mode, start, end, count, type, - indices, basevertex); + return gl::DrawRangeElementsBaseVertexOESContextANGLE(ctx, mode, start, end, count, type, + indices, basevertex); } void GL_APIENTRY glDrawTexfOESContextANGLE(GLeglContext ctx, @@ -6771,23 +6302,23 @@ void GL_APIENTRY glDrawTexfOESContextANGLE(GLeglContext ctx, GLfloat width, GLfloat height) { - return GL_DrawTexfOESContextANGLE(ctx, x, y, z, width, height); + return gl::DrawTexfOESContextANGLE(ctx, x, y, z, width, height); } void GL_APIENTRY glDrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) { - return GL_DrawTexfvOESContextANGLE(ctx, coords); + return gl::DrawTexfvOESContextANGLE(ctx, coords); } void GL_APIENTRY glDrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) { - return GL_DrawTexiOESContextANGLE(ctx, x, y, z, width, height); + return gl::DrawTexiOESContextANGLE(ctx, x, y, z, width, height); } void GL_APIENTRY glDrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) { - return GL_DrawTexivOESContextANGLE(ctx, coords); + return gl::DrawTexivOESContextANGLE(ctx, coords); } void GL_APIENTRY glDrawTexsOESContextANGLE(GLeglContext ctx, @@ -6797,12 +6328,12 @@ void GL_APIENTRY glDrawTexsOESContextANGLE(GLeglContext ctx, GLshort width, GLshort height) { - return GL_DrawTexsOESContextANGLE(ctx, x, y, z, width, height); + return gl::DrawTexsOESContextANGLE(ctx, x, y, z, width, height); } void GL_APIENTRY glDrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) { - return GL_DrawTexsvOESContextANGLE(ctx, coords); + return gl::DrawTexsvOESContextANGLE(ctx, coords); } void GL_APIENTRY glDrawTexxOESContextANGLE(GLeglContext ctx, @@ -6812,91 +6343,91 @@ void GL_APIENTRY glDrawTexxOESContextANGLE(GLeglContext ctx, GLfixed width, GLfixed height) { - return GL_DrawTexxOESContextANGLE(ctx, x, y, z, width, height); + return gl::DrawTexxOESContextANGLE(ctx, x, y, z, width, height); } void GL_APIENTRY glDrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) { - return GL_DrawTexxvOESContextANGLE(ctx, coords); + return gl::DrawTexxvOESContextANGLE(ctx, coords); } void GL_APIENTRY glEGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, GLenum target, GLeglImageOES image) { - return GL_EGLImageTargetRenderbufferStorageOESContextANGLE(ctx, target, image); + return gl::EGLImageTargetRenderbufferStorageOESContextANGLE(ctx, target, image); } void GL_APIENTRY glEGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, GLenum target, GLeglImageOES image) { - return GL_EGLImageTargetTexture2DOESContextANGLE(ctx, target, image); + return gl::EGLImageTargetTexture2DOESContextANGLE(ctx, target, image); } void GL_APIENTRY glEnableContextANGLE(GLeglContext ctx, GLenum cap) { - return GL_EnableContextANGLE(ctx, cap); + return gl::EnableContextANGLE(ctx, cap); } void GL_APIENTRY glEnableClientStateContextANGLE(GLeglContext ctx, GLenum array) { - return GL_EnableClientStateContextANGLE(ctx, array); + return gl::EnableClientStateContextANGLE(ctx, array); } void GL_APIENTRY glEnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) { - return GL_EnableVertexAttribArrayContextANGLE(ctx, index); + return gl::EnableVertexAttribArrayContextANGLE(ctx, index); } void GL_APIENTRY glEnableiContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_EnableiContextANGLE(ctx, target, index); + return gl::EnableiContextANGLE(ctx, target, index); } void GL_APIENTRY glEnableiEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_EnableiEXTContextANGLE(ctx, target, index); + return gl::EnableiEXTContextANGLE(ctx, target, index); } void GL_APIENTRY glEnableiOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_EnableiOESContextANGLE(ctx, target, index); + return gl::EnableiOESContextANGLE(ctx, target, index); } void GL_APIENTRY glEndQueryContextANGLE(GLeglContext ctx, GLenum target) { - return GL_EndQueryContextANGLE(ctx, target); + return gl::EndQueryContextANGLE(ctx, target); } void GL_APIENTRY glEndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) { - return GL_EndQueryEXTContextANGLE(ctx, target); + return gl::EndQueryEXTContextANGLE(ctx, target); } void GL_APIENTRY glEndTransformFeedbackContextANGLE(GLeglContext ctx) { - return GL_EndTransformFeedbackContextANGLE(ctx); + return gl::EndTransformFeedbackContextANGLE(ctx); } GLsync GL_APIENTRY glFenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) { - return GL_FenceSyncContextANGLE(ctx, condition, flags); + return gl::FenceSyncContextANGLE(ctx, condition, flags); } void GL_APIENTRY glFinishContextANGLE(GLeglContext ctx) { - return GL_FinishContextANGLE(ctx); + return gl::FinishContextANGLE(ctx); } void GL_APIENTRY glFinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { - return GL_FinishFenceNVContextANGLE(ctx, fence); + return gl::FinishFenceNVContextANGLE(ctx, fence); } void GL_APIENTRY glFlushContextANGLE(GLeglContext ctx) { - return GL_FlushContextANGLE(ctx); + return gl::FlushContextANGLE(ctx); } void GL_APIENTRY glFlushMappedBufferRangeContextANGLE(GLeglContext ctx, @@ -6904,7 +6435,7 @@ void GL_APIENTRY glFlushMappedBufferRangeContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr length) { - return GL_FlushMappedBufferRangeContextANGLE(ctx, target, offset, length); + return gl::FlushMappedBufferRangeContextANGLE(ctx, target, offset, length); } void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, @@ -6912,32 +6443,27 @@ void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr length) { - return GL_FlushMappedBufferRangeEXTContextANGLE(ctx, target, offset, length); + return gl::FlushMappedBufferRangeEXTContextANGLE(ctx, target, offset, length); } void GL_APIENTRY glFogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_FogfContextANGLE(ctx, pname, param); + return gl::FogfContextANGLE(ctx, pname, param); } void GL_APIENTRY glFogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_FogfvContextANGLE(ctx, pname, params); + return gl::FogfvContextANGLE(ctx, pname, params); } void GL_APIENTRY glFogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { - return GL_FogxContextANGLE(ctx, pname, param); + return gl::FogxContextANGLE(ctx, pname, param); } void GL_APIENTRY glFogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) { - return GL_FogxvContextANGLE(ctx, pname, param); -} - -void GL_APIENTRY glFramebufferFetchBarrierEXTContextANGLE(GLeglContext ctx) -{ - return GL_FramebufferFetchBarrierEXTContextANGLE(ctx); + return gl::FogxvContextANGLE(ctx, pname, param); } void GL_APIENTRY glFramebufferParameteriContextANGLE(GLeglContext ctx, @@ -6945,7 +6471,7 @@ void GL_APIENTRY glFramebufferParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint param) { - return GL_FramebufferParameteriContextANGLE(ctx, target, pname, param); + return gl::FramebufferParameteriContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glFramebufferRenderbufferContextANGLE(GLeglContext ctx, @@ -6954,8 +6480,8 @@ void GL_APIENTRY glFramebufferRenderbufferContextANGLE(GLeglContext ctx, GLenum renderbuffertarget, GLuint renderbuffer) { - return GL_FramebufferRenderbufferContextANGLE(ctx, target, attachment, renderbuffertarget, - renderbuffer); + return gl::FramebufferRenderbufferContextANGLE(ctx, target, attachment, renderbuffertarget, + renderbuffer); } void GL_APIENTRY glFramebufferRenderbufferOESContextANGLE(GLeglContext ctx, @@ -6964,8 +6490,8 @@ void GL_APIENTRY glFramebufferRenderbufferOESContextANGLE(GLeglContext ctx, GLenum renderbuffertarget, GLuint renderbuffer) { - return GL_FramebufferRenderbufferOESContextANGLE(ctx, target, attachment, renderbuffertarget, - renderbuffer); + return gl::FramebufferRenderbufferOESContextANGLE(ctx, target, attachment, renderbuffertarget, + renderbuffer); } void GL_APIENTRY glFramebufferTextureContextANGLE(GLeglContext ctx, @@ -6974,7 +6500,7 @@ void GL_APIENTRY glFramebufferTextureContextANGLE(GLeglContext ctx, GLuint texture, GLint level) { - return GL_FramebufferTextureContextANGLE(ctx, target, attachment, texture, level); + return gl::FramebufferTextureContextANGLE(ctx, target, attachment, texture, level); } void GL_APIENTRY glFramebufferTexture2DContextANGLE(GLeglContext ctx, @@ -6984,7 +6510,7 @@ void GL_APIENTRY glFramebufferTexture2DContextANGLE(GLeglContext ctx, GLuint texture, GLint level) { - return GL_FramebufferTexture2DContextANGLE(ctx, target, attachment, textarget, texture, level); + return gl::FramebufferTexture2DContextANGLE(ctx, target, attachment, textarget, texture, level); } void GL_APIENTRY glFramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext ctx, @@ -6995,8 +6521,8 @@ void GL_APIENTRY glFramebufferTexture2DMultisampleEXTContextANGLE(GLeglContext c GLint level, GLsizei samples) { - return GL_FramebufferTexture2DMultisampleEXTContextANGLE(ctx, target, attachment, textarget, - texture, level, samples); + return gl::FramebufferTexture2DMultisampleEXTContextANGLE(ctx, target, attachment, textarget, + texture, level, samples); } void GL_APIENTRY glFramebufferTexture2DOESContextANGLE(GLeglContext ctx, @@ -7006,8 +6532,8 @@ void GL_APIENTRY glFramebufferTexture2DOESContextANGLE(GLeglContext ctx, GLuint texture, GLint level) { - return GL_FramebufferTexture2DOESContextANGLE(ctx, target, attachment, textarget, texture, - level); + return gl::FramebufferTexture2DOESContextANGLE(ctx, target, attachment, textarget, texture, + level); } void GL_APIENTRY glFramebufferTexture3DOESContextANGLE(GLeglContext ctx, @@ -7018,8 +6544,8 @@ void GL_APIENTRY glFramebufferTexture3DOESContextANGLE(GLeglContext ctx, GLint level, GLint zoffset) { - return GL_FramebufferTexture3DOESContextANGLE(ctx, target, attachment, textarget, texture, - level, zoffset); + return gl::FramebufferTexture3DOESContextANGLE(ctx, target, attachment, textarget, texture, + level, zoffset); } void GL_APIENTRY glFramebufferTextureEXTContextANGLE(GLeglContext ctx, @@ -7028,7 +6554,7 @@ void GL_APIENTRY glFramebufferTextureEXTContextANGLE(GLeglContext ctx, GLuint texture, GLint level) { - return GL_FramebufferTextureEXTContextANGLE(ctx, target, attachment, texture, level); + return gl::FramebufferTextureEXTContextANGLE(ctx, target, attachment, texture, level); } void GL_APIENTRY glFramebufferTextureLayerContextANGLE(GLeglContext ctx, @@ -7038,7 +6564,7 @@ void GL_APIENTRY glFramebufferTextureLayerContextANGLE(GLeglContext ctx, GLint level, GLint layer) { - return GL_FramebufferTextureLayerContextANGLE(ctx, target, attachment, texture, level, layer); + return gl::FramebufferTextureLayerContextANGLE(ctx, target, attachment, texture, level, layer); } void GL_APIENTRY glFramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, @@ -7049,13 +6575,13 @@ void GL_APIENTRY glFramebufferTextureMultiviewOVRContextANGLE(GLeglContext ctx, GLint baseViewIndex, GLsizei numViews) { - return GL_FramebufferTextureMultiviewOVRContextANGLE(ctx, target, attachment, texture, level, - baseViewIndex, numViews); + return gl::FramebufferTextureMultiviewOVRContextANGLE(ctx, target, attachment, texture, level, + baseViewIndex, numViews); } void GL_APIENTRY glFrontFaceContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_FrontFaceContextANGLE(ctx, mode); + return gl::FrontFaceContextANGLE(ctx, mode); } void GL_APIENTRY glFrustumfContextANGLE(GLeglContext ctx, @@ -7066,7 +6592,7 @@ void GL_APIENTRY glFrustumfContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) { - return GL_FrustumfContextANGLE(ctx, l, r, b, t, n, f); + return gl::FrustumfContextANGLE(ctx, l, r, b, t, n, f); } void GL_APIENTRY glFrustumxContextANGLE(GLeglContext ctx, @@ -7077,101 +6603,94 @@ void GL_APIENTRY glFrustumxContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) { - return GL_FrustumxContextANGLE(ctx, l, r, b, t, n, f); + return gl::FrustumxContextANGLE(ctx, l, r, b, t, n, f); } void GL_APIENTRY glGenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) { - return GL_GenBuffersContextANGLE(ctx, n, buffers); + return gl::GenBuffersContextANGLE(ctx, n, buffers); } void GL_APIENTRY glGenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) { - return GL_GenFencesNVContextANGLE(ctx, n, fences); + return gl::GenFencesNVContextANGLE(ctx, n, fences); } void GL_APIENTRY glGenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) { - return GL_GenFramebuffersContextANGLE(ctx, n, framebuffers); + return gl::GenFramebuffersContextANGLE(ctx, n, framebuffers); } void GL_APIENTRY glGenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) { - return GL_GenFramebuffersOESContextANGLE(ctx, n, framebuffers); + return gl::GenFramebuffersOESContextANGLE(ctx, n, framebuffers); } void GL_APIENTRY glGenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) { - return GL_GenProgramPipelinesContextANGLE(ctx, n, pipelines); -} - -void GL_APIENTRY glGenProgramPipelinesEXTContextANGLE(GLeglContext ctx, - GLsizei n, - GLuint *pipelines) -{ - return GL_GenProgramPipelinesEXTContextANGLE(ctx, n, pipelines); + return gl::GenProgramPipelinesContextANGLE(ctx, n, pipelines); } void GL_APIENTRY glGenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { - return GL_GenQueriesContextANGLE(ctx, n, ids); + return gl::GenQueriesContextANGLE(ctx, n, ids); } void GL_APIENTRY glGenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { - return GL_GenQueriesEXTContextANGLE(ctx, n, ids); + return gl::GenQueriesEXTContextANGLE(ctx, n, ids); } void GL_APIENTRY glGenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) { - return GL_GenRenderbuffersContextANGLE(ctx, n, renderbuffers); + return gl::GenRenderbuffersContextANGLE(ctx, n, renderbuffers); } void GL_APIENTRY glGenRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) { - return GL_GenRenderbuffersOESContextANGLE(ctx, n, renderbuffers); + return gl::GenRenderbuffersOESContextANGLE(ctx, n, renderbuffers); } void GL_APIENTRY glGenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) { - return GL_GenSamplersContextANGLE(ctx, count, samplers); + return gl::GenSamplersContextANGLE(ctx, count, samplers); } void GL_APIENTRY glGenSemaphoresEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *semaphores) { - return GL_GenSemaphoresEXTContextANGLE(ctx, n, semaphores); + return gl::GenSemaphoresEXTContextANGLE(ctx, n, semaphores); } void GL_APIENTRY glGenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) { - return GL_GenTexturesContextANGLE(ctx, n, textures); + return gl::GenTexturesContextANGLE(ctx, n, textures); } void GL_APIENTRY glGenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) { - return GL_GenTransformFeedbacksContextANGLE(ctx, n, ids); + return gl::GenTransformFeedbacksContextANGLE(ctx, n, ids); } void GL_APIENTRY glGenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) { - return GL_GenVertexArraysContextANGLE(ctx, n, arrays); + return gl::GenVertexArraysContextANGLE(ctx, n, arrays); } void GL_APIENTRY glGenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) { - return GL_GenVertexArraysOESContextANGLE(ctx, n, arrays); + return gl::GenVertexArraysOESContextANGLE(ctx, n, arrays); } void GL_APIENTRY glGenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) { - return GL_GenerateMipmapContextANGLE(ctx, target); + return gl::GenerateMipmapContextANGLE(ctx, target); } void GL_APIENTRY glGenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) { - return GL_GenerateMipmapOESContextANGLE(ctx, target); + return gl::GenerateMipmapOESContextANGLE(ctx, target); } void GL_APIENTRY glGetActiveAttribContextANGLE(GLeglContext ctx, @@ -7183,7 +6702,7 @@ void GL_APIENTRY glGetActiveAttribContextANGLE(GLeglContext ctx, GLenum *type, GLchar *name) { - return GL_GetActiveAttribContextANGLE(ctx, program, index, bufSize, length, size, type, name); + return gl::GetActiveAttribContextANGLE(ctx, program, index, bufSize, length, size, type, name); } void GL_APIENTRY glGetActiveUniformContextANGLE(GLeglContext ctx, @@ -7195,7 +6714,7 @@ void GL_APIENTRY glGetActiveUniformContextANGLE(GLeglContext ctx, GLenum *type, GLchar *name) { - return GL_GetActiveUniformContextANGLE(ctx, program, index, bufSize, length, size, type, name); + return gl::GetActiveUniformContextANGLE(ctx, program, index, bufSize, length, size, type, name); } void GL_APIENTRY glGetActiveUniformBlockNameContextANGLE(GLeglContext ctx, @@ -7205,8 +6724,8 @@ void GL_APIENTRY glGetActiveUniformBlockNameContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *uniformBlockName) { - return GL_GetActiveUniformBlockNameContextANGLE(ctx, program, uniformBlockIndex, bufSize, - length, uniformBlockName); + return gl::GetActiveUniformBlockNameContextANGLE(ctx, program, uniformBlockIndex, bufSize, + length, uniformBlockName); } void GL_APIENTRY glGetActiveUniformBlockivContextANGLE(GLeglContext ctx, @@ -7215,7 +6734,7 @@ void GL_APIENTRY glGetActiveUniformBlockivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetActiveUniformBlockivContextANGLE(ctx, program, uniformBlockIndex, pname, params); + return gl::GetActiveUniformBlockivContextANGLE(ctx, program, uniformBlockIndex, pname, params); } void GL_APIENTRY glGetActiveUniformsivContextANGLE(GLeglContext ctx, @@ -7225,8 +6744,8 @@ void GL_APIENTRY glGetActiveUniformsivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetActiveUniformsivContextANGLE(ctx, program, uniformCount, uniformIndices, pname, - params); + return gl::GetActiveUniformsivContextANGLE(ctx, program, uniformCount, uniformIndices, pname, + params); } void GL_APIENTRY glGetAttachedShadersContextANGLE(GLeglContext ctx, @@ -7235,14 +6754,14 @@ void GL_APIENTRY glGetAttachedShadersContextANGLE(GLeglContext ctx, GLsizei *count, GLuint *shaders) { - return GL_GetAttachedShadersContextANGLE(ctx, program, maxCount, count, shaders); + return gl::GetAttachedShadersContextANGLE(ctx, program, maxCount, count, shaders); } GLint GL_APIENTRY glGetAttribLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name) { - return GL_GetAttribLocationContextANGLE(ctx, program, name); + return gl::GetAttribLocationContextANGLE(ctx, program, name); } void GL_APIENTRY glGetBooleani_vContextANGLE(GLeglContext ctx, @@ -7250,12 +6769,12 @@ void GL_APIENTRY glGetBooleani_vContextANGLE(GLeglContext ctx, GLuint index, GLboolean *data) { - return GL_GetBooleani_vContextANGLE(ctx, target, index, data); + return gl::GetBooleani_vContextANGLE(ctx, target, index, data); } void GL_APIENTRY glGetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) { - return GL_GetBooleanvContextANGLE(ctx, pname, data); + return gl::GetBooleanvContextANGLE(ctx, pname, data); } void GL_APIENTRY glGetBufferParameteri64vContextANGLE(GLeglContext ctx, @@ -7263,7 +6782,7 @@ void GL_APIENTRY glGetBufferParameteri64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *params) { - return GL_GetBufferParameteri64vContextANGLE(ctx, target, pname, params); + return gl::GetBufferParameteri64vContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetBufferParameterivContextANGLE(GLeglContext ctx, @@ -7271,7 +6790,7 @@ void GL_APIENTRY glGetBufferParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetBufferParameterivContextANGLE(ctx, target, pname, params); + return gl::GetBufferParameterivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetBufferPointervContextANGLE(GLeglContext ctx, @@ -7279,7 +6798,7 @@ void GL_APIENTRY glGetBufferPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) { - return GL_GetBufferPointervContextANGLE(ctx, target, pname, params); + return gl::GetBufferPointervContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetBufferPointervOESContextANGLE(GLeglContext ctx, @@ -7287,17 +6806,17 @@ void GL_APIENTRY glGetBufferPointervOESContextANGLE(GLeglContext ctx, GLenum pname, void **params) { - return GL_GetBufferPointervOESContextANGLE(ctx, target, pname, params); + return gl::GetBufferPointervOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) { - return GL_GetClipPlanefContextANGLE(ctx, plane, equation); + return gl::GetClipPlanefContextANGLE(ctx, plane, equation); } void GL_APIENTRY glGetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) { - return GL_GetClipPlanexContextANGLE(ctx, plane, equation); + return gl::GetClipPlanexContextANGLE(ctx, plane, equation); } GLuint GL_APIENTRY glGetDebugMessageLogContextANGLE(GLeglContext ctx, @@ -7310,8 +6829,8 @@ GLuint GL_APIENTRY glGetDebugMessageLogContextANGLE(GLeglContext ctx, GLsizei *lengths, GLchar *messageLog) { - return GL_GetDebugMessageLogContextANGLE(ctx, count, bufSize, sources, types, ids, severities, - lengths, messageLog); + return gl::GetDebugMessageLogContextANGLE(ctx, count, bufSize, sources, types, ids, severities, + lengths, messageLog); } GLuint GL_APIENTRY glGetDebugMessageLogKHRContextANGLE(GLeglContext ctx, @@ -7324,13 +6843,13 @@ GLuint GL_APIENTRY glGetDebugMessageLogKHRContextANGLE(GLeglContext ctx, GLsizei *lengths, GLchar *messageLog) { - return GL_GetDebugMessageLogKHRContextANGLE(ctx, count, bufSize, sources, types, ids, - severities, lengths, messageLog); + return gl::GetDebugMessageLogKHRContextANGLE(ctx, count, bufSize, sources, types, ids, + severities, lengths, messageLog); } GLenum GL_APIENTRY glGetErrorContextANGLE(GLeglContext ctx) { - return GL_GetErrorContextANGLE(ctx); + return gl::GetErrorContextANGLE(ctx); } void GL_APIENTRY glGetFenceivNVContextANGLE(GLeglContext ctx, @@ -7338,31 +6857,31 @@ void GL_APIENTRY glGetFenceivNVContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetFenceivNVContextANGLE(ctx, fence, pname, params); + return gl::GetFenceivNVContextANGLE(ctx, fence, pname, params); } void GL_APIENTRY glGetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetFixedvContextANGLE(ctx, pname, params); + return gl::GetFixedvContextANGLE(ctx, pname, params); } void GL_APIENTRY glGetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) { - return GL_GetFloatvContextANGLE(ctx, pname, data); + return gl::GetFloatvContextANGLE(ctx, pname, data); } GLint GL_APIENTRY glGetFragDataIndexEXTContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name) { - return GL_GetFragDataIndexEXTContextANGLE(ctx, program, name); + return gl::GetFragDataIndexEXTContextANGLE(ctx, program, name); } GLint GL_APIENTRY glGetFragDataLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name) { - return GL_GetFragDataLocationContextANGLE(ctx, program, name); + return gl::GetFragDataLocationContextANGLE(ctx, program, name); } void GL_APIENTRY glGetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, @@ -7371,8 +6890,8 @@ void GL_APIENTRY glGetFramebufferAttachmentParameterivContextANGLE(GLeglContext GLenum pname, GLint *params) { - return GL_GetFramebufferAttachmentParameterivContextANGLE(ctx, target, attachment, pname, - params); + return gl::GetFramebufferAttachmentParameterivContextANGLE(ctx, target, attachment, pname, + params); } void GL_APIENTRY glGetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, @@ -7381,8 +6900,8 @@ void GL_APIENTRY glGetFramebufferAttachmentParameterivOESContextANGLE(GLeglConte GLenum pname, GLint *params) { - return GL_GetFramebufferAttachmentParameterivOESContextANGLE(ctx, target, attachment, pname, - params); + return gl::GetFramebufferAttachmentParameterivOESContextANGLE(ctx, target, attachment, pname, + params); } void GL_APIENTRY glGetFramebufferParameterivContextANGLE(GLeglContext ctx, @@ -7390,17 +6909,17 @@ void GL_APIENTRY glGetFramebufferParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetFramebufferParameterivContextANGLE(ctx, target, pname, params); + return gl::GetFramebufferParameterivContextANGLE(ctx, target, pname, params); } GLenum GL_APIENTRY glGetGraphicsResetStatusContextANGLE(GLeglContext ctx) { - return GL_GetGraphicsResetStatusContextANGLE(ctx); + return gl::GetGraphicsResetStatusContextANGLE(ctx); } GLenum GL_APIENTRY glGetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) { - return GL_GetGraphicsResetStatusEXTContextANGLE(ctx); + return gl::GetGraphicsResetStatusEXTContextANGLE(ctx); } void GL_APIENTRY glGetInteger64i_vContextANGLE(GLeglContext ctx, @@ -7408,17 +6927,17 @@ void GL_APIENTRY glGetInteger64i_vContextANGLE(GLeglContext ctx, GLuint index, GLint64 *data) { - return GL_GetInteger64i_vContextANGLE(ctx, target, index, data); + return gl::GetInteger64i_vContextANGLE(ctx, target, index, data); } void GL_APIENTRY glGetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) { - return GL_GetInteger64vContextANGLE(ctx, pname, data); + return gl::GetInteger64vContextANGLE(ctx, pname, data); } void GL_APIENTRY glGetInteger64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) { - return GL_GetInteger64vEXTContextANGLE(ctx, pname, data); + return gl::GetInteger64vEXTContextANGLE(ctx, pname, data); } void GL_APIENTRY glGetIntegeri_vContextANGLE(GLeglContext ctx, @@ -7426,12 +6945,12 @@ void GL_APIENTRY glGetIntegeri_vContextANGLE(GLeglContext ctx, GLuint index, GLint *data) { - return GL_GetIntegeri_vContextANGLE(ctx, target, index, data); + return gl::GetIntegeri_vContextANGLE(ctx, target, index, data); } void GL_APIENTRY glGetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) { - return GL_GetIntegervContextANGLE(ctx, pname, data); + return gl::GetIntegervContextANGLE(ctx, pname, data); } void GL_APIENTRY glGetInternalformativContextANGLE(GLeglContext ctx, @@ -7441,7 +6960,7 @@ void GL_APIENTRY glGetInternalformativContextANGLE(GLeglContext ctx, GLsizei bufSize, GLint *params) { - return GL_GetInternalformativContextANGLE(ctx, target, internalformat, pname, bufSize, params); + return gl::GetInternalformativContextANGLE(ctx, target, internalformat, pname, bufSize, params); } void GL_APIENTRY glGetLightfvContextANGLE(GLeglContext ctx, @@ -7449,7 +6968,7 @@ void GL_APIENTRY glGetLightfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetLightfvContextANGLE(ctx, light, pname, params); + return gl::GetLightfvContextANGLE(ctx, light, pname, params); } void GL_APIENTRY glGetLightxvContextANGLE(GLeglContext ctx, @@ -7457,7 +6976,7 @@ void GL_APIENTRY glGetLightxvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetLightxvContextANGLE(ctx, light, pname, params); + return gl::GetLightxvContextANGLE(ctx, light, pname, params); } void GL_APIENTRY glGetMaterialfvContextANGLE(GLeglContext ctx, @@ -7465,7 +6984,7 @@ void GL_APIENTRY glGetMaterialfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetMaterialfvContextANGLE(ctx, face, pname, params); + return gl::GetMaterialfvContextANGLE(ctx, face, pname, params); } void GL_APIENTRY glGetMaterialxvContextANGLE(GLeglContext ctx, @@ -7473,7 +6992,7 @@ void GL_APIENTRY glGetMaterialxvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetMaterialxvContextANGLE(ctx, face, pname, params); + return gl::GetMaterialxvContextANGLE(ctx, face, pname, params); } void GL_APIENTRY glGetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, @@ -7481,7 +7000,7 @@ void GL_APIENTRY glGetMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetMemoryObjectParameterivEXTContextANGLE(ctx, memoryObject, pname, params); + return gl::GetMemoryObjectParameterivEXTContextANGLE(ctx, memoryObject, pname, params); } void GL_APIENTRY glGetMultisamplefvContextANGLE(GLeglContext ctx, @@ -7489,7 +7008,7 @@ void GL_APIENTRY glGetMultisamplefvContextANGLE(GLeglContext ctx, GLuint index, GLfloat *val) { - return GL_GetMultisamplefvContextANGLE(ctx, pname, index, val); + return gl::GetMultisamplefvContextANGLE(ctx, pname, index, val); } void GL_APIENTRY glGetObjectLabelContextANGLE(GLeglContext ctx, @@ -7499,17 +7018,7 @@ void GL_APIENTRY glGetObjectLabelContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *label) { - return GL_GetObjectLabelContextANGLE(ctx, identifier, name, bufSize, length, label); -} - -void GL_APIENTRY glGetObjectLabelEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei bufSize, - GLsizei *length, - GLchar *label) -{ - return GL_GetObjectLabelEXTContextANGLE(ctx, type, object, bufSize, length, label); + return gl::GetObjectLabelContextANGLE(ctx, identifier, name, bufSize, length, label); } void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, @@ -7519,7 +7028,7 @@ void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *label) { - return GL_GetObjectLabelKHRContextANGLE(ctx, identifier, name, bufSize, length, label); + return gl::GetObjectLabelKHRContextANGLE(ctx, identifier, name, bufSize, length, label); } void GL_APIENTRY glGetObjectPtrLabelContextANGLE(GLeglContext ctx, @@ -7528,7 +7037,7 @@ void GL_APIENTRY glGetObjectPtrLabelContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *label) { - return GL_GetObjectPtrLabelContextANGLE(ctx, ptr, bufSize, length, label); + return gl::GetObjectPtrLabelContextANGLE(ctx, ptr, bufSize, length, label); } void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, @@ -7537,17 +7046,17 @@ void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *label) { - return GL_GetObjectPtrLabelKHRContextANGLE(ctx, ptr, bufSize, length, label); + return gl::GetObjectPtrLabelKHRContextANGLE(ctx, ptr, bufSize, length, label); } void GL_APIENTRY glGetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) { - return GL_GetPointervContextANGLE(ctx, pname, params); + return gl::GetPointervContextANGLE(ctx, pname, params); } void GL_APIENTRY glGetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) { - return GL_GetPointervKHRContextANGLE(ctx, pname, params); + return gl::GetPointervKHRContextANGLE(ctx, pname, params); } void GL_APIENTRY glGetProgramBinaryContextANGLE(GLeglContext ctx, @@ -7557,7 +7066,7 @@ void GL_APIENTRY glGetProgramBinaryContextANGLE(GLeglContext ctx, GLenum *binaryFormat, void *binary) { - return GL_GetProgramBinaryContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); + return gl::GetProgramBinaryContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); } void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, @@ -7567,7 +7076,7 @@ void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, GLenum *binaryFormat, void *binary) { - return GL_GetProgramBinaryOESContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); + return gl::GetProgramBinaryOESContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); } void GL_APIENTRY glGetProgramInfoLogContextANGLE(GLeglContext ctx, @@ -7576,7 +7085,7 @@ void GL_APIENTRY glGetProgramInfoLogContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *infoLog) { - return GL_GetProgramInfoLogContextANGLE(ctx, program, bufSize, length, infoLog); + return gl::GetProgramInfoLogContextANGLE(ctx, program, bufSize, length, infoLog); } void GL_APIENTRY glGetProgramInterfaceivContextANGLE(GLeglContext ctx, @@ -7585,7 +7094,7 @@ void GL_APIENTRY glGetProgramInterfaceivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetProgramInterfaceivContextANGLE(ctx, program, programInterface, pname, params); + return gl::GetProgramInterfaceivContextANGLE(ctx, program, programInterface, pname, params); } void GL_APIENTRY glGetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, @@ -7594,16 +7103,7 @@ void GL_APIENTRY glGetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *infoLog) { - return GL_GetProgramPipelineInfoLogContextANGLE(ctx, pipeline, bufSize, length, infoLog); -} - -void GL_APIENTRY glGetProgramPipelineInfoLogEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLsizei bufSize, - GLsizei *length, - GLchar *infoLog) -{ - return GL_GetProgramPipelineInfoLogEXTContextANGLE(ctx, pipeline, bufSize, length, infoLog); + return gl::GetProgramPipelineInfoLogContextANGLE(ctx, pipeline, bufSize, length, infoLog); } void GL_APIENTRY glGetProgramPipelineivContextANGLE(GLeglContext ctx, @@ -7611,15 +7111,7 @@ void GL_APIENTRY glGetProgramPipelineivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetProgramPipelineivContextANGLE(ctx, pipeline, pname, params); -} - -void GL_APIENTRY glGetProgramPipelineivEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLenum pname, - GLint *params) -{ - return GL_GetProgramPipelineivEXTContextANGLE(ctx, pipeline, pname, params); + return gl::GetProgramPipelineivContextANGLE(ctx, pipeline, pname, params); } GLuint GL_APIENTRY glGetProgramResourceIndexContextANGLE(GLeglContext ctx, @@ -7627,7 +7119,7 @@ GLuint GL_APIENTRY glGetProgramResourceIndexContextANGLE(GLeglContext ctx, GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceIndexContextANGLE(ctx, program, programInterface, name); + return gl::GetProgramResourceIndexContextANGLE(ctx, program, programInterface, name); } GLint GL_APIENTRY glGetProgramResourceLocationContextANGLE(GLeglContext ctx, @@ -7635,7 +7127,7 @@ GLint GL_APIENTRY glGetProgramResourceLocationContextANGLE(GLeglContext ctx, GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceLocationContextANGLE(ctx, program, programInterface, name); + return gl::GetProgramResourceLocationContextANGLE(ctx, program, programInterface, name); } GLint GL_APIENTRY glGetProgramResourceLocationIndexEXTContextANGLE(GLeglContext ctx, @@ -7643,7 +7135,7 @@ GLint GL_APIENTRY glGetProgramResourceLocationIndexEXTContextANGLE(GLeglContext GLenum programInterface, const GLchar *name) { - return GL_GetProgramResourceLocationIndexEXTContextANGLE(ctx, program, programInterface, name); + return gl::GetProgramResourceLocationIndexEXTContextANGLE(ctx, program, programInterface, name); } void GL_APIENTRY glGetProgramResourceNameContextANGLE(GLeglContext ctx, @@ -7654,8 +7146,8 @@ void GL_APIENTRY glGetProgramResourceNameContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *name) { - return GL_GetProgramResourceNameContextANGLE(ctx, program, programInterface, index, bufSize, - length, name); + return gl::GetProgramResourceNameContextANGLE(ctx, program, programInterface, index, bufSize, + length, name); } void GL_APIENTRY glGetProgramResourceivContextANGLE(GLeglContext ctx, @@ -7668,8 +7160,8 @@ void GL_APIENTRY glGetProgramResourceivContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetProgramResourceivContextANGLE(ctx, program, programInterface, index, propCount, - props, bufSize, length, params); + return gl::GetProgramResourceivContextANGLE(ctx, program, programInterface, index, propCount, + props, bufSize, length, params); } void GL_APIENTRY glGetProgramivContextANGLE(GLeglContext ctx, @@ -7677,7 +7169,7 @@ void GL_APIENTRY glGetProgramivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetProgramivContextANGLE(ctx, program, pname, params); + return gl::GetProgramivContextANGLE(ctx, program, pname, params); } void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, @@ -7685,7 +7177,7 @@ void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *params) { - return GL_GetQueryObjecti64vEXTContextANGLE(ctx, id, pname, params); + return gl::GetQueryObjecti64vEXTContextANGLE(ctx, id, pname, params); } void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, @@ -7693,7 +7185,7 @@ void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetQueryObjectivEXTContextANGLE(ctx, id, pname, params); + return gl::GetQueryObjectivEXTContextANGLE(ctx, id, pname, params); } void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, @@ -7701,7 +7193,7 @@ void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLuint64 *params) { - return GL_GetQueryObjectui64vEXTContextANGLE(ctx, id, pname, params); + return gl::GetQueryObjectui64vEXTContextANGLE(ctx, id, pname, params); } void GL_APIENTRY glGetQueryObjectuivContextANGLE(GLeglContext ctx, @@ -7709,7 +7201,7 @@ void GL_APIENTRY glGetQueryObjectuivContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetQueryObjectuivContextANGLE(ctx, id, pname, params); + return gl::GetQueryObjectuivContextANGLE(ctx, id, pname, params); } void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, @@ -7717,7 +7209,7 @@ void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetQueryObjectuivEXTContextANGLE(ctx, id, pname, params); + return gl::GetQueryObjectuivEXTContextANGLE(ctx, id, pname, params); } void GL_APIENTRY glGetQueryivContextANGLE(GLeglContext ctx, @@ -7725,7 +7217,7 @@ void GL_APIENTRY glGetQueryivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetQueryivContextANGLE(ctx, target, pname, params); + return gl::GetQueryivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, @@ -7733,7 +7225,7 @@ void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetQueryivEXTContextANGLE(ctx, target, pname, params); + return gl::GetQueryivEXTContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetRenderbufferParameterivContextANGLE(GLeglContext ctx, @@ -7741,7 +7233,7 @@ void GL_APIENTRY glGetRenderbufferParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetRenderbufferParameterivContextANGLE(ctx, target, pname, params); + return gl::GetRenderbufferParameterivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, @@ -7749,7 +7241,7 @@ void GL_APIENTRY glGetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetRenderbufferParameterivOESContextANGLE(ctx, target, pname, params); + return gl::GetRenderbufferParameterivOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetSamplerParameterIivContextANGLE(GLeglContext ctx, @@ -7757,15 +7249,7 @@ void GL_APIENTRY glGetSamplerParameterIivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetSamplerParameterIivContextANGLE(ctx, sampler, pname, params); -} - -void GL_APIENTRY glGetSamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLint *params) -{ - return GL_GetSamplerParameterIivEXTContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterIivContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterIivOESContextANGLE(GLeglContext ctx, @@ -7773,7 +7257,7 @@ void GL_APIENTRY glGetSamplerParameterIivOESContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetSamplerParameterIivOESContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterIivOESContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterIuivContextANGLE(GLeglContext ctx, @@ -7781,15 +7265,7 @@ void GL_APIENTRY glGetSamplerParameterIuivContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetSamplerParameterIuivContextANGLE(ctx, sampler, pname, params); -} - -void GL_APIENTRY glGetSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - GLuint *params) -{ - return GL_GetSamplerParameterIuivEXTContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterIuivContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, @@ -7797,7 +7273,7 @@ void GL_APIENTRY glGetSamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetSamplerParameterIuivOESContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterIuivOESContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterfvContextANGLE(GLeglContext ctx, @@ -7805,7 +7281,7 @@ void GL_APIENTRY glGetSamplerParameterfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetSamplerParameterfvContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterfvContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSamplerParameterivContextANGLE(GLeglContext ctx, @@ -7813,7 +7289,7 @@ void GL_APIENTRY glGetSamplerParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetSamplerParameterivContextANGLE(ctx, sampler, pname, params); + return gl::GetSamplerParameterivContextANGLE(ctx, sampler, pname, params); } void GL_APIENTRY glGetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, @@ -7821,7 +7297,7 @@ void GL_APIENTRY glGetSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, GLenum pname, GLuint64 *params) { - return GL_GetSemaphoreParameterui64vEXTContextANGLE(ctx, semaphore, pname, params); + return gl::GetSemaphoreParameterui64vEXTContextANGLE(ctx, semaphore, pname, params); } void GL_APIENTRY glGetShaderInfoLogContextANGLE(GLeglContext ctx, @@ -7830,7 +7306,7 @@ void GL_APIENTRY glGetShaderInfoLogContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *infoLog) { - return GL_GetShaderInfoLogContextANGLE(ctx, shader, bufSize, length, infoLog); + return gl::GetShaderInfoLogContextANGLE(ctx, shader, bufSize, length, infoLog); } void GL_APIENTRY glGetShaderPrecisionFormatContextANGLE(GLeglContext ctx, @@ -7839,8 +7315,8 @@ void GL_APIENTRY glGetShaderPrecisionFormatContextANGLE(GLeglContext ctx, GLint *range, GLint *precision) { - return GL_GetShaderPrecisionFormatContextANGLE(ctx, shadertype, precisiontype, range, - precision); + return gl::GetShaderPrecisionFormatContextANGLE(ctx, shadertype, precisiontype, range, + precision); } void GL_APIENTRY glGetShaderSourceContextANGLE(GLeglContext ctx, @@ -7849,7 +7325,7 @@ void GL_APIENTRY glGetShaderSourceContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *source) { - return GL_GetShaderSourceContextANGLE(ctx, shader, bufSize, length, source); + return gl::GetShaderSourceContextANGLE(ctx, shader, bufSize, length, source); } void GL_APIENTRY glGetShaderivContextANGLE(GLeglContext ctx, @@ -7857,17 +7333,17 @@ void GL_APIENTRY glGetShaderivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetShaderivContextANGLE(ctx, shader, pname, params); + return gl::GetShaderivContextANGLE(ctx, shader, pname, params); } const GLubyte *GL_APIENTRY glGetStringContextANGLE(GLeglContext ctx, GLenum name) { - return GL_GetStringContextANGLE(ctx, name); + return gl::GetStringContextANGLE(ctx, name); } const GLubyte *GL_APIENTRY glGetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) { - return GL_GetStringiContextANGLE(ctx, name, index); + return gl::GetStringiContextANGLE(ctx, name, index); } void GL_APIENTRY glGetSyncivContextANGLE(GLeglContext ctx, @@ -7877,7 +7353,7 @@ void GL_APIENTRY glGetSyncivContextANGLE(GLeglContext ctx, GLsizei *length, GLint *values) { - return GL_GetSyncivContextANGLE(ctx, sync, pname, bufSize, length, values); + return gl::GetSyncivContextANGLE(ctx, sync, pname, bufSize, length, values); } void GL_APIENTRY glGetTexEnvfvContextANGLE(GLeglContext ctx, @@ -7885,7 +7361,7 @@ void GL_APIENTRY glGetTexEnvfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetTexEnvfvContextANGLE(ctx, target, pname, params); + return gl::GetTexEnvfvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexEnvivContextANGLE(GLeglContext ctx, @@ -7893,7 +7369,7 @@ void GL_APIENTRY glGetTexEnvivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexEnvivContextANGLE(ctx, target, pname, params); + return gl::GetTexEnvivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexEnvxvContextANGLE(GLeglContext ctx, @@ -7901,7 +7377,7 @@ void GL_APIENTRY glGetTexEnvxvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetTexEnvxvContextANGLE(ctx, target, pname, params); + return gl::GetTexEnvxvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexGenfvOESContextANGLE(GLeglContext ctx, @@ -7909,7 +7385,7 @@ void GL_APIENTRY glGetTexGenfvOESContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetTexGenfvOESContextANGLE(ctx, coord, pname, params); + return gl::GetTexGenfvOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glGetTexGenivOESContextANGLE(GLeglContext ctx, @@ -7917,7 +7393,7 @@ void GL_APIENTRY glGetTexGenivOESContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexGenivOESContextANGLE(ctx, coord, pname, params); + return gl::GetTexGenivOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glGetTexGenxvOESContextANGLE(GLeglContext ctx, @@ -7925,7 +7401,7 @@ void GL_APIENTRY glGetTexGenxvOESContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetTexGenxvOESContextANGLE(ctx, coord, pname, params); + return gl::GetTexGenxvOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glGetTexLevelParameterfvContextANGLE(GLeglContext ctx, @@ -7934,7 +7410,7 @@ void GL_APIENTRY glGetTexLevelParameterfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetTexLevelParameterfvContextANGLE(ctx, target, level, pname, params); + return gl::GetTexLevelParameterfvContextANGLE(ctx, target, level, pname, params); } void GL_APIENTRY glGetTexLevelParameterivContextANGLE(GLeglContext ctx, @@ -7943,7 +7419,7 @@ void GL_APIENTRY glGetTexLevelParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexLevelParameterivContextANGLE(ctx, target, level, pname, params); + return gl::GetTexLevelParameterivContextANGLE(ctx, target, level, pname, params); } void GL_APIENTRY glGetTexParameterIivContextANGLE(GLeglContext ctx, @@ -7951,15 +7427,7 @@ void GL_APIENTRY glGetTexParameterIivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexParameterIivContextANGLE(ctx, target, pname, params); -} - -void GL_APIENTRY glGetTexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLint *params) -{ - return GL_GetTexParameterIivEXTContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterIivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterIivOESContextANGLE(GLeglContext ctx, @@ -7967,7 +7435,7 @@ void GL_APIENTRY glGetTexParameterIivOESContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexParameterIivOESContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterIivOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterIuivContextANGLE(GLeglContext ctx, @@ -7975,15 +7443,7 @@ void GL_APIENTRY glGetTexParameterIuivContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetTexParameterIuivContextANGLE(ctx, target, pname, params); -} - -void GL_APIENTRY glGetTexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - GLuint *params) -{ - return GL_GetTexParameterIuivEXTContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterIuivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterIuivOESContextANGLE(GLeglContext ctx, @@ -7991,7 +7451,7 @@ void GL_APIENTRY glGetTexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetTexParameterIuivOESContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterIuivOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterfvContextANGLE(GLeglContext ctx, @@ -7999,7 +7459,7 @@ void GL_APIENTRY glGetTexParameterfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetTexParameterfvContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterfvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterivContextANGLE(GLeglContext ctx, @@ -8007,7 +7467,7 @@ void GL_APIENTRY glGetTexParameterivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexParameterivContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTexParameterxvContextANGLE(GLeglContext ctx, @@ -8015,7 +7475,7 @@ void GL_APIENTRY glGetTexParameterxvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) { - return GL_GetTexParameterxvContextANGLE(ctx, target, pname, params); + return gl::GetTexParameterxvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glGetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, @@ -8027,8 +7487,8 @@ void GL_APIENTRY glGetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, GLenum *type, GLchar *name) { - return GL_GetTransformFeedbackVaryingContextANGLE(ctx, program, index, bufSize, length, size, - type, name); + return gl::GetTransformFeedbackVaryingContextANGLE(ctx, program, index, bufSize, length, size, + type, name); } void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, @@ -8037,14 +7497,14 @@ void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLchar *source) { - return GL_GetTranslatedShaderSourceANGLEContextANGLE(ctx, shader, bufsize, length, source); + return gl::GetTranslatedShaderSourceANGLEContextANGLE(ctx, shader, bufsize, length, source); } GLuint GL_APIENTRY glGetUniformBlockIndexContextANGLE(GLeglContext ctx, GLuint program, const GLchar *uniformBlockName) { - return GL_GetUniformBlockIndexContextANGLE(ctx, program, uniformBlockName); + return gl::GetUniformBlockIndexContextANGLE(ctx, program, uniformBlockName); } void GL_APIENTRY glGetUniformIndicesContextANGLE(GLeglContext ctx, @@ -8053,15 +7513,15 @@ void GL_APIENTRY glGetUniformIndicesContextANGLE(GLeglContext ctx, const GLchar *const *uniformNames, GLuint *uniformIndices) { - return GL_GetUniformIndicesContextANGLE(ctx, program, uniformCount, uniformNames, - uniformIndices); + return gl::GetUniformIndicesContextANGLE(ctx, program, uniformCount, uniformNames, + uniformIndices); } GLint GL_APIENTRY glGetUniformLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name) { - return GL_GetUniformLocationContextANGLE(ctx, program, name); + return gl::GetUniformLocationContextANGLE(ctx, program, name); } void GL_APIENTRY glGetUniformfvContextANGLE(GLeglContext ctx, @@ -8069,7 +7529,7 @@ void GL_APIENTRY glGetUniformfvContextANGLE(GLeglContext ctx, GLint location, GLfloat *params) { - return GL_GetUniformfvContextANGLE(ctx, program, location, params); + return gl::GetUniformfvContextANGLE(ctx, program, location, params); } void GL_APIENTRY glGetUniformivContextANGLE(GLeglContext ctx, @@ -8077,7 +7537,7 @@ void GL_APIENTRY glGetUniformivContextANGLE(GLeglContext ctx, GLint location, GLint *params) { - return GL_GetUniformivContextANGLE(ctx, program, location, params); + return gl::GetUniformivContextANGLE(ctx, program, location, params); } void GL_APIENTRY glGetUniformuivContextANGLE(GLeglContext ctx, @@ -8085,12 +7545,12 @@ void GL_APIENTRY glGetUniformuivContextANGLE(GLeglContext ctx, GLint location, GLuint *params) { - return GL_GetUniformuivContextANGLE(ctx, program, location, params); + return gl::GetUniformuivContextANGLE(ctx, program, location, params); } void GL_APIENTRY glGetUnsignedBytevEXTContextANGLE(GLeglContext ctx, GLenum pname, GLubyte *data) { - return GL_GetUnsignedBytevEXTContextANGLE(ctx, pname, data); + return gl::GetUnsignedBytevEXTContextANGLE(ctx, pname, data); } void GL_APIENTRY glGetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, @@ -8098,7 +7558,7 @@ void GL_APIENTRY glGetUnsignedBytei_vEXTContextANGLE(GLeglContext ctx, GLuint index, GLubyte *data) { - return GL_GetUnsignedBytei_vEXTContextANGLE(ctx, target, index, data); + return gl::GetUnsignedBytei_vEXTContextANGLE(ctx, target, index, data); } void GL_APIENTRY glGetVertexAttribIivContextANGLE(GLeglContext ctx, @@ -8106,7 +7566,7 @@ void GL_APIENTRY glGetVertexAttribIivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetVertexAttribIivContextANGLE(ctx, index, pname, params); + return gl::GetVertexAttribIivContextANGLE(ctx, index, pname, params); } void GL_APIENTRY glGetVertexAttribIuivContextANGLE(GLeglContext ctx, @@ -8114,7 +7574,7 @@ void GL_APIENTRY glGetVertexAttribIuivContextANGLE(GLeglContext ctx, GLenum pname, GLuint *params) { - return GL_GetVertexAttribIuivContextANGLE(ctx, index, pname, params); + return gl::GetVertexAttribIuivContextANGLE(ctx, index, pname, params); } void GL_APIENTRY glGetVertexAttribPointervContextANGLE(GLeglContext ctx, @@ -8122,7 +7582,7 @@ void GL_APIENTRY glGetVertexAttribPointervContextANGLE(GLeglContext ctx, GLenum pname, void **pointer) { - return GL_GetVertexAttribPointervContextANGLE(ctx, index, pname, pointer); + return gl::GetVertexAttribPointervContextANGLE(ctx, index, pname, pointer); } void GL_APIENTRY glGetVertexAttribfvContextANGLE(GLeglContext ctx, @@ -8130,7 +7590,7 @@ void GL_APIENTRY glGetVertexAttribfvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetVertexAttribfvContextANGLE(ctx, index, pname, params); + return gl::GetVertexAttribfvContextANGLE(ctx, index, pname, params); } void GL_APIENTRY glGetVertexAttribivContextANGLE(GLeglContext ctx, @@ -8138,7 +7598,7 @@ void GL_APIENTRY glGetVertexAttribivContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetVertexAttribivContextANGLE(ctx, index, pname, params); + return gl::GetVertexAttribivContextANGLE(ctx, index, pname, params); } void GL_APIENTRY glGetnUniformfvContextANGLE(GLeglContext ctx, @@ -8147,7 +7607,7 @@ void GL_APIENTRY glGetnUniformfvContextANGLE(GLeglContext ctx, GLsizei bufSize, GLfloat *params) { - return GL_GetnUniformfvContextANGLE(ctx, program, location, bufSize, params); + return gl::GetnUniformfvContextANGLE(ctx, program, location, bufSize, params); } void GL_APIENTRY glGetnUniformfvEXTContextANGLE(GLeglContext ctx, @@ -8156,7 +7616,7 @@ void GL_APIENTRY glGetnUniformfvEXTContextANGLE(GLeglContext ctx, GLsizei bufSize, GLfloat *params) { - return GL_GetnUniformfvEXTContextANGLE(ctx, program, location, bufSize, params); + return gl::GetnUniformfvEXTContextANGLE(ctx, program, location, bufSize, params); } void GL_APIENTRY glGetnUniformivContextANGLE(GLeglContext ctx, @@ -8165,7 +7625,7 @@ void GL_APIENTRY glGetnUniformivContextANGLE(GLeglContext ctx, GLsizei bufSize, GLint *params) { - return GL_GetnUniformivContextANGLE(ctx, program, location, bufSize, params); + return gl::GetnUniformivContextANGLE(ctx, program, location, bufSize, params); } void GL_APIENTRY glGetnUniformivEXTContextANGLE(GLeglContext ctx, @@ -8174,7 +7634,7 @@ void GL_APIENTRY glGetnUniformivEXTContextANGLE(GLeglContext ctx, GLsizei bufSize, GLint *params) { - return GL_GetnUniformivEXTContextANGLE(ctx, program, location, bufSize, params); + return gl::GetnUniformivEXTContextANGLE(ctx, program, location, bufSize, params); } void GL_APIENTRY glGetnUniformuivContextANGLE(GLeglContext ctx, @@ -8183,12 +7643,12 @@ void GL_APIENTRY glGetnUniformuivContextANGLE(GLeglContext ctx, GLsizei bufSize, GLuint *params) { - return GL_GetnUniformuivContextANGLE(ctx, program, location, bufSize, params); + return gl::GetnUniformuivContextANGLE(ctx, program, location, bufSize, params); } void GL_APIENTRY glHintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) { - return GL_HintContextANGLE(ctx, target, mode); + return gl::HintContextANGLE(ctx, target, mode); } void GL_APIENTRY glImportMemoryFdEXTContextANGLE(GLeglContext ctx, @@ -8197,7 +7657,7 @@ void GL_APIENTRY glImportMemoryFdEXTContextANGLE(GLeglContext ctx, GLenum handleType, GLint fd) { - return GL_ImportMemoryFdEXTContextANGLE(ctx, memory, size, handleType, fd); + return gl::ImportMemoryFdEXTContextANGLE(ctx, memory, size, handleType, fd); } void GL_APIENTRY glImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, @@ -8205,14 +7665,14 @@ void GL_APIENTRY glImportSemaphoreFdEXTContextANGLE(GLeglContext ctx, GLenum handleType, GLint fd) { - return GL_ImportSemaphoreFdEXTContextANGLE(ctx, semaphore, handleType, fd); + return gl::ImportSemaphoreFdEXTContextANGLE(ctx, semaphore, handleType, fd); } void GL_APIENTRY glInsertEventMarkerEXTContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *marker) { - return GL_InsertEventMarkerEXTContextANGLE(ctx, length, marker); + return gl::InsertEventMarkerEXTContextANGLE(ctx, length, marker); } void GL_APIENTRY glInvalidateFramebufferContextANGLE(GLeglContext ctx, @@ -8220,7 +7680,7 @@ void GL_APIENTRY glInvalidateFramebufferContextANGLE(GLeglContext ctx, GLsizei numAttachments, const GLenum *attachments) { - return GL_InvalidateFramebufferContextANGLE(ctx, target, numAttachments, attachments); + return gl::InvalidateFramebufferContextANGLE(ctx, target, numAttachments, attachments); } void GL_APIENTRY glInvalidateSubFramebufferContextANGLE(GLeglContext ctx, @@ -8232,162 +7692,148 @@ void GL_APIENTRY glInvalidateSubFramebufferContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_InvalidateSubFramebufferContextANGLE(ctx, target, numAttachments, attachments, x, y, - width, height); + return gl::InvalidateSubFramebufferContextANGLE(ctx, target, numAttachments, attachments, x, y, + width, height); } GLboolean GL_APIENTRY glIsBufferContextANGLE(GLeglContext ctx, GLuint buffer) { - return GL_IsBufferContextANGLE(ctx, buffer); + return gl::IsBufferContextANGLE(ctx, buffer); } GLboolean GL_APIENTRY glIsEnabledContextANGLE(GLeglContext ctx, GLenum cap) { - return GL_IsEnabledContextANGLE(ctx, cap); + return gl::IsEnabledContextANGLE(ctx, cap); } GLboolean GL_APIENTRY glIsEnablediContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_IsEnablediContextANGLE(ctx, target, index); + return gl::IsEnablediContextANGLE(ctx, target, index); } GLboolean GL_APIENTRY glIsEnablediEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_IsEnablediEXTContextANGLE(ctx, target, index); + return gl::IsEnablediEXTContextANGLE(ctx, target, index); } GLboolean GL_APIENTRY glIsEnablediOESContextANGLE(GLeglContext ctx, GLenum target, GLuint index) { - return GL_IsEnablediOESContextANGLE(ctx, target, index); + return gl::IsEnablediOESContextANGLE(ctx, target, index); } GLboolean GL_APIENTRY glIsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { - return GL_IsFenceNVContextANGLE(ctx, fence); + return gl::IsFenceNVContextANGLE(ctx, fence); } GLboolean GL_APIENTRY glIsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) { - return GL_IsFramebufferContextANGLE(ctx, framebuffer); + return gl::IsFramebufferContextANGLE(ctx, framebuffer); } GLboolean GL_APIENTRY glIsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) { - return GL_IsFramebufferOESContextANGLE(ctx, framebuffer); + return gl::IsFramebufferOESContextANGLE(ctx, framebuffer); } GLboolean GL_APIENTRY glIsMemoryObjectEXTContextANGLE(GLeglContext ctx, GLuint memoryObject) { - return GL_IsMemoryObjectEXTContextANGLE(ctx, memoryObject); + return gl::IsMemoryObjectEXTContextANGLE(ctx, memoryObject); } GLboolean GL_APIENTRY glIsProgramContextANGLE(GLeglContext ctx, GLuint program) { - return GL_IsProgramContextANGLE(ctx, program); + return gl::IsProgramContextANGLE(ctx, program); } GLboolean GL_APIENTRY glIsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { - return GL_IsProgramPipelineContextANGLE(ctx, pipeline); -} - -GLboolean GL_APIENTRY glIsProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) -{ - return GL_IsProgramPipelineEXTContextANGLE(ctx, pipeline); + return gl::IsProgramPipelineContextANGLE(ctx, pipeline); } GLboolean GL_APIENTRY glIsQueryContextANGLE(GLeglContext ctx, GLuint id) { - return GL_IsQueryContextANGLE(ctx, id); + return gl::IsQueryContextANGLE(ctx, id); } GLboolean GL_APIENTRY glIsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) { - return GL_IsQueryEXTContextANGLE(ctx, id); + return gl::IsQueryEXTContextANGLE(ctx, id); } GLboolean GL_APIENTRY glIsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) { - return GL_IsRenderbufferContextANGLE(ctx, renderbuffer); + return gl::IsRenderbufferContextANGLE(ctx, renderbuffer); } GLboolean GL_APIENTRY glIsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) { - return GL_IsRenderbufferOESContextANGLE(ctx, renderbuffer); + return gl::IsRenderbufferOESContextANGLE(ctx, renderbuffer); } GLboolean GL_APIENTRY glIsSemaphoreEXTContextANGLE(GLeglContext ctx, GLuint semaphore) { - return GL_IsSemaphoreEXTContextANGLE(ctx, semaphore); + return gl::IsSemaphoreEXTContextANGLE(ctx, semaphore); } GLboolean GL_APIENTRY glIsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) { - return GL_IsSamplerContextANGLE(ctx, sampler); + return gl::IsSamplerContextANGLE(ctx, sampler); } GLboolean GL_APIENTRY glIsShaderContextANGLE(GLeglContext ctx, GLuint shader) { - return GL_IsShaderContextANGLE(ctx, shader); + return gl::IsShaderContextANGLE(ctx, shader); } GLboolean GL_APIENTRY glIsSyncContextANGLE(GLeglContext ctx, GLsync sync) { - return GL_IsSyncContextANGLE(ctx, sync); + return gl::IsSyncContextANGLE(ctx, sync); } GLboolean GL_APIENTRY glIsTextureContextANGLE(GLeglContext ctx, GLuint texture) { - return GL_IsTextureContextANGLE(ctx, texture); + return gl::IsTextureContextANGLE(ctx, texture); } GLboolean GL_APIENTRY glIsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) { - return GL_IsTransformFeedbackContextANGLE(ctx, id); + return gl::IsTransformFeedbackContextANGLE(ctx, id); } GLboolean GL_APIENTRY glIsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) { - return GL_IsVertexArrayContextANGLE(ctx, array); + return gl::IsVertexArrayContextANGLE(ctx, array); } GLboolean GL_APIENTRY glIsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) { - return GL_IsVertexArrayOESContextANGLE(ctx, array); -} - -void GL_APIENTRY glLabelObjectEXTContextANGLE(GLeglContext ctx, - GLenum type, - GLuint object, - GLsizei length, - const GLchar *label) -{ - return GL_LabelObjectEXTContextANGLE(ctx, type, object, length, label); + return gl::IsVertexArrayOESContextANGLE(ctx, array); } void GL_APIENTRY glLightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_LightModelfContextANGLE(ctx, pname, param); + return gl::LightModelfContextANGLE(ctx, pname, param); } void GL_APIENTRY glLightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_LightModelfvContextANGLE(ctx, pname, params); + return gl::LightModelfvContextANGLE(ctx, pname, params); } void GL_APIENTRY glLightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { - return GL_LightModelxContextANGLE(ctx, pname, param); + return gl::LightModelxContextANGLE(ctx, pname, param); } void GL_APIENTRY glLightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) { - return GL_LightModelxvContextANGLE(ctx, pname, param); + return gl::LightModelxvContextANGLE(ctx, pname, param); } void GL_APIENTRY glLightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) { - return GL_LightfContextANGLE(ctx, light, pname, param); + return gl::LightfContextANGLE(ctx, light, pname, param); } void GL_APIENTRY glLightfvContextANGLE(GLeglContext ctx, @@ -8395,12 +7841,12 @@ void GL_APIENTRY glLightfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_LightfvContextANGLE(ctx, light, pname, params); + return gl::LightfvContextANGLE(ctx, light, pname, params); } void GL_APIENTRY glLightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) { - return GL_LightxContextANGLE(ctx, light, pname, param); + return gl::LightxContextANGLE(ctx, light, pname, param); } void GL_APIENTRY glLightxvContextANGLE(GLeglContext ctx, @@ -8408,52 +7854,52 @@ void GL_APIENTRY glLightxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { - return GL_LightxvContextANGLE(ctx, light, pname, params); + return gl::LightxvContextANGLE(ctx, light, pname, params); } void GL_APIENTRY glLineWidthContextANGLE(GLeglContext ctx, GLfloat width) { - return GL_LineWidthContextANGLE(ctx, width); + return gl::LineWidthContextANGLE(ctx, width); } void GL_APIENTRY glLineWidthxContextANGLE(GLeglContext ctx, GLfixed width) { - return GL_LineWidthxContextANGLE(ctx, width); + return gl::LineWidthxContextANGLE(ctx, width); } void GL_APIENTRY glLinkProgramContextANGLE(GLeglContext ctx, GLuint program) { - return GL_LinkProgramContextANGLE(ctx, program); + return gl::LinkProgramContextANGLE(ctx, program); } void GL_APIENTRY glLoadIdentityContextANGLE(GLeglContext ctx) { - return GL_LoadIdentityContextANGLE(ctx); + return gl::LoadIdentityContextANGLE(ctx); } void GL_APIENTRY glLoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) { - return GL_LoadMatrixfContextANGLE(ctx, m); + return gl::LoadMatrixfContextANGLE(ctx, m); } void GL_APIENTRY glLoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) { - return GL_LoadMatrixxContextANGLE(ctx, m); + return gl::LoadMatrixxContextANGLE(ctx, m); } void GL_APIENTRY glLoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) { - return GL_LoadPaletteFromModelViewMatrixOESContextANGLE(ctx); + return gl::LoadPaletteFromModelViewMatrixOESContextANGLE(ctx); } void GL_APIENTRY glLogicOpContextANGLE(GLeglContext ctx, GLenum opcode) { - return GL_LogicOpContextANGLE(ctx, opcode); + return gl::LogicOpContextANGLE(ctx, opcode); } void *GL_APIENTRY glMapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) { - return GL_MapBufferOESContextANGLE(ctx, target, access); + return gl::MapBufferOESContextANGLE(ctx, target, access); } void *GL_APIENTRY glMapBufferRangeContextANGLE(GLeglContext ctx, @@ -8462,7 +7908,7 @@ void *GL_APIENTRY glMapBufferRangeContextANGLE(GLeglContext ctx, GLsizeiptr length, GLbitfield access) { - return GL_MapBufferRangeContextANGLE(ctx, target, offset, length, access); + return gl::MapBufferRangeContextANGLE(ctx, target, offset, length, access); } void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, @@ -8471,12 +7917,12 @@ void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, GLsizeiptr length, GLbitfield access) { - return GL_MapBufferRangeEXTContextANGLE(ctx, target, offset, length, access); + return gl::MapBufferRangeEXTContextANGLE(ctx, target, offset, length, access); } void GL_APIENTRY glMaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param) { - return GL_MaterialfContextANGLE(ctx, face, pname, param); + return gl::MaterialfContextANGLE(ctx, face, pname, param); } void GL_APIENTRY glMaterialfvContextANGLE(GLeglContext ctx, @@ -8484,12 +7930,12 @@ void GL_APIENTRY glMaterialfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_MaterialfvContextANGLE(ctx, face, pname, params); + return gl::MaterialfvContextANGLE(ctx, face, pname, params); } void GL_APIENTRY glMaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param) { - return GL_MaterialxContextANGLE(ctx, face, pname, param); + return gl::MaterialxContextANGLE(ctx, face, pname, param); } void GL_APIENTRY glMaterialxvContextANGLE(GLeglContext ctx, @@ -8497,7 +7943,7 @@ void GL_APIENTRY glMaterialxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) { - return GL_MaterialxvContextANGLE(ctx, face, pname, param); + return gl::MaterialxvContextANGLE(ctx, face, pname, param); } void GL_APIENTRY glMatrixIndexPointerOESContextANGLE(GLeglContext ctx, @@ -8506,27 +7952,27 @@ void GL_APIENTRY glMatrixIndexPointerOESContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_MatrixIndexPointerOESContextANGLE(ctx, size, type, stride, pointer); + return gl::MatrixIndexPointerOESContextANGLE(ctx, size, type, stride, pointer); } void GL_APIENTRY glMatrixModeContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_MatrixModeContextANGLE(ctx, mode); + return gl::MatrixModeContextANGLE(ctx, mode); } void GL_APIENTRY glMaxShaderCompilerThreadsKHRContextANGLE(GLeglContext ctx, GLuint count) { - return GL_MaxShaderCompilerThreadsKHRContextANGLE(ctx, count); + return gl::MaxShaderCompilerThreadsKHRContextANGLE(ctx, count); } void GL_APIENTRY glMemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) { - return GL_MemoryBarrierContextANGLE(ctx, barriers); + return gl::MemoryBarrierContextANGLE(ctx, barriers); } void GL_APIENTRY glMemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) { - return GL_MemoryBarrierByRegionContextANGLE(ctx, barriers); + return gl::MemoryBarrierByRegionContextANGLE(ctx, barriers); } void GL_APIENTRY glMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, @@ -8534,27 +7980,27 @@ void GL_APIENTRY glMemoryObjectParameterivEXTContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_MemoryObjectParameterivEXTContextANGLE(ctx, memoryObject, pname, params); + return gl::MemoryObjectParameterivEXTContextANGLE(ctx, memoryObject, pname, params); } void GL_APIENTRY glMinSampleShadingContextANGLE(GLeglContext ctx, GLfloat value) { - return GL_MinSampleShadingContextANGLE(ctx, value); + return gl::MinSampleShadingContextANGLE(ctx, value); } void GL_APIENTRY glMinSampleShadingOESContextANGLE(GLeglContext ctx, GLfloat value) { - return GL_MinSampleShadingOESContextANGLE(ctx, value); + return gl::MinSampleShadingOESContextANGLE(ctx, value); } void GL_APIENTRY glMultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) { - return GL_MultMatrixfContextANGLE(ctx, m); + return gl::MultMatrixfContextANGLE(ctx, m); } void GL_APIENTRY glMultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) { - return GL_MultMatrixxContextANGLE(ctx, m); + return gl::MultMatrixxContextANGLE(ctx, m); } void GL_APIENTRY glMultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, @@ -8565,8 +8011,8 @@ void GL_APIENTRY glMultiDrawElementsBaseVertexEXTContextANGLE(GLeglContext ctx, GLsizei primcount, const GLint *basevertex) { - return GL_MultiDrawElementsBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, primcount, - basevertex); + return gl::MultiDrawElementsBaseVertexEXTContextANGLE(ctx, mode, count, type, indices, + primcount, basevertex); } void GL_APIENTRY glMultiTexCoord4fContextANGLE(GLeglContext ctx, @@ -8576,7 +8022,7 @@ void GL_APIENTRY glMultiTexCoord4fContextANGLE(GLeglContext ctx, GLfloat r, GLfloat q) { - return GL_MultiTexCoord4fContextANGLE(ctx, target, s, t, r, q); + return gl::MultiTexCoord4fContextANGLE(ctx, target, s, t, r, q); } void GL_APIENTRY glMultiTexCoord4xContextANGLE(GLeglContext ctx, @@ -8586,7 +8032,7 @@ void GL_APIENTRY glMultiTexCoord4xContextANGLE(GLeglContext ctx, GLfixed r, GLfixed q) { - return GL_MultiTexCoord4xContextANGLE(ctx, texture, s, t, r, q); + return gl::MultiTexCoord4xContextANGLE(ctx, texture, s, t, r, q); } void GL_APIENTRY glNamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, @@ -8596,18 +8042,18 @@ void GL_APIENTRY glNamedBufferStorageExternalEXTContextANGLE(GLeglContext ctx, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { - return GL_NamedBufferStorageExternalEXTContextANGLE(ctx, buffer, offset, size, clientBuffer, - flags); + return gl::NamedBufferStorageExternalEXTContextANGLE(ctx, buffer, offset, size, clientBuffer, + flags); } void GL_APIENTRY glNormal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) { - return GL_Normal3fContextANGLE(ctx, nx, ny, nz); + return gl::Normal3fContextANGLE(ctx, nx, ny, nz); } void GL_APIENTRY glNormal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) { - return GL_Normal3xContextANGLE(ctx, nx, ny, nz); + return gl::Normal3xContextANGLE(ctx, nx, ny, nz); } void GL_APIENTRY glNormalPointerContextANGLE(GLeglContext ctx, @@ -8615,7 +8061,7 @@ void GL_APIENTRY glNormalPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_NormalPointerContextANGLE(ctx, type, stride, pointer); + return gl::NormalPointerContextANGLE(ctx, type, stride, pointer); } void GL_APIENTRY glObjectLabelContextANGLE(GLeglContext ctx, @@ -8624,7 +8070,7 @@ void GL_APIENTRY glObjectLabelContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *label) { - return GL_ObjectLabelContextANGLE(ctx, identifier, name, length, label); + return gl::ObjectLabelContextANGLE(ctx, identifier, name, length, label); } void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, @@ -8633,7 +8079,7 @@ void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *label) { - return GL_ObjectLabelKHRContextANGLE(ctx, identifier, name, length, label); + return gl::ObjectLabelKHRContextANGLE(ctx, identifier, name, length, label); } void GL_APIENTRY glObjectPtrLabelContextANGLE(GLeglContext ctx, @@ -8641,7 +8087,7 @@ void GL_APIENTRY glObjectPtrLabelContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *label) { - return GL_ObjectPtrLabelContextANGLE(ctx, ptr, length, label); + return gl::ObjectPtrLabelContextANGLE(ctx, ptr, length, label); } void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, @@ -8649,7 +8095,7 @@ void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *label) { - return GL_ObjectPtrLabelKHRContextANGLE(ctx, ptr, length, label); + return gl::ObjectPtrLabelKHRContextANGLE(ctx, ptr, length, label); } void GL_APIENTRY glOrthofContextANGLE(GLeglContext ctx, @@ -8660,7 +8106,7 @@ void GL_APIENTRY glOrthofContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) { - return GL_OrthofContextANGLE(ctx, l, r, b, t, n, f); + return gl::OrthofContextANGLE(ctx, l, r, b, t, n, f); } void GL_APIENTRY glOrthoxContextANGLE(GLeglContext ctx, @@ -8671,56 +8117,51 @@ void GL_APIENTRY glOrthoxContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) { - return GL_OrthoxContextANGLE(ctx, l, r, b, t, n, f); + return gl::OrthoxContextANGLE(ctx, l, r, b, t, n, f); } void GL_APIENTRY glPatchParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint value) { - return GL_PatchParameteriContextANGLE(ctx, pname, value); -} - -void GL_APIENTRY glPatchParameteriEXTContextANGLE(GLeglContext ctx, GLenum pname, GLint value) -{ - return GL_PatchParameteriEXTContextANGLE(ctx, pname, value); + return gl::PatchParameteriContextANGLE(ctx, pname, value); } void GL_APIENTRY glPauseTransformFeedbackContextANGLE(GLeglContext ctx) { - return GL_PauseTransformFeedbackContextANGLE(ctx); + return gl::PauseTransformFeedbackContextANGLE(ctx); } void GL_APIENTRY glPixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) { - return GL_PixelStoreiContextANGLE(ctx, pname, param); + return gl::PixelStoreiContextANGLE(ctx, pname, param); } void GL_APIENTRY glPointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_PointParameterfContextANGLE(ctx, pname, param); + return gl::PointParameterfContextANGLE(ctx, pname, param); } void GL_APIENTRY glPointParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_PointParameterfvContextANGLE(ctx, pname, params); + return gl::PointParameterfvContextANGLE(ctx, pname, params); } void GL_APIENTRY glPointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { - return GL_PointParameterxContextANGLE(ctx, pname, param); + return gl::PointParameterxContextANGLE(ctx, pname, param); } void GL_APIENTRY glPointParameterxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { - return GL_PointParameterxvContextANGLE(ctx, pname, params); + return gl::PointParameterxvContextANGLE(ctx, pname, params); } void GL_APIENTRY glPointSizeContextANGLE(GLeglContext ctx, GLfloat size) { - return GL_PointSizeContextANGLE(ctx, size); + return gl::PointSizeContextANGLE(ctx, size); } void GL_APIENTRY glPointSizePointerOESContextANGLE(GLeglContext ctx, @@ -8728,42 +8169,42 @@ void GL_APIENTRY glPointSizePointerOESContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_PointSizePointerOESContextANGLE(ctx, type, stride, pointer); + return gl::PointSizePointerOESContextANGLE(ctx, type, stride, pointer); } void GL_APIENTRY glPointSizexContextANGLE(GLeglContext ctx, GLfixed size) { - return GL_PointSizexContextANGLE(ctx, size); + return gl::PointSizexContextANGLE(ctx, size); } void GL_APIENTRY glPolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) { - return GL_PolygonOffsetContextANGLE(ctx, factor, units); + return gl::PolygonOffsetContextANGLE(ctx, factor, units); } void GL_APIENTRY glPolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) { - return GL_PolygonOffsetxContextANGLE(ctx, factor, units); + return gl::PolygonOffsetxContextANGLE(ctx, factor, units); } void GL_APIENTRY glPopDebugGroupContextANGLE(GLeglContext ctx) { - return GL_PopDebugGroupContextANGLE(ctx); + return gl::PopDebugGroupContextANGLE(ctx); } void GL_APIENTRY glPopDebugGroupKHRContextANGLE(GLeglContext ctx) { - return GL_PopDebugGroupKHRContextANGLE(ctx); + return gl::PopDebugGroupKHRContextANGLE(ctx); } void GL_APIENTRY glPopGroupMarkerEXTContextANGLE(GLeglContext ctx) { - return GL_PopGroupMarkerEXTContextANGLE(ctx); + return gl::PopGroupMarkerEXTContextANGLE(ctx); } void GL_APIENTRY glPopMatrixContextANGLE(GLeglContext ctx) { - return GL_PopMatrixContextANGLE(ctx); + return gl::PopMatrixContextANGLE(ctx); } void GL_APIENTRY glPrimitiveBoundingBoxContextANGLE(GLeglContext ctx, @@ -8776,21 +8217,8 @@ void GL_APIENTRY glPrimitiveBoundingBoxContextANGLE(GLeglContext ctx, GLfloat maxZ, GLfloat maxW) { - return GL_PrimitiveBoundingBoxContextANGLE(ctx, minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); -} - -void GL_APIENTRY glPrimitiveBoundingBoxEXTContextANGLE(GLeglContext ctx, - GLfloat minX, - GLfloat minY, - GLfloat minZ, - GLfloat minW, - GLfloat maxX, - GLfloat maxY, - GLfloat maxZ, - GLfloat maxW) -{ - return GL_PrimitiveBoundingBoxEXTContextANGLE(ctx, minX, minY, minZ, minW, maxX, maxY, maxZ, - maxW); + return gl::PrimitiveBoundingBoxContextANGLE(ctx, minX, minY, minZ, minW, maxX, maxY, maxZ, + maxW); } void GL_APIENTRY glProgramBinaryContextANGLE(GLeglContext ctx, @@ -8799,7 +8227,7 @@ void GL_APIENTRY glProgramBinaryContextANGLE(GLeglContext ctx, const void *binary, GLsizei length) { - return GL_ProgramBinaryContextANGLE(ctx, program, binaryFormat, binary, length); + return gl::ProgramBinaryContextANGLE(ctx, program, binaryFormat, binary, length); } void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, @@ -8808,7 +8236,7 @@ void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, const void *binary, GLint length) { - return GL_ProgramBinaryOESContextANGLE(ctx, program, binaryFormat, binary, length); + return gl::ProgramBinaryOESContextANGLE(ctx, program, binaryFormat, binary, length); } void GL_APIENTRY glProgramParameteriContextANGLE(GLeglContext ctx, @@ -8816,15 +8244,7 @@ void GL_APIENTRY glProgramParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint value) { - return GL_ProgramParameteriContextANGLE(ctx, program, pname, value); -} - -void GL_APIENTRY glProgramParameteriEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLenum pname, - GLint value) -{ - return GL_ProgramParameteriEXTContextANGLE(ctx, program, pname, value); + return gl::ProgramParameteriContextANGLE(ctx, program, pname, value); } void GL_APIENTRY glProgramUniform1fContextANGLE(GLeglContext ctx, @@ -8832,15 +8252,7 @@ void GL_APIENTRY glProgramUniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) { - return GL_ProgramUniform1fContextANGLE(ctx, program, location, v0); -} - -void GL_APIENTRY glProgramUniform1fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0) -{ - return GL_ProgramUniform1fEXTContextANGLE(ctx, program, location, v0); + return gl::ProgramUniform1fContextANGLE(ctx, program, location, v0); } void GL_APIENTRY glProgramUniform1fvContextANGLE(GLeglContext ctx, @@ -8849,16 +8261,7 @@ void GL_APIENTRY glProgramUniform1fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform1fvContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform1fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform1fvEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform1fvContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform1iContextANGLE(GLeglContext ctx, @@ -8866,15 +8269,7 @@ void GL_APIENTRY glProgramUniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) { - return GL_ProgramUniform1iContextANGLE(ctx, program, location, v0); -} - -void GL_APIENTRY glProgramUniform1iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0) -{ - return GL_ProgramUniform1iEXTContextANGLE(ctx, program, location, v0); + return gl::ProgramUniform1iContextANGLE(ctx, program, location, v0); } void GL_APIENTRY glProgramUniform1ivContextANGLE(GLeglContext ctx, @@ -8883,16 +8278,7 @@ void GL_APIENTRY glProgramUniform1ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_ProgramUniform1ivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform1ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform1ivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform1ivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform1uiContextANGLE(GLeglContext ctx, @@ -8900,15 +8286,7 @@ void GL_APIENTRY glProgramUniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) { - return GL_ProgramUniform1uiContextANGLE(ctx, program, location, v0); -} - -void GL_APIENTRY glProgramUniform1uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0) -{ - return GL_ProgramUniform1uiEXTContextANGLE(ctx, program, location, v0); + return gl::ProgramUniform1uiContextANGLE(ctx, program, location, v0); } void GL_APIENTRY glProgramUniform1uivContextANGLE(GLeglContext ctx, @@ -8917,16 +8295,7 @@ void GL_APIENTRY glProgramUniform1uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_ProgramUniform1uivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform1uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform1uivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform1uivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform2fContextANGLE(GLeglContext ctx, @@ -8935,16 +8304,7 @@ void GL_APIENTRY glProgramUniform2fContextANGLE(GLeglContext ctx, GLfloat v0, GLfloat v1) { - return GL_ProgramUniform2fContextANGLE(ctx, program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1) -{ - return GL_ProgramUniform2fEXTContextANGLE(ctx, program, location, v0, v1); + return gl::ProgramUniform2fContextANGLE(ctx, program, location, v0, v1); } void GL_APIENTRY glProgramUniform2fvContextANGLE(GLeglContext ctx, @@ -8953,31 +8313,13 @@ void GL_APIENTRY glProgramUniform2fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform2fvContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform2fvEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform2fvContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1) { - return GL_ProgramUniform2iContextANGLE(ctx, program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1) -{ - return GL_ProgramUniform2iEXTContextANGLE(ctx, program, location, v0, v1); + return gl::ProgramUniform2iContextANGLE(ctx, program, location, v0, v1); } void GL_APIENTRY glProgramUniform2ivContextANGLE(GLeglContext ctx, @@ -8986,16 +8328,7 @@ void GL_APIENTRY glProgramUniform2ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_ProgramUniform2ivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform2ivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform2ivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform2uiContextANGLE(GLeglContext ctx, @@ -9004,16 +8337,7 @@ void GL_APIENTRY glProgramUniform2uiContextANGLE(GLeglContext ctx, GLuint v0, GLuint v1) { - return GL_ProgramUniform2uiContextANGLE(ctx, program, location, v0, v1); -} - -void GL_APIENTRY glProgramUniform2uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1) -{ - return GL_ProgramUniform2uiEXTContextANGLE(ctx, program, location, v0, v1); + return gl::ProgramUniform2uiContextANGLE(ctx, program, location, v0, v1); } void GL_APIENTRY glProgramUniform2uivContextANGLE(GLeglContext ctx, @@ -9022,16 +8346,7 @@ void GL_APIENTRY glProgramUniform2uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_ProgramUniform2uivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform2uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform2uivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform2uivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform3fContextANGLE(GLeglContext ctx, @@ -9041,17 +8356,7 @@ void GL_APIENTRY glProgramUniform3fContextANGLE(GLeglContext ctx, GLfloat v1, GLfloat v2) { - return GL_ProgramUniform3fContextANGLE(ctx, program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2) -{ - return GL_ProgramUniform3fEXTContextANGLE(ctx, program, location, v0, v1, v2); + return gl::ProgramUniform3fContextANGLE(ctx, program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3fvContextANGLE(GLeglContext ctx, @@ -9060,16 +8365,7 @@ void GL_APIENTRY glProgramUniform3fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform3fvContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform3fvEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform3fvContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform3iContextANGLE(GLeglContext ctx, @@ -9079,17 +8375,7 @@ void GL_APIENTRY glProgramUniform3iContextANGLE(GLeglContext ctx, GLint v1, GLint v2) { - return GL_ProgramUniform3iContextANGLE(ctx, program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2) -{ - return GL_ProgramUniform3iEXTContextANGLE(ctx, program, location, v0, v1, v2); + return gl::ProgramUniform3iContextANGLE(ctx, program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3ivContextANGLE(GLeglContext ctx, @@ -9098,16 +8384,7 @@ void GL_APIENTRY glProgramUniform3ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_ProgramUniform3ivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform3ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform3ivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform3ivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform3uiContextANGLE(GLeglContext ctx, @@ -9117,17 +8394,7 @@ void GL_APIENTRY glProgramUniform3uiContextANGLE(GLeglContext ctx, GLuint v1, GLuint v2) { - return GL_ProgramUniform3uiContextANGLE(ctx, program, location, v0, v1, v2); -} - -void GL_APIENTRY glProgramUniform3uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2) -{ - return GL_ProgramUniform3uiEXTContextANGLE(ctx, program, location, v0, v1, v2); + return gl::ProgramUniform3uiContextANGLE(ctx, program, location, v0, v1, v2); } void GL_APIENTRY glProgramUniform3uivContextANGLE(GLeglContext ctx, @@ -9136,16 +8403,7 @@ void GL_APIENTRY glProgramUniform3uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_ProgramUniform3uivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform3uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform3uivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform3uivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform4fContextANGLE(GLeglContext ctx, @@ -9156,18 +8414,7 @@ void GL_APIENTRY glProgramUniform4fContextANGLE(GLeglContext ctx, GLfloat v2, GLfloat v3) { - return GL_ProgramUniform4fContextANGLE(ctx, program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4fEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLfloat v0, - GLfloat v1, - GLfloat v2, - GLfloat v3) -{ - return GL_ProgramUniform4fEXTContextANGLE(ctx, program, location, v0, v1, v2, v3); + return gl::ProgramUniform4fContextANGLE(ctx, program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4fvContextANGLE(GLeglContext ctx, @@ -9176,16 +8423,7 @@ void GL_APIENTRY glProgramUniform4fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_ProgramUniform4fvContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLfloat *value) -{ - return GL_ProgramUniform4fvEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform4fvContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform4iContextANGLE(GLeglContext ctx, @@ -9196,18 +8434,7 @@ void GL_APIENTRY glProgramUniform4iContextANGLE(GLeglContext ctx, GLint v2, GLint v3) { - return GL_ProgramUniform4iContextANGLE(ctx, program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4iEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLint v0, - GLint v1, - GLint v2, - GLint v3) -{ - return GL_ProgramUniform4iEXTContextANGLE(ctx, program, location, v0, v1, v2, v3); + return gl::ProgramUniform4iContextANGLE(ctx, program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4ivContextANGLE(GLeglContext ctx, @@ -9216,16 +8443,7 @@ void GL_APIENTRY glProgramUniform4ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_ProgramUniform4ivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform4ivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLint *value) -{ - return GL_ProgramUniform4ivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform4ivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniform4uiContextANGLE(GLeglContext ctx, @@ -9236,18 +8454,7 @@ void GL_APIENTRY glProgramUniform4uiContextANGLE(GLeglContext ctx, GLuint v2, GLuint v3) { - return GL_ProgramUniform4uiContextANGLE(ctx, program, location, v0, v1, v2, v3); -} - -void GL_APIENTRY glProgramUniform4uiEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLuint v0, - GLuint v1, - GLuint v2, - GLuint v3) -{ - return GL_ProgramUniform4uiEXTContextANGLE(ctx, program, location, v0, v1, v2, v3); + return gl::ProgramUniform4uiContextANGLE(ctx, program, location, v0, v1, v2, v3); } void GL_APIENTRY glProgramUniform4uivContextANGLE(GLeglContext ctx, @@ -9256,16 +8463,7 @@ void GL_APIENTRY glProgramUniform4uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_ProgramUniform4uivContextANGLE(ctx, program, location, count, value); -} - -void GL_APIENTRY glProgramUniform4uivEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - const GLuint *value) -{ - return GL_ProgramUniform4uivEXTContextANGLE(ctx, program, location, count, value); + return gl::ProgramUniform4uivContextANGLE(ctx, program, location, count, value); } void GL_APIENTRY glProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, @@ -9275,18 +8473,7 @@ void GL_APIENTRY glProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2fvContextANGLE(ctx, program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix2fvContextANGLE(ctx, program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, @@ -9296,19 +8483,8 @@ void GL_APIENTRY glProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2x3fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix2x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2x3fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix2x3fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, @@ -9318,19 +8494,8 @@ void GL_APIENTRY glProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix2x4fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix2x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix2x4fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix2x4fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, @@ -9340,18 +8505,7 @@ void GL_APIENTRY glProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3fvContextANGLE(ctx, program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix3fvContextANGLE(ctx, program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, @@ -9361,19 +8515,8 @@ void GL_APIENTRY glProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3x2fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix3x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3x2fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix3x2fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, @@ -9383,19 +8526,8 @@ void GL_APIENTRY glProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix3x4fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix3x4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix3x4fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix3x4fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, @@ -9405,18 +8537,7 @@ void GL_APIENTRY glProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4fvContextANGLE(ctx, program, location, count, transpose, value); -} - -void GL_APIENTRY glProgramUniformMatrix4fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix4fvContextANGLE(ctx, program, location, count, transpose, value); } void GL_APIENTRY glProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, @@ -9426,19 +8547,8 @@ void GL_APIENTRY glProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4x2fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix4x2fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4x2fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix4x2fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, @@ -9448,19 +8558,8 @@ void GL_APIENTRY glProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_ProgramUniformMatrix4x3fvContextANGLE(ctx, program, location, count, transpose, - value); -} - -void GL_APIENTRY glProgramUniformMatrix4x3fvEXTContextANGLE(GLeglContext ctx, - GLuint program, - GLint location, - GLsizei count, - GLboolean transpose, - const GLfloat *value) -{ - return GL_ProgramUniformMatrix4x3fvEXTContextANGLE(ctx, program, location, count, transpose, - value); + return gl::ProgramUniformMatrix4x3fvContextANGLE(ctx, program, location, count, transpose, + value); } void GL_APIENTRY glPushDebugGroupContextANGLE(GLeglContext ctx, @@ -9469,7 +8568,7 @@ void GL_APIENTRY glPushDebugGroupContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *message) { - return GL_PushDebugGroupContextANGLE(ctx, source, id, length, message); + return gl::PushDebugGroupContextANGLE(ctx, source, id, length, message); } void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, @@ -9478,36 +8577,36 @@ void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *message) { - return GL_PushDebugGroupKHRContextANGLE(ctx, source, id, length, message); + return gl::PushDebugGroupKHRContextANGLE(ctx, source, id, length, message); } void GL_APIENTRY glPushGroupMarkerEXTContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *marker) { - return GL_PushGroupMarkerEXTContextANGLE(ctx, length, marker); + return gl::PushGroupMarkerEXTContextANGLE(ctx, length, marker); } void GL_APIENTRY glPushMatrixContextANGLE(GLeglContext ctx) { - return GL_PushMatrixContextANGLE(ctx); + return gl::PushMatrixContextANGLE(ctx); } void GL_APIENTRY glQueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) { - return GL_QueryCounterEXTContextANGLE(ctx, id, target); + return gl::QueryCounterEXTContextANGLE(ctx, id, target); } GLbitfield GL_APIENTRY glQueryMatrixxOESContextANGLE(GLeglContext ctx, GLfixed *mantissa, GLint *exponent) { - return GL_QueryMatrixxOESContextANGLE(ctx, mantissa, exponent); + return gl::QueryMatrixxOESContextANGLE(ctx, mantissa, exponent); } void GL_APIENTRY glReadBufferContextANGLE(GLeglContext ctx, GLenum src) { - return GL_ReadBufferContextANGLE(ctx, src); + return gl::ReadBufferContextANGLE(ctx, src); } void GL_APIENTRY glReadPixelsContextANGLE(GLeglContext ctx, @@ -9519,7 +8618,7 @@ void GL_APIENTRY glReadPixelsContextANGLE(GLeglContext ctx, GLenum type, void *pixels) { - return GL_ReadPixelsContextANGLE(ctx, x, y, width, height, format, type, pixels); + return gl::ReadPixelsContextANGLE(ctx, x, y, width, height, format, type, pixels); } void GL_APIENTRY glReadnPixelsContextANGLE(GLeglContext ctx, @@ -9532,7 +8631,7 @@ void GL_APIENTRY glReadnPixelsContextANGLE(GLeglContext ctx, GLsizei bufSize, void *data) { - return GL_ReadnPixelsContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); + return gl::ReadnPixelsContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); } void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, @@ -9545,12 +8644,12 @@ void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, GLsizei bufSize, void *data) { - return GL_ReadnPixelsEXTContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); + return gl::ReadnPixelsEXTContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); } void GL_APIENTRY glReleaseShaderCompilerContextANGLE(GLeglContext ctx) { - return GL_ReleaseShaderCompilerContextANGLE(ctx); + return gl::ReleaseShaderCompilerContextANGLE(ctx); } void GL_APIENTRY glRenderbufferStorageContextANGLE(GLeglContext ctx, @@ -9559,7 +8658,7 @@ void GL_APIENTRY glRenderbufferStorageContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageContextANGLE(ctx, target, internalformat, width, height); + return gl::RenderbufferStorageContextANGLE(ctx, target, internalformat, width, height); } void GL_APIENTRY glRenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, @@ -9569,8 +8668,8 @@ void GL_APIENTRY glRenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisampleContextANGLE(ctx, target, samples, internalformat, - width, height); + return gl::RenderbufferStorageMultisampleContextANGLE(ctx, target, samples, internalformat, + width, height); } void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, @@ -9580,8 +8679,8 @@ void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, - width, height); + return gl::RenderbufferStorageMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, + width, height); } void GL_APIENTRY glRenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ctx, @@ -9591,8 +8690,8 @@ void GL_APIENTRY glRenderbufferStorageMultisampleEXTContextANGLE(GLeglContext ct GLsizei width, GLsizei height) { - return GL_RenderbufferStorageMultisampleEXTContextANGLE(ctx, target, samples, internalformat, - width, height); + return gl::RenderbufferStorageMultisampleEXTContextANGLE(ctx, target, samples, internalformat, + width, height); } void GL_APIENTRY glRenderbufferStorageOESContextANGLE(GLeglContext ctx, @@ -9601,39 +8700,39 @@ void GL_APIENTRY glRenderbufferStorageOESContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_RenderbufferStorageOESContextANGLE(ctx, target, internalformat, width, height); + return gl::RenderbufferStorageOESContextANGLE(ctx, target, internalformat, width, height); } void GL_APIENTRY glResumeTransformFeedbackContextANGLE(GLeglContext ctx) { - return GL_ResumeTransformFeedbackContextANGLE(ctx); + return gl::ResumeTransformFeedbackContextANGLE(ctx); } void GL_APIENTRY glRotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { - return GL_RotatefContextANGLE(ctx, angle, x, y, z); + return gl::RotatefContextANGLE(ctx, angle, x, y, z); } void GL_APIENTRY glRotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { - return GL_RotatexContextANGLE(ctx, angle, x, y, z); + return gl::RotatexContextANGLE(ctx, angle, x, y, z); } void GL_APIENTRY glSampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) { - return GL_SampleCoverageContextANGLE(ctx, value, invert); + return gl::SampleCoverageContextANGLE(ctx, value, invert); } void GL_APIENTRY glSampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) { - return GL_SampleCoveragexContextANGLE(ctx, value, invert); + return gl::SampleCoveragexContextANGLE(ctx, value, invert); } void GL_APIENTRY glSampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) { - return GL_SampleMaskiContextANGLE(ctx, maskNumber, mask); + return gl::SampleMaskiContextANGLE(ctx, maskNumber, mask); } void GL_APIENTRY glSamplerParameterIivContextANGLE(GLeglContext ctx, @@ -9641,15 +8740,7 @@ void GL_APIENTRY glSamplerParameterIivContextANGLE(GLeglContext ctx, GLenum pname, const GLint *param) { - return GL_SamplerParameterIivContextANGLE(ctx, sampler, pname, param); -} - -void GL_APIENTRY glSamplerParameterIivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLint *param) -{ - return GL_SamplerParameterIivEXTContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterIivContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterIivOESContextANGLE(GLeglContext ctx, @@ -9657,7 +8748,7 @@ void GL_APIENTRY glSamplerParameterIivOESContextANGLE(GLeglContext ctx, GLenum pname, const GLint *param) { - return GL_SamplerParameterIivOESContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterIivOESContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterIuivContextANGLE(GLeglContext ctx, @@ -9665,15 +8756,7 @@ void GL_APIENTRY glSamplerParameterIuivContextANGLE(GLeglContext ctx, GLenum pname, const GLuint *param) { - return GL_SamplerParameterIuivContextANGLE(ctx, sampler, pname, param); -} - -void GL_APIENTRY glSamplerParameterIuivEXTContextANGLE(GLeglContext ctx, - GLuint sampler, - GLenum pname, - const GLuint *param) -{ - return GL_SamplerParameterIuivEXTContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterIuivContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterIuivOESContextANGLE(GLeglContext ctx, @@ -9681,7 +8764,7 @@ void GL_APIENTRY glSamplerParameterIuivOESContextANGLE(GLeglContext ctx, GLenum pname, const GLuint *param) { - return GL_SamplerParameterIuivOESContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterIuivOESContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterfContextANGLE(GLeglContext ctx, @@ -9689,7 +8772,7 @@ void GL_APIENTRY glSamplerParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_SamplerParameterfContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterfContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterfvContextANGLE(GLeglContext ctx, @@ -9697,7 +8780,7 @@ void GL_APIENTRY glSamplerParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *param) { - return GL_SamplerParameterfvContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterfvContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameteriContextANGLE(GLeglContext ctx, @@ -9705,7 +8788,7 @@ void GL_APIENTRY glSamplerParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint param) { - return GL_SamplerParameteriContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameteriContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glSamplerParameterivContextANGLE(GLeglContext ctx, @@ -9713,23 +8796,23 @@ void GL_APIENTRY glSamplerParameterivContextANGLE(GLeglContext ctx, GLenum pname, const GLint *param) { - return GL_SamplerParameterivContextANGLE(ctx, sampler, pname, param); + return gl::SamplerParameterivContextANGLE(ctx, sampler, pname, param); } void GL_APIENTRY glScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) { - return GL_ScalefContextANGLE(ctx, x, y, z); + return gl::ScalefContextANGLE(ctx, x, y, z); } void GL_APIENTRY glScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) { - return GL_ScalexContextANGLE(ctx, x, y, z); + return gl::ScalexContextANGLE(ctx, x, y, z); } void GL_APIENTRY glScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) { - return GL_ScissorContextANGLE(ctx, x, y, width, height); + return gl::ScissorContextANGLE(ctx, x, y, width, height); } void GL_APIENTRY glSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, @@ -9737,17 +8820,17 @@ void GL_APIENTRY glSemaphoreParameterui64vEXTContextANGLE(GLeglContext ctx, GLenum pname, const GLuint64 *params) { - return GL_SemaphoreParameterui64vEXTContextANGLE(ctx, semaphore, pname, params); + return gl::SemaphoreParameterui64vEXTContextANGLE(ctx, semaphore, pname, params); } void GL_APIENTRY glSetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) { - return GL_SetFenceNVContextANGLE(ctx, fence, condition); + return gl::SetFenceNVContextANGLE(ctx, fence, condition); } void GL_APIENTRY glShadeModelContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_ShadeModelContextANGLE(ctx, mode); + return gl::ShadeModelContextANGLE(ctx, mode); } void GL_APIENTRY glShaderBinaryContextANGLE(GLeglContext ctx, @@ -9757,7 +8840,7 @@ void GL_APIENTRY glShaderBinaryContextANGLE(GLeglContext ctx, const void *binary, GLsizei length) { - return GL_ShaderBinaryContextANGLE(ctx, count, shaders, binaryformat, binary, length); + return gl::ShaderBinaryContextANGLE(ctx, count, shaders, binaryformat, binary, length); } void GL_APIENTRY glShaderSourceContextANGLE(GLeglContext ctx, @@ -9766,7 +8849,7 @@ void GL_APIENTRY glShaderSourceContextANGLE(GLeglContext ctx, const GLchar *const *string, const GLint *length) { - return GL_ShaderSourceContextANGLE(ctx, shader, count, string, length); + return gl::ShaderSourceContextANGLE(ctx, shader, count, string, length); } void GL_APIENTRY glSignalSemaphoreEXTContextANGLE(GLeglContext ctx, @@ -9777,13 +8860,13 @@ void GL_APIENTRY glSignalSemaphoreEXTContextANGLE(GLeglContext ctx, const GLuint *textures, const GLenum *dstLayouts) { - return GL_SignalSemaphoreEXTContextANGLE(ctx, semaphore, numBufferBarriers, buffers, - numTextureBarriers, textures, dstLayouts); + return gl::SignalSemaphoreEXTContextANGLE(ctx, semaphore, numBufferBarriers, buffers, + numTextureBarriers, textures, dstLayouts); } void GL_APIENTRY glStencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) { - return GL_StencilFuncContextANGLE(ctx, func, ref, mask); + return gl::StencilFuncContextANGLE(ctx, func, ref, mask); } void GL_APIENTRY glStencilFuncSeparateContextANGLE(GLeglContext ctx, @@ -9792,22 +8875,22 @@ void GL_APIENTRY glStencilFuncSeparateContextANGLE(GLeglContext ctx, GLint ref, GLuint mask) { - return GL_StencilFuncSeparateContextANGLE(ctx, face, func, ref, mask); + return gl::StencilFuncSeparateContextANGLE(ctx, face, func, ref, mask); } void GL_APIENTRY glStencilMaskContextANGLE(GLeglContext ctx, GLuint mask) { - return GL_StencilMaskContextANGLE(ctx, mask); + return gl::StencilMaskContextANGLE(ctx, mask); } void GL_APIENTRY glStencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) { - return GL_StencilMaskSeparateContextANGLE(ctx, face, mask); + return gl::StencilMaskSeparateContextANGLE(ctx, face, mask); } void GL_APIENTRY glStencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) { - return GL_StencilOpContextANGLE(ctx, fail, zfail, zpass); + return gl::StencilOpContextANGLE(ctx, fail, zfail, zpass); } void GL_APIENTRY glStencilOpSeparateContextANGLE(GLeglContext ctx, @@ -9816,12 +8899,12 @@ void GL_APIENTRY glStencilOpSeparateContextANGLE(GLeglContext ctx, GLenum dpfail, GLenum dppass) { - return GL_StencilOpSeparateContextANGLE(ctx, face, sfail, dpfail, dppass); + return gl::StencilOpSeparateContextANGLE(ctx, face, sfail, dpfail, dppass); } GLboolean GL_APIENTRY glTestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) { - return GL_TestFenceNVContextANGLE(ctx, fence); + return gl::TestFenceNVContextANGLE(ctx, fence); } void GL_APIENTRY glTexBufferContextANGLE(GLeglContext ctx, @@ -9829,7 +8912,7 @@ void GL_APIENTRY glTexBufferContextANGLE(GLeglContext ctx, GLenum internalformat, GLuint buffer) { - return GL_TexBufferContextANGLE(ctx, target, internalformat, buffer); + return gl::TexBufferContextANGLE(ctx, target, internalformat, buffer); } void GL_APIENTRY glTexBufferEXTContextANGLE(GLeglContext ctx, @@ -9837,7 +8920,7 @@ void GL_APIENTRY glTexBufferEXTContextANGLE(GLeglContext ctx, GLenum internalformat, GLuint buffer) { - return GL_TexBufferEXTContextANGLE(ctx, target, internalformat, buffer); + return gl::TexBufferEXTContextANGLE(ctx, target, internalformat, buffer); } void GL_APIENTRY glTexBufferOESContextANGLE(GLeglContext ctx, @@ -9845,7 +8928,7 @@ void GL_APIENTRY glTexBufferOESContextANGLE(GLeglContext ctx, GLenum internalformat, GLuint buffer) { - return GL_TexBufferOESContextANGLE(ctx, target, internalformat, buffer); + return gl::TexBufferOESContextANGLE(ctx, target, internalformat, buffer); } void GL_APIENTRY glTexBufferRangeContextANGLE(GLeglContext ctx, @@ -9855,7 +8938,7 @@ void GL_APIENTRY glTexBufferRangeContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRangeContextANGLE(ctx, target, internalformat, buffer, offset, size); + return gl::TexBufferRangeContextANGLE(ctx, target, internalformat, buffer, offset, size); } void GL_APIENTRY glTexBufferRangeEXTContextANGLE(GLeglContext ctx, @@ -9865,7 +8948,7 @@ void GL_APIENTRY glTexBufferRangeEXTContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRangeEXTContextANGLE(ctx, target, internalformat, buffer, offset, size); + return gl::TexBufferRangeEXTContextANGLE(ctx, target, internalformat, buffer, offset, size); } void GL_APIENTRY glTexBufferRangeOESContextANGLE(GLeglContext ctx, @@ -9875,7 +8958,7 @@ void GL_APIENTRY glTexBufferRangeOESContextANGLE(GLeglContext ctx, GLintptr offset, GLsizeiptr size) { - return GL_TexBufferRangeOESContextANGLE(ctx, target, internalformat, buffer, offset, size); + return gl::TexBufferRangeOESContextANGLE(ctx, target, internalformat, buffer, offset, size); } void GL_APIENTRY glTexCoordPointerContextANGLE(GLeglContext ctx, @@ -9884,12 +8967,12 @@ void GL_APIENTRY glTexCoordPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_TexCoordPointerContextANGLE(ctx, size, type, stride, pointer); + return gl::TexCoordPointerContextANGLE(ctx, size, type, stride, pointer); } void GL_APIENTRY glTexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param) { - return GL_TexEnvfContextANGLE(ctx, target, pname, param); + return gl::TexEnvfContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexEnvfvContextANGLE(GLeglContext ctx, @@ -9897,12 +8980,12 @@ void GL_APIENTRY glTexEnvfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_TexEnvfvContextANGLE(ctx, target, pname, params); + return gl::TexEnvfvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) { - return GL_TexEnviContextANGLE(ctx, target, pname, param); + return gl::TexEnviContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexEnvivContextANGLE(GLeglContext ctx, @@ -9910,12 +8993,12 @@ void GL_APIENTRY glTexEnvivContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_TexEnvivContextANGLE(ctx, target, pname, params); + return gl::TexEnvivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param) { - return GL_TexEnvxContextANGLE(ctx, target, pname, param); + return gl::TexEnvxContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexEnvxvContextANGLE(GLeglContext ctx, @@ -9923,7 +9006,7 @@ void GL_APIENTRY glTexEnvxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { - return GL_TexEnvxvContextANGLE(ctx, target, pname, params); + return gl::TexEnvxvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexGenfOESContextANGLE(GLeglContext ctx, @@ -9931,7 +9014,7 @@ void GL_APIENTRY glTexGenfOESContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_TexGenfOESContextANGLE(ctx, coord, pname, param); + return gl::TexGenfOESContextANGLE(ctx, coord, pname, param); } void GL_APIENTRY glTexGenfvOESContextANGLE(GLeglContext ctx, @@ -9939,12 +9022,12 @@ void GL_APIENTRY glTexGenfvOESContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_TexGenfvOESContextANGLE(ctx, coord, pname, params); + return gl::TexGenfvOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glTexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param) { - return GL_TexGeniOESContextANGLE(ctx, coord, pname, param); + return gl::TexGeniOESContextANGLE(ctx, coord, pname, param); } void GL_APIENTRY glTexGenivOESContextANGLE(GLeglContext ctx, @@ -9952,7 +9035,7 @@ void GL_APIENTRY glTexGenivOESContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_TexGenivOESContextANGLE(ctx, coord, pname, params); + return gl::TexGenivOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glTexGenxOESContextANGLE(GLeglContext ctx, @@ -9960,7 +9043,7 @@ void GL_APIENTRY glTexGenxOESContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { - return GL_TexGenxOESContextANGLE(ctx, coord, pname, param); + return gl::TexGenxOESContextANGLE(ctx, coord, pname, param); } void GL_APIENTRY glTexGenxvOESContextANGLE(GLeglContext ctx, @@ -9968,7 +9051,7 @@ void GL_APIENTRY glTexGenxvOESContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { - return GL_TexGenxvOESContextANGLE(ctx, coord, pname, params); + return gl::TexGenxvOESContextANGLE(ctx, coord, pname, params); } void GL_APIENTRY glTexImage2DContextANGLE(GLeglContext ctx, @@ -9982,8 +9065,8 @@ void GL_APIENTRY glTexImage2DContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexImage2DContextANGLE(ctx, target, level, internalformat, width, height, border, - format, type, pixels); + return gl::TexImage2DContextANGLE(ctx, target, level, internalformat, width, height, border, + format, type, pixels); } void GL_APIENTRY glTexImage3DContextANGLE(GLeglContext ctx, @@ -9998,8 +9081,8 @@ void GL_APIENTRY glTexImage3DContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexImage3DContextANGLE(ctx, target, level, internalformat, width, height, depth, - border, format, type, pixels); + return gl::TexImage3DContextANGLE(ctx, target, level, internalformat, width, height, depth, + border, format, type, pixels); } void GL_APIENTRY glTexImage3DOESContextANGLE(GLeglContext ctx, @@ -10014,8 +9097,8 @@ void GL_APIENTRY glTexImage3DOESContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexImage3DOESContextANGLE(ctx, target, level, internalformat, width, height, depth, - border, format, type, pixels); + return gl::TexImage3DOESContextANGLE(ctx, target, level, internalformat, width, height, depth, + border, format, type, pixels); } void GL_APIENTRY glTexParameterIivContextANGLE(GLeglContext ctx, @@ -10023,15 +9106,7 @@ void GL_APIENTRY glTexParameterIivContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_TexParameterIivContextANGLE(ctx, target, pname, params); -} - -void GL_APIENTRY glTexParameterIivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLint *params) -{ - return GL_TexParameterIivEXTContextANGLE(ctx, target, pname, params); + return gl::TexParameterIivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameterIivOESContextANGLE(GLeglContext ctx, @@ -10039,7 +9114,7 @@ void GL_APIENTRY glTexParameterIivOESContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_TexParameterIivOESContextANGLE(ctx, target, pname, params); + return gl::TexParameterIivOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameterIuivContextANGLE(GLeglContext ctx, @@ -10047,15 +9122,7 @@ void GL_APIENTRY glTexParameterIuivContextANGLE(GLeglContext ctx, GLenum pname, const GLuint *params) { - return GL_TexParameterIuivContextANGLE(ctx, target, pname, params); -} - -void GL_APIENTRY glTexParameterIuivEXTContextANGLE(GLeglContext ctx, - GLenum target, - GLenum pname, - const GLuint *params) -{ - return GL_TexParameterIuivEXTContextANGLE(ctx, target, pname, params); + return gl::TexParameterIuivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameterIuivOESContextANGLE(GLeglContext ctx, @@ -10063,7 +9130,7 @@ void GL_APIENTRY glTexParameterIuivOESContextANGLE(GLeglContext ctx, GLenum pname, const GLuint *params) { - return GL_TexParameterIuivOESContextANGLE(ctx, target, pname, params); + return gl::TexParameterIuivOESContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameterfContextANGLE(GLeglContext ctx, @@ -10071,7 +9138,7 @@ void GL_APIENTRY glTexParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) { - return GL_TexParameterfContextANGLE(ctx, target, pname, param); + return gl::TexParameterfContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexParameterfvContextANGLE(GLeglContext ctx, @@ -10079,7 +9146,7 @@ void GL_APIENTRY glTexParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) { - return GL_TexParameterfvContextANGLE(ctx, target, pname, params); + return gl::TexParameterfvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameteriContextANGLE(GLeglContext ctx, @@ -10087,7 +9154,7 @@ void GL_APIENTRY glTexParameteriContextANGLE(GLeglContext ctx, GLenum pname, GLint param) { - return GL_TexParameteriContextANGLE(ctx, target, pname, param); + return gl::TexParameteriContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexParameterivContextANGLE(GLeglContext ctx, @@ -10095,7 +9162,7 @@ void GL_APIENTRY glTexParameterivContextANGLE(GLeglContext ctx, GLenum pname, const GLint *params) { - return GL_TexParameterivContextANGLE(ctx, target, pname, params); + return gl::TexParameterivContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexParameterxContextANGLE(GLeglContext ctx, @@ -10103,7 +9170,7 @@ void GL_APIENTRY glTexParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) { - return GL_TexParameterxContextANGLE(ctx, target, pname, param); + return gl::TexParameterxContextANGLE(ctx, target, pname, param); } void GL_APIENTRY glTexParameterxvContextANGLE(GLeglContext ctx, @@ -10111,7 +9178,7 @@ void GL_APIENTRY glTexParameterxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) { - return GL_TexParameterxvContextANGLE(ctx, target, pname, params); + return gl::TexParameterxvContextANGLE(ctx, target, pname, params); } void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, @@ -10120,7 +9187,7 @@ void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, GLenum internalformat, GLsizei width) { - return GL_TexStorage1DEXTContextANGLE(ctx, target, levels, internalformat, width); + return gl::TexStorage1DEXTContextANGLE(ctx, target, levels, internalformat, width); } void GL_APIENTRY glTexStorage2DContextANGLE(GLeglContext ctx, @@ -10130,7 +9197,7 @@ void GL_APIENTRY glTexStorage2DContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_TexStorage2DContextANGLE(ctx, target, levels, internalformat, width, height); + return gl::TexStorage2DContextANGLE(ctx, target, levels, internalformat, width, height); } void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, @@ -10140,7 +9207,7 @@ void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, GLsizei width, GLsizei height) { - return GL_TexStorage2DEXTContextANGLE(ctx, target, levels, internalformat, width, height); + return gl::TexStorage2DEXTContextANGLE(ctx, target, levels, internalformat, width, height); } void GL_APIENTRY glTexStorage2DMultisampleContextANGLE(GLeglContext ctx, @@ -10151,8 +9218,8 @@ void GL_APIENTRY glTexStorage2DMultisampleContextANGLE(GLeglContext ctx, GLsizei height, GLboolean fixedsamplelocations) { - return GL_TexStorage2DMultisampleContextANGLE(ctx, target, samples, internalformat, width, - height, fixedsamplelocations); + return gl::TexStorage2DMultisampleContextANGLE(ctx, target, samples, internalformat, width, + height, fixedsamplelocations); } void GL_APIENTRY glTexStorage3DContextANGLE(GLeglContext ctx, @@ -10163,7 +9230,7 @@ void GL_APIENTRY glTexStorage3DContextANGLE(GLeglContext ctx, GLsizei height, GLsizei depth) { - return GL_TexStorage3DContextANGLE(ctx, target, levels, internalformat, width, height, depth); + return gl::TexStorage3DContextANGLE(ctx, target, levels, internalformat, width, height, depth); } void GL_APIENTRY glTexStorage3DEXTContextANGLE(GLeglContext ctx, @@ -10174,8 +9241,8 @@ void GL_APIENTRY glTexStorage3DEXTContextANGLE(GLeglContext ctx, GLsizei height, GLsizei depth) { - return GL_TexStorage3DEXTContextANGLE(ctx, target, levels, internalformat, width, height, - depth); + return gl::TexStorage3DEXTContextANGLE(ctx, target, levels, internalformat, width, height, + depth); } void GL_APIENTRY glTexStorage3DMultisampleContextANGLE(GLeglContext ctx, @@ -10187,8 +9254,8 @@ void GL_APIENTRY glTexStorage3DMultisampleContextANGLE(GLeglContext ctx, GLsizei depth, GLboolean fixedsamplelocations) { - return GL_TexStorage3DMultisampleContextANGLE(ctx, target, samples, internalformat, width, - height, depth, fixedsamplelocations); + return gl::TexStorage3DMultisampleContextANGLE(ctx, target, samples, internalformat, width, + height, depth, fixedsamplelocations); } void GL_APIENTRY glTexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, @@ -10200,8 +9267,8 @@ void GL_APIENTRY glTexStorage3DMultisampleOESContextANGLE(GLeglContext ctx, GLsizei depth, GLboolean fixedsamplelocations) { - return GL_TexStorage3DMultisampleOESContextANGLE(ctx, target, samples, internalformat, width, - height, depth, fixedsamplelocations); + return gl::TexStorage3DMultisampleOESContextANGLE(ctx, target, samples, internalformat, width, + height, depth, fixedsamplelocations); } void GL_APIENTRY glTexStorageMem2DEXTContextANGLE(GLeglContext ctx, @@ -10213,8 +9280,8 @@ void GL_APIENTRY glTexStorageMem2DEXTContextANGLE(GLeglContext ctx, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem2DEXTContextANGLE(ctx, target, levels, internalFormat, width, height, - memory, offset); + return gl::TexStorageMem2DEXTContextANGLE(ctx, target, levels, internalFormat, width, height, + memory, offset); } void GL_APIENTRY glTexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, @@ -10227,7 +9294,7 @@ void GL_APIENTRY glTexStorageMem2DMultisampleEXTContextANGLE(GLeglContext ctx, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem2DMultisampleEXTContextANGLE( + return gl::TexStorageMem2DMultisampleEXTContextANGLE( ctx, target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); } @@ -10241,8 +9308,8 @@ void GL_APIENTRY glTexStorageMem3DEXTContextANGLE(GLeglContext ctx, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem3DEXTContextANGLE(ctx, target, levels, internalFormat, width, height, - depth, memory, offset); + return gl::TexStorageMem3DEXTContextANGLE(ctx, target, levels, internalFormat, width, height, + depth, memory, offset); } void GL_APIENTRY glTexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, @@ -10256,9 +9323,9 @@ void GL_APIENTRY glTexStorageMem3DMultisampleEXTContextANGLE(GLeglContext ctx, GLuint memory, GLuint64 offset) { - return GL_TexStorageMem3DMultisampleEXTContextANGLE(ctx, target, samples, internalFormat, width, - height, depth, fixedSampleLocations, memory, - offset); + return gl::TexStorageMem3DMultisampleEXTContextANGLE(ctx, target, samples, internalFormat, + width, height, depth, fixedSampleLocations, + memory, offset); } void GL_APIENTRY glTexSubImage2DContextANGLE(GLeglContext ctx, @@ -10272,8 +9339,8 @@ void GL_APIENTRY glTexSubImage2DContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, height, format, - type, pixels); + return gl::TexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, height, + format, type, pixels); } void GL_APIENTRY glTexSubImage3DContextANGLE(GLeglContext ctx, @@ -10289,8 +9356,8 @@ void GL_APIENTRY glTexSubImage3DContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, - height, depth, format, type, pixels); + return gl::TexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, + height, depth, format, type, pixels); } void GL_APIENTRY glTexSubImage3DOESContextANGLE(GLeglContext ctx, @@ -10306,8 +9373,8 @@ void GL_APIENTRY glTexSubImage3DOESContextANGLE(GLeglContext ctx, GLenum type, const void *pixels) { - return GL_TexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, - height, depth, format, type, pixels); + return gl::TexSubImage3DOESContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, + height, depth, format, type, pixels); } void GL_APIENTRY glTransformFeedbackVaryingsContextANGLE(GLeglContext ctx, @@ -10316,22 +9383,22 @@ void GL_APIENTRY glTransformFeedbackVaryingsContextANGLE(GLeglContext ctx, const GLchar *const *varyings, GLenum bufferMode) { - return GL_TransformFeedbackVaryingsContextANGLE(ctx, program, count, varyings, bufferMode); + return gl::TransformFeedbackVaryingsContextANGLE(ctx, program, count, varyings, bufferMode); } void GL_APIENTRY glTranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) { - return GL_TranslatefContextANGLE(ctx, x, y, z); + return gl::TranslatefContextANGLE(ctx, x, y, z); } void GL_APIENTRY glTranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) { - return GL_TranslatexContextANGLE(ctx, x, y, z); + return gl::TranslatexContextANGLE(ctx, x, y, z); } void GL_APIENTRY glUniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) { - return GL_Uniform1fContextANGLE(ctx, location, v0); + return gl::Uniform1fContextANGLE(ctx, location, v0); } void GL_APIENTRY glUniform1fvContextANGLE(GLeglContext ctx, @@ -10339,12 +9406,12 @@ void GL_APIENTRY glUniform1fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_Uniform1fvContextANGLE(ctx, location, count, value); + return gl::Uniform1fvContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) { - return GL_Uniform1iContextANGLE(ctx, location, v0); + return gl::Uniform1iContextANGLE(ctx, location, v0); } void GL_APIENTRY glUniform1ivContextANGLE(GLeglContext ctx, @@ -10352,12 +9419,12 @@ void GL_APIENTRY glUniform1ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_Uniform1ivContextANGLE(ctx, location, count, value); + return gl::Uniform1ivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) { - return GL_Uniform1uiContextANGLE(ctx, location, v0); + return gl::Uniform1uiContextANGLE(ctx, location, v0); } void GL_APIENTRY glUniform1uivContextANGLE(GLeglContext ctx, @@ -10365,12 +9432,12 @@ void GL_APIENTRY glUniform1uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_Uniform1uivContextANGLE(ctx, location, count, value); + return gl::Uniform1uivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) { - return GL_Uniform2fContextANGLE(ctx, location, v0, v1); + return gl::Uniform2fContextANGLE(ctx, location, v0, v1); } void GL_APIENTRY glUniform2fvContextANGLE(GLeglContext ctx, @@ -10378,12 +9445,12 @@ void GL_APIENTRY glUniform2fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_Uniform2fvContextANGLE(ctx, location, count, value); + return gl::Uniform2fvContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) { - return GL_Uniform2iContextANGLE(ctx, location, v0, v1); + return gl::Uniform2iContextANGLE(ctx, location, v0, v1); } void GL_APIENTRY glUniform2ivContextANGLE(GLeglContext ctx, @@ -10391,12 +9458,12 @@ void GL_APIENTRY glUniform2ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_Uniform2ivContextANGLE(ctx, location, count, value); + return gl::Uniform2ivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) { - return GL_Uniform2uiContextANGLE(ctx, location, v0, v1); + return gl::Uniform2uiContextANGLE(ctx, location, v0, v1); } void GL_APIENTRY glUniform2uivContextANGLE(GLeglContext ctx, @@ -10404,13 +9471,13 @@ void GL_APIENTRY glUniform2uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_Uniform2uivContextANGLE(ctx, location, count, value); + return gl::Uniform2uivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { - return GL_Uniform3fContextANGLE(ctx, location, v0, v1, v2); + return gl::Uniform3fContextANGLE(ctx, location, v0, v1, v2); } void GL_APIENTRY glUniform3fvContextANGLE(GLeglContext ctx, @@ -10418,13 +9485,13 @@ void GL_APIENTRY glUniform3fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_Uniform3fvContextANGLE(ctx, location, count, value); + return gl::Uniform3fvContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) { - return GL_Uniform3iContextANGLE(ctx, location, v0, v1, v2); + return gl::Uniform3iContextANGLE(ctx, location, v0, v1, v2); } void GL_APIENTRY glUniform3ivContextANGLE(GLeglContext ctx, @@ -10432,13 +9499,13 @@ void GL_APIENTRY glUniform3ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_Uniform3ivContextANGLE(ctx, location, count, value); + return gl::Uniform3ivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) { - return GL_Uniform3uiContextANGLE(ctx, location, v0, v1, v2); + return gl::Uniform3uiContextANGLE(ctx, location, v0, v1, v2); } void GL_APIENTRY glUniform3uivContextANGLE(GLeglContext ctx, @@ -10446,7 +9513,7 @@ void GL_APIENTRY glUniform3uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_Uniform3uivContextANGLE(ctx, location, count, value); + return gl::Uniform3uivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform4fContextANGLE(GLeglContext ctx, @@ -10456,7 +9523,7 @@ void GL_APIENTRY glUniform4fContextANGLE(GLeglContext ctx, GLfloat v2, GLfloat v3) { - return GL_Uniform4fContextANGLE(ctx, location, v0, v1, v2, v3); + return gl::Uniform4fContextANGLE(ctx, location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4fvContextANGLE(GLeglContext ctx, @@ -10464,13 +9531,13 @@ void GL_APIENTRY glUniform4fvContextANGLE(GLeglContext ctx, GLsizei count, const GLfloat *value) { - return GL_Uniform4fvContextANGLE(ctx, location, count, value); + return gl::Uniform4fvContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { - return GL_Uniform4iContextANGLE(ctx, location, v0, v1, v2, v3); + return gl::Uniform4iContextANGLE(ctx, location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4ivContextANGLE(GLeglContext ctx, @@ -10478,7 +9545,7 @@ void GL_APIENTRY glUniform4ivContextANGLE(GLeglContext ctx, GLsizei count, const GLint *value) { - return GL_Uniform4ivContextANGLE(ctx, location, count, value); + return gl::Uniform4ivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniform4uiContextANGLE(GLeglContext ctx, @@ -10488,7 +9555,7 @@ void GL_APIENTRY glUniform4uiContextANGLE(GLeglContext ctx, GLuint v2, GLuint v3) { - return GL_Uniform4uiContextANGLE(ctx, location, v0, v1, v2, v3); + return gl::Uniform4uiContextANGLE(ctx, location, v0, v1, v2, v3); } void GL_APIENTRY glUniform4uivContextANGLE(GLeglContext ctx, @@ -10496,7 +9563,7 @@ void GL_APIENTRY glUniform4uivContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *value) { - return GL_Uniform4uivContextANGLE(ctx, location, count, value); + return gl::Uniform4uivContextANGLE(ctx, location, count, value); } void GL_APIENTRY glUniformBlockBindingContextANGLE(GLeglContext ctx, @@ -10504,7 +9571,8 @@ void GL_APIENTRY glUniformBlockBindingContextANGLE(GLeglContext ctx, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { - return GL_UniformBlockBindingContextANGLE(ctx, program, uniformBlockIndex, uniformBlockBinding); + return gl::UniformBlockBindingContextANGLE(ctx, program, uniformBlockIndex, + uniformBlockBinding); } void GL_APIENTRY glUniformMatrix2fvContextANGLE(GLeglContext ctx, @@ -10513,7 +9581,7 @@ void GL_APIENTRY glUniformMatrix2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix2fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix2x3fvContextANGLE(GLeglContext ctx, @@ -10522,7 +9590,7 @@ void GL_APIENTRY glUniformMatrix2x3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2x3fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix2x3fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix2x4fvContextANGLE(GLeglContext ctx, @@ -10531,7 +9599,7 @@ void GL_APIENTRY glUniformMatrix2x4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix2x4fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix2x4fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3fvContextANGLE(GLeglContext ctx, @@ -10540,7 +9608,7 @@ void GL_APIENTRY glUniformMatrix3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix3fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3x2fvContextANGLE(GLeglContext ctx, @@ -10549,7 +9617,7 @@ void GL_APIENTRY glUniformMatrix3x2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3x2fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix3x2fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix3x4fvContextANGLE(GLeglContext ctx, @@ -10558,7 +9626,7 @@ void GL_APIENTRY glUniformMatrix3x4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix3x4fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix3x4fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4fvContextANGLE(GLeglContext ctx, @@ -10567,7 +9635,7 @@ void GL_APIENTRY glUniformMatrix4fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix4fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4x2fvContextANGLE(GLeglContext ctx, @@ -10576,7 +9644,7 @@ void GL_APIENTRY glUniformMatrix4x2fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4x2fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix4x2fvContextANGLE(ctx, location, count, transpose, value); } void GL_APIENTRY glUniformMatrix4x3fvContextANGLE(GLeglContext ctx, @@ -10585,22 +9653,22 @@ void GL_APIENTRY glUniformMatrix4x3fvContextANGLE(GLeglContext ctx, GLboolean transpose, const GLfloat *value) { - return GL_UniformMatrix4x3fvContextANGLE(ctx, location, count, transpose, value); + return gl::UniformMatrix4x3fvContextANGLE(ctx, location, count, transpose, value); } GLboolean GL_APIENTRY glUnmapBufferContextANGLE(GLeglContext ctx, GLenum target) { - return GL_UnmapBufferContextANGLE(ctx, target); + return gl::UnmapBufferContextANGLE(ctx, target); } GLboolean GL_APIENTRY glUnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) { - return GL_UnmapBufferOESContextANGLE(ctx, target); + return gl::UnmapBufferOESContextANGLE(ctx, target); } void GL_APIENTRY glUseProgramContextANGLE(GLeglContext ctx, GLuint program) { - return GL_UseProgramContextANGLE(ctx, program); + return gl::UseProgramContextANGLE(ctx, program); } void GL_APIENTRY glUseProgramStagesContextANGLE(GLeglContext ctx, @@ -10608,61 +9676,48 @@ void GL_APIENTRY glUseProgramStagesContextANGLE(GLeglContext ctx, GLbitfield stages, GLuint program) { - return GL_UseProgramStagesContextANGLE(ctx, pipeline, stages, program); -} - -void GL_APIENTRY glUseProgramStagesEXTContextANGLE(GLeglContext ctx, - GLuint pipeline, - GLbitfield stages, - GLuint program) -{ - return GL_UseProgramStagesEXTContextANGLE(ctx, pipeline, stages, program); + return gl::UseProgramStagesContextANGLE(ctx, pipeline, stages, program); } void GL_APIENTRY glValidateProgramContextANGLE(GLeglContext ctx, GLuint program) { - return GL_ValidateProgramContextANGLE(ctx, program); + return gl::ValidateProgramContextANGLE(ctx, program); } void GL_APIENTRY glValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) { - return GL_ValidateProgramPipelineContextANGLE(ctx, pipeline); -} - -void GL_APIENTRY glValidateProgramPipelineEXTContextANGLE(GLeglContext ctx, GLuint pipeline) -{ - return GL_ValidateProgramPipelineEXTContextANGLE(ctx, pipeline); + return gl::ValidateProgramPipelineContextANGLE(ctx, pipeline); } void GL_APIENTRY glVertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) { - return GL_VertexAttrib1fContextANGLE(ctx, index, x); + return gl::VertexAttrib1fContextANGLE(ctx, index, x); } void GL_APIENTRY glVertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { - return GL_VertexAttrib1fvContextANGLE(ctx, index, v); + return gl::VertexAttrib1fvContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) { - return GL_VertexAttrib2fContextANGLE(ctx, index, x, y); + return gl::VertexAttrib2fContextANGLE(ctx, index, x, y); } void GL_APIENTRY glVertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { - return GL_VertexAttrib2fvContextANGLE(ctx, index, v); + return gl::VertexAttrib2fvContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) { - return GL_VertexAttrib3fContextANGLE(ctx, index, x, y, z); + return gl::VertexAttrib3fContextANGLE(ctx, index, x, y, z); } void GL_APIENTRY glVertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { - return GL_VertexAttrib3fvContextANGLE(ctx, index, v); + return gl::VertexAttrib3fvContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, @@ -10672,38 +9727,38 @@ void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, GLfloat z, GLfloat w) { - return GL_VertexAttrib4fContextANGLE(ctx, index, x, y, z, w); + return gl::VertexAttrib4fContextANGLE(ctx, index, x, y, z, w); } void GL_APIENTRY glVertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) { - return GL_VertexAttrib4fvContextANGLE(ctx, index, v); + return gl::VertexAttrib4fvContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttribBindingContextANGLE(GLeglContext ctx, GLuint attribindex, GLuint bindingindex) { - return GL_VertexAttribBindingContextANGLE(ctx, attribindex, bindingindex); + return gl::VertexAttribBindingContextANGLE(ctx, attribindex, bindingindex); } void GL_APIENTRY glVertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) { - return GL_VertexAttribDivisorContextANGLE(ctx, index, divisor); + return gl::VertexAttribDivisorContextANGLE(ctx, index, divisor); } void GL_APIENTRY glVertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) { - return GL_VertexAttribDivisorANGLEContextANGLE(ctx, index, divisor); + return gl::VertexAttribDivisorANGLEContextANGLE(ctx, index, divisor); } void GL_APIENTRY glVertexAttribDivisorEXTContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) { - return GL_VertexAttribDivisorEXTContextANGLE(ctx, index, divisor); + return gl::VertexAttribDivisorEXTContextANGLE(ctx, index, divisor); } void GL_APIENTRY glVertexAttribFormatContextANGLE(GLeglContext ctx, @@ -10713,19 +9768,19 @@ void GL_APIENTRY glVertexAttribFormatContextANGLE(GLeglContext ctx, GLboolean normalized, GLuint relativeoffset) { - return GL_VertexAttribFormatContextANGLE(ctx, attribindex, size, type, normalized, - relativeoffset); + return gl::VertexAttribFormatContextANGLE(ctx, attribindex, size, type, normalized, + relativeoffset); } void GL_APIENTRY glVertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) { - return GL_VertexAttribI4iContextANGLE(ctx, index, x, y, z, w); + return gl::VertexAttribI4iContextANGLE(ctx, index, x, y, z, w); } void GL_APIENTRY glVertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) { - return GL_VertexAttribI4ivContextANGLE(ctx, index, v); + return gl::VertexAttribI4ivContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttribI4uiContextANGLE(GLeglContext ctx, @@ -10735,12 +9790,12 @@ void GL_APIENTRY glVertexAttribI4uiContextANGLE(GLeglContext ctx, GLuint z, GLuint w) { - return GL_VertexAttribI4uiContextANGLE(ctx, index, x, y, z, w); + return gl::VertexAttribI4uiContextANGLE(ctx, index, x, y, z, w); } void GL_APIENTRY glVertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) { - return GL_VertexAttribI4uivContextANGLE(ctx, index, v); + return gl::VertexAttribI4uivContextANGLE(ctx, index, v); } void GL_APIENTRY glVertexAttribIFormatContextANGLE(GLeglContext ctx, @@ -10749,7 +9804,7 @@ void GL_APIENTRY glVertexAttribIFormatContextANGLE(GLeglContext ctx, GLenum type, GLuint relativeoffset) { - return GL_VertexAttribIFormatContextANGLE(ctx, attribindex, size, type, relativeoffset); + return gl::VertexAttribIFormatContextANGLE(ctx, attribindex, size, type, relativeoffset); } void GL_APIENTRY glVertexAttribIPointerContextANGLE(GLeglContext ctx, @@ -10759,7 +9814,7 @@ void GL_APIENTRY glVertexAttribIPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_VertexAttribIPointerContextANGLE(ctx, index, size, type, stride, pointer); + return gl::VertexAttribIPointerContextANGLE(ctx, index, size, type, stride, pointer); } void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, @@ -10770,14 +9825,14 @@ void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_VertexAttribPointerContextANGLE(ctx, index, size, type, normalized, stride, pointer); + return gl::VertexAttribPointerContextANGLE(ctx, index, size, type, normalized, stride, pointer); } void GL_APIENTRY glVertexBindingDivisorContextANGLE(GLeglContext ctx, GLuint bindingindex, GLuint divisor) { - return GL_VertexBindingDivisorContextANGLE(ctx, bindingindex, divisor); + return gl::VertexBindingDivisorContextANGLE(ctx, bindingindex, divisor); } void GL_APIENTRY glVertexPointerContextANGLE(GLeglContext ctx, @@ -10786,13 +9841,13 @@ void GL_APIENTRY glVertexPointerContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_VertexPointerContextANGLE(ctx, size, type, stride, pointer); + return gl::VertexPointerContextANGLE(ctx, size, type, stride, pointer); } void GL_APIENTRY glViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) { - return GL_ViewportContextANGLE(ctx, x, y, width, height); + return gl::ViewportContextANGLE(ctx, x, y, width, height); } void GL_APIENTRY glWaitSemaphoreEXTContextANGLE(GLeglContext ctx, @@ -10803,8 +9858,8 @@ void GL_APIENTRY glWaitSemaphoreEXTContextANGLE(GLeglContext ctx, const GLuint *textures, const GLenum *srcLayouts) { - return GL_WaitSemaphoreEXTContextANGLE(ctx, semaphore, numBufferBarriers, buffers, - numTextureBarriers, textures, srcLayouts); + return gl::WaitSemaphoreEXTContextANGLE(ctx, semaphore, numBufferBarriers, buffers, + numTextureBarriers, textures, srcLayouts); } void GL_APIENTRY glWaitSyncContextANGLE(GLeglContext ctx, @@ -10812,7 +9867,7 @@ void GL_APIENTRY glWaitSyncContextANGLE(GLeglContext ctx, GLbitfield flags, GLuint64 timeout) { - return GL_WaitSyncContextANGLE(ctx, sync, flags, timeout); + return gl::WaitSyncContextANGLE(ctx, sync, flags, timeout); } void GL_APIENTRY glWeightPointerOESContextANGLE(GLeglContext ctx, @@ -10821,7 +9876,7 @@ void GL_APIENTRY glWeightPointerOESContextANGLE(GLeglContext ctx, GLsizei stride, const void *pointer) { - return GL_WeightPointerOESContextANGLE(ctx, size, type, stride, pointer); + return gl::WeightPointerOESContextANGLE(ctx, size, type, stride, pointer); } void GL_APIENTRY glBindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, @@ -10829,12 +9884,12 @@ void GL_APIENTRY glBindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, GLint location, const GLchar *name) { - return GL_BindUniformLocationCHROMIUMContextANGLE(ctx, program, location, name); + return gl::BindUniformLocationCHROMIUMContextANGLE(ctx, program, location, name); } void GL_APIENTRY glCoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) { - return GL_CoverageModulationCHROMIUMContextANGLE(ctx, components); + return gl::CoverageModulationCHROMIUMContextANGLE(ctx, components); } void GL_APIENTRY glCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, @@ -10849,9 +9904,9 @@ void GL_APIENTRY glCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopyTextureCHROMIUMContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, - destLevel, internalFormat, destType, unpackFlipY, - unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + return gl::CopyTextureCHROMIUMContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, + destLevel, internalFormat, destType, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } void GL_APIENTRY glCopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, @@ -10870,7 +9925,7 @@ void GL_APIENTRY glCopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopySubTextureCHROMIUMContextANGLE( + return gl::CopySubTextureCHROMIUMContextANGLE( ctx, sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, y, width, height, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } @@ -10879,17 +9934,17 @@ void GL_APIENTRY glCompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, GLuint sourceId, GLuint destId) { - return GL_CompressedCopyTextureCHROMIUMContextANGLE(ctx, sourceId, destId); + return gl::CompressedCopyTextureCHROMIUMContextANGLE(ctx, sourceId, destId); } void GL_APIENTRY glRequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) { - return GL_RequestExtensionANGLEContextANGLE(ctx, name); + return gl::RequestExtensionANGLEContextANGLE(ctx, name); } void GL_APIENTRY glDisableExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) { - return GL_DisableExtensionANGLEContextANGLE(ctx, name); + return gl::DisableExtensionANGLEContextANGLE(ctx, name); } void GL_APIENTRY glGetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, @@ -10898,7 +9953,7 @@ void GL_APIENTRY glGetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLboolean *params) { - return GL_GetBooleanvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); + return gl::GetBooleanvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); } void GL_APIENTRY glGetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10908,8 +9963,8 @@ void GL_APIENTRY glGetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetBufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetBufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetFloatvRobustANGLEContextANGLE(GLeglContext ctx, @@ -10918,7 +9973,7 @@ void GL_APIENTRY glGetFloatvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *params) { - return GL_GetFloatvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); + return gl::GetFloatvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); } void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10929,7 +9984,7 @@ void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GL GLsizei *length, GLint *params) { - return GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE( + return gl::GetFramebufferAttachmentParameterivRobustANGLEContextANGLE( ctx, target, attachment, pname, bufSize, length, params); } @@ -10939,7 +9994,7 @@ void GL_APIENTRY glGetIntegervRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *data) { - return GL_GetIntegervRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); + return gl::GetIntegervRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); } void GL_APIENTRY glGetProgramivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10949,7 +10004,7 @@ void GL_APIENTRY glGetProgramivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetProgramivRobustANGLEContextANGLE(ctx, program, pname, bufSize, length, params); + return gl::GetProgramivRobustANGLEContextANGLE(ctx, program, pname, bufSize, length, params); } void GL_APIENTRY glGetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10959,8 +10014,8 @@ void GL_APIENTRY glGetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContex GLsizei *length, GLint *params) { - return GL_GetRenderbufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetRenderbufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, + length, params); } void GL_APIENTRY glGetShaderivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10970,7 +10025,7 @@ void GL_APIENTRY glGetShaderivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetShaderivRobustANGLEContextANGLE(ctx, shader, pname, bufSize, length, params); + return gl::GetShaderivRobustANGLEContextANGLE(ctx, shader, pname, bufSize, length, params); } void GL_APIENTRY glGetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -10980,7 +10035,8 @@ void GL_APIENTRY glGetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *params) { - return GL_GetTexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); + return gl::GetTexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -10990,7 +10046,8 @@ void GL_APIENTRY glGetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetTexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); + return gl::GetTexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11000,7 +10057,7 @@ void GL_APIENTRY glGetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *params) { - return GL_GetUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); + return gl::GetUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); } void GL_APIENTRY glGetUniformivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11010,7 +10067,7 @@ void GL_APIENTRY glGetUniformivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); + return gl::GetUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11020,7 +10077,7 @@ void GL_APIENTRY glGetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *params) { - return GL_GetVertexAttribfvRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); + return gl::GetVertexAttribfvRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11030,7 +10087,7 @@ void GL_APIENTRY glGetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetVertexAttribivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); + return gl::GetVertexAttribivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); } void GL_APIENTRY glGetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, @@ -11040,8 +10097,8 @@ void GL_APIENTRY glGetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext c GLsizei *length, void **pointer) { - return GL_GetVertexAttribPointervRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, - pointer); + return gl::GetVertexAttribPointervRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + pointer); } void GL_APIENTRY glReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, @@ -11057,8 +10114,8 @@ void GL_APIENTRY glReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *rows, void *pixels) { - return GL_ReadPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, - length, columns, rows, pixels); + return gl::ReadPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, + length, columns, rows, pixels); } void GL_APIENTRY glTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11073,8 +10130,8 @@ void GL_APIENTRY glTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const void *pixels) { - return GL_TexImage2DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, - border, format, type, bufSize, pixels); + return gl::TexImage2DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, + border, format, type, bufSize, pixels); } void GL_APIENTRY glTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11083,7 +10140,7 @@ void GL_APIENTRY glTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLfloat *params) { - return GL_TexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); + return gl::TexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); } void GL_APIENTRY glTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11092,7 +10149,7 @@ void GL_APIENTRY glTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLint *params) { - return GL_TexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); + return gl::TexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); } void GL_APIENTRY glTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11107,8 +10164,8 @@ void GL_APIENTRY glTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const void *pixels) { - return GL_TexSubImage2DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, width, - height, format, type, bufSize, pixels); + return gl::TexSubImage2DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, width, + height, format, type, bufSize, pixels); } void GL_APIENTRY glTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11124,8 +10181,8 @@ void GL_APIENTRY glTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const void *pixels) { - return GL_TexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, - depth, border, format, type, bufSize, pixels); + return gl::TexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, + depth, border, format, type, bufSize, pixels); } void GL_APIENTRY glTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11142,9 +10199,9 @@ void GL_APIENTRY glTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const void *pixels) { - return GL_TexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, - width, height, depth, format, type, bufSize, - pixels); + return gl::TexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, + width, height, depth, format, type, bufSize, + pixels); } void GL_APIENTRY glCompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11158,7 +10215,7 @@ void GL_APIENTRY glCompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexImage2DRobustANGLEContextANGLE( + return gl::CompressedTexImage2DRobustANGLEContextANGLE( ctx, target, level, internalformat, width, height, border, imageSize, dataSize, data); } @@ -11174,7 +10231,7 @@ void GL_APIENTRY glCompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext c GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexSubImage2DRobustANGLEContextANGLE( + return gl::CompressedTexSubImage2DRobustANGLEContextANGLE( ctx, target, level, xoffset, yoffset, width, height, format, imageSize, dataSize, data); } @@ -11190,9 +10247,9 @@ void GL_APIENTRY glCompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, - height, depth, border, imageSize, - dataSize, data); + return gl::CompressedTexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, + width, height, depth, border, imageSize, + dataSize, data); } void GL_APIENTRY glCompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, @@ -11209,9 +10266,9 @@ void GL_APIENTRY glCompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext c GLsizei dataSize, const GLvoid *data) { - return GL_CompressedTexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, - zoffset, width, height, depth, format, - imageSize, dataSize, data); + return gl::CompressedTexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, + zoffset, width, height, depth, format, + imageSize, dataSize, data); } void GL_APIENTRY glGetQueryivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11221,7 +10278,7 @@ void GL_APIENTRY glGetQueryivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetQueryivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); + return gl::GetQueryivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11231,7 +10288,7 @@ void GL_APIENTRY glGetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint *params) { - return GL_GetQueryObjectuivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); + return gl::GetQueryObjectuivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); } void GL_APIENTRY glGetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, @@ -11241,7 +10298,8 @@ void GL_APIENTRY glGetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, void **params) { - return GL_GetBufferPointervRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); + return gl::GetBufferPointervRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11251,7 +10309,7 @@ void GL_APIENTRY glGetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *data) { - return GL_GetIntegeri_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); + return gl::GetIntegeri_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); } void GL_APIENTRY glGetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, @@ -11262,8 +10320,8 @@ void GL_APIENTRY glGetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetInternalformativRobustANGLEContextANGLE(ctx, target, internalformat, pname, - bufSize, length, params); + return gl::GetInternalformativRobustANGLEContextANGLE(ctx, target, internalformat, pname, + bufSize, length, params); } void GL_APIENTRY glGetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11273,7 +10331,8 @@ void GL_APIENTRY glGetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetVertexAttribIivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); + return gl::GetVertexAttribIivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + params); } void GL_APIENTRY glGetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11283,8 +10342,8 @@ void GL_APIENTRY glGetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint *params) { - return GL_GetVertexAttribIuivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, - params); + return gl::GetVertexAttribIuivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + params); } void GL_APIENTRY glGetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11294,7 +10353,8 @@ void GL_APIENTRY glGetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint *params) { - return GL_GetUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); + return gl::GetUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); } void GL_APIENTRY glGetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11305,8 +10365,8 @@ void GL_APIENTRY glGetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext c GLsizei *length, GLint *params) { - return GL_GetActiveUniformBlockivRobustANGLEContextANGLE(ctx, program, uniformBlockIndex, pname, - bufSize, length, params); + return gl::GetActiveUniformBlockivRobustANGLEContextANGLE(ctx, program, uniformBlockIndex, + pname, bufSize, length, params); } void GL_APIENTRY glGetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11315,7 +10375,7 @@ void GL_APIENTRY glGetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint64 *data) { - return GL_GetInteger64vRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); + return gl::GetInteger64vRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); } void GL_APIENTRY glGetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11325,7 +10385,7 @@ void GL_APIENTRY glGetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint64 *data) { - return GL_GetInteger64i_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); + return gl::GetInteger64i_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); } void GL_APIENTRY glGetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11335,8 +10395,8 @@ void GL_APIENTRY glGetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ct GLsizei *length, GLint64 *params) { - return GL_GetBufferParameteri64vRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetBufferParameteri64vRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11345,7 +10405,7 @@ void GL_APIENTRY glSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLint *param) { - return GL_SamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); + return gl::SamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); } void GL_APIENTRY glSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11354,7 +10414,7 @@ void GL_APIENTRY glSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLfloat *param) { - return GL_SamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); + return gl::SamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); } void GL_APIENTRY glGetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11364,8 +10424,8 @@ void GL_APIENTRY glGetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx GLsizei *length, GLint *params) { - return GL_GetSamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, - params); + return gl::GetSamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); } void GL_APIENTRY glGetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11375,8 +10435,8 @@ void GL_APIENTRY glGetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx GLsizei *length, GLfloat *params) { - return GL_GetSamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, - params); + return gl::GetSamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); } void GL_APIENTRY glGetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11386,8 +10446,8 @@ void GL_APIENTRY glGetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext GLsizei *length, GLint *params) { - return GL_GetFramebufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetFramebufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11398,8 +10458,8 @@ void GL_APIENTRY glGetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx GLsizei *length, GLint *params) { - return GL_GetProgramInterfaceivRobustANGLEContextANGLE(ctx, program, programInterface, pname, - bufSize, length, params); + return gl::GetProgramInterfaceivRobustANGLEContextANGLE(ctx, program, programInterface, pname, + bufSize, length, params); } void GL_APIENTRY glGetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11409,7 +10469,7 @@ void GL_APIENTRY glGetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLboolean *data) { - return GL_GetBooleani_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); + return gl::GetBooleani_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); } void GL_APIENTRY glGetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11419,7 +10479,7 @@ void GL_APIENTRY glGetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *val) { - return GL_GetMultisamplefvRobustANGLEContextANGLE(ctx, pname, index, bufSize, length, val); + return gl::GetMultisamplefvRobustANGLEContextANGLE(ctx, pname, index, bufSize, length, val); } void GL_APIENTRY glGetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11430,8 +10490,8 @@ void GL_APIENTRY glGetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ct GLsizei *length, GLint *params) { - return GL_GetTexLevelParameterivRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, - length, params); + return gl::GetTexLevelParameterivRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, + length, params); } void GL_APIENTRY glGetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11442,8 +10502,8 @@ void GL_APIENTRY glGetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ct GLsizei *length, GLfloat *params) { - return GL_GetTexLevelParameterfvRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, - length, params); + return gl::GetTexLevelParameterfvRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, + length, params); } void GL_APIENTRY glGetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, @@ -11452,7 +10512,7 @@ void GL_APIENTRY glGetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ct GLsizei *length, void **params) { - return GL_GetPointervRobustANGLERobustANGLEContextANGLE(ctx, pname, bufSize, length, params); + return gl::GetPointervRobustANGLERobustANGLEContextANGLE(ctx, pname, bufSize, length, params); } void GL_APIENTRY glReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, @@ -11468,8 +10528,8 @@ void GL_APIENTRY glReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *rows, void *data) { - return GL_ReadnPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, - length, columns, rows, data); + return gl::ReadnPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, + length, columns, rows, data); } void GL_APIENTRY glGetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, @@ -11479,7 +10539,8 @@ void GL_APIENTRY glGetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLfloat *params) { - return GL_GetnUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); + return gl::GetnUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); } void GL_APIENTRY glGetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11489,7 +10550,8 @@ void GL_APIENTRY glGetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetnUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); + return gl::GetnUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); } void GL_APIENTRY glGetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11499,8 +10561,8 @@ void GL_APIENTRY glGetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint *params) { - return GL_GetnUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, - params); + return gl::GetnUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); } void GL_APIENTRY glTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11509,7 +10571,7 @@ void GL_APIENTRY glTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLint *params) { - return GL_TexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); + return gl::TexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); } void GL_APIENTRY glTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11518,7 +10580,7 @@ void GL_APIENTRY glTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLuint *params) { - return GL_TexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); + return gl::TexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); } void GL_APIENTRY glGetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11528,8 +10590,8 @@ void GL_APIENTRY glGetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetTexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetTexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glGetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11539,8 +10601,8 @@ void GL_APIENTRY glGetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint *params) { - return GL_GetTexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, - params); + return gl::GetTexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); } void GL_APIENTRY glSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11549,7 +10611,7 @@ void GL_APIENTRY glSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLint *param) { - return GL_SamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); + return gl::SamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); } void GL_APIENTRY glSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11558,7 +10620,7 @@ void GL_APIENTRY glSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei bufSize, const GLuint *param) { - return GL_SamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); + return gl::SamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); } void GL_APIENTRY glGetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11568,8 +10630,8 @@ void GL_APIENTRY glGetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ct GLsizei *length, GLint *params) { - return GL_GetSamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, - params); + return gl::GetSamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); } void GL_APIENTRY glGetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11579,8 +10641,8 @@ void GL_APIENTRY glGetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext c GLsizei *length, GLuint *params) { - return GL_GetSamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, - params); + return gl::GetSamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); } void GL_APIENTRY glGetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, @@ -11590,7 +10652,7 @@ void GL_APIENTRY glGetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint *params) { - return GL_GetQueryObjectivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); + return gl::GetQueryObjectivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11600,7 +10662,7 @@ void GL_APIENTRY glGetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLint64 *params) { - return GL_GetQueryObjecti64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); + return gl::GetQueryObjecti64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); } void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, @@ -11610,7 +10672,7 @@ void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, GLsizei *length, GLuint64 *params) { - return GL_GetQueryObjectui64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); + return gl::GetQueryObjectui64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); } void GL_APIENTRY glCopyTexture3DANGLEContextANGLE(GLeglContext ctx, @@ -11625,9 +10687,9 @@ void GL_APIENTRY glCopyTexture3DANGLEContextANGLE(GLeglContext ctx, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopyTexture3DANGLEContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, - destLevel, internalFormat, destType, unpackFlipY, - unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + return gl::CopyTexture3DANGLEContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, + destLevel, internalFormat, destType, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } void GL_APIENTRY glCopySubTexture3DANGLEContextANGLE(GLeglContext ctx, @@ -11649,7 +10711,7 @@ void GL_APIENTRY glCopySubTexture3DANGLEContextANGLE(GLeglContext ctx, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha) { - return GL_CopySubTexture3DANGLEContextANGLE( + return gl::CopySubTexture3DANGLEContextANGLE( ctx, sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, zoffset, x, y, z, width, height, depth, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); } @@ -11662,8 +10724,8 @@ void GL_APIENTRY glTexStorage2DMultisampleANGLEContextANGLE(GLeglContext ctx, GLsizei height, GLboolean fixedsamplelocations) { - return GL_TexStorage2DMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, width, - height, fixedsamplelocations); + return gl::TexStorage2DMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, width, + height, fixedsamplelocations); } void GL_APIENTRY glGetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, @@ -11672,7 +10734,7 @@ void GL_APIENTRY glGetTexLevelParameterivANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLint *params) { - return GL_GetTexLevelParameterivANGLEContextANGLE(ctx, target, level, pname, params); + return gl::GetTexLevelParameterivANGLEContextANGLE(ctx, target, level, pname, params); } void GL_APIENTRY glGetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, @@ -11681,7 +10743,7 @@ void GL_APIENTRY glGetTexLevelParameterfvANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *params) { - return GL_GetTexLevelParameterfvANGLEContextANGLE(ctx, target, level, pname, params); + return gl::GetTexLevelParameterfvANGLEContextANGLE(ctx, target, level, pname, params); } void GL_APIENTRY glMultiDrawArraysANGLEContextANGLE(GLeglContext ctx, @@ -11690,7 +10752,7 @@ void GL_APIENTRY glMultiDrawArraysANGLEContextANGLE(GLeglContext ctx, const GLsizei *counts, GLsizei drawcount) { - return GL_MultiDrawArraysANGLEContextANGLE(ctx, mode, firsts, counts, drawcount); + return gl::MultiDrawArraysANGLEContextANGLE(ctx, mode, firsts, counts, drawcount); } void GL_APIENTRY glMultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, @@ -11700,8 +10762,8 @@ void GL_APIENTRY glMultiDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, const GLsizei *instanceCounts, GLsizei drawcount) { - return GL_MultiDrawArraysInstancedANGLEContextANGLE(ctx, mode, firsts, counts, instanceCounts, - drawcount); + return gl::MultiDrawArraysInstancedANGLEContextANGLE(ctx, mode, firsts, counts, instanceCounts, + drawcount); } void GL_APIENTRY glMultiDrawElementsANGLEContextANGLE(GLeglContext ctx, @@ -11711,7 +10773,7 @@ void GL_APIENTRY glMultiDrawElementsANGLEContextANGLE(GLeglContext ctx, const GLvoid *const *indices, GLsizei drawcount) { - return GL_MultiDrawElementsANGLEContextANGLE(ctx, mode, counts, type, indices, drawcount); + return gl::MultiDrawElementsANGLEContextANGLE(ctx, mode, counts, type, indices, drawcount); } void GL_APIENTRY glMultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, @@ -11722,8 +10784,8 @@ void GL_APIENTRY glMultiDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, const GLsizei *instanceCounts, GLsizei drawcount) { - return GL_MultiDrawElementsInstancedANGLEContextANGLE(ctx, mode, counts, type, indices, - instanceCounts, drawcount); + return gl::MultiDrawElementsInstancedANGLEContextANGLE(ctx, mode, counts, type, indices, + instanceCounts, drawcount); } void GL_APIENTRY glDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, @@ -11733,8 +10795,8 @@ void GL_APIENTRY glDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext GLsizei instanceCount, GLuint baseInstance) { - return GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE(ctx, mode, first, count, - instanceCount, baseInstance); + return gl::DrawArraysInstancedBaseInstanceANGLEContextANGLE(ctx, mode, first, count, + instanceCount, baseInstance); } void GL_APIENTRY @@ -11747,7 +10809,7 @@ glDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext ctx, GLint baseVertex, GLuint baseInstance) { - return GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE( + return gl::DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE( ctx, mode, count, type, indices, instanceCounts, baseVertex, baseInstance); } @@ -11760,7 +10822,7 @@ glMultiDrawArraysInstancedBaseInstanceANGLEContextANGLE(GLeglContext ctx, const GLuint *baseInstances, GLsizei drawcount) { - return GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE( + return gl::MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE( ctx, mode, firsts, counts, instanceCounts, baseInstances, drawcount); } @@ -11775,7 +10837,7 @@ glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE(GLeglContext const GLuint *baseInstances, GLsizei drawcount) { - return GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE( + return gl::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE( ctx, mode, counts, type, indices, instanceCounts, baseVertices, baseInstances, drawcount); } @@ -11784,24 +10846,24 @@ void GL_APIENTRY glGetMultisamplefvANGLEContextANGLE(GLeglContext ctx, GLuint index, GLfloat *val) { - return GL_GetMultisamplefvANGLEContextANGLE(ctx, pname, index, val); + return gl::GetMultisamplefvANGLEContextANGLE(ctx, pname, index, val); } void GL_APIENTRY glSampleMaskiANGLEContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) { - return GL_SampleMaskiANGLEContextANGLE(ctx, maskNumber, mask); + return gl::SampleMaskiANGLEContextANGLE(ctx, maskNumber, mask); } void GL_APIENTRY glProvokingVertexANGLEContextANGLE(GLeglContext ctx, GLenum mode) { - return GL_ProvokingVertexANGLEContextANGLE(ctx, mode); + return gl::ProvokingVertexANGLEContextANGLE(ctx, mode); } void GL_APIENTRY glLoseContextCHROMIUMContextANGLE(GLeglContext ctx, GLenum current, GLenum other) { - return GL_LoseContextCHROMIUMContextANGLE(ctx, current, other); + return gl::LoseContextCHROMIUMContextANGLE(ctx, current, other); } void GL_APIENTRY glTexImage2DExternalANGLEContextANGLE(GLeglContext ctx, @@ -11814,13 +10876,13 @@ void GL_APIENTRY glTexImage2DExternalANGLEContextANGLE(GLeglContext ctx, GLenum format, GLenum type) { - return GL_TexImage2DExternalANGLEContextANGLE(ctx, target, level, internalformat, width, height, - border, format, type); + return gl::TexImage2DExternalANGLEContextANGLE(ctx, target, level, internalformat, width, + height, border, format, type); } void GL_APIENTRY glInvalidateTextureANGLEContextANGLE(GLeglContext ctx, GLenum target) { - return GL_InvalidateTextureANGLEContextANGLE(ctx, target); + return gl::InvalidateTextureANGLEContextANGLE(ctx, target); } void GL_APIENTRY glGetTexImageANGLEContextANGLE(GLeglContext ctx, @@ -11830,7 +10892,7 @@ void GL_APIENTRY glGetTexImageANGLEContextANGLE(GLeglContext ctx, GLenum type, void *pixels) { - return GL_GetTexImageANGLEContextANGLE(ctx, target, level, format, type, pixels); + return gl::GetTexImageANGLEContextANGLE(ctx, target, level, format, type, pixels); } void GL_APIENTRY glGetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, @@ -11839,7 +10901,7 @@ void GL_APIENTRY glGetRenderbufferImageANGLEContextANGLE(GLeglContext ctx, GLenum type, void *pixels) { - return GL_GetRenderbufferImageANGLEContextANGLE(ctx, target, format, type, pixels); + return gl::GetRenderbufferImageANGLEContextANGLE(ctx, target, format, type, pixels); } void GL_APIENTRY glTexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, @@ -11853,9 +10915,9 @@ void GL_APIENTRY glTexStorageMemFlags2DANGLEContextANGLE(GLeglContext ctx, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags2DANGLEContextANGLE(ctx, target, levels, internalFormat, width, - height, memory, offset, createFlags, - usageFlags); + return gl::TexStorageMemFlags2DANGLEContextANGLE(ctx, target, levels, internalFormat, width, + height, memory, offset, createFlags, + usageFlags); } void GL_APIENTRY glTexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext ctx, @@ -11870,7 +10932,7 @@ void GL_APIENTRY glTexStorageMemFlags2DMultisampleANGLEContextANGLE(GLeglContext GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE( + return gl::TexStorageMemFlags2DMultisampleANGLEContextANGLE( ctx, target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset, createFlags, usageFlags); } @@ -11887,9 +10949,9 @@ void GL_APIENTRY glTexStorageMemFlags3DANGLEContextANGLE(GLeglContext ctx, GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags3DANGLEContextANGLE(ctx, target, levels, internalFormat, width, - height, depth, memory, offset, createFlags, - usageFlags); + return gl::TexStorageMemFlags3DANGLEContextANGLE(ctx, target, levels, internalFormat, width, + height, depth, memory, offset, createFlags, + usageFlags); } void GL_APIENTRY glTexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext ctx, @@ -11905,7 +10967,7 @@ void GL_APIENTRY glTexStorageMemFlags3DMultisampleANGLEContextANGLE(GLeglContext GLbitfield createFlags, GLbitfield usageFlags) { - return GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE( + return gl::TexStorageMemFlags3DMultisampleANGLEContextANGLE( ctx, target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset, createFlags, usageFlags); } @@ -11916,7 +10978,7 @@ void GL_APIENTRY glImportMemoryZirconHandleANGLEContextANGLE(GLeglContext ctx, GLenum handleType, GLuint handle) { - return GL_ImportMemoryZirconHandleANGLEContextANGLE(ctx, memory, size, handleType, handle); + return gl::ImportMemoryZirconHandleANGLEContextANGLE(ctx, memory, size, handleType, handle); } void GL_APIENTRY glImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx, @@ -11924,7 +10986,7 @@ void GL_APIENTRY glImportSemaphoreZirconHandleANGLEContextANGLE(GLeglContext ctx GLenum handleType, GLuint handle) { - return GL_ImportSemaphoreZirconHandleANGLEContextANGLE(ctx, semaphore, handleType, handle); + return gl::ImportSemaphoreZirconHandleANGLEContextANGLE(ctx, semaphore, handleType, handle); } } // extern "C" diff --git a/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.def b/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.def index 86ecbc0a72b0..3f55cfe2f170 100644 --- a/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.def +++ b/gfx/angle/checkout/src/libGLESv2/libGLESv2_autogen.def @@ -612,8 +612,6 @@ EXPORTS ; GL_EXT_EGL_image_array - ; GL_EXT_YUV_target - ; GL_EXT_blend_func_extended glBindFragDataLocationEXT glBindFragDataLocationIndexedEXT @@ -623,16 +621,9 @@ EXPORTS ; GL_EXT_buffer_storage glBufferStorageEXT - ; GL_EXT_clip_control - glClipControlEXT - ; GL_EXT_copy_image glCopyImageSubDataEXT - ; GL_EXT_debug_label - glGetObjectLabelEXT - glLabelObjectEXT - ; GL_EXT_debug_marker glInsertEventMarkerEXT glPopGroupMarkerEXT @@ -713,9 +704,6 @@ EXPORTS ; GL_EXT_occlusion_query_boolean - ; GL_EXT_primitive_bounding_box - glPrimitiveBoundingBoxEXT - ; GL_EXT_read_format_bgra ; GL_EXT_robustness @@ -738,70 +726,6 @@ EXPORTS ; GL_EXT_semaphore_fd glImportSemaphoreFdEXT - ; GL_EXT_separate_shader_objects - glActiveShaderProgramEXT - glBindProgramPipelineEXT - glCreateShaderProgramvEXT - glDeleteProgramPipelinesEXT - glGenProgramPipelinesEXT - glGetProgramPipelineInfoLogEXT - glGetProgramPipelineivEXT - glIsProgramPipelineEXT - glProgramParameteriEXT - glProgramUniform1fEXT - glProgramUniform1fvEXT - glProgramUniform1iEXT - glProgramUniform1ivEXT - glProgramUniform1uiEXT - glProgramUniform1uivEXT - glProgramUniform2fEXT - glProgramUniform2fvEXT - glProgramUniform2iEXT - glProgramUniform2ivEXT - glProgramUniform2uiEXT - glProgramUniform2uivEXT - glProgramUniform3fEXT - glProgramUniform3fvEXT - glProgramUniform3iEXT - glProgramUniform3ivEXT - glProgramUniform3uiEXT - glProgramUniform3uivEXT - glProgramUniform4fEXT - glProgramUniform4fvEXT - glProgramUniform4iEXT - glProgramUniform4ivEXT - glProgramUniform4uiEXT - glProgramUniform4uivEXT - glProgramUniformMatrix2fvEXT - glProgramUniformMatrix2x3fvEXT - glProgramUniformMatrix2x4fvEXT - glProgramUniformMatrix3fvEXT - glProgramUniformMatrix3x2fvEXT - glProgramUniformMatrix3x4fvEXT - glProgramUniformMatrix4fvEXT - glProgramUniformMatrix4x2fvEXT - glProgramUniformMatrix4x3fvEXT - glUseProgramStagesEXT - glValidateProgramPipelineEXT - - ; GL_EXT_shader_framebuffer_fetch_non_coherent - glFramebufferFetchBarrierEXT - - ; GL_EXT_shader_io_blocks - - ; GL_EXT_tessellation_shader - glPatchParameteriEXT - - ; GL_EXT_texture_border_clamp - glGetSamplerParameterIivEXT - glGetSamplerParameterIuivEXT - glGetTexParameterIivEXT - glGetTexParameterIuivEXT - glSamplerParameterIivEXT - glSamplerParameterIuivEXT - glTexParameterIivEXT - glTexParameterIuivEXT - ; GL_EXT_texture_buffer glTexBufferEXT glTexBufferRangeEXT @@ -824,16 +748,11 @@ EXPORTS ; GL_EXT_texture_sRGB_R8 - ; GL_EXT_texture_sRGB_RG8 - ; GL_EXT_texture_storage glTexStorage1DEXT glTexStorage2DEXT glTexStorage3DEXT - ; GL_KHR_blend_equation_advanced - glBlendBarrierKHR - ; GL_KHR_debug glDebugMessageCallbackKHR glDebugMessageControlKHR @@ -859,9 +778,6 @@ EXPORTS glSetFenceNV glTestFenceNV - ; GL_NV_framebuffer_blit - glBlitFramebufferNV - ; GL_OES_EGL_image glEGLImageTargetRenderbufferStorageOES glEGLImageTargetTexture2DOES @@ -939,8 +855,6 @@ EXPORTS ; GL_OES_sample_shading glMinSampleShadingOES - ; GL_OES_shader_io_blocks - ; GL_OES_texture_3D glCompressedTexImage3DOES glCompressedTexSubImage3DOES @@ -996,7 +910,6 @@ EXPORTS ; EGL_ANGLE_explicit_context glActiveShaderProgramContextANGLE - glActiveShaderProgramEXTContextANGLE glActiveTextureContextANGLE glAlphaFuncContextANGLE glAlphaFuncxContextANGLE @@ -1014,7 +927,6 @@ EXPORTS glBindFramebufferOESContextANGLE glBindImageTextureContextANGLE glBindProgramPipelineContextANGLE - glBindProgramPipelineEXTContextANGLE glBindRenderbufferContextANGLE glBindRenderbufferOESContextANGLE glBindSamplerContextANGLE @@ -1025,7 +937,6 @@ EXPORTS glBindVertexArrayOESContextANGLE glBindVertexBufferContextANGLE glBlendBarrierContextANGLE - glBlendBarrierKHRContextANGLE glBlendColorContextANGLE glBlendEquationContextANGLE glBlendEquationSeparateContextANGLE @@ -1045,7 +956,6 @@ EXPORTS glBlendFunciOESContextANGLE glBlitFramebufferContextANGLE glBlitFramebufferANGLEContextANGLE - glBlitFramebufferNVContextANGLE glBufferDataContextANGLE glBufferStorageEXTContextANGLE glBufferStorageExternalEXTContextANGLE @@ -1065,7 +975,6 @@ EXPORTS glClearStencilContextANGLE glClientActiveTextureContextANGLE glClientWaitSyncContextANGLE - glClipControlEXTContextANGLE glClipPlanefContextANGLE glClipPlanexContextANGLE glColor4fContextANGLE @@ -1105,7 +1014,6 @@ EXPORTS glCreateProgramContextANGLE glCreateShaderContextANGLE glCreateShaderProgramvContextANGLE - glCreateShaderProgramvEXTContextANGLE glCullFaceContextANGLE glCurrentPaletteMatrixOESContextANGLE glDebugMessageCallbackContextANGLE @@ -1121,7 +1029,6 @@ EXPORTS glDeleteMemoryObjectsEXTContextANGLE glDeleteProgramContextANGLE glDeleteProgramPipelinesContextANGLE - glDeleteProgramPipelinesEXTContextANGLE glDeleteQueriesContextANGLE glDeleteQueriesEXTContextANGLE glDeleteRenderbuffersContextANGLE @@ -1202,7 +1109,6 @@ EXPORTS glFogfvContextANGLE glFogxContextANGLE glFogxvContextANGLE - glFramebufferFetchBarrierEXTContextANGLE glFramebufferParameteriContextANGLE glFramebufferRenderbufferContextANGLE glFramebufferRenderbufferOESContextANGLE @@ -1222,7 +1128,6 @@ EXPORTS glGenFramebuffersContextANGLE glGenFramebuffersOESContextANGLE glGenProgramPipelinesContextANGLE - glGenProgramPipelinesEXTContextANGLE glGenQueriesContextANGLE glGenQueriesEXTContextANGLE glGenRenderbuffersContextANGLE @@ -1292,7 +1197,6 @@ EXPORTS glGetMultisamplefvANGLEContextANGLE glGetMultisamplefvRobustANGLEContextANGLE glGetObjectLabelContextANGLE - glGetObjectLabelEXTContextANGLE glGetObjectLabelKHRContextANGLE glGetObjectPtrLabelContextANGLE glGetObjectPtrLabelKHRContextANGLE @@ -1305,9 +1209,7 @@ EXPORTS glGetProgramInterfaceivContextANGLE glGetProgramInterfaceivRobustANGLEContextANGLE glGetProgramPipelineInfoLogContextANGLE - glGetProgramPipelineInfoLogEXTContextANGLE glGetProgramPipelineivContextANGLE - glGetProgramPipelineivEXTContextANGLE glGetProgramResourceIndexContextANGLE glGetProgramResourceLocationContextANGLE glGetProgramResourceLocationIndexEXTContextANGLE @@ -1332,11 +1234,9 @@ EXPORTS glGetRenderbufferParameterivOESContextANGLE glGetRenderbufferParameterivRobustANGLEContextANGLE glGetSamplerParameterIivContextANGLE - glGetSamplerParameterIivEXTContextANGLE glGetSamplerParameterIivOESContextANGLE glGetSamplerParameterIivRobustANGLEContextANGLE glGetSamplerParameterIuivContextANGLE - glGetSamplerParameterIuivEXTContextANGLE glGetSamplerParameterIuivOESContextANGLE glGetSamplerParameterIuivRobustANGLEContextANGLE glGetSamplerParameterfvContextANGLE @@ -1366,11 +1266,9 @@ EXPORTS glGetTexLevelParameterivANGLEContextANGLE glGetTexLevelParameterivRobustANGLEContextANGLE glGetTexParameterIivContextANGLE - glGetTexParameterIivEXTContextANGLE glGetTexParameterIivOESContextANGLE glGetTexParameterIivRobustANGLEContextANGLE glGetTexParameterIuivContextANGLE - glGetTexParameterIuivEXTContextANGLE glGetTexParameterIuivOESContextANGLE glGetTexParameterIuivRobustANGLEContextANGLE glGetTexParameterfvContextANGLE @@ -1429,7 +1327,6 @@ EXPORTS glIsMemoryObjectEXTContextANGLE glIsProgramContextANGLE glIsProgramPipelineContextANGLE - glIsProgramPipelineEXTContextANGLE glIsQueryContextANGLE glIsQueryEXTContextANGLE glIsRenderbufferContextANGLE @@ -1442,7 +1339,6 @@ EXPORTS glIsTransformFeedbackContextANGLE glIsVertexArrayContextANGLE glIsVertexArrayOESContextANGLE - glLabelObjectEXTContextANGLE glLightModelfContextANGLE glLightModelfvContextANGLE glLightModelxContextANGLE @@ -1497,7 +1393,6 @@ EXPORTS glOrthofContextANGLE glOrthoxContextANGLE glPatchParameteriContextANGLE - glPatchParameteriEXTContextANGLE glPauseTransformFeedbackContextANGLE glPixelStoreiContextANGLE glPointParameterfContextANGLE @@ -1514,77 +1409,42 @@ EXPORTS glPopGroupMarkerEXTContextANGLE glPopMatrixContextANGLE glPrimitiveBoundingBoxContextANGLE - glPrimitiveBoundingBoxEXTContextANGLE glProgramBinaryContextANGLE glProgramBinaryOESContextANGLE glProgramParameteriContextANGLE - glProgramParameteriEXTContextANGLE glProgramUniform1fContextANGLE - glProgramUniform1fEXTContextANGLE glProgramUniform1fvContextANGLE - glProgramUniform1fvEXTContextANGLE glProgramUniform1iContextANGLE - glProgramUniform1iEXTContextANGLE glProgramUniform1ivContextANGLE - glProgramUniform1ivEXTContextANGLE glProgramUniform1uiContextANGLE - glProgramUniform1uiEXTContextANGLE glProgramUniform1uivContextANGLE - glProgramUniform1uivEXTContextANGLE glProgramUniform2fContextANGLE - glProgramUniform2fEXTContextANGLE glProgramUniform2fvContextANGLE - glProgramUniform2fvEXTContextANGLE glProgramUniform2iContextANGLE - glProgramUniform2iEXTContextANGLE glProgramUniform2ivContextANGLE - glProgramUniform2ivEXTContextANGLE glProgramUniform2uiContextANGLE - glProgramUniform2uiEXTContextANGLE glProgramUniform2uivContextANGLE - glProgramUniform2uivEXTContextANGLE glProgramUniform3fContextANGLE - glProgramUniform3fEXTContextANGLE glProgramUniform3fvContextANGLE - glProgramUniform3fvEXTContextANGLE glProgramUniform3iContextANGLE - glProgramUniform3iEXTContextANGLE glProgramUniform3ivContextANGLE - glProgramUniform3ivEXTContextANGLE glProgramUniform3uiContextANGLE - glProgramUniform3uiEXTContextANGLE glProgramUniform3uivContextANGLE - glProgramUniform3uivEXTContextANGLE glProgramUniform4fContextANGLE - glProgramUniform4fEXTContextANGLE glProgramUniform4fvContextANGLE - glProgramUniform4fvEXTContextANGLE glProgramUniform4iContextANGLE - glProgramUniform4iEXTContextANGLE glProgramUniform4ivContextANGLE - glProgramUniform4ivEXTContextANGLE glProgramUniform4uiContextANGLE - glProgramUniform4uiEXTContextANGLE glProgramUniform4uivContextANGLE - glProgramUniform4uivEXTContextANGLE glProgramUniformMatrix2fvContextANGLE - glProgramUniformMatrix2fvEXTContextANGLE glProgramUniformMatrix2x3fvContextANGLE - glProgramUniformMatrix2x3fvEXTContextANGLE glProgramUniformMatrix2x4fvContextANGLE - glProgramUniformMatrix2x4fvEXTContextANGLE glProgramUniformMatrix3fvContextANGLE - glProgramUniformMatrix3fvEXTContextANGLE glProgramUniformMatrix3x2fvContextANGLE - glProgramUniformMatrix3x2fvEXTContextANGLE glProgramUniformMatrix3x4fvContextANGLE - glProgramUniformMatrix3x4fvEXTContextANGLE glProgramUniformMatrix4fvContextANGLE - glProgramUniformMatrix4fvEXTContextANGLE glProgramUniformMatrix4x2fvContextANGLE - glProgramUniformMatrix4x2fvEXTContextANGLE glProgramUniformMatrix4x3fvContextANGLE - glProgramUniformMatrix4x3fvEXTContextANGLE glProvokingVertexANGLEContextANGLE glPushDebugGroupContextANGLE glPushDebugGroupKHRContextANGLE @@ -1613,11 +1473,9 @@ EXPORTS glSampleMaskiContextANGLE glSampleMaskiANGLEContextANGLE glSamplerParameterIivContextANGLE - glSamplerParameterIivEXTContextANGLE glSamplerParameterIivOESContextANGLE glSamplerParameterIivRobustANGLEContextANGLE glSamplerParameterIuivContextANGLE - glSamplerParameterIuivEXTContextANGLE glSamplerParameterIuivOESContextANGLE glSamplerParameterIuivRobustANGLEContextANGLE glSamplerParameterfContextANGLE @@ -1668,11 +1526,9 @@ EXPORTS glTexImage3DOESContextANGLE glTexImage3DRobustANGLEContextANGLE glTexParameterIivContextANGLE - glTexParameterIivEXTContextANGLE glTexParameterIivOESContextANGLE glTexParameterIivRobustANGLEContextANGLE glTexParameterIuivContextANGLE - glTexParameterIuivEXTContextANGLE glTexParameterIuivOESContextANGLE glTexParameterIuivRobustANGLEContextANGLE glTexParameterfContextANGLE @@ -1746,10 +1602,8 @@ EXPORTS glUnmapBufferOESContextANGLE glUseProgramContextANGLE glUseProgramStagesContextANGLE - glUseProgramStagesEXTContextANGLE glValidateProgramContextANGLE glValidateProgramPipelineContextANGLE - glValidateProgramPipelineEXTContextANGLE glVertexAttrib1fContextANGLE glVertexAttrib1fvContextANGLE glVertexAttrib2fContextANGLE diff --git a/gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp b/gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp index 9dd61615917e..ff16fb0f1c3e 100644 --- a/gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp +++ b/gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp @@ -2,7 +2,7 @@ // Generated by gen_proc_table.py using data from gl.xml, gl_angle_ext.xml, egl.xml, // egl_angle_ext.xml. // -// Copyright 2019 The ANGLE Project Authors. All rights reserved. +// Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -12,8 +12,8 @@ #include "libGLESv2/proc_table_egl.h" -#include "libGLESv2/entry_points_egl_autogen.h" -#include "libGLESv2/entry_points_egl_ext_autogen.h" +#include "libGLESv2/entry_points_egl.h" +#include "libGLESv2/entry_points_egl_ext.h" #include "libGLESv2/entry_points_gles_1_0_autogen.h" #include "libGLESv2/entry_points_gles_2_0_autogen.h" #include "libGLESv2/entry_points_gles_3_0_autogen.h" @@ -129,1637 +129,1517 @@ const ProcEntry g_procTable[] = { {"eglWaitNative", P(EGL_WaitNative)}, {"eglWaitSync", P(EGL_WaitSync)}, {"eglWaitSyncKHR", P(EGL_WaitSyncKHR)}, - {"glActiveShaderProgram", P(GL_ActiveShaderProgram)}, - {"glActiveShaderProgramContextANGLE", P(GL_ActiveShaderProgramContextANGLE)}, - {"glActiveShaderProgramEXT", P(GL_ActiveShaderProgramEXT)}, - {"glActiveShaderProgramEXTContextANGLE", P(GL_ActiveShaderProgramEXTContextANGLE)}, - {"glActiveTexture", P(GL_ActiveTexture)}, - {"glActiveTextureContextANGLE", P(GL_ActiveTextureContextANGLE)}, - {"glAlphaFunc", P(GL_AlphaFunc)}, - {"glAlphaFuncContextANGLE", P(GL_AlphaFuncContextANGLE)}, - {"glAlphaFuncx", P(GL_AlphaFuncx)}, - {"glAlphaFuncxContextANGLE", P(GL_AlphaFuncxContextANGLE)}, - {"glAttachShader", P(GL_AttachShader)}, - {"glAttachShaderContextANGLE", P(GL_AttachShaderContextANGLE)}, - {"glBeginQuery", P(GL_BeginQuery)}, - {"glBeginQueryContextANGLE", P(GL_BeginQueryContextANGLE)}, - {"glBeginQueryEXT", P(GL_BeginQueryEXT)}, - {"glBeginQueryEXTContextANGLE", P(GL_BeginQueryEXTContextANGLE)}, - {"glBeginTransformFeedback", P(GL_BeginTransformFeedback)}, - {"glBeginTransformFeedbackContextANGLE", P(GL_BeginTransformFeedbackContextANGLE)}, - {"glBindAttribLocation", P(GL_BindAttribLocation)}, - {"glBindAttribLocationContextANGLE", P(GL_BindAttribLocationContextANGLE)}, - {"glBindBuffer", P(GL_BindBuffer)}, - {"glBindBufferBase", P(GL_BindBufferBase)}, - {"glBindBufferBaseContextANGLE", P(GL_BindBufferBaseContextANGLE)}, - {"glBindBufferContextANGLE", P(GL_BindBufferContextANGLE)}, - {"glBindBufferRange", P(GL_BindBufferRange)}, - {"glBindBufferRangeContextANGLE", P(GL_BindBufferRangeContextANGLE)}, - {"glBindFragDataLocationEXT", P(GL_BindFragDataLocationEXT)}, - {"glBindFragDataLocationEXTContextANGLE", P(GL_BindFragDataLocationEXTContextANGLE)}, - {"glBindFragDataLocationIndexedEXT", P(GL_BindFragDataLocationIndexedEXT)}, + {"glActiveShaderProgram", P(gl::ActiveShaderProgram)}, + {"glActiveShaderProgramContextANGLE", P(gl::ActiveShaderProgramContextANGLE)}, + {"glActiveTexture", P(gl::ActiveTexture)}, + {"glActiveTextureContextANGLE", P(gl::ActiveTextureContextANGLE)}, + {"glAlphaFunc", P(gl::AlphaFunc)}, + {"glAlphaFuncContextANGLE", P(gl::AlphaFuncContextANGLE)}, + {"glAlphaFuncx", P(gl::AlphaFuncx)}, + {"glAlphaFuncxContextANGLE", P(gl::AlphaFuncxContextANGLE)}, + {"glAttachShader", P(gl::AttachShader)}, + {"glAttachShaderContextANGLE", P(gl::AttachShaderContextANGLE)}, + {"glBeginQuery", P(gl::BeginQuery)}, + {"glBeginQueryContextANGLE", P(gl::BeginQueryContextANGLE)}, + {"glBeginQueryEXT", P(gl::BeginQueryEXT)}, + {"glBeginQueryEXTContextANGLE", P(gl::BeginQueryEXTContextANGLE)}, + {"glBeginTransformFeedback", P(gl::BeginTransformFeedback)}, + {"glBeginTransformFeedbackContextANGLE", P(gl::BeginTransformFeedbackContextANGLE)}, + {"glBindAttribLocation", P(gl::BindAttribLocation)}, + {"glBindAttribLocationContextANGLE", P(gl::BindAttribLocationContextANGLE)}, + {"glBindBuffer", P(gl::BindBuffer)}, + {"glBindBufferBase", P(gl::BindBufferBase)}, + {"glBindBufferBaseContextANGLE", P(gl::BindBufferBaseContextANGLE)}, + {"glBindBufferContextANGLE", P(gl::BindBufferContextANGLE)}, + {"glBindBufferRange", P(gl::BindBufferRange)}, + {"glBindBufferRangeContextANGLE", P(gl::BindBufferRangeContextANGLE)}, + {"glBindFragDataLocationEXT", P(gl::BindFragDataLocationEXT)}, + {"glBindFragDataLocationEXTContextANGLE", P(gl::BindFragDataLocationEXTContextANGLE)}, + {"glBindFragDataLocationIndexedEXT", P(gl::BindFragDataLocationIndexedEXT)}, {"glBindFragDataLocationIndexedEXTContextANGLE", - P(GL_BindFragDataLocationIndexedEXTContextANGLE)}, - {"glBindFramebuffer", P(GL_BindFramebuffer)}, - {"glBindFramebufferContextANGLE", P(GL_BindFramebufferContextANGLE)}, - {"glBindFramebufferOES", P(GL_BindFramebufferOES)}, - {"glBindFramebufferOESContextANGLE", P(GL_BindFramebufferOESContextANGLE)}, - {"glBindImageTexture", P(GL_BindImageTexture)}, - {"glBindImageTextureContextANGLE", P(GL_BindImageTextureContextANGLE)}, - {"glBindProgramPipeline", P(GL_BindProgramPipeline)}, - {"glBindProgramPipelineContextANGLE", P(GL_BindProgramPipelineContextANGLE)}, - {"glBindProgramPipelineEXT", P(GL_BindProgramPipelineEXT)}, - {"glBindProgramPipelineEXTContextANGLE", P(GL_BindProgramPipelineEXTContextANGLE)}, - {"glBindRenderbuffer", P(GL_BindRenderbuffer)}, - {"glBindRenderbufferContextANGLE", P(GL_BindRenderbufferContextANGLE)}, - {"glBindRenderbufferOES", P(GL_BindRenderbufferOES)}, - {"glBindRenderbufferOESContextANGLE", P(GL_BindRenderbufferOESContextANGLE)}, - {"glBindSampler", P(GL_BindSampler)}, - {"glBindSamplerContextANGLE", P(GL_BindSamplerContextANGLE)}, - {"glBindTexture", P(GL_BindTexture)}, - {"glBindTextureContextANGLE", P(GL_BindTextureContextANGLE)}, - {"glBindTransformFeedback", P(GL_BindTransformFeedback)}, - {"glBindTransformFeedbackContextANGLE", P(GL_BindTransformFeedbackContextANGLE)}, - {"glBindUniformLocationCHROMIUM", P(GL_BindUniformLocationCHROMIUM)}, - {"glBindUniformLocationCHROMIUMContextANGLE", P(GL_BindUniformLocationCHROMIUMContextANGLE)}, - {"glBindVertexArray", P(GL_BindVertexArray)}, - {"glBindVertexArrayContextANGLE", P(GL_BindVertexArrayContextANGLE)}, - {"glBindVertexArrayOES", P(GL_BindVertexArrayOES)}, - {"glBindVertexArrayOESContextANGLE", P(GL_BindVertexArrayOESContextANGLE)}, - {"glBindVertexBuffer", P(GL_BindVertexBuffer)}, - {"glBindVertexBufferContextANGLE", P(GL_BindVertexBufferContextANGLE)}, - {"glBlendBarrier", P(GL_BlendBarrier)}, - {"glBlendBarrierContextANGLE", P(GL_BlendBarrierContextANGLE)}, - {"glBlendBarrierKHR", P(GL_BlendBarrierKHR)}, - {"glBlendBarrierKHRContextANGLE", P(GL_BlendBarrierKHRContextANGLE)}, - {"glBlendColor", P(GL_BlendColor)}, - {"glBlendColorContextANGLE", P(GL_BlendColorContextANGLE)}, - {"glBlendEquation", P(GL_BlendEquation)}, - {"glBlendEquationContextANGLE", P(GL_BlendEquationContextANGLE)}, - {"glBlendEquationSeparate", P(GL_BlendEquationSeparate)}, - {"glBlendEquationSeparateContextANGLE", P(GL_BlendEquationSeparateContextANGLE)}, - {"glBlendEquationSeparatei", P(GL_BlendEquationSeparatei)}, - {"glBlendEquationSeparateiContextANGLE", P(GL_BlendEquationSeparateiContextANGLE)}, - {"glBlendEquationSeparateiEXT", P(GL_BlendEquationSeparateiEXT)}, - {"glBlendEquationSeparateiEXTContextANGLE", P(GL_BlendEquationSeparateiEXTContextANGLE)}, - {"glBlendEquationSeparateiOES", P(GL_BlendEquationSeparateiOES)}, - {"glBlendEquationSeparateiOESContextANGLE", P(GL_BlendEquationSeparateiOESContextANGLE)}, - {"glBlendEquationi", P(GL_BlendEquationi)}, - {"glBlendEquationiContextANGLE", P(GL_BlendEquationiContextANGLE)}, - {"glBlendEquationiEXT", P(GL_BlendEquationiEXT)}, - {"glBlendEquationiEXTContextANGLE", P(GL_BlendEquationiEXTContextANGLE)}, - {"glBlendEquationiOES", P(GL_BlendEquationiOES)}, - {"glBlendEquationiOESContextANGLE", P(GL_BlendEquationiOESContextANGLE)}, - {"glBlendFunc", P(GL_BlendFunc)}, - {"glBlendFuncContextANGLE", P(GL_BlendFuncContextANGLE)}, - {"glBlendFuncSeparate", P(GL_BlendFuncSeparate)}, - {"glBlendFuncSeparateContextANGLE", P(GL_BlendFuncSeparateContextANGLE)}, - {"glBlendFuncSeparatei", P(GL_BlendFuncSeparatei)}, - {"glBlendFuncSeparateiContextANGLE", P(GL_BlendFuncSeparateiContextANGLE)}, - {"glBlendFuncSeparateiEXT", P(GL_BlendFuncSeparateiEXT)}, - {"glBlendFuncSeparateiEXTContextANGLE", P(GL_BlendFuncSeparateiEXTContextANGLE)}, - {"glBlendFuncSeparateiOES", P(GL_BlendFuncSeparateiOES)}, - {"glBlendFuncSeparateiOESContextANGLE", P(GL_BlendFuncSeparateiOESContextANGLE)}, - {"glBlendFunci", P(GL_BlendFunci)}, - {"glBlendFunciContextANGLE", P(GL_BlendFunciContextANGLE)}, - {"glBlendFunciEXT", P(GL_BlendFunciEXT)}, - {"glBlendFunciEXTContextANGLE", P(GL_BlendFunciEXTContextANGLE)}, - {"glBlendFunciOES", P(GL_BlendFunciOES)}, - {"glBlendFunciOESContextANGLE", P(GL_BlendFunciOESContextANGLE)}, - {"glBlitFramebuffer", P(GL_BlitFramebuffer)}, - {"glBlitFramebufferANGLE", P(GL_BlitFramebufferANGLE)}, - {"glBlitFramebufferANGLEContextANGLE", P(GL_BlitFramebufferANGLEContextANGLE)}, - {"glBlitFramebufferContextANGLE", P(GL_BlitFramebufferContextANGLE)}, - {"glBlitFramebufferNV", P(GL_BlitFramebufferNV)}, - {"glBlitFramebufferNVContextANGLE", P(GL_BlitFramebufferNVContextANGLE)}, - {"glBufferData", P(GL_BufferData)}, - {"glBufferDataContextANGLE", P(GL_BufferDataContextANGLE)}, - {"glBufferStorageEXT", P(GL_BufferStorageEXT)}, - {"glBufferStorageEXTContextANGLE", P(GL_BufferStorageEXTContextANGLE)}, - {"glBufferStorageExternalEXT", P(GL_BufferStorageExternalEXT)}, - {"glBufferStorageExternalEXTContextANGLE", P(GL_BufferStorageExternalEXTContextANGLE)}, - {"glBufferStorageMemEXT", P(GL_BufferStorageMemEXT)}, - {"glBufferStorageMemEXTContextANGLE", P(GL_BufferStorageMemEXTContextANGLE)}, - {"glBufferSubData", P(GL_BufferSubData)}, - {"glBufferSubDataContextANGLE", P(GL_BufferSubDataContextANGLE)}, - {"glCheckFramebufferStatus", P(GL_CheckFramebufferStatus)}, - {"glCheckFramebufferStatusContextANGLE", P(GL_CheckFramebufferStatusContextANGLE)}, - {"glCheckFramebufferStatusOES", P(GL_CheckFramebufferStatusOES)}, - {"glCheckFramebufferStatusOESContextANGLE", P(GL_CheckFramebufferStatusOESContextANGLE)}, - {"glClear", P(GL_Clear)}, - {"glClearBufferfi", P(GL_ClearBufferfi)}, - {"glClearBufferfiContextANGLE", P(GL_ClearBufferfiContextANGLE)}, - {"glClearBufferfv", P(GL_ClearBufferfv)}, - {"glClearBufferfvContextANGLE", P(GL_ClearBufferfvContextANGLE)}, - {"glClearBufferiv", P(GL_ClearBufferiv)}, - {"glClearBufferivContextANGLE", P(GL_ClearBufferivContextANGLE)}, - {"glClearBufferuiv", P(GL_ClearBufferuiv)}, - {"glClearBufferuivContextANGLE", P(GL_ClearBufferuivContextANGLE)}, - {"glClearColor", P(GL_ClearColor)}, - {"glClearColorContextANGLE", P(GL_ClearColorContextANGLE)}, - {"glClearColorx", P(GL_ClearColorx)}, - {"glClearColorxContextANGLE", P(GL_ClearColorxContextANGLE)}, - {"glClearContextANGLE", P(GL_ClearContextANGLE)}, - {"glClearDepthf", P(GL_ClearDepthf)}, - {"glClearDepthfContextANGLE", P(GL_ClearDepthfContextANGLE)}, - {"glClearDepthx", P(GL_ClearDepthx)}, - {"glClearDepthxContextANGLE", P(GL_ClearDepthxContextANGLE)}, - {"glClearStencil", P(GL_ClearStencil)}, - {"glClearStencilContextANGLE", P(GL_ClearStencilContextANGLE)}, - {"glClientActiveTexture", P(GL_ClientActiveTexture)}, - {"glClientActiveTextureContextANGLE", P(GL_ClientActiveTextureContextANGLE)}, - {"glClientWaitSync", P(GL_ClientWaitSync)}, - {"glClientWaitSyncContextANGLE", P(GL_ClientWaitSyncContextANGLE)}, - {"glClipControlEXT", P(GL_ClipControlEXT)}, - {"glClipControlEXTContextANGLE", P(GL_ClipControlEXTContextANGLE)}, - {"glClipPlanef", P(GL_ClipPlanef)}, - {"glClipPlanefContextANGLE", P(GL_ClipPlanefContextANGLE)}, - {"glClipPlanex", P(GL_ClipPlanex)}, - {"glClipPlanexContextANGLE", P(GL_ClipPlanexContextANGLE)}, - {"glColor4f", P(GL_Color4f)}, - {"glColor4fContextANGLE", P(GL_Color4fContextANGLE)}, - {"glColor4ub", P(GL_Color4ub)}, - {"glColor4ubContextANGLE", P(GL_Color4ubContextANGLE)}, - {"glColor4x", P(GL_Color4x)}, - {"glColor4xContextANGLE", P(GL_Color4xContextANGLE)}, - {"glColorMask", P(GL_ColorMask)}, - {"glColorMaskContextANGLE", P(GL_ColorMaskContextANGLE)}, - {"glColorMaski", P(GL_ColorMaski)}, - {"glColorMaskiContextANGLE", P(GL_ColorMaskiContextANGLE)}, - {"glColorMaskiEXT", P(GL_ColorMaskiEXT)}, - {"glColorMaskiEXTContextANGLE", P(GL_ColorMaskiEXTContextANGLE)}, - {"glColorMaskiOES", P(GL_ColorMaskiOES)}, - {"glColorMaskiOESContextANGLE", P(GL_ColorMaskiOESContextANGLE)}, - {"glColorPointer", P(GL_ColorPointer)}, - {"glColorPointerContextANGLE", P(GL_ColorPointerContextANGLE)}, - {"glCompileShader", P(GL_CompileShader)}, - {"glCompileShaderContextANGLE", P(GL_CompileShaderContextANGLE)}, - {"glCompressedCopyTextureCHROMIUM", P(GL_CompressedCopyTextureCHROMIUM)}, + P(gl::BindFragDataLocationIndexedEXTContextANGLE)}, + {"glBindFramebuffer", P(gl::BindFramebuffer)}, + {"glBindFramebufferContextANGLE", P(gl::BindFramebufferContextANGLE)}, + {"glBindFramebufferOES", P(gl::BindFramebufferOES)}, + {"glBindFramebufferOESContextANGLE", P(gl::BindFramebufferOESContextANGLE)}, + {"glBindImageTexture", P(gl::BindImageTexture)}, + {"glBindImageTextureContextANGLE", P(gl::BindImageTextureContextANGLE)}, + {"glBindProgramPipeline", P(gl::BindProgramPipeline)}, + {"glBindProgramPipelineContextANGLE", P(gl::BindProgramPipelineContextANGLE)}, + {"glBindRenderbuffer", P(gl::BindRenderbuffer)}, + {"glBindRenderbufferContextANGLE", P(gl::BindRenderbufferContextANGLE)}, + {"glBindRenderbufferOES", P(gl::BindRenderbufferOES)}, + {"glBindRenderbufferOESContextANGLE", P(gl::BindRenderbufferOESContextANGLE)}, + {"glBindSampler", P(gl::BindSampler)}, + {"glBindSamplerContextANGLE", P(gl::BindSamplerContextANGLE)}, + {"glBindTexture", P(gl::BindTexture)}, + {"glBindTextureContextANGLE", P(gl::BindTextureContextANGLE)}, + {"glBindTransformFeedback", P(gl::BindTransformFeedback)}, + {"glBindTransformFeedbackContextANGLE", P(gl::BindTransformFeedbackContextANGLE)}, + {"glBindUniformLocationCHROMIUM", P(gl::BindUniformLocationCHROMIUM)}, + {"glBindUniformLocationCHROMIUMContextANGLE", P(gl::BindUniformLocationCHROMIUMContextANGLE)}, + {"glBindVertexArray", P(gl::BindVertexArray)}, + {"glBindVertexArrayContextANGLE", P(gl::BindVertexArrayContextANGLE)}, + {"glBindVertexArrayOES", P(gl::BindVertexArrayOES)}, + {"glBindVertexArrayOESContextANGLE", P(gl::BindVertexArrayOESContextANGLE)}, + {"glBindVertexBuffer", P(gl::BindVertexBuffer)}, + {"glBindVertexBufferContextANGLE", P(gl::BindVertexBufferContextANGLE)}, + {"glBlendBarrier", P(gl::BlendBarrier)}, + {"glBlendBarrierContextANGLE", P(gl::BlendBarrierContextANGLE)}, + {"glBlendColor", P(gl::BlendColor)}, + {"glBlendColorContextANGLE", P(gl::BlendColorContextANGLE)}, + {"glBlendEquation", P(gl::BlendEquation)}, + {"glBlendEquationContextANGLE", P(gl::BlendEquationContextANGLE)}, + {"glBlendEquationSeparate", P(gl::BlendEquationSeparate)}, + {"glBlendEquationSeparateContextANGLE", P(gl::BlendEquationSeparateContextANGLE)}, + {"glBlendEquationSeparatei", P(gl::BlendEquationSeparatei)}, + {"glBlendEquationSeparateiContextANGLE", P(gl::BlendEquationSeparateiContextANGLE)}, + {"glBlendEquationSeparateiEXT", P(gl::BlendEquationSeparateiEXT)}, + {"glBlendEquationSeparateiEXTContextANGLE", P(gl::BlendEquationSeparateiEXTContextANGLE)}, + {"glBlendEquationSeparateiOES", P(gl::BlendEquationSeparateiOES)}, + {"glBlendEquationSeparateiOESContextANGLE", P(gl::BlendEquationSeparateiOESContextANGLE)}, + {"glBlendEquationi", P(gl::BlendEquationi)}, + {"glBlendEquationiContextANGLE", P(gl::BlendEquationiContextANGLE)}, + {"glBlendEquationiEXT", P(gl::BlendEquationiEXT)}, + {"glBlendEquationiEXTContextANGLE", P(gl::BlendEquationiEXTContextANGLE)}, + {"glBlendEquationiOES", P(gl::BlendEquationiOES)}, + {"glBlendEquationiOESContextANGLE", P(gl::BlendEquationiOESContextANGLE)}, + {"glBlendFunc", P(gl::BlendFunc)}, + {"glBlendFuncContextANGLE", P(gl::BlendFuncContextANGLE)}, + {"glBlendFuncSeparate", P(gl::BlendFuncSeparate)}, + {"glBlendFuncSeparateContextANGLE", P(gl::BlendFuncSeparateContextANGLE)}, + {"glBlendFuncSeparatei", P(gl::BlendFuncSeparatei)}, + {"glBlendFuncSeparateiContextANGLE", P(gl::BlendFuncSeparateiContextANGLE)}, + {"glBlendFuncSeparateiEXT", P(gl::BlendFuncSeparateiEXT)}, + {"glBlendFuncSeparateiEXTContextANGLE", P(gl::BlendFuncSeparateiEXTContextANGLE)}, + {"glBlendFuncSeparateiOES", P(gl::BlendFuncSeparateiOES)}, + {"glBlendFuncSeparateiOESContextANGLE", P(gl::BlendFuncSeparateiOESContextANGLE)}, + {"glBlendFunci", P(gl::BlendFunci)}, + {"glBlendFunciContextANGLE", P(gl::BlendFunciContextANGLE)}, + {"glBlendFunciEXT", P(gl::BlendFunciEXT)}, + {"glBlendFunciEXTContextANGLE", P(gl::BlendFunciEXTContextANGLE)}, + {"glBlendFunciOES", P(gl::BlendFunciOES)}, + {"glBlendFunciOESContextANGLE", P(gl::BlendFunciOESContextANGLE)}, + {"glBlitFramebuffer", P(gl::BlitFramebuffer)}, + {"glBlitFramebufferANGLE", P(gl::BlitFramebufferANGLE)}, + {"glBlitFramebufferANGLEContextANGLE", P(gl::BlitFramebufferANGLEContextANGLE)}, + {"glBlitFramebufferContextANGLE", P(gl::BlitFramebufferContextANGLE)}, + {"glBufferData", P(gl::BufferData)}, + {"glBufferDataContextANGLE", P(gl::BufferDataContextANGLE)}, + {"glBufferStorageEXT", P(gl::BufferStorageEXT)}, + {"glBufferStorageEXTContextANGLE", P(gl::BufferStorageEXTContextANGLE)}, + {"glBufferStorageExternalEXT", P(gl::BufferStorageExternalEXT)}, + {"glBufferStorageExternalEXTContextANGLE", P(gl::BufferStorageExternalEXTContextANGLE)}, + {"glBufferStorageMemEXT", P(gl::BufferStorageMemEXT)}, + {"glBufferStorageMemEXTContextANGLE", P(gl::BufferStorageMemEXTContextANGLE)}, + {"glBufferSubData", P(gl::BufferSubData)}, + {"glBufferSubDataContextANGLE", P(gl::BufferSubDataContextANGLE)}, + {"glCheckFramebufferStatus", P(gl::CheckFramebufferStatus)}, + {"glCheckFramebufferStatusContextANGLE", P(gl::CheckFramebufferStatusContextANGLE)}, + {"glCheckFramebufferStatusOES", P(gl::CheckFramebufferStatusOES)}, + {"glCheckFramebufferStatusOESContextANGLE", P(gl::CheckFramebufferStatusOESContextANGLE)}, + {"glClear", P(gl::Clear)}, + {"glClearBufferfi", P(gl::ClearBufferfi)}, + {"glClearBufferfiContextANGLE", P(gl::ClearBufferfiContextANGLE)}, + {"glClearBufferfv", P(gl::ClearBufferfv)}, + {"glClearBufferfvContextANGLE", P(gl::ClearBufferfvContextANGLE)}, + {"glClearBufferiv", P(gl::ClearBufferiv)}, + {"glClearBufferivContextANGLE", P(gl::ClearBufferivContextANGLE)}, + {"glClearBufferuiv", P(gl::ClearBufferuiv)}, + {"glClearBufferuivContextANGLE", P(gl::ClearBufferuivContextANGLE)}, + {"glClearColor", P(gl::ClearColor)}, + {"glClearColorContextANGLE", P(gl::ClearColorContextANGLE)}, + {"glClearColorx", P(gl::ClearColorx)}, + {"glClearColorxContextANGLE", P(gl::ClearColorxContextANGLE)}, + {"glClearContextANGLE", P(gl::ClearContextANGLE)}, + {"glClearDepthf", P(gl::ClearDepthf)}, + {"glClearDepthfContextANGLE", P(gl::ClearDepthfContextANGLE)}, + {"glClearDepthx", P(gl::ClearDepthx)}, + {"glClearDepthxContextANGLE", P(gl::ClearDepthxContextANGLE)}, + {"glClearStencil", P(gl::ClearStencil)}, + {"glClearStencilContextANGLE", P(gl::ClearStencilContextANGLE)}, + {"glClientActiveTexture", P(gl::ClientActiveTexture)}, + {"glClientActiveTextureContextANGLE", P(gl::ClientActiveTextureContextANGLE)}, + {"glClientWaitSync", P(gl::ClientWaitSync)}, + {"glClientWaitSyncContextANGLE", P(gl::ClientWaitSyncContextANGLE)}, + {"glClipPlanef", P(gl::ClipPlanef)}, + {"glClipPlanefContextANGLE", P(gl::ClipPlanefContextANGLE)}, + {"glClipPlanex", P(gl::ClipPlanex)}, + {"glClipPlanexContextANGLE", P(gl::ClipPlanexContextANGLE)}, + {"glColor4f", P(gl::Color4f)}, + {"glColor4fContextANGLE", P(gl::Color4fContextANGLE)}, + {"glColor4ub", P(gl::Color4ub)}, + {"glColor4ubContextANGLE", P(gl::Color4ubContextANGLE)}, + {"glColor4x", P(gl::Color4x)}, + {"glColor4xContextANGLE", P(gl::Color4xContextANGLE)}, + {"glColorMask", P(gl::ColorMask)}, + {"glColorMaskContextANGLE", P(gl::ColorMaskContextANGLE)}, + {"glColorMaski", P(gl::ColorMaski)}, + {"glColorMaskiContextANGLE", P(gl::ColorMaskiContextANGLE)}, + {"glColorMaskiEXT", P(gl::ColorMaskiEXT)}, + {"glColorMaskiEXTContextANGLE", P(gl::ColorMaskiEXTContextANGLE)}, + {"glColorMaskiOES", P(gl::ColorMaskiOES)}, + {"glColorMaskiOESContextANGLE", P(gl::ColorMaskiOESContextANGLE)}, + {"glColorPointer", P(gl::ColorPointer)}, + {"glColorPointerContextANGLE", P(gl::ColorPointerContextANGLE)}, + {"glCompileShader", P(gl::CompileShader)}, + {"glCompileShaderContextANGLE", P(gl::CompileShaderContextANGLE)}, + {"glCompressedCopyTextureCHROMIUM", P(gl::CompressedCopyTextureCHROMIUM)}, {"glCompressedCopyTextureCHROMIUMContextANGLE", - P(GL_CompressedCopyTextureCHROMIUMContextANGLE)}, - {"glCompressedTexImage2D", P(GL_CompressedTexImage2D)}, - {"glCompressedTexImage2DContextANGLE", P(GL_CompressedTexImage2DContextANGLE)}, - {"glCompressedTexImage2DRobustANGLE", P(GL_CompressedTexImage2DRobustANGLE)}, + P(gl::CompressedCopyTextureCHROMIUMContextANGLE)}, + {"glCompressedTexImage2D", P(gl::CompressedTexImage2D)}, + {"glCompressedTexImage2DContextANGLE", P(gl::CompressedTexImage2DContextANGLE)}, + {"glCompressedTexImage2DRobustANGLE", P(gl::CompressedTexImage2DRobustANGLE)}, {"glCompressedTexImage2DRobustANGLEContextANGLE", - P(GL_CompressedTexImage2DRobustANGLEContextANGLE)}, - {"glCompressedTexImage3D", P(GL_CompressedTexImage3D)}, - {"glCompressedTexImage3DContextANGLE", P(GL_CompressedTexImage3DContextANGLE)}, - {"glCompressedTexImage3DOES", P(GL_CompressedTexImage3DOES)}, - {"glCompressedTexImage3DOESContextANGLE", P(GL_CompressedTexImage3DOESContextANGLE)}, - {"glCompressedTexImage3DRobustANGLE", P(GL_CompressedTexImage3DRobustANGLE)}, + P(gl::CompressedTexImage2DRobustANGLEContextANGLE)}, + {"glCompressedTexImage3D", P(gl::CompressedTexImage3D)}, + {"glCompressedTexImage3DContextANGLE", P(gl::CompressedTexImage3DContextANGLE)}, + {"glCompressedTexImage3DOES", P(gl::CompressedTexImage3DOES)}, + {"glCompressedTexImage3DOESContextANGLE", P(gl::CompressedTexImage3DOESContextANGLE)}, + {"glCompressedTexImage3DRobustANGLE", P(gl::CompressedTexImage3DRobustANGLE)}, {"glCompressedTexImage3DRobustANGLEContextANGLE", - P(GL_CompressedTexImage3DRobustANGLEContextANGLE)}, - {"glCompressedTexSubImage2D", P(GL_CompressedTexSubImage2D)}, - {"glCompressedTexSubImage2DContextANGLE", P(GL_CompressedTexSubImage2DContextANGLE)}, - {"glCompressedTexSubImage2DRobustANGLE", P(GL_CompressedTexSubImage2DRobustANGLE)}, + P(gl::CompressedTexImage3DRobustANGLEContextANGLE)}, + {"glCompressedTexSubImage2D", P(gl::CompressedTexSubImage2D)}, + {"glCompressedTexSubImage2DContextANGLE", P(gl::CompressedTexSubImage2DContextANGLE)}, + {"glCompressedTexSubImage2DRobustANGLE", P(gl::CompressedTexSubImage2DRobustANGLE)}, {"glCompressedTexSubImage2DRobustANGLEContextANGLE", - P(GL_CompressedTexSubImage2DRobustANGLEContextANGLE)}, - {"glCompressedTexSubImage3D", P(GL_CompressedTexSubImage3D)}, - {"glCompressedTexSubImage3DContextANGLE", P(GL_CompressedTexSubImage3DContextANGLE)}, - {"glCompressedTexSubImage3DOES", P(GL_CompressedTexSubImage3DOES)}, - {"glCompressedTexSubImage3DOESContextANGLE", P(GL_CompressedTexSubImage3DOESContextANGLE)}, - {"glCompressedTexSubImage3DRobustANGLE", P(GL_CompressedTexSubImage3DRobustANGLE)}, + P(gl::CompressedTexSubImage2DRobustANGLEContextANGLE)}, + {"glCompressedTexSubImage3D", P(gl::CompressedTexSubImage3D)}, + {"glCompressedTexSubImage3DContextANGLE", P(gl::CompressedTexSubImage3DContextANGLE)}, + {"glCompressedTexSubImage3DOES", P(gl::CompressedTexSubImage3DOES)}, + {"glCompressedTexSubImage3DOESContextANGLE", P(gl::CompressedTexSubImage3DOESContextANGLE)}, + {"glCompressedTexSubImage3DRobustANGLE", P(gl::CompressedTexSubImage3DRobustANGLE)}, {"glCompressedTexSubImage3DRobustANGLEContextANGLE", - P(GL_CompressedTexSubImage3DRobustANGLEContextANGLE)}, - {"glCopyBufferSubData", P(GL_CopyBufferSubData)}, - {"glCopyBufferSubDataContextANGLE", P(GL_CopyBufferSubDataContextANGLE)}, - {"glCopyImageSubData", P(GL_CopyImageSubData)}, - {"glCopyImageSubDataContextANGLE", P(GL_CopyImageSubDataContextANGLE)}, - {"glCopyImageSubDataEXT", P(GL_CopyImageSubDataEXT)}, - {"glCopyImageSubDataEXTContextANGLE", P(GL_CopyImageSubDataEXTContextANGLE)}, - {"glCopyImageSubDataOES", P(GL_CopyImageSubDataOES)}, - {"glCopyImageSubDataOESContextANGLE", P(GL_CopyImageSubDataOESContextANGLE)}, - {"glCopySubTexture3DANGLE", P(GL_CopySubTexture3DANGLE)}, - {"glCopySubTexture3DANGLEContextANGLE", P(GL_CopySubTexture3DANGLEContextANGLE)}, - {"glCopySubTextureCHROMIUM", P(GL_CopySubTextureCHROMIUM)}, - {"glCopySubTextureCHROMIUMContextANGLE", P(GL_CopySubTextureCHROMIUMContextANGLE)}, - {"glCopyTexImage2D", P(GL_CopyTexImage2D)}, - {"glCopyTexImage2DContextANGLE", P(GL_CopyTexImage2DContextANGLE)}, - {"glCopyTexSubImage2D", P(GL_CopyTexSubImage2D)}, - {"glCopyTexSubImage2DContextANGLE", P(GL_CopyTexSubImage2DContextANGLE)}, - {"glCopyTexSubImage3D", P(GL_CopyTexSubImage3D)}, - {"glCopyTexSubImage3DContextANGLE", P(GL_CopyTexSubImage3DContextANGLE)}, - {"glCopyTexSubImage3DOES", P(GL_CopyTexSubImage3DOES)}, - {"glCopyTexSubImage3DOESContextANGLE", P(GL_CopyTexSubImage3DOESContextANGLE)}, - {"glCopyTexture3DANGLE", P(GL_CopyTexture3DANGLE)}, - {"glCopyTexture3DANGLEContextANGLE", P(GL_CopyTexture3DANGLEContextANGLE)}, - {"glCopyTextureCHROMIUM", P(GL_CopyTextureCHROMIUM)}, - {"glCopyTextureCHROMIUMContextANGLE", P(GL_CopyTextureCHROMIUMContextANGLE)}, - {"glCoverageModulationCHROMIUM", P(GL_CoverageModulationCHROMIUM)}, - {"glCoverageModulationCHROMIUMContextANGLE", P(GL_CoverageModulationCHROMIUMContextANGLE)}, - {"glCreateMemoryObjectsEXT", P(GL_CreateMemoryObjectsEXT)}, - {"glCreateMemoryObjectsEXTContextANGLE", P(GL_CreateMemoryObjectsEXTContextANGLE)}, - {"glCreateProgram", P(GL_CreateProgram)}, - {"glCreateProgramContextANGLE", P(GL_CreateProgramContextANGLE)}, - {"glCreateShader", P(GL_CreateShader)}, - {"glCreateShaderContextANGLE", P(GL_CreateShaderContextANGLE)}, - {"glCreateShaderProgramv", P(GL_CreateShaderProgramv)}, - {"glCreateShaderProgramvContextANGLE", P(GL_CreateShaderProgramvContextANGLE)}, - {"glCreateShaderProgramvEXT", P(GL_CreateShaderProgramvEXT)}, - {"glCreateShaderProgramvEXTContextANGLE", P(GL_CreateShaderProgramvEXTContextANGLE)}, - {"glCullFace", P(GL_CullFace)}, - {"glCullFaceContextANGLE", P(GL_CullFaceContextANGLE)}, - {"glCurrentPaletteMatrixOES", P(GL_CurrentPaletteMatrixOES)}, - {"glCurrentPaletteMatrixOESContextANGLE", P(GL_CurrentPaletteMatrixOESContextANGLE)}, - {"glDebugMessageCallback", P(GL_DebugMessageCallback)}, - {"glDebugMessageCallbackContextANGLE", P(GL_DebugMessageCallbackContextANGLE)}, - {"glDebugMessageCallbackKHR", P(GL_DebugMessageCallbackKHR)}, - {"glDebugMessageCallbackKHRContextANGLE", P(GL_DebugMessageCallbackKHRContextANGLE)}, - {"glDebugMessageControl", P(GL_DebugMessageControl)}, - {"glDebugMessageControlContextANGLE", P(GL_DebugMessageControlContextANGLE)}, - {"glDebugMessageControlKHR", P(GL_DebugMessageControlKHR)}, - {"glDebugMessageControlKHRContextANGLE", P(GL_DebugMessageControlKHRContextANGLE)}, - {"glDebugMessageInsert", P(GL_DebugMessageInsert)}, - {"glDebugMessageInsertContextANGLE", P(GL_DebugMessageInsertContextANGLE)}, - {"glDebugMessageInsertKHR", P(GL_DebugMessageInsertKHR)}, - {"glDebugMessageInsertKHRContextANGLE", P(GL_DebugMessageInsertKHRContextANGLE)}, - {"glDeleteBuffers", P(GL_DeleteBuffers)}, - {"glDeleteBuffersContextANGLE", P(GL_DeleteBuffersContextANGLE)}, - {"glDeleteFencesNV", P(GL_DeleteFencesNV)}, - {"glDeleteFencesNVContextANGLE", P(GL_DeleteFencesNVContextANGLE)}, - {"glDeleteFramebuffers", P(GL_DeleteFramebuffers)}, - {"glDeleteFramebuffersContextANGLE", P(GL_DeleteFramebuffersContextANGLE)}, - {"glDeleteFramebuffersOES", P(GL_DeleteFramebuffersOES)}, - {"glDeleteFramebuffersOESContextANGLE", P(GL_DeleteFramebuffersOESContextANGLE)}, - {"glDeleteMemoryObjectsEXT", P(GL_DeleteMemoryObjectsEXT)}, - {"glDeleteMemoryObjectsEXTContextANGLE", P(GL_DeleteMemoryObjectsEXTContextANGLE)}, - {"glDeleteProgram", P(GL_DeleteProgram)}, - {"glDeleteProgramContextANGLE", P(GL_DeleteProgramContextANGLE)}, - {"glDeleteProgramPipelines", P(GL_DeleteProgramPipelines)}, - {"glDeleteProgramPipelinesContextANGLE", P(GL_DeleteProgramPipelinesContextANGLE)}, - {"glDeleteProgramPipelinesEXT", P(GL_DeleteProgramPipelinesEXT)}, - {"glDeleteProgramPipelinesEXTContextANGLE", P(GL_DeleteProgramPipelinesEXTContextANGLE)}, - {"glDeleteQueries", P(GL_DeleteQueries)}, - {"glDeleteQueriesContextANGLE", P(GL_DeleteQueriesContextANGLE)}, - {"glDeleteQueriesEXT", P(GL_DeleteQueriesEXT)}, - {"glDeleteQueriesEXTContextANGLE", P(GL_DeleteQueriesEXTContextANGLE)}, - {"glDeleteRenderbuffers", P(GL_DeleteRenderbuffers)}, - {"glDeleteRenderbuffersContextANGLE", P(GL_DeleteRenderbuffersContextANGLE)}, - {"glDeleteRenderbuffersOES", P(GL_DeleteRenderbuffersOES)}, - {"glDeleteRenderbuffersOESContextANGLE", P(GL_DeleteRenderbuffersOESContextANGLE)}, - {"glDeleteSamplers", P(GL_DeleteSamplers)}, - {"glDeleteSamplersContextANGLE", P(GL_DeleteSamplersContextANGLE)}, - {"glDeleteSemaphoresEXT", P(GL_DeleteSemaphoresEXT)}, - {"glDeleteSemaphoresEXTContextANGLE", P(GL_DeleteSemaphoresEXTContextANGLE)}, - {"glDeleteShader", P(GL_DeleteShader)}, - {"glDeleteShaderContextANGLE", P(GL_DeleteShaderContextANGLE)}, - {"glDeleteSync", P(GL_DeleteSync)}, - {"glDeleteSyncContextANGLE", P(GL_DeleteSyncContextANGLE)}, - {"glDeleteTextures", P(GL_DeleteTextures)}, - {"glDeleteTexturesContextANGLE", P(GL_DeleteTexturesContextANGLE)}, - {"glDeleteTransformFeedbacks", P(GL_DeleteTransformFeedbacks)}, - {"glDeleteTransformFeedbacksContextANGLE", P(GL_DeleteTransformFeedbacksContextANGLE)}, - {"glDeleteVertexArrays", P(GL_DeleteVertexArrays)}, - {"glDeleteVertexArraysContextANGLE", P(GL_DeleteVertexArraysContextANGLE)}, - {"glDeleteVertexArraysOES", P(GL_DeleteVertexArraysOES)}, - {"glDeleteVertexArraysOESContextANGLE", P(GL_DeleteVertexArraysOESContextANGLE)}, - {"glDepthFunc", P(GL_DepthFunc)}, - {"glDepthFuncContextANGLE", P(GL_DepthFuncContextANGLE)}, - {"glDepthMask", P(GL_DepthMask)}, - {"glDepthMaskContextANGLE", P(GL_DepthMaskContextANGLE)}, - {"glDepthRangef", P(GL_DepthRangef)}, - {"glDepthRangefContextANGLE", P(GL_DepthRangefContextANGLE)}, - {"glDepthRangex", P(GL_DepthRangex)}, - {"glDepthRangexContextANGLE", P(GL_DepthRangexContextANGLE)}, - {"glDetachShader", P(GL_DetachShader)}, - {"glDetachShaderContextANGLE", P(GL_DetachShaderContextANGLE)}, - {"glDisable", P(GL_Disable)}, - {"glDisableClientState", P(GL_DisableClientState)}, - {"glDisableClientStateContextANGLE", P(GL_DisableClientStateContextANGLE)}, - {"glDisableContextANGLE", P(GL_DisableContextANGLE)}, - {"glDisableExtensionANGLE", P(GL_DisableExtensionANGLE)}, - {"glDisableExtensionANGLEContextANGLE", P(GL_DisableExtensionANGLEContextANGLE)}, - {"glDisableVertexAttribArray", P(GL_DisableVertexAttribArray)}, - {"glDisableVertexAttribArrayContextANGLE", P(GL_DisableVertexAttribArrayContextANGLE)}, - {"glDisablei", P(GL_Disablei)}, - {"glDisableiContextANGLE", P(GL_DisableiContextANGLE)}, - {"glDisableiEXT", P(GL_DisableiEXT)}, - {"glDisableiEXTContextANGLE", P(GL_DisableiEXTContextANGLE)}, - {"glDisableiOES", P(GL_DisableiOES)}, - {"glDisableiOESContextANGLE", P(GL_DisableiOESContextANGLE)}, - {"glDiscardFramebufferEXT", P(GL_DiscardFramebufferEXT)}, - {"glDiscardFramebufferEXTContextANGLE", P(GL_DiscardFramebufferEXTContextANGLE)}, - {"glDispatchCompute", P(GL_DispatchCompute)}, - {"glDispatchComputeContextANGLE", P(GL_DispatchComputeContextANGLE)}, - {"glDispatchComputeIndirect", P(GL_DispatchComputeIndirect)}, - {"glDispatchComputeIndirectContextANGLE", P(GL_DispatchComputeIndirectContextANGLE)}, - {"glDrawArrays", P(GL_DrawArrays)}, - {"glDrawArraysContextANGLE", P(GL_DrawArraysContextANGLE)}, - {"glDrawArraysIndirect", P(GL_DrawArraysIndirect)}, - {"glDrawArraysIndirectContextANGLE", P(GL_DrawArraysIndirectContextANGLE)}, - {"glDrawArraysInstanced", P(GL_DrawArraysInstanced)}, - {"glDrawArraysInstancedANGLE", P(GL_DrawArraysInstancedANGLE)}, - {"glDrawArraysInstancedANGLEContextANGLE", P(GL_DrawArraysInstancedANGLEContextANGLE)}, - {"glDrawArraysInstancedBaseInstanceANGLE", P(GL_DrawArraysInstancedBaseInstanceANGLE)}, + P(gl::CompressedTexSubImage3DRobustANGLEContextANGLE)}, + {"glCopyBufferSubData", P(gl::CopyBufferSubData)}, + {"glCopyBufferSubDataContextANGLE", P(gl::CopyBufferSubDataContextANGLE)}, + {"glCopyImageSubData", P(gl::CopyImageSubData)}, + {"glCopyImageSubDataContextANGLE", P(gl::CopyImageSubDataContextANGLE)}, + {"glCopyImageSubDataEXT", P(gl::CopyImageSubDataEXT)}, + {"glCopyImageSubDataEXTContextANGLE", P(gl::CopyImageSubDataEXTContextANGLE)}, + {"glCopyImageSubDataOES", P(gl::CopyImageSubDataOES)}, + {"glCopyImageSubDataOESContextANGLE", P(gl::CopyImageSubDataOESContextANGLE)}, + {"glCopySubTexture3DANGLE", P(gl::CopySubTexture3DANGLE)}, + {"glCopySubTexture3DANGLEContextANGLE", P(gl::CopySubTexture3DANGLEContextANGLE)}, + {"glCopySubTextureCHROMIUM", P(gl::CopySubTextureCHROMIUM)}, + {"glCopySubTextureCHROMIUMContextANGLE", P(gl::CopySubTextureCHROMIUMContextANGLE)}, + {"glCopyTexImage2D", P(gl::CopyTexImage2D)}, + {"glCopyTexImage2DContextANGLE", P(gl::CopyTexImage2DContextANGLE)}, + {"glCopyTexSubImage2D", P(gl::CopyTexSubImage2D)}, + {"glCopyTexSubImage2DContextANGLE", P(gl::CopyTexSubImage2DContextANGLE)}, + {"glCopyTexSubImage3D", P(gl::CopyTexSubImage3D)}, + {"glCopyTexSubImage3DContextANGLE", P(gl::CopyTexSubImage3DContextANGLE)}, + {"glCopyTexSubImage3DOES", P(gl::CopyTexSubImage3DOES)}, + {"glCopyTexSubImage3DOESContextANGLE", P(gl::CopyTexSubImage3DOESContextANGLE)}, + {"glCopyTexture3DANGLE", P(gl::CopyTexture3DANGLE)}, + {"glCopyTexture3DANGLEContextANGLE", P(gl::CopyTexture3DANGLEContextANGLE)}, + {"glCopyTextureCHROMIUM", P(gl::CopyTextureCHROMIUM)}, + {"glCopyTextureCHROMIUMContextANGLE", P(gl::CopyTextureCHROMIUMContextANGLE)}, + {"glCoverageModulationCHROMIUM", P(gl::CoverageModulationCHROMIUM)}, + {"glCoverageModulationCHROMIUMContextANGLE", P(gl::CoverageModulationCHROMIUMContextANGLE)}, + {"glCreateMemoryObjectsEXT", P(gl::CreateMemoryObjectsEXT)}, + {"glCreateMemoryObjectsEXTContextANGLE", P(gl::CreateMemoryObjectsEXTContextANGLE)}, + {"glCreateProgram", P(gl::CreateProgram)}, + {"glCreateProgramContextANGLE", P(gl::CreateProgramContextANGLE)}, + {"glCreateShader", P(gl::CreateShader)}, + {"glCreateShaderContextANGLE", P(gl::CreateShaderContextANGLE)}, + {"glCreateShaderProgramv", P(gl::CreateShaderProgramv)}, + {"glCreateShaderProgramvContextANGLE", P(gl::CreateShaderProgramvContextANGLE)}, + {"glCullFace", P(gl::CullFace)}, + {"glCullFaceContextANGLE", P(gl::CullFaceContextANGLE)}, + {"glCurrentPaletteMatrixOES", P(gl::CurrentPaletteMatrixOES)}, + {"glCurrentPaletteMatrixOESContextANGLE", P(gl::CurrentPaletteMatrixOESContextANGLE)}, + {"glDebugMessageCallback", P(gl::DebugMessageCallback)}, + {"glDebugMessageCallbackContextANGLE", P(gl::DebugMessageCallbackContextANGLE)}, + {"glDebugMessageCallbackKHR", P(gl::DebugMessageCallbackKHR)}, + {"glDebugMessageCallbackKHRContextANGLE", P(gl::DebugMessageCallbackKHRContextANGLE)}, + {"glDebugMessageControl", P(gl::DebugMessageControl)}, + {"glDebugMessageControlContextANGLE", P(gl::DebugMessageControlContextANGLE)}, + {"glDebugMessageControlKHR", P(gl::DebugMessageControlKHR)}, + {"glDebugMessageControlKHRContextANGLE", P(gl::DebugMessageControlKHRContextANGLE)}, + {"glDebugMessageInsert", P(gl::DebugMessageInsert)}, + {"glDebugMessageInsertContextANGLE", P(gl::DebugMessageInsertContextANGLE)}, + {"glDebugMessageInsertKHR", P(gl::DebugMessageInsertKHR)}, + {"glDebugMessageInsertKHRContextANGLE", P(gl::DebugMessageInsertKHRContextANGLE)}, + {"glDeleteBuffers", P(gl::DeleteBuffers)}, + {"glDeleteBuffersContextANGLE", P(gl::DeleteBuffersContextANGLE)}, + {"glDeleteFencesNV", P(gl::DeleteFencesNV)}, + {"glDeleteFencesNVContextANGLE", P(gl::DeleteFencesNVContextANGLE)}, + {"glDeleteFramebuffers", P(gl::DeleteFramebuffers)}, + {"glDeleteFramebuffersContextANGLE", P(gl::DeleteFramebuffersContextANGLE)}, + {"glDeleteFramebuffersOES", P(gl::DeleteFramebuffersOES)}, + {"glDeleteFramebuffersOESContextANGLE", P(gl::DeleteFramebuffersOESContextANGLE)}, + {"glDeleteMemoryObjectsEXT", P(gl::DeleteMemoryObjectsEXT)}, + {"glDeleteMemoryObjectsEXTContextANGLE", P(gl::DeleteMemoryObjectsEXTContextANGLE)}, + {"glDeleteProgram", P(gl::DeleteProgram)}, + {"glDeleteProgramContextANGLE", P(gl::DeleteProgramContextANGLE)}, + {"glDeleteProgramPipelines", P(gl::DeleteProgramPipelines)}, + {"glDeleteProgramPipelinesContextANGLE", P(gl::DeleteProgramPipelinesContextANGLE)}, + {"glDeleteQueries", P(gl::DeleteQueries)}, + {"glDeleteQueriesContextANGLE", P(gl::DeleteQueriesContextANGLE)}, + {"glDeleteQueriesEXT", P(gl::DeleteQueriesEXT)}, + {"glDeleteQueriesEXTContextANGLE", P(gl::DeleteQueriesEXTContextANGLE)}, + {"glDeleteRenderbuffers", P(gl::DeleteRenderbuffers)}, + {"glDeleteRenderbuffersContextANGLE", P(gl::DeleteRenderbuffersContextANGLE)}, + {"glDeleteRenderbuffersOES", P(gl::DeleteRenderbuffersOES)}, + {"glDeleteRenderbuffersOESContextANGLE", P(gl::DeleteRenderbuffersOESContextANGLE)}, + {"glDeleteSamplers", P(gl::DeleteSamplers)}, + {"glDeleteSamplersContextANGLE", P(gl::DeleteSamplersContextANGLE)}, + {"glDeleteSemaphoresEXT", P(gl::DeleteSemaphoresEXT)}, + {"glDeleteSemaphoresEXTContextANGLE", P(gl::DeleteSemaphoresEXTContextANGLE)}, + {"glDeleteShader", P(gl::DeleteShader)}, + {"glDeleteShaderContextANGLE", P(gl::DeleteShaderContextANGLE)}, + {"glDeleteSync", P(gl::DeleteSync)}, + {"glDeleteSyncContextANGLE", P(gl::DeleteSyncContextANGLE)}, + {"glDeleteTextures", P(gl::DeleteTextures)}, + {"glDeleteTexturesContextANGLE", P(gl::DeleteTexturesContextANGLE)}, + {"glDeleteTransformFeedbacks", P(gl::DeleteTransformFeedbacks)}, + {"glDeleteTransformFeedbacksContextANGLE", P(gl::DeleteTransformFeedbacksContextANGLE)}, + {"glDeleteVertexArrays", P(gl::DeleteVertexArrays)}, + {"glDeleteVertexArraysContextANGLE", P(gl::DeleteVertexArraysContextANGLE)}, + {"glDeleteVertexArraysOES", P(gl::DeleteVertexArraysOES)}, + {"glDeleteVertexArraysOESContextANGLE", P(gl::DeleteVertexArraysOESContextANGLE)}, + {"glDepthFunc", P(gl::DepthFunc)}, + {"glDepthFuncContextANGLE", P(gl::DepthFuncContextANGLE)}, + {"glDepthMask", P(gl::DepthMask)}, + {"glDepthMaskContextANGLE", P(gl::DepthMaskContextANGLE)}, + {"glDepthRangef", P(gl::DepthRangef)}, + {"glDepthRangefContextANGLE", P(gl::DepthRangefContextANGLE)}, + {"glDepthRangex", P(gl::DepthRangex)}, + {"glDepthRangexContextANGLE", P(gl::DepthRangexContextANGLE)}, + {"glDetachShader", P(gl::DetachShader)}, + {"glDetachShaderContextANGLE", P(gl::DetachShaderContextANGLE)}, + {"glDisable", P(gl::Disable)}, + {"glDisableClientState", P(gl::DisableClientState)}, + {"glDisableClientStateContextANGLE", P(gl::DisableClientStateContextANGLE)}, + {"glDisableContextANGLE", P(gl::DisableContextANGLE)}, + {"glDisableExtensionANGLE", P(gl::DisableExtensionANGLE)}, + {"glDisableExtensionANGLEContextANGLE", P(gl::DisableExtensionANGLEContextANGLE)}, + {"glDisableVertexAttribArray", P(gl::DisableVertexAttribArray)}, + {"glDisableVertexAttribArrayContextANGLE", P(gl::DisableVertexAttribArrayContextANGLE)}, + {"glDisablei", P(gl::Disablei)}, + {"glDisableiContextANGLE", P(gl::DisableiContextANGLE)}, + {"glDisableiEXT", P(gl::DisableiEXT)}, + {"glDisableiEXTContextANGLE", P(gl::DisableiEXTContextANGLE)}, + {"glDisableiOES", P(gl::DisableiOES)}, + {"glDisableiOESContextANGLE", P(gl::DisableiOESContextANGLE)}, + {"glDiscardFramebufferEXT", P(gl::DiscardFramebufferEXT)}, + {"glDiscardFramebufferEXTContextANGLE", P(gl::DiscardFramebufferEXTContextANGLE)}, + {"glDispatchCompute", P(gl::DispatchCompute)}, + {"glDispatchComputeContextANGLE", P(gl::DispatchComputeContextANGLE)}, + {"glDispatchComputeIndirect", P(gl::DispatchComputeIndirect)}, + {"glDispatchComputeIndirectContextANGLE", P(gl::DispatchComputeIndirectContextANGLE)}, + {"glDrawArrays", P(gl::DrawArrays)}, + {"glDrawArraysContextANGLE", P(gl::DrawArraysContextANGLE)}, + {"glDrawArraysIndirect", P(gl::DrawArraysIndirect)}, + {"glDrawArraysIndirectContextANGLE", P(gl::DrawArraysIndirectContextANGLE)}, + {"glDrawArraysInstanced", P(gl::DrawArraysInstanced)}, + {"glDrawArraysInstancedANGLE", P(gl::DrawArraysInstancedANGLE)}, + {"glDrawArraysInstancedANGLEContextANGLE", P(gl::DrawArraysInstancedANGLEContextANGLE)}, + {"glDrawArraysInstancedBaseInstanceANGLE", P(gl::DrawArraysInstancedBaseInstanceANGLE)}, {"glDrawArraysInstancedBaseInstanceANGLEContextANGLE", - P(GL_DrawArraysInstancedBaseInstanceANGLEContextANGLE)}, - {"glDrawArraysInstancedContextANGLE", P(GL_DrawArraysInstancedContextANGLE)}, - {"glDrawArraysInstancedEXT", P(GL_DrawArraysInstancedEXT)}, - {"glDrawArraysInstancedEXTContextANGLE", P(GL_DrawArraysInstancedEXTContextANGLE)}, - {"glDrawBuffers", P(GL_DrawBuffers)}, - {"glDrawBuffersContextANGLE", P(GL_DrawBuffersContextANGLE)}, - {"glDrawBuffersEXT", P(GL_DrawBuffersEXT)}, - {"glDrawBuffersEXTContextANGLE", P(GL_DrawBuffersEXTContextANGLE)}, - {"glDrawElements", P(GL_DrawElements)}, - {"glDrawElementsBaseVertex", P(GL_DrawElementsBaseVertex)}, - {"glDrawElementsBaseVertexContextANGLE", P(GL_DrawElementsBaseVertexContextANGLE)}, - {"glDrawElementsBaseVertexEXT", P(GL_DrawElementsBaseVertexEXT)}, - {"glDrawElementsBaseVertexEXTContextANGLE", P(GL_DrawElementsBaseVertexEXTContextANGLE)}, - {"glDrawElementsBaseVertexOES", P(GL_DrawElementsBaseVertexOES)}, - {"glDrawElementsBaseVertexOESContextANGLE", P(GL_DrawElementsBaseVertexOESContextANGLE)}, - {"glDrawElementsContextANGLE", P(GL_DrawElementsContextANGLE)}, - {"glDrawElementsIndirect", P(GL_DrawElementsIndirect)}, - {"glDrawElementsIndirectContextANGLE", P(GL_DrawElementsIndirectContextANGLE)}, - {"glDrawElementsInstanced", P(GL_DrawElementsInstanced)}, - {"glDrawElementsInstancedANGLE", P(GL_DrawElementsInstancedANGLE)}, - {"glDrawElementsInstancedANGLEContextANGLE", P(GL_DrawElementsInstancedANGLEContextANGLE)}, - {"glDrawElementsInstancedBaseVertex", P(GL_DrawElementsInstancedBaseVertex)}, + P(gl::DrawArraysInstancedBaseInstanceANGLEContextANGLE)}, + {"glDrawArraysInstancedContextANGLE", P(gl::DrawArraysInstancedContextANGLE)}, + {"glDrawArraysInstancedEXT", P(gl::DrawArraysInstancedEXT)}, + {"glDrawArraysInstancedEXTContextANGLE", P(gl::DrawArraysInstancedEXTContextANGLE)}, + {"glDrawBuffers", P(gl::DrawBuffers)}, + {"glDrawBuffersContextANGLE", P(gl::DrawBuffersContextANGLE)}, + {"glDrawBuffersEXT", P(gl::DrawBuffersEXT)}, + {"glDrawBuffersEXTContextANGLE", P(gl::DrawBuffersEXTContextANGLE)}, + {"glDrawElements", P(gl::DrawElements)}, + {"glDrawElementsBaseVertex", P(gl::DrawElementsBaseVertex)}, + {"glDrawElementsBaseVertexContextANGLE", P(gl::DrawElementsBaseVertexContextANGLE)}, + {"glDrawElementsBaseVertexEXT", P(gl::DrawElementsBaseVertexEXT)}, + {"glDrawElementsBaseVertexEXTContextANGLE", P(gl::DrawElementsBaseVertexEXTContextANGLE)}, + {"glDrawElementsBaseVertexOES", P(gl::DrawElementsBaseVertexOES)}, + {"glDrawElementsBaseVertexOESContextANGLE", P(gl::DrawElementsBaseVertexOESContextANGLE)}, + {"glDrawElementsContextANGLE", P(gl::DrawElementsContextANGLE)}, + {"glDrawElementsIndirect", P(gl::DrawElementsIndirect)}, + {"glDrawElementsIndirectContextANGLE", P(gl::DrawElementsIndirectContextANGLE)}, + {"glDrawElementsInstanced", P(gl::DrawElementsInstanced)}, + {"glDrawElementsInstancedANGLE", P(gl::DrawElementsInstancedANGLE)}, + {"glDrawElementsInstancedANGLEContextANGLE", P(gl::DrawElementsInstancedANGLEContextANGLE)}, + {"glDrawElementsInstancedBaseVertex", P(gl::DrawElementsInstancedBaseVertex)}, {"glDrawElementsInstancedBaseVertexBaseInstanceANGLE", - P(GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE)}, + P(gl::DrawElementsInstancedBaseVertexBaseInstanceANGLE)}, {"glDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE", - P(GL_DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE)}, + P(gl::DrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE)}, {"glDrawElementsInstancedBaseVertexContextANGLE", - P(GL_DrawElementsInstancedBaseVertexContextANGLE)}, - {"glDrawElementsInstancedBaseVertexEXT", P(GL_DrawElementsInstancedBaseVertexEXT)}, + P(gl::DrawElementsInstancedBaseVertexContextANGLE)}, + {"glDrawElementsInstancedBaseVertexEXT", P(gl::DrawElementsInstancedBaseVertexEXT)}, {"glDrawElementsInstancedBaseVertexEXTContextANGLE", - P(GL_DrawElementsInstancedBaseVertexEXTContextANGLE)}, - {"glDrawElementsInstancedBaseVertexOES", P(GL_DrawElementsInstancedBaseVertexOES)}, + P(gl::DrawElementsInstancedBaseVertexEXTContextANGLE)}, + {"glDrawElementsInstancedBaseVertexOES", P(gl::DrawElementsInstancedBaseVertexOES)}, {"glDrawElementsInstancedBaseVertexOESContextANGLE", - P(GL_DrawElementsInstancedBaseVertexOESContextANGLE)}, - {"glDrawElementsInstancedContextANGLE", P(GL_DrawElementsInstancedContextANGLE)}, - {"glDrawElementsInstancedEXT", P(GL_DrawElementsInstancedEXT)}, - {"glDrawElementsInstancedEXTContextANGLE", P(GL_DrawElementsInstancedEXTContextANGLE)}, - {"glDrawRangeElements", P(GL_DrawRangeElements)}, - {"glDrawRangeElementsBaseVertex", P(GL_DrawRangeElementsBaseVertex)}, - {"glDrawRangeElementsBaseVertexContextANGLE", P(GL_DrawRangeElementsBaseVertexContextANGLE)}, - {"glDrawRangeElementsBaseVertexEXT", P(GL_DrawRangeElementsBaseVertexEXT)}, + P(gl::DrawElementsInstancedBaseVertexOESContextANGLE)}, + {"glDrawElementsInstancedContextANGLE", P(gl::DrawElementsInstancedContextANGLE)}, + {"glDrawElementsInstancedEXT", P(gl::DrawElementsInstancedEXT)}, + {"glDrawElementsInstancedEXTContextANGLE", P(gl::DrawElementsInstancedEXTContextANGLE)}, + {"glDrawRangeElements", P(gl::DrawRangeElements)}, + {"glDrawRangeElementsBaseVertex", P(gl::DrawRangeElementsBaseVertex)}, + {"glDrawRangeElementsBaseVertexContextANGLE", P(gl::DrawRangeElementsBaseVertexContextANGLE)}, + {"glDrawRangeElementsBaseVertexEXT", P(gl::DrawRangeElementsBaseVertexEXT)}, {"glDrawRangeElementsBaseVertexEXTContextANGLE", - P(GL_DrawRangeElementsBaseVertexEXTContextANGLE)}, - {"glDrawRangeElementsBaseVertexOES", P(GL_DrawRangeElementsBaseVertexOES)}, + P(gl::DrawRangeElementsBaseVertexEXTContextANGLE)}, + {"glDrawRangeElementsBaseVertexOES", P(gl::DrawRangeElementsBaseVertexOES)}, {"glDrawRangeElementsBaseVertexOESContextANGLE", - P(GL_DrawRangeElementsBaseVertexOESContextANGLE)}, - {"glDrawRangeElementsContextANGLE", P(GL_DrawRangeElementsContextANGLE)}, - {"glDrawTexfOES", P(GL_DrawTexfOES)}, - {"glDrawTexfOESContextANGLE", P(GL_DrawTexfOESContextANGLE)}, - {"glDrawTexfvOES", P(GL_DrawTexfvOES)}, - {"glDrawTexfvOESContextANGLE", P(GL_DrawTexfvOESContextANGLE)}, - {"glDrawTexiOES", P(GL_DrawTexiOES)}, - {"glDrawTexiOESContextANGLE", P(GL_DrawTexiOESContextANGLE)}, - {"glDrawTexivOES", P(GL_DrawTexivOES)}, - {"glDrawTexivOESContextANGLE", P(GL_DrawTexivOESContextANGLE)}, - {"glDrawTexsOES", P(GL_DrawTexsOES)}, - {"glDrawTexsOESContextANGLE", P(GL_DrawTexsOESContextANGLE)}, - {"glDrawTexsvOES", P(GL_DrawTexsvOES)}, - {"glDrawTexsvOESContextANGLE", P(GL_DrawTexsvOESContextANGLE)}, - {"glDrawTexxOES", P(GL_DrawTexxOES)}, - {"glDrawTexxOESContextANGLE", P(GL_DrawTexxOESContextANGLE)}, - {"glDrawTexxvOES", P(GL_DrawTexxvOES)}, - {"glDrawTexxvOESContextANGLE", P(GL_DrawTexxvOESContextANGLE)}, - {"glEGLImageTargetRenderbufferStorageOES", P(GL_EGLImageTargetRenderbufferStorageOES)}, + P(gl::DrawRangeElementsBaseVertexOESContextANGLE)}, + {"glDrawRangeElementsContextANGLE", P(gl::DrawRangeElementsContextANGLE)}, + {"glDrawTexfOES", P(gl::DrawTexfOES)}, + {"glDrawTexfOESContextANGLE", P(gl::DrawTexfOESContextANGLE)}, + {"glDrawTexfvOES", P(gl::DrawTexfvOES)}, + {"glDrawTexfvOESContextANGLE", P(gl::DrawTexfvOESContextANGLE)}, + {"glDrawTexiOES", P(gl::DrawTexiOES)}, + {"glDrawTexiOESContextANGLE", P(gl::DrawTexiOESContextANGLE)}, + {"glDrawTexivOES", P(gl::DrawTexivOES)}, + {"glDrawTexivOESContextANGLE", P(gl::DrawTexivOESContextANGLE)}, + {"glDrawTexsOES", P(gl::DrawTexsOES)}, + {"glDrawTexsOESContextANGLE", P(gl::DrawTexsOESContextANGLE)}, + {"glDrawTexsvOES", P(gl::DrawTexsvOES)}, + {"glDrawTexsvOESContextANGLE", P(gl::DrawTexsvOESContextANGLE)}, + {"glDrawTexxOES", P(gl::DrawTexxOES)}, + {"glDrawTexxOESContextANGLE", P(gl::DrawTexxOESContextANGLE)}, + {"glDrawTexxvOES", P(gl::DrawTexxvOES)}, + {"glDrawTexxvOESContextANGLE", P(gl::DrawTexxvOESContextANGLE)}, + {"glEGLImageTargetRenderbufferStorageOES", P(gl::EGLImageTargetRenderbufferStorageOES)}, {"glEGLImageTargetRenderbufferStorageOESContextANGLE", - P(GL_EGLImageTargetRenderbufferStorageOESContextANGLE)}, - {"glEGLImageTargetTexture2DOES", P(GL_EGLImageTargetTexture2DOES)}, - {"glEGLImageTargetTexture2DOESContextANGLE", P(GL_EGLImageTargetTexture2DOESContextANGLE)}, - {"glEnable", P(GL_Enable)}, - {"glEnableClientState", P(GL_EnableClientState)}, - {"glEnableClientStateContextANGLE", P(GL_EnableClientStateContextANGLE)}, - {"glEnableContextANGLE", P(GL_EnableContextANGLE)}, - {"glEnableVertexAttribArray", P(GL_EnableVertexAttribArray)}, - {"glEnableVertexAttribArrayContextANGLE", P(GL_EnableVertexAttribArrayContextANGLE)}, - {"glEnablei", P(GL_Enablei)}, - {"glEnableiContextANGLE", P(GL_EnableiContextANGLE)}, - {"glEnableiEXT", P(GL_EnableiEXT)}, - {"glEnableiEXTContextANGLE", P(GL_EnableiEXTContextANGLE)}, - {"glEnableiOES", P(GL_EnableiOES)}, - {"glEnableiOESContextANGLE", P(GL_EnableiOESContextANGLE)}, - {"glEndQuery", P(GL_EndQuery)}, - {"glEndQueryContextANGLE", P(GL_EndQueryContextANGLE)}, - {"glEndQueryEXT", P(GL_EndQueryEXT)}, - {"glEndQueryEXTContextANGLE", P(GL_EndQueryEXTContextANGLE)}, - {"glEndTransformFeedback", P(GL_EndTransformFeedback)}, - {"glEndTransformFeedbackContextANGLE", P(GL_EndTransformFeedbackContextANGLE)}, - {"glFenceSync", P(GL_FenceSync)}, - {"glFenceSyncContextANGLE", P(GL_FenceSyncContextANGLE)}, - {"glFinish", P(GL_Finish)}, - {"glFinishContextANGLE", P(GL_FinishContextANGLE)}, - {"glFinishFenceNV", P(GL_FinishFenceNV)}, - {"glFinishFenceNVContextANGLE", P(GL_FinishFenceNVContextANGLE)}, - {"glFlush", P(GL_Flush)}, - {"glFlushContextANGLE", P(GL_FlushContextANGLE)}, - {"glFlushMappedBufferRange", P(GL_FlushMappedBufferRange)}, - {"glFlushMappedBufferRangeContextANGLE", P(GL_FlushMappedBufferRangeContextANGLE)}, - {"glFlushMappedBufferRangeEXT", P(GL_FlushMappedBufferRangeEXT)}, - {"glFlushMappedBufferRangeEXTContextANGLE", P(GL_FlushMappedBufferRangeEXTContextANGLE)}, - {"glFogf", P(GL_Fogf)}, - {"glFogfContextANGLE", P(GL_FogfContextANGLE)}, - {"glFogfv", P(GL_Fogfv)}, - {"glFogfvContextANGLE", P(GL_FogfvContextANGLE)}, - {"glFogx", P(GL_Fogx)}, - {"glFogxContextANGLE", P(GL_FogxContextANGLE)}, - {"glFogxv", P(GL_Fogxv)}, - {"glFogxvContextANGLE", P(GL_FogxvContextANGLE)}, - {"glFramebufferFetchBarrierEXT", P(GL_FramebufferFetchBarrierEXT)}, - {"glFramebufferFetchBarrierEXTContextANGLE", P(GL_FramebufferFetchBarrierEXTContextANGLE)}, - {"glFramebufferParameteri", P(GL_FramebufferParameteri)}, - {"glFramebufferParameteriContextANGLE", P(GL_FramebufferParameteriContextANGLE)}, - {"glFramebufferRenderbuffer", P(GL_FramebufferRenderbuffer)}, - {"glFramebufferRenderbufferContextANGLE", P(GL_FramebufferRenderbufferContextANGLE)}, - {"glFramebufferRenderbufferOES", P(GL_FramebufferRenderbufferOES)}, - {"glFramebufferRenderbufferOESContextANGLE", P(GL_FramebufferRenderbufferOESContextANGLE)}, - {"glFramebufferTexture", P(GL_FramebufferTexture)}, - {"glFramebufferTexture2D", P(GL_FramebufferTexture2D)}, - {"glFramebufferTexture2DContextANGLE", P(GL_FramebufferTexture2DContextANGLE)}, - {"glFramebufferTexture2DMultisampleEXT", P(GL_FramebufferTexture2DMultisampleEXT)}, + P(gl::EGLImageTargetRenderbufferStorageOESContextANGLE)}, + {"glEGLImageTargetTexture2DOES", P(gl::EGLImageTargetTexture2DOES)}, + {"glEGLImageTargetTexture2DOESContextANGLE", P(gl::EGLImageTargetTexture2DOESContextANGLE)}, + {"glEnable", P(gl::Enable)}, + {"glEnableClientState", P(gl::EnableClientState)}, + {"glEnableClientStateContextANGLE", P(gl::EnableClientStateContextANGLE)}, + {"glEnableContextANGLE", P(gl::EnableContextANGLE)}, + {"glEnableVertexAttribArray", P(gl::EnableVertexAttribArray)}, + {"glEnableVertexAttribArrayContextANGLE", P(gl::EnableVertexAttribArrayContextANGLE)}, + {"glEnablei", P(gl::Enablei)}, + {"glEnableiContextANGLE", P(gl::EnableiContextANGLE)}, + {"glEnableiEXT", P(gl::EnableiEXT)}, + {"glEnableiEXTContextANGLE", P(gl::EnableiEXTContextANGLE)}, + {"glEnableiOES", P(gl::EnableiOES)}, + {"glEnableiOESContextANGLE", P(gl::EnableiOESContextANGLE)}, + {"glEndQuery", P(gl::EndQuery)}, + {"glEndQueryContextANGLE", P(gl::EndQueryContextANGLE)}, + {"glEndQueryEXT", P(gl::EndQueryEXT)}, + {"glEndQueryEXTContextANGLE", P(gl::EndQueryEXTContextANGLE)}, + {"glEndTransformFeedback", P(gl::EndTransformFeedback)}, + {"glEndTransformFeedbackContextANGLE", P(gl::EndTransformFeedbackContextANGLE)}, + {"glFenceSync", P(gl::FenceSync)}, + {"glFenceSyncContextANGLE", P(gl::FenceSyncContextANGLE)}, + {"glFinish", P(gl::Finish)}, + {"glFinishContextANGLE", P(gl::FinishContextANGLE)}, + {"glFinishFenceNV", P(gl::FinishFenceNV)}, + {"glFinishFenceNVContextANGLE", P(gl::FinishFenceNVContextANGLE)}, + {"glFlush", P(gl::Flush)}, + {"glFlushContextANGLE", P(gl::FlushContextANGLE)}, + {"glFlushMappedBufferRange", P(gl::FlushMappedBufferRange)}, + {"glFlushMappedBufferRangeContextANGLE", P(gl::FlushMappedBufferRangeContextANGLE)}, + {"glFlushMappedBufferRangeEXT", P(gl::FlushMappedBufferRangeEXT)}, + {"glFlushMappedBufferRangeEXTContextANGLE", P(gl::FlushMappedBufferRangeEXTContextANGLE)}, + {"glFogf", P(gl::Fogf)}, + {"glFogfContextANGLE", P(gl::FogfContextANGLE)}, + {"glFogfv", P(gl::Fogfv)}, + {"glFogfvContextANGLE", P(gl::FogfvContextANGLE)}, + {"glFogx", P(gl::Fogx)}, + {"glFogxContextANGLE", P(gl::FogxContextANGLE)}, + {"glFogxv", P(gl::Fogxv)}, + {"glFogxvContextANGLE", P(gl::FogxvContextANGLE)}, + {"glFramebufferParameteri", P(gl::FramebufferParameteri)}, + {"glFramebufferParameteriContextANGLE", P(gl::FramebufferParameteriContextANGLE)}, + {"glFramebufferRenderbuffer", P(gl::FramebufferRenderbuffer)}, + {"glFramebufferRenderbufferContextANGLE", P(gl::FramebufferRenderbufferContextANGLE)}, + {"glFramebufferRenderbufferOES", P(gl::FramebufferRenderbufferOES)}, + {"glFramebufferRenderbufferOESContextANGLE", P(gl::FramebufferRenderbufferOESContextANGLE)}, + {"glFramebufferTexture", P(gl::FramebufferTexture)}, + {"glFramebufferTexture2D", P(gl::FramebufferTexture2D)}, + {"glFramebufferTexture2DContextANGLE", P(gl::FramebufferTexture2DContextANGLE)}, + {"glFramebufferTexture2DMultisampleEXT", P(gl::FramebufferTexture2DMultisampleEXT)}, {"glFramebufferTexture2DMultisampleEXTContextANGLE", - P(GL_FramebufferTexture2DMultisampleEXTContextANGLE)}, - {"glFramebufferTexture2DOES", P(GL_FramebufferTexture2DOES)}, - {"glFramebufferTexture2DOESContextANGLE", P(GL_FramebufferTexture2DOESContextANGLE)}, - {"glFramebufferTexture3DOES", P(GL_FramebufferTexture3DOES)}, - {"glFramebufferTexture3DOESContextANGLE", P(GL_FramebufferTexture3DOESContextANGLE)}, - {"glFramebufferTextureContextANGLE", P(GL_FramebufferTextureContextANGLE)}, - {"glFramebufferTextureEXT", P(GL_FramebufferTextureEXT)}, - {"glFramebufferTextureEXTContextANGLE", P(GL_FramebufferTextureEXTContextANGLE)}, - {"glFramebufferTextureLayer", P(GL_FramebufferTextureLayer)}, - {"glFramebufferTextureLayerContextANGLE", P(GL_FramebufferTextureLayerContextANGLE)}, - {"glFramebufferTextureMultiviewOVR", P(GL_FramebufferTextureMultiviewOVR)}, + P(gl::FramebufferTexture2DMultisampleEXTContextANGLE)}, + {"glFramebufferTexture2DOES", P(gl::FramebufferTexture2DOES)}, + {"glFramebufferTexture2DOESContextANGLE", P(gl::FramebufferTexture2DOESContextANGLE)}, + {"glFramebufferTexture3DOES", P(gl::FramebufferTexture3DOES)}, + {"glFramebufferTexture3DOESContextANGLE", P(gl::FramebufferTexture3DOESContextANGLE)}, + {"glFramebufferTextureContextANGLE", P(gl::FramebufferTextureContextANGLE)}, + {"glFramebufferTextureEXT", P(gl::FramebufferTextureEXT)}, + {"glFramebufferTextureEXTContextANGLE", P(gl::FramebufferTextureEXTContextANGLE)}, + {"glFramebufferTextureLayer", P(gl::FramebufferTextureLayer)}, + {"glFramebufferTextureLayerContextANGLE", P(gl::FramebufferTextureLayerContextANGLE)}, + {"glFramebufferTextureMultiviewOVR", P(gl::FramebufferTextureMultiviewOVR)}, {"glFramebufferTextureMultiviewOVRContextANGLE", - P(GL_FramebufferTextureMultiviewOVRContextANGLE)}, - {"glFrontFace", P(GL_FrontFace)}, - {"glFrontFaceContextANGLE", P(GL_FrontFaceContextANGLE)}, - {"glFrustumf", P(GL_Frustumf)}, - {"glFrustumfContextANGLE", P(GL_FrustumfContextANGLE)}, - {"glFrustumx", P(GL_Frustumx)}, - {"glFrustumxContextANGLE", P(GL_FrustumxContextANGLE)}, - {"glGenBuffers", P(GL_GenBuffers)}, - {"glGenBuffersContextANGLE", P(GL_GenBuffersContextANGLE)}, - {"glGenFencesNV", P(GL_GenFencesNV)}, - {"glGenFencesNVContextANGLE", P(GL_GenFencesNVContextANGLE)}, - {"glGenFramebuffers", P(GL_GenFramebuffers)}, - {"glGenFramebuffersContextANGLE", P(GL_GenFramebuffersContextANGLE)}, - {"glGenFramebuffersOES", P(GL_GenFramebuffersOES)}, - {"glGenFramebuffersOESContextANGLE", P(GL_GenFramebuffersOESContextANGLE)}, - {"glGenProgramPipelines", P(GL_GenProgramPipelines)}, - {"glGenProgramPipelinesContextANGLE", P(GL_GenProgramPipelinesContextANGLE)}, - {"glGenProgramPipelinesEXT", P(GL_GenProgramPipelinesEXT)}, - {"glGenProgramPipelinesEXTContextANGLE", P(GL_GenProgramPipelinesEXTContextANGLE)}, - {"glGenQueries", P(GL_GenQueries)}, - {"glGenQueriesContextANGLE", P(GL_GenQueriesContextANGLE)}, - {"glGenQueriesEXT", P(GL_GenQueriesEXT)}, - {"glGenQueriesEXTContextANGLE", P(GL_GenQueriesEXTContextANGLE)}, - {"glGenRenderbuffers", P(GL_GenRenderbuffers)}, - {"glGenRenderbuffersContextANGLE", P(GL_GenRenderbuffersContextANGLE)}, - {"glGenRenderbuffersOES", P(GL_GenRenderbuffersOES)}, - {"glGenRenderbuffersOESContextANGLE", P(GL_GenRenderbuffersOESContextANGLE)}, - {"glGenSamplers", P(GL_GenSamplers)}, - {"glGenSamplersContextANGLE", P(GL_GenSamplersContextANGLE)}, - {"glGenSemaphoresEXT", P(GL_GenSemaphoresEXT)}, - {"glGenSemaphoresEXTContextANGLE", P(GL_GenSemaphoresEXTContextANGLE)}, - {"glGenTextures", P(GL_GenTextures)}, - {"glGenTexturesContextANGLE", P(GL_GenTexturesContextANGLE)}, - {"glGenTransformFeedbacks", P(GL_GenTransformFeedbacks)}, - {"glGenTransformFeedbacksContextANGLE", P(GL_GenTransformFeedbacksContextANGLE)}, - {"glGenVertexArrays", P(GL_GenVertexArrays)}, - {"glGenVertexArraysContextANGLE", P(GL_GenVertexArraysContextANGLE)}, - {"glGenVertexArraysOES", P(GL_GenVertexArraysOES)}, - {"glGenVertexArraysOESContextANGLE", P(GL_GenVertexArraysOESContextANGLE)}, - {"glGenerateMipmap", P(GL_GenerateMipmap)}, - {"glGenerateMipmapContextANGLE", P(GL_GenerateMipmapContextANGLE)}, - {"glGenerateMipmapOES", P(GL_GenerateMipmapOES)}, - {"glGenerateMipmapOESContextANGLE", P(GL_GenerateMipmapOESContextANGLE)}, - {"glGetActiveAttrib", P(GL_GetActiveAttrib)}, - {"glGetActiveAttribContextANGLE", P(GL_GetActiveAttribContextANGLE)}, - {"glGetActiveUniform", P(GL_GetActiveUniform)}, - {"glGetActiveUniformBlockName", P(GL_GetActiveUniformBlockName)}, - {"glGetActiveUniformBlockNameContextANGLE", P(GL_GetActiveUniformBlockNameContextANGLE)}, - {"glGetActiveUniformBlockiv", P(GL_GetActiveUniformBlockiv)}, - {"glGetActiveUniformBlockivContextANGLE", P(GL_GetActiveUniformBlockivContextANGLE)}, - {"glGetActiveUniformBlockivRobustANGLE", P(GL_GetActiveUniformBlockivRobustANGLE)}, + P(gl::FramebufferTextureMultiviewOVRContextANGLE)}, + {"glFrontFace", P(gl::FrontFace)}, + {"glFrontFaceContextANGLE", P(gl::FrontFaceContextANGLE)}, + {"glFrustumf", P(gl::Frustumf)}, + {"glFrustumfContextANGLE", P(gl::FrustumfContextANGLE)}, + {"glFrustumx", P(gl::Frustumx)}, + {"glFrustumxContextANGLE", P(gl::FrustumxContextANGLE)}, + {"glGenBuffers", P(gl::GenBuffers)}, + {"glGenBuffersContextANGLE", P(gl::GenBuffersContextANGLE)}, + {"glGenFencesNV", P(gl::GenFencesNV)}, + {"glGenFencesNVContextANGLE", P(gl::GenFencesNVContextANGLE)}, + {"glGenFramebuffers", P(gl::GenFramebuffers)}, + {"glGenFramebuffersContextANGLE", P(gl::GenFramebuffersContextANGLE)}, + {"glGenFramebuffersOES", P(gl::GenFramebuffersOES)}, + {"glGenFramebuffersOESContextANGLE", P(gl::GenFramebuffersOESContextANGLE)}, + {"glGenProgramPipelines", P(gl::GenProgramPipelines)}, + {"glGenProgramPipelinesContextANGLE", P(gl::GenProgramPipelinesContextANGLE)}, + {"glGenQueries", P(gl::GenQueries)}, + {"glGenQueriesContextANGLE", P(gl::GenQueriesContextANGLE)}, + {"glGenQueriesEXT", P(gl::GenQueriesEXT)}, + {"glGenQueriesEXTContextANGLE", P(gl::GenQueriesEXTContextANGLE)}, + {"glGenRenderbuffers", P(gl::GenRenderbuffers)}, + {"glGenRenderbuffersContextANGLE", P(gl::GenRenderbuffersContextANGLE)}, + {"glGenRenderbuffersOES", P(gl::GenRenderbuffersOES)}, + {"glGenRenderbuffersOESContextANGLE", P(gl::GenRenderbuffersOESContextANGLE)}, + {"glGenSamplers", P(gl::GenSamplers)}, + {"glGenSamplersContextANGLE", P(gl::GenSamplersContextANGLE)}, + {"glGenSemaphoresEXT", P(gl::GenSemaphoresEXT)}, + {"glGenSemaphoresEXTContextANGLE", P(gl::GenSemaphoresEXTContextANGLE)}, + {"glGenTextures", P(gl::GenTextures)}, + {"glGenTexturesContextANGLE", P(gl::GenTexturesContextANGLE)}, + {"glGenTransformFeedbacks", P(gl::GenTransformFeedbacks)}, + {"glGenTransformFeedbacksContextANGLE", P(gl::GenTransformFeedbacksContextANGLE)}, + {"glGenVertexArrays", P(gl::GenVertexArrays)}, + {"glGenVertexArraysContextANGLE", P(gl::GenVertexArraysContextANGLE)}, + {"glGenVertexArraysOES", P(gl::GenVertexArraysOES)}, + {"glGenVertexArraysOESContextANGLE", P(gl::GenVertexArraysOESContextANGLE)}, + {"glGenerateMipmap", P(gl::GenerateMipmap)}, + {"glGenerateMipmapContextANGLE", P(gl::GenerateMipmapContextANGLE)}, + {"glGenerateMipmapOES", P(gl::GenerateMipmapOES)}, + {"glGenerateMipmapOESContextANGLE", P(gl::GenerateMipmapOESContextANGLE)}, + {"glGetActiveAttrib", P(gl::GetActiveAttrib)}, + {"glGetActiveAttribContextANGLE", P(gl::GetActiveAttribContextANGLE)}, + {"glGetActiveUniform", P(gl::GetActiveUniform)}, + {"glGetActiveUniformBlockName", P(gl::GetActiveUniformBlockName)}, + {"glGetActiveUniformBlockNameContextANGLE", P(gl::GetActiveUniformBlockNameContextANGLE)}, + {"glGetActiveUniformBlockiv", P(gl::GetActiveUniformBlockiv)}, + {"glGetActiveUniformBlockivContextANGLE", P(gl::GetActiveUniformBlockivContextANGLE)}, + {"glGetActiveUniformBlockivRobustANGLE", P(gl::GetActiveUniformBlockivRobustANGLE)}, {"glGetActiveUniformBlockivRobustANGLEContextANGLE", - P(GL_GetActiveUniformBlockivRobustANGLEContextANGLE)}, - {"glGetActiveUniformContextANGLE", P(GL_GetActiveUniformContextANGLE)}, - {"glGetActiveUniformsiv", P(GL_GetActiveUniformsiv)}, - {"glGetActiveUniformsivContextANGLE", P(GL_GetActiveUniformsivContextANGLE)}, - {"glGetAttachedShaders", P(GL_GetAttachedShaders)}, - {"glGetAttachedShadersContextANGLE", P(GL_GetAttachedShadersContextANGLE)}, - {"glGetAttribLocation", P(GL_GetAttribLocation)}, - {"glGetAttribLocationContextANGLE", P(GL_GetAttribLocationContextANGLE)}, - {"glGetBooleani_v", P(GL_GetBooleani_v)}, - {"glGetBooleani_vContextANGLE", P(GL_GetBooleani_vContextANGLE)}, - {"glGetBooleani_vRobustANGLE", P(GL_GetBooleani_vRobustANGLE)}, - {"glGetBooleani_vRobustANGLEContextANGLE", P(GL_GetBooleani_vRobustANGLEContextANGLE)}, - {"glGetBooleanv", P(GL_GetBooleanv)}, - {"glGetBooleanvContextANGLE", P(GL_GetBooleanvContextANGLE)}, - {"glGetBooleanvRobustANGLE", P(GL_GetBooleanvRobustANGLE)}, - {"glGetBooleanvRobustANGLEContextANGLE", P(GL_GetBooleanvRobustANGLEContextANGLE)}, - {"glGetBufferParameteri64v", P(GL_GetBufferParameteri64v)}, - {"glGetBufferParameteri64vContextANGLE", P(GL_GetBufferParameteri64vContextANGLE)}, - {"glGetBufferParameteri64vRobustANGLE", P(GL_GetBufferParameteri64vRobustANGLE)}, + P(gl::GetActiveUniformBlockivRobustANGLEContextANGLE)}, + {"glGetActiveUniformContextANGLE", P(gl::GetActiveUniformContextANGLE)}, + {"glGetActiveUniformsiv", P(gl::GetActiveUniformsiv)}, + {"glGetActiveUniformsivContextANGLE", P(gl::GetActiveUniformsivContextANGLE)}, + {"glGetAttachedShaders", P(gl::GetAttachedShaders)}, + {"glGetAttachedShadersContextANGLE", P(gl::GetAttachedShadersContextANGLE)}, + {"glGetAttribLocation", P(gl::GetAttribLocation)}, + {"glGetAttribLocationContextANGLE", P(gl::GetAttribLocationContextANGLE)}, + {"glGetBooleani_v", P(gl::GetBooleani_v)}, + {"glGetBooleani_vContextANGLE", P(gl::GetBooleani_vContextANGLE)}, + {"glGetBooleani_vRobustANGLE", P(gl::GetBooleani_vRobustANGLE)}, + {"glGetBooleani_vRobustANGLEContextANGLE", P(gl::GetBooleani_vRobustANGLEContextANGLE)}, + {"glGetBooleanv", P(gl::GetBooleanv)}, + {"glGetBooleanvContextANGLE", P(gl::GetBooleanvContextANGLE)}, + {"glGetBooleanvRobustANGLE", P(gl::GetBooleanvRobustANGLE)}, + {"glGetBooleanvRobustANGLEContextANGLE", P(gl::GetBooleanvRobustANGLEContextANGLE)}, + {"glGetBufferParameteri64v", P(gl::GetBufferParameteri64v)}, + {"glGetBufferParameteri64vContextANGLE", P(gl::GetBufferParameteri64vContextANGLE)}, + {"glGetBufferParameteri64vRobustANGLE", P(gl::GetBufferParameteri64vRobustANGLE)}, {"glGetBufferParameteri64vRobustANGLEContextANGLE", - P(GL_GetBufferParameteri64vRobustANGLEContextANGLE)}, - {"glGetBufferParameteriv", P(GL_GetBufferParameteriv)}, - {"glGetBufferParameterivContextANGLE", P(GL_GetBufferParameterivContextANGLE)}, - {"glGetBufferParameterivRobustANGLE", P(GL_GetBufferParameterivRobustANGLE)}, + P(gl::GetBufferParameteri64vRobustANGLEContextANGLE)}, + {"glGetBufferParameteriv", P(gl::GetBufferParameteriv)}, + {"glGetBufferParameterivContextANGLE", P(gl::GetBufferParameterivContextANGLE)}, + {"glGetBufferParameterivRobustANGLE", P(gl::GetBufferParameterivRobustANGLE)}, {"glGetBufferParameterivRobustANGLEContextANGLE", - P(GL_GetBufferParameterivRobustANGLEContextANGLE)}, - {"glGetBufferPointerv", P(GL_GetBufferPointerv)}, - {"glGetBufferPointervContextANGLE", P(GL_GetBufferPointervContextANGLE)}, - {"glGetBufferPointervOES", P(GL_GetBufferPointervOES)}, - {"glGetBufferPointervOESContextANGLE", P(GL_GetBufferPointervOESContextANGLE)}, - {"glGetBufferPointervRobustANGLE", P(GL_GetBufferPointervRobustANGLE)}, - {"glGetBufferPointervRobustANGLEContextANGLE", P(GL_GetBufferPointervRobustANGLEContextANGLE)}, - {"glGetClipPlanef", P(GL_GetClipPlanef)}, - {"glGetClipPlanefContextANGLE", P(GL_GetClipPlanefContextANGLE)}, - {"glGetClipPlanex", P(GL_GetClipPlanex)}, - {"glGetClipPlanexContextANGLE", P(GL_GetClipPlanexContextANGLE)}, - {"glGetDebugMessageLog", P(GL_GetDebugMessageLog)}, - {"glGetDebugMessageLogContextANGLE", P(GL_GetDebugMessageLogContextANGLE)}, - {"glGetDebugMessageLogKHR", P(GL_GetDebugMessageLogKHR)}, - {"glGetDebugMessageLogKHRContextANGLE", P(GL_GetDebugMessageLogKHRContextANGLE)}, - {"glGetError", P(GL_GetError)}, - {"glGetErrorContextANGLE", P(GL_GetErrorContextANGLE)}, - {"glGetFenceivNV", P(GL_GetFenceivNV)}, - {"glGetFenceivNVContextANGLE", P(GL_GetFenceivNVContextANGLE)}, - {"glGetFixedv", P(GL_GetFixedv)}, - {"glGetFixedvContextANGLE", P(GL_GetFixedvContextANGLE)}, - {"glGetFloatv", P(GL_GetFloatv)}, - {"glGetFloatvContextANGLE", P(GL_GetFloatvContextANGLE)}, - {"glGetFloatvRobustANGLE", P(GL_GetFloatvRobustANGLE)}, - {"glGetFloatvRobustANGLEContextANGLE", P(GL_GetFloatvRobustANGLEContextANGLE)}, - {"glGetFragDataIndexEXT", P(GL_GetFragDataIndexEXT)}, - {"glGetFragDataIndexEXTContextANGLE", P(GL_GetFragDataIndexEXTContextANGLE)}, - {"glGetFragDataLocation", P(GL_GetFragDataLocation)}, - {"glGetFragDataLocationContextANGLE", P(GL_GetFragDataLocationContextANGLE)}, - {"glGetFramebufferAttachmentParameteriv", P(GL_GetFramebufferAttachmentParameteriv)}, + P(gl::GetBufferParameterivRobustANGLEContextANGLE)}, + {"glGetBufferPointerv", P(gl::GetBufferPointerv)}, + {"glGetBufferPointervContextANGLE", P(gl::GetBufferPointervContextANGLE)}, + {"glGetBufferPointervOES", P(gl::GetBufferPointervOES)}, + {"glGetBufferPointervOESContextANGLE", P(gl::GetBufferPointervOESContextANGLE)}, + {"glGetBufferPointervRobustANGLE", P(gl::GetBufferPointervRobustANGLE)}, + {"glGetBufferPointervRobustANGLEContextANGLE", P(gl::GetBufferPointervRobustANGLEContextANGLE)}, + {"glGetClipPlanef", P(gl::GetClipPlanef)}, + {"glGetClipPlanefContextANGLE", P(gl::GetClipPlanefContextANGLE)}, + {"glGetClipPlanex", P(gl::GetClipPlanex)}, + {"glGetClipPlanexContextANGLE", P(gl::GetClipPlanexContextANGLE)}, + {"glGetDebugMessageLog", P(gl::GetDebugMessageLog)}, + {"glGetDebugMessageLogContextANGLE", P(gl::GetDebugMessageLogContextANGLE)}, + {"glGetDebugMessageLogKHR", P(gl::GetDebugMessageLogKHR)}, + {"glGetDebugMessageLogKHRContextANGLE", P(gl::GetDebugMessageLogKHRContextANGLE)}, + {"glGetError", P(gl::GetError)}, + {"glGetErrorContextANGLE", P(gl::GetErrorContextANGLE)}, + {"glGetFenceivNV", P(gl::GetFenceivNV)}, + {"glGetFenceivNVContextANGLE", P(gl::GetFenceivNVContextANGLE)}, + {"glGetFixedv", P(gl::GetFixedv)}, + {"glGetFixedvContextANGLE", P(gl::GetFixedvContextANGLE)}, + {"glGetFloatv", P(gl::GetFloatv)}, + {"glGetFloatvContextANGLE", P(gl::GetFloatvContextANGLE)}, + {"glGetFloatvRobustANGLE", P(gl::GetFloatvRobustANGLE)}, + {"glGetFloatvRobustANGLEContextANGLE", P(gl::GetFloatvRobustANGLEContextANGLE)}, + {"glGetFragDataIndexEXT", P(gl::GetFragDataIndexEXT)}, + {"glGetFragDataIndexEXTContextANGLE", P(gl::GetFragDataIndexEXTContextANGLE)}, + {"glGetFragDataLocation", P(gl::GetFragDataLocation)}, + {"glGetFragDataLocationContextANGLE", P(gl::GetFragDataLocationContextANGLE)}, + {"glGetFramebufferAttachmentParameteriv", P(gl::GetFramebufferAttachmentParameteriv)}, {"glGetFramebufferAttachmentParameterivContextANGLE", - P(GL_GetFramebufferAttachmentParameterivContextANGLE)}, - {"glGetFramebufferAttachmentParameterivOES", P(GL_GetFramebufferAttachmentParameterivOES)}, + P(gl::GetFramebufferAttachmentParameterivContextANGLE)}, + {"glGetFramebufferAttachmentParameterivOES", P(gl::GetFramebufferAttachmentParameterivOES)}, {"glGetFramebufferAttachmentParameterivOESContextANGLE", - P(GL_GetFramebufferAttachmentParameterivOESContextANGLE)}, + P(gl::GetFramebufferAttachmentParameterivOESContextANGLE)}, {"glGetFramebufferAttachmentParameterivRobustANGLE", - P(GL_GetFramebufferAttachmentParameterivRobustANGLE)}, + P(gl::GetFramebufferAttachmentParameterivRobustANGLE)}, {"glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE", - P(GL_GetFramebufferAttachmentParameterivRobustANGLEContextANGLE)}, - {"glGetFramebufferParameteriv", P(GL_GetFramebufferParameteriv)}, - {"glGetFramebufferParameterivContextANGLE", P(GL_GetFramebufferParameterivContextANGLE)}, - {"glGetFramebufferParameterivRobustANGLE", P(GL_GetFramebufferParameterivRobustANGLE)}, + P(gl::GetFramebufferAttachmentParameterivRobustANGLEContextANGLE)}, + {"glGetFramebufferParameteriv", P(gl::GetFramebufferParameteriv)}, + {"glGetFramebufferParameterivContextANGLE", P(gl::GetFramebufferParameterivContextANGLE)}, + {"glGetFramebufferParameterivRobustANGLE", P(gl::GetFramebufferParameterivRobustANGLE)}, {"glGetFramebufferParameterivRobustANGLEContextANGLE", - P(GL_GetFramebufferParameterivRobustANGLEContextANGLE)}, - {"glGetGraphicsResetStatus", P(GL_GetGraphicsResetStatus)}, - {"glGetGraphicsResetStatusContextANGLE", P(GL_GetGraphicsResetStatusContextANGLE)}, - {"glGetGraphicsResetStatusEXT", P(GL_GetGraphicsResetStatusEXT)}, - {"glGetGraphicsResetStatusEXTContextANGLE", P(GL_GetGraphicsResetStatusEXTContextANGLE)}, - {"glGetInteger64i_v", P(GL_GetInteger64i_v)}, - {"glGetInteger64i_vContextANGLE", P(GL_GetInteger64i_vContextANGLE)}, - {"glGetInteger64i_vRobustANGLE", P(GL_GetInteger64i_vRobustANGLE)}, - {"glGetInteger64i_vRobustANGLEContextANGLE", P(GL_GetInteger64i_vRobustANGLEContextANGLE)}, - {"glGetInteger64v", P(GL_GetInteger64v)}, - {"glGetInteger64vContextANGLE", P(GL_GetInteger64vContextANGLE)}, - {"glGetInteger64vEXT", P(GL_GetInteger64vEXT)}, - {"glGetInteger64vEXTContextANGLE", P(GL_GetInteger64vEXTContextANGLE)}, - {"glGetInteger64vRobustANGLE", P(GL_GetInteger64vRobustANGLE)}, - {"glGetInteger64vRobustANGLEContextANGLE", P(GL_GetInteger64vRobustANGLEContextANGLE)}, - {"glGetIntegeri_v", P(GL_GetIntegeri_v)}, - {"glGetIntegeri_vContextANGLE", P(GL_GetIntegeri_vContextANGLE)}, - {"glGetIntegeri_vRobustANGLE", P(GL_GetIntegeri_vRobustANGLE)}, - {"glGetIntegeri_vRobustANGLEContextANGLE", P(GL_GetIntegeri_vRobustANGLEContextANGLE)}, - {"glGetIntegerv", P(GL_GetIntegerv)}, - {"glGetIntegervContextANGLE", P(GL_GetIntegervContextANGLE)}, - {"glGetIntegervRobustANGLE", P(GL_GetIntegervRobustANGLE)}, - {"glGetIntegervRobustANGLEContextANGLE", P(GL_GetIntegervRobustANGLEContextANGLE)}, - {"glGetInternalformativ", P(GL_GetInternalformativ)}, - {"glGetInternalformativContextANGLE", P(GL_GetInternalformativContextANGLE)}, - {"glGetInternalformativRobustANGLE", P(GL_GetInternalformativRobustANGLE)}, + P(gl::GetFramebufferParameterivRobustANGLEContextANGLE)}, + {"glGetGraphicsResetStatus", P(gl::GetGraphicsResetStatus)}, + {"glGetGraphicsResetStatusContextANGLE", P(gl::GetGraphicsResetStatusContextANGLE)}, + {"glGetGraphicsResetStatusEXT", P(gl::GetGraphicsResetStatusEXT)}, + {"glGetGraphicsResetStatusEXTContextANGLE", P(gl::GetGraphicsResetStatusEXTContextANGLE)}, + {"glGetInteger64i_v", P(gl::GetInteger64i_v)}, + {"glGetInteger64i_vContextANGLE", P(gl::GetInteger64i_vContextANGLE)}, + {"glGetInteger64i_vRobustANGLE", P(gl::GetInteger64i_vRobustANGLE)}, + {"glGetInteger64i_vRobustANGLEContextANGLE", P(gl::GetInteger64i_vRobustANGLEContextANGLE)}, + {"glGetInteger64v", P(gl::GetInteger64v)}, + {"glGetInteger64vContextANGLE", P(gl::GetInteger64vContextANGLE)}, + {"glGetInteger64vEXT", P(gl::GetInteger64vEXT)}, + {"glGetInteger64vEXTContextANGLE", P(gl::GetInteger64vEXTContextANGLE)}, + {"glGetInteger64vRobustANGLE", P(gl::GetInteger64vRobustANGLE)}, + {"glGetInteger64vRobustANGLEContextANGLE", P(gl::GetInteger64vRobustANGLEContextANGLE)}, + {"glGetIntegeri_v", P(gl::GetIntegeri_v)}, + {"glGetIntegeri_vContextANGLE", P(gl::GetIntegeri_vContextANGLE)}, + {"glGetIntegeri_vRobustANGLE", P(gl::GetIntegeri_vRobustANGLE)}, + {"glGetIntegeri_vRobustANGLEContextANGLE", P(gl::GetIntegeri_vRobustANGLEContextANGLE)}, + {"glGetIntegerv", P(gl::GetIntegerv)}, + {"glGetIntegervContextANGLE", P(gl::GetIntegervContextANGLE)}, + {"glGetIntegervRobustANGLE", P(gl::GetIntegervRobustANGLE)}, + {"glGetIntegervRobustANGLEContextANGLE", P(gl::GetIntegervRobustANGLEContextANGLE)}, + {"glGetInternalformativ", P(gl::GetInternalformativ)}, + {"glGetInternalformativContextANGLE", P(gl::GetInternalformativContextANGLE)}, + {"glGetInternalformativRobustANGLE", P(gl::GetInternalformativRobustANGLE)}, {"glGetInternalformativRobustANGLEContextANGLE", - P(GL_GetInternalformativRobustANGLEContextANGLE)}, - {"glGetLightfv", P(GL_GetLightfv)}, - {"glGetLightfvContextANGLE", P(GL_GetLightfvContextANGLE)}, - {"glGetLightxv", P(GL_GetLightxv)}, - {"glGetLightxvContextANGLE", P(GL_GetLightxvContextANGLE)}, - {"glGetMaterialfv", P(GL_GetMaterialfv)}, - {"glGetMaterialfvContextANGLE", P(GL_GetMaterialfvContextANGLE)}, - {"glGetMaterialxv", P(GL_GetMaterialxv)}, - {"glGetMaterialxvContextANGLE", P(GL_GetMaterialxvContextANGLE)}, - {"glGetMemoryObjectParameterivEXT", P(GL_GetMemoryObjectParameterivEXT)}, + P(gl::GetInternalformativRobustANGLEContextANGLE)}, + {"glGetLightfv", P(gl::GetLightfv)}, + {"glGetLightfvContextANGLE", P(gl::GetLightfvContextANGLE)}, + {"glGetLightxv", P(gl::GetLightxv)}, + {"glGetLightxvContextANGLE", P(gl::GetLightxvContextANGLE)}, + {"glGetMaterialfv", P(gl::GetMaterialfv)}, + {"glGetMaterialfvContextANGLE", P(gl::GetMaterialfvContextANGLE)}, + {"glGetMaterialxv", P(gl::GetMaterialxv)}, + {"glGetMaterialxvContextANGLE", P(gl::GetMaterialxvContextANGLE)}, + {"glGetMemoryObjectParameterivEXT", P(gl::GetMemoryObjectParameterivEXT)}, {"glGetMemoryObjectParameterivEXTContextANGLE", - P(GL_GetMemoryObjectParameterivEXTContextANGLE)}, - {"glGetMultisamplefv", P(GL_GetMultisamplefv)}, - {"glGetMultisamplefvANGLE", P(GL_GetMultisamplefvANGLE)}, - {"glGetMultisamplefvANGLEContextANGLE", P(GL_GetMultisamplefvANGLEContextANGLE)}, - {"glGetMultisamplefvContextANGLE", P(GL_GetMultisamplefvContextANGLE)}, - {"glGetMultisamplefvRobustANGLE", P(GL_GetMultisamplefvRobustANGLE)}, - {"glGetMultisamplefvRobustANGLEContextANGLE", P(GL_GetMultisamplefvRobustANGLEContextANGLE)}, - {"glGetObjectLabel", P(GL_GetObjectLabel)}, - {"glGetObjectLabelContextANGLE", P(GL_GetObjectLabelContextANGLE)}, - {"glGetObjectLabelEXT", P(GL_GetObjectLabelEXT)}, - {"glGetObjectLabelEXTContextANGLE", P(GL_GetObjectLabelEXTContextANGLE)}, - {"glGetObjectLabelKHR", P(GL_GetObjectLabelKHR)}, - {"glGetObjectLabelKHRContextANGLE", P(GL_GetObjectLabelKHRContextANGLE)}, - {"glGetObjectPtrLabel", P(GL_GetObjectPtrLabel)}, - {"glGetObjectPtrLabelContextANGLE", P(GL_GetObjectPtrLabelContextANGLE)}, - {"glGetObjectPtrLabelKHR", P(GL_GetObjectPtrLabelKHR)}, - {"glGetObjectPtrLabelKHRContextANGLE", P(GL_GetObjectPtrLabelKHRContextANGLE)}, - {"glGetPointerv", P(GL_GetPointerv)}, - {"glGetPointervContextANGLE", P(GL_GetPointervContextANGLE)}, - {"glGetPointervKHR", P(GL_GetPointervKHR)}, - {"glGetPointervKHRContextANGLE", P(GL_GetPointervKHRContextANGLE)}, - {"glGetPointervRobustANGLERobustANGLE", P(GL_GetPointervRobustANGLERobustANGLE)}, + P(gl::GetMemoryObjectParameterivEXTContextANGLE)}, + {"glGetMultisamplefv", P(gl::GetMultisamplefv)}, + {"glGetMultisamplefvANGLE", P(gl::GetMultisamplefvANGLE)}, + {"glGetMultisamplefvANGLEContextANGLE", P(gl::GetMultisamplefvANGLEContextANGLE)}, + {"glGetMultisamplefvContextANGLE", P(gl::GetMultisamplefvContextANGLE)}, + {"glGetMultisamplefvRobustANGLE", P(gl::GetMultisamplefvRobustANGLE)}, + {"glGetMultisamplefvRobustANGLEContextANGLE", P(gl::GetMultisamplefvRobustANGLEContextANGLE)}, + {"glGetObjectLabel", P(gl::GetObjectLabel)}, + {"glGetObjectLabelContextANGLE", P(gl::GetObjectLabelContextANGLE)}, + {"glGetObjectLabelKHR", P(gl::GetObjectLabelKHR)}, + {"glGetObjectLabelKHRContextANGLE", P(gl::GetObjectLabelKHRContextANGLE)}, + {"glGetObjectPtrLabel", P(gl::GetObjectPtrLabel)}, + {"glGetObjectPtrLabelContextANGLE", P(gl::GetObjectPtrLabelContextANGLE)}, + {"glGetObjectPtrLabelKHR", P(gl::GetObjectPtrLabelKHR)}, + {"glGetObjectPtrLabelKHRContextANGLE", P(gl::GetObjectPtrLabelKHRContextANGLE)}, + {"glGetPointerv", P(gl::GetPointerv)}, + {"glGetPointervContextANGLE", P(gl::GetPointervContextANGLE)}, + {"glGetPointervKHR", P(gl::GetPointervKHR)}, + {"glGetPointervKHRContextANGLE", P(gl::GetPointervKHRContextANGLE)}, + {"glGetPointervRobustANGLERobustANGLE", P(gl::GetPointervRobustANGLERobustANGLE)}, {"glGetPointervRobustANGLERobustANGLEContextANGLE", - P(GL_GetPointervRobustANGLERobustANGLEContextANGLE)}, - {"glGetProgramBinary", P(GL_GetProgramBinary)}, - {"glGetProgramBinaryContextANGLE", P(GL_GetProgramBinaryContextANGLE)}, - {"glGetProgramBinaryOES", P(GL_GetProgramBinaryOES)}, - {"glGetProgramBinaryOESContextANGLE", P(GL_GetProgramBinaryOESContextANGLE)}, - {"glGetProgramInfoLog", P(GL_GetProgramInfoLog)}, - {"glGetProgramInfoLogContextANGLE", P(GL_GetProgramInfoLogContextANGLE)}, - {"glGetProgramInterfaceiv", P(GL_GetProgramInterfaceiv)}, - {"glGetProgramInterfaceivContextANGLE", P(GL_GetProgramInterfaceivContextANGLE)}, - {"glGetProgramInterfaceivRobustANGLE", P(GL_GetProgramInterfaceivRobustANGLE)}, + P(gl::GetPointervRobustANGLERobustANGLEContextANGLE)}, + {"glGetProgramBinary", P(gl::GetProgramBinary)}, + {"glGetProgramBinaryContextANGLE", P(gl::GetProgramBinaryContextANGLE)}, + {"glGetProgramBinaryOES", P(gl::GetProgramBinaryOES)}, + {"glGetProgramBinaryOESContextANGLE", P(gl::GetProgramBinaryOESContextANGLE)}, + {"glGetProgramInfoLog", P(gl::GetProgramInfoLog)}, + {"glGetProgramInfoLogContextANGLE", P(gl::GetProgramInfoLogContextANGLE)}, + {"glGetProgramInterfaceiv", P(gl::GetProgramInterfaceiv)}, + {"glGetProgramInterfaceivContextANGLE", P(gl::GetProgramInterfaceivContextANGLE)}, + {"glGetProgramInterfaceivRobustANGLE", P(gl::GetProgramInterfaceivRobustANGLE)}, {"glGetProgramInterfaceivRobustANGLEContextANGLE", - P(GL_GetProgramInterfaceivRobustANGLEContextANGLE)}, - {"glGetProgramPipelineInfoLog", P(GL_GetProgramPipelineInfoLog)}, - {"glGetProgramPipelineInfoLogContextANGLE", P(GL_GetProgramPipelineInfoLogContextANGLE)}, - {"glGetProgramPipelineInfoLogEXT", P(GL_GetProgramPipelineInfoLogEXT)}, - {"glGetProgramPipelineInfoLogEXTContextANGLE", P(GL_GetProgramPipelineInfoLogEXTContextANGLE)}, - {"glGetProgramPipelineiv", P(GL_GetProgramPipelineiv)}, - {"glGetProgramPipelineivContextANGLE", P(GL_GetProgramPipelineivContextANGLE)}, - {"glGetProgramPipelineivEXT", P(GL_GetProgramPipelineivEXT)}, - {"glGetProgramPipelineivEXTContextANGLE", P(GL_GetProgramPipelineivEXTContextANGLE)}, - {"glGetProgramResourceIndex", P(GL_GetProgramResourceIndex)}, - {"glGetProgramResourceIndexContextANGLE", P(GL_GetProgramResourceIndexContextANGLE)}, - {"glGetProgramResourceLocation", P(GL_GetProgramResourceLocation)}, - {"glGetProgramResourceLocationContextANGLE", P(GL_GetProgramResourceLocationContextANGLE)}, - {"glGetProgramResourceLocationIndexEXT", P(GL_GetProgramResourceLocationIndexEXT)}, + P(gl::GetProgramInterfaceivRobustANGLEContextANGLE)}, + {"glGetProgramPipelineInfoLog", P(gl::GetProgramPipelineInfoLog)}, + {"glGetProgramPipelineInfoLogContextANGLE", P(gl::GetProgramPipelineInfoLogContextANGLE)}, + {"glGetProgramPipelineiv", P(gl::GetProgramPipelineiv)}, + {"glGetProgramPipelineivContextANGLE", P(gl::GetProgramPipelineivContextANGLE)}, + {"glGetProgramResourceIndex", P(gl::GetProgramResourceIndex)}, + {"glGetProgramResourceIndexContextANGLE", P(gl::GetProgramResourceIndexContextANGLE)}, + {"glGetProgramResourceLocation", P(gl::GetProgramResourceLocation)}, + {"glGetProgramResourceLocationContextANGLE", P(gl::GetProgramResourceLocationContextANGLE)}, + {"glGetProgramResourceLocationIndexEXT", P(gl::GetProgramResourceLocationIndexEXT)}, {"glGetProgramResourceLocationIndexEXTContextANGLE", - P(GL_GetProgramResourceLocationIndexEXTContextANGLE)}, - {"glGetProgramResourceName", P(GL_GetProgramResourceName)}, - {"glGetProgramResourceNameContextANGLE", P(GL_GetProgramResourceNameContextANGLE)}, - {"glGetProgramResourceiv", P(GL_GetProgramResourceiv)}, - {"glGetProgramResourceivContextANGLE", P(GL_GetProgramResourceivContextANGLE)}, - {"glGetProgramiv", P(GL_GetProgramiv)}, - {"glGetProgramivContextANGLE", P(GL_GetProgramivContextANGLE)}, - {"glGetProgramivRobustANGLE", P(GL_GetProgramivRobustANGLE)}, - {"glGetProgramivRobustANGLEContextANGLE", P(GL_GetProgramivRobustANGLEContextANGLE)}, - {"glGetQueryObjecti64vEXT", P(GL_GetQueryObjecti64vEXT)}, - {"glGetQueryObjecti64vEXTContextANGLE", P(GL_GetQueryObjecti64vEXTContextANGLE)}, - {"glGetQueryObjecti64vRobustANGLE", P(GL_GetQueryObjecti64vRobustANGLE)}, + P(gl::GetProgramResourceLocationIndexEXTContextANGLE)}, + {"glGetProgramResourceName", P(gl::GetProgramResourceName)}, + {"glGetProgramResourceNameContextANGLE", P(gl::GetProgramResourceNameContextANGLE)}, + {"glGetProgramResourceiv", P(gl::GetProgramResourceiv)}, + {"glGetProgramResourceivContextANGLE", P(gl::GetProgramResourceivContextANGLE)}, + {"glGetProgramiv", P(gl::GetProgramiv)}, + {"glGetProgramivContextANGLE", P(gl::GetProgramivContextANGLE)}, + {"glGetProgramivRobustANGLE", P(gl::GetProgramivRobustANGLE)}, + {"glGetProgramivRobustANGLEContextANGLE", P(gl::GetProgramivRobustANGLEContextANGLE)}, + {"glGetQueryObjecti64vEXT", P(gl::GetQueryObjecti64vEXT)}, + {"glGetQueryObjecti64vEXTContextANGLE", P(gl::GetQueryObjecti64vEXTContextANGLE)}, + {"glGetQueryObjecti64vRobustANGLE", P(gl::GetQueryObjecti64vRobustANGLE)}, {"glGetQueryObjecti64vRobustANGLEContextANGLE", - P(GL_GetQueryObjecti64vRobustANGLEContextANGLE)}, - {"glGetQueryObjectivEXT", P(GL_GetQueryObjectivEXT)}, - {"glGetQueryObjectivEXTContextANGLE", P(GL_GetQueryObjectivEXTContextANGLE)}, - {"glGetQueryObjectivRobustANGLE", P(GL_GetQueryObjectivRobustANGLE)}, - {"glGetQueryObjectivRobustANGLEContextANGLE", P(GL_GetQueryObjectivRobustANGLEContextANGLE)}, - {"glGetQueryObjectui64vEXT", P(GL_GetQueryObjectui64vEXT)}, - {"glGetQueryObjectui64vEXTContextANGLE", P(GL_GetQueryObjectui64vEXTContextANGLE)}, - {"glGetQueryObjectui64vRobustANGLE", P(GL_GetQueryObjectui64vRobustANGLE)}, + P(gl::GetQueryObjecti64vRobustANGLEContextANGLE)}, + {"glGetQueryObjectivEXT", P(gl::GetQueryObjectivEXT)}, + {"glGetQueryObjectivEXTContextANGLE", P(gl::GetQueryObjectivEXTContextANGLE)}, + {"glGetQueryObjectivRobustANGLE", P(gl::GetQueryObjectivRobustANGLE)}, + {"glGetQueryObjectivRobustANGLEContextANGLE", P(gl::GetQueryObjectivRobustANGLEContextANGLE)}, + {"glGetQueryObjectui64vEXT", P(gl::GetQueryObjectui64vEXT)}, + {"glGetQueryObjectui64vEXTContextANGLE", P(gl::GetQueryObjectui64vEXTContextANGLE)}, + {"glGetQueryObjectui64vRobustANGLE", P(gl::GetQueryObjectui64vRobustANGLE)}, {"glGetQueryObjectui64vRobustANGLEContextANGLE", - P(GL_GetQueryObjectui64vRobustANGLEContextANGLE)}, - {"glGetQueryObjectuiv", P(GL_GetQueryObjectuiv)}, - {"glGetQueryObjectuivContextANGLE", P(GL_GetQueryObjectuivContextANGLE)}, - {"glGetQueryObjectuivEXT", P(GL_GetQueryObjectuivEXT)}, - {"glGetQueryObjectuivEXTContextANGLE", P(GL_GetQueryObjectuivEXTContextANGLE)}, - {"glGetQueryObjectuivRobustANGLE", P(GL_GetQueryObjectuivRobustANGLE)}, - {"glGetQueryObjectuivRobustANGLEContextANGLE", P(GL_GetQueryObjectuivRobustANGLEContextANGLE)}, - {"glGetQueryiv", P(GL_GetQueryiv)}, - {"glGetQueryivContextANGLE", P(GL_GetQueryivContextANGLE)}, - {"glGetQueryivEXT", P(GL_GetQueryivEXT)}, - {"glGetQueryivEXTContextANGLE", P(GL_GetQueryivEXTContextANGLE)}, - {"glGetQueryivRobustANGLE", P(GL_GetQueryivRobustANGLE)}, - {"glGetQueryivRobustANGLEContextANGLE", P(GL_GetQueryivRobustANGLEContextANGLE)}, - {"glGetRenderbufferImageANGLE", P(GL_GetRenderbufferImageANGLE)}, - {"glGetRenderbufferImageANGLEContextANGLE", P(GL_GetRenderbufferImageANGLEContextANGLE)}, - {"glGetRenderbufferParameteriv", P(GL_GetRenderbufferParameteriv)}, - {"glGetRenderbufferParameterivContextANGLE", P(GL_GetRenderbufferParameterivContextANGLE)}, - {"glGetRenderbufferParameterivOES", P(GL_GetRenderbufferParameterivOES)}, + P(gl::GetQueryObjectui64vRobustANGLEContextANGLE)}, + {"glGetQueryObjectuiv", P(gl::GetQueryObjectuiv)}, + {"glGetQueryObjectuivContextANGLE", P(gl::GetQueryObjectuivContextANGLE)}, + {"glGetQueryObjectuivEXT", P(gl::GetQueryObjectuivEXT)}, + {"glGetQueryObjectuivEXTContextANGLE", P(gl::GetQueryObjectuivEXTContextANGLE)}, + {"glGetQueryObjectuivRobustANGLE", P(gl::GetQueryObjectuivRobustANGLE)}, + {"glGetQueryObjectuivRobustANGLEContextANGLE", P(gl::GetQueryObjectuivRobustANGLEContextANGLE)}, + {"glGetQueryiv", P(gl::GetQueryiv)}, + {"glGetQueryivContextANGLE", P(gl::GetQueryivContextANGLE)}, + {"glGetQueryivEXT", P(gl::GetQueryivEXT)}, + {"glGetQueryivEXTContextANGLE", P(gl::GetQueryivEXTContextANGLE)}, + {"glGetQueryivRobustANGLE", P(gl::GetQueryivRobustANGLE)}, + {"glGetQueryivRobustANGLEContextANGLE", P(gl::GetQueryivRobustANGLEContextANGLE)}, + {"glGetRenderbufferImageANGLE", P(gl::GetRenderbufferImageANGLE)}, + {"glGetRenderbufferImageANGLEContextANGLE", P(gl::GetRenderbufferImageANGLEContextANGLE)}, + {"glGetRenderbufferParameteriv", P(gl::GetRenderbufferParameteriv)}, + {"glGetRenderbufferParameterivContextANGLE", P(gl::GetRenderbufferParameterivContextANGLE)}, + {"glGetRenderbufferParameterivOES", P(gl::GetRenderbufferParameterivOES)}, {"glGetRenderbufferParameterivOESContextANGLE", - P(GL_GetRenderbufferParameterivOESContextANGLE)}, - {"glGetRenderbufferParameterivRobustANGLE", P(GL_GetRenderbufferParameterivRobustANGLE)}, + P(gl::GetRenderbufferParameterivOESContextANGLE)}, + {"glGetRenderbufferParameterivRobustANGLE", P(gl::GetRenderbufferParameterivRobustANGLE)}, {"glGetRenderbufferParameterivRobustANGLEContextANGLE", - P(GL_GetRenderbufferParameterivRobustANGLEContextANGLE)}, - {"glGetSamplerParameterIiv", P(GL_GetSamplerParameterIiv)}, - {"glGetSamplerParameterIivContextANGLE", P(GL_GetSamplerParameterIivContextANGLE)}, - {"glGetSamplerParameterIivEXT", P(GL_GetSamplerParameterIivEXT)}, - {"glGetSamplerParameterIivEXTContextANGLE", P(GL_GetSamplerParameterIivEXTContextANGLE)}, - {"glGetSamplerParameterIivOES", P(GL_GetSamplerParameterIivOES)}, - {"glGetSamplerParameterIivOESContextANGLE", P(GL_GetSamplerParameterIivOESContextANGLE)}, - {"glGetSamplerParameterIivRobustANGLE", P(GL_GetSamplerParameterIivRobustANGLE)}, + P(gl::GetRenderbufferParameterivRobustANGLEContextANGLE)}, + {"glGetSamplerParameterIiv", P(gl::GetSamplerParameterIiv)}, + {"glGetSamplerParameterIivContextANGLE", P(gl::GetSamplerParameterIivContextANGLE)}, + {"glGetSamplerParameterIivOES", P(gl::GetSamplerParameterIivOES)}, + {"glGetSamplerParameterIivOESContextANGLE", P(gl::GetSamplerParameterIivOESContextANGLE)}, + {"glGetSamplerParameterIivRobustANGLE", P(gl::GetSamplerParameterIivRobustANGLE)}, {"glGetSamplerParameterIivRobustANGLEContextANGLE", - P(GL_GetSamplerParameterIivRobustANGLEContextANGLE)}, - {"glGetSamplerParameterIuiv", P(GL_GetSamplerParameterIuiv)}, - {"glGetSamplerParameterIuivContextANGLE", P(GL_GetSamplerParameterIuivContextANGLE)}, - {"glGetSamplerParameterIuivEXT", P(GL_GetSamplerParameterIuivEXT)}, - {"glGetSamplerParameterIuivEXTContextANGLE", P(GL_GetSamplerParameterIuivEXTContextANGLE)}, - {"glGetSamplerParameterIuivOES", P(GL_GetSamplerParameterIuivOES)}, - {"glGetSamplerParameterIuivOESContextANGLE", P(GL_GetSamplerParameterIuivOESContextANGLE)}, - {"glGetSamplerParameterIuivRobustANGLE", P(GL_GetSamplerParameterIuivRobustANGLE)}, + P(gl::GetSamplerParameterIivRobustANGLEContextANGLE)}, + {"glGetSamplerParameterIuiv", P(gl::GetSamplerParameterIuiv)}, + {"glGetSamplerParameterIuivContextANGLE", P(gl::GetSamplerParameterIuivContextANGLE)}, + {"glGetSamplerParameterIuivOES", P(gl::GetSamplerParameterIuivOES)}, + {"glGetSamplerParameterIuivOESContextANGLE", P(gl::GetSamplerParameterIuivOESContextANGLE)}, + {"glGetSamplerParameterIuivRobustANGLE", P(gl::GetSamplerParameterIuivRobustANGLE)}, {"glGetSamplerParameterIuivRobustANGLEContextANGLE", - P(GL_GetSamplerParameterIuivRobustANGLEContextANGLE)}, - {"glGetSamplerParameterfv", P(GL_GetSamplerParameterfv)}, - {"glGetSamplerParameterfvContextANGLE", P(GL_GetSamplerParameterfvContextANGLE)}, - {"glGetSamplerParameterfvRobustANGLE", P(GL_GetSamplerParameterfvRobustANGLE)}, + P(gl::GetSamplerParameterIuivRobustANGLEContextANGLE)}, + {"glGetSamplerParameterfv", P(gl::GetSamplerParameterfv)}, + {"glGetSamplerParameterfvContextANGLE", P(gl::GetSamplerParameterfvContextANGLE)}, + {"glGetSamplerParameterfvRobustANGLE", P(gl::GetSamplerParameterfvRobustANGLE)}, {"glGetSamplerParameterfvRobustANGLEContextANGLE", - P(GL_GetSamplerParameterfvRobustANGLEContextANGLE)}, - {"glGetSamplerParameteriv", P(GL_GetSamplerParameteriv)}, - {"glGetSamplerParameterivContextANGLE", P(GL_GetSamplerParameterivContextANGLE)}, - {"glGetSamplerParameterivRobustANGLE", P(GL_GetSamplerParameterivRobustANGLE)}, + P(gl::GetSamplerParameterfvRobustANGLEContextANGLE)}, + {"glGetSamplerParameteriv", P(gl::GetSamplerParameteriv)}, + {"glGetSamplerParameterivContextANGLE", P(gl::GetSamplerParameterivContextANGLE)}, + {"glGetSamplerParameterivRobustANGLE", P(gl::GetSamplerParameterivRobustANGLE)}, {"glGetSamplerParameterivRobustANGLEContextANGLE", - P(GL_GetSamplerParameterivRobustANGLEContextANGLE)}, - {"glGetSemaphoreParameterui64vEXT", P(GL_GetSemaphoreParameterui64vEXT)}, + P(gl::GetSamplerParameterivRobustANGLEContextANGLE)}, + {"glGetSemaphoreParameterui64vEXT", P(gl::GetSemaphoreParameterui64vEXT)}, {"glGetSemaphoreParameterui64vEXTContextANGLE", - P(GL_GetSemaphoreParameterui64vEXTContextANGLE)}, - {"glGetShaderInfoLog", P(GL_GetShaderInfoLog)}, - {"glGetShaderInfoLogContextANGLE", P(GL_GetShaderInfoLogContextANGLE)}, - {"glGetShaderPrecisionFormat", P(GL_GetShaderPrecisionFormat)}, - {"glGetShaderPrecisionFormatContextANGLE", P(GL_GetShaderPrecisionFormatContextANGLE)}, - {"glGetShaderSource", P(GL_GetShaderSource)}, - {"glGetShaderSourceContextANGLE", P(GL_GetShaderSourceContextANGLE)}, - {"glGetShaderiv", P(GL_GetShaderiv)}, - {"glGetShaderivContextANGLE", P(GL_GetShaderivContextANGLE)}, - {"glGetShaderivRobustANGLE", P(GL_GetShaderivRobustANGLE)}, - {"glGetShaderivRobustANGLEContextANGLE", P(GL_GetShaderivRobustANGLEContextANGLE)}, - {"glGetString", P(GL_GetString)}, - {"glGetStringContextANGLE", P(GL_GetStringContextANGLE)}, - {"glGetStringi", P(GL_GetStringi)}, - {"glGetStringiContextANGLE", P(GL_GetStringiContextANGLE)}, - {"glGetSynciv", P(GL_GetSynciv)}, - {"glGetSyncivContextANGLE", P(GL_GetSyncivContextANGLE)}, - {"glGetTexEnvfv", P(GL_GetTexEnvfv)}, - {"glGetTexEnvfvContextANGLE", P(GL_GetTexEnvfvContextANGLE)}, - {"glGetTexEnviv", P(GL_GetTexEnviv)}, - {"glGetTexEnvivContextANGLE", P(GL_GetTexEnvivContextANGLE)}, - {"glGetTexEnvxv", P(GL_GetTexEnvxv)}, - {"glGetTexEnvxvContextANGLE", P(GL_GetTexEnvxvContextANGLE)}, - {"glGetTexGenfvOES", P(GL_GetTexGenfvOES)}, - {"glGetTexGenfvOESContextANGLE", P(GL_GetTexGenfvOESContextANGLE)}, - {"glGetTexGenivOES", P(GL_GetTexGenivOES)}, - {"glGetTexGenivOESContextANGLE", P(GL_GetTexGenivOESContextANGLE)}, - {"glGetTexGenxvOES", P(GL_GetTexGenxvOES)}, - {"glGetTexGenxvOESContextANGLE", P(GL_GetTexGenxvOESContextANGLE)}, - {"glGetTexImageANGLE", P(GL_GetTexImageANGLE)}, - {"glGetTexImageANGLEContextANGLE", P(GL_GetTexImageANGLEContextANGLE)}, - {"glGetTexLevelParameterfv", P(GL_GetTexLevelParameterfv)}, - {"glGetTexLevelParameterfvANGLE", P(GL_GetTexLevelParameterfvANGLE)}, - {"glGetTexLevelParameterfvANGLEContextANGLE", P(GL_GetTexLevelParameterfvANGLEContextANGLE)}, - {"glGetTexLevelParameterfvContextANGLE", P(GL_GetTexLevelParameterfvContextANGLE)}, - {"glGetTexLevelParameterfvRobustANGLE", P(GL_GetTexLevelParameterfvRobustANGLE)}, + P(gl::GetSemaphoreParameterui64vEXTContextANGLE)}, + {"glGetShaderInfoLog", P(gl::GetShaderInfoLog)}, + {"glGetShaderInfoLogContextANGLE", P(gl::GetShaderInfoLogContextANGLE)}, + {"glGetShaderPrecisionFormat", P(gl::GetShaderPrecisionFormat)}, + {"glGetShaderPrecisionFormatContextANGLE", P(gl::GetShaderPrecisionFormatContextANGLE)}, + {"glGetShaderSource", P(gl::GetShaderSource)}, + {"glGetShaderSourceContextANGLE", P(gl::GetShaderSourceContextANGLE)}, + {"glGetShaderiv", P(gl::GetShaderiv)}, + {"glGetShaderivContextANGLE", P(gl::GetShaderivContextANGLE)}, + {"glGetShaderivRobustANGLE", P(gl::GetShaderivRobustANGLE)}, + {"glGetShaderivRobustANGLEContextANGLE", P(gl::GetShaderivRobustANGLEContextANGLE)}, + {"glGetString", P(gl::GetString)}, + {"glGetStringContextANGLE", P(gl::GetStringContextANGLE)}, + {"glGetStringi", P(gl::GetStringi)}, + {"glGetStringiContextANGLE", P(gl::GetStringiContextANGLE)}, + {"glGetSynciv", P(gl::GetSynciv)}, + {"glGetSyncivContextANGLE", P(gl::GetSyncivContextANGLE)}, + {"glGetTexEnvfv", P(gl::GetTexEnvfv)}, + {"glGetTexEnvfvContextANGLE", P(gl::GetTexEnvfvContextANGLE)}, + {"glGetTexEnviv", P(gl::GetTexEnviv)}, + {"glGetTexEnvivContextANGLE", P(gl::GetTexEnvivContextANGLE)}, + {"glGetTexEnvxv", P(gl::GetTexEnvxv)}, + {"glGetTexEnvxvContextANGLE", P(gl::GetTexEnvxvContextANGLE)}, + {"glGetTexGenfvOES", P(gl::GetTexGenfvOES)}, + {"glGetTexGenfvOESContextANGLE", P(gl::GetTexGenfvOESContextANGLE)}, + {"glGetTexGenivOES", P(gl::GetTexGenivOES)}, + {"glGetTexGenivOESContextANGLE", P(gl::GetTexGenivOESContextANGLE)}, + {"glGetTexGenxvOES", P(gl::GetTexGenxvOES)}, + {"glGetTexGenxvOESContextANGLE", P(gl::GetTexGenxvOESContextANGLE)}, + {"glGetTexImageANGLE", P(gl::GetTexImageANGLE)}, + {"glGetTexImageANGLEContextANGLE", P(gl::GetTexImageANGLEContextANGLE)}, + {"glGetTexLevelParameterfv", P(gl::GetTexLevelParameterfv)}, + {"glGetTexLevelParameterfvANGLE", P(gl::GetTexLevelParameterfvANGLE)}, + {"glGetTexLevelParameterfvANGLEContextANGLE", P(gl::GetTexLevelParameterfvANGLEContextANGLE)}, + {"glGetTexLevelParameterfvContextANGLE", P(gl::GetTexLevelParameterfvContextANGLE)}, + {"glGetTexLevelParameterfvRobustANGLE", P(gl::GetTexLevelParameterfvRobustANGLE)}, {"glGetTexLevelParameterfvRobustANGLEContextANGLE", - P(GL_GetTexLevelParameterfvRobustANGLEContextANGLE)}, - {"glGetTexLevelParameteriv", P(GL_GetTexLevelParameteriv)}, - {"glGetTexLevelParameterivANGLE", P(GL_GetTexLevelParameterivANGLE)}, - {"glGetTexLevelParameterivANGLEContextANGLE", P(GL_GetTexLevelParameterivANGLEContextANGLE)}, - {"glGetTexLevelParameterivContextANGLE", P(GL_GetTexLevelParameterivContextANGLE)}, - {"glGetTexLevelParameterivRobustANGLE", P(GL_GetTexLevelParameterivRobustANGLE)}, + P(gl::GetTexLevelParameterfvRobustANGLEContextANGLE)}, + {"glGetTexLevelParameteriv", P(gl::GetTexLevelParameteriv)}, + {"glGetTexLevelParameterivANGLE", P(gl::GetTexLevelParameterivANGLE)}, + {"glGetTexLevelParameterivANGLEContextANGLE", P(gl::GetTexLevelParameterivANGLEContextANGLE)}, + {"glGetTexLevelParameterivContextANGLE", P(gl::GetTexLevelParameterivContextANGLE)}, + {"glGetTexLevelParameterivRobustANGLE", P(gl::GetTexLevelParameterivRobustANGLE)}, {"glGetTexLevelParameterivRobustANGLEContextANGLE", - P(GL_GetTexLevelParameterivRobustANGLEContextANGLE)}, - {"glGetTexParameterIiv", P(GL_GetTexParameterIiv)}, - {"glGetTexParameterIivContextANGLE", P(GL_GetTexParameterIivContextANGLE)}, - {"glGetTexParameterIivEXT", P(GL_GetTexParameterIivEXT)}, - {"glGetTexParameterIivEXTContextANGLE", P(GL_GetTexParameterIivEXTContextANGLE)}, - {"glGetTexParameterIivOES", P(GL_GetTexParameterIivOES)}, - {"glGetTexParameterIivOESContextANGLE", P(GL_GetTexParameterIivOESContextANGLE)}, - {"glGetTexParameterIivRobustANGLE", P(GL_GetTexParameterIivRobustANGLE)}, + P(gl::GetTexLevelParameterivRobustANGLEContextANGLE)}, + {"glGetTexParameterIiv", P(gl::GetTexParameterIiv)}, + {"glGetTexParameterIivContextANGLE", P(gl::GetTexParameterIivContextANGLE)}, + {"glGetTexParameterIivOES", P(gl::GetTexParameterIivOES)}, + {"glGetTexParameterIivOESContextANGLE", P(gl::GetTexParameterIivOESContextANGLE)}, + {"glGetTexParameterIivRobustANGLE", P(gl::GetTexParameterIivRobustANGLE)}, {"glGetTexParameterIivRobustANGLEContextANGLE", - P(GL_GetTexParameterIivRobustANGLEContextANGLE)}, - {"glGetTexParameterIuiv", P(GL_GetTexParameterIuiv)}, - {"glGetTexParameterIuivContextANGLE", P(GL_GetTexParameterIuivContextANGLE)}, - {"glGetTexParameterIuivEXT", P(GL_GetTexParameterIuivEXT)}, - {"glGetTexParameterIuivEXTContextANGLE", P(GL_GetTexParameterIuivEXTContextANGLE)}, - {"glGetTexParameterIuivOES", P(GL_GetTexParameterIuivOES)}, - {"glGetTexParameterIuivOESContextANGLE", P(GL_GetTexParameterIuivOESContextANGLE)}, - {"glGetTexParameterIuivRobustANGLE", P(GL_GetTexParameterIuivRobustANGLE)}, + P(gl::GetTexParameterIivRobustANGLEContextANGLE)}, + {"glGetTexParameterIuiv", P(gl::GetTexParameterIuiv)}, + {"glGetTexParameterIuivContextANGLE", P(gl::GetTexParameterIuivContextANGLE)}, + {"glGetTexParameterIuivOES", P(gl::GetTexParameterIuivOES)}, + {"glGetTexParameterIuivOESContextANGLE", P(gl::GetTexParameterIuivOESContextANGLE)}, + {"glGetTexParameterIuivRobustANGLE", P(gl::GetTexParameterIuivRobustANGLE)}, {"glGetTexParameterIuivRobustANGLEContextANGLE", - P(GL_GetTexParameterIuivRobustANGLEContextANGLE)}, - {"glGetTexParameterfv", P(GL_GetTexParameterfv)}, - {"glGetTexParameterfvContextANGLE", P(GL_GetTexParameterfvContextANGLE)}, - {"glGetTexParameterfvRobustANGLE", P(GL_GetTexParameterfvRobustANGLE)}, - {"glGetTexParameterfvRobustANGLEContextANGLE", P(GL_GetTexParameterfvRobustANGLEContextANGLE)}, - {"glGetTexParameteriv", P(GL_GetTexParameteriv)}, - {"glGetTexParameterivContextANGLE", P(GL_GetTexParameterivContextANGLE)}, - {"glGetTexParameterivRobustANGLE", P(GL_GetTexParameterivRobustANGLE)}, - {"glGetTexParameterivRobustANGLEContextANGLE", P(GL_GetTexParameterivRobustANGLEContextANGLE)}, - {"glGetTexParameterxv", P(GL_GetTexParameterxv)}, - {"glGetTexParameterxvContextANGLE", P(GL_GetTexParameterxvContextANGLE)}, - {"glGetTransformFeedbackVarying", P(GL_GetTransformFeedbackVarying)}, - {"glGetTransformFeedbackVaryingContextANGLE", P(GL_GetTransformFeedbackVaryingContextANGLE)}, - {"glGetTranslatedShaderSourceANGLE", P(GL_GetTranslatedShaderSourceANGLE)}, + P(gl::GetTexParameterIuivRobustANGLEContextANGLE)}, + {"glGetTexParameterfv", P(gl::GetTexParameterfv)}, + {"glGetTexParameterfvContextANGLE", P(gl::GetTexParameterfvContextANGLE)}, + {"glGetTexParameterfvRobustANGLE", P(gl::GetTexParameterfvRobustANGLE)}, + {"glGetTexParameterfvRobustANGLEContextANGLE", P(gl::GetTexParameterfvRobustANGLEContextANGLE)}, + {"glGetTexParameteriv", P(gl::GetTexParameteriv)}, + {"glGetTexParameterivContextANGLE", P(gl::GetTexParameterivContextANGLE)}, + {"glGetTexParameterivRobustANGLE", P(gl::GetTexParameterivRobustANGLE)}, + {"glGetTexParameterivRobustANGLEContextANGLE", P(gl::GetTexParameterivRobustANGLEContextANGLE)}, + {"glGetTexParameterxv", P(gl::GetTexParameterxv)}, + {"glGetTexParameterxvContextANGLE", P(gl::GetTexParameterxvContextANGLE)}, + {"glGetTransformFeedbackVarying", P(gl::GetTransformFeedbackVarying)}, + {"glGetTransformFeedbackVaryingContextANGLE", P(gl::GetTransformFeedbackVaryingContextANGLE)}, + {"glGetTranslatedShaderSourceANGLE", P(gl::GetTranslatedShaderSourceANGLE)}, {"glGetTranslatedShaderSourceANGLEContextANGLE", - P(GL_GetTranslatedShaderSourceANGLEContextANGLE)}, - {"glGetUniformBlockIndex", P(GL_GetUniformBlockIndex)}, - {"glGetUniformBlockIndexContextANGLE", P(GL_GetUniformBlockIndexContextANGLE)}, - {"glGetUniformIndices", P(GL_GetUniformIndices)}, - {"glGetUniformIndicesContextANGLE", P(GL_GetUniformIndicesContextANGLE)}, - {"glGetUniformLocation", P(GL_GetUniformLocation)}, - {"glGetUniformLocationContextANGLE", P(GL_GetUniformLocationContextANGLE)}, - {"glGetUniformfv", P(GL_GetUniformfv)}, - {"glGetUniformfvContextANGLE", P(GL_GetUniformfvContextANGLE)}, - {"glGetUniformfvRobustANGLE", P(GL_GetUniformfvRobustANGLE)}, - {"glGetUniformfvRobustANGLEContextANGLE", P(GL_GetUniformfvRobustANGLEContextANGLE)}, - {"glGetUniformiv", P(GL_GetUniformiv)}, - {"glGetUniformivContextANGLE", P(GL_GetUniformivContextANGLE)}, - {"glGetUniformivRobustANGLE", P(GL_GetUniformivRobustANGLE)}, - {"glGetUniformivRobustANGLEContextANGLE", P(GL_GetUniformivRobustANGLEContextANGLE)}, - {"glGetUniformuiv", P(GL_GetUniformuiv)}, - {"glGetUniformuivContextANGLE", P(GL_GetUniformuivContextANGLE)}, - {"glGetUniformuivRobustANGLE", P(GL_GetUniformuivRobustANGLE)}, - {"glGetUniformuivRobustANGLEContextANGLE", P(GL_GetUniformuivRobustANGLEContextANGLE)}, - {"glGetUnsignedBytei_vEXT", P(GL_GetUnsignedBytei_vEXT)}, - {"glGetUnsignedBytei_vEXTContextANGLE", P(GL_GetUnsignedBytei_vEXTContextANGLE)}, - {"glGetUnsignedBytevEXT", P(GL_GetUnsignedBytevEXT)}, - {"glGetUnsignedBytevEXTContextANGLE", P(GL_GetUnsignedBytevEXTContextANGLE)}, - {"glGetVertexAttribIiv", P(GL_GetVertexAttribIiv)}, - {"glGetVertexAttribIivContextANGLE", P(GL_GetVertexAttribIivContextANGLE)}, - {"glGetVertexAttribIivRobustANGLE", P(GL_GetVertexAttribIivRobustANGLE)}, + P(gl::GetTranslatedShaderSourceANGLEContextANGLE)}, + {"glGetUniformBlockIndex", P(gl::GetUniformBlockIndex)}, + {"glGetUniformBlockIndexContextANGLE", P(gl::GetUniformBlockIndexContextANGLE)}, + {"glGetUniformIndices", P(gl::GetUniformIndices)}, + {"glGetUniformIndicesContextANGLE", P(gl::GetUniformIndicesContextANGLE)}, + {"glGetUniformLocation", P(gl::GetUniformLocation)}, + {"glGetUniformLocationContextANGLE", P(gl::GetUniformLocationContextANGLE)}, + {"glGetUniformfv", P(gl::GetUniformfv)}, + {"glGetUniformfvContextANGLE", P(gl::GetUniformfvContextANGLE)}, + {"glGetUniformfvRobustANGLE", P(gl::GetUniformfvRobustANGLE)}, + {"glGetUniformfvRobustANGLEContextANGLE", P(gl::GetUniformfvRobustANGLEContextANGLE)}, + {"glGetUniformiv", P(gl::GetUniformiv)}, + {"glGetUniformivContextANGLE", P(gl::GetUniformivContextANGLE)}, + {"glGetUniformivRobustANGLE", P(gl::GetUniformivRobustANGLE)}, + {"glGetUniformivRobustANGLEContextANGLE", P(gl::GetUniformivRobustANGLEContextANGLE)}, + {"glGetUniformuiv", P(gl::GetUniformuiv)}, + {"glGetUniformuivContextANGLE", P(gl::GetUniformuivContextANGLE)}, + {"glGetUniformuivRobustANGLE", P(gl::GetUniformuivRobustANGLE)}, + {"glGetUniformuivRobustANGLEContextANGLE", P(gl::GetUniformuivRobustANGLEContextANGLE)}, + {"glGetUnsignedBytei_vEXT", P(gl::GetUnsignedBytei_vEXT)}, + {"glGetUnsignedBytei_vEXTContextANGLE", P(gl::GetUnsignedBytei_vEXTContextANGLE)}, + {"glGetUnsignedBytevEXT", P(gl::GetUnsignedBytevEXT)}, + {"glGetUnsignedBytevEXTContextANGLE", P(gl::GetUnsignedBytevEXTContextANGLE)}, + {"glGetVertexAttribIiv", P(gl::GetVertexAttribIiv)}, + {"glGetVertexAttribIivContextANGLE", P(gl::GetVertexAttribIivContextANGLE)}, + {"glGetVertexAttribIivRobustANGLE", P(gl::GetVertexAttribIivRobustANGLE)}, {"glGetVertexAttribIivRobustANGLEContextANGLE", - P(GL_GetVertexAttribIivRobustANGLEContextANGLE)}, - {"glGetVertexAttribIuiv", P(GL_GetVertexAttribIuiv)}, - {"glGetVertexAttribIuivContextANGLE", P(GL_GetVertexAttribIuivContextANGLE)}, - {"glGetVertexAttribIuivRobustANGLE", P(GL_GetVertexAttribIuivRobustANGLE)}, + P(gl::GetVertexAttribIivRobustANGLEContextANGLE)}, + {"glGetVertexAttribIuiv", P(gl::GetVertexAttribIuiv)}, + {"glGetVertexAttribIuivContextANGLE", P(gl::GetVertexAttribIuivContextANGLE)}, + {"glGetVertexAttribIuivRobustANGLE", P(gl::GetVertexAttribIuivRobustANGLE)}, {"glGetVertexAttribIuivRobustANGLEContextANGLE", - P(GL_GetVertexAttribIuivRobustANGLEContextANGLE)}, - {"glGetVertexAttribPointerv", P(GL_GetVertexAttribPointerv)}, - {"glGetVertexAttribPointervContextANGLE", P(GL_GetVertexAttribPointervContextANGLE)}, - {"glGetVertexAttribPointervRobustANGLE", P(GL_GetVertexAttribPointervRobustANGLE)}, + P(gl::GetVertexAttribIuivRobustANGLEContextANGLE)}, + {"glGetVertexAttribPointerv", P(gl::GetVertexAttribPointerv)}, + {"glGetVertexAttribPointervContextANGLE", P(gl::GetVertexAttribPointervContextANGLE)}, + {"glGetVertexAttribPointervRobustANGLE", P(gl::GetVertexAttribPointervRobustANGLE)}, {"glGetVertexAttribPointervRobustANGLEContextANGLE", - P(GL_GetVertexAttribPointervRobustANGLEContextANGLE)}, - {"glGetVertexAttribfv", P(GL_GetVertexAttribfv)}, - {"glGetVertexAttribfvContextANGLE", P(GL_GetVertexAttribfvContextANGLE)}, - {"glGetVertexAttribfvRobustANGLE", P(GL_GetVertexAttribfvRobustANGLE)}, - {"glGetVertexAttribfvRobustANGLEContextANGLE", P(GL_GetVertexAttribfvRobustANGLEContextANGLE)}, - {"glGetVertexAttribiv", P(GL_GetVertexAttribiv)}, - {"glGetVertexAttribivContextANGLE", P(GL_GetVertexAttribivContextANGLE)}, - {"glGetVertexAttribivRobustANGLE", P(GL_GetVertexAttribivRobustANGLE)}, - {"glGetVertexAttribivRobustANGLEContextANGLE", P(GL_GetVertexAttribivRobustANGLEContextANGLE)}, - {"glGetnUniformfv", P(GL_GetnUniformfv)}, - {"glGetnUniformfvContextANGLE", P(GL_GetnUniformfvContextANGLE)}, - {"glGetnUniformfvEXT", P(GL_GetnUniformfvEXT)}, - {"glGetnUniformfvEXTContextANGLE", P(GL_GetnUniformfvEXTContextANGLE)}, - {"glGetnUniformfvRobustANGLE", P(GL_GetnUniformfvRobustANGLE)}, - {"glGetnUniformfvRobustANGLEContextANGLE", P(GL_GetnUniformfvRobustANGLEContextANGLE)}, - {"glGetnUniformiv", P(GL_GetnUniformiv)}, - {"glGetnUniformivContextANGLE", P(GL_GetnUniformivContextANGLE)}, - {"glGetnUniformivEXT", P(GL_GetnUniformivEXT)}, - {"glGetnUniformivEXTContextANGLE", P(GL_GetnUniformivEXTContextANGLE)}, - {"glGetnUniformivRobustANGLE", P(GL_GetnUniformivRobustANGLE)}, - {"glGetnUniformivRobustANGLEContextANGLE", P(GL_GetnUniformivRobustANGLEContextANGLE)}, - {"glGetnUniformuiv", P(GL_GetnUniformuiv)}, - {"glGetnUniformuivContextANGLE", P(GL_GetnUniformuivContextANGLE)}, - {"glGetnUniformuivRobustANGLE", P(GL_GetnUniformuivRobustANGLE)}, - {"glGetnUniformuivRobustANGLEContextANGLE", P(GL_GetnUniformuivRobustANGLEContextANGLE)}, - {"glHint", P(GL_Hint)}, - {"glHintContextANGLE", P(GL_HintContextANGLE)}, - {"glImportMemoryFdEXT", P(GL_ImportMemoryFdEXT)}, - {"glImportMemoryFdEXTContextANGLE", P(GL_ImportMemoryFdEXTContextANGLE)}, - {"glImportMemoryZirconHandleANGLE", P(GL_ImportMemoryZirconHandleANGLE)}, + P(gl::GetVertexAttribPointervRobustANGLEContextANGLE)}, + {"glGetVertexAttribfv", P(gl::GetVertexAttribfv)}, + {"glGetVertexAttribfvContextANGLE", P(gl::GetVertexAttribfvContextANGLE)}, + {"glGetVertexAttribfvRobustANGLE", P(gl::GetVertexAttribfvRobustANGLE)}, + {"glGetVertexAttribfvRobustANGLEContextANGLE", P(gl::GetVertexAttribfvRobustANGLEContextANGLE)}, + {"glGetVertexAttribiv", P(gl::GetVertexAttribiv)}, + {"glGetVertexAttribivContextANGLE", P(gl::GetVertexAttribivContextANGLE)}, + {"glGetVertexAttribivRobustANGLE", P(gl::GetVertexAttribivRobustANGLE)}, + {"glGetVertexAttribivRobustANGLEContextANGLE", P(gl::GetVertexAttribivRobustANGLEContextANGLE)}, + {"glGetnUniformfv", P(gl::GetnUniformfv)}, + {"glGetnUniformfvContextANGLE", P(gl::GetnUniformfvContextANGLE)}, + {"glGetnUniformfvEXT", P(gl::GetnUniformfvEXT)}, + {"glGetnUniformfvEXTContextANGLE", P(gl::GetnUniformfvEXTContextANGLE)}, + {"glGetnUniformfvRobustANGLE", P(gl::GetnUniformfvRobustANGLE)}, + {"glGetnUniformfvRobustANGLEContextANGLE", P(gl::GetnUniformfvRobustANGLEContextANGLE)}, + {"glGetnUniformiv", P(gl::GetnUniformiv)}, + {"glGetnUniformivContextANGLE", P(gl::GetnUniformivContextANGLE)}, + {"glGetnUniformivEXT", P(gl::GetnUniformivEXT)}, + {"glGetnUniformivEXTContextANGLE", P(gl::GetnUniformivEXTContextANGLE)}, + {"glGetnUniformivRobustANGLE", P(gl::GetnUniformivRobustANGLE)}, + {"glGetnUniformivRobustANGLEContextANGLE", P(gl::GetnUniformivRobustANGLEContextANGLE)}, + {"glGetnUniformuiv", P(gl::GetnUniformuiv)}, + {"glGetnUniformuivContextANGLE", P(gl::GetnUniformuivContextANGLE)}, + {"glGetnUniformuivRobustANGLE", P(gl::GetnUniformuivRobustANGLE)}, + {"glGetnUniformuivRobustANGLEContextANGLE", P(gl::GetnUniformuivRobustANGLEContextANGLE)}, + {"glHint", P(gl::Hint)}, + {"glHintContextANGLE", P(gl::HintContextANGLE)}, + {"glImportMemoryFdEXT", P(gl::ImportMemoryFdEXT)}, + {"glImportMemoryFdEXTContextANGLE", P(gl::ImportMemoryFdEXTContextANGLE)}, + {"glImportMemoryZirconHandleANGLE", P(gl::ImportMemoryZirconHandleANGLE)}, {"glImportMemoryZirconHandleANGLEContextANGLE", - P(GL_ImportMemoryZirconHandleANGLEContextANGLE)}, - {"glImportSemaphoreFdEXT", P(GL_ImportSemaphoreFdEXT)}, - {"glImportSemaphoreFdEXTContextANGLE", P(GL_ImportSemaphoreFdEXTContextANGLE)}, - {"glImportSemaphoreZirconHandleANGLE", P(GL_ImportSemaphoreZirconHandleANGLE)}, + P(gl::ImportMemoryZirconHandleANGLEContextANGLE)}, + {"glImportSemaphoreFdEXT", P(gl::ImportSemaphoreFdEXT)}, + {"glImportSemaphoreFdEXTContextANGLE", P(gl::ImportSemaphoreFdEXTContextANGLE)}, + {"glImportSemaphoreZirconHandleANGLE", P(gl::ImportSemaphoreZirconHandleANGLE)}, {"glImportSemaphoreZirconHandleANGLEContextANGLE", - P(GL_ImportSemaphoreZirconHandleANGLEContextANGLE)}, - {"glInsertEventMarkerEXT", P(GL_InsertEventMarkerEXT)}, - {"glInsertEventMarkerEXTContextANGLE", P(GL_InsertEventMarkerEXTContextANGLE)}, - {"glInvalidateFramebuffer", P(GL_InvalidateFramebuffer)}, - {"glInvalidateFramebufferContextANGLE", P(GL_InvalidateFramebufferContextANGLE)}, - {"glInvalidateSubFramebuffer", P(GL_InvalidateSubFramebuffer)}, - {"glInvalidateSubFramebufferContextANGLE", P(GL_InvalidateSubFramebufferContextANGLE)}, - {"glInvalidateTextureANGLE", P(GL_InvalidateTextureANGLE)}, - {"glInvalidateTextureANGLEContextANGLE", P(GL_InvalidateTextureANGLEContextANGLE)}, - {"glIsBuffer", P(GL_IsBuffer)}, - {"glIsBufferContextANGLE", P(GL_IsBufferContextANGLE)}, - {"glIsEnabled", P(GL_IsEnabled)}, - {"glIsEnabledContextANGLE", P(GL_IsEnabledContextANGLE)}, - {"glIsEnabledi", P(GL_IsEnabledi)}, - {"glIsEnablediContextANGLE", P(GL_IsEnablediContextANGLE)}, - {"glIsEnablediEXT", P(GL_IsEnablediEXT)}, - {"glIsEnablediEXTContextANGLE", P(GL_IsEnablediEXTContextANGLE)}, - {"glIsEnablediOES", P(GL_IsEnablediOES)}, - {"glIsEnablediOESContextANGLE", P(GL_IsEnablediOESContextANGLE)}, - {"glIsFenceNV", P(GL_IsFenceNV)}, - {"glIsFenceNVContextANGLE", P(GL_IsFenceNVContextANGLE)}, - {"glIsFramebuffer", P(GL_IsFramebuffer)}, - {"glIsFramebufferContextANGLE", P(GL_IsFramebufferContextANGLE)}, - {"glIsFramebufferOES", P(GL_IsFramebufferOES)}, - {"glIsFramebufferOESContextANGLE", P(GL_IsFramebufferOESContextANGLE)}, - {"glIsMemoryObjectEXT", P(GL_IsMemoryObjectEXT)}, - {"glIsMemoryObjectEXTContextANGLE", P(GL_IsMemoryObjectEXTContextANGLE)}, - {"glIsProgram", P(GL_IsProgram)}, - {"glIsProgramContextANGLE", P(GL_IsProgramContextANGLE)}, - {"glIsProgramPipeline", P(GL_IsProgramPipeline)}, - {"glIsProgramPipelineContextANGLE", P(GL_IsProgramPipelineContextANGLE)}, - {"glIsProgramPipelineEXT", P(GL_IsProgramPipelineEXT)}, - {"glIsProgramPipelineEXTContextANGLE", P(GL_IsProgramPipelineEXTContextANGLE)}, - {"glIsQuery", P(GL_IsQuery)}, - {"glIsQueryContextANGLE", P(GL_IsQueryContextANGLE)}, - {"glIsQueryEXT", P(GL_IsQueryEXT)}, - {"glIsQueryEXTContextANGLE", P(GL_IsQueryEXTContextANGLE)}, - {"glIsRenderbuffer", P(GL_IsRenderbuffer)}, - {"glIsRenderbufferContextANGLE", P(GL_IsRenderbufferContextANGLE)}, - {"glIsRenderbufferOES", P(GL_IsRenderbufferOES)}, - {"glIsRenderbufferOESContextANGLE", P(GL_IsRenderbufferOESContextANGLE)}, - {"glIsSampler", P(GL_IsSampler)}, - {"glIsSamplerContextANGLE", P(GL_IsSamplerContextANGLE)}, - {"glIsSemaphoreEXT", P(GL_IsSemaphoreEXT)}, - {"glIsSemaphoreEXTContextANGLE", P(GL_IsSemaphoreEXTContextANGLE)}, - {"glIsShader", P(GL_IsShader)}, - {"glIsShaderContextANGLE", P(GL_IsShaderContextANGLE)}, - {"glIsSync", P(GL_IsSync)}, - {"glIsSyncContextANGLE", P(GL_IsSyncContextANGLE)}, - {"glIsTexture", P(GL_IsTexture)}, - {"glIsTextureContextANGLE", P(GL_IsTextureContextANGLE)}, - {"glIsTransformFeedback", P(GL_IsTransformFeedback)}, - {"glIsTransformFeedbackContextANGLE", P(GL_IsTransformFeedbackContextANGLE)}, - {"glIsVertexArray", P(GL_IsVertexArray)}, - {"glIsVertexArrayContextANGLE", P(GL_IsVertexArrayContextANGLE)}, - {"glIsVertexArrayOES", P(GL_IsVertexArrayOES)}, - {"glIsVertexArrayOESContextANGLE", P(GL_IsVertexArrayOESContextANGLE)}, - {"glLabelObjectEXT", P(GL_LabelObjectEXT)}, - {"glLabelObjectEXTContextANGLE", P(GL_LabelObjectEXTContextANGLE)}, - {"glLightModelf", P(GL_LightModelf)}, - {"glLightModelfContextANGLE", P(GL_LightModelfContextANGLE)}, - {"glLightModelfv", P(GL_LightModelfv)}, - {"glLightModelfvContextANGLE", P(GL_LightModelfvContextANGLE)}, - {"glLightModelx", P(GL_LightModelx)}, - {"glLightModelxContextANGLE", P(GL_LightModelxContextANGLE)}, - {"glLightModelxv", P(GL_LightModelxv)}, - {"glLightModelxvContextANGLE", P(GL_LightModelxvContextANGLE)}, - {"glLightf", P(GL_Lightf)}, - {"glLightfContextANGLE", P(GL_LightfContextANGLE)}, - {"glLightfv", P(GL_Lightfv)}, - {"glLightfvContextANGLE", P(GL_LightfvContextANGLE)}, - {"glLightx", P(GL_Lightx)}, - {"glLightxContextANGLE", P(GL_LightxContextANGLE)}, - {"glLightxv", P(GL_Lightxv)}, - {"glLightxvContextANGLE", P(GL_LightxvContextANGLE)}, - {"glLineWidth", P(GL_LineWidth)}, - {"glLineWidthContextANGLE", P(GL_LineWidthContextANGLE)}, - {"glLineWidthx", P(GL_LineWidthx)}, - {"glLineWidthxContextANGLE", P(GL_LineWidthxContextANGLE)}, - {"glLinkProgram", P(GL_LinkProgram)}, - {"glLinkProgramContextANGLE", P(GL_LinkProgramContextANGLE)}, - {"glLoadIdentity", P(GL_LoadIdentity)}, - {"glLoadIdentityContextANGLE", P(GL_LoadIdentityContextANGLE)}, - {"glLoadMatrixf", P(GL_LoadMatrixf)}, - {"glLoadMatrixfContextANGLE", P(GL_LoadMatrixfContextANGLE)}, - {"glLoadMatrixx", P(GL_LoadMatrixx)}, - {"glLoadMatrixxContextANGLE", P(GL_LoadMatrixxContextANGLE)}, - {"glLoadPaletteFromModelViewMatrixOES", P(GL_LoadPaletteFromModelViewMatrixOES)}, + P(gl::ImportSemaphoreZirconHandleANGLEContextANGLE)}, + {"glInsertEventMarkerEXT", P(gl::InsertEventMarkerEXT)}, + {"glInsertEventMarkerEXTContextANGLE", P(gl::InsertEventMarkerEXTContextANGLE)}, + {"glInvalidateFramebuffer", P(gl::InvalidateFramebuffer)}, + {"glInvalidateFramebufferContextANGLE", P(gl::InvalidateFramebufferContextANGLE)}, + {"glInvalidateSubFramebuffer", P(gl::InvalidateSubFramebuffer)}, + {"glInvalidateSubFramebufferContextANGLE", P(gl::InvalidateSubFramebufferContextANGLE)}, + {"glInvalidateTextureANGLE", P(gl::InvalidateTextureANGLE)}, + {"glInvalidateTextureANGLEContextANGLE", P(gl::InvalidateTextureANGLEContextANGLE)}, + {"glIsBuffer", P(gl::IsBuffer)}, + {"glIsBufferContextANGLE", P(gl::IsBufferContextANGLE)}, + {"glIsEnabled", P(gl::IsEnabled)}, + {"glIsEnabledContextANGLE", P(gl::IsEnabledContextANGLE)}, + {"glIsEnabledi", P(gl::IsEnabledi)}, + {"glIsEnablediContextANGLE", P(gl::IsEnablediContextANGLE)}, + {"glIsEnablediEXT", P(gl::IsEnablediEXT)}, + {"glIsEnablediEXTContextANGLE", P(gl::IsEnablediEXTContextANGLE)}, + {"glIsEnablediOES", P(gl::IsEnablediOES)}, + {"glIsEnablediOESContextANGLE", P(gl::IsEnablediOESContextANGLE)}, + {"glIsFenceNV", P(gl::IsFenceNV)}, + {"glIsFenceNVContextANGLE", P(gl::IsFenceNVContextANGLE)}, + {"glIsFramebuffer", P(gl::IsFramebuffer)}, + {"glIsFramebufferContextANGLE", P(gl::IsFramebufferContextANGLE)}, + {"glIsFramebufferOES", P(gl::IsFramebufferOES)}, + {"glIsFramebufferOESContextANGLE", P(gl::IsFramebufferOESContextANGLE)}, + {"glIsMemoryObjectEXT", P(gl::IsMemoryObjectEXT)}, + {"glIsMemoryObjectEXTContextANGLE", P(gl::IsMemoryObjectEXTContextANGLE)}, + {"glIsProgram", P(gl::IsProgram)}, + {"glIsProgramContextANGLE", P(gl::IsProgramContextANGLE)}, + {"glIsProgramPipeline", P(gl::IsProgramPipeline)}, + {"glIsProgramPipelineContextANGLE", P(gl::IsProgramPipelineContextANGLE)}, + {"glIsQuery", P(gl::IsQuery)}, + {"glIsQueryContextANGLE", P(gl::IsQueryContextANGLE)}, + {"glIsQueryEXT", P(gl::IsQueryEXT)}, + {"glIsQueryEXTContextANGLE", P(gl::IsQueryEXTContextANGLE)}, + {"glIsRenderbuffer", P(gl::IsRenderbuffer)}, + {"glIsRenderbufferContextANGLE", P(gl::IsRenderbufferContextANGLE)}, + {"glIsRenderbufferOES", P(gl::IsRenderbufferOES)}, + {"glIsRenderbufferOESContextANGLE", P(gl::IsRenderbufferOESContextANGLE)}, + {"glIsSampler", P(gl::IsSampler)}, + {"glIsSamplerContextANGLE", P(gl::IsSamplerContextANGLE)}, + {"glIsSemaphoreEXT", P(gl::IsSemaphoreEXT)}, + {"glIsSemaphoreEXTContextANGLE", P(gl::IsSemaphoreEXTContextANGLE)}, + {"glIsShader", P(gl::IsShader)}, + {"glIsShaderContextANGLE", P(gl::IsShaderContextANGLE)}, + {"glIsSync", P(gl::IsSync)}, + {"glIsSyncContextANGLE", P(gl::IsSyncContextANGLE)}, + {"glIsTexture", P(gl::IsTexture)}, + {"glIsTextureContextANGLE", P(gl::IsTextureContextANGLE)}, + {"glIsTransformFeedback", P(gl::IsTransformFeedback)}, + {"glIsTransformFeedbackContextANGLE", P(gl::IsTransformFeedbackContextANGLE)}, + {"glIsVertexArray", P(gl::IsVertexArray)}, + {"glIsVertexArrayContextANGLE", P(gl::IsVertexArrayContextANGLE)}, + {"glIsVertexArrayOES", P(gl::IsVertexArrayOES)}, + {"glIsVertexArrayOESContextANGLE", P(gl::IsVertexArrayOESContextANGLE)}, + {"glLightModelf", P(gl::LightModelf)}, + {"glLightModelfContextANGLE", P(gl::LightModelfContextANGLE)}, + {"glLightModelfv", P(gl::LightModelfv)}, + {"glLightModelfvContextANGLE", P(gl::LightModelfvContextANGLE)}, + {"glLightModelx", P(gl::LightModelx)}, + {"glLightModelxContextANGLE", P(gl::LightModelxContextANGLE)}, + {"glLightModelxv", P(gl::LightModelxv)}, + {"glLightModelxvContextANGLE", P(gl::LightModelxvContextANGLE)}, + {"glLightf", P(gl::Lightf)}, + {"glLightfContextANGLE", P(gl::LightfContextANGLE)}, + {"glLightfv", P(gl::Lightfv)}, + {"glLightfvContextANGLE", P(gl::LightfvContextANGLE)}, + {"glLightx", P(gl::Lightx)}, + {"glLightxContextANGLE", P(gl::LightxContextANGLE)}, + {"glLightxv", P(gl::Lightxv)}, + {"glLightxvContextANGLE", P(gl::LightxvContextANGLE)}, + {"glLineWidth", P(gl::LineWidth)}, + {"glLineWidthContextANGLE", P(gl::LineWidthContextANGLE)}, + {"glLineWidthx", P(gl::LineWidthx)}, + {"glLineWidthxContextANGLE", P(gl::LineWidthxContextANGLE)}, + {"glLinkProgram", P(gl::LinkProgram)}, + {"glLinkProgramContextANGLE", P(gl::LinkProgramContextANGLE)}, + {"glLoadIdentity", P(gl::LoadIdentity)}, + {"glLoadIdentityContextANGLE", P(gl::LoadIdentityContextANGLE)}, + {"glLoadMatrixf", P(gl::LoadMatrixf)}, + {"glLoadMatrixfContextANGLE", P(gl::LoadMatrixfContextANGLE)}, + {"glLoadMatrixx", P(gl::LoadMatrixx)}, + {"glLoadMatrixxContextANGLE", P(gl::LoadMatrixxContextANGLE)}, + {"glLoadPaletteFromModelViewMatrixOES", P(gl::LoadPaletteFromModelViewMatrixOES)}, {"glLoadPaletteFromModelViewMatrixOESContextANGLE", - P(GL_LoadPaletteFromModelViewMatrixOESContextANGLE)}, - {"glLogicOp", P(GL_LogicOp)}, - {"glLogicOpContextANGLE", P(GL_LogicOpContextANGLE)}, - {"glLoseContextCHROMIUM", P(GL_LoseContextCHROMIUM)}, - {"glLoseContextCHROMIUMContextANGLE", P(GL_LoseContextCHROMIUMContextANGLE)}, - {"glMapBufferOES", P(GL_MapBufferOES)}, - {"glMapBufferOESContextANGLE", P(GL_MapBufferOESContextANGLE)}, - {"glMapBufferRange", P(GL_MapBufferRange)}, - {"glMapBufferRangeContextANGLE", P(GL_MapBufferRangeContextANGLE)}, - {"glMapBufferRangeEXT", P(GL_MapBufferRangeEXT)}, - {"glMapBufferRangeEXTContextANGLE", P(GL_MapBufferRangeEXTContextANGLE)}, - {"glMaterialf", P(GL_Materialf)}, - {"glMaterialfContextANGLE", P(GL_MaterialfContextANGLE)}, - {"glMaterialfv", P(GL_Materialfv)}, - {"glMaterialfvContextANGLE", P(GL_MaterialfvContextANGLE)}, - {"glMaterialx", P(GL_Materialx)}, - {"glMaterialxContextANGLE", P(GL_MaterialxContextANGLE)}, - {"glMaterialxv", P(GL_Materialxv)}, - {"glMaterialxvContextANGLE", P(GL_MaterialxvContextANGLE)}, - {"glMatrixIndexPointerOES", P(GL_MatrixIndexPointerOES)}, - {"glMatrixIndexPointerOESContextANGLE", P(GL_MatrixIndexPointerOESContextANGLE)}, - {"glMatrixMode", P(GL_MatrixMode)}, - {"glMatrixModeContextANGLE", P(GL_MatrixModeContextANGLE)}, - {"glMaxShaderCompilerThreadsKHR", P(GL_MaxShaderCompilerThreadsKHR)}, - {"glMaxShaderCompilerThreadsKHRContextANGLE", P(GL_MaxShaderCompilerThreadsKHRContextANGLE)}, - {"glMemoryBarrier", P(GL_MemoryBarrier)}, - {"glMemoryBarrierByRegion", P(GL_MemoryBarrierByRegion)}, - {"glMemoryBarrierByRegionContextANGLE", P(GL_MemoryBarrierByRegionContextANGLE)}, - {"glMemoryBarrierContextANGLE", P(GL_MemoryBarrierContextANGLE)}, - {"glMemoryObjectParameterivEXT", P(GL_MemoryObjectParameterivEXT)}, - {"glMemoryObjectParameterivEXTContextANGLE", P(GL_MemoryObjectParameterivEXTContextANGLE)}, - {"glMinSampleShading", P(GL_MinSampleShading)}, - {"glMinSampleShadingContextANGLE", P(GL_MinSampleShadingContextANGLE)}, - {"glMinSampleShadingOES", P(GL_MinSampleShadingOES)}, - {"glMinSampleShadingOESContextANGLE", P(GL_MinSampleShadingOESContextANGLE)}, - {"glMultMatrixf", P(GL_MultMatrixf)}, - {"glMultMatrixfContextANGLE", P(GL_MultMatrixfContextANGLE)}, - {"glMultMatrixx", P(GL_MultMatrixx)}, - {"glMultMatrixxContextANGLE", P(GL_MultMatrixxContextANGLE)}, - {"glMultiDrawArraysANGLE", P(GL_MultiDrawArraysANGLE)}, - {"glMultiDrawArraysANGLEContextANGLE", P(GL_MultiDrawArraysANGLEContextANGLE)}, - {"glMultiDrawArraysInstancedANGLE", P(GL_MultiDrawArraysInstancedANGLE)}, + P(gl::LoadPaletteFromModelViewMatrixOESContextANGLE)}, + {"glLogicOp", P(gl::LogicOp)}, + {"glLogicOpContextANGLE", P(gl::LogicOpContextANGLE)}, + {"glLoseContextCHROMIUM", P(gl::LoseContextCHROMIUM)}, + {"glLoseContextCHROMIUMContextANGLE", P(gl::LoseContextCHROMIUMContextANGLE)}, + {"glMapBufferOES", P(gl::MapBufferOES)}, + {"glMapBufferOESContextANGLE", P(gl::MapBufferOESContextANGLE)}, + {"glMapBufferRange", P(gl::MapBufferRange)}, + {"glMapBufferRangeContextANGLE", P(gl::MapBufferRangeContextANGLE)}, + {"glMapBufferRangeEXT", P(gl::MapBufferRangeEXT)}, + {"glMapBufferRangeEXTContextANGLE", P(gl::MapBufferRangeEXTContextANGLE)}, + {"glMaterialf", P(gl::Materialf)}, + {"glMaterialfContextANGLE", P(gl::MaterialfContextANGLE)}, + {"glMaterialfv", P(gl::Materialfv)}, + {"glMaterialfvContextANGLE", P(gl::MaterialfvContextANGLE)}, + {"glMaterialx", P(gl::Materialx)}, + {"glMaterialxContextANGLE", P(gl::MaterialxContextANGLE)}, + {"glMaterialxv", P(gl::Materialxv)}, + {"glMaterialxvContextANGLE", P(gl::MaterialxvContextANGLE)}, + {"glMatrixIndexPointerOES", P(gl::MatrixIndexPointerOES)}, + {"glMatrixIndexPointerOESContextANGLE", P(gl::MatrixIndexPointerOESContextANGLE)}, + {"glMatrixMode", P(gl::MatrixMode)}, + {"glMatrixModeContextANGLE", P(gl::MatrixModeContextANGLE)}, + {"glMaxShaderCompilerThreadsKHR", P(gl::MaxShaderCompilerThreadsKHR)}, + {"glMaxShaderCompilerThreadsKHRContextANGLE", P(gl::MaxShaderCompilerThreadsKHRContextANGLE)}, + {"glMemoryBarrier", P(gl::MemoryBarrier)}, + {"glMemoryBarrierByRegion", P(gl::MemoryBarrierByRegion)}, + {"glMemoryBarrierByRegionContextANGLE", P(gl::MemoryBarrierByRegionContextANGLE)}, + {"glMemoryBarrierContextANGLE", P(gl::MemoryBarrierContextANGLE)}, + {"glMemoryObjectParameterivEXT", P(gl::MemoryObjectParameterivEXT)}, + {"glMemoryObjectParameterivEXTContextANGLE", P(gl::MemoryObjectParameterivEXTContextANGLE)}, + {"glMinSampleShading", P(gl::MinSampleShading)}, + {"glMinSampleShadingContextANGLE", P(gl::MinSampleShadingContextANGLE)}, + {"glMinSampleShadingOES", P(gl::MinSampleShadingOES)}, + {"glMinSampleShadingOESContextANGLE", P(gl::MinSampleShadingOESContextANGLE)}, + {"glMultMatrixf", P(gl::MultMatrixf)}, + {"glMultMatrixfContextANGLE", P(gl::MultMatrixfContextANGLE)}, + {"glMultMatrixx", P(gl::MultMatrixx)}, + {"glMultMatrixxContextANGLE", P(gl::MultMatrixxContextANGLE)}, + {"glMultiDrawArraysANGLE", P(gl::MultiDrawArraysANGLE)}, + {"glMultiDrawArraysANGLEContextANGLE", P(gl::MultiDrawArraysANGLEContextANGLE)}, + {"glMultiDrawArraysInstancedANGLE", P(gl::MultiDrawArraysInstancedANGLE)}, {"glMultiDrawArraysInstancedANGLEContextANGLE", - P(GL_MultiDrawArraysInstancedANGLEContextANGLE)}, + P(gl::MultiDrawArraysInstancedANGLEContextANGLE)}, {"glMultiDrawArraysInstancedBaseInstanceANGLE", - P(GL_MultiDrawArraysInstancedBaseInstanceANGLE)}, + P(gl::MultiDrawArraysInstancedBaseInstanceANGLE)}, {"glMultiDrawArraysInstancedBaseInstanceANGLEContextANGLE", - P(GL_MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE)}, - {"glMultiDrawElementsANGLE", P(GL_MultiDrawElementsANGLE)}, - {"glMultiDrawElementsANGLEContextANGLE", P(GL_MultiDrawElementsANGLEContextANGLE)}, - {"glMultiDrawElementsBaseVertexEXT", P(GL_MultiDrawElementsBaseVertexEXT)}, + P(gl::MultiDrawArraysInstancedBaseInstanceANGLEContextANGLE)}, + {"glMultiDrawElementsANGLE", P(gl::MultiDrawElementsANGLE)}, + {"glMultiDrawElementsANGLEContextANGLE", P(gl::MultiDrawElementsANGLEContextANGLE)}, + {"glMultiDrawElementsBaseVertexEXT", P(gl::MultiDrawElementsBaseVertexEXT)}, {"glMultiDrawElementsBaseVertexEXTContextANGLE", - P(GL_MultiDrawElementsBaseVertexEXTContextANGLE)}, - {"glMultiDrawElementsInstancedANGLE", P(GL_MultiDrawElementsInstancedANGLE)}, + P(gl::MultiDrawElementsBaseVertexEXTContextANGLE)}, + {"glMultiDrawElementsInstancedANGLE", P(gl::MultiDrawElementsInstancedANGLE)}, {"glMultiDrawElementsInstancedANGLEContextANGLE", - P(GL_MultiDrawElementsInstancedANGLEContextANGLE)}, + P(gl::MultiDrawElementsInstancedANGLEContextANGLE)}, {"glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE", - P(GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE)}, + P(gl::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE)}, {"glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE", - P(GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE)}, - {"glMultiTexCoord4f", P(GL_MultiTexCoord4f)}, - {"glMultiTexCoord4fContextANGLE", P(GL_MultiTexCoord4fContextANGLE)}, - {"glMultiTexCoord4x", P(GL_MultiTexCoord4x)}, - {"glMultiTexCoord4xContextANGLE", P(GL_MultiTexCoord4xContextANGLE)}, - {"glNamedBufferStorageExternalEXT", P(GL_NamedBufferStorageExternalEXT)}, + P(gl::MultiDrawElementsInstancedBaseVertexBaseInstanceANGLEContextANGLE)}, + {"glMultiTexCoord4f", P(gl::MultiTexCoord4f)}, + {"glMultiTexCoord4fContextANGLE", P(gl::MultiTexCoord4fContextANGLE)}, + {"glMultiTexCoord4x", P(gl::MultiTexCoord4x)}, + {"glMultiTexCoord4xContextANGLE", P(gl::MultiTexCoord4xContextANGLE)}, + {"glNamedBufferStorageExternalEXT", P(gl::NamedBufferStorageExternalEXT)}, {"glNamedBufferStorageExternalEXTContextANGLE", - P(GL_NamedBufferStorageExternalEXTContextANGLE)}, - {"glNormal3f", P(GL_Normal3f)}, - {"glNormal3fContextANGLE", P(GL_Normal3fContextANGLE)}, - {"glNormal3x", P(GL_Normal3x)}, - {"glNormal3xContextANGLE", P(GL_Normal3xContextANGLE)}, - {"glNormalPointer", P(GL_NormalPointer)}, - {"glNormalPointerContextANGLE", P(GL_NormalPointerContextANGLE)}, - {"glObjectLabel", P(GL_ObjectLabel)}, - {"glObjectLabelContextANGLE", P(GL_ObjectLabelContextANGLE)}, - {"glObjectLabelKHR", P(GL_ObjectLabelKHR)}, - {"glObjectLabelKHRContextANGLE", P(GL_ObjectLabelKHRContextANGLE)}, - {"glObjectPtrLabel", P(GL_ObjectPtrLabel)}, - {"glObjectPtrLabelContextANGLE", P(GL_ObjectPtrLabelContextANGLE)}, - {"glObjectPtrLabelKHR", P(GL_ObjectPtrLabelKHR)}, - {"glObjectPtrLabelKHRContextANGLE", P(GL_ObjectPtrLabelKHRContextANGLE)}, - {"glOrthof", P(GL_Orthof)}, - {"glOrthofContextANGLE", P(GL_OrthofContextANGLE)}, - {"glOrthox", P(GL_Orthox)}, - {"glOrthoxContextANGLE", P(GL_OrthoxContextANGLE)}, - {"glPatchParameteri", P(GL_PatchParameteri)}, - {"glPatchParameteriContextANGLE", P(GL_PatchParameteriContextANGLE)}, - {"glPatchParameteriEXT", P(GL_PatchParameteriEXT)}, - {"glPatchParameteriEXTContextANGLE", P(GL_PatchParameteriEXTContextANGLE)}, - {"glPauseTransformFeedback", P(GL_PauseTransformFeedback)}, - {"glPauseTransformFeedbackContextANGLE", P(GL_PauseTransformFeedbackContextANGLE)}, - {"glPixelStorei", P(GL_PixelStorei)}, - {"glPixelStoreiContextANGLE", P(GL_PixelStoreiContextANGLE)}, - {"glPointParameterf", P(GL_PointParameterf)}, - {"glPointParameterfContextANGLE", P(GL_PointParameterfContextANGLE)}, - {"glPointParameterfv", P(GL_PointParameterfv)}, - {"glPointParameterfvContextANGLE", P(GL_PointParameterfvContextANGLE)}, - {"glPointParameterx", P(GL_PointParameterx)}, - {"glPointParameterxContextANGLE", P(GL_PointParameterxContextANGLE)}, - {"glPointParameterxv", P(GL_PointParameterxv)}, - {"glPointParameterxvContextANGLE", P(GL_PointParameterxvContextANGLE)}, - {"glPointSize", P(GL_PointSize)}, - {"glPointSizeContextANGLE", P(GL_PointSizeContextANGLE)}, - {"glPointSizePointerOES", P(GL_PointSizePointerOES)}, - {"glPointSizePointerOESContextANGLE", P(GL_PointSizePointerOESContextANGLE)}, - {"glPointSizex", P(GL_PointSizex)}, - {"glPointSizexContextANGLE", P(GL_PointSizexContextANGLE)}, - {"glPolygonOffset", P(GL_PolygonOffset)}, - {"glPolygonOffsetContextANGLE", P(GL_PolygonOffsetContextANGLE)}, - {"glPolygonOffsetx", P(GL_PolygonOffsetx)}, - {"glPolygonOffsetxContextANGLE", P(GL_PolygonOffsetxContextANGLE)}, - {"glPopDebugGroup", P(GL_PopDebugGroup)}, - {"glPopDebugGroupContextANGLE", P(GL_PopDebugGroupContextANGLE)}, - {"glPopDebugGroupKHR", P(GL_PopDebugGroupKHR)}, - {"glPopDebugGroupKHRContextANGLE", P(GL_PopDebugGroupKHRContextANGLE)}, - {"glPopGroupMarkerEXT", P(GL_PopGroupMarkerEXT)}, - {"glPopGroupMarkerEXTContextANGLE", P(GL_PopGroupMarkerEXTContextANGLE)}, - {"glPopMatrix", P(GL_PopMatrix)}, - {"glPopMatrixContextANGLE", P(GL_PopMatrixContextANGLE)}, - {"glPrimitiveBoundingBox", P(GL_PrimitiveBoundingBox)}, - {"glPrimitiveBoundingBoxContextANGLE", P(GL_PrimitiveBoundingBoxContextANGLE)}, - {"glPrimitiveBoundingBoxEXT", P(GL_PrimitiveBoundingBoxEXT)}, - {"glPrimitiveBoundingBoxEXTContextANGLE", P(GL_PrimitiveBoundingBoxEXTContextANGLE)}, - {"glProgramBinary", P(GL_ProgramBinary)}, - {"glProgramBinaryContextANGLE", P(GL_ProgramBinaryContextANGLE)}, - {"glProgramBinaryOES", P(GL_ProgramBinaryOES)}, - {"glProgramBinaryOESContextANGLE", P(GL_ProgramBinaryOESContextANGLE)}, - {"glProgramParameteri", P(GL_ProgramParameteri)}, - {"glProgramParameteriContextANGLE", P(GL_ProgramParameteriContextANGLE)}, - {"glProgramParameteriEXT", P(GL_ProgramParameteriEXT)}, - {"glProgramParameteriEXTContextANGLE", P(GL_ProgramParameteriEXTContextANGLE)}, - {"glProgramUniform1f", P(GL_ProgramUniform1f)}, - {"glProgramUniform1fContextANGLE", P(GL_ProgramUniform1fContextANGLE)}, - {"glProgramUniform1fEXT", P(GL_ProgramUniform1fEXT)}, - {"glProgramUniform1fEXTContextANGLE", P(GL_ProgramUniform1fEXTContextANGLE)}, - {"glProgramUniform1fv", P(GL_ProgramUniform1fv)}, - {"glProgramUniform1fvContextANGLE", P(GL_ProgramUniform1fvContextANGLE)}, - {"glProgramUniform1fvEXT", P(GL_ProgramUniform1fvEXT)}, - {"glProgramUniform1fvEXTContextANGLE", P(GL_ProgramUniform1fvEXTContextANGLE)}, - {"glProgramUniform1i", P(GL_ProgramUniform1i)}, - {"glProgramUniform1iContextANGLE", P(GL_ProgramUniform1iContextANGLE)}, - {"glProgramUniform1iEXT", P(GL_ProgramUniform1iEXT)}, - {"glProgramUniform1iEXTContextANGLE", P(GL_ProgramUniform1iEXTContextANGLE)}, - {"glProgramUniform1iv", P(GL_ProgramUniform1iv)}, - {"glProgramUniform1ivContextANGLE", P(GL_ProgramUniform1ivContextANGLE)}, - {"glProgramUniform1ivEXT", P(GL_ProgramUniform1ivEXT)}, - {"glProgramUniform1ivEXTContextANGLE", P(GL_ProgramUniform1ivEXTContextANGLE)}, - {"glProgramUniform1ui", P(GL_ProgramUniform1ui)}, - {"glProgramUniform1uiContextANGLE", P(GL_ProgramUniform1uiContextANGLE)}, - {"glProgramUniform1uiEXT", P(GL_ProgramUniform1uiEXT)}, - {"glProgramUniform1uiEXTContextANGLE", P(GL_ProgramUniform1uiEXTContextANGLE)}, - {"glProgramUniform1uiv", P(GL_ProgramUniform1uiv)}, - {"glProgramUniform1uivContextANGLE", P(GL_ProgramUniform1uivContextANGLE)}, - {"glProgramUniform1uivEXT", P(GL_ProgramUniform1uivEXT)}, - {"glProgramUniform1uivEXTContextANGLE", P(GL_ProgramUniform1uivEXTContextANGLE)}, - {"glProgramUniform2f", P(GL_ProgramUniform2f)}, - {"glProgramUniform2fContextANGLE", P(GL_ProgramUniform2fContextANGLE)}, - {"glProgramUniform2fEXT", P(GL_ProgramUniform2fEXT)}, - {"glProgramUniform2fEXTContextANGLE", P(GL_ProgramUniform2fEXTContextANGLE)}, - {"glProgramUniform2fv", P(GL_ProgramUniform2fv)}, - {"glProgramUniform2fvContextANGLE", P(GL_ProgramUniform2fvContextANGLE)}, - {"glProgramUniform2fvEXT", P(GL_ProgramUniform2fvEXT)}, - {"glProgramUniform2fvEXTContextANGLE", P(GL_ProgramUniform2fvEXTContextANGLE)}, - {"glProgramUniform2i", P(GL_ProgramUniform2i)}, - {"glProgramUniform2iContextANGLE", P(GL_ProgramUniform2iContextANGLE)}, - {"glProgramUniform2iEXT", P(GL_ProgramUniform2iEXT)}, - {"glProgramUniform2iEXTContextANGLE", P(GL_ProgramUniform2iEXTContextANGLE)}, - {"glProgramUniform2iv", P(GL_ProgramUniform2iv)}, - {"glProgramUniform2ivContextANGLE", P(GL_ProgramUniform2ivContextANGLE)}, - {"glProgramUniform2ivEXT", P(GL_ProgramUniform2ivEXT)}, - {"glProgramUniform2ivEXTContextANGLE", P(GL_ProgramUniform2ivEXTContextANGLE)}, - {"glProgramUniform2ui", P(GL_ProgramUniform2ui)}, - {"glProgramUniform2uiContextANGLE", P(GL_ProgramUniform2uiContextANGLE)}, - {"glProgramUniform2uiEXT", P(GL_ProgramUniform2uiEXT)}, - {"glProgramUniform2uiEXTContextANGLE", P(GL_ProgramUniform2uiEXTContextANGLE)}, - {"glProgramUniform2uiv", P(GL_ProgramUniform2uiv)}, - {"glProgramUniform2uivContextANGLE", P(GL_ProgramUniform2uivContextANGLE)}, - {"glProgramUniform2uivEXT", P(GL_ProgramUniform2uivEXT)}, - {"glProgramUniform2uivEXTContextANGLE", P(GL_ProgramUniform2uivEXTContextANGLE)}, - {"glProgramUniform3f", P(GL_ProgramUniform3f)}, - {"glProgramUniform3fContextANGLE", P(GL_ProgramUniform3fContextANGLE)}, - {"glProgramUniform3fEXT", P(GL_ProgramUniform3fEXT)}, - {"glProgramUniform3fEXTContextANGLE", P(GL_ProgramUniform3fEXTContextANGLE)}, - {"glProgramUniform3fv", P(GL_ProgramUniform3fv)}, - {"glProgramUniform3fvContextANGLE", P(GL_ProgramUniform3fvContextANGLE)}, - {"glProgramUniform3fvEXT", P(GL_ProgramUniform3fvEXT)}, - {"glProgramUniform3fvEXTContextANGLE", P(GL_ProgramUniform3fvEXTContextANGLE)}, - {"glProgramUniform3i", P(GL_ProgramUniform3i)}, - {"glProgramUniform3iContextANGLE", P(GL_ProgramUniform3iContextANGLE)}, - {"glProgramUniform3iEXT", P(GL_ProgramUniform3iEXT)}, - {"glProgramUniform3iEXTContextANGLE", P(GL_ProgramUniform3iEXTContextANGLE)}, - {"glProgramUniform3iv", P(GL_ProgramUniform3iv)}, - {"glProgramUniform3ivContextANGLE", P(GL_ProgramUniform3ivContextANGLE)}, - {"glProgramUniform3ivEXT", P(GL_ProgramUniform3ivEXT)}, - {"glProgramUniform3ivEXTContextANGLE", P(GL_ProgramUniform3ivEXTContextANGLE)}, - {"glProgramUniform3ui", P(GL_ProgramUniform3ui)}, - {"glProgramUniform3uiContextANGLE", P(GL_ProgramUniform3uiContextANGLE)}, - {"glProgramUniform3uiEXT", P(GL_ProgramUniform3uiEXT)}, - {"glProgramUniform3uiEXTContextANGLE", P(GL_ProgramUniform3uiEXTContextANGLE)}, - {"glProgramUniform3uiv", P(GL_ProgramUniform3uiv)}, - {"glProgramUniform3uivContextANGLE", P(GL_ProgramUniform3uivContextANGLE)}, - {"glProgramUniform3uivEXT", P(GL_ProgramUniform3uivEXT)}, - {"glProgramUniform3uivEXTContextANGLE", P(GL_ProgramUniform3uivEXTContextANGLE)}, - {"glProgramUniform4f", P(GL_ProgramUniform4f)}, - {"glProgramUniform4fContextANGLE", P(GL_ProgramUniform4fContextANGLE)}, - {"glProgramUniform4fEXT", P(GL_ProgramUniform4fEXT)}, - {"glProgramUniform4fEXTContextANGLE", P(GL_ProgramUniform4fEXTContextANGLE)}, - {"glProgramUniform4fv", P(GL_ProgramUniform4fv)}, - {"glProgramUniform4fvContextANGLE", P(GL_ProgramUniform4fvContextANGLE)}, - {"glProgramUniform4fvEXT", P(GL_ProgramUniform4fvEXT)}, - {"glProgramUniform4fvEXTContextANGLE", P(GL_ProgramUniform4fvEXTContextANGLE)}, - {"glProgramUniform4i", P(GL_ProgramUniform4i)}, - {"glProgramUniform4iContextANGLE", P(GL_ProgramUniform4iContextANGLE)}, - {"glProgramUniform4iEXT", P(GL_ProgramUniform4iEXT)}, - {"glProgramUniform4iEXTContextANGLE", P(GL_ProgramUniform4iEXTContextANGLE)}, - {"glProgramUniform4iv", P(GL_ProgramUniform4iv)}, - {"glProgramUniform4ivContextANGLE", P(GL_ProgramUniform4ivContextANGLE)}, - {"glProgramUniform4ivEXT", P(GL_ProgramUniform4ivEXT)}, - {"glProgramUniform4ivEXTContextANGLE", P(GL_ProgramUniform4ivEXTContextANGLE)}, - {"glProgramUniform4ui", P(GL_ProgramUniform4ui)}, - {"glProgramUniform4uiContextANGLE", P(GL_ProgramUniform4uiContextANGLE)}, - {"glProgramUniform4uiEXT", P(GL_ProgramUniform4uiEXT)}, - {"glProgramUniform4uiEXTContextANGLE", P(GL_ProgramUniform4uiEXTContextANGLE)}, - {"glProgramUniform4uiv", P(GL_ProgramUniform4uiv)}, - {"glProgramUniform4uivContextANGLE", P(GL_ProgramUniform4uivContextANGLE)}, - {"glProgramUniform4uivEXT", P(GL_ProgramUniform4uivEXT)}, - {"glProgramUniform4uivEXTContextANGLE", P(GL_ProgramUniform4uivEXTContextANGLE)}, - {"glProgramUniformMatrix2fv", P(GL_ProgramUniformMatrix2fv)}, - {"glProgramUniformMatrix2fvContextANGLE", P(GL_ProgramUniformMatrix2fvContextANGLE)}, - {"glProgramUniformMatrix2fvEXT", P(GL_ProgramUniformMatrix2fvEXT)}, - {"glProgramUniformMatrix2fvEXTContextANGLE", P(GL_ProgramUniformMatrix2fvEXTContextANGLE)}, - {"glProgramUniformMatrix2x3fv", P(GL_ProgramUniformMatrix2x3fv)}, - {"glProgramUniformMatrix2x3fvContextANGLE", P(GL_ProgramUniformMatrix2x3fvContextANGLE)}, - {"glProgramUniformMatrix2x3fvEXT", P(GL_ProgramUniformMatrix2x3fvEXT)}, - {"glProgramUniformMatrix2x3fvEXTContextANGLE", P(GL_ProgramUniformMatrix2x3fvEXTContextANGLE)}, - {"glProgramUniformMatrix2x4fv", P(GL_ProgramUniformMatrix2x4fv)}, - {"glProgramUniformMatrix2x4fvContextANGLE", P(GL_ProgramUniformMatrix2x4fvContextANGLE)}, - {"glProgramUniformMatrix2x4fvEXT", P(GL_ProgramUniformMatrix2x4fvEXT)}, - {"glProgramUniformMatrix2x4fvEXTContextANGLE", P(GL_ProgramUniformMatrix2x4fvEXTContextANGLE)}, - {"glProgramUniformMatrix3fv", P(GL_ProgramUniformMatrix3fv)}, - {"glProgramUniformMatrix3fvContextANGLE", P(GL_ProgramUniformMatrix3fvContextANGLE)}, - {"glProgramUniformMatrix3fvEXT", P(GL_ProgramUniformMatrix3fvEXT)}, - {"glProgramUniformMatrix3fvEXTContextANGLE", P(GL_ProgramUniformMatrix3fvEXTContextANGLE)}, - {"glProgramUniformMatrix3x2fv", P(GL_ProgramUniformMatrix3x2fv)}, - {"glProgramUniformMatrix3x2fvContextANGLE", P(GL_ProgramUniformMatrix3x2fvContextANGLE)}, - {"glProgramUniformMatrix3x2fvEXT", P(GL_ProgramUniformMatrix3x2fvEXT)}, - {"glProgramUniformMatrix3x2fvEXTContextANGLE", P(GL_ProgramUniformMatrix3x2fvEXTContextANGLE)}, - {"glProgramUniformMatrix3x4fv", P(GL_ProgramUniformMatrix3x4fv)}, - {"glProgramUniformMatrix3x4fvContextANGLE", P(GL_ProgramUniformMatrix3x4fvContextANGLE)}, - {"glProgramUniformMatrix3x4fvEXT", P(GL_ProgramUniformMatrix3x4fvEXT)}, - {"glProgramUniformMatrix3x4fvEXTContextANGLE", P(GL_ProgramUniformMatrix3x4fvEXTContextANGLE)}, - {"glProgramUniformMatrix4fv", P(GL_ProgramUniformMatrix4fv)}, - {"glProgramUniformMatrix4fvContextANGLE", P(GL_ProgramUniformMatrix4fvContextANGLE)}, - {"glProgramUniformMatrix4fvEXT", P(GL_ProgramUniformMatrix4fvEXT)}, - {"glProgramUniformMatrix4fvEXTContextANGLE", P(GL_ProgramUniformMatrix4fvEXTContextANGLE)}, - {"glProgramUniformMatrix4x2fv", P(GL_ProgramUniformMatrix4x2fv)}, - {"glProgramUniformMatrix4x2fvContextANGLE", P(GL_ProgramUniformMatrix4x2fvContextANGLE)}, - {"glProgramUniformMatrix4x2fvEXT", P(GL_ProgramUniformMatrix4x2fvEXT)}, - {"glProgramUniformMatrix4x2fvEXTContextANGLE", P(GL_ProgramUniformMatrix4x2fvEXTContextANGLE)}, - {"glProgramUniformMatrix4x3fv", P(GL_ProgramUniformMatrix4x3fv)}, - {"glProgramUniformMatrix4x3fvContextANGLE", P(GL_ProgramUniformMatrix4x3fvContextANGLE)}, - {"glProgramUniformMatrix4x3fvEXT", P(GL_ProgramUniformMatrix4x3fvEXT)}, - {"glProgramUniformMatrix4x3fvEXTContextANGLE", P(GL_ProgramUniformMatrix4x3fvEXTContextANGLE)}, - {"glProvokingVertexANGLE", P(GL_ProvokingVertexANGLE)}, - {"glProvokingVertexANGLEContextANGLE", P(GL_ProvokingVertexANGLEContextANGLE)}, - {"glPushDebugGroup", P(GL_PushDebugGroup)}, - {"glPushDebugGroupContextANGLE", P(GL_PushDebugGroupContextANGLE)}, - {"glPushDebugGroupKHR", P(GL_PushDebugGroupKHR)}, - {"glPushDebugGroupKHRContextANGLE", P(GL_PushDebugGroupKHRContextANGLE)}, - {"glPushGroupMarkerEXT", P(GL_PushGroupMarkerEXT)}, - {"glPushGroupMarkerEXTContextANGLE", P(GL_PushGroupMarkerEXTContextANGLE)}, - {"glPushMatrix", P(GL_PushMatrix)}, - {"glPushMatrixContextANGLE", P(GL_PushMatrixContextANGLE)}, - {"glQueryCounterEXT", P(GL_QueryCounterEXT)}, - {"glQueryCounterEXTContextANGLE", P(GL_QueryCounterEXTContextANGLE)}, - {"glQueryMatrixxOES", P(GL_QueryMatrixxOES)}, - {"glQueryMatrixxOESContextANGLE", P(GL_QueryMatrixxOESContextANGLE)}, - {"glReadBuffer", P(GL_ReadBuffer)}, - {"glReadBufferContextANGLE", P(GL_ReadBufferContextANGLE)}, - {"glReadPixels", P(GL_ReadPixels)}, - {"glReadPixelsContextANGLE", P(GL_ReadPixelsContextANGLE)}, - {"glReadPixelsRobustANGLE", P(GL_ReadPixelsRobustANGLE)}, - {"glReadPixelsRobustANGLEContextANGLE", P(GL_ReadPixelsRobustANGLEContextANGLE)}, - {"glReadnPixels", P(GL_ReadnPixels)}, - {"glReadnPixelsContextANGLE", P(GL_ReadnPixelsContextANGLE)}, - {"glReadnPixelsEXT", P(GL_ReadnPixelsEXT)}, - {"glReadnPixelsEXTContextANGLE", P(GL_ReadnPixelsEXTContextANGLE)}, - {"glReadnPixelsRobustANGLE", P(GL_ReadnPixelsRobustANGLE)}, - {"glReadnPixelsRobustANGLEContextANGLE", P(GL_ReadnPixelsRobustANGLEContextANGLE)}, - {"glReleaseShaderCompiler", P(GL_ReleaseShaderCompiler)}, - {"glReleaseShaderCompilerContextANGLE", P(GL_ReleaseShaderCompilerContextANGLE)}, - {"glRenderbufferStorage", P(GL_RenderbufferStorage)}, - {"glRenderbufferStorageContextANGLE", P(GL_RenderbufferStorageContextANGLE)}, - {"glRenderbufferStorageMultisample", P(GL_RenderbufferStorageMultisample)}, - {"glRenderbufferStorageMultisampleANGLE", P(GL_RenderbufferStorageMultisampleANGLE)}, + P(gl::NamedBufferStorageExternalEXTContextANGLE)}, + {"glNormal3f", P(gl::Normal3f)}, + {"glNormal3fContextANGLE", P(gl::Normal3fContextANGLE)}, + {"glNormal3x", P(gl::Normal3x)}, + {"glNormal3xContextANGLE", P(gl::Normal3xContextANGLE)}, + {"glNormalPointer", P(gl::NormalPointer)}, + {"glNormalPointerContextANGLE", P(gl::NormalPointerContextANGLE)}, + {"glObjectLabel", P(gl::ObjectLabel)}, + {"glObjectLabelContextANGLE", P(gl::ObjectLabelContextANGLE)}, + {"glObjectLabelKHR", P(gl::ObjectLabelKHR)}, + {"glObjectLabelKHRContextANGLE", P(gl::ObjectLabelKHRContextANGLE)}, + {"glObjectPtrLabel", P(gl::ObjectPtrLabel)}, + {"glObjectPtrLabelContextANGLE", P(gl::ObjectPtrLabelContextANGLE)}, + {"glObjectPtrLabelKHR", P(gl::ObjectPtrLabelKHR)}, + {"glObjectPtrLabelKHRContextANGLE", P(gl::ObjectPtrLabelKHRContextANGLE)}, + {"glOrthof", P(gl::Orthof)}, + {"glOrthofContextANGLE", P(gl::OrthofContextANGLE)}, + {"glOrthox", P(gl::Orthox)}, + {"glOrthoxContextANGLE", P(gl::OrthoxContextANGLE)}, + {"glPatchParameteri", P(gl::PatchParameteri)}, + {"glPatchParameteriContextANGLE", P(gl::PatchParameteriContextANGLE)}, + {"glPauseTransformFeedback", P(gl::PauseTransformFeedback)}, + {"glPauseTransformFeedbackContextANGLE", P(gl::PauseTransformFeedbackContextANGLE)}, + {"glPixelStorei", P(gl::PixelStorei)}, + {"glPixelStoreiContextANGLE", P(gl::PixelStoreiContextANGLE)}, + {"glPointParameterf", P(gl::PointParameterf)}, + {"glPointParameterfContextANGLE", P(gl::PointParameterfContextANGLE)}, + {"glPointParameterfv", P(gl::PointParameterfv)}, + {"glPointParameterfvContextANGLE", P(gl::PointParameterfvContextANGLE)}, + {"glPointParameterx", P(gl::PointParameterx)}, + {"glPointParameterxContextANGLE", P(gl::PointParameterxContextANGLE)}, + {"glPointParameterxv", P(gl::PointParameterxv)}, + {"glPointParameterxvContextANGLE", P(gl::PointParameterxvContextANGLE)}, + {"glPointSize", P(gl::PointSize)}, + {"glPointSizeContextANGLE", P(gl::PointSizeContextANGLE)}, + {"glPointSizePointerOES", P(gl::PointSizePointerOES)}, + {"glPointSizePointerOESContextANGLE", P(gl::PointSizePointerOESContextANGLE)}, + {"glPointSizex", P(gl::PointSizex)}, + {"glPointSizexContextANGLE", P(gl::PointSizexContextANGLE)}, + {"glPolygonOffset", P(gl::PolygonOffset)}, + {"glPolygonOffsetContextANGLE", P(gl::PolygonOffsetContextANGLE)}, + {"glPolygonOffsetx", P(gl::PolygonOffsetx)}, + {"glPolygonOffsetxContextANGLE", P(gl::PolygonOffsetxContextANGLE)}, + {"glPopDebugGroup", P(gl::PopDebugGroup)}, + {"glPopDebugGroupContextANGLE", P(gl::PopDebugGroupContextANGLE)}, + {"glPopDebugGroupKHR", P(gl::PopDebugGroupKHR)}, + {"glPopDebugGroupKHRContextANGLE", P(gl::PopDebugGroupKHRContextANGLE)}, + {"glPopGroupMarkerEXT", P(gl::PopGroupMarkerEXT)}, + {"glPopGroupMarkerEXTContextANGLE", P(gl::PopGroupMarkerEXTContextANGLE)}, + {"glPopMatrix", P(gl::PopMatrix)}, + {"glPopMatrixContextANGLE", P(gl::PopMatrixContextANGLE)}, + {"glPrimitiveBoundingBox", P(gl::PrimitiveBoundingBox)}, + {"glPrimitiveBoundingBoxContextANGLE", P(gl::PrimitiveBoundingBoxContextANGLE)}, + {"glProgramBinary", P(gl::ProgramBinary)}, + {"glProgramBinaryContextANGLE", P(gl::ProgramBinaryContextANGLE)}, + {"glProgramBinaryOES", P(gl::ProgramBinaryOES)}, + {"glProgramBinaryOESContextANGLE", P(gl::ProgramBinaryOESContextANGLE)}, + {"glProgramParameteri", P(gl::ProgramParameteri)}, + {"glProgramParameteriContextANGLE", P(gl::ProgramParameteriContextANGLE)}, + {"glProgramUniform1f", P(gl::ProgramUniform1f)}, + {"glProgramUniform1fContextANGLE", P(gl::ProgramUniform1fContextANGLE)}, + {"glProgramUniform1fv", P(gl::ProgramUniform1fv)}, + {"glProgramUniform1fvContextANGLE", P(gl::ProgramUniform1fvContextANGLE)}, + {"glProgramUniform1i", P(gl::ProgramUniform1i)}, + {"glProgramUniform1iContextANGLE", P(gl::ProgramUniform1iContextANGLE)}, + {"glProgramUniform1iv", P(gl::ProgramUniform1iv)}, + {"glProgramUniform1ivContextANGLE", P(gl::ProgramUniform1ivContextANGLE)}, + {"glProgramUniform1ui", P(gl::ProgramUniform1ui)}, + {"glProgramUniform1uiContextANGLE", P(gl::ProgramUniform1uiContextANGLE)}, + {"glProgramUniform1uiv", P(gl::ProgramUniform1uiv)}, + {"glProgramUniform1uivContextANGLE", P(gl::ProgramUniform1uivContextANGLE)}, + {"glProgramUniform2f", P(gl::ProgramUniform2f)}, + {"glProgramUniform2fContextANGLE", P(gl::ProgramUniform2fContextANGLE)}, + {"glProgramUniform2fv", P(gl::ProgramUniform2fv)}, + {"glProgramUniform2fvContextANGLE", P(gl::ProgramUniform2fvContextANGLE)}, + {"glProgramUniform2i", P(gl::ProgramUniform2i)}, + {"glProgramUniform2iContextANGLE", P(gl::ProgramUniform2iContextANGLE)}, + {"glProgramUniform2iv", P(gl::ProgramUniform2iv)}, + {"glProgramUniform2ivContextANGLE", P(gl::ProgramUniform2ivContextANGLE)}, + {"glProgramUniform2ui", P(gl::ProgramUniform2ui)}, + {"glProgramUniform2uiContextANGLE", P(gl::ProgramUniform2uiContextANGLE)}, + {"glProgramUniform2uiv", P(gl::ProgramUniform2uiv)}, + {"glProgramUniform2uivContextANGLE", P(gl::ProgramUniform2uivContextANGLE)}, + {"glProgramUniform3f", P(gl::ProgramUniform3f)}, + {"glProgramUniform3fContextANGLE", P(gl::ProgramUniform3fContextANGLE)}, + {"glProgramUniform3fv", P(gl::ProgramUniform3fv)}, + {"glProgramUniform3fvContextANGLE", P(gl::ProgramUniform3fvContextANGLE)}, + {"glProgramUniform3i", P(gl::ProgramUniform3i)}, + {"glProgramUniform3iContextANGLE", P(gl::ProgramUniform3iContextANGLE)}, + {"glProgramUniform3iv", P(gl::ProgramUniform3iv)}, + {"glProgramUniform3ivContextANGLE", P(gl::ProgramUniform3ivContextANGLE)}, + {"glProgramUniform3ui", P(gl::ProgramUniform3ui)}, + {"glProgramUniform3uiContextANGLE", P(gl::ProgramUniform3uiContextANGLE)}, + {"glProgramUniform3uiv", P(gl::ProgramUniform3uiv)}, + {"glProgramUniform3uivContextANGLE", P(gl::ProgramUniform3uivContextANGLE)}, + {"glProgramUniform4f", P(gl::ProgramUniform4f)}, + {"glProgramUniform4fContextANGLE", P(gl::ProgramUniform4fContextANGLE)}, + {"glProgramUniform4fv", P(gl::ProgramUniform4fv)}, + {"glProgramUniform4fvContextANGLE", P(gl::ProgramUniform4fvContextANGLE)}, + {"glProgramUniform4i", P(gl::ProgramUniform4i)}, + {"glProgramUniform4iContextANGLE", P(gl::ProgramUniform4iContextANGLE)}, + {"glProgramUniform4iv", P(gl::ProgramUniform4iv)}, + {"glProgramUniform4ivContextANGLE", P(gl::ProgramUniform4ivContextANGLE)}, + {"glProgramUniform4ui", P(gl::ProgramUniform4ui)}, + {"glProgramUniform4uiContextANGLE", P(gl::ProgramUniform4uiContextANGLE)}, + {"glProgramUniform4uiv", P(gl::ProgramUniform4uiv)}, + {"glProgramUniform4uivContextANGLE", P(gl::ProgramUniform4uivContextANGLE)}, + {"glProgramUniformMatrix2fv", P(gl::ProgramUniformMatrix2fv)}, + {"glProgramUniformMatrix2fvContextANGLE", P(gl::ProgramUniformMatrix2fvContextANGLE)}, + {"glProgramUniformMatrix2x3fv", P(gl::ProgramUniformMatrix2x3fv)}, + {"glProgramUniformMatrix2x3fvContextANGLE", P(gl::ProgramUniformMatrix2x3fvContextANGLE)}, + {"glProgramUniformMatrix2x4fv", P(gl::ProgramUniformMatrix2x4fv)}, + {"glProgramUniformMatrix2x4fvContextANGLE", P(gl::ProgramUniformMatrix2x4fvContextANGLE)}, + {"glProgramUniformMatrix3fv", P(gl::ProgramUniformMatrix3fv)}, + {"glProgramUniformMatrix3fvContextANGLE", P(gl::ProgramUniformMatrix3fvContextANGLE)}, + {"glProgramUniformMatrix3x2fv", P(gl::ProgramUniformMatrix3x2fv)}, + {"glProgramUniformMatrix3x2fvContextANGLE", P(gl::ProgramUniformMatrix3x2fvContextANGLE)}, + {"glProgramUniformMatrix3x4fv", P(gl::ProgramUniformMatrix3x4fv)}, + {"glProgramUniformMatrix3x4fvContextANGLE", P(gl::ProgramUniformMatrix3x4fvContextANGLE)}, + {"glProgramUniformMatrix4fv", P(gl::ProgramUniformMatrix4fv)}, + {"glProgramUniformMatrix4fvContextANGLE", P(gl::ProgramUniformMatrix4fvContextANGLE)}, + {"glProgramUniformMatrix4x2fv", P(gl::ProgramUniformMatrix4x2fv)}, + {"glProgramUniformMatrix4x2fvContextANGLE", P(gl::ProgramUniformMatrix4x2fvContextANGLE)}, + {"glProgramUniformMatrix4x3fv", P(gl::ProgramUniformMatrix4x3fv)}, + {"glProgramUniformMatrix4x3fvContextANGLE", P(gl::ProgramUniformMatrix4x3fvContextANGLE)}, + {"glProvokingVertexANGLE", P(gl::ProvokingVertexANGLE)}, + {"glProvokingVertexANGLEContextANGLE", P(gl::ProvokingVertexANGLEContextANGLE)}, + {"glPushDebugGroup", P(gl::PushDebugGroup)}, + {"glPushDebugGroupContextANGLE", P(gl::PushDebugGroupContextANGLE)}, + {"glPushDebugGroupKHR", P(gl::PushDebugGroupKHR)}, + {"glPushDebugGroupKHRContextANGLE", P(gl::PushDebugGroupKHRContextANGLE)}, + {"glPushGroupMarkerEXT", P(gl::PushGroupMarkerEXT)}, + {"glPushGroupMarkerEXTContextANGLE", P(gl::PushGroupMarkerEXTContextANGLE)}, + {"glPushMatrix", P(gl::PushMatrix)}, + {"glPushMatrixContextANGLE", P(gl::PushMatrixContextANGLE)}, + {"glQueryCounterEXT", P(gl::QueryCounterEXT)}, + {"glQueryCounterEXTContextANGLE", P(gl::QueryCounterEXTContextANGLE)}, + {"glQueryMatrixxOES", P(gl::QueryMatrixxOES)}, + {"glQueryMatrixxOESContextANGLE", P(gl::QueryMatrixxOESContextANGLE)}, + {"glReadBuffer", P(gl::ReadBuffer)}, + {"glReadBufferContextANGLE", P(gl::ReadBufferContextANGLE)}, + {"glReadPixels", P(gl::ReadPixels)}, + {"glReadPixelsContextANGLE", P(gl::ReadPixelsContextANGLE)}, + {"glReadPixelsRobustANGLE", P(gl::ReadPixelsRobustANGLE)}, + {"glReadPixelsRobustANGLEContextANGLE", P(gl::ReadPixelsRobustANGLEContextANGLE)}, + {"glReadnPixels", P(gl::ReadnPixels)}, + {"glReadnPixelsContextANGLE", P(gl::ReadnPixelsContextANGLE)}, + {"glReadnPixelsEXT", P(gl::ReadnPixelsEXT)}, + {"glReadnPixelsEXTContextANGLE", P(gl::ReadnPixelsEXTContextANGLE)}, + {"glReadnPixelsRobustANGLE", P(gl::ReadnPixelsRobustANGLE)}, + {"glReadnPixelsRobustANGLEContextANGLE", P(gl::ReadnPixelsRobustANGLEContextANGLE)}, + {"glReleaseShaderCompiler", P(gl::ReleaseShaderCompiler)}, + {"glReleaseShaderCompilerContextANGLE", P(gl::ReleaseShaderCompilerContextANGLE)}, + {"glRenderbufferStorage", P(gl::RenderbufferStorage)}, + {"glRenderbufferStorageContextANGLE", P(gl::RenderbufferStorageContextANGLE)}, + {"glRenderbufferStorageMultisample", P(gl::RenderbufferStorageMultisample)}, + {"glRenderbufferStorageMultisampleANGLE", P(gl::RenderbufferStorageMultisampleANGLE)}, {"glRenderbufferStorageMultisampleANGLEContextANGLE", - P(GL_RenderbufferStorageMultisampleANGLEContextANGLE)}, + P(gl::RenderbufferStorageMultisampleANGLEContextANGLE)}, {"glRenderbufferStorageMultisampleContextANGLE", - P(GL_RenderbufferStorageMultisampleContextANGLE)}, - {"glRenderbufferStorageMultisampleEXT", P(GL_RenderbufferStorageMultisampleEXT)}, + P(gl::RenderbufferStorageMultisampleContextANGLE)}, + {"glRenderbufferStorageMultisampleEXT", P(gl::RenderbufferStorageMultisampleEXT)}, {"glRenderbufferStorageMultisampleEXTContextANGLE", - P(GL_RenderbufferStorageMultisampleEXTContextANGLE)}, - {"glRenderbufferStorageOES", P(GL_RenderbufferStorageOES)}, - {"glRenderbufferStorageOESContextANGLE", P(GL_RenderbufferStorageOESContextANGLE)}, - {"glRequestExtensionANGLE", P(GL_RequestExtensionANGLE)}, - {"glRequestExtensionANGLEContextANGLE", P(GL_RequestExtensionANGLEContextANGLE)}, - {"glResumeTransformFeedback", P(GL_ResumeTransformFeedback)}, - {"glResumeTransformFeedbackContextANGLE", P(GL_ResumeTransformFeedbackContextANGLE)}, - {"glRotatef", P(GL_Rotatef)}, - {"glRotatefContextANGLE", P(GL_RotatefContextANGLE)}, - {"glRotatex", P(GL_Rotatex)}, - {"glRotatexContextANGLE", P(GL_RotatexContextANGLE)}, - {"glSampleCoverage", P(GL_SampleCoverage)}, - {"glSampleCoverageContextANGLE", P(GL_SampleCoverageContextANGLE)}, - {"glSampleCoveragex", P(GL_SampleCoveragex)}, - {"glSampleCoveragexContextANGLE", P(GL_SampleCoveragexContextANGLE)}, - {"glSampleMaski", P(GL_SampleMaski)}, - {"glSampleMaskiANGLE", P(GL_SampleMaskiANGLE)}, - {"glSampleMaskiANGLEContextANGLE", P(GL_SampleMaskiANGLEContextANGLE)}, - {"glSampleMaskiContextANGLE", P(GL_SampleMaskiContextANGLE)}, - {"glSamplerParameterIiv", P(GL_SamplerParameterIiv)}, - {"glSamplerParameterIivContextANGLE", P(GL_SamplerParameterIivContextANGLE)}, - {"glSamplerParameterIivEXT", P(GL_SamplerParameterIivEXT)}, - {"glSamplerParameterIivEXTContextANGLE", P(GL_SamplerParameterIivEXTContextANGLE)}, - {"glSamplerParameterIivOES", P(GL_SamplerParameterIivOES)}, - {"glSamplerParameterIivOESContextANGLE", P(GL_SamplerParameterIivOESContextANGLE)}, - {"glSamplerParameterIivRobustANGLE", P(GL_SamplerParameterIivRobustANGLE)}, + P(gl::RenderbufferStorageMultisampleEXTContextANGLE)}, + {"glRenderbufferStorageOES", P(gl::RenderbufferStorageOES)}, + {"glRenderbufferStorageOESContextANGLE", P(gl::RenderbufferStorageOESContextANGLE)}, + {"glRequestExtensionANGLE", P(gl::RequestExtensionANGLE)}, + {"glRequestExtensionANGLEContextANGLE", P(gl::RequestExtensionANGLEContextANGLE)}, + {"glResumeTransformFeedback", P(gl::ResumeTransformFeedback)}, + {"glResumeTransformFeedbackContextANGLE", P(gl::ResumeTransformFeedbackContextANGLE)}, + {"glRotatef", P(gl::Rotatef)}, + {"glRotatefContextANGLE", P(gl::RotatefContextANGLE)}, + {"glRotatex", P(gl::Rotatex)}, + {"glRotatexContextANGLE", P(gl::RotatexContextANGLE)}, + {"glSampleCoverage", P(gl::SampleCoverage)}, + {"glSampleCoverageContextANGLE", P(gl::SampleCoverageContextANGLE)}, + {"glSampleCoveragex", P(gl::SampleCoveragex)}, + {"glSampleCoveragexContextANGLE", P(gl::SampleCoveragexContextANGLE)}, + {"glSampleMaski", P(gl::SampleMaski)}, + {"glSampleMaskiANGLE", P(gl::SampleMaskiANGLE)}, + {"glSampleMaskiANGLEContextANGLE", P(gl::SampleMaskiANGLEContextANGLE)}, + {"glSampleMaskiContextANGLE", P(gl::SampleMaskiContextANGLE)}, + {"glSamplerParameterIiv", P(gl::SamplerParameterIiv)}, + {"glSamplerParameterIivContextANGLE", P(gl::SamplerParameterIivContextANGLE)}, + {"glSamplerParameterIivOES", P(gl::SamplerParameterIivOES)}, + {"glSamplerParameterIivOESContextANGLE", P(gl::SamplerParameterIivOESContextANGLE)}, + {"glSamplerParameterIivRobustANGLE", P(gl::SamplerParameterIivRobustANGLE)}, {"glSamplerParameterIivRobustANGLEContextANGLE", - P(GL_SamplerParameterIivRobustANGLEContextANGLE)}, - {"glSamplerParameterIuiv", P(GL_SamplerParameterIuiv)}, - {"glSamplerParameterIuivContextANGLE", P(GL_SamplerParameterIuivContextANGLE)}, - {"glSamplerParameterIuivEXT", P(GL_SamplerParameterIuivEXT)}, - {"glSamplerParameterIuivEXTContextANGLE", P(GL_SamplerParameterIuivEXTContextANGLE)}, - {"glSamplerParameterIuivOES", P(GL_SamplerParameterIuivOES)}, - {"glSamplerParameterIuivOESContextANGLE", P(GL_SamplerParameterIuivOESContextANGLE)}, - {"glSamplerParameterIuivRobustANGLE", P(GL_SamplerParameterIuivRobustANGLE)}, + P(gl::SamplerParameterIivRobustANGLEContextANGLE)}, + {"glSamplerParameterIuiv", P(gl::SamplerParameterIuiv)}, + {"glSamplerParameterIuivContextANGLE", P(gl::SamplerParameterIuivContextANGLE)}, + {"glSamplerParameterIuivOES", P(gl::SamplerParameterIuivOES)}, + {"glSamplerParameterIuivOESContextANGLE", P(gl::SamplerParameterIuivOESContextANGLE)}, + {"glSamplerParameterIuivRobustANGLE", P(gl::SamplerParameterIuivRobustANGLE)}, {"glSamplerParameterIuivRobustANGLEContextANGLE", - P(GL_SamplerParameterIuivRobustANGLEContextANGLE)}, - {"glSamplerParameterf", P(GL_SamplerParameterf)}, - {"glSamplerParameterfContextANGLE", P(GL_SamplerParameterfContextANGLE)}, - {"glSamplerParameterfv", P(GL_SamplerParameterfv)}, - {"glSamplerParameterfvContextANGLE", P(GL_SamplerParameterfvContextANGLE)}, - {"glSamplerParameterfvRobustANGLE", P(GL_SamplerParameterfvRobustANGLE)}, + P(gl::SamplerParameterIuivRobustANGLEContextANGLE)}, + {"glSamplerParameterf", P(gl::SamplerParameterf)}, + {"glSamplerParameterfContextANGLE", P(gl::SamplerParameterfContextANGLE)}, + {"glSamplerParameterfv", P(gl::SamplerParameterfv)}, + {"glSamplerParameterfvContextANGLE", P(gl::SamplerParameterfvContextANGLE)}, + {"glSamplerParameterfvRobustANGLE", P(gl::SamplerParameterfvRobustANGLE)}, {"glSamplerParameterfvRobustANGLEContextANGLE", - P(GL_SamplerParameterfvRobustANGLEContextANGLE)}, - {"glSamplerParameteri", P(GL_SamplerParameteri)}, - {"glSamplerParameteriContextANGLE", P(GL_SamplerParameteriContextANGLE)}, - {"glSamplerParameteriv", P(GL_SamplerParameteriv)}, - {"glSamplerParameterivContextANGLE", P(GL_SamplerParameterivContextANGLE)}, - {"glSamplerParameterivRobustANGLE", P(GL_SamplerParameterivRobustANGLE)}, + P(gl::SamplerParameterfvRobustANGLEContextANGLE)}, + {"glSamplerParameteri", P(gl::SamplerParameteri)}, + {"glSamplerParameteriContextANGLE", P(gl::SamplerParameteriContextANGLE)}, + {"glSamplerParameteriv", P(gl::SamplerParameteriv)}, + {"glSamplerParameterivContextANGLE", P(gl::SamplerParameterivContextANGLE)}, + {"glSamplerParameterivRobustANGLE", P(gl::SamplerParameterivRobustANGLE)}, {"glSamplerParameterivRobustANGLEContextANGLE", - P(GL_SamplerParameterivRobustANGLEContextANGLE)}, - {"glScalef", P(GL_Scalef)}, - {"glScalefContextANGLE", P(GL_ScalefContextANGLE)}, - {"glScalex", P(GL_Scalex)}, - {"glScalexContextANGLE", P(GL_ScalexContextANGLE)}, - {"glScissor", P(GL_Scissor)}, - {"glScissorContextANGLE", P(GL_ScissorContextANGLE)}, - {"glSemaphoreParameterui64vEXT", P(GL_SemaphoreParameterui64vEXT)}, - {"glSemaphoreParameterui64vEXTContextANGLE", P(GL_SemaphoreParameterui64vEXTContextANGLE)}, - {"glSetFenceNV", P(GL_SetFenceNV)}, - {"glSetFenceNVContextANGLE", P(GL_SetFenceNVContextANGLE)}, - {"glShadeModel", P(GL_ShadeModel)}, - {"glShadeModelContextANGLE", P(GL_ShadeModelContextANGLE)}, - {"glShaderBinary", P(GL_ShaderBinary)}, - {"glShaderBinaryContextANGLE", P(GL_ShaderBinaryContextANGLE)}, - {"glShaderSource", P(GL_ShaderSource)}, - {"glShaderSourceContextANGLE", P(GL_ShaderSourceContextANGLE)}, - {"glSignalSemaphoreEXT", P(GL_SignalSemaphoreEXT)}, - {"glSignalSemaphoreEXTContextANGLE", P(GL_SignalSemaphoreEXTContextANGLE)}, - {"glStencilFunc", P(GL_StencilFunc)}, - {"glStencilFuncContextANGLE", P(GL_StencilFuncContextANGLE)}, - {"glStencilFuncSeparate", P(GL_StencilFuncSeparate)}, - {"glStencilFuncSeparateContextANGLE", P(GL_StencilFuncSeparateContextANGLE)}, - {"glStencilMask", P(GL_StencilMask)}, - {"glStencilMaskContextANGLE", P(GL_StencilMaskContextANGLE)}, - {"glStencilMaskSeparate", P(GL_StencilMaskSeparate)}, - {"glStencilMaskSeparateContextANGLE", P(GL_StencilMaskSeparateContextANGLE)}, - {"glStencilOp", P(GL_StencilOp)}, - {"glStencilOpContextANGLE", P(GL_StencilOpContextANGLE)}, - {"glStencilOpSeparate", P(GL_StencilOpSeparate)}, - {"glStencilOpSeparateContextANGLE", P(GL_StencilOpSeparateContextANGLE)}, - {"glTestFenceNV", P(GL_TestFenceNV)}, - {"glTestFenceNVContextANGLE", P(GL_TestFenceNVContextANGLE)}, - {"glTexBuffer", P(GL_TexBuffer)}, - {"glTexBufferContextANGLE", P(GL_TexBufferContextANGLE)}, - {"glTexBufferEXT", P(GL_TexBufferEXT)}, - {"glTexBufferEXTContextANGLE", P(GL_TexBufferEXTContextANGLE)}, - {"glTexBufferOES", P(GL_TexBufferOES)}, - {"glTexBufferOESContextANGLE", P(GL_TexBufferOESContextANGLE)}, - {"glTexBufferRange", P(GL_TexBufferRange)}, - {"glTexBufferRangeContextANGLE", P(GL_TexBufferRangeContextANGLE)}, - {"glTexBufferRangeEXT", P(GL_TexBufferRangeEXT)}, - {"glTexBufferRangeEXTContextANGLE", P(GL_TexBufferRangeEXTContextANGLE)}, - {"glTexBufferRangeOES", P(GL_TexBufferRangeOES)}, - {"glTexBufferRangeOESContextANGLE", P(GL_TexBufferRangeOESContextANGLE)}, - {"glTexCoordPointer", P(GL_TexCoordPointer)}, - {"glTexCoordPointerContextANGLE", P(GL_TexCoordPointerContextANGLE)}, - {"glTexEnvf", P(GL_TexEnvf)}, - {"glTexEnvfContextANGLE", P(GL_TexEnvfContextANGLE)}, - {"glTexEnvfv", P(GL_TexEnvfv)}, - {"glTexEnvfvContextANGLE", P(GL_TexEnvfvContextANGLE)}, - {"glTexEnvi", P(GL_TexEnvi)}, - {"glTexEnviContextANGLE", P(GL_TexEnviContextANGLE)}, - {"glTexEnviv", P(GL_TexEnviv)}, - {"glTexEnvivContextANGLE", P(GL_TexEnvivContextANGLE)}, - {"glTexEnvx", P(GL_TexEnvx)}, - {"glTexEnvxContextANGLE", P(GL_TexEnvxContextANGLE)}, - {"glTexEnvxv", P(GL_TexEnvxv)}, - {"glTexEnvxvContextANGLE", P(GL_TexEnvxvContextANGLE)}, - {"glTexGenfOES", P(GL_TexGenfOES)}, - {"glTexGenfOESContextANGLE", P(GL_TexGenfOESContextANGLE)}, - {"glTexGenfvOES", P(GL_TexGenfvOES)}, - {"glTexGenfvOESContextANGLE", P(GL_TexGenfvOESContextANGLE)}, - {"glTexGeniOES", P(GL_TexGeniOES)}, - {"glTexGeniOESContextANGLE", P(GL_TexGeniOESContextANGLE)}, - {"glTexGenivOES", P(GL_TexGenivOES)}, - {"glTexGenivOESContextANGLE", P(GL_TexGenivOESContextANGLE)}, - {"glTexGenxOES", P(GL_TexGenxOES)}, - {"glTexGenxOESContextANGLE", P(GL_TexGenxOESContextANGLE)}, - {"glTexGenxvOES", P(GL_TexGenxvOES)}, - {"glTexGenxvOESContextANGLE", P(GL_TexGenxvOESContextANGLE)}, - {"glTexImage2D", P(GL_TexImage2D)}, - {"glTexImage2DContextANGLE", P(GL_TexImage2DContextANGLE)}, - {"glTexImage2DExternalANGLE", P(GL_TexImage2DExternalANGLE)}, - {"glTexImage2DExternalANGLEContextANGLE", P(GL_TexImage2DExternalANGLEContextANGLE)}, - {"glTexImage2DRobustANGLE", P(GL_TexImage2DRobustANGLE)}, - {"glTexImage2DRobustANGLEContextANGLE", P(GL_TexImage2DRobustANGLEContextANGLE)}, - {"glTexImage3D", P(GL_TexImage3D)}, - {"glTexImage3DContextANGLE", P(GL_TexImage3DContextANGLE)}, - {"glTexImage3DOES", P(GL_TexImage3DOES)}, - {"glTexImage3DOESContextANGLE", P(GL_TexImage3DOESContextANGLE)}, - {"glTexImage3DRobustANGLE", P(GL_TexImage3DRobustANGLE)}, - {"glTexImage3DRobustANGLEContextANGLE", P(GL_TexImage3DRobustANGLEContextANGLE)}, - {"glTexParameterIiv", P(GL_TexParameterIiv)}, - {"glTexParameterIivContextANGLE", P(GL_TexParameterIivContextANGLE)}, - {"glTexParameterIivEXT", P(GL_TexParameterIivEXT)}, - {"glTexParameterIivEXTContextANGLE", P(GL_TexParameterIivEXTContextANGLE)}, - {"glTexParameterIivOES", P(GL_TexParameterIivOES)}, - {"glTexParameterIivOESContextANGLE", P(GL_TexParameterIivOESContextANGLE)}, - {"glTexParameterIivRobustANGLE", P(GL_TexParameterIivRobustANGLE)}, - {"glTexParameterIivRobustANGLEContextANGLE", P(GL_TexParameterIivRobustANGLEContextANGLE)}, - {"glTexParameterIuiv", P(GL_TexParameterIuiv)}, - {"glTexParameterIuivContextANGLE", P(GL_TexParameterIuivContextANGLE)}, - {"glTexParameterIuivEXT", P(GL_TexParameterIuivEXT)}, - {"glTexParameterIuivEXTContextANGLE", P(GL_TexParameterIuivEXTContextANGLE)}, - {"glTexParameterIuivOES", P(GL_TexParameterIuivOES)}, - {"glTexParameterIuivOESContextANGLE", P(GL_TexParameterIuivOESContextANGLE)}, - {"glTexParameterIuivRobustANGLE", P(GL_TexParameterIuivRobustANGLE)}, - {"glTexParameterIuivRobustANGLEContextANGLE", P(GL_TexParameterIuivRobustANGLEContextANGLE)}, - {"glTexParameterf", P(GL_TexParameterf)}, - {"glTexParameterfContextANGLE", P(GL_TexParameterfContextANGLE)}, - {"glTexParameterfv", P(GL_TexParameterfv)}, - {"glTexParameterfvContextANGLE", P(GL_TexParameterfvContextANGLE)}, - {"glTexParameterfvRobustANGLE", P(GL_TexParameterfvRobustANGLE)}, - {"glTexParameterfvRobustANGLEContextANGLE", P(GL_TexParameterfvRobustANGLEContextANGLE)}, - {"glTexParameteri", P(GL_TexParameteri)}, - {"glTexParameteriContextANGLE", P(GL_TexParameteriContextANGLE)}, - {"glTexParameteriv", P(GL_TexParameteriv)}, - {"glTexParameterivContextANGLE", P(GL_TexParameterivContextANGLE)}, - {"glTexParameterivRobustANGLE", P(GL_TexParameterivRobustANGLE)}, - {"glTexParameterivRobustANGLEContextANGLE", P(GL_TexParameterivRobustANGLEContextANGLE)}, - {"glTexParameterx", P(GL_TexParameterx)}, - {"glTexParameterxContextANGLE", P(GL_TexParameterxContextANGLE)}, - {"glTexParameterxv", P(GL_TexParameterxv)}, - {"glTexParameterxvContextANGLE", P(GL_TexParameterxvContextANGLE)}, - {"glTexStorage1DEXT", P(GL_TexStorage1DEXT)}, - {"glTexStorage1DEXTContextANGLE", P(GL_TexStorage1DEXTContextANGLE)}, - {"glTexStorage2D", P(GL_TexStorage2D)}, - {"glTexStorage2DContextANGLE", P(GL_TexStorage2DContextANGLE)}, - {"glTexStorage2DEXT", P(GL_TexStorage2DEXT)}, - {"glTexStorage2DEXTContextANGLE", P(GL_TexStorage2DEXTContextANGLE)}, - {"glTexStorage2DMultisample", P(GL_TexStorage2DMultisample)}, - {"glTexStorage2DMultisampleANGLE", P(GL_TexStorage2DMultisampleANGLE)}, - {"glTexStorage2DMultisampleANGLEContextANGLE", P(GL_TexStorage2DMultisampleANGLEContextANGLE)}, - {"glTexStorage2DMultisampleContextANGLE", P(GL_TexStorage2DMultisampleContextANGLE)}, - {"glTexStorage3D", P(GL_TexStorage3D)}, - {"glTexStorage3DContextANGLE", P(GL_TexStorage3DContextANGLE)}, - {"glTexStorage3DEXT", P(GL_TexStorage3DEXT)}, - {"glTexStorage3DEXTContextANGLE", P(GL_TexStorage3DEXTContextANGLE)}, - {"glTexStorage3DMultisample", P(GL_TexStorage3DMultisample)}, - {"glTexStorage3DMultisampleContextANGLE", P(GL_TexStorage3DMultisampleContextANGLE)}, - {"glTexStorage3DMultisampleOES", P(GL_TexStorage3DMultisampleOES)}, - {"glTexStorage3DMultisampleOESContextANGLE", P(GL_TexStorage3DMultisampleOESContextANGLE)}, - {"glTexStorageMem2DEXT", P(GL_TexStorageMem2DEXT)}, - {"glTexStorageMem2DEXTContextANGLE", P(GL_TexStorageMem2DEXTContextANGLE)}, - {"glTexStorageMem2DMultisampleEXT", P(GL_TexStorageMem2DMultisampleEXT)}, + P(gl::SamplerParameterivRobustANGLEContextANGLE)}, + {"glScalef", P(gl::Scalef)}, + {"glScalefContextANGLE", P(gl::ScalefContextANGLE)}, + {"glScalex", P(gl::Scalex)}, + {"glScalexContextANGLE", P(gl::ScalexContextANGLE)}, + {"glScissor", P(gl::Scissor)}, + {"glScissorContextANGLE", P(gl::ScissorContextANGLE)}, + {"glSemaphoreParameterui64vEXT", P(gl::SemaphoreParameterui64vEXT)}, + {"glSemaphoreParameterui64vEXTContextANGLE", P(gl::SemaphoreParameterui64vEXTContextANGLE)}, + {"glSetFenceNV", P(gl::SetFenceNV)}, + {"glSetFenceNVContextANGLE", P(gl::SetFenceNVContextANGLE)}, + {"glShadeModel", P(gl::ShadeModel)}, + {"glShadeModelContextANGLE", P(gl::ShadeModelContextANGLE)}, + {"glShaderBinary", P(gl::ShaderBinary)}, + {"glShaderBinaryContextANGLE", P(gl::ShaderBinaryContextANGLE)}, + {"glShaderSource", P(gl::ShaderSource)}, + {"glShaderSourceContextANGLE", P(gl::ShaderSourceContextANGLE)}, + {"glSignalSemaphoreEXT", P(gl::SignalSemaphoreEXT)}, + {"glSignalSemaphoreEXTContextANGLE", P(gl::SignalSemaphoreEXTContextANGLE)}, + {"glStencilFunc", P(gl::StencilFunc)}, + {"glStencilFuncContextANGLE", P(gl::StencilFuncContextANGLE)}, + {"glStencilFuncSeparate", P(gl::StencilFuncSeparate)}, + {"glStencilFuncSeparateContextANGLE", P(gl::StencilFuncSeparateContextANGLE)}, + {"glStencilMask", P(gl::StencilMask)}, + {"glStencilMaskContextANGLE", P(gl::StencilMaskContextANGLE)}, + {"glStencilMaskSeparate", P(gl::StencilMaskSeparate)}, + {"glStencilMaskSeparateContextANGLE", P(gl::StencilMaskSeparateContextANGLE)}, + {"glStencilOp", P(gl::StencilOp)}, + {"glStencilOpContextANGLE", P(gl::StencilOpContextANGLE)}, + {"glStencilOpSeparate", P(gl::StencilOpSeparate)}, + {"glStencilOpSeparateContextANGLE", P(gl::StencilOpSeparateContextANGLE)}, + {"glTestFenceNV", P(gl::TestFenceNV)}, + {"glTestFenceNVContextANGLE", P(gl::TestFenceNVContextANGLE)}, + {"glTexBuffer", P(gl::TexBuffer)}, + {"glTexBufferContextANGLE", P(gl::TexBufferContextANGLE)}, + {"glTexBufferEXT", P(gl::TexBufferEXT)}, + {"glTexBufferEXTContextANGLE", P(gl::TexBufferEXTContextANGLE)}, + {"glTexBufferOES", P(gl::TexBufferOES)}, + {"glTexBufferOESContextANGLE", P(gl::TexBufferOESContextANGLE)}, + {"glTexBufferRange", P(gl::TexBufferRange)}, + {"glTexBufferRangeContextANGLE", P(gl::TexBufferRangeContextANGLE)}, + {"glTexBufferRangeEXT", P(gl::TexBufferRangeEXT)}, + {"glTexBufferRangeEXTContextANGLE", P(gl::TexBufferRangeEXTContextANGLE)}, + {"glTexBufferRangeOES", P(gl::TexBufferRangeOES)}, + {"glTexBufferRangeOESContextANGLE", P(gl::TexBufferRangeOESContextANGLE)}, + {"glTexCoordPointer", P(gl::TexCoordPointer)}, + {"glTexCoordPointerContextANGLE", P(gl::TexCoordPointerContextANGLE)}, + {"glTexEnvf", P(gl::TexEnvf)}, + {"glTexEnvfContextANGLE", P(gl::TexEnvfContextANGLE)}, + {"glTexEnvfv", P(gl::TexEnvfv)}, + {"glTexEnvfvContextANGLE", P(gl::TexEnvfvContextANGLE)}, + {"glTexEnvi", P(gl::TexEnvi)}, + {"glTexEnviContextANGLE", P(gl::TexEnviContextANGLE)}, + {"glTexEnviv", P(gl::TexEnviv)}, + {"glTexEnvivContextANGLE", P(gl::TexEnvivContextANGLE)}, + {"glTexEnvx", P(gl::TexEnvx)}, + {"glTexEnvxContextANGLE", P(gl::TexEnvxContextANGLE)}, + {"glTexEnvxv", P(gl::TexEnvxv)}, + {"glTexEnvxvContextANGLE", P(gl::TexEnvxvContextANGLE)}, + {"glTexGenfOES", P(gl::TexGenfOES)}, + {"glTexGenfOESContextANGLE", P(gl::TexGenfOESContextANGLE)}, + {"glTexGenfvOES", P(gl::TexGenfvOES)}, + {"glTexGenfvOESContextANGLE", P(gl::TexGenfvOESContextANGLE)}, + {"glTexGeniOES", P(gl::TexGeniOES)}, + {"glTexGeniOESContextANGLE", P(gl::TexGeniOESContextANGLE)}, + {"glTexGenivOES", P(gl::TexGenivOES)}, + {"glTexGenivOESContextANGLE", P(gl::TexGenivOESContextANGLE)}, + {"glTexGenxOES", P(gl::TexGenxOES)}, + {"glTexGenxOESContextANGLE", P(gl::TexGenxOESContextANGLE)}, + {"glTexGenxvOES", P(gl::TexGenxvOES)}, + {"glTexGenxvOESContextANGLE", P(gl::TexGenxvOESContextANGLE)}, + {"glTexImage2D", P(gl::TexImage2D)}, + {"glTexImage2DContextANGLE", P(gl::TexImage2DContextANGLE)}, + {"glTexImage2DExternalANGLE", P(gl::TexImage2DExternalANGLE)}, + {"glTexImage2DExternalANGLEContextANGLE", P(gl::TexImage2DExternalANGLEContextANGLE)}, + {"glTexImage2DRobustANGLE", P(gl::TexImage2DRobustANGLE)}, + {"glTexImage2DRobustANGLEContextANGLE", P(gl::TexImage2DRobustANGLEContextANGLE)}, + {"glTexImage3D", P(gl::TexImage3D)}, + {"glTexImage3DContextANGLE", P(gl::TexImage3DContextANGLE)}, + {"glTexImage3DOES", P(gl::TexImage3DOES)}, + {"glTexImage3DOESContextANGLE", P(gl::TexImage3DOESContextANGLE)}, + {"glTexImage3DRobustANGLE", P(gl::TexImage3DRobustANGLE)}, + {"glTexImage3DRobustANGLEContextANGLE", P(gl::TexImage3DRobustANGLEContextANGLE)}, + {"glTexParameterIiv", P(gl::TexParameterIiv)}, + {"glTexParameterIivContextANGLE", P(gl::TexParameterIivContextANGLE)}, + {"glTexParameterIivOES", P(gl::TexParameterIivOES)}, + {"glTexParameterIivOESContextANGLE", P(gl::TexParameterIivOESContextANGLE)}, + {"glTexParameterIivRobustANGLE", P(gl::TexParameterIivRobustANGLE)}, + {"glTexParameterIivRobustANGLEContextANGLE", P(gl::TexParameterIivRobustANGLEContextANGLE)}, + {"glTexParameterIuiv", P(gl::TexParameterIuiv)}, + {"glTexParameterIuivContextANGLE", P(gl::TexParameterIuivContextANGLE)}, + {"glTexParameterIuivOES", P(gl::TexParameterIuivOES)}, + {"glTexParameterIuivOESContextANGLE", P(gl::TexParameterIuivOESContextANGLE)}, + {"glTexParameterIuivRobustANGLE", P(gl::TexParameterIuivRobustANGLE)}, + {"glTexParameterIuivRobustANGLEContextANGLE", P(gl::TexParameterIuivRobustANGLEContextANGLE)}, + {"glTexParameterf", P(gl::TexParameterf)}, + {"glTexParameterfContextANGLE", P(gl::TexParameterfContextANGLE)}, + {"glTexParameterfv", P(gl::TexParameterfv)}, + {"glTexParameterfvContextANGLE", P(gl::TexParameterfvContextANGLE)}, + {"glTexParameterfvRobustANGLE", P(gl::TexParameterfvRobustANGLE)}, + {"glTexParameterfvRobustANGLEContextANGLE", P(gl::TexParameterfvRobustANGLEContextANGLE)}, + {"glTexParameteri", P(gl::TexParameteri)}, + {"glTexParameteriContextANGLE", P(gl::TexParameteriContextANGLE)}, + {"glTexParameteriv", P(gl::TexParameteriv)}, + {"glTexParameterivContextANGLE", P(gl::TexParameterivContextANGLE)}, + {"glTexParameterivRobustANGLE", P(gl::TexParameterivRobustANGLE)}, + {"glTexParameterivRobustANGLEContextANGLE", P(gl::TexParameterivRobustANGLEContextANGLE)}, + {"glTexParameterx", P(gl::TexParameterx)}, + {"glTexParameterxContextANGLE", P(gl::TexParameterxContextANGLE)}, + {"glTexParameterxv", P(gl::TexParameterxv)}, + {"glTexParameterxvContextANGLE", P(gl::TexParameterxvContextANGLE)}, + {"glTexStorage1DEXT", P(gl::TexStorage1DEXT)}, + {"glTexStorage1DEXTContextANGLE", P(gl::TexStorage1DEXTContextANGLE)}, + {"glTexStorage2D", P(gl::TexStorage2D)}, + {"glTexStorage2DContextANGLE", P(gl::TexStorage2DContextANGLE)}, + {"glTexStorage2DEXT", P(gl::TexStorage2DEXT)}, + {"glTexStorage2DEXTContextANGLE", P(gl::TexStorage2DEXTContextANGLE)}, + {"glTexStorage2DMultisample", P(gl::TexStorage2DMultisample)}, + {"glTexStorage2DMultisampleANGLE", P(gl::TexStorage2DMultisampleANGLE)}, + {"glTexStorage2DMultisampleANGLEContextANGLE", P(gl::TexStorage2DMultisampleANGLEContextANGLE)}, + {"glTexStorage2DMultisampleContextANGLE", P(gl::TexStorage2DMultisampleContextANGLE)}, + {"glTexStorage3D", P(gl::TexStorage3D)}, + {"glTexStorage3DContextANGLE", P(gl::TexStorage3DContextANGLE)}, + {"glTexStorage3DEXT", P(gl::TexStorage3DEXT)}, + {"glTexStorage3DEXTContextANGLE", P(gl::TexStorage3DEXTContextANGLE)}, + {"glTexStorage3DMultisample", P(gl::TexStorage3DMultisample)}, + {"glTexStorage3DMultisampleContextANGLE", P(gl::TexStorage3DMultisampleContextANGLE)}, + {"glTexStorage3DMultisampleOES", P(gl::TexStorage3DMultisampleOES)}, + {"glTexStorage3DMultisampleOESContextANGLE", P(gl::TexStorage3DMultisampleOESContextANGLE)}, + {"glTexStorageMem2DEXT", P(gl::TexStorageMem2DEXT)}, + {"glTexStorageMem2DEXTContextANGLE", P(gl::TexStorageMem2DEXTContextANGLE)}, + {"glTexStorageMem2DMultisampleEXT", P(gl::TexStorageMem2DMultisampleEXT)}, {"glTexStorageMem2DMultisampleEXTContextANGLE", - P(GL_TexStorageMem2DMultisampleEXTContextANGLE)}, - {"glTexStorageMem3DEXT", P(GL_TexStorageMem3DEXT)}, - {"glTexStorageMem3DEXTContextANGLE", P(GL_TexStorageMem3DEXTContextANGLE)}, - {"glTexStorageMem3DMultisampleEXT", P(GL_TexStorageMem3DMultisampleEXT)}, + P(gl::TexStorageMem2DMultisampleEXTContextANGLE)}, + {"glTexStorageMem3DEXT", P(gl::TexStorageMem3DEXT)}, + {"glTexStorageMem3DEXTContextANGLE", P(gl::TexStorageMem3DEXTContextANGLE)}, + {"glTexStorageMem3DMultisampleEXT", P(gl::TexStorageMem3DMultisampleEXT)}, {"glTexStorageMem3DMultisampleEXTContextANGLE", - P(GL_TexStorageMem3DMultisampleEXTContextANGLE)}, - {"glTexStorageMemFlags2DANGLE", P(GL_TexStorageMemFlags2DANGLE)}, - {"glTexStorageMemFlags2DANGLEContextANGLE", P(GL_TexStorageMemFlags2DANGLEContextANGLE)}, - {"glTexStorageMemFlags2DMultisampleANGLE", P(GL_TexStorageMemFlags2DMultisampleANGLE)}, + P(gl::TexStorageMem3DMultisampleEXTContextANGLE)}, + {"glTexStorageMemFlags2DANGLE", P(gl::TexStorageMemFlags2DANGLE)}, + {"glTexStorageMemFlags2DANGLEContextANGLE", P(gl::TexStorageMemFlags2DANGLEContextANGLE)}, + {"glTexStorageMemFlags2DMultisampleANGLE", P(gl::TexStorageMemFlags2DMultisampleANGLE)}, {"glTexStorageMemFlags2DMultisampleANGLEContextANGLE", - P(GL_TexStorageMemFlags2DMultisampleANGLEContextANGLE)}, - {"glTexStorageMemFlags3DANGLE", P(GL_TexStorageMemFlags3DANGLE)}, - {"glTexStorageMemFlags3DANGLEContextANGLE", P(GL_TexStorageMemFlags3DANGLEContextANGLE)}, - {"glTexStorageMemFlags3DMultisampleANGLE", P(GL_TexStorageMemFlags3DMultisampleANGLE)}, + P(gl::TexStorageMemFlags2DMultisampleANGLEContextANGLE)}, + {"glTexStorageMemFlags3DANGLE", P(gl::TexStorageMemFlags3DANGLE)}, + {"glTexStorageMemFlags3DANGLEContextANGLE", P(gl::TexStorageMemFlags3DANGLEContextANGLE)}, + {"glTexStorageMemFlags3DMultisampleANGLE", P(gl::TexStorageMemFlags3DMultisampleANGLE)}, {"glTexStorageMemFlags3DMultisampleANGLEContextANGLE", - P(GL_TexStorageMemFlags3DMultisampleANGLEContextANGLE)}, - {"glTexSubImage2D", P(GL_TexSubImage2D)}, - {"glTexSubImage2DContextANGLE", P(GL_TexSubImage2DContextANGLE)}, - {"glTexSubImage2DRobustANGLE", P(GL_TexSubImage2DRobustANGLE)}, - {"glTexSubImage2DRobustANGLEContextANGLE", P(GL_TexSubImage2DRobustANGLEContextANGLE)}, - {"glTexSubImage3D", P(GL_TexSubImage3D)}, - {"glTexSubImage3DContextANGLE", P(GL_TexSubImage3DContextANGLE)}, - {"glTexSubImage3DOES", P(GL_TexSubImage3DOES)}, - {"glTexSubImage3DOESContextANGLE", P(GL_TexSubImage3DOESContextANGLE)}, - {"glTexSubImage3DRobustANGLE", P(GL_TexSubImage3DRobustANGLE)}, - {"glTexSubImage3DRobustANGLEContextANGLE", P(GL_TexSubImage3DRobustANGLEContextANGLE)}, - {"glTransformFeedbackVaryings", P(GL_TransformFeedbackVaryings)}, - {"glTransformFeedbackVaryingsContextANGLE", P(GL_TransformFeedbackVaryingsContextANGLE)}, - {"glTranslatef", P(GL_Translatef)}, - {"glTranslatefContextANGLE", P(GL_TranslatefContextANGLE)}, - {"glTranslatex", P(GL_Translatex)}, - {"glTranslatexContextANGLE", P(GL_TranslatexContextANGLE)}, - {"glUniform1f", P(GL_Uniform1f)}, - {"glUniform1fContextANGLE", P(GL_Uniform1fContextANGLE)}, - {"glUniform1fv", P(GL_Uniform1fv)}, - {"glUniform1fvContextANGLE", P(GL_Uniform1fvContextANGLE)}, - {"glUniform1i", P(GL_Uniform1i)}, - {"glUniform1iContextANGLE", P(GL_Uniform1iContextANGLE)}, - {"glUniform1iv", P(GL_Uniform1iv)}, - {"glUniform1ivContextANGLE", P(GL_Uniform1ivContextANGLE)}, - {"glUniform1ui", P(GL_Uniform1ui)}, - {"glUniform1uiContextANGLE", P(GL_Uniform1uiContextANGLE)}, - {"glUniform1uiv", P(GL_Uniform1uiv)}, - {"glUniform1uivContextANGLE", P(GL_Uniform1uivContextANGLE)}, - {"glUniform2f", P(GL_Uniform2f)}, - {"glUniform2fContextANGLE", P(GL_Uniform2fContextANGLE)}, - {"glUniform2fv", P(GL_Uniform2fv)}, - {"glUniform2fvContextANGLE", P(GL_Uniform2fvContextANGLE)}, - {"glUniform2i", P(GL_Uniform2i)}, - {"glUniform2iContextANGLE", P(GL_Uniform2iContextANGLE)}, - {"glUniform2iv", P(GL_Uniform2iv)}, - {"glUniform2ivContextANGLE", P(GL_Uniform2ivContextANGLE)}, - {"glUniform2ui", P(GL_Uniform2ui)}, - {"glUniform2uiContextANGLE", P(GL_Uniform2uiContextANGLE)}, - {"glUniform2uiv", P(GL_Uniform2uiv)}, - {"glUniform2uivContextANGLE", P(GL_Uniform2uivContextANGLE)}, - {"glUniform3f", P(GL_Uniform3f)}, - {"glUniform3fContextANGLE", P(GL_Uniform3fContextANGLE)}, - {"glUniform3fv", P(GL_Uniform3fv)}, - {"glUniform3fvContextANGLE", P(GL_Uniform3fvContextANGLE)}, - {"glUniform3i", P(GL_Uniform3i)}, - {"glUniform3iContextANGLE", P(GL_Uniform3iContextANGLE)}, - {"glUniform3iv", P(GL_Uniform3iv)}, - {"glUniform3ivContextANGLE", P(GL_Uniform3ivContextANGLE)}, - {"glUniform3ui", P(GL_Uniform3ui)}, - {"glUniform3uiContextANGLE", P(GL_Uniform3uiContextANGLE)}, - {"glUniform3uiv", P(GL_Uniform3uiv)}, - {"glUniform3uivContextANGLE", P(GL_Uniform3uivContextANGLE)}, - {"glUniform4f", P(GL_Uniform4f)}, - {"glUniform4fContextANGLE", P(GL_Uniform4fContextANGLE)}, - {"glUniform4fv", P(GL_Uniform4fv)}, - {"glUniform4fvContextANGLE", P(GL_Uniform4fvContextANGLE)}, - {"glUniform4i", P(GL_Uniform4i)}, - {"glUniform4iContextANGLE", P(GL_Uniform4iContextANGLE)}, - {"glUniform4iv", P(GL_Uniform4iv)}, - {"glUniform4ivContextANGLE", P(GL_Uniform4ivContextANGLE)}, - {"glUniform4ui", P(GL_Uniform4ui)}, - {"glUniform4uiContextANGLE", P(GL_Uniform4uiContextANGLE)}, - {"glUniform4uiv", P(GL_Uniform4uiv)}, - {"glUniform4uivContextANGLE", P(GL_Uniform4uivContextANGLE)}, - {"glUniformBlockBinding", P(GL_UniformBlockBinding)}, - {"glUniformBlockBindingContextANGLE", P(GL_UniformBlockBindingContextANGLE)}, - {"glUniformMatrix2fv", P(GL_UniformMatrix2fv)}, - {"glUniformMatrix2fvContextANGLE", P(GL_UniformMatrix2fvContextANGLE)}, - {"glUniformMatrix2x3fv", P(GL_UniformMatrix2x3fv)}, - {"glUniformMatrix2x3fvContextANGLE", P(GL_UniformMatrix2x3fvContextANGLE)}, - {"glUniformMatrix2x4fv", P(GL_UniformMatrix2x4fv)}, - {"glUniformMatrix2x4fvContextANGLE", P(GL_UniformMatrix2x4fvContextANGLE)}, - {"glUniformMatrix3fv", P(GL_UniformMatrix3fv)}, - {"glUniformMatrix3fvContextANGLE", P(GL_UniformMatrix3fvContextANGLE)}, - {"glUniformMatrix3x2fv", P(GL_UniformMatrix3x2fv)}, - {"glUniformMatrix3x2fvContextANGLE", P(GL_UniformMatrix3x2fvContextANGLE)}, - {"glUniformMatrix3x4fv", P(GL_UniformMatrix3x4fv)}, - {"glUniformMatrix3x4fvContextANGLE", P(GL_UniformMatrix3x4fvContextANGLE)}, - {"glUniformMatrix4fv", P(GL_UniformMatrix4fv)}, - {"glUniformMatrix4fvContextANGLE", P(GL_UniformMatrix4fvContextANGLE)}, - {"glUniformMatrix4x2fv", P(GL_UniformMatrix4x2fv)}, - {"glUniformMatrix4x2fvContextANGLE", P(GL_UniformMatrix4x2fvContextANGLE)}, - {"glUniformMatrix4x3fv", P(GL_UniformMatrix4x3fv)}, - {"glUniformMatrix4x3fvContextANGLE", P(GL_UniformMatrix4x3fvContextANGLE)}, - {"glUnmapBuffer", P(GL_UnmapBuffer)}, - {"glUnmapBufferContextANGLE", P(GL_UnmapBufferContextANGLE)}, - {"glUnmapBufferOES", P(GL_UnmapBufferOES)}, - {"glUnmapBufferOESContextANGLE", P(GL_UnmapBufferOESContextANGLE)}, - {"glUseProgram", P(GL_UseProgram)}, - {"glUseProgramContextANGLE", P(GL_UseProgramContextANGLE)}, - {"glUseProgramStages", P(GL_UseProgramStages)}, - {"glUseProgramStagesContextANGLE", P(GL_UseProgramStagesContextANGLE)}, - {"glUseProgramStagesEXT", P(GL_UseProgramStagesEXT)}, - {"glUseProgramStagesEXTContextANGLE", P(GL_UseProgramStagesEXTContextANGLE)}, - {"glValidateProgram", P(GL_ValidateProgram)}, - {"glValidateProgramContextANGLE", P(GL_ValidateProgramContextANGLE)}, - {"glValidateProgramPipeline", P(GL_ValidateProgramPipeline)}, - {"glValidateProgramPipelineContextANGLE", P(GL_ValidateProgramPipelineContextANGLE)}, - {"glValidateProgramPipelineEXT", P(GL_ValidateProgramPipelineEXT)}, - {"glValidateProgramPipelineEXTContextANGLE", P(GL_ValidateProgramPipelineEXTContextANGLE)}, - {"glVertexAttrib1f", P(GL_VertexAttrib1f)}, - {"glVertexAttrib1fContextANGLE", P(GL_VertexAttrib1fContextANGLE)}, - {"glVertexAttrib1fv", P(GL_VertexAttrib1fv)}, - {"glVertexAttrib1fvContextANGLE", P(GL_VertexAttrib1fvContextANGLE)}, - {"glVertexAttrib2f", P(GL_VertexAttrib2f)}, - {"glVertexAttrib2fContextANGLE", P(GL_VertexAttrib2fContextANGLE)}, - {"glVertexAttrib2fv", P(GL_VertexAttrib2fv)}, - {"glVertexAttrib2fvContextANGLE", P(GL_VertexAttrib2fvContextANGLE)}, - {"glVertexAttrib3f", P(GL_VertexAttrib3f)}, - {"glVertexAttrib3fContextANGLE", P(GL_VertexAttrib3fContextANGLE)}, - {"glVertexAttrib3fv", P(GL_VertexAttrib3fv)}, - {"glVertexAttrib3fvContextANGLE", P(GL_VertexAttrib3fvContextANGLE)}, - {"glVertexAttrib4f", P(GL_VertexAttrib4f)}, - {"glVertexAttrib4fContextANGLE", P(GL_VertexAttrib4fContextANGLE)}, - {"glVertexAttrib4fv", P(GL_VertexAttrib4fv)}, - {"glVertexAttrib4fvContextANGLE", P(GL_VertexAttrib4fvContextANGLE)}, - {"glVertexAttribBinding", P(GL_VertexAttribBinding)}, - {"glVertexAttribBindingContextANGLE", P(GL_VertexAttribBindingContextANGLE)}, - {"glVertexAttribDivisor", P(GL_VertexAttribDivisor)}, - {"glVertexAttribDivisorANGLE", P(GL_VertexAttribDivisorANGLE)}, - {"glVertexAttribDivisorANGLEContextANGLE", P(GL_VertexAttribDivisorANGLEContextANGLE)}, - {"glVertexAttribDivisorContextANGLE", P(GL_VertexAttribDivisorContextANGLE)}, - {"glVertexAttribDivisorEXT", P(GL_VertexAttribDivisorEXT)}, - {"glVertexAttribDivisorEXTContextANGLE", P(GL_VertexAttribDivisorEXTContextANGLE)}, - {"glVertexAttribFormat", P(GL_VertexAttribFormat)}, - {"glVertexAttribFormatContextANGLE", P(GL_VertexAttribFormatContextANGLE)}, - {"glVertexAttribI4i", P(GL_VertexAttribI4i)}, - {"glVertexAttribI4iContextANGLE", P(GL_VertexAttribI4iContextANGLE)}, - {"glVertexAttribI4iv", P(GL_VertexAttribI4iv)}, - {"glVertexAttribI4ivContextANGLE", P(GL_VertexAttribI4ivContextANGLE)}, - {"glVertexAttribI4ui", P(GL_VertexAttribI4ui)}, - {"glVertexAttribI4uiContextANGLE", P(GL_VertexAttribI4uiContextANGLE)}, - {"glVertexAttribI4uiv", P(GL_VertexAttribI4uiv)}, - {"glVertexAttribI4uivContextANGLE", P(GL_VertexAttribI4uivContextANGLE)}, - {"glVertexAttribIFormat", P(GL_VertexAttribIFormat)}, - {"glVertexAttribIFormatContextANGLE", P(GL_VertexAttribIFormatContextANGLE)}, - {"glVertexAttribIPointer", P(GL_VertexAttribIPointer)}, - {"glVertexAttribIPointerContextANGLE", P(GL_VertexAttribIPointerContextANGLE)}, - {"glVertexAttribPointer", P(GL_VertexAttribPointer)}, - {"glVertexAttribPointerContextANGLE", P(GL_VertexAttribPointerContextANGLE)}, - {"glVertexBindingDivisor", P(GL_VertexBindingDivisor)}, - {"glVertexBindingDivisorContextANGLE", P(GL_VertexBindingDivisorContextANGLE)}, - {"glVertexPointer", P(GL_VertexPointer)}, - {"glVertexPointerContextANGLE", P(GL_VertexPointerContextANGLE)}, - {"glViewport", P(GL_Viewport)}, - {"glViewportContextANGLE", P(GL_ViewportContextANGLE)}, - {"glWaitSemaphoreEXT", P(GL_WaitSemaphoreEXT)}, - {"glWaitSemaphoreEXTContextANGLE", P(GL_WaitSemaphoreEXTContextANGLE)}, - {"glWaitSync", P(GL_WaitSync)}, - {"glWaitSyncContextANGLE", P(GL_WaitSyncContextANGLE)}, - {"glWeightPointerOES", P(GL_WeightPointerOES)}, - {"glWeightPointerOESContextANGLE", P(GL_WeightPointerOESContextANGLE)}}; + P(gl::TexStorageMemFlags3DMultisampleANGLEContextANGLE)}, + {"glTexSubImage2D", P(gl::TexSubImage2D)}, + {"glTexSubImage2DContextANGLE", P(gl::TexSubImage2DContextANGLE)}, + {"glTexSubImage2DRobustANGLE", P(gl::TexSubImage2DRobustANGLE)}, + {"glTexSubImage2DRobustANGLEContextANGLE", P(gl::TexSubImage2DRobustANGLEContextANGLE)}, + {"glTexSubImage3D", P(gl::TexSubImage3D)}, + {"glTexSubImage3DContextANGLE", P(gl::TexSubImage3DContextANGLE)}, + {"glTexSubImage3DOES", P(gl::TexSubImage3DOES)}, + {"glTexSubImage3DOESContextANGLE", P(gl::TexSubImage3DOESContextANGLE)}, + {"glTexSubImage3DRobustANGLE", P(gl::TexSubImage3DRobustANGLE)}, + {"glTexSubImage3DRobustANGLEContextANGLE", P(gl::TexSubImage3DRobustANGLEContextANGLE)}, + {"glTransformFeedbackVaryings", P(gl::TransformFeedbackVaryings)}, + {"glTransformFeedbackVaryingsContextANGLE", P(gl::TransformFeedbackVaryingsContextANGLE)}, + {"glTranslatef", P(gl::Translatef)}, + {"glTranslatefContextANGLE", P(gl::TranslatefContextANGLE)}, + {"glTranslatex", P(gl::Translatex)}, + {"glTranslatexContextANGLE", P(gl::TranslatexContextANGLE)}, + {"glUniform1f", P(gl::Uniform1f)}, + {"glUniform1fContextANGLE", P(gl::Uniform1fContextANGLE)}, + {"glUniform1fv", P(gl::Uniform1fv)}, + {"glUniform1fvContextANGLE", P(gl::Uniform1fvContextANGLE)}, + {"glUniform1i", P(gl::Uniform1i)}, + {"glUniform1iContextANGLE", P(gl::Uniform1iContextANGLE)}, + {"glUniform1iv", P(gl::Uniform1iv)}, + {"glUniform1ivContextANGLE", P(gl::Uniform1ivContextANGLE)}, + {"glUniform1ui", P(gl::Uniform1ui)}, + {"glUniform1uiContextANGLE", P(gl::Uniform1uiContextANGLE)}, + {"glUniform1uiv", P(gl::Uniform1uiv)}, + {"glUniform1uivContextANGLE", P(gl::Uniform1uivContextANGLE)}, + {"glUniform2f", P(gl::Uniform2f)}, + {"glUniform2fContextANGLE", P(gl::Uniform2fContextANGLE)}, + {"glUniform2fv", P(gl::Uniform2fv)}, + {"glUniform2fvContextANGLE", P(gl::Uniform2fvContextANGLE)}, + {"glUniform2i", P(gl::Uniform2i)}, + {"glUniform2iContextANGLE", P(gl::Uniform2iContextANGLE)}, + {"glUniform2iv", P(gl::Uniform2iv)}, + {"glUniform2ivContextANGLE", P(gl::Uniform2ivContextANGLE)}, + {"glUniform2ui", P(gl::Uniform2ui)}, + {"glUniform2uiContextANGLE", P(gl::Uniform2uiContextANGLE)}, + {"glUniform2uiv", P(gl::Uniform2uiv)}, + {"glUniform2uivContextANGLE", P(gl::Uniform2uivContextANGLE)}, + {"glUniform3f", P(gl::Uniform3f)}, + {"glUniform3fContextANGLE", P(gl::Uniform3fContextANGLE)}, + {"glUniform3fv", P(gl::Uniform3fv)}, + {"glUniform3fvContextANGLE", P(gl::Uniform3fvContextANGLE)}, + {"glUniform3i", P(gl::Uniform3i)}, + {"glUniform3iContextANGLE", P(gl::Uniform3iContextANGLE)}, + {"glUniform3iv", P(gl::Uniform3iv)}, + {"glUniform3ivContextANGLE", P(gl::Uniform3ivContextANGLE)}, + {"glUniform3ui", P(gl::Uniform3ui)}, + {"glUniform3uiContextANGLE", P(gl::Uniform3uiContextANGLE)}, + {"glUniform3uiv", P(gl::Uniform3uiv)}, + {"glUniform3uivContextANGLE", P(gl::Uniform3uivContextANGLE)}, + {"glUniform4f", P(gl::Uniform4f)}, + {"glUniform4fContextANGLE", P(gl::Uniform4fContextANGLE)}, + {"glUniform4fv", P(gl::Uniform4fv)}, + {"glUniform4fvContextANGLE", P(gl::Uniform4fvContextANGLE)}, + {"glUniform4i", P(gl::Uniform4i)}, + {"glUniform4iContextANGLE", P(gl::Uniform4iContextANGLE)}, + {"glUniform4iv", P(gl::Uniform4iv)}, + {"glUniform4ivContextANGLE", P(gl::Uniform4ivContextANGLE)}, + {"glUniform4ui", P(gl::Uniform4ui)}, + {"glUniform4uiContextANGLE", P(gl::Uniform4uiContextANGLE)}, + {"glUniform4uiv", P(gl::Uniform4uiv)}, + {"glUniform4uivContextANGLE", P(gl::Uniform4uivContextANGLE)}, + {"glUniformBlockBinding", P(gl::UniformBlockBinding)}, + {"glUniformBlockBindingContextANGLE", P(gl::UniformBlockBindingContextANGLE)}, + {"glUniformMatrix2fv", P(gl::UniformMatrix2fv)}, + {"glUniformMatrix2fvContextANGLE", P(gl::UniformMatrix2fvContextANGLE)}, + {"glUniformMatrix2x3fv", P(gl::UniformMatrix2x3fv)}, + {"glUniformMatrix2x3fvContextANGLE", P(gl::UniformMatrix2x3fvContextANGLE)}, + {"glUniformMatrix2x4fv", P(gl::UniformMatrix2x4fv)}, + {"glUniformMatrix2x4fvContextANGLE", P(gl::UniformMatrix2x4fvContextANGLE)}, + {"glUniformMatrix3fv", P(gl::UniformMatrix3fv)}, + {"glUniformMatrix3fvContextANGLE", P(gl::UniformMatrix3fvContextANGLE)}, + {"glUniformMatrix3x2fv", P(gl::UniformMatrix3x2fv)}, + {"glUniformMatrix3x2fvContextANGLE", P(gl::UniformMatrix3x2fvContextANGLE)}, + {"glUniformMatrix3x4fv", P(gl::UniformMatrix3x4fv)}, + {"glUniformMatrix3x4fvContextANGLE", P(gl::UniformMatrix3x4fvContextANGLE)}, + {"glUniformMatrix4fv", P(gl::UniformMatrix4fv)}, + {"glUniformMatrix4fvContextANGLE", P(gl::UniformMatrix4fvContextANGLE)}, + {"glUniformMatrix4x2fv", P(gl::UniformMatrix4x2fv)}, + {"glUniformMatrix4x2fvContextANGLE", P(gl::UniformMatrix4x2fvContextANGLE)}, + {"glUniformMatrix4x3fv", P(gl::UniformMatrix4x3fv)}, + {"glUniformMatrix4x3fvContextANGLE", P(gl::UniformMatrix4x3fvContextANGLE)}, + {"glUnmapBuffer", P(gl::UnmapBuffer)}, + {"glUnmapBufferContextANGLE", P(gl::UnmapBufferContextANGLE)}, + {"glUnmapBufferOES", P(gl::UnmapBufferOES)}, + {"glUnmapBufferOESContextANGLE", P(gl::UnmapBufferOESContextANGLE)}, + {"glUseProgram", P(gl::UseProgram)}, + {"glUseProgramContextANGLE", P(gl::UseProgramContextANGLE)}, + {"glUseProgramStages", P(gl::UseProgramStages)}, + {"glUseProgramStagesContextANGLE", P(gl::UseProgramStagesContextANGLE)}, + {"glValidateProgram", P(gl::ValidateProgram)}, + {"glValidateProgramContextANGLE", P(gl::ValidateProgramContextANGLE)}, + {"glValidateProgramPipeline", P(gl::ValidateProgramPipeline)}, + {"glValidateProgramPipelineContextANGLE", P(gl::ValidateProgramPipelineContextANGLE)}, + {"glVertexAttrib1f", P(gl::VertexAttrib1f)}, + {"glVertexAttrib1fContextANGLE", P(gl::VertexAttrib1fContextANGLE)}, + {"glVertexAttrib1fv", P(gl::VertexAttrib1fv)}, + {"glVertexAttrib1fvContextANGLE", P(gl::VertexAttrib1fvContextANGLE)}, + {"glVertexAttrib2f", P(gl::VertexAttrib2f)}, + {"glVertexAttrib2fContextANGLE", P(gl::VertexAttrib2fContextANGLE)}, + {"glVertexAttrib2fv", P(gl::VertexAttrib2fv)}, + {"glVertexAttrib2fvContextANGLE", P(gl::VertexAttrib2fvContextANGLE)}, + {"glVertexAttrib3f", P(gl::VertexAttrib3f)}, + {"glVertexAttrib3fContextANGLE", P(gl::VertexAttrib3fContextANGLE)}, + {"glVertexAttrib3fv", P(gl::VertexAttrib3fv)}, + {"glVertexAttrib3fvContextANGLE", P(gl::VertexAttrib3fvContextANGLE)}, + {"glVertexAttrib4f", P(gl::VertexAttrib4f)}, + {"glVertexAttrib4fContextANGLE", P(gl::VertexAttrib4fContextANGLE)}, + {"glVertexAttrib4fv", P(gl::VertexAttrib4fv)}, + {"glVertexAttrib4fvContextANGLE", P(gl::VertexAttrib4fvContextANGLE)}, + {"glVertexAttribBinding", P(gl::VertexAttribBinding)}, + {"glVertexAttribBindingContextANGLE", P(gl::VertexAttribBindingContextANGLE)}, + {"glVertexAttribDivisor", P(gl::VertexAttribDivisor)}, + {"glVertexAttribDivisorANGLE", P(gl::VertexAttribDivisorANGLE)}, + {"glVertexAttribDivisorANGLEContextANGLE", P(gl::VertexAttribDivisorANGLEContextANGLE)}, + {"glVertexAttribDivisorContextANGLE", P(gl::VertexAttribDivisorContextANGLE)}, + {"glVertexAttribDivisorEXT", P(gl::VertexAttribDivisorEXT)}, + {"glVertexAttribDivisorEXTContextANGLE", P(gl::VertexAttribDivisorEXTContextANGLE)}, + {"glVertexAttribFormat", P(gl::VertexAttribFormat)}, + {"glVertexAttribFormatContextANGLE", P(gl::VertexAttribFormatContextANGLE)}, + {"glVertexAttribI4i", P(gl::VertexAttribI4i)}, + {"glVertexAttribI4iContextANGLE", P(gl::VertexAttribI4iContextANGLE)}, + {"glVertexAttribI4iv", P(gl::VertexAttribI4iv)}, + {"glVertexAttribI4ivContextANGLE", P(gl::VertexAttribI4ivContextANGLE)}, + {"glVertexAttribI4ui", P(gl::VertexAttribI4ui)}, + {"glVertexAttribI4uiContextANGLE", P(gl::VertexAttribI4uiContextANGLE)}, + {"glVertexAttribI4uiv", P(gl::VertexAttribI4uiv)}, + {"glVertexAttribI4uivContextANGLE", P(gl::VertexAttribI4uivContextANGLE)}, + {"glVertexAttribIFormat", P(gl::VertexAttribIFormat)}, + {"glVertexAttribIFormatContextANGLE", P(gl::VertexAttribIFormatContextANGLE)}, + {"glVertexAttribIPointer", P(gl::VertexAttribIPointer)}, + {"glVertexAttribIPointerContextANGLE", P(gl::VertexAttribIPointerContextANGLE)}, + {"glVertexAttribPointer", P(gl::VertexAttribPointer)}, + {"glVertexAttribPointerContextANGLE", P(gl::VertexAttribPointerContextANGLE)}, + {"glVertexBindingDivisor", P(gl::VertexBindingDivisor)}, + {"glVertexBindingDivisorContextANGLE", P(gl::VertexBindingDivisorContextANGLE)}, + {"glVertexPointer", P(gl::VertexPointer)}, + {"glVertexPointerContextANGLE", P(gl::VertexPointerContextANGLE)}, + {"glViewport", P(gl::Viewport)}, + {"glViewportContextANGLE", P(gl::ViewportContextANGLE)}, + {"glWaitSemaphoreEXT", P(gl::WaitSemaphoreEXT)}, + {"glWaitSemaphoreEXTContextANGLE", P(gl::WaitSemaphoreEXTContextANGLE)}, + {"glWaitSync", P(gl::WaitSync)}, + {"glWaitSyncContextANGLE", P(gl::WaitSyncContextANGLE)}, + {"glWeightPointerOES", P(gl::WeightPointerOES)}, + {"glWeightPointerOESContextANGLE", P(gl::WeightPointerOESContextANGLE)}}; -const size_t g_numProcs = 1663; +const size_t g_numProcs = 1543; } // namespace egl diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.hpp b/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.hpp deleted file mode 100644 index ca4b2e702a2b..000000000000 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.hpp +++ /dev/null @@ -1,126130 +0,0 @@ -// Copyright 2015-2021 The Khronos Group Inc. -// -// SPDX-License-Identifier: Apache-2.0 OR MIT -// - -// This header is generated from the Khronos Vulkan XML API Registry. - -#ifndef VULKAN_HPP -#define VULKAN_HPP - -#if defined( _MSVC_LANG ) -# define VULKAN_HPP_CPLUSPLUS _MSVC_LANG -#else -# define VULKAN_HPP_CPLUSPLUS __cplusplus -#endif - -#if 201703L < VULKAN_HPP_CPLUSPLUS -# define VULKAN_HPP_CPP_VERSION 20 -#elif 201402L < VULKAN_HPP_CPLUSPLUS -# define VULKAN_HPP_CPP_VERSION 17 -#elif 201103L < VULKAN_HPP_CPLUSPLUS -# define VULKAN_HPP_CPP_VERSION 14 -#elif 199711L < VULKAN_HPP_CPLUSPLUS -# define VULKAN_HPP_CPP_VERSION 11 -#else -# error "vulkan.hpp needs at least c++ standard version 11" -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#if 17 <= VULKAN_HPP_CPP_VERSION -# include -#endif - -#if defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) -# if !defined( VULKAN_HPP_NO_SMART_HANDLE ) -# define VULKAN_HPP_NO_SMART_HANDLE -# endif -#else -# include -# include -#endif - -#if !defined( VULKAN_HPP_ASSERT ) -# include -# define VULKAN_HPP_ASSERT assert -#endif - -#if !defined( VULKAN_HPP_ASSERT_ON_RESULT ) -# define VULKAN_HPP_ASSERT_ON_RESULT VULKAN_HPP_ASSERT -#endif - -#if !defined( VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL ) -# define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 1 -#endif - -#if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL == 1 -# if defined( __linux__ ) || defined( __APPLE__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) -# include -# elif defined( _WIN32 ) -typedef struct HINSTANCE__ * HINSTANCE; -# if defined( _WIN64 ) -typedef int64_t( __stdcall * FARPROC )(); -# else -typedef int( __stdcall * FARPROC )(); -# endif -extern "C" __declspec( dllimport ) HINSTANCE __stdcall LoadLibraryA( char const * lpLibFileName ); -extern "C" __declspec( dllimport ) int __stdcall FreeLibrary( HINSTANCE hLibModule ); -extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE hModule, const char * lpProcName ); -# endif -#endif - -#if !defined( __has_include ) -# define __has_include( x ) false -#endif - -#if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( ) && !defined( VULKAN_HPP_NO_SPACESHIP_OPERATOR ) -# define VULKAN_HPP_HAS_SPACESHIP_OPERATOR -#endif -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) -# include -#endif - -static_assert( VK_HEADER_VERSION == 178, "Wrong VK_HEADER_VERSION!" ); - -// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default. -// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION -#if ( VK_USE_64_BIT_PTR_DEFINES == 1 ) -# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION ) -# define VULKAN_HPP_TYPESAFE_CONVERSION -# endif -#endif - -// includes through some other header -// this results in major(x) being resolved to gnu_dev_major(x) -// which is an expression in a constructor initializer list. -#if defined( major ) -# undef major -#endif -#if defined( minor ) -# undef minor -#endif - -// Windows defines MemoryBarrier which is deprecated and collides -// with the VULKAN_HPP_NAMESPACE::MemoryBarrier struct. -#if defined( MemoryBarrier ) -# undef MemoryBarrier -#endif - -#if !defined( VULKAN_HPP_HAS_UNRESTRICTED_UNIONS ) -# if defined( __clang__ ) -# if __has_feature( cxx_unrestricted_unions ) -# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS -# endif -# elif defined( __GNUC__ ) -# define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ ) -# if 40600 <= GCC_VERSION -# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS -# endif -# elif defined( _MSC_VER ) -# if 1900 <= _MSC_VER -# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS -# endif -# endif -#endif - -#if !defined( VULKAN_HPP_INLINE ) -# if defined( __clang__ ) -# if __has_attribute( always_inline ) -# define VULKAN_HPP_INLINE __attribute__( ( always_inline ) ) __inline__ -# else -# define VULKAN_HPP_INLINE inline -# endif -# elif defined( __GNUC__ ) -# define VULKAN_HPP_INLINE __attribute__( ( always_inline ) ) __inline__ -# elif defined( _MSC_VER ) -# define VULKAN_HPP_INLINE inline -# else -# define VULKAN_HPP_INLINE inline -# endif -#endif - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) -# define VULKAN_HPP_TYPESAFE_EXPLICIT -#else -# define VULKAN_HPP_TYPESAFE_EXPLICIT explicit -#endif - -#if defined( __cpp_constexpr ) -# define VULKAN_HPP_CONSTEXPR constexpr -# if __cpp_constexpr >= 201304 -# define VULKAN_HPP_CONSTEXPR_14 constexpr -# else -# define VULKAN_HPP_CONSTEXPR_14 -# endif -# define VULKAN_HPP_CONST_OR_CONSTEXPR constexpr -#else -# define VULKAN_HPP_CONSTEXPR -# define VULKAN_HPP_CONSTEXPR_14 -# define VULKAN_HPP_CONST_OR_CONSTEXPR const -#endif - -#if !defined( VULKAN_HPP_NOEXCEPT ) -# if defined( _MSC_VER ) && ( _MSC_VER <= 1800 ) -# define VULKAN_HPP_NOEXCEPT -# else -# define VULKAN_HPP_NOEXCEPT noexcept -# define VULKAN_HPP_HAS_NOEXCEPT 1 -# if defined( VULKAN_HPP_NO_EXCEPTIONS ) -# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS noexcept -# else -# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS -# endif -# endif -#endif - -#if 14 <= VULKAN_HPP_CPP_VERSION -# define VULKAN_HPP_DEPRECATED( msg ) [[deprecated( msg )]] -#else -# define VULKAN_HPP_DEPRECATED( msg ) -#endif - -#if ( 17 <= VULKAN_HPP_CPP_VERSION ) && !defined( VULKAN_HPP_NO_NODISCARD_WARNINGS ) -# define VULKAN_HPP_NODISCARD [[nodiscard]] -# if defined( VULKAN_HPP_NO_EXCEPTIONS ) -# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS [[nodiscard]] -# else -# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS -# endif -#else -# define VULKAN_HPP_NODISCARD -# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS -#endif - -#if !defined( VULKAN_HPP_NAMESPACE ) -# define VULKAN_HPP_NAMESPACE vk -#endif - -#define VULKAN_HPP_STRINGIFY2( text ) #text -#define VULKAN_HPP_STRINGIFY( text ) VULKAN_HPP_STRINGIFY2( text ) -#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE ) - -namespace VULKAN_HPP_NAMESPACE -{ -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - class ArrayProxy - { - public: - VULKAN_HPP_CONSTEXPR ArrayProxy() VULKAN_HPP_NOEXCEPT - : m_count( 0 ) - , m_ptr( nullptr ) - {} - - VULKAN_HPP_CONSTEXPR ArrayProxy( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - : m_count( 0 ) - , m_ptr( nullptr ) - {} - - ArrayProxy( T & value ) VULKAN_HPP_NOEXCEPT - : m_count( 1 ) - , m_ptr( &value ) - {} - - template ::value, int>::type = 0> - ArrayProxy( typename std::remove_const::type & value ) VULKAN_HPP_NOEXCEPT - : m_count( 1 ) - , m_ptr( &value ) - {} - - ArrayProxy( uint32_t count, T * ptr ) VULKAN_HPP_NOEXCEPT - : m_count( count ) - , m_ptr( ptr ) - {} - - template ::value, int>::type = 0> - ArrayProxy( uint32_t count, typename std::remove_const::type * ptr ) VULKAN_HPP_NOEXCEPT - : m_count( count ) - , m_ptr( ptr ) - {} - -# if __GNUC__ >= 9 -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Winit-list-lifetime" -# endif - - ArrayProxy( std::initializer_list const & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - template ::value, int>::type = 0> - ArrayProxy( std::initializer_list::type> const & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - ArrayProxy( std::initializer_list & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - template ::value, int>::type = 0> - ArrayProxy( std::initializer_list::type> & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - -# if __GNUC__ >= 9 -# pragma GCC diagnostic pop -# endif - - template - ArrayProxy( std::array const & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template ::value, int>::type = 0> - ArrayProxy( std::array::type, N> const & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template - ArrayProxy( std::array & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template ::value, int>::type = 0> - ArrayProxy( std::array::type, N> & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template ::type>> - ArrayProxy( std::vector const & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxy( std::vector::type, Allocator> const & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>> - ArrayProxy( std::vector & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxy( std::vector::type, Allocator> & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - const T * begin() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - - const T * end() const VULKAN_HPP_NOEXCEPT - { - return m_ptr + m_count; - } - - const T & front() const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_count && m_ptr ); - return *m_ptr; - } - - const T & back() const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_count && m_ptr ); - return *( m_ptr + m_count - 1 ); - } - - bool empty() const VULKAN_HPP_NOEXCEPT - { - return ( m_count == 0 ); - } - - uint32_t size() const VULKAN_HPP_NOEXCEPT - { - return m_count; - } - - T * data() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - - private: - uint32_t m_count; - T * m_ptr; - }; - - template - class ArrayProxyNoTemporaries - { - public: - VULKAN_HPP_CONSTEXPR ArrayProxyNoTemporaries() VULKAN_HPP_NOEXCEPT - : m_count( 0 ) - , m_ptr( nullptr ) - {} - - VULKAN_HPP_CONSTEXPR ArrayProxyNoTemporaries( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - : m_count( 0 ) - , m_ptr( nullptr ) - {} - - ArrayProxyNoTemporaries( T & value ) VULKAN_HPP_NOEXCEPT - : m_count( 1 ) - , m_ptr( &value ) - {} - - ArrayProxyNoTemporaries( T && value ) = delete; - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( typename std::remove_const::type & value ) VULKAN_HPP_NOEXCEPT - : m_count( 1 ) - , m_ptr( &value ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( typename std::remove_const::type && value ) = delete; - - ArrayProxyNoTemporaries( uint32_t count, T * ptr ) VULKAN_HPP_NOEXCEPT - : m_count( count ) - , m_ptr( ptr ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( uint32_t count, typename std::remove_const::type * ptr ) VULKAN_HPP_NOEXCEPT - : m_count( count ) - , m_ptr( ptr ) - {} - - ArrayProxyNoTemporaries( std::initializer_list const & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - ArrayProxyNoTemporaries( std::initializer_list const && list ) = delete; - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::initializer_list::type> const & list ) - VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::initializer_list::type> const && list ) = delete; - - ArrayProxyNoTemporaries( std::initializer_list & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - ArrayProxyNoTemporaries( std::initializer_list && list ) = delete; - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::initializer_list::type> & list ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( list.size() ) ) - , m_ptr( list.begin() ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::initializer_list::type> && list ) = delete; - - template - ArrayProxyNoTemporaries( std::array const & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template - ArrayProxyNoTemporaries( std::array const && data ) = delete; - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::array::type, N> const & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::array::type, N> const && data ) = delete; - - template - ArrayProxyNoTemporaries( std::array & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template - ArrayProxyNoTemporaries( std::array && data ) = delete; - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::array::type, N> & data ) VULKAN_HPP_NOEXCEPT - : m_count( N ) - , m_ptr( data.data() ) - {} - - template ::value, int>::type = 0> - ArrayProxyNoTemporaries( std::array::type, N> && data ) = delete; - - template ::type>> - ArrayProxyNoTemporaries( std::vector const & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>> - ArrayProxyNoTemporaries( std::vector const && data ) = delete; - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxyNoTemporaries( std::vector::type, Allocator> const & data ) - VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxyNoTemporaries( std::vector::type, Allocator> const && data ) = delete; - - template ::type>> - ArrayProxyNoTemporaries( std::vector & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>> - ArrayProxyNoTemporaries( std::vector && data ) = delete; - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxyNoTemporaries( std::vector::type, Allocator> & data ) VULKAN_HPP_NOEXCEPT - : m_count( static_cast( data.size() ) ) - , m_ptr( data.data() ) - {} - - template ::type>, - typename B = T, - typename std::enable_if::value, int>::type = 0> - ArrayProxyNoTemporaries( std::vector::type, Allocator> && data ) = delete; - - const T * begin() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - - const T * end() const VULKAN_HPP_NOEXCEPT - { - return m_ptr + m_count; - } - - const T & front() const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_count && m_ptr ); - return *m_ptr; - } - - const T & back() const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_count && m_ptr ); - return *( m_ptr + m_count - 1 ); - } - - bool empty() const VULKAN_HPP_NOEXCEPT - { - return ( m_count == 0 ); - } - - uint32_t size() const VULKAN_HPP_NOEXCEPT - { - return m_count; - } - - T * data() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - - private: - uint32_t m_count; - T * m_ptr; - }; -#endif - - template - class ArrayWrapper1D : public std::array - { - public: - VULKAN_HPP_CONSTEXPR ArrayWrapper1D() VULKAN_HPP_NOEXCEPT : std::array() {} - - VULKAN_HPP_CONSTEXPR ArrayWrapper1D( std::array const & data ) VULKAN_HPP_NOEXCEPT : std::array( data ) - {} - -#if defined( _WIN32 ) && !defined( _WIN64 ) - VULKAN_HPP_CONSTEXPR T const & operator[]( int index ) const VULKAN_HPP_NOEXCEPT - { - return std::array::operator[]( index ); - } - - T & operator[]( int index ) VULKAN_HPP_NOEXCEPT - { - return std::array::operator[]( index ); - } -#endif - - operator T const *() const VULKAN_HPP_NOEXCEPT - { - return this->data(); - } - - operator T *() VULKAN_HPP_NOEXCEPT - { - return this->data(); - } - - template ::value, int>::type = 0> - operator std::string() const - { - return std::string( this->data() ); - } - -#if 17 <= VULKAN_HPP_CPP_VERSION - template ::value, int>::type = 0> - operator std::string_view() const - { - return std::string_view( this->data() ); - } -#endif - - template ::value, int>::type = 0> - bool operator<( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) < *static_cast const *>( &rhs ); - } - - template ::value, int>::type = 0> - bool operator<=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) <= *static_cast const *>( &rhs ); - } - - template ::value, int>::type = 0> - bool operator>( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) > *static_cast const *>( &rhs ); - } - - template ::value, int>::type = 0> - bool operator>=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) >= *static_cast const *>( &rhs ); - } - - template ::value, int>::type = 0> - bool operator==( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) == *static_cast const *>( &rhs ); - } - - template ::value, int>::type = 0> - bool operator!=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return *static_cast const *>( this ) != *static_cast const *>( &rhs ); - } - }; - - // specialization of relational operators between std::string and arrays of chars - template - bool operator<( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs < rhs.data(); - } - - template - bool operator<=( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs <= rhs.data(); - } - - template - bool operator>( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs > rhs.data(); - } - - template - bool operator>=( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs >= rhs.data(); - } - - template - bool operator==( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs == rhs.data(); - } - - template - bool operator!=( std::string const & lhs, ArrayWrapper1D const & rhs ) VULKAN_HPP_NOEXCEPT - { - return lhs != rhs.data(); - } - - template - class ArrayWrapper2D : public std::array, N> - { - public: - VULKAN_HPP_CONSTEXPR ArrayWrapper2D() VULKAN_HPP_NOEXCEPT : std::array, N>() {} - - VULKAN_HPP_CONSTEXPR ArrayWrapper2D( std::array, N> const & data ) VULKAN_HPP_NOEXCEPT - : std::array, N>( *reinterpret_cast, N> const *>( &data ) ) - {} - }; - - template - struct FlagTraits - { - enum - { - allFlags = 0 - }; - }; - - template - class Flags - { - public: - using MaskType = typename std::underlying_type::type; - - // constructors - VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT : m_mask( 0 ) {} - - VULKAN_HPP_CONSTEXPR Flags( BitType bit ) VULKAN_HPP_NOEXCEPT : m_mask( static_cast( bit ) ) {} - - VULKAN_HPP_CONSTEXPR Flags( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VULKAN_HPP_CONSTEXPR explicit Flags( MaskType flags ) VULKAN_HPP_NOEXCEPT : m_mask( flags ) {} - - // relational operators -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Flags const & ) const = default; -#else - VULKAN_HPP_CONSTEXPR bool operator<( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask < rhs.m_mask; - } - - VULKAN_HPP_CONSTEXPR bool operator<=( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask <= rhs.m_mask; - } - - VULKAN_HPP_CONSTEXPR bool operator>( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask > rhs.m_mask; - } - - VULKAN_HPP_CONSTEXPR bool operator>=( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask >= rhs.m_mask; - } - - VULKAN_HPP_CONSTEXPR bool operator==( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask == rhs.m_mask; - } - - VULKAN_HPP_CONSTEXPR bool operator!=( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_mask != rhs.m_mask; - } -#endif - - // logical operator - VULKAN_HPP_CONSTEXPR bool operator!() const VULKAN_HPP_NOEXCEPT - { - return !m_mask; - } - - // bitwise operators - VULKAN_HPP_CONSTEXPR Flags operator&( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return Flags( m_mask & rhs.m_mask ); - } - - VULKAN_HPP_CONSTEXPR Flags operator|( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return Flags( m_mask | rhs.m_mask ); - } - - VULKAN_HPP_CONSTEXPR Flags operator^( Flags const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return Flags( m_mask ^ rhs.m_mask ); - } - - VULKAN_HPP_CONSTEXPR Flags operator~() const VULKAN_HPP_NOEXCEPT - { - return Flags( m_mask ^ FlagTraits::allFlags ); - } - - // assignment operators - VULKAN_HPP_CONSTEXPR_14 Flags & operator=( Flags const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VULKAN_HPP_CONSTEXPR_14 Flags & operator|=( Flags const & rhs ) VULKAN_HPP_NOEXCEPT - { - m_mask |= rhs.m_mask; - return *this; - } - - VULKAN_HPP_CONSTEXPR_14 Flags & operator&=( Flags const & rhs ) VULKAN_HPP_NOEXCEPT - { - m_mask &= rhs.m_mask; - return *this; - } - - VULKAN_HPP_CONSTEXPR_14 Flags & operator^=( Flags const & rhs ) VULKAN_HPP_NOEXCEPT - { - m_mask ^= rhs.m_mask; - return *this; - } - - // cast operators - explicit VULKAN_HPP_CONSTEXPR operator bool() const VULKAN_HPP_NOEXCEPT - { - return !!m_mask; - } - - explicit VULKAN_HPP_CONSTEXPR operator MaskType() const VULKAN_HPP_NOEXCEPT - { - return m_mask; - } - -#if defined( VULKAN_HPP_FLAGS_MASK_TYPE_AS_PUBLIC ) - public: -#else - private: -#endif - MaskType m_mask; - }; - -#if !defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - // relational operators only needed for pre C++20 - template - VULKAN_HPP_CONSTEXPR bool operator<( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator>( bit ); - } - - template - VULKAN_HPP_CONSTEXPR bool operator<=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator>=( bit ); - } - - template - VULKAN_HPP_CONSTEXPR bool operator>( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator<( bit ); - } - - template - VULKAN_HPP_CONSTEXPR bool operator>=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator<=( bit ); - } - - template - VULKAN_HPP_CONSTEXPR bool operator==( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator==( bit ); - } - - template - VULKAN_HPP_CONSTEXPR bool operator!=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator!=( bit ); - } -#endif - - // bitwise operators - template - VULKAN_HPP_CONSTEXPR Flags operator&(BitType bit, Flags const & flags)VULKAN_HPP_NOEXCEPT - { - return flags.operator&( bit ); - } - - template - VULKAN_HPP_CONSTEXPR Flags operator|( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator|( bit ); - } - - template - VULKAN_HPP_CONSTEXPR Flags operator^( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT - { - return flags.operator^( bit ); - } - - template - class Optional - { - public: - Optional( RefType & reference ) VULKAN_HPP_NOEXCEPT - { - m_ptr = &reference; - } - Optional( RefType * ptr ) VULKAN_HPP_NOEXCEPT - { - m_ptr = ptr; - } - Optional( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_ptr = nullptr; - } - - operator RefType *() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - RefType const * operator->() const VULKAN_HPP_NOEXCEPT - { - return m_ptr; - } - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return !!m_ptr; - } - - private: - RefType * m_ptr; - }; - - template - struct StructExtends - { - enum - { - value = false - }; - }; - - template - struct IsPartOfStructureChain - { - static const bool valid = false; - }; - - template - struct IsPartOfStructureChain - { - static const bool valid = std::is_same::value || IsPartOfStructureChain::valid; - }; - - template - struct StructureChainContains - { - static const bool value = - std::is_same>::type>::value || - StructureChainContains::value; - }; - - template - struct StructureChainContains<0, T, ChainElements...> - { - static const bool value = - std::is_same>::type>::value; - }; - - template - struct StructureChainValidation - { - using TestType = typename std::tuple_element>::type; - static const bool valid = - StructExtends>::type>::value && - ( TestType::allowDuplicate || !StructureChainContains::value ) && - StructureChainValidation::valid; - }; - - template - struct StructureChainValidation<0, ChainElements...> - { - static const bool valid = true; - }; - - template - class StructureChain : public std::tuple - { - public: - StructureChain() VULKAN_HPP_NOEXCEPT - { - static_assert( StructureChainValidation::valid, - "The structure chain is not valid!" ); - link(); - } - - StructureChain( StructureChain const & rhs ) VULKAN_HPP_NOEXCEPT : std::tuple( rhs ) - { - static_assert( StructureChainValidation::valid, - "The structure chain is not valid!" ); - link(); - } - - StructureChain( StructureChain && rhs ) VULKAN_HPP_NOEXCEPT - : std::tuple( std::forward>( rhs ) ) - { - static_assert( StructureChainValidation::valid, - "The structure chain is not valid!" ); - link(); - } - - StructureChain( ChainElements const &... elems ) VULKAN_HPP_NOEXCEPT : std::tuple( elems... ) - { - static_assert( StructureChainValidation::valid, - "The structure chain is not valid!" ); - link(); - } - - StructureChain & operator=( StructureChain const & rhs ) VULKAN_HPP_NOEXCEPT - { - std::tuple::operator=( rhs ); - link(); - return *this; - } - - StructureChain & operator=( StructureChain && rhs ) = delete; - - template >::type, size_t Which = 0> - T & get() VULKAN_HPP_NOEXCEPT - { - return std::get::value>( - static_cast &>( *this ) ); - } - - template >::type, size_t Which = 0> - T const & get() const VULKAN_HPP_NOEXCEPT - { - return std::get::value>( - static_cast const &>( *this ) ); - } - - template - std::tuple get() VULKAN_HPP_NOEXCEPT - { - return std::tie( get(), get(), get()... ); - } - - template - std::tuple get() const VULKAN_HPP_NOEXCEPT - { - return std::tie( get(), get(), get()... ); - } - - template - typename std::enable_if< - std::is_same>::type>::value && - ( Which == 0 ), - bool>::type - isLinked() const VULKAN_HPP_NOEXCEPT - { - return true; - } - - template - typename std::enable_if< - !std::is_same>::type>::value || - ( Which != 0 ), - bool>::type - isLinked() const VULKAN_HPP_NOEXCEPT - { - static_assert( IsPartOfStructureChain::valid, - "Can't unlink Structure that's not part of this StructureChain!" ); - return isLinked( reinterpret_cast( &get() ) ); - } - - template - typename std::enable_if< - !std::is_same>::type>::value || - ( Which != 0 ), - void>::type - relink() VULKAN_HPP_NOEXCEPT - { - static_assert( IsPartOfStructureChain::valid, - "Can't relink Structure that's not part of this StructureChain!" ); - auto pNext = reinterpret_cast( &get() ); - VULKAN_HPP_ASSERT( !isLinked( pNext ) ); - auto & headElement = std::get<0>( static_cast &>( *this ) ); - pNext->pNext = reinterpret_cast( headElement.pNext ); - headElement.pNext = pNext; - } - - template - typename std::enable_if< - !std::is_same>::type>::value || - ( Which != 0 ), - void>::type - unlink() VULKAN_HPP_NOEXCEPT - { - static_assert( IsPartOfStructureChain::valid, - "Can't unlink Structure that's not part of this StructureChain!" ); - unlink( reinterpret_cast( &get() ) ); - } - - private: - template - struct ChainElementIndex : ChainElementIndex - {}; - - template - struct ChainElementIndex::value, void>::type, - First, - Types...> : ChainElementIndex - {}; - - template - struct ChainElementIndex::value, void>::type, - First, - Types...> : ChainElementIndex - {}; - - template - struct ChainElementIndex::value, void>::type, - First, - Types...> : std::integral_constant - {}; - - bool isLinked( VkBaseInStructure const * pNext ) const VULKAN_HPP_NOEXCEPT - { - VkBaseInStructure const * elementPtr = reinterpret_cast( - &std::get<0>( static_cast const &>( *this ) ) ); - while ( elementPtr ) - { - if ( elementPtr->pNext == pNext ) - { - return true; - } - elementPtr = elementPtr->pNext; - } - return false; - } - - template - typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT - { - auto & x = std::get( static_cast &>( *this ) ); - x.pNext = &std::get( static_cast &>( *this ) ); - link(); - } - - template - typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT - {} - - void unlink( VkBaseOutStructure const * pNext ) VULKAN_HPP_NOEXCEPT - { - VkBaseOutStructure * elementPtr = - reinterpret_cast( &std::get<0>( static_cast &>( *this ) ) ); - while ( elementPtr && ( elementPtr->pNext != pNext ) ) - { - elementPtr = elementPtr->pNext; - } - if ( elementPtr ) - { - elementPtr->pNext = pNext->pNext; - } - else - { - VULKAN_HPP_ASSERT( false ); // fires, if the ClassType member has already been unlinked ! - } - } - }; - -#if !defined( VULKAN_HPP_NO_SMART_HANDLE ) - template - class UniqueHandleTraits; - - template - class UniqueHandle : public UniqueHandleTraits::deleter - { - private: - using Deleter = typename UniqueHandleTraits::deleter; - - public: - using element_type = Type; - - UniqueHandle() : Deleter(), m_value() {} - - explicit UniqueHandle( Type const & value, Deleter const & deleter = Deleter() ) VULKAN_HPP_NOEXCEPT - : Deleter( deleter ) - , m_value( value ) - {} - - UniqueHandle( UniqueHandle const & ) = delete; - - UniqueHandle( UniqueHandle && other ) VULKAN_HPP_NOEXCEPT - : Deleter( std::move( static_cast( other ) ) ) - , m_value( other.release() ) - {} - - ~UniqueHandle() VULKAN_HPP_NOEXCEPT - { - if ( m_value ) - { - this->destroy( m_value ); - } - } - - UniqueHandle & operator=( UniqueHandle const & ) = delete; - - UniqueHandle & operator=( UniqueHandle && other ) VULKAN_HPP_NOEXCEPT - { - reset( other.release() ); - *static_cast( this ) = std::move( static_cast( other ) ); - return *this; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_value.operator bool(); - } - - Type const * operator->() const VULKAN_HPP_NOEXCEPT - { - return &m_value; - } - - Type * operator->() VULKAN_HPP_NOEXCEPT - { - return &m_value; - } - - Type const & operator*() const VULKAN_HPP_NOEXCEPT - { - return m_value; - } - - Type & operator*() VULKAN_HPP_NOEXCEPT - { - return m_value; - } - - const Type & get() const VULKAN_HPP_NOEXCEPT - { - return m_value; - } - - Type & get() VULKAN_HPP_NOEXCEPT - { - return m_value; - } - - void reset( Type const & value = Type() ) VULKAN_HPP_NOEXCEPT - { - if ( m_value != value ) - { - if ( m_value ) - { - this->destroy( m_value ); - } - m_value = value; - } - } - - Type release() VULKAN_HPP_NOEXCEPT - { - Type value = m_value; - m_value = nullptr; - return value; - } - - void swap( UniqueHandle & rhs ) VULKAN_HPP_NOEXCEPT - { - std::swap( m_value, rhs.m_value ); - std::swap( static_cast( *this ), static_cast( rhs ) ); - } - - private: - Type m_value; - }; - - template - VULKAN_HPP_INLINE std::vector - uniqueToRaw( std::vector const & handles ) - { - std::vector newBuffer( handles.size() ); - std::transform( - handles.begin(), handles.end(), newBuffer.begin(), []( UniqueType const & handle ) { return handle.get(); } ); - return newBuffer; - } - - template - VULKAN_HPP_INLINE void swap( UniqueHandle & lhs, - UniqueHandle & rhs ) VULKAN_HPP_NOEXCEPT - { - lhs.swap( rhs ); - } -#endif - -#if !defined( VK_NO_PROTOTYPES ) - class DispatchLoaderStatic - { - public: - //=== VK_VERSION_1_0 === - - VkResult vkCreateInstance( const VkInstanceCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkInstance * pInstance ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateInstance( pCreateInfo, pAllocator, pInstance ); - } - - void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyInstance( instance, pAllocator ); - } - - VkResult vkEnumeratePhysicalDevices( VkInstance instance, - uint32_t * pPhysicalDeviceCount, - VkPhysicalDevice * pPhysicalDevices ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices ); - } - - void vkGetPhysicalDeviceFeatures( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceFeatures * pFeatures ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFeatures( physicalDevice, pFeatures ); - } - - void vkGetPhysicalDeviceFormatProperties( VkPhysicalDevice physicalDevice, - VkFormat format, - VkFormatProperties * pFormatProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFormatProperties( physicalDevice, format, pFormatProperties ); - } - - VkResult vkGetPhysicalDeviceImageFormatProperties( VkPhysicalDevice physicalDevice, - VkFormat format, - VkImageType type, - VkImageTiling tiling, - VkImageUsageFlags usage, - VkImageCreateFlags flags, - VkImageFormatProperties * pImageFormatProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceImageFormatProperties( - physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties ); - } - - void vkGetPhysicalDeviceProperties( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceProperties * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceProperties( physicalDevice, pProperties ); - } - - void vkGetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice physicalDevice, - uint32_t * pQueueFamilyPropertyCount, - VkQueueFamilyProperties * pQueueFamilyProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceQueueFamilyProperties( - physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); - } - - void vkGetPhysicalDeviceMemoryProperties( - VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties * pMemoryProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceMemoryProperties( physicalDevice, pMemoryProperties ); - } - - PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char * pName ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetInstanceProcAddr( instance, pName ); - } - - PFN_vkVoidFunction vkGetDeviceProcAddr( VkDevice device, const char * pName ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceProcAddr( device, pName ); - } - - VkResult vkCreateDevice( VkPhysicalDevice physicalDevice, - const VkDeviceCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDevice * pDevice ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDevice( physicalDevice, pCreateInfo, pAllocator, pDevice ); - } - - void vkDestroyDevice( VkDevice device, const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDevice( device, pAllocator ); - } - - VkResult vkEnumerateInstanceExtensionProperties( const char * pLayerName, - uint32_t * pPropertyCount, - VkExtensionProperties * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, pProperties ); - } - - VkResult vkEnumerateDeviceExtensionProperties( VkPhysicalDevice physicalDevice, - const char * pLayerName, - uint32_t * pPropertyCount, - VkExtensionProperties * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumerateDeviceExtensionProperties( physicalDevice, pLayerName, pPropertyCount, pProperties ); - } - - VkResult vkEnumerateInstanceLayerProperties( uint32_t * pPropertyCount, - VkLayerProperties * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumerateInstanceLayerProperties( pPropertyCount, pProperties ); - } - - VkResult vkEnumerateDeviceLayerProperties( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkLayerProperties * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumerateDeviceLayerProperties( physicalDevice, pPropertyCount, pProperties ); - } - - void vkGetDeviceQueue( VkDevice device, - uint32_t queueFamilyIndex, - uint32_t queueIndex, - VkQueue * pQueue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceQueue( device, queueFamilyIndex, queueIndex, pQueue ); - } - - VkResult vkQueueSubmit( VkQueue queue, - uint32_t submitCount, - const VkSubmitInfo * pSubmits, - VkFence fence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueSubmit( queue, submitCount, pSubmits, fence ); - } - - VkResult vkQueueWaitIdle( VkQueue queue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueWaitIdle( queue ); - } - - VkResult vkDeviceWaitIdle( VkDevice device ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDeviceWaitIdle( device ); - } - - VkResult vkAllocateMemory( VkDevice device, - const VkMemoryAllocateInfo * pAllocateInfo, - const VkAllocationCallbacks * pAllocator, - VkDeviceMemory * pMemory ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); - } - - void vkFreeMemory( VkDevice device, - VkDeviceMemory memory, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkFreeMemory( device, memory, pAllocator ); - } - - VkResult vkMapMemory( VkDevice device, - VkDeviceMemory memory, - VkDeviceSize offset, - VkDeviceSize size, - VkMemoryMapFlags flags, - void ** ppData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkMapMemory( device, memory, offset, size, flags, ppData ); - } - - void vkUnmapMemory( VkDevice device, VkDeviceMemory memory ) const VULKAN_HPP_NOEXCEPT - { - return ::vkUnmapMemory( device, memory ); - } - - VkResult vkFlushMappedMemoryRanges( VkDevice device, - uint32_t memoryRangeCount, - const VkMappedMemoryRange * pMemoryRanges ) const VULKAN_HPP_NOEXCEPT - { - return ::vkFlushMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges ); - } - - VkResult vkInvalidateMappedMemoryRanges( VkDevice device, - uint32_t memoryRangeCount, - const VkMappedMemoryRange * pMemoryRanges ) const VULKAN_HPP_NOEXCEPT - { - return ::vkInvalidateMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges ); - } - - void vkGetDeviceMemoryCommitment( VkDevice device, - VkDeviceMemory memory, - VkDeviceSize * pCommittedMemoryInBytes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceMemoryCommitment( device, memory, pCommittedMemoryInBytes ); - } - - VkResult vkBindBufferMemory( VkDevice device, - VkBuffer buffer, - VkDeviceMemory memory, - VkDeviceSize memoryOffset ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindBufferMemory( device, buffer, memory, memoryOffset ); - } - - VkResult vkBindImageMemory( VkDevice device, - VkImage image, - VkDeviceMemory memory, - VkDeviceSize memoryOffset ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindImageMemory( device, image, memory, memoryOffset ); - } - - void vkGetBufferMemoryRequirements( VkDevice device, - VkBuffer buffer, - VkMemoryRequirements * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferMemoryRequirements( device, buffer, pMemoryRequirements ); - } - - void vkGetImageMemoryRequirements( VkDevice device, - VkImage image, - VkMemoryRequirements * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageMemoryRequirements( device, image, pMemoryRequirements ); - } - - void vkGetImageSparseMemoryRequirements( VkDevice device, - VkImage image, - uint32_t * pSparseMemoryRequirementCount, - VkSparseImageMemoryRequirements * pSparseMemoryRequirements ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageSparseMemoryRequirements( - device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); - } - - void vkGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, - VkFormat format, - VkImageType type, - VkSampleCountFlagBits samples, - VkImageUsageFlags usage, - VkImageTiling tiling, - uint32_t * pPropertyCount, - VkSparseImageFormatProperties * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSparseImageFormatProperties( - physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties ); - } - - VkResult vkQueueBindSparse( VkQueue queue, - uint32_t bindInfoCount, - const VkBindSparseInfo * pBindInfo, - VkFence fence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueBindSparse( queue, bindInfoCount, pBindInfo, fence ); - } - - VkResult vkCreateFence( VkDevice device, - const VkFenceCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkFence * pFence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateFence( device, pCreateInfo, pAllocator, pFence ); - } - - void vkDestroyFence( VkDevice device, - VkFence fence, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyFence( device, fence, pAllocator ); - } - - VkResult vkResetFences( VkDevice device, uint32_t fenceCount, const VkFence * pFences ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetFences( device, fenceCount, pFences ); - } - - VkResult vkGetFenceStatus( VkDevice device, VkFence fence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetFenceStatus( device, fence ); - } - - VkResult vkWaitForFences( VkDevice device, - uint32_t fenceCount, - const VkFence * pFences, - VkBool32 waitAll, - uint64_t timeout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkWaitForFences( device, fenceCount, pFences, waitAll, timeout ); - } - - VkResult vkCreateSemaphore( VkDevice device, - const VkSemaphoreCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSemaphore * pSemaphore ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSemaphore( device, pCreateInfo, pAllocator, pSemaphore ); - } - - void vkDestroySemaphore( VkDevice device, - VkSemaphore semaphore, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySemaphore( device, semaphore, pAllocator ); - } - - VkResult vkCreateEvent( VkDevice device, - const VkEventCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkEvent * pEvent ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateEvent( device, pCreateInfo, pAllocator, pEvent ); - } - - void vkDestroyEvent( VkDevice device, - VkEvent event, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyEvent( device, event, pAllocator ); - } - - VkResult vkGetEventStatus( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetEventStatus( device, event ); - } - - VkResult vkSetEvent( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetEvent( device, event ); - } - - VkResult vkResetEvent( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetEvent( device, event ); - } - - VkResult vkCreateQueryPool( VkDevice device, - const VkQueryPoolCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkQueryPool * pQueryPool ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateQueryPool( device, pCreateInfo, pAllocator, pQueryPool ); - } - - void vkDestroyQueryPool( VkDevice device, - VkQueryPool queryPool, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyQueryPool( device, queryPool, pAllocator ); - } - - VkResult vkGetQueryPoolResults( VkDevice device, - VkQueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - size_t dataSize, - void * pData, - VkDeviceSize stride, - VkQueryResultFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetQueryPoolResults( device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags ); - } - - VkResult vkCreateBuffer( VkDevice device, - const VkBufferCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkBuffer * pBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateBuffer( device, pCreateInfo, pAllocator, pBuffer ); - } - - void vkDestroyBuffer( VkDevice device, - VkBuffer buffer, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyBuffer( device, buffer, pAllocator ); - } - - VkResult vkCreateBufferView( VkDevice device, - const VkBufferViewCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkBufferView * pView ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateBufferView( device, pCreateInfo, pAllocator, pView ); - } - - void vkDestroyBufferView( VkDevice device, - VkBufferView bufferView, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyBufferView( device, bufferView, pAllocator ); - } - - VkResult vkCreateImage( VkDevice device, - const VkImageCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkImage * pImage ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateImage( device, pCreateInfo, pAllocator, pImage ); - } - - void vkDestroyImage( VkDevice device, - VkImage image, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyImage( device, image, pAllocator ); - } - - void vkGetImageSubresourceLayout( VkDevice device, - VkImage image, - const VkImageSubresource * pSubresource, - VkSubresourceLayout * pLayout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageSubresourceLayout( device, image, pSubresource, pLayout ); - } - - VkResult vkCreateImageView( VkDevice device, - const VkImageViewCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkImageView * pView ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateImageView( device, pCreateInfo, pAllocator, pView ); - } - - void vkDestroyImageView( VkDevice device, - VkImageView imageView, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyImageView( device, imageView, pAllocator ); - } - - VkResult vkCreateShaderModule( VkDevice device, - const VkShaderModuleCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkShaderModule * pShaderModule ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateShaderModule( device, pCreateInfo, pAllocator, pShaderModule ); - } - - void vkDestroyShaderModule( VkDevice device, - VkShaderModule shaderModule, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyShaderModule( device, shaderModule, pAllocator ); - } - - VkResult vkCreatePipelineCache( VkDevice device, - const VkPipelineCacheCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkPipelineCache * pPipelineCache ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreatePipelineCache( device, pCreateInfo, pAllocator, pPipelineCache ); - } - - void vkDestroyPipelineCache( VkDevice device, - VkPipelineCache pipelineCache, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyPipelineCache( device, pipelineCache, pAllocator ); - } - - VkResult vkGetPipelineCacheData( VkDevice device, - VkPipelineCache pipelineCache, - size_t * pDataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPipelineCacheData( device, pipelineCache, pDataSize, pData ); - } - - VkResult vkMergePipelineCaches( VkDevice device, - VkPipelineCache dstCache, - uint32_t srcCacheCount, - const VkPipelineCache * pSrcCaches ) const VULKAN_HPP_NOEXCEPT - { - return ::vkMergePipelineCaches( device, dstCache, srcCacheCount, pSrcCaches ); - } - - VkResult vkCreateGraphicsPipelines( VkDevice device, - VkPipelineCache pipelineCache, - uint32_t createInfoCount, - const VkGraphicsPipelineCreateInfo * pCreateInfos, - const VkAllocationCallbacks * pAllocator, - VkPipeline * pPipelines ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateGraphicsPipelines( - device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); - } - - VkResult vkCreateComputePipelines( VkDevice device, - VkPipelineCache pipelineCache, - uint32_t createInfoCount, - const VkComputePipelineCreateInfo * pCreateInfos, - const VkAllocationCallbacks * pAllocator, - VkPipeline * pPipelines ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateComputePipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); - } - - void vkDestroyPipeline( VkDevice device, - VkPipeline pipeline, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyPipeline( device, pipeline, pAllocator ); - } - - VkResult vkCreatePipelineLayout( VkDevice device, - const VkPipelineLayoutCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkPipelineLayout * pPipelineLayout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreatePipelineLayout( device, pCreateInfo, pAllocator, pPipelineLayout ); - } - - void vkDestroyPipelineLayout( VkDevice device, - VkPipelineLayout pipelineLayout, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyPipelineLayout( device, pipelineLayout, pAllocator ); - } - - VkResult vkCreateSampler( VkDevice device, - const VkSamplerCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSampler * pSampler ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSampler( device, pCreateInfo, pAllocator, pSampler ); - } - - void vkDestroySampler( VkDevice device, - VkSampler sampler, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySampler( device, sampler, pAllocator ); - } - - VkResult vkCreateDescriptorSetLayout( VkDevice device, - const VkDescriptorSetLayoutCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDescriptorSetLayout * pSetLayout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDescriptorSetLayout( device, pCreateInfo, pAllocator, pSetLayout ); - } - - void vkDestroyDescriptorSetLayout( VkDevice device, - VkDescriptorSetLayout descriptorSetLayout, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDescriptorSetLayout( device, descriptorSetLayout, pAllocator ); - } - - VkResult vkCreateDescriptorPool( VkDevice device, - const VkDescriptorPoolCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDescriptorPool * pDescriptorPool ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDescriptorPool( device, pCreateInfo, pAllocator, pDescriptorPool ); - } - - void vkDestroyDescriptorPool( VkDevice device, - VkDescriptorPool descriptorPool, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDescriptorPool( device, descriptorPool, pAllocator ); - } - - VkResult vkResetDescriptorPool( VkDevice device, - VkDescriptorPool descriptorPool, - VkDescriptorPoolResetFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetDescriptorPool( device, descriptorPool, flags ); - } - - VkResult vkAllocateDescriptorSets( VkDevice device, - const VkDescriptorSetAllocateInfo * pAllocateInfo, - VkDescriptorSet * pDescriptorSets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets ); - } - - VkResult vkFreeDescriptorSets( VkDevice device, - VkDescriptorPool descriptorPool, - uint32_t descriptorSetCount, - const VkDescriptorSet * pDescriptorSets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkFreeDescriptorSets( device, descriptorPool, descriptorSetCount, pDescriptorSets ); - } - - void vkUpdateDescriptorSets( VkDevice device, - uint32_t descriptorWriteCount, - const VkWriteDescriptorSet * pDescriptorWrites, - uint32_t descriptorCopyCount, - const VkCopyDescriptorSet * pDescriptorCopies ) const VULKAN_HPP_NOEXCEPT - { - return ::vkUpdateDescriptorSets( - device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies ); - } - - VkResult vkCreateFramebuffer( VkDevice device, - const VkFramebufferCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkFramebuffer * pFramebuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateFramebuffer( device, pCreateInfo, pAllocator, pFramebuffer ); - } - - void vkDestroyFramebuffer( VkDevice device, - VkFramebuffer framebuffer, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyFramebuffer( device, framebuffer, pAllocator ); - } - - VkResult vkCreateRenderPass( VkDevice device, - const VkRenderPassCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkRenderPass * pRenderPass ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateRenderPass( device, pCreateInfo, pAllocator, pRenderPass ); - } - - void vkDestroyRenderPass( VkDevice device, - VkRenderPass renderPass, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyRenderPass( device, renderPass, pAllocator ); - } - - void vkGetRenderAreaGranularity( VkDevice device, - VkRenderPass renderPass, - VkExtent2D * pGranularity ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRenderAreaGranularity( device, renderPass, pGranularity ); - } - - VkResult vkCreateCommandPool( VkDevice device, - const VkCommandPoolCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkCommandPool * pCommandPool ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateCommandPool( device, pCreateInfo, pAllocator, pCommandPool ); - } - - void vkDestroyCommandPool( VkDevice device, - VkCommandPool commandPool, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyCommandPool( device, commandPool, pAllocator ); - } - - VkResult vkResetCommandPool( VkDevice device, - VkCommandPool commandPool, - VkCommandPoolResetFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetCommandPool( device, commandPool, flags ); - } - - VkResult vkAllocateCommandBuffers( VkDevice device, - const VkCommandBufferAllocateInfo * pAllocateInfo, - VkCommandBuffer * pCommandBuffers ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers ); - } - - void vkFreeCommandBuffers( VkDevice device, - VkCommandPool commandPool, - uint32_t commandBufferCount, - const VkCommandBuffer * pCommandBuffers ) const VULKAN_HPP_NOEXCEPT - { - return ::vkFreeCommandBuffers( device, commandPool, commandBufferCount, pCommandBuffers ); - } - - VkResult vkBeginCommandBuffer( VkCommandBuffer commandBuffer, - const VkCommandBufferBeginInfo * pBeginInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBeginCommandBuffer( commandBuffer, pBeginInfo ); - } - - VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEndCommandBuffer( commandBuffer ); - } - - VkResult vkResetCommandBuffer( VkCommandBuffer commandBuffer, - VkCommandBufferResetFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetCommandBuffer( commandBuffer, flags ); - } - - void vkCmdBindPipeline( VkCommandBuffer commandBuffer, - VkPipelineBindPoint pipelineBindPoint, - VkPipeline pipeline ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline ); - } - - void vkCmdSetViewport( VkCommandBuffer commandBuffer, - uint32_t firstViewport, - uint32_t viewportCount, - const VkViewport * pViewports ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports ); - } - - void vkCmdSetScissor( VkCommandBuffer commandBuffer, - uint32_t firstScissor, - uint32_t scissorCount, - const VkRect2D * pScissors ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors ); - } - - void vkCmdSetLineWidth( VkCommandBuffer commandBuffer, float lineWidth ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetLineWidth( commandBuffer, lineWidth ); - } - - void vkCmdSetDepthBias( VkCommandBuffer commandBuffer, - float depthBiasConstantFactor, - float depthBiasClamp, - float depthBiasSlopeFactor ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); - } - - void vkCmdSetBlendConstants( VkCommandBuffer commandBuffer, - const float blendConstants[4] ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetBlendConstants( commandBuffer, blendConstants ); - } - - void vkCmdSetDepthBounds( VkCommandBuffer commandBuffer, - float minDepthBounds, - float maxDepthBounds ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds ); - } - - void vkCmdSetStencilCompareMask( VkCommandBuffer commandBuffer, - VkStencilFaceFlags faceMask, - uint32_t compareMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask ); - } - - void vkCmdSetStencilWriteMask( VkCommandBuffer commandBuffer, - VkStencilFaceFlags faceMask, - uint32_t writeMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask ); - } - - void vkCmdSetStencilReference( VkCommandBuffer commandBuffer, - VkStencilFaceFlags faceMask, - uint32_t reference ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetStencilReference( commandBuffer, faceMask, reference ); - } - - void vkCmdBindDescriptorSets( VkCommandBuffer commandBuffer, - VkPipelineBindPoint pipelineBindPoint, - VkPipelineLayout layout, - uint32_t firstSet, - uint32_t descriptorSetCount, - const VkDescriptorSet * pDescriptorSets, - uint32_t dynamicOffsetCount, - const uint32_t * pDynamicOffsets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindDescriptorSets( commandBuffer, - pipelineBindPoint, - layout, - firstSet, - descriptorSetCount, - pDescriptorSets, - dynamicOffsetCount, - pDynamicOffsets ); - } - - void vkCmdBindIndexBuffer( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkIndexType indexType ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType ); - } - - void vkCmdBindVertexBuffers( VkCommandBuffer commandBuffer, - uint32_t firstBinding, - uint32_t bindingCount, - const VkBuffer * pBuffers, - const VkDeviceSize * pOffsets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets ); - } - - void vkCmdDraw( VkCommandBuffer commandBuffer, - uint32_t vertexCount, - uint32_t instanceCount, - uint32_t firstVertex, - uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); - } - - void vkCmdDrawIndexed( VkCommandBuffer commandBuffer, - uint32_t indexCount, - uint32_t instanceCount, - uint32_t firstIndex, - int32_t vertexOffset, - uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); - } - - void vkCmdDrawIndirect( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - uint32_t drawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride ); - } - - void vkCmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - uint32_t drawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride ); - } - - void vkCmdDispatch( VkCommandBuffer commandBuffer, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ ); - } - - void vkCmdDispatchIndirect( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDispatchIndirect( commandBuffer, buffer, offset ); - } - - void vkCmdCopyBuffer( VkCommandBuffer commandBuffer, - VkBuffer srcBuffer, - VkBuffer dstBuffer, - uint32_t regionCount, - const VkBufferCopy * pRegions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions ); - } - - void vkCmdCopyImage( VkCommandBuffer commandBuffer, - VkImage srcImage, - VkImageLayout srcImageLayout, - VkImage dstImage, - VkImageLayout dstImageLayout, - uint32_t regionCount, - const VkImageCopy * pRegions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyImage( - commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); - } - - void vkCmdBlitImage( VkCommandBuffer commandBuffer, - VkImage srcImage, - VkImageLayout srcImageLayout, - VkImage dstImage, - VkImageLayout dstImageLayout, - uint32_t regionCount, - const VkImageBlit * pRegions, - VkFilter filter ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBlitImage( - commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter ); - } - - void vkCmdCopyBufferToImage( VkCommandBuffer commandBuffer, - VkBuffer srcBuffer, - VkImage dstImage, - VkImageLayout dstImageLayout, - uint32_t regionCount, - const VkBufferImageCopy * pRegions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions ); - } - - void vkCmdCopyImageToBuffer( VkCommandBuffer commandBuffer, - VkImage srcImage, - VkImageLayout srcImageLayout, - VkBuffer dstBuffer, - uint32_t regionCount, - const VkBufferImageCopy * pRegions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions ); - } - - void vkCmdUpdateBuffer( VkCommandBuffer commandBuffer, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - VkDeviceSize dataSize, - const void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData ); - } - - void vkCmdFillBuffer( VkCommandBuffer commandBuffer, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - VkDeviceSize size, - uint32_t data ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data ); - } - - void vkCmdClearColorImage( VkCommandBuffer commandBuffer, - VkImage image, - VkImageLayout imageLayout, - const VkClearColorValue * pColor, - uint32_t rangeCount, - const VkImageSubresourceRange * pRanges ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges ); - } - - void vkCmdClearDepthStencilImage( VkCommandBuffer commandBuffer, - VkImage image, - VkImageLayout imageLayout, - const VkClearDepthStencilValue * pDepthStencil, - uint32_t rangeCount, - const VkImageSubresourceRange * pRanges ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges ); - } - - void vkCmdClearAttachments( VkCommandBuffer commandBuffer, - uint32_t attachmentCount, - const VkClearAttachment * pAttachments, - uint32_t rectCount, - const VkClearRect * pRects ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects ); - } - - void vkCmdResolveImage( VkCommandBuffer commandBuffer, - VkImage srcImage, - VkImageLayout srcImageLayout, - VkImage dstImage, - VkImageLayout dstImageLayout, - uint32_t regionCount, - const VkImageResolve * pRegions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdResolveImage( - commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); - } - - void vkCmdSetEvent( VkCommandBuffer commandBuffer, - VkEvent event, - VkPipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetEvent( commandBuffer, event, stageMask ); - } - - void vkCmdResetEvent( VkCommandBuffer commandBuffer, - VkEvent event, - VkPipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdResetEvent( commandBuffer, event, stageMask ); - } - - void vkCmdWaitEvents( VkCommandBuffer commandBuffer, - uint32_t eventCount, - const VkEvent * pEvents, - VkPipelineStageFlags srcStageMask, - VkPipelineStageFlags dstStageMask, - uint32_t memoryBarrierCount, - const VkMemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VkBufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VkImageMemoryBarrier * pImageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWaitEvents( commandBuffer, - eventCount, - pEvents, - srcStageMask, - dstStageMask, - memoryBarrierCount, - pMemoryBarriers, - bufferMemoryBarrierCount, - pBufferMemoryBarriers, - imageMemoryBarrierCount, - pImageMemoryBarriers ); - } - - void vkCmdPipelineBarrier( VkCommandBuffer commandBuffer, - VkPipelineStageFlags srcStageMask, - VkPipelineStageFlags dstStageMask, - VkDependencyFlags dependencyFlags, - uint32_t memoryBarrierCount, - const VkMemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VkBufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VkImageMemoryBarrier * pImageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPipelineBarrier( commandBuffer, - srcStageMask, - dstStageMask, - dependencyFlags, - memoryBarrierCount, - pMemoryBarriers, - bufferMemoryBarrierCount, - pBufferMemoryBarriers, - imageMemoryBarrierCount, - pImageMemoryBarriers ); - } - - void vkCmdBeginQuery( VkCommandBuffer commandBuffer, - VkQueryPool queryPool, - uint32_t query, - VkQueryControlFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginQuery( commandBuffer, queryPool, query, flags ); - } - - void vkCmdEndQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndQuery( commandBuffer, queryPool, query ); - } - - void vkCmdResetQueryPool( VkCommandBuffer commandBuffer, - VkQueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount ); - } - - void vkCmdWriteTimestamp( VkCommandBuffer commandBuffer, - VkPipelineStageFlagBits pipelineStage, - VkQueryPool queryPool, - uint32_t query ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query ); - } - - void vkCmdCopyQueryPoolResults( VkCommandBuffer commandBuffer, - VkQueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - VkDeviceSize stride, - VkQueryResultFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyQueryPoolResults( - commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags ); - } - - void vkCmdPushConstants( VkCommandBuffer commandBuffer, - VkPipelineLayout layout, - VkShaderStageFlags stageFlags, - uint32_t offset, - uint32_t size, - const void * pValues ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues ); - } - - void vkCmdBeginRenderPass( VkCommandBuffer commandBuffer, - const VkRenderPassBeginInfo * pRenderPassBegin, - VkSubpassContents contents ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents ); - } - - void vkCmdNextSubpass( VkCommandBuffer commandBuffer, VkSubpassContents contents ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdNextSubpass( commandBuffer, contents ); - } - - void vkCmdEndRenderPass( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndRenderPass( commandBuffer ); - } - - void vkCmdExecuteCommands( VkCommandBuffer commandBuffer, - uint32_t commandBufferCount, - const VkCommandBuffer * pCommandBuffers ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers ); - } - - //=== VK_VERSION_1_1 === - - VkResult vkEnumerateInstanceVersion( uint32_t * pApiVersion ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumerateInstanceVersion( pApiVersion ); - } - - VkResult vkBindBufferMemory2( VkDevice device, - uint32_t bindInfoCount, - const VkBindBufferMemoryInfo * pBindInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindBufferMemory2( device, bindInfoCount, pBindInfos ); - } - - VkResult vkBindImageMemory2( VkDevice device, - uint32_t bindInfoCount, - const VkBindImageMemoryInfo * pBindInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindImageMemory2( device, bindInfoCount, pBindInfos ); - } - - void vkGetDeviceGroupPeerMemoryFeatures( VkDevice device, - uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VkPeerMemoryFeatureFlags * pPeerMemoryFeatures ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceGroupPeerMemoryFeatures( - device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); - } - - void vkCmdSetDeviceMask( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDeviceMask( commandBuffer, deviceMask ); - } - - void vkCmdDispatchBase( VkCommandBuffer commandBuffer, - uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDispatchBase( - commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); - } - - VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, - uint32_t * pPhysicalDeviceGroupCount, - VkPhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties ); - } - - void vkGetImageMemoryRequirements2( VkDevice device, - const VkImageMemoryRequirementsInfo2 * pInfo, - VkMemoryRequirements2 * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageMemoryRequirements2( device, pInfo, pMemoryRequirements ); - } - - void vkGetBufferMemoryRequirements2( VkDevice device, - const VkBufferMemoryRequirementsInfo2 * pInfo, - VkMemoryRequirements2 * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferMemoryRequirements2( device, pInfo, pMemoryRequirements ); - } - - void vkGetImageSparseMemoryRequirements2( VkDevice device, - const VkImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VkSparseImageMemoryRequirements2 * pSparseMemoryRequirements ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageSparseMemoryRequirements2( - device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); - } - - void vkGetPhysicalDeviceFeatures2( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceFeatures2 * pFeatures ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFeatures2( physicalDevice, pFeatures ); - } - - void vkGetPhysicalDeviceProperties2( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceProperties2( physicalDevice, pProperties ); - } - - void vkGetPhysicalDeviceFormatProperties2( VkPhysicalDevice physicalDevice, - VkFormat format, - VkFormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFormatProperties2( physicalDevice, format, pFormatProperties ); - } - - VkResult vkGetPhysicalDeviceImageFormatProperties2( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VkImageFormatProperties2 * pImageFormatProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceImageFormatProperties2( physicalDevice, pImageFormatInfo, pImageFormatProperties ); - } - - void vkGetPhysicalDeviceQueueFamilyProperties2( VkPhysicalDevice physicalDevice, - uint32_t * pQueueFamilyPropertyCount, - VkQueueFamilyProperties2 * pQueueFamilyProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceQueueFamilyProperties2( - physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); - } - - void vkGetPhysicalDeviceMemoryProperties2( - VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 * pMemoryProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceMemoryProperties2( physicalDevice, pMemoryProperties ); - } - - void vkGetPhysicalDeviceSparseImageFormatProperties2( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VkSparseImageFormatProperties2 * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSparseImageFormatProperties2( - physicalDevice, pFormatInfo, pPropertyCount, pProperties ); - } - - void vkTrimCommandPool( VkDevice device, - VkCommandPool commandPool, - VkCommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkTrimCommandPool( device, commandPool, flags ); - } - - void vkGetDeviceQueue2( VkDevice device, - const VkDeviceQueueInfo2 * pQueueInfo, - VkQueue * pQueue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceQueue2( device, pQueueInfo, pQueue ); - } - - VkResult vkCreateSamplerYcbcrConversion( VkDevice device, - const VkSamplerYcbcrConversionCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSamplerYcbcrConversion * pYcbcrConversion ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSamplerYcbcrConversion( device, pCreateInfo, pAllocator, pYcbcrConversion ); - } - - void vkDestroySamplerYcbcrConversion( VkDevice device, - VkSamplerYcbcrConversion ycbcrConversion, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySamplerYcbcrConversion( device, ycbcrConversion, pAllocator ); - } - - VkResult vkCreateDescriptorUpdateTemplate( VkDevice device, - const VkDescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDescriptorUpdateTemplate * pDescriptorUpdateTemplate ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDescriptorUpdateTemplate( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); - } - - void vkDestroyDescriptorUpdateTemplate( VkDevice device, - VkDescriptorUpdateTemplate descriptorUpdateTemplate, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDescriptorUpdateTemplate( device, descriptorUpdateTemplate, pAllocator ); - } - - void vkUpdateDescriptorSetWithTemplate( VkDevice device, - VkDescriptorSet descriptorSet, - VkDescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkUpdateDescriptorSetWithTemplate( device, descriptorSet, descriptorUpdateTemplate, pData ); - } - - void vkGetPhysicalDeviceExternalBufferProperties( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VkExternalBufferProperties * pExternalBufferProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalBufferProperties( - physicalDevice, pExternalBufferInfo, pExternalBufferProperties ); - } - - void vkGetPhysicalDeviceExternalFenceProperties( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VkExternalFenceProperties * pExternalFenceProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalFenceProperties( - physicalDevice, pExternalFenceInfo, pExternalFenceProperties ); - } - - void vkGetPhysicalDeviceExternalSemaphoreProperties( - VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VkExternalSemaphoreProperties * pExternalSemaphoreProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalSemaphoreProperties( - physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties ); - } - - void vkGetDescriptorSetLayoutSupport( VkDevice device, - const VkDescriptorSetLayoutCreateInfo * pCreateInfo, - VkDescriptorSetLayoutSupport * pSupport ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDescriptorSetLayoutSupport( device, pCreateInfo, pSupport ); - } - - //=== VK_VERSION_1_2 === - - void vkCmdDrawIndirectCount( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndirectCount( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - void vkCmdDrawIndexedIndirectCount( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndexedIndirectCount( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - VkResult vkCreateRenderPass2( VkDevice device, - const VkRenderPassCreateInfo2 * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkRenderPass * pRenderPass ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateRenderPass2( device, pCreateInfo, pAllocator, pRenderPass ); - } - - void vkCmdBeginRenderPass2( VkCommandBuffer commandBuffer, - const VkRenderPassBeginInfo * pRenderPassBegin, - const VkSubpassBeginInfo * pSubpassBeginInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginRenderPass2( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); - } - - void vkCmdNextSubpass2( VkCommandBuffer commandBuffer, - const VkSubpassBeginInfo * pSubpassBeginInfo, - const VkSubpassEndInfo * pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdNextSubpass2( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); - } - - void vkCmdEndRenderPass2( VkCommandBuffer commandBuffer, - const VkSubpassEndInfo * pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndRenderPass2( commandBuffer, pSubpassEndInfo ); - } - - void vkResetQueryPool( VkDevice device, - VkQueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetQueryPool( device, queryPool, firstQuery, queryCount ); - } - - VkResult - vkGetSemaphoreCounterValue( VkDevice device, VkSemaphore semaphore, uint64_t * pValue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSemaphoreCounterValue( device, semaphore, pValue ); - } - - VkResult vkWaitSemaphores( VkDevice device, - const VkSemaphoreWaitInfo * pWaitInfo, - uint64_t timeout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkWaitSemaphores( device, pWaitInfo, timeout ); - } - - VkResult vkSignalSemaphore( VkDevice device, const VkSemaphoreSignalInfo * pSignalInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSignalSemaphore( device, pSignalInfo ); - } - - VkDeviceAddress vkGetBufferDeviceAddress( VkDevice device, - const VkBufferDeviceAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferDeviceAddress( device, pInfo ); - } - - uint64_t vkGetBufferOpaqueCaptureAddress( VkDevice device, - const VkBufferDeviceAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferOpaqueCaptureAddress( device, pInfo ); - } - - uint64_t vkGetDeviceMemoryOpaqueCaptureAddress( - VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceMemoryOpaqueCaptureAddress( device, pInfo ); - } - - //=== VK_KHR_surface === - - void vkDestroySurfaceKHR( VkInstance instance, - VkSurfaceKHR surface, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySurfaceKHR( instance, surface, pAllocator ); - } - - VkResult vkGetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - VkSurfaceKHR surface, - VkBool32 * pSupported ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceSupportKHR( physicalDevice, queueFamilyIndex, surface, pSupported ); - } - - VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, - VkSurfaceKHR surface, - VkSurfaceCapabilitiesKHR * pSurfaceCapabilities ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceCapabilitiesKHR( physicalDevice, surface, pSurfaceCapabilities ); - } - - VkResult vkGetPhysicalDeviceSurfaceFormatsKHR( VkPhysicalDevice physicalDevice, - VkSurfaceKHR surface, - uint32_t * pSurfaceFormatCount, - VkSurfaceFormatKHR * pSurfaceFormats ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceFormatsKHR( physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats ); - } - - VkResult vkGetPhysicalDeviceSurfacePresentModesKHR( VkPhysicalDevice physicalDevice, - VkSurfaceKHR surface, - uint32_t * pPresentModeCount, - VkPresentModeKHR * pPresentModes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfacePresentModesKHR( physicalDevice, surface, pPresentModeCount, pPresentModes ); - } - - //=== VK_KHR_swapchain === - - VkResult vkCreateSwapchainKHR( VkDevice device, - const VkSwapchainCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSwapchainKHR * pSwapchain ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSwapchainKHR( device, pCreateInfo, pAllocator, pSwapchain ); - } - - void vkDestroySwapchainKHR( VkDevice device, - VkSwapchainKHR swapchain, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySwapchainKHR( device, swapchain, pAllocator ); - } - - VkResult vkGetSwapchainImagesKHR( VkDevice device, - VkSwapchainKHR swapchain, - uint32_t * pSwapchainImageCount, - VkImage * pSwapchainImages ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSwapchainImagesKHR( device, swapchain, pSwapchainImageCount, pSwapchainImages ); - } - - VkResult vkAcquireNextImageKHR( VkDevice device, - VkSwapchainKHR swapchain, - uint64_t timeout, - VkSemaphore semaphore, - VkFence fence, - uint32_t * pImageIndex ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireNextImageKHR( device, swapchain, timeout, semaphore, fence, pImageIndex ); - } - - VkResult vkQueuePresentKHR( VkQueue queue, const VkPresentInfoKHR * pPresentInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueuePresentKHR( queue, pPresentInfo ); - } - - VkResult vkGetDeviceGroupPresentCapabilitiesKHR( - VkDevice device, VkDeviceGroupPresentCapabilitiesKHR * pDeviceGroupPresentCapabilities ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceGroupPresentCapabilitiesKHR( device, pDeviceGroupPresentCapabilities ); - } - - VkResult vkGetDeviceGroupSurfacePresentModesKHR( - VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR * pModes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceGroupSurfacePresentModesKHR( device, surface, pModes ); - } - - VkResult vkGetPhysicalDevicePresentRectanglesKHR( VkPhysicalDevice physicalDevice, - VkSurfaceKHR surface, - uint32_t * pRectCount, - VkRect2D * pRects ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDevicePresentRectanglesKHR( physicalDevice, surface, pRectCount, pRects ); - } - - VkResult vkAcquireNextImage2KHR( VkDevice device, - const VkAcquireNextImageInfoKHR * pAcquireInfo, - uint32_t * pImageIndex ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireNextImage2KHR( device, pAcquireInfo, pImageIndex ); - } - - //=== VK_KHR_display === - - VkResult vkGetPhysicalDeviceDisplayPropertiesKHR( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkDisplayPropertiesKHR * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceDisplayPropertiesKHR( physicalDevice, pPropertyCount, pProperties ); - } - - VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkDisplayPlanePropertiesKHR * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceDisplayPlanePropertiesKHR( physicalDevice, pPropertyCount, pProperties ); - } - - VkResult vkGetDisplayPlaneSupportedDisplaysKHR( VkPhysicalDevice physicalDevice, - uint32_t planeIndex, - uint32_t * pDisplayCount, - VkDisplayKHR * pDisplays ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDisplayPlaneSupportedDisplaysKHR( physicalDevice, planeIndex, pDisplayCount, pDisplays ); - } - - VkResult vkGetDisplayModePropertiesKHR( VkPhysicalDevice physicalDevice, - VkDisplayKHR display, - uint32_t * pPropertyCount, - VkDisplayModePropertiesKHR * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDisplayModePropertiesKHR( physicalDevice, display, pPropertyCount, pProperties ); - } - - VkResult vkCreateDisplayModeKHR( VkPhysicalDevice physicalDevice, - VkDisplayKHR display, - const VkDisplayModeCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDisplayModeKHR * pMode ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDisplayModeKHR( physicalDevice, display, pCreateInfo, pAllocator, pMode ); - } - - VkResult vkGetDisplayPlaneCapabilitiesKHR( VkPhysicalDevice physicalDevice, - VkDisplayModeKHR mode, - uint32_t planeIndex, - VkDisplayPlaneCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDisplayPlaneCapabilitiesKHR( physicalDevice, mode, planeIndex, pCapabilities ); - } - - VkResult vkCreateDisplayPlaneSurfaceKHR( VkInstance instance, - const VkDisplaySurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDisplayPlaneSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } - - //=== VK_KHR_display_swapchain === - - VkResult vkCreateSharedSwapchainsKHR( VkDevice device, - uint32_t swapchainCount, - const VkSwapchainCreateInfoKHR * pCreateInfos, - const VkAllocationCallbacks * pAllocator, - VkSwapchainKHR * pSwapchains ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSharedSwapchainsKHR( device, swapchainCount, pCreateInfos, pAllocator, pSwapchains ); - } - -# if defined( VK_USE_PLATFORM_XLIB_KHR ) - - //=== VK_KHR_xlib_surface === - - VkResult vkCreateXlibSurfaceKHR( VkInstance instance, - const VkXlibSurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateXlibSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - Display * dpy, - VisualID visualID ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceXlibPresentationSupportKHR( physicalDevice, queueFamilyIndex, dpy, visualID ); - } -# endif /*VK_USE_PLATFORM_XLIB_KHR*/ - -# if defined( VK_USE_PLATFORM_XCB_KHR ) - - //=== VK_KHR_xcb_surface === - - VkResult vkCreateXcbSurfaceKHR( VkInstance instance, - const VkXcbSurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateXcbSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - xcb_connection_t * connection, - xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceXcbPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection, visual_id ); - } -# endif /*VK_USE_PLATFORM_XCB_KHR*/ - -# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - - //=== VK_KHR_wayland_surface === - - VkResult vkCreateWaylandSurfaceKHR( VkInstance instance, - const VkWaylandSurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateWaylandSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - struct wl_display * display ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceWaylandPresentationSupportKHR( physicalDevice, queueFamilyIndex, display ); - } -# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -# if defined( VK_USE_PLATFORM_ANDROID_KHR ) - - //=== VK_KHR_android_surface === - - VkResult vkCreateAndroidSurfaceKHR( VkInstance instance, - const VkAndroidSurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateAndroidSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_KHR_win32_surface === - - VkResult vkCreateWin32SurfaceKHR( VkInstance instance, - const VkWin32SurfaceCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateWin32SurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceWin32PresentationSupportKHR( physicalDevice, queueFamilyIndex ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_EXT_debug_report === - - VkResult vkCreateDebugReportCallbackEXT( VkInstance instance, - const VkDebugReportCallbackCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDebugReportCallbackEXT * pCallback ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDebugReportCallbackEXT( instance, pCreateInfo, pAllocator, pCallback ); - } - - void vkDestroyDebugReportCallbackEXT( VkInstance instance, - VkDebugReportCallbackEXT callback, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDebugReportCallbackEXT( instance, callback, pAllocator ); - } - - void vkDebugReportMessageEXT( VkInstance instance, - VkDebugReportFlagsEXT flags, - VkDebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const char * pLayerPrefix, - const char * pMessage ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDebugReportMessageEXT( - instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage ); - } - - //=== VK_EXT_debug_marker === - - VkResult vkDebugMarkerSetObjectTagEXT( VkDevice device, - const VkDebugMarkerObjectTagInfoEXT * pTagInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDebugMarkerSetObjectTagEXT( device, pTagInfo ); - } - - VkResult vkDebugMarkerSetObjectNameEXT( VkDevice device, - const VkDebugMarkerObjectNameInfoEXT * pNameInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDebugMarkerSetObjectNameEXT( device, pNameInfo ); - } - - void vkCmdDebugMarkerBeginEXT( VkCommandBuffer commandBuffer, - const VkDebugMarkerMarkerInfoEXT * pMarkerInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo ); - } - - void vkCmdDebugMarkerEndEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDebugMarkerEndEXT( commandBuffer ); - } - - void vkCmdDebugMarkerInsertEXT( VkCommandBuffer commandBuffer, - const VkDebugMarkerMarkerInfoEXT * pMarkerInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo ); - } - -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_queue === - - VkResult vkGetPhysicalDeviceVideoCapabilitiesKHR( VkPhysicalDevice physicalDevice, - const VkVideoProfileKHR * pVideoProfile, - VkVideoCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceVideoCapabilitiesKHR( physicalDevice, pVideoProfile, pCapabilities ); - } - - VkResult vkGetPhysicalDeviceVideoFormatPropertiesKHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceVideoFormatInfoKHR * pVideoFormatInfo, - uint32_t * pVideoFormatPropertyCount, - VkVideoFormatPropertiesKHR * pVideoFormatProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceVideoFormatPropertiesKHR( - physicalDevice, pVideoFormatInfo, pVideoFormatPropertyCount, pVideoFormatProperties ); - } - - VkResult vkCreateVideoSessionKHR( VkDevice device, - const VkVideoSessionCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkVideoSessionKHR * pVideoSession ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateVideoSessionKHR( device, pCreateInfo, pAllocator, pVideoSession ); - } - - void vkDestroyVideoSessionKHR( VkDevice device, - VkVideoSessionKHR videoSession, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyVideoSessionKHR( device, videoSession, pAllocator ); - } - - VkResult vkGetVideoSessionMemoryRequirementsKHR( - VkDevice device, - VkVideoSessionKHR videoSession, - uint32_t * pVideoSessionMemoryRequirementsCount, - VkVideoGetMemoryPropertiesKHR * pVideoSessionMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetVideoSessionMemoryRequirementsKHR( - device, videoSession, pVideoSessionMemoryRequirementsCount, pVideoSessionMemoryRequirements ); - } - - VkResult - vkBindVideoSessionMemoryKHR( VkDevice device, - VkVideoSessionKHR videoSession, - uint32_t videoSessionBindMemoryCount, - const VkVideoBindMemoryKHR * pVideoSessionBindMemories ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindVideoSessionMemoryKHR( - device, videoSession, videoSessionBindMemoryCount, pVideoSessionBindMemories ); - } - - VkResult vkCreateVideoSessionParametersKHR( VkDevice device, - const VkVideoSessionParametersCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkVideoSessionParametersKHR * pVideoSessionParameters ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCreateVideoSessionParametersKHR( device, pCreateInfo, pAllocator, pVideoSessionParameters ); - } - - VkResult vkUpdateVideoSessionParametersKHR( VkDevice device, - VkVideoSessionParametersKHR videoSessionParameters, - const VkVideoSessionParametersUpdateInfoKHR * pUpdateInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkUpdateVideoSessionParametersKHR( device, videoSessionParameters, pUpdateInfo ); - } - - void vkDestroyVideoSessionParametersKHR( VkDevice device, - VkVideoSessionParametersKHR videoSessionParameters, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyVideoSessionParametersKHR( device, videoSessionParameters, pAllocator ); - } - - void vkCmdBeginVideoCodingKHR( VkCommandBuffer commandBuffer, - const VkVideoBeginCodingInfoKHR * pBeginInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginVideoCodingKHR( commandBuffer, pBeginInfo ); - } - - void vkCmdEndVideoCodingKHR( VkCommandBuffer commandBuffer, - const VkVideoEndCodingInfoKHR * pEndCodingInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndVideoCodingKHR( commandBuffer, pEndCodingInfo ); - } - - void vkCmdControlVideoCodingKHR( VkCommandBuffer commandBuffer, - const VkVideoCodingControlInfoKHR * pCodingControlInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdControlVideoCodingKHR( commandBuffer, pCodingControlInfo ); - } -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_decode_queue === - - void vkCmdDecodeVideoKHR( VkCommandBuffer commandBuffer, - const VkVideoDecodeInfoKHR * pFrameInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDecodeVideoKHR( commandBuffer, pFrameInfo ); - } -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_EXT_transform_feedback === - - void vkCmdBindTransformFeedbackBuffersEXT( VkCommandBuffer commandBuffer, - uint32_t firstBinding, - uint32_t bindingCount, - const VkBuffer * pBuffers, - const VkDeviceSize * pOffsets, - const VkDeviceSize * pSizes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindTransformFeedbackBuffersEXT( - commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes ); - } - - void vkCmdBeginTransformFeedbackEXT( VkCommandBuffer commandBuffer, - uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VkBuffer * pCounterBuffers, - const VkDeviceSize * pCounterBufferOffsets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginTransformFeedbackEXT( - commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); - } - - void vkCmdEndTransformFeedbackEXT( VkCommandBuffer commandBuffer, - uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VkBuffer * pCounterBuffers, - const VkDeviceSize * pCounterBufferOffsets ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndTransformFeedbackEXT( - commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); - } - - void vkCmdBeginQueryIndexedEXT( VkCommandBuffer commandBuffer, - VkQueryPool queryPool, - uint32_t query, - VkQueryControlFlags flags, - uint32_t index ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginQueryIndexedEXT( commandBuffer, queryPool, query, flags, index ); - } - - void vkCmdEndQueryIndexedEXT( VkCommandBuffer commandBuffer, - VkQueryPool queryPool, - uint32_t query, - uint32_t index ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndQueryIndexedEXT( commandBuffer, queryPool, query, index ); - } - - void vkCmdDrawIndirectByteCountEXT( VkCommandBuffer commandBuffer, - uint32_t instanceCount, - uint32_t firstInstance, - VkBuffer counterBuffer, - VkDeviceSize counterBufferOffset, - uint32_t counterOffset, - uint32_t vertexStride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndirectByteCountEXT( - commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride ); - } - - //=== VK_NVX_binary_import === - - VkResult vkCreateCuModuleNVX( VkDevice device, - const VkCuModuleCreateInfoNVX * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkCuModuleNVX * pModule ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateCuModuleNVX( device, pCreateInfo, pAllocator, pModule ); - } - - VkResult vkCreateCuFunctionNVX( VkDevice device, - const VkCuFunctionCreateInfoNVX * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkCuFunctionNVX * pFunction ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateCuFunctionNVX( device, pCreateInfo, pAllocator, pFunction ); - } - - void vkDestroyCuModuleNVX( VkDevice device, - VkCuModuleNVX module, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyCuModuleNVX( device, module, pAllocator ); - } - - void vkDestroyCuFunctionNVX( VkDevice device, - VkCuFunctionNVX function, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyCuFunctionNVX( device, function, pAllocator ); - } - - void vkCmdCuLaunchKernelNVX( VkCommandBuffer commandBuffer, - const VkCuLaunchInfoNVX * pLaunchInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCuLaunchKernelNVX( commandBuffer, pLaunchInfo ); - } - - //=== VK_NVX_image_view_handle === - - uint32_t vkGetImageViewHandleNVX( VkDevice device, - const VkImageViewHandleInfoNVX * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageViewHandleNVX( device, pInfo ); - } - - VkResult vkGetImageViewAddressNVX( VkDevice device, - VkImageView imageView, - VkImageViewAddressPropertiesNVX * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageViewAddressNVX( device, imageView, pProperties ); - } - - //=== VK_AMD_draw_indirect_count === - - void vkCmdDrawIndirectCountAMD( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndirectCountAMD( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - void vkCmdDrawIndexedIndirectCountAMD( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndexedIndirectCountAMD( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - //=== VK_AMD_shader_info === - - VkResult vkGetShaderInfoAMD( VkDevice device, - VkPipeline pipeline, - VkShaderStageFlagBits shaderStage, - VkShaderInfoTypeAMD infoType, - size_t * pInfoSize, - void * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetShaderInfoAMD( device, pipeline, shaderStage, infoType, pInfoSize, pInfo ); - } - -# if defined( VK_USE_PLATFORM_GGP ) - - //=== VK_GGP_stream_descriptor_surface === - - VkResult vkCreateStreamDescriptorSurfaceGGP( VkInstance instance, - const VkStreamDescriptorSurfaceCreateInfoGGP * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateStreamDescriptorSurfaceGGP( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_GGP*/ - - //=== VK_NV_external_memory_capabilities === - - VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV( - VkPhysicalDevice physicalDevice, - VkFormat format, - VkImageType type, - VkImageTiling tiling, - VkImageUsageFlags usage, - VkImageCreateFlags flags, - VkExternalMemoryHandleTypeFlagsNV externalHandleType, - VkExternalImageFormatPropertiesNV * pExternalImageFormatProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalImageFormatPropertiesNV( - physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_NV_external_memory_win32 === - - VkResult vkGetMemoryWin32HandleNV( VkDevice device, - VkDeviceMemory memory, - VkExternalMemoryHandleTypeFlagsNV handleType, - HANDLE * pHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryWin32HandleNV( device, memory, handleType, pHandle ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_KHR_get_physical_device_properties2 === - - void vkGetPhysicalDeviceFeatures2KHR( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceFeatures2 * pFeatures ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFeatures2KHR( physicalDevice, pFeatures ); - } - - void vkGetPhysicalDeviceProperties2KHR( VkPhysicalDevice physicalDevice, - VkPhysicalDeviceProperties2 * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceProperties2KHR( physicalDevice, pProperties ); - } - - void vkGetPhysicalDeviceFormatProperties2KHR( VkPhysicalDevice physicalDevice, - VkFormat format, - VkFormatProperties2 * pFormatProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFormatProperties2KHR( physicalDevice, format, pFormatProperties ); - } - - VkResult vkGetPhysicalDeviceImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VkImageFormatProperties2 * pImageFormatProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceImageFormatProperties2KHR( physicalDevice, pImageFormatInfo, pImageFormatProperties ); - } - - void vkGetPhysicalDeviceQueueFamilyProperties2KHR( VkPhysicalDevice physicalDevice, - uint32_t * pQueueFamilyPropertyCount, - VkQueueFamilyProperties2 * pQueueFamilyProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceQueueFamilyProperties2KHR( - physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); - } - - void vkGetPhysicalDeviceMemoryProperties2KHR( - VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2 * pMemoryProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceMemoryProperties2KHR( physicalDevice, pMemoryProperties ); - } - - void vkGetPhysicalDeviceSparseImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VkSparseImageFormatProperties2 * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - physicalDevice, pFormatInfo, pPropertyCount, pProperties ); - } - - //=== VK_KHR_device_group === - - void - vkGetDeviceGroupPeerMemoryFeaturesKHR( VkDevice device, - uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VkPeerMemoryFeatureFlags * pPeerMemoryFeatures ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceGroupPeerMemoryFeaturesKHR( - device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); - } - - void vkCmdSetDeviceMaskKHR( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDeviceMaskKHR( commandBuffer, deviceMask ); - } - - void vkCmdDispatchBaseKHR( VkCommandBuffer commandBuffer, - uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDispatchBaseKHR( - commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); - } - -# if defined( VK_USE_PLATFORM_VI_NN ) - - //=== VK_NN_vi_surface === - - VkResult vkCreateViSurfaceNN( VkInstance instance, - const VkViSurfaceCreateInfoNN * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateViSurfaceNN( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_VI_NN*/ - - //=== VK_KHR_maintenance1 === - - void vkTrimCommandPoolKHR( VkDevice device, - VkCommandPool commandPool, - VkCommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT - { - return ::vkTrimCommandPoolKHR( device, commandPool, flags ); - } - - //=== VK_KHR_device_group_creation === - - VkResult vkEnumeratePhysicalDeviceGroupsKHR( - VkInstance instance, - uint32_t * pPhysicalDeviceGroupCount, - VkPhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumeratePhysicalDeviceGroupsKHR( - instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties ); - } - - //=== VK_KHR_external_memory_capabilities === - - void vkGetPhysicalDeviceExternalBufferPropertiesKHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VkExternalBufferProperties * pExternalBufferProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalBufferPropertiesKHR( - physicalDevice, pExternalBufferInfo, pExternalBufferProperties ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_KHR_external_memory_win32 === - - VkResult vkGetMemoryWin32HandleKHR( VkDevice device, - const VkMemoryGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); - } - - VkResult vkGetMemoryWin32HandlePropertiesKHR( - VkDevice device, - VkExternalMemoryHandleTypeFlagBits handleType, - HANDLE handle, - VkMemoryWin32HandlePropertiesKHR * pMemoryWin32HandleProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryWin32HandlePropertiesKHR( device, handleType, handle, pMemoryWin32HandleProperties ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_KHR_external_memory_fd === - - VkResult - vkGetMemoryFdKHR( VkDevice device, const VkMemoryGetFdInfoKHR * pGetFdInfo, int * pFd ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryFdKHR( device, pGetFdInfo, pFd ); - } - - VkResult vkGetMemoryFdPropertiesKHR( VkDevice device, - VkExternalMemoryHandleTypeFlagBits handleType, - int fd, - VkMemoryFdPropertiesKHR * pMemoryFdProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryFdPropertiesKHR( device, handleType, fd, pMemoryFdProperties ); - } - - //=== VK_KHR_external_semaphore_capabilities === - - void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( - VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VkExternalSemaphoreProperties * pExternalSemaphoreProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( - physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_KHR_external_semaphore_win32 === - - VkResult vkImportSemaphoreWin32HandleKHR( - VkDevice device, - const VkImportSemaphoreWin32HandleInfoKHR * pImportSemaphoreWin32HandleInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkImportSemaphoreWin32HandleKHR( device, pImportSemaphoreWin32HandleInfo ); - } - - VkResult vkGetSemaphoreWin32HandleKHR( VkDevice device, - const VkSemaphoreGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSemaphoreWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_KHR_external_semaphore_fd === - - VkResult - vkImportSemaphoreFdKHR( VkDevice device, - const VkImportSemaphoreFdInfoKHR * pImportSemaphoreFdInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkImportSemaphoreFdKHR( device, pImportSemaphoreFdInfo ); - } - - VkResult vkGetSemaphoreFdKHR( VkDevice device, - const VkSemaphoreGetFdInfoKHR * pGetFdInfo, - int * pFd ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSemaphoreFdKHR( device, pGetFdInfo, pFd ); - } - - //=== VK_KHR_push_descriptor === - - void vkCmdPushDescriptorSetKHR( VkCommandBuffer commandBuffer, - VkPipelineBindPoint pipelineBindPoint, - VkPipelineLayout layout, - uint32_t set, - uint32_t descriptorWriteCount, - const VkWriteDescriptorSet * pDescriptorWrites ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPushDescriptorSetKHR( - commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites ); - } - - void vkCmdPushDescriptorSetWithTemplateKHR( VkCommandBuffer commandBuffer, - VkDescriptorUpdateTemplate descriptorUpdateTemplate, - VkPipelineLayout layout, - uint32_t set, - const void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData ); - } - - //=== VK_EXT_conditional_rendering === - - void vkCmdBeginConditionalRenderingEXT( - VkCommandBuffer commandBuffer, - const VkConditionalRenderingBeginInfoEXT * pConditionalRenderingBegin ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginConditionalRenderingEXT( commandBuffer, pConditionalRenderingBegin ); - } - - void vkCmdEndConditionalRenderingEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndConditionalRenderingEXT( commandBuffer ); - } - - //=== VK_KHR_descriptor_update_template === - - VkResult vkCreateDescriptorUpdateTemplateKHR( VkDevice device, - const VkDescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDescriptorUpdateTemplate * pDescriptorUpdateTemplate ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDescriptorUpdateTemplateKHR( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); - } - - void vkDestroyDescriptorUpdateTemplateKHR( VkDevice device, - VkDescriptorUpdateTemplate descriptorUpdateTemplate, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDescriptorUpdateTemplateKHR( device, descriptorUpdateTemplate, pAllocator ); - } - - void vkUpdateDescriptorSetWithTemplateKHR( VkDevice device, - VkDescriptorSet descriptorSet, - VkDescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkUpdateDescriptorSetWithTemplateKHR( device, descriptorSet, descriptorUpdateTemplate, pData ); - } - - //=== VK_NV_clip_space_w_scaling === - - void vkCmdSetViewportWScalingNV( VkCommandBuffer commandBuffer, - uint32_t firstViewport, - uint32_t viewportCount, - const VkViewportWScalingNV * pViewportWScalings ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings ); - } - - //=== VK_EXT_direct_mode_display === - - VkResult vkReleaseDisplayEXT( VkPhysicalDevice physicalDevice, VkDisplayKHR display ) const VULKAN_HPP_NOEXCEPT - { - return ::vkReleaseDisplayEXT( physicalDevice, display ); - } - -# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - - //=== VK_EXT_acquire_xlib_display === - - VkResult vkAcquireXlibDisplayEXT( VkPhysicalDevice physicalDevice, - Display * dpy, - VkDisplayKHR display ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireXlibDisplayEXT( physicalDevice, dpy, display ); - } - - VkResult vkGetRandROutputDisplayEXT( VkPhysicalDevice physicalDevice, - Display * dpy, - RROutput rrOutput, - VkDisplayKHR * pDisplay ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRandROutputDisplayEXT( physicalDevice, dpy, rrOutput, pDisplay ); - } -# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - - //=== VK_EXT_display_surface_counter === - - VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT( VkPhysicalDevice physicalDevice, - VkSurfaceKHR surface, - VkSurfaceCapabilities2EXT * pSurfaceCapabilities ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceCapabilities2EXT( physicalDevice, surface, pSurfaceCapabilities ); - } - - //=== VK_EXT_display_control === - - VkResult vkDisplayPowerControlEXT( VkDevice device, - VkDisplayKHR display, - const VkDisplayPowerInfoEXT * pDisplayPowerInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDisplayPowerControlEXT( device, display, pDisplayPowerInfo ); - } - - VkResult vkRegisterDeviceEventEXT( VkDevice device, - const VkDeviceEventInfoEXT * pDeviceEventInfo, - const VkAllocationCallbacks * pAllocator, - VkFence * pFence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkRegisterDeviceEventEXT( device, pDeviceEventInfo, pAllocator, pFence ); - } - - VkResult vkRegisterDisplayEventEXT( VkDevice device, - VkDisplayKHR display, - const VkDisplayEventInfoEXT * pDisplayEventInfo, - const VkAllocationCallbacks * pAllocator, - VkFence * pFence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkRegisterDisplayEventEXT( device, display, pDisplayEventInfo, pAllocator, pFence ); - } - - VkResult vkGetSwapchainCounterEXT( VkDevice device, - VkSwapchainKHR swapchain, - VkSurfaceCounterFlagBitsEXT counter, - uint64_t * pCounterValue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSwapchainCounterEXT( device, swapchain, counter, pCounterValue ); - } - - //=== VK_GOOGLE_display_timing === - - VkResult vkGetRefreshCycleDurationGOOGLE( VkDevice device, - VkSwapchainKHR swapchain, - VkRefreshCycleDurationGOOGLE * pDisplayTimingProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetRefreshCycleDurationGOOGLE( device, swapchain, pDisplayTimingProperties ); - } - - VkResult vkGetPastPresentationTimingGOOGLE( VkDevice device, - VkSwapchainKHR swapchain, - uint32_t * pPresentationTimingCount, - VkPastPresentationTimingGOOGLE * pPresentationTimings ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPastPresentationTimingGOOGLE( device, swapchain, pPresentationTimingCount, pPresentationTimings ); - } - - //=== VK_EXT_discard_rectangles === - - void vkCmdSetDiscardRectangleEXT( VkCommandBuffer commandBuffer, - uint32_t firstDiscardRectangle, - uint32_t discardRectangleCount, - const VkRect2D * pDiscardRectangles ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDiscardRectangleEXT( - commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles ); - } - - //=== VK_EXT_hdr_metadata === - - void vkSetHdrMetadataEXT( VkDevice device, - uint32_t swapchainCount, - const VkSwapchainKHR * pSwapchains, - const VkHdrMetadataEXT * pMetadata ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetHdrMetadataEXT( device, swapchainCount, pSwapchains, pMetadata ); - } - - //=== VK_KHR_create_renderpass2 === - - VkResult vkCreateRenderPass2KHR( VkDevice device, - const VkRenderPassCreateInfo2 * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkRenderPass * pRenderPass ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateRenderPass2KHR( device, pCreateInfo, pAllocator, pRenderPass ); - } - - void vkCmdBeginRenderPass2KHR( VkCommandBuffer commandBuffer, - const VkRenderPassBeginInfo * pRenderPassBegin, - const VkSubpassBeginInfo * pSubpassBeginInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginRenderPass2KHR( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); - } - - void vkCmdNextSubpass2KHR( VkCommandBuffer commandBuffer, - const VkSubpassBeginInfo * pSubpassBeginInfo, - const VkSubpassEndInfo * pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdNextSubpass2KHR( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); - } - - void vkCmdEndRenderPass2KHR( VkCommandBuffer commandBuffer, - const VkSubpassEndInfo * pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndRenderPass2KHR( commandBuffer, pSubpassEndInfo ); - } - - //=== VK_KHR_shared_presentable_image === - - VkResult vkGetSwapchainStatusKHR( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSwapchainStatusKHR( device, swapchain ); - } - - //=== VK_KHR_external_fence_capabilities === - - void vkGetPhysicalDeviceExternalFencePropertiesKHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VkExternalFenceProperties * pExternalFenceProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceExternalFencePropertiesKHR( - physicalDevice, pExternalFenceInfo, pExternalFenceProperties ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_KHR_external_fence_win32 === - - VkResult vkImportFenceWin32HandleKHR( - VkDevice device, const VkImportFenceWin32HandleInfoKHR * pImportFenceWin32HandleInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkImportFenceWin32HandleKHR( device, pImportFenceWin32HandleInfo ); - } - - VkResult vkGetFenceWin32HandleKHR( VkDevice device, - const VkFenceGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetFenceWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_KHR_external_fence_fd === - - VkResult vkImportFenceFdKHR( VkDevice device, - const VkImportFenceFdInfoKHR * pImportFenceFdInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkImportFenceFdKHR( device, pImportFenceFdInfo ); - } - - VkResult - vkGetFenceFdKHR( VkDevice device, const VkFenceGetFdInfoKHR * pGetFdInfo, int * pFd ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetFenceFdKHR( device, pGetFdInfo, pFd ); - } - - //=== VK_KHR_performance_query === - - VkResult vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - uint32_t * pCounterCount, - VkPerformanceCounterKHR * pCounters, - VkPerformanceCounterDescriptionKHR * pCounterDescriptions ) const VULKAN_HPP_NOEXCEPT - { - return ::vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions ); - } - - void vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - VkPhysicalDevice physicalDevice, - const VkQueryPoolPerformanceCreateInfoKHR * pPerformanceQueryCreateInfo, - uint32_t * pNumPasses ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - physicalDevice, pPerformanceQueryCreateInfo, pNumPasses ); - } - - VkResult vkAcquireProfilingLockKHR( VkDevice device, - const VkAcquireProfilingLockInfoKHR * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireProfilingLockKHR( device, pInfo ); - } - - void vkReleaseProfilingLockKHR( VkDevice device ) const VULKAN_HPP_NOEXCEPT - { - return ::vkReleaseProfilingLockKHR( device ); - } - - //=== VK_KHR_get_surface_capabilities2 === - - VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VkSurfaceCapabilities2KHR * pSurfaceCapabilities ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceCapabilities2KHR( physicalDevice, pSurfaceInfo, pSurfaceCapabilities ); - } - - VkResult vkGetPhysicalDeviceSurfaceFormats2KHR( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pSurfaceFormatCount, - VkSurfaceFormat2KHR * pSurfaceFormats ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfaceFormats2KHR( - physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats ); - } - - //=== VK_KHR_get_display_properties2 === - - VkResult vkGetPhysicalDeviceDisplayProperties2KHR( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkDisplayProperties2KHR * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceDisplayProperties2KHR( physicalDevice, pPropertyCount, pProperties ); - } - - VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkDisplayPlaneProperties2KHR * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceDisplayPlaneProperties2KHR( physicalDevice, pPropertyCount, pProperties ); - } - - VkResult vkGetDisplayModeProperties2KHR( VkPhysicalDevice physicalDevice, - VkDisplayKHR display, - uint32_t * pPropertyCount, - VkDisplayModeProperties2KHR * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDisplayModeProperties2KHR( physicalDevice, display, pPropertyCount, pProperties ); - } - - VkResult - vkGetDisplayPlaneCapabilities2KHR( VkPhysicalDevice physicalDevice, - const VkDisplayPlaneInfo2KHR * pDisplayPlaneInfo, - VkDisplayPlaneCapabilities2KHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDisplayPlaneCapabilities2KHR( physicalDevice, pDisplayPlaneInfo, pCapabilities ); - } - -# if defined( VK_USE_PLATFORM_IOS_MVK ) - - //=== VK_MVK_ios_surface === - - VkResult vkCreateIOSSurfaceMVK( VkInstance instance, - const VkIOSSurfaceCreateInfoMVK * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateIOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_IOS_MVK*/ - -# if defined( VK_USE_PLATFORM_MACOS_MVK ) - - //=== VK_MVK_macos_surface === - - VkResult vkCreateMacOSSurfaceMVK( VkInstance instance, - const VkMacOSSurfaceCreateInfoMVK * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateMacOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_MACOS_MVK*/ - - //=== VK_EXT_debug_utils === - - VkResult vkSetDebugUtilsObjectNameEXT( VkDevice device, - const VkDebugUtilsObjectNameInfoEXT * pNameInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetDebugUtilsObjectNameEXT( device, pNameInfo ); - } - - VkResult vkSetDebugUtilsObjectTagEXT( VkDevice device, - const VkDebugUtilsObjectTagInfoEXT * pTagInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetDebugUtilsObjectTagEXT( device, pTagInfo ); - } - - void vkQueueBeginDebugUtilsLabelEXT( VkQueue queue, - const VkDebugUtilsLabelEXT * pLabelInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueBeginDebugUtilsLabelEXT( queue, pLabelInfo ); - } - - void vkQueueEndDebugUtilsLabelEXT( VkQueue queue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueEndDebugUtilsLabelEXT( queue ); - } - - void vkQueueInsertDebugUtilsLabelEXT( VkQueue queue, - const VkDebugUtilsLabelEXT * pLabelInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueInsertDebugUtilsLabelEXT( queue, pLabelInfo ); - } - - void vkCmdBeginDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, - const VkDebugUtilsLabelEXT * pLabelInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); - } - - void vkCmdEndDebugUtilsLabelEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEndDebugUtilsLabelEXT( commandBuffer ); - } - - void vkCmdInsertDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, - const VkDebugUtilsLabelEXT * pLabelInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); - } - - VkResult vkCreateDebugUtilsMessengerEXT( VkInstance instance, - const VkDebugUtilsMessengerCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkDebugUtilsMessengerEXT * pMessenger ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDebugUtilsMessengerEXT( instance, pCreateInfo, pAllocator, pMessenger ); - } - - void vkDestroyDebugUtilsMessengerEXT( VkInstance instance, - VkDebugUtilsMessengerEXT messenger, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDebugUtilsMessengerEXT( instance, messenger, pAllocator ); - } - - void vkSubmitDebugUtilsMessageEXT( VkInstance instance, - VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VkDebugUtilsMessageTypeFlagsEXT messageTypes, - const VkDebugUtilsMessengerCallbackDataEXT * pCallbackData ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkSubmitDebugUtilsMessageEXT( instance, messageSeverity, messageTypes, pCallbackData ); - } - -# if defined( VK_USE_PLATFORM_ANDROID_KHR ) - - //=== VK_ANDROID_external_memory_android_hardware_buffer === - - VkResult vkGetAndroidHardwareBufferPropertiesANDROID( VkDevice device, - const struct AHardwareBuffer * buffer, - VkAndroidHardwareBufferPropertiesANDROID * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetAndroidHardwareBufferPropertiesANDROID( device, buffer, pProperties ); - } - - VkResult vkGetMemoryAndroidHardwareBufferANDROID( VkDevice device, - const VkMemoryGetAndroidHardwareBufferInfoANDROID * pInfo, - struct AHardwareBuffer ** pBuffer ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryAndroidHardwareBufferANDROID( device, pInfo, pBuffer ); - } -# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - //=== VK_EXT_sample_locations === - - void vkCmdSetSampleLocationsEXT( VkCommandBuffer commandBuffer, - const VkSampleLocationsInfoEXT * pSampleLocationsInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo ); - } - - void vkGetPhysicalDeviceMultisamplePropertiesEXT( VkPhysicalDevice physicalDevice, - VkSampleCountFlagBits samples, - VkMultisamplePropertiesEXT * pMultisampleProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceMultisamplePropertiesEXT( physicalDevice, samples, pMultisampleProperties ); - } - - //=== VK_KHR_get_memory_requirements2 === - - void vkGetImageMemoryRequirements2KHR( VkDevice device, - const VkImageMemoryRequirementsInfo2 * pInfo, - VkMemoryRequirements2 * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageMemoryRequirements2KHR( device, pInfo, pMemoryRequirements ); - } - - void vkGetBufferMemoryRequirements2KHR( VkDevice device, - const VkBufferMemoryRequirementsInfo2 * pInfo, - VkMemoryRequirements2 * pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferMemoryRequirements2KHR( device, pInfo, pMemoryRequirements ); - } - - void vkGetImageSparseMemoryRequirements2KHR( VkDevice device, - const VkImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VkSparseImageMemoryRequirements2 * pSparseMemoryRequirements ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageSparseMemoryRequirements2KHR( - device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); - } - - //=== VK_KHR_acceleration_structure === - - VkResult - vkCreateAccelerationStructureKHR( VkDevice device, - const VkAccelerationStructureCreateInfoKHR * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkAccelerationStructureKHR * pAccelerationStructure ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateAccelerationStructureKHR( device, pCreateInfo, pAllocator, pAccelerationStructure ); - } - - void vkDestroyAccelerationStructureKHR( VkDevice device, - VkAccelerationStructureKHR accelerationStructure, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyAccelerationStructureKHR( device, accelerationStructure, pAllocator ); - } - - void vkCmdBuildAccelerationStructuresKHR( - VkCommandBuffer commandBuffer, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR * pInfos, - const VkAccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBuildAccelerationStructuresKHR( commandBuffer, infoCount, pInfos, ppBuildRangeInfos ); - } - - void vkCmdBuildAccelerationStructuresIndirectKHR( VkCommandBuffer commandBuffer, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR * pInfos, - const VkDeviceAddress * pIndirectDeviceAddresses, - const uint32_t * pIndirectStrides, - const uint32_t * const * ppMaxPrimitiveCounts ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBuildAccelerationStructuresIndirectKHR( - commandBuffer, infoCount, pInfos, pIndirectDeviceAddresses, pIndirectStrides, ppMaxPrimitiveCounts ); - } - - VkResult vkBuildAccelerationStructuresKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR * pInfos, - const VkAccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBuildAccelerationStructuresKHR( device, deferredOperation, infoCount, pInfos, ppBuildRangeInfos ); - } - - VkResult - vkCopyAccelerationStructureKHR( VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyAccelerationStructureInfoKHR * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCopyAccelerationStructureKHR( device, deferredOperation, pInfo ); - } - - VkResult vkCopyAccelerationStructureToMemoryKHR( VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyAccelerationStructureToMemoryInfoKHR * pInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCopyAccelerationStructureToMemoryKHR( device, deferredOperation, pInfo ); - } - - VkResult vkCopyMemoryToAccelerationStructureKHR( VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyMemoryToAccelerationStructureInfoKHR * pInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCopyMemoryToAccelerationStructureKHR( device, deferredOperation, pInfo ); - } - - VkResult vkWriteAccelerationStructuresPropertiesKHR( VkDevice device, - uint32_t accelerationStructureCount, - const VkAccelerationStructureKHR * pAccelerationStructures, - VkQueryType queryType, - size_t dataSize, - void * pData, - size_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkWriteAccelerationStructuresPropertiesKHR( - device, accelerationStructureCount, pAccelerationStructures, queryType, dataSize, pData, stride ); - } - - void vkCmdCopyAccelerationStructureKHR( VkCommandBuffer commandBuffer, - const VkCopyAccelerationStructureInfoKHR * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyAccelerationStructureKHR( commandBuffer, pInfo ); - } - - void vkCmdCopyAccelerationStructureToMemoryKHR( VkCommandBuffer commandBuffer, - const VkCopyAccelerationStructureToMemoryInfoKHR * pInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyAccelerationStructureToMemoryKHR( commandBuffer, pInfo ); - } - - void vkCmdCopyMemoryToAccelerationStructureKHR( VkCommandBuffer commandBuffer, - const VkCopyMemoryToAccelerationStructureInfoKHR * pInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyMemoryToAccelerationStructureKHR( commandBuffer, pInfo ); - } - - VkDeviceAddress vkGetAccelerationStructureDeviceAddressKHR( - VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetAccelerationStructureDeviceAddressKHR( device, pInfo ); - } - - void vkCmdWriteAccelerationStructuresPropertiesKHR( VkCommandBuffer commandBuffer, - uint32_t accelerationStructureCount, - const VkAccelerationStructureKHR * pAccelerationStructures, - VkQueryType queryType, - VkQueryPool queryPool, - uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteAccelerationStructuresPropertiesKHR( - commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); - } - - void vkGetDeviceAccelerationStructureCompatibilityKHR( - VkDevice device, - const VkAccelerationStructureVersionInfoKHR * pVersionInfo, - VkAccelerationStructureCompatibilityKHR * pCompatibility ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceAccelerationStructureCompatibilityKHR( device, pVersionInfo, pCompatibility ); - } - - void vkGetAccelerationStructureBuildSizesKHR( VkDevice device, - VkAccelerationStructureBuildTypeKHR buildType, - const VkAccelerationStructureBuildGeometryInfoKHR * pBuildInfo, - const uint32_t * pMaxPrimitiveCounts, - VkAccelerationStructureBuildSizesInfoKHR * pSizeInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetAccelerationStructureBuildSizesKHR( device, buildType, pBuildInfo, pMaxPrimitiveCounts, pSizeInfo ); - } - - //=== VK_KHR_sampler_ycbcr_conversion === - - VkResult vkCreateSamplerYcbcrConversionKHR( VkDevice device, - const VkSamplerYcbcrConversionCreateInfo * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSamplerYcbcrConversion * pYcbcrConversion ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateSamplerYcbcrConversionKHR( device, pCreateInfo, pAllocator, pYcbcrConversion ); - } - - void vkDestroySamplerYcbcrConversionKHR( VkDevice device, - VkSamplerYcbcrConversion ycbcrConversion, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroySamplerYcbcrConversionKHR( device, ycbcrConversion, pAllocator ); - } - - //=== VK_KHR_bind_memory2 === - - VkResult vkBindBufferMemory2KHR( VkDevice device, - uint32_t bindInfoCount, - const VkBindBufferMemoryInfo * pBindInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindBufferMemory2KHR( device, bindInfoCount, pBindInfos ); - } - - VkResult vkBindImageMemory2KHR( VkDevice device, - uint32_t bindInfoCount, - const VkBindImageMemoryInfo * pBindInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkBindImageMemory2KHR( device, bindInfoCount, pBindInfos ); - } - - //=== VK_EXT_image_drm_format_modifier === - - VkResult vkGetImageDrmFormatModifierPropertiesEXT( - VkDevice device, VkImage image, VkImageDrmFormatModifierPropertiesEXT * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetImageDrmFormatModifierPropertiesEXT( device, image, pProperties ); - } - - //=== VK_EXT_validation_cache === - - VkResult vkCreateValidationCacheEXT( VkDevice device, - const VkValidationCacheCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkValidationCacheEXT * pValidationCache ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateValidationCacheEXT( device, pCreateInfo, pAllocator, pValidationCache ); - } - - void vkDestroyValidationCacheEXT( VkDevice device, - VkValidationCacheEXT validationCache, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyValidationCacheEXT( device, validationCache, pAllocator ); - } - - VkResult vkMergeValidationCachesEXT( VkDevice device, - VkValidationCacheEXT dstCache, - uint32_t srcCacheCount, - const VkValidationCacheEXT * pSrcCaches ) const VULKAN_HPP_NOEXCEPT - { - return ::vkMergeValidationCachesEXT( device, dstCache, srcCacheCount, pSrcCaches ); - } - - VkResult vkGetValidationCacheDataEXT( VkDevice device, - VkValidationCacheEXT validationCache, - size_t * pDataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetValidationCacheDataEXT( device, validationCache, pDataSize, pData ); - } - - //=== VK_NV_shading_rate_image === - - void vkCmdBindShadingRateImageNV( VkCommandBuffer commandBuffer, - VkImageView imageView, - VkImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindShadingRateImageNV( commandBuffer, imageView, imageLayout ); - } - - void vkCmdSetViewportShadingRatePaletteNV( VkCommandBuffer commandBuffer, - uint32_t firstViewport, - uint32_t viewportCount, - const VkShadingRatePaletteNV * pShadingRatePalettes ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetViewportShadingRatePaletteNV( - commandBuffer, firstViewport, viewportCount, pShadingRatePalettes ); - } - - void - vkCmdSetCoarseSampleOrderNV( VkCommandBuffer commandBuffer, - VkCoarseSampleOrderTypeNV sampleOrderType, - uint32_t customSampleOrderCount, - const VkCoarseSampleOrderCustomNV * pCustomSampleOrders ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetCoarseSampleOrderNV( - commandBuffer, sampleOrderType, customSampleOrderCount, pCustomSampleOrders ); - } - - //=== VK_NV_ray_tracing === - - VkResult - vkCreateAccelerationStructureNV( VkDevice device, - const VkAccelerationStructureCreateInfoNV * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkAccelerationStructureNV * pAccelerationStructure ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateAccelerationStructureNV( device, pCreateInfo, pAllocator, pAccelerationStructure ); - } - - void vkDestroyAccelerationStructureNV( VkDevice device, - VkAccelerationStructureNV accelerationStructure, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyAccelerationStructureNV( device, accelerationStructure, pAllocator ); - } - - void vkGetAccelerationStructureMemoryRequirementsNV( VkDevice device, - const VkAccelerationStructureMemoryRequirementsInfoNV * pInfo, - VkMemoryRequirements2KHR * pMemoryRequirements ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetAccelerationStructureMemoryRequirementsNV( device, pInfo, pMemoryRequirements ); - } - - VkResult vkBindAccelerationStructureMemoryNV( VkDevice device, - uint32_t bindInfoCount, - const VkBindAccelerationStructureMemoryInfoNV * pBindInfos ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkBindAccelerationStructureMemoryNV( device, bindInfoCount, pBindInfos ); - } - - void vkCmdBuildAccelerationStructureNV( VkCommandBuffer commandBuffer, - const VkAccelerationStructureInfoNV * pInfo, - VkBuffer instanceData, - VkDeviceSize instanceOffset, - VkBool32 update, - VkAccelerationStructureNV dst, - VkAccelerationStructureNV src, - VkBuffer scratch, - VkDeviceSize scratchOffset ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBuildAccelerationStructureNV( - commandBuffer, pInfo, instanceData, instanceOffset, update, dst, src, scratch, scratchOffset ); - } - - void vkCmdCopyAccelerationStructureNV( VkCommandBuffer commandBuffer, - VkAccelerationStructureNV dst, - VkAccelerationStructureNV src, - VkCopyAccelerationStructureModeKHR mode ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyAccelerationStructureNV( commandBuffer, dst, src, mode ); - } - - void vkCmdTraceRaysNV( VkCommandBuffer commandBuffer, - VkBuffer raygenShaderBindingTableBuffer, - VkDeviceSize raygenShaderBindingOffset, - VkBuffer missShaderBindingTableBuffer, - VkDeviceSize missShaderBindingOffset, - VkDeviceSize missShaderBindingStride, - VkBuffer hitShaderBindingTableBuffer, - VkDeviceSize hitShaderBindingOffset, - VkDeviceSize hitShaderBindingStride, - VkBuffer callableShaderBindingTableBuffer, - VkDeviceSize callableShaderBindingOffset, - VkDeviceSize callableShaderBindingStride, - uint32_t width, - uint32_t height, - uint32_t depth ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdTraceRaysNV( commandBuffer, - raygenShaderBindingTableBuffer, - raygenShaderBindingOffset, - missShaderBindingTableBuffer, - missShaderBindingOffset, - missShaderBindingStride, - hitShaderBindingTableBuffer, - hitShaderBindingOffset, - hitShaderBindingStride, - callableShaderBindingTableBuffer, - callableShaderBindingOffset, - callableShaderBindingStride, - width, - height, - depth ); - } - - VkResult vkCreateRayTracingPipelinesNV( VkDevice device, - VkPipelineCache pipelineCache, - uint32_t createInfoCount, - const VkRayTracingPipelineCreateInfoNV * pCreateInfos, - const VkAllocationCallbacks * pAllocator, - VkPipeline * pPipelines ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateRayTracingPipelinesNV( - device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); - } - - VkResult vkGetRayTracingShaderGroupHandlesNV( VkDevice device, - VkPipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRayTracingShaderGroupHandlesNV( device, pipeline, firstGroup, groupCount, dataSize, pData ); - } - - VkResult vkGetAccelerationStructureHandleNV( VkDevice device, - VkAccelerationStructureNV accelerationStructure, - size_t dataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetAccelerationStructureHandleNV( device, accelerationStructure, dataSize, pData ); - } - - void vkCmdWriteAccelerationStructuresPropertiesNV( VkCommandBuffer commandBuffer, - uint32_t accelerationStructureCount, - const VkAccelerationStructureNV * pAccelerationStructures, - VkQueryType queryType, - VkQueryPool queryPool, - uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteAccelerationStructuresPropertiesNV( - commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); - } - - VkResult vkCompileDeferredNV( VkDevice device, VkPipeline pipeline, uint32_t shader ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCompileDeferredNV( device, pipeline, shader ); - } - - //=== VK_KHR_maintenance3 === - - void vkGetDescriptorSetLayoutSupportKHR( VkDevice device, - const VkDescriptorSetLayoutCreateInfo * pCreateInfo, - VkDescriptorSetLayoutSupport * pSupport ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDescriptorSetLayoutSupportKHR( device, pCreateInfo, pSupport ); - } - - //=== VK_KHR_draw_indirect_count === - - void vkCmdDrawIndirectCountKHR( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndirectCountKHR( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - void vkCmdDrawIndexedIndirectCountKHR( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawIndexedIndirectCountKHR( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - //=== VK_EXT_external_memory_host === - - VkResult vkGetMemoryHostPointerPropertiesEXT( - VkDevice device, - VkExternalMemoryHandleTypeFlagBits handleType, - const void * pHostPointer, - VkMemoryHostPointerPropertiesEXT * pMemoryHostPointerProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryHostPointerPropertiesEXT( device, handleType, pHostPointer, pMemoryHostPointerProperties ); - } - - //=== VK_AMD_buffer_marker === - - void vkCmdWriteBufferMarkerAMD( VkCommandBuffer commandBuffer, - VkPipelineStageFlagBits pipelineStage, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - uint32_t marker ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker ); - } - - //=== VK_EXT_calibrated_timestamps === - - VkResult vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( VkPhysicalDevice physicalDevice, - uint32_t * pTimeDomainCount, - VkTimeDomainEXT * pTimeDomains ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( physicalDevice, pTimeDomainCount, pTimeDomains ); - } - - VkResult vkGetCalibratedTimestampsEXT( VkDevice device, - uint32_t timestampCount, - const VkCalibratedTimestampInfoEXT * pTimestampInfos, - uint64_t * pTimestamps, - uint64_t * pMaxDeviation ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetCalibratedTimestampsEXT( device, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation ); - } - - //=== VK_NV_mesh_shader === - - void vkCmdDrawMeshTasksNV( VkCommandBuffer commandBuffer, - uint32_t taskCount, - uint32_t firstTask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawMeshTasksNV( commandBuffer, taskCount, firstTask ); - } - - void vkCmdDrawMeshTasksIndirectNV( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - uint32_t drawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawMeshTasksIndirectNV( commandBuffer, buffer, offset, drawCount, stride ); - } - - void vkCmdDrawMeshTasksIndirectCountNV( VkCommandBuffer commandBuffer, - VkBuffer buffer, - VkDeviceSize offset, - VkBuffer countBuffer, - VkDeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdDrawMeshTasksIndirectCountNV( - commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); - } - - //=== VK_NV_scissor_exclusive === - - void vkCmdSetExclusiveScissorNV( VkCommandBuffer commandBuffer, - uint32_t firstExclusiveScissor, - uint32_t exclusiveScissorCount, - const VkRect2D * pExclusiveScissors ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetExclusiveScissorNV( - commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors ); - } - - //=== VK_NV_device_diagnostic_checkpoints === - - void vkCmdSetCheckpointNV( VkCommandBuffer commandBuffer, const void * pCheckpointMarker ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetCheckpointNV( commandBuffer, pCheckpointMarker ); - } - - void vkGetQueueCheckpointDataNV( VkQueue queue, - uint32_t * pCheckpointDataCount, - VkCheckpointDataNV * pCheckpointData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetQueueCheckpointDataNV( queue, pCheckpointDataCount, pCheckpointData ); - } - - //=== VK_KHR_timeline_semaphore === - - VkResult vkGetSemaphoreCounterValueKHR( VkDevice device, - VkSemaphore semaphore, - uint64_t * pValue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSemaphoreCounterValueKHR( device, semaphore, pValue ); - } - - VkResult vkWaitSemaphoresKHR( VkDevice device, - const VkSemaphoreWaitInfo * pWaitInfo, - uint64_t timeout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkWaitSemaphoresKHR( device, pWaitInfo, timeout ); - } - - VkResult vkSignalSemaphoreKHR( VkDevice device, - const VkSemaphoreSignalInfo * pSignalInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSignalSemaphoreKHR( device, pSignalInfo ); - } - - //=== VK_INTEL_performance_query === - - VkResult vkInitializePerformanceApiINTEL( - VkDevice device, const VkInitializePerformanceApiInfoINTEL * pInitializeInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkInitializePerformanceApiINTEL( device, pInitializeInfo ); - } - - void vkUninitializePerformanceApiINTEL( VkDevice device ) const VULKAN_HPP_NOEXCEPT - { - return ::vkUninitializePerformanceApiINTEL( device ); - } - - VkResult - vkCmdSetPerformanceMarkerINTEL( VkCommandBuffer commandBuffer, - const VkPerformanceMarkerInfoINTEL * pMarkerInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPerformanceMarkerINTEL( commandBuffer, pMarkerInfo ); - } - - VkResult vkCmdSetPerformanceStreamMarkerINTEL( - VkCommandBuffer commandBuffer, const VkPerformanceStreamMarkerInfoINTEL * pMarkerInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPerformanceStreamMarkerINTEL( commandBuffer, pMarkerInfo ); - } - - VkResult - vkCmdSetPerformanceOverrideINTEL( VkCommandBuffer commandBuffer, - const VkPerformanceOverrideInfoINTEL * pOverrideInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPerformanceOverrideINTEL( commandBuffer, pOverrideInfo ); - } - - VkResult vkAcquirePerformanceConfigurationINTEL( VkDevice device, - const VkPerformanceConfigurationAcquireInfoINTEL * pAcquireInfo, - VkPerformanceConfigurationINTEL * pConfiguration ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkAcquirePerformanceConfigurationINTEL( device, pAcquireInfo, pConfiguration ); - } - - VkResult - vkReleasePerformanceConfigurationINTEL( VkDevice device, - VkPerformanceConfigurationINTEL configuration ) const VULKAN_HPP_NOEXCEPT - { - return ::vkReleasePerformanceConfigurationINTEL( device, configuration ); - } - - VkResult - vkQueueSetPerformanceConfigurationINTEL( VkQueue queue, - VkPerformanceConfigurationINTEL configuration ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueSetPerformanceConfigurationINTEL( queue, configuration ); - } - - VkResult vkGetPerformanceParameterINTEL( VkDevice device, - VkPerformanceParameterTypeINTEL parameter, - VkPerformanceValueINTEL * pValue ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPerformanceParameterINTEL( device, parameter, pValue ); - } - - //=== VK_AMD_display_native_hdr === - - void vkSetLocalDimmingAMD( VkDevice device, - VkSwapchainKHR swapChain, - VkBool32 localDimmingEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetLocalDimmingAMD( device, swapChain, localDimmingEnable ); - } - -# if defined( VK_USE_PLATFORM_FUCHSIA ) - - //=== VK_FUCHSIA_imagepipe_surface === - - VkResult vkCreateImagePipeSurfaceFUCHSIA( VkInstance instance, - const VkImagePipeSurfaceCreateInfoFUCHSIA * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateImagePipeSurfaceFUCHSIA( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_FUCHSIA*/ - -# if defined( VK_USE_PLATFORM_METAL_EXT ) - - //=== VK_EXT_metal_surface === - - VkResult vkCreateMetalSurfaceEXT( VkInstance instance, - const VkMetalSurfaceCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateMetalSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); - } -# endif /*VK_USE_PLATFORM_METAL_EXT*/ - - //=== VK_KHR_fragment_shading_rate === - - VkResult vkGetPhysicalDeviceFragmentShadingRatesKHR( - VkPhysicalDevice physicalDevice, - uint32_t * pFragmentShadingRateCount, - VkPhysicalDeviceFragmentShadingRateKHR * pFragmentShadingRates ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceFragmentShadingRatesKHR( - physicalDevice, pFragmentShadingRateCount, pFragmentShadingRates ); - } - - void vkCmdSetFragmentShadingRateKHR( VkCommandBuffer commandBuffer, - const VkExtent2D * pFragmentSize, - const VkFragmentShadingRateCombinerOpKHR combinerOps[2] ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetFragmentShadingRateKHR( commandBuffer, pFragmentSize, combinerOps ); - } - - //=== VK_EXT_buffer_device_address === - - VkDeviceAddress vkGetBufferDeviceAddressEXT( VkDevice device, - const VkBufferDeviceAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferDeviceAddressEXT( device, pInfo ); - } - - //=== VK_EXT_tooling_info === - - VkResult vkGetPhysicalDeviceToolPropertiesEXT( VkPhysicalDevice physicalDevice, - uint32_t * pToolCount, - VkPhysicalDeviceToolPropertiesEXT * pToolProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceToolPropertiesEXT( physicalDevice, pToolCount, pToolProperties ); - } - - //=== VK_NV_cooperative_matrix === - - VkResult vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( VkPhysicalDevice physicalDevice, - uint32_t * pPropertyCount, - VkCooperativeMatrixPropertiesNV * pProperties ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( physicalDevice, pPropertyCount, pProperties ); - } - - //=== VK_NV_coverage_reduction_mode === - - VkResult vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - VkPhysicalDevice physicalDevice, - uint32_t * pCombinationCount, - VkFramebufferMixedSamplesCombinationNV * pCombinations ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - physicalDevice, pCombinationCount, pCombinations ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_EXT_full_screen_exclusive === - - VkResult vkGetPhysicalDeviceSurfacePresentModes2EXT( VkPhysicalDevice physicalDevice, - const VkPhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pPresentModeCount, - VkPresentModeKHR * pPresentModes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceSurfacePresentModes2EXT( - physicalDevice, pSurfaceInfo, pPresentModeCount, pPresentModes ); - } - - VkResult vkAcquireFullScreenExclusiveModeEXT( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireFullScreenExclusiveModeEXT( device, swapchain ); - } - - VkResult vkReleaseFullScreenExclusiveModeEXT( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT - { - return ::vkReleaseFullScreenExclusiveModeEXT( device, swapchain ); - } - - VkResult - vkGetDeviceGroupSurfacePresentModes2EXT( VkDevice device, - const VkPhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VkDeviceGroupPresentModeFlagsKHR * pModes ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceGroupSurfacePresentModes2EXT( device, pSurfaceInfo, pModes ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_EXT_headless_surface === - - VkResult vkCreateHeadlessSurfaceEXT( VkInstance instance, - const VkHeadlessSurfaceCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateHeadlessSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); - } - - //=== VK_KHR_buffer_device_address === - - VkDeviceAddress vkGetBufferDeviceAddressKHR( VkDevice device, - const VkBufferDeviceAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferDeviceAddressKHR( device, pInfo ); - } - - uint64_t vkGetBufferOpaqueCaptureAddressKHR( VkDevice device, - const VkBufferDeviceAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetBufferOpaqueCaptureAddressKHR( device, pInfo ); - } - - uint64_t vkGetDeviceMemoryOpaqueCaptureAddressKHR( - VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo * pInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeviceMemoryOpaqueCaptureAddressKHR( device, pInfo ); - } - - //=== VK_EXT_line_rasterization === - - void vkCmdSetLineStippleEXT( VkCommandBuffer commandBuffer, - uint32_t lineStippleFactor, - uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetLineStippleEXT( commandBuffer, lineStippleFactor, lineStipplePattern ); - } - - //=== VK_EXT_host_query_reset === - - void vkResetQueryPoolEXT( VkDevice device, - VkQueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT - { - return ::vkResetQueryPoolEXT( device, queryPool, firstQuery, queryCount ); - } - - //=== VK_EXT_extended_dynamic_state === - - void vkCmdSetCullModeEXT( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetCullModeEXT( commandBuffer, cullMode ); - } - - void vkCmdSetFrontFaceEXT( VkCommandBuffer commandBuffer, VkFrontFace frontFace ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetFrontFaceEXT( commandBuffer, frontFace ); - } - - void vkCmdSetPrimitiveTopologyEXT( VkCommandBuffer commandBuffer, - VkPrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPrimitiveTopologyEXT( commandBuffer, primitiveTopology ); - } - - void vkCmdSetViewportWithCountEXT( VkCommandBuffer commandBuffer, - uint32_t viewportCount, - const VkViewport * pViewports ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetViewportWithCountEXT( commandBuffer, viewportCount, pViewports ); - } - - void vkCmdSetScissorWithCountEXT( VkCommandBuffer commandBuffer, - uint32_t scissorCount, - const VkRect2D * pScissors ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetScissorWithCountEXT( commandBuffer, scissorCount, pScissors ); - } - - void vkCmdBindVertexBuffers2EXT( VkCommandBuffer commandBuffer, - uint32_t firstBinding, - uint32_t bindingCount, - const VkBuffer * pBuffers, - const VkDeviceSize * pOffsets, - const VkDeviceSize * pSizes, - const VkDeviceSize * pStrides ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindVertexBuffers2EXT( - commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides ); - } - - void vkCmdSetDepthTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthTestEnableEXT( commandBuffer, depthTestEnable ); - } - - void vkCmdSetDepthWriteEnableEXT( VkCommandBuffer commandBuffer, - VkBool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthWriteEnableEXT( commandBuffer, depthWriteEnable ); - } - - void vkCmdSetDepthCompareOpEXT( VkCommandBuffer commandBuffer, - VkCompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthCompareOpEXT( commandBuffer, depthCompareOp ); - } - - void vkCmdSetDepthBoundsTestEnableEXT( VkCommandBuffer commandBuffer, - VkBool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthBoundsTestEnableEXT( commandBuffer, depthBoundsTestEnable ); - } - - void vkCmdSetStencilTestEnableEXT( VkCommandBuffer commandBuffer, - VkBool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetStencilTestEnableEXT( commandBuffer, stencilTestEnable ); - } - - void vkCmdSetStencilOpEXT( VkCommandBuffer commandBuffer, - VkStencilFaceFlags faceMask, - VkStencilOp failOp, - VkStencilOp passOp, - VkStencilOp depthFailOp, - VkCompareOp compareOp ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetStencilOpEXT( commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp ); - } - - //=== VK_KHR_deferred_host_operations === - - VkResult vkCreateDeferredOperationKHR( VkDevice device, - const VkAllocationCallbacks * pAllocator, - VkDeferredOperationKHR * pDeferredOperation ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDeferredOperationKHR( device, pAllocator, pDeferredOperation ); - } - - void vkDestroyDeferredOperationKHR( VkDevice device, - VkDeferredOperationKHR operation, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyDeferredOperationKHR( device, operation, pAllocator ); - } - - uint32_t vkGetDeferredOperationMaxConcurrencyKHR( VkDevice device, - VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeferredOperationMaxConcurrencyKHR( device, operation ); - } - - VkResult vkGetDeferredOperationResultKHR( VkDevice device, - VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetDeferredOperationResultKHR( device, operation ); - } - - VkResult vkDeferredOperationJoinKHR( VkDevice device, VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDeferredOperationJoinKHR( device, operation ); - } - - //=== VK_KHR_pipeline_executable_properties === - - VkResult - vkGetPipelineExecutablePropertiesKHR( VkDevice device, - const VkPipelineInfoKHR * pPipelineInfo, - uint32_t * pExecutableCount, - VkPipelineExecutablePropertiesKHR * pProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPipelineExecutablePropertiesKHR( device, pPipelineInfo, pExecutableCount, pProperties ); - } - - VkResult - vkGetPipelineExecutableStatisticsKHR( VkDevice device, - const VkPipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pStatisticCount, - VkPipelineExecutableStatisticKHR * pStatistics ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPipelineExecutableStatisticsKHR( device, pExecutableInfo, pStatisticCount, pStatistics ); - } - - VkResult vkGetPipelineExecutableInternalRepresentationsKHR( - VkDevice device, - const VkPipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pInternalRepresentationCount, - VkPipelineExecutableInternalRepresentationKHR * pInternalRepresentations ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPipelineExecutableInternalRepresentationsKHR( - device, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations ); - } - - //=== VK_NV_device_generated_commands === - - void vkGetGeneratedCommandsMemoryRequirementsNV( VkDevice device, - const VkGeneratedCommandsMemoryRequirementsInfoNV * pInfo, - VkMemoryRequirements2 * pMemoryRequirements ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkGetGeneratedCommandsMemoryRequirementsNV( device, pInfo, pMemoryRequirements ); - } - - void vkCmdPreprocessGeneratedCommandsNV( VkCommandBuffer commandBuffer, - const VkGeneratedCommandsInfoNV * pGeneratedCommandsInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPreprocessGeneratedCommandsNV( commandBuffer, pGeneratedCommandsInfo ); - } - - void vkCmdExecuteGeneratedCommandsNV( VkCommandBuffer commandBuffer, - VkBool32 isPreprocessed, - const VkGeneratedCommandsInfoNV * pGeneratedCommandsInfo ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdExecuteGeneratedCommandsNV( commandBuffer, isPreprocessed, pGeneratedCommandsInfo ); - } - - void vkCmdBindPipelineShaderGroupNV( VkCommandBuffer commandBuffer, - VkPipelineBindPoint pipelineBindPoint, - VkPipeline pipeline, - uint32_t groupIndex ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBindPipelineShaderGroupNV( commandBuffer, pipelineBindPoint, pipeline, groupIndex ); - } - - VkResult - vkCreateIndirectCommandsLayoutNV( VkDevice device, - const VkIndirectCommandsLayoutCreateInfoNV * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkIndirectCommandsLayoutNV * pIndirectCommandsLayout ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateIndirectCommandsLayoutNV( device, pCreateInfo, pAllocator, pIndirectCommandsLayout ); - } - - void vkDestroyIndirectCommandsLayoutNV( VkDevice device, - VkIndirectCommandsLayoutNV indirectCommandsLayout, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyIndirectCommandsLayoutNV( device, indirectCommandsLayout, pAllocator ); - } - - //=== VK_EXT_private_data === - - VkResult vkCreatePrivateDataSlotEXT( VkDevice device, - const VkPrivateDataSlotCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkPrivateDataSlotEXT * pPrivateDataSlot ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreatePrivateDataSlotEXT( device, pCreateInfo, pAllocator, pPrivateDataSlot ); - } - - void vkDestroyPrivateDataSlotEXT( VkDevice device, - VkPrivateDataSlotEXT privateDataSlot, - const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT - { - return ::vkDestroyPrivateDataSlotEXT( device, privateDataSlot, pAllocator ); - } - - VkResult vkSetPrivateDataEXT( VkDevice device, - VkObjectType objectType, - uint64_t objectHandle, - VkPrivateDataSlotEXT privateDataSlot, - uint64_t data ) const VULKAN_HPP_NOEXCEPT - { - return ::vkSetPrivateDataEXT( device, objectType, objectHandle, privateDataSlot, data ); - } - - void vkGetPrivateDataEXT( VkDevice device, - VkObjectType objectType, - uint64_t objectHandle, - VkPrivateDataSlotEXT privateDataSlot, - uint64_t * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPrivateDataEXT( device, objectType, objectHandle, privateDataSlot, pData ); - } - -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_encode_queue === - - void vkCmdEncodeVideoKHR( VkCommandBuffer commandBuffer, - const VkVideoEncodeInfoKHR * pEncodeInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdEncodeVideoKHR( commandBuffer, pEncodeInfo ); - } -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_KHR_synchronization2 === - - void vkCmdSetEvent2KHR( VkCommandBuffer commandBuffer, - VkEvent event, - const VkDependencyInfoKHR * pDependencyInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetEvent2KHR( commandBuffer, event, pDependencyInfo ); - } - - void vkCmdResetEvent2KHR( VkCommandBuffer commandBuffer, - VkEvent event, - VkPipelineStageFlags2KHR stageMask ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdResetEvent2KHR( commandBuffer, event, stageMask ); - } - - void vkCmdWaitEvents2KHR( VkCommandBuffer commandBuffer, - uint32_t eventCount, - const VkEvent * pEvents, - const VkDependencyInfoKHR * pDependencyInfos ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWaitEvents2KHR( commandBuffer, eventCount, pEvents, pDependencyInfos ); - } - - void vkCmdPipelineBarrier2KHR( VkCommandBuffer commandBuffer, - const VkDependencyInfoKHR * pDependencyInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdPipelineBarrier2KHR( commandBuffer, pDependencyInfo ); - } - - void vkCmdWriteTimestamp2KHR( VkCommandBuffer commandBuffer, - VkPipelineStageFlags2KHR stage, - VkQueryPool queryPool, - uint32_t query ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteTimestamp2KHR( commandBuffer, stage, queryPool, query ); - } - - VkResult vkQueueSubmit2KHR( VkQueue queue, - uint32_t submitCount, - const VkSubmitInfo2KHR * pSubmits, - VkFence fence ) const VULKAN_HPP_NOEXCEPT - { - return ::vkQueueSubmit2KHR( queue, submitCount, pSubmits, fence ); - } - - void vkCmdWriteBufferMarker2AMD( VkCommandBuffer commandBuffer, - VkPipelineStageFlags2KHR stage, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - uint32_t marker ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdWriteBufferMarker2AMD( commandBuffer, stage, dstBuffer, dstOffset, marker ); - } - - void vkGetQueueCheckpointData2NV( VkQueue queue, - uint32_t * pCheckpointDataCount, - VkCheckpointData2NV * pCheckpointData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetQueueCheckpointData2NV( queue, pCheckpointDataCount, pCheckpointData ); - } - - //=== VK_NV_fragment_shading_rate_enums === - - void vkCmdSetFragmentShadingRateEnumNV( VkCommandBuffer commandBuffer, - VkFragmentShadingRateNV shadingRate, - const VkFragmentShadingRateCombinerOpKHR combinerOps[2] ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetFragmentShadingRateEnumNV( commandBuffer, shadingRate, combinerOps ); - } - - //=== VK_KHR_copy_commands2 === - - void vkCmdCopyBuffer2KHR( VkCommandBuffer commandBuffer, - const VkCopyBufferInfo2KHR * pCopyBufferInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyBuffer2KHR( commandBuffer, pCopyBufferInfo ); - } - - void vkCmdCopyImage2KHR( VkCommandBuffer commandBuffer, - const VkCopyImageInfo2KHR * pCopyImageInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyImage2KHR( commandBuffer, pCopyImageInfo ); - } - - void - vkCmdCopyBufferToImage2KHR( VkCommandBuffer commandBuffer, - const VkCopyBufferToImageInfo2KHR * pCopyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyBufferToImage2KHR( commandBuffer, pCopyBufferToImageInfo ); - } - - void - vkCmdCopyImageToBuffer2KHR( VkCommandBuffer commandBuffer, - const VkCopyImageToBufferInfo2KHR * pCopyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdCopyImageToBuffer2KHR( commandBuffer, pCopyImageToBufferInfo ); - } - - void vkCmdBlitImage2KHR( VkCommandBuffer commandBuffer, - const VkBlitImageInfo2KHR * pBlitImageInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdBlitImage2KHR( commandBuffer, pBlitImageInfo ); - } - - void vkCmdResolveImage2KHR( VkCommandBuffer commandBuffer, - const VkResolveImageInfo2KHR * pResolveImageInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdResolveImage2KHR( commandBuffer, pResolveImageInfo ); - } - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_NV_acquire_winrt_display === - - VkResult vkAcquireWinrtDisplayNV( VkPhysicalDevice physicalDevice, VkDisplayKHR display ) const VULKAN_HPP_NOEXCEPT - { - return ::vkAcquireWinrtDisplayNV( physicalDevice, display ); - } - - VkResult vkGetWinrtDisplayNV( VkPhysicalDevice physicalDevice, - uint32_t deviceRelativeId, - VkDisplayKHR * pDisplay ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetWinrtDisplayNV( physicalDevice, deviceRelativeId, pDisplay ); - } -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - - //=== VK_EXT_directfb_surface === - - VkResult vkCreateDirectFBSurfaceEXT( VkInstance instance, - const VkDirectFBSurfaceCreateInfoEXT * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateDirectFBSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceDirectFBPresentationSupportEXT( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - IDirectFB * dfb ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceDirectFBPresentationSupportEXT( physicalDevice, queueFamilyIndex, dfb ); - } -# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - //=== VK_KHR_ray_tracing_pipeline === - - void vkCmdTraceRaysKHR( VkCommandBuffer commandBuffer, - const VkStridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdTraceRaysKHR( commandBuffer, - pRaygenShaderBindingTable, - pMissShaderBindingTable, - pHitShaderBindingTable, - pCallableShaderBindingTable, - width, - height, - depth ); - } - - VkResult vkCreateRayTracingPipelinesKHR( VkDevice device, - VkDeferredOperationKHR deferredOperation, - VkPipelineCache pipelineCache, - uint32_t createInfoCount, - const VkRayTracingPipelineCreateInfoKHR * pCreateInfos, - const VkAllocationCallbacks * pAllocator, - VkPipeline * pPipelines ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateRayTracingPipelinesKHR( - device, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); - } - - VkResult vkGetRayTracingShaderGroupHandlesKHR( VkDevice device, - VkPipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRayTracingShaderGroupHandlesKHR( device, pipeline, firstGroup, groupCount, dataSize, pData ); - } - - VkResult vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( VkDevice device, - VkPipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - device, pipeline, firstGroup, groupCount, dataSize, pData ); - } - - void vkCmdTraceRaysIndirectKHR( VkCommandBuffer commandBuffer, - const VkStridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VkStridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - VkDeviceAddress indirectDeviceAddress ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdTraceRaysIndirectKHR( commandBuffer, - pRaygenShaderBindingTable, - pMissShaderBindingTable, - pHitShaderBindingTable, - pCallableShaderBindingTable, - indirectDeviceAddress ); - } - - VkDeviceSize vkGetRayTracingShaderGroupStackSizeKHR( VkDevice device, - VkPipeline pipeline, - uint32_t group, - VkShaderGroupShaderKHR groupShader ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetRayTracingShaderGroupStackSizeKHR( device, pipeline, group, groupShader ); - } - - void vkCmdSetRayTracingPipelineStackSizeKHR( VkCommandBuffer commandBuffer, - uint32_t pipelineStackSize ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetRayTracingPipelineStackSizeKHR( commandBuffer, pipelineStackSize ); - } - - //=== VK_EXT_vertex_input_dynamic_state === - - void vkCmdSetVertexInputEXT( VkCommandBuffer commandBuffer, - uint32_t vertexBindingDescriptionCount, - const VkVertexInputBindingDescription2EXT * pVertexBindingDescriptions, - uint32_t vertexAttributeDescriptionCount, - const VkVertexInputAttributeDescription2EXT * pVertexAttributeDescriptions ) const - VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetVertexInputEXT( commandBuffer, - vertexBindingDescriptionCount, - pVertexBindingDescriptions, - vertexAttributeDescriptionCount, - pVertexAttributeDescriptions ); - } - -# if defined( VK_USE_PLATFORM_FUCHSIA ) - - //=== VK_FUCHSIA_external_memory === - - VkResult vkGetMemoryZirconHandleFUCHSIA( VkDevice device, - const VkMemoryGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryZirconHandleFUCHSIA( device, pGetZirconHandleInfo, pZirconHandle ); - } - - VkResult vkGetMemoryZirconHandlePropertiesFUCHSIA( - VkDevice device, - VkExternalMemoryHandleTypeFlagBits handleType, - zx_handle_t zirconHandle, - VkMemoryZirconHandlePropertiesFUCHSIA * pMemoryZirconHandleProperties ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetMemoryZirconHandlePropertiesFUCHSIA( - device, handleType, zirconHandle, pMemoryZirconHandleProperties ); - } -# endif /*VK_USE_PLATFORM_FUCHSIA*/ - -# if defined( VK_USE_PLATFORM_FUCHSIA ) - - //=== VK_FUCHSIA_external_semaphore === - - VkResult vkImportSemaphoreZirconHandleFUCHSIA( - VkDevice device, - const VkImportSemaphoreZirconHandleInfoFUCHSIA * pImportSemaphoreZirconHandleInfo ) const VULKAN_HPP_NOEXCEPT - { - return ::vkImportSemaphoreZirconHandleFUCHSIA( device, pImportSemaphoreZirconHandleInfo ); - } - - VkResult vkGetSemaphoreZirconHandleFUCHSIA( VkDevice device, - const VkSemaphoreGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetSemaphoreZirconHandleFUCHSIA( device, pGetZirconHandleInfo, pZirconHandle ); - } -# endif /*VK_USE_PLATFORM_FUCHSIA*/ - - //=== VK_EXT_extended_dynamic_state2 === - - void vkCmdSetPatchControlPointsEXT( VkCommandBuffer commandBuffer, - uint32_t patchControlPoints ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPatchControlPointsEXT( commandBuffer, patchControlPoints ); - } - - void vkCmdSetRasterizerDiscardEnableEXT( VkCommandBuffer commandBuffer, - VkBool32 rasterizerDiscardEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetRasterizerDiscardEnableEXT( commandBuffer, rasterizerDiscardEnable ); - } - - void vkCmdSetDepthBiasEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetDepthBiasEnableEXT( commandBuffer, depthBiasEnable ); - } - - void vkCmdSetLogicOpEXT( VkCommandBuffer commandBuffer, VkLogicOp logicOp ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetLogicOpEXT( commandBuffer, logicOp ); - } - - void vkCmdSetPrimitiveRestartEnableEXT( VkCommandBuffer commandBuffer, - VkBool32 primitiveRestartEnable ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetPrimitiveRestartEnableEXT( commandBuffer, primitiveRestartEnable ); - } - -# if defined( VK_USE_PLATFORM_SCREEN_QNX ) - - //=== VK_QNX_screen_surface === - - VkResult vkCreateScreenSurfaceQNX( VkInstance instance, - const VkScreenSurfaceCreateInfoQNX * pCreateInfo, - const VkAllocationCallbacks * pAllocator, - VkSurfaceKHR * pSurface ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCreateScreenSurfaceQNX( instance, pCreateInfo, pAllocator, pSurface ); - } - - VkBool32 vkGetPhysicalDeviceScreenPresentationSupportQNX( VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - struct _screen_window * window ) const VULKAN_HPP_NOEXCEPT - { - return ::vkGetPhysicalDeviceScreenPresentationSupportQNX( physicalDevice, queueFamilyIndex, window ); - } -# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - - //=== VK_EXT_color_write_enable === - - void vkCmdSetColorWriteEnableEXT( VkCommandBuffer commandBuffer, - uint32_t attachmentCount, - const VkBool32 * pColorWriteEnables ) const VULKAN_HPP_NOEXCEPT - { - return ::vkCmdSetColorWriteEnableEXT( commandBuffer, attachmentCount, pColorWriteEnables ); - } - }; -#endif - - class DispatchLoaderDynamic; -#if !defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) -# if defined( VK_NO_PROTOTYPES ) -# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 -# else -# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 0 -# endif -#endif - -#if !defined( VULKAN_HPP_STORAGE_API ) -# if defined( VULKAN_HPP_STORAGE_SHARED ) -# if defined( _MSC_VER ) -# if defined( VULKAN_HPP_STORAGE_SHARED_EXPORT ) -# define VULKAN_HPP_STORAGE_API __declspec( dllexport ) -# else -# define VULKAN_HPP_STORAGE_API __declspec( dllimport ) -# endif -# elif defined( __clang__ ) || defined( __GNUC__ ) -# if defined( VULKAN_HPP_STORAGE_SHARED_EXPORT ) -# define VULKAN_HPP_STORAGE_API __attribute__( ( visibility( "default" ) ) ) -# else -# define VULKAN_HPP_STORAGE_API -# endif -# else -# define VULKAN_HPP_STORAGE_API -# pragma warning Unknown import / export semantics -# endif -# else -# define VULKAN_HPP_STORAGE_API -# endif -#endif - -#if !defined( VULKAN_HPP_DEFAULT_DISPATCHER ) -# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 -# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::defaultDispatchLoaderDynamic -# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE \ - namespace VULKAN_HPP_NAMESPACE \ - { \ - VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; \ - } - extern VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; -# else -# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic() -# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE -# endif -#endif - -#if !defined( VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ) -# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 -# define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic -# else -# define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic -# endif -#endif - -#if defined( VULKAN_HPP_NO_DEFAULT_DISPATCHER ) -# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT -# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT -# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT -#else -# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT = {} -# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT = nullptr -# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT = VULKAN_HPP_DEFAULT_DISPATCHER -#endif - - struct AllocationCallbacks; - - template - class ObjectDestroy - { - public: - ObjectDestroy() = default; - - ObjectDestroy( OwnerType owner, - Optional allocationCallbacks - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT - : m_owner( owner ) - , m_allocationCallbacks( allocationCallbacks ) - , m_dispatch( &dispatch ) - {} - - OwnerType getOwner() const VULKAN_HPP_NOEXCEPT - { - return m_owner; - } - Optional getAllocator() const VULKAN_HPP_NOEXCEPT - { - return m_allocationCallbacks; - } - - protected: - template - void destroy( T t ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_owner && m_dispatch ); - m_owner.destroy( t, m_allocationCallbacks, *m_dispatch ); - } - - private: - OwnerType m_owner = {}; - Optional m_allocationCallbacks = nullptr; - Dispatch const * m_dispatch = nullptr; - }; - - class NoParent; - - template - class ObjectDestroy - { - public: - ObjectDestroy() = default; - - ObjectDestroy( Optional allocationCallbacks, - Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT - : m_allocationCallbacks( allocationCallbacks ) - , m_dispatch( &dispatch ) - {} - - Optional getAllocator() const VULKAN_HPP_NOEXCEPT - { - return m_allocationCallbacks; - } - - protected: - template - void destroy( T t ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_dispatch ); - t.destroy( m_allocationCallbacks, *m_dispatch ); - } - - private: - Optional m_allocationCallbacks = nullptr; - Dispatch const * m_dispatch = nullptr; - }; - - template - class ObjectFree - { - public: - ObjectFree() = default; - - ObjectFree( OwnerType owner, - Optional allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT - : m_owner( owner ) - , m_allocationCallbacks( allocationCallbacks ) - , m_dispatch( &dispatch ) - {} - - OwnerType getOwner() const VULKAN_HPP_NOEXCEPT - { - return m_owner; - } - - Optional getAllocator() const VULKAN_HPP_NOEXCEPT - { - return m_allocationCallbacks; - } - - protected: - template - void destroy( T t ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_owner && m_dispatch ); - m_owner.free( t, m_allocationCallbacks, *m_dispatch ); - } - - private: - OwnerType m_owner = {}; - Optional m_allocationCallbacks = nullptr; - Dispatch const * m_dispatch = nullptr; - }; - - template - class ObjectRelease - { - public: - ObjectRelease() = default; - - ObjectRelease( OwnerType owner, Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT - : m_owner( owner ) - , m_dispatch( &dispatch ) - {} - - OwnerType getOwner() const VULKAN_HPP_NOEXCEPT - { - return m_owner; - } - - protected: - template - void destroy( T t ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_owner && m_dispatch ); - m_owner.release( t, *m_dispatch ); - } - - private: - OwnerType m_owner = {}; - Dispatch const * m_dispatch = nullptr; - }; - - template - class PoolFree - { - public: - PoolFree() = default; - - PoolFree( OwnerType owner, - PoolType pool, - Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT - : m_owner( owner ) - , m_pool( pool ) - , m_dispatch( &dispatch ) - {} - - OwnerType getOwner() const VULKAN_HPP_NOEXCEPT - { - return m_owner; - } - PoolType getPool() const VULKAN_HPP_NOEXCEPT - { - return m_pool; - } - - protected: - template - void destroy( T t ) VULKAN_HPP_NOEXCEPT - { - m_owner.free( m_pool, t, *m_dispatch ); - } - - private: - OwnerType m_owner = OwnerType(); - PoolType m_pool = PoolType(); - Dispatch const * m_dispatch = nullptr; - }; - - using Bool32 = uint32_t; - using DeviceAddress = uint64_t; - using DeviceSize = uint64_t; - using SampleMask = uint32_t; - - template - struct CppType - {}; - - template - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = false; - }; - - VULKAN_HPP_INLINE std::string toHexString( uint32_t value ) - { - std::stringstream stream; - stream << std::hex << value; - return stream.str(); - } - - //============= - //=== ENUMs === - //============= - - //=== VK_VERSION_1_0 === - - enum class Result - { - eSuccess = VK_SUCCESS, - eNotReady = VK_NOT_READY, - eTimeout = VK_TIMEOUT, - eEventSet = VK_EVENT_SET, - eEventReset = VK_EVENT_RESET, - eIncomplete = VK_INCOMPLETE, - eErrorOutOfHostMemory = VK_ERROR_OUT_OF_HOST_MEMORY, - eErrorOutOfDeviceMemory = VK_ERROR_OUT_OF_DEVICE_MEMORY, - eErrorInitializationFailed = VK_ERROR_INITIALIZATION_FAILED, - eErrorDeviceLost = VK_ERROR_DEVICE_LOST, - eErrorMemoryMapFailed = VK_ERROR_MEMORY_MAP_FAILED, - eErrorLayerNotPresent = VK_ERROR_LAYER_NOT_PRESENT, - eErrorExtensionNotPresent = VK_ERROR_EXTENSION_NOT_PRESENT, - eErrorFeatureNotPresent = VK_ERROR_FEATURE_NOT_PRESENT, - eErrorIncompatibleDriver = VK_ERROR_INCOMPATIBLE_DRIVER, - eErrorTooManyObjects = VK_ERROR_TOO_MANY_OBJECTS, - eErrorFormatNotSupported = VK_ERROR_FORMAT_NOT_SUPPORTED, - eErrorFragmentedPool = VK_ERROR_FRAGMENTED_POOL, - eErrorUnknown = VK_ERROR_UNKNOWN, - eErrorOutOfPoolMemory = VK_ERROR_OUT_OF_POOL_MEMORY, - eErrorInvalidExternalHandle = VK_ERROR_INVALID_EXTERNAL_HANDLE, - eErrorFragmentation = VK_ERROR_FRAGMENTATION, - eErrorInvalidOpaqueCaptureAddress = VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS, - eErrorSurfaceLostKHR = VK_ERROR_SURFACE_LOST_KHR, - eErrorNativeWindowInUseKHR = VK_ERROR_NATIVE_WINDOW_IN_USE_KHR, - eSuboptimalKHR = VK_SUBOPTIMAL_KHR, - eErrorOutOfDateKHR = VK_ERROR_OUT_OF_DATE_KHR, - eErrorIncompatibleDisplayKHR = VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, - eErrorValidationFailedEXT = VK_ERROR_VALIDATION_FAILED_EXT, - eErrorInvalidShaderNV = VK_ERROR_INVALID_SHADER_NV, - eErrorInvalidDrmFormatModifierPlaneLayoutEXT = VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT, - eErrorNotPermittedEXT = VK_ERROR_NOT_PERMITTED_EXT, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eErrorFullScreenExclusiveModeLostEXT = VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eThreadIdleKHR = VK_THREAD_IDLE_KHR, - eThreadDoneKHR = VK_THREAD_DONE_KHR, - eOperationDeferredKHR = VK_OPERATION_DEFERRED_KHR, - eOperationNotDeferredKHR = VK_OPERATION_NOT_DEFERRED_KHR, - ePipelineCompileRequiredEXT = VK_PIPELINE_COMPILE_REQUIRED_EXT, - eErrorFragmentationEXT = VK_ERROR_FRAGMENTATION_EXT, - eErrorInvalidDeviceAddressEXT = VK_ERROR_INVALID_DEVICE_ADDRESS_EXT, - eErrorInvalidExternalHandleKHR = VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR, - eErrorInvalidOpaqueCaptureAddressKHR = VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR, - eErrorOutOfPoolMemoryKHR = VK_ERROR_OUT_OF_POOL_MEMORY_KHR, - eErrorPipelineCompileRequiredEXT = VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( Result value ) - { - switch ( value ) - { - case Result::eSuccess: return "Success"; - case Result::eNotReady: return "NotReady"; - case Result::eTimeout: return "Timeout"; - case Result::eEventSet: return "EventSet"; - case Result::eEventReset: return "EventReset"; - case Result::eIncomplete: return "Incomplete"; - case Result::eErrorOutOfHostMemory: return "ErrorOutOfHostMemory"; - case Result::eErrorOutOfDeviceMemory: return "ErrorOutOfDeviceMemory"; - case Result::eErrorInitializationFailed: return "ErrorInitializationFailed"; - case Result::eErrorDeviceLost: return "ErrorDeviceLost"; - case Result::eErrorMemoryMapFailed: return "ErrorMemoryMapFailed"; - case Result::eErrorLayerNotPresent: return "ErrorLayerNotPresent"; - case Result::eErrorExtensionNotPresent: return "ErrorExtensionNotPresent"; - case Result::eErrorFeatureNotPresent: return "ErrorFeatureNotPresent"; - case Result::eErrorIncompatibleDriver: return "ErrorIncompatibleDriver"; - case Result::eErrorTooManyObjects: return "ErrorTooManyObjects"; - case Result::eErrorFormatNotSupported: return "ErrorFormatNotSupported"; - case Result::eErrorFragmentedPool: return "ErrorFragmentedPool"; - case Result::eErrorUnknown: return "ErrorUnknown"; - case Result::eErrorOutOfPoolMemory: return "ErrorOutOfPoolMemory"; - case Result::eErrorInvalidExternalHandle: return "ErrorInvalidExternalHandle"; - case Result::eErrorFragmentation: return "ErrorFragmentation"; - case Result::eErrorInvalidOpaqueCaptureAddress: return "ErrorInvalidOpaqueCaptureAddress"; - case Result::eErrorSurfaceLostKHR: return "ErrorSurfaceLostKHR"; - case Result::eErrorNativeWindowInUseKHR: return "ErrorNativeWindowInUseKHR"; - case Result::eSuboptimalKHR: return "SuboptimalKHR"; - case Result::eErrorOutOfDateKHR: return "ErrorOutOfDateKHR"; - case Result::eErrorIncompatibleDisplayKHR: return "ErrorIncompatibleDisplayKHR"; - case Result::eErrorValidationFailedEXT: return "ErrorValidationFailedEXT"; - case Result::eErrorInvalidShaderNV: return "ErrorInvalidShaderNV"; - case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: return "ErrorInvalidDrmFormatModifierPlaneLayoutEXT"; - case Result::eErrorNotPermittedEXT: return "ErrorNotPermittedEXT"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case Result::eErrorFullScreenExclusiveModeLostEXT: return "ErrorFullScreenExclusiveModeLostEXT"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case Result::eThreadIdleKHR: return "ThreadIdleKHR"; - case Result::eThreadDoneKHR: return "ThreadDoneKHR"; - case Result::eOperationDeferredKHR: return "OperationDeferredKHR"; - case Result::eOperationNotDeferredKHR: return "OperationNotDeferredKHR"; - case Result::ePipelineCompileRequiredEXT: return "PipelineCompileRequiredEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class StructureType - { - eApplicationInfo = VK_STRUCTURE_TYPE_APPLICATION_INFO, - eInstanceCreateInfo = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, - eDeviceQueueCreateInfo = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, - eDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, - eSubmitInfo = VK_STRUCTURE_TYPE_SUBMIT_INFO, - eMemoryAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, - eMappedMemoryRange = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE, - eBindSparseInfo = VK_STRUCTURE_TYPE_BIND_SPARSE_INFO, - eFenceCreateInfo = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO, - eSemaphoreCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, - eEventCreateInfo = VK_STRUCTURE_TYPE_EVENT_CREATE_INFO, - eQueryPoolCreateInfo = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO, - eBufferCreateInfo = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, - eBufferViewCreateInfo = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO, - eImageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, - eImageViewCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, - eShaderModuleCreateInfo = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO, - ePipelineCacheCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO, - ePipelineShaderStageCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, - ePipelineVertexInputStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, - ePipelineInputAssemblyStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO, - ePipelineTessellationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO, - ePipelineViewportStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO, - ePipelineRasterizationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO, - ePipelineMultisampleStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO, - ePipelineDepthStencilStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, - ePipelineColorBlendStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO, - ePipelineDynamicStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO, - eGraphicsPipelineCreateInfo = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO, - eComputePipelineCreateInfo = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO, - ePipelineLayoutCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, - eSamplerCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, - eDescriptorSetLayoutCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, - eDescriptorPoolCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, - eDescriptorSetAllocateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, - eWriteDescriptorSet = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET, - eCopyDescriptorSet = VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET, - eFramebufferCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, - eRenderPassCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, - eCommandPoolCreateInfo = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, - eCommandBufferAllocateInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO, - eCommandBufferInheritanceInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO, - eCommandBufferBeginInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, - eRenderPassBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, - eBufferMemoryBarrier = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, - eImageMemoryBarrier = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, - eMemoryBarrier = VK_STRUCTURE_TYPE_MEMORY_BARRIER, - eLoaderInstanceCreateInfo = VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO, - eLoaderDeviceCreateInfo = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO, - ePhysicalDeviceSubgroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES, - eBindBufferMemoryInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO, - eBindImageMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO, - ePhysicalDevice16BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES, - eMemoryDedicatedRequirements = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS, - eMemoryDedicatedAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO, - eMemoryAllocateFlagsInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO, - eDeviceGroupRenderPassBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO, - eDeviceGroupCommandBufferBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO, - eDeviceGroupSubmitInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO, - eDeviceGroupBindSparseInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO, - eBindBufferMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO, - eBindImageMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO, - ePhysicalDeviceGroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES, - eDeviceGroupDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO, - eBufferMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2, - eImageMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2, - eImageSparseMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2, - eMemoryRequirements2 = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2, - eSparseImageMemoryRequirements2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2, - ePhysicalDeviceFeatures2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, - ePhysicalDeviceProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, - eFormatProperties2 = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2, - eImageFormatProperties2 = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2, - ePhysicalDeviceImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2, - eQueueFamilyProperties2 = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2, - ePhysicalDeviceMemoryProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2, - eSparseImageFormatProperties2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2, - ePhysicalDeviceSparseImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2, - ePhysicalDevicePointClippingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES, - eRenderPassInputAttachmentAspectCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO, - eImageViewUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO, - ePipelineTessellationDomainOriginStateCreateInfo = - VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO, - eRenderPassMultiviewCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO, - ePhysicalDeviceMultiviewFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES, - ePhysicalDeviceMultiviewProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES, - ePhysicalDeviceVariablePointersFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, - eProtectedSubmitInfo = VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO, - ePhysicalDeviceProtectedMemoryFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES, - ePhysicalDeviceProtectedMemoryProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES, - eDeviceQueueInfo2 = VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2, - eSamplerYcbcrConversionCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO, - eSamplerYcbcrConversionInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO, - eBindImagePlaneMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO, - eImagePlaneMemoryRequirementsInfo = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO, - ePhysicalDeviceSamplerYcbcrConversionFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES, - eSamplerYcbcrConversionImageFormatProperties = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES, - eDescriptorUpdateTemplateCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, - ePhysicalDeviceExternalImageFormatInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO, - eExternalImageFormatProperties = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, - ePhysicalDeviceExternalBufferInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO, - eExternalBufferProperties = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES, - ePhysicalDeviceIdProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES, - eExternalMemoryBufferCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO, - eExternalMemoryImageCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO, - eExportMemoryAllocateInfo = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO, - ePhysicalDeviceExternalFenceInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO, - eExternalFenceProperties = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES, - eExportFenceCreateInfo = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO, - eExportSemaphoreCreateInfo = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO, - ePhysicalDeviceExternalSemaphoreInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO, - eExternalSemaphoreProperties = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES, - ePhysicalDeviceMaintenance3Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES, - eDescriptorSetLayoutSupport = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT, - ePhysicalDeviceShaderDrawParametersFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, - ePhysicalDeviceVulkan11Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, - ePhysicalDeviceVulkan11Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, - ePhysicalDeviceVulkan12Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, - ePhysicalDeviceVulkan12Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES, - eImageFormatListCreateInfo = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO, - eAttachmentDescription2 = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2, - eAttachmentReference2 = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2, - eSubpassDescription2 = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2, - eSubpassDependency2 = VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2, - eRenderPassCreateInfo2 = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2, - eSubpassBeginInfo = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO, - eSubpassEndInfo = VK_STRUCTURE_TYPE_SUBPASS_END_INFO, - ePhysicalDevice8BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES, - ePhysicalDeviceDriverProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES, - ePhysicalDeviceShaderAtomicInt64Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES, - ePhysicalDeviceShaderFloat16Int8Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES, - ePhysicalDeviceFloatControlsProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES, - eDescriptorSetLayoutBindingFlagsCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO, - ePhysicalDeviceDescriptorIndexingFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES, - ePhysicalDeviceDescriptorIndexingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES, - eDescriptorSetVariableDescriptorCountAllocateInfo = - VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO, - eDescriptorSetVariableDescriptorCountLayoutSupport = - VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT, - ePhysicalDeviceDepthStencilResolveProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES, - eSubpassDescriptionDepthStencilResolve = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE, - ePhysicalDeviceScalarBlockLayoutFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES, - eImageStencilUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO, - ePhysicalDeviceSamplerFilterMinmaxProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES, - eSamplerReductionModeCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO, - ePhysicalDeviceVulkanMemoryModelFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES, - ePhysicalDeviceImagelessFramebufferFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES, - eFramebufferAttachmentsCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO, - eFramebufferAttachmentImageInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO, - eRenderPassAttachmentBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO, - ePhysicalDeviceUniformBufferStandardLayoutFeatures = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES, - ePhysicalDeviceShaderSubgroupExtendedTypesFeatures = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES, - ePhysicalDeviceSeparateDepthStencilLayoutsFeatures = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES, - eAttachmentReferenceStencilLayout = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT, - eAttachmentDescriptionStencilLayout = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT, - ePhysicalDeviceHostQueryResetFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES, - ePhysicalDeviceTimelineSemaphoreFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES, - ePhysicalDeviceTimelineSemaphoreProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES, - eSemaphoreTypeCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO, - eTimelineSemaphoreSubmitInfo = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO, - eSemaphoreWaitInfo = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO, - eSemaphoreSignalInfo = VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO, - ePhysicalDeviceBufferDeviceAddressFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES, - eBufferDeviceAddressInfo = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO, - eBufferOpaqueCaptureAddressCreateInfo = VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO, - eMemoryOpaqueCaptureAddressAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO, - eDeviceMemoryOpaqueCaptureAddressInfo = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO, - eSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, - ePresentInfoKHR = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, - eDeviceGroupPresentCapabilitiesKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR, - eImageSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR, - eBindImageMemorySwapchainInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR, - eAcquireNextImageInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR, - eDeviceGroupPresentInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR, - eDeviceGroupSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR, - eDisplayModeCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR, - eDisplaySurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR, - eDisplayPresentInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR, -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - eXlibSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR, -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - eXcbSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR, -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - eWaylandSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR, -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - eAndroidSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR, -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eWin32SurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eDebugReportCallbackCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT, - ePipelineRasterizationStateRasterizationOrderAMD = - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD, - eDebugMarkerObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT, - eDebugMarkerObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT, - eDebugMarkerMarkerInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoProfileKHR = VK_STRUCTURE_TYPE_VIDEO_PROFILE_KHR, - eVideoCapabilitiesKHR = VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR, - eVideoPictureResourceKHR = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_KHR, - eVideoGetMemoryPropertiesKHR = VK_STRUCTURE_TYPE_VIDEO_GET_MEMORY_PROPERTIES_KHR, - eVideoBindMemoryKHR = VK_STRUCTURE_TYPE_VIDEO_BIND_MEMORY_KHR, - eVideoSessionCreateInfoKHR = VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR, - eVideoSessionParametersCreateInfoKHR = VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR, - eVideoSessionParametersUpdateInfoKHR = VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR, - eVideoBeginCodingInfoKHR = VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR, - eVideoEndCodingInfoKHR = VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR, - eVideoCodingControlInfoKHR = VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR, - eVideoReferenceSlotKHR = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_KHR, - eVideoQueueFamilyProperties2KHR = VK_STRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHR, - eVideoProfilesKHR = VK_STRUCTURE_TYPE_VIDEO_PROFILES_KHR, - ePhysicalDeviceVideoFormatInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR, - eVideoFormatPropertiesKHR = VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR, - eVideoDecodeInfoKHR = VK_STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eDedicatedAllocationImageCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV, - eDedicatedAllocationBufferCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV, - eDedicatedAllocationMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV, - ePhysicalDeviceTransformFeedbackFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT, - ePhysicalDeviceTransformFeedbackPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT, - ePipelineRasterizationStateStreamCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT, - eCuModuleCreateInfoNVX = VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVX, - eCuFunctionCreateInfoNVX = VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX, - eCuLaunchInfoNVX = VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX, - eImageViewHandleInfoNVX = VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX, - eImageViewAddressPropertiesNVX = VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeH264CapabilitiesEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT, - eVideoEncodeH264SessionCreateInfoEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT, - eVideoEncodeH264SessionParametersCreateInfoEXT = - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT, - eVideoEncodeH264SessionParametersAddInfoEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT, - eVideoEncodeH264VclFrameInfoEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT, - eVideoEncodeH264DpbSlotInfoEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT, - eVideoEncodeH264NaluSliceEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXT, - eVideoEncodeH264EmitPictureParametersEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_EMIT_PICTURE_PARAMETERS_EXT, - eVideoEncodeH264ProfileEXT = VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_EXT, - eVideoDecodeH264CapabilitiesEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXT, - eVideoDecodeH264SessionCreateInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT, - eVideoDecodeH264PictureInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_EXT, - eVideoDecodeH264MvcEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_MVC_EXT, - eVideoDecodeH264ProfileEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_EXT, - eVideoDecodeH264SessionParametersCreateInfoEXT = - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT, - eVideoDecodeH264SessionParametersAddInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT, - eVideoDecodeH264DpbSlotInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eTextureLodGatherFormatPropertiesAMD = VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD, -#if defined( VK_USE_PLATFORM_GGP ) - eStreamDescriptorSurfaceCreateInfoGGP = VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP, -#endif /*VK_USE_PLATFORM_GGP*/ - ePhysicalDeviceCornerSampledImageFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV, - eExternalMemoryImageCreateInfoNV = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV, - eExportMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eImportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV, - eExportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV, - eWin32KeyedMutexAcquireReleaseInfoNV = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eValidationFlagsEXT = VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT, -#if defined( VK_USE_PLATFORM_VI_NN ) - eViSurfaceCreateInfoNN = VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN, -#endif /*VK_USE_PLATFORM_VI_NN*/ - ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT, - eImageViewAstcDecodeModeEXT = VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT, - ePhysicalDeviceAstcDecodeFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eImportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR, - eExportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR, - eMemoryWin32HandlePropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR, - eMemoryGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eImportMemoryFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR, - eMemoryFdPropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR, - eMemoryGetFdInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eWin32KeyedMutexAcquireReleaseInfoKHR = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR, - eImportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR, - eExportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR, - eD3D12FenceSubmitInfoKHR = VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR, - eSemaphoreGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eImportSemaphoreFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR, - eSemaphoreGetFdInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR, - ePhysicalDevicePushDescriptorPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR, - eCommandBufferInheritanceConditionalRenderingInfoEXT = - VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT, - ePhysicalDeviceConditionalRenderingFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT, - eConditionalRenderingBeginInfoEXT = VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT, - ePresentRegionsKHR = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR, - ePipelineViewportWScalingStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV, - eSurfaceCapabilities2EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT, - eDisplayPowerInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT, - eDeviceEventInfoEXT = VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT, - eDisplayEventInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT, - eSwapchainCounterCreateInfoEXT = VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT, - ePresentTimesInfoGOOGLE = VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE, - ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX, - ePipelineViewportSwizzleStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV, - ePhysicalDeviceDiscardRectanglePropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT, - ePipelineDiscardRectangleStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT, - ePhysicalDeviceConservativeRasterizationPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT, - ePipelineRasterizationConservativeStateCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT, - ePhysicalDeviceDepthClipEnableFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT, - ePipelineRasterizationDepthClipStateCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT, - eHdrMetadataEXT = VK_STRUCTURE_TYPE_HDR_METADATA_EXT, - eSharedPresentSurfaceCapabilitiesKHR = VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eImportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR, - eExportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR, - eFenceGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eImportFenceFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR, - eFenceGetFdInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR, - ePhysicalDevicePerformanceQueryFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR, - ePhysicalDevicePerformanceQueryPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR, - eQueryPoolPerformanceCreateInfoKHR = VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR, - ePerformanceQuerySubmitInfoKHR = VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR, - eAcquireProfilingLockInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR, - ePerformanceCounterKHR = VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR, - ePerformanceCounterDescriptionKHR = VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR, - ePhysicalDeviceSurfaceInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR, - eSurfaceCapabilities2KHR = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR, - eSurfaceFormat2KHR = VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR, - eDisplayProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR, - eDisplayPlaneProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR, - eDisplayModeProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR, - eDisplayPlaneInfo2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR, - eDisplayPlaneCapabilities2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR, -#if defined( VK_USE_PLATFORM_IOS_MVK ) - eIosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK, -#endif /*VK_USE_PLATFORM_IOS_MVK*/ -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - eMacosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK, -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - eDebugUtilsObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT, - eDebugUtilsObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT, - eDebugUtilsLabelEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT, - eDebugUtilsMessengerCallbackDataEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT, - eDebugUtilsMessengerCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT, -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - eAndroidHardwareBufferUsageANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID, - eAndroidHardwareBufferPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID, - eAndroidHardwareBufferFormatPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID, - eImportAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID, - eMemoryGetAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID, - eExternalFormatANDROID = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID, -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - ePhysicalDeviceInlineUniformBlockFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT, - ePhysicalDeviceInlineUniformBlockPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT, - eWriteDescriptorSetInlineUniformBlockEXT = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT, - eDescriptorPoolInlineUniformBlockCreateInfoEXT = - VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT, - eSampleLocationsInfoEXT = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT, - eRenderPassSampleLocationsBeginInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT, - ePipelineSampleLocationsStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT, - ePhysicalDeviceSampleLocationsPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT, - eMultisamplePropertiesEXT = VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT, - ePhysicalDeviceBlendOperationAdvancedFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT, - ePhysicalDeviceBlendOperationAdvancedPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT, - ePipelineColorBlendAdvancedStateCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT, - ePipelineCoverageToColorStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV, - eWriteDescriptorSetAccelerationStructureKHR = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR, - eAccelerationStructureBuildGeometryInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR, - eAccelerationStructureDeviceAddressInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR, - eAccelerationStructureGeometryAabbsDataKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR, - eAccelerationStructureGeometryInstancesDataKHR = - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR, - eAccelerationStructureGeometryTrianglesDataKHR = - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR, - eAccelerationStructureGeometryKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR, - eAccelerationStructureVersionInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR, - eCopyAccelerationStructureInfoKHR = VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR, - eCopyAccelerationStructureToMemoryInfoKHR = VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR, - eCopyMemoryToAccelerationStructureInfoKHR = VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR, - ePhysicalDeviceAccelerationStructureFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR, - ePhysicalDeviceAccelerationStructurePropertiesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR, - eAccelerationStructureCreateInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR, - eAccelerationStructureBuildSizesInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR, - ePhysicalDeviceRayTracingPipelineFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR, - ePhysicalDeviceRayTracingPipelinePropertiesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR, - eRayTracingPipelineCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR, - eRayTracingShaderGroupCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR, - eRayTracingPipelineInterfaceCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR, - ePhysicalDeviceRayQueryFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR, - ePipelineCoverageModulationStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV, - ePhysicalDeviceShaderSmBuiltinsFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV, - ePhysicalDeviceShaderSmBuiltinsPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV, - eDrmFormatModifierPropertiesListEXT = VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT, - ePhysicalDeviceImageDrmFormatModifierInfoEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT, - eImageDrmFormatModifierListCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT, - eImageDrmFormatModifierExplicitCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT, - eImageDrmFormatModifierPropertiesEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT, - eValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT, - eShaderModuleValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - ePhysicalDevicePortabilitySubsetFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR, - ePhysicalDevicePortabilitySubsetPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - ePipelineViewportShadingRateImageStateCreateInfoNV = - VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV, - ePhysicalDeviceShadingRateImageFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV, - ePhysicalDeviceShadingRateImagePropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV, - ePipelineViewportCoarseSampleOrderStateCreateInfoNV = - VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV, - eRayTracingPipelineCreateInfoNV = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV, - eAccelerationStructureCreateInfoNV = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV, - eGeometryNV = VK_STRUCTURE_TYPE_GEOMETRY_NV, - eGeometryTrianglesNV = VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV, - eGeometryAabbNV = VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV, - eBindAccelerationStructureMemoryInfoNV = VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV, - eWriteDescriptorSetAccelerationStructureNV = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV, - eAccelerationStructureMemoryRequirementsInfoNV = - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV, - ePhysicalDeviceRayTracingPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV, - eRayTracingShaderGroupCreateInfoNV = VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV, - eAccelerationStructureInfoNV = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV, - ePhysicalDeviceRepresentativeFragmentTestFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV, - ePipelineRepresentativeFragmentTestStateCreateInfoNV = - VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV, - ePhysicalDeviceImageViewImageFormatInfoEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT, - eFilterCubicImageViewImageFormatPropertiesEXT = - VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT, - eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT, - eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT, - eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT, - ePhysicalDeviceExternalMemoryHostPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT, - ePhysicalDeviceShaderClockFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR, - ePipelineCompilerControlCreateInfoAMD = VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD, - eCalibratedTimestampInfoEXT = VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT, - ePhysicalDeviceShaderCorePropertiesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeH265CapabilitiesEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_EXT, - eVideoDecodeH265SessionCreateInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT, - eVideoDecodeH265SessionParametersCreateInfoEXT = - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT, - eVideoDecodeH265SessionParametersAddInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT, - eVideoDecodeH265ProfileEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_EXT, - eVideoDecodeH265PictureInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_EXT, - eVideoDecodeH265DpbSlotInfoEXT = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eDeviceMemoryOverallocationCreateInfoAMD = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD, - ePhysicalDeviceVertexAttributeDivisorPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT, - ePipelineVertexInputDivisorStateCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT, - ePhysicalDeviceVertexAttributeDivisorFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT, -#if defined( VK_USE_PLATFORM_GGP ) - ePresentFrameTokenGGP = VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP, -#endif /*VK_USE_PLATFORM_GGP*/ - ePipelineCreationFeedbackCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT, - ePhysicalDeviceComputeShaderDerivativesFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV, - ePhysicalDeviceMeshShaderFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV, - ePhysicalDeviceMeshShaderPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV, - ePhysicalDeviceFragmentShaderBarycentricFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV, - ePhysicalDeviceShaderImageFootprintFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV, - ePipelineViewportExclusiveScissorStateCreateInfoNV = - VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV, - ePhysicalDeviceExclusiveScissorFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV, - eCheckpointDataNV = VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV, - eQueueFamilyCheckpointPropertiesNV = VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV, - ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL, - eQueryPoolPerformanceQueryCreateInfoINTEL = VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL, - eInitializePerformanceApiInfoINTEL = VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL, - ePerformanceMarkerInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL, - ePerformanceStreamMarkerInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL, - ePerformanceOverrideInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL, - ePerformanceConfigurationAcquireInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL, - ePhysicalDevicePciBusInfoPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT, - eDisplayNativeHdrSurfaceCapabilitiesAMD = VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD, - eSwapchainDisplayNativeHdrCreateInfoAMD = VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD, -#if defined( VK_USE_PLATFORM_FUCHSIA ) - eImagepipeSurfaceCreateInfoFUCHSIA = VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA, -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - ePhysicalDeviceShaderTerminateInvocationFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR, -#if defined( VK_USE_PLATFORM_METAL_EXT ) - eMetalSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT, -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - ePhysicalDeviceFragmentDensityMapFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT, - ePhysicalDeviceFragmentDensityMapPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT, - eRenderPassFragmentDensityMapCreateInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT, - ePhysicalDeviceSubgroupSizeControlPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT, - ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT, - ePhysicalDeviceSubgroupSizeControlFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT, - eFragmentShadingRateAttachmentInfoKHR = VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR, - ePipelineFragmentShadingRateStateCreateInfoKHR = - VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR, - ePhysicalDeviceFragmentShadingRatePropertiesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR, - ePhysicalDeviceFragmentShadingRateFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR, - ePhysicalDeviceFragmentShadingRateKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR, - ePhysicalDeviceShaderCoreProperties2AMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD, - ePhysicalDeviceCoherentMemoryFeaturesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD, - ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT, - ePhysicalDeviceMemoryBudgetPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT, - ePhysicalDeviceMemoryPriorityFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT, - eMemoryPriorityAllocateInfoEXT = VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT, - eSurfaceProtectedCapabilitiesKHR = VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR, - ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV, - ePhysicalDeviceBufferDeviceAddressFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT, - eBufferDeviceAddressCreateInfoEXT = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT, - ePhysicalDeviceToolPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT, - eValidationFeaturesEXT = VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT, - ePhysicalDeviceCooperativeMatrixFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV, - eCooperativeMatrixPropertiesNV = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV, - ePhysicalDeviceCooperativeMatrixPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV, - ePhysicalDeviceCoverageReductionModeFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV, - ePipelineCoverageReductionStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV, - eFramebufferMixedSamplesCombinationNV = VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV, - ePhysicalDeviceFragmentShaderInterlockFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT, - ePhysicalDeviceYcbcrImageArraysFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT, - ePhysicalDeviceProvokingVertexFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT, - ePipelineRasterizationProvokingVertexStateCreateInfoEXT = - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT, - ePhysicalDeviceProvokingVertexPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT, -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - eSurfaceFullScreenExclusiveInfoEXT = VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT, - eSurfaceCapabilitiesFullScreenExclusiveEXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT, - eSurfaceFullScreenExclusiveWin32InfoEXT = VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT, -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - eHeadlessSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT, - ePhysicalDeviceLineRasterizationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT, - ePipelineRasterizationLineStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT, - ePhysicalDeviceLineRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT, - ePhysicalDeviceShaderAtomicFloatFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT, - ePhysicalDeviceIndexTypeUint8FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT, - ePhysicalDeviceExtendedDynamicStateFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT, - ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR, - ePipelineInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR, - ePipelineExecutablePropertiesKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR, - ePipelineExecutableInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR, - ePipelineExecutableStatisticKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR, - ePipelineExecutableInternalRepresentationKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR, - ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT, - ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV, - eGraphicsShaderGroupCreateInfoNV = VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV, - eGraphicsPipelineShaderGroupsCreateInfoNV = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV, - eIndirectCommandsLayoutTokenNV = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV, - eIndirectCommandsLayoutCreateInfoNV = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV, - eGeneratedCommandsInfoNV = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV, - eGeneratedCommandsMemoryRequirementsInfoNV = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV, - ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV, - ePhysicalDeviceInheritedViewportScissorFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV, - eCommandBufferInheritanceViewportScissorInfoNV = - VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV, - ePhysicalDeviceTexelBufferAlignmentFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT, - ePhysicalDeviceTexelBufferAlignmentPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT, - eCommandBufferInheritanceRenderPassTransformInfoQCOM = - VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM, - eRenderPassTransformBeginInfoQCOM = VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM, - ePhysicalDeviceDeviceMemoryReportFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT, - eDeviceDeviceMemoryReportCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT, - eDeviceMemoryReportCallbackDataEXT = VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT, - ePhysicalDeviceRobustness2FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT, - ePhysicalDeviceRobustness2PropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT, - eSamplerCustomBorderColorCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT, - ePhysicalDeviceCustomBorderColorPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT, - ePhysicalDeviceCustomBorderColorFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT, - ePipelineLibraryCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR, - ePhysicalDevicePrivateDataFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT, - eDevicePrivateDataCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT, - ePrivateDataSlotCreateInfoEXT = VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT, - ePhysicalDevicePipelineCreationCacheControlFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeInfoKHR = VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR, - eVideoEncodeRateControlInfoKHR = VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - ePhysicalDeviceDiagnosticsConfigFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV, - eDeviceDiagnosticsConfigCreateInfoNV = VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV, - eMemoryBarrier2KHR = VK_STRUCTURE_TYPE_MEMORY_BARRIER_2_KHR, - eBufferMemoryBarrier2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR, - eImageMemoryBarrier2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR, - eDependencyInfoKHR = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR, - eSubmitInfo2KHR = VK_STRUCTURE_TYPE_SUBMIT_INFO_2_KHR, - eSemaphoreSubmitInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO_KHR, - eCommandBufferSubmitInfoKHR = VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR, - ePhysicalDeviceSynchronization2FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR, - eQueueFamilyCheckpointProperties2Nv = VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV, - eCheckpointData2Nv = VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV, - ePhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR, - ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV, - ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV, - ePipelineFragmentShadingRateEnumStateCreateInfoNV = - VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV, - ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT, - ePhysicalDeviceFragmentDensityMap2FeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT, - ePhysicalDeviceFragmentDensityMap2PropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT, - eCopyCommandTransformInfoQCOM = VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM, - ePhysicalDeviceImageRobustnessFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT, - ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR, - eCopyBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR, - eCopyImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR, - eCopyBufferToImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR, - eCopyImageToBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR, - eBlitImageInfo2KHR = VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR, - eResolveImageInfo2KHR = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR, - eBufferCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR, - eImageCopy2KHR = VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR, - eImageBlit2KHR = VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR, - eBufferImageCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR, - eImageResolve2KHR = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR, - ePhysicalDevice4444FormatsFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT, -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - eDirectfbSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT, -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - ePhysicalDeviceMutableDescriptorTypeFeaturesVALVE = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_VALVE, - eMutableDescriptorTypeCreateInfoVALVE = VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVE, - ePhysicalDeviceVertexInputDynamicStateFeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT, - eVertexInputBindingDescription2EXT = VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT, - eVertexInputAttributeDescription2EXT = VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT, -#if defined( VK_USE_PLATFORM_FUCHSIA ) - eImportMemoryZirconHandleInfoFUCHSIA = VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA, - eMemoryZirconHandlePropertiesFUCHSIA = VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA, - eMemoryGetZirconHandleInfoFUCHSIA = VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA, - eImportSemaphoreZirconHandleInfoFUCHSIA = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA, - eSemaphoreGetZirconHandleInfoFUCHSIA = VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA, -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - ePhysicalDeviceExtendedDynamicState2FeaturesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT, -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - eScreenSurfaceCreateInfoQNX = VK_STRUCTURE_TYPE_SCREEN_SURFACE_CREATE_INFO_QNX, -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - ePhysicalDeviceColorWriteEnableFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT, - ePipelineColorWriteCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT, - eAttachmentDescription2KHR = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR, - eAttachmentDescriptionStencilLayoutKHR = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT_KHR, - eAttachmentReference2KHR = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR, - eAttachmentReferenceStencilLayoutKHR = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT_KHR, - eBindBufferMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHR, - eBindBufferMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR, - eBindImageMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHR, - eBindImageMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR, - eBindImagePlaneMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR, - eBufferDeviceAddressInfoEXT = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT, - eBufferDeviceAddressInfoKHR = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR, - eBufferMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR, - eBufferOpaqueCaptureAddressCreateInfoKHR = VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR, - eDebugReportCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT, - eDescriptorSetLayoutBindingFlagsCreateInfoEXT = - VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT, - eDescriptorSetLayoutSupportKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR, - eDescriptorSetVariableDescriptorCountAllocateInfoEXT = - VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT, - eDescriptorSetVariableDescriptorCountLayoutSupportEXT = - VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT, - eDescriptorUpdateTemplateCreateInfoKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR, - eDeviceGroupBindSparseInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHR, - eDeviceGroupCommandBufferBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHR, - eDeviceGroupDeviceCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHR, - eDeviceGroupRenderPassBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHR, - eDeviceGroupSubmitInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHR, - eDeviceMemoryOpaqueCaptureAddressInfoKHR = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR, - eExportFenceCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR, - eExportMemoryAllocateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR, - eExportSemaphoreCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR, - eExternalBufferPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR, - eExternalFencePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR, - eExternalImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR, - eExternalMemoryBufferCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR, - eExternalMemoryImageCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR, - eExternalSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR, - eFormatProperties2KHR = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR, - eFramebufferAttachmentsCreateInfoKHR = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR, - eFramebufferAttachmentImageInfoKHR = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR, - eImageFormatListCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR, - eImageFormatProperties2KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR, - eImageMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR, - eImagePlaneMemoryRequirementsInfoKHR = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR, - eImageSparseMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR, - eImageStencilUsageCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT, - eImageViewUsageCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR, - eMemoryAllocateFlagsInfoKHR = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHR, - eMemoryDedicatedAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR, - eMemoryDedicatedRequirementsKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR, - eMemoryOpaqueCaptureAddressAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR, - eMemoryRequirements2KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR, - ePhysicalDevice16BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR, - ePhysicalDevice8BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR, - ePhysicalDeviceBufferAddressFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT, - ePhysicalDeviceBufferDeviceAddressFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR, - ePhysicalDeviceDepthStencilResolvePropertiesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR, - ePhysicalDeviceDescriptorIndexingFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT, - ePhysicalDeviceDescriptorIndexingPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT, - ePhysicalDeviceDriverPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR, - ePhysicalDeviceExternalBufferInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR, - ePhysicalDeviceExternalFenceInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR, - ePhysicalDeviceExternalImageFormatInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR, - ePhysicalDeviceExternalSemaphoreInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR, - ePhysicalDeviceFeatures2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR, - ePhysicalDeviceFloat16Int8FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR, - ePhysicalDeviceFloatControlsPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR, - ePhysicalDeviceGroupPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR, - ePhysicalDeviceHostQueryResetFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT, - ePhysicalDeviceIdPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR, - ePhysicalDeviceImagelessFramebufferFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR, - ePhysicalDeviceImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR, - ePhysicalDeviceMaintenance3PropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR, - ePhysicalDeviceMemoryProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR, - ePhysicalDeviceMultiviewFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR, - ePhysicalDeviceMultiviewPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR, - ePhysicalDevicePointClippingPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR, - ePhysicalDeviceProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR, - ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT, - ePhysicalDeviceSamplerYcbcrConversionFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR, - ePhysicalDeviceScalarBlockLayoutFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT, - ePhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES_KHR, - ePhysicalDeviceShaderAtomicInt64FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR, - ePhysicalDeviceShaderDrawParameterFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES, - ePhysicalDeviceShaderFloat16Int8FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR, - ePhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR, - ePhysicalDeviceSparseImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR, - ePhysicalDeviceTimelineSemaphoreFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR, - ePhysicalDeviceTimelineSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES_KHR, - ePhysicalDeviceUniformBufferStandardLayoutFeaturesKHR = - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR, - ePhysicalDeviceVariablePointersFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR, - ePhysicalDeviceVariablePointerFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES, - ePhysicalDeviceVariablePointerFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR, - ePhysicalDeviceVulkanMemoryModelFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR, - ePipelineTessellationDomainOriginStateCreateInfoKHR = - VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR, - eQueryPoolCreateInfoINTEL = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL, - eQueueFamilyProperties2KHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR, - eRenderPassAttachmentBeginInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR, - eRenderPassCreateInfo2KHR = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR, - eRenderPassInputAttachmentAspectCreateInfoKHR = - VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR, - eRenderPassMultiviewCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR, - eSamplerReductionModeCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT, - eSamplerYcbcrConversionCreateInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR, - eSamplerYcbcrConversionImageFormatPropertiesKHR = - VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR, - eSamplerYcbcrConversionInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR, - eSemaphoreSignalInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO_KHR, - eSemaphoreTypeCreateInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO_KHR, - eSemaphoreWaitInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO_KHR, - eSparseImageFormatProperties2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR, - eSparseImageMemoryRequirements2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR, - eSubpassBeginInfoKHR = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR, - eSubpassDependency2KHR = VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR, - eSubpassDescription2KHR = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR, - eSubpassDescriptionDepthStencilResolveKHR = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR, - eSubpassEndInfoKHR = VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR, - eTimelineSemaphoreSubmitInfoKHR = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( StructureType value ) - { - switch ( value ) - { - case StructureType::eApplicationInfo: return "ApplicationInfo"; - case StructureType::eInstanceCreateInfo: return "InstanceCreateInfo"; - case StructureType::eDeviceQueueCreateInfo: return "DeviceQueueCreateInfo"; - case StructureType::eDeviceCreateInfo: return "DeviceCreateInfo"; - case StructureType::eSubmitInfo: return "SubmitInfo"; - case StructureType::eMemoryAllocateInfo: return "MemoryAllocateInfo"; - case StructureType::eMappedMemoryRange: return "MappedMemoryRange"; - case StructureType::eBindSparseInfo: return "BindSparseInfo"; - case StructureType::eFenceCreateInfo: return "FenceCreateInfo"; - case StructureType::eSemaphoreCreateInfo: return "SemaphoreCreateInfo"; - case StructureType::eEventCreateInfo: return "EventCreateInfo"; - case StructureType::eQueryPoolCreateInfo: return "QueryPoolCreateInfo"; - case StructureType::eBufferCreateInfo: return "BufferCreateInfo"; - case StructureType::eBufferViewCreateInfo: return "BufferViewCreateInfo"; - case StructureType::eImageCreateInfo: return "ImageCreateInfo"; - case StructureType::eImageViewCreateInfo: return "ImageViewCreateInfo"; - case StructureType::eShaderModuleCreateInfo: return "ShaderModuleCreateInfo"; - case StructureType::ePipelineCacheCreateInfo: return "PipelineCacheCreateInfo"; - case StructureType::ePipelineShaderStageCreateInfo: return "PipelineShaderStageCreateInfo"; - case StructureType::ePipelineVertexInputStateCreateInfo: return "PipelineVertexInputStateCreateInfo"; - case StructureType::ePipelineInputAssemblyStateCreateInfo: return "PipelineInputAssemblyStateCreateInfo"; - case StructureType::ePipelineTessellationStateCreateInfo: return "PipelineTessellationStateCreateInfo"; - case StructureType::ePipelineViewportStateCreateInfo: return "PipelineViewportStateCreateInfo"; - case StructureType::ePipelineRasterizationStateCreateInfo: return "PipelineRasterizationStateCreateInfo"; - case StructureType::ePipelineMultisampleStateCreateInfo: return "PipelineMultisampleStateCreateInfo"; - case StructureType::ePipelineDepthStencilStateCreateInfo: return "PipelineDepthStencilStateCreateInfo"; - case StructureType::ePipelineColorBlendStateCreateInfo: return "PipelineColorBlendStateCreateInfo"; - case StructureType::ePipelineDynamicStateCreateInfo: return "PipelineDynamicStateCreateInfo"; - case StructureType::eGraphicsPipelineCreateInfo: return "GraphicsPipelineCreateInfo"; - case StructureType::eComputePipelineCreateInfo: return "ComputePipelineCreateInfo"; - case StructureType::ePipelineLayoutCreateInfo: return "PipelineLayoutCreateInfo"; - case StructureType::eSamplerCreateInfo: return "SamplerCreateInfo"; - case StructureType::eDescriptorSetLayoutCreateInfo: return "DescriptorSetLayoutCreateInfo"; - case StructureType::eDescriptorPoolCreateInfo: return "DescriptorPoolCreateInfo"; - case StructureType::eDescriptorSetAllocateInfo: return "DescriptorSetAllocateInfo"; - case StructureType::eWriteDescriptorSet: return "WriteDescriptorSet"; - case StructureType::eCopyDescriptorSet: return "CopyDescriptorSet"; - case StructureType::eFramebufferCreateInfo: return "FramebufferCreateInfo"; - case StructureType::eRenderPassCreateInfo: return "RenderPassCreateInfo"; - case StructureType::eCommandPoolCreateInfo: return "CommandPoolCreateInfo"; - case StructureType::eCommandBufferAllocateInfo: return "CommandBufferAllocateInfo"; - case StructureType::eCommandBufferInheritanceInfo: return "CommandBufferInheritanceInfo"; - case StructureType::eCommandBufferBeginInfo: return "CommandBufferBeginInfo"; - case StructureType::eRenderPassBeginInfo: return "RenderPassBeginInfo"; - case StructureType::eBufferMemoryBarrier: return "BufferMemoryBarrier"; - case StructureType::eImageMemoryBarrier: return "ImageMemoryBarrier"; - case StructureType::eMemoryBarrier: return "MemoryBarrier"; - case StructureType::eLoaderInstanceCreateInfo: return "LoaderInstanceCreateInfo"; - case StructureType::eLoaderDeviceCreateInfo: return "LoaderDeviceCreateInfo"; - case StructureType::ePhysicalDeviceSubgroupProperties: return "PhysicalDeviceSubgroupProperties"; - case StructureType::eBindBufferMemoryInfo: return "BindBufferMemoryInfo"; - case StructureType::eBindImageMemoryInfo: return "BindImageMemoryInfo"; - case StructureType::ePhysicalDevice16BitStorageFeatures: return "PhysicalDevice16BitStorageFeatures"; - case StructureType::eMemoryDedicatedRequirements: return "MemoryDedicatedRequirements"; - case StructureType::eMemoryDedicatedAllocateInfo: return "MemoryDedicatedAllocateInfo"; - case StructureType::eMemoryAllocateFlagsInfo: return "MemoryAllocateFlagsInfo"; - case StructureType::eDeviceGroupRenderPassBeginInfo: return "DeviceGroupRenderPassBeginInfo"; - case StructureType::eDeviceGroupCommandBufferBeginInfo: return "DeviceGroupCommandBufferBeginInfo"; - case StructureType::eDeviceGroupSubmitInfo: return "DeviceGroupSubmitInfo"; - case StructureType::eDeviceGroupBindSparseInfo: return "DeviceGroupBindSparseInfo"; - case StructureType::eBindBufferMemoryDeviceGroupInfo: return "BindBufferMemoryDeviceGroupInfo"; - case StructureType::eBindImageMemoryDeviceGroupInfo: return "BindImageMemoryDeviceGroupInfo"; - case StructureType::ePhysicalDeviceGroupProperties: return "PhysicalDeviceGroupProperties"; - case StructureType::eDeviceGroupDeviceCreateInfo: return "DeviceGroupDeviceCreateInfo"; - case StructureType::eBufferMemoryRequirementsInfo2: return "BufferMemoryRequirementsInfo2"; - case StructureType::eImageMemoryRequirementsInfo2: return "ImageMemoryRequirementsInfo2"; - case StructureType::eImageSparseMemoryRequirementsInfo2: return "ImageSparseMemoryRequirementsInfo2"; - case StructureType::eMemoryRequirements2: return "MemoryRequirements2"; - case StructureType::eSparseImageMemoryRequirements2: return "SparseImageMemoryRequirements2"; - case StructureType::ePhysicalDeviceFeatures2: return "PhysicalDeviceFeatures2"; - case StructureType::ePhysicalDeviceProperties2: return "PhysicalDeviceProperties2"; - case StructureType::eFormatProperties2: return "FormatProperties2"; - case StructureType::eImageFormatProperties2: return "ImageFormatProperties2"; - case StructureType::ePhysicalDeviceImageFormatInfo2: return "PhysicalDeviceImageFormatInfo2"; - case StructureType::eQueueFamilyProperties2: return "QueueFamilyProperties2"; - case StructureType::ePhysicalDeviceMemoryProperties2: return "PhysicalDeviceMemoryProperties2"; - case StructureType::eSparseImageFormatProperties2: return "SparseImageFormatProperties2"; - case StructureType::ePhysicalDeviceSparseImageFormatInfo2: return "PhysicalDeviceSparseImageFormatInfo2"; - case StructureType::ePhysicalDevicePointClippingProperties: return "PhysicalDevicePointClippingProperties"; - case StructureType::eRenderPassInputAttachmentAspectCreateInfo: - return "RenderPassInputAttachmentAspectCreateInfo"; - case StructureType::eImageViewUsageCreateInfo: return "ImageViewUsageCreateInfo"; - case StructureType::ePipelineTessellationDomainOriginStateCreateInfo: - return "PipelineTessellationDomainOriginStateCreateInfo"; - case StructureType::eRenderPassMultiviewCreateInfo: return "RenderPassMultiviewCreateInfo"; - case StructureType::ePhysicalDeviceMultiviewFeatures: return "PhysicalDeviceMultiviewFeatures"; - case StructureType::ePhysicalDeviceMultiviewProperties: return "PhysicalDeviceMultiviewProperties"; - case StructureType::ePhysicalDeviceVariablePointersFeatures: return "PhysicalDeviceVariablePointersFeatures"; - case StructureType::eProtectedSubmitInfo: return "ProtectedSubmitInfo"; - case StructureType::ePhysicalDeviceProtectedMemoryFeatures: return "PhysicalDeviceProtectedMemoryFeatures"; - case StructureType::ePhysicalDeviceProtectedMemoryProperties: return "PhysicalDeviceProtectedMemoryProperties"; - case StructureType::eDeviceQueueInfo2: return "DeviceQueueInfo2"; - case StructureType::eSamplerYcbcrConversionCreateInfo: return "SamplerYcbcrConversionCreateInfo"; - case StructureType::eSamplerYcbcrConversionInfo: return "SamplerYcbcrConversionInfo"; - case StructureType::eBindImagePlaneMemoryInfo: return "BindImagePlaneMemoryInfo"; - case StructureType::eImagePlaneMemoryRequirementsInfo: return "ImagePlaneMemoryRequirementsInfo"; - case StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures: - return "PhysicalDeviceSamplerYcbcrConversionFeatures"; - case StructureType::eSamplerYcbcrConversionImageFormatProperties: - return "SamplerYcbcrConversionImageFormatProperties"; - case StructureType::eDescriptorUpdateTemplateCreateInfo: return "DescriptorUpdateTemplateCreateInfo"; - case StructureType::ePhysicalDeviceExternalImageFormatInfo: return "PhysicalDeviceExternalImageFormatInfo"; - case StructureType::eExternalImageFormatProperties: return "ExternalImageFormatProperties"; - case StructureType::ePhysicalDeviceExternalBufferInfo: return "PhysicalDeviceExternalBufferInfo"; - case StructureType::eExternalBufferProperties: return "ExternalBufferProperties"; - case StructureType::ePhysicalDeviceIdProperties: return "PhysicalDeviceIdProperties"; - case StructureType::eExternalMemoryBufferCreateInfo: return "ExternalMemoryBufferCreateInfo"; - case StructureType::eExternalMemoryImageCreateInfo: return "ExternalMemoryImageCreateInfo"; - case StructureType::eExportMemoryAllocateInfo: return "ExportMemoryAllocateInfo"; - case StructureType::ePhysicalDeviceExternalFenceInfo: return "PhysicalDeviceExternalFenceInfo"; - case StructureType::eExternalFenceProperties: return "ExternalFenceProperties"; - case StructureType::eExportFenceCreateInfo: return "ExportFenceCreateInfo"; - case StructureType::eExportSemaphoreCreateInfo: return "ExportSemaphoreCreateInfo"; - case StructureType::ePhysicalDeviceExternalSemaphoreInfo: return "PhysicalDeviceExternalSemaphoreInfo"; - case StructureType::eExternalSemaphoreProperties: return "ExternalSemaphoreProperties"; - case StructureType::ePhysicalDeviceMaintenance3Properties: return "PhysicalDeviceMaintenance3Properties"; - case StructureType::eDescriptorSetLayoutSupport: return "DescriptorSetLayoutSupport"; - case StructureType::ePhysicalDeviceShaderDrawParametersFeatures: - return "PhysicalDeviceShaderDrawParametersFeatures"; - case StructureType::ePhysicalDeviceVulkan11Features: return "PhysicalDeviceVulkan11Features"; - case StructureType::ePhysicalDeviceVulkan11Properties: return "PhysicalDeviceVulkan11Properties"; - case StructureType::ePhysicalDeviceVulkan12Features: return "PhysicalDeviceVulkan12Features"; - case StructureType::ePhysicalDeviceVulkan12Properties: return "PhysicalDeviceVulkan12Properties"; - case StructureType::eImageFormatListCreateInfo: return "ImageFormatListCreateInfo"; - case StructureType::eAttachmentDescription2: return "AttachmentDescription2"; - case StructureType::eAttachmentReference2: return "AttachmentReference2"; - case StructureType::eSubpassDescription2: return "SubpassDescription2"; - case StructureType::eSubpassDependency2: return "SubpassDependency2"; - case StructureType::eRenderPassCreateInfo2: return "RenderPassCreateInfo2"; - case StructureType::eSubpassBeginInfo: return "SubpassBeginInfo"; - case StructureType::eSubpassEndInfo: return "SubpassEndInfo"; - case StructureType::ePhysicalDevice8BitStorageFeatures: return "PhysicalDevice8BitStorageFeatures"; - case StructureType::ePhysicalDeviceDriverProperties: return "PhysicalDeviceDriverProperties"; - case StructureType::ePhysicalDeviceShaderAtomicInt64Features: return "PhysicalDeviceShaderAtomicInt64Features"; - case StructureType::ePhysicalDeviceShaderFloat16Int8Features: return "PhysicalDeviceShaderFloat16Int8Features"; - case StructureType::ePhysicalDeviceFloatControlsProperties: return "PhysicalDeviceFloatControlsProperties"; - case StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo: - return "DescriptorSetLayoutBindingFlagsCreateInfo"; - case StructureType::ePhysicalDeviceDescriptorIndexingFeatures: return "PhysicalDeviceDescriptorIndexingFeatures"; - case StructureType::ePhysicalDeviceDescriptorIndexingProperties: - return "PhysicalDeviceDescriptorIndexingProperties"; - case StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo: - return "DescriptorSetVariableDescriptorCountAllocateInfo"; - case StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport: - return "DescriptorSetVariableDescriptorCountLayoutSupport"; - case StructureType::ePhysicalDeviceDepthStencilResolveProperties: - return "PhysicalDeviceDepthStencilResolveProperties"; - case StructureType::eSubpassDescriptionDepthStencilResolve: return "SubpassDescriptionDepthStencilResolve"; - case StructureType::ePhysicalDeviceScalarBlockLayoutFeatures: return "PhysicalDeviceScalarBlockLayoutFeatures"; - case StructureType::eImageStencilUsageCreateInfo: return "ImageStencilUsageCreateInfo"; - case StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties: - return "PhysicalDeviceSamplerFilterMinmaxProperties"; - case StructureType::eSamplerReductionModeCreateInfo: return "SamplerReductionModeCreateInfo"; - case StructureType::ePhysicalDeviceVulkanMemoryModelFeatures: return "PhysicalDeviceVulkanMemoryModelFeatures"; - case StructureType::ePhysicalDeviceImagelessFramebufferFeatures: - return "PhysicalDeviceImagelessFramebufferFeatures"; - case StructureType::eFramebufferAttachmentsCreateInfo: return "FramebufferAttachmentsCreateInfo"; - case StructureType::eFramebufferAttachmentImageInfo: return "FramebufferAttachmentImageInfo"; - case StructureType::eRenderPassAttachmentBeginInfo: return "RenderPassAttachmentBeginInfo"; - case StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures: - return "PhysicalDeviceUniformBufferStandardLayoutFeatures"; - case StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures: - return "PhysicalDeviceShaderSubgroupExtendedTypesFeatures"; - case StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures: - return "PhysicalDeviceSeparateDepthStencilLayoutsFeatures"; - case StructureType::eAttachmentReferenceStencilLayout: return "AttachmentReferenceStencilLayout"; - case StructureType::eAttachmentDescriptionStencilLayout: return "AttachmentDescriptionStencilLayout"; - case StructureType::ePhysicalDeviceHostQueryResetFeatures: return "PhysicalDeviceHostQueryResetFeatures"; - case StructureType::ePhysicalDeviceTimelineSemaphoreFeatures: return "PhysicalDeviceTimelineSemaphoreFeatures"; - case StructureType::ePhysicalDeviceTimelineSemaphoreProperties: - return "PhysicalDeviceTimelineSemaphoreProperties"; - case StructureType::eSemaphoreTypeCreateInfo: return "SemaphoreTypeCreateInfo"; - case StructureType::eTimelineSemaphoreSubmitInfo: return "TimelineSemaphoreSubmitInfo"; - case StructureType::eSemaphoreWaitInfo: return "SemaphoreWaitInfo"; - case StructureType::eSemaphoreSignalInfo: return "SemaphoreSignalInfo"; - case StructureType::ePhysicalDeviceBufferDeviceAddressFeatures: - return "PhysicalDeviceBufferDeviceAddressFeatures"; - case StructureType::eBufferDeviceAddressInfo: return "BufferDeviceAddressInfo"; - case StructureType::eBufferOpaqueCaptureAddressCreateInfo: return "BufferOpaqueCaptureAddressCreateInfo"; - case StructureType::eMemoryOpaqueCaptureAddressAllocateInfo: return "MemoryOpaqueCaptureAddressAllocateInfo"; - case StructureType::eDeviceMemoryOpaqueCaptureAddressInfo: return "DeviceMemoryOpaqueCaptureAddressInfo"; - case StructureType::eSwapchainCreateInfoKHR: return "SwapchainCreateInfoKHR"; - case StructureType::ePresentInfoKHR: return "PresentInfoKHR"; - case StructureType::eDeviceGroupPresentCapabilitiesKHR: return "DeviceGroupPresentCapabilitiesKHR"; - case StructureType::eImageSwapchainCreateInfoKHR: return "ImageSwapchainCreateInfoKHR"; - case StructureType::eBindImageMemorySwapchainInfoKHR: return "BindImageMemorySwapchainInfoKHR"; - case StructureType::eAcquireNextImageInfoKHR: return "AcquireNextImageInfoKHR"; - case StructureType::eDeviceGroupPresentInfoKHR: return "DeviceGroupPresentInfoKHR"; - case StructureType::eDeviceGroupSwapchainCreateInfoKHR: return "DeviceGroupSwapchainCreateInfoKHR"; - case StructureType::eDisplayModeCreateInfoKHR: return "DisplayModeCreateInfoKHR"; - case StructureType::eDisplaySurfaceCreateInfoKHR: return "DisplaySurfaceCreateInfoKHR"; - case StructureType::eDisplayPresentInfoKHR: return "DisplayPresentInfoKHR"; -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - case StructureType::eXlibSurfaceCreateInfoKHR: return "XlibSurfaceCreateInfoKHR"; -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - case StructureType::eXcbSurfaceCreateInfoKHR: return "XcbSurfaceCreateInfoKHR"; -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - case StructureType::eWaylandSurfaceCreateInfoKHR: return "WaylandSurfaceCreateInfoKHR"; -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - case StructureType::eAndroidSurfaceCreateInfoKHR: return "AndroidSurfaceCreateInfoKHR"; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eWin32SurfaceCreateInfoKHR: return "Win32SurfaceCreateInfoKHR"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eDebugReportCallbackCreateInfoEXT: return "DebugReportCallbackCreateInfoEXT"; - case StructureType::ePipelineRasterizationStateRasterizationOrderAMD: - return "PipelineRasterizationStateRasterizationOrderAMD"; - case StructureType::eDebugMarkerObjectNameInfoEXT: return "DebugMarkerObjectNameInfoEXT"; - case StructureType::eDebugMarkerObjectTagInfoEXT: return "DebugMarkerObjectTagInfoEXT"; - case StructureType::eDebugMarkerMarkerInfoEXT: return "DebugMarkerMarkerInfoEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case StructureType::eVideoProfileKHR: return "VideoProfileKHR"; - case StructureType::eVideoCapabilitiesKHR: return "VideoCapabilitiesKHR"; - case StructureType::eVideoPictureResourceKHR: return "VideoPictureResourceKHR"; - case StructureType::eVideoGetMemoryPropertiesKHR: return "VideoGetMemoryPropertiesKHR"; - case StructureType::eVideoBindMemoryKHR: return "VideoBindMemoryKHR"; - case StructureType::eVideoSessionCreateInfoKHR: return "VideoSessionCreateInfoKHR"; - case StructureType::eVideoSessionParametersCreateInfoKHR: return "VideoSessionParametersCreateInfoKHR"; - case StructureType::eVideoSessionParametersUpdateInfoKHR: return "VideoSessionParametersUpdateInfoKHR"; - case StructureType::eVideoBeginCodingInfoKHR: return "VideoBeginCodingInfoKHR"; - case StructureType::eVideoEndCodingInfoKHR: return "VideoEndCodingInfoKHR"; - case StructureType::eVideoCodingControlInfoKHR: return "VideoCodingControlInfoKHR"; - case StructureType::eVideoReferenceSlotKHR: return "VideoReferenceSlotKHR"; - case StructureType::eVideoQueueFamilyProperties2KHR: return "VideoQueueFamilyProperties2KHR"; - case StructureType::eVideoProfilesKHR: return "VideoProfilesKHR"; - case StructureType::ePhysicalDeviceVideoFormatInfoKHR: return "PhysicalDeviceVideoFormatInfoKHR"; - case StructureType::eVideoFormatPropertiesKHR: return "VideoFormatPropertiesKHR"; - case StructureType::eVideoDecodeInfoKHR: return "VideoDecodeInfoKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case StructureType::eDedicatedAllocationImageCreateInfoNV: return "DedicatedAllocationImageCreateInfoNV"; - case StructureType::eDedicatedAllocationBufferCreateInfoNV: return "DedicatedAllocationBufferCreateInfoNV"; - case StructureType::eDedicatedAllocationMemoryAllocateInfoNV: return "DedicatedAllocationMemoryAllocateInfoNV"; - case StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT: - return "PhysicalDeviceTransformFeedbackFeaturesEXT"; - case StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT: - return "PhysicalDeviceTransformFeedbackPropertiesEXT"; - case StructureType::ePipelineRasterizationStateStreamCreateInfoEXT: - return "PipelineRasterizationStateStreamCreateInfoEXT"; - case StructureType::eCuModuleCreateInfoNVX: return "CuModuleCreateInfoNVX"; - case StructureType::eCuFunctionCreateInfoNVX: return "CuFunctionCreateInfoNVX"; - case StructureType::eCuLaunchInfoNVX: return "CuLaunchInfoNVX"; - case StructureType::eImageViewHandleInfoNVX: return "ImageViewHandleInfoNVX"; - case StructureType::eImageViewAddressPropertiesNVX: return "ImageViewAddressPropertiesNVX"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case StructureType::eVideoEncodeH264CapabilitiesEXT: return "VideoEncodeH264CapabilitiesEXT"; - case StructureType::eVideoEncodeH264SessionCreateInfoEXT: return "VideoEncodeH264SessionCreateInfoEXT"; - case StructureType::eVideoEncodeH264SessionParametersCreateInfoEXT: - return "VideoEncodeH264SessionParametersCreateInfoEXT"; - case StructureType::eVideoEncodeH264SessionParametersAddInfoEXT: - return "VideoEncodeH264SessionParametersAddInfoEXT"; - case StructureType::eVideoEncodeH264VclFrameInfoEXT: return "VideoEncodeH264VclFrameInfoEXT"; - case StructureType::eVideoEncodeH264DpbSlotInfoEXT: return "VideoEncodeH264DpbSlotInfoEXT"; - case StructureType::eVideoEncodeH264NaluSliceEXT: return "VideoEncodeH264NaluSliceEXT"; - case StructureType::eVideoEncodeH264EmitPictureParametersEXT: return "VideoEncodeH264EmitPictureParametersEXT"; - case StructureType::eVideoEncodeH264ProfileEXT: return "VideoEncodeH264ProfileEXT"; - case StructureType::eVideoDecodeH264CapabilitiesEXT: return "VideoDecodeH264CapabilitiesEXT"; - case StructureType::eVideoDecodeH264SessionCreateInfoEXT: return "VideoDecodeH264SessionCreateInfoEXT"; - case StructureType::eVideoDecodeH264PictureInfoEXT: return "VideoDecodeH264PictureInfoEXT"; - case StructureType::eVideoDecodeH264MvcEXT: return "VideoDecodeH264MvcEXT"; - case StructureType::eVideoDecodeH264ProfileEXT: return "VideoDecodeH264ProfileEXT"; - case StructureType::eVideoDecodeH264SessionParametersCreateInfoEXT: - return "VideoDecodeH264SessionParametersCreateInfoEXT"; - case StructureType::eVideoDecodeH264SessionParametersAddInfoEXT: - return "VideoDecodeH264SessionParametersAddInfoEXT"; - case StructureType::eVideoDecodeH264DpbSlotInfoEXT: return "VideoDecodeH264DpbSlotInfoEXT"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case StructureType::eTextureLodGatherFormatPropertiesAMD: return "TextureLodGatherFormatPropertiesAMD"; -#if defined( VK_USE_PLATFORM_GGP ) - case StructureType::eStreamDescriptorSurfaceCreateInfoGGP: return "StreamDescriptorSurfaceCreateInfoGGP"; -#endif /*VK_USE_PLATFORM_GGP*/ - case StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV: - return "PhysicalDeviceCornerSampledImageFeaturesNV"; - case StructureType::eExternalMemoryImageCreateInfoNV: return "ExternalMemoryImageCreateInfoNV"; - case StructureType::eExportMemoryAllocateInfoNV: return "ExportMemoryAllocateInfoNV"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eImportMemoryWin32HandleInfoNV: return "ImportMemoryWin32HandleInfoNV"; - case StructureType::eExportMemoryWin32HandleInfoNV: return "ExportMemoryWin32HandleInfoNV"; - case StructureType::eWin32KeyedMutexAcquireReleaseInfoNV: return "Win32KeyedMutexAcquireReleaseInfoNV"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eValidationFlagsEXT: return "ValidationFlagsEXT"; -#if defined( VK_USE_PLATFORM_VI_NN ) - case StructureType::eViSurfaceCreateInfoNN: return "ViSurfaceCreateInfoNN"; -#endif /*VK_USE_PLATFORM_VI_NN*/ - case StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT: - return "PhysicalDeviceTextureCompressionAstcHdrFeaturesEXT"; - case StructureType::eImageViewAstcDecodeModeEXT: return "ImageViewAstcDecodeModeEXT"; - case StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT: return "PhysicalDeviceAstcDecodeFeaturesEXT"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eImportMemoryWin32HandleInfoKHR: return "ImportMemoryWin32HandleInfoKHR"; - case StructureType::eExportMemoryWin32HandleInfoKHR: return "ExportMemoryWin32HandleInfoKHR"; - case StructureType::eMemoryWin32HandlePropertiesKHR: return "MemoryWin32HandlePropertiesKHR"; - case StructureType::eMemoryGetWin32HandleInfoKHR: return "MemoryGetWin32HandleInfoKHR"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eImportMemoryFdInfoKHR: return "ImportMemoryFdInfoKHR"; - case StructureType::eMemoryFdPropertiesKHR: return "MemoryFdPropertiesKHR"; - case StructureType::eMemoryGetFdInfoKHR: return "MemoryGetFdInfoKHR"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR: return "Win32KeyedMutexAcquireReleaseInfoKHR"; - case StructureType::eImportSemaphoreWin32HandleInfoKHR: return "ImportSemaphoreWin32HandleInfoKHR"; - case StructureType::eExportSemaphoreWin32HandleInfoKHR: return "ExportSemaphoreWin32HandleInfoKHR"; - case StructureType::eD3D12FenceSubmitInfoKHR: return "D3D12FenceSubmitInfoKHR"; - case StructureType::eSemaphoreGetWin32HandleInfoKHR: return "SemaphoreGetWin32HandleInfoKHR"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eImportSemaphoreFdInfoKHR: return "ImportSemaphoreFdInfoKHR"; - case StructureType::eSemaphoreGetFdInfoKHR: return "SemaphoreGetFdInfoKHR"; - case StructureType::ePhysicalDevicePushDescriptorPropertiesKHR: - return "PhysicalDevicePushDescriptorPropertiesKHR"; - case StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT: - return "CommandBufferInheritanceConditionalRenderingInfoEXT"; - case StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT: - return "PhysicalDeviceConditionalRenderingFeaturesEXT"; - case StructureType::eConditionalRenderingBeginInfoEXT: return "ConditionalRenderingBeginInfoEXT"; - case StructureType::ePresentRegionsKHR: return "PresentRegionsKHR"; - case StructureType::ePipelineViewportWScalingStateCreateInfoNV: - return "PipelineViewportWScalingStateCreateInfoNV"; - case StructureType::eSurfaceCapabilities2EXT: return "SurfaceCapabilities2EXT"; - case StructureType::eDisplayPowerInfoEXT: return "DisplayPowerInfoEXT"; - case StructureType::eDeviceEventInfoEXT: return "DeviceEventInfoEXT"; - case StructureType::eDisplayEventInfoEXT: return "DisplayEventInfoEXT"; - case StructureType::eSwapchainCounterCreateInfoEXT: return "SwapchainCounterCreateInfoEXT"; - case StructureType::ePresentTimesInfoGOOGLE: return "PresentTimesInfoGOOGLE"; - case StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX: - return "PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX"; - case StructureType::ePipelineViewportSwizzleStateCreateInfoNV: return "PipelineViewportSwizzleStateCreateInfoNV"; - case StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT: - return "PhysicalDeviceDiscardRectanglePropertiesEXT"; - case StructureType::ePipelineDiscardRectangleStateCreateInfoEXT: - return "PipelineDiscardRectangleStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT: - return "PhysicalDeviceConservativeRasterizationPropertiesEXT"; - case StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT: - return "PipelineRasterizationConservativeStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT: return "PhysicalDeviceDepthClipEnableFeaturesEXT"; - case StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT: - return "PipelineRasterizationDepthClipStateCreateInfoEXT"; - case StructureType::eHdrMetadataEXT: return "HdrMetadataEXT"; - case StructureType::eSharedPresentSurfaceCapabilitiesKHR: return "SharedPresentSurfaceCapabilitiesKHR"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eImportFenceWin32HandleInfoKHR: return "ImportFenceWin32HandleInfoKHR"; - case StructureType::eExportFenceWin32HandleInfoKHR: return "ExportFenceWin32HandleInfoKHR"; - case StructureType::eFenceGetWin32HandleInfoKHR: return "FenceGetWin32HandleInfoKHR"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eImportFenceFdInfoKHR: return "ImportFenceFdInfoKHR"; - case StructureType::eFenceGetFdInfoKHR: return "FenceGetFdInfoKHR"; - case StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR: - return "PhysicalDevicePerformanceQueryFeaturesKHR"; - case StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR: - return "PhysicalDevicePerformanceQueryPropertiesKHR"; - case StructureType::eQueryPoolPerformanceCreateInfoKHR: return "QueryPoolPerformanceCreateInfoKHR"; - case StructureType::ePerformanceQuerySubmitInfoKHR: return "PerformanceQuerySubmitInfoKHR"; - case StructureType::eAcquireProfilingLockInfoKHR: return "AcquireProfilingLockInfoKHR"; - case StructureType::ePerformanceCounterKHR: return "PerformanceCounterKHR"; - case StructureType::ePerformanceCounterDescriptionKHR: return "PerformanceCounterDescriptionKHR"; - case StructureType::ePhysicalDeviceSurfaceInfo2KHR: return "PhysicalDeviceSurfaceInfo2KHR"; - case StructureType::eSurfaceCapabilities2KHR: return "SurfaceCapabilities2KHR"; - case StructureType::eSurfaceFormat2KHR: return "SurfaceFormat2KHR"; - case StructureType::eDisplayProperties2KHR: return "DisplayProperties2KHR"; - case StructureType::eDisplayPlaneProperties2KHR: return "DisplayPlaneProperties2KHR"; - case StructureType::eDisplayModeProperties2KHR: return "DisplayModeProperties2KHR"; - case StructureType::eDisplayPlaneInfo2KHR: return "DisplayPlaneInfo2KHR"; - case StructureType::eDisplayPlaneCapabilities2KHR: return "DisplayPlaneCapabilities2KHR"; -#if defined( VK_USE_PLATFORM_IOS_MVK ) - case StructureType::eIosSurfaceCreateInfoMVK: return "IosSurfaceCreateInfoMVK"; -#endif /*VK_USE_PLATFORM_IOS_MVK*/ -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - case StructureType::eMacosSurfaceCreateInfoMVK: return "MacosSurfaceCreateInfoMVK"; -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - case StructureType::eDebugUtilsObjectNameInfoEXT: return "DebugUtilsObjectNameInfoEXT"; - case StructureType::eDebugUtilsObjectTagInfoEXT: return "DebugUtilsObjectTagInfoEXT"; - case StructureType::eDebugUtilsLabelEXT: return "DebugUtilsLabelEXT"; - case StructureType::eDebugUtilsMessengerCallbackDataEXT: return "DebugUtilsMessengerCallbackDataEXT"; - case StructureType::eDebugUtilsMessengerCreateInfoEXT: return "DebugUtilsMessengerCreateInfoEXT"; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - case StructureType::eAndroidHardwareBufferUsageANDROID: return "AndroidHardwareBufferUsageANDROID"; - case StructureType::eAndroidHardwareBufferPropertiesANDROID: return "AndroidHardwareBufferPropertiesANDROID"; - case StructureType::eAndroidHardwareBufferFormatPropertiesANDROID: - return "AndroidHardwareBufferFormatPropertiesANDROID"; - case StructureType::eImportAndroidHardwareBufferInfoANDROID: return "ImportAndroidHardwareBufferInfoANDROID"; - case StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID: - return "MemoryGetAndroidHardwareBufferInfoANDROID"; - case StructureType::eExternalFormatANDROID: return "ExternalFormatANDROID"; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - case StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT: - return "PhysicalDeviceInlineUniformBlockFeaturesEXT"; - case StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT: - return "PhysicalDeviceInlineUniformBlockPropertiesEXT"; - case StructureType::eWriteDescriptorSetInlineUniformBlockEXT: return "WriteDescriptorSetInlineUniformBlockEXT"; - case StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT: - return "DescriptorPoolInlineUniformBlockCreateInfoEXT"; - case StructureType::eSampleLocationsInfoEXT: return "SampleLocationsInfoEXT"; - case StructureType::eRenderPassSampleLocationsBeginInfoEXT: return "RenderPassSampleLocationsBeginInfoEXT"; - case StructureType::ePipelineSampleLocationsStateCreateInfoEXT: - return "PipelineSampleLocationsStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT: - return "PhysicalDeviceSampleLocationsPropertiesEXT"; - case StructureType::eMultisamplePropertiesEXT: return "MultisamplePropertiesEXT"; - case StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT: - return "PhysicalDeviceBlendOperationAdvancedFeaturesEXT"; - case StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT: - return "PhysicalDeviceBlendOperationAdvancedPropertiesEXT"; - case StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT: - return "PipelineColorBlendAdvancedStateCreateInfoEXT"; - case StructureType::ePipelineCoverageToColorStateCreateInfoNV: return "PipelineCoverageToColorStateCreateInfoNV"; - case StructureType::eWriteDescriptorSetAccelerationStructureKHR: - return "WriteDescriptorSetAccelerationStructureKHR"; - case StructureType::eAccelerationStructureBuildGeometryInfoKHR: - return "AccelerationStructureBuildGeometryInfoKHR"; - case StructureType::eAccelerationStructureDeviceAddressInfoKHR: - return "AccelerationStructureDeviceAddressInfoKHR"; - case StructureType::eAccelerationStructureGeometryAabbsDataKHR: - return "AccelerationStructureGeometryAabbsDataKHR"; - case StructureType::eAccelerationStructureGeometryInstancesDataKHR: - return "AccelerationStructureGeometryInstancesDataKHR"; - case StructureType::eAccelerationStructureGeometryTrianglesDataKHR: - return "AccelerationStructureGeometryTrianglesDataKHR"; - case StructureType::eAccelerationStructureGeometryKHR: return "AccelerationStructureGeometryKHR"; - case StructureType::eAccelerationStructureVersionInfoKHR: return "AccelerationStructureVersionInfoKHR"; - case StructureType::eCopyAccelerationStructureInfoKHR: return "CopyAccelerationStructureInfoKHR"; - case StructureType::eCopyAccelerationStructureToMemoryInfoKHR: return "CopyAccelerationStructureToMemoryInfoKHR"; - case StructureType::eCopyMemoryToAccelerationStructureInfoKHR: return "CopyMemoryToAccelerationStructureInfoKHR"; - case StructureType::ePhysicalDeviceAccelerationStructureFeaturesKHR: - return "PhysicalDeviceAccelerationStructureFeaturesKHR"; - case StructureType::ePhysicalDeviceAccelerationStructurePropertiesKHR: - return "PhysicalDeviceAccelerationStructurePropertiesKHR"; - case StructureType::eAccelerationStructureCreateInfoKHR: return "AccelerationStructureCreateInfoKHR"; - case StructureType::eAccelerationStructureBuildSizesInfoKHR: return "AccelerationStructureBuildSizesInfoKHR"; - case StructureType::ePhysicalDeviceRayTracingPipelineFeaturesKHR: - return "PhysicalDeviceRayTracingPipelineFeaturesKHR"; - case StructureType::ePhysicalDeviceRayTracingPipelinePropertiesKHR: - return "PhysicalDeviceRayTracingPipelinePropertiesKHR"; - case StructureType::eRayTracingPipelineCreateInfoKHR: return "RayTracingPipelineCreateInfoKHR"; - case StructureType::eRayTracingShaderGroupCreateInfoKHR: return "RayTracingShaderGroupCreateInfoKHR"; - case StructureType::eRayTracingPipelineInterfaceCreateInfoKHR: return "RayTracingPipelineInterfaceCreateInfoKHR"; - case StructureType::ePhysicalDeviceRayQueryFeaturesKHR: return "PhysicalDeviceRayQueryFeaturesKHR"; - case StructureType::ePipelineCoverageModulationStateCreateInfoNV: - return "PipelineCoverageModulationStateCreateInfoNV"; - case StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV: return "PhysicalDeviceShaderSmBuiltinsFeaturesNV"; - case StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV: - return "PhysicalDeviceShaderSmBuiltinsPropertiesNV"; - case StructureType::eDrmFormatModifierPropertiesListEXT: return "DrmFormatModifierPropertiesListEXT"; - case StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT: - return "PhysicalDeviceImageDrmFormatModifierInfoEXT"; - case StructureType::eImageDrmFormatModifierListCreateInfoEXT: return "ImageDrmFormatModifierListCreateInfoEXT"; - case StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT: - return "ImageDrmFormatModifierExplicitCreateInfoEXT"; - case StructureType::eImageDrmFormatModifierPropertiesEXT: return "ImageDrmFormatModifierPropertiesEXT"; - case StructureType::eValidationCacheCreateInfoEXT: return "ValidationCacheCreateInfoEXT"; - case StructureType::eShaderModuleValidationCacheCreateInfoEXT: return "ShaderModuleValidationCacheCreateInfoEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR: - return "PhysicalDevicePortabilitySubsetFeaturesKHR"; - case StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR: - return "PhysicalDevicePortabilitySubsetPropertiesKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV: - return "PipelineViewportShadingRateImageStateCreateInfoNV"; - case StructureType::ePhysicalDeviceShadingRateImageFeaturesNV: return "PhysicalDeviceShadingRateImageFeaturesNV"; - case StructureType::ePhysicalDeviceShadingRateImagePropertiesNV: - return "PhysicalDeviceShadingRateImagePropertiesNV"; - case StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV: - return "PipelineViewportCoarseSampleOrderStateCreateInfoNV"; - case StructureType::eRayTracingPipelineCreateInfoNV: return "RayTracingPipelineCreateInfoNV"; - case StructureType::eAccelerationStructureCreateInfoNV: return "AccelerationStructureCreateInfoNV"; - case StructureType::eGeometryNV: return "GeometryNV"; - case StructureType::eGeometryTrianglesNV: return "GeometryTrianglesNV"; - case StructureType::eGeometryAabbNV: return "GeometryAabbNV"; - case StructureType::eBindAccelerationStructureMemoryInfoNV: return "BindAccelerationStructureMemoryInfoNV"; - case StructureType::eWriteDescriptorSetAccelerationStructureNV: - return "WriteDescriptorSetAccelerationStructureNV"; - case StructureType::eAccelerationStructureMemoryRequirementsInfoNV: - return "AccelerationStructureMemoryRequirementsInfoNV"; - case StructureType::ePhysicalDeviceRayTracingPropertiesNV: return "PhysicalDeviceRayTracingPropertiesNV"; - case StructureType::eRayTracingShaderGroupCreateInfoNV: return "RayTracingShaderGroupCreateInfoNV"; - case StructureType::eAccelerationStructureInfoNV: return "AccelerationStructureInfoNV"; - case StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV: - return "PhysicalDeviceRepresentativeFragmentTestFeaturesNV"; - case StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV: - return "PipelineRepresentativeFragmentTestStateCreateInfoNV"; - case StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT: - return "PhysicalDeviceImageViewImageFormatInfoEXT"; - case StructureType::eFilterCubicImageViewImageFormatPropertiesEXT: - return "FilterCubicImageViewImageFormatPropertiesEXT"; - case StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT: return "DeviceQueueGlobalPriorityCreateInfoEXT"; - case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT"; - case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT"; - case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: - return "PhysicalDeviceExternalMemoryHostPropertiesEXT"; - case StructureType::ePhysicalDeviceShaderClockFeaturesKHR: return "PhysicalDeviceShaderClockFeaturesKHR"; - case StructureType::ePipelineCompilerControlCreateInfoAMD: return "PipelineCompilerControlCreateInfoAMD"; - case StructureType::eCalibratedTimestampInfoEXT: return "CalibratedTimestampInfoEXT"; - case StructureType::ePhysicalDeviceShaderCorePropertiesAMD: return "PhysicalDeviceShaderCorePropertiesAMD"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case StructureType::eVideoDecodeH265CapabilitiesEXT: return "VideoDecodeH265CapabilitiesEXT"; - case StructureType::eVideoDecodeH265SessionCreateInfoEXT: return "VideoDecodeH265SessionCreateInfoEXT"; - case StructureType::eVideoDecodeH265SessionParametersCreateInfoEXT: - return "VideoDecodeH265SessionParametersCreateInfoEXT"; - case StructureType::eVideoDecodeH265SessionParametersAddInfoEXT: - return "VideoDecodeH265SessionParametersAddInfoEXT"; - case StructureType::eVideoDecodeH265ProfileEXT: return "VideoDecodeH265ProfileEXT"; - case StructureType::eVideoDecodeH265PictureInfoEXT: return "VideoDecodeH265PictureInfoEXT"; - case StructureType::eVideoDecodeH265DpbSlotInfoEXT: return "VideoDecodeH265DpbSlotInfoEXT"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case StructureType::eDeviceMemoryOverallocationCreateInfoAMD: return "DeviceMemoryOverallocationCreateInfoAMD"; - case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT: - return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT"; - case StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT: - return "PipelineVertexInputDivisorStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT: - return "PhysicalDeviceVertexAttributeDivisorFeaturesEXT"; -#if defined( VK_USE_PLATFORM_GGP ) - case StructureType::ePresentFrameTokenGGP: return "PresentFrameTokenGGP"; -#endif /*VK_USE_PLATFORM_GGP*/ - case StructureType::ePipelineCreationFeedbackCreateInfoEXT: return "PipelineCreationFeedbackCreateInfoEXT"; - case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV: - return "PhysicalDeviceComputeShaderDerivativesFeaturesNV"; - case StructureType::ePhysicalDeviceMeshShaderFeaturesNV: return "PhysicalDeviceMeshShaderFeaturesNV"; - case StructureType::ePhysicalDeviceMeshShaderPropertiesNV: return "PhysicalDeviceMeshShaderPropertiesNV"; - case StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV: - return "PhysicalDeviceFragmentShaderBarycentricFeaturesNV"; - case StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV: - return "PhysicalDeviceShaderImageFootprintFeaturesNV"; - case StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV: - return "PipelineViewportExclusiveScissorStateCreateInfoNV"; - case StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV: return "PhysicalDeviceExclusiveScissorFeaturesNV"; - case StructureType::eCheckpointDataNV: return "CheckpointDataNV"; - case StructureType::eQueueFamilyCheckpointPropertiesNV: return "QueueFamilyCheckpointPropertiesNV"; - case StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL: - return "PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL"; - case StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL: return "QueryPoolPerformanceQueryCreateInfoINTEL"; - case StructureType::eInitializePerformanceApiInfoINTEL: return "InitializePerformanceApiInfoINTEL"; - case StructureType::ePerformanceMarkerInfoINTEL: return "PerformanceMarkerInfoINTEL"; - case StructureType::ePerformanceStreamMarkerInfoINTEL: return "PerformanceStreamMarkerInfoINTEL"; - case StructureType::ePerformanceOverrideInfoINTEL: return "PerformanceOverrideInfoINTEL"; - case StructureType::ePerformanceConfigurationAcquireInfoINTEL: return "PerformanceConfigurationAcquireInfoINTEL"; - case StructureType::ePhysicalDevicePciBusInfoPropertiesEXT: return "PhysicalDevicePciBusInfoPropertiesEXT"; - case StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD: return "DisplayNativeHdrSurfaceCapabilitiesAMD"; - case StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD: return "SwapchainDisplayNativeHdrCreateInfoAMD"; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - case StructureType::eImagepipeSurfaceCreateInfoFUCHSIA: return "ImagepipeSurfaceCreateInfoFUCHSIA"; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - case StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR: - return "PhysicalDeviceShaderTerminateInvocationFeaturesKHR"; -#if defined( VK_USE_PLATFORM_METAL_EXT ) - case StructureType::eMetalSurfaceCreateInfoEXT: return "MetalSurfaceCreateInfoEXT"; -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - case StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT: - return "PhysicalDeviceFragmentDensityMapFeaturesEXT"; - case StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT: - return "PhysicalDeviceFragmentDensityMapPropertiesEXT"; - case StructureType::eRenderPassFragmentDensityMapCreateInfoEXT: - return "RenderPassFragmentDensityMapCreateInfoEXT"; - case StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT: - return "PhysicalDeviceSubgroupSizeControlPropertiesEXT"; - case StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT: - return "PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT"; - case StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT: - return "PhysicalDeviceSubgroupSizeControlFeaturesEXT"; - case StructureType::eFragmentShadingRateAttachmentInfoKHR: return "FragmentShadingRateAttachmentInfoKHR"; - case StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR: - return "PipelineFragmentShadingRateStateCreateInfoKHR"; - case StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR: - return "PhysicalDeviceFragmentShadingRatePropertiesKHR"; - case StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR: - return "PhysicalDeviceFragmentShadingRateFeaturesKHR"; - case StructureType::ePhysicalDeviceFragmentShadingRateKHR: return "PhysicalDeviceFragmentShadingRateKHR"; - case StructureType::ePhysicalDeviceShaderCoreProperties2AMD: return "PhysicalDeviceShaderCoreProperties2AMD"; - case StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD: return "PhysicalDeviceCoherentMemoryFeaturesAMD"; - case StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT: - return "PhysicalDeviceShaderImageAtomicInt64FeaturesEXT"; - case StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT: return "PhysicalDeviceMemoryBudgetPropertiesEXT"; - case StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT: return "PhysicalDeviceMemoryPriorityFeaturesEXT"; - case StructureType::eMemoryPriorityAllocateInfoEXT: return "MemoryPriorityAllocateInfoEXT"; - case StructureType::eSurfaceProtectedCapabilitiesKHR: return "SurfaceProtectedCapabilitiesKHR"; - case StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV: - return "PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV"; - case StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT: - return "PhysicalDeviceBufferDeviceAddressFeaturesEXT"; - case StructureType::eBufferDeviceAddressCreateInfoEXT: return "BufferDeviceAddressCreateInfoEXT"; - case StructureType::ePhysicalDeviceToolPropertiesEXT: return "PhysicalDeviceToolPropertiesEXT"; - case StructureType::eValidationFeaturesEXT: return "ValidationFeaturesEXT"; - case StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV: - return "PhysicalDeviceCooperativeMatrixFeaturesNV"; - case StructureType::eCooperativeMatrixPropertiesNV: return "CooperativeMatrixPropertiesNV"; - case StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV: - return "PhysicalDeviceCooperativeMatrixPropertiesNV"; - case StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV: - return "PhysicalDeviceCoverageReductionModeFeaturesNV"; - case StructureType::ePipelineCoverageReductionStateCreateInfoNV: - return "PipelineCoverageReductionStateCreateInfoNV"; - case StructureType::eFramebufferMixedSamplesCombinationNV: return "FramebufferMixedSamplesCombinationNV"; - case StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT: - return "PhysicalDeviceFragmentShaderInterlockFeaturesEXT"; - case StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT: - return "PhysicalDeviceYcbcrImageArraysFeaturesEXT"; - case StructureType::ePhysicalDeviceProvokingVertexFeaturesEXT: return "PhysicalDeviceProvokingVertexFeaturesEXT"; - case StructureType::ePipelineRasterizationProvokingVertexStateCreateInfoEXT: - return "PipelineRasterizationProvokingVertexStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceProvokingVertexPropertiesEXT: - return "PhysicalDeviceProvokingVertexPropertiesEXT"; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - case StructureType::eSurfaceFullScreenExclusiveInfoEXT: return "SurfaceFullScreenExclusiveInfoEXT"; - case StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT: - return "SurfaceCapabilitiesFullScreenExclusiveEXT"; - case StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT: return "SurfaceFullScreenExclusiveWin32InfoEXT"; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - case StructureType::eHeadlessSurfaceCreateInfoEXT: return "HeadlessSurfaceCreateInfoEXT"; - case StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT: - return "PhysicalDeviceLineRasterizationFeaturesEXT"; - case StructureType::ePipelineRasterizationLineStateCreateInfoEXT: - return "PipelineRasterizationLineStateCreateInfoEXT"; - case StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT: - return "PhysicalDeviceLineRasterizationPropertiesEXT"; - case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT: - return "PhysicalDeviceShaderAtomicFloatFeaturesEXT"; - case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT: return "PhysicalDeviceIndexTypeUint8FeaturesEXT"; - case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT: - return "PhysicalDeviceExtendedDynamicStateFeaturesEXT"; - case StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR: - return "PhysicalDevicePipelineExecutablePropertiesFeaturesKHR"; - case StructureType::ePipelineInfoKHR: return "PipelineInfoKHR"; - case StructureType::ePipelineExecutablePropertiesKHR: return "PipelineExecutablePropertiesKHR"; - case StructureType::ePipelineExecutableInfoKHR: return "PipelineExecutableInfoKHR"; - case StructureType::ePipelineExecutableStatisticKHR: return "PipelineExecutableStatisticKHR"; - case StructureType::ePipelineExecutableInternalRepresentationKHR: - return "PipelineExecutableInternalRepresentationKHR"; - case StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT: - return "PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT"; - case StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV: - return "PhysicalDeviceDeviceGeneratedCommandsPropertiesNV"; - case StructureType::eGraphicsShaderGroupCreateInfoNV: return "GraphicsShaderGroupCreateInfoNV"; - case StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV: return "GraphicsPipelineShaderGroupsCreateInfoNV"; - case StructureType::eIndirectCommandsLayoutTokenNV: return "IndirectCommandsLayoutTokenNV"; - case StructureType::eIndirectCommandsLayoutCreateInfoNV: return "IndirectCommandsLayoutCreateInfoNV"; - case StructureType::eGeneratedCommandsInfoNV: return "GeneratedCommandsInfoNV"; - case StructureType::eGeneratedCommandsMemoryRequirementsInfoNV: - return "GeneratedCommandsMemoryRequirementsInfoNV"; - case StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV: - return "PhysicalDeviceDeviceGeneratedCommandsFeaturesNV"; - case StructureType::ePhysicalDeviceInheritedViewportScissorFeaturesNV: - return "PhysicalDeviceInheritedViewportScissorFeaturesNV"; - case StructureType::eCommandBufferInheritanceViewportScissorInfoNV: - return "CommandBufferInheritanceViewportScissorInfoNV"; - case StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT: - return "PhysicalDeviceTexelBufferAlignmentFeaturesEXT"; - case StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT: - return "PhysicalDeviceTexelBufferAlignmentPropertiesEXT"; - case StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM: - return "CommandBufferInheritanceRenderPassTransformInfoQCOM"; - case StructureType::eRenderPassTransformBeginInfoQCOM: return "RenderPassTransformBeginInfoQCOM"; - case StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT: - return "PhysicalDeviceDeviceMemoryReportFeaturesEXT"; - case StructureType::eDeviceDeviceMemoryReportCreateInfoEXT: return "DeviceDeviceMemoryReportCreateInfoEXT"; - case StructureType::eDeviceMemoryReportCallbackDataEXT: return "DeviceMemoryReportCallbackDataEXT"; - case StructureType::ePhysicalDeviceRobustness2FeaturesEXT: return "PhysicalDeviceRobustness2FeaturesEXT"; - case StructureType::ePhysicalDeviceRobustness2PropertiesEXT: return "PhysicalDeviceRobustness2PropertiesEXT"; - case StructureType::eSamplerCustomBorderColorCreateInfoEXT: return "SamplerCustomBorderColorCreateInfoEXT"; - case StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT: - return "PhysicalDeviceCustomBorderColorPropertiesEXT"; - case StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT: - return "PhysicalDeviceCustomBorderColorFeaturesEXT"; - case StructureType::ePipelineLibraryCreateInfoKHR: return "PipelineLibraryCreateInfoKHR"; - case StructureType::ePhysicalDevicePrivateDataFeaturesEXT: return "PhysicalDevicePrivateDataFeaturesEXT"; - case StructureType::eDevicePrivateDataCreateInfoEXT: return "DevicePrivateDataCreateInfoEXT"; - case StructureType::ePrivateDataSlotCreateInfoEXT: return "PrivateDataSlotCreateInfoEXT"; - case StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT: - return "PhysicalDevicePipelineCreationCacheControlFeaturesEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case StructureType::eVideoEncodeInfoKHR: return "VideoEncodeInfoKHR"; - case StructureType::eVideoEncodeRateControlInfoKHR: return "VideoEncodeRateControlInfoKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV: - return "PhysicalDeviceDiagnosticsConfigFeaturesNV"; - case StructureType::eDeviceDiagnosticsConfigCreateInfoNV: return "DeviceDiagnosticsConfigCreateInfoNV"; - case StructureType::eMemoryBarrier2KHR: return "MemoryBarrier2KHR"; - case StructureType::eBufferMemoryBarrier2KHR: return "BufferMemoryBarrier2KHR"; - case StructureType::eImageMemoryBarrier2KHR: return "ImageMemoryBarrier2KHR"; - case StructureType::eDependencyInfoKHR: return "DependencyInfoKHR"; - case StructureType::eSubmitInfo2KHR: return "SubmitInfo2KHR"; - case StructureType::eSemaphoreSubmitInfoKHR: return "SemaphoreSubmitInfoKHR"; - case StructureType::eCommandBufferSubmitInfoKHR: return "CommandBufferSubmitInfoKHR"; - case StructureType::ePhysicalDeviceSynchronization2FeaturesKHR: - return "PhysicalDeviceSynchronization2FeaturesKHR"; - case StructureType::eQueueFamilyCheckpointProperties2Nv: return "QueueFamilyCheckpointProperties2Nv"; - case StructureType::eCheckpointData2Nv: return "CheckpointData2Nv"; - case StructureType::ePhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR: - return "PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR"; - case StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV: - return "PhysicalDeviceFragmentShadingRateEnumsPropertiesNV"; - case StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV: - return "PhysicalDeviceFragmentShadingRateEnumsFeaturesNV"; - case StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV: - return "PipelineFragmentShadingRateEnumStateCreateInfoNV"; - case StructureType::ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT: - return "PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT"; - case StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT: - return "PhysicalDeviceFragmentDensityMap2FeaturesEXT"; - case StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT: - return "PhysicalDeviceFragmentDensityMap2PropertiesEXT"; - case StructureType::eCopyCommandTransformInfoQCOM: return "CopyCommandTransformInfoQCOM"; - case StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT: return "PhysicalDeviceImageRobustnessFeaturesEXT"; - case StructureType::ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR: - return "PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR"; - case StructureType::eCopyBufferInfo2KHR: return "CopyBufferInfo2KHR"; - case StructureType::eCopyImageInfo2KHR: return "CopyImageInfo2KHR"; - case StructureType::eCopyBufferToImageInfo2KHR: return "CopyBufferToImageInfo2KHR"; - case StructureType::eCopyImageToBufferInfo2KHR: return "CopyImageToBufferInfo2KHR"; - case StructureType::eBlitImageInfo2KHR: return "BlitImageInfo2KHR"; - case StructureType::eResolveImageInfo2KHR: return "ResolveImageInfo2KHR"; - case StructureType::eBufferCopy2KHR: return "BufferCopy2KHR"; - case StructureType::eImageCopy2KHR: return "ImageCopy2KHR"; - case StructureType::eImageBlit2KHR: return "ImageBlit2KHR"; - case StructureType::eBufferImageCopy2KHR: return "BufferImageCopy2KHR"; - case StructureType::eImageResolve2KHR: return "ImageResolve2KHR"; - case StructureType::ePhysicalDevice4444FormatsFeaturesEXT: return "PhysicalDevice4444FormatsFeaturesEXT"; -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - case StructureType::eDirectfbSurfaceCreateInfoEXT: return "DirectfbSurfaceCreateInfoEXT"; -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - case StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesVALVE: - return "PhysicalDeviceMutableDescriptorTypeFeaturesVALVE"; - case StructureType::eMutableDescriptorTypeCreateInfoVALVE: return "MutableDescriptorTypeCreateInfoVALVE"; - case StructureType::ePhysicalDeviceVertexInputDynamicStateFeaturesEXT: - return "PhysicalDeviceVertexInputDynamicStateFeaturesEXT"; - case StructureType::eVertexInputBindingDescription2EXT: return "VertexInputBindingDescription2EXT"; - case StructureType::eVertexInputAttributeDescription2EXT: return "VertexInputAttributeDescription2EXT"; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - case StructureType::eImportMemoryZirconHandleInfoFUCHSIA: return "ImportMemoryZirconHandleInfoFUCHSIA"; - case StructureType::eMemoryZirconHandlePropertiesFUCHSIA: return "MemoryZirconHandlePropertiesFUCHSIA"; - case StructureType::eMemoryGetZirconHandleInfoFUCHSIA: return "MemoryGetZirconHandleInfoFUCHSIA"; - case StructureType::eImportSemaphoreZirconHandleInfoFUCHSIA: return "ImportSemaphoreZirconHandleInfoFUCHSIA"; - case StructureType::eSemaphoreGetZirconHandleInfoFUCHSIA: return "SemaphoreGetZirconHandleInfoFUCHSIA"; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - case StructureType::ePhysicalDeviceExtendedDynamicState2FeaturesEXT: - return "PhysicalDeviceExtendedDynamicState2FeaturesEXT"; -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - case StructureType::eScreenSurfaceCreateInfoQNX: return "ScreenSurfaceCreateInfoQNX"; -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - case StructureType::ePhysicalDeviceColorWriteEnableFeaturesEXT: - return "PhysicalDeviceColorWriteEnableFeaturesEXT"; - case StructureType::ePipelineColorWriteCreateInfoEXT: return "PipelineColorWriteCreateInfoEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ObjectType - { - eUnknown = VK_OBJECT_TYPE_UNKNOWN, - eInstance = VK_OBJECT_TYPE_INSTANCE, - ePhysicalDevice = VK_OBJECT_TYPE_PHYSICAL_DEVICE, - eDevice = VK_OBJECT_TYPE_DEVICE, - eQueue = VK_OBJECT_TYPE_QUEUE, - eSemaphore = VK_OBJECT_TYPE_SEMAPHORE, - eCommandBuffer = VK_OBJECT_TYPE_COMMAND_BUFFER, - eFence = VK_OBJECT_TYPE_FENCE, - eDeviceMemory = VK_OBJECT_TYPE_DEVICE_MEMORY, - eBuffer = VK_OBJECT_TYPE_BUFFER, - eImage = VK_OBJECT_TYPE_IMAGE, - eEvent = VK_OBJECT_TYPE_EVENT, - eQueryPool = VK_OBJECT_TYPE_QUERY_POOL, - eBufferView = VK_OBJECT_TYPE_BUFFER_VIEW, - eImageView = VK_OBJECT_TYPE_IMAGE_VIEW, - eShaderModule = VK_OBJECT_TYPE_SHADER_MODULE, - ePipelineCache = VK_OBJECT_TYPE_PIPELINE_CACHE, - ePipelineLayout = VK_OBJECT_TYPE_PIPELINE_LAYOUT, - eRenderPass = VK_OBJECT_TYPE_RENDER_PASS, - ePipeline = VK_OBJECT_TYPE_PIPELINE, - eDescriptorSetLayout = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT, - eSampler = VK_OBJECT_TYPE_SAMPLER, - eDescriptorPool = VK_OBJECT_TYPE_DESCRIPTOR_POOL, - eDescriptorSet = VK_OBJECT_TYPE_DESCRIPTOR_SET, - eFramebuffer = VK_OBJECT_TYPE_FRAMEBUFFER, - eCommandPool = VK_OBJECT_TYPE_COMMAND_POOL, - eSamplerYcbcrConversion = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION, - eDescriptorUpdateTemplate = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE, - eSurfaceKHR = VK_OBJECT_TYPE_SURFACE_KHR, - eSwapchainKHR = VK_OBJECT_TYPE_SWAPCHAIN_KHR, - eDisplayKHR = VK_OBJECT_TYPE_DISPLAY_KHR, - eDisplayModeKHR = VK_OBJECT_TYPE_DISPLAY_MODE_KHR, - eDebugReportCallbackEXT = VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoSessionKHR = VK_OBJECT_TYPE_VIDEO_SESSION_KHR, - eVideoSessionParametersKHR = VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eCuModuleNVX = VK_OBJECT_TYPE_CU_MODULE_NVX, - eCuFunctionNVX = VK_OBJECT_TYPE_CU_FUNCTION_NVX, - eDebugUtilsMessengerEXT = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT, - eAccelerationStructureKHR = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR, - eValidationCacheEXT = VK_OBJECT_TYPE_VALIDATION_CACHE_EXT, - eAccelerationStructureNV = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV, - ePerformanceConfigurationINTEL = VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL, - eDeferredOperationKHR = VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR, - eIndirectCommandsLayoutNV = VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV, - ePrivateDataSlotEXT = VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT, - eDescriptorUpdateTemplateKHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR, - eSamplerYcbcrConversionKHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ObjectType value ) - { - switch ( value ) - { - case ObjectType::eUnknown: return "Unknown"; - case ObjectType::eInstance: return "Instance"; - case ObjectType::ePhysicalDevice: return "PhysicalDevice"; - case ObjectType::eDevice: return "Device"; - case ObjectType::eQueue: return "Queue"; - case ObjectType::eSemaphore: return "Semaphore"; - case ObjectType::eCommandBuffer: return "CommandBuffer"; - case ObjectType::eFence: return "Fence"; - case ObjectType::eDeviceMemory: return "DeviceMemory"; - case ObjectType::eBuffer: return "Buffer"; - case ObjectType::eImage: return "Image"; - case ObjectType::eEvent: return "Event"; - case ObjectType::eQueryPool: return "QueryPool"; - case ObjectType::eBufferView: return "BufferView"; - case ObjectType::eImageView: return "ImageView"; - case ObjectType::eShaderModule: return "ShaderModule"; - case ObjectType::ePipelineCache: return "PipelineCache"; - case ObjectType::ePipelineLayout: return "PipelineLayout"; - case ObjectType::eRenderPass: return "RenderPass"; - case ObjectType::ePipeline: return "Pipeline"; - case ObjectType::eDescriptorSetLayout: return "DescriptorSetLayout"; - case ObjectType::eSampler: return "Sampler"; - case ObjectType::eDescriptorPool: return "DescriptorPool"; - case ObjectType::eDescriptorSet: return "DescriptorSet"; - case ObjectType::eFramebuffer: return "Framebuffer"; - case ObjectType::eCommandPool: return "CommandPool"; - case ObjectType::eSamplerYcbcrConversion: return "SamplerYcbcrConversion"; - case ObjectType::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate"; - case ObjectType::eSurfaceKHR: return "SurfaceKHR"; - case ObjectType::eSwapchainKHR: return "SwapchainKHR"; - case ObjectType::eDisplayKHR: return "DisplayKHR"; - case ObjectType::eDisplayModeKHR: return "DisplayModeKHR"; - case ObjectType::eDebugReportCallbackEXT: return "DebugReportCallbackEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case ObjectType::eVideoSessionKHR: return "VideoSessionKHR"; - case ObjectType::eVideoSessionParametersKHR: return "VideoSessionParametersKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case ObjectType::eCuModuleNVX: return "CuModuleNVX"; - case ObjectType::eCuFunctionNVX: return "CuFunctionNVX"; - case ObjectType::eDebugUtilsMessengerEXT: return "DebugUtilsMessengerEXT"; - case ObjectType::eAccelerationStructureKHR: return "AccelerationStructureKHR"; - case ObjectType::eValidationCacheEXT: return "ValidationCacheEXT"; - case ObjectType::eAccelerationStructureNV: return "AccelerationStructureNV"; - case ObjectType::ePerformanceConfigurationINTEL: return "PerformanceConfigurationINTEL"; - case ObjectType::eDeferredOperationKHR: return "DeferredOperationKHR"; - case ObjectType::eIndirectCommandsLayoutNV: return "IndirectCommandsLayoutNV"; - case ObjectType::ePrivateDataSlotEXT: return "PrivateDataSlotEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VendorId - { - eVIV = VK_VENDOR_ID_VIV, - eVSI = VK_VENDOR_ID_VSI, - eKazan = VK_VENDOR_ID_KAZAN, - eCodeplay = VK_VENDOR_ID_CODEPLAY, - eMESA = VK_VENDOR_ID_MESA, - ePocl = VK_VENDOR_ID_POCL - }; - - VULKAN_HPP_INLINE std::string to_string( VendorId value ) - { - switch ( value ) - { - case VendorId::eVIV: return "VIV"; - case VendorId::eVSI: return "VSI"; - case VendorId::eKazan: return "Kazan"; - case VendorId::eCodeplay: return "Codeplay"; - case VendorId::eMESA: return "MESA"; - case VendorId::ePocl: return "Pocl"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PipelineCacheHeaderVersion - { - eOne = VK_PIPELINE_CACHE_HEADER_VERSION_ONE - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCacheHeaderVersion value ) - { - switch ( value ) - { - case PipelineCacheHeaderVersion::eOne: return "One"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class Format - { - eUndefined = VK_FORMAT_UNDEFINED, - eR4G4UnormPack8 = VK_FORMAT_R4G4_UNORM_PACK8, - eR4G4B4A4UnormPack16 = VK_FORMAT_R4G4B4A4_UNORM_PACK16, - eB4G4R4A4UnormPack16 = VK_FORMAT_B4G4R4A4_UNORM_PACK16, - eR5G6B5UnormPack16 = VK_FORMAT_R5G6B5_UNORM_PACK16, - eB5G6R5UnormPack16 = VK_FORMAT_B5G6R5_UNORM_PACK16, - eR5G5B5A1UnormPack16 = VK_FORMAT_R5G5B5A1_UNORM_PACK16, - eB5G5R5A1UnormPack16 = VK_FORMAT_B5G5R5A1_UNORM_PACK16, - eA1R5G5B5UnormPack16 = VK_FORMAT_A1R5G5B5_UNORM_PACK16, - eR8Unorm = VK_FORMAT_R8_UNORM, - eR8Snorm = VK_FORMAT_R8_SNORM, - eR8Uscaled = VK_FORMAT_R8_USCALED, - eR8Sscaled = VK_FORMAT_R8_SSCALED, - eR8Uint = VK_FORMAT_R8_UINT, - eR8Sint = VK_FORMAT_R8_SINT, - eR8Srgb = VK_FORMAT_R8_SRGB, - eR8G8Unorm = VK_FORMAT_R8G8_UNORM, - eR8G8Snorm = VK_FORMAT_R8G8_SNORM, - eR8G8Uscaled = VK_FORMAT_R8G8_USCALED, - eR8G8Sscaled = VK_FORMAT_R8G8_SSCALED, - eR8G8Uint = VK_FORMAT_R8G8_UINT, - eR8G8Sint = VK_FORMAT_R8G8_SINT, - eR8G8Srgb = VK_FORMAT_R8G8_SRGB, - eR8G8B8Unorm = VK_FORMAT_R8G8B8_UNORM, - eR8G8B8Snorm = VK_FORMAT_R8G8B8_SNORM, - eR8G8B8Uscaled = VK_FORMAT_R8G8B8_USCALED, - eR8G8B8Sscaled = VK_FORMAT_R8G8B8_SSCALED, - eR8G8B8Uint = VK_FORMAT_R8G8B8_UINT, - eR8G8B8Sint = VK_FORMAT_R8G8B8_SINT, - eR8G8B8Srgb = VK_FORMAT_R8G8B8_SRGB, - eB8G8R8Unorm = VK_FORMAT_B8G8R8_UNORM, - eB8G8R8Snorm = VK_FORMAT_B8G8R8_SNORM, - eB8G8R8Uscaled = VK_FORMAT_B8G8R8_USCALED, - eB8G8R8Sscaled = VK_FORMAT_B8G8R8_SSCALED, - eB8G8R8Uint = VK_FORMAT_B8G8R8_UINT, - eB8G8R8Sint = VK_FORMAT_B8G8R8_SINT, - eB8G8R8Srgb = VK_FORMAT_B8G8R8_SRGB, - eR8G8B8A8Unorm = VK_FORMAT_R8G8B8A8_UNORM, - eR8G8B8A8Snorm = VK_FORMAT_R8G8B8A8_SNORM, - eR8G8B8A8Uscaled = VK_FORMAT_R8G8B8A8_USCALED, - eR8G8B8A8Sscaled = VK_FORMAT_R8G8B8A8_SSCALED, - eR8G8B8A8Uint = VK_FORMAT_R8G8B8A8_UINT, - eR8G8B8A8Sint = VK_FORMAT_R8G8B8A8_SINT, - eR8G8B8A8Srgb = VK_FORMAT_R8G8B8A8_SRGB, - eB8G8R8A8Unorm = VK_FORMAT_B8G8R8A8_UNORM, - eB8G8R8A8Snorm = VK_FORMAT_B8G8R8A8_SNORM, - eB8G8R8A8Uscaled = VK_FORMAT_B8G8R8A8_USCALED, - eB8G8R8A8Sscaled = VK_FORMAT_B8G8R8A8_SSCALED, - eB8G8R8A8Uint = VK_FORMAT_B8G8R8A8_UINT, - eB8G8R8A8Sint = VK_FORMAT_B8G8R8A8_SINT, - eB8G8R8A8Srgb = VK_FORMAT_B8G8R8A8_SRGB, - eA8B8G8R8UnormPack32 = VK_FORMAT_A8B8G8R8_UNORM_PACK32, - eA8B8G8R8SnormPack32 = VK_FORMAT_A8B8G8R8_SNORM_PACK32, - eA8B8G8R8UscaledPack32 = VK_FORMAT_A8B8G8R8_USCALED_PACK32, - eA8B8G8R8SscaledPack32 = VK_FORMAT_A8B8G8R8_SSCALED_PACK32, - eA8B8G8R8UintPack32 = VK_FORMAT_A8B8G8R8_UINT_PACK32, - eA8B8G8R8SintPack32 = VK_FORMAT_A8B8G8R8_SINT_PACK32, - eA8B8G8R8SrgbPack32 = VK_FORMAT_A8B8G8R8_SRGB_PACK32, - eA2R10G10B10UnormPack32 = VK_FORMAT_A2R10G10B10_UNORM_PACK32, - eA2R10G10B10SnormPack32 = VK_FORMAT_A2R10G10B10_SNORM_PACK32, - eA2R10G10B10UscaledPack32 = VK_FORMAT_A2R10G10B10_USCALED_PACK32, - eA2R10G10B10SscaledPack32 = VK_FORMAT_A2R10G10B10_SSCALED_PACK32, - eA2R10G10B10UintPack32 = VK_FORMAT_A2R10G10B10_UINT_PACK32, - eA2R10G10B10SintPack32 = VK_FORMAT_A2R10G10B10_SINT_PACK32, - eA2B10G10R10UnormPack32 = VK_FORMAT_A2B10G10R10_UNORM_PACK32, - eA2B10G10R10SnormPack32 = VK_FORMAT_A2B10G10R10_SNORM_PACK32, - eA2B10G10R10UscaledPack32 = VK_FORMAT_A2B10G10R10_USCALED_PACK32, - eA2B10G10R10SscaledPack32 = VK_FORMAT_A2B10G10R10_SSCALED_PACK32, - eA2B10G10R10UintPack32 = VK_FORMAT_A2B10G10R10_UINT_PACK32, - eA2B10G10R10SintPack32 = VK_FORMAT_A2B10G10R10_SINT_PACK32, - eR16Unorm = VK_FORMAT_R16_UNORM, - eR16Snorm = VK_FORMAT_R16_SNORM, - eR16Uscaled = VK_FORMAT_R16_USCALED, - eR16Sscaled = VK_FORMAT_R16_SSCALED, - eR16Uint = VK_FORMAT_R16_UINT, - eR16Sint = VK_FORMAT_R16_SINT, - eR16Sfloat = VK_FORMAT_R16_SFLOAT, - eR16G16Unorm = VK_FORMAT_R16G16_UNORM, - eR16G16Snorm = VK_FORMAT_R16G16_SNORM, - eR16G16Uscaled = VK_FORMAT_R16G16_USCALED, - eR16G16Sscaled = VK_FORMAT_R16G16_SSCALED, - eR16G16Uint = VK_FORMAT_R16G16_UINT, - eR16G16Sint = VK_FORMAT_R16G16_SINT, - eR16G16Sfloat = VK_FORMAT_R16G16_SFLOAT, - eR16G16B16Unorm = VK_FORMAT_R16G16B16_UNORM, - eR16G16B16Snorm = VK_FORMAT_R16G16B16_SNORM, - eR16G16B16Uscaled = VK_FORMAT_R16G16B16_USCALED, - eR16G16B16Sscaled = VK_FORMAT_R16G16B16_SSCALED, - eR16G16B16Uint = VK_FORMAT_R16G16B16_UINT, - eR16G16B16Sint = VK_FORMAT_R16G16B16_SINT, - eR16G16B16Sfloat = VK_FORMAT_R16G16B16_SFLOAT, - eR16G16B16A16Unorm = VK_FORMAT_R16G16B16A16_UNORM, - eR16G16B16A16Snorm = VK_FORMAT_R16G16B16A16_SNORM, - eR16G16B16A16Uscaled = VK_FORMAT_R16G16B16A16_USCALED, - eR16G16B16A16Sscaled = VK_FORMAT_R16G16B16A16_SSCALED, - eR16G16B16A16Uint = VK_FORMAT_R16G16B16A16_UINT, - eR16G16B16A16Sint = VK_FORMAT_R16G16B16A16_SINT, - eR16G16B16A16Sfloat = VK_FORMAT_R16G16B16A16_SFLOAT, - eR32Uint = VK_FORMAT_R32_UINT, - eR32Sint = VK_FORMAT_R32_SINT, - eR32Sfloat = VK_FORMAT_R32_SFLOAT, - eR32G32Uint = VK_FORMAT_R32G32_UINT, - eR32G32Sint = VK_FORMAT_R32G32_SINT, - eR32G32Sfloat = VK_FORMAT_R32G32_SFLOAT, - eR32G32B32Uint = VK_FORMAT_R32G32B32_UINT, - eR32G32B32Sint = VK_FORMAT_R32G32B32_SINT, - eR32G32B32Sfloat = VK_FORMAT_R32G32B32_SFLOAT, - eR32G32B32A32Uint = VK_FORMAT_R32G32B32A32_UINT, - eR32G32B32A32Sint = VK_FORMAT_R32G32B32A32_SINT, - eR32G32B32A32Sfloat = VK_FORMAT_R32G32B32A32_SFLOAT, - eR64Uint = VK_FORMAT_R64_UINT, - eR64Sint = VK_FORMAT_R64_SINT, - eR64Sfloat = VK_FORMAT_R64_SFLOAT, - eR64G64Uint = VK_FORMAT_R64G64_UINT, - eR64G64Sint = VK_FORMAT_R64G64_SINT, - eR64G64Sfloat = VK_FORMAT_R64G64_SFLOAT, - eR64G64B64Uint = VK_FORMAT_R64G64B64_UINT, - eR64G64B64Sint = VK_FORMAT_R64G64B64_SINT, - eR64G64B64Sfloat = VK_FORMAT_R64G64B64_SFLOAT, - eR64G64B64A64Uint = VK_FORMAT_R64G64B64A64_UINT, - eR64G64B64A64Sint = VK_FORMAT_R64G64B64A64_SINT, - eR64G64B64A64Sfloat = VK_FORMAT_R64G64B64A64_SFLOAT, - eB10G11R11UfloatPack32 = VK_FORMAT_B10G11R11_UFLOAT_PACK32, - eE5B9G9R9UfloatPack32 = VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, - eD16Unorm = VK_FORMAT_D16_UNORM, - eX8D24UnormPack32 = VK_FORMAT_X8_D24_UNORM_PACK32, - eD32Sfloat = VK_FORMAT_D32_SFLOAT, - eS8Uint = VK_FORMAT_S8_UINT, - eD16UnormS8Uint = VK_FORMAT_D16_UNORM_S8_UINT, - eD24UnormS8Uint = VK_FORMAT_D24_UNORM_S8_UINT, - eD32SfloatS8Uint = VK_FORMAT_D32_SFLOAT_S8_UINT, - eBc1RgbUnormBlock = VK_FORMAT_BC1_RGB_UNORM_BLOCK, - eBc1RgbSrgbBlock = VK_FORMAT_BC1_RGB_SRGB_BLOCK, - eBc1RgbaUnormBlock = VK_FORMAT_BC1_RGBA_UNORM_BLOCK, - eBc1RgbaSrgbBlock = VK_FORMAT_BC1_RGBA_SRGB_BLOCK, - eBc2UnormBlock = VK_FORMAT_BC2_UNORM_BLOCK, - eBc2SrgbBlock = VK_FORMAT_BC2_SRGB_BLOCK, - eBc3UnormBlock = VK_FORMAT_BC3_UNORM_BLOCK, - eBc3SrgbBlock = VK_FORMAT_BC3_SRGB_BLOCK, - eBc4UnormBlock = VK_FORMAT_BC4_UNORM_BLOCK, - eBc4SnormBlock = VK_FORMAT_BC4_SNORM_BLOCK, - eBc5UnormBlock = VK_FORMAT_BC5_UNORM_BLOCK, - eBc5SnormBlock = VK_FORMAT_BC5_SNORM_BLOCK, - eBc6HUfloatBlock = VK_FORMAT_BC6H_UFLOAT_BLOCK, - eBc6HSfloatBlock = VK_FORMAT_BC6H_SFLOAT_BLOCK, - eBc7UnormBlock = VK_FORMAT_BC7_UNORM_BLOCK, - eBc7SrgbBlock = VK_FORMAT_BC7_SRGB_BLOCK, - eEtc2R8G8B8UnormBlock = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, - eEtc2R8G8B8SrgbBlock = VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK, - eEtc2R8G8B8A1UnormBlock = VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK, - eEtc2R8G8B8A1SrgbBlock = VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK, - eEtc2R8G8B8A8UnormBlock = VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK, - eEtc2R8G8B8A8SrgbBlock = VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK, - eEacR11UnormBlock = VK_FORMAT_EAC_R11_UNORM_BLOCK, - eEacR11SnormBlock = VK_FORMAT_EAC_R11_SNORM_BLOCK, - eEacR11G11UnormBlock = VK_FORMAT_EAC_R11G11_UNORM_BLOCK, - eEacR11G11SnormBlock = VK_FORMAT_EAC_R11G11_SNORM_BLOCK, - eAstc4x4UnormBlock = VK_FORMAT_ASTC_4x4_UNORM_BLOCK, - eAstc4x4SrgbBlock = VK_FORMAT_ASTC_4x4_SRGB_BLOCK, - eAstc5x4UnormBlock = VK_FORMAT_ASTC_5x4_UNORM_BLOCK, - eAstc5x4SrgbBlock = VK_FORMAT_ASTC_5x4_SRGB_BLOCK, - eAstc5x5UnormBlock = VK_FORMAT_ASTC_5x5_UNORM_BLOCK, - eAstc5x5SrgbBlock = VK_FORMAT_ASTC_5x5_SRGB_BLOCK, - eAstc6x5UnormBlock = VK_FORMAT_ASTC_6x5_UNORM_BLOCK, - eAstc6x5SrgbBlock = VK_FORMAT_ASTC_6x5_SRGB_BLOCK, - eAstc6x6UnormBlock = VK_FORMAT_ASTC_6x6_UNORM_BLOCK, - eAstc6x6SrgbBlock = VK_FORMAT_ASTC_6x6_SRGB_BLOCK, - eAstc8x5UnormBlock = VK_FORMAT_ASTC_8x5_UNORM_BLOCK, - eAstc8x5SrgbBlock = VK_FORMAT_ASTC_8x5_SRGB_BLOCK, - eAstc8x6UnormBlock = VK_FORMAT_ASTC_8x6_UNORM_BLOCK, - eAstc8x6SrgbBlock = VK_FORMAT_ASTC_8x6_SRGB_BLOCK, - eAstc8x8UnormBlock = VK_FORMAT_ASTC_8x8_UNORM_BLOCK, - eAstc8x8SrgbBlock = VK_FORMAT_ASTC_8x8_SRGB_BLOCK, - eAstc10x5UnormBlock = VK_FORMAT_ASTC_10x5_UNORM_BLOCK, - eAstc10x5SrgbBlock = VK_FORMAT_ASTC_10x5_SRGB_BLOCK, - eAstc10x6UnormBlock = VK_FORMAT_ASTC_10x6_UNORM_BLOCK, - eAstc10x6SrgbBlock = VK_FORMAT_ASTC_10x6_SRGB_BLOCK, - eAstc10x8UnormBlock = VK_FORMAT_ASTC_10x8_UNORM_BLOCK, - eAstc10x8SrgbBlock = VK_FORMAT_ASTC_10x8_SRGB_BLOCK, - eAstc10x10UnormBlock = VK_FORMAT_ASTC_10x10_UNORM_BLOCK, - eAstc10x10SrgbBlock = VK_FORMAT_ASTC_10x10_SRGB_BLOCK, - eAstc12x10UnormBlock = VK_FORMAT_ASTC_12x10_UNORM_BLOCK, - eAstc12x10SrgbBlock = VK_FORMAT_ASTC_12x10_SRGB_BLOCK, - eAstc12x12UnormBlock = VK_FORMAT_ASTC_12x12_UNORM_BLOCK, - eAstc12x12SrgbBlock = VK_FORMAT_ASTC_12x12_SRGB_BLOCK, - eG8B8G8R8422Unorm = VK_FORMAT_G8B8G8R8_422_UNORM, - eB8G8R8G8422Unorm = VK_FORMAT_B8G8R8G8_422_UNORM, - eG8B8R83Plane420Unorm = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM, - eG8B8R82Plane420Unorm = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, - eG8B8R83Plane422Unorm = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM, - eG8B8R82Plane422Unorm = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM, - eG8B8R83Plane444Unorm = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM, - eR10X6UnormPack16 = VK_FORMAT_R10X6_UNORM_PACK16, - eR10X6G10X6Unorm2Pack16 = VK_FORMAT_R10X6G10X6_UNORM_2PACK16, - eR10X6G10X6B10X6A10X6Unorm4Pack16 = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16, - eG10X6B10X6G10X6R10X6422Unorm4Pack16 = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16, - eB10X6G10X6R10X6G10X6422Unorm4Pack16 = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16, - eG10X6B10X6R10X63Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, - eG10X6B10X6R10X62Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, - eG10X6B10X6R10X63Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16, - eG10X6B10X6R10X62Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16, - eG10X6B10X6R10X63Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16, - eR12X4UnormPack16 = VK_FORMAT_R12X4_UNORM_PACK16, - eR12X4G12X4Unorm2Pack16 = VK_FORMAT_R12X4G12X4_UNORM_2PACK16, - eR12X4G12X4B12X4A12X4Unorm4Pack16 = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16, - eG12X4B12X4G12X4R12X4422Unorm4Pack16 = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16, - eB12X4G12X4R12X4G12X4422Unorm4Pack16 = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16, - eG12X4B12X4R12X43Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16, - eG12X4B12X4R12X42Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16, - eG12X4B12X4R12X43Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16, - eG12X4B12X4R12X42Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16, - eG12X4B12X4R12X43Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16, - eG16B16G16R16422Unorm = VK_FORMAT_G16B16G16R16_422_UNORM, - eB16G16R16G16422Unorm = VK_FORMAT_B16G16R16G16_422_UNORM, - eG16B16R163Plane420Unorm = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM, - eG16B16R162Plane420Unorm = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM, - eG16B16R163Plane422Unorm = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM, - eG16B16R162Plane422Unorm = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM, - eG16B16R163Plane444Unorm = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM, - ePvrtc12BppUnormBlockIMG = VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG, - ePvrtc14BppUnormBlockIMG = VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG, - ePvrtc22BppUnormBlockIMG = VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG, - ePvrtc24BppUnormBlockIMG = VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG, - ePvrtc12BppSrgbBlockIMG = VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG, - ePvrtc14BppSrgbBlockIMG = VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG, - ePvrtc22BppSrgbBlockIMG = VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG, - ePvrtc24BppSrgbBlockIMG = VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG, - eAstc4x4SfloatBlockEXT = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT, - eAstc5x4SfloatBlockEXT = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT, - eAstc5x5SfloatBlockEXT = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT, - eAstc6x5SfloatBlockEXT = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT, - eAstc6x6SfloatBlockEXT = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT, - eAstc8x5SfloatBlockEXT = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT, - eAstc8x6SfloatBlockEXT = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT, - eAstc8x8SfloatBlockEXT = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT, - eAstc10x5SfloatBlockEXT = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT, - eAstc10x6SfloatBlockEXT = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT, - eAstc10x8SfloatBlockEXT = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT, - eAstc10x10SfloatBlockEXT = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT, - eAstc12x10SfloatBlockEXT = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT, - eAstc12x12SfloatBlockEXT = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT, - eG8B8R82Plane444UnormEXT = VK_FORMAT_G8_B8R8_2PLANE_444_UNORM_EXT, - eG10X6B10X6R10X62Plane444Unorm3Pack16EXT = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT, - eG12X4B12X4R12X42Plane444Unorm3Pack16EXT = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT, - eG16B16R162Plane444UnormEXT = VK_FORMAT_G16_B16R16_2PLANE_444_UNORM_EXT, - eA4R4G4B4UnormPack16EXT = VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT, - eA4B4G4R4UnormPack16EXT = VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT, - eB10X6G10X6R10X6G10X6422Unorm4Pack16KHR = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR, - eB12X4G12X4R12X4G12X4422Unorm4Pack16KHR = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR, - eB16G16R16G16422UnormKHR = VK_FORMAT_B16G16R16G16_422_UNORM_KHR, - eB8G8R8G8422UnormKHR = VK_FORMAT_B8G8R8G8_422_UNORM_KHR, - eG10X6B10X6G10X6R10X6422Unorm4Pack16KHR = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR, - eG10X6B10X6R10X62Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR, - eG10X6B10X6R10X62Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR, - eG10X6B10X6R10X63Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR, - eG10X6B10X6R10X63Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR, - eG10X6B10X6R10X63Plane444Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR, - eG12X4B12X4G12X4R12X4422Unorm4Pack16KHR = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR, - eG12X4B12X4R12X42Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR, - eG12X4B12X4R12X42Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR, - eG12X4B12X4R12X43Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR, - eG12X4B12X4R12X43Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR, - eG12X4B12X4R12X43Plane444Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR, - eG16B16G16R16422UnormKHR = VK_FORMAT_G16B16G16R16_422_UNORM_KHR, - eG16B16R162Plane420UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR, - eG16B16R162Plane422UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR, - eG16B16R163Plane420UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR, - eG16B16R163Plane422UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR, - eG16B16R163Plane444UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR, - eG8B8G8R8422UnormKHR = VK_FORMAT_G8B8G8R8_422_UNORM_KHR, - eG8B8R82Plane420UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR, - eG8B8R82Plane422UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR, - eG8B8R83Plane420UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR, - eG8B8R83Plane422UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR, - eG8B8R83Plane444UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR, - eR10X6G10X6B10X6A10X6Unorm4Pack16KHR = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR, - eR10X6G10X6Unorm2Pack16KHR = VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR, - eR10X6UnormPack16KHR = VK_FORMAT_R10X6_UNORM_PACK16_KHR, - eR12X4G12X4B12X4A12X4Unorm4Pack16KHR = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR, - eR12X4G12X4Unorm2Pack16KHR = VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR, - eR12X4UnormPack16KHR = VK_FORMAT_R12X4_UNORM_PACK16_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( Format value ) - { - switch ( value ) - { - case Format::eUndefined: return "Undefined"; - case Format::eR4G4UnormPack8: return "R4G4UnormPack8"; - case Format::eR4G4B4A4UnormPack16: return "R4G4B4A4UnormPack16"; - case Format::eB4G4R4A4UnormPack16: return "B4G4R4A4UnormPack16"; - case Format::eR5G6B5UnormPack16: return "R5G6B5UnormPack16"; - case Format::eB5G6R5UnormPack16: return "B5G6R5UnormPack16"; - case Format::eR5G5B5A1UnormPack16: return "R5G5B5A1UnormPack16"; - case Format::eB5G5R5A1UnormPack16: return "B5G5R5A1UnormPack16"; - case Format::eA1R5G5B5UnormPack16: return "A1R5G5B5UnormPack16"; - case Format::eR8Unorm: return "R8Unorm"; - case Format::eR8Snorm: return "R8Snorm"; - case Format::eR8Uscaled: return "R8Uscaled"; - case Format::eR8Sscaled: return "R8Sscaled"; - case Format::eR8Uint: return "R8Uint"; - case Format::eR8Sint: return "R8Sint"; - case Format::eR8Srgb: return "R8Srgb"; - case Format::eR8G8Unorm: return "R8G8Unorm"; - case Format::eR8G8Snorm: return "R8G8Snorm"; - case Format::eR8G8Uscaled: return "R8G8Uscaled"; - case Format::eR8G8Sscaled: return "R8G8Sscaled"; - case Format::eR8G8Uint: return "R8G8Uint"; - case Format::eR8G8Sint: return "R8G8Sint"; - case Format::eR8G8Srgb: return "R8G8Srgb"; - case Format::eR8G8B8Unorm: return "R8G8B8Unorm"; - case Format::eR8G8B8Snorm: return "R8G8B8Snorm"; - case Format::eR8G8B8Uscaled: return "R8G8B8Uscaled"; - case Format::eR8G8B8Sscaled: return "R8G8B8Sscaled"; - case Format::eR8G8B8Uint: return "R8G8B8Uint"; - case Format::eR8G8B8Sint: return "R8G8B8Sint"; - case Format::eR8G8B8Srgb: return "R8G8B8Srgb"; - case Format::eB8G8R8Unorm: return "B8G8R8Unorm"; - case Format::eB8G8R8Snorm: return "B8G8R8Snorm"; - case Format::eB8G8R8Uscaled: return "B8G8R8Uscaled"; - case Format::eB8G8R8Sscaled: return "B8G8R8Sscaled"; - case Format::eB8G8R8Uint: return "B8G8R8Uint"; - case Format::eB8G8R8Sint: return "B8G8R8Sint"; - case Format::eB8G8R8Srgb: return "B8G8R8Srgb"; - case Format::eR8G8B8A8Unorm: return "R8G8B8A8Unorm"; - case Format::eR8G8B8A8Snorm: return "R8G8B8A8Snorm"; - case Format::eR8G8B8A8Uscaled: return "R8G8B8A8Uscaled"; - case Format::eR8G8B8A8Sscaled: return "R8G8B8A8Sscaled"; - case Format::eR8G8B8A8Uint: return "R8G8B8A8Uint"; - case Format::eR8G8B8A8Sint: return "R8G8B8A8Sint"; - case Format::eR8G8B8A8Srgb: return "R8G8B8A8Srgb"; - case Format::eB8G8R8A8Unorm: return "B8G8R8A8Unorm"; - case Format::eB8G8R8A8Snorm: return "B8G8R8A8Snorm"; - case Format::eB8G8R8A8Uscaled: return "B8G8R8A8Uscaled"; - case Format::eB8G8R8A8Sscaled: return "B8G8R8A8Sscaled"; - case Format::eB8G8R8A8Uint: return "B8G8R8A8Uint"; - case Format::eB8G8R8A8Sint: return "B8G8R8A8Sint"; - case Format::eB8G8R8A8Srgb: return "B8G8R8A8Srgb"; - case Format::eA8B8G8R8UnormPack32: return "A8B8G8R8UnormPack32"; - case Format::eA8B8G8R8SnormPack32: return "A8B8G8R8SnormPack32"; - case Format::eA8B8G8R8UscaledPack32: return "A8B8G8R8UscaledPack32"; - case Format::eA8B8G8R8SscaledPack32: return "A8B8G8R8SscaledPack32"; - case Format::eA8B8G8R8UintPack32: return "A8B8G8R8UintPack32"; - case Format::eA8B8G8R8SintPack32: return "A8B8G8R8SintPack32"; - case Format::eA8B8G8R8SrgbPack32: return "A8B8G8R8SrgbPack32"; - case Format::eA2R10G10B10UnormPack32: return "A2R10G10B10UnormPack32"; - case Format::eA2R10G10B10SnormPack32: return "A2R10G10B10SnormPack32"; - case Format::eA2R10G10B10UscaledPack32: return "A2R10G10B10UscaledPack32"; - case Format::eA2R10G10B10SscaledPack32: return "A2R10G10B10SscaledPack32"; - case Format::eA2R10G10B10UintPack32: return "A2R10G10B10UintPack32"; - case Format::eA2R10G10B10SintPack32: return "A2R10G10B10SintPack32"; - case Format::eA2B10G10R10UnormPack32: return "A2B10G10R10UnormPack32"; - case Format::eA2B10G10R10SnormPack32: return "A2B10G10R10SnormPack32"; - case Format::eA2B10G10R10UscaledPack32: return "A2B10G10R10UscaledPack32"; - case Format::eA2B10G10R10SscaledPack32: return "A2B10G10R10SscaledPack32"; - case Format::eA2B10G10R10UintPack32: return "A2B10G10R10UintPack32"; - case Format::eA2B10G10R10SintPack32: return "A2B10G10R10SintPack32"; - case Format::eR16Unorm: return "R16Unorm"; - case Format::eR16Snorm: return "R16Snorm"; - case Format::eR16Uscaled: return "R16Uscaled"; - case Format::eR16Sscaled: return "R16Sscaled"; - case Format::eR16Uint: return "R16Uint"; - case Format::eR16Sint: return "R16Sint"; - case Format::eR16Sfloat: return "R16Sfloat"; - case Format::eR16G16Unorm: return "R16G16Unorm"; - case Format::eR16G16Snorm: return "R16G16Snorm"; - case Format::eR16G16Uscaled: return "R16G16Uscaled"; - case Format::eR16G16Sscaled: return "R16G16Sscaled"; - case Format::eR16G16Uint: return "R16G16Uint"; - case Format::eR16G16Sint: return "R16G16Sint"; - case Format::eR16G16Sfloat: return "R16G16Sfloat"; - case Format::eR16G16B16Unorm: return "R16G16B16Unorm"; - case Format::eR16G16B16Snorm: return "R16G16B16Snorm"; - case Format::eR16G16B16Uscaled: return "R16G16B16Uscaled"; - case Format::eR16G16B16Sscaled: return "R16G16B16Sscaled"; - case Format::eR16G16B16Uint: return "R16G16B16Uint"; - case Format::eR16G16B16Sint: return "R16G16B16Sint"; - case Format::eR16G16B16Sfloat: return "R16G16B16Sfloat"; - case Format::eR16G16B16A16Unorm: return "R16G16B16A16Unorm"; - case Format::eR16G16B16A16Snorm: return "R16G16B16A16Snorm"; - case Format::eR16G16B16A16Uscaled: return "R16G16B16A16Uscaled"; - case Format::eR16G16B16A16Sscaled: return "R16G16B16A16Sscaled"; - case Format::eR16G16B16A16Uint: return "R16G16B16A16Uint"; - case Format::eR16G16B16A16Sint: return "R16G16B16A16Sint"; - case Format::eR16G16B16A16Sfloat: return "R16G16B16A16Sfloat"; - case Format::eR32Uint: return "R32Uint"; - case Format::eR32Sint: return "R32Sint"; - case Format::eR32Sfloat: return "R32Sfloat"; - case Format::eR32G32Uint: return "R32G32Uint"; - case Format::eR32G32Sint: return "R32G32Sint"; - case Format::eR32G32Sfloat: return "R32G32Sfloat"; - case Format::eR32G32B32Uint: return "R32G32B32Uint"; - case Format::eR32G32B32Sint: return "R32G32B32Sint"; - case Format::eR32G32B32Sfloat: return "R32G32B32Sfloat"; - case Format::eR32G32B32A32Uint: return "R32G32B32A32Uint"; - case Format::eR32G32B32A32Sint: return "R32G32B32A32Sint"; - case Format::eR32G32B32A32Sfloat: return "R32G32B32A32Sfloat"; - case Format::eR64Uint: return "R64Uint"; - case Format::eR64Sint: return "R64Sint"; - case Format::eR64Sfloat: return "R64Sfloat"; - case Format::eR64G64Uint: return "R64G64Uint"; - case Format::eR64G64Sint: return "R64G64Sint"; - case Format::eR64G64Sfloat: return "R64G64Sfloat"; - case Format::eR64G64B64Uint: return "R64G64B64Uint"; - case Format::eR64G64B64Sint: return "R64G64B64Sint"; - case Format::eR64G64B64Sfloat: return "R64G64B64Sfloat"; - case Format::eR64G64B64A64Uint: return "R64G64B64A64Uint"; - case Format::eR64G64B64A64Sint: return "R64G64B64A64Sint"; - case Format::eR64G64B64A64Sfloat: return "R64G64B64A64Sfloat"; - case Format::eB10G11R11UfloatPack32: return "B10G11R11UfloatPack32"; - case Format::eE5B9G9R9UfloatPack32: return "E5B9G9R9UfloatPack32"; - case Format::eD16Unorm: return "D16Unorm"; - case Format::eX8D24UnormPack32: return "X8D24UnormPack32"; - case Format::eD32Sfloat: return "D32Sfloat"; - case Format::eS8Uint: return "S8Uint"; - case Format::eD16UnormS8Uint: return "D16UnormS8Uint"; - case Format::eD24UnormS8Uint: return "D24UnormS8Uint"; - case Format::eD32SfloatS8Uint: return "D32SfloatS8Uint"; - case Format::eBc1RgbUnormBlock: return "Bc1RgbUnormBlock"; - case Format::eBc1RgbSrgbBlock: return "Bc1RgbSrgbBlock"; - case Format::eBc1RgbaUnormBlock: return "Bc1RgbaUnormBlock"; - case Format::eBc1RgbaSrgbBlock: return "Bc1RgbaSrgbBlock"; - case Format::eBc2UnormBlock: return "Bc2UnormBlock"; - case Format::eBc2SrgbBlock: return "Bc2SrgbBlock"; - case Format::eBc3UnormBlock: return "Bc3UnormBlock"; - case Format::eBc3SrgbBlock: return "Bc3SrgbBlock"; - case Format::eBc4UnormBlock: return "Bc4UnormBlock"; - case Format::eBc4SnormBlock: return "Bc4SnormBlock"; - case Format::eBc5UnormBlock: return "Bc5UnormBlock"; - case Format::eBc5SnormBlock: return "Bc5SnormBlock"; - case Format::eBc6HUfloatBlock: return "Bc6HUfloatBlock"; - case Format::eBc6HSfloatBlock: return "Bc6HSfloatBlock"; - case Format::eBc7UnormBlock: return "Bc7UnormBlock"; - case Format::eBc7SrgbBlock: return "Bc7SrgbBlock"; - case Format::eEtc2R8G8B8UnormBlock: return "Etc2R8G8B8UnormBlock"; - case Format::eEtc2R8G8B8SrgbBlock: return "Etc2R8G8B8SrgbBlock"; - case Format::eEtc2R8G8B8A1UnormBlock: return "Etc2R8G8B8A1UnormBlock"; - case Format::eEtc2R8G8B8A1SrgbBlock: return "Etc2R8G8B8A1SrgbBlock"; - case Format::eEtc2R8G8B8A8UnormBlock: return "Etc2R8G8B8A8UnormBlock"; - case Format::eEtc2R8G8B8A8SrgbBlock: return "Etc2R8G8B8A8SrgbBlock"; - case Format::eEacR11UnormBlock: return "EacR11UnormBlock"; - case Format::eEacR11SnormBlock: return "EacR11SnormBlock"; - case Format::eEacR11G11UnormBlock: return "EacR11G11UnormBlock"; - case Format::eEacR11G11SnormBlock: return "EacR11G11SnormBlock"; - case Format::eAstc4x4UnormBlock: return "Astc4x4UnormBlock"; - case Format::eAstc4x4SrgbBlock: return "Astc4x4SrgbBlock"; - case Format::eAstc5x4UnormBlock: return "Astc5x4UnormBlock"; - case Format::eAstc5x4SrgbBlock: return "Astc5x4SrgbBlock"; - case Format::eAstc5x5UnormBlock: return "Astc5x5UnormBlock"; - case Format::eAstc5x5SrgbBlock: return "Astc5x5SrgbBlock"; - case Format::eAstc6x5UnormBlock: return "Astc6x5UnormBlock"; - case Format::eAstc6x5SrgbBlock: return "Astc6x5SrgbBlock"; - case Format::eAstc6x6UnormBlock: return "Astc6x6UnormBlock"; - case Format::eAstc6x6SrgbBlock: return "Astc6x6SrgbBlock"; - case Format::eAstc8x5UnormBlock: return "Astc8x5UnormBlock"; - case Format::eAstc8x5SrgbBlock: return "Astc8x5SrgbBlock"; - case Format::eAstc8x6UnormBlock: return "Astc8x6UnormBlock"; - case Format::eAstc8x6SrgbBlock: return "Astc8x6SrgbBlock"; - case Format::eAstc8x8UnormBlock: return "Astc8x8UnormBlock"; - case Format::eAstc8x8SrgbBlock: return "Astc8x8SrgbBlock"; - case Format::eAstc10x5UnormBlock: return "Astc10x5UnormBlock"; - case Format::eAstc10x5SrgbBlock: return "Astc10x5SrgbBlock"; - case Format::eAstc10x6UnormBlock: return "Astc10x6UnormBlock"; - case Format::eAstc10x6SrgbBlock: return "Astc10x6SrgbBlock"; - case Format::eAstc10x8UnormBlock: return "Astc10x8UnormBlock"; - case Format::eAstc10x8SrgbBlock: return "Astc10x8SrgbBlock"; - case Format::eAstc10x10UnormBlock: return "Astc10x10UnormBlock"; - case Format::eAstc10x10SrgbBlock: return "Astc10x10SrgbBlock"; - case Format::eAstc12x10UnormBlock: return "Astc12x10UnormBlock"; - case Format::eAstc12x10SrgbBlock: return "Astc12x10SrgbBlock"; - case Format::eAstc12x12UnormBlock: return "Astc12x12UnormBlock"; - case Format::eAstc12x12SrgbBlock: return "Astc12x12SrgbBlock"; - case Format::eG8B8G8R8422Unorm: return "G8B8G8R8422Unorm"; - case Format::eB8G8R8G8422Unorm: return "B8G8R8G8422Unorm"; - case Format::eG8B8R83Plane420Unorm: return "G8B8R83Plane420Unorm"; - case Format::eG8B8R82Plane420Unorm: return "G8B8R82Plane420Unorm"; - case Format::eG8B8R83Plane422Unorm: return "G8B8R83Plane422Unorm"; - case Format::eG8B8R82Plane422Unorm: return "G8B8R82Plane422Unorm"; - case Format::eG8B8R83Plane444Unorm: return "G8B8R83Plane444Unorm"; - case Format::eR10X6UnormPack16: return "R10X6UnormPack16"; - case Format::eR10X6G10X6Unorm2Pack16: return "R10X6G10X6Unorm2Pack16"; - case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return "R10X6G10X6B10X6A10X6Unorm4Pack16"; - case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return "G10X6B10X6G10X6R10X6422Unorm4Pack16"; - case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return "B10X6G10X6R10X6G10X6422Unorm4Pack16"; - case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return "G10X6B10X6R10X63Plane420Unorm3Pack16"; - case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return "G10X6B10X6R10X62Plane420Unorm3Pack16"; - case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return "G10X6B10X6R10X63Plane422Unorm3Pack16"; - case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return "G10X6B10X6R10X62Plane422Unorm3Pack16"; - case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return "G10X6B10X6R10X63Plane444Unorm3Pack16"; - case Format::eR12X4UnormPack16: return "R12X4UnormPack16"; - case Format::eR12X4G12X4Unorm2Pack16: return "R12X4G12X4Unorm2Pack16"; - case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return "R12X4G12X4B12X4A12X4Unorm4Pack16"; - case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return "G12X4B12X4G12X4R12X4422Unorm4Pack16"; - case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return "B12X4G12X4R12X4G12X4422Unorm4Pack16"; - case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return "G12X4B12X4R12X43Plane420Unorm3Pack16"; - case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return "G12X4B12X4R12X42Plane420Unorm3Pack16"; - case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return "G12X4B12X4R12X43Plane422Unorm3Pack16"; - case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return "G12X4B12X4R12X42Plane422Unorm3Pack16"; - case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return "G12X4B12X4R12X43Plane444Unorm3Pack16"; - case Format::eG16B16G16R16422Unorm: return "G16B16G16R16422Unorm"; - case Format::eB16G16R16G16422Unorm: return "B16G16R16G16422Unorm"; - case Format::eG16B16R163Plane420Unorm: return "G16B16R163Plane420Unorm"; - case Format::eG16B16R162Plane420Unorm: return "G16B16R162Plane420Unorm"; - case Format::eG16B16R163Plane422Unorm: return "G16B16R163Plane422Unorm"; - case Format::eG16B16R162Plane422Unorm: return "G16B16R162Plane422Unorm"; - case Format::eG16B16R163Plane444Unorm: return "G16B16R163Plane444Unorm"; - case Format::ePvrtc12BppUnormBlockIMG: return "Pvrtc12BppUnormBlockIMG"; - case Format::ePvrtc14BppUnormBlockIMG: return "Pvrtc14BppUnormBlockIMG"; - case Format::ePvrtc22BppUnormBlockIMG: return "Pvrtc22BppUnormBlockIMG"; - case Format::ePvrtc24BppUnormBlockIMG: return "Pvrtc24BppUnormBlockIMG"; - case Format::ePvrtc12BppSrgbBlockIMG: return "Pvrtc12BppSrgbBlockIMG"; - case Format::ePvrtc14BppSrgbBlockIMG: return "Pvrtc14BppSrgbBlockIMG"; - case Format::ePvrtc22BppSrgbBlockIMG: return "Pvrtc22BppSrgbBlockIMG"; - case Format::ePvrtc24BppSrgbBlockIMG: return "Pvrtc24BppSrgbBlockIMG"; - case Format::eAstc4x4SfloatBlockEXT: return "Astc4x4SfloatBlockEXT"; - case Format::eAstc5x4SfloatBlockEXT: return "Astc5x4SfloatBlockEXT"; - case Format::eAstc5x5SfloatBlockEXT: return "Astc5x5SfloatBlockEXT"; - case Format::eAstc6x5SfloatBlockEXT: return "Astc6x5SfloatBlockEXT"; - case Format::eAstc6x6SfloatBlockEXT: return "Astc6x6SfloatBlockEXT"; - case Format::eAstc8x5SfloatBlockEXT: return "Astc8x5SfloatBlockEXT"; - case Format::eAstc8x6SfloatBlockEXT: return "Astc8x6SfloatBlockEXT"; - case Format::eAstc8x8SfloatBlockEXT: return "Astc8x8SfloatBlockEXT"; - case Format::eAstc10x5SfloatBlockEXT: return "Astc10x5SfloatBlockEXT"; - case Format::eAstc10x6SfloatBlockEXT: return "Astc10x6SfloatBlockEXT"; - case Format::eAstc10x8SfloatBlockEXT: return "Astc10x8SfloatBlockEXT"; - case Format::eAstc10x10SfloatBlockEXT: return "Astc10x10SfloatBlockEXT"; - case Format::eAstc12x10SfloatBlockEXT: return "Astc12x10SfloatBlockEXT"; - case Format::eAstc12x12SfloatBlockEXT: return "Astc12x12SfloatBlockEXT"; - case Format::eG8B8R82Plane444UnormEXT: return "G8B8R82Plane444UnormEXT"; - case Format::eG10X6B10X6R10X62Plane444Unorm3Pack16EXT: return "G10X6B10X6R10X62Plane444Unorm3Pack16EXT"; - case Format::eG12X4B12X4R12X42Plane444Unorm3Pack16EXT: return "G12X4B12X4R12X42Plane444Unorm3Pack16EXT"; - case Format::eG16B16R162Plane444UnormEXT: return "G16B16R162Plane444UnormEXT"; - case Format::eA4R4G4B4UnormPack16EXT: return "A4R4G4B4UnormPack16EXT"; - case Format::eA4B4G4R4UnormPack16EXT: return "A4B4G4R4UnormPack16EXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FormatFeatureFlagBits : VkFormatFeatureFlags - { - eSampledImage = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, - eStorageImage = VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, - eStorageImageAtomic = VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT, - eUniformTexelBuffer = VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT, - eStorageTexelBuffer = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT, - eStorageTexelBufferAtomic = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, - eVertexBuffer = VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT, - eColorAttachment = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, - eColorAttachmentBlend = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, - eDepthStencilAttachment = VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, - eBlitSrc = VK_FORMAT_FEATURE_BLIT_SRC_BIT, - eBlitDst = VK_FORMAT_FEATURE_BLIT_DST_BIT, - eSampledImageFilterLinear = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT, - eTransferSrc = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, - eTransferDst = VK_FORMAT_FEATURE_TRANSFER_DST_BIT, - eMidpointChromaSamples = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT, - eSampledImageYcbcrConversionLinearFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT, - eSampledImageYcbcrConversionSeparateReconstructionFilter = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT, - eSampledImageYcbcrConversionChromaReconstructionExplicit = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT, - eSampledImageYcbcrConversionChromaReconstructionExplicitForceable = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT, - eDisjoint = VK_FORMAT_FEATURE_DISJOINT_BIT, - eCositedChromaSamples = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT, - eSampledImageFilterMinmax = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT, - eSampledImageFilterCubicIMG = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeOutputKHR = VK_FORMAT_FEATURE_VIDEO_DECODE_OUTPUT_BIT_KHR, - eVideoDecodeDpbKHR = VK_FORMAT_FEATURE_VIDEO_DECODE_DPB_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eAccelerationStructureVertexBufferKHR = VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR, - eFragmentDensityMapEXT = VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT, - eFragmentShadingRateAttachmentKHR = VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeInputKHR = VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR, - eVideoEncodeDpbKHR = VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eCositedChromaSamplesKHR = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR, - eDisjointKHR = VK_FORMAT_FEATURE_DISJOINT_BIT_KHR, - eMidpointChromaSamplesKHR = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR, - eSampledImageFilterCubicEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT, - eSampledImageFilterMinmaxEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT, - eSampledImageYcbcrConversionChromaReconstructionExplicitKHR = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR, - eSampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR, - eSampledImageYcbcrConversionLinearFilterKHR = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR, - eSampledImageYcbcrConversionSeparateReconstructionFilterKHR = - VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR, - eTransferDstKHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR, - eTransferSrcKHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits value ) - { - switch ( value ) - { - case FormatFeatureFlagBits::eSampledImage: return "SampledImage"; - case FormatFeatureFlagBits::eStorageImage: return "StorageImage"; - case FormatFeatureFlagBits::eStorageImageAtomic: return "StorageImageAtomic"; - case FormatFeatureFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer"; - case FormatFeatureFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer"; - case FormatFeatureFlagBits::eStorageTexelBufferAtomic: return "StorageTexelBufferAtomic"; - case FormatFeatureFlagBits::eVertexBuffer: return "VertexBuffer"; - case FormatFeatureFlagBits::eColorAttachment: return "ColorAttachment"; - case FormatFeatureFlagBits::eColorAttachmentBlend: return "ColorAttachmentBlend"; - case FormatFeatureFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment"; - case FormatFeatureFlagBits::eBlitSrc: return "BlitSrc"; - case FormatFeatureFlagBits::eBlitDst: return "BlitDst"; - case FormatFeatureFlagBits::eSampledImageFilterLinear: return "SampledImageFilterLinear"; - case FormatFeatureFlagBits::eTransferSrc: return "TransferSrc"; - case FormatFeatureFlagBits::eTransferDst: return "TransferDst"; - case FormatFeatureFlagBits::eMidpointChromaSamples: return "MidpointChromaSamples"; - case FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter: - return "SampledImageYcbcrConversionLinearFilter"; - case FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter: - return "SampledImageYcbcrConversionSeparateReconstructionFilter"; - case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit: - return "SampledImageYcbcrConversionChromaReconstructionExplicit"; - case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable: - return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable"; - case FormatFeatureFlagBits::eDisjoint: return "Disjoint"; - case FormatFeatureFlagBits::eCositedChromaSamples: return "CositedChromaSamples"; - case FormatFeatureFlagBits::eSampledImageFilterMinmax: return "SampledImageFilterMinmax"; - case FormatFeatureFlagBits::eSampledImageFilterCubicIMG: return "SampledImageFilterCubicIMG"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case FormatFeatureFlagBits::eVideoDecodeOutputKHR: return "VideoDecodeOutputKHR"; - case FormatFeatureFlagBits::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR: return "AccelerationStructureVertexBufferKHR"; - case FormatFeatureFlagBits::eFragmentDensityMapEXT: return "FragmentDensityMapEXT"; - case FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR: return "FragmentShadingRateAttachmentKHR"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case FormatFeatureFlagBits::eVideoEncodeInputKHR: return "VideoEncodeInputKHR"; - case FormatFeatureFlagBits::eVideoEncodeDpbKHR: return "VideoEncodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageCreateFlagBits : VkImageCreateFlags - { - eSparseBinding = VK_IMAGE_CREATE_SPARSE_BINDING_BIT, - eSparseResidency = VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, - eSparseAliased = VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, - eMutableFormat = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT, - eCubeCompatible = VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, - eAlias = VK_IMAGE_CREATE_ALIAS_BIT, - eSplitInstanceBindRegions = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT, - e2DArrayCompatible = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, - eBlockTexelViewCompatible = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT, - eExtendedUsage = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT, - eProtected = VK_IMAGE_CREATE_PROTECTED_BIT, - eDisjoint = VK_IMAGE_CREATE_DISJOINT_BIT, - eCornerSampledNV = VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV, - eSampleLocationsCompatibleDepthEXT = VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT, - eSubsampledEXT = VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT, - e2DArrayCompatibleKHR = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR, - eAliasKHR = VK_IMAGE_CREATE_ALIAS_BIT_KHR, - eBlockTexelViewCompatibleKHR = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR, - eDisjointKHR = VK_IMAGE_CREATE_DISJOINT_BIT_KHR, - eExtendedUsageKHR = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR, - eSplitInstanceBindRegionsKHR = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ImageCreateFlagBits value ) - { - switch ( value ) - { - case ImageCreateFlagBits::eSparseBinding: return "SparseBinding"; - case ImageCreateFlagBits::eSparseResidency: return "SparseResidency"; - case ImageCreateFlagBits::eSparseAliased: return "SparseAliased"; - case ImageCreateFlagBits::eMutableFormat: return "MutableFormat"; - case ImageCreateFlagBits::eCubeCompatible: return "CubeCompatible"; - case ImageCreateFlagBits::eAlias: return "Alias"; - case ImageCreateFlagBits::eSplitInstanceBindRegions: return "SplitInstanceBindRegions"; - case ImageCreateFlagBits::e2DArrayCompatible: return "2DArrayCompatible"; - case ImageCreateFlagBits::eBlockTexelViewCompatible: return "BlockTexelViewCompatible"; - case ImageCreateFlagBits::eExtendedUsage: return "ExtendedUsage"; - case ImageCreateFlagBits::eProtected: return "Protected"; - case ImageCreateFlagBits::eDisjoint: return "Disjoint"; - case ImageCreateFlagBits::eCornerSampledNV: return "CornerSampledNV"; - case ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT: return "SampleLocationsCompatibleDepthEXT"; - case ImageCreateFlagBits::eSubsampledEXT: return "SubsampledEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageTiling - { - eOptimal = VK_IMAGE_TILING_OPTIMAL, - eLinear = VK_IMAGE_TILING_LINEAR, - eDrmFormatModifierEXT = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ImageTiling value ) - { - switch ( value ) - { - case ImageTiling::eOptimal: return "Optimal"; - case ImageTiling::eLinear: return "Linear"; - case ImageTiling::eDrmFormatModifierEXT: return "DrmFormatModifierEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageType - { - e1D = VK_IMAGE_TYPE_1D, - e2D = VK_IMAGE_TYPE_2D, - e3D = VK_IMAGE_TYPE_3D - }; - - VULKAN_HPP_INLINE std::string to_string( ImageType value ) - { - switch ( value ) - { - case ImageType::e1D: return "1D"; - case ImageType::e2D: return "2D"; - case ImageType::e3D: return "3D"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageUsageFlagBits : VkImageUsageFlags - { - eTransferSrc = VK_IMAGE_USAGE_TRANSFER_SRC_BIT, - eTransferDst = VK_IMAGE_USAGE_TRANSFER_DST_BIT, - eSampled = VK_IMAGE_USAGE_SAMPLED_BIT, - eStorage = VK_IMAGE_USAGE_STORAGE_BIT, - eColorAttachment = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, - eDepthStencilAttachment = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, - eTransientAttachment = VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT, - eInputAttachment = VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeDstKHR = VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR, - eVideoDecodeSrcKHR = VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR, - eVideoDecodeDpbKHR = VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eShadingRateImageNV = VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV, - eFragmentDensityMapEXT = VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeDstKHR = VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR, - eVideoEncodeSrcKHR = VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR, - eVideoEncodeDpbKHR = VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eFragmentShadingRateAttachmentKHR = VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ImageUsageFlagBits value ) - { - switch ( value ) - { - case ImageUsageFlagBits::eTransferSrc: return "TransferSrc"; - case ImageUsageFlagBits::eTransferDst: return "TransferDst"; - case ImageUsageFlagBits::eSampled: return "Sampled"; - case ImageUsageFlagBits::eStorage: return "Storage"; - case ImageUsageFlagBits::eColorAttachment: return "ColorAttachment"; - case ImageUsageFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment"; - case ImageUsageFlagBits::eTransientAttachment: return "TransientAttachment"; - case ImageUsageFlagBits::eInputAttachment: return "InputAttachment"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case ImageUsageFlagBits::eVideoDecodeDstKHR: return "VideoDecodeDstKHR"; - case ImageUsageFlagBits::eVideoDecodeSrcKHR: return "VideoDecodeSrcKHR"; - case ImageUsageFlagBits::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case ImageUsageFlagBits::eShadingRateImageNV: return "ShadingRateImageNV"; - case ImageUsageFlagBits::eFragmentDensityMapEXT: return "FragmentDensityMapEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case ImageUsageFlagBits::eVideoEncodeDstKHR: return "VideoEncodeDstKHR"; - case ImageUsageFlagBits::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR"; - case ImageUsageFlagBits::eVideoEncodeDpbKHR: return "VideoEncodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class InstanceCreateFlagBits - { - }; - - VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlagBits ) - { - return "(void)"; - } - - enum class InternalAllocationType - { - eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE - }; - - VULKAN_HPP_INLINE std::string to_string( InternalAllocationType value ) - { - switch ( value ) - { - case InternalAllocationType::eExecutable: return "Executable"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class MemoryHeapFlagBits : VkMemoryHeapFlags - { - eDeviceLocal = VK_MEMORY_HEAP_DEVICE_LOCAL_BIT, - eMultiInstance = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT, - eMultiInstanceKHR = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlagBits value ) - { - switch ( value ) - { - case MemoryHeapFlagBits::eDeviceLocal: return "DeviceLocal"; - case MemoryHeapFlagBits::eMultiInstance: return "MultiInstance"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class MemoryPropertyFlagBits : VkMemoryPropertyFlags - { - eDeviceLocal = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, - eHostVisible = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, - eHostCoherent = VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, - eHostCached = VK_MEMORY_PROPERTY_HOST_CACHED_BIT, - eLazilyAllocated = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, - eProtected = VK_MEMORY_PROPERTY_PROTECTED_BIT, - eDeviceCoherentAMD = VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD, - eDeviceUncachedAMD = VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD - }; - - VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlagBits value ) - { - switch ( value ) - { - case MemoryPropertyFlagBits::eDeviceLocal: return "DeviceLocal"; - case MemoryPropertyFlagBits::eHostVisible: return "HostVisible"; - case MemoryPropertyFlagBits::eHostCoherent: return "HostCoherent"; - case MemoryPropertyFlagBits::eHostCached: return "HostCached"; - case MemoryPropertyFlagBits::eLazilyAllocated: return "LazilyAllocated"; - case MemoryPropertyFlagBits::eProtected: return "Protected"; - case MemoryPropertyFlagBits::eDeviceCoherentAMD: return "DeviceCoherentAMD"; - case MemoryPropertyFlagBits::eDeviceUncachedAMD: return "DeviceUncachedAMD"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PhysicalDeviceType - { - eOther = VK_PHYSICAL_DEVICE_TYPE_OTHER, - eIntegratedGpu = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, - eDiscreteGpu = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, - eVirtualGpu = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU, - eCpu = VK_PHYSICAL_DEVICE_TYPE_CPU - }; - - VULKAN_HPP_INLINE std::string to_string( PhysicalDeviceType value ) - { - switch ( value ) - { - case PhysicalDeviceType::eOther: return "Other"; - case PhysicalDeviceType::eIntegratedGpu: return "IntegratedGpu"; - case PhysicalDeviceType::eDiscreteGpu: return "DiscreteGpu"; - case PhysicalDeviceType::eVirtualGpu: return "VirtualGpu"; - case PhysicalDeviceType::eCpu: return "Cpu"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueueFlagBits : VkQueueFlags - { - eGraphics = VK_QUEUE_GRAPHICS_BIT, - eCompute = VK_QUEUE_COMPUTE_BIT, - eTransfer = VK_QUEUE_TRANSFER_BIT, - eSparseBinding = VK_QUEUE_SPARSE_BINDING_BIT, - eProtected = VK_QUEUE_PROTECTED_BIT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeKHR = VK_QUEUE_VIDEO_DECODE_BIT_KHR, - eVideoEncodeKHR = VK_QUEUE_VIDEO_ENCODE_BIT_KHR -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - - VULKAN_HPP_INLINE std::string to_string( QueueFlagBits value ) - { - switch ( value ) - { - case QueueFlagBits::eGraphics: return "Graphics"; - case QueueFlagBits::eCompute: return "Compute"; - case QueueFlagBits::eTransfer: return "Transfer"; - case QueueFlagBits::eSparseBinding: return "SparseBinding"; - case QueueFlagBits::eProtected: return "Protected"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case QueueFlagBits::eVideoDecodeKHR: return "VideoDecodeKHR"; - case QueueFlagBits::eVideoEncodeKHR: return "VideoEncodeKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SampleCountFlagBits : VkSampleCountFlags - { - e1 = VK_SAMPLE_COUNT_1_BIT, - e2 = VK_SAMPLE_COUNT_2_BIT, - e4 = VK_SAMPLE_COUNT_4_BIT, - e8 = VK_SAMPLE_COUNT_8_BIT, - e16 = VK_SAMPLE_COUNT_16_BIT, - e32 = VK_SAMPLE_COUNT_32_BIT, - e64 = VK_SAMPLE_COUNT_64_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( SampleCountFlagBits value ) - { - switch ( value ) - { - case SampleCountFlagBits::e1: return "1"; - case SampleCountFlagBits::e2: return "2"; - case SampleCountFlagBits::e4: return "4"; - case SampleCountFlagBits::e8: return "8"; - case SampleCountFlagBits::e16: return "16"; - case SampleCountFlagBits::e32: return "32"; - case SampleCountFlagBits::e64: return "64"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SystemAllocationScope - { - eCommand = VK_SYSTEM_ALLOCATION_SCOPE_COMMAND, - eObject = VK_SYSTEM_ALLOCATION_SCOPE_OBJECT, - eCache = VK_SYSTEM_ALLOCATION_SCOPE_CACHE, - eDevice = VK_SYSTEM_ALLOCATION_SCOPE_DEVICE, - eInstance = VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE - }; - - VULKAN_HPP_INLINE std::string to_string( SystemAllocationScope value ) - { - switch ( value ) - { - case SystemAllocationScope::eCommand: return "Command"; - case SystemAllocationScope::eObject: return "Object"; - case SystemAllocationScope::eCache: return "Cache"; - case SystemAllocationScope::eDevice: return "Device"; - case SystemAllocationScope::eInstance: return "Instance"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DeviceCreateFlagBits - { - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlagBits ) - { - return "(void)"; - } - - enum class DeviceQueueCreateFlagBits : VkDeviceQueueCreateFlags - { - eProtected = VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlagBits value ) - { - switch ( value ) - { - case DeviceQueueCreateFlagBits::eProtected: return "Protected"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PipelineStageFlagBits : VkPipelineStageFlags - { - eTopOfPipe = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, - eDrawIndirect = VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, - eVertexInput = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, - eVertexShader = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, - eTessellationControlShader = VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, - eTessellationEvaluationShader = VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, - eGeometryShader = VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, - eFragmentShader = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, - eEarlyFragmentTests = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, - eLateFragmentTests = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - eColorAttachmentOutput = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - eComputeShader = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, - eTransfer = VK_PIPELINE_STAGE_TRANSFER_BIT, - eBottomOfPipe = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, - eHost = VK_PIPELINE_STAGE_HOST_BIT, - eAllGraphics = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, - eAllCommands = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, - eTransformFeedbackEXT = VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT, - eConditionalRenderingEXT = VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, - eAccelerationStructureBuildKHR = VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, - eRayTracingShaderKHR = VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR, - eShadingRateImageNV = VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV, - eTaskShaderNV = VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, - eMeshShaderNV = VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, - eFragmentDensityProcessEXT = VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT, - eCommandPreprocessNV = VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV, - eNoneKHR = VK_PIPELINE_STAGE_NONE_KHR, - eAccelerationStructureBuildNV = VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV, - eFragmentShadingRateAttachmentKHR = VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, - eRayTracingShaderNV = VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineStageFlagBits value ) - { - switch ( value ) - { - case PipelineStageFlagBits::eTopOfPipe: return "TopOfPipe"; - case PipelineStageFlagBits::eDrawIndirect: return "DrawIndirect"; - case PipelineStageFlagBits::eVertexInput: return "VertexInput"; - case PipelineStageFlagBits::eVertexShader: return "VertexShader"; - case PipelineStageFlagBits::eTessellationControlShader: return "TessellationControlShader"; - case PipelineStageFlagBits::eTessellationEvaluationShader: return "TessellationEvaluationShader"; - case PipelineStageFlagBits::eGeometryShader: return "GeometryShader"; - case PipelineStageFlagBits::eFragmentShader: return "FragmentShader"; - case PipelineStageFlagBits::eEarlyFragmentTests: return "EarlyFragmentTests"; - case PipelineStageFlagBits::eLateFragmentTests: return "LateFragmentTests"; - case PipelineStageFlagBits::eColorAttachmentOutput: return "ColorAttachmentOutput"; - case PipelineStageFlagBits::eComputeShader: return "ComputeShader"; - case PipelineStageFlagBits::eTransfer: return "Transfer"; - case PipelineStageFlagBits::eBottomOfPipe: return "BottomOfPipe"; - case PipelineStageFlagBits::eHost: return "Host"; - case PipelineStageFlagBits::eAllGraphics: return "AllGraphics"; - case PipelineStageFlagBits::eAllCommands: return "AllCommands"; - case PipelineStageFlagBits::eTransformFeedbackEXT: return "TransformFeedbackEXT"; - case PipelineStageFlagBits::eConditionalRenderingEXT: return "ConditionalRenderingEXT"; - case PipelineStageFlagBits::eAccelerationStructureBuildKHR: return "AccelerationStructureBuildKHR"; - case PipelineStageFlagBits::eRayTracingShaderKHR: return "RayTracingShaderKHR"; - case PipelineStageFlagBits::eShadingRateImageNV: return "ShadingRateImageNV"; - case PipelineStageFlagBits::eTaskShaderNV: return "TaskShaderNV"; - case PipelineStageFlagBits::eMeshShaderNV: return "MeshShaderNV"; - case PipelineStageFlagBits::eFragmentDensityProcessEXT: return "FragmentDensityProcessEXT"; - case PipelineStageFlagBits::eCommandPreprocessNV: return "CommandPreprocessNV"; - case PipelineStageFlagBits::eNoneKHR: return "NoneKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageAspectFlagBits : VkImageAspectFlags - { - eColor = VK_IMAGE_ASPECT_COLOR_BIT, - eDepth = VK_IMAGE_ASPECT_DEPTH_BIT, - eStencil = VK_IMAGE_ASPECT_STENCIL_BIT, - eMetadata = VK_IMAGE_ASPECT_METADATA_BIT, - ePlane0 = VK_IMAGE_ASPECT_PLANE_0_BIT, - ePlane1 = VK_IMAGE_ASPECT_PLANE_1_BIT, - ePlane2 = VK_IMAGE_ASPECT_PLANE_2_BIT, - eMemoryPlane0EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT, - eMemoryPlane1EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT, - eMemoryPlane2EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT, - eMemoryPlane3EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT, - ePlane0KHR = VK_IMAGE_ASPECT_PLANE_0_BIT_KHR, - ePlane1KHR = VK_IMAGE_ASPECT_PLANE_1_BIT_KHR, - ePlane2KHR = VK_IMAGE_ASPECT_PLANE_2_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ImageAspectFlagBits value ) - { - switch ( value ) - { - case ImageAspectFlagBits::eColor: return "Color"; - case ImageAspectFlagBits::eDepth: return "Depth"; - case ImageAspectFlagBits::eStencil: return "Stencil"; - case ImageAspectFlagBits::eMetadata: return "Metadata"; - case ImageAspectFlagBits::ePlane0: return "Plane0"; - case ImageAspectFlagBits::ePlane1: return "Plane1"; - case ImageAspectFlagBits::ePlane2: return "Plane2"; - case ImageAspectFlagBits::eMemoryPlane0EXT: return "MemoryPlane0EXT"; - case ImageAspectFlagBits::eMemoryPlane1EXT: return "MemoryPlane1EXT"; - case ImageAspectFlagBits::eMemoryPlane2EXT: return "MemoryPlane2EXT"; - case ImageAspectFlagBits::eMemoryPlane3EXT: return "MemoryPlane3EXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SparseImageFormatFlagBits : VkSparseImageFormatFlags - { - eSingleMiptail = VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, - eAlignedMipSize = VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT, - eNonstandardBlockSize = VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlagBits value ) - { - switch ( value ) - { - case SparseImageFormatFlagBits::eSingleMiptail: return "SingleMiptail"; - case SparseImageFormatFlagBits::eAlignedMipSize: return "AlignedMipSize"; - case SparseImageFormatFlagBits::eNonstandardBlockSize: return "NonstandardBlockSize"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SparseMemoryBindFlagBits : VkSparseMemoryBindFlags - { - eMetadata = VK_SPARSE_MEMORY_BIND_METADATA_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlagBits value ) - { - switch ( value ) - { - case SparseMemoryBindFlagBits::eMetadata: return "Metadata"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FenceCreateFlagBits : VkFenceCreateFlags - { - eSignaled = VK_FENCE_CREATE_SIGNALED_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( FenceCreateFlagBits value ) - { - switch ( value ) - { - case FenceCreateFlagBits::eSignaled: return "Signaled"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class EventCreateFlagBits : VkEventCreateFlags - { - eDeviceOnlyKHR = VK_EVENT_CREATE_DEVICE_ONLY_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( EventCreateFlagBits value ) - { - switch ( value ) - { - case EventCreateFlagBits::eDeviceOnlyKHR: return "DeviceOnlyKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryPipelineStatisticFlagBits : VkQueryPipelineStatisticFlags - { - eInputAssemblyVertices = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT, - eInputAssemblyPrimitives = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT, - eVertexShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT, - eGeometryShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT, - eGeometryShaderPrimitives = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT, - eClippingInvocations = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT, - eClippingPrimitives = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT, - eFragmentShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT, - eTessellationControlShaderPatches = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, - eTessellationEvaluationShaderInvocations = - VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT, - eComputeShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlagBits value ) - { - switch ( value ) - { - case QueryPipelineStatisticFlagBits::eInputAssemblyVertices: return "InputAssemblyVertices"; - case QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives: return "InputAssemblyPrimitives"; - case QueryPipelineStatisticFlagBits::eVertexShaderInvocations: return "VertexShaderInvocations"; - case QueryPipelineStatisticFlagBits::eGeometryShaderInvocations: return "GeometryShaderInvocations"; - case QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives: return "GeometryShaderPrimitives"; - case QueryPipelineStatisticFlagBits::eClippingInvocations: return "ClippingInvocations"; - case QueryPipelineStatisticFlagBits::eClippingPrimitives: return "ClippingPrimitives"; - case QueryPipelineStatisticFlagBits::eFragmentShaderInvocations: return "FragmentShaderInvocations"; - case QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches: return "TessellationControlShaderPatches"; - case QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations: - return "TessellationEvaluationShaderInvocations"; - case QueryPipelineStatisticFlagBits::eComputeShaderInvocations: return "ComputeShaderInvocations"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryPoolCreateFlagBits - { - }; - - VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlagBits ) - { - return "(void)"; - } - - enum class QueryResultFlagBits : VkQueryResultFlags - { - e64 = VK_QUERY_RESULT_64_BIT, - eWait = VK_QUERY_RESULT_WAIT_BIT, - eWithAvailability = VK_QUERY_RESULT_WITH_AVAILABILITY_BIT, - ePartial = VK_QUERY_RESULT_PARTIAL_BIT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eWithStatusKHR = VK_QUERY_RESULT_WITH_STATUS_BIT_KHR -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - - VULKAN_HPP_INLINE std::string to_string( QueryResultFlagBits value ) - { - switch ( value ) - { - case QueryResultFlagBits::e64: return "64"; - case QueryResultFlagBits::eWait: return "Wait"; - case QueryResultFlagBits::eWithAvailability: return "WithAvailability"; - case QueryResultFlagBits::ePartial: return "Partial"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case QueryResultFlagBits::eWithStatusKHR: return "WithStatusKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryType - { - eOcclusion = VK_QUERY_TYPE_OCCLUSION, - ePipelineStatistics = VK_QUERY_TYPE_PIPELINE_STATISTICS, - eTimestamp = VK_QUERY_TYPE_TIMESTAMP, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eResultStatusOnlyKHR = VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eTransformFeedbackStreamEXT = VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT, - ePerformanceQueryKHR = VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, - eAccelerationStructureCompactedSizeKHR = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR, - eAccelerationStructureSerializationSizeKHR = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR, - eAccelerationStructureCompactedSizeNV = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV, - ePerformanceQueryINTEL = VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeBitstreamBufferRangeKHR = VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - - VULKAN_HPP_INLINE std::string to_string( QueryType value ) - { - switch ( value ) - { - case QueryType::eOcclusion: return "Occlusion"; - case QueryType::ePipelineStatistics: return "PipelineStatistics"; - case QueryType::eTimestamp: return "Timestamp"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case QueryType::eResultStatusOnlyKHR: return "ResultStatusOnlyKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case QueryType::eTransformFeedbackStreamEXT: return "TransformFeedbackStreamEXT"; - case QueryType::ePerformanceQueryKHR: return "PerformanceQueryKHR"; - case QueryType::eAccelerationStructureCompactedSizeKHR: return "AccelerationStructureCompactedSizeKHR"; - case QueryType::eAccelerationStructureSerializationSizeKHR: return "AccelerationStructureSerializationSizeKHR"; - case QueryType::eAccelerationStructureCompactedSizeNV: return "AccelerationStructureCompactedSizeNV"; - case QueryType::ePerformanceQueryINTEL: return "PerformanceQueryINTEL"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case QueryType::eVideoEncodeBitstreamBufferRangeKHR: return "VideoEncodeBitstreamBufferRangeKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BufferCreateFlagBits : VkBufferCreateFlags - { - eSparseBinding = VK_BUFFER_CREATE_SPARSE_BINDING_BIT, - eSparseResidency = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT, - eSparseAliased = VK_BUFFER_CREATE_SPARSE_ALIASED_BIT, - eProtected = VK_BUFFER_CREATE_PROTECTED_BIT, - eDeviceAddressCaptureReplay = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, - eDeviceAddressCaptureReplayEXT = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT, - eDeviceAddressCaptureReplayKHR = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( BufferCreateFlagBits value ) - { - switch ( value ) - { - case BufferCreateFlagBits::eSparseBinding: return "SparseBinding"; - case BufferCreateFlagBits::eSparseResidency: return "SparseResidency"; - case BufferCreateFlagBits::eSparseAliased: return "SparseAliased"; - case BufferCreateFlagBits::eProtected: return "Protected"; - case BufferCreateFlagBits::eDeviceAddressCaptureReplay: return "DeviceAddressCaptureReplay"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BufferUsageFlagBits : VkBufferUsageFlags - { - eTransferSrc = VK_BUFFER_USAGE_TRANSFER_SRC_BIT, - eTransferDst = VK_BUFFER_USAGE_TRANSFER_DST_BIT, - eUniformTexelBuffer = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, - eStorageTexelBuffer = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT, - eUniformBuffer = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, - eStorageBuffer = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, - eIndexBuffer = VK_BUFFER_USAGE_INDEX_BUFFER_BIT, - eVertexBuffer = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, - eIndirectBuffer = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, - eShaderDeviceAddress = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeSrcKHR = VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR, - eVideoDecodeDstKHR = VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eTransformFeedbackBufferEXT = VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT, - eTransformFeedbackCounterBufferEXT = VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT, - eConditionalRenderingEXT = VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT, - eAccelerationStructureBuildInputReadOnlyKHR = VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR, - eAccelerationStructureStorageKHR = VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR, - eShaderBindingTableKHR = VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeDstKHR = VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR, - eVideoEncodeSrcKHR = VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eRayTracingNV = VK_BUFFER_USAGE_RAY_TRACING_BIT_NV, - eShaderDeviceAddressEXT = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT, - eShaderDeviceAddressKHR = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( BufferUsageFlagBits value ) - { - switch ( value ) - { - case BufferUsageFlagBits::eTransferSrc: return "TransferSrc"; - case BufferUsageFlagBits::eTransferDst: return "TransferDst"; - case BufferUsageFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer"; - case BufferUsageFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer"; - case BufferUsageFlagBits::eUniformBuffer: return "UniformBuffer"; - case BufferUsageFlagBits::eStorageBuffer: return "StorageBuffer"; - case BufferUsageFlagBits::eIndexBuffer: return "IndexBuffer"; - case BufferUsageFlagBits::eVertexBuffer: return "VertexBuffer"; - case BufferUsageFlagBits::eIndirectBuffer: return "IndirectBuffer"; - case BufferUsageFlagBits::eShaderDeviceAddress: return "ShaderDeviceAddress"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case BufferUsageFlagBits::eVideoDecodeSrcKHR: return "VideoDecodeSrcKHR"; - case BufferUsageFlagBits::eVideoDecodeDstKHR: return "VideoDecodeDstKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case BufferUsageFlagBits::eTransformFeedbackBufferEXT: return "TransformFeedbackBufferEXT"; - case BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT: return "TransformFeedbackCounterBufferEXT"; - case BufferUsageFlagBits::eConditionalRenderingEXT: return "ConditionalRenderingEXT"; - case BufferUsageFlagBits::eAccelerationStructureBuildInputReadOnlyKHR: - return "AccelerationStructureBuildInputReadOnlyKHR"; - case BufferUsageFlagBits::eAccelerationStructureStorageKHR: return "AccelerationStructureStorageKHR"; - case BufferUsageFlagBits::eShaderBindingTableKHR: return "ShaderBindingTableKHR"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case BufferUsageFlagBits::eVideoEncodeDstKHR: return "VideoEncodeDstKHR"; - case BufferUsageFlagBits::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SharingMode - { - eExclusive = VK_SHARING_MODE_EXCLUSIVE, - eConcurrent = VK_SHARING_MODE_CONCURRENT - }; - - VULKAN_HPP_INLINE std::string to_string( SharingMode value ) - { - switch ( value ) - { - case SharingMode::eExclusive: return "Exclusive"; - case SharingMode::eConcurrent: return "Concurrent"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageLayout - { - eUndefined = VK_IMAGE_LAYOUT_UNDEFINED, - eGeneral = VK_IMAGE_LAYOUT_GENERAL, - eColorAttachmentOptimal = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, - eDepthStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, - eDepthStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, - eShaderReadOnlyOptimal = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, - eTransferSrcOptimal = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, - eTransferDstOptimal = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, - ePreinitialized = VK_IMAGE_LAYOUT_PREINITIALIZED, - eDepthReadOnlyStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, - eDepthAttachmentStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, - eDepthAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, - eDepthReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, - eStencilAttachmentOptimal = VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, - eStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, - ePresentSrcKHR = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeDstKHR = VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR, - eVideoDecodeSrcKHR = VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR, - eVideoDecodeDpbKHR = VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eSharedPresentKHR = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR, - eShadingRateOptimalNV = VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV, - eFragmentDensityMapOptimalEXT = VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoEncodeDstKHR = VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR, - eVideoEncodeSrcKHR = VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR, - eVideoEncodeDpbKHR = VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR, - eAttachmentOptimalKHR = VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR, - eDepthAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR, - eDepthAttachmentStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR, - eDepthReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL_KHR, - eDepthReadOnlyStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR, - eFragmentShadingRateAttachmentOptimalKHR = VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR, - eStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL_KHR, - eStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ImageLayout value ) - { - switch ( value ) - { - case ImageLayout::eUndefined: return "Undefined"; - case ImageLayout::eGeneral: return "General"; - case ImageLayout::eColorAttachmentOptimal: return "ColorAttachmentOptimal"; - case ImageLayout::eDepthStencilAttachmentOptimal: return "DepthStencilAttachmentOptimal"; - case ImageLayout::eDepthStencilReadOnlyOptimal: return "DepthStencilReadOnlyOptimal"; - case ImageLayout::eShaderReadOnlyOptimal: return "ShaderReadOnlyOptimal"; - case ImageLayout::eTransferSrcOptimal: return "TransferSrcOptimal"; - case ImageLayout::eTransferDstOptimal: return "TransferDstOptimal"; - case ImageLayout::ePreinitialized: return "Preinitialized"; - case ImageLayout::eDepthReadOnlyStencilAttachmentOptimal: return "DepthReadOnlyStencilAttachmentOptimal"; - case ImageLayout::eDepthAttachmentStencilReadOnlyOptimal: return "DepthAttachmentStencilReadOnlyOptimal"; - case ImageLayout::eDepthAttachmentOptimal: return "DepthAttachmentOptimal"; - case ImageLayout::eDepthReadOnlyOptimal: return "DepthReadOnlyOptimal"; - case ImageLayout::eStencilAttachmentOptimal: return "StencilAttachmentOptimal"; - case ImageLayout::eStencilReadOnlyOptimal: return "StencilReadOnlyOptimal"; - case ImageLayout::ePresentSrcKHR: return "PresentSrcKHR"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case ImageLayout::eVideoDecodeDstKHR: return "VideoDecodeDstKHR"; - case ImageLayout::eVideoDecodeSrcKHR: return "VideoDecodeSrcKHR"; - case ImageLayout::eVideoDecodeDpbKHR: return "VideoDecodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case ImageLayout::eSharedPresentKHR: return "SharedPresentKHR"; - case ImageLayout::eShadingRateOptimalNV: return "ShadingRateOptimalNV"; - case ImageLayout::eFragmentDensityMapOptimalEXT: return "FragmentDensityMapOptimalEXT"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case ImageLayout::eVideoEncodeDstKHR: return "VideoEncodeDstKHR"; - case ImageLayout::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR"; - case ImageLayout::eVideoEncodeDpbKHR: return "VideoEncodeDpbKHR"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case ImageLayout::eReadOnlyOptimalKHR: return "ReadOnlyOptimalKHR"; - case ImageLayout::eAttachmentOptimalKHR: return "AttachmentOptimalKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ComponentSwizzle - { - eIdentity = VK_COMPONENT_SWIZZLE_IDENTITY, - eZero = VK_COMPONENT_SWIZZLE_ZERO, - eOne = VK_COMPONENT_SWIZZLE_ONE, - eR = VK_COMPONENT_SWIZZLE_R, - eG = VK_COMPONENT_SWIZZLE_G, - eB = VK_COMPONENT_SWIZZLE_B, - eA = VK_COMPONENT_SWIZZLE_A - }; - - VULKAN_HPP_INLINE std::string to_string( ComponentSwizzle value ) - { - switch ( value ) - { - case ComponentSwizzle::eIdentity: return "Identity"; - case ComponentSwizzle::eZero: return "Zero"; - case ComponentSwizzle::eOne: return "One"; - case ComponentSwizzle::eR: return "R"; - case ComponentSwizzle::eG: return "G"; - case ComponentSwizzle::eB: return "B"; - case ComponentSwizzle::eA: return "A"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageViewCreateFlagBits : VkImageViewCreateFlags - { - eFragmentDensityMapDynamicEXT = VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT, - eFragmentDensityMapDeferredEXT = VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlagBits value ) - { - switch ( value ) - { - case ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT: return "FragmentDensityMapDynamicEXT"; - case ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT: return "FragmentDensityMapDeferredEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ImageViewType - { - e1D = VK_IMAGE_VIEW_TYPE_1D, - e2D = VK_IMAGE_VIEW_TYPE_2D, - e3D = VK_IMAGE_VIEW_TYPE_3D, - eCube = VK_IMAGE_VIEW_TYPE_CUBE, - e1DArray = VK_IMAGE_VIEW_TYPE_1D_ARRAY, - e2DArray = VK_IMAGE_VIEW_TYPE_2D_ARRAY, - eCubeArray = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY - }; - - VULKAN_HPP_INLINE std::string to_string( ImageViewType value ) - { - switch ( value ) - { - case ImageViewType::e1D: return "1D"; - case ImageViewType::e2D: return "2D"; - case ImageViewType::e3D: return "3D"; - case ImageViewType::eCube: return "Cube"; - case ImageViewType::e1DArray: return "1DArray"; - case ImageViewType::e2DArray: return "2DArray"; - case ImageViewType::eCubeArray: return "CubeArray"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ShaderModuleCreateFlagBits : VkShaderModuleCreateFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlagBits ) - { - return "(void)"; - } - - enum class PipelineCacheCreateFlagBits : VkPipelineCacheCreateFlags - { - eExternallySynchronizedEXT = VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlagBits value ) - { - switch ( value ) - { - case PipelineCacheCreateFlagBits::eExternallySynchronizedEXT: return "ExternallySynchronizedEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BlendFactor - { - eZero = VK_BLEND_FACTOR_ZERO, - eOne = VK_BLEND_FACTOR_ONE, - eSrcColor = VK_BLEND_FACTOR_SRC_COLOR, - eOneMinusSrcColor = VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, - eDstColor = VK_BLEND_FACTOR_DST_COLOR, - eOneMinusDstColor = VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, - eSrcAlpha = VK_BLEND_FACTOR_SRC_ALPHA, - eOneMinusSrcAlpha = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, - eDstAlpha = VK_BLEND_FACTOR_DST_ALPHA, - eOneMinusDstAlpha = VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, - eConstantColor = VK_BLEND_FACTOR_CONSTANT_COLOR, - eOneMinusConstantColor = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, - eConstantAlpha = VK_BLEND_FACTOR_CONSTANT_ALPHA, - eOneMinusConstantAlpha = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, - eSrcAlphaSaturate = VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, - eSrc1Color = VK_BLEND_FACTOR_SRC1_COLOR, - eOneMinusSrc1Color = VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, - eSrc1Alpha = VK_BLEND_FACTOR_SRC1_ALPHA, - eOneMinusSrc1Alpha = VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA - }; - - VULKAN_HPP_INLINE std::string to_string( BlendFactor value ) - { - switch ( value ) - { - case BlendFactor::eZero: return "Zero"; - case BlendFactor::eOne: return "One"; - case BlendFactor::eSrcColor: return "SrcColor"; - case BlendFactor::eOneMinusSrcColor: return "OneMinusSrcColor"; - case BlendFactor::eDstColor: return "DstColor"; - case BlendFactor::eOneMinusDstColor: return "OneMinusDstColor"; - case BlendFactor::eSrcAlpha: return "SrcAlpha"; - case BlendFactor::eOneMinusSrcAlpha: return "OneMinusSrcAlpha"; - case BlendFactor::eDstAlpha: return "DstAlpha"; - case BlendFactor::eOneMinusDstAlpha: return "OneMinusDstAlpha"; - case BlendFactor::eConstantColor: return "ConstantColor"; - case BlendFactor::eOneMinusConstantColor: return "OneMinusConstantColor"; - case BlendFactor::eConstantAlpha: return "ConstantAlpha"; - case BlendFactor::eOneMinusConstantAlpha: return "OneMinusConstantAlpha"; - case BlendFactor::eSrcAlphaSaturate: return "SrcAlphaSaturate"; - case BlendFactor::eSrc1Color: return "Src1Color"; - case BlendFactor::eOneMinusSrc1Color: return "OneMinusSrc1Color"; - case BlendFactor::eSrc1Alpha: return "Src1Alpha"; - case BlendFactor::eOneMinusSrc1Alpha: return "OneMinusSrc1Alpha"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BlendOp - { - eAdd = VK_BLEND_OP_ADD, - eSubtract = VK_BLEND_OP_SUBTRACT, - eReverseSubtract = VK_BLEND_OP_REVERSE_SUBTRACT, - eMin = VK_BLEND_OP_MIN, - eMax = VK_BLEND_OP_MAX, - eZeroEXT = VK_BLEND_OP_ZERO_EXT, - eSrcEXT = VK_BLEND_OP_SRC_EXT, - eDstEXT = VK_BLEND_OP_DST_EXT, - eSrcOverEXT = VK_BLEND_OP_SRC_OVER_EXT, - eDstOverEXT = VK_BLEND_OP_DST_OVER_EXT, - eSrcInEXT = VK_BLEND_OP_SRC_IN_EXT, - eDstInEXT = VK_BLEND_OP_DST_IN_EXT, - eSrcOutEXT = VK_BLEND_OP_SRC_OUT_EXT, - eDstOutEXT = VK_BLEND_OP_DST_OUT_EXT, - eSrcAtopEXT = VK_BLEND_OP_SRC_ATOP_EXT, - eDstAtopEXT = VK_BLEND_OP_DST_ATOP_EXT, - eXorEXT = VK_BLEND_OP_XOR_EXT, - eMultiplyEXT = VK_BLEND_OP_MULTIPLY_EXT, - eScreenEXT = VK_BLEND_OP_SCREEN_EXT, - eOverlayEXT = VK_BLEND_OP_OVERLAY_EXT, - eDarkenEXT = VK_BLEND_OP_DARKEN_EXT, - eLightenEXT = VK_BLEND_OP_LIGHTEN_EXT, - eColordodgeEXT = VK_BLEND_OP_COLORDODGE_EXT, - eColorburnEXT = VK_BLEND_OP_COLORBURN_EXT, - eHardlightEXT = VK_BLEND_OP_HARDLIGHT_EXT, - eSoftlightEXT = VK_BLEND_OP_SOFTLIGHT_EXT, - eDifferenceEXT = VK_BLEND_OP_DIFFERENCE_EXT, - eExclusionEXT = VK_BLEND_OP_EXCLUSION_EXT, - eInvertEXT = VK_BLEND_OP_INVERT_EXT, - eInvertRgbEXT = VK_BLEND_OP_INVERT_RGB_EXT, - eLineardodgeEXT = VK_BLEND_OP_LINEARDODGE_EXT, - eLinearburnEXT = VK_BLEND_OP_LINEARBURN_EXT, - eVividlightEXT = VK_BLEND_OP_VIVIDLIGHT_EXT, - eLinearlightEXT = VK_BLEND_OP_LINEARLIGHT_EXT, - ePinlightEXT = VK_BLEND_OP_PINLIGHT_EXT, - eHardmixEXT = VK_BLEND_OP_HARDMIX_EXT, - eHslHueEXT = VK_BLEND_OP_HSL_HUE_EXT, - eHslSaturationEXT = VK_BLEND_OP_HSL_SATURATION_EXT, - eHslColorEXT = VK_BLEND_OP_HSL_COLOR_EXT, - eHslLuminosityEXT = VK_BLEND_OP_HSL_LUMINOSITY_EXT, - ePlusEXT = VK_BLEND_OP_PLUS_EXT, - ePlusClampedEXT = VK_BLEND_OP_PLUS_CLAMPED_EXT, - ePlusClampedAlphaEXT = VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT, - ePlusDarkerEXT = VK_BLEND_OP_PLUS_DARKER_EXT, - eMinusEXT = VK_BLEND_OP_MINUS_EXT, - eMinusClampedEXT = VK_BLEND_OP_MINUS_CLAMPED_EXT, - eContrastEXT = VK_BLEND_OP_CONTRAST_EXT, - eInvertOvgEXT = VK_BLEND_OP_INVERT_OVG_EXT, - eRedEXT = VK_BLEND_OP_RED_EXT, - eGreenEXT = VK_BLEND_OP_GREEN_EXT, - eBlueEXT = VK_BLEND_OP_BLUE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( BlendOp value ) - { - switch ( value ) - { - case BlendOp::eAdd: return "Add"; - case BlendOp::eSubtract: return "Subtract"; - case BlendOp::eReverseSubtract: return "ReverseSubtract"; - case BlendOp::eMin: return "Min"; - case BlendOp::eMax: return "Max"; - case BlendOp::eZeroEXT: return "ZeroEXT"; - case BlendOp::eSrcEXT: return "SrcEXT"; - case BlendOp::eDstEXT: return "DstEXT"; - case BlendOp::eSrcOverEXT: return "SrcOverEXT"; - case BlendOp::eDstOverEXT: return "DstOverEXT"; - case BlendOp::eSrcInEXT: return "SrcInEXT"; - case BlendOp::eDstInEXT: return "DstInEXT"; - case BlendOp::eSrcOutEXT: return "SrcOutEXT"; - case BlendOp::eDstOutEXT: return "DstOutEXT"; - case BlendOp::eSrcAtopEXT: return "SrcAtopEXT"; - case BlendOp::eDstAtopEXT: return "DstAtopEXT"; - case BlendOp::eXorEXT: return "XorEXT"; - case BlendOp::eMultiplyEXT: return "MultiplyEXT"; - case BlendOp::eScreenEXT: return "ScreenEXT"; - case BlendOp::eOverlayEXT: return "OverlayEXT"; - case BlendOp::eDarkenEXT: return "DarkenEXT"; - case BlendOp::eLightenEXT: return "LightenEXT"; - case BlendOp::eColordodgeEXT: return "ColordodgeEXT"; - case BlendOp::eColorburnEXT: return "ColorburnEXT"; - case BlendOp::eHardlightEXT: return "HardlightEXT"; - case BlendOp::eSoftlightEXT: return "SoftlightEXT"; - case BlendOp::eDifferenceEXT: return "DifferenceEXT"; - case BlendOp::eExclusionEXT: return "ExclusionEXT"; - case BlendOp::eInvertEXT: return "InvertEXT"; - case BlendOp::eInvertRgbEXT: return "InvertRgbEXT"; - case BlendOp::eLineardodgeEXT: return "LineardodgeEXT"; - case BlendOp::eLinearburnEXT: return "LinearburnEXT"; - case BlendOp::eVividlightEXT: return "VividlightEXT"; - case BlendOp::eLinearlightEXT: return "LinearlightEXT"; - case BlendOp::ePinlightEXT: return "PinlightEXT"; - case BlendOp::eHardmixEXT: return "HardmixEXT"; - case BlendOp::eHslHueEXT: return "HslHueEXT"; - case BlendOp::eHslSaturationEXT: return "HslSaturationEXT"; - case BlendOp::eHslColorEXT: return "HslColorEXT"; - case BlendOp::eHslLuminosityEXT: return "HslLuminosityEXT"; - case BlendOp::ePlusEXT: return "PlusEXT"; - case BlendOp::ePlusClampedEXT: return "PlusClampedEXT"; - case BlendOp::ePlusClampedAlphaEXT: return "PlusClampedAlphaEXT"; - case BlendOp::ePlusDarkerEXT: return "PlusDarkerEXT"; - case BlendOp::eMinusEXT: return "MinusEXT"; - case BlendOp::eMinusClampedEXT: return "MinusClampedEXT"; - case BlendOp::eContrastEXT: return "ContrastEXT"; - case BlendOp::eInvertOvgEXT: return "InvertOvgEXT"; - case BlendOp::eRedEXT: return "RedEXT"; - case BlendOp::eGreenEXT: return "GreenEXT"; - case BlendOp::eBlueEXT: return "BlueEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ColorComponentFlagBits : VkColorComponentFlags - { - eR = VK_COLOR_COMPONENT_R_BIT, - eG = VK_COLOR_COMPONENT_G_BIT, - eB = VK_COLOR_COMPONENT_B_BIT, - eA = VK_COLOR_COMPONENT_A_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( ColorComponentFlagBits value ) - { - switch ( value ) - { - case ColorComponentFlagBits::eR: return "R"; - case ColorComponentFlagBits::eG: return "G"; - case ColorComponentFlagBits::eB: return "B"; - case ColorComponentFlagBits::eA: return "A"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CompareOp - { - eNever = VK_COMPARE_OP_NEVER, - eLess = VK_COMPARE_OP_LESS, - eEqual = VK_COMPARE_OP_EQUAL, - eLessOrEqual = VK_COMPARE_OP_LESS_OR_EQUAL, - eGreater = VK_COMPARE_OP_GREATER, - eNotEqual = VK_COMPARE_OP_NOT_EQUAL, - eGreaterOrEqual = VK_COMPARE_OP_GREATER_OR_EQUAL, - eAlways = VK_COMPARE_OP_ALWAYS - }; - - VULKAN_HPP_INLINE std::string to_string( CompareOp value ) - { - switch ( value ) - { - case CompareOp::eNever: return "Never"; - case CompareOp::eLess: return "Less"; - case CompareOp::eEqual: return "Equal"; - case CompareOp::eLessOrEqual: return "LessOrEqual"; - case CompareOp::eGreater: return "Greater"; - case CompareOp::eNotEqual: return "NotEqual"; - case CompareOp::eGreaterOrEqual: return "GreaterOrEqual"; - case CompareOp::eAlways: return "Always"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CullModeFlagBits : VkCullModeFlags - { - eNone = VK_CULL_MODE_NONE, - eFront = VK_CULL_MODE_FRONT_BIT, - eBack = VK_CULL_MODE_BACK_BIT, - eFrontAndBack = VK_CULL_MODE_FRONT_AND_BACK - }; - - VULKAN_HPP_INLINE std::string to_string( CullModeFlagBits value ) - { - switch ( value ) - { - case CullModeFlagBits::eNone: return "None"; - case CullModeFlagBits::eFront: return "Front"; - case CullModeFlagBits::eBack: return "Back"; - case CullModeFlagBits::eFrontAndBack: return "FrontAndBack"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DynamicState - { - eViewport = VK_DYNAMIC_STATE_VIEWPORT, - eScissor = VK_DYNAMIC_STATE_SCISSOR, - eLineWidth = VK_DYNAMIC_STATE_LINE_WIDTH, - eDepthBias = VK_DYNAMIC_STATE_DEPTH_BIAS, - eBlendConstants = VK_DYNAMIC_STATE_BLEND_CONSTANTS, - eDepthBounds = VK_DYNAMIC_STATE_DEPTH_BOUNDS, - eStencilCompareMask = VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK, - eStencilWriteMask = VK_DYNAMIC_STATE_STENCIL_WRITE_MASK, - eStencilReference = VK_DYNAMIC_STATE_STENCIL_REFERENCE, - eViewportWScalingNV = VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV, - eDiscardRectangleEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT, - eSampleLocationsEXT = VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT, - eRayTracingPipelineStackSizeKHR = VK_DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR, - eViewportShadingRatePaletteNV = VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV, - eViewportCoarseSampleOrderNV = VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV, - eExclusiveScissorNV = VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV, - eFragmentShadingRateKHR = VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR, - eLineStippleEXT = VK_DYNAMIC_STATE_LINE_STIPPLE_EXT, - eCullModeEXT = VK_DYNAMIC_STATE_CULL_MODE_EXT, - eFrontFaceEXT = VK_DYNAMIC_STATE_FRONT_FACE_EXT, - ePrimitiveTopologyEXT = VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT, - eViewportWithCountEXT = VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT, - eScissorWithCountEXT = VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT, - eVertexInputBindingStrideEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT, - eDepthTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT, - eDepthWriteEnableEXT = VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT, - eDepthCompareOpEXT = VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT, - eDepthBoundsTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT, - eStencilTestEnableEXT = VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT, - eStencilOpEXT = VK_DYNAMIC_STATE_STENCIL_OP_EXT, - eVertexInputEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_EXT, - ePatchControlPointsEXT = VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT, - eRasterizerDiscardEnableEXT = VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT, - eDepthBiasEnableEXT = VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT, - eLogicOpEXT = VK_DYNAMIC_STATE_LOGIC_OP_EXT, - ePrimitiveRestartEnableEXT = VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT, - eColorWriteEnableEXT = VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DynamicState value ) - { - switch ( value ) - { - case DynamicState::eViewport: return "Viewport"; - case DynamicState::eScissor: return "Scissor"; - case DynamicState::eLineWidth: return "LineWidth"; - case DynamicState::eDepthBias: return "DepthBias"; - case DynamicState::eBlendConstants: return "BlendConstants"; - case DynamicState::eDepthBounds: return "DepthBounds"; - case DynamicState::eStencilCompareMask: return "StencilCompareMask"; - case DynamicState::eStencilWriteMask: return "StencilWriteMask"; - case DynamicState::eStencilReference: return "StencilReference"; - case DynamicState::eViewportWScalingNV: return "ViewportWScalingNV"; - case DynamicState::eDiscardRectangleEXT: return "DiscardRectangleEXT"; - case DynamicState::eSampleLocationsEXT: return "SampleLocationsEXT"; - case DynamicState::eRayTracingPipelineStackSizeKHR: return "RayTracingPipelineStackSizeKHR"; - case DynamicState::eViewportShadingRatePaletteNV: return "ViewportShadingRatePaletteNV"; - case DynamicState::eViewportCoarseSampleOrderNV: return "ViewportCoarseSampleOrderNV"; - case DynamicState::eExclusiveScissorNV: return "ExclusiveScissorNV"; - case DynamicState::eFragmentShadingRateKHR: return "FragmentShadingRateKHR"; - case DynamicState::eLineStippleEXT: return "LineStippleEXT"; - case DynamicState::eCullModeEXT: return "CullModeEXT"; - case DynamicState::eFrontFaceEXT: return "FrontFaceEXT"; - case DynamicState::ePrimitiveTopologyEXT: return "PrimitiveTopologyEXT"; - case DynamicState::eViewportWithCountEXT: return "ViewportWithCountEXT"; - case DynamicState::eScissorWithCountEXT: return "ScissorWithCountEXT"; - case DynamicState::eVertexInputBindingStrideEXT: return "VertexInputBindingStrideEXT"; - case DynamicState::eDepthTestEnableEXT: return "DepthTestEnableEXT"; - case DynamicState::eDepthWriteEnableEXT: return "DepthWriteEnableEXT"; - case DynamicState::eDepthCompareOpEXT: return "DepthCompareOpEXT"; - case DynamicState::eDepthBoundsTestEnableEXT: return "DepthBoundsTestEnableEXT"; - case DynamicState::eStencilTestEnableEXT: return "StencilTestEnableEXT"; - case DynamicState::eStencilOpEXT: return "StencilOpEXT"; - case DynamicState::eVertexInputEXT: return "VertexInputEXT"; - case DynamicState::ePatchControlPointsEXT: return "PatchControlPointsEXT"; - case DynamicState::eRasterizerDiscardEnableEXT: return "RasterizerDiscardEnableEXT"; - case DynamicState::eDepthBiasEnableEXT: return "DepthBiasEnableEXT"; - case DynamicState::eLogicOpEXT: return "LogicOpEXT"; - case DynamicState::ePrimitiveRestartEnableEXT: return "PrimitiveRestartEnableEXT"; - case DynamicState::eColorWriteEnableEXT: return "ColorWriteEnableEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FrontFace - { - eCounterClockwise = VK_FRONT_FACE_COUNTER_CLOCKWISE, - eClockwise = VK_FRONT_FACE_CLOCKWISE - }; - - VULKAN_HPP_INLINE std::string to_string( FrontFace value ) - { - switch ( value ) - { - case FrontFace::eCounterClockwise: return "CounterClockwise"; - case FrontFace::eClockwise: return "Clockwise"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class LogicOp - { - eClear = VK_LOGIC_OP_CLEAR, - eAnd = VK_LOGIC_OP_AND, - eAndReverse = VK_LOGIC_OP_AND_REVERSE, - eCopy = VK_LOGIC_OP_COPY, - eAndInverted = VK_LOGIC_OP_AND_INVERTED, - eNoOp = VK_LOGIC_OP_NO_OP, - eXor = VK_LOGIC_OP_XOR, - eOr = VK_LOGIC_OP_OR, - eNor = VK_LOGIC_OP_NOR, - eEquivalent = VK_LOGIC_OP_EQUIVALENT, - eInvert = VK_LOGIC_OP_INVERT, - eOrReverse = VK_LOGIC_OP_OR_REVERSE, - eCopyInverted = VK_LOGIC_OP_COPY_INVERTED, - eOrInverted = VK_LOGIC_OP_OR_INVERTED, - eNand = VK_LOGIC_OP_NAND, - eSet = VK_LOGIC_OP_SET - }; - - VULKAN_HPP_INLINE std::string to_string( LogicOp value ) - { - switch ( value ) - { - case LogicOp::eClear: return "Clear"; - case LogicOp::eAnd: return "And"; - case LogicOp::eAndReverse: return "AndReverse"; - case LogicOp::eCopy: return "Copy"; - case LogicOp::eAndInverted: return "AndInverted"; - case LogicOp::eNoOp: return "NoOp"; - case LogicOp::eXor: return "Xor"; - case LogicOp::eOr: return "Or"; - case LogicOp::eNor: return "Nor"; - case LogicOp::eEquivalent: return "Equivalent"; - case LogicOp::eInvert: return "Invert"; - case LogicOp::eOrReverse: return "OrReverse"; - case LogicOp::eCopyInverted: return "CopyInverted"; - case LogicOp::eOrInverted: return "OrInverted"; - case LogicOp::eNand: return "Nand"; - case LogicOp::eSet: return "Set"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PipelineCreateFlagBits : VkPipelineCreateFlags - { - eDisableOptimization = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT, - eAllowDerivatives = VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT, - eDerivative = VK_PIPELINE_CREATE_DERIVATIVE_BIT, - eViewIndexFromDeviceIndex = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT, - eDispatchBase = VK_PIPELINE_CREATE_DISPATCH_BASE_BIT, - eRayTracingNoNullAnyHitShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR, - eRayTracingNoNullClosestHitShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR, - eRayTracingNoNullMissShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR, - eRayTracingNoNullIntersectionShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR, - eRayTracingSkipTrianglesKHR = VK_PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR, - eRayTracingSkipAabbsKHR = VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR, - eRayTracingShaderGroupHandleCaptureReplayKHR = - VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR, - eDeferCompileNV = VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV, - eCaptureStatisticsKHR = VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR, - eCaptureInternalRepresentationsKHR = VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR, - eIndirectBindableNV = VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV, - eLibraryKHR = VK_PIPELINE_CREATE_LIBRARY_BIT_KHR, - eFailOnPipelineCompileRequiredEXT = VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_EXT, - eEarlyReturnOnFailureEXT = VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT_EXT, - eDispatchBaseKHR = VK_PIPELINE_CREATE_DISPATCH_BASE_KHR, - eViewIndexFromDeviceIndexKHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlagBits value ) - { - switch ( value ) - { - case PipelineCreateFlagBits::eDisableOptimization: return "DisableOptimization"; - case PipelineCreateFlagBits::eAllowDerivatives: return "AllowDerivatives"; - case PipelineCreateFlagBits::eDerivative: return "Derivative"; - case PipelineCreateFlagBits::eViewIndexFromDeviceIndex: return "ViewIndexFromDeviceIndex"; - case PipelineCreateFlagBits::eDispatchBase: return "DispatchBase"; - case PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR: return "RayTracingNoNullAnyHitShadersKHR"; - case PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR: return "RayTracingNoNullClosestHitShadersKHR"; - case PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR: return "RayTracingNoNullMissShadersKHR"; - case PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR: - return "RayTracingNoNullIntersectionShadersKHR"; - case PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR: return "RayTracingSkipTrianglesKHR"; - case PipelineCreateFlagBits::eRayTracingSkipAabbsKHR: return "RayTracingSkipAabbsKHR"; - case PipelineCreateFlagBits::eRayTracingShaderGroupHandleCaptureReplayKHR: - return "RayTracingShaderGroupHandleCaptureReplayKHR"; - case PipelineCreateFlagBits::eDeferCompileNV: return "DeferCompileNV"; - case PipelineCreateFlagBits::eCaptureStatisticsKHR: return "CaptureStatisticsKHR"; - case PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR: return "CaptureInternalRepresentationsKHR"; - case PipelineCreateFlagBits::eIndirectBindableNV: return "IndirectBindableNV"; - case PipelineCreateFlagBits::eLibraryKHR: return "LibraryKHR"; - case PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT: return "FailOnPipelineCompileRequiredEXT"; - case PipelineCreateFlagBits::eEarlyReturnOnFailureEXT: return "EarlyReturnOnFailureEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PipelineShaderStageCreateFlagBits : VkPipelineShaderStageCreateFlags - { - eAllowVaryingSubgroupSizeEXT = VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT, - eRequireFullSubgroupsEXT = VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlagBits value ) - { - switch ( value ) - { - case PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT: return "AllowVaryingSubgroupSizeEXT"; - case PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT: return "RequireFullSubgroupsEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PolygonMode - { - eFill = VK_POLYGON_MODE_FILL, - eLine = VK_POLYGON_MODE_LINE, - ePoint = VK_POLYGON_MODE_POINT, - eFillRectangleNV = VK_POLYGON_MODE_FILL_RECTANGLE_NV - }; - - VULKAN_HPP_INLINE std::string to_string( PolygonMode value ) - { - switch ( value ) - { - case PolygonMode::eFill: return "Fill"; - case PolygonMode::eLine: return "Line"; - case PolygonMode::ePoint: return "Point"; - case PolygonMode::eFillRectangleNV: return "FillRectangleNV"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PrimitiveTopology - { - ePointList = VK_PRIMITIVE_TOPOLOGY_POINT_LIST, - eLineList = VK_PRIMITIVE_TOPOLOGY_LINE_LIST, - eLineStrip = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, - eTriangleList = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, - eTriangleStrip = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, - eTriangleFan = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, - eLineListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, - eLineStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, - eTriangleListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, - eTriangleStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, - ePatchList = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST - }; - - VULKAN_HPP_INLINE std::string to_string( PrimitiveTopology value ) - { - switch ( value ) - { - case PrimitiveTopology::ePointList: return "PointList"; - case PrimitiveTopology::eLineList: return "LineList"; - case PrimitiveTopology::eLineStrip: return "LineStrip"; - case PrimitiveTopology::eTriangleList: return "TriangleList"; - case PrimitiveTopology::eTriangleStrip: return "TriangleStrip"; - case PrimitiveTopology::eTriangleFan: return "TriangleFan"; - case PrimitiveTopology::eLineListWithAdjacency: return "LineListWithAdjacency"; - case PrimitiveTopology::eLineStripWithAdjacency: return "LineStripWithAdjacency"; - case PrimitiveTopology::eTriangleListWithAdjacency: return "TriangleListWithAdjacency"; - case PrimitiveTopology::eTriangleStripWithAdjacency: return "TriangleStripWithAdjacency"; - case PrimitiveTopology::ePatchList: return "PatchList"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ShaderStageFlagBits : VkShaderStageFlags - { - eVertex = VK_SHADER_STAGE_VERTEX_BIT, - eTessellationControl = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, - eTessellationEvaluation = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, - eGeometry = VK_SHADER_STAGE_GEOMETRY_BIT, - eFragment = VK_SHADER_STAGE_FRAGMENT_BIT, - eCompute = VK_SHADER_STAGE_COMPUTE_BIT, - eAllGraphics = VK_SHADER_STAGE_ALL_GRAPHICS, - eAll = VK_SHADER_STAGE_ALL, - eRaygenKHR = VK_SHADER_STAGE_RAYGEN_BIT_KHR, - eAnyHitKHR = VK_SHADER_STAGE_ANY_HIT_BIT_KHR, - eClosestHitKHR = VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, - eMissKHR = VK_SHADER_STAGE_MISS_BIT_KHR, - eIntersectionKHR = VK_SHADER_STAGE_INTERSECTION_BIT_KHR, - eCallableKHR = VK_SHADER_STAGE_CALLABLE_BIT_KHR, - eTaskNV = VK_SHADER_STAGE_TASK_BIT_NV, - eMeshNV = VK_SHADER_STAGE_MESH_BIT_NV, - eAnyHitNV = VK_SHADER_STAGE_ANY_HIT_BIT_NV, - eCallableNV = VK_SHADER_STAGE_CALLABLE_BIT_NV, - eClosestHitNV = VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV, - eIntersectionNV = VK_SHADER_STAGE_INTERSECTION_BIT_NV, - eMissNV = VK_SHADER_STAGE_MISS_BIT_NV, - eRaygenNV = VK_SHADER_STAGE_RAYGEN_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ShaderStageFlagBits value ) - { - switch ( value ) - { - case ShaderStageFlagBits::eVertex: return "Vertex"; - case ShaderStageFlagBits::eTessellationControl: return "TessellationControl"; - case ShaderStageFlagBits::eTessellationEvaluation: return "TessellationEvaluation"; - case ShaderStageFlagBits::eGeometry: return "Geometry"; - case ShaderStageFlagBits::eFragment: return "Fragment"; - case ShaderStageFlagBits::eCompute: return "Compute"; - case ShaderStageFlagBits::eAllGraphics: return "AllGraphics"; - case ShaderStageFlagBits::eAll: return "All"; - case ShaderStageFlagBits::eRaygenKHR: return "RaygenKHR"; - case ShaderStageFlagBits::eAnyHitKHR: return "AnyHitKHR"; - case ShaderStageFlagBits::eClosestHitKHR: return "ClosestHitKHR"; - case ShaderStageFlagBits::eMissKHR: return "MissKHR"; - case ShaderStageFlagBits::eIntersectionKHR: return "IntersectionKHR"; - case ShaderStageFlagBits::eCallableKHR: return "CallableKHR"; - case ShaderStageFlagBits::eTaskNV: return "TaskNV"; - case ShaderStageFlagBits::eMeshNV: return "MeshNV"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class StencilOp - { - eKeep = VK_STENCIL_OP_KEEP, - eZero = VK_STENCIL_OP_ZERO, - eReplace = VK_STENCIL_OP_REPLACE, - eIncrementAndClamp = VK_STENCIL_OP_INCREMENT_AND_CLAMP, - eDecrementAndClamp = VK_STENCIL_OP_DECREMENT_AND_CLAMP, - eInvert = VK_STENCIL_OP_INVERT, - eIncrementAndWrap = VK_STENCIL_OP_INCREMENT_AND_WRAP, - eDecrementAndWrap = VK_STENCIL_OP_DECREMENT_AND_WRAP - }; - - VULKAN_HPP_INLINE std::string to_string( StencilOp value ) - { - switch ( value ) - { - case StencilOp::eKeep: return "Keep"; - case StencilOp::eZero: return "Zero"; - case StencilOp::eReplace: return "Replace"; - case StencilOp::eIncrementAndClamp: return "IncrementAndClamp"; - case StencilOp::eDecrementAndClamp: return "DecrementAndClamp"; - case StencilOp::eInvert: return "Invert"; - case StencilOp::eIncrementAndWrap: return "IncrementAndWrap"; - case StencilOp::eDecrementAndWrap: return "DecrementAndWrap"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VertexInputRate - { - eVertex = VK_VERTEX_INPUT_RATE_VERTEX, - eInstance = VK_VERTEX_INPUT_RATE_INSTANCE - }; - - VULKAN_HPP_INLINE std::string to_string( VertexInputRate value ) - { - switch ( value ) - { - case VertexInputRate::eVertex: return "Vertex"; - case VertexInputRate::eInstance: return "Instance"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BorderColor - { - eFloatTransparentBlack = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK, - eIntTransparentBlack = VK_BORDER_COLOR_INT_TRANSPARENT_BLACK, - eFloatOpaqueBlack = VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK, - eIntOpaqueBlack = VK_BORDER_COLOR_INT_OPAQUE_BLACK, - eFloatOpaqueWhite = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE, - eIntOpaqueWhite = VK_BORDER_COLOR_INT_OPAQUE_WHITE, - eFloatCustomEXT = VK_BORDER_COLOR_FLOAT_CUSTOM_EXT, - eIntCustomEXT = VK_BORDER_COLOR_INT_CUSTOM_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( BorderColor value ) - { - switch ( value ) - { - case BorderColor::eFloatTransparentBlack: return "FloatTransparentBlack"; - case BorderColor::eIntTransparentBlack: return "IntTransparentBlack"; - case BorderColor::eFloatOpaqueBlack: return "FloatOpaqueBlack"; - case BorderColor::eIntOpaqueBlack: return "IntOpaqueBlack"; - case BorderColor::eFloatOpaqueWhite: return "FloatOpaqueWhite"; - case BorderColor::eIntOpaqueWhite: return "IntOpaqueWhite"; - case BorderColor::eFloatCustomEXT: return "FloatCustomEXT"; - case BorderColor::eIntCustomEXT: return "IntCustomEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class Filter - { - eNearest = VK_FILTER_NEAREST, - eLinear = VK_FILTER_LINEAR, - eCubicIMG = VK_FILTER_CUBIC_IMG, - eCubicEXT = VK_FILTER_CUBIC_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( Filter value ) - { - switch ( value ) - { - case Filter::eNearest: return "Nearest"; - case Filter::eLinear: return "Linear"; - case Filter::eCubicIMG: return "CubicIMG"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerAddressMode - { - eRepeat = VK_SAMPLER_ADDRESS_MODE_REPEAT, - eMirroredRepeat = VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, - eClampToEdge = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, - eClampToBorder = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, - eMirrorClampToEdge = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE, - eMirrorClampToEdgeKHR = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( SamplerAddressMode value ) - { - switch ( value ) - { - case SamplerAddressMode::eRepeat: return "Repeat"; - case SamplerAddressMode::eMirroredRepeat: return "MirroredRepeat"; - case SamplerAddressMode::eClampToEdge: return "ClampToEdge"; - case SamplerAddressMode::eClampToBorder: return "ClampToBorder"; - case SamplerAddressMode::eMirrorClampToEdge: return "MirrorClampToEdge"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerCreateFlagBits : VkSamplerCreateFlags - { - eSubsampledEXT = VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT, - eSubsampledCoarseReconstructionEXT = VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlagBits value ) - { - switch ( value ) - { - case SamplerCreateFlagBits::eSubsampledEXT: return "SubsampledEXT"; - case SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT: return "SubsampledCoarseReconstructionEXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerMipmapMode - { - eNearest = VK_SAMPLER_MIPMAP_MODE_NEAREST, - eLinear = VK_SAMPLER_MIPMAP_MODE_LINEAR - }; - - VULKAN_HPP_INLINE std::string to_string( SamplerMipmapMode value ) - { - switch ( value ) - { - case SamplerMipmapMode::eNearest: return "Nearest"; - case SamplerMipmapMode::eLinear: return "Linear"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DescriptorPoolCreateFlagBits : VkDescriptorPoolCreateFlags - { - eFreeDescriptorSet = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, - eUpdateAfterBind = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT, - eHostOnlyVALVE = VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE, - eUpdateAfterBindEXT = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlagBits value ) - { - switch ( value ) - { - case DescriptorPoolCreateFlagBits::eFreeDescriptorSet: return "FreeDescriptorSet"; - case DescriptorPoolCreateFlagBits::eUpdateAfterBind: return "UpdateAfterBind"; - case DescriptorPoolCreateFlagBits::eHostOnlyVALVE: return "HostOnlyVALVE"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DescriptorSetLayoutCreateFlagBits : VkDescriptorSetLayoutCreateFlags - { - eUpdateAfterBindPool = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, - ePushDescriptorKHR = VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, - eHostOnlyPoolVALVE = VK_DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE, - eUpdateAfterBindPoolEXT = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlagBits value ) - { - switch ( value ) - { - case DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool: return "UpdateAfterBindPool"; - case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR: return "PushDescriptorKHR"; - case DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolVALVE: return "HostOnlyPoolVALVE"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DescriptorType - { - eSampler = VK_DESCRIPTOR_TYPE_SAMPLER, - eCombinedImageSampler = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, - eSampledImage = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, - eStorageImage = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, - eUniformTexelBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, - eStorageTexelBuffer = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, - eUniformBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, - eStorageBuffer = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, - eUniformBufferDynamic = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, - eStorageBufferDynamic = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, - eInputAttachment = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, - eInlineUniformBlockEXT = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT, - eAccelerationStructureKHR = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, - eAccelerationStructureNV = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV, - eMutableVALVE = VK_DESCRIPTOR_TYPE_MUTABLE_VALVE - }; - - VULKAN_HPP_INLINE std::string to_string( DescriptorType value ) - { - switch ( value ) - { - case DescriptorType::eSampler: return "Sampler"; - case DescriptorType::eCombinedImageSampler: return "CombinedImageSampler"; - case DescriptorType::eSampledImage: return "SampledImage"; - case DescriptorType::eStorageImage: return "StorageImage"; - case DescriptorType::eUniformTexelBuffer: return "UniformTexelBuffer"; - case DescriptorType::eStorageTexelBuffer: return "StorageTexelBuffer"; - case DescriptorType::eUniformBuffer: return "UniformBuffer"; - case DescriptorType::eStorageBuffer: return "StorageBuffer"; - case DescriptorType::eUniformBufferDynamic: return "UniformBufferDynamic"; - case DescriptorType::eStorageBufferDynamic: return "StorageBufferDynamic"; - case DescriptorType::eInputAttachment: return "InputAttachment"; - case DescriptorType::eInlineUniformBlockEXT: return "InlineUniformBlockEXT"; - case DescriptorType::eAccelerationStructureKHR: return "AccelerationStructureKHR"; - case DescriptorType::eAccelerationStructureNV: return "AccelerationStructureNV"; - case DescriptorType::eMutableVALVE: return "MutableVALVE"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AccessFlagBits : VkAccessFlags - { - eIndirectCommandRead = VK_ACCESS_INDIRECT_COMMAND_READ_BIT, - eIndexRead = VK_ACCESS_INDEX_READ_BIT, - eVertexAttributeRead = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, - eUniformRead = VK_ACCESS_UNIFORM_READ_BIT, - eInputAttachmentRead = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, - eShaderRead = VK_ACCESS_SHADER_READ_BIT, - eShaderWrite = VK_ACCESS_SHADER_WRITE_BIT, - eColorAttachmentRead = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, - eColorAttachmentWrite = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, - eDepthStencilAttachmentRead = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, - eDepthStencilAttachmentWrite = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, - eTransferRead = VK_ACCESS_TRANSFER_READ_BIT, - eTransferWrite = VK_ACCESS_TRANSFER_WRITE_BIT, - eHostRead = VK_ACCESS_HOST_READ_BIT, - eHostWrite = VK_ACCESS_HOST_WRITE_BIT, - eMemoryRead = VK_ACCESS_MEMORY_READ_BIT, - eMemoryWrite = VK_ACCESS_MEMORY_WRITE_BIT, - eTransformFeedbackWriteEXT = VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, - eTransformFeedbackCounterReadEXT = VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, - eTransformFeedbackCounterWriteEXT = VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, - eConditionalRenderingReadEXT = VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT, - eColorAttachmentReadNoncoherentEXT = VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, - eAccelerationStructureReadKHR = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR, - eAccelerationStructureWriteKHR = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, - eShadingRateImageReadNV = VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV, - eFragmentDensityMapReadEXT = VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, - eCommandPreprocessReadNV = VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV, - eCommandPreprocessWriteNV = VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV, - eNoneKHR = VK_ACCESS_NONE_KHR, - eAccelerationStructureReadNV = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV, - eAccelerationStructureWriteNV = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV, - eFragmentShadingRateAttachmentReadKHR = VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( AccessFlagBits value ) - { - switch ( value ) - { - case AccessFlagBits::eIndirectCommandRead: return "IndirectCommandRead"; - case AccessFlagBits::eIndexRead: return "IndexRead"; - case AccessFlagBits::eVertexAttributeRead: return "VertexAttributeRead"; - case AccessFlagBits::eUniformRead: return "UniformRead"; - case AccessFlagBits::eInputAttachmentRead: return "InputAttachmentRead"; - case AccessFlagBits::eShaderRead: return "ShaderRead"; - case AccessFlagBits::eShaderWrite: return "ShaderWrite"; - case AccessFlagBits::eColorAttachmentRead: return "ColorAttachmentRead"; - case AccessFlagBits::eColorAttachmentWrite: return "ColorAttachmentWrite"; - case AccessFlagBits::eDepthStencilAttachmentRead: return "DepthStencilAttachmentRead"; - case AccessFlagBits::eDepthStencilAttachmentWrite: return "DepthStencilAttachmentWrite"; - case AccessFlagBits::eTransferRead: return "TransferRead"; - case AccessFlagBits::eTransferWrite: return "TransferWrite"; - case AccessFlagBits::eHostRead: return "HostRead"; - case AccessFlagBits::eHostWrite: return "HostWrite"; - case AccessFlagBits::eMemoryRead: return "MemoryRead"; - case AccessFlagBits::eMemoryWrite: return "MemoryWrite"; - case AccessFlagBits::eTransformFeedbackWriteEXT: return "TransformFeedbackWriteEXT"; - case AccessFlagBits::eTransformFeedbackCounterReadEXT: return "TransformFeedbackCounterReadEXT"; - case AccessFlagBits::eTransformFeedbackCounterWriteEXT: return "TransformFeedbackCounterWriteEXT"; - case AccessFlagBits::eConditionalRenderingReadEXT: return "ConditionalRenderingReadEXT"; - case AccessFlagBits::eColorAttachmentReadNoncoherentEXT: return "ColorAttachmentReadNoncoherentEXT"; - case AccessFlagBits::eAccelerationStructureReadKHR: return "AccelerationStructureReadKHR"; - case AccessFlagBits::eAccelerationStructureWriteKHR: return "AccelerationStructureWriteKHR"; - case AccessFlagBits::eShadingRateImageReadNV: return "ShadingRateImageReadNV"; - case AccessFlagBits::eFragmentDensityMapReadEXT: return "FragmentDensityMapReadEXT"; - case AccessFlagBits::eCommandPreprocessReadNV: return "CommandPreprocessReadNV"; - case AccessFlagBits::eCommandPreprocessWriteNV: return "CommandPreprocessWriteNV"; - case AccessFlagBits::eNoneKHR: return "NoneKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AttachmentDescriptionFlagBits : VkAttachmentDescriptionFlags - { - eMayAlias = VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlagBits value ) - { - switch ( value ) - { - case AttachmentDescriptionFlagBits::eMayAlias: return "MayAlias"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AttachmentLoadOp - { - eLoad = VK_ATTACHMENT_LOAD_OP_LOAD, - eClear = VK_ATTACHMENT_LOAD_OP_CLEAR, - eDontCare = VK_ATTACHMENT_LOAD_OP_DONT_CARE - }; - - VULKAN_HPP_INLINE std::string to_string( AttachmentLoadOp value ) - { - switch ( value ) - { - case AttachmentLoadOp::eLoad: return "Load"; - case AttachmentLoadOp::eClear: return "Clear"; - case AttachmentLoadOp::eDontCare: return "DontCare"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AttachmentStoreOp - { - eStore = VK_ATTACHMENT_STORE_OP_STORE, - eDontCare = VK_ATTACHMENT_STORE_OP_DONT_CARE, - eNoneQCOM = VK_ATTACHMENT_STORE_OP_NONE_QCOM - }; - - VULKAN_HPP_INLINE std::string to_string( AttachmentStoreOp value ) - { - switch ( value ) - { - case AttachmentStoreOp::eStore: return "Store"; - case AttachmentStoreOp::eDontCare: return "DontCare"; - case AttachmentStoreOp::eNoneQCOM: return "NoneQCOM"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DependencyFlagBits : VkDependencyFlags - { - eByRegion = VK_DEPENDENCY_BY_REGION_BIT, - eDeviceGroup = VK_DEPENDENCY_DEVICE_GROUP_BIT, - eViewLocal = VK_DEPENDENCY_VIEW_LOCAL_BIT, - eDeviceGroupKHR = VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR, - eViewLocalKHR = VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( DependencyFlagBits value ) - { - switch ( value ) - { - case DependencyFlagBits::eByRegion: return "ByRegion"; - case DependencyFlagBits::eDeviceGroup: return "DeviceGroup"; - case DependencyFlagBits::eViewLocal: return "ViewLocal"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FramebufferCreateFlagBits : VkFramebufferCreateFlags - { - eImageless = VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, - eImagelessKHR = VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlagBits value ) - { - switch ( value ) - { - case FramebufferCreateFlagBits::eImageless: return "Imageless"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PipelineBindPoint - { - eGraphics = VK_PIPELINE_BIND_POINT_GRAPHICS, - eCompute = VK_PIPELINE_BIND_POINT_COMPUTE, - eRayTracingKHR = VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR, - eRayTracingNV = VK_PIPELINE_BIND_POINT_RAY_TRACING_NV - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineBindPoint value ) - { - switch ( value ) - { - case PipelineBindPoint::eGraphics: return "Graphics"; - case PipelineBindPoint::eCompute: return "Compute"; - case PipelineBindPoint::eRayTracingKHR: return "RayTracingKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class RenderPassCreateFlagBits : VkRenderPassCreateFlags - { - eTransformQCOM = VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM - }; - - VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlagBits value ) - { - switch ( value ) - { - case RenderPassCreateFlagBits::eTransformQCOM: return "TransformQCOM"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SubpassDescriptionFlagBits : VkSubpassDescriptionFlags - { - ePerViewAttributesNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX, - ePerViewPositionXOnlyNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX, - eFragmentRegionQCOM = VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM, - eShaderResolveQCOM = VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM - }; - - VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlagBits value ) - { - switch ( value ) - { - case SubpassDescriptionFlagBits::ePerViewAttributesNVX: return "PerViewAttributesNVX"; - case SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX: return "PerViewPositionXOnlyNVX"; - case SubpassDescriptionFlagBits::eFragmentRegionQCOM: return "FragmentRegionQCOM"; - case SubpassDescriptionFlagBits::eShaderResolveQCOM: return "ShaderResolveQCOM"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CommandPoolCreateFlagBits : VkCommandPoolCreateFlags - { - eTransient = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, - eResetCommandBuffer = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, - eProtected = VK_COMMAND_POOL_CREATE_PROTECTED_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlagBits value ) - { - switch ( value ) - { - case CommandPoolCreateFlagBits::eTransient: return "Transient"; - case CommandPoolCreateFlagBits::eResetCommandBuffer: return "ResetCommandBuffer"; - case CommandPoolCreateFlagBits::eProtected: return "Protected"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CommandPoolResetFlagBits : VkCommandPoolResetFlags - { - eReleaseResources = VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlagBits value ) - { - switch ( value ) - { - case CommandPoolResetFlagBits::eReleaseResources: return "ReleaseResources"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CommandBufferLevel - { - ePrimary = VK_COMMAND_BUFFER_LEVEL_PRIMARY, - eSecondary = VK_COMMAND_BUFFER_LEVEL_SECONDARY - }; - - VULKAN_HPP_INLINE std::string to_string( CommandBufferLevel value ) - { - switch ( value ) - { - case CommandBufferLevel::ePrimary: return "Primary"; - case CommandBufferLevel::eSecondary: return "Secondary"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CommandBufferResetFlagBits : VkCommandBufferResetFlags - { - eReleaseResources = VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlagBits value ) - { - switch ( value ) - { - case CommandBufferResetFlagBits::eReleaseResources: return "ReleaseResources"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CommandBufferUsageFlagBits : VkCommandBufferUsageFlags - { - eOneTimeSubmit = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT, - eRenderPassContinue = VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT, - eSimultaneousUse = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlagBits value ) - { - switch ( value ) - { - case CommandBufferUsageFlagBits::eOneTimeSubmit: return "OneTimeSubmit"; - case CommandBufferUsageFlagBits::eRenderPassContinue: return "RenderPassContinue"; - case CommandBufferUsageFlagBits::eSimultaneousUse: return "SimultaneousUse"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryControlFlagBits : VkQueryControlFlags - { - ePrecise = VK_QUERY_CONTROL_PRECISE_BIT - }; - - VULKAN_HPP_INLINE std::string to_string( QueryControlFlagBits value ) - { - switch ( value ) - { - case QueryControlFlagBits::ePrecise: return "Precise"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class IndexType - { - eUint16 = VK_INDEX_TYPE_UINT16, - eUint32 = VK_INDEX_TYPE_UINT32, - eNoneKHR = VK_INDEX_TYPE_NONE_KHR, - eUint8EXT = VK_INDEX_TYPE_UINT8_EXT, - eNoneNV = VK_INDEX_TYPE_NONE_NV - }; - - VULKAN_HPP_INLINE std::string to_string( IndexType value ) - { - switch ( value ) - { - case IndexType::eUint16: return "Uint16"; - case IndexType::eUint32: return "Uint32"; - case IndexType::eNoneKHR: return "NoneKHR"; - case IndexType::eUint8EXT: return "Uint8EXT"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class StencilFaceFlagBits : VkStencilFaceFlags - { - eFront = VK_STENCIL_FACE_FRONT_BIT, - eBack = VK_STENCIL_FACE_BACK_BIT, - eFrontAndBack = VK_STENCIL_FACE_FRONT_AND_BACK, - eVkStencilFrontAndBack = VK_STENCIL_FRONT_AND_BACK - }; - - VULKAN_HPP_INLINE std::string to_string( StencilFaceFlagBits value ) - { - switch ( value ) - { - case StencilFaceFlagBits::eFront: return "Front"; - case StencilFaceFlagBits::eBack: return "Back"; - case StencilFaceFlagBits::eFrontAndBack: return "FrontAndBack"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SubpassContents - { - eInline = VK_SUBPASS_CONTENTS_INLINE, - eSecondaryCommandBuffers = VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS - }; - - VULKAN_HPP_INLINE std::string to_string( SubpassContents value ) - { - switch ( value ) - { - case SubpassContents::eInline: return "Inline"; - case SubpassContents::eSecondaryCommandBuffers: return "SecondaryCommandBuffers"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_VERSION_1_1 === - - enum class SubgroupFeatureFlagBits : VkSubgroupFeatureFlags - { - eBasic = VK_SUBGROUP_FEATURE_BASIC_BIT, - eVote = VK_SUBGROUP_FEATURE_VOTE_BIT, - eArithmetic = VK_SUBGROUP_FEATURE_ARITHMETIC_BIT, - eBallot = VK_SUBGROUP_FEATURE_BALLOT_BIT, - eShuffle = VK_SUBGROUP_FEATURE_SHUFFLE_BIT, - eShuffleRelative = VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT, - eClustered = VK_SUBGROUP_FEATURE_CLUSTERED_BIT, - eQuad = VK_SUBGROUP_FEATURE_QUAD_BIT, - ePartitionedNV = VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlagBits value ) - { - switch ( value ) - { - case SubgroupFeatureFlagBits::eBasic: return "Basic"; - case SubgroupFeatureFlagBits::eVote: return "Vote"; - case SubgroupFeatureFlagBits::eArithmetic: return "Arithmetic"; - case SubgroupFeatureFlagBits::eBallot: return "Ballot"; - case SubgroupFeatureFlagBits::eShuffle: return "Shuffle"; - case SubgroupFeatureFlagBits::eShuffleRelative: return "ShuffleRelative"; - case SubgroupFeatureFlagBits::eClustered: return "Clustered"; - case SubgroupFeatureFlagBits::eQuad: return "Quad"; - case SubgroupFeatureFlagBits::ePartitionedNV: return "PartitionedNV"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PeerMemoryFeatureFlagBits : VkPeerMemoryFeatureFlags - { - eCopySrc = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT, - eCopyDst = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT, - eGenericSrc = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT, - eGenericDst = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT - }; - using PeerMemoryFeatureFlagBitsKHR = PeerMemoryFeatureFlagBits; - - VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlagBits value ) - { - switch ( value ) - { - case PeerMemoryFeatureFlagBits::eCopySrc: return "CopySrc"; - case PeerMemoryFeatureFlagBits::eCopyDst: return "CopyDst"; - case PeerMemoryFeatureFlagBits::eGenericSrc: return "GenericSrc"; - case PeerMemoryFeatureFlagBits::eGenericDst: return "GenericDst"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class MemoryAllocateFlagBits : VkMemoryAllocateFlags - { - eDeviceMask = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT, - eDeviceAddress = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT, - eDeviceAddressCaptureReplay = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT - }; - using MemoryAllocateFlagBitsKHR = MemoryAllocateFlagBits; - - VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlagBits value ) - { - switch ( value ) - { - case MemoryAllocateFlagBits::eDeviceMask: return "DeviceMask"; - case MemoryAllocateFlagBits::eDeviceAddress: return "DeviceAddress"; - case MemoryAllocateFlagBits::eDeviceAddressCaptureReplay: return "DeviceAddressCaptureReplay"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PointClippingBehavior - { - eAllClipPlanes = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES, - eUserClipPlanesOnly = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY - }; - using PointClippingBehaviorKHR = PointClippingBehavior; - - VULKAN_HPP_INLINE std::string to_string( PointClippingBehavior value ) - { - switch ( value ) - { - case PointClippingBehavior::eAllClipPlanes: return "AllClipPlanes"; - case PointClippingBehavior::eUserClipPlanesOnly: return "UserClipPlanesOnly"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class TessellationDomainOrigin - { - eUpperLeft = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT, - eLowerLeft = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT - }; - using TessellationDomainOriginKHR = TessellationDomainOrigin; - - VULKAN_HPP_INLINE std::string to_string( TessellationDomainOrigin value ) - { - switch ( value ) - { - case TessellationDomainOrigin::eUpperLeft: return "UpperLeft"; - case TessellationDomainOrigin::eLowerLeft: return "LowerLeft"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerYcbcrModelConversion - { - eRgbIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, - eYcbcrIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY, - eYcbcr709 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709, - eYcbcr601 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601, - eYcbcr2020 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 - }; - using SamplerYcbcrModelConversionKHR = SamplerYcbcrModelConversion; - - VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrModelConversion value ) - { - switch ( value ) - { - case SamplerYcbcrModelConversion::eRgbIdentity: return "RgbIdentity"; - case SamplerYcbcrModelConversion::eYcbcrIdentity: return "YcbcrIdentity"; - case SamplerYcbcrModelConversion::eYcbcr709: return "Ycbcr709"; - case SamplerYcbcrModelConversion::eYcbcr601: return "Ycbcr601"; - case SamplerYcbcrModelConversion::eYcbcr2020: return "Ycbcr2020"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerYcbcrRange - { - eItuFull = VK_SAMPLER_YCBCR_RANGE_ITU_FULL, - eItuNarrow = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW - }; - using SamplerYcbcrRangeKHR = SamplerYcbcrRange; - - VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrRange value ) - { - switch ( value ) - { - case SamplerYcbcrRange::eItuFull: return "ItuFull"; - case SamplerYcbcrRange::eItuNarrow: return "ItuNarrow"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ChromaLocation - { - eCositedEven = VK_CHROMA_LOCATION_COSITED_EVEN, - eMidpoint = VK_CHROMA_LOCATION_MIDPOINT - }; - using ChromaLocationKHR = ChromaLocation; - - VULKAN_HPP_INLINE std::string to_string( ChromaLocation value ) - { - switch ( value ) - { - case ChromaLocation::eCositedEven: return "CositedEven"; - case ChromaLocation::eMidpoint: return "Midpoint"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DescriptorUpdateTemplateType - { - eDescriptorSet = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET, - ePushDescriptorsKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR - }; - using DescriptorUpdateTemplateTypeKHR = DescriptorUpdateTemplateType; - - VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateType value ) - { - switch ( value ) - { - case DescriptorUpdateTemplateType::eDescriptorSet: return "DescriptorSet"; - case DescriptorUpdateTemplateType::ePushDescriptorsKHR: return "PushDescriptorsKHR"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalMemoryHandleTypeFlagBits : VkExternalMemoryHandleTypeFlags - { - eOpaqueFd = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, - eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, - eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, - eD3D11Texture = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT, - eD3D11TextureKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT, - eD3D12Heap = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT, - eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT, - eDmaBufEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT, -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - eAndroidHardwareBufferANDROID = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID, -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT, - eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT, -#if defined( VK_USE_PLATFORM_FUCHSIA ) - eZirconVmoFUCHSIA = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - }; - using ExternalMemoryHandleTypeFlagBitsKHR = ExternalMemoryHandleTypeFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBits value ) - { - switch ( value ) - { - case ExternalMemoryHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd"; - case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32"; - case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt"; - case ExternalMemoryHandleTypeFlagBits::eD3D11Texture: return "D3D11Texture"; - case ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt: return "D3D11TextureKmt"; - case ExternalMemoryHandleTypeFlagBits::eD3D12Heap: return "D3D12Heap"; - case ExternalMemoryHandleTypeFlagBits::eD3D12Resource: return "D3D12Resource"; - case ExternalMemoryHandleTypeFlagBits::eDmaBufEXT: return "DmaBufEXT"; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - case ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID: return "AndroidHardwareBufferANDROID"; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - case ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT: return "HostAllocationEXT"; - case ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT: return "HostMappedForeignMemoryEXT"; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - case ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA: return "ZirconVmoFUCHSIA"; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalMemoryFeatureFlagBits : VkExternalMemoryFeatureFlags - { - eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT, - eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT, - eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT - }; - using ExternalMemoryFeatureFlagBitsKHR = ExternalMemoryFeatureFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBits value ) - { - switch ( value ) - { - case ExternalMemoryFeatureFlagBits::eDedicatedOnly: return "DedicatedOnly"; - case ExternalMemoryFeatureFlagBits::eExportable: return "Exportable"; - case ExternalMemoryFeatureFlagBits::eImportable: return "Importable"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalFenceHandleTypeFlagBits : VkExternalFenceHandleTypeFlags - { - eOpaqueFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT, - eOpaqueWin32 = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT, - eOpaqueWin32Kmt = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, - eSyncFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT - }; - using ExternalFenceHandleTypeFlagBitsKHR = ExternalFenceHandleTypeFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlagBits value ) - { - switch ( value ) - { - case ExternalFenceHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd"; - case ExternalFenceHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32"; - case ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt"; - case ExternalFenceHandleTypeFlagBits::eSyncFd: return "SyncFd"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalFenceFeatureFlagBits : VkExternalFenceFeatureFlags - { - eExportable = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT, - eImportable = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT - }; - using ExternalFenceFeatureFlagBitsKHR = ExternalFenceFeatureFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlagBits value ) - { - switch ( value ) - { - case ExternalFenceFeatureFlagBits::eExportable: return "Exportable"; - case ExternalFenceFeatureFlagBits::eImportable: return "Importable"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FenceImportFlagBits : VkFenceImportFlags - { - eTemporary = VK_FENCE_IMPORT_TEMPORARY_BIT - }; - using FenceImportFlagBitsKHR = FenceImportFlagBits; - - VULKAN_HPP_INLINE std::string to_string( FenceImportFlagBits value ) - { - switch ( value ) - { - case FenceImportFlagBits::eTemporary: return "Temporary"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SemaphoreImportFlagBits : VkSemaphoreImportFlags - { - eTemporary = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT - }; - using SemaphoreImportFlagBitsKHR = SemaphoreImportFlagBits; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlagBits value ) - { - switch ( value ) - { - case SemaphoreImportFlagBits::eTemporary: return "Temporary"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalSemaphoreHandleTypeFlagBits : VkExternalSemaphoreHandleTypeFlags - { - eOpaqueFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT, - eOpaqueWin32 = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT, - eOpaqueWin32Kmt = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, - eD3D12Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, - eSyncFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, -#if defined( VK_USE_PLATFORM_FUCHSIA ) - eZirconEventFUCHSIA = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA, -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - eD3D11Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT - }; - using ExternalSemaphoreHandleTypeFlagBitsKHR = ExternalSemaphoreHandleTypeFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlagBits value ) - { - switch ( value ) - { - case ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd"; - case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32"; - case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt"; - case ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence: return "D3D12Fence"; - case ExternalSemaphoreHandleTypeFlagBits::eSyncFd: return "SyncFd"; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - case ExternalSemaphoreHandleTypeFlagBits::eZirconEventFUCHSIA: return "ZirconEventFUCHSIA"; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalSemaphoreFeatureFlagBits : VkExternalSemaphoreFeatureFlags - { - eExportable = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT, - eImportable = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT - }; - using ExternalSemaphoreFeatureFlagBitsKHR = ExternalSemaphoreFeatureFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlagBits value ) - { - switch ( value ) - { - case ExternalSemaphoreFeatureFlagBits::eExportable: return "Exportable"; - case ExternalSemaphoreFeatureFlagBits::eImportable: return "Importable"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_VERSION_1_2 === - - enum class DriverId - { - eAmdProprietary = VK_DRIVER_ID_AMD_PROPRIETARY, - eAmdOpenSource = VK_DRIVER_ID_AMD_OPEN_SOURCE, - eMesaRadv = VK_DRIVER_ID_MESA_RADV, - eNvidiaProprietary = VK_DRIVER_ID_NVIDIA_PROPRIETARY, - eIntelProprietaryWindows = VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, - eIntelOpenSourceMESA = VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA, - eImaginationProprietary = VK_DRIVER_ID_IMAGINATION_PROPRIETARY, - eQualcommProprietary = VK_DRIVER_ID_QUALCOMM_PROPRIETARY, - eArmProprietary = VK_DRIVER_ID_ARM_PROPRIETARY, - eGoogleSwiftshader = VK_DRIVER_ID_GOOGLE_SWIFTSHADER, - eGgpProprietary = VK_DRIVER_ID_GGP_PROPRIETARY, - eBroadcomProprietary = VK_DRIVER_ID_BROADCOM_PROPRIETARY, - eMesaLlvmpipe = VK_DRIVER_ID_MESA_LLVMPIPE, - eMoltenvk = VK_DRIVER_ID_MOLTENVK, - eCoreaviProprietary = VK_DRIVER_ID_COREAVI_PROPRIETARY, - eJuiceProprietary = VK_DRIVER_ID_JUICE_PROPRIETARY, - eIntelOpenSourceMesa = VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR - }; - using DriverIdKHR = DriverId; - - VULKAN_HPP_INLINE std::string to_string( DriverId value ) - { - switch ( value ) - { - case DriverId::eAmdProprietary: return "AmdProprietary"; - case DriverId::eAmdOpenSource: return "AmdOpenSource"; - case DriverId::eMesaRadv: return "MesaRadv"; - case DriverId::eNvidiaProprietary: return "NvidiaProprietary"; - case DriverId::eIntelProprietaryWindows: return "IntelProprietaryWindows"; - case DriverId::eIntelOpenSourceMESA: return "IntelOpenSourceMESA"; - case DriverId::eImaginationProprietary: return "ImaginationProprietary"; - case DriverId::eQualcommProprietary: return "QualcommProprietary"; - case DriverId::eArmProprietary: return "ArmProprietary"; - case DriverId::eGoogleSwiftshader: return "GoogleSwiftshader"; - case DriverId::eGgpProprietary: return "GgpProprietary"; - case DriverId::eBroadcomProprietary: return "BroadcomProprietary"; - case DriverId::eMesaLlvmpipe: return "MesaLlvmpipe"; - case DriverId::eMoltenvk: return "Moltenvk"; - case DriverId::eCoreaviProprietary: return "CoreaviProprietary"; - case DriverId::eJuiceProprietary: return "JuiceProprietary"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ShaderFloatControlsIndependence - { - e32BitOnly = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY, - eAll = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL, - eNone = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE - }; - using ShaderFloatControlsIndependenceKHR = ShaderFloatControlsIndependence; - - VULKAN_HPP_INLINE std::string to_string( ShaderFloatControlsIndependence value ) - { - switch ( value ) - { - case ShaderFloatControlsIndependence::e32BitOnly: return "32BitOnly"; - case ShaderFloatControlsIndependence::eAll: return "All"; - case ShaderFloatControlsIndependence::eNone: return "None"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DescriptorBindingFlagBits : VkDescriptorBindingFlags - { - eUpdateAfterBind = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT, - eUpdateUnusedWhilePending = VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT, - ePartiallyBound = VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT, - eVariableDescriptorCount = VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT - }; - using DescriptorBindingFlagBitsEXT = DescriptorBindingFlagBits; - - VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlagBits value ) - { - switch ( value ) - { - case DescriptorBindingFlagBits::eUpdateAfterBind: return "UpdateAfterBind"; - case DescriptorBindingFlagBits::eUpdateUnusedWhilePending: return "UpdateUnusedWhilePending"; - case DescriptorBindingFlagBits::ePartiallyBound: return "PartiallyBound"; - case DescriptorBindingFlagBits::eVariableDescriptorCount: return "VariableDescriptorCount"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ResolveModeFlagBits : VkResolveModeFlags - { - eNone = VK_RESOLVE_MODE_NONE, - eSampleZero = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT, - eAverage = VK_RESOLVE_MODE_AVERAGE_BIT, - eMin = VK_RESOLVE_MODE_MIN_BIT, - eMax = VK_RESOLVE_MODE_MAX_BIT - }; - using ResolveModeFlagBitsKHR = ResolveModeFlagBits; - - VULKAN_HPP_INLINE std::string to_string( ResolveModeFlagBits value ) - { - switch ( value ) - { - case ResolveModeFlagBits::eNone: return "None"; - case ResolveModeFlagBits::eSampleZero: return "SampleZero"; - case ResolveModeFlagBits::eAverage: return "Average"; - case ResolveModeFlagBits::eMin: return "Min"; - case ResolveModeFlagBits::eMax: return "Max"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SamplerReductionMode - { - eWeightedAverage = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, - eMin = VK_SAMPLER_REDUCTION_MODE_MIN, - eMax = VK_SAMPLER_REDUCTION_MODE_MAX - }; - using SamplerReductionModeEXT = SamplerReductionMode; - - VULKAN_HPP_INLINE std::string to_string( SamplerReductionMode value ) - { - switch ( value ) - { - case SamplerReductionMode::eWeightedAverage: return "WeightedAverage"; - case SamplerReductionMode::eMin: return "Min"; - case SamplerReductionMode::eMax: return "Max"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SemaphoreType - { - eBinary = VK_SEMAPHORE_TYPE_BINARY, - eTimeline = VK_SEMAPHORE_TYPE_TIMELINE - }; - using SemaphoreTypeKHR = SemaphoreType; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreType value ) - { - switch ( value ) - { - case SemaphoreType::eBinary: return "Binary"; - case SemaphoreType::eTimeline: return "Timeline"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SemaphoreWaitFlagBits : VkSemaphoreWaitFlags - { - eAny = VK_SEMAPHORE_WAIT_ANY_BIT - }; - using SemaphoreWaitFlagBitsKHR = SemaphoreWaitFlagBits; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlagBits value ) - { - switch ( value ) - { - case SemaphoreWaitFlagBits::eAny: return "Any"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_surface === - - enum class SurfaceTransformFlagBitsKHR : VkSurfaceTransformFlagsKHR - { - eIdentity = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, - eRotate90 = VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR, - eRotate180 = VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR, - eRotate270 = VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR, - eHorizontalMirror = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR, - eHorizontalMirrorRotate90 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR, - eHorizontalMirrorRotate180 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR, - eHorizontalMirrorRotate270 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR, - eInherit = VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagBitsKHR value ) - { - switch ( value ) - { - case SurfaceTransformFlagBitsKHR::eIdentity: return "Identity"; - case SurfaceTransformFlagBitsKHR::eRotate90: return "Rotate90"; - case SurfaceTransformFlagBitsKHR::eRotate180: return "Rotate180"; - case SurfaceTransformFlagBitsKHR::eRotate270: return "Rotate270"; - case SurfaceTransformFlagBitsKHR::eHorizontalMirror: return "HorizontalMirror"; - case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90: return "HorizontalMirrorRotate90"; - case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180: return "HorizontalMirrorRotate180"; - case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270: return "HorizontalMirrorRotate270"; - case SurfaceTransformFlagBitsKHR::eInherit: return "Inherit"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PresentModeKHR - { - eImmediate = VK_PRESENT_MODE_IMMEDIATE_KHR, - eMailbox = VK_PRESENT_MODE_MAILBOX_KHR, - eFifo = VK_PRESENT_MODE_FIFO_KHR, - eFifoRelaxed = VK_PRESENT_MODE_FIFO_RELAXED_KHR, - eSharedDemandRefresh = VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR, - eSharedContinuousRefresh = VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PresentModeKHR value ) - { - switch ( value ) - { - case PresentModeKHR::eImmediate: return "Immediate"; - case PresentModeKHR::eMailbox: return "Mailbox"; - case PresentModeKHR::eFifo: return "Fifo"; - case PresentModeKHR::eFifoRelaxed: return "FifoRelaxed"; - case PresentModeKHR::eSharedDemandRefresh: return "SharedDemandRefresh"; - case PresentModeKHR::eSharedContinuousRefresh: return "SharedContinuousRefresh"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ColorSpaceKHR - { - eSrgbNonlinear = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, - eDisplayP3NonlinearEXT = VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT, - eExtendedSrgbLinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT, - eDisplayP3LinearEXT = VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT, - eDciP3NonlinearEXT = VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT, - eBt709LinearEXT = VK_COLOR_SPACE_BT709_LINEAR_EXT, - eBt709NonlinearEXT = VK_COLOR_SPACE_BT709_NONLINEAR_EXT, - eBt2020LinearEXT = VK_COLOR_SPACE_BT2020_LINEAR_EXT, - eHdr10St2084EXT = VK_COLOR_SPACE_HDR10_ST2084_EXT, - eDolbyvisionEXT = VK_COLOR_SPACE_DOLBYVISION_EXT, - eHdr10HlgEXT = VK_COLOR_SPACE_HDR10_HLG_EXT, - eAdobergbLinearEXT = VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT, - eAdobergbNonlinearEXT = VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT, - ePassThroughEXT = VK_COLOR_SPACE_PASS_THROUGH_EXT, - eExtendedSrgbNonlinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT, - eDisplayNativeAMD = VK_COLOR_SPACE_DISPLAY_NATIVE_AMD, - eVkColorspaceSrgbNonlinear = VK_COLORSPACE_SRGB_NONLINEAR_KHR, - eDciP3LinearEXT = VK_COLOR_SPACE_DCI_P3_LINEAR_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ColorSpaceKHR value ) - { - switch ( value ) - { - case ColorSpaceKHR::eSrgbNonlinear: return "SrgbNonlinear"; - case ColorSpaceKHR::eDisplayP3NonlinearEXT: return "DisplayP3NonlinearEXT"; - case ColorSpaceKHR::eExtendedSrgbLinearEXT: return "ExtendedSrgbLinearEXT"; - case ColorSpaceKHR::eDisplayP3LinearEXT: return "DisplayP3LinearEXT"; - case ColorSpaceKHR::eDciP3NonlinearEXT: return "DciP3NonlinearEXT"; - case ColorSpaceKHR::eBt709LinearEXT: return "Bt709LinearEXT"; - case ColorSpaceKHR::eBt709NonlinearEXT: return "Bt709NonlinearEXT"; - case ColorSpaceKHR::eBt2020LinearEXT: return "Bt2020LinearEXT"; - case ColorSpaceKHR::eHdr10St2084EXT: return "Hdr10St2084EXT"; - case ColorSpaceKHR::eDolbyvisionEXT: return "DolbyvisionEXT"; - case ColorSpaceKHR::eHdr10HlgEXT: return "Hdr10HlgEXT"; - case ColorSpaceKHR::eAdobergbLinearEXT: return "AdobergbLinearEXT"; - case ColorSpaceKHR::eAdobergbNonlinearEXT: return "AdobergbNonlinearEXT"; - case ColorSpaceKHR::ePassThroughEXT: return "PassThroughEXT"; - case ColorSpaceKHR::eExtendedSrgbNonlinearEXT: return "ExtendedSrgbNonlinearEXT"; - case ColorSpaceKHR::eDisplayNativeAMD: return "DisplayNativeAMD"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CompositeAlphaFlagBitsKHR : VkCompositeAlphaFlagsKHR - { - eOpaque = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, - ePreMultiplied = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR, - ePostMultiplied = VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR, - eInherit = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagBitsKHR value ) - { - switch ( value ) - { - case CompositeAlphaFlagBitsKHR::eOpaque: return "Opaque"; - case CompositeAlphaFlagBitsKHR::ePreMultiplied: return "PreMultiplied"; - case CompositeAlphaFlagBitsKHR::ePostMultiplied: return "PostMultiplied"; - case CompositeAlphaFlagBitsKHR::eInherit: return "Inherit"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_swapchain === - - enum class SwapchainCreateFlagBitsKHR : VkSwapchainCreateFlagsKHR - { - eSplitInstanceBindRegions = VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR, - eProtected = VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR, - eMutableFormat = VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagBitsKHR value ) - { - switch ( value ) - { - case SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions: return "SplitInstanceBindRegions"; - case SwapchainCreateFlagBitsKHR::eProtected: return "Protected"; - case SwapchainCreateFlagBitsKHR::eMutableFormat: return "MutableFormat"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DeviceGroupPresentModeFlagBitsKHR : VkDeviceGroupPresentModeFlagsKHR - { - eLocal = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR, - eRemote = VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR, - eSum = VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR, - eLocalMultiDevice = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagBitsKHR value ) - { - switch ( value ) - { - case DeviceGroupPresentModeFlagBitsKHR::eLocal: return "Local"; - case DeviceGroupPresentModeFlagBitsKHR::eRemote: return "Remote"; - case DeviceGroupPresentModeFlagBitsKHR::eSum: return "Sum"; - case DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice: return "LocalMultiDevice"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_display === - - enum class DisplayPlaneAlphaFlagBitsKHR : VkDisplayPlaneAlphaFlagsKHR - { - eOpaque = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR, - eGlobal = VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR, - ePerPixel = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, - ePerPixelPremultiplied = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagBitsKHR value ) - { - switch ( value ) - { - case DisplayPlaneAlphaFlagBitsKHR::eOpaque: return "Opaque"; - case DisplayPlaneAlphaFlagBitsKHR::eGlobal: return "Global"; - case DisplayPlaneAlphaFlagBitsKHR::ePerPixel: return "PerPixel"; - case DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied: return "PerPixelPremultiplied"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_debug_report === - - enum class DebugReportFlagBitsEXT : VkDebugReportFlagsEXT - { - eInformation = VK_DEBUG_REPORT_INFORMATION_BIT_EXT, - eWarning = VK_DEBUG_REPORT_WARNING_BIT_EXT, - ePerformanceWarning = VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT, - eError = VK_DEBUG_REPORT_ERROR_BIT_EXT, - eDebug = VK_DEBUG_REPORT_DEBUG_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DebugReportFlagBitsEXT value ) - { - switch ( value ) - { - case DebugReportFlagBitsEXT::eInformation: return "Information"; - case DebugReportFlagBitsEXT::eWarning: return "Warning"; - case DebugReportFlagBitsEXT::ePerformanceWarning: return "PerformanceWarning"; - case DebugReportFlagBitsEXT::eError: return "Error"; - case DebugReportFlagBitsEXT::eDebug: return "Debug"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DebugReportObjectTypeEXT - { - eUnknown = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, - eInstance = VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT, - ePhysicalDevice = VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT, - eDevice = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, - eQueue = VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT, - eSemaphore = VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT, - eCommandBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, - eFence = VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT, - eDeviceMemory = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT, - eBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT, - eImage = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT, - eEvent = VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT, - eQueryPool = VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT, - eBufferView = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT, - eImageView = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT, - eShaderModule = VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT, - ePipelineCache = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT, - ePipelineLayout = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT, - eRenderPass = VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT, - ePipeline = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, - eDescriptorSetLayout = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT, - eSampler = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT, - eDescriptorPool = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT, - eDescriptorSet = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT, - eFramebuffer = VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT, - eCommandPool = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT, - eSurfaceKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT, - eSwapchainKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT, - eDebugReportCallbackEXT = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT, - eDisplayKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT, - eDisplayModeKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT, - eValidationCacheEXT = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT, - eSamplerYcbcrConversion = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT, - eDescriptorUpdateTemplate = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT, - eCuModuleNVX = VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT, - eCuFunctionNVX = VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT, - eAccelerationStructureKHR = VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT, - eAccelerationStructureNV = VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT, - eDebugReport = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT, - eDescriptorUpdateTemplateKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT, - eSamplerYcbcrConversionKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT, - eValidationCache = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DebugReportObjectTypeEXT value ) - { - switch ( value ) - { - case DebugReportObjectTypeEXT::eUnknown: return "Unknown"; - case DebugReportObjectTypeEXT::eInstance: return "Instance"; - case DebugReportObjectTypeEXT::ePhysicalDevice: return "PhysicalDevice"; - case DebugReportObjectTypeEXT::eDevice: return "Device"; - case DebugReportObjectTypeEXT::eQueue: return "Queue"; - case DebugReportObjectTypeEXT::eSemaphore: return "Semaphore"; - case DebugReportObjectTypeEXT::eCommandBuffer: return "CommandBuffer"; - case DebugReportObjectTypeEXT::eFence: return "Fence"; - case DebugReportObjectTypeEXT::eDeviceMemory: return "DeviceMemory"; - case DebugReportObjectTypeEXT::eBuffer: return "Buffer"; - case DebugReportObjectTypeEXT::eImage: return "Image"; - case DebugReportObjectTypeEXT::eEvent: return "Event"; - case DebugReportObjectTypeEXT::eQueryPool: return "QueryPool"; - case DebugReportObjectTypeEXT::eBufferView: return "BufferView"; - case DebugReportObjectTypeEXT::eImageView: return "ImageView"; - case DebugReportObjectTypeEXT::eShaderModule: return "ShaderModule"; - case DebugReportObjectTypeEXT::ePipelineCache: return "PipelineCache"; - case DebugReportObjectTypeEXT::ePipelineLayout: return "PipelineLayout"; - case DebugReportObjectTypeEXT::eRenderPass: return "RenderPass"; - case DebugReportObjectTypeEXT::ePipeline: return "Pipeline"; - case DebugReportObjectTypeEXT::eDescriptorSetLayout: return "DescriptorSetLayout"; - case DebugReportObjectTypeEXT::eSampler: return "Sampler"; - case DebugReportObjectTypeEXT::eDescriptorPool: return "DescriptorPool"; - case DebugReportObjectTypeEXT::eDescriptorSet: return "DescriptorSet"; - case DebugReportObjectTypeEXT::eFramebuffer: return "Framebuffer"; - case DebugReportObjectTypeEXT::eCommandPool: return "CommandPool"; - case DebugReportObjectTypeEXT::eSurfaceKHR: return "SurfaceKHR"; - case DebugReportObjectTypeEXT::eSwapchainKHR: return "SwapchainKHR"; - case DebugReportObjectTypeEXT::eDebugReportCallbackEXT: return "DebugReportCallbackEXT"; - case DebugReportObjectTypeEXT::eDisplayKHR: return "DisplayKHR"; - case DebugReportObjectTypeEXT::eDisplayModeKHR: return "DisplayModeKHR"; - case DebugReportObjectTypeEXT::eValidationCacheEXT: return "ValidationCacheEXT"; - case DebugReportObjectTypeEXT::eSamplerYcbcrConversion: return "SamplerYcbcrConversion"; - case DebugReportObjectTypeEXT::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate"; - case DebugReportObjectTypeEXT::eCuModuleNVX: return "CuModuleNVX"; - case DebugReportObjectTypeEXT::eCuFunctionNVX: return "CuFunctionNVX"; - case DebugReportObjectTypeEXT::eAccelerationStructureKHR: return "AccelerationStructureKHR"; - case DebugReportObjectTypeEXT::eAccelerationStructureNV: return "AccelerationStructureNV"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_AMD_rasterization_order === - - enum class RasterizationOrderAMD - { - eStrict = VK_RASTERIZATION_ORDER_STRICT_AMD, - eRelaxed = VK_RASTERIZATION_ORDER_RELAXED_AMD - }; - - VULKAN_HPP_INLINE std::string to_string( RasterizationOrderAMD value ) - { - switch ( value ) - { - case RasterizationOrderAMD::eStrict: return "Strict"; - case RasterizationOrderAMD::eRelaxed: return "Relaxed"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_queue === - - enum class VideoCodecOperationFlagBitsKHR : VkVideoCodecOperationFlagsKHR - { - eInvalid = VK_VIDEO_CODEC_OPERATION_INVALID_BIT_KHR, -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - eEncodeH264EXT = VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT, - eDecodeH264EXT = VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_EXT, - eDecodeH265EXT = VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_EXT -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - - VULKAN_HPP_INLINE std::string to_string( VideoCodecOperationFlagBitsKHR value ) - { - switch ( value ) - { - case VideoCodecOperationFlagBitsKHR::eInvalid: return "Invalid"; -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - case VideoCodecOperationFlagBitsKHR::eEncodeH264EXT: return "EncodeH264EXT"; - case VideoCodecOperationFlagBitsKHR::eDecodeH264EXT: return "DecodeH264EXT"; - case VideoCodecOperationFlagBitsKHR::eDecodeH265EXT: return "DecodeH265EXT"; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoChromaSubsamplingFlagBitsKHR : VkVideoChromaSubsamplingFlagsKHR - { - eInvalid = VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_BIT_KHR, - eMonochrome = VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR, - e420 = VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR, - e422 = VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR, - e444 = VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoChromaSubsamplingFlagBitsKHR value ) - { - switch ( value ) - { - case VideoChromaSubsamplingFlagBitsKHR::eInvalid: return "Invalid"; - case VideoChromaSubsamplingFlagBitsKHR::eMonochrome: return "Monochrome"; - case VideoChromaSubsamplingFlagBitsKHR::e420: return "420"; - case VideoChromaSubsamplingFlagBitsKHR::e422: return "422"; - case VideoChromaSubsamplingFlagBitsKHR::e444: return "444"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoComponentBitDepthFlagBitsKHR : VkVideoComponentBitDepthFlagsKHR - { - eInvalid = VK_VIDEO_COMPONENT_BIT_DEPTH_INVALID_KHR, - e8 = VK_VIDEO_COMPONENT_BIT_DEPTH_8_BIT_KHR, - e10 = VK_VIDEO_COMPONENT_BIT_DEPTH_10_BIT_KHR, - e12 = VK_VIDEO_COMPONENT_BIT_DEPTH_12_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoComponentBitDepthFlagBitsKHR value ) - { - switch ( value ) - { - case VideoComponentBitDepthFlagBitsKHR::eInvalid: return "Invalid"; - case VideoComponentBitDepthFlagBitsKHR::e8: return "8"; - case VideoComponentBitDepthFlagBitsKHR::e10: return "10"; - case VideoComponentBitDepthFlagBitsKHR::e12: return "12"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoCapabilitiesFlagBitsKHR : VkVideoCapabilitiesFlagsKHR - { - eProtectedContent = VK_VIDEO_CAPABILITIES_PROTECTED_CONTENT_BIT_KHR, - eSeparateReferenceImages = VK_VIDEO_CAPABILITIES_SEPARATE_REFERENCE_IMAGES_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoCapabilitiesFlagBitsKHR value ) - { - switch ( value ) - { - case VideoCapabilitiesFlagBitsKHR::eProtectedContent: return "ProtectedContent"; - case VideoCapabilitiesFlagBitsKHR::eSeparateReferenceImages: return "SeparateReferenceImages"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoSessionCreateFlagBitsKHR : VkVideoSessionCreateFlagsKHR - { - eDefault = VK_VIDEO_SESSION_CREATE_DEFAULT_KHR, - eProtectedContent = VK_VIDEO_SESSION_CREATE_PROTECTED_CONTENT_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoSessionCreateFlagBitsKHR value ) - { - switch ( value ) - { - case VideoSessionCreateFlagBitsKHR::eDefault: return "Default"; - case VideoSessionCreateFlagBitsKHR::eProtectedContent: return "ProtectedContent"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoCodingControlFlagBitsKHR : VkVideoCodingControlFlagsKHR - { - eDefault = VK_VIDEO_CODING_CONTROL_DEFAULT_KHR, - eReset = VK_VIDEO_CODING_CONTROL_RESET_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoCodingControlFlagBitsKHR value ) - { - switch ( value ) - { - case VideoCodingControlFlagBitsKHR::eDefault: return "Default"; - case VideoCodingControlFlagBitsKHR::eReset: return "Reset"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoCodingQualityPresetFlagBitsKHR : VkVideoCodingQualityPresetFlagsKHR - { - eDefault = VK_VIDEO_CODING_QUALITY_PRESET_DEFAULT_BIT_KHR, - eNormal = VK_VIDEO_CODING_QUALITY_PRESET_NORMAL_BIT_KHR, - ePower = VK_VIDEO_CODING_QUALITY_PRESET_POWER_BIT_KHR, - eQuality = VK_VIDEO_CODING_QUALITY_PRESET_QUALITY_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoCodingQualityPresetFlagBitsKHR value ) - { - switch ( value ) - { - case VideoCodingQualityPresetFlagBitsKHR::eDefault: return "Default"; - case VideoCodingQualityPresetFlagBitsKHR::eNormal: return "Normal"; - case VideoCodingQualityPresetFlagBitsKHR::ePower: return "Power"; - case VideoCodingQualityPresetFlagBitsKHR::eQuality: return "Quality"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryResultStatusKHR - { - eError = VK_QUERY_RESULT_STATUS_ERROR_KHR, - eNotReady = VK_QUERY_RESULT_STATUS_NOT_READY_KHR, - eComplete = VK_QUERY_RESULT_STATUS_COMPLETE_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( QueryResultStatusKHR value ) - { - switch ( value ) - { - case QueryResultStatusKHR::eError: return "Error"; - case QueryResultStatusKHR::eNotReady: return "NotReady"; - case QueryResultStatusKHR::eComplete: return "Complete"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_decode_queue === - - enum class VideoDecodeFlagBitsKHR : VkVideoDecodeFlagsKHR - { - eDefault = VK_VIDEO_DECODE_DEFAULT_KHR, - eReserved0 = VK_VIDEO_DECODE_RESERVED_0_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeFlagBitsKHR value ) - { - switch ( value ) - { - case VideoDecodeFlagBitsKHR::eDefault: return "Default"; - case VideoDecodeFlagBitsKHR::eReserved0: return "Reserved0"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_EXT_video_encode_h264 === - - enum class VideoEncodeH264CapabilitiesFlagBitsEXT : VkVideoEncodeH264CapabilitiesFlagsEXT - { - eVkVideoEncodeH264CapabilityCabac = VK_VIDEO_ENCODE_H264_CAPABILITY_CABAC_BIT_EXT, - eVkVideoEncodeH264CapabilityCavlc = VK_VIDEO_ENCODE_H264_CAPABILITY_CAVLC_BIT_EXT, - eVkVideoEncodeH264CapabilityWeightedBiPredImplicit = - VK_VIDEO_ENCODE_H264_CAPABILITY_WEIGHTED_BI_PRED_IMPLICIT_BIT_EXT, - eVkVideoEncodeH264CapabilityTransform8X8 = VK_VIDEO_ENCODE_H264_CAPABILITY_TRANSFORM_8X8_BIT_EXT, - eVkVideoEncodeH264CapabilityChromaQpOffset = VK_VIDEO_ENCODE_H264_CAPABILITY_CHROMA_QP_OFFSET_BIT_EXT, - eVkVideoEncodeH264CapabilitySecondChromaQpOffset = VK_VIDEO_ENCODE_H264_CAPABILITY_SECOND_CHROMA_QP_OFFSET_BIT_EXT, - eVkVideoEncodeH264CapabilityDeblockingFilterDisabled = - VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_DISABLED_BIT_EXT, - eVkVideoEncodeH264CapabilityDeblockingFilterEnabled = - VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_ENABLED_BIT_EXT, - eVkVideoEncodeH264CapabilityDeblockingFilterPartial = - VK_VIDEO_ENCODE_H264_CAPABILITY_DEBLOCKING_FILTER_PARTIAL_BIT_EXT, - eVkVideoEncodeH264CapabilityMultipleSlicePerFrame = - VK_VIDEO_ENCODE_H264_CAPABILITY_MULTIPLE_SLICE_PER_FRAME_BIT_EXT, - eVkVideoEncodeH264CapabilityEvenlyDistributedSliceSize = - VK_VIDEO_ENCODE_H264_CAPABILITY_EVENLY_DISTRIBUTED_SLICE_SIZE_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CapabilitiesFlagBitsEXT value ) - { - switch ( value ) - { - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCabac: - return "VkVideoEncodeH264CapabilityCabac"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCavlc: - return "VkVideoEncodeH264CapabilityCavlc"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityWeightedBiPredImplicit: - return "VkVideoEncodeH264CapabilityWeightedBiPredImplicit"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityTransform8X8: - return "VkVideoEncodeH264CapabilityTransform8X8"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityChromaQpOffset: - return "VkVideoEncodeH264CapabilityChromaQpOffset"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilitySecondChromaQpOffset: - return "VkVideoEncodeH264CapabilitySecondChromaQpOffset"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterDisabled: - return "VkVideoEncodeH264CapabilityDeblockingFilterDisabled"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterEnabled: - return "VkVideoEncodeH264CapabilityDeblockingFilterEnabled"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterPartial: - return "VkVideoEncodeH264CapabilityDeblockingFilterPartial"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityMultipleSlicePerFrame: - return "VkVideoEncodeH264CapabilityMultipleSlicePerFrame"; - case VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityEvenlyDistributedSliceSize: - return "VkVideoEncodeH264CapabilityEvenlyDistributedSliceSize"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoEncodeH264InputModeFlagBitsEXT : VkVideoEncodeH264InputModeFlagsEXT - { - eVkVideoEncodeH264InputModeFrame = VK_VIDEO_ENCODE_H264_INPUT_MODE_FRAME_BIT_EXT, - eVkVideoEncodeH264InputModeSlice = VK_VIDEO_ENCODE_H264_INPUT_MODE_SLICE_BIT_EXT, - eVkVideoEncodeH264InputModeNonVcl = VK_VIDEO_ENCODE_H264_INPUT_MODE_NON_VCL_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264InputModeFlagBitsEXT value ) - { - switch ( value ) - { - case VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeFrame: - return "VkVideoEncodeH264InputModeFrame"; - case VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeSlice: - return "VkVideoEncodeH264InputModeSlice"; - case VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeNonVcl: - return "VkVideoEncodeH264InputModeNonVcl"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoEncodeH264OutputModeFlagBitsEXT : VkVideoEncodeH264OutputModeFlagsEXT - { - eVkVideoEncodeH264OutputModeFrame = VK_VIDEO_ENCODE_H264_OUTPUT_MODE_FRAME_BIT_EXT, - eVkVideoEncodeH264OutputModeSlice = VK_VIDEO_ENCODE_H264_OUTPUT_MODE_SLICE_BIT_EXT, - eVkVideoEncodeH264OutputModeNonVcl = VK_VIDEO_ENCODE_H264_OUTPUT_MODE_NON_VCL_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264OutputModeFlagBitsEXT value ) - { - switch ( value ) - { - case VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeFrame: - return "VkVideoEncodeH264OutputModeFrame"; - case VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeSlice: - return "VkVideoEncodeH264OutputModeSlice"; - case VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeNonVcl: - return "VkVideoEncodeH264OutputModeNonVcl"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoEncodeH264CreateFlagBitsEXT : VkVideoEncodeH264CreateFlagsEXT - { - eVkVideoEncodeH264CreateDefault = VK_VIDEO_ENCODE_H264_CREATE_DEFAULT_EXT, - eVkVideoEncodeH264CreateReserved0 = VK_VIDEO_ENCODE_H264_CREATE_RESERVED_0_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CreateFlagBitsEXT value ) - { - switch ( value ) - { - case VideoEncodeH264CreateFlagBitsEXT::eVkVideoEncodeH264CreateDefault: return "VkVideoEncodeH264CreateDefault"; - case VideoEncodeH264CreateFlagBitsEXT::eVkVideoEncodeH264CreateReserved0: - return "VkVideoEncodeH264CreateReserved0"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_EXT_video_decode_h264 === - - enum class VideoDecodeH264FieldLayoutFlagBitsEXT : VkVideoDecodeH264FieldLayoutFlagsEXT - { - eVkVideoDecodeH264ProgressivePicturesOnly = VK_VIDEO_DECODE_H264_PROGRESSIVE_PICTURES_ONLY_EXT, - eVkVideoDecodeH264FieldLayoutLineInterlacedPlane = VK_VIDEO_DECODE_H264_FIELD_LAYOUT_LINE_INTERLACED_PLANE_BIT_EXT, - eVkVideoDecodeH264FieldLayoutSeparateInterlacedPlane = - VK_VIDEO_DECODE_H264_FIELD_LAYOUT_SEPARATE_INTERLACED_PLANE_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264FieldLayoutFlagBitsEXT value ) - { - switch ( value ) - { - case VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264ProgressivePicturesOnly: - return "VkVideoDecodeH264ProgressivePicturesOnly"; - case VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutLineInterlacedPlane: - return "VkVideoDecodeH264FieldLayoutLineInterlacedPlane"; - case VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutSeparateInterlacedPlane: - return "VkVideoDecodeH264FieldLayoutSeparateInterlacedPlane"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_AMD_shader_info === - - enum class ShaderInfoTypeAMD - { - eStatistics = VK_SHADER_INFO_TYPE_STATISTICS_AMD, - eBinary = VK_SHADER_INFO_TYPE_BINARY_AMD, - eDisassembly = VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD - }; - - VULKAN_HPP_INLINE std::string to_string( ShaderInfoTypeAMD value ) - { - switch ( value ) - { - case ShaderInfoTypeAMD::eStatistics: return "Statistics"; - case ShaderInfoTypeAMD::eBinary: return "Binary"; - case ShaderInfoTypeAMD::eDisassembly: return "Disassembly"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_external_memory_capabilities === - - enum class ExternalMemoryHandleTypeFlagBitsNV : VkExternalMemoryHandleTypeFlagsNV - { - eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV, - eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV, - eD3D11Image = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV, - eD3D11ImageKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBitsNV value ) - { - switch ( value ) - { - case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32: return "OpaqueWin32"; - case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt: return "OpaqueWin32Kmt"; - case ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image: return "D3D11Image"; - case ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt: return "D3D11ImageKmt"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ExternalMemoryFeatureFlagBitsNV : VkExternalMemoryFeatureFlagsNV - { - eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV, - eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV, - eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBitsNV value ) - { - switch ( value ) - { - case ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly: return "DedicatedOnly"; - case ExternalMemoryFeatureFlagBitsNV::eExportable: return "Exportable"; - case ExternalMemoryFeatureFlagBitsNV::eImportable: return "Importable"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_validation_flags === - - enum class ValidationCheckEXT - { - eAll = VK_VALIDATION_CHECK_ALL_EXT, - eShaders = VK_VALIDATION_CHECK_SHADERS_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ValidationCheckEXT value ) - { - switch ( value ) - { - case ValidationCheckEXT::eAll: return "All"; - case ValidationCheckEXT::eShaders: return "Shaders"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_conditional_rendering === - - enum class ConditionalRenderingFlagBitsEXT : VkConditionalRenderingFlagsEXT - { - eInverted = VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagBitsEXT value ) - { - switch ( value ) - { - case ConditionalRenderingFlagBitsEXT::eInverted: return "Inverted"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_display_surface_counter === - - enum class SurfaceCounterFlagBitsEXT : VkSurfaceCounterFlagsEXT - { - eVblank = VK_SURFACE_COUNTER_VBLANK_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagBitsEXT value ) - { - switch ( value ) - { - case SurfaceCounterFlagBitsEXT::eVblank: return "Vblank"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_display_control === - - enum class DisplayPowerStateEXT - { - eOff = VK_DISPLAY_POWER_STATE_OFF_EXT, - eSuspend = VK_DISPLAY_POWER_STATE_SUSPEND_EXT, - eOn = VK_DISPLAY_POWER_STATE_ON_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DisplayPowerStateEXT value ) - { - switch ( value ) - { - case DisplayPowerStateEXT::eOff: return "Off"; - case DisplayPowerStateEXT::eSuspend: return "Suspend"; - case DisplayPowerStateEXT::eOn: return "On"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DeviceEventTypeEXT - { - eDisplayHotplug = VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceEventTypeEXT value ) - { - switch ( value ) - { - case DeviceEventTypeEXT::eDisplayHotplug: return "DisplayHotplug"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DisplayEventTypeEXT - { - eFirstPixelOut = VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DisplayEventTypeEXT value ) - { - switch ( value ) - { - case DisplayEventTypeEXT::eFirstPixelOut: return "FirstPixelOut"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_viewport_swizzle === - - enum class ViewportCoordinateSwizzleNV - { - ePositiveX = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV, - eNegativeX = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV, - ePositiveY = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV, - eNegativeY = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV, - ePositiveZ = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV, - eNegativeZ = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV, - ePositiveW = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV, - eNegativeW = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ViewportCoordinateSwizzleNV value ) - { - switch ( value ) - { - case ViewportCoordinateSwizzleNV::ePositiveX: return "PositiveX"; - case ViewportCoordinateSwizzleNV::eNegativeX: return "NegativeX"; - case ViewportCoordinateSwizzleNV::ePositiveY: return "PositiveY"; - case ViewportCoordinateSwizzleNV::eNegativeY: return "NegativeY"; - case ViewportCoordinateSwizzleNV::ePositiveZ: return "PositiveZ"; - case ViewportCoordinateSwizzleNV::eNegativeZ: return "NegativeZ"; - case ViewportCoordinateSwizzleNV::ePositiveW: return "PositiveW"; - case ViewportCoordinateSwizzleNV::eNegativeW: return "NegativeW"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_discard_rectangles === - - enum class DiscardRectangleModeEXT - { - eInclusive = VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT, - eExclusive = VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DiscardRectangleModeEXT value ) - { - switch ( value ) - { - case DiscardRectangleModeEXT::eInclusive: return "Inclusive"; - case DiscardRectangleModeEXT::eExclusive: return "Exclusive"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_conservative_rasterization === - - enum class ConservativeRasterizationModeEXT - { - eDisabled = VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT, - eOverestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, - eUnderestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ConservativeRasterizationModeEXT value ) - { - switch ( value ) - { - case ConservativeRasterizationModeEXT::eDisabled: return "Disabled"; - case ConservativeRasterizationModeEXT::eOverestimate: return "Overestimate"; - case ConservativeRasterizationModeEXT::eUnderestimate: return "Underestimate"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_performance_query === - - enum class PerformanceCounterDescriptionFlagBitsKHR : VkPerformanceCounterDescriptionFlagsKHR - { - ePerformanceImpacting = VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR, - eConcurrentlyImpacted = VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagBitsKHR value ) - { - switch ( value ) - { - case PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting: return "PerformanceImpacting"; - case PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted: return "ConcurrentlyImpacted"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceCounterScopeKHR - { - eCommandBuffer = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR, - eRenderPass = VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR, - eCommand = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR, - eVkQueryScopeCommandBuffer = VK_QUERY_SCOPE_COMMAND_BUFFER_KHR, - eVkQueryScopeCommand = VK_QUERY_SCOPE_COMMAND_KHR, - eVkQueryScopeRenderPass = VK_QUERY_SCOPE_RENDER_PASS_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceCounterScopeKHR value ) - { - switch ( value ) - { - case PerformanceCounterScopeKHR::eCommandBuffer: return "CommandBuffer"; - case PerformanceCounterScopeKHR::eRenderPass: return "RenderPass"; - case PerformanceCounterScopeKHR::eCommand: return "Command"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceCounterStorageKHR - { - eInt32 = VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR, - eInt64 = VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR, - eUint32 = VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR, - eUint64 = VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR, - eFloat32 = VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR, - eFloat64 = VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceCounterStorageKHR value ) - { - switch ( value ) - { - case PerformanceCounterStorageKHR::eInt32: return "Int32"; - case PerformanceCounterStorageKHR::eInt64: return "Int64"; - case PerformanceCounterStorageKHR::eUint32: return "Uint32"; - case PerformanceCounterStorageKHR::eUint64: return "Uint64"; - case PerformanceCounterStorageKHR::eFloat32: return "Float32"; - case PerformanceCounterStorageKHR::eFloat64: return "Float64"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceCounterUnitKHR - { - eGeneric = VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR, - ePercentage = VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR, - eNanoseconds = VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR, - eBytes = VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR, - eBytesPerSecond = VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR, - eKelvin = VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR, - eWatts = VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR, - eVolts = VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR, - eAmps = VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR, - eHertz = VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR, - eCycles = VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceCounterUnitKHR value ) - { - switch ( value ) - { - case PerformanceCounterUnitKHR::eGeneric: return "Generic"; - case PerformanceCounterUnitKHR::ePercentage: return "Percentage"; - case PerformanceCounterUnitKHR::eNanoseconds: return "Nanoseconds"; - case PerformanceCounterUnitKHR::eBytes: return "Bytes"; - case PerformanceCounterUnitKHR::eBytesPerSecond: return "BytesPerSecond"; - case PerformanceCounterUnitKHR::eKelvin: return "Kelvin"; - case PerformanceCounterUnitKHR::eWatts: return "Watts"; - case PerformanceCounterUnitKHR::eVolts: return "Volts"; - case PerformanceCounterUnitKHR::eAmps: return "Amps"; - case PerformanceCounterUnitKHR::eHertz: return "Hertz"; - case PerformanceCounterUnitKHR::eCycles: return "Cycles"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AcquireProfilingLockFlagBitsKHR : VkAcquireProfilingLockFlagsKHR - { - }; - - VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagBitsKHR ) - { - return "(void)"; - } - - //=== VK_EXT_debug_utils === - - enum class DebugUtilsMessageSeverityFlagBitsEXT : VkDebugUtilsMessageSeverityFlagsEXT - { - eVerbose = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT, - eInfo = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT, - eWarning = VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT, - eError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagBitsEXT value ) - { - switch ( value ) - { - case DebugUtilsMessageSeverityFlagBitsEXT::eVerbose: return "Verbose"; - case DebugUtilsMessageSeverityFlagBitsEXT::eInfo: return "Info"; - case DebugUtilsMessageSeverityFlagBitsEXT::eWarning: return "Warning"; - case DebugUtilsMessageSeverityFlagBitsEXT::eError: return "Error"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class DebugUtilsMessageTypeFlagBitsEXT : VkDebugUtilsMessageTypeFlagsEXT - { - eGeneral = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT, - eValidation = VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT, - ePerformance = VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagBitsEXT value ) - { - switch ( value ) - { - case DebugUtilsMessageTypeFlagBitsEXT::eGeneral: return "General"; - case DebugUtilsMessageTypeFlagBitsEXT::eValidation: return "Validation"; - case DebugUtilsMessageTypeFlagBitsEXT::ePerformance: return "Performance"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_blend_operation_advanced === - - enum class BlendOverlapEXT - { - eUncorrelated = VK_BLEND_OVERLAP_UNCORRELATED_EXT, - eDisjoint = VK_BLEND_OVERLAP_DISJOINT_EXT, - eConjoint = VK_BLEND_OVERLAP_CONJOINT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( BlendOverlapEXT value ) - { - switch ( value ) - { - case BlendOverlapEXT::eUncorrelated: return "Uncorrelated"; - case BlendOverlapEXT::eDisjoint: return "Disjoint"; - case BlendOverlapEXT::eConjoint: return "Conjoint"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_acceleration_structure === - - enum class AccelerationStructureTypeKHR - { - eTopLevel = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR, - eBottomLevel = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR, - eGeneric = VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR - }; - using AccelerationStructureTypeNV = AccelerationStructureTypeKHR; - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureTypeKHR value ) - { - switch ( value ) - { - case AccelerationStructureTypeKHR::eTopLevel: return "TopLevel"; - case AccelerationStructureTypeKHR::eBottomLevel: return "BottomLevel"; - case AccelerationStructureTypeKHR::eGeneric: return "Generic"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AccelerationStructureBuildTypeKHR - { - eHost = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR, - eDevice = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR, - eHostOrDevice = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureBuildTypeKHR value ) - { - switch ( value ) - { - case AccelerationStructureBuildTypeKHR::eHost: return "Host"; - case AccelerationStructureBuildTypeKHR::eDevice: return "Device"; - case AccelerationStructureBuildTypeKHR::eHostOrDevice: return "HostOrDevice"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class GeometryFlagBitsKHR : VkGeometryFlagsKHR - { - eOpaque = VK_GEOMETRY_OPAQUE_BIT_KHR, - eNoDuplicateAnyHitInvocation = VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR - }; - using GeometryFlagBitsNV = GeometryFlagBitsKHR; - - VULKAN_HPP_INLINE std::string to_string( GeometryFlagBitsKHR value ) - { - switch ( value ) - { - case GeometryFlagBitsKHR::eOpaque: return "Opaque"; - case GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation: return "NoDuplicateAnyHitInvocation"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class GeometryInstanceFlagBitsKHR : VkGeometryInstanceFlagsKHR - { - eTriangleFacingCullDisable = VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR, - eTriangleFrontCounterclockwise = VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR, - eForceOpaque = VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR, - eForceNoOpaque = VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR, - eTriangleCullDisable = VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV - }; - using GeometryInstanceFlagBitsNV = GeometryInstanceFlagBitsKHR; - - VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagBitsKHR value ) - { - switch ( value ) - { - case GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable: return "TriangleFacingCullDisable"; - case GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise: return "TriangleFrontCounterclockwise"; - case GeometryInstanceFlagBitsKHR::eForceOpaque: return "ForceOpaque"; - case GeometryInstanceFlagBitsKHR::eForceNoOpaque: return "ForceNoOpaque"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BuildAccelerationStructureFlagBitsKHR : VkBuildAccelerationStructureFlagsKHR - { - eAllowUpdate = VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR, - eAllowCompaction = VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR, - ePreferFastTrace = VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR, - ePreferFastBuild = VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR, - eLowMemory = VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR - }; - using BuildAccelerationStructureFlagBitsNV = BuildAccelerationStructureFlagBitsKHR; - - VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagBitsKHR value ) - { - switch ( value ) - { - case BuildAccelerationStructureFlagBitsKHR::eAllowUpdate: return "AllowUpdate"; - case BuildAccelerationStructureFlagBitsKHR::eAllowCompaction: return "AllowCompaction"; - case BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace: return "PreferFastTrace"; - case BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild: return "PreferFastBuild"; - case BuildAccelerationStructureFlagBitsKHR::eLowMemory: return "LowMemory"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CopyAccelerationStructureModeKHR - { - eClone = VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR, - eCompact = VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR, - eSerialize = VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR, - eDeserialize = VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR - }; - using CopyAccelerationStructureModeNV = CopyAccelerationStructureModeKHR; - - VULKAN_HPP_INLINE std::string to_string( CopyAccelerationStructureModeKHR value ) - { - switch ( value ) - { - case CopyAccelerationStructureModeKHR::eClone: return "Clone"; - case CopyAccelerationStructureModeKHR::eCompact: return "Compact"; - case CopyAccelerationStructureModeKHR::eSerialize: return "Serialize"; - case CopyAccelerationStructureModeKHR::eDeserialize: return "Deserialize"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class GeometryTypeKHR - { - eTriangles = VK_GEOMETRY_TYPE_TRIANGLES_KHR, - eAabbs = VK_GEOMETRY_TYPE_AABBS_KHR, - eInstances = VK_GEOMETRY_TYPE_INSTANCES_KHR - }; - using GeometryTypeNV = GeometryTypeKHR; - - VULKAN_HPP_INLINE std::string to_string( GeometryTypeKHR value ) - { - switch ( value ) - { - case GeometryTypeKHR::eTriangles: return "Triangles"; - case GeometryTypeKHR::eAabbs: return "Aabbs"; - case GeometryTypeKHR::eInstances: return "Instances"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AccelerationStructureCompatibilityKHR - { - eCompatible = VK_ACCELERATION_STRUCTURE_COMPATIBILITY_COMPATIBLE_KHR, - eIncompatible = VK_ACCELERATION_STRUCTURE_COMPATIBILITY_INCOMPATIBLE_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCompatibilityKHR value ) - { - switch ( value ) - { - case AccelerationStructureCompatibilityKHR::eCompatible: return "Compatible"; - case AccelerationStructureCompatibilityKHR::eIncompatible: return "Incompatible"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AccelerationStructureCreateFlagBitsKHR : VkAccelerationStructureCreateFlagsKHR - { - eDeviceAddressCaptureReplay = VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCreateFlagBitsKHR value ) - { - switch ( value ) - { - case AccelerationStructureCreateFlagBitsKHR::eDeviceAddressCaptureReplay: return "DeviceAddressCaptureReplay"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class BuildAccelerationStructureModeKHR - { - eBuild = VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR, - eUpdate = VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureModeKHR value ) - { - switch ( value ) - { - case BuildAccelerationStructureModeKHR::eBuild: return "Build"; - case BuildAccelerationStructureModeKHR::eUpdate: return "Update"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_framebuffer_mixed_samples === - - enum class CoverageModulationModeNV - { - eNone = VK_COVERAGE_MODULATION_MODE_NONE_NV, - eRgb = VK_COVERAGE_MODULATION_MODE_RGB_NV, - eAlpha = VK_COVERAGE_MODULATION_MODE_ALPHA_NV, - eRgba = VK_COVERAGE_MODULATION_MODE_RGBA_NV - }; - - VULKAN_HPP_INLINE std::string to_string( CoverageModulationModeNV value ) - { - switch ( value ) - { - case CoverageModulationModeNV::eNone: return "None"; - case CoverageModulationModeNV::eRgb: return "Rgb"; - case CoverageModulationModeNV::eAlpha: return "Alpha"; - case CoverageModulationModeNV::eRgba: return "Rgba"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_validation_cache === - - enum class ValidationCacheHeaderVersionEXT - { - eOne = VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ValidationCacheHeaderVersionEXT value ) - { - switch ( value ) - { - case ValidationCacheHeaderVersionEXT::eOne: return "One"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_shading_rate_image === - - enum class ShadingRatePaletteEntryNV - { - eNoInvocations = VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV, - e16InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV, - e8InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV, - e4InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV, - e2InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV, - e1InvocationPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV, - e1InvocationPer2X1Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV, - e1InvocationPer1X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV, - e1InvocationPer2X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV, - e1InvocationPer4X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV, - e1InvocationPer2X4Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV, - e1InvocationPer4X4Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ShadingRatePaletteEntryNV value ) - { - switch ( value ) - { - case ShadingRatePaletteEntryNV::eNoInvocations: return "NoInvocations"; - case ShadingRatePaletteEntryNV::e16InvocationsPerPixel: return "16InvocationsPerPixel"; - case ShadingRatePaletteEntryNV::e8InvocationsPerPixel: return "8InvocationsPerPixel"; - case ShadingRatePaletteEntryNV::e4InvocationsPerPixel: return "4InvocationsPerPixel"; - case ShadingRatePaletteEntryNV::e2InvocationsPerPixel: return "2InvocationsPerPixel"; - case ShadingRatePaletteEntryNV::e1InvocationPerPixel: return "1InvocationPerPixel"; - case ShadingRatePaletteEntryNV::e1InvocationPer2X1Pixels: return "1InvocationPer2X1Pixels"; - case ShadingRatePaletteEntryNV::e1InvocationPer1X2Pixels: return "1InvocationPer1X2Pixels"; - case ShadingRatePaletteEntryNV::e1InvocationPer2X2Pixels: return "1InvocationPer2X2Pixels"; - case ShadingRatePaletteEntryNV::e1InvocationPer4X2Pixels: return "1InvocationPer4X2Pixels"; - case ShadingRatePaletteEntryNV::e1InvocationPer2X4Pixels: return "1InvocationPer2X4Pixels"; - case ShadingRatePaletteEntryNV::e1InvocationPer4X4Pixels: return "1InvocationPer4X4Pixels"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class CoarseSampleOrderTypeNV - { - eDefault = VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV, - eCustom = VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, - ePixelMajor = VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV, - eSampleMajor = VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV - }; - - VULKAN_HPP_INLINE std::string to_string( CoarseSampleOrderTypeNV value ) - { - switch ( value ) - { - case CoarseSampleOrderTypeNV::eDefault: return "Default"; - case CoarseSampleOrderTypeNV::eCustom: return "Custom"; - case CoarseSampleOrderTypeNV::ePixelMajor: return "PixelMajor"; - case CoarseSampleOrderTypeNV::eSampleMajor: return "SampleMajor"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_ray_tracing === - - enum class AccelerationStructureMemoryRequirementsTypeNV - { - eObject = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV, - eBuildScratch = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV, - eUpdateScratch = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV - }; - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMemoryRequirementsTypeNV value ) - { - switch ( value ) - { - case AccelerationStructureMemoryRequirementsTypeNV::eObject: return "Object"; - case AccelerationStructureMemoryRequirementsTypeNV::eBuildScratch: return "BuildScratch"; - case AccelerationStructureMemoryRequirementsTypeNV::eUpdateScratch: return "UpdateScratch"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_global_priority === - - enum class QueueGlobalPriorityEXT - { - eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT, - eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT, - eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT, - eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( QueueGlobalPriorityEXT value ) - { - switch ( value ) - { - case QueueGlobalPriorityEXT::eLow: return "Low"; - case QueueGlobalPriorityEXT::eMedium: return "Medium"; - case QueueGlobalPriorityEXT::eHigh: return "High"; - case QueueGlobalPriorityEXT::eRealtime: return "Realtime"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_AMD_pipeline_compiler_control === - - enum class PipelineCompilerControlFlagBitsAMD : VkPipelineCompilerControlFlagsAMD - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagBitsAMD ) - { - return "(void)"; - } - - //=== VK_EXT_calibrated_timestamps === - - enum class TimeDomainEXT - { - eDevice = VK_TIME_DOMAIN_DEVICE_EXT, - eClockMonotonic = VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT, - eClockMonotonicRaw = VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT, - eQueryPerformanceCounter = VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( TimeDomainEXT value ) - { - switch ( value ) - { - case TimeDomainEXT::eDevice: return "Device"; - case TimeDomainEXT::eClockMonotonic: return "ClockMonotonic"; - case TimeDomainEXT::eClockMonotonicRaw: return "ClockMonotonicRaw"; - case TimeDomainEXT::eQueryPerformanceCounter: return "QueryPerformanceCounter"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_AMD_memory_overallocation_behavior === - - enum class MemoryOverallocationBehaviorAMD - { - eDefault = VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD, - eAllowed = VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD, - eDisallowed = VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD - }; - - VULKAN_HPP_INLINE std::string to_string( MemoryOverallocationBehaviorAMD value ) - { - switch ( value ) - { - case MemoryOverallocationBehaviorAMD::eDefault: return "Default"; - case MemoryOverallocationBehaviorAMD::eAllowed: return "Allowed"; - case MemoryOverallocationBehaviorAMD::eDisallowed: return "Disallowed"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_pipeline_creation_feedback === - - enum class PipelineCreationFeedbackFlagBitsEXT : VkPipelineCreationFeedbackFlagsEXT - { - eValid = VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT, - eApplicationPipelineCacheHit = VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT, - eBasePipelineAcceleration = VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlagBitsEXT value ) - { - switch ( value ) - { - case PipelineCreationFeedbackFlagBitsEXT::eValid: return "Valid"; - case PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit: return "ApplicationPipelineCacheHit"; - case PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration: return "BasePipelineAcceleration"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_INTEL_performance_query === - - enum class PerformanceConfigurationTypeINTEL - { - eCommandQueueMetricsDiscoveryActivated = - VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceConfigurationTypeINTEL value ) - { - switch ( value ) - { - case PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated: - return "CommandQueueMetricsDiscoveryActivated"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class QueryPoolSamplingModeINTEL - { - eManual = VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL - }; - - VULKAN_HPP_INLINE std::string to_string( QueryPoolSamplingModeINTEL value ) - { - switch ( value ) - { - case QueryPoolSamplingModeINTEL::eManual: return "Manual"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceOverrideTypeINTEL - { - eNullHardware = VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL, - eFlushGpuCaches = VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceOverrideTypeINTEL value ) - { - switch ( value ) - { - case PerformanceOverrideTypeINTEL::eNullHardware: return "NullHardware"; - case PerformanceOverrideTypeINTEL::eFlushGpuCaches: return "FlushGpuCaches"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceParameterTypeINTEL - { - eHwCountersSupported = VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL, - eStreamMarkerValidBits = VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceParameterTypeINTEL value ) - { - switch ( value ) - { - case PerformanceParameterTypeINTEL::eHwCountersSupported: return "HwCountersSupported"; - case PerformanceParameterTypeINTEL::eStreamMarkerValidBits: return "StreamMarkerValidBits"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class PerformanceValueTypeINTEL - { - eUint32 = VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL, - eUint64 = VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL, - eFloat = VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL, - eBool = VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL, - eString = VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL - }; - - VULKAN_HPP_INLINE std::string to_string( PerformanceValueTypeINTEL value ) - { - switch ( value ) - { - case PerformanceValueTypeINTEL::eUint32: return "Uint32"; - case PerformanceValueTypeINTEL::eUint64: return "Uint64"; - case PerformanceValueTypeINTEL::eFloat: return "Float"; - case PerformanceValueTypeINTEL::eBool: return "Bool"; - case PerformanceValueTypeINTEL::eString: return "String"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_fragment_shading_rate === - - enum class FragmentShadingRateCombinerOpKHR - { - eKeep = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR, - eReplace = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR, - eMin = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR, - eMax = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR, - eMul = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateCombinerOpKHR value ) - { - switch ( value ) - { - case FragmentShadingRateCombinerOpKHR::eKeep: return "Keep"; - case FragmentShadingRateCombinerOpKHR::eReplace: return "Replace"; - case FragmentShadingRateCombinerOpKHR::eMin: return "Min"; - case FragmentShadingRateCombinerOpKHR::eMax: return "Max"; - case FragmentShadingRateCombinerOpKHR::eMul: return "Mul"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_AMD_shader_core_properties2 === - - enum class ShaderCorePropertiesFlagBitsAMD : VkShaderCorePropertiesFlagsAMD - { - }; - - VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagBitsAMD ) - { - return "(void)"; - } - - //=== VK_EXT_tooling_info === - - enum class ToolPurposeFlagBitsEXT : VkToolPurposeFlagsEXT - { - eValidation = VK_TOOL_PURPOSE_VALIDATION_BIT_EXT, - eProfiling = VK_TOOL_PURPOSE_PROFILING_BIT_EXT, - eTracing = VK_TOOL_PURPOSE_TRACING_BIT_EXT, - eAdditionalFeatures = VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT, - eModifyingFeatures = VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT, - eDebugReporting = VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT, - eDebugMarkers = VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlagBitsEXT value ) - { - switch ( value ) - { - case ToolPurposeFlagBitsEXT::eValidation: return "Validation"; - case ToolPurposeFlagBitsEXT::eProfiling: return "Profiling"; - case ToolPurposeFlagBitsEXT::eTracing: return "Tracing"; - case ToolPurposeFlagBitsEXT::eAdditionalFeatures: return "AdditionalFeatures"; - case ToolPurposeFlagBitsEXT::eModifyingFeatures: return "ModifyingFeatures"; - case ToolPurposeFlagBitsEXT::eDebugReporting: return "DebugReporting"; - case ToolPurposeFlagBitsEXT::eDebugMarkers: return "DebugMarkers"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_validation_features === - - enum class ValidationFeatureEnableEXT - { - eGpuAssisted = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT, - eGpuAssistedReserveBindingSlot = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT, - eBestPractices = VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT, - eDebugPrintf = VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT, - eSynchronizationValidation = VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ValidationFeatureEnableEXT value ) - { - switch ( value ) - { - case ValidationFeatureEnableEXT::eGpuAssisted: return "GpuAssisted"; - case ValidationFeatureEnableEXT::eGpuAssistedReserveBindingSlot: return "GpuAssistedReserveBindingSlot"; - case ValidationFeatureEnableEXT::eBestPractices: return "BestPractices"; - case ValidationFeatureEnableEXT::eDebugPrintf: return "DebugPrintf"; - case ValidationFeatureEnableEXT::eSynchronizationValidation: return "SynchronizationValidation"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ValidationFeatureDisableEXT - { - eAll = VK_VALIDATION_FEATURE_DISABLE_ALL_EXT, - eShaders = VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT, - eThreadSafety = VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT, - eApiParameters = VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT, - eObjectLifetimes = VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT, - eCoreChecks = VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT, - eUniqueHandles = VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ValidationFeatureDisableEXT value ) - { - switch ( value ) - { - case ValidationFeatureDisableEXT::eAll: return "All"; - case ValidationFeatureDisableEXT::eShaders: return "Shaders"; - case ValidationFeatureDisableEXT::eThreadSafety: return "ThreadSafety"; - case ValidationFeatureDisableEXT::eApiParameters: return "ApiParameters"; - case ValidationFeatureDisableEXT::eObjectLifetimes: return "ObjectLifetimes"; - case ValidationFeatureDisableEXT::eCoreChecks: return "CoreChecks"; - case ValidationFeatureDisableEXT::eUniqueHandles: return "UniqueHandles"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_cooperative_matrix === - - enum class ScopeNV - { - eDevice = VK_SCOPE_DEVICE_NV, - eWorkgroup = VK_SCOPE_WORKGROUP_NV, - eSubgroup = VK_SCOPE_SUBGROUP_NV, - eQueueFamily = VK_SCOPE_QUEUE_FAMILY_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ScopeNV value ) - { - switch ( value ) - { - case ScopeNV::eDevice: return "Device"; - case ScopeNV::eWorkgroup: return "Workgroup"; - case ScopeNV::eSubgroup: return "Subgroup"; - case ScopeNV::eQueueFamily: return "QueueFamily"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ComponentTypeNV - { - eFloat16 = VK_COMPONENT_TYPE_FLOAT16_NV, - eFloat32 = VK_COMPONENT_TYPE_FLOAT32_NV, - eFloat64 = VK_COMPONENT_TYPE_FLOAT64_NV, - eSint8 = VK_COMPONENT_TYPE_SINT8_NV, - eSint16 = VK_COMPONENT_TYPE_SINT16_NV, - eSint32 = VK_COMPONENT_TYPE_SINT32_NV, - eSint64 = VK_COMPONENT_TYPE_SINT64_NV, - eUint8 = VK_COMPONENT_TYPE_UINT8_NV, - eUint16 = VK_COMPONENT_TYPE_UINT16_NV, - eUint32 = VK_COMPONENT_TYPE_UINT32_NV, - eUint64 = VK_COMPONENT_TYPE_UINT64_NV - }; - - VULKAN_HPP_INLINE std::string to_string( ComponentTypeNV value ) - { - switch ( value ) - { - case ComponentTypeNV::eFloat16: return "Float16"; - case ComponentTypeNV::eFloat32: return "Float32"; - case ComponentTypeNV::eFloat64: return "Float64"; - case ComponentTypeNV::eSint8: return "Sint8"; - case ComponentTypeNV::eSint16: return "Sint16"; - case ComponentTypeNV::eSint32: return "Sint32"; - case ComponentTypeNV::eSint64: return "Sint64"; - case ComponentTypeNV::eUint8: return "Uint8"; - case ComponentTypeNV::eUint16: return "Uint16"; - case ComponentTypeNV::eUint32: return "Uint32"; - case ComponentTypeNV::eUint64: return "Uint64"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_coverage_reduction_mode === - - enum class CoverageReductionModeNV - { - eMerge = VK_COVERAGE_REDUCTION_MODE_MERGE_NV, - eTruncate = VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV - }; - - VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value ) - { - switch ( value ) - { - case CoverageReductionModeNV::eMerge: return "Merge"; - case CoverageReductionModeNV::eTruncate: return "Truncate"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_provoking_vertex === - - enum class ProvokingVertexModeEXT - { - eFirstVertex = VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT, - eLastVertex = VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( ProvokingVertexModeEXT value ) - { - switch ( value ) - { - case ProvokingVertexModeEXT::eFirstVertex: return "FirstVertex"; - case ProvokingVertexModeEXT::eLastVertex: return "LastVertex"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_EXT_full_screen_exclusive === - - enum class FullScreenExclusiveEXT - { - eDefault = VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT, - eAllowed = VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT, - eDisallowed = VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT, - eApplicationControlled = VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( FullScreenExclusiveEXT value ) - { - switch ( value ) - { - case FullScreenExclusiveEXT::eDefault: return "Default"; - case FullScreenExclusiveEXT::eAllowed: return "Allowed"; - case FullScreenExclusiveEXT::eDisallowed: return "Disallowed"; - case FullScreenExclusiveEXT::eApplicationControlled: return "ApplicationControlled"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_EXT_line_rasterization === - - enum class LineRasterizationModeEXT - { - eDefault = VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT, - eRectangular = VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT, - eBresenham = VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT, - eRectangularSmooth = VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( LineRasterizationModeEXT value ) - { - switch ( value ) - { - case LineRasterizationModeEXT::eDefault: return "Default"; - case LineRasterizationModeEXT::eRectangular: return "Rectangular"; - case LineRasterizationModeEXT::eBresenham: return "Bresenham"; - case LineRasterizationModeEXT::eRectangularSmooth: return "RectangularSmooth"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_pipeline_executable_properties === - - enum class PipelineExecutableStatisticFormatKHR - { - eBool32 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR, - eInt64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR, - eUint64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR, - eFloat64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineExecutableStatisticFormatKHR value ) - { - switch ( value ) - { - case PipelineExecutableStatisticFormatKHR::eBool32: return "Bool32"; - case PipelineExecutableStatisticFormatKHR::eInt64: return "Int64"; - case PipelineExecutableStatisticFormatKHR::eUint64: return "Uint64"; - case PipelineExecutableStatisticFormatKHR::eFloat64: return "Float64"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_device_generated_commands === - - enum class IndirectStateFlagBitsNV : VkIndirectStateFlagsNV - { - eFlagFrontface = VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagBitsNV value ) - { - switch ( value ) - { - case IndirectStateFlagBitsNV::eFlagFrontface: return "FlagFrontface"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class IndirectCommandsTokenTypeNV - { - eShaderGroup = VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV, - eStateFlags = VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV, - eIndexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV, - eVertexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV, - ePushConstant = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, - eDrawIndexed = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV, - eDraw = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV, - eDrawTasks = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV - }; - - VULKAN_HPP_INLINE std::string to_string( IndirectCommandsTokenTypeNV value ) - { - switch ( value ) - { - case IndirectCommandsTokenTypeNV::eShaderGroup: return "ShaderGroup"; - case IndirectCommandsTokenTypeNV::eStateFlags: return "StateFlags"; - case IndirectCommandsTokenTypeNV::eIndexBuffer: return "IndexBuffer"; - case IndirectCommandsTokenTypeNV::eVertexBuffer: return "VertexBuffer"; - case IndirectCommandsTokenTypeNV::ePushConstant: return "PushConstant"; - case IndirectCommandsTokenTypeNV::eDrawIndexed: return "DrawIndexed"; - case IndirectCommandsTokenTypeNV::eDraw: return "Draw"; - case IndirectCommandsTokenTypeNV::eDrawTasks: return "DrawTasks"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class IndirectCommandsLayoutUsageFlagBitsNV : VkIndirectCommandsLayoutUsageFlagsNV - { - eExplicitPreprocess = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV, - eIndexedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV, - eUnorderedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagBitsNV value ) - { - switch ( value ) - { - case IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess: return "ExplicitPreprocess"; - case IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences: return "IndexedSequences"; - case IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences: return "UnorderedSequences"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_device_memory_report === - - enum class DeviceMemoryReportEventTypeEXT - { - eAllocate = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT, - eFree = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT, - eImport = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT, - eUnimport = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT, - eAllocationFailed = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportEventTypeEXT value ) - { - switch ( value ) - { - case DeviceMemoryReportEventTypeEXT::eAllocate: return "Allocate"; - case DeviceMemoryReportEventTypeEXT::eFree: return "Free"; - case DeviceMemoryReportEventTypeEXT::eImport: return "Import"; - case DeviceMemoryReportEventTypeEXT::eUnimport: return "Unimport"; - case DeviceMemoryReportEventTypeEXT::eAllocationFailed: return "AllocationFailed"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_EXT_private_data === - - enum class PrivateDataSlotCreateFlagBitsEXT : VkPrivateDataSlotCreateFlagsEXT - { - }; - - VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlagBitsEXT ) - { - return "(void)"; - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_encode_queue === - - enum class VideoEncodeFlagBitsKHR : VkVideoEncodeFlagsKHR - { - eDefault = VK_VIDEO_ENCODE_DEFAULT_KHR, - eReserved0 = VK_VIDEO_ENCODE_RESERVED_0_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeFlagBitsKHR value ) - { - switch ( value ) - { - case VideoEncodeFlagBitsKHR::eDefault: return "Default"; - case VideoEncodeFlagBitsKHR::eReserved0: return "Reserved0"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoEncodeRateControlFlagBitsKHR : VkVideoEncodeRateControlFlagsKHR - { - eDefault = VK_VIDEO_ENCODE_RATE_CONTROL_DEFAULT_KHR, - eReset = VK_VIDEO_ENCODE_RATE_CONTROL_RESET_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlFlagBitsKHR value ) - { - switch ( value ) - { - case VideoEncodeRateControlFlagBitsKHR::eDefault: return "Default"; - case VideoEncodeRateControlFlagBitsKHR::eReset: return "Reset"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class VideoEncodeRateControlModeFlagBitsKHR : VkVideoEncodeRateControlModeFlagsKHR - { - eNone = VK_VIDEO_ENCODE_RATE_CONTROL_MODE_NONE_BIT_KHR, - eCbr = VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR, - eVbr = VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlModeFlagBitsKHR value ) - { - switch ( value ) - { - case VideoEncodeRateControlModeFlagBitsKHR::eNone: return "None"; - case VideoEncodeRateControlModeFlagBitsKHR::eCbr: return "Cbr"; - case VideoEncodeRateControlModeFlagBitsKHR::eVbr: return "Vbr"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_NV_device_diagnostics_config === - - enum class DeviceDiagnosticsConfigFlagBitsNV : VkDeviceDiagnosticsConfigFlagsNV - { - eEnableShaderDebugInfo = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV, - eEnableResourceTracking = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV, - eEnableAutomaticCheckpoints = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagBitsNV value ) - { - switch ( value ) - { - case DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo: return "EnableShaderDebugInfo"; - case DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking: return "EnableResourceTracking"; - case DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints: return "EnableAutomaticCheckpoints"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_synchronization2 === - - enum class PipelineStageFlagBits2KHR : VkPipelineStageFlags2KHR - { - eNone = VK_PIPELINE_STAGE_2_NONE_KHR, - eTopOfPipe = VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR, - eDrawIndirect = VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR, - eVertexInput = VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR, - eVertexShader = VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR, - eTessellationControlShader = VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR, - eTessellationEvaluationShader = VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR, - eGeometryShader = VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR, - eFragmentShader = VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR, - eEarlyFragmentTests = VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR, - eLateFragmentTests = VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR, - eColorAttachmentOutput = VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR, - eComputeShader = VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR, - eAllTransfer = VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR, - eBottomOfPipe = VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR, - eHost = VK_PIPELINE_STAGE_2_HOST_BIT_KHR, - eAllGraphics = VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR, - eAllCommands = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR, - eCopy = VK_PIPELINE_STAGE_2_COPY_BIT_KHR, - eResolve = VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR, - eBlit = VK_PIPELINE_STAGE_2_BLIT_BIT_KHR, - eClear = VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR, - eIndexInput = VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR, - eVertexAttributeInput = VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR, - ePreRasterizationShaders = VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecode = VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR, - eVideoEncode = VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eTransformFeedbackExt = VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT, - eConditionalRenderingExt = VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT, - eCommandPreprocessNv = VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV, - eFragmentShadingRateAttachment = VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, - eAccelerationStructureBuild = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, - eRayTracingShader = VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR, - eFragmentDensityProcessExt = VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT, - eTaskShaderNv = VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_NV, - eMeshShaderNv = VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_NV, - eAccelerationStructureBuildNv = VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV, - eRayTracingShaderNv = VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_NV, - eShadingRateImageNv = VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV, - eTransfer = VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineStageFlagBits2KHR value ) - { - switch ( value ) - { - case PipelineStageFlagBits2KHR::eNone: return "None"; - case PipelineStageFlagBits2KHR::eTopOfPipe: return "TopOfPipe"; - case PipelineStageFlagBits2KHR::eDrawIndirect: return "DrawIndirect"; - case PipelineStageFlagBits2KHR::eVertexInput: return "VertexInput"; - case PipelineStageFlagBits2KHR::eVertexShader: return "VertexShader"; - case PipelineStageFlagBits2KHR::eTessellationControlShader: return "TessellationControlShader"; - case PipelineStageFlagBits2KHR::eTessellationEvaluationShader: return "TessellationEvaluationShader"; - case PipelineStageFlagBits2KHR::eGeometryShader: return "GeometryShader"; - case PipelineStageFlagBits2KHR::eFragmentShader: return "FragmentShader"; - case PipelineStageFlagBits2KHR::eEarlyFragmentTests: return "EarlyFragmentTests"; - case PipelineStageFlagBits2KHR::eLateFragmentTests: return "LateFragmentTests"; - case PipelineStageFlagBits2KHR::eColorAttachmentOutput: return "ColorAttachmentOutput"; - case PipelineStageFlagBits2KHR::eComputeShader: return "ComputeShader"; - case PipelineStageFlagBits2KHR::eAllTransfer: return "AllTransfer"; - case PipelineStageFlagBits2KHR::eBottomOfPipe: return "BottomOfPipe"; - case PipelineStageFlagBits2KHR::eHost: return "Host"; - case PipelineStageFlagBits2KHR::eAllGraphics: return "AllGraphics"; - case PipelineStageFlagBits2KHR::eAllCommands: return "AllCommands"; - case PipelineStageFlagBits2KHR::eCopy: return "Copy"; - case PipelineStageFlagBits2KHR::eResolve: return "Resolve"; - case PipelineStageFlagBits2KHR::eBlit: return "Blit"; - case PipelineStageFlagBits2KHR::eClear: return "Clear"; - case PipelineStageFlagBits2KHR::eIndexInput: return "IndexInput"; - case PipelineStageFlagBits2KHR::eVertexAttributeInput: return "VertexAttributeInput"; - case PipelineStageFlagBits2KHR::ePreRasterizationShaders: return "PreRasterizationShaders"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case PipelineStageFlagBits2KHR::eVideoDecode: return "VideoDecode"; - case PipelineStageFlagBits2KHR::eVideoEncode: return "VideoEncode"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case PipelineStageFlagBits2KHR::eTransformFeedbackExt: return "TransformFeedbackExt"; - case PipelineStageFlagBits2KHR::eConditionalRenderingExt: return "ConditionalRenderingExt"; - case PipelineStageFlagBits2KHR::eCommandPreprocessNv: return "CommandPreprocessNv"; - case PipelineStageFlagBits2KHR::eFragmentShadingRateAttachment: return "FragmentShadingRateAttachment"; - case PipelineStageFlagBits2KHR::eAccelerationStructureBuild: return "AccelerationStructureBuild"; - case PipelineStageFlagBits2KHR::eRayTracingShader: return "RayTracingShader"; - case PipelineStageFlagBits2KHR::eFragmentDensityProcessExt: return "FragmentDensityProcessExt"; - case PipelineStageFlagBits2KHR::eTaskShaderNv: return "TaskShaderNv"; - case PipelineStageFlagBits2KHR::eMeshShaderNv: return "MeshShaderNv"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class AccessFlagBits2KHR : VkAccessFlags2KHR - { - eNone = VK_ACCESS_2_NONE_KHR, - eIndirectCommandRead = VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR, - eIndexRead = VK_ACCESS_2_INDEX_READ_BIT_KHR, - eVertexAttributeRead = VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR, - eUniformRead = VK_ACCESS_2_UNIFORM_READ_BIT_KHR, - eInputAttachmentRead = VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR, - eShaderRead = VK_ACCESS_2_SHADER_READ_BIT_KHR, - eShaderWrite = VK_ACCESS_2_SHADER_WRITE_BIT_KHR, - eColorAttachmentRead = VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR, - eColorAttachmentWrite = VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR, - eDepthStencilAttachmentRead = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR, - eDepthStencilAttachmentWrite = VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR, - eTransferRead = VK_ACCESS_2_TRANSFER_READ_BIT_KHR, - eTransferWrite = VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR, - eHostRead = VK_ACCESS_2_HOST_READ_BIT_KHR, - eHostWrite = VK_ACCESS_2_HOST_WRITE_BIT_KHR, - eMemoryRead = VK_ACCESS_2_MEMORY_READ_BIT_KHR, - eMemoryWrite = VK_ACCESS_2_MEMORY_WRITE_BIT_KHR, - eShaderSampledRead = VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR, - eShaderStorageRead = VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR, - eShaderStorageWrite = VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR, -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - eVideoDecodeRead = VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR, - eVideoDecodeWrite = VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR, - eVideoEncodeRead = VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR, - eVideoEncodeWrite = VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR, -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - eTransformFeedbackWriteExt = VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, - eTransformFeedbackCounterReadExt = VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, - eTransformFeedbackCounterWriteExt = VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, - eConditionalRenderingReadExt = VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT, - eCommandPreprocessReadNv = VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV, - eCommandPreprocessWriteNv = VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV, - eFragmentShadingRateAttachmentRead = VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR, - eAccelerationStructureRead = VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR, - eAccelerationStructureWrite = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, - eFragmentDensityMapReadExt = VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, - eColorAttachmentReadNoncoherentExt = VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, - eAccelerationStructureReadNv = VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_NV, - eAccelerationStructureWriteNv = VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_NV, - eShadingRateImageReadNv = VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV - }; - - VULKAN_HPP_INLINE std::string to_string( AccessFlagBits2KHR value ) - { - switch ( value ) - { - case AccessFlagBits2KHR::eNone: return "None"; - case AccessFlagBits2KHR::eIndirectCommandRead: return "IndirectCommandRead"; - case AccessFlagBits2KHR::eIndexRead: return "IndexRead"; - case AccessFlagBits2KHR::eVertexAttributeRead: return "VertexAttributeRead"; - case AccessFlagBits2KHR::eUniformRead: return "UniformRead"; - case AccessFlagBits2KHR::eInputAttachmentRead: return "InputAttachmentRead"; - case AccessFlagBits2KHR::eShaderRead: return "ShaderRead"; - case AccessFlagBits2KHR::eShaderWrite: return "ShaderWrite"; - case AccessFlagBits2KHR::eColorAttachmentRead: return "ColorAttachmentRead"; - case AccessFlagBits2KHR::eColorAttachmentWrite: return "ColorAttachmentWrite"; - case AccessFlagBits2KHR::eDepthStencilAttachmentRead: return "DepthStencilAttachmentRead"; - case AccessFlagBits2KHR::eDepthStencilAttachmentWrite: return "DepthStencilAttachmentWrite"; - case AccessFlagBits2KHR::eTransferRead: return "TransferRead"; - case AccessFlagBits2KHR::eTransferWrite: return "TransferWrite"; - case AccessFlagBits2KHR::eHostRead: return "HostRead"; - case AccessFlagBits2KHR::eHostWrite: return "HostWrite"; - case AccessFlagBits2KHR::eMemoryRead: return "MemoryRead"; - case AccessFlagBits2KHR::eMemoryWrite: return "MemoryWrite"; - case AccessFlagBits2KHR::eShaderSampledRead: return "ShaderSampledRead"; - case AccessFlagBits2KHR::eShaderStorageRead: return "ShaderStorageRead"; - case AccessFlagBits2KHR::eShaderStorageWrite: return "ShaderStorageWrite"; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - case AccessFlagBits2KHR::eVideoDecodeRead: return "VideoDecodeRead"; - case AccessFlagBits2KHR::eVideoDecodeWrite: return "VideoDecodeWrite"; - case AccessFlagBits2KHR::eVideoEncodeRead: return "VideoEncodeRead"; - case AccessFlagBits2KHR::eVideoEncodeWrite: return "VideoEncodeWrite"; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - case AccessFlagBits2KHR::eTransformFeedbackWriteExt: return "TransformFeedbackWriteExt"; - case AccessFlagBits2KHR::eTransformFeedbackCounterReadExt: return "TransformFeedbackCounterReadExt"; - case AccessFlagBits2KHR::eTransformFeedbackCounterWriteExt: return "TransformFeedbackCounterWriteExt"; - case AccessFlagBits2KHR::eConditionalRenderingReadExt: return "ConditionalRenderingReadExt"; - case AccessFlagBits2KHR::eCommandPreprocessReadNv: return "CommandPreprocessReadNv"; - case AccessFlagBits2KHR::eCommandPreprocessWriteNv: return "CommandPreprocessWriteNv"; - case AccessFlagBits2KHR::eFragmentShadingRateAttachmentRead: return "FragmentShadingRateAttachmentRead"; - case AccessFlagBits2KHR::eAccelerationStructureRead: return "AccelerationStructureRead"; - case AccessFlagBits2KHR::eAccelerationStructureWrite: return "AccelerationStructureWrite"; - case AccessFlagBits2KHR::eFragmentDensityMapReadExt: return "FragmentDensityMapReadExt"; - case AccessFlagBits2KHR::eColorAttachmentReadNoncoherentExt: return "ColorAttachmentReadNoncoherentExt"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class SubmitFlagBitsKHR : VkSubmitFlagsKHR - { - eProtected = VK_SUBMIT_PROTECTED_BIT_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( SubmitFlagBitsKHR value ) - { - switch ( value ) - { - case SubmitFlagBitsKHR::eProtected: return "Protected"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_NV_fragment_shading_rate_enums === - - enum class FragmentShadingRateNV - { - e1InvocationPerPixel = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV, - e1InvocationPer1X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV, - e1InvocationPer2X1Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV, - e1InvocationPer2X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV, - e1InvocationPer2X4Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV, - e1InvocationPer4X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV, - e1InvocationPer4X4Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV, - e2InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV, - e4InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV, - e8InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV, - e16InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV, - eNoInvocations = VK_FRAGMENT_SHADING_RATE_NO_INVOCATIONS_NV - }; - - VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateNV value ) - { - switch ( value ) - { - case FragmentShadingRateNV::e1InvocationPerPixel: return "1InvocationPerPixel"; - case FragmentShadingRateNV::e1InvocationPer1X2Pixels: return "1InvocationPer1X2Pixels"; - case FragmentShadingRateNV::e1InvocationPer2X1Pixels: return "1InvocationPer2X1Pixels"; - case FragmentShadingRateNV::e1InvocationPer2X2Pixels: return "1InvocationPer2X2Pixels"; - case FragmentShadingRateNV::e1InvocationPer2X4Pixels: return "1InvocationPer2X4Pixels"; - case FragmentShadingRateNV::e1InvocationPer4X2Pixels: return "1InvocationPer4X2Pixels"; - case FragmentShadingRateNV::e1InvocationPer4X4Pixels: return "1InvocationPer4X4Pixels"; - case FragmentShadingRateNV::e2InvocationsPerPixel: return "2InvocationsPerPixel"; - case FragmentShadingRateNV::e4InvocationsPerPixel: return "4InvocationsPerPixel"; - case FragmentShadingRateNV::e8InvocationsPerPixel: return "8InvocationsPerPixel"; - case FragmentShadingRateNV::e16InvocationsPerPixel: return "16InvocationsPerPixel"; - case FragmentShadingRateNV::eNoInvocations: return "NoInvocations"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class FragmentShadingRateTypeNV - { - eFragmentSize = VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV, - eEnums = VK_FRAGMENT_SHADING_RATE_TYPE_ENUMS_NV - }; - - VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateTypeNV value ) - { - switch ( value ) - { - case FragmentShadingRateTypeNV::eFragmentSize: return "FragmentSize"; - case FragmentShadingRateTypeNV::eEnums: return "Enums"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - //=== VK_KHR_ray_tracing_pipeline === - - enum class RayTracingShaderGroupTypeKHR - { - eGeneral = VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR, - eTrianglesHitGroup = VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR, - eProceduralHitGroup = VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR - }; - using RayTracingShaderGroupTypeNV = RayTracingShaderGroupTypeKHR; - - VULKAN_HPP_INLINE std::string to_string( RayTracingShaderGroupTypeKHR value ) - { - switch ( value ) - { - case RayTracingShaderGroupTypeKHR::eGeneral: return "General"; - case RayTracingShaderGroupTypeKHR::eTrianglesHitGroup: return "TrianglesHitGroup"; - case RayTracingShaderGroupTypeKHR::eProceduralHitGroup: return "ProceduralHitGroup"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - enum class ShaderGroupShaderKHR - { - eGeneral = VK_SHADER_GROUP_SHADER_GENERAL_KHR, - eClosestHit = VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR, - eAnyHit = VK_SHADER_GROUP_SHADER_ANY_HIT_KHR, - eIntersection = VK_SHADER_GROUP_SHADER_INTERSECTION_KHR - }; - - VULKAN_HPP_INLINE std::string to_string( ShaderGroupShaderKHR value ) - { - switch ( value ) - { - case ShaderGroupShaderKHR::eGeneral: return "General"; - case ShaderGroupShaderKHR::eClosestHit: return "ClosestHit"; - case ShaderGroupShaderKHR::eAnyHit: return "AnyHit"; - case ShaderGroupShaderKHR::eIntersection: return "Intersection"; - default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; - } - } - - template - struct cpp_type - {}; - - template - struct IndexTypeValue - {}; - - template <> - struct IndexTypeValue - { - static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint16; - }; - - template <> - struct CppType - { - using Type = uint16_t; - }; - - template <> - struct IndexTypeValue - { - static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint32; - }; - - template <> - struct CppType - { - using Type = uint32_t; - }; - - template <> - struct IndexTypeValue - { - static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint8EXT; - }; - - template <> - struct CppType - { - using Type = uint8_t; - }; - - //================ - //=== BITMASKs === - //================ - - //=== VK_VERSION_1_0 === - - using FormatFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( FormatFeatureFlagBits::eSampledImage ) | VkFlags( FormatFeatureFlagBits::eStorageImage ) | - VkFlags( FormatFeatureFlagBits::eStorageImageAtomic ) | VkFlags( FormatFeatureFlagBits::eUniformTexelBuffer ) | - VkFlags( FormatFeatureFlagBits::eStorageTexelBuffer ) | - VkFlags( FormatFeatureFlagBits::eStorageTexelBufferAtomic ) | VkFlags( FormatFeatureFlagBits::eVertexBuffer ) | - VkFlags( FormatFeatureFlagBits::eColorAttachment ) | VkFlags( FormatFeatureFlagBits::eColorAttachmentBlend ) | - VkFlags( FormatFeatureFlagBits::eDepthStencilAttachment ) | VkFlags( FormatFeatureFlagBits::eBlitSrc ) | - VkFlags( FormatFeatureFlagBits::eBlitDst ) | VkFlags( FormatFeatureFlagBits::eSampledImageFilterLinear ) | - VkFlags( FormatFeatureFlagBits::eTransferSrc ) | VkFlags( FormatFeatureFlagBits::eTransferDst ) | - VkFlags( FormatFeatureFlagBits::eMidpointChromaSamples ) | - VkFlags( FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter ) | - VkFlags( FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter ) | - VkFlags( FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit ) | - VkFlags( FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) | - VkFlags( FormatFeatureFlagBits::eDisjoint ) | VkFlags( FormatFeatureFlagBits::eCositedChromaSamples ) | - VkFlags( FormatFeatureFlagBits::eSampledImageFilterMinmax ) | - VkFlags( FormatFeatureFlagBits::eSampledImageFilterCubicIMG ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( FormatFeatureFlagBits::eVideoDecodeOutputKHR ) | VkFlags( FormatFeatureFlagBits::eVideoDecodeDpbKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - | VkFlags( FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR ) | - VkFlags( FormatFeatureFlagBits::eFragmentDensityMapEXT ) | - VkFlags( FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( FormatFeatureFlagBits::eVideoEncodeInputKHR ) | VkFlags( FormatFeatureFlagBits::eVideoEncodeDpbKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator|( FormatFeatureFlagBits bit0, - FormatFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FormatFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator&(FormatFeatureFlagBits bit0, - FormatFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return FormatFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator^( FormatFeatureFlagBits bit0, - FormatFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FormatFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator~( FormatFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( FormatFeatureFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & FormatFeatureFlagBits::eSampledImage ) - result += "SampledImage | "; - if ( value & FormatFeatureFlagBits::eStorageImage ) - result += "StorageImage | "; - if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) - result += "StorageImageAtomic | "; - if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) - result += "UniformTexelBuffer | "; - if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) - result += "StorageTexelBuffer | "; - if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) - result += "StorageTexelBufferAtomic | "; - if ( value & FormatFeatureFlagBits::eVertexBuffer ) - result += "VertexBuffer | "; - if ( value & FormatFeatureFlagBits::eColorAttachment ) - result += "ColorAttachment | "; - if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) - result += "ColorAttachmentBlend | "; - if ( value & FormatFeatureFlagBits::eDepthStencilAttachment ) - result += "DepthStencilAttachment | "; - if ( value & FormatFeatureFlagBits::eBlitSrc ) - result += "BlitSrc | "; - if ( value & FormatFeatureFlagBits::eBlitDst ) - result += "BlitDst | "; - if ( value & FormatFeatureFlagBits::eSampledImageFilterLinear ) - result += "SampledImageFilterLinear | "; - if ( value & FormatFeatureFlagBits::eTransferSrc ) - result += "TransferSrc | "; - if ( value & FormatFeatureFlagBits::eTransferDst ) - result += "TransferDst | "; - if ( value & FormatFeatureFlagBits::eMidpointChromaSamples ) - result += "MidpointChromaSamples | "; - if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter ) - result += "SampledImageYcbcrConversionLinearFilter | "; - if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter ) - result += "SampledImageYcbcrConversionSeparateReconstructionFilter | "; - if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit ) - result += "SampledImageYcbcrConversionChromaReconstructionExplicit | "; - if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) - result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | "; - if ( value & FormatFeatureFlagBits::eDisjoint ) - result += "Disjoint | "; - if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) - result += "CositedChromaSamples | "; - if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmax ) - result += "SampledImageFilterMinmax | "; - if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG ) - result += "SampledImageFilterCubicIMG | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & FormatFeatureFlagBits::eVideoDecodeOutputKHR ) - result += "VideoDecodeOutputKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & FormatFeatureFlagBits::eVideoDecodeDpbKHR ) - result += "VideoDecodeDpbKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - if ( value & FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR ) - result += "AccelerationStructureVertexBufferKHR | "; - if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT ) - result += "FragmentDensityMapEXT | "; - if ( value & FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR ) - result += "FragmentShadingRateAttachmentKHR | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & FormatFeatureFlagBits::eVideoEncodeInputKHR ) - result += "VideoEncodeInputKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & FormatFeatureFlagBits::eVideoEncodeDpbKHR ) - result += "VideoEncodeDpbKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ImageCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ImageCreateFlagBits::eSparseBinding ) | VkFlags( ImageCreateFlagBits::eSparseResidency ) | - VkFlags( ImageCreateFlagBits::eSparseAliased ) | VkFlags( ImageCreateFlagBits::eMutableFormat ) | - VkFlags( ImageCreateFlagBits::eCubeCompatible ) | VkFlags( ImageCreateFlagBits::eAlias ) | - VkFlags( ImageCreateFlagBits::eSplitInstanceBindRegions ) | - VkFlags( ImageCreateFlagBits::e2DArrayCompatible ) | - VkFlags( ImageCreateFlagBits::eBlockTexelViewCompatible ) | - VkFlags( ImageCreateFlagBits::eExtendedUsage ) | VkFlags( ImageCreateFlagBits::eProtected ) | - VkFlags( ImageCreateFlagBits::eDisjoint ) | VkFlags( ImageCreateFlagBits::eCornerSampledNV ) | - VkFlags( ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) | - VkFlags( ImageCreateFlagBits::eSubsampledEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator|( ImageCreateFlagBits bit0, - ImageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator&(ImageCreateFlagBits bit0, - ImageCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ImageCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator^( ImageCreateFlagBits bit0, - ImageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator~( ImageCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ImageCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ImageCreateFlagBits::eSparseBinding ) - result += "SparseBinding | "; - if ( value & ImageCreateFlagBits::eSparseResidency ) - result += "SparseResidency | "; - if ( value & ImageCreateFlagBits::eSparseAliased ) - result += "SparseAliased | "; - if ( value & ImageCreateFlagBits::eMutableFormat ) - result += "MutableFormat | "; - if ( value & ImageCreateFlagBits::eCubeCompatible ) - result += "CubeCompatible | "; - if ( value & ImageCreateFlagBits::eAlias ) - result += "Alias | "; - if ( value & ImageCreateFlagBits::eSplitInstanceBindRegions ) - result += "SplitInstanceBindRegions | "; - if ( value & ImageCreateFlagBits::e2DArrayCompatible ) - result += "2DArrayCompatible | "; - if ( value & ImageCreateFlagBits::eBlockTexelViewCompatible ) - result += "BlockTexelViewCompatible | "; - if ( value & ImageCreateFlagBits::eExtendedUsage ) - result += "ExtendedUsage | "; - if ( value & ImageCreateFlagBits::eProtected ) - result += "Protected | "; - if ( value & ImageCreateFlagBits::eDisjoint ) - result += "Disjoint | "; - if ( value & ImageCreateFlagBits::eCornerSampledNV ) - result += "CornerSampledNV | "; - if ( value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) - result += "SampleLocationsCompatibleDepthEXT | "; - if ( value & ImageCreateFlagBits::eSubsampledEXT ) - result += "SubsampledEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ImageUsageFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( ImageUsageFlagBits::eTransferSrc ) | VkFlags( ImageUsageFlagBits::eTransferDst ) | - VkFlags( ImageUsageFlagBits::eSampled ) | VkFlags( ImageUsageFlagBits::eStorage ) | - VkFlags( ImageUsageFlagBits::eColorAttachment ) | VkFlags( ImageUsageFlagBits::eDepthStencilAttachment ) | - VkFlags( ImageUsageFlagBits::eTransientAttachment ) | VkFlags( ImageUsageFlagBits::eInputAttachment ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( ImageUsageFlagBits::eVideoDecodeDstKHR ) | VkFlags( ImageUsageFlagBits::eVideoDecodeSrcKHR ) | - VkFlags( ImageUsageFlagBits::eVideoDecodeDpbKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - | VkFlags( ImageUsageFlagBits::eShadingRateImageNV ) | VkFlags( ImageUsageFlagBits::eFragmentDensityMapEXT ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( ImageUsageFlagBits::eVideoEncodeDstKHR ) | VkFlags( ImageUsageFlagBits::eVideoEncodeSrcKHR ) | - VkFlags( ImageUsageFlagBits::eVideoEncodeDpbKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator|( ImageUsageFlagBits bit0, - ImageUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageUsageFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator&(ImageUsageFlagBits bit0, - ImageUsageFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ImageUsageFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator^( ImageUsageFlagBits bit0, - ImageUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageUsageFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator~( ImageUsageFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ImageUsageFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ImageUsageFlagBits::eTransferSrc ) - result += "TransferSrc | "; - if ( value & ImageUsageFlagBits::eTransferDst ) - result += "TransferDst | "; - if ( value & ImageUsageFlagBits::eSampled ) - result += "Sampled | "; - if ( value & ImageUsageFlagBits::eStorage ) - result += "Storage | "; - if ( value & ImageUsageFlagBits::eColorAttachment ) - result += "ColorAttachment | "; - if ( value & ImageUsageFlagBits::eDepthStencilAttachment ) - result += "DepthStencilAttachment | "; - if ( value & ImageUsageFlagBits::eTransientAttachment ) - result += "TransientAttachment | "; - if ( value & ImageUsageFlagBits::eInputAttachment ) - result += "InputAttachment | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoDecodeDstKHR ) - result += "VideoDecodeDstKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoDecodeSrcKHR ) - result += "VideoDecodeSrcKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoDecodeDpbKHR ) - result += "VideoDecodeDpbKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - if ( value & ImageUsageFlagBits::eShadingRateImageNV ) - result += "ShadingRateImageNV | "; - if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT ) - result += "FragmentDensityMapEXT | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoEncodeDstKHR ) - result += "VideoEncodeDstKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoEncodeSrcKHR ) - result += "VideoEncodeSrcKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & ImageUsageFlagBits::eVideoEncodeDpbKHR ) - result += "VideoEncodeDpbKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using InstanceCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags ) - { - return "{}"; - } - - using MemoryHeapFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( MemoryHeapFlagBits::eDeviceLocal ) | VkFlags( MemoryHeapFlagBits::eMultiInstance ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator|( MemoryHeapFlagBits bit0, - MemoryHeapFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryHeapFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator&(MemoryHeapFlagBits bit0, - MemoryHeapFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return MemoryHeapFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator^( MemoryHeapFlagBits bit0, - MemoryHeapFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryHeapFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator~( MemoryHeapFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( MemoryHeapFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & MemoryHeapFlagBits::eDeviceLocal ) - result += "DeviceLocal | "; - if ( value & MemoryHeapFlagBits::eMultiInstance ) - result += "MultiInstance | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using MemoryPropertyFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( MemoryPropertyFlagBits::eDeviceLocal ) | VkFlags( MemoryPropertyFlagBits::eHostVisible ) | - VkFlags( MemoryPropertyFlagBits::eHostCoherent ) | VkFlags( MemoryPropertyFlagBits::eHostCached ) | - VkFlags( MemoryPropertyFlagBits::eLazilyAllocated ) | VkFlags( MemoryPropertyFlagBits::eProtected ) | - VkFlags( MemoryPropertyFlagBits::eDeviceCoherentAMD ) | - VkFlags( MemoryPropertyFlagBits::eDeviceUncachedAMD ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags - operator|( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryPropertyFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator&(MemoryPropertyFlagBits bit0, - MemoryPropertyFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return MemoryPropertyFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags - operator^( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryPropertyFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator~( MemoryPropertyFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( MemoryPropertyFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & MemoryPropertyFlagBits::eDeviceLocal ) - result += "DeviceLocal | "; - if ( value & MemoryPropertyFlagBits::eHostVisible ) - result += "HostVisible | "; - if ( value & MemoryPropertyFlagBits::eHostCoherent ) - result += "HostCoherent | "; - if ( value & MemoryPropertyFlagBits::eHostCached ) - result += "HostCached | "; - if ( value & MemoryPropertyFlagBits::eLazilyAllocated ) - result += "LazilyAllocated | "; - if ( value & MemoryPropertyFlagBits::eProtected ) - result += "Protected | "; - if ( value & MemoryPropertyFlagBits::eDeviceCoherentAMD ) - result += "DeviceCoherentAMD | "; - if ( value & MemoryPropertyFlagBits::eDeviceUncachedAMD ) - result += "DeviceUncachedAMD | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using QueueFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( QueueFlagBits::eGraphics ) | VkFlags( QueueFlagBits::eCompute ) | - VkFlags( QueueFlagBits::eTransfer ) | VkFlags( QueueFlagBits::eSparseBinding ) | - VkFlags( QueueFlagBits::eProtected ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( QueueFlagBits::eVideoDecodeKHR ) | VkFlags( QueueFlagBits::eVideoEncodeKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator|( QueueFlagBits bit0, - QueueFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueueFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator&(QueueFlagBits bit0, QueueFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return QueueFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator^( QueueFlagBits bit0, - QueueFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueueFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator~( QueueFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( QueueFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & QueueFlagBits::eGraphics ) - result += "Graphics | "; - if ( value & QueueFlagBits::eCompute ) - result += "Compute | "; - if ( value & QueueFlagBits::eTransfer ) - result += "Transfer | "; - if ( value & QueueFlagBits::eSparseBinding ) - result += "SparseBinding | "; - if ( value & QueueFlagBits::eProtected ) - result += "Protected | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & QueueFlagBits::eVideoDecodeKHR ) - result += "VideoDecodeKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & QueueFlagBits::eVideoEncodeKHR ) - result += "VideoEncodeKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SampleCountFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SampleCountFlagBits::e1 ) | VkFlags( SampleCountFlagBits::e2 ) | - VkFlags( SampleCountFlagBits::e4 ) | VkFlags( SampleCountFlagBits::e8 ) | - VkFlags( SampleCountFlagBits::e16 ) | VkFlags( SampleCountFlagBits::e32 ) | - VkFlags( SampleCountFlagBits::e64 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator|( SampleCountFlagBits bit0, - SampleCountFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SampleCountFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator&(SampleCountFlagBits bit0, - SampleCountFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SampleCountFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator^( SampleCountFlagBits bit0, - SampleCountFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SampleCountFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator~( SampleCountFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( SampleCountFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SampleCountFlagBits::e1 ) - result += "1 | "; - if ( value & SampleCountFlagBits::e2 ) - result += "2 | "; - if ( value & SampleCountFlagBits::e4 ) - result += "4 | "; - if ( value & SampleCountFlagBits::e8 ) - result += "8 | "; - if ( value & SampleCountFlagBits::e16 ) - result += "16 | "; - if ( value & SampleCountFlagBits::e32 ) - result += "32 | "; - if ( value & SampleCountFlagBits::e64 ) - result += "64 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using DeviceCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) - { - return "{}"; - } - - using DeviceQueueCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DeviceQueueCreateFlagBits::eProtected ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags - operator|( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceQueueCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags - operator&(DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return DeviceQueueCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags - operator^( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceQueueCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags operator~( DeviceQueueCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( DeviceQueueCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DeviceQueueCreateFlagBits::eProtected ) - result += "Protected | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using PipelineStageFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( PipelineStageFlagBits::eTopOfPipe ) | VkFlags( PipelineStageFlagBits::eDrawIndirect ) | - VkFlags( PipelineStageFlagBits::eVertexInput ) | VkFlags( PipelineStageFlagBits::eVertexShader ) | - VkFlags( PipelineStageFlagBits::eTessellationControlShader ) | - VkFlags( PipelineStageFlagBits::eTessellationEvaluationShader ) | - VkFlags( PipelineStageFlagBits::eGeometryShader ) | VkFlags( PipelineStageFlagBits::eFragmentShader ) | - VkFlags( PipelineStageFlagBits::eEarlyFragmentTests ) | VkFlags( PipelineStageFlagBits::eLateFragmentTests ) | - VkFlags( PipelineStageFlagBits::eColorAttachmentOutput ) | VkFlags( PipelineStageFlagBits::eComputeShader ) | - VkFlags( PipelineStageFlagBits::eTransfer ) | VkFlags( PipelineStageFlagBits::eBottomOfPipe ) | - VkFlags( PipelineStageFlagBits::eHost ) | VkFlags( PipelineStageFlagBits::eAllGraphics ) | - VkFlags( PipelineStageFlagBits::eAllCommands ) | VkFlags( PipelineStageFlagBits::eTransformFeedbackEXT ) | - VkFlags( PipelineStageFlagBits::eConditionalRenderingEXT ) | - VkFlags( PipelineStageFlagBits::eAccelerationStructureBuildKHR ) | - VkFlags( PipelineStageFlagBits::eRayTracingShaderKHR ) | VkFlags( PipelineStageFlagBits::eShadingRateImageNV ) | - VkFlags( PipelineStageFlagBits::eTaskShaderNV ) | VkFlags( PipelineStageFlagBits::eMeshShaderNV ) | - VkFlags( PipelineStageFlagBits::eFragmentDensityProcessEXT ) | - VkFlags( PipelineStageFlagBits::eCommandPreprocessNV ) | VkFlags( PipelineStageFlagBits::eNoneKHR ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator|( PipelineStageFlagBits bit0, - PipelineStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator&(PipelineStageFlagBits bit0, - PipelineStageFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator^( PipelineStageFlagBits bit0, - PipelineStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator~( PipelineStageFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( PipelineStageFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineStageFlagBits::eTopOfPipe ) - result += "TopOfPipe | "; - if ( value & PipelineStageFlagBits::eDrawIndirect ) - result += "DrawIndirect | "; - if ( value & PipelineStageFlagBits::eVertexInput ) - result += "VertexInput | "; - if ( value & PipelineStageFlagBits::eVertexShader ) - result += "VertexShader | "; - if ( value & PipelineStageFlagBits::eTessellationControlShader ) - result += "TessellationControlShader | "; - if ( value & PipelineStageFlagBits::eTessellationEvaluationShader ) - result += "TessellationEvaluationShader | "; - if ( value & PipelineStageFlagBits::eGeometryShader ) - result += "GeometryShader | "; - if ( value & PipelineStageFlagBits::eFragmentShader ) - result += "FragmentShader | "; - if ( value & PipelineStageFlagBits::eEarlyFragmentTests ) - result += "EarlyFragmentTests | "; - if ( value & PipelineStageFlagBits::eLateFragmentTests ) - result += "LateFragmentTests | "; - if ( value & PipelineStageFlagBits::eColorAttachmentOutput ) - result += "ColorAttachmentOutput | "; - if ( value & PipelineStageFlagBits::eComputeShader ) - result += "ComputeShader | "; - if ( value & PipelineStageFlagBits::eTransfer ) - result += "Transfer | "; - if ( value & PipelineStageFlagBits::eBottomOfPipe ) - result += "BottomOfPipe | "; - if ( value & PipelineStageFlagBits::eHost ) - result += "Host | "; - if ( value & PipelineStageFlagBits::eAllGraphics ) - result += "AllGraphics | "; - if ( value & PipelineStageFlagBits::eAllCommands ) - result += "AllCommands | "; - if ( value & PipelineStageFlagBits::eTransformFeedbackEXT ) - result += "TransformFeedbackEXT | "; - if ( value & PipelineStageFlagBits::eConditionalRenderingEXT ) - result += "ConditionalRenderingEXT | "; - if ( value & PipelineStageFlagBits::eAccelerationStructureBuildKHR ) - result += "AccelerationStructureBuildKHR | "; - if ( value & PipelineStageFlagBits::eRayTracingShaderKHR ) - result += "RayTracingShaderKHR | "; - if ( value & PipelineStageFlagBits::eShadingRateImageNV ) - result += "ShadingRateImageNV | "; - if ( value & PipelineStageFlagBits::eTaskShaderNV ) - result += "TaskShaderNV | "; - if ( value & PipelineStageFlagBits::eMeshShaderNV ) - result += "MeshShaderNV | "; - if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT ) - result += "FragmentDensityProcessEXT | "; - if ( value & PipelineStageFlagBits::eCommandPreprocessNV ) - result += "CommandPreprocessNV | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class MemoryMapFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( MemoryMapFlagBits ) - { - return "(void)"; - } - - using MemoryMapFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( MemoryMapFlags ) - { - return "{}"; - } - - using ImageAspectFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ImageAspectFlagBits::eColor ) | VkFlags( ImageAspectFlagBits::eDepth ) | - VkFlags( ImageAspectFlagBits::eStencil ) | VkFlags( ImageAspectFlagBits::eMetadata ) | - VkFlags( ImageAspectFlagBits::ePlane0 ) | VkFlags( ImageAspectFlagBits::ePlane1 ) | - VkFlags( ImageAspectFlagBits::ePlane2 ) | VkFlags( ImageAspectFlagBits::eMemoryPlane0EXT ) | - VkFlags( ImageAspectFlagBits::eMemoryPlane1EXT ) | VkFlags( ImageAspectFlagBits::eMemoryPlane2EXT ) | - VkFlags( ImageAspectFlagBits::eMemoryPlane3EXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator|( ImageAspectFlagBits bit0, - ImageAspectFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageAspectFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator&(ImageAspectFlagBits bit0, - ImageAspectFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ImageAspectFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator^( ImageAspectFlagBits bit0, - ImageAspectFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageAspectFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator~( ImageAspectFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ImageAspectFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ImageAspectFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ImageAspectFlagBits::eColor ) - result += "Color | "; - if ( value & ImageAspectFlagBits::eDepth ) - result += "Depth | "; - if ( value & ImageAspectFlagBits::eStencil ) - result += "Stencil | "; - if ( value & ImageAspectFlagBits::eMetadata ) - result += "Metadata | "; - if ( value & ImageAspectFlagBits::ePlane0 ) - result += "Plane0 | "; - if ( value & ImageAspectFlagBits::ePlane1 ) - result += "Plane1 | "; - if ( value & ImageAspectFlagBits::ePlane2 ) - result += "Plane2 | "; - if ( value & ImageAspectFlagBits::eMemoryPlane0EXT ) - result += "MemoryPlane0EXT | "; - if ( value & ImageAspectFlagBits::eMemoryPlane1EXT ) - result += "MemoryPlane1EXT | "; - if ( value & ImageAspectFlagBits::eMemoryPlane2EXT ) - result += "MemoryPlane2EXT | "; - if ( value & ImageAspectFlagBits::eMemoryPlane3EXT ) - result += "MemoryPlane3EXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SparseImageFormatFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SparseImageFormatFlagBits::eSingleMiptail ) | - VkFlags( SparseImageFormatFlagBits::eAlignedMipSize ) | - VkFlags( SparseImageFormatFlagBits::eNonstandardBlockSize ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags - operator|( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SparseImageFormatFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags - operator&(SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SparseImageFormatFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags - operator^( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SparseImageFormatFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags operator~( SparseImageFormatFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SparseImageFormatFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SparseImageFormatFlagBits::eSingleMiptail ) - result += "SingleMiptail | "; - if ( value & SparseImageFormatFlagBits::eAlignedMipSize ) - result += "AlignedMipSize | "; - if ( value & SparseImageFormatFlagBits::eNonstandardBlockSize ) - result += "NonstandardBlockSize | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SparseMemoryBindFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SparseMemoryBindFlagBits::eMetadata ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags - operator|( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SparseMemoryBindFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags - operator&(SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SparseMemoryBindFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags - operator^( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SparseMemoryBindFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags operator~( SparseMemoryBindFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SparseMemoryBindFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SparseMemoryBindFlagBits::eMetadata ) - result += "Metadata | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using FenceCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( FenceCreateFlagBits::eSignaled ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator|( FenceCreateFlagBits bit0, - FenceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FenceCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator&(FenceCreateFlagBits bit0, - FenceCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return FenceCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator^( FenceCreateFlagBits bit0, - FenceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FenceCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator~( FenceCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( FenceCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( FenceCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & FenceCreateFlagBits::eSignaled ) - result += "Signaled | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class SemaphoreCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlagBits ) - { - return "(void)"; - } - - using SemaphoreCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlags ) - { - return "{}"; - } - - using EventCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( EventCreateFlagBits::eDeviceOnlyKHR ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR EventCreateFlags operator|( EventCreateFlagBits bit0, - EventCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return EventCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR EventCreateFlags operator&(EventCreateFlagBits bit0, - EventCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return EventCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR EventCreateFlags operator^( EventCreateFlagBits bit0, - EventCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return EventCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR EventCreateFlags operator~( EventCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( EventCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( EventCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & EventCreateFlagBits::eDeviceOnlyKHR ) - result += "DeviceOnlyKHR | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using QueryPipelineStatisticFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( QueryPipelineStatisticFlagBits::eInputAssemblyVertices ) | - VkFlags( QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives ) | - VkFlags( QueryPipelineStatisticFlagBits::eVertexShaderInvocations ) | - VkFlags( QueryPipelineStatisticFlagBits::eGeometryShaderInvocations ) | - VkFlags( QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives ) | - VkFlags( QueryPipelineStatisticFlagBits::eClippingInvocations ) | - VkFlags( QueryPipelineStatisticFlagBits::eClippingPrimitives ) | - VkFlags( QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) | - VkFlags( QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) | - VkFlags( QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) | - VkFlags( QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags - operator|( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryPipelineStatisticFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags - operator&(QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return QueryPipelineStatisticFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags - operator^( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryPipelineStatisticFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags operator~( QueryPipelineStatisticFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( QueryPipelineStatisticFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyVertices ) - result += "InputAssemblyVertices | "; - if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives ) - result += "InputAssemblyPrimitives | "; - if ( value & QueryPipelineStatisticFlagBits::eVertexShaderInvocations ) - result += "VertexShaderInvocations | "; - if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderInvocations ) - result += "GeometryShaderInvocations | "; - if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives ) - result += "GeometryShaderPrimitives | "; - if ( value & QueryPipelineStatisticFlagBits::eClippingInvocations ) - result += "ClippingInvocations | "; - if ( value & QueryPipelineStatisticFlagBits::eClippingPrimitives ) - result += "ClippingPrimitives | "; - if ( value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) - result += "FragmentShaderInvocations | "; - if ( value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) - result += "TessellationControlShaderPatches | "; - if ( value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) - result += "TessellationEvaluationShaderInvocations | "; - if ( value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) - result += "ComputeShaderInvocations | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using QueryPoolCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlags ) - { - return "{}"; - } - - using QueryResultFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( QueryResultFlagBits::e64 ) | VkFlags( QueryResultFlagBits::eWait ) | - VkFlags( QueryResultFlagBits::eWithAvailability ) | VkFlags( QueryResultFlagBits::ePartial ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( QueryResultFlagBits::eWithStatusKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator|( QueryResultFlagBits bit0, - QueryResultFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryResultFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator&(QueryResultFlagBits bit0, - QueryResultFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return QueryResultFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator^( QueryResultFlagBits bit0, - QueryResultFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryResultFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator~( QueryResultFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( QueryResultFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( QueryResultFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & QueryResultFlagBits::e64 ) - result += "64 | "; - if ( value & QueryResultFlagBits::eWait ) - result += "Wait | "; - if ( value & QueryResultFlagBits::eWithAvailability ) - result += "WithAvailability | "; - if ( value & QueryResultFlagBits::ePartial ) - result += "Partial | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & QueryResultFlagBits::eWithStatusKHR ) - result += "WithStatusKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using BufferCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( BufferCreateFlagBits::eSparseBinding ) | VkFlags( BufferCreateFlagBits::eSparseResidency ) | - VkFlags( BufferCreateFlagBits::eSparseAliased ) | VkFlags( BufferCreateFlagBits::eProtected ) | - VkFlags( BufferCreateFlagBits::eDeviceAddressCaptureReplay ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator|( BufferCreateFlagBits bit0, - BufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return BufferCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator&(BufferCreateFlagBits bit0, - BufferCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return BufferCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator^( BufferCreateFlagBits bit0, - BufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return BufferCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator~( BufferCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( BufferCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( BufferCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & BufferCreateFlagBits::eSparseBinding ) - result += "SparseBinding | "; - if ( value & BufferCreateFlagBits::eSparseResidency ) - result += "SparseResidency | "; - if ( value & BufferCreateFlagBits::eSparseAliased ) - result += "SparseAliased | "; - if ( value & BufferCreateFlagBits::eProtected ) - result += "Protected | "; - if ( value & BufferCreateFlagBits::eDeviceAddressCaptureReplay ) - result += "DeviceAddressCaptureReplay | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using BufferUsageFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( BufferUsageFlagBits::eTransferSrc ) | VkFlags( BufferUsageFlagBits::eTransferDst ) | - VkFlags( BufferUsageFlagBits::eUniformTexelBuffer ) | VkFlags( BufferUsageFlagBits::eStorageTexelBuffer ) | - VkFlags( BufferUsageFlagBits::eUniformBuffer ) | VkFlags( BufferUsageFlagBits::eStorageBuffer ) | - VkFlags( BufferUsageFlagBits::eIndexBuffer ) | VkFlags( BufferUsageFlagBits::eVertexBuffer ) | - VkFlags( BufferUsageFlagBits::eIndirectBuffer ) | VkFlags( BufferUsageFlagBits::eShaderDeviceAddress ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( BufferUsageFlagBits::eVideoDecodeSrcKHR ) | VkFlags( BufferUsageFlagBits::eVideoDecodeDstKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - | VkFlags( BufferUsageFlagBits::eTransformFeedbackBufferEXT ) | - VkFlags( BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) | - VkFlags( BufferUsageFlagBits::eConditionalRenderingEXT ) | - VkFlags( BufferUsageFlagBits::eAccelerationStructureBuildInputReadOnlyKHR ) | - VkFlags( BufferUsageFlagBits::eAccelerationStructureStorageKHR ) | - VkFlags( BufferUsageFlagBits::eShaderBindingTableKHR ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( BufferUsageFlagBits::eVideoEncodeDstKHR ) | VkFlags( BufferUsageFlagBits::eVideoEncodeSrcKHR ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator|( BufferUsageFlagBits bit0, - BufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return BufferUsageFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator&(BufferUsageFlagBits bit0, - BufferUsageFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return BufferUsageFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator^( BufferUsageFlagBits bit0, - BufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return BufferUsageFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator~( BufferUsageFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( BufferUsageFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( BufferUsageFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & BufferUsageFlagBits::eTransferSrc ) - result += "TransferSrc | "; - if ( value & BufferUsageFlagBits::eTransferDst ) - result += "TransferDst | "; - if ( value & BufferUsageFlagBits::eUniformTexelBuffer ) - result += "UniformTexelBuffer | "; - if ( value & BufferUsageFlagBits::eStorageTexelBuffer ) - result += "StorageTexelBuffer | "; - if ( value & BufferUsageFlagBits::eUniformBuffer ) - result += "UniformBuffer | "; - if ( value & BufferUsageFlagBits::eStorageBuffer ) - result += "StorageBuffer | "; - if ( value & BufferUsageFlagBits::eIndexBuffer ) - result += "IndexBuffer | "; - if ( value & BufferUsageFlagBits::eVertexBuffer ) - result += "VertexBuffer | "; - if ( value & BufferUsageFlagBits::eIndirectBuffer ) - result += "IndirectBuffer | "; - if ( value & BufferUsageFlagBits::eShaderDeviceAddress ) - result += "ShaderDeviceAddress | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & BufferUsageFlagBits::eVideoDecodeSrcKHR ) - result += "VideoDecodeSrcKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & BufferUsageFlagBits::eVideoDecodeDstKHR ) - result += "VideoDecodeDstKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - if ( value & BufferUsageFlagBits::eTransformFeedbackBufferEXT ) - result += "TransformFeedbackBufferEXT | "; - if ( value & BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) - result += "TransformFeedbackCounterBufferEXT | "; - if ( value & BufferUsageFlagBits::eConditionalRenderingEXT ) - result += "ConditionalRenderingEXT | "; - if ( value & BufferUsageFlagBits::eAccelerationStructureBuildInputReadOnlyKHR ) - result += "AccelerationStructureBuildInputReadOnlyKHR | "; - if ( value & BufferUsageFlagBits::eAccelerationStructureStorageKHR ) - result += "AccelerationStructureStorageKHR | "; - if ( value & BufferUsageFlagBits::eShaderBindingTableKHR ) - result += "ShaderBindingTableKHR | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & BufferUsageFlagBits::eVideoEncodeDstKHR ) - result += "VideoEncodeDstKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & BufferUsageFlagBits::eVideoEncodeSrcKHR ) - result += "VideoEncodeSrcKHR | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class BufferViewCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlagBits ) - { - return "(void)"; - } - - using BufferViewCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlags ) - { - return "{}"; - } - - using ImageViewCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) | - VkFlags( ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags - operator|( ImageViewCreateFlagBits bit0, ImageViewCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageViewCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator&(ImageViewCreateFlagBits bit0, - ImageViewCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ImageViewCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags - operator^( ImageViewCreateFlagBits bit0, ImageViewCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ImageViewCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator~( ImageViewCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ImageViewCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) - result += "FragmentDensityMapDynamicEXT | "; - if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT ) - result += "FragmentDensityMapDeferredEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ShaderModuleCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlags ) - { - return "{}"; - } - - using PipelineCacheCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( PipelineCacheCreateFlagBits::eExternallySynchronizedEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags - operator|( PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCacheCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags - operator&(PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineCacheCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags - operator^( PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCacheCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags operator~( PipelineCacheCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( PipelineCacheCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineCacheCreateFlagBits::eExternallySynchronizedEXT ) - result += "ExternallySynchronizedEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ColorComponentFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ColorComponentFlagBits::eR ) | VkFlags( ColorComponentFlagBits::eG ) | - VkFlags( ColorComponentFlagBits::eB ) | VkFlags( ColorComponentFlagBits::eA ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags - operator|( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ColorComponentFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator&(ColorComponentFlagBits bit0, - ColorComponentFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ColorComponentFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags - operator^( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ColorComponentFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator~( ColorComponentFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ColorComponentFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ColorComponentFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ColorComponentFlagBits::eR ) - result += "R | "; - if ( value & ColorComponentFlagBits::eG ) - result += "G | "; - if ( value & ColorComponentFlagBits::eB ) - result += "B | "; - if ( value & ColorComponentFlagBits::eA ) - result += "A | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using CullModeFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CullModeFlagBits::eNone ) | VkFlags( CullModeFlagBits::eFront ) | - VkFlags( CullModeFlagBits::eBack ) | VkFlags( CullModeFlagBits::eFrontAndBack ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator|( CullModeFlagBits bit0, - CullModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CullModeFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator&(CullModeFlagBits bit0, - CullModeFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return CullModeFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator^( CullModeFlagBits bit0, - CullModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CullModeFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator~( CullModeFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( CullModeFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CullModeFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CullModeFlagBits::eFront ) - result += "Front | "; - if ( value & CullModeFlagBits::eBack ) - result += "Back | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class PipelineColorBlendStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineColorBlendStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlags ) - { - return "{}"; - } - - using PipelineCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( PipelineCreateFlagBits::eDisableOptimization ) | VkFlags( PipelineCreateFlagBits::eAllowDerivatives ) | - VkFlags( PipelineCreateFlagBits::eDerivative ) | VkFlags( PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) | - VkFlags( PipelineCreateFlagBits::eDispatchBase ) | - VkFlags( PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingSkipAabbsKHR ) | - VkFlags( PipelineCreateFlagBits::eRayTracingShaderGroupHandleCaptureReplayKHR ) | - VkFlags( PipelineCreateFlagBits::eDeferCompileNV ) | VkFlags( PipelineCreateFlagBits::eCaptureStatisticsKHR ) | - VkFlags( PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR ) | - VkFlags( PipelineCreateFlagBits::eIndirectBindableNV ) | VkFlags( PipelineCreateFlagBits::eLibraryKHR ) | - VkFlags( PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT ) | - VkFlags( PipelineCreateFlagBits::eEarlyReturnOnFailureEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags - operator|( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator&(PipelineCreateFlagBits bit0, - PipelineCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags - operator^( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator~( PipelineCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( PipelineCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineCreateFlagBits::eDisableOptimization ) - result += "DisableOptimization | "; - if ( value & PipelineCreateFlagBits::eAllowDerivatives ) - result += "AllowDerivatives | "; - if ( value & PipelineCreateFlagBits::eDerivative ) - result += "Derivative | "; - if ( value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) - result += "ViewIndexFromDeviceIndex | "; - if ( value & PipelineCreateFlagBits::eDispatchBase ) - result += "DispatchBase | "; - if ( value & PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR ) - result += "RayTracingNoNullAnyHitShadersKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR ) - result += "RayTracingNoNullClosestHitShadersKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR ) - result += "RayTracingNoNullMissShadersKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR ) - result += "RayTracingNoNullIntersectionShadersKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR ) - result += "RayTracingSkipTrianglesKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingSkipAabbsKHR ) - result += "RayTracingSkipAabbsKHR | "; - if ( value & PipelineCreateFlagBits::eRayTracingShaderGroupHandleCaptureReplayKHR ) - result += "RayTracingShaderGroupHandleCaptureReplayKHR | "; - if ( value & PipelineCreateFlagBits::eDeferCompileNV ) - result += "DeferCompileNV | "; - if ( value & PipelineCreateFlagBits::eCaptureStatisticsKHR ) - result += "CaptureStatisticsKHR | "; - if ( value & PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR ) - result += "CaptureInternalRepresentationsKHR | "; - if ( value & PipelineCreateFlagBits::eIndirectBindableNV ) - result += "IndirectBindableNV | "; - if ( value & PipelineCreateFlagBits::eLibraryKHR ) - result += "LibraryKHR | "; - if ( value & PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT ) - result += "FailOnPipelineCompileRequiredEXT | "; - if ( value & PipelineCreateFlagBits::eEarlyReturnOnFailureEXT ) - result += "EarlyReturnOnFailureEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class PipelineDepthStencilStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineDepthStencilStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineDynamicStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineDynamicStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineInputAssemblyStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineInputAssemblyStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineLayoutCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlagBits ) - { - return "(void)"; - } - - using PipelineLayoutCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlags ) - { - return "{}"; - } - - enum class PipelineMultisampleStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineMultisampleStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineRasterizationStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineRasterizationStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlags ) - { - return "{}"; - } - - using PipelineShaderStageCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT ) | - VkFlags( PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags - operator|( PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineShaderStageCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags - operator&(PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineShaderStageCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags - operator^( PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineShaderStageCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags - operator~( PipelineShaderStageCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( PipelineShaderStageCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT ) - result += "AllowVaryingSubgroupSizeEXT | "; - if ( value & PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT ) - result += "RequireFullSubgroupsEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class PipelineTessellationStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineTessellationStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineVertexInputStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineVertexInputStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlags ) - { - return "{}"; - } - - enum class PipelineViewportStateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlagBits ) - { - return "(void)"; - } - - using PipelineViewportStateCreateFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlags ) - { - return "{}"; - } - - using ShaderStageFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ShaderStageFlagBits::eVertex ) | VkFlags( ShaderStageFlagBits::eTessellationControl ) | - VkFlags( ShaderStageFlagBits::eTessellationEvaluation ) | VkFlags( ShaderStageFlagBits::eGeometry ) | - VkFlags( ShaderStageFlagBits::eFragment ) | VkFlags( ShaderStageFlagBits::eCompute ) | - VkFlags( ShaderStageFlagBits::eAllGraphics ) | VkFlags( ShaderStageFlagBits::eAll ) | - VkFlags( ShaderStageFlagBits::eRaygenKHR ) | VkFlags( ShaderStageFlagBits::eAnyHitKHR ) | - VkFlags( ShaderStageFlagBits::eClosestHitKHR ) | VkFlags( ShaderStageFlagBits::eMissKHR ) | - VkFlags( ShaderStageFlagBits::eIntersectionKHR ) | VkFlags( ShaderStageFlagBits::eCallableKHR ) | - VkFlags( ShaderStageFlagBits::eTaskNV ) | VkFlags( ShaderStageFlagBits::eMeshNV ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator|( ShaderStageFlagBits bit0, - ShaderStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ShaderStageFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator&(ShaderStageFlagBits bit0, - ShaderStageFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ShaderStageFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator^( ShaderStageFlagBits bit0, - ShaderStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ShaderStageFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator~( ShaderStageFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ShaderStageFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ShaderStageFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ShaderStageFlagBits::eVertex ) - result += "Vertex | "; - if ( value & ShaderStageFlagBits::eTessellationControl ) - result += "TessellationControl | "; - if ( value & ShaderStageFlagBits::eTessellationEvaluation ) - result += "TessellationEvaluation | "; - if ( value & ShaderStageFlagBits::eGeometry ) - result += "Geometry | "; - if ( value & ShaderStageFlagBits::eFragment ) - result += "Fragment | "; - if ( value & ShaderStageFlagBits::eCompute ) - result += "Compute | "; - if ( value & ShaderStageFlagBits::eRaygenKHR ) - result += "RaygenKHR | "; - if ( value & ShaderStageFlagBits::eAnyHitKHR ) - result += "AnyHitKHR | "; - if ( value & ShaderStageFlagBits::eClosestHitKHR ) - result += "ClosestHitKHR | "; - if ( value & ShaderStageFlagBits::eMissKHR ) - result += "MissKHR | "; - if ( value & ShaderStageFlagBits::eIntersectionKHR ) - result += "IntersectionKHR | "; - if ( value & ShaderStageFlagBits::eCallableKHR ) - result += "CallableKHR | "; - if ( value & ShaderStageFlagBits::eTaskNV ) - result += "TaskNV | "; - if ( value & ShaderStageFlagBits::eMeshNV ) - result += "MeshNV | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SamplerCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SamplerCreateFlagBits::eSubsampledEXT ) | - VkFlags( SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator|( SamplerCreateFlagBits bit0, - SamplerCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SamplerCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator&(SamplerCreateFlagBits bit0, - SamplerCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SamplerCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator^( SamplerCreateFlagBits bit0, - SamplerCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SamplerCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator~( SamplerCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( SamplerCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SamplerCreateFlagBits::eSubsampledEXT ) - result += "SubsampledEXT | "; - if ( value & SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) - result += "SubsampledCoarseReconstructionEXT | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using DescriptorPoolCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) | - VkFlags( DescriptorPoolCreateFlagBits::eUpdateAfterBind ) | - VkFlags( DescriptorPoolCreateFlagBits::eHostOnlyVALVE ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags - operator|( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorPoolCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags - operator&(DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return DescriptorPoolCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags - operator^( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorPoolCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags operator~( DescriptorPoolCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( DescriptorPoolCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) - result += "FreeDescriptorSet | "; - if ( value & DescriptorPoolCreateFlagBits::eUpdateAfterBind ) - result += "UpdateAfterBind | "; - if ( value & DescriptorPoolCreateFlagBits::eHostOnlyVALVE ) - result += "HostOnlyVALVE | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class DescriptorPoolResetFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlagBits ) - { - return "(void)"; - } - - using DescriptorPoolResetFlags = Flags; - - VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlags ) - { - return "{}"; - } - - using DescriptorSetLayoutCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool ) | - VkFlags( DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) | - VkFlags( DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolVALVE ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags - operator|( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorSetLayoutCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags - operator&(DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return DescriptorSetLayoutCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags - operator^( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorSetLayoutCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags - operator~( DescriptorSetLayoutCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DescriptorSetLayoutCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool ) - result += "UpdateAfterBindPool | "; - if ( value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) - result += "PushDescriptorKHR | "; - if ( value & DescriptorSetLayoutCreateFlagBits::eHostOnlyPoolVALVE ) - result += "HostOnlyPoolVALVE | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using AccessFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( AccessFlagBits::eIndirectCommandRead ) | VkFlags( AccessFlagBits::eIndexRead ) | - VkFlags( AccessFlagBits::eVertexAttributeRead ) | VkFlags( AccessFlagBits::eUniformRead ) | - VkFlags( AccessFlagBits::eInputAttachmentRead ) | VkFlags( AccessFlagBits::eShaderRead ) | - VkFlags( AccessFlagBits::eShaderWrite ) | VkFlags( AccessFlagBits::eColorAttachmentRead ) | - VkFlags( AccessFlagBits::eColorAttachmentWrite ) | VkFlags( AccessFlagBits::eDepthStencilAttachmentRead ) | - VkFlags( AccessFlagBits::eDepthStencilAttachmentWrite ) | VkFlags( AccessFlagBits::eTransferRead ) | - VkFlags( AccessFlagBits::eTransferWrite ) | VkFlags( AccessFlagBits::eHostRead ) | - VkFlags( AccessFlagBits::eHostWrite ) | VkFlags( AccessFlagBits::eMemoryRead ) | - VkFlags( AccessFlagBits::eMemoryWrite ) | VkFlags( AccessFlagBits::eTransformFeedbackWriteEXT ) | - VkFlags( AccessFlagBits::eTransformFeedbackCounterReadEXT ) | - VkFlags( AccessFlagBits::eTransformFeedbackCounterWriteEXT ) | - VkFlags( AccessFlagBits::eConditionalRenderingReadEXT ) | - VkFlags( AccessFlagBits::eColorAttachmentReadNoncoherentEXT ) | - VkFlags( AccessFlagBits::eAccelerationStructureReadKHR ) | - VkFlags( AccessFlagBits::eAccelerationStructureWriteKHR ) | VkFlags( AccessFlagBits::eShadingRateImageReadNV ) | - VkFlags( AccessFlagBits::eFragmentDensityMapReadEXT ) | VkFlags( AccessFlagBits::eCommandPreprocessReadNV ) | - VkFlags( AccessFlagBits::eCommandPreprocessWriteNV ) | VkFlags( AccessFlagBits::eNoneKHR ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator|( AccessFlagBits bit0, - AccessFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccessFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator&(AccessFlagBits bit0, - AccessFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return AccessFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator^( AccessFlagBits bit0, - AccessFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccessFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator~( AccessFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( AccessFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( AccessFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & AccessFlagBits::eIndirectCommandRead ) - result += "IndirectCommandRead | "; - if ( value & AccessFlagBits::eIndexRead ) - result += "IndexRead | "; - if ( value & AccessFlagBits::eVertexAttributeRead ) - result += "VertexAttributeRead | "; - if ( value & AccessFlagBits::eUniformRead ) - result += "UniformRead | "; - if ( value & AccessFlagBits::eInputAttachmentRead ) - result += "InputAttachmentRead | "; - if ( value & AccessFlagBits::eShaderRead ) - result += "ShaderRead | "; - if ( value & AccessFlagBits::eShaderWrite ) - result += "ShaderWrite | "; - if ( value & AccessFlagBits::eColorAttachmentRead ) - result += "ColorAttachmentRead | "; - if ( value & AccessFlagBits::eColorAttachmentWrite ) - result += "ColorAttachmentWrite | "; - if ( value & AccessFlagBits::eDepthStencilAttachmentRead ) - result += "DepthStencilAttachmentRead | "; - if ( value & AccessFlagBits::eDepthStencilAttachmentWrite ) - result += "DepthStencilAttachmentWrite | "; - if ( value & AccessFlagBits::eTransferRead ) - result += "TransferRead | "; - if ( value & AccessFlagBits::eTransferWrite ) - result += "TransferWrite | "; - if ( value & AccessFlagBits::eHostRead ) - result += "HostRead | "; - if ( value & AccessFlagBits::eHostWrite ) - result += "HostWrite | "; - if ( value & AccessFlagBits::eMemoryRead ) - result += "MemoryRead | "; - if ( value & AccessFlagBits::eMemoryWrite ) - result += "MemoryWrite | "; - if ( value & AccessFlagBits::eTransformFeedbackWriteEXT ) - result += "TransformFeedbackWriteEXT | "; - if ( value & AccessFlagBits::eTransformFeedbackCounterReadEXT ) - result += "TransformFeedbackCounterReadEXT | "; - if ( value & AccessFlagBits::eTransformFeedbackCounterWriteEXT ) - result += "TransformFeedbackCounterWriteEXT | "; - if ( value & AccessFlagBits::eConditionalRenderingReadEXT ) - result += "ConditionalRenderingReadEXT | "; - if ( value & AccessFlagBits::eColorAttachmentReadNoncoherentEXT ) - result += "ColorAttachmentReadNoncoherentEXT | "; - if ( value & AccessFlagBits::eAccelerationStructureReadKHR ) - result += "AccelerationStructureReadKHR | "; - if ( value & AccessFlagBits::eAccelerationStructureWriteKHR ) - result += "AccelerationStructureWriteKHR | "; - if ( value & AccessFlagBits::eShadingRateImageReadNV ) - result += "ShadingRateImageReadNV | "; - if ( value & AccessFlagBits::eFragmentDensityMapReadEXT ) - result += "FragmentDensityMapReadEXT | "; - if ( value & AccessFlagBits::eCommandPreprocessReadNV ) - result += "CommandPreprocessReadNV | "; - if ( value & AccessFlagBits::eCommandPreprocessWriteNV ) - result += "CommandPreprocessWriteNV | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using AttachmentDescriptionFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( AttachmentDescriptionFlagBits::eMayAlias ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags - operator|( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return AttachmentDescriptionFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags - operator&(AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return AttachmentDescriptionFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags - operator^( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return AttachmentDescriptionFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags operator~( AttachmentDescriptionFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( AttachmentDescriptionFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & AttachmentDescriptionFlagBits::eMayAlias ) - result += "MayAlias | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using DependencyFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DependencyFlagBits::eByRegion ) | VkFlags( DependencyFlagBits::eDeviceGroup ) | - VkFlags( DependencyFlagBits::eViewLocal ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator|( DependencyFlagBits bit0, - DependencyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DependencyFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator&(DependencyFlagBits bit0, - DependencyFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return DependencyFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator^( DependencyFlagBits bit0, - DependencyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DependencyFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator~( DependencyFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DependencyFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DependencyFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DependencyFlagBits::eByRegion ) - result += "ByRegion | "; - if ( value & DependencyFlagBits::eDeviceGroup ) - result += "DeviceGroup | "; - if ( value & DependencyFlagBits::eViewLocal ) - result += "ViewLocal | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using FramebufferCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( FramebufferCreateFlagBits::eImageless ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags - operator|( FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FramebufferCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags - operator&(FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return FramebufferCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags - operator^( FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FramebufferCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags operator~( FramebufferCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( FramebufferCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & FramebufferCreateFlagBits::eImageless ) - result += "Imageless | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using RenderPassCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( RenderPassCreateFlagBits::eTransformQCOM ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags - operator|( RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return RenderPassCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags - operator&(RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return RenderPassCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags - operator^( RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return RenderPassCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags operator~( RenderPassCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( RenderPassCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & RenderPassCreateFlagBits::eTransformQCOM ) - result += "TransformQCOM | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SubpassDescriptionFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SubpassDescriptionFlagBits::ePerViewAttributesNVX ) | - VkFlags( SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) | - VkFlags( SubpassDescriptionFlagBits::eFragmentRegionQCOM ) | - VkFlags( SubpassDescriptionFlagBits::eShaderResolveQCOM ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags - operator|( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubpassDescriptionFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags - operator&(SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SubpassDescriptionFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags - operator^( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubpassDescriptionFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags operator~( SubpassDescriptionFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SubpassDescriptionFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SubpassDescriptionFlagBits::ePerViewAttributesNVX ) - result += "PerViewAttributesNVX | "; - if ( value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) - result += "PerViewPositionXOnlyNVX | "; - if ( value & SubpassDescriptionFlagBits::eFragmentRegionQCOM ) - result += "FragmentRegionQCOM | "; - if ( value & SubpassDescriptionFlagBits::eShaderResolveQCOM ) - result += "ShaderResolveQCOM | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using CommandPoolCreateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CommandPoolCreateFlagBits::eTransient ) | - VkFlags( CommandPoolCreateFlagBits::eResetCommandBuffer ) | - VkFlags( CommandPoolCreateFlagBits::eProtected ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags - operator|( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandPoolCreateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags - operator&(CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return CommandPoolCreateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags - operator^( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandPoolCreateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags operator~( CommandPoolCreateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( CommandPoolCreateFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CommandPoolCreateFlagBits::eTransient ) - result += "Transient | "; - if ( value & CommandPoolCreateFlagBits::eResetCommandBuffer ) - result += "ResetCommandBuffer | "; - if ( value & CommandPoolCreateFlagBits::eProtected ) - result += "Protected | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using CommandPoolResetFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CommandPoolResetFlagBits::eReleaseResources ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags - operator|( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandPoolResetFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags - operator&(CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return CommandPoolResetFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags - operator^( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandPoolResetFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags operator~( CommandPoolResetFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( CommandPoolResetFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CommandPoolResetFlagBits::eReleaseResources ) - result += "ReleaseResources | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using CommandBufferResetFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CommandBufferResetFlagBits::eReleaseResources ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags - operator|( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandBufferResetFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags - operator&(CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return CommandBufferResetFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags - operator^( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandBufferResetFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags operator~( CommandBufferResetFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( CommandBufferResetFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CommandBufferResetFlagBits::eReleaseResources ) - result += "ReleaseResources | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using CommandBufferUsageFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CommandBufferUsageFlagBits::eOneTimeSubmit ) | - VkFlags( CommandBufferUsageFlagBits::eRenderPassContinue ) | - VkFlags( CommandBufferUsageFlagBits::eSimultaneousUse ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags - operator|( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandBufferUsageFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags - operator&(CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return CommandBufferUsageFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags - operator^( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return CommandBufferUsageFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags operator~( CommandBufferUsageFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( CommandBufferUsageFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CommandBufferUsageFlagBits::eOneTimeSubmit ) - result += "OneTimeSubmit | "; - if ( value & CommandBufferUsageFlagBits::eRenderPassContinue ) - result += "RenderPassContinue | "; - if ( value & CommandBufferUsageFlagBits::eSimultaneousUse ) - result += "SimultaneousUse | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using QueryControlFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( QueryControlFlagBits::ePrecise ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator|( QueryControlFlagBits bit0, - QueryControlFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryControlFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator&(QueryControlFlagBits bit0, - QueryControlFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return QueryControlFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator^( QueryControlFlagBits bit0, - QueryControlFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return QueryControlFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator~( QueryControlFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( QueryControlFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( QueryControlFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & QueryControlFlagBits::ePrecise ) - result += "Precise | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using StencilFaceFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( StencilFaceFlagBits::eFront ) | VkFlags( StencilFaceFlagBits::eBack ) | - VkFlags( StencilFaceFlagBits::eFrontAndBack ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator|( StencilFaceFlagBits bit0, - StencilFaceFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return StencilFaceFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator&(StencilFaceFlagBits bit0, - StencilFaceFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return StencilFaceFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator^( StencilFaceFlagBits bit0, - StencilFaceFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return StencilFaceFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator~( StencilFaceFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( StencilFaceFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( StencilFaceFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & StencilFaceFlagBits::eFront ) - result += "Front | "; - if ( value & StencilFaceFlagBits::eBack ) - result += "Back | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_VERSION_1_1 === - - using SubgroupFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SubgroupFeatureFlagBits::eBasic ) | VkFlags( SubgroupFeatureFlagBits::eVote ) | - VkFlags( SubgroupFeatureFlagBits::eArithmetic ) | VkFlags( SubgroupFeatureFlagBits::eBallot ) | - VkFlags( SubgroupFeatureFlagBits::eShuffle ) | VkFlags( SubgroupFeatureFlagBits::eShuffleRelative ) | - VkFlags( SubgroupFeatureFlagBits::eClustered ) | VkFlags( SubgroupFeatureFlagBits::eQuad ) | - VkFlags( SubgroupFeatureFlagBits::ePartitionedNV ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags - operator|( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubgroupFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator&(SubgroupFeatureFlagBits bit0, - SubgroupFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SubgroupFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags - operator^( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubgroupFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator~( SubgroupFeatureFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SubgroupFeatureFlags( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SubgroupFeatureFlagBits::eBasic ) - result += "Basic | "; - if ( value & SubgroupFeatureFlagBits::eVote ) - result += "Vote | "; - if ( value & SubgroupFeatureFlagBits::eArithmetic ) - result += "Arithmetic | "; - if ( value & SubgroupFeatureFlagBits::eBallot ) - result += "Ballot | "; - if ( value & SubgroupFeatureFlagBits::eShuffle ) - result += "Shuffle | "; - if ( value & SubgroupFeatureFlagBits::eShuffleRelative ) - result += "ShuffleRelative | "; - if ( value & SubgroupFeatureFlagBits::eClustered ) - result += "Clustered | "; - if ( value & SubgroupFeatureFlagBits::eQuad ) - result += "Quad | "; - if ( value & SubgroupFeatureFlagBits::ePartitionedNV ) - result += "PartitionedNV | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using PeerMemoryFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( PeerMemoryFeatureFlagBits::eCopySrc ) | VkFlags( PeerMemoryFeatureFlagBits::eCopyDst ) | - VkFlags( PeerMemoryFeatureFlagBits::eGenericSrc ) | VkFlags( PeerMemoryFeatureFlagBits::eGenericDst ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags - operator|( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PeerMemoryFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags - operator&(PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return PeerMemoryFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags - operator^( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return PeerMemoryFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags operator~( PeerMemoryFeatureFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( PeerMemoryFeatureFlags( bits ) ); - } - - using PeerMemoryFeatureFlagsKHR = PeerMemoryFeatureFlags; - - VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PeerMemoryFeatureFlagBits::eCopySrc ) - result += "CopySrc | "; - if ( value & PeerMemoryFeatureFlagBits::eCopyDst ) - result += "CopyDst | "; - if ( value & PeerMemoryFeatureFlagBits::eGenericSrc ) - result += "GenericSrc | "; - if ( value & PeerMemoryFeatureFlagBits::eGenericDst ) - result += "GenericDst | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using MemoryAllocateFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( MemoryAllocateFlagBits::eDeviceMask ) | VkFlags( MemoryAllocateFlagBits::eDeviceAddress ) | - VkFlags( MemoryAllocateFlagBits::eDeviceAddressCaptureReplay ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags - operator|( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryAllocateFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator&(MemoryAllocateFlagBits bit0, - MemoryAllocateFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return MemoryAllocateFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags - operator^( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return MemoryAllocateFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator~( MemoryAllocateFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( MemoryAllocateFlags( bits ) ); - } - - using MemoryAllocateFlagsKHR = MemoryAllocateFlags; - - VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & MemoryAllocateFlagBits::eDeviceMask ) - result += "DeviceMask | "; - if ( value & MemoryAllocateFlagBits::eDeviceAddress ) - result += "DeviceAddress | "; - if ( value & MemoryAllocateFlagBits::eDeviceAddressCaptureReplay ) - result += "DeviceAddressCaptureReplay | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class CommandPoolTrimFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlagBits ) - { - return "(void)"; - } - - using CommandPoolTrimFlags = Flags; - - using CommandPoolTrimFlagsKHR = CommandPoolTrimFlags; - - VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlags ) - { - return "{}"; - } - - enum class DescriptorUpdateTemplateCreateFlagBits : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlagBits ) - { - return "(void)"; - } - - using DescriptorUpdateTemplateCreateFlags = Flags; - - using DescriptorUpdateTemplateCreateFlagsKHR = DescriptorUpdateTemplateCreateFlags; - - VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlags ) - { - return "{}"; - } - - using ExternalMemoryHandleTypeFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eD3D11Texture ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eD3D12Heap ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eD3D12Resource ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - | VkFlags( ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - | VkFlags( ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) | - VkFlags( ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) -#if defined( VK_USE_PLATFORM_FUCHSIA ) - | VkFlags( ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA ) -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags - operator|( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags - operator&(ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags - operator^( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags - operator~( ExternalMemoryHandleTypeFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ExternalMemoryHandleTypeFlags( bits ) ); - } - - using ExternalMemoryHandleTypeFlagsKHR = ExternalMemoryHandleTypeFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) - result += "OpaqueFd | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 ) - result += "OpaqueWin32 | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt ) - result += "OpaqueWin32Kmt | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11Texture ) - result += "D3D11Texture | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt ) - result += "D3D11TextureKmt | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Heap ) - result += "D3D12Heap | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Resource ) - result += "D3D12Resource | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) - result += "DmaBufEXT | "; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - if ( value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) - result += "AndroidHardwareBufferANDROID | "; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - if ( value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) - result += "HostAllocationEXT | "; - if ( value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) - result += "HostMappedForeignMemoryEXT | "; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - if ( value & ExternalMemoryHandleTypeFlagBits::eZirconVmoFUCHSIA ) - result += "ZirconVmoFUCHSIA | "; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalMemoryFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalMemoryFeatureFlagBits::eDedicatedOnly ) | - VkFlags( ExternalMemoryFeatureFlagBits::eExportable ) | - VkFlags( ExternalMemoryFeatureFlagBits::eImportable ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags - operator|( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags - operator&(ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags - operator^( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags operator~( ExternalMemoryFeatureFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ExternalMemoryFeatureFlags( bits ) ); - } - - using ExternalMemoryFeatureFlagsKHR = ExternalMemoryFeatureFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalMemoryFeatureFlagBits::eDedicatedOnly ) - result += "DedicatedOnly | "; - if ( value & ExternalMemoryFeatureFlagBits::eExportable ) - result += "Exportable | "; - if ( value & ExternalMemoryFeatureFlagBits::eImportable ) - result += "Importable | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalFenceHandleTypeFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalFenceHandleTypeFlagBits::eOpaqueFd ) | - VkFlags( ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) | - VkFlags( ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) | - VkFlags( ExternalFenceHandleTypeFlagBits::eSyncFd ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags - operator|( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalFenceHandleTypeFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags - operator&(ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalFenceHandleTypeFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags - operator^( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalFenceHandleTypeFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags operator~( ExternalFenceHandleTypeFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ExternalFenceHandleTypeFlags( bits ) ); - } - - using ExternalFenceHandleTypeFlagsKHR = ExternalFenceHandleTypeFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueFd ) - result += "OpaqueFd | "; - if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) - result += "OpaqueWin32 | "; - if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) - result += "OpaqueWin32Kmt | "; - if ( value & ExternalFenceHandleTypeFlagBits::eSyncFd ) - result += "SyncFd | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalFenceFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( ExternalFenceFeatureFlagBits::eExportable ) | VkFlags( ExternalFenceFeatureFlagBits::eImportable ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags - operator|( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalFenceFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags - operator&(ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalFenceFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags - operator^( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalFenceFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags operator~( ExternalFenceFeatureFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ExternalFenceFeatureFlags( bits ) ); - } - - using ExternalFenceFeatureFlagsKHR = ExternalFenceFeatureFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalFenceFeatureFlagBits::eExportable ) - result += "Exportable | "; - if ( value & ExternalFenceFeatureFlagBits::eImportable ) - result += "Importable | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using FenceImportFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( FenceImportFlagBits::eTemporary ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator|( FenceImportFlagBits bit0, - FenceImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FenceImportFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator&(FenceImportFlagBits bit0, - FenceImportFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return FenceImportFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator^( FenceImportFlagBits bit0, - FenceImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return FenceImportFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator~( FenceImportFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( FenceImportFlags( bits ) ); - } - - using FenceImportFlagsKHR = FenceImportFlags; - - VULKAN_HPP_INLINE std::string to_string( FenceImportFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & FenceImportFlagBits::eTemporary ) - result += "Temporary | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SemaphoreImportFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SemaphoreImportFlagBits::eTemporary ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags - operator|( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SemaphoreImportFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator&(SemaphoreImportFlagBits bit0, - SemaphoreImportFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SemaphoreImportFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags - operator^( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SemaphoreImportFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator~( SemaphoreImportFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SemaphoreImportFlags( bits ) ); - } - - using SemaphoreImportFlagsKHR = SemaphoreImportFlags; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SemaphoreImportFlagBits::eTemporary ) - result += "Temporary | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalSemaphoreHandleTypeFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) | - VkFlags( ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) | - VkFlags( ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) | - VkFlags( ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) | - VkFlags( ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) -#if defined( VK_USE_PLATFORM_FUCHSIA ) - | VkFlags( ExternalSemaphoreHandleTypeFlagBits::eZirconEventFUCHSIA ) -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags - operator|( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreHandleTypeFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags - operator&(ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreHandleTypeFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags - operator^( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreHandleTypeFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags - operator~( ExternalSemaphoreHandleTypeFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ExternalSemaphoreHandleTypeFlags( bits ) ); - } - - using ExternalSemaphoreHandleTypeFlagsKHR = ExternalSemaphoreHandleTypeFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) - result += "OpaqueFd | "; - if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) - result += "OpaqueWin32 | "; - if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) - result += "OpaqueWin32Kmt | "; - if ( value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) - result += "D3D12Fence | "; - if ( value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) - result += "SyncFd | "; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - if ( value & ExternalSemaphoreHandleTypeFlagBits::eZirconEventFUCHSIA ) - result += "ZirconEventFUCHSIA | "; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalSemaphoreFeatureFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalSemaphoreFeatureFlagBits::eExportable ) | - VkFlags( ExternalSemaphoreFeatureFlagBits::eImportable ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags - operator|( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreFeatureFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags - operator&(ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreFeatureFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags - operator^( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalSemaphoreFeatureFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags - operator~( ExternalSemaphoreFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ExternalSemaphoreFeatureFlags( bits ) ); - } - - using ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags; - - VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalSemaphoreFeatureFlagBits::eExportable ) - result += "Exportable | "; - if ( value & ExternalSemaphoreFeatureFlagBits::eImportable ) - result += "Importable | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_VERSION_1_2 === - - using DescriptorBindingFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DescriptorBindingFlagBits::eUpdateAfterBind ) | - VkFlags( DescriptorBindingFlagBits::eUpdateUnusedWhilePending ) | - VkFlags( DescriptorBindingFlagBits::ePartiallyBound ) | - VkFlags( DescriptorBindingFlagBits::eVariableDescriptorCount ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags - operator|( DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorBindingFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags - operator&(DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return DescriptorBindingFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags - operator^( DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return DescriptorBindingFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags operator~( DescriptorBindingFlagBits bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( DescriptorBindingFlags( bits ) ); - } - - using DescriptorBindingFlagsEXT = DescriptorBindingFlags; - - VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DescriptorBindingFlagBits::eUpdateAfterBind ) - result += "UpdateAfterBind | "; - if ( value & DescriptorBindingFlagBits::eUpdateUnusedWhilePending ) - result += "UpdateUnusedWhilePending | "; - if ( value & DescriptorBindingFlagBits::ePartiallyBound ) - result += "PartiallyBound | "; - if ( value & DescriptorBindingFlagBits::eVariableDescriptorCount ) - result += "VariableDescriptorCount | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ResolveModeFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ResolveModeFlagBits::eNone ) | VkFlags( ResolveModeFlagBits::eSampleZero ) | - VkFlags( ResolveModeFlagBits::eAverage ) | VkFlags( ResolveModeFlagBits::eMin ) | - VkFlags( ResolveModeFlagBits::eMax ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator|( ResolveModeFlagBits bit0, - ResolveModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ResolveModeFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator&(ResolveModeFlagBits bit0, - ResolveModeFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return ResolveModeFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator^( ResolveModeFlagBits bit0, - ResolveModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return ResolveModeFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator~( ResolveModeFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ResolveModeFlags( bits ) ); - } - - using ResolveModeFlagsKHR = ResolveModeFlags; - - VULKAN_HPP_INLINE std::string to_string( ResolveModeFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ResolveModeFlagBits::eSampleZero ) - result += "SampleZero | "; - if ( value & ResolveModeFlagBits::eAverage ) - result += "Average | "; - if ( value & ResolveModeFlagBits::eMin ) - result += "Min | "; - if ( value & ResolveModeFlagBits::eMax ) - result += "Max | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SemaphoreWaitFlags = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SemaphoreWaitFlagBits::eAny ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator|( SemaphoreWaitFlagBits bit0, - SemaphoreWaitFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SemaphoreWaitFlags( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator&(SemaphoreWaitFlagBits bit0, - SemaphoreWaitFlagBits bit1)VULKAN_HPP_NOEXCEPT - { - return SemaphoreWaitFlags( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator^( SemaphoreWaitFlagBits bit0, - SemaphoreWaitFlagBits bit1 ) VULKAN_HPP_NOEXCEPT - { - return SemaphoreWaitFlags( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator~( SemaphoreWaitFlagBits bits ) VULKAN_HPP_NOEXCEPT - { - return ~( SemaphoreWaitFlags( bits ) ); - } - - using SemaphoreWaitFlagsKHR = SemaphoreWaitFlags; - - VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlags value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SemaphoreWaitFlagBits::eAny ) - result += "Any | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_KHR_surface === - - using CompositeAlphaFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( CompositeAlphaFlagBitsKHR::eOpaque ) | VkFlags( CompositeAlphaFlagBitsKHR::ePreMultiplied ) | - VkFlags( CompositeAlphaFlagBitsKHR::ePostMultiplied ) | VkFlags( CompositeAlphaFlagBitsKHR::eInherit ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR - operator|( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return CompositeAlphaFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR - operator&(CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return CompositeAlphaFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR - operator^( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return CompositeAlphaFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR operator~( CompositeAlphaFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( CompositeAlphaFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & CompositeAlphaFlagBitsKHR::eOpaque ) - result += "Opaque | "; - if ( value & CompositeAlphaFlagBitsKHR::ePreMultiplied ) - result += "PreMultiplied | "; - if ( value & CompositeAlphaFlagBitsKHR::ePostMultiplied ) - result += "PostMultiplied | "; - if ( value & CompositeAlphaFlagBitsKHR::eInherit ) - result += "Inherit | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_KHR_swapchain === - - using SwapchainCreateFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) | - VkFlags( SwapchainCreateFlagBitsKHR::eProtected ) | - VkFlags( SwapchainCreateFlagBitsKHR::eMutableFormat ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR - operator|( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SwapchainCreateFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR - operator&(SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return SwapchainCreateFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR - operator^( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SwapchainCreateFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR operator~( SwapchainCreateFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SwapchainCreateFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) - result += "SplitInstanceBindRegions | "; - if ( value & SwapchainCreateFlagBitsKHR::eProtected ) - result += "Protected | "; - if ( value & SwapchainCreateFlagBitsKHR::eMutableFormat ) - result += "MutableFormat | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using DeviceGroupPresentModeFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DeviceGroupPresentModeFlagBitsKHR::eLocal ) | - VkFlags( DeviceGroupPresentModeFlagBitsKHR::eRemote ) | - VkFlags( DeviceGroupPresentModeFlagBitsKHR::eSum ) | - VkFlags( DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR - operator|( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceGroupPresentModeFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR - operator&(DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return DeviceGroupPresentModeFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR - operator^( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceGroupPresentModeFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR - operator~( DeviceGroupPresentModeFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DeviceGroupPresentModeFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocal ) - result += "Local | "; - if ( value & DeviceGroupPresentModeFlagBitsKHR::eRemote ) - result += "Remote | "; - if ( value & DeviceGroupPresentModeFlagBitsKHR::eSum ) - result += "Sum | "; - if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) - result += "LocalMultiDevice | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_KHR_display === - - enum class DisplayModeCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagBitsKHR ) - { - return "(void)"; - } - - using DisplayModeCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagsKHR ) - { - return "{}"; - } - - using DisplayPlaneAlphaFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DisplayPlaneAlphaFlagBitsKHR::eOpaque ) | VkFlags( DisplayPlaneAlphaFlagBitsKHR::eGlobal ) | - VkFlags( DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) | - VkFlags( DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR - operator|( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return DisplayPlaneAlphaFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR - operator&(DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return DisplayPlaneAlphaFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR - operator^( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return DisplayPlaneAlphaFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR operator~( DisplayPlaneAlphaFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( DisplayPlaneAlphaFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DisplayPlaneAlphaFlagBitsKHR::eOpaque ) - result += "Opaque | "; - if ( value & DisplayPlaneAlphaFlagBitsKHR::eGlobal ) - result += "Global | "; - if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) - result += "PerPixel | "; - if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) - result += "PerPixelPremultiplied | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class DisplaySurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using DisplaySurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagsKHR ) - { - return "{}"; - } - - using SurfaceTransformFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SurfaceTransformFlagBitsKHR::eIdentity ) | VkFlags( SurfaceTransformFlagBitsKHR::eRotate90 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eRotate180 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eRotate270 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eHorizontalMirror ) | - VkFlags( SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) | - VkFlags( SurfaceTransformFlagBitsKHR::eInherit ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR - operator|( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SurfaceTransformFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR - operator&(SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return SurfaceTransformFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR - operator^( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SurfaceTransformFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR operator~( SurfaceTransformFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SurfaceTransformFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SurfaceTransformFlagBitsKHR::eIdentity ) - result += "Identity | "; - if ( value & SurfaceTransformFlagBitsKHR::eRotate90 ) - result += "Rotate90 | "; - if ( value & SurfaceTransformFlagBitsKHR::eRotate180 ) - result += "Rotate180 | "; - if ( value & SurfaceTransformFlagBitsKHR::eRotate270 ) - result += "Rotate270 | "; - if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirror ) - result += "HorizontalMirror | "; - if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) - result += "HorizontalMirrorRotate90 | "; - if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) - result += "HorizontalMirrorRotate180 | "; - if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) - result += "HorizontalMirrorRotate270 | "; - if ( value & SurfaceTransformFlagBitsKHR::eInherit ) - result += "Inherit | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - - //=== VK_KHR_xlib_surface === - - enum class XlibSurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using XlibSurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagsKHR ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - - //=== VK_KHR_xcb_surface === - - enum class XcbSurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using XcbSurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagsKHR ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - - //=== VK_KHR_wayland_surface === - - enum class WaylandSurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using WaylandSurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagsKHR ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - - //=== VK_KHR_android_surface === - - enum class AndroidSurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using AndroidSurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagsKHR ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - - //=== VK_KHR_win32_surface === - - enum class Win32SurfaceCreateFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagBitsKHR ) - { - return "(void)"; - } - - using Win32SurfaceCreateFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagsKHR ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - //=== VK_EXT_debug_report === - - using DebugReportFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DebugReportFlagBitsEXT::eInformation ) | VkFlags( DebugReportFlagBitsEXT::eWarning ) | - VkFlags( DebugReportFlagBitsEXT::ePerformanceWarning ) | VkFlags( DebugReportFlagBitsEXT::eError ) | - VkFlags( DebugReportFlagBitsEXT::eDebug ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT - operator|( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugReportFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator&(DebugReportFlagBitsEXT bit0, - DebugReportFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return DebugReportFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT - operator^( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugReportFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator~( DebugReportFlagBitsEXT bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( DebugReportFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DebugReportFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DebugReportFlagBitsEXT::eInformation ) - result += "Information | "; - if ( value & DebugReportFlagBitsEXT::eWarning ) - result += "Warning | "; - if ( value & DebugReportFlagBitsEXT::ePerformanceWarning ) - result += "PerformanceWarning | "; - if ( value & DebugReportFlagBitsEXT::eError ) - result += "Error | "; - if ( value & DebugReportFlagBitsEXT::eDebug ) - result += "Debug | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_queue === - - using VideoCodecOperationFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoCodecOperationFlagBitsKHR::eInvalid ) -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags( VideoCodecOperationFlagBitsKHR::eEncodeH264EXT ) | - VkFlags( VideoCodecOperationFlagBitsKHR::eDecodeH264EXT ) | - VkFlags( VideoCodecOperationFlagBitsKHR::eDecodeH265EXT ) -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodecOperationFlagsKHR - operator|( VideoCodecOperationFlagBitsKHR bit0, VideoCodecOperationFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodecOperationFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodecOperationFlagsKHR - operator&(VideoCodecOperationFlagBitsKHR bit0, VideoCodecOperationFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoCodecOperationFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodecOperationFlagsKHR - operator^( VideoCodecOperationFlagBitsKHR bit0, VideoCodecOperationFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodecOperationFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodecOperationFlagsKHR operator~( VideoCodecOperationFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoCodecOperationFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoCodecOperationFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & VideoCodecOperationFlagBitsKHR::eEncodeH264EXT ) - result += "EncodeH264EXT | "; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & VideoCodecOperationFlagBitsKHR::eDecodeH264EXT ) - result += "DecodeH264EXT | "; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & VideoCodecOperationFlagBitsKHR::eDecodeH265EXT ) - result += "DecodeH265EXT | "; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoChromaSubsamplingFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoChromaSubsamplingFlagBitsKHR::eInvalid ) | - VkFlags( VideoChromaSubsamplingFlagBitsKHR::eMonochrome ) | - VkFlags( VideoChromaSubsamplingFlagBitsKHR::e420 ) | - VkFlags( VideoChromaSubsamplingFlagBitsKHR::e422 ) | VkFlags( VideoChromaSubsamplingFlagBitsKHR::e444 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoChromaSubsamplingFlagsKHR - operator|( VideoChromaSubsamplingFlagBitsKHR bit0, VideoChromaSubsamplingFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoChromaSubsamplingFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoChromaSubsamplingFlagsKHR - operator&(VideoChromaSubsamplingFlagBitsKHR bit0, VideoChromaSubsamplingFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoChromaSubsamplingFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoChromaSubsamplingFlagsKHR - operator^( VideoChromaSubsamplingFlagBitsKHR bit0, VideoChromaSubsamplingFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoChromaSubsamplingFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoChromaSubsamplingFlagsKHR - operator~( VideoChromaSubsamplingFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoChromaSubsamplingFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoChromaSubsamplingFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoChromaSubsamplingFlagBitsKHR::eMonochrome ) - result += "Monochrome | "; - if ( value & VideoChromaSubsamplingFlagBitsKHR::e420 ) - result += "420 | "; - if ( value & VideoChromaSubsamplingFlagBitsKHR::e422 ) - result += "422 | "; - if ( value & VideoChromaSubsamplingFlagBitsKHR::e444 ) - result += "444 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoComponentBitDepthFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoComponentBitDepthFlagBitsKHR::eInvalid ) | - VkFlags( VideoComponentBitDepthFlagBitsKHR::e8 ) | VkFlags( VideoComponentBitDepthFlagBitsKHR::e10 ) | - VkFlags( VideoComponentBitDepthFlagBitsKHR::e12 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoComponentBitDepthFlagsKHR - operator|( VideoComponentBitDepthFlagBitsKHR bit0, VideoComponentBitDepthFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoComponentBitDepthFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoComponentBitDepthFlagsKHR - operator&(VideoComponentBitDepthFlagBitsKHR bit0, VideoComponentBitDepthFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoComponentBitDepthFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoComponentBitDepthFlagsKHR - operator^( VideoComponentBitDepthFlagBitsKHR bit0, VideoComponentBitDepthFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoComponentBitDepthFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoComponentBitDepthFlagsKHR - operator~( VideoComponentBitDepthFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoComponentBitDepthFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoComponentBitDepthFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoComponentBitDepthFlagBitsKHR::e8 ) - result += "8 | "; - if ( value & VideoComponentBitDepthFlagBitsKHR::e10 ) - result += "10 | "; - if ( value & VideoComponentBitDepthFlagBitsKHR::e12 ) - result += "12 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoCapabilitiesFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoCapabilitiesFlagBitsKHR::eProtectedContent ) | - VkFlags( VideoCapabilitiesFlagBitsKHR::eSeparateReferenceImages ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCapabilitiesFlagsKHR - operator|( VideoCapabilitiesFlagBitsKHR bit0, VideoCapabilitiesFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCapabilitiesFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCapabilitiesFlagsKHR - operator&(VideoCapabilitiesFlagBitsKHR bit0, VideoCapabilitiesFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoCapabilitiesFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCapabilitiesFlagsKHR - operator^( VideoCapabilitiesFlagBitsKHR bit0, VideoCapabilitiesFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCapabilitiesFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCapabilitiesFlagsKHR operator~( VideoCapabilitiesFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoCapabilitiesFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoCapabilitiesFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoCapabilitiesFlagBitsKHR::eProtectedContent ) - result += "ProtectedContent | "; - if ( value & VideoCapabilitiesFlagBitsKHR::eSeparateReferenceImages ) - result += "SeparateReferenceImages | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoSessionCreateFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( VideoSessionCreateFlagBitsKHR::eDefault ) | VkFlags( VideoSessionCreateFlagBitsKHR::eProtectedContent ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoSessionCreateFlagsKHR - operator|( VideoSessionCreateFlagBitsKHR bit0, VideoSessionCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoSessionCreateFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoSessionCreateFlagsKHR - operator&(VideoSessionCreateFlagBitsKHR bit0, VideoSessionCreateFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoSessionCreateFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoSessionCreateFlagsKHR - operator^( VideoSessionCreateFlagBitsKHR bit0, VideoSessionCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoSessionCreateFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoSessionCreateFlagsKHR operator~( VideoSessionCreateFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoSessionCreateFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoSessionCreateFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoSessionCreateFlagBitsKHR::eProtectedContent ) - result += "ProtectedContent | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class VideoBeginCodingFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( VideoBeginCodingFlagBitsKHR ) - { - return "(void)"; - } - - using VideoBeginCodingFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( VideoBeginCodingFlagsKHR ) - { - return "{}"; - } - - enum class VideoEndCodingFlagBitsKHR : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( VideoEndCodingFlagBitsKHR ) - { - return "(void)"; - } - - using VideoEndCodingFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( VideoEndCodingFlagsKHR ) - { - return "{}"; - } - - using VideoCodingControlFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoCodingControlFlagBitsKHR::eDefault ) | VkFlags( VideoCodingControlFlagBitsKHR::eReset ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingControlFlagsKHR - operator|( VideoCodingControlFlagBitsKHR bit0, VideoCodingControlFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodingControlFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingControlFlagsKHR - operator&(VideoCodingControlFlagBitsKHR bit0, VideoCodingControlFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoCodingControlFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingControlFlagsKHR - operator^( VideoCodingControlFlagBitsKHR bit0, VideoCodingControlFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodingControlFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingControlFlagsKHR operator~( VideoCodingControlFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoCodingControlFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoCodingControlFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoCodingControlFlagBitsKHR::eReset ) - result += "Reset | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoCodingQualityPresetFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoCodingQualityPresetFlagBitsKHR::eDefault ) | - VkFlags( VideoCodingQualityPresetFlagBitsKHR::eNormal ) | - VkFlags( VideoCodingQualityPresetFlagBitsKHR::ePower ) | - VkFlags( VideoCodingQualityPresetFlagBitsKHR::eQuality ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingQualityPresetFlagsKHR - operator|( VideoCodingQualityPresetFlagBitsKHR bit0, VideoCodingQualityPresetFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodingQualityPresetFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingQualityPresetFlagsKHR - operator&(VideoCodingQualityPresetFlagBitsKHR bit0, VideoCodingQualityPresetFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoCodingQualityPresetFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingQualityPresetFlagsKHR - operator^( VideoCodingQualityPresetFlagBitsKHR bit0, VideoCodingQualityPresetFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoCodingQualityPresetFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoCodingQualityPresetFlagsKHR - operator~( VideoCodingQualityPresetFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoCodingQualityPresetFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoCodingQualityPresetFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoCodingQualityPresetFlagBitsKHR::eNormal ) - result += "Normal | "; - if ( value & VideoCodingQualityPresetFlagBitsKHR::ePower ) - result += "Power | "; - if ( value & VideoCodingQualityPresetFlagBitsKHR::eQuality ) - result += "Quality | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_decode_queue === - - using VideoDecodeFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoDecodeFlagBitsKHR::eDefault ) | VkFlags( VideoDecodeFlagBitsKHR::eReserved0 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeFlagsKHR - operator|( VideoDecodeFlagBitsKHR bit0, VideoDecodeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoDecodeFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeFlagsKHR operator&(VideoDecodeFlagBitsKHR bit0, - VideoDecodeFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoDecodeFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeFlagsKHR - operator^( VideoDecodeFlagBitsKHR bit0, VideoDecodeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoDecodeFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeFlagsKHR operator~( VideoDecodeFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoDecodeFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoDecodeFlagBitsKHR::eReserved0 ) - result += "Reserved0 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_EXT_transform_feedback === - - enum class PipelineRasterizationStateStreamCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagBitsEXT ) - { - return "(void)"; - } - - using PipelineRasterizationStateStreamCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagsEXT ) - { - return "{}"; - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_EXT_video_encode_h264 === - - using VideoEncodeH264CapabilitiesFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCabac ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCavlc ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityWeightedBiPredImplicit ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityTransform8X8 ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityChromaQpOffset ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilitySecondChromaQpOffset ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterDisabled ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterEnabled ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterPartial ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityMultipleSlicePerFrame ) | - VkFlags( VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityEvenlyDistributedSliceSize ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CapabilitiesFlagsEXT operator|( - VideoEncodeH264CapabilitiesFlagBitsEXT bit0, VideoEncodeH264CapabilitiesFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CapabilitiesFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CapabilitiesFlagsEXT operator&( - VideoEncodeH264CapabilitiesFlagBitsEXT bit0, VideoEncodeH264CapabilitiesFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CapabilitiesFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CapabilitiesFlagsEXT operator^( - VideoEncodeH264CapabilitiesFlagBitsEXT bit0, VideoEncodeH264CapabilitiesFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CapabilitiesFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CapabilitiesFlagsEXT - operator~( VideoEncodeH264CapabilitiesFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeH264CapabilitiesFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CapabilitiesFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCabac ) - result += "VkVideoEncodeH264CapabilityCabac | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityCavlc ) - result += "VkVideoEncodeH264CapabilityCavlc | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityWeightedBiPredImplicit ) - result += "VkVideoEncodeH264CapabilityWeightedBiPredImplicit | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityTransform8X8 ) - result += "VkVideoEncodeH264CapabilityTransform8X8 | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityChromaQpOffset ) - result += "VkVideoEncodeH264CapabilityChromaQpOffset | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilitySecondChromaQpOffset ) - result += "VkVideoEncodeH264CapabilitySecondChromaQpOffset | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterDisabled ) - result += "VkVideoEncodeH264CapabilityDeblockingFilterDisabled | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterEnabled ) - result += "VkVideoEncodeH264CapabilityDeblockingFilterEnabled | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityDeblockingFilterPartial ) - result += "VkVideoEncodeH264CapabilityDeblockingFilterPartial | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityMultipleSlicePerFrame ) - result += "VkVideoEncodeH264CapabilityMultipleSlicePerFrame | "; - if ( value & VideoEncodeH264CapabilitiesFlagBitsEXT::eVkVideoEncodeH264CapabilityEvenlyDistributedSliceSize ) - result += "VkVideoEncodeH264CapabilityEvenlyDistributedSliceSize | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoEncodeH264InputModeFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeFrame ) | - VkFlags( VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeSlice ) | - VkFlags( VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeNonVcl ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264InputModeFlagsEXT - operator|( VideoEncodeH264InputModeFlagBitsEXT bit0, VideoEncodeH264InputModeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264InputModeFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264InputModeFlagsEXT - operator&(VideoEncodeH264InputModeFlagBitsEXT bit0, VideoEncodeH264InputModeFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264InputModeFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264InputModeFlagsEXT - operator^( VideoEncodeH264InputModeFlagBitsEXT bit0, VideoEncodeH264InputModeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264InputModeFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264InputModeFlagsEXT - operator~( VideoEncodeH264InputModeFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeH264InputModeFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264InputModeFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeFrame ) - result += "VkVideoEncodeH264InputModeFrame | "; - if ( value & VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeSlice ) - result += "VkVideoEncodeH264InputModeSlice | "; - if ( value & VideoEncodeH264InputModeFlagBitsEXT::eVkVideoEncodeH264InputModeNonVcl ) - result += "VkVideoEncodeH264InputModeNonVcl | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoEncodeH264OutputModeFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeFrame ) | - VkFlags( VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeSlice ) | - VkFlags( VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeNonVcl ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264OutputModeFlagsEXT operator|( - VideoEncodeH264OutputModeFlagBitsEXT bit0, VideoEncodeH264OutputModeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264OutputModeFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264OutputModeFlagsEXT - operator&(VideoEncodeH264OutputModeFlagBitsEXT bit0, VideoEncodeH264OutputModeFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264OutputModeFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264OutputModeFlagsEXT operator^( - VideoEncodeH264OutputModeFlagBitsEXT bit0, VideoEncodeH264OutputModeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264OutputModeFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264OutputModeFlagsEXT - operator~( VideoEncodeH264OutputModeFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeH264OutputModeFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264OutputModeFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeFrame ) - result += "VkVideoEncodeH264OutputModeFrame | "; - if ( value & VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeSlice ) - result += "VkVideoEncodeH264OutputModeSlice | "; - if ( value & VideoEncodeH264OutputModeFlagBitsEXT::eVkVideoEncodeH264OutputModeNonVcl ) - result += "VkVideoEncodeH264OutputModeNonVcl | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoEncodeH264CreateFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoEncodeH264CreateFlagBitsEXT::eVkVideoEncodeH264CreateDefault ) | - VkFlags( VideoEncodeH264CreateFlagBitsEXT::eVkVideoEncodeH264CreateReserved0 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CreateFlagsEXT - operator|( VideoEncodeH264CreateFlagBitsEXT bit0, VideoEncodeH264CreateFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CreateFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CreateFlagsEXT - operator&(VideoEncodeH264CreateFlagBitsEXT bit0, VideoEncodeH264CreateFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CreateFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CreateFlagsEXT - operator^( VideoEncodeH264CreateFlagBitsEXT bit0, VideoEncodeH264CreateFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeH264CreateFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeH264CreateFlagsEXT - operator~( VideoEncodeH264CreateFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeH264CreateFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeH264CreateFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeH264CreateFlagBitsEXT::eVkVideoEncodeH264CreateReserved0 ) - result += "VkVideoEncodeH264CreateReserved0 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_EXT_video_decode_h264 === - - using VideoDecodeH264FieldLayoutFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264ProgressivePicturesOnly ) | - VkFlags( VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutLineInterlacedPlane ) | - VkFlags( VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutSeparateInterlacedPlane ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeH264FieldLayoutFlagsEXT operator|( - VideoDecodeH264FieldLayoutFlagBitsEXT bit0, VideoDecodeH264FieldLayoutFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoDecodeH264FieldLayoutFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeH264FieldLayoutFlagsEXT - operator&(VideoDecodeH264FieldLayoutFlagBitsEXT bit0, VideoDecodeH264FieldLayoutFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return VideoDecodeH264FieldLayoutFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeH264FieldLayoutFlagsEXT operator^( - VideoDecodeH264FieldLayoutFlagBitsEXT bit0, VideoDecodeH264FieldLayoutFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoDecodeH264FieldLayoutFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoDecodeH264FieldLayoutFlagsEXT - operator~( VideoDecodeH264FieldLayoutFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoDecodeH264FieldLayoutFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264FieldLayoutFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutLineInterlacedPlane ) - result += "VkVideoDecodeH264FieldLayoutLineInterlacedPlane | "; - if ( value & VideoDecodeH264FieldLayoutFlagBitsEXT::eVkVideoDecodeH264FieldLayoutSeparateInterlacedPlane ) - result += "VkVideoDecodeH264FieldLayoutSeparateInterlacedPlane | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class VideoDecodeH264CreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264CreateFlagBitsEXT ) - { - return "(void)"; - } - - using VideoDecodeH264CreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH264CreateFlagsEXT ) - { - return "{}"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_USE_PLATFORM_GGP ) - - //=== VK_GGP_stream_descriptor_surface === - - enum class StreamDescriptorSurfaceCreateFlagBitsGGP : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagBitsGGP ) - { - return "(void)"; - } - - using StreamDescriptorSurfaceCreateFlagsGGP = Flags; - - VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagsGGP ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_GGP*/ - - //=== VK_NV_external_memory_capabilities === - - using ExternalMemoryHandleTypeFlagsNV = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) | - VkFlags( ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) | - VkFlags( ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) | - VkFlags( ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV - operator|( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlagsNV( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV - operator&(ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlagsNV( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV - operator^( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryHandleTypeFlagsNV( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV - operator~( ExternalMemoryHandleTypeFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT - { - return ~( ExternalMemoryHandleTypeFlagsNV( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagsNV value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) - result += "OpaqueWin32 | "; - if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) - result += "OpaqueWin32Kmt | "; - if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) - result += "D3D11Image | "; - if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) - result += "D3D11ImageKmt | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using ExternalMemoryFeatureFlagsNV = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) | - VkFlags( ExternalMemoryFeatureFlagBitsNV::eExportable ) | - VkFlags( ExternalMemoryFeatureFlagBitsNV::eImportable ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV - operator|( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlagsNV( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV - operator&(ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1)VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlagsNV( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV - operator^( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return ExternalMemoryFeatureFlagsNV( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV operator~( ExternalMemoryFeatureFlagBitsNV bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ExternalMemoryFeatureFlagsNV( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagsNV value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) - result += "DedicatedOnly | "; - if ( value & ExternalMemoryFeatureFlagBitsNV::eExportable ) - result += "Exportable | "; - if ( value & ExternalMemoryFeatureFlagBitsNV::eImportable ) - result += "Importable | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - -#if defined( VK_USE_PLATFORM_VI_NN ) - - //=== VK_NN_vi_surface === - - enum class ViSurfaceCreateFlagBitsNN : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagBitsNN ) - { - return "(void)"; - } - - using ViSurfaceCreateFlagsNN = Flags; - - VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagsNN ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_VI_NN*/ - - //=== VK_EXT_conditional_rendering === - - using ConditionalRenderingFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ConditionalRenderingFlagBitsEXT::eInverted ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT - operator|( ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return ConditionalRenderingFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT - operator&(ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return ConditionalRenderingFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT - operator^( ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return ConditionalRenderingFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT operator~( ConditionalRenderingFlagBitsEXT bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ConditionalRenderingFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ConditionalRenderingFlagBitsEXT::eInverted ) - result += "Inverted | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_EXT_display_surface_counter === - - using SurfaceCounterFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SurfaceCounterFlagBitsEXT::eVblank ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT - operator|( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return SurfaceCounterFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT - operator&(SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return SurfaceCounterFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT - operator^( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return SurfaceCounterFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT operator~( SurfaceCounterFlagBitsEXT bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( SurfaceCounterFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SurfaceCounterFlagBitsEXT::eVblank ) - result += "Vblank | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_NV_viewport_swizzle === - - enum class PipelineViewportSwizzleStateCreateFlagBitsNV : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagBitsNV ) - { - return "(void)"; - } - - using PipelineViewportSwizzleStateCreateFlagsNV = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagsNV ) - { - return "{}"; - } - - //=== VK_EXT_discard_rectangles === - - enum class PipelineDiscardRectangleStateCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagBitsEXT ) - { - return "(void)"; - } - - using PipelineDiscardRectangleStateCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_EXT_conservative_rasterization === - - enum class PipelineRasterizationConservativeStateCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagBitsEXT ) - { - return "(void)"; - } - - using PipelineRasterizationConservativeStateCreateFlagsEXT = - Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_EXT_depth_clip_enable === - - enum class PipelineRasterizationDepthClipStateCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagBitsEXT ) - { - return "(void)"; - } - - using PipelineRasterizationDepthClipStateCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_KHR_performance_query === - - using PerformanceCounterDescriptionFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting ) | - VkFlags( PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator|( - PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return PerformanceCounterDescriptionFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator&( - PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return PerformanceCounterDescriptionFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator^( - PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return PerformanceCounterDescriptionFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR - operator~( PerformanceCounterDescriptionFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( PerformanceCounterDescriptionFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting ) - result += "PerformanceImpacting | "; - if ( value & PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted ) - result += "ConcurrentlyImpacted | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using AcquireProfilingLockFlagsKHR = Flags; - - VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagsKHR ) - { - return "{}"; - } - -#if defined( VK_USE_PLATFORM_IOS_MVK ) - - //=== VK_MVK_ios_surface === - - enum class IOSSurfaceCreateFlagBitsMVK : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagBitsMVK ) - { - return "(void)"; - } - - using IOSSurfaceCreateFlagsMVK = Flags; - - VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagsMVK ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_IOS_MVK*/ - -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - - //=== VK_MVK_macos_surface === - - enum class MacOSSurfaceCreateFlagBitsMVK : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagBitsMVK ) - { - return "(void)"; - } - - using MacOSSurfaceCreateFlagsMVK = Flags; - - VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagsMVK ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - - //=== VK_EXT_debug_utils === - - using DebugUtilsMessageSeverityFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) | - VkFlags( DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) | - VkFlags( DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) | - VkFlags( DebugUtilsMessageSeverityFlagBitsEXT::eError ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator|( - DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageSeverityFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT - operator&(DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageSeverityFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator^( - DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageSeverityFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT - operator~( DebugUtilsMessageSeverityFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DebugUtilsMessageSeverityFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) - result += "Verbose | "; - if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) - result += "Info | "; - if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) - result += "Warning | "; - if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eError ) - result += "Error | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using DebugUtilsMessageTypeFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) | - VkFlags( DebugUtilsMessageTypeFlagBitsEXT::eValidation ) | - VkFlags( DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT - operator|( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageTypeFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT - operator&(DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageTypeFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT - operator^( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return DebugUtilsMessageTypeFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT - operator~( DebugUtilsMessageTypeFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DebugUtilsMessageTypeFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) - result += "General | "; - if ( value & DebugUtilsMessageTypeFlagBitsEXT::eValidation ) - result += "Validation | "; - if ( value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) - result += "Performance | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - enum class DebugUtilsMessengerCallbackDataFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagBitsEXT ) - { - return "(void)"; - } - - using DebugUtilsMessengerCallbackDataFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagsEXT ) - { - return "{}"; - } - - enum class DebugUtilsMessengerCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagBitsEXT ) - { - return "(void)"; - } - - using DebugUtilsMessengerCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_NV_fragment_coverage_to_color === - - enum class PipelineCoverageToColorStateCreateFlagBitsNV : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagBitsNV ) - { - return "(void)"; - } - - using PipelineCoverageToColorStateCreateFlagsNV = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagsNV ) - { - return "{}"; - } - - //=== VK_KHR_acceleration_structure === - - using GeometryFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( GeometryFlagBitsKHR::eOpaque ) | VkFlags( GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator|( GeometryFlagBitsKHR bit0, - GeometryFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return GeometryFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator&(GeometryFlagBitsKHR bit0, - GeometryFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return GeometryFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator^( GeometryFlagBitsKHR bit0, - GeometryFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return GeometryFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator~( GeometryFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( GeometryFlagsKHR( bits ) ); - } - - using GeometryFlagsNV = GeometryFlagsKHR; - - VULKAN_HPP_INLINE std::string to_string( GeometryFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & GeometryFlagBitsKHR::eOpaque ) - result += "Opaque | "; - if ( value & GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation ) - result += "NoDuplicateAnyHitInvocation | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using GeometryInstanceFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable ) | - VkFlags( GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise ) | - VkFlags( GeometryInstanceFlagBitsKHR::eForceOpaque ) | - VkFlags( GeometryInstanceFlagBitsKHR::eForceNoOpaque ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR - operator|( GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return GeometryInstanceFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR - operator&(GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return GeometryInstanceFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR - operator^( GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return GeometryInstanceFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR operator~( GeometryInstanceFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( GeometryInstanceFlagsKHR( bits ) ); - } - - using GeometryInstanceFlagsNV = GeometryInstanceFlagsKHR; - - VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable ) - result += "TriangleFacingCullDisable | "; - if ( value & GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise ) - result += "TriangleFrontCounterclockwise | "; - if ( value & GeometryInstanceFlagBitsKHR::eForceOpaque ) - result += "ForceOpaque | "; - if ( value & GeometryInstanceFlagBitsKHR::eForceNoOpaque ) - result += "ForceNoOpaque | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using BuildAccelerationStructureFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( BuildAccelerationStructureFlagBitsKHR::eAllowUpdate ) | - VkFlags( BuildAccelerationStructureFlagBitsKHR::eAllowCompaction ) | - VkFlags( BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace ) | - VkFlags( BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild ) | - VkFlags( BuildAccelerationStructureFlagBitsKHR::eLowMemory ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator|( - BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return BuildAccelerationStructureFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR - operator&(BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return BuildAccelerationStructureFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator^( - BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return BuildAccelerationStructureFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR - operator~( BuildAccelerationStructureFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( BuildAccelerationStructureFlagsKHR( bits ) ); - } - - using BuildAccelerationStructureFlagsNV = BuildAccelerationStructureFlagsKHR; - - VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowUpdate ) - result += "AllowUpdate | "; - if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowCompaction ) - result += "AllowCompaction | "; - if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace ) - result += "PreferFastTrace | "; - if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild ) - result += "PreferFastBuild | "; - if ( value & BuildAccelerationStructureFlagBitsKHR::eLowMemory ) - result += "LowMemory | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using AccelerationStructureCreateFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( AccelerationStructureCreateFlagBitsKHR::eDeviceAddressCaptureReplay ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccelerationStructureCreateFlagsKHR operator|( - AccelerationStructureCreateFlagBitsKHR bit0, AccelerationStructureCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccelerationStructureCreateFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccelerationStructureCreateFlagsKHR operator&( - AccelerationStructureCreateFlagBitsKHR bit0, AccelerationStructureCreateFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return AccelerationStructureCreateFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccelerationStructureCreateFlagsKHR operator^( - AccelerationStructureCreateFlagBitsKHR bit0, AccelerationStructureCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccelerationStructureCreateFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccelerationStructureCreateFlagsKHR - operator~( AccelerationStructureCreateFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( AccelerationStructureCreateFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( AccelerationStructureCreateFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & AccelerationStructureCreateFlagBitsKHR::eDeviceAddressCaptureReplay ) - result += "DeviceAddressCaptureReplay | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_NV_framebuffer_mixed_samples === - - enum class PipelineCoverageModulationStateCreateFlagBitsNV : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagBitsNV ) - { - return "(void)"; - } - - using PipelineCoverageModulationStateCreateFlagsNV = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagsNV ) - { - return "{}"; - } - - //=== VK_EXT_validation_cache === - - enum class ValidationCacheCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagBitsEXT ) - { - return "(void)"; - } - - using ValidationCacheCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_AMD_pipeline_compiler_control === - - using PipelineCompilerControlFlagsAMD = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagsAMD ) - { - return "{}"; - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_EXT_video_decode_h265 === - - enum class VideoDecodeH265CreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH265CreateFlagBitsEXT ) - { - return "(void)"; - } - - using VideoDecodeH265CreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( VideoDecodeH265CreateFlagsEXT ) - { - return "{}"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_EXT_pipeline_creation_feedback === - - using PipelineCreationFeedbackFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( PipelineCreationFeedbackFlagBitsEXT::eValid ) | - VkFlags( PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit ) | - VkFlags( PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT - operator|( PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCreationFeedbackFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT - operator&(PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineCreationFeedbackFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT - operator^( PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineCreationFeedbackFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT - operator~( PipelineCreationFeedbackFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT - { - return ~( PipelineCreationFeedbackFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineCreationFeedbackFlagBitsEXT::eValid ) - result += "Valid | "; - if ( value & PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit ) - result += "ApplicationPipelineCacheHit | "; - if ( value & PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration ) - result += "BasePipelineAcceleration | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - - //=== VK_FUCHSIA_imagepipe_surface === - - enum class ImagePipeSurfaceCreateFlagBitsFUCHSIA : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagBitsFUCHSIA ) - { - return "(void)"; - } - - using ImagePipeSurfaceCreateFlagsFUCHSIA = Flags; - - VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagsFUCHSIA ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_METAL_EXT ) - - //=== VK_EXT_metal_surface === - - enum class MetalSurfaceCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagBitsEXT ) - { - return "(void)"; - } - - using MetalSurfaceCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagsEXT ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - - //=== VK_AMD_shader_core_properties2 === - - using ShaderCorePropertiesFlagsAMD = Flags; - - VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagsAMD ) - { - return "{}"; - } - - //=== VK_EXT_tooling_info === - - using ToolPurposeFlagsEXT = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( ToolPurposeFlagBitsEXT::eValidation ) | VkFlags( ToolPurposeFlagBitsEXT::eProfiling ) | - VkFlags( ToolPurposeFlagBitsEXT::eTracing ) | VkFlags( ToolPurposeFlagBitsEXT::eAdditionalFeatures ) | - VkFlags( ToolPurposeFlagBitsEXT::eModifyingFeatures ) | - VkFlags( ToolPurposeFlagBitsEXT::eDebugReporting ) | VkFlags( ToolPurposeFlagBitsEXT::eDebugMarkers ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT - operator|( ToolPurposeFlagBitsEXT bit0, ToolPurposeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return ToolPurposeFlagsEXT( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator&(ToolPurposeFlagBitsEXT bit0, - ToolPurposeFlagBitsEXT bit1)VULKAN_HPP_NOEXCEPT - { - return ToolPurposeFlagsEXT( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT - operator^( ToolPurposeFlagBitsEXT bit0, ToolPurposeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT - { - return ToolPurposeFlagsEXT( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator~( ToolPurposeFlagBitsEXT bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( ToolPurposeFlagsEXT( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlagsEXT value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & ToolPurposeFlagBitsEXT::eValidation ) - result += "Validation | "; - if ( value & ToolPurposeFlagBitsEXT::eProfiling ) - result += "Profiling | "; - if ( value & ToolPurposeFlagBitsEXT::eTracing ) - result += "Tracing | "; - if ( value & ToolPurposeFlagBitsEXT::eAdditionalFeatures ) - result += "AdditionalFeatures | "; - if ( value & ToolPurposeFlagBitsEXT::eModifyingFeatures ) - result += "ModifyingFeatures | "; - if ( value & ToolPurposeFlagBitsEXT::eDebugReporting ) - result += "DebugReporting | "; - if ( value & ToolPurposeFlagBitsEXT::eDebugMarkers ) - result += "DebugMarkers | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_NV_coverage_reduction_mode === - - enum class PipelineCoverageReductionStateCreateFlagBitsNV : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagBitsNV ) - { - return "(void)"; - } - - using PipelineCoverageReductionStateCreateFlagsNV = Flags; - - VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagsNV ) - { - return "{}"; - } - - //=== VK_EXT_headless_surface === - - enum class HeadlessSurfaceCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagBitsEXT ) - { - return "(void)"; - } - - using HeadlessSurfaceCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagsEXT ) - { - return "{}"; - } - - //=== VK_NV_device_generated_commands === - - using IndirectStateFlagsNV = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( IndirectStateFlagBitsNV::eFlagFrontface ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV - operator|( IndirectStateFlagBitsNV bit0, IndirectStateFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return IndirectStateFlagsNV( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator&(IndirectStateFlagBitsNV bit0, - IndirectStateFlagBitsNV bit1)VULKAN_HPP_NOEXCEPT - { - return IndirectStateFlagsNV( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV - operator^( IndirectStateFlagBitsNV bit0, IndirectStateFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return IndirectStateFlagsNV( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator~( IndirectStateFlagBitsNV bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( IndirectStateFlagsNV( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagsNV value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & IndirectStateFlagBitsNV::eFlagFrontface ) - result += "FlagFrontface | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using IndirectCommandsLayoutUsageFlagsNV = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess ) | - VkFlags( IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences ) | - VkFlags( IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator|( - IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return IndirectCommandsLayoutUsageFlagsNV( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV - operator&(IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1)VULKAN_HPP_NOEXCEPT - { - return IndirectCommandsLayoutUsageFlagsNV( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator^( - IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return IndirectCommandsLayoutUsageFlagsNV( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV - operator~( IndirectCommandsLayoutUsageFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT - { - return ~( IndirectCommandsLayoutUsageFlagsNV( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagsNV value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess ) - result += "ExplicitPreprocess | "; - if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences ) - result += "IndexedSequences | "; - if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences ) - result += "UnorderedSequences | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_EXT_device_memory_report === - - enum class DeviceMemoryReportFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagBitsEXT ) - { - return "(void)"; - } - - using DeviceMemoryReportFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagsEXT ) - { - return "{}"; - } - - //=== VK_EXT_private_data === - - using PrivateDataSlotCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlagsEXT ) - { - return "{}"; - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - - //=== VK_KHR_video_encode_queue === - - using VideoEncodeFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoEncodeFlagBitsKHR::eDefault ) | VkFlags( VideoEncodeFlagBitsKHR::eReserved0 ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeFlagsKHR - operator|( VideoEncodeFlagBitsKHR bit0, VideoEncodeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeFlagsKHR operator&(VideoEncodeFlagBitsKHR bit0, - VideoEncodeFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeFlagsKHR - operator^( VideoEncodeFlagBitsKHR bit0, VideoEncodeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeFlagsKHR operator~( VideoEncodeFlagBitsKHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeFlagBitsKHR::eReserved0 ) - result += "Reserved0 | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoEncodeRateControlFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = - VkFlags( VideoEncodeRateControlFlagBitsKHR::eDefault ) | VkFlags( VideoEncodeRateControlFlagBitsKHR::eReset ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlFlagsKHR - operator|( VideoEncodeRateControlFlagBitsKHR bit0, VideoEncodeRateControlFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlFlagsKHR - operator&(VideoEncodeRateControlFlagBitsKHR bit0, VideoEncodeRateControlFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlFlagsKHR - operator^( VideoEncodeRateControlFlagBitsKHR bit0, VideoEncodeRateControlFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlFlagsKHR - operator~( VideoEncodeRateControlFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeRateControlFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & VideoEncodeRateControlFlagBitsKHR::eReset ) - result += "Reset | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using VideoEncodeRateControlModeFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( VideoEncodeRateControlModeFlagBitsKHR::eNone ) | - VkFlags( VideoEncodeRateControlModeFlagBitsKHR::eCbr ) | - VkFlags( VideoEncodeRateControlModeFlagBitsKHR::eVbr ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlModeFlagsKHR operator|( - VideoEncodeRateControlModeFlagBitsKHR bit0, VideoEncodeRateControlModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlModeFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlModeFlagsKHR - operator&(VideoEncodeRateControlModeFlagBitsKHR bit0, VideoEncodeRateControlModeFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlModeFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlModeFlagsKHR operator^( - VideoEncodeRateControlModeFlagBitsKHR bit0, VideoEncodeRateControlModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return VideoEncodeRateControlModeFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR VideoEncodeRateControlModeFlagsKHR - operator~( VideoEncodeRateControlModeFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( VideoEncodeRateControlModeFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( VideoEncodeRateControlModeFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - //=== VK_NV_device_diagnostics_config === - - using DeviceDiagnosticsConfigFlagsNV = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo ) | - VkFlags( DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking ) | - VkFlags( DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV - operator|( DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceDiagnosticsConfigFlagsNV( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV - operator&(DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1)VULKAN_HPP_NOEXCEPT - { - return DeviceDiagnosticsConfigFlagsNV( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV - operator^( DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT - { - return DeviceDiagnosticsConfigFlagsNV( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV - operator~( DeviceDiagnosticsConfigFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT - { - return ~( DeviceDiagnosticsConfigFlagsNV( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagsNV value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo ) - result += "EnableShaderDebugInfo | "; - if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking ) - result += "EnableResourceTracking | "; - if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints ) - result += "EnableAutomaticCheckpoints | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - //=== VK_KHR_synchronization2 === - - using PipelineStageFlags2KHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags64 - { - allFlags = - VkFlags64( PipelineStageFlagBits2KHR::eNone ) | VkFlags64( PipelineStageFlagBits2KHR::eTopOfPipe ) | - VkFlags64( PipelineStageFlagBits2KHR::eDrawIndirect ) | VkFlags64( PipelineStageFlagBits2KHR::eVertexInput ) | - VkFlags64( PipelineStageFlagBits2KHR::eVertexShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eTessellationControlShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eTessellationEvaluationShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eGeometryShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eFragmentShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eEarlyFragmentTests ) | - VkFlags64( PipelineStageFlagBits2KHR::eLateFragmentTests ) | - VkFlags64( PipelineStageFlagBits2KHR::eColorAttachmentOutput ) | - VkFlags64( PipelineStageFlagBits2KHR::eComputeShader ) | VkFlags64( PipelineStageFlagBits2KHR::eAllTransfer ) | - VkFlags64( PipelineStageFlagBits2KHR::eBottomOfPipe ) | VkFlags64( PipelineStageFlagBits2KHR::eHost ) | - VkFlags64( PipelineStageFlagBits2KHR::eAllGraphics ) | VkFlags64( PipelineStageFlagBits2KHR::eAllCommands ) | - VkFlags64( PipelineStageFlagBits2KHR::eCopy ) | VkFlags64( PipelineStageFlagBits2KHR::eResolve ) | - VkFlags64( PipelineStageFlagBits2KHR::eBlit ) | VkFlags64( PipelineStageFlagBits2KHR::eClear ) | - VkFlags64( PipelineStageFlagBits2KHR::eIndexInput ) | - VkFlags64( PipelineStageFlagBits2KHR::eVertexAttributeInput ) | - VkFlags64( PipelineStageFlagBits2KHR::ePreRasterizationShaders ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags64( PipelineStageFlagBits2KHR::eVideoDecode ) | VkFlags64( PipelineStageFlagBits2KHR::eVideoEncode ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - | VkFlags64( PipelineStageFlagBits2KHR::eTransformFeedbackExt ) | - VkFlags64( PipelineStageFlagBits2KHR::eConditionalRenderingExt ) | - VkFlags64( PipelineStageFlagBits2KHR::eCommandPreprocessNv ) | - VkFlags64( PipelineStageFlagBits2KHR::eFragmentShadingRateAttachment ) | - VkFlags64( PipelineStageFlagBits2KHR::eAccelerationStructureBuild ) | - VkFlags64( PipelineStageFlagBits2KHR::eRayTracingShader ) | - VkFlags64( PipelineStageFlagBits2KHR::eFragmentDensityProcessExt ) | - VkFlags64( PipelineStageFlagBits2KHR::eTaskShaderNv ) | VkFlags64( PipelineStageFlagBits2KHR::eMeshShaderNv ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags2KHR - operator|( PipelineStageFlagBits2KHR bit0, PipelineStageFlagBits2KHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags2KHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags2KHR - operator&(PipelineStageFlagBits2KHR bit0, PipelineStageFlagBits2KHR bit1)VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags2KHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags2KHR - operator^( PipelineStageFlagBits2KHR bit0, PipelineStageFlagBits2KHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return PipelineStageFlags2KHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags2KHR operator~( PipelineStageFlagBits2KHR bits ) - VULKAN_HPP_NOEXCEPT - { - return ~( PipelineStageFlags2KHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags2KHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & PipelineStageFlagBits2KHR::eTopOfPipe ) - result += "TopOfPipe | "; - if ( value & PipelineStageFlagBits2KHR::eDrawIndirect ) - result += "DrawIndirect | "; - if ( value & PipelineStageFlagBits2KHR::eVertexInput ) - result += "VertexInput | "; - if ( value & PipelineStageFlagBits2KHR::eVertexShader ) - result += "VertexShader | "; - if ( value & PipelineStageFlagBits2KHR::eTessellationControlShader ) - result += "TessellationControlShader | "; - if ( value & PipelineStageFlagBits2KHR::eTessellationEvaluationShader ) - result += "TessellationEvaluationShader | "; - if ( value & PipelineStageFlagBits2KHR::eGeometryShader ) - result += "GeometryShader | "; - if ( value & PipelineStageFlagBits2KHR::eFragmentShader ) - result += "FragmentShader | "; - if ( value & PipelineStageFlagBits2KHR::eEarlyFragmentTests ) - result += "EarlyFragmentTests | "; - if ( value & PipelineStageFlagBits2KHR::eLateFragmentTests ) - result += "LateFragmentTests | "; - if ( value & PipelineStageFlagBits2KHR::eColorAttachmentOutput ) - result += "ColorAttachmentOutput | "; - if ( value & PipelineStageFlagBits2KHR::eComputeShader ) - result += "ComputeShader | "; - if ( value & PipelineStageFlagBits2KHR::eAllTransfer ) - result += "AllTransfer | "; - if ( value & PipelineStageFlagBits2KHR::eBottomOfPipe ) - result += "BottomOfPipe | "; - if ( value & PipelineStageFlagBits2KHR::eHost ) - result += "Host | "; - if ( value & PipelineStageFlagBits2KHR::eAllGraphics ) - result += "AllGraphics | "; - if ( value & PipelineStageFlagBits2KHR::eAllCommands ) - result += "AllCommands | "; - if ( value & PipelineStageFlagBits2KHR::eCopy ) - result += "Copy | "; - if ( value & PipelineStageFlagBits2KHR::eResolve ) - result += "Resolve | "; - if ( value & PipelineStageFlagBits2KHR::eBlit ) - result += "Blit | "; - if ( value & PipelineStageFlagBits2KHR::eClear ) - result += "Clear | "; - if ( value & PipelineStageFlagBits2KHR::eIndexInput ) - result += "IndexInput | "; - if ( value & PipelineStageFlagBits2KHR::eVertexAttributeInput ) - result += "VertexAttributeInput | "; - if ( value & PipelineStageFlagBits2KHR::ePreRasterizationShaders ) - result += "PreRasterizationShaders | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & PipelineStageFlagBits2KHR::eVideoDecode ) - result += "VideoDecode | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & PipelineStageFlagBits2KHR::eVideoEncode ) - result += "VideoEncode | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - if ( value & PipelineStageFlagBits2KHR::eTransformFeedbackExt ) - result += "TransformFeedbackExt | "; - if ( value & PipelineStageFlagBits2KHR::eConditionalRenderingExt ) - result += "ConditionalRenderingExt | "; - if ( value & PipelineStageFlagBits2KHR::eCommandPreprocessNv ) - result += "CommandPreprocessNv | "; - if ( value & PipelineStageFlagBits2KHR::eFragmentShadingRateAttachment ) - result += "FragmentShadingRateAttachment | "; - if ( value & PipelineStageFlagBits2KHR::eAccelerationStructureBuild ) - result += "AccelerationStructureBuild | "; - if ( value & PipelineStageFlagBits2KHR::eRayTracingShader ) - result += "RayTracingShader | "; - if ( value & PipelineStageFlagBits2KHR::eFragmentDensityProcessExt ) - result += "FragmentDensityProcessExt | "; - if ( value & PipelineStageFlagBits2KHR::eTaskShaderNv ) - result += "TaskShaderNv | "; - if ( value & PipelineStageFlagBits2KHR::eMeshShaderNv ) - result += "MeshShaderNv | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using AccessFlags2KHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags64 - { - allFlags = - VkFlags64( AccessFlagBits2KHR::eNone ) | VkFlags64( AccessFlagBits2KHR::eIndirectCommandRead ) | - VkFlags64( AccessFlagBits2KHR::eIndexRead ) | VkFlags64( AccessFlagBits2KHR::eVertexAttributeRead ) | - VkFlags64( AccessFlagBits2KHR::eUniformRead ) | VkFlags64( AccessFlagBits2KHR::eInputAttachmentRead ) | - VkFlags64( AccessFlagBits2KHR::eShaderRead ) | VkFlags64( AccessFlagBits2KHR::eShaderWrite ) | - VkFlags64( AccessFlagBits2KHR::eColorAttachmentRead ) | VkFlags64( AccessFlagBits2KHR::eColorAttachmentWrite ) | - VkFlags64( AccessFlagBits2KHR::eDepthStencilAttachmentRead ) | - VkFlags64( AccessFlagBits2KHR::eDepthStencilAttachmentWrite ) | VkFlags64( AccessFlagBits2KHR::eTransferRead ) | - VkFlags64( AccessFlagBits2KHR::eTransferWrite ) | VkFlags64( AccessFlagBits2KHR::eHostRead ) | - VkFlags64( AccessFlagBits2KHR::eHostWrite ) | VkFlags64( AccessFlagBits2KHR::eMemoryRead ) | - VkFlags64( AccessFlagBits2KHR::eMemoryWrite ) | VkFlags64( AccessFlagBits2KHR::eShaderSampledRead ) | - VkFlags64( AccessFlagBits2KHR::eShaderStorageRead ) | VkFlags64( AccessFlagBits2KHR::eShaderStorageWrite ) -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - | VkFlags64( AccessFlagBits2KHR::eVideoDecodeRead ) | VkFlags64( AccessFlagBits2KHR::eVideoDecodeWrite ) | - VkFlags64( AccessFlagBits2KHR::eVideoEncodeRead ) | VkFlags64( AccessFlagBits2KHR::eVideoEncodeWrite ) -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - | VkFlags64( AccessFlagBits2KHR::eTransformFeedbackWriteExt ) | - VkFlags64( AccessFlagBits2KHR::eTransformFeedbackCounterReadExt ) | - VkFlags64( AccessFlagBits2KHR::eTransformFeedbackCounterWriteExt ) | - VkFlags64( AccessFlagBits2KHR::eConditionalRenderingReadExt ) | - VkFlags64( AccessFlagBits2KHR::eCommandPreprocessReadNv ) | - VkFlags64( AccessFlagBits2KHR::eCommandPreprocessWriteNv ) | - VkFlags64( AccessFlagBits2KHR::eFragmentShadingRateAttachmentRead ) | - VkFlags64( AccessFlagBits2KHR::eAccelerationStructureRead ) | - VkFlags64( AccessFlagBits2KHR::eAccelerationStructureWrite ) | - VkFlags64( AccessFlagBits2KHR::eFragmentDensityMapReadExt ) | - VkFlags64( AccessFlagBits2KHR::eColorAttachmentReadNoncoherentExt ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags2KHR operator|( AccessFlagBits2KHR bit0, - AccessFlagBits2KHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccessFlags2KHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags2KHR operator&(AccessFlagBits2KHR bit0, - AccessFlagBits2KHR bit1)VULKAN_HPP_NOEXCEPT - { - return AccessFlags2KHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags2KHR operator^( AccessFlagBits2KHR bit0, - AccessFlagBits2KHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return AccessFlags2KHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags2KHR operator~( AccessFlagBits2KHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( AccessFlags2KHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( AccessFlags2KHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & AccessFlagBits2KHR::eIndirectCommandRead ) - result += "IndirectCommandRead | "; - if ( value & AccessFlagBits2KHR::eIndexRead ) - result += "IndexRead | "; - if ( value & AccessFlagBits2KHR::eVertexAttributeRead ) - result += "VertexAttributeRead | "; - if ( value & AccessFlagBits2KHR::eUniformRead ) - result += "UniformRead | "; - if ( value & AccessFlagBits2KHR::eInputAttachmentRead ) - result += "InputAttachmentRead | "; - if ( value & AccessFlagBits2KHR::eShaderRead ) - result += "ShaderRead | "; - if ( value & AccessFlagBits2KHR::eShaderWrite ) - result += "ShaderWrite | "; - if ( value & AccessFlagBits2KHR::eColorAttachmentRead ) - result += "ColorAttachmentRead | "; - if ( value & AccessFlagBits2KHR::eColorAttachmentWrite ) - result += "ColorAttachmentWrite | "; - if ( value & AccessFlagBits2KHR::eDepthStencilAttachmentRead ) - result += "DepthStencilAttachmentRead | "; - if ( value & AccessFlagBits2KHR::eDepthStencilAttachmentWrite ) - result += "DepthStencilAttachmentWrite | "; - if ( value & AccessFlagBits2KHR::eTransferRead ) - result += "TransferRead | "; - if ( value & AccessFlagBits2KHR::eTransferWrite ) - result += "TransferWrite | "; - if ( value & AccessFlagBits2KHR::eHostRead ) - result += "HostRead | "; - if ( value & AccessFlagBits2KHR::eHostWrite ) - result += "HostWrite | "; - if ( value & AccessFlagBits2KHR::eMemoryRead ) - result += "MemoryRead | "; - if ( value & AccessFlagBits2KHR::eMemoryWrite ) - result += "MemoryWrite | "; - if ( value & AccessFlagBits2KHR::eShaderSampledRead ) - result += "ShaderSampledRead | "; - if ( value & AccessFlagBits2KHR::eShaderStorageRead ) - result += "ShaderStorageRead | "; - if ( value & AccessFlagBits2KHR::eShaderStorageWrite ) - result += "ShaderStorageWrite | "; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & AccessFlagBits2KHR::eVideoDecodeRead ) - result += "VideoDecodeRead | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & AccessFlagBits2KHR::eVideoDecodeWrite ) - result += "VideoDecodeWrite | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & AccessFlagBits2KHR::eVideoEncodeRead ) - result += "VideoEncodeRead | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - if ( value & AccessFlagBits2KHR::eVideoEncodeWrite ) - result += "VideoEncodeWrite | "; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - if ( value & AccessFlagBits2KHR::eTransformFeedbackWriteExt ) - result += "TransformFeedbackWriteExt | "; - if ( value & AccessFlagBits2KHR::eTransformFeedbackCounterReadExt ) - result += "TransformFeedbackCounterReadExt | "; - if ( value & AccessFlagBits2KHR::eTransformFeedbackCounterWriteExt ) - result += "TransformFeedbackCounterWriteExt | "; - if ( value & AccessFlagBits2KHR::eConditionalRenderingReadExt ) - result += "ConditionalRenderingReadExt | "; - if ( value & AccessFlagBits2KHR::eCommandPreprocessReadNv ) - result += "CommandPreprocessReadNv | "; - if ( value & AccessFlagBits2KHR::eCommandPreprocessWriteNv ) - result += "CommandPreprocessWriteNv | "; - if ( value & AccessFlagBits2KHR::eFragmentShadingRateAttachmentRead ) - result += "FragmentShadingRateAttachmentRead | "; - if ( value & AccessFlagBits2KHR::eAccelerationStructureRead ) - result += "AccelerationStructureRead | "; - if ( value & AccessFlagBits2KHR::eAccelerationStructureWrite ) - result += "AccelerationStructureWrite | "; - if ( value & AccessFlagBits2KHR::eFragmentDensityMapReadExt ) - result += "FragmentDensityMapReadExt | "; - if ( value & AccessFlagBits2KHR::eColorAttachmentReadNoncoherentExt ) - result += "ColorAttachmentReadNoncoherentExt | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - - using SubmitFlagsKHR = Flags; - - template <> - struct FlagTraits - { - enum : VkFlags - { - allFlags = VkFlags( SubmitFlagBitsKHR::eProtected ) - }; - }; - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubmitFlagsKHR operator|( SubmitFlagBitsKHR bit0, - SubmitFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubmitFlagsKHR( bit0 ) | bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubmitFlagsKHR operator&(SubmitFlagBitsKHR bit0, - SubmitFlagBitsKHR bit1)VULKAN_HPP_NOEXCEPT - { - return SubmitFlagsKHR( bit0 ) & bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubmitFlagsKHR operator^( SubmitFlagBitsKHR bit0, - SubmitFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT - { - return SubmitFlagsKHR( bit0 ) ^ bit1; - } - - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubmitFlagsKHR operator~( SubmitFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT - { - return ~( SubmitFlagsKHR( bits ) ); - } - - VULKAN_HPP_INLINE std::string to_string( SubmitFlagsKHR value ) - { - if ( !value ) - return "{}"; - std::string result; - - if ( value & SubmitFlagBitsKHR::eProtected ) - result += "Protected | "; - return "{ " + result.substr( 0, result.size() - 3 ) + " }"; - } - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - - //=== VK_EXT_directfb_surface === - - enum class DirectFBSurfaceCreateFlagBitsEXT : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagBitsEXT ) - { - return "(void)"; - } - - using DirectFBSurfaceCreateFlagsEXT = Flags; - - VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagsEXT ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - - //=== VK_QNX_screen_surface === - - enum class ScreenSurfaceCreateFlagBitsQNX : VkFlags - { - }; - - VULKAN_HPP_INLINE std::string to_string( ScreenSurfaceCreateFlagBitsQNX ) - { - return "(void)"; - } - - using ScreenSurfaceCreateFlagsQNX = Flags; - - VULKAN_HPP_INLINE std::string to_string( ScreenSurfaceCreateFlagsQNX ) - { - return "{}"; - } -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ -} // namespace VULKAN_HPP_NAMESPACE - -#ifndef VULKAN_HPP_NO_EXCEPTIONS -namespace std -{ - template <> - struct is_error_code_enum : public true_type - {}; -} // namespace std -#endif - -namespace VULKAN_HPP_NAMESPACE -{ -#ifndef VULKAN_HPP_NO_EXCEPTIONS - class ErrorCategoryImpl : public std::error_category - { - public: - virtual const char * name() const VULKAN_HPP_NOEXCEPT override - { - return VULKAN_HPP_NAMESPACE_STRING "::Result"; - } - virtual std::string message( int ev ) const override - { - return to_string( static_cast( ev ) ); - } - }; - - class Error - { - public: - Error() VULKAN_HPP_NOEXCEPT = default; - Error( const Error & ) VULKAN_HPP_NOEXCEPT = default; - virtual ~Error() VULKAN_HPP_NOEXCEPT = default; - - virtual const char * what() const VULKAN_HPP_NOEXCEPT = 0; - }; - - class LogicError - : public Error - , public std::logic_error - { - public: - explicit LogicError( const std::string & what ) : Error(), std::logic_error( what ) {} - explicit LogicError( char const * what ) : Error(), std::logic_error( what ) {} - - virtual const char * what() const VULKAN_HPP_NOEXCEPT - { - return std::logic_error::what(); - } - }; - - class SystemError - : public Error - , public std::system_error - { - public: - SystemError( std::error_code ec ) : Error(), std::system_error( ec ) {} - SystemError( std::error_code ec, std::string const & what ) : Error(), std::system_error( ec, what ) {} - SystemError( std::error_code ec, char const * what ) : Error(), std::system_error( ec, what ) {} - SystemError( int ev, std::error_category const & ecat ) : Error(), std::system_error( ev, ecat ) {} - SystemError( int ev, std::error_category const & ecat, std::string const & what ) - : Error(), std::system_error( ev, ecat, what ) - {} - SystemError( int ev, std::error_category const & ecat, char const * what ) - : Error(), std::system_error( ev, ecat, what ) - {} - - virtual const char * what() const VULKAN_HPP_NOEXCEPT - { - return std::system_error::what(); - } - }; - - VULKAN_HPP_INLINE const std::error_category & errorCategory() VULKAN_HPP_NOEXCEPT - { - static ErrorCategoryImpl instance; - return instance; - } - - VULKAN_HPP_INLINE std::error_code make_error_code( Result e ) VULKAN_HPP_NOEXCEPT - { - return std::error_code( static_cast( e ), errorCategory() ); - } - - VULKAN_HPP_INLINE std::error_condition make_error_condition( Result e ) VULKAN_HPP_NOEXCEPT - { - return std::error_condition( static_cast( e ), errorCategory() ); - } - - class OutOfHostMemoryError : public SystemError - { - public: - OutOfHostMemoryError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) - {} - OutOfHostMemoryError( char const * message ) - : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) - {} - }; - - class OutOfDeviceMemoryError : public SystemError - { - public: - OutOfDeviceMemoryError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) - {} - OutOfDeviceMemoryError( char const * message ) - : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) - {} - }; - - class InitializationFailedError : public SystemError - { - public: - InitializationFailedError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) - {} - InitializationFailedError( char const * message ) - : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) - {} - }; - - class DeviceLostError : public SystemError - { - public: - DeviceLostError( std::string const & message ) : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) - {} - DeviceLostError( char const * message ) : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {} - }; - - class MemoryMapFailedError : public SystemError - { - public: - MemoryMapFailedError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) - {} - MemoryMapFailedError( char const * message ) - : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) - {} - }; - - class LayerNotPresentError : public SystemError - { - public: - LayerNotPresentError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) - {} - LayerNotPresentError( char const * message ) - : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) - {} - }; - - class ExtensionNotPresentError : public SystemError - { - public: - ExtensionNotPresentError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) - {} - ExtensionNotPresentError( char const * message ) - : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) - {} - }; - - class FeatureNotPresentError : public SystemError - { - public: - FeatureNotPresentError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) - {} - FeatureNotPresentError( char const * message ) - : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) - {} - }; - - class IncompatibleDriverError : public SystemError - { - public: - IncompatibleDriverError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) - {} - IncompatibleDriverError( char const * message ) - : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) - {} - }; - - class TooManyObjectsError : public SystemError - { - public: - TooManyObjectsError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) - {} - TooManyObjectsError( char const * message ) - : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) - {} - }; - - class FormatNotSupportedError : public SystemError - { - public: - FormatNotSupportedError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) - {} - FormatNotSupportedError( char const * message ) - : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) - {} - }; - - class FragmentedPoolError : public SystemError - { - public: - FragmentedPoolError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) - {} - FragmentedPoolError( char const * message ) - : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) - {} - }; - - class UnknownError : public SystemError - { - public: - UnknownError( std::string const & message ) : SystemError( make_error_code( Result::eErrorUnknown ), message ) {} - UnknownError( char const * message ) : SystemError( make_error_code( Result::eErrorUnknown ), message ) {} - }; - - class OutOfPoolMemoryError : public SystemError - { - public: - OutOfPoolMemoryError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) - {} - OutOfPoolMemoryError( char const * message ) - : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) - {} - }; - - class InvalidExternalHandleError : public SystemError - { - public: - InvalidExternalHandleError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) - {} - InvalidExternalHandleError( char const * message ) - : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) - {} - }; - - class FragmentationError : public SystemError - { - public: - FragmentationError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorFragmentation ), message ) - {} - FragmentationError( char const * message ) : SystemError( make_error_code( Result::eErrorFragmentation ), message ) - {} - }; - - class InvalidOpaqueCaptureAddressError : public SystemError - { - public: - InvalidOpaqueCaptureAddressError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorInvalidOpaqueCaptureAddress ), message ) - {} - InvalidOpaqueCaptureAddressError( char const * message ) - : SystemError( make_error_code( Result::eErrorInvalidOpaqueCaptureAddress ), message ) - {} - }; - - class SurfaceLostKHRError : public SystemError - { - public: - SurfaceLostKHRError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) - {} - SurfaceLostKHRError( char const * message ) - : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) - {} - }; - - class NativeWindowInUseKHRError : public SystemError - { - public: - NativeWindowInUseKHRError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) - {} - NativeWindowInUseKHRError( char const * message ) - : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) - {} - }; - - class OutOfDateKHRError : public SystemError - { - public: - OutOfDateKHRError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) - {} - OutOfDateKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {} - }; - - class IncompatibleDisplayKHRError : public SystemError - { - public: - IncompatibleDisplayKHRError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) - {} - IncompatibleDisplayKHRError( char const * message ) - : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) - {} - }; - - class ValidationFailedEXTError : public SystemError - { - public: - ValidationFailedEXTError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) - {} - ValidationFailedEXTError( char const * message ) - : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) - {} - }; - - class InvalidShaderNVError : public SystemError - { - public: - InvalidShaderNVError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) - {} - InvalidShaderNVError( char const * message ) - : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) - {} - }; - - class InvalidDrmFormatModifierPlaneLayoutEXTError : public SystemError - { - public: - InvalidDrmFormatModifierPlaneLayoutEXTError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT ), message ) - {} - InvalidDrmFormatModifierPlaneLayoutEXTError( char const * message ) - : SystemError( make_error_code( Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT ), message ) - {} - }; - - class NotPermittedEXTError : public SystemError - { - public: - NotPermittedEXTError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) - {} - NotPermittedEXTError( char const * message ) - : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) - {} - }; - -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - class FullScreenExclusiveModeLostEXTError : public SystemError - { - public: - FullScreenExclusiveModeLostEXTError( std::string const & message ) - : SystemError( make_error_code( Result::eErrorFullScreenExclusiveModeLostEXT ), message ) - {} - FullScreenExclusiveModeLostEXTError( char const * message ) - : SystemError( make_error_code( Result::eErrorFullScreenExclusiveModeLostEXT ), message ) - {} - }; -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - [[noreturn]] static void throwResultException( Result result, char const * message ) - { - switch ( result ) - { - case Result::eErrorOutOfHostMemory: throw OutOfHostMemoryError( message ); - case Result::eErrorOutOfDeviceMemory: throw OutOfDeviceMemoryError( message ); - case Result::eErrorInitializationFailed: throw InitializationFailedError( message ); - case Result::eErrorDeviceLost: throw DeviceLostError( message ); - case Result::eErrorMemoryMapFailed: throw MemoryMapFailedError( message ); - case Result::eErrorLayerNotPresent: throw LayerNotPresentError( message ); - case Result::eErrorExtensionNotPresent: throw ExtensionNotPresentError( message ); - case Result::eErrorFeatureNotPresent: throw FeatureNotPresentError( message ); - case Result::eErrorIncompatibleDriver: throw IncompatibleDriverError( message ); - case Result::eErrorTooManyObjects: throw TooManyObjectsError( message ); - case Result::eErrorFormatNotSupported: throw FormatNotSupportedError( message ); - case Result::eErrorFragmentedPool: throw FragmentedPoolError( message ); - case Result::eErrorUnknown: throw UnknownError( message ); - case Result::eErrorOutOfPoolMemory: throw OutOfPoolMemoryError( message ); - case Result::eErrorInvalidExternalHandle: throw InvalidExternalHandleError( message ); - case Result::eErrorFragmentation: throw FragmentationError( message ); - case Result::eErrorInvalidOpaqueCaptureAddress: throw InvalidOpaqueCaptureAddressError( message ); - case Result::eErrorSurfaceLostKHR: throw SurfaceLostKHRError( message ); - case Result::eErrorNativeWindowInUseKHR: throw NativeWindowInUseKHRError( message ); - case Result::eErrorOutOfDateKHR: throw OutOfDateKHRError( message ); - case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError( message ); - case Result::eErrorValidationFailedEXT: throw ValidationFailedEXTError( message ); - case Result::eErrorInvalidShaderNV: throw InvalidShaderNVError( message ); - case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: - throw InvalidDrmFormatModifierPlaneLayoutEXTError( message ); - case Result::eErrorNotPermittedEXT: throw NotPermittedEXTError( message ); -# if defined( VK_USE_PLATFORM_WIN32_KHR ) - case Result::eErrorFullScreenExclusiveModeLostEXT: throw FullScreenExclusiveModeLostEXTError( message ); -# endif /*VK_USE_PLATFORM_WIN32_KHR*/ - default: throw SystemError( make_error_code( result ) ); - } - } -#endif - - template - void ignore( T const & ) VULKAN_HPP_NOEXCEPT - {} - - template - struct ResultValue - { -#ifdef VULKAN_HPP_HAS_NOEXCEPT - ResultValue( Result r, T & v ) VULKAN_HPP_NOEXCEPT( VULKAN_HPP_NOEXCEPT( T( v ) ) ) -#else - ResultValue( Result r, T & v ) -#endif - : result( r ), value( v ) - {} - -#ifdef VULKAN_HPP_HAS_NOEXCEPT - ResultValue( Result r, T && v ) VULKAN_HPP_NOEXCEPT( VULKAN_HPP_NOEXCEPT( T( std::move( v ) ) ) ) -#else - ResultValue( Result r, T && v ) -#endif - : result( r ), value( std::move( v ) ) - {} - - Result result; - T value; - - operator std::tuple() VULKAN_HPP_NOEXCEPT - { - return std::tuple( result, value ); - } - -#if !defined( VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST ) - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator T const &() const & VULKAN_HPP_NOEXCEPT - { - return value; - } - - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator T &() & VULKAN_HPP_NOEXCEPT - { - return value; - } - - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator T const &&() const && VULKAN_HPP_NOEXCEPT - { - return std::move( value ); - } - - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator T &&() && VULKAN_HPP_NOEXCEPT - { - return std::move( value ); - } -#endif - }; - -#if !defined( VULKAN_HPP_NO_SMART_HANDLE ) - template - struct ResultValue> - { -# ifdef VULKAN_HPP_HAS_NOEXCEPT - ResultValue( Result r, UniqueHandle && v ) VULKAN_HPP_NOEXCEPT -# else - ResultValue( Result r, UniqueHandle && v ) -# endif - : result( r ) - , value( std::move( v ) ) - {} - - std::tuple> asTuple() - { - return std::make_tuple( result, std::move( value ) ); - } - -# if !defined( VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST ) - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator UniqueHandle &() & VULKAN_HPP_NOEXCEPT - { - return value; - } - - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator UniqueHandle() VULKAN_HPP_NOEXCEPT - { - return std::move( value ); - } -# endif - - Result result; - UniqueHandle value; - }; - - template - struct ResultValue>> - { -# ifdef VULKAN_HPP_HAS_NOEXCEPT - ResultValue( Result r, std::vector> && v ) VULKAN_HPP_NOEXCEPT -# else - ResultValue( Result r, std::vector> && v ) -# endif - : result( r ) - , value( std::move( v ) ) - {} - - std::tuple>> asTuple() - { - return std::make_tuple( result, std::move( value ) ); - } - - Result result; - std::vector> value; - -# if !defined( VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST ) - VULKAN_HPP_DEPRECATED( - "Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." ) - operator std::tuple> &>() VULKAN_HPP_NOEXCEPT - { - return std::tuple> &>( result, value ); - } -# endif - }; -#endif - - template - struct ResultValueType - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - typedef ResultValue type; -#else - typedef T type; -#endif - }; - - template <> - struct ResultValueType - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - typedef Result type; -#else - typedef void type; -#endif - }; - - VULKAN_HPP_INLINE ResultValueType::type createResultValue( Result result, char const * message ) - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); - return result; -#else - if ( result != Result::eSuccess ) - { - throwResultException( result, message ); - } -#endif - } - - template - VULKAN_HPP_INLINE typename ResultValueType::type createResultValue( Result result, T & data, char const * message ) - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); - return ResultValue( result, std::move( data ) ); -#else - if ( result != Result::eSuccess ) - { - throwResultException( result, message ); - } - return std::move( data ); -#endif - } - - VULKAN_HPP_INLINE Result createResultValue( Result result, - char const * message, - std::initializer_list successCodes ) - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - ignore( successCodes ); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty - VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); -#else - if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) - { - throwResultException( result, message ); - } -#endif - return result; - } - - template - VULKAN_HPP_INLINE ResultValue - createResultValue( Result result, T & data, char const * message, std::initializer_list successCodes ) - { -#ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - ignore( successCodes ); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty - VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); -#else - if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) - { - throwResultException( result, message ); - } -#endif - return ResultValue( result, std::move( data ) ); - } - -#ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type createResultValue( - Result result, T & data, char const * message, typename UniqueHandleTraits::deleter const & deleter ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); - return ResultValue>( result, UniqueHandle( data, deleter ) ); -# else - if ( result != Result::eSuccess ) - { - throwResultException( result, message ); - } - return UniqueHandle( data, deleter ); -# endif - } - - template - VULKAN_HPP_INLINE ResultValue> - createResultValue( Result result, - T & data, - char const * message, - std::initializer_list successCodes, - typename UniqueHandleTraits::deleter const & deleter ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - ignore( successCodes ); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty - VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); -# else - if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) - { - throwResultException( result, message ); - } -# endif - return ResultValue>( result, UniqueHandle( data, deleter ) ); - } - - template - VULKAN_HPP_INLINE typename ResultValueType>>::type - createResultValue( Result result, std::vector> && data, char const * message ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); - return ResultValue>>( result, std::move( data ) ); -# else - if ( result != Result::eSuccess ) - { - throwResultException( result, message ); - } - return std::move( data ); -# endif - } - - template - VULKAN_HPP_INLINE ResultValue>> - createResultValue( Result result, - std::vector> && data, - char const * message, - std::initializer_list successCodes ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - ignore( message ); - ignore( successCodes ); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty - VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); -# else - if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) - { - throwResultException( result, message ); - } -# endif - return ResultValue>>( result, std::move( data ) ); - } -#endif - - struct AabbPositionsKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AabbPositionsKHR( float minX_ = {}, - float minY_ = {}, - float minZ_ = {}, - float maxX_ = {}, - float maxY_ = {}, - float maxZ_ = {} ) VULKAN_HPP_NOEXCEPT - : minX( minX_ ) - , minY( minY_ ) - , minZ( minZ_ ) - , maxX( maxX_ ) - , maxY( maxY_ ) - , maxZ( maxZ_ ) - {} - - VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AabbPositionsKHR( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AabbPositionsKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AabbPositionsKHR & setMinX( float minX_ ) VULKAN_HPP_NOEXCEPT - { - minX = minX_; - return *this; - } - - AabbPositionsKHR & setMinY( float minY_ ) VULKAN_HPP_NOEXCEPT - { - minY = minY_; - return *this; - } - - AabbPositionsKHR & setMinZ( float minZ_ ) VULKAN_HPP_NOEXCEPT - { - minZ = minZ_; - return *this; - } - - AabbPositionsKHR & setMaxX( float maxX_ ) VULKAN_HPP_NOEXCEPT - { - maxX = maxX_; - return *this; - } - - AabbPositionsKHR & setMaxY( float maxY_ ) VULKAN_HPP_NOEXCEPT - { - maxY = maxY_; - return *this; - } - - AabbPositionsKHR & setMaxZ( float maxZ_ ) VULKAN_HPP_NOEXCEPT - { - maxZ = maxZ_; - return *this; - } - - operator VkAabbPositionsKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAabbPositionsKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AabbPositionsKHR const & ) const = default; -#else - bool operator==( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( minX == rhs.minX ) && ( minY == rhs.minY ) && ( minZ == rhs.minZ ) && ( maxX == rhs.maxX ) && - ( maxY == rhs.maxY ) && ( maxZ == rhs.maxZ ); - } - - bool operator!=( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float minX = {}; - float minY = {}; - float minZ = {}; - float maxX = {}; - float maxY = {}; - float maxZ = {}; - }; - static_assert( sizeof( AabbPositionsKHR ) == sizeof( VkAabbPositionsKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - using AabbPositionsNV = AabbPositionsKHR; - - class AccelerationStructureKHR - { - public: - using CType = VkAccelerationStructureKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eAccelerationStructureKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eAccelerationStructureKHR; - - public: - VULKAN_HPP_CONSTEXPR AccelerationStructureKHR() = default; - VULKAN_HPP_CONSTEXPR AccelerationStructureKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - AccelerationStructureKHR( VkAccelerationStructureKHR accelerationStructureKHR ) VULKAN_HPP_NOEXCEPT - : m_accelerationStructureKHR( accelerationStructureKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - AccelerationStructureKHR & operator=( VkAccelerationStructureKHR accelerationStructureKHR ) VULKAN_HPP_NOEXCEPT - { - m_accelerationStructureKHR = accelerationStructureKHR; - return *this; - } -#endif - - AccelerationStructureKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_accelerationStructureKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureKHR const & ) const = default; -#else - bool operator==( AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR == rhs.m_accelerationStructureKHR; - } - - bool operator!=( AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR != rhs.m_accelerationStructureKHR; - } - - bool operator<( AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR < rhs.m_accelerationStructureKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkAccelerationStructureKHR() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureKHR == VK_NULL_HANDLE; - } - - private: - VkAccelerationStructureKHR m_accelerationStructureKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR ) == sizeof( VkAccelerationStructureKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - union DeviceOrHostAddressConstKHR - { - DeviceOrHostAddressConstKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR ) ); - } - - DeviceOrHostAddressConstKHR( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) - : deviceAddress( deviceAddress_ ) - {} - - DeviceOrHostAddressConstKHR( const void * hostAddress_ ) : hostAddress( hostAddress_ ) {} - - DeviceOrHostAddressConstKHR & - setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - deviceAddress = deviceAddress_; - return *this; - } - - DeviceOrHostAddressConstKHR & setHostAddress( const void * hostAddress_ ) VULKAN_HPP_NOEXCEPT - { - hostAddress = hostAddress_; - return *this; - } - - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR & - operator=( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR ) ); - return *this; - } - - operator VkDeviceOrHostAddressConstKHR const &() const - { - return *reinterpret_cast( this ); - } - - operator VkDeviceOrHostAddressConstKHR &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress; - const void * hostAddress; -#else - VkDeviceAddress deviceAddress; - const void * hostAddress; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct AccelerationStructureGeometryTrianglesDataKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureGeometryTrianglesDataKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - AccelerationStructureGeometryTrianglesDataKHR( - VULKAN_HPP_NAMESPACE::Format vertexFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR vertexData_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ = {}, - uint32_t maxVertex_ = {}, - VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR indexData_ = {}, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR transformData_ = {} ) VULKAN_HPP_NOEXCEPT - : vertexFormat( vertexFormat_ ) - , vertexData( vertexData_ ) - , vertexStride( vertexStride_ ) - , maxVertex( maxVertex_ ) - , indexType( indexType_ ) - , indexData( indexData_ ) - , transformData( transformData_ ) - {} - - AccelerationStructureGeometryTrianglesDataKHR( AccelerationStructureGeometryTrianglesDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryTrianglesDataKHR( VkAccelerationStructureGeometryTrianglesDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureGeometryTrianglesDataKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - AccelerationStructureGeometryTrianglesDataKHR & - operator=( AccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryTrianglesDataKHR & - operator=( VkAccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setVertexFormat( VULKAN_HPP_NAMESPACE::Format vertexFormat_ ) VULKAN_HPP_NOEXCEPT - { - vertexFormat = vertexFormat_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setVertexData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & vertexData_ ) VULKAN_HPP_NOEXCEPT - { - vertexData = vertexData_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setVertexStride( VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ ) VULKAN_HPP_NOEXCEPT - { - vertexStride = vertexStride_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & setMaxVertex( uint32_t maxVertex_ ) VULKAN_HPP_NOEXCEPT - { - maxVertex = maxVertex_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT - { - indexType = indexType_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setIndexData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & indexData_ ) VULKAN_HPP_NOEXCEPT - { - indexData = indexData_; - return *this; - } - - AccelerationStructureGeometryTrianglesDataKHR & - setTransformData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & transformData_ ) VULKAN_HPP_NOEXCEPT - { - transformData = transformData_; - return *this; - } - - operator VkAccelerationStructureGeometryTrianglesDataKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureGeometryTrianglesDataKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryTrianglesDataKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format vertexFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR vertexData = {}; - VULKAN_HPP_NAMESPACE::DeviceSize vertexStride = {}; - uint32_t maxVertex = {}; - VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR indexData = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR transformData = {}; - }; - static_assert( sizeof( AccelerationStructureGeometryTrianglesDataKHR ) == - sizeof( VkAccelerationStructureGeometryTrianglesDataKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureGeometryTrianglesDataKHR; - }; - - struct AccelerationStructureGeometryAabbsDataKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureGeometryAabbsDataKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - AccelerationStructureGeometryAabbsDataKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize stride_ = {} ) VULKAN_HPP_NOEXCEPT - : data( data_ ) - , stride( stride_ ) - {} - - AccelerationStructureGeometryAabbsDataKHR( AccelerationStructureGeometryAabbsDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryAabbsDataKHR( VkAccelerationStructureGeometryAabbsDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureGeometryAabbsDataKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - AccelerationStructureGeometryAabbsDataKHR & - operator=( AccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryAabbsDataKHR & - operator=( VkAccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureGeometryAabbsDataKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureGeometryAabbsDataKHR & - setData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & data_ ) VULKAN_HPP_NOEXCEPT - { - data = data_; - return *this; - } - - AccelerationStructureGeometryAabbsDataKHR & - setStride( VULKAN_HPP_NAMESPACE::DeviceSize stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - operator VkAccelerationStructureGeometryAabbsDataKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureGeometryAabbsDataKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryAabbsDataKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data = {}; - VULKAN_HPP_NAMESPACE::DeviceSize stride = {}; - }; - static_assert( sizeof( AccelerationStructureGeometryAabbsDataKHR ) == - sizeof( VkAccelerationStructureGeometryAabbsDataKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureGeometryAabbsDataKHR; - }; - - struct AccelerationStructureGeometryInstancesDataKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureGeometryInstancesDataKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - AccelerationStructureGeometryInstancesDataKHR( VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers_ = {}, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data_ = {} ) - VULKAN_HPP_NOEXCEPT - : arrayOfPointers( arrayOfPointers_ ) - , data( data_ ) - {} - - AccelerationStructureGeometryInstancesDataKHR( AccelerationStructureGeometryInstancesDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryInstancesDataKHR( VkAccelerationStructureGeometryInstancesDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureGeometryInstancesDataKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - AccelerationStructureGeometryInstancesDataKHR & - operator=( AccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryInstancesDataKHR & - operator=( VkAccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureGeometryInstancesDataKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureGeometryInstancesDataKHR & - setArrayOfPointers( VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers_ ) VULKAN_HPP_NOEXCEPT - { - arrayOfPointers = arrayOfPointers_; - return *this; - } - - AccelerationStructureGeometryInstancesDataKHR & - setData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & data_ ) VULKAN_HPP_NOEXCEPT - { - data = data_; - return *this; - } - - operator VkAccelerationStructureGeometryInstancesDataKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureGeometryInstancesDataKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryInstancesDataKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data = {}; - }; - static_assert( sizeof( AccelerationStructureGeometryInstancesDataKHR ) == - sizeof( VkAccelerationStructureGeometryInstancesDataKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureGeometryInstancesDataKHR; - }; - - union AccelerationStructureGeometryDataKHR - { - AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR ) ); - } - - AccelerationStructureGeometryDataKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR triangles_ = {} ) - : triangles( triangles_ ) - {} - - AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR aabbs_ ) - : aabbs( aabbs_ ) - {} - - AccelerationStructureGeometryDataKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR instances_ ) - : instances( instances_ ) - {} - - AccelerationStructureGeometryDataKHR & setTriangles( - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR const & triangles_ ) VULKAN_HPP_NOEXCEPT - { - triangles = triangles_; - return *this; - } - - AccelerationStructureGeometryDataKHR & - setAabbs( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR const & aabbs_ ) VULKAN_HPP_NOEXCEPT - { - aabbs = aabbs_; - return *this; - } - - AccelerationStructureGeometryDataKHR & setInstances( - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR const & instances_ ) VULKAN_HPP_NOEXCEPT - { - instances = instances_; - return *this; - } - - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR & - operator=( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR ) ); - return *this; - } - - operator VkAccelerationStructureGeometryDataKHR const &() const - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureGeometryDataKHR &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR triangles; - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR aabbs; - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR instances; -#else - VkAccelerationStructureGeometryTrianglesDataKHR triangles; - VkAccelerationStructureGeometryAabbsDataKHR aabbs; - VkAccelerationStructureGeometryInstancesDataKHR instances; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct AccelerationStructureGeometryKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureGeometryKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - AccelerationStructureGeometryKHR( - VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles, - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR geometry_ = {}, - VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ = {} ) VULKAN_HPP_NOEXCEPT - : geometryType( geometryType_ ) - , geometry( geometry_ ) - , flags( flags_ ) - {} - - AccelerationStructureGeometryKHR( AccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryKHR( VkAccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureGeometryKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - AccelerationStructureGeometryKHR & - operator=( AccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureGeometryKHR & operator=( VkAccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureGeometryKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureGeometryKHR & - setGeometryType( VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ ) VULKAN_HPP_NOEXCEPT - { - geometryType = geometryType_; - return *this; - } - - AccelerationStructureGeometryKHR & - setGeometry( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const & geometry_ ) VULKAN_HPP_NOEXCEPT - { - geometry = geometry_; - return *this; - } - - AccelerationStructureGeometryKHR & setFlags( VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkAccelerationStructureGeometryKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureGeometryKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles; - VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR geometry = {}; - VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags = {}; - }; - static_assert( sizeof( AccelerationStructureGeometryKHR ) == sizeof( VkAccelerationStructureGeometryKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureGeometryKHR; - }; - - union DeviceOrHostAddressKHR - { - DeviceOrHostAddressKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR ) ); - } - - DeviceOrHostAddressKHR( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) : deviceAddress( deviceAddress_ ) - {} - - DeviceOrHostAddressKHR( void * hostAddress_ ) : hostAddress( hostAddress_ ) {} - - DeviceOrHostAddressKHR & setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - deviceAddress = deviceAddress_; - return *this; - } - - DeviceOrHostAddressKHR & setHostAddress( void * hostAddress_ ) VULKAN_HPP_NOEXCEPT - { - hostAddress = hostAddress_; - return *this; - } - - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR & - operator=( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR ) ); - return *this; - } - - operator VkDeviceOrHostAddressKHR const &() const - { - return *reinterpret_cast( this ); - } - - operator VkDeviceOrHostAddressKHR &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress; - void * hostAddress; -#else - VkDeviceAddress deviceAddress; - void * hostAddress; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct AccelerationStructureBuildGeometryInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureBuildGeometryInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - AccelerationStructureBuildGeometryInfoKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ = - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR mode_ = - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR::eBuild, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure_ = {}, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure_ = {}, - uint32_t geometryCount_ = {}, - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * pGeometries_ = {}, - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * const * ppGeometries_ = {}, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR scratchData_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , flags( flags_ ) - , mode( mode_ ) - , srcAccelerationStructure( srcAccelerationStructure_ ) - , dstAccelerationStructure( dstAccelerationStructure_ ) - , geometryCount( geometryCount_ ) - , pGeometries( pGeometries_ ) - , ppGeometries( ppGeometries_ ) - , scratchData( scratchData_ ) - {} - - AccelerationStructureBuildGeometryInfoKHR( AccelerationStructureBuildGeometryInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildGeometryInfoKHR( VkAccelerationStructureBuildGeometryInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureBuildGeometryInfoKHR( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - AccelerationStructureBuildGeometryInfoKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR mode_, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure_, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR> const & geometries_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * const> const & pGeometries_ = {}, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR scratchData_ = {} ) - : type( type_ ) - , flags( flags_ ) - , mode( mode_ ) - , srcAccelerationStructure( srcAccelerationStructure_ ) - , dstAccelerationStructure( dstAccelerationStructure_ ) - , geometryCount( static_cast( !geometries_.empty() ? geometries_.size() : pGeometries_.size() ) ) - , pGeometries( geometries_.data() ) - , ppGeometries( pGeometries_.data() ) - , scratchData( scratchData_ ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( ( !geometries_.empty() + !pGeometries_.empty() ) <= 1 ); -# else - if ( 1 < ( !geometries_.empty() + !pGeometries_.empty() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::AccelerationStructureBuildGeometryInfoKHR::AccelerationStructureBuildGeometryInfoKHR: 1 < ( !geometries_.empty() + !pGeometries_.empty() )" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - AccelerationStructureBuildGeometryInfoKHR & - operator=( AccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildGeometryInfoKHR & - operator=( VkAccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & - setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & - setMode( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & setSrcAccelerationStructure( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - srcAccelerationStructure = srcAccelerationStructure_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & setDstAccelerationStructure( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - dstAccelerationStructure = dstAccelerationStructure_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & setGeometryCount( uint32_t geometryCount_ ) VULKAN_HPP_NOEXCEPT - { - geometryCount = geometryCount_; - return *this; - } - - AccelerationStructureBuildGeometryInfoKHR & - setPGeometries( const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * pGeometries_ ) VULKAN_HPP_NOEXCEPT - { - pGeometries = pGeometries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - AccelerationStructureBuildGeometryInfoKHR & setGeometries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR> const & geometries_ ) VULKAN_HPP_NOEXCEPT - { - geometryCount = static_cast( geometries_.size() ); - pGeometries = geometries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - AccelerationStructureBuildGeometryInfoKHR & setPpGeometries( - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * const * ppGeometries_ ) VULKAN_HPP_NOEXCEPT - { - ppGeometries = ppGeometries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - AccelerationStructureBuildGeometryInfoKHR & setPGeometries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * const> const & pGeometries_ ) VULKAN_HPP_NOEXCEPT - { - geometryCount = static_cast( pGeometries_.size() ); - ppGeometries = pGeometries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - AccelerationStructureBuildGeometryInfoKHR & - setScratchData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & scratchData_ ) VULKAN_HPP_NOEXCEPT - { - scratchData = scratchData_; - return *this; - } - - operator VkAccelerationStructureBuildGeometryInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureBuildGeometryInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureBuildGeometryInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type = - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel; - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR mode = - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR::eBuild; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure = {}; - uint32_t geometryCount = {}; - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * pGeometries = {}; - const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR * const * ppGeometries = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR scratchData = {}; - }; - static_assert( sizeof( AccelerationStructureBuildGeometryInfoKHR ) == - sizeof( VkAccelerationStructureBuildGeometryInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureBuildGeometryInfoKHR; - }; - - struct AccelerationStructureBuildRangeInfoKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureBuildRangeInfoKHR( uint32_t primitiveCount_ = {}, - uint32_t primitiveOffset_ = {}, - uint32_t firstVertex_ = {}, - uint32_t transformOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : primitiveCount( primitiveCount_ ) - , primitiveOffset( primitiveOffset_ ) - , firstVertex( firstVertex_ ) - , transformOffset( transformOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureBuildRangeInfoKHR( AccelerationStructureBuildRangeInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildRangeInfoKHR( VkAccelerationStructureBuildRangeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureBuildRangeInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureBuildRangeInfoKHR & - operator=( AccelerationStructureBuildRangeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildRangeInfoKHR & - operator=( VkAccelerationStructureBuildRangeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureBuildRangeInfoKHR & setPrimitiveCount( uint32_t primitiveCount_ ) VULKAN_HPP_NOEXCEPT - { - primitiveCount = primitiveCount_; - return *this; - } - - AccelerationStructureBuildRangeInfoKHR & setPrimitiveOffset( uint32_t primitiveOffset_ ) VULKAN_HPP_NOEXCEPT - { - primitiveOffset = primitiveOffset_; - return *this; - } - - AccelerationStructureBuildRangeInfoKHR & setFirstVertex( uint32_t firstVertex_ ) VULKAN_HPP_NOEXCEPT - { - firstVertex = firstVertex_; - return *this; - } - - AccelerationStructureBuildRangeInfoKHR & setTransformOffset( uint32_t transformOffset_ ) VULKAN_HPP_NOEXCEPT - { - transformOffset = transformOffset_; - return *this; - } - - operator VkAccelerationStructureBuildRangeInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureBuildRangeInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureBuildRangeInfoKHR const & ) const = default; -#else - bool operator==( AccelerationStructureBuildRangeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( primitiveCount == rhs.primitiveCount ) && ( primitiveOffset == rhs.primitiveOffset ) && - ( firstVertex == rhs.firstVertex ) && ( transformOffset == rhs.transformOffset ); - } - - bool operator!=( AccelerationStructureBuildRangeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t primitiveCount = {}; - uint32_t primitiveOffset = {}; - uint32_t firstVertex = {}; - uint32_t transformOffset = {}; - }; - static_assert( sizeof( AccelerationStructureBuildRangeInfoKHR ) == sizeof( VkAccelerationStructureBuildRangeInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct AccelerationStructureBuildSizesInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureBuildSizesInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureBuildSizesInfoKHR( - VULKAN_HPP_NAMESPACE::DeviceSize accelerationStructureSize_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize updateScratchSize_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize buildScratchSize_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructureSize( accelerationStructureSize_ ) - , updateScratchSize( updateScratchSize_ ) - , buildScratchSize( buildScratchSize_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureBuildSizesInfoKHR( AccelerationStructureBuildSizesInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildSizesInfoKHR( VkAccelerationStructureBuildSizesInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureBuildSizesInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureBuildSizesInfoKHR & - operator=( AccelerationStructureBuildSizesInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureBuildSizesInfoKHR & - operator=( VkAccelerationStructureBuildSizesInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureBuildSizesInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureBuildSizesInfoKHR & - setAccelerationStructureSize( VULKAN_HPP_NAMESPACE::DeviceSize accelerationStructureSize_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureSize = accelerationStructureSize_; - return *this; - } - - AccelerationStructureBuildSizesInfoKHR & - setUpdateScratchSize( VULKAN_HPP_NAMESPACE::DeviceSize updateScratchSize_ ) VULKAN_HPP_NOEXCEPT - { - updateScratchSize = updateScratchSize_; - return *this; - } - - AccelerationStructureBuildSizesInfoKHR & - setBuildScratchSize( VULKAN_HPP_NAMESPACE::DeviceSize buildScratchSize_ ) VULKAN_HPP_NOEXCEPT - { - buildScratchSize = buildScratchSize_; - return *this; - } - - operator VkAccelerationStructureBuildSizesInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureBuildSizesInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureBuildSizesInfoKHR const & ) const = default; -#else - bool operator==( AccelerationStructureBuildSizesInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( accelerationStructureSize == rhs.accelerationStructureSize ) && - ( updateScratchSize == rhs.updateScratchSize ) && ( buildScratchSize == rhs.buildScratchSize ); - } - - bool operator!=( AccelerationStructureBuildSizesInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureBuildSizesInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize accelerationStructureSize = {}; - VULKAN_HPP_NAMESPACE::DeviceSize updateScratchSize = {}; - VULKAN_HPP_NAMESPACE::DeviceSize buildScratchSize = {}; - }; - static_assert( sizeof( AccelerationStructureBuildSizesInfoKHR ) == sizeof( VkAccelerationStructureBuildSizesInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureBuildSizesInfoKHR; - }; - - class Buffer - { - public: - using CType = VkBuffer; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eBuffer; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eBuffer; - - public: - VULKAN_HPP_CONSTEXPR Buffer() = default; - VULKAN_HPP_CONSTEXPR Buffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Buffer( VkBuffer buffer ) VULKAN_HPP_NOEXCEPT : m_buffer( buffer ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Buffer & operator=( VkBuffer buffer ) VULKAN_HPP_NOEXCEPT - { - m_buffer = buffer; - return *this; - } -#endif - - Buffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_buffer = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Buffer const & ) const = default; -#else - bool operator==( Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_buffer == rhs.m_buffer; - } - - bool operator!=( Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_buffer != rhs.m_buffer; - } - - bool operator<( Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_buffer < rhs.m_buffer; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBuffer() const VULKAN_HPP_NOEXCEPT - { - return m_buffer; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_buffer != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_buffer == VK_NULL_HANDLE; - } - - private: - VkBuffer m_buffer = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Buffer ) == sizeof( VkBuffer ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Buffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Buffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Buffer; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct AccelerationStructureCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - AccelerationStructureCreateInfoKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureCreateFlagsKHR createFlags_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ = - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel, - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) VULKAN_HPP_NOEXCEPT - : createFlags( createFlags_ ) - , buffer( buffer_ ) - , offset( offset_ ) - , size( size_ ) - , type( type_ ) - , deviceAddress( deviceAddress_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoKHR( AccelerationStructureCreateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureCreateInfoKHR( VkAccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureCreateInfoKHR & - operator=( AccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureCreateInfoKHR & - operator=( VkAccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureCreateInfoKHR & - setCreateFlags( VULKAN_HPP_NAMESPACE::AccelerationStructureCreateFlagsKHR createFlags_ ) VULKAN_HPP_NOEXCEPT - { - createFlags = createFlags_; - return *this; - } - - AccelerationStructureCreateInfoKHR & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - AccelerationStructureCreateInfoKHR & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - AccelerationStructureCreateInfoKHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - AccelerationStructureCreateInfoKHR & - setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - AccelerationStructureCreateInfoKHR & - setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - deviceAddress = deviceAddress_; - return *this; - } - - operator VkAccelerationStructureCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureCreateInfoKHR const & ) const = default; -#else - bool operator==( AccelerationStructureCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( createFlags == rhs.createFlags ) && - ( buffer == rhs.buffer ) && ( offset == rhs.offset ) && ( size == rhs.size ) && ( type == rhs.type ) && - ( deviceAddress == rhs.deviceAddress ); - } - - bool operator!=( AccelerationStructureCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureCreateFlagsKHR createFlags = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type = - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel; - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; - }; - static_assert( sizeof( AccelerationStructureCreateInfoKHR ) == sizeof( VkAccelerationStructureCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureCreateInfoKHR; - }; - - struct GeometryTrianglesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryTrianglesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - GeometryTrianglesNV( VULKAN_HPP_NAMESPACE::Buffer vertexData_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset_ = {}, - uint32_t vertexCount_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ = {}, - VULKAN_HPP_NAMESPACE::Format vertexFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::Buffer indexData_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize indexOffset_ = {}, - uint32_t indexCount_ = {}, - VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16, - VULKAN_HPP_NAMESPACE::Buffer transformData_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize transformOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : vertexData( vertexData_ ) - , vertexOffset( vertexOffset_ ) - , vertexCount( vertexCount_ ) - , vertexStride( vertexStride_ ) - , vertexFormat( vertexFormat_ ) - , indexData( indexData_ ) - , indexOffset( indexOffset_ ) - , indexCount( indexCount_ ) - , indexType( indexType_ ) - , transformData( transformData_ ) - , transformOffset( transformOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR GeometryTrianglesNV( GeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryTrianglesNV( VkGeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GeometryTrianglesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeometryTrianglesNV & - operator=( GeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryTrianglesNV & operator=( VkGeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeometryTrianglesNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GeometryTrianglesNV & setVertexData( VULKAN_HPP_NAMESPACE::Buffer vertexData_ ) VULKAN_HPP_NOEXCEPT - { - vertexData = vertexData_; - return *this; - } - - GeometryTrianglesNV & setVertexOffset( VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset_ ) VULKAN_HPP_NOEXCEPT - { - vertexOffset = vertexOffset_; - return *this; - } - - GeometryTrianglesNV & setVertexCount( uint32_t vertexCount_ ) VULKAN_HPP_NOEXCEPT - { - vertexCount = vertexCount_; - return *this; - } - - GeometryTrianglesNV & setVertexStride( VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ ) VULKAN_HPP_NOEXCEPT - { - vertexStride = vertexStride_; - return *this; - } - - GeometryTrianglesNV & setVertexFormat( VULKAN_HPP_NAMESPACE::Format vertexFormat_ ) VULKAN_HPP_NOEXCEPT - { - vertexFormat = vertexFormat_; - return *this; - } - - GeometryTrianglesNV & setIndexData( VULKAN_HPP_NAMESPACE::Buffer indexData_ ) VULKAN_HPP_NOEXCEPT - { - indexData = indexData_; - return *this; - } - - GeometryTrianglesNV & setIndexOffset( VULKAN_HPP_NAMESPACE::DeviceSize indexOffset_ ) VULKAN_HPP_NOEXCEPT - { - indexOffset = indexOffset_; - return *this; - } - - GeometryTrianglesNV & setIndexCount( uint32_t indexCount_ ) VULKAN_HPP_NOEXCEPT - { - indexCount = indexCount_; - return *this; - } - - GeometryTrianglesNV & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT - { - indexType = indexType_; - return *this; - } - - GeometryTrianglesNV & setTransformData( VULKAN_HPP_NAMESPACE::Buffer transformData_ ) VULKAN_HPP_NOEXCEPT - { - transformData = transformData_; - return *this; - } - - GeometryTrianglesNV & setTransformOffset( VULKAN_HPP_NAMESPACE::DeviceSize transformOffset_ ) VULKAN_HPP_NOEXCEPT - { - transformOffset = transformOffset_; - return *this; - } - - operator VkGeometryTrianglesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeometryTrianglesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeometryTrianglesNV const & ) const = default; -#else - bool operator==( GeometryTrianglesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( vertexData == rhs.vertexData ) && - ( vertexOffset == rhs.vertexOffset ) && ( vertexCount == rhs.vertexCount ) && - ( vertexStride == rhs.vertexStride ) && ( vertexFormat == rhs.vertexFormat ) && - ( indexData == rhs.indexData ) && ( indexOffset == rhs.indexOffset ) && ( indexCount == rhs.indexCount ) && - ( indexType == rhs.indexType ) && ( transformData == rhs.transformData ) && - ( transformOffset == rhs.transformOffset ); - } - - bool operator!=( GeometryTrianglesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryTrianglesNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer vertexData = {}; - VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset = {}; - uint32_t vertexCount = {}; - VULKAN_HPP_NAMESPACE::DeviceSize vertexStride = {}; - VULKAN_HPP_NAMESPACE::Format vertexFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::Buffer indexData = {}; - VULKAN_HPP_NAMESPACE::DeviceSize indexOffset = {}; - uint32_t indexCount = {}; - VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; - VULKAN_HPP_NAMESPACE::Buffer transformData = {}; - VULKAN_HPP_NAMESPACE::DeviceSize transformOffset = {}; - }; - static_assert( sizeof( GeometryTrianglesNV ) == sizeof( VkGeometryTrianglesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GeometryTrianglesNV; - }; - - struct GeometryAABBNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryAabbNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GeometryAABBNV( VULKAN_HPP_NAMESPACE::Buffer aabbData_ = {}, - uint32_t numAABBs_ = {}, - uint32_t stride_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {} ) VULKAN_HPP_NOEXCEPT - : aabbData( aabbData_ ) - , numAABBs( numAABBs_ ) - , stride( stride_ ) - , offset( offset_ ) - {} - - VULKAN_HPP_CONSTEXPR GeometryAABBNV( GeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryAABBNV( VkGeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GeometryAABBNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeometryAABBNV & operator=( GeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryAABBNV & operator=( VkGeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeometryAABBNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GeometryAABBNV & setAabbData( VULKAN_HPP_NAMESPACE::Buffer aabbData_ ) VULKAN_HPP_NOEXCEPT - { - aabbData = aabbData_; - return *this; - } - - GeometryAABBNV & setNumAABBs( uint32_t numAABBs_ ) VULKAN_HPP_NOEXCEPT - { - numAABBs = numAABBs_; - return *this; - } - - GeometryAABBNV & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - GeometryAABBNV & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - operator VkGeometryAABBNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeometryAABBNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeometryAABBNV const & ) const = default; -#else - bool operator==( GeometryAABBNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( aabbData == rhs.aabbData ) && - ( numAABBs == rhs.numAABBs ) && ( stride == rhs.stride ) && ( offset == rhs.offset ); - } - - bool operator!=( GeometryAABBNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryAabbNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer aabbData = {}; - uint32_t numAABBs = {}; - uint32_t stride = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - }; - static_assert( sizeof( GeometryAABBNV ) == sizeof( VkGeometryAABBNV ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GeometryAABBNV; - }; - - struct GeometryDataNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GeometryDataNV( VULKAN_HPP_NAMESPACE::GeometryTrianglesNV triangles_ = {}, - VULKAN_HPP_NAMESPACE::GeometryAABBNV aabbs_ = {} ) VULKAN_HPP_NOEXCEPT - : triangles( triangles_ ) - , aabbs( aabbs_ ) - {} - - VULKAN_HPP_CONSTEXPR GeometryDataNV( GeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryDataNV( VkGeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GeometryDataNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeometryDataNV & operator=( GeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryDataNV & operator=( VkGeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeometryDataNV & setTriangles( VULKAN_HPP_NAMESPACE::GeometryTrianglesNV const & triangles_ ) VULKAN_HPP_NOEXCEPT - { - triangles = triangles_; - return *this; - } - - GeometryDataNV & setAabbs( VULKAN_HPP_NAMESPACE::GeometryAABBNV const & aabbs_ ) VULKAN_HPP_NOEXCEPT - { - aabbs = aabbs_; - return *this; - } - - operator VkGeometryDataNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeometryDataNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeometryDataNV const & ) const = default; -#else - bool operator==( GeometryDataNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( triangles == rhs.triangles ) && ( aabbs == rhs.aabbs ); - } - - bool operator!=( GeometryDataNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::GeometryTrianglesNV triangles = {}; - VULKAN_HPP_NAMESPACE::GeometryAABBNV aabbs = {}; - }; - static_assert( sizeof( GeometryDataNV ) == sizeof( VkGeometryDataNV ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct GeometryNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GeometryNV( - VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles, - VULKAN_HPP_NAMESPACE::GeometryDataNV geometry_ = {}, - VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ = {} ) VULKAN_HPP_NOEXCEPT - : geometryType( geometryType_ ) - , geometry( geometry_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR GeometryNV( GeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryNV( VkGeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GeometryNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeometryNV & operator=( GeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeometryNV & operator=( VkGeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeometryNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GeometryNV & setGeometryType( VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ ) VULKAN_HPP_NOEXCEPT - { - geometryType = geometryType_; - return *this; - } - - GeometryNV & setGeometry( VULKAN_HPP_NAMESPACE::GeometryDataNV const & geometry_ ) VULKAN_HPP_NOEXCEPT - { - geometry = geometry_; - return *this; - } - - GeometryNV & setFlags( VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkGeometryNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeometryNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeometryNV const & ) const = default; -#else - bool operator==( GeometryNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( geometryType == rhs.geometryType ) && - ( geometry == rhs.geometry ) && ( flags == rhs.flags ); - } - - bool operator!=( GeometryNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles; - VULKAN_HPP_NAMESPACE::GeometryDataNV geometry = {}; - VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags = {}; - }; - static_assert( sizeof( GeometryNV ) == sizeof( VkGeometryNV ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GeometryNV; - }; - - struct AccelerationStructureInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - AccelerationStructureInfoNV( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_ = {}, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_ = {}, - uint32_t instanceCount_ = {}, - uint32_t geometryCount_ = {}, - const VULKAN_HPP_NAMESPACE::GeometryNV * pGeometries_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , flags( flags_ ) - , instanceCount( instanceCount_ ) - , geometryCount( geometryCount_ ) - , pGeometries( pGeometries_ ) - {} - - VULKAN_HPP_CONSTEXPR - AccelerationStructureInfoNV( AccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureInfoNV( VkAccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - AccelerationStructureInfoNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_, - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_, - uint32_t instanceCount_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometries_ ) - : type( type_ ) - , flags( flags_ ) - , instanceCount( instanceCount_ ) - , geometryCount( static_cast( geometries_.size() ) ) - , pGeometries( geometries_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureInfoNV & - operator=( AccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureInfoNV & operator=( VkAccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureInfoNV & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - AccelerationStructureInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AccelerationStructureInfoNV & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT - { - instanceCount = instanceCount_; - return *this; - } - - AccelerationStructureInfoNV & setGeometryCount( uint32_t geometryCount_ ) VULKAN_HPP_NOEXCEPT - { - geometryCount = geometryCount_; - return *this; - } - - AccelerationStructureInfoNV & - setPGeometries( const VULKAN_HPP_NAMESPACE::GeometryNV * pGeometries_ ) VULKAN_HPP_NOEXCEPT - { - pGeometries = pGeometries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - AccelerationStructureInfoNV & setGeometries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometries_ ) - VULKAN_HPP_NOEXCEPT - { - geometryCount = static_cast( geometries_.size() ); - pGeometries = geometries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkAccelerationStructureInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureInfoNV const & ) const = default; -#else - bool operator==( AccelerationStructureInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ) && ( flags == rhs.flags ) && - ( instanceCount == rhs.instanceCount ) && ( geometryCount == rhs.geometryCount ) && - ( pGeometries == rhs.pGeometries ); - } - - bool operator!=( AccelerationStructureInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type = {}; - VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags = {}; - uint32_t instanceCount = {}; - uint32_t geometryCount = {}; - const VULKAN_HPP_NAMESPACE::GeometryNV * pGeometries = {}; - }; - static_assert( sizeof( AccelerationStructureInfoNV ) == sizeof( VkAccelerationStructureInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureInfoNV; - }; - - struct AccelerationStructureCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoNV( - VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ = {}, - VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV info_ = {} ) VULKAN_HPP_NOEXCEPT - : compactedSize( compactedSize_ ) - , info( info_ ) - {} - - VULKAN_HPP_CONSTEXPR - AccelerationStructureCreateInfoNV( AccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureCreateInfoNV( VkAccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureCreateInfoNV & - operator=( AccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureCreateInfoNV & operator=( VkAccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureCreateInfoNV & - setCompactedSize( VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ ) VULKAN_HPP_NOEXCEPT - { - compactedSize = compactedSize_; - return *this; - } - - AccelerationStructureCreateInfoNV & - setInfo( VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV const & info_ ) VULKAN_HPP_NOEXCEPT - { - info = info_; - return *this; - } - - operator VkAccelerationStructureCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureCreateInfoNV const & ) const = default; -#else - bool operator==( AccelerationStructureCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( compactedSize == rhs.compactedSize ) && - ( info == rhs.info ); - } - - bool operator!=( AccelerationStructureCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize compactedSize = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV info = {}; - }; - static_assert( sizeof( AccelerationStructureCreateInfoNV ) == sizeof( VkAccelerationStructureCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureCreateInfoNV; - }; - - struct AccelerationStructureDeviceAddressInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureDeviceAddressInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureDeviceAddressInfoKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructure( accelerationStructure_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureDeviceAddressInfoKHR( - AccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureDeviceAddressInfoKHR( VkAccelerationStructureDeviceAddressInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureDeviceAddressInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureDeviceAddressInfoKHR & - operator=( AccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureDeviceAddressInfoKHR & - operator=( VkAccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureDeviceAddressInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureDeviceAddressInfoKHR & setAccelerationStructure( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructure = accelerationStructure_; - return *this; - } - - operator VkAccelerationStructureDeviceAddressInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureDeviceAddressInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureDeviceAddressInfoKHR const & ) const = default; -#else - bool operator==( AccelerationStructureDeviceAddressInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( accelerationStructure == rhs.accelerationStructure ); - } - - bool operator!=( AccelerationStructureDeviceAddressInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureDeviceAddressInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure = {}; - }; - static_assert( sizeof( AccelerationStructureDeviceAddressInfoKHR ) == - sizeof( VkAccelerationStructureDeviceAddressInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureDeviceAddressInfoKHR; - }; - - struct TransformMatrixKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - TransformMatrixKHR( std::array, 3> const & matrix_ = {} ) VULKAN_HPP_NOEXCEPT - : matrix( matrix_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 TransformMatrixKHR( TransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TransformMatrixKHR( VkTransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : TransformMatrixKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 TransformMatrixKHR & - operator=( TransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TransformMatrixKHR & operator=( VkTransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - TransformMatrixKHR & setMatrix( std::array, 3> matrix_ ) VULKAN_HPP_NOEXCEPT - { - matrix = matrix_; - return *this; - } - - operator VkTransformMatrixKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkTransformMatrixKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( TransformMatrixKHR const & ) const = default; -#else - bool operator==( TransformMatrixKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( matrix == rhs.matrix ); - } - - bool operator!=( TransformMatrixKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ArrayWrapper2D matrix = {}; - }; - static_assert( sizeof( TransformMatrixKHR ) == sizeof( VkTransformMatrixKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - using TransformMatrixNV = TransformMatrixKHR; - - struct AccelerationStructureInstanceKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - AccelerationStructureInstanceKHR( VULKAN_HPP_NAMESPACE::TransformMatrixKHR transform_ = {}, - uint32_t instanceCustomIndex_ = {}, - uint32_t mask_ = {}, - uint32_t instanceShaderBindingTableRecordOffset_ = {}, - VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsKHR flags_ = {}, - uint64_t accelerationStructureReference_ = {} ) VULKAN_HPP_NOEXCEPT - : transform( transform_ ) - , instanceCustomIndex( instanceCustomIndex_ ) - , mask( mask_ ) - , instanceShaderBindingTableRecordOffset( instanceShaderBindingTableRecordOffset_ ) - , flags( flags_ ) - , accelerationStructureReference( accelerationStructureReference_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - AccelerationStructureInstanceKHR( AccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureInstanceKHR( VkAccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureInstanceKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureInstanceKHR & - operator=( AccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureInstanceKHR & operator=( VkAccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureInstanceKHR & - setTransform( VULKAN_HPP_NAMESPACE::TransformMatrixKHR const & transform_ ) VULKAN_HPP_NOEXCEPT - { - transform = transform_; - return *this; - } - - AccelerationStructureInstanceKHR & setInstanceCustomIndex( uint32_t instanceCustomIndex_ ) VULKAN_HPP_NOEXCEPT - { - instanceCustomIndex = instanceCustomIndex_; - return *this; - } - - AccelerationStructureInstanceKHR & setMask( uint32_t mask_ ) VULKAN_HPP_NOEXCEPT - { - mask = mask_; - return *this; - } - - AccelerationStructureInstanceKHR & - setInstanceShaderBindingTableRecordOffset( uint32_t instanceShaderBindingTableRecordOffset_ ) VULKAN_HPP_NOEXCEPT - { - instanceShaderBindingTableRecordOffset = instanceShaderBindingTableRecordOffset_; - return *this; - } - - AccelerationStructureInstanceKHR & - setFlags( VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = *reinterpret_cast( &flags_ ); - return *this; - } - - AccelerationStructureInstanceKHR & - setAccelerationStructureReference( uint64_t accelerationStructureReference_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureReference = accelerationStructureReference_; - return *this; - } - - operator VkAccelerationStructureInstanceKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureInstanceKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureInstanceKHR const & ) const = default; -#else - bool operator==( AccelerationStructureInstanceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( transform == rhs.transform ) && ( instanceCustomIndex == rhs.instanceCustomIndex ) && - ( mask == rhs.mask ) && - ( instanceShaderBindingTableRecordOffset == rhs.instanceShaderBindingTableRecordOffset ) && - ( flags == rhs.flags ) && ( accelerationStructureReference == rhs.accelerationStructureReference ); - } - - bool operator!=( AccelerationStructureInstanceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::TransformMatrixKHR transform = {}; - uint32_t instanceCustomIndex : 24; - uint32_t mask : 8; - uint32_t instanceShaderBindingTableRecordOffset : 24; - VkGeometryInstanceFlagsKHR flags : 8; - uint64_t accelerationStructureReference = {}; - }; - static_assert( sizeof( AccelerationStructureInstanceKHR ) == sizeof( VkAccelerationStructureInstanceKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - using AccelerationStructureInstanceNV = AccelerationStructureInstanceKHR; - - class AccelerationStructureNV - { - public: - using CType = VkAccelerationStructureNV; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eAccelerationStructureNV; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eAccelerationStructureNV; - - public: - VULKAN_HPP_CONSTEXPR AccelerationStructureNV() = default; - VULKAN_HPP_CONSTEXPR AccelerationStructureNV( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - AccelerationStructureNV( VkAccelerationStructureNV accelerationStructureNV ) VULKAN_HPP_NOEXCEPT - : m_accelerationStructureNV( accelerationStructureNV ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - AccelerationStructureNV & operator=( VkAccelerationStructureNV accelerationStructureNV ) VULKAN_HPP_NOEXCEPT - { - m_accelerationStructureNV = accelerationStructureNV; - return *this; - } -#endif - - AccelerationStructureNV & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_accelerationStructureNV = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureNV const & ) const = default; -#else - bool operator==( AccelerationStructureNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV == rhs.m_accelerationStructureNV; - } - - bool operator!=( AccelerationStructureNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV != rhs.m_accelerationStructureNV; - } - - bool operator<( AccelerationStructureNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV < rhs.m_accelerationStructureNV; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkAccelerationStructureNV() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_accelerationStructureNV == VK_NULL_HANDLE; - } - - private: - VkAccelerationStructureNV m_accelerationStructureNV = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureNV ) == sizeof( VkAccelerationStructureNV ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::AccelerationStructureNV; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureNV; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureNV; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct AccelerationStructureMemoryRequirementsInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureMemoryRequirementsInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type_ = - VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV::eObject, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , accelerationStructure( accelerationStructure_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoNV( - AccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureMemoryRequirementsInfoNV( VkAccelerationStructureMemoryRequirementsInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : AccelerationStructureMemoryRequirementsInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureMemoryRequirementsInfoNV & - operator=( AccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureMemoryRequirementsInfoNV & - operator=( VkAccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureMemoryRequirementsInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureMemoryRequirementsInfoNV & - setType( VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - AccelerationStructureMemoryRequirementsInfoNV & setAccelerationStructure( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructure = accelerationStructure_; - return *this; - } - - operator VkAccelerationStructureMemoryRequirementsInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureMemoryRequirementsInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureMemoryRequirementsInfoNV const & ) const = default; -#else - bool operator==( AccelerationStructureMemoryRequirementsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ) && - ( accelerationStructure == rhs.accelerationStructure ); - } - - bool operator!=( AccelerationStructureMemoryRequirementsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureMemoryRequirementsInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type = - VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV::eObject; - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure = {}; - }; - static_assert( sizeof( AccelerationStructureMemoryRequirementsInfoNV ) == - sizeof( VkAccelerationStructureMemoryRequirementsInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureMemoryRequirementsInfoNV; - }; - - struct AccelerationStructureVersionInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAccelerationStructureVersionInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AccelerationStructureVersionInfoKHR( const uint8_t * pVersionData_ = {} ) VULKAN_HPP_NOEXCEPT - : pVersionData( pVersionData_ ) - {} - - VULKAN_HPP_CONSTEXPR AccelerationStructureVersionInfoKHR( AccelerationStructureVersionInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureVersionInfoKHR( VkAccelerationStructureVersionInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AccelerationStructureVersionInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AccelerationStructureVersionInfoKHR & - operator=( AccelerationStructureVersionInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AccelerationStructureVersionInfoKHR & - operator=( VkAccelerationStructureVersionInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AccelerationStructureVersionInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AccelerationStructureVersionInfoKHR & setPVersionData( const uint8_t * pVersionData_ ) VULKAN_HPP_NOEXCEPT - { - pVersionData = pVersionData_; - return *this; - } - - operator VkAccelerationStructureVersionInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAccelerationStructureVersionInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AccelerationStructureVersionInfoKHR const & ) const = default; -#else - bool operator==( AccelerationStructureVersionInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pVersionData == rhs.pVersionData ); - } - - bool operator!=( AccelerationStructureVersionInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureVersionInfoKHR; - const void * pNext = {}; - const uint8_t * pVersionData = {}; - }; - static_assert( sizeof( AccelerationStructureVersionInfoKHR ) == sizeof( VkAccelerationStructureVersionInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AccelerationStructureVersionInfoKHR; - }; - - class SwapchainKHR - { - public: - using CType = VkSwapchainKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eSwapchainKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSwapchainKHR; - - public: - VULKAN_HPP_CONSTEXPR SwapchainKHR() = default; - VULKAN_HPP_CONSTEXPR SwapchainKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT SwapchainKHR( VkSwapchainKHR swapchainKHR ) VULKAN_HPP_NOEXCEPT - : m_swapchainKHR( swapchainKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - SwapchainKHR & operator=( VkSwapchainKHR swapchainKHR ) VULKAN_HPP_NOEXCEPT - { - m_swapchainKHR = swapchainKHR; - return *this; - } -#endif - - SwapchainKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_swapchainKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SwapchainKHR const & ) const = default; -#else - bool operator==( SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR == rhs.m_swapchainKHR; - } - - bool operator!=( SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR != rhs.m_swapchainKHR; - } - - bool operator<( SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR < rhs.m_swapchainKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSwapchainKHR() const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_swapchainKHR == VK_NULL_HANDLE; - } - - private: - VkSwapchainKHR m_swapchainKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::SwapchainKHR ) == sizeof( VkSwapchainKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::SwapchainKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class Semaphore - { - public: - using CType = VkSemaphore; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eSemaphore; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSemaphore; - - public: - VULKAN_HPP_CONSTEXPR Semaphore() = default; - VULKAN_HPP_CONSTEXPR Semaphore( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Semaphore( VkSemaphore semaphore ) VULKAN_HPP_NOEXCEPT : m_semaphore( semaphore ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Semaphore & operator=( VkSemaphore semaphore ) VULKAN_HPP_NOEXCEPT - { - m_semaphore = semaphore; - return *this; - } -#endif - - Semaphore & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_semaphore = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Semaphore const & ) const = default; -#else - bool operator==( Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_semaphore == rhs.m_semaphore; - } - - bool operator!=( Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_semaphore != rhs.m_semaphore; - } - - bool operator<( Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_semaphore < rhs.m_semaphore; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSemaphore() const VULKAN_HPP_NOEXCEPT - { - return m_semaphore; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_semaphore != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_semaphore == VK_NULL_HANDLE; - } - - private: - VkSemaphore m_semaphore = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Semaphore ) == sizeof( VkSemaphore ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Semaphore; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Semaphore; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Semaphore; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class Fence - { - public: - using CType = VkFence; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eFence; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eFence; - - public: - VULKAN_HPP_CONSTEXPR Fence() = default; - VULKAN_HPP_CONSTEXPR Fence( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Fence( VkFence fence ) VULKAN_HPP_NOEXCEPT : m_fence( fence ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Fence & operator=( VkFence fence ) VULKAN_HPP_NOEXCEPT - { - m_fence = fence; - return *this; - } -#endif - - Fence & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_fence = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Fence const & ) const = default; -#else - bool operator==( Fence const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_fence == rhs.m_fence; - } - - bool operator!=( Fence const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_fence != rhs.m_fence; - } - - bool operator<( Fence const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_fence < rhs.m_fence; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence() const VULKAN_HPP_NOEXCEPT - { - return m_fence; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_fence != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_fence == VK_NULL_HANDLE; - } - - private: - VkFence m_fence = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Fence ) == sizeof( VkFence ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Fence; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Fence; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Fence; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct AcquireNextImageInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAcquireNextImageInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AcquireNextImageInfoKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {}, - uint64_t timeout_ = {}, - VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::Fence fence_ = {}, - uint32_t deviceMask_ = {} ) VULKAN_HPP_NOEXCEPT - : swapchain( swapchain_ ) - , timeout( timeout_ ) - , semaphore( semaphore_ ) - , fence( fence_ ) - , deviceMask( deviceMask_ ) - {} - - VULKAN_HPP_CONSTEXPR AcquireNextImageInfoKHR( AcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AcquireNextImageInfoKHR( VkAcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AcquireNextImageInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AcquireNextImageInfoKHR & - operator=( AcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AcquireNextImageInfoKHR & operator=( VkAcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AcquireNextImageInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AcquireNextImageInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT - { - swapchain = swapchain_; - return *this; - } - - AcquireNextImageInfoKHR & setTimeout( uint64_t timeout_ ) VULKAN_HPP_NOEXCEPT - { - timeout = timeout_; - return *this; - } - - AcquireNextImageInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - AcquireNextImageInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT - { - fence = fence_; - return *this; - } - - AcquireNextImageInfoKHR & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT - { - deviceMask = deviceMask_; - return *this; - } - - operator VkAcquireNextImageInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAcquireNextImageInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AcquireNextImageInfoKHR const & ) const = default; -#else - bool operator==( AcquireNextImageInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchain == rhs.swapchain ) && - ( timeout == rhs.timeout ) && ( semaphore == rhs.semaphore ) && ( fence == rhs.fence ) && - ( deviceMask == rhs.deviceMask ); - } - - bool operator!=( AcquireNextImageInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAcquireNextImageInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; - uint64_t timeout = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::Fence fence = {}; - uint32_t deviceMask = {}; - }; - static_assert( sizeof( AcquireNextImageInfoKHR ) == sizeof( VkAcquireNextImageInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AcquireNextImageInfoKHR; - }; - - struct AcquireProfilingLockInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAcquireProfilingLockInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AcquireProfilingLockInfoKHR( VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags_ = {}, - uint64_t timeout_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , timeout( timeout_ ) - {} - - VULKAN_HPP_CONSTEXPR - AcquireProfilingLockInfoKHR( AcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AcquireProfilingLockInfoKHR( VkAcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AcquireProfilingLockInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AcquireProfilingLockInfoKHR & - operator=( AcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AcquireProfilingLockInfoKHR & operator=( VkAcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AcquireProfilingLockInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AcquireProfilingLockInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AcquireProfilingLockInfoKHR & setTimeout( uint64_t timeout_ ) VULKAN_HPP_NOEXCEPT - { - timeout = timeout_; - return *this; - } - - operator VkAcquireProfilingLockInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAcquireProfilingLockInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AcquireProfilingLockInfoKHR const & ) const = default; -#else - bool operator==( AcquireProfilingLockInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( timeout == rhs.timeout ); - } - - bool operator!=( AcquireProfilingLockInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAcquireProfilingLockInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags = {}; - uint64_t timeout = {}; - }; - static_assert( sizeof( AcquireProfilingLockInfoKHR ) == sizeof( VkAcquireProfilingLockInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AcquireProfilingLockInfoKHR; - }; - - struct AllocationCallbacks - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AllocationCallbacks( void * pUserData_ = {}, - PFN_vkAllocationFunction pfnAllocation_ = {}, - PFN_vkReallocationFunction pfnReallocation_ = {}, - PFN_vkFreeFunction pfnFree_ = {}, - PFN_vkInternalAllocationNotification pfnInternalAllocation_ = {}, - PFN_vkInternalFreeNotification pfnInternalFree_ = {} ) VULKAN_HPP_NOEXCEPT - : pUserData( pUserData_ ) - , pfnAllocation( pfnAllocation_ ) - , pfnReallocation( pfnReallocation_ ) - , pfnFree( pfnFree_ ) - , pfnInternalAllocation( pfnInternalAllocation_ ) - , pfnInternalFree( pfnInternalFree_ ) - {} - - VULKAN_HPP_CONSTEXPR AllocationCallbacks( AllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AllocationCallbacks( VkAllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT - : AllocationCallbacks( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AllocationCallbacks & - operator=( AllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AllocationCallbacks & operator=( VkAllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AllocationCallbacks & setPUserData( void * pUserData_ ) VULKAN_HPP_NOEXCEPT - { - pUserData = pUserData_; - return *this; - } - - AllocationCallbacks & setPfnAllocation( PFN_vkAllocationFunction pfnAllocation_ ) VULKAN_HPP_NOEXCEPT - { - pfnAllocation = pfnAllocation_; - return *this; - } - - AllocationCallbacks & setPfnReallocation( PFN_vkReallocationFunction pfnReallocation_ ) VULKAN_HPP_NOEXCEPT - { - pfnReallocation = pfnReallocation_; - return *this; - } - - AllocationCallbacks & setPfnFree( PFN_vkFreeFunction pfnFree_ ) VULKAN_HPP_NOEXCEPT - { - pfnFree = pfnFree_; - return *this; - } - - AllocationCallbacks & - setPfnInternalAllocation( PFN_vkInternalAllocationNotification pfnInternalAllocation_ ) VULKAN_HPP_NOEXCEPT - { - pfnInternalAllocation = pfnInternalAllocation_; - return *this; - } - - AllocationCallbacks & setPfnInternalFree( PFN_vkInternalFreeNotification pfnInternalFree_ ) VULKAN_HPP_NOEXCEPT - { - pfnInternalFree = pfnInternalFree_; - return *this; - } - - operator VkAllocationCallbacks const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAllocationCallbacks &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AllocationCallbacks const & ) const = default; -#else - bool operator==( AllocationCallbacks const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( pUserData == rhs.pUserData ) && ( pfnAllocation == rhs.pfnAllocation ) && - ( pfnReallocation == rhs.pfnReallocation ) && ( pfnFree == rhs.pfnFree ) && - ( pfnInternalAllocation == rhs.pfnInternalAllocation ) && ( pfnInternalFree == rhs.pfnInternalFree ); - } - - bool operator!=( AllocationCallbacks const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - void * pUserData = {}; - PFN_vkAllocationFunction pfnAllocation = {}; - PFN_vkReallocationFunction pfnReallocation = {}; - PFN_vkFreeFunction pfnFree = {}; - PFN_vkInternalAllocationNotification pfnInternalAllocation = {}; - PFN_vkInternalFreeNotification pfnInternalFree = {}; - }; - static_assert( sizeof( AllocationCallbacks ) == sizeof( VkAllocationCallbacks ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ComponentMapping - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ComponentMapping( VULKAN_HPP_NAMESPACE::ComponentSwizzle r_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, - VULKAN_HPP_NAMESPACE::ComponentSwizzle g_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, - VULKAN_HPP_NAMESPACE::ComponentSwizzle b_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, - VULKAN_HPP_NAMESPACE::ComponentSwizzle a_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity ) - VULKAN_HPP_NOEXCEPT - : r( r_ ) - , g( g_ ) - , b( b_ ) - , a( a_ ) - {} - - VULKAN_HPP_CONSTEXPR ComponentMapping( ComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ComponentMapping( VkComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT - : ComponentMapping( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ComponentMapping & operator=( ComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ComponentMapping & operator=( VkComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ComponentMapping & setR( VULKAN_HPP_NAMESPACE::ComponentSwizzle r_ ) VULKAN_HPP_NOEXCEPT - { - r = r_; - return *this; - } - - ComponentMapping & setG( VULKAN_HPP_NAMESPACE::ComponentSwizzle g_ ) VULKAN_HPP_NOEXCEPT - { - g = g_; - return *this; - } - - ComponentMapping & setB( VULKAN_HPP_NAMESPACE::ComponentSwizzle b_ ) VULKAN_HPP_NOEXCEPT - { - b = b_; - return *this; - } - - ComponentMapping & setA( VULKAN_HPP_NAMESPACE::ComponentSwizzle a_ ) VULKAN_HPP_NOEXCEPT - { - a = a_; - return *this; - } - - operator VkComponentMapping const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkComponentMapping &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ComponentMapping const & ) const = default; -#else - bool operator==( ComponentMapping const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( r == rhs.r ) && ( g == rhs.g ) && ( b == rhs.b ) && ( a == rhs.a ); - } - - bool operator!=( ComponentMapping const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ComponentSwizzle r = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; - VULKAN_HPP_NAMESPACE::ComponentSwizzle g = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; - VULKAN_HPP_NAMESPACE::ComponentSwizzle b = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; - VULKAN_HPP_NAMESPACE::ComponentSwizzle a = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; - }; - static_assert( sizeof( ComponentMapping ) == sizeof( VkComponentMapping ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct AndroidHardwareBufferFormatPropertiesANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAndroidHardwareBufferFormatPropertiesANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AndroidHardwareBufferFormatPropertiesANDROID( - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - uint64_t externalFormat_ = {}, - VULKAN_HPP_NAMESPACE::FormatFeatureFlags formatFeatures_ = {}, - VULKAN_HPP_NAMESPACE::ComponentMapping samplerYcbcrConversionComponents_ = {}, - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion suggestedYcbcrModel_ = - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity, - VULKAN_HPP_NAMESPACE::SamplerYcbcrRange suggestedYcbcrRange_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull, - VULKAN_HPP_NAMESPACE::ChromaLocation suggestedXChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, - VULKAN_HPP_NAMESPACE::ChromaLocation suggestedYChromaOffset_ = - VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - , externalFormat( externalFormat_ ) - , formatFeatures( formatFeatures_ ) - , samplerYcbcrConversionComponents( samplerYcbcrConversionComponents_ ) - , suggestedYcbcrModel( suggestedYcbcrModel_ ) - , suggestedYcbcrRange( suggestedYcbcrRange_ ) - , suggestedXChromaOffset( suggestedXChromaOffset_ ) - , suggestedYChromaOffset( suggestedYChromaOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR AndroidHardwareBufferFormatPropertiesANDROID( - AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferFormatPropertiesANDROID( VkAndroidHardwareBufferFormatPropertiesANDROID const & rhs ) - VULKAN_HPP_NOEXCEPT - : AndroidHardwareBufferFormatPropertiesANDROID( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AndroidHardwareBufferFormatPropertiesANDROID & - operator=( AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferFormatPropertiesANDROID & - operator=( VkAndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkAndroidHardwareBufferFormatPropertiesANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAndroidHardwareBufferFormatPropertiesANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AndroidHardwareBufferFormatPropertiesANDROID const & ) const = default; -# else - bool operator==( AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( format == rhs.format ) && - ( externalFormat == rhs.externalFormat ) && ( formatFeatures == rhs.formatFeatures ) && - ( samplerYcbcrConversionComponents == rhs.samplerYcbcrConversionComponents ) && - ( suggestedYcbcrModel == rhs.suggestedYcbcrModel ) && ( suggestedYcbcrRange == rhs.suggestedYcbcrRange ) && - ( suggestedXChromaOffset == rhs.suggestedXChromaOffset ) && - ( suggestedYChromaOffset == rhs.suggestedYChromaOffset ); - } - - bool operator!=( AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferFormatPropertiesANDROID; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - uint64_t externalFormat = {}; - VULKAN_HPP_NAMESPACE::FormatFeatureFlags formatFeatures = {}; - VULKAN_HPP_NAMESPACE::ComponentMapping samplerYcbcrConversionComponents = {}; - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion suggestedYcbcrModel = - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity; - VULKAN_HPP_NAMESPACE::SamplerYcbcrRange suggestedYcbcrRange = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull; - VULKAN_HPP_NAMESPACE::ChromaLocation suggestedXChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; - VULKAN_HPP_NAMESPACE::ChromaLocation suggestedYChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; - }; - static_assert( sizeof( AndroidHardwareBufferFormatPropertiesANDROID ) == - sizeof( VkAndroidHardwareBufferFormatPropertiesANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AndroidHardwareBufferFormatPropertiesANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct AndroidHardwareBufferPropertiesANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAndroidHardwareBufferPropertiesANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AndroidHardwareBufferPropertiesANDROID( VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ = {}, - uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : allocationSize( allocationSize_ ) - , memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR AndroidHardwareBufferPropertiesANDROID( AndroidHardwareBufferPropertiesANDROID const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferPropertiesANDROID( VkAndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - : AndroidHardwareBufferPropertiesANDROID( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AndroidHardwareBufferPropertiesANDROID & - operator=( AndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferPropertiesANDROID & - operator=( VkAndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkAndroidHardwareBufferPropertiesANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAndroidHardwareBufferPropertiesANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AndroidHardwareBufferPropertiesANDROID const & ) const = default; -# else - bool operator==( AndroidHardwareBufferPropertiesANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( allocationSize == rhs.allocationSize ) && - ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( AndroidHardwareBufferPropertiesANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferPropertiesANDROID; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize allocationSize = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( AndroidHardwareBufferPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferPropertiesANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AndroidHardwareBufferPropertiesANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct AndroidHardwareBufferUsageANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAndroidHardwareBufferUsageANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - AndroidHardwareBufferUsageANDROID( uint64_t androidHardwareBufferUsage_ = {} ) VULKAN_HPP_NOEXCEPT - : androidHardwareBufferUsage( androidHardwareBufferUsage_ ) - {} - - VULKAN_HPP_CONSTEXPR - AndroidHardwareBufferUsageANDROID( AndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferUsageANDROID( VkAndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - : AndroidHardwareBufferUsageANDROID( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AndroidHardwareBufferUsageANDROID & - operator=( AndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidHardwareBufferUsageANDROID & operator=( VkAndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkAndroidHardwareBufferUsageANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAndroidHardwareBufferUsageANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AndroidHardwareBufferUsageANDROID const & ) const = default; -# else - bool operator==( AndroidHardwareBufferUsageANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( androidHardwareBufferUsage == rhs.androidHardwareBufferUsage ); - } - - bool operator!=( AndroidHardwareBufferUsageANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferUsageANDROID; - void * pNext = {}; - uint64_t androidHardwareBufferUsage = {}; - }; - static_assert( sizeof( AndroidHardwareBufferUsageANDROID ) == sizeof( VkAndroidHardwareBufferUsageANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AndroidHardwareBufferUsageANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct AndroidSurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAndroidSurfaceCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AndroidSurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags_ = {}, - struct ANativeWindow * window_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , window( window_ ) - {} - - VULKAN_HPP_CONSTEXPR - AndroidSurfaceCreateInfoKHR( AndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidSurfaceCreateInfoKHR( VkAndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : AndroidSurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AndroidSurfaceCreateInfoKHR & - operator=( AndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AndroidSurfaceCreateInfoKHR & operator=( VkAndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AndroidSurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AndroidSurfaceCreateInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AndroidSurfaceCreateInfoKHR & setWindow( struct ANativeWindow * window_ ) VULKAN_HPP_NOEXCEPT - { - window = window_; - return *this; - } - - operator VkAndroidSurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAndroidSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AndroidSurfaceCreateInfoKHR const & ) const = default; -# else - bool operator==( AndroidSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( window == rhs.window ); - } - - bool operator!=( AndroidSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidSurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags = {}; - struct ANativeWindow * window = {}; - }; - static_assert( sizeof( AndroidSurfaceCreateInfoKHR ) == sizeof( VkAndroidSurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AndroidSurfaceCreateInfoKHR; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - struct ApplicationInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eApplicationInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ApplicationInfo( const char * pApplicationName_ = {}, - uint32_t applicationVersion_ = {}, - const char * pEngineName_ = {}, - uint32_t engineVersion_ = {}, - uint32_t apiVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : pApplicationName( pApplicationName_ ) - , applicationVersion( applicationVersion_ ) - , pEngineName( pEngineName_ ) - , engineVersion( engineVersion_ ) - , apiVersion( apiVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR ApplicationInfo( ApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ApplicationInfo( VkApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ApplicationInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ApplicationInfo & operator=( ApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ApplicationInfo & operator=( VkApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ApplicationInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ApplicationInfo & setPApplicationName( const char * pApplicationName_ ) VULKAN_HPP_NOEXCEPT - { - pApplicationName = pApplicationName_; - return *this; - } - - ApplicationInfo & setApplicationVersion( uint32_t applicationVersion_ ) VULKAN_HPP_NOEXCEPT - { - applicationVersion = applicationVersion_; - return *this; - } - - ApplicationInfo & setPEngineName( const char * pEngineName_ ) VULKAN_HPP_NOEXCEPT - { - pEngineName = pEngineName_; - return *this; - } - - ApplicationInfo & setEngineVersion( uint32_t engineVersion_ ) VULKAN_HPP_NOEXCEPT - { - engineVersion = engineVersion_; - return *this; - } - - ApplicationInfo & setApiVersion( uint32_t apiVersion_ ) VULKAN_HPP_NOEXCEPT - { - apiVersion = apiVersion_; - return *this; - } - - operator VkApplicationInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkApplicationInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ApplicationInfo const & ) const = default; -#else - bool operator==( ApplicationInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pApplicationName == rhs.pApplicationName ) && - ( applicationVersion == rhs.applicationVersion ) && ( pEngineName == rhs.pEngineName ) && - ( engineVersion == rhs.engineVersion ) && ( apiVersion == rhs.apiVersion ); - } - - bool operator!=( ApplicationInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eApplicationInfo; - const void * pNext = {}; - const char * pApplicationName = {}; - uint32_t applicationVersion = {}; - const char * pEngineName = {}; - uint32_t engineVersion = {}; - uint32_t apiVersion = {}; - }; - static_assert( sizeof( ApplicationInfo ) == sizeof( VkApplicationInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ApplicationInfo; - }; - - struct AttachmentDescription - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AttachmentDescription( - VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, - VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, - VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, - VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) - VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , format( format_ ) - , samples( samples_ ) - , loadOp( loadOp_ ) - , storeOp( storeOp_ ) - , stencilLoadOp( stencilLoadOp_ ) - , stencilStoreOp( stencilStoreOp_ ) - , initialLayout( initialLayout_ ) - , finalLayout( finalLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR AttachmentDescription( AttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescription( VkAttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentDescription( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentDescription & - operator=( AttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescription & operator=( VkAttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentDescription & setFlags( VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AttachmentDescription & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - AttachmentDescription & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT - { - samples = samples_; - return *this; - } - - AttachmentDescription & setLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ ) VULKAN_HPP_NOEXCEPT - { - loadOp = loadOp_; - return *this; - } - - AttachmentDescription & setStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ ) VULKAN_HPP_NOEXCEPT - { - storeOp = storeOp_; - return *this; - } - - AttachmentDescription & - setStencilLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ ) VULKAN_HPP_NOEXCEPT - { - stencilLoadOp = stencilLoadOp_; - return *this; - } - - AttachmentDescription & - setStencilStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ ) VULKAN_HPP_NOEXCEPT - { - stencilStoreOp = stencilStoreOp_; - return *this; - } - - AttachmentDescription & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT - { - initialLayout = initialLayout_; - return *this; - } - - AttachmentDescription & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_HPP_NOEXCEPT - { - finalLayout = finalLayout_; - return *this; - } - - operator VkAttachmentDescription const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentDescription &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentDescription const & ) const = default; -#else - bool operator==( AttachmentDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( flags == rhs.flags ) && ( format == rhs.format ) && ( samples == rhs.samples ) && - ( loadOp == rhs.loadOp ) && ( storeOp == rhs.storeOp ) && ( stencilLoadOp == rhs.stencilLoadOp ) && - ( stencilStoreOp == rhs.stencilStoreOp ) && ( initialLayout == rhs.initialLayout ) && - ( finalLayout == rhs.finalLayout ); - } - - bool operator!=( AttachmentDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; - VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; - VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; - VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( AttachmentDescription ) == sizeof( VkAttachmentDescription ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct AttachmentDescription2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentDescription2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AttachmentDescription2( - VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, - VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, - VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, - VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) - VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , format( format_ ) - , samples( samples_ ) - , loadOp( loadOp_ ) - , storeOp( storeOp_ ) - , stencilLoadOp( stencilLoadOp_ ) - , stencilStoreOp( stencilStoreOp_ ) - , initialLayout( initialLayout_ ) - , finalLayout( finalLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR AttachmentDescription2( AttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescription2( VkAttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentDescription2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentDescription2 & - operator=( AttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescription2 & operator=( VkAttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentDescription2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AttachmentDescription2 & setFlags( VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - AttachmentDescription2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - AttachmentDescription2 & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT - { - samples = samples_; - return *this; - } - - AttachmentDescription2 & setLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ ) VULKAN_HPP_NOEXCEPT - { - loadOp = loadOp_; - return *this; - } - - AttachmentDescription2 & setStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ ) VULKAN_HPP_NOEXCEPT - { - storeOp = storeOp_; - return *this; - } - - AttachmentDescription2 & - setStencilLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ ) VULKAN_HPP_NOEXCEPT - { - stencilLoadOp = stencilLoadOp_; - return *this; - } - - AttachmentDescription2 & - setStencilStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ ) VULKAN_HPP_NOEXCEPT - { - stencilStoreOp = stencilStoreOp_; - return *this; - } - - AttachmentDescription2 & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT - { - initialLayout = initialLayout_; - return *this; - } - - AttachmentDescription2 & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_HPP_NOEXCEPT - { - finalLayout = finalLayout_; - return *this; - } - - operator VkAttachmentDescription2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentDescription2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentDescription2 const & ) const = default; -#else - bool operator==( AttachmentDescription2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( format == rhs.format ) && - ( samples == rhs.samples ) && ( loadOp == rhs.loadOp ) && ( storeOp == rhs.storeOp ) && - ( stencilLoadOp == rhs.stencilLoadOp ) && ( stencilStoreOp == rhs.stencilStoreOp ) && - ( initialLayout == rhs.initialLayout ) && ( finalLayout == rhs.finalLayout ); - } - - bool operator!=( AttachmentDescription2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentDescription2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; - VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; - VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; - VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( AttachmentDescription2 ) == sizeof( VkAttachmentDescription2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AttachmentDescription2; - }; - using AttachmentDescription2KHR = AttachmentDescription2; - - struct AttachmentDescriptionStencilLayout - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eAttachmentDescriptionStencilLayout; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AttachmentDescriptionStencilLayout( - VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) - VULKAN_HPP_NOEXCEPT - : stencilInitialLayout( stencilInitialLayout_ ) - , stencilFinalLayout( stencilFinalLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR AttachmentDescriptionStencilLayout( AttachmentDescriptionStencilLayout const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescriptionStencilLayout( VkAttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentDescriptionStencilLayout( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentDescriptionStencilLayout & - operator=( AttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentDescriptionStencilLayout & - operator=( VkAttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentDescriptionStencilLayout & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AttachmentDescriptionStencilLayout & - setStencilInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout_ ) VULKAN_HPP_NOEXCEPT - { - stencilInitialLayout = stencilInitialLayout_; - return *this; - } - - AttachmentDescriptionStencilLayout & - setStencilFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout_ ) VULKAN_HPP_NOEXCEPT - { - stencilFinalLayout = stencilFinalLayout_; - return *this; - } - - operator VkAttachmentDescriptionStencilLayout const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentDescriptionStencilLayout &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentDescriptionStencilLayout const & ) const = default; -#else - bool operator==( AttachmentDescriptionStencilLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stencilInitialLayout == rhs.stencilInitialLayout ) && - ( stencilFinalLayout == rhs.stencilFinalLayout ); - } - - bool operator!=( AttachmentDescriptionStencilLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentDescriptionStencilLayout; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( AttachmentDescriptionStencilLayout ) == sizeof( VkAttachmentDescriptionStencilLayout ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AttachmentDescriptionStencilLayout; - }; - using AttachmentDescriptionStencilLayoutKHR = AttachmentDescriptionStencilLayout; - - struct AttachmentReference - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AttachmentReference( - uint32_t attachment_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout layout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) VULKAN_HPP_NOEXCEPT - : attachment( attachment_ ) - , layout( layout_ ) - {} - - VULKAN_HPP_CONSTEXPR AttachmentReference( AttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReference( VkAttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentReference( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentReference & - operator=( AttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReference & operator=( VkAttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentReference & setAttachment( uint32_t attachment_ ) VULKAN_HPP_NOEXCEPT - { - attachment = attachment_; - return *this; - } - - AttachmentReference & setLayout( VULKAN_HPP_NAMESPACE::ImageLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - operator VkAttachmentReference const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentReference &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentReference const & ) const = default; -#else - bool operator==( AttachmentReference const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( attachment == rhs.attachment ) && ( layout == rhs.layout ); - } - - bool operator!=( AttachmentReference const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t attachment = {}; - VULKAN_HPP_NAMESPACE::ImageLayout layout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( AttachmentReference ) == sizeof( VkAttachmentReference ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct AttachmentReference2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentReference2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - AttachmentReference2( uint32_t attachment_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout layout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {} ) VULKAN_HPP_NOEXCEPT - : attachment( attachment_ ) - , layout( layout_ ) - , aspectMask( aspectMask_ ) - {} - - VULKAN_HPP_CONSTEXPR AttachmentReference2( AttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReference2( VkAttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentReference2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentReference2 & - operator=( AttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReference2 & operator=( VkAttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentReference2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AttachmentReference2 & setAttachment( uint32_t attachment_ ) VULKAN_HPP_NOEXCEPT - { - attachment = attachment_; - return *this; - } - - AttachmentReference2 & setLayout( VULKAN_HPP_NAMESPACE::ImageLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - AttachmentReference2 & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - operator VkAttachmentReference2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentReference2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentReference2 const & ) const = default; -#else - bool operator==( AttachmentReference2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( attachment == rhs.attachment ) && - ( layout == rhs.layout ) && ( aspectMask == rhs.aspectMask ); - } - - bool operator!=( AttachmentReference2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentReference2; - const void * pNext = {}; - uint32_t attachment = {}; - VULKAN_HPP_NAMESPACE::ImageLayout layout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - }; - static_assert( sizeof( AttachmentReference2 ) == sizeof( VkAttachmentReference2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AttachmentReference2; - }; - using AttachmentReference2KHR = AttachmentReference2; - - struct AttachmentReferenceStencilLayout - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentReferenceStencilLayout; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - AttachmentReferenceStencilLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout_ = - VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) VULKAN_HPP_NOEXCEPT - : stencilLayout( stencilLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR - AttachmentReferenceStencilLayout( AttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReferenceStencilLayout( VkAttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentReferenceStencilLayout( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentReferenceStencilLayout & - operator=( AttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentReferenceStencilLayout & operator=( VkAttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentReferenceStencilLayout & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - AttachmentReferenceStencilLayout & - setStencilLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout_ ) VULKAN_HPP_NOEXCEPT - { - stencilLayout = stencilLayout_; - return *this; - } - - operator VkAttachmentReferenceStencilLayout const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentReferenceStencilLayout &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentReferenceStencilLayout const & ) const = default; -#else - bool operator==( AttachmentReferenceStencilLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stencilLayout == rhs.stencilLayout ); - } - - bool operator!=( AttachmentReferenceStencilLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentReferenceStencilLayout; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( AttachmentReferenceStencilLayout ) == sizeof( VkAttachmentReferenceStencilLayout ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = AttachmentReferenceStencilLayout; - }; - using AttachmentReferenceStencilLayoutKHR = AttachmentReferenceStencilLayout; - - struct Extent2D - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Extent2D( uint32_t width_ = {}, uint32_t height_ = {} ) VULKAN_HPP_NOEXCEPT - : width( width_ ) - , height( height_ ) - {} - - VULKAN_HPP_CONSTEXPR Extent2D( Extent2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Extent2D( VkExtent2D const & rhs ) VULKAN_HPP_NOEXCEPT : Extent2D( *reinterpret_cast( &rhs ) ) {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Extent2D & operator=( Extent2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Extent2D & operator=( VkExtent2D const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Extent2D & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - Extent2D & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - operator VkExtent2D const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExtent2D &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Extent2D const & ) const = default; -#else - bool operator==( Extent2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( width == rhs.width ) && ( height == rhs.height ); - } - - bool operator!=( Extent2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t width = {}; - uint32_t height = {}; - }; - static_assert( sizeof( Extent2D ) == sizeof( VkExtent2D ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SampleLocationEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SampleLocationEXT( float x_ = {}, float y_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - {} - - VULKAN_HPP_CONSTEXPR SampleLocationEXT( SampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SampleLocationEXT( VkSampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SampleLocationEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SampleLocationEXT & - operator=( SampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SampleLocationEXT & operator=( VkSampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SampleLocationEXT & setX( float x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - SampleLocationEXT & setY( float y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - operator VkSampleLocationEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSampleLocationEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SampleLocationEXT const & ) const = default; -#else - bool operator==( SampleLocationEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ); - } - - bool operator!=( SampleLocationEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float x = {}; - float y = {}; - }; - static_assert( sizeof( SampleLocationEXT ) == sizeof( VkSampleLocationEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SampleLocationsInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSampleLocationsInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SampleLocationsInfoEXT( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_ = - VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize_ = {}, - uint32_t sampleLocationsCount_ = {}, - const VULKAN_HPP_NAMESPACE::SampleLocationEXT * pSampleLocations_ = {} ) VULKAN_HPP_NOEXCEPT - : sampleLocationsPerPixel( sampleLocationsPerPixel_ ) - , sampleLocationGridSize( sampleLocationGridSize_ ) - , sampleLocationsCount( sampleLocationsCount_ ) - , pSampleLocations( pSampleLocations_ ) - {} - - VULKAN_HPP_CONSTEXPR SampleLocationsInfoEXT( SampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SampleLocationsInfoEXT( VkSampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SampleLocationsInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SampleLocationsInfoEXT( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_, - VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - sampleLocations_ ) - : sampleLocationsPerPixel( sampleLocationsPerPixel_ ) - , sampleLocationGridSize( sampleLocationGridSize_ ) - , sampleLocationsCount( static_cast( sampleLocations_.size() ) ) - , pSampleLocations( sampleLocations_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SampleLocationsInfoEXT & - operator=( SampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SampleLocationsInfoEXT & operator=( VkSampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SampleLocationsInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SampleLocationsInfoEXT & setSampleLocationsPerPixel( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsPerPixel = sampleLocationsPerPixel_; - return *this; - } - - SampleLocationsInfoEXT & - setSampleLocationGridSize( VULKAN_HPP_NAMESPACE::Extent2D const & sampleLocationGridSize_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationGridSize = sampleLocationGridSize_; - return *this; - } - - SampleLocationsInfoEXT & setSampleLocationsCount( uint32_t sampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsCount = sampleLocationsCount_; - return *this; - } - - SampleLocationsInfoEXT & - setPSampleLocations( const VULKAN_HPP_NAMESPACE::SampleLocationEXT * pSampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - pSampleLocations = pSampleLocations_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SampleLocationsInfoEXT & setSampleLocations( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - sampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsCount = static_cast( sampleLocations_.size() ); - pSampleLocations = sampleLocations_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSampleLocationsInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSampleLocationsInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SampleLocationsInfoEXT const & ) const = default; -#else - bool operator==( SampleLocationsInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( sampleLocationsPerPixel == rhs.sampleLocationsPerPixel ) && - ( sampleLocationGridSize == rhs.sampleLocationGridSize ) && - ( sampleLocationsCount == rhs.sampleLocationsCount ) && ( pSampleLocations == rhs.pSampleLocations ); - } - - bool operator!=( SampleLocationsInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSampleLocationsInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize = {}; - uint32_t sampleLocationsCount = {}; - const VULKAN_HPP_NAMESPACE::SampleLocationEXT * pSampleLocations = {}; - }; - static_assert( sizeof( SampleLocationsInfoEXT ) == sizeof( VkSampleLocationsInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SampleLocationsInfoEXT; - }; - - struct AttachmentSampleLocationsEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT( - uint32_t attachmentIndex_ = {}, - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : attachmentIndex( attachmentIndex_ ) - , sampleLocationsInfo( sampleLocationsInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - AttachmentSampleLocationsEXT( AttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentSampleLocationsEXT( VkAttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : AttachmentSampleLocationsEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 AttachmentSampleLocationsEXT & - operator=( AttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - AttachmentSampleLocationsEXT & operator=( VkAttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - AttachmentSampleLocationsEXT & setAttachmentIndex( uint32_t attachmentIndex_ ) VULKAN_HPP_NOEXCEPT - { - attachmentIndex = attachmentIndex_; - return *this; - } - - AttachmentSampleLocationsEXT & setSampleLocationsInfo( - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsInfo = sampleLocationsInfo_; - return *this; - } - - operator VkAttachmentSampleLocationsEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkAttachmentSampleLocationsEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( AttachmentSampleLocationsEXT const & ) const = default; -#else - bool operator==( AttachmentSampleLocationsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( attachmentIndex == rhs.attachmentIndex ) && ( sampleLocationsInfo == rhs.sampleLocationsInfo ); - } - - bool operator!=( AttachmentSampleLocationsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t attachmentIndex = {}; - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; - }; - static_assert( sizeof( AttachmentSampleLocationsEXT ) == sizeof( VkAttachmentSampleLocationsEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct BaseInStructure - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - BaseInStructure( VULKAN_HPP_NAMESPACE::StructureType sType_ = - VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo ) VULKAN_HPP_NOEXCEPT : sType( sType_ ) - {} - - BaseInStructure( BaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BaseInStructure( VkBaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT - : BaseInStructure( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - BaseInStructure & operator=( BaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BaseInStructure & operator=( VkBaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BaseInStructure & setPNext( const struct VULKAN_HPP_NAMESPACE::BaseInStructure * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - operator VkBaseInStructure const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBaseInStructure &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BaseInStructure const & ) const = default; -#else - bool operator==( BaseInStructure const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ); - } - - bool operator!=( BaseInStructure const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo; - const struct VULKAN_HPP_NAMESPACE::BaseInStructure * pNext = {}; - }; - static_assert( sizeof( BaseInStructure ) == sizeof( VkBaseInStructure ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct BaseOutStructure - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - BaseOutStructure( VULKAN_HPP_NAMESPACE::StructureType sType_ = - VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo ) VULKAN_HPP_NOEXCEPT : sType( sType_ ) - {} - - BaseOutStructure( BaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BaseOutStructure( VkBaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT - : BaseOutStructure( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - BaseOutStructure & operator=( BaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BaseOutStructure & operator=( VkBaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BaseOutStructure & setPNext( struct VULKAN_HPP_NAMESPACE::BaseOutStructure * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - operator VkBaseOutStructure const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBaseOutStructure &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BaseOutStructure const & ) const = default; -#else - bool operator==( BaseOutStructure const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ); - } - - bool operator!=( BaseOutStructure const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo; - struct VULKAN_HPP_NAMESPACE::BaseOutStructure * pNext = {}; - }; - static_assert( sizeof( BaseOutStructure ) == sizeof( VkBaseOutStructure ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - class DeviceMemory - { - public: - using CType = VkDeviceMemory; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDeviceMemory; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDeviceMemory; - - public: - VULKAN_HPP_CONSTEXPR DeviceMemory() = default; - VULKAN_HPP_CONSTEXPR DeviceMemory( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT - : m_deviceMemory( deviceMemory ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DeviceMemory & operator=( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT - { - m_deviceMemory = deviceMemory; - return *this; - } -#endif - - DeviceMemory & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_deviceMemory = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceMemory const & ) const = default; -#else - bool operator==( DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory == rhs.m_deviceMemory; - } - - bool operator!=( DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory != rhs.m_deviceMemory; - } - - bool operator<( DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory < rhs.m_deviceMemory; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeviceMemory() const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_deviceMemory == VK_NULL_HANDLE; - } - - private: - VkDeviceMemory m_deviceMemory = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DeviceMemory ) == sizeof( VkDeviceMemory ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DeviceMemory; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DeviceMemory; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DeviceMemory; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct BindAccelerationStructureMemoryInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eBindAccelerationStructureMemoryInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BindAccelerationStructureMemoryInfoNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, - uint32_t deviceIndexCount_ = {}, - const uint32_t * pDeviceIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructure( accelerationStructure_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - , deviceIndexCount( deviceIndexCount_ ) - , pDeviceIndices( pDeviceIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR BindAccelerationStructureMemoryInfoNV( BindAccelerationStructureMemoryInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - BindAccelerationStructureMemoryInfoNV( VkBindAccelerationStructureMemoryInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : BindAccelerationStructureMemoryInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindAccelerationStructureMemoryInfoNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) - : accelerationStructure( accelerationStructure_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - , deviceIndexCount( static_cast( deviceIndices_.size() ) ) - , pDeviceIndices( deviceIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindAccelerationStructureMemoryInfoNV & - operator=( BindAccelerationStructureMemoryInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindAccelerationStructureMemoryInfoNV & - operator=( VkBindAccelerationStructureMemoryInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindAccelerationStructureMemoryInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindAccelerationStructureMemoryInfoNV & setAccelerationStructure( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructure = accelerationStructure_; - return *this; - } - - BindAccelerationStructureMemoryInfoNV & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - BindAccelerationStructureMemoryInfoNV & - setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - BindAccelerationStructureMemoryInfoNV & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = deviceIndexCount_; - return *this; - } - - BindAccelerationStructureMemoryInfoNV & setPDeviceIndices( const uint32_t * pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - pDeviceIndices = pDeviceIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindAccelerationStructureMemoryInfoNV & setDeviceIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = static_cast( deviceIndices_.size() ); - pDeviceIndices = deviceIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkBindAccelerationStructureMemoryInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindAccelerationStructureMemoryInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindAccelerationStructureMemoryInfoNV const & ) const = default; -#else - bool operator==( BindAccelerationStructureMemoryInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( accelerationStructure == rhs.accelerationStructure ) && ( memory == rhs.memory ) && - ( memoryOffset == rhs.memoryOffset ) && ( deviceIndexCount == rhs.deviceIndexCount ) && - ( pDeviceIndices == rhs.pDeviceIndices ); - } - - bool operator!=( BindAccelerationStructureMemoryInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindAccelerationStructureMemoryInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - uint32_t deviceIndexCount = {}; - const uint32_t * pDeviceIndices = {}; - }; - static_assert( sizeof( BindAccelerationStructureMemoryInfoNV ) == sizeof( VkBindAccelerationStructureMemoryInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindAccelerationStructureMemoryInfoNV; - }; - - struct BindBufferMemoryDeviceGroupInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindBufferMemoryDeviceGroupInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindBufferMemoryDeviceGroupInfo( uint32_t deviceIndexCount_ = {}, - const uint32_t * pDeviceIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceIndexCount( deviceIndexCount_ ) - , pDeviceIndices( pDeviceIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindBufferMemoryDeviceGroupInfo( BindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindBufferMemoryDeviceGroupInfo( VkBindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindBufferMemoryDeviceGroupInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindBufferMemoryDeviceGroupInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) - : deviceIndexCount( static_cast( deviceIndices_.size() ) ), pDeviceIndices( deviceIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindBufferMemoryDeviceGroupInfo & - operator=( BindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindBufferMemoryDeviceGroupInfo & operator=( VkBindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindBufferMemoryDeviceGroupInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindBufferMemoryDeviceGroupInfo & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = deviceIndexCount_; - return *this; - } - - BindBufferMemoryDeviceGroupInfo & setPDeviceIndices( const uint32_t * pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - pDeviceIndices = pDeviceIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindBufferMemoryDeviceGroupInfo & setDeviceIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = static_cast( deviceIndices_.size() ); - pDeviceIndices = deviceIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkBindBufferMemoryDeviceGroupInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindBufferMemoryDeviceGroupInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindBufferMemoryDeviceGroupInfo const & ) const = default; -#else - bool operator==( BindBufferMemoryDeviceGroupInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceIndexCount == rhs.deviceIndexCount ) && - ( pDeviceIndices == rhs.pDeviceIndices ); - } - - bool operator!=( BindBufferMemoryDeviceGroupInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindBufferMemoryDeviceGroupInfo; - const void * pNext = {}; - uint32_t deviceIndexCount = {}; - const uint32_t * pDeviceIndices = {}; - }; - static_assert( sizeof( BindBufferMemoryDeviceGroupInfo ) == sizeof( VkBindBufferMemoryDeviceGroupInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindBufferMemoryDeviceGroupInfo; - }; - using BindBufferMemoryDeviceGroupInfoKHR = BindBufferMemoryDeviceGroupInfo; - - struct BindBufferMemoryInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindBufferMemoryInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindBufferMemoryInfo( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR BindBufferMemoryInfo( BindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindBufferMemoryInfo( VkBindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindBufferMemoryInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindBufferMemoryInfo & - operator=( BindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindBufferMemoryInfo & operator=( VkBindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindBufferMemoryInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindBufferMemoryInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - BindBufferMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - BindBufferMemoryInfo & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - operator VkBindBufferMemoryInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindBufferMemoryInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindBufferMemoryInfo const & ) const = default; -#else - bool operator==( BindBufferMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( buffer == rhs.buffer ) && ( memory == rhs.memory ) && - ( memoryOffset == rhs.memoryOffset ); - } - - bool operator!=( BindBufferMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindBufferMemoryInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - }; - static_assert( sizeof( BindBufferMemoryInfo ) == sizeof( VkBindBufferMemoryInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindBufferMemoryInfo; - }; - using BindBufferMemoryInfoKHR = BindBufferMemoryInfo; - - struct Offset2D - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Offset2D( int32_t x_ = {}, int32_t y_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - {} - - VULKAN_HPP_CONSTEXPR Offset2D( Offset2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Offset2D( VkOffset2D const & rhs ) VULKAN_HPP_NOEXCEPT : Offset2D( *reinterpret_cast( &rhs ) ) {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Offset2D & operator=( Offset2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Offset2D & operator=( VkOffset2D const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Offset2D & setX( int32_t x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - Offset2D & setY( int32_t y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - operator VkOffset2D const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkOffset2D &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Offset2D const & ) const = default; -#else - bool operator==( Offset2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ); - } - - bool operator!=( Offset2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - int32_t x = {}; - int32_t y = {}; - }; - static_assert( sizeof( Offset2D ) == sizeof( VkOffset2D ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct Rect2D - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Rect2D( VULKAN_HPP_NAMESPACE::Offset2D offset_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D extent_ = {} ) VULKAN_HPP_NOEXCEPT - : offset( offset_ ) - , extent( extent_ ) - {} - - VULKAN_HPP_CONSTEXPR Rect2D( Rect2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Rect2D( VkRect2D const & rhs ) VULKAN_HPP_NOEXCEPT : Rect2D( *reinterpret_cast( &rhs ) ) {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Rect2D & operator=( Rect2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Rect2D & operator=( VkRect2D const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Rect2D & setOffset( VULKAN_HPP_NAMESPACE::Offset2D const & offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - Rect2D & setExtent( VULKAN_HPP_NAMESPACE::Extent2D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - operator VkRect2D const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRect2D &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Rect2D const & ) const = default; -#else - bool operator==( Rect2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( offset == rhs.offset ) && ( extent == rhs.extent ); - } - - bool operator!=( Rect2D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Offset2D offset = {}; - VULKAN_HPP_NAMESPACE::Extent2D extent = {}; - }; - static_assert( sizeof( Rect2D ) == sizeof( VkRect2D ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct BindImageMemoryDeviceGroupInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemoryDeviceGroupInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindImageMemoryDeviceGroupInfo( - uint32_t deviceIndexCount_ = {}, - const uint32_t * pDeviceIndices_ = {}, - uint32_t splitInstanceBindRegionCount_ = {}, - const VULKAN_HPP_NAMESPACE::Rect2D * pSplitInstanceBindRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceIndexCount( deviceIndexCount_ ) - , pDeviceIndices( pDeviceIndices_ ) - , splitInstanceBindRegionCount( splitInstanceBindRegionCount_ ) - , pSplitInstanceBindRegions( pSplitInstanceBindRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindImageMemoryDeviceGroupInfo( BindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemoryDeviceGroupInfo( VkBindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindImageMemoryDeviceGroupInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindImageMemoryDeviceGroupInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - splitInstanceBindRegions_ = {} ) - : deviceIndexCount( static_cast( deviceIndices_.size() ) ) - , pDeviceIndices( deviceIndices_.data() ) - , splitInstanceBindRegionCount( static_cast( splitInstanceBindRegions_.size() ) ) - , pSplitInstanceBindRegions( splitInstanceBindRegions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindImageMemoryDeviceGroupInfo & - operator=( BindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemoryDeviceGroupInfo & operator=( VkBindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindImageMemoryDeviceGroupInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindImageMemoryDeviceGroupInfo & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = deviceIndexCount_; - return *this; - } - - BindImageMemoryDeviceGroupInfo & setPDeviceIndices( const uint32_t * pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - pDeviceIndices = pDeviceIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindImageMemoryDeviceGroupInfo & setDeviceIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndexCount = static_cast( deviceIndices_.size() ); - pDeviceIndices = deviceIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BindImageMemoryDeviceGroupInfo & - setSplitInstanceBindRegionCount( uint32_t splitInstanceBindRegionCount_ ) VULKAN_HPP_NOEXCEPT - { - splitInstanceBindRegionCount = splitInstanceBindRegionCount_; - return *this; - } - - BindImageMemoryDeviceGroupInfo & setPSplitInstanceBindRegions( - const VULKAN_HPP_NAMESPACE::Rect2D * pSplitInstanceBindRegions_ ) VULKAN_HPP_NOEXCEPT - { - pSplitInstanceBindRegions = pSplitInstanceBindRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindImageMemoryDeviceGroupInfo & setSplitInstanceBindRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - splitInstanceBindRegions_ ) VULKAN_HPP_NOEXCEPT - { - splitInstanceBindRegionCount = static_cast( splitInstanceBindRegions_.size() ); - pSplitInstanceBindRegions = splitInstanceBindRegions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkBindImageMemoryDeviceGroupInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindImageMemoryDeviceGroupInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindImageMemoryDeviceGroupInfo const & ) const = default; -#else - bool operator==( BindImageMemoryDeviceGroupInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceIndexCount == rhs.deviceIndexCount ) && - ( pDeviceIndices == rhs.pDeviceIndices ) && - ( splitInstanceBindRegionCount == rhs.splitInstanceBindRegionCount ) && - ( pSplitInstanceBindRegions == rhs.pSplitInstanceBindRegions ); - } - - bool operator!=( BindImageMemoryDeviceGroupInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemoryDeviceGroupInfo; - const void * pNext = {}; - uint32_t deviceIndexCount = {}; - const uint32_t * pDeviceIndices = {}; - uint32_t splitInstanceBindRegionCount = {}; - const VULKAN_HPP_NAMESPACE::Rect2D * pSplitInstanceBindRegions = {}; - }; - static_assert( sizeof( BindImageMemoryDeviceGroupInfo ) == sizeof( VkBindImageMemoryDeviceGroupInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindImageMemoryDeviceGroupInfo; - }; - using BindImageMemoryDeviceGroupInfoKHR = BindImageMemoryDeviceGroupInfo; - - class Image - { - public: - using CType = VkImage; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eImage; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eImage; - - public: - VULKAN_HPP_CONSTEXPR Image() = default; - VULKAN_HPP_CONSTEXPR Image( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Image( VkImage image ) VULKAN_HPP_NOEXCEPT : m_image( image ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Image & operator=( VkImage image ) VULKAN_HPP_NOEXCEPT - { - m_image = image; - return *this; - } -#endif - - Image & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_image = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Image const & ) const = default; -#else - bool operator==( Image const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_image == rhs.m_image; - } - - bool operator!=( Image const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_image != rhs.m_image; - } - - bool operator<( Image const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_image < rhs.m_image; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImage() const VULKAN_HPP_NOEXCEPT - { - return m_image; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_image != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_image == VK_NULL_HANDLE; - } - - private: - VkImage m_image = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Image ) == sizeof( VkImage ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Image; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Image; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Image; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct BindImageMemoryInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemoryInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindImageMemoryInfo( VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR BindImageMemoryInfo( BindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemoryInfo( VkBindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindImageMemoryInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindImageMemoryInfo & - operator=( BindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemoryInfo & operator=( VkBindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindImageMemoryInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindImageMemoryInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - BindImageMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - BindImageMemoryInfo & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - operator VkBindImageMemoryInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindImageMemoryInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindImageMemoryInfo const & ) const = default; -#else - bool operator==( BindImageMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( image == rhs.image ) && ( memory == rhs.memory ) && - ( memoryOffset == rhs.memoryOffset ); - } - - bool operator!=( BindImageMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemoryInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - }; - static_assert( sizeof( BindImageMemoryInfo ) == sizeof( VkBindImageMemoryInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindImageMemoryInfo; - }; - using BindImageMemoryInfoKHR = BindImageMemoryInfo; - - struct BindImageMemorySwapchainInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemorySwapchainInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindImageMemorySwapchainInfoKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {}, - uint32_t imageIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : swapchain( swapchain_ ) - , imageIndex( imageIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindImageMemorySwapchainInfoKHR( BindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemorySwapchainInfoKHR( VkBindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : BindImageMemorySwapchainInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindImageMemorySwapchainInfoKHR & - operator=( BindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImageMemorySwapchainInfoKHR & operator=( VkBindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindImageMemorySwapchainInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindImageMemorySwapchainInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT - { - swapchain = swapchain_; - return *this; - } - - BindImageMemorySwapchainInfoKHR & setImageIndex( uint32_t imageIndex_ ) VULKAN_HPP_NOEXCEPT - { - imageIndex = imageIndex_; - return *this; - } - - operator VkBindImageMemorySwapchainInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindImageMemorySwapchainInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindImageMemorySwapchainInfoKHR const & ) const = default; -#else - bool operator==( BindImageMemorySwapchainInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchain == rhs.swapchain ) && - ( imageIndex == rhs.imageIndex ); - } - - bool operator!=( BindImageMemorySwapchainInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemorySwapchainInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; - uint32_t imageIndex = {}; - }; - static_assert( sizeof( BindImageMemorySwapchainInfoKHR ) == sizeof( VkBindImageMemorySwapchainInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindImageMemorySwapchainInfoKHR; - }; - - struct BindImagePlaneMemoryInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImagePlaneMemoryInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BindImagePlaneMemoryInfo( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ = - VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor ) VULKAN_HPP_NOEXCEPT - : planeAspect( planeAspect_ ) - {} - - VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo( BindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImagePlaneMemoryInfo( VkBindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindImagePlaneMemoryInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindImagePlaneMemoryInfo & - operator=( BindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindImagePlaneMemoryInfo & operator=( VkBindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindImagePlaneMemoryInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindImagePlaneMemoryInfo & - setPlaneAspect( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ ) VULKAN_HPP_NOEXCEPT - { - planeAspect = planeAspect_; - return *this; - } - - operator VkBindImagePlaneMemoryInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindImagePlaneMemoryInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindImagePlaneMemoryInfo const & ) const = default; -#else - bool operator==( BindImagePlaneMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( planeAspect == rhs.planeAspect ); - } - - bool operator!=( BindImagePlaneMemoryInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImagePlaneMemoryInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor; - }; - static_assert( sizeof( BindImagePlaneMemoryInfo ) == sizeof( VkBindImagePlaneMemoryInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindImagePlaneMemoryInfo; - }; - using BindImagePlaneMemoryInfoKHR = BindImagePlaneMemoryInfo; - - struct BindIndexBufferIndirectCommandNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindIndexBufferIndirectCommandNV( - VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ = {}, - uint32_t size_ = {}, - VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16 ) VULKAN_HPP_NOEXCEPT - : bufferAddress( bufferAddress_ ) - , size( size_ ) - , indexType( indexType_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindIndexBufferIndirectCommandNV( BindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindIndexBufferIndirectCommandNV( VkBindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - : BindIndexBufferIndirectCommandNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindIndexBufferIndirectCommandNV & - operator=( BindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindIndexBufferIndirectCommandNV & operator=( VkBindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindIndexBufferIndirectCommandNV & - setBufferAddress( VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ ) VULKAN_HPP_NOEXCEPT - { - bufferAddress = bufferAddress_; - return *this; - } - - BindIndexBufferIndirectCommandNV & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - BindIndexBufferIndirectCommandNV & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT - { - indexType = indexType_; - return *this; - } - - operator VkBindIndexBufferIndirectCommandNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindIndexBufferIndirectCommandNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindIndexBufferIndirectCommandNV const & ) const = default; -#else - bool operator==( BindIndexBufferIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( bufferAddress == rhs.bufferAddress ) && ( size == rhs.size ) && ( indexType == rhs.indexType ); - } - - bool operator!=( BindIndexBufferIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress = {}; - uint32_t size = {}; - VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; - }; - static_assert( sizeof( BindIndexBufferIndirectCommandNV ) == sizeof( VkBindIndexBufferIndirectCommandNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct BindShaderGroupIndirectCommandNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindShaderGroupIndirectCommandNV( uint32_t groupIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : groupIndex( groupIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindShaderGroupIndirectCommandNV( BindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindShaderGroupIndirectCommandNV( VkBindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - : BindShaderGroupIndirectCommandNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindShaderGroupIndirectCommandNV & - operator=( BindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindShaderGroupIndirectCommandNV & operator=( VkBindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindShaderGroupIndirectCommandNV & setGroupIndex( uint32_t groupIndex_ ) VULKAN_HPP_NOEXCEPT - { - groupIndex = groupIndex_; - return *this; - } - - operator VkBindShaderGroupIndirectCommandNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindShaderGroupIndirectCommandNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindShaderGroupIndirectCommandNV const & ) const = default; -#else - bool operator==( BindShaderGroupIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( groupIndex == rhs.groupIndex ); - } - - bool operator!=( BindShaderGroupIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t groupIndex = {}; - }; - static_assert( sizeof( BindShaderGroupIndirectCommandNV ) == sizeof( VkBindShaderGroupIndirectCommandNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct SparseMemoryBind - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SparseMemoryBind( VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, - VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : resourceOffset( resourceOffset_ ) - , size( size_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR SparseMemoryBind( SparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseMemoryBind( VkSparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseMemoryBind( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseMemoryBind & operator=( SparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseMemoryBind & operator=( VkSparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SparseMemoryBind & setResourceOffset( VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset_ ) VULKAN_HPP_NOEXCEPT - { - resourceOffset = resourceOffset_; - return *this; - } - - SparseMemoryBind & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - SparseMemoryBind & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - SparseMemoryBind & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - SparseMemoryBind & setFlags( VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkSparseMemoryBind const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseMemoryBind &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseMemoryBind const & ) const = default; -#else - bool operator==( SparseMemoryBind const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( resourceOffset == rhs.resourceOffset ) && ( size == rhs.size ) && ( memory == rhs.memory ) && - ( memoryOffset == rhs.memoryOffset ) && ( flags == rhs.flags ); - } - - bool operator!=( SparseMemoryBind const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags = {}; - }; - static_assert( sizeof( SparseMemoryBind ) == sizeof( VkSparseMemoryBind ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SparseBufferMemoryBindInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseBufferMemoryBindInfo( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - uint32_t bindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - , bindCount( bindCount_ ) - , pBinds( pBinds_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseBufferMemoryBindInfo( SparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseBufferMemoryBindInfo( VkSparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseBufferMemoryBindInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseBufferMemoryBindInfo( - VULKAN_HPP_NAMESPACE::Buffer buffer_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - : buffer( buffer_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseBufferMemoryBindInfo & - operator=( SparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseBufferMemoryBindInfo & operator=( VkSparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SparseBufferMemoryBindInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - SparseBufferMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT - { - bindCount = bindCount_; - return *this; - } - - SparseBufferMemoryBindInfo & setPBinds( const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds_ ) VULKAN_HPP_NOEXCEPT - { - pBinds = pBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseBufferMemoryBindInfo & setBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - VULKAN_HPP_NOEXCEPT - { - bindCount = static_cast( binds_.size() ); - pBinds = binds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSparseBufferMemoryBindInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseBufferMemoryBindInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseBufferMemoryBindInfo const & ) const = default; -#else - bool operator==( SparseBufferMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( buffer == rhs.buffer ) && ( bindCount == rhs.bindCount ) && ( pBinds == rhs.pBinds ); - } - - bool operator!=( SparseBufferMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - uint32_t bindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds = {}; - }; - static_assert( sizeof( SparseBufferMemoryBindInfo ) == sizeof( VkSparseBufferMemoryBindInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct SparseImageOpaqueMemoryBindInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseImageOpaqueMemoryBindInfo( VULKAN_HPP_NAMESPACE::Image image_ = {}, - uint32_t bindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - , bindCount( bindCount_ ) - , pBinds( pBinds_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageOpaqueMemoryBindInfo( SparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageOpaqueMemoryBindInfo( VkSparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageOpaqueMemoryBindInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseImageOpaqueMemoryBindInfo( - VULKAN_HPP_NAMESPACE::Image image_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - : image( image_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageOpaqueMemoryBindInfo & - operator=( SparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageOpaqueMemoryBindInfo & operator=( VkSparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SparseImageOpaqueMemoryBindInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - SparseImageOpaqueMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT - { - bindCount = bindCount_; - return *this; - } - - SparseImageOpaqueMemoryBindInfo & - setPBinds( const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds_ ) VULKAN_HPP_NOEXCEPT - { - pBinds = pBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseImageOpaqueMemoryBindInfo & setBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - VULKAN_HPP_NOEXCEPT - { - bindCount = static_cast( binds_.size() ); - pBinds = binds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSparseImageOpaqueMemoryBindInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageOpaqueMemoryBindInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageOpaqueMemoryBindInfo const & ) const = default; -#else - bool operator==( SparseImageOpaqueMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( image == rhs.image ) && ( bindCount == rhs.bindCount ) && ( pBinds == rhs.pBinds ); - } - - bool operator!=( SparseImageOpaqueMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Image image = {}; - uint32_t bindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseMemoryBind * pBinds = {}; - }; - static_assert( sizeof( SparseImageOpaqueMemoryBindInfo ) == sizeof( VkSparseImageOpaqueMemoryBindInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct ImageSubresource - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageSubresource( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, - uint32_t mipLevel_ = {}, - uint32_t arrayLayer_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectMask( aspectMask_ ) - , mipLevel( mipLevel_ ) - , arrayLayer( arrayLayer_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageSubresource( ImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresource( VkImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageSubresource( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageSubresource & operator=( ImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresource & operator=( VkImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageSubresource & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - ImageSubresource & setMipLevel( uint32_t mipLevel_ ) VULKAN_HPP_NOEXCEPT - { - mipLevel = mipLevel_; - return *this; - } - - ImageSubresource & setArrayLayer( uint32_t arrayLayer_ ) VULKAN_HPP_NOEXCEPT - { - arrayLayer = arrayLayer_; - return *this; - } - - operator VkImageSubresource const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageSubresource &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageSubresource const & ) const = default; -#else - bool operator==( ImageSubresource const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( aspectMask == rhs.aspectMask ) && ( mipLevel == rhs.mipLevel ) && ( arrayLayer == rhs.arrayLayer ); - } - - bool operator!=( ImageSubresource const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - uint32_t mipLevel = {}; - uint32_t arrayLayer = {}; - }; - static_assert( sizeof( ImageSubresource ) == sizeof( VkImageSubresource ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct Offset3D - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Offset3D( int32_t x_ = {}, int32_t y_ = {}, int32_t z_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - , z( z_ ) - {} - - VULKAN_HPP_CONSTEXPR Offset3D( Offset3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Offset3D( VkOffset3D const & rhs ) VULKAN_HPP_NOEXCEPT : Offset3D( *reinterpret_cast( &rhs ) ) {} - - explicit Offset3D( Offset2D const & offset2D, int32_t z_ = {} ) : x( offset2D.x ), y( offset2D.y ), z( z_ ) {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Offset3D & operator=( Offset3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Offset3D & operator=( VkOffset3D const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Offset3D & setX( int32_t x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - Offset3D & setY( int32_t y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - Offset3D & setZ( int32_t z_ ) VULKAN_HPP_NOEXCEPT - { - z = z_; - return *this; - } - - operator VkOffset3D const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkOffset3D &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Offset3D const & ) const = default; -#else - bool operator==( Offset3D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ) && ( z == rhs.z ); - } - - bool operator!=( Offset3D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - int32_t x = {}; - int32_t y = {}; - int32_t z = {}; - }; - static_assert( sizeof( Offset3D ) == sizeof( VkOffset3D ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct Extent3D - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - Extent3D( uint32_t width_ = {}, uint32_t height_ = {}, uint32_t depth_ = {} ) VULKAN_HPP_NOEXCEPT - : width( width_ ) - , height( height_ ) - , depth( depth_ ) - {} - - VULKAN_HPP_CONSTEXPR Extent3D( Extent3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Extent3D( VkExtent3D const & rhs ) VULKAN_HPP_NOEXCEPT : Extent3D( *reinterpret_cast( &rhs ) ) {} - - explicit Extent3D( Extent2D const & extent2D, uint32_t depth_ = {} ) - : width( extent2D.width ), height( extent2D.height ), depth( depth_ ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Extent3D & operator=( Extent3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Extent3D & operator=( VkExtent3D const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Extent3D & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - Extent3D & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - Extent3D & setDepth( uint32_t depth_ ) VULKAN_HPP_NOEXCEPT - { - depth = depth_; - return *this; - } - - operator VkExtent3D const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExtent3D &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Extent3D const & ) const = default; -#else - bool operator==( Extent3D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( width == rhs.width ) && ( height == rhs.height ) && ( depth == rhs.depth ); - } - - bool operator!=( Extent3D const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t width = {}; - uint32_t height = {}; - uint32_t depth = {}; - }; - static_assert( sizeof( Extent3D ) == sizeof( VkExtent3D ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SparseImageMemoryBind - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseImageMemoryBind( VULKAN_HPP_NAMESPACE::ImageSubresource subresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D offset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, - VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : subresource( subresource_ ) - , offset( offset_ ) - , extent( extent_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR SparseImageMemoryBind( SparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryBind( VkSparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageMemoryBind( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageMemoryBind & - operator=( SparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryBind & operator=( VkSparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SparseImageMemoryBind & - setSubresource( VULKAN_HPP_NAMESPACE::ImageSubresource const & subresource_ ) VULKAN_HPP_NOEXCEPT - { - subresource = subresource_; - return *this; - } - - SparseImageMemoryBind & setOffset( VULKAN_HPP_NAMESPACE::Offset3D const & offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - SparseImageMemoryBind & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - SparseImageMemoryBind & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - SparseImageMemoryBind & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - SparseImageMemoryBind & setFlags( VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkSparseImageMemoryBind const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageMemoryBind &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageMemoryBind const & ) const = default; -#else - bool operator==( SparseImageMemoryBind const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( subresource == rhs.subresource ) && ( offset == rhs.offset ) && ( extent == rhs.extent ) && - ( memory == rhs.memory ) && ( memoryOffset == rhs.memoryOffset ) && ( flags == rhs.flags ); - } - - bool operator!=( SparseImageMemoryBind const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageSubresource subresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D offset = {}; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags = {}; - }; - static_assert( sizeof( SparseImageMemoryBind ) == sizeof( VkSparseImageMemoryBind ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SparseImageMemoryBindInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseImageMemoryBindInfo( VULKAN_HPP_NAMESPACE::Image image_ = {}, - uint32_t bindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind * pBinds_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - , bindCount( bindCount_ ) - , pBinds( pBinds_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageMemoryBindInfo( SparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryBindInfo( VkSparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageMemoryBindInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseImageMemoryBindInfo( - VULKAN_HPP_NAMESPACE::Image image_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - : image( image_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageMemoryBindInfo & - operator=( SparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryBindInfo & operator=( VkSparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SparseImageMemoryBindInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - SparseImageMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT - { - bindCount = bindCount_; - return *this; - } - - SparseImageMemoryBindInfo & - setPBinds( const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind * pBinds_ ) VULKAN_HPP_NOEXCEPT - { - pBinds = pBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SparseImageMemoryBindInfo & setBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) - VULKAN_HPP_NOEXCEPT - { - bindCount = static_cast( binds_.size() ); - pBinds = binds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSparseImageMemoryBindInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageMemoryBindInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageMemoryBindInfo const & ) const = default; -#else - bool operator==( SparseImageMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( image == rhs.image ) && ( bindCount == rhs.bindCount ) && ( pBinds == rhs.pBinds ); - } - - bool operator!=( SparseImageMemoryBindInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Image image = {}; - uint32_t bindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind * pBinds = {}; - }; - static_assert( sizeof( SparseImageMemoryBindInfo ) == sizeof( VkSparseImageMemoryBindInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct BindSparseInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindSparseInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BindSparseInfo( uint32_t waitSemaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ = {}, - uint32_t bufferBindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo * pBufferBinds_ = {}, - uint32_t imageOpaqueBindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo * pImageOpaqueBinds_ = {}, - uint32_t imageBindCount_ = {}, - const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo * pImageBinds_ = {}, - uint32_t signalSemaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreCount( waitSemaphoreCount_ ) - , pWaitSemaphores( pWaitSemaphores_ ) - , bufferBindCount( bufferBindCount_ ) - , pBufferBinds( pBufferBinds_ ) - , imageOpaqueBindCount( imageOpaqueBindCount_ ) - , pImageOpaqueBinds( pImageOpaqueBinds_ ) - , imageBindCount( imageBindCount_ ) - , pImageBinds( pImageBinds_ ) - , signalSemaphoreCount( signalSemaphoreCount_ ) - , pSignalSemaphores( pSignalSemaphores_ ) - {} - - VULKAN_HPP_CONSTEXPR BindSparseInfo( BindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindSparseInfo( VkBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BindSparseInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferBinds_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageOpaqueBinds_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageBinds_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - signalSemaphores_ = {} ) - : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ) - , pWaitSemaphores( waitSemaphores_.data() ) - , bufferBindCount( static_cast( bufferBinds_.size() ) ) - , pBufferBinds( bufferBinds_.data() ) - , imageOpaqueBindCount( static_cast( imageOpaqueBinds_.size() ) ) - , pImageOpaqueBinds( imageOpaqueBinds_.data() ) - , imageBindCount( static_cast( imageBinds_.size() ) ) - , pImageBinds( imageBinds_.data() ) - , signalSemaphoreCount( static_cast( signalSemaphores_.size() ) ) - , pSignalSemaphores( signalSemaphores_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindSparseInfo & operator=( BindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindSparseInfo & operator=( VkBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindSparseInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BindSparseInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = waitSemaphoreCount_; - return *this; - } - - BindSparseInfo & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphores = pWaitSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo & setWaitSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) - VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = static_cast( waitSemaphores_.size() ); - pWaitSemaphores = waitSemaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BindSparseInfo & setBufferBindCount( uint32_t bufferBindCount_ ) VULKAN_HPP_NOEXCEPT - { - bufferBindCount = bufferBindCount_; - return *this; - } - - BindSparseInfo & - setPBufferBinds( const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo * pBufferBinds_ ) VULKAN_HPP_NOEXCEPT - { - pBufferBinds = pBufferBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo & setBufferBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferBinds_ ) VULKAN_HPP_NOEXCEPT - { - bufferBindCount = static_cast( bufferBinds_.size() ); - pBufferBinds = bufferBinds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BindSparseInfo & setImageOpaqueBindCount( uint32_t imageOpaqueBindCount_ ) VULKAN_HPP_NOEXCEPT - { - imageOpaqueBindCount = imageOpaqueBindCount_; - return *this; - } - - BindSparseInfo & setPImageOpaqueBinds( - const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo * pImageOpaqueBinds_ ) VULKAN_HPP_NOEXCEPT - { - pImageOpaqueBinds = pImageOpaqueBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo & setImageOpaqueBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageOpaqueBinds_ ) VULKAN_HPP_NOEXCEPT - { - imageOpaqueBindCount = static_cast( imageOpaqueBinds_.size() ); - pImageOpaqueBinds = imageOpaqueBinds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BindSparseInfo & setImageBindCount( uint32_t imageBindCount_ ) VULKAN_HPP_NOEXCEPT - { - imageBindCount = imageBindCount_; - return *this; - } - - BindSparseInfo & - setPImageBinds( const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo * pImageBinds_ ) VULKAN_HPP_NOEXCEPT - { - pImageBinds = pImageBinds_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo & setImageBinds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageBinds_ ) VULKAN_HPP_NOEXCEPT - { - imageBindCount = static_cast( imageBinds_.size() ); - pImageBinds = imageBinds_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BindSparseInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = signalSemaphoreCount_; - return *this; - } - - BindSparseInfo & - setPSignalSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphores = pSignalSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BindSparseInfo & setSignalSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ ) - VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = static_cast( signalSemaphores_.size() ); - pSignalSemaphores = signalSemaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkBindSparseInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindSparseInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindSparseInfo const & ) const = default; -#else - bool operator==( BindSparseInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) && - ( pWaitSemaphores == rhs.pWaitSemaphores ) && ( bufferBindCount == rhs.bufferBindCount ) && - ( pBufferBinds == rhs.pBufferBinds ) && ( imageOpaqueBindCount == rhs.imageOpaqueBindCount ) && - ( pImageOpaqueBinds == rhs.pImageOpaqueBinds ) && ( imageBindCount == rhs.imageBindCount ) && - ( pImageBinds == rhs.pImageBinds ) && ( signalSemaphoreCount == rhs.signalSemaphoreCount ) && - ( pSignalSemaphores == rhs.pSignalSemaphores ); - } - - bool operator!=( BindSparseInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindSparseInfo; - const void * pNext = {}; - uint32_t waitSemaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores = {}; - uint32_t bufferBindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo * pBufferBinds = {}; - uint32_t imageOpaqueBindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo * pImageOpaqueBinds = {}; - uint32_t imageBindCount = {}; - const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo * pImageBinds = {}; - uint32_t signalSemaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores = {}; - }; - static_assert( sizeof( BindSparseInfo ) == sizeof( VkBindSparseInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BindSparseInfo; - }; - - struct BindVertexBufferIndirectCommandNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BindVertexBufferIndirectCommandNV( VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ = {}, - uint32_t size_ = {}, - uint32_t stride_ = {} ) VULKAN_HPP_NOEXCEPT - : bufferAddress( bufferAddress_ ) - , size( size_ ) - , stride( stride_ ) - {} - - VULKAN_HPP_CONSTEXPR - BindVertexBufferIndirectCommandNV( BindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindVertexBufferIndirectCommandNV( VkBindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - : BindVertexBufferIndirectCommandNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BindVertexBufferIndirectCommandNV & - operator=( BindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BindVertexBufferIndirectCommandNV & operator=( VkBindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BindVertexBufferIndirectCommandNV & - setBufferAddress( VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ ) VULKAN_HPP_NOEXCEPT - { - bufferAddress = bufferAddress_; - return *this; - } - - BindVertexBufferIndirectCommandNV & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - BindVertexBufferIndirectCommandNV & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - operator VkBindVertexBufferIndirectCommandNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBindVertexBufferIndirectCommandNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BindVertexBufferIndirectCommandNV const & ) const = default; -#else - bool operator==( BindVertexBufferIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( bufferAddress == rhs.bufferAddress ) && ( size == rhs.size ) && ( stride == rhs.stride ); - } - - bool operator!=( BindVertexBufferIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress = {}; - uint32_t size = {}; - uint32_t stride = {}; - }; - static_assert( sizeof( BindVertexBufferIndirectCommandNV ) == sizeof( VkBindVertexBufferIndirectCommandNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct ImageSubresourceLayers - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageSubresourceLayers( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, - uint32_t mipLevel_ = {}, - uint32_t baseArrayLayer_ = {}, - uint32_t layerCount_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectMask( aspectMask_ ) - , mipLevel( mipLevel_ ) - , baseArrayLayer( baseArrayLayer_ ) - , layerCount( layerCount_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageSubresourceLayers( ImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresourceLayers( VkImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageSubresourceLayers( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageSubresourceLayers & - operator=( ImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresourceLayers & operator=( VkImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageSubresourceLayers & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - ImageSubresourceLayers & setMipLevel( uint32_t mipLevel_ ) VULKAN_HPP_NOEXCEPT - { - mipLevel = mipLevel_; - return *this; - } - - ImageSubresourceLayers & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT - { - baseArrayLayer = baseArrayLayer_; - return *this; - } - - ImageSubresourceLayers & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT - { - layerCount = layerCount_; - return *this; - } - - operator VkImageSubresourceLayers const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageSubresourceLayers &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageSubresourceLayers const & ) const = default; -#else - bool operator==( ImageSubresourceLayers const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( aspectMask == rhs.aspectMask ) && ( mipLevel == rhs.mipLevel ) && - ( baseArrayLayer == rhs.baseArrayLayer ) && ( layerCount == rhs.layerCount ); - } - - bool operator!=( ImageSubresourceLayers const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - uint32_t mipLevel = {}; - uint32_t baseArrayLayer = {}; - uint32_t layerCount = {}; - }; - static_assert( sizeof( ImageSubresourceLayers ) == sizeof( VkImageSubresourceLayers ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ImageBlit2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageBlit2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - ImageBlit2KHR( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - std::array const & srcOffsets_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - std::array const & dstOffsets_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffsets( srcOffsets_ ) - , dstSubresource( dstSubresource_ ) - , dstOffsets( dstOffsets_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 ImageBlit2KHR( ImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageBlit2KHR( VkImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageBlit2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageBlit2KHR & operator=( ImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageBlit2KHR & operator=( VkImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageBlit2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageBlit2KHR & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageBlit2KHR & - setSrcOffsets( std::array const & srcOffsets_ ) VULKAN_HPP_NOEXCEPT - { - srcOffsets = srcOffsets_; - return *this; - } - - ImageBlit2KHR & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageBlit2KHR & - setDstOffsets( std::array const & dstOffsets_ ) VULKAN_HPP_NOEXCEPT - { - dstOffsets = dstOffsets_; - return *this; - } - - operator VkImageBlit2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageBlit2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageBlit2KHR const & ) const = default; -#else - bool operator==( ImageBlit2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcSubresource == rhs.srcSubresource ) && - ( srcOffsets == rhs.srcOffsets ) && ( dstSubresource == rhs.dstSubresource ) && - ( dstOffsets == rhs.dstOffsets ); - } - - bool operator!=( ImageBlit2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageBlit2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D srcOffsets = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D dstOffsets = {}; - }; - static_assert( sizeof( ImageBlit2KHR ) == sizeof( VkImageBlit2KHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageBlit2KHR; - }; - - struct BlitImageInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBlitImageInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 BlitImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageBlit2KHR * pRegions_ = {}, - VULKAN_HPP_NAMESPACE::Filter filter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest ) VULKAN_HPP_NOEXCEPT - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - , filter( filter_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 BlitImageInfo2KHR( BlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BlitImageInfo2KHR( VkBlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : BlitImageInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BlitImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, - VULKAN_HPP_NAMESPACE::Image dstImage_, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_, - VULKAN_HPP_NAMESPACE::Filter filter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest ) - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - , filter( filter_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BlitImageInfo2KHR & - operator=( BlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BlitImageInfo2KHR & operator=( VkBlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BlitImageInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BlitImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT - { - srcImage = srcImage_; - return *this; - } - - BlitImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - srcImageLayout = srcImageLayout_; - return *this; - } - - BlitImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT - { - dstImage = dstImage_; - return *this; - } - - BlitImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - dstImageLayout = dstImageLayout_; - return *this; - } - - BlitImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - BlitImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageBlit2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BlitImageInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - BlitImageInfo2KHR & setFilter( VULKAN_HPP_NAMESPACE::Filter filter_ ) VULKAN_HPP_NOEXCEPT - { - filter = filter_; - return *this; - } - - operator VkBlitImageInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBlitImageInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BlitImageInfo2KHR const & ) const = default; -#else - bool operator==( BlitImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcImage == rhs.srcImage ) && - ( srcImageLayout == rhs.srcImageLayout ) && ( dstImage == rhs.dstImage ) && - ( dstImageLayout == rhs.dstImageLayout ) && ( regionCount == rhs.regionCount ) && - ( pRegions == rhs.pRegions ) && ( filter == rhs.filter ); - } - - bool operator!=( BlitImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBlitImageInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image srcImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::Image dstImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::ImageBlit2KHR * pRegions = {}; - VULKAN_HPP_NAMESPACE::Filter filter = VULKAN_HPP_NAMESPACE::Filter::eNearest; - }; - static_assert( sizeof( BlitImageInfo2KHR ) == sizeof( VkBlitImageInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BlitImageInfo2KHR; - }; - - struct BufferCopy - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferCopy( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : srcOffset( srcOffset_ ) - , dstOffset( dstOffset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferCopy( BufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCopy( VkBufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferCopy( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferCopy & operator=( BufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCopy & operator=( VkBufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferCopy & setSrcOffset( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - BufferCopy & setDstOffset( VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - BufferCopy & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkBufferCopy const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferCopy &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferCopy const & ) const = default; -#else - bool operator==( BufferCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( srcOffset == rhs.srcOffset ) && ( dstOffset == rhs.dstOffset ) && ( size == rhs.size ); - } - - bool operator!=( BufferCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize srcOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( BufferCopy ) == sizeof( VkBufferCopy ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct BufferCopy2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferCopy2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferCopy2KHR( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : srcOffset( srcOffset_ ) - , dstOffset( dstOffset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferCopy2KHR( BufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCopy2KHR( VkBufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferCopy2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferCopy2KHR & operator=( BufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCopy2KHR & operator=( VkBufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferCopy2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferCopy2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - BufferCopy2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - BufferCopy2KHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkBufferCopy2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferCopy2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferCopy2KHR const & ) const = default; -#else - bool operator==( BufferCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcOffset == rhs.srcOffset ) && - ( dstOffset == rhs.dstOffset ) && ( size == rhs.size ); - } - - bool operator!=( BufferCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferCopy2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize srcOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( BufferCopy2KHR ) == sizeof( VkBufferCopy2KHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferCopy2KHR; - }; - - struct BufferCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BufferCreateInfo( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ = {}, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, - uint32_t queueFamilyIndexCount_ = {}, - const uint32_t * pQueueFamilyIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , size( size_ ) - , usage( usage_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( queueFamilyIndexCount_ ) - , pQueueFamilyIndices( pQueueFamilyIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferCreateInfo( BufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCreateInfo( VkBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BufferCreateInfo( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_, - VULKAN_HPP_NAMESPACE::DeviceSize size_, - VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) - : flags( flags_ ) - , size( size_ ) - , usage( usage_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ) - , pQueueFamilyIndices( queueFamilyIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferCreateInfo & operator=( BufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferCreateInfo & operator=( VkBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - BufferCreateInfo & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - BufferCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - BufferCreateInfo & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT - { - sharingMode = sharingMode_; - return *this; - } - - BufferCreateInfo & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = queueFamilyIndexCount_; - return *this; - } - - BufferCreateInfo & setPQueueFamilyIndices( const uint32_t * pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - pQueueFamilyIndices = pQueueFamilyIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - BufferCreateInfo & setQueueFamilyIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); - pQueueFamilyIndices = queueFamilyIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkBufferCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferCreateInfo const & ) const = default; -#else - bool operator==( BufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( size == rhs.size ) && - ( usage == rhs.usage ) && ( sharingMode == rhs.sharingMode ) && - ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) && - ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ); - } - - bool operator!=( BufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::BufferCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::BufferUsageFlags usage = {}; - VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; - uint32_t queueFamilyIndexCount = {}; - const uint32_t * pQueueFamilyIndices = {}; - }; - static_assert( sizeof( BufferCreateInfo ) == sizeof( VkBufferCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferCreateInfo; - }; - - struct BufferDeviceAddressCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferDeviceAddressCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BufferDeviceAddressCreateInfoEXT( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceAddress( deviceAddress_ ) - {} - - VULKAN_HPP_CONSTEXPR - BufferDeviceAddressCreateInfoEXT( BufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferDeviceAddressCreateInfoEXT( VkBufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferDeviceAddressCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressCreateInfoEXT & - operator=( BufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferDeviceAddressCreateInfoEXT & operator=( VkBufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferDeviceAddressCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferDeviceAddressCreateInfoEXT & - setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - deviceAddress = deviceAddress_; - return *this; - } - - operator VkBufferDeviceAddressCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferDeviceAddressCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferDeviceAddressCreateInfoEXT const & ) const = default; -#else - bool operator==( BufferDeviceAddressCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceAddress == rhs.deviceAddress ); - } - - bool operator!=( BufferDeviceAddressCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferDeviceAddressCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; - }; - static_assert( sizeof( BufferDeviceAddressCreateInfoEXT ) == sizeof( VkBufferDeviceAddressCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferDeviceAddressCreateInfoEXT; - }; - - struct BufferDeviceAddressInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferDeviceAddressInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferDeviceAddressInfo( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferDeviceAddressInfo( BufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferDeviceAddressInfo( VkBufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferDeviceAddressInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressInfo & - operator=( BufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferDeviceAddressInfo & operator=( VkBufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferDeviceAddressInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferDeviceAddressInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - operator VkBufferDeviceAddressInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferDeviceAddressInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferDeviceAddressInfo const & ) const = default; -#else - bool operator==( BufferDeviceAddressInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( buffer == rhs.buffer ); - } - - bool operator!=( BufferDeviceAddressInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferDeviceAddressInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - }; - static_assert( sizeof( BufferDeviceAddressInfo ) == sizeof( VkBufferDeviceAddressInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferDeviceAddressInfo; - }; - using BufferDeviceAddressInfoEXT = BufferDeviceAddressInfo; - using BufferDeviceAddressInfoKHR = BufferDeviceAddressInfo; - - struct BufferImageCopy - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferImageCopy( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ = {}, - uint32_t bufferRowLength_ = {}, - uint32_t bufferImageHeight_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D imageOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D imageExtent_ = {} ) VULKAN_HPP_NOEXCEPT - : bufferOffset( bufferOffset_ ) - , bufferRowLength( bufferRowLength_ ) - , bufferImageHeight( bufferImageHeight_ ) - , imageSubresource( imageSubresource_ ) - , imageOffset( imageOffset_ ) - , imageExtent( imageExtent_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferImageCopy( BufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferImageCopy( VkBufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferImageCopy( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferImageCopy & operator=( BufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferImageCopy & operator=( VkBufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferImageCopy & setBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ ) VULKAN_HPP_NOEXCEPT - { - bufferOffset = bufferOffset_; - return *this; - } - - BufferImageCopy & setBufferRowLength( uint32_t bufferRowLength_ ) VULKAN_HPP_NOEXCEPT - { - bufferRowLength = bufferRowLength_; - return *this; - } - - BufferImageCopy & setBufferImageHeight( uint32_t bufferImageHeight_ ) VULKAN_HPP_NOEXCEPT - { - bufferImageHeight = bufferImageHeight_; - return *this; - } - - BufferImageCopy & - setImageSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & imageSubresource_ ) VULKAN_HPP_NOEXCEPT - { - imageSubresource = imageSubresource_; - return *this; - } - - BufferImageCopy & setImageOffset( VULKAN_HPP_NAMESPACE::Offset3D const & imageOffset_ ) VULKAN_HPP_NOEXCEPT - { - imageOffset = imageOffset_; - return *this; - } - - BufferImageCopy & setImageExtent( VULKAN_HPP_NAMESPACE::Extent3D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT - { - imageExtent = imageExtent_; - return *this; - } - - operator VkBufferImageCopy const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferImageCopy &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferImageCopy const & ) const = default; -#else - bool operator==( BufferImageCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( bufferOffset == rhs.bufferOffset ) && ( bufferRowLength == rhs.bufferRowLength ) && - ( bufferImageHeight == rhs.bufferImageHeight ) && ( imageSubresource == rhs.imageSubresource ) && - ( imageOffset == rhs.imageOffset ) && ( imageExtent == rhs.imageExtent ); - } - - bool operator!=( BufferImageCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset = {}; - uint32_t bufferRowLength = {}; - uint32_t bufferImageHeight = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D imageOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D imageExtent = {}; - }; - static_assert( sizeof( BufferImageCopy ) == sizeof( VkBufferImageCopy ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct BufferImageCopy2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferImageCopy2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferImageCopy2KHR( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ = {}, - uint32_t bufferRowLength_ = {}, - uint32_t bufferImageHeight_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D imageOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D imageExtent_ = {} ) VULKAN_HPP_NOEXCEPT - : bufferOffset( bufferOffset_ ) - , bufferRowLength( bufferRowLength_ ) - , bufferImageHeight( bufferImageHeight_ ) - , imageSubresource( imageSubresource_ ) - , imageOffset( imageOffset_ ) - , imageExtent( imageExtent_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferImageCopy2KHR( BufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferImageCopy2KHR( VkBufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferImageCopy2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferImageCopy2KHR & - operator=( BufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferImageCopy2KHR & operator=( VkBufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferImageCopy2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferImageCopy2KHR & setBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ ) VULKAN_HPP_NOEXCEPT - { - bufferOffset = bufferOffset_; - return *this; - } - - BufferImageCopy2KHR & setBufferRowLength( uint32_t bufferRowLength_ ) VULKAN_HPP_NOEXCEPT - { - bufferRowLength = bufferRowLength_; - return *this; - } - - BufferImageCopy2KHR & setBufferImageHeight( uint32_t bufferImageHeight_ ) VULKAN_HPP_NOEXCEPT - { - bufferImageHeight = bufferImageHeight_; - return *this; - } - - BufferImageCopy2KHR & - setImageSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & imageSubresource_ ) VULKAN_HPP_NOEXCEPT - { - imageSubresource = imageSubresource_; - return *this; - } - - BufferImageCopy2KHR & setImageOffset( VULKAN_HPP_NAMESPACE::Offset3D const & imageOffset_ ) VULKAN_HPP_NOEXCEPT - { - imageOffset = imageOffset_; - return *this; - } - - BufferImageCopy2KHR & setImageExtent( VULKAN_HPP_NAMESPACE::Extent3D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT - { - imageExtent = imageExtent_; - return *this; - } - - operator VkBufferImageCopy2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferImageCopy2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferImageCopy2KHR const & ) const = default; -#else - bool operator==( BufferImageCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( bufferOffset == rhs.bufferOffset ) && - ( bufferRowLength == rhs.bufferRowLength ) && ( bufferImageHeight == rhs.bufferImageHeight ) && - ( imageSubresource == rhs.imageSubresource ) && ( imageOffset == rhs.imageOffset ) && - ( imageExtent == rhs.imageExtent ); - } - - bool operator!=( BufferImageCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferImageCopy2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset = {}; - uint32_t bufferRowLength = {}; - uint32_t bufferImageHeight = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D imageOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D imageExtent = {}; - }; - static_assert( sizeof( BufferImageCopy2KHR ) == sizeof( VkBufferImageCopy2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferImageCopy2KHR; - }; - - struct BufferMemoryBarrier - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferMemoryBarrier; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferMemoryBarrier( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, - uint32_t srcQueueFamilyIndex_ = {}, - uint32_t dstQueueFamilyIndex_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : srcAccessMask( srcAccessMask_ ) - , dstAccessMask( dstAccessMask_ ) - , srcQueueFamilyIndex( srcQueueFamilyIndex_ ) - , dstQueueFamilyIndex( dstQueueFamilyIndex_ ) - , buffer( buffer_ ) - , offset( offset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferMemoryBarrier( BufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryBarrier( VkBufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferMemoryBarrier( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferMemoryBarrier & - operator=( BufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryBarrier & operator=( VkBufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferMemoryBarrier & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferMemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - BufferMemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - BufferMemoryBarrier & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - srcQueueFamilyIndex = srcQueueFamilyIndex_; - return *this; - } - - BufferMemoryBarrier & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - dstQueueFamilyIndex = dstQueueFamilyIndex_; - return *this; - } - - BufferMemoryBarrier & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - BufferMemoryBarrier & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - BufferMemoryBarrier & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkBufferMemoryBarrier const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferMemoryBarrier &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferMemoryBarrier const & ) const = default; -#else - bool operator==( BufferMemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcAccessMask == rhs.srcAccessMask ) && - ( dstAccessMask == rhs.dstAccessMask ) && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) && - ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) && ( buffer == rhs.buffer ) && - ( offset == rhs.offset ) && ( size == rhs.size ); - } - - bool operator!=( BufferMemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferMemoryBarrier; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; - uint32_t srcQueueFamilyIndex = {}; - uint32_t dstQueueFamilyIndex = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( BufferMemoryBarrier ) == sizeof( VkBufferMemoryBarrier ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferMemoryBarrier; - }; - - struct BufferMemoryBarrier2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferMemoryBarrier2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferMemoryBarrier2KHR( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ = {}, - uint32_t srcQueueFamilyIndex_ = {}, - uint32_t dstQueueFamilyIndex_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : srcStageMask( srcStageMask_ ) - , srcAccessMask( srcAccessMask_ ) - , dstStageMask( dstStageMask_ ) - , dstAccessMask( dstAccessMask_ ) - , srcQueueFamilyIndex( srcQueueFamilyIndex_ ) - , dstQueueFamilyIndex( dstQueueFamilyIndex_ ) - , buffer( buffer_ ) - , offset( offset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferMemoryBarrier2KHR( BufferMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryBarrier2KHR( VkBufferMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferMemoryBarrier2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferMemoryBarrier2KHR & - operator=( BufferMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryBarrier2KHR & operator=( VkBufferMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferMemoryBarrier2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferMemoryBarrier2KHR & - setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ ) VULKAN_HPP_NOEXCEPT - { - srcStageMask = srcStageMask_; - return *this; - } - - BufferMemoryBarrier2KHR & - setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - BufferMemoryBarrier2KHR & - setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - dstStageMask = dstStageMask_; - return *this; - } - - BufferMemoryBarrier2KHR & - setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - BufferMemoryBarrier2KHR & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - srcQueueFamilyIndex = srcQueueFamilyIndex_; - return *this; - } - - BufferMemoryBarrier2KHR & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - dstQueueFamilyIndex = dstQueueFamilyIndex_; - return *this; - } - - BufferMemoryBarrier2KHR & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - BufferMemoryBarrier2KHR & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - BufferMemoryBarrier2KHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkBufferMemoryBarrier2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferMemoryBarrier2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferMemoryBarrier2KHR const & ) const = default; -#else - bool operator==( BufferMemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcStageMask == rhs.srcStageMask ) && - ( srcAccessMask == rhs.srcAccessMask ) && ( dstStageMask == rhs.dstStageMask ) && - ( dstAccessMask == rhs.dstAccessMask ) && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) && - ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) && ( buffer == rhs.buffer ) && - ( offset == rhs.offset ) && ( size == rhs.size ); - } - - bool operator!=( BufferMemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferMemoryBarrier2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask = {}; - uint32_t srcQueueFamilyIndex = {}; - uint32_t dstQueueFamilyIndex = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( BufferMemoryBarrier2KHR ) == sizeof( VkBufferMemoryBarrier2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferMemoryBarrier2KHR; - }; - - struct BufferMemoryRequirementsInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferMemoryRequirementsInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferMemoryRequirementsInfo2( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - {} - - VULKAN_HPP_CONSTEXPR - BufferMemoryRequirementsInfo2( BufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryRequirementsInfo2( VkBufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferMemoryRequirementsInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferMemoryRequirementsInfo2 & - operator=( BufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferMemoryRequirementsInfo2 & operator=( VkBufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferMemoryRequirementsInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferMemoryRequirementsInfo2 & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - operator VkBufferMemoryRequirementsInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferMemoryRequirementsInfo2 const & ) const = default; -#else - bool operator==( BufferMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( buffer == rhs.buffer ); - } - - bool operator!=( BufferMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferMemoryRequirementsInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - }; - static_assert( sizeof( BufferMemoryRequirementsInfo2 ) == sizeof( VkBufferMemoryRequirementsInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferMemoryRequirementsInfo2; - }; - using BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2; - - struct BufferOpaqueCaptureAddressCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eBufferOpaqueCaptureAddressCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR BufferOpaqueCaptureAddressCreateInfo( uint64_t opaqueCaptureAddress_ = {} ) VULKAN_HPP_NOEXCEPT - : opaqueCaptureAddress( opaqueCaptureAddress_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferOpaqueCaptureAddressCreateInfo( BufferOpaqueCaptureAddressCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - BufferOpaqueCaptureAddressCreateInfo( VkBufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferOpaqueCaptureAddressCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferOpaqueCaptureAddressCreateInfo & - operator=( BufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferOpaqueCaptureAddressCreateInfo & - operator=( VkBufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferOpaqueCaptureAddressCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferOpaqueCaptureAddressCreateInfo & setOpaqueCaptureAddress( uint64_t opaqueCaptureAddress_ ) VULKAN_HPP_NOEXCEPT - { - opaqueCaptureAddress = opaqueCaptureAddress_; - return *this; - } - - operator VkBufferOpaqueCaptureAddressCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferOpaqueCaptureAddressCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferOpaqueCaptureAddressCreateInfo const & ) const = default; -#else - bool operator==( BufferOpaqueCaptureAddressCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( opaqueCaptureAddress == rhs.opaqueCaptureAddress ); - } - - bool operator!=( BufferOpaqueCaptureAddressCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferOpaqueCaptureAddressCreateInfo; - const void * pNext = {}; - uint64_t opaqueCaptureAddress = {}; - }; - static_assert( sizeof( BufferOpaqueCaptureAddressCreateInfo ) == sizeof( VkBufferOpaqueCaptureAddressCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferOpaqueCaptureAddressCreateInfo; - }; - using BufferOpaqueCaptureAddressCreateInfoKHR = BufferOpaqueCaptureAddressCreateInfo; - - struct BufferViewCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferViewCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - BufferViewCreateInfo( VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize range_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , buffer( buffer_ ) - , format( format_ ) - , offset( offset_ ) - , range( range_ ) - {} - - VULKAN_HPP_CONSTEXPR BufferViewCreateInfo( BufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferViewCreateInfo( VkBufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : BufferViewCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 BufferViewCreateInfo & - operator=( BufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - BufferViewCreateInfo & operator=( VkBufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - BufferViewCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - BufferViewCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - BufferViewCreateInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - BufferViewCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - BufferViewCreateInfo & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - BufferViewCreateInfo & setRange( VULKAN_HPP_NAMESPACE::DeviceSize range_ ) VULKAN_HPP_NOEXCEPT - { - range = range_; - return *this; - } - - operator VkBufferViewCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkBufferViewCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferViewCreateInfo const & ) const = default; -#else - bool operator==( BufferViewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( buffer == rhs.buffer ) && - ( format == rhs.format ) && ( offset == rhs.offset ) && ( range == rhs.range ); - } - - bool operator!=( BufferViewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferViewCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize range = {}; - }; - static_assert( sizeof( BufferViewCreateInfo ) == sizeof( VkBufferViewCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = BufferViewCreateInfo; - }; - - struct CalibratedTimestampInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCalibratedTimestampInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - CalibratedTimestampInfoEXT( VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain_ = - VULKAN_HPP_NAMESPACE::TimeDomainEXT::eDevice ) VULKAN_HPP_NOEXCEPT - : timeDomain( timeDomain_ ) - {} - - VULKAN_HPP_CONSTEXPR - CalibratedTimestampInfoEXT( CalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CalibratedTimestampInfoEXT( VkCalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : CalibratedTimestampInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CalibratedTimestampInfoEXT & - operator=( CalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CalibratedTimestampInfoEXT & operator=( VkCalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CalibratedTimestampInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CalibratedTimestampInfoEXT & setTimeDomain( VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain_ ) VULKAN_HPP_NOEXCEPT - { - timeDomain = timeDomain_; - return *this; - } - - operator VkCalibratedTimestampInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCalibratedTimestampInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CalibratedTimestampInfoEXT const & ) const = default; -#else - bool operator==( CalibratedTimestampInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( timeDomain == rhs.timeDomain ); - } - - bool operator!=( CalibratedTimestampInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCalibratedTimestampInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain = VULKAN_HPP_NAMESPACE::TimeDomainEXT::eDevice; - }; - static_assert( sizeof( CalibratedTimestampInfoEXT ) == sizeof( VkCalibratedTimestampInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CalibratedTimestampInfoEXT; - }; - - struct CheckpointData2NV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCheckpointData2Nv; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CheckpointData2NV( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage_ = {}, - void * pCheckpointMarker_ = {} ) VULKAN_HPP_NOEXCEPT - : stage( stage_ ) - , pCheckpointMarker( pCheckpointMarker_ ) - {} - - VULKAN_HPP_CONSTEXPR CheckpointData2NV( CheckpointData2NV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CheckpointData2NV( VkCheckpointData2NV const & rhs ) VULKAN_HPP_NOEXCEPT - : CheckpointData2NV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CheckpointData2NV & - operator=( CheckpointData2NV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CheckpointData2NV & operator=( VkCheckpointData2NV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkCheckpointData2NV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCheckpointData2NV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CheckpointData2NV const & ) const = default; -#else - bool operator==( CheckpointData2NV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stage == rhs.stage ) && - ( pCheckpointMarker == rhs.pCheckpointMarker ); - } - - bool operator!=( CheckpointData2NV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCheckpointData2Nv; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage = {}; - void * pCheckpointMarker = {}; - }; - static_assert( sizeof( CheckpointData2NV ) == sizeof( VkCheckpointData2NV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CheckpointData2NV; - }; - - struct CheckpointDataNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCheckpointDataNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CheckpointDataNV( - VULKAN_HPP_NAMESPACE::PipelineStageFlagBits stage_ = VULKAN_HPP_NAMESPACE::PipelineStageFlagBits::eTopOfPipe, - void * pCheckpointMarker_ = {} ) VULKAN_HPP_NOEXCEPT - : stage( stage_ ) - , pCheckpointMarker( pCheckpointMarker_ ) - {} - - VULKAN_HPP_CONSTEXPR CheckpointDataNV( CheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CheckpointDataNV( VkCheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT - : CheckpointDataNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CheckpointDataNV & operator=( CheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CheckpointDataNV & operator=( VkCheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkCheckpointDataNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCheckpointDataNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CheckpointDataNV const & ) const = default; -#else - bool operator==( CheckpointDataNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stage == rhs.stage ) && - ( pCheckpointMarker == rhs.pCheckpointMarker ); - } - - bool operator!=( CheckpointDataNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCheckpointDataNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlagBits stage = VULKAN_HPP_NAMESPACE::PipelineStageFlagBits::eTopOfPipe; - void * pCheckpointMarker = {}; - }; - static_assert( sizeof( CheckpointDataNV ) == sizeof( VkCheckpointDataNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CheckpointDataNV; - }; - - union ClearColorValue - { - ClearColorValue( VULKAN_HPP_NAMESPACE::ClearColorValue const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearColorValue ) ); - } - - ClearColorValue( const std::array & float32_ = {} ) : float32( float32_ ) {} - - ClearColorValue( const std::array & int32_ ) : int32( int32_ ) {} - - ClearColorValue( const std::array & uint32_ ) : uint32( uint32_ ) {} - - ClearColorValue & setFloat32( std::array float32_ ) VULKAN_HPP_NOEXCEPT - { - float32 = float32_; - return *this; - } - - ClearColorValue & setInt32( std::array int32_ ) VULKAN_HPP_NOEXCEPT - { - int32 = int32_; - return *this; - } - - ClearColorValue & setUint32( std::array uint32_ ) VULKAN_HPP_NOEXCEPT - { - uint32 = uint32_; - return *this; - } - - VULKAN_HPP_NAMESPACE::ClearColorValue & - operator=( VULKAN_HPP_NAMESPACE::ClearColorValue const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearColorValue ) ); - return *this; - } - - operator VkClearColorValue const &() const - { - return *reinterpret_cast( this ); - } - - operator VkClearColorValue &() - { - return *reinterpret_cast( this ); - } - - VULKAN_HPP_NAMESPACE::ArrayWrapper1D float32; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D int32; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D uint32; - }; - - struct ClearDepthStencilValue - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ClearDepthStencilValue( float depth_ = {}, uint32_t stencil_ = {} ) VULKAN_HPP_NOEXCEPT - : depth( depth_ ) - , stencil( stencil_ ) - {} - - VULKAN_HPP_CONSTEXPR ClearDepthStencilValue( ClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearDepthStencilValue( VkClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT - : ClearDepthStencilValue( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ClearDepthStencilValue & - operator=( ClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearDepthStencilValue & operator=( VkClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ClearDepthStencilValue & setDepth( float depth_ ) VULKAN_HPP_NOEXCEPT - { - depth = depth_; - return *this; - } - - ClearDepthStencilValue & setStencil( uint32_t stencil_ ) VULKAN_HPP_NOEXCEPT - { - stencil = stencil_; - return *this; - } - - operator VkClearDepthStencilValue const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkClearDepthStencilValue &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ClearDepthStencilValue const & ) const = default; -#else - bool operator==( ClearDepthStencilValue const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( depth == rhs.depth ) && ( stencil == rhs.stencil ); - } - - bool operator!=( ClearDepthStencilValue const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float depth = {}; - uint32_t stencil = {}; - }; - static_assert( sizeof( ClearDepthStencilValue ) == sizeof( VkClearDepthStencilValue ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - union ClearValue - { - ClearValue( VULKAN_HPP_NAMESPACE::ClearValue const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearValue ) ); - } - - ClearValue( VULKAN_HPP_NAMESPACE::ClearColorValue color_ = {} ) : color( color_ ) {} - - ClearValue( VULKAN_HPP_NAMESPACE::ClearDepthStencilValue depthStencil_ ) : depthStencil( depthStencil_ ) {} - - ClearValue & setColor( VULKAN_HPP_NAMESPACE::ClearColorValue const & color_ ) VULKAN_HPP_NOEXCEPT - { - color = color_; - return *this; - } - - ClearValue & - setDepthStencil( VULKAN_HPP_NAMESPACE::ClearDepthStencilValue const & depthStencil_ ) VULKAN_HPP_NOEXCEPT - { - depthStencil = depthStencil_; - return *this; - } - - VULKAN_HPP_NAMESPACE::ClearValue & operator=( VULKAN_HPP_NAMESPACE::ClearValue const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearValue ) ); - return *this; - } - - operator VkClearValue const &() const - { - return *reinterpret_cast( this ); - } - - operator VkClearValue &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - VULKAN_HPP_NAMESPACE::ClearColorValue color; - VULKAN_HPP_NAMESPACE::ClearDepthStencilValue depthStencil; -#else - VkClearColorValue color; - VkClearDepthStencilValue depthStencil; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct ClearAttachment - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - ClearAttachment( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, - uint32_t colorAttachment_ = {}, - VULKAN_HPP_NAMESPACE::ClearValue clearValue_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectMask( aspectMask_ ) - , colorAttachment( colorAttachment_ ) - , clearValue( clearValue_ ) - {} - - ClearAttachment( ClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearAttachment( VkClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT - : ClearAttachment( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - ClearAttachment & operator=( ClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearAttachment & operator=( VkClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ClearAttachment & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - ClearAttachment & setColorAttachment( uint32_t colorAttachment_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachment = colorAttachment_; - return *this; - } - - ClearAttachment & setClearValue( VULKAN_HPP_NAMESPACE::ClearValue const & clearValue_ ) VULKAN_HPP_NOEXCEPT - { - clearValue = clearValue_; - return *this; - } - - operator VkClearAttachment const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkClearAttachment &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - uint32_t colorAttachment = {}; - VULKAN_HPP_NAMESPACE::ClearValue clearValue = {}; - }; - static_assert( sizeof( ClearAttachment ) == sizeof( VkClearAttachment ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ClearRect - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ClearRect( VULKAN_HPP_NAMESPACE::Rect2D rect_ = {}, - uint32_t baseArrayLayer_ = {}, - uint32_t layerCount_ = {} ) VULKAN_HPP_NOEXCEPT - : rect( rect_ ) - , baseArrayLayer( baseArrayLayer_ ) - , layerCount( layerCount_ ) - {} - - VULKAN_HPP_CONSTEXPR ClearRect( ClearRect const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearRect( VkClearRect const & rhs ) VULKAN_HPP_NOEXCEPT : ClearRect( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ClearRect & operator=( ClearRect const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ClearRect & operator=( VkClearRect const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ClearRect & setRect( VULKAN_HPP_NAMESPACE::Rect2D const & rect_ ) VULKAN_HPP_NOEXCEPT - { - rect = rect_; - return *this; - } - - ClearRect & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT - { - baseArrayLayer = baseArrayLayer_; - return *this; - } - - ClearRect & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT - { - layerCount = layerCount_; - return *this; - } - - operator VkClearRect const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkClearRect &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ClearRect const & ) const = default; -#else - bool operator==( ClearRect const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( rect == rhs.rect ) && ( baseArrayLayer == rhs.baseArrayLayer ) && ( layerCount == rhs.layerCount ); - } - - bool operator!=( ClearRect const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Rect2D rect = {}; - uint32_t baseArrayLayer = {}; - uint32_t layerCount = {}; - }; - static_assert( sizeof( ClearRect ) == sizeof( VkClearRect ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct CoarseSampleLocationNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - CoarseSampleLocationNV( uint32_t pixelX_ = {}, uint32_t pixelY_ = {}, uint32_t sample_ = {} ) VULKAN_HPP_NOEXCEPT - : pixelX( pixelX_ ) - , pixelY( pixelY_ ) - , sample( sample_ ) - {} - - VULKAN_HPP_CONSTEXPR CoarseSampleLocationNV( CoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CoarseSampleLocationNV( VkCoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT - : CoarseSampleLocationNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CoarseSampleLocationNV & - operator=( CoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CoarseSampleLocationNV & operator=( VkCoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CoarseSampleLocationNV & setPixelX( uint32_t pixelX_ ) VULKAN_HPP_NOEXCEPT - { - pixelX = pixelX_; - return *this; - } - - CoarseSampleLocationNV & setPixelY( uint32_t pixelY_ ) VULKAN_HPP_NOEXCEPT - { - pixelY = pixelY_; - return *this; - } - - CoarseSampleLocationNV & setSample( uint32_t sample_ ) VULKAN_HPP_NOEXCEPT - { - sample = sample_; - return *this; - } - - operator VkCoarseSampleLocationNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCoarseSampleLocationNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CoarseSampleLocationNV const & ) const = default; -#else - bool operator==( CoarseSampleLocationNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( pixelX == rhs.pixelX ) && ( pixelY == rhs.pixelY ) && ( sample == rhs.sample ); - } - - bool operator!=( CoarseSampleLocationNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t pixelX = {}; - uint32_t pixelY = {}; - uint32_t sample = {}; - }; - static_assert( sizeof( CoarseSampleLocationNV ) == sizeof( VkCoarseSampleLocationNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct CoarseSampleOrderCustomNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CoarseSampleOrderCustomNV( - VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_ = - VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV::eNoInvocations, - uint32_t sampleCount_ = {}, - uint32_t sampleLocationCount_ = {}, - const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV * pSampleLocations_ = {} ) VULKAN_HPP_NOEXCEPT - : shadingRate( shadingRate_ ) - , sampleCount( sampleCount_ ) - , sampleLocationCount( sampleLocationCount_ ) - , pSampleLocations( pSampleLocations_ ) - {} - - VULKAN_HPP_CONSTEXPR - CoarseSampleOrderCustomNV( CoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CoarseSampleOrderCustomNV( VkCoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT - : CoarseSampleOrderCustomNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CoarseSampleOrderCustomNV( - VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_, - uint32_t sampleCount_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - sampleLocations_ ) - : shadingRate( shadingRate_ ) - , sampleCount( sampleCount_ ) - , sampleLocationCount( static_cast( sampleLocations_.size() ) ) - , pSampleLocations( sampleLocations_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CoarseSampleOrderCustomNV & - operator=( CoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CoarseSampleOrderCustomNV & operator=( VkCoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CoarseSampleOrderCustomNV & - setShadingRate( VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_ ) VULKAN_HPP_NOEXCEPT - { - shadingRate = shadingRate_; - return *this; - } - - CoarseSampleOrderCustomNV & setSampleCount( uint32_t sampleCount_ ) VULKAN_HPP_NOEXCEPT - { - sampleCount = sampleCount_; - return *this; - } - - CoarseSampleOrderCustomNV & setSampleLocationCount( uint32_t sampleLocationCount_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationCount = sampleLocationCount_; - return *this; - } - - CoarseSampleOrderCustomNV & - setPSampleLocations( const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV * pSampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - pSampleLocations = pSampleLocations_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CoarseSampleOrderCustomNV & setSampleLocations( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - sampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationCount = static_cast( sampleLocations_.size() ); - pSampleLocations = sampleLocations_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkCoarseSampleOrderCustomNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCoarseSampleOrderCustomNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CoarseSampleOrderCustomNV const & ) const = default; -#else - bool operator==( CoarseSampleOrderCustomNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( shadingRate == rhs.shadingRate ) && ( sampleCount == rhs.sampleCount ) && - ( sampleLocationCount == rhs.sampleLocationCount ) && ( pSampleLocations == rhs.pSampleLocations ); - } - - bool operator!=( CoarseSampleOrderCustomNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate = - VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV::eNoInvocations; - uint32_t sampleCount = {}; - uint32_t sampleLocationCount = {}; - const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV * pSampleLocations = {}; - }; - static_assert( sizeof( CoarseSampleOrderCustomNV ) == sizeof( VkCoarseSampleOrderCustomNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - class CommandPool - { - public: - using CType = VkCommandPool; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eCommandPool; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCommandPool; - - public: - VULKAN_HPP_CONSTEXPR CommandPool() = default; - VULKAN_HPP_CONSTEXPR CommandPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT CommandPool( VkCommandPool commandPool ) VULKAN_HPP_NOEXCEPT - : m_commandPool( commandPool ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - CommandPool & operator=( VkCommandPool commandPool ) VULKAN_HPP_NOEXCEPT - { - m_commandPool = commandPool; - return *this; - } -#endif - - CommandPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_commandPool = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandPool const & ) const = default; -#else - bool operator==( CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandPool == rhs.m_commandPool; - } - - bool operator!=( CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandPool != rhs.m_commandPool; - } - - bool operator<( CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandPool < rhs.m_commandPool; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandPool() const VULKAN_HPP_NOEXCEPT - { - return m_commandPool; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_commandPool != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_commandPool == VK_NULL_HANDLE; - } - - private: - VkCommandPool m_commandPool = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::CommandPool ) == sizeof( VkCommandPool ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::CommandPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CommandPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CommandPool; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct CommandBufferAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo( - VULKAN_HPP_NAMESPACE::CommandPool commandPool_ = {}, - VULKAN_HPP_NAMESPACE::CommandBufferLevel level_ = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary, - uint32_t commandBufferCount_ = {} ) VULKAN_HPP_NOEXCEPT - : commandPool( commandPool_ ) - , level( level_ ) - , commandBufferCount( commandBufferCount_ ) - {} - - VULKAN_HPP_CONSTEXPR - CommandBufferAllocateInfo( CommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferAllocateInfo( VkCommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferAllocateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferAllocateInfo & - operator=( CommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferAllocateInfo & operator=( VkCommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferAllocateInfo & setCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool_ ) VULKAN_HPP_NOEXCEPT - { - commandPool = commandPool_; - return *this; - } - - CommandBufferAllocateInfo & setLevel( VULKAN_HPP_NAMESPACE::CommandBufferLevel level_ ) VULKAN_HPP_NOEXCEPT - { - level = level_; - return *this; - } - - CommandBufferAllocateInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT - { - commandBufferCount = commandBufferCount_; - return *this; - } - - operator VkCommandBufferAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferAllocateInfo const & ) const = default; -#else - bool operator==( CommandBufferAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( commandPool == rhs.commandPool ) && - ( level == rhs.level ) && ( commandBufferCount == rhs.commandBufferCount ); - } - - bool operator!=( CommandBufferAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferAllocateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CommandPool commandPool = {}; - VULKAN_HPP_NAMESPACE::CommandBufferLevel level = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary; - uint32_t commandBufferCount = {}; - }; - static_assert( sizeof( CommandBufferAllocateInfo ) == sizeof( VkCommandBufferAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferAllocateInfo; - }; - - class RenderPass - { - public: - using CType = VkRenderPass; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eRenderPass; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eRenderPass; - - public: - VULKAN_HPP_CONSTEXPR RenderPass() = default; - VULKAN_HPP_CONSTEXPR RenderPass( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT RenderPass( VkRenderPass renderPass ) VULKAN_HPP_NOEXCEPT : m_renderPass( renderPass ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - RenderPass & operator=( VkRenderPass renderPass ) VULKAN_HPP_NOEXCEPT - { - m_renderPass = renderPass; - return *this; - } -#endif - - RenderPass & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_renderPass = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPass const & ) const = default; -#else - bool operator==( RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_renderPass == rhs.m_renderPass; - } - - bool operator!=( RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_renderPass != rhs.m_renderPass; - } - - bool operator<( RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_renderPass < rhs.m_renderPass; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkRenderPass() const VULKAN_HPP_NOEXCEPT - { - return m_renderPass; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_renderPass != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_renderPass == VK_NULL_HANDLE; - } - - private: - VkRenderPass m_renderPass = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::RenderPass ) == sizeof( VkRenderPass ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::RenderPass; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::RenderPass; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::RenderPass; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class Framebuffer - { - public: - using CType = VkFramebuffer; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eFramebuffer; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eFramebuffer; - - public: - VULKAN_HPP_CONSTEXPR Framebuffer() = default; - VULKAN_HPP_CONSTEXPR Framebuffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Framebuffer( VkFramebuffer framebuffer ) VULKAN_HPP_NOEXCEPT - : m_framebuffer( framebuffer ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Framebuffer & operator=( VkFramebuffer framebuffer ) VULKAN_HPP_NOEXCEPT - { - m_framebuffer = framebuffer; - return *this; - } -#endif - - Framebuffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_framebuffer = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Framebuffer const & ) const = default; -#else - bool operator==( Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer == rhs.m_framebuffer; - } - - bool operator!=( Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer != rhs.m_framebuffer; - } - - bool operator<( Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer < rhs.m_framebuffer; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFramebuffer() const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_framebuffer == VK_NULL_HANDLE; - } - - private: - VkFramebuffer m_framebuffer = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Framebuffer ) == sizeof( VkFramebuffer ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Framebuffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Framebuffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Framebuffer; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct CommandBufferInheritanceInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferInheritanceInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceInfo( - VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, - uint32_t subpass_ = {}, - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable_ = {}, - VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags_ = {}, - VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ = {} ) VULKAN_HPP_NOEXCEPT - : renderPass( renderPass_ ) - , subpass( subpass_ ) - , framebuffer( framebuffer_ ) - , occlusionQueryEnable( occlusionQueryEnable_ ) - , queryFlags( queryFlags_ ) - , pipelineStatistics( pipelineStatistics_ ) - {} - - VULKAN_HPP_CONSTEXPR - CommandBufferInheritanceInfo( CommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceInfo( VkCommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferInheritanceInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferInheritanceInfo & - operator=( CommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceInfo & operator=( VkCommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferInheritanceInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferInheritanceInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT - { - renderPass = renderPass_; - return *this; - } - - CommandBufferInheritanceInfo & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT - { - subpass = subpass_; - return *this; - } - - CommandBufferInheritanceInfo & setFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ ) VULKAN_HPP_NOEXCEPT - { - framebuffer = framebuffer_; - return *this; - } - - CommandBufferInheritanceInfo & - setOcclusionQueryEnable( VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable_ ) VULKAN_HPP_NOEXCEPT - { - occlusionQueryEnable = occlusionQueryEnable_; - return *this; - } - - CommandBufferInheritanceInfo & - setQueryFlags( VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags_ ) VULKAN_HPP_NOEXCEPT - { - queryFlags = queryFlags_; - return *this; - } - - CommandBufferInheritanceInfo & - setPipelineStatistics( VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ ) VULKAN_HPP_NOEXCEPT - { - pipelineStatistics = pipelineStatistics_; - return *this; - } - - operator VkCommandBufferInheritanceInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferInheritanceInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferInheritanceInfo const & ) const = default; -#else - bool operator==( CommandBufferInheritanceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( renderPass == rhs.renderPass ) && - ( subpass == rhs.subpass ) && ( framebuffer == rhs.framebuffer ) && - ( occlusionQueryEnable == rhs.occlusionQueryEnable ) && ( queryFlags == rhs.queryFlags ) && - ( pipelineStatistics == rhs.pipelineStatistics ); - } - - bool operator!=( CommandBufferInheritanceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; - uint32_t subpass = {}; - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer = {}; - VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable = {}; - VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags = {}; - VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics = {}; - }; - static_assert( sizeof( CommandBufferInheritanceInfo ) == sizeof( VkCommandBufferInheritanceInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferInheritanceInfo; - }; - - struct CommandBufferBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferBeginInfo( - VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags_ = {}, - const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo * pInheritanceInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pInheritanceInfo( pInheritanceInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR CommandBufferBeginInfo( CommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferBeginInfo( VkCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferBeginInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferBeginInfo & - operator=( CommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferBeginInfo & operator=( VkCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferBeginInfo & setFlags( VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - CommandBufferBeginInfo & setPInheritanceInfo( - const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo * pInheritanceInfo_ ) VULKAN_HPP_NOEXCEPT - { - pInheritanceInfo = pInheritanceInfo_; - return *this; - } - - operator VkCommandBufferBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferBeginInfo const & ) const = default; -#else - bool operator==( CommandBufferBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pInheritanceInfo == rhs.pInheritanceInfo ); - } - - bool operator!=( CommandBufferBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferBeginInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags = {}; - const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo * pInheritanceInfo = {}; - }; - static_assert( sizeof( CommandBufferBeginInfo ) == sizeof( VkCommandBufferBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferBeginInfo; - }; - - struct CommandBufferInheritanceConditionalRenderingInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceConditionalRenderingInfoEXT( - VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : conditionalRenderingEnable( conditionalRenderingEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceConditionalRenderingInfoEXT( - CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceConditionalRenderingInfoEXT( - VkCommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferInheritanceConditionalRenderingInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferInheritanceConditionalRenderingInfoEXT & - operator=( CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceConditionalRenderingInfoEXT & - operator=( VkCommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferInheritanceConditionalRenderingInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferInheritanceConditionalRenderingInfoEXT & - setConditionalRenderingEnable( VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable_ ) VULKAN_HPP_NOEXCEPT - { - conditionalRenderingEnable = conditionalRenderingEnable_; - return *this; - } - - operator VkCommandBufferInheritanceConditionalRenderingInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferInheritanceConditionalRenderingInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferInheritanceConditionalRenderingInfoEXT const & ) const = default; -#else - bool operator==( CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( conditionalRenderingEnable == rhs.conditionalRenderingEnable ); - } - - bool operator!=( CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable = {}; - }; - static_assert( sizeof( CommandBufferInheritanceConditionalRenderingInfoEXT ) == - sizeof( VkCommandBufferInheritanceConditionalRenderingInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferInheritanceConditionalRenderingInfoEXT; - }; - - struct CommandBufferInheritanceRenderPassTransformInfoQCOM - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceRenderPassTransformInfoQCOM( - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - VULKAN_HPP_NAMESPACE::Rect2D renderArea_ = {} ) VULKAN_HPP_NOEXCEPT - : transform( transform_ ) - , renderArea( renderArea_ ) - {} - - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceRenderPassTransformInfoQCOM( - CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceRenderPassTransformInfoQCOM( - VkCommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferInheritanceRenderPassTransformInfoQCOM( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferInheritanceRenderPassTransformInfoQCOM & - operator=( CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceRenderPassTransformInfoQCOM & - operator=( VkCommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferInheritanceRenderPassTransformInfoQCOM & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferInheritanceRenderPassTransformInfoQCOM & - setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT - { - transform = transform_; - return *this; - } - - CommandBufferInheritanceRenderPassTransformInfoQCOM & - setRenderArea( VULKAN_HPP_NAMESPACE::Rect2D const & renderArea_ ) VULKAN_HPP_NOEXCEPT - { - renderArea = renderArea_; - return *this; - } - - operator VkCommandBufferInheritanceRenderPassTransformInfoQCOM const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferInheritanceRenderPassTransformInfoQCOM &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferInheritanceRenderPassTransformInfoQCOM const & ) const = default; -#else - bool operator==( CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( transform == rhs.transform ) && - ( renderArea == rhs.renderArea ); - } - - bool operator!=( CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - VULKAN_HPP_NAMESPACE::Rect2D renderArea = {}; - }; - static_assert( sizeof( CommandBufferInheritanceRenderPassTransformInfoQCOM ) == - sizeof( VkCommandBufferInheritanceRenderPassTransformInfoQCOM ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferInheritanceRenderPassTransformInfoQCOM; - }; - - struct Viewport - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Viewport( float x_ = {}, - float y_ = {}, - float width_ = {}, - float height_ = {}, - float minDepth_ = {}, - float maxDepth_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - , width( width_ ) - , height( height_ ) - , minDepth( minDepth_ ) - , maxDepth( maxDepth_ ) - {} - - VULKAN_HPP_CONSTEXPR Viewport( Viewport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Viewport( VkViewport const & rhs ) VULKAN_HPP_NOEXCEPT : Viewport( *reinterpret_cast( &rhs ) ) {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Viewport & operator=( Viewport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Viewport & operator=( VkViewport const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Viewport & setX( float x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - Viewport & setY( float y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - Viewport & setWidth( float width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - Viewport & setHeight( float height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - Viewport & setMinDepth( float minDepth_ ) VULKAN_HPP_NOEXCEPT - { - minDepth = minDepth_; - return *this; - } - - Viewport & setMaxDepth( float maxDepth_ ) VULKAN_HPP_NOEXCEPT - { - maxDepth = maxDepth_; - return *this; - } - - operator VkViewport const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkViewport &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Viewport const & ) const = default; -#else - bool operator==( Viewport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ) && ( width == rhs.width ) && ( height == rhs.height ) && - ( minDepth == rhs.minDepth ) && ( maxDepth == rhs.maxDepth ); - } - - bool operator!=( Viewport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float x = {}; - float y = {}; - float width = {}; - float height = {}; - float minDepth = {}; - float maxDepth = {}; - }; - static_assert( sizeof( Viewport ) == sizeof( VkViewport ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct CommandBufferInheritanceViewportScissorInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eCommandBufferInheritanceViewportScissorInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceViewportScissorInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 viewportScissor2D_ = {}, - uint32_t viewportDepthCount_ = {}, - const VULKAN_HPP_NAMESPACE::Viewport * pViewportDepths_ = {} ) VULKAN_HPP_NOEXCEPT - : viewportScissor2D( viewportScissor2D_ ) - , viewportDepthCount( viewportDepthCount_ ) - , pViewportDepths( pViewportDepths_ ) - {} - - VULKAN_HPP_CONSTEXPR CommandBufferInheritanceViewportScissorInfoNV( - CommandBufferInheritanceViewportScissorInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceViewportScissorInfoNV( VkCommandBufferInheritanceViewportScissorInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : CommandBufferInheritanceViewportScissorInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferInheritanceViewportScissorInfoNV & - operator=( CommandBufferInheritanceViewportScissorInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferInheritanceViewportScissorInfoNV & - operator=( VkCommandBufferInheritanceViewportScissorInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferInheritanceViewportScissorInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferInheritanceViewportScissorInfoNV & - setViewportScissor2D( VULKAN_HPP_NAMESPACE::Bool32 viewportScissor2D_ ) VULKAN_HPP_NOEXCEPT - { - viewportScissor2D = viewportScissor2D_; - return *this; - } - - CommandBufferInheritanceViewportScissorInfoNV & - setViewportDepthCount( uint32_t viewportDepthCount_ ) VULKAN_HPP_NOEXCEPT - { - viewportDepthCount = viewportDepthCount_; - return *this; - } - - CommandBufferInheritanceViewportScissorInfoNV & - setPViewportDepths( const VULKAN_HPP_NAMESPACE::Viewport * pViewportDepths_ ) VULKAN_HPP_NOEXCEPT - { - pViewportDepths = pViewportDepths_; - return *this; - } - - operator VkCommandBufferInheritanceViewportScissorInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferInheritanceViewportScissorInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferInheritanceViewportScissorInfoNV const & ) const = default; -#else - bool operator==( CommandBufferInheritanceViewportScissorInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( viewportScissor2D == rhs.viewportScissor2D ) && - ( viewportDepthCount == rhs.viewportDepthCount ) && ( pViewportDepths == rhs.pViewportDepths ); - } - - bool operator!=( CommandBufferInheritanceViewportScissorInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceViewportScissorInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 viewportScissor2D = {}; - uint32_t viewportDepthCount = {}; - const VULKAN_HPP_NAMESPACE::Viewport * pViewportDepths = {}; - }; - static_assert( sizeof( CommandBufferInheritanceViewportScissorInfoNV ) == - sizeof( VkCommandBufferInheritanceViewportScissorInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferInheritanceViewportScissorInfoNV; - }; - - struct ConditionalRenderingBeginInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eConditionalRenderingBeginInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ConditionalRenderingBeginInfoEXT( - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - , offset( offset_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - ConditionalRenderingBeginInfoEXT( ConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ConditionalRenderingBeginInfoEXT( VkConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ConditionalRenderingBeginInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ConditionalRenderingBeginInfoEXT & - operator=( ConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ConditionalRenderingBeginInfoEXT & operator=( VkConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ConditionalRenderingBeginInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ConditionalRenderingBeginInfoEXT & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - ConditionalRenderingBeginInfoEXT & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - ConditionalRenderingBeginInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkConditionalRenderingBeginInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkConditionalRenderingBeginInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ConditionalRenderingBeginInfoEXT const & ) const = default; -#else - bool operator==( ConditionalRenderingBeginInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( buffer == rhs.buffer ) && ( offset == rhs.offset ) && - ( flags == rhs.flags ); - } - - bool operator!=( ConditionalRenderingBeginInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eConditionalRenderingBeginInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags = {}; - }; - static_assert( sizeof( ConditionalRenderingBeginInfoEXT ) == sizeof( VkConditionalRenderingBeginInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ConditionalRenderingBeginInfoEXT; - }; - - struct DebugUtilsLabelEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsLabelEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT( const char * pLabelName_ = {}, - std::array const & color_ = {} ) VULKAN_HPP_NOEXCEPT - : pLabelName( pLabelName_ ) - , color( color_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT( DebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsLabelEXT( VkDebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugUtilsLabelEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT & - operator=( DebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsLabelEXT & operator=( VkDebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugUtilsLabelEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugUtilsLabelEXT & setPLabelName( const char * pLabelName_ ) VULKAN_HPP_NOEXCEPT - { - pLabelName = pLabelName_; - return *this; - } - - DebugUtilsLabelEXT & setColor( std::array color_ ) VULKAN_HPP_NOEXCEPT - { - color = color_; - return *this; - } - - operator VkDebugUtilsLabelEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugUtilsLabelEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsLabelEXT const & ) const = default; -#else - bool operator==( DebugUtilsLabelEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pLabelName == rhs.pLabelName ) && - ( color == rhs.color ); - } - - bool operator!=( DebugUtilsLabelEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsLabelEXT; - const void * pNext = {}; - const char * pLabelName = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D color = {}; - }; - static_assert( sizeof( DebugUtilsLabelEXT ) == sizeof( VkDebugUtilsLabelEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugUtilsLabelEXT; - }; - - class QueryPool - { - public: - using CType = VkQueryPool; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eQueryPool; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eQueryPool; - - public: - VULKAN_HPP_CONSTEXPR QueryPool() = default; - VULKAN_HPP_CONSTEXPR QueryPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT QueryPool( VkQueryPool queryPool ) VULKAN_HPP_NOEXCEPT : m_queryPool( queryPool ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - QueryPool & operator=( VkQueryPool queryPool ) VULKAN_HPP_NOEXCEPT - { - m_queryPool = queryPool; - return *this; - } -#endif - - QueryPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_queryPool = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueryPool const & ) const = default; -#else - bool operator==( QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queryPool == rhs.m_queryPool; - } - - bool operator!=( QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queryPool != rhs.m_queryPool; - } - - bool operator<( QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queryPool < rhs.m_queryPool; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueryPool() const VULKAN_HPP_NOEXCEPT - { - return m_queryPool; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_queryPool != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_queryPool == VK_NULL_HANDLE; - } - - private: - VkQueryPool m_queryPool = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::QueryPool ) == sizeof( VkQueryPool ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::QueryPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::QueryPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::QueryPool; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct RenderPassBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - RenderPassBeginInfo( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ = {}, - VULKAN_HPP_NAMESPACE::Rect2D renderArea_ = {}, - uint32_t clearValueCount_ = {}, - const VULKAN_HPP_NAMESPACE::ClearValue * pClearValues_ = {} ) VULKAN_HPP_NOEXCEPT - : renderPass( renderPass_ ) - , framebuffer( framebuffer_ ) - , renderArea( renderArea_ ) - , clearValueCount( clearValueCount_ ) - , pClearValues( pClearValues_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 RenderPassBeginInfo( RenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassBeginInfo( VkRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassBeginInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassBeginInfo( - VULKAN_HPP_NAMESPACE::RenderPass renderPass_, - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_, - VULKAN_HPP_NAMESPACE::Rect2D renderArea_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & clearValues_ ) - : renderPass( renderPass_ ) - , framebuffer( framebuffer_ ) - , renderArea( renderArea_ ) - , clearValueCount( static_cast( clearValues_.size() ) ) - , pClearValues( clearValues_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassBeginInfo & - operator=( RenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassBeginInfo & operator=( VkRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassBeginInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT - { - renderPass = renderPass_; - return *this; - } - - RenderPassBeginInfo & setFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ ) VULKAN_HPP_NOEXCEPT - { - framebuffer = framebuffer_; - return *this; - } - - RenderPassBeginInfo & setRenderArea( VULKAN_HPP_NAMESPACE::Rect2D const & renderArea_ ) VULKAN_HPP_NOEXCEPT - { - renderArea = renderArea_; - return *this; - } - - RenderPassBeginInfo & setClearValueCount( uint32_t clearValueCount_ ) VULKAN_HPP_NOEXCEPT - { - clearValueCount = clearValueCount_; - return *this; - } - - RenderPassBeginInfo & setPClearValues( const VULKAN_HPP_NAMESPACE::ClearValue * pClearValues_ ) VULKAN_HPP_NOEXCEPT - { - pClearValues = pClearValues_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassBeginInfo & setClearValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & clearValues_ ) - VULKAN_HPP_NOEXCEPT - { - clearValueCount = static_cast( clearValues_.size() ); - pClearValues = clearValues_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassBeginInfo const & ) const = default; -#else - bool operator==( RenderPassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( renderPass == rhs.renderPass ) && - ( framebuffer == rhs.framebuffer ) && ( renderArea == rhs.renderArea ) && - ( clearValueCount == rhs.clearValueCount ) && ( pClearValues == rhs.pClearValues ); - } - - bool operator!=( RenderPassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassBeginInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer = {}; - VULKAN_HPP_NAMESPACE::Rect2D renderArea = {}; - uint32_t clearValueCount = {}; - const VULKAN_HPP_NAMESPACE::ClearValue * pClearValues = {}; - }; - static_assert( sizeof( RenderPassBeginInfo ) == sizeof( VkRenderPassBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassBeginInfo; - }; - - struct SubpassBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassBeginInfo( VULKAN_HPP_NAMESPACE::SubpassContents contents_ = - VULKAN_HPP_NAMESPACE::SubpassContents::eInline ) VULKAN_HPP_NOEXCEPT - : contents( contents_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassBeginInfo( SubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassBeginInfo( VkSubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassBeginInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassBeginInfo & operator=( SubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassBeginInfo & operator=( VkSubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubpassBeginInfo & setContents( VULKAN_HPP_NAMESPACE::SubpassContents contents_ ) VULKAN_HPP_NOEXCEPT - { - contents = contents_; - return *this; - } - - operator VkSubpassBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassBeginInfo const & ) const = default; -#else - bool operator==( SubpassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( contents == rhs.contents ); - } - - bool operator!=( SubpassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassBeginInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SubpassContents contents = VULKAN_HPP_NAMESPACE::SubpassContents::eInline; - }; - static_assert( sizeof( SubpassBeginInfo ) == sizeof( VkSubpassBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubpassBeginInfo; - }; - using SubpassBeginInfoKHR = SubpassBeginInfo; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - class VideoSessionKHR - { - public: - using CType = VkVideoSessionKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eVideoSessionKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR VideoSessionKHR() = default; - VULKAN_HPP_CONSTEXPR VideoSessionKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT VideoSessionKHR( VkVideoSessionKHR videoSessionKHR ) VULKAN_HPP_NOEXCEPT - : m_videoSessionKHR( videoSessionKHR ) - {} - -# if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - VideoSessionKHR & operator=( VkVideoSessionKHR videoSessionKHR ) VULKAN_HPP_NOEXCEPT - { - m_videoSessionKHR = videoSessionKHR; - return *this; - } -# endif - - VideoSessionKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_videoSessionKHR = {}; - return *this; - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoSessionKHR const & ) const = default; -# else - bool operator==( VideoSessionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR == rhs.m_videoSessionKHR; - } - - bool operator!=( VideoSessionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR != rhs.m_videoSessionKHR; - } - - bool operator<( VideoSessionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR < rhs.m_videoSessionKHR; - } -# endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkVideoSessionKHR() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionKHR == VK_NULL_HANDLE; - } - - private: - VkVideoSessionKHR m_videoSessionKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::VideoSessionKHR ) == sizeof( VkVideoSessionKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::VideoSessionKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::VideoSessionKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - class VideoSessionParametersKHR - { - public: - using CType = VkVideoSessionParametersKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eVideoSessionParametersKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR VideoSessionParametersKHR() = default; - VULKAN_HPP_CONSTEXPR VideoSessionParametersKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - VideoSessionParametersKHR( VkVideoSessionParametersKHR videoSessionParametersKHR ) VULKAN_HPP_NOEXCEPT - : m_videoSessionParametersKHR( videoSessionParametersKHR ) - {} - -# if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - VideoSessionParametersKHR & operator=( VkVideoSessionParametersKHR videoSessionParametersKHR ) VULKAN_HPP_NOEXCEPT - { - m_videoSessionParametersKHR = videoSessionParametersKHR; - return *this; - } -# endif - - VideoSessionParametersKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_videoSessionParametersKHR = {}; - return *this; - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoSessionParametersKHR const & ) const = default; -# else - bool operator==( VideoSessionParametersKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR == rhs.m_videoSessionParametersKHR; - } - - bool operator!=( VideoSessionParametersKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR != rhs.m_videoSessionParametersKHR; - } - - bool operator<( VideoSessionParametersKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR < rhs.m_videoSessionParametersKHR; - } -# endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkVideoSessionParametersKHR() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_videoSessionParametersKHR == VK_NULL_HANDLE; - } - - private: - VkVideoSessionParametersKHR m_videoSessionParametersKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR ) == sizeof( VkVideoSessionParametersKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - class ImageView - { - public: - using CType = VkImageView; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eImageView; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eImageView; - - public: - VULKAN_HPP_CONSTEXPR ImageView() = default; - VULKAN_HPP_CONSTEXPR ImageView( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT ImageView( VkImageView imageView ) VULKAN_HPP_NOEXCEPT : m_imageView( imageView ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - ImageView & operator=( VkImageView imageView ) VULKAN_HPP_NOEXCEPT - { - m_imageView = imageView; - return *this; - } -#endif - - ImageView & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_imageView = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageView const & ) const = default; -#else - bool operator==( ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_imageView == rhs.m_imageView; - } - - bool operator!=( ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_imageView != rhs.m_imageView; - } - - bool operator<( ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_imageView < rhs.m_imageView; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImageView() const VULKAN_HPP_NOEXCEPT - { - return m_imageView; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_imageView != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_imageView == VK_NULL_HANDLE; - } - - private: - VkImageView m_imageView = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::ImageView ) == sizeof( VkImageView ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::ImageView; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ImageView; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ImageView; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoPictureResourceKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoPictureResourceKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoPictureResourceKHR( VULKAN_HPP_NAMESPACE::Offset2D codedOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D codedExtent_ = {}, - uint32_t baseArrayLayer_ = {}, - VULKAN_HPP_NAMESPACE::ImageView imageViewBinding_ = {} ) VULKAN_HPP_NOEXCEPT - : codedOffset( codedOffset_ ) - , codedExtent( codedExtent_ ) - , baseArrayLayer( baseArrayLayer_ ) - , imageViewBinding( imageViewBinding_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoPictureResourceKHR( VideoPictureResourceKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoPictureResourceKHR( VkVideoPictureResourceKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoPictureResourceKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoPictureResourceKHR & - operator=( VideoPictureResourceKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoPictureResourceKHR & operator=( VkVideoPictureResourceKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoPictureResourceKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoPictureResourceKHR & setCodedOffset( VULKAN_HPP_NAMESPACE::Offset2D const & codedOffset_ ) VULKAN_HPP_NOEXCEPT - { - codedOffset = codedOffset_; - return *this; - } - - VideoPictureResourceKHR & setCodedExtent( VULKAN_HPP_NAMESPACE::Extent2D const & codedExtent_ ) VULKAN_HPP_NOEXCEPT - { - codedExtent = codedExtent_; - return *this; - } - - VideoPictureResourceKHR & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT - { - baseArrayLayer = baseArrayLayer_; - return *this; - } - - VideoPictureResourceKHR & - setImageViewBinding( VULKAN_HPP_NAMESPACE::ImageView imageViewBinding_ ) VULKAN_HPP_NOEXCEPT - { - imageViewBinding = imageViewBinding_; - return *this; - } - - operator VkVideoPictureResourceKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoPictureResourceKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoPictureResourceKHR const & ) const = default; -# else - bool operator==( VideoPictureResourceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( codedOffset == rhs.codedOffset ) && - ( codedExtent == rhs.codedExtent ) && ( baseArrayLayer == rhs.baseArrayLayer ) && - ( imageViewBinding == rhs.imageViewBinding ); - } - - bool operator!=( VideoPictureResourceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoPictureResourceKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Offset2D codedOffset = {}; - VULKAN_HPP_NAMESPACE::Extent2D codedExtent = {}; - uint32_t baseArrayLayer = {}; - VULKAN_HPP_NAMESPACE::ImageView imageViewBinding = {}; - }; - static_assert( sizeof( VideoPictureResourceKHR ) == sizeof( VkVideoPictureResourceKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoPictureResourceKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoReferenceSlotKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoReferenceSlotKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoReferenceSlotKHR( - int8_t slotIndex_ = {}, - const VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR * pPictureResource_ = {} ) VULKAN_HPP_NOEXCEPT - : slotIndex( slotIndex_ ) - , pPictureResource( pPictureResource_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoReferenceSlotKHR( VideoReferenceSlotKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoReferenceSlotKHR( VkVideoReferenceSlotKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoReferenceSlotKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoReferenceSlotKHR & - operator=( VideoReferenceSlotKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoReferenceSlotKHR & operator=( VkVideoReferenceSlotKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoReferenceSlotKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoReferenceSlotKHR & setSlotIndex( int8_t slotIndex_ ) VULKAN_HPP_NOEXCEPT - { - slotIndex = slotIndex_; - return *this; - } - - VideoReferenceSlotKHR & - setPPictureResource( const VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR * pPictureResource_ ) VULKAN_HPP_NOEXCEPT - { - pPictureResource = pPictureResource_; - return *this; - } - - operator VkVideoReferenceSlotKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoReferenceSlotKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoReferenceSlotKHR const & ) const = default; -# else - bool operator==( VideoReferenceSlotKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( slotIndex == rhs.slotIndex ) && - ( pPictureResource == rhs.pPictureResource ); - } - - bool operator!=( VideoReferenceSlotKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoReferenceSlotKHR; - const void * pNext = {}; - int8_t slotIndex = {}; - const VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR * pPictureResource = {}; - }; - static_assert( sizeof( VideoReferenceSlotKHR ) == sizeof( VkVideoReferenceSlotKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoReferenceSlotKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoBeginCodingInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoBeginCodingInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoBeginCodingInfoKHR( - VULKAN_HPP_NAMESPACE::VideoBeginCodingFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::VideoCodingQualityPresetFlagsKHR codecQualityPreset_ = {}, - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession_ = {}, - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters_ = {}, - uint32_t referenceSlotCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , codecQualityPreset( codecQualityPreset_ ) - , videoSession( videoSession_ ) - , videoSessionParameters( videoSessionParameters_ ) - , referenceSlotCount( referenceSlotCount_ ) - , pReferenceSlots( pReferenceSlots_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoBeginCodingInfoKHR( VideoBeginCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoBeginCodingInfoKHR( VkVideoBeginCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoBeginCodingInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoBeginCodingInfoKHR( - VULKAN_HPP_NAMESPACE::VideoBeginCodingFlagsKHR flags_, - VULKAN_HPP_NAMESPACE::VideoCodingQualityPresetFlagsKHR codecQualityPreset_, - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession_, - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) - : flags( flags_ ) - , codecQualityPreset( codecQualityPreset_ ) - , videoSession( videoSession_ ) - , videoSessionParameters( videoSessionParameters_ ) - , referenceSlotCount( static_cast( referenceSlots_.size() ) ) - , pReferenceSlots( referenceSlots_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoBeginCodingInfoKHR & - operator=( VideoBeginCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoBeginCodingInfoKHR & operator=( VkVideoBeginCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoBeginCodingInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoBeginCodingInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoBeginCodingFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoBeginCodingInfoKHR & setCodecQualityPreset( - VULKAN_HPP_NAMESPACE::VideoCodingQualityPresetFlagsKHR codecQualityPreset_ ) VULKAN_HPP_NOEXCEPT - { - codecQualityPreset = codecQualityPreset_; - return *this; - } - - VideoBeginCodingInfoKHR & setVideoSession( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession_ ) VULKAN_HPP_NOEXCEPT - { - videoSession = videoSession_; - return *this; - } - - VideoBeginCodingInfoKHR & setVideoSessionParameters( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters_ ) VULKAN_HPP_NOEXCEPT - { - videoSessionParameters = videoSessionParameters_; - return *this; - } - - VideoBeginCodingInfoKHR & setReferenceSlotCount( uint32_t referenceSlotCount_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = referenceSlotCount_; - return *this; - } - - VideoBeginCodingInfoKHR & - setPReferenceSlots( const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - pReferenceSlots = pReferenceSlots_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoBeginCodingInfoKHR & setReferenceSlots( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = static_cast( referenceSlots_.size() ); - pReferenceSlots = referenceSlots_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoBeginCodingInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoBeginCodingInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoBeginCodingInfoKHR const & ) const = default; -# else - bool operator==( VideoBeginCodingInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( codecQualityPreset == rhs.codecQualityPreset ) && ( videoSession == rhs.videoSession ) && - ( videoSessionParameters == rhs.videoSessionParameters ) && - ( referenceSlotCount == rhs.referenceSlotCount ) && ( pReferenceSlots == rhs.pReferenceSlots ); - } - - bool operator!=( VideoBeginCodingInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoBeginCodingInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoBeginCodingFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::VideoCodingQualityPresetFlagsKHR codecQualityPreset = {}; - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession = {}; - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters = {}; - uint32_t referenceSlotCount = {}; - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots = {}; - }; - static_assert( sizeof( VideoBeginCodingInfoKHR ) == sizeof( VkVideoBeginCodingInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoBeginCodingInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - class PipelineLayout - { - public: - using CType = VkPipelineLayout; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePipelineLayout; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipelineLayout; - - public: - VULKAN_HPP_CONSTEXPR PipelineLayout() = default; - VULKAN_HPP_CONSTEXPR PipelineLayout( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT PipelineLayout( VkPipelineLayout pipelineLayout ) VULKAN_HPP_NOEXCEPT - : m_pipelineLayout( pipelineLayout ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - PipelineLayout & operator=( VkPipelineLayout pipelineLayout ) VULKAN_HPP_NOEXCEPT - { - m_pipelineLayout = pipelineLayout; - return *this; - } -#endif - - PipelineLayout & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_pipelineLayout = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineLayout const & ) const = default; -#else - bool operator==( PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout == rhs.m_pipelineLayout; - } - - bool operator!=( PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout != rhs.m_pipelineLayout; - } - - bool operator<( PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout < rhs.m_pipelineLayout; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineLayout() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineLayout == VK_NULL_HANDLE; - } - - private: - VkPipelineLayout m_pipelineLayout = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::PipelineLayout ) == sizeof( VkPipelineLayout ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::PipelineLayout; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PipelineLayout; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PipelineLayout; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class DescriptorSet - { - public: - using CType = VkDescriptorSet; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorSet; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorSet; - - public: - VULKAN_HPP_CONSTEXPR DescriptorSet() = default; - VULKAN_HPP_CONSTEXPR DescriptorSet( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSet( VkDescriptorSet descriptorSet ) VULKAN_HPP_NOEXCEPT - : m_descriptorSet( descriptorSet ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DescriptorSet & operator=( VkDescriptorSet descriptorSet ) VULKAN_HPP_NOEXCEPT - { - m_descriptorSet = descriptorSet; - return *this; - } -#endif - - DescriptorSet & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_descriptorSet = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSet const & ) const = default; -#else - bool operator==( DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet == rhs.m_descriptorSet; - } - - bool operator!=( DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet != rhs.m_descriptorSet; - } - - bool operator<( DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet < rhs.m_descriptorSet; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSet() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSet == VK_NULL_HANDLE; - } - - private: - VkDescriptorSet m_descriptorSet = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorSet ) == sizeof( VkDescriptorSet ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DescriptorSet; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorSet; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorSet; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class Pipeline - { - public: - using CType = VkPipeline; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePipeline; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipeline; - - public: - VULKAN_HPP_CONSTEXPR Pipeline() = default; - VULKAN_HPP_CONSTEXPR Pipeline( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Pipeline( VkPipeline pipeline ) VULKAN_HPP_NOEXCEPT : m_pipeline( pipeline ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Pipeline & operator=( VkPipeline pipeline ) VULKAN_HPP_NOEXCEPT - { - m_pipeline = pipeline; - return *this; - } -#endif - - Pipeline & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_pipeline = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Pipeline const & ) const = default; -#else - bool operator==( Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipeline == rhs.m_pipeline; - } - - bool operator!=( Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipeline != rhs.m_pipeline; - } - - bool operator<( Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipeline < rhs.m_pipeline; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipeline() const VULKAN_HPP_NOEXCEPT - { - return m_pipeline; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_pipeline != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_pipeline == VK_NULL_HANDLE; - } - - private: - VkPipeline m_pipeline = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Pipeline ) == sizeof( VkPipeline ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Pipeline; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Pipeline; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Pipeline; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct ImageBlit - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - ImageBlit( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - std::array const & srcOffsets_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - std::array const & dstOffsets_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffsets( srcOffsets_ ) - , dstSubresource( dstSubresource_ ) - , dstOffsets( dstOffsets_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 ImageBlit( ImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageBlit( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT : ImageBlit( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageBlit & operator=( ImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageBlit & operator=( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageBlit & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageBlit & setSrcOffsets( std::array const & srcOffsets_ ) VULKAN_HPP_NOEXCEPT - { - srcOffsets = srcOffsets_; - return *this; - } - - ImageBlit & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageBlit & setDstOffsets( std::array const & dstOffsets_ ) VULKAN_HPP_NOEXCEPT - { - dstOffsets = dstOffsets_; - return *this; - } - - operator VkImageBlit const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageBlit &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageBlit const & ) const = default; -#else - bool operator==( ImageBlit const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( srcSubresource == rhs.srcSubresource ) && ( srcOffsets == rhs.srcOffsets ) && - ( dstSubresource == rhs.dstSubresource ) && ( dstOffsets == rhs.dstOffsets ); - } - - bool operator!=( ImageBlit const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D srcOffsets = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D dstOffsets = {}; - }; - static_assert( sizeof( ImageBlit ) == sizeof( VkImageBlit ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ImageSubresourceRange - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageSubresourceRange( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, - uint32_t baseMipLevel_ = {}, - uint32_t levelCount_ = {}, - uint32_t baseArrayLayer_ = {}, - uint32_t layerCount_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectMask( aspectMask_ ) - , baseMipLevel( baseMipLevel_ ) - , levelCount( levelCount_ ) - , baseArrayLayer( baseArrayLayer_ ) - , layerCount( layerCount_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageSubresourceRange( ImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresourceRange( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageSubresourceRange( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageSubresourceRange & - operator=( ImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSubresourceRange & operator=( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageSubresourceRange & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - ImageSubresourceRange & setBaseMipLevel( uint32_t baseMipLevel_ ) VULKAN_HPP_NOEXCEPT - { - baseMipLevel = baseMipLevel_; - return *this; - } - - ImageSubresourceRange & setLevelCount( uint32_t levelCount_ ) VULKAN_HPP_NOEXCEPT - { - levelCount = levelCount_; - return *this; - } - - ImageSubresourceRange & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT - { - baseArrayLayer = baseArrayLayer_; - return *this; - } - - ImageSubresourceRange & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT - { - layerCount = layerCount_; - return *this; - } - - operator VkImageSubresourceRange const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageSubresourceRange &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageSubresourceRange const & ) const = default; -#else - bool operator==( ImageSubresourceRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( aspectMask == rhs.aspectMask ) && ( baseMipLevel == rhs.baseMipLevel ) && - ( levelCount == rhs.levelCount ) && ( baseArrayLayer == rhs.baseArrayLayer ) && - ( layerCount == rhs.layerCount ); - } - - bool operator!=( ImageSubresourceRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - uint32_t baseMipLevel = {}; - uint32_t levelCount = {}; - uint32_t baseArrayLayer = {}; - uint32_t layerCount = {}; - }; - static_assert( sizeof( ImageSubresourceRange ) == sizeof( VkImageSubresourceRange ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoCodingControlInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoCodingControlInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoCodingControlInfoKHR( VULKAN_HPP_NAMESPACE::VideoCodingControlFlagsKHR flags_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoCodingControlInfoKHR( VideoCodingControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoCodingControlInfoKHR( VkVideoCodingControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoCodingControlInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoCodingControlInfoKHR & - operator=( VideoCodingControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoCodingControlInfoKHR & operator=( VkVideoCodingControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoCodingControlInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoCodingControlInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoCodingControlFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkVideoCodingControlInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoCodingControlInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoCodingControlInfoKHR const & ) const = default; -# else - bool operator==( VideoCodingControlInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( VideoCodingControlInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoCodingControlInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoCodingControlFlagsKHR flags = {}; - }; - static_assert( sizeof( VideoCodingControlInfoKHR ) == sizeof( VkVideoCodingControlInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoCodingControlInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct CopyAccelerationStructureInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyAccelerationStructureInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CopyAccelerationStructureInfoKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ = {}, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ = {}, - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone ) VULKAN_HPP_NOEXCEPT - : src( src_ ) - , dst( dst_ ) - , mode( mode_ ) - {} - - VULKAN_HPP_CONSTEXPR - CopyAccelerationStructureInfoKHR( CopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyAccelerationStructureInfoKHR( VkCopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyAccelerationStructureInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyAccelerationStructureInfoKHR & - operator=( CopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyAccelerationStructureInfoKHR & operator=( VkCopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyAccelerationStructureInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyAccelerationStructureInfoKHR & setSrc( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ ) VULKAN_HPP_NOEXCEPT - { - src = src_; - return *this; - } - - CopyAccelerationStructureInfoKHR & setDst( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ ) VULKAN_HPP_NOEXCEPT - { - dst = dst_; - return *this; - } - - CopyAccelerationStructureInfoKHR & - setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - operator VkCopyAccelerationStructureInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyAccelerationStructureInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyAccelerationStructureInfoKHR const & ) const = default; -#else - bool operator==( CopyAccelerationStructureInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( src == rhs.src ) && ( dst == rhs.dst ) && - ( mode == rhs.mode ); - } - - bool operator!=( CopyAccelerationStructureInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyAccelerationStructureInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst = {}; - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; - }; - static_assert( sizeof( CopyAccelerationStructureInfoKHR ) == sizeof( VkCopyAccelerationStructureInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyAccelerationStructureInfoKHR; - }; - - struct CopyAccelerationStructureToMemoryInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eCopyAccelerationStructureToMemoryInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - CopyAccelerationStructureToMemoryInfoKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ = {}, - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR dst_ = {}, - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone ) - VULKAN_HPP_NOEXCEPT - : src( src_ ) - , dst( dst_ ) - , mode( mode_ ) - {} - - CopyAccelerationStructureToMemoryInfoKHR( CopyAccelerationStructureToMemoryInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - CopyAccelerationStructureToMemoryInfoKHR( VkCopyAccelerationStructureToMemoryInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : CopyAccelerationStructureToMemoryInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - CopyAccelerationStructureToMemoryInfoKHR & - operator=( CopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyAccelerationStructureToMemoryInfoKHR & - operator=( VkCopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyAccelerationStructureToMemoryInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyAccelerationStructureToMemoryInfoKHR & - setSrc( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ ) VULKAN_HPP_NOEXCEPT - { - src = src_; - return *this; - } - - CopyAccelerationStructureToMemoryInfoKHR & - setDst( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & dst_ ) VULKAN_HPP_NOEXCEPT - { - dst = dst_; - return *this; - } - - CopyAccelerationStructureToMemoryInfoKHR & - setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - operator VkCopyAccelerationStructureToMemoryInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyAccelerationStructureToMemoryInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyAccelerationStructureToMemoryInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR dst = {}; - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; - }; - static_assert( sizeof( CopyAccelerationStructureToMemoryInfoKHR ) == - sizeof( VkCopyAccelerationStructureToMemoryInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyAccelerationStructureToMemoryInfoKHR; - }; - - struct CopyBufferInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyBufferInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - CopyBufferInfo2KHR( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ = {}, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ = {}, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::BufferCopy2KHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : srcBuffer( srcBuffer_ ) - , dstBuffer( dstBuffer_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR CopyBufferInfo2KHR( CopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyBufferInfo2KHR( VkCopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyBufferInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyBufferInfo2KHR( - VULKAN_HPP_NAMESPACE::Buffer srcBuffer_, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : srcBuffer( srcBuffer_ ) - , dstBuffer( dstBuffer_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyBufferInfo2KHR & - operator=( CopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyBufferInfo2KHR & operator=( VkCopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyBufferInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyBufferInfo2KHR & setSrcBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ ) VULKAN_HPP_NOEXCEPT - { - srcBuffer = srcBuffer_; - return *this; - } - - CopyBufferInfo2KHR & setDstBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ ) VULKAN_HPP_NOEXCEPT - { - dstBuffer = dstBuffer_; - return *this; - } - - CopyBufferInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - CopyBufferInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::BufferCopy2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyBufferInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkCopyBufferInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyBufferInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyBufferInfo2KHR const & ) const = default; -#else - bool operator==( CopyBufferInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcBuffer == rhs.srcBuffer ) && - ( dstBuffer == rhs.dstBuffer ) && ( regionCount == rhs.regionCount ) && ( pRegions == rhs.pRegions ); - } - - bool operator!=( CopyBufferInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyBufferInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer srcBuffer = {}; - VULKAN_HPP_NAMESPACE::Buffer dstBuffer = {}; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::BufferCopy2KHR * pRegions = {}; - }; - static_assert( sizeof( CopyBufferInfo2KHR ) == sizeof( VkCopyBufferInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyBufferInfo2KHR; - }; - - struct CopyBufferToImageInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyBufferToImageInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CopyBufferToImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ = {}, - VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : srcBuffer( srcBuffer_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR - CopyBufferToImageInfo2KHR( CopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyBufferToImageInfo2KHR( VkCopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyBufferToImageInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyBufferToImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Buffer srcBuffer_, - VULKAN_HPP_NAMESPACE::Image dstImage_, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : srcBuffer( srcBuffer_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyBufferToImageInfo2KHR & - operator=( CopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyBufferToImageInfo2KHR & operator=( VkCopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyBufferToImageInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyBufferToImageInfo2KHR & setSrcBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ ) VULKAN_HPP_NOEXCEPT - { - srcBuffer = srcBuffer_; - return *this; - } - - CopyBufferToImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT - { - dstImage = dstImage_; - return *this; - } - - CopyBufferToImageInfo2KHR & - setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - dstImageLayout = dstImageLayout_; - return *this; - } - - CopyBufferToImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - CopyBufferToImageInfo2KHR & - setPRegions( const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyBufferToImageInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkCopyBufferToImageInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyBufferToImageInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyBufferToImageInfo2KHR const & ) const = default; -#else - bool operator==( CopyBufferToImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcBuffer == rhs.srcBuffer ) && - ( dstImage == rhs.dstImage ) && ( dstImageLayout == rhs.dstImageLayout ) && - ( regionCount == rhs.regionCount ) && ( pRegions == rhs.pRegions ); - } - - bool operator!=( CopyBufferToImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyBufferToImageInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Buffer srcBuffer = {}; - VULKAN_HPP_NAMESPACE::Image dstImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions = {}; - }; - static_assert( sizeof( CopyBufferToImageInfo2KHR ) == sizeof( VkCopyBufferToImageInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyBufferToImageInfo2KHR; - }; - - struct ImageCopy - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageCopy( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffset( srcOffset_ ) - , dstSubresource( dstSubresource_ ) - , dstOffset( dstOffset_ ) - , extent( extent_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageCopy( ImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCopy( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT : ImageCopy( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageCopy & operator=( ImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCopy & operator=( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageCopy & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageCopy & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - ImageCopy & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageCopy & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - ImageCopy & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - operator VkImageCopy const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageCopy &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageCopy const & ) const = default; -#else - bool operator==( ImageCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( srcSubresource == rhs.srcSubresource ) && ( srcOffset == rhs.srcOffset ) && - ( dstSubresource == rhs.dstSubresource ) && ( dstOffset == rhs.dstOffset ) && ( extent == rhs.extent ); - } - - bool operator!=( ImageCopy const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - }; - static_assert( sizeof( ImageCopy ) == sizeof( VkImageCopy ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ImageCopy2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageCopy2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageCopy2KHR( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffset( srcOffset_ ) - , dstSubresource( dstSubresource_ ) - , dstOffset( dstOffset_ ) - , extent( extent_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageCopy2KHR( ImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCopy2KHR( VkImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageCopy2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageCopy2KHR & operator=( ImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCopy2KHR & operator=( VkImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageCopy2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageCopy2KHR & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageCopy2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - ImageCopy2KHR & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageCopy2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - ImageCopy2KHR & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - operator VkImageCopy2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageCopy2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageCopy2KHR const & ) const = default; -#else - bool operator==( ImageCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcSubresource == rhs.srcSubresource ) && - ( srcOffset == rhs.srcOffset ) && ( dstSubresource == rhs.dstSubresource ) && - ( dstOffset == rhs.dstOffset ) && ( extent == rhs.extent ); - } - - bool operator!=( ImageCopy2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageCopy2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - }; - static_assert( sizeof( ImageCopy2KHR ) == sizeof( VkImageCopy2KHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageCopy2KHR; - }; - - struct CopyImageInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyImageInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CopyImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageCopy2KHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR CopyImageInfo2KHR( CopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyImageInfo2KHR( VkCopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyImageInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, - VULKAN_HPP_NAMESPACE::Image dstImage_, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyImageInfo2KHR & - operator=( CopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyImageInfo2KHR & operator=( VkCopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyImageInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT - { - srcImage = srcImage_; - return *this; - } - - CopyImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - srcImageLayout = srcImageLayout_; - return *this; - } - - CopyImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT - { - dstImage = dstImage_; - return *this; - } - - CopyImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - dstImageLayout = dstImageLayout_; - return *this; - } - - CopyImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - CopyImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageCopy2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyImageInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkCopyImageInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyImageInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyImageInfo2KHR const & ) const = default; -#else - bool operator==( CopyImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcImage == rhs.srcImage ) && - ( srcImageLayout == rhs.srcImageLayout ) && ( dstImage == rhs.dstImage ) && - ( dstImageLayout == rhs.dstImageLayout ) && ( regionCount == rhs.regionCount ) && - ( pRegions == rhs.pRegions ); - } - - bool operator!=( CopyImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyImageInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image srcImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::Image dstImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::ImageCopy2KHR * pRegions = {}; - }; - static_assert( sizeof( CopyImageInfo2KHR ) == sizeof( VkCopyImageInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyImageInfo2KHR; - }; - - struct CopyImageToBufferInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyImageToBufferInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CopyImageToBufferInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ = {}, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstBuffer( dstBuffer_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR - CopyImageToBufferInfo2KHR( CopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyImageToBufferInfo2KHR( VkCopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyImageToBufferInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyImageToBufferInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstBuffer( dstBuffer_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyImageToBufferInfo2KHR & - operator=( CopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyImageToBufferInfo2KHR & operator=( VkCopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyImageToBufferInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyImageToBufferInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT - { - srcImage = srcImage_; - return *this; - } - - CopyImageToBufferInfo2KHR & - setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - srcImageLayout = srcImageLayout_; - return *this; - } - - CopyImageToBufferInfo2KHR & setDstBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ ) VULKAN_HPP_NOEXCEPT - { - dstBuffer = dstBuffer_; - return *this; - } - - CopyImageToBufferInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - CopyImageToBufferInfo2KHR & - setPRegions( const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - CopyImageToBufferInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkCopyImageToBufferInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyImageToBufferInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyImageToBufferInfo2KHR const & ) const = default; -#else - bool operator==( CopyImageToBufferInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcImage == rhs.srcImage ) && - ( srcImageLayout == rhs.srcImageLayout ) && ( dstBuffer == rhs.dstBuffer ) && - ( regionCount == rhs.regionCount ) && ( pRegions == rhs.pRegions ); - } - - bool operator!=( CopyImageToBufferInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyImageToBufferInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image srcImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::Buffer dstBuffer = {}; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR * pRegions = {}; - }; - static_assert( sizeof( CopyImageToBufferInfo2KHR ) == sizeof( VkCopyImageToBufferInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyImageToBufferInfo2KHR; - }; - - struct CopyMemoryToAccelerationStructureInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eCopyMemoryToAccelerationStructureInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - CopyMemoryToAccelerationStructureInfoKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR src_ = {}, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ = {}, - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone ) - VULKAN_HPP_NOEXCEPT - : src( src_ ) - , dst( dst_ ) - , mode( mode_ ) - {} - - CopyMemoryToAccelerationStructureInfoKHR( CopyMemoryToAccelerationStructureInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - CopyMemoryToAccelerationStructureInfoKHR( VkCopyMemoryToAccelerationStructureInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : CopyMemoryToAccelerationStructureInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - CopyMemoryToAccelerationStructureInfoKHR & - operator=( CopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyMemoryToAccelerationStructureInfoKHR & - operator=( VkCopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyMemoryToAccelerationStructureInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyMemoryToAccelerationStructureInfoKHR & - setSrc( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & src_ ) VULKAN_HPP_NOEXCEPT - { - src = src_; - return *this; - } - - CopyMemoryToAccelerationStructureInfoKHR & - setDst( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ ) VULKAN_HPP_NOEXCEPT - { - dst = dst_; - return *this; - } - - CopyMemoryToAccelerationStructureInfoKHR & - setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - operator VkCopyMemoryToAccelerationStructureInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyMemoryToAccelerationStructureInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyMemoryToAccelerationStructureInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR src = {}; - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst = {}; - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; - }; - static_assert( sizeof( CopyMemoryToAccelerationStructureInfoKHR ) == - sizeof( VkCopyMemoryToAccelerationStructureInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyMemoryToAccelerationStructureInfoKHR; - }; - - class CuFunctionNVX - { - public: - using CType = VkCuFunctionNVX; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eCuFunctionNVX; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCuFunctionNVX; - - public: - VULKAN_HPP_CONSTEXPR CuFunctionNVX() = default; - VULKAN_HPP_CONSTEXPR CuFunctionNVX( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT CuFunctionNVX( VkCuFunctionNVX cuFunctionNVX ) VULKAN_HPP_NOEXCEPT - : m_cuFunctionNVX( cuFunctionNVX ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - CuFunctionNVX & operator=( VkCuFunctionNVX cuFunctionNVX ) VULKAN_HPP_NOEXCEPT - { - m_cuFunctionNVX = cuFunctionNVX; - return *this; - } -#endif - - CuFunctionNVX & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_cuFunctionNVX = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CuFunctionNVX const & ) const = default; -#else - bool operator==( CuFunctionNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX == rhs.m_cuFunctionNVX; - } - - bool operator!=( CuFunctionNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX != rhs.m_cuFunctionNVX; - } - - bool operator<( CuFunctionNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX < rhs.m_cuFunctionNVX; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCuFunctionNVX() const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_cuFunctionNVX == VK_NULL_HANDLE; - } - - private: - VkCuFunctionNVX m_cuFunctionNVX = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::CuFunctionNVX ) == sizeof( VkCuFunctionNVX ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::CuFunctionNVX; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CuFunctionNVX; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CuFunctionNVX; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct CuLaunchInfoNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCuLaunchInfoNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CuLaunchInfoNVX( VULKAN_HPP_NAMESPACE::CuFunctionNVX function_ = {}, - uint32_t gridDimX_ = {}, - uint32_t gridDimY_ = {}, - uint32_t gridDimZ_ = {}, - uint32_t blockDimX_ = {}, - uint32_t blockDimY_ = {}, - uint32_t blockDimZ_ = {}, - uint32_t sharedMemBytes_ = {}, - size_t paramCount_ = {}, - const void * const * pParams_ = {}, - size_t extraCount_ = {}, - const void * const * pExtras_ = {} ) VULKAN_HPP_NOEXCEPT - : function( function_ ) - , gridDimX( gridDimX_ ) - , gridDimY( gridDimY_ ) - , gridDimZ( gridDimZ_ ) - , blockDimX( blockDimX_ ) - , blockDimY( blockDimY_ ) - , blockDimZ( blockDimZ_ ) - , sharedMemBytes( sharedMemBytes_ ) - , paramCount( paramCount_ ) - , pParams( pParams_ ) - , extraCount( extraCount_ ) - , pExtras( pExtras_ ) - {} - - VULKAN_HPP_CONSTEXPR CuLaunchInfoNVX( CuLaunchInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuLaunchInfoNVX( VkCuLaunchInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : CuLaunchInfoNVX( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CuLaunchInfoNVX & operator=( CuLaunchInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuLaunchInfoNVX & operator=( VkCuLaunchInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CuLaunchInfoNVX & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CuLaunchInfoNVX & setFunction( VULKAN_HPP_NAMESPACE::CuFunctionNVX function_ ) VULKAN_HPP_NOEXCEPT - { - function = function_; - return *this; - } - - CuLaunchInfoNVX & setGridDimX( uint32_t gridDimX_ ) VULKAN_HPP_NOEXCEPT - { - gridDimX = gridDimX_; - return *this; - } - - CuLaunchInfoNVX & setGridDimY( uint32_t gridDimY_ ) VULKAN_HPP_NOEXCEPT - { - gridDimY = gridDimY_; - return *this; - } - - CuLaunchInfoNVX & setGridDimZ( uint32_t gridDimZ_ ) VULKAN_HPP_NOEXCEPT - { - gridDimZ = gridDimZ_; - return *this; - } - - CuLaunchInfoNVX & setBlockDimX( uint32_t blockDimX_ ) VULKAN_HPP_NOEXCEPT - { - blockDimX = blockDimX_; - return *this; - } - - CuLaunchInfoNVX & setBlockDimY( uint32_t blockDimY_ ) VULKAN_HPP_NOEXCEPT - { - blockDimY = blockDimY_; - return *this; - } - - CuLaunchInfoNVX & setBlockDimZ( uint32_t blockDimZ_ ) VULKAN_HPP_NOEXCEPT - { - blockDimZ = blockDimZ_; - return *this; - } - - CuLaunchInfoNVX & setSharedMemBytes( uint32_t sharedMemBytes_ ) VULKAN_HPP_NOEXCEPT - { - sharedMemBytes = sharedMemBytes_; - return *this; - } - - CuLaunchInfoNVX & setParamCount( size_t paramCount_ ) VULKAN_HPP_NOEXCEPT - { - paramCount = paramCount_; - return *this; - } - - CuLaunchInfoNVX & setPParams( const void * const * pParams_ ) VULKAN_HPP_NOEXCEPT - { - pParams = pParams_; - return *this; - } - - CuLaunchInfoNVX & setExtraCount( size_t extraCount_ ) VULKAN_HPP_NOEXCEPT - { - extraCount = extraCount_; - return *this; - } - - CuLaunchInfoNVX & setPExtras( const void * const * pExtras_ ) VULKAN_HPP_NOEXCEPT - { - pExtras = pExtras_; - return *this; - } - - operator VkCuLaunchInfoNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCuLaunchInfoNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CuLaunchInfoNVX const & ) const = default; -#else - bool operator==( CuLaunchInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( function == rhs.function ) && - ( gridDimX == rhs.gridDimX ) && ( gridDimY == rhs.gridDimY ) && ( gridDimZ == rhs.gridDimZ ) && - ( blockDimX == rhs.blockDimX ) && ( blockDimY == rhs.blockDimY ) && ( blockDimZ == rhs.blockDimZ ) && - ( sharedMemBytes == rhs.sharedMemBytes ) && ( paramCount == rhs.paramCount ) && - ( pParams == rhs.pParams ) && ( extraCount == rhs.extraCount ) && ( pExtras == rhs.pExtras ); - } - - bool operator!=( CuLaunchInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCuLaunchInfoNVX; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CuFunctionNVX function = {}; - uint32_t gridDimX = {}; - uint32_t gridDimY = {}; - uint32_t gridDimZ = {}; - uint32_t blockDimX = {}; - uint32_t blockDimY = {}; - uint32_t blockDimZ = {}; - uint32_t sharedMemBytes = {}; - size_t paramCount = {}; - const void * const * pParams = {}; - size_t extraCount = {}; - const void * const * pExtras = {}; - }; - static_assert( sizeof( CuLaunchInfoNVX ) == sizeof( VkCuLaunchInfoNVX ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CuLaunchInfoNVX; - }; - - struct DebugMarkerMarkerInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerMarkerInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 DebugMarkerMarkerInfoEXT( const char * pMarkerName_ = {}, - std::array const & color_ = {} ) VULKAN_HPP_NOEXCEPT - : pMarkerName( pMarkerName_ ) - , color( color_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - DebugMarkerMarkerInfoEXT( DebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerMarkerInfoEXT( VkDebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugMarkerMarkerInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugMarkerMarkerInfoEXT & - operator=( DebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerMarkerInfoEXT & operator=( VkDebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugMarkerMarkerInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugMarkerMarkerInfoEXT & setPMarkerName( const char * pMarkerName_ ) VULKAN_HPP_NOEXCEPT - { - pMarkerName = pMarkerName_; - return *this; - } - - DebugMarkerMarkerInfoEXT & setColor( std::array color_ ) VULKAN_HPP_NOEXCEPT - { - color = color_; - return *this; - } - - operator VkDebugMarkerMarkerInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugMarkerMarkerInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugMarkerMarkerInfoEXT const & ) const = default; -#else - bool operator==( DebugMarkerMarkerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pMarkerName == rhs.pMarkerName ) && - ( color == rhs.color ); - } - - bool operator!=( DebugMarkerMarkerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerMarkerInfoEXT; - const void * pNext = {}; - const char * pMarkerName = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D color = {}; - }; - static_assert( sizeof( DebugMarkerMarkerInfoEXT ) == sizeof( VkDebugMarkerMarkerInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugMarkerMarkerInfoEXT; - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeInfoKHR( - VULKAN_HPP_NAMESPACE::VideoDecodeFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D codedOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D codedExtent_ = {}, - VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferRange_ = {}, - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR dstPictureResource_ = {}, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_ = {}, - uint32_t referenceSlotCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , codedOffset( codedOffset_ ) - , codedExtent( codedExtent_ ) - , srcBuffer( srcBuffer_ ) - , srcBufferOffset( srcBufferOffset_ ) - , srcBufferRange( srcBufferRange_ ) - , dstPictureResource( dstPictureResource_ ) - , pSetupReferenceSlot( pSetupReferenceSlot_ ) - , referenceSlotCount( referenceSlotCount_ ) - , pReferenceSlots( pReferenceSlots_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeInfoKHR( VideoDecodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeInfoKHR( VkVideoDecodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeInfoKHR( - VULKAN_HPP_NAMESPACE::VideoDecodeFlagsKHR flags_, - VULKAN_HPP_NAMESPACE::Offset2D codedOffset_, - VULKAN_HPP_NAMESPACE::Extent2D codedExtent_, - VULKAN_HPP_NAMESPACE::Buffer srcBuffer_, - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferOffset_, - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferRange_, - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR dstPictureResource_, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) - : flags( flags_ ) - , codedOffset( codedOffset_ ) - , codedExtent( codedExtent_ ) - , srcBuffer( srcBuffer_ ) - , srcBufferOffset( srcBufferOffset_ ) - , srcBufferRange( srcBufferRange_ ) - , dstPictureResource( dstPictureResource_ ) - , pSetupReferenceSlot( pSetupReferenceSlot_ ) - , referenceSlotCount( static_cast( referenceSlots_.size() ) ) - , pReferenceSlots( referenceSlots_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeInfoKHR & - operator=( VideoDecodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeInfoKHR & operator=( VkVideoDecodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoDecodeFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoDecodeInfoKHR & setCodedOffset( VULKAN_HPP_NAMESPACE::Offset2D const & codedOffset_ ) VULKAN_HPP_NOEXCEPT - { - codedOffset = codedOffset_; - return *this; - } - - VideoDecodeInfoKHR & setCodedExtent( VULKAN_HPP_NAMESPACE::Extent2D const & codedExtent_ ) VULKAN_HPP_NOEXCEPT - { - codedExtent = codedExtent_; - return *this; - } - - VideoDecodeInfoKHR & setSrcBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ ) VULKAN_HPP_NOEXCEPT - { - srcBuffer = srcBuffer_; - return *this; - } - - VideoDecodeInfoKHR & setSrcBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize srcBufferOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcBufferOffset = srcBufferOffset_; - return *this; - } - - VideoDecodeInfoKHR & setSrcBufferRange( VULKAN_HPP_NAMESPACE::DeviceSize srcBufferRange_ ) VULKAN_HPP_NOEXCEPT - { - srcBufferRange = srcBufferRange_; - return *this; - } - - VideoDecodeInfoKHR & setDstPictureResource( - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR const & dstPictureResource_ ) VULKAN_HPP_NOEXCEPT - { - dstPictureResource = dstPictureResource_; - return *this; - } - - VideoDecodeInfoKHR & setPSetupReferenceSlot( - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_ ) VULKAN_HPP_NOEXCEPT - { - pSetupReferenceSlot = pSetupReferenceSlot_; - return *this; - } - - VideoDecodeInfoKHR & setReferenceSlotCount( uint32_t referenceSlotCount_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = referenceSlotCount_; - return *this; - } - - VideoDecodeInfoKHR & - setPReferenceSlots( const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - pReferenceSlots = pReferenceSlots_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeInfoKHR & setReferenceSlots( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = static_cast( referenceSlots_.size() ); - pReferenceSlots = referenceSlots_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoDecodeInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeInfoKHR const & ) const = default; -# else - bool operator==( VideoDecodeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( codedOffset == rhs.codedOffset ) && ( codedExtent == rhs.codedExtent ) && - ( srcBuffer == rhs.srcBuffer ) && ( srcBufferOffset == rhs.srcBufferOffset ) && - ( srcBufferRange == rhs.srcBufferRange ) && ( dstPictureResource == rhs.dstPictureResource ) && - ( pSetupReferenceSlot == rhs.pSetupReferenceSlot ) && ( referenceSlotCount == rhs.referenceSlotCount ) && - ( pReferenceSlots == rhs.pReferenceSlots ); - } - - bool operator!=( VideoDecodeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoDecodeFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::Offset2D codedOffset = {}; - VULKAN_HPP_NAMESPACE::Extent2D codedExtent = {}; - VULKAN_HPP_NAMESPACE::Buffer srcBuffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize srcBufferRange = {}; - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR dstPictureResource = {}; - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot = {}; - uint32_t referenceSlotCount = {}; - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots = {}; - }; - static_assert( sizeof( VideoDecodeInfoKHR ) == sizeof( VkVideoDecodeInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeInfoKHR( - VULKAN_HPP_NAMESPACE::VideoEncodeFlagsKHR flags_ = {}, - uint32_t qualityLevel_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D codedExtent_ = {}, - VULKAN_HPP_NAMESPACE::Buffer dstBitstreamBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferMaxRange_ = {}, - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR srcPictureResource_ = {}, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_ = {}, - uint32_t referenceSlotCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , qualityLevel( qualityLevel_ ) - , codedExtent( codedExtent_ ) - , dstBitstreamBuffer( dstBitstreamBuffer_ ) - , dstBitstreamBufferOffset( dstBitstreamBufferOffset_ ) - , dstBitstreamBufferMaxRange( dstBitstreamBufferMaxRange_ ) - , srcPictureResource( srcPictureResource_ ) - , pSetupReferenceSlot( pSetupReferenceSlot_ ) - , referenceSlotCount( referenceSlotCount_ ) - , pReferenceSlots( pReferenceSlots_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoEncodeInfoKHR( VideoEncodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeInfoKHR( VkVideoEncodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeInfoKHR( - VULKAN_HPP_NAMESPACE::VideoEncodeFlagsKHR flags_, - uint32_t qualityLevel_, - VULKAN_HPP_NAMESPACE::Extent2D codedExtent_, - VULKAN_HPP_NAMESPACE::Buffer dstBitstreamBuffer_, - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferOffset_, - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferMaxRange_, - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR srcPictureResource_, - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) - : flags( flags_ ) - , qualityLevel( qualityLevel_ ) - , codedExtent( codedExtent_ ) - , dstBitstreamBuffer( dstBitstreamBuffer_ ) - , dstBitstreamBufferOffset( dstBitstreamBufferOffset_ ) - , dstBitstreamBufferMaxRange( dstBitstreamBufferMaxRange_ ) - , srcPictureResource( srcPictureResource_ ) - , pSetupReferenceSlot( pSetupReferenceSlot_ ) - , referenceSlotCount( static_cast( referenceSlots_.size() ) ) - , pReferenceSlots( referenceSlots_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeInfoKHR & - operator=( VideoEncodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeInfoKHR & operator=( VkVideoEncodeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoEncodeFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoEncodeInfoKHR & setQualityLevel( uint32_t qualityLevel_ ) VULKAN_HPP_NOEXCEPT - { - qualityLevel = qualityLevel_; - return *this; - } - - VideoEncodeInfoKHR & setCodedExtent( VULKAN_HPP_NAMESPACE::Extent2D const & codedExtent_ ) VULKAN_HPP_NOEXCEPT - { - codedExtent = codedExtent_; - return *this; - } - - VideoEncodeInfoKHR & setDstBitstreamBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBitstreamBuffer_ ) VULKAN_HPP_NOEXCEPT - { - dstBitstreamBuffer = dstBitstreamBuffer_; - return *this; - } - - VideoEncodeInfoKHR & - setDstBitstreamBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstBitstreamBufferOffset = dstBitstreamBufferOffset_; - return *this; - } - - VideoEncodeInfoKHR & - setDstBitstreamBufferMaxRange( VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferMaxRange_ ) VULKAN_HPP_NOEXCEPT - { - dstBitstreamBufferMaxRange = dstBitstreamBufferMaxRange_; - return *this; - } - - VideoEncodeInfoKHR & setSrcPictureResource( - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR const & srcPictureResource_ ) VULKAN_HPP_NOEXCEPT - { - srcPictureResource = srcPictureResource_; - return *this; - } - - VideoEncodeInfoKHR & setPSetupReferenceSlot( - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot_ ) VULKAN_HPP_NOEXCEPT - { - pSetupReferenceSlot = pSetupReferenceSlot_; - return *this; - } - - VideoEncodeInfoKHR & setReferenceSlotCount( uint32_t referenceSlotCount_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = referenceSlotCount_; - return *this; - } - - VideoEncodeInfoKHR & - setPReferenceSlots( const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - pReferenceSlots = pReferenceSlots_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeInfoKHR & setReferenceSlots( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - referenceSlots_ ) VULKAN_HPP_NOEXCEPT - { - referenceSlotCount = static_cast( referenceSlots_.size() ); - pReferenceSlots = referenceSlots_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoEncodeInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeInfoKHR const & ) const = default; -# else - bool operator==( VideoEncodeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( qualityLevel == rhs.qualityLevel ) && ( codedExtent == rhs.codedExtent ) && - ( dstBitstreamBuffer == rhs.dstBitstreamBuffer ) && - ( dstBitstreamBufferOffset == rhs.dstBitstreamBufferOffset ) && - ( dstBitstreamBufferMaxRange == rhs.dstBitstreamBufferMaxRange ) && - ( srcPictureResource == rhs.srcPictureResource ) && ( pSetupReferenceSlot == rhs.pSetupReferenceSlot ) && - ( referenceSlotCount == rhs.referenceSlotCount ) && ( pReferenceSlots == rhs.pReferenceSlots ); - } - - bool operator!=( VideoEncodeInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeFlagsKHR flags = {}; - uint32_t qualityLevel = {}; - VULKAN_HPP_NAMESPACE::Extent2D codedExtent = {}; - VULKAN_HPP_NAMESPACE::Buffer dstBitstreamBuffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize dstBitstreamBufferMaxRange = {}; - VULKAN_HPP_NAMESPACE::VideoPictureResourceKHR srcPictureResource = {}; - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pSetupReferenceSlot = {}; - uint32_t referenceSlotCount = {}; - const VULKAN_HPP_NAMESPACE::VideoReferenceSlotKHR * pReferenceSlots = {}; - }; - static_assert( sizeof( VideoEncodeInfoKHR ) == sizeof( VkVideoEncodeInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct SubpassEndInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassEndInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassEndInfo() VULKAN_HPP_NOEXCEPT {} - - VULKAN_HPP_CONSTEXPR SubpassEndInfo( SubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassEndInfo( VkSubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassEndInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassEndInfo & operator=( SubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassEndInfo & operator=( VkSubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassEndInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - operator VkSubpassEndInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassEndInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassEndInfo const & ) const = default; -#else - bool operator==( SubpassEndInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ); - } - - bool operator!=( SubpassEndInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassEndInfo; - const void * pNext = {}; - }; - static_assert( sizeof( SubpassEndInfo ) == sizeof( VkSubpassEndInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubpassEndInfo; - }; - using SubpassEndInfoKHR = SubpassEndInfo; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEndCodingInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEndCodingInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoEndCodingInfoKHR( VULKAN_HPP_NAMESPACE::VideoEndCodingFlagsKHR flags_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoEndCodingInfoKHR( VideoEndCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEndCodingInfoKHR( VkVideoEndCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEndCodingInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEndCodingInfoKHR & - operator=( VideoEndCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEndCodingInfoKHR & operator=( VkVideoEndCodingInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEndCodingInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEndCodingInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoEndCodingFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkVideoEndCodingInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEndCodingInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEndCodingInfoKHR const & ) const = default; -# else - bool operator==( VideoEndCodingInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( VideoEndCodingInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEndCodingInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoEndCodingFlagsKHR flags = {}; - }; - static_assert( sizeof( VideoEndCodingInfoKHR ) == sizeof( VkVideoEndCodingInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEndCodingInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - class IndirectCommandsLayoutNV - { - public: - using CType = VkIndirectCommandsLayoutNV; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eIndirectCommandsLayoutNV; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNV() = default; - VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNV( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - IndirectCommandsLayoutNV( VkIndirectCommandsLayoutNV indirectCommandsLayoutNV ) VULKAN_HPP_NOEXCEPT - : m_indirectCommandsLayoutNV( indirectCommandsLayoutNV ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - IndirectCommandsLayoutNV & operator=( VkIndirectCommandsLayoutNV indirectCommandsLayoutNV ) VULKAN_HPP_NOEXCEPT - { - m_indirectCommandsLayoutNV = indirectCommandsLayoutNV; - return *this; - } -#endif - - IndirectCommandsLayoutNV & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_indirectCommandsLayoutNV = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( IndirectCommandsLayoutNV const & ) const = default; -#else - bool operator==( IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV == rhs.m_indirectCommandsLayoutNV; - } - - bool operator!=( IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV != rhs.m_indirectCommandsLayoutNV; - } - - bool operator<( IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV < rhs.m_indirectCommandsLayoutNV; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkIndirectCommandsLayoutNV() const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_indirectCommandsLayoutNV == VK_NULL_HANDLE; - } - - private: - VkIndirectCommandsLayoutNV m_indirectCommandsLayoutNV = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV ) == sizeof( VkIndirectCommandsLayoutNV ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct IndirectCommandsStreamNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR IndirectCommandsStreamNV( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - , offset( offset_ ) - {} - - VULKAN_HPP_CONSTEXPR IndirectCommandsStreamNV( IndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsStreamNV( VkIndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT - : IndirectCommandsStreamNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 IndirectCommandsStreamNV & - operator=( IndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsStreamNV & operator=( VkIndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - IndirectCommandsStreamNV & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - IndirectCommandsStreamNV & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - operator VkIndirectCommandsStreamNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkIndirectCommandsStreamNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( IndirectCommandsStreamNV const & ) const = default; -#else - bool operator==( IndirectCommandsStreamNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( buffer == rhs.buffer ) && ( offset == rhs.offset ); - } - - bool operator!=( IndirectCommandsStreamNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - }; - static_assert( sizeof( IndirectCommandsStreamNV ) == sizeof( VkIndirectCommandsStreamNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct GeneratedCommandsInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeneratedCommandsInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GeneratedCommandsInfoNV( - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ = {}, - uint32_t streamCount_ = {}, - const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV * pStreams_ = {}, - uint32_t sequencesCount_ = {}, - VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ = {}, - VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ = {}, - VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : pipelineBindPoint( pipelineBindPoint_ ) - , pipeline( pipeline_ ) - , indirectCommandsLayout( indirectCommandsLayout_ ) - , streamCount( streamCount_ ) - , pStreams( pStreams_ ) - , sequencesCount( sequencesCount_ ) - , preprocessBuffer( preprocessBuffer_ ) - , preprocessOffset( preprocessOffset_ ) - , preprocessSize( preprocessSize_ ) - , sequencesCountBuffer( sequencesCountBuffer_ ) - , sequencesCountOffset( sequencesCountOffset_ ) - , sequencesIndexBuffer( sequencesIndexBuffer_ ) - , sequencesIndexOffset( sequencesIndexOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR GeneratedCommandsInfoNV( GeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeneratedCommandsInfoNV( VkGeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GeneratedCommandsInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GeneratedCommandsInfoNV( - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, - VULKAN_HPP_NAMESPACE::Pipeline pipeline_, - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - streams_, - uint32_t sequencesCount_ = {}, - VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ = {}, - VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ = {}, - VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ = {} ) - : pipelineBindPoint( pipelineBindPoint_ ) - , pipeline( pipeline_ ) - , indirectCommandsLayout( indirectCommandsLayout_ ) - , streamCount( static_cast( streams_.size() ) ) - , pStreams( streams_.data() ) - , sequencesCount( sequencesCount_ ) - , preprocessBuffer( preprocessBuffer_ ) - , preprocessOffset( preprocessOffset_ ) - , preprocessSize( preprocessSize_ ) - , sequencesCountBuffer( sequencesCountBuffer_ ) - , sequencesCountOffset( sequencesCountOffset_ ) - , sequencesIndexBuffer( sequencesIndexBuffer_ ) - , sequencesIndexOffset( sequencesIndexOffset_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeneratedCommandsInfoNV & - operator=( GeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeneratedCommandsInfoNV & operator=( VkGeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeneratedCommandsInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GeneratedCommandsInfoNV & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - GeneratedCommandsInfoNV & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT - { - pipeline = pipeline_; - return *this; - } - - GeneratedCommandsInfoNV & setIndirectCommandsLayout( - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ ) VULKAN_HPP_NOEXCEPT - { - indirectCommandsLayout = indirectCommandsLayout_; - return *this; - } - - GeneratedCommandsInfoNV & setStreamCount( uint32_t streamCount_ ) VULKAN_HPP_NOEXCEPT - { - streamCount = streamCount_; - return *this; - } - - GeneratedCommandsInfoNV & - setPStreams( const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV * pStreams_ ) VULKAN_HPP_NOEXCEPT - { - pStreams = pStreams_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GeneratedCommandsInfoNV & setStreams( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - streams_ ) VULKAN_HPP_NOEXCEPT - { - streamCount = static_cast( streams_.size() ); - pStreams = streams_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - GeneratedCommandsInfoNV & setSequencesCount( uint32_t sequencesCount_ ) VULKAN_HPP_NOEXCEPT - { - sequencesCount = sequencesCount_; - return *this; - } - - GeneratedCommandsInfoNV & setPreprocessBuffer( VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ ) VULKAN_HPP_NOEXCEPT - { - preprocessBuffer = preprocessBuffer_; - return *this; - } - - GeneratedCommandsInfoNV & - setPreprocessOffset( VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ ) VULKAN_HPP_NOEXCEPT - { - preprocessOffset = preprocessOffset_; - return *this; - } - - GeneratedCommandsInfoNV & setPreprocessSize( VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ ) VULKAN_HPP_NOEXCEPT - { - preprocessSize = preprocessSize_; - return *this; - } - - GeneratedCommandsInfoNV & - setSequencesCountBuffer( VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ ) VULKAN_HPP_NOEXCEPT - { - sequencesCountBuffer = sequencesCountBuffer_; - return *this; - } - - GeneratedCommandsInfoNV & - setSequencesCountOffset( VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ ) VULKAN_HPP_NOEXCEPT - { - sequencesCountOffset = sequencesCountOffset_; - return *this; - } - - GeneratedCommandsInfoNV & - setSequencesIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ ) VULKAN_HPP_NOEXCEPT - { - sequencesIndexBuffer = sequencesIndexBuffer_; - return *this; - } - - GeneratedCommandsInfoNV & - setSequencesIndexOffset( VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ ) VULKAN_HPP_NOEXCEPT - { - sequencesIndexOffset = sequencesIndexOffset_; - return *this; - } - - operator VkGeneratedCommandsInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeneratedCommandsInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeneratedCommandsInfoNV const & ) const = default; -#else - bool operator==( GeneratedCommandsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pipelineBindPoint == rhs.pipelineBindPoint ) && - ( pipeline == rhs.pipeline ) && ( indirectCommandsLayout == rhs.indirectCommandsLayout ) && - ( streamCount == rhs.streamCount ) && ( pStreams == rhs.pStreams ) && - ( sequencesCount == rhs.sequencesCount ) && ( preprocessBuffer == rhs.preprocessBuffer ) && - ( preprocessOffset == rhs.preprocessOffset ) && ( preprocessSize == rhs.preprocessSize ) && - ( sequencesCountBuffer == rhs.sequencesCountBuffer ) && - ( sequencesCountOffset == rhs.sequencesCountOffset ) && - ( sequencesIndexBuffer == rhs.sequencesIndexBuffer ) && - ( sequencesIndexOffset == rhs.sequencesIndexOffset ); - } - - bool operator!=( GeneratedCommandsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeneratedCommandsInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout = {}; - uint32_t streamCount = {}; - const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV * pStreams = {}; - uint32_t sequencesCount = {}; - VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize = {}; - VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset = {}; - VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset = {}; - }; - static_assert( sizeof( GeneratedCommandsInfoNV ) == sizeof( VkGeneratedCommandsInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GeneratedCommandsInfoNV; - }; - - struct MemoryBarrier - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryBarrier; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryBarrier( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {} ) VULKAN_HPP_NOEXCEPT - : srcAccessMask( srcAccessMask_ ) - , dstAccessMask( dstAccessMask_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryBarrier( MemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryBarrier( VkMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryBarrier( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryBarrier & operator=( MemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryBarrier & operator=( VkMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryBarrier & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - MemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - operator VkMemoryBarrier const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryBarrier &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryBarrier const & ) const = default; -#else - bool operator==( MemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcAccessMask == rhs.srcAccessMask ) && - ( dstAccessMask == rhs.dstAccessMask ); - } - - bool operator!=( MemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryBarrier; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; - }; - static_assert( sizeof( MemoryBarrier ) == sizeof( VkMemoryBarrier ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryBarrier; - }; - - struct ImageMemoryBarrier - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageMemoryBarrier; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageMemoryBarrier( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t srcQueueFamilyIndex_ = {}, - uint32_t dstQueueFamilyIndex_ = {}, - VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {} ) VULKAN_HPP_NOEXCEPT - : srcAccessMask( srcAccessMask_ ) - , dstAccessMask( dstAccessMask_ ) - , oldLayout( oldLayout_ ) - , newLayout( newLayout_ ) - , srcQueueFamilyIndex( srcQueueFamilyIndex_ ) - , dstQueueFamilyIndex( dstQueueFamilyIndex_ ) - , image( image_ ) - , subresourceRange( subresourceRange_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageMemoryBarrier( ImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryBarrier( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageMemoryBarrier( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageMemoryBarrier & - operator=( ImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryBarrier & operator=( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageMemoryBarrier & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageMemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - ImageMemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - ImageMemoryBarrier & setOldLayout( VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ ) VULKAN_HPP_NOEXCEPT - { - oldLayout = oldLayout_; - return *this; - } - - ImageMemoryBarrier & setNewLayout( VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ ) VULKAN_HPP_NOEXCEPT - { - newLayout = newLayout_; - return *this; - } - - ImageMemoryBarrier & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - srcQueueFamilyIndex = srcQueueFamilyIndex_; - return *this; - } - - ImageMemoryBarrier & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - dstQueueFamilyIndex = dstQueueFamilyIndex_; - return *this; - } - - ImageMemoryBarrier & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - ImageMemoryBarrier & - setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange const & subresourceRange_ ) VULKAN_HPP_NOEXCEPT - { - subresourceRange = subresourceRange_; - return *this; - } - - operator VkImageMemoryBarrier const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageMemoryBarrier &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageMemoryBarrier const & ) const = default; -#else - bool operator==( ImageMemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcAccessMask == rhs.srcAccessMask ) && - ( dstAccessMask == rhs.dstAccessMask ) && ( oldLayout == rhs.oldLayout ) && - ( newLayout == rhs.newLayout ) && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) && - ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) && ( image == rhs.image ) && - ( subresourceRange == rhs.subresourceRange ); - } - - bool operator!=( ImageMemoryBarrier const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryBarrier; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; - VULKAN_HPP_NAMESPACE::ImageLayout oldLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageLayout newLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t srcQueueFamilyIndex = {}; - uint32_t dstQueueFamilyIndex = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {}; - }; - static_assert( sizeof( ImageMemoryBarrier ) == sizeof( VkImageMemoryBarrier ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageMemoryBarrier; - }; - - struct MemoryBarrier2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryBarrier2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryBarrier2KHR( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ = {} ) VULKAN_HPP_NOEXCEPT - : srcStageMask( srcStageMask_ ) - , srcAccessMask( srcAccessMask_ ) - , dstStageMask( dstStageMask_ ) - , dstAccessMask( dstAccessMask_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryBarrier2KHR( MemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryBarrier2KHR( VkMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryBarrier2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryBarrier2KHR & - operator=( MemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryBarrier2KHR & operator=( VkMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryBarrier2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryBarrier2KHR & - setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ ) VULKAN_HPP_NOEXCEPT - { - srcStageMask = srcStageMask_; - return *this; - } - - MemoryBarrier2KHR & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - MemoryBarrier2KHR & - setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - dstStageMask = dstStageMask_; - return *this; - } - - MemoryBarrier2KHR & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - operator VkMemoryBarrier2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryBarrier2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryBarrier2KHR const & ) const = default; -#else - bool operator==( MemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcStageMask == rhs.srcStageMask ) && - ( srcAccessMask == rhs.srcAccessMask ) && ( dstStageMask == rhs.dstStageMask ) && - ( dstAccessMask == rhs.dstAccessMask ); - } - - bool operator!=( MemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryBarrier2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask = {}; - }; - static_assert( sizeof( MemoryBarrier2KHR ) == sizeof( VkMemoryBarrier2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryBarrier2KHR; - }; - - struct ImageMemoryBarrier2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageMemoryBarrier2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageMemoryBarrier2KHR( - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t srcQueueFamilyIndex_ = {}, - uint32_t dstQueueFamilyIndex_ = {}, - VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {} ) VULKAN_HPP_NOEXCEPT - : srcStageMask( srcStageMask_ ) - , srcAccessMask( srcAccessMask_ ) - , dstStageMask( dstStageMask_ ) - , dstAccessMask( dstAccessMask_ ) - , oldLayout( oldLayout_ ) - , newLayout( newLayout_ ) - , srcQueueFamilyIndex( srcQueueFamilyIndex_ ) - , dstQueueFamilyIndex( dstQueueFamilyIndex_ ) - , image( image_ ) - , subresourceRange( subresourceRange_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageMemoryBarrier2KHR( ImageMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryBarrier2KHR( VkImageMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageMemoryBarrier2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageMemoryBarrier2KHR & - operator=( ImageMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryBarrier2KHR & operator=( VkImageMemoryBarrier2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageMemoryBarrier2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageMemoryBarrier2KHR & - setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask_ ) VULKAN_HPP_NOEXCEPT - { - srcStageMask = srcStageMask_; - return *this; - } - - ImageMemoryBarrier2KHR & - setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - ImageMemoryBarrier2KHR & - setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - dstStageMask = dstStageMask_; - return *this; - } - - ImageMemoryBarrier2KHR & - setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - ImageMemoryBarrier2KHR & setOldLayout( VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ ) VULKAN_HPP_NOEXCEPT - { - oldLayout = oldLayout_; - return *this; - } - - ImageMemoryBarrier2KHR & setNewLayout( VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ ) VULKAN_HPP_NOEXCEPT - { - newLayout = newLayout_; - return *this; - } - - ImageMemoryBarrier2KHR & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - srcQueueFamilyIndex = srcQueueFamilyIndex_; - return *this; - } - - ImageMemoryBarrier2KHR & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - dstQueueFamilyIndex = dstQueueFamilyIndex_; - return *this; - } - - ImageMemoryBarrier2KHR & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - ImageMemoryBarrier2KHR & - setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange const & subresourceRange_ ) VULKAN_HPP_NOEXCEPT - { - subresourceRange = subresourceRange_; - return *this; - } - - operator VkImageMemoryBarrier2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageMemoryBarrier2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageMemoryBarrier2KHR const & ) const = default; -#else - bool operator==( ImageMemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcStageMask == rhs.srcStageMask ) && - ( srcAccessMask == rhs.srcAccessMask ) && ( dstStageMask == rhs.dstStageMask ) && - ( dstAccessMask == rhs.dstAccessMask ) && ( oldLayout == rhs.oldLayout ) && - ( newLayout == rhs.newLayout ) && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) && - ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) && ( image == rhs.image ) && - ( subresourceRange == rhs.subresourceRange ); - } - - bool operator!=( ImageMemoryBarrier2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryBarrier2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR srcStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR dstStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags2KHR dstAccessMask = {}; - VULKAN_HPP_NAMESPACE::ImageLayout oldLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::ImageLayout newLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t srcQueueFamilyIndex = {}; - uint32_t dstQueueFamilyIndex = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {}; - }; - static_assert( sizeof( ImageMemoryBarrier2KHR ) == sizeof( VkImageMemoryBarrier2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageMemoryBarrier2KHR; - }; - - struct DependencyInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDependencyInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DependencyInfoKHR( - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ = {}, - uint32_t memoryBarrierCount_ = {}, - const VULKAN_HPP_NAMESPACE::MemoryBarrier2KHR * pMemoryBarriers_ = {}, - uint32_t bufferMemoryBarrierCount_ = {}, - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier2KHR * pBufferMemoryBarriers_ = {}, - uint32_t imageMemoryBarrierCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier2KHR * pImageMemoryBarriers_ = {} ) VULKAN_HPP_NOEXCEPT - : dependencyFlags( dependencyFlags_ ) - , memoryBarrierCount( memoryBarrierCount_ ) - , pMemoryBarriers( pMemoryBarriers_ ) - , bufferMemoryBarrierCount( bufferMemoryBarrierCount_ ) - , pBufferMemoryBarriers( pBufferMemoryBarriers_ ) - , imageMemoryBarrierCount( imageMemoryBarrierCount_ ) - , pImageMemoryBarriers( pImageMemoryBarriers_ ) - {} - - VULKAN_HPP_CONSTEXPR DependencyInfoKHR( DependencyInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DependencyInfoKHR( VkDependencyInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DependencyInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DependencyInfoKHR( - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - memoryBarriers_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferMemoryBarriers_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageMemoryBarriers_ = {} ) - : dependencyFlags( dependencyFlags_ ) - , memoryBarrierCount( static_cast( memoryBarriers_.size() ) ) - , pMemoryBarriers( memoryBarriers_.data() ) - , bufferMemoryBarrierCount( static_cast( bufferMemoryBarriers_.size() ) ) - , pBufferMemoryBarriers( bufferMemoryBarriers_.data() ) - , imageMemoryBarrierCount( static_cast( imageMemoryBarriers_.size() ) ) - , pImageMemoryBarriers( imageMemoryBarriers_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DependencyInfoKHR & - operator=( DependencyInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DependencyInfoKHR & operator=( VkDependencyInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DependencyInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DependencyInfoKHR & setDependencyFlags( VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ ) VULKAN_HPP_NOEXCEPT - { - dependencyFlags = dependencyFlags_; - return *this; - } - - DependencyInfoKHR & setMemoryBarrierCount( uint32_t memoryBarrierCount_ ) VULKAN_HPP_NOEXCEPT - { - memoryBarrierCount = memoryBarrierCount_; - return *this; - } - - DependencyInfoKHR & - setPMemoryBarriers( const VULKAN_HPP_NAMESPACE::MemoryBarrier2KHR * pMemoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - pMemoryBarriers = pMemoryBarriers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DependencyInfoKHR & setMemoryBarriers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - memoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - memoryBarrierCount = static_cast( memoryBarriers_.size() ); - pMemoryBarriers = memoryBarriers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DependencyInfoKHR & setBufferMemoryBarrierCount( uint32_t bufferMemoryBarrierCount_ ) VULKAN_HPP_NOEXCEPT - { - bufferMemoryBarrierCount = bufferMemoryBarrierCount_; - return *this; - } - - DependencyInfoKHR & setPBufferMemoryBarriers( - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier2KHR * pBufferMemoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - pBufferMemoryBarriers = pBufferMemoryBarriers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DependencyInfoKHR & setBufferMemoryBarriers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferMemoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - bufferMemoryBarrierCount = static_cast( bufferMemoryBarriers_.size() ); - pBufferMemoryBarriers = bufferMemoryBarriers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DependencyInfoKHR & setImageMemoryBarrierCount( uint32_t imageMemoryBarrierCount_ ) VULKAN_HPP_NOEXCEPT - { - imageMemoryBarrierCount = imageMemoryBarrierCount_; - return *this; - } - - DependencyInfoKHR & setPImageMemoryBarriers( - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier2KHR * pImageMemoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - pImageMemoryBarriers = pImageMemoryBarriers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DependencyInfoKHR & setImageMemoryBarriers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageMemoryBarriers_ ) VULKAN_HPP_NOEXCEPT - { - imageMemoryBarrierCount = static_cast( imageMemoryBarriers_.size() ); - pImageMemoryBarriers = imageMemoryBarriers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDependencyInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDependencyInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DependencyInfoKHR const & ) const = default; -#else - bool operator==( DependencyInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dependencyFlags == rhs.dependencyFlags ) && - ( memoryBarrierCount == rhs.memoryBarrierCount ) && ( pMemoryBarriers == rhs.pMemoryBarriers ) && - ( bufferMemoryBarrierCount == rhs.bufferMemoryBarrierCount ) && - ( pBufferMemoryBarriers == rhs.pBufferMemoryBarriers ) && - ( imageMemoryBarrierCount == rhs.imageMemoryBarrierCount ) && - ( pImageMemoryBarriers == rhs.pImageMemoryBarriers ); - } - - bool operator!=( DependencyInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDependencyInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags = {}; - uint32_t memoryBarrierCount = {}; - const VULKAN_HPP_NAMESPACE::MemoryBarrier2KHR * pMemoryBarriers = {}; - uint32_t bufferMemoryBarrierCount = {}; - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier2KHR * pBufferMemoryBarriers = {}; - uint32_t imageMemoryBarrierCount = {}; - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier2KHR * pImageMemoryBarriers = {}; - }; - static_assert( sizeof( DependencyInfoKHR ) == sizeof( VkDependencyInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DependencyInfoKHR; - }; - - class Sampler - { - public: - using CType = VkSampler; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eSampler; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSampler; - - public: - VULKAN_HPP_CONSTEXPR Sampler() = default; - VULKAN_HPP_CONSTEXPR Sampler( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Sampler( VkSampler sampler ) VULKAN_HPP_NOEXCEPT : m_sampler( sampler ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Sampler & operator=( VkSampler sampler ) VULKAN_HPP_NOEXCEPT - { - m_sampler = sampler; - return *this; - } -#endif - - Sampler & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_sampler = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Sampler const & ) const = default; -#else - bool operator==( Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_sampler == rhs.m_sampler; - } - - bool operator!=( Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_sampler != rhs.m_sampler; - } - - bool operator<( Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_sampler < rhs.m_sampler; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSampler() const VULKAN_HPP_NOEXCEPT - { - return m_sampler; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_sampler != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_sampler == VK_NULL_HANDLE; - } - - private: - VkSampler m_sampler = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Sampler ) == sizeof( VkSampler ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Sampler; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Sampler; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Sampler; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct DescriptorImageInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorImageInfo( VULKAN_HPP_NAMESPACE::Sampler sampler_ = {}, - VULKAN_HPP_NAMESPACE::ImageView imageView_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout_ = - VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) VULKAN_HPP_NOEXCEPT - : sampler( sampler_ ) - , imageView( imageView_ ) - , imageLayout( imageLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorImageInfo( DescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorImageInfo( VkDescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorImageInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorImageInfo & - operator=( DescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorImageInfo & operator=( VkDescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorImageInfo & setSampler( VULKAN_HPP_NAMESPACE::Sampler sampler_ ) VULKAN_HPP_NOEXCEPT - { - sampler = sampler_; - return *this; - } - - DescriptorImageInfo & setImageView( VULKAN_HPP_NAMESPACE::ImageView imageView_ ) VULKAN_HPP_NOEXCEPT - { - imageView = imageView_; - return *this; - } - - DescriptorImageInfo & setImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout imageLayout_ ) VULKAN_HPP_NOEXCEPT - { - imageLayout = imageLayout_; - return *this; - } - - operator VkDescriptorImageInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorImageInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorImageInfo const & ) const = default; -#else - bool operator==( DescriptorImageInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sampler == rhs.sampler ) && ( imageView == rhs.imageView ) && ( imageLayout == rhs.imageLayout ); - } - - bool operator!=( DescriptorImageInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Sampler sampler = {}; - VULKAN_HPP_NAMESPACE::ImageView imageView = {}; - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( DescriptorImageInfo ) == sizeof( VkDescriptorImageInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DescriptorBufferInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorBufferInfo( VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize range_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - , offset( offset_ ) - , range( range_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorBufferInfo( DescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorBufferInfo( VkDescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorBufferInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorBufferInfo & - operator=( DescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorBufferInfo & operator=( VkDescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorBufferInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - DescriptorBufferInfo & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - DescriptorBufferInfo & setRange( VULKAN_HPP_NAMESPACE::DeviceSize range_ ) VULKAN_HPP_NOEXCEPT - { - range = range_; - return *this; - } - - operator VkDescriptorBufferInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorBufferInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorBufferInfo const & ) const = default; -#else - bool operator==( DescriptorBufferInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( buffer == rhs.buffer ) && ( offset == rhs.offset ) && ( range == rhs.range ); - } - - bool operator!=( DescriptorBufferInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize range = {}; - }; - static_assert( sizeof( DescriptorBufferInfo ) == sizeof( VkDescriptorBufferInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - class BufferView - { - public: - using CType = VkBufferView; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eBufferView; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eBufferView; - - public: - VULKAN_HPP_CONSTEXPR BufferView() = default; - VULKAN_HPP_CONSTEXPR BufferView( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT BufferView( VkBufferView bufferView ) VULKAN_HPP_NOEXCEPT : m_bufferView( bufferView ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - BufferView & operator=( VkBufferView bufferView ) VULKAN_HPP_NOEXCEPT - { - m_bufferView = bufferView; - return *this; - } -#endif - - BufferView & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_bufferView = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( BufferView const & ) const = default; -#else - bool operator==( BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_bufferView == rhs.m_bufferView; - } - - bool operator!=( BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_bufferView != rhs.m_bufferView; - } - - bool operator<( BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_bufferView < rhs.m_bufferView; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBufferView() const VULKAN_HPP_NOEXCEPT - { - return m_bufferView; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_bufferView != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_bufferView == VK_NULL_HANDLE; - } - - private: - VkBufferView m_bufferView = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::BufferView ) == sizeof( VkBufferView ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::BufferView; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::BufferView; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::BufferView; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct WriteDescriptorSet - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWriteDescriptorSet; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR WriteDescriptorSet( - VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ = {}, - uint32_t dstBinding_ = {}, - uint32_t dstArrayElement_ = {}, - uint32_t descriptorCount_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, - const VULKAN_HPP_NAMESPACE::DescriptorImageInfo * pImageInfo_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo * pBufferInfo_ = {}, - const VULKAN_HPP_NAMESPACE::BufferView * pTexelBufferView_ = {} ) VULKAN_HPP_NOEXCEPT - : dstSet( dstSet_ ) - , dstBinding( dstBinding_ ) - , dstArrayElement( dstArrayElement_ ) - , descriptorCount( descriptorCount_ ) - , descriptorType( descriptorType_ ) - , pImageInfo( pImageInfo_ ) - , pBufferInfo( pBufferInfo_ ) - , pTexelBufferView( pTexelBufferView_ ) - {} - - VULKAN_HPP_CONSTEXPR WriteDescriptorSet( WriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSet( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT - : WriteDescriptorSet( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSet( - VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_, - uint32_t dstBinding_, - uint32_t dstArrayElement_, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageInfo_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferInfo_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - texelBufferView_ = {} ) - : dstSet( dstSet_ ) - , dstBinding( dstBinding_ ) - , dstArrayElement( dstArrayElement_ ) - , descriptorCount( static_cast( !imageInfo_.empty() ? imageInfo_.size() - : !bufferInfo_.empty() ? bufferInfo_.size() - : texelBufferView_.size() ) ) - , descriptorType( descriptorType_ ) - , pImageInfo( imageInfo_.data() ) - , pBufferInfo( bufferInfo_.data() ) - , pTexelBufferView( texelBufferView_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() ) <= 1 ); -# else - if ( 1 < ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::WriteDescriptorSet::WriteDescriptorSet: 1 < ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() )" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 WriteDescriptorSet & - operator=( WriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSet & operator=( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - WriteDescriptorSet & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - WriteDescriptorSet & setDstSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ ) VULKAN_HPP_NOEXCEPT - { - dstSet = dstSet_; - return *this; - } - - WriteDescriptorSet & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT - { - dstBinding = dstBinding_; - return *this; - } - - WriteDescriptorSet & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT - { - dstArrayElement = dstArrayElement_; - return *this; - } - - WriteDescriptorSet & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = descriptorCount_; - return *this; - } - - WriteDescriptorSet & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT - { - descriptorType = descriptorType_; - return *this; - } - - WriteDescriptorSet & - setPImageInfo( const VULKAN_HPP_NAMESPACE::DescriptorImageInfo * pImageInfo_ ) VULKAN_HPP_NOEXCEPT - { - pImageInfo = pImageInfo_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSet & setImageInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - imageInfo_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = static_cast( imageInfo_.size() ); - pImageInfo = imageInfo_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - WriteDescriptorSet & - setPBufferInfo( const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo * pBufferInfo_ ) VULKAN_HPP_NOEXCEPT - { - pBufferInfo = pBufferInfo_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSet & setBufferInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bufferInfo_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = static_cast( bufferInfo_.size() ); - pBufferInfo = bufferInfo_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - WriteDescriptorSet & - setPTexelBufferView( const VULKAN_HPP_NAMESPACE::BufferView * pTexelBufferView_ ) VULKAN_HPP_NOEXCEPT - { - pTexelBufferView = pTexelBufferView_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSet & setTexelBufferView( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & texelBufferView_ ) - VULKAN_HPP_NOEXCEPT - { - descriptorCount = static_cast( texelBufferView_.size() ); - pTexelBufferView = texelBufferView_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWriteDescriptorSet const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWriteDescriptorSet &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( WriteDescriptorSet const & ) const = default; -#else - bool operator==( WriteDescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dstSet == rhs.dstSet ) && - ( dstBinding == rhs.dstBinding ) && ( dstArrayElement == rhs.dstArrayElement ) && - ( descriptorCount == rhs.descriptorCount ) && ( descriptorType == rhs.descriptorType ) && - ( pImageInfo == rhs.pImageInfo ) && ( pBufferInfo == rhs.pBufferInfo ) && - ( pTexelBufferView == rhs.pTexelBufferView ); - } - - bool operator!=( WriteDescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSet; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorSet dstSet = {}; - uint32_t dstBinding = {}; - uint32_t dstArrayElement = {}; - uint32_t descriptorCount = {}; - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; - const VULKAN_HPP_NAMESPACE::DescriptorImageInfo * pImageInfo = {}; - const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo * pBufferInfo = {}; - const VULKAN_HPP_NAMESPACE::BufferView * pTexelBufferView = {}; - }; - static_assert( sizeof( WriteDescriptorSet ) == sizeof( VkWriteDescriptorSet ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = WriteDescriptorSet; - }; - - class DescriptorUpdateTemplate - { - public: - using CType = VkDescriptorUpdateTemplate; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorUpdateTemplate; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorUpdateTemplate; - - public: - VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate() = default; - VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - DescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate ) VULKAN_HPP_NOEXCEPT - : m_descriptorUpdateTemplate( descriptorUpdateTemplate ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DescriptorUpdateTemplate & operator=( VkDescriptorUpdateTemplate descriptorUpdateTemplate ) VULKAN_HPP_NOEXCEPT - { - m_descriptorUpdateTemplate = descriptorUpdateTemplate; - return *this; - } -#endif - - DescriptorUpdateTemplate & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_descriptorUpdateTemplate = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorUpdateTemplate const & ) const = default; -#else - bool operator==( DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate == rhs.m_descriptorUpdateTemplate; - } - - bool operator!=( DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate != rhs.m_descriptorUpdateTemplate; - } - - bool operator<( DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate < rhs.m_descriptorUpdateTemplate; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorUpdateTemplate() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorUpdateTemplate == VK_NULL_HANDLE; - } - - private: - VkDescriptorUpdateTemplate m_descriptorUpdateTemplate = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate ) == sizeof( VkDescriptorUpdateTemplate ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate; - - class Event - { - public: - using CType = VkEvent; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eEvent; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eEvent; - - public: - VULKAN_HPP_CONSTEXPR Event() = default; - VULKAN_HPP_CONSTEXPR Event( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Event( VkEvent event ) VULKAN_HPP_NOEXCEPT : m_event( event ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Event & operator=( VkEvent event ) VULKAN_HPP_NOEXCEPT - { - m_event = event; - return *this; - } -#endif - - Event & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_event = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Event const & ) const = default; -#else - bool operator==( Event const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_event == rhs.m_event; - } - - bool operator!=( Event const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_event != rhs.m_event; - } - - bool operator<( Event const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_event < rhs.m_event; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkEvent() const VULKAN_HPP_NOEXCEPT - { - return m_event; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_event != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_event == VK_NULL_HANDLE; - } - - private: - VkEvent m_event = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Event ) == sizeof( VkEvent ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Event; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Event; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Event; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct ImageResolve - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageResolve( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffset( srcOffset_ ) - , dstSubresource( dstSubresource_ ) - , dstOffset( dstOffset_ ) - , extent( extent_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageResolve( ImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageResolve( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageResolve( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageResolve & operator=( ImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageResolve & operator=( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageResolve & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageResolve & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - ImageResolve & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageResolve & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - ImageResolve & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - operator VkImageResolve const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageResolve &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageResolve const & ) const = default; -#else - bool operator==( ImageResolve const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( srcSubresource == rhs.srcSubresource ) && ( srcOffset == rhs.srcOffset ) && - ( dstSubresource == rhs.dstSubresource ) && ( dstOffset == rhs.dstOffset ) && ( extent == rhs.extent ); - } - - bool operator!=( ImageResolve const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - }; - static_assert( sizeof( ImageResolve ) == sizeof( VkImageResolve ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ImageResolve2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageResolve2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageResolve2KHR( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, - VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubresource( srcSubresource_ ) - , srcOffset( srcOffset_ ) - , dstSubresource( dstSubresource_ ) - , dstOffset( dstOffset_ ) - , extent( extent_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageResolve2KHR( ImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageResolve2KHR( VkImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageResolve2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageResolve2KHR & operator=( ImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageResolve2KHR & operator=( VkImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageResolve2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageResolve2KHR & - setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT - { - srcSubresource = srcSubresource_; - return *this; - } - - ImageResolve2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT - { - srcOffset = srcOffset_; - return *this; - } - - ImageResolve2KHR & - setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT - { - dstSubresource = dstSubresource_; - return *this; - } - - ImageResolve2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT - { - dstOffset = dstOffset_; - return *this; - } - - ImageResolve2KHR & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - operator VkImageResolve2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageResolve2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageResolve2KHR const & ) const = default; -#else - bool operator==( ImageResolve2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcSubresource == rhs.srcSubresource ) && - ( srcOffset == rhs.srcOffset ) && ( dstSubresource == rhs.dstSubresource ) && - ( dstOffset == rhs.dstOffset ) && ( extent == rhs.extent ); - } - - bool operator!=( ImageResolve2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageResolve2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; - VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - }; - static_assert( sizeof( ImageResolve2KHR ) == sizeof( VkImageResolve2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageResolve2KHR; - }; - - struct ResolveImageInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eResolveImageInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ResolveImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, - uint32_t regionCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageResolve2KHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( regionCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR ResolveImageInfo2KHR( ResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ResolveImageInfo2KHR( VkResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ResolveImageInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ResolveImageInfo2KHR( - VULKAN_HPP_NAMESPACE::Image srcImage_, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, - VULKAN_HPP_NAMESPACE::Image dstImage_, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : srcImage( srcImage_ ) - , srcImageLayout( srcImageLayout_ ) - , dstImage( dstImage_ ) - , dstImageLayout( dstImageLayout_ ) - , regionCount( static_cast( regions_.size() ) ) - , pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ResolveImageInfo2KHR & - operator=( ResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ResolveImageInfo2KHR & operator=( VkResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ResolveImageInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ResolveImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT - { - srcImage = srcImage_; - return *this; - } - - ResolveImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - srcImageLayout = srcImageLayout_; - return *this; - } - - ResolveImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT - { - dstImage = dstImage_; - return *this; - } - - ResolveImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT - { - dstImageLayout = dstImageLayout_; - return *this; - } - - ResolveImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT - { - regionCount = regionCount_; - return *this; - } - - ResolveImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageResolve2KHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ResolveImageInfo2KHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - regionCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkResolveImageInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkResolveImageInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ResolveImageInfo2KHR const & ) const = default; -#else - bool operator==( ResolveImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcImage == rhs.srcImage ) && - ( srcImageLayout == rhs.srcImageLayout ) && ( dstImage == rhs.dstImage ) && - ( dstImageLayout == rhs.dstImageLayout ) && ( regionCount == rhs.regionCount ) && - ( pRegions == rhs.pRegions ); - } - - bool operator!=( ResolveImageInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eResolveImageInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image srcImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - VULKAN_HPP_NAMESPACE::Image dstImage = {}; - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - uint32_t regionCount = {}; - const VULKAN_HPP_NAMESPACE::ImageResolve2KHR * pRegions = {}; - }; - static_assert( sizeof( ResolveImageInfo2KHR ) == sizeof( VkResolveImageInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ResolveImageInfo2KHR; - }; - - struct PerformanceMarkerInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceMarkerInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PerformanceMarkerInfoINTEL( uint64_t marker_ = {} ) VULKAN_HPP_NOEXCEPT : marker( marker_ ) {} - - VULKAN_HPP_CONSTEXPR - PerformanceMarkerInfoINTEL( PerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceMarkerInfoINTEL( VkPerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceMarkerInfoINTEL( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceMarkerInfoINTEL & - operator=( PerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceMarkerInfoINTEL & operator=( VkPerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceMarkerInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PerformanceMarkerInfoINTEL & setMarker( uint64_t marker_ ) VULKAN_HPP_NOEXCEPT - { - marker = marker_; - return *this; - } - - operator VkPerformanceMarkerInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceMarkerInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceMarkerInfoINTEL const & ) const = default; -#else - bool operator==( PerformanceMarkerInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( marker == rhs.marker ); - } - - bool operator!=( PerformanceMarkerInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceMarkerInfoINTEL; - const void * pNext = {}; - uint64_t marker = {}; - }; - static_assert( sizeof( PerformanceMarkerInfoINTEL ) == sizeof( VkPerformanceMarkerInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceMarkerInfoINTEL; - }; - - struct PerformanceOverrideInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceOverrideInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PerformanceOverrideInfoINTEL( VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type_ = - VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL::eNullHardware, - VULKAN_HPP_NAMESPACE::Bool32 enable_ = {}, - uint64_t parameter_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , enable( enable_ ) - , parameter( parameter_ ) - {} - - VULKAN_HPP_CONSTEXPR - PerformanceOverrideInfoINTEL( PerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceOverrideInfoINTEL( VkPerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceOverrideInfoINTEL( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceOverrideInfoINTEL & - operator=( PerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceOverrideInfoINTEL & operator=( VkPerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceOverrideInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PerformanceOverrideInfoINTEL & - setType( VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - PerformanceOverrideInfoINTEL & setEnable( VULKAN_HPP_NAMESPACE::Bool32 enable_ ) VULKAN_HPP_NOEXCEPT - { - enable = enable_; - return *this; - } - - PerformanceOverrideInfoINTEL & setParameter( uint64_t parameter_ ) VULKAN_HPP_NOEXCEPT - { - parameter = parameter_; - return *this; - } - - operator VkPerformanceOverrideInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceOverrideInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceOverrideInfoINTEL const & ) const = default; -#else - bool operator==( PerformanceOverrideInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ) && ( enable == rhs.enable ) && - ( parameter == rhs.parameter ); - } - - bool operator!=( PerformanceOverrideInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceOverrideInfoINTEL; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type = - VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL::eNullHardware; - VULKAN_HPP_NAMESPACE::Bool32 enable = {}; - uint64_t parameter = {}; - }; - static_assert( sizeof( PerformanceOverrideInfoINTEL ) == sizeof( VkPerformanceOverrideInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceOverrideInfoINTEL; - }; - - struct PerformanceStreamMarkerInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceStreamMarkerInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PerformanceStreamMarkerInfoINTEL( uint32_t marker_ = {} ) VULKAN_HPP_NOEXCEPT - : marker( marker_ ) - {} - - VULKAN_HPP_CONSTEXPR - PerformanceStreamMarkerInfoINTEL( PerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceStreamMarkerInfoINTEL( VkPerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceStreamMarkerInfoINTEL( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceStreamMarkerInfoINTEL & - operator=( PerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceStreamMarkerInfoINTEL & operator=( VkPerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceStreamMarkerInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PerformanceStreamMarkerInfoINTEL & setMarker( uint32_t marker_ ) VULKAN_HPP_NOEXCEPT - { - marker = marker_; - return *this; - } - - operator VkPerformanceStreamMarkerInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceStreamMarkerInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceStreamMarkerInfoINTEL const & ) const = default; -#else - bool operator==( PerformanceStreamMarkerInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( marker == rhs.marker ); - } - - bool operator!=( PerformanceStreamMarkerInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceStreamMarkerInfoINTEL; - const void * pNext = {}; - uint32_t marker = {}; - }; - static_assert( sizeof( PerformanceStreamMarkerInfoINTEL ) == sizeof( VkPerformanceStreamMarkerInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceStreamMarkerInfoINTEL; - }; - - struct VertexInputBindingDescription2EXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVertexInputBindingDescription2EXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VertexInputBindingDescription2EXT( - uint32_t binding_ = {}, - uint32_t stride_ = {}, - VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ = VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex, - uint32_t divisor_ = {} ) VULKAN_HPP_NOEXCEPT - : binding( binding_ ) - , stride( stride_ ) - , inputRate( inputRate_ ) - , divisor( divisor_ ) - {} - - VULKAN_HPP_CONSTEXPR - VertexInputBindingDescription2EXT( VertexInputBindingDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDescription2EXT( VkVertexInputBindingDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VertexInputBindingDescription2EXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VertexInputBindingDescription2EXT & - operator=( VertexInputBindingDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDescription2EXT & operator=( VkVertexInputBindingDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VertexInputBindingDescription2EXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VertexInputBindingDescription2EXT & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - VertexInputBindingDescription2EXT & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - VertexInputBindingDescription2EXT & - setInputRate( VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ ) VULKAN_HPP_NOEXCEPT - { - inputRate = inputRate_; - return *this; - } - - VertexInputBindingDescription2EXT & setDivisor( uint32_t divisor_ ) VULKAN_HPP_NOEXCEPT - { - divisor = divisor_; - return *this; - } - - operator VkVertexInputBindingDescription2EXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVertexInputBindingDescription2EXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VertexInputBindingDescription2EXT const & ) const = default; -#else - bool operator==( VertexInputBindingDescription2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( binding == rhs.binding ) && - ( stride == rhs.stride ) && ( inputRate == rhs.inputRate ) && ( divisor == rhs.divisor ); - } - - bool operator!=( VertexInputBindingDescription2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVertexInputBindingDescription2EXT; - void * pNext = {}; - uint32_t binding = {}; - uint32_t stride = {}; - VULKAN_HPP_NAMESPACE::VertexInputRate inputRate = VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex; - uint32_t divisor = {}; - }; - static_assert( sizeof( VertexInputBindingDescription2EXT ) == sizeof( VkVertexInputBindingDescription2EXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VertexInputBindingDescription2EXT; - }; - - struct VertexInputAttributeDescription2EXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVertexInputAttributeDescription2EXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VertexInputAttributeDescription2EXT( - uint32_t location_ = {}, - uint32_t binding_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - uint32_t offset_ = {} ) VULKAN_HPP_NOEXCEPT - : location( location_ ) - , binding( binding_ ) - , format( format_ ) - , offset( offset_ ) - {} - - VULKAN_HPP_CONSTEXPR VertexInputAttributeDescription2EXT( VertexInputAttributeDescription2EXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VertexInputAttributeDescription2EXT( VkVertexInputAttributeDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VertexInputAttributeDescription2EXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VertexInputAttributeDescription2EXT & - operator=( VertexInputAttributeDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputAttributeDescription2EXT & - operator=( VkVertexInputAttributeDescription2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VertexInputAttributeDescription2EXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VertexInputAttributeDescription2EXT & setLocation( uint32_t location_ ) VULKAN_HPP_NOEXCEPT - { - location = location_; - return *this; - } - - VertexInputAttributeDescription2EXT & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - VertexInputAttributeDescription2EXT & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - VertexInputAttributeDescription2EXT & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - operator VkVertexInputAttributeDescription2EXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVertexInputAttributeDescription2EXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VertexInputAttributeDescription2EXT const & ) const = default; -#else - bool operator==( VertexInputAttributeDescription2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( location == rhs.location ) && - ( binding == rhs.binding ) && ( format == rhs.format ) && ( offset == rhs.offset ); - } - - bool operator!=( VertexInputAttributeDescription2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVertexInputAttributeDescription2EXT; - void * pNext = {}; - uint32_t location = {}; - uint32_t binding = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - uint32_t offset = {}; - }; - static_assert( sizeof( VertexInputAttributeDescription2EXT ) == sizeof( VkVertexInputAttributeDescription2EXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VertexInputAttributeDescription2EXT; - }; - - struct ShadingRatePaletteNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ShadingRatePaletteNV( - uint32_t shadingRatePaletteEntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV * pShadingRatePaletteEntries_ = {} ) VULKAN_HPP_NOEXCEPT - : shadingRatePaletteEntryCount( shadingRatePaletteEntryCount_ ) - , pShadingRatePaletteEntries( pShadingRatePaletteEntries_ ) - {} - - VULKAN_HPP_CONSTEXPR ShadingRatePaletteNV( ShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShadingRatePaletteNV( VkShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ShadingRatePaletteNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ShadingRatePaletteNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - shadingRatePaletteEntries_ ) - : shadingRatePaletteEntryCount( static_cast( shadingRatePaletteEntries_.size() ) ) - , pShadingRatePaletteEntries( shadingRatePaletteEntries_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ShadingRatePaletteNV & - operator=( ShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShadingRatePaletteNV & operator=( VkShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ShadingRatePaletteNV & setShadingRatePaletteEntryCount( uint32_t shadingRatePaletteEntryCount_ ) VULKAN_HPP_NOEXCEPT - { - shadingRatePaletteEntryCount = shadingRatePaletteEntryCount_; - return *this; - } - - ShadingRatePaletteNV & setPShadingRatePaletteEntries( - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV * pShadingRatePaletteEntries_ ) VULKAN_HPP_NOEXCEPT - { - pShadingRatePaletteEntries = pShadingRatePaletteEntries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ShadingRatePaletteNV & setShadingRatePaletteEntries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - shadingRatePaletteEntries_ ) VULKAN_HPP_NOEXCEPT - { - shadingRatePaletteEntryCount = static_cast( shadingRatePaletteEntries_.size() ); - pShadingRatePaletteEntries = shadingRatePaletteEntries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkShadingRatePaletteNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkShadingRatePaletteNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShadingRatePaletteNV const & ) const = default; -#else - bool operator==( ShadingRatePaletteNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( shadingRatePaletteEntryCount == rhs.shadingRatePaletteEntryCount ) && - ( pShadingRatePaletteEntries == rhs.pShadingRatePaletteEntries ); - } - - bool operator!=( ShadingRatePaletteNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t shadingRatePaletteEntryCount = {}; - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV * pShadingRatePaletteEntries = {}; - }; - static_assert( sizeof( ShadingRatePaletteNV ) == sizeof( VkShadingRatePaletteNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ViewportWScalingNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ViewportWScalingNV( float xcoeff_ = {}, float ycoeff_ = {} ) VULKAN_HPP_NOEXCEPT - : xcoeff( xcoeff_ ) - , ycoeff( ycoeff_ ) - {} - - VULKAN_HPP_CONSTEXPR ViewportWScalingNV( ViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViewportWScalingNV( VkViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ViewportWScalingNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ViewportWScalingNV & - operator=( ViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViewportWScalingNV & operator=( VkViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ViewportWScalingNV & setXcoeff( float xcoeff_ ) VULKAN_HPP_NOEXCEPT - { - xcoeff = xcoeff_; - return *this; - } - - ViewportWScalingNV & setYcoeff( float ycoeff_ ) VULKAN_HPP_NOEXCEPT - { - ycoeff = ycoeff_; - return *this; - } - - operator VkViewportWScalingNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkViewportWScalingNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ViewportWScalingNV const & ) const = default; -#else - bool operator==( ViewportWScalingNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( xcoeff == rhs.xcoeff ) && ( ycoeff == rhs.ycoeff ); - } - - bool operator!=( ViewportWScalingNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float xcoeff = {}; - float ycoeff = {}; - }; - static_assert( sizeof( ViewportWScalingNV ) == sizeof( VkViewportWScalingNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct StridedDeviceAddressRegionKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - StridedDeviceAddressRegionKHR( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize stride_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceAddress( deviceAddress_ ) - , stride( stride_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR - StridedDeviceAddressRegionKHR( StridedDeviceAddressRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - StridedDeviceAddressRegionKHR( VkStridedDeviceAddressRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : StridedDeviceAddressRegionKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 StridedDeviceAddressRegionKHR & - operator=( StridedDeviceAddressRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - StridedDeviceAddressRegionKHR & operator=( VkStridedDeviceAddressRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - StridedDeviceAddressRegionKHR & - setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - deviceAddress = deviceAddress_; - return *this; - } - - StridedDeviceAddressRegionKHR & setStride( VULKAN_HPP_NAMESPACE::DeviceSize stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - StridedDeviceAddressRegionKHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkStridedDeviceAddressRegionKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkStridedDeviceAddressRegionKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( StridedDeviceAddressRegionKHR const & ) const = default; -#else - bool operator==( StridedDeviceAddressRegionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( deviceAddress == rhs.deviceAddress ) && ( stride == rhs.stride ) && ( size == rhs.size ); - } - - bool operator!=( StridedDeviceAddressRegionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; - VULKAN_HPP_NAMESPACE::DeviceSize stride = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( StridedDeviceAddressRegionKHR ) == sizeof( VkStridedDeviceAddressRegionKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - class CommandBuffer - { - public: - using CType = VkCommandBuffer; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eCommandBuffer; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCommandBuffer; - - public: - VULKAN_HPP_CONSTEXPR CommandBuffer() = default; - VULKAN_HPP_CONSTEXPR CommandBuffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT CommandBuffer( VkCommandBuffer commandBuffer ) VULKAN_HPP_NOEXCEPT - : m_commandBuffer( commandBuffer ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - CommandBuffer & operator=( VkCommandBuffer commandBuffer ) VULKAN_HPP_NOEXCEPT - { - m_commandBuffer = commandBuffer; - return *this; - } -#endif - - CommandBuffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_commandBuffer = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBuffer const & ) const = default; -#else - bool operator==( CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer == rhs.m_commandBuffer; - } - - bool operator!=( CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer != rhs.m_commandBuffer; - } - - bool operator<( CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer < rhs.m_commandBuffer; - } -#endif - - template - VULKAN_HPP_NODISCARD Result - begin( const VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo * pBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - begin( const CommandBufferBeginInfo & beginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void beginConditionalRenderingEXT( - const VULKAN_HPP_NAMESPACE::ConditionalRenderingBeginInfoEXT * pConditionalRenderingBegin, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - VULKAN_HPP_NAMESPACE::QueryControlFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - VULKAN_HPP_NAMESPACE::QueryControlFlags flags, - uint32_t index, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void beginRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginRenderPass( const RenderPassBeginInfo & renderPassBegin, - VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void beginRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, - const SubpassBeginInfo & subpassBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void beginRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, - const SubpassBeginInfo & subpassBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VULKAN_HPP_NAMESPACE::Buffer * pCounterBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pCounterBufferOffsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, - ArrayProxy const & counterBuffers, - ArrayProxy const & counterBufferOffsets - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void beginVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoBeginCodingInfoKHR * pBeginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void beginVideoCodingKHR( const VideoBeginCodingInfoKHR & beginInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - void bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t firstSet, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - uint32_t dynamicOffsetCount, - const uint32_t * pDynamicOffsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t firstSet, - ArrayProxy const & descriptorSets, - ArrayProxy const & dynamicOffsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::IndexType indexType, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void bindPipeline( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void bindPipelineShaderGroupNV( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t groupIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void - bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - const VULKAN_HPP_NAMESPACE::DeviceSize * pSizes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void bindTransformFeedbackBuffersEXT( - uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - ArrayProxy const & sizes VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void bindVertexBuffers( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void bindVertexBuffers( uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void bindVertexBuffers2EXT( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - const VULKAN_HPP_NAMESPACE::DeviceSize * pSizes, - const VULKAN_HPP_NAMESPACE::DeviceSize * pStrides, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void bindVertexBuffers2EXT( - uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - ArrayProxy const & sizes VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - ArrayProxy const & strides VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageBlit * pRegions, - VULKAN_HPP_NAMESPACE::Filter filter, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - VULKAN_HPP_NAMESPACE::Filter filter, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void blitImage2KHR( const VULKAN_HPP_NAMESPACE::BlitImageInfo2KHR * pBlitImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void blitImage2KHR( const BlitImageInfo2KHR & blitImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void buildAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::Buffer instanceData, - VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, - VULKAN_HPP_NAMESPACE::Bool32 update, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::Buffer scratch, - VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, - VULKAN_HPP_NAMESPACE::Buffer instanceData, - VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, - VULKAN_HPP_NAMESPACE::Bool32 update, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::Buffer scratch, - VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void buildAccelerationStructuresIndirectKHR( - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::DeviceAddress * pIndirectDeviceAddresses, - const uint32_t * pIndirectStrides, - const uint32_t * const * ppMaxPrimitiveCounts, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void buildAccelerationStructuresIndirectKHR( - ArrayProxy const & infos, - ArrayProxy const & indirectDeviceAddresses, - ArrayProxy const & indirectStrides, - ArrayProxy const & pMaxPrimitiveCounts, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void buildAccelerationStructuresKHR( - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void buildAccelerationStructuresKHR( - ArrayProxy const & infos, - ArrayProxy const & pBuildRangeInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void clearAttachments( uint32_t attachmentCount, - const VULKAN_HPP_NAMESPACE::ClearAttachment * pAttachments, - uint32_t rectCount, - const VULKAN_HPP_NAMESPACE::ClearRect * pRects, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void clearAttachments( ArrayProxy const & attachments, - ArrayProxy const & rects, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void clearColorImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const VULKAN_HPP_NAMESPACE::ClearColorValue * pColor, - uint32_t rangeCount, - const VULKAN_HPP_NAMESPACE::ImageSubresourceRange * pRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void clearColorImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const ClearColorValue & color, - ArrayProxy const & ranges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const VULKAN_HPP_NAMESPACE::ClearDepthStencilValue * pDepthStencil, - uint32_t rangeCount, - const VULKAN_HPP_NAMESPACE::ImageSubresourceRange * pRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const ClearDepthStencilValue & depthStencil, - ArrayProxy const & ranges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void controlVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoCodingControlInfoKHR * pCodingControlInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void controlVideoCodingKHR( const VideoCodingControlInfoKHR & codingControlInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - void copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void copyAccelerationStructureToMemoryKHR( - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferCopy * pRegions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - ArrayProxy const & regions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferInfo2KHR * pCopyBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyBuffer2KHR( const CopyBufferInfo2KHR & copyBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferImageCopy * pRegions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyBufferToImage2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferToImageInfo2KHR * pCopyBufferToImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyBufferToImage2KHR( const CopyBufferToImageInfo2KHR & copyBufferToImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageCopy * pRegions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyImage2KHR( const VULKAN_HPP_NAMESPACE::CopyImageInfo2KHR * pCopyImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyImage2KHR( const CopyImageInfo2KHR & copyImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferImageCopy * pRegions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - ArrayProxy const & regions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyImageToBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyImageToBufferInfo2KHR * pCopyImageToBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyImageToBuffer2KHR( const CopyImageToBufferInfo2KHR & copyImageToBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyMemoryToAccelerationStructureKHR( - const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void cuLaunchKernelNVX( const VULKAN_HPP_NAMESPACE::CuLaunchInfoNVX * pLaunchInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void cuLaunchKernelNVX( const CuLaunchInfoNVX & launchInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void debugMarkerBeginEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT * pMarkerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void debugMarkerEndEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void debugMarkerInsertEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT * pMarkerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void decodeVideoKHR( const VULKAN_HPP_NAMESPACE::VideoDecodeInfoKHR * pFrameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void decodeVideoKHR( const VideoDecodeInfoKHR & frameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - void dispatch( uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void dispatchBase( uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void dispatchBaseKHR( uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void draw( uint32_t vertexCount, - uint32_t instanceCount, - uint32_t firstVertex, - uint32_t firstInstance, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndexed( uint32_t indexCount, - uint32_t instanceCount, - uint32_t firstIndex, - int32_t vertexOffset, - uint32_t firstInstance, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - drawIndirectByteCountEXT( uint32_t instanceCount, - uint32_t firstInstance, - VULKAN_HPP_NAMESPACE::Buffer counterBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize counterBufferOffset, - uint32_t counterOffset, - uint32_t vertexStride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void - drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void drawMeshTasksNV( uint32_t taskCount, - uint32_t firstTask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void encodeVideoKHR( const VULKAN_HPP_NAMESPACE::VideoEncodeInfoKHR * pEncodeInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void encodeVideoKHR( const VideoEncodeInfoKHR & encodeInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - void endConditionalRenderingEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - uint32_t index, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void endRenderPass( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void endRenderPass2( const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void endRenderPass2( const SubpassEndInfo & subpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void endRenderPass2KHR( const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - endTransformFeedbackEXT( uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VULKAN_HPP_NAMESPACE::Buffer * pCounterBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pCounterBufferOffsets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void endTransformFeedbackEXT( uint32_t firstCounterBuffer, - ArrayProxy const & counterBuffers, - ArrayProxy const & counterBufferOffsets - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void endVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoEndCodingInfoKHR * pEndCodingInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void endVideoCodingKHR( const VideoEndCodingInfoKHR & endCodingInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - void executeCommands( uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void executeCommands( ArrayProxy const & commandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, - const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV * pGeneratedCommandsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, - const GeneratedCommandsInfoNV & generatedCommandsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - uint32_t data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void nextSubpass( VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void nextSubpass2( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, - const SubpassEndInfo & subpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void nextSubpass2KHR( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, - const SubpassEndInfo & subpassEndInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, - uint32_t memoryBarrierCount, - const VULKAN_HPP_NAMESPACE::MemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier * pImageMemoryBarriers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, - ArrayProxy const & memoryBarriers, - ArrayProxy const & bufferMemoryBarriers, - ArrayProxy const & imageMemoryBarriers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void pipelineBarrier2KHR( const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void pipelineBarrier2KHR( const DependencyInfoKHR & dependencyInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void preprocessGeneratedCommandsNV( const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV * pGeneratedCommandsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, - uint32_t offset, - uint32_t size, - const void * pValues, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, - uint32_t offset, - ArrayProxy const & values, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - uint32_t descriptorWriteCount, - const VULKAN_HPP_NAMESPACE::WriteDescriptorSet * pDescriptorWrites, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - ArrayProxy const & descriptorWrites, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void pushDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - const void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void resetEvent( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void resetEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stageMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageResolve * pRegions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void resolveImage2KHR( const VULKAN_HPP_NAMESPACE::ResolveImageInfo2KHR * pResolveImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void resolveImage2KHR( const ResolveImageInfo2KHR & resolveImageInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setBlendConstants( const float blendConstants[4], - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setCheckpointNV( const void * pCheckpointMarker, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, - uint32_t customSampleOrderCount, - const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV * pCustomSampleOrders, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setCoarseSampleOrderNV( - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, - ArrayProxy const & customSampleOrders, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - setColorWriteEnableEXT( uint32_t attachmentCount, - const VULKAN_HPP_NAMESPACE::Bool32 * pColorWriteEnables, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - setColorWriteEnableEXT( ArrayProxy const & colorWriteEnables, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setCullModeEXT( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDepthBias( float depthBiasConstantFactor, - float depthBiasClamp, - float depthBiasSlopeFactor, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDepthBiasEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDepthBounds( float minDepthBounds, - float maxDepthBounds, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDepthBoundsTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDepthTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setDepthWriteEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDeviceMask( uint32_t deviceMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setDeviceMaskKHR( uint32_t deviceMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setDiscardRectangleEXT( uint32_t firstDiscardRectangle, - uint32_t discardRectangleCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pDiscardRectangles, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - setDiscardRectangleEXT( uint32_t firstDiscardRectangle, - ArrayProxy const & discardRectangles, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setEvent( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - const DependencyInfoKHR & dependencyInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setExclusiveScissorNV( uint32_t firstExclusiveScissor, - uint32_t exclusiveScissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pExclusiveScissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setExclusiveScissorNV( uint32_t firstExclusiveScissor, - ArrayProxy const & exclusiveScissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setFragmentShadingRateEnumNV( VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void setFragmentShadingRateKHR( const VULKAN_HPP_NAMESPACE::Extent2D * pFragmentSize, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setFragmentShadingRateKHR( const Extent2D & fragmentSize, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setFrontFaceEXT( VULKAN_HPP_NAMESPACE::FrontFace frontFace, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setLineStippleEXT( uint32_t lineStippleFactor, - uint16_t lineStipplePattern, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setLineWidth( float lineWidth, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setLogicOpEXT( VULKAN_HPP_NAMESPACE::LogicOp logicOp, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setPatchControlPointsEXT( uint32_t patchControlPoints, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - VULKAN_HPP_NODISCARD Result setPerformanceMarkerINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceMarkerInfoINTEL * pMarkerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result setPerformanceOverrideINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceOverrideInfoINTEL * pOverrideInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result setPerformanceStreamMarkerINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceStreamMarkerInfoINTEL * pMarkerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setPrimitiveRestartEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void - setPrimitiveTopologyEXT( VULKAN_HPP_NAMESPACE::PrimitiveTopology primitiveTopology, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setRasterizerDiscardEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void setSampleLocationsEXT( const VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT * pSampleLocationsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setScissor( uint32_t firstScissor, - uint32_t scissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setScissor( uint32_t firstScissor, - ArrayProxy const & scissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - setScissorWithCountEXT( uint32_t scissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - setScissorWithCountEXT( ArrayProxy const & scissors, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setStencilCompareMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t compareMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setStencilOpEXT( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - VULKAN_HPP_NAMESPACE::StencilOp failOp, - VULKAN_HPP_NAMESPACE::StencilOp passOp, - VULKAN_HPP_NAMESPACE::StencilOp depthFailOp, - VULKAN_HPP_NAMESPACE::CompareOp compareOp, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setStencilReference( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t reference, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setStencilTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void setStencilWriteMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t writeMask, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - setVertexInputEXT( uint32_t vertexBindingDescriptionCount, - const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription2EXT * pVertexBindingDescriptions, - uint32_t vertexAttributeDescriptionCount, - const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription2EXT * pVertexAttributeDescriptions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setVertexInputEXT( - ArrayProxy const & vertexBindingDescriptions, - ArrayProxy const & vertexAttributeDescriptions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setViewport( uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::Viewport * pViewports, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setViewport( uint32_t firstViewport, - ArrayProxy const & viewports, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setViewportShadingRatePaletteNV( uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV * pShadingRatePalettes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setViewportShadingRatePaletteNV( - uint32_t firstViewport, - ArrayProxy const & shadingRatePalettes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setViewportWScalingNV( uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::ViewportWScalingNV * pViewportWScalings, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setViewportWScalingNV( uint32_t firstViewport, - ArrayProxy const & viewportWScalings, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - setViewportWithCountEXT( uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::Viewport * pViewports, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - setViewportWithCountEXT( ArrayProxy const & viewports, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void traceRaysIndirectKHR( const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - VULKAN_HPP_NAMESPACE::DeviceAddress indirectDeviceAddress, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void traceRaysIndirectKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, - const StridedDeviceAddressRegionKHR & missShaderBindingTable, - const StridedDeviceAddressRegionKHR & hitShaderBindingTable, - const StridedDeviceAddressRegionKHR & callableShaderBindingTable, - VULKAN_HPP_NAMESPACE::DeviceAddress indirectDeviceAddress, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void traceRaysKHR( const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void traceRaysKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, - const StridedDeviceAddressRegionKHR & missShaderBindingTable, - const StridedDeviceAddressRegionKHR & hitShaderBindingTable, - const StridedDeviceAddressRegionKHR & callableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize raygenShaderBindingOffset, - VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingStride, - VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingStride, - VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingStride, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize dataSize, - const void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - ArrayProxy const & data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void waitEvents( uint32_t eventCount, - const VULKAN_HPP_NAMESPACE::Event * pEvents, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - uint32_t memoryBarrierCount, - const VULKAN_HPP_NAMESPACE::MemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier * pImageMemoryBarriers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void waitEvents( ArrayProxy const & events, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - ArrayProxy const & memoryBarriers, - ArrayProxy const & bufferMemoryBarriers, - ArrayProxy const & imageMemoryBarriers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void waitEvents2KHR( uint32_t eventCount, - const VULKAN_HPP_NAMESPACE::Event * pEvents, - const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void waitEvents2KHR( ArrayProxy const & events, - ArrayProxy const & dependencyInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void writeAccelerationStructuresPropertiesKHR( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void writeAccelerationStructuresPropertiesNV( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void writeAccelerationStructuresPropertiesNV( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void writeBufferMarker2AMD( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - uint32_t marker, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void writeBufferMarkerAMD( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - uint32_t marker, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void writeTimestamp( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void writeTimestamp2KHR( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandBuffer() const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_commandBuffer == VK_NULL_HANDLE; - } - - private: - VkCommandBuffer m_commandBuffer = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::CommandBuffer ) == sizeof( VkCommandBuffer ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::CommandBuffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CommandBuffer; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CommandBuffer; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct CommandBufferSubmitInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferSubmitInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandBufferSubmitInfoKHR( VULKAN_HPP_NAMESPACE::CommandBuffer commandBuffer_ = {}, - uint32_t deviceMask_ = {} ) VULKAN_HPP_NOEXCEPT - : commandBuffer( commandBuffer_ ) - , deviceMask( deviceMask_ ) - {} - - VULKAN_HPP_CONSTEXPR - CommandBufferSubmitInfoKHR( CommandBufferSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferSubmitInfoKHR( VkCommandBufferSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandBufferSubmitInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandBufferSubmitInfoKHR & - operator=( CommandBufferSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandBufferSubmitInfoKHR & operator=( VkCommandBufferSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandBufferSubmitInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandBufferSubmitInfoKHR & - setCommandBuffer( VULKAN_HPP_NAMESPACE::CommandBuffer commandBuffer_ ) VULKAN_HPP_NOEXCEPT - { - commandBuffer = commandBuffer_; - return *this; - } - - CommandBufferSubmitInfoKHR & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT - { - deviceMask = deviceMask_; - return *this; - } - - operator VkCommandBufferSubmitInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandBufferSubmitInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandBufferSubmitInfoKHR const & ) const = default; -#else - bool operator==( CommandBufferSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( commandBuffer == rhs.commandBuffer ) && - ( deviceMask == rhs.deviceMask ); - } - - bool operator!=( CommandBufferSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferSubmitInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CommandBuffer commandBuffer = {}; - uint32_t deviceMask = {}; - }; - static_assert( sizeof( CommandBufferSubmitInfoKHR ) == sizeof( VkCommandBufferSubmitInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandBufferSubmitInfoKHR; - }; - - struct CommandPoolCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandPoolCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CommandPoolCreateInfo( VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags_ = {}, - uint32_t queueFamilyIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , queueFamilyIndex( queueFamilyIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR CommandPoolCreateInfo( CommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandPoolCreateInfo( VkCommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : CommandPoolCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CommandPoolCreateInfo & - operator=( CommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CommandPoolCreateInfo & operator=( VkCommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CommandPoolCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CommandPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - CommandPoolCreateInfo & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndex = queueFamilyIndex_; - return *this; - } - - operator VkCommandPoolCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCommandPoolCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CommandPoolCreateInfo const & ) const = default; -#else - bool operator==( CommandPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( queueFamilyIndex == rhs.queueFamilyIndex ); - } - - bool operator!=( CommandPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandPoolCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags = {}; - uint32_t queueFamilyIndex = {}; - }; - static_assert( sizeof( CommandPoolCreateInfo ) == sizeof( VkCommandPoolCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CommandPoolCreateInfo; - }; - - class ShaderModule - { - public: - using CType = VkShaderModule; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eShaderModule; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eShaderModule; - - public: - VULKAN_HPP_CONSTEXPR ShaderModule() = default; - VULKAN_HPP_CONSTEXPR ShaderModule( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT ShaderModule( VkShaderModule shaderModule ) VULKAN_HPP_NOEXCEPT - : m_shaderModule( shaderModule ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - ShaderModule & operator=( VkShaderModule shaderModule ) VULKAN_HPP_NOEXCEPT - { - m_shaderModule = shaderModule; - return *this; - } -#endif - - ShaderModule & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_shaderModule = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShaderModule const & ) const = default; -#else - bool operator==( ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule == rhs.m_shaderModule; - } - - bool operator!=( ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule != rhs.m_shaderModule; - } - - bool operator<( ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule < rhs.m_shaderModule; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkShaderModule() const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_shaderModule == VK_NULL_HANDLE; - } - - private: - VkShaderModule m_shaderModule = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::ShaderModule ) == sizeof( VkShaderModule ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::ShaderModule; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ShaderModule; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ShaderModule; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct SpecializationMapEntry - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SpecializationMapEntry( uint32_t constantID_ = {}, uint32_t offset_ = {}, size_t size_ = {} ) VULKAN_HPP_NOEXCEPT - : constantID( constantID_ ) - , offset( offset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR SpecializationMapEntry( SpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SpecializationMapEntry( VkSpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT - : SpecializationMapEntry( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SpecializationMapEntry & - operator=( SpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SpecializationMapEntry & operator=( VkSpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SpecializationMapEntry & setConstantID( uint32_t constantID_ ) VULKAN_HPP_NOEXCEPT - { - constantID = constantID_; - return *this; - } - - SpecializationMapEntry & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - SpecializationMapEntry & setSize( size_t size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkSpecializationMapEntry const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSpecializationMapEntry &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SpecializationMapEntry const & ) const = default; -#else - bool operator==( SpecializationMapEntry const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( constantID == rhs.constantID ) && ( offset == rhs.offset ) && ( size == rhs.size ); - } - - bool operator!=( SpecializationMapEntry const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t constantID = {}; - uint32_t offset = {}; - size_t size = {}; - }; - static_assert( sizeof( SpecializationMapEntry ) == sizeof( VkSpecializationMapEntry ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SpecializationInfo - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SpecializationInfo( uint32_t mapEntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::SpecializationMapEntry * pMapEntries_ = {}, - size_t dataSize_ = {}, - const void * pData_ = {} ) VULKAN_HPP_NOEXCEPT - : mapEntryCount( mapEntryCount_ ) - , pMapEntries( pMapEntries_ ) - , dataSize( dataSize_ ) - , pData( pData_ ) - {} - - VULKAN_HPP_CONSTEXPR SpecializationInfo( SpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SpecializationInfo( VkSpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SpecializationInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - SpecializationInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::SpecializationMapEntry> const & mapEntries_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ = {} ) - : mapEntryCount( static_cast( mapEntries_.size() ) ) - , pMapEntries( mapEntries_.data() ) - , dataSize( data_.size() * sizeof( T ) ) - , pData( data_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SpecializationInfo & - operator=( SpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SpecializationInfo & operator=( VkSpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SpecializationInfo & setMapEntryCount( uint32_t mapEntryCount_ ) VULKAN_HPP_NOEXCEPT - { - mapEntryCount = mapEntryCount_; - return *this; - } - - SpecializationInfo & - setPMapEntries( const VULKAN_HPP_NAMESPACE::SpecializationMapEntry * pMapEntries_ ) VULKAN_HPP_NOEXCEPT - { - pMapEntries = pMapEntries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SpecializationInfo & setMapEntries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - mapEntries_ ) VULKAN_HPP_NOEXCEPT - { - mapEntryCount = static_cast( mapEntries_.size() ); - pMapEntries = mapEntries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SpecializationInfo & setDataSize( size_t dataSize_ ) VULKAN_HPP_NOEXCEPT - { - dataSize = dataSize_; - return *this; - } - - SpecializationInfo & setPData( const void * pData_ ) VULKAN_HPP_NOEXCEPT - { - pData = pData_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - SpecializationInfo & - setData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) VULKAN_HPP_NOEXCEPT - { - dataSize = data_.size() * sizeof( T ); - pData = data_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSpecializationInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSpecializationInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SpecializationInfo const & ) const = default; -#else - bool operator==( SpecializationInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( mapEntryCount == rhs.mapEntryCount ) && ( pMapEntries == rhs.pMapEntries ) && - ( dataSize == rhs.dataSize ) && ( pData == rhs.pData ); - } - - bool operator!=( SpecializationInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t mapEntryCount = {}; - const VULKAN_HPP_NAMESPACE::SpecializationMapEntry * pMapEntries = {}; - size_t dataSize = {}; - const void * pData = {}; - }; - static_assert( sizeof( SpecializationInfo ) == sizeof( VkSpecializationInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PipelineShaderStageCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineShaderStageCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage_ = VULKAN_HPP_NAMESPACE::ShaderStageFlagBits::eVertex, - VULKAN_HPP_NAMESPACE::ShaderModule module_ = {}, - const char * pName_ = {}, - const VULKAN_HPP_NAMESPACE::SpecializationInfo * pSpecializationInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , stage( stage_ ) - , module( module_ ) - , pName( pName_ ) - , pSpecializationInfo( pSpecializationInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineShaderStageCreateInfo( PipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineShaderStageCreateInfo( VkPipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineShaderStageCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineShaderStageCreateInfo & - operator=( PipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineShaderStageCreateInfo & operator=( VkPipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineShaderStageCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineShaderStageCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineShaderStageCreateInfo & setStage( VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage_ ) VULKAN_HPP_NOEXCEPT - { - stage = stage_; - return *this; - } - - PipelineShaderStageCreateInfo & setModule( VULKAN_HPP_NAMESPACE::ShaderModule module_ ) VULKAN_HPP_NOEXCEPT - { - module = module_; - return *this; - } - - PipelineShaderStageCreateInfo & setPName( const char * pName_ ) VULKAN_HPP_NOEXCEPT - { - pName = pName_; - return *this; - } - - PipelineShaderStageCreateInfo & setPSpecializationInfo( - const VULKAN_HPP_NAMESPACE::SpecializationInfo * pSpecializationInfo_ ) VULKAN_HPP_NOEXCEPT - { - pSpecializationInfo = pSpecializationInfo_; - return *this; - } - - operator VkPipelineShaderStageCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineShaderStageCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineShaderStageCreateInfo const & ) const = default; -#else - bool operator==( PipelineShaderStageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( stage == rhs.stage ) && - ( module == rhs.module ) && ( pName == rhs.pName ) && ( pSpecializationInfo == rhs.pSpecializationInfo ); - } - - bool operator!=( PipelineShaderStageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineShaderStageCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage = VULKAN_HPP_NAMESPACE::ShaderStageFlagBits::eVertex; - VULKAN_HPP_NAMESPACE::ShaderModule module = {}; - const char * pName = {}; - const VULKAN_HPP_NAMESPACE::SpecializationInfo * pSpecializationInfo = {}; - }; - static_assert( sizeof( PipelineShaderStageCreateInfo ) == sizeof( VkPipelineShaderStageCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineShaderStageCreateInfo; - }; - - struct ComputePipelineCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eComputePipelineCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ComputePipelineCreateInfo( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo stage_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , stage( stage_ ) - , layout( layout_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - ComputePipelineCreateInfo( ComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ComputePipelineCreateInfo( VkComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ComputePipelineCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ComputePipelineCreateInfo & - operator=( ComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ComputePipelineCreateInfo & operator=( VkComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ComputePipelineCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ComputePipelineCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ComputePipelineCreateInfo & - setStage( VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo const & stage_ ) VULKAN_HPP_NOEXCEPT - { - stage = stage_; - return *this; - } - - ComputePipelineCreateInfo & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - ComputePipelineCreateInfo & - setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineHandle = basePipelineHandle_; - return *this; - } - - ComputePipelineCreateInfo & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineIndex = basePipelineIndex_; - return *this; - } - - operator VkComputePipelineCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkComputePipelineCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ComputePipelineCreateInfo const & ) const = default; -#else - bool operator==( ComputePipelineCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( stage == rhs.stage ) && - ( layout == rhs.layout ) && ( basePipelineHandle == rhs.basePipelineHandle ) && - ( basePipelineIndex == rhs.basePipelineIndex ); - } - - bool operator!=( ComputePipelineCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eComputePipelineCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo stage = {}; - VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; - int32_t basePipelineIndex = {}; - }; - static_assert( sizeof( ComputePipelineCreateInfo ) == sizeof( VkComputePipelineCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ComputePipelineCreateInfo; - }; - - struct ConformanceVersion - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ConformanceVersion( uint8_t major_ = {}, - uint8_t minor_ = {}, - uint8_t subminor_ = {}, - uint8_t patch_ = {} ) VULKAN_HPP_NOEXCEPT - : major( major_ ) - , minor( minor_ ) - , subminor( subminor_ ) - , patch( patch_ ) - {} - - VULKAN_HPP_CONSTEXPR ConformanceVersion( ConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ConformanceVersion( VkConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT - : ConformanceVersion( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ConformanceVersion & - operator=( ConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ConformanceVersion & operator=( VkConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ConformanceVersion & setMajor( uint8_t major_ ) VULKAN_HPP_NOEXCEPT - { - major = major_; - return *this; - } - - ConformanceVersion & setMinor( uint8_t minor_ ) VULKAN_HPP_NOEXCEPT - { - minor = minor_; - return *this; - } - - ConformanceVersion & setSubminor( uint8_t subminor_ ) VULKAN_HPP_NOEXCEPT - { - subminor = subminor_; - return *this; - } - - ConformanceVersion & setPatch( uint8_t patch_ ) VULKAN_HPP_NOEXCEPT - { - patch = patch_; - return *this; - } - - operator VkConformanceVersion const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkConformanceVersion &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ConformanceVersion const & ) const = default; -#else - bool operator==( ConformanceVersion const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( major == rhs.major ) && ( minor == rhs.minor ) && ( subminor == rhs.subminor ) && ( patch == rhs.patch ); - } - - bool operator!=( ConformanceVersion const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint8_t major = {}; - uint8_t minor = {}; - uint8_t subminor = {}; - uint8_t patch = {}; - }; - static_assert( sizeof( ConformanceVersion ) == sizeof( VkConformanceVersion ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - using ConformanceVersionKHR = ConformanceVersion; - - struct CooperativeMatrixPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCooperativeMatrixPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV( - uint32_t MSize_ = {}, - uint32_t NSize_ = {}, - uint32_t KSize_ = {}, - VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, - VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, - VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, - VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, - VULKAN_HPP_NAMESPACE::ScopeNV scope_ = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice ) VULKAN_HPP_NOEXCEPT - : MSize( MSize_ ) - , NSize( NSize_ ) - , KSize( KSize_ ) - , AType( AType_ ) - , BType( BType_ ) - , CType( CType_ ) - , DType( DType_ ) - , scope( scope_ ) - {} - - VULKAN_HPP_CONSTEXPR - CooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CooperativeMatrixPropertiesNV( VkCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : CooperativeMatrixPropertiesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CooperativeMatrixPropertiesNV & - operator=( CooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CooperativeMatrixPropertiesNV & operator=( VkCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CooperativeMatrixPropertiesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CooperativeMatrixPropertiesNV & setMSize( uint32_t MSize_ ) VULKAN_HPP_NOEXCEPT - { - MSize = MSize_; - return *this; - } - - CooperativeMatrixPropertiesNV & setNSize( uint32_t NSize_ ) VULKAN_HPP_NOEXCEPT - { - NSize = NSize_; - return *this; - } - - CooperativeMatrixPropertiesNV & setKSize( uint32_t KSize_ ) VULKAN_HPP_NOEXCEPT - { - KSize = KSize_; - return *this; - } - - CooperativeMatrixPropertiesNV & setAType( VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ ) VULKAN_HPP_NOEXCEPT - { - AType = AType_; - return *this; - } - - CooperativeMatrixPropertiesNV & setBType( VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ ) VULKAN_HPP_NOEXCEPT - { - BType = BType_; - return *this; - } - - CooperativeMatrixPropertiesNV & setCType( VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ ) VULKAN_HPP_NOEXCEPT - { - CType = CType_; - return *this; - } - - CooperativeMatrixPropertiesNV & setDType( VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ ) VULKAN_HPP_NOEXCEPT - { - DType = DType_; - return *this; - } - - CooperativeMatrixPropertiesNV & setScope( VULKAN_HPP_NAMESPACE::ScopeNV scope_ ) VULKAN_HPP_NOEXCEPT - { - scope = scope_; - return *this; - } - - operator VkCooperativeMatrixPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCooperativeMatrixPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CooperativeMatrixPropertiesNV const & ) const = default; -#else - bool operator==( CooperativeMatrixPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( MSize == rhs.MSize ) && ( NSize == rhs.NSize ) && - ( KSize == rhs.KSize ) && ( AType == rhs.AType ) && ( BType == rhs.BType ) && ( CType == rhs.CType ) && - ( DType == rhs.DType ) && ( scope == rhs.scope ); - } - - bool operator!=( CooperativeMatrixPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCooperativeMatrixPropertiesNV; - void * pNext = {}; - uint32_t MSize = {}; - uint32_t NSize = {}; - uint32_t KSize = {}; - VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; - VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; - VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; - VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; - VULKAN_HPP_NAMESPACE::ScopeNV scope = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice; - }; - static_assert( sizeof( CooperativeMatrixPropertiesNV ) == sizeof( VkCooperativeMatrixPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CooperativeMatrixPropertiesNV; - }; - - struct CopyCommandTransformInfoQCOM - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyCommandTransformInfoQCOM; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - CopyCommandTransformInfoQCOM( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity ) VULKAN_HPP_NOEXCEPT - : transform( transform_ ) - {} - - VULKAN_HPP_CONSTEXPR - CopyCommandTransformInfoQCOM( CopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyCommandTransformInfoQCOM( VkCopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyCommandTransformInfoQCOM( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyCommandTransformInfoQCOM & - operator=( CopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyCommandTransformInfoQCOM & operator=( VkCopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyCommandTransformInfoQCOM & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyCommandTransformInfoQCOM & - setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT - { - transform = transform_; - return *this; - } - - operator VkCopyCommandTransformInfoQCOM const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyCommandTransformInfoQCOM &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyCommandTransformInfoQCOM const & ) const = default; -#else - bool operator==( CopyCommandTransformInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( transform == rhs.transform ); - } - - bool operator!=( CopyCommandTransformInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyCommandTransformInfoQCOM; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - }; - static_assert( sizeof( CopyCommandTransformInfoQCOM ) == sizeof( VkCopyCommandTransformInfoQCOM ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyCommandTransformInfoQCOM; - }; - - struct CopyDescriptorSet - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyDescriptorSet; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CopyDescriptorSet( VULKAN_HPP_NAMESPACE::DescriptorSet srcSet_ = {}, - uint32_t srcBinding_ = {}, - uint32_t srcArrayElement_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ = {}, - uint32_t dstBinding_ = {}, - uint32_t dstArrayElement_ = {}, - uint32_t descriptorCount_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSet( srcSet_ ) - , srcBinding( srcBinding_ ) - , srcArrayElement( srcArrayElement_ ) - , dstSet( dstSet_ ) - , dstBinding( dstBinding_ ) - , dstArrayElement( dstArrayElement_ ) - , descriptorCount( descriptorCount_ ) - {} - - VULKAN_HPP_CONSTEXPR CopyDescriptorSet( CopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyDescriptorSet( VkCopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT - : CopyDescriptorSet( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CopyDescriptorSet & - operator=( CopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CopyDescriptorSet & operator=( VkCopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CopyDescriptorSet & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CopyDescriptorSet & setSrcSet( VULKAN_HPP_NAMESPACE::DescriptorSet srcSet_ ) VULKAN_HPP_NOEXCEPT - { - srcSet = srcSet_; - return *this; - } - - CopyDescriptorSet & setSrcBinding( uint32_t srcBinding_ ) VULKAN_HPP_NOEXCEPT - { - srcBinding = srcBinding_; - return *this; - } - - CopyDescriptorSet & setSrcArrayElement( uint32_t srcArrayElement_ ) VULKAN_HPP_NOEXCEPT - { - srcArrayElement = srcArrayElement_; - return *this; - } - - CopyDescriptorSet & setDstSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ ) VULKAN_HPP_NOEXCEPT - { - dstSet = dstSet_; - return *this; - } - - CopyDescriptorSet & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT - { - dstBinding = dstBinding_; - return *this; - } - - CopyDescriptorSet & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT - { - dstArrayElement = dstArrayElement_; - return *this; - } - - CopyDescriptorSet & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = descriptorCount_; - return *this; - } - - operator VkCopyDescriptorSet const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCopyDescriptorSet &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CopyDescriptorSet const & ) const = default; -#else - bool operator==( CopyDescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcSet == rhs.srcSet ) && - ( srcBinding == rhs.srcBinding ) && ( srcArrayElement == rhs.srcArrayElement ) && - ( dstSet == rhs.dstSet ) && ( dstBinding == rhs.dstBinding ) && - ( dstArrayElement == rhs.dstArrayElement ) && ( descriptorCount == rhs.descriptorCount ); - } - - bool operator!=( CopyDescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyDescriptorSet; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorSet srcSet = {}; - uint32_t srcBinding = {}; - uint32_t srcArrayElement = {}; - VULKAN_HPP_NAMESPACE::DescriptorSet dstSet = {}; - uint32_t dstBinding = {}; - uint32_t dstArrayElement = {}; - uint32_t descriptorCount = {}; - }; - static_assert( sizeof( CopyDescriptorSet ) == sizeof( VkCopyDescriptorSet ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CopyDescriptorSet; - }; - - class CuModuleNVX - { - public: - using CType = VkCuModuleNVX; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eCuModuleNVX; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCuModuleNVX; - - public: - VULKAN_HPP_CONSTEXPR CuModuleNVX() = default; - VULKAN_HPP_CONSTEXPR CuModuleNVX( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT CuModuleNVX( VkCuModuleNVX cuModuleNVX ) VULKAN_HPP_NOEXCEPT - : m_cuModuleNVX( cuModuleNVX ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - CuModuleNVX & operator=( VkCuModuleNVX cuModuleNVX ) VULKAN_HPP_NOEXCEPT - { - m_cuModuleNVX = cuModuleNVX; - return *this; - } -#endif - - CuModuleNVX & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_cuModuleNVX = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CuModuleNVX const & ) const = default; -#else - bool operator==( CuModuleNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX == rhs.m_cuModuleNVX; - } - - bool operator!=( CuModuleNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX != rhs.m_cuModuleNVX; - } - - bool operator<( CuModuleNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX < rhs.m_cuModuleNVX; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCuModuleNVX() const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_cuModuleNVX == VK_NULL_HANDLE; - } - - private: - VkCuModuleNVX m_cuModuleNVX = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::CuModuleNVX ) == sizeof( VkCuModuleNVX ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::CuModuleNVX; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CuModuleNVX; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::CuModuleNVX; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct CuFunctionCreateInfoNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCuFunctionCreateInfoNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CuFunctionCreateInfoNVX( VULKAN_HPP_NAMESPACE::CuModuleNVX module_ = {}, - const char * pName_ = {} ) VULKAN_HPP_NOEXCEPT - : module( module_ ) - , pName( pName_ ) - {} - - VULKAN_HPP_CONSTEXPR CuFunctionCreateInfoNVX( CuFunctionCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuFunctionCreateInfoNVX( VkCuFunctionCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : CuFunctionCreateInfoNVX( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CuFunctionCreateInfoNVX & - operator=( CuFunctionCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuFunctionCreateInfoNVX & operator=( VkCuFunctionCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CuFunctionCreateInfoNVX & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CuFunctionCreateInfoNVX & setModule( VULKAN_HPP_NAMESPACE::CuModuleNVX module_ ) VULKAN_HPP_NOEXCEPT - { - module = module_; - return *this; - } - - CuFunctionCreateInfoNVX & setPName( const char * pName_ ) VULKAN_HPP_NOEXCEPT - { - pName = pName_; - return *this; - } - - operator VkCuFunctionCreateInfoNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCuFunctionCreateInfoNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CuFunctionCreateInfoNVX const & ) const = default; -#else - bool operator==( CuFunctionCreateInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( module == rhs.module ) && ( pName == rhs.pName ); - } - - bool operator!=( CuFunctionCreateInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCuFunctionCreateInfoNVX; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CuModuleNVX module = {}; - const char * pName = {}; - }; - static_assert( sizeof( CuFunctionCreateInfoNVX ) == sizeof( VkCuFunctionCreateInfoNVX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CuFunctionCreateInfoNVX; - }; - - struct CuModuleCreateInfoNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCuModuleCreateInfoNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR CuModuleCreateInfoNVX( size_t dataSize_ = {}, const void * pData_ = {} ) VULKAN_HPP_NOEXCEPT - : dataSize( dataSize_ ) - , pData( pData_ ) - {} - - VULKAN_HPP_CONSTEXPR CuModuleCreateInfoNVX( CuModuleCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuModuleCreateInfoNVX( VkCuModuleCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : CuModuleCreateInfoNVX( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 CuModuleCreateInfoNVX & - operator=( CuModuleCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - CuModuleCreateInfoNVX & operator=( VkCuModuleCreateInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - CuModuleCreateInfoNVX & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - CuModuleCreateInfoNVX & setDataSize( size_t dataSize_ ) VULKAN_HPP_NOEXCEPT - { - dataSize = dataSize_; - return *this; - } - - CuModuleCreateInfoNVX & setPData( const void * pData_ ) VULKAN_HPP_NOEXCEPT - { - pData = pData_; - return *this; - } - - operator VkCuModuleCreateInfoNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkCuModuleCreateInfoNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( CuModuleCreateInfoNVX const & ) const = default; -#else - bool operator==( CuModuleCreateInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dataSize == rhs.dataSize ) && ( pData == rhs.pData ); - } - - bool operator!=( CuModuleCreateInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCuModuleCreateInfoNVX; - const void * pNext = {}; - size_t dataSize = {}; - const void * pData = {}; - }; - static_assert( sizeof( CuModuleCreateInfoNVX ) == sizeof( VkCuModuleCreateInfoNVX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = CuModuleCreateInfoNVX; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct D3D12FenceSubmitInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eD3D12FenceSubmitInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR D3D12FenceSubmitInfoKHR( uint32_t waitSemaphoreValuesCount_ = {}, - const uint64_t * pWaitSemaphoreValues_ = {}, - uint32_t signalSemaphoreValuesCount_ = {}, - const uint64_t * pSignalSemaphoreValues_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreValuesCount( waitSemaphoreValuesCount_ ) - , pWaitSemaphoreValues( pWaitSemaphoreValues_ ) - , signalSemaphoreValuesCount( signalSemaphoreValuesCount_ ) - , pSignalSemaphoreValues( pSignalSemaphoreValues_ ) - {} - - VULKAN_HPP_CONSTEXPR D3D12FenceSubmitInfoKHR( D3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - D3D12FenceSubmitInfoKHR( VkD3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : D3D12FenceSubmitInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - D3D12FenceSubmitInfoKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ = {} ) - : waitSemaphoreValuesCount( static_cast( waitSemaphoreValues_.size() ) ) - , pWaitSemaphoreValues( waitSemaphoreValues_.data() ) - , signalSemaphoreValuesCount( static_cast( signalSemaphoreValues_.size() ) ) - , pSignalSemaphoreValues( signalSemaphoreValues_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 D3D12FenceSubmitInfoKHR & - operator=( D3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - D3D12FenceSubmitInfoKHR & operator=( VkD3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - D3D12FenceSubmitInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - D3D12FenceSubmitInfoKHR & setWaitSemaphoreValuesCount( uint32_t waitSemaphoreValuesCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreValuesCount = waitSemaphoreValuesCount_; - return *this; - } - - D3D12FenceSubmitInfoKHR & setPWaitSemaphoreValues( const uint64_t * pWaitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphoreValues = pWaitSemaphoreValues_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - D3D12FenceSubmitInfoKHR & setWaitSemaphoreValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreValuesCount = static_cast( waitSemaphoreValues_.size() ); - pWaitSemaphoreValues = waitSemaphoreValues_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - D3D12FenceSubmitInfoKHR & setSignalSemaphoreValuesCount( uint32_t signalSemaphoreValuesCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreValuesCount = signalSemaphoreValuesCount_; - return *this; - } - - D3D12FenceSubmitInfoKHR & setPSignalSemaphoreValues( const uint64_t * pSignalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphoreValues = pSignalSemaphoreValues_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - D3D12FenceSubmitInfoKHR & setSignalSemaphoreValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreValuesCount = static_cast( signalSemaphoreValues_.size() ); - pSignalSemaphoreValues = signalSemaphoreValues_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkD3D12FenceSubmitInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkD3D12FenceSubmitInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( D3D12FenceSubmitInfoKHR const & ) const = default; -# else - bool operator==( D3D12FenceSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( waitSemaphoreValuesCount == rhs.waitSemaphoreValuesCount ) && - ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues ) && - ( signalSemaphoreValuesCount == rhs.signalSemaphoreValuesCount ) && - ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues ); - } - - bool operator!=( D3D12FenceSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eD3D12FenceSubmitInfoKHR; - const void * pNext = {}; - uint32_t waitSemaphoreValuesCount = {}; - const uint64_t * pWaitSemaphoreValues = {}; - uint32_t signalSemaphoreValuesCount = {}; - const uint64_t * pSignalSemaphoreValues = {}; - }; - static_assert( sizeof( D3D12FenceSubmitInfoKHR ) == sizeof( VkD3D12FenceSubmitInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = D3D12FenceSubmitInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct DebugMarkerObjectNameInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerObjectNameInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DebugMarkerObjectNameInfoEXT( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown, - uint64_t object_ = {}, - const char * pObjectName_ = {} ) VULKAN_HPP_NOEXCEPT - : objectType( objectType_ ) - , object( object_ ) - , pObjectName( pObjectName_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugMarkerObjectNameInfoEXT( DebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerObjectNameInfoEXT( VkDebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugMarkerObjectNameInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugMarkerObjectNameInfoEXT & - operator=( DebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerObjectNameInfoEXT & operator=( VkDebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugMarkerObjectNameInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugMarkerObjectNameInfoEXT & - setObjectType( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ ) VULKAN_HPP_NOEXCEPT - { - objectType = objectType_; - return *this; - } - - DebugMarkerObjectNameInfoEXT & setObject( uint64_t object_ ) VULKAN_HPP_NOEXCEPT - { - object = object_; - return *this; - } - - DebugMarkerObjectNameInfoEXT & setPObjectName( const char * pObjectName_ ) VULKAN_HPP_NOEXCEPT - { - pObjectName = pObjectName_; - return *this; - } - - operator VkDebugMarkerObjectNameInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugMarkerObjectNameInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugMarkerObjectNameInfoEXT const & ) const = default; -#else - bool operator==( DebugMarkerObjectNameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( objectType == rhs.objectType ) && - ( object == rhs.object ) && ( pObjectName == rhs.pObjectName ); - } - - bool operator!=( DebugMarkerObjectNameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerObjectNameInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - uint64_t object = {}; - const char * pObjectName = {}; - }; - static_assert( sizeof( DebugMarkerObjectNameInfoEXT ) == sizeof( VkDebugMarkerObjectNameInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugMarkerObjectNameInfoEXT; - }; - - struct DebugMarkerObjectTagInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerObjectTagInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DebugMarkerObjectTagInfoEXT( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown, - uint64_t object_ = {}, - uint64_t tagName_ = {}, - size_t tagSize_ = {}, - const void * pTag_ = {} ) VULKAN_HPP_NOEXCEPT - : objectType( objectType_ ) - , object( object_ ) - , tagName( tagName_ ) - , tagSize( tagSize_ ) - , pTag( pTag_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugMarkerObjectTagInfoEXT( DebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerObjectTagInfoEXT( VkDebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugMarkerObjectTagInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - DebugMarkerObjectTagInfoEXT( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_, - uint64_t object_, - uint64_t tagName_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) - : objectType( objectType_ ) - , object( object_ ) - , tagName( tagName_ ) - , tagSize( tag_.size() * sizeof( T ) ) - , pTag( tag_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugMarkerObjectTagInfoEXT & - operator=( DebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugMarkerObjectTagInfoEXT & operator=( VkDebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugMarkerObjectTagInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugMarkerObjectTagInfoEXT & - setObjectType( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ ) VULKAN_HPP_NOEXCEPT - { - objectType = objectType_; - return *this; - } - - DebugMarkerObjectTagInfoEXT & setObject( uint64_t object_ ) VULKAN_HPP_NOEXCEPT - { - object = object_; - return *this; - } - - DebugMarkerObjectTagInfoEXT & setTagName( uint64_t tagName_ ) VULKAN_HPP_NOEXCEPT - { - tagName = tagName_; - return *this; - } - - DebugMarkerObjectTagInfoEXT & setTagSize( size_t tagSize_ ) VULKAN_HPP_NOEXCEPT - { - tagSize = tagSize_; - return *this; - } - - DebugMarkerObjectTagInfoEXT & setPTag( const void * pTag_ ) VULKAN_HPP_NOEXCEPT - { - pTag = pTag_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - DebugMarkerObjectTagInfoEXT & - setTag( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) VULKAN_HPP_NOEXCEPT - { - tagSize = tag_.size() * sizeof( T ); - pTag = tag_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDebugMarkerObjectTagInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugMarkerObjectTagInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugMarkerObjectTagInfoEXT const & ) const = default; -#else - bool operator==( DebugMarkerObjectTagInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( objectType == rhs.objectType ) && - ( object == rhs.object ) && ( tagName == rhs.tagName ) && ( tagSize == rhs.tagSize ) && - ( pTag == rhs.pTag ); - } - - bool operator!=( DebugMarkerObjectTagInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerObjectTagInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - uint64_t object = {}; - uint64_t tagName = {}; - size_t tagSize = {}; - const void * pTag = {}; - }; - static_assert( sizeof( DebugMarkerObjectTagInfoEXT ) == sizeof( VkDebugMarkerObjectTagInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugMarkerObjectTagInfoEXT; - }; - - struct DebugReportCallbackCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugReportCallbackCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DebugReportCallbackCreateInfoEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags_ = {}, - PFN_vkDebugReportCallbackEXT pfnCallback_ = {}, - void * pUserData_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pfnCallback( pfnCallback_ ) - , pUserData( pUserData_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugReportCallbackCreateInfoEXT( DebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugReportCallbackCreateInfoEXT( VkDebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugReportCallbackCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugReportCallbackCreateInfoEXT & - operator=( DebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugReportCallbackCreateInfoEXT & operator=( VkDebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugReportCallbackCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugReportCallbackCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DebugReportCallbackCreateInfoEXT & setPfnCallback( PFN_vkDebugReportCallbackEXT pfnCallback_ ) VULKAN_HPP_NOEXCEPT - { - pfnCallback = pfnCallback_; - return *this; - } - - DebugReportCallbackCreateInfoEXT & setPUserData( void * pUserData_ ) VULKAN_HPP_NOEXCEPT - { - pUserData = pUserData_; - return *this; - } - - operator VkDebugReportCallbackCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugReportCallbackCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugReportCallbackCreateInfoEXT const & ) const = default; -#else - bool operator==( DebugReportCallbackCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pfnCallback == rhs.pfnCallback ) && ( pUserData == rhs.pUserData ); - } - - bool operator!=( DebugReportCallbackCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugReportCallbackCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags = {}; - PFN_vkDebugReportCallbackEXT pfnCallback = {}; - void * pUserData = {}; - }; - static_assert( sizeof( DebugReportCallbackCreateInfoEXT ) == sizeof( VkDebugReportCallbackCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugReportCallbackCreateInfoEXT; - }; - - struct DebugUtilsObjectNameInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsObjectNameInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DebugUtilsObjectNameInfoEXT( - VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, - uint64_t objectHandle_ = {}, - const char * pObjectName_ = {} ) VULKAN_HPP_NOEXCEPT - : objectType( objectType_ ) - , objectHandle( objectHandle_ ) - , pObjectName( pObjectName_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugUtilsObjectNameInfoEXT( DebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsObjectNameInfoEXT( VkDebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugUtilsObjectNameInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsObjectNameInfoEXT & - operator=( DebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsObjectNameInfoEXT & operator=( VkDebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugUtilsObjectNameInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugUtilsObjectNameInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::ObjectType objectType_ ) VULKAN_HPP_NOEXCEPT - { - objectType = objectType_; - return *this; - } - - DebugUtilsObjectNameInfoEXT & setObjectHandle( uint64_t objectHandle_ ) VULKAN_HPP_NOEXCEPT - { - objectHandle = objectHandle_; - return *this; - } - - DebugUtilsObjectNameInfoEXT & setPObjectName( const char * pObjectName_ ) VULKAN_HPP_NOEXCEPT - { - pObjectName = pObjectName_; - return *this; - } - - operator VkDebugUtilsObjectNameInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugUtilsObjectNameInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsObjectNameInfoEXT const & ) const = default; -#else - bool operator==( DebugUtilsObjectNameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( objectType == rhs.objectType ) && - ( objectHandle == rhs.objectHandle ) && ( pObjectName == rhs.pObjectName ); - } - - bool operator!=( DebugUtilsObjectNameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsObjectNameInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; - uint64_t objectHandle = {}; - const char * pObjectName = {}; - }; - static_assert( sizeof( DebugUtilsObjectNameInfoEXT ) == sizeof( VkDebugUtilsObjectNameInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugUtilsObjectNameInfoEXT; - }; - - struct DebugUtilsMessengerCallbackDataEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDebugUtilsMessengerCallbackDataEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCallbackDataEXT( - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_ = {}, - const char * pMessageIdName_ = {}, - int32_t messageIdNumber_ = {}, - const char * pMessage_ = {}, - uint32_t queueLabelCount_ = {}, - const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pQueueLabels_ = {}, - uint32_t cmdBufLabelCount_ = {}, - const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pCmdBufLabels_ = {}, - uint32_t objectCount_ = {}, - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT * pObjects_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pMessageIdName( pMessageIdName_ ) - , messageIdNumber( messageIdNumber_ ) - , pMessage( pMessage_ ) - , queueLabelCount( queueLabelCount_ ) - , pQueueLabels( pQueueLabels_ ) - , cmdBufLabelCount( cmdBufLabelCount_ ) - , pCmdBufLabels( pCmdBufLabels_ ) - , objectCount( objectCount_ ) - , pObjects( pObjects_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCallbackDataEXT( DebugUtilsMessengerCallbackDataEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsMessengerCallbackDataEXT( VkDebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugUtilsMessengerCallbackDataEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DebugUtilsMessengerCallbackDataEXT( - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_, - const char * pMessageIdName_, - int32_t messageIdNumber_, - const char * pMessage_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - queueLabels_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - cmdBufLabels_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - objects_ = {} ) - : flags( flags_ ) - , pMessageIdName( pMessageIdName_ ) - , messageIdNumber( messageIdNumber_ ) - , pMessage( pMessage_ ) - , queueLabelCount( static_cast( queueLabels_.size() ) ) - , pQueueLabels( queueLabels_.data() ) - , cmdBufLabelCount( static_cast( cmdBufLabels_.size() ) ) - , pCmdBufLabels( cmdBufLabels_.data() ) - , objectCount( static_cast( objects_.size() ) ) - , pObjects( objects_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCallbackDataEXT & - operator=( DebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsMessengerCallbackDataEXT & - operator=( VkDebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & - setFlags( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & setPMessageIdName( const char * pMessageIdName_ ) VULKAN_HPP_NOEXCEPT - { - pMessageIdName = pMessageIdName_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & setMessageIdNumber( int32_t messageIdNumber_ ) VULKAN_HPP_NOEXCEPT - { - messageIdNumber = messageIdNumber_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & setPMessage( const char * pMessage_ ) VULKAN_HPP_NOEXCEPT - { - pMessage = pMessage_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & setQueueLabelCount( uint32_t queueLabelCount_ ) VULKAN_HPP_NOEXCEPT - { - queueLabelCount = queueLabelCount_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & - setPQueueLabels( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pQueueLabels_ ) VULKAN_HPP_NOEXCEPT - { - pQueueLabels = pQueueLabels_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DebugUtilsMessengerCallbackDataEXT & setQueueLabels( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - queueLabels_ ) VULKAN_HPP_NOEXCEPT - { - queueLabelCount = static_cast( queueLabels_.size() ); - pQueueLabels = queueLabels_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DebugUtilsMessengerCallbackDataEXT & setCmdBufLabelCount( uint32_t cmdBufLabelCount_ ) VULKAN_HPP_NOEXCEPT - { - cmdBufLabelCount = cmdBufLabelCount_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & - setPCmdBufLabels( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pCmdBufLabels_ ) VULKAN_HPP_NOEXCEPT - { - pCmdBufLabels = pCmdBufLabels_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DebugUtilsMessengerCallbackDataEXT & setCmdBufLabels( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - cmdBufLabels_ ) VULKAN_HPP_NOEXCEPT - { - cmdBufLabelCount = static_cast( cmdBufLabels_.size() ); - pCmdBufLabels = cmdBufLabels_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DebugUtilsMessengerCallbackDataEXT & setObjectCount( uint32_t objectCount_ ) VULKAN_HPP_NOEXCEPT - { - objectCount = objectCount_; - return *this; - } - - DebugUtilsMessengerCallbackDataEXT & - setPObjects( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT * pObjects_ ) VULKAN_HPP_NOEXCEPT - { - pObjects = pObjects_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DebugUtilsMessengerCallbackDataEXT & setObjects( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - objects_ ) VULKAN_HPP_NOEXCEPT - { - objectCount = static_cast( objects_.size() ); - pObjects = objects_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDebugUtilsMessengerCallbackDataEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugUtilsMessengerCallbackDataEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsMessengerCallbackDataEXT const & ) const = default; -#else - bool operator==( DebugUtilsMessengerCallbackDataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pMessageIdName == rhs.pMessageIdName ) && ( messageIdNumber == rhs.messageIdNumber ) && - ( pMessage == rhs.pMessage ) && ( queueLabelCount == rhs.queueLabelCount ) && - ( pQueueLabels == rhs.pQueueLabels ) && ( cmdBufLabelCount == rhs.cmdBufLabelCount ) && - ( pCmdBufLabels == rhs.pCmdBufLabels ) && ( objectCount == rhs.objectCount ) && - ( pObjects == rhs.pObjects ); - } - - bool operator!=( DebugUtilsMessengerCallbackDataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsMessengerCallbackDataEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags = {}; - const char * pMessageIdName = {}; - int32_t messageIdNumber = {}; - const char * pMessage = {}; - uint32_t queueLabelCount = {}; - const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pQueueLabels = {}; - uint32_t cmdBufLabelCount = {}; - const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pCmdBufLabels = {}; - uint32_t objectCount = {}; - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT * pObjects = {}; - }; - static_assert( sizeof( DebugUtilsMessengerCallbackDataEXT ) == sizeof( VkDebugUtilsMessengerCallbackDataEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugUtilsMessengerCallbackDataEXT; - }; - - struct DebugUtilsMessengerCreateInfoEXT - { - static const bool allowDuplicate = true; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsMessengerCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DebugUtilsMessengerCreateInfoEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity_ = {}, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType_ = {}, - PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ = {}, - void * pUserData_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , messageSeverity( messageSeverity_ ) - , messageType( messageType_ ) - , pfnUserCallback( pfnUserCallback_ ) - , pUserData( pUserData_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugUtilsMessengerCreateInfoEXT( DebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsMessengerCreateInfoEXT( VkDebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugUtilsMessengerCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCreateInfoEXT & - operator=( DebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsMessengerCreateInfoEXT & operator=( VkDebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & - setMessageSeverity( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity_ ) VULKAN_HPP_NOEXCEPT - { - messageSeverity = messageSeverity_; - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & - setMessageType( VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType_ ) VULKAN_HPP_NOEXCEPT - { - messageType = messageType_; - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & - setPfnUserCallback( PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ ) VULKAN_HPP_NOEXCEPT - { - pfnUserCallback = pfnUserCallback_; - return *this; - } - - DebugUtilsMessengerCreateInfoEXT & setPUserData( void * pUserData_ ) VULKAN_HPP_NOEXCEPT - { - pUserData = pUserData_; - return *this; - } - - operator VkDebugUtilsMessengerCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugUtilsMessengerCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsMessengerCreateInfoEXT const & ) const = default; -#else - bool operator==( DebugUtilsMessengerCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( messageSeverity == rhs.messageSeverity ) && ( messageType == rhs.messageType ) && - ( pfnUserCallback == rhs.pfnUserCallback ) && ( pUserData == rhs.pUserData ); - } - - bool operator!=( DebugUtilsMessengerCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsMessengerCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity = {}; - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType = {}; - PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback = {}; - void * pUserData = {}; - }; - static_assert( sizeof( DebugUtilsMessengerCreateInfoEXT ) == sizeof( VkDebugUtilsMessengerCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugUtilsMessengerCreateInfoEXT; - }; - - struct DebugUtilsObjectTagInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsObjectTagInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DebugUtilsObjectTagInfoEXT( - VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, - uint64_t objectHandle_ = {}, - uint64_t tagName_ = {}, - size_t tagSize_ = {}, - const void * pTag_ = {} ) VULKAN_HPP_NOEXCEPT - : objectType( objectType_ ) - , objectHandle( objectHandle_ ) - , tagName( tagName_ ) - , tagSize( tagSize_ ) - , pTag( pTag_ ) - {} - - VULKAN_HPP_CONSTEXPR - DebugUtilsObjectTagInfoEXT( DebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsObjectTagInfoEXT( VkDebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DebugUtilsObjectTagInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - DebugUtilsObjectTagInfoEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType_, - uint64_t objectHandle_, - uint64_t tagName_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) - : objectType( objectType_ ) - , objectHandle( objectHandle_ ) - , tagName( tagName_ ) - , tagSize( tag_.size() * sizeof( T ) ) - , pTag( tag_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DebugUtilsObjectTagInfoEXT & - operator=( DebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DebugUtilsObjectTagInfoEXT & operator=( VkDebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DebugUtilsObjectTagInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DebugUtilsObjectTagInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::ObjectType objectType_ ) VULKAN_HPP_NOEXCEPT - { - objectType = objectType_; - return *this; - } - - DebugUtilsObjectTagInfoEXT & setObjectHandle( uint64_t objectHandle_ ) VULKAN_HPP_NOEXCEPT - { - objectHandle = objectHandle_; - return *this; - } - - DebugUtilsObjectTagInfoEXT & setTagName( uint64_t tagName_ ) VULKAN_HPP_NOEXCEPT - { - tagName = tagName_; - return *this; - } - - DebugUtilsObjectTagInfoEXT & setTagSize( size_t tagSize_ ) VULKAN_HPP_NOEXCEPT - { - tagSize = tagSize_; - return *this; - } - - DebugUtilsObjectTagInfoEXT & setPTag( const void * pTag_ ) VULKAN_HPP_NOEXCEPT - { - pTag = pTag_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - DebugUtilsObjectTagInfoEXT & - setTag( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) VULKAN_HPP_NOEXCEPT - { - tagSize = tag_.size() * sizeof( T ); - pTag = tag_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDebugUtilsObjectTagInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDebugUtilsObjectTagInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsObjectTagInfoEXT const & ) const = default; -#else - bool operator==( DebugUtilsObjectTagInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( objectType == rhs.objectType ) && - ( objectHandle == rhs.objectHandle ) && ( tagName == rhs.tagName ) && ( tagSize == rhs.tagSize ) && - ( pTag == rhs.pTag ); - } - - bool operator!=( DebugUtilsObjectTagInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsObjectTagInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; - uint64_t objectHandle = {}; - uint64_t tagName = {}; - size_t tagSize = {}; - const void * pTag = {}; - }; - static_assert( sizeof( DebugUtilsObjectTagInfoEXT ) == sizeof( VkDebugUtilsObjectTagInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DebugUtilsObjectTagInfoEXT; - }; - - struct DedicatedAllocationBufferCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDedicatedAllocationBufferCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ = {} ) - VULKAN_HPP_NOEXCEPT : dedicatedAllocation( dedicatedAllocation_ ) - {} - - VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV( DedicatedAllocationBufferCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationBufferCreateInfoNV( VkDedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : DedicatedAllocationBufferCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DedicatedAllocationBufferCreateInfoNV & - operator=( DedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationBufferCreateInfoNV & - operator=( VkDedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DedicatedAllocationBufferCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DedicatedAllocationBufferCreateInfoNV & - setDedicatedAllocation( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ ) VULKAN_HPP_NOEXCEPT - { - dedicatedAllocation = dedicatedAllocation_; - return *this; - } - - operator VkDedicatedAllocationBufferCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDedicatedAllocationBufferCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DedicatedAllocationBufferCreateInfoNV const & ) const = default; -#else - bool operator==( DedicatedAllocationBufferCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dedicatedAllocation == rhs.dedicatedAllocation ); - } - - bool operator!=( DedicatedAllocationBufferCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation = {}; - }; - static_assert( sizeof( DedicatedAllocationBufferCreateInfoNV ) == sizeof( VkDedicatedAllocationBufferCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DedicatedAllocationBufferCreateInfoNV; - }; - - struct DedicatedAllocationImageCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDedicatedAllocationImageCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DedicatedAllocationImageCreateInfoNV( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ = {} ) VULKAN_HPP_NOEXCEPT - : dedicatedAllocation( dedicatedAllocation_ ) - {} - - VULKAN_HPP_CONSTEXPR DedicatedAllocationImageCreateInfoNV( DedicatedAllocationImageCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationImageCreateInfoNV( VkDedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : DedicatedAllocationImageCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DedicatedAllocationImageCreateInfoNV & - operator=( DedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationImageCreateInfoNV & - operator=( VkDedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DedicatedAllocationImageCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DedicatedAllocationImageCreateInfoNV & - setDedicatedAllocation( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ ) VULKAN_HPP_NOEXCEPT - { - dedicatedAllocation = dedicatedAllocation_; - return *this; - } - - operator VkDedicatedAllocationImageCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDedicatedAllocationImageCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DedicatedAllocationImageCreateInfoNV const & ) const = default; -#else - bool operator==( DedicatedAllocationImageCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dedicatedAllocation == rhs.dedicatedAllocation ); - } - - bool operator!=( DedicatedAllocationImageCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation = {}; - }; - static_assert( sizeof( DedicatedAllocationImageCreateInfoNV ) == sizeof( VkDedicatedAllocationImageCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DedicatedAllocationImageCreateInfoNV; - }; - - struct DedicatedAllocationMemoryAllocateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDedicatedAllocationMemoryAllocateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DedicatedAllocationMemoryAllocateInfoNV( VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - , buffer( buffer_ ) - {} - - VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationMemoryAllocateInfoNV( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : DedicatedAllocationMemoryAllocateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DedicatedAllocationMemoryAllocateInfoNV & - operator=( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DedicatedAllocationMemoryAllocateInfoNV & - operator=( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DedicatedAllocationMemoryAllocateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DedicatedAllocationMemoryAllocateInfoNV & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - DedicatedAllocationMemoryAllocateInfoNV & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - operator VkDedicatedAllocationMemoryAllocateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDedicatedAllocationMemoryAllocateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DedicatedAllocationMemoryAllocateInfoNV const & ) const = default; -#else - bool operator==( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( image == rhs.image ) && ( buffer == rhs.buffer ); - } - - bool operator!=( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - }; - static_assert( sizeof( DedicatedAllocationMemoryAllocateInfoNV ) == - sizeof( VkDedicatedAllocationMemoryAllocateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DedicatedAllocationMemoryAllocateInfoNV; - }; - - struct DescriptorPoolSize - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DescriptorPoolSize( VULKAN_HPP_NAMESPACE::DescriptorType type_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, - uint32_t descriptorCount_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , descriptorCount( descriptorCount_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorPoolSize( DescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolSize( VkDescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorPoolSize( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorPoolSize & - operator=( DescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolSize & operator=( VkDescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorPoolSize & setType( VULKAN_HPP_NAMESPACE::DescriptorType type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - DescriptorPoolSize & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = descriptorCount_; - return *this; - } - - operator VkDescriptorPoolSize const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorPoolSize &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorPoolSize const & ) const = default; -#else - bool operator==( DescriptorPoolSize const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( type == rhs.type ) && ( descriptorCount == rhs.descriptorCount ); - } - - bool operator!=( DescriptorPoolSize const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DescriptorType type = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; - uint32_t descriptorCount = {}; - }; - static_assert( sizeof( DescriptorPoolSize ) == sizeof( VkDescriptorPoolSize ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DescriptorPoolCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorPoolCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DescriptorPoolCreateInfo( VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_ = {}, - uint32_t maxSets_ = {}, - uint32_t poolSizeCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorPoolSize * pPoolSizes_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , maxSets( maxSets_ ) - , poolSizeCount( poolSizeCount_ ) - , pPoolSizes( pPoolSizes_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorPoolCreateInfo( DescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolCreateInfo( VkDescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorPoolCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorPoolCreateInfo( - VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_, - uint32_t maxSets_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & poolSizes_ ) - : flags( flags_ ) - , maxSets( maxSets_ ) - , poolSizeCount( static_cast( poolSizes_.size() ) ) - , pPoolSizes( poolSizes_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorPoolCreateInfo & - operator=( DescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolCreateInfo & operator=( VkDescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorPoolCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DescriptorPoolCreateInfo & setMaxSets( uint32_t maxSets_ ) VULKAN_HPP_NOEXCEPT - { - maxSets = maxSets_; - return *this; - } - - DescriptorPoolCreateInfo & setPoolSizeCount( uint32_t poolSizeCount_ ) VULKAN_HPP_NOEXCEPT - { - poolSizeCount = poolSizeCount_; - return *this; - } - - DescriptorPoolCreateInfo & - setPPoolSizes( const VULKAN_HPP_NAMESPACE::DescriptorPoolSize * pPoolSizes_ ) VULKAN_HPP_NOEXCEPT - { - pPoolSizes = pPoolSizes_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorPoolCreateInfo & setPoolSizes( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & poolSizes_ ) - VULKAN_HPP_NOEXCEPT - { - poolSizeCount = static_cast( poolSizes_.size() ); - pPoolSizes = poolSizes_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorPoolCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorPoolCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorPoolCreateInfo const & ) const = default; -#else - bool operator==( DescriptorPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( maxSets == rhs.maxSets ) && - ( poolSizeCount == rhs.poolSizeCount ) && ( pPoolSizes == rhs.pPoolSizes ); - } - - bool operator!=( DescriptorPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorPoolCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags = {}; - uint32_t maxSets = {}; - uint32_t poolSizeCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorPoolSize * pPoolSizes = {}; - }; - static_assert( sizeof( DescriptorPoolCreateInfo ) == sizeof( VkDescriptorPoolCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorPoolCreateInfo; - }; - - struct DescriptorPoolInlineUniformBlockCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DescriptorPoolInlineUniformBlockCreateInfoEXT( uint32_t maxInlineUniformBlockBindings_ = {} ) VULKAN_HPP_NOEXCEPT - : maxInlineUniformBlockBindings( maxInlineUniformBlockBindings_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorPoolInlineUniformBlockCreateInfoEXT( - DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolInlineUniformBlockCreateInfoEXT( VkDescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : DescriptorPoolInlineUniformBlockCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorPoolInlineUniformBlockCreateInfoEXT & - operator=( DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorPoolInlineUniformBlockCreateInfoEXT & - operator=( VkDescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorPoolInlineUniformBlockCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorPoolInlineUniformBlockCreateInfoEXT & - setMaxInlineUniformBlockBindings( uint32_t maxInlineUniformBlockBindings_ ) VULKAN_HPP_NOEXCEPT - { - maxInlineUniformBlockBindings = maxInlineUniformBlockBindings_; - return *this; - } - - operator VkDescriptorPoolInlineUniformBlockCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorPoolInlineUniformBlockCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorPoolInlineUniformBlockCreateInfoEXT const & ) const = default; -#else - bool operator==( DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxInlineUniformBlockBindings == rhs.maxInlineUniformBlockBindings ); - } - - bool operator!=( DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT; - const void * pNext = {}; - uint32_t maxInlineUniformBlockBindings = {}; - }; - static_assert( sizeof( DescriptorPoolInlineUniformBlockCreateInfoEXT ) == - sizeof( VkDescriptorPoolInlineUniformBlockCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorPoolInlineUniformBlockCreateInfoEXT; - }; - - class DescriptorPool - { - public: - using CType = VkDescriptorPool; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorPool; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorPool; - - public: - VULKAN_HPP_CONSTEXPR DescriptorPool() = default; - VULKAN_HPP_CONSTEXPR DescriptorPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorPool( VkDescriptorPool descriptorPool ) VULKAN_HPP_NOEXCEPT - : m_descriptorPool( descriptorPool ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DescriptorPool & operator=( VkDescriptorPool descriptorPool ) VULKAN_HPP_NOEXCEPT - { - m_descriptorPool = descriptorPool; - return *this; - } -#endif - - DescriptorPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_descriptorPool = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorPool const & ) const = default; -#else - bool operator==( DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool == rhs.m_descriptorPool; - } - - bool operator!=( DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool != rhs.m_descriptorPool; - } - - bool operator<( DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool < rhs.m_descriptorPool; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorPool() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorPool == VK_NULL_HANDLE; - } - - private: - VkDescriptorPool m_descriptorPool = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorPool ) == sizeof( VkDescriptorPool ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DescriptorPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorPool; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorPool; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class DescriptorSetLayout - { - public: - using CType = VkDescriptorSetLayout; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorSetLayout; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorSetLayout; - - public: - VULKAN_HPP_CONSTEXPR DescriptorSetLayout() = default; - VULKAN_HPP_CONSTEXPR DescriptorSetLayout( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout ) VULKAN_HPP_NOEXCEPT - : m_descriptorSetLayout( descriptorSetLayout ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DescriptorSetLayout & operator=( VkDescriptorSetLayout descriptorSetLayout ) VULKAN_HPP_NOEXCEPT - { - m_descriptorSetLayout = descriptorSetLayout; - return *this; - } -#endif - - DescriptorSetLayout & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_descriptorSetLayout = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetLayout const & ) const = default; -#else - bool operator==( DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout == rhs.m_descriptorSetLayout; - } - - bool operator!=( DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout != rhs.m_descriptorSetLayout; - } - - bool operator<( DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout < rhs.m_descriptorSetLayout; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSetLayout() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_descriptorSetLayout == VK_NULL_HANDLE; - } - - private: - VkDescriptorSetLayout m_descriptorSetLayout = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorSetLayout ) == sizeof( VkDescriptorSetLayout ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct DescriptorSetAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorSetAllocateInfo( - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_ = {}, - uint32_t descriptorSetCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts_ = {} ) VULKAN_HPP_NOEXCEPT - : descriptorPool( descriptorPool_ ) - , descriptorSetCount( descriptorSetCount_ ) - , pSetLayouts( pSetLayouts_ ) - {} - - VULKAN_HPP_CONSTEXPR - DescriptorSetAllocateInfo( DescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetAllocateInfo( VkDescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorSetAllocateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetAllocateInfo( - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - setLayouts_ ) - : descriptorPool( descriptorPool_ ) - , descriptorSetCount( static_cast( setLayouts_.size() ) ) - , pSetLayouts( setLayouts_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetAllocateInfo & - operator=( DescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetAllocateInfo & operator=( VkDescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorSetAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorSetAllocateInfo & - setDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_ ) VULKAN_HPP_NOEXCEPT - { - descriptorPool = descriptorPool_; - return *this; - } - - DescriptorSetAllocateInfo & setDescriptorSetCount( uint32_t descriptorSetCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorSetCount = descriptorSetCount_; - return *this; - } - - DescriptorSetAllocateInfo & - setPSetLayouts( const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts_ ) VULKAN_HPP_NOEXCEPT - { - pSetLayouts = pSetLayouts_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetAllocateInfo & setSetLayouts( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - setLayouts_ ) VULKAN_HPP_NOEXCEPT - { - descriptorSetCount = static_cast( setLayouts_.size() ); - pSetLayouts = setLayouts_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorSetAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetAllocateInfo const & ) const = default; -#else - bool operator==( DescriptorSetAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( descriptorPool == rhs.descriptorPool ) && - ( descriptorSetCount == rhs.descriptorSetCount ) && ( pSetLayouts == rhs.pSetLayouts ); - } - - bool operator!=( DescriptorSetAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetAllocateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool = {}; - uint32_t descriptorSetCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts = {}; - }; - static_assert( sizeof( DescriptorSetAllocateInfo ) == sizeof( VkDescriptorSetAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetAllocateInfo; - }; - - struct DescriptorSetLayoutBinding - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBinding( - uint32_t binding_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, - uint32_t descriptorCount_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ = {}, - const VULKAN_HPP_NAMESPACE::Sampler * pImmutableSamplers_ = {} ) VULKAN_HPP_NOEXCEPT - : binding( binding_ ) - , descriptorType( descriptorType_ ) - , descriptorCount( descriptorCount_ ) - , stageFlags( stageFlags_ ) - , pImmutableSamplers( pImmutableSamplers_ ) - {} - - VULKAN_HPP_CONSTEXPR - DescriptorSetLayoutBinding( DescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutBinding( VkDescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorSetLayoutBinding( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutBinding( - uint32_t binding_, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & immutableSamplers_ ) - : binding( binding_ ) - , descriptorType( descriptorType_ ) - , descriptorCount( static_cast( immutableSamplers_.size() ) ) - , stageFlags( stageFlags_ ) - , pImmutableSamplers( immutableSamplers_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetLayoutBinding & - operator=( DescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutBinding & operator=( VkDescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorSetLayoutBinding & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - DescriptorSetLayoutBinding & - setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT - { - descriptorType = descriptorType_; - return *this; - } - - DescriptorSetLayoutBinding & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = descriptorCount_; - return *this; - } - - DescriptorSetLayoutBinding & setStageFlags( VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ ) VULKAN_HPP_NOEXCEPT - { - stageFlags = stageFlags_; - return *this; - } - - DescriptorSetLayoutBinding & - setPImmutableSamplers( const VULKAN_HPP_NAMESPACE::Sampler * pImmutableSamplers_ ) VULKAN_HPP_NOEXCEPT - { - pImmutableSamplers = pImmutableSamplers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutBinding & setImmutableSamplers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & immutableSamplers_ ) - VULKAN_HPP_NOEXCEPT - { - descriptorCount = static_cast( immutableSamplers_.size() ); - pImmutableSamplers = immutableSamplers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorSetLayoutBinding const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetLayoutBinding &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetLayoutBinding const & ) const = default; -#else - bool operator==( DescriptorSetLayoutBinding const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( binding == rhs.binding ) && ( descriptorType == rhs.descriptorType ) && - ( descriptorCount == rhs.descriptorCount ) && ( stageFlags == rhs.stageFlags ) && - ( pImmutableSamplers == rhs.pImmutableSamplers ); - } - - bool operator!=( DescriptorSetLayoutBinding const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t binding = {}; - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; - uint32_t descriptorCount = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags = {}; - const VULKAN_HPP_NAMESPACE::Sampler * pImmutableSamplers = {}; - }; - static_assert( sizeof( DescriptorSetLayoutBinding ) == sizeof( VkDescriptorSetLayoutBinding ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DescriptorSetLayoutBindingFlagsCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBindingFlagsCreateInfo( - uint32_t bindingCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags * pBindingFlags_ = {} ) VULKAN_HPP_NOEXCEPT - : bindingCount( bindingCount_ ) - , pBindingFlags( pBindingFlags_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBindingFlagsCreateInfo( - DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutBindingFlagsCreateInfo( VkDescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT - : DescriptorSetLayoutBindingFlagsCreateInfo( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutBindingFlagsCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bindingFlags_ ) - : bindingCount( static_cast( bindingFlags_.size() ) ), pBindingFlags( bindingFlags_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetLayoutBindingFlagsCreateInfo & - operator=( DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutBindingFlagsCreateInfo & - operator=( VkDescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorSetLayoutBindingFlagsCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorSetLayoutBindingFlagsCreateInfo & setBindingCount( uint32_t bindingCount_ ) VULKAN_HPP_NOEXCEPT - { - bindingCount = bindingCount_; - return *this; - } - - DescriptorSetLayoutBindingFlagsCreateInfo & - setPBindingFlags( const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags * pBindingFlags_ ) VULKAN_HPP_NOEXCEPT - { - pBindingFlags = pBindingFlags_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutBindingFlagsCreateInfo & setBindingFlags( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bindingFlags_ ) VULKAN_HPP_NOEXCEPT - { - bindingCount = static_cast( bindingFlags_.size() ); - pBindingFlags = bindingFlags_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorSetLayoutBindingFlagsCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetLayoutBindingFlagsCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetLayoutBindingFlagsCreateInfo const & ) const = default; -#else - bool operator==( DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( bindingCount == rhs.bindingCount ) && - ( pBindingFlags == rhs.pBindingFlags ); - } - - bool operator!=( DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo; - const void * pNext = {}; - uint32_t bindingCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags * pBindingFlags = {}; - }; - static_assert( sizeof( DescriptorSetLayoutBindingFlagsCreateInfo ) == - sizeof( VkDescriptorSetLayoutBindingFlagsCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetLayoutBindingFlagsCreateInfo; - }; - using DescriptorSetLayoutBindingFlagsCreateInfoEXT = DescriptorSetLayoutBindingFlagsCreateInfo; - - struct DescriptorSetLayoutCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetLayoutCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateInfo( - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_ = {}, - uint32_t bindingCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding * pBindings_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , bindingCount( bindingCount_ ) - , pBindings( pBindings_ ) - {} - - VULKAN_HPP_CONSTEXPR - DescriptorSetLayoutCreateInfo( DescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutCreateInfo( VkDescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorSetLayoutCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutCreateInfo( - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bindings_ ) - : flags( flags_ ), bindingCount( static_cast( bindings_.size() ) ), pBindings( bindings_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetLayoutCreateInfo & - operator=( DescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutCreateInfo & operator=( VkDescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorSetLayoutCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorSetLayoutCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DescriptorSetLayoutCreateInfo & setBindingCount( uint32_t bindingCount_ ) VULKAN_HPP_NOEXCEPT - { - bindingCount = bindingCount_; - return *this; - } - - DescriptorSetLayoutCreateInfo & - setPBindings( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding * pBindings_ ) VULKAN_HPP_NOEXCEPT - { - pBindings = pBindings_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetLayoutCreateInfo & setBindings( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - bindings_ ) VULKAN_HPP_NOEXCEPT - { - bindingCount = static_cast( bindings_.size() ); - pBindings = bindings_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorSetLayoutCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetLayoutCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetLayoutCreateInfo const & ) const = default; -#else - bool operator==( DescriptorSetLayoutCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( bindingCount == rhs.bindingCount ) && ( pBindings == rhs.pBindings ); - } - - bool operator!=( DescriptorSetLayoutCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags = {}; - uint32_t bindingCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding * pBindings = {}; - }; - static_assert( sizeof( DescriptorSetLayoutCreateInfo ) == sizeof( VkDescriptorSetLayoutCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetLayoutCreateInfo; - }; - - struct DescriptorSetLayoutSupport - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetLayoutSupport; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorSetLayoutSupport( VULKAN_HPP_NAMESPACE::Bool32 supported_ = {} ) VULKAN_HPP_NOEXCEPT - : supported( supported_ ) - {} - - VULKAN_HPP_CONSTEXPR - DescriptorSetLayoutSupport( DescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutSupport( VkDescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorSetLayoutSupport( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetLayoutSupport & - operator=( DescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetLayoutSupport & operator=( VkDescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDescriptorSetLayoutSupport const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetLayoutSupport &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetLayoutSupport const & ) const = default; -#else - bool operator==( DescriptorSetLayoutSupport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( supported == rhs.supported ); - } - - bool operator!=( DescriptorSetLayoutSupport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutSupport; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 supported = {}; - }; - static_assert( sizeof( DescriptorSetLayoutSupport ) == sizeof( VkDescriptorSetLayoutSupport ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetLayoutSupport; - }; - using DescriptorSetLayoutSupportKHR = DescriptorSetLayoutSupport; - - struct DescriptorSetVariableDescriptorCountAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DescriptorSetVariableDescriptorCountAllocateInfo( uint32_t descriptorSetCount_ = {}, - const uint32_t * pDescriptorCounts_ = {} ) VULKAN_HPP_NOEXCEPT - : descriptorSetCount( descriptorSetCount_ ) - , pDescriptorCounts( pDescriptorCounts_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountAllocateInfo( - DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetVariableDescriptorCountAllocateInfo( VkDescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT - : DescriptorSetVariableDescriptorCountAllocateInfo( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetVariableDescriptorCountAllocateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorCounts_ ) - : descriptorSetCount( static_cast( descriptorCounts_.size() ) ) - , pDescriptorCounts( descriptorCounts_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetVariableDescriptorCountAllocateInfo & - operator=( DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetVariableDescriptorCountAllocateInfo & - operator=( VkDescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorSetVariableDescriptorCountAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorSetVariableDescriptorCountAllocateInfo & - setDescriptorSetCount( uint32_t descriptorSetCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorSetCount = descriptorSetCount_; - return *this; - } - - DescriptorSetVariableDescriptorCountAllocateInfo & - setPDescriptorCounts( const uint32_t * pDescriptorCounts_ ) VULKAN_HPP_NOEXCEPT - { - pDescriptorCounts = pDescriptorCounts_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorSetVariableDescriptorCountAllocateInfo & setDescriptorCounts( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorCounts_ ) VULKAN_HPP_NOEXCEPT - { - descriptorSetCount = static_cast( descriptorCounts_.size() ); - pDescriptorCounts = descriptorCounts_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDescriptorSetVariableDescriptorCountAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetVariableDescriptorCountAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetVariableDescriptorCountAllocateInfo const & ) const = default; -#else - bool operator==( DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( descriptorSetCount == rhs.descriptorSetCount ) && - ( pDescriptorCounts == rhs.pDescriptorCounts ); - } - - bool operator!=( DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo; - const void * pNext = {}; - uint32_t descriptorSetCount = {}; - const uint32_t * pDescriptorCounts = {}; - }; - static_assert( sizeof( DescriptorSetVariableDescriptorCountAllocateInfo ) == - sizeof( VkDescriptorSetVariableDescriptorCountAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetVariableDescriptorCountAllocateInfo; - }; - using DescriptorSetVariableDescriptorCountAllocateInfoEXT = DescriptorSetVariableDescriptorCountAllocateInfo; - - struct DescriptorSetVariableDescriptorCountLayoutSupport - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DescriptorSetVariableDescriptorCountLayoutSupport( uint32_t maxVariableDescriptorCount_ = {} ) VULKAN_HPP_NOEXCEPT - : maxVariableDescriptorCount( maxVariableDescriptorCount_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountLayoutSupport( - DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetVariableDescriptorCountLayoutSupport( VkDescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) - VULKAN_HPP_NOEXCEPT - : DescriptorSetVariableDescriptorCountLayoutSupport( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorSetVariableDescriptorCountLayoutSupport & - operator=( DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorSetVariableDescriptorCountLayoutSupport & - operator=( VkDescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDescriptorSetVariableDescriptorCountLayoutSupport const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorSetVariableDescriptorCountLayoutSupport &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorSetVariableDescriptorCountLayoutSupport const & ) const = default; -#else - bool operator==( DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxVariableDescriptorCount == rhs.maxVariableDescriptorCount ); - } - - bool operator!=( DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport; - void * pNext = {}; - uint32_t maxVariableDescriptorCount = {}; - }; - static_assert( sizeof( DescriptorSetVariableDescriptorCountLayoutSupport ) == - sizeof( VkDescriptorSetVariableDescriptorCountLayoutSupport ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorSetVariableDescriptorCountLayoutSupport; - }; - using DescriptorSetVariableDescriptorCountLayoutSupportEXT = DescriptorSetVariableDescriptorCountLayoutSupport; - - struct DescriptorUpdateTemplateEntry - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateEntry( - uint32_t dstBinding_ = {}, - uint32_t dstArrayElement_ = {}, - uint32_t descriptorCount_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, - size_t offset_ = {}, - size_t stride_ = {} ) VULKAN_HPP_NOEXCEPT - : dstBinding( dstBinding_ ) - , dstArrayElement( dstArrayElement_ ) - , descriptorCount( descriptorCount_ ) - , descriptorType( descriptorType_ ) - , offset( offset_ ) - , stride( stride_ ) - {} - - VULKAN_HPP_CONSTEXPR - DescriptorUpdateTemplateEntry( DescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorUpdateTemplateEntry( VkDescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorUpdateTemplateEntry( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorUpdateTemplateEntry & - operator=( DescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorUpdateTemplateEntry & operator=( VkDescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorUpdateTemplateEntry & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT - { - dstBinding = dstBinding_; - return *this; - } - - DescriptorUpdateTemplateEntry & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT - { - dstArrayElement = dstArrayElement_; - return *this; - } - - DescriptorUpdateTemplateEntry & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorCount = descriptorCount_; - return *this; - } - - DescriptorUpdateTemplateEntry & - setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT - { - descriptorType = descriptorType_; - return *this; - } - - DescriptorUpdateTemplateEntry & setOffset( size_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - DescriptorUpdateTemplateEntry & setStride( size_t stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - operator VkDescriptorUpdateTemplateEntry const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorUpdateTemplateEntry &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorUpdateTemplateEntry const & ) const = default; -#else - bool operator==( DescriptorUpdateTemplateEntry const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( dstBinding == rhs.dstBinding ) && ( dstArrayElement == rhs.dstArrayElement ) && - ( descriptorCount == rhs.descriptorCount ) && ( descriptorType == rhs.descriptorType ) && - ( offset == rhs.offset ) && ( stride == rhs.stride ); - } - - bool operator!=( DescriptorUpdateTemplateEntry const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t dstBinding = {}; - uint32_t dstArrayElement = {}; - uint32_t descriptorCount = {}; - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; - size_t offset = {}; - size_t stride = {}; - }; - static_assert( sizeof( DescriptorUpdateTemplateEntry ) == sizeof( VkDescriptorUpdateTemplateEntry ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - using DescriptorUpdateTemplateEntryKHR = DescriptorUpdateTemplateEntry; - - struct DescriptorUpdateTemplateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDescriptorUpdateTemplateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateCreateInfo( - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_ = {}, - uint32_t descriptorUpdateEntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry * pDescriptorUpdateEntries_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ = - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ = {}, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ = {}, - uint32_t set_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , descriptorUpdateEntryCount( descriptorUpdateEntryCount_ ) - , pDescriptorUpdateEntries( pDescriptorUpdateEntries_ ) - , templateType( templateType_ ) - , descriptorSetLayout( descriptorSetLayout_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , pipelineLayout( pipelineLayout_ ) - , set( set_ ) - {} - - VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateCreateInfo( DescriptorUpdateTemplateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DescriptorUpdateTemplateCreateInfo( VkDescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DescriptorUpdateTemplateCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorUpdateTemplateCreateInfo( - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - descriptorUpdateEntries_, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ = - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ = {}, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ = {}, - uint32_t set_ = {} ) - : flags( flags_ ) - , descriptorUpdateEntryCount( static_cast( descriptorUpdateEntries_.size() ) ) - , pDescriptorUpdateEntries( descriptorUpdateEntries_.data() ) - , templateType( templateType_ ) - , descriptorSetLayout( descriptorSetLayout_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , pipelineLayout( pipelineLayout_ ) - , set( set_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DescriptorUpdateTemplateCreateInfo & - operator=( DescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DescriptorUpdateTemplateCreateInfo & - operator=( VkDescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DescriptorUpdateTemplateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & - setDescriptorUpdateEntryCount( uint32_t descriptorUpdateEntryCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorUpdateEntryCount = descriptorUpdateEntryCount_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & setPDescriptorUpdateEntries( - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry * pDescriptorUpdateEntries_ ) VULKAN_HPP_NOEXCEPT - { - pDescriptorUpdateEntries = pDescriptorUpdateEntries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DescriptorUpdateTemplateCreateInfo & setDescriptorUpdateEntries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - descriptorUpdateEntries_ ) VULKAN_HPP_NOEXCEPT - { - descriptorUpdateEntryCount = static_cast( descriptorUpdateEntries_.size() ); - pDescriptorUpdateEntries = descriptorUpdateEntries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DescriptorUpdateTemplateCreateInfo & - setTemplateType( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ ) VULKAN_HPP_NOEXCEPT - { - templateType = templateType_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & - setDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ ) VULKAN_HPP_NOEXCEPT - { - descriptorSetLayout = descriptorSetLayout_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & - setPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ ) VULKAN_HPP_NOEXCEPT - { - pipelineLayout = pipelineLayout_; - return *this; - } - - DescriptorUpdateTemplateCreateInfo & setSet( uint32_t set_ ) VULKAN_HPP_NOEXCEPT - { - set = set_; - return *this; - } - - operator VkDescriptorUpdateTemplateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDescriptorUpdateTemplateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DescriptorUpdateTemplateCreateInfo const & ) const = default; -#else - bool operator==( DescriptorUpdateTemplateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( descriptorUpdateEntryCount == rhs.descriptorUpdateEntryCount ) && - ( pDescriptorUpdateEntries == rhs.pDescriptorUpdateEntries ) && ( templateType == rhs.templateType ) && - ( descriptorSetLayout == rhs.descriptorSetLayout ) && ( pipelineBindPoint == rhs.pipelineBindPoint ) && - ( pipelineLayout == rhs.pipelineLayout ) && ( set == rhs.set ); - } - - bool operator!=( DescriptorUpdateTemplateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorUpdateTemplateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags = {}; - uint32_t descriptorUpdateEntryCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry * pDescriptorUpdateEntries = {}; - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType = - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet; - VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout = {}; - uint32_t set = {}; - }; - static_assert( sizeof( DescriptorUpdateTemplateCreateInfo ) == sizeof( VkDescriptorUpdateTemplateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DescriptorUpdateTemplateCreateInfo; - }; - using DescriptorUpdateTemplateCreateInfoKHR = DescriptorUpdateTemplateCreateInfo; - - struct DeviceQueueCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceQueueCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceQueueCreateInfo( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ = {}, - uint32_t queueFamilyIndex_ = {}, - uint32_t queueCount_ = {}, - const float * pQueuePriorities_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , queueFamilyIndex( queueFamilyIndex_ ) - , queueCount( queueCount_ ) - , pQueuePriorities( pQueuePriorities_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceQueueCreateInfo( DeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueCreateInfo( VkDeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceQueueCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceQueueCreateInfo( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_, - uint32_t queueFamilyIndex_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queuePriorities_ ) - : flags( flags_ ) - , queueFamilyIndex( queueFamilyIndex_ ) - , queueCount( static_cast( queuePriorities_.size() ) ) - , pQueuePriorities( queuePriorities_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceQueueCreateInfo & - operator=( DeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueCreateInfo & operator=( VkDeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceQueueCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceQueueCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DeviceQueueCreateInfo & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndex = queueFamilyIndex_; - return *this; - } - - DeviceQueueCreateInfo & setQueueCount( uint32_t queueCount_ ) VULKAN_HPP_NOEXCEPT - { - queueCount = queueCount_; - return *this; - } - - DeviceQueueCreateInfo & setPQueuePriorities( const float * pQueuePriorities_ ) VULKAN_HPP_NOEXCEPT - { - pQueuePriorities = pQueuePriorities_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceQueueCreateInfo & setQueuePriorities( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queuePriorities_ ) VULKAN_HPP_NOEXCEPT - { - queueCount = static_cast( queuePriorities_.size() ); - pQueuePriorities = queuePriorities_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDeviceQueueCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceQueueCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceQueueCreateInfo const & ) const = default; -#else - bool operator==( DeviceQueueCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( queueFamilyIndex == rhs.queueFamilyIndex ) && ( queueCount == rhs.queueCount ) && - ( pQueuePriorities == rhs.pQueuePriorities ); - } - - bool operator!=( DeviceQueueCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags = {}; - uint32_t queueFamilyIndex = {}; - uint32_t queueCount = {}; - const float * pQueuePriorities = {}; - }; - static_assert( sizeof( DeviceQueueCreateInfo ) == sizeof( VkDeviceQueueCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceQueueCreateInfo; - }; - - struct PhysicalDeviceFeatures - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceFeatures( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 independentBlend_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 geometryShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 tessellationShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 logicOp_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthClamp_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthBounds_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 wideLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 largePoints_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 alphaToOne_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiViewport_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInt64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInt16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseBinding_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries_ = {} ) VULKAN_HPP_NOEXCEPT - : robustBufferAccess( robustBufferAccess_ ) - , fullDrawIndexUint32( fullDrawIndexUint32_ ) - , imageCubeArray( imageCubeArray_ ) - , independentBlend( independentBlend_ ) - , geometryShader( geometryShader_ ) - , tessellationShader( tessellationShader_ ) - , sampleRateShading( sampleRateShading_ ) - , dualSrcBlend( dualSrcBlend_ ) - , logicOp( logicOp_ ) - , multiDrawIndirect( multiDrawIndirect_ ) - , drawIndirectFirstInstance( drawIndirectFirstInstance_ ) - , depthClamp( depthClamp_ ) - , depthBiasClamp( depthBiasClamp_ ) - , fillModeNonSolid( fillModeNonSolid_ ) - , depthBounds( depthBounds_ ) - , wideLines( wideLines_ ) - , largePoints( largePoints_ ) - , alphaToOne( alphaToOne_ ) - , multiViewport( multiViewport_ ) - , samplerAnisotropy( samplerAnisotropy_ ) - , textureCompressionETC2( textureCompressionETC2_ ) - , textureCompressionASTC_LDR( textureCompressionASTC_LDR_ ) - , textureCompressionBC( textureCompressionBC_ ) - , occlusionQueryPrecise( occlusionQueryPrecise_ ) - , pipelineStatisticsQuery( pipelineStatisticsQuery_ ) - , vertexPipelineStoresAndAtomics( vertexPipelineStoresAndAtomics_ ) - , fragmentStoresAndAtomics( fragmentStoresAndAtomics_ ) - , shaderTessellationAndGeometryPointSize( shaderTessellationAndGeometryPointSize_ ) - , shaderImageGatherExtended( shaderImageGatherExtended_ ) - , shaderStorageImageExtendedFormats( shaderStorageImageExtendedFormats_ ) - , shaderStorageImageMultisample( shaderStorageImageMultisample_ ) - , shaderStorageImageReadWithoutFormat( shaderStorageImageReadWithoutFormat_ ) - , shaderStorageImageWriteWithoutFormat( shaderStorageImageWriteWithoutFormat_ ) - , shaderUniformBufferArrayDynamicIndexing( shaderUniformBufferArrayDynamicIndexing_ ) - , shaderSampledImageArrayDynamicIndexing( shaderSampledImageArrayDynamicIndexing_ ) - , shaderStorageBufferArrayDynamicIndexing( shaderStorageBufferArrayDynamicIndexing_ ) - , shaderStorageImageArrayDynamicIndexing( shaderStorageImageArrayDynamicIndexing_ ) - , shaderClipDistance( shaderClipDistance_ ) - , shaderCullDistance( shaderCullDistance_ ) - , shaderFloat64( shaderFloat64_ ) - , shaderInt64( shaderInt64_ ) - , shaderInt16( shaderInt16_ ) - , shaderResourceResidency( shaderResourceResidency_ ) - , shaderResourceMinLod( shaderResourceMinLod_ ) - , sparseBinding( sparseBinding_ ) - , sparseResidencyBuffer( sparseResidencyBuffer_ ) - , sparseResidencyImage2D( sparseResidencyImage2D_ ) - , sparseResidencyImage3D( sparseResidencyImage3D_ ) - , sparseResidency2Samples( sparseResidency2Samples_ ) - , sparseResidency4Samples( sparseResidency4Samples_ ) - , sparseResidency8Samples( sparseResidency8Samples_ ) - , sparseResidency16Samples( sparseResidency16Samples_ ) - , sparseResidencyAliased( sparseResidencyAliased_ ) - , variableMultisampleRate( variableMultisampleRate_ ) - , inheritedQueries( inheritedQueries_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures( PhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFeatures( VkPhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFeatures( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFeatures & - operator=( PhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFeatures & operator=( VkPhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFeatures & - setRobustBufferAccess( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess_ ) VULKAN_HPP_NOEXCEPT - { - robustBufferAccess = robustBufferAccess_; - return *this; - } - - PhysicalDeviceFeatures & - setFullDrawIndexUint32( VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32_ ) VULKAN_HPP_NOEXCEPT - { - fullDrawIndexUint32 = fullDrawIndexUint32_; - return *this; - } - - PhysicalDeviceFeatures & setImageCubeArray( VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray_ ) VULKAN_HPP_NOEXCEPT - { - imageCubeArray = imageCubeArray_; - return *this; - } - - PhysicalDeviceFeatures & setIndependentBlend( VULKAN_HPP_NAMESPACE::Bool32 independentBlend_ ) VULKAN_HPP_NOEXCEPT - { - independentBlend = independentBlend_; - return *this; - } - - PhysicalDeviceFeatures & setGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 geometryShader_ ) VULKAN_HPP_NOEXCEPT - { - geometryShader = geometryShader_; - return *this; - } - - PhysicalDeviceFeatures & - setTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 tessellationShader_ ) VULKAN_HPP_NOEXCEPT - { - tessellationShader = tessellationShader_; - return *this; - } - - PhysicalDeviceFeatures & setSampleRateShading( VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading_ ) VULKAN_HPP_NOEXCEPT - { - sampleRateShading = sampleRateShading_; - return *this; - } - - PhysicalDeviceFeatures & setDualSrcBlend( VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend_ ) VULKAN_HPP_NOEXCEPT - { - dualSrcBlend = dualSrcBlend_; - return *this; - } - - PhysicalDeviceFeatures & setLogicOp( VULKAN_HPP_NAMESPACE::Bool32 logicOp_ ) VULKAN_HPP_NOEXCEPT - { - logicOp = logicOp_; - return *this; - } - - PhysicalDeviceFeatures & setMultiDrawIndirect( VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect_ ) VULKAN_HPP_NOEXCEPT - { - multiDrawIndirect = multiDrawIndirect_; - return *this; - } - - PhysicalDeviceFeatures & - setDrawIndirectFirstInstance( VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance_ ) VULKAN_HPP_NOEXCEPT - { - drawIndirectFirstInstance = drawIndirectFirstInstance_; - return *this; - } - - PhysicalDeviceFeatures & setDepthClamp( VULKAN_HPP_NAMESPACE::Bool32 depthClamp_ ) VULKAN_HPP_NOEXCEPT - { - depthClamp = depthClamp_; - return *this; - } - - PhysicalDeviceFeatures & setDepthBiasClamp( VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp_ ) VULKAN_HPP_NOEXCEPT - { - depthBiasClamp = depthBiasClamp_; - return *this; - } - - PhysicalDeviceFeatures & setFillModeNonSolid( VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid_ ) VULKAN_HPP_NOEXCEPT - { - fillModeNonSolid = fillModeNonSolid_; - return *this; - } - - PhysicalDeviceFeatures & setDepthBounds( VULKAN_HPP_NAMESPACE::Bool32 depthBounds_ ) VULKAN_HPP_NOEXCEPT - { - depthBounds = depthBounds_; - return *this; - } - - PhysicalDeviceFeatures & setWideLines( VULKAN_HPP_NAMESPACE::Bool32 wideLines_ ) VULKAN_HPP_NOEXCEPT - { - wideLines = wideLines_; - return *this; - } - - PhysicalDeviceFeatures & setLargePoints( VULKAN_HPP_NAMESPACE::Bool32 largePoints_ ) VULKAN_HPP_NOEXCEPT - { - largePoints = largePoints_; - return *this; - } - - PhysicalDeviceFeatures & setAlphaToOne( VULKAN_HPP_NAMESPACE::Bool32 alphaToOne_ ) VULKAN_HPP_NOEXCEPT - { - alphaToOne = alphaToOne_; - return *this; - } - - PhysicalDeviceFeatures & setMultiViewport( VULKAN_HPP_NAMESPACE::Bool32 multiViewport_ ) VULKAN_HPP_NOEXCEPT - { - multiViewport = multiViewport_; - return *this; - } - - PhysicalDeviceFeatures & setSamplerAnisotropy( VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy_ ) VULKAN_HPP_NOEXCEPT - { - samplerAnisotropy = samplerAnisotropy_; - return *this; - } - - PhysicalDeviceFeatures & - setTextureCompressionETC2( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2_ ) VULKAN_HPP_NOEXCEPT - { - textureCompressionETC2 = textureCompressionETC2_; - return *this; - } - - PhysicalDeviceFeatures & - setTextureCompressionASTC_LDR( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR_ ) VULKAN_HPP_NOEXCEPT - { - textureCompressionASTC_LDR = textureCompressionASTC_LDR_; - return *this; - } - - PhysicalDeviceFeatures & - setTextureCompressionBC( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC_ ) VULKAN_HPP_NOEXCEPT - { - textureCompressionBC = textureCompressionBC_; - return *this; - } - - PhysicalDeviceFeatures & - setOcclusionQueryPrecise( VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise_ ) VULKAN_HPP_NOEXCEPT - { - occlusionQueryPrecise = occlusionQueryPrecise_; - return *this; - } - - PhysicalDeviceFeatures & - setPipelineStatisticsQuery( VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery_ ) VULKAN_HPP_NOEXCEPT - { - pipelineStatisticsQuery = pipelineStatisticsQuery_; - return *this; - } - - PhysicalDeviceFeatures & setVertexPipelineStoresAndAtomics( - VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics_ ) VULKAN_HPP_NOEXCEPT - { - vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics_; - return *this; - } - - PhysicalDeviceFeatures & - setFragmentStoresAndAtomics( VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics_ ) VULKAN_HPP_NOEXCEPT - { - fragmentStoresAndAtomics = fragmentStoresAndAtomics_; - return *this; - } - - PhysicalDeviceFeatures & setShaderTessellationAndGeometryPointSize( - VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize_ ) VULKAN_HPP_NOEXCEPT - { - shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize_; - return *this; - } - - PhysicalDeviceFeatures & - setShaderImageGatherExtended( VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended_ ) VULKAN_HPP_NOEXCEPT - { - shaderImageGatherExtended = shaderImageGatherExtended_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageImageExtendedFormats( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageImageMultisample( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageMultisample = shaderStorageImageMultisample_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageImageReadWithoutFormat( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageImageWriteWithoutFormat( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat_; - return *this; - } - - PhysicalDeviceFeatures & setShaderUniformBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceFeatures & setShaderSampledImageArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceFeatures & setShaderStorageImageArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceFeatures & - setShaderClipDistance( VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance_ ) VULKAN_HPP_NOEXCEPT - { - shaderClipDistance = shaderClipDistance_; - return *this; - } - - PhysicalDeviceFeatures & - setShaderCullDistance( VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance_ ) VULKAN_HPP_NOEXCEPT - { - shaderCullDistance = shaderCullDistance_; - return *this; - } - - PhysicalDeviceFeatures & setShaderFloat64( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64_ ) VULKAN_HPP_NOEXCEPT - { - shaderFloat64 = shaderFloat64_; - return *this; - } - - PhysicalDeviceFeatures & setShaderInt64( VULKAN_HPP_NAMESPACE::Bool32 shaderInt64_ ) VULKAN_HPP_NOEXCEPT - { - shaderInt64 = shaderInt64_; - return *this; - } - - PhysicalDeviceFeatures & setShaderInt16( VULKAN_HPP_NAMESPACE::Bool32 shaderInt16_ ) VULKAN_HPP_NOEXCEPT - { - shaderInt16 = shaderInt16_; - return *this; - } - - PhysicalDeviceFeatures & - setShaderResourceResidency( VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency_ ) VULKAN_HPP_NOEXCEPT - { - shaderResourceResidency = shaderResourceResidency_; - return *this; - } - - PhysicalDeviceFeatures & - setShaderResourceMinLod( VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod_ ) VULKAN_HPP_NOEXCEPT - { - shaderResourceMinLod = shaderResourceMinLod_; - return *this; - } - - PhysicalDeviceFeatures & setSparseBinding( VULKAN_HPP_NAMESPACE::Bool32 sparseBinding_ ) VULKAN_HPP_NOEXCEPT - { - sparseBinding = sparseBinding_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidencyBuffer( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidencyBuffer = sparseResidencyBuffer_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidencyImage2D( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidencyImage2D = sparseResidencyImage2D_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidencyImage3D( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidencyImage3D = sparseResidencyImage3D_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidency2Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidency2Samples = sparseResidency2Samples_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidency4Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidency4Samples = sparseResidency4Samples_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidency8Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidency8Samples = sparseResidency8Samples_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidency16Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidency16Samples = sparseResidency16Samples_; - return *this; - } - - PhysicalDeviceFeatures & - setSparseResidencyAliased( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased_ ) VULKAN_HPP_NOEXCEPT - { - sparseResidencyAliased = sparseResidencyAliased_; - return *this; - } - - PhysicalDeviceFeatures & - setVariableMultisampleRate( VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate_ ) VULKAN_HPP_NOEXCEPT - { - variableMultisampleRate = variableMultisampleRate_; - return *this; - } - - PhysicalDeviceFeatures & setInheritedQueries( VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries_ ) VULKAN_HPP_NOEXCEPT - { - inheritedQueries = inheritedQueries_; - return *this; - } - - operator VkPhysicalDeviceFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( robustBufferAccess == rhs.robustBufferAccess ) && ( fullDrawIndexUint32 == rhs.fullDrawIndexUint32 ) && - ( imageCubeArray == rhs.imageCubeArray ) && ( independentBlend == rhs.independentBlend ) && - ( geometryShader == rhs.geometryShader ) && ( tessellationShader == rhs.tessellationShader ) && - ( sampleRateShading == rhs.sampleRateShading ) && ( dualSrcBlend == rhs.dualSrcBlend ) && - ( logicOp == rhs.logicOp ) && ( multiDrawIndirect == rhs.multiDrawIndirect ) && - ( drawIndirectFirstInstance == rhs.drawIndirectFirstInstance ) && ( depthClamp == rhs.depthClamp ) && - ( depthBiasClamp == rhs.depthBiasClamp ) && ( fillModeNonSolid == rhs.fillModeNonSolid ) && - ( depthBounds == rhs.depthBounds ) && ( wideLines == rhs.wideLines ) && - ( largePoints == rhs.largePoints ) && ( alphaToOne == rhs.alphaToOne ) && - ( multiViewport == rhs.multiViewport ) && ( samplerAnisotropy == rhs.samplerAnisotropy ) && - ( textureCompressionETC2 == rhs.textureCompressionETC2 ) && - ( textureCompressionASTC_LDR == rhs.textureCompressionASTC_LDR ) && - ( textureCompressionBC == rhs.textureCompressionBC ) && - ( occlusionQueryPrecise == rhs.occlusionQueryPrecise ) && - ( pipelineStatisticsQuery == rhs.pipelineStatisticsQuery ) && - ( vertexPipelineStoresAndAtomics == rhs.vertexPipelineStoresAndAtomics ) && - ( fragmentStoresAndAtomics == rhs.fragmentStoresAndAtomics ) && - ( shaderTessellationAndGeometryPointSize == rhs.shaderTessellationAndGeometryPointSize ) && - ( shaderImageGatherExtended == rhs.shaderImageGatherExtended ) && - ( shaderStorageImageExtendedFormats == rhs.shaderStorageImageExtendedFormats ) && - ( shaderStorageImageMultisample == rhs.shaderStorageImageMultisample ) && - ( shaderStorageImageReadWithoutFormat == rhs.shaderStorageImageReadWithoutFormat ) && - ( shaderStorageImageWriteWithoutFormat == rhs.shaderStorageImageWriteWithoutFormat ) && - ( shaderUniformBufferArrayDynamicIndexing == rhs.shaderUniformBufferArrayDynamicIndexing ) && - ( shaderSampledImageArrayDynamicIndexing == rhs.shaderSampledImageArrayDynamicIndexing ) && - ( shaderStorageBufferArrayDynamicIndexing == rhs.shaderStorageBufferArrayDynamicIndexing ) && - ( shaderStorageImageArrayDynamicIndexing == rhs.shaderStorageImageArrayDynamicIndexing ) && - ( shaderClipDistance == rhs.shaderClipDistance ) && ( shaderCullDistance == rhs.shaderCullDistance ) && - ( shaderFloat64 == rhs.shaderFloat64 ) && ( shaderInt64 == rhs.shaderInt64 ) && - ( shaderInt16 == rhs.shaderInt16 ) && ( shaderResourceResidency == rhs.shaderResourceResidency ) && - ( shaderResourceMinLod == rhs.shaderResourceMinLod ) && ( sparseBinding == rhs.sparseBinding ) && - ( sparseResidencyBuffer == rhs.sparseResidencyBuffer ) && - ( sparseResidencyImage2D == rhs.sparseResidencyImage2D ) && - ( sparseResidencyImage3D == rhs.sparseResidencyImage3D ) && - ( sparseResidency2Samples == rhs.sparseResidency2Samples ) && - ( sparseResidency4Samples == rhs.sparseResidency4Samples ) && - ( sparseResidency8Samples == rhs.sparseResidency8Samples ) && - ( sparseResidency16Samples == rhs.sparseResidency16Samples ) && - ( sparseResidencyAliased == rhs.sparseResidencyAliased ) && - ( variableMultisampleRate == rhs.variableMultisampleRate ) && ( inheritedQueries == rhs.inheritedQueries ); - } - - bool operator!=( PhysicalDeviceFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray = {}; - VULKAN_HPP_NAMESPACE::Bool32 independentBlend = {}; - VULKAN_HPP_NAMESPACE::Bool32 geometryShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 tessellationShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading = {}; - VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend = {}; - VULKAN_HPP_NAMESPACE::Bool32 logicOp = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect = {}; - VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthClamp = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp = {}; - VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthBounds = {}; - VULKAN_HPP_NAMESPACE::Bool32 wideLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 largePoints = {}; - VULKAN_HPP_NAMESPACE::Bool32 alphaToOne = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiViewport = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy = {}; - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2 = {}; - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR = {}; - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC = {}; - VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise = {}; - VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInt64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInt16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseBinding = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased = {}; - VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate = {}; - VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries = {}; - }; - static_assert( sizeof( PhysicalDeviceFeatures ) == sizeof( VkPhysicalDeviceFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DeviceCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceCreateInfo( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_ = {}, - uint32_t queueCreateInfoCount_ = {}, - const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo * pQueueCreateInfos_ = {}, - uint32_t enabledLayerCount_ = {}, - const char * const * ppEnabledLayerNames_ = {}, - uint32_t enabledExtensionCount_ = {}, - const char * const * ppEnabledExtensionNames_ = {}, - const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pEnabledFeatures_ = {} ) - VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , queueCreateInfoCount( queueCreateInfoCount_ ) - , pQueueCreateInfos( pQueueCreateInfos_ ) - , enabledLayerCount( enabledLayerCount_ ) - , ppEnabledLayerNames( ppEnabledLayerNames_ ) - , enabledExtensionCount( enabledExtensionCount_ ) - , ppEnabledExtensionNames( ppEnabledExtensionNames_ ) - , pEnabledFeatures( pEnabledFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceCreateInfo( - VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - queueCreateInfos_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ = {}, - const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pEnabledFeatures_ = {} ) - : flags( flags_ ) - , queueCreateInfoCount( static_cast( queueCreateInfos_.size() ) ) - , pQueueCreateInfos( queueCreateInfos_.data() ) - , enabledLayerCount( static_cast( pEnabledLayerNames_.size() ) ) - , ppEnabledLayerNames( pEnabledLayerNames_.data() ) - , enabledExtensionCount( static_cast( pEnabledExtensionNames_.size() ) ) - , ppEnabledExtensionNames( pEnabledExtensionNames_.data() ) - , pEnabledFeatures( pEnabledFeatures_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceCreateInfo & operator=( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceCreateInfo & operator=( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DeviceCreateInfo & setQueueCreateInfoCount( uint32_t queueCreateInfoCount_ ) VULKAN_HPP_NOEXCEPT - { - queueCreateInfoCount = queueCreateInfoCount_; - return *this; - } - - DeviceCreateInfo & - setPQueueCreateInfos( const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo * pQueueCreateInfos_ ) VULKAN_HPP_NOEXCEPT - { - pQueueCreateInfos = pQueueCreateInfos_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceCreateInfo & setQueueCreateInfos( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - queueCreateInfos_ ) VULKAN_HPP_NOEXCEPT - { - queueCreateInfoCount = static_cast( queueCreateInfos_.size() ); - pQueueCreateInfos = queueCreateInfos_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceCreateInfo & setEnabledLayerCount( uint32_t enabledLayerCount_ ) VULKAN_HPP_NOEXCEPT - { - enabledLayerCount = enabledLayerCount_; - return *this; - } - - DeviceCreateInfo & setPpEnabledLayerNames( const char * const * ppEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT - { - ppEnabledLayerNames = ppEnabledLayerNames_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceCreateInfo & setPEnabledLayerNames( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - pEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT - { - enabledLayerCount = static_cast( pEnabledLayerNames_.size() ); - ppEnabledLayerNames = pEnabledLayerNames_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceCreateInfo & setEnabledExtensionCount( uint32_t enabledExtensionCount_ ) VULKAN_HPP_NOEXCEPT - { - enabledExtensionCount = enabledExtensionCount_; - return *this; - } - - DeviceCreateInfo & setPpEnabledExtensionNames( const char * const * ppEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT - { - ppEnabledExtensionNames = ppEnabledExtensionNames_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceCreateInfo & setPEnabledExtensionNames( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ ) - VULKAN_HPP_NOEXCEPT - { - enabledExtensionCount = static_cast( pEnabledExtensionNames_.size() ); - ppEnabledExtensionNames = pEnabledExtensionNames_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceCreateInfo & - setPEnabledFeatures( const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pEnabledFeatures_ ) VULKAN_HPP_NOEXCEPT - { - pEnabledFeatures = pEnabledFeatures_; - return *this; - } - - operator VkDeviceCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceCreateInfo const & ) const = default; -#else - bool operator==( DeviceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( queueCreateInfoCount == rhs.queueCreateInfoCount ) && ( pQueueCreateInfos == rhs.pQueueCreateInfos ) && - ( enabledLayerCount == rhs.enabledLayerCount ) && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames ) && - ( enabledExtensionCount == rhs.enabledExtensionCount ) && - ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames ) && ( pEnabledFeatures == rhs.pEnabledFeatures ); - } - - bool operator!=( DeviceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags = {}; - uint32_t queueCreateInfoCount = {}; - const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo * pQueueCreateInfos = {}; - uint32_t enabledLayerCount = {}; - const char * const * ppEnabledLayerNames = {}; - uint32_t enabledExtensionCount = {}; - const char * const * ppEnabledExtensionNames = {}; - const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pEnabledFeatures = {}; - }; - static_assert( sizeof( DeviceCreateInfo ) == sizeof( VkDeviceCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceCreateInfo; - }; - - struct DeviceDeviceMemoryReportCreateInfoEXT - { - static const bool allowDuplicate = true; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceDeviceMemoryReportCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceDeviceMemoryReportCreateInfoEXT( VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ = {}, - PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback_ = {}, - void * pUserData_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pfnUserCallback( pfnUserCallback_ ) - , pUserData( pUserData_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceDeviceMemoryReportCreateInfoEXT( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DeviceDeviceMemoryReportCreateInfoEXT( VkDeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceDeviceMemoryReportCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceDeviceMemoryReportCreateInfoEXT & - operator=( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceDeviceMemoryReportCreateInfoEXT & - operator=( VkDeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceDeviceMemoryReportCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceDeviceMemoryReportCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DeviceDeviceMemoryReportCreateInfoEXT & - setPfnUserCallback( PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback_ ) VULKAN_HPP_NOEXCEPT - { - pfnUserCallback = pfnUserCallback_; - return *this; - } - - DeviceDeviceMemoryReportCreateInfoEXT & setPUserData( void * pUserData_ ) VULKAN_HPP_NOEXCEPT - { - pUserData = pUserData_; - return *this; - } - - operator VkDeviceDeviceMemoryReportCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceDeviceMemoryReportCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceDeviceMemoryReportCreateInfoEXT const & ) const = default; -#else - bool operator==( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pfnUserCallback == rhs.pfnUserCallback ) && ( pUserData == rhs.pUserData ); - } - - bool operator!=( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceDeviceMemoryReportCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags = {}; - PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback = {}; - void * pUserData = {}; - }; - static_assert( sizeof( DeviceDeviceMemoryReportCreateInfoEXT ) == sizeof( VkDeviceDeviceMemoryReportCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceDeviceMemoryReportCreateInfoEXT; - }; - - struct DeviceDiagnosticsConfigCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceDiagnosticsConfigCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigCreateInfoNV( - VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags_ = {} ) VULKAN_HPP_NOEXCEPT : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigCreateInfoNV( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DeviceDiagnosticsConfigCreateInfoNV( VkDeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceDiagnosticsConfigCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceDiagnosticsConfigCreateInfoNV & - operator=( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceDiagnosticsConfigCreateInfoNV & - operator=( VkDeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceDiagnosticsConfigCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceDiagnosticsConfigCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkDeviceDiagnosticsConfigCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceDiagnosticsConfigCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceDiagnosticsConfigCreateInfoNV const & ) const = default; -#else - bool operator==( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceDiagnosticsConfigCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags = {}; - }; - static_assert( sizeof( DeviceDiagnosticsConfigCreateInfoNV ) == sizeof( VkDeviceDiagnosticsConfigCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceDiagnosticsConfigCreateInfoNV; - }; - - struct DeviceEventInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceEventInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceEventInfoEXT( VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_ = - VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug ) VULKAN_HPP_NOEXCEPT - : deviceEvent( deviceEvent_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT( DeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceEventInfoEXT( VkDeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceEventInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceEventInfoEXT & - operator=( DeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceEventInfoEXT & operator=( VkDeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceEventInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceEventInfoEXT & setDeviceEvent( VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_ ) VULKAN_HPP_NOEXCEPT - { - deviceEvent = deviceEvent_; - return *this; - } - - operator VkDeviceEventInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceEventInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceEventInfoEXT const & ) const = default; -#else - bool operator==( DeviceEventInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceEvent == rhs.deviceEvent ); - } - - bool operator!=( DeviceEventInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceEventInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent = VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug; - }; - static_assert( sizeof( DeviceEventInfoEXT ) == sizeof( VkDeviceEventInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceEventInfoEXT; - }; - - struct DeviceGroupBindSparseInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupBindSparseInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceGroupBindSparseInfo( uint32_t resourceDeviceIndex_ = {}, - uint32_t memoryDeviceIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : resourceDeviceIndex( resourceDeviceIndex_ ) - , memoryDeviceIndex( memoryDeviceIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupBindSparseInfo( DeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupBindSparseInfo( VkDeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupBindSparseInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupBindSparseInfo & - operator=( DeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupBindSparseInfo & operator=( VkDeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupBindSparseInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupBindSparseInfo & setResourceDeviceIndex( uint32_t resourceDeviceIndex_ ) VULKAN_HPP_NOEXCEPT - { - resourceDeviceIndex = resourceDeviceIndex_; - return *this; - } - - DeviceGroupBindSparseInfo & setMemoryDeviceIndex( uint32_t memoryDeviceIndex_ ) VULKAN_HPP_NOEXCEPT - { - memoryDeviceIndex = memoryDeviceIndex_; - return *this; - } - - operator VkDeviceGroupBindSparseInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupBindSparseInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupBindSparseInfo const & ) const = default; -#else - bool operator==( DeviceGroupBindSparseInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( resourceDeviceIndex == rhs.resourceDeviceIndex ) && - ( memoryDeviceIndex == rhs.memoryDeviceIndex ); - } - - bool operator!=( DeviceGroupBindSparseInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupBindSparseInfo; - const void * pNext = {}; - uint32_t resourceDeviceIndex = {}; - uint32_t memoryDeviceIndex = {}; - }; - static_assert( sizeof( DeviceGroupBindSparseInfo ) == sizeof( VkDeviceGroupBindSparseInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupBindSparseInfo; - }; - using DeviceGroupBindSparseInfoKHR = DeviceGroupBindSparseInfo; - - struct DeviceGroupCommandBufferBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceGroupCommandBufferBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceGroupCommandBufferBeginInfo( uint32_t deviceMask_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceMask( deviceMask_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupCommandBufferBeginInfo( DeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupCommandBufferBeginInfo( VkDeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupCommandBufferBeginInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupCommandBufferBeginInfo & - operator=( DeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupCommandBufferBeginInfo & operator=( VkDeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupCommandBufferBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupCommandBufferBeginInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT - { - deviceMask = deviceMask_; - return *this; - } - - operator VkDeviceGroupCommandBufferBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupCommandBufferBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupCommandBufferBeginInfo const & ) const = default; -#else - bool operator==( DeviceGroupCommandBufferBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceMask == rhs.deviceMask ); - } - - bool operator!=( DeviceGroupCommandBufferBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupCommandBufferBeginInfo; - const void * pNext = {}; - uint32_t deviceMask = {}; - }; - static_assert( sizeof( DeviceGroupCommandBufferBeginInfo ) == sizeof( VkDeviceGroupCommandBufferBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupCommandBufferBeginInfo; - }; - using DeviceGroupCommandBufferBeginInfoKHR = DeviceGroupCommandBufferBeginInfo; - - class DisplayKHR - { - public: - using CType = VkDisplayKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDisplayKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDisplayKHR; - - public: - VULKAN_HPP_CONSTEXPR DisplayKHR() = default; - VULKAN_HPP_CONSTEXPR DisplayKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DisplayKHR( VkDisplayKHR displayKHR ) VULKAN_HPP_NOEXCEPT : m_displayKHR( displayKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DisplayKHR & operator=( VkDisplayKHR displayKHR ) VULKAN_HPP_NOEXCEPT - { - m_displayKHR = displayKHR; - return *this; - } -#endif - - DisplayKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_displayKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayKHR const & ) const = default; -#else - bool operator==( DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR == rhs.m_displayKHR; - } - - bool operator!=( DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR != rhs.m_displayKHR; - } - - bool operator<( DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR < rhs.m_displayKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayKHR() const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_displayKHR == VK_NULL_HANDLE; - } - - private: - VkDisplayKHR m_displayKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DisplayKHR ) == sizeof( VkDisplayKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DisplayKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DisplayKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DisplayKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct PerformanceConfigurationAcquireInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePerformanceConfigurationAcquireInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PerformanceConfigurationAcquireInfoINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type_ = - VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated ) - VULKAN_HPP_NOEXCEPT : type( type_ ) - {} - - VULKAN_HPP_CONSTEXPR PerformanceConfigurationAcquireInfoINTEL( - PerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceConfigurationAcquireInfoINTEL( VkPerformanceConfigurationAcquireInfoINTEL const & rhs ) - VULKAN_HPP_NOEXCEPT - : PerformanceConfigurationAcquireInfoINTEL( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceConfigurationAcquireInfoINTEL & - operator=( PerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceConfigurationAcquireInfoINTEL & - operator=( VkPerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceConfigurationAcquireInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PerformanceConfigurationAcquireInfoINTEL & - setType( VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - operator VkPerformanceConfigurationAcquireInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceConfigurationAcquireInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceConfigurationAcquireInfoINTEL const & ) const = default; -#else - bool operator==( PerformanceConfigurationAcquireInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ); - } - - bool operator!=( PerformanceConfigurationAcquireInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceConfigurationAcquireInfoINTEL; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type = - VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated; - }; - static_assert( sizeof( PerformanceConfigurationAcquireInfoINTEL ) == - sizeof( VkPerformanceConfigurationAcquireInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceConfigurationAcquireInfoINTEL; - }; - - class PerformanceConfigurationINTEL - { - public: - using CType = VkPerformanceConfigurationINTEL; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePerformanceConfigurationINTEL; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR PerformanceConfigurationINTEL() = default; - VULKAN_HPP_CONSTEXPR PerformanceConfigurationINTEL( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - PerformanceConfigurationINTEL( VkPerformanceConfigurationINTEL performanceConfigurationINTEL ) VULKAN_HPP_NOEXCEPT - : m_performanceConfigurationINTEL( performanceConfigurationINTEL ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - PerformanceConfigurationINTEL & - operator=( VkPerformanceConfigurationINTEL performanceConfigurationINTEL ) VULKAN_HPP_NOEXCEPT - { - m_performanceConfigurationINTEL = performanceConfigurationINTEL; - return *this; - } -#endif - - PerformanceConfigurationINTEL & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_performanceConfigurationINTEL = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceConfigurationINTEL const & ) const = default; -#else - bool operator==( PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL == rhs.m_performanceConfigurationINTEL; - } - - bool operator!=( PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL != rhs.m_performanceConfigurationINTEL; - } - - bool operator<( PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL < rhs.m_performanceConfigurationINTEL; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPerformanceConfigurationINTEL() const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_performanceConfigurationINTEL == VK_NULL_HANDLE; - } - - private: - VkPerformanceConfigurationINTEL m_performanceConfigurationINTEL = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL ) == - sizeof( VkPerformanceConfigurationINTEL ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct MemoryAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryAllocateInfo( VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ = {}, - uint32_t memoryTypeIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : allocationSize( allocationSize_ ) - , memoryTypeIndex( memoryTypeIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryAllocateInfo( MemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryAllocateInfo( VkMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryAllocateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryAllocateInfo & - operator=( MemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryAllocateInfo & operator=( VkMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryAllocateInfo & setAllocationSize( VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ ) VULKAN_HPP_NOEXCEPT - { - allocationSize = allocationSize_; - return *this; - } - - MemoryAllocateInfo & setMemoryTypeIndex( uint32_t memoryTypeIndex_ ) VULKAN_HPP_NOEXCEPT - { - memoryTypeIndex = memoryTypeIndex_; - return *this; - } - - operator VkMemoryAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryAllocateInfo const & ) const = default; -#else - bool operator==( MemoryAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( allocationSize == rhs.allocationSize ) && - ( memoryTypeIndex == rhs.memoryTypeIndex ); - } - - bool operator!=( MemoryAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryAllocateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize allocationSize = {}; - uint32_t memoryTypeIndex = {}; - }; - static_assert( sizeof( MemoryAllocateInfo ) == sizeof( VkMemoryAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryAllocateInfo; - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoBindMemoryKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoBindMemoryKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoBindMemoryKHR( uint32_t memoryBindIndex_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize memorySize_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryBindIndex( memoryBindIndex_ ) - , memory( memory_ ) - , memoryOffset( memoryOffset_ ) - , memorySize( memorySize_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoBindMemoryKHR( VideoBindMemoryKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoBindMemoryKHR( VkVideoBindMemoryKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoBindMemoryKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoBindMemoryKHR & - operator=( VideoBindMemoryKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoBindMemoryKHR & operator=( VkVideoBindMemoryKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoBindMemoryKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoBindMemoryKHR & setMemoryBindIndex( uint32_t memoryBindIndex_ ) VULKAN_HPP_NOEXCEPT - { - memoryBindIndex = memoryBindIndex_; - return *this; - } - - VideoBindMemoryKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - VideoBindMemoryKHR & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT - { - memoryOffset = memoryOffset_; - return *this; - } - - VideoBindMemoryKHR & setMemorySize( VULKAN_HPP_NAMESPACE::DeviceSize memorySize_ ) VULKAN_HPP_NOEXCEPT - { - memorySize = memorySize_; - return *this; - } - - operator VkVideoBindMemoryKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoBindMemoryKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoBindMemoryKHR const & ) const = default; -# else - bool operator==( VideoBindMemoryKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryBindIndex == rhs.memoryBindIndex ) && - ( memory == rhs.memory ) && ( memoryOffset == rhs.memoryOffset ) && ( memorySize == rhs.memorySize ); - } - - bool operator!=( VideoBindMemoryKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoBindMemoryKHR; - const void * pNext = {}; - uint32_t memoryBindIndex = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize memorySize = {}; - }; - static_assert( sizeof( VideoBindMemoryKHR ) == sizeof( VkVideoBindMemoryKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoBindMemoryKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - class DeferredOperationKHR - { - public: - using CType = VkDeferredOperationKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDeferredOperationKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR DeferredOperationKHR() = default; - VULKAN_HPP_CONSTEXPR DeferredOperationKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DeferredOperationKHR( VkDeferredOperationKHR deferredOperationKHR ) VULKAN_HPP_NOEXCEPT - : m_deferredOperationKHR( deferredOperationKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DeferredOperationKHR & operator=( VkDeferredOperationKHR deferredOperationKHR ) VULKAN_HPP_NOEXCEPT - { - m_deferredOperationKHR = deferredOperationKHR; - return *this; - } -#endif - - DeferredOperationKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_deferredOperationKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeferredOperationKHR const & ) const = default; -#else - bool operator==( DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR == rhs.m_deferredOperationKHR; - } - - bool operator!=( DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR != rhs.m_deferredOperationKHR; - } - - bool operator<( DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR < rhs.m_deferredOperationKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeferredOperationKHR() const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_deferredOperationKHR == VK_NULL_HANDLE; - } - - private: - VkDeferredOperationKHR m_deferredOperationKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DeferredOperationKHR ) == sizeof( VkDeferredOperationKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class PipelineCache - { - public: - using CType = VkPipelineCache; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePipelineCache; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipelineCache; - - public: - VULKAN_HPP_CONSTEXPR PipelineCache() = default; - VULKAN_HPP_CONSTEXPR PipelineCache( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT PipelineCache( VkPipelineCache pipelineCache ) VULKAN_HPP_NOEXCEPT - : m_pipelineCache( pipelineCache ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - PipelineCache & operator=( VkPipelineCache pipelineCache ) VULKAN_HPP_NOEXCEPT - { - m_pipelineCache = pipelineCache; - return *this; - } -#endif - - PipelineCache & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_pipelineCache = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCache const & ) const = default; -#else - bool operator==( PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache == rhs.m_pipelineCache; - } - - bool operator!=( PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache != rhs.m_pipelineCache; - } - - bool operator<( PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache < rhs.m_pipelineCache; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineCache() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_pipelineCache == VK_NULL_HANDLE; - } - - private: - VkPipelineCache m_pipelineCache = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::PipelineCache ) == sizeof( VkPipelineCache ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::PipelineCache; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PipelineCache; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PipelineCache; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct EventCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eEventCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR EventCreateInfo( VULKAN_HPP_NAMESPACE::EventCreateFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR EventCreateInfo( EventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - EventCreateInfo( VkEventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : EventCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 EventCreateInfo & operator=( EventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - EventCreateInfo & operator=( VkEventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - EventCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - EventCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::EventCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkEventCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkEventCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( EventCreateInfo const & ) const = default; -#else - bool operator==( EventCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( EventCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eEventCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::EventCreateFlags flags = {}; - }; - static_assert( sizeof( EventCreateInfo ) == sizeof( VkEventCreateInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = EventCreateInfo; - }; - - struct FenceCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FenceCreateInfo( VULKAN_HPP_NAMESPACE::FenceCreateFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR FenceCreateInfo( FenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceCreateInfo( VkFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : FenceCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FenceCreateInfo & operator=( FenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceCreateInfo & operator=( VkFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FenceCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FenceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::FenceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkFenceCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFenceCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FenceCreateInfo const & ) const = default; -#else - bool operator==( FenceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( FenceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::FenceCreateFlags flags = {}; - }; - static_assert( sizeof( FenceCreateInfo ) == sizeof( VkFenceCreateInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FenceCreateInfo; - }; - - struct FramebufferCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FramebufferCreateInfo( VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, - uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageView * pAttachments_ = {}, - uint32_t width_ = {}, - uint32_t height_ = {}, - uint32_t layers_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , renderPass( renderPass_ ) - , attachmentCount( attachmentCount_ ) - , pAttachments( pAttachments_ ) - , width( width_ ) - , height( height_ ) - , layers( layers_ ) - {} - - VULKAN_HPP_CONSTEXPR FramebufferCreateInfo( FramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferCreateInfo( VkFramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : FramebufferCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferCreateInfo( - VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_, - VULKAN_HPP_NAMESPACE::RenderPass renderPass_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_, - uint32_t width_ = {}, - uint32_t height_ = {}, - uint32_t layers_ = {} ) - : flags( flags_ ) - , renderPass( renderPass_ ) - , attachmentCount( static_cast( attachments_.size() ) ) - , pAttachments( attachments_.data() ) - , width( width_ ) - , height( height_ ) - , layers( layers_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FramebufferCreateInfo & - operator=( FramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferCreateInfo & operator=( VkFramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FramebufferCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FramebufferCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - FramebufferCreateInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT - { - renderPass = renderPass_; - return *this; - } - - FramebufferCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - FramebufferCreateInfo & setPAttachments( const VULKAN_HPP_NAMESPACE::ImageView * pAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pAttachments = pAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferCreateInfo & setAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) - VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( attachments_.size() ); - pAttachments = attachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - FramebufferCreateInfo & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - FramebufferCreateInfo & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - FramebufferCreateInfo & setLayers( uint32_t layers_ ) VULKAN_HPP_NOEXCEPT - { - layers = layers_; - return *this; - } - - operator VkFramebufferCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFramebufferCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FramebufferCreateInfo const & ) const = default; -#else - bool operator==( FramebufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( renderPass == rhs.renderPass ) && ( attachmentCount == rhs.attachmentCount ) && - ( pAttachments == rhs.pAttachments ) && ( width == rhs.width ) && ( height == rhs.height ) && - ( layers == rhs.layers ); - } - - bool operator!=( FramebufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::ImageView * pAttachments = {}; - uint32_t width = {}; - uint32_t height = {}; - uint32_t layers = {}; - }; - static_assert( sizeof( FramebufferCreateInfo ) == sizeof( VkFramebufferCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FramebufferCreateInfo; - }; - - struct VertexInputBindingDescription - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VertexInputBindingDescription( uint32_t binding_ = {}, - uint32_t stride_ = {}, - VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ = - VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex ) VULKAN_HPP_NOEXCEPT - : binding( binding_ ) - , stride( stride_ ) - , inputRate( inputRate_ ) - {} - - VULKAN_HPP_CONSTEXPR - VertexInputBindingDescription( VertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDescription( VkVertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT - : VertexInputBindingDescription( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VertexInputBindingDescription & - operator=( VertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDescription & operator=( VkVertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VertexInputBindingDescription & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - VertexInputBindingDescription & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT - { - stride = stride_; - return *this; - } - - VertexInputBindingDescription & setInputRate( VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ ) VULKAN_HPP_NOEXCEPT - { - inputRate = inputRate_; - return *this; - } - - operator VkVertexInputBindingDescription const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVertexInputBindingDescription &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VertexInputBindingDescription const & ) const = default; -#else - bool operator==( VertexInputBindingDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( binding == rhs.binding ) && ( stride == rhs.stride ) && ( inputRate == rhs.inputRate ); - } - - bool operator!=( VertexInputBindingDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t binding = {}; - uint32_t stride = {}; - VULKAN_HPP_NAMESPACE::VertexInputRate inputRate = VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex; - }; - static_assert( sizeof( VertexInputBindingDescription ) == sizeof( VkVertexInputBindingDescription ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct VertexInputAttributeDescription - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VertexInputAttributeDescription( uint32_t location_ = {}, - uint32_t binding_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - uint32_t offset_ = {} ) VULKAN_HPP_NOEXCEPT - : location( location_ ) - , binding( binding_ ) - , format( format_ ) - , offset( offset_ ) - {} - - VULKAN_HPP_CONSTEXPR - VertexInputAttributeDescription( VertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputAttributeDescription( VkVertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT - : VertexInputAttributeDescription( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VertexInputAttributeDescription & - operator=( VertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputAttributeDescription & operator=( VkVertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VertexInputAttributeDescription & setLocation( uint32_t location_ ) VULKAN_HPP_NOEXCEPT - { - location = location_; - return *this; - } - - VertexInputAttributeDescription & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - VertexInputAttributeDescription & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - VertexInputAttributeDescription & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - operator VkVertexInputAttributeDescription const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVertexInputAttributeDescription &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VertexInputAttributeDescription const & ) const = default; -#else - bool operator==( VertexInputAttributeDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( location == rhs.location ) && ( binding == rhs.binding ) && ( format == rhs.format ) && - ( offset == rhs.offset ); - } - - bool operator!=( VertexInputAttributeDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t location = {}; - uint32_t binding = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - uint32_t offset = {}; - }; - static_assert( sizeof( VertexInputAttributeDescription ) == sizeof( VkVertexInputAttributeDescription ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PipelineVertexInputStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineVertexInputStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineVertexInputStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_ = {}, - uint32_t vertexBindingDescriptionCount_ = {}, - const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription * pVertexBindingDescriptions_ = {}, - uint32_t vertexAttributeDescriptionCount_ = {}, - const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription * pVertexAttributeDescriptions_ = {} ) - VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , vertexBindingDescriptionCount( vertexBindingDescriptionCount_ ) - , pVertexBindingDescriptions( pVertexBindingDescriptions_ ) - , vertexAttributeDescriptionCount( vertexAttributeDescriptionCount_ ) - , pVertexAttributeDescriptions( pVertexAttributeDescriptions_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineVertexInputStateCreateInfo( PipelineVertexInputStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineVertexInputStateCreateInfo( VkPipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineVertexInputStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineVertexInputStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - vertexBindingDescriptions_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - vertexAttributeDescriptions_ = {} ) - : flags( flags_ ) - , vertexBindingDescriptionCount( static_cast( vertexBindingDescriptions_.size() ) ) - , pVertexBindingDescriptions( vertexBindingDescriptions_.data() ) - , vertexAttributeDescriptionCount( static_cast( vertexAttributeDescriptions_.size() ) ) - , pVertexAttributeDescriptions( vertexAttributeDescriptions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineVertexInputStateCreateInfo & - operator=( PipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineVertexInputStateCreateInfo & - operator=( VkPipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineVertexInputStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineVertexInputStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineVertexInputStateCreateInfo & - setVertexBindingDescriptionCount( uint32_t vertexBindingDescriptionCount_ ) VULKAN_HPP_NOEXCEPT - { - vertexBindingDescriptionCount = vertexBindingDescriptionCount_; - return *this; - } - - PipelineVertexInputStateCreateInfo & setPVertexBindingDescriptions( - const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription * pVertexBindingDescriptions_ ) VULKAN_HPP_NOEXCEPT - { - pVertexBindingDescriptions = pVertexBindingDescriptions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineVertexInputStateCreateInfo & setVertexBindingDescriptions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - vertexBindingDescriptions_ ) VULKAN_HPP_NOEXCEPT - { - vertexBindingDescriptionCount = static_cast( vertexBindingDescriptions_.size() ); - pVertexBindingDescriptions = vertexBindingDescriptions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PipelineVertexInputStateCreateInfo & - setVertexAttributeDescriptionCount( uint32_t vertexAttributeDescriptionCount_ ) VULKAN_HPP_NOEXCEPT - { - vertexAttributeDescriptionCount = vertexAttributeDescriptionCount_; - return *this; - } - - PipelineVertexInputStateCreateInfo & setPVertexAttributeDescriptions( - const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription * pVertexAttributeDescriptions_ ) VULKAN_HPP_NOEXCEPT - { - pVertexAttributeDescriptions = pVertexAttributeDescriptions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineVertexInputStateCreateInfo & setVertexAttributeDescriptions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - vertexAttributeDescriptions_ ) VULKAN_HPP_NOEXCEPT - { - vertexAttributeDescriptionCount = static_cast( vertexAttributeDescriptions_.size() ); - pVertexAttributeDescriptions = vertexAttributeDescriptions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineVertexInputStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineVertexInputStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineVertexInputStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineVertexInputStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( vertexBindingDescriptionCount == rhs.vertexBindingDescriptionCount ) && - ( pVertexBindingDescriptions == rhs.pVertexBindingDescriptions ) && - ( vertexAttributeDescriptionCount == rhs.vertexAttributeDescriptionCount ) && - ( pVertexAttributeDescriptions == rhs.pVertexAttributeDescriptions ); - } - - bool operator!=( PipelineVertexInputStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineVertexInputStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags = {}; - uint32_t vertexBindingDescriptionCount = {}; - const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription * pVertexBindingDescriptions = {}; - uint32_t vertexAttributeDescriptionCount = {}; - const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription * pVertexAttributeDescriptions = {}; - }; - static_assert( sizeof( PipelineVertexInputStateCreateInfo ) == sizeof( VkPipelineVertexInputStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineVertexInputStateCreateInfo; - }; - - struct PipelineInputAssemblyStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineInputAssemblyStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineInputAssemblyStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::PrimitiveTopology topology_ = VULKAN_HPP_NAMESPACE::PrimitiveTopology::ePointList, - VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , topology( topology_ ) - , primitiveRestartEnable( primitiveRestartEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineInputAssemblyStateCreateInfo( PipelineInputAssemblyStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineInputAssemblyStateCreateInfo( VkPipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineInputAssemblyStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineInputAssemblyStateCreateInfo & - operator=( PipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineInputAssemblyStateCreateInfo & - operator=( VkPipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineInputAssemblyStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineInputAssemblyStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineInputAssemblyStateCreateInfo & - setTopology( VULKAN_HPP_NAMESPACE::PrimitiveTopology topology_ ) VULKAN_HPP_NOEXCEPT - { - topology = topology_; - return *this; - } - - PipelineInputAssemblyStateCreateInfo & - setPrimitiveRestartEnable( VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable_ ) VULKAN_HPP_NOEXCEPT - { - primitiveRestartEnable = primitiveRestartEnable_; - return *this; - } - - operator VkPipelineInputAssemblyStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineInputAssemblyStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineInputAssemblyStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineInputAssemblyStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( topology == rhs.topology ) && ( primitiveRestartEnable == rhs.primitiveRestartEnable ); - } - - bool operator!=( PipelineInputAssemblyStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineInputAssemblyStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::PrimitiveTopology topology = VULKAN_HPP_NAMESPACE::PrimitiveTopology::ePointList; - VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable = {}; - }; - static_assert( sizeof( PipelineInputAssemblyStateCreateInfo ) == sizeof( VkPipelineInputAssemblyStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineInputAssemblyStateCreateInfo; - }; - - struct PipelineTessellationStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineTessellationStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PipelineTessellationStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags_ = {}, - uint32_t patchControlPoints_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , patchControlPoints( patchControlPoints_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineTessellationStateCreateInfo( PipelineTessellationStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineTessellationStateCreateInfo( VkPipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineTessellationStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineTessellationStateCreateInfo & - operator=( PipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineTessellationStateCreateInfo & - operator=( VkPipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineTessellationStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineTessellationStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineTessellationStateCreateInfo & setPatchControlPoints( uint32_t patchControlPoints_ ) VULKAN_HPP_NOEXCEPT - { - patchControlPoints = patchControlPoints_; - return *this; - } - - operator VkPipelineTessellationStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineTessellationStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineTessellationStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineTessellationStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( patchControlPoints == rhs.patchControlPoints ); - } - - bool operator!=( PipelineTessellationStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineTessellationStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags = {}; - uint32_t patchControlPoints = {}; - }; - static_assert( sizeof( PipelineTessellationStateCreateInfo ) == sizeof( VkPipelineTessellationStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineTessellationStateCreateInfo; - }; - - struct PipelineViewportStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PipelineViewportStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_ = {}, - uint32_t viewportCount_ = {}, - const VULKAN_HPP_NAMESPACE::Viewport * pViewports_ = {}, - uint32_t scissorCount_ = {}, - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , viewportCount( viewportCount_ ) - , pViewports( pViewports_ ) - , scissorCount( scissorCount_ ) - , pScissors( pScissors_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineViewportStateCreateInfo( PipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportStateCreateInfo( VkPipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineViewportStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewports_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & scissors_ = {} ) - : flags( flags_ ) - , viewportCount( static_cast( viewports_.size() ) ) - , pViewports( viewports_.data() ) - , scissorCount( static_cast( scissors_.size() ) ) - , pScissors( scissors_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportStateCreateInfo & - operator=( PipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportStateCreateInfo & operator=( VkPipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineViewportStateCreateInfo & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = viewportCount_; - return *this; - } - - PipelineViewportStateCreateInfo & - setPViewports( const VULKAN_HPP_NAMESPACE::Viewport * pViewports_ ) VULKAN_HPP_NOEXCEPT - { - pViewports = pViewports_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportStateCreateInfo & setViewports( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewports_ ) - VULKAN_HPP_NOEXCEPT - { - viewportCount = static_cast( viewports_.size() ); - pViewports = viewports_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PipelineViewportStateCreateInfo & setScissorCount( uint32_t scissorCount_ ) VULKAN_HPP_NOEXCEPT - { - scissorCount = scissorCount_; - return *this; - } - - PipelineViewportStateCreateInfo & - setPScissors( const VULKAN_HPP_NAMESPACE::Rect2D * pScissors_ ) VULKAN_HPP_NOEXCEPT - { - pScissors = pScissors_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportStateCreateInfo & - setScissors( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & scissors_ ) - VULKAN_HPP_NOEXCEPT - { - scissorCount = static_cast( scissors_.size() ); - pScissors = scissors_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineViewportStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( viewportCount == rhs.viewportCount ) && ( pViewports == rhs.pViewports ) && - ( scissorCount == rhs.scissorCount ) && ( pScissors == rhs.pScissors ); - } - - bool operator!=( PipelineViewportStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags = {}; - uint32_t viewportCount = {}; - const VULKAN_HPP_NAMESPACE::Viewport * pViewports = {}; - uint32_t scissorCount = {}; - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors = {}; - }; - static_assert( sizeof( PipelineViewportStateCreateInfo ) == sizeof( VkPipelineViewportStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportStateCreateInfo; - }; - - struct PipelineRasterizationStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable_ = {}, - VULKAN_HPP_NAMESPACE::PolygonMode polygonMode_ = VULKAN_HPP_NAMESPACE::PolygonMode::eFill, - VULKAN_HPP_NAMESPACE::CullModeFlags cullMode_ = {}, - VULKAN_HPP_NAMESPACE::FrontFace frontFace_ = VULKAN_HPP_NAMESPACE::FrontFace::eCounterClockwise, - VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable_ = {}, - float depthBiasConstantFactor_ = {}, - float depthBiasClamp_ = {}, - float depthBiasSlopeFactor_ = {}, - float lineWidth_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , depthClampEnable( depthClampEnable_ ) - , rasterizerDiscardEnable( rasterizerDiscardEnable_ ) - , polygonMode( polygonMode_ ) - , cullMode( cullMode_ ) - , frontFace( frontFace_ ) - , depthBiasEnable( depthBiasEnable_ ) - , depthBiasConstantFactor( depthBiasConstantFactor_ ) - , depthBiasClamp( depthBiasClamp_ ) - , depthBiasSlopeFactor( depthBiasSlopeFactor_ ) - , lineWidth( lineWidth_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateCreateInfo( PipelineRasterizationStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateCreateInfo( VkPipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineRasterizationStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationStateCreateInfo & - operator=( PipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateCreateInfo & - operator=( VkPipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setDepthClampEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthClampEnable = depthClampEnable_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setRasterizerDiscardEnable( VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable_ ) VULKAN_HPP_NOEXCEPT - { - rasterizerDiscardEnable = rasterizerDiscardEnable_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setPolygonMode( VULKAN_HPP_NAMESPACE::PolygonMode polygonMode_ ) VULKAN_HPP_NOEXCEPT - { - polygonMode = polygonMode_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setCullMode( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode_ ) VULKAN_HPP_NOEXCEPT - { - cullMode = cullMode_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setFrontFace( VULKAN_HPP_NAMESPACE::FrontFace frontFace_ ) VULKAN_HPP_NOEXCEPT - { - frontFace = frontFace_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setDepthBiasEnable( VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthBiasEnable = depthBiasEnable_; - return *this; - } - - PipelineRasterizationStateCreateInfo & - setDepthBiasConstantFactor( float depthBiasConstantFactor_ ) VULKAN_HPP_NOEXCEPT - { - depthBiasConstantFactor = depthBiasConstantFactor_; - return *this; - } - - PipelineRasterizationStateCreateInfo & setDepthBiasClamp( float depthBiasClamp_ ) VULKAN_HPP_NOEXCEPT - { - depthBiasClamp = depthBiasClamp_; - return *this; - } - - PipelineRasterizationStateCreateInfo & setDepthBiasSlopeFactor( float depthBiasSlopeFactor_ ) VULKAN_HPP_NOEXCEPT - { - depthBiasSlopeFactor = depthBiasSlopeFactor_; - return *this; - } - - PipelineRasterizationStateCreateInfo & setLineWidth( float lineWidth_ ) VULKAN_HPP_NOEXCEPT - { - lineWidth = lineWidth_; - return *this; - } - - operator VkPipelineRasterizationStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineRasterizationStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( depthClampEnable == rhs.depthClampEnable ) && - ( rasterizerDiscardEnable == rhs.rasterizerDiscardEnable ) && ( polygonMode == rhs.polygonMode ) && - ( cullMode == rhs.cullMode ) && ( frontFace == rhs.frontFace ) && - ( depthBiasEnable == rhs.depthBiasEnable ) && ( depthBiasConstantFactor == rhs.depthBiasConstantFactor ) && - ( depthBiasClamp == rhs.depthBiasClamp ) && ( depthBiasSlopeFactor == rhs.depthBiasSlopeFactor ) && - ( lineWidth == rhs.lineWidth ); - } - - bool operator!=( PipelineRasterizationStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable = {}; - VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable = {}; - VULKAN_HPP_NAMESPACE::PolygonMode polygonMode = VULKAN_HPP_NAMESPACE::PolygonMode::eFill; - VULKAN_HPP_NAMESPACE::CullModeFlags cullMode = {}; - VULKAN_HPP_NAMESPACE::FrontFace frontFace = VULKAN_HPP_NAMESPACE::FrontFace::eCounterClockwise; - VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable = {}; - float depthBiasConstantFactor = {}; - float depthBiasClamp = {}; - float depthBiasSlopeFactor = {}; - float lineWidth = {}; - }; - static_assert( sizeof( PipelineRasterizationStateCreateInfo ) == sizeof( VkPipelineRasterizationStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationStateCreateInfo; - }; - - struct PipelineMultisampleStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineMultisampleStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineMultisampleStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable_ = {}, - float minSampleShading_ = {}, - const VULKAN_HPP_NAMESPACE::SampleMask * pSampleMask_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , rasterizationSamples( rasterizationSamples_ ) - , sampleShadingEnable( sampleShadingEnable_ ) - , minSampleShading( minSampleShading_ ) - , pSampleMask( pSampleMask_ ) - , alphaToCoverageEnable( alphaToCoverageEnable_ ) - , alphaToOneEnable( alphaToOneEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineMultisampleStateCreateInfo( PipelineMultisampleStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineMultisampleStateCreateInfo( VkPipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineMultisampleStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineMultisampleStateCreateInfo & - operator=( PipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineMultisampleStateCreateInfo & - operator=( VkPipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineMultisampleStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setRasterizationSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ ) VULKAN_HPP_NOEXCEPT - { - rasterizationSamples = rasterizationSamples_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setSampleShadingEnable( VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable_ ) VULKAN_HPP_NOEXCEPT - { - sampleShadingEnable = sampleShadingEnable_; - return *this; - } - - PipelineMultisampleStateCreateInfo & setMinSampleShading( float minSampleShading_ ) VULKAN_HPP_NOEXCEPT - { - minSampleShading = minSampleShading_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setPSampleMask( const VULKAN_HPP_NAMESPACE::SampleMask * pSampleMask_ ) VULKAN_HPP_NOEXCEPT - { - pSampleMask = pSampleMask_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setAlphaToCoverageEnable( VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable_ ) VULKAN_HPP_NOEXCEPT - { - alphaToCoverageEnable = alphaToCoverageEnable_; - return *this; - } - - PipelineMultisampleStateCreateInfo & - setAlphaToOneEnable( VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable_ ) VULKAN_HPP_NOEXCEPT - { - alphaToOneEnable = alphaToOneEnable_; - return *this; - } - - operator VkPipelineMultisampleStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineMultisampleStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineMultisampleStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineMultisampleStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( rasterizationSamples == rhs.rasterizationSamples ) && - ( sampleShadingEnable == rhs.sampleShadingEnable ) && ( minSampleShading == rhs.minSampleShading ) && - ( pSampleMask == rhs.pSampleMask ) && ( alphaToCoverageEnable == rhs.alphaToCoverageEnable ) && - ( alphaToOneEnable == rhs.alphaToOneEnable ); - } - - bool operator!=( PipelineMultisampleStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineMultisampleStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable = {}; - float minSampleShading = {}; - const VULKAN_HPP_NAMESPACE::SampleMask * pSampleMask = {}; - VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable = {}; - VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable = {}; - }; - static_assert( sizeof( PipelineMultisampleStateCreateInfo ) == sizeof( VkPipelineMultisampleStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineMultisampleStateCreateInfo; - }; - - struct StencilOpState - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - StencilOpState( VULKAN_HPP_NAMESPACE::StencilOp failOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, - VULKAN_HPP_NAMESPACE::StencilOp passOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, - VULKAN_HPP_NAMESPACE::StencilOp depthFailOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, - VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, - uint32_t compareMask_ = {}, - uint32_t writeMask_ = {}, - uint32_t reference_ = {} ) VULKAN_HPP_NOEXCEPT - : failOp( failOp_ ) - , passOp( passOp_ ) - , depthFailOp( depthFailOp_ ) - , compareOp( compareOp_ ) - , compareMask( compareMask_ ) - , writeMask( writeMask_ ) - , reference( reference_ ) - {} - - VULKAN_HPP_CONSTEXPR StencilOpState( StencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - StencilOpState( VkStencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT - : StencilOpState( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 StencilOpState & operator=( StencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - StencilOpState & operator=( VkStencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - StencilOpState & setFailOp( VULKAN_HPP_NAMESPACE::StencilOp failOp_ ) VULKAN_HPP_NOEXCEPT - { - failOp = failOp_; - return *this; - } - - StencilOpState & setPassOp( VULKAN_HPP_NAMESPACE::StencilOp passOp_ ) VULKAN_HPP_NOEXCEPT - { - passOp = passOp_; - return *this; - } - - StencilOpState & setDepthFailOp( VULKAN_HPP_NAMESPACE::StencilOp depthFailOp_ ) VULKAN_HPP_NOEXCEPT - { - depthFailOp = depthFailOp_; - return *this; - } - - StencilOpState & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT - { - compareOp = compareOp_; - return *this; - } - - StencilOpState & setCompareMask( uint32_t compareMask_ ) VULKAN_HPP_NOEXCEPT - { - compareMask = compareMask_; - return *this; - } - - StencilOpState & setWriteMask( uint32_t writeMask_ ) VULKAN_HPP_NOEXCEPT - { - writeMask = writeMask_; - return *this; - } - - StencilOpState & setReference( uint32_t reference_ ) VULKAN_HPP_NOEXCEPT - { - reference = reference_; - return *this; - } - - operator VkStencilOpState const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkStencilOpState &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( StencilOpState const & ) const = default; -#else - bool operator==( StencilOpState const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( failOp == rhs.failOp ) && ( passOp == rhs.passOp ) && ( depthFailOp == rhs.depthFailOp ) && - ( compareOp == rhs.compareOp ) && ( compareMask == rhs.compareMask ) && ( writeMask == rhs.writeMask ) && - ( reference == rhs.reference ); - } - - bool operator!=( StencilOpState const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StencilOp failOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; - VULKAN_HPP_NAMESPACE::StencilOp passOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; - VULKAN_HPP_NAMESPACE::StencilOp depthFailOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; - VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; - uint32_t compareMask = {}; - uint32_t writeMask = {}; - uint32_t reference = {}; - }; - static_assert( sizeof( StencilOpState ) == sizeof( VkStencilOpState ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PipelineDepthStencilStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineDepthStencilStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineDepthStencilStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable_ = {}, - VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, - VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable_ = {}, - VULKAN_HPP_NAMESPACE::StencilOpState front_ = {}, - VULKAN_HPP_NAMESPACE::StencilOpState back_ = {}, - float minDepthBounds_ = {}, - float maxDepthBounds_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , depthTestEnable( depthTestEnable_ ) - , depthWriteEnable( depthWriteEnable_ ) - , depthCompareOp( depthCompareOp_ ) - , depthBoundsTestEnable( depthBoundsTestEnable_ ) - , stencilTestEnable( stencilTestEnable_ ) - , front( front_ ) - , back( back_ ) - , minDepthBounds( minDepthBounds_ ) - , maxDepthBounds( maxDepthBounds_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineDepthStencilStateCreateInfo( PipelineDepthStencilStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineDepthStencilStateCreateInfo( VkPipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineDepthStencilStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineDepthStencilStateCreateInfo & - operator=( PipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineDepthStencilStateCreateInfo & - operator=( VkPipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineDepthStencilStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setDepthTestEnable( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthTestEnable = depthTestEnable_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setDepthWriteEnable( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthWriteEnable = depthWriteEnable_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ ) VULKAN_HPP_NOEXCEPT - { - depthCompareOp = depthCompareOp_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setDepthBoundsTestEnable( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthBoundsTestEnable = depthBoundsTestEnable_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setStencilTestEnable( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable_ ) VULKAN_HPP_NOEXCEPT - { - stencilTestEnable = stencilTestEnable_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setFront( VULKAN_HPP_NAMESPACE::StencilOpState const & front_ ) VULKAN_HPP_NOEXCEPT - { - front = front_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & - setBack( VULKAN_HPP_NAMESPACE::StencilOpState const & back_ ) VULKAN_HPP_NOEXCEPT - { - back = back_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & setMinDepthBounds( float minDepthBounds_ ) VULKAN_HPP_NOEXCEPT - { - minDepthBounds = minDepthBounds_; - return *this; - } - - PipelineDepthStencilStateCreateInfo & setMaxDepthBounds( float maxDepthBounds_ ) VULKAN_HPP_NOEXCEPT - { - maxDepthBounds = maxDepthBounds_; - return *this; - } - - operator VkPipelineDepthStencilStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineDepthStencilStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineDepthStencilStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineDepthStencilStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( depthTestEnable == rhs.depthTestEnable ) && ( depthWriteEnable == rhs.depthWriteEnable ) && - ( depthCompareOp == rhs.depthCompareOp ) && ( depthBoundsTestEnable == rhs.depthBoundsTestEnable ) && - ( stencilTestEnable == rhs.stencilTestEnable ) && ( front == rhs.front ) && ( back == rhs.back ) && - ( minDepthBounds == rhs.minDepthBounds ) && ( maxDepthBounds == rhs.maxDepthBounds ); - } - - bool operator!=( PipelineDepthStencilStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDepthStencilStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable = {}; - VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; - VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable = {}; - VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable = {}; - VULKAN_HPP_NAMESPACE::StencilOpState front = {}; - VULKAN_HPP_NAMESPACE::StencilOpState back = {}; - float minDepthBounds = {}; - float maxDepthBounds = {}; - }; - static_assert( sizeof( PipelineDepthStencilStateCreateInfo ) == sizeof( VkPipelineDepthStencilStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineDepthStencilStateCreateInfo; - }; - - struct PipelineColorBlendAttachmentState - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineColorBlendAttachmentState( - VULKAN_HPP_NAMESPACE::Bool32 blendEnable_ = {}, - VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, - VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, - VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp_ = VULKAN_HPP_NAMESPACE::BlendOp::eAdd, - VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, - VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, - VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp_ = VULKAN_HPP_NAMESPACE::BlendOp::eAdd, - VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask_ = {} ) VULKAN_HPP_NOEXCEPT - : blendEnable( blendEnable_ ) - , srcColorBlendFactor( srcColorBlendFactor_ ) - , dstColorBlendFactor( dstColorBlendFactor_ ) - , colorBlendOp( colorBlendOp_ ) - , srcAlphaBlendFactor( srcAlphaBlendFactor_ ) - , dstAlphaBlendFactor( dstAlphaBlendFactor_ ) - , alphaBlendOp( alphaBlendOp_ ) - , colorWriteMask( colorWriteMask_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineColorBlendAttachmentState( PipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendAttachmentState( VkPipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineColorBlendAttachmentState( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendAttachmentState & - operator=( PipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendAttachmentState & operator=( VkPipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineColorBlendAttachmentState & setBlendEnable( VULKAN_HPP_NAMESPACE::Bool32 blendEnable_ ) VULKAN_HPP_NOEXCEPT - { - blendEnable = blendEnable_; - return *this; - } - - PipelineColorBlendAttachmentState & - setSrcColorBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor_ ) VULKAN_HPP_NOEXCEPT - { - srcColorBlendFactor = srcColorBlendFactor_; - return *this; - } - - PipelineColorBlendAttachmentState & - setDstColorBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor_ ) VULKAN_HPP_NOEXCEPT - { - dstColorBlendFactor = dstColorBlendFactor_; - return *this; - } - - PipelineColorBlendAttachmentState & - setColorBlendOp( VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp_ ) VULKAN_HPP_NOEXCEPT - { - colorBlendOp = colorBlendOp_; - return *this; - } - - PipelineColorBlendAttachmentState & - setSrcAlphaBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor_ ) VULKAN_HPP_NOEXCEPT - { - srcAlphaBlendFactor = srcAlphaBlendFactor_; - return *this; - } - - PipelineColorBlendAttachmentState & - setDstAlphaBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor_ ) VULKAN_HPP_NOEXCEPT - { - dstAlphaBlendFactor = dstAlphaBlendFactor_; - return *this; - } - - PipelineColorBlendAttachmentState & - setAlphaBlendOp( VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp_ ) VULKAN_HPP_NOEXCEPT - { - alphaBlendOp = alphaBlendOp_; - return *this; - } - - PipelineColorBlendAttachmentState & - setColorWriteMask( VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask_ ) VULKAN_HPP_NOEXCEPT - { - colorWriteMask = colorWriteMask_; - return *this; - } - - operator VkPipelineColorBlendAttachmentState const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineColorBlendAttachmentState &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineColorBlendAttachmentState const & ) const = default; -#else - bool operator==( PipelineColorBlendAttachmentState const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( blendEnable == rhs.blendEnable ) && ( srcColorBlendFactor == rhs.srcColorBlendFactor ) && - ( dstColorBlendFactor == rhs.dstColorBlendFactor ) && ( colorBlendOp == rhs.colorBlendOp ) && - ( srcAlphaBlendFactor == rhs.srcAlphaBlendFactor ) && ( dstAlphaBlendFactor == rhs.dstAlphaBlendFactor ) && - ( alphaBlendOp == rhs.alphaBlendOp ) && ( colorWriteMask == rhs.colorWriteMask ); - } - - bool operator!=( PipelineColorBlendAttachmentState const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Bool32 blendEnable = {}; - VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; - VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; - VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp = VULKAN_HPP_NAMESPACE::BlendOp::eAdd; - VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; - VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; - VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp = VULKAN_HPP_NAMESPACE::BlendOp::eAdd; - VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask = {}; - }; - static_assert( sizeof( PipelineColorBlendAttachmentState ) == sizeof( VkPipelineColorBlendAttachmentState ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PipelineColorBlendStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineColorBlendStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_ = {}, - VULKAN_HPP_NAMESPACE::LogicOp logicOp_ = VULKAN_HPP_NAMESPACE::LogicOp::eClear, - uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState * pAttachments_ = {}, - std::array const & blendConstants_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , logicOpEnable( logicOpEnable_ ) - , logicOp( logicOp_ ) - , attachmentCount( attachmentCount_ ) - , pAttachments( pAttachments_ ) - , blendConstants( blendConstants_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PipelineColorBlendStateCreateInfo( PipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendStateCreateInfo( VkPipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineColorBlendStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineColorBlendStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_, - VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_, - VULKAN_HPP_NAMESPACE::LogicOp logicOp_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState> const & attachments_, - std::array const & blendConstants_ = {} ) - : flags( flags_ ) - , logicOpEnable( logicOpEnable_ ) - , logicOp( logicOp_ ) - , attachmentCount( static_cast( attachments_.size() ) ) - , pAttachments( attachments_.data() ) - , blendConstants( blendConstants_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendStateCreateInfo & - operator=( PipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendStateCreateInfo & operator=( VkPipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineColorBlendStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineColorBlendStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineColorBlendStateCreateInfo & - setLogicOpEnable( VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_ ) VULKAN_HPP_NOEXCEPT - { - logicOpEnable = logicOpEnable_; - return *this; - } - - PipelineColorBlendStateCreateInfo & setLogicOp( VULKAN_HPP_NAMESPACE::LogicOp logicOp_ ) VULKAN_HPP_NOEXCEPT - { - logicOp = logicOp_; - return *this; - } - - PipelineColorBlendStateCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - PipelineColorBlendStateCreateInfo & setPAttachments( - const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState * pAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pAttachments = pAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineColorBlendStateCreateInfo & setAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState> const & attachments_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( attachments_.size() ); - pAttachments = attachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PipelineColorBlendStateCreateInfo & setBlendConstants( std::array blendConstants_ ) VULKAN_HPP_NOEXCEPT - { - blendConstants = blendConstants_; - return *this; - } - - operator VkPipelineColorBlendStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineColorBlendStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineColorBlendStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineColorBlendStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( logicOpEnable == rhs.logicOpEnable ) && ( logicOp == rhs.logicOp ) && - ( attachmentCount == rhs.attachmentCount ) && ( pAttachments == rhs.pAttachments ) && - ( blendConstants == rhs.blendConstants ); - } - - bool operator!=( PipelineColorBlendStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineColorBlendStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable = {}; - VULKAN_HPP_NAMESPACE::LogicOp logicOp = VULKAN_HPP_NAMESPACE::LogicOp::eClear; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState * pAttachments = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D blendConstants = {}; - }; - static_assert( sizeof( PipelineColorBlendStateCreateInfo ) == sizeof( VkPipelineColorBlendStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineColorBlendStateCreateInfo; - }; - - struct PipelineDynamicStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineDynamicStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineDynamicStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_ = {}, - uint32_t dynamicStateCount_ = {}, - const VULKAN_HPP_NAMESPACE::DynamicState * pDynamicStates_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , dynamicStateCount( dynamicStateCount_ ) - , pDynamicStates( pDynamicStates_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineDynamicStateCreateInfo( PipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineDynamicStateCreateInfo( VkPipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineDynamicStateCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineDynamicStateCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dynamicStates_ ) - : flags( flags_ ) - , dynamicStateCount( static_cast( dynamicStates_.size() ) ) - , pDynamicStates( dynamicStates_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineDynamicStateCreateInfo & - operator=( PipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineDynamicStateCreateInfo & operator=( VkPipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineDynamicStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineDynamicStateCreateInfo & - setFlags( VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineDynamicStateCreateInfo & setDynamicStateCount( uint32_t dynamicStateCount_ ) VULKAN_HPP_NOEXCEPT - { - dynamicStateCount = dynamicStateCount_; - return *this; - } - - PipelineDynamicStateCreateInfo & - setPDynamicStates( const VULKAN_HPP_NAMESPACE::DynamicState * pDynamicStates_ ) VULKAN_HPP_NOEXCEPT - { - pDynamicStates = pDynamicStates_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineDynamicStateCreateInfo & setDynamicStates( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dynamicStates_ ) - VULKAN_HPP_NOEXCEPT - { - dynamicStateCount = static_cast( dynamicStates_.size() ); - pDynamicStates = dynamicStates_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineDynamicStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineDynamicStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineDynamicStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineDynamicStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( dynamicStateCount == rhs.dynamicStateCount ) && ( pDynamicStates == rhs.pDynamicStates ); - } - - bool operator!=( PipelineDynamicStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDynamicStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags = {}; - uint32_t dynamicStateCount = {}; - const VULKAN_HPP_NAMESPACE::DynamicState * pDynamicStates = {}; - }; - static_assert( sizeof( PipelineDynamicStateCreateInfo ) == sizeof( VkPipelineDynamicStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineDynamicStateCreateInfo; - }; - - struct GraphicsPipelineCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGraphicsPipelineCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 GraphicsPipelineCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, - uint32_t stageCount_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo * pInputAssemblyState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo * pViewportState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo * pRasterizationState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo * pMultisampleState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo * pDepthStencilState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo * pColorBlendState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, - uint32_t subpass_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , stageCount( stageCount_ ) - , pStages( pStages_ ) - , pVertexInputState( pVertexInputState_ ) - , pInputAssemblyState( pInputAssemblyState_ ) - , pTessellationState( pTessellationState_ ) - , pViewportState( pViewportState_ ) - , pRasterizationState( pRasterizationState_ ) - , pMultisampleState( pMultisampleState_ ) - , pDepthStencilState( pDepthStencilState_ ) - , pColorBlendState( pColorBlendState_ ) - , pDynamicState( pDynamicState_ ) - , layout( layout_ ) - , renderPass( renderPass_ ) - , subpass( subpass_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - GraphicsPipelineCreateInfo( GraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsPipelineCreateInfo( VkGraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : GraphicsPipelineCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsPipelineCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_, - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo * pInputAssemblyState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo * pViewportState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo * pRasterizationState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo * pMultisampleState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo * pDepthStencilState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo * pColorBlendState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, - uint32_t subpass_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) - : flags( flags_ ) - , stageCount( static_cast( stages_.size() ) ) - , pStages( stages_.data() ) - , pVertexInputState( pVertexInputState_ ) - , pInputAssemblyState( pInputAssemblyState_ ) - , pTessellationState( pTessellationState_ ) - , pViewportState( pViewportState_ ) - , pRasterizationState( pRasterizationState_ ) - , pMultisampleState( pMultisampleState_ ) - , pDepthStencilState( pDepthStencilState_ ) - , pColorBlendState( pColorBlendState_ ) - , pDynamicState( pDynamicState_ ) - , layout( layout_ ) - , renderPass( renderPass_ ) - , subpass( subpass_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GraphicsPipelineCreateInfo & - operator=( GraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsPipelineCreateInfo & operator=( VkGraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GraphicsPipelineCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GraphicsPipelineCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - GraphicsPipelineCreateInfo & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = stageCount_; - return *this; - } - - GraphicsPipelineCreateInfo & - setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ ) VULKAN_HPP_NOEXCEPT - { - pStages = pStages_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsPipelineCreateInfo & setStages( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = static_cast( stages_.size() ); - pStages = stages_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - GraphicsPipelineCreateInfo & setPVertexInputState( - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ ) VULKAN_HPP_NOEXCEPT - { - pVertexInputState = pVertexInputState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPInputAssemblyState( - const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo * pInputAssemblyState_ ) VULKAN_HPP_NOEXCEPT - { - pInputAssemblyState = pInputAssemblyState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPTessellationState( - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ ) VULKAN_HPP_NOEXCEPT - { - pTessellationState = pTessellationState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPViewportState( - const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo * pViewportState_ ) VULKAN_HPP_NOEXCEPT - { - pViewportState = pViewportState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPRasterizationState( - const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo * pRasterizationState_ ) VULKAN_HPP_NOEXCEPT - { - pRasterizationState = pRasterizationState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPMultisampleState( - const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo * pMultisampleState_ ) VULKAN_HPP_NOEXCEPT - { - pMultisampleState = pMultisampleState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPDepthStencilState( - const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo * pDepthStencilState_ ) VULKAN_HPP_NOEXCEPT - { - pDepthStencilState = pDepthStencilState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPColorBlendState( - const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo * pColorBlendState_ ) VULKAN_HPP_NOEXCEPT - { - pColorBlendState = pColorBlendState_; - return *this; - } - - GraphicsPipelineCreateInfo & setPDynamicState( - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ ) VULKAN_HPP_NOEXCEPT - { - pDynamicState = pDynamicState_; - return *this; - } - - GraphicsPipelineCreateInfo & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - GraphicsPipelineCreateInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT - { - renderPass = renderPass_; - return *this; - } - - GraphicsPipelineCreateInfo & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT - { - subpass = subpass_; - return *this; - } - - GraphicsPipelineCreateInfo & - setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineHandle = basePipelineHandle_; - return *this; - } - - GraphicsPipelineCreateInfo & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineIndex = basePipelineIndex_; - return *this; - } - - operator VkGraphicsPipelineCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGraphicsPipelineCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GraphicsPipelineCreateInfo const & ) const = default; -#else - bool operator==( GraphicsPipelineCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( stageCount == rhs.stageCount ) && ( pStages == rhs.pStages ) && - ( pVertexInputState == rhs.pVertexInputState ) && ( pInputAssemblyState == rhs.pInputAssemblyState ) && - ( pTessellationState == rhs.pTessellationState ) && ( pViewportState == rhs.pViewportState ) && - ( pRasterizationState == rhs.pRasterizationState ) && ( pMultisampleState == rhs.pMultisampleState ) && - ( pDepthStencilState == rhs.pDepthStencilState ) && ( pColorBlendState == rhs.pColorBlendState ) && - ( pDynamicState == rhs.pDynamicState ) && ( layout == rhs.layout ) && ( renderPass == rhs.renderPass ) && - ( subpass == rhs.subpass ) && ( basePipelineHandle == rhs.basePipelineHandle ) && - ( basePipelineIndex == rhs.basePipelineIndex ); - } - - bool operator!=( GraphicsPipelineCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsPipelineCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; - uint32_t stageCount = {}; - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages = {}; - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState = {}; - const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo * pInputAssemblyState = {}; - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState = {}; - const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo * pViewportState = {}; - const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo * pRasterizationState = {}; - const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo * pMultisampleState = {}; - const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo * pDepthStencilState = {}; - const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo * pColorBlendState = {}; - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState = {}; - VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; - VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; - uint32_t subpass = {}; - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; - int32_t basePipelineIndex = {}; - }; - static_assert( sizeof( GraphicsPipelineCreateInfo ) == sizeof( VkGraphicsPipelineCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GraphicsPipelineCreateInfo; - }; - - struct ImageCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageCreateInfo( - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ImageType imageType_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}, - uint32_t mipLevels_ = {}, - uint32_t arrayLayers_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, - uint32_t queueFamilyIndexCount_ = {}, - const uint32_t * pQueueFamilyIndices_ = {}, - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) - VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , imageType( imageType_ ) - , format( format_ ) - , extent( extent_ ) - , mipLevels( mipLevels_ ) - , arrayLayers( arrayLayers_ ) - , samples( samples_ ) - , tiling( tiling_ ) - , usage( usage_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( queueFamilyIndexCount_ ) - , pQueueFamilyIndices( pQueueFamilyIndices_ ) - , initialLayout( initialLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageCreateInfo( ImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCreateInfo( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageCreateInfo( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ImageType imageType_, - VULKAN_HPP_NAMESPACE::Format format_, - VULKAN_HPP_NAMESPACE::Extent3D extent_, - uint32_t mipLevels_, - uint32_t arrayLayers_, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_, - VULKAN_HPP_NAMESPACE::ImageTiling tiling_, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_, - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) - : flags( flags_ ) - , imageType( imageType_ ) - , format( format_ ) - , extent( extent_ ) - , mipLevels( mipLevels_ ) - , arrayLayers( arrayLayers_ ) - , samples( samples_ ) - , tiling( tiling_ ) - , usage( usage_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ) - , pQueueFamilyIndices( queueFamilyIndices_.data() ) - , initialLayout( initialLayout_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageCreateInfo & operator=( ImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageCreateInfo & operator=( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImageCreateInfo & setImageType( VULKAN_HPP_NAMESPACE::ImageType imageType_ ) VULKAN_HPP_NOEXCEPT - { - imageType = imageType_; - return *this; - } - - ImageCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - ImageCreateInfo & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - ImageCreateInfo & setMipLevels( uint32_t mipLevels_ ) VULKAN_HPP_NOEXCEPT - { - mipLevels = mipLevels_; - return *this; - } - - ImageCreateInfo & setArrayLayers( uint32_t arrayLayers_ ) VULKAN_HPP_NOEXCEPT - { - arrayLayers = arrayLayers_; - return *this; - } - - ImageCreateInfo & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT - { - samples = samples_; - return *this; - } - - ImageCreateInfo & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT - { - tiling = tiling_; - return *this; - } - - ImageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - ImageCreateInfo & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT - { - sharingMode = sharingMode_; - return *this; - } - - ImageCreateInfo & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = queueFamilyIndexCount_; - return *this; - } - - ImageCreateInfo & setPQueueFamilyIndices( const uint32_t * pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - pQueueFamilyIndices = pQueueFamilyIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageCreateInfo & setQueueFamilyIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); - pQueueFamilyIndices = queueFamilyIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - ImageCreateInfo & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT - { - initialLayout = initialLayout_; - return *this; - } - - operator VkImageCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageCreateInfo const & ) const = default; -#else - bool operator==( ImageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( imageType == rhs.imageType ) && ( format == rhs.format ) && ( extent == rhs.extent ) && - ( mipLevels == rhs.mipLevels ) && ( arrayLayers == rhs.arrayLayers ) && ( samples == rhs.samples ) && - ( tiling == rhs.tiling ) && ( usage == rhs.usage ) && ( sharingMode == rhs.sharingMode ) && - ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) && - ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ) && ( initialLayout == rhs.initialLayout ); - } - - bool operator!=( ImageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::ImageType imageType = VULKAN_HPP_NAMESPACE::ImageType::e1D; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::Extent3D extent = {}; - uint32_t mipLevels = {}; - uint32_t arrayLayers = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; - VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; - uint32_t queueFamilyIndexCount = {}; - const uint32_t * pQueueFamilyIndices = {}; - VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; - }; - static_assert( sizeof( ImageCreateInfo ) == sizeof( VkImageCreateInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageCreateInfo; - }; - - struct ImageViewCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageViewCreateInfo( VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::ImageViewType viewType_ = VULKAN_HPP_NAMESPACE::ImageViewType::e1D, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::ComponentMapping components_ = {}, - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , image( image_ ) - , viewType( viewType_ ) - , format( format_ ) - , components( components_ ) - , subresourceRange( subresourceRange_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageViewCreateInfo( ImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewCreateInfo( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageViewCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageViewCreateInfo & - operator=( ImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewCreateInfo & operator=( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageViewCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageViewCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImageViewCreateInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - ImageViewCreateInfo & setViewType( VULKAN_HPP_NAMESPACE::ImageViewType viewType_ ) VULKAN_HPP_NOEXCEPT - { - viewType = viewType_; - return *this; - } - - ImageViewCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - ImageViewCreateInfo & - setComponents( VULKAN_HPP_NAMESPACE::ComponentMapping const & components_ ) VULKAN_HPP_NOEXCEPT - { - components = components_; - return *this; - } - - ImageViewCreateInfo & - setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange const & subresourceRange_ ) VULKAN_HPP_NOEXCEPT - { - subresourceRange = subresourceRange_; - return *this; - } - - operator VkImageViewCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageViewCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageViewCreateInfo const & ) const = default; -#else - bool operator==( ImageViewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( image == rhs.image ) && - ( viewType == rhs.viewType ) && ( format == rhs.format ) && ( components == rhs.components ) && - ( subresourceRange == rhs.subresourceRange ); - } - - bool operator!=( ImageViewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::ImageViewType viewType = VULKAN_HPP_NAMESPACE::ImageViewType::e1D; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::ComponentMapping components = {}; - VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {}; - }; - static_assert( sizeof( ImageViewCreateInfo ) == sizeof( VkImageViewCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageViewCreateInfo; - }; - - struct IndirectCommandsLayoutTokenNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eIndirectCommandsLayoutTokenNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - IndirectCommandsLayoutTokenNV( VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_ = - VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV::eShaderGroup, - uint32_t stream_ = {}, - uint32_t offset_ = {}, - uint32_t vertexBindingUnit_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_ = {}, - uint32_t pushconstantOffset_ = {}, - uint32_t pushconstantSize_ = {}, - VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_ = {}, - uint32_t indexTypeCount_ = {}, - const VULKAN_HPP_NAMESPACE::IndexType * pIndexTypes_ = {}, - const uint32_t * pIndexTypeValues_ = {} ) VULKAN_HPP_NOEXCEPT - : tokenType( tokenType_ ) - , stream( stream_ ) - , offset( offset_ ) - , vertexBindingUnit( vertexBindingUnit_ ) - , vertexDynamicStride( vertexDynamicStride_ ) - , pushconstantPipelineLayout( pushconstantPipelineLayout_ ) - , pushconstantShaderStageFlags( pushconstantShaderStageFlags_ ) - , pushconstantOffset( pushconstantOffset_ ) - , pushconstantSize( pushconstantSize_ ) - , indirectStateFlags( indirectStateFlags_ ) - , indexTypeCount( indexTypeCount_ ) - , pIndexTypes( pIndexTypes_ ) - , pIndexTypeValues( pIndexTypeValues_ ) - {} - - VULKAN_HPP_CONSTEXPR - IndirectCommandsLayoutTokenNV( IndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsLayoutTokenNV( VkIndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT - : IndirectCommandsLayoutTokenNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutTokenNV( - VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_, - uint32_t stream_, - uint32_t offset_, - uint32_t vertexBindingUnit_, - VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_, - VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_, - VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_, - uint32_t pushconstantOffset_, - uint32_t pushconstantSize_, - VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypes_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypeValues_ = {} ) - : tokenType( tokenType_ ) - , stream( stream_ ) - , offset( offset_ ) - , vertexBindingUnit( vertexBindingUnit_ ) - , vertexDynamicStride( vertexDynamicStride_ ) - , pushconstantPipelineLayout( pushconstantPipelineLayout_ ) - , pushconstantShaderStageFlags( pushconstantShaderStageFlags_ ) - , pushconstantOffset( pushconstantOffset_ ) - , pushconstantSize( pushconstantSize_ ) - , indirectStateFlags( indirectStateFlags_ ) - , indexTypeCount( static_cast( indexTypes_.size() ) ) - , pIndexTypes( indexTypes_.data() ) - , pIndexTypeValues( indexTypeValues_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( indexTypes_.size() == indexTypeValues_.size() ); -# else - if ( indexTypes_.size() != indexTypeValues_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::IndirectCommandsLayoutTokenNV::IndirectCommandsLayoutTokenNV: indexTypes_.size() != indexTypeValues_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 IndirectCommandsLayoutTokenNV & - operator=( IndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsLayoutTokenNV & operator=( VkIndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - IndirectCommandsLayoutTokenNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - IndirectCommandsLayoutTokenNV & - setTokenType( VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_ ) VULKAN_HPP_NOEXCEPT - { - tokenType = tokenType_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setStream( uint32_t stream_ ) VULKAN_HPP_NOEXCEPT - { - stream = stream_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setVertexBindingUnit( uint32_t vertexBindingUnit_ ) VULKAN_HPP_NOEXCEPT - { - vertexBindingUnit = vertexBindingUnit_; - return *this; - } - - IndirectCommandsLayoutTokenNV & - setVertexDynamicStride( VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_ ) VULKAN_HPP_NOEXCEPT - { - vertexDynamicStride = vertexDynamicStride_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setPushconstantPipelineLayout( - VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_ ) VULKAN_HPP_NOEXCEPT - { - pushconstantPipelineLayout = pushconstantPipelineLayout_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setPushconstantShaderStageFlags( - VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_ ) VULKAN_HPP_NOEXCEPT - { - pushconstantShaderStageFlags = pushconstantShaderStageFlags_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setPushconstantOffset( uint32_t pushconstantOffset_ ) VULKAN_HPP_NOEXCEPT - { - pushconstantOffset = pushconstantOffset_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setPushconstantSize( uint32_t pushconstantSize_ ) VULKAN_HPP_NOEXCEPT - { - pushconstantSize = pushconstantSize_; - return *this; - } - - IndirectCommandsLayoutTokenNV & - setIndirectStateFlags( VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_ ) VULKAN_HPP_NOEXCEPT - { - indirectStateFlags = indirectStateFlags_; - return *this; - } - - IndirectCommandsLayoutTokenNV & setIndexTypeCount( uint32_t indexTypeCount_ ) VULKAN_HPP_NOEXCEPT - { - indexTypeCount = indexTypeCount_; - return *this; - } - - IndirectCommandsLayoutTokenNV & - setPIndexTypes( const VULKAN_HPP_NAMESPACE::IndexType * pIndexTypes_ ) VULKAN_HPP_NOEXCEPT - { - pIndexTypes = pIndexTypes_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutTokenNV & setIndexTypes( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypes_ ) - VULKAN_HPP_NOEXCEPT - { - indexTypeCount = static_cast( indexTypes_.size() ); - pIndexTypes = indexTypes_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - IndirectCommandsLayoutTokenNV & setPIndexTypeValues( const uint32_t * pIndexTypeValues_ ) VULKAN_HPP_NOEXCEPT - { - pIndexTypeValues = pIndexTypeValues_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutTokenNV & setIndexTypeValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypeValues_ ) VULKAN_HPP_NOEXCEPT - { - indexTypeCount = static_cast( indexTypeValues_.size() ); - pIndexTypeValues = indexTypeValues_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkIndirectCommandsLayoutTokenNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkIndirectCommandsLayoutTokenNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( IndirectCommandsLayoutTokenNV const & ) const = default; -#else - bool operator==( IndirectCommandsLayoutTokenNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( tokenType == rhs.tokenType ) && - ( stream == rhs.stream ) && ( offset == rhs.offset ) && ( vertexBindingUnit == rhs.vertexBindingUnit ) && - ( vertexDynamicStride == rhs.vertexDynamicStride ) && - ( pushconstantPipelineLayout == rhs.pushconstantPipelineLayout ) && - ( pushconstantShaderStageFlags == rhs.pushconstantShaderStageFlags ) && - ( pushconstantOffset == rhs.pushconstantOffset ) && ( pushconstantSize == rhs.pushconstantSize ) && - ( indirectStateFlags == rhs.indirectStateFlags ) && ( indexTypeCount == rhs.indexTypeCount ) && - ( pIndexTypes == rhs.pIndexTypes ) && ( pIndexTypeValues == rhs.pIndexTypeValues ); - } - - bool operator!=( IndirectCommandsLayoutTokenNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIndirectCommandsLayoutTokenNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType = - VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV::eShaderGroup; - uint32_t stream = {}; - uint32_t offset = {}; - uint32_t vertexBindingUnit = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride = {}; - VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags = {}; - uint32_t pushconstantOffset = {}; - uint32_t pushconstantSize = {}; - VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags = {}; - uint32_t indexTypeCount = {}; - const VULKAN_HPP_NAMESPACE::IndexType * pIndexTypes = {}; - const uint32_t * pIndexTypeValues = {}; - }; - static_assert( sizeof( IndirectCommandsLayoutTokenNV ) == sizeof( VkIndirectCommandsLayoutTokenNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = IndirectCommandsLayoutTokenNV; - }; - - struct IndirectCommandsLayoutCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eIndirectCommandsLayoutCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutCreateInfoNV( - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_ = {}, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - uint32_t tokenCount_ = {}, - const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV * pTokens_ = {}, - uint32_t streamCount_ = {}, - const uint32_t * pStreamStrides_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , tokenCount( tokenCount_ ) - , pTokens( pTokens_ ) - , streamCount( streamCount_ ) - , pStreamStrides( pStreamStrides_ ) - {} - - VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutCreateInfoNV( IndirectCommandsLayoutCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsLayoutCreateInfoNV( VkIndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : IndirectCommandsLayoutCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutCreateInfoNV( - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - tokens_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streamStrides_ = {} ) - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , tokenCount( static_cast( tokens_.size() ) ) - , pTokens( tokens_.data() ) - , streamCount( static_cast( streamStrides_.size() ) ) - , pStreamStrides( streamStrides_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 IndirectCommandsLayoutCreateInfoNV & - operator=( IndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IndirectCommandsLayoutCreateInfoNV & - operator=( VkIndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & setTokenCount( uint32_t tokenCount_ ) VULKAN_HPP_NOEXCEPT - { - tokenCount = tokenCount_; - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & - setPTokens( const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV * pTokens_ ) VULKAN_HPP_NOEXCEPT - { - pTokens = pTokens_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutCreateInfoNV & setTokens( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - tokens_ ) VULKAN_HPP_NOEXCEPT - { - tokenCount = static_cast( tokens_.size() ); - pTokens = tokens_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - IndirectCommandsLayoutCreateInfoNV & setStreamCount( uint32_t streamCount_ ) VULKAN_HPP_NOEXCEPT - { - streamCount = streamCount_; - return *this; - } - - IndirectCommandsLayoutCreateInfoNV & setPStreamStrides( const uint32_t * pStreamStrides_ ) VULKAN_HPP_NOEXCEPT - { - pStreamStrides = pStreamStrides_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - IndirectCommandsLayoutCreateInfoNV & setStreamStrides( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streamStrides_ ) VULKAN_HPP_NOEXCEPT - { - streamCount = static_cast( streamStrides_.size() ); - pStreamStrides = streamStrides_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkIndirectCommandsLayoutCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkIndirectCommandsLayoutCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( IndirectCommandsLayoutCreateInfoNV const & ) const = default; -#else - bool operator==( IndirectCommandsLayoutCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pipelineBindPoint == rhs.pipelineBindPoint ) && ( tokenCount == rhs.tokenCount ) && - ( pTokens == rhs.pTokens ) && ( streamCount == rhs.streamCount ) && - ( pStreamStrides == rhs.pStreamStrides ); - } - - bool operator!=( IndirectCommandsLayoutCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIndirectCommandsLayoutCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - uint32_t tokenCount = {}; - const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV * pTokens = {}; - uint32_t streamCount = {}; - const uint32_t * pStreamStrides = {}; - }; - static_assert( sizeof( IndirectCommandsLayoutCreateInfoNV ) == sizeof( VkIndirectCommandsLayoutCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = IndirectCommandsLayoutCreateInfoNV; - }; - - struct PipelineCacheCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCacheCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCacheCreateInfo( VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_ = {}, - size_t initialDataSize_ = {}, - const void * pInitialData_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , initialDataSize( initialDataSize_ ) - , pInitialData( pInitialData_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCacheCreateInfo( PipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCacheCreateInfo( VkPipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineCacheCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - PipelineCacheCreateInfo( VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) - : flags( flags_ ), initialDataSize( initialData_.size() * sizeof( T ) ), pInitialData( initialData_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCacheCreateInfo & - operator=( PipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCacheCreateInfo & operator=( VkPipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCacheCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCacheCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineCacheCreateInfo & setInitialDataSize( size_t initialDataSize_ ) VULKAN_HPP_NOEXCEPT - { - initialDataSize = initialDataSize_; - return *this; - } - - PipelineCacheCreateInfo & setPInitialData( const void * pInitialData_ ) VULKAN_HPP_NOEXCEPT - { - pInitialData = pInitialData_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - PipelineCacheCreateInfo & - setInitialData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) VULKAN_HPP_NOEXCEPT - { - initialDataSize = initialData_.size() * sizeof( T ); - pInitialData = initialData_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineCacheCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCacheCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCacheCreateInfo const & ) const = default; -#else - bool operator==( PipelineCacheCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( initialDataSize == rhs.initialDataSize ) && ( pInitialData == rhs.pInitialData ); - } - - bool operator!=( PipelineCacheCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCacheCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags = {}; - size_t initialDataSize = {}; - const void * pInitialData = {}; - }; - static_assert( sizeof( PipelineCacheCreateInfo ) == sizeof( VkPipelineCacheCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCacheCreateInfo; - }; - - struct PushConstantRange - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PushConstantRange( VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ = {}, - uint32_t offset_ = {}, - uint32_t size_ = {} ) VULKAN_HPP_NOEXCEPT - : stageFlags( stageFlags_ ) - , offset( offset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR PushConstantRange( PushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PushConstantRange( VkPushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT - : PushConstantRange( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PushConstantRange & - operator=( PushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PushConstantRange & operator=( VkPushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PushConstantRange & setStageFlags( VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ ) VULKAN_HPP_NOEXCEPT - { - stageFlags = stageFlags_; - return *this; - } - - PushConstantRange & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - PushConstantRange & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkPushConstantRange const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPushConstantRange &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PushConstantRange const & ) const = default; -#else - bool operator==( PushConstantRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( stageFlags == rhs.stageFlags ) && ( offset == rhs.offset ) && ( size == rhs.size ); - } - - bool operator!=( PushConstantRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags = {}; - uint32_t offset = {}; - uint32_t size = {}; - }; - static_assert( sizeof( PushConstantRange ) == sizeof( VkPushConstantRange ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PipelineLayoutCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineLayoutCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineLayoutCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_ = {}, - uint32_t setLayoutCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts_ = {}, - uint32_t pushConstantRangeCount_ = {}, - const VULKAN_HPP_NAMESPACE::PushConstantRange * pPushConstantRanges_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , setLayoutCount( setLayoutCount_ ) - , pSetLayouts( pSetLayouts_ ) - , pushConstantRangeCount( pushConstantRangeCount_ ) - , pPushConstantRanges( pPushConstantRanges_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineLayoutCreateInfo( PipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineLayoutCreateInfo( VkPipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineLayoutCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineLayoutCreateInfo( - VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - setLayouts_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - pushConstantRanges_ = {} ) - : flags( flags_ ) - , setLayoutCount( static_cast( setLayouts_.size() ) ) - , pSetLayouts( setLayouts_.data() ) - , pushConstantRangeCount( static_cast( pushConstantRanges_.size() ) ) - , pPushConstantRanges( pushConstantRanges_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineLayoutCreateInfo & - operator=( PipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineLayoutCreateInfo & operator=( VkPipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineLayoutCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineLayoutCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineLayoutCreateInfo & setSetLayoutCount( uint32_t setLayoutCount_ ) VULKAN_HPP_NOEXCEPT - { - setLayoutCount = setLayoutCount_; - return *this; - } - - PipelineLayoutCreateInfo & - setPSetLayouts( const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts_ ) VULKAN_HPP_NOEXCEPT - { - pSetLayouts = pSetLayouts_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineLayoutCreateInfo & setSetLayouts( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - setLayouts_ ) VULKAN_HPP_NOEXCEPT - { - setLayoutCount = static_cast( setLayouts_.size() ); - pSetLayouts = setLayouts_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PipelineLayoutCreateInfo & setPushConstantRangeCount( uint32_t pushConstantRangeCount_ ) VULKAN_HPP_NOEXCEPT - { - pushConstantRangeCount = pushConstantRangeCount_; - return *this; - } - - PipelineLayoutCreateInfo & - setPPushConstantRanges( const VULKAN_HPP_NAMESPACE::PushConstantRange * pPushConstantRanges_ ) VULKAN_HPP_NOEXCEPT - { - pPushConstantRanges = pPushConstantRanges_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineLayoutCreateInfo & setPushConstantRanges( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - pushConstantRanges_ ) VULKAN_HPP_NOEXCEPT - { - pushConstantRangeCount = static_cast( pushConstantRanges_.size() ); - pPushConstantRanges = pushConstantRanges_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineLayoutCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineLayoutCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineLayoutCreateInfo const & ) const = default; -#else - bool operator==( PipelineLayoutCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( setLayoutCount == rhs.setLayoutCount ) && ( pSetLayouts == rhs.pSetLayouts ) && - ( pushConstantRangeCount == rhs.pushConstantRangeCount ) && - ( pPushConstantRanges == rhs.pPushConstantRanges ); - } - - bool operator!=( PipelineLayoutCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineLayoutCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags = {}; - uint32_t setLayoutCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayouts = {}; - uint32_t pushConstantRangeCount = {}; - const VULKAN_HPP_NAMESPACE::PushConstantRange * pPushConstantRanges = {}; - }; - static_assert( sizeof( PipelineLayoutCreateInfo ) == sizeof( VkPipelineLayoutCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineLayoutCreateInfo; - }; - - struct PrivateDataSlotCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePrivateDataSlotCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PrivateDataSlotCreateInfoEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags_ = {} ) - VULKAN_HPP_NOEXCEPT : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - PrivateDataSlotCreateInfoEXT( PrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PrivateDataSlotCreateInfoEXT( VkPrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PrivateDataSlotCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PrivateDataSlotCreateInfoEXT & - operator=( PrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PrivateDataSlotCreateInfoEXT & operator=( VkPrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PrivateDataSlotCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PrivateDataSlotCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkPrivateDataSlotCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPrivateDataSlotCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PrivateDataSlotCreateInfoEXT const & ) const = default; -#else - bool operator==( PrivateDataSlotCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( PrivateDataSlotCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePrivateDataSlotCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags = {}; - }; - static_assert( sizeof( PrivateDataSlotCreateInfoEXT ) == sizeof( VkPrivateDataSlotCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PrivateDataSlotCreateInfoEXT; - }; - - class PrivateDataSlotEXT - { - public: - using CType = VkPrivateDataSlotEXT; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePrivateDataSlotEXT; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR PrivateDataSlotEXT() = default; - VULKAN_HPP_CONSTEXPR PrivateDataSlotEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT PrivateDataSlotEXT( VkPrivateDataSlotEXT privateDataSlotEXT ) VULKAN_HPP_NOEXCEPT - : m_privateDataSlotEXT( privateDataSlotEXT ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - PrivateDataSlotEXT & operator=( VkPrivateDataSlotEXT privateDataSlotEXT ) VULKAN_HPP_NOEXCEPT - { - m_privateDataSlotEXT = privateDataSlotEXT; - return *this; - } -#endif - - PrivateDataSlotEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_privateDataSlotEXT = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PrivateDataSlotEXT const & ) const = default; -#else - bool operator==( PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT == rhs.m_privateDataSlotEXT; - } - - bool operator!=( PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT != rhs.m_privateDataSlotEXT; - } - - bool operator<( PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT < rhs.m_privateDataSlotEXT; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPrivateDataSlotEXT() const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_privateDataSlotEXT == VK_NULL_HANDLE; - } - - private: - VkPrivateDataSlotEXT m_privateDataSlotEXT = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT ) == sizeof( VkPrivateDataSlotEXT ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct QueryPoolCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueryPoolCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueryPoolCreateInfo( - VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::QueryType queryType_ = VULKAN_HPP_NAMESPACE::QueryType::eOcclusion, - uint32_t queryCount_ = {}, - VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , queryType( queryType_ ) - , queryCount( queryCount_ ) - , pipelineStatistics( pipelineStatistics_ ) - {} - - VULKAN_HPP_CONSTEXPR QueryPoolCreateInfo( QueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolCreateInfo( VkQueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : QueryPoolCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueryPoolCreateInfo & - operator=( QueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolCreateInfo & operator=( VkQueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - QueryPoolCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - QueryPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - QueryPoolCreateInfo & setQueryType( VULKAN_HPP_NAMESPACE::QueryType queryType_ ) VULKAN_HPP_NOEXCEPT - { - queryType = queryType_; - return *this; - } - - QueryPoolCreateInfo & setQueryCount( uint32_t queryCount_ ) VULKAN_HPP_NOEXCEPT - { - queryCount = queryCount_; - return *this; - } - - QueryPoolCreateInfo & - setPipelineStatistics( VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ ) VULKAN_HPP_NOEXCEPT - { - pipelineStatistics = pipelineStatistics_; - return *this; - } - - operator VkQueryPoolCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueryPoolCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueryPoolCreateInfo const & ) const = default; -#else - bool operator==( QueryPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( queryType == rhs.queryType ) && ( queryCount == rhs.queryCount ) && - ( pipelineStatistics == rhs.pipelineStatistics ); - } - - bool operator!=( QueryPoolCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::QueryType queryType = VULKAN_HPP_NAMESPACE::QueryType::eOcclusion; - uint32_t queryCount = {}; - VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics = {}; - }; - static_assert( sizeof( QueryPoolCreateInfo ) == sizeof( VkQueryPoolCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueryPoolCreateInfo; - }; - - struct RayTracingShaderGroupCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRayTracingShaderGroupCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RayTracingShaderGroupCreateInfoKHR( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ = - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral, - uint32_t generalShader_ = {}, - uint32_t closestHitShader_ = {}, - uint32_t anyHitShader_ = {}, - uint32_t intersectionShader_ = {}, - const void * pShaderGroupCaptureReplayHandle_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , generalShader( generalShader_ ) - , closestHitShader( closestHitShader_ ) - , anyHitShader( anyHitShader_ ) - , intersectionShader( intersectionShader_ ) - , pShaderGroupCaptureReplayHandle( pShaderGroupCaptureReplayHandle_ ) - {} - - VULKAN_HPP_CONSTEXPR RayTracingShaderGroupCreateInfoKHR( RayTracingShaderGroupCreateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - RayTracingShaderGroupCreateInfoKHR( VkRayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : RayTracingShaderGroupCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RayTracingShaderGroupCreateInfoKHR & - operator=( RayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingShaderGroupCreateInfoKHR & - operator=( VkRayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & - setType( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & setGeneralShader( uint32_t generalShader_ ) VULKAN_HPP_NOEXCEPT - { - generalShader = generalShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & setClosestHitShader( uint32_t closestHitShader_ ) VULKAN_HPP_NOEXCEPT - { - closestHitShader = closestHitShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & setAnyHitShader( uint32_t anyHitShader_ ) VULKAN_HPP_NOEXCEPT - { - anyHitShader = anyHitShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & setIntersectionShader( uint32_t intersectionShader_ ) VULKAN_HPP_NOEXCEPT - { - intersectionShader = intersectionShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoKHR & - setPShaderGroupCaptureReplayHandle( const void * pShaderGroupCaptureReplayHandle_ ) VULKAN_HPP_NOEXCEPT - { - pShaderGroupCaptureReplayHandle = pShaderGroupCaptureReplayHandle_; - return *this; - } - - operator VkRayTracingShaderGroupCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRayTracingShaderGroupCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RayTracingShaderGroupCreateInfoKHR const & ) const = default; -#else - bool operator==( RayTracingShaderGroupCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ) && - ( generalShader == rhs.generalShader ) && ( closestHitShader == rhs.closestHitShader ) && - ( anyHitShader == rhs.anyHitShader ) && ( intersectionShader == rhs.intersectionShader ) && - ( pShaderGroupCaptureReplayHandle == rhs.pShaderGroupCaptureReplayHandle ); - } - - bool operator!=( RayTracingShaderGroupCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingShaderGroupCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type = - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral; - uint32_t generalShader = {}; - uint32_t closestHitShader = {}; - uint32_t anyHitShader = {}; - uint32_t intersectionShader = {}; - const void * pShaderGroupCaptureReplayHandle = {}; - }; - static_assert( sizeof( RayTracingShaderGroupCreateInfoKHR ) == sizeof( VkRayTracingShaderGroupCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RayTracingShaderGroupCreateInfoKHR; - }; - - struct PipelineLibraryCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineLibraryCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PipelineLibraryCreateInfoKHR( uint32_t libraryCount_ = {}, - const VULKAN_HPP_NAMESPACE::Pipeline * pLibraries_ = {} ) VULKAN_HPP_NOEXCEPT - : libraryCount( libraryCount_ ) - , pLibraries( pLibraries_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineLibraryCreateInfoKHR( PipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineLibraryCreateInfoKHR( VkPipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineLibraryCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineLibraryCreateInfoKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & libraries_ ) - : libraryCount( static_cast( libraries_.size() ) ), pLibraries( libraries_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineLibraryCreateInfoKHR & - operator=( PipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineLibraryCreateInfoKHR & operator=( VkPipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineLibraryCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineLibraryCreateInfoKHR & setLibraryCount( uint32_t libraryCount_ ) VULKAN_HPP_NOEXCEPT - { - libraryCount = libraryCount_; - return *this; - } - - PipelineLibraryCreateInfoKHR & - setPLibraries( const VULKAN_HPP_NAMESPACE::Pipeline * pLibraries_ ) VULKAN_HPP_NOEXCEPT - { - pLibraries = pLibraries_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineLibraryCreateInfoKHR & setLibraries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & libraries_ ) - VULKAN_HPP_NOEXCEPT - { - libraryCount = static_cast( libraries_.size() ); - pLibraries = libraries_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineLibraryCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineLibraryCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineLibraryCreateInfoKHR const & ) const = default; -#else - bool operator==( PipelineLibraryCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( libraryCount == rhs.libraryCount ) && - ( pLibraries == rhs.pLibraries ); - } - - bool operator!=( PipelineLibraryCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineLibraryCreateInfoKHR; - const void * pNext = {}; - uint32_t libraryCount = {}; - const VULKAN_HPP_NAMESPACE::Pipeline * pLibraries = {}; - }; - static_assert( sizeof( PipelineLibraryCreateInfoKHR ) == sizeof( VkPipelineLibraryCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineLibraryCreateInfoKHR; - }; - - struct RayTracingPipelineInterfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRayTracingPipelineInterfaceCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RayTracingPipelineInterfaceCreateInfoKHR( uint32_t maxPipelineRayPayloadSize_ = {}, - uint32_t maxPipelineRayHitAttributeSize_ = {} ) VULKAN_HPP_NOEXCEPT - : maxPipelineRayPayloadSize( maxPipelineRayPayloadSize_ ) - , maxPipelineRayHitAttributeSize( maxPipelineRayHitAttributeSize_ ) - {} - - VULKAN_HPP_CONSTEXPR RayTracingPipelineInterfaceCreateInfoKHR( - RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineInterfaceCreateInfoKHR( VkRayTracingPipelineInterfaceCreateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : RayTracingPipelineInterfaceCreateInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RayTracingPipelineInterfaceCreateInfoKHR & - operator=( RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineInterfaceCreateInfoKHR & - operator=( VkRayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RayTracingPipelineInterfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RayTracingPipelineInterfaceCreateInfoKHR & - setMaxPipelineRayPayloadSize( uint32_t maxPipelineRayPayloadSize_ ) VULKAN_HPP_NOEXCEPT - { - maxPipelineRayPayloadSize = maxPipelineRayPayloadSize_; - return *this; - } - - RayTracingPipelineInterfaceCreateInfoKHR & - setMaxPipelineRayHitAttributeSize( uint32_t maxPipelineRayHitAttributeSize_ ) VULKAN_HPP_NOEXCEPT - { - maxPipelineRayHitAttributeSize = maxPipelineRayHitAttributeSize_; - return *this; - } - - operator VkRayTracingPipelineInterfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRayTracingPipelineInterfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RayTracingPipelineInterfaceCreateInfoKHR const & ) const = default; -#else - bool operator==( RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxPipelineRayPayloadSize == rhs.maxPipelineRayPayloadSize ) && - ( maxPipelineRayHitAttributeSize == rhs.maxPipelineRayHitAttributeSize ); - } - - bool operator!=( RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineInterfaceCreateInfoKHR; - const void * pNext = {}; - uint32_t maxPipelineRayPayloadSize = {}; - uint32_t maxPipelineRayHitAttributeSize = {}; - }; - static_assert( sizeof( RayTracingPipelineInterfaceCreateInfoKHR ) == - sizeof( VkRayTracingPipelineInterfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RayTracingPipelineInterfaceCreateInfoKHR; - }; - - struct RayTracingPipelineCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingPipelineCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RayTracingPipelineCreateInfoKHR( - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, - uint32_t stageCount_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ = {}, - uint32_t groupCount_ = {}, - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR * pGroups_ = {}, - uint32_t maxPipelineRayRecursionDepth_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR * pLibraryInfo_ = {}, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR * pLibraryInterface_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , stageCount( stageCount_ ) - , pStages( pStages_ ) - , groupCount( groupCount_ ) - , pGroups( pGroups_ ) - , maxPipelineRayRecursionDepth( maxPipelineRayRecursionDepth_ ) - , pLibraryInfo( pLibraryInfo_ ) - , pLibraryInterface( pLibraryInterface_ ) - , pDynamicState( pDynamicState_ ) - , layout( layout_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - RayTracingPipelineCreateInfoKHR( RayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineCreateInfoKHR( VkRayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : RayTracingPipelineCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoKHR( - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR> const & groups_ = {}, - uint32_t maxPipelineRayRecursionDepth_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR * pLibraryInfo_ = {}, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR * pLibraryInterface_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) - : flags( flags_ ) - , stageCount( static_cast( stages_.size() ) ) - , pStages( stages_.data() ) - , groupCount( static_cast( groups_.size() ) ) - , pGroups( groups_.data() ) - , maxPipelineRayRecursionDepth( maxPipelineRayRecursionDepth_ ) - , pLibraryInfo( pLibraryInfo_ ) - , pLibraryInterface( pLibraryInterface_ ) - , pDynamicState( pDynamicState_ ) - , layout( layout_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RayTracingPipelineCreateInfoKHR & - operator=( RayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineCreateInfoKHR & operator=( VkRayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RayTracingPipelineCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = stageCount_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & - setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ ) VULKAN_HPP_NOEXCEPT - { - pStages = pStages_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoKHR & setStages( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = static_cast( stages_.size() ); - pStages = stages_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RayTracingPipelineCreateInfoKHR & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = groupCount_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & - setPGroups( const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR * pGroups_ ) VULKAN_HPP_NOEXCEPT - { - pGroups = pGroups_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoKHR & - setGroups( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR> const & groups_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = static_cast( groups_.size() ); - pGroups = groups_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RayTracingPipelineCreateInfoKHR & - setMaxPipelineRayRecursionDepth( uint32_t maxPipelineRayRecursionDepth_ ) VULKAN_HPP_NOEXCEPT - { - maxPipelineRayRecursionDepth = maxPipelineRayRecursionDepth_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & - setPLibraryInfo( const VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR * pLibraryInfo_ ) VULKAN_HPP_NOEXCEPT - { - pLibraryInfo = pLibraryInfo_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setPLibraryInterface( - const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR * pLibraryInterface_ ) VULKAN_HPP_NOEXCEPT - { - pLibraryInterface = pLibraryInterface_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setPDynamicState( - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState_ ) VULKAN_HPP_NOEXCEPT - { - pDynamicState = pDynamicState_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & - setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineHandle = basePipelineHandle_; - return *this; - } - - RayTracingPipelineCreateInfoKHR & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineIndex = basePipelineIndex_; - return *this; - } - - operator VkRayTracingPipelineCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRayTracingPipelineCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RayTracingPipelineCreateInfoKHR const & ) const = default; -#else - bool operator==( RayTracingPipelineCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( stageCount == rhs.stageCount ) && ( pStages == rhs.pStages ) && ( groupCount == rhs.groupCount ) && - ( pGroups == rhs.pGroups ) && ( maxPipelineRayRecursionDepth == rhs.maxPipelineRayRecursionDepth ) && - ( pLibraryInfo == rhs.pLibraryInfo ) && ( pLibraryInterface == rhs.pLibraryInterface ) && - ( pDynamicState == rhs.pDynamicState ) && ( layout == rhs.layout ) && - ( basePipelineHandle == rhs.basePipelineHandle ) && ( basePipelineIndex == rhs.basePipelineIndex ); - } - - bool operator!=( RayTracingPipelineCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; - uint32_t stageCount = {}; - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages = {}; - uint32_t groupCount = {}; - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR * pGroups = {}; - uint32_t maxPipelineRayRecursionDepth = {}; - const VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR * pLibraryInfo = {}; - const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR * pLibraryInterface = {}; - const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo * pDynamicState = {}; - VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; - int32_t basePipelineIndex = {}; - }; - static_assert( sizeof( RayTracingPipelineCreateInfoKHR ) == sizeof( VkRayTracingPipelineCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RayTracingPipelineCreateInfoKHR; - }; - - struct RayTracingShaderGroupCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRayTracingShaderGroupCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RayTracingShaderGroupCreateInfoNV( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ = - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral, - uint32_t generalShader_ = {}, - uint32_t closestHitShader_ = {}, - uint32_t anyHitShader_ = {}, - uint32_t intersectionShader_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , generalShader( generalShader_ ) - , closestHitShader( closestHitShader_ ) - , anyHitShader( anyHitShader_ ) - , intersectionShader( intersectionShader_ ) - {} - - VULKAN_HPP_CONSTEXPR - RayTracingShaderGroupCreateInfoNV( RayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingShaderGroupCreateInfoNV( VkRayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : RayTracingShaderGroupCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RayTracingShaderGroupCreateInfoNV & - operator=( RayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingShaderGroupCreateInfoNV & operator=( VkRayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RayTracingShaderGroupCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RayTracingShaderGroupCreateInfoNV & - setType( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - RayTracingShaderGroupCreateInfoNV & setGeneralShader( uint32_t generalShader_ ) VULKAN_HPP_NOEXCEPT - { - generalShader = generalShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoNV & setClosestHitShader( uint32_t closestHitShader_ ) VULKAN_HPP_NOEXCEPT - { - closestHitShader = closestHitShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoNV & setAnyHitShader( uint32_t anyHitShader_ ) VULKAN_HPP_NOEXCEPT - { - anyHitShader = anyHitShader_; - return *this; - } - - RayTracingShaderGroupCreateInfoNV & setIntersectionShader( uint32_t intersectionShader_ ) VULKAN_HPP_NOEXCEPT - { - intersectionShader = intersectionShader_; - return *this; - } - - operator VkRayTracingShaderGroupCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRayTracingShaderGroupCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RayTracingShaderGroupCreateInfoNV const & ) const = default; -#else - bool operator==( RayTracingShaderGroupCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( type == rhs.type ) && - ( generalShader == rhs.generalShader ) && ( closestHitShader == rhs.closestHitShader ) && - ( anyHitShader == rhs.anyHitShader ) && ( intersectionShader == rhs.intersectionShader ); - } - - bool operator!=( RayTracingShaderGroupCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingShaderGroupCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type = - VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral; - uint32_t generalShader = {}; - uint32_t closestHitShader = {}; - uint32_t anyHitShader = {}; - uint32_t intersectionShader = {}; - }; - static_assert( sizeof( RayTracingShaderGroupCreateInfoNV ) == sizeof( VkRayTracingShaderGroupCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RayTracingShaderGroupCreateInfoNV; - }; - - struct RayTracingPipelineCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingPipelineCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RayTracingPipelineCreateInfoNV( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, - uint32_t stageCount_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ = {}, - uint32_t groupCount_ = {}, - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV * pGroups_ = {}, - uint32_t maxRecursionDepth_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , stageCount( stageCount_ ) - , pStages( pStages_ ) - , groupCount( groupCount_ ) - , pGroups( pGroups_ ) - , maxRecursionDepth( maxRecursionDepth_ ) - , layout( layout_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - RayTracingPipelineCreateInfoNV( RayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineCreateInfoNV( VkRayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : RayTracingPipelineCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV> const & groups_ = {}, - uint32_t maxRecursionDepth_ = {}, - VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, - int32_t basePipelineIndex_ = {} ) - : flags( flags_ ) - , stageCount( static_cast( stages_.size() ) ) - , pStages( stages_.data() ) - , groupCount( static_cast( groups_.size() ) ) - , pGroups( groups_.data() ) - , maxRecursionDepth( maxRecursionDepth_ ) - , layout( layout_ ) - , basePipelineHandle( basePipelineHandle_ ) - , basePipelineIndex( basePipelineIndex_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RayTracingPipelineCreateInfoNV & - operator=( RayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RayTracingPipelineCreateInfoNV & operator=( VkRayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RayTracingPipelineCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RayTracingPipelineCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - RayTracingPipelineCreateInfoNV & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = stageCount_; - return *this; - } - - RayTracingPipelineCreateInfoNV & - setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ ) VULKAN_HPP_NOEXCEPT - { - pStages = pStages_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoNV & setStages( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = static_cast( stages_.size() ); - pStages = stages_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RayTracingPipelineCreateInfoNV & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = groupCount_; - return *this; - } - - RayTracingPipelineCreateInfoNV & - setPGroups( const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV * pGroups_ ) VULKAN_HPP_NOEXCEPT - { - pGroups = pGroups_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RayTracingPipelineCreateInfoNV & - setGroups( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV> const & groups_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = static_cast( groups_.size() ); - pGroups = groups_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RayTracingPipelineCreateInfoNV & setMaxRecursionDepth( uint32_t maxRecursionDepth_ ) VULKAN_HPP_NOEXCEPT - { - maxRecursionDepth = maxRecursionDepth_; - return *this; - } - - RayTracingPipelineCreateInfoNV & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT - { - layout = layout_; - return *this; - } - - RayTracingPipelineCreateInfoNV & - setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineHandle = basePipelineHandle_; - return *this; - } - - RayTracingPipelineCreateInfoNV & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT - { - basePipelineIndex = basePipelineIndex_; - return *this; - } - - operator VkRayTracingPipelineCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRayTracingPipelineCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RayTracingPipelineCreateInfoNV const & ) const = default; -#else - bool operator==( RayTracingPipelineCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( stageCount == rhs.stageCount ) && ( pStages == rhs.pStages ) && ( groupCount == rhs.groupCount ) && - ( pGroups == rhs.pGroups ) && ( maxRecursionDepth == rhs.maxRecursionDepth ) && ( layout == rhs.layout ) && - ( basePipelineHandle == rhs.basePipelineHandle ) && ( basePipelineIndex == rhs.basePipelineIndex ); - } - - bool operator!=( RayTracingPipelineCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; - uint32_t stageCount = {}; - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages = {}; - uint32_t groupCount = {}; - const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV * pGroups = {}; - uint32_t maxRecursionDepth = {}; - VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; - VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; - int32_t basePipelineIndex = {}; - }; - static_assert( sizeof( RayTracingPipelineCreateInfoNV ) == sizeof( VkRayTracingPipelineCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RayTracingPipelineCreateInfoNV; - }; - - struct SubpassDescription - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassDescription( - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - uint32_t inputAttachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference * pInputAttachments_ = {}, - uint32_t colorAttachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference * pColorAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference * pResolveAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference * pDepthStencilAttachment_ = {}, - uint32_t preserveAttachmentCount_ = {}, - const uint32_t * pPreserveAttachments_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , inputAttachmentCount( inputAttachmentCount_ ) - , pInputAttachments( pInputAttachments_ ) - , colorAttachmentCount( colorAttachmentCount_ ) - , pColorAttachments( pColorAttachments_ ) - , pResolveAttachments( pResolveAttachments_ ) - , pDepthStencilAttachment( pDepthStencilAttachment_ ) - , preserveAttachmentCount( preserveAttachmentCount_ ) - , pPreserveAttachments( pPreserveAttachments_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassDescription( SubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDescription( VkSubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassDescription( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription( - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - inputAttachments_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - colorAttachments_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - resolveAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference * pDepthStencilAttachment_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ = {} ) - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , inputAttachmentCount( static_cast( inputAttachments_.size() ) ) - , pInputAttachments( inputAttachments_.data() ) - , colorAttachmentCount( static_cast( colorAttachments_.size() ) ) - , pColorAttachments( colorAttachments_.data() ) - , pResolveAttachments( resolveAttachments_.data() ) - , pDepthStencilAttachment( pDepthStencilAttachment_ ) - , preserveAttachmentCount( static_cast( preserveAttachments_.size() ) ) - , pPreserveAttachments( preserveAttachments_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( resolveAttachments_.empty() || ( colorAttachments_.size() == resolveAttachments_.size() ) ); -# else - if ( !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::SubpassDescription::SubpassDescription: !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() )" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassDescription & - operator=( SubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDescription & operator=( VkSubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassDescription & setFlags( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SubpassDescription & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - SubpassDescription & setInputAttachmentCount( uint32_t inputAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - inputAttachmentCount = inputAttachmentCount_; - return *this; - } - - SubpassDescription & - setPInputAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference * pInputAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pInputAttachments = pInputAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription & setInputAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - inputAttachments_ ) VULKAN_HPP_NOEXCEPT - { - inputAttachmentCount = static_cast( inputAttachments_.size() ); - pInputAttachments = inputAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription & setColorAttachmentCount( uint32_t colorAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = colorAttachmentCount_; - return *this; - } - - SubpassDescription & - setPColorAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference * pColorAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pColorAttachments = pColorAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription & setColorAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - colorAttachments_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = static_cast( colorAttachments_.size() ); - pColorAttachments = colorAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription & setPResolveAttachments( - const VULKAN_HPP_NAMESPACE::AttachmentReference * pResolveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pResolveAttachments = pResolveAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription & setResolveAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - resolveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = static_cast( resolveAttachments_.size() ); - pResolveAttachments = resolveAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription & setPDepthStencilAttachment( - const VULKAN_HPP_NAMESPACE::AttachmentReference * pDepthStencilAttachment_ ) VULKAN_HPP_NOEXCEPT - { - pDepthStencilAttachment = pDepthStencilAttachment_; - return *this; - } - - SubpassDescription & setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - preserveAttachmentCount = preserveAttachmentCount_; - return *this; - } - - SubpassDescription & setPPreserveAttachments( const uint32_t * pPreserveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pPreserveAttachments = pPreserveAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription & setPreserveAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - preserveAttachmentCount = static_cast( preserveAttachments_.size() ); - pPreserveAttachments = preserveAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSubpassDescription const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassDescription &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassDescription const & ) const = default; -#else - bool operator==( SubpassDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( flags == rhs.flags ) && ( pipelineBindPoint == rhs.pipelineBindPoint ) && - ( inputAttachmentCount == rhs.inputAttachmentCount ) && ( pInputAttachments == rhs.pInputAttachments ) && - ( colorAttachmentCount == rhs.colorAttachmentCount ) && ( pColorAttachments == rhs.pColorAttachments ) && - ( pResolveAttachments == rhs.pResolveAttachments ) && - ( pDepthStencilAttachment == rhs.pDepthStencilAttachment ) && - ( preserveAttachmentCount == rhs.preserveAttachmentCount ) && - ( pPreserveAttachments == rhs.pPreserveAttachments ); - } - - bool operator!=( SubpassDescription const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - uint32_t inputAttachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference * pInputAttachments = {}; - uint32_t colorAttachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference * pColorAttachments = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference * pResolveAttachments = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference * pDepthStencilAttachment = {}; - uint32_t preserveAttachmentCount = {}; - const uint32_t * pPreserveAttachments = {}; - }; - static_assert( sizeof( SubpassDescription ) == sizeof( VkSubpassDescription ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SubpassDependency - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SubpassDependency( uint32_t srcSubpass_ = {}, - uint32_t dstSubpass_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubpass( srcSubpass_ ) - , dstSubpass( dstSubpass_ ) - , srcStageMask( srcStageMask_ ) - , dstStageMask( dstStageMask_ ) - , srcAccessMask( srcAccessMask_ ) - , dstAccessMask( dstAccessMask_ ) - , dependencyFlags( dependencyFlags_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassDependency( SubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDependency( VkSubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassDependency( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassDependency & - operator=( SubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDependency & operator=( VkSubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassDependency & setSrcSubpass( uint32_t srcSubpass_ ) VULKAN_HPP_NOEXCEPT - { - srcSubpass = srcSubpass_; - return *this; - } - - SubpassDependency & setDstSubpass( uint32_t dstSubpass_ ) VULKAN_HPP_NOEXCEPT - { - dstSubpass = dstSubpass_; - return *this; - } - - SubpassDependency & setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ ) VULKAN_HPP_NOEXCEPT - { - srcStageMask = srcStageMask_; - return *this; - } - - SubpassDependency & setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - dstStageMask = dstStageMask_; - return *this; - } - - SubpassDependency & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - SubpassDependency & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - SubpassDependency & setDependencyFlags( VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ ) VULKAN_HPP_NOEXCEPT - { - dependencyFlags = dependencyFlags_; - return *this; - } - - operator VkSubpassDependency const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassDependency &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassDependency const & ) const = default; -#else - bool operator==( SubpassDependency const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( srcSubpass == rhs.srcSubpass ) && ( dstSubpass == rhs.dstSubpass ) && - ( srcStageMask == rhs.srcStageMask ) && ( dstStageMask == rhs.dstStageMask ) && - ( srcAccessMask == rhs.srcAccessMask ) && ( dstAccessMask == rhs.dstAccessMask ) && - ( dependencyFlags == rhs.dependencyFlags ); - } - - bool operator!=( SubpassDependency const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t srcSubpass = {}; - uint32_t dstSubpass = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags = {}; - }; - static_assert( sizeof( SubpassDependency ) == sizeof( VkSubpassDependency ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct RenderPassCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RenderPassCreateInfo( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ = {}, - uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentDescription * pAttachments_ = {}, - uint32_t subpassCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubpassDescription * pSubpasses_ = {}, - uint32_t dependencyCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubpassDependency * pDependencies_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , attachmentCount( attachmentCount_ ) - , pAttachments( pAttachments_ ) - , subpassCount( subpassCount_ ) - , pSubpasses( pSubpasses_ ) - , dependencyCount( dependencyCount_ ) - , pDependencies( pDependencies_ ) - {} - - VULKAN_HPP_CONSTEXPR RenderPassCreateInfo( RenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassCreateInfo( VkRenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo( - VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachments_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - subpasses_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - dependencies_ = {} ) - : flags( flags_ ) - , attachmentCount( static_cast( attachments_.size() ) ) - , pAttachments( attachments_.data() ) - , subpassCount( static_cast( subpasses_.size() ) ) - , pSubpasses( subpasses_.data() ) - , dependencyCount( static_cast( dependencies_.size() ) ) - , pDependencies( dependencies_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassCreateInfo & - operator=( RenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassCreateInfo & operator=( VkRenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - RenderPassCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - RenderPassCreateInfo & - setPAttachments( const VULKAN_HPP_NAMESPACE::AttachmentDescription * pAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pAttachments = pAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo & setAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachments_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( attachments_.size() ); - pAttachments = attachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassCreateInfo & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT - { - subpassCount = subpassCount_; - return *this; - } - - RenderPassCreateInfo & - setPSubpasses( const VULKAN_HPP_NAMESPACE::SubpassDescription * pSubpasses_ ) VULKAN_HPP_NOEXCEPT - { - pSubpasses = pSubpasses_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo & setSubpasses( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & subpasses_ ) - VULKAN_HPP_NOEXCEPT - { - subpassCount = static_cast( subpasses_.size() ); - pSubpasses = subpasses_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassCreateInfo & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = dependencyCount_; - return *this; - } - - RenderPassCreateInfo & - setPDependencies( const VULKAN_HPP_NAMESPACE::SubpassDependency * pDependencies_ ) VULKAN_HPP_NOEXCEPT - { - pDependencies = pDependencies_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo & setDependencies( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - dependencies_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = static_cast( dependencies_.size() ); - pDependencies = dependencies_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassCreateInfo const & ) const = default; -#else - bool operator==( RenderPassCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( attachmentCount == rhs.attachmentCount ) && ( pAttachments == rhs.pAttachments ) && - ( subpassCount == rhs.subpassCount ) && ( pSubpasses == rhs.pSubpasses ) && - ( dependencyCount == rhs.dependencyCount ) && ( pDependencies == rhs.pDependencies ); - } - - bool operator!=( RenderPassCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags = {}; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentDescription * pAttachments = {}; - uint32_t subpassCount = {}; - const VULKAN_HPP_NAMESPACE::SubpassDescription * pSubpasses = {}; - uint32_t dependencyCount = {}; - const VULKAN_HPP_NAMESPACE::SubpassDependency * pDependencies = {}; - }; - static_assert( sizeof( RenderPassCreateInfo ) == sizeof( VkRenderPassCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassCreateInfo; - }; - - struct SubpassDescription2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassDescription2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassDescription2( - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - uint32_t viewMask_ = {}, - uint32_t inputAttachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pInputAttachments_ = {}, - uint32_t colorAttachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pColorAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pResolveAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilAttachment_ = {}, - uint32_t preserveAttachmentCount_ = {}, - const uint32_t * pPreserveAttachments_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , viewMask( viewMask_ ) - , inputAttachmentCount( inputAttachmentCount_ ) - , pInputAttachments( pInputAttachments_ ) - , colorAttachmentCount( colorAttachmentCount_ ) - , pColorAttachments( pColorAttachments_ ) - , pResolveAttachments( pResolveAttachments_ ) - , pDepthStencilAttachment( pDepthStencilAttachment_ ) - , preserveAttachmentCount( preserveAttachmentCount_ ) - , pPreserveAttachments( pPreserveAttachments_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassDescription2( SubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDescription2( VkSubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassDescription2( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription2( - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_, - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, - uint32_t viewMask_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - inputAttachments_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - colorAttachments_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - resolveAttachments_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilAttachment_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ = {} ) - : flags( flags_ ) - , pipelineBindPoint( pipelineBindPoint_ ) - , viewMask( viewMask_ ) - , inputAttachmentCount( static_cast( inputAttachments_.size() ) ) - , pInputAttachments( inputAttachments_.data() ) - , colorAttachmentCount( static_cast( colorAttachments_.size() ) ) - , pColorAttachments( colorAttachments_.data() ) - , pResolveAttachments( resolveAttachments_.data() ) - , pDepthStencilAttachment( pDepthStencilAttachment_ ) - , preserveAttachmentCount( static_cast( preserveAttachments_.size() ) ) - , pPreserveAttachments( preserveAttachments_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( resolveAttachments_.empty() || ( colorAttachments_.size() == resolveAttachments_.size() ) ); -# else - if ( !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::SubpassDescription2::SubpassDescription2: !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() )" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassDescription2 & - operator=( SubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDescription2 & operator=( VkSubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassDescription2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubpassDescription2 & setFlags( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SubpassDescription2 & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - SubpassDescription2 & setViewMask( uint32_t viewMask_ ) VULKAN_HPP_NOEXCEPT - { - viewMask = viewMask_; - return *this; - } - - SubpassDescription2 & setInputAttachmentCount( uint32_t inputAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - inputAttachmentCount = inputAttachmentCount_; - return *this; - } - - SubpassDescription2 & - setPInputAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pInputAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pInputAttachments = pInputAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription2 & setInputAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - inputAttachments_ ) VULKAN_HPP_NOEXCEPT - { - inputAttachmentCount = static_cast( inputAttachments_.size() ); - pInputAttachments = inputAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription2 & setColorAttachmentCount( uint32_t colorAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = colorAttachmentCount_; - return *this; - } - - SubpassDescription2 & - setPColorAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pColorAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pColorAttachments = pColorAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription2 & setColorAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - colorAttachments_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = static_cast( colorAttachments_.size() ); - pColorAttachments = colorAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription2 & setPResolveAttachments( - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pResolveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pResolveAttachments = pResolveAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription2 & setResolveAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - resolveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - colorAttachmentCount = static_cast( resolveAttachments_.size() ); - pResolveAttachments = resolveAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubpassDescription2 & setPDepthStencilAttachment( - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilAttachment_ ) VULKAN_HPP_NOEXCEPT - { - pDepthStencilAttachment = pDepthStencilAttachment_; - return *this; - } - - SubpassDescription2 & setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - preserveAttachmentCount = preserveAttachmentCount_; - return *this; - } - - SubpassDescription2 & setPPreserveAttachments( const uint32_t * pPreserveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pPreserveAttachments = pPreserveAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubpassDescription2 & setPreserveAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ ) VULKAN_HPP_NOEXCEPT - { - preserveAttachmentCount = static_cast( preserveAttachments_.size() ); - pPreserveAttachments = preserveAttachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSubpassDescription2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassDescription2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassDescription2 const & ) const = default; -#else - bool operator==( SubpassDescription2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pipelineBindPoint == rhs.pipelineBindPoint ) && ( viewMask == rhs.viewMask ) && - ( inputAttachmentCount == rhs.inputAttachmentCount ) && ( pInputAttachments == rhs.pInputAttachments ) && - ( colorAttachmentCount == rhs.colorAttachmentCount ) && ( pColorAttachments == rhs.pColorAttachments ) && - ( pResolveAttachments == rhs.pResolveAttachments ) && - ( pDepthStencilAttachment == rhs.pDepthStencilAttachment ) && - ( preserveAttachmentCount == rhs.preserveAttachmentCount ) && - ( pPreserveAttachments == rhs.pPreserveAttachments ); - } - - bool operator!=( SubpassDescription2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDescription2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - uint32_t viewMask = {}; - uint32_t inputAttachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pInputAttachments = {}; - uint32_t colorAttachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pColorAttachments = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pResolveAttachments = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilAttachment = {}; - uint32_t preserveAttachmentCount = {}; - const uint32_t * pPreserveAttachments = {}; - }; - static_assert( sizeof( SubpassDescription2 ) == sizeof( VkSubpassDescription2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubpassDescription2; - }; - using SubpassDescription2KHR = SubpassDescription2; - - struct SubpassDependency2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassDependency2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassDependency2( uint32_t srcSubpass_ = {}, - uint32_t dstSubpass_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ = {}, - int32_t viewOffset_ = {} ) VULKAN_HPP_NOEXCEPT - : srcSubpass( srcSubpass_ ) - , dstSubpass( dstSubpass_ ) - , srcStageMask( srcStageMask_ ) - , dstStageMask( dstStageMask_ ) - , srcAccessMask( srcAccessMask_ ) - , dstAccessMask( dstAccessMask_ ) - , dependencyFlags( dependencyFlags_ ) - , viewOffset( viewOffset_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassDependency2( SubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDependency2( VkSubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassDependency2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassDependency2 & - operator=( SubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDependency2 & operator=( VkSubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassDependency2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubpassDependency2 & setSrcSubpass( uint32_t srcSubpass_ ) VULKAN_HPP_NOEXCEPT - { - srcSubpass = srcSubpass_; - return *this; - } - - SubpassDependency2 & setDstSubpass( uint32_t dstSubpass_ ) VULKAN_HPP_NOEXCEPT - { - dstSubpass = dstSubpass_; - return *this; - } - - SubpassDependency2 & setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ ) VULKAN_HPP_NOEXCEPT - { - srcStageMask = srcStageMask_; - return *this; - } - - SubpassDependency2 & setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - dstStageMask = dstStageMask_; - return *this; - } - - SubpassDependency2 & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - srcAccessMask = srcAccessMask_; - return *this; - } - - SubpassDependency2 & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT - { - dstAccessMask = dstAccessMask_; - return *this; - } - - SubpassDependency2 & - setDependencyFlags( VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ ) VULKAN_HPP_NOEXCEPT - { - dependencyFlags = dependencyFlags_; - return *this; - } - - SubpassDependency2 & setViewOffset( int32_t viewOffset_ ) VULKAN_HPP_NOEXCEPT - { - viewOffset = viewOffset_; - return *this; - } - - operator VkSubpassDependency2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassDependency2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassDependency2 const & ) const = default; -#else - bool operator==( SubpassDependency2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcSubpass == rhs.srcSubpass ) && - ( dstSubpass == rhs.dstSubpass ) && ( srcStageMask == rhs.srcStageMask ) && - ( dstStageMask == rhs.dstStageMask ) && ( srcAccessMask == rhs.srcAccessMask ) && - ( dstAccessMask == rhs.dstAccessMask ) && ( dependencyFlags == rhs.dependencyFlags ) && - ( viewOffset == rhs.viewOffset ); - } - - bool operator!=( SubpassDependency2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDependency2; - const void * pNext = {}; - uint32_t srcSubpass = {}; - uint32_t dstSubpass = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; - VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags = {}; - int32_t viewOffset = {}; - }; - static_assert( sizeof( SubpassDependency2 ) == sizeof( VkSubpassDependency2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubpassDependency2; - }; - using SubpassDependency2KHR = SubpassDependency2; - - struct RenderPassCreateInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassCreateInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassCreateInfo2( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ = {}, - uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentDescription2 * pAttachments_ = {}, - uint32_t subpassCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubpassDescription2 * pSubpasses_ = {}, - uint32_t dependencyCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubpassDependency2 * pDependencies_ = {}, - uint32_t correlatedViewMaskCount_ = {}, - const uint32_t * pCorrelatedViewMasks_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , attachmentCount( attachmentCount_ ) - , pAttachments( pAttachments_ ) - , subpassCount( subpassCount_ ) - , pSubpasses( pSubpasses_ ) - , dependencyCount( dependencyCount_ ) - , pDependencies( pDependencies_ ) - , correlatedViewMaskCount( correlatedViewMaskCount_ ) - , pCorrelatedViewMasks( pCorrelatedViewMasks_ ) - {} - - VULKAN_HPP_CONSTEXPR RenderPassCreateInfo2( RenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassCreateInfo2( VkRenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassCreateInfo2( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo2( - VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachments_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - subpasses_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - dependencies_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlatedViewMasks_ = {} ) - : flags( flags_ ) - , attachmentCount( static_cast( attachments_.size() ) ) - , pAttachments( attachments_.data() ) - , subpassCount( static_cast( subpasses_.size() ) ) - , pSubpasses( subpasses_.data() ) - , dependencyCount( static_cast( dependencies_.size() ) ) - , pDependencies( dependencies_.data() ) - , correlatedViewMaskCount( static_cast( correlatedViewMasks_.size() ) ) - , pCorrelatedViewMasks( correlatedViewMasks_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassCreateInfo2 & - operator=( RenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassCreateInfo2 & operator=( VkRenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassCreateInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassCreateInfo2 & setFlags( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - RenderPassCreateInfo2 & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - RenderPassCreateInfo2 & - setPAttachments( const VULKAN_HPP_NAMESPACE::AttachmentDescription2 * pAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pAttachments = pAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo2 & setAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachments_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( attachments_.size() ); - pAttachments = attachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassCreateInfo2 & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT - { - subpassCount = subpassCount_; - return *this; - } - - RenderPassCreateInfo2 & - setPSubpasses( const VULKAN_HPP_NAMESPACE::SubpassDescription2 * pSubpasses_ ) VULKAN_HPP_NOEXCEPT - { - pSubpasses = pSubpasses_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo2 & setSubpasses( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - subpasses_ ) VULKAN_HPP_NOEXCEPT - { - subpassCount = static_cast( subpasses_.size() ); - pSubpasses = subpasses_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassCreateInfo2 & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = dependencyCount_; - return *this; - } - - RenderPassCreateInfo2 & - setPDependencies( const VULKAN_HPP_NAMESPACE::SubpassDependency2 * pDependencies_ ) VULKAN_HPP_NOEXCEPT - { - pDependencies = pDependencies_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo2 & setDependencies( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - dependencies_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = static_cast( dependencies_.size() ); - pDependencies = dependencies_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassCreateInfo2 & setCorrelatedViewMaskCount( uint32_t correlatedViewMaskCount_ ) VULKAN_HPP_NOEXCEPT - { - correlatedViewMaskCount = correlatedViewMaskCount_; - return *this; - } - - RenderPassCreateInfo2 & setPCorrelatedViewMasks( const uint32_t * pCorrelatedViewMasks_ ) VULKAN_HPP_NOEXCEPT - { - pCorrelatedViewMasks = pCorrelatedViewMasks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassCreateInfo2 & setCorrelatedViewMasks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlatedViewMasks_ ) VULKAN_HPP_NOEXCEPT - { - correlatedViewMaskCount = static_cast( correlatedViewMasks_.size() ); - pCorrelatedViewMasks = correlatedViewMasks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassCreateInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassCreateInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassCreateInfo2 const & ) const = default; -#else - bool operator==( RenderPassCreateInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( attachmentCount == rhs.attachmentCount ) && ( pAttachments == rhs.pAttachments ) && - ( subpassCount == rhs.subpassCount ) && ( pSubpasses == rhs.pSubpasses ) && - ( dependencyCount == rhs.dependencyCount ) && ( pDependencies == rhs.pDependencies ) && - ( correlatedViewMaskCount == rhs.correlatedViewMaskCount ) && - ( pCorrelatedViewMasks == rhs.pCorrelatedViewMasks ); - } - - bool operator!=( RenderPassCreateInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassCreateInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags = {}; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentDescription2 * pAttachments = {}; - uint32_t subpassCount = {}; - const VULKAN_HPP_NAMESPACE::SubpassDescription2 * pSubpasses = {}; - uint32_t dependencyCount = {}; - const VULKAN_HPP_NAMESPACE::SubpassDependency2 * pDependencies = {}; - uint32_t correlatedViewMaskCount = {}; - const uint32_t * pCorrelatedViewMasks = {}; - }; - static_assert( sizeof( RenderPassCreateInfo2 ) == sizeof( VkRenderPassCreateInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassCreateInfo2; - }; - using RenderPassCreateInfo2KHR = RenderPassCreateInfo2; - - struct SamplerCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SamplerCreateInfo( - VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::Filter magFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, - VULKAN_HPP_NAMESPACE::Filter minFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, - VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode_ = VULKAN_HPP_NAMESPACE::SamplerMipmapMode::eNearest, - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, - float mipLodBias_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable_ = {}, - float maxAnisotropy_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 compareEnable_ = {}, - VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, - float minLod_ = {}, - float maxLod_ = {}, - VULKAN_HPP_NAMESPACE::BorderColor borderColor_ = VULKAN_HPP_NAMESPACE::BorderColor::eFloatTransparentBlack, - VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , magFilter( magFilter_ ) - , minFilter( minFilter_ ) - , mipmapMode( mipmapMode_ ) - , addressModeU( addressModeU_ ) - , addressModeV( addressModeV_ ) - , addressModeW( addressModeW_ ) - , mipLodBias( mipLodBias_ ) - , anisotropyEnable( anisotropyEnable_ ) - , maxAnisotropy( maxAnisotropy_ ) - , compareEnable( compareEnable_ ) - , compareOp( compareOp_ ) - , minLod( minLod_ ) - , maxLod( maxLod_ ) - , borderColor( borderColor_ ) - , unnormalizedCoordinates( unnormalizedCoordinates_ ) - {} - - VULKAN_HPP_CONSTEXPR SamplerCreateInfo( SamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerCreateInfo( VkSamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SamplerCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo & - operator=( SamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerCreateInfo & operator=( VkSamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SamplerCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SamplerCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SamplerCreateInfo & setMagFilter( VULKAN_HPP_NAMESPACE::Filter magFilter_ ) VULKAN_HPP_NOEXCEPT - { - magFilter = magFilter_; - return *this; - } - - SamplerCreateInfo & setMinFilter( VULKAN_HPP_NAMESPACE::Filter minFilter_ ) VULKAN_HPP_NOEXCEPT - { - minFilter = minFilter_; - return *this; - } - - SamplerCreateInfo & setMipmapMode( VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode_ ) VULKAN_HPP_NOEXCEPT - { - mipmapMode = mipmapMode_; - return *this; - } - - SamplerCreateInfo & setAddressModeU( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU_ ) VULKAN_HPP_NOEXCEPT - { - addressModeU = addressModeU_; - return *this; - } - - SamplerCreateInfo & setAddressModeV( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV_ ) VULKAN_HPP_NOEXCEPT - { - addressModeV = addressModeV_; - return *this; - } - - SamplerCreateInfo & setAddressModeW( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW_ ) VULKAN_HPP_NOEXCEPT - { - addressModeW = addressModeW_; - return *this; - } - - SamplerCreateInfo & setMipLodBias( float mipLodBias_ ) VULKAN_HPP_NOEXCEPT - { - mipLodBias = mipLodBias_; - return *this; - } - - SamplerCreateInfo & setAnisotropyEnable( VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable_ ) VULKAN_HPP_NOEXCEPT - { - anisotropyEnable = anisotropyEnable_; - return *this; - } - - SamplerCreateInfo & setMaxAnisotropy( float maxAnisotropy_ ) VULKAN_HPP_NOEXCEPT - { - maxAnisotropy = maxAnisotropy_; - return *this; - } - - SamplerCreateInfo & setCompareEnable( VULKAN_HPP_NAMESPACE::Bool32 compareEnable_ ) VULKAN_HPP_NOEXCEPT - { - compareEnable = compareEnable_; - return *this; - } - - SamplerCreateInfo & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT - { - compareOp = compareOp_; - return *this; - } - - SamplerCreateInfo & setMinLod( float minLod_ ) VULKAN_HPP_NOEXCEPT - { - minLod = minLod_; - return *this; - } - - SamplerCreateInfo & setMaxLod( float maxLod_ ) VULKAN_HPP_NOEXCEPT - { - maxLod = maxLod_; - return *this; - } - - SamplerCreateInfo & setBorderColor( VULKAN_HPP_NAMESPACE::BorderColor borderColor_ ) VULKAN_HPP_NOEXCEPT - { - borderColor = borderColor_; - return *this; - } - - SamplerCreateInfo & - setUnnormalizedCoordinates( VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates_ ) VULKAN_HPP_NOEXCEPT - { - unnormalizedCoordinates = unnormalizedCoordinates_; - return *this; - } - - operator VkSamplerCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerCreateInfo const & ) const = default; -#else - bool operator==( SamplerCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( magFilter == rhs.magFilter ) && ( minFilter == rhs.minFilter ) && ( mipmapMode == rhs.mipmapMode ) && - ( addressModeU == rhs.addressModeU ) && ( addressModeV == rhs.addressModeV ) && - ( addressModeW == rhs.addressModeW ) && ( mipLodBias == rhs.mipLodBias ) && - ( anisotropyEnable == rhs.anisotropyEnable ) && ( maxAnisotropy == rhs.maxAnisotropy ) && - ( compareEnable == rhs.compareEnable ) && ( compareOp == rhs.compareOp ) && ( minLod == rhs.minLod ) && - ( maxLod == rhs.maxLod ) && ( borderColor == rhs.borderColor ) && - ( unnormalizedCoordinates == rhs.unnormalizedCoordinates ); - } - - bool operator!=( SamplerCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::Filter magFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; - VULKAN_HPP_NAMESPACE::Filter minFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; - VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode = VULKAN_HPP_NAMESPACE::SamplerMipmapMode::eNearest; - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; - VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; - float mipLodBias = {}; - VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable = {}; - float maxAnisotropy = {}; - VULKAN_HPP_NAMESPACE::Bool32 compareEnable = {}; - VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; - float minLod = {}; - float maxLod = {}; - VULKAN_HPP_NAMESPACE::BorderColor borderColor = VULKAN_HPP_NAMESPACE::BorderColor::eFloatTransparentBlack; - VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates = {}; - }; - static_assert( sizeof( SamplerCreateInfo ) == sizeof( VkSamplerCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerCreateInfo; - }; - - struct SamplerYcbcrConversionCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerYcbcrConversionCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionCreateInfo( - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel_ = - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity, - VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull, - VULKAN_HPP_NAMESPACE::ComponentMapping components_ = {}, - VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, - VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, - VULKAN_HPP_NAMESPACE::Filter chromaFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, - VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction_ = {} ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - , ycbcrModel( ycbcrModel_ ) - , ycbcrRange( ycbcrRange_ ) - , components( components_ ) - , xChromaOffset( xChromaOffset_ ) - , yChromaOffset( yChromaOffset_ ) - , chromaFilter( chromaFilter_ ) - , forceExplicitReconstruction( forceExplicitReconstruction_ ) - {} - - VULKAN_HPP_CONSTEXPR - SamplerYcbcrConversionCreateInfo( SamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionCreateInfo( VkSamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SamplerYcbcrConversionCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SamplerYcbcrConversionCreateInfo & - operator=( SamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionCreateInfo & operator=( VkSamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SamplerYcbcrConversionCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setYcbcrModel( VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel_ ) VULKAN_HPP_NOEXCEPT - { - ycbcrModel = ycbcrModel_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setYcbcrRange( VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange_ ) VULKAN_HPP_NOEXCEPT - { - ycbcrRange = ycbcrRange_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setComponents( VULKAN_HPP_NAMESPACE::ComponentMapping const & components_ ) VULKAN_HPP_NOEXCEPT - { - components = components_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setXChromaOffset( VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset_ ) VULKAN_HPP_NOEXCEPT - { - xChromaOffset = xChromaOffset_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setYChromaOffset( VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset_ ) VULKAN_HPP_NOEXCEPT - { - yChromaOffset = yChromaOffset_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & setChromaFilter( VULKAN_HPP_NAMESPACE::Filter chromaFilter_ ) VULKAN_HPP_NOEXCEPT - { - chromaFilter = chromaFilter_; - return *this; - } - - SamplerYcbcrConversionCreateInfo & - setForceExplicitReconstruction( VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction_ ) VULKAN_HPP_NOEXCEPT - { - forceExplicitReconstruction = forceExplicitReconstruction_; - return *this; - } - - operator VkSamplerYcbcrConversionCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerYcbcrConversionCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerYcbcrConversionCreateInfo const & ) const = default; -#else - bool operator==( SamplerYcbcrConversionCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( format == rhs.format ) && - ( ycbcrModel == rhs.ycbcrModel ) && ( ycbcrRange == rhs.ycbcrRange ) && ( components == rhs.components ) && - ( xChromaOffset == rhs.xChromaOffset ) && ( yChromaOffset == rhs.yChromaOffset ) && - ( chromaFilter == rhs.chromaFilter ) && ( forceExplicitReconstruction == rhs.forceExplicitReconstruction ); - } - - bool operator!=( SamplerYcbcrConversionCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel = - VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity; - VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull; - VULKAN_HPP_NAMESPACE::ComponentMapping components = {}; - VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; - VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; - VULKAN_HPP_NAMESPACE::Filter chromaFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; - VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction = {}; - }; - static_assert( sizeof( SamplerYcbcrConversionCreateInfo ) == sizeof( VkSamplerYcbcrConversionCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerYcbcrConversionCreateInfo; - }; - using SamplerYcbcrConversionCreateInfoKHR = SamplerYcbcrConversionCreateInfo; - - class SamplerYcbcrConversion - { - public: - using CType = VkSamplerYcbcrConversion; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eSamplerYcbcrConversion; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSamplerYcbcrConversion; - - public: - VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion() = default; - VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - SamplerYcbcrConversion( VkSamplerYcbcrConversion samplerYcbcrConversion ) VULKAN_HPP_NOEXCEPT - : m_samplerYcbcrConversion( samplerYcbcrConversion ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - SamplerYcbcrConversion & operator=( VkSamplerYcbcrConversion samplerYcbcrConversion ) VULKAN_HPP_NOEXCEPT - { - m_samplerYcbcrConversion = samplerYcbcrConversion; - return *this; - } -#endif - - SamplerYcbcrConversion & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_samplerYcbcrConversion = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerYcbcrConversion const & ) const = default; -#else - bool operator==( SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion == rhs.m_samplerYcbcrConversion; - } - - bool operator!=( SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion != rhs.m_samplerYcbcrConversion; - } - - bool operator<( SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion < rhs.m_samplerYcbcrConversion; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSamplerYcbcrConversion() const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_samplerYcbcrConversion == VK_NULL_HANDLE; - } - - private: - VkSamplerYcbcrConversion m_samplerYcbcrConversion = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ) == sizeof( VkSamplerYcbcrConversion ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - using SamplerYcbcrConversionKHR = SamplerYcbcrConversion; - - struct SemaphoreCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SemaphoreCreateInfo( VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreCreateInfo( SemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreCreateInfo( VkSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreCreateInfo & - operator=( SemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreCreateInfo & operator=( VkSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkSemaphoreCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreCreateInfo const & ) const = default; -#else - bool operator==( SemaphoreCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( SemaphoreCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags = {}; - }; - static_assert( sizeof( SemaphoreCreateInfo ) == sizeof( VkSemaphoreCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreCreateInfo; - }; - - struct ShaderModuleCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eShaderModuleCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ShaderModuleCreateInfo( VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_ = {}, - size_t codeSize_ = {}, - const uint32_t * pCode_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , codeSize( codeSize_ ) - , pCode( pCode_ ) - {} - - VULKAN_HPP_CONSTEXPR ShaderModuleCreateInfo( ShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderModuleCreateInfo( VkShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ShaderModuleCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ShaderModuleCreateInfo( VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & code_ ) - : flags( flags_ ), codeSize( code_.size() * 4 ), pCode( code_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ShaderModuleCreateInfo & - operator=( ShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderModuleCreateInfo & operator=( VkShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ShaderModuleCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ShaderModuleCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ShaderModuleCreateInfo & setCodeSize( size_t codeSize_ ) VULKAN_HPP_NOEXCEPT - { - codeSize = codeSize_; - return *this; - } - - ShaderModuleCreateInfo & setPCode( const uint32_t * pCode_ ) VULKAN_HPP_NOEXCEPT - { - pCode = pCode_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ShaderModuleCreateInfo & - setCode( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & code_ ) VULKAN_HPP_NOEXCEPT - { - codeSize = code_.size() * 4; - pCode = code_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkShaderModuleCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkShaderModuleCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShaderModuleCreateInfo const & ) const = default; -#else - bool operator==( ShaderModuleCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( codeSize == rhs.codeSize ) && ( pCode == rhs.pCode ); - } - - bool operator!=( ShaderModuleCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eShaderModuleCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags = {}; - size_t codeSize = {}; - const uint32_t * pCode = {}; - }; - static_assert( sizeof( ShaderModuleCreateInfo ) == sizeof( VkShaderModuleCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ShaderModuleCreateInfo; - }; - - class SurfaceKHR - { - public: - using CType = VkSurfaceKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eSurfaceKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSurfaceKHR; - - public: - VULKAN_HPP_CONSTEXPR SurfaceKHR() = default; - VULKAN_HPP_CONSTEXPR SurfaceKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT SurfaceKHR( VkSurfaceKHR surfaceKHR ) VULKAN_HPP_NOEXCEPT : m_surfaceKHR( surfaceKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - SurfaceKHR & operator=( VkSurfaceKHR surfaceKHR ) VULKAN_HPP_NOEXCEPT - { - m_surfaceKHR = surfaceKHR; - return *this; - } -#endif - - SurfaceKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_surfaceKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceKHR const & ) const = default; -#else - bool operator==( SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR == rhs.m_surfaceKHR; - } - - bool operator!=( SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR != rhs.m_surfaceKHR; - } - - bool operator<( SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR < rhs.m_surfaceKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSurfaceKHR() const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_surfaceKHR == VK_NULL_HANDLE; - } - - private: - VkSurfaceKHR m_surfaceKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::SurfaceKHR ) == sizeof( VkSurfaceKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::SurfaceKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct SwapchainCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR( - VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ = {}, - uint32_t minImageCount_ = {}, - VULKAN_HPP_NAMESPACE::Format imageFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_ = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear, - VULKAN_HPP_NAMESPACE::Extent2D imageExtent_ = {}, - uint32_t imageArrayLayers_ = {}, - VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_ = {}, - VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, - uint32_t queueFamilyIndexCount_ = {}, - const uint32_t * pQueueFamilyIndices_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ = - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque, - VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate, - VULKAN_HPP_NAMESPACE::Bool32 clipped_ = {}, - VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , surface( surface_ ) - , minImageCount( minImageCount_ ) - , imageFormat( imageFormat_ ) - , imageColorSpace( imageColorSpace_ ) - , imageExtent( imageExtent_ ) - , imageArrayLayers( imageArrayLayers_ ) - , imageUsage( imageUsage_ ) - , imageSharingMode( imageSharingMode_ ) - , queueFamilyIndexCount( queueFamilyIndexCount_ ) - , pQueueFamilyIndices( pQueueFamilyIndices_ ) - , preTransform( preTransform_ ) - , compositeAlpha( compositeAlpha_ ) - , presentMode( presentMode_ ) - , clipped( clipped_ ) - , oldSwapchain( oldSwapchain_ ) - {} - - VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR( SwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SwapchainCreateInfoKHR( VkSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SwapchainCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SwapchainCreateInfoKHR( - VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface_, - uint32_t minImageCount_, - VULKAN_HPP_NAMESPACE::Format imageFormat_, - VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_, - VULKAN_HPP_NAMESPACE::Extent2D imageExtent_, - uint32_t imageArrayLayers_, - VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_, - VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ = - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque, - VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate, - VULKAN_HPP_NAMESPACE::Bool32 clipped_ = {}, - VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ = {} ) - : flags( flags_ ) - , surface( surface_ ) - , minImageCount( minImageCount_ ) - , imageFormat( imageFormat_ ) - , imageColorSpace( imageColorSpace_ ) - , imageExtent( imageExtent_ ) - , imageArrayLayers( imageArrayLayers_ ) - , imageUsage( imageUsage_ ) - , imageSharingMode( imageSharingMode_ ) - , queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ) - , pQueueFamilyIndices( queueFamilyIndices_.data() ) - , preTransform( preTransform_ ) - , compositeAlpha( compositeAlpha_ ) - , presentMode( presentMode_ ) - , clipped( clipped_ ) - , oldSwapchain( oldSwapchain_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR & - operator=( SwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SwapchainCreateInfoKHR & operator=( VkSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SwapchainCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SwapchainCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SwapchainCreateInfoKHR & setSurface( VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ ) VULKAN_HPP_NOEXCEPT - { - surface = surface_; - return *this; - } - - SwapchainCreateInfoKHR & setMinImageCount( uint32_t minImageCount_ ) VULKAN_HPP_NOEXCEPT - { - minImageCount = minImageCount_; - return *this; - } - - SwapchainCreateInfoKHR & setImageFormat( VULKAN_HPP_NAMESPACE::Format imageFormat_ ) VULKAN_HPP_NOEXCEPT - { - imageFormat = imageFormat_; - return *this; - } - - SwapchainCreateInfoKHR & - setImageColorSpace( VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_ ) VULKAN_HPP_NOEXCEPT - { - imageColorSpace = imageColorSpace_; - return *this; - } - - SwapchainCreateInfoKHR & setImageExtent( VULKAN_HPP_NAMESPACE::Extent2D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT - { - imageExtent = imageExtent_; - return *this; - } - - SwapchainCreateInfoKHR & setImageArrayLayers( uint32_t imageArrayLayers_ ) VULKAN_HPP_NOEXCEPT - { - imageArrayLayers = imageArrayLayers_; - return *this; - } - - SwapchainCreateInfoKHR & setImageUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_ ) VULKAN_HPP_NOEXCEPT - { - imageUsage = imageUsage_; - return *this; - } - - SwapchainCreateInfoKHR & - setImageSharingMode( VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_ ) VULKAN_HPP_NOEXCEPT - { - imageSharingMode = imageSharingMode_; - return *this; - } - - SwapchainCreateInfoKHR & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = queueFamilyIndexCount_; - return *this; - } - - SwapchainCreateInfoKHR & setPQueueFamilyIndices( const uint32_t * pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - pQueueFamilyIndices = pQueueFamilyIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SwapchainCreateInfoKHR & setQueueFamilyIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); - pQueueFamilyIndices = queueFamilyIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SwapchainCreateInfoKHR & - setPreTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ ) VULKAN_HPP_NOEXCEPT - { - preTransform = preTransform_; - return *this; - } - - SwapchainCreateInfoKHR & - setCompositeAlpha( VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ ) VULKAN_HPP_NOEXCEPT - { - compositeAlpha = compositeAlpha_; - return *this; - } - - SwapchainCreateInfoKHR & setPresentMode( VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ ) VULKAN_HPP_NOEXCEPT - { - presentMode = presentMode_; - return *this; - } - - SwapchainCreateInfoKHR & setClipped( VULKAN_HPP_NAMESPACE::Bool32 clipped_ ) VULKAN_HPP_NOEXCEPT - { - clipped = clipped_; - return *this; - } - - SwapchainCreateInfoKHR & setOldSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ ) VULKAN_HPP_NOEXCEPT - { - oldSwapchain = oldSwapchain_; - return *this; - } - - operator VkSwapchainCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SwapchainCreateInfoKHR const & ) const = default; -#else - bool operator==( SwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( surface == rhs.surface ) && - ( minImageCount == rhs.minImageCount ) && ( imageFormat == rhs.imageFormat ) && - ( imageColorSpace == rhs.imageColorSpace ) && ( imageExtent == rhs.imageExtent ) && - ( imageArrayLayers == rhs.imageArrayLayers ) && ( imageUsage == rhs.imageUsage ) && - ( imageSharingMode == rhs.imageSharingMode ) && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) && - ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ) && ( preTransform == rhs.preTransform ) && - ( compositeAlpha == rhs.compositeAlpha ) && ( presentMode == rhs.presentMode ) && - ( clipped == rhs.clipped ) && ( oldSwapchain == rhs.oldSwapchain ); - } - - bool operator!=( SwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::SurfaceKHR surface = {}; - uint32_t minImageCount = {}; - VULKAN_HPP_NAMESPACE::Format imageFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear; - VULKAN_HPP_NAMESPACE::Extent2D imageExtent = {}; - uint32_t imageArrayLayers = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage = {}; - VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; - uint32_t queueFamilyIndexCount = {}; - const uint32_t * pQueueFamilyIndices = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha = - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque; - VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate; - VULKAN_HPP_NAMESPACE::Bool32 clipped = {}; - VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain = {}; - }; - static_assert( sizeof( SwapchainCreateInfoKHR ) == sizeof( VkSwapchainCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SwapchainCreateInfoKHR; - }; - - struct ValidationCacheCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationCacheCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ValidationCacheCreateInfoEXT( VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_ = {}, - size_t initialDataSize_ = {}, - const void * pInitialData_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , initialDataSize( initialDataSize_ ) - , pInitialData( pInitialData_ ) - {} - - VULKAN_HPP_CONSTEXPR - ValidationCacheCreateInfoEXT( ValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationCacheCreateInfoEXT( VkValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ValidationCacheCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - ValidationCacheCreateInfoEXT( VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) - : flags( flags_ ), initialDataSize( initialData_.size() * sizeof( T ) ), pInitialData( initialData_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ValidationCacheCreateInfoEXT & - operator=( ValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationCacheCreateInfoEXT & operator=( VkValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ValidationCacheCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ValidationCacheCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ValidationCacheCreateInfoEXT & setInitialDataSize( size_t initialDataSize_ ) VULKAN_HPP_NOEXCEPT - { - initialDataSize = initialDataSize_; - return *this; - } - - ValidationCacheCreateInfoEXT & setPInitialData( const void * pInitialData_ ) VULKAN_HPP_NOEXCEPT - { - pInitialData = pInitialData_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - ValidationCacheCreateInfoEXT & - setInitialData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) VULKAN_HPP_NOEXCEPT - { - initialDataSize = initialData_.size() * sizeof( T ); - pInitialData = initialData_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkValidationCacheCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkValidationCacheCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ValidationCacheCreateInfoEXT const & ) const = default; -#else - bool operator==( ValidationCacheCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( initialDataSize == rhs.initialDataSize ) && ( pInitialData == rhs.pInitialData ); - } - - bool operator!=( ValidationCacheCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationCacheCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags = {}; - size_t initialDataSize = {}; - const void * pInitialData = {}; - }; - static_assert( sizeof( ValidationCacheCreateInfoEXT ) == sizeof( VkValidationCacheCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ValidationCacheCreateInfoEXT; - }; - - class ValidationCacheEXT - { - public: - using CType = VkValidationCacheEXT; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eValidationCacheEXT; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eValidationCacheEXT; - - public: - VULKAN_HPP_CONSTEXPR ValidationCacheEXT() = default; - VULKAN_HPP_CONSTEXPR ValidationCacheEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT ValidationCacheEXT( VkValidationCacheEXT validationCacheEXT ) VULKAN_HPP_NOEXCEPT - : m_validationCacheEXT( validationCacheEXT ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - ValidationCacheEXT & operator=( VkValidationCacheEXT validationCacheEXT ) VULKAN_HPP_NOEXCEPT - { - m_validationCacheEXT = validationCacheEXT; - return *this; - } -#endif - - ValidationCacheEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_validationCacheEXT = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ValidationCacheEXT const & ) const = default; -#else - bool operator==( ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT == rhs.m_validationCacheEXT; - } - - bool operator!=( ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT != rhs.m_validationCacheEXT; - } - - bool operator<( ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT < rhs.m_validationCacheEXT; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkValidationCacheEXT() const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_validationCacheEXT == VK_NULL_HANDLE; - } - - private: - VkValidationCacheEXT m_validationCacheEXT = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::ValidationCacheEXT ) == sizeof( VkValidationCacheEXT ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoProfileKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoProfileKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoProfileKHR( VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagBitsKHR videoCodecOperation_ = - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagBitsKHR::eInvalid, - VULKAN_HPP_NAMESPACE::VideoChromaSubsamplingFlagsKHR chromaSubsampling_ = {}, - VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR lumaBitDepth_ = {}, - VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR chromaBitDepth_ = {} ) VULKAN_HPP_NOEXCEPT - : videoCodecOperation( videoCodecOperation_ ) - , chromaSubsampling( chromaSubsampling_ ) - , lumaBitDepth( lumaBitDepth_ ) - , chromaBitDepth( chromaBitDepth_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoProfileKHR( VideoProfileKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoProfileKHR( VkVideoProfileKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoProfileKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoProfileKHR & operator=( VideoProfileKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoProfileKHR & operator=( VkVideoProfileKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoProfileKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoProfileKHR & setVideoCodecOperation( - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagBitsKHR videoCodecOperation_ ) VULKAN_HPP_NOEXCEPT - { - videoCodecOperation = videoCodecOperation_; - return *this; - } - - VideoProfileKHR & setChromaSubsampling( VULKAN_HPP_NAMESPACE::VideoChromaSubsamplingFlagsKHR chromaSubsampling_ ) - VULKAN_HPP_NOEXCEPT - { - chromaSubsampling = chromaSubsampling_; - return *this; - } - - VideoProfileKHR & - setLumaBitDepth( VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR lumaBitDepth_ ) VULKAN_HPP_NOEXCEPT - { - lumaBitDepth = lumaBitDepth_; - return *this; - } - - VideoProfileKHR & - setChromaBitDepth( VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR chromaBitDepth_ ) VULKAN_HPP_NOEXCEPT - { - chromaBitDepth = chromaBitDepth_; - return *this; - } - - operator VkVideoProfileKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoProfileKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoProfileKHR const & ) const = default; -# else - bool operator==( VideoProfileKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( videoCodecOperation == rhs.videoCodecOperation ) && - ( chromaSubsampling == rhs.chromaSubsampling ) && ( lumaBitDepth == rhs.lumaBitDepth ) && - ( chromaBitDepth == rhs.chromaBitDepth ); - } - - bool operator!=( VideoProfileKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoProfileKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagBitsKHR videoCodecOperation = - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagBitsKHR::eInvalid; - VULKAN_HPP_NAMESPACE::VideoChromaSubsamplingFlagsKHR chromaSubsampling = {}; - VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR lumaBitDepth = {}; - VULKAN_HPP_NAMESPACE::VideoComponentBitDepthFlagsKHR chromaBitDepth = {}; - }; - static_assert( sizeof( VideoProfileKHR ) == sizeof( VkVideoProfileKHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoProfileKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoSessionCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoSessionCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoSessionCreateInfoKHR( - uint32_t queueFamilyIndex_ = {}, - VULKAN_HPP_NAMESPACE::VideoSessionCreateFlagsKHR flags_ = {}, - const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pVideoProfile_ = {}, - VULKAN_HPP_NAMESPACE::Format pictureFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::Extent2D maxCodedExtent_ = {}, - VULKAN_HPP_NAMESPACE::Format referencePicturesFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - uint32_t maxReferencePicturesSlotsCount_ = {}, - uint32_t maxReferencePicturesActiveCount_ = {} ) VULKAN_HPP_NOEXCEPT - : queueFamilyIndex( queueFamilyIndex_ ) - , flags( flags_ ) - , pVideoProfile( pVideoProfile_ ) - , pictureFormat( pictureFormat_ ) - , maxCodedExtent( maxCodedExtent_ ) - , referencePicturesFormat( referencePicturesFormat_ ) - , maxReferencePicturesSlotsCount( maxReferencePicturesSlotsCount_ ) - , maxReferencePicturesActiveCount( maxReferencePicturesActiveCount_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoSessionCreateInfoKHR( VideoSessionCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoSessionCreateInfoKHR( VkVideoSessionCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoSessionCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoSessionCreateInfoKHR & - operator=( VideoSessionCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoSessionCreateInfoKHR & operator=( VkVideoSessionCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoSessionCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoSessionCreateInfoKHR & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndex = queueFamilyIndex_; - return *this; - } - - VideoSessionCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::VideoSessionCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoSessionCreateInfoKHR & - setPVideoProfile( const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pVideoProfile_ ) VULKAN_HPP_NOEXCEPT - { - pVideoProfile = pVideoProfile_; - return *this; - } - - VideoSessionCreateInfoKHR & setPictureFormat( VULKAN_HPP_NAMESPACE::Format pictureFormat_ ) VULKAN_HPP_NOEXCEPT - { - pictureFormat = pictureFormat_; - return *this; - } - - VideoSessionCreateInfoKHR & - setMaxCodedExtent( VULKAN_HPP_NAMESPACE::Extent2D const & maxCodedExtent_ ) VULKAN_HPP_NOEXCEPT - { - maxCodedExtent = maxCodedExtent_; - return *this; - } - - VideoSessionCreateInfoKHR & - setReferencePicturesFormat( VULKAN_HPP_NAMESPACE::Format referencePicturesFormat_ ) VULKAN_HPP_NOEXCEPT - { - referencePicturesFormat = referencePicturesFormat_; - return *this; - } - - VideoSessionCreateInfoKHR & - setMaxReferencePicturesSlotsCount( uint32_t maxReferencePicturesSlotsCount_ ) VULKAN_HPP_NOEXCEPT - { - maxReferencePicturesSlotsCount = maxReferencePicturesSlotsCount_; - return *this; - } - - VideoSessionCreateInfoKHR & - setMaxReferencePicturesActiveCount( uint32_t maxReferencePicturesActiveCount_ ) VULKAN_HPP_NOEXCEPT - { - maxReferencePicturesActiveCount = maxReferencePicturesActiveCount_; - return *this; - } - - operator VkVideoSessionCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoSessionCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoSessionCreateInfoKHR const & ) const = default; -# else - bool operator==( VideoSessionCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( queueFamilyIndex == rhs.queueFamilyIndex ) && - ( flags == rhs.flags ) && ( pVideoProfile == rhs.pVideoProfile ) && - ( pictureFormat == rhs.pictureFormat ) && ( maxCodedExtent == rhs.maxCodedExtent ) && - ( referencePicturesFormat == rhs.referencePicturesFormat ) && - ( maxReferencePicturesSlotsCount == rhs.maxReferencePicturesSlotsCount ) && - ( maxReferencePicturesActiveCount == rhs.maxReferencePicturesActiveCount ); - } - - bool operator!=( VideoSessionCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoSessionCreateInfoKHR; - const void * pNext = {}; - uint32_t queueFamilyIndex = {}; - VULKAN_HPP_NAMESPACE::VideoSessionCreateFlagsKHR flags = {}; - const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pVideoProfile = {}; - VULKAN_HPP_NAMESPACE::Format pictureFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::Extent2D maxCodedExtent = {}; - VULKAN_HPP_NAMESPACE::Format referencePicturesFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; - uint32_t maxReferencePicturesSlotsCount = {}; - uint32_t maxReferencePicturesActiveCount = {}; - }; - static_assert( sizeof( VideoSessionCreateInfoKHR ) == sizeof( VkVideoSessionCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoSessionCreateInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoSessionParametersCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoSessionParametersCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoSessionParametersCreateInfoKHR( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParametersTemplate_ = {}, - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession_ = {} ) VULKAN_HPP_NOEXCEPT - : videoSessionParametersTemplate( videoSessionParametersTemplate_ ) - , videoSession( videoSession_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoSessionParametersCreateInfoKHR( VideoSessionParametersCreateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoSessionParametersCreateInfoKHR( VkVideoSessionParametersCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoSessionParametersCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoSessionParametersCreateInfoKHR & - operator=( VideoSessionParametersCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoSessionParametersCreateInfoKHR & - operator=( VkVideoSessionParametersCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoSessionParametersCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoSessionParametersCreateInfoKHR & setVideoSessionParametersTemplate( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParametersTemplate_ ) VULKAN_HPP_NOEXCEPT - { - videoSessionParametersTemplate = videoSessionParametersTemplate_; - return *this; - } - - VideoSessionParametersCreateInfoKHR & - setVideoSession( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession_ ) VULKAN_HPP_NOEXCEPT - { - videoSession = videoSession_; - return *this; - } - - operator VkVideoSessionParametersCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoSessionParametersCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoSessionParametersCreateInfoKHR const & ) const = default; -# else - bool operator==( VideoSessionParametersCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( videoSessionParametersTemplate == rhs.videoSessionParametersTemplate ) && - ( videoSession == rhs.videoSession ); - } - - bool operator!=( VideoSessionParametersCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoSessionParametersCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParametersTemplate = {}; - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession = {}; - }; - static_assert( sizeof( VideoSessionParametersCreateInfoKHR ) == sizeof( VkVideoSessionParametersCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoSessionParametersCreateInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct DisplayPowerInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPowerInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPowerInfoEXT( VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState_ = - VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT::eOff ) VULKAN_HPP_NOEXCEPT - : powerState( powerState_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayPowerInfoEXT( DisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPowerInfoEXT( VkDisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPowerInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPowerInfoEXT & - operator=( DisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPowerInfoEXT & operator=( VkDisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayPowerInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplayPowerInfoEXT & setPowerState( VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState_ ) VULKAN_HPP_NOEXCEPT - { - powerState = powerState_; - return *this; - } - - operator VkDisplayPowerInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPowerInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPowerInfoEXT const & ) const = default; -#else - bool operator==( DisplayPowerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( powerState == rhs.powerState ); - } - - bool operator!=( DisplayPowerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPowerInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState = VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT::eOff; - }; - static_assert( sizeof( DisplayPowerInfoEXT ) == sizeof( VkDisplayPowerInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayPowerInfoEXT; - }; - - struct MappedMemoryRange - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMappedMemoryRange; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MappedMemoryRange( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - , offset( offset_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR MappedMemoryRange( MappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MappedMemoryRange( VkMappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT - : MappedMemoryRange( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MappedMemoryRange & - operator=( MappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MappedMemoryRange & operator=( VkMappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MappedMemoryRange & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MappedMemoryRange & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - MappedMemoryRange & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - MappedMemoryRange & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT - { - size = size_; - return *this; - } - - operator VkMappedMemoryRange const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMappedMemoryRange &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MappedMemoryRange const & ) const = default; -#else - bool operator==( MappedMemoryRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ) && ( offset == rhs.offset ) && - ( size == rhs.size ); - } - - bool operator!=( MappedMemoryRange const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMappedMemoryRange; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( MappedMemoryRange ) == sizeof( VkMappedMemoryRange ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MappedMemoryRange; - }; - - struct MemoryRequirements - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryRequirements( VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize alignment_ = {}, - uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : size( size_ ) - , alignment( alignment_ ) - , memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryRequirements( MemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryRequirements( VkMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryRequirements( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryRequirements & - operator=( MemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryRequirements & operator=( VkMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryRequirements const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryRequirements &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryRequirements const & ) const = default; -#else - bool operator==( MemoryRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( size == rhs.size ) && ( alignment == rhs.alignment ) && ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( MemoryRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::DeviceSize alignment = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( MemoryRequirements ) == sizeof( VkMemoryRequirements ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct MemoryRequirements2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryRequirements2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryRequirements2( VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryRequirements( memoryRequirements_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryRequirements2( MemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryRequirements2( VkMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryRequirements2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryRequirements2 & - operator=( MemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryRequirements2 & operator=( VkMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryRequirements2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryRequirements2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryRequirements2 const & ) const = default; -#else - bool operator==( MemoryRequirements2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryRequirements == rhs.memoryRequirements ); - } - - bool operator!=( MemoryRequirements2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryRequirements2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements = {}; - }; - static_assert( sizeof( MemoryRequirements2 ) == sizeof( VkMemoryRequirements2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryRequirements2; - }; - using MemoryRequirements2KHR = MemoryRequirements2; - - struct DeviceGroupPresentCapabilitiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceGroupPresentCapabilitiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 DeviceGroupPresentCapabilitiesKHR( - std::array const & presentMask_ = {}, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ = {} ) VULKAN_HPP_NOEXCEPT - : presentMask( presentMask_ ) - , modes( modes_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - DeviceGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupPresentCapabilitiesKHR( VkDeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupPresentCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupPresentCapabilitiesKHR & - operator=( DeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupPresentCapabilitiesKHR & operator=( VkDeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDeviceGroupPresentCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupPresentCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupPresentCapabilitiesKHR const & ) const = default; -#else - bool operator==( DeviceGroupPresentCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( presentMask == rhs.presentMask ) && - ( modes == rhs.modes ); - } - - bool operator!=( DeviceGroupPresentCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupPresentCapabilitiesKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D presentMask = {}; - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes = {}; - }; - static_assert( sizeof( DeviceGroupPresentCapabilitiesKHR ) == sizeof( VkDeviceGroupPresentCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupPresentCapabilitiesKHR; - }; - - struct PhysicalDeviceSurfaceInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSurfaceInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceSurfaceInfo2KHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ = {} ) VULKAN_HPP_NOEXCEPT - : surface( surface_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceSurfaceInfo2KHR( PhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSurfaceInfo2KHR( VkPhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSurfaceInfo2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSurfaceInfo2KHR & - operator=( PhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSurfaceInfo2KHR & operator=( VkPhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSurfaceInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSurfaceInfo2KHR & setSurface( VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ ) VULKAN_HPP_NOEXCEPT - { - surface = surface_; - return *this; - } - - operator VkPhysicalDeviceSurfaceInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSurfaceInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSurfaceInfo2KHR const & ) const = default; -#else - bool operator==( PhysicalDeviceSurfaceInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( surface == rhs.surface ); - } - - bool operator!=( PhysicalDeviceSurfaceInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSurfaceInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceKHR surface = {}; - }; - static_assert( sizeof( PhysicalDeviceSurfaceInfo2KHR ) == sizeof( VkPhysicalDeviceSurfaceInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSurfaceInfo2KHR; - }; - - struct DeviceMemoryOpaqueCaptureAddressInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceMemoryOpaqueCaptureAddressInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceMemoryOpaqueCaptureAddressInfo( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {} ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceMemoryOpaqueCaptureAddressInfo( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryOpaqueCaptureAddressInfo( VkDeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceMemoryOpaqueCaptureAddressInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceMemoryOpaqueCaptureAddressInfo & - operator=( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryOpaqueCaptureAddressInfo & - operator=( VkDeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceMemoryOpaqueCaptureAddressInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceMemoryOpaqueCaptureAddressInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - operator VkDeviceMemoryOpaqueCaptureAddressInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceMemoryOpaqueCaptureAddressInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceMemoryOpaqueCaptureAddressInfo const & ) const = default; -#else - bool operator==( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ); - } - - bool operator!=( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryOpaqueCaptureAddressInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - }; - static_assert( sizeof( DeviceMemoryOpaqueCaptureAddressInfo ) == sizeof( VkDeviceMemoryOpaqueCaptureAddressInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceMemoryOpaqueCaptureAddressInfo; - }; - using DeviceMemoryOpaqueCaptureAddressInfoKHR = DeviceMemoryOpaqueCaptureAddressInfo; - - struct PresentInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PresentInfoKHR( uint32_t waitSemaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ = {}, - uint32_t swapchainCount_ = {}, - const VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains_ = {}, - const uint32_t * pImageIndices_ = {}, - VULKAN_HPP_NAMESPACE::Result * pResults_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreCount( waitSemaphoreCount_ ) - , pWaitSemaphores( pWaitSemaphores_ ) - , swapchainCount( swapchainCount_ ) - , pSwapchains( pSwapchains_ ) - , pImageIndices( pImageIndices_ ) - , pResults( pResults_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentInfoKHR( PresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentInfoKHR( VkPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentInfoKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & swapchains_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageIndices_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & results_ = {} ) - : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ) - , pWaitSemaphores( waitSemaphores_.data() ) - , swapchainCount( static_cast( swapchains_.size() ) ) - , pSwapchains( swapchains_.data() ) - , pImageIndices( imageIndices_.data() ) - , pResults( results_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( swapchains_.size() == imageIndices_.size() ); - VULKAN_HPP_ASSERT( results_.empty() || ( swapchains_.size() == results_.size() ) ); - VULKAN_HPP_ASSERT( results_.empty() || ( imageIndices_.size() == results_.size() ) ); -# else - if ( swapchains_.size() != imageIndices_.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::PresentInfoKHR::PresentInfoKHR: swapchains_.size() != imageIndices_.size()" ); - } - if ( !results_.empty() && ( swapchains_.size() != results_.size() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::PresentInfoKHR::PresentInfoKHR: !results_.empty() && ( swapchains_.size() != results_.size() )" ); - } - if ( !results_.empty() && ( imageIndices_.size() != results_.size() ) ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::PresentInfoKHR::PresentInfoKHR: !results_.empty() && ( imageIndices_.size() != results_.size() )" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentInfoKHR & operator=( PresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentInfoKHR & operator=( VkPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PresentInfoKHR & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = waitSemaphoreCount_; - return *this; - } - - PresentInfoKHR & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphores = pWaitSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentInfoKHR & setWaitSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) - VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = static_cast( waitSemaphores_.size() ); - pWaitSemaphores = waitSemaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PresentInfoKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = swapchainCount_; - return *this; - } - - PresentInfoKHR & setPSwapchains( const VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains_ ) VULKAN_HPP_NOEXCEPT - { - pSwapchains = pSwapchains_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentInfoKHR & setSwapchains( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & swapchains_ ) - VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( swapchains_.size() ); - pSwapchains = swapchains_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PresentInfoKHR & setPImageIndices( const uint32_t * pImageIndices_ ) VULKAN_HPP_NOEXCEPT - { - pImageIndices = pImageIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentInfoKHR & setImageIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageIndices_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( imageIndices_.size() ); - pImageIndices = imageIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - PresentInfoKHR & setPResults( VULKAN_HPP_NAMESPACE::Result * pResults_ ) VULKAN_HPP_NOEXCEPT - { - pResults = pResults_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentInfoKHR & setResults( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & results_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( results_.size() ); - pResults = results_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPresentInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentInfoKHR const & ) const = default; -#else - bool operator==( PresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) && - ( pWaitSemaphores == rhs.pWaitSemaphores ) && ( swapchainCount == rhs.swapchainCount ) && - ( pSwapchains == rhs.pSwapchains ) && ( pImageIndices == rhs.pImageIndices ) && - ( pResults == rhs.pResults ); - } - - bool operator!=( PresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentInfoKHR; - const void * pNext = {}; - uint32_t waitSemaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores = {}; - uint32_t swapchainCount = {}; - const VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains = {}; - const uint32_t * pImageIndices = {}; - VULKAN_HPP_NAMESPACE::Result * pResults = {}; - }; - static_assert( sizeof( PresentInfoKHR ) == sizeof( VkPresentInfoKHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PresentInfoKHR; - }; - - struct SubmitInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubmitInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SubmitInfo( uint32_t waitSemaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineStageFlags * pWaitDstStageMask_ = {}, - uint32_t commandBufferCount_ = {}, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers_ = {}, - uint32_t signalSemaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreCount( waitSemaphoreCount_ ) - , pWaitSemaphores( pWaitSemaphores_ ) - , pWaitDstStageMask( pWaitDstStageMask_ ) - , commandBufferCount( commandBufferCount_ ) - , pCommandBuffers( pCommandBuffers_ ) - , signalSemaphoreCount( signalSemaphoreCount_ ) - , pSignalSemaphores( pSignalSemaphores_ ) - {} - - VULKAN_HPP_CONSTEXPR SubmitInfo( SubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubmitInfo( VkSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SubmitInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - waitDstStageMask_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - commandBuffers_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - signalSemaphores_ = {} ) - : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ) - , pWaitSemaphores( waitSemaphores_.data() ) - , pWaitDstStageMask( waitDstStageMask_.data() ) - , commandBufferCount( static_cast( commandBuffers_.size() ) ) - , pCommandBuffers( commandBuffers_.data() ) - , signalSemaphoreCount( static_cast( signalSemaphores_.size() ) ) - , pSignalSemaphores( signalSemaphores_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( waitSemaphores_.size() == waitDstStageMask_.size() ); -# else - if ( waitSemaphores_.size() != waitDstStageMask_.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::SubmitInfo::SubmitInfo: waitSemaphores_.size() != waitDstStageMask_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubmitInfo & operator=( SubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubmitInfo & operator=( VkSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubmitInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubmitInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = waitSemaphoreCount_; - return *this; - } - - SubmitInfo & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphores = pWaitSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo & setWaitSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) - VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = static_cast( waitSemaphores_.size() ); - pWaitSemaphores = waitSemaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubmitInfo & - setPWaitDstStageMask( const VULKAN_HPP_NAMESPACE::PipelineStageFlags * pWaitDstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - pWaitDstStageMask = pWaitDstStageMask_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo & setWaitDstStageMask( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - waitDstStageMask_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = static_cast( waitDstStageMask_.size() ); - pWaitDstStageMask = waitDstStageMask_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubmitInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT - { - commandBufferCount = commandBufferCount_; - return *this; - } - - SubmitInfo & setPCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers_ ) VULKAN_HPP_NOEXCEPT - { - pCommandBuffers = pCommandBuffers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo & setCommandBuffers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBuffers_ ) - VULKAN_HPP_NOEXCEPT - { - commandBufferCount = static_cast( commandBuffers_.size() ); - pCommandBuffers = commandBuffers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubmitInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = signalSemaphoreCount_; - return *this; - } - - SubmitInfo & setPSignalSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphores = pSignalSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo & setSignalSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ ) - VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = static_cast( signalSemaphores_.size() ); - pSignalSemaphores = signalSemaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSubmitInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubmitInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubmitInfo const & ) const = default; -#else - bool operator==( SubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) && - ( pWaitSemaphores == rhs.pWaitSemaphores ) && ( pWaitDstStageMask == rhs.pWaitDstStageMask ) && - ( commandBufferCount == rhs.commandBufferCount ) && ( pCommandBuffers == rhs.pCommandBuffers ) && - ( signalSemaphoreCount == rhs.signalSemaphoreCount ) && ( pSignalSemaphores == rhs.pSignalSemaphores ); - } - - bool operator!=( SubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubmitInfo; - const void * pNext = {}; - uint32_t waitSemaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pWaitSemaphores = {}; - const VULKAN_HPP_NAMESPACE::PipelineStageFlags * pWaitDstStageMask = {}; - uint32_t commandBufferCount = {}; - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers = {}; - uint32_t signalSemaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pSignalSemaphores = {}; - }; - static_assert( sizeof( SubmitInfo ) == sizeof( VkSubmitInfo ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubmitInfo; - }; - - struct SemaphoreSubmitInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreSubmitInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreSubmitInfoKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - uint64_t value_ = {}, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stageMask_ = {}, - uint32_t deviceIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , value( value_ ) - , stageMask( stageMask_ ) - , deviceIndex( deviceIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreSubmitInfoKHR( SemaphoreSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreSubmitInfoKHR( VkSemaphoreSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreSubmitInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreSubmitInfoKHR & - operator=( SemaphoreSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreSubmitInfoKHR & operator=( VkSemaphoreSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreSubmitInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreSubmitInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - SemaphoreSubmitInfoKHR & setValue( uint64_t value_ ) VULKAN_HPP_NOEXCEPT - { - value = value_; - return *this; - } - - SemaphoreSubmitInfoKHR & setStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stageMask_ ) VULKAN_HPP_NOEXCEPT - { - stageMask = stageMask_; - return *this; - } - - SemaphoreSubmitInfoKHR & setDeviceIndex( uint32_t deviceIndex_ ) VULKAN_HPP_NOEXCEPT - { - deviceIndex = deviceIndex_; - return *this; - } - - operator VkSemaphoreSubmitInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreSubmitInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreSubmitInfoKHR const & ) const = default; -#else - bool operator==( SemaphoreSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( value == rhs.value ) && ( stageMask == rhs.stageMask ) && ( deviceIndex == rhs.deviceIndex ); - } - - bool operator!=( SemaphoreSubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreSubmitInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - uint64_t value = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stageMask = {}; - uint32_t deviceIndex = {}; - }; - static_assert( sizeof( SemaphoreSubmitInfoKHR ) == sizeof( VkSemaphoreSubmitInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreSubmitInfoKHR; - }; - - struct SubmitInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubmitInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubmitInfo2KHR( - VULKAN_HPP_NAMESPACE::SubmitFlagsKHR flags_ = {}, - uint32_t waitSemaphoreInfoCount_ = {}, - const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pWaitSemaphoreInfos_ = {}, - uint32_t commandBufferInfoCount_ = {}, - const VULKAN_HPP_NAMESPACE::CommandBufferSubmitInfoKHR * pCommandBufferInfos_ = {}, - uint32_t signalSemaphoreInfoCount_ = {}, - const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pSignalSemaphoreInfos_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , waitSemaphoreInfoCount( waitSemaphoreInfoCount_ ) - , pWaitSemaphoreInfos( pWaitSemaphoreInfos_ ) - , commandBufferInfoCount( commandBufferInfoCount_ ) - , pCommandBufferInfos( pCommandBufferInfos_ ) - , signalSemaphoreInfoCount( signalSemaphoreInfoCount_ ) - , pSignalSemaphoreInfos( pSignalSemaphoreInfos_ ) - {} - - VULKAN_HPP_CONSTEXPR SubmitInfo2KHR( SubmitInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubmitInfo2KHR( VkSubmitInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SubmitInfo2KHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo2KHR( - VULKAN_HPP_NAMESPACE::SubmitFlagsKHR flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - waitSemaphoreInfos_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - commandBufferInfos_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - signalSemaphoreInfos_ = {} ) - : flags( flags_ ) - , waitSemaphoreInfoCount( static_cast( waitSemaphoreInfos_.size() ) ) - , pWaitSemaphoreInfos( waitSemaphoreInfos_.data() ) - , commandBufferInfoCount( static_cast( commandBufferInfos_.size() ) ) - , pCommandBufferInfos( commandBufferInfos_.data() ) - , signalSemaphoreInfoCount( static_cast( signalSemaphoreInfos_.size() ) ) - , pSignalSemaphoreInfos( signalSemaphoreInfos_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubmitInfo2KHR & operator=( SubmitInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubmitInfo2KHR & operator=( VkSubmitInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubmitInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubmitInfo2KHR & setFlags( VULKAN_HPP_NAMESPACE::SubmitFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SubmitInfo2KHR & setWaitSemaphoreInfoCount( uint32_t waitSemaphoreInfoCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreInfoCount = waitSemaphoreInfoCount_; - return *this; - } - - SubmitInfo2KHR & setPWaitSemaphoreInfos( const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pWaitSemaphoreInfos_ ) - VULKAN_HPP_NOEXCEPT - { - pWaitSemaphoreInfos = pWaitSemaphoreInfos_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo2KHR & setWaitSemaphoreInfos( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - waitSemaphoreInfos_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreInfoCount = static_cast( waitSemaphoreInfos_.size() ); - pWaitSemaphoreInfos = waitSemaphoreInfos_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubmitInfo2KHR & setCommandBufferInfoCount( uint32_t commandBufferInfoCount_ ) VULKAN_HPP_NOEXCEPT - { - commandBufferInfoCount = commandBufferInfoCount_; - return *this; - } - - SubmitInfo2KHR & setPCommandBufferInfos( - const VULKAN_HPP_NAMESPACE::CommandBufferSubmitInfoKHR * pCommandBufferInfos_ ) VULKAN_HPP_NOEXCEPT - { - pCommandBufferInfos = pCommandBufferInfos_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo2KHR & setCommandBufferInfos( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - commandBufferInfos_ ) VULKAN_HPP_NOEXCEPT - { - commandBufferInfoCount = static_cast( commandBufferInfos_.size() ); - pCommandBufferInfos = commandBufferInfos_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SubmitInfo2KHR & setSignalSemaphoreInfoCount( uint32_t signalSemaphoreInfoCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreInfoCount = signalSemaphoreInfoCount_; - return *this; - } - - SubmitInfo2KHR & setPSignalSemaphoreInfos( - const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pSignalSemaphoreInfos_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphoreInfos = pSignalSemaphoreInfos_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SubmitInfo2KHR & setSignalSemaphoreInfos( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - signalSemaphoreInfos_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreInfoCount = static_cast( signalSemaphoreInfos_.size() ); - pSignalSemaphoreInfos = signalSemaphoreInfos_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSubmitInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubmitInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubmitInfo2KHR const & ) const = default; -#else - bool operator==( SubmitInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( waitSemaphoreInfoCount == rhs.waitSemaphoreInfoCount ) && - ( pWaitSemaphoreInfos == rhs.pWaitSemaphoreInfos ) && - ( commandBufferInfoCount == rhs.commandBufferInfoCount ) && - ( pCommandBufferInfos == rhs.pCommandBufferInfos ) && - ( signalSemaphoreInfoCount == rhs.signalSemaphoreInfoCount ) && - ( pSignalSemaphoreInfos == rhs.pSignalSemaphoreInfos ); - } - - bool operator!=( SubmitInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubmitInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SubmitFlagsKHR flags = {}; - uint32_t waitSemaphoreInfoCount = {}; - const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pWaitSemaphoreInfos = {}; - uint32_t commandBufferInfoCount = {}; - const VULKAN_HPP_NAMESPACE::CommandBufferSubmitInfoKHR * pCommandBufferInfos = {}; - uint32_t signalSemaphoreInfoCount = {}; - const VULKAN_HPP_NAMESPACE::SemaphoreSubmitInfoKHR * pSignalSemaphoreInfos = {}; - }; - static_assert( sizeof( SubmitInfo2KHR ) == sizeof( VkSubmitInfo2KHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubmitInfo2KHR; - }; - - class Queue - { - public: - using CType = VkQueue; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eQueue; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eQueue; - - public: - VULKAN_HPP_CONSTEXPR Queue() = default; - VULKAN_HPP_CONSTEXPR Queue( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Queue( VkQueue queue ) VULKAN_HPP_NOEXCEPT : m_queue( queue ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Queue & operator=( VkQueue queue ) VULKAN_HPP_NOEXCEPT - { - m_queue = queue; - return *this; - } -#endif - - Queue & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_queue = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Queue const & ) const = default; -#else - bool operator==( Queue const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queue == rhs.m_queue; - } - - bool operator!=( Queue const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queue != rhs.m_queue; - } - - bool operator<( Queue const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_queue < rhs.m_queue; - } -#endif - - template - void getCheckpointData2NV( uint32_t * pCheckpointDataCount, - VULKAN_HPP_NAMESPACE::CheckpointData2NV * pCheckpointData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getCheckpointData2NV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = CheckpointData2NVAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getCheckpointData2NV( CheckpointData2NVAllocator & checkpointData2NVAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getCheckpointDataNV( uint32_t * pCheckpointDataCount, - VULKAN_HPP_NAMESPACE::CheckpointDataNV * pCheckpointData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getCheckpointDataNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = CheckpointDataNVAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getCheckpointDataNV( CheckpointDataNVAllocator & checkpointDataNVAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - bindSparse( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindSparseInfo * pBindInfo, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindSparse( ArrayProxy const & bindInfo, - VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void - insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - presentKHR( const VULKAN_HPP_NAMESPACE::PresentInfoKHR * pPresentInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result presentKHR( const PresentInfoKHR & presentInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result setPerformanceConfigurationINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - submit( uint32_t submitCount, - const VULKAN_HPP_NAMESPACE::SubmitInfo * pSubmits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - submit( ArrayProxy const & submits, - VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - submit2KHR( uint32_t submitCount, - const VULKAN_HPP_NAMESPACE::SubmitInfo2KHR * pSubmits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - submit2KHR( ArrayProxy const & submits, - VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueue() const VULKAN_HPP_NOEXCEPT - { - return m_queue; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_queue != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_queue == VK_NULL_HANDLE; - } - - private: - VkQueue m_queue = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Queue ) == sizeof( VkQueue ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Queue; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Queue; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Queue; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct DeviceQueueInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceQueueInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceQueueInfo2( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ = {}, - uint32_t queueFamilyIndex_ = {}, - uint32_t queueIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , queueFamilyIndex( queueFamilyIndex_ ) - , queueIndex( queueIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceQueueInfo2( DeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueInfo2( VkDeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceQueueInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceQueueInfo2 & operator=( DeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueInfo2 & operator=( VkDeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceQueueInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceQueueInfo2 & setFlags( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DeviceQueueInfo2 & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndex = queueFamilyIndex_; - return *this; - } - - DeviceQueueInfo2 & setQueueIndex( uint32_t queueIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueIndex = queueIndex_; - return *this; - } - - operator VkDeviceQueueInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceQueueInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceQueueInfo2 const & ) const = default; -#else - bool operator==( DeviceQueueInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( queueFamilyIndex == rhs.queueFamilyIndex ) && ( queueIndex == rhs.queueIndex ); - } - - bool operator!=( DeviceQueueInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags = {}; - uint32_t queueFamilyIndex = {}; - uint32_t queueIndex = {}; - }; - static_assert( sizeof( DeviceQueueInfo2 ) == sizeof( VkDeviceQueueInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceQueueInfo2; - }; - - struct FenceGetFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceGetFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - FenceGetFdInfoKHR( VULKAN_HPP_NAMESPACE::Fence fence_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : fence( fence_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR FenceGetFdInfoKHR( FenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceGetFdInfoKHR( VkFenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : FenceGetFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FenceGetFdInfoKHR & - operator=( FenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceGetFdInfoKHR & operator=( VkFenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FenceGetFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FenceGetFdInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT - { - fence = fence_; - return *this; - } - - FenceGetFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkFenceGetFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFenceGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FenceGetFdInfoKHR const & ) const = default; -#else - bool operator==( FenceGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fence == rhs.fence ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( FenceGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceGetFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Fence fence = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( FenceGetFdInfoKHR ) == sizeof( VkFenceGetFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FenceGetFdInfoKHR; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct FenceGetWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceGetWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FenceGetWin32HandleInfoKHR( - VULKAN_HPP_NAMESPACE::Fence fence_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : fence( fence_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - FenceGetWin32HandleInfoKHR( FenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceGetWin32HandleInfoKHR( VkFenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : FenceGetWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FenceGetWin32HandleInfoKHR & - operator=( FenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FenceGetWin32HandleInfoKHR & operator=( VkFenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FenceGetWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FenceGetWin32HandleInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT - { - fence = fence_; - return *this; - } - - FenceGetWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkFenceGetWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFenceGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FenceGetWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( FenceGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fence == rhs.fence ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( FenceGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceGetWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Fence fence = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( FenceGetWin32HandleInfoKHR ) == sizeof( VkFenceGetWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FenceGetWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct GeneratedCommandsMemoryRequirementsInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eGeneratedCommandsMemoryRequirementsInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GeneratedCommandsMemoryRequirementsInfoNV( - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, - VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ = {}, - uint32_t maxSequencesCount_ = {} ) VULKAN_HPP_NOEXCEPT - : pipelineBindPoint( pipelineBindPoint_ ) - , pipeline( pipeline_ ) - , indirectCommandsLayout( indirectCommandsLayout_ ) - , maxSequencesCount( maxSequencesCount_ ) - {} - - VULKAN_HPP_CONSTEXPR GeneratedCommandsMemoryRequirementsInfoNV( - GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeneratedCommandsMemoryRequirementsInfoNV( VkGeneratedCommandsMemoryRequirementsInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : GeneratedCommandsMemoryRequirementsInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GeneratedCommandsMemoryRequirementsInfoNV & - operator=( GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GeneratedCommandsMemoryRequirementsInfoNV & - operator=( VkGeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GeneratedCommandsMemoryRequirementsInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GeneratedCommandsMemoryRequirementsInfoNV & - setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT - { - pipelineBindPoint = pipelineBindPoint_; - return *this; - } - - GeneratedCommandsMemoryRequirementsInfoNV & - setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT - { - pipeline = pipeline_; - return *this; - } - - GeneratedCommandsMemoryRequirementsInfoNV & setIndirectCommandsLayout( - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ ) VULKAN_HPP_NOEXCEPT - { - indirectCommandsLayout = indirectCommandsLayout_; - return *this; - } - - GeneratedCommandsMemoryRequirementsInfoNV & setMaxSequencesCount( uint32_t maxSequencesCount_ ) VULKAN_HPP_NOEXCEPT - { - maxSequencesCount = maxSequencesCount_; - return *this; - } - - operator VkGeneratedCommandsMemoryRequirementsInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGeneratedCommandsMemoryRequirementsInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GeneratedCommandsMemoryRequirementsInfoNV const & ) const = default; -#else - bool operator==( GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pipelineBindPoint == rhs.pipelineBindPoint ) && - ( pipeline == rhs.pipeline ) && ( indirectCommandsLayout == rhs.indirectCommandsLayout ) && - ( maxSequencesCount == rhs.maxSequencesCount ); - } - - bool operator!=( GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeneratedCommandsMemoryRequirementsInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; - VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout = {}; - uint32_t maxSequencesCount = {}; - }; - static_assert( sizeof( GeneratedCommandsMemoryRequirementsInfoNV ) == - sizeof( VkGeneratedCommandsMemoryRequirementsInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GeneratedCommandsMemoryRequirementsInfoNV; - }; - - struct ImageDrmFormatModifierPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImageDrmFormatModifierPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT( uint64_t drmFormatModifier_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifier( drmFormatModifier_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT( ImageDrmFormatModifierPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierPropertiesEXT( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageDrmFormatModifierPropertiesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageDrmFormatModifierPropertiesEXT & - operator=( ImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierPropertiesEXT & - operator=( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkImageDrmFormatModifierPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageDrmFormatModifierPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageDrmFormatModifierPropertiesEXT const & ) const = default; -#else - bool operator==( ImageDrmFormatModifierPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( drmFormatModifier == rhs.drmFormatModifier ); - } - - bool operator!=( ImageDrmFormatModifierPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierPropertiesEXT; - void * pNext = {}; - uint64_t drmFormatModifier = {}; - }; - static_assert( sizeof( ImageDrmFormatModifierPropertiesEXT ) == sizeof( VkImageDrmFormatModifierPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageDrmFormatModifierPropertiesEXT; - }; - - struct ImageMemoryRequirementsInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageMemoryRequirementsInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageMemoryRequirementsInfo2( VULKAN_HPP_NAMESPACE::Image image_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageMemoryRequirementsInfo2( ImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryRequirementsInfo2( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageMemoryRequirementsInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageMemoryRequirementsInfo2 & - operator=( ImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageMemoryRequirementsInfo2 & operator=( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageMemoryRequirementsInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - operator VkImageMemoryRequirementsInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageMemoryRequirementsInfo2 const & ) const = default; -#else - bool operator==( ImageMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( image == rhs.image ); - } - - bool operator!=( ImageMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryRequirementsInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - }; - static_assert( sizeof( ImageMemoryRequirementsInfo2 ) == sizeof( VkImageMemoryRequirementsInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageMemoryRequirementsInfo2; - }; - using ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2; - - struct SparseImageFormatProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseImageFormatProperties( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D imageGranularity_ = {}, - VULKAN_HPP_NAMESPACE::SparseImageFormatFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectMask( aspectMask_ ) - , imageGranularity( imageGranularity_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageFormatProperties( SparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageFormatProperties( VkSparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageFormatProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageFormatProperties & - operator=( SparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageFormatProperties & operator=( VkSparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSparseImageFormatProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageFormatProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageFormatProperties const & ) const = default; -#else - bool operator==( SparseImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( aspectMask == rhs.aspectMask ) && ( imageGranularity == rhs.imageGranularity ) && ( flags == rhs.flags ); - } - - bool operator!=( SparseImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - VULKAN_HPP_NAMESPACE::Extent3D imageGranularity = {}; - VULKAN_HPP_NAMESPACE::SparseImageFormatFlags flags = {}; - }; - static_assert( sizeof( SparseImageFormatProperties ) == sizeof( VkSparseImageFormatProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct SparseImageMemoryRequirements - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SparseImageMemoryRequirements( VULKAN_HPP_NAMESPACE::SparseImageFormatProperties formatProperties_ = {}, - uint32_t imageMipTailFirstLod_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailSize_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailOffset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailStride_ = {} ) VULKAN_HPP_NOEXCEPT - : formatProperties( formatProperties_ ) - , imageMipTailFirstLod( imageMipTailFirstLod_ ) - , imageMipTailSize( imageMipTailSize_ ) - , imageMipTailOffset( imageMipTailOffset_ ) - , imageMipTailStride( imageMipTailStride_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageMemoryRequirements( SparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryRequirements( VkSparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageMemoryRequirements( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageMemoryRequirements & - operator=( SparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryRequirements & operator=( VkSparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSparseImageMemoryRequirements const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageMemoryRequirements &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageMemoryRequirements const & ) const = default; -#else - bool operator==( SparseImageMemoryRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( formatProperties == rhs.formatProperties ) && ( imageMipTailFirstLod == rhs.imageMipTailFirstLod ) && - ( imageMipTailSize == rhs.imageMipTailSize ) && ( imageMipTailOffset == rhs.imageMipTailOffset ) && - ( imageMipTailStride == rhs.imageMipTailStride ); - } - - bool operator!=( SparseImageMemoryRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties formatProperties = {}; - uint32_t imageMipTailFirstLod = {}; - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailSize = {}; - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailOffset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailStride = {}; - }; - static_assert( sizeof( SparseImageMemoryRequirements ) == sizeof( VkSparseImageMemoryRequirements ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct ImageSparseMemoryRequirementsInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImageSparseMemoryRequirementsInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageSparseMemoryRequirementsInfo2( VULKAN_HPP_NAMESPACE::Image image_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageSparseMemoryRequirementsInfo2( ImageSparseMemoryRequirementsInfo2 const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImageSparseMemoryRequirementsInfo2( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageSparseMemoryRequirementsInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageSparseMemoryRequirementsInfo2 & - operator=( ImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSparseMemoryRequirementsInfo2 & - operator=( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageSparseMemoryRequirementsInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageSparseMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - operator VkImageSparseMemoryRequirementsInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageSparseMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageSparseMemoryRequirementsInfo2 const & ) const = default; -#else - bool operator==( ImageSparseMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( image == rhs.image ); - } - - bool operator!=( ImageSparseMemoryRequirementsInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSparseMemoryRequirementsInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - }; - static_assert( sizeof( ImageSparseMemoryRequirementsInfo2 ) == sizeof( VkImageSparseMemoryRequirementsInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageSparseMemoryRequirementsInfo2; - }; - using ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2; - - struct SparseImageMemoryRequirements2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSparseImageMemoryRequirements2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SparseImageMemoryRequirements2( - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements memoryRequirements_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryRequirements( memoryRequirements_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageMemoryRequirements2( SparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryRequirements2( VkSparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageMemoryRequirements2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageMemoryRequirements2 & - operator=( SparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageMemoryRequirements2 & operator=( VkSparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSparseImageMemoryRequirements2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageMemoryRequirements2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageMemoryRequirements2 const & ) const = default; -#else - bool operator==( SparseImageMemoryRequirements2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryRequirements == rhs.memoryRequirements ); - } - - bool operator!=( SparseImageMemoryRequirements2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSparseImageMemoryRequirements2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements memoryRequirements = {}; - }; - static_assert( sizeof( SparseImageMemoryRequirements2 ) == sizeof( VkSparseImageMemoryRequirements2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SparseImageMemoryRequirements2; - }; - using SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2; - - struct SubresourceLayout - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubresourceLayout( VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize rowPitch_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize depthPitch_ = {} ) VULKAN_HPP_NOEXCEPT - : offset( offset_ ) - , size( size_ ) - , rowPitch( rowPitch_ ) - , arrayPitch( arrayPitch_ ) - , depthPitch( depthPitch_ ) - {} - - VULKAN_HPP_CONSTEXPR SubresourceLayout( SubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubresourceLayout( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT - : SubresourceLayout( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubresourceLayout & - operator=( SubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubresourceLayout & operator=( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSubresourceLayout const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubresourceLayout &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubresourceLayout const & ) const = default; -#else - bool operator==( SubresourceLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( offset == rhs.offset ) && ( size == rhs.size ) && ( rowPitch == rhs.rowPitch ) && - ( arrayPitch == rhs.arrayPitch ) && ( depthPitch == rhs.depthPitch ); - } - - bool operator!=( SubresourceLayout const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::DeviceSize rowPitch = {}; - VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch = {}; - VULKAN_HPP_NAMESPACE::DeviceSize depthPitch = {}; - }; - static_assert( sizeof( SubresourceLayout ) == sizeof( VkSubresourceLayout ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ImageViewAddressPropertiesNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewAddressPropertiesNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageViewAddressPropertiesNVX( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceAddress( deviceAddress_ ) - , size( size_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageViewAddressPropertiesNVX( ImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewAddressPropertiesNVX( VkImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageViewAddressPropertiesNVX( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageViewAddressPropertiesNVX & - operator=( ImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewAddressPropertiesNVX & operator=( VkImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkImageViewAddressPropertiesNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageViewAddressPropertiesNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageViewAddressPropertiesNVX const & ) const = default; -#else - bool operator==( ImageViewAddressPropertiesNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceAddress == rhs.deviceAddress ) && - ( size == rhs.size ); - } - - bool operator!=( ImageViewAddressPropertiesNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewAddressPropertiesNVX; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - }; - static_assert( sizeof( ImageViewAddressPropertiesNVX ) == sizeof( VkImageViewAddressPropertiesNVX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageViewAddressPropertiesNVX; - }; - - struct ImageViewHandleInfoNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewHandleInfoNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX( - VULKAN_HPP_NAMESPACE::ImageView imageView_ = {}, - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, - VULKAN_HPP_NAMESPACE::Sampler sampler_ = {} ) VULKAN_HPP_NOEXCEPT - : imageView( imageView_ ) - , descriptorType( descriptorType_ ) - , sampler( sampler_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX( ImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewHandleInfoNVX( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageViewHandleInfoNVX( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageViewHandleInfoNVX & - operator=( ImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewHandleInfoNVX & operator=( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageViewHandleInfoNVX & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageViewHandleInfoNVX & setImageView( VULKAN_HPP_NAMESPACE::ImageView imageView_ ) VULKAN_HPP_NOEXCEPT - { - imageView = imageView_; - return *this; - } - - ImageViewHandleInfoNVX & - setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT - { - descriptorType = descriptorType_; - return *this; - } - - ImageViewHandleInfoNVX & setSampler( VULKAN_HPP_NAMESPACE::Sampler sampler_ ) VULKAN_HPP_NOEXCEPT - { - sampler = sampler_; - return *this; - } - - operator VkImageViewHandleInfoNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageViewHandleInfoNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageViewHandleInfoNVX const & ) const = default; -#else - bool operator==( ImageViewHandleInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageView == rhs.imageView ) && - ( descriptorType == rhs.descriptorType ) && ( sampler == rhs.sampler ); - } - - bool operator!=( ImageViewHandleInfoNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewHandleInfoNVX; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageView imageView = {}; - VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; - VULKAN_HPP_NAMESPACE::Sampler sampler = {}; - }; - static_assert( sizeof( ImageViewHandleInfoNVX ) == sizeof( VkImageViewHandleInfoNVX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageViewHandleInfoNVX; - }; - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct MemoryGetAndroidHardwareBufferInfoANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryGetAndroidHardwareBufferInfoANDROID( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {} ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryGetAndroidHardwareBufferInfoANDROID( - MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetAndroidHardwareBufferInfoANDROID( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) - VULKAN_HPP_NOEXCEPT - : MemoryGetAndroidHardwareBufferInfoANDROID( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryGetAndroidHardwareBufferInfoANDROID & - operator=( MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetAndroidHardwareBufferInfoANDROID & - operator=( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryGetAndroidHardwareBufferInfoANDROID & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryGetAndroidHardwareBufferInfoANDROID & - setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - operator VkMemoryGetAndroidHardwareBufferInfoANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryGetAndroidHardwareBufferInfoANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryGetAndroidHardwareBufferInfoANDROID const & ) const = default; -# else - bool operator==( MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ); - } - - bool operator!=( MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - }; - static_assert( sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) == - sizeof( VkMemoryGetAndroidHardwareBufferInfoANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryGetAndroidHardwareBufferInfoANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - struct MemoryGetFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryGetFdInfoKHR( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryGetFdInfoKHR( MemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetFdInfoKHR( VkMemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryGetFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryGetFdInfoKHR & - operator=( MemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetFdInfoKHR & operator=( VkMemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryGetFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryGetFdInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - MemoryGetFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkMemoryGetFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryGetFdInfoKHR const & ) const = default; -#else - bool operator==( MemoryGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( MemoryGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( MemoryGetFdInfoKHR ) == sizeof( VkMemoryGetFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryGetFdInfoKHR; - }; - - struct MemoryFdPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryFdPropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryFdPropertiesKHR( uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryFdPropertiesKHR( MemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryFdPropertiesKHR( VkMemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryFdPropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryFdPropertiesKHR & - operator=( MemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryFdPropertiesKHR & operator=( VkMemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryFdPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryFdPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryFdPropertiesKHR const & ) const = default; -#else - bool operator==( MemoryFdPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( MemoryFdPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryFdPropertiesKHR; - void * pNext = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( MemoryFdPropertiesKHR ) == sizeof( VkMemoryFdPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryFdPropertiesKHR; - }; - - struct MemoryHostPointerPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryHostPointerPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryHostPointerPropertiesEXT( uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryHostPointerPropertiesEXT( MemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryHostPointerPropertiesEXT( VkMemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryHostPointerPropertiesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryHostPointerPropertiesEXT & - operator=( MemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryHostPointerPropertiesEXT & operator=( VkMemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryHostPointerPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryHostPointerPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryHostPointerPropertiesEXT const & ) const = default; -#else - bool operator==( MemoryHostPointerPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( MemoryHostPointerPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryHostPointerPropertiesEXT; - void * pNext = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( MemoryHostPointerPropertiesEXT ) == sizeof( VkMemoryHostPointerPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryHostPointerPropertiesEXT; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct MemoryGetWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryGetWin32HandleInfoKHR( - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryGetWin32HandleInfoKHR( MemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetWin32HandleInfoKHR( VkMemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryGetWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryGetWin32HandleInfoKHR & - operator=( MemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetWin32HandleInfoKHR & operator=( VkMemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryGetWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryGetWin32HandleInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - MemoryGetWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkMemoryGetWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryGetWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( MemoryGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( MemoryGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( MemoryGetWin32HandleInfoKHR ) == sizeof( VkMemoryGetWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryGetWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct MemoryWin32HandlePropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryWin32HandlePropertiesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryWin32HandlePropertiesKHR( uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryWin32HandlePropertiesKHR( MemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryWin32HandlePropertiesKHR( VkMemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryWin32HandlePropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryWin32HandlePropertiesKHR & - operator=( MemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryWin32HandlePropertiesKHR & operator=( VkMemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryWin32HandlePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryWin32HandlePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryWin32HandlePropertiesKHR const & ) const = default; -# else - bool operator==( MemoryWin32HandlePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( MemoryWin32HandlePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryWin32HandlePropertiesKHR; - void * pNext = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( MemoryWin32HandlePropertiesKHR ) == sizeof( VkMemoryWin32HandlePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryWin32HandlePropertiesKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct MemoryGetZirconHandleInfoFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetZirconHandleInfoFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryGetZirconHandleInfoFUCHSIA( - VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : memory( memory_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryGetZirconHandleInfoFUCHSIA( MemoryGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetZirconHandleInfoFUCHSIA( VkMemoryGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryGetZirconHandleInfoFUCHSIA( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryGetZirconHandleInfoFUCHSIA & - operator=( MemoryGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryGetZirconHandleInfoFUCHSIA & operator=( VkMemoryGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryGetZirconHandleInfoFUCHSIA & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryGetZirconHandleInfoFUCHSIA & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT - { - memory = memory_; - return *this; - } - - MemoryGetZirconHandleInfoFUCHSIA & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkMemoryGetZirconHandleInfoFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryGetZirconHandleInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryGetZirconHandleInfoFUCHSIA const & ) const = default; -# else - bool operator==( MemoryGetZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memory == rhs.memory ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( MemoryGetZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetZirconHandleInfoFUCHSIA; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( MemoryGetZirconHandleInfoFUCHSIA ) == sizeof( VkMemoryGetZirconHandleInfoFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryGetZirconHandleInfoFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct MemoryZirconHandlePropertiesFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eMemoryZirconHandlePropertiesFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryZirconHandlePropertiesFUCHSIA( uint32_t memoryTypeBits_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryTypeBits( memoryTypeBits_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryZirconHandlePropertiesFUCHSIA( MemoryZirconHandlePropertiesFUCHSIA const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - MemoryZirconHandlePropertiesFUCHSIA( VkMemoryZirconHandlePropertiesFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryZirconHandlePropertiesFUCHSIA( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryZirconHandlePropertiesFUCHSIA & - operator=( MemoryZirconHandlePropertiesFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryZirconHandlePropertiesFUCHSIA & - operator=( VkMemoryZirconHandlePropertiesFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryZirconHandlePropertiesFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryZirconHandlePropertiesFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryZirconHandlePropertiesFUCHSIA const & ) const = default; -# else - bool operator==( MemoryZirconHandlePropertiesFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryTypeBits == rhs.memoryTypeBits ); - } - - bool operator!=( MemoryZirconHandlePropertiesFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryZirconHandlePropertiesFUCHSIA; - void * pNext = {}; - uint32_t memoryTypeBits = {}; - }; - static_assert( sizeof( MemoryZirconHandlePropertiesFUCHSIA ) == sizeof( VkMemoryZirconHandlePropertiesFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryZirconHandlePropertiesFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - struct PastPresentationTimingGOOGLE - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PastPresentationTimingGOOGLE( uint32_t presentID_ = {}, - uint64_t desiredPresentTime_ = {}, - uint64_t actualPresentTime_ = {}, - uint64_t earliestPresentTime_ = {}, - uint64_t presentMargin_ = {} ) VULKAN_HPP_NOEXCEPT - : presentID( presentID_ ) - , desiredPresentTime( desiredPresentTime_ ) - , actualPresentTime( actualPresentTime_ ) - , earliestPresentTime( earliestPresentTime_ ) - , presentMargin( presentMargin_ ) - {} - - VULKAN_HPP_CONSTEXPR - PastPresentationTimingGOOGLE( PastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PastPresentationTimingGOOGLE( VkPastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - : PastPresentationTimingGOOGLE( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PastPresentationTimingGOOGLE & - operator=( PastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PastPresentationTimingGOOGLE & operator=( VkPastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPastPresentationTimingGOOGLE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPastPresentationTimingGOOGLE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PastPresentationTimingGOOGLE const & ) const = default; -#else - bool operator==( PastPresentationTimingGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( presentID == rhs.presentID ) && ( desiredPresentTime == rhs.desiredPresentTime ) && - ( actualPresentTime == rhs.actualPresentTime ) && ( earliestPresentTime == rhs.earliestPresentTime ) && - ( presentMargin == rhs.presentMargin ); - } - - bool operator!=( PastPresentationTimingGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t presentID = {}; - uint64_t desiredPresentTime = {}; - uint64_t actualPresentTime = {}; - uint64_t earliestPresentTime = {}; - uint64_t presentMargin = {}; - }; - static_assert( sizeof( PastPresentationTimingGOOGLE ) == sizeof( VkPastPresentationTimingGOOGLE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - union PerformanceValueDataINTEL - { - PerformanceValueDataINTEL( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL ) ); - } - - PerformanceValueDataINTEL( uint32_t value32_ = {} ) : value32( value32_ ) {} - - PerformanceValueDataINTEL( uint64_t value64_ ) : value64( value64_ ) {} - - PerformanceValueDataINTEL( float valueFloat_ ) : valueFloat( valueFloat_ ) {} - - PerformanceValueDataINTEL( const char * valueString_ ) : valueString( valueString_ ) {} - - PerformanceValueDataINTEL & setValue32( uint32_t value32_ ) VULKAN_HPP_NOEXCEPT - { - value32 = value32_; - return *this; - } - - PerformanceValueDataINTEL & setValue64( uint64_t value64_ ) VULKAN_HPP_NOEXCEPT - { - value64 = value64_; - return *this; - } - - PerformanceValueDataINTEL & setValueFloat( float valueFloat_ ) VULKAN_HPP_NOEXCEPT - { - valueFloat = valueFloat_; - return *this; - } - - PerformanceValueDataINTEL & setValueBool( VULKAN_HPP_NAMESPACE::Bool32 valueBool_ ) VULKAN_HPP_NOEXCEPT - { - valueBool = valueBool_; - return *this; - } - - PerformanceValueDataINTEL & setValueString( const char * valueString_ ) VULKAN_HPP_NOEXCEPT - { - valueString = valueString_; - return *this; - } - - VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL & - operator=( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL ) ); - return *this; - } - - operator VkPerformanceValueDataINTEL const &() const - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceValueDataINTEL &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - uint32_t value32; - uint64_t value64; - float valueFloat; - VULKAN_HPP_NAMESPACE::Bool32 valueBool; - const char * valueString; -#else - uint32_t value32; - uint64_t value64; - float valueFloat; - VkBool32 valueBool; - const char * valueString; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct PerformanceValueINTEL - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - PerformanceValueINTEL( - VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type_ = VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL::eUint32, - VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL data_ = {} ) VULKAN_HPP_NOEXCEPT - : type( type_ ) - , data( data_ ) - {} - - PerformanceValueINTEL( PerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceValueINTEL( VkPerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceValueINTEL( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - PerformanceValueINTEL & operator=( PerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceValueINTEL & operator=( VkPerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceValueINTEL & setType( VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - PerformanceValueINTEL & setData( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const & data_ ) VULKAN_HPP_NOEXCEPT - { - data = data_; - return *this; - } - - operator VkPerformanceValueINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceValueINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type = VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL::eUint32; - VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL data = {}; - }; - static_assert( sizeof( PerformanceValueINTEL ) == sizeof( VkPerformanceValueINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PipelineExecutableInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutableInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineExecutableInfoKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, - uint32_t executableIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : pipeline( pipeline_ ) - , executableIndex( executableIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineExecutableInfoKHR( PipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableInfoKHR( VkPipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineExecutableInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineExecutableInfoKHR & - operator=( PipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableInfoKHR & operator=( VkPipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineExecutableInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineExecutableInfoKHR & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT - { - pipeline = pipeline_; - return *this; - } - - PipelineExecutableInfoKHR & setExecutableIndex( uint32_t executableIndex_ ) VULKAN_HPP_NOEXCEPT - { - executableIndex = executableIndex_; - return *this; - } - - operator VkPipelineExecutableInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineExecutableInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineExecutableInfoKHR const & ) const = default; -#else - bool operator==( PipelineExecutableInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pipeline == rhs.pipeline ) && - ( executableIndex == rhs.executableIndex ); - } - - bool operator!=( PipelineExecutableInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; - uint32_t executableIndex = {}; - }; - static_assert( sizeof( PipelineExecutableInfoKHR ) == sizeof( VkPipelineExecutableInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineExecutableInfoKHR; - }; - - struct PipelineExecutableInternalRepresentationKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineExecutableInternalRepresentationKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PipelineExecutableInternalRepresentationKHR( std::array const & name_ = {}, - std::array const & description_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 isText_ = {}, - size_t dataSize_ = {}, - void * pData_ = {} ) VULKAN_HPP_NOEXCEPT - : name( name_ ) - , description( description_ ) - , isText( isText_ ) - , dataSize( dataSize_ ) - , pData( pData_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PipelineExecutableInternalRepresentationKHR( - PipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableInternalRepresentationKHR( VkPipelineExecutableInternalRepresentationKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineExecutableInternalRepresentationKHR( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - PipelineExecutableInternalRepresentationKHR( std::array const & name_, - std::array const & description_, - VULKAN_HPP_NAMESPACE::Bool32 isText_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) - : name( name_ ) - , description( description_ ) - , isText( isText_ ) - , dataSize( data_.size() * sizeof( T ) ) - , pData( data_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineExecutableInternalRepresentationKHR & - operator=( PipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableInternalRepresentationKHR & - operator=( VkPipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPipelineExecutableInternalRepresentationKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineExecutableInternalRepresentationKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineExecutableInternalRepresentationKHR const & ) const = default; -#else - bool operator==( PipelineExecutableInternalRepresentationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( name == rhs.name ) && - ( description == rhs.description ) && ( isText == rhs.isText ) && ( dataSize == rhs.dataSize ) && - ( pData == rhs.pData ); - } - - bool operator!=( PipelineExecutableInternalRepresentationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableInternalRepresentationKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - VULKAN_HPP_NAMESPACE::Bool32 isText = {}; - size_t dataSize = {}; - void * pData = {}; - }; - static_assert( sizeof( PipelineExecutableInternalRepresentationKHR ) == - sizeof( VkPipelineExecutableInternalRepresentationKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineExecutableInternalRepresentationKHR; - }; - - struct PipelineInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineInfoKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {} ) VULKAN_HPP_NOEXCEPT - : pipeline( pipeline_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineInfoKHR( PipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineInfoKHR( VkPipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineInfoKHR & operator=( PipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineInfoKHR & operator=( VkPipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineInfoKHR & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT - { - pipeline = pipeline_; - return *this; - } - - operator VkPipelineInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineInfoKHR const & ) const = default; -#else - bool operator==( PipelineInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pipeline == rhs.pipeline ); - } - - bool operator!=( PipelineInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; - }; - static_assert( sizeof( PipelineInfoKHR ) == sizeof( VkPipelineInfoKHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineInfoKHR; - }; - - struct PipelineExecutablePropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutablePropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PipelineExecutablePropertiesKHR( VULKAN_HPP_NAMESPACE::ShaderStageFlags stages_ = {}, - std::array const & name_ = {}, - std::array const & description_ = {}, - uint32_t subgroupSize_ = {} ) VULKAN_HPP_NOEXCEPT - : stages( stages_ ) - , name( name_ ) - , description( description_ ) - , subgroupSize( subgroupSize_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PipelineExecutablePropertiesKHR( PipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutablePropertiesKHR( VkPipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineExecutablePropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineExecutablePropertiesKHR & - operator=( PipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutablePropertiesKHR & operator=( VkPipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPipelineExecutablePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineExecutablePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineExecutablePropertiesKHR const & ) const = default; -#else - bool operator==( PipelineExecutablePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stages == rhs.stages ) && ( name == rhs.name ) && - ( description == rhs.description ) && ( subgroupSize == rhs.subgroupSize ); - } - - bool operator!=( PipelineExecutablePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutablePropertiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags stages = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - uint32_t subgroupSize = {}; - }; - static_assert( sizeof( PipelineExecutablePropertiesKHR ) == sizeof( VkPipelineExecutablePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineExecutablePropertiesKHR; - }; - - union PipelineExecutableStatisticValueKHR - { - PipelineExecutableStatisticValueKHR( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR ) ); - } - - PipelineExecutableStatisticValueKHR( VULKAN_HPP_NAMESPACE::Bool32 b32_ = {} ) : b32( b32_ ) {} - - PipelineExecutableStatisticValueKHR( int64_t i64_ ) : i64( i64_ ) {} - - PipelineExecutableStatisticValueKHR( uint64_t u64_ ) : u64( u64_ ) {} - - PipelineExecutableStatisticValueKHR( double f64_ ) : f64( f64_ ) {} - - PipelineExecutableStatisticValueKHR & setB32( VULKAN_HPP_NAMESPACE::Bool32 b32_ ) VULKAN_HPP_NOEXCEPT - { - b32 = b32_; - return *this; - } - - PipelineExecutableStatisticValueKHR & setI64( int64_t i64_ ) VULKAN_HPP_NOEXCEPT - { - i64 = i64_; - return *this; - } - - PipelineExecutableStatisticValueKHR & setU64( uint64_t u64_ ) VULKAN_HPP_NOEXCEPT - { - u64 = u64_; - return *this; - } - - PipelineExecutableStatisticValueKHR & setF64( double f64_ ) VULKAN_HPP_NOEXCEPT - { - f64 = f64_; - return *this; - } - - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR & - operator=( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR ) ); - return *this; - } - - operator VkPipelineExecutableStatisticValueKHR const &() const - { - return *reinterpret_cast( this ); - } - - operator VkPipelineExecutableStatisticValueKHR &() - { - return *reinterpret_cast( this ); - } - -#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS - VULKAN_HPP_NAMESPACE::Bool32 b32; - int64_t i64; - uint64_t u64; - double f64; -#else - VkBool32 b32; - int64_t i64; - uint64_t u64; - double f64; -#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ - }; - - struct PipelineExecutableStatisticKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutableStatisticKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - PipelineExecutableStatisticKHR( std::array const & name_ = {}, - std::array const & description_ = {}, - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR format_ = - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR::eBool32, - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR value_ = {} ) - VULKAN_HPP_NOEXCEPT - : name( name_ ) - , description( description_ ) - , format( format_ ) - , value( value_ ) - {} - - PipelineExecutableStatisticKHR( PipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableStatisticKHR( VkPipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineExecutableStatisticKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - PipelineExecutableStatisticKHR & - operator=( PipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineExecutableStatisticKHR & operator=( VkPipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPipelineExecutableStatisticKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineExecutableStatisticKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableStatisticKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR format = - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR::eBool32; - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR value = {}; - }; - static_assert( sizeof( PipelineExecutableStatisticKHR ) == sizeof( VkPipelineExecutableStatisticKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineExecutableStatisticKHR; - }; - - struct RefreshCycleDurationGOOGLE - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RefreshCycleDurationGOOGLE( uint64_t refreshDuration_ = {} ) VULKAN_HPP_NOEXCEPT - : refreshDuration( refreshDuration_ ) - {} - - VULKAN_HPP_CONSTEXPR - RefreshCycleDurationGOOGLE( RefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RefreshCycleDurationGOOGLE( VkRefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - : RefreshCycleDurationGOOGLE( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RefreshCycleDurationGOOGLE & - operator=( RefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RefreshCycleDurationGOOGLE & operator=( VkRefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkRefreshCycleDurationGOOGLE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRefreshCycleDurationGOOGLE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RefreshCycleDurationGOOGLE const & ) const = default; -#else - bool operator==( RefreshCycleDurationGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( refreshDuration == rhs.refreshDuration ); - } - - bool operator!=( RefreshCycleDurationGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint64_t refreshDuration = {}; - }; - static_assert( sizeof( RefreshCycleDurationGOOGLE ) == sizeof( VkRefreshCycleDurationGOOGLE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct SemaphoreGetFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreGetFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) - VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR( SemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetFdInfoKHR( VkSemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreGetFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreGetFdInfoKHR & - operator=( SemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetFdInfoKHR & operator=( VkSemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreGetFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreGetFdInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - SemaphoreGetFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkSemaphoreGetFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreGetFdInfoKHR const & ) const = default; -#else - bool operator==( SemaphoreGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( SemaphoreGetFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( SemaphoreGetFdInfoKHR ) == sizeof( VkSemaphoreGetFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreGetFdInfoKHR; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct SemaphoreGetWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreGetWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreGetWin32HandleInfoKHR( - VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - SemaphoreGetWin32HandleInfoKHR( SemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetWin32HandleInfoKHR( VkSemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreGetWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreGetWin32HandleInfoKHR & - operator=( SemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetWin32HandleInfoKHR & operator=( VkSemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreGetWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreGetWin32HandleInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - SemaphoreGetWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkSemaphoreGetWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreGetWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( SemaphoreGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( SemaphoreGetWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( SemaphoreGetWin32HandleInfoKHR ) == sizeof( VkSemaphoreGetWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreGetWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct SemaphoreGetZirconHandleInfoFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSemaphoreGetZirconHandleInfoFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreGetZirconHandleInfoFUCHSIA( - VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreGetZirconHandleInfoFUCHSIA( SemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetZirconHandleInfoFUCHSIA( VkSemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreGetZirconHandleInfoFUCHSIA( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreGetZirconHandleInfoFUCHSIA & - operator=( SemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreGetZirconHandleInfoFUCHSIA & - operator=( VkSemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreGetZirconHandleInfoFUCHSIA & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreGetZirconHandleInfoFUCHSIA & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - SemaphoreGetZirconHandleInfoFUCHSIA & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkSemaphoreGetZirconHandleInfoFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreGetZirconHandleInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreGetZirconHandleInfoFUCHSIA const & ) const = default; -# else - bool operator==( SemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( SemaphoreGetZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetZirconHandleInfoFUCHSIA; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( SemaphoreGetZirconHandleInfoFUCHSIA ) == sizeof( VkSemaphoreGetZirconHandleInfoFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreGetZirconHandleInfoFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoGetMemoryPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoGetMemoryPropertiesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoGetMemoryPropertiesKHR( - uint32_t memoryBindIndex_ = {}, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryBindIndex( memoryBindIndex_ ) - , pMemoryRequirements( pMemoryRequirements_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoGetMemoryPropertiesKHR( VideoGetMemoryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoGetMemoryPropertiesKHR( VkVideoGetMemoryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoGetMemoryPropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoGetMemoryPropertiesKHR & - operator=( VideoGetMemoryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoGetMemoryPropertiesKHR & operator=( VkVideoGetMemoryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoGetMemoryPropertiesKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoGetMemoryPropertiesKHR & setMemoryBindIndex( uint32_t memoryBindIndex_ ) VULKAN_HPP_NOEXCEPT - { - memoryBindIndex = memoryBindIndex_; - return *this; - } - - VideoGetMemoryPropertiesKHR & - setPMemoryRequirements( VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements_ ) VULKAN_HPP_NOEXCEPT - { - pMemoryRequirements = pMemoryRequirements_; - return *this; - } - - operator VkVideoGetMemoryPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoGetMemoryPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoGetMemoryPropertiesKHR const & ) const = default; -# else - bool operator==( VideoGetMemoryPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryBindIndex == rhs.memoryBindIndex ) && - ( pMemoryRequirements == rhs.pMemoryRequirements ); - } - - bool operator!=( VideoGetMemoryPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoGetMemoryPropertiesKHR; - const void * pNext = {}; - uint32_t memoryBindIndex = {}; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements = {}; - }; - static_assert( sizeof( VideoGetMemoryPropertiesKHR ) == sizeof( VkVideoGetMemoryPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoGetMemoryPropertiesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct ImportFenceFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportFenceFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImportFenceFdInfoKHR( VULKAN_HPP_NAMESPACE::Fence fence_ = {}, - VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd, - int fd_ = {} ) VULKAN_HPP_NOEXCEPT - : fence( fence_ ) - , flags( flags_ ) - , handleType( handleType_ ) - , fd( fd_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportFenceFdInfoKHR( ImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportFenceFdInfoKHR( VkImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportFenceFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportFenceFdInfoKHR & - operator=( ImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportFenceFdInfoKHR & operator=( VkImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportFenceFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportFenceFdInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT - { - fence = fence_; - return *this; - } - - ImportFenceFdInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImportFenceFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportFenceFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT - { - fd = fd_; - return *this; - } - - operator VkImportFenceFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportFenceFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportFenceFdInfoKHR const & ) const = default; -#else - bool operator==( ImportFenceFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fence == rhs.fence ) && ( flags == rhs.flags ) && - ( handleType == rhs.handleType ) && ( fd == rhs.fd ); - } - - bool operator!=( ImportFenceFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportFenceFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Fence fence = {}; - VULKAN_HPP_NAMESPACE::FenceImportFlags flags = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; - int fd = {}; - }; - static_assert( sizeof( ImportFenceFdInfoKHR ) == sizeof( VkImportFenceFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportFenceFdInfoKHR; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ImportFenceWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportFenceWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportFenceWin32HandleInfoKHR( VULKAN_HPP_NAMESPACE::Fence fence_ = {}, - VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd, - HANDLE handle_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : fence( fence_ ) - , flags( flags_ ) - , handleType( handleType_ ) - , handle( handle_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImportFenceWin32HandleInfoKHR( ImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportFenceWin32HandleInfoKHR( VkImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportFenceWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportFenceWin32HandleInfoKHR & - operator=( ImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportFenceWin32HandleInfoKHR & operator=( VkImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportFenceWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportFenceWin32HandleInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT - { - fence = fence_; - return *this; - } - - ImportFenceWin32HandleInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImportFenceWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportFenceWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT - { - handle = handle_; - return *this; - } - - ImportFenceWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkImportFenceWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportFenceWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportFenceWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ImportFenceWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fence == rhs.fence ) && ( flags == rhs.flags ) && - ( handleType == rhs.handleType ) && ( handle == rhs.handle ) && ( name == rhs.name ); - } - - bool operator!=( ImportFenceWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportFenceWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Fence fence = {}; - VULKAN_HPP_NAMESPACE::FenceImportFlags flags = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; - HANDLE handle = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ImportFenceWin32HandleInfoKHR ) == sizeof( VkImportFenceWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportFenceWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct ImportSemaphoreFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportSemaphoreFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportSemaphoreFdInfoKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, - int fd_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , flags( flags_ ) - , handleType( handleType_ ) - , fd( fd_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportSemaphoreFdInfoKHR( ImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreFdInfoKHR( VkImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportSemaphoreFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportSemaphoreFdInfoKHR & - operator=( ImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreFdInfoKHR & operator=( VkImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportSemaphoreFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportSemaphoreFdInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - ImportSemaphoreFdInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImportSemaphoreFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportSemaphoreFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT - { - fd = fd_; - return *this; - } - - operator VkImportSemaphoreFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportSemaphoreFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportSemaphoreFdInfoKHR const & ) const = default; -#else - bool operator==( ImportSemaphoreFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( flags == rhs.flags ) && ( handleType == rhs.handleType ) && ( fd == rhs.fd ); - } - - bool operator!=( ImportSemaphoreFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportSemaphoreFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - int fd = {}; - }; - static_assert( sizeof( ImportSemaphoreFdInfoKHR ) == sizeof( VkImportSemaphoreFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportSemaphoreFdInfoKHR; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ImportSemaphoreWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImportSemaphoreWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportSemaphoreWin32HandleInfoKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, - HANDLE handle_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , flags( flags_ ) - , handleType( handleType_ ) - , handle( handle_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImportSemaphoreWin32HandleInfoKHR( ImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreWin32HandleInfoKHR( VkImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportSemaphoreWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportSemaphoreWin32HandleInfoKHR & - operator=( ImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreWin32HandleInfoKHR & operator=( VkImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT - { - handle = handle_; - return *this; - } - - ImportSemaphoreWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkImportSemaphoreWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportSemaphoreWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportSemaphoreWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ImportSemaphoreWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( flags == rhs.flags ) && ( handleType == rhs.handleType ) && ( handle == rhs.handle ) && - ( name == rhs.name ); - } - - bool operator!=( ImportSemaphoreWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportSemaphoreWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - HANDLE handle = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ImportSemaphoreWin32HandleInfoKHR ) == sizeof( VkImportSemaphoreWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportSemaphoreWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct ImportSemaphoreZirconHandleInfoFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImportSemaphoreZirconHandleInfoFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportSemaphoreZirconHandleInfoFUCHSIA( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, - zx_handle_t zirconHandle_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , flags( flags_ ) - , handleType( handleType_ ) - , zirconHandle( zirconHandle_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportSemaphoreZirconHandleInfoFUCHSIA( ImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreZirconHandleInfoFUCHSIA( VkImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportSemaphoreZirconHandleInfoFUCHSIA( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportSemaphoreZirconHandleInfoFUCHSIA & - operator=( ImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportSemaphoreZirconHandleInfoFUCHSIA & - operator=( VkImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportSemaphoreZirconHandleInfoFUCHSIA & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportSemaphoreZirconHandleInfoFUCHSIA & - setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - ImportSemaphoreZirconHandleInfoFUCHSIA & - setFlags( VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImportSemaphoreZirconHandleInfoFUCHSIA & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportSemaphoreZirconHandleInfoFUCHSIA & setZirconHandle( zx_handle_t zirconHandle_ ) VULKAN_HPP_NOEXCEPT - { - zirconHandle = zirconHandle_; - return *this; - } - - operator VkImportSemaphoreZirconHandleInfoFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportSemaphoreZirconHandleInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportSemaphoreZirconHandleInfoFUCHSIA const & ) const = default; -# else - bool operator==( ImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( flags == rhs.flags ) && ( handleType == rhs.handleType ) && - ( memcmp( &zirconHandle, &rhs.zirconHandle, sizeof( zx_handle_t ) ) == 0 ); - } - - bool operator!=( ImportSemaphoreZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportSemaphoreZirconHandleInfoFUCHSIA; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - zx_handle_t zirconHandle = {}; - }; - static_assert( sizeof( ImportSemaphoreZirconHandleInfoFUCHSIA ) == sizeof( VkImportSemaphoreZirconHandleInfoFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportSemaphoreZirconHandleInfoFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - struct InitializePerformanceApiInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eInitializePerformanceApiInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR InitializePerformanceApiInfoINTEL( void * pUserData_ = {} ) VULKAN_HPP_NOEXCEPT - : pUserData( pUserData_ ) - {} - - VULKAN_HPP_CONSTEXPR - InitializePerformanceApiInfoINTEL( InitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InitializePerformanceApiInfoINTEL( VkInitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : InitializePerformanceApiInfoINTEL( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 InitializePerformanceApiInfoINTEL & - operator=( InitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InitializePerformanceApiInfoINTEL & operator=( VkInitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - InitializePerformanceApiInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - InitializePerformanceApiInfoINTEL & setPUserData( void * pUserData_ ) VULKAN_HPP_NOEXCEPT - { - pUserData = pUserData_; - return *this; - } - - operator VkInitializePerformanceApiInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkInitializePerformanceApiInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( InitializePerformanceApiInfoINTEL const & ) const = default; -#else - bool operator==( InitializePerformanceApiInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pUserData == rhs.pUserData ); - } - - bool operator!=( InitializePerformanceApiInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eInitializePerformanceApiInfoINTEL; - const void * pNext = {}; - void * pUserData = {}; - }; - static_assert( sizeof( InitializePerformanceApiInfoINTEL ) == sizeof( VkInitializePerformanceApiInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = InitializePerformanceApiInfoINTEL; - }; - - struct DisplayEventInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayEventInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayEventInfoEXT( VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent_ = - VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT::eFirstPixelOut ) VULKAN_HPP_NOEXCEPT - : displayEvent( displayEvent_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayEventInfoEXT( DisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayEventInfoEXT( VkDisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayEventInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayEventInfoEXT & - operator=( DisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayEventInfoEXT & operator=( VkDisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayEventInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplayEventInfoEXT & setDisplayEvent( VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent_ ) VULKAN_HPP_NOEXCEPT - { - displayEvent = displayEvent_; - return *this; - } - - operator VkDisplayEventInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayEventInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayEventInfoEXT const & ) const = default; -#else - bool operator==( DisplayEventInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( displayEvent == rhs.displayEvent ); - } - - bool operator!=( DisplayEventInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayEventInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent = VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT::eFirstPixelOut; - }; - static_assert( sizeof( DisplayEventInfoEXT ) == sizeof( VkDisplayEventInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayEventInfoEXT; - }; - - struct XYColorEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR XYColorEXT( float x_ = {}, float y_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - {} - - VULKAN_HPP_CONSTEXPR XYColorEXT( XYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XYColorEXT( VkXYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : XYColorEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 XYColorEXT & operator=( XYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XYColorEXT & operator=( VkXYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - XYColorEXT & setX( float x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - XYColorEXT & setY( float y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - operator VkXYColorEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkXYColorEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( XYColorEXT const & ) const = default; -#else - bool operator==( XYColorEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ); - } - - bool operator!=( XYColorEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - float x = {}; - float y = {}; - }; - static_assert( sizeof( XYColorEXT ) == sizeof( VkXYColorEXT ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct HdrMetadataEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eHdrMetadataEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR HdrMetadataEXT( VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryRed_ = {}, - VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryGreen_ = {}, - VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryBlue_ = {}, - VULKAN_HPP_NAMESPACE::XYColorEXT whitePoint_ = {}, - float maxLuminance_ = {}, - float minLuminance_ = {}, - float maxContentLightLevel_ = {}, - float maxFrameAverageLightLevel_ = {} ) VULKAN_HPP_NOEXCEPT - : displayPrimaryRed( displayPrimaryRed_ ) - , displayPrimaryGreen( displayPrimaryGreen_ ) - , displayPrimaryBlue( displayPrimaryBlue_ ) - , whitePoint( whitePoint_ ) - , maxLuminance( maxLuminance_ ) - , minLuminance( minLuminance_ ) - , maxContentLightLevel( maxContentLightLevel_ ) - , maxFrameAverageLightLevel( maxFrameAverageLightLevel_ ) - {} - - VULKAN_HPP_CONSTEXPR HdrMetadataEXT( HdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - HdrMetadataEXT( VkHdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : HdrMetadataEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 HdrMetadataEXT & operator=( HdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - HdrMetadataEXT & operator=( VkHdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - HdrMetadataEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - HdrMetadataEXT & - setDisplayPrimaryRed( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryRed_ ) VULKAN_HPP_NOEXCEPT - { - displayPrimaryRed = displayPrimaryRed_; - return *this; - } - - HdrMetadataEXT & - setDisplayPrimaryGreen( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryGreen_ ) VULKAN_HPP_NOEXCEPT - { - displayPrimaryGreen = displayPrimaryGreen_; - return *this; - } - - HdrMetadataEXT & - setDisplayPrimaryBlue( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryBlue_ ) VULKAN_HPP_NOEXCEPT - { - displayPrimaryBlue = displayPrimaryBlue_; - return *this; - } - - HdrMetadataEXT & setWhitePoint( VULKAN_HPP_NAMESPACE::XYColorEXT const & whitePoint_ ) VULKAN_HPP_NOEXCEPT - { - whitePoint = whitePoint_; - return *this; - } - - HdrMetadataEXT & setMaxLuminance( float maxLuminance_ ) VULKAN_HPP_NOEXCEPT - { - maxLuminance = maxLuminance_; - return *this; - } - - HdrMetadataEXT & setMinLuminance( float minLuminance_ ) VULKAN_HPP_NOEXCEPT - { - minLuminance = minLuminance_; - return *this; - } - - HdrMetadataEXT & setMaxContentLightLevel( float maxContentLightLevel_ ) VULKAN_HPP_NOEXCEPT - { - maxContentLightLevel = maxContentLightLevel_; - return *this; - } - - HdrMetadataEXT & setMaxFrameAverageLightLevel( float maxFrameAverageLightLevel_ ) VULKAN_HPP_NOEXCEPT - { - maxFrameAverageLightLevel = maxFrameAverageLightLevel_; - return *this; - } - - operator VkHdrMetadataEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkHdrMetadataEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( HdrMetadataEXT const & ) const = default; -#else - bool operator==( HdrMetadataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( displayPrimaryRed == rhs.displayPrimaryRed ) && - ( displayPrimaryGreen == rhs.displayPrimaryGreen ) && ( displayPrimaryBlue == rhs.displayPrimaryBlue ) && - ( whitePoint == rhs.whitePoint ) && ( maxLuminance == rhs.maxLuminance ) && - ( minLuminance == rhs.minLuminance ) && ( maxContentLightLevel == rhs.maxContentLightLevel ) && - ( maxFrameAverageLightLevel == rhs.maxFrameAverageLightLevel ); - } - - bool operator!=( HdrMetadataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eHdrMetadataEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryRed = {}; - VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryGreen = {}; - VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryBlue = {}; - VULKAN_HPP_NAMESPACE::XYColorEXT whitePoint = {}; - float maxLuminance = {}; - float minLuminance = {}; - float maxContentLightLevel = {}; - float maxFrameAverageLightLevel = {}; - }; - static_assert( sizeof( HdrMetadataEXT ) == sizeof( VkHdrMetadataEXT ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = HdrMetadataEXT; - }; - - struct SemaphoreSignalInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreSignalInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreSignalInfo( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, - uint64_t value_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphore( semaphore_ ) - , value( value_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreSignalInfo( SemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreSignalInfo( VkSemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreSignalInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreSignalInfo & - operator=( SemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreSignalInfo & operator=( VkSemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreSignalInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreSignalInfo & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT - { - semaphore = semaphore_; - return *this; - } - - SemaphoreSignalInfo & setValue( uint64_t value_ ) VULKAN_HPP_NOEXCEPT - { - value = value_; - return *this; - } - - operator VkSemaphoreSignalInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreSignalInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreSignalInfo const & ) const = default; -#else - bool operator==( SemaphoreSignalInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphore == rhs.semaphore ) && - ( value == rhs.value ); - } - - bool operator!=( SemaphoreSignalInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreSignalInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; - uint64_t value = {}; - }; - static_assert( sizeof( SemaphoreSignalInfo ) == sizeof( VkSemaphoreSignalInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreSignalInfo; - }; - using SemaphoreSignalInfoKHR = SemaphoreSignalInfo; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoSessionParametersUpdateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoSessionParametersUpdateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoSessionParametersUpdateInfoKHR( uint32_t updateSequenceCount_ = {} ) VULKAN_HPP_NOEXCEPT - : updateSequenceCount( updateSequenceCount_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoSessionParametersUpdateInfoKHR( VideoSessionParametersUpdateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoSessionParametersUpdateInfoKHR( VkVideoSessionParametersUpdateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoSessionParametersUpdateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoSessionParametersUpdateInfoKHR & - operator=( VideoSessionParametersUpdateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoSessionParametersUpdateInfoKHR & - operator=( VkVideoSessionParametersUpdateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoSessionParametersUpdateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoSessionParametersUpdateInfoKHR & setUpdateSequenceCount( uint32_t updateSequenceCount_ ) VULKAN_HPP_NOEXCEPT - { - updateSequenceCount = updateSequenceCount_; - return *this; - } - - operator VkVideoSessionParametersUpdateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoSessionParametersUpdateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoSessionParametersUpdateInfoKHR const & ) const = default; -# else - bool operator==( VideoSessionParametersUpdateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( updateSequenceCount == rhs.updateSequenceCount ); - } - - bool operator!=( VideoSessionParametersUpdateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoSessionParametersUpdateInfoKHR; - const void * pNext = {}; - uint32_t updateSequenceCount = {}; - }; - static_assert( sizeof( VideoSessionParametersUpdateInfoKHR ) == sizeof( VkVideoSessionParametersUpdateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoSessionParametersUpdateInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct SemaphoreWaitInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreWaitInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_ = {}, - uint32_t semaphoreCount_ = {}, - const VULKAN_HPP_NAMESPACE::Semaphore * pSemaphores_ = {}, - const uint64_t * pValues_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , semaphoreCount( semaphoreCount_ ) - , pSemaphores( pSemaphores_ ) - , pValues( pValues_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo( SemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreWaitInfo( VkSemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreWaitInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SemaphoreWaitInfo( - VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & semaphores_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & values_ = {} ) - : flags( flags_ ) - , semaphoreCount( static_cast( semaphores_.size() ) ) - , pSemaphores( semaphores_.data() ) - , pValues( values_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( semaphores_.size() == values_.size() ); -# else - if ( semaphores_.size() != values_.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::SemaphoreWaitInfo::SemaphoreWaitInfo: semaphores_.size() != values_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreWaitInfo & - operator=( SemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreWaitInfo & operator=( VkSemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreWaitInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreWaitInfo & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - SemaphoreWaitInfo & setSemaphoreCount( uint32_t semaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - semaphoreCount = semaphoreCount_; - return *this; - } - - SemaphoreWaitInfo & setPSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore * pSemaphores_ ) VULKAN_HPP_NOEXCEPT - { - pSemaphores = pSemaphores_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SemaphoreWaitInfo & setSemaphores( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & semaphores_ ) - VULKAN_HPP_NOEXCEPT - { - semaphoreCount = static_cast( semaphores_.size() ); - pSemaphores = semaphores_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - SemaphoreWaitInfo & setPValues( const uint64_t * pValues_ ) VULKAN_HPP_NOEXCEPT - { - pValues = pValues_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - SemaphoreWaitInfo & - setValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & values_ ) VULKAN_HPP_NOEXCEPT - { - semaphoreCount = static_cast( values_.size() ); - pValues = values_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkSemaphoreWaitInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreWaitInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreWaitInfo const & ) const = default; -#else - bool operator==( SemaphoreWaitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( semaphoreCount == rhs.semaphoreCount ) && ( pSemaphores == rhs.pSemaphores ) && - ( pValues == rhs.pValues ); - } - - bool operator!=( SemaphoreWaitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreWaitInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags = {}; - uint32_t semaphoreCount = {}; - const VULKAN_HPP_NAMESPACE::Semaphore * pSemaphores = {}; - const uint64_t * pValues = {}; - }; - static_assert( sizeof( SemaphoreWaitInfo ) == sizeof( VkSemaphoreWaitInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreWaitInfo; - }; - using SemaphoreWaitInfoKHR = SemaphoreWaitInfo; - -#ifndef VULKAN_HPP_NO_SMART_HANDLE - class Device; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueAccelerationStructureKHR = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueAccelerationStructureNV = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueBuffer = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueBufferView = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = PoolFree; - }; - using UniqueCommandBuffer = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueCommandPool = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueCuFunctionNVX = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueCuModuleNVX = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDeferredOperationKHR = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDescriptorPool = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = PoolFree; - }; - using UniqueDescriptorSet = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDescriptorSetLayout = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDescriptorUpdateTemplate = UniqueHandle; - using UniqueDescriptorUpdateTemplateKHR = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectFree; - }; - using UniqueDeviceMemory = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueEvent = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueFence = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueFramebuffer = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueImage = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueImageView = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueIndirectCommandsLayoutNV = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniquePipeline = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniquePipelineCache = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniquePipelineLayout = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniquePrivateDataSlotEXT = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueQueryPool = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueRenderPass = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueSampler = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueSamplerYcbcrConversion = UniqueHandle; - using UniqueSamplerYcbcrConversionKHR = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueSemaphore = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueShaderModule = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueSwapchainKHR = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueValidationCacheEXT = UniqueHandle; -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueVideoSessionKHR = UniqueHandle; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ -# if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueVideoSessionParametersKHR = UniqueHandle; -# endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ - - class Device - { - public: - using CType = VkDevice; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDevice; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDevice; - - public: - VULKAN_HPP_CONSTEXPR Device() = default; - VULKAN_HPP_CONSTEXPR Device( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Device( VkDevice device ) VULKAN_HPP_NOEXCEPT : m_device( device ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Device & operator=( VkDevice device ) VULKAN_HPP_NOEXCEPT - { - m_device = device; - return *this; - } -#endif - - Device & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_device = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Device const & ) const = default; -#else - bool operator==( Device const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_device == rhs.m_device; - } - - bool operator!=( Device const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_device != rhs.m_device; - } - - bool operator<( Device const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_device < rhs.m_device; - } -#endif - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result acquireFullScreenExclusiveModeEXT( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD Result - acquireNextImage2KHR( const VULKAN_HPP_NAMESPACE::AcquireNextImageInfoKHR * pAcquireInfo, - uint32_t * pImageIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD ResultValue - acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint64_t timeout, - VULKAN_HPP_NAMESPACE::Semaphore semaphore, - VULKAN_HPP_NAMESPACE::Fence fence, - uint32_t * pImageIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD ResultValue - acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint64_t timeout, - VULKAN_HPP_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result acquirePerformanceConfigurationINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceConfigurationAcquireInfoINTEL * pAcquireInfo, - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL * pConfiguration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - acquirePerformanceConfigurationINTEL( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - acquirePerformanceConfigurationINTELUnique( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - acquireProfilingLockKHR( const VULKAN_HPP_NAMESPACE::AcquireProfilingLockInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - allocateCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo * pAllocateInfo, - VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = CommandBufferAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, - CommandBufferAllocator & commandBufferAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, CommandBufferAllocator>>::type - allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename CommandBufferAllocator = std::allocator>, - typename B = CommandBufferAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, CommandBufferAllocator>>::type - allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, - CommandBufferAllocator & commandBufferAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - allocateDescriptorSets( const VULKAN_HPP_NAMESPACE::DescriptorSetAllocateInfo * pAllocateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DescriptorSetAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, - DescriptorSetAllocator & descriptorSetAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, DescriptorSetAllocator>>::type - allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename DescriptorSetAllocator = std::allocator>, - typename B = DescriptorSetAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, DescriptorSetAllocator>>::type - allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, - DescriptorSetAllocator & descriptorSetAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - allocateMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo * pAllocateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DeviceMemory * pMemory, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - allocateMemory( const MemoryAllocateInfo & allocateInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result bindAccelerationStructureMemoryNV( - uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoNV * pBindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindAccelerationStructureMemoryNV( - ArrayProxy const & bindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - bindBufferMemory2( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo * pBindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindBufferMemory2( ArrayProxy const & bindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - bindBufferMemory2KHR( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo * pBindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindBufferMemory2KHR( ArrayProxy const & bindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - bindImageMemory2( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo * pBindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindImageMemory2( ArrayProxy const & bindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - bindImageMemory2KHR( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo * pBindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - bindImageMemory2KHR( ArrayProxy const & bindInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result bindVideoSessionMemoryKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - uint32_t videoSessionBindMemoryCount, - const VULKAN_HPP_NAMESPACE::VideoBindMemoryKHR * pVideoSessionBindMemories, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindVideoSessionMemoryKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - ArrayProxy const & videoSessionBindMemories, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD Result buildAccelerationStructuresKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Result buildAccelerationStructuresKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - ArrayProxy const & infos, - ArrayProxy const & pBuildRangeInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t shader, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t shader, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - copyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyAccelerationStructureInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - copyAccelerationStructureToMemoryKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyAccelerationStructureToMemoryInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - copyMemoryToAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyMemoryToAccelerationStructureInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createAccelerationStructureKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructure, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - createAccelerationStructureKHR( const AccelerationStructureCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createAccelerationStructureKHRUnique( const AccelerationStructureCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createAccelerationStructureNV( - const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoNV * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructure, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createAccelerationStructureNV( - const AccelerationStructureCreateInfoNV & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE - typename ResultValueType>::type - createAccelerationStructureNVUnique( const AccelerationStructureCreateInfoNV & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createBuffer( const VULKAN_HPP_NAMESPACE::BufferCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Buffer * pBuffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createBuffer( const BufferCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createBufferUnique( const BufferCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createBufferView( const VULKAN_HPP_NAMESPACE::BufferViewCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::BufferView * pView, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createBufferView( const BufferViewCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createBufferViewUnique( const BufferViewCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createCommandPool( const VULKAN_HPP_NAMESPACE::CommandPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CommandPool * pCommandPool, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createCommandPool( const CommandPoolCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD ResultValue> createComputePipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue> - createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue createComputePipeline( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createComputePipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template >, - typename B = PipelineAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createComputePipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue> createComputePipelineUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createCuFunctionNVX( const VULKAN_HPP_NAMESPACE::CuFunctionCreateInfoNVX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CuFunctionNVX * pFunction, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createCuFunctionNVX( const CuFunctionCreateInfoNVX & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createCuFunctionNVXUnique( const CuFunctionCreateInfoNVX & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createCuModuleNVX( const VULKAN_HPP_NAMESPACE::CuModuleCreateInfoNVX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CuModuleNVX * pModule, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createCuModuleNVX( const CuModuleCreateInfoNVX & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createCuModuleNVXUnique( const CuModuleCreateInfoNVX & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createDeferredOperationKHR( - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DeferredOperationKHR * pDeferredOperation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createDeferredOperationKHR( - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - createDeferredOperationKHRUnique( Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createDescriptorPool( const VULKAN_HPP_NAMESPACE::DescriptorPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorPool * pDescriptorPool, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createDescriptorSetLayout( - const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplate( - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate * pDescriptorUpdateTemplate, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplateKHR( - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate * pDescriptorUpdateTemplate, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createEvent( const VULKAN_HPP_NAMESPACE::EventCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Event * pEvent, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createEvent( const EventCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createEventUnique( const EventCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createFence( const FenceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createFenceUnique( const FenceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createFramebuffer( const VULKAN_HPP_NAMESPACE::FramebufferCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Framebuffer * pFramebuffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createFramebuffer( const FramebufferCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createFramebufferUnique( const FramebufferCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue> - createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue createGraphicsPipeline( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createGraphicsPipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template >, - typename B = PipelineAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createGraphicsPipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelineUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createImage( const VULKAN_HPP_NAMESPACE::ImageCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Image * pImage, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createImage( const ImageCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createImageUnique( const ImageCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createImageView( const VULKAN_HPP_NAMESPACE::ImageViewCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ImageView * pView, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createImageView( const ImageViewCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createImageViewUnique( const ImageViewCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createIndirectCommandsLayoutNV( - const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutCreateInfoNV * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV * pIndirectCommandsLayout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - createIndirectCommandsLayoutNV( const IndirectCommandsLayoutCreateInfoNV & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createIndirectCommandsLayoutNVUnique( const IndirectCommandsLayoutCreateInfoNV & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createPipelineCache( const VULKAN_HPP_NAMESPACE::PipelineCacheCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PipelineCache * pPipelineCache, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createPipelineCache( const PipelineCacheCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createPipelineLayout( const VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PipelineLayout * pPipelineLayout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createPrivateDataSlotEXT( const VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT * pPrivateDataSlot, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createPrivateDataSlotEXT( - const PrivateDataSlotCreateInfoEXT & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - createPrivateDataSlotEXTUnique( const PrivateDataSlotCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createQueryPool( const VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::QueryPool * pQueryPool, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createQueryPool( const QueryPoolCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createRayTracingPipelinesKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createRayTracingPipelinesKHRUnique( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template >, - typename B = PipelineAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createRayTracingPipelinesKHRUnique( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineKHRUnique( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createRayTracingPipelinesNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createRayTracingPipelinesNVUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template >, - typename B = PipelineAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> - createRayTracingPipelinesNVUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineNVUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createRenderPass( const RenderPassCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createRenderPassUnique( const RenderPassCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2 * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createRenderPass2( const RenderPassCreateInfo2 & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createRenderPass2Unique( const RenderPassCreateInfo2 & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2 * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createRenderPass2KHR( const RenderPassCreateInfo2 & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createRenderPass2KHRUnique( const RenderPassCreateInfo2 & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createSampler( const VULKAN_HPP_NAMESPACE::SamplerCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Sampler * pSampler, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createSampler( const SamplerCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createSamplerUnique( const SamplerCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversion( - const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion * pYcbcrConversion, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversionKHR( - const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion * pYcbcrConversion, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Semaphore * pSemaphore, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createSemaphore( const SemaphoreCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createShaderModule( const VULKAN_HPP_NAMESPACE::ShaderModuleCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ShaderModule * pShaderModule, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createShaderModule( const ShaderModuleCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createSharedSwapchainsKHR( - uint32_t swapchainCount, - const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - createSharedSwapchainsKHR( ArrayProxy const & createInfos, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SwapchainKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType>::type - createSharedSwapchainsKHR( ArrayProxy const & createInfos, - Optional allocator, - SwapchainKHRAllocator & swapchainKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSharedSwapchainKHR( - const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template >> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, SwapchainKHRAllocator>>::type - createSharedSwapchainsKHRUnique( - ArrayProxy const & createInfos, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template >, - typename B = SwapchainKHRAllocator, - typename std::enable_if>::value, - int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, SwapchainKHRAllocator>>::type - createSharedSwapchainsKHRUnique( - ArrayProxy const & createInfos, - Optional allocator, - SwapchainKHRAllocator & swapchainKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - createSharedSwapchainKHRUnique( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createSwapchainKHR( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createValidationCacheEXT( const VULKAN_HPP_NAMESPACE::ValidationCacheCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ValidationCacheEXT * pValidationCache, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createValidationCacheEXT( - const ValidationCacheCreateInfoEXT & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result - createVideoSessionKHR( const VULKAN_HPP_NAMESPACE::VideoSessionCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::VideoSessionKHR * pVideoSession, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createVideoSessionKHR( const VideoSessionCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createVideoSessionKHRUnique( const VideoSessionCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result createVideoSessionParametersKHR( - const VULKAN_HPP_NAMESPACE::VideoSessionParametersCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR * pVideoSessionParameters, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - createVideoSessionParametersKHR( const VideoSessionParametersCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createVideoSessionParametersKHRUnique( const VideoSessionParametersCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD Result debugMarkerSetObjectNameEXT( - const VULKAN_HPP_NAMESPACE::DebugMarkerObjectNameInfoEXT * pNameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result debugMarkerSetObjectTagEXT( - const VULKAN_HPP_NAMESPACE::DebugMarkerObjectTagInfoEXT * pTagInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD Result - deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyAccelerationStructureKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyAccelerationStructureNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyCuFunctionNVX( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyCuFunctionNVX( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyCuModuleNVX( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyCuModuleNVX( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDeferredOperationKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDescriptorPool( - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDescriptorSetLayout( - VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDescriptorUpdateTemplate( - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDescriptorUpdateTemplateKHR( - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyEvent( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyEvent( VULKAN_HPP_NAMESPACE::Event event VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Event event, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyFence( VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Fence fence, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Fence fence, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyImage( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyImage( VULKAN_HPP_NAMESPACE::Image image VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Image image, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyIndirectCommandsLayoutNV( - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyPipelineLayout( - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyPrivateDataSlotEXT( - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroySamplerYcbcrConversion( - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroySamplerYcbcrConversionKHR( - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyValidationCacheEXT( - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void - destroyVideoSessionKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyVideoSessionKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void destroy( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void destroyVideoSessionParametersKHR( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyVideoSessionParametersKHR( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - void destroy( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayPowerInfoEXT * pDisplayPowerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayPowerInfoEXT & displayPowerInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - flushMappedMemoryRanges( uint32_t memoryRangeCount, - const VULKAN_HPP_NAMESPACE::MappedMemoryRange * pMemoryRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - flushMappedMemoryRanges( ArrayProxy const & memoryRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - ArrayProxy const & commandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - ArrayProxy const & commandBuffers, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - Result freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - ArrayProxy const & descriptorSets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - Result free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - ArrayProxy const & descriptorSets, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getAccelerationStructureBuildSizesKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pBuildInfo, - const uint32_t * pMaxPrimitiveCounts, - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR * pSizeInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR - getAccelerationStructureBuildSizesKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType, - const AccelerationStructureBuildGeometryInfoKHR & buildInfo, - ArrayProxy const & maxPrimitiveCounts VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - DeviceAddress getAccelerationStructureAddressKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureDeviceAddressInfoKHR * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - DeviceAddress getAccelerationStructureAddressKHR( - const AccelerationStructureDeviceAddressInfoKHR & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getAccelerationStructureHandleNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - size_t dataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - ArrayProxy const & data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - size_t dataSize, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getAccelerationStructureMemoryRequirementsNV( - const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR getAccelerationStructureMemoryRequirementsNV( - const AccelerationStructureMemoryRequirementsInfoNV & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getAccelerationStructureMemoryRequirementsNV( - const AccelerationStructureMemoryRequirementsInfoNV & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD Result getAndroidHardwareBufferPropertiesANDROID( - const struct AHardwareBuffer * buffer, - VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - DeviceAddress - getBufferAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - DeviceAddress - getBufferAddress( const BufferDeviceAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - DeviceAddress - getBufferAddressEXT( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - DeviceAddress - getBufferAddressEXT( const BufferDeviceAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - DeviceAddress - getBufferAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - DeviceAddress - getBufferAddressKHR( const BufferDeviceAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::MemoryRequirements * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements getBufferMemoryRequirements( - VULKAN_HPP_NAMESPACE::Buffer buffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getBufferMemoryRequirements2( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getBufferMemoryRequirements2( - const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2( - const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getBufferMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getBufferMemoryRequirements2KHR( - const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2KHR( - const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint64_t getBufferOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - uint64_t getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint64_t getBufferOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - uint64_t getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getCalibratedTimestampsEXT( - uint32_t timestampCount, - const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT * pTimestampInfos, - uint64_t * pTimestamps, - uint64_t * pMaxDeviation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - ArrayProxy const & timestamps, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, uint64_t>>::type - getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Uint64_tAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType, uint64_t>>::type - getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - Uint64_tAllocator & uint64_tAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint32_t getDeferredOperationMaxConcurrencyKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result getDeferredOperationResultKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD Result - getDeferredOperationResultKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getDescriptorSetLayoutSupport( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport * pSupport, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport getDescriptorSetLayoutSupport( - const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupport( - const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getDescriptorSetLayoutSupportKHR( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport * pSupport, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport getDescriptorSetLayoutSupportKHR( - const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupportKHR( - const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getAccelerationStructureCompatibilityKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureVersionInfoKHR * pVersionInfo, - VULKAN_HPP_NAMESPACE::AccelerationStructureCompatibilityKHR * pCompatibility, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::AccelerationStructureCompatibilityKHR - getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionInfoKHR & versionInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getGroupPeerMemoryFeatures( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags * pPeerMemoryFeatures, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( - uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags * pPeerMemoryFeatures, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( - uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getGroupPresentCapabilitiesKHR( - VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR * pDeviceGroupPresentCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getGroupPresentCapabilitiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModes2EXT( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR * pModes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModesKHR( - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR * pModes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize * pCommittedMemoryInBytes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DeviceSize - getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint64_t getMemoryOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - uint64_t getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint64_t getMemoryOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - uint64_t getMemoryOpaqueCaptureAddressKHR( const DeviceMemoryOpaqueCaptureAddressInfo & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - PFN_vkVoidFunction - getProcAddr( const char * pName, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - PFN_vkVoidFunction - getProcAddr( const std::string & name, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getQueue( uint32_t queueFamilyIndex, - uint32_t queueIndex, - VULKAN_HPP_NAMESPACE::Queue * pQueue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Queue - getQueue( uint32_t queueFamilyIndex, - uint32_t queueIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getQueue2( const VULKAN_HPP_NAMESPACE::DeviceQueueInfo2 * pQueueInfo, - VULKAN_HPP_NAMESPACE::Queue * pQueue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Queue - getQueue2( const DeviceQueueInfo2 & queueInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - getEventStatus( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD Result getEventStatus( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getFenceFdKHR( const VULKAN_HPP_NAMESPACE::FenceGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD Result getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result - getFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::FenceGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - void getGeneratedCommandsMemoryRequirementsNV( - const VULKAN_HPP_NAMESPACE::GeneratedCommandsMemoryRequirementsInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getGeneratedCommandsMemoryRequirementsNV( - const GeneratedCommandsMemoryRequirementsInfoNV & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getGeneratedCommandsMemoryRequirementsNV( - const GeneratedCommandsMemoryRequirementsInfoNV & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getImageDrmFormatModifierPropertiesEXT( - VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::MemoryRequirements * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements getImageMemoryRequirements( - VULKAN_HPP_NAMESPACE::Image image, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getImageMemoryRequirements2( - const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2( - const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getImageMemoryRequirements2KHR( - const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2KHR( - const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageSparseMemoryRequirements( - VULKAN_HPP_NAMESPACE::Image image, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements * pSparseMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageMemoryRequirementsAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, - SparseImageMemoryRequirementsAllocator & sparseImageMemoryRequirementsAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageSparseMemoryRequirements2( - const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2 * pSparseMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageMemoryRequirements2Allocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements2( - const ImageSparseMemoryRequirementsInfo2 & info, - SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageSparseMemoryRequirements2KHR( - const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2 * pSparseMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageMemoryRequirements2Allocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getImageSparseMemoryRequirements2KHR( - const ImageSparseMemoryRequirementsInfo2 & info, - SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::ImageSubresource * pSubresource, - VULKAN_HPP_NAMESPACE::SubresourceLayout * pLayout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::SubresourceLayout getImageSubresourceLayout( - VULKAN_HPP_NAMESPACE::Image image, - const ImageSubresource & subresource, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, - VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - uint32_t - getImageViewHandleNVX( const VULKAN_HPP_NAMESPACE::ImageViewHandleInfoNVX * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - uint32_t - getImageViewHandleNVX( const ImageViewHandleInfoNVX & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD Result getMemoryAndroidHardwareBufferANDROID( - const VULKAN_HPP_NAMESPACE::MemoryGetAndroidHardwareBufferInfoANDROID * pInfo, - struct AHardwareBuffer ** pBuffer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - VULKAN_HPP_NODISCARD Result - getMemoryFdKHR( const VULKAN_HPP_NAMESPACE::MemoryGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - int fd, - VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR * pMemoryFdProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - int fd, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getMemoryHostPointerPropertiesEXT( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - const void * pHostPointer, - VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT * pMemoryHostPointerProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - const void * pHostPointer, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result - getMemoryWin32HandleKHR( const VULKAN_HPP_NAMESPACE::MemoryGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result - getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, - HANDLE * pHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result getMemoryWin32HandlePropertiesKHR( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - HANDLE handle, - VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR * pMemoryWin32HandleProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - HANDLE handle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD Result getMemoryZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::MemoryGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD Result getMemoryZirconHandlePropertiesFUCHSIA( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - zx_handle_t zirconHandle, - VULKAN_HPP_NAMESPACE::MemoryZirconHandlePropertiesFUCHSIA * pMemoryZirconHandleProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - getMemoryZirconHandlePropertiesFUCHSIA( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - zx_handle_t zirconHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD Result getPastPresentationTimingGOOGLE( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint32_t * pPresentationTimingCount, - VULKAN_HPP_NAMESPACE::PastPresentationTimingGOOGLE * pPresentationTimings, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename PastPresentationTimingGOOGLEAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PastPresentationTimingGOOGLEAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - PastPresentationTimingGOOGLEAllocator & pastPresentationTimingGOOGLEAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getPerformanceParameterINTEL( - VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, - VULKAN_HPP_NAMESPACE::PerformanceValueINTEL * pValue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - size_t * pDataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Uint8_tAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getPipelineExecutableInternalRepresentationsKHR( - const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pInternalRepresentationCount, - VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR * pInternalRepresentations, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, - Dispatch const & d - VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename PipelineExecutableInternalRepresentationKHRAllocator = - std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineExecutableInternalRepresentationKHRAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getPipelineExecutableInternalRepresentationsKHR( - const PipelineExecutableInfoKHR & executableInfo, - PipelineExecutableInternalRepresentationKHRAllocator & pipelineExecutableInternalRepresentationKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getPipelineExecutablePropertiesKHR( - const VULKAN_HPP_NAMESPACE::PipelineInfoKHR * pPipelineInfo, - uint32_t * pExecutableCount, - VULKAN_HPP_NAMESPACE::PipelineExecutablePropertiesKHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineExecutablePropertiesKHRAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getPipelineExecutablePropertiesKHR( - const PipelineInfoKHR & pipelineInfo, - PipelineExecutablePropertiesKHRAllocator & pipelineExecutablePropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getPipelineExecutableStatisticsKHR( - const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pStatisticCount, - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticKHR * pStatistics, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PipelineExecutableStatisticKHRAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getPipelineExecutableStatisticsKHR( - const PipelineExecutableInfoKHR & executableInfo, - PipelineExecutableStatisticKHRAllocator & pipelineExecutableStatisticKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD uint64_t - getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - size_t dataSize, - void * pData, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - ArrayProxy const & data, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD ResultValue> - getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - size_t dataSize, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD ResultValue - getQueryPoolResult( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getRayTracingCaptureReplayShaderGroupHandlesKHR( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d - VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d - VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingCaptureReplayShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d - VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesKHR( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesNV( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getRayTracingShaderGroupHandleNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - DeviceSize getRayTracingShaderGroupStackSizeKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t group, - VULKAN_HPP_NAMESPACE::ShaderGroupShaderKHR groupShader, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - VULKAN_HPP_NODISCARD Result getRefreshCycleDurationGOOGLE( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE * pDisplayTimingProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - VULKAN_HPP_NAMESPACE::Extent2D * pGranularity, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Extent2D - getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - uint64_t * pValue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getSemaphoreCounterValueKHR( - VULKAN_HPP_NAMESPACE::Semaphore semaphore, - uint64_t * pValue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result getSemaphoreWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::SemaphoreGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD Result getSemaphoreZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::SemaphoreGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD Result - getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - size_t * pInfoSize, - void * pInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Uint8_tAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, - uint64_t * pCounterValue, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint32_t * pSwapchainImageCount, - VULKAN_HPP_NAMESPACE::Image * pSwapchainImages, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = ImageAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - ImageAllocator & imageAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD Result getSwapchainStatusKHR( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getValidationCacheDataEXT( - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - size_t * pDataSize, - void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Uint8_tAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result getVideoSessionMemoryRequirementsKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - uint32_t * pVideoSessionMemoryRequirementsCount, - VULKAN_HPP_NAMESPACE::VideoGetMemoryPropertiesKHR * pVideoSessionMemoryRequirements, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getVideoSessionMemoryRequirementsKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename VideoGetMemoryPropertiesKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = VideoGetMemoryPropertiesKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getVideoSessionMemoryRequirementsKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - VideoGetMemoryPropertiesKHRAllocator & videoGetMemoryPropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD Result - importFenceFdKHR( const VULKAN_HPP_NAMESPACE::ImportFenceFdInfoKHR * pImportFenceFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result importFenceWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::ImportFenceWin32HandleInfoKHR * pImportFenceWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD Result - importSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreFdInfoKHR * pImportSemaphoreFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result importSemaphoreWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::ImportSemaphoreWin32HandleInfoKHR * pImportSemaphoreWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD Result importSemaphoreZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::ImportSemaphoreZirconHandleInfoFUCHSIA * pImportSemaphoreZirconHandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreZirconHandleFUCHSIA( - const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD Result initializePerformanceApiINTEL( - const VULKAN_HPP_NAMESPACE::InitializePerformanceApiInfoINTEL * pInitializeInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result invalidateMappedMemoryRanges( - uint32_t memoryRangeCount, - const VULKAN_HPP_NAMESPACE::MappedMemoryRange * pMemoryRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - invalidateMappedMemoryRanges( ArrayProxy const & memoryRanges, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, - void ** ppData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - VULKAN_HPP_NAMESPACE::MemoryMapFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, - uint32_t srcCacheCount, - const VULKAN_HPP_NAMESPACE::PipelineCache * pSrcCaches, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, - ArrayProxy const & srcCaches, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, - uint32_t srcCacheCount, - const VULKAN_HPP_NAMESPACE::ValidationCacheEXT * pSrcCaches, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, - ArrayProxy const & srcCaches, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - registerEventEXT( const VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT * pDeviceEventInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - registerEventEXTUnique( const DeviceEventInfoEXT & deviceEventInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT * pDisplayEventInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type registerDisplayEventEXT( - VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayEventInfoEXT & displayEventInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - registerDisplayEventEXTUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayEventInfoEXT & displayEventInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result releaseFullScreenExclusiveModeEXT( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result releasePerformanceConfigurationINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releasePerformanceConfigurationINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - releaseProfilingLockKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Result resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - resetEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - resetEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - resetFences( uint32_t fenceCount, - const VULKAN_HPP_NAMESPACE::Fence * pFences, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - resetFences( ArrayProxy const & fences, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void resetQueryPoolEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - VULKAN_HPP_NODISCARD Result setDebugUtilsObjectNameEXT( - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT * pNameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result setDebugUtilsObjectTagEXT( - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT * pTagInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - setEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setHdrMetadataEXT( uint32_t swapchainCount, - const VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains, - const VULKAN_HPP_NAMESPACE::HdrMetadataEXT * pMetadata, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void setHdrMetadataEXT( ArrayProxy const & swapchains, - ArrayProxy const & metadata, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void setLocalDimmingAMD( VULKAN_HPP_NAMESPACE::SwapchainKHR swapChain, - VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t data, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - signalSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo * pSignalInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - signalSemaphore( const SemaphoreSignalInfo & signalInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - signalSemaphoreKHR( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo * pSignalInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void trimCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void trimCommandPoolKHR( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void uninitializePerformanceApiINTEL( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void unmapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - - template - void updateDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void updateDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; - - template - void updateDescriptorSets( uint32_t descriptorWriteCount, - const VULKAN_HPP_NAMESPACE::WriteDescriptorSet * pDescriptorWrites, - uint32_t descriptorCopyCount, - const VULKAN_HPP_NAMESPACE::CopyDescriptorSet * pDescriptorCopies, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void updateDescriptorSets( ArrayProxy const & descriptorWrites, - ArrayProxy const & descriptorCopies, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result updateVideoSessionParametersKHR( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::VideoSessionParametersUpdateInfoKHR * pUpdateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - updateVideoSessionParametersKHR( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VideoSessionParametersUpdateInfoKHR & updateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD Result - waitForFences( uint32_t fenceCount, - const VULKAN_HPP_NAMESPACE::Fence * pFences, - VULKAN_HPP_NAMESPACE::Bool32 waitAll, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result waitForFences( ArrayProxy const & fences, - VULKAN_HPP_NAMESPACE::Bool32 waitAll, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - waitSemaphores( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo * pWaitInfo, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result waitSemaphores( const SemaphoreWaitInfo & waitInfo, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - waitSemaphoresKHR( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo * pWaitInfo, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, - uint64_t timeout, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result writeAccelerationStructuresPropertiesKHR( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t dataSize, - void * pData, - size_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - ArrayProxy const & data, - size_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t dataSize, - size_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type writeAccelerationStructuresPropertyKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t stride, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const VULKAN_HPP_NOEXCEPT - { - return m_device; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_device != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_device == VK_NULL_HANDLE; - } - - private: - VkDevice m_device = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Device ) == sizeof( VkDevice ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Device; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Device; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Device; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct DisplayModeParametersKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayModeParametersKHR( VULKAN_HPP_NAMESPACE::Extent2D visibleRegion_ = {}, - uint32_t refreshRate_ = {} ) VULKAN_HPP_NOEXCEPT - : visibleRegion( visibleRegion_ ) - , refreshRate( refreshRate_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayModeParametersKHR( DisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeParametersKHR( VkDisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayModeParametersKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayModeParametersKHR & - operator=( DisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeParametersKHR & operator=( VkDisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayModeParametersKHR & - setVisibleRegion( VULKAN_HPP_NAMESPACE::Extent2D const & visibleRegion_ ) VULKAN_HPP_NOEXCEPT - { - visibleRegion = visibleRegion_; - return *this; - } - - DisplayModeParametersKHR & setRefreshRate( uint32_t refreshRate_ ) VULKAN_HPP_NOEXCEPT - { - refreshRate = refreshRate_; - return *this; - } - - operator VkDisplayModeParametersKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayModeParametersKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayModeParametersKHR const & ) const = default; -#else - bool operator==( DisplayModeParametersKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( visibleRegion == rhs.visibleRegion ) && ( refreshRate == rhs.refreshRate ); - } - - bool operator!=( DisplayModeParametersKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Extent2D visibleRegion = {}; - uint32_t refreshRate = {}; - }; - static_assert( sizeof( DisplayModeParametersKHR ) == sizeof( VkDisplayModeParametersKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DisplayModeCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayModeCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayModeCreateInfoKHR( VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , parameters( parameters_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayModeCreateInfoKHR( DisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeCreateInfoKHR( VkDisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayModeCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayModeCreateInfoKHR & - operator=( DisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeCreateInfoKHR & operator=( VkDisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayModeCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplayModeCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DisplayModeCreateInfoKHR & - setParameters( VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR const & parameters_ ) VULKAN_HPP_NOEXCEPT - { - parameters = parameters_; - return *this; - } - - operator VkDisplayModeCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayModeCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayModeCreateInfoKHR const & ) const = default; -#else - bool operator==( DisplayModeCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( parameters == rhs.parameters ); - } - - bool operator!=( DisplayModeCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayModeCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters = {}; - }; - static_assert( sizeof( DisplayModeCreateInfoKHR ) == sizeof( VkDisplayModeCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayModeCreateInfoKHR; - }; - - class DisplayModeKHR - { - public: - using CType = VkDisplayModeKHR; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDisplayModeKHR; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDisplayModeKHR; - - public: - VULKAN_HPP_CONSTEXPR DisplayModeKHR() = default; - VULKAN_HPP_CONSTEXPR DisplayModeKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT DisplayModeKHR( VkDisplayModeKHR displayModeKHR ) VULKAN_HPP_NOEXCEPT - : m_displayModeKHR( displayModeKHR ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DisplayModeKHR & operator=( VkDisplayModeKHR displayModeKHR ) VULKAN_HPP_NOEXCEPT - { - m_displayModeKHR = displayModeKHR; - return *this; - } -#endif - - DisplayModeKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_displayModeKHR = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayModeKHR const & ) const = default; -#else - bool operator==( DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR == rhs.m_displayModeKHR; - } - - bool operator!=( DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR != rhs.m_displayModeKHR; - } - - bool operator<( DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR < rhs.m_displayModeKHR; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayModeKHR() const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_displayModeKHR == VK_NULL_HANDLE; - } - - private: - VkDisplayModeKHR m_displayModeKHR = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DisplayModeKHR ) == sizeof( VkDisplayModeKHR ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct ExtensionProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - ExtensionProperties( std::array const & extensionName_ = {}, - uint32_t specVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : extensionName( extensionName_ ) - , specVersion( specVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 ExtensionProperties( ExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExtensionProperties( VkExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExtensionProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExtensionProperties & - operator=( ExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExtensionProperties & operator=( VkExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExtensionProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExtensionProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExtensionProperties const & ) const = default; -#else - bool operator==( ExtensionProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( extensionName == rhs.extensionName ) && ( specVersion == rhs.specVersion ); - } - - bool operator!=( ExtensionProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ArrayWrapper1D extensionName = {}; - uint32_t specVersion = {}; - }; - static_assert( sizeof( ExtensionProperties ) == sizeof( VkExtensionProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct LayerProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - LayerProperties( std::array const & layerName_ = {}, - uint32_t specVersion_ = {}, - uint32_t implementationVersion_ = {}, - std::array const & description_ = {} ) VULKAN_HPP_NOEXCEPT - : layerName( layerName_ ) - , specVersion( specVersion_ ) - , implementationVersion( implementationVersion_ ) - , description( description_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 LayerProperties( LayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - LayerProperties( VkLayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : LayerProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 LayerProperties & operator=( LayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - LayerProperties & operator=( VkLayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkLayerProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkLayerProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( LayerProperties const & ) const = default; -#else - bool operator==( LayerProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( layerName == rhs.layerName ) && ( specVersion == rhs.specVersion ) && - ( implementationVersion == rhs.implementationVersion ) && ( description == rhs.description ); - } - - bool operator!=( LayerProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ArrayWrapper1D layerName = {}; - uint32_t specVersion = {}; - uint32_t implementationVersion = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - }; - static_assert( sizeof( LayerProperties ) == sizeof( VkLayerProperties ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PerformanceCounterKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceCounterKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PerformanceCounterKHR( - VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR unit_ = VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR::eGeneric, - VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR scope_ = - VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR::eCommandBuffer, - VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR storage_ = - VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR::eInt32, - std::array const & uuid_ = {} ) VULKAN_HPP_NOEXCEPT - : unit( unit_ ) - , scope( scope_ ) - , storage( storage_ ) - , uuid( uuid_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PerformanceCounterKHR( PerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceCounterKHR( VkPerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceCounterKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceCounterKHR & - operator=( PerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceCounterKHR & operator=( VkPerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPerformanceCounterKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceCounterKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceCounterKHR const & ) const = default; -#else - bool operator==( PerformanceCounterKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( unit == rhs.unit ) && ( scope == rhs.scope ) && - ( storage == rhs.storage ) && ( uuid == rhs.uuid ); - } - - bool operator!=( PerformanceCounterKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceCounterKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR unit = VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR::eGeneric; - VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR scope = - VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR::eCommandBuffer; - VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR storage = - VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR::eInt32; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D uuid = {}; - }; - static_assert( sizeof( PerformanceCounterKHR ) == sizeof( VkPerformanceCounterKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceCounterKHR; - }; - - struct PerformanceCounterDescriptionKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceCounterDescriptionKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PerformanceCounterDescriptionKHR( - VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionFlagsKHR flags_ = {}, - std::array const & name_ = {}, - std::array const & category_ = {}, - std::array const & description_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , name( name_ ) - , category( category_ ) - , description( description_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PerformanceCounterDescriptionKHR( PerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceCounterDescriptionKHR( VkPerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceCounterDescriptionKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceCounterDescriptionKHR & - operator=( PerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceCounterDescriptionKHR & operator=( VkPerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPerformanceCounterDescriptionKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceCounterDescriptionKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceCounterDescriptionKHR const & ) const = default; -#else - bool operator==( PerformanceCounterDescriptionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( name == rhs.name ) && - ( category == rhs.category ) && ( description == rhs.description ); - } - - bool operator!=( PerformanceCounterDescriptionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceCounterDescriptionKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D category = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - }; - static_assert( sizeof( PerformanceCounterDescriptionKHR ) == sizeof( VkPerformanceCounterDescriptionKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceCounterDescriptionKHR; - }; - - struct DisplayModePropertiesKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ = {}, - VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters_ = {} ) VULKAN_HPP_NOEXCEPT - : displayMode( displayMode_ ) - , parameters( parameters_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayModePropertiesKHR( DisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModePropertiesKHR( VkDisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayModePropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayModePropertiesKHR & - operator=( DisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModePropertiesKHR & operator=( VkDisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayModePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayModePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayModePropertiesKHR const & ) const = default; -#else - bool operator==( DisplayModePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( displayMode == rhs.displayMode ) && ( parameters == rhs.parameters ); - } - - bool operator!=( DisplayModePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode = {}; - VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters = {}; - }; - static_assert( sizeof( DisplayModePropertiesKHR ) == sizeof( VkDisplayModePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DisplayModeProperties2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayModeProperties2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayModeProperties2KHR( - VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR displayModeProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : displayModeProperties( displayModeProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplayModeProperties2KHR( DisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeProperties2KHR( VkDisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayModeProperties2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayModeProperties2KHR & - operator=( DisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayModeProperties2KHR & operator=( VkDisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayModeProperties2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayModeProperties2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayModeProperties2KHR const & ) const = default; -#else - bool operator==( DisplayModeProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( displayModeProperties == rhs.displayModeProperties ); - } - - bool operator!=( DisplayModeProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayModeProperties2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR displayModeProperties = {}; - }; - static_assert( sizeof( DisplayModeProperties2KHR ) == sizeof( VkDisplayModeProperties2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayModeProperties2KHR; - }; - - struct DisplayPlaneInfo2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneInfo2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPlaneInfo2KHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode_ = {}, - uint32_t planeIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : mode( mode_ ) - , planeIndex( planeIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayPlaneInfo2KHR( DisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneInfo2KHR( VkDisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPlaneInfo2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPlaneInfo2KHR & - operator=( DisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneInfo2KHR & operator=( VkDisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayPlaneInfo2KHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplayPlaneInfo2KHR & setMode( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - DisplayPlaneInfo2KHR & setPlaneIndex( uint32_t planeIndex_ ) VULKAN_HPP_NOEXCEPT - { - planeIndex = planeIndex_; - return *this; - } - - operator VkDisplayPlaneInfo2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPlaneInfo2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPlaneInfo2KHR const & ) const = default; -#else - bool operator==( DisplayPlaneInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( mode == rhs.mode ) && - ( planeIndex == rhs.planeIndex ); - } - - bool operator!=( DisplayPlaneInfo2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneInfo2KHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayModeKHR mode = {}; - uint32_t planeIndex = {}; - }; - static_assert( sizeof( DisplayPlaneInfo2KHR ) == sizeof( VkDisplayPlaneInfo2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayPlaneInfo2KHR; - }; - - struct DisplayPlaneCapabilitiesKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagsKHR supportedAlpha_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D minSrcPosition_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D maxSrcPosition_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minSrcExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxSrcExtent_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D minDstPosition_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D maxDstPosition_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minDstExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxDstExtent_ = {} ) VULKAN_HPP_NOEXCEPT - : supportedAlpha( supportedAlpha_ ) - , minSrcPosition( minSrcPosition_ ) - , maxSrcPosition( maxSrcPosition_ ) - , minSrcExtent( minSrcExtent_ ) - , maxSrcExtent( maxSrcExtent_ ) - , minDstPosition( minDstPosition_ ) - , maxDstPosition( maxDstPosition_ ) - , minDstExtent( minDstExtent_ ) - , maxDstExtent( maxDstExtent_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplayPlaneCapabilitiesKHR( DisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneCapabilitiesKHR( VkDisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPlaneCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPlaneCapabilitiesKHR & - operator=( DisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneCapabilitiesKHR & operator=( VkDisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayPlaneCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPlaneCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPlaneCapabilitiesKHR const & ) const = default; -#else - bool operator==( DisplayPlaneCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( supportedAlpha == rhs.supportedAlpha ) && ( minSrcPosition == rhs.minSrcPosition ) && - ( maxSrcPosition == rhs.maxSrcPosition ) && ( minSrcExtent == rhs.minSrcExtent ) && - ( maxSrcExtent == rhs.maxSrcExtent ) && ( minDstPosition == rhs.minDstPosition ) && - ( maxDstPosition == rhs.maxDstPosition ) && ( minDstExtent == rhs.minDstExtent ) && - ( maxDstExtent == rhs.maxDstExtent ); - } - - bool operator!=( DisplayPlaneCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagsKHR supportedAlpha = {}; - VULKAN_HPP_NAMESPACE::Offset2D minSrcPosition = {}; - VULKAN_HPP_NAMESPACE::Offset2D maxSrcPosition = {}; - VULKAN_HPP_NAMESPACE::Extent2D minSrcExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxSrcExtent = {}; - VULKAN_HPP_NAMESPACE::Offset2D minDstPosition = {}; - VULKAN_HPP_NAMESPACE::Offset2D maxDstPosition = {}; - VULKAN_HPP_NAMESPACE::Extent2D minDstExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxDstExtent = {}; - }; - static_assert( sizeof( DisplayPlaneCapabilitiesKHR ) == sizeof( VkDisplayPlaneCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DisplayPlaneCapabilities2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneCapabilities2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPlaneCapabilities2KHR( - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities_ = {} ) VULKAN_HPP_NOEXCEPT - : capabilities( capabilities_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplayPlaneCapabilities2KHR( DisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneCapabilities2KHR( VkDisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPlaneCapabilities2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPlaneCapabilities2KHR & - operator=( DisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneCapabilities2KHR & operator=( VkDisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayPlaneCapabilities2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPlaneCapabilities2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPlaneCapabilities2KHR const & ) const = default; -#else - bool operator==( DisplayPlaneCapabilities2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( capabilities == rhs.capabilities ); - } - - bool operator!=( DisplayPlaneCapabilities2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneCapabilities2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities = {}; - }; - static_assert( sizeof( DisplayPlaneCapabilities2KHR ) == sizeof( VkDisplayPlaneCapabilities2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayPlaneCapabilities2KHR; - }; - - struct DisplayPlanePropertiesKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPlanePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR currentDisplay_ = {}, - uint32_t currentStackIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : currentDisplay( currentDisplay_ ) - , currentStackIndex( currentStackIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplayPlanePropertiesKHR( DisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlanePropertiesKHR( VkDisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPlanePropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPlanePropertiesKHR & - operator=( DisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlanePropertiesKHR & operator=( VkDisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayPlanePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPlanePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPlanePropertiesKHR const & ) const = default; -#else - bool operator==( DisplayPlanePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( currentDisplay == rhs.currentDisplay ) && ( currentStackIndex == rhs.currentStackIndex ); - } - - bool operator!=( DisplayPlanePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DisplayKHR currentDisplay = {}; - uint32_t currentStackIndex = {}; - }; - static_assert( sizeof( DisplayPlanePropertiesKHR ) == sizeof( VkDisplayPlanePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DisplayPlaneProperties2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneProperties2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPlaneProperties2KHR( - VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR displayPlaneProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : displayPlaneProperties( displayPlaneProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplayPlaneProperties2KHR( DisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneProperties2KHR( VkDisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPlaneProperties2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPlaneProperties2KHR & - operator=( DisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPlaneProperties2KHR & operator=( VkDisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayPlaneProperties2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPlaneProperties2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPlaneProperties2KHR const & ) const = default; -#else - bool operator==( DisplayPlaneProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( displayPlaneProperties == rhs.displayPlaneProperties ); - } - - bool operator!=( DisplayPlaneProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneProperties2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR displayPlaneProperties = {}; - }; - static_assert( sizeof( DisplayPlaneProperties2KHR ) == sizeof( VkDisplayPlaneProperties2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayPlaneProperties2KHR; - }; - - struct DisplayPropertiesKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayPropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display_ = {}, - const char * displayName_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D physicalDimensions_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D physicalResolution_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 planeReorderPossible_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 persistentContent_ = {} ) VULKAN_HPP_NOEXCEPT - : display( display_ ) - , displayName( displayName_ ) - , physicalDimensions( physicalDimensions_ ) - , physicalResolution( physicalResolution_ ) - , supportedTransforms( supportedTransforms_ ) - , planeReorderPossible( planeReorderPossible_ ) - , persistentContent( persistentContent_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayPropertiesKHR( DisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPropertiesKHR( VkDisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPropertiesKHR & - operator=( DisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPropertiesKHR & operator=( VkDisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPropertiesKHR const & ) const = default; -#else - bool operator==( DisplayPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( display == rhs.display ) && ( displayName == rhs.displayName ) && - ( physicalDimensions == rhs.physicalDimensions ) && ( physicalResolution == rhs.physicalResolution ) && - ( supportedTransforms == rhs.supportedTransforms ) && - ( planeReorderPossible == rhs.planeReorderPossible ) && ( persistentContent == rhs.persistentContent ); - } - - bool operator!=( DisplayPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DisplayKHR display = {}; - const char * displayName = {}; - VULKAN_HPP_NAMESPACE::Extent2D physicalDimensions = {}; - VULKAN_HPP_NAMESPACE::Extent2D physicalResolution = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; - VULKAN_HPP_NAMESPACE::Bool32 planeReorderPossible = {}; - VULKAN_HPP_NAMESPACE::Bool32 persistentContent = {}; - }; - static_assert( sizeof( DisplayPropertiesKHR ) == sizeof( VkDisplayPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DisplayProperties2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayProperties2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplayProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR displayProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : displayProperties( displayProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayProperties2KHR( DisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayProperties2KHR( VkDisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayProperties2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayProperties2KHR & - operator=( DisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayProperties2KHR & operator=( VkDisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayProperties2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayProperties2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayProperties2KHR const & ) const = default; -#else - bool operator==( DisplayProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( displayProperties == rhs.displayProperties ); - } - - bool operator!=( DisplayProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayProperties2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR displayProperties = {}; - }; - static_assert( sizeof( DisplayProperties2KHR ) == sizeof( VkDisplayProperties2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayProperties2KHR; - }; - - struct PhysicalDeviceExternalBufferInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalBufferInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalBufferInfo( - VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , usage( usage_ ) - , handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceExternalBufferInfo( PhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalBufferInfo( VkPhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExternalBufferInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalBufferInfo & - operator=( PhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalBufferInfo & operator=( VkPhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExternalBufferInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExternalBufferInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PhysicalDeviceExternalBufferInfo & setUsage( VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - PhysicalDeviceExternalBufferInfo & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkPhysicalDeviceExternalBufferInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExternalBufferInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExternalBufferInfo const & ) const = default; -#else - bool operator==( PhysicalDeviceExternalBufferInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( usage == rhs.usage ) && - ( handleType == rhs.handleType ); - } - - bool operator!=( PhysicalDeviceExternalBufferInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalBufferInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::BufferCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::BufferUsageFlags usage = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( PhysicalDeviceExternalBufferInfo ) == sizeof( VkPhysicalDeviceExternalBufferInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExternalBufferInfo; - }; - using PhysicalDeviceExternalBufferInfoKHR = PhysicalDeviceExternalBufferInfo; - - struct ExternalMemoryProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalMemoryProperties( - VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlags externalMemoryFeatures_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags compatibleHandleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : externalMemoryFeatures( externalMemoryFeatures_ ) - , exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ) - , compatibleHandleTypes( compatibleHandleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR ExternalMemoryProperties( ExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryProperties( VkExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalMemoryProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalMemoryProperties & - operator=( ExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryProperties & operator=( VkExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalMemoryProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalMemoryProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalMemoryProperties const & ) const = default; -#else - bool operator==( ExternalMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( externalMemoryFeatures == rhs.externalMemoryFeatures ) && - ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) && - ( compatibleHandleTypes == rhs.compatibleHandleTypes ); - } - - bool operator!=( ExternalMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlags externalMemoryFeatures = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags compatibleHandleTypes = {}; - }; - static_assert( sizeof( ExternalMemoryProperties ) == sizeof( VkExternalMemoryProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - using ExternalMemoryPropertiesKHR = ExternalMemoryProperties; - - struct ExternalBufferProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalBufferProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalBufferProperties( - VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : externalMemoryProperties( externalMemoryProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR ExternalBufferProperties( ExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalBufferProperties( VkExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalBufferProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalBufferProperties & - operator=( ExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalBufferProperties & operator=( VkExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalBufferProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalBufferProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalBufferProperties const & ) const = default; -#else - bool operator==( ExternalBufferProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( externalMemoryProperties == rhs.externalMemoryProperties ); - } - - bool operator!=( ExternalBufferProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalBufferProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties = {}; - }; - static_assert( sizeof( ExternalBufferProperties ) == sizeof( VkExternalBufferProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalBufferProperties; - }; - using ExternalBufferPropertiesKHR = ExternalBufferProperties; - - struct PhysicalDeviceExternalFenceInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalFenceInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalFenceInfo( - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceExternalFenceInfo( PhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalFenceInfo( VkPhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExternalFenceInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalFenceInfo & - operator=( PhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalFenceInfo & operator=( VkPhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExternalFenceInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExternalFenceInfo & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkPhysicalDeviceExternalFenceInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExternalFenceInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExternalFenceInfo const & ) const = default; -#else - bool operator==( PhysicalDeviceExternalFenceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ); - } - - bool operator!=( PhysicalDeviceExternalFenceInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalFenceInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( PhysicalDeviceExternalFenceInfo ) == sizeof( VkPhysicalDeviceExternalFenceInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExternalFenceInfo; - }; - using PhysicalDeviceExternalFenceInfoKHR = PhysicalDeviceExternalFenceInfo; - - struct ExternalFenceProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalFenceProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalFenceProperties( - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags exportFromImportedHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags compatibleHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlags externalFenceFeatures_ = {} ) VULKAN_HPP_NOEXCEPT - : exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ) - , compatibleHandleTypes( compatibleHandleTypes_ ) - , externalFenceFeatures( externalFenceFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR ExternalFenceProperties( ExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalFenceProperties( VkExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalFenceProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalFenceProperties & - operator=( ExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalFenceProperties & operator=( VkExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalFenceProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalFenceProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalFenceProperties const & ) const = default; -#else - bool operator==( ExternalFenceProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) && - ( compatibleHandleTypes == rhs.compatibleHandleTypes ) && - ( externalFenceFeatures == rhs.externalFenceFeatures ); - } - - bool operator!=( ExternalFenceProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalFenceProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags exportFromImportedHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags compatibleHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlags externalFenceFeatures = {}; - }; - static_assert( sizeof( ExternalFenceProperties ) == sizeof( VkExternalFenceProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalFenceProperties; - }; - using ExternalFencePropertiesKHR = ExternalFenceProperties; - - struct ImageFormatProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageFormatProperties( VULKAN_HPP_NAMESPACE::Extent3D maxExtent_ = {}, - uint32_t maxMipLevels_ = {}, - uint32_t maxArrayLayers_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize maxResourceSize_ = {} ) VULKAN_HPP_NOEXCEPT - : maxExtent( maxExtent_ ) - , maxMipLevels( maxMipLevels_ ) - , maxArrayLayers( maxArrayLayers_ ) - , sampleCounts( sampleCounts_ ) - , maxResourceSize( maxResourceSize_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageFormatProperties( ImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatProperties( VkImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageFormatProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageFormatProperties & - operator=( ImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatProperties & operator=( VkImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkImageFormatProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageFormatProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageFormatProperties const & ) const = default; -#else - bool operator==( ImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( maxExtent == rhs.maxExtent ) && ( maxMipLevels == rhs.maxMipLevels ) && - ( maxArrayLayers == rhs.maxArrayLayers ) && ( sampleCounts == rhs.sampleCounts ) && - ( maxResourceSize == rhs.maxResourceSize ); - } - - bool operator!=( ImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Extent3D maxExtent = {}; - uint32_t maxMipLevels = {}; - uint32_t maxArrayLayers = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts = {}; - VULKAN_HPP_NAMESPACE::DeviceSize maxResourceSize = {}; - }; - static_assert( sizeof( ImageFormatProperties ) == sizeof( VkImageFormatProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ExternalImageFormatPropertiesNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalImageFormatPropertiesNV( - VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagsNV externalMemoryFeatures_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : imageFormatProperties( imageFormatProperties_ ) - , externalMemoryFeatures( externalMemoryFeatures_ ) - , exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ) - , compatibleHandleTypes( compatibleHandleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalImageFormatPropertiesNV( ExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalImageFormatPropertiesNV( VkExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalImageFormatPropertiesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalImageFormatPropertiesNV & - operator=( ExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalImageFormatPropertiesNV & operator=( VkExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalImageFormatPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalImageFormatPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalImageFormatPropertiesNV const & ) const = default; -#else - bool operator==( ExternalImageFormatPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( imageFormatProperties == rhs.imageFormatProperties ) && - ( externalMemoryFeatures == rhs.externalMemoryFeatures ) && - ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) && - ( compatibleHandleTypes == rhs.compatibleHandleTypes ); - } - - bool operator!=( ExternalImageFormatPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagsNV externalMemoryFeatures = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes = {}; - }; - static_assert( sizeof( ExternalImageFormatPropertiesNV ) == sizeof( VkExternalImageFormatPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceExternalSemaphoreInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExternalSemaphoreInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo( - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo( PhysicalDeviceExternalSemaphoreInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalSemaphoreInfo( VkPhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExternalSemaphoreInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalSemaphoreInfo & - operator=( PhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalSemaphoreInfo & - operator=( VkPhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExternalSemaphoreInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExternalSemaphoreInfo & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkPhysicalDeviceExternalSemaphoreInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExternalSemaphoreInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExternalSemaphoreInfo const & ) const = default; -#else - bool operator==( PhysicalDeviceExternalSemaphoreInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ); - } - - bool operator!=( PhysicalDeviceExternalSemaphoreInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( PhysicalDeviceExternalSemaphoreInfo ) == sizeof( VkPhysicalDeviceExternalSemaphoreInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExternalSemaphoreInfo; - }; - using PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo; - - struct ExternalSemaphoreProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalSemaphoreProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalSemaphoreProperties( - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags compatibleHandleTypes_ = {}, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlags externalSemaphoreFeatures_ = {} ) VULKAN_HPP_NOEXCEPT - : exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ) - , compatibleHandleTypes( compatibleHandleTypes_ ) - , externalSemaphoreFeatures( externalSemaphoreFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalSemaphoreProperties( ExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalSemaphoreProperties( VkExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalSemaphoreProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalSemaphoreProperties & - operator=( ExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalSemaphoreProperties & operator=( VkExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalSemaphoreProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalSemaphoreProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalSemaphoreProperties const & ) const = default; -#else - bool operator==( ExternalSemaphoreProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) && - ( compatibleHandleTypes == rhs.compatibleHandleTypes ) && - ( externalSemaphoreFeatures == rhs.externalSemaphoreFeatures ); - } - - bool operator!=( ExternalSemaphoreProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalSemaphoreProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags compatibleHandleTypes = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlags externalSemaphoreFeatures = {}; - }; - static_assert( sizeof( ExternalSemaphoreProperties ) == sizeof( VkExternalSemaphoreProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalSemaphoreProperties; - }; - using ExternalSemaphorePropertiesKHR = ExternalSemaphoreProperties; - - struct PhysicalDeviceFeatures2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFeatures2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceFeatures2( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features_ = {} ) VULKAN_HPP_NOEXCEPT - : features( features_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2( PhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFeatures2( VkPhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFeatures2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFeatures2 & - operator=( PhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFeatures2 & operator=( VkPhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFeatures2 & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFeatures2 & - setFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures const & features_ ) VULKAN_HPP_NOEXCEPT - { - features = features_; - return *this; - } - - operator VkPhysicalDeviceFeatures2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFeatures2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFeatures2 const & ) const = default; -#else - bool operator==( PhysicalDeviceFeatures2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( features == rhs.features ); - } - - bool operator!=( PhysicalDeviceFeatures2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFeatures2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features = {}; - }; - static_assert( sizeof( PhysicalDeviceFeatures2 ) == sizeof( VkPhysicalDeviceFeatures2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFeatures2; - }; - using PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2; - - struct FormatProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - FormatProperties( VULKAN_HPP_NAMESPACE::FormatFeatureFlags linearTilingFeatures_ = {}, - VULKAN_HPP_NAMESPACE::FormatFeatureFlags optimalTilingFeatures_ = {}, - VULKAN_HPP_NAMESPACE::FormatFeatureFlags bufferFeatures_ = {} ) VULKAN_HPP_NOEXCEPT - : linearTilingFeatures( linearTilingFeatures_ ) - , optimalTilingFeatures( optimalTilingFeatures_ ) - , bufferFeatures( bufferFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR FormatProperties( FormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FormatProperties( VkFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : FormatProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FormatProperties & operator=( FormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FormatProperties & operator=( VkFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkFormatProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFormatProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FormatProperties const & ) const = default; -#else - bool operator==( FormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( linearTilingFeatures == rhs.linearTilingFeatures ) && - ( optimalTilingFeatures == rhs.optimalTilingFeatures ) && ( bufferFeatures == rhs.bufferFeatures ); - } - - bool operator!=( FormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::FormatFeatureFlags linearTilingFeatures = {}; - VULKAN_HPP_NAMESPACE::FormatFeatureFlags optimalTilingFeatures = {}; - VULKAN_HPP_NAMESPACE::FormatFeatureFlags bufferFeatures = {}; - }; - static_assert( sizeof( FormatProperties ) == sizeof( VkFormatProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct FormatProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFormatProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - FormatProperties2( VULKAN_HPP_NAMESPACE::FormatProperties formatProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : formatProperties( formatProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR FormatProperties2( FormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FormatProperties2( VkFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : FormatProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FormatProperties2 & - operator=( FormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FormatProperties2 & operator=( VkFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkFormatProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFormatProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FormatProperties2 const & ) const = default; -#else - bool operator==( FormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( formatProperties == rhs.formatProperties ); - } - - bool operator!=( FormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFormatProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::FormatProperties formatProperties = {}; - }; - static_assert( sizeof( FormatProperties2 ) == sizeof( VkFormatProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FormatProperties2; - }; - using FormatProperties2KHR = FormatProperties2; - - struct PhysicalDeviceFragmentShadingRateKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShadingRateKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceFragmentShadingRateKHR( VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D fragmentSize_ = {} ) VULKAN_HPP_NOEXCEPT - : sampleCounts( sampleCounts_ ) - , fragmentSize( fragmentSize_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateKHR( PhysicalDeviceFragmentShadingRateKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateKHR( VkPhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShadingRateKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShadingRateKHR & - operator=( PhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateKHR & - operator=( VkPhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceFragmentShadingRateKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShadingRateKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShadingRateKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShadingRateKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( sampleCounts == rhs.sampleCounts ) && - ( fragmentSize == rhs.fragmentSize ); - } - - bool operator!=( PhysicalDeviceFragmentShadingRateKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts = {}; - VULKAN_HPP_NAMESPACE::Extent2D fragmentSize = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShadingRateKHR ) == sizeof( VkPhysicalDeviceFragmentShadingRateKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShadingRateKHR; - }; - - struct PhysicalDeviceImageFormatInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageFormatInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageFormatInfo2( - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::ImageType type_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, - VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - , type( type_ ) - , tiling( tiling_ ) - , usage( usage_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceImageFormatInfo2( PhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageFormatInfo2( VkPhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceImageFormatInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageFormatInfo2 & - operator=( PhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageFormatInfo2 & operator=( VkPhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setType( VULKAN_HPP_NAMESPACE::ImageType type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT - { - tiling = tiling_; - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - PhysicalDeviceImageFormatInfo2 & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkPhysicalDeviceImageFormatInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceImageFormatInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceImageFormatInfo2 const & ) const = default; -#else - bool operator==( PhysicalDeviceImageFormatInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( format == rhs.format ) && ( type == rhs.type ) && - ( tiling == rhs.tiling ) && ( usage == rhs.usage ) && ( flags == rhs.flags ); - } - - bool operator!=( PhysicalDeviceImageFormatInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageFormatInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::ImageType type = VULKAN_HPP_NAMESPACE::ImageType::e1D; - VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; - }; - static_assert( sizeof( PhysicalDeviceImageFormatInfo2 ) == sizeof( VkPhysicalDeviceImageFormatInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceImageFormatInfo2; - }; - using PhysicalDeviceImageFormatInfo2KHR = PhysicalDeviceImageFormatInfo2; - - struct ImageFormatProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageFormatProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageFormatProperties2( - VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : imageFormatProperties( imageFormatProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageFormatProperties2( ImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatProperties2( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageFormatProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageFormatProperties2 & - operator=( ImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatProperties2 & operator=( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkImageFormatProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageFormatProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageFormatProperties2 const & ) const = default; -#else - bool operator==( ImageFormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageFormatProperties == rhs.imageFormatProperties ); - } - - bool operator!=( ImageFormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties = {}; - }; - static_assert( sizeof( ImageFormatProperties2 ) == sizeof( VkImageFormatProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageFormatProperties2; - }; - using ImageFormatProperties2KHR = ImageFormatProperties2; - - struct MemoryType - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryType( VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags_ = {}, - uint32_t heapIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : propertyFlags( propertyFlags_ ) - , heapIndex( heapIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryType( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryType( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryType( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryType & operator=( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryType & operator=( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryType const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryType &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryType const & ) const = default; -#else - bool operator==( MemoryType const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( propertyFlags == rhs.propertyFlags ) && ( heapIndex == rhs.heapIndex ); - } - - bool operator!=( MemoryType const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags = {}; - uint32_t heapIndex = {}; - }; - static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct MemoryHeap - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryHeap( VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::MemoryHeapFlags flags_ = {} ) VULKAN_HPP_NOEXCEPT - : size( size_ ) - , flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryHeap( MemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryHeap( VkMemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryHeap( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryHeap & operator=( MemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryHeap & operator=( VkMemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryHeap const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryHeap &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryHeap const & ) const = default; -#else - bool operator==( MemoryHeap const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( size == rhs.size ) && ( flags == rhs.flags ); - } - - bool operator!=( MemoryHeap const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::MemoryHeapFlags flags = {}; - }; - static_assert( sizeof( MemoryHeap ) == sizeof( VkMemoryHeap ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceMemoryProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties( - uint32_t memoryTypeCount_ = {}, - std::array const & memoryTypes_ = {}, - uint32_t memoryHeapCount_ = {}, - std::array const & memoryHeaps_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryTypeCount( memoryTypeCount_ ) - , memoryTypes( memoryTypes_ ) - , memoryHeapCount( memoryHeapCount_ ) - , memoryHeaps( memoryHeaps_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceMemoryProperties( PhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryProperties( VkPhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMemoryProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties & - operator=( PhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryProperties & operator=( VkPhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMemoryProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMemoryProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMemoryProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( memoryTypeCount == rhs.memoryTypeCount ) && ( memoryTypes == rhs.memoryTypes ) && - ( memoryHeapCount == rhs.memoryHeapCount ) && ( memoryHeaps == rhs.memoryHeaps ); - } - - bool operator!=( PhysicalDeviceMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t memoryTypeCount = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D memoryTypes = {}; - uint32_t memoryHeapCount = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D memoryHeaps = {}; - }; - static_assert( sizeof( PhysicalDeviceMemoryProperties ) == sizeof( VkPhysicalDeviceMemoryProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceMemoryProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMemoryProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties2( - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryProperties( memoryProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceMemoryProperties2( PhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryProperties2( VkPhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMemoryProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties2 & - operator=( PhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryProperties2 & operator=( VkPhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMemoryProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMemoryProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMemoryProperties2 const & ) const = default; -#else - bool operator==( PhysicalDeviceMemoryProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryProperties == rhs.memoryProperties ); - } - - bool operator!=( PhysicalDeviceMemoryProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties = {}; - }; - static_assert( sizeof( PhysicalDeviceMemoryProperties2 ) == sizeof( VkPhysicalDeviceMemoryProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMemoryProperties2; - }; - using PhysicalDeviceMemoryProperties2KHR = PhysicalDeviceMemoryProperties2; - - struct MultisamplePropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMultisamplePropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize_ = {} ) VULKAN_HPP_NOEXCEPT - : maxSampleLocationGridSize( maxSampleLocationGridSize_ ) - {} - - VULKAN_HPP_CONSTEXPR MultisamplePropertiesEXT( MultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MultisamplePropertiesEXT( VkMultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : MultisamplePropertiesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MultisamplePropertiesEXT & - operator=( MultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MultisamplePropertiesEXT & operator=( VkMultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMultisamplePropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMultisamplePropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MultisamplePropertiesEXT const & ) const = default; -#else - bool operator==( MultisamplePropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize ); - } - - bool operator!=( MultisamplePropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMultisamplePropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize = {}; - }; - static_assert( sizeof( MultisamplePropertiesEXT ) == sizeof( VkMultisamplePropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MultisamplePropertiesEXT; - }; - - struct PhysicalDeviceLimits - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceLimits( uint32_t maxImageDimension1D_ = {}, - uint32_t maxImageDimension2D_ = {}, - uint32_t maxImageDimension3D_ = {}, - uint32_t maxImageDimensionCube_ = {}, - uint32_t maxImageArrayLayers_ = {}, - uint32_t maxTexelBufferElements_ = {}, - uint32_t maxUniformBufferRange_ = {}, - uint32_t maxStorageBufferRange_ = {}, - uint32_t maxPushConstantsSize_ = {}, - uint32_t maxMemoryAllocationCount_ = {}, - uint32_t maxSamplerAllocationCount_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize bufferImageGranularity_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize sparseAddressSpaceSize_ = {}, - uint32_t maxBoundDescriptorSets_ = {}, - uint32_t maxPerStageDescriptorSamplers_ = {}, - uint32_t maxPerStageDescriptorUniformBuffers_ = {}, - uint32_t maxPerStageDescriptorStorageBuffers_ = {}, - uint32_t maxPerStageDescriptorSampledImages_ = {}, - uint32_t maxPerStageDescriptorStorageImages_ = {}, - uint32_t maxPerStageDescriptorInputAttachments_ = {}, - uint32_t maxPerStageResources_ = {}, - uint32_t maxDescriptorSetSamplers_ = {}, - uint32_t maxDescriptorSetUniformBuffers_ = {}, - uint32_t maxDescriptorSetUniformBuffersDynamic_ = {}, - uint32_t maxDescriptorSetStorageBuffers_ = {}, - uint32_t maxDescriptorSetStorageBuffersDynamic_ = {}, - uint32_t maxDescriptorSetSampledImages_ = {}, - uint32_t maxDescriptorSetStorageImages_ = {}, - uint32_t maxDescriptorSetInputAttachments_ = {}, - uint32_t maxVertexInputAttributes_ = {}, - uint32_t maxVertexInputBindings_ = {}, - uint32_t maxVertexInputAttributeOffset_ = {}, - uint32_t maxVertexInputBindingStride_ = {}, - uint32_t maxVertexOutputComponents_ = {}, - uint32_t maxTessellationGenerationLevel_ = {}, - uint32_t maxTessellationPatchSize_ = {}, - uint32_t maxTessellationControlPerVertexInputComponents_ = {}, - uint32_t maxTessellationControlPerVertexOutputComponents_ = {}, - uint32_t maxTessellationControlPerPatchOutputComponents_ = {}, - uint32_t maxTessellationControlTotalOutputComponents_ = {}, - uint32_t maxTessellationEvaluationInputComponents_ = {}, - uint32_t maxTessellationEvaluationOutputComponents_ = {}, - uint32_t maxGeometryShaderInvocations_ = {}, - uint32_t maxGeometryInputComponents_ = {}, - uint32_t maxGeometryOutputComponents_ = {}, - uint32_t maxGeometryOutputVertices_ = {}, - uint32_t maxGeometryTotalOutputComponents_ = {}, - uint32_t maxFragmentInputComponents_ = {}, - uint32_t maxFragmentOutputAttachments_ = {}, - uint32_t maxFragmentDualSrcAttachments_ = {}, - uint32_t maxFragmentCombinedOutputResources_ = {}, - uint32_t maxComputeSharedMemorySize_ = {}, - std::array const & maxComputeWorkGroupCount_ = {}, - uint32_t maxComputeWorkGroupInvocations_ = {}, - std::array const & maxComputeWorkGroupSize_ = {}, - uint32_t subPixelPrecisionBits_ = {}, - uint32_t subTexelPrecisionBits_ = {}, - uint32_t mipmapPrecisionBits_ = {}, - uint32_t maxDrawIndexedIndexValue_ = {}, - uint32_t maxDrawIndirectCount_ = {}, - float maxSamplerLodBias_ = {}, - float maxSamplerAnisotropy_ = {}, - uint32_t maxViewports_ = {}, - std::array const & maxViewportDimensions_ = {}, - std::array const & viewportBoundsRange_ = {}, - uint32_t viewportSubPixelBits_ = {}, - size_t minMemoryMapAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize minTexelBufferOffsetAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize minUniformBufferOffsetAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize minStorageBufferOffsetAlignment_ = {}, - int32_t minTexelOffset_ = {}, - uint32_t maxTexelOffset_ = {}, - int32_t minTexelGatherOffset_ = {}, - uint32_t maxTexelGatherOffset_ = {}, - float minInterpolationOffset_ = {}, - float maxInterpolationOffset_ = {}, - uint32_t subPixelInterpolationOffsetBits_ = {}, - uint32_t maxFramebufferWidth_ = {}, - uint32_t maxFramebufferHeight_ = {}, - uint32_t maxFramebufferLayers_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferColorSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferDepthSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferStencilSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferNoAttachmentsSampleCounts_ = {}, - uint32_t maxColorAttachments_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageColorSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageIntegerSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageDepthSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageStencilSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags storageImageSampleCounts_ = {}, - uint32_t maxSampleMaskWords_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 timestampComputeAndGraphics_ = {}, - float timestampPeriod_ = {}, - uint32_t maxClipDistances_ = {}, - uint32_t maxCullDistances_ = {}, - uint32_t maxCombinedClipAndCullDistances_ = {}, - uint32_t discreteQueuePriorities_ = {}, - std::array const & pointSizeRange_ = {}, - std::array const & lineWidthRange_ = {}, - float pointSizeGranularity_ = {}, - float lineWidthGranularity_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 strictLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 standardSampleLocations_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyOffsetAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyRowPitchAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize nonCoherentAtomSize_ = {} ) VULKAN_HPP_NOEXCEPT - : maxImageDimension1D( maxImageDimension1D_ ) - , maxImageDimension2D( maxImageDimension2D_ ) - , maxImageDimension3D( maxImageDimension3D_ ) - , maxImageDimensionCube( maxImageDimensionCube_ ) - , maxImageArrayLayers( maxImageArrayLayers_ ) - , maxTexelBufferElements( maxTexelBufferElements_ ) - , maxUniformBufferRange( maxUniformBufferRange_ ) - , maxStorageBufferRange( maxStorageBufferRange_ ) - , maxPushConstantsSize( maxPushConstantsSize_ ) - , maxMemoryAllocationCount( maxMemoryAllocationCount_ ) - , maxSamplerAllocationCount( maxSamplerAllocationCount_ ) - , bufferImageGranularity( bufferImageGranularity_ ) - , sparseAddressSpaceSize( sparseAddressSpaceSize_ ) - , maxBoundDescriptorSets( maxBoundDescriptorSets_ ) - , maxPerStageDescriptorSamplers( maxPerStageDescriptorSamplers_ ) - , maxPerStageDescriptorUniformBuffers( maxPerStageDescriptorUniformBuffers_ ) - , maxPerStageDescriptorStorageBuffers( maxPerStageDescriptorStorageBuffers_ ) - , maxPerStageDescriptorSampledImages( maxPerStageDescriptorSampledImages_ ) - , maxPerStageDescriptorStorageImages( maxPerStageDescriptorStorageImages_ ) - , maxPerStageDescriptorInputAttachments( maxPerStageDescriptorInputAttachments_ ) - , maxPerStageResources( maxPerStageResources_ ) - , maxDescriptorSetSamplers( maxDescriptorSetSamplers_ ) - , maxDescriptorSetUniformBuffers( maxDescriptorSetUniformBuffers_ ) - , maxDescriptorSetUniformBuffersDynamic( maxDescriptorSetUniformBuffersDynamic_ ) - , maxDescriptorSetStorageBuffers( maxDescriptorSetStorageBuffers_ ) - , maxDescriptorSetStorageBuffersDynamic( maxDescriptorSetStorageBuffersDynamic_ ) - , maxDescriptorSetSampledImages( maxDescriptorSetSampledImages_ ) - , maxDescriptorSetStorageImages( maxDescriptorSetStorageImages_ ) - , maxDescriptorSetInputAttachments( maxDescriptorSetInputAttachments_ ) - , maxVertexInputAttributes( maxVertexInputAttributes_ ) - , maxVertexInputBindings( maxVertexInputBindings_ ) - , maxVertexInputAttributeOffset( maxVertexInputAttributeOffset_ ) - , maxVertexInputBindingStride( maxVertexInputBindingStride_ ) - , maxVertexOutputComponents( maxVertexOutputComponents_ ) - , maxTessellationGenerationLevel( maxTessellationGenerationLevel_ ) - , maxTessellationPatchSize( maxTessellationPatchSize_ ) - , maxTessellationControlPerVertexInputComponents( maxTessellationControlPerVertexInputComponents_ ) - , maxTessellationControlPerVertexOutputComponents( maxTessellationControlPerVertexOutputComponents_ ) - , maxTessellationControlPerPatchOutputComponents( maxTessellationControlPerPatchOutputComponents_ ) - , maxTessellationControlTotalOutputComponents( maxTessellationControlTotalOutputComponents_ ) - , maxTessellationEvaluationInputComponents( maxTessellationEvaluationInputComponents_ ) - , maxTessellationEvaluationOutputComponents( maxTessellationEvaluationOutputComponents_ ) - , maxGeometryShaderInvocations( maxGeometryShaderInvocations_ ) - , maxGeometryInputComponents( maxGeometryInputComponents_ ) - , maxGeometryOutputComponents( maxGeometryOutputComponents_ ) - , maxGeometryOutputVertices( maxGeometryOutputVertices_ ) - , maxGeometryTotalOutputComponents( maxGeometryTotalOutputComponents_ ) - , maxFragmentInputComponents( maxFragmentInputComponents_ ) - , maxFragmentOutputAttachments( maxFragmentOutputAttachments_ ) - , maxFragmentDualSrcAttachments( maxFragmentDualSrcAttachments_ ) - , maxFragmentCombinedOutputResources( maxFragmentCombinedOutputResources_ ) - , maxComputeSharedMemorySize( maxComputeSharedMemorySize_ ) - , maxComputeWorkGroupCount( maxComputeWorkGroupCount_ ) - , maxComputeWorkGroupInvocations( maxComputeWorkGroupInvocations_ ) - , maxComputeWorkGroupSize( maxComputeWorkGroupSize_ ) - , subPixelPrecisionBits( subPixelPrecisionBits_ ) - , subTexelPrecisionBits( subTexelPrecisionBits_ ) - , mipmapPrecisionBits( mipmapPrecisionBits_ ) - , maxDrawIndexedIndexValue( maxDrawIndexedIndexValue_ ) - , maxDrawIndirectCount( maxDrawIndirectCount_ ) - , maxSamplerLodBias( maxSamplerLodBias_ ) - , maxSamplerAnisotropy( maxSamplerAnisotropy_ ) - , maxViewports( maxViewports_ ) - , maxViewportDimensions( maxViewportDimensions_ ) - , viewportBoundsRange( viewportBoundsRange_ ) - , viewportSubPixelBits( viewportSubPixelBits_ ) - , minMemoryMapAlignment( minMemoryMapAlignment_ ) - , minTexelBufferOffsetAlignment( minTexelBufferOffsetAlignment_ ) - , minUniformBufferOffsetAlignment( minUniformBufferOffsetAlignment_ ) - , minStorageBufferOffsetAlignment( minStorageBufferOffsetAlignment_ ) - , minTexelOffset( minTexelOffset_ ) - , maxTexelOffset( maxTexelOffset_ ) - , minTexelGatherOffset( minTexelGatherOffset_ ) - , maxTexelGatherOffset( maxTexelGatherOffset_ ) - , minInterpolationOffset( minInterpolationOffset_ ) - , maxInterpolationOffset( maxInterpolationOffset_ ) - , subPixelInterpolationOffsetBits( subPixelInterpolationOffsetBits_ ) - , maxFramebufferWidth( maxFramebufferWidth_ ) - , maxFramebufferHeight( maxFramebufferHeight_ ) - , maxFramebufferLayers( maxFramebufferLayers_ ) - , framebufferColorSampleCounts( framebufferColorSampleCounts_ ) - , framebufferDepthSampleCounts( framebufferDepthSampleCounts_ ) - , framebufferStencilSampleCounts( framebufferStencilSampleCounts_ ) - , framebufferNoAttachmentsSampleCounts( framebufferNoAttachmentsSampleCounts_ ) - , maxColorAttachments( maxColorAttachments_ ) - , sampledImageColorSampleCounts( sampledImageColorSampleCounts_ ) - , sampledImageIntegerSampleCounts( sampledImageIntegerSampleCounts_ ) - , sampledImageDepthSampleCounts( sampledImageDepthSampleCounts_ ) - , sampledImageStencilSampleCounts( sampledImageStencilSampleCounts_ ) - , storageImageSampleCounts( storageImageSampleCounts_ ) - , maxSampleMaskWords( maxSampleMaskWords_ ) - , timestampComputeAndGraphics( timestampComputeAndGraphics_ ) - , timestampPeriod( timestampPeriod_ ) - , maxClipDistances( maxClipDistances_ ) - , maxCullDistances( maxCullDistances_ ) - , maxCombinedClipAndCullDistances( maxCombinedClipAndCullDistances_ ) - , discreteQueuePriorities( discreteQueuePriorities_ ) - , pointSizeRange( pointSizeRange_ ) - , lineWidthRange( lineWidthRange_ ) - , pointSizeGranularity( pointSizeGranularity_ ) - , lineWidthGranularity( lineWidthGranularity_ ) - , strictLines( strictLines_ ) - , standardSampleLocations( standardSampleLocations_ ) - , optimalBufferCopyOffsetAlignment( optimalBufferCopyOffsetAlignment_ ) - , optimalBufferCopyRowPitchAlignment( optimalBufferCopyRowPitchAlignment_ ) - , nonCoherentAtomSize( nonCoherentAtomSize_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLimits( PhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLimits( VkPhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceLimits( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLimits & - operator=( PhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLimits & operator=( VkPhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceLimits const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceLimits &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceLimits const & ) const = default; -#else - bool operator==( PhysicalDeviceLimits const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( maxImageDimension1D == rhs.maxImageDimension1D ) && ( maxImageDimension2D == rhs.maxImageDimension2D ) && - ( maxImageDimension3D == rhs.maxImageDimension3D ) && - ( maxImageDimensionCube == rhs.maxImageDimensionCube ) && - ( maxImageArrayLayers == rhs.maxImageArrayLayers ) && - ( maxTexelBufferElements == rhs.maxTexelBufferElements ) && - ( maxUniformBufferRange == rhs.maxUniformBufferRange ) && - ( maxStorageBufferRange == rhs.maxStorageBufferRange ) && - ( maxPushConstantsSize == rhs.maxPushConstantsSize ) && - ( maxMemoryAllocationCount == rhs.maxMemoryAllocationCount ) && - ( maxSamplerAllocationCount == rhs.maxSamplerAllocationCount ) && - ( bufferImageGranularity == rhs.bufferImageGranularity ) && - ( sparseAddressSpaceSize == rhs.sparseAddressSpaceSize ) && - ( maxBoundDescriptorSets == rhs.maxBoundDescriptorSets ) && - ( maxPerStageDescriptorSamplers == rhs.maxPerStageDescriptorSamplers ) && - ( maxPerStageDescriptorUniformBuffers == rhs.maxPerStageDescriptorUniformBuffers ) && - ( maxPerStageDescriptorStorageBuffers == rhs.maxPerStageDescriptorStorageBuffers ) && - ( maxPerStageDescriptorSampledImages == rhs.maxPerStageDescriptorSampledImages ) && - ( maxPerStageDescriptorStorageImages == rhs.maxPerStageDescriptorStorageImages ) && - ( maxPerStageDescriptorInputAttachments == rhs.maxPerStageDescriptorInputAttachments ) && - ( maxPerStageResources == rhs.maxPerStageResources ) && - ( maxDescriptorSetSamplers == rhs.maxDescriptorSetSamplers ) && - ( maxDescriptorSetUniformBuffers == rhs.maxDescriptorSetUniformBuffers ) && - ( maxDescriptorSetUniformBuffersDynamic == rhs.maxDescriptorSetUniformBuffersDynamic ) && - ( maxDescriptorSetStorageBuffers == rhs.maxDescriptorSetStorageBuffers ) && - ( maxDescriptorSetStorageBuffersDynamic == rhs.maxDescriptorSetStorageBuffersDynamic ) && - ( maxDescriptorSetSampledImages == rhs.maxDescriptorSetSampledImages ) && - ( maxDescriptorSetStorageImages == rhs.maxDescriptorSetStorageImages ) && - ( maxDescriptorSetInputAttachments == rhs.maxDescriptorSetInputAttachments ) && - ( maxVertexInputAttributes == rhs.maxVertexInputAttributes ) && - ( maxVertexInputBindings == rhs.maxVertexInputBindings ) && - ( maxVertexInputAttributeOffset == rhs.maxVertexInputAttributeOffset ) && - ( maxVertexInputBindingStride == rhs.maxVertexInputBindingStride ) && - ( maxVertexOutputComponents == rhs.maxVertexOutputComponents ) && - ( maxTessellationGenerationLevel == rhs.maxTessellationGenerationLevel ) && - ( maxTessellationPatchSize == rhs.maxTessellationPatchSize ) && - ( maxTessellationControlPerVertexInputComponents == rhs.maxTessellationControlPerVertexInputComponents ) && - ( maxTessellationControlPerVertexOutputComponents == - rhs.maxTessellationControlPerVertexOutputComponents ) && - ( maxTessellationControlPerPatchOutputComponents == rhs.maxTessellationControlPerPatchOutputComponents ) && - ( maxTessellationControlTotalOutputComponents == rhs.maxTessellationControlTotalOutputComponents ) && - ( maxTessellationEvaluationInputComponents == rhs.maxTessellationEvaluationInputComponents ) && - ( maxTessellationEvaluationOutputComponents == rhs.maxTessellationEvaluationOutputComponents ) && - ( maxGeometryShaderInvocations == rhs.maxGeometryShaderInvocations ) && - ( maxGeometryInputComponents == rhs.maxGeometryInputComponents ) && - ( maxGeometryOutputComponents == rhs.maxGeometryOutputComponents ) && - ( maxGeometryOutputVertices == rhs.maxGeometryOutputVertices ) && - ( maxGeometryTotalOutputComponents == rhs.maxGeometryTotalOutputComponents ) && - ( maxFragmentInputComponents == rhs.maxFragmentInputComponents ) && - ( maxFragmentOutputAttachments == rhs.maxFragmentOutputAttachments ) && - ( maxFragmentDualSrcAttachments == rhs.maxFragmentDualSrcAttachments ) && - ( maxFragmentCombinedOutputResources == rhs.maxFragmentCombinedOutputResources ) && - ( maxComputeSharedMemorySize == rhs.maxComputeSharedMemorySize ) && - ( maxComputeWorkGroupCount == rhs.maxComputeWorkGroupCount ) && - ( maxComputeWorkGroupInvocations == rhs.maxComputeWorkGroupInvocations ) && - ( maxComputeWorkGroupSize == rhs.maxComputeWorkGroupSize ) && - ( subPixelPrecisionBits == rhs.subPixelPrecisionBits ) && - ( subTexelPrecisionBits == rhs.subTexelPrecisionBits ) && - ( mipmapPrecisionBits == rhs.mipmapPrecisionBits ) && - ( maxDrawIndexedIndexValue == rhs.maxDrawIndexedIndexValue ) && - ( maxDrawIndirectCount == rhs.maxDrawIndirectCount ) && ( maxSamplerLodBias == rhs.maxSamplerLodBias ) && - ( maxSamplerAnisotropy == rhs.maxSamplerAnisotropy ) && ( maxViewports == rhs.maxViewports ) && - ( maxViewportDimensions == rhs.maxViewportDimensions ) && - ( viewportBoundsRange == rhs.viewportBoundsRange ) && - ( viewportSubPixelBits == rhs.viewportSubPixelBits ) && - ( minMemoryMapAlignment == rhs.minMemoryMapAlignment ) && - ( minTexelBufferOffsetAlignment == rhs.minTexelBufferOffsetAlignment ) && - ( minUniformBufferOffsetAlignment == rhs.minUniformBufferOffsetAlignment ) && - ( minStorageBufferOffsetAlignment == rhs.minStorageBufferOffsetAlignment ) && - ( minTexelOffset == rhs.minTexelOffset ) && ( maxTexelOffset == rhs.maxTexelOffset ) && - ( minTexelGatherOffset == rhs.minTexelGatherOffset ) && - ( maxTexelGatherOffset == rhs.maxTexelGatherOffset ) && - ( minInterpolationOffset == rhs.minInterpolationOffset ) && - ( maxInterpolationOffset == rhs.maxInterpolationOffset ) && - ( subPixelInterpolationOffsetBits == rhs.subPixelInterpolationOffsetBits ) && - ( maxFramebufferWidth == rhs.maxFramebufferWidth ) && - ( maxFramebufferHeight == rhs.maxFramebufferHeight ) && - ( maxFramebufferLayers == rhs.maxFramebufferLayers ) && - ( framebufferColorSampleCounts == rhs.framebufferColorSampleCounts ) && - ( framebufferDepthSampleCounts == rhs.framebufferDepthSampleCounts ) && - ( framebufferStencilSampleCounts == rhs.framebufferStencilSampleCounts ) && - ( framebufferNoAttachmentsSampleCounts == rhs.framebufferNoAttachmentsSampleCounts ) && - ( maxColorAttachments == rhs.maxColorAttachments ) && - ( sampledImageColorSampleCounts == rhs.sampledImageColorSampleCounts ) && - ( sampledImageIntegerSampleCounts == rhs.sampledImageIntegerSampleCounts ) && - ( sampledImageDepthSampleCounts == rhs.sampledImageDepthSampleCounts ) && - ( sampledImageStencilSampleCounts == rhs.sampledImageStencilSampleCounts ) && - ( storageImageSampleCounts == rhs.storageImageSampleCounts ) && - ( maxSampleMaskWords == rhs.maxSampleMaskWords ) && - ( timestampComputeAndGraphics == rhs.timestampComputeAndGraphics ) && - ( timestampPeriod == rhs.timestampPeriod ) && ( maxClipDistances == rhs.maxClipDistances ) && - ( maxCullDistances == rhs.maxCullDistances ) && - ( maxCombinedClipAndCullDistances == rhs.maxCombinedClipAndCullDistances ) && - ( discreteQueuePriorities == rhs.discreteQueuePriorities ) && ( pointSizeRange == rhs.pointSizeRange ) && - ( lineWidthRange == rhs.lineWidthRange ) && ( pointSizeGranularity == rhs.pointSizeGranularity ) && - ( lineWidthGranularity == rhs.lineWidthGranularity ) && ( strictLines == rhs.strictLines ) && - ( standardSampleLocations == rhs.standardSampleLocations ) && - ( optimalBufferCopyOffsetAlignment == rhs.optimalBufferCopyOffsetAlignment ) && - ( optimalBufferCopyRowPitchAlignment == rhs.optimalBufferCopyRowPitchAlignment ) && - ( nonCoherentAtomSize == rhs.nonCoherentAtomSize ); - } - - bool operator!=( PhysicalDeviceLimits const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t maxImageDimension1D = {}; - uint32_t maxImageDimension2D = {}; - uint32_t maxImageDimension3D = {}; - uint32_t maxImageDimensionCube = {}; - uint32_t maxImageArrayLayers = {}; - uint32_t maxTexelBufferElements = {}; - uint32_t maxUniformBufferRange = {}; - uint32_t maxStorageBufferRange = {}; - uint32_t maxPushConstantsSize = {}; - uint32_t maxMemoryAllocationCount = {}; - uint32_t maxSamplerAllocationCount = {}; - VULKAN_HPP_NAMESPACE::DeviceSize bufferImageGranularity = {}; - VULKAN_HPP_NAMESPACE::DeviceSize sparseAddressSpaceSize = {}; - uint32_t maxBoundDescriptorSets = {}; - uint32_t maxPerStageDescriptorSamplers = {}; - uint32_t maxPerStageDescriptorUniformBuffers = {}; - uint32_t maxPerStageDescriptorStorageBuffers = {}; - uint32_t maxPerStageDescriptorSampledImages = {}; - uint32_t maxPerStageDescriptorStorageImages = {}; - uint32_t maxPerStageDescriptorInputAttachments = {}; - uint32_t maxPerStageResources = {}; - uint32_t maxDescriptorSetSamplers = {}; - uint32_t maxDescriptorSetUniformBuffers = {}; - uint32_t maxDescriptorSetUniformBuffersDynamic = {}; - uint32_t maxDescriptorSetStorageBuffers = {}; - uint32_t maxDescriptorSetStorageBuffersDynamic = {}; - uint32_t maxDescriptorSetSampledImages = {}; - uint32_t maxDescriptorSetStorageImages = {}; - uint32_t maxDescriptorSetInputAttachments = {}; - uint32_t maxVertexInputAttributes = {}; - uint32_t maxVertexInputBindings = {}; - uint32_t maxVertexInputAttributeOffset = {}; - uint32_t maxVertexInputBindingStride = {}; - uint32_t maxVertexOutputComponents = {}; - uint32_t maxTessellationGenerationLevel = {}; - uint32_t maxTessellationPatchSize = {}; - uint32_t maxTessellationControlPerVertexInputComponents = {}; - uint32_t maxTessellationControlPerVertexOutputComponents = {}; - uint32_t maxTessellationControlPerPatchOutputComponents = {}; - uint32_t maxTessellationControlTotalOutputComponents = {}; - uint32_t maxTessellationEvaluationInputComponents = {}; - uint32_t maxTessellationEvaluationOutputComponents = {}; - uint32_t maxGeometryShaderInvocations = {}; - uint32_t maxGeometryInputComponents = {}; - uint32_t maxGeometryOutputComponents = {}; - uint32_t maxGeometryOutputVertices = {}; - uint32_t maxGeometryTotalOutputComponents = {}; - uint32_t maxFragmentInputComponents = {}; - uint32_t maxFragmentOutputAttachments = {}; - uint32_t maxFragmentDualSrcAttachments = {}; - uint32_t maxFragmentCombinedOutputResources = {}; - uint32_t maxComputeSharedMemorySize = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxComputeWorkGroupCount = {}; - uint32_t maxComputeWorkGroupInvocations = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxComputeWorkGroupSize = {}; - uint32_t subPixelPrecisionBits = {}; - uint32_t subTexelPrecisionBits = {}; - uint32_t mipmapPrecisionBits = {}; - uint32_t maxDrawIndexedIndexValue = {}; - uint32_t maxDrawIndirectCount = {}; - float maxSamplerLodBias = {}; - float maxSamplerAnisotropy = {}; - uint32_t maxViewports = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxViewportDimensions = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D viewportBoundsRange = {}; - uint32_t viewportSubPixelBits = {}; - size_t minMemoryMapAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minTexelBufferOffsetAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minUniformBufferOffsetAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minStorageBufferOffsetAlignment = {}; - int32_t minTexelOffset = {}; - uint32_t maxTexelOffset = {}; - int32_t minTexelGatherOffset = {}; - uint32_t maxTexelGatherOffset = {}; - float minInterpolationOffset = {}; - float maxInterpolationOffset = {}; - uint32_t subPixelInterpolationOffsetBits = {}; - uint32_t maxFramebufferWidth = {}; - uint32_t maxFramebufferHeight = {}; - uint32_t maxFramebufferLayers = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferColorSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferDepthSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferStencilSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferNoAttachmentsSampleCounts = {}; - uint32_t maxColorAttachments = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageColorSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageIntegerSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageDepthSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageStencilSampleCounts = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags storageImageSampleCounts = {}; - uint32_t maxSampleMaskWords = {}; - VULKAN_HPP_NAMESPACE::Bool32 timestampComputeAndGraphics = {}; - float timestampPeriod = {}; - uint32_t maxClipDistances = {}; - uint32_t maxCullDistances = {}; - uint32_t maxCombinedClipAndCullDistances = {}; - uint32_t discreteQueuePriorities = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D pointSizeRange = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D lineWidthRange = {}; - float pointSizeGranularity = {}; - float lineWidthGranularity = {}; - VULKAN_HPP_NAMESPACE::Bool32 strictLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 standardSampleLocations = {}; - VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyOffsetAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyRowPitchAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize nonCoherentAtomSize = {}; - }; - static_assert( sizeof( PhysicalDeviceLimits ) == sizeof( VkPhysicalDeviceLimits ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceSparseProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseProperties( - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DBlockShape_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DMultisampleBlockShape_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard3DBlockShape_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 residencyAlignedMipSize_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 residencyNonResidentStrict_ = {} ) VULKAN_HPP_NOEXCEPT - : residencyStandard2DBlockShape( residencyStandard2DBlockShape_ ) - , residencyStandard2DMultisampleBlockShape( residencyStandard2DMultisampleBlockShape_ ) - , residencyStandard3DBlockShape( residencyStandard3DBlockShape_ ) - , residencyAlignedMipSize( residencyAlignedMipSize_ ) - , residencyNonResidentStrict( residencyNonResidentStrict_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceSparseProperties( PhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSparseProperties( VkPhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSparseProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSparseProperties & - operator=( PhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSparseProperties & operator=( VkPhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceSparseProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSparseProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSparseProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceSparseProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( residencyStandard2DBlockShape == rhs.residencyStandard2DBlockShape ) && - ( residencyStandard2DMultisampleBlockShape == rhs.residencyStandard2DMultisampleBlockShape ) && - ( residencyStandard3DBlockShape == rhs.residencyStandard3DBlockShape ) && - ( residencyAlignedMipSize == rhs.residencyAlignedMipSize ) && - ( residencyNonResidentStrict == rhs.residencyNonResidentStrict ); - } - - bool operator!=( PhysicalDeviceSparseProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DBlockShape = {}; - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DMultisampleBlockShape = {}; - VULKAN_HPP_NAMESPACE::Bool32 residencyStandard3DBlockShape = {}; - VULKAN_HPP_NAMESPACE::Bool32 residencyAlignedMipSize = {}; - VULKAN_HPP_NAMESPACE::Bool32 residencyNonResidentStrict = {}; - }; - static_assert( sizeof( PhysicalDeviceSparseProperties ) == sizeof( VkPhysicalDeviceSparseProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties( - uint32_t apiVersion_ = {}, - uint32_t driverVersion_ = {}, - uint32_t vendorID_ = {}, - uint32_t deviceID_ = {}, - VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType_ = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther, - std::array const & deviceName_ = {}, - std::array const & pipelineCacheUUID_ = {}, - VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits_ = {}, - VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : apiVersion( apiVersion_ ) - , driverVersion( driverVersion_ ) - , vendorID( vendorID_ ) - , deviceID( deviceID_ ) - , deviceType( deviceType_ ) - , deviceName( deviceName_ ) - , pipelineCacheUUID( pipelineCacheUUID_ ) - , limits( limits_ ) - , sparseProperties( sparseProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceProperties( PhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProperties( VkPhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties & - operator=( PhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProperties & operator=( VkPhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( apiVersion == rhs.apiVersion ) && ( driverVersion == rhs.driverVersion ) && - ( vendorID == rhs.vendorID ) && ( deviceID == rhs.deviceID ) && ( deviceType == rhs.deviceType ) && - ( deviceName == rhs.deviceName ) && ( pipelineCacheUUID == rhs.pipelineCacheUUID ) && - ( limits == rhs.limits ) && ( sparseProperties == rhs.sparseProperties ); - } - - bool operator!=( PhysicalDeviceProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t apiVersion = {}; - uint32_t driverVersion = {}; - uint32_t vendorID = {}; - uint32_t deviceID = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceName = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D pipelineCacheUUID = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties = {}; - }; - static_assert( sizeof( PhysicalDeviceProperties ) == sizeof( VkPhysicalDeviceProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PhysicalDeviceProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties_ = {} ) VULKAN_HPP_NOEXCEPT - : properties( properties_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceProperties2( PhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProperties2( VkPhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2 & - operator=( PhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProperties2 & operator=( VkPhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProperties2 const & ) const = default; -#else - bool operator==( PhysicalDeviceProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( properties == rhs.properties ); - } - - bool operator!=( PhysicalDeviceProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties = {}; - }; - static_assert( sizeof( PhysicalDeviceProperties2 ) == sizeof( VkPhysicalDeviceProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceProperties2; - }; - using PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2; - - struct QueryPoolPerformanceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eQueryPoolPerformanceCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueryPoolPerformanceCreateInfoKHR( uint32_t queueFamilyIndex_ = {}, - uint32_t counterIndexCount_ = {}, - const uint32_t * pCounterIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : queueFamilyIndex( queueFamilyIndex_ ) - , counterIndexCount( counterIndexCount_ ) - , pCounterIndices( pCounterIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR - QueryPoolPerformanceCreateInfoKHR( QueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolPerformanceCreateInfoKHR( VkQueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : QueryPoolPerformanceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - QueryPoolPerformanceCreateInfoKHR( - uint32_t queueFamilyIndex_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & counterIndices_ ) - : queueFamilyIndex( queueFamilyIndex_ ) - , counterIndexCount( static_cast( counterIndices_.size() ) ) - , pCounterIndices( counterIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueryPoolPerformanceCreateInfoKHR & - operator=( QueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolPerformanceCreateInfoKHR & operator=( VkQueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - QueryPoolPerformanceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - QueryPoolPerformanceCreateInfoKHR & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndex = queueFamilyIndex_; - return *this; - } - - QueryPoolPerformanceCreateInfoKHR & setCounterIndexCount( uint32_t counterIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - counterIndexCount = counterIndexCount_; - return *this; - } - - QueryPoolPerformanceCreateInfoKHR & setPCounterIndices( const uint32_t * pCounterIndices_ ) VULKAN_HPP_NOEXCEPT - { - pCounterIndices = pCounterIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - QueryPoolPerformanceCreateInfoKHR & setCounterIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & counterIndices_ ) VULKAN_HPP_NOEXCEPT - { - counterIndexCount = static_cast( counterIndices_.size() ); - pCounterIndices = counterIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkQueryPoolPerformanceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueryPoolPerformanceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueryPoolPerformanceCreateInfoKHR const & ) const = default; -#else - bool operator==( QueryPoolPerformanceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( queueFamilyIndex == rhs.queueFamilyIndex ) && - ( counterIndexCount == rhs.counterIndexCount ) && ( pCounterIndices == rhs.pCounterIndices ); - } - - bool operator!=( QueryPoolPerformanceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolPerformanceCreateInfoKHR; - const void * pNext = {}; - uint32_t queueFamilyIndex = {}; - uint32_t counterIndexCount = {}; - const uint32_t * pCounterIndices = {}; - }; - static_assert( sizeof( QueryPoolPerformanceCreateInfoKHR ) == sizeof( VkQueryPoolPerformanceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueryPoolPerformanceCreateInfoKHR; - }; - - struct QueueFamilyProperties - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - QueueFamilyProperties( VULKAN_HPP_NAMESPACE::QueueFlags queueFlags_ = {}, - uint32_t queueCount_ = {}, - uint32_t timestampValidBits_ = {}, - VULKAN_HPP_NAMESPACE::Extent3D minImageTransferGranularity_ = {} ) VULKAN_HPP_NOEXCEPT - : queueFlags( queueFlags_ ) - , queueCount( queueCount_ ) - , timestampValidBits( timestampValidBits_ ) - , minImageTransferGranularity( minImageTransferGranularity_ ) - {} - - VULKAN_HPP_CONSTEXPR QueueFamilyProperties( QueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyProperties( VkQueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : QueueFamilyProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueueFamilyProperties & - operator=( QueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyProperties & operator=( VkQueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkQueueFamilyProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueueFamilyProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueueFamilyProperties const & ) const = default; -#else - bool operator==( QueueFamilyProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( queueFlags == rhs.queueFlags ) && ( queueCount == rhs.queueCount ) && - ( timestampValidBits == rhs.timestampValidBits ) && - ( minImageTransferGranularity == rhs.minImageTransferGranularity ); - } - - bool operator!=( QueueFamilyProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::QueueFlags queueFlags = {}; - uint32_t queueCount = {}; - uint32_t timestampValidBits = {}; - VULKAN_HPP_NAMESPACE::Extent3D minImageTransferGranularity = {}; - }; - static_assert( sizeof( QueueFamilyProperties ) == sizeof( VkQueueFamilyProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct QueueFamilyProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueueFamilyProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueueFamilyProperties2( - VULKAN_HPP_NAMESPACE::QueueFamilyProperties queueFamilyProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : queueFamilyProperties( queueFamilyProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR QueueFamilyProperties2( QueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyProperties2( VkQueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : QueueFamilyProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueueFamilyProperties2 & - operator=( QueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyProperties2 & operator=( VkQueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkQueueFamilyProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueueFamilyProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueueFamilyProperties2 const & ) const = default; -#else - bool operator==( QueueFamilyProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( queueFamilyProperties == rhs.queueFamilyProperties ); - } - - bool operator!=( QueueFamilyProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueueFamilyProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::QueueFamilyProperties queueFamilyProperties = {}; - }; - static_assert( sizeof( QueueFamilyProperties2 ) == sizeof( VkQueueFamilyProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueueFamilyProperties2; - }; - using QueueFamilyProperties2KHR = QueueFamilyProperties2; - - struct PhysicalDeviceSparseImageFormatInfo2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSparseImageFormatInfo2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseImageFormatInfo2( - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::ImageType type_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, - VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - , type( type_ ) - , samples( samples_ ) - , usage( usage_ ) - , tiling( tiling_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseImageFormatInfo2( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSparseImageFormatInfo2( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSparseImageFormatInfo2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSparseImageFormatInfo2 & - operator=( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSparseImageFormatInfo2 & - operator=( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & setType( VULKAN_HPP_NAMESPACE::ImageType type_ ) VULKAN_HPP_NOEXCEPT - { - type = type_; - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & - setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT - { - samples = samples_; - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - PhysicalDeviceSparseImageFormatInfo2 & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT - { - tiling = tiling_; - return *this; - } - - operator VkPhysicalDeviceSparseImageFormatInfo2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSparseImageFormatInfo2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSparseImageFormatInfo2 const & ) const = default; -#else - bool operator==( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( format == rhs.format ) && ( type == rhs.type ) && - ( samples == rhs.samples ) && ( usage == rhs.usage ) && ( tiling == rhs.tiling ); - } - - bool operator!=( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSparseImageFormatInfo2; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::ImageType type = VULKAN_HPP_NAMESPACE::ImageType::e1D; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; - VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; - }; - static_assert( sizeof( PhysicalDeviceSparseImageFormatInfo2 ) == sizeof( VkPhysicalDeviceSparseImageFormatInfo2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSparseImageFormatInfo2; - }; - using PhysicalDeviceSparseImageFormatInfo2KHR = PhysicalDeviceSparseImageFormatInfo2; - - struct SparseImageFormatProperties2 - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSparseImageFormatProperties2; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SparseImageFormatProperties2( - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties properties_ = {} ) VULKAN_HPP_NOEXCEPT - : properties( properties_ ) - {} - - VULKAN_HPP_CONSTEXPR - SparseImageFormatProperties2( SparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageFormatProperties2( VkSparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - : SparseImageFormatProperties2( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SparseImageFormatProperties2 & - operator=( SparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SparseImageFormatProperties2 & operator=( VkSparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSparseImageFormatProperties2 const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSparseImageFormatProperties2 &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SparseImageFormatProperties2 const & ) const = default; -#else - bool operator==( SparseImageFormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( properties == rhs.properties ); - } - - bool operator!=( SparseImageFormatProperties2 const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSparseImageFormatProperties2; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties properties = {}; - }; - static_assert( sizeof( SparseImageFormatProperties2 ) == sizeof( VkSparseImageFormatProperties2 ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SparseImageFormatProperties2; - }; - using SparseImageFormatProperties2KHR = SparseImageFormatProperties2; - - struct FramebufferMixedSamplesCombinationNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eFramebufferMixedSamplesCombinationNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FramebufferMixedSamplesCombinationNV( - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ = - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::SampleCountFlags depthStencilSamples_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags colorSamples_ = {} ) VULKAN_HPP_NOEXCEPT - : coverageReductionMode( coverageReductionMode_ ) - , rasterizationSamples( rasterizationSamples_ ) - , depthStencilSamples( depthStencilSamples_ ) - , colorSamples( colorSamples_ ) - {} - - VULKAN_HPP_CONSTEXPR FramebufferMixedSamplesCombinationNV( FramebufferMixedSamplesCombinationNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - FramebufferMixedSamplesCombinationNV( VkFramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT - : FramebufferMixedSamplesCombinationNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FramebufferMixedSamplesCombinationNV & - operator=( FramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferMixedSamplesCombinationNV & - operator=( VkFramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkFramebufferMixedSamplesCombinationNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFramebufferMixedSamplesCombinationNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FramebufferMixedSamplesCombinationNV const & ) const = default; -#else - bool operator==( FramebufferMixedSamplesCombinationNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( coverageReductionMode == rhs.coverageReductionMode ) && - ( rasterizationSamples == rhs.rasterizationSamples ) && - ( depthStencilSamples == rhs.depthStencilSamples ) && ( colorSamples == rhs.colorSamples ); - } - - bool operator!=( FramebufferMixedSamplesCombinationNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferMixedSamplesCombinationNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode = - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::SampleCountFlags depthStencilSamples = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags colorSamples = {}; - }; - static_assert( sizeof( FramebufferMixedSamplesCombinationNV ) == sizeof( VkFramebufferMixedSamplesCombinationNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FramebufferMixedSamplesCombinationNV; - }; - - struct SurfaceCapabilities2EXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceCapabilities2EXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SurfaceCapabilities2EXT( - uint32_t minImageCount_ = {}, - uint32_t maxImageCount_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D currentExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minImageExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent_ = {}, - uint32_t maxImageArrayLayers_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha_ = {}, - VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT supportedSurfaceCounters_ = {} ) VULKAN_HPP_NOEXCEPT - : minImageCount( minImageCount_ ) - , maxImageCount( maxImageCount_ ) - , currentExtent( currentExtent_ ) - , minImageExtent( minImageExtent_ ) - , maxImageExtent( maxImageExtent_ ) - , maxImageArrayLayers( maxImageArrayLayers_ ) - , supportedTransforms( supportedTransforms_ ) - , currentTransform( currentTransform_ ) - , supportedCompositeAlpha( supportedCompositeAlpha_ ) - , supportedUsageFlags( supportedUsageFlags_ ) - , supportedSurfaceCounters( supportedSurfaceCounters_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceCapabilities2EXT( SurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilities2EXT( VkSurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceCapabilities2EXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceCapabilities2EXT & - operator=( SurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilities2EXT & operator=( VkSurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSurfaceCapabilities2EXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceCapabilities2EXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceCapabilities2EXT const & ) const = default; -#else - bool operator==( SurfaceCapabilities2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( minImageCount == rhs.minImageCount ) && - ( maxImageCount == rhs.maxImageCount ) && ( currentExtent == rhs.currentExtent ) && - ( minImageExtent == rhs.minImageExtent ) && ( maxImageExtent == rhs.maxImageExtent ) && - ( maxImageArrayLayers == rhs.maxImageArrayLayers ) && ( supportedTransforms == rhs.supportedTransforms ) && - ( currentTransform == rhs.currentTransform ) && - ( supportedCompositeAlpha == rhs.supportedCompositeAlpha ) && - ( supportedUsageFlags == rhs.supportedUsageFlags ) && - ( supportedSurfaceCounters == rhs.supportedSurfaceCounters ); - } - - bool operator!=( SurfaceCapabilities2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilities2EXT; - void * pNext = {}; - uint32_t minImageCount = {}; - uint32_t maxImageCount = {}; - VULKAN_HPP_NAMESPACE::Extent2D currentExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D minImageExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent = {}; - uint32_t maxImageArrayLayers = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags = {}; - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT supportedSurfaceCounters = {}; - }; - static_assert( sizeof( SurfaceCapabilities2EXT ) == sizeof( VkSurfaceCapabilities2EXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceCapabilities2EXT; - }; - - struct SurfaceCapabilitiesKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SurfaceCapabilitiesKHR( uint32_t minImageCount_ = {}, - uint32_t maxImageCount_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D currentExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minImageExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent_ = {}, - uint32_t maxImageArrayLayers_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha_ = {}, - VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags_ = {} ) VULKAN_HPP_NOEXCEPT - : minImageCount( minImageCount_ ) - , maxImageCount( maxImageCount_ ) - , currentExtent( currentExtent_ ) - , minImageExtent( minImageExtent_ ) - , maxImageExtent( maxImageExtent_ ) - , maxImageArrayLayers( maxImageArrayLayers_ ) - , supportedTransforms( supportedTransforms_ ) - , currentTransform( currentTransform_ ) - , supportedCompositeAlpha( supportedCompositeAlpha_ ) - , supportedUsageFlags( supportedUsageFlags_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesKHR( SurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilitiesKHR( VkSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceCapabilitiesKHR & - operator=( SurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilitiesKHR & operator=( VkSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSurfaceCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceCapabilitiesKHR const & ) const = default; -#else - bool operator==( SurfaceCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( minImageCount == rhs.minImageCount ) && ( maxImageCount == rhs.maxImageCount ) && - ( currentExtent == rhs.currentExtent ) && ( minImageExtent == rhs.minImageExtent ) && - ( maxImageExtent == rhs.maxImageExtent ) && ( maxImageArrayLayers == rhs.maxImageArrayLayers ) && - ( supportedTransforms == rhs.supportedTransforms ) && ( currentTransform == rhs.currentTransform ) && - ( supportedCompositeAlpha == rhs.supportedCompositeAlpha ) && - ( supportedUsageFlags == rhs.supportedUsageFlags ); - } - - bool operator!=( SurfaceCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t minImageCount = {}; - uint32_t maxImageCount = {}; - VULKAN_HPP_NAMESPACE::Extent2D currentExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D minImageExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent = {}; - uint32_t maxImageArrayLayers = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags = {}; - }; - static_assert( sizeof( SurfaceCapabilitiesKHR ) == sizeof( VkSurfaceCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SurfaceCapabilities2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceCapabilities2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SurfaceCapabilities2KHR( - VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities_ = {} ) VULKAN_HPP_NOEXCEPT - : surfaceCapabilities( surfaceCapabilities_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceCapabilities2KHR( SurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilities2KHR( VkSurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceCapabilities2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceCapabilities2KHR & - operator=( SurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilities2KHR & operator=( VkSurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSurfaceCapabilities2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceCapabilities2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceCapabilities2KHR const & ) const = default; -#else - bool operator==( SurfaceCapabilities2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( surfaceCapabilities == rhs.surfaceCapabilities ); - } - - bool operator!=( SurfaceCapabilities2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilities2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities = {}; - }; - static_assert( sizeof( SurfaceCapabilities2KHR ) == sizeof( VkSurfaceCapabilities2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceCapabilities2KHR; - }; - - struct SurfaceFormatKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SurfaceFormatKHR( VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, - VULKAN_HPP_NAMESPACE::ColorSpaceKHR colorSpace_ = - VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - , colorSpace( colorSpace_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceFormatKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceFormatKHR & operator=( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFormatKHR & operator=( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSurfaceFormatKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceFormatKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceFormatKHR const & ) const = default; -#else - bool operator==( SurfaceFormatKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( format == rhs.format ) && ( colorSpace == rhs.colorSpace ); - } - - bool operator!=( SurfaceFormatKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - VULKAN_HPP_NAMESPACE::ColorSpaceKHR colorSpace = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear; - }; - static_assert( sizeof( SurfaceFormatKHR ) == sizeof( VkSurfaceFormatKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SurfaceFormat2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceFormat2KHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SurfaceFormat2KHR( VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat_ = {} ) VULKAN_HPP_NOEXCEPT - : surfaceFormat( surfaceFormat_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR( SurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFormat2KHR( VkSurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceFormat2KHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceFormat2KHR & - operator=( SurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFormat2KHR & operator=( VkSurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSurfaceFormat2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceFormat2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceFormat2KHR const & ) const = default; -#else - bool operator==( SurfaceFormat2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( surfaceFormat == rhs.surfaceFormat ); - } - - bool operator!=( SurfaceFormat2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFormat2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat = {}; - }; - static_assert( sizeof( SurfaceFormat2KHR ) == sizeof( VkSurfaceFormat2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceFormat2KHR; - }; - - struct PhysicalDeviceToolPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceToolPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceToolPropertiesEXT( - std::array const & name_ = {}, - std::array const & version_ = {}, - VULKAN_HPP_NAMESPACE::ToolPurposeFlagsEXT purposes_ = {}, - std::array const & description_ = {}, - std::array const & layer_ = {} ) VULKAN_HPP_NOEXCEPT - : name( name_ ) - , version( version_ ) - , purposes( purposes_ ) - , description( description_ ) - , layer( layer_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceToolPropertiesEXT( PhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceToolPropertiesEXT( VkPhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceToolPropertiesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceToolPropertiesEXT & - operator=( PhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceToolPropertiesEXT & operator=( VkPhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceToolPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceToolPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceToolPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceToolPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( name == rhs.name ) && ( version == rhs.version ) && - ( purposes == rhs.purposes ) && ( description == rhs.description ) && ( layer == rhs.layer ); - } - - bool operator!=( PhysicalDeviceToolPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceToolPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D version = {}; - VULKAN_HPP_NAMESPACE::ToolPurposeFlagsEXT purposes = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D layer = {}; - }; - static_assert( sizeof( PhysicalDeviceToolPropertiesEXT ) == sizeof( VkPhysicalDeviceToolPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceToolPropertiesEXT; - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoCapabilitiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoCapabilitiesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoCapabilitiesKHR( VULKAN_HPP_NAMESPACE::VideoCapabilitiesFlagsKHR capabilityFlags_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize minBitstreamBufferOffsetAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize minBitstreamBufferSizeAlignment_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D videoPictureExtentGranularity_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minExtent_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxExtent_ = {}, - uint32_t maxReferencePicturesSlotsCount_ = {}, - uint32_t maxReferencePicturesActiveCount_ = {} ) VULKAN_HPP_NOEXCEPT - : capabilityFlags( capabilityFlags_ ) - , minBitstreamBufferOffsetAlignment( minBitstreamBufferOffsetAlignment_ ) - , minBitstreamBufferSizeAlignment( minBitstreamBufferSizeAlignment_ ) - , videoPictureExtentGranularity( videoPictureExtentGranularity_ ) - , minExtent( minExtent_ ) - , maxExtent( maxExtent_ ) - , maxReferencePicturesSlotsCount( maxReferencePicturesSlotsCount_ ) - , maxReferencePicturesActiveCount( maxReferencePicturesActiveCount_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoCapabilitiesKHR( VideoCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoCapabilitiesKHR( VkVideoCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoCapabilitiesKHR & - operator=( VideoCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoCapabilitiesKHR & operator=( VkVideoCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkVideoCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoCapabilitiesKHR const & ) const = default; -# else - bool operator==( VideoCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( capabilityFlags == rhs.capabilityFlags ) && - ( minBitstreamBufferOffsetAlignment == rhs.minBitstreamBufferOffsetAlignment ) && - ( minBitstreamBufferSizeAlignment == rhs.minBitstreamBufferSizeAlignment ) && - ( videoPictureExtentGranularity == rhs.videoPictureExtentGranularity ) && ( minExtent == rhs.minExtent ) && - ( maxExtent == rhs.maxExtent ) && - ( maxReferencePicturesSlotsCount == rhs.maxReferencePicturesSlotsCount ) && - ( maxReferencePicturesActiveCount == rhs.maxReferencePicturesActiveCount ); - } - - bool operator!=( VideoCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoCapabilitiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoCapabilitiesFlagsKHR capabilityFlags = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minBitstreamBufferOffsetAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minBitstreamBufferSizeAlignment = {}; - VULKAN_HPP_NAMESPACE::Extent2D videoPictureExtentGranularity = {}; - VULKAN_HPP_NAMESPACE::Extent2D minExtent = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxExtent = {}; - uint32_t maxReferencePicturesSlotsCount = {}; - uint32_t maxReferencePicturesActiveCount = {}; - }; - static_assert( sizeof( VideoCapabilitiesKHR ) == sizeof( VkVideoCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoCapabilitiesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoProfilesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoProfilesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoProfilesKHR( uint32_t profileCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pProfiles_ = {} ) VULKAN_HPP_NOEXCEPT - : profileCount( profileCount_ ) - , pProfiles( pProfiles_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoProfilesKHR( VideoProfilesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoProfilesKHR( VkVideoProfilesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoProfilesKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoProfilesKHR & operator=( VideoProfilesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoProfilesKHR & operator=( VkVideoProfilesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoProfilesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoProfilesKHR & setProfileCount( uint32_t profileCount_ ) VULKAN_HPP_NOEXCEPT - { - profileCount = profileCount_; - return *this; - } - - VideoProfilesKHR & setPProfiles( const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pProfiles_ ) VULKAN_HPP_NOEXCEPT - { - pProfiles = pProfiles_; - return *this; - } - - operator VkVideoProfilesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoProfilesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoProfilesKHR const & ) const = default; -# else - bool operator==( VideoProfilesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( profileCount == rhs.profileCount ) && - ( pProfiles == rhs.pProfiles ); - } - - bool operator!=( VideoProfilesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoProfilesKHR; - void * pNext = {}; - uint32_t profileCount = {}; - const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pProfiles = {}; - }; - static_assert( sizeof( VideoProfilesKHR ) == sizeof( VkVideoProfilesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoProfilesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct PhysicalDeviceVideoFormatInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVideoFormatInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceVideoFormatInfoKHR( - VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_ = {}, - const VULKAN_HPP_NAMESPACE::VideoProfilesKHR * pVideoProfiles_ = {} ) VULKAN_HPP_NOEXCEPT - : imageUsage( imageUsage_ ) - , pVideoProfiles( pVideoProfiles_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVideoFormatInfoKHR( PhysicalDeviceVideoFormatInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVideoFormatInfoKHR( VkPhysicalDeviceVideoFormatInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVideoFormatInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVideoFormatInfoKHR & - operator=( PhysicalDeviceVideoFormatInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVideoFormatInfoKHR & operator=( VkPhysicalDeviceVideoFormatInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceVideoFormatInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVideoFormatInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVideoFormatInfoKHR const & ) const = default; -# else - bool operator==( PhysicalDeviceVideoFormatInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageUsage == rhs.imageUsage ) && - ( pVideoProfiles == rhs.pVideoProfiles ); - } - - bool operator!=( PhysicalDeviceVideoFormatInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVideoFormatInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage = {}; - const VULKAN_HPP_NAMESPACE::VideoProfilesKHR * pVideoProfiles = {}; - }; - static_assert( sizeof( PhysicalDeviceVideoFormatInfoKHR ) == sizeof( VkPhysicalDeviceVideoFormatInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVideoFormatInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoFormatPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoFormatPropertiesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoFormatPropertiesKHR( - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined ) VULKAN_HPP_NOEXCEPT - : format( format_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoFormatPropertiesKHR( VideoFormatPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoFormatPropertiesKHR( VkVideoFormatPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoFormatPropertiesKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoFormatPropertiesKHR & - operator=( VideoFormatPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoFormatPropertiesKHR & operator=( VkVideoFormatPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkVideoFormatPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoFormatPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoFormatPropertiesKHR const & ) const = default; -# else - bool operator==( VideoFormatPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( format == rhs.format ); - } - - bool operator!=( VideoFormatPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoFormatPropertiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - }; - static_assert( sizeof( VideoFormatPropertiesKHR ) == sizeof( VkVideoFormatPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoFormatPropertiesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#ifndef VULKAN_HPP_NO_SMART_HANDLE - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDevice = UniqueHandle; -#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ - - class PhysicalDevice - { - public: - using CType = VkPhysicalDevice; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::ePhysicalDevice; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePhysicalDevice; - - public: - VULKAN_HPP_CONSTEXPR PhysicalDevice() = default; - VULKAN_HPP_CONSTEXPR PhysicalDevice( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT PhysicalDevice( VkPhysicalDevice physicalDevice ) VULKAN_HPP_NOEXCEPT - : m_physicalDevice( physicalDevice ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - PhysicalDevice & operator=( VkPhysicalDevice physicalDevice ) VULKAN_HPP_NOEXCEPT - { - m_physicalDevice = physicalDevice; - return *this; - } -#endif - - PhysicalDevice & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_physicalDevice = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevice const & ) const = default; -#else - bool operator==( PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice == rhs.m_physicalDevice; - } - - bool operator!=( PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice != rhs.m_physicalDevice; - } - - bool operator<( PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice < rhs.m_physicalDevice; - } -#endif - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD Result - acquireWinrtDisplayNV( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - acquireWinrtDisplayNV( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - template - VULKAN_HPP_NODISCARD Result - acquireXlibDisplayEXT( Display * dpy, - VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - acquireXlibDisplayEXT( Display & dpy, - VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - - template - VULKAN_HPP_NODISCARD Result - createDevice( const VULKAN_HPP_NAMESPACE::DeviceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Device * pDevice, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDevice( const DeviceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDeviceUnique( const DeviceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayModeCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DisplayModeKHR * pMode, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayModeCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDisplayModeKHRUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayModeCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumerateDeviceExtensionProperties( - const char * pLayerName, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::ExtensionProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateDeviceExtensionProperties( Optional layerName - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = ExtensionPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateDeviceExtensionProperties( Optional layerName, - ExtensionPropertiesAllocator & extensionPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumerateDeviceLayerProperties( - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::LayerProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateDeviceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = LayerPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateDeviceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - uint32_t * pCounterCount, - VULKAN_HPP_NAMESPACE::PerformanceCounterKHR * pCounters, - VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR * pCounterDescriptions, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - ArrayProxy const & counters, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Allocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - ArrayProxy const & counters, - Allocator const & vectorAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename PerformanceCounterDescriptionKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::pair, - std::vector>>::type - enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename PerformanceCounterDescriptionKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B1 = PerformanceCounterKHRAllocator, - typename B2 = PerformanceCounterDescriptionKHRAllocator, - typename std::enable_if::value && - std::is_same::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::pair, - std::vector>>::type - enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - PerformanceCounterKHRAllocator & performanceCounterKHRAllocator, - PerformanceCounterDescriptionKHRAllocator & performanceCounterDescriptionKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayModeProperties2KHR( - VULKAN_HPP_NAMESPACE::DisplayKHR display, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayModeProperties2KHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename DisplayModeProperties2KHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayModeProperties2KHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - DisplayModeProperties2KHRAllocator & displayModeProperties2KHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayModePropertiesKHR( - VULKAN_HPP_NAMESPACE::DisplayKHR display, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename DisplayModePropertiesKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayModePropertiesKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - DisplayModePropertiesKHRAllocator & displayModePropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilities2KHR( - const VULKAN_HPP_NAMESPACE::DisplayPlaneInfo2KHR * pDisplayPlaneInfo, - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR * pCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilitiesKHR( - VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, - uint32_t planeIndex, - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR * pCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, - uint32_t planeIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayPlaneSupportedDisplaysKHR( - uint32_t planeIndex, - uint32_t * pDisplayCount, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplays, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, - DisplayKHRAllocator & displayKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getCalibrateableTimeDomainsEXT( - uint32_t * pTimeDomainCount, - VULKAN_HPP_NAMESPACE::TimeDomainEXT * pTimeDomains, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getCalibrateableTimeDomainsEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = TimeDomainEXTAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getCalibrateableTimeDomainsEXT( TimeDomainEXTAllocator & timeDomainEXTAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getCooperativeMatrixPropertiesNV( - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::CooperativeMatrixPropertiesNV * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getCooperativeMatrixPropertiesNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = CooperativeMatrixPropertiesNVAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getCooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNVAllocator & cooperativeMatrixPropertiesNVAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - template - Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, - IDirectFB * dfb, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, - IDirectFB & dfb, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayPlaneProperties2KHR( - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPlaneProperties2KHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPlaneProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename DisplayPlaneProperties2KHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayPlaneProperties2KHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPlaneProperties2KHR( DisplayPlaneProperties2KHRAllocator & displayPlaneProperties2KHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getDisplayPlanePropertiesKHR( - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPlanePropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename DisplayPlanePropertiesKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayPlanePropertiesKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPlanePropertiesKHR( DisplayPlanePropertiesKHRAllocator & displayPlanePropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getDisplayProperties2KHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayProperties2KHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename DisplayProperties2KHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayProperties2KHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayProperties2KHR( DisplayProperties2KHRAllocator & displayProperties2KHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getDisplayPropertiesKHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = DisplayPropertiesKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator & displayPropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalBufferProperties( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VULKAN_HPP_NAMESPACE::ExternalBufferProperties * pExternalBufferProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalBufferProperties getExternalBufferProperties( - const PhysicalDeviceExternalBufferInfo & externalBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalBufferPropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VULKAN_HPP_NAMESPACE::ExternalBufferProperties * pExternalBufferProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalBufferProperties getExternalBufferPropertiesKHR( - const PhysicalDeviceExternalBufferInfo & externalBufferInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalFenceProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VULKAN_HPP_NAMESPACE::ExternalFenceProperties * pExternalFenceProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalFenceProperties getExternalFenceProperties( - const PhysicalDeviceExternalFenceInfo & externalFenceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalFencePropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VULKAN_HPP_NAMESPACE::ExternalFenceProperties * pExternalFenceProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalFenceProperties getExternalFencePropertiesKHR( - const PhysicalDeviceExternalFenceInfo & externalFenceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getExternalImageFormatPropertiesNV( - VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, - VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV * pExternalImageFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getExternalImageFormatPropertiesNV( - VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalSemaphoreProperties( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties * pExternalSemaphoreProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties getExternalSemaphoreProperties( - const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getExternalSemaphorePropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties * pExternalSemaphoreProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties getExternalSemaphorePropertiesKHR( - const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pFeatures, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures - getFeatures( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getFeatures2( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 * pFeatures, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 - getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getFeatures2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 * pFeatures, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 - getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties * pFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties - getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties2 * pFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties2 - getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties2 * pFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties2 - getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getFragmentShadingRatesKHR( - uint32_t * pFragmentShadingRateCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceFragmentShadingRateKHR * pFragmentShadingRates, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template < - typename PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getFragmentShadingRatesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PhysicalDeviceFragmentShadingRateKHRAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getFragmentShadingRatesKHR( - PhysicalDeviceFragmentShadingRateKHRAllocator & physicalDeviceFragmentShadingRateKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - VULKAN_HPP_NAMESPACE::ImageFormatProperties * pImageFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getImageFormatProperties2( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 * pImageFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getImageFormatProperties2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 * pImageFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getMemoryProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties * pMemoryProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties - getMemoryProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getMemoryProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 * pMemoryProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 - getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - getMemoryProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 * pMemoryProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 - getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT * pMultisampleProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT getMultisamplePropertiesEXT( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pRectCount, - VULKAN_HPP_NAMESPACE::Rect2D * pRects, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = Rect2DAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Rect2DAllocator & rect2DAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties - getProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 - getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 - getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; - template - VULKAN_HPP_NODISCARD StructureChain - getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getQueueFamilyPerformanceQueryPassesKHR( - const VULKAN_HPP_NAMESPACE::QueryPoolPerformanceCreateInfoKHR * pPerformanceQueryCreateInfo, - uint32_t * pNumPasses, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD uint32_t getQueueFamilyPerformanceQueryPassesKHR( - const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void - getQueueFamilyProperties( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties * pQueueFamilyProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename QueueFamilyPropertiesAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = QueueFamilyPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties( QueueFamilyPropertiesAllocator & queueFamilyPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getQueueFamilyProperties2( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties2 * pQueueFamilyProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename QueueFamilyProperties2Allocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = QueueFamilyProperties2Allocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = StructureChainAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2( StructureChainAllocator & structureChainAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getQueueFamilyProperties2KHR( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties2 * pQueueFamilyProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename QueueFamilyProperties2Allocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = QueueFamilyProperties2Allocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = StructureChainAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getQueueFamilyProperties2KHR( StructureChainAllocator & structureChainAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - template - Bool32 getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, - struct _screen_window * window, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Bool32 getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, - struct _screen_window & window, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - - template - void getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename SparseImageFormatPropertiesAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageFormatPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - SparseImageFormatPropertiesAllocator & sparseImageFormatPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getSparseImageFormatProperties2( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2 * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename SparseImageFormatProperties2Allocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageFormatProperties2Allocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void getSparseImageFormatProperties2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2 * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename SparseImageFormatProperties2Allocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SparseImageFormatProperties2Allocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD std::vector - getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getSupportedFramebufferMixedSamplesCombinationsNV( - uint32_t * pCombinationCount, - VULKAN_HPP_NAMESPACE::FramebufferMixedSamplesCombinationNV * pCombinations, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template < - typename FramebufferMixedSamplesCombinationNVAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getSupportedFramebufferMixedSamplesCombinationsNV( - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename FramebufferMixedSamplesCombinationNVAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = FramebufferMixedSamplesCombinationNVAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getSupportedFramebufferMixedSamplesCombinationsNV( - FramebufferMixedSamplesCombinationNVAllocator & framebufferMixedSamplesCombinationNVAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2EXT( - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT * pSurfaceCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR * pSurfaceCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS - typename ResultValueType::type - getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result getSurfaceCapabilitiesKHR( - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR * pSurfaceCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pSurfaceFormatCount, - VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR * pSurfaceFormats, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SurfaceFormat2KHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - SurfaceFormat2KHRAllocator & surfaceFormat2KHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pSurfaceFormatCount, - VULKAN_HPP_NAMESPACE::SurfaceFormatKHR * pSurfaceFormats, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = SurfaceFormatKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - SurfaceFormatKHRAllocator & surfaceFormatKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result getSurfacePresentModes2EXT( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pPresentModeCount, - VULKAN_HPP_NAMESPACE::PresentModeKHR * pPresentModes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PresentModeKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - PresentModeKHRAllocator & presentModeKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD Result getSurfacePresentModesKHR( - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pPresentModeCount, - VULKAN_HPP_NAMESPACE::PresentModeKHR * pPresentModes, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PresentModeKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - PresentModeKHRAllocator & presentModeKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getSurfaceSupportKHR( uint32_t queueFamilyIndex, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::Bool32 * pSupported, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getSurfaceSupportKHR( uint32_t queueFamilyIndex, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - getToolPropertiesEXT( uint32_t * pToolCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceToolPropertiesEXT * pToolProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getToolPropertiesEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PhysicalDeviceToolPropertiesEXTAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType< - std::vector>::type - getToolPropertiesEXT( PhysicalDeviceToolPropertiesEXTAllocator & physicalDeviceToolPropertiesEXTAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result - getVideoCapabilitiesKHR( const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pVideoProfile, - VULKAN_HPP_NAMESPACE::VideoCapabilitiesKHR * pCapabilities, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getVideoCapabilitiesKHR( const VideoProfileKHR & videoProfile, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type - getVideoCapabilitiesKHR( const VideoProfileKHR & videoProfile, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD Result getVideoFormatPropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceVideoFormatInfoKHR * pVideoFormatInfo, - uint32_t * pVideoFormatPropertyCount, - VULKAN_HPP_NAMESPACE::VideoFormatPropertiesKHR * pVideoFormatProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template < - typename VideoFormatPropertiesKHRAllocator = std::allocator, - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = VideoFormatPropertiesKHRAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo, - VideoFormatPropertiesKHRAllocator & videoFormatPropertiesKHRAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - template - Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, - struct wl_display * display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, - struct wl_display & display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - template - Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, - xcb_connection_t * connection, - xcb_visualid_t visual_id, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, - xcb_connection_t & connection, - xcb_visualid_t visual_id, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - template - Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, - Display * dpy, - VisualID visualID, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, - Display & dpy, - VisualID visualID, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - template - VULKAN_HPP_NODISCARD Result - getRandROutputDisplayEXT( Display * dpy, - RROutput rrOutput, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplay, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type getRandROutputDisplayEXT( - Display & dpy, RROutput rrOutput, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - getRandROutputDisplayEXTUnique( Display & dpy, - RROutput rrOutput, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result - getWinrtDisplayNV( uint32_t deviceRelativeId, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplay, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - getWinrtDisplayNV( uint32_t deviceRelativeId, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - getWinrtDisplayNVUnique( uint32_t deviceRelativeId, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - Result releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#else - template - typename ResultValueType::type - releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPhysicalDevice() const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_physicalDevice == VK_NULL_HANDLE; - } - - private: - VkPhysicalDevice m_physicalDevice = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDevice ) == sizeof( VkPhysicalDevice ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::PhysicalDevice; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - struct DeviceGroupDeviceCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupDeviceCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceGroupDeviceCreateInfo( - uint32_t physicalDeviceCount_ = {}, - const VULKAN_HPP_NAMESPACE::PhysicalDevice * pPhysicalDevices_ = {} ) VULKAN_HPP_NOEXCEPT - : physicalDeviceCount( physicalDeviceCount_ ) - , pPhysicalDevices( pPhysicalDevices_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupDeviceCreateInfo( DeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupDeviceCreateInfo( VkDeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupDeviceCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupDeviceCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - physicalDevices_ ) - : physicalDeviceCount( static_cast( physicalDevices_.size() ) ) - , pPhysicalDevices( physicalDevices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupDeviceCreateInfo & - operator=( DeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupDeviceCreateInfo & operator=( VkDeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupDeviceCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupDeviceCreateInfo & setPhysicalDeviceCount( uint32_t physicalDeviceCount_ ) VULKAN_HPP_NOEXCEPT - { - physicalDeviceCount = physicalDeviceCount_; - return *this; - } - - DeviceGroupDeviceCreateInfo & - setPPhysicalDevices( const VULKAN_HPP_NAMESPACE::PhysicalDevice * pPhysicalDevices_ ) VULKAN_HPP_NOEXCEPT - { - pPhysicalDevices = pPhysicalDevices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupDeviceCreateInfo & setPhysicalDevices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - physicalDevices_ ) VULKAN_HPP_NOEXCEPT - { - physicalDeviceCount = static_cast( physicalDevices_.size() ); - pPhysicalDevices = physicalDevices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDeviceGroupDeviceCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupDeviceCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupDeviceCreateInfo const & ) const = default; -#else - bool operator==( DeviceGroupDeviceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( physicalDeviceCount == rhs.physicalDeviceCount ) && - ( pPhysicalDevices == rhs.pPhysicalDevices ); - } - - bool operator!=( DeviceGroupDeviceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupDeviceCreateInfo; - const void * pNext = {}; - uint32_t physicalDeviceCount = {}; - const VULKAN_HPP_NAMESPACE::PhysicalDevice * pPhysicalDevices = {}; - }; - static_assert( sizeof( DeviceGroupDeviceCreateInfo ) == sizeof( VkDeviceGroupDeviceCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupDeviceCreateInfo; - }; - using DeviceGroupDeviceCreateInfoKHR = DeviceGroupDeviceCreateInfo; - - struct DeviceGroupPresentInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupPresentInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceGroupPresentInfoKHR( uint32_t swapchainCount_ = {}, - const uint32_t * pDeviceMasks_ = {}, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ = - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal ) VULKAN_HPP_NOEXCEPT - : swapchainCount( swapchainCount_ ) - , pDeviceMasks( pDeviceMasks_ ) - , mode( mode_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupPresentInfoKHR( DeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupPresentInfoKHR( VkDeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupPresentInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupPresentInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceMasks_, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ = - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal ) - : swapchainCount( static_cast( deviceMasks_.size() ) ) - , pDeviceMasks( deviceMasks_.data() ) - , mode( mode_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupPresentInfoKHR & - operator=( DeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupPresentInfoKHR & operator=( VkDeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupPresentInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupPresentInfoKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = swapchainCount_; - return *this; - } - - DeviceGroupPresentInfoKHR & setPDeviceMasks( const uint32_t * pDeviceMasks_ ) VULKAN_HPP_NOEXCEPT - { - pDeviceMasks = pDeviceMasks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupPresentInfoKHR & setDeviceMasks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceMasks_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( deviceMasks_.size() ); - pDeviceMasks = deviceMasks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceGroupPresentInfoKHR & - setMode( VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ ) VULKAN_HPP_NOEXCEPT - { - mode = mode_; - return *this; - } - - operator VkDeviceGroupPresentInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupPresentInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupPresentInfoKHR const & ) const = default; -#else - bool operator==( DeviceGroupPresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchainCount == rhs.swapchainCount ) && - ( pDeviceMasks == rhs.pDeviceMasks ) && ( mode == rhs.mode ); - } - - bool operator!=( DeviceGroupPresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupPresentInfoKHR; - const void * pNext = {}; - uint32_t swapchainCount = {}; - const uint32_t * pDeviceMasks = {}; - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode = - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal; - }; - static_assert( sizeof( DeviceGroupPresentInfoKHR ) == sizeof( VkDeviceGroupPresentInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupPresentInfoKHR; - }; - - struct DeviceGroupRenderPassBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupRenderPassBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceGroupRenderPassBeginInfo( uint32_t deviceMask_ = {}, - uint32_t deviceRenderAreaCount_ = {}, - const VULKAN_HPP_NAMESPACE::Rect2D * pDeviceRenderAreas_ = {} ) - VULKAN_HPP_NOEXCEPT - : deviceMask( deviceMask_ ) - , deviceRenderAreaCount( deviceRenderAreaCount_ ) - , pDeviceRenderAreas( pDeviceRenderAreas_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupRenderPassBeginInfo( DeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupRenderPassBeginInfo( VkDeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupRenderPassBeginInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupRenderPassBeginInfo( - uint32_t deviceMask_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceRenderAreas_ ) - : deviceMask( deviceMask_ ) - , deviceRenderAreaCount( static_cast( deviceRenderAreas_.size() ) ) - , pDeviceRenderAreas( deviceRenderAreas_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupRenderPassBeginInfo & - operator=( DeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupRenderPassBeginInfo & operator=( VkDeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupRenderPassBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupRenderPassBeginInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT - { - deviceMask = deviceMask_; - return *this; - } - - DeviceGroupRenderPassBeginInfo & setDeviceRenderAreaCount( uint32_t deviceRenderAreaCount_ ) VULKAN_HPP_NOEXCEPT - { - deviceRenderAreaCount = deviceRenderAreaCount_; - return *this; - } - - DeviceGroupRenderPassBeginInfo & - setPDeviceRenderAreas( const VULKAN_HPP_NAMESPACE::Rect2D * pDeviceRenderAreas_ ) VULKAN_HPP_NOEXCEPT - { - pDeviceRenderAreas = pDeviceRenderAreas_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupRenderPassBeginInfo & setDeviceRenderAreas( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceRenderAreas_ ) - VULKAN_HPP_NOEXCEPT - { - deviceRenderAreaCount = static_cast( deviceRenderAreas_.size() ); - pDeviceRenderAreas = deviceRenderAreas_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDeviceGroupRenderPassBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupRenderPassBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupRenderPassBeginInfo const & ) const = default; -#else - bool operator==( DeviceGroupRenderPassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceMask == rhs.deviceMask ) && - ( deviceRenderAreaCount == rhs.deviceRenderAreaCount ) && ( pDeviceRenderAreas == rhs.pDeviceRenderAreas ); - } - - bool operator!=( DeviceGroupRenderPassBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupRenderPassBeginInfo; - const void * pNext = {}; - uint32_t deviceMask = {}; - uint32_t deviceRenderAreaCount = {}; - const VULKAN_HPP_NAMESPACE::Rect2D * pDeviceRenderAreas = {}; - }; - static_assert( sizeof( DeviceGroupRenderPassBeginInfo ) == sizeof( VkDeviceGroupRenderPassBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupRenderPassBeginInfo; - }; - using DeviceGroupRenderPassBeginInfoKHR = DeviceGroupRenderPassBeginInfo; - - struct DeviceGroupSubmitInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupSubmitInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceGroupSubmitInfo( uint32_t waitSemaphoreCount_ = {}, - const uint32_t * pWaitSemaphoreDeviceIndices_ = {}, - uint32_t commandBufferCount_ = {}, - const uint32_t * pCommandBufferDeviceMasks_ = {}, - uint32_t signalSemaphoreCount_ = {}, - const uint32_t * pSignalSemaphoreDeviceIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreCount( waitSemaphoreCount_ ) - , pWaitSemaphoreDeviceIndices( pWaitSemaphoreDeviceIndices_ ) - , commandBufferCount( commandBufferCount_ ) - , pCommandBufferDeviceMasks( pCommandBufferDeviceMasks_ ) - , signalSemaphoreCount( signalSemaphoreCount_ ) - , pSignalSemaphoreDeviceIndices( pSignalSemaphoreDeviceIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceGroupSubmitInfo( DeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupSubmitInfo( VkDeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupSubmitInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupSubmitInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreDeviceIndices_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBufferDeviceMasks_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreDeviceIndices_ = {} ) - : waitSemaphoreCount( static_cast( waitSemaphoreDeviceIndices_.size() ) ) - , pWaitSemaphoreDeviceIndices( waitSemaphoreDeviceIndices_.data() ) - , commandBufferCount( static_cast( commandBufferDeviceMasks_.size() ) ) - , pCommandBufferDeviceMasks( commandBufferDeviceMasks_.data() ) - , signalSemaphoreCount( static_cast( signalSemaphoreDeviceIndices_.size() ) ) - , pSignalSemaphoreDeviceIndices( signalSemaphoreDeviceIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupSubmitInfo & - operator=( DeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupSubmitInfo & operator=( VkDeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupSubmitInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupSubmitInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = waitSemaphoreCount_; - return *this; - } - - DeviceGroupSubmitInfo & - setPWaitSemaphoreDeviceIndices( const uint32_t * pWaitSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupSubmitInfo & setWaitSemaphoreDeviceIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreDeviceIndices_ ) - VULKAN_HPP_NOEXCEPT - { - waitSemaphoreCount = static_cast( waitSemaphoreDeviceIndices_.size() ); - pWaitSemaphoreDeviceIndices = waitSemaphoreDeviceIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceGroupSubmitInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT - { - commandBufferCount = commandBufferCount_; - return *this; - } - - DeviceGroupSubmitInfo & - setPCommandBufferDeviceMasks( const uint32_t * pCommandBufferDeviceMasks_ ) VULKAN_HPP_NOEXCEPT - { - pCommandBufferDeviceMasks = pCommandBufferDeviceMasks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupSubmitInfo & setCommandBufferDeviceMasks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBufferDeviceMasks_ ) - VULKAN_HPP_NOEXCEPT - { - commandBufferCount = static_cast( commandBufferDeviceMasks_.size() ); - pCommandBufferDeviceMasks = commandBufferDeviceMasks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - DeviceGroupSubmitInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = signalSemaphoreCount_; - return *this; - } - - DeviceGroupSubmitInfo & - setPSignalSemaphoreDeviceIndices( const uint32_t * pSignalSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DeviceGroupSubmitInfo & setSignalSemaphoreDeviceIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreDeviceIndices_ ) - VULKAN_HPP_NOEXCEPT - { - signalSemaphoreCount = static_cast( signalSemaphoreDeviceIndices_.size() ); - pSignalSemaphoreDeviceIndices = signalSemaphoreDeviceIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkDeviceGroupSubmitInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupSubmitInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupSubmitInfo const & ) const = default; -#else - bool operator==( DeviceGroupSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) && - ( pWaitSemaphoreDeviceIndices == rhs.pWaitSemaphoreDeviceIndices ) && - ( commandBufferCount == rhs.commandBufferCount ) && - ( pCommandBufferDeviceMasks == rhs.pCommandBufferDeviceMasks ) && - ( signalSemaphoreCount == rhs.signalSemaphoreCount ) && - ( pSignalSemaphoreDeviceIndices == rhs.pSignalSemaphoreDeviceIndices ); - } - - bool operator!=( DeviceGroupSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupSubmitInfo; - const void * pNext = {}; - uint32_t waitSemaphoreCount = {}; - const uint32_t * pWaitSemaphoreDeviceIndices = {}; - uint32_t commandBufferCount = {}; - const uint32_t * pCommandBufferDeviceMasks = {}; - uint32_t signalSemaphoreCount = {}; - const uint32_t * pSignalSemaphoreDeviceIndices = {}; - }; - static_assert( sizeof( DeviceGroupSubmitInfo ) == sizeof( VkDeviceGroupSubmitInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupSubmitInfo; - }; - using DeviceGroupSubmitInfoKHR = DeviceGroupSubmitInfo; - - struct DeviceGroupSwapchainCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceGroupSwapchainCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceGroupSwapchainCreateInfoKHR( - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ = {} ) VULKAN_HPP_NOEXCEPT : modes( modes_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceGroupSwapchainCreateInfoKHR( DeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupSwapchainCreateInfoKHR( VkDeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceGroupSwapchainCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceGroupSwapchainCreateInfoKHR & - operator=( DeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceGroupSwapchainCreateInfoKHR & operator=( VkDeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceGroupSwapchainCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceGroupSwapchainCreateInfoKHR & - setModes( VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ ) VULKAN_HPP_NOEXCEPT - { - modes = modes_; - return *this; - } - - operator VkDeviceGroupSwapchainCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceGroupSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceGroupSwapchainCreateInfoKHR const & ) const = default; -#else - bool operator==( DeviceGroupSwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( modes == rhs.modes ); - } - - bool operator!=( DeviceGroupSwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupSwapchainCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes = {}; - }; - static_assert( sizeof( DeviceGroupSwapchainCreateInfoKHR ) == sizeof( VkDeviceGroupSwapchainCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceGroupSwapchainCreateInfoKHR; - }; - - struct DeviceMemoryOverallocationCreateInfoAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceMemoryOverallocationCreateInfoAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceMemoryOverallocationCreateInfoAMD( - VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior_ = - VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD::eDefault ) VULKAN_HPP_NOEXCEPT - : overallocationBehavior( overallocationBehavior_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceMemoryOverallocationCreateInfoAMD( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryOverallocationCreateInfoAMD( VkDeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceMemoryOverallocationCreateInfoAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceMemoryOverallocationCreateInfoAMD & - operator=( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryOverallocationCreateInfoAMD & - operator=( VkDeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceMemoryOverallocationCreateInfoAMD & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceMemoryOverallocationCreateInfoAMD & setOverallocationBehavior( - VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior_ ) VULKAN_HPP_NOEXCEPT - { - overallocationBehavior = overallocationBehavior_; - return *this; - } - - operator VkDeviceMemoryOverallocationCreateInfoAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceMemoryOverallocationCreateInfoAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceMemoryOverallocationCreateInfoAMD const & ) const = default; -#else - bool operator==( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( overallocationBehavior == rhs.overallocationBehavior ); - } - - bool operator!=( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryOverallocationCreateInfoAMD; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior = - VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD::eDefault; - }; - static_assert( sizeof( DeviceMemoryOverallocationCreateInfoAMD ) == - sizeof( VkDeviceMemoryOverallocationCreateInfoAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceMemoryOverallocationCreateInfoAMD; - }; - - struct DeviceMemoryReportCallbackDataEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceMemoryReportCallbackDataEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DeviceMemoryReportCallbackDataEXT( - VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT type_ = - VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT::eAllocate, - uint64_t memoryObjectId_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, - VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, - uint64_t objectHandle_ = {}, - uint32_t heapIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , type( type_ ) - , memoryObjectId( memoryObjectId_ ) - , size( size_ ) - , objectType( objectType_ ) - , objectHandle( objectHandle_ ) - , heapIndex( heapIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - DeviceMemoryReportCallbackDataEXT( DeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryReportCallbackDataEXT( VkDeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceMemoryReportCallbackDataEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceMemoryReportCallbackDataEXT & - operator=( DeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceMemoryReportCallbackDataEXT & operator=( VkDeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDeviceMemoryReportCallbackDataEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceMemoryReportCallbackDataEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceMemoryReportCallbackDataEXT const & ) const = default; -#else - bool operator==( DeviceMemoryReportCallbackDataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( type == rhs.type ) && - ( memoryObjectId == rhs.memoryObjectId ) && ( size == rhs.size ) && ( objectType == rhs.objectType ) && - ( objectHandle == rhs.objectHandle ) && ( heapIndex == rhs.heapIndex ); - } - - bool operator!=( DeviceMemoryReportCallbackDataEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryReportCallbackDataEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT type = - VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT::eAllocate; - uint64_t memoryObjectId = {}; - VULKAN_HPP_NAMESPACE::DeviceSize size = {}; - VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; - uint64_t objectHandle = {}; - uint32_t heapIndex = {}; - }; - static_assert( sizeof( DeviceMemoryReportCallbackDataEXT ) == sizeof( VkDeviceMemoryReportCallbackDataEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceMemoryReportCallbackDataEXT; - }; - - struct DevicePrivateDataCreateInfoEXT - { - static const bool allowDuplicate = true; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDevicePrivateDataCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DevicePrivateDataCreateInfoEXT( uint32_t privateDataSlotRequestCount_ = {} ) VULKAN_HPP_NOEXCEPT - : privateDataSlotRequestCount( privateDataSlotRequestCount_ ) - {} - - VULKAN_HPP_CONSTEXPR - DevicePrivateDataCreateInfoEXT( DevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DevicePrivateDataCreateInfoEXT( VkDevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DevicePrivateDataCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DevicePrivateDataCreateInfoEXT & - operator=( DevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DevicePrivateDataCreateInfoEXT & operator=( VkDevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DevicePrivateDataCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DevicePrivateDataCreateInfoEXT & - setPrivateDataSlotRequestCount( uint32_t privateDataSlotRequestCount_ ) VULKAN_HPP_NOEXCEPT - { - privateDataSlotRequestCount = privateDataSlotRequestCount_; - return *this; - } - - operator VkDevicePrivateDataCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDevicePrivateDataCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DevicePrivateDataCreateInfoEXT const & ) const = default; -#else - bool operator==( DevicePrivateDataCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( privateDataSlotRequestCount == rhs.privateDataSlotRequestCount ); - } - - bool operator!=( DevicePrivateDataCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDevicePrivateDataCreateInfoEXT; - const void * pNext = {}; - uint32_t privateDataSlotRequestCount = {}; - }; - static_assert( sizeof( DevicePrivateDataCreateInfoEXT ) == sizeof( VkDevicePrivateDataCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DevicePrivateDataCreateInfoEXT; - }; - - struct DeviceQueueGlobalPriorityCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DeviceQueueGlobalPriorityCreateInfoEXT( VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority_ = - VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT::eLow ) VULKAN_HPP_NOEXCEPT - : globalPriority( globalPriority_ ) - {} - - VULKAN_HPP_CONSTEXPR DeviceQueueGlobalPriorityCreateInfoEXT( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueGlobalPriorityCreateInfoEXT( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DeviceQueueGlobalPriorityCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DeviceQueueGlobalPriorityCreateInfoEXT & - operator=( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DeviceQueueGlobalPriorityCreateInfoEXT & - operator=( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DeviceQueueGlobalPriorityCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DeviceQueueGlobalPriorityCreateInfoEXT & - setGlobalPriority( VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority_ ) VULKAN_HPP_NOEXCEPT - { - globalPriority = globalPriority_; - return *this; - } - - operator VkDeviceQueueGlobalPriorityCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDeviceQueueGlobalPriorityCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DeviceQueueGlobalPriorityCreateInfoEXT const & ) const = default; -#else - bool operator==( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( globalPriority == rhs.globalPriority ); - } - - bool operator!=( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority = VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT::eLow; - }; - static_assert( sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) == sizeof( VkDeviceQueueGlobalPriorityCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DeviceQueueGlobalPriorityCreateInfoEXT; - }; - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - struct DirectFBSurfaceCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDirectfbSurfaceCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DirectFBSurfaceCreateInfoEXT( VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags_ = {}, - IDirectFB * dfb_ = {}, - IDirectFBSurface * surface_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , dfb( dfb_ ) - , surface( surface_ ) - {} - - VULKAN_HPP_CONSTEXPR - DirectFBSurfaceCreateInfoEXT( DirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DirectFBSurfaceCreateInfoEXT( VkDirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DirectFBSurfaceCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DirectFBSurfaceCreateInfoEXT & - operator=( DirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DirectFBSurfaceCreateInfoEXT & operator=( VkDirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DirectFBSurfaceCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DirectFBSurfaceCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DirectFBSurfaceCreateInfoEXT & setDfb( IDirectFB * dfb_ ) VULKAN_HPP_NOEXCEPT - { - dfb = dfb_; - return *this; - } - - DirectFBSurfaceCreateInfoEXT & setSurface( IDirectFBSurface * surface_ ) VULKAN_HPP_NOEXCEPT - { - surface = surface_; - return *this; - } - - operator VkDirectFBSurfaceCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDirectFBSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DirectFBSurfaceCreateInfoEXT const & ) const = default; -# else - bool operator==( DirectFBSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( dfb == rhs.dfb ) && - ( surface == rhs.surface ); - } - - bool operator!=( DirectFBSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDirectfbSurfaceCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags = {}; - IDirectFB * dfb = {}; - IDirectFBSurface * surface = {}; - }; - static_assert( sizeof( DirectFBSurfaceCreateInfoEXT ) == sizeof( VkDirectFBSurfaceCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DirectFBSurfaceCreateInfoEXT; - }; -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - struct DispatchIndirectCommand - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DispatchIndirectCommand( uint32_t x_ = {}, uint32_t y_ = {}, uint32_t z_ = {} ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - , z( z_ ) - {} - - VULKAN_HPP_CONSTEXPR DispatchIndirectCommand( DispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DispatchIndirectCommand( VkDispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - : DispatchIndirectCommand( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DispatchIndirectCommand & - operator=( DispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DispatchIndirectCommand & operator=( VkDispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DispatchIndirectCommand & setX( uint32_t x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - DispatchIndirectCommand & setY( uint32_t y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - DispatchIndirectCommand & setZ( uint32_t z_ ) VULKAN_HPP_NOEXCEPT - { - z = z_; - return *this; - } - - operator VkDispatchIndirectCommand const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDispatchIndirectCommand &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DispatchIndirectCommand const & ) const = default; -#else - bool operator==( DispatchIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ) && ( z == rhs.z ); - } - - bool operator!=( DispatchIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t x = {}; - uint32_t y = {}; - uint32_t z = {}; - }; - static_assert( sizeof( DispatchIndirectCommand ) == sizeof( VkDispatchIndirectCommand ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DisplayNativeHdrSurfaceCapabilitiesAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayNativeHdrSurfaceCapabilitiesAMD( - VULKAN_HPP_NAMESPACE::Bool32 localDimmingSupport_ = {} ) VULKAN_HPP_NOEXCEPT - : localDimmingSupport( localDimmingSupport_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayNativeHdrSurfaceCapabilitiesAMD( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DisplayNativeHdrSurfaceCapabilitiesAMD( VkDisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayNativeHdrSurfaceCapabilitiesAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayNativeHdrSurfaceCapabilitiesAMD & - operator=( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayNativeHdrSurfaceCapabilitiesAMD & - operator=( VkDisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDisplayNativeHdrSurfaceCapabilitiesAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayNativeHdrSurfaceCapabilitiesAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayNativeHdrSurfaceCapabilitiesAMD const & ) const = default; -#else - bool operator==( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( localDimmingSupport == rhs.localDimmingSupport ); - } - - bool operator!=( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 localDimmingSupport = {}; - }; - static_assert( sizeof( DisplayNativeHdrSurfaceCapabilitiesAMD ) == sizeof( VkDisplayNativeHdrSurfaceCapabilitiesAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayNativeHdrSurfaceCapabilitiesAMD; - }; - - struct DisplayPresentInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPresentInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DisplayPresentInfoKHR( VULKAN_HPP_NAMESPACE::Rect2D srcRect_ = {}, - VULKAN_HPP_NAMESPACE::Rect2D dstRect_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 persistent_ = {} ) VULKAN_HPP_NOEXCEPT - : srcRect( srcRect_ ) - , dstRect( dstRect_ ) - , persistent( persistent_ ) - {} - - VULKAN_HPP_CONSTEXPR DisplayPresentInfoKHR( DisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPresentInfoKHR( VkDisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplayPresentInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplayPresentInfoKHR & - operator=( DisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplayPresentInfoKHR & operator=( VkDisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplayPresentInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplayPresentInfoKHR & setSrcRect( VULKAN_HPP_NAMESPACE::Rect2D const & srcRect_ ) VULKAN_HPP_NOEXCEPT - { - srcRect = srcRect_; - return *this; - } - - DisplayPresentInfoKHR & setDstRect( VULKAN_HPP_NAMESPACE::Rect2D const & dstRect_ ) VULKAN_HPP_NOEXCEPT - { - dstRect = dstRect_; - return *this; - } - - DisplayPresentInfoKHR & setPersistent( VULKAN_HPP_NAMESPACE::Bool32 persistent_ ) VULKAN_HPP_NOEXCEPT - { - persistent = persistent_; - return *this; - } - - operator VkDisplayPresentInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplayPresentInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplayPresentInfoKHR const & ) const = default; -#else - bool operator==( DisplayPresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcRect == rhs.srcRect ) && - ( dstRect == rhs.dstRect ) && ( persistent == rhs.persistent ); - } - - bool operator!=( DisplayPresentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPresentInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Rect2D srcRect = {}; - VULKAN_HPP_NAMESPACE::Rect2D dstRect = {}; - VULKAN_HPP_NAMESPACE::Bool32 persistent = {}; - }; - static_assert( sizeof( DisplayPresentInfoKHR ) == sizeof( VkDisplayPresentInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplayPresentInfoKHR; - }; - - struct DisplaySurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplaySurfaceCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - DisplaySurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ = {}, - uint32_t planeIndex_ = {}, - uint32_t planeStackIndex_ = {}, - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, - float globalAlpha_ = {}, - VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode_ = - VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR::eOpaque, - VULKAN_HPP_NAMESPACE::Extent2D imageExtent_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , displayMode( displayMode_ ) - , planeIndex( planeIndex_ ) - , planeStackIndex( planeStackIndex_ ) - , transform( transform_ ) - , globalAlpha( globalAlpha_ ) - , alphaMode( alphaMode_ ) - , imageExtent( imageExtent_ ) - {} - - VULKAN_HPP_CONSTEXPR - DisplaySurfaceCreateInfoKHR( DisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplaySurfaceCreateInfoKHR( VkDisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : DisplaySurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DisplaySurfaceCreateInfoKHR & - operator=( DisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DisplaySurfaceCreateInfoKHR & operator=( VkDisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DisplaySurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & - setDisplayMode( VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ ) VULKAN_HPP_NOEXCEPT - { - displayMode = displayMode_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & setPlaneIndex( uint32_t planeIndex_ ) VULKAN_HPP_NOEXCEPT - { - planeIndex = planeIndex_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & setPlaneStackIndex( uint32_t planeStackIndex_ ) VULKAN_HPP_NOEXCEPT - { - planeStackIndex = planeStackIndex_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & - setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT - { - transform = transform_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & setGlobalAlpha( float globalAlpha_ ) VULKAN_HPP_NOEXCEPT - { - globalAlpha = globalAlpha_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & - setAlphaMode( VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode_ ) VULKAN_HPP_NOEXCEPT - { - alphaMode = alphaMode_; - return *this; - } - - DisplaySurfaceCreateInfoKHR & - setImageExtent( VULKAN_HPP_NAMESPACE::Extent2D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT - { - imageExtent = imageExtent_; - return *this; - } - - operator VkDisplaySurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDisplaySurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DisplaySurfaceCreateInfoKHR const & ) const = default; -#else - bool operator==( DisplaySurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( displayMode == rhs.displayMode ) && ( planeIndex == rhs.planeIndex ) && - ( planeStackIndex == rhs.planeStackIndex ) && ( transform == rhs.transform ) && - ( globalAlpha == rhs.globalAlpha ) && ( alphaMode == rhs.alphaMode ) && ( imageExtent == rhs.imageExtent ); - } - - bool operator!=( DisplaySurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplaySurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode = {}; - uint32_t planeIndex = {}; - uint32_t planeStackIndex = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - float globalAlpha = {}; - VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode = - VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR::eOpaque; - VULKAN_HPP_NAMESPACE::Extent2D imageExtent = {}; - }; - static_assert( sizeof( DisplaySurfaceCreateInfoKHR ) == sizeof( VkDisplaySurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DisplaySurfaceCreateInfoKHR; - }; - - struct DrawIndexedIndirectCommand - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand( uint32_t indexCount_ = {}, - uint32_t instanceCount_ = {}, - uint32_t firstIndex_ = {}, - int32_t vertexOffset_ = {}, - uint32_t firstInstance_ = {} ) VULKAN_HPP_NOEXCEPT - : indexCount( indexCount_ ) - , instanceCount( instanceCount_ ) - , firstIndex( firstIndex_ ) - , vertexOffset( vertexOffset_ ) - , firstInstance( firstInstance_ ) - {} - - VULKAN_HPP_CONSTEXPR - DrawIndexedIndirectCommand( DrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawIndexedIndirectCommand( VkDrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - : DrawIndexedIndirectCommand( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DrawIndexedIndirectCommand & - operator=( DrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawIndexedIndirectCommand & operator=( VkDrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DrawIndexedIndirectCommand & setIndexCount( uint32_t indexCount_ ) VULKAN_HPP_NOEXCEPT - { - indexCount = indexCount_; - return *this; - } - - DrawIndexedIndirectCommand & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT - { - instanceCount = instanceCount_; - return *this; - } - - DrawIndexedIndirectCommand & setFirstIndex( uint32_t firstIndex_ ) VULKAN_HPP_NOEXCEPT - { - firstIndex = firstIndex_; - return *this; - } - - DrawIndexedIndirectCommand & setVertexOffset( int32_t vertexOffset_ ) VULKAN_HPP_NOEXCEPT - { - vertexOffset = vertexOffset_; - return *this; - } - - DrawIndexedIndirectCommand & setFirstInstance( uint32_t firstInstance_ ) VULKAN_HPP_NOEXCEPT - { - firstInstance = firstInstance_; - return *this; - } - - operator VkDrawIndexedIndirectCommand const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDrawIndexedIndirectCommand &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DrawIndexedIndirectCommand const & ) const = default; -#else - bool operator==( DrawIndexedIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( indexCount == rhs.indexCount ) && ( instanceCount == rhs.instanceCount ) && - ( firstIndex == rhs.firstIndex ) && ( vertexOffset == rhs.vertexOffset ) && - ( firstInstance == rhs.firstInstance ); - } - - bool operator!=( DrawIndexedIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t indexCount = {}; - uint32_t instanceCount = {}; - uint32_t firstIndex = {}; - int32_t vertexOffset = {}; - uint32_t firstInstance = {}; - }; - static_assert( sizeof( DrawIndexedIndirectCommand ) == sizeof( VkDrawIndexedIndirectCommand ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DrawIndirectCommand - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DrawIndirectCommand( uint32_t vertexCount_ = {}, - uint32_t instanceCount_ = {}, - uint32_t firstVertex_ = {}, - uint32_t firstInstance_ = {} ) VULKAN_HPP_NOEXCEPT - : vertexCount( vertexCount_ ) - , instanceCount( instanceCount_ ) - , firstVertex( firstVertex_ ) - , firstInstance( firstInstance_ ) - {} - - VULKAN_HPP_CONSTEXPR DrawIndirectCommand( DrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawIndirectCommand( VkDrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - : DrawIndirectCommand( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DrawIndirectCommand & - operator=( DrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawIndirectCommand & operator=( VkDrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DrawIndirectCommand & setVertexCount( uint32_t vertexCount_ ) VULKAN_HPP_NOEXCEPT - { - vertexCount = vertexCount_; - return *this; - } - - DrawIndirectCommand & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT - { - instanceCount = instanceCount_; - return *this; - } - - DrawIndirectCommand & setFirstVertex( uint32_t firstVertex_ ) VULKAN_HPP_NOEXCEPT - { - firstVertex = firstVertex_; - return *this; - } - - DrawIndirectCommand & setFirstInstance( uint32_t firstInstance_ ) VULKAN_HPP_NOEXCEPT - { - firstInstance = firstInstance_; - return *this; - } - - operator VkDrawIndirectCommand const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDrawIndirectCommand &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DrawIndirectCommand const & ) const = default; -#else - bool operator==( DrawIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( vertexCount == rhs.vertexCount ) && ( instanceCount == rhs.instanceCount ) && - ( firstVertex == rhs.firstVertex ) && ( firstInstance == rhs.firstInstance ); - } - - bool operator!=( DrawIndirectCommand const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t vertexCount = {}; - uint32_t instanceCount = {}; - uint32_t firstVertex = {}; - uint32_t firstInstance = {}; - }; - static_assert( sizeof( DrawIndirectCommand ) == sizeof( VkDrawIndirectCommand ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct DrawMeshTasksIndirectCommandNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DrawMeshTasksIndirectCommandNV( uint32_t taskCount_ = {}, - uint32_t firstTask_ = {} ) VULKAN_HPP_NOEXCEPT - : taskCount( taskCount_ ) - , firstTask( firstTask_ ) - {} - - VULKAN_HPP_CONSTEXPR - DrawMeshTasksIndirectCommandNV( DrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawMeshTasksIndirectCommandNV( VkDrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - : DrawMeshTasksIndirectCommandNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DrawMeshTasksIndirectCommandNV & - operator=( DrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrawMeshTasksIndirectCommandNV & operator=( VkDrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - DrawMeshTasksIndirectCommandNV & setTaskCount( uint32_t taskCount_ ) VULKAN_HPP_NOEXCEPT - { - taskCount = taskCount_; - return *this; - } - - DrawMeshTasksIndirectCommandNV & setFirstTask( uint32_t firstTask_ ) VULKAN_HPP_NOEXCEPT - { - firstTask = firstTask_; - return *this; - } - - operator VkDrawMeshTasksIndirectCommandNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDrawMeshTasksIndirectCommandNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DrawMeshTasksIndirectCommandNV const & ) const = default; -#else - bool operator==( DrawMeshTasksIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( taskCount == rhs.taskCount ) && ( firstTask == rhs.firstTask ); - } - - bool operator!=( DrawMeshTasksIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t taskCount = {}; - uint32_t firstTask = {}; - }; - static_assert( sizeof( DrawMeshTasksIndirectCommandNV ) == sizeof( VkDrawMeshTasksIndirectCommandNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DrmFormatModifierPropertiesEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesEXT( - uint64_t drmFormatModifier_ = {}, - uint32_t drmFormatModifierPlaneCount_ = {}, - VULKAN_HPP_NAMESPACE::FormatFeatureFlags drmFormatModifierTilingFeatures_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifier( drmFormatModifier_ ) - , drmFormatModifierPlaneCount( drmFormatModifierPlaneCount_ ) - , drmFormatModifierTilingFeatures( drmFormatModifierTilingFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR - DrmFormatModifierPropertiesEXT( DrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrmFormatModifierPropertiesEXT( VkDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DrmFormatModifierPropertiesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DrmFormatModifierPropertiesEXT & - operator=( DrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrmFormatModifierPropertiesEXT & operator=( VkDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDrmFormatModifierPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDrmFormatModifierPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DrmFormatModifierPropertiesEXT const & ) const = default; -#else - bool operator==( DrmFormatModifierPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( drmFormatModifier == rhs.drmFormatModifier ) && - ( drmFormatModifierPlaneCount == rhs.drmFormatModifierPlaneCount ) && - ( drmFormatModifierTilingFeatures == rhs.drmFormatModifierTilingFeatures ); - } - - bool operator!=( DrmFormatModifierPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint64_t drmFormatModifier = {}; - uint32_t drmFormatModifierPlaneCount = {}; - VULKAN_HPP_NAMESPACE::FormatFeatureFlags drmFormatModifierTilingFeatures = {}; - }; - static_assert( sizeof( DrmFormatModifierPropertiesEXT ) == sizeof( VkDrmFormatModifierPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct DrmFormatModifierPropertiesListEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eDrmFormatModifierPropertiesListEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesListEXT( - uint32_t drmFormatModifierCount_ = {}, - VULKAN_HPP_NAMESPACE::DrmFormatModifierPropertiesEXT * pDrmFormatModifierProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifierCount( drmFormatModifierCount_ ) - , pDrmFormatModifierProperties( pDrmFormatModifierProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesListEXT( DrmFormatModifierPropertiesListEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - DrmFormatModifierPropertiesListEXT( VkDrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : DrmFormatModifierPropertiesListEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - DrmFormatModifierPropertiesListEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - drmFormatModifierProperties_ ) - : drmFormatModifierCount( static_cast( drmFormatModifierProperties_.size() ) ) - , pDrmFormatModifierProperties( drmFormatModifierProperties_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 DrmFormatModifierPropertiesListEXT & - operator=( DrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - DrmFormatModifierPropertiesListEXT & - operator=( VkDrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkDrmFormatModifierPropertiesListEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkDrmFormatModifierPropertiesListEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DrmFormatModifierPropertiesListEXT const & ) const = default; -#else - bool operator==( DrmFormatModifierPropertiesListEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && - ( pDrmFormatModifierProperties == rhs.pDrmFormatModifierProperties ); - } - - bool operator!=( DrmFormatModifierPropertiesListEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDrmFormatModifierPropertiesListEXT; - void * pNext = {}; - uint32_t drmFormatModifierCount = {}; - VULKAN_HPP_NAMESPACE::DrmFormatModifierPropertiesEXT * pDrmFormatModifierProperties = {}; - }; - static_assert( sizeof( DrmFormatModifierPropertiesListEXT ) == sizeof( VkDrmFormatModifierPropertiesListEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = DrmFormatModifierPropertiesListEXT; - }; - - struct ExportFenceCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportFenceCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ExportFenceCreateInfo( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR ExportFenceCreateInfo( ExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportFenceCreateInfo( VkExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportFenceCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportFenceCreateInfo & - operator=( ExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportFenceCreateInfo & operator=( VkExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportFenceCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportFenceCreateInfo & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExportFenceCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportFenceCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportFenceCreateInfo const & ) const = default; -#else - bool operator==( ExportFenceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExportFenceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportFenceCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes = {}; - }; - static_assert( sizeof( ExportFenceCreateInfo ) == sizeof( VkExportFenceCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportFenceCreateInfo; - }; - using ExportFenceCreateInfoKHR = ExportFenceCreateInfo; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ExportFenceWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportFenceWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportFenceWin32HandleInfoKHR( const SECURITY_ATTRIBUTES * pAttributes_ = {}, - DWORD dwAccess_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : pAttributes( pAttributes_ ) - , dwAccess( dwAccess_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportFenceWin32HandleInfoKHR( ExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportFenceWin32HandleInfoKHR( VkExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportFenceWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportFenceWin32HandleInfoKHR & - operator=( ExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportFenceWin32HandleInfoKHR & operator=( VkExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportFenceWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportFenceWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES * pAttributes_ ) VULKAN_HPP_NOEXCEPT - { - pAttributes = pAttributes_; - return *this; - } - - ExportFenceWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT - { - dwAccess = dwAccess_; - return *this; - } - - ExportFenceWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkExportFenceWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportFenceWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportFenceWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ExportFenceWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pAttributes == rhs.pAttributes ) && - ( dwAccess == rhs.dwAccess ) && ( name == rhs.name ); - } - - bool operator!=( ExportFenceWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportFenceWin32HandleInfoKHR; - const void * pNext = {}; - const SECURITY_ATTRIBUTES * pAttributes = {}; - DWORD dwAccess = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ExportFenceWin32HandleInfoKHR ) == sizeof( VkExportFenceWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportFenceWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct ExportMemoryAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo( ExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryAllocateInfo( VkExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportMemoryAllocateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportMemoryAllocateInfo & - operator=( ExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryAllocateInfo & operator=( VkExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportMemoryAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportMemoryAllocateInfo & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExportMemoryAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportMemoryAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportMemoryAllocateInfo const & ) const = default; -#else - bool operator==( ExportMemoryAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExportMemoryAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; - }; - static_assert( sizeof( ExportMemoryAllocateInfo ) == sizeof( VkExportMemoryAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportMemoryAllocateInfo; - }; - using ExportMemoryAllocateInfoKHR = ExportMemoryAllocateInfo; - - struct ExportMemoryAllocateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryAllocateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportMemoryAllocateInfoNV( ExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryAllocateInfoNV( VkExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportMemoryAllocateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportMemoryAllocateInfoNV & - operator=( ExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryAllocateInfoNV & operator=( VkExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportMemoryAllocateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportMemoryAllocateInfoNV & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExportMemoryAllocateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportMemoryAllocateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportMemoryAllocateInfoNV const & ) const = default; -#else - bool operator==( ExportMemoryAllocateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExportMemoryAllocateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes = {}; - }; - static_assert( sizeof( ExportMemoryAllocateInfoNV ) == sizeof( VkExportMemoryAllocateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportMemoryAllocateInfoNV; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ExportMemoryWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoKHR( const SECURITY_ATTRIBUTES * pAttributes_ = {}, - DWORD dwAccess_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : pAttributes( pAttributes_ ) - , dwAccess( dwAccess_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportMemoryWin32HandleInfoKHR( ExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryWin32HandleInfoKHR( VkExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportMemoryWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportMemoryWin32HandleInfoKHR & - operator=( ExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryWin32HandleInfoKHR & operator=( VkExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportMemoryWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportMemoryWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES * pAttributes_ ) VULKAN_HPP_NOEXCEPT - { - pAttributes = pAttributes_; - return *this; - } - - ExportMemoryWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT - { - dwAccess = dwAccess_; - return *this; - } - - ExportMemoryWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkExportMemoryWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportMemoryWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportMemoryWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ExportMemoryWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pAttributes == rhs.pAttributes ) && - ( dwAccess == rhs.dwAccess ) && ( name == rhs.name ); - } - - bool operator!=( ExportMemoryWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryWin32HandleInfoKHR; - const void * pNext = {}; - const SECURITY_ATTRIBUTES * pAttributes = {}; - DWORD dwAccess = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ExportMemoryWin32HandleInfoKHR ) == sizeof( VkExportMemoryWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportMemoryWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ExportMemoryWin32HandleInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryWin32HandleInfoNV; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoNV( const SECURITY_ATTRIBUTES * pAttributes_ = {}, - DWORD dwAccess_ = {} ) VULKAN_HPP_NOEXCEPT - : pAttributes( pAttributes_ ) - , dwAccess( dwAccess_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportMemoryWin32HandleInfoNV( ExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryWin32HandleInfoNV( VkExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportMemoryWin32HandleInfoNV( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportMemoryWin32HandleInfoNV & - operator=( ExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportMemoryWin32HandleInfoNV & operator=( VkExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportMemoryWin32HandleInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportMemoryWin32HandleInfoNV & setPAttributes( const SECURITY_ATTRIBUTES * pAttributes_ ) VULKAN_HPP_NOEXCEPT - { - pAttributes = pAttributes_; - return *this; - } - - ExportMemoryWin32HandleInfoNV & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT - { - dwAccess = dwAccess_; - return *this; - } - - operator VkExportMemoryWin32HandleInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportMemoryWin32HandleInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportMemoryWin32HandleInfoNV const & ) const = default; -# else - bool operator==( ExportMemoryWin32HandleInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pAttributes == rhs.pAttributes ) && - ( dwAccess == rhs.dwAccess ); - } - - bool operator!=( ExportMemoryWin32HandleInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryWin32HandleInfoNV; - const void * pNext = {}; - const SECURITY_ATTRIBUTES * pAttributes = {}; - DWORD dwAccess = {}; - }; - static_assert( sizeof( ExportMemoryWin32HandleInfoNV ) == sizeof( VkExportMemoryWin32HandleInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportMemoryWin32HandleInfoNV; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct ExportSemaphoreCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportSemaphoreCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportSemaphoreCreateInfo( - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportSemaphoreCreateInfo( ExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportSemaphoreCreateInfo( VkExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportSemaphoreCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportSemaphoreCreateInfo & - operator=( ExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportSemaphoreCreateInfo & operator=( VkExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportSemaphoreCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportSemaphoreCreateInfo & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExportSemaphoreCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportSemaphoreCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportSemaphoreCreateInfo const & ) const = default; -#else - bool operator==( ExportSemaphoreCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExportSemaphoreCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportSemaphoreCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes = {}; - }; - static_assert( sizeof( ExportSemaphoreCreateInfo ) == sizeof( VkExportSemaphoreCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportSemaphoreCreateInfo; - }; - using ExportSemaphoreCreateInfoKHR = ExportSemaphoreCreateInfo; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ExportSemaphoreWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eExportSemaphoreWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExportSemaphoreWin32HandleInfoKHR( const SECURITY_ATTRIBUTES * pAttributes_ = {}, - DWORD dwAccess_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : pAttributes( pAttributes_ ) - , dwAccess( dwAccess_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExportSemaphoreWin32HandleInfoKHR( ExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportSemaphoreWin32HandleInfoKHR( VkExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ExportSemaphoreWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExportSemaphoreWin32HandleInfoKHR & - operator=( ExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExportSemaphoreWin32HandleInfoKHR & operator=( VkExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExportSemaphoreWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExportSemaphoreWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES * pAttributes_ ) VULKAN_HPP_NOEXCEPT - { - pAttributes = pAttributes_; - return *this; - } - - ExportSemaphoreWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT - { - dwAccess = dwAccess_; - return *this; - } - - ExportSemaphoreWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkExportSemaphoreWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExportSemaphoreWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExportSemaphoreWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ExportSemaphoreWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pAttributes == rhs.pAttributes ) && - ( dwAccess == rhs.dwAccess ) && ( name == rhs.name ); - } - - bool operator!=( ExportSemaphoreWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportSemaphoreWin32HandleInfoKHR; - const void * pNext = {}; - const SECURITY_ATTRIBUTES * pAttributes = {}; - DWORD dwAccess = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ExportSemaphoreWin32HandleInfoKHR ) == sizeof( VkExportSemaphoreWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExportSemaphoreWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct ExternalFormatANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalFormatANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalFormatANDROID( uint64_t externalFormat_ = {} ) VULKAN_HPP_NOEXCEPT - : externalFormat( externalFormat_ ) - {} - - VULKAN_HPP_CONSTEXPR ExternalFormatANDROID( ExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalFormatANDROID( VkExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalFormatANDROID( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalFormatANDROID & - operator=( ExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalFormatANDROID & operator=( VkExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExternalFormatANDROID & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExternalFormatANDROID & setExternalFormat( uint64_t externalFormat_ ) VULKAN_HPP_NOEXCEPT - { - externalFormat = externalFormat_; - return *this; - } - - operator VkExternalFormatANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalFormatANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalFormatANDROID const & ) const = default; -# else - bool operator==( ExternalFormatANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( externalFormat == rhs.externalFormat ); - } - - bool operator!=( ExternalFormatANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalFormatANDROID; - void * pNext = {}; - uint64_t externalFormat = {}; - }; - static_assert( sizeof( ExternalFormatANDROID ) == sizeof( VkExternalFormatANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalFormatANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - struct ExternalImageFormatProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalImageFormatProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalImageFormatProperties( - VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties_ = {} ) VULKAN_HPP_NOEXCEPT - : externalMemoryProperties( externalMemoryProperties_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalImageFormatProperties( ExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalImageFormatProperties( VkExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalImageFormatProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalImageFormatProperties & - operator=( ExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalImageFormatProperties & operator=( VkExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkExternalImageFormatProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalImageFormatProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalImageFormatProperties const & ) const = default; -#else - bool operator==( ExternalImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( externalMemoryProperties == rhs.externalMemoryProperties ); - } - - bool operator!=( ExternalImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalImageFormatProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties = {}; - }; - static_assert( sizeof( ExternalImageFormatProperties ) == sizeof( VkExternalImageFormatProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalImageFormatProperties; - }; - using ExternalImageFormatPropertiesKHR = ExternalImageFormatProperties; - - struct ExternalMemoryBufferCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryBufferCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalMemoryBufferCreateInfo( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalMemoryBufferCreateInfo( ExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryBufferCreateInfo( VkExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalMemoryBufferCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalMemoryBufferCreateInfo & - operator=( ExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryBufferCreateInfo & operator=( VkExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExternalMemoryBufferCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExternalMemoryBufferCreateInfo & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExternalMemoryBufferCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalMemoryBufferCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalMemoryBufferCreateInfo const & ) const = default; -#else - bool operator==( ExternalMemoryBufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExternalMemoryBufferCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryBufferCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; - }; - static_assert( sizeof( ExternalMemoryBufferCreateInfo ) == sizeof( VkExternalMemoryBufferCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalMemoryBufferCreateInfo; - }; - using ExternalMemoryBufferCreateInfoKHR = ExternalMemoryBufferCreateInfo; - - struct ExternalMemoryImageCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryImageCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfo( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalMemoryImageCreateInfo( ExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryImageCreateInfo( VkExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalMemoryImageCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalMemoryImageCreateInfo & - operator=( ExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryImageCreateInfo & operator=( VkExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExternalMemoryImageCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExternalMemoryImageCreateInfo & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExternalMemoryImageCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalMemoryImageCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalMemoryImageCreateInfo const & ) const = default; -#else - bool operator==( ExternalMemoryImageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExternalMemoryImageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryImageCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; - }; - static_assert( sizeof( ExternalMemoryImageCreateInfo ) == sizeof( VkExternalMemoryImageCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalMemoryImageCreateInfo; - }; - using ExternalMemoryImageCreateInfoKHR = ExternalMemoryImageCreateInfo; - - struct ExternalMemoryImageCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryImageCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfoNV( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : handleTypes( handleTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - ExternalMemoryImageCreateInfoNV( ExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryImageCreateInfoNV( VkExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ExternalMemoryImageCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ExternalMemoryImageCreateInfoNV & - operator=( ExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ExternalMemoryImageCreateInfoNV & operator=( VkExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ExternalMemoryImageCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ExternalMemoryImageCreateInfoNV & - setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ ) VULKAN_HPP_NOEXCEPT - { - handleTypes = handleTypes_; - return *this; - } - - operator VkExternalMemoryImageCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkExternalMemoryImageCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ExternalMemoryImageCreateInfoNV const & ) const = default; -#else - bool operator==( ExternalMemoryImageCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleTypes == rhs.handleTypes ); - } - - bool operator!=( ExternalMemoryImageCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryImageCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes = {}; - }; - static_assert( sizeof( ExternalMemoryImageCreateInfoNV ) == sizeof( VkExternalMemoryImageCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ExternalMemoryImageCreateInfoNV; - }; - - struct FilterCubicImageViewImageFormatPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eFilterCubicImageViewImageFormatPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FilterCubicImageViewImageFormatPropertiesEXT( - VULKAN_HPP_NAMESPACE::Bool32 filterCubic_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 filterCubicMinmax_ = {} ) VULKAN_HPP_NOEXCEPT - : filterCubic( filterCubic_ ) - , filterCubicMinmax( filterCubicMinmax_ ) - {} - - VULKAN_HPP_CONSTEXPR FilterCubicImageViewImageFormatPropertiesEXT( - FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FilterCubicImageViewImageFormatPropertiesEXT( VkFilterCubicImageViewImageFormatPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : FilterCubicImageViewImageFormatPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FilterCubicImageViewImageFormatPropertiesEXT & - operator=( FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FilterCubicImageViewImageFormatPropertiesEXT & - operator=( VkFilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkFilterCubicImageViewImageFormatPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFilterCubicImageViewImageFormatPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FilterCubicImageViewImageFormatPropertiesEXT const & ) const = default; -#else - bool operator==( FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( filterCubic == rhs.filterCubic ) && - ( filterCubicMinmax == rhs.filterCubicMinmax ); - } - - bool operator!=( FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFilterCubicImageViewImageFormatPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterCubic = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterCubicMinmax = {}; - }; - static_assert( sizeof( FilterCubicImageViewImageFormatPropertiesEXT ) == - sizeof( VkFilterCubicImageViewImageFormatPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FilterCubicImageViewImageFormatPropertiesEXT; - }; - - struct FragmentShadingRateAttachmentInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eFragmentShadingRateAttachmentInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FragmentShadingRateAttachmentInfoKHR( - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pFragmentShadingRateAttachment_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D shadingRateAttachmentTexelSize_ = {} ) VULKAN_HPP_NOEXCEPT - : pFragmentShadingRateAttachment( pFragmentShadingRateAttachment_ ) - , shadingRateAttachmentTexelSize( shadingRateAttachmentTexelSize_ ) - {} - - VULKAN_HPP_CONSTEXPR FragmentShadingRateAttachmentInfoKHR( FragmentShadingRateAttachmentInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - FragmentShadingRateAttachmentInfoKHR( VkFragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : FragmentShadingRateAttachmentInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FragmentShadingRateAttachmentInfoKHR & - operator=( FragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FragmentShadingRateAttachmentInfoKHR & - operator=( VkFragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FragmentShadingRateAttachmentInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FragmentShadingRateAttachmentInfoKHR & setPFragmentShadingRateAttachment( - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pFragmentShadingRateAttachment_ ) VULKAN_HPP_NOEXCEPT - { - pFragmentShadingRateAttachment = pFragmentShadingRateAttachment_; - return *this; - } - - FragmentShadingRateAttachmentInfoKHR & setShadingRateAttachmentTexelSize( - VULKAN_HPP_NAMESPACE::Extent2D const & shadingRateAttachmentTexelSize_ ) VULKAN_HPP_NOEXCEPT - { - shadingRateAttachmentTexelSize = shadingRateAttachmentTexelSize_; - return *this; - } - - operator VkFragmentShadingRateAttachmentInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFragmentShadingRateAttachmentInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FragmentShadingRateAttachmentInfoKHR const & ) const = default; -#else - bool operator==( FragmentShadingRateAttachmentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( pFragmentShadingRateAttachment == rhs.pFragmentShadingRateAttachment ) && - ( shadingRateAttachmentTexelSize == rhs.shadingRateAttachmentTexelSize ); - } - - bool operator!=( FragmentShadingRateAttachmentInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFragmentShadingRateAttachmentInfoKHR; - const void * pNext = {}; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pFragmentShadingRateAttachment = {}; - VULKAN_HPP_NAMESPACE::Extent2D shadingRateAttachmentTexelSize = {}; - }; - static_assert( sizeof( FragmentShadingRateAttachmentInfoKHR ) == sizeof( VkFragmentShadingRateAttachmentInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FragmentShadingRateAttachmentInfoKHR; - }; - - struct FramebufferAttachmentImageInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferAttachmentImageInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - FramebufferAttachmentImageInfo( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {}, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, - uint32_t width_ = {}, - uint32_t height_ = {}, - uint32_t layerCount_ = {}, - uint32_t viewFormatCount_ = {}, - const VULKAN_HPP_NAMESPACE::Format * pViewFormats_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , usage( usage_ ) - , width( width_ ) - , height( height_ ) - , layerCount( layerCount_ ) - , viewFormatCount( viewFormatCount_ ) - , pViewFormats( pViewFormats_ ) - {} - - VULKAN_HPP_CONSTEXPR - FramebufferAttachmentImageInfo( FramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferAttachmentImageInfo( VkFramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : FramebufferAttachmentImageInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferAttachmentImageInfo( - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_, - uint32_t width_, - uint32_t height_, - uint32_t layerCount_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) - : flags( flags_ ) - , usage( usage_ ) - , width( width_ ) - , height( height_ ) - , layerCount( layerCount_ ) - , viewFormatCount( static_cast( viewFormats_.size() ) ) - , pViewFormats( viewFormats_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FramebufferAttachmentImageInfo & - operator=( FramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferAttachmentImageInfo & operator=( VkFramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FramebufferAttachmentImageInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FramebufferAttachmentImageInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - FramebufferAttachmentImageInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - FramebufferAttachmentImageInfo & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - FramebufferAttachmentImageInfo & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - FramebufferAttachmentImageInfo & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT - { - layerCount = layerCount_; - return *this; - } - - FramebufferAttachmentImageInfo & setViewFormatCount( uint32_t viewFormatCount_ ) VULKAN_HPP_NOEXCEPT - { - viewFormatCount = viewFormatCount_; - return *this; - } - - FramebufferAttachmentImageInfo & - setPViewFormats( const VULKAN_HPP_NAMESPACE::Format * pViewFormats_ ) VULKAN_HPP_NOEXCEPT - { - pViewFormats = pViewFormats_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferAttachmentImageInfo & setViewFormats( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) - VULKAN_HPP_NOEXCEPT - { - viewFormatCount = static_cast( viewFormats_.size() ); - pViewFormats = viewFormats_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkFramebufferAttachmentImageInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFramebufferAttachmentImageInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FramebufferAttachmentImageInfo const & ) const = default; -#else - bool operator==( FramebufferAttachmentImageInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( usage == rhs.usage ) && - ( width == rhs.width ) && ( height == rhs.height ) && ( layerCount == rhs.layerCount ) && - ( viewFormatCount == rhs.viewFormatCount ) && ( pViewFormats == rhs.pViewFormats ); - } - - bool operator!=( FramebufferAttachmentImageInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferAttachmentImageInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; - uint32_t width = {}; - uint32_t height = {}; - uint32_t layerCount = {}; - uint32_t viewFormatCount = {}; - const VULKAN_HPP_NAMESPACE::Format * pViewFormats = {}; - }; - static_assert( sizeof( FramebufferAttachmentImageInfo ) == sizeof( VkFramebufferAttachmentImageInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FramebufferAttachmentImageInfo; - }; - using FramebufferAttachmentImageInfoKHR = FramebufferAttachmentImageInfo; - - struct FramebufferAttachmentsCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferAttachmentsCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR FramebufferAttachmentsCreateInfo( - uint32_t attachmentImageInfoCount_ = {}, - const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo * pAttachmentImageInfos_ = {} ) VULKAN_HPP_NOEXCEPT - : attachmentImageInfoCount( attachmentImageInfoCount_ ) - , pAttachmentImageInfos( pAttachmentImageInfos_ ) - {} - - VULKAN_HPP_CONSTEXPR - FramebufferAttachmentsCreateInfo( FramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferAttachmentsCreateInfo( VkFramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : FramebufferAttachmentsCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferAttachmentsCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachmentImageInfos_ ) - : attachmentImageInfoCount( static_cast( attachmentImageInfos_.size() ) ) - , pAttachmentImageInfos( attachmentImageInfos_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 FramebufferAttachmentsCreateInfo & - operator=( FramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - FramebufferAttachmentsCreateInfo & operator=( VkFramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - FramebufferAttachmentsCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - FramebufferAttachmentsCreateInfo & - setAttachmentImageInfoCount( uint32_t attachmentImageInfoCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentImageInfoCount = attachmentImageInfoCount_; - return *this; - } - - FramebufferAttachmentsCreateInfo & setPAttachmentImageInfos( - const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo * pAttachmentImageInfos_ ) VULKAN_HPP_NOEXCEPT - { - pAttachmentImageInfos = pAttachmentImageInfos_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - FramebufferAttachmentsCreateInfo & setAttachmentImageInfos( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachmentImageInfos_ ) VULKAN_HPP_NOEXCEPT - { - attachmentImageInfoCount = static_cast( attachmentImageInfos_.size() ); - pAttachmentImageInfos = attachmentImageInfos_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkFramebufferAttachmentsCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkFramebufferAttachmentsCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( FramebufferAttachmentsCreateInfo const & ) const = default; -#else - bool operator==( FramebufferAttachmentsCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( attachmentImageInfoCount == rhs.attachmentImageInfoCount ) && - ( pAttachmentImageInfos == rhs.pAttachmentImageInfos ); - } - - bool operator!=( FramebufferAttachmentsCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferAttachmentsCreateInfo; - const void * pNext = {}; - uint32_t attachmentImageInfoCount = {}; - const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo * pAttachmentImageInfos = {}; - }; - static_assert( sizeof( FramebufferAttachmentsCreateInfo ) == sizeof( VkFramebufferAttachmentsCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = FramebufferAttachmentsCreateInfo; - }; - using FramebufferAttachmentsCreateInfoKHR = FramebufferAttachmentsCreateInfo; - - struct GraphicsShaderGroupCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGraphicsShaderGroupCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GraphicsShaderGroupCreateInfoNV( - uint32_t stageCount_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ = {} ) VULKAN_HPP_NOEXCEPT - : stageCount( stageCount_ ) - , pStages( pStages_ ) - , pVertexInputState( pVertexInputState_ ) - , pTessellationState( pTessellationState_ ) - {} - - VULKAN_HPP_CONSTEXPR - GraphicsShaderGroupCreateInfoNV( GraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsShaderGroupCreateInfoNV( VkGraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : GraphicsShaderGroupCreateInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsShaderGroupCreateInfoNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_, - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ = {}, - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ = {} ) - : stageCount( static_cast( stages_.size() ) ) - , pStages( stages_.data() ) - , pVertexInputState( pVertexInputState_ ) - , pTessellationState( pTessellationState_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GraphicsShaderGroupCreateInfoNV & - operator=( GraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsShaderGroupCreateInfoNV & operator=( VkGraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GraphicsShaderGroupCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GraphicsShaderGroupCreateInfoNV & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = stageCount_; - return *this; - } - - GraphicsShaderGroupCreateInfoNV & - setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages_ ) VULKAN_HPP_NOEXCEPT - { - pStages = pStages_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsShaderGroupCreateInfoNV & setStages( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - stages_ ) VULKAN_HPP_NOEXCEPT - { - stageCount = static_cast( stages_.size() ); - pStages = stages_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - GraphicsShaderGroupCreateInfoNV & setPVertexInputState( - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState_ ) VULKAN_HPP_NOEXCEPT - { - pVertexInputState = pVertexInputState_; - return *this; - } - - GraphicsShaderGroupCreateInfoNV & setPTessellationState( - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState_ ) VULKAN_HPP_NOEXCEPT - { - pTessellationState = pTessellationState_; - return *this; - } - - operator VkGraphicsShaderGroupCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGraphicsShaderGroupCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GraphicsShaderGroupCreateInfoNV const & ) const = default; -#else - bool operator==( GraphicsShaderGroupCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stageCount == rhs.stageCount ) && - ( pStages == rhs.pStages ) && ( pVertexInputState == rhs.pVertexInputState ) && - ( pTessellationState == rhs.pTessellationState ); - } - - bool operator!=( GraphicsShaderGroupCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsShaderGroupCreateInfoNV; - const void * pNext = {}; - uint32_t stageCount = {}; - const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo * pStages = {}; - const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo * pVertexInputState = {}; - const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo * pTessellationState = {}; - }; - static_assert( sizeof( GraphicsShaderGroupCreateInfoNV ) == sizeof( VkGraphicsShaderGroupCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GraphicsShaderGroupCreateInfoNV; - }; - - struct GraphicsPipelineShaderGroupsCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR GraphicsPipelineShaderGroupsCreateInfoNV( - uint32_t groupCount_ = {}, - const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV * pGroups_ = {}, - uint32_t pipelineCount_ = {}, - const VULKAN_HPP_NAMESPACE::Pipeline * pPipelines_ = {} ) VULKAN_HPP_NOEXCEPT - : groupCount( groupCount_ ) - , pGroups( pGroups_ ) - , pipelineCount( pipelineCount_ ) - , pPipelines( pPipelines_ ) - {} - - VULKAN_HPP_CONSTEXPR GraphicsPipelineShaderGroupsCreateInfoNV( - GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsPipelineShaderGroupsCreateInfoNV( VkGraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : GraphicsPipelineShaderGroupsCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsPipelineShaderGroupsCreateInfoNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - groups_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelines_ = {} ) - : groupCount( static_cast( groups_.size() ) ) - , pGroups( groups_.data() ) - , pipelineCount( static_cast( pipelines_.size() ) ) - , pPipelines( pipelines_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 GraphicsPipelineShaderGroupsCreateInfoNV & - operator=( GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - GraphicsPipelineShaderGroupsCreateInfoNV & - operator=( VkGraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - GraphicsPipelineShaderGroupsCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - GraphicsPipelineShaderGroupsCreateInfoNV & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = groupCount_; - return *this; - } - - GraphicsPipelineShaderGroupsCreateInfoNV & - setPGroups( const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV * pGroups_ ) VULKAN_HPP_NOEXCEPT - { - pGroups = pGroups_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsPipelineShaderGroupsCreateInfoNV & setGroups( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - groups_ ) VULKAN_HPP_NOEXCEPT - { - groupCount = static_cast( groups_.size() ); - pGroups = groups_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - GraphicsPipelineShaderGroupsCreateInfoNV & setPipelineCount( uint32_t pipelineCount_ ) VULKAN_HPP_NOEXCEPT - { - pipelineCount = pipelineCount_; - return *this; - } - - GraphicsPipelineShaderGroupsCreateInfoNV & - setPPipelines( const VULKAN_HPP_NAMESPACE::Pipeline * pPipelines_ ) VULKAN_HPP_NOEXCEPT - { - pPipelines = pPipelines_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - GraphicsPipelineShaderGroupsCreateInfoNV & setPipelines( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelines_ ) - VULKAN_HPP_NOEXCEPT - { - pipelineCount = static_cast( pipelines_.size() ); - pPipelines = pipelines_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkGraphicsPipelineShaderGroupsCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkGraphicsPipelineShaderGroupsCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( GraphicsPipelineShaderGroupsCreateInfoNV const & ) const = default; -#else - bool operator==( GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( groupCount == rhs.groupCount ) && - ( pGroups == rhs.pGroups ) && ( pipelineCount == rhs.pipelineCount ) && ( pPipelines == rhs.pPipelines ); - } - - bool operator!=( GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV; - const void * pNext = {}; - uint32_t groupCount = {}; - const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV * pGroups = {}; - uint32_t pipelineCount = {}; - const VULKAN_HPP_NAMESPACE::Pipeline * pPipelines = {}; - }; - static_assert( sizeof( GraphicsPipelineShaderGroupsCreateInfoNV ) == - sizeof( VkGraphicsPipelineShaderGroupsCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = GraphicsPipelineShaderGroupsCreateInfoNV; - }; - - struct HeadlessSurfaceCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eHeadlessSurfaceCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR HeadlessSurfaceCreateInfoEXT( VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags_ = {} ) - VULKAN_HPP_NOEXCEPT : flags( flags_ ) - {} - - VULKAN_HPP_CONSTEXPR - HeadlessSurfaceCreateInfoEXT( HeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - HeadlessSurfaceCreateInfoEXT( VkHeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : HeadlessSurfaceCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 HeadlessSurfaceCreateInfoEXT & - operator=( HeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - HeadlessSurfaceCreateInfoEXT & operator=( VkHeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - HeadlessSurfaceCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - HeadlessSurfaceCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - operator VkHeadlessSurfaceCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkHeadlessSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( HeadlessSurfaceCreateInfoEXT const & ) const = default; -#else - bool operator==( HeadlessSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ); - } - - bool operator!=( HeadlessSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eHeadlessSurfaceCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags = {}; - }; - static_assert( sizeof( HeadlessSurfaceCreateInfoEXT ) == sizeof( VkHeadlessSurfaceCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = HeadlessSurfaceCreateInfoEXT; - }; - -#if defined( VK_USE_PLATFORM_IOS_MVK ) - struct IOSSurfaceCreateInfoMVK - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eIosSurfaceCreateInfoMVK; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR IOSSurfaceCreateInfoMVK( VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags_ = {}, - const void * pView_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pView( pView_ ) - {} - - VULKAN_HPP_CONSTEXPR IOSSurfaceCreateInfoMVK( IOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IOSSurfaceCreateInfoMVK( VkIOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT - : IOSSurfaceCreateInfoMVK( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 IOSSurfaceCreateInfoMVK & - operator=( IOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - IOSSurfaceCreateInfoMVK & operator=( VkIOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - IOSSurfaceCreateInfoMVK & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - IOSSurfaceCreateInfoMVK & setFlags( VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - IOSSurfaceCreateInfoMVK & setPView( const void * pView_ ) VULKAN_HPP_NOEXCEPT - { - pView = pView_; - return *this; - } - - operator VkIOSSurfaceCreateInfoMVK const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkIOSSurfaceCreateInfoMVK &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( IOSSurfaceCreateInfoMVK const & ) const = default; -# else - bool operator==( IOSSurfaceCreateInfoMVK const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( pView == rhs.pView ); - } - - bool operator!=( IOSSurfaceCreateInfoMVK const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIosSurfaceCreateInfoMVK; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags = {}; - const void * pView = {}; - }; - static_assert( sizeof( IOSSurfaceCreateInfoMVK ) == sizeof( VkIOSSurfaceCreateInfoMVK ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = IOSSurfaceCreateInfoMVK; - }; -#endif /*VK_USE_PLATFORM_IOS_MVK*/ - - struct ImageDrmFormatModifierExplicitCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT( - uint64_t drmFormatModifier_ = {}, - uint32_t drmFormatModifierPlaneCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubresourceLayout * pPlaneLayouts_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifier( drmFormatModifier_ ) - , drmFormatModifierPlaneCount( drmFormatModifierPlaneCount_ ) - , pPlaneLayouts( pPlaneLayouts_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT( - ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierExplicitCreateInfoEXT( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : ImageDrmFormatModifierExplicitCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageDrmFormatModifierExplicitCreateInfoEXT( - uint64_t drmFormatModifier_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - planeLayouts_ ) - : drmFormatModifier( drmFormatModifier_ ) - , drmFormatModifierPlaneCount( static_cast( planeLayouts_.size() ) ) - , pPlaneLayouts( planeLayouts_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageDrmFormatModifierExplicitCreateInfoEXT & - operator=( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierExplicitCreateInfoEXT & - operator=( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageDrmFormatModifierExplicitCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageDrmFormatModifierExplicitCreateInfoEXT & - setDrmFormatModifier( uint64_t drmFormatModifier_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifier = drmFormatModifier_; - return *this; - } - - ImageDrmFormatModifierExplicitCreateInfoEXT & - setDrmFormatModifierPlaneCount( uint32_t drmFormatModifierPlaneCount_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifierPlaneCount = drmFormatModifierPlaneCount_; - return *this; - } - - ImageDrmFormatModifierExplicitCreateInfoEXT & - setPPlaneLayouts( const VULKAN_HPP_NAMESPACE::SubresourceLayout * pPlaneLayouts_ ) VULKAN_HPP_NOEXCEPT - { - pPlaneLayouts = pPlaneLayouts_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageDrmFormatModifierExplicitCreateInfoEXT & setPlaneLayouts( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - planeLayouts_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifierPlaneCount = static_cast( planeLayouts_.size() ); - pPlaneLayouts = planeLayouts_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkImageDrmFormatModifierExplicitCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageDrmFormatModifierExplicitCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageDrmFormatModifierExplicitCreateInfoEXT const & ) const = default; -#else - bool operator==( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( drmFormatModifier == rhs.drmFormatModifier ) && - ( drmFormatModifierPlaneCount == rhs.drmFormatModifierPlaneCount ) && - ( pPlaneLayouts == rhs.pPlaneLayouts ); - } - - bool operator!=( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT; - const void * pNext = {}; - uint64_t drmFormatModifier = {}; - uint32_t drmFormatModifierPlaneCount = {}; - const VULKAN_HPP_NAMESPACE::SubresourceLayout * pPlaneLayouts = {}; - }; - static_assert( sizeof( ImageDrmFormatModifierExplicitCreateInfoEXT ) == - sizeof( VkImageDrmFormatModifierExplicitCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageDrmFormatModifierExplicitCreateInfoEXT; - }; - - struct ImageDrmFormatModifierListCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImageDrmFormatModifierListCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageDrmFormatModifierListCreateInfoEXT( uint32_t drmFormatModifierCount_ = {}, - const uint64_t * pDrmFormatModifiers_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifierCount( drmFormatModifierCount_ ) - , pDrmFormatModifiers( pDrmFormatModifiers_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierListCreateInfoEXT( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierListCreateInfoEXT( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageDrmFormatModifierListCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageDrmFormatModifierListCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & drmFormatModifiers_ ) - : drmFormatModifierCount( static_cast( drmFormatModifiers_.size() ) ) - , pDrmFormatModifiers( drmFormatModifiers_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageDrmFormatModifierListCreateInfoEXT & - operator=( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageDrmFormatModifierListCreateInfoEXT & - operator=( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageDrmFormatModifierListCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageDrmFormatModifierListCreateInfoEXT & - setDrmFormatModifierCount( uint32_t drmFormatModifierCount_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifierCount = drmFormatModifierCount_; - return *this; - } - - ImageDrmFormatModifierListCreateInfoEXT & - setPDrmFormatModifiers( const uint64_t * pDrmFormatModifiers_ ) VULKAN_HPP_NOEXCEPT - { - pDrmFormatModifiers = pDrmFormatModifiers_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageDrmFormatModifierListCreateInfoEXT & setDrmFormatModifiers( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & drmFormatModifiers_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifierCount = static_cast( drmFormatModifiers_.size() ); - pDrmFormatModifiers = drmFormatModifiers_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkImageDrmFormatModifierListCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageDrmFormatModifierListCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageDrmFormatModifierListCreateInfoEXT const & ) const = default; -#else - bool operator==( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( drmFormatModifierCount == rhs.drmFormatModifierCount ) && - ( pDrmFormatModifiers == rhs.pDrmFormatModifiers ); - } - - bool operator!=( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierListCreateInfoEXT; - const void * pNext = {}; - uint32_t drmFormatModifierCount = {}; - const uint64_t * pDrmFormatModifiers = {}; - }; - static_assert( sizeof( ImageDrmFormatModifierListCreateInfoEXT ) == - sizeof( VkImageDrmFormatModifierListCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageDrmFormatModifierListCreateInfoEXT; - }; - - struct ImageFormatListCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageFormatListCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageFormatListCreateInfo( uint32_t viewFormatCount_ = {}, - const VULKAN_HPP_NAMESPACE::Format * pViewFormats_ = {} ) VULKAN_HPP_NOEXCEPT - : viewFormatCount( viewFormatCount_ ) - , pViewFormats( pViewFormats_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageFormatListCreateInfo( ImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatListCreateInfo( VkImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageFormatListCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageFormatListCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) - : viewFormatCount( static_cast( viewFormats_.size() ) ), pViewFormats( viewFormats_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageFormatListCreateInfo & - operator=( ImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageFormatListCreateInfo & operator=( VkImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageFormatListCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageFormatListCreateInfo & setViewFormatCount( uint32_t viewFormatCount_ ) VULKAN_HPP_NOEXCEPT - { - viewFormatCount = viewFormatCount_; - return *this; - } - - ImageFormatListCreateInfo & - setPViewFormats( const VULKAN_HPP_NAMESPACE::Format * pViewFormats_ ) VULKAN_HPP_NOEXCEPT - { - pViewFormats = pViewFormats_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ImageFormatListCreateInfo & setViewFormats( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) - VULKAN_HPP_NOEXCEPT - { - viewFormatCount = static_cast( viewFormats_.size() ); - pViewFormats = viewFormats_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkImageFormatListCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageFormatListCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageFormatListCreateInfo const & ) const = default; -#else - bool operator==( ImageFormatListCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( viewFormatCount == rhs.viewFormatCount ) && - ( pViewFormats == rhs.pViewFormats ); - } - - bool operator!=( ImageFormatListCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatListCreateInfo; - const void * pNext = {}; - uint32_t viewFormatCount = {}; - const VULKAN_HPP_NAMESPACE::Format * pViewFormats = {}; - }; - static_assert( sizeof( ImageFormatListCreateInfo ) == sizeof( VkImageFormatListCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageFormatListCreateInfo; - }; - using ImageFormatListCreateInfoKHR = ImageFormatListCreateInfo; - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct ImagePipeSurfaceCreateInfoFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImagepipeSurfaceCreateInfoFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImagePipeSurfaceCreateInfoFUCHSIA( VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ = {}, - zx_handle_t imagePipeHandle_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , imagePipeHandle( imagePipeHandle_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImagePipeSurfaceCreateInfoFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImagePipeSurfaceCreateInfoFUCHSIA( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : ImagePipeSurfaceCreateInfoFUCHSIA( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImagePipeSurfaceCreateInfoFUCHSIA & - operator=( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImagePipeSurfaceCreateInfoFUCHSIA & operator=( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImagePipeSurfaceCreateInfoFUCHSIA & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImagePipeSurfaceCreateInfoFUCHSIA & - setFlags( VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ImagePipeSurfaceCreateInfoFUCHSIA & setImagePipeHandle( zx_handle_t imagePipeHandle_ ) VULKAN_HPP_NOEXCEPT - { - imagePipeHandle = imagePipeHandle_; - return *this; - } - - operator VkImagePipeSurfaceCreateInfoFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImagePipeSurfaceCreateInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImagePipeSurfaceCreateInfoFUCHSIA const & ) const = default; -# else - bool operator==( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( memcmp( &imagePipeHandle, &rhs.imagePipeHandle, sizeof( zx_handle_t ) ) == 0 ); - } - - bool operator!=( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagepipeSurfaceCreateInfoFUCHSIA; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags = {}; - zx_handle_t imagePipeHandle = {}; - }; - static_assert( sizeof( ImagePipeSurfaceCreateInfoFUCHSIA ) == sizeof( VkImagePipeSurfaceCreateInfoFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImagePipeSurfaceCreateInfoFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - struct ImagePlaneMemoryRequirementsInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImagePlaneMemoryRequirementsInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImagePlaneMemoryRequirementsInfo( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ = - VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor ) VULKAN_HPP_NOEXCEPT - : planeAspect( planeAspect_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImagePlaneMemoryRequirementsInfo( ImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImagePlaneMemoryRequirementsInfo( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImagePlaneMemoryRequirementsInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImagePlaneMemoryRequirementsInfo & - operator=( ImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImagePlaneMemoryRequirementsInfo & operator=( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImagePlaneMemoryRequirementsInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImagePlaneMemoryRequirementsInfo & - setPlaneAspect( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ ) VULKAN_HPP_NOEXCEPT - { - planeAspect = planeAspect_; - return *this; - } - - operator VkImagePlaneMemoryRequirementsInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImagePlaneMemoryRequirementsInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImagePlaneMemoryRequirementsInfo const & ) const = default; -#else - bool operator==( ImagePlaneMemoryRequirementsInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( planeAspect == rhs.planeAspect ); - } - - bool operator!=( ImagePlaneMemoryRequirementsInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagePlaneMemoryRequirementsInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor; - }; - static_assert( sizeof( ImagePlaneMemoryRequirementsInfo ) == sizeof( VkImagePlaneMemoryRequirementsInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImagePlaneMemoryRequirementsInfo; - }; - using ImagePlaneMemoryRequirementsInfoKHR = ImagePlaneMemoryRequirementsInfo; - - struct ImageStencilUsageCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageStencilUsageCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageStencilUsageCreateInfo( VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ = {} ) VULKAN_HPP_NOEXCEPT - : stencilUsage( stencilUsage_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageStencilUsageCreateInfo( ImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageStencilUsageCreateInfo( VkImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageStencilUsageCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageStencilUsageCreateInfo & - operator=( ImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageStencilUsageCreateInfo & operator=( VkImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageStencilUsageCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageStencilUsageCreateInfo & - setStencilUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ ) VULKAN_HPP_NOEXCEPT - { - stencilUsage = stencilUsage_; - return *this; - } - - operator VkImageStencilUsageCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageStencilUsageCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageStencilUsageCreateInfo const & ) const = default; -#else - bool operator==( ImageStencilUsageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( stencilUsage == rhs.stencilUsage ); - } - - bool operator!=( ImageStencilUsageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageStencilUsageCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage = {}; - }; - static_assert( sizeof( ImageStencilUsageCreateInfo ) == sizeof( VkImageStencilUsageCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageStencilUsageCreateInfo; - }; - using ImageStencilUsageCreateInfoEXT = ImageStencilUsageCreateInfo; - - struct ImageSwapchainCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageSwapchainCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageSwapchainCreateInfoKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {} ) VULKAN_HPP_NOEXCEPT - : swapchain( swapchain_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageSwapchainCreateInfoKHR( ImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSwapchainCreateInfoKHR( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageSwapchainCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageSwapchainCreateInfoKHR & - operator=( ImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageSwapchainCreateInfoKHR & operator=( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageSwapchainCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageSwapchainCreateInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT - { - swapchain = swapchain_; - return *this; - } - - operator VkImageSwapchainCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageSwapchainCreateInfoKHR const & ) const = default; -#else - bool operator==( ImageSwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchain == rhs.swapchain ); - } - - bool operator!=( ImageSwapchainCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSwapchainCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; - }; - static_assert( sizeof( ImageSwapchainCreateInfoKHR ) == sizeof( VkImageSwapchainCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageSwapchainCreateInfoKHR; - }; - - struct ImageViewASTCDecodeModeEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewAstcDecodeModeEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImageViewASTCDecodeModeEXT( - VULKAN_HPP_NAMESPACE::Format decodeMode_ = VULKAN_HPP_NAMESPACE::Format::eUndefined ) VULKAN_HPP_NOEXCEPT - : decodeMode( decodeMode_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImageViewASTCDecodeModeEXT( ImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewASTCDecodeModeEXT( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageViewASTCDecodeModeEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageViewASTCDecodeModeEXT & - operator=( ImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewASTCDecodeModeEXT & operator=( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageViewASTCDecodeModeEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageViewASTCDecodeModeEXT & setDecodeMode( VULKAN_HPP_NAMESPACE::Format decodeMode_ ) VULKAN_HPP_NOEXCEPT - { - decodeMode = decodeMode_; - return *this; - } - - operator VkImageViewASTCDecodeModeEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageViewASTCDecodeModeEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageViewASTCDecodeModeEXT const & ) const = default; -#else - bool operator==( ImageViewASTCDecodeModeEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( decodeMode == rhs.decodeMode ); - } - - bool operator!=( ImageViewASTCDecodeModeEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewAstcDecodeModeEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Format decodeMode = VULKAN_HPP_NAMESPACE::Format::eUndefined; - }; - static_assert( sizeof( ImageViewASTCDecodeModeEXT ) == sizeof( VkImageViewASTCDecodeModeEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageViewASTCDecodeModeEXT; - }; - - struct ImageViewUsageCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewUsageCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImageViewUsageCreateInfo( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {} ) VULKAN_HPP_NOEXCEPT - : usage( usage_ ) - {} - - VULKAN_HPP_CONSTEXPR ImageViewUsageCreateInfo( ImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewUsageCreateInfo( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ImageViewUsageCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImageViewUsageCreateInfo & - operator=( ImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImageViewUsageCreateInfo & operator=( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImageViewUsageCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImageViewUsageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT - { - usage = usage_; - return *this; - } - - operator VkImageViewUsageCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImageViewUsageCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImageViewUsageCreateInfo const & ) const = default; -#else - bool operator==( ImageViewUsageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( usage == rhs.usage ); - } - - bool operator!=( ImageViewUsageCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewUsageCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; - }; - static_assert( sizeof( ImageViewUsageCreateInfo ) == sizeof( VkImageViewUsageCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImageViewUsageCreateInfo; - }; - using ImageViewUsageCreateInfoKHR = ImageViewUsageCreateInfo; - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - struct ImportAndroidHardwareBufferInfoANDROID - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImportAndroidHardwareBufferInfoANDROID; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportAndroidHardwareBufferInfoANDROID( struct AHardwareBuffer * buffer_ = {} ) VULKAN_HPP_NOEXCEPT - : buffer( buffer_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportAndroidHardwareBufferInfoANDROID( ImportAndroidHardwareBufferInfoANDROID const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImportAndroidHardwareBufferInfoANDROID( VkImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportAndroidHardwareBufferInfoANDROID( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportAndroidHardwareBufferInfoANDROID & - operator=( ImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportAndroidHardwareBufferInfoANDROID & - operator=( VkImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportAndroidHardwareBufferInfoANDROID & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportAndroidHardwareBufferInfoANDROID & setBuffer( struct AHardwareBuffer * buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - operator VkImportAndroidHardwareBufferInfoANDROID const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportAndroidHardwareBufferInfoANDROID &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportAndroidHardwareBufferInfoANDROID const & ) const = default; -# else - bool operator==( ImportAndroidHardwareBufferInfoANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( buffer == rhs.buffer ); - } - - bool operator!=( ImportAndroidHardwareBufferInfoANDROID const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportAndroidHardwareBufferInfoANDROID; - const void * pNext = {}; - struct AHardwareBuffer * buffer = {}; - }; - static_assert( sizeof( ImportAndroidHardwareBufferInfoANDROID ) == sizeof( VkImportAndroidHardwareBufferInfoANDROID ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportAndroidHardwareBufferInfoANDROID; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - struct ImportMemoryFdInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryFdInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, - int fd_ = {} ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - , fd( fd_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR( ImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryFdInfoKHR( VkImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportMemoryFdInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportMemoryFdInfoKHR & - operator=( ImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryFdInfoKHR & operator=( VkImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportMemoryFdInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportMemoryFdInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportMemoryFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT - { - fd = fd_; - return *this; - } - - operator VkImportMemoryFdInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportMemoryFdInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportMemoryFdInfoKHR const & ) const = default; -#else - bool operator==( ImportMemoryFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ) && ( fd == rhs.fd ); - } - - bool operator!=( ImportMemoryFdInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryFdInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - int fd = {}; - }; - static_assert( sizeof( ImportMemoryFdInfoKHR ) == sizeof( VkImportMemoryFdInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportMemoryFdInfoKHR; - }; - - struct ImportMemoryHostPointerInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryHostPointerInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportMemoryHostPointerInfoEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, - void * pHostPointer_ = {} ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - , pHostPointer( pHostPointer_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImportMemoryHostPointerInfoEXT( ImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryHostPointerInfoEXT( VkImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportMemoryHostPointerInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportMemoryHostPointerInfoEXT & - operator=( ImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryHostPointerInfoEXT & operator=( VkImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportMemoryHostPointerInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportMemoryHostPointerInfoEXT & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportMemoryHostPointerInfoEXT & setPHostPointer( void * pHostPointer_ ) VULKAN_HPP_NOEXCEPT - { - pHostPointer = pHostPointer_; - return *this; - } - - operator VkImportMemoryHostPointerInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportMemoryHostPointerInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportMemoryHostPointerInfoEXT const & ) const = default; -#else - bool operator==( ImportMemoryHostPointerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ) && - ( pHostPointer == rhs.pHostPointer ); - } - - bool operator!=( ImportMemoryHostPointerInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - void * pHostPointer = {}; - }; - static_assert( sizeof( ImportMemoryHostPointerInfoEXT ) == sizeof( VkImportMemoryHostPointerInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportMemoryHostPointerInfoEXT; - }; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ImportMemoryWin32HandleInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryWin32HandleInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportMemoryWin32HandleInfoKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, - HANDLE handle_ = {}, - LPCWSTR name_ = {} ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - , handle( handle_ ) - , name( name_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImportMemoryWin32HandleInfoKHR( ImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryWin32HandleInfoKHR( VkImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportMemoryWin32HandleInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportMemoryWin32HandleInfoKHR & - operator=( ImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryWin32HandleInfoKHR & operator=( VkImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportMemoryWin32HandleInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportMemoryWin32HandleInfoKHR & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportMemoryWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT - { - handle = handle_; - return *this; - } - - ImportMemoryWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT - { - name = name_; - return *this; - } - - operator VkImportMemoryWin32HandleInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportMemoryWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportMemoryWin32HandleInfoKHR const & ) const = default; -# else - bool operator==( ImportMemoryWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ) && - ( handle == rhs.handle ) && ( name == rhs.name ); - } - - bool operator!=( ImportMemoryWin32HandleInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryWin32HandleInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - HANDLE handle = {}; - LPCWSTR name = {}; - }; - static_assert( sizeof( ImportMemoryWin32HandleInfoKHR ) == sizeof( VkImportMemoryWin32HandleInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportMemoryWin32HandleInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct ImportMemoryWin32HandleInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryWin32HandleInfoNV; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportMemoryWin32HandleInfoNV( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType_ = {}, - HANDLE handle_ = {} ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - , handle( handle_ ) - {} - - VULKAN_HPP_CONSTEXPR - ImportMemoryWin32HandleInfoNV( ImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryWin32HandleInfoNV( VkImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportMemoryWin32HandleInfoNV( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportMemoryWin32HandleInfoNV & - operator=( ImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryWin32HandleInfoNV & operator=( VkImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportMemoryWin32HandleInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportMemoryWin32HandleInfoNV & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportMemoryWin32HandleInfoNV & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT - { - handle = handle_; - return *this; - } - - operator VkImportMemoryWin32HandleInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportMemoryWin32HandleInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportMemoryWin32HandleInfoNV const & ) const = default; -# else - bool operator==( ImportMemoryWin32HandleInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ) && - ( handle == rhs.handle ); - } - - bool operator!=( ImportMemoryWin32HandleInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryWin32HandleInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType = {}; - HANDLE handle = {}; - }; - static_assert( sizeof( ImportMemoryWin32HandleInfoNV ) == sizeof( VkImportMemoryWin32HandleInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportMemoryWin32HandleInfoNV; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - struct ImportMemoryZirconHandleInfoFUCHSIA - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eImportMemoryZirconHandleInfoFUCHSIA; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ImportMemoryZirconHandleInfoFUCHSIA( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, - zx_handle_t handle_ = {} ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - , handle( handle_ ) - {} - - VULKAN_HPP_CONSTEXPR ImportMemoryZirconHandleInfoFUCHSIA( ImportMemoryZirconHandleInfoFUCHSIA const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryZirconHandleInfoFUCHSIA( VkImportMemoryZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - : ImportMemoryZirconHandleInfoFUCHSIA( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ImportMemoryZirconHandleInfoFUCHSIA & - operator=( ImportMemoryZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ImportMemoryZirconHandleInfoFUCHSIA & - operator=( VkImportMemoryZirconHandleInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ImportMemoryZirconHandleInfoFUCHSIA & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ImportMemoryZirconHandleInfoFUCHSIA & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - ImportMemoryZirconHandleInfoFUCHSIA & setHandle( zx_handle_t handle_ ) VULKAN_HPP_NOEXCEPT - { - handle = handle_; - return *this; - } - - operator VkImportMemoryZirconHandleInfoFUCHSIA const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkImportMemoryZirconHandleInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ImportMemoryZirconHandleInfoFUCHSIA const & ) const = default; -# else - bool operator==( ImportMemoryZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ) && - ( memcmp( &handle, &rhs.handle, sizeof( zx_handle_t ) ) == 0 ); - } - - bool operator!=( ImportMemoryZirconHandleInfoFUCHSIA const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryZirconHandleInfoFUCHSIA; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - zx_handle_t handle = {}; - }; - static_assert( sizeof( ImportMemoryZirconHandleInfoFUCHSIA ) == sizeof( VkImportMemoryZirconHandleInfoFUCHSIA ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ImportMemoryZirconHandleInfoFUCHSIA; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - struct InputAttachmentAspectReference - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - InputAttachmentAspectReference( uint32_t subpass_ = {}, - uint32_t inputAttachmentIndex_ = {}, - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {} ) VULKAN_HPP_NOEXCEPT - : subpass( subpass_ ) - , inputAttachmentIndex( inputAttachmentIndex_ ) - , aspectMask( aspectMask_ ) - {} - - VULKAN_HPP_CONSTEXPR - InputAttachmentAspectReference( InputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InputAttachmentAspectReference( VkInputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT - : InputAttachmentAspectReference( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 InputAttachmentAspectReference & - operator=( InputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InputAttachmentAspectReference & operator=( VkInputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - InputAttachmentAspectReference & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT - { - subpass = subpass_; - return *this; - } - - InputAttachmentAspectReference & setInputAttachmentIndex( uint32_t inputAttachmentIndex_ ) VULKAN_HPP_NOEXCEPT - { - inputAttachmentIndex = inputAttachmentIndex_; - return *this; - } - - InputAttachmentAspectReference & - setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT - { - aspectMask = aspectMask_; - return *this; - } - - operator VkInputAttachmentAspectReference const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkInputAttachmentAspectReference &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( InputAttachmentAspectReference const & ) const = default; -#else - bool operator==( InputAttachmentAspectReference const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( subpass == rhs.subpass ) && ( inputAttachmentIndex == rhs.inputAttachmentIndex ) && - ( aspectMask == rhs.aspectMask ); - } - - bool operator!=( InputAttachmentAspectReference const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t subpass = {}; - uint32_t inputAttachmentIndex = {}; - VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; - }; - static_assert( sizeof( InputAttachmentAspectReference ) == sizeof( VkInputAttachmentAspectReference ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - using InputAttachmentAspectReferenceKHR = InputAttachmentAspectReference; - - struct InstanceCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eInstanceCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR InstanceCreateInfo( VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_ = {}, - const VULKAN_HPP_NAMESPACE::ApplicationInfo * pApplicationInfo_ = {}, - uint32_t enabledLayerCount_ = {}, - const char * const * ppEnabledLayerNames_ = {}, - uint32_t enabledExtensionCount_ = {}, - const char * const * ppEnabledExtensionNames_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pApplicationInfo( pApplicationInfo_ ) - , enabledLayerCount( enabledLayerCount_ ) - , ppEnabledLayerNames( ppEnabledLayerNames_ ) - , enabledExtensionCount( enabledExtensionCount_ ) - , ppEnabledExtensionNames( ppEnabledExtensionNames_ ) - {} - - VULKAN_HPP_CONSTEXPR InstanceCreateInfo( InstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InstanceCreateInfo( VkInstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : InstanceCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - InstanceCreateInfo( - VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_, - const VULKAN_HPP_NAMESPACE::ApplicationInfo * pApplicationInfo_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ = {} ) - : flags( flags_ ) - , pApplicationInfo( pApplicationInfo_ ) - , enabledLayerCount( static_cast( pEnabledLayerNames_.size() ) ) - , ppEnabledLayerNames( pEnabledLayerNames_.data() ) - , enabledExtensionCount( static_cast( pEnabledExtensionNames_.size() ) ) - , ppEnabledExtensionNames( pEnabledExtensionNames_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 InstanceCreateInfo & - operator=( InstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - InstanceCreateInfo & operator=( VkInstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - InstanceCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - InstanceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - InstanceCreateInfo & - setPApplicationInfo( const VULKAN_HPP_NAMESPACE::ApplicationInfo * pApplicationInfo_ ) VULKAN_HPP_NOEXCEPT - { - pApplicationInfo = pApplicationInfo_; - return *this; - } - - InstanceCreateInfo & setEnabledLayerCount( uint32_t enabledLayerCount_ ) VULKAN_HPP_NOEXCEPT - { - enabledLayerCount = enabledLayerCount_; - return *this; - } - - InstanceCreateInfo & setPpEnabledLayerNames( const char * const * ppEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT - { - ppEnabledLayerNames = ppEnabledLayerNames_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - InstanceCreateInfo & setPEnabledLayerNames( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_ ) - VULKAN_HPP_NOEXCEPT - { - enabledLayerCount = static_cast( pEnabledLayerNames_.size() ); - ppEnabledLayerNames = pEnabledLayerNames_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - InstanceCreateInfo & setEnabledExtensionCount( uint32_t enabledExtensionCount_ ) VULKAN_HPP_NOEXCEPT - { - enabledExtensionCount = enabledExtensionCount_; - return *this; - } - - InstanceCreateInfo & setPpEnabledExtensionNames( const char * const * ppEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT - { - ppEnabledExtensionNames = ppEnabledExtensionNames_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - InstanceCreateInfo & setPEnabledExtensionNames( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ ) - VULKAN_HPP_NOEXCEPT - { - enabledExtensionCount = static_cast( pEnabledExtensionNames_.size() ); - ppEnabledExtensionNames = pEnabledExtensionNames_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkInstanceCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkInstanceCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( InstanceCreateInfo const & ) const = default; -#else - bool operator==( InstanceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pApplicationInfo == rhs.pApplicationInfo ) && ( enabledLayerCount == rhs.enabledLayerCount ) && - ( ppEnabledLayerNames == rhs.ppEnabledLayerNames ) && - ( enabledExtensionCount == rhs.enabledExtensionCount ) && - ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames ); - } - - bool operator!=( InstanceCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eInstanceCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags = {}; - const VULKAN_HPP_NAMESPACE::ApplicationInfo * pApplicationInfo = {}; - uint32_t enabledLayerCount = {}; - const char * const * ppEnabledLayerNames = {}; - uint32_t enabledExtensionCount = {}; - const char * const * ppEnabledExtensionNames = {}; - }; - static_assert( sizeof( InstanceCreateInfo ) == sizeof( VkInstanceCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = InstanceCreateInfo; - }; - -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - struct MacOSSurfaceCreateInfoMVK - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMacosSurfaceCreateInfoMVK; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MacOSSurfaceCreateInfoMVK( VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags_ = {}, - const void * pView_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pView( pView_ ) - {} - - VULKAN_HPP_CONSTEXPR - MacOSSurfaceCreateInfoMVK( MacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MacOSSurfaceCreateInfoMVK( VkMacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT - : MacOSSurfaceCreateInfoMVK( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MacOSSurfaceCreateInfoMVK & - operator=( MacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MacOSSurfaceCreateInfoMVK & operator=( VkMacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MacOSSurfaceCreateInfoMVK & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MacOSSurfaceCreateInfoMVK & setFlags( VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - MacOSSurfaceCreateInfoMVK & setPView( const void * pView_ ) VULKAN_HPP_NOEXCEPT - { - pView = pView_; - return *this; - } - - operator VkMacOSSurfaceCreateInfoMVK const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMacOSSurfaceCreateInfoMVK &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MacOSSurfaceCreateInfoMVK const & ) const = default; -# else - bool operator==( MacOSSurfaceCreateInfoMVK const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( pView == rhs.pView ); - } - - bool operator!=( MacOSSurfaceCreateInfoMVK const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMacosSurfaceCreateInfoMVK; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags = {}; - const void * pView = {}; - }; - static_assert( sizeof( MacOSSurfaceCreateInfoMVK ) == sizeof( VkMacOSSurfaceCreateInfoMVK ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MacOSSurfaceCreateInfoMVK; - }; -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - - struct MemoryAllocateFlagsInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryAllocateFlagsInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryAllocateFlagsInfo( VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags_ = {}, - uint32_t deviceMask_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , deviceMask( deviceMask_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryAllocateFlagsInfo( MemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryAllocateFlagsInfo( VkMemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryAllocateFlagsInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryAllocateFlagsInfo & - operator=( MemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryAllocateFlagsInfo & operator=( VkMemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryAllocateFlagsInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryAllocateFlagsInfo & setFlags( VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - MemoryAllocateFlagsInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT - { - deviceMask = deviceMask_; - return *this; - } - - operator VkMemoryAllocateFlagsInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryAllocateFlagsInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryAllocateFlagsInfo const & ) const = default; -#else - bool operator==( MemoryAllocateFlagsInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( deviceMask == rhs.deviceMask ); - } - - bool operator!=( MemoryAllocateFlagsInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryAllocateFlagsInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags = {}; - uint32_t deviceMask = {}; - }; - static_assert( sizeof( MemoryAllocateFlagsInfo ) == sizeof( VkMemoryAllocateFlagsInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryAllocateFlagsInfo; - }; - using MemoryAllocateFlagsInfoKHR = MemoryAllocateFlagsInfo; - - struct MemoryDedicatedAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryDedicatedAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo( VULKAN_HPP_NAMESPACE::Image image_ = {}, - VULKAN_HPP_NAMESPACE::Buffer buffer_ = {} ) VULKAN_HPP_NOEXCEPT - : image( image_ ) - , buffer( buffer_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryDedicatedAllocateInfo( MemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryDedicatedAllocateInfo( VkMemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryDedicatedAllocateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryDedicatedAllocateInfo & - operator=( MemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryDedicatedAllocateInfo & operator=( VkMemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryDedicatedAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryDedicatedAllocateInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT - { - image = image_; - return *this; - } - - MemoryDedicatedAllocateInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT - { - buffer = buffer_; - return *this; - } - - operator VkMemoryDedicatedAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryDedicatedAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryDedicatedAllocateInfo const & ) const = default; -#else - bool operator==( MemoryDedicatedAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( image == rhs.image ) && ( buffer == rhs.buffer ); - } - - bool operator!=( MemoryDedicatedAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryDedicatedAllocateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Image image = {}; - VULKAN_HPP_NAMESPACE::Buffer buffer = {}; - }; - static_assert( sizeof( MemoryDedicatedAllocateInfo ) == sizeof( VkMemoryDedicatedAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryDedicatedAllocateInfo; - }; - using MemoryDedicatedAllocateInfoKHR = MemoryDedicatedAllocateInfo; - - struct MemoryDedicatedRequirements - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryDedicatedRequirements; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryDedicatedRequirements( VULKAN_HPP_NAMESPACE::Bool32 prefersDedicatedAllocation_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 requiresDedicatedAllocation_ = {} ) VULKAN_HPP_NOEXCEPT - : prefersDedicatedAllocation( prefersDedicatedAllocation_ ) - , requiresDedicatedAllocation( requiresDedicatedAllocation_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryDedicatedRequirements( MemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryDedicatedRequirements( VkMemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryDedicatedRequirements( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryDedicatedRequirements & - operator=( MemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryDedicatedRequirements & operator=( VkMemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkMemoryDedicatedRequirements const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryDedicatedRequirements &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryDedicatedRequirements const & ) const = default; -#else - bool operator==( MemoryDedicatedRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( prefersDedicatedAllocation == rhs.prefersDedicatedAllocation ) && - ( requiresDedicatedAllocation == rhs.requiresDedicatedAllocation ); - } - - bool operator!=( MemoryDedicatedRequirements const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryDedicatedRequirements; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 prefersDedicatedAllocation = {}; - VULKAN_HPP_NAMESPACE::Bool32 requiresDedicatedAllocation = {}; - }; - static_assert( sizeof( MemoryDedicatedRequirements ) == sizeof( VkMemoryDedicatedRequirements ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryDedicatedRequirements; - }; - using MemoryDedicatedRequirementsKHR = MemoryDedicatedRequirements; - - struct MemoryOpaqueCaptureAddressAllocateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eMemoryOpaqueCaptureAddressAllocateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - MemoryOpaqueCaptureAddressAllocateInfo( uint64_t opaqueCaptureAddress_ = {} ) VULKAN_HPP_NOEXCEPT - : opaqueCaptureAddress( opaqueCaptureAddress_ ) - {} - - VULKAN_HPP_CONSTEXPR MemoryOpaqueCaptureAddressAllocateInfo( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - MemoryOpaqueCaptureAddressAllocateInfo( VkMemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryOpaqueCaptureAddressAllocateInfo( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryOpaqueCaptureAddressAllocateInfo & - operator=( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryOpaqueCaptureAddressAllocateInfo & - operator=( VkMemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryOpaqueCaptureAddressAllocateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryOpaqueCaptureAddressAllocateInfo & - setOpaqueCaptureAddress( uint64_t opaqueCaptureAddress_ ) VULKAN_HPP_NOEXCEPT - { - opaqueCaptureAddress = opaqueCaptureAddress_; - return *this; - } - - operator VkMemoryOpaqueCaptureAddressAllocateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryOpaqueCaptureAddressAllocateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryOpaqueCaptureAddressAllocateInfo const & ) const = default; -#else - bool operator==( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( opaqueCaptureAddress == rhs.opaqueCaptureAddress ); - } - - bool operator!=( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryOpaqueCaptureAddressAllocateInfo; - const void * pNext = {}; - uint64_t opaqueCaptureAddress = {}; - }; - static_assert( sizeof( MemoryOpaqueCaptureAddressAllocateInfo ) == sizeof( VkMemoryOpaqueCaptureAddressAllocateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryOpaqueCaptureAddressAllocateInfo; - }; - using MemoryOpaqueCaptureAddressAllocateInfoKHR = MemoryOpaqueCaptureAddressAllocateInfo; - - struct MemoryPriorityAllocateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryPriorityAllocateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MemoryPriorityAllocateInfoEXT( float priority_ = {} ) VULKAN_HPP_NOEXCEPT - : priority( priority_ ) - {} - - VULKAN_HPP_CONSTEXPR - MemoryPriorityAllocateInfoEXT( MemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryPriorityAllocateInfoEXT( VkMemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : MemoryPriorityAllocateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MemoryPriorityAllocateInfoEXT & - operator=( MemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MemoryPriorityAllocateInfoEXT & operator=( VkMemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MemoryPriorityAllocateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MemoryPriorityAllocateInfoEXT & setPriority( float priority_ ) VULKAN_HPP_NOEXCEPT - { - priority = priority_; - return *this; - } - - operator VkMemoryPriorityAllocateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMemoryPriorityAllocateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MemoryPriorityAllocateInfoEXT const & ) const = default; -#else - bool operator==( MemoryPriorityAllocateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( priority == rhs.priority ); - } - - bool operator!=( MemoryPriorityAllocateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryPriorityAllocateInfoEXT; - const void * pNext = {}; - float priority = {}; - }; - static_assert( sizeof( MemoryPriorityAllocateInfoEXT ) == sizeof( VkMemoryPriorityAllocateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MemoryPriorityAllocateInfoEXT; - }; - -#if defined( VK_USE_PLATFORM_METAL_EXT ) - struct MetalSurfaceCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMetalSurfaceCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MetalSurfaceCreateInfoEXT( VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags_ = {}, - const CAMetalLayer * pLayer_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pLayer( pLayer_ ) - {} - - VULKAN_HPP_CONSTEXPR - MetalSurfaceCreateInfoEXT( MetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MetalSurfaceCreateInfoEXT( VkMetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : MetalSurfaceCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MetalSurfaceCreateInfoEXT & - operator=( MetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MetalSurfaceCreateInfoEXT & operator=( VkMetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MetalSurfaceCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MetalSurfaceCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - MetalSurfaceCreateInfoEXT & setPLayer( const CAMetalLayer * pLayer_ ) VULKAN_HPP_NOEXCEPT - { - pLayer = pLayer_; - return *this; - } - - operator VkMetalSurfaceCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMetalSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MetalSurfaceCreateInfoEXT const & ) const = default; -# else - bool operator==( MetalSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( pLayer == rhs.pLayer ); - } - - bool operator!=( MetalSurfaceCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMetalSurfaceCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags = {}; - const CAMetalLayer * pLayer = {}; - }; - static_assert( sizeof( MetalSurfaceCreateInfoEXT ) == sizeof( VkMetalSurfaceCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MetalSurfaceCreateInfoEXT; - }; -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - - struct MutableDescriptorTypeListVALVE - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MutableDescriptorTypeListVALVE( - uint32_t descriptorTypeCount_ = {}, - const VULKAN_HPP_NAMESPACE::DescriptorType * pDescriptorTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : descriptorTypeCount( descriptorTypeCount_ ) - , pDescriptorTypes( pDescriptorTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR - MutableDescriptorTypeListVALVE( MutableDescriptorTypeListVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MutableDescriptorTypeListVALVE( VkMutableDescriptorTypeListVALVE const & rhs ) VULKAN_HPP_NOEXCEPT - : MutableDescriptorTypeListVALVE( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - MutableDescriptorTypeListVALVE( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - descriptorTypes_ ) - : descriptorTypeCount( static_cast( descriptorTypes_.size() ) ) - , pDescriptorTypes( descriptorTypes_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MutableDescriptorTypeListVALVE & - operator=( MutableDescriptorTypeListVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MutableDescriptorTypeListVALVE & operator=( VkMutableDescriptorTypeListVALVE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MutableDescriptorTypeListVALVE & setDescriptorTypeCount( uint32_t descriptorTypeCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorTypeCount = descriptorTypeCount_; - return *this; - } - - MutableDescriptorTypeListVALVE & - setPDescriptorTypes( const VULKAN_HPP_NAMESPACE::DescriptorType * pDescriptorTypes_ ) VULKAN_HPP_NOEXCEPT - { - pDescriptorTypes = pDescriptorTypes_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - MutableDescriptorTypeListVALVE & setDescriptorTypes( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - descriptorTypes_ ) VULKAN_HPP_NOEXCEPT - { - descriptorTypeCount = static_cast( descriptorTypes_.size() ); - pDescriptorTypes = descriptorTypes_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkMutableDescriptorTypeListVALVE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMutableDescriptorTypeListVALVE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MutableDescriptorTypeListVALVE const & ) const = default; -#else - bool operator==( MutableDescriptorTypeListVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( descriptorTypeCount == rhs.descriptorTypeCount ) && ( pDescriptorTypes == rhs.pDescriptorTypes ); - } - - bool operator!=( MutableDescriptorTypeListVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t descriptorTypeCount = {}; - const VULKAN_HPP_NAMESPACE::DescriptorType * pDescriptorTypes = {}; - }; - static_assert( sizeof( MutableDescriptorTypeListVALVE ) == sizeof( VkMutableDescriptorTypeListVALVE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct MutableDescriptorTypeCreateInfoVALVE - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eMutableDescriptorTypeCreateInfoVALVE; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR MutableDescriptorTypeCreateInfoVALVE( - uint32_t mutableDescriptorTypeListCount_ = {}, - const VULKAN_HPP_NAMESPACE::MutableDescriptorTypeListVALVE * pMutableDescriptorTypeLists_ = {} ) - VULKAN_HPP_NOEXCEPT - : mutableDescriptorTypeListCount( mutableDescriptorTypeListCount_ ) - , pMutableDescriptorTypeLists( pMutableDescriptorTypeLists_ ) - {} - - VULKAN_HPP_CONSTEXPR MutableDescriptorTypeCreateInfoVALVE( MutableDescriptorTypeCreateInfoVALVE const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - MutableDescriptorTypeCreateInfoVALVE( VkMutableDescriptorTypeCreateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT - : MutableDescriptorTypeCreateInfoVALVE( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - MutableDescriptorTypeCreateInfoVALVE( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - mutableDescriptorTypeLists_ ) - : mutableDescriptorTypeListCount( static_cast( mutableDescriptorTypeLists_.size() ) ) - , pMutableDescriptorTypeLists( mutableDescriptorTypeLists_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 MutableDescriptorTypeCreateInfoVALVE & - operator=( MutableDescriptorTypeCreateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - MutableDescriptorTypeCreateInfoVALVE & - operator=( VkMutableDescriptorTypeCreateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - MutableDescriptorTypeCreateInfoVALVE & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - MutableDescriptorTypeCreateInfoVALVE & - setMutableDescriptorTypeListCount( uint32_t mutableDescriptorTypeListCount_ ) VULKAN_HPP_NOEXCEPT - { - mutableDescriptorTypeListCount = mutableDescriptorTypeListCount_; - return *this; - } - - MutableDescriptorTypeCreateInfoVALVE & setPMutableDescriptorTypeLists( - const VULKAN_HPP_NAMESPACE::MutableDescriptorTypeListVALVE * pMutableDescriptorTypeLists_ ) VULKAN_HPP_NOEXCEPT - { - pMutableDescriptorTypeLists = pMutableDescriptorTypeLists_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - MutableDescriptorTypeCreateInfoVALVE & setMutableDescriptorTypeLists( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - mutableDescriptorTypeLists_ ) VULKAN_HPP_NOEXCEPT - { - mutableDescriptorTypeListCount = static_cast( mutableDescriptorTypeLists_.size() ); - pMutableDescriptorTypeLists = mutableDescriptorTypeLists_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkMutableDescriptorTypeCreateInfoVALVE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkMutableDescriptorTypeCreateInfoVALVE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( MutableDescriptorTypeCreateInfoVALVE const & ) const = default; -#else - bool operator==( MutableDescriptorTypeCreateInfoVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( mutableDescriptorTypeListCount == rhs.mutableDescriptorTypeListCount ) && - ( pMutableDescriptorTypeLists == rhs.pMutableDescriptorTypeLists ); - } - - bool operator!=( MutableDescriptorTypeCreateInfoVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMutableDescriptorTypeCreateInfoVALVE; - const void * pNext = {}; - uint32_t mutableDescriptorTypeListCount = {}; - const VULKAN_HPP_NAMESPACE::MutableDescriptorTypeListVALVE * pMutableDescriptorTypeLists = {}; - }; - static_assert( sizeof( MutableDescriptorTypeCreateInfoVALVE ) == sizeof( VkMutableDescriptorTypeCreateInfoVALVE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = MutableDescriptorTypeCreateInfoVALVE; - }; - - union PerformanceCounterResultKHR - { - PerformanceCounterResultKHR( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR ) ); - } - - PerformanceCounterResultKHR( int32_t int32_ = {} ) : int32( int32_ ) {} - - PerformanceCounterResultKHR( int64_t int64_ ) : int64( int64_ ) {} - - PerformanceCounterResultKHR( uint32_t uint32_ ) : uint32( uint32_ ) {} - - PerformanceCounterResultKHR( uint64_t uint64_ ) : uint64( uint64_ ) {} - - PerformanceCounterResultKHR( float float32_ ) : float32( float32_ ) {} - - PerformanceCounterResultKHR( double float64_ ) : float64( float64_ ) {} - - PerformanceCounterResultKHR & setInt32( int32_t int32_ ) VULKAN_HPP_NOEXCEPT - { - int32 = int32_; - return *this; - } - - PerformanceCounterResultKHR & setInt64( int64_t int64_ ) VULKAN_HPP_NOEXCEPT - { - int64 = int64_; - return *this; - } - - PerformanceCounterResultKHR & setUint32( uint32_t uint32_ ) VULKAN_HPP_NOEXCEPT - { - uint32 = uint32_; - return *this; - } - - PerformanceCounterResultKHR & setUint64( uint64_t uint64_ ) VULKAN_HPP_NOEXCEPT - { - uint64 = uint64_; - return *this; - } - - PerformanceCounterResultKHR & setFloat32( float float32_ ) VULKAN_HPP_NOEXCEPT - { - float32 = float32_; - return *this; - } - - PerformanceCounterResultKHR & setFloat64( double float64_ ) VULKAN_HPP_NOEXCEPT - { - float64 = float64_; - return *this; - } - - VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR & - operator=( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - memcpy( static_cast( this ), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR ) ); - return *this; - } - - operator VkPerformanceCounterResultKHR const &() const - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceCounterResultKHR &() - { - return *reinterpret_cast( this ); - } - - int32_t int32; - int64_t int64; - uint32_t uint32; - uint64_t uint64; - float float32; - double float64; - }; - - struct PerformanceQuerySubmitInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceQuerySubmitInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PerformanceQuerySubmitInfoKHR( uint32_t counterPassIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : counterPassIndex( counterPassIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - PerformanceQuerySubmitInfoKHR( PerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceQuerySubmitInfoKHR( VkPerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PerformanceQuerySubmitInfoKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PerformanceQuerySubmitInfoKHR & - operator=( PerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PerformanceQuerySubmitInfoKHR & operator=( VkPerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PerformanceQuerySubmitInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PerformanceQuerySubmitInfoKHR & setCounterPassIndex( uint32_t counterPassIndex_ ) VULKAN_HPP_NOEXCEPT - { - counterPassIndex = counterPassIndex_; - return *this; - } - - operator VkPerformanceQuerySubmitInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPerformanceQuerySubmitInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PerformanceQuerySubmitInfoKHR const & ) const = default; -#else - bool operator==( PerformanceQuerySubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( counterPassIndex == rhs.counterPassIndex ); - } - - bool operator!=( PerformanceQuerySubmitInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceQuerySubmitInfoKHR; - const void * pNext = {}; - uint32_t counterPassIndex = {}; - }; - static_assert( sizeof( PerformanceQuerySubmitInfoKHR ) == sizeof( VkPerformanceQuerySubmitInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PerformanceQuerySubmitInfoKHR; - }; - - struct PhysicalDevice16BitStorageFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevice16BitStorageFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDevice16BitStorageFeatures( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ = {} ) VULKAN_HPP_NOEXCEPT - : storageBuffer16BitAccess( storageBuffer16BitAccess_ ) - , uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ ) - , storagePushConstant16( storagePushConstant16_ ) - , storageInputOutput16( storageInputOutput16_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevice16BitStorageFeatures( PhysicalDevice16BitStorageFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice16BitStorageFeatures( VkPhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevice16BitStorageFeatures( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevice16BitStorageFeatures & - operator=( PhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice16BitStorageFeatures & - operator=( VkPhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevice16BitStorageFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevice16BitStorageFeatures & - setStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - storageBuffer16BitAccess = storageBuffer16BitAccess_; - return *this; - } - - PhysicalDevice16BitStorageFeatures & setUniformAndStorageBuffer16BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_; - return *this; - } - - PhysicalDevice16BitStorageFeatures & - setStoragePushConstant16( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ ) VULKAN_HPP_NOEXCEPT - { - storagePushConstant16 = storagePushConstant16_; - return *this; - } - - PhysicalDevice16BitStorageFeatures & - setStorageInputOutput16( VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ ) VULKAN_HPP_NOEXCEPT - { - storageInputOutput16 = storageInputOutput16_; - return *this; - } - - operator VkPhysicalDevice16BitStorageFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevice16BitStorageFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevice16BitStorageFeatures const & ) const = default; -#else - bool operator==( PhysicalDevice16BitStorageFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess ) && - ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess ) && - ( storagePushConstant16 == rhs.storagePushConstant16 ) && - ( storageInputOutput16 == rhs.storageInputOutput16 ); - } - - bool operator!=( PhysicalDevice16BitStorageFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice16BitStorageFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16 = {}; - }; - static_assert( sizeof( PhysicalDevice16BitStorageFeatures ) == sizeof( VkPhysicalDevice16BitStorageFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevice16BitStorageFeatures; - }; - using PhysicalDevice16BitStorageFeaturesKHR = PhysicalDevice16BitStorageFeatures; - - struct PhysicalDevice4444FormatsFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevice4444FormatsFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDevice4444FormatsFeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4_ = {} ) VULKAN_HPP_NOEXCEPT - : formatA4R4G4B4( formatA4R4G4B4_ ) - , formatA4B4G4R4( formatA4B4G4R4_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevice4444FormatsFeaturesEXT( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice4444FormatsFeaturesEXT( VkPhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevice4444FormatsFeaturesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevice4444FormatsFeaturesEXT & - operator=( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice4444FormatsFeaturesEXT & - operator=( VkPhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevice4444FormatsFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevice4444FormatsFeaturesEXT & - setFormatA4R4G4B4( VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4_ ) VULKAN_HPP_NOEXCEPT - { - formatA4R4G4B4 = formatA4R4G4B4_; - return *this; - } - - PhysicalDevice4444FormatsFeaturesEXT & - setFormatA4B4G4R4( VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4_ ) VULKAN_HPP_NOEXCEPT - { - formatA4B4G4R4 = formatA4B4G4R4_; - return *this; - } - - operator VkPhysicalDevice4444FormatsFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevice4444FormatsFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevice4444FormatsFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( formatA4R4G4B4 == rhs.formatA4R4G4B4 ) && - ( formatA4B4G4R4 == rhs.formatA4B4G4R4 ); - } - - bool operator!=( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice4444FormatsFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4 = {}; - VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4 = {}; - }; - static_assert( sizeof( PhysicalDevice4444FormatsFeaturesEXT ) == sizeof( VkPhysicalDevice4444FormatsFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevice4444FormatsFeaturesEXT; - }; - - struct PhysicalDevice8BitStorageFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevice8BitStorageFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDevice8BitStorageFeatures( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ = {} ) VULKAN_HPP_NOEXCEPT - : storageBuffer8BitAccess( storageBuffer8BitAccess_ ) - , uniformAndStorageBuffer8BitAccess( uniformAndStorageBuffer8BitAccess_ ) - , storagePushConstant8( storagePushConstant8_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDevice8BitStorageFeatures( PhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice8BitStorageFeatures( VkPhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevice8BitStorageFeatures( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevice8BitStorageFeatures & - operator=( PhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevice8BitStorageFeatures & operator=( VkPhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevice8BitStorageFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevice8BitStorageFeatures & - setStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - storageBuffer8BitAccess = storageBuffer8BitAccess_; - return *this; - } - - PhysicalDevice8BitStorageFeatures & setUniformAndStorageBuffer8BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess_; - return *this; - } - - PhysicalDevice8BitStorageFeatures & - setStoragePushConstant8( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ ) VULKAN_HPP_NOEXCEPT - { - storagePushConstant8 = storagePushConstant8_; - return *this; - } - - operator VkPhysicalDevice8BitStorageFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevice8BitStorageFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevice8BitStorageFeatures const & ) const = default; -#else - bool operator==( PhysicalDevice8BitStorageFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( storageBuffer8BitAccess == rhs.storageBuffer8BitAccess ) && - ( uniformAndStorageBuffer8BitAccess == rhs.uniformAndStorageBuffer8BitAccess ) && - ( storagePushConstant8 == rhs.storagePushConstant8 ); - } - - bool operator!=( PhysicalDevice8BitStorageFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice8BitStorageFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8 = {}; - }; - static_assert( sizeof( PhysicalDevice8BitStorageFeatures ) == sizeof( VkPhysicalDevice8BitStorageFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevice8BitStorageFeatures; - }; - using PhysicalDevice8BitStorageFeaturesKHR = PhysicalDevice8BitStorageFeatures; - - struct PhysicalDeviceASTCDecodeFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceASTCDecodeFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent_ = {} ) VULKAN_HPP_NOEXCEPT - : decodeModeSharedExponent( decodeModeSharedExponent_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceASTCDecodeFeaturesEXT( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceASTCDecodeFeaturesEXT( VkPhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceASTCDecodeFeaturesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceASTCDecodeFeaturesEXT & - operator=( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceASTCDecodeFeaturesEXT & - operator=( VkPhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceASTCDecodeFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceASTCDecodeFeaturesEXT & - setDecodeModeSharedExponent( VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent_ ) VULKAN_HPP_NOEXCEPT - { - decodeModeSharedExponent = decodeModeSharedExponent_; - return *this; - } - - operator VkPhysicalDeviceASTCDecodeFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceASTCDecodeFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceASTCDecodeFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( decodeModeSharedExponent == rhs.decodeModeSharedExponent ); - } - - bool operator!=( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent = {}; - }; - static_assert( sizeof( PhysicalDeviceASTCDecodeFeaturesEXT ) == sizeof( VkPhysicalDeviceASTCDecodeFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceASTCDecodeFeaturesEXT; - }; - - struct PhysicalDeviceAccelerationStructureFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceAccelerationStructureFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceAccelerationStructureFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructure_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureCaptureReplay_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureIndirectBuild_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureHostCommands_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingAccelerationStructureUpdateAfterBind_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructure( accelerationStructure_ ) - , accelerationStructureCaptureReplay( accelerationStructureCaptureReplay_ ) - , accelerationStructureIndirectBuild( accelerationStructureIndirectBuild_ ) - , accelerationStructureHostCommands( accelerationStructureHostCommands_ ) - , descriptorBindingAccelerationStructureUpdateAfterBind( descriptorBindingAccelerationStructureUpdateAfterBind_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceAccelerationStructureFeaturesKHR( - PhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceAccelerationStructureFeaturesKHR( VkPhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceAccelerationStructureFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceAccelerationStructureFeaturesKHR & - operator=( PhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceAccelerationStructureFeaturesKHR & - operator=( VkPhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & - setAccelerationStructure( VULKAN_HPP_NAMESPACE::Bool32 accelerationStructure_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructure = accelerationStructure_; - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & setAccelerationStructureCaptureReplay( - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureCaptureReplay_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureCaptureReplay = accelerationStructureCaptureReplay_; - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & setAccelerationStructureIndirectBuild( - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureIndirectBuild_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureIndirectBuild = accelerationStructureIndirectBuild_; - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & setAccelerationStructureHostCommands( - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureHostCommands_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureHostCommands = accelerationStructureHostCommands_; - return *this; - } - - PhysicalDeviceAccelerationStructureFeaturesKHR & setDescriptorBindingAccelerationStructureUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingAccelerationStructureUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingAccelerationStructureUpdateAfterBind = descriptorBindingAccelerationStructureUpdateAfterBind_; - return *this; - } - - operator VkPhysicalDeviceAccelerationStructureFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceAccelerationStructureFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceAccelerationStructureFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( accelerationStructure == rhs.accelerationStructure ) && - ( accelerationStructureCaptureReplay == rhs.accelerationStructureCaptureReplay ) && - ( accelerationStructureIndirectBuild == rhs.accelerationStructureIndirectBuild ) && - ( accelerationStructureHostCommands == rhs.accelerationStructureHostCommands ) && - ( descriptorBindingAccelerationStructureUpdateAfterBind == - rhs.descriptorBindingAccelerationStructureUpdateAfterBind ); - } - - bool operator!=( PhysicalDeviceAccelerationStructureFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceAccelerationStructureFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructure = {}; - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureCaptureReplay = {}; - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureIndirectBuild = {}; - VULKAN_HPP_NAMESPACE::Bool32 accelerationStructureHostCommands = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingAccelerationStructureUpdateAfterBind = {}; - }; - static_assert( sizeof( PhysicalDeviceAccelerationStructureFeaturesKHR ) == - sizeof( VkPhysicalDeviceAccelerationStructureFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceAccelerationStructureFeaturesKHR; - }; - - struct PhysicalDeviceAccelerationStructurePropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceAccelerationStructurePropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceAccelerationStructurePropertiesKHR( - uint64_t maxGeometryCount_ = {}, - uint64_t maxInstanceCount_ = {}, - uint64_t maxPrimitiveCount_ = {}, - uint32_t maxPerStageDescriptorAccelerationStructures_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindAccelerationStructures_ = {}, - uint32_t maxDescriptorSetAccelerationStructures_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindAccelerationStructures_ = {}, - uint32_t minAccelerationStructureScratchOffsetAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : maxGeometryCount( maxGeometryCount_ ) - , maxInstanceCount( maxInstanceCount_ ) - , maxPrimitiveCount( maxPrimitiveCount_ ) - , maxPerStageDescriptorAccelerationStructures( maxPerStageDescriptorAccelerationStructures_ ) - , maxPerStageDescriptorUpdateAfterBindAccelerationStructures( - maxPerStageDescriptorUpdateAfterBindAccelerationStructures_ ) - , maxDescriptorSetAccelerationStructures( maxDescriptorSetAccelerationStructures_ ) - , maxDescriptorSetUpdateAfterBindAccelerationStructures( maxDescriptorSetUpdateAfterBindAccelerationStructures_ ) - , minAccelerationStructureScratchOffsetAlignment( minAccelerationStructureScratchOffsetAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceAccelerationStructurePropertiesKHR( - PhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceAccelerationStructurePropertiesKHR( VkPhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceAccelerationStructurePropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceAccelerationStructurePropertiesKHR & - operator=( PhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceAccelerationStructurePropertiesKHR & - operator=( VkPhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceAccelerationStructurePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceAccelerationStructurePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceAccelerationStructurePropertiesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxGeometryCount == rhs.maxGeometryCount ) && - ( maxInstanceCount == rhs.maxInstanceCount ) && ( maxPrimitiveCount == rhs.maxPrimitiveCount ) && - ( maxPerStageDescriptorAccelerationStructures == rhs.maxPerStageDescriptorAccelerationStructures ) && - ( maxPerStageDescriptorUpdateAfterBindAccelerationStructures == - rhs.maxPerStageDescriptorUpdateAfterBindAccelerationStructures ) && - ( maxDescriptorSetAccelerationStructures == rhs.maxDescriptorSetAccelerationStructures ) && - ( maxDescriptorSetUpdateAfterBindAccelerationStructures == - rhs.maxDescriptorSetUpdateAfterBindAccelerationStructures ) && - ( minAccelerationStructureScratchOffsetAlignment == rhs.minAccelerationStructureScratchOffsetAlignment ); - } - - bool operator!=( PhysicalDeviceAccelerationStructurePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceAccelerationStructurePropertiesKHR; - void * pNext = {}; - uint64_t maxGeometryCount = {}; - uint64_t maxInstanceCount = {}; - uint64_t maxPrimitiveCount = {}; - uint32_t maxPerStageDescriptorAccelerationStructures = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindAccelerationStructures = {}; - uint32_t maxDescriptorSetAccelerationStructures = {}; - uint32_t maxDescriptorSetUpdateAfterBindAccelerationStructures = {}; - uint32_t minAccelerationStructureScratchOffsetAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceAccelerationStructurePropertiesKHR ) == - sizeof( VkPhysicalDeviceAccelerationStructurePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceAccelerationStructurePropertiesKHR; - }; - - struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations_ = {} ) VULKAN_HPP_NOEXCEPT - : advancedBlendCoherentOperations( advancedBlendCoherentOperations_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedFeaturesEXT( - PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBlendOperationAdvancedFeaturesEXT( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceBlendOperationAdvancedFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBlendOperationAdvancedFeaturesEXT & - operator=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBlendOperationAdvancedFeaturesEXT & - operator=( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceBlendOperationAdvancedFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceBlendOperationAdvancedFeaturesEXT & setAdvancedBlendCoherentOperations( - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations_ ) VULKAN_HPP_NOEXCEPT - { - advancedBlendCoherentOperations = advancedBlendCoherentOperations_; - return *this; - } - - operator VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( advancedBlendCoherentOperations == rhs.advancedBlendCoherentOperations ); - } - - bool operator!=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations = {}; - }; - static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) == - sizeof( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceBlendOperationAdvancedFeaturesEXT; - }; - - struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedPropertiesEXT( - uint32_t advancedBlendMaxColorAttachments_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendIndependentBlend_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedSrcColor_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedDstColor_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCorrelatedOverlap_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendAllOperations_ = {} ) VULKAN_HPP_NOEXCEPT - : advancedBlendMaxColorAttachments( advancedBlendMaxColorAttachments_ ) - , advancedBlendIndependentBlend( advancedBlendIndependentBlend_ ) - , advancedBlendNonPremultipliedSrcColor( advancedBlendNonPremultipliedSrcColor_ ) - , advancedBlendNonPremultipliedDstColor( advancedBlendNonPremultipliedDstColor_ ) - , advancedBlendCorrelatedOverlap( advancedBlendCorrelatedOverlap_ ) - , advancedBlendAllOperations( advancedBlendAllOperations_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedPropertiesEXT( - PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBlendOperationAdvancedPropertiesEXT( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceBlendOperationAdvancedPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBlendOperationAdvancedPropertiesEXT & - operator=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBlendOperationAdvancedPropertiesEXT & - operator=( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( advancedBlendMaxColorAttachments == rhs.advancedBlendMaxColorAttachments ) && - ( advancedBlendIndependentBlend == rhs.advancedBlendIndependentBlend ) && - ( advancedBlendNonPremultipliedSrcColor == rhs.advancedBlendNonPremultipliedSrcColor ) && - ( advancedBlendNonPremultipliedDstColor == rhs.advancedBlendNonPremultipliedDstColor ) && - ( advancedBlendCorrelatedOverlap == rhs.advancedBlendCorrelatedOverlap ) && - ( advancedBlendAllOperations == rhs.advancedBlendAllOperations ); - } - - bool operator!=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT; - void * pNext = {}; - uint32_t advancedBlendMaxColorAttachments = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendIndependentBlend = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedSrcColor = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedDstColor = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCorrelatedOverlap = {}; - VULKAN_HPP_NAMESPACE::Bool32 advancedBlendAllOperations = {}; - }; - static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedPropertiesEXT ) == - sizeof( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceBlendOperationAdvancedPropertiesEXT; - }; - - struct PhysicalDeviceBufferDeviceAddressFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceBufferDeviceAddressFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeatures( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {} ) VULKAN_HPP_NOEXCEPT - : bufferDeviceAddress( bufferDeviceAddress_ ) - , bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ) - , bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeatures( - PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBufferDeviceAddressFeatures( VkPhysicalDeviceBufferDeviceAddressFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceBufferDeviceAddressFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressFeatures & - operator=( PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBufferDeviceAddressFeatures & - operator=( VkPhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeatures & - setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddress = bufferDeviceAddress_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeatures & setBufferDeviceAddressCaptureReplay( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeatures & setBufferDeviceAddressMultiDevice( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; - return *this; - } - - operator VkPhysicalDeviceBufferDeviceAddressFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceBufferDeviceAddressFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceBufferDeviceAddressFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( bufferDeviceAddress == rhs.bufferDeviceAddress ) && - ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) && - ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ); - } - - bool operator!=( PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; - }; - static_assert( sizeof( PhysicalDeviceBufferDeviceAddressFeatures ) == - sizeof( VkPhysicalDeviceBufferDeviceAddressFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceBufferDeviceAddressFeatures; - }; - using PhysicalDeviceBufferDeviceAddressFeaturesKHR = PhysicalDeviceBufferDeviceAddressFeatures; - - struct PhysicalDeviceBufferDeviceAddressFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {} ) VULKAN_HPP_NOEXCEPT - : bufferDeviceAddress( bufferDeviceAddress_ ) - , bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ) - , bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeaturesEXT( - PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBufferDeviceAddressFeaturesEXT( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceBufferDeviceAddressFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressFeaturesEXT & - operator=( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceBufferDeviceAddressFeaturesEXT & - operator=( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeaturesEXT & - setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddress = bufferDeviceAddress_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeaturesEXT & setBufferDeviceAddressCaptureReplay( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; - return *this; - } - - PhysicalDeviceBufferDeviceAddressFeaturesEXT & setBufferDeviceAddressMultiDevice( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; - return *this; - } - - operator VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceBufferDeviceAddressFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( bufferDeviceAddress == rhs.bufferDeviceAddress ) && - ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) && - ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ); - } - - bool operator!=( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; - }; - static_assert( sizeof( PhysicalDeviceBufferDeviceAddressFeaturesEXT ) == - sizeof( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceBufferDeviceAddressFeaturesEXT; - }; - using PhysicalDeviceBufferAddressFeaturesEXT = PhysicalDeviceBufferDeviceAddressFeaturesEXT; - - struct PhysicalDeviceCoherentMemoryFeaturesAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCoherentMemoryFeaturesAMD( - VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceCoherentMemory( deviceCoherentMemory_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCoherentMemoryFeaturesAMD( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCoherentMemoryFeaturesAMD( VkPhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCoherentMemoryFeaturesAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCoherentMemoryFeaturesAMD & - operator=( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCoherentMemoryFeaturesAMD & - operator=( VkPhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceCoherentMemoryFeaturesAMD & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceCoherentMemoryFeaturesAMD & - setDeviceCoherentMemory( VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory_ ) VULKAN_HPP_NOEXCEPT - { - deviceCoherentMemory = deviceCoherentMemory_; - return *this; - } - - operator VkPhysicalDeviceCoherentMemoryFeaturesAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCoherentMemoryFeaturesAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCoherentMemoryFeaturesAMD const & ) const = default; -#else - bool operator==( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceCoherentMemory == rhs.deviceCoherentMemory ); - } - - bool operator!=( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory = {}; - }; - static_assert( sizeof( PhysicalDeviceCoherentMemoryFeaturesAMD ) == - sizeof( VkPhysicalDeviceCoherentMemoryFeaturesAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCoherentMemoryFeaturesAMD; - }; - - struct PhysicalDeviceColorWriteEnableFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceColorWriteEnableFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceColorWriteEnableFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 colorWriteEnable_ = {} ) VULKAN_HPP_NOEXCEPT : colorWriteEnable( colorWriteEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceColorWriteEnableFeaturesEXT( - PhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceColorWriteEnableFeaturesEXT( VkPhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceColorWriteEnableFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceColorWriteEnableFeaturesEXT & - operator=( PhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceColorWriteEnableFeaturesEXT & - operator=( VkPhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceColorWriteEnableFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceColorWriteEnableFeaturesEXT & - setColorWriteEnable( VULKAN_HPP_NAMESPACE::Bool32 colorWriteEnable_ ) VULKAN_HPP_NOEXCEPT - { - colorWriteEnable = colorWriteEnable_; - return *this; - } - - operator VkPhysicalDeviceColorWriteEnableFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceColorWriteEnableFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceColorWriteEnableFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( colorWriteEnable == rhs.colorWriteEnable ); - } - - bool operator!=( PhysicalDeviceColorWriteEnableFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceColorWriteEnableFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 colorWriteEnable = {}; - }; - static_assert( sizeof( PhysicalDeviceColorWriteEnableFeaturesEXT ) == - sizeof( VkPhysicalDeviceColorWriteEnableFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceColorWriteEnableFeaturesEXT; - }; - - struct PhysicalDeviceComputeShaderDerivativesFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceComputeShaderDerivativesFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear_ = {} ) VULKAN_HPP_NOEXCEPT - : computeDerivativeGroupQuads( computeDerivativeGroupQuads_ ) - , computeDerivativeGroupLinear( computeDerivativeGroupLinear_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceComputeShaderDerivativesFeaturesNV( - PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceComputeShaderDerivativesFeaturesNV( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceComputeShaderDerivativesFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceComputeShaderDerivativesFeaturesNV & - operator=( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceComputeShaderDerivativesFeaturesNV & - operator=( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceComputeShaderDerivativesFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceComputeShaderDerivativesFeaturesNV & - setComputeDerivativeGroupQuads( VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads_ ) VULKAN_HPP_NOEXCEPT - { - computeDerivativeGroupQuads = computeDerivativeGroupQuads_; - return *this; - } - - PhysicalDeviceComputeShaderDerivativesFeaturesNV & - setComputeDerivativeGroupLinear( VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear_ ) VULKAN_HPP_NOEXCEPT - { - computeDerivativeGroupLinear = computeDerivativeGroupLinear_; - return *this; - } - - operator VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceComputeShaderDerivativesFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( computeDerivativeGroupQuads == rhs.computeDerivativeGroupQuads ) && - ( computeDerivativeGroupLinear == rhs.computeDerivativeGroupLinear ); - } - - bool operator!=( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads = {}; - VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear = {}; - }; - static_assert( sizeof( PhysicalDeviceComputeShaderDerivativesFeaturesNV ) == - sizeof( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceComputeShaderDerivativesFeaturesNV; - }; - - struct PhysicalDeviceConditionalRenderingFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceConditionalRenderingFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering_ = {} ) VULKAN_HPP_NOEXCEPT - : conditionalRendering( conditionalRendering_ ) - , inheritedConditionalRendering( inheritedConditionalRendering_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceConditionalRenderingFeaturesEXT( - PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceConditionalRenderingFeaturesEXT( VkPhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceConditionalRenderingFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceConditionalRenderingFeaturesEXT & - operator=( PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceConditionalRenderingFeaturesEXT & - operator=( VkPhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceConditionalRenderingFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceConditionalRenderingFeaturesEXT & - setConditionalRendering( VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering_ ) VULKAN_HPP_NOEXCEPT - { - conditionalRendering = conditionalRendering_; - return *this; - } - - PhysicalDeviceConditionalRenderingFeaturesEXT & setInheritedConditionalRendering( - VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering_ ) VULKAN_HPP_NOEXCEPT - { - inheritedConditionalRendering = inheritedConditionalRendering_; - return *this; - } - - operator VkPhysicalDeviceConditionalRenderingFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceConditionalRenderingFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceConditionalRenderingFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( conditionalRendering == rhs.conditionalRendering ) && - ( inheritedConditionalRendering == rhs.inheritedConditionalRendering ); - } - - bool operator!=( PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering = {}; - VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering = {}; - }; - static_assert( sizeof( PhysicalDeviceConditionalRenderingFeaturesEXT ) == - sizeof( VkPhysicalDeviceConditionalRenderingFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceConditionalRenderingFeaturesEXT; - }; - - struct PhysicalDeviceConservativeRasterizationPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceConservativeRasterizationPropertiesEXT( - float primitiveOverestimationSize_ = {}, - float maxExtraPrimitiveOverestimationSize_ = {}, - float extraPrimitiveOverestimationSizeGranularity_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 primitiveUnderestimation_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 conservativePointAndLineRasterization_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 degenerateTrianglesRasterized_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 degenerateLinesRasterized_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fullyCoveredFragmentShaderInputVariable_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 conservativeRasterizationPostDepthCoverage_ = {} ) VULKAN_HPP_NOEXCEPT - : primitiveOverestimationSize( primitiveOverestimationSize_ ) - , maxExtraPrimitiveOverestimationSize( maxExtraPrimitiveOverestimationSize_ ) - , extraPrimitiveOverestimationSizeGranularity( extraPrimitiveOverestimationSizeGranularity_ ) - , primitiveUnderestimation( primitiveUnderestimation_ ) - , conservativePointAndLineRasterization( conservativePointAndLineRasterization_ ) - , degenerateTrianglesRasterized( degenerateTrianglesRasterized_ ) - , degenerateLinesRasterized( degenerateLinesRasterized_ ) - , fullyCoveredFragmentShaderInputVariable( fullyCoveredFragmentShaderInputVariable_ ) - , conservativeRasterizationPostDepthCoverage( conservativeRasterizationPostDepthCoverage_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceConservativeRasterizationPropertiesEXT( - PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceConservativeRasterizationPropertiesEXT( - VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceConservativeRasterizationPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceConservativeRasterizationPropertiesEXT & - operator=( PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceConservativeRasterizationPropertiesEXT & - operator=( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceConservativeRasterizationPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceConservativeRasterizationPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceConservativeRasterizationPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( primitiveOverestimationSize == rhs.primitiveOverestimationSize ) && - ( maxExtraPrimitiveOverestimationSize == rhs.maxExtraPrimitiveOverestimationSize ) && - ( extraPrimitiveOverestimationSizeGranularity == rhs.extraPrimitiveOverestimationSizeGranularity ) && - ( primitiveUnderestimation == rhs.primitiveUnderestimation ) && - ( conservativePointAndLineRasterization == rhs.conservativePointAndLineRasterization ) && - ( degenerateTrianglesRasterized == rhs.degenerateTrianglesRasterized ) && - ( degenerateLinesRasterized == rhs.degenerateLinesRasterized ) && - ( fullyCoveredFragmentShaderInputVariable == rhs.fullyCoveredFragmentShaderInputVariable ) && - ( conservativeRasterizationPostDepthCoverage == rhs.conservativeRasterizationPostDepthCoverage ); - } - - bool operator!=( PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT; - void * pNext = {}; - float primitiveOverestimationSize = {}; - float maxExtraPrimitiveOverestimationSize = {}; - float extraPrimitiveOverestimationSizeGranularity = {}; - VULKAN_HPP_NAMESPACE::Bool32 primitiveUnderestimation = {}; - VULKAN_HPP_NAMESPACE::Bool32 conservativePointAndLineRasterization = {}; - VULKAN_HPP_NAMESPACE::Bool32 degenerateTrianglesRasterized = {}; - VULKAN_HPP_NAMESPACE::Bool32 degenerateLinesRasterized = {}; - VULKAN_HPP_NAMESPACE::Bool32 fullyCoveredFragmentShaderInputVariable = {}; - VULKAN_HPP_NAMESPACE::Bool32 conservativeRasterizationPostDepthCoverage = {}; - }; - static_assert( sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) == - sizeof( VkPhysicalDeviceConservativeRasterizationPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceConservativeRasterizationPropertiesEXT; - }; - - struct PhysicalDeviceCooperativeMatrixFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess_ = {} ) VULKAN_HPP_NOEXCEPT - : cooperativeMatrix( cooperativeMatrix_ ) - , cooperativeMatrixRobustBufferAccess( cooperativeMatrixRobustBufferAccess_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixFeaturesNV( - PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCooperativeMatrixFeaturesNV( VkPhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCooperativeMatrixFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixFeaturesNV & - operator=( PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCooperativeMatrixFeaturesNV & - operator=( VkPhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceCooperativeMatrixFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceCooperativeMatrixFeaturesNV & - setCooperativeMatrix( VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix_ ) VULKAN_HPP_NOEXCEPT - { - cooperativeMatrix = cooperativeMatrix_; - return *this; - } - - PhysicalDeviceCooperativeMatrixFeaturesNV & setCooperativeMatrixRobustBufferAccess( - VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess_ ) VULKAN_HPP_NOEXCEPT - { - cooperativeMatrixRobustBufferAccess = cooperativeMatrixRobustBufferAccess_; - return *this; - } - - operator VkPhysicalDeviceCooperativeMatrixFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCooperativeMatrixFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCooperativeMatrixFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( cooperativeMatrix == rhs.cooperativeMatrix ) && - ( cooperativeMatrixRobustBufferAccess == rhs.cooperativeMatrixRobustBufferAccess ); - } - - bool operator!=( PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix = {}; - VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess = {}; - }; - static_assert( sizeof( PhysicalDeviceCooperativeMatrixFeaturesNV ) == - sizeof( VkPhysicalDeviceCooperativeMatrixFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCooperativeMatrixFeaturesNV; - }; - - struct PhysicalDeviceCooperativeMatrixPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixPropertiesNV( - VULKAN_HPP_NAMESPACE::ShaderStageFlags cooperativeMatrixSupportedStages_ = {} ) VULKAN_HPP_NOEXCEPT - : cooperativeMatrixSupportedStages( cooperativeMatrixSupportedStages_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixPropertiesNV( - PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCooperativeMatrixPropertiesNV( VkPhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCooperativeMatrixPropertiesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixPropertiesNV & - operator=( PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCooperativeMatrixPropertiesNV & - operator=( VkPhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceCooperativeMatrixPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCooperativeMatrixPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCooperativeMatrixPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( cooperativeMatrixSupportedStages == rhs.cooperativeMatrixSupportedStages ); - } - - bool operator!=( PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags cooperativeMatrixSupportedStages = {}; - }; - static_assert( sizeof( PhysicalDeviceCooperativeMatrixPropertiesNV ) == - sizeof( VkPhysicalDeviceCooperativeMatrixPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCooperativeMatrixPropertiesNV; - }; - - struct PhysicalDeviceCornerSampledImageFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCornerSampledImageFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage_ = {} ) VULKAN_HPP_NOEXCEPT - : cornerSampledImage( cornerSampledImage_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCornerSampledImageFeaturesNV( - PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCornerSampledImageFeaturesNV( VkPhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCornerSampledImageFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCornerSampledImageFeaturesNV & - operator=( PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCornerSampledImageFeaturesNV & - operator=( VkPhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceCornerSampledImageFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceCornerSampledImageFeaturesNV & - setCornerSampledImage( VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage_ ) VULKAN_HPP_NOEXCEPT - { - cornerSampledImage = cornerSampledImage_; - return *this; - } - - operator VkPhysicalDeviceCornerSampledImageFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCornerSampledImageFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCornerSampledImageFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( cornerSampledImage == rhs.cornerSampledImage ); - } - - bool operator!=( PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage = {}; - }; - static_assert( sizeof( PhysicalDeviceCornerSampledImageFeaturesNV ) == - sizeof( VkPhysicalDeviceCornerSampledImageFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCornerSampledImageFeaturesNV; - }; - - struct PhysicalDeviceCoverageReductionModeFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCoverageReductionModeFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode_ = {} ) VULKAN_HPP_NOEXCEPT - : coverageReductionMode( coverageReductionMode_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCoverageReductionModeFeaturesNV( - PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCoverageReductionModeFeaturesNV( VkPhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCoverageReductionModeFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCoverageReductionModeFeaturesNV & - operator=( PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCoverageReductionModeFeaturesNV & - operator=( VkPhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceCoverageReductionModeFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceCoverageReductionModeFeaturesNV & - setCoverageReductionMode( VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode_ ) VULKAN_HPP_NOEXCEPT - { - coverageReductionMode = coverageReductionMode_; - return *this; - } - - operator VkPhysicalDeviceCoverageReductionModeFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCoverageReductionModeFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCoverageReductionModeFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( coverageReductionMode == rhs.coverageReductionMode ); - } - - bool operator!=( PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode = {}; - }; - static_assert( sizeof( PhysicalDeviceCoverageReductionModeFeaturesNV ) == - sizeof( VkPhysicalDeviceCoverageReductionModeFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCoverageReductionModeFeaturesNV; - }; - - struct PhysicalDeviceCustomBorderColorFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 customBorderColors_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat_ = {} ) VULKAN_HPP_NOEXCEPT - : customBorderColors( customBorderColors_ ) - , customBorderColorWithoutFormat( customBorderColorWithoutFormat_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorFeaturesEXT( - PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCustomBorderColorFeaturesEXT( VkPhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCustomBorderColorFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCustomBorderColorFeaturesEXT & - operator=( PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCustomBorderColorFeaturesEXT & - operator=( VkPhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceCustomBorderColorFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceCustomBorderColorFeaturesEXT & - setCustomBorderColors( VULKAN_HPP_NAMESPACE::Bool32 customBorderColors_ ) VULKAN_HPP_NOEXCEPT - { - customBorderColors = customBorderColors_; - return *this; - } - - PhysicalDeviceCustomBorderColorFeaturesEXT & setCustomBorderColorWithoutFormat( - VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat_ ) VULKAN_HPP_NOEXCEPT - { - customBorderColorWithoutFormat = customBorderColorWithoutFormat_; - return *this; - } - - operator VkPhysicalDeviceCustomBorderColorFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCustomBorderColorFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCustomBorderColorFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( customBorderColors == rhs.customBorderColors ) && - ( customBorderColorWithoutFormat == rhs.customBorderColorWithoutFormat ); - } - - bool operator!=( PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 customBorderColors = {}; - VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat = {}; - }; - static_assert( sizeof( PhysicalDeviceCustomBorderColorFeaturesEXT ) == - sizeof( VkPhysicalDeviceCustomBorderColorFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCustomBorderColorFeaturesEXT; - }; - - struct PhysicalDeviceCustomBorderColorPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceCustomBorderColorPropertiesEXT( uint32_t maxCustomBorderColorSamplers_ = {} ) VULKAN_HPP_NOEXCEPT - : maxCustomBorderColorSamplers( maxCustomBorderColorSamplers_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorPropertiesEXT( - PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCustomBorderColorPropertiesEXT( VkPhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceCustomBorderColorPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCustomBorderColorPropertiesEXT & - operator=( PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceCustomBorderColorPropertiesEXT & - operator=( VkPhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceCustomBorderColorPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceCustomBorderColorPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceCustomBorderColorPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxCustomBorderColorSamplers == rhs.maxCustomBorderColorSamplers ); - } - - bool operator!=( PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT; - void * pNext = {}; - uint32_t maxCustomBorderColorSamplers = {}; - }; - static_assert( sizeof( PhysicalDeviceCustomBorderColorPropertiesEXT ) == - sizeof( VkPhysicalDeviceCustomBorderColorPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceCustomBorderColorPropertiesEXT; - }; - - struct PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing_ = {} ) VULKAN_HPP_NOEXCEPT - : dedicatedAllocationImageAliasing( dedicatedAllocationImageAliasing_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( - PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( - VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & - operator=( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & - operator=( VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( - &rhs ); - return *this; - } - - PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & setDedicatedAllocationImageAliasing( - VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing_ ) VULKAN_HPP_NOEXCEPT - { - dedicatedAllocationImageAliasing = dedicatedAllocationImageAliasing_; - return *this; - } - - operator VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( dedicatedAllocationImageAliasing == rhs.dedicatedAllocationImageAliasing ); - } - - bool operator!=( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = - StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing = {}; - }; - static_assert( sizeof( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV ) == - sizeof( VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; - }; - - struct PhysicalDeviceDepthClipEnableFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceDepthClipEnableFeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : depthClipEnable( depthClipEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthClipEnableFeaturesEXT( - PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDepthClipEnableFeaturesEXT( VkPhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDepthClipEnableFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDepthClipEnableFeaturesEXT & - operator=( PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDepthClipEnableFeaturesEXT & - operator=( VkPhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceDepthClipEnableFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDepthClipEnableFeaturesEXT & - setDepthClipEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthClipEnable = depthClipEnable_; - return *this; - } - - operator VkPhysicalDeviceDepthClipEnableFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDepthClipEnableFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDepthClipEnableFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( depthClipEnable == rhs.depthClipEnable ); - } - - bool operator!=( PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable = {}; - }; - static_assert( sizeof( PhysicalDeviceDepthClipEnableFeaturesEXT ) == - sizeof( VkPhysicalDeviceDepthClipEnableFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDepthClipEnableFeaturesEXT; - }; - - struct PhysicalDeviceDepthStencilResolveProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDepthStencilResolveProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthStencilResolveProperties( - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes_ = {}, - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 independentResolve_ = {} ) VULKAN_HPP_NOEXCEPT - : supportedDepthResolveModes( supportedDepthResolveModes_ ) - , supportedStencilResolveModes( supportedStencilResolveModes_ ) - , independentResolveNone( independentResolveNone_ ) - , independentResolve( independentResolve_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthStencilResolveProperties( - PhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDepthStencilResolveProperties( VkPhysicalDeviceDepthStencilResolveProperties const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDepthStencilResolveProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDepthStencilResolveProperties & - operator=( PhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDepthStencilResolveProperties & - operator=( VkPhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceDepthStencilResolveProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDepthStencilResolveProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDepthStencilResolveProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceDepthStencilResolveProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( supportedDepthResolveModes == rhs.supportedDepthResolveModes ) && - ( supportedStencilResolveModes == rhs.supportedStencilResolveModes ) && - ( independentResolveNone == rhs.independentResolveNone ) && - ( independentResolve == rhs.independentResolve ); - } - - bool operator!=( PhysicalDeviceDepthStencilResolveProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDepthStencilResolveProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes = {}; - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes = {}; - VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone = {}; - VULKAN_HPP_NAMESPACE::Bool32 independentResolve = {}; - }; - static_assert( sizeof( PhysicalDeviceDepthStencilResolveProperties ) == - sizeof( VkPhysicalDeviceDepthStencilResolveProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDepthStencilResolveProperties; - }; - using PhysicalDeviceDepthStencilResolvePropertiesKHR = PhysicalDeviceDepthStencilResolveProperties; - - struct PhysicalDeviceDescriptorIndexingFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDescriptorIndexingFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingFeatures( - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ ) - , shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ ) - , shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ ) - , shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ ) - , shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ ) - , shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ ) - , shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ ) - , shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ ) - , shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ ) - , shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ ) - , descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ ) - , descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ ) - , descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ ) - , descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ ) - , descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ ) - , descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ ) - , descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ ) - , descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ ) - , descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ ) - , runtimeDescriptorArray( runtimeDescriptorArray_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingFeatures( - PhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDescriptorIndexingFeatures( VkPhysicalDeviceDescriptorIndexingFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDescriptorIndexingFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDescriptorIndexingFeatures & - operator=( PhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDescriptorIndexingFeatures & - operator=( VkPhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderInputAttachmentArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformTexelBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageTexelBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderSampledImageArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageImageArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderInputAttachmentArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformTexelBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageTexelBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUniformBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingSampledImageUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageImageUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUniformTexelBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageTexelBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUpdateUnusedWhilePending( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingPartiallyBound( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingVariableDescriptorCount( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_; - return *this; - } - - PhysicalDeviceDescriptorIndexingFeatures & - setRuntimeDescriptorArray( VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ ) VULKAN_HPP_NOEXCEPT - { - runtimeDescriptorArray = runtimeDescriptorArray_; - return *this; - } - - operator VkPhysicalDeviceDescriptorIndexingFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDescriptorIndexingFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDescriptorIndexingFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceDescriptorIndexingFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing ) && - ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing ) && - ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing ) && - ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing ) && - ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing ) && - ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing ) && - ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing ) && - ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing ) && - ( shaderUniformTexelBufferArrayNonUniformIndexing == - rhs.shaderUniformTexelBufferArrayNonUniformIndexing ) && - ( shaderStorageTexelBufferArrayNonUniformIndexing == - rhs.shaderStorageTexelBufferArrayNonUniformIndexing ) && - ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind ) && - ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind ) && - ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind ) && - ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind ) && - ( descriptorBindingUniformTexelBufferUpdateAfterBind == - rhs.descriptorBindingUniformTexelBufferUpdateAfterBind ) && - ( descriptorBindingStorageTexelBufferUpdateAfterBind == - rhs.descriptorBindingStorageTexelBufferUpdateAfterBind ) && - ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending ) && - ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound ) && - ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount ) && - ( runtimeDescriptorArray == rhs.runtimeDescriptorArray ); - } - - bool operator!=( PhysicalDeviceDescriptorIndexingFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount = {}; - VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray = {}; - }; - static_assert( sizeof( PhysicalDeviceDescriptorIndexingFeatures ) == - sizeof( VkPhysicalDeviceDescriptorIndexingFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDescriptorIndexingFeatures; - }; - using PhysicalDeviceDescriptorIndexingFeaturesEXT = PhysicalDeviceDescriptorIndexingFeatures; - - struct PhysicalDeviceDescriptorIndexingProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDescriptorIndexingProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingProperties( - uint32_t maxUpdateAfterBindDescriptorsInAllPools_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindSamplers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments_ = {}, - uint32_t maxPerStageUpdateAfterBindResources_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindSamplers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindSampledImages_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageImages_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindInputAttachments_ = {} ) VULKAN_HPP_NOEXCEPT - : maxUpdateAfterBindDescriptorsInAllPools( maxUpdateAfterBindDescriptorsInAllPools_ ) - , shaderUniformBufferArrayNonUniformIndexingNative( shaderUniformBufferArrayNonUniformIndexingNative_ ) - , shaderSampledImageArrayNonUniformIndexingNative( shaderSampledImageArrayNonUniformIndexingNative_ ) - , shaderStorageBufferArrayNonUniformIndexingNative( shaderStorageBufferArrayNonUniformIndexingNative_ ) - , shaderStorageImageArrayNonUniformIndexingNative( shaderStorageImageArrayNonUniformIndexingNative_ ) - , shaderInputAttachmentArrayNonUniformIndexingNative( shaderInputAttachmentArrayNonUniformIndexingNative_ ) - , robustBufferAccessUpdateAfterBind( robustBufferAccessUpdateAfterBind_ ) - , quadDivergentImplicitLod( quadDivergentImplicitLod_ ) - , maxPerStageDescriptorUpdateAfterBindSamplers( maxPerStageDescriptorUpdateAfterBindSamplers_ ) - , maxPerStageDescriptorUpdateAfterBindUniformBuffers( maxPerStageDescriptorUpdateAfterBindUniformBuffers_ ) - , maxPerStageDescriptorUpdateAfterBindStorageBuffers( maxPerStageDescriptorUpdateAfterBindStorageBuffers_ ) - , maxPerStageDescriptorUpdateAfterBindSampledImages( maxPerStageDescriptorUpdateAfterBindSampledImages_ ) - , maxPerStageDescriptorUpdateAfterBindStorageImages( maxPerStageDescriptorUpdateAfterBindStorageImages_ ) - , maxPerStageDescriptorUpdateAfterBindInputAttachments( maxPerStageDescriptorUpdateAfterBindInputAttachments_ ) - , maxPerStageUpdateAfterBindResources( maxPerStageUpdateAfterBindResources_ ) - , maxDescriptorSetUpdateAfterBindSamplers( maxDescriptorSetUpdateAfterBindSamplers_ ) - , maxDescriptorSetUpdateAfterBindUniformBuffers( maxDescriptorSetUpdateAfterBindUniformBuffers_ ) - , maxDescriptorSetUpdateAfterBindUniformBuffersDynamic( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ ) - , maxDescriptorSetUpdateAfterBindStorageBuffers( maxDescriptorSetUpdateAfterBindStorageBuffers_ ) - , maxDescriptorSetUpdateAfterBindStorageBuffersDynamic( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ ) - , maxDescriptorSetUpdateAfterBindSampledImages( maxDescriptorSetUpdateAfterBindSampledImages_ ) - , maxDescriptorSetUpdateAfterBindStorageImages( maxDescriptorSetUpdateAfterBindStorageImages_ ) - , maxDescriptorSetUpdateAfterBindInputAttachments( maxDescriptorSetUpdateAfterBindInputAttachments_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingProperties( - PhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDescriptorIndexingProperties( VkPhysicalDeviceDescriptorIndexingProperties const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDescriptorIndexingProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDescriptorIndexingProperties & - operator=( PhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDescriptorIndexingProperties & - operator=( VkPhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceDescriptorIndexingProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDescriptorIndexingProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDescriptorIndexingProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceDescriptorIndexingProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools ) && - ( shaderUniformBufferArrayNonUniformIndexingNative == - rhs.shaderUniformBufferArrayNonUniformIndexingNative ) && - ( shaderSampledImageArrayNonUniformIndexingNative == - rhs.shaderSampledImageArrayNonUniformIndexingNative ) && - ( shaderStorageBufferArrayNonUniformIndexingNative == - rhs.shaderStorageBufferArrayNonUniformIndexingNative ) && - ( shaderStorageImageArrayNonUniformIndexingNative == - rhs.shaderStorageImageArrayNonUniformIndexingNative ) && - ( shaderInputAttachmentArrayNonUniformIndexingNative == - rhs.shaderInputAttachmentArrayNonUniformIndexingNative ) && - ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind ) && - ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod ) && - ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers ) && - ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == - rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers ) && - ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == - rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers ) && - ( maxPerStageDescriptorUpdateAfterBindSampledImages == - rhs.maxPerStageDescriptorUpdateAfterBindSampledImages ) && - ( maxPerStageDescriptorUpdateAfterBindStorageImages == - rhs.maxPerStageDescriptorUpdateAfterBindStorageImages ) && - ( maxPerStageDescriptorUpdateAfterBindInputAttachments == - rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments ) && - ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources ) && - ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers ) && - ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers ) && - ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == - rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic ) && - ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers ) && - ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == - rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic ) && - ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages ) && - ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages ) && - ( maxDescriptorSetUpdateAfterBindInputAttachments == rhs.maxDescriptorSetUpdateAfterBindInputAttachments ); - } - - bool operator!=( PhysicalDeviceDescriptorIndexingProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingProperties; - void * pNext = {}; - uint32_t maxUpdateAfterBindDescriptorsInAllPools = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindSamplers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments = {}; - uint32_t maxPerStageUpdateAfterBindResources = {}; - uint32_t maxDescriptorSetUpdateAfterBindSamplers = {}; - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers = {}; - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = {}; - uint32_t maxDescriptorSetUpdateAfterBindSampledImages = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageImages = {}; - uint32_t maxDescriptorSetUpdateAfterBindInputAttachments = {}; - }; - static_assert( sizeof( PhysicalDeviceDescriptorIndexingProperties ) == - sizeof( VkPhysicalDeviceDescriptorIndexingProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDescriptorIndexingProperties; - }; - using PhysicalDeviceDescriptorIndexingPropertiesEXT = PhysicalDeviceDescriptorIndexingProperties; - - struct PhysicalDeviceDeviceGeneratedCommandsFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceGeneratedCommands( deviceGeneratedCommands_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( - PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & - operator=( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & - operator=( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & - setDeviceGeneratedCommands( VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands_ ) VULKAN_HPP_NOEXCEPT - { - deviceGeneratedCommands = deviceGeneratedCommands_; - return *this; - } - - operator VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( deviceGeneratedCommands == rhs.deviceGeneratedCommands ); - } - - bool operator!=( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands = {}; - }; - static_assert( sizeof( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV ) == - sizeof( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDeviceGeneratedCommandsFeaturesNV; - }; - - struct PhysicalDeviceDeviceGeneratedCommandsPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( - uint32_t maxGraphicsShaderGroupCount_ = {}, - uint32_t maxIndirectSequenceCount_ = {}, - uint32_t maxIndirectCommandsTokenCount_ = {}, - uint32_t maxIndirectCommandsStreamCount_ = {}, - uint32_t maxIndirectCommandsTokenOffset_ = {}, - uint32_t maxIndirectCommandsStreamStride_ = {}, - uint32_t minSequencesCountBufferOffsetAlignment_ = {}, - uint32_t minSequencesIndexBufferOffsetAlignment_ = {}, - uint32_t minIndirectCommandsBufferOffsetAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : maxGraphicsShaderGroupCount( maxGraphicsShaderGroupCount_ ) - , maxIndirectSequenceCount( maxIndirectSequenceCount_ ) - , maxIndirectCommandsTokenCount( maxIndirectCommandsTokenCount_ ) - , maxIndirectCommandsStreamCount( maxIndirectCommandsStreamCount_ ) - , maxIndirectCommandsTokenOffset( maxIndirectCommandsTokenOffset_ ) - , maxIndirectCommandsStreamStride( maxIndirectCommandsStreamStride_ ) - , minSequencesCountBufferOffsetAlignment( minSequencesCountBufferOffsetAlignment_ ) - , minSequencesIndexBufferOffsetAlignment( minSequencesIndexBufferOffsetAlignment_ ) - , minIndirectCommandsBufferOffsetAlignment( minIndirectCommandsBufferOffsetAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( - PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDeviceGeneratedCommandsPropertiesNV & - operator=( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceGeneratedCommandsPropertiesNV & - operator=( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxGraphicsShaderGroupCount == rhs.maxGraphicsShaderGroupCount ) && - ( maxIndirectSequenceCount == rhs.maxIndirectSequenceCount ) && - ( maxIndirectCommandsTokenCount == rhs.maxIndirectCommandsTokenCount ) && - ( maxIndirectCommandsStreamCount == rhs.maxIndirectCommandsStreamCount ) && - ( maxIndirectCommandsTokenOffset == rhs.maxIndirectCommandsTokenOffset ) && - ( maxIndirectCommandsStreamStride == rhs.maxIndirectCommandsStreamStride ) && - ( minSequencesCountBufferOffsetAlignment == rhs.minSequencesCountBufferOffsetAlignment ) && - ( minSequencesIndexBufferOffsetAlignment == rhs.minSequencesIndexBufferOffsetAlignment ) && - ( minIndirectCommandsBufferOffsetAlignment == rhs.minIndirectCommandsBufferOffsetAlignment ); - } - - bool operator!=( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV; - void * pNext = {}; - uint32_t maxGraphicsShaderGroupCount = {}; - uint32_t maxIndirectSequenceCount = {}; - uint32_t maxIndirectCommandsTokenCount = {}; - uint32_t maxIndirectCommandsStreamCount = {}; - uint32_t maxIndirectCommandsTokenOffset = {}; - uint32_t maxIndirectCommandsStreamStride = {}; - uint32_t minSequencesCountBufferOffsetAlignment = {}; - uint32_t minSequencesIndexBufferOffsetAlignment = {}; - uint32_t minIndirectCommandsBufferOffsetAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV ) == - sizeof( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDeviceGeneratedCommandsPropertiesNV; - }; - - struct PhysicalDeviceDeviceMemoryReportFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceMemoryReportFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceMemoryReport( deviceMemoryReport_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceMemoryReportFeaturesEXT( - PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceMemoryReportFeaturesEXT( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDeviceMemoryReportFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDeviceMemoryReportFeaturesEXT & - operator=( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDeviceMemoryReportFeaturesEXT & - operator=( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceDeviceMemoryReportFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDeviceMemoryReportFeaturesEXT & - setDeviceMemoryReport( VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport_ ) VULKAN_HPP_NOEXCEPT - { - deviceMemoryReport = deviceMemoryReport_; - return *this; - } - - operator VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDeviceMemoryReportFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceMemoryReport == rhs.deviceMemoryReport ); - } - - bool operator!=( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport = {}; - }; - static_assert( sizeof( PhysicalDeviceDeviceMemoryReportFeaturesEXT ) == - sizeof( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDeviceMemoryReportFeaturesEXT; - }; - - struct PhysicalDeviceDiagnosticsConfigFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceDiagnosticsConfigFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig_ = {} ) VULKAN_HPP_NOEXCEPT - : diagnosticsConfig( diagnosticsConfig_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDiagnosticsConfigFeaturesNV( - PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDiagnosticsConfigFeaturesNV( VkPhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDiagnosticsConfigFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDiagnosticsConfigFeaturesNV & - operator=( PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDiagnosticsConfigFeaturesNV & - operator=( VkPhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceDiagnosticsConfigFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceDiagnosticsConfigFeaturesNV & - setDiagnosticsConfig( VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig_ ) VULKAN_HPP_NOEXCEPT - { - diagnosticsConfig = diagnosticsConfig_; - return *this; - } - - operator VkPhysicalDeviceDiagnosticsConfigFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDiagnosticsConfigFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDiagnosticsConfigFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( diagnosticsConfig == rhs.diagnosticsConfig ); - } - - bool operator!=( PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig = {}; - }; - static_assert( sizeof( PhysicalDeviceDiagnosticsConfigFeaturesNV ) == - sizeof( VkPhysicalDeviceDiagnosticsConfigFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDiagnosticsConfigFeaturesNV; - }; - - struct PhysicalDeviceDiscardRectanglePropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceDiscardRectanglePropertiesEXT( uint32_t maxDiscardRectangles_ = {} ) VULKAN_HPP_NOEXCEPT - : maxDiscardRectangles( maxDiscardRectangles_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceDiscardRectanglePropertiesEXT( - PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDiscardRectanglePropertiesEXT( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDiscardRectanglePropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDiscardRectanglePropertiesEXT & - operator=( PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDiscardRectanglePropertiesEXT & - operator=( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceDiscardRectanglePropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDiscardRectanglePropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDiscardRectanglePropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxDiscardRectangles == rhs.maxDiscardRectangles ); - } - - bool operator!=( PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT; - void * pNext = {}; - uint32_t maxDiscardRectangles = {}; - }; - static_assert( sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) == - sizeof( VkPhysicalDeviceDiscardRectanglePropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDiscardRectanglePropertiesEXT; - }; - - struct PhysicalDeviceDriverProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDriverProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDriverProperties( - VULKAN_HPP_NAMESPACE::DriverId driverID_ = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary, - std::array const & driverName_ = {}, - std::array const & driverInfo_ = {}, - VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : driverID( driverID_ ) - , driverName( driverName_ ) - , driverInfo( driverInfo_ ) - , conformanceVersion( conformanceVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceDriverProperties( PhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDriverProperties( VkPhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceDriverProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDriverProperties & - operator=( PhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceDriverProperties & operator=( VkPhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceDriverProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceDriverProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceDriverProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceDriverProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( driverID == rhs.driverID ) && - ( driverName == rhs.driverName ) && ( driverInfo == rhs.driverInfo ) && - ( conformanceVersion == rhs.conformanceVersion ); - } - - bool operator!=( PhysicalDeviceDriverProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDriverProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DriverId driverID = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverName = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverInfo = {}; - VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion = {}; - }; - static_assert( sizeof( PhysicalDeviceDriverProperties ) == sizeof( VkPhysicalDeviceDriverProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceDriverProperties; - }; - using PhysicalDeviceDriverPropertiesKHR = PhysicalDeviceDriverProperties; - - struct PhysicalDeviceExclusiveScissorFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExclusiveScissorFeaturesNV( VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor_ = {} ) - VULKAN_HPP_NOEXCEPT : exclusiveScissor( exclusiveScissor_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExclusiveScissorFeaturesNV( - PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExclusiveScissorFeaturesNV( VkPhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExclusiveScissorFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExclusiveScissorFeaturesNV & - operator=( PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExclusiveScissorFeaturesNV & - operator=( VkPhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExclusiveScissorFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExclusiveScissorFeaturesNV & - setExclusiveScissor( VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor_ ) VULKAN_HPP_NOEXCEPT - { - exclusiveScissor = exclusiveScissor_; - return *this; - } - - operator VkPhysicalDeviceExclusiveScissorFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExclusiveScissorFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExclusiveScissorFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( exclusiveScissor == rhs.exclusiveScissor ); - } - - bool operator!=( PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor = {}; - }; - static_assert( sizeof( PhysicalDeviceExclusiveScissorFeaturesNV ) == - sizeof( VkPhysicalDeviceExclusiveScissorFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExclusiveScissorFeaturesNV; - }; - - struct PhysicalDeviceExtendedDynamicState2FeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExtendedDynamicState2FeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicState2FeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2LogicOp_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2PatchControlPoints_ = {} ) VULKAN_HPP_NOEXCEPT - : extendedDynamicState2( extendedDynamicState2_ ) - , extendedDynamicState2LogicOp( extendedDynamicState2LogicOp_ ) - , extendedDynamicState2PatchControlPoints( extendedDynamicState2PatchControlPoints_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicState2FeaturesEXT( - PhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExtendedDynamicState2FeaturesEXT( VkPhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExtendedDynamicState2FeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExtendedDynamicState2FeaturesEXT & - operator=( PhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExtendedDynamicState2FeaturesEXT & - operator=( VkPhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExtendedDynamicState2FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExtendedDynamicState2FeaturesEXT & - setExtendedDynamicState2( VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2_ ) VULKAN_HPP_NOEXCEPT - { - extendedDynamicState2 = extendedDynamicState2_; - return *this; - } - - PhysicalDeviceExtendedDynamicState2FeaturesEXT & - setExtendedDynamicState2LogicOp( VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2LogicOp_ ) VULKAN_HPP_NOEXCEPT - { - extendedDynamicState2LogicOp = extendedDynamicState2LogicOp_; - return *this; - } - - PhysicalDeviceExtendedDynamicState2FeaturesEXT & setExtendedDynamicState2PatchControlPoints( - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2PatchControlPoints_ ) VULKAN_HPP_NOEXCEPT - { - extendedDynamicState2PatchControlPoints = extendedDynamicState2PatchControlPoints_; - return *this; - } - - operator VkPhysicalDeviceExtendedDynamicState2FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExtendedDynamicState2FeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExtendedDynamicState2FeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( extendedDynamicState2 == rhs.extendedDynamicState2 ) && - ( extendedDynamicState2LogicOp == rhs.extendedDynamicState2LogicOp ) && - ( extendedDynamicState2PatchControlPoints == rhs.extendedDynamicState2PatchControlPoints ); - } - - bool operator!=( PhysicalDeviceExtendedDynamicState2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExtendedDynamicState2FeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2 = {}; - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2LogicOp = {}; - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState2PatchControlPoints = {}; - }; - static_assert( sizeof( PhysicalDeviceExtendedDynamicState2FeaturesEXT ) == - sizeof( VkPhysicalDeviceExtendedDynamicState2FeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExtendedDynamicState2FeaturesEXT; - }; - - struct PhysicalDeviceExtendedDynamicStateFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicStateFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState_ = {} ) VULKAN_HPP_NOEXCEPT - : extendedDynamicState( extendedDynamicState_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicStateFeaturesEXT( - PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExtendedDynamicStateFeaturesEXT( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExtendedDynamicStateFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExtendedDynamicStateFeaturesEXT & - operator=( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExtendedDynamicStateFeaturesEXT & - operator=( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExtendedDynamicStateFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExtendedDynamicStateFeaturesEXT & - setExtendedDynamicState( VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState_ ) VULKAN_HPP_NOEXCEPT - { - extendedDynamicState = extendedDynamicState_; - return *this; - } - - operator VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExtendedDynamicStateFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( extendedDynamicState == rhs.extendedDynamicState ); - } - - bool operator!=( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState = {}; - }; - static_assert( sizeof( PhysicalDeviceExtendedDynamicStateFeaturesEXT ) == - sizeof( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExtendedDynamicStateFeaturesEXT; - }; - - struct PhysicalDeviceExternalImageFormatInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExternalImageFormatInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalImageFormatInfo( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) VULKAN_HPP_NOEXCEPT - : handleType( handleType_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalImageFormatInfo( PhysicalDeviceExternalImageFormatInfo const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalImageFormatInfo( VkPhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExternalImageFormatInfo( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalImageFormatInfo & - operator=( PhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalImageFormatInfo & - operator=( VkPhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceExternalImageFormatInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceExternalImageFormatInfo & - setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT - { - handleType = handleType_; - return *this; - } - - operator VkPhysicalDeviceExternalImageFormatInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExternalImageFormatInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExternalImageFormatInfo const & ) const = default; -#else - bool operator==( PhysicalDeviceExternalImageFormatInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( handleType == rhs.handleType ); - } - - bool operator!=( PhysicalDeviceExternalImageFormatInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; - }; - static_assert( sizeof( PhysicalDeviceExternalImageFormatInfo ) == sizeof( VkPhysicalDeviceExternalImageFormatInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExternalImageFormatInfo; - }; - using PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo; - - struct PhysicalDeviceExternalMemoryHostPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryHostPropertiesEXT( - VULKAN_HPP_NAMESPACE::DeviceSize minImportedHostPointerAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : minImportedHostPointerAlignment( minImportedHostPointerAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryHostPropertiesEXT( - PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalMemoryHostPropertiesEXT( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceExternalMemoryHostPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceExternalMemoryHostPropertiesEXT & - operator=( PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceExternalMemoryHostPropertiesEXT & - operator=( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceExternalMemoryHostPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceExternalMemoryHostPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceExternalMemoryHostPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( minImportedHostPointerAlignment == rhs.minImportedHostPointerAlignment ); - } - - bool operator!=( PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize minImportedHostPointerAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) == - sizeof( VkPhysicalDeviceExternalMemoryHostPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceExternalMemoryHostPropertiesEXT; - }; - - struct PhysicalDeviceFloatControlsProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFloatControlsProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFloatControlsProperties( - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence_ = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence_ = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64_ = {} ) VULKAN_HPP_NOEXCEPT - : denormBehaviorIndependence( denormBehaviorIndependence_ ) - , roundingModeIndependence( roundingModeIndependence_ ) - , shaderSignedZeroInfNanPreserveFloat16( shaderSignedZeroInfNanPreserveFloat16_ ) - , shaderSignedZeroInfNanPreserveFloat32( shaderSignedZeroInfNanPreserveFloat32_ ) - , shaderSignedZeroInfNanPreserveFloat64( shaderSignedZeroInfNanPreserveFloat64_ ) - , shaderDenormPreserveFloat16( shaderDenormPreserveFloat16_ ) - , shaderDenormPreserveFloat32( shaderDenormPreserveFloat32_ ) - , shaderDenormPreserveFloat64( shaderDenormPreserveFloat64_ ) - , shaderDenormFlushToZeroFloat16( shaderDenormFlushToZeroFloat16_ ) - , shaderDenormFlushToZeroFloat32( shaderDenormFlushToZeroFloat32_ ) - , shaderDenormFlushToZeroFloat64( shaderDenormFlushToZeroFloat64_ ) - , shaderRoundingModeRTEFloat16( shaderRoundingModeRTEFloat16_ ) - , shaderRoundingModeRTEFloat32( shaderRoundingModeRTEFloat32_ ) - , shaderRoundingModeRTEFloat64( shaderRoundingModeRTEFloat64_ ) - , shaderRoundingModeRTZFloat16( shaderRoundingModeRTZFloat16_ ) - , shaderRoundingModeRTZFloat32( shaderRoundingModeRTZFloat32_ ) - , shaderRoundingModeRTZFloat64( shaderRoundingModeRTZFloat64_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFloatControlsProperties( PhysicalDeviceFloatControlsProperties const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFloatControlsProperties( VkPhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFloatControlsProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFloatControlsProperties & - operator=( PhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFloatControlsProperties & - operator=( VkPhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceFloatControlsProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFloatControlsProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFloatControlsProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceFloatControlsProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( denormBehaviorIndependence == rhs.denormBehaviorIndependence ) && - ( roundingModeIndependence == rhs.roundingModeIndependence ) && - ( shaderSignedZeroInfNanPreserveFloat16 == rhs.shaderSignedZeroInfNanPreserveFloat16 ) && - ( shaderSignedZeroInfNanPreserveFloat32 == rhs.shaderSignedZeroInfNanPreserveFloat32 ) && - ( shaderSignedZeroInfNanPreserveFloat64 == rhs.shaderSignedZeroInfNanPreserveFloat64 ) && - ( shaderDenormPreserveFloat16 == rhs.shaderDenormPreserveFloat16 ) && - ( shaderDenormPreserveFloat32 == rhs.shaderDenormPreserveFloat32 ) && - ( shaderDenormPreserveFloat64 == rhs.shaderDenormPreserveFloat64 ) && - ( shaderDenormFlushToZeroFloat16 == rhs.shaderDenormFlushToZeroFloat16 ) && - ( shaderDenormFlushToZeroFloat32 == rhs.shaderDenormFlushToZeroFloat32 ) && - ( shaderDenormFlushToZeroFloat64 == rhs.shaderDenormFlushToZeroFloat64 ) && - ( shaderRoundingModeRTEFloat16 == rhs.shaderRoundingModeRTEFloat16 ) && - ( shaderRoundingModeRTEFloat32 == rhs.shaderRoundingModeRTEFloat32 ) && - ( shaderRoundingModeRTEFloat64 == rhs.shaderRoundingModeRTEFloat64 ) && - ( shaderRoundingModeRTZFloat16 == rhs.shaderRoundingModeRTZFloat16 ) && - ( shaderRoundingModeRTZFloat32 == rhs.shaderRoundingModeRTZFloat32 ) && - ( shaderRoundingModeRTZFloat64 == rhs.shaderRoundingModeRTZFloat64 ); - } - - bool operator!=( PhysicalDeviceFloatControlsProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFloatControlsProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64 = {}; - }; - static_assert( sizeof( PhysicalDeviceFloatControlsProperties ) == sizeof( VkPhysicalDeviceFloatControlsProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFloatControlsProperties; - }; - using PhysicalDeviceFloatControlsPropertiesKHR = PhysicalDeviceFloatControlsProperties; - - struct PhysicalDeviceFragmentDensityMap2FeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2FeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentDensityMapDeferred( fragmentDensityMapDeferred_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2FeaturesEXT( - PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMap2FeaturesEXT( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentDensityMap2FeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentDensityMap2FeaturesEXT & - operator=( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMap2FeaturesEXT & - operator=( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentDensityMap2FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentDensityMap2FeaturesEXT & - setFragmentDensityMapDeferred( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred_ ) VULKAN_HPP_NOEXCEPT - { - fragmentDensityMapDeferred = fragmentDensityMapDeferred_; - return *this; - } - - operator VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentDensityMap2FeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fragmentDensityMapDeferred == rhs.fragmentDensityMapDeferred ); - } - - bool operator!=( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentDensityMap2FeaturesEXT ) == - sizeof( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentDensityMap2FeaturesEXT; - }; - - struct PhysicalDeviceFragmentDensityMap2PropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2PropertiesEXT( - VULKAN_HPP_NAMESPACE::Bool32 subsampledLoads_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 subsampledCoarseReconstructionEarlyAccess_ = {}, - uint32_t maxSubsampledArrayLayers_ = {}, - uint32_t maxDescriptorSetSubsampledSamplers_ = {} ) VULKAN_HPP_NOEXCEPT - : subsampledLoads( subsampledLoads_ ) - , subsampledCoarseReconstructionEarlyAccess( subsampledCoarseReconstructionEarlyAccess_ ) - , maxSubsampledArrayLayers( maxSubsampledArrayLayers_ ) - , maxDescriptorSetSubsampledSamplers( maxDescriptorSetSubsampledSamplers_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2PropertiesEXT( - PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMap2PropertiesEXT( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentDensityMap2PropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentDensityMap2PropertiesEXT & - operator=( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMap2PropertiesEXT & - operator=( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentDensityMap2PropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( subsampledLoads == rhs.subsampledLoads ) && - ( subsampledCoarseReconstructionEarlyAccess == rhs.subsampledCoarseReconstructionEarlyAccess ) && - ( maxSubsampledArrayLayers == rhs.maxSubsampledArrayLayers ) && - ( maxDescriptorSetSubsampledSamplers == rhs.maxDescriptorSetSubsampledSamplers ); - } - - bool operator!=( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 subsampledLoads = {}; - VULKAN_HPP_NAMESPACE::Bool32 subsampledCoarseReconstructionEarlyAccess = {}; - uint32_t maxSubsampledArrayLayers = {}; - uint32_t maxDescriptorSetSubsampledSamplers = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentDensityMap2PropertiesEXT ) == - sizeof( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentDensityMap2PropertiesEXT; - }; - - struct PhysicalDeviceFragmentDensityMapFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentDensityMap( fragmentDensityMap_ ) - , fragmentDensityMapDynamic( fragmentDensityMapDynamic_ ) - , fragmentDensityMapNonSubsampledImages( fragmentDensityMapNonSubsampledImages_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapFeaturesEXT( - PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMapFeaturesEXT( VkPhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentDensityMapFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentDensityMapFeaturesEXT & - operator=( PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMapFeaturesEXT & - operator=( VkPhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentDensityMapFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentDensityMapFeaturesEXT & - setFragmentDensityMap( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap_ ) VULKAN_HPP_NOEXCEPT - { - fragmentDensityMap = fragmentDensityMap_; - return *this; - } - - PhysicalDeviceFragmentDensityMapFeaturesEXT & - setFragmentDensityMapDynamic( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic_ ) VULKAN_HPP_NOEXCEPT - { - fragmentDensityMapDynamic = fragmentDensityMapDynamic_; - return *this; - } - - PhysicalDeviceFragmentDensityMapFeaturesEXT & setFragmentDensityMapNonSubsampledImages( - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages_ ) VULKAN_HPP_NOEXCEPT - { - fragmentDensityMapNonSubsampledImages = fragmentDensityMapNonSubsampledImages_; - return *this; - } - - operator VkPhysicalDeviceFragmentDensityMapFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentDensityMapFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentDensityMapFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fragmentDensityMap == rhs.fragmentDensityMap ) && - ( fragmentDensityMapDynamic == rhs.fragmentDensityMapDynamic ) && - ( fragmentDensityMapNonSubsampledImages == rhs.fragmentDensityMapNonSubsampledImages ); - } - - bool operator!=( PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentDensityMapFeaturesEXT ) == - sizeof( VkPhysicalDeviceFragmentDensityMapFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentDensityMapFeaturesEXT; - }; - - struct PhysicalDeviceFragmentDensityMapPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapPropertiesEXT( - VULKAN_HPP_NAMESPACE::Extent2D minFragmentDensityTexelSize_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentDensityTexelSize_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityInvocations_ = {} ) VULKAN_HPP_NOEXCEPT - : minFragmentDensityTexelSize( minFragmentDensityTexelSize_ ) - , maxFragmentDensityTexelSize( maxFragmentDensityTexelSize_ ) - , fragmentDensityInvocations( fragmentDensityInvocations_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapPropertiesEXT( - PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMapPropertiesEXT( VkPhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentDensityMapPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentDensityMapPropertiesEXT & - operator=( PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentDensityMapPropertiesEXT & - operator=( VkPhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceFragmentDensityMapPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentDensityMapPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentDensityMapPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( minFragmentDensityTexelSize == rhs.minFragmentDensityTexelSize ) && - ( maxFragmentDensityTexelSize == rhs.maxFragmentDensityTexelSize ) && - ( fragmentDensityInvocations == rhs.fragmentDensityInvocations ); - } - - bool operator!=( PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Extent2D minFragmentDensityTexelSize = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentDensityTexelSize = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityInvocations = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentDensityMapPropertiesEXT ) == - sizeof( VkPhysicalDeviceFragmentDensityMapPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentDensityMapPropertiesEXT; - }; - - struct PhysicalDeviceFragmentShaderBarycentricFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderBarycentricFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentShaderBarycentric( fragmentShaderBarycentric_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderBarycentricFeaturesNV( - PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShaderBarycentricFeaturesNV( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShaderBarycentricFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShaderBarycentricFeaturesNV & - operator=( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShaderBarycentricFeaturesNV & - operator=( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentShaderBarycentricFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentShaderBarycentricFeaturesNV & - setFragmentShaderBarycentric( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric_ ) VULKAN_HPP_NOEXCEPT - { - fragmentShaderBarycentric = fragmentShaderBarycentric_; - return *this; - } - - operator VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fragmentShaderBarycentric == rhs.fragmentShaderBarycentric ); - } - - bool operator!=( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShaderBarycentricFeaturesNV ) == - sizeof( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShaderBarycentricFeaturesNV; - }; - - struct PhysicalDeviceFragmentShaderInterlockFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderInterlockFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentShaderSampleInterlock( fragmentShaderSampleInterlock_ ) - , fragmentShaderPixelInterlock( fragmentShaderPixelInterlock_ ) - , fragmentShaderShadingRateInterlock( fragmentShaderShadingRateInterlock_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderInterlockFeaturesEXT( - PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShaderInterlockFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShaderInterlockFeaturesEXT & - operator=( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT & - operator=( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setFragmentShaderSampleInterlock( - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock_ ) VULKAN_HPP_NOEXCEPT - { - fragmentShaderSampleInterlock = fragmentShaderSampleInterlock_; - return *this; - } - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT & - setFragmentShaderPixelInterlock( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock_ ) VULKAN_HPP_NOEXCEPT - { - fragmentShaderPixelInterlock = fragmentShaderPixelInterlock_; - return *this; - } - - PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setFragmentShaderShadingRateInterlock( - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock_ ) VULKAN_HPP_NOEXCEPT - { - fragmentShaderShadingRateInterlock = fragmentShaderShadingRateInterlock_; - return *this; - } - - operator VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fragmentShaderSampleInterlock == rhs.fragmentShaderSampleInterlock ) && - ( fragmentShaderPixelInterlock == rhs.fragmentShaderPixelInterlock ) && - ( fragmentShaderShadingRateInterlock == rhs.fragmentShaderShadingRateInterlock ); - } - - bool operator!=( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShaderInterlockFeaturesEXT ) == - sizeof( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShaderInterlockFeaturesEXT; - }; - - struct PhysicalDeviceFragmentShadingRateEnumsFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentShadingRateEnums( fragmentShadingRateEnums_ ) - , supersampleFragmentShadingRates( supersampleFragmentShadingRates_ ) - , noInvocationFragmentShadingRates( noInvocationFragmentShadingRates_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & - operator=( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & - operator=( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & - setFragmentShadingRateEnums( VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums_ ) VULKAN_HPP_NOEXCEPT - { - fragmentShadingRateEnums = fragmentShadingRateEnums_; - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setSupersampleFragmentShadingRates( - VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates_ ) VULKAN_HPP_NOEXCEPT - { - supersampleFragmentShadingRates = supersampleFragmentShadingRates_; - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setNoInvocationFragmentShadingRates( - VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates_ ) VULKAN_HPP_NOEXCEPT - { - noInvocationFragmentShadingRates = noInvocationFragmentShadingRates_; - return *this; - } - - operator VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fragmentShadingRateEnums == rhs.fragmentShadingRateEnums ) && - ( supersampleFragmentShadingRates == rhs.supersampleFragmentShadingRates ) && - ( noInvocationFragmentShadingRates == rhs.noInvocationFragmentShadingRates ); - } - - bool operator!=( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums = {}; - VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates = {}; - VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV ) == - sizeof( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShadingRateEnumsFeaturesNV; - }; - - struct PhysicalDeviceFragmentShadingRateEnumsPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount_ = - VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1 ) VULKAN_HPP_NOEXCEPT - : maxFragmentShadingRateInvocationCount( maxFragmentShadingRateInvocationCount_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( - VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & - operator=( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & - operator=( VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & setMaxFragmentShadingRateInvocationCount( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount_ ) VULKAN_HPP_NOEXCEPT - { - maxFragmentShadingRateInvocationCount = maxFragmentShadingRateInvocationCount_; - return *this; - } - - operator VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxFragmentShadingRateInvocationCount == rhs.maxFragmentShadingRateInvocationCount ); - } - - bool operator!=( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount = - VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - }; - static_assert( sizeof( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV ) == - sizeof( VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShadingRateEnumsPropertiesNV; - }; - - struct PhysicalDeviceFragmentShadingRateFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate_ = {} ) VULKAN_HPP_NOEXCEPT - : pipelineFragmentShadingRate( pipelineFragmentShadingRate_ ) - , primitiveFragmentShadingRate( primitiveFragmentShadingRate_ ) - , attachmentFragmentShadingRate( attachmentFragmentShadingRate_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateFeaturesKHR( - PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateFeaturesKHR( VkPhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShadingRateFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShadingRateFeaturesKHR & - operator=( PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRateFeaturesKHR & - operator=( VkPhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceFragmentShadingRateFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceFragmentShadingRateFeaturesKHR & - setPipelineFragmentShadingRate( VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT - { - pipelineFragmentShadingRate = pipelineFragmentShadingRate_; - return *this; - } - - PhysicalDeviceFragmentShadingRateFeaturesKHR & - setPrimitiveFragmentShadingRate( VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT - { - primitiveFragmentShadingRate = primitiveFragmentShadingRate_; - return *this; - } - - PhysicalDeviceFragmentShadingRateFeaturesKHR & setAttachmentFragmentShadingRate( - VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT - { - attachmentFragmentShadingRate = attachmentFragmentShadingRate_; - return *this; - } - - operator VkPhysicalDeviceFragmentShadingRateFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShadingRateFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShadingRateFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( pipelineFragmentShadingRate == rhs.pipelineFragmentShadingRate ) && - ( primitiveFragmentShadingRate == rhs.primitiveFragmentShadingRate ) && - ( attachmentFragmentShadingRate == rhs.attachmentFragmentShadingRate ); - } - - bool operator!=( PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate = {}; - VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate = {}; - VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShadingRateFeaturesKHR ) == - sizeof( VkPhysicalDeviceFragmentShadingRateFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShadingRateFeaturesKHR; - }; - - struct PhysicalDeviceFragmentShadingRatePropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRatePropertiesKHR( - VULKAN_HPP_NAMESPACE::Extent2D minFragmentShadingRateAttachmentTexelSize_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentShadingRateAttachmentTexelSize_ = {}, - uint32_t maxFragmentShadingRateAttachmentTexelSizeAspectRatio_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRateWithMultipleViewports_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 layeredShadingRateAttachments_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateNonTrivialCombinerOps_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentSize_ = {}, - uint32_t maxFragmentSizeAspectRatio_ = {}, - uint32_t maxFragmentShadingRateCoverageSamples_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateRasterizationSamples_ = - VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderDepthStencilWrites_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithSampleMask_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderSampleMask_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithConservativeRasterization_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithFragmentShaderInterlock_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithCustomSampleLocations_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateStrictMultiplyCombiner_ = {} ) VULKAN_HPP_NOEXCEPT - : minFragmentShadingRateAttachmentTexelSize( minFragmentShadingRateAttachmentTexelSize_ ) - , maxFragmentShadingRateAttachmentTexelSize( maxFragmentShadingRateAttachmentTexelSize_ ) - , maxFragmentShadingRateAttachmentTexelSizeAspectRatio( maxFragmentShadingRateAttachmentTexelSizeAspectRatio_ ) - , primitiveFragmentShadingRateWithMultipleViewports( primitiveFragmentShadingRateWithMultipleViewports_ ) - , layeredShadingRateAttachments( layeredShadingRateAttachments_ ) - , fragmentShadingRateNonTrivialCombinerOps( fragmentShadingRateNonTrivialCombinerOps_ ) - , maxFragmentSize( maxFragmentSize_ ) - , maxFragmentSizeAspectRatio( maxFragmentSizeAspectRatio_ ) - , maxFragmentShadingRateCoverageSamples( maxFragmentShadingRateCoverageSamples_ ) - , maxFragmentShadingRateRasterizationSamples( maxFragmentShadingRateRasterizationSamples_ ) - , fragmentShadingRateWithShaderDepthStencilWrites( fragmentShadingRateWithShaderDepthStencilWrites_ ) - , fragmentShadingRateWithSampleMask( fragmentShadingRateWithSampleMask_ ) - , fragmentShadingRateWithShaderSampleMask( fragmentShadingRateWithShaderSampleMask_ ) - , fragmentShadingRateWithConservativeRasterization( fragmentShadingRateWithConservativeRasterization_ ) - , fragmentShadingRateWithFragmentShaderInterlock( fragmentShadingRateWithFragmentShaderInterlock_ ) - , fragmentShadingRateWithCustomSampleLocations( fragmentShadingRateWithCustomSampleLocations_ ) - , fragmentShadingRateStrictMultiplyCombiner( fragmentShadingRateStrictMultiplyCombiner_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRatePropertiesKHR( - PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRatePropertiesKHR( VkPhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceFragmentShadingRatePropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceFragmentShadingRatePropertiesKHR & - operator=( PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceFragmentShadingRatePropertiesKHR & - operator=( VkPhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceFragmentShadingRatePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceFragmentShadingRatePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceFragmentShadingRatePropertiesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( minFragmentShadingRateAttachmentTexelSize == rhs.minFragmentShadingRateAttachmentTexelSize ) && - ( maxFragmentShadingRateAttachmentTexelSize == rhs.maxFragmentShadingRateAttachmentTexelSize ) && - ( maxFragmentShadingRateAttachmentTexelSizeAspectRatio == - rhs.maxFragmentShadingRateAttachmentTexelSizeAspectRatio ) && - ( primitiveFragmentShadingRateWithMultipleViewports == - rhs.primitiveFragmentShadingRateWithMultipleViewports ) && - ( layeredShadingRateAttachments == rhs.layeredShadingRateAttachments ) && - ( fragmentShadingRateNonTrivialCombinerOps == rhs.fragmentShadingRateNonTrivialCombinerOps ) && - ( maxFragmentSize == rhs.maxFragmentSize ) && - ( maxFragmentSizeAspectRatio == rhs.maxFragmentSizeAspectRatio ) && - ( maxFragmentShadingRateCoverageSamples == rhs.maxFragmentShadingRateCoverageSamples ) && - ( maxFragmentShadingRateRasterizationSamples == rhs.maxFragmentShadingRateRasterizationSamples ) && - ( fragmentShadingRateWithShaderDepthStencilWrites == - rhs.fragmentShadingRateWithShaderDepthStencilWrites ) && - ( fragmentShadingRateWithSampleMask == rhs.fragmentShadingRateWithSampleMask ) && - ( fragmentShadingRateWithShaderSampleMask == rhs.fragmentShadingRateWithShaderSampleMask ) && - ( fragmentShadingRateWithConservativeRasterization == - rhs.fragmentShadingRateWithConservativeRasterization ) && - ( fragmentShadingRateWithFragmentShaderInterlock == rhs.fragmentShadingRateWithFragmentShaderInterlock ) && - ( fragmentShadingRateWithCustomSampleLocations == rhs.fragmentShadingRateWithCustomSampleLocations ) && - ( fragmentShadingRateStrictMultiplyCombiner == rhs.fragmentShadingRateStrictMultiplyCombiner ); - } - - bool operator!=( PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Extent2D minFragmentShadingRateAttachmentTexelSize = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentShadingRateAttachmentTexelSize = {}; - uint32_t maxFragmentShadingRateAttachmentTexelSizeAspectRatio = {}; - VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRateWithMultipleViewports = {}; - VULKAN_HPP_NAMESPACE::Bool32 layeredShadingRateAttachments = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateNonTrivialCombinerOps = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxFragmentSize = {}; - uint32_t maxFragmentSizeAspectRatio = {}; - uint32_t maxFragmentShadingRateCoverageSamples = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateRasterizationSamples = - VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderDepthStencilWrites = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithSampleMask = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderSampleMask = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithConservativeRasterization = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithFragmentShaderInterlock = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithCustomSampleLocations = {}; - VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateStrictMultiplyCombiner = {}; - }; - static_assert( sizeof( PhysicalDeviceFragmentShadingRatePropertiesKHR ) == - sizeof( VkPhysicalDeviceFragmentShadingRatePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceFragmentShadingRatePropertiesKHR; - }; - - struct PhysicalDeviceGroupProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceGroupProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceGroupProperties( - uint32_t physicalDeviceCount_ = {}, - std::array const & physicalDevices_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 subsetAllocation_ = {} ) VULKAN_HPP_NOEXCEPT - : physicalDeviceCount( physicalDeviceCount_ ) - , physicalDevices( physicalDevices_ ) - , subsetAllocation( subsetAllocation_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceGroupProperties( PhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceGroupProperties( VkPhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceGroupProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceGroupProperties & - operator=( PhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceGroupProperties & operator=( VkPhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceGroupProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceGroupProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceGroupProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceGroupProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( physicalDeviceCount == rhs.physicalDeviceCount ) && - ( physicalDevices == rhs.physicalDevices ) && ( subsetAllocation == rhs.subsetAllocation ); - } - - bool operator!=( PhysicalDeviceGroupProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceGroupProperties; - void * pNext = {}; - uint32_t physicalDeviceCount = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D - physicalDevices = {}; - VULKAN_HPP_NAMESPACE::Bool32 subsetAllocation = {}; - }; - static_assert( sizeof( PhysicalDeviceGroupProperties ) == sizeof( VkPhysicalDeviceGroupProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceGroupProperties; - }; - using PhysicalDeviceGroupPropertiesKHR = PhysicalDeviceGroupProperties; - - struct PhysicalDeviceHostQueryResetFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceHostQueryResetFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceHostQueryResetFeatures( VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ = {} ) VULKAN_HPP_NOEXCEPT - : hostQueryReset( hostQueryReset_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceHostQueryResetFeatures( PhysicalDeviceHostQueryResetFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceHostQueryResetFeatures( VkPhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceHostQueryResetFeatures( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceHostQueryResetFeatures & - operator=( PhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceHostQueryResetFeatures & - operator=( VkPhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceHostQueryResetFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceHostQueryResetFeatures & - setHostQueryReset( VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ ) VULKAN_HPP_NOEXCEPT - { - hostQueryReset = hostQueryReset_; - return *this; - } - - operator VkPhysicalDeviceHostQueryResetFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceHostQueryResetFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceHostQueryResetFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceHostQueryResetFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( hostQueryReset == rhs.hostQueryReset ); - } - - bool operator!=( PhysicalDeviceHostQueryResetFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceHostQueryResetFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset = {}; - }; - static_assert( sizeof( PhysicalDeviceHostQueryResetFeatures ) == sizeof( VkPhysicalDeviceHostQueryResetFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceHostQueryResetFeatures; - }; - using PhysicalDeviceHostQueryResetFeaturesEXT = PhysicalDeviceHostQueryResetFeatures; - - struct PhysicalDeviceIDProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceIdProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceIDProperties( std::array const & deviceUUID_ = {}, - std::array const & driverUUID_ = {}, - std::array const & deviceLUID_ = {}, - uint32_t deviceNodeMask_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceUUID( deviceUUID_ ) - , driverUUID( driverUUID_ ) - , deviceLUID( deviceLUID_ ) - , deviceNodeMask( deviceNodeMask_ ) - , deviceLUIDValid( deviceLUIDValid_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceIDProperties( PhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceIDProperties( VkPhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceIDProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceIDProperties & - operator=( PhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceIDProperties & operator=( VkPhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceIDProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceIDProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceIDProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceIDProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceUUID == rhs.deviceUUID ) && - ( driverUUID == rhs.driverUUID ) && ( deviceLUID == rhs.deviceLUID ) && - ( deviceNodeMask == rhs.deviceNodeMask ) && ( deviceLUIDValid == rhs.deviceLUIDValid ); - } - - bool operator!=( PhysicalDeviceIDProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceIdProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceUUID = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverUUID = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceLUID = {}; - uint32_t deviceNodeMask = {}; - VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid = {}; - }; - static_assert( sizeof( PhysicalDeviceIDProperties ) == sizeof( VkPhysicalDeviceIDProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceIDProperties; - }; - using PhysicalDeviceIDPropertiesKHR = PhysicalDeviceIDProperties; - - struct PhysicalDeviceImageDrmFormatModifierInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageDrmFormatModifierInfoEXT( - uint64_t drmFormatModifier_ = {}, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, - uint32_t queueFamilyIndexCount_ = {}, - const uint32_t * pQueueFamilyIndices_ = {} ) VULKAN_HPP_NOEXCEPT - : drmFormatModifier( drmFormatModifier_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( queueFamilyIndexCount_ ) - , pQueueFamilyIndices( pQueueFamilyIndices_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageDrmFormatModifierInfoEXT( - PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageDrmFormatModifierInfoEXT( VkPhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceImageDrmFormatModifierInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PhysicalDeviceImageDrmFormatModifierInfoEXT( - uint64_t drmFormatModifier_, - VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) - : drmFormatModifier( drmFormatModifier_ ) - , sharingMode( sharingMode_ ) - , queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ) - , pQueueFamilyIndices( queueFamilyIndices_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageDrmFormatModifierInfoEXT & - operator=( PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageDrmFormatModifierInfoEXT & - operator=( VkPhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceImageDrmFormatModifierInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceImageDrmFormatModifierInfoEXT & - setDrmFormatModifier( uint64_t drmFormatModifier_ ) VULKAN_HPP_NOEXCEPT - { - drmFormatModifier = drmFormatModifier_; - return *this; - } - - PhysicalDeviceImageDrmFormatModifierInfoEXT & - setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT - { - sharingMode = sharingMode_; - return *this; - } - - PhysicalDeviceImageDrmFormatModifierInfoEXT & - setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = queueFamilyIndexCount_; - return *this; - } - - PhysicalDeviceImageDrmFormatModifierInfoEXT & - setPQueueFamilyIndices( const uint32_t * pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - pQueueFamilyIndices = pQueueFamilyIndices_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PhysicalDeviceImageDrmFormatModifierInfoEXT & setQueueFamilyIndices( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT - { - queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); - pQueueFamilyIndices = queueFamilyIndices_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPhysicalDeviceImageDrmFormatModifierInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceImageDrmFormatModifierInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceImageDrmFormatModifierInfoEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( drmFormatModifier == rhs.drmFormatModifier ) && - ( sharingMode == rhs.sharingMode ) && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) && - ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ); - } - - bool operator!=( PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT; - const void * pNext = {}; - uint64_t drmFormatModifier = {}; - VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; - uint32_t queueFamilyIndexCount = {}; - const uint32_t * pQueueFamilyIndices = {}; - }; - static_assert( sizeof( PhysicalDeviceImageDrmFormatModifierInfoEXT ) == - sizeof( VkPhysicalDeviceImageDrmFormatModifierInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceImageDrmFormatModifierInfoEXT; - }; - - struct PhysicalDeviceImageRobustnessFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageRobustnessFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess_ = {} ) VULKAN_HPP_NOEXCEPT - : robustImageAccess( robustImageAccess_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageRobustnessFeaturesEXT( - PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageRobustnessFeaturesEXT( VkPhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceImageRobustnessFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageRobustnessFeaturesEXT & - operator=( PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageRobustnessFeaturesEXT & - operator=( VkPhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceImageRobustnessFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceImageRobustnessFeaturesEXT & - setRobustImageAccess( VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess_ ) VULKAN_HPP_NOEXCEPT - { - robustImageAccess = robustImageAccess_; - return *this; - } - - operator VkPhysicalDeviceImageRobustnessFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceImageRobustnessFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceImageRobustnessFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( robustImageAccess == rhs.robustImageAccess ); - } - - bool operator!=( PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess = {}; - }; - static_assert( sizeof( PhysicalDeviceImageRobustnessFeaturesEXT ) == - sizeof( VkPhysicalDeviceImageRobustnessFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceImageRobustnessFeaturesEXT; - }; - - struct PhysicalDeviceImageViewImageFormatInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceImageViewImageFormatInfoEXT( VULKAN_HPP_NAMESPACE::ImageViewType imageViewType_ = - VULKAN_HPP_NAMESPACE::ImageViewType::e1D ) VULKAN_HPP_NOEXCEPT - : imageViewType( imageViewType_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceImageViewImageFormatInfoEXT( - PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageViewImageFormatInfoEXT( VkPhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceImageViewImageFormatInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageViewImageFormatInfoEXT & - operator=( PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImageViewImageFormatInfoEXT & - operator=( VkPhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceImageViewImageFormatInfoEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceImageViewImageFormatInfoEXT & - setImageViewType( VULKAN_HPP_NAMESPACE::ImageViewType imageViewType_ ) VULKAN_HPP_NOEXCEPT - { - imageViewType = imageViewType_; - return *this; - } - - operator VkPhysicalDeviceImageViewImageFormatInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceImageViewImageFormatInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceImageViewImageFormatInfoEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageViewType == rhs.imageViewType ); - } - - bool operator!=( PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageViewType imageViewType = VULKAN_HPP_NAMESPACE::ImageViewType::e1D; - }; - static_assert( sizeof( PhysicalDeviceImageViewImageFormatInfoEXT ) == - sizeof( VkPhysicalDeviceImageViewImageFormatInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceImageViewImageFormatInfoEXT; - }; - - struct PhysicalDeviceImagelessFramebufferFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceImagelessFramebufferFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceImagelessFramebufferFeatures( - VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ = {} ) VULKAN_HPP_NOEXCEPT - : imagelessFramebuffer( imagelessFramebuffer_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceImagelessFramebufferFeatures( - PhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImagelessFramebufferFeatures( VkPhysicalDeviceImagelessFramebufferFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceImagelessFramebufferFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImagelessFramebufferFeatures & - operator=( PhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceImagelessFramebufferFeatures & - operator=( VkPhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceImagelessFramebufferFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceImagelessFramebufferFeatures & - setImagelessFramebuffer( VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ ) VULKAN_HPP_NOEXCEPT - { - imagelessFramebuffer = imagelessFramebuffer_; - return *this; - } - - operator VkPhysicalDeviceImagelessFramebufferFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceImagelessFramebufferFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceImagelessFramebufferFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceImagelessFramebufferFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imagelessFramebuffer == rhs.imagelessFramebuffer ); - } - - bool operator!=( PhysicalDeviceImagelessFramebufferFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImagelessFramebufferFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer = {}; - }; - static_assert( sizeof( PhysicalDeviceImagelessFramebufferFeatures ) == - sizeof( VkPhysicalDeviceImagelessFramebufferFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceImagelessFramebufferFeatures; - }; - using PhysicalDeviceImagelessFramebufferFeaturesKHR = PhysicalDeviceImagelessFramebufferFeatures; - - struct PhysicalDeviceIndexTypeUint8FeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceIndexTypeUint8FeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8_ = {} ) VULKAN_HPP_NOEXCEPT - : indexTypeUint8( indexTypeUint8_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceIndexTypeUint8FeaturesEXT( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceIndexTypeUint8FeaturesEXT( VkPhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceIndexTypeUint8FeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceIndexTypeUint8FeaturesEXT & - operator=( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceIndexTypeUint8FeaturesEXT & - operator=( VkPhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceIndexTypeUint8FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceIndexTypeUint8FeaturesEXT & - setIndexTypeUint8( VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8_ ) VULKAN_HPP_NOEXCEPT - { - indexTypeUint8 = indexTypeUint8_; - return *this; - } - - operator VkPhysicalDeviceIndexTypeUint8FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceIndexTypeUint8FeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceIndexTypeUint8FeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( indexTypeUint8 == rhs.indexTypeUint8 ); - } - - bool operator!=( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8 = {}; - }; - static_assert( sizeof( PhysicalDeviceIndexTypeUint8FeaturesEXT ) == - sizeof( VkPhysicalDeviceIndexTypeUint8FeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceIndexTypeUint8FeaturesEXT; - }; - - struct PhysicalDeviceInheritedViewportScissorFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceInheritedViewportScissorFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceInheritedViewportScissorFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 inheritedViewportScissor2D_ = {} ) VULKAN_HPP_NOEXCEPT - : inheritedViewportScissor2D( inheritedViewportScissor2D_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceInheritedViewportScissorFeaturesNV( - PhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInheritedViewportScissorFeaturesNV( VkPhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceInheritedViewportScissorFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceInheritedViewportScissorFeaturesNV & - operator=( PhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInheritedViewportScissorFeaturesNV & - operator=( VkPhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceInheritedViewportScissorFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceInheritedViewportScissorFeaturesNV & - setInheritedViewportScissor2D( VULKAN_HPP_NAMESPACE::Bool32 inheritedViewportScissor2D_ ) VULKAN_HPP_NOEXCEPT - { - inheritedViewportScissor2D = inheritedViewportScissor2D_; - return *this; - } - - operator VkPhysicalDeviceInheritedViewportScissorFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceInheritedViewportScissorFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceInheritedViewportScissorFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( inheritedViewportScissor2D == rhs.inheritedViewportScissor2D ); - } - - bool operator!=( PhysicalDeviceInheritedViewportScissorFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceInheritedViewportScissorFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 inheritedViewportScissor2D = {}; - }; - static_assert( sizeof( PhysicalDeviceInheritedViewportScissorFeaturesNV ) == - sizeof( VkPhysicalDeviceInheritedViewportScissorFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceInheritedViewportScissorFeaturesNV; - }; - - struct PhysicalDeviceInlineUniformBlockFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind_ = {} ) VULKAN_HPP_NOEXCEPT - : inlineUniformBlock( inlineUniformBlock_ ) - , descriptorBindingInlineUniformBlockUpdateAfterBind( descriptorBindingInlineUniformBlockUpdateAfterBind_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockFeaturesEXT( - PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInlineUniformBlockFeaturesEXT( VkPhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceInlineUniformBlockFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceInlineUniformBlockFeaturesEXT & - operator=( PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInlineUniformBlockFeaturesEXT & - operator=( VkPhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceInlineUniformBlockFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceInlineUniformBlockFeaturesEXT & - setInlineUniformBlock( VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock_ ) VULKAN_HPP_NOEXCEPT - { - inlineUniformBlock = inlineUniformBlock_; - return *this; - } - - PhysicalDeviceInlineUniformBlockFeaturesEXT & setDescriptorBindingInlineUniformBlockUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingInlineUniformBlockUpdateAfterBind = descriptorBindingInlineUniformBlockUpdateAfterBind_; - return *this; - } - - operator VkPhysicalDeviceInlineUniformBlockFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceInlineUniformBlockFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceInlineUniformBlockFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( inlineUniformBlock == rhs.inlineUniformBlock ) && - ( descriptorBindingInlineUniformBlockUpdateAfterBind == - rhs.descriptorBindingInlineUniformBlockUpdateAfterBind ); - } - - bool operator!=( PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind = {}; - }; - static_assert( sizeof( PhysicalDeviceInlineUniformBlockFeaturesEXT ) == - sizeof( VkPhysicalDeviceInlineUniformBlockFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceInlineUniformBlockFeaturesEXT; - }; - - struct PhysicalDeviceInlineUniformBlockPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockPropertiesEXT( - uint32_t maxInlineUniformBlockSize_ = {}, - uint32_t maxPerStageDescriptorInlineUniformBlocks_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks_ = {}, - uint32_t maxDescriptorSetInlineUniformBlocks_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks_ = {} ) VULKAN_HPP_NOEXCEPT - : maxInlineUniformBlockSize( maxInlineUniformBlockSize_ ) - , maxPerStageDescriptorInlineUniformBlocks( maxPerStageDescriptorInlineUniformBlocks_ ) - , maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks( - maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks_ ) - , maxDescriptorSetInlineUniformBlocks( maxDescriptorSetInlineUniformBlocks_ ) - , maxDescriptorSetUpdateAfterBindInlineUniformBlocks( maxDescriptorSetUpdateAfterBindInlineUniformBlocks_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockPropertiesEXT( - PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInlineUniformBlockPropertiesEXT( VkPhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceInlineUniformBlockPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceInlineUniformBlockPropertiesEXT & - operator=( PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceInlineUniformBlockPropertiesEXT & - operator=( VkPhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceInlineUniformBlockPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceInlineUniformBlockPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceInlineUniformBlockPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxInlineUniformBlockSize == rhs.maxInlineUniformBlockSize ) && - ( maxPerStageDescriptorInlineUniformBlocks == rhs.maxPerStageDescriptorInlineUniformBlocks ) && - ( maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks == - rhs.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks ) && - ( maxDescriptorSetInlineUniformBlocks == rhs.maxDescriptorSetInlineUniformBlocks ) && - ( maxDescriptorSetUpdateAfterBindInlineUniformBlocks == - rhs.maxDescriptorSetUpdateAfterBindInlineUniformBlocks ); - } - - bool operator!=( PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT; - void * pNext = {}; - uint32_t maxInlineUniformBlockSize = {}; - uint32_t maxPerStageDescriptorInlineUniformBlocks = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = {}; - uint32_t maxDescriptorSetInlineUniformBlocks = {}; - uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks = {}; - }; - static_assert( sizeof( PhysicalDeviceInlineUniformBlockPropertiesEXT ) == - sizeof( VkPhysicalDeviceInlineUniformBlockPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceInlineUniformBlockPropertiesEXT; - }; - - struct PhysicalDeviceLineRasterizationFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 rectangularLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 smoothLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines_ = {} ) VULKAN_HPP_NOEXCEPT - : rectangularLines( rectangularLines_ ) - , bresenhamLines( bresenhamLines_ ) - , smoothLines( smoothLines_ ) - , stippledRectangularLines( stippledRectangularLines_ ) - , stippledBresenhamLines( stippledBresenhamLines_ ) - , stippledSmoothLines( stippledSmoothLines_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationFeaturesEXT( - PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLineRasterizationFeaturesEXT( VkPhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceLineRasterizationFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLineRasterizationFeaturesEXT & - operator=( PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLineRasterizationFeaturesEXT & - operator=( VkPhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setRectangularLines( VULKAN_HPP_NAMESPACE::Bool32 rectangularLines_ ) VULKAN_HPP_NOEXCEPT - { - rectangularLines = rectangularLines_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setBresenhamLines( VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines_ ) VULKAN_HPP_NOEXCEPT - { - bresenhamLines = bresenhamLines_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setSmoothLines( VULKAN_HPP_NAMESPACE::Bool32 smoothLines_ ) VULKAN_HPP_NOEXCEPT - { - smoothLines = smoothLines_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setStippledRectangularLines( VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines_ ) VULKAN_HPP_NOEXCEPT - { - stippledRectangularLines = stippledRectangularLines_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setStippledBresenhamLines( VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines_ ) VULKAN_HPP_NOEXCEPT - { - stippledBresenhamLines = stippledBresenhamLines_; - return *this; - } - - PhysicalDeviceLineRasterizationFeaturesEXT & - setStippledSmoothLines( VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines_ ) VULKAN_HPP_NOEXCEPT - { - stippledSmoothLines = stippledSmoothLines_; - return *this; - } - - operator VkPhysicalDeviceLineRasterizationFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceLineRasterizationFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceLineRasterizationFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( rectangularLines == rhs.rectangularLines ) && - ( bresenhamLines == rhs.bresenhamLines ) && ( smoothLines == rhs.smoothLines ) && - ( stippledRectangularLines == rhs.stippledRectangularLines ) && - ( stippledBresenhamLines == rhs.stippledBresenhamLines ) && - ( stippledSmoothLines == rhs.stippledSmoothLines ); - } - - bool operator!=( PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 rectangularLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 smoothLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines = {}; - VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines = {}; - }; - static_assert( sizeof( PhysicalDeviceLineRasterizationFeaturesEXT ) == - sizeof( VkPhysicalDeviceLineRasterizationFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceLineRasterizationFeaturesEXT; - }; - - struct PhysicalDeviceLineRasterizationPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceLineRasterizationPropertiesEXT( uint32_t lineSubPixelPrecisionBits_ = {} ) VULKAN_HPP_NOEXCEPT - : lineSubPixelPrecisionBits( lineSubPixelPrecisionBits_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationPropertiesEXT( - PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLineRasterizationPropertiesEXT( VkPhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceLineRasterizationPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLineRasterizationPropertiesEXT & - operator=( PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceLineRasterizationPropertiesEXT & - operator=( VkPhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceLineRasterizationPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceLineRasterizationPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceLineRasterizationPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( lineSubPixelPrecisionBits == rhs.lineSubPixelPrecisionBits ); - } - - bool operator!=( PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT; - void * pNext = {}; - uint32_t lineSubPixelPrecisionBits = {}; - }; - static_assert( sizeof( PhysicalDeviceLineRasterizationPropertiesEXT ) == - sizeof( VkPhysicalDeviceLineRasterizationPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceLineRasterizationPropertiesEXT; - }; - - struct PhysicalDeviceMaintenance3Properties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMaintenance3Properties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceMaintenance3Properties( - uint32_t maxPerSetDescriptors_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize_ = {} ) VULKAN_HPP_NOEXCEPT - : maxPerSetDescriptors( maxPerSetDescriptors_ ) - , maxMemoryAllocationSize( maxMemoryAllocationSize_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceMaintenance3Properties( PhysicalDeviceMaintenance3Properties const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMaintenance3Properties( VkPhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMaintenance3Properties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMaintenance3Properties & - operator=( PhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMaintenance3Properties & - operator=( VkPhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMaintenance3Properties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMaintenance3Properties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMaintenance3Properties const & ) const = default; -#else - bool operator==( PhysicalDeviceMaintenance3Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors ) && - ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize ); - } - - bool operator!=( PhysicalDeviceMaintenance3Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMaintenance3Properties; - void * pNext = {}; - uint32_t maxPerSetDescriptors = {}; - VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize = {}; - }; - static_assert( sizeof( PhysicalDeviceMaintenance3Properties ) == sizeof( VkPhysicalDeviceMaintenance3Properties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMaintenance3Properties; - }; - using PhysicalDeviceMaintenance3PropertiesKHR = PhysicalDeviceMaintenance3Properties; - - struct PhysicalDeviceMemoryBudgetPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryBudgetPropertiesEXT( - std::array const & heapBudget_ = {}, - std::array const & heapUsage_ = {} ) VULKAN_HPP_NOEXCEPT - : heapBudget( heapBudget_ ) - , heapUsage( heapUsage_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryBudgetPropertiesEXT( - PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryBudgetPropertiesEXT( VkPhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMemoryBudgetPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryBudgetPropertiesEXT & - operator=( PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryBudgetPropertiesEXT & - operator=( VkPhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMemoryBudgetPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMemoryBudgetPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMemoryBudgetPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( heapBudget == rhs.heapBudget ) && - ( heapUsage == rhs.heapUsage ); - } - - bool operator!=( PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D heapBudget = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D heapUsage = {}; - }; - static_assert( sizeof( PhysicalDeviceMemoryBudgetPropertiesEXT ) == - sizeof( VkPhysicalDeviceMemoryBudgetPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMemoryBudgetPropertiesEXT; - }; - - struct PhysicalDeviceMemoryPriorityFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceMemoryPriorityFeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 memoryPriority_ = {} ) VULKAN_HPP_NOEXCEPT - : memoryPriority( memoryPriority_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceMemoryPriorityFeaturesEXT( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryPriorityFeaturesEXT( VkPhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMemoryPriorityFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryPriorityFeaturesEXT & - operator=( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMemoryPriorityFeaturesEXT & - operator=( VkPhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceMemoryPriorityFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceMemoryPriorityFeaturesEXT & - setMemoryPriority( VULKAN_HPP_NAMESPACE::Bool32 memoryPriority_ ) VULKAN_HPP_NOEXCEPT - { - memoryPriority = memoryPriority_; - return *this; - } - - operator VkPhysicalDeviceMemoryPriorityFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMemoryPriorityFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMemoryPriorityFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( memoryPriority == rhs.memoryPriority ); - } - - bool operator!=( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 memoryPriority = {}; - }; - static_assert( sizeof( PhysicalDeviceMemoryPriorityFeaturesEXT ) == - sizeof( VkPhysicalDeviceMemoryPriorityFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMemoryPriorityFeaturesEXT; - }; - - struct PhysicalDeviceMeshShaderFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMeshShaderFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceMeshShaderFeaturesNV( VULKAN_HPP_NAMESPACE::Bool32 taskShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 meshShader_ = {} ) VULKAN_HPP_NOEXCEPT - : taskShader( taskShader_ ) - , meshShader( meshShader_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceMeshShaderFeaturesNV( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMeshShaderFeaturesNV( VkPhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMeshShaderFeaturesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMeshShaderFeaturesNV & - operator=( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMeshShaderFeaturesNV & - operator=( VkPhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceMeshShaderFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceMeshShaderFeaturesNV & setTaskShader( VULKAN_HPP_NAMESPACE::Bool32 taskShader_ ) VULKAN_HPP_NOEXCEPT - { - taskShader = taskShader_; - return *this; - } - - PhysicalDeviceMeshShaderFeaturesNV & setMeshShader( VULKAN_HPP_NAMESPACE::Bool32 meshShader_ ) VULKAN_HPP_NOEXCEPT - { - meshShader = meshShader_; - return *this; - } - - operator VkPhysicalDeviceMeshShaderFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMeshShaderFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMeshShaderFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( taskShader == rhs.taskShader ) && - ( meshShader == rhs.meshShader ); - } - - bool operator!=( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMeshShaderFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 taskShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 meshShader = {}; - }; - static_assert( sizeof( PhysicalDeviceMeshShaderFeaturesNV ) == sizeof( VkPhysicalDeviceMeshShaderFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMeshShaderFeaturesNV; - }; - - struct PhysicalDeviceMeshShaderPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMeshShaderPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceMeshShaderPropertiesNV( uint32_t maxDrawMeshTasksCount_ = {}, - uint32_t maxTaskWorkGroupInvocations_ = {}, - std::array const & maxTaskWorkGroupSize_ = {}, - uint32_t maxTaskTotalMemorySize_ = {}, - uint32_t maxTaskOutputCount_ = {}, - uint32_t maxMeshWorkGroupInvocations_ = {}, - std::array const & maxMeshWorkGroupSize_ = {}, - uint32_t maxMeshTotalMemorySize_ = {}, - uint32_t maxMeshOutputVertices_ = {}, - uint32_t maxMeshOutputPrimitives_ = {}, - uint32_t maxMeshMultiviewViewCount_ = {}, - uint32_t meshOutputPerVertexGranularity_ = {}, - uint32_t meshOutputPerPrimitiveGranularity_ = {} ) VULKAN_HPP_NOEXCEPT - : maxDrawMeshTasksCount( maxDrawMeshTasksCount_ ) - , maxTaskWorkGroupInvocations( maxTaskWorkGroupInvocations_ ) - , maxTaskWorkGroupSize( maxTaskWorkGroupSize_ ) - , maxTaskTotalMemorySize( maxTaskTotalMemorySize_ ) - , maxTaskOutputCount( maxTaskOutputCount_ ) - , maxMeshWorkGroupInvocations( maxMeshWorkGroupInvocations_ ) - , maxMeshWorkGroupSize( maxMeshWorkGroupSize_ ) - , maxMeshTotalMemorySize( maxMeshTotalMemorySize_ ) - , maxMeshOutputVertices( maxMeshOutputVertices_ ) - , maxMeshOutputPrimitives( maxMeshOutputPrimitives_ ) - , maxMeshMultiviewViewCount( maxMeshMultiviewViewCount_ ) - , meshOutputPerVertexGranularity( meshOutputPerVertexGranularity_ ) - , meshOutputPerPrimitiveGranularity( meshOutputPerPrimitiveGranularity_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMeshShaderPropertiesNV( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMeshShaderPropertiesNV( VkPhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMeshShaderPropertiesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMeshShaderPropertiesNV & - operator=( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMeshShaderPropertiesNV & - operator=( VkPhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMeshShaderPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMeshShaderPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMeshShaderPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxDrawMeshTasksCount == rhs.maxDrawMeshTasksCount ) && - ( maxTaskWorkGroupInvocations == rhs.maxTaskWorkGroupInvocations ) && - ( maxTaskWorkGroupSize == rhs.maxTaskWorkGroupSize ) && - ( maxTaskTotalMemorySize == rhs.maxTaskTotalMemorySize ) && - ( maxTaskOutputCount == rhs.maxTaskOutputCount ) && - ( maxMeshWorkGroupInvocations == rhs.maxMeshWorkGroupInvocations ) && - ( maxMeshWorkGroupSize == rhs.maxMeshWorkGroupSize ) && - ( maxMeshTotalMemorySize == rhs.maxMeshTotalMemorySize ) && - ( maxMeshOutputVertices == rhs.maxMeshOutputVertices ) && - ( maxMeshOutputPrimitives == rhs.maxMeshOutputPrimitives ) && - ( maxMeshMultiviewViewCount == rhs.maxMeshMultiviewViewCount ) && - ( meshOutputPerVertexGranularity == rhs.meshOutputPerVertexGranularity ) && - ( meshOutputPerPrimitiveGranularity == rhs.meshOutputPerPrimitiveGranularity ); - } - - bool operator!=( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMeshShaderPropertiesNV; - void * pNext = {}; - uint32_t maxDrawMeshTasksCount = {}; - uint32_t maxTaskWorkGroupInvocations = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxTaskWorkGroupSize = {}; - uint32_t maxTaskTotalMemorySize = {}; - uint32_t maxTaskOutputCount = {}; - uint32_t maxMeshWorkGroupInvocations = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxMeshWorkGroupSize = {}; - uint32_t maxMeshTotalMemorySize = {}; - uint32_t maxMeshOutputVertices = {}; - uint32_t maxMeshOutputPrimitives = {}; - uint32_t maxMeshMultiviewViewCount = {}; - uint32_t meshOutputPerVertexGranularity = {}; - uint32_t meshOutputPerPrimitiveGranularity = {}; - }; - static_assert( sizeof( PhysicalDeviceMeshShaderPropertiesNV ) == sizeof( VkPhysicalDeviceMeshShaderPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMeshShaderPropertiesNV; - }; - - struct PhysicalDeviceMultiviewFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMultiviewFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewFeatures( - VULKAN_HPP_NAMESPACE::Bool32 multiview_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ = {} ) VULKAN_HPP_NOEXCEPT - : multiview( multiview_ ) - , multiviewGeometryShader( multiviewGeometryShader_ ) - , multiviewTessellationShader( multiviewTessellationShader_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceMultiviewFeatures( PhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewFeatures( VkPhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMultiviewFeatures( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMultiviewFeatures & - operator=( PhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewFeatures & operator=( VkPhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceMultiviewFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceMultiviewFeatures & setMultiview( VULKAN_HPP_NAMESPACE::Bool32 multiview_ ) VULKAN_HPP_NOEXCEPT - { - multiview = multiview_; - return *this; - } - - PhysicalDeviceMultiviewFeatures & - setMultiviewGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ ) VULKAN_HPP_NOEXCEPT - { - multiviewGeometryShader = multiviewGeometryShader_; - return *this; - } - - PhysicalDeviceMultiviewFeatures & - setMultiviewTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ ) VULKAN_HPP_NOEXCEPT - { - multiviewTessellationShader = multiviewTessellationShader_; - return *this; - } - - operator VkPhysicalDeviceMultiviewFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMultiviewFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMultiviewFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceMultiviewFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( multiview == rhs.multiview ) && - ( multiviewGeometryShader == rhs.multiviewGeometryShader ) && - ( multiviewTessellationShader == rhs.multiviewTessellationShader ); - } - - bool operator!=( PhysicalDeviceMultiviewFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiview = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader = {}; - }; - static_assert( sizeof( PhysicalDeviceMultiviewFeatures ) == sizeof( VkPhysicalDeviceMultiviewFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMultiviewFeatures; - }; - using PhysicalDeviceMultiviewFeaturesKHR = PhysicalDeviceMultiviewFeatures; - - struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( - VULKAN_HPP_NAMESPACE::Bool32 perViewPositionAllComponents_ = {} ) VULKAN_HPP_NOEXCEPT - : perViewPositionAllComponents( perViewPositionAllComponents_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( - PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( - VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX & - operator=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX & - operator=( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & ) const = default; -#else - bool operator==( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( perViewPositionAllComponents == rhs.perViewPositionAllComponents ); - } - - bool operator!=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 perViewPositionAllComponents = {}; - }; - static_assert( sizeof( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ) == - sizeof( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; - }; - - struct PhysicalDeviceMultiviewProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMultiviewProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceMultiviewProperties( uint32_t maxMultiviewViewCount_ = {}, - uint32_t maxMultiviewInstanceIndex_ = {} ) VULKAN_HPP_NOEXCEPT - : maxMultiviewViewCount( maxMultiviewViewCount_ ) - , maxMultiviewInstanceIndex( maxMultiviewInstanceIndex_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceMultiviewProperties( PhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewProperties( VkPhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMultiviewProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMultiviewProperties & - operator=( PhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMultiviewProperties & operator=( VkPhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceMultiviewProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMultiviewProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMultiviewProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceMultiviewProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxMultiviewViewCount == rhs.maxMultiviewViewCount ) && - ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex ); - } - - bool operator!=( PhysicalDeviceMultiviewProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewProperties; - void * pNext = {}; - uint32_t maxMultiviewViewCount = {}; - uint32_t maxMultiviewInstanceIndex = {}; - }; - static_assert( sizeof( PhysicalDeviceMultiviewProperties ) == sizeof( VkPhysicalDeviceMultiviewProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMultiviewProperties; - }; - using PhysicalDeviceMultiviewPropertiesKHR = PhysicalDeviceMultiviewProperties; - - struct PhysicalDeviceMutableDescriptorTypeFeaturesVALVE - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesVALVE; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceMutableDescriptorTypeFeaturesVALVE( - VULKAN_HPP_NAMESPACE::Bool32 mutableDescriptorType_ = {} ) VULKAN_HPP_NOEXCEPT - : mutableDescriptorType( mutableDescriptorType_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceMutableDescriptorTypeFeaturesVALVE( - PhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMutableDescriptorTypeFeaturesVALVE( VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceMutableDescriptorTypeFeaturesVALVE( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMutableDescriptorTypeFeaturesVALVE & - operator=( PhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceMutableDescriptorTypeFeaturesVALVE & - operator=( VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceMutableDescriptorTypeFeaturesVALVE & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceMutableDescriptorTypeFeaturesVALVE & - setMutableDescriptorType( VULKAN_HPP_NAMESPACE::Bool32 mutableDescriptorType_ ) VULKAN_HPP_NOEXCEPT - { - mutableDescriptorType = mutableDescriptorType_; - return *this; - } - - operator VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & ) const = default; -#else - bool operator==( PhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( mutableDescriptorType == rhs.mutableDescriptorType ); - } - - bool operator!=( PhysicalDeviceMutableDescriptorTypeFeaturesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesVALVE; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 mutableDescriptorType = {}; - }; - static_assert( sizeof( PhysicalDeviceMutableDescriptorTypeFeaturesVALVE ) == - sizeof( VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceMutableDescriptorTypeFeaturesVALVE; - }; - - struct PhysicalDevicePCIBusInfoPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePciBusInfoPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePCIBusInfoPropertiesEXT( uint32_t pciDomain_ = {}, - uint32_t pciBus_ = {}, - uint32_t pciDevice_ = {}, - uint32_t pciFunction_ = {} ) VULKAN_HPP_NOEXCEPT - : pciDomain( pciDomain_ ) - , pciBus( pciBus_ ) - , pciDevice( pciDevice_ ) - , pciFunction( pciFunction_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePCIBusInfoPropertiesEXT( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePCIBusInfoPropertiesEXT( VkPhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePCIBusInfoPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePCIBusInfoPropertiesEXT & - operator=( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePCIBusInfoPropertiesEXT & - operator=( VkPhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDevicePCIBusInfoPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePCIBusInfoPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePCIBusInfoPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pciDomain == rhs.pciDomain ) && - ( pciBus == rhs.pciBus ) && ( pciDevice == rhs.pciDevice ) && ( pciFunction == rhs.pciFunction ); - } - - bool operator!=( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePciBusInfoPropertiesEXT; - void * pNext = {}; - uint32_t pciDomain = {}; - uint32_t pciBus = {}; - uint32_t pciDevice = {}; - uint32_t pciFunction = {}; - }; - static_assert( sizeof( PhysicalDevicePCIBusInfoPropertiesEXT ) == sizeof( VkPhysicalDevicePCIBusInfoPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePCIBusInfoPropertiesEXT; - }; - - struct PhysicalDevicePerformanceQueryFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools_ = {} ) VULKAN_HPP_NOEXCEPT - : performanceCounterQueryPools( performanceCounterQueryPools_ ) - , performanceCounterMultipleQueryPools( performanceCounterMultipleQueryPools_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryFeaturesKHR( - PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePerformanceQueryFeaturesKHR( VkPhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDevicePerformanceQueryFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePerformanceQueryFeaturesKHR & - operator=( PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePerformanceQueryFeaturesKHR & - operator=( VkPhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePerformanceQueryFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePerformanceQueryFeaturesKHR & - setPerformanceCounterQueryPools( VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools_ ) VULKAN_HPP_NOEXCEPT - { - performanceCounterQueryPools = performanceCounterQueryPools_; - return *this; - } - - PhysicalDevicePerformanceQueryFeaturesKHR & setPerformanceCounterMultipleQueryPools( - VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools_ ) VULKAN_HPP_NOEXCEPT - { - performanceCounterMultipleQueryPools = performanceCounterMultipleQueryPools_; - return *this; - } - - operator VkPhysicalDevicePerformanceQueryFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePerformanceQueryFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePerformanceQueryFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( performanceCounterQueryPools == rhs.performanceCounterQueryPools ) && - ( performanceCounterMultipleQueryPools == rhs.performanceCounterMultipleQueryPools ); - } - - bool operator!=( PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools = {}; - VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools = {}; - }; - static_assert( sizeof( PhysicalDevicePerformanceQueryFeaturesKHR ) == - sizeof( VkPhysicalDevicePerformanceQueryFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePerformanceQueryFeaturesKHR; - }; - - struct PhysicalDevicePerformanceQueryPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryPropertiesKHR( - VULKAN_HPP_NAMESPACE::Bool32 allowCommandBufferQueryCopies_ = {} ) VULKAN_HPP_NOEXCEPT - : allowCommandBufferQueryCopies( allowCommandBufferQueryCopies_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryPropertiesKHR( - PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePerformanceQueryPropertiesKHR( VkPhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDevicePerformanceQueryPropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePerformanceQueryPropertiesKHR & - operator=( PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePerformanceQueryPropertiesKHR & - operator=( VkPhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDevicePerformanceQueryPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePerformanceQueryPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePerformanceQueryPropertiesKHR const & ) const = default; -#else - bool operator==( PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( allowCommandBufferQueryCopies == rhs.allowCommandBufferQueryCopies ); - } - - bool operator!=( PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 allowCommandBufferQueryCopies = {}; - }; - static_assert( sizeof( PhysicalDevicePerformanceQueryPropertiesKHR ) == - sizeof( VkPhysicalDevicePerformanceQueryPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePerformanceQueryPropertiesKHR; - }; - - struct PhysicalDevicePipelineCreationCacheControlFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineCreationCacheControlFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl_ = {} ) VULKAN_HPP_NOEXCEPT - : pipelineCreationCacheControl( pipelineCreationCacheControl_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineCreationCacheControlFeaturesEXT( - PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePipelineCreationCacheControlFeaturesEXT( - VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePipelineCreationCacheControlFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineCreationCacheControlFeaturesEXT & - operator=( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePipelineCreationCacheControlFeaturesEXT & - operator=( VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePipelineCreationCacheControlFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePipelineCreationCacheControlFeaturesEXT & - setPipelineCreationCacheControl( VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl_ ) VULKAN_HPP_NOEXCEPT - { - pipelineCreationCacheControl = pipelineCreationCacheControl_; - return *this; - } - - operator VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( pipelineCreationCacheControl == rhs.pipelineCreationCacheControl ); - } - - bool operator!=( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl = {}; - }; - static_assert( sizeof( PhysicalDevicePipelineCreationCacheControlFeaturesEXT ) == - sizeof( VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePipelineCreationCacheControlFeaturesEXT; - }; - - struct PhysicalDevicePipelineExecutablePropertiesFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : pipelineExecutableInfo( pipelineExecutableInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( - PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( - VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & - operator=( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & - operator=( VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & - setPipelineExecutableInfo( VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo_ ) VULKAN_HPP_NOEXCEPT - { - pipelineExecutableInfo = pipelineExecutableInfo_; - return *this; - } - - operator VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( pipelineExecutableInfo == rhs.pipelineExecutableInfo ); - } - - bool operator!=( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo = {}; - }; - static_assert( sizeof( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR ) == - sizeof( VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePipelineExecutablePropertiesFeaturesKHR; - }; - - struct PhysicalDevicePointClippingProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePointClippingProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePointClippingProperties( - VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior_ = - VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes ) VULKAN_HPP_NOEXCEPT - : pointClippingBehavior( pointClippingBehavior_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePointClippingProperties( PhysicalDevicePointClippingProperties const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePointClippingProperties( VkPhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePointClippingProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePointClippingProperties & - operator=( PhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePointClippingProperties & - operator=( VkPhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDevicePointClippingProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePointClippingProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePointClippingProperties const & ) const = default; -#else - bool operator==( PhysicalDevicePointClippingProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pointClippingBehavior == rhs.pointClippingBehavior ); - } - - bool operator!=( PhysicalDevicePointClippingProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePointClippingProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior = - VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes; - }; - static_assert( sizeof( PhysicalDevicePointClippingProperties ) == sizeof( VkPhysicalDevicePointClippingProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePointClippingProperties; - }; - using PhysicalDevicePointClippingPropertiesKHR = PhysicalDevicePointClippingProperties; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct PhysicalDevicePortabilitySubsetFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 events_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 pointPolygons_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 triangleFans_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride_ = {} ) VULKAN_HPP_NOEXCEPT - : constantAlphaColorBlendFactors( constantAlphaColorBlendFactors_ ) - , events( events_ ) - , imageViewFormatReinterpretation( imageViewFormatReinterpretation_ ) - , imageViewFormatSwizzle( imageViewFormatSwizzle_ ) - , imageView2DOn3DImage( imageView2DOn3DImage_ ) - , multisampleArrayImage( multisampleArrayImage_ ) - , mutableComparisonSamplers( mutableComparisonSamplers_ ) - , pointPolygons( pointPolygons_ ) - , samplerMipLodBias( samplerMipLodBias_ ) - , separateStencilMaskRef( separateStencilMaskRef_ ) - , shaderSampleRateInterpolationFunctions( shaderSampleRateInterpolationFunctions_ ) - , tessellationIsolines( tessellationIsolines_ ) - , tessellationPointMode( tessellationPointMode_ ) - , triangleFans( triangleFans_ ) - , vertexAttributeAccessBeyondStride( vertexAttributeAccessBeyondStride_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetFeaturesKHR( - PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePortabilitySubsetFeaturesKHR( VkPhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDevicePortabilitySubsetFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePortabilitySubsetFeaturesKHR & - operator=( PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePortabilitySubsetFeaturesKHR & - operator=( VkPhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setConstantAlphaColorBlendFactors( - VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors_ ) VULKAN_HPP_NOEXCEPT - { - constantAlphaColorBlendFactors = constantAlphaColorBlendFactors_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setEvents( VULKAN_HPP_NAMESPACE::Bool32 events_ ) VULKAN_HPP_NOEXCEPT - { - events = events_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setImageViewFormatReinterpretation( - VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation_ ) VULKAN_HPP_NOEXCEPT - { - imageViewFormatReinterpretation = imageViewFormatReinterpretation_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setImageViewFormatSwizzle( VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle_ ) VULKAN_HPP_NOEXCEPT - { - imageViewFormatSwizzle = imageViewFormatSwizzle_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setImageView2DOn3DImage( VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage_ ) VULKAN_HPP_NOEXCEPT - { - imageView2DOn3DImage = imageView2DOn3DImage_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setMultisampleArrayImage( VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage_ ) VULKAN_HPP_NOEXCEPT - { - multisampleArrayImage = multisampleArrayImage_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setMutableComparisonSamplers( VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers_ ) VULKAN_HPP_NOEXCEPT - { - mutableComparisonSamplers = mutableComparisonSamplers_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setPointPolygons( VULKAN_HPP_NAMESPACE::Bool32 pointPolygons_ ) VULKAN_HPP_NOEXCEPT - { - pointPolygons = pointPolygons_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setSamplerMipLodBias( VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias_ ) VULKAN_HPP_NOEXCEPT - { - samplerMipLodBias = samplerMipLodBias_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setSeparateStencilMaskRef( VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef_ ) VULKAN_HPP_NOEXCEPT - { - separateStencilMaskRef = separateStencilMaskRef_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setShaderSampleRateInterpolationFunctions( - VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions_ ) VULKAN_HPP_NOEXCEPT - { - shaderSampleRateInterpolationFunctions = shaderSampleRateInterpolationFunctions_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setTessellationIsolines( VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines_ ) VULKAN_HPP_NOEXCEPT - { - tessellationIsolines = tessellationIsolines_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setTessellationPointMode( VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode_ ) VULKAN_HPP_NOEXCEPT - { - tessellationPointMode = tessellationPointMode_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & - setTriangleFans( VULKAN_HPP_NAMESPACE::Bool32 triangleFans_ ) VULKAN_HPP_NOEXCEPT - { - triangleFans = triangleFans_; - return *this; - } - - PhysicalDevicePortabilitySubsetFeaturesKHR & setVertexAttributeAccessBeyondStride( - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride_ ) VULKAN_HPP_NOEXCEPT - { - vertexAttributeAccessBeyondStride = vertexAttributeAccessBeyondStride_; - return *this; - } - - operator VkPhysicalDevicePortabilitySubsetFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePortabilitySubsetFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePortabilitySubsetFeaturesKHR const & ) const = default; -# else - bool operator==( PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( constantAlphaColorBlendFactors == rhs.constantAlphaColorBlendFactors ) && ( events == rhs.events ) && - ( imageViewFormatReinterpretation == rhs.imageViewFormatReinterpretation ) && - ( imageViewFormatSwizzle == rhs.imageViewFormatSwizzle ) && - ( imageView2DOn3DImage == rhs.imageView2DOn3DImage ) && - ( multisampleArrayImage == rhs.multisampleArrayImage ) && - ( mutableComparisonSamplers == rhs.mutableComparisonSamplers ) && ( pointPolygons == rhs.pointPolygons ) && - ( samplerMipLodBias == rhs.samplerMipLodBias ) && - ( separateStencilMaskRef == rhs.separateStencilMaskRef ) && - ( shaderSampleRateInterpolationFunctions == rhs.shaderSampleRateInterpolationFunctions ) && - ( tessellationIsolines == rhs.tessellationIsolines ) && - ( tessellationPointMode == rhs.tessellationPointMode ) && ( triangleFans == rhs.triangleFans ) && - ( vertexAttributeAccessBeyondStride == rhs.vertexAttributeAccessBeyondStride ); - } - - bool operator!=( PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors = {}; - VULKAN_HPP_NAMESPACE::Bool32 events = {}; - VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation = {}; - VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle = {}; - VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage = {}; - VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage = {}; - VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers = {}; - VULKAN_HPP_NAMESPACE::Bool32 pointPolygons = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias = {}; - VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions = {}; - VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines = {}; - VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode = {}; - VULKAN_HPP_NAMESPACE::Bool32 triangleFans = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride = {}; - }; - static_assert( sizeof( PhysicalDevicePortabilitySubsetFeaturesKHR ) == - sizeof( VkPhysicalDevicePortabilitySubsetFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePortabilitySubsetFeaturesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct PhysicalDevicePortabilitySubsetPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetPropertiesKHR( - uint32_t minVertexInputBindingStrideAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : minVertexInputBindingStrideAlignment( minVertexInputBindingStrideAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetPropertiesKHR( - PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePortabilitySubsetPropertiesKHR( VkPhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDevicePortabilitySubsetPropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePortabilitySubsetPropertiesKHR & - operator=( PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePortabilitySubsetPropertiesKHR & - operator=( VkPhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePortabilitySubsetPropertiesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePortabilitySubsetPropertiesKHR & - setMinVertexInputBindingStrideAlignment( uint32_t minVertexInputBindingStrideAlignment_ ) VULKAN_HPP_NOEXCEPT - { - minVertexInputBindingStrideAlignment = minVertexInputBindingStrideAlignment_; - return *this; - } - - operator VkPhysicalDevicePortabilitySubsetPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePortabilitySubsetPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePortabilitySubsetPropertiesKHR const & ) const = default; -# else - bool operator==( PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( minVertexInputBindingStrideAlignment == rhs.minVertexInputBindingStrideAlignment ); - } - - bool operator!=( PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR; - void * pNext = {}; - uint32_t minVertexInputBindingStrideAlignment = {}; - }; - static_assert( sizeof( PhysicalDevicePortabilitySubsetPropertiesKHR ) == - sizeof( VkPhysicalDevicePortabilitySubsetPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePortabilitySubsetPropertiesKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - struct PhysicalDevicePrivateDataFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePrivateDataFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDevicePrivateDataFeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 privateData_ = {} ) VULKAN_HPP_NOEXCEPT - : privateData( privateData_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePrivateDataFeaturesEXT( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePrivateDataFeaturesEXT( VkPhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePrivateDataFeaturesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePrivateDataFeaturesEXT & - operator=( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePrivateDataFeaturesEXT & - operator=( VkPhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDevicePrivateDataFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDevicePrivateDataFeaturesEXT & - setPrivateData( VULKAN_HPP_NAMESPACE::Bool32 privateData_ ) VULKAN_HPP_NOEXCEPT - { - privateData = privateData_; - return *this; - } - - operator VkPhysicalDevicePrivateDataFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePrivateDataFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePrivateDataFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( privateData == rhs.privateData ); - } - - bool operator!=( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePrivateDataFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 privateData = {}; - }; - static_assert( sizeof( PhysicalDevicePrivateDataFeaturesEXT ) == sizeof( VkPhysicalDevicePrivateDataFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePrivateDataFeaturesEXT; - }; - - struct PhysicalDeviceProtectedMemoryFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceProtectedMemoryFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceProtectedMemoryFeatures( VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ = {} ) VULKAN_HPP_NOEXCEPT - : protectedMemory( protectedMemory_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures( PhysicalDeviceProtectedMemoryFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProtectedMemoryFeatures( VkPhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProtectedMemoryFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProtectedMemoryFeatures & - operator=( PhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProtectedMemoryFeatures & - operator=( VkPhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceProtectedMemoryFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceProtectedMemoryFeatures & - setProtectedMemory( VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ ) VULKAN_HPP_NOEXCEPT - { - protectedMemory = protectedMemory_; - return *this; - } - - operator VkPhysicalDeviceProtectedMemoryFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProtectedMemoryFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProtectedMemoryFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceProtectedMemoryFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( protectedMemory == rhs.protectedMemory ); - } - - bool operator!=( PhysicalDeviceProtectedMemoryFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 protectedMemory = {}; - }; - static_assert( sizeof( PhysicalDeviceProtectedMemoryFeatures ) == sizeof( VkPhysicalDeviceProtectedMemoryFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceProtectedMemoryFeatures; - }; - - struct PhysicalDeviceProtectedMemoryProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceProtectedMemoryProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceProtectedMemoryProperties( VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault_ = {} ) VULKAN_HPP_NOEXCEPT - : protectedNoFault( protectedNoFault_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryProperties( PhysicalDeviceProtectedMemoryProperties const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProtectedMemoryProperties( VkPhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProtectedMemoryProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProtectedMemoryProperties & - operator=( PhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProtectedMemoryProperties & - operator=( VkPhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceProtectedMemoryProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProtectedMemoryProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProtectedMemoryProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceProtectedMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( protectedNoFault == rhs.protectedNoFault ); - } - - bool operator!=( PhysicalDeviceProtectedMemoryProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault = {}; - }; - static_assert( sizeof( PhysicalDeviceProtectedMemoryProperties ) == - sizeof( VkPhysicalDeviceProtectedMemoryProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceProtectedMemoryProperties; - }; - - struct PhysicalDeviceProvokingVertexFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceProvokingVertexFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceProvokingVertexFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 provokingVertexLast_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackPreservesProvokingVertex_ = {} ) VULKAN_HPP_NOEXCEPT - : provokingVertexLast( provokingVertexLast_ ) - , transformFeedbackPreservesProvokingVertex( transformFeedbackPreservesProvokingVertex_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceProvokingVertexFeaturesEXT( - PhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProvokingVertexFeaturesEXT( VkPhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProvokingVertexFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProvokingVertexFeaturesEXT & - operator=( PhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProvokingVertexFeaturesEXT & - operator=( VkPhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceProvokingVertexFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceProvokingVertexFeaturesEXT & - setProvokingVertexLast( VULKAN_HPP_NAMESPACE::Bool32 provokingVertexLast_ ) VULKAN_HPP_NOEXCEPT - { - provokingVertexLast = provokingVertexLast_; - return *this; - } - - PhysicalDeviceProvokingVertexFeaturesEXT & setTransformFeedbackPreservesProvokingVertex( - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackPreservesProvokingVertex_ ) VULKAN_HPP_NOEXCEPT - { - transformFeedbackPreservesProvokingVertex = transformFeedbackPreservesProvokingVertex_; - return *this; - } - - operator VkPhysicalDeviceProvokingVertexFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProvokingVertexFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProvokingVertexFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( provokingVertexLast == rhs.provokingVertexLast ) && - ( transformFeedbackPreservesProvokingVertex == rhs.transformFeedbackPreservesProvokingVertex ); - } - - bool operator!=( PhysicalDeviceProvokingVertexFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProvokingVertexFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 provokingVertexLast = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackPreservesProvokingVertex = {}; - }; - static_assert( sizeof( PhysicalDeviceProvokingVertexFeaturesEXT ) == - sizeof( VkPhysicalDeviceProvokingVertexFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceProvokingVertexFeaturesEXT; - }; - - struct PhysicalDeviceProvokingVertexPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceProvokingVertexPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceProvokingVertexPropertiesEXT( - VULKAN_HPP_NAMESPACE::Bool32 provokingVertexModePerPipeline_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackPreservesTriangleFanProvokingVertex_ = {} ) VULKAN_HPP_NOEXCEPT - : provokingVertexModePerPipeline( provokingVertexModePerPipeline_ ) - , transformFeedbackPreservesTriangleFanProvokingVertex( transformFeedbackPreservesTriangleFanProvokingVertex_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceProvokingVertexPropertiesEXT( - PhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProvokingVertexPropertiesEXT( VkPhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceProvokingVertexPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProvokingVertexPropertiesEXT & - operator=( PhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceProvokingVertexPropertiesEXT & - operator=( VkPhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceProvokingVertexPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceProvokingVertexPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceProvokingVertexPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( provokingVertexModePerPipeline == rhs.provokingVertexModePerPipeline ) && - ( transformFeedbackPreservesTriangleFanProvokingVertex == - rhs.transformFeedbackPreservesTriangleFanProvokingVertex ); - } - - bool operator!=( PhysicalDeviceProvokingVertexPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProvokingVertexPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 provokingVertexModePerPipeline = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackPreservesTriangleFanProvokingVertex = {}; - }; - static_assert( sizeof( PhysicalDeviceProvokingVertexPropertiesEXT ) == - sizeof( VkPhysicalDeviceProvokingVertexPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceProvokingVertexPropertiesEXT; - }; - - struct PhysicalDevicePushDescriptorPropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDevicePushDescriptorPropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDevicePushDescriptorPropertiesKHR( uint32_t maxPushDescriptors_ = {} ) VULKAN_HPP_NOEXCEPT - : maxPushDescriptors( maxPushDescriptors_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDevicePushDescriptorPropertiesKHR( - PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePushDescriptorPropertiesKHR( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDevicePushDescriptorPropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePushDescriptorPropertiesKHR & - operator=( PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDevicePushDescriptorPropertiesKHR & - operator=( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDevicePushDescriptorPropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDevicePushDescriptorPropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePushDescriptorPropertiesKHR const & ) const = default; -#else - bool operator==( PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxPushDescriptors == rhs.maxPushDescriptors ); - } - - bool operator!=( PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePushDescriptorPropertiesKHR; - void * pNext = {}; - uint32_t maxPushDescriptors = {}; - }; - static_assert( sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) == - sizeof( VkPhysicalDevicePushDescriptorPropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDevicePushDescriptorPropertiesKHR; - }; - - struct PhysicalDeviceRayQueryFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRayQueryFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceRayQueryFeaturesKHR( VULKAN_HPP_NAMESPACE::Bool32 rayQuery_ = {} ) VULKAN_HPP_NOEXCEPT - : rayQuery( rayQuery_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceRayQueryFeaturesKHR( PhysicalDeviceRayQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayQueryFeaturesKHR( VkPhysicalDeviceRayQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRayQueryFeaturesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayQueryFeaturesKHR & - operator=( PhysicalDeviceRayQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayQueryFeaturesKHR & operator=( VkPhysicalDeviceRayQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceRayQueryFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceRayQueryFeaturesKHR & setRayQuery( VULKAN_HPP_NAMESPACE::Bool32 rayQuery_ ) VULKAN_HPP_NOEXCEPT - { - rayQuery = rayQuery_; - return *this; - } - - operator VkPhysicalDeviceRayQueryFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRayQueryFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRayQueryFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceRayQueryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( rayQuery == rhs.rayQuery ); - } - - bool operator!=( PhysicalDeviceRayQueryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayQueryFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayQuery = {}; - }; - static_assert( sizeof( PhysicalDeviceRayQueryFeaturesKHR ) == sizeof( VkPhysicalDeviceRayQueryFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRayQueryFeaturesKHR; - }; - - struct PhysicalDeviceRayTracingPipelineFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRayTracingPipelineFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPipelineFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipeline_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplay_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplayMixed_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineTraceRaysIndirect_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 rayTraversalPrimitiveCulling_ = {} ) VULKAN_HPP_NOEXCEPT - : rayTracingPipeline( rayTracingPipeline_ ) - , rayTracingPipelineShaderGroupHandleCaptureReplay( rayTracingPipelineShaderGroupHandleCaptureReplay_ ) - , rayTracingPipelineShaderGroupHandleCaptureReplayMixed( rayTracingPipelineShaderGroupHandleCaptureReplayMixed_ ) - , rayTracingPipelineTraceRaysIndirect( rayTracingPipelineTraceRaysIndirect_ ) - , rayTraversalPrimitiveCulling( rayTraversalPrimitiveCulling_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPipelineFeaturesKHR( - PhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPipelineFeaturesKHR( VkPhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRayTracingPipelineFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayTracingPipelineFeaturesKHR & - operator=( PhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPipelineFeaturesKHR & - operator=( VkPhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & - setRayTracingPipeline( VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipeline_ ) VULKAN_HPP_NOEXCEPT - { - rayTracingPipeline = rayTracingPipeline_; - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & setRayTracingPipelineShaderGroupHandleCaptureReplay( - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplay_ ) VULKAN_HPP_NOEXCEPT - { - rayTracingPipelineShaderGroupHandleCaptureReplay = rayTracingPipelineShaderGroupHandleCaptureReplay_; - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & setRayTracingPipelineShaderGroupHandleCaptureReplayMixed( - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplayMixed_ ) VULKAN_HPP_NOEXCEPT - { - rayTracingPipelineShaderGroupHandleCaptureReplayMixed = rayTracingPipelineShaderGroupHandleCaptureReplayMixed_; - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & setRayTracingPipelineTraceRaysIndirect( - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineTraceRaysIndirect_ ) VULKAN_HPP_NOEXCEPT - { - rayTracingPipelineTraceRaysIndirect = rayTracingPipelineTraceRaysIndirect_; - return *this; - } - - PhysicalDeviceRayTracingPipelineFeaturesKHR & - setRayTraversalPrimitiveCulling( VULKAN_HPP_NAMESPACE::Bool32 rayTraversalPrimitiveCulling_ ) VULKAN_HPP_NOEXCEPT - { - rayTraversalPrimitiveCulling = rayTraversalPrimitiveCulling_; - return *this; - } - - operator VkPhysicalDeviceRayTracingPipelineFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRayTracingPipelineFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRayTracingPipelineFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( rayTracingPipeline == rhs.rayTracingPipeline ) && - ( rayTracingPipelineShaderGroupHandleCaptureReplay == - rhs.rayTracingPipelineShaderGroupHandleCaptureReplay ) && - ( rayTracingPipelineShaderGroupHandleCaptureReplayMixed == - rhs.rayTracingPipelineShaderGroupHandleCaptureReplayMixed ) && - ( rayTracingPipelineTraceRaysIndirect == rhs.rayTracingPipelineTraceRaysIndirect ) && - ( rayTraversalPrimitiveCulling == rhs.rayTraversalPrimitiveCulling ); - } - - bool operator!=( PhysicalDeviceRayTracingPipelineFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingPipelineFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipeline = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplay = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineShaderGroupHandleCaptureReplayMixed = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayTracingPipelineTraceRaysIndirect = {}; - VULKAN_HPP_NAMESPACE::Bool32 rayTraversalPrimitiveCulling = {}; - }; - static_assert( sizeof( PhysicalDeviceRayTracingPipelineFeaturesKHR ) == - sizeof( VkPhysicalDeviceRayTracingPipelineFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRayTracingPipelineFeaturesKHR; - }; - - struct PhysicalDeviceRayTracingPipelinePropertiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRayTracingPipelinePropertiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceRayTracingPipelinePropertiesKHR( uint32_t shaderGroupHandleSize_ = {}, - uint32_t maxRayRecursionDepth_ = {}, - uint32_t maxShaderGroupStride_ = {}, - uint32_t shaderGroupBaseAlignment_ = {}, - uint32_t shaderGroupHandleCaptureReplaySize_ = {}, - uint32_t maxRayDispatchInvocationCount_ = {}, - uint32_t shaderGroupHandleAlignment_ = {}, - uint32_t maxRayHitAttributeSize_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderGroupHandleSize( shaderGroupHandleSize_ ) - , maxRayRecursionDepth( maxRayRecursionDepth_ ) - , maxShaderGroupStride( maxShaderGroupStride_ ) - , shaderGroupBaseAlignment( shaderGroupBaseAlignment_ ) - , shaderGroupHandleCaptureReplaySize( shaderGroupHandleCaptureReplaySize_ ) - , maxRayDispatchInvocationCount( maxRayDispatchInvocationCount_ ) - , shaderGroupHandleAlignment( shaderGroupHandleAlignment_ ) - , maxRayHitAttributeSize( maxRayHitAttributeSize_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPipelinePropertiesKHR( - PhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPipelinePropertiesKHR( VkPhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRayTracingPipelinePropertiesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayTracingPipelinePropertiesKHR & - operator=( PhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPipelinePropertiesKHR & - operator=( VkPhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceRayTracingPipelinePropertiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRayTracingPipelinePropertiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRayTracingPipelinePropertiesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderGroupHandleSize == rhs.shaderGroupHandleSize ) && - ( maxRayRecursionDepth == rhs.maxRayRecursionDepth ) && - ( maxShaderGroupStride == rhs.maxShaderGroupStride ) && - ( shaderGroupBaseAlignment == rhs.shaderGroupBaseAlignment ) && - ( shaderGroupHandleCaptureReplaySize == rhs.shaderGroupHandleCaptureReplaySize ) && - ( maxRayDispatchInvocationCount == rhs.maxRayDispatchInvocationCount ) && - ( shaderGroupHandleAlignment == rhs.shaderGroupHandleAlignment ) && - ( maxRayHitAttributeSize == rhs.maxRayHitAttributeSize ); - } - - bool operator!=( PhysicalDeviceRayTracingPipelinePropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingPipelinePropertiesKHR; - void * pNext = {}; - uint32_t shaderGroupHandleSize = {}; - uint32_t maxRayRecursionDepth = {}; - uint32_t maxShaderGroupStride = {}; - uint32_t shaderGroupBaseAlignment = {}; - uint32_t shaderGroupHandleCaptureReplaySize = {}; - uint32_t maxRayDispatchInvocationCount = {}; - uint32_t shaderGroupHandleAlignment = {}; - uint32_t maxRayHitAttributeSize = {}; - }; - static_assert( sizeof( PhysicalDeviceRayTracingPipelinePropertiesKHR ) == - sizeof( VkPhysicalDeviceRayTracingPipelinePropertiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRayTracingPipelinePropertiesKHR; - }; - - struct PhysicalDeviceRayTracingPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRayTracingPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceRayTracingPropertiesNV( uint32_t shaderGroupHandleSize_ = {}, - uint32_t maxRecursionDepth_ = {}, - uint32_t maxShaderGroupStride_ = {}, - uint32_t shaderGroupBaseAlignment_ = {}, - uint64_t maxGeometryCount_ = {}, - uint64_t maxInstanceCount_ = {}, - uint64_t maxTriangleCount_ = {}, - uint32_t maxDescriptorSetAccelerationStructures_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderGroupHandleSize( shaderGroupHandleSize_ ) - , maxRecursionDepth( maxRecursionDepth_ ) - , maxShaderGroupStride( maxShaderGroupStride_ ) - , shaderGroupBaseAlignment( shaderGroupBaseAlignment_ ) - , maxGeometryCount( maxGeometryCount_ ) - , maxInstanceCount( maxInstanceCount_ ) - , maxTriangleCount( maxTriangleCount_ ) - , maxDescriptorSetAccelerationStructures( maxDescriptorSetAccelerationStructures_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPropertiesNV( PhysicalDeviceRayTracingPropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPropertiesNV( VkPhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRayTracingPropertiesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayTracingPropertiesNV & - operator=( PhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRayTracingPropertiesNV & - operator=( VkPhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceRayTracingPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRayTracingPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRayTracingPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceRayTracingPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderGroupHandleSize == rhs.shaderGroupHandleSize ) && ( maxRecursionDepth == rhs.maxRecursionDepth ) && - ( maxShaderGroupStride == rhs.maxShaderGroupStride ) && - ( shaderGroupBaseAlignment == rhs.shaderGroupBaseAlignment ) && - ( maxGeometryCount == rhs.maxGeometryCount ) && ( maxInstanceCount == rhs.maxInstanceCount ) && - ( maxTriangleCount == rhs.maxTriangleCount ) && - ( maxDescriptorSetAccelerationStructures == rhs.maxDescriptorSetAccelerationStructures ); - } - - bool operator!=( PhysicalDeviceRayTracingPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingPropertiesNV; - void * pNext = {}; - uint32_t shaderGroupHandleSize = {}; - uint32_t maxRecursionDepth = {}; - uint32_t maxShaderGroupStride = {}; - uint32_t shaderGroupBaseAlignment = {}; - uint64_t maxGeometryCount = {}; - uint64_t maxInstanceCount = {}; - uint64_t maxTriangleCount = {}; - uint32_t maxDescriptorSetAccelerationStructures = {}; - }; - static_assert( sizeof( PhysicalDeviceRayTracingPropertiesNV ) == sizeof( VkPhysicalDeviceRayTracingPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRayTracingPropertiesNV; - }; - - struct PhysicalDeviceRepresentativeFragmentTestFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceRepresentativeFragmentTestFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest_ = {} ) VULKAN_HPP_NOEXCEPT - : representativeFragmentTest( representativeFragmentTest_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRepresentativeFragmentTestFeaturesNV( - PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRepresentativeFragmentTestFeaturesNV( - VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRepresentativeFragmentTestFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRepresentativeFragmentTestFeaturesNV & - operator=( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRepresentativeFragmentTestFeaturesNV & - operator=( VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceRepresentativeFragmentTestFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceRepresentativeFragmentTestFeaturesNV & - setRepresentativeFragmentTest( VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest_ ) VULKAN_HPP_NOEXCEPT - { - representativeFragmentTest = representativeFragmentTest_; - return *this; - } - - operator VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( representativeFragmentTest == rhs.representativeFragmentTest ); - } - - bool operator!=( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest = {}; - }; - static_assert( sizeof( PhysicalDeviceRepresentativeFragmentTestFeaturesNV ) == - sizeof( VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRepresentativeFragmentTestFeaturesNV; - }; - - struct PhysicalDeviceRobustness2FeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRobustness2FeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceRobustness2FeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor_ = {} ) VULKAN_HPP_NOEXCEPT - : robustBufferAccess2( robustBufferAccess2_ ) - , robustImageAccess2( robustImageAccess2_ ) - , nullDescriptor( nullDescriptor_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2FeaturesEXT( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRobustness2FeaturesEXT( VkPhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRobustness2FeaturesEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRobustness2FeaturesEXT & - operator=( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRobustness2FeaturesEXT & - operator=( VkPhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceRobustness2FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceRobustness2FeaturesEXT & - setRobustBufferAccess2( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2_ ) VULKAN_HPP_NOEXCEPT - { - robustBufferAccess2 = robustBufferAccess2_; - return *this; - } - - PhysicalDeviceRobustness2FeaturesEXT & - setRobustImageAccess2( VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2_ ) VULKAN_HPP_NOEXCEPT - { - robustImageAccess2 = robustImageAccess2_; - return *this; - } - - PhysicalDeviceRobustness2FeaturesEXT & - setNullDescriptor( VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor_ ) VULKAN_HPP_NOEXCEPT - { - nullDescriptor = nullDescriptor_; - return *this; - } - - operator VkPhysicalDeviceRobustness2FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRobustness2FeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRobustness2FeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( robustBufferAccess2 == rhs.robustBufferAccess2 ) && - ( robustImageAccess2 == rhs.robustImageAccess2 ) && ( nullDescriptor == rhs.nullDescriptor ); - } - - bool operator!=( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRobustness2FeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2 = {}; - VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2 = {}; - VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor = {}; - }; - static_assert( sizeof( PhysicalDeviceRobustness2FeaturesEXT ) == sizeof( VkPhysicalDeviceRobustness2FeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRobustness2FeaturesEXT; - }; - - struct PhysicalDeviceRobustness2PropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceRobustness2PropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2PropertiesEXT( - VULKAN_HPP_NAMESPACE::DeviceSize robustStorageBufferAccessSizeAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize robustUniformBufferAccessSizeAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : robustStorageBufferAccessSizeAlignment( robustStorageBufferAccessSizeAlignment_ ) - , robustUniformBufferAccessSizeAlignment( robustUniformBufferAccessSizeAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2PropertiesEXT( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRobustness2PropertiesEXT( VkPhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceRobustness2PropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRobustness2PropertiesEXT & - operator=( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceRobustness2PropertiesEXT & - operator=( VkPhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceRobustness2PropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceRobustness2PropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceRobustness2PropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( robustStorageBufferAccessSizeAlignment == rhs.robustStorageBufferAccessSizeAlignment ) && - ( robustUniformBufferAccessSizeAlignment == rhs.robustUniformBufferAccessSizeAlignment ); - } - - bool operator!=( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRobustness2PropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize robustStorageBufferAccessSizeAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize robustUniformBufferAccessSizeAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceRobustness2PropertiesEXT ) == sizeof( VkPhysicalDeviceRobustness2PropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceRobustness2PropertiesEXT; - }; - - struct PhysicalDeviceSampleLocationsPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSampleLocationsPropertiesEXT( - VULKAN_HPP_NAMESPACE::SampleCountFlags sampleLocationSampleCounts_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize_ = {}, - std::array const & sampleLocationCoordinateRange_ = {}, - uint32_t sampleLocationSubPixelBits_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 variableSampleLocations_ = {} ) VULKAN_HPP_NOEXCEPT - : sampleLocationSampleCounts( sampleLocationSampleCounts_ ) - , maxSampleLocationGridSize( maxSampleLocationGridSize_ ) - , sampleLocationCoordinateRange( sampleLocationCoordinateRange_ ) - , sampleLocationSubPixelBits( sampleLocationSubPixelBits_ ) - , variableSampleLocations( variableSampleLocations_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSampleLocationsPropertiesEXT( - PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSampleLocationsPropertiesEXT( VkPhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSampleLocationsPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSampleLocationsPropertiesEXT & - operator=( PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSampleLocationsPropertiesEXT & - operator=( VkPhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceSampleLocationsPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSampleLocationsPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSampleLocationsPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( sampleLocationSampleCounts == rhs.sampleLocationSampleCounts ) && - ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize ) && - ( sampleLocationCoordinateRange == rhs.sampleLocationCoordinateRange ) && - ( sampleLocationSubPixelBits == rhs.sampleLocationSubPixelBits ) && - ( variableSampleLocations == rhs.variableSampleLocations ); - } - - bool operator!=( PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags sampleLocationSampleCounts = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D sampleLocationCoordinateRange = {}; - uint32_t sampleLocationSubPixelBits = {}; - VULKAN_HPP_NAMESPACE::Bool32 variableSampleLocations = {}; - }; - static_assert( sizeof( PhysicalDeviceSampleLocationsPropertiesEXT ) == - sizeof( VkPhysicalDeviceSampleLocationsPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSampleLocationsPropertiesEXT; - }; - - struct PhysicalDeviceSamplerFilterMinmaxProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerFilterMinmaxProperties( - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping_ = {} ) VULKAN_HPP_NOEXCEPT - : filterMinmaxSingleComponentFormats( filterMinmaxSingleComponentFormats_ ) - , filterMinmaxImageComponentMapping( filterMinmaxImageComponentMapping_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerFilterMinmaxProperties( - PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSamplerFilterMinmaxProperties( VkPhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSamplerFilterMinmaxProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSamplerFilterMinmaxProperties & - operator=( PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSamplerFilterMinmaxProperties & - operator=( VkPhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceSamplerFilterMinmaxProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSamplerFilterMinmaxProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSamplerFilterMinmaxProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats ) && - ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping ); - } - - bool operator!=( PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping = {}; - }; - static_assert( sizeof( PhysicalDeviceSamplerFilterMinmaxProperties ) == - sizeof( VkPhysicalDeviceSamplerFilterMinmaxProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSamplerFilterMinmaxProperties; - }; - using PhysicalDeviceSamplerFilterMinmaxPropertiesEXT = PhysicalDeviceSamplerFilterMinmaxProperties; - - struct PhysicalDeviceSamplerYcbcrConversionFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerYcbcrConversionFeatures( - VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ = {} ) VULKAN_HPP_NOEXCEPT - : samplerYcbcrConversion( samplerYcbcrConversion_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerYcbcrConversionFeatures( - PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSamplerYcbcrConversionFeatures( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSamplerYcbcrConversionFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSamplerYcbcrConversionFeatures & - operator=( PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSamplerYcbcrConversionFeatures & - operator=( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSamplerYcbcrConversionFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSamplerYcbcrConversionFeatures & - setSamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ ) VULKAN_HPP_NOEXCEPT - { - samplerYcbcrConversion = samplerYcbcrConversion_; - return *this; - } - - operator VkPhysicalDeviceSamplerYcbcrConversionFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSamplerYcbcrConversionFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSamplerYcbcrConversionFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( samplerYcbcrConversion == rhs.samplerYcbcrConversion ); - } - - bool operator!=( PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion = {}; - }; - static_assert( sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) == - sizeof( VkPhysicalDeviceSamplerYcbcrConversionFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSamplerYcbcrConversionFeatures; - }; - using PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = PhysicalDeviceSamplerYcbcrConversionFeatures; - - struct PhysicalDeviceScalarBlockLayoutFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceScalarBlockLayoutFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceScalarBlockLayoutFeatures( VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ = {} ) - VULKAN_HPP_NOEXCEPT : scalarBlockLayout( scalarBlockLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceScalarBlockLayoutFeatures( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceScalarBlockLayoutFeatures( VkPhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceScalarBlockLayoutFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceScalarBlockLayoutFeatures & - operator=( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceScalarBlockLayoutFeatures & - operator=( VkPhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceScalarBlockLayoutFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceScalarBlockLayoutFeatures & - setScalarBlockLayout( VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ ) VULKAN_HPP_NOEXCEPT - { - scalarBlockLayout = scalarBlockLayout_; - return *this; - } - - operator VkPhysicalDeviceScalarBlockLayoutFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceScalarBlockLayoutFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceScalarBlockLayoutFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( scalarBlockLayout == rhs.scalarBlockLayout ); - } - - bool operator!=( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceScalarBlockLayoutFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout = {}; - }; - static_assert( sizeof( PhysicalDeviceScalarBlockLayoutFeatures ) == - sizeof( VkPhysicalDeviceScalarBlockLayoutFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceScalarBlockLayoutFeatures; - }; - using PhysicalDeviceScalarBlockLayoutFeaturesEXT = PhysicalDeviceScalarBlockLayoutFeatures; - - struct PhysicalDeviceSeparateDepthStencilLayoutsFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSeparateDepthStencilLayoutsFeatures( - VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ = {} ) VULKAN_HPP_NOEXCEPT - : separateDepthStencilLayouts( separateDepthStencilLayouts_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSeparateDepthStencilLayoutsFeatures( - PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSeparateDepthStencilLayoutsFeatures( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSeparateDepthStencilLayoutsFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSeparateDepthStencilLayoutsFeatures & - operator=( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSeparateDepthStencilLayoutsFeatures & - operator=( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSeparateDepthStencilLayoutsFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSeparateDepthStencilLayoutsFeatures & - setSeparateDepthStencilLayouts( VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ ) VULKAN_HPP_NOEXCEPT - { - separateDepthStencilLayouts = separateDepthStencilLayouts_; - return *this; - } - - operator VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( separateDepthStencilLayouts == rhs.separateDepthStencilLayouts ); - } - - bool operator!=( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts = {}; - }; - static_assert( sizeof( PhysicalDeviceSeparateDepthStencilLayoutsFeatures ) == - sizeof( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSeparateDepthStencilLayoutsFeatures; - }; - using PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR = PhysicalDeviceSeparateDepthStencilLayoutsFeatures; - - struct PhysicalDeviceShaderAtomicFloatFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicFloatFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderBufferFloat32Atomics( shaderBufferFloat32Atomics_ ) - , shaderBufferFloat32AtomicAdd( shaderBufferFloat32AtomicAdd_ ) - , shaderBufferFloat64Atomics( shaderBufferFloat64Atomics_ ) - , shaderBufferFloat64AtomicAdd( shaderBufferFloat64AtomicAdd_ ) - , shaderSharedFloat32Atomics( shaderSharedFloat32Atomics_ ) - , shaderSharedFloat32AtomicAdd( shaderSharedFloat32AtomicAdd_ ) - , shaderSharedFloat64Atomics( shaderSharedFloat64Atomics_ ) - , shaderSharedFloat64AtomicAdd( shaderSharedFloat64AtomicAdd_ ) - , shaderImageFloat32Atomics( shaderImageFloat32Atomics_ ) - , shaderImageFloat32AtomicAdd( shaderImageFloat32AtomicAdd_ ) - , sparseImageFloat32Atomics( sparseImageFloat32Atomics_ ) - , sparseImageFloat32AtomicAdd( sparseImageFloat32AtomicAdd_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicFloatFeaturesEXT( - PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderAtomicFloatFeaturesEXT( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderAtomicFloatFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderAtomicFloatFeaturesEXT & - operator=( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - operator=( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderBufferFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferFloat32Atomics = shaderBufferFloat32Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderBufferFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferFloat32AtomicAdd = shaderBufferFloat32AtomicAdd_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderBufferFloat64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferFloat64Atomics = shaderBufferFloat64Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderBufferFloat64AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferFloat64AtomicAdd = shaderBufferFloat64AtomicAdd_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderSharedFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedFloat32Atomics = shaderSharedFloat32Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderSharedFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedFloat32AtomicAdd = shaderSharedFloat32AtomicAdd_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderSharedFloat64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedFloat64Atomics = shaderSharedFloat64Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderSharedFloat64AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedFloat64AtomicAdd = shaderSharedFloat64AtomicAdd_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderImageFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderImageFloat32Atomics = shaderImageFloat32Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setShaderImageFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - shaderImageFloat32AtomicAdd = shaderImageFloat32AtomicAdd_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setSparseImageFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT - { - sparseImageFloat32Atomics = sparseImageFloat32Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicFloatFeaturesEXT & - setSparseImageFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT - { - sparseImageFloat32AtomicAdd = sparseImageFloat32AtomicAdd_; - return *this; - } - - operator VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderAtomicFloatFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderBufferFloat32Atomics == rhs.shaderBufferFloat32Atomics ) && - ( shaderBufferFloat32AtomicAdd == rhs.shaderBufferFloat32AtomicAdd ) && - ( shaderBufferFloat64Atomics == rhs.shaderBufferFloat64Atomics ) && - ( shaderBufferFloat64AtomicAdd == rhs.shaderBufferFloat64AtomicAdd ) && - ( shaderSharedFloat32Atomics == rhs.shaderSharedFloat32Atomics ) && - ( shaderSharedFloat32AtomicAdd == rhs.shaderSharedFloat32AtomicAdd ) && - ( shaderSharedFloat64Atomics == rhs.shaderSharedFloat64Atomics ) && - ( shaderSharedFloat64AtomicAdd == rhs.shaderSharedFloat64AtomicAdd ) && - ( shaderImageFloat32Atomics == rhs.shaderImageFloat32Atomics ) && - ( shaderImageFloat32AtomicAdd == rhs.shaderImageFloat32AtomicAdd ) && - ( sparseImageFloat32Atomics == rhs.sparseImageFloat32Atomics ) && - ( sparseImageFloat32AtomicAdd == rhs.sparseImageFloat32AtomicAdd ); - } - - bool operator!=( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderAtomicFloatFeaturesEXT ) == - sizeof( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderAtomicFloatFeaturesEXT; - }; - - struct PhysicalDeviceShaderAtomicInt64Features - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderAtomicInt64Features; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicInt64Features( - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderBufferInt64Atomics( shaderBufferInt64Atomics_ ) - , shaderSharedInt64Atomics( shaderSharedInt64Atomics_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicInt64Features( PhysicalDeviceShaderAtomicInt64Features const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderAtomicInt64Features( VkPhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderAtomicInt64Features( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderAtomicInt64Features & - operator=( PhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderAtomicInt64Features & - operator=( VkPhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderAtomicInt64Features & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderAtomicInt64Features & - setShaderBufferInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferInt64Atomics = shaderBufferInt64Atomics_; - return *this; - } - - PhysicalDeviceShaderAtomicInt64Features & - setShaderSharedInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedInt64Atomics = shaderSharedInt64Atomics_; - return *this; - } - - operator VkPhysicalDeviceShaderAtomicInt64Features const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderAtomicInt64Features &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderAtomicInt64Features const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderAtomicInt64Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderBufferInt64Atomics == rhs.shaderBufferInt64Atomics ) && - ( shaderSharedInt64Atomics == rhs.shaderSharedInt64Atomics ); - } - - bool operator!=( PhysicalDeviceShaderAtomicInt64Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderAtomicInt64Features; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderAtomicInt64Features ) == - sizeof( VkPhysicalDeviceShaderAtomicInt64Features ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderAtomicInt64Features; - }; - using PhysicalDeviceShaderAtomicInt64FeaturesKHR = PhysicalDeviceShaderAtomicInt64Features; - - struct PhysicalDeviceShaderClockFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderClockFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceShaderClockFeaturesKHR( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderSubgroupClock( shaderSubgroupClock_ ) - , shaderDeviceClock( shaderDeviceClock_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderClockFeaturesKHR( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderClockFeaturesKHR( VkPhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderClockFeaturesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderClockFeaturesKHR & - operator=( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderClockFeaturesKHR & - operator=( VkPhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderClockFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderClockFeaturesKHR & - setShaderSubgroupClock( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock_ ) VULKAN_HPP_NOEXCEPT - { - shaderSubgroupClock = shaderSubgroupClock_; - return *this; - } - - PhysicalDeviceShaderClockFeaturesKHR & - setShaderDeviceClock( VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock_ ) VULKAN_HPP_NOEXCEPT - { - shaderDeviceClock = shaderDeviceClock_; - return *this; - } - - operator VkPhysicalDeviceShaderClockFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderClockFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderClockFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderSubgroupClock == rhs.shaderSubgroupClock ) && - ( shaderDeviceClock == rhs.shaderDeviceClock ); - } - - bool operator!=( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderClockFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderClockFeaturesKHR ) == sizeof( VkPhysicalDeviceShaderClockFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderClockFeaturesKHR; - }; - - struct PhysicalDeviceShaderCoreProperties2AMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderCoreProperties2AMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCoreProperties2AMD( - VULKAN_HPP_NAMESPACE::ShaderCorePropertiesFlagsAMD shaderCoreFeatures_ = {}, - uint32_t activeComputeUnitCount_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderCoreFeatures( shaderCoreFeatures_ ) - , activeComputeUnitCount( activeComputeUnitCount_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCoreProperties2AMD( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderCoreProperties2AMD( VkPhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderCoreProperties2AMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderCoreProperties2AMD & - operator=( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderCoreProperties2AMD & - operator=( VkPhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceShaderCoreProperties2AMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderCoreProperties2AMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderCoreProperties2AMD const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderCoreFeatures == rhs.shaderCoreFeatures ) && - ( activeComputeUnitCount == rhs.activeComputeUnitCount ); - } - - bool operator!=( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderCoreProperties2AMD; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ShaderCorePropertiesFlagsAMD shaderCoreFeatures = {}; - uint32_t activeComputeUnitCount = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderCoreProperties2AMD ) == sizeof( VkPhysicalDeviceShaderCoreProperties2AMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderCoreProperties2AMD; - }; - - struct PhysicalDeviceShaderCorePropertiesAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderCorePropertiesAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceShaderCorePropertiesAMD( uint32_t shaderEngineCount_ = {}, - uint32_t shaderArraysPerEngineCount_ = {}, - uint32_t computeUnitsPerShaderArray_ = {}, - uint32_t simdPerComputeUnit_ = {}, - uint32_t wavefrontsPerSimd_ = {}, - uint32_t wavefrontSize_ = {}, - uint32_t sgprsPerSimd_ = {}, - uint32_t minSgprAllocation_ = {}, - uint32_t maxSgprAllocation_ = {}, - uint32_t sgprAllocationGranularity_ = {}, - uint32_t vgprsPerSimd_ = {}, - uint32_t minVgprAllocation_ = {}, - uint32_t maxVgprAllocation_ = {}, - uint32_t vgprAllocationGranularity_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderEngineCount( shaderEngineCount_ ) - , shaderArraysPerEngineCount( shaderArraysPerEngineCount_ ) - , computeUnitsPerShaderArray( computeUnitsPerShaderArray_ ) - , simdPerComputeUnit( simdPerComputeUnit_ ) - , wavefrontsPerSimd( wavefrontsPerSimd_ ) - , wavefrontSize( wavefrontSize_ ) - , sgprsPerSimd( sgprsPerSimd_ ) - , minSgprAllocation( minSgprAllocation_ ) - , maxSgprAllocation( maxSgprAllocation_ ) - , sgprAllocationGranularity( sgprAllocationGranularity_ ) - , vgprsPerSimd( vgprsPerSimd_ ) - , minVgprAllocation( minVgprAllocation_ ) - , maxVgprAllocation( maxVgprAllocation_ ) - , vgprAllocationGranularity( vgprAllocationGranularity_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCorePropertiesAMD( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderCorePropertiesAMD( VkPhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderCorePropertiesAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderCorePropertiesAMD & - operator=( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderCorePropertiesAMD & - operator=( VkPhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceShaderCorePropertiesAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderCorePropertiesAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderCorePropertiesAMD const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderEngineCount == rhs.shaderEngineCount ) && - ( shaderArraysPerEngineCount == rhs.shaderArraysPerEngineCount ) && - ( computeUnitsPerShaderArray == rhs.computeUnitsPerShaderArray ) && - ( simdPerComputeUnit == rhs.simdPerComputeUnit ) && ( wavefrontsPerSimd == rhs.wavefrontsPerSimd ) && - ( wavefrontSize == rhs.wavefrontSize ) && ( sgprsPerSimd == rhs.sgprsPerSimd ) && - ( minSgprAllocation == rhs.minSgprAllocation ) && ( maxSgprAllocation == rhs.maxSgprAllocation ) && - ( sgprAllocationGranularity == rhs.sgprAllocationGranularity ) && ( vgprsPerSimd == rhs.vgprsPerSimd ) && - ( minVgprAllocation == rhs.minVgprAllocation ) && ( maxVgprAllocation == rhs.maxVgprAllocation ) && - ( vgprAllocationGranularity == rhs.vgprAllocationGranularity ); - } - - bool operator!=( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderCorePropertiesAMD; - void * pNext = {}; - uint32_t shaderEngineCount = {}; - uint32_t shaderArraysPerEngineCount = {}; - uint32_t computeUnitsPerShaderArray = {}; - uint32_t simdPerComputeUnit = {}; - uint32_t wavefrontsPerSimd = {}; - uint32_t wavefrontSize = {}; - uint32_t sgprsPerSimd = {}; - uint32_t minSgprAllocation = {}; - uint32_t maxSgprAllocation = {}; - uint32_t sgprAllocationGranularity = {}; - uint32_t vgprsPerSimd = {}; - uint32_t minVgprAllocation = {}; - uint32_t maxVgprAllocation = {}; - uint32_t vgprAllocationGranularity = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderCorePropertiesAMD ) == sizeof( VkPhysicalDeviceShaderCorePropertiesAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderCorePropertiesAMD; - }; - - struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderDemoteToHelperInvocation( shaderDemoteToHelperInvocation_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( - PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( - VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & - operator=( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & - operator=( VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( - &rhs ); - return *this; - } - - PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & setShaderDemoteToHelperInvocation( - VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation_ ) VULKAN_HPP_NOEXCEPT - { - shaderDemoteToHelperInvocation = shaderDemoteToHelperInvocation_; - return *this; - } - - operator VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderDemoteToHelperInvocation == rhs.shaderDemoteToHelperInvocation ); - } - - bool operator!=( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT ) == - sizeof( VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; - }; - - struct PhysicalDeviceShaderDrawParametersFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderDrawParametersFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDrawParametersFeatures( - VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderDrawParameters( shaderDrawParameters_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDrawParametersFeatures( - PhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderDrawParametersFeatures( VkPhysicalDeviceShaderDrawParametersFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderDrawParametersFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderDrawParametersFeatures & - operator=( PhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderDrawParametersFeatures & - operator=( VkPhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderDrawParametersFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderDrawParametersFeatures & - setShaderDrawParameters( VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ ) VULKAN_HPP_NOEXCEPT - { - shaderDrawParameters = shaderDrawParameters_; - return *this; - } - - operator VkPhysicalDeviceShaderDrawParametersFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderDrawParametersFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderDrawParametersFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderDrawParametersFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderDrawParameters == rhs.shaderDrawParameters ); - } - - bool operator!=( PhysicalDeviceShaderDrawParametersFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderDrawParametersFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderDrawParametersFeatures ) == - sizeof( VkPhysicalDeviceShaderDrawParametersFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderDrawParametersFeatures; - }; - using PhysicalDeviceShaderDrawParameterFeatures = PhysicalDeviceShaderDrawParametersFeatures; - - struct PhysicalDeviceShaderFloat16Int8Features - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderFloat16Int8Features; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceShaderFloat16Int8Features( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderFloat16( shaderFloat16_ ) - , shaderInt8( shaderInt8_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderFloat16Int8Features( PhysicalDeviceShaderFloat16Int8Features const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderFloat16Int8Features( VkPhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderFloat16Int8Features( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderFloat16Int8Features & - operator=( PhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderFloat16Int8Features & - operator=( VkPhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderFloat16Int8Features & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderFloat16Int8Features & - setShaderFloat16( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ ) VULKAN_HPP_NOEXCEPT - { - shaderFloat16 = shaderFloat16_; - return *this; - } - - PhysicalDeviceShaderFloat16Int8Features & - setShaderInt8( VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ ) VULKAN_HPP_NOEXCEPT - { - shaderInt8 = shaderInt8_; - return *this; - } - - operator VkPhysicalDeviceShaderFloat16Int8Features const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderFloat16Int8Features &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderFloat16Int8Features const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderFloat16Int8Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderFloat16 == rhs.shaderFloat16 ) && - ( shaderInt8 == rhs.shaderInt8 ); - } - - bool operator!=( PhysicalDeviceShaderFloat16Int8Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderFloat16Int8Features; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInt8 = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderFloat16Int8Features ) == - sizeof( VkPhysicalDeviceShaderFloat16Int8Features ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderFloat16Int8Features; - }; - using PhysicalDeviceFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features; - using PhysicalDeviceShaderFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features; - - struct PhysicalDeviceShaderImageAtomicInt64FeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderImageInt64Atomics( shaderImageInt64Atomics_ ) - , sparseImageInt64Atomics( sparseImageInt64Atomics_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & - operator=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & - operator=( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & - setShaderImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderImageInt64Atomics = shaderImageInt64Atomics_; - return *this; - } - - PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & - setSparseImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - sparseImageInt64Atomics = sparseImageInt64Atomics_; - return *this; - } - - operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderImageInt64Atomics == rhs.shaderImageInt64Atomics ) && - ( sparseImageInt64Atomics == rhs.sparseImageInt64Atomics ); - } - - bool operator!=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT ) == - sizeof( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderImageAtomicInt64FeaturesEXT; - }; - - struct PhysicalDeviceShaderImageFootprintFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageFootprintFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 imageFootprint_ = {} ) VULKAN_HPP_NOEXCEPT : imageFootprint( imageFootprint_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageFootprintFeaturesNV( - PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderImageFootprintFeaturesNV( VkPhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderImageFootprintFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderImageFootprintFeaturesNV & - operator=( PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderImageFootprintFeaturesNV & - operator=( VkPhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderImageFootprintFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderImageFootprintFeaturesNV & - setImageFootprint( VULKAN_HPP_NAMESPACE::Bool32 imageFootprint_ ) VULKAN_HPP_NOEXCEPT - { - imageFootprint = imageFootprint_; - return *this; - } - - operator VkPhysicalDeviceShaderImageFootprintFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderImageFootprintFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderImageFootprintFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageFootprint == rhs.imageFootprint ); - } - - bool operator!=( PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 imageFootprint = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderImageFootprintFeaturesNV ) == - sizeof( VkPhysicalDeviceShaderImageFootprintFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderImageFootprintFeaturesNV; - }; - - struct PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( - VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderIntegerFunctions2( shaderIntegerFunctions2_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( - VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & - operator=( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & - operator=( VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & - setShaderIntegerFunctions2( VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2_ ) VULKAN_HPP_NOEXCEPT - { - shaderIntegerFunctions2 = shaderIntegerFunctions2_; - return *this; - } - - operator VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderIntegerFunctions2 == rhs.shaderIntegerFunctions2 ); - } - - bool operator!=( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2 = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL ) == - sizeof( VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; - }; - - struct PhysicalDeviceShaderSMBuiltinsFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsFeaturesNV( VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins_ = {} ) - VULKAN_HPP_NOEXCEPT : shaderSMBuiltins( shaderSMBuiltins_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsFeaturesNV( - PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSMBuiltinsFeaturesNV( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderSMBuiltinsFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderSMBuiltinsFeaturesNV & - operator=( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSMBuiltinsFeaturesNV & - operator=( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderSMBuiltinsFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderSMBuiltinsFeaturesNV & - setShaderSMBuiltins( VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins_ ) VULKAN_HPP_NOEXCEPT - { - shaderSMBuiltins = shaderSMBuiltins_; - return *this; - } - - operator VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderSMBuiltinsFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderSMBuiltins == rhs.shaderSMBuiltins ); - } - - bool operator!=( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderSMBuiltinsFeaturesNV ) == - sizeof( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderSMBuiltinsFeaturesNV; - }; - - struct PhysicalDeviceShaderSMBuiltinsPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceShaderSMBuiltinsPropertiesNV( uint32_t shaderSMCount_ = {}, - uint32_t shaderWarpsPerSM_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderSMCount( shaderSMCount_ ) - , shaderWarpsPerSM( shaderWarpsPerSM_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsPropertiesNV( - PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSMBuiltinsPropertiesNV( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderSMBuiltinsPropertiesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderSMBuiltinsPropertiesNV & - operator=( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSMBuiltinsPropertiesNV & - operator=( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderSMBuiltinsPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shaderSMCount == rhs.shaderSMCount ) && - ( shaderWarpsPerSM == rhs.shaderWarpsPerSM ); - } - - bool operator!=( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV; - void * pNext = {}; - uint32_t shaderSMCount = {}; - uint32_t shaderWarpsPerSM = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderSMBuiltinsPropertiesNV ) == - sizeof( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderSMBuiltinsPropertiesNV; - }; - - struct PhysicalDeviceShaderSubgroupExtendedTypesFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSubgroupExtendedTypesFeatures( - VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderSubgroupExtendedTypes( shaderSubgroupExtendedTypes_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSubgroupExtendedTypesFeatures( - PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSubgroupExtendedTypesFeatures( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderSubgroupExtendedTypesFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderSubgroupExtendedTypesFeatures & - operator=( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderSubgroupExtendedTypesFeatures & - operator=( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderSubgroupExtendedTypesFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderSubgroupExtendedTypesFeatures & - setShaderSubgroupExtendedTypes( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ ) VULKAN_HPP_NOEXCEPT - { - shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes_; - return *this; - } - - operator VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderSubgroupExtendedTypes == rhs.shaderSubgroupExtendedTypes ); - } - - bool operator!=( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderSubgroupExtendedTypesFeatures ) == - sizeof( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderSubgroupExtendedTypesFeatures; - }; - using PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR = PhysicalDeviceShaderSubgroupExtendedTypesFeatures; - - struct PhysicalDeviceShaderTerminateInvocationFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderTerminateInvocationFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderTerminateInvocation( shaderTerminateInvocation_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderTerminateInvocationFeaturesKHR( - PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderTerminateInvocationFeaturesKHR( - VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShaderTerminateInvocationFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShaderTerminateInvocationFeaturesKHR & - operator=( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShaderTerminateInvocationFeaturesKHR & - operator=( VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShaderTerminateInvocationFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShaderTerminateInvocationFeaturesKHR & - setShaderTerminateInvocation( VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation_ ) VULKAN_HPP_NOEXCEPT - { - shaderTerminateInvocation = shaderTerminateInvocation_; - return *this; - } - - operator VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderTerminateInvocation == rhs.shaderTerminateInvocation ); - } - - bool operator!=( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation = {}; - }; - static_assert( sizeof( PhysicalDeviceShaderTerminateInvocationFeaturesKHR ) == - sizeof( VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShaderTerminateInvocationFeaturesKHR; - }; - - struct PhysicalDeviceShadingRateImageFeaturesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShadingRateImageFeaturesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImageFeaturesNV( - VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder_ = {} ) VULKAN_HPP_NOEXCEPT - : shadingRateImage( shadingRateImage_ ) - , shadingRateCoarseSampleOrder( shadingRateCoarseSampleOrder_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImageFeaturesNV( - PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShadingRateImageFeaturesNV( VkPhysicalDeviceShadingRateImageFeaturesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShadingRateImageFeaturesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShadingRateImageFeaturesNV & - operator=( PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShadingRateImageFeaturesNV & - operator=( VkPhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceShadingRateImageFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceShadingRateImageFeaturesNV & - setShadingRateImage( VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage_ ) VULKAN_HPP_NOEXCEPT - { - shadingRateImage = shadingRateImage_; - return *this; - } - - PhysicalDeviceShadingRateImageFeaturesNV & - setShadingRateCoarseSampleOrder( VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder_ ) VULKAN_HPP_NOEXCEPT - { - shadingRateCoarseSampleOrder = shadingRateCoarseSampleOrder_; - return *this; - } - - operator VkPhysicalDeviceShadingRateImageFeaturesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShadingRateImageFeaturesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShadingRateImageFeaturesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shadingRateImage == rhs.shadingRateImage ) && - ( shadingRateCoarseSampleOrder == rhs.shadingRateCoarseSampleOrder ); - } - - bool operator!=( PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShadingRateImageFeaturesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage = {}; - VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder = {}; - }; - static_assert( sizeof( PhysicalDeviceShadingRateImageFeaturesNV ) == - sizeof( VkPhysicalDeviceShadingRateImageFeaturesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShadingRateImageFeaturesNV; - }; - - struct PhysicalDeviceShadingRateImagePropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceShadingRateImagePropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceShadingRateImagePropertiesNV( VULKAN_HPP_NAMESPACE::Extent2D shadingRateTexelSize_ = {}, - uint32_t shadingRatePaletteSize_ = {}, - uint32_t shadingRateMaxCoarseSamples_ = {} ) VULKAN_HPP_NOEXCEPT - : shadingRateTexelSize( shadingRateTexelSize_ ) - , shadingRatePaletteSize( shadingRatePaletteSize_ ) - , shadingRateMaxCoarseSamples( shadingRateMaxCoarseSamples_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImagePropertiesNV( - PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShadingRateImagePropertiesNV( VkPhysicalDeviceShadingRateImagePropertiesNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceShadingRateImagePropertiesNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceShadingRateImagePropertiesNV & - operator=( PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceShadingRateImagePropertiesNV & - operator=( VkPhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceShadingRateImagePropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceShadingRateImagePropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceShadingRateImagePropertiesNV const & ) const = default; -#else - bool operator==( PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shadingRateTexelSize == rhs.shadingRateTexelSize ) && - ( shadingRatePaletteSize == rhs.shadingRatePaletteSize ) && - ( shadingRateMaxCoarseSamples == rhs.shadingRateMaxCoarseSamples ); - } - - bool operator!=( PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShadingRateImagePropertiesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Extent2D shadingRateTexelSize = {}; - uint32_t shadingRatePaletteSize = {}; - uint32_t shadingRateMaxCoarseSamples = {}; - }; - static_assert( sizeof( PhysicalDeviceShadingRateImagePropertiesNV ) == - sizeof( VkPhysicalDeviceShadingRateImagePropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceShadingRateImagePropertiesNV; - }; - - struct PhysicalDeviceSubgroupProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSubgroupProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupProperties( - uint32_t subgroupSize_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlags supportedStages_ = {}, - VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags supportedOperations_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 quadOperationsInAllStages_ = {} ) VULKAN_HPP_NOEXCEPT - : subgroupSize( subgroupSize_ ) - , supportedStages( supportedStages_ ) - , supportedOperations( supportedOperations_ ) - , quadOperationsInAllStages( quadOperationsInAllStages_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceSubgroupProperties( PhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupProperties( VkPhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSubgroupProperties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSubgroupProperties & - operator=( PhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupProperties & operator=( VkPhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceSubgroupProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSubgroupProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSubgroupProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceSubgroupProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( subgroupSize == rhs.subgroupSize ) && - ( supportedStages == rhs.supportedStages ) && ( supportedOperations == rhs.supportedOperations ) && - ( quadOperationsInAllStages == rhs.quadOperationsInAllStages ); - } - - bool operator!=( PhysicalDeviceSubgroupProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupProperties; - void * pNext = {}; - uint32_t subgroupSize = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags supportedStages = {}; - VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags supportedOperations = {}; - VULKAN_HPP_NAMESPACE::Bool32 quadOperationsInAllStages = {}; - }; - static_assert( sizeof( PhysicalDeviceSubgroupProperties ) == sizeof( VkPhysicalDeviceSubgroupProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSubgroupProperties; - }; - - struct PhysicalDeviceSubgroupSizeControlFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups_ = {} ) VULKAN_HPP_NOEXCEPT - : subgroupSizeControl( subgroupSizeControl_ ) - , computeFullSubgroups( computeFullSubgroups_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlFeaturesEXT( - PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupSizeControlFeaturesEXT( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSubgroupSizeControlFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSubgroupSizeControlFeaturesEXT & - operator=( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupSizeControlFeaturesEXT & - operator=( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSubgroupSizeControlFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSubgroupSizeControlFeaturesEXT & - setSubgroupSizeControl( VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl_ ) VULKAN_HPP_NOEXCEPT - { - subgroupSizeControl = subgroupSizeControl_; - return *this; - } - - PhysicalDeviceSubgroupSizeControlFeaturesEXT & - setComputeFullSubgroups( VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups_ ) VULKAN_HPP_NOEXCEPT - { - computeFullSubgroups = computeFullSubgroups_; - return *this; - } - - operator VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSubgroupSizeControlFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( subgroupSizeControl == rhs.subgroupSizeControl ) && - ( computeFullSubgroups == rhs.computeFullSubgroups ); - } - - bool operator!=( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl = {}; - VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups = {}; - }; - static_assert( sizeof( PhysicalDeviceSubgroupSizeControlFeaturesEXT ) == - sizeof( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSubgroupSizeControlFeaturesEXT; - }; - - struct PhysicalDeviceSubgroupSizeControlPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlPropertiesEXT( - uint32_t minSubgroupSize_ = {}, - uint32_t maxSubgroupSize_ = {}, - uint32_t maxComputeWorkgroupSubgroups_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlags requiredSubgroupSizeStages_ = {} ) VULKAN_HPP_NOEXCEPT - : minSubgroupSize( minSubgroupSize_ ) - , maxSubgroupSize( maxSubgroupSize_ ) - , maxComputeWorkgroupSubgroups( maxComputeWorkgroupSubgroups_ ) - , requiredSubgroupSizeStages( requiredSubgroupSizeStages_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlPropertiesEXT( - PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupSizeControlPropertiesEXT( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSubgroupSizeControlPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSubgroupSizeControlPropertiesEXT & - operator=( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSubgroupSizeControlPropertiesEXT & - operator=( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSubgroupSizeControlPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( minSubgroupSize == rhs.minSubgroupSize ) && - ( maxSubgroupSize == rhs.maxSubgroupSize ) && - ( maxComputeWorkgroupSubgroups == rhs.maxComputeWorkgroupSubgroups ) && - ( requiredSubgroupSizeStages == rhs.requiredSubgroupSizeStages ); - } - - bool operator!=( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT; - void * pNext = {}; - uint32_t minSubgroupSize = {}; - uint32_t maxSubgroupSize = {}; - uint32_t maxComputeWorkgroupSubgroups = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags requiredSubgroupSizeStages = {}; - }; - static_assert( sizeof( PhysicalDeviceSubgroupSizeControlPropertiesEXT ) == - sizeof( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSubgroupSizeControlPropertiesEXT; - }; - - struct PhysicalDeviceSynchronization2FeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceSynchronization2FeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceSynchronization2FeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 synchronization2_ = {} ) VULKAN_HPP_NOEXCEPT : synchronization2( synchronization2_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceSynchronization2FeaturesKHR( - PhysicalDeviceSynchronization2FeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSynchronization2FeaturesKHR( VkPhysicalDeviceSynchronization2FeaturesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceSynchronization2FeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSynchronization2FeaturesKHR & - operator=( PhysicalDeviceSynchronization2FeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceSynchronization2FeaturesKHR & - operator=( VkPhysicalDeviceSynchronization2FeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceSynchronization2FeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceSynchronization2FeaturesKHR & - setSynchronization2( VULKAN_HPP_NAMESPACE::Bool32 synchronization2_ ) VULKAN_HPP_NOEXCEPT - { - synchronization2 = synchronization2_; - return *this; - } - - operator VkPhysicalDeviceSynchronization2FeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceSynchronization2FeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceSynchronization2FeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceSynchronization2FeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( synchronization2 == rhs.synchronization2 ); - } - - bool operator!=( PhysicalDeviceSynchronization2FeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSynchronization2FeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 synchronization2 = {}; - }; - static_assert( sizeof( PhysicalDeviceSynchronization2FeaturesKHR ) == - sizeof( VkPhysicalDeviceSynchronization2FeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceSynchronization2FeaturesKHR; - }; - - struct PhysicalDeviceTexelBufferAlignmentFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : texelBufferAlignment( texelBufferAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentFeaturesEXT( - PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTexelBufferAlignmentFeaturesEXT( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTexelBufferAlignmentFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTexelBufferAlignmentFeaturesEXT & - operator=( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTexelBufferAlignmentFeaturesEXT & - operator=( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceTexelBufferAlignmentFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceTexelBufferAlignmentFeaturesEXT & - setTexelBufferAlignment( VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment_ ) VULKAN_HPP_NOEXCEPT - { - texelBufferAlignment = texelBufferAlignment_; - return *this; - } - - operator VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( texelBufferAlignment == rhs.texelBufferAlignment ); - } - - bool operator!=( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceTexelBufferAlignmentFeaturesEXT ) == - sizeof( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTexelBufferAlignmentFeaturesEXT; - }; - - struct PhysicalDeviceTexelBufferAlignmentPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentPropertiesEXT( - VULKAN_HPP_NAMESPACE::DeviceSize storageTexelBufferOffsetAlignmentBytes_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storageTexelBufferOffsetSingleTexelAlignment_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize uniformTexelBufferOffsetAlignmentBytes_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformTexelBufferOffsetSingleTexelAlignment_ = {} ) VULKAN_HPP_NOEXCEPT - : storageTexelBufferOffsetAlignmentBytes( storageTexelBufferOffsetAlignmentBytes_ ) - , storageTexelBufferOffsetSingleTexelAlignment( storageTexelBufferOffsetSingleTexelAlignment_ ) - , uniformTexelBufferOffsetAlignmentBytes( uniformTexelBufferOffsetAlignmentBytes_ ) - , uniformTexelBufferOffsetSingleTexelAlignment( uniformTexelBufferOffsetSingleTexelAlignment_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentPropertiesEXT( - PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTexelBufferAlignmentPropertiesEXT( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTexelBufferAlignmentPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTexelBufferAlignmentPropertiesEXT & - operator=( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTexelBufferAlignmentPropertiesEXT & - operator=( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( storageTexelBufferOffsetAlignmentBytes == rhs.storageTexelBufferOffsetAlignmentBytes ) && - ( storageTexelBufferOffsetSingleTexelAlignment == rhs.storageTexelBufferOffsetSingleTexelAlignment ) && - ( uniformTexelBufferOffsetAlignmentBytes == rhs.uniformTexelBufferOffsetAlignmentBytes ) && - ( uniformTexelBufferOffsetSingleTexelAlignment == rhs.uniformTexelBufferOffsetSingleTexelAlignment ); - } - - bool operator!=( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DeviceSize storageTexelBufferOffsetAlignmentBytes = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageTexelBufferOffsetSingleTexelAlignment = {}; - VULKAN_HPP_NAMESPACE::DeviceSize uniformTexelBufferOffsetAlignmentBytes = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformTexelBufferOffsetSingleTexelAlignment = {}; - }; - static_assert( sizeof( PhysicalDeviceTexelBufferAlignmentPropertiesEXT ) == - sizeof( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTexelBufferAlignmentPropertiesEXT; - }; - - struct PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR_ = {} ) VULKAN_HPP_NOEXCEPT - : textureCompressionASTC_HDR( textureCompressionASTC_HDR_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( - PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( - VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & - operator=( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & - operator=( VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & - setTextureCompressionASTC_HDR( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR_ ) VULKAN_HPP_NOEXCEPT - { - textureCompressionASTC_HDR = textureCompressionASTC_HDR_; - return *this; - } - - operator VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( textureCompressionASTC_HDR == rhs.textureCompressionASTC_HDR ); - } - - bool operator!=( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR = {}; - }; - static_assert( sizeof( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT ) == - sizeof( VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT; - }; - - struct PhysicalDeviceTimelineSemaphoreFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTimelineSemaphoreFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreFeatures( VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ = {} ) - VULKAN_HPP_NOEXCEPT : timelineSemaphore( timelineSemaphore_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreFeatures( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTimelineSemaphoreFeatures( VkPhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTimelineSemaphoreFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTimelineSemaphoreFeatures & - operator=( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTimelineSemaphoreFeatures & - operator=( VkPhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceTimelineSemaphoreFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceTimelineSemaphoreFeatures & - setTimelineSemaphore( VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ ) VULKAN_HPP_NOEXCEPT - { - timelineSemaphore = timelineSemaphore_; - return *this; - } - - operator VkPhysicalDeviceTimelineSemaphoreFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTimelineSemaphoreFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTimelineSemaphoreFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( timelineSemaphore == rhs.timelineSemaphore ); - } - - bool operator!=( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTimelineSemaphoreFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore = {}; - }; - static_assert( sizeof( PhysicalDeviceTimelineSemaphoreFeatures ) == - sizeof( VkPhysicalDeviceTimelineSemaphoreFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTimelineSemaphoreFeatures; - }; - using PhysicalDeviceTimelineSemaphoreFeaturesKHR = PhysicalDeviceTimelineSemaphoreFeatures; - - struct PhysicalDeviceTimelineSemaphoreProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTimelineSemaphoreProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreProperties( uint64_t maxTimelineSemaphoreValueDifference_ = {} ) - VULKAN_HPP_NOEXCEPT : maxTimelineSemaphoreValueDifference( maxTimelineSemaphoreValueDifference_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreProperties( - PhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTimelineSemaphoreProperties( VkPhysicalDeviceTimelineSemaphoreProperties const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTimelineSemaphoreProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTimelineSemaphoreProperties & - operator=( PhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTimelineSemaphoreProperties & - operator=( VkPhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceTimelineSemaphoreProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTimelineSemaphoreProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTimelineSemaphoreProperties const & ) const = default; -#else - bool operator==( PhysicalDeviceTimelineSemaphoreProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxTimelineSemaphoreValueDifference == rhs.maxTimelineSemaphoreValueDifference ); - } - - bool operator!=( PhysicalDeviceTimelineSemaphoreProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTimelineSemaphoreProperties; - void * pNext = {}; - uint64_t maxTimelineSemaphoreValueDifference = {}; - }; - static_assert( sizeof( PhysicalDeviceTimelineSemaphoreProperties ) == - sizeof( VkPhysicalDeviceTimelineSemaphoreProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTimelineSemaphoreProperties; - }; - using PhysicalDeviceTimelineSemaphorePropertiesKHR = PhysicalDeviceTimelineSemaphoreProperties; - - struct PhysicalDeviceTransformFeedbackFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 transformFeedback_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 geometryStreams_ = {} ) VULKAN_HPP_NOEXCEPT - : transformFeedback( transformFeedback_ ) - , geometryStreams( geometryStreams_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackFeaturesEXT( - PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTransformFeedbackFeaturesEXT( VkPhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTransformFeedbackFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTransformFeedbackFeaturesEXT & - operator=( PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTransformFeedbackFeaturesEXT & - operator=( VkPhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceTransformFeedbackFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceTransformFeedbackFeaturesEXT & - setTransformFeedback( VULKAN_HPP_NAMESPACE::Bool32 transformFeedback_ ) VULKAN_HPP_NOEXCEPT - { - transformFeedback = transformFeedback_; - return *this; - } - - PhysicalDeviceTransformFeedbackFeaturesEXT & - setGeometryStreams( VULKAN_HPP_NAMESPACE::Bool32 geometryStreams_ ) VULKAN_HPP_NOEXCEPT - { - geometryStreams = geometryStreams_; - return *this; - } - - operator VkPhysicalDeviceTransformFeedbackFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTransformFeedbackFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTransformFeedbackFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( transformFeedback == rhs.transformFeedback ) && - ( geometryStreams == rhs.geometryStreams ); - } - - bool operator!=( PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedback = {}; - VULKAN_HPP_NAMESPACE::Bool32 geometryStreams = {}; - }; - static_assert( sizeof( PhysicalDeviceTransformFeedbackFeaturesEXT ) == - sizeof( VkPhysicalDeviceTransformFeedbackFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTransformFeedbackFeaturesEXT; - }; - - struct PhysicalDeviceTransformFeedbackPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackPropertiesEXT( - uint32_t maxTransformFeedbackStreams_ = {}, - uint32_t maxTransformFeedbackBuffers_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize maxTransformFeedbackBufferSize_ = {}, - uint32_t maxTransformFeedbackStreamDataSize_ = {}, - uint32_t maxTransformFeedbackBufferDataSize_ = {}, - uint32_t maxTransformFeedbackBufferDataStride_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackQueries_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackStreamsLinesTriangles_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackRasterizationStreamSelect_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackDraw_ = {} ) VULKAN_HPP_NOEXCEPT - : maxTransformFeedbackStreams( maxTransformFeedbackStreams_ ) - , maxTransformFeedbackBuffers( maxTransformFeedbackBuffers_ ) - , maxTransformFeedbackBufferSize( maxTransformFeedbackBufferSize_ ) - , maxTransformFeedbackStreamDataSize( maxTransformFeedbackStreamDataSize_ ) - , maxTransformFeedbackBufferDataSize( maxTransformFeedbackBufferDataSize_ ) - , maxTransformFeedbackBufferDataStride( maxTransformFeedbackBufferDataStride_ ) - , transformFeedbackQueries( transformFeedbackQueries_ ) - , transformFeedbackStreamsLinesTriangles( transformFeedbackStreamsLinesTriangles_ ) - , transformFeedbackRasterizationStreamSelect( transformFeedbackRasterizationStreamSelect_ ) - , transformFeedbackDraw( transformFeedbackDraw_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackPropertiesEXT( - PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTransformFeedbackPropertiesEXT( VkPhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceTransformFeedbackPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceTransformFeedbackPropertiesEXT & - operator=( PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceTransformFeedbackPropertiesEXT & - operator=( VkPhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceTransformFeedbackPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceTransformFeedbackPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceTransformFeedbackPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxTransformFeedbackStreams == rhs.maxTransformFeedbackStreams ) && - ( maxTransformFeedbackBuffers == rhs.maxTransformFeedbackBuffers ) && - ( maxTransformFeedbackBufferSize == rhs.maxTransformFeedbackBufferSize ) && - ( maxTransformFeedbackStreamDataSize == rhs.maxTransformFeedbackStreamDataSize ) && - ( maxTransformFeedbackBufferDataSize == rhs.maxTransformFeedbackBufferDataSize ) && - ( maxTransformFeedbackBufferDataStride == rhs.maxTransformFeedbackBufferDataStride ) && - ( transformFeedbackQueries == rhs.transformFeedbackQueries ) && - ( transformFeedbackStreamsLinesTriangles == rhs.transformFeedbackStreamsLinesTriangles ) && - ( transformFeedbackRasterizationStreamSelect == rhs.transformFeedbackRasterizationStreamSelect ) && - ( transformFeedbackDraw == rhs.transformFeedbackDraw ); - } - - bool operator!=( PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT; - void * pNext = {}; - uint32_t maxTransformFeedbackStreams = {}; - uint32_t maxTransformFeedbackBuffers = {}; - VULKAN_HPP_NAMESPACE::DeviceSize maxTransformFeedbackBufferSize = {}; - uint32_t maxTransformFeedbackStreamDataSize = {}; - uint32_t maxTransformFeedbackBufferDataSize = {}; - uint32_t maxTransformFeedbackBufferDataStride = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackQueries = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackStreamsLinesTriangles = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackRasterizationStreamSelect = {}; - VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackDraw = {}; - }; - static_assert( sizeof( PhysicalDeviceTransformFeedbackPropertiesEXT ) == - sizeof( VkPhysicalDeviceTransformFeedbackPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceTransformFeedbackPropertiesEXT; - }; - - struct PhysicalDeviceUniformBufferStandardLayoutFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceUniformBufferStandardLayoutFeatures( - VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ = {} ) VULKAN_HPP_NOEXCEPT - : uniformBufferStandardLayout( uniformBufferStandardLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceUniformBufferStandardLayoutFeatures( - PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceUniformBufferStandardLayoutFeatures( VkPhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceUniformBufferStandardLayoutFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceUniformBufferStandardLayoutFeatures & - operator=( PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceUniformBufferStandardLayoutFeatures & - operator=( VkPhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceUniformBufferStandardLayoutFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceUniformBufferStandardLayoutFeatures & - setUniformBufferStandardLayout( VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ ) VULKAN_HPP_NOEXCEPT - { - uniformBufferStandardLayout = uniformBufferStandardLayout_; - return *this; - } - - operator VkPhysicalDeviceUniformBufferStandardLayoutFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceUniformBufferStandardLayoutFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceUniformBufferStandardLayoutFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( uniformBufferStandardLayout == rhs.uniformBufferStandardLayout ); - } - - bool operator!=( PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout = {}; - }; - static_assert( sizeof( PhysicalDeviceUniformBufferStandardLayoutFeatures ) == - sizeof( VkPhysicalDeviceUniformBufferStandardLayoutFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceUniformBufferStandardLayoutFeatures; - }; - using PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR = PhysicalDeviceUniformBufferStandardLayoutFeatures; - - struct PhysicalDeviceVariablePointersFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceVariablePointersFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVariablePointersFeatures( VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ = {} ) VULKAN_HPP_NOEXCEPT - : variablePointersStorageBuffer( variablePointersStorageBuffer_ ) - , variablePointers( variablePointers_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceVariablePointersFeatures( PhysicalDeviceVariablePointersFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVariablePointersFeatures( VkPhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVariablePointersFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVariablePointersFeatures & - operator=( PhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVariablePointersFeatures & - operator=( VkPhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVariablePointersFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVariablePointersFeatures & setVariablePointersStorageBuffer( - VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ ) VULKAN_HPP_NOEXCEPT - { - variablePointersStorageBuffer = variablePointersStorageBuffer_; - return *this; - } - - PhysicalDeviceVariablePointersFeatures & - setVariablePointers( VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ ) VULKAN_HPP_NOEXCEPT - { - variablePointers = variablePointers_; - return *this; - } - - operator VkPhysicalDeviceVariablePointersFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVariablePointersFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVariablePointersFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceVariablePointersFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer ) && - ( variablePointers == rhs.variablePointers ); - } - - bool operator!=( PhysicalDeviceVariablePointersFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVariablePointersFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer = {}; - VULKAN_HPP_NAMESPACE::Bool32 variablePointers = {}; - }; - static_assert( sizeof( PhysicalDeviceVariablePointersFeatures ) == sizeof( VkPhysicalDeviceVariablePointersFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVariablePointersFeatures; - }; - using PhysicalDeviceVariablePointerFeatures = PhysicalDeviceVariablePointersFeatures; - using PhysicalDeviceVariablePointerFeaturesKHR = PhysicalDeviceVariablePointersFeatures; - using PhysicalDeviceVariablePointersFeaturesKHR = PhysicalDeviceVariablePointersFeatures; - - struct PhysicalDeviceVertexAttributeDivisorFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor_ = {} ) VULKAN_HPP_NOEXCEPT - : vertexAttributeInstanceRateDivisor( vertexAttributeInstanceRateDivisor_ ) - , vertexAttributeInstanceRateZeroDivisor( vertexAttributeInstanceRateZeroDivisor_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorFeaturesEXT( - PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexAttributeDivisorFeaturesEXT( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVertexAttributeDivisorFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVertexAttributeDivisorFeaturesEXT & - operator=( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexAttributeDivisorFeaturesEXT & - operator=( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setVertexAttributeInstanceRateDivisor( - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor_ ) VULKAN_HPP_NOEXCEPT - { - vertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor_; - return *this; - } - - PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setVertexAttributeInstanceRateZeroDivisor( - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor_ ) VULKAN_HPP_NOEXCEPT - { - vertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor_; - return *this; - } - - operator VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( vertexAttributeInstanceRateDivisor == rhs.vertexAttributeInstanceRateDivisor ) && - ( vertexAttributeInstanceRateZeroDivisor == rhs.vertexAttributeInstanceRateZeroDivisor ); - } - - bool operator!=( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor = {}; - }; - static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorFeaturesEXT ) == - sizeof( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVertexAttributeDivisorFeaturesEXT; - }; - - struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVertexAttributeDivisorPropertiesEXT( uint32_t maxVertexAttribDivisor_ = {} ) VULKAN_HPP_NOEXCEPT - : maxVertexAttribDivisor( maxVertexAttribDivisor_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorPropertiesEXT( - PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexAttributeDivisorPropertiesEXT( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVertexAttributeDivisorPropertiesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVertexAttributeDivisorPropertiesEXT & - operator=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexAttributeDivisorPropertiesEXT & - operator=( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( maxVertexAttribDivisor == rhs.maxVertexAttribDivisor ); - } - - bool operator!=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT; - void * pNext = {}; - uint32_t maxVertexAttribDivisor = {}; - }; - static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) == - sizeof( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVertexAttributeDivisorPropertiesEXT; - }; - - struct PhysicalDeviceVertexInputDynamicStateFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceVertexInputDynamicStateFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexInputDynamicStateFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 vertexInputDynamicState_ = {} ) VULKAN_HPP_NOEXCEPT - : vertexInputDynamicState( vertexInputDynamicState_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexInputDynamicStateFeaturesEXT( - PhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexInputDynamicStateFeaturesEXT( VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVertexInputDynamicStateFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVertexInputDynamicStateFeaturesEXT & - operator=( PhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVertexInputDynamicStateFeaturesEXT & - operator=( VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVertexInputDynamicStateFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVertexInputDynamicStateFeaturesEXT & - setVertexInputDynamicState( VULKAN_HPP_NAMESPACE::Bool32 vertexInputDynamicState_ ) VULKAN_HPP_NOEXCEPT - { - vertexInputDynamicState = vertexInputDynamicState_; - return *this; - } - - operator VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVertexInputDynamicStateFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( vertexInputDynamicState == rhs.vertexInputDynamicState ); - } - - bool operator!=( PhysicalDeviceVertexInputDynamicStateFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVertexInputDynamicStateFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 vertexInputDynamicState = {}; - }; - static_assert( sizeof( PhysicalDeviceVertexInputDynamicStateFeaturesEXT ) == - sizeof( VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVertexInputDynamicStateFeaturesEXT; - }; - - struct PhysicalDeviceVulkan11Features - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan11Features; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVulkan11Features( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiview_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ = {} ) VULKAN_HPP_NOEXCEPT - : storageBuffer16BitAccess( storageBuffer16BitAccess_ ) - , uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ ) - , storagePushConstant16( storagePushConstant16_ ) - , storageInputOutput16( storageInputOutput16_ ) - , multiview( multiview_ ) - , multiviewGeometryShader( multiviewGeometryShader_ ) - , multiviewTessellationShader( multiviewTessellationShader_ ) - , variablePointersStorageBuffer( variablePointersStorageBuffer_ ) - , variablePointers( variablePointers_ ) - , protectedMemory( protectedMemory_ ) - , samplerYcbcrConversion( samplerYcbcrConversion_ ) - , shaderDrawParameters( shaderDrawParameters_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVulkan11Features( PhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan11Features( VkPhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVulkan11Features( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan11Features & - operator=( PhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan11Features & operator=( VkPhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVulkan11Features & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - storageBuffer16BitAccess = storageBuffer16BitAccess_; - return *this; - } - - PhysicalDeviceVulkan11Features & setUniformAndStorageBuffer16BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setStoragePushConstant16( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ ) VULKAN_HPP_NOEXCEPT - { - storagePushConstant16 = storagePushConstant16_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setStorageInputOutput16( VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ ) VULKAN_HPP_NOEXCEPT - { - storageInputOutput16 = storageInputOutput16_; - return *this; - } - - PhysicalDeviceVulkan11Features & setMultiview( VULKAN_HPP_NAMESPACE::Bool32 multiview_ ) VULKAN_HPP_NOEXCEPT - { - multiview = multiview_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setMultiviewGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ ) VULKAN_HPP_NOEXCEPT - { - multiviewGeometryShader = multiviewGeometryShader_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setMultiviewTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ ) VULKAN_HPP_NOEXCEPT - { - multiviewTessellationShader = multiviewTessellationShader_; - return *this; - } - - PhysicalDeviceVulkan11Features & setVariablePointersStorageBuffer( - VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ ) VULKAN_HPP_NOEXCEPT - { - variablePointersStorageBuffer = variablePointersStorageBuffer_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setVariablePointers( VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ ) VULKAN_HPP_NOEXCEPT - { - variablePointers = variablePointers_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setProtectedMemory( VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ ) VULKAN_HPP_NOEXCEPT - { - protectedMemory = protectedMemory_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setSamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ ) VULKAN_HPP_NOEXCEPT - { - samplerYcbcrConversion = samplerYcbcrConversion_; - return *this; - } - - PhysicalDeviceVulkan11Features & - setShaderDrawParameters( VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ ) VULKAN_HPP_NOEXCEPT - { - shaderDrawParameters = shaderDrawParameters_; - return *this; - } - - operator VkPhysicalDeviceVulkan11Features const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVulkan11Features &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVulkan11Features const & ) const = default; -#else - bool operator==( PhysicalDeviceVulkan11Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess ) && - ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess ) && - ( storagePushConstant16 == rhs.storagePushConstant16 ) && - ( storageInputOutput16 == rhs.storageInputOutput16 ) && ( multiview == rhs.multiview ) && - ( multiviewGeometryShader == rhs.multiviewGeometryShader ) && - ( multiviewTessellationShader == rhs.multiviewTessellationShader ) && - ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer ) && - ( variablePointers == rhs.variablePointers ) && ( protectedMemory == rhs.protectedMemory ) && - ( samplerYcbcrConversion == rhs.samplerYcbcrConversion ) && - ( shaderDrawParameters == rhs.shaderDrawParameters ); - } - - bool operator!=( PhysicalDeviceVulkan11Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan11Features; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiview = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader = {}; - VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer = {}; - VULKAN_HPP_NAMESPACE::Bool32 variablePointers = {}; - VULKAN_HPP_NAMESPACE::Bool32 protectedMemory = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters = {}; - }; - static_assert( sizeof( PhysicalDeviceVulkan11Features ) == sizeof( VkPhysicalDeviceVulkan11Features ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVulkan11Features; - }; - - struct PhysicalDeviceVulkan11Properties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan11Properties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan11Properties( - std::array const & deviceUUID_ = {}, - std::array const & driverUUID_ = {}, - std::array const & deviceLUID_ = {}, - uint32_t deviceNodeMask_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid_ = {}, - uint32_t subgroupSize_ = {}, - VULKAN_HPP_NAMESPACE::ShaderStageFlags subgroupSupportedStages_ = {}, - VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags subgroupSupportedOperations_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 subgroupQuadOperationsInAllStages_ = {}, - VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior_ = - VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes, - uint32_t maxMultiviewViewCount_ = {}, - uint32_t maxMultiviewInstanceIndex_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault_ = {}, - uint32_t maxPerSetDescriptors_ = {}, - VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize_ = {} ) VULKAN_HPP_NOEXCEPT - : deviceUUID( deviceUUID_ ) - , driverUUID( driverUUID_ ) - , deviceLUID( deviceLUID_ ) - , deviceNodeMask( deviceNodeMask_ ) - , deviceLUIDValid( deviceLUIDValid_ ) - , subgroupSize( subgroupSize_ ) - , subgroupSupportedStages( subgroupSupportedStages_ ) - , subgroupSupportedOperations( subgroupSupportedOperations_ ) - , subgroupQuadOperationsInAllStages( subgroupQuadOperationsInAllStages_ ) - , pointClippingBehavior( pointClippingBehavior_ ) - , maxMultiviewViewCount( maxMultiviewViewCount_ ) - , maxMultiviewInstanceIndex( maxMultiviewInstanceIndex_ ) - , protectedNoFault( protectedNoFault_ ) - , maxPerSetDescriptors( maxPerSetDescriptors_ ) - , maxMemoryAllocationSize( maxMemoryAllocationSize_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceVulkan11Properties( PhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan11Properties( VkPhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVulkan11Properties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan11Properties & - operator=( PhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan11Properties & operator=( VkPhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceVulkan11Properties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVulkan11Properties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVulkan11Properties const & ) const = default; -#else - bool operator==( PhysicalDeviceVulkan11Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( deviceUUID == rhs.deviceUUID ) && - ( driverUUID == rhs.driverUUID ) && ( deviceLUID == rhs.deviceLUID ) && - ( deviceNodeMask == rhs.deviceNodeMask ) && ( deviceLUIDValid == rhs.deviceLUIDValid ) && - ( subgroupSize == rhs.subgroupSize ) && ( subgroupSupportedStages == rhs.subgroupSupportedStages ) && - ( subgroupSupportedOperations == rhs.subgroupSupportedOperations ) && - ( subgroupQuadOperationsInAllStages == rhs.subgroupQuadOperationsInAllStages ) && - ( pointClippingBehavior == rhs.pointClippingBehavior ) && - ( maxMultiviewViewCount == rhs.maxMultiviewViewCount ) && - ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex ) && - ( protectedNoFault == rhs.protectedNoFault ) && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors ) && - ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize ); - } - - bool operator!=( PhysicalDeviceVulkan11Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan11Properties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceUUID = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverUUID = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceLUID = {}; - uint32_t deviceNodeMask = {}; - VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid = {}; - uint32_t subgroupSize = {}; - VULKAN_HPP_NAMESPACE::ShaderStageFlags subgroupSupportedStages = {}; - VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags subgroupSupportedOperations = {}; - VULKAN_HPP_NAMESPACE::Bool32 subgroupQuadOperationsInAllStages = {}; - VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior = - VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes; - uint32_t maxMultiviewViewCount = {}; - uint32_t maxMultiviewInstanceIndex = {}; - VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault = {}; - uint32_t maxPerSetDescriptors = {}; - VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize = {}; - }; - static_assert( sizeof( PhysicalDeviceVulkan11Properties ) == sizeof( VkPhysicalDeviceVulkan11Properties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVulkan11Properties; - }; - - struct PhysicalDeviceVulkan12Features - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan12Features; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkan12Features( - VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId_ = {} ) VULKAN_HPP_NOEXCEPT - : samplerMirrorClampToEdge( samplerMirrorClampToEdge_ ) - , drawIndirectCount( drawIndirectCount_ ) - , storageBuffer8BitAccess( storageBuffer8BitAccess_ ) - , uniformAndStorageBuffer8BitAccess( uniformAndStorageBuffer8BitAccess_ ) - , storagePushConstant8( storagePushConstant8_ ) - , shaderBufferInt64Atomics( shaderBufferInt64Atomics_ ) - , shaderSharedInt64Atomics( shaderSharedInt64Atomics_ ) - , shaderFloat16( shaderFloat16_ ) - , shaderInt8( shaderInt8_ ) - , descriptorIndexing( descriptorIndexing_ ) - , shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ ) - , shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ ) - , shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ ) - , shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ ) - , shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ ) - , shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ ) - , shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ ) - , shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ ) - , shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ ) - , shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ ) - , descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ ) - , descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ ) - , descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ ) - , descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ ) - , descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ ) - , descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ ) - , descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ ) - , descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ ) - , descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ ) - , runtimeDescriptorArray( runtimeDescriptorArray_ ) - , samplerFilterMinmax( samplerFilterMinmax_ ) - , scalarBlockLayout( scalarBlockLayout_ ) - , imagelessFramebuffer( imagelessFramebuffer_ ) - , uniformBufferStandardLayout( uniformBufferStandardLayout_ ) - , shaderSubgroupExtendedTypes( shaderSubgroupExtendedTypes_ ) - , separateDepthStencilLayouts( separateDepthStencilLayouts_ ) - , hostQueryReset( hostQueryReset_ ) - , timelineSemaphore( timelineSemaphore_ ) - , bufferDeviceAddress( bufferDeviceAddress_ ) - , bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ) - , bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ) - , vulkanMemoryModel( vulkanMemoryModel_ ) - , vulkanMemoryModelDeviceScope( vulkanMemoryModelDeviceScope_ ) - , vulkanMemoryModelAvailabilityVisibilityChains( vulkanMemoryModelAvailabilityVisibilityChains_ ) - , shaderOutputViewportIndex( shaderOutputViewportIndex_ ) - , shaderOutputLayer( shaderOutputLayer_ ) - , subgroupBroadcastDynamicId( subgroupBroadcastDynamicId_ ) - {} - - VULKAN_HPP_CONSTEXPR - PhysicalDeviceVulkan12Features( PhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan12Features( VkPhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVulkan12Features( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan12Features & - operator=( PhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan12Features & operator=( VkPhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVulkan12Features & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setSamplerMirrorClampToEdge( VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge_ ) VULKAN_HPP_NOEXCEPT - { - samplerMirrorClampToEdge = samplerMirrorClampToEdge_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setDrawIndirectCount( VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount_ ) VULKAN_HPP_NOEXCEPT - { - drawIndirectCount = drawIndirectCount_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - storageBuffer8BitAccess = storageBuffer8BitAccess_; - return *this; - } - - PhysicalDeviceVulkan12Features & setUniformAndStorageBuffer8BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setStoragePushConstant8( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ ) VULKAN_HPP_NOEXCEPT - { - storagePushConstant8 = storagePushConstant8_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setShaderBufferInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderBufferInt64Atomics = shaderBufferInt64Atomics_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setShaderSharedInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ ) VULKAN_HPP_NOEXCEPT - { - shaderSharedInt64Atomics = shaderSharedInt64Atomics_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderFloat16( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ ) VULKAN_HPP_NOEXCEPT - { - shaderFloat16 = shaderFloat16_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderInt8( VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ ) VULKAN_HPP_NOEXCEPT - { - shaderInt8 = shaderInt8_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setDescriptorIndexing( VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing_ ) VULKAN_HPP_NOEXCEPT - { - descriptorIndexing = descriptorIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderInputAttachmentArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderUniformTexelBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderStorageTexelBufferArrayDynamicIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderUniformBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderSampledImageArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderStorageBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderStorageImageArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderInputAttachmentArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderUniformTexelBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setShaderStorageTexelBufferArrayNonUniformIndexing( - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT - { - shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingUniformBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingSampledImageUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingStorageImageUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingStorageBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingUniformTexelBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingStorageTexelBufferUpdateAfterBind( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingUpdateUnusedWhilePending( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingPartiallyBound( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_; - return *this; - } - - PhysicalDeviceVulkan12Features & setDescriptorBindingVariableDescriptorCount( - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ ) VULKAN_HPP_NOEXCEPT - { - descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setRuntimeDescriptorArray( VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ ) VULKAN_HPP_NOEXCEPT - { - runtimeDescriptorArray = runtimeDescriptorArray_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setSamplerFilterMinmax( VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax_ ) VULKAN_HPP_NOEXCEPT - { - samplerFilterMinmax = samplerFilterMinmax_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setScalarBlockLayout( VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ ) VULKAN_HPP_NOEXCEPT - { - scalarBlockLayout = scalarBlockLayout_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setImagelessFramebuffer( VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ ) VULKAN_HPP_NOEXCEPT - { - imagelessFramebuffer = imagelessFramebuffer_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setUniformBufferStandardLayout( VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ ) VULKAN_HPP_NOEXCEPT - { - uniformBufferStandardLayout = uniformBufferStandardLayout_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setShaderSubgroupExtendedTypes( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ ) VULKAN_HPP_NOEXCEPT - { - shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setSeparateDepthStencilLayouts( VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ ) VULKAN_HPP_NOEXCEPT - { - separateDepthStencilLayouts = separateDepthStencilLayouts_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setHostQueryReset( VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ ) VULKAN_HPP_NOEXCEPT - { - hostQueryReset = hostQueryReset_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setTimelineSemaphore( VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ ) VULKAN_HPP_NOEXCEPT - { - timelineSemaphore = timelineSemaphore_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddress = bufferDeviceAddress_; - return *this; - } - - PhysicalDeviceVulkan12Features & setBufferDeviceAddressCaptureReplay( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; - return *this; - } - - PhysicalDeviceVulkan12Features & setBufferDeviceAddressMultiDevice( - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT - { - bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setVulkanMemoryModel( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModel = vulkanMemoryModel_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setVulkanMemoryModelDeviceScope( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope_; - return *this; - } - - PhysicalDeviceVulkan12Features & setVulkanMemoryModelAvailabilityVisibilityChains( - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setShaderOutputViewportIndex( VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex_ ) VULKAN_HPP_NOEXCEPT - { - shaderOutputViewportIndex = shaderOutputViewportIndex_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setShaderOutputLayer( VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer_ ) VULKAN_HPP_NOEXCEPT - { - shaderOutputLayer = shaderOutputLayer_; - return *this; - } - - PhysicalDeviceVulkan12Features & - setSubgroupBroadcastDynamicId( VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId_ ) VULKAN_HPP_NOEXCEPT - { - subgroupBroadcastDynamicId = subgroupBroadcastDynamicId_; - return *this; - } - - operator VkPhysicalDeviceVulkan12Features const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVulkan12Features &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVulkan12Features const & ) const = default; -#else - bool operator==( PhysicalDeviceVulkan12Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( samplerMirrorClampToEdge == rhs.samplerMirrorClampToEdge ) && - ( drawIndirectCount == rhs.drawIndirectCount ) && - ( storageBuffer8BitAccess == rhs.storageBuffer8BitAccess ) && - ( uniformAndStorageBuffer8BitAccess == rhs.uniformAndStorageBuffer8BitAccess ) && - ( storagePushConstant8 == rhs.storagePushConstant8 ) && - ( shaderBufferInt64Atomics == rhs.shaderBufferInt64Atomics ) && - ( shaderSharedInt64Atomics == rhs.shaderSharedInt64Atomics ) && ( shaderFloat16 == rhs.shaderFloat16 ) && - ( shaderInt8 == rhs.shaderInt8 ) && ( descriptorIndexing == rhs.descriptorIndexing ) && - ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing ) && - ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing ) && - ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing ) && - ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing ) && - ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing ) && - ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing ) && - ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing ) && - ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing ) && - ( shaderUniformTexelBufferArrayNonUniformIndexing == - rhs.shaderUniformTexelBufferArrayNonUniformIndexing ) && - ( shaderStorageTexelBufferArrayNonUniformIndexing == - rhs.shaderStorageTexelBufferArrayNonUniformIndexing ) && - ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind ) && - ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind ) && - ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind ) && - ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind ) && - ( descriptorBindingUniformTexelBufferUpdateAfterBind == - rhs.descriptorBindingUniformTexelBufferUpdateAfterBind ) && - ( descriptorBindingStorageTexelBufferUpdateAfterBind == - rhs.descriptorBindingStorageTexelBufferUpdateAfterBind ) && - ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending ) && - ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound ) && - ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount ) && - ( runtimeDescriptorArray == rhs.runtimeDescriptorArray ) && - ( samplerFilterMinmax == rhs.samplerFilterMinmax ) && ( scalarBlockLayout == rhs.scalarBlockLayout ) && - ( imagelessFramebuffer == rhs.imagelessFramebuffer ) && - ( uniformBufferStandardLayout == rhs.uniformBufferStandardLayout ) && - ( shaderSubgroupExtendedTypes == rhs.shaderSubgroupExtendedTypes ) && - ( separateDepthStencilLayouts == rhs.separateDepthStencilLayouts ) && - ( hostQueryReset == rhs.hostQueryReset ) && ( timelineSemaphore == rhs.timelineSemaphore ) && - ( bufferDeviceAddress == rhs.bufferDeviceAddress ) && - ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) && - ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ) && - ( vulkanMemoryModel == rhs.vulkanMemoryModel ) && - ( vulkanMemoryModelDeviceScope == rhs.vulkanMemoryModelDeviceScope ) && - ( vulkanMemoryModelAvailabilityVisibilityChains == rhs.vulkanMemoryModelAvailabilityVisibilityChains ) && - ( shaderOutputViewportIndex == rhs.shaderOutputViewportIndex ) && - ( shaderOutputLayer == rhs.shaderOutputLayer ) && - ( subgroupBroadcastDynamicId == rhs.subgroupBroadcastDynamicId ); - } - - bool operator!=( PhysicalDeviceVulkan12Features const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan12Features; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge = {}; - VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount = {}; - VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInt8 = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound = {}; - VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount = {}; - VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray = {}; - VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax = {}; - VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout = {}; - VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer = {}; - VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes = {}; - VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts = {}; - VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset = {}; - VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; - VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer = {}; - VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId = {}; - }; - static_assert( sizeof( PhysicalDeviceVulkan12Features ) == sizeof( VkPhysicalDeviceVulkan12Features ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVulkan12Features; - }; - - struct PhysicalDeviceVulkan12Properties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan12Properties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan12Properties( - VULKAN_HPP_NAMESPACE::DriverId driverID_ = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary, - std::array const & driverName_ = {}, - std::array const & driverInfo_ = {}, - VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion_ = {}, - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence_ = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence_ = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64_ = {}, - uint32_t maxUpdateAfterBindDescriptorsInAllPools_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindSamplers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages_ = {}, - uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments_ = {}, - uint32_t maxPerStageUpdateAfterBindResources_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindSamplers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindSampledImages_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindStorageImages_ = {}, - uint32_t maxDescriptorSetUpdateAfterBindInputAttachments_ = {}, - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes_ = {}, - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 independentResolve_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping_ = {}, - uint64_t maxTimelineSemaphoreValueDifference_ = {}, - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferIntegerColorSampleCounts_ = {} ) VULKAN_HPP_NOEXCEPT - : driverID( driverID_ ) - , driverName( driverName_ ) - , driverInfo( driverInfo_ ) - , conformanceVersion( conformanceVersion_ ) - , denormBehaviorIndependence( denormBehaviorIndependence_ ) - , roundingModeIndependence( roundingModeIndependence_ ) - , shaderSignedZeroInfNanPreserveFloat16( shaderSignedZeroInfNanPreserveFloat16_ ) - , shaderSignedZeroInfNanPreserveFloat32( shaderSignedZeroInfNanPreserveFloat32_ ) - , shaderSignedZeroInfNanPreserveFloat64( shaderSignedZeroInfNanPreserveFloat64_ ) - , shaderDenormPreserveFloat16( shaderDenormPreserveFloat16_ ) - , shaderDenormPreserveFloat32( shaderDenormPreserveFloat32_ ) - , shaderDenormPreserveFloat64( shaderDenormPreserveFloat64_ ) - , shaderDenormFlushToZeroFloat16( shaderDenormFlushToZeroFloat16_ ) - , shaderDenormFlushToZeroFloat32( shaderDenormFlushToZeroFloat32_ ) - , shaderDenormFlushToZeroFloat64( shaderDenormFlushToZeroFloat64_ ) - , shaderRoundingModeRTEFloat16( shaderRoundingModeRTEFloat16_ ) - , shaderRoundingModeRTEFloat32( shaderRoundingModeRTEFloat32_ ) - , shaderRoundingModeRTEFloat64( shaderRoundingModeRTEFloat64_ ) - , shaderRoundingModeRTZFloat16( shaderRoundingModeRTZFloat16_ ) - , shaderRoundingModeRTZFloat32( shaderRoundingModeRTZFloat32_ ) - , shaderRoundingModeRTZFloat64( shaderRoundingModeRTZFloat64_ ) - , maxUpdateAfterBindDescriptorsInAllPools( maxUpdateAfterBindDescriptorsInAllPools_ ) - , shaderUniformBufferArrayNonUniformIndexingNative( shaderUniformBufferArrayNonUniformIndexingNative_ ) - , shaderSampledImageArrayNonUniformIndexingNative( shaderSampledImageArrayNonUniformIndexingNative_ ) - , shaderStorageBufferArrayNonUniformIndexingNative( shaderStorageBufferArrayNonUniformIndexingNative_ ) - , shaderStorageImageArrayNonUniformIndexingNative( shaderStorageImageArrayNonUniformIndexingNative_ ) - , shaderInputAttachmentArrayNonUniformIndexingNative( shaderInputAttachmentArrayNonUniformIndexingNative_ ) - , robustBufferAccessUpdateAfterBind( robustBufferAccessUpdateAfterBind_ ) - , quadDivergentImplicitLod( quadDivergentImplicitLod_ ) - , maxPerStageDescriptorUpdateAfterBindSamplers( maxPerStageDescriptorUpdateAfterBindSamplers_ ) - , maxPerStageDescriptorUpdateAfterBindUniformBuffers( maxPerStageDescriptorUpdateAfterBindUniformBuffers_ ) - , maxPerStageDescriptorUpdateAfterBindStorageBuffers( maxPerStageDescriptorUpdateAfterBindStorageBuffers_ ) - , maxPerStageDescriptorUpdateAfterBindSampledImages( maxPerStageDescriptorUpdateAfterBindSampledImages_ ) - , maxPerStageDescriptorUpdateAfterBindStorageImages( maxPerStageDescriptorUpdateAfterBindStorageImages_ ) - , maxPerStageDescriptorUpdateAfterBindInputAttachments( maxPerStageDescriptorUpdateAfterBindInputAttachments_ ) - , maxPerStageUpdateAfterBindResources( maxPerStageUpdateAfterBindResources_ ) - , maxDescriptorSetUpdateAfterBindSamplers( maxDescriptorSetUpdateAfterBindSamplers_ ) - , maxDescriptorSetUpdateAfterBindUniformBuffers( maxDescriptorSetUpdateAfterBindUniformBuffers_ ) - , maxDescriptorSetUpdateAfterBindUniformBuffersDynamic( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ ) - , maxDescriptorSetUpdateAfterBindStorageBuffers( maxDescriptorSetUpdateAfterBindStorageBuffers_ ) - , maxDescriptorSetUpdateAfterBindStorageBuffersDynamic( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ ) - , maxDescriptorSetUpdateAfterBindSampledImages( maxDescriptorSetUpdateAfterBindSampledImages_ ) - , maxDescriptorSetUpdateAfterBindStorageImages( maxDescriptorSetUpdateAfterBindStorageImages_ ) - , maxDescriptorSetUpdateAfterBindInputAttachments( maxDescriptorSetUpdateAfterBindInputAttachments_ ) - , supportedDepthResolveModes( supportedDepthResolveModes_ ) - , supportedStencilResolveModes( supportedStencilResolveModes_ ) - , independentResolveNone( independentResolveNone_ ) - , independentResolve( independentResolve_ ) - , filterMinmaxSingleComponentFormats( filterMinmaxSingleComponentFormats_ ) - , filterMinmaxImageComponentMapping( filterMinmaxImageComponentMapping_ ) - , maxTimelineSemaphoreValueDifference( maxTimelineSemaphoreValueDifference_ ) - , framebufferIntegerColorSampleCounts( framebufferIntegerColorSampleCounts_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - PhysicalDeviceVulkan12Properties( PhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan12Properties( VkPhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVulkan12Properties( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan12Properties & - operator=( PhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkan12Properties & operator=( VkPhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPhysicalDeviceVulkan12Properties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVulkan12Properties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVulkan12Properties const & ) const = default; -#else - bool operator==( PhysicalDeviceVulkan12Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( driverID == rhs.driverID ) && - ( driverName == rhs.driverName ) && ( driverInfo == rhs.driverInfo ) && - ( conformanceVersion == rhs.conformanceVersion ) && - ( denormBehaviorIndependence == rhs.denormBehaviorIndependence ) && - ( roundingModeIndependence == rhs.roundingModeIndependence ) && - ( shaderSignedZeroInfNanPreserveFloat16 == rhs.shaderSignedZeroInfNanPreserveFloat16 ) && - ( shaderSignedZeroInfNanPreserveFloat32 == rhs.shaderSignedZeroInfNanPreserveFloat32 ) && - ( shaderSignedZeroInfNanPreserveFloat64 == rhs.shaderSignedZeroInfNanPreserveFloat64 ) && - ( shaderDenormPreserveFloat16 == rhs.shaderDenormPreserveFloat16 ) && - ( shaderDenormPreserveFloat32 == rhs.shaderDenormPreserveFloat32 ) && - ( shaderDenormPreserveFloat64 == rhs.shaderDenormPreserveFloat64 ) && - ( shaderDenormFlushToZeroFloat16 == rhs.shaderDenormFlushToZeroFloat16 ) && - ( shaderDenormFlushToZeroFloat32 == rhs.shaderDenormFlushToZeroFloat32 ) && - ( shaderDenormFlushToZeroFloat64 == rhs.shaderDenormFlushToZeroFloat64 ) && - ( shaderRoundingModeRTEFloat16 == rhs.shaderRoundingModeRTEFloat16 ) && - ( shaderRoundingModeRTEFloat32 == rhs.shaderRoundingModeRTEFloat32 ) && - ( shaderRoundingModeRTEFloat64 == rhs.shaderRoundingModeRTEFloat64 ) && - ( shaderRoundingModeRTZFloat16 == rhs.shaderRoundingModeRTZFloat16 ) && - ( shaderRoundingModeRTZFloat32 == rhs.shaderRoundingModeRTZFloat32 ) && - ( shaderRoundingModeRTZFloat64 == rhs.shaderRoundingModeRTZFloat64 ) && - ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools ) && - ( shaderUniformBufferArrayNonUniformIndexingNative == - rhs.shaderUniformBufferArrayNonUniformIndexingNative ) && - ( shaderSampledImageArrayNonUniformIndexingNative == - rhs.shaderSampledImageArrayNonUniformIndexingNative ) && - ( shaderStorageBufferArrayNonUniformIndexingNative == - rhs.shaderStorageBufferArrayNonUniformIndexingNative ) && - ( shaderStorageImageArrayNonUniformIndexingNative == - rhs.shaderStorageImageArrayNonUniformIndexingNative ) && - ( shaderInputAttachmentArrayNonUniformIndexingNative == - rhs.shaderInputAttachmentArrayNonUniformIndexingNative ) && - ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind ) && - ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod ) && - ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers ) && - ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == - rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers ) && - ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == - rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers ) && - ( maxPerStageDescriptorUpdateAfterBindSampledImages == - rhs.maxPerStageDescriptorUpdateAfterBindSampledImages ) && - ( maxPerStageDescriptorUpdateAfterBindStorageImages == - rhs.maxPerStageDescriptorUpdateAfterBindStorageImages ) && - ( maxPerStageDescriptorUpdateAfterBindInputAttachments == - rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments ) && - ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources ) && - ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers ) && - ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers ) && - ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == - rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic ) && - ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers ) && - ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == - rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic ) && - ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages ) && - ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages ) && - ( maxDescriptorSetUpdateAfterBindInputAttachments == - rhs.maxDescriptorSetUpdateAfterBindInputAttachments ) && - ( supportedDepthResolveModes == rhs.supportedDepthResolveModes ) && - ( supportedStencilResolveModes == rhs.supportedStencilResolveModes ) && - ( independentResolveNone == rhs.independentResolveNone ) && - ( independentResolve == rhs.independentResolve ) && - ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats ) && - ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping ) && - ( maxTimelineSemaphoreValueDifference == rhs.maxTimelineSemaphoreValueDifference ) && - ( framebufferIntegerColorSampleCounts == rhs.framebufferIntegerColorSampleCounts ); - } - - bool operator!=( PhysicalDeviceVulkan12Properties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan12Properties; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::DriverId driverID = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverName = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverInfo = {}; - VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion = {}; - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence = - VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32 = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64 = {}; - uint32_t maxUpdateAfterBindDescriptorsInAllPools = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative = {}; - VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind = {}; - VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindSamplers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages = {}; - uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments = {}; - uint32_t maxPerStageUpdateAfterBindResources = {}; - uint32_t maxDescriptorSetUpdateAfterBindSamplers = {}; - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers = {}; - uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = {}; - uint32_t maxDescriptorSetUpdateAfterBindSampledImages = {}; - uint32_t maxDescriptorSetUpdateAfterBindStorageImages = {}; - uint32_t maxDescriptorSetUpdateAfterBindInputAttachments = {}; - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes = {}; - VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes = {}; - VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone = {}; - VULKAN_HPP_NAMESPACE::Bool32 independentResolve = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats = {}; - VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping = {}; - uint64_t maxTimelineSemaphoreValueDifference = {}; - VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferIntegerColorSampleCounts = {}; - }; - static_assert( sizeof( PhysicalDeviceVulkan12Properties ) == sizeof( VkPhysicalDeviceVulkan12Properties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVulkan12Properties; - }; - - struct PhysicalDeviceVulkanMemoryModelFeatures - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceVulkanMemoryModelFeatures; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkanMemoryModelFeatures( - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ = {} ) VULKAN_HPP_NOEXCEPT - : vulkanMemoryModel( vulkanMemoryModel_ ) - , vulkanMemoryModelDeviceScope( vulkanMemoryModelDeviceScope_ ) - , vulkanMemoryModelAvailabilityVisibilityChains( vulkanMemoryModelAvailabilityVisibilityChains_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkanMemoryModelFeatures( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkanMemoryModelFeatures( VkPhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceVulkanMemoryModelFeatures( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkanMemoryModelFeatures & - operator=( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceVulkanMemoryModelFeatures & - operator=( VkPhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceVulkanMemoryModelFeatures & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceVulkanMemoryModelFeatures & - setVulkanMemoryModel( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModel = vulkanMemoryModel_; - return *this; - } - - PhysicalDeviceVulkanMemoryModelFeatures & - setVulkanMemoryModelDeviceScope( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope_; - return *this; - } - - PhysicalDeviceVulkanMemoryModelFeatures & setVulkanMemoryModelAvailabilityVisibilityChains( - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ ) VULKAN_HPP_NOEXCEPT - { - vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains_; - return *this; - } - - operator VkPhysicalDeviceVulkanMemoryModelFeatures const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceVulkanMemoryModelFeatures &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceVulkanMemoryModelFeatures const & ) const = default; -#else - bool operator==( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( vulkanMemoryModel == rhs.vulkanMemoryModel ) && - ( vulkanMemoryModelDeviceScope == rhs.vulkanMemoryModelDeviceScope ) && - ( vulkanMemoryModelAvailabilityVisibilityChains == rhs.vulkanMemoryModelAvailabilityVisibilityChains ); - } - - bool operator!=( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkanMemoryModelFeatures; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope = {}; - VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains = {}; - }; - static_assert( sizeof( PhysicalDeviceVulkanMemoryModelFeatures ) == - sizeof( VkPhysicalDeviceVulkanMemoryModelFeatures ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceVulkanMemoryModelFeatures; - }; - using PhysicalDeviceVulkanMemoryModelFeaturesKHR = PhysicalDeviceVulkanMemoryModelFeatures; - - struct PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayoutScalarBlockLayout_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout8BitAccess_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout16BitAccess_ = {} ) VULKAN_HPP_NOEXCEPT - : workgroupMemoryExplicitLayout( workgroupMemoryExplicitLayout_ ) - , workgroupMemoryExplicitLayoutScalarBlockLayout( workgroupMemoryExplicitLayoutScalarBlockLayout_ ) - , workgroupMemoryExplicitLayout8BitAccess( workgroupMemoryExplicitLayout8BitAccess_ ) - , workgroupMemoryExplicitLayout16BitAccess( workgroupMemoryExplicitLayout16BitAccess_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR( - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR( - VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & - operator=( PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & - operator=( VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & setWorkgroupMemoryExplicitLayout( - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout_ ) VULKAN_HPP_NOEXCEPT - { - workgroupMemoryExplicitLayout = workgroupMemoryExplicitLayout_; - return *this; - } - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & setWorkgroupMemoryExplicitLayoutScalarBlockLayout( - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayoutScalarBlockLayout_ ) VULKAN_HPP_NOEXCEPT - { - workgroupMemoryExplicitLayoutScalarBlockLayout = workgroupMemoryExplicitLayoutScalarBlockLayout_; - return *this; - } - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & setWorkgroupMemoryExplicitLayout8BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout8BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - workgroupMemoryExplicitLayout8BitAccess = workgroupMemoryExplicitLayout8BitAccess_; - return *this; - } - - PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR & setWorkgroupMemoryExplicitLayout16BitAccess( - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout16BitAccess_ ) VULKAN_HPP_NOEXCEPT - { - workgroupMemoryExplicitLayout16BitAccess = workgroupMemoryExplicitLayout16BitAccess_; - return *this; - } - - operator VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( workgroupMemoryExplicitLayout == rhs.workgroupMemoryExplicitLayout ) && - ( workgroupMemoryExplicitLayoutScalarBlockLayout == rhs.workgroupMemoryExplicitLayoutScalarBlockLayout ) && - ( workgroupMemoryExplicitLayout8BitAccess == rhs.workgroupMemoryExplicitLayout8BitAccess ) && - ( workgroupMemoryExplicitLayout16BitAccess == rhs.workgroupMemoryExplicitLayout16BitAccess ); - } - - bool operator!=( PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout = {}; - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayoutScalarBlockLayout = {}; - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout8BitAccess = {}; - VULKAN_HPP_NAMESPACE::Bool32 workgroupMemoryExplicitLayout16BitAccess = {}; - }; - static_assert( sizeof( PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR ) == - sizeof( VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; - }; - - struct PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 ycbcr2plane444Formats_ = {} ) VULKAN_HPP_NOEXCEPT - : ycbcr2plane444Formats( ycbcr2plane444Formats_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT( - PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT( VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT & - operator=( PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT & - operator=( VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT & - setYcbcr2plane444Formats( VULKAN_HPP_NAMESPACE::Bool32 ycbcr2plane444Formats_ ) VULKAN_HPP_NOEXCEPT - { - ycbcr2plane444Formats = ycbcr2plane444Formats_; - return *this; - } - - operator VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( ycbcr2plane444Formats == rhs.ycbcr2plane444Formats ); - } - - bool operator!=( PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 ycbcr2plane444Formats = {}; - }; - static_assert( sizeof( PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT ) == - sizeof( VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT; - }; - - struct PhysicalDeviceYcbcrImageArraysFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcrImageArraysFeaturesEXT( - VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays_ = {} ) VULKAN_HPP_NOEXCEPT : ycbcrImageArrays( ycbcrImageArrays_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcrImageArraysFeaturesEXT( - PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceYcbcrImageArraysFeaturesEXT( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PhysicalDeviceYcbcrImageArraysFeaturesEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceYcbcrImageArraysFeaturesEXT & - operator=( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceYcbcrImageArraysFeaturesEXT & - operator=( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceYcbcrImageArraysFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceYcbcrImageArraysFeaturesEXT & - setYcbcrImageArrays( VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays_ ) VULKAN_HPP_NOEXCEPT - { - ycbcrImageArrays = ycbcrImageArrays_; - return *this; - } - - operator VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceYcbcrImageArraysFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & ) const = default; -#else - bool operator==( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( ycbcrImageArrays == rhs.ycbcrImageArrays ); - } - - bool operator!=( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays = {}; - }; - static_assert( sizeof( PhysicalDeviceYcbcrImageArraysFeaturesEXT ) == - sizeof( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceYcbcrImageArraysFeaturesEXT; - }; - - struct PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR( - VULKAN_HPP_NAMESPACE::Bool32 shaderZeroInitializeWorkgroupMemory_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderZeroInitializeWorkgroupMemory( shaderZeroInitializeWorkgroupMemory_ ) - {} - - VULKAN_HPP_CONSTEXPR PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR( - PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR( - VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR & - operator=( PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR & - operator=( VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR & setShaderZeroInitializeWorkgroupMemory( - VULKAN_HPP_NAMESPACE::Bool32 shaderZeroInitializeWorkgroupMemory_ ) VULKAN_HPP_NOEXCEPT - { - shaderZeroInitializeWorkgroupMemory = shaderZeroInitializeWorkgroupMemory_; - return *this; - } - - operator VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & ) const = default; -#else - bool operator==( PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shaderZeroInitializeWorkgroupMemory == rhs.shaderZeroInitializeWorkgroupMemory ); - } - - bool operator!=( PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shaderZeroInitializeWorkgroupMemory = {}; - }; - static_assert( sizeof( PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR ) == - sizeof( VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR; - }; - - struct PipelineColorBlendAdvancedStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineColorBlendAdvancedStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied_ = {}, - VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap_ = VULKAN_HPP_NAMESPACE::BlendOverlapEXT::eUncorrelated ) - VULKAN_HPP_NOEXCEPT - : srcPremultiplied( srcPremultiplied_ ) - , dstPremultiplied( dstPremultiplied_ ) - , blendOverlap( blendOverlap_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineColorBlendAdvancedStateCreateInfoEXT( - PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendAdvancedStateCreateInfoEXT( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineColorBlendAdvancedStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendAdvancedStateCreateInfoEXT & - operator=( PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorBlendAdvancedStateCreateInfoEXT & - operator=( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineColorBlendAdvancedStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineColorBlendAdvancedStateCreateInfoEXT & - setSrcPremultiplied( VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied_ ) VULKAN_HPP_NOEXCEPT - { - srcPremultiplied = srcPremultiplied_; - return *this; - } - - PipelineColorBlendAdvancedStateCreateInfoEXT & - setDstPremultiplied( VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied_ ) VULKAN_HPP_NOEXCEPT - { - dstPremultiplied = dstPremultiplied_; - return *this; - } - - PipelineColorBlendAdvancedStateCreateInfoEXT & - setBlendOverlap( VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap_ ) VULKAN_HPP_NOEXCEPT - { - blendOverlap = blendOverlap_; - return *this; - } - - operator VkPipelineColorBlendAdvancedStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineColorBlendAdvancedStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineColorBlendAdvancedStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( srcPremultiplied == rhs.srcPremultiplied ) && - ( dstPremultiplied == rhs.dstPremultiplied ) && ( blendOverlap == rhs.blendOverlap ); - } - - bool operator!=( PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied = {}; - VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied = {}; - VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap = VULKAN_HPP_NAMESPACE::BlendOverlapEXT::eUncorrelated; - }; - static_assert( sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) == - sizeof( VkPipelineColorBlendAdvancedStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineColorBlendAdvancedStateCreateInfoEXT; - }; - - struct PipelineColorWriteCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineColorWriteCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineColorWriteCreateInfoEXT( - uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::Bool32 * pColorWriteEnables_ = {} ) VULKAN_HPP_NOEXCEPT - : attachmentCount( attachmentCount_ ) - , pColorWriteEnables( pColorWriteEnables_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineColorWriteCreateInfoEXT( PipelineColorWriteCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorWriteCreateInfoEXT( VkPipelineColorWriteCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineColorWriteCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineColorWriteCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorWriteEnables_ ) - : attachmentCount( static_cast( colorWriteEnables_.size() ) ) - , pColorWriteEnables( colorWriteEnables_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineColorWriteCreateInfoEXT & - operator=( PipelineColorWriteCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineColorWriteCreateInfoEXT & operator=( VkPipelineColorWriteCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineColorWriteCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineColorWriteCreateInfoEXT & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - PipelineColorWriteCreateInfoEXT & - setPColorWriteEnables( const VULKAN_HPP_NAMESPACE::Bool32 * pColorWriteEnables_ ) VULKAN_HPP_NOEXCEPT - { - pColorWriteEnables = pColorWriteEnables_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineColorWriteCreateInfoEXT & setColorWriteEnables( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorWriteEnables_ ) - VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( colorWriteEnables_.size() ); - pColorWriteEnables = colorWriteEnables_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineColorWriteCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineColorWriteCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineColorWriteCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineColorWriteCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( attachmentCount == rhs.attachmentCount ) && - ( pColorWriteEnables == rhs.pColorWriteEnables ); - } - - bool operator!=( PipelineColorWriteCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineColorWriteCreateInfoEXT; - const void * pNext = {}; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::Bool32 * pColorWriteEnables = {}; - }; - static_assert( sizeof( PipelineColorWriteCreateInfoEXT ) == sizeof( VkPipelineColorWriteCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineColorWriteCreateInfoEXT; - }; - - struct PipelineCompilerControlCreateInfoAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineCompilerControlCreateInfoAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCompilerControlCreateInfoAMD( - VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags_ = {} ) VULKAN_HPP_NOEXCEPT - : compilerControlFlags( compilerControlFlags_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCompilerControlCreateInfoAMD( PipelineCompilerControlCreateInfoAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineCompilerControlCreateInfoAMD( VkPipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineCompilerControlCreateInfoAMD( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCompilerControlCreateInfoAMD & - operator=( PipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCompilerControlCreateInfoAMD & - operator=( VkPipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCompilerControlCreateInfoAMD & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCompilerControlCreateInfoAMD & setCompilerControlFlags( - VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags_ ) VULKAN_HPP_NOEXCEPT - { - compilerControlFlags = compilerControlFlags_; - return *this; - } - - operator VkPipelineCompilerControlCreateInfoAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCompilerControlCreateInfoAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCompilerControlCreateInfoAMD const & ) const = default; -#else - bool operator==( PipelineCompilerControlCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( compilerControlFlags == rhs.compilerControlFlags ); - } - - bool operator!=( PipelineCompilerControlCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCompilerControlCreateInfoAMD; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags = {}; - }; - static_assert( sizeof( PipelineCompilerControlCreateInfoAMD ) == sizeof( VkPipelineCompilerControlCreateInfoAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCompilerControlCreateInfoAMD; - }; - - struct PipelineCoverageModulationStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineCoverageModulationStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCoverageModulationStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_ = {}, - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_ = - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV::eNone, - VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_ = {}, - uint32_t coverageModulationTableCount_ = {}, - const float * pCoverageModulationTable_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , coverageModulationMode( coverageModulationMode_ ) - , coverageModulationTableEnable( coverageModulationTableEnable_ ) - , coverageModulationTableCount( coverageModulationTableCount_ ) - , pCoverageModulationTable( pCoverageModulationTable_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCoverageModulationStateCreateInfoNV( - PipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageModulationStateCreateInfoNV( VkPipelineCoverageModulationStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineCoverageModulationStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineCoverageModulationStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_, - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_, - VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & coverageModulationTable_ ) - : flags( flags_ ) - , coverageModulationMode( coverageModulationMode_ ) - , coverageModulationTableEnable( coverageModulationTableEnable_ ) - , coverageModulationTableCount( static_cast( coverageModulationTable_.size() ) ) - , pCoverageModulationTable( coverageModulationTable_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCoverageModulationStateCreateInfoNV & - operator=( PipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageModulationStateCreateInfoNV & - operator=( VkPipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationMode( - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_ ) VULKAN_HPP_NOEXCEPT - { - coverageModulationMode = coverageModulationMode_; - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationTableEnable( - VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_ ) VULKAN_HPP_NOEXCEPT - { - coverageModulationTableEnable = coverageModulationTableEnable_; - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & - setCoverageModulationTableCount( uint32_t coverageModulationTableCount_ ) VULKAN_HPP_NOEXCEPT - { - coverageModulationTableCount = coverageModulationTableCount_; - return *this; - } - - PipelineCoverageModulationStateCreateInfoNV & - setPCoverageModulationTable( const float * pCoverageModulationTable_ ) VULKAN_HPP_NOEXCEPT - { - pCoverageModulationTable = pCoverageModulationTable_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationTable( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & coverageModulationTable_ ) VULKAN_HPP_NOEXCEPT - { - coverageModulationTableCount = static_cast( coverageModulationTable_.size() ); - pCoverageModulationTable = coverageModulationTable_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineCoverageModulationStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCoverageModulationStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCoverageModulationStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineCoverageModulationStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( coverageModulationMode == rhs.coverageModulationMode ) && - ( coverageModulationTableEnable == rhs.coverageModulationTableEnable ) && - ( coverageModulationTableCount == rhs.coverageModulationTableCount ) && - ( pCoverageModulationTable == rhs.pCoverageModulationTable ); - } - - bool operator!=( PipelineCoverageModulationStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageModulationStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags = {}; - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode = - VULKAN_HPP_NAMESPACE::CoverageModulationModeNV::eNone; - VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable = {}; - uint32_t coverageModulationTableCount = {}; - const float * pCoverageModulationTable = {}; - }; - static_assert( sizeof( PipelineCoverageModulationStateCreateInfoNV ) == - sizeof( VkPipelineCoverageModulationStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCoverageModulationStateCreateInfoNV; - }; - - struct PipelineCoverageReductionStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineCoverageReductionStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCoverageReductionStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags_ = {}, - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ = - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , coverageReductionMode( coverageReductionMode_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCoverageReductionStateCreateInfoNV( - PipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageReductionStateCreateInfoNV( VkPipelineCoverageReductionStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineCoverageReductionStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCoverageReductionStateCreateInfoNV & - operator=( PipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageReductionStateCreateInfoNV & - operator=( VkPipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCoverageReductionStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCoverageReductionStateCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineCoverageReductionStateCreateInfoNV & setCoverageReductionMode( - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ ) VULKAN_HPP_NOEXCEPT - { - coverageReductionMode = coverageReductionMode_; - return *this; - } - - operator VkPipelineCoverageReductionStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCoverageReductionStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCoverageReductionStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineCoverageReductionStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( coverageReductionMode == rhs.coverageReductionMode ); - } - - bool operator!=( PipelineCoverageReductionStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageReductionStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags = {}; - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode = - VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge; - }; - static_assert( sizeof( PipelineCoverageReductionStateCreateInfoNV ) == - sizeof( VkPipelineCoverageReductionStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCoverageReductionStateCreateInfoNV; - }; - - struct PipelineCoverageToColorStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineCoverageToColorStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCoverageToColorStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable_ = {}, - uint32_t coverageToColorLocation_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , coverageToColorEnable( coverageToColorEnable_ ) - , coverageToColorLocation( coverageToColorLocation_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCoverageToColorStateCreateInfoNV( - PipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageToColorStateCreateInfoNV( VkPipelineCoverageToColorStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineCoverageToColorStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCoverageToColorStateCreateInfoNV & - operator=( PipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCoverageToColorStateCreateInfoNV & - operator=( VkPipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCoverageToColorStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCoverageToColorStateCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineCoverageToColorStateCreateInfoNV & - setCoverageToColorEnable( VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable_ ) VULKAN_HPP_NOEXCEPT - { - coverageToColorEnable = coverageToColorEnable_; - return *this; - } - - PipelineCoverageToColorStateCreateInfoNV & - setCoverageToColorLocation( uint32_t coverageToColorLocation_ ) VULKAN_HPP_NOEXCEPT - { - coverageToColorLocation = coverageToColorLocation_; - return *this; - } - - operator VkPipelineCoverageToColorStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCoverageToColorStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCoverageToColorStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineCoverageToColorStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( coverageToColorEnable == rhs.coverageToColorEnable ) && - ( coverageToColorLocation == rhs.coverageToColorLocation ); - } - - bool operator!=( PipelineCoverageToColorStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageToColorStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags = {}; - VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable = {}; - uint32_t coverageToColorLocation = {}; - }; - static_assert( sizeof( PipelineCoverageToColorStateCreateInfoNV ) == - sizeof( VkPipelineCoverageToColorStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCoverageToColorStateCreateInfoNV; - }; - - struct PipelineCreationFeedbackEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PipelineCreationFeedbackEXT( VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagsEXT flags_ = {}, - uint64_t duration_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , duration( duration_ ) - {} - - VULKAN_HPP_CONSTEXPR - PipelineCreationFeedbackEXT( PipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCreationFeedbackEXT( VkPipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineCreationFeedbackEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCreationFeedbackEXT & - operator=( PipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCreationFeedbackEXT & operator=( VkPipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPipelineCreationFeedbackEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCreationFeedbackEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCreationFeedbackEXT const & ) const = default; -#else - bool operator==( PipelineCreationFeedbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( flags == rhs.flags ) && ( duration == rhs.duration ); - } - - bool operator!=( PipelineCreationFeedbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagsEXT flags = {}; - uint64_t duration = {}; - }; - static_assert( sizeof( PipelineCreationFeedbackEXT ) == sizeof( VkPipelineCreationFeedbackEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PipelineCreationFeedbackCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineCreationFeedbackCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineCreationFeedback_ = {}, - uint32_t pipelineStageCreationFeedbackCount_ = {}, - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineStageCreationFeedbacks_ = {} ) VULKAN_HPP_NOEXCEPT - : pPipelineCreationFeedback( pPipelineCreationFeedback_ ) - , pipelineStageCreationFeedbackCount( pipelineStageCreationFeedbackCount_ ) - , pPipelineStageCreationFeedbacks( pPipelineStageCreationFeedbacks_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackCreateInfoEXT( PipelineCreationFeedbackCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - PipelineCreationFeedbackCreateInfoEXT( VkPipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineCreationFeedbackCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineCreationFeedbackCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineCreationFeedback_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - pipelineStageCreationFeedbacks_ ) - : pPipelineCreationFeedback( pPipelineCreationFeedback_ ) - , pipelineStageCreationFeedbackCount( static_cast( pipelineStageCreationFeedbacks_.size() ) ) - , pPipelineStageCreationFeedbacks( pipelineStageCreationFeedbacks_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineCreationFeedbackCreateInfoEXT & - operator=( PipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineCreationFeedbackCreateInfoEXT & - operator=( VkPipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineCreationFeedbackCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineCreationFeedbackCreateInfoEXT & setPPipelineCreationFeedback( - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineCreationFeedback_ ) VULKAN_HPP_NOEXCEPT - { - pPipelineCreationFeedback = pPipelineCreationFeedback_; - return *this; - } - - PipelineCreationFeedbackCreateInfoEXT & - setPipelineStageCreationFeedbackCount( uint32_t pipelineStageCreationFeedbackCount_ ) VULKAN_HPP_NOEXCEPT - { - pipelineStageCreationFeedbackCount = pipelineStageCreationFeedbackCount_; - return *this; - } - - PipelineCreationFeedbackCreateInfoEXT & setPPipelineStageCreationFeedbacks( - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineStageCreationFeedbacks_ ) VULKAN_HPP_NOEXCEPT - { - pPipelineStageCreationFeedbacks = pPipelineStageCreationFeedbacks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineCreationFeedbackCreateInfoEXT & setPipelineStageCreationFeedbacks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - pipelineStageCreationFeedbacks_ ) VULKAN_HPP_NOEXCEPT - { - pipelineStageCreationFeedbackCount = static_cast( pipelineStageCreationFeedbacks_.size() ); - pPipelineStageCreationFeedbacks = pipelineStageCreationFeedbacks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineCreationFeedbackCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineCreationFeedbackCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineCreationFeedbackCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineCreationFeedbackCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( pPipelineCreationFeedback == rhs.pPipelineCreationFeedback ) && - ( pipelineStageCreationFeedbackCount == rhs.pipelineStageCreationFeedbackCount ) && - ( pPipelineStageCreationFeedbacks == rhs.pPipelineStageCreationFeedbacks ); - } - - bool operator!=( PipelineCreationFeedbackCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCreationFeedbackCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineCreationFeedback = {}; - uint32_t pipelineStageCreationFeedbackCount = {}; - VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT * pPipelineStageCreationFeedbacks = {}; - }; - static_assert( sizeof( PipelineCreationFeedbackCreateInfoEXT ) == sizeof( VkPipelineCreationFeedbackCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineCreationFeedbackCreateInfoEXT; - }; - - struct PipelineDiscardRectangleStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineDiscardRectangleStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineDiscardRectangleStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_ = - VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT::eInclusive, - uint32_t discardRectangleCount_ = {}, - const VULKAN_HPP_NAMESPACE::Rect2D * pDiscardRectangles_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , discardRectangleMode( discardRectangleMode_ ) - , discardRectangleCount( discardRectangleCount_ ) - , pDiscardRectangles( pDiscardRectangles_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineDiscardRectangleStateCreateInfoEXT( - PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineDiscardRectangleStateCreateInfoEXT( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineDiscardRectangleStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineDiscardRectangleStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_, - VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & discardRectangles_ ) - : flags( flags_ ) - , discardRectangleMode( discardRectangleMode_ ) - , discardRectangleCount( static_cast( discardRectangles_.size() ) ) - , pDiscardRectangles( discardRectangles_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineDiscardRectangleStateCreateInfoEXT & - operator=( PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineDiscardRectangleStateCreateInfoEXT & - operator=( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineDiscardRectangleStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineDiscardRectangleStateCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineDiscardRectangleStateCreateInfoEXT & - setDiscardRectangleMode( VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_ ) VULKAN_HPP_NOEXCEPT - { - discardRectangleMode = discardRectangleMode_; - return *this; - } - - PipelineDiscardRectangleStateCreateInfoEXT & - setDiscardRectangleCount( uint32_t discardRectangleCount_ ) VULKAN_HPP_NOEXCEPT - { - discardRectangleCount = discardRectangleCount_; - return *this; - } - - PipelineDiscardRectangleStateCreateInfoEXT & - setPDiscardRectangles( const VULKAN_HPP_NAMESPACE::Rect2D * pDiscardRectangles_ ) VULKAN_HPP_NOEXCEPT - { - pDiscardRectangles = pDiscardRectangles_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineDiscardRectangleStateCreateInfoEXT & setDiscardRectangles( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & discardRectangles_ ) - VULKAN_HPP_NOEXCEPT - { - discardRectangleCount = static_cast( discardRectangles_.size() ); - pDiscardRectangles = discardRectangles_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineDiscardRectangleStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineDiscardRectangleStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineDiscardRectangleStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( discardRectangleMode == rhs.discardRectangleMode ) && - ( discardRectangleCount == rhs.discardRectangleCount ) && ( pDiscardRectangles == rhs.pDiscardRectangles ); - } - - bool operator!=( PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDiscardRectangleStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode = - VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT::eInclusive; - uint32_t discardRectangleCount = {}; - const VULKAN_HPP_NAMESPACE::Rect2D * pDiscardRectangles = {}; - }; - static_assert( sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) == - sizeof( VkPipelineDiscardRectangleStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineDiscardRectangleStateCreateInfoEXT; - }; - - struct PipelineFragmentShadingRateEnumStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateEnumStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType_ = - VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV::eFragmentSize, - VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate_ = - VULKAN_HPP_NAMESPACE::FragmentShadingRateNV::e1InvocationPerPixel, - std::array const & - combinerOps_ = { { VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep, - VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep } } ) VULKAN_HPP_NOEXCEPT - : shadingRateType( shadingRateType_ ) - , shadingRate( shadingRate_ ) - , combinerOps( combinerOps_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateEnumStateCreateInfoNV( - PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineFragmentShadingRateEnumStateCreateInfoNV( VkPipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineFragmentShadingRateEnumStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateEnumStateCreateInfoNV & - operator=( PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineFragmentShadingRateEnumStateCreateInfoNV & - operator=( VkPipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineFragmentShadingRateEnumStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineFragmentShadingRateEnumStateCreateInfoNV & - setShadingRateType( VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType_ ) VULKAN_HPP_NOEXCEPT - { - shadingRateType = shadingRateType_; - return *this; - } - - PipelineFragmentShadingRateEnumStateCreateInfoNV & - setShadingRate( VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate_ ) VULKAN_HPP_NOEXCEPT - { - shadingRate = shadingRate_; - return *this; - } - - PipelineFragmentShadingRateEnumStateCreateInfoNV & setCombinerOps( - std::array combinerOps_ ) VULKAN_HPP_NOEXCEPT - { - combinerOps = combinerOps_; - return *this; - } - - operator VkPipelineFragmentShadingRateEnumStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineFragmentShadingRateEnumStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineFragmentShadingRateEnumStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( shadingRateType == rhs.shadingRateType ) && - ( shadingRate == rhs.shadingRate ) && ( combinerOps == rhs.combinerOps ); - } - - bool operator!=( PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType = - VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV::eFragmentSize; - VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate = - VULKAN_HPP_NAMESPACE::FragmentShadingRateNV::e1InvocationPerPixel; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D combinerOps = {}; - }; - static_assert( sizeof( PipelineFragmentShadingRateEnumStateCreateInfoNV ) == - sizeof( VkPipelineFragmentShadingRateEnumStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineFragmentShadingRateEnumStateCreateInfoNV; - }; - - struct PipelineFragmentShadingRateStateCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateStateCreateInfoKHR( - VULKAN_HPP_NAMESPACE::Extent2D fragmentSize_ = {}, - std::array const & - combinerOps_ = { { VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep, - VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep } } ) VULKAN_HPP_NOEXCEPT - : fragmentSize( fragmentSize_ ) - , combinerOps( combinerOps_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateStateCreateInfoKHR( - PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineFragmentShadingRateStateCreateInfoKHR( VkPipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineFragmentShadingRateStateCreateInfoKHR( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateStateCreateInfoKHR & - operator=( PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineFragmentShadingRateStateCreateInfoKHR & - operator=( VkPipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineFragmentShadingRateStateCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineFragmentShadingRateStateCreateInfoKHR & - setFragmentSize( VULKAN_HPP_NAMESPACE::Extent2D const & fragmentSize_ ) VULKAN_HPP_NOEXCEPT - { - fragmentSize = fragmentSize_; - return *this; - } - - PipelineFragmentShadingRateStateCreateInfoKHR & setCombinerOps( - std::array combinerOps_ ) VULKAN_HPP_NOEXCEPT - { - combinerOps = combinerOps_; - return *this; - } - - operator VkPipelineFragmentShadingRateStateCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineFragmentShadingRateStateCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineFragmentShadingRateStateCreateInfoKHR const & ) const = default; -#else - bool operator==( PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fragmentSize == rhs.fragmentSize ) && - ( combinerOps == rhs.combinerOps ); - } - - bool operator!=( PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Extent2D fragmentSize = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D combinerOps = {}; - }; - static_assert( sizeof( PipelineFragmentShadingRateStateCreateInfoKHR ) == - sizeof( VkPipelineFragmentShadingRateStateCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineFragmentShadingRateStateCreateInfoKHR; - }; - - struct PipelineRasterizationConservativeStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationConservativeStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode_ = - VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT::eDisabled, - float extraPrimitiveOverestimationSize_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , conservativeRasterizationMode( conservativeRasterizationMode_ ) - , extraPrimitiveOverestimationSize( extraPrimitiveOverestimationSize_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationConservativeStateCreateInfoEXT( - PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationConservativeStateCreateInfoEXT( - VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineRasterizationConservativeStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationConservativeStateCreateInfoEXT & - operator=( PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationConservativeStateCreateInfoEXT & - operator=( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationConservativeStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationConservativeStateCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineRasterizationConservativeStateCreateInfoEXT & setConservativeRasterizationMode( - VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode_ ) VULKAN_HPP_NOEXCEPT - { - conservativeRasterizationMode = conservativeRasterizationMode_; - return *this; - } - - PipelineRasterizationConservativeStateCreateInfoEXT & - setExtraPrimitiveOverestimationSize( float extraPrimitiveOverestimationSize_ ) VULKAN_HPP_NOEXCEPT - { - extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize_; - return *this; - } - - operator VkPipelineRasterizationConservativeStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationConservativeStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationConservativeStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( conservativeRasterizationMode == rhs.conservativeRasterizationMode ) && - ( extraPrimitiveOverestimationSize == rhs.extraPrimitiveOverestimationSize ); - } - - bool operator!=( PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode = - VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT::eDisabled; - float extraPrimitiveOverestimationSize = {}; - }; - static_assert( sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) == - sizeof( VkPipelineRasterizationConservativeStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationConservativeStateCreateInfoEXT; - }; - - struct PipelineRasterizationDepthClipStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationDepthClipStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , depthClipEnable( depthClipEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationDepthClipStateCreateInfoEXT( - PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationDepthClipStateCreateInfoEXT( VkPipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineRasterizationDepthClipStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationDepthClipStateCreateInfoEXT & - operator=( PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationDepthClipStateCreateInfoEXT & - operator=( VkPipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationDepthClipStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationDepthClipStateCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineRasterizationDepthClipStateCreateInfoEXT & - setDepthClipEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ ) VULKAN_HPP_NOEXCEPT - { - depthClipEnable = depthClipEnable_; - return *this; - } - - operator VkPipelineRasterizationDepthClipStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationDepthClipStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationDepthClipStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( depthClipEnable == rhs.depthClipEnable ); - } - - bool operator!=( PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable = {}; - }; - static_assert( sizeof( PipelineRasterizationDepthClipStateCreateInfoEXT ) == - sizeof( VkPipelineRasterizationDepthClipStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationDepthClipStateCreateInfoEXT; - }; - - struct PipelineRasterizationLineStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationLineStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationLineStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode_ = - VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT::eDefault, - VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable_ = {}, - uint32_t lineStippleFactor_ = {}, - uint16_t lineStipplePattern_ = {} ) VULKAN_HPP_NOEXCEPT - : lineRasterizationMode( lineRasterizationMode_ ) - , stippledLineEnable( stippledLineEnable_ ) - , lineStippleFactor( lineStippleFactor_ ) - , lineStipplePattern( lineStipplePattern_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationLineStateCreateInfoEXT( - PipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationLineStateCreateInfoEXT( VkPipelineRasterizationLineStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineRasterizationLineStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationLineStateCreateInfoEXT & - operator=( PipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationLineStateCreateInfoEXT & - operator=( VkPipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationLineStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationLineStateCreateInfoEXT & setLineRasterizationMode( - VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode_ ) VULKAN_HPP_NOEXCEPT - { - lineRasterizationMode = lineRasterizationMode_; - return *this; - } - - PipelineRasterizationLineStateCreateInfoEXT & - setStippledLineEnable( VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable_ ) VULKAN_HPP_NOEXCEPT - { - stippledLineEnable = stippledLineEnable_; - return *this; - } - - PipelineRasterizationLineStateCreateInfoEXT & - setLineStippleFactor( uint32_t lineStippleFactor_ ) VULKAN_HPP_NOEXCEPT - { - lineStippleFactor = lineStippleFactor_; - return *this; - } - - PipelineRasterizationLineStateCreateInfoEXT & - setLineStipplePattern( uint16_t lineStipplePattern_ ) VULKAN_HPP_NOEXCEPT - { - lineStipplePattern = lineStipplePattern_; - return *this; - } - - operator VkPipelineRasterizationLineStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationLineStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationLineStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineRasterizationLineStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( lineRasterizationMode == rhs.lineRasterizationMode ) && - ( stippledLineEnable == rhs.stippledLineEnable ) && ( lineStippleFactor == rhs.lineStippleFactor ) && - ( lineStipplePattern == rhs.lineStipplePattern ); - } - - bool operator!=( PipelineRasterizationLineStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationLineStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode = - VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT::eDefault; - VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable = {}; - uint32_t lineStippleFactor = {}; - uint16_t lineStipplePattern = {}; - }; - static_assert( sizeof( PipelineRasterizationLineStateCreateInfoEXT ) == - sizeof( VkPipelineRasterizationLineStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationLineStateCreateInfoEXT; - }; - - struct PipelineRasterizationProvokingVertexStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationProvokingVertexStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationProvokingVertexStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ProvokingVertexModeEXT provokingVertexMode_ = - VULKAN_HPP_NAMESPACE::ProvokingVertexModeEXT::eFirstVertex ) VULKAN_HPP_NOEXCEPT - : provokingVertexMode( provokingVertexMode_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationProvokingVertexStateCreateInfoEXT( - PipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationProvokingVertexStateCreateInfoEXT( - VkPipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineRasterizationProvokingVertexStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationProvokingVertexStateCreateInfoEXT & - operator=( PipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationProvokingVertexStateCreateInfoEXT & - operator=( VkPipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationProvokingVertexStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationProvokingVertexStateCreateInfoEXT & - setProvokingVertexMode( VULKAN_HPP_NAMESPACE::ProvokingVertexModeEXT provokingVertexMode_ ) VULKAN_HPP_NOEXCEPT - { - provokingVertexMode = provokingVertexMode_; - return *this; - } - - operator VkPipelineRasterizationProvokingVertexStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationProvokingVertexStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationProvokingVertexStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( provokingVertexMode == rhs.provokingVertexMode ); - } - - bool operator!=( PipelineRasterizationProvokingVertexStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationProvokingVertexStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ProvokingVertexModeEXT provokingVertexMode = - VULKAN_HPP_NAMESPACE::ProvokingVertexModeEXT::eFirstVertex; - }; - static_assert( sizeof( PipelineRasterizationProvokingVertexStateCreateInfoEXT ) == - sizeof( VkPipelineRasterizationProvokingVertexStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationProvokingVertexStateCreateInfoEXT; - }; - - struct PipelineRasterizationStateRasterizationOrderAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationStateRasterizationOrderAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateRasterizationOrderAMD( - VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder_ = - VULKAN_HPP_NAMESPACE::RasterizationOrderAMD::eStrict ) VULKAN_HPP_NOEXCEPT - : rasterizationOrder( rasterizationOrder_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateRasterizationOrderAMD( - PipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateRasterizationOrderAMD( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineRasterizationStateRasterizationOrderAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationStateRasterizationOrderAMD & - operator=( PipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateRasterizationOrderAMD & - operator=( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationStateRasterizationOrderAMD & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationStateRasterizationOrderAMD & - setRasterizationOrder( VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder_ ) VULKAN_HPP_NOEXCEPT - { - rasterizationOrder = rasterizationOrder_; - return *this; - } - - operator VkPipelineRasterizationStateRasterizationOrderAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationStateRasterizationOrderAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationStateRasterizationOrderAMD const & ) const = default; -#else - bool operator==( PipelineRasterizationStateRasterizationOrderAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( rasterizationOrder == rhs.rasterizationOrder ); - } - - bool operator!=( PipelineRasterizationStateRasterizationOrderAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateRasterizationOrderAMD; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder = - VULKAN_HPP_NAMESPACE::RasterizationOrderAMD::eStrict; - }; - static_assert( sizeof( PipelineRasterizationStateRasterizationOrderAMD ) == - sizeof( VkPipelineRasterizationStateRasterizationOrderAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationStateRasterizationOrderAMD; - }; - - struct PipelineRasterizationStateStreamCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRasterizationStateStreamCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateStreamCreateInfoEXT( - VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags_ = {}, - uint32_t rasterizationStream_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , rasterizationStream( rasterizationStream_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRasterizationStateStreamCreateInfoEXT( - PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateStreamCreateInfoEXT( VkPipelineRasterizationStateStreamCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineRasterizationStateStreamCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRasterizationStateStreamCreateInfoEXT & - operator=( PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRasterizationStateStreamCreateInfoEXT & - operator=( VkPipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRasterizationStateStreamCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRasterizationStateStreamCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineRasterizationStateStreamCreateInfoEXT & - setRasterizationStream( uint32_t rasterizationStream_ ) VULKAN_HPP_NOEXCEPT - { - rasterizationStream = rasterizationStream_; - return *this; - } - - operator VkPipelineRasterizationStateStreamCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRasterizationStateStreamCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRasterizationStateStreamCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( rasterizationStream == rhs.rasterizationStream ); - } - - bool operator!=( PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateStreamCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags = {}; - uint32_t rasterizationStream = {}; - }; - static_assert( sizeof( PipelineRasterizationStateStreamCreateInfoEXT ) == - sizeof( VkPipelineRasterizationStateStreamCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRasterizationStateStreamCreateInfoEXT; - }; - - struct PipelineRepresentativeFragmentTestStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineRepresentativeFragmentTestStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable_ = {} ) VULKAN_HPP_NOEXCEPT - : representativeFragmentTestEnable( representativeFragmentTestEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineRepresentativeFragmentTestStateCreateInfoNV( - PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRepresentativeFragmentTestStateCreateInfoNV( - VkPipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineRepresentativeFragmentTestStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineRepresentativeFragmentTestStateCreateInfoNV & - operator=( PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineRepresentativeFragmentTestStateCreateInfoNV & - operator=( VkPipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineRepresentativeFragmentTestStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineRepresentativeFragmentTestStateCreateInfoNV & setRepresentativeFragmentTestEnable( - VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable_ ) VULKAN_HPP_NOEXCEPT - { - representativeFragmentTestEnable = representativeFragmentTestEnable_; - return *this; - } - - operator VkPipelineRepresentativeFragmentTestStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineRepresentativeFragmentTestStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineRepresentativeFragmentTestStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( representativeFragmentTestEnable == rhs.representativeFragmentTestEnable ); - } - - bool operator!=( PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable = {}; - }; - static_assert( sizeof( PipelineRepresentativeFragmentTestStateCreateInfoNV ) == - sizeof( VkPipelineRepresentativeFragmentTestStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineRepresentativeFragmentTestStateCreateInfoNV; - }; - - struct PipelineSampleLocationsStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineSampleLocationsStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineSampleLocationsStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable_ = {}, - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : sampleLocationsEnable( sampleLocationsEnable_ ) - , sampleLocationsInfo( sampleLocationsInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineSampleLocationsStateCreateInfoEXT( - PipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineSampleLocationsStateCreateInfoEXT( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineSampleLocationsStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineSampleLocationsStateCreateInfoEXT & - operator=( PipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineSampleLocationsStateCreateInfoEXT & - operator=( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineSampleLocationsStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineSampleLocationsStateCreateInfoEXT & - setSampleLocationsEnable( VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsEnable = sampleLocationsEnable_; - return *this; - } - - PipelineSampleLocationsStateCreateInfoEXT & setSampleLocationsInfo( - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsInfo = sampleLocationsInfo_; - return *this; - } - - operator VkPipelineSampleLocationsStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineSampleLocationsStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineSampleLocationsStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineSampleLocationsStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( sampleLocationsEnable == rhs.sampleLocationsEnable ) && - ( sampleLocationsInfo == rhs.sampleLocationsInfo ); - } - - bool operator!=( PipelineSampleLocationsStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable = {}; - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; - }; - static_assert( sizeof( PipelineSampleLocationsStateCreateInfoEXT ) == - sizeof( VkPipelineSampleLocationsStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineSampleLocationsStateCreateInfoEXT; - }; - - struct PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( uint32_t requiredSubgroupSize_ = {} ) VULKAN_HPP_NOEXCEPT - : requiredSubgroupSize( requiredSubgroupSize_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( - PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( - VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT & - operator=( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT & - operator=( VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - operator VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( requiredSubgroupSize == rhs.requiredSubgroupSize ); - } - - bool operator!=( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; - void * pNext = {}; - uint32_t requiredSubgroupSize = {}; - }; - static_assert( sizeof( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT ) == - sizeof( VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; - }; - - struct PipelineTessellationDomainOriginStateCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineTessellationDomainOriginStateCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineTessellationDomainOriginStateCreateInfo( - VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin_ = - VULKAN_HPP_NAMESPACE::TessellationDomainOrigin::eUpperLeft ) VULKAN_HPP_NOEXCEPT : domainOrigin( domainOrigin_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineTessellationDomainOriginStateCreateInfo( - PipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineTessellationDomainOriginStateCreateInfo( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineTessellationDomainOriginStateCreateInfo( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineTessellationDomainOriginStateCreateInfo & - operator=( PipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineTessellationDomainOriginStateCreateInfo & - operator=( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineTessellationDomainOriginStateCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineTessellationDomainOriginStateCreateInfo & - setDomainOrigin( VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin_ ) VULKAN_HPP_NOEXCEPT - { - domainOrigin = domainOrigin_; - return *this; - } - - operator VkPipelineTessellationDomainOriginStateCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineTessellationDomainOriginStateCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineTessellationDomainOriginStateCreateInfo const & ) const = default; -#else - bool operator==( PipelineTessellationDomainOriginStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( domainOrigin == rhs.domainOrigin ); - } - - bool operator!=( PipelineTessellationDomainOriginStateCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineTessellationDomainOriginStateCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin = - VULKAN_HPP_NAMESPACE::TessellationDomainOrigin::eUpperLeft; - }; - static_assert( sizeof( PipelineTessellationDomainOriginStateCreateInfo ) == - sizeof( VkPipelineTessellationDomainOriginStateCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineTessellationDomainOriginStateCreateInfo; - }; - using PipelineTessellationDomainOriginStateCreateInfoKHR = PipelineTessellationDomainOriginStateCreateInfo; - - struct VertexInputBindingDivisorDescriptionEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VertexInputBindingDivisorDescriptionEXT( uint32_t binding_ = {}, - uint32_t divisor_ = {} ) VULKAN_HPP_NOEXCEPT - : binding( binding_ ) - , divisor( divisor_ ) - {} - - VULKAN_HPP_CONSTEXPR VertexInputBindingDivisorDescriptionEXT( VertexInputBindingDivisorDescriptionEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDivisorDescriptionEXT( VkVertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VertexInputBindingDivisorDescriptionEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VertexInputBindingDivisorDescriptionEXT & - operator=( VertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VertexInputBindingDivisorDescriptionEXT & - operator=( VkVertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VertexInputBindingDivisorDescriptionEXT & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT - { - binding = binding_; - return *this; - } - - VertexInputBindingDivisorDescriptionEXT & setDivisor( uint32_t divisor_ ) VULKAN_HPP_NOEXCEPT - { - divisor = divisor_; - return *this; - } - - operator VkVertexInputBindingDivisorDescriptionEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVertexInputBindingDivisorDescriptionEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VertexInputBindingDivisorDescriptionEXT const & ) const = default; -#else - bool operator==( VertexInputBindingDivisorDescriptionEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( binding == rhs.binding ) && ( divisor == rhs.divisor ); - } - - bool operator!=( VertexInputBindingDivisorDescriptionEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t binding = {}; - uint32_t divisor = {}; - }; - static_assert( sizeof( VertexInputBindingDivisorDescriptionEXT ) == - sizeof( VkVertexInputBindingDivisorDescriptionEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct PipelineVertexInputDivisorStateCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineVertexInputDivisorStateCreateInfoEXT( - uint32_t vertexBindingDivisorCount_ = {}, - const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT * pVertexBindingDivisors_ = {} ) - VULKAN_HPP_NOEXCEPT - : vertexBindingDivisorCount( vertexBindingDivisorCount_ ) - , pVertexBindingDivisors( pVertexBindingDivisors_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineVertexInputDivisorStateCreateInfoEXT( - PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineVertexInputDivisorStateCreateInfoEXT( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineVertexInputDivisorStateCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineVertexInputDivisorStateCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT> const & vertexBindingDivisors_ ) - : vertexBindingDivisorCount( static_cast( vertexBindingDivisors_.size() ) ) - , pVertexBindingDivisors( vertexBindingDivisors_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineVertexInputDivisorStateCreateInfoEXT & - operator=( PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineVertexInputDivisorStateCreateInfoEXT & - operator=( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineVertexInputDivisorStateCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineVertexInputDivisorStateCreateInfoEXT & - setVertexBindingDivisorCount( uint32_t vertexBindingDivisorCount_ ) VULKAN_HPP_NOEXCEPT - { - vertexBindingDivisorCount = vertexBindingDivisorCount_; - return *this; - } - - PipelineVertexInputDivisorStateCreateInfoEXT & setPVertexBindingDivisors( - const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT * pVertexBindingDivisors_ ) - VULKAN_HPP_NOEXCEPT - { - pVertexBindingDivisors = pVertexBindingDivisors_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineVertexInputDivisorStateCreateInfoEXT & setVertexBindingDivisors( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< - const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT> const & vertexBindingDivisors_ ) - VULKAN_HPP_NOEXCEPT - { - vertexBindingDivisorCount = static_cast( vertexBindingDivisors_.size() ); - pVertexBindingDivisors = vertexBindingDivisors_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineVertexInputDivisorStateCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineVertexInputDivisorStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineVertexInputDivisorStateCreateInfoEXT const & ) const = default; -#else - bool operator==( PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( vertexBindingDivisorCount == rhs.vertexBindingDivisorCount ) && - ( pVertexBindingDivisors == rhs.pVertexBindingDivisors ); - } - - bool operator!=( PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT; - const void * pNext = {}; - uint32_t vertexBindingDivisorCount = {}; - const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT * pVertexBindingDivisors = {}; - }; - static_assert( sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) == - sizeof( VkPipelineVertexInputDivisorStateCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineVertexInputDivisorStateCreateInfoEXT; - }; - - struct PipelineViewportCoarseSampleOrderStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineViewportCoarseSampleOrderStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_ = - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV::eDefault, - uint32_t customSampleOrderCount_ = {}, - const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV * pCustomSampleOrders_ = {} ) VULKAN_HPP_NOEXCEPT - : sampleOrderType( sampleOrderType_ ) - , customSampleOrderCount( customSampleOrderCount_ ) - , pCustomSampleOrders( pCustomSampleOrders_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineViewportCoarseSampleOrderStateCreateInfoNV( - PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportCoarseSampleOrderStateCreateInfoNV( - VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : PipelineViewportCoarseSampleOrderStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportCoarseSampleOrderStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - customSampleOrders_ ) - : sampleOrderType( sampleOrderType_ ) - , customSampleOrderCount( static_cast( customSampleOrders_.size() ) ) - , pCustomSampleOrders( customSampleOrders_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportCoarseSampleOrderStateCreateInfoNV & - operator=( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportCoarseSampleOrderStateCreateInfoNV & - operator=( VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportCoarseSampleOrderStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportCoarseSampleOrderStateCreateInfoNV & - setSampleOrderType( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_ ) VULKAN_HPP_NOEXCEPT - { - sampleOrderType = sampleOrderType_; - return *this; - } - - PipelineViewportCoarseSampleOrderStateCreateInfoNV & - setCustomSampleOrderCount( uint32_t customSampleOrderCount_ ) VULKAN_HPP_NOEXCEPT - { - customSampleOrderCount = customSampleOrderCount_; - return *this; - } - - PipelineViewportCoarseSampleOrderStateCreateInfoNV & setPCustomSampleOrders( - const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV * pCustomSampleOrders_ ) VULKAN_HPP_NOEXCEPT - { - pCustomSampleOrders = pCustomSampleOrders_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportCoarseSampleOrderStateCreateInfoNV & setCustomSampleOrders( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - customSampleOrders_ ) VULKAN_HPP_NOEXCEPT - { - customSampleOrderCount = static_cast( customSampleOrders_.size() ); - pCustomSampleOrders = customSampleOrders_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportCoarseSampleOrderStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( sampleOrderType == rhs.sampleOrderType ) && - ( customSampleOrderCount == rhs.customSampleOrderCount ) && - ( pCustomSampleOrders == rhs.pCustomSampleOrders ); - } - - bool operator!=( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType = - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV::eDefault; - uint32_t customSampleOrderCount = {}; - const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV * pCustomSampleOrders = {}; - }; - static_assert( sizeof( PipelineViewportCoarseSampleOrderStateCreateInfoNV ) == - sizeof( VkPipelineViewportCoarseSampleOrderStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportCoarseSampleOrderStateCreateInfoNV; - }; - - struct PipelineViewportExclusiveScissorStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineViewportExclusiveScissorStateCreateInfoNV( - uint32_t exclusiveScissorCount_ = {}, - const VULKAN_HPP_NAMESPACE::Rect2D * pExclusiveScissors_ = {} ) VULKAN_HPP_NOEXCEPT - : exclusiveScissorCount( exclusiveScissorCount_ ) - , pExclusiveScissors( pExclusiveScissors_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineViewportExclusiveScissorStateCreateInfoNV( - PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportExclusiveScissorStateCreateInfoNV( VkPipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineViewportExclusiveScissorStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportExclusiveScissorStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & exclusiveScissors_ ) - : exclusiveScissorCount( static_cast( exclusiveScissors_.size() ) ) - , pExclusiveScissors( exclusiveScissors_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportExclusiveScissorStateCreateInfoNV & - operator=( PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportExclusiveScissorStateCreateInfoNV & - operator=( VkPipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportExclusiveScissorStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportExclusiveScissorStateCreateInfoNV & - setExclusiveScissorCount( uint32_t exclusiveScissorCount_ ) VULKAN_HPP_NOEXCEPT - { - exclusiveScissorCount = exclusiveScissorCount_; - return *this; - } - - PipelineViewportExclusiveScissorStateCreateInfoNV & - setPExclusiveScissors( const VULKAN_HPP_NAMESPACE::Rect2D * pExclusiveScissors_ ) VULKAN_HPP_NOEXCEPT - { - pExclusiveScissors = pExclusiveScissors_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportExclusiveScissorStateCreateInfoNV & setExclusiveScissors( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & exclusiveScissors_ ) - VULKAN_HPP_NOEXCEPT - { - exclusiveScissorCount = static_cast( exclusiveScissors_.size() ); - pExclusiveScissors = exclusiveScissors_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportExclusiveScissorStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportExclusiveScissorStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportExclusiveScissorStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( exclusiveScissorCount == rhs.exclusiveScissorCount ) && ( pExclusiveScissors == rhs.pExclusiveScissors ); - } - - bool operator!=( PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV; - const void * pNext = {}; - uint32_t exclusiveScissorCount = {}; - const VULKAN_HPP_NAMESPACE::Rect2D * pExclusiveScissors = {}; - }; - static_assert( sizeof( PipelineViewportExclusiveScissorStateCreateInfoNV ) == - sizeof( VkPipelineViewportExclusiveScissorStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportExclusiveScissorStateCreateInfoNV; - }; - - struct PipelineViewportShadingRateImageStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineViewportShadingRateImageStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_ = {}, - uint32_t viewportCount_ = {}, - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV * pShadingRatePalettes_ = {} ) VULKAN_HPP_NOEXCEPT - : shadingRateImageEnable( shadingRateImageEnable_ ) - , viewportCount( viewportCount_ ) - , pShadingRatePalettes( pShadingRatePalettes_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineViewportShadingRateImageStateCreateInfoNV( - PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportShadingRateImageStateCreateInfoNV( VkPipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineViewportShadingRateImageStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportShadingRateImageStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - shadingRatePalettes_ ) - : shadingRateImageEnable( shadingRateImageEnable_ ) - , viewportCount( static_cast( shadingRatePalettes_.size() ) ) - , pShadingRatePalettes( shadingRatePalettes_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportShadingRateImageStateCreateInfoNV & - operator=( PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportShadingRateImageStateCreateInfoNV & - operator=( VkPipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = - *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportShadingRateImageStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportShadingRateImageStateCreateInfoNV & - setShadingRateImageEnable( VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_ ) VULKAN_HPP_NOEXCEPT - { - shadingRateImageEnable = shadingRateImageEnable_; - return *this; - } - - PipelineViewportShadingRateImageStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = viewportCount_; - return *this; - } - - PipelineViewportShadingRateImageStateCreateInfoNV & setPShadingRatePalettes( - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV * pShadingRatePalettes_ ) VULKAN_HPP_NOEXCEPT - { - pShadingRatePalettes = pShadingRatePalettes_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportShadingRateImageStateCreateInfoNV & setShadingRatePalettes( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - shadingRatePalettes_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = static_cast( shadingRatePalettes_.size() ); - pShadingRatePalettes = shadingRatePalettes_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportShadingRateImageStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportShadingRateImageStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportShadingRateImageStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( shadingRateImageEnable == rhs.shadingRateImageEnable ) && ( viewportCount == rhs.viewportCount ) && - ( pShadingRatePalettes == rhs.pShadingRatePalettes ); - } - - bool operator!=( PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable = {}; - uint32_t viewportCount = {}; - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV * pShadingRatePalettes = {}; - }; - static_assert( sizeof( PipelineViewportShadingRateImageStateCreateInfoNV ) == - sizeof( VkPipelineViewportShadingRateImageStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportShadingRateImageStateCreateInfoNV; - }; - - struct ViewportSwizzleNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - ViewportSwizzleNV( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x_ = - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y_ = - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z_ = - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w_ = - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX ) VULKAN_HPP_NOEXCEPT - : x( x_ ) - , y( y_ ) - , z( z_ ) - , w( w_ ) - {} - - VULKAN_HPP_CONSTEXPR ViewportSwizzleNV( ViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViewportSwizzleNV( VkViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT - : ViewportSwizzleNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ViewportSwizzleNV & - operator=( ViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViewportSwizzleNV & operator=( VkViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ViewportSwizzleNV & setX( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x_ ) VULKAN_HPP_NOEXCEPT - { - x = x_; - return *this; - } - - ViewportSwizzleNV & setY( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y_ ) VULKAN_HPP_NOEXCEPT - { - y = y_; - return *this; - } - - ViewportSwizzleNV & setZ( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z_ ) VULKAN_HPP_NOEXCEPT - { - z = z_; - return *this; - } - - ViewportSwizzleNV & setW( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w_ ) VULKAN_HPP_NOEXCEPT - { - w = w_; - return *this; - } - - operator VkViewportSwizzleNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkViewportSwizzleNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ViewportSwizzleNV const & ) const = default; -#else - bool operator==( ViewportSwizzleNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( x == rhs.x ) && ( y == rhs.y ) && ( z == rhs.z ) && ( w == rhs.w ); - } - - bool operator!=( ViewportSwizzleNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; - VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; - }; - static_assert( sizeof( ViewportSwizzleNV ) == sizeof( VkViewportSwizzleNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PipelineViewportSwizzleStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineViewportSwizzleStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineViewportSwizzleStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_ = {}, - uint32_t viewportCount_ = {}, - const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV * pViewportSwizzles_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , viewportCount( viewportCount_ ) - , pViewportSwizzles( pViewportSwizzles_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineViewportSwizzleStateCreateInfoNV( - PipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportSwizzleStateCreateInfoNV( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineViewportSwizzleStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportSwizzleStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - viewportSwizzles_ ) - : flags( flags_ ) - , viewportCount( static_cast( viewportSwizzles_.size() ) ) - , pViewportSwizzles( viewportSwizzles_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportSwizzleStateCreateInfoNV & - operator=( PipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportSwizzleStateCreateInfoNV & - operator=( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportSwizzleStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportSwizzleStateCreateInfoNV & - setFlags( VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - PipelineViewportSwizzleStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = viewportCount_; - return *this; - } - - PipelineViewportSwizzleStateCreateInfoNV & - setPViewportSwizzles( const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV * pViewportSwizzles_ ) VULKAN_HPP_NOEXCEPT - { - pViewportSwizzles = pViewportSwizzles_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportSwizzleStateCreateInfoNV & setViewportSwizzles( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - viewportSwizzles_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = static_cast( viewportSwizzles_.size() ); - pViewportSwizzles = viewportSwizzles_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportSwizzleStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportSwizzleStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportSwizzleStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineViewportSwizzleStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( viewportCount == rhs.viewportCount ) && ( pViewportSwizzles == rhs.pViewportSwizzles ); - } - - bool operator!=( PipelineViewportSwizzleStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportSwizzleStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags = {}; - uint32_t viewportCount = {}; - const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV * pViewportSwizzles = {}; - }; - static_assert( sizeof( PipelineViewportSwizzleStateCreateInfoNV ) == - sizeof( VkPipelineViewportSwizzleStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportSwizzleStateCreateInfoNV; - }; - - struct PipelineViewportWScalingStateCreateInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::ePipelineViewportWScalingStateCreateInfoNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PipelineViewportWScalingStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_ = {}, - uint32_t viewportCount_ = {}, - const VULKAN_HPP_NAMESPACE::ViewportWScalingNV * pViewportWScalings_ = {} ) VULKAN_HPP_NOEXCEPT - : viewportWScalingEnable( viewportWScalingEnable_ ) - , viewportCount( viewportCount_ ) - , pViewportWScalings( pViewportWScalings_ ) - {} - - VULKAN_HPP_CONSTEXPR PipelineViewportWScalingStateCreateInfoNV( - PipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportWScalingStateCreateInfoNV( VkPipelineViewportWScalingStateCreateInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : PipelineViewportWScalingStateCreateInfoNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportWScalingStateCreateInfoNV( - VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - viewportWScalings_ ) - : viewportWScalingEnable( viewportWScalingEnable_ ) - , viewportCount( static_cast( viewportWScalings_.size() ) ) - , pViewportWScalings( viewportWScalings_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PipelineViewportWScalingStateCreateInfoNV & - operator=( PipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PipelineViewportWScalingStateCreateInfoNV & - operator=( VkPipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PipelineViewportWScalingStateCreateInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PipelineViewportWScalingStateCreateInfoNV & - setViewportWScalingEnable( VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_ ) VULKAN_HPP_NOEXCEPT - { - viewportWScalingEnable = viewportWScalingEnable_; - return *this; - } - - PipelineViewportWScalingStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = viewportCount_; - return *this; - } - - PipelineViewportWScalingStateCreateInfoNV & - setPViewportWScalings( const VULKAN_HPP_NAMESPACE::ViewportWScalingNV * pViewportWScalings_ ) VULKAN_HPP_NOEXCEPT - { - pViewportWScalings = pViewportWScalings_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PipelineViewportWScalingStateCreateInfoNV & setViewportWScalings( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - viewportWScalings_ ) VULKAN_HPP_NOEXCEPT - { - viewportCount = static_cast( viewportWScalings_.size() ); - pViewportWScalings = viewportWScalings_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPipelineViewportWScalingStateCreateInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPipelineViewportWScalingStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PipelineViewportWScalingStateCreateInfoNV const & ) const = default; -#else - bool operator==( PipelineViewportWScalingStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( viewportWScalingEnable == rhs.viewportWScalingEnable ) && ( viewportCount == rhs.viewportCount ) && - ( pViewportWScalings == rhs.pViewportWScalings ); - } - - bool operator!=( PipelineViewportWScalingStateCreateInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportWScalingStateCreateInfoNV; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable = {}; - uint32_t viewportCount = {}; - const VULKAN_HPP_NAMESPACE::ViewportWScalingNV * pViewportWScalings = {}; - }; - static_assert( sizeof( PipelineViewportWScalingStateCreateInfoNV ) == - sizeof( VkPipelineViewportWScalingStateCreateInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PipelineViewportWScalingStateCreateInfoNV; - }; - -#if defined( VK_USE_PLATFORM_GGP ) - struct PresentFrameTokenGGP - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentFrameTokenGGP; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PresentFrameTokenGGP( GgpFrameToken frameToken_ = {} ) VULKAN_HPP_NOEXCEPT - : frameToken( frameToken_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentFrameTokenGGP( PresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentFrameTokenGGP( VkPresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentFrameTokenGGP( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentFrameTokenGGP & - operator=( PresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentFrameTokenGGP & operator=( VkPresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentFrameTokenGGP & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PresentFrameTokenGGP & setFrameToken( GgpFrameToken frameToken_ ) VULKAN_HPP_NOEXCEPT - { - frameToken = frameToken_; - return *this; - } - - operator VkPresentFrameTokenGGP const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentFrameTokenGGP &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentFrameTokenGGP const & ) const = default; -# else - bool operator==( PresentFrameTokenGGP const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( memcmp( &frameToken, &rhs.frameToken, sizeof( GgpFrameToken ) ) == 0 ); - } - - bool operator!=( PresentFrameTokenGGP const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentFrameTokenGGP; - const void * pNext = {}; - GgpFrameToken frameToken = {}; - }; - static_assert( sizeof( PresentFrameTokenGGP ) == sizeof( VkPresentFrameTokenGGP ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PresentFrameTokenGGP; - }; -#endif /*VK_USE_PLATFORM_GGP*/ - - struct RectLayerKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RectLayerKHR( VULKAN_HPP_NAMESPACE::Offset2D offset_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D extent_ = {}, - uint32_t layer_ = {} ) VULKAN_HPP_NOEXCEPT - : offset( offset_ ) - , extent( extent_ ) - , layer( layer_ ) - {} - - VULKAN_HPP_CONSTEXPR RectLayerKHR( RectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RectLayerKHR( VkRectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : RectLayerKHR( *reinterpret_cast( &rhs ) ) - {} - - explicit RectLayerKHR( Rect2D const & rect2D, uint32_t layer_ = {} ) - : offset( rect2D.offset ), extent( rect2D.extent ), layer( layer_ ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RectLayerKHR & operator=( RectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RectLayerKHR & operator=( VkRectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RectLayerKHR & setOffset( VULKAN_HPP_NAMESPACE::Offset2D const & offset_ ) VULKAN_HPP_NOEXCEPT - { - offset = offset_; - return *this; - } - - RectLayerKHR & setExtent( VULKAN_HPP_NAMESPACE::Extent2D const & extent_ ) VULKAN_HPP_NOEXCEPT - { - extent = extent_; - return *this; - } - - RectLayerKHR & setLayer( uint32_t layer_ ) VULKAN_HPP_NOEXCEPT - { - layer = layer_; - return *this; - } - - operator VkRectLayerKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRectLayerKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RectLayerKHR const & ) const = default; -#else - bool operator==( RectLayerKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( offset == rhs.offset ) && ( extent == rhs.extent ) && ( layer == rhs.layer ); - } - - bool operator!=( RectLayerKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::Offset2D offset = {}; - VULKAN_HPP_NAMESPACE::Extent2D extent = {}; - uint32_t layer = {}; - }; - static_assert( sizeof( RectLayerKHR ) == sizeof( VkRectLayerKHR ), "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PresentRegionKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PresentRegionKHR( uint32_t rectangleCount_ = {}, - const VULKAN_HPP_NAMESPACE::RectLayerKHR * pRectangles_ = {} ) VULKAN_HPP_NOEXCEPT - : rectangleCount( rectangleCount_ ) - , pRectangles( pRectangles_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentRegionKHR( PresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentRegionKHR( VkPresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentRegionKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentRegionKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & rectangles_ ) - : rectangleCount( static_cast( rectangles_.size() ) ), pRectangles( rectangles_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentRegionKHR & operator=( PresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentRegionKHR & operator=( VkPresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentRegionKHR & setRectangleCount( uint32_t rectangleCount_ ) VULKAN_HPP_NOEXCEPT - { - rectangleCount = rectangleCount_; - return *this; - } - - PresentRegionKHR & setPRectangles( const VULKAN_HPP_NAMESPACE::RectLayerKHR * pRectangles_ ) VULKAN_HPP_NOEXCEPT - { - pRectangles = pRectangles_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentRegionKHR & setRectangles( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & rectangles_ ) - VULKAN_HPP_NOEXCEPT - { - rectangleCount = static_cast( rectangles_.size() ); - pRectangles = rectangles_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPresentRegionKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentRegionKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentRegionKHR const & ) const = default; -#else - bool operator==( PresentRegionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( rectangleCount == rhs.rectangleCount ) && ( pRectangles == rhs.pRectangles ); - } - - bool operator!=( PresentRegionKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t rectangleCount = {}; - const VULKAN_HPP_NAMESPACE::RectLayerKHR * pRectangles = {}; - }; - static_assert( sizeof( PresentRegionKHR ) == sizeof( VkPresentRegionKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PresentRegionsKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentRegionsKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PresentRegionsKHR( uint32_t swapchainCount_ = {}, - const VULKAN_HPP_NAMESPACE::PresentRegionKHR * pRegions_ = {} ) VULKAN_HPP_NOEXCEPT - : swapchainCount( swapchainCount_ ) - , pRegions( pRegions_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentRegionsKHR( PresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentRegionsKHR( VkPresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentRegionsKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentRegionsKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - : swapchainCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentRegionsKHR & - operator=( PresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentRegionsKHR & operator=( VkPresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentRegionsKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PresentRegionsKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = swapchainCount_; - return *this; - } - - PresentRegionsKHR & setPRegions( const VULKAN_HPP_NAMESPACE::PresentRegionKHR * pRegions_ ) VULKAN_HPP_NOEXCEPT - { - pRegions = pRegions_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentRegionsKHR & setRegions( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) - VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( regions_.size() ); - pRegions = regions_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPresentRegionsKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentRegionsKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentRegionsKHR const & ) const = default; -#else - bool operator==( PresentRegionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchainCount == rhs.swapchainCount ) && - ( pRegions == rhs.pRegions ); - } - - bool operator!=( PresentRegionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentRegionsKHR; - const void * pNext = {}; - uint32_t swapchainCount = {}; - const VULKAN_HPP_NAMESPACE::PresentRegionKHR * pRegions = {}; - }; - static_assert( sizeof( PresentRegionsKHR ) == sizeof( VkPresentRegionsKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PresentRegionsKHR; - }; - - struct PresentTimeGOOGLE - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PresentTimeGOOGLE( uint32_t presentID_ = {}, - uint64_t desiredPresentTime_ = {} ) VULKAN_HPP_NOEXCEPT - : presentID( presentID_ ) - , desiredPresentTime( desiredPresentTime_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentTimeGOOGLE( PresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentTimeGOOGLE( VkPresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentTimeGOOGLE( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentTimeGOOGLE & - operator=( PresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentTimeGOOGLE & operator=( VkPresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentTimeGOOGLE & setPresentID( uint32_t presentID_ ) VULKAN_HPP_NOEXCEPT - { - presentID = presentID_; - return *this; - } - - PresentTimeGOOGLE & setDesiredPresentTime( uint64_t desiredPresentTime_ ) VULKAN_HPP_NOEXCEPT - { - desiredPresentTime = desiredPresentTime_; - return *this; - } - - operator VkPresentTimeGOOGLE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentTimeGOOGLE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentTimeGOOGLE const & ) const = default; -#else - bool operator==( PresentTimeGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( presentID == rhs.presentID ) && ( desiredPresentTime == rhs.desiredPresentTime ); - } - - bool operator!=( PresentTimeGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t presentID = {}; - uint64_t desiredPresentTime = {}; - }; - static_assert( sizeof( PresentTimeGOOGLE ) == sizeof( VkPresentTimeGOOGLE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct PresentTimesInfoGOOGLE - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentTimesInfoGOOGLE; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - PresentTimesInfoGOOGLE( uint32_t swapchainCount_ = {}, - const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE * pTimes_ = {} ) VULKAN_HPP_NOEXCEPT - : swapchainCount( swapchainCount_ ) - , pTimes( pTimes_ ) - {} - - VULKAN_HPP_CONSTEXPR PresentTimesInfoGOOGLE( PresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentTimesInfoGOOGLE( VkPresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - : PresentTimesInfoGOOGLE( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentTimesInfoGOOGLE( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & times_ ) - : swapchainCount( static_cast( times_.size() ) ), pTimes( times_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 PresentTimesInfoGOOGLE & - operator=( PresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - PresentTimesInfoGOOGLE & operator=( VkPresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - PresentTimesInfoGOOGLE & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - PresentTimesInfoGOOGLE & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT - { - swapchainCount = swapchainCount_; - return *this; - } - - PresentTimesInfoGOOGLE & setPTimes( const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE * pTimes_ ) VULKAN_HPP_NOEXCEPT - { - pTimes = pTimes_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - PresentTimesInfoGOOGLE & setTimes( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & times_ ) - VULKAN_HPP_NOEXCEPT - { - swapchainCount = static_cast( times_.size() ); - pTimes = times_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkPresentTimesInfoGOOGLE const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkPresentTimesInfoGOOGLE &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PresentTimesInfoGOOGLE const & ) const = default; -#else - bool operator==( PresentTimesInfoGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( swapchainCount == rhs.swapchainCount ) && - ( pTimes == rhs.pTimes ); - } - - bool operator!=( PresentTimesInfoGOOGLE const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentTimesInfoGOOGLE; - const void * pNext = {}; - uint32_t swapchainCount = {}; - const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE * pTimes = {}; - }; - static_assert( sizeof( PresentTimesInfoGOOGLE ) == sizeof( VkPresentTimesInfoGOOGLE ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = PresentTimesInfoGOOGLE; - }; - - struct ProtectedSubmitInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eProtectedSubmitInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ProtectedSubmitInfo( VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit_ = {} ) VULKAN_HPP_NOEXCEPT - : protectedSubmit( protectedSubmit_ ) - {} - - VULKAN_HPP_CONSTEXPR ProtectedSubmitInfo( ProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ProtectedSubmitInfo( VkProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : ProtectedSubmitInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ProtectedSubmitInfo & - operator=( ProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ProtectedSubmitInfo & operator=( VkProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ProtectedSubmitInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ProtectedSubmitInfo & setProtectedSubmit( VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit_ ) VULKAN_HPP_NOEXCEPT - { - protectedSubmit = protectedSubmit_; - return *this; - } - - operator VkProtectedSubmitInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkProtectedSubmitInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ProtectedSubmitInfo const & ) const = default; -#else - bool operator==( ProtectedSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( protectedSubmit == rhs.protectedSubmit ); - } - - bool operator!=( ProtectedSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eProtectedSubmitInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit = {}; - }; - static_assert( sizeof( ProtectedSubmitInfo ) == sizeof( VkProtectedSubmitInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ProtectedSubmitInfo; - }; - - struct QueryPoolPerformanceQueryCreateInfoINTEL - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueryPoolPerformanceQueryCreateInfoINTEL( - VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling_ = - VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL::eManual ) VULKAN_HPP_NOEXCEPT - : performanceCountersSampling( performanceCountersSampling_ ) - {} - - VULKAN_HPP_CONSTEXPR QueryPoolPerformanceQueryCreateInfoINTEL( - QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolPerformanceQueryCreateInfoINTEL( VkQueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) - VULKAN_HPP_NOEXCEPT - : QueryPoolPerformanceQueryCreateInfoINTEL( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueryPoolPerformanceQueryCreateInfoINTEL & - operator=( QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueryPoolPerformanceQueryCreateInfoINTEL & - operator=( VkQueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - QueryPoolPerformanceQueryCreateInfoINTEL & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - QueryPoolPerformanceQueryCreateInfoINTEL & setPerformanceCountersSampling( - VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling_ ) VULKAN_HPP_NOEXCEPT - { - performanceCountersSampling = performanceCountersSampling_; - return *this; - } - - operator VkQueryPoolPerformanceQueryCreateInfoINTEL const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueryPoolPerformanceQueryCreateInfoINTEL &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueryPoolPerformanceQueryCreateInfoINTEL const & ) const = default; -#else - bool operator==( QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( performanceCountersSampling == rhs.performanceCountersSampling ); - } - - bool operator!=( QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling = - VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL::eManual; - }; - static_assert( sizeof( QueryPoolPerformanceQueryCreateInfoINTEL ) == - sizeof( VkQueryPoolPerformanceQueryCreateInfoINTEL ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueryPoolPerformanceQueryCreateInfoINTEL; - }; - using QueryPoolCreateInfoINTEL = QueryPoolPerformanceQueryCreateInfoINTEL; - - struct QueueFamilyCheckpointProperties2NV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eQueueFamilyCheckpointProperties2Nv; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueueFamilyCheckpointProperties2NV( - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR checkpointExecutionStageMask_ = {} ) VULKAN_HPP_NOEXCEPT - : checkpointExecutionStageMask( checkpointExecutionStageMask_ ) - {} - - VULKAN_HPP_CONSTEXPR QueueFamilyCheckpointProperties2NV( QueueFamilyCheckpointProperties2NV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyCheckpointProperties2NV( VkQueueFamilyCheckpointProperties2NV const & rhs ) VULKAN_HPP_NOEXCEPT - : QueueFamilyCheckpointProperties2NV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueueFamilyCheckpointProperties2NV & - operator=( QueueFamilyCheckpointProperties2NV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyCheckpointProperties2NV & - operator=( VkQueueFamilyCheckpointProperties2NV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkQueueFamilyCheckpointProperties2NV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueueFamilyCheckpointProperties2NV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueueFamilyCheckpointProperties2NV const & ) const = default; -#else - bool operator==( QueueFamilyCheckpointProperties2NV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( checkpointExecutionStageMask == rhs.checkpointExecutionStageMask ); - } - - bool operator!=( QueueFamilyCheckpointProperties2NV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueueFamilyCheckpointProperties2Nv; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR checkpointExecutionStageMask = {}; - }; - static_assert( sizeof( QueueFamilyCheckpointProperties2NV ) == sizeof( VkQueueFamilyCheckpointProperties2NV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueueFamilyCheckpointProperties2NV; - }; - - struct QueueFamilyCheckpointPropertiesNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eQueueFamilyCheckpointPropertiesNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR QueueFamilyCheckpointPropertiesNV( - VULKAN_HPP_NAMESPACE::PipelineStageFlags checkpointExecutionStageMask_ = {} ) VULKAN_HPP_NOEXCEPT - : checkpointExecutionStageMask( checkpointExecutionStageMask_ ) - {} - - VULKAN_HPP_CONSTEXPR - QueueFamilyCheckpointPropertiesNV( QueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyCheckpointPropertiesNV( VkQueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - : QueueFamilyCheckpointPropertiesNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 QueueFamilyCheckpointPropertiesNV & - operator=( QueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - QueueFamilyCheckpointPropertiesNV & operator=( VkQueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkQueueFamilyCheckpointPropertiesNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkQueueFamilyCheckpointPropertiesNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( QueueFamilyCheckpointPropertiesNV const & ) const = default; -#else - bool operator==( QueueFamilyCheckpointPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( checkpointExecutionStageMask == rhs.checkpointExecutionStageMask ); - } - - bool operator!=( QueueFamilyCheckpointPropertiesNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueueFamilyCheckpointPropertiesNV; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::PipelineStageFlags checkpointExecutionStageMask = {}; - }; - static_assert( sizeof( QueueFamilyCheckpointPropertiesNV ) == sizeof( VkQueueFamilyCheckpointPropertiesNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = QueueFamilyCheckpointPropertiesNV; - }; - - struct RenderPassAttachmentBeginInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassAttachmentBeginInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - RenderPassAttachmentBeginInfo( uint32_t attachmentCount_ = {}, - const VULKAN_HPP_NAMESPACE::ImageView * pAttachments_ = {} ) VULKAN_HPP_NOEXCEPT - : attachmentCount( attachmentCount_ ) - , pAttachments( pAttachments_ ) - {} - - VULKAN_HPP_CONSTEXPR - RenderPassAttachmentBeginInfo( RenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassAttachmentBeginInfo( VkRenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassAttachmentBeginInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassAttachmentBeginInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) - : attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassAttachmentBeginInfo & - operator=( RenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassAttachmentBeginInfo & operator=( VkRenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassAttachmentBeginInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassAttachmentBeginInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentCount = attachmentCount_; - return *this; - } - - RenderPassAttachmentBeginInfo & - setPAttachments( const VULKAN_HPP_NAMESPACE::ImageView * pAttachments_ ) VULKAN_HPP_NOEXCEPT - { - pAttachments = pAttachments_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassAttachmentBeginInfo & setAttachments( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) - VULKAN_HPP_NOEXCEPT - { - attachmentCount = static_cast( attachments_.size() ); - pAttachments = attachments_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassAttachmentBeginInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassAttachmentBeginInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassAttachmentBeginInfo const & ) const = default; -#else - bool operator==( RenderPassAttachmentBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( attachmentCount == rhs.attachmentCount ) && - ( pAttachments == rhs.pAttachments ); - } - - bool operator!=( RenderPassAttachmentBeginInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassAttachmentBeginInfo; - const void * pNext = {}; - uint32_t attachmentCount = {}; - const VULKAN_HPP_NAMESPACE::ImageView * pAttachments = {}; - }; - static_assert( sizeof( RenderPassAttachmentBeginInfo ) == sizeof( VkRenderPassAttachmentBeginInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassAttachmentBeginInfo; - }; - using RenderPassAttachmentBeginInfoKHR = RenderPassAttachmentBeginInfo; - - struct RenderPassFragmentDensityMapCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRenderPassFragmentDensityMapCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassFragmentDensityMapCreateInfoEXT( - VULKAN_HPP_NAMESPACE::AttachmentReference fragmentDensityMapAttachment_ = {} ) VULKAN_HPP_NOEXCEPT - : fragmentDensityMapAttachment( fragmentDensityMapAttachment_ ) - {} - - VULKAN_HPP_CONSTEXPR RenderPassFragmentDensityMapCreateInfoEXT( - RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassFragmentDensityMapCreateInfoEXT( VkRenderPassFragmentDensityMapCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : RenderPassFragmentDensityMapCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassFragmentDensityMapCreateInfoEXT & - operator=( RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassFragmentDensityMapCreateInfoEXT & - operator=( VkRenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassFragmentDensityMapCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassFragmentDensityMapCreateInfoEXT & setFragmentDensityMapAttachment( - VULKAN_HPP_NAMESPACE::AttachmentReference const & fragmentDensityMapAttachment_ ) VULKAN_HPP_NOEXCEPT - { - fragmentDensityMapAttachment = fragmentDensityMapAttachment_; - return *this; - } - - operator VkRenderPassFragmentDensityMapCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassFragmentDensityMapCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassFragmentDensityMapCreateInfoEXT const & ) const = default; -#else - bool operator==( RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fragmentDensityMapAttachment == rhs.fragmentDensityMapAttachment ); - } - - bool operator!=( RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassFragmentDensityMapCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::AttachmentReference fragmentDensityMapAttachment = {}; - }; - static_assert( sizeof( RenderPassFragmentDensityMapCreateInfoEXT ) == - sizeof( VkRenderPassFragmentDensityMapCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassFragmentDensityMapCreateInfoEXT; - }; - - struct RenderPassInputAttachmentAspectCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRenderPassInputAttachmentAspectCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassInputAttachmentAspectCreateInfo( - uint32_t aspectReferenceCount_ = {}, - const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference * pAspectReferences_ = {} ) VULKAN_HPP_NOEXCEPT - : aspectReferenceCount( aspectReferenceCount_ ) - , pAspectReferences( pAspectReferences_ ) - {} - - VULKAN_HPP_CONSTEXPR RenderPassInputAttachmentAspectCreateInfo( - RenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassInputAttachmentAspectCreateInfo( VkRenderPassInputAttachmentAspectCreateInfo const & rhs ) - VULKAN_HPP_NOEXCEPT - : RenderPassInputAttachmentAspectCreateInfo( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassInputAttachmentAspectCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - aspectReferences_ ) - : aspectReferenceCount( static_cast( aspectReferences_.size() ) ) - , pAspectReferences( aspectReferences_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassInputAttachmentAspectCreateInfo & - operator=( RenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassInputAttachmentAspectCreateInfo & - operator=( VkRenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassInputAttachmentAspectCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassInputAttachmentAspectCreateInfo & - setAspectReferenceCount( uint32_t aspectReferenceCount_ ) VULKAN_HPP_NOEXCEPT - { - aspectReferenceCount = aspectReferenceCount_; - return *this; - } - - RenderPassInputAttachmentAspectCreateInfo & setPAspectReferences( - const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference * pAspectReferences_ ) VULKAN_HPP_NOEXCEPT - { - pAspectReferences = pAspectReferences_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassInputAttachmentAspectCreateInfo & setAspectReferences( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - aspectReferences_ ) VULKAN_HPP_NOEXCEPT - { - aspectReferenceCount = static_cast( aspectReferences_.size() ); - pAspectReferences = aspectReferences_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassInputAttachmentAspectCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassInputAttachmentAspectCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassInputAttachmentAspectCreateInfo const & ) const = default; -#else - bool operator==( RenderPassInputAttachmentAspectCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( aspectReferenceCount == rhs.aspectReferenceCount ) && - ( pAspectReferences == rhs.pAspectReferences ); - } - - bool operator!=( RenderPassInputAttachmentAspectCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassInputAttachmentAspectCreateInfo; - const void * pNext = {}; - uint32_t aspectReferenceCount = {}; - const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference * pAspectReferences = {}; - }; - static_assert( sizeof( RenderPassInputAttachmentAspectCreateInfo ) == - sizeof( VkRenderPassInputAttachmentAspectCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassInputAttachmentAspectCreateInfo; - }; - using RenderPassInputAttachmentAspectCreateInfoKHR = RenderPassInputAttachmentAspectCreateInfo; - - struct RenderPassMultiviewCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassMultiviewCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassMultiviewCreateInfo( uint32_t subpassCount_ = {}, - const uint32_t * pViewMasks_ = {}, - uint32_t dependencyCount_ = {}, - const int32_t * pViewOffsets_ = {}, - uint32_t correlationMaskCount_ = {}, - const uint32_t * pCorrelationMasks_ = {} ) VULKAN_HPP_NOEXCEPT - : subpassCount( subpassCount_ ) - , pViewMasks( pViewMasks_ ) - , dependencyCount( dependencyCount_ ) - , pViewOffsets( pViewOffsets_ ) - , correlationMaskCount( correlationMaskCount_ ) - , pCorrelationMasks( pCorrelationMasks_ ) - {} - - VULKAN_HPP_CONSTEXPR - RenderPassMultiviewCreateInfo( RenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassMultiviewCreateInfo( VkRenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassMultiviewCreateInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassMultiviewCreateInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewMasks_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewOffsets_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlationMasks_ = {} ) - : subpassCount( static_cast( viewMasks_.size() ) ) - , pViewMasks( viewMasks_.data() ) - , dependencyCount( static_cast( viewOffsets_.size() ) ) - , pViewOffsets( viewOffsets_.data() ) - , correlationMaskCount( static_cast( correlationMasks_.size() ) ) - , pCorrelationMasks( correlationMasks_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassMultiviewCreateInfo & - operator=( RenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassMultiviewCreateInfo & operator=( VkRenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassMultiviewCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassMultiviewCreateInfo & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT - { - subpassCount = subpassCount_; - return *this; - } - - RenderPassMultiviewCreateInfo & setPViewMasks( const uint32_t * pViewMasks_ ) VULKAN_HPP_NOEXCEPT - { - pViewMasks = pViewMasks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassMultiviewCreateInfo & setViewMasks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewMasks_ ) VULKAN_HPP_NOEXCEPT - { - subpassCount = static_cast( viewMasks_.size() ); - pViewMasks = viewMasks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassMultiviewCreateInfo & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = dependencyCount_; - return *this; - } - - RenderPassMultiviewCreateInfo & setPViewOffsets( const int32_t * pViewOffsets_ ) VULKAN_HPP_NOEXCEPT - { - pViewOffsets = pViewOffsets_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassMultiviewCreateInfo & setViewOffsets( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewOffsets_ ) VULKAN_HPP_NOEXCEPT - { - dependencyCount = static_cast( viewOffsets_.size() ); - pViewOffsets = viewOffsets_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassMultiviewCreateInfo & setCorrelationMaskCount( uint32_t correlationMaskCount_ ) VULKAN_HPP_NOEXCEPT - { - correlationMaskCount = correlationMaskCount_; - return *this; - } - - RenderPassMultiviewCreateInfo & setPCorrelationMasks( const uint32_t * pCorrelationMasks_ ) VULKAN_HPP_NOEXCEPT - { - pCorrelationMasks = pCorrelationMasks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassMultiviewCreateInfo & setCorrelationMasks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlationMasks_ ) VULKAN_HPP_NOEXCEPT - { - correlationMaskCount = static_cast( correlationMasks_.size() ); - pCorrelationMasks = correlationMasks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassMultiviewCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassMultiviewCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassMultiviewCreateInfo const & ) const = default; -#else - bool operator==( RenderPassMultiviewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( subpassCount == rhs.subpassCount ) && - ( pViewMasks == rhs.pViewMasks ) && ( dependencyCount == rhs.dependencyCount ) && - ( pViewOffsets == rhs.pViewOffsets ) && ( correlationMaskCount == rhs.correlationMaskCount ) && - ( pCorrelationMasks == rhs.pCorrelationMasks ); - } - - bool operator!=( RenderPassMultiviewCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassMultiviewCreateInfo; - const void * pNext = {}; - uint32_t subpassCount = {}; - const uint32_t * pViewMasks = {}; - uint32_t dependencyCount = {}; - const int32_t * pViewOffsets = {}; - uint32_t correlationMaskCount = {}; - const uint32_t * pCorrelationMasks = {}; - }; - static_assert( sizeof( RenderPassMultiviewCreateInfo ) == sizeof( VkRenderPassMultiviewCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassMultiviewCreateInfo; - }; - using RenderPassMultiviewCreateInfoKHR = RenderPassMultiviewCreateInfo; - - struct SubpassSampleLocationsEXT - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassSampleLocationsEXT( - uint32_t subpassIndex_ = {}, - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : subpassIndex( subpassIndex_ ) - , sampleLocationsInfo( sampleLocationsInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - SubpassSampleLocationsEXT( SubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassSampleLocationsEXT( VkSubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassSampleLocationsEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassSampleLocationsEXT & - operator=( SubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassSampleLocationsEXT & operator=( VkSubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassSampleLocationsEXT & setSubpassIndex( uint32_t subpassIndex_ ) VULKAN_HPP_NOEXCEPT - { - subpassIndex = subpassIndex_; - return *this; - } - - SubpassSampleLocationsEXT & setSampleLocationsInfo( - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT - { - sampleLocationsInfo = sampleLocationsInfo_; - return *this; - } - - operator VkSubpassSampleLocationsEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassSampleLocationsEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassSampleLocationsEXT const & ) const = default; -#else - bool operator==( SubpassSampleLocationsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( subpassIndex == rhs.subpassIndex ) && ( sampleLocationsInfo == rhs.sampleLocationsInfo ); - } - - bool operator!=( SubpassSampleLocationsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t subpassIndex = {}; - VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; - }; - static_assert( sizeof( SubpassSampleLocationsEXT ) == sizeof( VkSubpassSampleLocationsEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct RenderPassSampleLocationsBeginInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eRenderPassSampleLocationsBeginInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassSampleLocationsBeginInfoEXT( - uint32_t attachmentInitialSampleLocationsCount_ = {}, - const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT * pAttachmentInitialSampleLocations_ = {}, - uint32_t postSubpassSampleLocationsCount_ = {}, - const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT * pPostSubpassSampleLocations_ = {} ) VULKAN_HPP_NOEXCEPT - : attachmentInitialSampleLocationsCount( attachmentInitialSampleLocationsCount_ ) - , pAttachmentInitialSampleLocations( pAttachmentInitialSampleLocations_ ) - , postSubpassSampleLocationsCount( postSubpassSampleLocationsCount_ ) - , pPostSubpassSampleLocations( pPostSubpassSampleLocations_ ) - {} - - VULKAN_HPP_CONSTEXPR RenderPassSampleLocationsBeginInfoEXT( RenderPassSampleLocationsBeginInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - RenderPassSampleLocationsBeginInfoEXT( VkRenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassSampleLocationsBeginInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassSampleLocationsBeginInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachmentInitialSampleLocations_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - postSubpassSampleLocations_ = {} ) - : attachmentInitialSampleLocationsCount( static_cast( attachmentInitialSampleLocations_.size() ) ) - , pAttachmentInitialSampleLocations( attachmentInitialSampleLocations_.data() ) - , postSubpassSampleLocationsCount( static_cast( postSubpassSampleLocations_.size() ) ) - , pPostSubpassSampleLocations( postSubpassSampleLocations_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassSampleLocationsBeginInfoEXT & - operator=( RenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassSampleLocationsBeginInfoEXT & - operator=( VkRenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassSampleLocationsBeginInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassSampleLocationsBeginInfoEXT & - setAttachmentInitialSampleLocationsCount( uint32_t attachmentInitialSampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT - { - attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount_; - return *this; - } - - RenderPassSampleLocationsBeginInfoEXT & setPAttachmentInitialSampleLocations( - const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT * pAttachmentInitialSampleLocations_ ) - VULKAN_HPP_NOEXCEPT - { - pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassSampleLocationsBeginInfoEXT & setAttachmentInitialSampleLocations( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - attachmentInitialSampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - attachmentInitialSampleLocationsCount = static_cast( attachmentInitialSampleLocations_.size() ); - pAttachmentInitialSampleLocations = attachmentInitialSampleLocations_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - RenderPassSampleLocationsBeginInfoEXT & - setPostSubpassSampleLocationsCount( uint32_t postSubpassSampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT - { - postSubpassSampleLocationsCount = postSubpassSampleLocationsCount_; - return *this; - } - - RenderPassSampleLocationsBeginInfoEXT & setPPostSubpassSampleLocations( - const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT * pPostSubpassSampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - pPostSubpassSampleLocations = pPostSubpassSampleLocations_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - RenderPassSampleLocationsBeginInfoEXT & setPostSubpassSampleLocations( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - postSubpassSampleLocations_ ) VULKAN_HPP_NOEXCEPT - { - postSubpassSampleLocationsCount = static_cast( postSubpassSampleLocations_.size() ); - pPostSubpassSampleLocations = postSubpassSampleLocations_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkRenderPassSampleLocationsBeginInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassSampleLocationsBeginInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassSampleLocationsBeginInfoEXT const & ) const = default; -#else - bool operator==( RenderPassSampleLocationsBeginInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( attachmentInitialSampleLocationsCount == rhs.attachmentInitialSampleLocationsCount ) && - ( pAttachmentInitialSampleLocations == rhs.pAttachmentInitialSampleLocations ) && - ( postSubpassSampleLocationsCount == rhs.postSubpassSampleLocationsCount ) && - ( pPostSubpassSampleLocations == rhs.pPostSubpassSampleLocations ); - } - - bool operator!=( RenderPassSampleLocationsBeginInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassSampleLocationsBeginInfoEXT; - const void * pNext = {}; - uint32_t attachmentInitialSampleLocationsCount = {}; - const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT * pAttachmentInitialSampleLocations = {}; - uint32_t postSubpassSampleLocationsCount = {}; - const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT * pPostSubpassSampleLocations = {}; - }; - static_assert( sizeof( RenderPassSampleLocationsBeginInfoEXT ) == sizeof( VkRenderPassSampleLocationsBeginInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassSampleLocationsBeginInfoEXT; - }; - - struct RenderPassTransformBeginInfoQCOM - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassTransformBeginInfoQCOM; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR RenderPassTransformBeginInfoQCOM( - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity ) VULKAN_HPP_NOEXCEPT : transform( transform_ ) - {} - - VULKAN_HPP_CONSTEXPR - RenderPassTransformBeginInfoQCOM( RenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassTransformBeginInfoQCOM( VkRenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - : RenderPassTransformBeginInfoQCOM( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 RenderPassTransformBeginInfoQCOM & - operator=( RenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - RenderPassTransformBeginInfoQCOM & operator=( VkRenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - RenderPassTransformBeginInfoQCOM & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - RenderPassTransformBeginInfoQCOM & - setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT - { - transform = transform_; - return *this; - } - - operator VkRenderPassTransformBeginInfoQCOM const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkRenderPassTransformBeginInfoQCOM &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( RenderPassTransformBeginInfoQCOM const & ) const = default; -#else - bool operator==( RenderPassTransformBeginInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( transform == rhs.transform ); - } - - bool operator!=( RenderPassTransformBeginInfoQCOM const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassTransformBeginInfoQCOM; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = - VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; - }; - static_assert( sizeof( RenderPassTransformBeginInfoQCOM ) == sizeof( VkRenderPassTransformBeginInfoQCOM ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = RenderPassTransformBeginInfoQCOM; - }; - - struct SamplerCustomBorderColorCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSamplerCustomBorderColorCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - SamplerCustomBorderColorCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ClearColorValue customBorderColor_ = {}, - VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined ) VULKAN_HPP_NOEXCEPT - : customBorderColor( customBorderColor_ ) - , format( format_ ) - {} - - SamplerCustomBorderColorCreateInfoEXT( SamplerCustomBorderColorCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SamplerCustomBorderColorCreateInfoEXT( VkSamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SamplerCustomBorderColorCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - SamplerCustomBorderColorCreateInfoEXT & - operator=( SamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerCustomBorderColorCreateInfoEXT & - operator=( VkSamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SamplerCustomBorderColorCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SamplerCustomBorderColorCreateInfoEXT & - setCustomBorderColor( VULKAN_HPP_NAMESPACE::ClearColorValue const & customBorderColor_ ) VULKAN_HPP_NOEXCEPT - { - customBorderColor = customBorderColor_; - return *this; - } - - SamplerCustomBorderColorCreateInfoEXT & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT - { - format = format_; - return *this; - } - - operator VkSamplerCustomBorderColorCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerCustomBorderColorCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerCustomBorderColorCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ClearColorValue customBorderColor = {}; - VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; - }; - static_assert( sizeof( SamplerCustomBorderColorCreateInfoEXT ) == sizeof( VkSamplerCustomBorderColorCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerCustomBorderColorCreateInfoEXT; - }; - - struct SamplerReductionModeCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerReductionModeCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo( - VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_ = - VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage ) VULKAN_HPP_NOEXCEPT - : reductionMode( reductionMode_ ) - {} - - VULKAN_HPP_CONSTEXPR - SamplerReductionModeCreateInfo( SamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerReductionModeCreateInfo( VkSamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SamplerReductionModeCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SamplerReductionModeCreateInfo & - operator=( SamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerReductionModeCreateInfo & operator=( VkSamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SamplerReductionModeCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SamplerReductionModeCreateInfo & - setReductionMode( VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_ ) VULKAN_HPP_NOEXCEPT - { - reductionMode = reductionMode_; - return *this; - } - - operator VkSamplerReductionModeCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerReductionModeCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerReductionModeCreateInfo const & ) const = default; -#else - bool operator==( SamplerReductionModeCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( reductionMode == rhs.reductionMode ); - } - - bool operator!=( SamplerReductionModeCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerReductionModeCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode = - VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage; - }; - static_assert( sizeof( SamplerReductionModeCreateInfo ) == sizeof( VkSamplerReductionModeCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerReductionModeCreateInfo; - }; - using SamplerReductionModeCreateInfoEXT = SamplerReductionModeCreateInfo; - - struct SamplerYcbcrConversionImageFormatProperties - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSamplerYcbcrConversionImageFormatProperties; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionImageFormatProperties( - uint32_t combinedImageSamplerDescriptorCount_ = {} ) VULKAN_HPP_NOEXCEPT - : combinedImageSamplerDescriptorCount( combinedImageSamplerDescriptorCount_ ) - {} - - VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionImageFormatProperties( - SamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionImageFormatProperties( VkSamplerYcbcrConversionImageFormatProperties const & rhs ) - VULKAN_HPP_NOEXCEPT - : SamplerYcbcrConversionImageFormatProperties( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SamplerYcbcrConversionImageFormatProperties & - operator=( SamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionImageFormatProperties & - operator=( VkSamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSamplerYcbcrConversionImageFormatProperties const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerYcbcrConversionImageFormatProperties &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerYcbcrConversionImageFormatProperties const & ) const = default; -#else - bool operator==( SamplerYcbcrConversionImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( combinedImageSamplerDescriptorCount == rhs.combinedImageSamplerDescriptorCount ); - } - - bool operator!=( SamplerYcbcrConversionImageFormatProperties const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionImageFormatProperties; - void * pNext = {}; - uint32_t combinedImageSamplerDescriptorCount = {}; - }; - static_assert( sizeof( SamplerYcbcrConversionImageFormatProperties ) == - sizeof( VkSamplerYcbcrConversionImageFormatProperties ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerYcbcrConversionImageFormatProperties; - }; - using SamplerYcbcrConversionImageFormatPropertiesKHR = SamplerYcbcrConversionImageFormatProperties; - - struct SamplerYcbcrConversionInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerYcbcrConversionInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SamplerYcbcrConversionInfo( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion_ = {} ) VULKAN_HPP_NOEXCEPT - : conversion( conversion_ ) - {} - - VULKAN_HPP_CONSTEXPR - SamplerYcbcrConversionInfo( SamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionInfo( VkSamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SamplerYcbcrConversionInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SamplerYcbcrConversionInfo & - operator=( SamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SamplerYcbcrConversionInfo & operator=( VkSamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SamplerYcbcrConversionInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SamplerYcbcrConversionInfo & - setConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion_ ) VULKAN_HPP_NOEXCEPT - { - conversion = conversion_; - return *this; - } - - operator VkSamplerYcbcrConversionInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSamplerYcbcrConversionInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SamplerYcbcrConversionInfo const & ) const = default; -#else - bool operator==( SamplerYcbcrConversionInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( conversion == rhs.conversion ); - } - - bool operator!=( SamplerYcbcrConversionInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion = {}; - }; - static_assert( sizeof( SamplerYcbcrConversionInfo ) == sizeof( VkSamplerYcbcrConversionInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SamplerYcbcrConversionInfo; - }; - using SamplerYcbcrConversionInfoKHR = SamplerYcbcrConversionInfo; - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - struct ScreenSurfaceCreateInfoQNX - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eScreenSurfaceCreateInfoQNX; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ScreenSurfaceCreateInfoQNX( VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateFlagsQNX flags_ = {}, - struct _screen_context * context_ = {}, - struct _screen_window * window_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , context( context_ ) - , window( window_ ) - {} - - VULKAN_HPP_CONSTEXPR - ScreenSurfaceCreateInfoQNX( ScreenSurfaceCreateInfoQNX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ScreenSurfaceCreateInfoQNX( VkScreenSurfaceCreateInfoQNX const & rhs ) VULKAN_HPP_NOEXCEPT - : ScreenSurfaceCreateInfoQNX( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ScreenSurfaceCreateInfoQNX & - operator=( ScreenSurfaceCreateInfoQNX const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ScreenSurfaceCreateInfoQNX & operator=( VkScreenSurfaceCreateInfoQNX const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ScreenSurfaceCreateInfoQNX & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ScreenSurfaceCreateInfoQNX & - setFlags( VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateFlagsQNX flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ScreenSurfaceCreateInfoQNX & setContext( struct _screen_context * context_ ) VULKAN_HPP_NOEXCEPT - { - context = context_; - return *this; - } - - ScreenSurfaceCreateInfoQNX & setWindow( struct _screen_window * window_ ) VULKAN_HPP_NOEXCEPT - { - window = window_; - return *this; - } - - operator VkScreenSurfaceCreateInfoQNX const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkScreenSurfaceCreateInfoQNX &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ScreenSurfaceCreateInfoQNX const & ) const = default; -# else - bool operator==( ScreenSurfaceCreateInfoQNX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( context == rhs.context ) && - ( window == rhs.window ); - } - - bool operator!=( ScreenSurfaceCreateInfoQNX const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eScreenSurfaceCreateInfoQNX; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateFlagsQNX flags = {}; - struct _screen_context * context = {}; - struct _screen_window * window = {}; - }; - static_assert( sizeof( ScreenSurfaceCreateInfoQNX ) == sizeof( VkScreenSurfaceCreateInfoQNX ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ScreenSurfaceCreateInfoQNX; - }; -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - - struct SemaphoreTypeCreateInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreTypeCreateInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SemaphoreTypeCreateInfo( - VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType_ = VULKAN_HPP_NAMESPACE::SemaphoreType::eBinary, - uint64_t initialValue_ = {} ) VULKAN_HPP_NOEXCEPT - : semaphoreType( semaphoreType_ ) - , initialValue( initialValue_ ) - {} - - VULKAN_HPP_CONSTEXPR SemaphoreTypeCreateInfo( SemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreTypeCreateInfo( VkSemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : SemaphoreTypeCreateInfo( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SemaphoreTypeCreateInfo & - operator=( SemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SemaphoreTypeCreateInfo & operator=( VkSemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SemaphoreTypeCreateInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SemaphoreTypeCreateInfo & setSemaphoreType( VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType_ ) VULKAN_HPP_NOEXCEPT - { - semaphoreType = semaphoreType_; - return *this; - } - - SemaphoreTypeCreateInfo & setInitialValue( uint64_t initialValue_ ) VULKAN_HPP_NOEXCEPT - { - initialValue = initialValue_; - return *this; - } - - operator VkSemaphoreTypeCreateInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSemaphoreTypeCreateInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SemaphoreTypeCreateInfo const & ) const = default; -#else - bool operator==( SemaphoreTypeCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( semaphoreType == rhs.semaphoreType ) && - ( initialValue == rhs.initialValue ); - } - - bool operator!=( SemaphoreTypeCreateInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreTypeCreateInfo; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType = VULKAN_HPP_NAMESPACE::SemaphoreType::eBinary; - uint64_t initialValue = {}; - }; - static_assert( sizeof( SemaphoreTypeCreateInfo ) == sizeof( VkSemaphoreTypeCreateInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SemaphoreTypeCreateInfo; - }; - using SemaphoreTypeCreateInfoKHR = SemaphoreTypeCreateInfo; - - struct SetStateFlagsIndirectCommandNV - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SetStateFlagsIndirectCommandNV( uint32_t data_ = {} ) VULKAN_HPP_NOEXCEPT : data( data_ ) {} - - VULKAN_HPP_CONSTEXPR - SetStateFlagsIndirectCommandNV( SetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SetStateFlagsIndirectCommandNV( VkSetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - : SetStateFlagsIndirectCommandNV( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SetStateFlagsIndirectCommandNV & - operator=( SetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SetStateFlagsIndirectCommandNV & operator=( VkSetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SetStateFlagsIndirectCommandNV & setData( uint32_t data_ ) VULKAN_HPP_NOEXCEPT - { - data = data_; - return *this; - } - - operator VkSetStateFlagsIndirectCommandNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSetStateFlagsIndirectCommandNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SetStateFlagsIndirectCommandNV const & ) const = default; -#else - bool operator==( SetStateFlagsIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( data == rhs.data ); - } - - bool operator!=( SetStateFlagsIndirectCommandNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t data = {}; - }; - static_assert( sizeof( SetStateFlagsIndirectCommandNV ) == sizeof( VkSetStateFlagsIndirectCommandNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct ShaderModuleValidationCacheCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eShaderModuleValidationCacheCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ShaderModuleValidationCacheCreateInfoEXT( - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache_ = {} ) VULKAN_HPP_NOEXCEPT - : validationCache( validationCache_ ) - {} - - VULKAN_HPP_CONSTEXPR ShaderModuleValidationCacheCreateInfoEXT( - ShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderModuleValidationCacheCreateInfoEXT( VkShaderModuleValidationCacheCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : ShaderModuleValidationCacheCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ShaderModuleValidationCacheCreateInfoEXT & - operator=( ShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderModuleValidationCacheCreateInfoEXT & - operator=( VkShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ShaderModuleValidationCacheCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ShaderModuleValidationCacheCreateInfoEXT & - setValidationCache( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache_ ) VULKAN_HPP_NOEXCEPT - { - validationCache = validationCache_; - return *this; - } - - operator VkShaderModuleValidationCacheCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkShaderModuleValidationCacheCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShaderModuleValidationCacheCreateInfoEXT const & ) const = default; -#else - bool operator==( ShaderModuleValidationCacheCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( validationCache == rhs.validationCache ); - } - - bool operator!=( ShaderModuleValidationCacheCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eShaderModuleValidationCacheCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache = {}; - }; - static_assert( sizeof( ShaderModuleValidationCacheCreateInfoEXT ) == - sizeof( VkShaderModuleValidationCacheCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ShaderModuleValidationCacheCreateInfoEXT; - }; - - struct ShaderResourceUsageAMD - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ShaderResourceUsageAMD( uint32_t numUsedVgprs_ = {}, - uint32_t numUsedSgprs_ = {}, - uint32_t ldsSizePerLocalWorkGroup_ = {}, - size_t ldsUsageSizeInBytes_ = {}, - size_t scratchMemUsageInBytes_ = {} ) VULKAN_HPP_NOEXCEPT - : numUsedVgprs( numUsedVgprs_ ) - , numUsedSgprs( numUsedSgprs_ ) - , ldsSizePerLocalWorkGroup( ldsSizePerLocalWorkGroup_ ) - , ldsUsageSizeInBytes( ldsUsageSizeInBytes_ ) - , scratchMemUsageInBytes( scratchMemUsageInBytes_ ) - {} - - VULKAN_HPP_CONSTEXPR ShaderResourceUsageAMD( ShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderResourceUsageAMD( VkShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : ShaderResourceUsageAMD( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ShaderResourceUsageAMD & - operator=( ShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderResourceUsageAMD & operator=( VkShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkShaderResourceUsageAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkShaderResourceUsageAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShaderResourceUsageAMD const & ) const = default; -#else - bool operator==( ShaderResourceUsageAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( numUsedVgprs == rhs.numUsedVgprs ) && ( numUsedSgprs == rhs.numUsedSgprs ) && - ( ldsSizePerLocalWorkGroup == rhs.ldsSizePerLocalWorkGroup ) && - ( ldsUsageSizeInBytes == rhs.ldsUsageSizeInBytes ) && - ( scratchMemUsageInBytes == rhs.scratchMemUsageInBytes ); - } - - bool operator!=( ShaderResourceUsageAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t numUsedVgprs = {}; - uint32_t numUsedSgprs = {}; - uint32_t ldsSizePerLocalWorkGroup = {}; - size_t ldsUsageSizeInBytes = {}; - size_t scratchMemUsageInBytes = {}; - }; - static_assert( sizeof( ShaderResourceUsageAMD ) == sizeof( VkShaderResourceUsageAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct ShaderStatisticsInfoAMD - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 - ShaderStatisticsInfoAMD( VULKAN_HPP_NAMESPACE::ShaderStageFlags shaderStageMask_ = {}, - VULKAN_HPP_NAMESPACE::ShaderResourceUsageAMD resourceUsage_ = {}, - uint32_t numPhysicalVgprs_ = {}, - uint32_t numPhysicalSgprs_ = {}, - uint32_t numAvailableVgprs_ = {}, - uint32_t numAvailableSgprs_ = {}, - std::array const & computeWorkGroupSize_ = {} ) VULKAN_HPP_NOEXCEPT - : shaderStageMask( shaderStageMask_ ) - , resourceUsage( resourceUsage_ ) - , numPhysicalVgprs( numPhysicalVgprs_ ) - , numPhysicalSgprs( numPhysicalSgprs_ ) - , numAvailableVgprs( numAvailableVgprs_ ) - , numAvailableSgprs( numAvailableSgprs_ ) - , computeWorkGroupSize( computeWorkGroupSize_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - ShaderStatisticsInfoAMD( ShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderStatisticsInfoAMD( VkShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : ShaderStatisticsInfoAMD( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ShaderStatisticsInfoAMD & - operator=( ShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ShaderStatisticsInfoAMD & operator=( VkShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkShaderStatisticsInfoAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkShaderStatisticsInfoAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ShaderStatisticsInfoAMD const & ) const = default; -#else - bool operator==( ShaderStatisticsInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( shaderStageMask == rhs.shaderStageMask ) && ( resourceUsage == rhs.resourceUsage ) && - ( numPhysicalVgprs == rhs.numPhysicalVgprs ) && ( numPhysicalSgprs == rhs.numPhysicalSgprs ) && - ( numAvailableVgprs == rhs.numAvailableVgprs ) && ( numAvailableSgprs == rhs.numAvailableSgprs ) && - ( computeWorkGroupSize == rhs.computeWorkGroupSize ); - } - - bool operator!=( ShaderStatisticsInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::ShaderStageFlags shaderStageMask = {}; - VULKAN_HPP_NAMESPACE::ShaderResourceUsageAMD resourceUsage = {}; - uint32_t numPhysicalVgprs = {}; - uint32_t numPhysicalSgprs = {}; - uint32_t numAvailableVgprs = {}; - uint32_t numAvailableSgprs = {}; - VULKAN_HPP_NAMESPACE::ArrayWrapper1D computeWorkGroupSize = {}; - }; - static_assert( sizeof( ShaderStatisticsInfoAMD ) == sizeof( VkShaderStatisticsInfoAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - struct SharedPresentSurfaceCapabilitiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSharedPresentSurfaceCapabilitiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SharedPresentSurfaceCapabilitiesKHR( - VULKAN_HPP_NAMESPACE::ImageUsageFlags sharedPresentSupportedUsageFlags_ = {} ) VULKAN_HPP_NOEXCEPT - : sharedPresentSupportedUsageFlags( sharedPresentSupportedUsageFlags_ ) - {} - - VULKAN_HPP_CONSTEXPR SharedPresentSurfaceCapabilitiesKHR( SharedPresentSurfaceCapabilitiesKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SharedPresentSurfaceCapabilitiesKHR( VkSharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SharedPresentSurfaceCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SharedPresentSurfaceCapabilitiesKHR & - operator=( SharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SharedPresentSurfaceCapabilitiesKHR & - operator=( VkSharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkSharedPresentSurfaceCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSharedPresentSurfaceCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SharedPresentSurfaceCapabilitiesKHR const & ) const = default; -#else - bool operator==( SharedPresentSurfaceCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( sharedPresentSupportedUsageFlags == rhs.sharedPresentSupportedUsageFlags ); - } - - bool operator!=( SharedPresentSurfaceCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSharedPresentSurfaceCapabilitiesKHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::ImageUsageFlags sharedPresentSupportedUsageFlags = {}; - }; - static_assert( sizeof( SharedPresentSurfaceCapabilitiesKHR ) == sizeof( VkSharedPresentSurfaceCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SharedPresentSurfaceCapabilitiesKHR; - }; - -#if defined( VK_USE_PLATFORM_GGP ) - struct StreamDescriptorSurfaceCreateInfoGGP - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eStreamDescriptorSurfaceCreateInfoGGP; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - StreamDescriptorSurfaceCreateInfoGGP( VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags_ = {}, - GgpStreamDescriptor streamDescriptor_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , streamDescriptor( streamDescriptor_ ) - {} - - VULKAN_HPP_CONSTEXPR StreamDescriptorSurfaceCreateInfoGGP( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - StreamDescriptorSurfaceCreateInfoGGP( VkStreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT - : StreamDescriptorSurfaceCreateInfoGGP( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 StreamDescriptorSurfaceCreateInfoGGP & - operator=( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - StreamDescriptorSurfaceCreateInfoGGP & - operator=( VkStreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - StreamDescriptorSurfaceCreateInfoGGP & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - StreamDescriptorSurfaceCreateInfoGGP & - setFlags( VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - StreamDescriptorSurfaceCreateInfoGGP & - setStreamDescriptor( GgpStreamDescriptor streamDescriptor_ ) VULKAN_HPP_NOEXCEPT - { - streamDescriptor = streamDescriptor_; - return *this; - } - - operator VkStreamDescriptorSurfaceCreateInfoGGP const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkStreamDescriptorSurfaceCreateInfoGGP &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( StreamDescriptorSurfaceCreateInfoGGP const & ) const = default; -# else - bool operator==( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( memcmp( &streamDescriptor, &rhs.streamDescriptor, sizeof( GgpStreamDescriptor ) ) == 0 ); - } - - bool operator!=( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eStreamDescriptorSurfaceCreateInfoGGP; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags = {}; - GgpStreamDescriptor streamDescriptor = {}; - }; - static_assert( sizeof( StreamDescriptorSurfaceCreateInfoGGP ) == sizeof( VkStreamDescriptorSurfaceCreateInfoGGP ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = StreamDescriptorSurfaceCreateInfoGGP; - }; -#endif /*VK_USE_PLATFORM_GGP*/ - - struct SubpassDescriptionDepthStencilResolve - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSubpassDescriptionDepthStencilResolve; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SubpassDescriptionDepthStencilResolve( - VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode_ = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone, - VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode_ = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone, - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilResolveAttachment_ = {} ) VULKAN_HPP_NOEXCEPT - : depthResolveMode( depthResolveMode_ ) - , stencilResolveMode( stencilResolveMode_ ) - , pDepthStencilResolveAttachment( pDepthStencilResolveAttachment_ ) - {} - - VULKAN_HPP_CONSTEXPR SubpassDescriptionDepthStencilResolve( SubpassDescriptionDepthStencilResolve const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SubpassDescriptionDepthStencilResolve( VkSubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT - : SubpassDescriptionDepthStencilResolve( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SubpassDescriptionDepthStencilResolve & - operator=( SubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SubpassDescriptionDepthStencilResolve & - operator=( VkSubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SubpassDescriptionDepthStencilResolve & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SubpassDescriptionDepthStencilResolve & - setDepthResolveMode( VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode_ ) VULKAN_HPP_NOEXCEPT - { - depthResolveMode = depthResolveMode_; - return *this; - } - - SubpassDescriptionDepthStencilResolve & - setStencilResolveMode( VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode_ ) VULKAN_HPP_NOEXCEPT - { - stencilResolveMode = stencilResolveMode_; - return *this; - } - - SubpassDescriptionDepthStencilResolve & setPDepthStencilResolveAttachment( - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilResolveAttachment_ ) VULKAN_HPP_NOEXCEPT - { - pDepthStencilResolveAttachment = pDepthStencilResolveAttachment_; - return *this; - } - - operator VkSubpassDescriptionDepthStencilResolve const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSubpassDescriptionDepthStencilResolve &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SubpassDescriptionDepthStencilResolve const & ) const = default; -#else - bool operator==( SubpassDescriptionDepthStencilResolve const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( depthResolveMode == rhs.depthResolveMode ) && - ( stencilResolveMode == rhs.stencilResolveMode ) && - ( pDepthStencilResolveAttachment == rhs.pDepthStencilResolveAttachment ); - } - - bool operator!=( SubpassDescriptionDepthStencilResolve const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDescriptionDepthStencilResolve; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone; - VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone; - const VULKAN_HPP_NAMESPACE::AttachmentReference2 * pDepthStencilResolveAttachment = {}; - }; - static_assert( sizeof( SubpassDescriptionDepthStencilResolve ) == sizeof( VkSubpassDescriptionDepthStencilResolve ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SubpassDescriptionDepthStencilResolve; - }; - using SubpassDescriptionDepthStencilResolveKHR = SubpassDescriptionDepthStencilResolve; - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct SurfaceCapabilitiesFullScreenExclusiveEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesFullScreenExclusiveEXT( - VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported_ = {} ) VULKAN_HPP_NOEXCEPT - : fullScreenExclusiveSupported( fullScreenExclusiveSupported_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesFullScreenExclusiveEXT( - SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilitiesFullScreenExclusiveEXT( VkSurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : SurfaceCapabilitiesFullScreenExclusiveEXT( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceCapabilitiesFullScreenExclusiveEXT & - operator=( SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceCapabilitiesFullScreenExclusiveEXT & - operator=( VkSurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SurfaceCapabilitiesFullScreenExclusiveEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SurfaceCapabilitiesFullScreenExclusiveEXT & - setFullScreenExclusiveSupported( VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported_ ) VULKAN_HPP_NOEXCEPT - { - fullScreenExclusiveSupported = fullScreenExclusiveSupported_; - return *this; - } - - operator VkSurfaceCapabilitiesFullScreenExclusiveEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceCapabilitiesFullScreenExclusiveEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceCapabilitiesFullScreenExclusiveEXT const & ) const = default; -# else - bool operator==( SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( fullScreenExclusiveSupported == rhs.fullScreenExclusiveSupported ); - } - - bool operator!=( SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported = {}; - }; - static_assert( sizeof( SurfaceCapabilitiesFullScreenExclusiveEXT ) == - sizeof( VkSurfaceCapabilitiesFullScreenExclusiveEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceCapabilitiesFullScreenExclusiveEXT; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct SurfaceFullScreenExclusiveInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSurfaceFullScreenExclusiveInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SurfaceFullScreenExclusiveInfoEXT( VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive_ = - VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT::eDefault ) VULKAN_HPP_NOEXCEPT - : fullScreenExclusive( fullScreenExclusive_ ) - {} - - VULKAN_HPP_CONSTEXPR - SurfaceFullScreenExclusiveInfoEXT( SurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFullScreenExclusiveInfoEXT( VkSurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceFullScreenExclusiveInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceFullScreenExclusiveInfoEXT & - operator=( SurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFullScreenExclusiveInfoEXT & operator=( VkSurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SurfaceFullScreenExclusiveInfoEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SurfaceFullScreenExclusiveInfoEXT & - setFullScreenExclusive( VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive_ ) VULKAN_HPP_NOEXCEPT - { - fullScreenExclusive = fullScreenExclusive_; - return *this; - } - - operator VkSurfaceFullScreenExclusiveInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceFullScreenExclusiveInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceFullScreenExclusiveInfoEXT const & ) const = default; -# else - bool operator==( SurfaceFullScreenExclusiveInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( fullScreenExclusive == rhs.fullScreenExclusive ); - } - - bool operator!=( SurfaceFullScreenExclusiveInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFullScreenExclusiveInfoEXT; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive = - VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT::eDefault; - }; - static_assert( sizeof( SurfaceFullScreenExclusiveInfoEXT ) == sizeof( VkSurfaceFullScreenExclusiveInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceFullScreenExclusiveInfoEXT; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct SurfaceFullScreenExclusiveWin32InfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveWin32InfoEXT( HMONITOR hmonitor_ = {} ) VULKAN_HPP_NOEXCEPT - : hmonitor( hmonitor_ ) - {} - - VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveWin32InfoEXT( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SurfaceFullScreenExclusiveWin32InfoEXT( VkSurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceFullScreenExclusiveWin32InfoEXT( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceFullScreenExclusiveWin32InfoEXT & - operator=( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceFullScreenExclusiveWin32InfoEXT & - operator=( VkSurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SurfaceFullScreenExclusiveWin32InfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SurfaceFullScreenExclusiveWin32InfoEXT & setHmonitor( HMONITOR hmonitor_ ) VULKAN_HPP_NOEXCEPT - { - hmonitor = hmonitor_; - return *this; - } - - operator VkSurfaceFullScreenExclusiveWin32InfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceFullScreenExclusiveWin32InfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceFullScreenExclusiveWin32InfoEXT const & ) const = default; -# else - bool operator==( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( hmonitor == rhs.hmonitor ); - } - - bool operator!=( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT; - const void * pNext = {}; - HMONITOR hmonitor = {}; - }; - static_assert( sizeof( SurfaceFullScreenExclusiveWin32InfoEXT ) == sizeof( VkSurfaceFullScreenExclusiveWin32InfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceFullScreenExclusiveWin32InfoEXT; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct SurfaceProtectedCapabilitiesKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceProtectedCapabilitiesKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - SurfaceProtectedCapabilitiesKHR( VULKAN_HPP_NAMESPACE::Bool32 supportsProtected_ = {} ) VULKAN_HPP_NOEXCEPT - : supportsProtected( supportsProtected_ ) - {} - - VULKAN_HPP_CONSTEXPR - SurfaceProtectedCapabilitiesKHR( SurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceProtectedCapabilitiesKHR( VkSurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : SurfaceProtectedCapabilitiesKHR( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SurfaceProtectedCapabilitiesKHR & - operator=( SurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SurfaceProtectedCapabilitiesKHR & operator=( VkSurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SurfaceProtectedCapabilitiesKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SurfaceProtectedCapabilitiesKHR & - setSupportsProtected( VULKAN_HPP_NAMESPACE::Bool32 supportsProtected_ ) VULKAN_HPP_NOEXCEPT - { - supportsProtected = supportsProtected_; - return *this; - } - - operator VkSurfaceProtectedCapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSurfaceProtectedCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SurfaceProtectedCapabilitiesKHR const & ) const = default; -#else - bool operator==( SurfaceProtectedCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( supportsProtected == rhs.supportsProtected ); - } - - bool operator!=( SurfaceProtectedCapabilitiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceProtectedCapabilitiesKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 supportsProtected = {}; - }; - static_assert( sizeof( SurfaceProtectedCapabilitiesKHR ) == sizeof( VkSurfaceProtectedCapabilitiesKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SurfaceProtectedCapabilitiesKHR; - }; - - struct SwapchainCounterCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainCounterCreateInfoEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SwapchainCounterCreateInfoEXT( - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters_ = {} ) VULKAN_HPP_NOEXCEPT - : surfaceCounters( surfaceCounters_ ) - {} - - VULKAN_HPP_CONSTEXPR - SwapchainCounterCreateInfoEXT( SwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SwapchainCounterCreateInfoEXT( VkSwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : SwapchainCounterCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SwapchainCounterCreateInfoEXT & - operator=( SwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SwapchainCounterCreateInfoEXT & operator=( VkSwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SwapchainCounterCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SwapchainCounterCreateInfoEXT & - setSurfaceCounters( VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters_ ) VULKAN_HPP_NOEXCEPT - { - surfaceCounters = surfaceCounters_; - return *this; - } - - operator VkSwapchainCounterCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSwapchainCounterCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SwapchainCounterCreateInfoEXT const & ) const = default; -#else - bool operator==( SwapchainCounterCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( surfaceCounters == rhs.surfaceCounters ); - } - - bool operator!=( SwapchainCounterCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainCounterCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters = {}; - }; - static_assert( sizeof( SwapchainCounterCreateInfoEXT ) == sizeof( VkSwapchainCounterCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SwapchainCounterCreateInfoEXT; - }; - - struct SwapchainDisplayNativeHdrCreateInfoAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR SwapchainDisplayNativeHdrCreateInfoAMD( VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable_ = {} ) - VULKAN_HPP_NOEXCEPT : localDimmingEnable( localDimmingEnable_ ) - {} - - VULKAN_HPP_CONSTEXPR SwapchainDisplayNativeHdrCreateInfoAMD( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - SwapchainDisplayNativeHdrCreateInfoAMD( VkSwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : SwapchainDisplayNativeHdrCreateInfoAMD( - *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 SwapchainDisplayNativeHdrCreateInfoAMD & - operator=( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - SwapchainDisplayNativeHdrCreateInfoAMD & - operator=( VkSwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - SwapchainDisplayNativeHdrCreateInfoAMD & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - SwapchainDisplayNativeHdrCreateInfoAMD & - setLocalDimmingEnable( VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable_ ) VULKAN_HPP_NOEXCEPT - { - localDimmingEnable = localDimmingEnable_; - return *this; - } - - operator VkSwapchainDisplayNativeHdrCreateInfoAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkSwapchainDisplayNativeHdrCreateInfoAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( SwapchainDisplayNativeHdrCreateInfoAMD const & ) const = default; -#else - bool operator==( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( localDimmingEnable == rhs.localDimmingEnable ); - } - - bool operator!=( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable = {}; - }; - static_assert( sizeof( SwapchainDisplayNativeHdrCreateInfoAMD ) == sizeof( VkSwapchainDisplayNativeHdrCreateInfoAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = SwapchainDisplayNativeHdrCreateInfoAMD; - }; - - struct TextureLODGatherFormatPropertiesAMD - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eTextureLodGatherFormatPropertiesAMD; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR TextureLODGatherFormatPropertiesAMD( - VULKAN_HPP_NAMESPACE::Bool32 supportsTextureGatherLODBiasAMD_ = {} ) VULKAN_HPP_NOEXCEPT - : supportsTextureGatherLODBiasAMD( supportsTextureGatherLODBiasAMD_ ) - {} - - VULKAN_HPP_CONSTEXPR TextureLODGatherFormatPropertiesAMD( TextureLODGatherFormatPropertiesAMD const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - TextureLODGatherFormatPropertiesAMD( VkTextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - : TextureLODGatherFormatPropertiesAMD( *reinterpret_cast( &rhs ) ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 TextureLODGatherFormatPropertiesAMD & - operator=( TextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TextureLODGatherFormatPropertiesAMD & - operator=( VkTextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkTextureLODGatherFormatPropertiesAMD const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkTextureLODGatherFormatPropertiesAMD &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( TextureLODGatherFormatPropertiesAMD const & ) const = default; -#else - bool operator==( TextureLODGatherFormatPropertiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( supportsTextureGatherLODBiasAMD == rhs.supportsTextureGatherLODBiasAMD ); - } - - bool operator!=( TextureLODGatherFormatPropertiesAMD const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eTextureLodGatherFormatPropertiesAMD; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::Bool32 supportsTextureGatherLODBiasAMD = {}; - }; - static_assert( sizeof( TextureLODGatherFormatPropertiesAMD ) == sizeof( VkTextureLODGatherFormatPropertiesAMD ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = TextureLODGatherFormatPropertiesAMD; - }; - - struct TimelineSemaphoreSubmitInfo - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eTimelineSemaphoreSubmitInfo; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - TimelineSemaphoreSubmitInfo( uint32_t waitSemaphoreValueCount_ = {}, - const uint64_t * pWaitSemaphoreValues_ = {}, - uint32_t signalSemaphoreValueCount_ = {}, - const uint64_t * pSignalSemaphoreValues_ = {} ) VULKAN_HPP_NOEXCEPT - : waitSemaphoreValueCount( waitSemaphoreValueCount_ ) - , pWaitSemaphoreValues( pWaitSemaphoreValues_ ) - , signalSemaphoreValueCount( signalSemaphoreValueCount_ ) - , pSignalSemaphoreValues( pSignalSemaphoreValues_ ) - {} - - VULKAN_HPP_CONSTEXPR - TimelineSemaphoreSubmitInfo( TimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TimelineSemaphoreSubmitInfo( VkTimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - : TimelineSemaphoreSubmitInfo( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - TimelineSemaphoreSubmitInfo( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ = {} ) - : waitSemaphoreValueCount( static_cast( waitSemaphoreValues_.size() ) ) - , pWaitSemaphoreValues( waitSemaphoreValues_.data() ) - , signalSemaphoreValueCount( static_cast( signalSemaphoreValues_.size() ) ) - , pSignalSemaphoreValues( signalSemaphoreValues_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 TimelineSemaphoreSubmitInfo & - operator=( TimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TimelineSemaphoreSubmitInfo & operator=( VkTimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - TimelineSemaphoreSubmitInfo & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - TimelineSemaphoreSubmitInfo & setWaitSemaphoreValueCount( uint32_t waitSemaphoreValueCount_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreValueCount = waitSemaphoreValueCount_; - return *this; - } - - TimelineSemaphoreSubmitInfo & setPWaitSemaphoreValues( const uint64_t * pWaitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - pWaitSemaphoreValues = pWaitSemaphoreValues_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - TimelineSemaphoreSubmitInfo & setWaitSemaphoreValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - waitSemaphoreValueCount = static_cast( waitSemaphoreValues_.size() ); - pWaitSemaphoreValues = waitSemaphoreValues_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - TimelineSemaphoreSubmitInfo & - setSignalSemaphoreValueCount( uint32_t signalSemaphoreValueCount_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreValueCount = signalSemaphoreValueCount_; - return *this; - } - - TimelineSemaphoreSubmitInfo & - setPSignalSemaphoreValues( const uint64_t * pSignalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - pSignalSemaphoreValues = pSignalSemaphoreValues_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - TimelineSemaphoreSubmitInfo & setSignalSemaphoreValues( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT - { - signalSemaphoreValueCount = static_cast( signalSemaphoreValues_.size() ); - pSignalSemaphoreValues = signalSemaphoreValues_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkTimelineSemaphoreSubmitInfo const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkTimelineSemaphoreSubmitInfo &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( TimelineSemaphoreSubmitInfo const & ) const = default; -#else - bool operator==( TimelineSemaphoreSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( waitSemaphoreValueCount == rhs.waitSemaphoreValueCount ) && - ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues ) && - ( signalSemaphoreValueCount == rhs.signalSemaphoreValueCount ) && - ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues ); - } - - bool operator!=( TimelineSemaphoreSubmitInfo const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eTimelineSemaphoreSubmitInfo; - const void * pNext = {}; - uint32_t waitSemaphoreValueCount = {}; - const uint64_t * pWaitSemaphoreValues = {}; - uint32_t signalSemaphoreValueCount = {}; - const uint64_t * pSignalSemaphoreValues = {}; - }; - static_assert( sizeof( TimelineSemaphoreSubmitInfo ) == sizeof( VkTimelineSemaphoreSubmitInfo ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = TimelineSemaphoreSubmitInfo; - }; - using TimelineSemaphoreSubmitInfoKHR = TimelineSemaphoreSubmitInfo; - - struct TraceRaysIndirectCommandKHR - { -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR TraceRaysIndirectCommandKHR( uint32_t width_ = {}, - uint32_t height_ = {}, - uint32_t depth_ = {} ) VULKAN_HPP_NOEXCEPT - : width( width_ ) - , height( height_ ) - , depth( depth_ ) - {} - - VULKAN_HPP_CONSTEXPR - TraceRaysIndirectCommandKHR( TraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TraceRaysIndirectCommandKHR( VkTraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : TraceRaysIndirectCommandKHR( *reinterpret_cast( &rhs ) ) - {} - - explicit TraceRaysIndirectCommandKHR( Extent2D const & extent2D, uint32_t depth_ = {} ) - : width( extent2D.width ), height( extent2D.height ), depth( depth_ ) - {} -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 TraceRaysIndirectCommandKHR & - operator=( TraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - TraceRaysIndirectCommandKHR & operator=( VkTraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - TraceRaysIndirectCommandKHR & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT - { - width = width_; - return *this; - } - - TraceRaysIndirectCommandKHR & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT - { - height = height_; - return *this; - } - - TraceRaysIndirectCommandKHR & setDepth( uint32_t depth_ ) VULKAN_HPP_NOEXCEPT - { - depth = depth_; - return *this; - } - - operator VkTraceRaysIndirectCommandKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkTraceRaysIndirectCommandKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( TraceRaysIndirectCommandKHR const & ) const = default; -#else - bool operator==( TraceRaysIndirectCommandKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( width == rhs.width ) && ( height == rhs.height ) && ( depth == rhs.depth ); - } - - bool operator!=( TraceRaysIndirectCommandKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - uint32_t width = {}; - uint32_t height = {}; - uint32_t depth = {}; - }; - static_assert( sizeof( TraceRaysIndirectCommandKHR ) == sizeof( VkTraceRaysIndirectCommandKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - struct ValidationFeaturesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationFeaturesEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ValidationFeaturesEXT( - uint32_t enabledValidationFeatureCount_ = {}, - const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT * pEnabledValidationFeatures_ = {}, - uint32_t disabledValidationFeatureCount_ = {}, - const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT * pDisabledValidationFeatures_ = {} ) VULKAN_HPP_NOEXCEPT - : enabledValidationFeatureCount( enabledValidationFeatureCount_ ) - , pEnabledValidationFeatures( pEnabledValidationFeatures_ ) - , disabledValidationFeatureCount( disabledValidationFeatureCount_ ) - , pDisabledValidationFeatures( pDisabledValidationFeatures_ ) - {} - - VULKAN_HPP_CONSTEXPR ValidationFeaturesEXT( ValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationFeaturesEXT( VkValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ValidationFeaturesEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ValidationFeaturesEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - enabledValidationFeatures_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - disabledValidationFeatures_ = {} ) - : enabledValidationFeatureCount( static_cast( enabledValidationFeatures_.size() ) ) - , pEnabledValidationFeatures( enabledValidationFeatures_.data() ) - , disabledValidationFeatureCount( static_cast( disabledValidationFeatures_.size() ) ) - , pDisabledValidationFeatures( disabledValidationFeatures_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ValidationFeaturesEXT & - operator=( ValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationFeaturesEXT & operator=( VkValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ValidationFeaturesEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ValidationFeaturesEXT & - setEnabledValidationFeatureCount( uint32_t enabledValidationFeatureCount_ ) VULKAN_HPP_NOEXCEPT - { - enabledValidationFeatureCount = enabledValidationFeatureCount_; - return *this; - } - - ValidationFeaturesEXT & setPEnabledValidationFeatures( - const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT * pEnabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT - { - pEnabledValidationFeatures = pEnabledValidationFeatures_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ValidationFeaturesEXT & setEnabledValidationFeatures( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - enabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT - { - enabledValidationFeatureCount = static_cast( enabledValidationFeatures_.size() ); - pEnabledValidationFeatures = enabledValidationFeatures_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - ValidationFeaturesEXT & - setDisabledValidationFeatureCount( uint32_t disabledValidationFeatureCount_ ) VULKAN_HPP_NOEXCEPT - { - disabledValidationFeatureCount = disabledValidationFeatureCount_; - return *this; - } - - ValidationFeaturesEXT & setPDisabledValidationFeatures( - const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT * pDisabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT - { - pDisabledValidationFeatures = pDisabledValidationFeatures_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ValidationFeaturesEXT & setDisabledValidationFeatures( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - disabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT - { - disabledValidationFeatureCount = static_cast( disabledValidationFeatures_.size() ); - pDisabledValidationFeatures = disabledValidationFeatures_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkValidationFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkValidationFeaturesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ValidationFeaturesEXT const & ) const = default; -#else - bool operator==( ValidationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( enabledValidationFeatureCount == rhs.enabledValidationFeatureCount ) && - ( pEnabledValidationFeatures == rhs.pEnabledValidationFeatures ) && - ( disabledValidationFeatureCount == rhs.disabledValidationFeatureCount ) && - ( pDisabledValidationFeatures == rhs.pDisabledValidationFeatures ); - } - - bool operator!=( ValidationFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationFeaturesEXT; - const void * pNext = {}; - uint32_t enabledValidationFeatureCount = {}; - const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT * pEnabledValidationFeatures = {}; - uint32_t disabledValidationFeatureCount = {}; - const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT * pDisabledValidationFeatures = {}; - }; - static_assert( sizeof( ValidationFeaturesEXT ) == sizeof( VkValidationFeaturesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ValidationFeaturesEXT; - }; - - struct ValidationFlagsEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationFlagsEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ValidationFlagsEXT( - uint32_t disabledValidationCheckCount_ = {}, - const VULKAN_HPP_NAMESPACE::ValidationCheckEXT * pDisabledValidationChecks_ = {} ) VULKAN_HPP_NOEXCEPT - : disabledValidationCheckCount( disabledValidationCheckCount_ ) - , pDisabledValidationChecks( pDisabledValidationChecks_ ) - {} - - VULKAN_HPP_CONSTEXPR ValidationFlagsEXT( ValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationFlagsEXT( VkValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : ValidationFlagsEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ValidationFlagsEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - disabledValidationChecks_ ) - : disabledValidationCheckCount( static_cast( disabledValidationChecks_.size() ) ) - , pDisabledValidationChecks( disabledValidationChecks_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ValidationFlagsEXT & - operator=( ValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ValidationFlagsEXT & operator=( VkValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ValidationFlagsEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ValidationFlagsEXT & setDisabledValidationCheckCount( uint32_t disabledValidationCheckCount_ ) VULKAN_HPP_NOEXCEPT - { - disabledValidationCheckCount = disabledValidationCheckCount_; - return *this; - } - - ValidationFlagsEXT & setPDisabledValidationChecks( - const VULKAN_HPP_NAMESPACE::ValidationCheckEXT * pDisabledValidationChecks_ ) VULKAN_HPP_NOEXCEPT - { - pDisabledValidationChecks = pDisabledValidationChecks_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - ValidationFlagsEXT & setDisabledValidationChecks( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - disabledValidationChecks_ ) VULKAN_HPP_NOEXCEPT - { - disabledValidationCheckCount = static_cast( disabledValidationChecks_.size() ); - pDisabledValidationChecks = disabledValidationChecks_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkValidationFlagsEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkValidationFlagsEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ValidationFlagsEXT const & ) const = default; -#else - bool operator==( ValidationFlagsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( disabledValidationCheckCount == rhs.disabledValidationCheckCount ) && - ( pDisabledValidationChecks == rhs.pDisabledValidationChecks ); - } - - bool operator!=( ValidationFlagsEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationFlagsEXT; - const void * pNext = {}; - uint32_t disabledValidationCheckCount = {}; - const VULKAN_HPP_NAMESPACE::ValidationCheckEXT * pDisabledValidationChecks = {}; - }; - static_assert( sizeof( ValidationFlagsEXT ) == sizeof( VkValidationFlagsEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ValidationFlagsEXT; - }; - -#if defined( VK_USE_PLATFORM_VI_NN ) - struct ViSurfaceCreateInfoNN - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eViSurfaceCreateInfoNN; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR ViSurfaceCreateInfoNN( VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags_ = {}, - void * window_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , window( window_ ) - {} - - VULKAN_HPP_CONSTEXPR ViSurfaceCreateInfoNN( ViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViSurfaceCreateInfoNN( VkViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT - : ViSurfaceCreateInfoNN( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 ViSurfaceCreateInfoNN & - operator=( ViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - ViSurfaceCreateInfoNN & operator=( VkViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - ViSurfaceCreateInfoNN & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - ViSurfaceCreateInfoNN & setFlags( VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - ViSurfaceCreateInfoNN & setWindow( void * window_ ) VULKAN_HPP_NOEXCEPT - { - window = window_; - return *this; - } - - operator VkViSurfaceCreateInfoNN const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkViSurfaceCreateInfoNN &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( ViSurfaceCreateInfoNN const & ) const = default; -# else - bool operator==( ViSurfaceCreateInfoNN const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( window == rhs.window ); - } - - bool operator!=( ViSurfaceCreateInfoNN const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eViSurfaceCreateInfoNN; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags = {}; - void * window = {}; - }; - static_assert( sizeof( ViSurfaceCreateInfoNN ) == sizeof( VkViSurfaceCreateInfoNN ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = ViSurfaceCreateInfoNN; - }; -#endif /*VK_USE_PLATFORM_VI_NN*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264CapabilitiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH264CapabilitiesEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264CapabilitiesEXT( - uint32_t maxLevel_ = {}, - VULKAN_HPP_NAMESPACE::Offset2D fieldOffsetGranularity_ = {}, - VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : maxLevel( maxLevel_ ) - , fieldOffsetGranularity( fieldOffsetGranularity_ ) - , stdExtensionVersion( stdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - VideoDecodeH264CapabilitiesEXT( VideoDecodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264CapabilitiesEXT( VkVideoDecodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264CapabilitiesEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264CapabilitiesEXT & - operator=( VideoDecodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264CapabilitiesEXT & operator=( VkVideoDecodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkVideoDecodeH264CapabilitiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264CapabilitiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264CapabilitiesEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxLevel == rhs.maxLevel ) && - ( fieldOffsetGranularity == rhs.fieldOffsetGranularity ) && - ( stdExtensionVersion == rhs.stdExtensionVersion ); - } - - bool operator!=( VideoDecodeH264CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264CapabilitiesEXT; - void * pNext = {}; - uint32_t maxLevel = {}; - VULKAN_HPP_NAMESPACE::Offset2D fieldOffsetGranularity = {}; - VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion = {}; - }; - static_assert( sizeof( VideoDecodeH264CapabilitiesEXT ) == sizeof( VkVideoDecodeH264CapabilitiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264CapabilitiesEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264DpbSlotInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH264DpbSlotInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264DpbSlotInfoEXT( - const StdVideoDecodeH264ReferenceInfo * pStdReferenceInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : pStdReferenceInfo( pStdReferenceInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH264DpbSlotInfoEXT( VideoDecodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264DpbSlotInfoEXT( VkVideoDecodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264DpbSlotInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264DpbSlotInfoEXT & - operator=( VideoDecodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264DpbSlotInfoEXT & operator=( VkVideoDecodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264DpbSlotInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264DpbSlotInfoEXT & - setPStdReferenceInfo( const StdVideoDecodeH264ReferenceInfo * pStdReferenceInfo_ ) VULKAN_HPP_NOEXCEPT - { - pStdReferenceInfo = pStdReferenceInfo_; - return *this; - } - - operator VkVideoDecodeH264DpbSlotInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264DpbSlotInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264DpbSlotInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pStdReferenceInfo == rhs.pStdReferenceInfo ); - } - - bool operator!=( VideoDecodeH264DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264DpbSlotInfoEXT; - const void * pNext = {}; - const StdVideoDecodeH264ReferenceInfo * pStdReferenceInfo = {}; - }; - static_assert( sizeof( VideoDecodeH264DpbSlotInfoEXT ) == sizeof( VkVideoDecodeH264DpbSlotInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264DpbSlotInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264MvcEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH264MvcEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264MvcEXT( const StdVideoDecodeH264Mvc * pStdMvc_ = {} ) VULKAN_HPP_NOEXCEPT - : pStdMvc( pStdMvc_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeH264MvcEXT( VideoDecodeH264MvcEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264MvcEXT( VkVideoDecodeH264MvcEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264MvcEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264MvcEXT & - operator=( VideoDecodeH264MvcEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264MvcEXT & operator=( VkVideoDecodeH264MvcEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264MvcEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264MvcEXT & setPStdMvc( const StdVideoDecodeH264Mvc * pStdMvc_ ) VULKAN_HPP_NOEXCEPT - { - pStdMvc = pStdMvc_; - return *this; - } - - operator VkVideoDecodeH264MvcEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264MvcEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264MvcEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264MvcEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pStdMvc == rhs.pStdMvc ); - } - - bool operator!=( VideoDecodeH264MvcEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264MvcEXT; - const void * pNext = {}; - const StdVideoDecodeH264Mvc * pStdMvc = {}; - }; - static_assert( sizeof( VideoDecodeH264MvcEXT ) == sizeof( VkVideoDecodeH264MvcEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264MvcEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264PictureInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH264PictureInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264PictureInfoEXT( const StdVideoDecodeH264PictureInfo * pStdPictureInfo_ = {}, - uint32_t slicesCount_ = {}, - const uint32_t * pSlicesDataOffsets_ = {} ) VULKAN_HPP_NOEXCEPT - : pStdPictureInfo( pStdPictureInfo_ ) - , slicesCount( slicesCount_ ) - , pSlicesDataOffsets( pSlicesDataOffsets_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH264PictureInfoEXT( VideoDecodeH264PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264PictureInfoEXT( VkVideoDecodeH264PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264PictureInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH264PictureInfoEXT( - const StdVideoDecodeH264PictureInfo * pStdPictureInfo_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & slicesDataOffsets_ ) - : pStdPictureInfo( pStdPictureInfo_ ) - , slicesCount( static_cast( slicesDataOffsets_.size() ) ) - , pSlicesDataOffsets( slicesDataOffsets_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264PictureInfoEXT & - operator=( VideoDecodeH264PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264PictureInfoEXT & operator=( VkVideoDecodeH264PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264PictureInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264PictureInfoEXT & - setPStdPictureInfo( const StdVideoDecodeH264PictureInfo * pStdPictureInfo_ ) VULKAN_HPP_NOEXCEPT - { - pStdPictureInfo = pStdPictureInfo_; - return *this; - } - - VideoDecodeH264PictureInfoEXT & setSlicesCount( uint32_t slicesCount_ ) VULKAN_HPP_NOEXCEPT - { - slicesCount = slicesCount_; - return *this; - } - - VideoDecodeH264PictureInfoEXT & setPSlicesDataOffsets( const uint32_t * pSlicesDataOffsets_ ) VULKAN_HPP_NOEXCEPT - { - pSlicesDataOffsets = pSlicesDataOffsets_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH264PictureInfoEXT & setSlicesDataOffsets( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & slicesDataOffsets_ ) VULKAN_HPP_NOEXCEPT - { - slicesCount = static_cast( slicesDataOffsets_.size() ); - pSlicesDataOffsets = slicesDataOffsets_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoDecodeH264PictureInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264PictureInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264PictureInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264PictureInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pStdPictureInfo == rhs.pStdPictureInfo ) && - ( slicesCount == rhs.slicesCount ) && ( pSlicesDataOffsets == rhs.pSlicesDataOffsets ); - } - - bool operator!=( VideoDecodeH264PictureInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264PictureInfoEXT; - const void * pNext = {}; - const StdVideoDecodeH264PictureInfo * pStdPictureInfo = {}; - uint32_t slicesCount = {}; - const uint32_t * pSlicesDataOffsets = {}; - }; - static_assert( sizeof( VideoDecodeH264PictureInfoEXT ) == sizeof( VkVideoDecodeH264PictureInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264PictureInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264ProfileEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH264ProfileEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264ProfileEXT( - StdVideoH264ProfileIdc stdProfileIdc_ = {}, - VULKAN_HPP_NAMESPACE::VideoDecodeH264FieldLayoutFlagsEXT fieldLayout_ = {} ) VULKAN_HPP_NOEXCEPT - : stdProfileIdc( stdProfileIdc_ ) - , fieldLayout( fieldLayout_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH264ProfileEXT( VideoDecodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264ProfileEXT( VkVideoDecodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264ProfileEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264ProfileEXT & - operator=( VideoDecodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264ProfileEXT & operator=( VkVideoDecodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264ProfileEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264ProfileEXT & setStdProfileIdc( StdVideoH264ProfileIdc stdProfileIdc_ ) VULKAN_HPP_NOEXCEPT - { - stdProfileIdc = stdProfileIdc_; - return *this; - } - - VideoDecodeH264ProfileEXT & - setFieldLayout( VULKAN_HPP_NAMESPACE::VideoDecodeH264FieldLayoutFlagsEXT fieldLayout_ ) VULKAN_HPP_NOEXCEPT - { - fieldLayout = fieldLayout_; - return *this; - } - - operator VkVideoDecodeH264ProfileEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264ProfileEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264ProfileEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( memcmp( &stdProfileIdc, &rhs.stdProfileIdc, sizeof( StdVideoH264ProfileIdc ) ) == 0 ) && - ( fieldLayout == rhs.fieldLayout ); - } - - bool operator!=( VideoDecodeH264ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264ProfileEXT; - const void * pNext = {}; - StdVideoH264ProfileIdc stdProfileIdc = {}; - VULKAN_HPP_NAMESPACE::VideoDecodeH264FieldLayoutFlagsEXT fieldLayout = {}; - }; - static_assert( sizeof( VideoDecodeH264ProfileEXT ) == sizeof( VkVideoDecodeH264ProfileEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264ProfileEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264SessionCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH264SessionCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264SessionCreateInfoEXT( - VULKAN_HPP_NAMESPACE::VideoDecodeH264CreateFlagsEXT flags_ = {}, - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pStdExtensionVersion( pStdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264SessionCreateInfoEXT( VideoDecodeH264SessionCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionCreateInfoEXT( VkVideoDecodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH264SessionCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264SessionCreateInfoEXT & - operator=( VideoDecodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionCreateInfoEXT & - operator=( VkVideoDecodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264SessionCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264SessionCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::VideoDecodeH264CreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoDecodeH264SessionCreateInfoEXT & setPStdExtensionVersion( - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ ) VULKAN_HPP_NOEXCEPT - { - pStdExtensionVersion = pStdExtensionVersion_; - return *this; - } - - operator VkVideoDecodeH264SessionCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264SessionCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264SessionCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pStdExtensionVersion == rhs.pStdExtensionVersion ); - } - - bool operator!=( VideoDecodeH264SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264SessionCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoDecodeH264CreateFlagsEXT flags = {}; - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion = {}; - }; - static_assert( sizeof( VideoDecodeH264SessionCreateInfoEXT ) == sizeof( VkVideoDecodeH264SessionCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264SessionCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264SessionParametersAddInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH264SessionParametersAddInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264SessionParametersAddInfoEXT( - uint32_t spsStdCount_ = {}, - const StdVideoH264SequenceParameterSet * pSpsStd_ = {}, - uint32_t ppsStdCount_ = {}, - const StdVideoH264PictureParameterSet * pPpsStd_ = {} ) VULKAN_HPP_NOEXCEPT - : spsStdCount( spsStdCount_ ) - , pSpsStd( pSpsStd_ ) - , ppsStdCount( ppsStdCount_ ) - , pPpsStd( pPpsStd_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeH264SessionParametersAddInfoEXT( - VideoDecodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionParametersAddInfoEXT( VkVideoDecodeH264SessionParametersAddInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoDecodeH264SessionParametersAddInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH264SessionParametersAddInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ = {} ) - : spsStdCount( static_cast( spsStd_.size() ) ) - , pSpsStd( spsStd_.data() ) - , ppsStdCount( static_cast( ppsStd_.size() ) ) - , pPpsStd( ppsStd_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264SessionParametersAddInfoEXT & - operator=( VideoDecodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionParametersAddInfoEXT & - operator=( VkVideoDecodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264SessionParametersAddInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264SessionParametersAddInfoEXT & setSpsStdCount( uint32_t spsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - spsStdCount = spsStdCount_; - return *this; - } - - VideoDecodeH264SessionParametersAddInfoEXT & - setPSpsStd( const StdVideoH264SequenceParameterSet * pSpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pSpsStd = pSpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH264SessionParametersAddInfoEXT & - setSpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_ ) - VULKAN_HPP_NOEXCEPT - { - spsStdCount = static_cast( spsStd_.size() ); - pSpsStd = spsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoDecodeH264SessionParametersAddInfoEXT & setPpsStdCount( uint32_t ppsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - ppsStdCount = ppsStdCount_; - return *this; - } - - VideoDecodeH264SessionParametersAddInfoEXT & - setPPpsStd( const StdVideoH264PictureParameterSet * pPpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pPpsStd = pPpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH264SessionParametersAddInfoEXT & - setPpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ ) - VULKAN_HPP_NOEXCEPT - { - ppsStdCount = static_cast( ppsStd_.size() ); - pPpsStd = ppsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoDecodeH264SessionParametersAddInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264SessionParametersAddInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264SessionParametersAddInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( spsStdCount == rhs.spsStdCount ) && - ( pSpsStd == rhs.pSpsStd ) && ( ppsStdCount == rhs.ppsStdCount ) && ( pPpsStd == rhs.pPpsStd ); - } - - bool operator!=( VideoDecodeH264SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264SessionParametersAddInfoEXT; - const void * pNext = {}; - uint32_t spsStdCount = {}; - const StdVideoH264SequenceParameterSet * pSpsStd = {}; - uint32_t ppsStdCount = {}; - const StdVideoH264PictureParameterSet * pPpsStd = {}; - }; - static_assert( sizeof( VideoDecodeH264SessionParametersAddInfoEXT ) == - sizeof( VkVideoDecodeH264SessionParametersAddInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264SessionParametersAddInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH264SessionParametersCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH264SessionParametersCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH264SessionParametersCreateInfoEXT( - uint32_t maxSpsStdCount_ = {}, - uint32_t maxPpsStdCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoDecodeH264SessionParametersAddInfoEXT * pParametersAddInfo_ = {} ) - VULKAN_HPP_NOEXCEPT - : maxSpsStdCount( maxSpsStdCount_ ) - , maxPpsStdCount( maxPpsStdCount_ ) - , pParametersAddInfo( pParametersAddInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeH264SessionParametersCreateInfoEXT( - VideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionParametersCreateInfoEXT( VkVideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoDecodeH264SessionParametersCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH264SessionParametersCreateInfoEXT & - operator=( VideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH264SessionParametersCreateInfoEXT & - operator=( VkVideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH264SessionParametersCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH264SessionParametersCreateInfoEXT & setMaxSpsStdCount( uint32_t maxSpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxSpsStdCount = maxSpsStdCount_; - return *this; - } - - VideoDecodeH264SessionParametersCreateInfoEXT & setMaxPpsStdCount( uint32_t maxPpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxPpsStdCount = maxPpsStdCount_; - return *this; - } - - VideoDecodeH264SessionParametersCreateInfoEXT & setPParametersAddInfo( - const VULKAN_HPP_NAMESPACE::VideoDecodeH264SessionParametersAddInfoEXT * pParametersAddInfo_ ) VULKAN_HPP_NOEXCEPT - { - pParametersAddInfo = pParametersAddInfo_; - return *this; - } - - operator VkVideoDecodeH264SessionParametersCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH264SessionParametersCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH264SessionParametersCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxSpsStdCount == rhs.maxSpsStdCount ) && - ( maxPpsStdCount == rhs.maxPpsStdCount ) && ( pParametersAddInfo == rhs.pParametersAddInfo ); - } - - bool operator!=( VideoDecodeH264SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH264SessionParametersCreateInfoEXT; - const void * pNext = {}; - uint32_t maxSpsStdCount = {}; - uint32_t maxPpsStdCount = {}; - const VULKAN_HPP_NAMESPACE::VideoDecodeH264SessionParametersAddInfoEXT * pParametersAddInfo = {}; - }; - static_assert( sizeof( VideoDecodeH264SessionParametersCreateInfoEXT ) == - sizeof( VkVideoDecodeH264SessionParametersCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH264SessionParametersCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265CapabilitiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH265CapabilitiesEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265CapabilitiesEXT( - uint32_t maxLevel_ = {}, VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : maxLevel( maxLevel_ ) - , stdExtensionVersion( stdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - VideoDecodeH265CapabilitiesEXT( VideoDecodeH265CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265CapabilitiesEXT( VkVideoDecodeH265CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH265CapabilitiesEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265CapabilitiesEXT & - operator=( VideoDecodeH265CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265CapabilitiesEXT & operator=( VkVideoDecodeH265CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - operator VkVideoDecodeH265CapabilitiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265CapabilitiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265CapabilitiesEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxLevel == rhs.maxLevel ) && - ( stdExtensionVersion == rhs.stdExtensionVersion ); - } - - bool operator!=( VideoDecodeH265CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265CapabilitiesEXT; - void * pNext = {}; - uint32_t maxLevel = {}; - VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion = {}; - }; - static_assert( sizeof( VideoDecodeH265CapabilitiesEXT ) == sizeof( VkVideoDecodeH265CapabilitiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265CapabilitiesEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265DpbSlotInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH265DpbSlotInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH265DpbSlotInfoEXT( - const StdVideoDecodeH265ReferenceInfo * pStdReferenceInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : pStdReferenceInfo( pStdReferenceInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH265DpbSlotInfoEXT( VideoDecodeH265DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265DpbSlotInfoEXT( VkVideoDecodeH265DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH265DpbSlotInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265DpbSlotInfoEXT & - operator=( VideoDecodeH265DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265DpbSlotInfoEXT & operator=( VkVideoDecodeH265DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265DpbSlotInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265DpbSlotInfoEXT & - setPStdReferenceInfo( const StdVideoDecodeH265ReferenceInfo * pStdReferenceInfo_ ) VULKAN_HPP_NOEXCEPT - { - pStdReferenceInfo = pStdReferenceInfo_; - return *this; - } - - operator VkVideoDecodeH265DpbSlotInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265DpbSlotInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265DpbSlotInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pStdReferenceInfo == rhs.pStdReferenceInfo ); - } - - bool operator!=( VideoDecodeH265DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265DpbSlotInfoEXT; - const void * pNext = {}; - const StdVideoDecodeH265ReferenceInfo * pStdReferenceInfo = {}; - }; - static_assert( sizeof( VideoDecodeH265DpbSlotInfoEXT ) == sizeof( VkVideoDecodeH265DpbSlotInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265DpbSlotInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265PictureInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH265PictureInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH265PictureInfoEXT( StdVideoDecodeH265PictureInfo * pStdPictureInfo_ = {}, - uint32_t slicesCount_ = {}, - const uint32_t * pSlicesDataOffsets_ = {} ) VULKAN_HPP_NOEXCEPT - : pStdPictureInfo( pStdPictureInfo_ ) - , slicesCount( slicesCount_ ) - , pSlicesDataOffsets( pSlicesDataOffsets_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH265PictureInfoEXT( VideoDecodeH265PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265PictureInfoEXT( VkVideoDecodeH265PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH265PictureInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH265PictureInfoEXT( - StdVideoDecodeH265PictureInfo * pStdPictureInfo_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & slicesDataOffsets_ ) - : pStdPictureInfo( pStdPictureInfo_ ) - , slicesCount( static_cast( slicesDataOffsets_.size() ) ) - , pSlicesDataOffsets( slicesDataOffsets_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265PictureInfoEXT & - operator=( VideoDecodeH265PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265PictureInfoEXT & operator=( VkVideoDecodeH265PictureInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265PictureInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265PictureInfoEXT & - setPStdPictureInfo( StdVideoDecodeH265PictureInfo * pStdPictureInfo_ ) VULKAN_HPP_NOEXCEPT - { - pStdPictureInfo = pStdPictureInfo_; - return *this; - } - - VideoDecodeH265PictureInfoEXT & setSlicesCount( uint32_t slicesCount_ ) VULKAN_HPP_NOEXCEPT - { - slicesCount = slicesCount_; - return *this; - } - - VideoDecodeH265PictureInfoEXT & setPSlicesDataOffsets( const uint32_t * pSlicesDataOffsets_ ) VULKAN_HPP_NOEXCEPT - { - pSlicesDataOffsets = pSlicesDataOffsets_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH265PictureInfoEXT & setSlicesDataOffsets( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & slicesDataOffsets_ ) VULKAN_HPP_NOEXCEPT - { - slicesCount = static_cast( slicesDataOffsets_.size() ); - pSlicesDataOffsets = slicesDataOffsets_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoDecodeH265PictureInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265PictureInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265PictureInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265PictureInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pStdPictureInfo == rhs.pStdPictureInfo ) && - ( slicesCount == rhs.slicesCount ) && ( pSlicesDataOffsets == rhs.pSlicesDataOffsets ); - } - - bool operator!=( VideoDecodeH265PictureInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265PictureInfoEXT; - const void * pNext = {}; - StdVideoDecodeH265PictureInfo * pStdPictureInfo = {}; - uint32_t slicesCount = {}; - const uint32_t * pSlicesDataOffsets = {}; - }; - static_assert( sizeof( VideoDecodeH265PictureInfoEXT ) == sizeof( VkVideoDecodeH265PictureInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265PictureInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265ProfileEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoDecodeH265ProfileEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH265ProfileEXT( StdVideoH265ProfileIdc stdProfileIdc_ = {} ) VULKAN_HPP_NOEXCEPT - : stdProfileIdc( stdProfileIdc_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoDecodeH265ProfileEXT( VideoDecodeH265ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265ProfileEXT( VkVideoDecodeH265ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH265ProfileEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265ProfileEXT & - operator=( VideoDecodeH265ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265ProfileEXT & operator=( VkVideoDecodeH265ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265ProfileEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265ProfileEXT & setStdProfileIdc( StdVideoH265ProfileIdc stdProfileIdc_ ) VULKAN_HPP_NOEXCEPT - { - stdProfileIdc = stdProfileIdc_; - return *this; - } - - operator VkVideoDecodeH265ProfileEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265ProfileEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265ProfileEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( memcmp( &stdProfileIdc, &rhs.stdProfileIdc, sizeof( StdVideoH265ProfileIdc ) ) == 0 ); - } - - bool operator!=( VideoDecodeH265ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265ProfileEXT; - const void * pNext = {}; - StdVideoH265ProfileIdc stdProfileIdc = {}; - }; - static_assert( sizeof( VideoDecodeH265ProfileEXT ) == sizeof( VkVideoDecodeH265ProfileEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265ProfileEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265SessionCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH265SessionCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265SessionCreateInfoEXT( - VULKAN_HPP_NAMESPACE::VideoDecodeH265CreateFlagsEXT flags_ = {}, - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , pStdExtensionVersion( pStdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265SessionCreateInfoEXT( VideoDecodeH265SessionCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionCreateInfoEXT( VkVideoDecodeH265SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoDecodeH265SessionCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265SessionCreateInfoEXT & - operator=( VideoDecodeH265SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionCreateInfoEXT & - operator=( VkVideoDecodeH265SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265SessionCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265SessionCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::VideoDecodeH265CreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoDecodeH265SessionCreateInfoEXT & setPStdExtensionVersion( - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ ) VULKAN_HPP_NOEXCEPT - { - pStdExtensionVersion = pStdExtensionVersion_; - return *this; - } - - operator VkVideoDecodeH265SessionCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265SessionCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265SessionCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( pStdExtensionVersion == rhs.pStdExtensionVersion ); - } - - bool operator!=( VideoDecodeH265SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265SessionCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoDecodeH265CreateFlagsEXT flags = {}; - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion = {}; - }; - static_assert( sizeof( VideoDecodeH265SessionCreateInfoEXT ) == sizeof( VkVideoDecodeH265SessionCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265SessionCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265SessionParametersAddInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH265SessionParametersAddInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH265SessionParametersAddInfoEXT( - uint32_t spsStdCount_ = {}, - const StdVideoH265SequenceParameterSet * pSpsStd_ = {}, - uint32_t ppsStdCount_ = {}, - const StdVideoH265PictureParameterSet * pPpsStd_ = {} ) VULKAN_HPP_NOEXCEPT - : spsStdCount( spsStdCount_ ) - , pSpsStd( pSpsStd_ ) - , ppsStdCount( ppsStdCount_ ) - , pPpsStd( pPpsStd_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeH265SessionParametersAddInfoEXT( - VideoDecodeH265SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionParametersAddInfoEXT( VkVideoDecodeH265SessionParametersAddInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoDecodeH265SessionParametersAddInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH265SessionParametersAddInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ = {} ) - : spsStdCount( static_cast( spsStd_.size() ) ) - , pSpsStd( spsStd_.data() ) - , ppsStdCount( static_cast( ppsStd_.size() ) ) - , pPpsStd( ppsStd_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265SessionParametersAddInfoEXT & - operator=( VideoDecodeH265SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionParametersAddInfoEXT & - operator=( VkVideoDecodeH265SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265SessionParametersAddInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265SessionParametersAddInfoEXT & setSpsStdCount( uint32_t spsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - spsStdCount = spsStdCount_; - return *this; - } - - VideoDecodeH265SessionParametersAddInfoEXT & - setPSpsStd( const StdVideoH265SequenceParameterSet * pSpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pSpsStd = pSpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH265SessionParametersAddInfoEXT & - setSpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_ ) - VULKAN_HPP_NOEXCEPT - { - spsStdCount = static_cast( spsStd_.size() ); - pSpsStd = spsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoDecodeH265SessionParametersAddInfoEXT & setPpsStdCount( uint32_t ppsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - ppsStdCount = ppsStdCount_; - return *this; - } - - VideoDecodeH265SessionParametersAddInfoEXT & - setPPpsStd( const StdVideoH265PictureParameterSet * pPpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pPpsStd = pPpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoDecodeH265SessionParametersAddInfoEXT & - setPpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ ) - VULKAN_HPP_NOEXCEPT - { - ppsStdCount = static_cast( ppsStd_.size() ); - pPpsStd = ppsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoDecodeH265SessionParametersAddInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265SessionParametersAddInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265SessionParametersAddInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( spsStdCount == rhs.spsStdCount ) && - ( pSpsStd == rhs.pSpsStd ) && ( ppsStdCount == rhs.ppsStdCount ) && ( pPpsStd == rhs.pPpsStd ); - } - - bool operator!=( VideoDecodeH265SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265SessionParametersAddInfoEXT; - const void * pNext = {}; - uint32_t spsStdCount = {}; - const StdVideoH265SequenceParameterSet * pSpsStd = {}; - uint32_t ppsStdCount = {}; - const StdVideoH265PictureParameterSet * pPpsStd = {}; - }; - static_assert( sizeof( VideoDecodeH265SessionParametersAddInfoEXT ) == - sizeof( VkVideoDecodeH265SessionParametersAddInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265SessionParametersAddInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoDecodeH265SessionParametersCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoDecodeH265SessionParametersCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoDecodeH265SessionParametersCreateInfoEXT( - uint32_t maxSpsStdCount_ = {}, - uint32_t maxPpsStdCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoDecodeH265SessionParametersAddInfoEXT * pParametersAddInfo_ = {} ) - VULKAN_HPP_NOEXCEPT - : maxSpsStdCount( maxSpsStdCount_ ) - , maxPpsStdCount( maxPpsStdCount_ ) - , pParametersAddInfo( pParametersAddInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoDecodeH265SessionParametersCreateInfoEXT( - VideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionParametersCreateInfoEXT( VkVideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoDecodeH265SessionParametersCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoDecodeH265SessionParametersCreateInfoEXT & - operator=( VideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoDecodeH265SessionParametersCreateInfoEXT & - operator=( VkVideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoDecodeH265SessionParametersCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoDecodeH265SessionParametersCreateInfoEXT & setMaxSpsStdCount( uint32_t maxSpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxSpsStdCount = maxSpsStdCount_; - return *this; - } - - VideoDecodeH265SessionParametersCreateInfoEXT & setMaxPpsStdCount( uint32_t maxPpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxPpsStdCount = maxPpsStdCount_; - return *this; - } - - VideoDecodeH265SessionParametersCreateInfoEXT & setPParametersAddInfo( - const VULKAN_HPP_NAMESPACE::VideoDecodeH265SessionParametersAddInfoEXT * pParametersAddInfo_ ) VULKAN_HPP_NOEXCEPT - { - pParametersAddInfo = pParametersAddInfo_; - return *this; - } - - operator VkVideoDecodeH265SessionParametersCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoDecodeH265SessionParametersCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoDecodeH265SessionParametersCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxSpsStdCount == rhs.maxSpsStdCount ) && - ( maxPpsStdCount == rhs.maxPpsStdCount ) && ( pParametersAddInfo == rhs.pParametersAddInfo ); - } - - bool operator!=( VideoDecodeH265SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoDecodeH265SessionParametersCreateInfoEXT; - const void * pNext = {}; - uint32_t maxSpsStdCount = {}; - uint32_t maxPpsStdCount = {}; - const VULKAN_HPP_NAMESPACE::VideoDecodeH265SessionParametersAddInfoEXT * pParametersAddInfo = {}; - }; - static_assert( sizeof( VideoDecodeH265SessionParametersCreateInfoEXT ) == - sizeof( VkVideoDecodeH265SessionParametersCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoDecodeH265SessionParametersCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264CapabilitiesEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeH264CapabilitiesEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264CapabilitiesEXT( - VULKAN_HPP_NAMESPACE::VideoEncodeH264CapabilitiesFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::VideoEncodeH264InputModeFlagsEXT inputModeFlags_ = {}, - VULKAN_HPP_NAMESPACE::VideoEncodeH264OutputModeFlagsEXT outputModeFlags_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D minPictureSizeInMbs_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxPictureSizeInMbs_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D inputImageDataAlignment_ = {}, - uint8_t maxNumL0ReferenceForP_ = {}, - uint8_t maxNumL0ReferenceForB_ = {}, - uint8_t maxNumL1Reference_ = {}, - uint8_t qualityLevelCount_ = {}, - VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , inputModeFlags( inputModeFlags_ ) - , outputModeFlags( outputModeFlags_ ) - , minPictureSizeInMbs( minPictureSizeInMbs_ ) - , maxPictureSizeInMbs( maxPictureSizeInMbs_ ) - , inputImageDataAlignment( inputImageDataAlignment_ ) - , maxNumL0ReferenceForP( maxNumL0ReferenceForP_ ) - , maxNumL0ReferenceForB( maxNumL0ReferenceForB_ ) - , maxNumL1Reference( maxNumL1Reference_ ) - , qualityLevelCount( qualityLevelCount_ ) - , stdExtensionVersion( stdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 - VideoEncodeH264CapabilitiesEXT( VideoEncodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264CapabilitiesEXT( VkVideoEncodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264CapabilitiesEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264CapabilitiesEXT & - operator=( VideoEncodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264CapabilitiesEXT & operator=( VkVideoEncodeH264CapabilitiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setFlags( VULKAN_HPP_NAMESPACE::VideoEncodeH264CapabilitiesFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setInputModeFlags( VULKAN_HPP_NAMESPACE::VideoEncodeH264InputModeFlagsEXT inputModeFlags_ ) VULKAN_HPP_NOEXCEPT - { - inputModeFlags = inputModeFlags_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setOutputModeFlags( VULKAN_HPP_NAMESPACE::VideoEncodeH264OutputModeFlagsEXT outputModeFlags_ ) VULKAN_HPP_NOEXCEPT - { - outputModeFlags = outputModeFlags_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setMinPictureSizeInMbs( VULKAN_HPP_NAMESPACE::Extent2D const & minPictureSizeInMbs_ ) VULKAN_HPP_NOEXCEPT - { - minPictureSizeInMbs = minPictureSizeInMbs_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setMaxPictureSizeInMbs( VULKAN_HPP_NAMESPACE::Extent2D const & maxPictureSizeInMbs_ ) VULKAN_HPP_NOEXCEPT - { - maxPictureSizeInMbs = maxPictureSizeInMbs_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & - setInputImageDataAlignment( VULKAN_HPP_NAMESPACE::Extent2D const & inputImageDataAlignment_ ) VULKAN_HPP_NOEXCEPT - { - inputImageDataAlignment = inputImageDataAlignment_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setMaxNumL0ReferenceForP( uint8_t maxNumL0ReferenceForP_ ) VULKAN_HPP_NOEXCEPT - { - maxNumL0ReferenceForP = maxNumL0ReferenceForP_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setMaxNumL0ReferenceForB( uint8_t maxNumL0ReferenceForB_ ) VULKAN_HPP_NOEXCEPT - { - maxNumL0ReferenceForB = maxNumL0ReferenceForB_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setMaxNumL1Reference( uint8_t maxNumL1Reference_ ) VULKAN_HPP_NOEXCEPT - { - maxNumL1Reference = maxNumL1Reference_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setQualityLevelCount( uint8_t qualityLevelCount_ ) VULKAN_HPP_NOEXCEPT - { - qualityLevelCount = qualityLevelCount_; - return *this; - } - - VideoEncodeH264CapabilitiesEXT & setStdExtensionVersion( - VULKAN_HPP_NAMESPACE::ExtensionProperties const & stdExtensionVersion_ ) VULKAN_HPP_NOEXCEPT - { - stdExtensionVersion = stdExtensionVersion_; - return *this; - } - - operator VkVideoEncodeH264CapabilitiesEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264CapabilitiesEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264CapabilitiesEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( inputModeFlags == rhs.inputModeFlags ) && ( outputModeFlags == rhs.outputModeFlags ) && - ( minPictureSizeInMbs == rhs.minPictureSizeInMbs ) && ( maxPictureSizeInMbs == rhs.maxPictureSizeInMbs ) && - ( inputImageDataAlignment == rhs.inputImageDataAlignment ) && - ( maxNumL0ReferenceForP == rhs.maxNumL0ReferenceForP ) && - ( maxNumL0ReferenceForB == rhs.maxNumL0ReferenceForB ) && ( maxNumL1Reference == rhs.maxNumL1Reference ) && - ( qualityLevelCount == rhs.qualityLevelCount ) && ( stdExtensionVersion == rhs.stdExtensionVersion ); - } - - bool operator!=( VideoEncodeH264CapabilitiesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264CapabilitiesEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeH264CapabilitiesFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeH264InputModeFlagsEXT inputModeFlags = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeH264OutputModeFlagsEXT outputModeFlags = {}; - VULKAN_HPP_NAMESPACE::Extent2D minPictureSizeInMbs = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxPictureSizeInMbs = {}; - VULKAN_HPP_NAMESPACE::Extent2D inputImageDataAlignment = {}; - uint8_t maxNumL0ReferenceForP = {}; - uint8_t maxNumL0ReferenceForB = {}; - uint8_t maxNumL1Reference = {}; - uint8_t qualityLevelCount = {}; - VULKAN_HPP_NAMESPACE::ExtensionProperties stdExtensionVersion = {}; - }; - static_assert( sizeof( VideoEncodeH264CapabilitiesEXT ) == sizeof( VkVideoEncodeH264CapabilitiesEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264CapabilitiesEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264DpbSlotInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeH264DpbSlotInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoEncodeH264DpbSlotInfoEXT( int8_t slotIndex_ = {}, - const StdVideoEncodeH264PictureInfo * pStdPictureInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : slotIndex( slotIndex_ ) - , pStdPictureInfo( pStdPictureInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoEncodeH264DpbSlotInfoEXT( VideoEncodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264DpbSlotInfoEXT( VkVideoEncodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264DpbSlotInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264DpbSlotInfoEXT & - operator=( VideoEncodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264DpbSlotInfoEXT & operator=( VkVideoEncodeH264DpbSlotInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264DpbSlotInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264DpbSlotInfoEXT & setSlotIndex( int8_t slotIndex_ ) VULKAN_HPP_NOEXCEPT - { - slotIndex = slotIndex_; - return *this; - } - - VideoEncodeH264DpbSlotInfoEXT & - setPStdPictureInfo( const StdVideoEncodeH264PictureInfo * pStdPictureInfo_ ) VULKAN_HPP_NOEXCEPT - { - pStdPictureInfo = pStdPictureInfo_; - return *this; - } - - operator VkVideoEncodeH264DpbSlotInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264DpbSlotInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264DpbSlotInfoEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( slotIndex == rhs.slotIndex ) && - ( pStdPictureInfo == rhs.pStdPictureInfo ); - } - - bool operator!=( VideoEncodeH264DpbSlotInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264DpbSlotInfoEXT; - const void * pNext = {}; - int8_t slotIndex = {}; - const StdVideoEncodeH264PictureInfo * pStdPictureInfo = {}; - }; - static_assert( sizeof( VideoEncodeH264DpbSlotInfoEXT ) == sizeof( VkVideoEncodeH264DpbSlotInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264DpbSlotInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264EmitPictureParametersEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoEncodeH264EmitPictureParametersEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoEncodeH264EmitPictureParametersEXT( uint8_t spsId_ = {}, - VULKAN_HPP_NAMESPACE::Bool32 emitSpsEnable_ = {}, - uint32_t ppsIdEntryCount_ = {}, - const uint8_t * ppsIdEntries_ = {} ) VULKAN_HPP_NOEXCEPT - : spsId( spsId_ ) - , emitSpsEnable( emitSpsEnable_ ) - , ppsIdEntryCount( ppsIdEntryCount_ ) - , ppsIdEntries( ppsIdEntries_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoEncodeH264EmitPictureParametersEXT( VideoEncodeH264EmitPictureParametersEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264EmitPictureParametersEXT( VkVideoEncodeH264EmitPictureParametersEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264EmitPictureParametersEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264EmitPictureParametersEXT( - uint8_t spsId_, - VULKAN_HPP_NAMESPACE::Bool32 emitSpsEnable_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & psIdEntries_ ) - : spsId( spsId_ ) - , emitSpsEnable( emitSpsEnable_ ) - , ppsIdEntryCount( static_cast( psIdEntries_.size() ) ) - , ppsIdEntries( psIdEntries_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264EmitPictureParametersEXT & - operator=( VideoEncodeH264EmitPictureParametersEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264EmitPictureParametersEXT & - operator=( VkVideoEncodeH264EmitPictureParametersEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264EmitPictureParametersEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264EmitPictureParametersEXT & setSpsId( uint8_t spsId_ ) VULKAN_HPP_NOEXCEPT - { - spsId = spsId_; - return *this; - } - - VideoEncodeH264EmitPictureParametersEXT & - setEmitSpsEnable( VULKAN_HPP_NAMESPACE::Bool32 emitSpsEnable_ ) VULKAN_HPP_NOEXCEPT - { - emitSpsEnable = emitSpsEnable_; - return *this; - } - - VideoEncodeH264EmitPictureParametersEXT & setPpsIdEntryCount( uint32_t ppsIdEntryCount_ ) VULKAN_HPP_NOEXCEPT - { - ppsIdEntryCount = ppsIdEntryCount_; - return *this; - } - - VideoEncodeH264EmitPictureParametersEXT & setPpsIdEntries( const uint8_t * ppsIdEntries_ ) VULKAN_HPP_NOEXCEPT - { - ppsIdEntries = ppsIdEntries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264EmitPictureParametersEXT & setPsIdEntries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & psIdEntries_ ) VULKAN_HPP_NOEXCEPT - { - ppsIdEntryCount = static_cast( psIdEntries_.size() ); - ppsIdEntries = psIdEntries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoEncodeH264EmitPictureParametersEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264EmitPictureParametersEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264EmitPictureParametersEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264EmitPictureParametersEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( spsId == rhs.spsId ) && - ( emitSpsEnable == rhs.emitSpsEnable ) && ( ppsIdEntryCount == rhs.ppsIdEntryCount ) && - ( ppsIdEntries == rhs.ppsIdEntries ); - } - - bool operator!=( VideoEncodeH264EmitPictureParametersEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264EmitPictureParametersEXT; - const void * pNext = {}; - uint8_t spsId = {}; - VULKAN_HPP_NAMESPACE::Bool32 emitSpsEnable = {}; - uint32_t ppsIdEntryCount = {}; - const uint8_t * ppsIdEntries = {}; - }; - static_assert( sizeof( VideoEncodeH264EmitPictureParametersEXT ) == - sizeof( VkVideoEncodeH264EmitPictureParametersEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264EmitPictureParametersEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264NaluSliceEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeH264NaluSliceEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeH264NaluSliceEXT( - const StdVideoEncodeH264SliceHeader * pSliceHeaderStd_ = {}, - uint32_t mbCount_ = {}, - uint8_t refFinalList0EntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList0Entries_ = {}, - uint8_t refFinalList1EntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList1Entries_ = {}, - uint32_t precedingNaluBytes_ = {}, - uint8_t minQp_ = {}, - uint8_t maxQp_ = {} ) VULKAN_HPP_NOEXCEPT - : pSliceHeaderStd( pSliceHeaderStd_ ) - , mbCount( mbCount_ ) - , refFinalList0EntryCount( refFinalList0EntryCount_ ) - , pRefFinalList0Entries( pRefFinalList0Entries_ ) - , refFinalList1EntryCount( refFinalList1EntryCount_ ) - , pRefFinalList1Entries( pRefFinalList1Entries_ ) - , precedingNaluBytes( precedingNaluBytes_ ) - , minQp( minQp_ ) - , maxQp( maxQp_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoEncodeH264NaluSliceEXT( VideoEncodeH264NaluSliceEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264NaluSliceEXT( VkVideoEncodeH264NaluSliceEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264NaluSliceEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264NaluSliceEXT( - const StdVideoEncodeH264SliceHeader * pSliceHeaderStd_, - uint32_t mbCount_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refFinalList0Entries_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refFinalList1Entries_ = {}, - uint32_t precedingNaluBytes_ = {}, - uint8_t minQp_ = {}, - uint8_t maxQp_ = {} ) - : pSliceHeaderStd( pSliceHeaderStd_ ) - , mbCount( mbCount_ ) - , refFinalList0EntryCount( static_cast( refFinalList0Entries_.size() ) ) - , pRefFinalList0Entries( refFinalList0Entries_.data() ) - , refFinalList1EntryCount( static_cast( refFinalList1Entries_.size() ) ) - , pRefFinalList1Entries( refFinalList1Entries_.data() ) - , precedingNaluBytes( precedingNaluBytes_ ) - , minQp( minQp_ ) - , maxQp( maxQp_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264NaluSliceEXT & - operator=( VideoEncodeH264NaluSliceEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264NaluSliceEXT & operator=( VkVideoEncodeH264NaluSliceEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264NaluSliceEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & - setPSliceHeaderStd( const StdVideoEncodeH264SliceHeader * pSliceHeaderStd_ ) VULKAN_HPP_NOEXCEPT - { - pSliceHeaderStd = pSliceHeaderStd_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setMbCount( uint32_t mbCount_ ) VULKAN_HPP_NOEXCEPT - { - mbCount = mbCount_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setRefFinalList0EntryCount( uint8_t refFinalList0EntryCount_ ) VULKAN_HPP_NOEXCEPT - { - refFinalList0EntryCount = refFinalList0EntryCount_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setPRefFinalList0Entries( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList0Entries_ ) VULKAN_HPP_NOEXCEPT - { - pRefFinalList0Entries = pRefFinalList0Entries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264NaluSliceEXT & setRefFinalList0Entries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refFinalList0Entries_ ) VULKAN_HPP_NOEXCEPT - { - refFinalList0EntryCount = static_cast( refFinalList0Entries_.size() ); - pRefFinalList0Entries = refFinalList0Entries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264NaluSliceEXT & setRefFinalList1EntryCount( uint8_t refFinalList1EntryCount_ ) VULKAN_HPP_NOEXCEPT - { - refFinalList1EntryCount = refFinalList1EntryCount_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setPRefFinalList1Entries( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList1Entries_ ) VULKAN_HPP_NOEXCEPT - { - pRefFinalList1Entries = pRefFinalList1Entries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264NaluSliceEXT & setRefFinalList1Entries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refFinalList1Entries_ ) VULKAN_HPP_NOEXCEPT - { - refFinalList1EntryCount = static_cast( refFinalList1Entries_.size() ); - pRefFinalList1Entries = refFinalList1Entries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264NaluSliceEXT & setPrecedingNaluBytes( uint32_t precedingNaluBytes_ ) VULKAN_HPP_NOEXCEPT - { - precedingNaluBytes = precedingNaluBytes_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setMinQp( uint8_t minQp_ ) VULKAN_HPP_NOEXCEPT - { - minQp = minQp_; - return *this; - } - - VideoEncodeH264NaluSliceEXT & setMaxQp( uint8_t maxQp_ ) VULKAN_HPP_NOEXCEPT - { - maxQp = maxQp_; - return *this; - } - - operator VkVideoEncodeH264NaluSliceEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264NaluSliceEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264NaluSliceEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264NaluSliceEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( pSliceHeaderStd == rhs.pSliceHeaderStd ) && - ( mbCount == rhs.mbCount ) && ( refFinalList0EntryCount == rhs.refFinalList0EntryCount ) && - ( pRefFinalList0Entries == rhs.pRefFinalList0Entries ) && - ( refFinalList1EntryCount == rhs.refFinalList1EntryCount ) && - ( pRefFinalList1Entries == rhs.pRefFinalList1Entries ) && - ( precedingNaluBytes == rhs.precedingNaluBytes ) && ( minQp == rhs.minQp ) && ( maxQp == rhs.maxQp ); - } - - bool operator!=( VideoEncodeH264NaluSliceEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264NaluSliceEXT; - const void * pNext = {}; - const StdVideoEncodeH264SliceHeader * pSliceHeaderStd = {}; - uint32_t mbCount = {}; - uint8_t refFinalList0EntryCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList0Entries = {}; - uint8_t refFinalList1EntryCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefFinalList1Entries = {}; - uint32_t precedingNaluBytes = {}; - uint8_t minQp = {}; - uint8_t maxQp = {}; - }; - static_assert( sizeof( VideoEncodeH264NaluSliceEXT ) == sizeof( VkVideoEncodeH264NaluSliceEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264NaluSliceEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264ProfileEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeH264ProfileEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeH264ProfileEXT( StdVideoH264ProfileIdc stdProfileIdc_ = {} ) VULKAN_HPP_NOEXCEPT - : stdProfileIdc( stdProfileIdc_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoEncodeH264ProfileEXT( VideoEncodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264ProfileEXT( VkVideoEncodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264ProfileEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264ProfileEXT & - operator=( VideoEncodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264ProfileEXT & operator=( VkVideoEncodeH264ProfileEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264ProfileEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264ProfileEXT & setStdProfileIdc( StdVideoH264ProfileIdc stdProfileIdc_ ) VULKAN_HPP_NOEXCEPT - { - stdProfileIdc = stdProfileIdc_; - return *this; - } - - operator VkVideoEncodeH264ProfileEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264ProfileEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264ProfileEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( memcmp( &stdProfileIdc, &rhs.stdProfileIdc, sizeof( StdVideoH264ProfileIdc ) ) == 0 ); - } - - bool operator!=( VideoEncodeH264ProfileEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264ProfileEXT; - const void * pNext = {}; - StdVideoH264ProfileIdc stdProfileIdc = {}; - }; - static_assert( sizeof( VideoEncodeH264ProfileEXT ) == sizeof( VkVideoEncodeH264ProfileEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264ProfileEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264SessionCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoEncodeH264SessionCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264SessionCreateInfoEXT( - VULKAN_HPP_NAMESPACE::VideoEncodeH264CreateFlagsEXT flags_ = {}, - VULKAN_HPP_NAMESPACE::Extent2D maxPictureSizeInMbs_ = {}, - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , maxPictureSizeInMbs( maxPictureSizeInMbs_ ) - , pStdExtensionVersion( pStdExtensionVersion_ ) - {} - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264SessionCreateInfoEXT( VideoEncodeH264SessionCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionCreateInfoEXT( VkVideoEncodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264SessionCreateInfoEXT( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264SessionCreateInfoEXT & - operator=( VideoEncodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionCreateInfoEXT & - operator=( VkVideoEncodeH264SessionCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264SessionCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264SessionCreateInfoEXT & - setFlags( VULKAN_HPP_NAMESPACE::VideoEncodeH264CreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoEncodeH264SessionCreateInfoEXT & - setMaxPictureSizeInMbs( VULKAN_HPP_NAMESPACE::Extent2D const & maxPictureSizeInMbs_ ) VULKAN_HPP_NOEXCEPT - { - maxPictureSizeInMbs = maxPictureSizeInMbs_; - return *this; - } - - VideoEncodeH264SessionCreateInfoEXT & setPStdExtensionVersion( - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion_ ) VULKAN_HPP_NOEXCEPT - { - pStdExtensionVersion = pStdExtensionVersion_; - return *this; - } - - operator VkVideoEncodeH264SessionCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264SessionCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264SessionCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( maxPictureSizeInMbs == rhs.maxPictureSizeInMbs ) && ( pStdExtensionVersion == rhs.pStdExtensionVersion ); - } - - bool operator!=( VideoEncodeH264SessionCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264SessionCreateInfoEXT; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeH264CreateFlagsEXT flags = {}; - VULKAN_HPP_NAMESPACE::Extent2D maxPictureSizeInMbs = {}; - const VULKAN_HPP_NAMESPACE::ExtensionProperties * pStdExtensionVersion = {}; - }; - static_assert( sizeof( VideoEncodeH264SessionCreateInfoEXT ) == sizeof( VkVideoEncodeH264SessionCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264SessionCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264SessionParametersAddInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoEncodeH264SessionParametersAddInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeH264SessionParametersAddInfoEXT( - uint32_t spsStdCount_ = {}, - const StdVideoH264SequenceParameterSet * pSpsStd_ = {}, - uint32_t ppsStdCount_ = {}, - const StdVideoH264PictureParameterSet * pPpsStd_ = {} ) VULKAN_HPP_NOEXCEPT - : spsStdCount( spsStdCount_ ) - , pSpsStd( pSpsStd_ ) - , ppsStdCount( ppsStdCount_ ) - , pPpsStd( pPpsStd_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoEncodeH264SessionParametersAddInfoEXT( - VideoEncodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionParametersAddInfoEXT( VkVideoEncodeH264SessionParametersAddInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoEncodeH264SessionParametersAddInfoEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264SessionParametersAddInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ = {} ) - : spsStdCount( static_cast( spsStd_.size() ) ) - , pSpsStd( spsStd_.data() ) - , ppsStdCount( static_cast( ppsStd_.size() ) ) - , pPpsStd( ppsStd_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264SessionParametersAddInfoEXT & - operator=( VideoEncodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionParametersAddInfoEXT & - operator=( VkVideoEncodeH264SessionParametersAddInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264SessionParametersAddInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264SessionParametersAddInfoEXT & setSpsStdCount( uint32_t spsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - spsStdCount = spsStdCount_; - return *this; - } - - VideoEncodeH264SessionParametersAddInfoEXT & - setPSpsStd( const StdVideoH264SequenceParameterSet * pSpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pSpsStd = pSpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264SessionParametersAddInfoEXT & - setSpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & spsStd_ ) - VULKAN_HPP_NOEXCEPT - { - spsStdCount = static_cast( spsStd_.size() ); - pSpsStd = spsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264SessionParametersAddInfoEXT & setPpsStdCount( uint32_t ppsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - ppsStdCount = ppsStdCount_; - return *this; - } - - VideoEncodeH264SessionParametersAddInfoEXT & - setPPpsStd( const StdVideoH264PictureParameterSet * pPpsStd_ ) VULKAN_HPP_NOEXCEPT - { - pPpsStd = pPpsStd_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264SessionParametersAddInfoEXT & - setPpsStd( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & ppsStd_ ) - VULKAN_HPP_NOEXCEPT - { - ppsStdCount = static_cast( ppsStd_.size() ); - pPpsStd = ppsStd_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkVideoEncodeH264SessionParametersAddInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264SessionParametersAddInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264SessionParametersAddInfoEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( spsStdCount == rhs.spsStdCount ) && - ( pSpsStd == rhs.pSpsStd ) && ( ppsStdCount == rhs.ppsStdCount ) && ( pPpsStd == rhs.pPpsStd ); - } - - bool operator!=( VideoEncodeH264SessionParametersAddInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264SessionParametersAddInfoEXT; - const void * pNext = {}; - uint32_t spsStdCount = {}; - const StdVideoH264SequenceParameterSet * pSpsStd = {}; - uint32_t ppsStdCount = {}; - const StdVideoH264PictureParameterSet * pPpsStd = {}; - }; - static_assert( sizeof( VideoEncodeH264SessionParametersAddInfoEXT ) == - sizeof( VkVideoEncodeH264SessionParametersAddInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264SessionParametersAddInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264SessionParametersCreateInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eVideoEncodeH264SessionParametersCreateInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeH264SessionParametersCreateInfoEXT( - uint32_t maxSpsStdCount_ = {}, - uint32_t maxPpsStdCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264SessionParametersAddInfoEXT * pParametersAddInfo_ = {} ) - VULKAN_HPP_NOEXCEPT - : maxSpsStdCount( maxSpsStdCount_ ) - , maxPpsStdCount( maxPpsStdCount_ ) - , pParametersAddInfo( pParametersAddInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR VideoEncodeH264SessionParametersCreateInfoEXT( - VideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionParametersCreateInfoEXT( VkVideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) - VULKAN_HPP_NOEXCEPT - : VideoEncodeH264SessionParametersCreateInfoEXT( - *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264SessionParametersCreateInfoEXT & - operator=( VideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264SessionParametersCreateInfoEXT & - operator=( VkVideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264SessionParametersCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264SessionParametersCreateInfoEXT & setMaxSpsStdCount( uint32_t maxSpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxSpsStdCount = maxSpsStdCount_; - return *this; - } - - VideoEncodeH264SessionParametersCreateInfoEXT & setMaxPpsStdCount( uint32_t maxPpsStdCount_ ) VULKAN_HPP_NOEXCEPT - { - maxPpsStdCount = maxPpsStdCount_; - return *this; - } - - VideoEncodeH264SessionParametersCreateInfoEXT & setPParametersAddInfo( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264SessionParametersAddInfoEXT * pParametersAddInfo_ ) VULKAN_HPP_NOEXCEPT - { - pParametersAddInfo = pParametersAddInfo_; - return *this; - } - - operator VkVideoEncodeH264SessionParametersCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264SessionParametersCreateInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264SessionParametersCreateInfoEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxSpsStdCount == rhs.maxSpsStdCount ) && - ( maxPpsStdCount == rhs.maxPpsStdCount ) && ( pParametersAddInfo == rhs.pParametersAddInfo ); - } - - bool operator!=( VideoEncodeH264SessionParametersCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264SessionParametersCreateInfoEXT; - const void * pNext = {}; - uint32_t maxSpsStdCount = {}; - uint32_t maxPpsStdCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264SessionParametersAddInfoEXT * pParametersAddInfo = {}; - }; - static_assert( sizeof( VideoEncodeH264SessionParametersCreateInfoEXT ) == - sizeof( VkVideoEncodeH264SessionParametersCreateInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264SessionParametersCreateInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeH264VclFrameInfoEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeH264VclFrameInfoEXT; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoEncodeH264VclFrameInfoEXT( - uint8_t refDefaultFinalList0EntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList0Entries_ = {}, - uint8_t refDefaultFinalList1EntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList1Entries_ = {}, - uint32_t naluSliceEntryCount_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264NaluSliceEXT * pNaluSliceEntries_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pCurrentPictureInfo_ = {} ) VULKAN_HPP_NOEXCEPT - : refDefaultFinalList0EntryCount( refDefaultFinalList0EntryCount_ ) - , pRefDefaultFinalList0Entries( pRefDefaultFinalList0Entries_ ) - , refDefaultFinalList1EntryCount( refDefaultFinalList1EntryCount_ ) - , pRefDefaultFinalList1Entries( pRefDefaultFinalList1Entries_ ) - , naluSliceEntryCount( naluSliceEntryCount_ ) - , pNaluSliceEntries( pNaluSliceEntries_ ) - , pCurrentPictureInfo( pCurrentPictureInfo_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoEncodeH264VclFrameInfoEXT( VideoEncodeH264VclFrameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264VclFrameInfoEXT( VkVideoEncodeH264VclFrameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeH264VclFrameInfoEXT( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264VclFrameInfoEXT( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refDefaultFinalList0Entries_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refDefaultFinalList1Entries_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - naluSliceEntries_ = {}, - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pCurrentPictureInfo_ = {} ) - : refDefaultFinalList0EntryCount( static_cast( refDefaultFinalList0Entries_.size() ) ) - , pRefDefaultFinalList0Entries( refDefaultFinalList0Entries_.data() ) - , refDefaultFinalList1EntryCount( static_cast( refDefaultFinalList1Entries_.size() ) ) - , pRefDefaultFinalList1Entries( refDefaultFinalList1Entries_.data() ) - , naluSliceEntryCount( static_cast( naluSliceEntries_.size() ) ) - , pNaluSliceEntries( naluSliceEntries_.data() ) - , pCurrentPictureInfo( pCurrentPictureInfo_ ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeH264VclFrameInfoEXT & - operator=( VideoEncodeH264VclFrameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeH264VclFrameInfoEXT & operator=( VkVideoEncodeH264VclFrameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeH264VclFrameInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeH264VclFrameInfoEXT & - setRefDefaultFinalList0EntryCount( uint8_t refDefaultFinalList0EntryCount_ ) VULKAN_HPP_NOEXCEPT - { - refDefaultFinalList0EntryCount = refDefaultFinalList0EntryCount_; - return *this; - } - - VideoEncodeH264VclFrameInfoEXT & setPRefDefaultFinalList0Entries( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList0Entries_ ) VULKAN_HPP_NOEXCEPT - { - pRefDefaultFinalList0Entries = pRefDefaultFinalList0Entries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264VclFrameInfoEXT & setRefDefaultFinalList0Entries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refDefaultFinalList0Entries_ ) VULKAN_HPP_NOEXCEPT - { - refDefaultFinalList0EntryCount = static_cast( refDefaultFinalList0Entries_.size() ); - pRefDefaultFinalList0Entries = refDefaultFinalList0Entries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264VclFrameInfoEXT & - setRefDefaultFinalList1EntryCount( uint8_t refDefaultFinalList1EntryCount_ ) VULKAN_HPP_NOEXCEPT - { - refDefaultFinalList1EntryCount = refDefaultFinalList1EntryCount_; - return *this; - } - - VideoEncodeH264VclFrameInfoEXT & setPRefDefaultFinalList1Entries( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList1Entries_ ) VULKAN_HPP_NOEXCEPT - { - pRefDefaultFinalList1Entries = pRefDefaultFinalList1Entries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264VclFrameInfoEXT & setRefDefaultFinalList1Entries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - refDefaultFinalList1Entries_ ) VULKAN_HPP_NOEXCEPT - { - refDefaultFinalList1EntryCount = static_cast( refDefaultFinalList1Entries_.size() ); - pRefDefaultFinalList1Entries = refDefaultFinalList1Entries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264VclFrameInfoEXT & setNaluSliceEntryCount( uint32_t naluSliceEntryCount_ ) VULKAN_HPP_NOEXCEPT - { - naluSliceEntryCount = naluSliceEntryCount_; - return *this; - } - - VideoEncodeH264VclFrameInfoEXT & setPNaluSliceEntries( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264NaluSliceEXT * pNaluSliceEntries_ ) VULKAN_HPP_NOEXCEPT - { - pNaluSliceEntries = pNaluSliceEntries_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - VideoEncodeH264VclFrameInfoEXT & setNaluSliceEntries( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - naluSliceEntries_ ) VULKAN_HPP_NOEXCEPT - { - naluSliceEntryCount = static_cast( naluSliceEntries_.size() ); - pNaluSliceEntries = naluSliceEntries_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VideoEncodeH264VclFrameInfoEXT & setPCurrentPictureInfo( - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pCurrentPictureInfo_ ) VULKAN_HPP_NOEXCEPT - { - pCurrentPictureInfo = pCurrentPictureInfo_; - return *this; - } - - operator VkVideoEncodeH264VclFrameInfoEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeH264VclFrameInfoEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeH264VclFrameInfoEXT const & ) const = default; -# else - bool operator==( VideoEncodeH264VclFrameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( refDefaultFinalList0EntryCount == rhs.refDefaultFinalList0EntryCount ) && - ( pRefDefaultFinalList0Entries == rhs.pRefDefaultFinalList0Entries ) && - ( refDefaultFinalList1EntryCount == rhs.refDefaultFinalList1EntryCount ) && - ( pRefDefaultFinalList1Entries == rhs.pRefDefaultFinalList1Entries ) && - ( naluSliceEntryCount == rhs.naluSliceEntryCount ) && ( pNaluSliceEntries == rhs.pNaluSliceEntries ) && - ( pCurrentPictureInfo == rhs.pCurrentPictureInfo ); - } - - bool operator!=( VideoEncodeH264VclFrameInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeH264VclFrameInfoEXT; - const void * pNext = {}; - uint8_t refDefaultFinalList0EntryCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList0Entries = {}; - uint8_t refDefaultFinalList1EntryCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pRefDefaultFinalList1Entries = {}; - uint32_t naluSliceEntryCount = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264NaluSliceEXT * pNaluSliceEntries = {}; - const VULKAN_HPP_NAMESPACE::VideoEncodeH264DpbSlotInfoEXT * pCurrentPictureInfo = {}; - }; - static_assert( sizeof( VideoEncodeH264VclFrameInfoEXT ) == sizeof( VkVideoEncodeH264VclFrameInfoEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeH264VclFrameInfoEXT; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoEncodeRateControlInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoEncodeRateControlInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - VideoEncodeRateControlInfoKHR( VULKAN_HPP_NAMESPACE::VideoEncodeRateControlFlagsKHR flags_ = {}, - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlModeFlagBitsKHR rateControlMode_ = - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlModeFlagBitsKHR::eNone, - uint32_t averageBitrate_ = {}, - uint16_t peakToAverageBitrateRatio_ = {}, - uint16_t frameRateNumerator_ = {}, - uint16_t frameRateDenominator_ = {}, - uint32_t virtualBufferSizeInMs_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , rateControlMode( rateControlMode_ ) - , averageBitrate( averageBitrate_ ) - , peakToAverageBitrateRatio( peakToAverageBitrateRatio_ ) - , frameRateNumerator( frameRateNumerator_ ) - , frameRateDenominator( frameRateDenominator_ ) - , virtualBufferSizeInMs( virtualBufferSizeInMs_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoEncodeRateControlInfoKHR( VideoEncodeRateControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeRateControlInfoKHR( VkVideoEncodeRateControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoEncodeRateControlInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeRateControlInfoKHR & - operator=( VideoEncodeRateControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoEncodeRateControlInfoKHR & operator=( VkVideoEncodeRateControlInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoEncodeRateControlInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoEncodeRateControlInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::VideoEncodeRateControlFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - VideoEncodeRateControlInfoKHR & setRateControlMode( - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlModeFlagBitsKHR rateControlMode_ ) VULKAN_HPP_NOEXCEPT - { - rateControlMode = rateControlMode_; - return *this; - } - - VideoEncodeRateControlInfoKHR & setAverageBitrate( uint32_t averageBitrate_ ) VULKAN_HPP_NOEXCEPT - { - averageBitrate = averageBitrate_; - return *this; - } - - VideoEncodeRateControlInfoKHR & - setPeakToAverageBitrateRatio( uint16_t peakToAverageBitrateRatio_ ) VULKAN_HPP_NOEXCEPT - { - peakToAverageBitrateRatio = peakToAverageBitrateRatio_; - return *this; - } - - VideoEncodeRateControlInfoKHR & setFrameRateNumerator( uint16_t frameRateNumerator_ ) VULKAN_HPP_NOEXCEPT - { - frameRateNumerator = frameRateNumerator_; - return *this; - } - - VideoEncodeRateControlInfoKHR & setFrameRateDenominator( uint16_t frameRateDenominator_ ) VULKAN_HPP_NOEXCEPT - { - frameRateDenominator = frameRateDenominator_; - return *this; - } - - VideoEncodeRateControlInfoKHR & setVirtualBufferSizeInMs( uint32_t virtualBufferSizeInMs_ ) VULKAN_HPP_NOEXCEPT - { - virtualBufferSizeInMs = virtualBufferSizeInMs_; - return *this; - } - - operator VkVideoEncodeRateControlInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoEncodeRateControlInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoEncodeRateControlInfoKHR const & ) const = default; -# else - bool operator==( VideoEncodeRateControlInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( rateControlMode == rhs.rateControlMode ) && ( averageBitrate == rhs.averageBitrate ) && - ( peakToAverageBitrateRatio == rhs.peakToAverageBitrateRatio ) && - ( frameRateNumerator == rhs.frameRateNumerator ) && ( frameRateDenominator == rhs.frameRateDenominator ) && - ( virtualBufferSizeInMs == rhs.virtualBufferSizeInMs ); - } - - bool operator!=( VideoEncodeRateControlInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoEncodeRateControlInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlFlagsKHR flags = {}; - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlModeFlagBitsKHR rateControlMode = - VULKAN_HPP_NAMESPACE::VideoEncodeRateControlModeFlagBitsKHR::eNone; - uint32_t averageBitrate = {}; - uint16_t peakToAverageBitrateRatio = {}; - uint16_t frameRateNumerator = {}; - uint16_t frameRateDenominator = {}; - uint32_t virtualBufferSizeInMs = {}; - }; - static_assert( sizeof( VideoEncodeRateControlInfoKHR ) == sizeof( VkVideoEncodeRateControlInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoEncodeRateControlInfoKHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - struct VideoQueueFamilyProperties2KHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eVideoQueueFamilyProperties2KHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR VideoQueueFamilyProperties2KHR( - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagsKHR videoCodecOperations_ = {} ) VULKAN_HPP_NOEXCEPT - : videoCodecOperations( videoCodecOperations_ ) - {} - - VULKAN_HPP_CONSTEXPR - VideoQueueFamilyProperties2KHR( VideoQueueFamilyProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoQueueFamilyProperties2KHR( VkVideoQueueFamilyProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - : VideoQueueFamilyProperties2KHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 VideoQueueFamilyProperties2KHR & - operator=( VideoQueueFamilyProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - VideoQueueFamilyProperties2KHR & operator=( VkVideoQueueFamilyProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - VideoQueueFamilyProperties2KHR & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VideoQueueFamilyProperties2KHR & setVideoCodecOperations( - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagsKHR videoCodecOperations_ ) VULKAN_HPP_NOEXCEPT - { - videoCodecOperations = videoCodecOperations_; - return *this; - } - - operator VkVideoQueueFamilyProperties2KHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkVideoQueueFamilyProperties2KHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( VideoQueueFamilyProperties2KHR const & ) const = default; -# else - bool operator==( VideoQueueFamilyProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( videoCodecOperations == rhs.videoCodecOperations ); - } - - bool operator!=( VideoQueueFamilyProperties2KHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eVideoQueueFamilyProperties2KHR; - void * pNext = {}; - VULKAN_HPP_NAMESPACE::VideoCodecOperationFlagsKHR videoCodecOperations = {}; - }; - static_assert( sizeof( VideoQueueFamilyProperties2KHR ) == sizeof( VkVideoQueueFamilyProperties2KHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = VideoQueueFamilyProperties2KHR; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - struct WaylandSurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWaylandSurfaceCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR WaylandSurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags_ = {}, - struct wl_display * display_ = {}, - struct wl_surface * surface_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , display( display_ ) - , surface( surface_ ) - {} - - VULKAN_HPP_CONSTEXPR - WaylandSurfaceCreateInfoKHR( WaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WaylandSurfaceCreateInfoKHR( VkWaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : WaylandSurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 WaylandSurfaceCreateInfoKHR & - operator=( WaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WaylandSurfaceCreateInfoKHR & operator=( VkWaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - WaylandSurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - WaylandSurfaceCreateInfoKHR & - setFlags( VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - WaylandSurfaceCreateInfoKHR & setDisplay( struct wl_display * display_ ) VULKAN_HPP_NOEXCEPT - { - display = display_; - return *this; - } - - WaylandSurfaceCreateInfoKHR & setSurface( struct wl_surface * surface_ ) VULKAN_HPP_NOEXCEPT - { - surface = surface_; - return *this; - } - - operator VkWaylandSurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWaylandSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( WaylandSurfaceCreateInfoKHR const & ) const = default; -# else - bool operator==( WaylandSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( display == rhs.display ) && - ( surface == rhs.surface ); - } - - bool operator!=( WaylandSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWaylandSurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags = {}; - struct wl_display * display = {}; - struct wl_surface * surface = {}; - }; - static_assert( sizeof( WaylandSurfaceCreateInfoKHR ) == sizeof( VkWaylandSurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = WaylandSurfaceCreateInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct Win32KeyedMutexAcquireReleaseInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - Win32KeyedMutexAcquireReleaseInfoKHR( uint32_t acquireCount_ = {}, - const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs_ = {}, - const uint64_t * pAcquireKeys_ = {}, - const uint32_t * pAcquireTimeouts_ = {}, - uint32_t releaseCount_ = {}, - const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs_ = {}, - const uint64_t * pReleaseKeys_ = {} ) VULKAN_HPP_NOEXCEPT - : acquireCount( acquireCount_ ) - , pAcquireSyncs( pAcquireSyncs_ ) - , pAcquireKeys( pAcquireKeys_ ) - , pAcquireTimeouts( pAcquireTimeouts_ ) - , releaseCount( releaseCount_ ) - , pReleaseSyncs( pReleaseSyncs_ ) - , pReleaseKeys( pReleaseKeys_ ) - {} - - VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoKHR( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - Win32KeyedMutexAcquireReleaseInfoKHR( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : Win32KeyedMutexAcquireReleaseInfoKHR( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeouts_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - releaseSyncs_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ = {} ) - : acquireCount( static_cast( acquireSyncs_.size() ) ) - , pAcquireSyncs( acquireSyncs_.data() ) - , pAcquireKeys( acquireKeys_.data() ) - , pAcquireTimeouts( acquireTimeouts_.data() ) - , releaseCount( static_cast( releaseSyncs_.size() ) ) - , pReleaseSyncs( releaseSyncs_.data() ) - , pReleaseKeys( releaseKeys_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireKeys_.size() ); - VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireTimeouts_.size() ); - VULKAN_HPP_ASSERT( acquireKeys_.size() == acquireTimeouts_.size() ); -# else - if ( acquireSyncs_.size() != acquireKeys_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireSyncs_.size() != acquireKeys_.size()" ); - } - if ( acquireSyncs_.size() != acquireTimeouts_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireSyncs_.size() != acquireTimeouts_.size()" ); - } - if ( acquireKeys_.size() != acquireTimeouts_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireKeys_.size() != acquireTimeouts_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( releaseSyncs_.size() == releaseKeys_.size() ); -# else - if ( releaseSyncs_.size() != releaseKeys_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: releaseSyncs_.size() != releaseKeys_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Win32KeyedMutexAcquireReleaseInfoKHR & - operator=( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Win32KeyedMutexAcquireReleaseInfoKHR & - operator=( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireCount( uint32_t acquireCount_ ) VULKAN_HPP_NOEXCEPT - { - acquireCount = acquireCount_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoKHR & - setPAcquireSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireSyncs = pAcquireSyncs_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireSyncs( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_ ) - VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireSyncs_.size() ); - pAcquireSyncs = acquireSyncs_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoKHR & setPAcquireKeys( const uint64_t * pAcquireKeys_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireKeys = pAcquireKeys_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireKeys( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ ) VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireKeys_.size() ); - pAcquireKeys = acquireKeys_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoKHR & setPAcquireTimeouts( const uint32_t * pAcquireTimeouts_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireTimeouts = pAcquireTimeouts_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireTimeouts( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeouts_ ) VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireTimeouts_.size() ); - pAcquireTimeouts = acquireTimeouts_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseCount( uint32_t releaseCount_ ) VULKAN_HPP_NOEXCEPT - { - releaseCount = releaseCount_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoKHR & - setPReleaseSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs_ ) VULKAN_HPP_NOEXCEPT - { - pReleaseSyncs = pReleaseSyncs_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseSyncs( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ ) - VULKAN_HPP_NOEXCEPT - { - releaseCount = static_cast( releaseSyncs_.size() ); - pReleaseSyncs = releaseSyncs_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoKHR & setPReleaseKeys( const uint64_t * pReleaseKeys_ ) VULKAN_HPP_NOEXCEPT - { - pReleaseKeys = pReleaseKeys_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseKeys( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ ) VULKAN_HPP_NOEXCEPT - { - releaseCount = static_cast( releaseKeys_.size() ); - pReleaseKeys = releaseKeys_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWin32KeyedMutexAcquireReleaseInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWin32KeyedMutexAcquireReleaseInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Win32KeyedMutexAcquireReleaseInfoKHR const & ) const = default; -# else - bool operator==( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( acquireCount == rhs.acquireCount ) && - ( pAcquireSyncs == rhs.pAcquireSyncs ) && ( pAcquireKeys == rhs.pAcquireKeys ) && - ( pAcquireTimeouts == rhs.pAcquireTimeouts ) && ( releaseCount == rhs.releaseCount ) && - ( pReleaseSyncs == rhs.pReleaseSyncs ) && ( pReleaseKeys == rhs.pReleaseKeys ); - } - - bool operator!=( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR; - const void * pNext = {}; - uint32_t acquireCount = {}; - const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs = {}; - const uint64_t * pAcquireKeys = {}; - const uint32_t * pAcquireTimeouts = {}; - uint32_t releaseCount = {}; - const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs = {}; - const uint64_t * pReleaseKeys = {}; - }; - static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = Win32KeyedMutexAcquireReleaseInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct Win32KeyedMutexAcquireReleaseInfoNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eWin32KeyedMutexAcquireReleaseInfoNV; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR - Win32KeyedMutexAcquireReleaseInfoNV( uint32_t acquireCount_ = {}, - const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs_ = {}, - const uint64_t * pAcquireKeys_ = {}, - const uint32_t * pAcquireTimeoutMilliseconds_ = {}, - uint32_t releaseCount_ = {}, - const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs_ = {}, - const uint64_t * pReleaseKeys_ = {} ) VULKAN_HPP_NOEXCEPT - : acquireCount( acquireCount_ ) - , pAcquireSyncs( pAcquireSyncs_ ) - , pAcquireKeys( pAcquireKeys_ ) - , pAcquireTimeoutMilliseconds( pAcquireTimeoutMilliseconds_ ) - , releaseCount( releaseCount_ ) - , pReleaseSyncs( pReleaseSyncs_ ) - , pReleaseKeys( pReleaseKeys_ ) - {} - - VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoNV( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - Win32KeyedMutexAcquireReleaseInfoNV( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - : Win32KeyedMutexAcquireReleaseInfoNV( *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeoutMilliseconds_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - releaseSyncs_ = {}, - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ = {} ) - : acquireCount( static_cast( acquireSyncs_.size() ) ) - , pAcquireSyncs( acquireSyncs_.data() ) - , pAcquireKeys( acquireKeys_.data() ) - , pAcquireTimeoutMilliseconds( acquireTimeoutMilliseconds_.data() ) - , releaseCount( static_cast( releaseSyncs_.size() ) ) - , pReleaseSyncs( releaseSyncs_.data() ) - , pReleaseKeys( releaseKeys_.data() ) - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireKeys_.size() ); - VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireTimeoutMilliseconds_.size() ); - VULKAN_HPP_ASSERT( acquireKeys_.size() == acquireTimeoutMilliseconds_.size() ); -# else - if ( acquireSyncs_.size() != acquireKeys_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireSyncs_.size() != acquireKeys_.size()" ); - } - if ( acquireSyncs_.size() != acquireTimeoutMilliseconds_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireSyncs_.size() != acquireTimeoutMilliseconds_.size()" ); - } - if ( acquireKeys_.size() != acquireTimeoutMilliseconds_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireKeys_.size() != acquireTimeoutMilliseconds_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( releaseSyncs_.size() == releaseKeys_.size() ); -# else - if ( releaseSyncs_.size() != releaseKeys_.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: releaseSyncs_.size() != releaseKeys_.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Win32KeyedMutexAcquireReleaseInfoNV & - operator=( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Win32KeyedMutexAcquireReleaseInfoNV & - operator=( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoNV & setAcquireCount( uint32_t acquireCount_ ) VULKAN_HPP_NOEXCEPT - { - acquireCount = acquireCount_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoNV & - setPAcquireSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireSyncs = pAcquireSyncs_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV & setAcquireSyncs( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_ ) - VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireSyncs_.size() ); - pAcquireSyncs = acquireSyncs_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoNV & setPAcquireKeys( const uint64_t * pAcquireKeys_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireKeys = pAcquireKeys_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV & setAcquireKeys( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ ) VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireKeys_.size() ); - pAcquireKeys = acquireKeys_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoNV & - setPAcquireTimeoutMilliseconds( const uint32_t * pAcquireTimeoutMilliseconds_ ) VULKAN_HPP_NOEXCEPT - { - pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV & setAcquireTimeoutMilliseconds( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeoutMilliseconds_ ) - VULKAN_HPP_NOEXCEPT - { - acquireCount = static_cast( acquireTimeoutMilliseconds_.size() ); - pAcquireTimeoutMilliseconds = acquireTimeoutMilliseconds_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoNV & setReleaseCount( uint32_t releaseCount_ ) VULKAN_HPP_NOEXCEPT - { - releaseCount = releaseCount_; - return *this; - } - - Win32KeyedMutexAcquireReleaseInfoNV & - setPReleaseSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs_ ) VULKAN_HPP_NOEXCEPT - { - pReleaseSyncs = pReleaseSyncs_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV & setReleaseSyncs( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ ) - VULKAN_HPP_NOEXCEPT - { - releaseCount = static_cast( releaseSyncs_.size() ); - pReleaseSyncs = releaseSyncs_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - Win32KeyedMutexAcquireReleaseInfoNV & setPReleaseKeys( const uint64_t * pReleaseKeys_ ) VULKAN_HPP_NOEXCEPT - { - pReleaseKeys = pReleaseKeys_; - return *this; - } - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - Win32KeyedMutexAcquireReleaseInfoNV & setReleaseKeys( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ ) VULKAN_HPP_NOEXCEPT - { - releaseCount = static_cast( releaseKeys_.size() ); - pReleaseKeys = releaseKeys_.data(); - return *this; - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWin32KeyedMutexAcquireReleaseInfoNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWin32KeyedMutexAcquireReleaseInfoNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Win32KeyedMutexAcquireReleaseInfoNV const & ) const = default; -# else - bool operator==( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( acquireCount == rhs.acquireCount ) && - ( pAcquireSyncs == rhs.pAcquireSyncs ) && ( pAcquireKeys == rhs.pAcquireKeys ) && - ( pAcquireTimeoutMilliseconds == rhs.pAcquireTimeoutMilliseconds ) && - ( releaseCount == rhs.releaseCount ) && ( pReleaseSyncs == rhs.pReleaseSyncs ) && - ( pReleaseKeys == rhs.pReleaseKeys ); - } - - bool operator!=( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoNV; - const void * pNext = {}; - uint32_t acquireCount = {}; - const VULKAN_HPP_NAMESPACE::DeviceMemory * pAcquireSyncs = {}; - const uint64_t * pAcquireKeys = {}; - const uint32_t * pAcquireTimeoutMilliseconds = {}; - uint32_t releaseCount = {}; - const VULKAN_HPP_NAMESPACE::DeviceMemory * pReleaseSyncs = {}; - const uint64_t * pReleaseKeys = {}; - }; - static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = Win32KeyedMutexAcquireReleaseInfoNV; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - struct Win32SurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWin32SurfaceCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR Win32SurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags_ = {}, - HINSTANCE hinstance_ = {}, - HWND hwnd_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , hinstance( hinstance_ ) - , hwnd( hwnd_ ) - {} - - VULKAN_HPP_CONSTEXPR - Win32SurfaceCreateInfoKHR( Win32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Win32SurfaceCreateInfoKHR( VkWin32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : Win32SurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 Win32SurfaceCreateInfoKHR & - operator=( Win32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - Win32SurfaceCreateInfoKHR & operator=( VkWin32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - Win32SurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - Win32SurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - Win32SurfaceCreateInfoKHR & setHinstance( HINSTANCE hinstance_ ) VULKAN_HPP_NOEXCEPT - { - hinstance = hinstance_; - return *this; - } - - Win32SurfaceCreateInfoKHR & setHwnd( HWND hwnd_ ) VULKAN_HPP_NOEXCEPT - { - hwnd = hwnd_; - return *this; - } - - operator VkWin32SurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWin32SurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Win32SurfaceCreateInfoKHR const & ) const = default; -# else - bool operator==( Win32SurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( hinstance == rhs.hinstance ) && ( hwnd == rhs.hwnd ); - } - - bool operator!=( Win32SurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32SurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags = {}; - HINSTANCE hinstance = {}; - HWND hwnd = {}; - }; - static_assert( sizeof( Win32SurfaceCreateInfoKHR ) == sizeof( VkWin32SurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = Win32SurfaceCreateInfoKHR; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - struct WriteDescriptorSetAccelerationStructureKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eWriteDescriptorSetAccelerationStructureKHR; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureKHR( - uint32_t accelerationStructureCount_ = {}, - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructureCount( accelerationStructureCount_ ) - , pAccelerationStructures( pAccelerationStructures_ ) - {} - - VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureKHR( - WriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetAccelerationStructureKHR( VkWriteDescriptorSetAccelerationStructureKHR const & rhs ) - VULKAN_HPP_NOEXCEPT - : WriteDescriptorSetAccelerationStructureKHR( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSetAccelerationStructureKHR( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - accelerationStructures_ ) - : accelerationStructureCount( static_cast( accelerationStructures_.size() ) ) - , pAccelerationStructures( accelerationStructures_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 WriteDescriptorSetAccelerationStructureKHR & - operator=( WriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetAccelerationStructureKHR & - operator=( VkWriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - WriteDescriptorSetAccelerationStructureKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - WriteDescriptorSetAccelerationStructureKHR & - setAccelerationStructureCount( uint32_t accelerationStructureCount_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureCount = accelerationStructureCount_; - return *this; - } - - WriteDescriptorSetAccelerationStructureKHR & setPAccelerationStructures( - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures_ ) VULKAN_HPP_NOEXCEPT - { - pAccelerationStructures = pAccelerationStructures_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSetAccelerationStructureKHR & setAccelerationStructures( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - accelerationStructures_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureCount = static_cast( accelerationStructures_.size() ); - pAccelerationStructures = accelerationStructures_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWriteDescriptorSetAccelerationStructureKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWriteDescriptorSetAccelerationStructureKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( WriteDescriptorSetAccelerationStructureKHR const & ) const = default; -#else - bool operator==( WriteDescriptorSetAccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( accelerationStructureCount == rhs.accelerationStructureCount ) && - ( pAccelerationStructures == rhs.pAccelerationStructures ); - } - - bool operator!=( WriteDescriptorSetAccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetAccelerationStructureKHR; - const void * pNext = {}; - uint32_t accelerationStructureCount = {}; - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures = {}; - }; - static_assert( sizeof( WriteDescriptorSetAccelerationStructureKHR ) == - sizeof( VkWriteDescriptorSetAccelerationStructureKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = WriteDescriptorSetAccelerationStructureKHR; - }; - - struct WriteDescriptorSetAccelerationStructureNV - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eWriteDescriptorSetAccelerationStructureNV; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureNV( - uint32_t accelerationStructureCount_ = {}, - const VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructures_ = {} ) VULKAN_HPP_NOEXCEPT - : accelerationStructureCount( accelerationStructureCount_ ) - , pAccelerationStructures( pAccelerationStructures_ ) - {} - - VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureNV( - WriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetAccelerationStructureNV( VkWriteDescriptorSetAccelerationStructureNV const & rhs ) - VULKAN_HPP_NOEXCEPT - : WriteDescriptorSetAccelerationStructureNV( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSetAccelerationStructureNV( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - accelerationStructures_ ) - : accelerationStructureCount( static_cast( accelerationStructures_.size() ) ) - , pAccelerationStructures( accelerationStructures_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 WriteDescriptorSetAccelerationStructureNV & - operator=( WriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetAccelerationStructureNV & - operator=( VkWriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - WriteDescriptorSetAccelerationStructureNV & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - WriteDescriptorSetAccelerationStructureNV & - setAccelerationStructureCount( uint32_t accelerationStructureCount_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureCount = accelerationStructureCount_; - return *this; - } - - WriteDescriptorSetAccelerationStructureNV & setPAccelerationStructures( - const VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructures_ ) VULKAN_HPP_NOEXCEPT - { - pAccelerationStructures = pAccelerationStructures_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - WriteDescriptorSetAccelerationStructureNV & setAccelerationStructures( - VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & - accelerationStructures_ ) VULKAN_HPP_NOEXCEPT - { - accelerationStructureCount = static_cast( accelerationStructures_.size() ); - pAccelerationStructures = accelerationStructures_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWriteDescriptorSetAccelerationStructureNV const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWriteDescriptorSetAccelerationStructureNV &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( WriteDescriptorSetAccelerationStructureNV const & ) const = default; -#else - bool operator==( WriteDescriptorSetAccelerationStructureNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && - ( accelerationStructureCount == rhs.accelerationStructureCount ) && - ( pAccelerationStructures == rhs.pAccelerationStructures ); - } - - bool operator!=( WriteDescriptorSetAccelerationStructureNV const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetAccelerationStructureNV; - const void * pNext = {}; - uint32_t accelerationStructureCount = {}; - const VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructures = {}; - }; - static_assert( sizeof( WriteDescriptorSetAccelerationStructureNV ) == - sizeof( VkWriteDescriptorSetAccelerationStructureNV ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = WriteDescriptorSetAccelerationStructureNV; - }; - - struct WriteDescriptorSetInlineUniformBlockEXT - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = - StructureType::eWriteDescriptorSetInlineUniformBlockEXT; - -#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT( uint32_t dataSize_ = {}, - const void * pData_ = {} ) VULKAN_HPP_NOEXCEPT - : dataSize( dataSize_ ) - , pData( pData_ ) - {} - - VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) - VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetInlineUniformBlockEXT( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : WriteDescriptorSetInlineUniformBlockEXT( - *reinterpret_cast( &rhs ) ) - {} - -# if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - WriteDescriptorSetInlineUniformBlockEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) - : dataSize( static_cast( data_.size() * sizeof( T ) ) ), pData( data_.data() ) - {} -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 WriteDescriptorSetInlineUniformBlockEXT & - operator=( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - WriteDescriptorSetInlineUniformBlockEXT & - operator=( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - WriteDescriptorSetInlineUniformBlockEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - WriteDescriptorSetInlineUniformBlockEXT & setDataSize( uint32_t dataSize_ ) VULKAN_HPP_NOEXCEPT - { - dataSize = dataSize_; - return *this; - } - - WriteDescriptorSetInlineUniformBlockEXT & setPData( const void * pData_ ) VULKAN_HPP_NOEXCEPT - { - pData = pData_; - return *this; - } - -#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) - template - WriteDescriptorSetInlineUniformBlockEXT & - setData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) VULKAN_HPP_NOEXCEPT - { - dataSize = static_cast( data_.size() * sizeof( T ) ); - pData = data_.data(); - return *this; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - operator VkWriteDescriptorSetInlineUniformBlockEXT const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkWriteDescriptorSetInlineUniformBlockEXT &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( WriteDescriptorSetInlineUniformBlockEXT const & ) const = default; -#else - bool operator==( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( dataSize == rhs.dataSize ) && ( pData == rhs.pData ); - } - - bool operator!=( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -#endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetInlineUniformBlockEXT; - const void * pNext = {}; - uint32_t dataSize = {}; - const void * pData = {}; - }; - static_assert( sizeof( WriteDescriptorSetInlineUniformBlockEXT ) == - sizeof( VkWriteDescriptorSetInlineUniformBlockEXT ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = WriteDescriptorSetInlineUniformBlockEXT; - }; - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - struct XcbSurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eXcbSurfaceCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR XcbSurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags_ = {}, - xcb_connection_t * connection_ = {}, - xcb_window_t window_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , connection( connection_ ) - , window( window_ ) - {} - - VULKAN_HPP_CONSTEXPR XcbSurfaceCreateInfoKHR( XcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XcbSurfaceCreateInfoKHR( VkXcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : XcbSurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 XcbSurfaceCreateInfoKHR & - operator=( XcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XcbSurfaceCreateInfoKHR & operator=( VkXcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - XcbSurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - XcbSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - XcbSurfaceCreateInfoKHR & setConnection( xcb_connection_t * connection_ ) VULKAN_HPP_NOEXCEPT - { - connection = connection_; - return *this; - } - - XcbSurfaceCreateInfoKHR & setWindow( xcb_window_t window_ ) VULKAN_HPP_NOEXCEPT - { - window = window_; - return *this; - } - - operator VkXcbSurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkXcbSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( XcbSurfaceCreateInfoKHR const & ) const = default; -# else - bool operator==( XcbSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && - ( connection == rhs.connection ) && ( memcmp( &window, &rhs.window, sizeof( xcb_window_t ) ) == 0 ); - } - - bool operator!=( XcbSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eXcbSurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags = {}; - xcb_connection_t * connection = {}; - xcb_window_t window = {}; - }; - static_assert( sizeof( XcbSurfaceCreateInfoKHR ) == sizeof( VkXcbSurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = XcbSurfaceCreateInfoKHR; - }; -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - struct XlibSurfaceCreateInfoKHR - { - static const bool allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eXlibSurfaceCreateInfoKHR; - -# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR XlibSurfaceCreateInfoKHR( VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags_ = {}, - Display * dpy_ = {}, - Window window_ = {} ) VULKAN_HPP_NOEXCEPT - : flags( flags_ ) - , dpy( dpy_ ) - , window( window_ ) - {} - - VULKAN_HPP_CONSTEXPR XlibSurfaceCreateInfoKHR( XlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XlibSurfaceCreateInfoKHR( VkXlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - : XlibSurfaceCreateInfoKHR( *reinterpret_cast( &rhs ) ) - {} -# endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ - - VULKAN_HPP_CONSTEXPR_14 XlibSurfaceCreateInfoKHR & - operator=( XlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - - XlibSurfaceCreateInfoKHR & operator=( VkXlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT - { - *this = *reinterpret_cast( &rhs ); - return *this; - } - - XlibSurfaceCreateInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - XlibSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT - { - flags = flags_; - return *this; - } - - XlibSurfaceCreateInfoKHR & setDpy( Display * dpy_ ) VULKAN_HPP_NOEXCEPT - { - dpy = dpy_; - return *this; - } - - XlibSurfaceCreateInfoKHR & setWindow( Window window_ ) VULKAN_HPP_NOEXCEPT - { - window = window_; - return *this; - } - - operator VkXlibSurfaceCreateInfoKHR const &() const VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - - operator VkXlibSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT - { - return *reinterpret_cast( this ); - } - -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( XlibSurfaceCreateInfoKHR const & ) const = default; -# else - bool operator==( XlibSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( flags == rhs.flags ) && ( dpy == rhs.dpy ) && - ( memcmp( &window, &rhs.window, sizeof( Window ) ) == 0 ); - } - - bool operator!=( XlibSurfaceCreateInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return !operator==( rhs ); - } -# endif - - public: - VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eXlibSurfaceCreateInfoKHR; - const void * pNext = {}; - VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags = {}; - Display * dpy = {}; - Window window = {}; - }; - static_assert( sizeof( XlibSurfaceCreateInfoKHR ) == sizeof( VkXlibSurfaceCreateInfoKHR ), - "struct and wrapper have different size!" ); - static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); - - template <> - struct CppType - { - using Type = XlibSurfaceCreateInfoKHR; - }; -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - - class DebugReportCallbackEXT - { - public: - using CType = VkDebugReportCallbackEXT; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDebugReportCallbackEXT; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDebugReportCallbackEXT; - - public: - VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT() = default; - VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - DebugReportCallbackEXT( VkDebugReportCallbackEXT debugReportCallbackEXT ) VULKAN_HPP_NOEXCEPT - : m_debugReportCallbackEXT( debugReportCallbackEXT ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DebugReportCallbackEXT & operator=( VkDebugReportCallbackEXT debugReportCallbackEXT ) VULKAN_HPP_NOEXCEPT - { - m_debugReportCallbackEXT = debugReportCallbackEXT; - return *this; - } -#endif - - DebugReportCallbackEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_debugReportCallbackEXT = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugReportCallbackEXT const & ) const = default; -#else - bool operator==( DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT == rhs.m_debugReportCallbackEXT; - } - - bool operator!=( DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT != rhs.m_debugReportCallbackEXT; - } - - bool operator<( DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT < rhs.m_debugReportCallbackEXT; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugReportCallbackEXT() const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_debugReportCallbackEXT == VK_NULL_HANDLE; - } - - private: - VkDebugReportCallbackEXT m_debugReportCallbackEXT = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT ) == sizeof( VkDebugReportCallbackEXT ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - - class DebugUtilsMessengerEXT - { - public: - using CType = VkDebugUtilsMessengerEXT; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eDebugUtilsMessengerEXT; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; - - public: - VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT() = default; - VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT - DebugUtilsMessengerEXT( VkDebugUtilsMessengerEXT debugUtilsMessengerEXT ) VULKAN_HPP_NOEXCEPT - : m_debugUtilsMessengerEXT( debugUtilsMessengerEXT ) - {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - DebugUtilsMessengerEXT & operator=( VkDebugUtilsMessengerEXT debugUtilsMessengerEXT ) VULKAN_HPP_NOEXCEPT - { - m_debugUtilsMessengerEXT = debugUtilsMessengerEXT; - return *this; - } -#endif - - DebugUtilsMessengerEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_debugUtilsMessengerEXT = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( DebugUtilsMessengerEXT const & ) const = default; -#else - bool operator==( DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT == rhs.m_debugUtilsMessengerEXT; - } - - bool operator!=( DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT != rhs.m_debugUtilsMessengerEXT; - } - - bool operator<( DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT < rhs.m_debugUtilsMessengerEXT; - } -#endif - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugUtilsMessengerEXT() const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_debugUtilsMessengerEXT == VK_NULL_HANDLE; - } - - private: - VkDebugUtilsMessengerEXT m_debugUtilsMessengerEXT = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT ) == sizeof( VkDebugUtilsMessengerEXT ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( - "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - -#ifndef VULKAN_HPP_NO_SMART_HANDLE - class Instance; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDebugReportCallbackEXT = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueDebugUtilsMessengerEXT = UniqueHandle; - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueSurfaceKHR = UniqueHandle; -#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ - - class Instance - { - public: - using CType = VkInstance; - - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = - VULKAN_HPP_NAMESPACE::ObjectType::eInstance; - static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eInstance; - - public: - VULKAN_HPP_CONSTEXPR Instance() = default; - VULKAN_HPP_CONSTEXPR Instance( std::nullptr_t ) VULKAN_HPP_NOEXCEPT {} - VULKAN_HPP_TYPESAFE_EXPLICIT Instance( VkInstance instance ) VULKAN_HPP_NOEXCEPT : m_instance( instance ) {} - -#if defined( VULKAN_HPP_TYPESAFE_CONVERSION ) - Instance & operator=( VkInstance instance ) VULKAN_HPP_NOEXCEPT - { - m_instance = instance; - return *this; - } -#endif - - Instance & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT - { - m_instance = {}; - return *this; - } - -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( Instance const & ) const = default; -#else - bool operator==( Instance const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_instance == rhs.m_instance; - } - - bool operator!=( Instance const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_instance != rhs.m_instance; - } - - bool operator<( Instance const & rhs ) const VULKAN_HPP_NOEXCEPT - { - return m_instance < rhs.m_instance; - } -#endif - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD Result - createAndroidSurfaceKHR( const VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - VULKAN_HPP_NODISCARD Result createDebugReportCallbackEXT( - const VULKAN_HPP_NAMESPACE::DebugReportCallbackCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT * pCallback, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createDebugReportCallbackEXT( - const DebugReportCallbackCreateInfoEXT & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE - typename ResultValueType>::type - createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result createDebugUtilsMessengerEXT( - const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT * pMessenger, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type createDebugUtilsMessengerEXT( - const DebugUtilsMessengerCreateInfoEXT & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE - typename ResultValueType>::type - createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - template - VULKAN_HPP_NODISCARD Result - createDirectFBSurfaceEXT( const VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDirectFBSurfaceEXT( const DirectFBSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDirectFBSurfaceEXTUnique( const DirectFBSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - template - VULKAN_HPP_NODISCARD Result createDisplayPlaneSurfaceKHR( - const VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - createHeadlessSurfaceEXT( const VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createHeadlessSurfaceEXT( const HeadlessSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createHeadlessSurfaceEXTUnique( const HeadlessSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_IOS_MVK ) - template - VULKAN_HPP_NODISCARD Result - createIOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::IOSSurfaceCreateInfoMVK * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_IOS_MVK*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD Result createImagePipeSurfaceFUCHSIA( - const VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createImagePipeSurfaceFUCHSIA( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createImagePipeSurfaceFUCHSIAUnique( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - template - VULKAN_HPP_NODISCARD Result - createMacOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateInfoMVK * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - -#if defined( VK_USE_PLATFORM_METAL_EXT ) - template - VULKAN_HPP_NODISCARD Result - createMetalSurfaceEXT( const VULKAN_HPP_NAMESPACE::MetalSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createMetalSurfaceEXT( const MetalSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createMetalSurfaceEXTUnique( const MetalSurfaceCreateInfoEXT & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - template - VULKAN_HPP_NODISCARD Result - createScreenSurfaceQNX( const VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateInfoQNX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createScreenSurfaceQNX( const ScreenSurfaceCreateInfoQNX & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createScreenSurfaceQNXUnique( const ScreenSurfaceCreateInfoQNX & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - -#if defined( VK_USE_PLATFORM_GGP ) - template - VULKAN_HPP_NODISCARD Result createStreamDescriptorSurfaceGGP( - const VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateInfoGGP * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createStreamDescriptorSurfaceGGP( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createStreamDescriptorSurfaceGGPUnique( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_GGP*/ - -#if defined( VK_USE_PLATFORM_VI_NN ) - template - VULKAN_HPP_NODISCARD Result - createViSurfaceNN( const VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_VI_NN*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - template - VULKAN_HPP_NODISCARD Result - createWaylandSurfaceKHR( const VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD Result - createWin32SurfaceKHR( const VULKAN_HPP_NAMESPACE::Win32SurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - template - VULKAN_HPP_NODISCARD Result - createXcbSurfaceKHR( const VULKAN_HPP_NAMESPACE::XcbSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - template - VULKAN_HPP_NODISCARD Result - createXlibSurfaceKHR( const VULKAN_HPP_NAMESPACE::XlibSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, - Optional allocator - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - - template - void debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const char * pLayerPrefix, - const char * pMessage, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const std::string & layerPrefix, - const std::string & message, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDebugReportCallbackEXT( - VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroyDebugUtilsMessengerEXT( - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void - destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroups( - uint32_t * pPhysicalDeviceGroupCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - enumeratePhysicalDeviceGroups( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PhysicalDeviceGroupPropertiesAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - enumeratePhysicalDeviceGroups( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroupsKHR( - uint32_t * pPhysicalDeviceGroupCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - enumeratePhysicalDeviceGroupsKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PhysicalDeviceGroupPropertiesAllocator, - typename std::enable_if::value, - int>::type = 0> - VULKAN_HPP_NODISCARD - typename ResultValueType>::type - enumeratePhysicalDeviceGroupsKHR( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - enumeratePhysicalDevices( uint32_t * pPhysicalDeviceCount, - VULKAN_HPP_NAMESPACE::PhysicalDevice * pPhysicalDevices, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumeratePhysicalDevices( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = PhysicalDeviceAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumeratePhysicalDevices( PhysicalDeviceAllocator & physicalDeviceAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - PFN_vkVoidFunction - getProcAddr( const char * pName, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - PFN_vkVoidFunction - getProcAddr( const std::string & name, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - void submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, - const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataEXT * pCallbackData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - void submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, - const DebugUtilsMessengerCallbackDataEXT & callbackData, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const - VULKAN_HPP_NOEXCEPT; -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - VULKAN_HPP_TYPESAFE_EXPLICIT operator VkInstance() const VULKAN_HPP_NOEXCEPT - { - return m_instance; - } - - explicit operator bool() const VULKAN_HPP_NOEXCEPT - { - return m_instance != VK_NULL_HANDLE; - } - - bool operator!() const VULKAN_HPP_NOEXCEPT - { - return m_instance == VK_NULL_HANDLE; - } - - private: - VkInstance m_instance = {}; - }; - static_assert( sizeof( VULKAN_HPP_NAMESPACE::Instance ) == sizeof( VkInstance ), - "handle and wrapper have different size!" ); - - template <> - struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type - { - using type = VULKAN_HPP_NAMESPACE::Instance; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Instance; - }; - - template <> - struct CppType - { - using Type = VULKAN_HPP_NAMESPACE::Instance; - }; - - template <> - struct isVulkanHandleType - { - static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; - }; - -#ifndef VULKAN_HPP_NO_SMART_HANDLE - template - class UniqueHandleTraits - { - public: - using deleter = ObjectDestroy; - }; - using UniqueInstance = UniqueHandle; -#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ - - template - VULKAN_HPP_NODISCARD Result createInstance( const VULKAN_HPP_NAMESPACE::InstanceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Instance * pInstance, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) - VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type - createInstance( const InstanceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createInstanceUnique( const InstanceCreateInfo & createInfo, - Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumerateInstanceExtensionProperties( - const char * pLayerName, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::ExtensionProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateInstanceExtensionProperties( Optional layerName - VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = ExtensionPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateInstanceExtensionProperties( Optional layerName, - ExtensionPropertiesAllocator & extensionPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result - enumerateInstanceLayerProperties( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::LayerProperties * pProperties, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateInstanceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); - template , - typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, - typename B = LayerPropertiesAllocator, - typename std::enable_if::value, int>::type = 0> - VULKAN_HPP_NODISCARD typename ResultValueType>::type - enumerateInstanceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, - Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD Result enumerateInstanceVersion( - uint32_t * pApiVersion, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - typename ResultValueType::type - enumerateInstanceVersion( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - createInstance( const VULKAN_HPP_NAMESPACE::InstanceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Instance * pInstance, - Dispatch const & d ) VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateInstance( reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pInstance ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - createInstance( const InstanceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) - { - VULKAN_HPP_NAMESPACE::Instance instance; - Result result = static_cast( - d.vkCreateInstance( reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &instance ) ) ); - return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING "::createInstance" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - createInstanceUnique( const InstanceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) - { - VULKAN_HPP_NAMESPACE::Instance instance; - Result result = static_cast( - d.vkCreateInstance( reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &instance ) ) ); - ObjectDestroy deleter( allocator, d ); - return createResultValue( - result, instance, VULKAN_HPP_NAMESPACE_STRING "::createInstanceUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - enumerateInstanceExtensionProperties( const char * pLayerName, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::ExtensionProperties * pProperties, - Dispatch const & d ) VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumerateInstanceExtensionProperties( - pLayerName, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - enumerateInstanceExtensionProperties( Optional layerName, Dispatch const & d ) - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceExtensionProperties" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - enumerateInstanceExtensionProperties( Optional layerName, - ExtensionPropertiesAllocator & extensionPropertiesAllocator, - Dispatch const & d ) - { - std::vector properties( extensionPropertiesAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceExtensionProperties" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - enumerateInstanceLayerProperties( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::LayerProperties * pProperties, - Dispatch const & d ) VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkEnumerateInstanceLayerProperties( pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - enumerateInstanceLayerProperties( Dispatch const & d ) - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateInstanceLayerProperties( - &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceLayerProperties" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - enumerateInstanceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, Dispatch const & d ) - { - std::vector properties( layerPropertiesAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateInstanceLayerProperties( - &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceLayerProperties" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceVersion( uint32_t * pApiVersion, - Dispatch const & d ) VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumerateInstanceVersion( pApiVersion ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type enumerateInstanceVersion( Dispatch const & d ) - { - uint32_t apiVersion; - Result result = static_cast( d.vkEnumerateInstanceVersion( &apiVersion ) ); - return createResultValue( result, apiVersion, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceVersion" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::begin( - const VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo * pBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast( pBeginInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::begin( const CommandBufferBeginInfo & beginInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast( &beginInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::begin" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRenderingEXT( - const VULKAN_HPP_NAMESPACE::ConditionalRenderingBeginInfoEXT * pConditionalRenderingBegin, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginConditionalRenderingEXT( - m_commandBuffer, reinterpret_cast( pConditionalRenderingBegin ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginConditionalRenderingEXT( - m_commandBuffer, reinterpret_cast( &conditionalRenderingBegin ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( pLabelInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - VULKAN_HPP_NAMESPACE::QueryControlFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginQuery( - m_commandBuffer, static_cast( queryPool ), query, static_cast( flags ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - VULKAN_HPP_NAMESPACE::QueryControlFlags flags, - uint32_t index, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginQueryIndexedEXT( - m_commandBuffer, static_cast( queryPool ), query, static_cast( flags ), index ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::beginRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass( m_commandBuffer, - reinterpret_cast( pRenderPassBegin ), - static_cast( contents ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo & renderPassBegin, - VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass( m_commandBuffer, - reinterpret_cast( &renderPassBegin ), - static_cast( contents ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::beginRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass2( m_commandBuffer, - reinterpret_cast( pRenderPassBegin ), - reinterpret_cast( pSubpassBeginInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, - const SubpassBeginInfo & subpassBeginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass2( m_commandBuffer, - reinterpret_cast( &renderPassBegin ), - reinterpret_cast( &subpassBeginInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::beginRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo * pRenderPassBegin, - const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass2KHR( m_commandBuffer, - reinterpret_cast( pRenderPassBegin ), - reinterpret_cast( pSubpassBeginInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, - const SubpassBeginInfo & subpassBeginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginRenderPass2KHR( m_commandBuffer, - reinterpret_cast( &renderPassBegin ), - reinterpret_cast( &subpassBeginInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VULKAN_HPP_NAMESPACE::Buffer * pCounterBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pCounterBufferOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginTransformFeedbackEXT( m_commandBuffer, - firstCounterBuffer, - counterBufferCount, - reinterpret_cast( pCounterBuffers ), - reinterpret_cast( pCounterBufferOffsets ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( - uint32_t firstCounterBuffer, - ArrayProxy const & counterBuffers, - ArrayProxy const & counterBufferOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); -# else - if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::beginTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBeginTransformFeedbackEXT( m_commandBuffer, - firstCounterBuffer, - counterBuffers.size(), - reinterpret_cast( counterBuffers.data() ), - reinterpret_cast( counterBufferOffsets.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void - CommandBuffer::beginVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoBeginCodingInfoKHR * pBeginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginVideoCodingKHR( m_commandBuffer, reinterpret_cast( pBeginInfo ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::beginVideoCodingKHR( const VideoBeginCodingInfoKHR & beginInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBeginVideoCodingKHR( m_commandBuffer, reinterpret_cast( &beginInfo ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t firstSet, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - uint32_t dynamicOffsetCount, - const uint32_t * pDynamicOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindDescriptorSets( m_commandBuffer, - static_cast( pipelineBindPoint ), - static_cast( layout ), - firstSet, - descriptorSetCount, - reinterpret_cast( pDescriptorSets ), - dynamicOffsetCount, - pDynamicOffsets ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t firstSet, - ArrayProxy const & descriptorSets, - ArrayProxy const & dynamicOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindDescriptorSets( m_commandBuffer, - static_cast( pipelineBindPoint ), - static_cast( layout ), - firstSet, - descriptorSets.size(), - reinterpret_cast( descriptorSets.data() ), - dynamicOffsets.size(), - dynamicOffsets.data() ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::IndexType indexType, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindIndexBuffer( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( indexType ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindPipeline( - m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( pipeline ) ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::bindPipelineShaderGroupNV( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t groupIndex, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindPipelineShaderGroupNV( m_commandBuffer, - static_cast( pipelineBindPoint ), - static_cast( pipeline ), - groupIndex ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindShadingRateImageNV( - m_commandBuffer, static_cast( imageView ), static_cast( imageLayout ) ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - const VULKAN_HPP_NAMESPACE::DeviceSize * pSizes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindTransformFeedbackBuffersEXT( m_commandBuffer, - firstBinding, - bindingCount, - reinterpret_cast( pBuffers ), - reinterpret_cast( pOffsets ), - reinterpret_cast( pSizes ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - ArrayProxy const & sizes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); - VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); -# else - if ( buffers.size() != offsets.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != offsets.size()" ); - } - if ( !sizes.empty() && buffers.size() != sizes.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != sizes.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBindTransformFeedbackBuffersEXT( m_commandBuffer, - firstBinding, - buffers.size(), - reinterpret_cast( buffers.data() ), - reinterpret_cast( offsets.data() ), - reinterpret_cast( sizes.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindVertexBuffers( m_commandBuffer, - firstBinding, - bindingCount, - reinterpret_cast( pBuffers ), - reinterpret_cast( pOffsets ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::bindVertexBuffers( uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); -# else - if ( buffers.size() != offsets.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindVertexBuffers: buffers.size() != offsets.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBindVertexBuffers( m_commandBuffer, - firstBinding, - buffers.size(), - reinterpret_cast( buffers.data() ), - reinterpret_cast( offsets.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, - uint32_t bindingCount, - const VULKAN_HPP_NAMESPACE::Buffer * pBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pOffsets, - const VULKAN_HPP_NAMESPACE::DeviceSize * pSizes, - const VULKAN_HPP_NAMESPACE::DeviceSize * pStrides, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBindVertexBuffers2EXT( m_commandBuffer, - firstBinding, - bindingCount, - reinterpret_cast( pBuffers ), - reinterpret_cast( pOffsets ), - reinterpret_cast( pSizes ), - reinterpret_cast( pStrides ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, - ArrayProxy const & buffers, - ArrayProxy const & offsets, - ArrayProxy const & sizes, - ArrayProxy const & strides, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); - VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); - VULKAN_HPP_ASSERT( strides.empty() || buffers.size() == strides.size() ); -# else - if ( buffers.size() != offsets.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != offsets.size()" ); - } - if ( !sizes.empty() && buffers.size() != sizes.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != sizes.size()" ); - } - if ( !strides.empty() && buffers.size() != strides.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != strides.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBindVertexBuffers2EXT( m_commandBuffer, - firstBinding, - buffers.size(), - reinterpret_cast( buffers.data() ), - reinterpret_cast( offsets.data() ), - reinterpret_cast( sizes.data() ), - reinterpret_cast( strides.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageBlit * pRegions, - VULKAN_HPP_NAMESPACE::Filter filter, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBlitImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regionCount, - reinterpret_cast( pRegions ), - static_cast( filter ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - VULKAN_HPP_NAMESPACE::Filter filter, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBlitImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regions.size(), - reinterpret_cast( regions.data() ), - static_cast( filter ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( const VULKAN_HPP_NAMESPACE::BlitImageInfo2KHR * pBlitImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBlitImage2KHR( m_commandBuffer, reinterpret_cast( pBlitImageInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( const BlitImageInfo2KHR & blitImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBlitImage2KHR( m_commandBuffer, reinterpret_cast( &blitImageInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::buildAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::Buffer instanceData, - VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, - VULKAN_HPP_NAMESPACE::Bool32 update, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::Buffer scratch, - VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBuildAccelerationStructureNV( m_commandBuffer, - reinterpret_cast( pInfo ), - static_cast( instanceData ), - static_cast( instanceOffset ), - static_cast( update ), - static_cast( dst ), - static_cast( src ), - static_cast( scratch ), - static_cast( scratchOffset ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, - VULKAN_HPP_NAMESPACE::Buffer instanceData, - VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, - VULKAN_HPP_NAMESPACE::Bool32 update, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::Buffer scratch, - VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBuildAccelerationStructureNV( m_commandBuffer, - reinterpret_cast( &info ), - static_cast( instanceData ), - static_cast( instanceOffset ), - static_cast( update ), - static_cast( dst ), - static_cast( src ), - static_cast( scratch ), - static_cast( scratchOffset ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresIndirectKHR( - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::DeviceAddress * pIndirectDeviceAddresses, - const uint32_t * pIndirectStrides, - const uint32_t * const * ppMaxPrimitiveCounts, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBuildAccelerationStructuresIndirectKHR( - m_commandBuffer, - infoCount, - reinterpret_cast( pInfos ), - reinterpret_cast( pIndirectDeviceAddresses ), - pIndirectStrides, - ppMaxPrimitiveCounts ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresIndirectKHR( - ArrayProxy const & infos, - ArrayProxy const & indirectDeviceAddresses, - ArrayProxy const & indirectStrides, - ArrayProxy const & pMaxPrimitiveCounts, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( infos.size() == indirectDeviceAddresses.size() ); - VULKAN_HPP_ASSERT( infos.size() == indirectStrides.size() ); - VULKAN_HPP_ASSERT( infos.size() == pMaxPrimitiveCounts.size() ); -# else - if ( infos.size() != indirectDeviceAddresses.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != indirectDeviceAddresses.size()" ); - } - if ( infos.size() != indirectStrides.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != indirectStrides.size()" ); - } - if ( infos.size() != pMaxPrimitiveCounts.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != pMaxPrimitiveCounts.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBuildAccelerationStructuresIndirectKHR( - m_commandBuffer, - infos.size(), - reinterpret_cast( infos.data() ), - reinterpret_cast( indirectDeviceAddresses.data() ), - indirectStrides.data(), - pMaxPrimitiveCounts.data() ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresKHR( - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdBuildAccelerationStructuresKHR( - m_commandBuffer, - infoCount, - reinterpret_cast( pInfos ), - reinterpret_cast( ppBuildRangeInfos ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresKHR( - ArrayProxy const & infos, - ArrayProxy const & pBuildRangeInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( infos.size() == pBuildRangeInfos.size() ); -# else - if ( infos.size() != pBuildRangeInfos.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::buildAccelerationStructuresKHR: infos.size() != pBuildRangeInfos.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdBuildAccelerationStructuresKHR( - m_commandBuffer, - infos.size(), - reinterpret_cast( infos.data() ), - reinterpret_cast( pBuildRangeInfos.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( uint32_t attachmentCount, - const VULKAN_HPP_NAMESPACE::ClearAttachment * pAttachments, - uint32_t rectCount, - const VULKAN_HPP_NAMESPACE::ClearRect * pRects, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearAttachments( m_commandBuffer, - attachmentCount, - reinterpret_cast( pAttachments ), - rectCount, - reinterpret_cast( pRects ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::clearAttachments( ArrayProxy const & attachments, - ArrayProxy const & rects, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearAttachments( m_commandBuffer, - attachments.size(), - reinterpret_cast( attachments.data() ), - rects.size(), - reinterpret_cast( rects.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const VULKAN_HPP_NAMESPACE::ClearColorValue * pColor, - uint32_t rangeCount, - const VULKAN_HPP_NAMESPACE::ImageSubresourceRange * pRanges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearColorImage( m_commandBuffer, - static_cast( image ), - static_cast( imageLayout ), - reinterpret_cast( pColor ), - rangeCount, - reinterpret_cast( pRanges ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::clearColorImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const ClearColorValue & color, - ArrayProxy const & ranges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearColorImage( m_commandBuffer, - static_cast( image ), - static_cast( imageLayout ), - reinterpret_cast( &color ), - ranges.size(), - reinterpret_cast( ranges.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const VULKAN_HPP_NAMESPACE::ClearDepthStencilValue * pDepthStencil, - uint32_t rangeCount, - const VULKAN_HPP_NAMESPACE::ImageSubresourceRange * pRanges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearDepthStencilImage( m_commandBuffer, - static_cast( image ), - static_cast( imageLayout ), - reinterpret_cast( pDepthStencil ), - rangeCount, - reinterpret_cast( pRanges ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, - const ClearDepthStencilValue & depthStencil, - ArrayProxy const & ranges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdClearDepthStencilImage( m_commandBuffer, - static_cast( image ), - static_cast( imageLayout ), - reinterpret_cast( &depthStencil ), - ranges.size(), - reinterpret_cast( ranges.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void - CommandBuffer::controlVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoCodingControlInfoKHR * pCodingControlInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdControlVideoCodingKHR( m_commandBuffer, - reinterpret_cast( pCodingControlInfo ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::controlVideoCodingKHR( const VideoCodingControlInfoKHR & codingControlInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdControlVideoCodingKHR( m_commandBuffer, - reinterpret_cast( &codingControlInfo ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyAccelerationStructureKHR( m_commandBuffer, - reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyAccelerationStructureKHR( m_commandBuffer, - reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, - VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyAccelerationStructureNV( m_commandBuffer, - static_cast( dst ), - static_cast( src ), - static_cast( mode ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureToMemoryKHR( - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyAccelerationStructureToMemoryKHR( - m_commandBuffer, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyAccelerationStructureToMemoryKHR( - m_commandBuffer, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferCopy * pRegions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBuffer( m_commandBuffer, - static_cast( srcBuffer ), - static_cast( dstBuffer ), - regionCount, - reinterpret_cast( pRegions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - ArrayProxy const & regions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBuffer( m_commandBuffer, - static_cast( srcBuffer ), - static_cast( dstBuffer ), - regions.size(), - reinterpret_cast( regions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::copyBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferInfo2KHR * pCopyBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBuffer2KHR( m_commandBuffer, reinterpret_cast( pCopyBufferInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( const CopyBufferInfo2KHR & copyBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBuffer2KHR( m_commandBuffer, reinterpret_cast( ©BufferInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferImageCopy * pRegions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBufferToImage( m_commandBuffer, - static_cast( srcBuffer ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regionCount, - reinterpret_cast( pRegions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBufferToImage( m_commandBuffer, - static_cast( srcBuffer ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regions.size(), - reinterpret_cast( regions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( - const VULKAN_HPP_NAMESPACE::CopyBufferToImageInfo2KHR * pCopyBufferToImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBufferToImage2KHR( m_commandBuffer, - reinterpret_cast( pCopyBufferToImageInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( const CopyBufferToImageInfo2KHR & copyBufferToImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyBufferToImage2KHR( m_commandBuffer, - reinterpret_cast( ©BufferToImageInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageCopy * pRegions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regionCount, - reinterpret_cast( pRegions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regions.size(), - reinterpret_cast( regions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( const VULKAN_HPP_NAMESPACE::CopyImageInfo2KHR * pCopyImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImage2KHR( m_commandBuffer, reinterpret_cast( pCopyImageInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( const CopyImageInfo2KHR & copyImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImage2KHR( m_commandBuffer, reinterpret_cast( ©ImageInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::BufferImageCopy * pRegions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImageToBuffer( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstBuffer ), - regionCount, - reinterpret_cast( pRegions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - ArrayProxy const & regions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImageToBuffer( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstBuffer ), - regions.size(), - reinterpret_cast( regions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( - const VULKAN_HPP_NAMESPACE::CopyImageToBufferInfo2KHR * pCopyImageToBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImageToBuffer2KHR( m_commandBuffer, - reinterpret_cast( pCopyImageToBufferInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( const CopyImageToBufferInfo2KHR & copyImageToBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyImageToBuffer2KHR( m_commandBuffer, - reinterpret_cast( ©ImageToBufferInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToAccelerationStructureKHR( - const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyMemoryToAccelerationStructureKHR( - m_commandBuffer, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyMemoryToAccelerationStructureKHR( - m_commandBuffer, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCopyQueryPoolResults( m_commandBuffer, - static_cast( queryPool ), - firstQuery, - queryCount, - static_cast( dstBuffer ), - static_cast( dstOffset ), - static_cast( stride ), - static_cast( flags ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::cuLaunchKernelNVX( const VULKAN_HPP_NAMESPACE::CuLaunchInfoNVX * pLaunchInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCuLaunchKernelNVX( m_commandBuffer, reinterpret_cast( pLaunchInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::cuLaunchKernelNVX( const CuLaunchInfoNVX & launchInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdCuLaunchKernelNVX( m_commandBuffer, reinterpret_cast( &launchInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::debugMarkerBeginEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT * pMarkerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDebugMarkerEndEXT( m_commandBuffer ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::debugMarkerInsertEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT * pMarkerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void CommandBuffer::decodeVideoKHR( const VULKAN_HPP_NAMESPACE::VideoDecodeInfoKHR * pFrameInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDecodeVideoKHR( m_commandBuffer, reinterpret_cast( pFrameInfo ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::decodeVideoKHR( const VideoDecodeInfoKHR & frameInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDecodeVideoKHR( m_commandBuffer, reinterpret_cast( &frameInfo ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, - uint32_t baseGroupY, - uint32_t baseGroupZ, - uint32_t groupCountX, - uint32_t groupCountY, - uint32_t groupCountZ, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDispatchBaseKHR( - m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDispatchIndirect( m_commandBuffer, static_cast( buffer ), static_cast( offset ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, - uint32_t instanceCount, - uint32_t firstVertex, - uint32_t firstInstance, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, - uint32_t instanceCount, - uint32_t firstIndex, - int32_t vertexOffset, - uint32_t firstInstance, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndexedIndirect( - m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndexedIndirectCount( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndexedIndirectCountKHR( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndirect( - m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCountEXT( uint32_t instanceCount, - uint32_t firstInstance, - VULKAN_HPP_NAMESPACE::Buffer counterBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize counterBufferOffset, - uint32_t counterOffset, - uint32_t vertexStride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndirectByteCountEXT( m_commandBuffer, - instanceCount, - firstInstance, - static_cast( counterBuffer ), - static_cast( counterBufferOffset ), - counterOffset, - vertexStride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndirectCount( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndirectCountAMD( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawIndirectCountKHR( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::Buffer countBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, - uint32_t maxDrawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawMeshTasksIndirectCountNV( m_commandBuffer, - static_cast( buffer ), - static_cast( offset ), - static_cast( countBuffer ), - static_cast( countBufferOffset ), - maxDrawCount, - stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - uint32_t drawCount, - uint32_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawMeshTasksIndirectNV( - m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksNV( uint32_t taskCount, - uint32_t firstTask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdDrawMeshTasksNV( m_commandBuffer, taskCount, firstTask ); - } - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void CommandBuffer::encodeVideoKHR( const VULKAN_HPP_NAMESPACE::VideoEncodeInfoKHR * pEncodeInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEncodeVideoKHR( m_commandBuffer, reinterpret_cast( pEncodeInfo ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::encodeVideoKHR( const VideoEncodeInfoKHR & encodeInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEncodeVideoKHR( m_commandBuffer, reinterpret_cast( &encodeInfo ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::endConditionalRenderingEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndConditionalRenderingEXT( m_commandBuffer ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndQuery( m_commandBuffer, static_cast( queryPool ), query ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - uint32_t index, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndQueryIndexedEXT( m_commandBuffer, static_cast( queryPool ), query, index ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::endRenderPass( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndRenderPass( m_commandBuffer ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndRenderPass2( m_commandBuffer, reinterpret_cast( pSubpassEndInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( const SubpassEndInfo & subpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndRenderPass2( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndRenderPass2KHR( m_commandBuffer, reinterpret_cast( pSubpassEndInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndRenderPass2KHR( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, - uint32_t counterBufferCount, - const VULKAN_HPP_NAMESPACE::Buffer * pCounterBuffers, - const VULKAN_HPP_NAMESPACE::DeviceSize * pCounterBufferOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndTransformFeedbackEXT( m_commandBuffer, - firstCounterBuffer, - counterBufferCount, - reinterpret_cast( pCounterBuffers ), - reinterpret_cast( pCounterBufferOffsets ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( - uint32_t firstCounterBuffer, - ArrayProxy const & counterBuffers, - ArrayProxy const & counterBufferOffsets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); -# else - if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::endTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdEndTransformFeedbackEXT( m_commandBuffer, - firstCounterBuffer, - counterBuffers.size(), - reinterpret_cast( counterBuffers.data() ), - reinterpret_cast( counterBufferOffsets.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void - CommandBuffer::endVideoCodingKHR( const VULKAN_HPP_NAMESPACE::VideoEndCodingInfoKHR * pEndCodingInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndVideoCodingKHR( m_commandBuffer, reinterpret_cast( pEndCodingInfo ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::endVideoCodingKHR( const VideoEndCodingInfoKHR & endCodingInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdEndVideoCodingKHR( m_commandBuffer, reinterpret_cast( &endCodingInfo ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::executeCommands( uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdExecuteCommands( - m_commandBuffer, commandBufferCount, reinterpret_cast( pCommandBuffers ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::executeCommands( ArrayProxy const & commandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdExecuteCommands( - m_commandBuffer, commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( - VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, - const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV * pGeneratedCommandsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdExecuteGeneratedCommandsNV( m_commandBuffer, - static_cast( isPreprocessed ), - reinterpret_cast( pGeneratedCommandsInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, - const GeneratedCommandsInfoNV & generatedCommandsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdExecuteGeneratedCommandsNV( m_commandBuffer, - static_cast( isPreprocessed ), - reinterpret_cast( &generatedCommandsInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - uint32_t data, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdFillBuffer( m_commandBuffer, - static_cast( dstBuffer ), - static_cast( dstOffset ), - static_cast( size ), - data ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( pLabelInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( VULKAN_HPP_NAMESPACE::SubpassContents contents, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdNextSubpass( m_commandBuffer, static_cast( contents ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdNextSubpass2( m_commandBuffer, - reinterpret_cast( pSubpassBeginInfo ), - reinterpret_cast( pSubpassEndInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, - const SubpassEndInfo & subpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdNextSubpass2( m_commandBuffer, - reinterpret_cast( &subpassBeginInfo ), - reinterpret_cast( &subpassEndInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::nextSubpass2KHR( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo * pSubpassBeginInfo, - const VULKAN_HPP_NAMESPACE::SubpassEndInfo * pSubpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdNextSubpass2KHR( m_commandBuffer, - reinterpret_cast( pSubpassBeginInfo ), - reinterpret_cast( pSubpassEndInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, - const SubpassEndInfo & subpassEndInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdNextSubpass2KHR( m_commandBuffer, - reinterpret_cast( &subpassBeginInfo ), - reinterpret_cast( &subpassEndInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, - uint32_t memoryBarrierCount, - const VULKAN_HPP_NAMESPACE::MemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier * pImageMemoryBarriers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPipelineBarrier( m_commandBuffer, - static_cast( srcStageMask ), - static_cast( dstStageMask ), - static_cast( dependencyFlags ), - memoryBarrierCount, - reinterpret_cast( pMemoryBarriers ), - bufferMemoryBarrierCount, - reinterpret_cast( pBufferMemoryBarriers ), - imageMemoryBarrierCount, - reinterpret_cast( pImageMemoryBarriers ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, - ArrayProxy const & memoryBarriers, - ArrayProxy const & bufferMemoryBarriers, - ArrayProxy const & imageMemoryBarriers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPipelineBarrier( m_commandBuffer, - static_cast( srcStageMask ), - static_cast( dstStageMask ), - static_cast( dependencyFlags ), - memoryBarriers.size(), - reinterpret_cast( memoryBarriers.data() ), - bufferMemoryBarriers.size(), - reinterpret_cast( bufferMemoryBarriers.data() ), - imageMemoryBarriers.size(), - reinterpret_cast( imageMemoryBarriers.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::pipelineBarrier2KHR( const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPipelineBarrier2KHR( m_commandBuffer, reinterpret_cast( pDependencyInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2KHR( const DependencyInfoKHR & dependencyInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPipelineBarrier2KHR( m_commandBuffer, reinterpret_cast( &dependencyInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( - const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV * pGeneratedCommandsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPreprocessGeneratedCommandsNV( - m_commandBuffer, reinterpret_cast( pGeneratedCommandsInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPreprocessGeneratedCommandsNV( - m_commandBuffer, reinterpret_cast( &generatedCommandsInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, - uint32_t offset, - uint32_t size, - const void * pValues, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPushConstants( m_commandBuffer, - static_cast( layout ), - static_cast( stageFlags ), - offset, - size, - pValues ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, - VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, - uint32_t offset, - ArrayProxy const & values, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPushConstants( m_commandBuffer, - static_cast( layout ), - static_cast( stageFlags ), - offset, - values.size() * sizeof( T ), - reinterpret_cast( values.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - uint32_t descriptorWriteCount, - const VULKAN_HPP_NAMESPACE::WriteDescriptorSet * pDescriptorWrites, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPushDescriptorSetKHR( m_commandBuffer, - static_cast( pipelineBindPoint ), - static_cast( layout ), - set, - descriptorWriteCount, - reinterpret_cast( pDescriptorWrites ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( - VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - ArrayProxy const & descriptorWrites, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPushDescriptorSetKHR( m_commandBuffer, - static_cast( pipelineBindPoint ), - static_cast( layout ), - set, - descriptorWrites.size(), - reinterpret_cast( descriptorWrites.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - VULKAN_HPP_NAMESPACE::PipelineLayout layout, - uint32_t set, - const void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, - static_cast( descriptorUpdateTemplate ), - static_cast( layout ), - set, - pData ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::resetEvent( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResetEvent( m_commandBuffer, static_cast( event ), static_cast( stageMask ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::resetEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stageMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResetEvent2KHR( - m_commandBuffer, static_cast( event ), static_cast( stageMask ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResetQueryPool( m_commandBuffer, static_cast( queryPool ), firstQuery, queryCount ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - uint32_t regionCount, - const VULKAN_HPP_NAMESPACE::ImageResolve * pRegions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResolveImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regionCount, - reinterpret_cast( pRegions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, - VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, - VULKAN_HPP_NAMESPACE::Image dstImage, - VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, - ArrayProxy const & regions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResolveImage( m_commandBuffer, - static_cast( srcImage ), - static_cast( srcImageLayout ), - static_cast( dstImage ), - static_cast( dstImageLayout ), - regions.size(), - reinterpret_cast( regions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::resolveImage2KHR( const VULKAN_HPP_NAMESPACE::ResolveImageInfo2KHR * pResolveImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResolveImage2KHR( m_commandBuffer, reinterpret_cast( pResolveImageInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( const ResolveImageInfo2KHR & resolveImageInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdResolveImage2KHR( m_commandBuffer, reinterpret_cast( &resolveImageInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setCheckpointNV( const void * pCheckpointMarker, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetCheckpointNV( m_commandBuffer, pCheckpointMarker ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, - uint32_t customSampleOrderCount, - const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV * pCustomSampleOrders, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetCoarseSampleOrderNV( m_commandBuffer, - static_cast( sampleOrderType ), - customSampleOrderCount, - reinterpret_cast( pCustomSampleOrders ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setCoarseSampleOrderNV( - VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, - ArrayProxy const & customSampleOrders, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetCoarseSampleOrderNV( m_commandBuffer, - static_cast( sampleOrderType ), - customSampleOrders.size(), - reinterpret_cast( customSampleOrders.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setColorWriteEnableEXT( uint32_t attachmentCount, - const VULKAN_HPP_NAMESPACE::Bool32 * pColorWriteEnables, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetColorWriteEnableEXT( - m_commandBuffer, attachmentCount, reinterpret_cast( pColorWriteEnables ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::setColorWriteEnableEXT( ArrayProxy const & colorWriteEnables, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetColorWriteEnableEXT( - m_commandBuffer, colorWriteEnables.size(), reinterpret_cast( colorWriteEnables.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setCullModeEXT( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetCullModeEXT( m_commandBuffer, static_cast( cullMode ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, - float depthBiasClamp, - float depthBiasSlopeFactor, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthBiasEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthBiasEnableEXT( m_commandBuffer, static_cast( depthBiasEnable ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, - float maxDepthBounds, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthBoundsTestEnableEXT( m_commandBuffer, static_cast( depthBoundsTestEnable ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthCompareOpEXT( m_commandBuffer, static_cast( depthCompareOp ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthTestEnableEXT( m_commandBuffer, static_cast( depthTestEnable ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDepthWriteEnableEXT( m_commandBuffer, static_cast( depthWriteEnable ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, - uint32_t discardRectangleCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pDiscardRectangles, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, - firstDiscardRectangle, - discardRectangleCount, - reinterpret_cast( pDiscardRectangles ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, - ArrayProxy const & discardRectangles, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, - firstDiscardRectangle, - discardRectangles.size(), - reinterpret_cast( discardRectangles.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setEvent( VULKAN_HPP_NAMESPACE::Event event, - VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetEvent( m_commandBuffer, static_cast( event ), static_cast( stageMask ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetEvent2KHR( m_commandBuffer, - static_cast( event ), - reinterpret_cast( pDependencyInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, - const DependencyInfoKHR & dependencyInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetEvent2KHR( m_commandBuffer, - static_cast( event ), - reinterpret_cast( &dependencyInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, - uint32_t exclusiveScissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pExclusiveScissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetExclusiveScissorNV( m_commandBuffer, - firstExclusiveScissor, - exclusiveScissorCount, - reinterpret_cast( pExclusiveScissors ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, - ArrayProxy const & exclusiveScissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetExclusiveScissorNV( m_commandBuffer, - firstExclusiveScissor, - exclusiveScissors.size(), - reinterpret_cast( exclusiveScissors.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateEnumNV( - VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetFragmentShadingRateEnumNV( m_commandBuffer, - static_cast( shadingRate ), - reinterpret_cast( combinerOps ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( - const VULKAN_HPP_NAMESPACE::Extent2D * pFragmentSize, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetFragmentShadingRateKHR( m_commandBuffer, - reinterpret_cast( pFragmentSize ), - reinterpret_cast( combinerOps ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( - const Extent2D & fragmentSize, - const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetFragmentShadingRateKHR( m_commandBuffer, - reinterpret_cast( &fragmentSize ), - reinterpret_cast( combinerOps ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setFrontFaceEXT( VULKAN_HPP_NAMESPACE::FrontFace frontFace, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetFrontFaceEXT( m_commandBuffer, static_cast( frontFace ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEXT( uint32_t lineStippleFactor, - uint16_t lineStipplePattern, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetLineStippleEXT( m_commandBuffer, lineStippleFactor, lineStipplePattern ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetLineWidth( m_commandBuffer, lineWidth ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setLogicOpEXT( VULKAN_HPP_NAMESPACE::LogicOp logicOp, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetLogicOpEXT( m_commandBuffer, static_cast( logicOp ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setPatchControlPointsEXT( uint32_t patchControlPoints, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetPatchControlPointsEXT( m_commandBuffer, patchControlPoints ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceMarkerINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceMarkerInfoINTEL * pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCmdSetPerformanceMarkerINTEL( - m_commandBuffer, reinterpret_cast( pMarkerInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo, Dispatch const & d ) const - { - Result result = static_cast( d.vkCmdSetPerformanceMarkerINTEL( - m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceMarkerINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceOverrideINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceOverrideInfoINTEL * pOverrideInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCmdSetPerformanceOverrideINTEL( - m_commandBuffer, reinterpret_cast( pOverrideInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkCmdSetPerformanceOverrideINTEL( - m_commandBuffer, reinterpret_cast( &overrideInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceOverrideINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceStreamMarkerINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceStreamMarkerInfoINTEL * pMarkerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCmdSetPerformanceStreamMarkerINTEL( - m_commandBuffer, reinterpret_cast( pMarkerInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkCmdSetPerformanceStreamMarkerINTEL( - m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceStreamMarkerINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::setPrimitiveRestartEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetPrimitiveRestartEnableEXT( m_commandBuffer, static_cast( primitiveRestartEnable ) ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::setPrimitiveTopologyEXT( VULKAN_HPP_NAMESPACE::PrimitiveTopology primitiveTopology, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetPrimitiveTopologyEXT( m_commandBuffer, static_cast( primitiveTopology ) ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::setRasterizerDiscardEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetRasterizerDiscardEnableEXT( m_commandBuffer, static_cast( rasterizerDiscardEnable ) ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetRayTracingPipelineStackSizeKHR( m_commandBuffer, pipelineStackSize ); - } - - template - VULKAN_HPP_INLINE void - CommandBuffer::setSampleLocationsEXT( const VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT * pSampleLocationsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetSampleLocationsEXT( m_commandBuffer, - reinterpret_cast( pSampleLocationsInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetSampleLocationsEXT( m_commandBuffer, - reinterpret_cast( &sampleLocationsInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, - uint32_t scissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissorCount, reinterpret_cast( pScissors ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, - ArrayProxy const & scissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetScissor( - m_commandBuffer, firstScissor, scissors.size(), reinterpret_cast( scissors.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( uint32_t scissorCount, - const VULKAN_HPP_NAMESPACE::Rect2D * pScissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetScissorWithCountEXT( m_commandBuffer, scissorCount, reinterpret_cast( pScissors ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::setScissorWithCountEXT( ArrayProxy const & scissors, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetScissorWithCountEXT( - m_commandBuffer, scissors.size(), reinterpret_cast( scissors.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t compareMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast( faceMask ), compareMask ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setStencilOpEXT( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - VULKAN_HPP_NAMESPACE::StencilOp failOp, - VULKAN_HPP_NAMESPACE::StencilOp passOp, - VULKAN_HPP_NAMESPACE::StencilOp depthFailOp, - VULKAN_HPP_NAMESPACE::CompareOp compareOp, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetStencilOpEXT( m_commandBuffer, - static_cast( faceMask ), - static_cast( failOp ), - static_cast( passOp ), - static_cast( depthFailOp ), - static_cast( compareOp ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t reference, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetStencilReference( m_commandBuffer, static_cast( faceMask ), reference ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetStencilTestEnableEXT( m_commandBuffer, static_cast( stencilTestEnable ) ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, - uint32_t writeMask, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast( faceMask ), writeMask ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::setVertexInputEXT( - uint32_t vertexBindingDescriptionCount, - const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription2EXT * pVertexBindingDescriptions, - uint32_t vertexAttributeDescriptionCount, - const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription2EXT * pVertexAttributeDescriptions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetVertexInputEXT( - m_commandBuffer, - vertexBindingDescriptionCount, - reinterpret_cast( pVertexBindingDescriptions ), - vertexAttributeDescriptionCount, - reinterpret_cast( pVertexAttributeDescriptions ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setVertexInputEXT( - ArrayProxy const & vertexBindingDescriptions, - ArrayProxy const & vertexAttributeDescriptions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetVertexInputEXT( - m_commandBuffer, - vertexBindingDescriptions.size(), - reinterpret_cast( vertexBindingDescriptions.data() ), - vertexAttributeDescriptions.size(), - reinterpret_cast( vertexAttributeDescriptions.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::Viewport * pViewports, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewport( - m_commandBuffer, firstViewport, viewportCount, reinterpret_cast( pViewports ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, - ArrayProxy const & viewports, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewport( - m_commandBuffer, firstViewport, viewports.size(), reinterpret_cast( viewports.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( - uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV * pShadingRatePalettes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportShadingRatePaletteNV( m_commandBuffer, - firstViewport, - viewportCount, - reinterpret_cast( pShadingRatePalettes ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( - uint32_t firstViewport, - ArrayProxy const & shadingRatePalettes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportShadingRatePaletteNV( - m_commandBuffer, - firstViewport, - shadingRatePalettes.size(), - reinterpret_cast( shadingRatePalettes.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, - uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::ViewportWScalingNV * pViewportWScalings, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportWScalingNV( m_commandBuffer, - firstViewport, - viewportCount, - reinterpret_cast( pViewportWScalings ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( - uint32_t firstViewport, - ArrayProxy const & viewportWScalings, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportWScalingNV( m_commandBuffer, - firstViewport, - viewportWScalings.size(), - reinterpret_cast( viewportWScalings.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( uint32_t viewportCount, - const VULKAN_HPP_NAMESPACE::Viewport * pViewports, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportWithCountEXT( - m_commandBuffer, viewportCount, reinterpret_cast( pViewports ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::setViewportWithCountEXT( ArrayProxy const & viewports, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdSetViewportWithCountEXT( - m_commandBuffer, viewports.size(), reinterpret_cast( viewports.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - VULKAN_HPP_NAMESPACE::DeviceAddress indirectDeviceAddress, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdTraceRaysIndirectKHR( - m_commandBuffer, - reinterpret_cast( pRaygenShaderBindingTable ), - reinterpret_cast( pMissShaderBindingTable ), - reinterpret_cast( pHitShaderBindingTable ), - reinterpret_cast( pCallableShaderBindingTable ), - static_cast( indirectDeviceAddress ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::traceRaysIndirectKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, - const StridedDeviceAddressRegionKHR & missShaderBindingTable, - const StridedDeviceAddressRegionKHR & hitShaderBindingTable, - const StridedDeviceAddressRegionKHR & callableShaderBindingTable, - VULKAN_HPP_NAMESPACE::DeviceAddress indirectDeviceAddress, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdTraceRaysIndirectKHR( - m_commandBuffer, - reinterpret_cast( &raygenShaderBindingTable ), - reinterpret_cast( &missShaderBindingTable ), - reinterpret_cast( &hitShaderBindingTable ), - reinterpret_cast( &callableShaderBindingTable ), - static_cast( indirectDeviceAddress ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pRaygenShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pMissShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pHitShaderBindingTable, - const VULKAN_HPP_NAMESPACE::StridedDeviceAddressRegionKHR * pCallableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdTraceRaysKHR( m_commandBuffer, - reinterpret_cast( pRaygenShaderBindingTable ), - reinterpret_cast( pMissShaderBindingTable ), - reinterpret_cast( pHitShaderBindingTable ), - reinterpret_cast( pCallableShaderBindingTable ), - width, - height, - depth ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, - const StridedDeviceAddressRegionKHR & missShaderBindingTable, - const StridedDeviceAddressRegionKHR & hitShaderBindingTable, - const StridedDeviceAddressRegionKHR & callableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdTraceRaysKHR( m_commandBuffer, - reinterpret_cast( &raygenShaderBindingTable ), - reinterpret_cast( &missShaderBindingTable ), - reinterpret_cast( &hitShaderBindingTable ), - reinterpret_cast( &callableShaderBindingTable ), - width, - height, - depth ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize raygenShaderBindingOffset, - VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingStride, - VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingStride, - VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingOffset, - VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingStride, - uint32_t width, - uint32_t height, - uint32_t depth, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdTraceRaysNV( m_commandBuffer, - static_cast( raygenShaderBindingTableBuffer ), - static_cast( raygenShaderBindingOffset ), - static_cast( missShaderBindingTableBuffer ), - static_cast( missShaderBindingOffset ), - static_cast( missShaderBindingStride ), - static_cast( hitShaderBindingTableBuffer ), - static_cast( hitShaderBindingOffset ), - static_cast( hitShaderBindingStride ), - static_cast( callableShaderBindingTableBuffer ), - static_cast( callableShaderBindingOffset ), - static_cast( callableShaderBindingStride ), - width, - height, - depth ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - VULKAN_HPP_NAMESPACE::DeviceSize dataSize, - const void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdUpdateBuffer( m_commandBuffer, - static_cast( dstBuffer ), - static_cast( dstOffset ), - static_cast( dataSize ), - pData ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - ArrayProxy const & data, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdUpdateBuffer( m_commandBuffer, - static_cast( dstBuffer ), - static_cast( dstOffset ), - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::waitEvents( uint32_t eventCount, - const VULKAN_HPP_NAMESPACE::Event * pEvents, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - uint32_t memoryBarrierCount, - const VULKAN_HPP_NAMESPACE::MemoryBarrier * pMemoryBarriers, - uint32_t bufferMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier * pBufferMemoryBarriers, - uint32_t imageMemoryBarrierCount, - const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier * pImageMemoryBarriers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWaitEvents( m_commandBuffer, - eventCount, - reinterpret_cast( pEvents ), - static_cast( srcStageMask ), - static_cast( dstStageMask ), - memoryBarrierCount, - reinterpret_cast( pMemoryBarriers ), - bufferMemoryBarrierCount, - reinterpret_cast( pBufferMemoryBarriers ), - imageMemoryBarrierCount, - reinterpret_cast( pImageMemoryBarriers ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::waitEvents( ArrayProxy const & events, - VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, - VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, - ArrayProxy const & memoryBarriers, - ArrayProxy const & bufferMemoryBarriers, - ArrayProxy const & imageMemoryBarriers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWaitEvents( m_commandBuffer, - events.size(), - reinterpret_cast( events.data() ), - static_cast( srcStageMask ), - static_cast( dstStageMask ), - memoryBarriers.size(), - reinterpret_cast( memoryBarriers.data() ), - bufferMemoryBarriers.size(), - reinterpret_cast( bufferMemoryBarriers.data() ), - imageMemoryBarriers.size(), - reinterpret_cast( imageMemoryBarriers.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - CommandBuffer::waitEvents2KHR( uint32_t eventCount, - const VULKAN_HPP_NAMESPACE::Event * pEvents, - const VULKAN_HPP_NAMESPACE::DependencyInfoKHR * pDependencyInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWaitEvents2KHR( m_commandBuffer, - eventCount, - reinterpret_cast( pEvents ), - reinterpret_cast( pDependencyInfos ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - CommandBuffer::waitEvents2KHR( ArrayProxy const & events, - ArrayProxy const & dependencyInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( events.size() == dependencyInfos.size() ); -# else - if ( events.size() != dependencyInfos.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::CommandBuffer::waitEvents2KHR: events.size() != dependencyInfos.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkCmdWaitEvents2KHR( m_commandBuffer, - events.size(), - reinterpret_cast( events.data() ), - reinterpret_cast( dependencyInfos.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteAccelerationStructuresPropertiesKHR( - m_commandBuffer, - accelerationStructureCount, - reinterpret_cast( pAccelerationStructures ), - static_cast( queryType ), - static_cast( queryPool ), - firstQuery ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteAccelerationStructuresPropertiesKHR( - m_commandBuffer, - accelerationStructures.size(), - reinterpret_cast( accelerationStructures.data() ), - static_cast( queryType ), - static_cast( queryPool ), - firstQuery ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteAccelerationStructuresPropertiesNV( - m_commandBuffer, - accelerationStructureCount, - reinterpret_cast( pAccelerationStructures ), - static_cast( queryType ), - static_cast( queryPool ), - firstQuery ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteAccelerationStructuresPropertiesNV( - m_commandBuffer, - accelerationStructures.size(), - reinterpret_cast( accelerationStructures.data() ), - static_cast( queryType ), - static_cast( queryPool ), - firstQuery ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarker2AMD( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - uint32_t marker, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteBufferMarker2AMD( m_commandBuffer, - static_cast( stage ), - static_cast( dstBuffer ), - static_cast( dstOffset ), - marker ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, - VULKAN_HPP_NAMESPACE::Buffer dstBuffer, - VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, - uint32_t marker, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, - static_cast( pipelineStage ), - static_cast( dstBuffer ), - static_cast( dstOffset ), - marker ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteTimestamp( m_commandBuffer, - static_cast( pipelineStage ), - static_cast( queryPool ), - query ); - } - - template - VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp2KHR( VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR stage, - VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t query, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkCmdWriteTimestamp2KHR( - m_commandBuffer, static_cast( stage ), static_cast( queryPool ), query ); - } - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::end( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEndCommandBuffer( m_commandBuffer ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::end( Dispatch const & d ) const - { - Result result = static_cast( d.vkEndCommandBuffer( m_commandBuffer ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::end" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::reset( - VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkResetCommandBuffer( m_commandBuffer, static_cast( flags ) ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type - CommandBuffer::reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, Dispatch const & d ) const - { - Result result = - static_cast( d.vkResetCommandBuffer( m_commandBuffer, static_cast( flags ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::reset" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireFullScreenExclusiveModeEXT( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkAcquireFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); - } -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - Result result = static_cast( - d.vkAcquireFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireFullScreenExclusiveModeEXT" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::acquireNextImage2KHR( const VULKAN_HPP_NAMESPACE::AcquireNextImageInfoKHR * pAcquireInfo, - uint32_t * pImageIndex, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkAcquireNextImage2KHR( - m_device, reinterpret_cast( pAcquireInfo ), pImageIndex ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const & d ) const - { - uint32_t imageIndex; - Result result = static_cast( d.vkAcquireNextImage2KHR( - m_device, reinterpret_cast( &acquireInfo ), &imageIndex ) ); - return createResultValue( result, - imageIndex, - VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImage2KHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eTimeout, - VULKAN_HPP_NAMESPACE::Result::eNotReady, - VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint64_t timeout, - VULKAN_HPP_NAMESPACE::Semaphore semaphore, - VULKAN_HPP_NAMESPACE::Fence fence, - uint32_t * pImageIndex, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkAcquireNextImageKHR( m_device, - static_cast( swapchain ), - timeout, - static_cast( semaphore ), - static_cast( fence ), - pImageIndex ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint64_t timeout, - VULKAN_HPP_NAMESPACE::Semaphore semaphore, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const - { - uint32_t imageIndex; - Result result = static_cast( d.vkAcquireNextImageKHR( m_device, - static_cast( swapchain ), - timeout, - static_cast( semaphore ), - static_cast( fence ), - &imageIndex ) ); - return createResultValue( result, - imageIndex, - VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImageKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eTimeout, - VULKAN_HPP_NAMESPACE::Result::eNotReady, - VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquirePerformanceConfigurationINTEL( - const VULKAN_HPP_NAMESPACE::PerformanceConfigurationAcquireInfoINTEL * pAcquireInfo, - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL * pConfiguration, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkAcquirePerformanceConfigurationINTEL( - m_device, - reinterpret_cast( pAcquireInfo ), - reinterpret_cast( pConfiguration ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::acquirePerformanceConfigurationINTEL( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration; - Result result = static_cast( d.vkAcquirePerformanceConfigurationINTEL( - m_device, - reinterpret_cast( &acquireInfo ), - reinterpret_cast( &configuration ) ) ); - return createResultValue( - result, configuration, VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTEL" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::acquirePerformanceConfigurationINTELUnique( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration; - Result result = static_cast( d.vkAcquirePerformanceConfigurationINTEL( - m_device, - reinterpret_cast( &acquireInfo ), - reinterpret_cast( &configuration ) ) ); - ObjectRelease deleter( *this, d ); - return createResultValue( - result, - configuration, - VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTELUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireProfilingLockKHR( - const VULKAN_HPP_NAMESPACE::AcquireProfilingLockInfoKHR * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkAcquireProfilingLockKHR( m_device, reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info, Dispatch const & d ) const - { - Result result = static_cast( - d.vkAcquireProfilingLockKHR( m_device, reinterpret_cast( &info ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireProfilingLockKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::allocateCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo * pAllocateInfo, - VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkAllocateCommandBuffers( m_device, - reinterpret_cast( pAllocateInfo ), - reinterpret_cast( pCommandBuffers ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d ) const - { - std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( - d.vkAllocateCommandBuffers( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( commandBuffers.data() ) ) ); - return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, - CommandBufferAllocator & commandBufferAllocator, - Dispatch const & d ) const - { - std::vector commandBuffers( allocateInfo.commandBufferCount, - commandBufferAllocator ); - Result result = static_cast( - d.vkAllocateCommandBuffers( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( commandBuffers.data() ) ) ); - return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, CommandBufferAllocator>>::type - Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d ) const - { - std::vector, CommandBufferAllocator> uniqueCommandBuffers; - std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( - d.vkAllocateCommandBuffers( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( commandBuffers.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); - PoolFree deleter( *this, allocateInfo.commandPool, d ); - for ( size_t i = 0; i < allocateInfo.commandBufferCount; i++ ) - { - uniqueCommandBuffers.push_back( UniqueHandle( commandBuffers[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueCommandBuffers ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); - } - - template >::value, - int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, CommandBufferAllocator>>::type - Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, - CommandBufferAllocator & commandBufferAllocator, - Dispatch const & d ) const - { - std::vector, CommandBufferAllocator> uniqueCommandBuffers( - commandBufferAllocator ); - std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( - d.vkAllocateCommandBuffers( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( commandBuffers.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); - PoolFree deleter( *this, allocateInfo.commandPool, d ); - for ( size_t i = 0; i < allocateInfo.commandBufferCount; i++ ) - { - uniqueCommandBuffers.push_back( UniqueHandle( commandBuffers[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueCommandBuffers ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::allocateDescriptorSets( const VULKAN_HPP_NAMESPACE::DescriptorSetAllocateInfo * pAllocateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkAllocateDescriptorSets( m_device, - reinterpret_cast( pAllocateInfo ), - reinterpret_cast( pDescriptorSets ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d ) const - { - std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( - d.vkAllocateDescriptorSets( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( descriptorSets.data() ) ) ); - return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, - DescriptorSetAllocator & descriptorSetAllocator, - Dispatch const & d ) const - { - std::vector descriptorSets( allocateInfo.descriptorSetCount, - descriptorSetAllocator ); - Result result = static_cast( - d.vkAllocateDescriptorSets( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( descriptorSets.data() ) ) ); - return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, DescriptorSetAllocator>>::type - Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d ) const - { - std::vector, DescriptorSetAllocator> uniqueDescriptorSets; - std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( - d.vkAllocateDescriptorSets( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( descriptorSets.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); - PoolFree deleter( *this, allocateInfo.descriptorPool, d ); - for ( size_t i = 0; i < allocateInfo.descriptorSetCount; i++ ) - { - uniqueDescriptorSets.push_back( UniqueHandle( descriptorSets[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueDescriptorSets ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); - } - - template >::value, - int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, DescriptorSetAllocator>>::type - Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, - DescriptorSetAllocator & descriptorSetAllocator, - Dispatch const & d ) const - { - std::vector, DescriptorSetAllocator> uniqueDescriptorSets( - descriptorSetAllocator ); - std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( - d.vkAllocateDescriptorSets( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( descriptorSets.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); - PoolFree deleter( *this, allocateInfo.descriptorPool, d ); - for ( size_t i = 0; i < allocateInfo.descriptorSetCount; i++ ) - { - uniqueDescriptorSets.push_back( UniqueHandle( descriptorSets[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueDescriptorSets ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::allocateMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo * pAllocateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DeviceMemory * pMemory, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkAllocateMemory( m_device, - reinterpret_cast( pAllocateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pMemory ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::allocateMemory( const MemoryAllocateInfo & allocateInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeviceMemory memory; - Result result = static_cast( - d.vkAllocateMemory( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &memory ) ) ); - return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateMemory" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeviceMemory memory; - Result result = static_cast( - d.vkAllocateMemory( m_device, - reinterpret_cast( &allocateInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &memory ) ) ); - ObjectFree deleter( *this, allocator, d ); - return createResultValue( - result, memory, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateMemoryUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryNV( - uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoNV * pBindInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindAccelerationStructureMemoryNV( - m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindAccelerationStructureMemoryNV( - ArrayProxy const & bindInfos, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindAccelerationStructureMemoryNV( - m_device, - bindInfos.size(), - reinterpret_cast( bindInfos.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindBufferMemory( m_device, - static_cast( buffer ), - static_cast( memory ), - static_cast( memoryOffset ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindBufferMemory( m_device, - static_cast( buffer ), - static_cast( memory ), - static_cast( memoryOffset ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::bindBufferMemory2( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo * pBindInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindBufferMemory2( - m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindBufferMemory2( ArrayProxy const & bindInfos, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindBufferMemory2( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::bindBufferMemory2KHR( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo * pBindInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindBufferMemory2KHR( - m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindBufferMemory2KHR( ArrayProxy const & bindInfos, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindBufferMemory2KHR( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindImageMemory( m_device, - static_cast( image ), - static_cast( memory ), - static_cast( memoryOffset ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindImageMemory( m_device, - static_cast( image ), - static_cast( memory ), - static_cast( memoryOffset ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::bindImageMemory2( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo * pBindInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkBindImageMemory2( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindImageMemory2( ArrayProxy const & bindInfos, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindImageMemory2( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::bindImageMemory2KHR( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo * pBindInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBindImageMemory2KHR( - m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindImageMemory2KHR( ArrayProxy const & bindInfos, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindImageMemory2KHR( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::bindVideoSessionMemoryKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - uint32_t videoSessionBindMemoryCount, - const VULKAN_HPP_NAMESPACE::VideoBindMemoryKHR * pVideoSessionBindMemories, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkBindVideoSessionMemoryKHR( m_device, - static_cast( videoSession ), - videoSessionBindMemoryCount, - reinterpret_cast( pVideoSessionBindMemories ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::bindVideoSessionMemoryKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - ArrayProxy const & videoSessionBindMemories, - Dispatch const & d ) const - { - Result result = static_cast( d.vkBindVideoSessionMemoryKHR( - m_device, - static_cast( videoSession ), - videoSessionBindMemories.size(), - reinterpret_cast( videoSessionBindMemories.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindVideoSessionMemoryKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildAccelerationStructuresKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - uint32_t infoCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pInfos, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildRangeInfoKHR * const * ppBuildRangeInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkBuildAccelerationStructuresKHR( - m_device, - static_cast( deferredOperation ), - infoCount, - reinterpret_cast( pInfos ), - reinterpret_cast( ppBuildRangeInfos ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Result Device::buildAccelerationStructuresKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - ArrayProxy const & infos, - ArrayProxy const & pBuildRangeInfos, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( infos.size() == pBuildRangeInfos.size() ); -# else - if ( infos.size() != pBuildRangeInfos.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::Device::buildAccelerationStructuresKHR: infos.size() != pBuildRangeInfos.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - Result result = static_cast( d.vkBuildAccelerationStructuresKHR( - m_device, - static_cast( deferredOperation ), - infos.size(), - reinterpret_cast( infos.data() ), - reinterpret_cast( pBuildRangeInfos.data() ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::buildAccelerationStructuresKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::compileDeferredNV( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCompileDeferredNV( m_device, static_cast( pipeline ), shader ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d ) const - { - Result result = - static_cast( d.vkCompileDeferredNV( m_device, static_cast( pipeline ), shader ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::compileDeferredNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::copyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCopyAccelerationStructureKHR( m_device, - static_cast( deferredOperation ), - reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::copyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyAccelerationStructureInfoKHR & info, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkCopyAccelerationStructureKHR( m_device, - static_cast( deferredOperation ), - reinterpret_cast( &info ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCopyAccelerationStructureToMemoryKHR( - m_device, - static_cast( deferredOperation ), - reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::copyAccelerationStructureToMemoryKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyAccelerationStructureToMemoryInfoKHR & info, - Dispatch const & d ) const - { - Result result = static_cast( d.vkCopyAccelerationStructureToMemoryKHR( - m_device, - static_cast( deferredOperation ), - reinterpret_cast( &info ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureToMemoryKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCopyMemoryToAccelerationStructureKHR( - m_device, - static_cast( deferredOperation ), - reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::copyMemoryToAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - const CopyMemoryToAccelerationStructureInfoKHR & info, - Dispatch const & d ) const - { - Result result = static_cast( d.vkCopyMemoryToAccelerationStructureKHR( - m_device, - static_cast( deferredOperation ), - reinterpret_cast( &info ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToAccelerationStructureKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructureKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructure, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateAccelerationStructureKHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pAccelerationStructure ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createAccelerationStructureKHR( const AccelerationStructureCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &accelerationStructure ) ) ); - return createResultValue( - result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createAccelerationStructureKHRUnique( const AccelerationStructureCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &accelerationStructure ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - accelerationStructure, - VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureKHRUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoNV * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::AccelerationStructureNV * pAccelerationStructure, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateAccelerationStructureNV( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pAccelerationStructure ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::createAccelerationStructureNV( const AccelerationStructureCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureNV( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &accelerationStructure ) ) ); - return createResultValue( - result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureNV" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createAccelerationStructureNVUnique( const AccelerationStructureCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureNV( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &accelerationStructure ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - accelerationStructure, - VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureNVUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createBuffer( const VULKAN_HPP_NAMESPACE::BufferCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Buffer * pBuffer, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateBuffer( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pBuffer ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::createBuffer( const BufferCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Buffer buffer; - Result result = static_cast( - d.vkCreateBuffer( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &buffer ) ) ); - return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createBuffer" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createBufferUnique( const BufferCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Buffer buffer; - Result result = static_cast( - d.vkCreateBuffer( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &buffer ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createBufferView( const VULKAN_HPP_NAMESPACE::BufferViewCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::BufferView * pView, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateBufferView( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pView ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createBufferView( const BufferViewCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::BufferView view; - Result result = static_cast( - d.vkCreateBufferView( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &view ) ) ); - return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferView" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createBufferViewUnique( const BufferViewCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::BufferView view; - Result result = static_cast( - d.vkCreateBufferView( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &view ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferViewUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createCommandPool( const VULKAN_HPP_NAMESPACE::CommandPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CommandPool * pCommandPool, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateCommandPool( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pCommandPool ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createCommandPool( const CommandPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CommandPool commandPool; - Result result = static_cast( - d.vkCreateCommandPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &commandPool ) ) ); - return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createCommandPool" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CommandPool commandPool; - Result result = static_cast( - d.vkCreateCommandPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &commandPool ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, commandPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createCommandPoolUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - createInfoCount, - reinterpret_cast( pCreateInfos ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelines ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createComputePipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelines", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createComputePipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size(), pipelineAllocator ); - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelines", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::createComputePipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipeline", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createComputePipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines; - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template < - typename Dispatch, - typename PipelineAllocator, - typename B, - typename std::enable_if>::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createComputePipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createComputePipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateComputePipelines( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelineUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createCuFunctionNVX( const VULKAN_HPP_NAMESPACE::CuFunctionCreateInfoNVX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CuFunctionNVX * pFunction, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateCuFunctionNVX( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pFunction ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createCuFunctionNVX( const CuFunctionCreateInfoNVX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CuFunctionNVX function; - Result result = static_cast( - d.vkCreateCuFunctionNVX( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &function ) ) ); - return createResultValue( result, function, VULKAN_HPP_NAMESPACE_STRING "::Device::createCuFunctionNVX" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createCuFunctionNVXUnique( const CuFunctionCreateInfoNVX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CuFunctionNVX function; - Result result = static_cast( - d.vkCreateCuFunctionNVX( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &function ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, function, VULKAN_HPP_NAMESPACE_STRING "::Device::createCuFunctionNVXUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createCuModuleNVX( const VULKAN_HPP_NAMESPACE::CuModuleCreateInfoNVX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::CuModuleNVX * pModule, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateCuModuleNVX( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pModule ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createCuModuleNVX( const CuModuleCreateInfoNVX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CuModuleNVX module; - Result result = static_cast( - d.vkCreateCuModuleNVX( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &module ) ) ); - return createResultValue( result, module, VULKAN_HPP_NAMESPACE_STRING "::Device::createCuModuleNVX" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createCuModuleNVXUnique( const CuModuleCreateInfoNVX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::CuModuleNVX module; - Result result = static_cast( - d.vkCreateCuModuleNVX( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &module ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, module, VULKAN_HPP_NAMESPACE_STRING "::Device::createCuModuleNVXUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createDeferredOperationKHR( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DeferredOperationKHR * pDeferredOperation, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDeferredOperationKHR( m_device, - reinterpret_cast( pAllocator ), - reinterpret_cast( pDeferredOperation ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::createDeferredOperationKHR( Optional allocator, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation; - Result result = static_cast( - d.vkCreateDeferredOperationKHR( m_device, - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &deferredOperation ) ) ); - return createResultValue( - result, deferredOperation, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Device::createDeferredOperationKHRUnique( Optional allocator, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation; - Result result = static_cast( - d.vkCreateDeferredOperationKHR( m_device, - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &deferredOperation ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, deferredOperation, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createDescriptorPool( const VULKAN_HPP_NAMESPACE::DescriptorPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorPool * pDescriptorPool, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDescriptorPool( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pDescriptorPool ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; - Result result = static_cast( - d.vkCreateDescriptorPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorPool ) ) ); - return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorPool" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; - Result result = static_cast( - d.vkCreateDescriptorPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorPool ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorPoolUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createDescriptorSetLayout( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorSetLayout * pSetLayout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDescriptorSetLayout( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSetLayout ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorSetLayout setLayout; - Result result = static_cast( - d.vkCreateDescriptorSetLayout( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &setLayout ) ) ); - return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorSetLayout" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorSetLayout setLayout; - Result result = static_cast( - d.vkCreateDescriptorSetLayout( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &setLayout ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, setLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorSetLayoutUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplate( - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate * pDescriptorUpdateTemplate, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateDescriptorUpdateTemplate( - m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pDescriptorUpdateTemplate ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorUpdateTemplate ) ) ); - return createResultValue( - result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplate" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorUpdateTemplate ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - descriptorUpdateTemplate, - VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplateKHR( - const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate * pDescriptorUpdateTemplate, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateDescriptorUpdateTemplateKHR( - m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pDescriptorUpdateTemplate ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorUpdateTemplate ) ) ); - return createResultValue( - result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &descriptorUpdateTemplate ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - descriptorUpdateTemplate, - VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateKHRUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createEvent( const VULKAN_HPP_NAMESPACE::EventCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Event * pEvent, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateEvent( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pEvent ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::createEvent( const EventCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Event event; - Result result = static_cast( - d.vkCreateEvent( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &event ) ) ); - return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING "::Device::createEvent" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createEventUnique( const EventCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Event event; - Result result = static_cast( - d.vkCreateEvent( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &event ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, event, VULKAN_HPP_NAMESPACE_STRING "::Device::createEventUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateFence( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pFence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::createFence( const FenceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkCreateFence( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::createFence" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createFenceUnique( const FenceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkCreateFence( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::createFenceUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createFramebuffer( const VULKAN_HPP_NAMESPACE::FramebufferCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Framebuffer * pFramebuffer, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateFramebuffer( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pFramebuffer ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createFramebuffer( const FramebufferCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer; - Result result = static_cast( - d.vkCreateFramebuffer( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &framebuffer ) ) ); - return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createFramebuffer" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createFramebufferUnique( const FramebufferCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Framebuffer framebuffer; - Result result = static_cast( - d.vkCreateFramebuffer( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &framebuffer ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, framebuffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createFramebufferUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - createInfoCount, - reinterpret_cast( pCreateInfos ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelines ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createGraphicsPipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelines", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createGraphicsPipelines( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size(), pipelineAllocator ); - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelines", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::createGraphicsPipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipeline", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createGraphicsPipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines; - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template < - typename Dispatch, - typename PipelineAllocator, - typename B, - typename std::enable_if>::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createGraphicsPipelinesUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createGraphicsPipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateGraphicsPipelines( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelineUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createImage( const VULKAN_HPP_NAMESPACE::ImageCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Image * pImage, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateImage( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pImage ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::createImage( const ImageCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Image image; - Result result = static_cast( - d.vkCreateImage( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &image ) ) ); - return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING "::Device::createImage" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createImageUnique( const ImageCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Image image; - Result result = static_cast( - d.vkCreateImage( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &image ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, image, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createImageView( const VULKAN_HPP_NAMESPACE::ImageViewCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ImageView * pView, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateImageView( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pView ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createImageView( const ImageViewCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageView view; - Result result = static_cast( - d.vkCreateImageView( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &view ) ) ); - return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageView" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createImageViewUnique( const ImageViewCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageView view; - Result result = static_cast( - d.vkCreateImageView( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &view ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageViewUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutNV( - const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutCreateInfoNV * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV * pIndirectCommandsLayout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateIndirectCommandsLayoutNV( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pIndirectCommandsLayout ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createIndirectCommandsLayoutNV( const IndirectCommandsLayoutCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &indirectCommandsLayout ) ) ); - return createResultValue( - result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutNV" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createIndirectCommandsLayoutNVUnique( const IndirectCommandsLayoutCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &indirectCommandsLayout ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - indirectCommandsLayout, - VULKAN_HPP_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutNVUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createPipelineCache( const VULKAN_HPP_NAMESPACE::PipelineCacheCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PipelineCache * pPipelineCache, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreatePipelineCache( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelineCache ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createPipelineCache( const PipelineCacheCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache; - Result result = static_cast( - d.vkCreatePipelineCache( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipelineCache ) ) ); - return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineCache" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache; - Result result = static_cast( - d.vkCreatePipelineCache( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipelineCache ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineCacheUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createPipelineLayout( const VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PipelineLayout * pPipelineLayout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreatePipelineLayout( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelineLayout ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout; - Result result = static_cast( - d.vkCreatePipelineLayout( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipelineLayout ) ) ); - return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineLayout" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout; - Result result = static_cast( - d.vkCreatePipelineLayout( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipelineLayout ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineLayoutUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createPrivateDataSlotEXT( const VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT * pPrivateDataSlot, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreatePrivateDataSlotEXT( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPrivateDataSlot ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::createPrivateDataSlotEXT( const PrivateDataSlotCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot; - Result result = static_cast( - d.vkCreatePrivateDataSlotEXT( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &privateDataSlot ) ) ); - return createResultValue( - result, privateDataSlot, VULKAN_HPP_NAMESPACE_STRING "::Device::createPrivateDataSlotEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Device::createPrivateDataSlotEXTUnique( const PrivateDataSlotCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot; - Result result = static_cast( - d.vkCreatePrivateDataSlotEXT( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &privateDataSlot ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, privateDataSlot, VULKAN_HPP_NAMESPACE_STRING "::Device::createPrivateDataSlotEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createQueryPool( const VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::QueryPool * pQueryPool, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateQueryPool( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pQueryPool ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createQueryPool( const QueryPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::QueryPool queryPool; - Result result = static_cast( - d.vkCreateQueryPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &queryPool ) ) ); - return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createQueryPool" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::QueryPool queryPool; - Result result = static_cast( - d.vkCreateQueryPool( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &queryPool ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, queryPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createQueryPoolUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateRayTracingPipelinesKHR( m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - createInfoCount, - reinterpret_cast( pCreateInfos ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelines ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelinesKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( - m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelinesKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size(), pipelineAllocator ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( - m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::createRayTracingPipelineKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateRayTracingPipelinesKHR( m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - return createResultValue( result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createRayTracingPipelinesKHRUnique( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines; - std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( - m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR ) || - ( result == VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHRUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template < - typename Dispatch, - typename PipelineAllocator, - typename B, - typename std::enable_if>::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createRayTracingPipelinesKHRUnique( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); - std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( - m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR ) || - ( result == VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHRUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelineKHRUnique( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateRayTracingPipelinesKHR( m_device, - static_cast( deferredOperation ), - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING - "::Device::createRayTracingPipelineKHRUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, - VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - uint32_t createInfoCount, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Pipeline * pPipelines, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - createInfoCount, - reinterpret_cast( pCreateInfos ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pPipelines ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelinesNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNV", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelinesNV( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector pipelines( createInfos.size(), pipelineAllocator ); - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - return createResultValue( - result, - pipelines, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNV", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::createRayTracingPipelineNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineNV", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createRayTracingPipelinesNVUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines; - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNVUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template < - typename Dispatch, - typename PipelineAllocator, - typename B, - typename std::enable_if>::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> - Device::createRayTracingPipelinesNVUnique( - VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - ArrayProxy const & createInfos, - Optional allocator, - PipelineAllocator & pipelineAllocator, - Dispatch const & d ) const - { - std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); - std::vector pipelines( createInfos.size() ); - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( pipelines.data() ) ) ); - if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) || - ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) - { - uniquePipelines.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); - } - } - return createResultValue( - result, - std::move( uniquePipelines ), - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNVUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::createRayTracingPipelineNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV & createInfo, - Optional allocator, - Dispatch const & d ) const - { - Pipeline pipeline; - Result result = static_cast( - d.vkCreateRayTracingPipelinesNV( m_device, - static_cast( pipelineCache ), - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &pipeline ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - pipeline, - VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineNVUnique", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateRenderPass( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pRenderPass ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createRenderPass( const RenderPassCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createRenderPassUnique( const RenderPassCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPassUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2 * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateRenderPass2( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pRenderPass ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createRenderPass2( const RenderPassCreateInfo2 & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass2( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createRenderPass2Unique( const RenderPassCreateInfo2 & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass2( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2Unique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2 * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::RenderPass * pRenderPass, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateRenderPass2KHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pRenderPass ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createRenderPass2KHR( const RenderPassCreateInfo2 & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass2KHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2KHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createRenderPass2KHRUnique( const RenderPassCreateInfo2 & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RenderPass renderPass; - Result result = static_cast( - d.vkCreateRenderPass2KHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &renderPass ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2KHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSampler( const VULKAN_HPP_NAMESPACE::SamplerCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Sampler * pSampler, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateSampler( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSampler ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createSampler( const SamplerCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Sampler sampler; - Result result = static_cast( - d.vkCreateSampler( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &sampler ) ) ); - return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING "::Device::createSampler" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSamplerUnique( const SamplerCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Sampler sampler; - Result result = static_cast( - d.vkCreateSampler( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &sampler ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, sampler, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSamplerYcbcrConversion( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion * pYcbcrConversion, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateSamplerYcbcrConversion( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pYcbcrConversion ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( - d.vkCreateSamplerYcbcrConversion( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &ycbcrConversion ) ) ); - return createResultValue( - result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversion" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( - d.vkCreateSamplerYcbcrConversion( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &ycbcrConversion ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSamplerYcbcrConversionKHR( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion * pYcbcrConversion, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateSamplerYcbcrConversionKHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pYcbcrConversion ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &ycbcrConversion ) ) ); - return createResultValue( - result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &ycbcrConversion ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Semaphore * pSemaphore, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateSemaphore( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSemaphore ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createSemaphore( const SemaphoreCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Semaphore semaphore; - Result result = static_cast( - d.vkCreateSemaphore( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &semaphore ) ) ); - return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING "::Device::createSemaphore" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Semaphore semaphore; - Result result = static_cast( - d.vkCreateSemaphore( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &semaphore ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, semaphore, VULKAN_HPP_NAMESPACE_STRING "::Device::createSemaphoreUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createShaderModule( const VULKAN_HPP_NAMESPACE::ShaderModuleCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ShaderModule * pShaderModule, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateShaderModule( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pShaderModule ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createShaderModule( const ShaderModuleCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ShaderModule shaderModule; - Result result = static_cast( - d.vkCreateShaderModule( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &shaderModule ) ) ); - return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING "::Device::createShaderModule" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ShaderModule shaderModule; - Result result = static_cast( - d.vkCreateShaderModule( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &shaderModule ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, shaderModule, VULKAN_HPP_NAMESPACE_STRING "::Device::createShaderModuleUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSharedSwapchainsKHR( uint32_t swapchainCount, - const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR * pCreateInfos, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - swapchainCount, - reinterpret_cast( pCreateInfos ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSwapchains ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSharedSwapchainsKHR( - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector swapchains( createInfos.size() ); - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( swapchains.data() ) ) ); - return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSharedSwapchainsKHR( - ArrayProxy const & createInfos, - Optional allocator, - SwapchainKHRAllocator & swapchainKHRAllocator, - Dispatch const & d ) const - { - std::vector swapchains( createInfos.size(), swapchainKHRAllocator ); - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( swapchains.data() ) ) ); - return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::createSharedSwapchainKHR( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - SwapchainKHR swapchain; - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &swapchain ) ) ); - return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, SwapchainKHRAllocator>>::type - Device::createSharedSwapchainsKHRUnique( - ArrayProxy const & createInfos, - Optional allocator, - Dispatch const & d ) const - { - std::vector, SwapchainKHRAllocator> uniqueSwapchains; - std::vector swapchains( createInfos.size() ); - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( swapchains.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueSwapchains.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniqueSwapchains.push_back( UniqueHandle( swapchains[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueSwapchains ), VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" ); - } - - template >::value, - int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, SwapchainKHRAllocator>>::type - Device::createSharedSwapchainsKHRUnique( - ArrayProxy const & createInfos, - Optional allocator, - SwapchainKHRAllocator & swapchainKHRAllocator, - Dispatch const & d ) const - { - std::vector, SwapchainKHRAllocator> uniqueSwapchains( swapchainKHRAllocator ); - std::vector swapchains( createInfos.size() ); - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - createInfos.size(), - reinterpret_cast( createInfos.data() ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( swapchains.data() ) ) ); - if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) - { - uniqueSwapchains.reserve( createInfos.size() ); - ObjectDestroy deleter( *this, allocator, d ); - for ( size_t i = 0; i < createInfos.size(); i++ ) - { - uniqueSwapchains.push_back( UniqueHandle( swapchains[i], deleter ) ); - } - } - return createResultValue( - result, std::move( uniqueSwapchains ), VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSharedSwapchainKHRUnique( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - SwapchainKHR swapchain; - Result result = static_cast( - d.vkCreateSharedSwapchainsKHR( m_device, - 1, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &swapchain ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createSwapchainKHR( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchain, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateSwapchainKHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSwapchain ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; - Result result = static_cast( - d.vkCreateSwapchainKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &swapchain ) ) ); - return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSwapchainKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; - Result result = static_cast( - d.vkCreateSwapchainKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &swapchain ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSwapchainKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createValidationCacheEXT( const VULKAN_HPP_NAMESPACE::ValidationCacheCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::ValidationCacheEXT * pValidationCache, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateValidationCacheEXT( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pValidationCache ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache; - Result result = static_cast( - d.vkCreateValidationCacheEXT( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &validationCache ) ) ); - return createResultValue( - result, validationCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createValidationCacheEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Device::createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache; - Result result = static_cast( - d.vkCreateValidationCacheEXT( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &validationCache ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, validationCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createValidationCacheEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::createVideoSessionKHR( const VULKAN_HPP_NAMESPACE::VideoSessionCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::VideoSessionKHR * pVideoSession, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateVideoSessionKHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pVideoSession ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createVideoSessionKHR( const VideoSessionCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession; - Result result = static_cast( - d.vkCreateVideoSessionKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &videoSession ) ) ); - return createResultValue( result, videoSession, VULKAN_HPP_NAMESPACE_STRING "::Device::createVideoSessionKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createVideoSessionKHRUnique( const VideoSessionCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession; - Result result = static_cast( - d.vkCreateVideoSessionKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &videoSession ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, videoSession, VULKAN_HPP_NAMESPACE_STRING "::Device::createVideoSessionKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createVideoSessionParametersKHR( - const VULKAN_HPP_NAMESPACE::VideoSessionParametersCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR * pVideoSessionParameters, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateVideoSessionParametersKHR( - m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pVideoSessionParameters ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::createVideoSessionParametersKHR( const VideoSessionParametersCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters; - Result result = static_cast( d.vkCreateVideoSessionParametersKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &videoSessionParameters ) ) ); - return createResultValue( - result, videoSessionParameters, VULKAN_HPP_NAMESPACE_STRING "::Device::createVideoSessionParametersKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::createVideoSessionParametersKHRUnique( const VideoSessionParametersCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters; - Result result = static_cast( d.vkCreateVideoSessionParametersKHR( - m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &videoSessionParameters ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, - videoSessionParameters, - VULKAN_HPP_NAMESPACE_STRING "::Device::createVideoSessionParametersKHRUnique", - deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectNameEXT( - const VULKAN_HPP_NAMESPACE::DebugMarkerObjectNameInfoEXT * pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkDebugMarkerSetObjectNameEXT( - m_device, reinterpret_cast( pNameInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const & d ) const - { - Result result = static_cast( d.vkDebugMarkerSetObjectNameEXT( - m_device, reinterpret_cast( &nameInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectNameEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectTagEXT( - const VULKAN_HPP_NAMESPACE::DebugMarkerObjectTagInfoEXT * pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast( pTagInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectTagEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::deferredOperationJoinKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkDeferredOperationJoinKHR( m_device, static_cast( operation ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const - { - Result result = - static_cast( d.vkDeferredOperationJoinKHR( m_device, static_cast( operation ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::deferredOperationJoinKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, - VULKAN_HPP_NAMESPACE::Result::eThreadDoneKHR, - VULKAN_HPP_NAMESPACE::Result::eThreadIdleKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureKHR( m_device, - static_cast( accelerationStructure ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureKHR( - m_device, - static_cast( accelerationStructure ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureKHR( m_device, - static_cast( accelerationStructure ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureKHR( - m_device, - static_cast( accelerationStructure ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureNV( m_device, - static_cast( accelerationStructure ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureNV( - m_device, - static_cast( accelerationStructure ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureNV( m_device, - static_cast( accelerationStructure ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyAccelerationStructureNV( - m_device, - static_cast( accelerationStructure ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBuffer( - m_device, static_cast( buffer ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBuffer( m_device, - static_cast( buffer ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBuffer( - m_device, static_cast( buffer ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBuffer( m_device, - static_cast( buffer ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBufferView( m_device, - static_cast( bufferView ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBufferView( m_device, - static_cast( bufferView ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBufferView( m_device, - static_cast( bufferView ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyBufferView( m_device, - static_cast( bufferView ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCommandPool( m_device, - static_cast( commandPool ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCommandPool( m_device, - static_cast( commandPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCommandPool( m_device, - static_cast( commandPool ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCommandPool( m_device, - static_cast( commandPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyCuFunctionNVX( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuFunctionNVX( m_device, - static_cast( function ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyCuFunctionNVX( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuFunctionNVX( m_device, - static_cast( function ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuFunctionNVX( m_device, - static_cast( function ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CuFunctionNVX function, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuFunctionNVX( m_device, - static_cast( function ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyCuModuleNVX( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuModuleNVX( - m_device, static_cast( module ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyCuModuleNVX( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuModuleNVX( m_device, - static_cast( module ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuModuleNVX( - m_device, static_cast( module ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CuModuleNVX module, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyCuModuleNVX( m_device, - static_cast( module ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDeferredOperationKHR( m_device, - static_cast( operation ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDeferredOperationKHR( m_device, - static_cast( operation ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDeferredOperationKHR( m_device, - static_cast( operation ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDeferredOperationKHR( m_device, - static_cast( operation ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorPool( m_device, - static_cast( descriptorPool ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorPool( m_device, - static_cast( descriptorPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorPool( m_device, - static_cast( descriptorPool ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorPool( m_device, - static_cast( descriptorPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorSetLayout( m_device, - static_cast( descriptorSetLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorSetLayout( m_device, - static_cast( descriptorSetLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorSetLayout( m_device, - static_cast( descriptorSetLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorSetLayout( m_device, - static_cast( descriptorSetLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplate( m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplate( - m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplate( m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplate( - m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplateKHR( m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDescriptorUpdateTemplateKHR( - m_device, - static_cast( descriptorUpdateTemplate ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDevice( m_device, reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDevice( m_device, - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyEvent( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyEvent( - m_device, static_cast( event ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyEvent( VULKAN_HPP_NAMESPACE::Event event, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyEvent( m_device, - static_cast( event ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Event event, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyEvent( - m_device, static_cast( event ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Event event, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyEvent( m_device, - static_cast( event ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFence( - m_device, static_cast( fence ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFence( m_device, - static_cast( fence ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Fence fence, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFence( - m_device, static_cast( fence ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Fence fence, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFence( m_device, - static_cast( fence ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFramebuffer( m_device, - static_cast( framebuffer ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFramebuffer( m_device, - static_cast( framebuffer ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFramebuffer( m_device, - static_cast( framebuffer ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyFramebuffer( m_device, - static_cast( framebuffer ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyImage( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImage( - m_device, static_cast( image ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyImage( VULKAN_HPP_NAMESPACE::Image image, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImage( m_device, - static_cast( image ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImage( - m_device, static_cast( image ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Image image, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImage( m_device, - static_cast( image ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImageView( - m_device, static_cast( imageView ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImageView( m_device, - static_cast( imageView ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImageView( - m_device, static_cast( imageView ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyImageView( m_device, - static_cast( imageView ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyIndirectCommandsLayoutNV( m_device, - static_cast( indirectCommandsLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyIndirectCommandsLayoutNV( - m_device, - static_cast( indirectCommandsLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyIndirectCommandsLayoutNV( m_device, - static_cast( indirectCommandsLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyIndirectCommandsLayoutNV( - m_device, - static_cast( indirectCommandsLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipeline( - m_device, static_cast( pipeline ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipeline( m_device, - static_cast( pipeline ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipeline( - m_device, static_cast( pipeline ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipeline( m_device, - static_cast( pipeline ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineCache( m_device, - static_cast( pipelineCache ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineCache( m_device, - static_cast( pipelineCache ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineCache( m_device, - static_cast( pipelineCache ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineCache( m_device, - static_cast( pipelineCache ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineLayout( m_device, - static_cast( pipelineLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineLayout( m_device, - static_cast( pipelineLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineLayout( m_device, - static_cast( pipelineLayout ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPipelineLayout( m_device, - static_cast( pipelineLayout ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPrivateDataSlotEXT( m_device, - static_cast( privateDataSlot ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPrivateDataSlotEXT( m_device, - static_cast( privateDataSlot ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPrivateDataSlotEXT( m_device, - static_cast( privateDataSlot ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyPrivateDataSlotEXT( m_device, - static_cast( privateDataSlot ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyQueryPool( - m_device, static_cast( queryPool ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyQueryPool( m_device, - static_cast( queryPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyQueryPool( - m_device, static_cast( queryPool ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyQueryPool( m_device, - static_cast( queryPool ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyRenderPass( m_device, - static_cast( renderPass ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyRenderPass( m_device, - static_cast( renderPass ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyRenderPass( m_device, - static_cast( renderPass ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyRenderPass( m_device, - static_cast( renderPass ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySampler( - m_device, static_cast( sampler ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySampler( m_device, - static_cast( sampler ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySampler( - m_device, static_cast( sampler ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySampler( m_device, - static_cast( sampler ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversion( m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversion( - m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversion( m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversion( - m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversionKHR( m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySamplerYcbcrConversionKHR( - m_device, - static_cast( ycbcrConversion ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySemaphore( - m_device, static_cast( semaphore ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySemaphore( m_device, - static_cast( semaphore ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySemaphore( - m_device, static_cast( semaphore ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySemaphore( m_device, - static_cast( semaphore ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyShaderModule( m_device, - static_cast( shaderModule ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyShaderModule( m_device, - static_cast( shaderModule ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyShaderModule( m_device, - static_cast( shaderModule ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyShaderModule( m_device, - static_cast( shaderModule ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySwapchainKHR( m_device, - static_cast( swapchain ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySwapchainKHR( m_device, - static_cast( swapchain ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySwapchainKHR( m_device, - static_cast( swapchain ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySwapchainKHR( m_device, - static_cast( swapchain ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyValidationCacheEXT( m_device, - static_cast( validationCache ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyValidationCacheEXT( m_device, - static_cast( validationCache ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyValidationCacheEXT( m_device, - static_cast( validationCache ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyValidationCacheEXT( m_device, - static_cast( validationCache ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void Device::destroyVideoSessionKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionKHR( m_device, - static_cast( videoSession ), - reinterpret_cast( pAllocator ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroyVideoSessionKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionKHR( m_device, - static_cast( videoSession ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionKHR( m_device, - static_cast( videoSession ), - reinterpret_cast( pAllocator ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionKHR( m_device, - static_cast( videoSession ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void - Device::destroyVideoSessionParametersKHR( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionParametersKHR( m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( pAllocator ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::destroyVideoSessionParametersKHR( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionParametersKHR( - m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionParametersKHR( m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( pAllocator ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyVideoSessionParametersKHR( - m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkDeviceWaitIdle( m_device ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::waitIdle( Dispatch const & d ) const - { - Result result = static_cast( d.vkDeviceWaitIdle( m_device ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitIdle" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayPowerInfoEXT * pDisplayPowerInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkDisplayPowerControlEXT( m_device, - static_cast( display ), - reinterpret_cast( pDisplayPowerInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type Device::displayPowerControlEXT( - VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkDisplayPowerControlEXT( m_device, - static_cast( display ), - reinterpret_cast( &displayPowerInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::displayPowerControlEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::flushMappedMemoryRanges( uint32_t memoryRangeCount, - const VULKAN_HPP_NAMESPACE::MappedMemoryRange * pMemoryRanges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkFlushMappedMemoryRanges( - m_device, memoryRangeCount, reinterpret_cast( pMemoryRanges ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::flushMappedMemoryRanges( ArrayProxy const & memoryRanges, - Dispatch const & d ) const - { - Result result = static_cast( d.vkFlushMappedMemoryRanges( - m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::flushMappedMemoryRanges" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeCommandBuffers( m_device, - static_cast( commandPool ), - commandBufferCount, - reinterpret_cast( pCommandBuffers ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - ArrayProxy const & commandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeCommandBuffers( m_device, - static_cast( commandPool ), - commandBuffers.size(), - reinterpret_cast( commandBuffers.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - uint32_t commandBufferCount, - const VULKAN_HPP_NAMESPACE::CommandBuffer * pCommandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeCommandBuffers( m_device, - static_cast( commandPool ), - commandBufferCount, - reinterpret_cast( pCommandBuffers ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - ArrayProxy const & commandBuffers, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeCommandBuffers( m_device, - static_cast( commandPool ), - commandBuffers.size(), - reinterpret_cast( commandBuffers.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE Result Device::freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkFreeDescriptorSets( m_device, - static_cast( descriptorPool ), - descriptorSetCount, - reinterpret_cast( pDescriptorSets ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - ArrayProxy const & descriptorSets, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkFreeDescriptorSets( m_device, - static_cast( descriptorPool ), - descriptorSets.size(), - reinterpret_cast( descriptorSets.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::freeDescriptorSets" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE Result Device::free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - uint32_t descriptorSetCount, - const VULKAN_HPP_NAMESPACE::DescriptorSet * pDescriptorSets, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkFreeDescriptorSets( m_device, - static_cast( descriptorPool ), - descriptorSetCount, - reinterpret_cast( pDescriptorSets ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - ArrayProxy const & descriptorSets, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkFreeDescriptorSets( m_device, - static_cast( descriptorPool ), - descriptorSets.size(), - reinterpret_cast( descriptorSets.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::free" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeMemory( - m_device, static_cast( memory ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeMemory( m_device, - static_cast( memory ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeMemory( - m_device, static_cast( memory ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkFreeMemory( m_device, - static_cast( memory ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getAccelerationStructureBuildSizesKHR( - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType, - const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR * pBuildInfo, - const uint32_t * pMaxPrimitiveCounts, - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR * pSizeInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetAccelerationStructureBuildSizesKHR( - m_device, - static_cast( buildType ), - reinterpret_cast( pBuildInfo ), - pMaxPrimitiveCounts, - reinterpret_cast( pSizeInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR - Device::getAccelerationStructureBuildSizesKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType, - const AccelerationStructureBuildGeometryInfoKHR & buildInfo, - ArrayProxy const & maxPrimitiveCounts, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( maxPrimitiveCounts.size() == buildInfo.geometryCount ); -# else - if ( maxPrimitiveCounts.size() != buildInfo.geometryCount ) - { - throw LogicError( - VULKAN_HPP_NAMESPACE_STRING - "::Device::getAccelerationStructureBuildSizesKHR: maxPrimitiveCounts.size() != buildInfo.geometryCount" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - VULKAN_HPP_NAMESPACE::AccelerationStructureBuildSizesInfoKHR sizeInfo; - d.vkGetAccelerationStructureBuildSizesKHR( - m_device, - static_cast( buildType ), - reinterpret_cast( &buildInfo ), - maxPrimitiveCounts.data(), - reinterpret_cast( &sizeInfo ) ); - return sizeInfo; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureDeviceAddressInfoKHR * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetAccelerationStructureDeviceAddressKHR( - m_device, reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( - const AccelerationStructureDeviceAddressInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetAccelerationStructureDeviceAddressKHR( - m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - size_t dataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetAccelerationStructureHandleNV( - m_device, static_cast( accelerationStructure ), dataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::getAccelerationStructureHandleNV( - VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - ArrayProxy const & data, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkGetAccelerationStructureHandleNV( m_device, - static_cast( accelerationStructure ), - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - size_t dataSize, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = static_cast( - d.vkGetAccelerationStructureHandleNV( m_device, - static_cast( accelerationStructure ), - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure, - Dispatch const & d ) const - { - T data; - Result result = static_cast( - d.vkGetAccelerationStructureHandleNV( m_device, - static_cast( accelerationStructure ), - sizeof( T ), - reinterpret_cast( &data ) ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getAccelerationStructureMemoryRequirementsNV( - const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetAccelerationStructureMemoryRequirementsNV( - m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR - Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR memoryRequirements; - d.vkGetAccelerationStructureMemoryRequirementsNV( - m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR & memoryRequirements = - structureChain.template get(); - d.vkGetAccelerationStructureMemoryRequirementsNV( - m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( - const struct AHardwareBuffer * buffer, - VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( - m_device, buffer, reinterpret_cast( pProperties ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID properties; - Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( - m_device, &buffer, reinterpret_cast( &properties ) ) ); - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID & properties = - structureChain.template get(); - Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( - m_device, &buffer, reinterpret_cast( &properties ) ) ); - return createResultValue( - result, structureChain, VULKAN_HPP_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetBufferDeviceAddress( m_device, reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( const BufferDeviceAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferDeviceAddress( m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( - const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetBufferDeviceAddressEXT( m_device, reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( const BufferDeviceAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferDeviceAddressEXT( m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( - const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetBufferDeviceAddressKHR( m_device, reinterpret_cast( pInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( const BufferDeviceAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferDeviceAddressKHR( m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, - VULKAN_HPP_NAMESPACE::MemoryRequirements * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetBufferMemoryRequirements( - m_device, static_cast( buffer ), reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements - Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; - d.vkGetBufferMemoryRequirements( - m_device, static_cast( buffer ), reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getBufferMemoryRequirements2( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetBufferMemoryRequirements2( m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 - Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; - d.vkGetBufferMemoryRequirements2( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = - structureChain.template get(); - d.vkGetBufferMemoryRequirements2( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getBufferMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetBufferMemoryRequirements2KHR( m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 - Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; - d.vkGetBufferMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = - structureChain.template get(); - d.vkGetBufferMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( - const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferOpaqueCaptureAddress( m_device, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferOpaqueCaptureAddress( m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( - const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferOpaqueCaptureAddressKHR( m_device, - reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetBufferOpaqueCaptureAddressKHR( m_device, - reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getCalibratedTimestampsEXT( uint32_t timestampCount, - const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT * pTimestampInfos, - uint64_t * pTimestamps, - uint64_t * pMaxDeviation, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetCalibratedTimestampsEXT( m_device, - timestampCount, - reinterpret_cast( pTimestampInfos ), - pTimestamps, - pMaxDeviation ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - ArrayProxy const & timestamps, - Dispatch const & d ) const - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( timestampInfos.size() == timestamps.size() ); -# else - if ( timestampInfos.size() != timestamps.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::VkDevice::getCalibratedTimestampsEXT: timestampInfos.size() != timestamps.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - uint64_t maxDeviation; - Result result = static_cast( - d.vkGetCalibratedTimestampsEXT( m_device, - timestampInfos.size(), - reinterpret_cast( timestampInfos.data() ), - timestamps.data(), - &maxDeviation ) ); - return createResultValue( - result, maxDeviation, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, uint64_t>>::type - Device::getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - Dispatch const & d ) const - { - std::pair, uint64_t> data( - std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); - std::vector & timestamps = data.first; - uint64_t & maxDeviation = data.second; - Result result = static_cast( - d.vkGetCalibratedTimestampsEXT( m_device, - timestampInfos.size(), - reinterpret_cast( timestampInfos.data() ), - timestamps.data(), - &maxDeviation ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType, uint64_t>>::type - Device::getCalibratedTimestampsEXT( - ArrayProxy const & timestampInfos, - Uint64_tAllocator & uint64_tAllocator, - Dispatch const & d ) const - { - std::pair, uint64_t> data( - std::piecewise_construct, - std::forward_as_tuple( timestampInfos.size(), uint64_tAllocator ), - std::forward_as_tuple( 0 ) ); - std::vector & timestamps = data.first; - uint64_t & maxDeviation = data.second; - Result result = static_cast( - d.vkGetCalibratedTimestampsEXT( m_device, - timestampInfos.size(), - reinterpret_cast( timestampInfos.data() ), - timestamps.data(), - &maxDeviation ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint32_t Device::getDeferredOperationMaxConcurrencyKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeferredOperationMaxConcurrencyKHR( m_device, static_cast( operation ) ); - } - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDeferredOperationResultKHR( m_device, static_cast( operation ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( - VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const - { - Result result = static_cast( - d.vkGetDeferredOperationResultKHR( m_device, static_cast( operation ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::getDeferredOperationResultKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getDescriptorSetLayoutSupport( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport * pSupport, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDescriptorSetLayoutSupport( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pSupport ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport - Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport support; - d.vkGetDescriptorSetLayoutSupport( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( &support ) ); - return support; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport & support = - structureChain.template get(); - d.vkGetDescriptorSetLayoutSupport( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( &support ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getDescriptorSetLayoutSupportKHR( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo * pCreateInfo, - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport * pSupport, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDescriptorSetLayoutSupportKHR( m_device, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pSupport ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport - Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport support; - d.vkGetDescriptorSetLayoutSupportKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( &support ) ); - return support; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport & support = - structureChain.template get(); - d.vkGetDescriptorSetLayoutSupportKHR( m_device, - reinterpret_cast( &createInfo ), - reinterpret_cast( &support ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getAccelerationStructureCompatibilityKHR( - const VULKAN_HPP_NAMESPACE::AccelerationStructureVersionInfoKHR * pVersionInfo, - VULKAN_HPP_NAMESPACE::AccelerationStructureCompatibilityKHR * pCompatibility, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceAccelerationStructureCompatibilityKHR( - m_device, - reinterpret_cast( pVersionInfo ), - reinterpret_cast( pCompatibility ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::AccelerationStructureCompatibilityKHR - Device::getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionInfoKHR & versionInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::AccelerationStructureCompatibilityKHR compatibility; - d.vkGetDeviceAccelerationStructureCompatibilityKHR( - m_device, - reinterpret_cast( &versionInfo ), - reinterpret_cast( &compatibility ) ); - return compatibility; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags * pPeerMemoryFeatures, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceGroupPeerMemoryFeatures( m_device, - heapIndex, - localDeviceIndex, - remoteDeviceIndex, - reinterpret_cast( pPeerMemoryFeatures ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags - Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags peerMemoryFeatures; - d.vkGetDeviceGroupPeerMemoryFeatures( m_device, - heapIndex, - localDeviceIndex, - remoteDeviceIndex, - reinterpret_cast( &peerMemoryFeatures ) ); - return peerMemoryFeatures; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags * pPeerMemoryFeatures, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, - heapIndex, - localDeviceIndex, - remoteDeviceIndex, - reinterpret_cast( pPeerMemoryFeatures ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags - Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, - uint32_t localDeviceIndex, - uint32_t remoteDeviceIndex, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags peerMemoryFeatures; - d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, - heapIndex, - localDeviceIndex, - remoteDeviceIndex, - reinterpret_cast( &peerMemoryFeatures ) ); - return peerMemoryFeatures; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupPresentCapabilitiesKHR( - VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR * pDeviceGroupPresentCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetDeviceGroupPresentCapabilitiesKHR( - m_device, reinterpret_cast( pDeviceGroupPresentCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getGroupPresentCapabilitiesKHR( Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities; - Result result = static_cast( d.vkGetDeviceGroupPresentCapabilitiesKHR( - m_device, reinterpret_cast( &deviceGroupPresentCapabilities ) ) ); - return createResultValue( - result, deviceGroupPresentCapabilities, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupPresentCapabilitiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getGroupSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR * pModes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( - m_device, - reinterpret_cast( pSurfaceInfo ), - reinterpret_cast( pModes ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes; - Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( - m_device, - reinterpret_cast( &surfaceInfo ), - reinterpret_cast( &modes ) ) ); - return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModes2EXT" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR * pModes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, - static_cast( surface ), - reinterpret_cast( pModes ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes; - Result result = static_cast( - d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, - static_cast( surface ), - reinterpret_cast( &modes ) ) ); - return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize * pCommittedMemoryInBytes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceMemoryCommitment( - m_device, static_cast( memory ), reinterpret_cast( pCommittedMemoryInBytes ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DeviceSize - Device::getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::DeviceSize committedMemoryInBytes; - d.vkGetDeviceMemoryCommitment( - m_device, static_cast( memory ), reinterpret_cast( &committedMemoryInBytes ) ); - return committedMemoryInBytes; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint64_t - Device::getMemoryOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceMemoryOpaqueCaptureAddress( - m_device, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceMemoryOpaqueCaptureAddress( - m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint64_t - Device::getMemoryOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( - m_device, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddressKHR( - const DeviceMemoryOpaqueCaptureAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( - m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const char * pName, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceProcAddr( m_device, pName ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const std::string & name, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetDeviceProcAddr( m_device, name.c_str() ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getQueue( uint32_t queueFamilyIndex, - uint32_t queueIndex, - VULKAN_HPP_NAMESPACE::Queue * pQueue, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast( pQueue ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Queue - Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::Queue queue; - d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast( &queue ) ); - return queue; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getQueue2( const VULKAN_HPP_NAMESPACE::DeviceQueueInfo2 * pQueueInfo, - VULKAN_HPP_NAMESPACE::Queue * pQueue, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetDeviceQueue2( - m_device, reinterpret_cast( pQueueInfo ), reinterpret_cast( pQueue ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Queue - Device::getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::Queue queue; - d.vkGetDeviceQueue2( - m_device, reinterpret_cast( &queueInfo ), reinterpret_cast( &queue ) ); - return queue; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetEventStatus( m_device, static_cast( event ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d ) const - { - Result result = static_cast( d.vkGetEventStatus( m_device, static_cast( event ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::getEventStatus", - { VULKAN_HPP_NAMESPACE::Result::eEventSet, VULKAN_HPP_NAMESPACE::Result::eEventReset } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getFenceFdKHR( const VULKAN_HPP_NAMESPACE::FenceGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetFenceFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const & d ) const - { - int fd; - Result result = static_cast( - d.vkGetFenceFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); - return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceFdKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetFenceStatus( m_device, static_cast( fence ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const - { - Result result = static_cast( d.vkGetFenceStatus( m_device, static_cast( fence ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceStatus", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::FenceGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetFenceWin32HandleKHR( - m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d ) const - { - HANDLE handle; - Result result = static_cast( d.vkGetFenceWin32HandleKHR( - m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); - return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceWin32HandleKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_INLINE void Device::getGeneratedCommandsMemoryRequirementsNV( - const VULKAN_HPP_NAMESPACE::GeneratedCommandsMemoryRequirementsInfoNV * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetGeneratedCommandsMemoryRequirementsNV( - m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 - Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; - d.vkGetGeneratedCommandsMemoryRequirementsNV( - m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = - structureChain.template get(); - d.vkGetGeneratedCommandsMemoryRequirementsNV( - m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageDrmFormatModifierPropertiesEXT( - VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetImageDrmFormatModifierPropertiesEXT( - m_device, - static_cast( image ), - reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT properties; - Result result = static_cast( d.vkGetImageDrmFormatModifierPropertiesEXT( - m_device, - static_cast( image ), - reinterpret_cast( &properties ) ) ); - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageDrmFormatModifierPropertiesEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, - VULKAN_HPP_NAMESPACE::MemoryRequirements * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageMemoryRequirements( - m_device, static_cast( image ), reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements - Device::getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; - d.vkGetImageMemoryRequirements( - m_device, static_cast( image ), reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getImageMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageMemoryRequirements2( m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 - Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; - d.vkGetImageMemoryRequirements2( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = - structureChain.template get(); - d.vkGetImageMemoryRequirements2( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Device::getImageMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2 * pInfo, - VULKAN_HPP_NAMESPACE::MemoryRequirements2 * pMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageMemoryRequirements2KHR( m_device, - reinterpret_cast( pInfo ), - reinterpret_cast( pMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 - Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; - d.vkGetImageMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return memoryRequirements; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = - structureChain.template get(); - d.vkGetImageMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - reinterpret_cast( &memoryRequirements ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( - VULKAN_HPP_NAMESPACE::Image image, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements * pSparseMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageSparseMemoryRequirements( - m_device, - static_cast( image ), - pSparseMemoryRequirementCount, - reinterpret_cast( pSparseMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d ) const - { - std::vector sparseMemoryRequirements; - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements( - m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements( - m_device, - static_cast( image ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } - - template < - typename SparseImageMemoryRequirementsAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements( - VULKAN_HPP_NAMESPACE::Image image, - SparseImageMemoryRequirementsAllocator & sparseImageMemoryRequirementsAllocator, - Dispatch const & d ) const - { - std::vector sparseMemoryRequirements( - sparseImageMemoryRequirementsAllocator ); - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements( - m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements( - m_device, - static_cast( image ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2( - const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2 * pSparseMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageSparseMemoryRequirements2( - m_device, - reinterpret_cast( pInfo ), - pSparseMemoryRequirementCount, - reinterpret_cast( pSparseMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, - Dispatch const & d ) const - { - std::vector sparseMemoryRequirements; - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements2( m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2( - m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } - - template < - typename SparseImageMemoryRequirements2Allocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements2( - const ImageSparseMemoryRequirementsInfo2 & info, - SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, - Dispatch const & d ) const - { - std::vector sparseMemoryRequirements( - sparseImageMemoryRequirements2Allocator ); - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements2( m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2( - m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2KHR( - const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2 * pInfo, - uint32_t * pSparseMemoryRequirementCount, - VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2 * pSparseMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageSparseMemoryRequirements2KHR( - m_device, - reinterpret_cast( pInfo ), - pSparseMemoryRequirementCount, - reinterpret_cast( pSparseMemoryRequirements ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, - Dispatch const & d ) const - { - std::vector sparseMemoryRequirements; - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2KHR( - m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } - - template < - typename SparseImageMemoryRequirements2Allocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - Device::getImageSparseMemoryRequirements2KHR( - const ImageSparseMemoryRequirementsInfo2 & info, - SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, - Dispatch const & d ) const - { - std::vector sparseMemoryRequirements( - sparseImageMemoryRequirements2Allocator ); - uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements2KHR( m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - nullptr ); - sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2KHR( - m_device, - reinterpret_cast( &info ), - &sparseMemoryRequirementCount, - reinterpret_cast( sparseMemoryRequirements.data() ) ); - VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); - return sparseMemoryRequirements; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, - const VULKAN_HPP_NAMESPACE::ImageSubresource * pSubresource, - VULKAN_HPP_NAMESPACE::SubresourceLayout * pLayout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetImageSubresourceLayout( m_device, - static_cast( image ), - reinterpret_cast( pSubresource ), - reinterpret_cast( pLayout ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::SubresourceLayout - Device::getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, - const ImageSubresource & subresource, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::SubresourceLayout layout; - d.vkGetImageSubresourceLayout( m_device, - static_cast( image ), - reinterpret_cast( &subresource ), - reinterpret_cast( &layout ) ); - return layout; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, - VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetImageViewAddressNVX( m_device, - static_cast( imageView ), - reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX properties; - Result result = static_cast( - d.vkGetImageViewAddressNVX( m_device, - static_cast( imageView ), - reinterpret_cast( &properties ) ) ); - return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageViewAddressNVX" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( const VULKAN_HPP_NAMESPACE::ImageViewHandleInfoNVX * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetImageViewHandleNVX( m_device, reinterpret_cast( pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( const ImageViewHandleInfoNVX & info, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetImageViewHandleNVX( m_device, reinterpret_cast( &info ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryAndroidHardwareBufferANDROID( - const VULKAN_HPP_NAMESPACE::MemoryGetAndroidHardwareBufferInfoANDROID * pInfo, - struct AHardwareBuffer ** pBuffer, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryAndroidHardwareBufferANDROID( - m_device, reinterpret_cast( pInfo ), pBuffer ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, - Dispatch const & d ) const - { - struct AHardwareBuffer * buffer; - Result result = static_cast( d.vkGetMemoryAndroidHardwareBufferANDROID( - m_device, reinterpret_cast( &info ), &buffer ) ); - return createResultValue( - result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryAndroidHardwareBufferANDROID" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getMemoryFdKHR( const VULKAN_HPP_NAMESPACE::MemoryGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetMemoryFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const & d ) const - { - int fd; - Result result = static_cast( - d.vkGetMemoryFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); - return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - int fd, - VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR * pMemoryFdProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetMemoryFdPropertiesKHR( m_device, - static_cast( handleType ), - fd, - reinterpret_cast( pMemoryFdProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - int fd, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR memoryFdProperties; - Result result = static_cast( - d.vkGetMemoryFdPropertiesKHR( m_device, - static_cast( handleType ), - fd, - reinterpret_cast( &memoryFdProperties ) ) ); - return createResultValue( - result, memoryFdProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdPropertiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - const void * pHostPointer, - VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT * pMemoryHostPointerProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryHostPointerPropertiesEXT( - m_device, - static_cast( handleType ), - pHostPointer, - reinterpret_cast( pMemoryHostPointerProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - const void * pHostPointer, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT memoryHostPointerProperties; - Result result = static_cast( d.vkGetMemoryHostPointerPropertiesEXT( - m_device, - static_cast( handleType ), - pHostPointer, - reinterpret_cast( &memoryHostPointerProperties ) ) ); - return createResultValue( - result, memoryHostPointerProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryHostPointerPropertiesEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getMemoryWin32HandleKHR( const VULKAN_HPP_NAMESPACE::MemoryGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryWin32HandleKHR( - m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d ) const - { - HANDLE handle; - Result result = static_cast( d.vkGetMemoryWin32HandleKHR( - m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); - return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, - HANDLE * pHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetMemoryWin32HandleNV( m_device, - static_cast( memory ), - static_cast( handleType ), - pHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, - Dispatch const & d ) const - { - HANDLE handle; - Result result = - static_cast( d.vkGetMemoryWin32HandleNV( m_device, - static_cast( memory ), - static_cast( handleType ), - &handle ) ); - return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleNV" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandlePropertiesKHR( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - HANDLE handle, - VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR * pMemoryWin32HandleProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( - m_device, - static_cast( handleType ), - handle, - reinterpret_cast( pMemoryWin32HandleProperties ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - HANDLE handle, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties; - Result result = static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( - m_device, - static_cast( handleType ), - handle, - reinterpret_cast( &memoryWin32HandleProperties ) ) ); - return createResultValue( - result, memoryWin32HandleProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandlePropertiesKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::MemoryGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryZirconHandleFUCHSIA( - m_device, reinterpret_cast( pGetZirconHandleInfo ), pZirconHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo, - Dispatch const & d ) const - { - zx_handle_t zirconHandle; - Result result = static_cast( d.vkGetMemoryZirconHandleFUCHSIA( - m_device, reinterpret_cast( &getZirconHandleInfo ), &zirconHandle ) ); - return createResultValue( - result, zirconHandle, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryZirconHandleFUCHSIA" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryZirconHandlePropertiesFUCHSIA( - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - zx_handle_t zirconHandle, - VULKAN_HPP_NAMESPACE::MemoryZirconHandlePropertiesFUCHSIA * pMemoryZirconHandleProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetMemoryZirconHandlePropertiesFUCHSIA( - m_device, - static_cast( handleType ), - zirconHandle, - reinterpret_cast( pMemoryZirconHandleProperties ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::getMemoryZirconHandlePropertiesFUCHSIA( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, - zx_handle_t zirconHandle, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::MemoryZirconHandlePropertiesFUCHSIA memoryZirconHandleProperties; - Result result = static_cast( d.vkGetMemoryZirconHandlePropertiesFUCHSIA( - m_device, - static_cast( handleType ), - zirconHandle, - reinterpret_cast( &memoryZirconHandleProperties ) ) ); - return createResultValue( result, - memoryZirconHandleProperties, - VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryZirconHandlePropertiesFUCHSIA" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint32_t * pPresentationTimingCount, - VULKAN_HPP_NAMESPACE::PastPresentationTimingGOOGLE * pPresentationTimings, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPastPresentationTimingGOOGLE( - m_device, - static_cast( swapchain ), - pPresentationTimingCount, - reinterpret_cast( pPresentationTimings ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - std::vector presentationTimings; - uint32_t presentationTimingCount; - Result result; - do - { - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( - m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && presentationTimingCount ) - { - presentationTimings.resize( presentationTimingCount ); - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( - m_device, - static_cast( swapchain ), - &presentationTimingCount, - reinterpret_cast( presentationTimings.data() ) ) ); - VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentationTimingCount < presentationTimings.size() ) ) - { - presentationTimings.resize( presentationTimingCount ); - } - return createResultValue( - result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING "::Device::getPastPresentationTimingGOOGLE" ); - } - - template < - typename PastPresentationTimingGOOGLEAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPastPresentationTimingGOOGLE( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - PastPresentationTimingGOOGLEAllocator & pastPresentationTimingGOOGLEAllocator, - Dispatch const & d ) const - { - std::vector presentationTimings( - pastPresentationTimingGOOGLEAllocator ); - uint32_t presentationTimingCount; - Result result; - do - { - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( - m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && presentationTimingCount ) - { - presentationTimings.resize( presentationTimingCount ); - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( - m_device, - static_cast( swapchain ), - &presentationTimingCount, - reinterpret_cast( presentationTimings.data() ) ) ); - VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentationTimingCount < presentationTimings.size() ) ) - { - presentationTimings.resize( presentationTimingCount ); - } - return createResultValue( - result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING "::Device::getPastPresentationTimingGOOGLE" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, - VULKAN_HPP_NAMESPACE::PerformanceValueINTEL * pValue, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPerformanceParameterINTEL( m_device, - static_cast( parameter ), - reinterpret_cast( pValue ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::PerformanceValueINTEL value; - Result result = - static_cast( d.vkGetPerformanceParameterINTEL( m_device, - static_cast( parameter ), - reinterpret_cast( &value ) ) ); - return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getPerformanceParameterINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - size_t * pDataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), pDataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Dispatch const & d ) const - { - std::vector data; - size_t dataSize; - Result result; - do - { - result = static_cast( - d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); - if ( ( result == Result::eSuccess ) && dataSize ) - { - data.resize( dataSize ); - result = static_cast( d.vkGetPipelineCacheData( m_device, - static_cast( pipelineCache ), - &dataSize, - reinterpret_cast( data.data() ) ) ); - VULKAN_HPP_ASSERT( dataSize <= data.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) - { - data.resize( dataSize ); - } - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineCacheData" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d ) const - { - std::vector data( uint8_tAllocator ); - size_t dataSize; - Result result; - do - { - result = static_cast( - d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); - if ( ( result == Result::eSuccess ) && dataSize ) - { - data.resize( dataSize ); - result = static_cast( d.vkGetPipelineCacheData( m_device, - static_cast( pipelineCache ), - &dataSize, - reinterpret_cast( data.data() ) ) ); - VULKAN_HPP_ASSERT( dataSize <= data.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) - { - data.resize( dataSize ); - } - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineCacheData" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableInternalRepresentationsKHR( - const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pInternalRepresentationCount, - VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR * pInternalRepresentations, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( - m_device, - reinterpret_cast( pExecutableInfo ), - pInternalRepresentationCount, - reinterpret_cast( pInternalRepresentations ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, - Dispatch const & d ) const - { - std::vector - internalRepresentations; - uint32_t internalRepresentationCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &internalRepresentationCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && internalRepresentationCount ) - { - internalRepresentations.resize( internalRepresentationCount ); - result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &internalRepresentationCount, - reinterpret_cast( internalRepresentations.data() ) ) ); - VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( internalRepresentationCount < internalRepresentations.size() ) ) - { - internalRepresentations.resize( internalRepresentationCount ); - } - return createResultValue( result, - internalRepresentations, - VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" ); - } - - template < - typename PipelineExecutableInternalRepresentationKHRAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, - int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPipelineExecutableInternalRepresentationsKHR( - const PipelineExecutableInfoKHR & executableInfo, - PipelineExecutableInternalRepresentationKHRAllocator & pipelineExecutableInternalRepresentationKHRAllocator, - Dispatch const & d ) const - { - std::vector - internalRepresentations( pipelineExecutableInternalRepresentationKHRAllocator ); - uint32_t internalRepresentationCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &internalRepresentationCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && internalRepresentationCount ) - { - internalRepresentations.resize( internalRepresentationCount ); - result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &internalRepresentationCount, - reinterpret_cast( internalRepresentations.data() ) ) ); - VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( internalRepresentationCount < internalRepresentations.size() ) ) - { - internalRepresentations.resize( internalRepresentationCount ); - } - return createResultValue( result, - internalRepresentations, - VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getPipelineExecutablePropertiesKHR( const VULKAN_HPP_NAMESPACE::PipelineInfoKHR * pPipelineInfo, - uint32_t * pExecutableCount, - VULKAN_HPP_NAMESPACE::PipelineExecutablePropertiesKHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPipelineExecutablePropertiesKHR( m_device, - reinterpret_cast( pPipelineInfo ), - pExecutableCount, - reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - Device::getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, Dispatch const & d ) const - { - std::vector properties; - uint32_t executableCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( - m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && executableCount ) - { - properties.resize( executableCount ); - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( - m_device, - reinterpret_cast( &pipelineInfo ), - &executableCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( executableCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( executableCount < properties.size() ) ) - { - properties.resize( executableCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutablePropertiesKHR" ); - } - - template < - typename PipelineExecutablePropertiesKHRAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - Device::getPipelineExecutablePropertiesKHR( - const PipelineInfoKHR & pipelineInfo, - PipelineExecutablePropertiesKHRAllocator & pipelineExecutablePropertiesKHRAllocator, - Dispatch const & d ) const - { - std::vector properties( - pipelineExecutablePropertiesKHRAllocator ); - uint32_t executableCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( - m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && executableCount ) - { - properties.resize( executableCount ); - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( - m_device, - reinterpret_cast( &pipelineInfo ), - &executableCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( executableCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( executableCount < properties.size() ) ) - { - properties.resize( executableCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutablePropertiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getPipelineExecutableStatisticsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR * pExecutableInfo, - uint32_t * pStatisticCount, - VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticKHR * pStatistics, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPipelineExecutableStatisticsKHR( m_device, - reinterpret_cast( pExecutableInfo ), - pStatisticCount, - reinterpret_cast( pStatistics ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, - Dispatch const & d ) const - { - std::vector statistics; - uint32_t statisticCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &statisticCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && statisticCount ) - { - statistics.resize( statisticCount ); - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &statisticCount, - reinterpret_cast( statistics.data() ) ) ); - VULKAN_HPP_ASSERT( statisticCount <= statistics.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( statisticCount < statistics.size() ) ) - { - statistics.resize( statisticCount ); - } - return createResultValue( - result, statistics, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableStatisticsKHR" ); - } - - template < - typename PipelineExecutableStatisticKHRAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getPipelineExecutableStatisticsKHR( - const PipelineExecutableInfoKHR & executableInfo, - PipelineExecutableStatisticKHRAllocator & pipelineExecutableStatisticKHRAllocator, - Dispatch const & d ) const - { - std::vector statistics( - pipelineExecutableStatisticKHRAllocator ); - uint32_t statisticCount; - Result result; - do - { - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &statisticCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && statisticCount ) - { - statistics.resize( statisticCount ); - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, - reinterpret_cast( &executableInfo ), - &statisticCount, - reinterpret_cast( statistics.data() ) ) ); - VULKAN_HPP_ASSERT( statisticCount <= statistics.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( statisticCount < statistics.size() ) ) - { - statistics.resize( statisticCount ); - } - return createResultValue( - result, statistics, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineExecutableStatisticsKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPrivateDataEXT( m_device, - static_cast( objectType ), - objectHandle, - static_cast( privateDataSlot ), - pData ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t - Device::getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - uint64_t data; - d.vkGetPrivateDataEXT( m_device, - static_cast( objectType ), - objectHandle, - static_cast( privateDataSlot ), - &data ); - return data; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - size_t dataSize, - void * pData, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetQueryPoolResults( m_device, - static_cast( queryPool ), - firstQuery, - queryCount, - dataSize, - pData, - static_cast( stride ), - static_cast( flags ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE Result Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - ArrayProxy const & data, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d ) const - { - Result result = static_cast( d.vkGetQueryPoolResults( m_device, - static_cast( queryPool ), - firstQuery, - queryCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ), - static_cast( stride ), - static_cast( flags ) ) ); - return createResultValue( - result, VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResults", { Result::eSuccess, Result::eNotReady } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> - Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - size_t dataSize, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = static_cast( d.vkGetQueryPoolResults( m_device, - static_cast( queryPool ), - firstQuery, - queryCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ), - static_cast( stride ), - static_cast( flags ) ) ); - return createResultValue( result, - data, - VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResults", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue - Device::getQueryPoolResult( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - VULKAN_HPP_NAMESPACE::DeviceSize stride, - VULKAN_HPP_NAMESPACE::QueryResultFlags flags, - Dispatch const & d ) const - { - T data; - Result result = static_cast( d.vkGetQueryPoolResults( m_device, - static_cast( queryPool ), - firstQuery, - queryCount, - sizeof( T ), - reinterpret_cast( &data ), - static_cast( stride ), - static_cast( flags ) ) ); - return createResultValue( result, - data, - VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResult", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = static_cast( - d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getRayTracingCaptureReplayShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d ) const - { - T data; - Result result = - static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - sizeof( T ), - reinterpret_cast( &data ) ) ); - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandleKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::getRayTracingShaderGroupHandlesKHR( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = - static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getRayTracingShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d ) const - { - T data; - Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - sizeof( T ), - reinterpret_cast( &data ) ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetRayTracingShaderGroupHandlesNV( - m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::getRayTracingShaderGroupHandlesNV( - VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - ArrayProxy const & data, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesNV" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = - static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - data.size() * sizeof( T ), - reinterpret_cast( data.data() ) ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesNV" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getRayTracingShaderGroupHandleNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - Dispatch const & d ) const - { - T data; - Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, - static_cast( pipeline ), - firstGroup, - groupCount, - sizeof( T ), - reinterpret_cast( &data ) ) ); - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE DeviceSize - Device::getRayTracingShaderGroupStackSizeKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - uint32_t group, - VULKAN_HPP_NAMESPACE::ShaderGroupShaderKHR groupShader, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetRayTracingShaderGroupStackSizeKHR( - m_device, static_cast( pipeline ), group, static_cast( groupShader ) ) ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE * pDisplayTimingProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetRefreshCycleDurationGOOGLE( - m_device, - static_cast( swapchain ), - reinterpret_cast( pDisplayTimingProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Device::getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE displayTimingProperties; - Result result = static_cast( d.vkGetRefreshCycleDurationGOOGLE( - m_device, - static_cast( swapchain ), - reinterpret_cast( &displayTimingProperties ) ) ); - return createResultValue( - result, displayTimingProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getRefreshCycleDurationGOOGLE" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - VULKAN_HPP_NAMESPACE::Extent2D * pGranularity, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetRenderAreaGranularity( - m_device, static_cast( renderPass ), reinterpret_cast( pGranularity ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Extent2D - Device::getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::Extent2D granularity; - d.vkGetRenderAreaGranularity( - m_device, static_cast( renderPass ), reinterpret_cast( &granularity ) ); - return granularity; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValue( - VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t * pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetSemaphoreCounterValue( m_device, static_cast( semaphore ), pValue ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d ) const - { - uint64_t value; - Result result = - static_cast( d.vkGetSemaphoreCounterValue( m_device, static_cast( semaphore ), &value ) ); - return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValue" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValueKHR( - VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t * pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetSemaphoreCounterValueKHR( m_device, static_cast( semaphore ), pValue ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d ) const - { - uint64_t value; - Result result = - static_cast( d.vkGetSemaphoreCounterValueKHR( m_device, static_cast( semaphore ), &value ) ); - return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValueKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR * pGetFdInfo, - int * pFd, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const & d ) const - { - int fd; - Result result = static_cast( - d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); - return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreFdKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::SemaphoreGetWin32HandleInfoKHR * pGetWin32HandleInfo, - HANDLE * pHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetSemaphoreWin32HandleKHR( - m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, - Dispatch const & d ) const - { - HANDLE handle; - Result result = static_cast( d.vkGetSemaphoreWin32HandleKHR( - m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); - return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreWin32HandleKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::SemaphoreGetZirconHandleInfoFUCHSIA * pGetZirconHandleInfo, - zx_handle_t * pZirconHandle, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetSemaphoreZirconHandleFUCHSIA( - m_device, - reinterpret_cast( pGetZirconHandleInfo ), - pZirconHandle ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo, - Dispatch const & d ) const - { - zx_handle_t zirconHandle; - Result result = static_cast( d.vkGetSemaphoreZirconHandleFUCHSIA( - m_device, - reinterpret_cast( &getZirconHandleInfo ), - &zirconHandle ) ); - return createResultValue( - result, zirconHandle, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreZirconHandleFUCHSIA" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - size_t * pInfoSize, - void * pInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetShaderInfoAMD( m_device, - static_cast( pipeline ), - static_cast( shaderStage ), - static_cast( infoType ), - pInfoSize, - pInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - Dispatch const & d ) const - { - std::vector info; - size_t infoSize; - Result result; - do - { - result = static_cast( d.vkGetShaderInfoAMD( m_device, - static_cast( pipeline ), - static_cast( shaderStage ), - static_cast( infoType ), - &infoSize, - nullptr ) ); - if ( ( result == Result::eSuccess ) && infoSize ) - { - info.resize( infoSize ); - result = static_cast( d.vkGetShaderInfoAMD( m_device, - static_cast( pipeline ), - static_cast( shaderStage ), - static_cast( infoType ), - &infoSize, - reinterpret_cast( info.data() ) ) ); - VULKAN_HPP_ASSERT( infoSize <= info.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( infoSize < info.size() ) ) - { - info.resize( infoSize ); - } - return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING "::Device::getShaderInfoAMD" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, - VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, - VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d ) const - { - std::vector info( uint8_tAllocator ); - size_t infoSize; - Result result; - do - { - result = static_cast( d.vkGetShaderInfoAMD( m_device, - static_cast( pipeline ), - static_cast( shaderStage ), - static_cast( infoType ), - &infoSize, - nullptr ) ); - if ( ( result == Result::eSuccess ) && infoSize ) - { - info.resize( infoSize ); - result = static_cast( d.vkGetShaderInfoAMD( m_device, - static_cast( pipeline ), - static_cast( shaderStage ), - static_cast( infoType ), - &infoSize, - reinterpret_cast( info.data() ) ) ); - VULKAN_HPP_ASSERT( infoSize <= info.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( infoSize < info.size() ) ) - { - info.resize( infoSize ); - } - return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING "::Device::getShaderInfoAMD" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, - uint64_t * pCounterValue, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetSwapchainCounterEXT( m_device, - static_cast( swapchain ), - static_cast( counter ), - pCounterValue ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, - Dispatch const & d ) const - { - uint64_t counterValue; - Result result = - static_cast( d.vkGetSwapchainCounterEXT( m_device, - static_cast( swapchain ), - static_cast( counter ), - &counterValue ) ); - return createResultValue( result, counterValue, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainCounterEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - uint32_t * pSwapchainImageCount, - VULKAN_HPP_NAMESPACE::Image * pSwapchainImages, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetSwapchainImagesKHR( m_device, - static_cast( swapchain ), - pSwapchainImageCount, - reinterpret_cast( pSwapchainImages ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - std::vector swapchainImages; - uint32_t swapchainImageCount; - Result result; - do - { - result = static_cast( d.vkGetSwapchainImagesKHR( - m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && swapchainImageCount ) - { - swapchainImages.resize( swapchainImageCount ); - result = - static_cast( d.vkGetSwapchainImagesKHR( m_device, - static_cast( swapchain ), - &swapchainImageCount, - reinterpret_cast( swapchainImages.data() ) ) ); - VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( swapchainImageCount < swapchainImages.size() ) ) - { - swapchainImages.resize( swapchainImageCount ); - } - return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainImagesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, - ImageAllocator & imageAllocator, - Dispatch const & d ) const - { - std::vector swapchainImages( imageAllocator ); - uint32_t swapchainImageCount; - Result result; - do - { - result = static_cast( d.vkGetSwapchainImagesKHR( - m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && swapchainImageCount ) - { - swapchainImages.resize( swapchainImageCount ); - result = - static_cast( d.vkGetSwapchainImagesKHR( m_device, - static_cast( swapchain ), - &swapchainImageCount, - reinterpret_cast( swapchainImages.data() ) ) ); - VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( swapchainImageCount < swapchainImages.size() ) ) - { - swapchainImages.resize( swapchainImageCount ); - } - return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainImagesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetSwapchainStatusKHR( m_device, static_cast( swapchain ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - Result result = - static_cast( d.vkGetSwapchainStatusKHR( m_device, static_cast( swapchain ) ) ); - return createResultValue( - result, - VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainStatusKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - size_t * pDataSize, - void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetValidationCacheDataEXT( - m_device, static_cast( validationCache ), pDataSize, pData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Dispatch const & d ) const - { - std::vector data; - size_t dataSize; - Result result; - do - { - result = static_cast( d.vkGetValidationCacheDataEXT( - m_device, static_cast( validationCache ), &dataSize, nullptr ) ); - if ( ( result == Result::eSuccess ) && dataSize ) - { - data.resize( dataSize ); - result = - static_cast( d.vkGetValidationCacheDataEXT( m_device, - static_cast( validationCache ), - &dataSize, - reinterpret_cast( data.data() ) ) ); - VULKAN_HPP_ASSERT( dataSize <= data.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) - { - data.resize( dataSize ); - } - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getValidationCacheDataEXT" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, - Uint8_tAllocator & uint8_tAllocator, - Dispatch const & d ) const - { - std::vector data( uint8_tAllocator ); - size_t dataSize; - Result result; - do - { - result = static_cast( d.vkGetValidationCacheDataEXT( - m_device, static_cast( validationCache ), &dataSize, nullptr ) ); - if ( ( result == Result::eSuccess ) && dataSize ) - { - data.resize( dataSize ); - result = - static_cast( d.vkGetValidationCacheDataEXT( m_device, - static_cast( validationCache ), - &dataSize, - reinterpret_cast( data.data() ) ) ); - VULKAN_HPP_ASSERT( dataSize <= data.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) - { - data.resize( dataSize ); - } - return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getValidationCacheDataEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getVideoSessionMemoryRequirementsKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - uint32_t * pVideoSessionMemoryRequirementsCount, - VULKAN_HPP_NAMESPACE::VideoGetMemoryPropertiesKHR * pVideoSessionMemoryRequirements, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( - m_device, - static_cast( videoSession ), - pVideoSessionMemoryRequirementsCount, - reinterpret_cast( pVideoSessionMemoryRequirements ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getVideoSessionMemoryRequirementsKHR( VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - Dispatch const & d ) const - { - std::vector videoSessionMemoryRequirements; - uint32_t videoSessionMemoryRequirementsCount; - Result result; - do - { - result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( - m_device, static_cast( videoSession ), &videoSessionMemoryRequirementsCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && videoSessionMemoryRequirementsCount ) - { - videoSessionMemoryRequirements.resize( videoSessionMemoryRequirementsCount ); - result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( - m_device, - static_cast( videoSession ), - &videoSessionMemoryRequirementsCount, - reinterpret_cast( videoSessionMemoryRequirements.data() ) ) ); - VULKAN_HPP_ASSERT( videoSessionMemoryRequirementsCount <= videoSessionMemoryRequirements.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && - ( videoSessionMemoryRequirementsCount < videoSessionMemoryRequirements.size() ) ) - { - videoSessionMemoryRequirements.resize( videoSessionMemoryRequirementsCount ); - } - return createResultValue( result, - videoSessionMemoryRequirements, - VULKAN_HPP_NAMESPACE_STRING "::Device::getVideoSessionMemoryRequirementsKHR" ); - } - - template < - typename VideoGetMemoryPropertiesKHRAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Device::getVideoSessionMemoryRequirementsKHR( - VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession, - VideoGetMemoryPropertiesKHRAllocator & videoGetMemoryPropertiesKHRAllocator, - Dispatch const & d ) const - { - std::vector videoSessionMemoryRequirements( - videoGetMemoryPropertiesKHRAllocator ); - uint32_t videoSessionMemoryRequirementsCount; - Result result; - do - { - result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( - m_device, static_cast( videoSession ), &videoSessionMemoryRequirementsCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && videoSessionMemoryRequirementsCount ) - { - videoSessionMemoryRequirements.resize( videoSessionMemoryRequirementsCount ); - result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( - m_device, - static_cast( videoSession ), - &videoSessionMemoryRequirementsCount, - reinterpret_cast( videoSessionMemoryRequirements.data() ) ) ); - VULKAN_HPP_ASSERT( videoSessionMemoryRequirementsCount <= videoSessionMemoryRequirements.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && - ( videoSessionMemoryRequirementsCount < videoSessionMemoryRequirements.size() ) ) - { - videoSessionMemoryRequirements.resize( videoSessionMemoryRequirementsCount ); - } - return createResultValue( result, - videoSessionMemoryRequirements, - VULKAN_HPP_NAMESPACE_STRING "::Device::getVideoSessionMemoryRequirementsKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::importFenceFdKHR( const VULKAN_HPP_NAMESPACE::ImportFenceFdInfoKHR * pImportFenceFdInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkImportFenceFdKHR( m_device, reinterpret_cast( pImportFenceFdInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkImportFenceFdKHR( m_device, reinterpret_cast( &importFenceFdInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceFdKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importFenceWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::ImportFenceWin32HandleInfoKHR * pImportFenceWin32HandleInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkImportFenceWin32HandleKHR( - m_device, reinterpret_cast( pImportFenceWin32HandleInfo ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkImportFenceWin32HandleKHR( - m_device, reinterpret_cast( &importFenceWin32HandleInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceWin32HandleKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::importSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreFdInfoKHR * pImportSemaphoreFdInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkImportSemaphoreFdKHR( - m_device, reinterpret_cast( pImportSemaphoreFdInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const & d ) const - { - Result result = static_cast( d.vkImportSemaphoreFdKHR( - m_device, reinterpret_cast( &importSemaphoreFdInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreFdKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreWin32HandleKHR( - const VULKAN_HPP_NAMESPACE::ImportSemaphoreWin32HandleInfoKHR * pImportSemaphoreWin32HandleInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkImportSemaphoreWin32HandleKHR( - m_device, reinterpret_cast( pImportSemaphoreWin32HandleInfo ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkImportSemaphoreWin32HandleKHR( - m_device, reinterpret_cast( &importSemaphoreWin32HandleInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreWin32HandleKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreZirconHandleFUCHSIA( - const VULKAN_HPP_NAMESPACE::ImportSemaphoreZirconHandleInfoFUCHSIA * pImportSemaphoreZirconHandleInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkImportSemaphoreZirconHandleFUCHSIA( - m_device, - reinterpret_cast( pImportSemaphoreZirconHandleInfo ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::importSemaphoreZirconHandleFUCHSIA( - const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo, Dispatch const & d ) const - { - Result result = static_cast( d.vkImportSemaphoreZirconHandleFUCHSIA( - m_device, - reinterpret_cast( &importSemaphoreZirconHandleInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreZirconHandleFUCHSIA" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::initializePerformanceApiINTEL( - const VULKAN_HPP_NAMESPACE::InitializePerformanceApiInfoINTEL * pInitializeInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkInitializePerformanceApiINTEL( - m_device, reinterpret_cast( pInitializeInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkInitializePerformanceApiINTEL( - m_device, reinterpret_cast( &initializeInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::initializePerformanceApiINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::invalidateMappedMemoryRanges( uint32_t memoryRangeCount, - const VULKAN_HPP_NAMESPACE::MappedMemoryRange * pMemoryRanges, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkInvalidateMappedMemoryRanges( - m_device, memoryRangeCount, reinterpret_cast( pMemoryRanges ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::invalidateMappedMemoryRanges( - ArrayProxy const & memoryRanges, Dispatch const & d ) const - { - Result result = static_cast( d.vkInvalidateMappedMemoryRanges( - m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::invalidateMappedMemoryRanges" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, - void ** ppData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkMapMemory( m_device, - static_cast( memory ), - static_cast( offset ), - static_cast( size ), - static_cast( flags ), - ppData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - VULKAN_HPP_NAMESPACE::DeviceSize offset, - VULKAN_HPP_NAMESPACE::DeviceSize size, - VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, - Dispatch const & d ) const - { - void * pData; - Result result = static_cast( d.vkMapMemory( m_device, - static_cast( memory ), - static_cast( offset ), - static_cast( size ), - static_cast( flags ), - &pData ) ); - return createResultValue( result, pData, VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, - uint32_t srcCacheCount, - const VULKAN_HPP_NAMESPACE::PipelineCache * pSrcCaches, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkMergePipelineCaches( m_device, - static_cast( dstCache ), - srcCacheCount, - reinterpret_cast( pSrcCaches ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, - ArrayProxy const & srcCaches, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkMergePipelineCaches( m_device, - static_cast( dstCache ), - srcCaches.size(), - reinterpret_cast( srcCaches.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergePipelineCaches" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, - uint32_t srcCacheCount, - const VULKAN_HPP_NAMESPACE::ValidationCacheEXT * pSrcCaches, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkMergeValidationCachesEXT( m_device, - static_cast( dstCache ), - srcCacheCount, - reinterpret_cast( pSrcCaches ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, - ArrayProxy const & srcCaches, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkMergeValidationCachesEXT( m_device, - static_cast( dstCache ), - srcCaches.size(), - reinterpret_cast( srcCaches.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergeValidationCachesEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::registerEventEXT( const VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT * pDeviceEventInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkRegisterDeviceEventEXT( m_device, - reinterpret_cast( pDeviceEventInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pFence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkRegisterDeviceEventEXT( m_device, - reinterpret_cast( &deviceEventInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerEventEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Device::registerEventEXTUnique( const DeviceEventInfoEXT & deviceEventInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkRegisterDeviceEventEXT( m_device, - reinterpret_cast( &deviceEventInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerEventEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT * pDisplayEventInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Fence * pFence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkRegisterDisplayEventEXT( m_device, - static_cast( display ), - reinterpret_cast( pDisplayEventInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pFence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayEventInfoEXT & displayEventInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkRegisterDisplayEventEXT( m_device, - static_cast( display ), - reinterpret_cast( &displayEventInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerDisplayEventEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Device::registerDisplayEventEXTUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayEventInfoEXT & displayEventInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Fence fence; - Result result = static_cast( - d.vkRegisterDisplayEventEXT( m_device, - static_cast( display ), - reinterpret_cast( &displayEventInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &fence ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerDisplayEventEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseFullScreenExclusiveModeEXT( - VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkReleaseFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); - } -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const - { - Result result = static_cast( - d.vkReleaseFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseFullScreenExclusiveModeEXT" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releasePerformanceConfigurationINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkReleasePerformanceConfigurationINTEL( - m_device, static_cast( configuration ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::releasePerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d ) const - { - Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( - m_device, static_cast( configuration ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releasePerformanceConfigurationINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::release( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkReleasePerformanceConfigurationINTEL( - m_device, static_cast( configuration ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const - { - Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( - m_device, static_cast( configuration ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::release" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::releaseProfilingLockKHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkReleaseProfilingLockKHR( m_device ); - } - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkResetCommandPool( - m_device, static_cast( commandPool ), static_cast( flags ) ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, - Dispatch const & d ) const - { - Result result = static_cast( d.vkResetCommandPool( - m_device, static_cast( commandPool ), static_cast( flags ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetCommandPool" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Result Device::resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkResetDescriptorPool( - m_device, static_cast( descriptorPool ), static_cast( flags ) ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, - VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, - Dispatch const & d ) const - { - Result result = static_cast( d.vkResetDescriptorPool( - m_device, static_cast( descriptorPool ), static_cast( flags ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetDescriptorPool" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkResetEvent( m_device, static_cast( event ) ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type Device::resetEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d ) const - { - Result result = static_cast( d.vkResetEvent( m_device, static_cast( event ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetEvent" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetFences( uint32_t fenceCount, - const VULKAN_HPP_NAMESPACE::Fence * pFences, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkResetFences( m_device, fenceCount, reinterpret_cast( pFences ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::resetFences( ArrayProxy const & fences, Dispatch const & d ) const - { - Result result = static_cast( - d.vkResetFences( m_device, fences.size(), reinterpret_cast( fences.data() ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetFences" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkResetQueryPool( m_device, static_cast( queryPool ), firstQuery, queryCount ); - } - - template - VULKAN_HPP_INLINE void Device::resetQueryPoolEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, - uint32_t firstQuery, - uint32_t queryCount, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkResetQueryPoolEXT( m_device, static_cast( queryPool ), firstQuery, queryCount ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectNameEXT( - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT * pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkSetDebugUtilsObjectNameEXT( - m_device, reinterpret_cast( pNameInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const & d ) const - { - Result result = static_cast( d.vkSetDebugUtilsObjectNameEXT( - m_device, reinterpret_cast( &nameInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectNameEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectTagEXT( - const VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT * pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast( pTagInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectTagEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setEvent( VULKAN_HPP_NAMESPACE::Event event, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkSetEvent( m_device, static_cast( event ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const - { - Result result = static_cast( d.vkSetEvent( m_device, static_cast( event ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setEvent" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( uint32_t swapchainCount, - const VULKAN_HPP_NAMESPACE::SwapchainKHR * pSwapchains, - const VULKAN_HPP_NAMESPACE::HdrMetadataEXT * pMetadata, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkSetHdrMetadataEXT( m_device, - swapchainCount, - reinterpret_cast( pSwapchains ), - reinterpret_cast( pMetadata ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::setHdrMetadataEXT( ArrayProxy const & swapchains, - ArrayProxy const & metadata, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS - { -# ifdef VULKAN_HPP_NO_EXCEPTIONS - VULKAN_HPP_ASSERT( swapchains.size() == metadata.size() ); -# else - if ( swapchains.size() != metadata.size() ) - { - throw LogicError( VULKAN_HPP_NAMESPACE_STRING - "::Device::setHdrMetadataEXT: swapchains.size() != metadata.size()" ); - } -# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - - d.vkSetHdrMetadataEXT( m_device, - swapchains.size(), - reinterpret_cast( swapchains.data() ), - reinterpret_cast( metadata.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::setLocalDimmingAMD( VULKAN_HPP_NAMESPACE::SwapchainKHR swapChain, - VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkSetLocalDimmingAMD( - m_device, static_cast( swapChain ), static_cast( localDimmingEnable ) ); - } - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t data, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkSetPrivateDataEXT( m_device, - static_cast( objectType ), - objectHandle, - static_cast( privateDataSlot ), - data ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type - Device::setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, - uint64_t objectHandle, - VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, - uint64_t data, - Dispatch const & d ) const - { - Result result = static_cast( d.vkSetPrivateDataEXT( m_device, - static_cast( objectType ), - objectHandle, - static_cast( privateDataSlot ), - data ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setPrivateDataEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphore( - const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo * pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkSignalSemaphore( m_device, reinterpret_cast( pSignalInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::signalSemaphore( const SemaphoreSignalInfo & signalInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkSignalSemaphore( m_device, reinterpret_cast( &signalInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphore" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphoreKHR( - const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo * pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkSignalSemaphoreKHR( m_device, reinterpret_cast( pSignalInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo, Dispatch const & d ) const - { - Result result = static_cast( - d.vkSignalSemaphoreKHR( m_device, reinterpret_cast( &signalInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphoreKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Device::trimCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkTrimCommandPool( - m_device, static_cast( commandPool ), static_cast( flags ) ); - } - - template - VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( VULKAN_HPP_NAMESPACE::CommandPool commandPool, - VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkTrimCommandPoolKHR( - m_device, static_cast( commandPool ), static_cast( flags ) ); - } - - template - VULKAN_HPP_INLINE void Device::uninitializePerformanceApiINTEL( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUninitializePerformanceApiINTEL( m_device ); - } - - template - VULKAN_HPP_INLINE void Device::unmapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUnmapMemory( m_device, static_cast( memory ) ); - } - - template - VULKAN_HPP_INLINE void - Device::updateDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUpdateDescriptorSetWithTemplate( m_device, - static_cast( descriptorSet ), - static_cast( descriptorUpdateTemplate ), - pData ); - } - - template - VULKAN_HPP_INLINE void - Device::updateDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, - VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, - const void * pData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUpdateDescriptorSetWithTemplateKHR( m_device, - static_cast( descriptorSet ), - static_cast( descriptorUpdateTemplate ), - pData ); - } - - template - VULKAN_HPP_INLINE void - Device::updateDescriptorSets( uint32_t descriptorWriteCount, - const VULKAN_HPP_NAMESPACE::WriteDescriptorSet * pDescriptorWrites, - uint32_t descriptorCopyCount, - const VULKAN_HPP_NAMESPACE::CopyDescriptorSet * pDescriptorCopies, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUpdateDescriptorSets( m_device, - descriptorWriteCount, - reinterpret_cast( pDescriptorWrites ), - descriptorCopyCount, - reinterpret_cast( pDescriptorCopies ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Device::updateDescriptorSets( ArrayProxy const & descriptorWrites, - ArrayProxy const & descriptorCopies, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkUpdateDescriptorSets( m_device, - descriptorWrites.size(), - reinterpret_cast( descriptorWrites.data() ), - descriptorCopies.size(), - reinterpret_cast( descriptorCopies.data() ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::updateVideoSessionParametersKHR( - VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VULKAN_HPP_NAMESPACE::VideoSessionParametersUpdateInfoKHR * pUpdateInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkUpdateVideoSessionParametersKHR( - m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( pUpdateInfo ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::updateVideoSessionParametersKHR( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters, - const VideoSessionParametersUpdateInfoKHR & updateInfo, - Dispatch const & d ) const - { - Result result = static_cast( d.vkUpdateVideoSessionParametersKHR( - m_device, - static_cast( videoSessionParameters ), - reinterpret_cast( &updateInfo ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::updateVideoSessionParametersKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( uint32_t fenceCount, - const VULKAN_HPP_NAMESPACE::Fence * pFences, - VULKAN_HPP_NAMESPACE::Bool32 waitAll, - uint64_t timeout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkWaitForFences( - m_device, fenceCount, reinterpret_cast( pFences ), static_cast( waitAll ), timeout ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::waitForFences( ArrayProxy const & fences, - VULKAN_HPP_NAMESPACE::Bool32 waitAll, - uint64_t timeout, - Dispatch const & d ) const - { - Result result = static_cast( d.vkWaitForFences( m_device, - fences.size(), - reinterpret_cast( fences.data() ), - static_cast( waitAll ), - timeout ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::waitForFences", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::waitSemaphores( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo * pWaitInfo, - uint64_t timeout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkWaitSemaphores( m_device, reinterpret_cast( pWaitInfo ), timeout ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( const SemaphoreWaitInfo & waitInfo, - uint64_t timeout, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkWaitSemaphores( m_device, reinterpret_cast( &waitInfo ), timeout ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphores", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Device::waitSemaphoresKHR( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo * pWaitInfo, - uint64_t timeout, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkWaitSemaphoresKHR( m_device, reinterpret_cast( pWaitInfo ), timeout ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, - uint64_t timeout, - Dispatch const & d ) const - { - Result result = static_cast( - d.vkWaitSemaphoresKHR( m_device, reinterpret_cast( &waitInfo ), timeout ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphoresKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeAccelerationStructuresPropertiesKHR( - uint32_t accelerationStructureCount, - const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR * pAccelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t dataSize, - void * pData, - size_t stride, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( - m_device, - accelerationStructureCount, - reinterpret_cast( pAccelerationStructures ), - static_cast( queryType ), - dataSize, - pData, - stride ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type Device::writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - ArrayProxy const & data, - size_t stride, - Dispatch const & d ) const - { - Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( - m_device, - accelerationStructures.size(), - reinterpret_cast( accelerationStructures.data() ), - static_cast( queryType ), - data.size() * sizeof( T ), - reinterpret_cast( data.data() ), - stride ) ); - return createResultValue( result, - VULKAN_HPP_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertiesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - Device::writeAccelerationStructuresPropertiesKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t dataSize, - size_t stride, - Dispatch const & d ) const - { - VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); - std::vector data( dataSize / sizeof( T ) ); - Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( - m_device, - accelerationStructures.size(), - reinterpret_cast( accelerationStructures.data() ), - static_cast( queryType ), - data.size() * sizeof( T ), - reinterpret_cast( data.data() ), - stride ) ); - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertiesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Device::writeAccelerationStructuresPropertyKHR( - ArrayProxy const & accelerationStructures, - VULKAN_HPP_NAMESPACE::QueryType queryType, - size_t stride, - Dispatch const & d ) const - { - T data; - Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( - m_device, - accelerationStructures.size(), - reinterpret_cast( accelerationStructures.data() ), - static_cast( queryType ), - sizeof( T ), - reinterpret_cast( &data ), - stride ) ); - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertyKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createAndroidSurfaceKHR( const VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateAndroidSurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateAndroidSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createAndroidSurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateAndroidSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createAndroidSurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createDebugReportCallbackEXT( const VULKAN_HPP_NAMESPACE::DebugReportCallbackCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT * pCallback, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDebugReportCallbackEXT( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pCallback ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback; - Result result = static_cast( - d.vkCreateDebugReportCallbackEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &callback ) ) ); - return createResultValue( - result, callback, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugReportCallbackEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Instance::createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback; - Result result = static_cast( - d.vkCreateDebugReportCallbackEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &callback ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, callback, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugReportCallbackEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createDebugUtilsMessengerEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT * pMessenger, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDebugUtilsMessengerEXT( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pMessenger ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger; - Result result = static_cast( - d.vkCreateDebugUtilsMessengerEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &messenger ) ) ); - return createResultValue( - result, messenger, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugUtilsMessengerEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - Instance::createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger; - Result result = static_cast( - d.vkCreateDebugUtilsMessengerEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &messenger ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, messenger, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugUtilsMessengerEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createDirectFBSurfaceEXT( const VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDirectFBSurfaceEXT( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createDirectFBSurfaceEXT( const DirectFBSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateDirectFBSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDirectFBSurfaceEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createDirectFBSurfaceEXTUnique( const DirectFBSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateDirectFBSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDirectFBSurfaceEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createDisplayPlaneSurfaceKHR( const VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDisplayPlaneSurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateDisplayPlaneSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDisplayPlaneSurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateDisplayPlaneSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDisplayPlaneSurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createHeadlessSurfaceEXT( const VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateHeadlessSurfaceEXT( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createHeadlessSurfaceEXT( const HeadlessSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateHeadlessSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createHeadlessSurfaceEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createHeadlessSurfaceEXTUnique( const HeadlessSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateHeadlessSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createHeadlessSurfaceEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_IOS_MVK ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createIOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::IOSSurfaceCreateInfoMVK * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateIOSSurfaceMVK( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateIOSSurfaceMVK( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createIOSSurfaceMVK" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateIOSSurfaceMVK( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createIOSSurfaceMVKUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_IOS_MVK*/ - -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createImagePipeSurfaceFUCHSIA( - const VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createImagePipeSurfaceFUCHSIA( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( - m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createImagePipeSurfaceFUCHSIA" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createImagePipeSurfaceFUCHSIAUnique( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( - m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createImagePipeSurfaceFUCHSIAUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createMacOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateInfoMVK * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateMacOSSurfaceMVK( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateMacOSSurfaceMVK( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMacOSSurfaceMVK" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateMacOSSurfaceMVK( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMacOSSurfaceMVKUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ - -#if defined( VK_USE_PLATFORM_METAL_EXT ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createMetalSurfaceEXT( const VULKAN_HPP_NAMESPACE::MetalSurfaceCreateInfoEXT * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateMetalSurfaceEXT( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createMetalSurfaceEXT( const MetalSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateMetalSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMetalSurfaceEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createMetalSurfaceEXTUnique( const MetalSurfaceCreateInfoEXT & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateMetalSurfaceEXT( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMetalSurfaceEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createScreenSurfaceQNX( const VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateInfoQNX * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateScreenSurfaceQNX( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createScreenSurfaceQNX( const ScreenSurfaceCreateInfoQNX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateScreenSurfaceQNX( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createScreenSurfaceQNX" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createScreenSurfaceQNXUnique( const ScreenSurfaceCreateInfoQNX & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateScreenSurfaceQNX( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createScreenSurfaceQNXUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - -#if defined( VK_USE_PLATFORM_GGP ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createStreamDescriptorSurfaceGGP( - const VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateInfoGGP * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateStreamDescriptorSurfaceGGP( - m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createStreamDescriptorSurfaceGGP( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( - m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createStreamDescriptorSurfaceGGP" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createStreamDescriptorSurfaceGGPUnique( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( - m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createStreamDescriptorSurfaceGGPUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_GGP*/ - -#if defined( VK_USE_PLATFORM_VI_NN ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createViSurfaceNN( const VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateViSurfaceNN( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateViSurfaceNN( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createViSurfaceNN" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateViSurfaceNN( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createViSurfaceNNUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_VI_NN*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createWaylandSurfaceKHR( const VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateWaylandSurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateWaylandSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWaylandSurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateWaylandSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWaylandSurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createWin32SurfaceKHR( const VULKAN_HPP_NAMESPACE::Win32SurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateWin32SurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateWin32SurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWin32SurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateWin32SurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWin32SurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createXcbSurfaceKHR( const VULKAN_HPP_NAMESPACE::XcbSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateXcbSurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateXcbSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXcbSurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateXcbSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXcbSurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::createXlibSurfaceKHR( const VULKAN_HPP_NAMESPACE::XlibSurfaceCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::SurfaceKHR * pSurface, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateXlibSurfaceKHR( m_instance, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pSurface ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateXlibSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXlibSurfaceKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceKHR surface; - Result result = static_cast( - d.vkCreateXlibSurfaceKHR( m_instance, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &surface ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXlibSurfaceKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - - template - VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const char * pLayerPrefix, - const char * pMessage, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDebugReportMessageEXT( m_instance, - static_cast( flags ), - static_cast( objectType ), - object, - location, - messageCode, - pLayerPrefix, - pMessage ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, - VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const std::string & layerPrefix, - const std::string & message, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDebugReportMessageEXT( m_instance, - static_cast( flags ), - static_cast( objectType ), - object, - location, - messageCode, - layerPrefix.c_str(), - message.c_str() ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Instance::destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugReportCallbackEXT( m_instance, - static_cast( callback ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugReportCallbackEXT( - m_instance, - static_cast( callback ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugReportCallbackEXT( m_instance, - static_cast( callback ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugReportCallbackEXT( - m_instance, - static_cast( callback ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - Instance::destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugUtilsMessengerEXT( m_instance, - static_cast( messenger ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Instance::destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugUtilsMessengerEXT( - m_instance, - static_cast( messenger ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugUtilsMessengerEXT( m_instance, - static_cast( messenger ), - reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyDebugUtilsMessengerEXT( - m_instance, - static_cast( messenger ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyInstance( m_instance, reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroy( Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroyInstance( m_instance, - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySurfaceKHR( - m_instance, static_cast( surface ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySurfaceKHR( m_instance, - static_cast( surface ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySurfaceKHR( - m_instance, static_cast( surface ), reinterpret_cast( pAllocator ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Optional allocator, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkDestroySurfaceKHR( m_instance, - static_cast( surface ), - reinterpret_cast( - static_cast( allocator ) ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroups( - uint32_t * pPhysicalDeviceGroupCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumeratePhysicalDeviceGroups( - m_instance, - pPhysicalDeviceGroupCount, - reinterpret_cast( pPhysicalDeviceGroupProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDeviceGroups( Dispatch const & d ) const - { - std::vector physicalDeviceGroupProperties; - uint32_t physicalDeviceGroupCount; - Result result; - do - { - result = - static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( - m_instance, - &physicalDeviceGroupCount, - reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - } - return createResultValue( - result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroups" ); - } - - template < - typename PhysicalDeviceGroupPropertiesAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDeviceGroups( - PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const - { - std::vector physicalDeviceGroupProperties( - physicalDeviceGroupPropertiesAllocator ); - uint32_t physicalDeviceGroupCount; - Result result; - do - { - result = - static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( - m_instance, - &physicalDeviceGroupCount, - reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - } - return createResultValue( - result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroups" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroupsKHR( - uint32_t * pPhysicalDeviceGroupCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( - m_instance, - pPhysicalDeviceGroupCount, - reinterpret_cast( pPhysicalDeviceGroupProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDeviceGroupsKHR( Dispatch const & d ) const - { - std::vector physicalDeviceGroupProperties; - uint32_t physicalDeviceGroupCount; - Result result; - do - { - result = - static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( - m_instance, - &physicalDeviceGroupCount, - reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - } - return createResultValue( result, - physicalDeviceGroupProperties, - VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroupsKHR" ); - } - - template < - typename PhysicalDeviceGroupPropertiesAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDeviceGroupsKHR( - PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const - { - std::vector physicalDeviceGroupProperties( - physicalDeviceGroupPropertiesAllocator ); - uint32_t physicalDeviceGroupCount; - Result result; - do - { - result = - static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( - m_instance, - &physicalDeviceGroupCount, - reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) - { - physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - } - return createResultValue( result, - physicalDeviceGroupProperties, - VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroupsKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Instance::enumeratePhysicalDevices( uint32_t * pPhysicalDeviceCount, - VULKAN_HPP_NAMESPACE::PhysicalDevice * pPhysicalDevices, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumeratePhysicalDevices( - m_instance, pPhysicalDeviceCount, reinterpret_cast( pPhysicalDevices ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDevices( Dispatch const & d ) const - { - std::vector physicalDevices; - uint32_t physicalDeviceCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceCount ) - { - physicalDevices.resize( physicalDeviceCount ); - result = static_cast( d.vkEnumeratePhysicalDevices( - m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceCount < physicalDevices.size() ) ) - { - physicalDevices.resize( physicalDeviceCount ); - } - return createResultValue( - result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDevices" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - Instance::enumeratePhysicalDevices( PhysicalDeviceAllocator & physicalDeviceAllocator, Dispatch const & d ) const - { - std::vector physicalDevices( physicalDeviceAllocator ); - uint32_t physicalDeviceCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && physicalDeviceCount ) - { - physicalDevices.resize( physicalDeviceCount ); - result = static_cast( d.vkEnumeratePhysicalDevices( - m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); - VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( physicalDeviceCount < physicalDevices.size() ) ) - { - physicalDevices.resize( physicalDeviceCount ); - } - return createResultValue( - result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDevices" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const char * pName, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetInstanceProcAddr( m_instance, pName ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const std::string & name, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetInstanceProcAddr( m_instance, name.c_str() ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( - VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, - const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataEXT * pCallbackData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkSubmitDebugUtilsMessageEXT( m_instance, - static_cast( messageSeverity ), - static_cast( messageTypes ), - reinterpret_cast( pCallbackData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void - Instance::submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, - const DebugUtilsMessengerCallbackDataEXT & callbackData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkSubmitDebugUtilsMessageEXT( m_instance, - static_cast( messageSeverity ), - static_cast( messageTypes ), - reinterpret_cast( &callbackData ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) -# ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireWinrtDisplayNV( - VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkAcquireWinrtDisplayNV( m_physicalDevice, static_cast( display ) ) ); - } -# else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::acquireWinrtDisplayNV( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const - { - Result result = - static_cast( d.vkAcquireWinrtDisplayNV( m_physicalDevice, static_cast( display ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireWinrtDisplayNV" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireXlibDisplayEXT( - Display * dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkAcquireXlibDisplayEXT( m_physicalDevice, dpy, static_cast( display ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::acquireXlibDisplayEXT( Display & dpy, - VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkAcquireXlibDisplayEXT( m_physicalDevice, &dpy, static_cast( display ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireXlibDisplayEXT" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::createDevice( const VULKAN_HPP_NAMESPACE::DeviceCreateInfo * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::Device * pDevice, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkCreateDevice( m_physicalDevice, - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pDevice ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::createDevice( const DeviceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Device device; - Result result = static_cast( - d.vkCreateDevice( m_physicalDevice, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &device ) ) ); - return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDevice" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::createDeviceUnique( const DeviceCreateInfo & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Device device; - Result result = static_cast( - d.vkCreateDevice( m_physicalDevice, - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &device ) ) ); - ObjectDestroy deleter( allocator, d ); - return createResultValue( - result, device, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDeviceUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const VULKAN_HPP_NAMESPACE::DisplayModeCreateInfoKHR * pCreateInfo, - const VULKAN_HPP_NAMESPACE::AllocationCallbacks * pAllocator, - VULKAN_HPP_NAMESPACE::DisplayModeKHR * pMode, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkCreateDisplayModeKHR( m_physicalDevice, - static_cast( display ), - reinterpret_cast( pCreateInfo ), - reinterpret_cast( pAllocator ), - reinterpret_cast( pMode ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayModeCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayModeKHR mode; - Result result = static_cast( - d.vkCreateDisplayModeKHR( m_physicalDevice, - static_cast( display ), - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &mode ) ) ); - return createResultValue( result, mode, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDisplayModeKHR" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::createDisplayModeKHRUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, - const DisplayModeCreateInfoKHR & createInfo, - Optional allocator, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayModeKHR mode; - Result result = static_cast( - d.vkCreateDisplayModeKHR( m_physicalDevice, - static_cast( display ), - reinterpret_cast( &createInfo ), - reinterpret_cast( - static_cast( allocator ) ), - reinterpret_cast( &mode ) ) ); - ObjectDestroy deleter( *this, allocator, d ); - return createResultValue( - result, mode, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDisplayModeKHRUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::enumerateDeviceExtensionProperties( const char * pLayerName, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::ExtensionProperties * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumerateDeviceExtensionProperties( - m_physicalDevice, pLayerName, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, - Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateDeviceExtensionProperties( - m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, - layerName ? layerName->c_str() : nullptr, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceExtensionProperties" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, - ExtensionPropertiesAllocator & extensionPropertiesAllocator, - Dispatch const & d ) const - { - std::vector properties( extensionPropertiesAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateDeviceExtensionProperties( - m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, - layerName ? layerName->c_str() : nullptr, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceExtensionProperties" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::enumerateDeviceLayerProperties( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::LayerProperties * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumerateDeviceLayerProperties( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateDeviceLayerProperties( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateDeviceLayerProperties( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceLayerProperties" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateDeviceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, - Dispatch const & d ) const - { - std::vector properties( layerPropertiesAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateDeviceLayerProperties( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceLayerProperties" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - uint32_t * pCounterCount, - VULKAN_HPP_NAMESPACE::PerformanceCounterKHR * pCounters, - VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR * pCounterDescriptions, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - pCounterCount, - reinterpret_cast( pCounters ), - reinterpret_cast( pCounterDescriptions ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - ArrayProxy const & counters, - Dispatch const & d ) const - { - std::vector counterDescriptions; - uint32_t counterCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - counters.size(), - reinterpret_cast( counters.data() ), - nullptr ) ); - if ( ( result == Result::eSuccess ) && counterCount ) - { - counterDescriptions.resize( counterCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - counters.size(), - reinterpret_cast( counters.data() ), - reinterpret_cast( counterDescriptions.data() ) ) ); - } - } while ( result == Result::eIncomplete ); - if ( result == Result::eSuccess ) - { - VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); - counterDescriptions.resize( counterCount ); - } - return createResultValue( result, - counterDescriptions, - VULKAN_HPP_NAMESPACE_STRING - "::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); - } - - template < - typename Allocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it." ) - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - ArrayProxy const & counters, - Allocator const & vectorAllocator, - Dispatch const & d ) const - { - std::vector counterDescriptions( vectorAllocator ); - uint32_t counterCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - counters.size(), - reinterpret_cast( counters.data() ), - nullptr ) ); - if ( ( result == Result::eSuccess ) && counterCount ) - { - counterDescriptions.resize( counterCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - counters.size(), - reinterpret_cast( counters.data() ), - reinterpret_cast( counterDescriptions.data() ) ) ); - } - } while ( result == Result::eIncomplete ); - if ( result == Result::eSuccess ) - { - VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); - counterDescriptions.resize( counterCount ); - } - return createResultValue( result, - counterDescriptions, - VULKAN_HPP_NAMESPACE_STRING - "::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::pair, - std::vector>>::type - PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, - Dispatch const & d ) const - { - std::pair, - std::vector> - data; - std::vector & counters = data.first; - std::vector & counterDescriptions = - data.second; - uint32_t counterCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); - if ( ( result == Result::eSuccess ) && counterCount ) - { - counters.resize( counterCount ); - counterDescriptions.resize( counterCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - &counterCount, - reinterpret_cast( counters.data() ), - reinterpret_cast( counterDescriptions.data() ) ) ); - VULKAN_HPP_ASSERT( counterCount <= counters.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( counterCount < counters.size() ) ) - { - counters.resize( counterCount ); - counterDescriptions.resize( counterCount ); - } - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); - } - - template ::value && - std::is_same::value, - int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::pair, - std::vector>>::type - PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( - uint32_t queueFamilyIndex, - PerformanceCounterKHRAllocator & performanceCounterKHRAllocator, - PerformanceCounterDescriptionKHRAllocator & performanceCounterDescriptionKHRAllocator, - Dispatch const & d ) const - { - std::pair, - std::vector> - data( std::piecewise_construct, - std::forward_as_tuple( performanceCounterKHRAllocator ), - std::forward_as_tuple( performanceCounterDescriptionKHRAllocator ) ); - std::vector & counters = data.first; - std::vector & counterDescriptions = - data.second; - uint32_t counterCount; - Result result; - do - { - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); - if ( ( result == Result::eSuccess ) && counterCount ) - { - counters.resize( counterCount ); - counterDescriptions.resize( counterCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, - queueFamilyIndex, - &counterCount, - reinterpret_cast( counters.data() ), - reinterpret_cast( counterDescriptions.data() ) ) ); - VULKAN_HPP_ASSERT( counterCount <= counters.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( counterCount < counters.size() ) ) - { - counters.resize( counterCount ); - counterDescriptions.resize( counterCount ); - } - return createResultValue( - result, data, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayModeProperties2KHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDisplayModeProperties2KHR( m_physicalDevice, - static_cast( display ), - pPropertyCount, - reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkGetDisplayModeProperties2KHR( m_physicalDevice, - static_cast( display ), - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayModeProperties2KHR( - VULKAN_HPP_NAMESPACE::DisplayKHR display, - DisplayModeProperties2KHRAllocator & displayModeProperties2KHRAllocator, - Dispatch const & d ) const - { - std::vector properties( - displayModeProperties2KHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkGetDisplayModeProperties2KHR( m_physicalDevice, - static_cast( display ), - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDisplayModePropertiesKHR( m_physicalDevice, - static_cast( display ), - pPropertyCount, - reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkGetDisplayModePropertiesKHR( - m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkGetDisplayModePropertiesKHR( m_physicalDevice, - static_cast( display ), - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModePropertiesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, - DisplayModePropertiesKHRAllocator & displayModePropertiesKHRAllocator, - Dispatch const & d ) const - { - std::vector properties( - displayModePropertiesKHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( d.vkGetDisplayModePropertiesKHR( - m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( - d.vkGetDisplayModePropertiesKHR( m_physicalDevice, - static_cast( display ), - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModePropertiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilities2KHR( - const VULKAN_HPP_NAMESPACE::DisplayPlaneInfo2KHR * pDisplayPlaneInfo, - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR * pCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDisplayPlaneCapabilities2KHR( m_physicalDevice, - reinterpret_cast( pDisplayPlaneInfo ), - reinterpret_cast( pCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR capabilities; - Result result = static_cast( - d.vkGetDisplayPlaneCapabilities2KHR( m_physicalDevice, - reinterpret_cast( &displayPlaneInfo ), - reinterpret_cast( &capabilities ) ) ); - return createResultValue( - result, capabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilities2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, - uint32_t planeIndex, - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR * pCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, - static_cast( mode ), - planeIndex, - reinterpret_cast( pCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, - uint32_t planeIndex, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities; - Result result = static_cast( - d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, - static_cast( mode ), - planeIndex, - reinterpret_cast( &capabilities ) ) ); - return createResultValue( - result, capabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilitiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, - uint32_t * pDisplayCount, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplays, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( - m_physicalDevice, planeIndex, pDisplayCount, reinterpret_cast( pDisplays ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const & d ) const - { - std::vector displays; - uint32_t displayCount; - Result result; - do - { - result = static_cast( - d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && displayCount ) - { - displays.resize( displayCount ); - result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( - m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); - VULKAN_HPP_ASSERT( displayCount <= displays.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( displayCount < displays.size() ) ) - { - displays.resize( displayCount ); - } - return createResultValue( - result, displays, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, - DisplayKHRAllocator & displayKHRAllocator, - Dispatch const & d ) const - { - std::vector displays( displayKHRAllocator ); - uint32_t displayCount; - Result result; - do - { - result = static_cast( - d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && displayCount ) - { - displays.resize( displayCount ); - result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( - m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); - VULKAN_HPP_ASSERT( displayCount <= displays.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( displayCount < displays.size() ) ) - { - displays.resize( displayCount ); - } - return createResultValue( - result, displays, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getCalibrateableTimeDomainsEXT( uint32_t * pTimeDomainCount, - VULKAN_HPP_NAMESPACE::TimeDomainEXT * pTimeDomains, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( - m_physicalDevice, pTimeDomainCount, reinterpret_cast( pTimeDomains ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getCalibrateableTimeDomainsEXT( Dispatch const & d ) const - { - std::vector timeDomains; - uint32_t timeDomainCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && timeDomainCount ) - { - timeDomains.resize( timeDomainCount ); - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( - m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); - VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( timeDomainCount < timeDomains.size() ) ) - { - timeDomains.resize( timeDomainCount ); - } - return createResultValue( - result, timeDomains, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getCalibrateableTimeDomainsEXT( TimeDomainEXTAllocator & timeDomainEXTAllocator, - Dispatch const & d ) const - { - std::vector timeDomains( timeDomainEXTAllocator ); - uint32_t timeDomainCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && timeDomainCount ) - { - timeDomains.resize( timeDomainCount ); - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( - m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); - VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( timeDomainCount < timeDomains.size() ) ) - { - timeDomains.resize( timeDomainCount ); - } - return createResultValue( - result, timeDomains, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getCooperativeMatrixPropertiesNV( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::CooperativeMatrixPropertiesNV * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getCooperativeMatrixPropertiesNV( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - m_physicalDevice, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); - } - - template < - typename CooperativeMatrixPropertiesNVAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getCooperativeMatrixPropertiesNV( - CooperativeMatrixPropertiesNVAllocator & cooperativeMatrixPropertiesNVAllocator, Dispatch const & d ) const - { - std::vector properties( - cooperativeMatrixPropertiesNVAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - m_physicalDevice, - &propertyCount, - reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( - uint32_t queueFamilyIndex, IDirectFB * dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( m_physicalDevice, queueFamilyIndex, dfb ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( - uint32_t queueFamilyIndex, IDirectFB & dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( m_physicalDevice, queueFamilyIndex, &dfb ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayPlaneProperties2KHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPlaneProperties2KHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPlaneProperties2KHR( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneProperties2KHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPlaneProperties2KHR( - DisplayPlaneProperties2KHRAllocator & displayPlaneProperties2KHRAllocator, Dispatch const & d ) const - { - std::vector properties( - displayPlaneProperties2KHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneProperties2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayPlanePropertiesKHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPlanePropertiesKHR( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlanePropertiesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPlanePropertiesKHR( - DisplayPlanePropertiesKHRAllocator & displayPlanePropertiesKHRAllocator, Dispatch const & d ) const - { - std::vector properties( - displayPlanePropertiesKHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlanePropertiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayProperties2KHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayProperties2KHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayProperties2KHR( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = - static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayProperties2KHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayProperties2KHR( DisplayProperties2KHRAllocator & displayProperties2KHRAllocator, - Dispatch const & d ) const - { - std::vector properties( displayProperties2KHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = - static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayProperties2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getDisplayPropertiesKHR( uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( - m_physicalDevice, pPropertyCount, reinterpret_cast( pProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPropertiesKHR( Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - Result result; - do - { - result = - static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPropertiesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator & displayPropertiesKHRAllocator, - Dispatch const & d ) const - { - std::vector properties( displayPropertiesKHRAllocator ); - uint32_t propertyCount; - Result result; - do - { - result = - static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && propertyCount ) - { - properties.resize( propertyCount ); - result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) - { - properties.resize( propertyCount ); - } - return createResultValue( - result, properties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPropertiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferProperties( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VULKAN_HPP_NAMESPACE::ExternalBufferProperties * pExternalBufferProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalBufferProperties( - m_physicalDevice, - reinterpret_cast( pExternalBufferInfo ), - reinterpret_cast( pExternalBufferProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalBufferProperties - PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalBufferProperties externalBufferProperties; - d.vkGetPhysicalDeviceExternalBufferProperties( - m_physicalDevice, - reinterpret_cast( &externalBufferInfo ), - reinterpret_cast( &externalBufferProperties ) ); - return externalBufferProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferPropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo * pExternalBufferInfo, - VULKAN_HPP_NAMESPACE::ExternalBufferProperties * pExternalBufferProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( - m_physicalDevice, - reinterpret_cast( pExternalBufferInfo ), - reinterpret_cast( pExternalBufferProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalBufferProperties - PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalBufferProperties externalBufferProperties; - d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( - m_physicalDevice, - reinterpret_cast( &externalBufferInfo ), - reinterpret_cast( &externalBufferProperties ) ); - return externalBufferProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalFenceProperties( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VULKAN_HPP_NAMESPACE::ExternalFenceProperties * pExternalFenceProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalFenceProperties( - m_physicalDevice, - reinterpret_cast( pExternalFenceInfo ), - reinterpret_cast( pExternalFenceProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalFenceProperties - PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalFenceProperties externalFenceProperties; - d.vkGetPhysicalDeviceExternalFenceProperties( - m_physicalDevice, - reinterpret_cast( &externalFenceInfo ), - reinterpret_cast( &externalFenceProperties ) ); - return externalFenceProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalFencePropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo * pExternalFenceInfo, - VULKAN_HPP_NAMESPACE::ExternalFenceProperties * pExternalFenceProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalFencePropertiesKHR( - m_physicalDevice, - reinterpret_cast( pExternalFenceInfo ), - reinterpret_cast( pExternalFenceProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalFenceProperties - PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalFenceProperties externalFenceProperties; - d.vkGetPhysicalDeviceExternalFencePropertiesKHR( - m_physicalDevice, - reinterpret_cast( &externalFenceInfo ), - reinterpret_cast( &externalFenceProperties ) ); - return externalFenceProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getExternalImageFormatPropertiesNV( - VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, - VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV * pExternalImageFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( tiling ), - static_cast( usage ), - static_cast( flags ), - static_cast( externalHandleType ), - reinterpret_cast( pExternalImageFormatProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getExternalImageFormatPropertiesNV( - VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV externalImageFormatProperties; - Result result = static_cast( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( tiling ), - static_cast( usage ), - static_cast( flags ), - static_cast( externalHandleType ), - reinterpret_cast( &externalImageFormatProperties ) ) ); - return createResultValue( result, - externalImageFormatProperties, - VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getExternalImageFormatPropertiesNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphoreProperties( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties * pExternalSemaphoreProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalSemaphoreProperties( - m_physicalDevice, - reinterpret_cast( pExternalSemaphoreInfo ), - reinterpret_cast( pExternalSemaphoreProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties - PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties externalSemaphoreProperties; - d.vkGetPhysicalDeviceExternalSemaphoreProperties( - m_physicalDevice, - reinterpret_cast( &externalSemaphoreInfo ), - reinterpret_cast( &externalSemaphoreProperties ) ); - return externalSemaphoreProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphorePropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo * pExternalSemaphoreInfo, - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties * pExternalSemaphoreProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( - m_physicalDevice, - reinterpret_cast( pExternalSemaphoreInfo ), - reinterpret_cast( pExternalSemaphoreProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties - PhysicalDevice::getExternalSemaphorePropertiesKHR( - const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties externalSemaphoreProperties; - d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( - m_physicalDevice, - reinterpret_cast( &externalSemaphoreInfo ), - reinterpret_cast( &externalSemaphoreProperties ) ); - return externalSemaphoreProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures * pFeatures, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast( pFeatures ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures - PhysicalDevice::getFeatures( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features; - d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast( &features ) ); - return features; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 * pFeatures, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( pFeatures ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 - PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 features; - d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); - return features; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 & features = - structureChain.template get(); - d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 * pFeatures, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( pFeatures ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 - PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 features; - d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); - return features; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 & features = - structureChain.template get(); - d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties * pFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFormatProperties( - m_physicalDevice, static_cast( format ), reinterpret_cast( pFormatProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties - PhysicalDevice::getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::FormatProperties formatProperties; - d.vkGetPhysicalDeviceFormatProperties( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); - return formatProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties2 * pFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFormatProperties2( - m_physicalDevice, static_cast( format ), reinterpret_cast( pFormatProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties2 - PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; - d.vkGetPhysicalDeviceFormatProperties2( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); - return formatProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = - structureChain.template get(); - d.vkGetPhysicalDeviceFormatProperties2( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::FormatProperties2 * pFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceFormatProperties2KHR( - m_physicalDevice, static_cast( format ), reinterpret_cast( pFormatProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties2 - PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; - d.vkGetPhysicalDeviceFormatProperties2KHR( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); - return formatProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = - structureChain.template get(); - d.vkGetPhysicalDeviceFormatProperties2KHR( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getFragmentShadingRatesKHR( - uint32_t * pFragmentShadingRateCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceFragmentShadingRateKHR * pFragmentShadingRates, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( - m_physicalDevice, - pFragmentShadingRateCount, - reinterpret_cast( pFragmentShadingRates ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getFragmentShadingRatesKHR( Dispatch const & d ) const - { - std::vector - fragmentShadingRates; - uint32_t fragmentShadingRateCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) - { - fragmentShadingRates.resize( fragmentShadingRateCount ); - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( - m_physicalDevice, - &fragmentShadingRateCount, - reinterpret_cast( fragmentShadingRates.data() ) ) ); - VULKAN_HPP_ASSERT( fragmentShadingRateCount <= fragmentShadingRates.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( fragmentShadingRateCount < fragmentShadingRates.size() ) ) - { - fragmentShadingRates.resize( fragmentShadingRateCount ); - } - return createResultValue( - result, fragmentShadingRates, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getFragmentShadingRatesKHR" ); - } - - template ::value, - int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getFragmentShadingRatesKHR( - PhysicalDeviceFragmentShadingRateKHRAllocator & physicalDeviceFragmentShadingRateKHRAllocator, - Dispatch const & d ) const - { - std::vector - fragmentShadingRates( physicalDeviceFragmentShadingRateKHRAllocator ); - uint32_t fragmentShadingRateCount; - Result result; - do - { - result = static_cast( - d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) - { - fragmentShadingRates.resize( fragmentShadingRateCount ); - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( - m_physicalDevice, - &fragmentShadingRateCount, - reinterpret_cast( fragmentShadingRates.data() ) ) ); - VULKAN_HPP_ASSERT( fragmentShadingRateCount <= fragmentShadingRates.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( fragmentShadingRateCount < fragmentShadingRates.size() ) ) - { - fragmentShadingRates.resize( fragmentShadingRateCount ); - } - return createResultValue( - result, fragmentShadingRates, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getFragmentShadingRatesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - VULKAN_HPP_NAMESPACE::ImageFormatProperties * pImageFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceImageFormatProperties( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( tiling ), - static_cast( usage ), - static_cast( flags ), - reinterpret_cast( pImageFormatProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties; - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( tiling ), - static_cast( usage ), - static_cast( flags ), - reinterpret_cast( &imageFormatProperties ) ) ); - return createResultValue( - result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 * pImageFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( pImageFormatInfo ), - reinterpret_cast( pImageFormatProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 imageFormatProperties; - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &imageFormatInfo ), - reinterpret_cast( &imageFormatProperties ) ) ); - return createResultValue( - result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d ) const - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 & imageFormatProperties = - structureChain.template get(); - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &imageFormatInfo ), - reinterpret_cast( &imageFormatProperties ) ) ); - return createResultValue( - result, structureChain, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 * pImageFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( pImageFormatInfo ), - reinterpret_cast( pImageFormatProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 imageFormatProperties; - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &imageFormatInfo ), - reinterpret_cast( &imageFormatProperties ) ) ); - return createResultValue( - result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, - Dispatch const & d ) const - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::ImageFormatProperties2 & imageFormatProperties = - structureChain.template get(); - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &imageFormatInfo ), - reinterpret_cast( &imageFormatProperties ) ) ); - return createResultValue( - result, structureChain, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getMemoryProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties * pMemoryProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, - reinterpret_cast( pMemoryProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties - PhysicalDevice::getMemoryProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, - reinterpret_cast( &memoryProperties ) ); - return memoryProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getMemoryProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 * pMemoryProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceMemoryProperties2( - m_physicalDevice, reinterpret_cast( pMemoryProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 - PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties2( - m_physicalDevice, reinterpret_cast( &memoryProperties ) ); - return memoryProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 & memoryProperties = - structureChain.template get(); - d.vkGetPhysicalDeviceMemoryProperties2( - m_physicalDevice, reinterpret_cast( &memoryProperties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getMemoryProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 * pMemoryProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceMemoryProperties2KHR( - m_physicalDevice, reinterpret_cast( pMemoryProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 - PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties2KHR( - m_physicalDevice, reinterpret_cast( &memoryProperties ) ); - return memoryProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 & memoryProperties = - structureChain.template get(); - d.vkGetPhysicalDeviceMemoryProperties2KHR( - m_physicalDevice, reinterpret_cast( &memoryProperties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getMultisamplePropertiesEXT( - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT * pMultisampleProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceMultisamplePropertiesEXT( - m_physicalDevice, - static_cast( samples ), - reinterpret_cast( pMultisampleProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT - PhysicalDevice::getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT multisampleProperties; - d.vkGetPhysicalDeviceMultisamplePropertiesEXT( - m_physicalDevice, - static_cast( samples ), - reinterpret_cast( &multisampleProperties ) ); - return multisampleProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pRectCount, - VULKAN_HPP_NAMESPACE::Rect2D * pRects, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( - m_physicalDevice, static_cast( surface ), pRectCount, reinterpret_cast( pRects ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - std::vector rects; - uint32_t rectCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( - m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && rectCount ) - { - rects.resize( rectCount ); - result = static_cast( - d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, - static_cast( surface ), - &rectCount, - reinterpret_cast( rects.data() ) ) ); - VULKAN_HPP_ASSERT( rectCount <= rects.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( rectCount < rects.size() ) ) - { - rects.resize( rectCount ); - } - return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getPresentRectanglesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Rect2DAllocator & rect2DAllocator, - Dispatch const & d ) const - { - std::vector rects( rect2DAllocator ); - uint32_t rectCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( - m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && rectCount ) - { - rects.resize( rectCount ); - result = static_cast( - d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, - static_cast( surface ), - &rectCount, - reinterpret_cast( rects.data() ) ) ); - VULKAN_HPP_ASSERT( rectCount <= rects.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( rectCount < rects.size() ) ) - { - rects.resize( rectCount ); - } - return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getPresentRectanglesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties - PhysicalDevice::getProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties; - d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast( &properties ) ); - return properties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceProperties2( m_physicalDevice, - reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 - PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 properties; - d.vkGetPhysicalDeviceProperties2( m_physicalDevice, - reinterpret_cast( &properties ) ); - return properties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 & properties = - structureChain.template get(); - d.vkGetPhysicalDeviceProperties2( m_physicalDevice, - reinterpret_cast( &properties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, - reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 - PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 properties; - d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, - reinterpret_cast( &properties ) ); - return properties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain - PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 & properties = - structureChain.template get(); - d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, - reinterpret_cast( &properties ) ); - return structureChain; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( - const VULKAN_HPP_NAMESPACE::QueryPoolPerformanceCreateInfoKHR * pPerformanceQueryCreateInfo, - uint32_t * pNumPasses, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - m_physicalDevice, - reinterpret_cast( pPerformanceQueryCreateInfo ), - pNumPasses ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( - const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - uint32_t numPasses; - d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - m_physicalDevice, - reinterpret_cast( &performanceQueryCreateInfo ), - &numPasses ); - return numPasses; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getQueueFamilyProperties( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties * pQueueFamilyProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, - pQueueFamilyPropertyCount, - reinterpret_cast( pQueueFamilyProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties( Dispatch const & d ) const - { - std::vector queueFamilyProperties; - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties( QueueFamilyPropertiesAllocator & queueFamilyPropertiesAllocator, - Dispatch const & d ) const - { - std::vector queueFamilyProperties( - queueFamilyPropertiesAllocator ); - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getQueueFamilyProperties2( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties2 * pQueueFamilyProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, - pQueueFamilyPropertyCount, - reinterpret_cast( pQueueFamilyProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const - { - std::vector queueFamilyProperties; - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, - Dispatch const & d ) const - { - std::vector queueFamilyProperties( - queueFamilyProperties2Allocator ); - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const - { - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - std::vector returnVector( queueFamilyPropertyCount ); - std::vector queueFamilyProperties( queueFamilyPropertyCount ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - queueFamilyProperties[i].pNext = - returnVector[i].template get().pNext; - } - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - returnVector[i].template get() = queueFamilyProperties[i]; - } - return returnVector; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2( StructureChainAllocator & structureChainAllocator, - Dispatch const & d ) const - { - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - std::vector returnVector( queueFamilyPropertyCount, - structureChainAllocator ); - std::vector queueFamilyProperties( queueFamilyPropertyCount ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - queueFamilyProperties[i].pNext = - returnVector[i].template get().pNext; - } - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - returnVector[i].template get() = queueFamilyProperties[i]; - } - return returnVector; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getQueueFamilyProperties2KHR( uint32_t * pQueueFamilyPropertyCount, - VULKAN_HPP_NAMESPACE::QueueFamilyProperties2 * pQueueFamilyProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, - pQueueFamilyPropertyCount, - reinterpret_cast( pQueueFamilyProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const - { - std::vector queueFamilyProperties; - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, - Dispatch const & d ) const - { - std::vector queueFamilyProperties( - queueFamilyProperties2Allocator ); - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - return queueFamilyProperties; - } - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const - { - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - std::vector returnVector( queueFamilyPropertyCount ); - std::vector queueFamilyProperties( queueFamilyPropertyCount ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - queueFamilyProperties[i].pNext = - returnVector[i].template get().pNext; - } - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - returnVector[i].template get() = queueFamilyProperties[i]; - } - return returnVector; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getQueueFamilyProperties2KHR( StructureChainAllocator & structureChainAllocator, - Dispatch const & d ) const - { - uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); - std::vector returnVector( queueFamilyPropertyCount, - structureChainAllocator ); - std::vector queueFamilyProperties( queueFamilyPropertyCount ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - queueFamilyProperties[i].pNext = - returnVector[i].template get().pNext; - } - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, - &queueFamilyPropertyCount, - reinterpret_cast( queueFamilyProperties.data() ) ); - VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); - for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) - { - returnVector[i].template get() = queueFamilyProperties[i]; - } - return returnVector; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getScreenPresentationSupportQNX( - uint32_t queueFamilyIndex, struct _screen_window * window, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceScreenPresentationSupportQNX( m_physicalDevice, queueFamilyIndex, window ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getScreenPresentationSupportQNX( - uint32_t queueFamilyIndex, struct _screen_window & window, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetPhysicalDeviceScreenPresentationSupportQNX( m_physicalDevice, queueFamilyIndex, &window ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - - template - VULKAN_HPP_INLINE void - PhysicalDevice::getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceSparseImageFormatProperties( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( samples ), - static_cast( usage ), - static_cast( tiling ), - pPropertyCount, - reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( samples ), - static_cast( usage ), - static_cast( tiling ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( samples ), - static_cast( usage ), - static_cast( tiling ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } - - template < - typename SparseImageFormatPropertiesAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties( - VULKAN_HPP_NAMESPACE::Format format, - VULKAN_HPP_NAMESPACE::ImageType type, - VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, - VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, - VULKAN_HPP_NAMESPACE::ImageTiling tiling, - SparseImageFormatPropertiesAllocator & sparseImageFormatPropertiesAllocator, - Dispatch const & d ) const - { - std::vector properties( - sparseImageFormatPropertiesAllocator ); - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( samples ), - static_cast( usage ), - static_cast( tiling ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties( - m_physicalDevice, - static_cast( format ), - static_cast( type ), - static_cast( samples ), - static_cast( usage ), - static_cast( tiling ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2 * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( pFormatInfo ), - pPropertyCount, - reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } - - template < - typename SparseImageFormatProperties2Allocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties2( - const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, - Dispatch const & d ) const - { - std::vector properties( - sparseImageFormatProperties2Allocator ); - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2 * pFormatInfo, - uint32_t * pPropertyCount, - VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2 * pProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( pFormatInfo ), - pPropertyCount, - reinterpret_cast( pProperties ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - Dispatch const & d ) const - { - std::vector properties; - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } - - template < - typename SparseImageFormatProperties2Allocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD - VULKAN_HPP_INLINE std::vector - PhysicalDevice::getSparseImageFormatProperties2KHR( - const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, - SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, - Dispatch const & d ) const - { - std::vector properties( - sparseImageFormatProperties2Allocator ); - uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - nullptr ); - properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, - reinterpret_cast( &formatInfo ), - &propertyCount, - reinterpret_cast( properties.data() ) ); - VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); - return properties; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( - uint32_t * pCombinationCount, - VULKAN_HPP_NAMESPACE::FramebufferMixedSamplesCombinationNV * pCombinations, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, - pCombinationCount, - reinterpret_cast( pCombinations ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( Dispatch const & d ) const - { - std::vector combinations; - uint32_t combinationCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, &combinationCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && combinationCount ) - { - combinations.resize( combinationCount ); - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, - &combinationCount, - reinterpret_cast( combinations.data() ) ) ); - VULKAN_HPP_ASSERT( combinationCount <= combinations.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( combinationCount < combinations.size() ) ) - { - combinations.resize( combinationCount ); - } - return createResultValue( result, - combinations, - VULKAN_HPP_NAMESPACE_STRING - "::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); - } - - template ::value, - int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( - FramebufferMixedSamplesCombinationNVAllocator & framebufferMixedSamplesCombinationNVAllocator, - Dispatch const & d ) const - { - std::vector combinations( - framebufferMixedSamplesCombinationNVAllocator ); - uint32_t combinationCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, &combinationCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && combinationCount ) - { - combinations.resize( combinationCount ); - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, - &combinationCount, - reinterpret_cast( combinations.data() ) ) ); - VULKAN_HPP_ASSERT( combinationCount <= combinations.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( combinationCount < combinations.size() ) ) - { - combinations.resize( combinationCount ); - } - return createResultValue( result, - combinations, - VULKAN_HPP_NAMESPACE_STRING - "::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT * pSurfaceCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( - m_physicalDevice, - static_cast( surface ), - reinterpret_cast( pSurfaceCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT surfaceCapabilities; - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( - m_physicalDevice, - static_cast( surface ), - reinterpret_cast( &surfaceCapabilities ) ) ); - return createResultValue( - result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2EXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR * pSurfaceCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( - m_physicalDevice, - reinterpret_cast( pSurfaceInfo ), - reinterpret_cast( pSurfaceCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR surfaceCapabilities; - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - reinterpret_cast( &surfaceCapabilities ) ) ); - return createResultValue( - result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d ) const - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR & surfaceCapabilities = - structureChain.template get(); - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - reinterpret_cast( &surfaceCapabilities ) ) ); - return createResultValue( - result, structureChain, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR * pSurfaceCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( - m_physicalDevice, - static_cast( surface ), - reinterpret_cast( pSurfaceCapabilities ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities; - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( - m_physicalDevice, - static_cast( surface ), - reinterpret_cast( &surfaceCapabilities ) ) ); - return createResultValue( - result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilitiesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pSurfaceFormatCount, - VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR * pSurfaceFormats, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, - reinterpret_cast( pSurfaceInfo ), - pSurfaceFormatCount, - reinterpret_cast( pSurfaceFormats ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const - { - std::vector surfaceFormats; - uint32_t surfaceFormatCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &surfaceFormatCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && surfaceFormatCount ) - { - surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &surfaceFormatCount, - reinterpret_cast( surfaceFormats.data() ) ) ); - VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) - { - surfaceFormats.resize( surfaceFormatCount ); - } - return createResultValue( - result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormats2KHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - SurfaceFormat2KHRAllocator & surfaceFormat2KHRAllocator, - Dispatch const & d ) const - { - std::vector surfaceFormats( surfaceFormat2KHRAllocator ); - uint32_t surfaceFormatCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &surfaceFormatCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && surfaceFormatCount ) - { - surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &surfaceFormatCount, - reinterpret_cast( surfaceFormats.data() ) ) ); - VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) - { - surfaceFormats.resize( surfaceFormatCount ); - } - return createResultValue( - result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormats2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pSurfaceFormatCount, - VULKAN_HPP_NAMESPACE::SurfaceFormatKHR * pSurfaceFormats, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, - static_cast( surface ), - pSurfaceFormatCount, - reinterpret_cast( pSurfaceFormats ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - std::vector surfaceFormats; - uint32_t surfaceFormatCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( - m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && surfaceFormatCount ) - { - surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( - d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, - static_cast( surface ), - &surfaceFormatCount, - reinterpret_cast( surfaceFormats.data() ) ) ); - VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) - { - surfaceFormats.resize( surfaceFormatCount ); - } - return createResultValue( - result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - SurfaceFormatKHRAllocator & surfaceFormatKHRAllocator, - Dispatch const & d ) const - { - std::vector surfaceFormats( surfaceFormatKHRAllocator ); - uint32_t surfaceFormatCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( - m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && surfaceFormatCount ) - { - surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( - d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, - static_cast( surface ), - &surfaceFormatCount, - reinterpret_cast( surfaceFormats.data() ) ) ); - VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) - { - surfaceFormats.resize( surfaceFormatCount ); - } - return createResultValue( - result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModes2EXT( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, - uint32_t * pPresentModeCount, - VULKAN_HPP_NAMESPACE::PresentModeKHR * pPresentModes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, - reinterpret_cast( pSurfaceInfo ), - pPresentModeCount, - reinterpret_cast( pPresentModes ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - Dispatch const & d ) const - { - std::vector presentModes; - uint32_t presentModeCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &presentModeCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && presentModeCount ) - { - presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &presentModeCount, - reinterpret_cast( presentModes.data() ) ) ); - VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) - { - presentModes.resize( presentModeCount ); - } - return createResultValue( - result, presentModes, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModes2EXT" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, - PresentModeKHRAllocator & presentModeKHRAllocator, - Dispatch const & d ) const - { - std::vector presentModes( presentModeKHRAllocator ); - uint32_t presentModeCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &presentModeCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && presentModeCount ) - { - presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, - reinterpret_cast( &surfaceInfo ), - &presentModeCount, - reinterpret_cast( presentModes.data() ) ) ); - VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) - { - presentModes.resize( presentModeCount ); - } - return createResultValue( - result, presentModes, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModes2EXT" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - uint32_t * pPresentModeCount, - VULKAN_HPP_NAMESPACE::PresentModeKHR * pPresentModes, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, - static_cast( surface ), - pPresentModeCount, - reinterpret_cast( pPresentModes ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const - { - std::vector presentModes; - uint32_t presentModeCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( - m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && presentModeCount ) - { - presentModes.resize( presentModeCount ); - result = static_cast( - d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, - static_cast( surface ), - &presentModeCount, - reinterpret_cast( presentModes.data() ) ) ); - VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) - { - presentModes.resize( presentModeCount ); - } - return createResultValue( - result, presentModes, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - PresentModeKHRAllocator & presentModeKHRAllocator, - Dispatch const & d ) const - { - std::vector presentModes( presentModeKHRAllocator ); - uint32_t presentModeCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( - m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && presentModeCount ) - { - presentModes.resize( presentModeCount ); - result = static_cast( - d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, - static_cast( surface ), - &presentModeCount, - reinterpret_cast( presentModes.data() ) ) ); - VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) - { - presentModes.resize( presentModeCount ); - } - return createResultValue( - result, presentModes, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - VULKAN_HPP_NAMESPACE::Bool32 * pSupported, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, - queueFamilyIndex, - static_cast( surface ), - reinterpret_cast( pSupported ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, - VULKAN_HPP_NAMESPACE::SurfaceKHR surface, - Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::Bool32 supported; - Result result = - static_cast( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, - queueFamilyIndex, - static_cast( surface ), - reinterpret_cast( &supported ) ) ); - return createResultValue( result, supported, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceSupportKHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getToolPropertiesEXT( uint32_t * pToolCount, - VULKAN_HPP_NAMESPACE::PhysicalDeviceToolPropertiesEXT * pToolProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( - m_physicalDevice, pToolCount, reinterpret_cast( pToolProperties ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getToolPropertiesEXT( Dispatch const & d ) const - { - std::vector toolProperties; - uint32_t toolCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && toolCount ) - { - toolProperties.resize( toolCount ); - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( - m_physicalDevice, - &toolCount, - reinterpret_cast( toolProperties.data() ) ) ); - VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( toolCount < toolProperties.size() ) ) - { - toolProperties.resize( toolCount ); - } - return createResultValue( - result, toolProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolPropertiesEXT" ); - } - - template < - typename PhysicalDeviceToolPropertiesEXTAllocator, - typename Dispatch, - typename B, - typename std::enable_if::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType< - std::vector>::type - PhysicalDevice::getToolPropertiesEXT( - PhysicalDeviceToolPropertiesEXTAllocator & physicalDeviceToolPropertiesEXTAllocator, Dispatch const & d ) const - { - std::vector toolProperties( - physicalDeviceToolPropertiesEXTAllocator ); - uint32_t toolCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); - if ( ( result == Result::eSuccess ) && toolCount ) - { - toolProperties.resize( toolCount ); - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( - m_physicalDevice, - &toolCount, - reinterpret_cast( toolProperties.data() ) ) ); - VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( toolCount < toolProperties.size() ) ) - { - toolProperties.resize( toolCount ); - } - return createResultValue( - result, toolProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolPropertiesEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getVideoCapabilitiesKHR( const VULKAN_HPP_NAMESPACE::VideoProfileKHR * pVideoProfile, - VULKAN_HPP_NAMESPACE::VideoCapabilitiesKHR * pCapabilities, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceVideoCapabilitiesKHR( m_physicalDevice, - reinterpret_cast( pVideoProfile ), - reinterpret_cast( pCapabilities ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileKHR & videoProfile, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::VideoCapabilitiesKHR capabilities; - Result result = static_cast( - d.vkGetPhysicalDeviceVideoCapabilitiesKHR( m_physicalDevice, - reinterpret_cast( &videoProfile ), - reinterpret_cast( &capabilities ) ) ); - return createResultValue( - result, capabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); - } - - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileKHR & videoProfile, Dispatch const & d ) const - { - StructureChain structureChain; - VULKAN_HPP_NAMESPACE::VideoCapabilitiesKHR & capabilities = - structureChain.template get(); - Result result = static_cast( - d.vkGetPhysicalDeviceVideoCapabilitiesKHR( m_physicalDevice, - reinterpret_cast( &videoProfile ), - reinterpret_cast( &capabilities ) ) ); - return createResultValue( - result, structureChain, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoFormatPropertiesKHR( - const VULKAN_HPP_NAMESPACE::PhysicalDeviceVideoFormatInfoKHR * pVideoFormatInfo, - uint32_t * pVideoFormatPropertyCount, - VULKAN_HPP_NAMESPACE::VideoFormatPropertiesKHR * pVideoFormatProperties, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, - reinterpret_cast( pVideoFormatInfo ), - pVideoFormatPropertyCount, - reinterpret_cast( pVideoFormatProperties ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo, - Dispatch const & d ) const - { - std::vector videoFormatProperties; - uint32_t videoFormatPropertyCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, - reinterpret_cast( &videoFormatInfo ), - &videoFormatPropertyCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) - { - videoFormatProperties.resize( videoFormatPropertyCount ); - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, - reinterpret_cast( &videoFormatInfo ), - &videoFormatPropertyCount, - reinterpret_cast( videoFormatProperties.data() ) ) ); - VULKAN_HPP_ASSERT( videoFormatPropertyCount <= videoFormatProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( videoFormatPropertyCount < videoFormatProperties.size() ) ) - { - videoFormatProperties.resize( videoFormatPropertyCount ); - } - return createResultValue( - result, videoFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoFormatPropertiesKHR" ); - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo, - VideoFormatPropertiesKHRAllocator & videoFormatPropertiesKHRAllocator, - Dispatch const & d ) const - { - std::vector videoFormatProperties( - videoFormatPropertiesKHRAllocator ); - uint32_t videoFormatPropertyCount; - Result result; - do - { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, - reinterpret_cast( &videoFormatInfo ), - &videoFormatPropertyCount, - nullptr ) ); - if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) - { - videoFormatProperties.resize( videoFormatPropertyCount ); - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, - reinterpret_cast( &videoFormatInfo ), - &videoFormatPropertyCount, - reinterpret_cast( videoFormatProperties.data() ) ) ); - VULKAN_HPP_ASSERT( videoFormatPropertyCount <= videoFormatProperties.size() ); - } - } while ( result == Result::eIncomplete ); - if ( ( result == Result::eSuccess ) && ( videoFormatPropertyCount < videoFormatProperties.size() ) ) - { - videoFormatProperties.resize( videoFormatPropertyCount ); - } - return createResultValue( - result, videoFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoFormatPropertiesKHR" ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( - uint32_t queueFamilyIndex, struct wl_display * display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, display ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( - uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &display ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( - uint32_t queueFamilyIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex ) ); - } -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#if defined( VK_USE_PLATFORM_XCB_KHR ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, - xcb_connection_t * connection, - xcb_visualid_t visual_id, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection, visual_id ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, - xcb_connection_t & connection, - xcb_visualid_t visual_id, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection, visual_id ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XCB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, - Display * dpy, - VisualID visualID, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, dpy, visualID ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, - Display & dpy, - VisualID visualID, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &dpy, visualID ); - } -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getRandROutputDisplayEXT( Display * dpy, - RROutput rrOutput, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplay, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetRandROutputDisplayEXT( m_physicalDevice, dpy, rrOutput, reinterpret_cast( pDisplay ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayKHR display; - Result result = static_cast( - d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); - return createResultValue( - result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXT" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_INLINE typename ResultValueType>::type - PhysicalDevice::getRandROutputDisplayEXTUnique( Display & dpy, RROutput rrOutput, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayKHR display; - Result result = static_cast( - d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); - ObjectRelease deleter( *this, d ); - return createResultValue( - result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXTUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - PhysicalDevice::getWinrtDisplayNV( uint32_t deviceRelativeId, - VULKAN_HPP_NAMESPACE::DisplayKHR * pDisplay, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkGetWinrtDisplayNV( m_physicalDevice, deviceRelativeId, reinterpret_cast( pDisplay ) ) ); - } - -# ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType::type - PhysicalDevice::getWinrtDisplayNV( uint32_t deviceRelativeId, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayKHR display; - Result result = static_cast( - d.vkGetWinrtDisplayNV( m_physicalDevice, deviceRelativeId, reinterpret_cast( &display ) ) ); - return createResultValue( result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getWinrtDisplayNV" ); - } - -# ifndef VULKAN_HPP_NO_SMART_HANDLE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE - typename ResultValueType>::type - PhysicalDevice::getWinrtDisplayNVUnique( uint32_t deviceRelativeId, Dispatch const & d ) const - { - VULKAN_HPP_NAMESPACE::DisplayKHR display; - Result result = static_cast( - d.vkGetWinrtDisplayNV( m_physicalDevice, deviceRelativeId, reinterpret_cast( &display ) ) ); - ObjectRelease deleter( *this, d ); - return createResultValue( - result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getWinrtDisplayNVUnique", deleter ); - } -# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ -# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE Result PhysicalDevice::releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); - } -#else - template - VULKAN_HPP_INLINE typename ResultValueType::type - PhysicalDevice::releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const - { - Result result = - static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::releaseDisplayEXT" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Queue::getCheckpointData2NV( uint32_t * pCheckpointDataCount, - VULKAN_HPP_NAMESPACE::CheckpointData2NV * pCheckpointData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetQueueCheckpointData2NV( - m_queue, pCheckpointDataCount, reinterpret_cast( pCheckpointData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - Queue::getCheckpointData2NV( Dispatch const & d ) const - { - std::vector checkpointData; - uint32_t checkpointDataCount; - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, nullptr ); - checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointData2NV( - m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); - VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); - return checkpointData; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - Queue::getCheckpointData2NV( CheckpointData2NVAllocator & checkpointData2NVAllocator, Dispatch const & d ) const - { - std::vector checkpointData( checkpointData2NVAllocator ); - uint32_t checkpointDataCount; - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, nullptr ); - checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointData2NV( - m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); - VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); - return checkpointData; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Queue::getCheckpointDataNV( uint32_t * pCheckpointDataCount, - VULKAN_HPP_NAMESPACE::CheckpointDataNV * pCheckpointData, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkGetQueueCheckpointDataNV( - m_queue, pCheckpointDataCount, reinterpret_cast( pCheckpointData ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - Queue::getCheckpointDataNV( Dispatch const & d ) const - { - std::vector checkpointData; - uint32_t checkpointDataCount; - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); - checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointDataNV( - m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); - VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); - return checkpointData; - } - - template ::value, int>::type> - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector - Queue::getCheckpointDataNV( CheckpointDataNVAllocator & checkpointDataNVAllocator, Dispatch const & d ) const - { - std::vector checkpointData( checkpointDataNVAllocator ); - uint32_t checkpointDataCount; - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); - checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointDataNV( - m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); - VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); - return checkpointData; - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast( pLabelInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Queue::bindSparse( uint32_t bindInfoCount, - const VULKAN_HPP_NAMESPACE::BindSparseInfo * pBindInfo, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkQueueBindSparse( m_queue, - bindInfoCount, - reinterpret_cast( pBindInfo ), - static_cast( fence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Queue::bindSparse( ArrayProxy const & bindInfo, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkQueueBindSparse( m_queue, - bindInfo.size(), - reinterpret_cast( bindInfo.data() ), - static_cast( fence ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::bindSparse" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkQueueEndDebugUtilsLabelEXT( m_queue ); - } - - template - VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT * pLabelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast( pLabelInfo ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( - const VULKAN_HPP_NAMESPACE::PresentInfoKHR * pPresentInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( - d.vkQueuePresentKHR( m_queue, reinterpret_cast( pPresentInfo ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR & presentInfo, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkQueuePresentKHR( m_queue, reinterpret_cast( &presentInfo ) ) ); - return createResultValue( - result, - VULKAN_HPP_NAMESPACE_STRING "::Queue::presentKHR", - { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::setPerformanceConfigurationINTEL( - VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkQueueSetPerformanceConfigurationINTEL( - m_queue, static_cast( configuration ) ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Queue::setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, - Dispatch const & d ) const - { - Result result = static_cast( d.vkQueueSetPerformanceConfigurationINTEL( - m_queue, static_cast( configuration ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::setPerformanceConfigurationINTEL" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::submit( uint32_t submitCount, - const VULKAN_HPP_NAMESPACE::SubmitInfo * pSubmits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkQueueSubmit( - m_queue, submitCount, reinterpret_cast( pSubmits ), static_cast( fence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Queue::submit( ArrayProxy const & submits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const - { - Result result = static_cast( d.vkQueueSubmit( m_queue, - submits.size(), - reinterpret_cast( submits.data() ), - static_cast( fence ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result - Queue::submit2KHR( uint32_t submitCount, - const VULKAN_HPP_NAMESPACE::SubmitInfo2KHR * pSubmits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkQueueSubmit2KHR( - m_queue, submitCount, reinterpret_cast( pSubmits ), static_cast( fence ) ) ); - } - -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Queue::submit2KHR( ArrayProxy const & submits, - VULKAN_HPP_NAMESPACE::Fence fence, - Dispatch const & d ) const - { - Result result = - static_cast( d.vkQueueSubmit2KHR( m_queue, - submits.size(), - reinterpret_cast( submits.data() ), - static_cast( fence ) ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit2KHR" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE - template - VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT - { - return static_cast( d.vkQueueWaitIdle( m_queue ) ); - } -#else - template - VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type - Queue::waitIdle( Dispatch const & d ) const - { - Result result = static_cast( d.vkQueueWaitIdle( m_queue ) ); - return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::waitIdle" ); - } -#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ - -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_GGP ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_GGP*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - -#if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL - class DynamicLoader - { - public: -# ifdef VULKAN_HPP_NO_EXCEPTIONS - DynamicLoader( std::string const & vulkanLibraryName = {} ) VULKAN_HPP_NOEXCEPT -# else - DynamicLoader( std::string const & vulkanLibraryName = {} ) -# endif - { - if ( !vulkanLibraryName.empty() ) - { -# if defined( __linux__ ) || defined( __APPLE__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) - m_library = dlopen( vulkanLibraryName.c_str(), RTLD_NOW | RTLD_LOCAL ); -# elif defined( _WIN32 ) - m_library = ::LoadLibraryA( vulkanLibraryName.c_str() ); -# else -# error unsupported platform -# endif - } - else - { -# if defined( __linux__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) - m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL ); - if ( m_library == nullptr ) - { - m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL ); - } -# elif defined( __APPLE__ ) - m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL ); -# elif defined( _WIN32 ) - m_library = ::LoadLibraryA( "vulkan-1.dll" ); -# else -# error unsupported platform -# endif - } - -# ifndef VULKAN_HPP_NO_EXCEPTIONS - if ( m_library == nullptr ) - { - // NOTE there should be an InitializationFailedError, but msvc insists on the symbol does not exist within the - // scope of this function. - throw std::runtime_error( "Failed to load vulkan library!" ); - } -# endif - } - - DynamicLoader( DynamicLoader const & ) = delete; - - DynamicLoader( DynamicLoader && other ) VULKAN_HPP_NOEXCEPT : m_library( other.m_library ) - { - other.m_library = nullptr; - } - - DynamicLoader & operator=( DynamicLoader const & ) = delete; - - DynamicLoader & operator=( DynamicLoader && other ) VULKAN_HPP_NOEXCEPT - { - std::swap( m_library, other.m_library ); - return *this; - } - - ~DynamicLoader() VULKAN_HPP_NOEXCEPT - { - if ( m_library ) - { -# if defined( __linux__ ) || defined( __APPLE__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) - dlclose( m_library ); -# elif defined( _WIN32 ) - ::FreeLibrary( m_library ); -# else -# error unsupported platform -# endif - } - } - - template - T getProcAddress( const char * function ) const VULKAN_HPP_NOEXCEPT - { -# if defined( __linux__ ) || defined( __APPLE__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) - return (T)dlsym( m_library, function ); -# elif defined( _WIN32 ) - return ( T )::GetProcAddress( m_library, function ); -# else -# error unsupported platform -# endif - } - - bool success() const VULKAN_HPP_NOEXCEPT - { - return m_library != nullptr; - } - - private: -# if defined( __linux__ ) || defined( __APPLE__ ) || defined( __QNXNTO__ ) || defined( __Fuchsia__ ) - void * m_library; -# elif defined( _WIN32 ) - ::HINSTANCE m_library; -# else -# error unsupported platform -# endif - }; -#endif - - class DispatchLoaderDynamic - { - public: - using PFN_dummy = void ( * )(); - -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkAcquireFullScreenExclusiveModeEXT = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR = 0; - PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR = 0; - PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL = 0; - PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV = 0; -#else - PFN_dummy placeholder_dont_call_vkAcquireWinrtDisplayNV = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkAcquireXlibDisplayEXT = 0; -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0; - PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0; - PFN_vkAllocateMemory vkAllocateMemory = 0; - PFN_vkBeginCommandBuffer vkBeginCommandBuffer = 0; - PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV = 0; - PFN_vkBindBufferMemory vkBindBufferMemory = 0; - PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0; - PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = 0; - PFN_vkBindImageMemory vkBindImageMemory = 0; - PFN_vkBindImageMemory2 vkBindImageMemory2 = 0; - PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkBindVideoSessionMemoryKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR = 0; - PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT = 0; - PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT = 0; - PFN_vkCmdBeginQuery vkCmdBeginQuery = 0; - PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT = 0; - PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass = 0; - PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2 = 0; - PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR = 0; - PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCmdBeginVideoCodingKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets = 0; - PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer = 0; - PFN_vkCmdBindPipeline vkCmdBindPipeline = 0; - PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV = 0; - PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV = 0; - PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT = 0; - PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers = 0; - PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT = 0; - PFN_vkCmdBlitImage vkCmdBlitImage = 0; - PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR = 0; - PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV = 0; - PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR = 0; - PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR = 0; - PFN_vkCmdClearAttachments vkCmdClearAttachments = 0; - PFN_vkCmdClearColorImage vkCmdClearColorImage = 0; - PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCmdControlVideoCodingKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR = 0; - PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV = 0; - PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR = 0; - PFN_vkCmdCopyBuffer vkCmdCopyBuffer = 0; - PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR = 0; - PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage = 0; - PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR = 0; - PFN_vkCmdCopyImage vkCmdCopyImage = 0; - PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR = 0; - PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer = 0; - PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR = 0; - PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR = 0; - PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults = 0; - PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX = 0; - PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT = 0; - PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT = 0; - PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCmdDecodeVideoKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkCmdDispatch vkCmdDispatch = 0; - PFN_vkCmdDispatchBase vkCmdDispatchBase = 0; - PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR = 0; - PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect = 0; - PFN_vkCmdDraw vkCmdDraw = 0; - PFN_vkCmdDrawIndexed vkCmdDrawIndexed = 0; - PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect = 0; - PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount = 0; - PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD = 0; - PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR = 0; - PFN_vkCmdDrawIndirect vkCmdDrawIndirect = 0; - PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT = 0; - PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount = 0; - PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD = 0; - PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR = 0; - PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV = 0; - PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV = 0; - PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCmdEncodeVideoKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT = 0; - PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT = 0; - PFN_vkCmdEndQuery vkCmdEndQuery = 0; - PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT = 0; - PFN_vkCmdEndRenderPass vkCmdEndRenderPass = 0; - PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2 = 0; - PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR = 0; - PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCmdEndVideoCodingKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkCmdExecuteCommands vkCmdExecuteCommands = 0; - PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV = 0; - PFN_vkCmdFillBuffer vkCmdFillBuffer = 0; - PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT = 0; - PFN_vkCmdNextSubpass vkCmdNextSubpass = 0; - PFN_vkCmdNextSubpass2 vkCmdNextSubpass2 = 0; - PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR = 0; - PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier = 0; - PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR = 0; - PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV = 0; - PFN_vkCmdPushConstants vkCmdPushConstants = 0; - PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR = 0; - PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR = 0; - PFN_vkCmdResetEvent vkCmdResetEvent = 0; - PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR = 0; - PFN_vkCmdResetQueryPool vkCmdResetQueryPool = 0; - PFN_vkCmdResolveImage vkCmdResolveImage = 0; - PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR = 0; - PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants = 0; - PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV = 0; - PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV = 0; - PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT = 0; - PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT = 0; - PFN_vkCmdSetDepthBias vkCmdSetDepthBias = 0; - PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT = 0; - PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds = 0; - PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT = 0; - PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT = 0; - PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT = 0; - PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT = 0; - PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask = 0; - PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR = 0; - PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT = 0; - PFN_vkCmdSetEvent vkCmdSetEvent = 0; - PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR = 0; - PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV = 0; - PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV = 0; - PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR = 0; - PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT = 0; - PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT = 0; - PFN_vkCmdSetLineWidth vkCmdSetLineWidth = 0; - PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT = 0; - PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT = 0; - PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL = 0; - PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL = 0; - PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL = 0; - PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT = 0; - PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT = 0; - PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT = 0; - PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR = 0; - PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT = 0; - PFN_vkCmdSetScissor vkCmdSetScissor = 0; - PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT = 0; - PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask = 0; - PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT = 0; - PFN_vkCmdSetStencilReference vkCmdSetStencilReference = 0; - PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT = 0; - PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask = 0; - PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT = 0; - PFN_vkCmdSetViewport vkCmdSetViewport = 0; - PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV = 0; - PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV = 0; - PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT = 0; - PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR = 0; - PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR = 0; - PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV = 0; - PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0; - PFN_vkCmdWaitEvents vkCmdWaitEvents = 0; - PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR = 0; - PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR = 0; - PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV = 0; - PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD = 0; - PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0; - PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0; - PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR = 0; - PFN_vkCompileDeferredNV vkCompileDeferredNV = 0; - PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR = 0; - PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR = 0; - PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR = 0; - PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR = 0; - PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV = 0; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateAndroidSurfaceKHR = 0; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - PFN_vkCreateBuffer vkCreateBuffer = 0; - PFN_vkCreateBufferView vkCreateBufferView = 0; - PFN_vkCreateCommandPool vkCreateCommandPool = 0; - PFN_vkCreateComputePipelines vkCreateComputePipelines = 0; - PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX = 0; - PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX = 0; - PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT = 0; - PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT = 0; - PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR = 0; - PFN_vkCreateDescriptorPool vkCreateDescriptorPool = 0; - PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout = 0; - PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate = 0; - PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR = 0; - PFN_vkCreateDevice vkCreateDevice = 0; -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateDirectFBSurfaceEXT = 0; -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR = 0; - PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR = 0; - PFN_vkCreateEvent vkCreateEvent = 0; - PFN_vkCreateFence vkCreateFence = 0; - PFN_vkCreateFramebuffer vkCreateFramebuffer = 0; - PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines = 0; - PFN_vkCreateHeadlessSurfaceEXT vkCreateHeadlessSurfaceEXT = 0; -#if defined( VK_USE_PLATFORM_IOS_MVK ) - PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateIOSSurfaceMVK = 0; -#endif /*VK_USE_PLATFORM_IOS_MVK*/ - PFN_vkCreateImage vkCreateImage = 0; -#if defined( VK_USE_PLATFORM_FUCHSIA ) - PFN_vkCreateImagePipeSurfaceFUCHSIA vkCreateImagePipeSurfaceFUCHSIA = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateImagePipeSurfaceFUCHSIA = 0; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - PFN_vkCreateImageView vkCreateImageView = 0; - PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV = 0; - PFN_vkCreateInstance vkCreateInstance = 0; -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateMacOSSurfaceMVK = 0; -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ -#if defined( VK_USE_PLATFORM_METAL_EXT ) - PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateMetalSurfaceEXT = 0; -#endif /*VK_USE_PLATFORM_METAL_EXT*/ - PFN_vkCreatePipelineCache vkCreatePipelineCache = 0; - PFN_vkCreatePipelineLayout vkCreatePipelineLayout = 0; - PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT = 0; - PFN_vkCreateQueryPool vkCreateQueryPool = 0; - PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR = 0; - PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV = 0; - PFN_vkCreateRenderPass vkCreateRenderPass = 0; - PFN_vkCreateRenderPass2 vkCreateRenderPass2 = 0; - PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR = 0; - PFN_vkCreateSampler vkCreateSampler = 0; - PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion = 0; - PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR = 0; -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - PFN_vkCreateScreenSurfaceQNX vkCreateScreenSurfaceQNX = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateScreenSurfaceQNX = 0; -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - PFN_vkCreateSemaphore vkCreateSemaphore = 0; - PFN_vkCreateShaderModule vkCreateShaderModule = 0; - PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR = 0; -#if defined( VK_USE_PLATFORM_GGP ) - PFN_vkCreateStreamDescriptorSurfaceGGP vkCreateStreamDescriptorSurfaceGGP = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateStreamDescriptorSurfaceGGP = 0; -#endif /*VK_USE_PLATFORM_GGP*/ - PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR = 0; - PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT = 0; -#if defined( VK_USE_PLATFORM_VI_NN ) - PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateViSurfaceNN = 0; -#endif /*VK_USE_PLATFORM_VI_NN*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateVideoSessionKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateVideoSessionParametersKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateWaylandSurfaceKHR = 0; -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateWin32SurfaceKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateXcbSurfaceKHR = 0; -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkCreateXlibSurfaceKHR = 0; -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT = 0; - PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT = 0; - PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT = 0; - PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR = 0; - PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR = 0; - PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV = 0; - PFN_vkDestroyBuffer vkDestroyBuffer = 0; - PFN_vkDestroyBufferView vkDestroyBufferView = 0; - PFN_vkDestroyCommandPool vkDestroyCommandPool = 0; - PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX = 0; - PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX = 0; - PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT = 0; - PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT = 0; - PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR = 0; - PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool = 0; - PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout = 0; - PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate = 0; - PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR = 0; - PFN_vkDestroyDevice vkDestroyDevice = 0; - PFN_vkDestroyEvent vkDestroyEvent = 0; - PFN_vkDestroyFence vkDestroyFence = 0; - PFN_vkDestroyFramebuffer vkDestroyFramebuffer = 0; - PFN_vkDestroyImage vkDestroyImage = 0; - PFN_vkDestroyImageView vkDestroyImageView = 0; - PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV = 0; - PFN_vkDestroyInstance vkDestroyInstance = 0; - PFN_vkDestroyPipeline vkDestroyPipeline = 0; - PFN_vkDestroyPipelineCache vkDestroyPipelineCache = 0; - PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout = 0; - PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT = 0; - PFN_vkDestroyQueryPool vkDestroyQueryPool = 0; - PFN_vkDestroyRenderPass vkDestroyRenderPass = 0; - PFN_vkDestroySampler vkDestroySampler = 0; - PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion = 0; - PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR = 0; - PFN_vkDestroySemaphore vkDestroySemaphore = 0; - PFN_vkDestroyShaderModule vkDestroyShaderModule = 0; - PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR = 0; - PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR = 0; - PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkDestroyVideoSessionKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkDestroyVideoSessionParametersKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkDeviceWaitIdle vkDeviceWaitIdle = 0; - PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT = 0; - PFN_vkEndCommandBuffer vkEndCommandBuffer = 0; - PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties = 0; - PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties = 0; - PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties = 0; - PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties = 0; - PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0; - PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups = 0; - PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR = 0; - PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR - vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = 0; - PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices = 0; - PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges = 0; - PFN_vkFreeCommandBuffers vkFreeCommandBuffers = 0; - PFN_vkFreeDescriptorSets vkFreeDescriptorSets = 0; - PFN_vkFreeMemory vkFreeMemory = 0; - PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR = 0; - PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR = 0; - PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV = 0; - PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV = 0; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID = 0; -#else - PFN_dummy placeholder_dont_call_vkGetAndroidHardwareBufferPropertiesANDROID = 0; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress = 0; - PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT = 0; - PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR = 0; - PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements = 0; - PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2 = 0; - PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR = 0; - PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress = 0; - PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR = 0; - PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT = 0; - PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR = 0; - PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR = 0; - PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport = 0; - PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR = 0; - PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR = 0; - PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures = 0; - PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR = 0; - PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT = 0; -#else - PFN_dummy placeholder_dont_call_vkGetDeviceGroupSurfacePresentModes2EXT = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0; - PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0; - PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0; - PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0; - PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0; - PFN_vkGetDeviceQueue vkGetDeviceQueue = 0; - PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0; - PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR = 0; - PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0; - PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR = 0; - PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0; - PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0; - PFN_vkGetEventStatus vkGetEventStatus = 0; - PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0; - PFN_vkGetFenceStatus vkGetFenceStatus = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetFenceWin32HandleKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV = 0; - PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT = 0; - PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements = 0; - PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2 = 0; - PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR = 0; - PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements = 0; - PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2 = 0; - PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR = 0; - PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout = 0; - PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX = 0; - PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX = 0; - PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0; -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryAndroidHardwareBufferANDROID = 0; -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0; - PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0; - PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryWin32HandleKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryWin32HandleNV = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryWin32HandlePropertiesKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryZirconHandleFUCHSIA = 0; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA = 0; -#else - PFN_dummy placeholder_dont_call_vkGetMemoryZirconHandlePropertiesFUCHSIA = 0; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE = 0; - PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL = 0; - PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = 0; - PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = 0; -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceDirectFBPresentationSupportEXT = 0; -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR vkGetPhysicalDeviceDisplayPlaneProperties2KHR = 0; - PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR = 0; - PFN_vkGetPhysicalDeviceDisplayProperties2KHR vkGetPhysicalDeviceDisplayProperties2KHR = 0; - PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR = 0; - PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties = 0; - PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR = 0; - PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties = 0; - PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR = 0; - PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV = 0; - PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties = 0; - PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = 0; - PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures = 0; - PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2 = 0; - PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR = 0; - PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties = 0; - PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2 = 0; - PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR = 0; - PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR = 0; - PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties = 0; - PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2 = 0; - PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR = 0; - PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties = 0; - PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2 = 0; - PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = 0; - PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT = 0; - PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR = 0; - PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties = 0; - PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2 = 0; - PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = 0; - PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR - vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = 0; - PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties = 0; - PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2 = 0; - PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR = 0; -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX vkGetPhysicalDeviceScreenPresentationSupportQNX = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceScreenPresentationSupportQNX = 0; -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties = 0; - PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2 = 0; - PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR = 0; - PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV - vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = 0; - PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT = 0; - PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR = 0; - PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0; - PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR = 0; - PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT vkGetPhysicalDeviceSurfacePresentModes2EXT = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceSurfacePresentModes2EXT = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR = 0; - PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR = 0; - PFN_vkGetPhysicalDeviceToolPropertiesEXT vkGetPhysicalDeviceToolPropertiesEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR vkGetPhysicalDeviceVideoCapabilitiesKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceVideoCapabilitiesKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR vkGetPhysicalDeviceVideoFormatPropertiesKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceVideoFormatPropertiesKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0; -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceWin32PresentationSupportKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceXcbPresentationSupportKHR = 0; -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetPhysicalDeviceXlibPresentationSupportKHR = 0; -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - PFN_vkGetPipelineCacheData vkGetPipelineCacheData = 0; - PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR = 0; - PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR = 0; - PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR = 0; - PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT = 0; - PFN_vkGetQueryPoolResults vkGetQueryPoolResults = 0; - PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV = 0; - PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV = 0; -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkGetRandROutputDisplayEXT = 0; -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ - PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = 0; - PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR = 0; - PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV = 0; - PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR = 0; - PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0; - PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0; - PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue = 0; - PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR = 0; - PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetSemaphoreWin32HandleKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA = 0; -#else - PFN_dummy placeholder_dont_call_vkGetSemaphoreZirconHandleFUCHSIA = 0; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0; - PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0; - PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0; - PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0; - PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkGetVideoSessionMemoryRequirementsKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV = 0; -#else - PFN_dummy placeholder_dont_call_vkGetWinrtDisplayNV = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkImportFenceFdKHR vkImportFenceFdKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkImportFenceWin32HandleKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkImportSemaphoreWin32HandleKHR = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA = 0; -#else - PFN_dummy placeholder_dont_call_vkImportSemaphoreZirconHandleFUCHSIA = 0; -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL = 0; - PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges = 0; - PFN_vkMapMemory vkMapMemory = 0; - PFN_vkMergePipelineCaches vkMergePipelineCaches = 0; - PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT = 0; - PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT = 0; - PFN_vkQueueBindSparse vkQueueBindSparse = 0; - PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT = 0; - PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT = 0; - PFN_vkQueuePresentKHR vkQueuePresentKHR = 0; - PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL = 0; - PFN_vkQueueSubmit vkQueueSubmit = 0; - PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR = 0; - PFN_vkQueueWaitIdle vkQueueWaitIdle = 0; - PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT = 0; - PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT = 0; - PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT = 0; -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT = 0; -#else - PFN_dummy placeholder_dont_call_vkReleaseFullScreenExclusiveModeEXT = 0; -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL = 0; - PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR = 0; - PFN_vkResetCommandBuffer vkResetCommandBuffer = 0; - PFN_vkResetCommandPool vkResetCommandPool = 0; - PFN_vkResetDescriptorPool vkResetDescriptorPool = 0; - PFN_vkResetEvent vkResetEvent = 0; - PFN_vkResetFences vkResetFences = 0; - PFN_vkResetQueryPool vkResetQueryPool = 0; - PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT = 0; - PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT = 0; - PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT = 0; - PFN_vkSetEvent vkSetEvent = 0; - PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT = 0; - PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD = 0; - PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT = 0; - PFN_vkSignalSemaphore vkSignalSemaphore = 0; - PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR = 0; - PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT = 0; - PFN_vkTrimCommandPool vkTrimCommandPool = 0; - PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR = 0; - PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL = 0; - PFN_vkUnmapMemory vkUnmapMemory = 0; - PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate = 0; - PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR = 0; - PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets = 0; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR = 0; -#else - PFN_dummy placeholder_dont_call_vkUpdateVideoSessionParametersKHR = 0; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - PFN_vkWaitForFences vkWaitForFences = 0; - PFN_vkWaitSemaphores vkWaitSemaphores = 0; - PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR = 0; - PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR = 0; - - public: - DispatchLoaderDynamic() VULKAN_HPP_NOEXCEPT = default; - DispatchLoaderDynamic( DispatchLoaderDynamic const & rhs ) VULKAN_HPP_NOEXCEPT = default; - -#if !defined( VK_NO_PROTOTYPES ) - // This interface is designed to be used for per-device function pointers in combination with a linked vulkan - // library. - template - void init( VULKAN_HPP_NAMESPACE::Instance const & instance, - VULKAN_HPP_NAMESPACE::Device const & device, - DynamicLoader const & dl ) VULKAN_HPP_NOEXCEPT - { - PFN_vkGetInstanceProcAddr getInstanceProcAddr = - dl.template getProcAddress( "vkGetInstanceProcAddr" ); - PFN_vkGetDeviceProcAddr getDeviceProcAddr = - dl.template getProcAddress( "vkGetDeviceProcAddr" ); - init( static_cast( instance ), - getInstanceProcAddr, - static_cast( device ), - device ? getDeviceProcAddr : nullptr ); - } - - // This interface is designed to be used for per-device function pointers in combination with a linked vulkan - // library. - template - void init( VULKAN_HPP_NAMESPACE::Instance const & instance, - VULKAN_HPP_NAMESPACE::Device const & device ) VULKAN_HPP_NOEXCEPT - { - static DynamicLoader dl; - init( instance, device, dl ); - } -#endif // !defined( VK_NO_PROTOTYPES ) - - DispatchLoaderDynamic( PFN_vkGetInstanceProcAddr getInstanceProcAddr ) VULKAN_HPP_NOEXCEPT - { - init( getInstanceProcAddr ); - } - - void init( PFN_vkGetInstanceProcAddr getInstanceProcAddr ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( getInstanceProcAddr ); - - vkGetInstanceProcAddr = getInstanceProcAddr; - vkCreateInstance = PFN_vkCreateInstance( vkGetInstanceProcAddr( NULL, "vkCreateInstance" ) ); - vkEnumerateInstanceExtensionProperties = PFN_vkEnumerateInstanceExtensionProperties( - vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceExtensionProperties" ) ); - vkEnumerateInstanceLayerProperties = - PFN_vkEnumerateInstanceLayerProperties( vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceLayerProperties" ) ); - vkEnumerateInstanceVersion = - PFN_vkEnumerateInstanceVersion( vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceVersion" ) ); - } - - // This interface does not require a linked vulkan library. - DispatchLoaderDynamic( VkInstance instance, - PFN_vkGetInstanceProcAddr getInstanceProcAddr, - VkDevice device = {}, - PFN_vkGetDeviceProcAddr getDeviceProcAddr = nullptr ) VULKAN_HPP_NOEXCEPT - { - init( instance, getInstanceProcAddr, device, getDeviceProcAddr ); - } - - // This interface does not require a linked vulkan library. - void init( VkInstance instance, - PFN_vkGetInstanceProcAddr getInstanceProcAddr, - VkDevice device = {}, - PFN_vkGetDeviceProcAddr /*getDeviceProcAddr*/ = nullptr ) VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( instance && getInstanceProcAddr ); - vkGetInstanceProcAddr = getInstanceProcAddr; - init( VULKAN_HPP_NAMESPACE::Instance( instance ) ); - if ( device ) - { - init( VULKAN_HPP_NAMESPACE::Device( device ) ); - } - } - - void init( VULKAN_HPP_NAMESPACE::Instance instanceCpp ) VULKAN_HPP_NOEXCEPT - { - VkInstance instance = static_cast( instanceCpp ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkAcquireWinrtDisplayNV = - PFN_vkAcquireWinrtDisplayNV( vkGetInstanceProcAddr( instance, "vkAcquireWinrtDisplayNV" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - vkAcquireXlibDisplayEXT = - PFN_vkAcquireXlibDisplayEXT( vkGetInstanceProcAddr( instance, "vkAcquireXlibDisplayEXT" ) ); -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - vkCreateAndroidSurfaceKHR = - PFN_vkCreateAndroidSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateAndroidSurfaceKHR" ) ); -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - vkCreateDebugReportCallbackEXT = - PFN_vkCreateDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugReportCallbackEXT" ) ); - vkCreateDebugUtilsMessengerEXT = - PFN_vkCreateDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugUtilsMessengerEXT" ) ); - vkCreateDevice = PFN_vkCreateDevice( vkGetInstanceProcAddr( instance, "vkCreateDevice" ) ); -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - vkCreateDirectFBSurfaceEXT = - PFN_vkCreateDirectFBSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateDirectFBSurfaceEXT" ) ); -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - vkCreateDisplayModeKHR = - PFN_vkCreateDisplayModeKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayModeKHR" ) ); - vkCreateDisplayPlaneSurfaceKHR = - PFN_vkCreateDisplayPlaneSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayPlaneSurfaceKHR" ) ); - vkCreateHeadlessSurfaceEXT = - PFN_vkCreateHeadlessSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateHeadlessSurfaceEXT" ) ); -#if defined( VK_USE_PLATFORM_IOS_MVK ) - vkCreateIOSSurfaceMVK = PFN_vkCreateIOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateIOSSurfaceMVK" ) ); -#endif /*VK_USE_PLATFORM_IOS_MVK*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkCreateImagePipeSurfaceFUCHSIA = - PFN_vkCreateImagePipeSurfaceFUCHSIA( vkGetInstanceProcAddr( instance, "vkCreateImagePipeSurfaceFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ -#if defined( VK_USE_PLATFORM_MACOS_MVK ) - vkCreateMacOSSurfaceMVK = - PFN_vkCreateMacOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateMacOSSurfaceMVK" ) ); -#endif /*VK_USE_PLATFORM_MACOS_MVK*/ -#if defined( VK_USE_PLATFORM_METAL_EXT ) - vkCreateMetalSurfaceEXT = - PFN_vkCreateMetalSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateMetalSurfaceEXT" ) ); -#endif /*VK_USE_PLATFORM_METAL_EXT*/ -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - vkCreateScreenSurfaceQNX = - PFN_vkCreateScreenSurfaceQNX( vkGetInstanceProcAddr( instance, "vkCreateScreenSurfaceQNX" ) ); -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ -#if defined( VK_USE_PLATFORM_GGP ) - vkCreateStreamDescriptorSurfaceGGP = PFN_vkCreateStreamDescriptorSurfaceGGP( - vkGetInstanceProcAddr( instance, "vkCreateStreamDescriptorSurfaceGGP" ) ); -#endif /*VK_USE_PLATFORM_GGP*/ -#if defined( VK_USE_PLATFORM_VI_NN ) - vkCreateViSurfaceNN = PFN_vkCreateViSurfaceNN( vkGetInstanceProcAddr( instance, "vkCreateViSurfaceNN" ) ); -#endif /*VK_USE_PLATFORM_VI_NN*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - vkCreateWaylandSurfaceKHR = - PFN_vkCreateWaylandSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWaylandSurfaceKHR" ) ); -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkCreateWin32SurfaceKHR = - PFN_vkCreateWin32SurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWin32SurfaceKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - vkCreateXcbSurfaceKHR = PFN_vkCreateXcbSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXcbSurfaceKHR" ) ); -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - vkCreateXlibSurfaceKHR = - PFN_vkCreateXlibSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXlibSurfaceKHR" ) ); -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ - vkDebugReportMessageEXT = - PFN_vkDebugReportMessageEXT( vkGetInstanceProcAddr( instance, "vkDebugReportMessageEXT" ) ); - vkDestroyDebugReportCallbackEXT = - PFN_vkDestroyDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugReportCallbackEXT" ) ); - vkDestroyDebugUtilsMessengerEXT = - PFN_vkDestroyDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugUtilsMessengerEXT" ) ); - vkDestroyInstance = PFN_vkDestroyInstance( vkGetInstanceProcAddr( instance, "vkDestroyInstance" ) ); - vkDestroySurfaceKHR = PFN_vkDestroySurfaceKHR( vkGetInstanceProcAddr( instance, "vkDestroySurfaceKHR" ) ); - vkEnumerateDeviceExtensionProperties = PFN_vkEnumerateDeviceExtensionProperties( - vkGetInstanceProcAddr( instance, "vkEnumerateDeviceExtensionProperties" ) ); - vkEnumerateDeviceLayerProperties = - PFN_vkEnumerateDeviceLayerProperties( vkGetInstanceProcAddr( instance, "vkEnumerateDeviceLayerProperties" ) ); - vkEnumeratePhysicalDeviceGroups = - PFN_vkEnumeratePhysicalDeviceGroups( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroups" ) ); - vkEnumeratePhysicalDeviceGroupsKHR = PFN_vkEnumeratePhysicalDeviceGroupsKHR( - vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroupsKHR" ) ); - if ( !vkEnumeratePhysicalDeviceGroups ) - vkEnumeratePhysicalDeviceGroups = vkEnumeratePhysicalDeviceGroupsKHR; - vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = - PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR" ) ); - vkEnumeratePhysicalDevices = - PFN_vkEnumeratePhysicalDevices( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDevices" ) ); - vkGetDisplayModeProperties2KHR = - PFN_vkGetDisplayModeProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModeProperties2KHR" ) ); - vkGetDisplayModePropertiesKHR = - PFN_vkGetDisplayModePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModePropertiesKHR" ) ); - vkGetDisplayPlaneCapabilities2KHR = - PFN_vkGetDisplayPlaneCapabilities2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilities2KHR" ) ); - vkGetDisplayPlaneCapabilitiesKHR = - PFN_vkGetDisplayPlaneCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilitiesKHR" ) ); - vkGetDisplayPlaneSupportedDisplaysKHR = PFN_vkGetDisplayPlaneSupportedDisplaysKHR( - vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneSupportedDisplaysKHR" ) ); - vkGetInstanceProcAddr = PFN_vkGetInstanceProcAddr( vkGetInstanceProcAddr( instance, "vkGetInstanceProcAddr" ) ); - vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT" ) ); - vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV" ) ); -#if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) - vkGetPhysicalDeviceDirectFBPresentationSupportEXT = PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT" ) ); -#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ - vkGetPhysicalDeviceDisplayPlaneProperties2KHR = PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR" ) ); - vkGetPhysicalDeviceDisplayPlanePropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR" ) ); - vkGetPhysicalDeviceDisplayProperties2KHR = PFN_vkGetPhysicalDeviceDisplayProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayProperties2KHR" ) ); - vkGetPhysicalDeviceDisplayPropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPropertiesKHR" ) ); - vkGetPhysicalDeviceExternalBufferProperties = PFN_vkGetPhysicalDeviceExternalBufferProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferProperties" ) ); - vkGetPhysicalDeviceExternalBufferPropertiesKHR = PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferPropertiesKHR" ) ); - if ( !vkGetPhysicalDeviceExternalBufferProperties ) - vkGetPhysicalDeviceExternalBufferProperties = vkGetPhysicalDeviceExternalBufferPropertiesKHR; - vkGetPhysicalDeviceExternalFenceProperties = PFN_vkGetPhysicalDeviceExternalFenceProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFenceProperties" ) ); - vkGetPhysicalDeviceExternalFencePropertiesKHR = PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFencePropertiesKHR" ) ); - if ( !vkGetPhysicalDeviceExternalFenceProperties ) - vkGetPhysicalDeviceExternalFenceProperties = vkGetPhysicalDeviceExternalFencePropertiesKHR; - vkGetPhysicalDeviceExternalImageFormatPropertiesNV = PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV" ) ); - vkGetPhysicalDeviceExternalSemaphoreProperties = PFN_vkGetPhysicalDeviceExternalSemaphoreProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphoreProperties" ) ); - vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR" ) ); - if ( !vkGetPhysicalDeviceExternalSemaphoreProperties ) - vkGetPhysicalDeviceExternalSemaphoreProperties = vkGetPhysicalDeviceExternalSemaphorePropertiesKHR; - vkGetPhysicalDeviceFeatures = - PFN_vkGetPhysicalDeviceFeatures( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures" ) ); - vkGetPhysicalDeviceFeatures2 = - PFN_vkGetPhysicalDeviceFeatures2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2" ) ); - vkGetPhysicalDeviceFeatures2KHR = - PFN_vkGetPhysicalDeviceFeatures2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2KHR" ) ); - if ( !vkGetPhysicalDeviceFeatures2 ) - vkGetPhysicalDeviceFeatures2 = vkGetPhysicalDeviceFeatures2KHR; - vkGetPhysicalDeviceFormatProperties = PFN_vkGetPhysicalDeviceFormatProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties" ) ); - vkGetPhysicalDeviceFormatProperties2 = PFN_vkGetPhysicalDeviceFormatProperties2( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2" ) ); - vkGetPhysicalDeviceFormatProperties2KHR = PFN_vkGetPhysicalDeviceFormatProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceFormatProperties2 ) - vkGetPhysicalDeviceFormatProperties2 = vkGetPhysicalDeviceFormatProperties2KHR; - vkGetPhysicalDeviceFragmentShadingRatesKHR = PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFragmentShadingRatesKHR" ) ); - vkGetPhysicalDeviceImageFormatProperties = PFN_vkGetPhysicalDeviceImageFormatProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties" ) ); - vkGetPhysicalDeviceImageFormatProperties2 = PFN_vkGetPhysicalDeviceImageFormatProperties2( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2" ) ); - vkGetPhysicalDeviceImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceImageFormatProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceImageFormatProperties2 ) - vkGetPhysicalDeviceImageFormatProperties2 = vkGetPhysicalDeviceImageFormatProperties2KHR; - vkGetPhysicalDeviceMemoryProperties = PFN_vkGetPhysicalDeviceMemoryProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties" ) ); - vkGetPhysicalDeviceMemoryProperties2 = PFN_vkGetPhysicalDeviceMemoryProperties2( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2" ) ); - vkGetPhysicalDeviceMemoryProperties2KHR = PFN_vkGetPhysicalDeviceMemoryProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceMemoryProperties2 ) - vkGetPhysicalDeviceMemoryProperties2 = vkGetPhysicalDeviceMemoryProperties2KHR; - vkGetPhysicalDeviceMultisamplePropertiesEXT = PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT" ) ); - vkGetPhysicalDevicePresentRectanglesKHR = PFN_vkGetPhysicalDevicePresentRectanglesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDevicePresentRectanglesKHR" ) ); - vkGetPhysicalDeviceProperties = - PFN_vkGetPhysicalDeviceProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties" ) ); - vkGetPhysicalDeviceProperties2 = - PFN_vkGetPhysicalDeviceProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2" ) ); - vkGetPhysicalDeviceProperties2KHR = - PFN_vkGetPhysicalDeviceProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceProperties2 ) - vkGetPhysicalDeviceProperties2 = vkGetPhysicalDeviceProperties2KHR; - vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = - PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR" ) ); - vkGetPhysicalDeviceQueueFamilyProperties = PFN_vkGetPhysicalDeviceQueueFamilyProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties" ) ); - vkGetPhysicalDeviceQueueFamilyProperties2 = PFN_vkGetPhysicalDeviceQueueFamilyProperties2( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2" ) ); - vkGetPhysicalDeviceQueueFamilyProperties2KHR = PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceQueueFamilyProperties2 ) - vkGetPhysicalDeviceQueueFamilyProperties2 = vkGetPhysicalDeviceQueueFamilyProperties2KHR; -#if defined( VK_USE_PLATFORM_SCREEN_QNX ) - vkGetPhysicalDeviceScreenPresentationSupportQNX = PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceScreenPresentationSupportQNX" ) ); -#endif /*VK_USE_PLATFORM_SCREEN_QNX*/ - vkGetPhysicalDeviceSparseImageFormatProperties = PFN_vkGetPhysicalDeviceSparseImageFormatProperties( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties" ) ); - vkGetPhysicalDeviceSparseImageFormatProperties2 = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2" ) ); - vkGetPhysicalDeviceSparseImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR" ) ); - if ( !vkGetPhysicalDeviceSparseImageFormatProperties2 ) - vkGetPhysicalDeviceSparseImageFormatProperties2 = vkGetPhysicalDeviceSparseImageFormatProperties2KHR; - vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = - PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV" ) ); - vkGetPhysicalDeviceSurfaceCapabilities2EXT = PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT" ) ); - vkGetPhysicalDeviceSurfaceCapabilities2KHR = PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR" ) ); - vkGetPhysicalDeviceSurfaceCapabilitiesKHR = PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" ) ); - vkGetPhysicalDeviceSurfaceFormats2KHR = PFN_vkGetPhysicalDeviceSurfaceFormats2KHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormats2KHR" ) ); - vkGetPhysicalDeviceSurfaceFormatsKHR = PFN_vkGetPhysicalDeviceSurfaceFormatsKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormatsKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetPhysicalDeviceSurfacePresentModes2EXT = PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkGetPhysicalDeviceSurfacePresentModesKHR = PFN_vkGetPhysicalDeviceSurfacePresentModesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModesKHR" ) ); - vkGetPhysicalDeviceSurfaceSupportKHR = PFN_vkGetPhysicalDeviceSurfaceSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceSupportKHR" ) ); - vkGetPhysicalDeviceToolPropertiesEXT = PFN_vkGetPhysicalDeviceToolPropertiesEXT( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceToolPropertiesEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkGetPhysicalDeviceVideoCapabilitiesKHR = PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceVideoCapabilitiesKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkGetPhysicalDeviceVideoFormatPropertiesKHR = PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceVideoFormatPropertiesKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_USE_PLATFORM_WAYLAND_KHR ) - vkGetPhysicalDeviceWaylandPresentationSupportKHR = PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR" ) ); -#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetPhysicalDeviceWin32PresentationSupportKHR = PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_XCB_KHR ) - vkGetPhysicalDeviceXcbPresentationSupportKHR = PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR" ) ); -#endif /*VK_USE_PLATFORM_XCB_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_KHR ) - vkGetPhysicalDeviceXlibPresentationSupportKHR = PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR" ) ); -#endif /*VK_USE_PLATFORM_XLIB_KHR*/ -#if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) - vkGetRandROutputDisplayEXT = - PFN_vkGetRandROutputDisplayEXT( vkGetInstanceProcAddr( instance, "vkGetRandROutputDisplayEXT" ) ); -#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetWinrtDisplayNV = PFN_vkGetWinrtDisplayNV( vkGetInstanceProcAddr( instance, "vkGetWinrtDisplayNV" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkReleaseDisplayEXT = PFN_vkReleaseDisplayEXT( vkGetInstanceProcAddr( instance, "vkReleaseDisplayEXT" ) ); - vkSubmitDebugUtilsMessageEXT = - PFN_vkSubmitDebugUtilsMessageEXT( vkGetInstanceProcAddr( instance, "vkSubmitDebugUtilsMessageEXT" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkAcquireFullScreenExclusiveModeEXT = PFN_vkAcquireFullScreenExclusiveModeEXT( - vkGetInstanceProcAddr( instance, "vkAcquireFullScreenExclusiveModeEXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkAcquireNextImage2KHR = - PFN_vkAcquireNextImage2KHR( vkGetInstanceProcAddr( instance, "vkAcquireNextImage2KHR" ) ); - vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR( vkGetInstanceProcAddr( instance, "vkAcquireNextImageKHR" ) ); - vkAcquirePerformanceConfigurationINTEL = PFN_vkAcquirePerformanceConfigurationINTEL( - vkGetInstanceProcAddr( instance, "vkAcquirePerformanceConfigurationINTEL" ) ); - vkAcquireProfilingLockKHR = - PFN_vkAcquireProfilingLockKHR( vkGetInstanceProcAddr( instance, "vkAcquireProfilingLockKHR" ) ); - vkAllocateCommandBuffers = - PFN_vkAllocateCommandBuffers( vkGetInstanceProcAddr( instance, "vkAllocateCommandBuffers" ) ); - vkAllocateDescriptorSets = - PFN_vkAllocateDescriptorSets( vkGetInstanceProcAddr( instance, "vkAllocateDescriptorSets" ) ); - vkAllocateMemory = PFN_vkAllocateMemory( vkGetInstanceProcAddr( instance, "vkAllocateMemory" ) ); - vkBeginCommandBuffer = PFN_vkBeginCommandBuffer( vkGetInstanceProcAddr( instance, "vkBeginCommandBuffer" ) ); - vkBindAccelerationStructureMemoryNV = PFN_vkBindAccelerationStructureMemoryNV( - vkGetInstanceProcAddr( instance, "vkBindAccelerationStructureMemoryNV" ) ); - vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetInstanceProcAddr( instance, "vkBindBufferMemory" ) ); - vkBindBufferMemory2 = PFN_vkBindBufferMemory2( vkGetInstanceProcAddr( instance, "vkBindBufferMemory2" ) ); - vkBindBufferMemory2KHR = - PFN_vkBindBufferMemory2KHR( vkGetInstanceProcAddr( instance, "vkBindBufferMemory2KHR" ) ); - if ( !vkBindBufferMemory2 ) - vkBindBufferMemory2 = vkBindBufferMemory2KHR; - vkBindImageMemory = PFN_vkBindImageMemory( vkGetInstanceProcAddr( instance, "vkBindImageMemory" ) ); - vkBindImageMemory2 = PFN_vkBindImageMemory2( vkGetInstanceProcAddr( instance, "vkBindImageMemory2" ) ); - vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR( vkGetInstanceProcAddr( instance, "vkBindImageMemory2KHR" ) ); - if ( !vkBindImageMemory2 ) - vkBindImageMemory2 = vkBindImageMemory2KHR; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkBindVideoSessionMemoryKHR = - PFN_vkBindVideoSessionMemoryKHR( vkGetInstanceProcAddr( instance, "vkBindVideoSessionMemoryKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkBuildAccelerationStructuresKHR = - PFN_vkBuildAccelerationStructuresKHR( vkGetInstanceProcAddr( instance, "vkBuildAccelerationStructuresKHR" ) ); - vkCmdBeginConditionalRenderingEXT = - PFN_vkCmdBeginConditionalRenderingEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginConditionalRenderingEXT" ) ); - vkCmdBeginDebugUtilsLabelEXT = - PFN_vkCmdBeginDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginDebugUtilsLabelEXT" ) ); - vkCmdBeginQuery = PFN_vkCmdBeginQuery( vkGetInstanceProcAddr( instance, "vkCmdBeginQuery" ) ); - vkCmdBeginQueryIndexedEXT = - PFN_vkCmdBeginQueryIndexedEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginQueryIndexedEXT" ) ); - vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass" ) ); - vkCmdBeginRenderPass2 = PFN_vkCmdBeginRenderPass2( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass2" ) ); - vkCmdBeginRenderPass2KHR = - PFN_vkCmdBeginRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass2KHR" ) ); - if ( !vkCmdBeginRenderPass2 ) - vkCmdBeginRenderPass2 = vkCmdBeginRenderPass2KHR; - vkCmdBeginTransformFeedbackEXT = - PFN_vkCmdBeginTransformFeedbackEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginTransformFeedbackEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdBeginVideoCodingKHR = - PFN_vkCmdBeginVideoCodingKHR( vkGetInstanceProcAddr( instance, "vkCmdBeginVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdBindDescriptorSets = - PFN_vkCmdBindDescriptorSets( vkGetInstanceProcAddr( instance, "vkCmdBindDescriptorSets" ) ); - vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer( vkGetInstanceProcAddr( instance, "vkCmdBindIndexBuffer" ) ); - vkCmdBindPipeline = PFN_vkCmdBindPipeline( vkGetInstanceProcAddr( instance, "vkCmdBindPipeline" ) ); - vkCmdBindPipelineShaderGroupNV = - PFN_vkCmdBindPipelineShaderGroupNV( vkGetInstanceProcAddr( instance, "vkCmdBindPipelineShaderGroupNV" ) ); - vkCmdBindShadingRateImageNV = - PFN_vkCmdBindShadingRateImageNV( vkGetInstanceProcAddr( instance, "vkCmdBindShadingRateImageNV" ) ); - vkCmdBindTransformFeedbackBuffersEXT = PFN_vkCmdBindTransformFeedbackBuffersEXT( - vkGetInstanceProcAddr( instance, "vkCmdBindTransformFeedbackBuffersEXT" ) ); - vkCmdBindVertexBuffers = - PFN_vkCmdBindVertexBuffers( vkGetInstanceProcAddr( instance, "vkCmdBindVertexBuffers" ) ); - vkCmdBindVertexBuffers2EXT = - PFN_vkCmdBindVertexBuffers2EXT( vkGetInstanceProcAddr( instance, "vkCmdBindVertexBuffers2EXT" ) ); - vkCmdBlitImage = PFN_vkCmdBlitImage( vkGetInstanceProcAddr( instance, "vkCmdBlitImage" ) ); - vkCmdBlitImage2KHR = PFN_vkCmdBlitImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdBlitImage2KHR" ) ); - vkCmdBuildAccelerationStructureNV = - PFN_vkCmdBuildAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructureNV" ) ); - vkCmdBuildAccelerationStructuresIndirectKHR = PFN_vkCmdBuildAccelerationStructuresIndirectKHR( - vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructuresIndirectKHR" ) ); - vkCmdBuildAccelerationStructuresKHR = PFN_vkCmdBuildAccelerationStructuresKHR( - vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructuresKHR" ) ); - vkCmdClearAttachments = PFN_vkCmdClearAttachments( vkGetInstanceProcAddr( instance, "vkCmdClearAttachments" ) ); - vkCmdClearColorImage = PFN_vkCmdClearColorImage( vkGetInstanceProcAddr( instance, "vkCmdClearColorImage" ) ); - vkCmdClearDepthStencilImage = - PFN_vkCmdClearDepthStencilImage( vkGetInstanceProcAddr( instance, "vkCmdClearDepthStencilImage" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdControlVideoCodingKHR = - PFN_vkCmdControlVideoCodingKHR( vkGetInstanceProcAddr( instance, "vkCmdControlVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdCopyAccelerationStructureKHR = - PFN_vkCmdCopyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureKHR" ) ); - vkCmdCopyAccelerationStructureNV = - PFN_vkCmdCopyAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureNV" ) ); - vkCmdCopyAccelerationStructureToMemoryKHR = PFN_vkCmdCopyAccelerationStructureToMemoryKHR( - vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureToMemoryKHR" ) ); - vkCmdCopyBuffer = PFN_vkCmdCopyBuffer( vkGetInstanceProcAddr( instance, "vkCmdCopyBuffer" ) ); - vkCmdCopyBuffer2KHR = PFN_vkCmdCopyBuffer2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyBuffer2KHR" ) ); - vkCmdCopyBufferToImage = - PFN_vkCmdCopyBufferToImage( vkGetInstanceProcAddr( instance, "vkCmdCopyBufferToImage" ) ); - vkCmdCopyBufferToImage2KHR = - PFN_vkCmdCopyBufferToImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyBufferToImage2KHR" ) ); - vkCmdCopyImage = PFN_vkCmdCopyImage( vkGetInstanceProcAddr( instance, "vkCmdCopyImage" ) ); - vkCmdCopyImage2KHR = PFN_vkCmdCopyImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyImage2KHR" ) ); - vkCmdCopyImageToBuffer = - PFN_vkCmdCopyImageToBuffer( vkGetInstanceProcAddr( instance, "vkCmdCopyImageToBuffer" ) ); - vkCmdCopyImageToBuffer2KHR = - PFN_vkCmdCopyImageToBuffer2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyImageToBuffer2KHR" ) ); - vkCmdCopyMemoryToAccelerationStructureKHR = PFN_vkCmdCopyMemoryToAccelerationStructureKHR( - vkGetInstanceProcAddr( instance, "vkCmdCopyMemoryToAccelerationStructureKHR" ) ); - vkCmdCopyQueryPoolResults = - PFN_vkCmdCopyQueryPoolResults( vkGetInstanceProcAddr( instance, "vkCmdCopyQueryPoolResults" ) ); - vkCmdCuLaunchKernelNVX = - PFN_vkCmdCuLaunchKernelNVX( vkGetInstanceProcAddr( instance, "vkCmdCuLaunchKernelNVX" ) ); - vkCmdDebugMarkerBeginEXT = - PFN_vkCmdDebugMarkerBeginEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerBeginEXT" ) ); - vkCmdDebugMarkerEndEXT = - PFN_vkCmdDebugMarkerEndEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerEndEXT" ) ); - vkCmdDebugMarkerInsertEXT = - PFN_vkCmdDebugMarkerInsertEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerInsertEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdDecodeVideoKHR = PFN_vkCmdDecodeVideoKHR( vkGetInstanceProcAddr( instance, "vkCmdDecodeVideoKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdDispatch = PFN_vkCmdDispatch( vkGetInstanceProcAddr( instance, "vkCmdDispatch" ) ); - vkCmdDispatchBase = PFN_vkCmdDispatchBase( vkGetInstanceProcAddr( instance, "vkCmdDispatchBase" ) ); - vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR( vkGetInstanceProcAddr( instance, "vkCmdDispatchBaseKHR" ) ); - if ( !vkCmdDispatchBase ) - vkCmdDispatchBase = vkCmdDispatchBaseKHR; - vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect( vkGetInstanceProcAddr( instance, "vkCmdDispatchIndirect" ) ); - vkCmdDraw = PFN_vkCmdDraw( vkGetInstanceProcAddr( instance, "vkCmdDraw" ) ); - vkCmdDrawIndexed = PFN_vkCmdDrawIndexed( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexed" ) ); - vkCmdDrawIndexedIndirect = - PFN_vkCmdDrawIndexedIndirect( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirect" ) ); - vkCmdDrawIndexedIndirectCount = - PFN_vkCmdDrawIndexedIndirectCount( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCount" ) ); - vkCmdDrawIndexedIndirectCountAMD = - PFN_vkCmdDrawIndexedIndirectCountAMD( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCountAMD" ) ); - if ( !vkCmdDrawIndexedIndirectCount ) - vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountAMD; - vkCmdDrawIndexedIndirectCountKHR = - PFN_vkCmdDrawIndexedIndirectCountKHR( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCountKHR" ) ); - if ( !vkCmdDrawIndexedIndirectCount ) - vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountKHR; - vkCmdDrawIndirect = PFN_vkCmdDrawIndirect( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirect" ) ); - vkCmdDrawIndirectByteCountEXT = - PFN_vkCmdDrawIndirectByteCountEXT( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectByteCountEXT" ) ); - vkCmdDrawIndirectCount = - PFN_vkCmdDrawIndirectCount( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCount" ) ); - vkCmdDrawIndirectCountAMD = - PFN_vkCmdDrawIndirectCountAMD( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCountAMD" ) ); - if ( !vkCmdDrawIndirectCount ) - vkCmdDrawIndirectCount = vkCmdDrawIndirectCountAMD; - vkCmdDrawIndirectCountKHR = - PFN_vkCmdDrawIndirectCountKHR( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCountKHR" ) ); - if ( !vkCmdDrawIndirectCount ) - vkCmdDrawIndirectCount = vkCmdDrawIndirectCountKHR; - vkCmdDrawMeshTasksIndirectCountNV = - PFN_vkCmdDrawMeshTasksIndirectCountNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksIndirectCountNV" ) ); - vkCmdDrawMeshTasksIndirectNV = - PFN_vkCmdDrawMeshTasksIndirectNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksIndirectNV" ) ); - vkCmdDrawMeshTasksNV = PFN_vkCmdDrawMeshTasksNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksNV" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdEncodeVideoKHR = PFN_vkCmdEncodeVideoKHR( vkGetInstanceProcAddr( instance, "vkCmdEncodeVideoKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdEndConditionalRenderingEXT = - PFN_vkCmdEndConditionalRenderingEXT( vkGetInstanceProcAddr( instance, "vkCmdEndConditionalRenderingEXT" ) ); - vkCmdEndDebugUtilsLabelEXT = - PFN_vkCmdEndDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdEndDebugUtilsLabelEXT" ) ); - vkCmdEndQuery = PFN_vkCmdEndQuery( vkGetInstanceProcAddr( instance, "vkCmdEndQuery" ) ); - vkCmdEndQueryIndexedEXT = - PFN_vkCmdEndQueryIndexedEXT( vkGetInstanceProcAddr( instance, "vkCmdEndQueryIndexedEXT" ) ); - vkCmdEndRenderPass = PFN_vkCmdEndRenderPass( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass" ) ); - vkCmdEndRenderPass2 = PFN_vkCmdEndRenderPass2( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass2" ) ); - vkCmdEndRenderPass2KHR = - PFN_vkCmdEndRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass2KHR" ) ); - if ( !vkCmdEndRenderPass2 ) - vkCmdEndRenderPass2 = vkCmdEndRenderPass2KHR; - vkCmdEndTransformFeedbackEXT = - PFN_vkCmdEndTransformFeedbackEXT( vkGetInstanceProcAddr( instance, "vkCmdEndTransformFeedbackEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdEndVideoCodingKHR = - PFN_vkCmdEndVideoCodingKHR( vkGetInstanceProcAddr( instance, "vkCmdEndVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdExecuteCommands = PFN_vkCmdExecuteCommands( vkGetInstanceProcAddr( instance, "vkCmdExecuteCommands" ) ); - vkCmdExecuteGeneratedCommandsNV = - PFN_vkCmdExecuteGeneratedCommandsNV( vkGetInstanceProcAddr( instance, "vkCmdExecuteGeneratedCommandsNV" ) ); - vkCmdFillBuffer = PFN_vkCmdFillBuffer( vkGetInstanceProcAddr( instance, "vkCmdFillBuffer" ) ); - vkCmdInsertDebugUtilsLabelEXT = - PFN_vkCmdInsertDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdInsertDebugUtilsLabelEXT" ) ); - vkCmdNextSubpass = PFN_vkCmdNextSubpass( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass" ) ); - vkCmdNextSubpass2 = PFN_vkCmdNextSubpass2( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass2" ) ); - vkCmdNextSubpass2KHR = PFN_vkCmdNextSubpass2KHR( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass2KHR" ) ); - if ( !vkCmdNextSubpass2 ) - vkCmdNextSubpass2 = vkCmdNextSubpass2KHR; - vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier( vkGetInstanceProcAddr( instance, "vkCmdPipelineBarrier" ) ); - vkCmdPipelineBarrier2KHR = - PFN_vkCmdPipelineBarrier2KHR( vkGetInstanceProcAddr( instance, "vkCmdPipelineBarrier2KHR" ) ); - vkCmdPreprocessGeneratedCommandsNV = PFN_vkCmdPreprocessGeneratedCommandsNV( - vkGetInstanceProcAddr( instance, "vkCmdPreprocessGeneratedCommandsNV" ) ); - vkCmdPushConstants = PFN_vkCmdPushConstants( vkGetInstanceProcAddr( instance, "vkCmdPushConstants" ) ); - vkCmdPushDescriptorSetKHR = - PFN_vkCmdPushDescriptorSetKHR( vkGetInstanceProcAddr( instance, "vkCmdPushDescriptorSetKHR" ) ); - vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR( - vkGetInstanceProcAddr( instance, "vkCmdPushDescriptorSetWithTemplateKHR" ) ); - vkCmdResetEvent = PFN_vkCmdResetEvent( vkGetInstanceProcAddr( instance, "vkCmdResetEvent" ) ); - vkCmdResetEvent2KHR = PFN_vkCmdResetEvent2KHR( vkGetInstanceProcAddr( instance, "vkCmdResetEvent2KHR" ) ); - vkCmdResetQueryPool = PFN_vkCmdResetQueryPool( vkGetInstanceProcAddr( instance, "vkCmdResetQueryPool" ) ); - vkCmdResolveImage = PFN_vkCmdResolveImage( vkGetInstanceProcAddr( instance, "vkCmdResolveImage" ) ); - vkCmdResolveImage2KHR = PFN_vkCmdResolveImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdResolveImage2KHR" ) ); - vkCmdSetBlendConstants = - PFN_vkCmdSetBlendConstants( vkGetInstanceProcAddr( instance, "vkCmdSetBlendConstants" ) ); - vkCmdSetCheckpointNV = PFN_vkCmdSetCheckpointNV( vkGetInstanceProcAddr( instance, "vkCmdSetCheckpointNV" ) ); - vkCmdSetCoarseSampleOrderNV = - PFN_vkCmdSetCoarseSampleOrderNV( vkGetInstanceProcAddr( instance, "vkCmdSetCoarseSampleOrderNV" ) ); - vkCmdSetColorWriteEnableEXT = - PFN_vkCmdSetColorWriteEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetColorWriteEnableEXT" ) ); - vkCmdSetCullModeEXT = PFN_vkCmdSetCullModeEXT( vkGetInstanceProcAddr( instance, "vkCmdSetCullModeEXT" ) ); - vkCmdSetDepthBias = PFN_vkCmdSetDepthBias( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBias" ) ); - vkCmdSetDepthBiasEnableEXT = - PFN_vkCmdSetDepthBiasEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBiasEnableEXT" ) ); - vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBounds" ) ); - vkCmdSetDepthBoundsTestEnableEXT = - PFN_vkCmdSetDepthBoundsTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBoundsTestEnableEXT" ) ); - vkCmdSetDepthCompareOpEXT = - PFN_vkCmdSetDepthCompareOpEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthCompareOpEXT" ) ); - vkCmdSetDepthTestEnableEXT = - PFN_vkCmdSetDepthTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthTestEnableEXT" ) ); - vkCmdSetDepthWriteEnableEXT = - PFN_vkCmdSetDepthWriteEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthWriteEnableEXT" ) ); - vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask( vkGetInstanceProcAddr( instance, "vkCmdSetDeviceMask" ) ); - vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR( vkGetInstanceProcAddr( instance, "vkCmdSetDeviceMaskKHR" ) ); - if ( !vkCmdSetDeviceMask ) - vkCmdSetDeviceMask = vkCmdSetDeviceMaskKHR; - vkCmdSetDiscardRectangleEXT = - PFN_vkCmdSetDiscardRectangleEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDiscardRectangleEXT" ) ); - vkCmdSetEvent = PFN_vkCmdSetEvent( vkGetInstanceProcAddr( instance, "vkCmdSetEvent" ) ); - vkCmdSetEvent2KHR = PFN_vkCmdSetEvent2KHR( vkGetInstanceProcAddr( instance, "vkCmdSetEvent2KHR" ) ); - vkCmdSetExclusiveScissorNV = - PFN_vkCmdSetExclusiveScissorNV( vkGetInstanceProcAddr( instance, "vkCmdSetExclusiveScissorNV" ) ); - vkCmdSetFragmentShadingRateEnumNV = - PFN_vkCmdSetFragmentShadingRateEnumNV( vkGetInstanceProcAddr( instance, "vkCmdSetFragmentShadingRateEnumNV" ) ); - vkCmdSetFragmentShadingRateKHR = - PFN_vkCmdSetFragmentShadingRateKHR( vkGetInstanceProcAddr( instance, "vkCmdSetFragmentShadingRateKHR" ) ); - vkCmdSetFrontFaceEXT = PFN_vkCmdSetFrontFaceEXT( vkGetInstanceProcAddr( instance, "vkCmdSetFrontFaceEXT" ) ); - vkCmdSetLineStippleEXT = - PFN_vkCmdSetLineStippleEXT( vkGetInstanceProcAddr( instance, "vkCmdSetLineStippleEXT" ) ); - vkCmdSetLineWidth = PFN_vkCmdSetLineWidth( vkGetInstanceProcAddr( instance, "vkCmdSetLineWidth" ) ); - vkCmdSetLogicOpEXT = PFN_vkCmdSetLogicOpEXT( vkGetInstanceProcAddr( instance, "vkCmdSetLogicOpEXT" ) ); - vkCmdSetPatchControlPointsEXT = - PFN_vkCmdSetPatchControlPointsEXT( vkGetInstanceProcAddr( instance, "vkCmdSetPatchControlPointsEXT" ) ); - vkCmdSetPerformanceMarkerINTEL = - PFN_vkCmdSetPerformanceMarkerINTEL( vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceMarkerINTEL" ) ); - vkCmdSetPerformanceOverrideINTEL = - PFN_vkCmdSetPerformanceOverrideINTEL( vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceOverrideINTEL" ) ); - vkCmdSetPerformanceStreamMarkerINTEL = PFN_vkCmdSetPerformanceStreamMarkerINTEL( - vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceStreamMarkerINTEL" ) ); - vkCmdSetPrimitiveRestartEnableEXT = - PFN_vkCmdSetPrimitiveRestartEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetPrimitiveRestartEnableEXT" ) ); - vkCmdSetPrimitiveTopologyEXT = - PFN_vkCmdSetPrimitiveTopologyEXT( vkGetInstanceProcAddr( instance, "vkCmdSetPrimitiveTopologyEXT" ) ); - vkCmdSetRasterizerDiscardEnableEXT = PFN_vkCmdSetRasterizerDiscardEnableEXT( - vkGetInstanceProcAddr( instance, "vkCmdSetRasterizerDiscardEnableEXT" ) ); - vkCmdSetRayTracingPipelineStackSizeKHR = PFN_vkCmdSetRayTracingPipelineStackSizeKHR( - vkGetInstanceProcAddr( instance, "vkCmdSetRayTracingPipelineStackSizeKHR" ) ); - vkCmdSetSampleLocationsEXT = - PFN_vkCmdSetSampleLocationsEXT( vkGetInstanceProcAddr( instance, "vkCmdSetSampleLocationsEXT" ) ); - vkCmdSetScissor = PFN_vkCmdSetScissor( vkGetInstanceProcAddr( instance, "vkCmdSetScissor" ) ); - vkCmdSetScissorWithCountEXT = - PFN_vkCmdSetScissorWithCountEXT( vkGetInstanceProcAddr( instance, "vkCmdSetScissorWithCountEXT" ) ); - vkCmdSetStencilCompareMask = - PFN_vkCmdSetStencilCompareMask( vkGetInstanceProcAddr( instance, "vkCmdSetStencilCompareMask" ) ); - vkCmdSetStencilOpEXT = PFN_vkCmdSetStencilOpEXT( vkGetInstanceProcAddr( instance, "vkCmdSetStencilOpEXT" ) ); - vkCmdSetStencilReference = - PFN_vkCmdSetStencilReference( vkGetInstanceProcAddr( instance, "vkCmdSetStencilReference" ) ); - vkCmdSetStencilTestEnableEXT = - PFN_vkCmdSetStencilTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetStencilTestEnableEXT" ) ); - vkCmdSetStencilWriteMask = - PFN_vkCmdSetStencilWriteMask( vkGetInstanceProcAddr( instance, "vkCmdSetStencilWriteMask" ) ); - vkCmdSetVertexInputEXT = - PFN_vkCmdSetVertexInputEXT( vkGetInstanceProcAddr( instance, "vkCmdSetVertexInputEXT" ) ); - vkCmdSetViewport = PFN_vkCmdSetViewport( vkGetInstanceProcAddr( instance, "vkCmdSetViewport" ) ); - vkCmdSetViewportShadingRatePaletteNV = PFN_vkCmdSetViewportShadingRatePaletteNV( - vkGetInstanceProcAddr( instance, "vkCmdSetViewportShadingRatePaletteNV" ) ); - vkCmdSetViewportWScalingNV = - PFN_vkCmdSetViewportWScalingNV( vkGetInstanceProcAddr( instance, "vkCmdSetViewportWScalingNV" ) ); - vkCmdSetViewportWithCountEXT = - PFN_vkCmdSetViewportWithCountEXT( vkGetInstanceProcAddr( instance, "vkCmdSetViewportWithCountEXT" ) ); - vkCmdTraceRaysIndirectKHR = - PFN_vkCmdTraceRaysIndirectKHR( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysIndirectKHR" ) ); - vkCmdTraceRaysKHR = PFN_vkCmdTraceRaysKHR( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysKHR" ) ); - vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysNV" ) ); - vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetInstanceProcAddr( instance, "vkCmdUpdateBuffer" ) ); - vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetInstanceProcAddr( instance, "vkCmdWaitEvents" ) ); - vkCmdWaitEvents2KHR = PFN_vkCmdWaitEvents2KHR( vkGetInstanceProcAddr( instance, "vkCmdWaitEvents2KHR" ) ); - vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR( - vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) ); - vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV( - vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesNV" ) ); - vkCmdWriteBufferMarker2AMD = - PFN_vkCmdWriteBufferMarker2AMD( vkGetInstanceProcAddr( instance, "vkCmdWriteBufferMarker2AMD" ) ); - vkCmdWriteBufferMarkerAMD = - PFN_vkCmdWriteBufferMarkerAMD( vkGetInstanceProcAddr( instance, "vkCmdWriteBufferMarkerAMD" ) ); - vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp( vkGetInstanceProcAddr( instance, "vkCmdWriteTimestamp" ) ); - vkCmdWriteTimestamp2KHR = - PFN_vkCmdWriteTimestamp2KHR( vkGetInstanceProcAddr( instance, "vkCmdWriteTimestamp2KHR" ) ); - vkCompileDeferredNV = PFN_vkCompileDeferredNV( vkGetInstanceProcAddr( instance, "vkCompileDeferredNV" ) ); - vkCopyAccelerationStructureKHR = - PFN_vkCopyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCopyAccelerationStructureKHR" ) ); - vkCopyAccelerationStructureToMemoryKHR = PFN_vkCopyAccelerationStructureToMemoryKHR( - vkGetInstanceProcAddr( instance, "vkCopyAccelerationStructureToMemoryKHR" ) ); - vkCopyMemoryToAccelerationStructureKHR = PFN_vkCopyMemoryToAccelerationStructureKHR( - vkGetInstanceProcAddr( instance, "vkCopyMemoryToAccelerationStructureKHR" ) ); - vkCreateAccelerationStructureKHR = - PFN_vkCreateAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCreateAccelerationStructureKHR" ) ); - vkCreateAccelerationStructureNV = - PFN_vkCreateAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCreateAccelerationStructureNV" ) ); - vkCreateBuffer = PFN_vkCreateBuffer( vkGetInstanceProcAddr( instance, "vkCreateBuffer" ) ); - vkCreateBufferView = PFN_vkCreateBufferView( vkGetInstanceProcAddr( instance, "vkCreateBufferView" ) ); - vkCreateCommandPool = PFN_vkCreateCommandPool( vkGetInstanceProcAddr( instance, "vkCreateCommandPool" ) ); - vkCreateComputePipelines = - PFN_vkCreateComputePipelines( vkGetInstanceProcAddr( instance, "vkCreateComputePipelines" ) ); - vkCreateCuFunctionNVX = PFN_vkCreateCuFunctionNVX( vkGetInstanceProcAddr( instance, "vkCreateCuFunctionNVX" ) ); - vkCreateCuModuleNVX = PFN_vkCreateCuModuleNVX( vkGetInstanceProcAddr( instance, "vkCreateCuModuleNVX" ) ); - vkCreateDeferredOperationKHR = - PFN_vkCreateDeferredOperationKHR( vkGetInstanceProcAddr( instance, "vkCreateDeferredOperationKHR" ) ); - vkCreateDescriptorPool = - PFN_vkCreateDescriptorPool( vkGetInstanceProcAddr( instance, "vkCreateDescriptorPool" ) ); - vkCreateDescriptorSetLayout = - PFN_vkCreateDescriptorSetLayout( vkGetInstanceProcAddr( instance, "vkCreateDescriptorSetLayout" ) ); - vkCreateDescriptorUpdateTemplate = - PFN_vkCreateDescriptorUpdateTemplate( vkGetInstanceProcAddr( instance, "vkCreateDescriptorUpdateTemplate" ) ); - vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR( - vkGetInstanceProcAddr( instance, "vkCreateDescriptorUpdateTemplateKHR" ) ); - if ( !vkCreateDescriptorUpdateTemplate ) - vkCreateDescriptorUpdateTemplate = vkCreateDescriptorUpdateTemplateKHR; - vkCreateEvent = PFN_vkCreateEvent( vkGetInstanceProcAddr( instance, "vkCreateEvent" ) ); - vkCreateFence = PFN_vkCreateFence( vkGetInstanceProcAddr( instance, "vkCreateFence" ) ); - vkCreateFramebuffer = PFN_vkCreateFramebuffer( vkGetInstanceProcAddr( instance, "vkCreateFramebuffer" ) ); - vkCreateGraphicsPipelines = - PFN_vkCreateGraphicsPipelines( vkGetInstanceProcAddr( instance, "vkCreateGraphicsPipelines" ) ); - vkCreateImage = PFN_vkCreateImage( vkGetInstanceProcAddr( instance, "vkCreateImage" ) ); - vkCreateImageView = PFN_vkCreateImageView( vkGetInstanceProcAddr( instance, "vkCreateImageView" ) ); - vkCreateIndirectCommandsLayoutNV = - PFN_vkCreateIndirectCommandsLayoutNV( vkGetInstanceProcAddr( instance, "vkCreateIndirectCommandsLayoutNV" ) ); - vkCreatePipelineCache = PFN_vkCreatePipelineCache( vkGetInstanceProcAddr( instance, "vkCreatePipelineCache" ) ); - vkCreatePipelineLayout = - PFN_vkCreatePipelineLayout( vkGetInstanceProcAddr( instance, "vkCreatePipelineLayout" ) ); - vkCreatePrivateDataSlotEXT = - PFN_vkCreatePrivateDataSlotEXT( vkGetInstanceProcAddr( instance, "vkCreatePrivateDataSlotEXT" ) ); - vkCreateQueryPool = PFN_vkCreateQueryPool( vkGetInstanceProcAddr( instance, "vkCreateQueryPool" ) ); - vkCreateRayTracingPipelinesKHR = - PFN_vkCreateRayTracingPipelinesKHR( vkGetInstanceProcAddr( instance, "vkCreateRayTracingPipelinesKHR" ) ); - vkCreateRayTracingPipelinesNV = - PFN_vkCreateRayTracingPipelinesNV( vkGetInstanceProcAddr( instance, "vkCreateRayTracingPipelinesNV" ) ); - vkCreateRenderPass = PFN_vkCreateRenderPass( vkGetInstanceProcAddr( instance, "vkCreateRenderPass" ) ); - vkCreateRenderPass2 = PFN_vkCreateRenderPass2( vkGetInstanceProcAddr( instance, "vkCreateRenderPass2" ) ); - vkCreateRenderPass2KHR = - PFN_vkCreateRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCreateRenderPass2KHR" ) ); - if ( !vkCreateRenderPass2 ) - vkCreateRenderPass2 = vkCreateRenderPass2KHR; - vkCreateSampler = PFN_vkCreateSampler( vkGetInstanceProcAddr( instance, "vkCreateSampler" ) ); - vkCreateSamplerYcbcrConversion = - PFN_vkCreateSamplerYcbcrConversion( vkGetInstanceProcAddr( instance, "vkCreateSamplerYcbcrConversion" ) ); - vkCreateSamplerYcbcrConversionKHR = - PFN_vkCreateSamplerYcbcrConversionKHR( vkGetInstanceProcAddr( instance, "vkCreateSamplerYcbcrConversionKHR" ) ); - if ( !vkCreateSamplerYcbcrConversion ) - vkCreateSamplerYcbcrConversion = vkCreateSamplerYcbcrConversionKHR; - vkCreateSemaphore = PFN_vkCreateSemaphore( vkGetInstanceProcAddr( instance, "vkCreateSemaphore" ) ); - vkCreateShaderModule = PFN_vkCreateShaderModule( vkGetInstanceProcAddr( instance, "vkCreateShaderModule" ) ); - vkCreateSharedSwapchainsKHR = - PFN_vkCreateSharedSwapchainsKHR( vkGetInstanceProcAddr( instance, "vkCreateSharedSwapchainsKHR" ) ); - vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR( vkGetInstanceProcAddr( instance, "vkCreateSwapchainKHR" ) ); - vkCreateValidationCacheEXT = - PFN_vkCreateValidationCacheEXT( vkGetInstanceProcAddr( instance, "vkCreateValidationCacheEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCreateVideoSessionKHR = - PFN_vkCreateVideoSessionKHR( vkGetInstanceProcAddr( instance, "vkCreateVideoSessionKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCreateVideoSessionParametersKHR = - PFN_vkCreateVideoSessionParametersKHR( vkGetInstanceProcAddr( instance, "vkCreateVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkDebugMarkerSetObjectNameEXT = - PFN_vkDebugMarkerSetObjectNameEXT( vkGetInstanceProcAddr( instance, "vkDebugMarkerSetObjectNameEXT" ) ); - vkDebugMarkerSetObjectTagEXT = - PFN_vkDebugMarkerSetObjectTagEXT( vkGetInstanceProcAddr( instance, "vkDebugMarkerSetObjectTagEXT" ) ); - vkDeferredOperationJoinKHR = - PFN_vkDeferredOperationJoinKHR( vkGetInstanceProcAddr( instance, "vkDeferredOperationJoinKHR" ) ); - vkDestroyAccelerationStructureKHR = - PFN_vkDestroyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureKHR" ) ); - vkDestroyAccelerationStructureNV = - PFN_vkDestroyAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureNV" ) ); - vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetInstanceProcAddr( instance, "vkDestroyBuffer" ) ); - vkDestroyBufferView = PFN_vkDestroyBufferView( vkGetInstanceProcAddr( instance, "vkDestroyBufferView" ) ); - vkDestroyCommandPool = PFN_vkDestroyCommandPool( vkGetInstanceProcAddr( instance, "vkDestroyCommandPool" ) ); - vkDestroyCuFunctionNVX = - PFN_vkDestroyCuFunctionNVX( vkGetInstanceProcAddr( instance, "vkDestroyCuFunctionNVX" ) ); - vkDestroyCuModuleNVX = PFN_vkDestroyCuModuleNVX( vkGetInstanceProcAddr( instance, "vkDestroyCuModuleNVX" ) ); - vkDestroyDeferredOperationKHR = - PFN_vkDestroyDeferredOperationKHR( vkGetInstanceProcAddr( instance, "vkDestroyDeferredOperationKHR" ) ); - vkDestroyDescriptorPool = - PFN_vkDestroyDescriptorPool( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorPool" ) ); - vkDestroyDescriptorSetLayout = - PFN_vkDestroyDescriptorSetLayout( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorSetLayout" ) ); - vkDestroyDescriptorUpdateTemplate = - PFN_vkDestroyDescriptorUpdateTemplate( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorUpdateTemplate" ) ); - vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR( - vkGetInstanceProcAddr( instance, "vkDestroyDescriptorUpdateTemplateKHR" ) ); - if ( !vkDestroyDescriptorUpdateTemplate ) - vkDestroyDescriptorUpdateTemplate = vkDestroyDescriptorUpdateTemplateKHR; - vkDestroyDevice = PFN_vkDestroyDevice( vkGetInstanceProcAddr( instance, "vkDestroyDevice" ) ); - vkDestroyEvent = PFN_vkDestroyEvent( vkGetInstanceProcAddr( instance, "vkDestroyEvent" ) ); - vkDestroyFence = PFN_vkDestroyFence( vkGetInstanceProcAddr( instance, "vkDestroyFence" ) ); - vkDestroyFramebuffer = PFN_vkDestroyFramebuffer( vkGetInstanceProcAddr( instance, "vkDestroyFramebuffer" ) ); - vkDestroyImage = PFN_vkDestroyImage( vkGetInstanceProcAddr( instance, "vkDestroyImage" ) ); - vkDestroyImageView = PFN_vkDestroyImageView( vkGetInstanceProcAddr( instance, "vkDestroyImageView" ) ); - vkDestroyIndirectCommandsLayoutNV = - PFN_vkDestroyIndirectCommandsLayoutNV( vkGetInstanceProcAddr( instance, "vkDestroyIndirectCommandsLayoutNV" ) ); - vkDestroyPipeline = PFN_vkDestroyPipeline( vkGetInstanceProcAddr( instance, "vkDestroyPipeline" ) ); - vkDestroyPipelineCache = - PFN_vkDestroyPipelineCache( vkGetInstanceProcAddr( instance, "vkDestroyPipelineCache" ) ); - vkDestroyPipelineLayout = - PFN_vkDestroyPipelineLayout( vkGetInstanceProcAddr( instance, "vkDestroyPipelineLayout" ) ); - vkDestroyPrivateDataSlotEXT = - PFN_vkDestroyPrivateDataSlotEXT( vkGetInstanceProcAddr( instance, "vkDestroyPrivateDataSlotEXT" ) ); - vkDestroyQueryPool = PFN_vkDestroyQueryPool( vkGetInstanceProcAddr( instance, "vkDestroyQueryPool" ) ); - vkDestroyRenderPass = PFN_vkDestroyRenderPass( vkGetInstanceProcAddr( instance, "vkDestroyRenderPass" ) ); - vkDestroySampler = PFN_vkDestroySampler( vkGetInstanceProcAddr( instance, "vkDestroySampler" ) ); - vkDestroySamplerYcbcrConversion = - PFN_vkDestroySamplerYcbcrConversion( vkGetInstanceProcAddr( instance, "vkDestroySamplerYcbcrConversion" ) ); - vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR( - vkGetInstanceProcAddr( instance, "vkDestroySamplerYcbcrConversionKHR" ) ); - if ( !vkDestroySamplerYcbcrConversion ) - vkDestroySamplerYcbcrConversion = vkDestroySamplerYcbcrConversionKHR; - vkDestroySemaphore = PFN_vkDestroySemaphore( vkGetInstanceProcAddr( instance, "vkDestroySemaphore" ) ); - vkDestroyShaderModule = PFN_vkDestroyShaderModule( vkGetInstanceProcAddr( instance, "vkDestroyShaderModule" ) ); - vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR( vkGetInstanceProcAddr( instance, "vkDestroySwapchainKHR" ) ); - vkDestroyValidationCacheEXT = - PFN_vkDestroyValidationCacheEXT( vkGetInstanceProcAddr( instance, "vkDestroyValidationCacheEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkDestroyVideoSessionKHR = - PFN_vkDestroyVideoSessionKHR( vkGetInstanceProcAddr( instance, "vkDestroyVideoSessionKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkDestroyVideoSessionParametersKHR = PFN_vkDestroyVideoSessionParametersKHR( - vkGetInstanceProcAddr( instance, "vkDestroyVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkDeviceWaitIdle = PFN_vkDeviceWaitIdle( vkGetInstanceProcAddr( instance, "vkDeviceWaitIdle" ) ); - vkDisplayPowerControlEXT = - PFN_vkDisplayPowerControlEXT( vkGetInstanceProcAddr( instance, "vkDisplayPowerControlEXT" ) ); - vkEndCommandBuffer = PFN_vkEndCommandBuffer( vkGetInstanceProcAddr( instance, "vkEndCommandBuffer" ) ); - vkFlushMappedMemoryRanges = - PFN_vkFlushMappedMemoryRanges( vkGetInstanceProcAddr( instance, "vkFlushMappedMemoryRanges" ) ); - vkFreeCommandBuffers = PFN_vkFreeCommandBuffers( vkGetInstanceProcAddr( instance, "vkFreeCommandBuffers" ) ); - vkFreeDescriptorSets = PFN_vkFreeDescriptorSets( vkGetInstanceProcAddr( instance, "vkFreeDescriptorSets" ) ); - vkFreeMemory = PFN_vkFreeMemory( vkGetInstanceProcAddr( instance, "vkFreeMemory" ) ); - vkGetAccelerationStructureBuildSizesKHR = PFN_vkGetAccelerationStructureBuildSizesKHR( - vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureBuildSizesKHR" ) ); - vkGetAccelerationStructureDeviceAddressKHR = PFN_vkGetAccelerationStructureDeviceAddressKHR( - vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureDeviceAddressKHR" ) ); - vkGetAccelerationStructureHandleNV = PFN_vkGetAccelerationStructureHandleNV( - vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureHandleNV" ) ); - vkGetAccelerationStructureMemoryRequirementsNV = PFN_vkGetAccelerationStructureMemoryRequirementsNV( - vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureMemoryRequirementsNV" ) ); -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID( - vkGetInstanceProcAddr( instance, "vkGetAndroidHardwareBufferPropertiesANDROID" ) ); -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - vkGetBufferDeviceAddress = - PFN_vkGetBufferDeviceAddress( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddress" ) ); - vkGetBufferDeviceAddressEXT = - PFN_vkGetBufferDeviceAddressEXT( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddressEXT" ) ); - if ( !vkGetBufferDeviceAddress ) - vkGetBufferDeviceAddress = vkGetBufferDeviceAddressEXT; - vkGetBufferDeviceAddressKHR = - PFN_vkGetBufferDeviceAddressKHR( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddressKHR" ) ); - if ( !vkGetBufferDeviceAddress ) - vkGetBufferDeviceAddress = vkGetBufferDeviceAddressKHR; - vkGetBufferMemoryRequirements = - PFN_vkGetBufferMemoryRequirements( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements" ) ); - vkGetBufferMemoryRequirements2 = - PFN_vkGetBufferMemoryRequirements2( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements2" ) ); - vkGetBufferMemoryRequirements2KHR = - PFN_vkGetBufferMemoryRequirements2KHR( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements2KHR" ) ); - if ( !vkGetBufferMemoryRequirements2 ) - vkGetBufferMemoryRequirements2 = vkGetBufferMemoryRequirements2KHR; - vkGetBufferOpaqueCaptureAddress = - PFN_vkGetBufferOpaqueCaptureAddress( vkGetInstanceProcAddr( instance, "vkGetBufferOpaqueCaptureAddress" ) ); - vkGetBufferOpaqueCaptureAddressKHR = PFN_vkGetBufferOpaqueCaptureAddressKHR( - vkGetInstanceProcAddr( instance, "vkGetBufferOpaqueCaptureAddressKHR" ) ); - if ( !vkGetBufferOpaqueCaptureAddress ) - vkGetBufferOpaqueCaptureAddress = vkGetBufferOpaqueCaptureAddressKHR; - vkGetCalibratedTimestampsEXT = - PFN_vkGetCalibratedTimestampsEXT( vkGetInstanceProcAddr( instance, "vkGetCalibratedTimestampsEXT" ) ); - vkGetDeferredOperationMaxConcurrencyKHR = PFN_vkGetDeferredOperationMaxConcurrencyKHR( - vkGetInstanceProcAddr( instance, "vkGetDeferredOperationMaxConcurrencyKHR" ) ); - vkGetDeferredOperationResultKHR = - PFN_vkGetDeferredOperationResultKHR( vkGetInstanceProcAddr( instance, "vkGetDeferredOperationResultKHR" ) ); - vkGetDescriptorSetLayoutSupport = - PFN_vkGetDescriptorSetLayoutSupport( vkGetInstanceProcAddr( instance, "vkGetDescriptorSetLayoutSupport" ) ); - vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR( - vkGetInstanceProcAddr( instance, "vkGetDescriptorSetLayoutSupportKHR" ) ); - if ( !vkGetDescriptorSetLayoutSupport ) - vkGetDescriptorSetLayoutSupport = vkGetDescriptorSetLayoutSupportKHR; - vkGetDeviceAccelerationStructureCompatibilityKHR = PFN_vkGetDeviceAccelerationStructureCompatibilityKHR( - vkGetInstanceProcAddr( instance, "vkGetDeviceAccelerationStructureCompatibilityKHR" ) ); - vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures( - vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPeerMemoryFeatures" ) ); - vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR( - vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPeerMemoryFeaturesKHR" ) ); - if ( !vkGetDeviceGroupPeerMemoryFeatures ) - vkGetDeviceGroupPeerMemoryFeatures = vkGetDeviceGroupPeerMemoryFeaturesKHR; - vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR( - vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPresentCapabilitiesKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetDeviceGroupSurfacePresentModes2EXT = PFN_vkGetDeviceGroupSurfacePresentModes2EXT( - vkGetInstanceProcAddr( instance, "vkGetDeviceGroupSurfacePresentModes2EXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR( - vkGetInstanceProcAddr( instance, "vkGetDeviceGroupSurfacePresentModesKHR" ) ); - vkGetDeviceMemoryCommitment = - PFN_vkGetDeviceMemoryCommitment( vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryCommitment" ) ); - vkGetDeviceMemoryOpaqueCaptureAddress = PFN_vkGetDeviceMemoryOpaqueCaptureAddress( - vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryOpaqueCaptureAddress" ) ); - vkGetDeviceMemoryOpaqueCaptureAddressKHR = PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR( - vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryOpaqueCaptureAddressKHR" ) ); - if ( !vkGetDeviceMemoryOpaqueCaptureAddress ) - vkGetDeviceMemoryOpaqueCaptureAddress = vkGetDeviceMemoryOpaqueCaptureAddressKHR; - vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetInstanceProcAddr( instance, "vkGetDeviceProcAddr" ) ); - vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue" ) ); - vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue2" ) ); - vkGetEventStatus = PFN_vkGetEventStatus( vkGetInstanceProcAddr( instance, "vkGetEventStatus" ) ); - vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetInstanceProcAddr( instance, "vkGetFenceFdKHR" ) ); - vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetInstanceProcAddr( instance, "vkGetFenceStatus" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetFenceWin32HandleKHR = - PFN_vkGetFenceWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetFenceWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkGetGeneratedCommandsMemoryRequirementsNV = PFN_vkGetGeneratedCommandsMemoryRequirementsNV( - vkGetInstanceProcAddr( instance, "vkGetGeneratedCommandsMemoryRequirementsNV" ) ); - vkGetImageDrmFormatModifierPropertiesEXT = PFN_vkGetImageDrmFormatModifierPropertiesEXT( - vkGetInstanceProcAddr( instance, "vkGetImageDrmFormatModifierPropertiesEXT" ) ); - vkGetImageMemoryRequirements = - PFN_vkGetImageMemoryRequirements( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements" ) ); - vkGetImageMemoryRequirements2 = - PFN_vkGetImageMemoryRequirements2( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements2" ) ); - vkGetImageMemoryRequirements2KHR = - PFN_vkGetImageMemoryRequirements2KHR( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements2KHR" ) ); - if ( !vkGetImageMemoryRequirements2 ) - vkGetImageMemoryRequirements2 = vkGetImageMemoryRequirements2KHR; - vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements( - vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements" ) ); - vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2( - vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements2" ) ); - vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR( - vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements2KHR" ) ); - if ( !vkGetImageSparseMemoryRequirements2 ) - vkGetImageSparseMemoryRequirements2 = vkGetImageSparseMemoryRequirements2KHR; - vkGetImageSubresourceLayout = - PFN_vkGetImageSubresourceLayout( vkGetInstanceProcAddr( instance, "vkGetImageSubresourceLayout" ) ); - vkGetImageViewAddressNVX = - PFN_vkGetImageViewAddressNVX( vkGetInstanceProcAddr( instance, "vkGetImageViewAddressNVX" ) ); - vkGetImageViewHandleNVX = - PFN_vkGetImageViewHandleNVX( vkGetInstanceProcAddr( instance, "vkGetImageViewHandleNVX" ) ); -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID( - vkGetInstanceProcAddr( instance, "vkGetMemoryAndroidHardwareBufferANDROID" ) ); -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryFdKHR" ) ); - vkGetMemoryFdPropertiesKHR = - PFN_vkGetMemoryFdPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryFdPropertiesKHR" ) ); - vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT( - vkGetInstanceProcAddr( instance, "vkGetMemoryHostPointerPropertiesEXT" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandleKHR = - PFN_vkGetMemoryWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandleNV = - PFN_vkGetMemoryWin32HandleNV( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandleNV" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandlePropertiesKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetMemoryZirconHandleFUCHSIA = - PFN_vkGetMemoryZirconHandleFUCHSIA( vkGetInstanceProcAddr( instance, "vkGetMemoryZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetMemoryZirconHandlePropertiesFUCHSIA = PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA( - vkGetInstanceProcAddr( instance, "vkGetMemoryZirconHandlePropertiesFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkGetPastPresentationTimingGOOGLE = - PFN_vkGetPastPresentationTimingGOOGLE( vkGetInstanceProcAddr( instance, "vkGetPastPresentationTimingGOOGLE" ) ); - vkGetPerformanceParameterINTEL = - PFN_vkGetPerformanceParameterINTEL( vkGetInstanceProcAddr( instance, "vkGetPerformanceParameterINTEL" ) ); - vkGetPipelineCacheData = - PFN_vkGetPipelineCacheData( vkGetInstanceProcAddr( instance, "vkGetPipelineCacheData" ) ); - vkGetPipelineExecutableInternalRepresentationsKHR = PFN_vkGetPipelineExecutableInternalRepresentationsKHR( - vkGetInstanceProcAddr( instance, "vkGetPipelineExecutableInternalRepresentationsKHR" ) ); - vkGetPipelineExecutablePropertiesKHR = PFN_vkGetPipelineExecutablePropertiesKHR( - vkGetInstanceProcAddr( instance, "vkGetPipelineExecutablePropertiesKHR" ) ); - vkGetPipelineExecutableStatisticsKHR = PFN_vkGetPipelineExecutableStatisticsKHR( - vkGetInstanceProcAddr( instance, "vkGetPipelineExecutableStatisticsKHR" ) ); - vkGetPrivateDataEXT = PFN_vkGetPrivateDataEXT( vkGetInstanceProcAddr( instance, "vkGetPrivateDataEXT" ) ); - vkGetQueryPoolResults = PFN_vkGetQueryPoolResults( vkGetInstanceProcAddr( instance, "vkGetQueryPoolResults" ) ); - vkGetQueueCheckpointData2NV = - PFN_vkGetQueueCheckpointData2NV( vkGetInstanceProcAddr( instance, "vkGetQueueCheckpointData2NV" ) ); - vkGetQueueCheckpointDataNV = - PFN_vkGetQueueCheckpointDataNV( vkGetInstanceProcAddr( instance, "vkGetQueueCheckpointDataNV" ) ); - vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - vkGetInstanceProcAddr( instance, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) ); - vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR( - vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesKHR" ) ); - vkGetRayTracingShaderGroupHandlesNV = PFN_vkGetRayTracingShaderGroupHandlesNV( - vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesNV" ) ); - if ( !vkGetRayTracingShaderGroupHandlesKHR ) - vkGetRayTracingShaderGroupHandlesKHR = vkGetRayTracingShaderGroupHandlesNV; - vkGetRayTracingShaderGroupStackSizeKHR = PFN_vkGetRayTracingShaderGroupStackSizeKHR( - vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupStackSizeKHR" ) ); - vkGetRefreshCycleDurationGOOGLE = - PFN_vkGetRefreshCycleDurationGOOGLE( vkGetInstanceProcAddr( instance, "vkGetRefreshCycleDurationGOOGLE" ) ); - vkGetRenderAreaGranularity = - PFN_vkGetRenderAreaGranularity( vkGetInstanceProcAddr( instance, "vkGetRenderAreaGranularity" ) ); - vkGetSemaphoreCounterValue = - PFN_vkGetSemaphoreCounterValue( vkGetInstanceProcAddr( instance, "vkGetSemaphoreCounterValue" ) ); - vkGetSemaphoreCounterValueKHR = - PFN_vkGetSemaphoreCounterValueKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreCounterValueKHR" ) ); - if ( !vkGetSemaphoreCounterValue ) - vkGetSemaphoreCounterValue = vkGetSemaphoreCounterValueKHR; - vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetSemaphoreWin32HandleKHR = - PFN_vkGetSemaphoreWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetSemaphoreZirconHandleFUCHSIA = - PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetInstanceProcAddr( instance, "vkGetSemaphoreZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetInstanceProcAddr( instance, "vkGetShaderInfoAMD" ) ); - vkGetSwapchainCounterEXT = - PFN_vkGetSwapchainCounterEXT( vkGetInstanceProcAddr( instance, "vkGetSwapchainCounterEXT" ) ); - vkGetSwapchainImagesKHR = - PFN_vkGetSwapchainImagesKHR( vkGetInstanceProcAddr( instance, "vkGetSwapchainImagesKHR" ) ); - vkGetSwapchainStatusKHR = - PFN_vkGetSwapchainStatusKHR( vkGetInstanceProcAddr( instance, "vkGetSwapchainStatusKHR" ) ); - vkGetValidationCacheDataEXT = - PFN_vkGetValidationCacheDataEXT( vkGetInstanceProcAddr( instance, "vkGetValidationCacheDataEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkGetVideoSessionMemoryRequirementsKHR = PFN_vkGetVideoSessionMemoryRequirementsKHR( - vkGetInstanceProcAddr( instance, "vkGetVideoSessionMemoryRequirementsKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkImportFenceFdKHR = PFN_vkImportFenceFdKHR( vkGetInstanceProcAddr( instance, "vkImportFenceFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkImportFenceWin32HandleKHR = - PFN_vkImportFenceWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkImportFenceWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkImportSemaphoreFdKHR = - PFN_vkImportSemaphoreFdKHR( vkGetInstanceProcAddr( instance, "vkImportSemaphoreFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkImportSemaphoreWin32HandleKHR = - PFN_vkImportSemaphoreWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkImportSemaphoreWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkImportSemaphoreZirconHandleFUCHSIA = PFN_vkImportSemaphoreZirconHandleFUCHSIA( - vkGetInstanceProcAddr( instance, "vkImportSemaphoreZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkInitializePerformanceApiINTEL = - PFN_vkInitializePerformanceApiINTEL( vkGetInstanceProcAddr( instance, "vkInitializePerformanceApiINTEL" ) ); - vkInvalidateMappedMemoryRanges = - PFN_vkInvalidateMappedMemoryRanges( vkGetInstanceProcAddr( instance, "vkInvalidateMappedMemoryRanges" ) ); - vkMapMemory = PFN_vkMapMemory( vkGetInstanceProcAddr( instance, "vkMapMemory" ) ); - vkMergePipelineCaches = PFN_vkMergePipelineCaches( vkGetInstanceProcAddr( instance, "vkMergePipelineCaches" ) ); - vkMergeValidationCachesEXT = - PFN_vkMergeValidationCachesEXT( vkGetInstanceProcAddr( instance, "vkMergeValidationCachesEXT" ) ); - vkQueueBeginDebugUtilsLabelEXT = - PFN_vkQueueBeginDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueBeginDebugUtilsLabelEXT" ) ); - vkQueueBindSparse = PFN_vkQueueBindSparse( vkGetInstanceProcAddr( instance, "vkQueueBindSparse" ) ); - vkQueueEndDebugUtilsLabelEXT = - PFN_vkQueueEndDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueEndDebugUtilsLabelEXT" ) ); - vkQueueInsertDebugUtilsLabelEXT = - PFN_vkQueueInsertDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueInsertDebugUtilsLabelEXT" ) ); - vkQueuePresentKHR = PFN_vkQueuePresentKHR( vkGetInstanceProcAddr( instance, "vkQueuePresentKHR" ) ); - vkQueueSetPerformanceConfigurationINTEL = PFN_vkQueueSetPerformanceConfigurationINTEL( - vkGetInstanceProcAddr( instance, "vkQueueSetPerformanceConfigurationINTEL" ) ); - vkQueueSubmit = PFN_vkQueueSubmit( vkGetInstanceProcAddr( instance, "vkQueueSubmit" ) ); - vkQueueSubmit2KHR = PFN_vkQueueSubmit2KHR( vkGetInstanceProcAddr( instance, "vkQueueSubmit2KHR" ) ); - vkQueueWaitIdle = PFN_vkQueueWaitIdle( vkGetInstanceProcAddr( instance, "vkQueueWaitIdle" ) ); - vkRegisterDeviceEventEXT = - PFN_vkRegisterDeviceEventEXT( vkGetInstanceProcAddr( instance, "vkRegisterDeviceEventEXT" ) ); - vkRegisterDisplayEventEXT = - PFN_vkRegisterDisplayEventEXT( vkGetInstanceProcAddr( instance, "vkRegisterDisplayEventEXT" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkReleaseFullScreenExclusiveModeEXT = PFN_vkReleaseFullScreenExclusiveModeEXT( - vkGetInstanceProcAddr( instance, "vkReleaseFullScreenExclusiveModeEXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkReleasePerformanceConfigurationINTEL = PFN_vkReleasePerformanceConfigurationINTEL( - vkGetInstanceProcAddr( instance, "vkReleasePerformanceConfigurationINTEL" ) ); - vkReleaseProfilingLockKHR = - PFN_vkReleaseProfilingLockKHR( vkGetInstanceProcAddr( instance, "vkReleaseProfilingLockKHR" ) ); - vkResetCommandBuffer = PFN_vkResetCommandBuffer( vkGetInstanceProcAddr( instance, "vkResetCommandBuffer" ) ); - vkResetCommandPool = PFN_vkResetCommandPool( vkGetInstanceProcAddr( instance, "vkResetCommandPool" ) ); - vkResetDescriptorPool = PFN_vkResetDescriptorPool( vkGetInstanceProcAddr( instance, "vkResetDescriptorPool" ) ); - vkResetEvent = PFN_vkResetEvent( vkGetInstanceProcAddr( instance, "vkResetEvent" ) ); - vkResetFences = PFN_vkResetFences( vkGetInstanceProcAddr( instance, "vkResetFences" ) ); - vkResetQueryPool = PFN_vkResetQueryPool( vkGetInstanceProcAddr( instance, "vkResetQueryPool" ) ); - vkResetQueryPoolEXT = PFN_vkResetQueryPoolEXT( vkGetInstanceProcAddr( instance, "vkResetQueryPoolEXT" ) ); - if ( !vkResetQueryPool ) - vkResetQueryPool = vkResetQueryPoolEXT; - vkSetDebugUtilsObjectNameEXT = - PFN_vkSetDebugUtilsObjectNameEXT( vkGetInstanceProcAddr( instance, "vkSetDebugUtilsObjectNameEXT" ) ); - vkSetDebugUtilsObjectTagEXT = - PFN_vkSetDebugUtilsObjectTagEXT( vkGetInstanceProcAddr( instance, "vkSetDebugUtilsObjectTagEXT" ) ); - vkSetEvent = PFN_vkSetEvent( vkGetInstanceProcAddr( instance, "vkSetEvent" ) ); - vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT( vkGetInstanceProcAddr( instance, "vkSetHdrMetadataEXT" ) ); - vkSetLocalDimmingAMD = PFN_vkSetLocalDimmingAMD( vkGetInstanceProcAddr( instance, "vkSetLocalDimmingAMD" ) ); - vkSetPrivateDataEXT = PFN_vkSetPrivateDataEXT( vkGetInstanceProcAddr( instance, "vkSetPrivateDataEXT" ) ); - vkSignalSemaphore = PFN_vkSignalSemaphore( vkGetInstanceProcAddr( instance, "vkSignalSemaphore" ) ); - vkSignalSemaphoreKHR = PFN_vkSignalSemaphoreKHR( vkGetInstanceProcAddr( instance, "vkSignalSemaphoreKHR" ) ); - if ( !vkSignalSemaphore ) - vkSignalSemaphore = vkSignalSemaphoreKHR; - vkTrimCommandPool = PFN_vkTrimCommandPool( vkGetInstanceProcAddr( instance, "vkTrimCommandPool" ) ); - vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR( vkGetInstanceProcAddr( instance, "vkTrimCommandPoolKHR" ) ); - if ( !vkTrimCommandPool ) - vkTrimCommandPool = vkTrimCommandPoolKHR; - vkUninitializePerformanceApiINTEL = - PFN_vkUninitializePerformanceApiINTEL( vkGetInstanceProcAddr( instance, "vkUninitializePerformanceApiINTEL" ) ); - vkUnmapMemory = PFN_vkUnmapMemory( vkGetInstanceProcAddr( instance, "vkUnmapMemory" ) ); - vkUpdateDescriptorSetWithTemplate = - PFN_vkUpdateDescriptorSetWithTemplate( vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSetWithTemplate" ) ); - vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR( - vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSetWithTemplateKHR" ) ); - if ( !vkUpdateDescriptorSetWithTemplate ) - vkUpdateDescriptorSetWithTemplate = vkUpdateDescriptorSetWithTemplateKHR; - vkUpdateDescriptorSets = - PFN_vkUpdateDescriptorSets( vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSets" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkUpdateVideoSessionParametersKHR = - PFN_vkUpdateVideoSessionParametersKHR( vkGetInstanceProcAddr( instance, "vkUpdateVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkWaitForFences = PFN_vkWaitForFences( vkGetInstanceProcAddr( instance, "vkWaitForFences" ) ); - vkWaitSemaphores = PFN_vkWaitSemaphores( vkGetInstanceProcAddr( instance, "vkWaitSemaphores" ) ); - vkWaitSemaphoresKHR = PFN_vkWaitSemaphoresKHR( vkGetInstanceProcAddr( instance, "vkWaitSemaphoresKHR" ) ); - if ( !vkWaitSemaphores ) - vkWaitSemaphores = vkWaitSemaphoresKHR; - vkWriteAccelerationStructuresPropertiesKHR = PFN_vkWriteAccelerationStructuresPropertiesKHR( - vkGetInstanceProcAddr( instance, "vkWriteAccelerationStructuresPropertiesKHR" ) ); - } - - void init( VULKAN_HPP_NAMESPACE::Device deviceCpp ) VULKAN_HPP_NOEXCEPT - { - VkDevice device = static_cast( deviceCpp ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkAcquireFullScreenExclusiveModeEXT = - PFN_vkAcquireFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkAcquireFullScreenExclusiveModeEXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR( vkGetDeviceProcAddr( device, "vkAcquireNextImage2KHR" ) ); - vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR( vkGetDeviceProcAddr( device, "vkAcquireNextImageKHR" ) ); - vkAcquirePerformanceConfigurationINTEL = PFN_vkAcquirePerformanceConfigurationINTEL( - vkGetDeviceProcAddr( device, "vkAcquirePerformanceConfigurationINTEL" ) ); - vkAcquireProfilingLockKHR = - PFN_vkAcquireProfilingLockKHR( vkGetDeviceProcAddr( device, "vkAcquireProfilingLockKHR" ) ); - vkAllocateCommandBuffers = - PFN_vkAllocateCommandBuffers( vkGetDeviceProcAddr( device, "vkAllocateCommandBuffers" ) ); - vkAllocateDescriptorSets = - PFN_vkAllocateDescriptorSets( vkGetDeviceProcAddr( device, "vkAllocateDescriptorSets" ) ); - vkAllocateMemory = PFN_vkAllocateMemory( vkGetDeviceProcAddr( device, "vkAllocateMemory" ) ); - vkBeginCommandBuffer = PFN_vkBeginCommandBuffer( vkGetDeviceProcAddr( device, "vkBeginCommandBuffer" ) ); - vkBindAccelerationStructureMemoryNV = - PFN_vkBindAccelerationStructureMemoryNV( vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ) ); - vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetDeviceProcAddr( device, "vkBindBufferMemory" ) ); - vkBindBufferMemory2 = PFN_vkBindBufferMemory2( vkGetDeviceProcAddr( device, "vkBindBufferMemory2" ) ); - vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR( vkGetDeviceProcAddr( device, "vkBindBufferMemory2KHR" ) ); - if ( !vkBindBufferMemory2 ) - vkBindBufferMemory2 = vkBindBufferMemory2KHR; - vkBindImageMemory = PFN_vkBindImageMemory( vkGetDeviceProcAddr( device, "vkBindImageMemory" ) ); - vkBindImageMemory2 = PFN_vkBindImageMemory2( vkGetDeviceProcAddr( device, "vkBindImageMemory2" ) ); - vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR( vkGetDeviceProcAddr( device, "vkBindImageMemory2KHR" ) ); - if ( !vkBindImageMemory2 ) - vkBindImageMemory2 = vkBindImageMemory2KHR; -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkBindVideoSessionMemoryKHR = - PFN_vkBindVideoSessionMemoryKHR( vkGetDeviceProcAddr( device, "vkBindVideoSessionMemoryKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkBuildAccelerationStructuresKHR = - PFN_vkBuildAccelerationStructuresKHR( vkGetDeviceProcAddr( device, "vkBuildAccelerationStructuresKHR" ) ); - vkCmdBeginConditionalRenderingEXT = - PFN_vkCmdBeginConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdBeginConditionalRenderingEXT" ) ); - vkCmdBeginDebugUtilsLabelEXT = - PFN_vkCmdBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdBeginDebugUtilsLabelEXT" ) ); - vkCmdBeginQuery = PFN_vkCmdBeginQuery( vkGetDeviceProcAddr( device, "vkCmdBeginQuery" ) ); - vkCmdBeginQueryIndexedEXT = - PFN_vkCmdBeginQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdBeginQueryIndexedEXT" ) ); - vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass" ) ); - vkCmdBeginRenderPass2 = PFN_vkCmdBeginRenderPass2( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2" ) ); - vkCmdBeginRenderPass2KHR = - PFN_vkCmdBeginRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2KHR" ) ); - if ( !vkCmdBeginRenderPass2 ) - vkCmdBeginRenderPass2 = vkCmdBeginRenderPass2KHR; - vkCmdBeginTransformFeedbackEXT = - PFN_vkCmdBeginTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdBeginTransformFeedbackEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdBeginVideoCodingKHR = - PFN_vkCmdBeginVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdBeginVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets" ) ); - vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer( vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer" ) ); - vkCmdBindPipeline = PFN_vkCmdBindPipeline( vkGetDeviceProcAddr( device, "vkCmdBindPipeline" ) ); - vkCmdBindPipelineShaderGroupNV = - PFN_vkCmdBindPipelineShaderGroupNV( vkGetDeviceProcAddr( device, "vkCmdBindPipelineShaderGroupNV" ) ); - vkCmdBindShadingRateImageNV = - PFN_vkCmdBindShadingRateImageNV( vkGetDeviceProcAddr( device, "vkCmdBindShadingRateImageNV" ) ); - vkCmdBindTransformFeedbackBuffersEXT = PFN_vkCmdBindTransformFeedbackBuffersEXT( - vkGetDeviceProcAddr( device, "vkCmdBindTransformFeedbackBuffersEXT" ) ); - vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers" ) ); - vkCmdBindVertexBuffers2EXT = - PFN_vkCmdBindVertexBuffers2EXT( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2EXT" ) ); - vkCmdBlitImage = PFN_vkCmdBlitImage( vkGetDeviceProcAddr( device, "vkCmdBlitImage" ) ); - vkCmdBlitImage2KHR = PFN_vkCmdBlitImage2KHR( vkGetDeviceProcAddr( device, "vkCmdBlitImage2KHR" ) ); - vkCmdBuildAccelerationStructureNV = - PFN_vkCmdBuildAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureNV" ) ); - vkCmdBuildAccelerationStructuresIndirectKHR = PFN_vkCmdBuildAccelerationStructuresIndirectKHR( - vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresIndirectKHR" ) ); - vkCmdBuildAccelerationStructuresKHR = - PFN_vkCmdBuildAccelerationStructuresKHR( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresKHR" ) ); - vkCmdClearAttachments = PFN_vkCmdClearAttachments( vkGetDeviceProcAddr( device, "vkCmdClearAttachments" ) ); - vkCmdClearColorImage = PFN_vkCmdClearColorImage( vkGetDeviceProcAddr( device, "vkCmdClearColorImage" ) ); - vkCmdClearDepthStencilImage = - PFN_vkCmdClearDepthStencilImage( vkGetDeviceProcAddr( device, "vkCmdClearDepthStencilImage" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdControlVideoCodingKHR = - PFN_vkCmdControlVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdControlVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdCopyAccelerationStructureKHR = - PFN_vkCmdCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureKHR" ) ); - vkCmdCopyAccelerationStructureNV = - PFN_vkCmdCopyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureNV" ) ); - vkCmdCopyAccelerationStructureToMemoryKHR = PFN_vkCmdCopyAccelerationStructureToMemoryKHR( - vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureToMemoryKHR" ) ); - vkCmdCopyBuffer = PFN_vkCmdCopyBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer" ) ); - vkCmdCopyBuffer2KHR = PFN_vkCmdCopyBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2KHR" ) ); - vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage" ) ); - vkCmdCopyBufferToImage2KHR = - PFN_vkCmdCopyBufferToImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2KHR" ) ); - vkCmdCopyImage = PFN_vkCmdCopyImage( vkGetDeviceProcAddr( device, "vkCmdCopyImage" ) ); - vkCmdCopyImage2KHR = PFN_vkCmdCopyImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImage2KHR" ) ); - vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer" ) ); - vkCmdCopyImageToBuffer2KHR = - PFN_vkCmdCopyImageToBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2KHR" ) ); - vkCmdCopyMemoryToAccelerationStructureKHR = PFN_vkCmdCopyMemoryToAccelerationStructureKHR( - vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToAccelerationStructureKHR" ) ); - vkCmdCopyQueryPoolResults = - PFN_vkCmdCopyQueryPoolResults( vkGetDeviceProcAddr( device, "vkCmdCopyQueryPoolResults" ) ); - vkCmdCuLaunchKernelNVX = PFN_vkCmdCuLaunchKernelNVX( vkGetDeviceProcAddr( device, "vkCmdCuLaunchKernelNVX" ) ); - vkCmdDebugMarkerBeginEXT = - PFN_vkCmdDebugMarkerBeginEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerBeginEXT" ) ); - vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerEndEXT" ) ); - vkCmdDebugMarkerInsertEXT = - PFN_vkCmdDebugMarkerInsertEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerInsertEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdDecodeVideoKHR = PFN_vkCmdDecodeVideoKHR( vkGetDeviceProcAddr( device, "vkCmdDecodeVideoKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdDispatch = PFN_vkCmdDispatch( vkGetDeviceProcAddr( device, "vkCmdDispatch" ) ); - vkCmdDispatchBase = PFN_vkCmdDispatchBase( vkGetDeviceProcAddr( device, "vkCmdDispatchBase" ) ); - vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR( vkGetDeviceProcAddr( device, "vkCmdDispatchBaseKHR" ) ); - if ( !vkCmdDispatchBase ) - vkCmdDispatchBase = vkCmdDispatchBaseKHR; - vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect( vkGetDeviceProcAddr( device, "vkCmdDispatchIndirect" ) ); - vkCmdDraw = PFN_vkCmdDraw( vkGetDeviceProcAddr( device, "vkCmdDraw" ) ); - vkCmdDrawIndexed = PFN_vkCmdDrawIndexed( vkGetDeviceProcAddr( device, "vkCmdDrawIndexed" ) ); - vkCmdDrawIndexedIndirect = - PFN_vkCmdDrawIndexedIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirect" ) ); - vkCmdDrawIndexedIndirectCount = - PFN_vkCmdDrawIndexedIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCount" ) ); - vkCmdDrawIndexedIndirectCountAMD = - PFN_vkCmdDrawIndexedIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountAMD" ) ); - if ( !vkCmdDrawIndexedIndirectCount ) - vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountAMD; - vkCmdDrawIndexedIndirectCountKHR = - PFN_vkCmdDrawIndexedIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountKHR" ) ); - if ( !vkCmdDrawIndexedIndirectCount ) - vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountKHR; - vkCmdDrawIndirect = PFN_vkCmdDrawIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndirect" ) ); - vkCmdDrawIndirectByteCountEXT = - PFN_vkCmdDrawIndirectByteCountEXT( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectByteCountEXT" ) ); - vkCmdDrawIndirectCount = PFN_vkCmdDrawIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCount" ) ); - vkCmdDrawIndirectCountAMD = - PFN_vkCmdDrawIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountAMD" ) ); - if ( !vkCmdDrawIndirectCount ) - vkCmdDrawIndirectCount = vkCmdDrawIndirectCountAMD; - vkCmdDrawIndirectCountKHR = - PFN_vkCmdDrawIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountKHR" ) ); - if ( !vkCmdDrawIndirectCount ) - vkCmdDrawIndirectCount = vkCmdDrawIndirectCountKHR; - vkCmdDrawMeshTasksIndirectCountNV = - PFN_vkCmdDrawMeshTasksIndirectCountNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountNV" ) ); - vkCmdDrawMeshTasksIndirectNV = - PFN_vkCmdDrawMeshTasksIndirectNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectNV" ) ); - vkCmdDrawMeshTasksNV = PFN_vkCmdDrawMeshTasksNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksNV" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdEncodeVideoKHR = PFN_vkCmdEncodeVideoKHR( vkGetDeviceProcAddr( device, "vkCmdEncodeVideoKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdEndConditionalRenderingEXT = - PFN_vkCmdEndConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdEndConditionalRenderingEXT" ) ); - vkCmdEndDebugUtilsLabelEXT = - PFN_vkCmdEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdEndDebugUtilsLabelEXT" ) ); - vkCmdEndQuery = PFN_vkCmdEndQuery( vkGetDeviceProcAddr( device, "vkCmdEndQuery" ) ); - vkCmdEndQueryIndexedEXT = PFN_vkCmdEndQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdEndQueryIndexedEXT" ) ); - vkCmdEndRenderPass = PFN_vkCmdEndRenderPass( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass" ) ); - vkCmdEndRenderPass2 = PFN_vkCmdEndRenderPass2( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2" ) ); - vkCmdEndRenderPass2KHR = PFN_vkCmdEndRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2KHR" ) ); - if ( !vkCmdEndRenderPass2 ) - vkCmdEndRenderPass2 = vkCmdEndRenderPass2KHR; - vkCmdEndTransformFeedbackEXT = - PFN_vkCmdEndTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdEndTransformFeedbackEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCmdEndVideoCodingKHR = PFN_vkCmdEndVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdEndVideoCodingKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkCmdExecuteCommands = PFN_vkCmdExecuteCommands( vkGetDeviceProcAddr( device, "vkCmdExecuteCommands" ) ); - vkCmdExecuteGeneratedCommandsNV = - PFN_vkCmdExecuteGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsNV" ) ); - vkCmdFillBuffer = PFN_vkCmdFillBuffer( vkGetDeviceProcAddr( device, "vkCmdFillBuffer" ) ); - vkCmdInsertDebugUtilsLabelEXT = - PFN_vkCmdInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdInsertDebugUtilsLabelEXT" ) ); - vkCmdNextSubpass = PFN_vkCmdNextSubpass( vkGetDeviceProcAddr( device, "vkCmdNextSubpass" ) ); - vkCmdNextSubpass2 = PFN_vkCmdNextSubpass2( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2" ) ); - vkCmdNextSubpass2KHR = PFN_vkCmdNextSubpass2KHR( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2KHR" ) ); - if ( !vkCmdNextSubpass2 ) - vkCmdNextSubpass2 = vkCmdNextSubpass2KHR; - vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier" ) ); - vkCmdPipelineBarrier2KHR = - PFN_vkCmdPipelineBarrier2KHR( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier2KHR" ) ); - vkCmdPreprocessGeneratedCommandsNV = - PFN_vkCmdPreprocessGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsNV" ) ); - vkCmdPushConstants = PFN_vkCmdPushConstants( vkGetDeviceProcAddr( device, "vkCmdPushConstants" ) ); - vkCmdPushDescriptorSetKHR = - PFN_vkCmdPushDescriptorSetKHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetKHR" ) ); - vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR( - vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplateKHR" ) ); - vkCmdResetEvent = PFN_vkCmdResetEvent( vkGetDeviceProcAddr( device, "vkCmdResetEvent" ) ); - vkCmdResetEvent2KHR = PFN_vkCmdResetEvent2KHR( vkGetDeviceProcAddr( device, "vkCmdResetEvent2KHR" ) ); - vkCmdResetQueryPool = PFN_vkCmdResetQueryPool( vkGetDeviceProcAddr( device, "vkCmdResetQueryPool" ) ); - vkCmdResolveImage = PFN_vkCmdResolveImage( vkGetDeviceProcAddr( device, "vkCmdResolveImage" ) ); - vkCmdResolveImage2KHR = PFN_vkCmdResolveImage2KHR( vkGetDeviceProcAddr( device, "vkCmdResolveImage2KHR" ) ); - vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants( vkGetDeviceProcAddr( device, "vkCmdSetBlendConstants" ) ); - vkCmdSetCheckpointNV = PFN_vkCmdSetCheckpointNV( vkGetDeviceProcAddr( device, "vkCmdSetCheckpointNV" ) ); - vkCmdSetCoarseSampleOrderNV = - PFN_vkCmdSetCoarseSampleOrderNV( vkGetDeviceProcAddr( device, "vkCmdSetCoarseSampleOrderNV" ) ); - vkCmdSetColorWriteEnableEXT = - PFN_vkCmdSetColorWriteEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorWriteEnableEXT" ) ); - vkCmdSetCullModeEXT = PFN_vkCmdSetCullModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetCullModeEXT" ) ); - vkCmdSetDepthBias = PFN_vkCmdSetDepthBias( vkGetDeviceProcAddr( device, "vkCmdSetDepthBias" ) ); - vkCmdSetDepthBiasEnableEXT = - PFN_vkCmdSetDepthBiasEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBiasEnableEXT" ) ); - vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds( vkGetDeviceProcAddr( device, "vkCmdSetDepthBounds" ) ); - vkCmdSetDepthBoundsTestEnableEXT = - PFN_vkCmdSetDepthBoundsTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnableEXT" ) ); - vkCmdSetDepthCompareOpEXT = - PFN_vkCmdSetDepthCompareOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOpEXT" ) ); - vkCmdSetDepthTestEnableEXT = - PFN_vkCmdSetDepthTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnableEXT" ) ); - vkCmdSetDepthWriteEnableEXT = - PFN_vkCmdSetDepthWriteEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnableEXT" ) ); - vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMask" ) ); - vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMaskKHR" ) ); - if ( !vkCmdSetDeviceMask ) - vkCmdSetDeviceMask = vkCmdSetDeviceMaskKHR; - vkCmdSetDiscardRectangleEXT = - PFN_vkCmdSetDiscardRectangleEXT( vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEXT" ) ); - vkCmdSetEvent = PFN_vkCmdSetEvent( vkGetDeviceProcAddr( device, "vkCmdSetEvent" ) ); - vkCmdSetEvent2KHR = PFN_vkCmdSetEvent2KHR( vkGetDeviceProcAddr( device, "vkCmdSetEvent2KHR" ) ); - vkCmdSetExclusiveScissorNV = - PFN_vkCmdSetExclusiveScissorNV( vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorNV" ) ); - vkCmdSetFragmentShadingRateEnumNV = - PFN_vkCmdSetFragmentShadingRateEnumNV( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateEnumNV" ) ); - vkCmdSetFragmentShadingRateKHR = - PFN_vkCmdSetFragmentShadingRateKHR( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateKHR" ) ); - vkCmdSetFrontFaceEXT = PFN_vkCmdSetFrontFaceEXT( vkGetDeviceProcAddr( device, "vkCmdSetFrontFaceEXT" ) ); - vkCmdSetLineStippleEXT = PFN_vkCmdSetLineStippleEXT( vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEXT" ) ); - vkCmdSetLineWidth = PFN_vkCmdSetLineWidth( vkGetDeviceProcAddr( device, "vkCmdSetLineWidth" ) ); - vkCmdSetLogicOpEXT = PFN_vkCmdSetLogicOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetLogicOpEXT" ) ); - vkCmdSetPatchControlPointsEXT = - PFN_vkCmdSetPatchControlPointsEXT( vkGetDeviceProcAddr( device, "vkCmdSetPatchControlPointsEXT" ) ); - vkCmdSetPerformanceMarkerINTEL = - PFN_vkCmdSetPerformanceMarkerINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceMarkerINTEL" ) ); - vkCmdSetPerformanceOverrideINTEL = - PFN_vkCmdSetPerformanceOverrideINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceOverrideINTEL" ) ); - vkCmdSetPerformanceStreamMarkerINTEL = PFN_vkCmdSetPerformanceStreamMarkerINTEL( - vkGetDeviceProcAddr( device, "vkCmdSetPerformanceStreamMarkerINTEL" ) ); - vkCmdSetPrimitiveRestartEnableEXT = - PFN_vkCmdSetPrimitiveRestartEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveRestartEnableEXT" ) ); - vkCmdSetPrimitiveTopologyEXT = - PFN_vkCmdSetPrimitiveTopologyEXT( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopologyEXT" ) ); - vkCmdSetRasterizerDiscardEnableEXT = - PFN_vkCmdSetRasterizerDiscardEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetRasterizerDiscardEnableEXT" ) ); - vkCmdSetRayTracingPipelineStackSizeKHR = PFN_vkCmdSetRayTracingPipelineStackSizeKHR( - vkGetDeviceProcAddr( device, "vkCmdSetRayTracingPipelineStackSizeKHR" ) ); - vkCmdSetSampleLocationsEXT = - PFN_vkCmdSetSampleLocationsEXT( vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEXT" ) ); - vkCmdSetScissor = PFN_vkCmdSetScissor( vkGetDeviceProcAddr( device, "vkCmdSetScissor" ) ); - vkCmdSetScissorWithCountEXT = - PFN_vkCmdSetScissorWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCountEXT" ) ); - vkCmdSetStencilCompareMask = - PFN_vkCmdSetStencilCompareMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilCompareMask" ) ); - vkCmdSetStencilOpEXT = PFN_vkCmdSetStencilOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilOpEXT" ) ); - vkCmdSetStencilReference = - PFN_vkCmdSetStencilReference( vkGetDeviceProcAddr( device, "vkCmdSetStencilReference" ) ); - vkCmdSetStencilTestEnableEXT = - PFN_vkCmdSetStencilTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnableEXT" ) ); - vkCmdSetStencilWriteMask = - PFN_vkCmdSetStencilWriteMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilWriteMask" ) ); - vkCmdSetVertexInputEXT = PFN_vkCmdSetVertexInputEXT( vkGetDeviceProcAddr( device, "vkCmdSetVertexInputEXT" ) ); - vkCmdSetViewport = PFN_vkCmdSetViewport( vkGetDeviceProcAddr( device, "vkCmdSetViewport" ) ); - vkCmdSetViewportShadingRatePaletteNV = PFN_vkCmdSetViewportShadingRatePaletteNV( - vkGetDeviceProcAddr( device, "vkCmdSetViewportShadingRatePaletteNV" ) ); - vkCmdSetViewportWScalingNV = - PFN_vkCmdSetViewportWScalingNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingNV" ) ); - vkCmdSetViewportWithCountEXT = - PFN_vkCmdSetViewportWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCountEXT" ) ); - vkCmdTraceRaysIndirectKHR = - PFN_vkCmdTraceRaysIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirectKHR" ) ); - vkCmdTraceRaysKHR = PFN_vkCmdTraceRaysKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysKHR" ) ); - vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ) ); - vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetDeviceProcAddr( device, "vkCmdUpdateBuffer" ) ); - vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetDeviceProcAddr( device, "vkCmdWaitEvents" ) ); - vkCmdWaitEvents2KHR = PFN_vkCmdWaitEvents2KHR( vkGetDeviceProcAddr( device, "vkCmdWaitEvents2KHR" ) ); - vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR( - vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) ); - vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV( - vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ) ); - vkCmdWriteBufferMarker2AMD = - PFN_vkCmdWriteBufferMarker2AMD( vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarker2AMD" ) ); - vkCmdWriteBufferMarkerAMD = - PFN_vkCmdWriteBufferMarkerAMD( vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarkerAMD" ) ); - vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp" ) ); - vkCmdWriteTimestamp2KHR = PFN_vkCmdWriteTimestamp2KHR( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp2KHR" ) ); - vkCompileDeferredNV = PFN_vkCompileDeferredNV( vkGetDeviceProcAddr( device, "vkCompileDeferredNV" ) ); - vkCopyAccelerationStructureKHR = - PFN_vkCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureKHR" ) ); - vkCopyAccelerationStructureToMemoryKHR = PFN_vkCopyAccelerationStructureToMemoryKHR( - vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureToMemoryKHR" ) ); - vkCopyMemoryToAccelerationStructureKHR = PFN_vkCopyMemoryToAccelerationStructureKHR( - vkGetDeviceProcAddr( device, "vkCopyMemoryToAccelerationStructureKHR" ) ); - vkCreateAccelerationStructureKHR = - PFN_vkCreateAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureKHR" ) ); - vkCreateAccelerationStructureNV = - PFN_vkCreateAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureNV" ) ); - vkCreateBuffer = PFN_vkCreateBuffer( vkGetDeviceProcAddr( device, "vkCreateBuffer" ) ); - vkCreateBufferView = PFN_vkCreateBufferView( vkGetDeviceProcAddr( device, "vkCreateBufferView" ) ); - vkCreateCommandPool = PFN_vkCreateCommandPool( vkGetDeviceProcAddr( device, "vkCreateCommandPool" ) ); - vkCreateComputePipelines = - PFN_vkCreateComputePipelines( vkGetDeviceProcAddr( device, "vkCreateComputePipelines" ) ); - vkCreateCuFunctionNVX = PFN_vkCreateCuFunctionNVX( vkGetDeviceProcAddr( device, "vkCreateCuFunctionNVX" ) ); - vkCreateCuModuleNVX = PFN_vkCreateCuModuleNVX( vkGetDeviceProcAddr( device, "vkCreateCuModuleNVX" ) ); - vkCreateDeferredOperationKHR = - PFN_vkCreateDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkCreateDeferredOperationKHR" ) ); - vkCreateDescriptorPool = PFN_vkCreateDescriptorPool( vkGetDeviceProcAddr( device, "vkCreateDescriptorPool" ) ); - vkCreateDescriptorSetLayout = - PFN_vkCreateDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkCreateDescriptorSetLayout" ) ); - vkCreateDescriptorUpdateTemplate = - PFN_vkCreateDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplate" ) ); - vkCreateDescriptorUpdateTemplateKHR = - PFN_vkCreateDescriptorUpdateTemplateKHR( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplateKHR" ) ); - if ( !vkCreateDescriptorUpdateTemplate ) - vkCreateDescriptorUpdateTemplate = vkCreateDescriptorUpdateTemplateKHR; - vkCreateEvent = PFN_vkCreateEvent( vkGetDeviceProcAddr( device, "vkCreateEvent" ) ); - vkCreateFence = PFN_vkCreateFence( vkGetDeviceProcAddr( device, "vkCreateFence" ) ); - vkCreateFramebuffer = PFN_vkCreateFramebuffer( vkGetDeviceProcAddr( device, "vkCreateFramebuffer" ) ); - vkCreateGraphicsPipelines = - PFN_vkCreateGraphicsPipelines( vkGetDeviceProcAddr( device, "vkCreateGraphicsPipelines" ) ); - vkCreateImage = PFN_vkCreateImage( vkGetDeviceProcAddr( device, "vkCreateImage" ) ); - vkCreateImageView = PFN_vkCreateImageView( vkGetDeviceProcAddr( device, "vkCreateImageView" ) ); - vkCreateIndirectCommandsLayoutNV = - PFN_vkCreateIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutNV" ) ); - vkCreatePipelineCache = PFN_vkCreatePipelineCache( vkGetDeviceProcAddr( device, "vkCreatePipelineCache" ) ); - vkCreatePipelineLayout = PFN_vkCreatePipelineLayout( vkGetDeviceProcAddr( device, "vkCreatePipelineLayout" ) ); - vkCreatePrivateDataSlotEXT = - PFN_vkCreatePrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlotEXT" ) ); - vkCreateQueryPool = PFN_vkCreateQueryPool( vkGetDeviceProcAddr( device, "vkCreateQueryPool" ) ); - vkCreateRayTracingPipelinesKHR = - PFN_vkCreateRayTracingPipelinesKHR( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesKHR" ) ); - vkCreateRayTracingPipelinesNV = - PFN_vkCreateRayTracingPipelinesNV( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesNV" ) ); - vkCreateRenderPass = PFN_vkCreateRenderPass( vkGetDeviceProcAddr( device, "vkCreateRenderPass" ) ); - vkCreateRenderPass2 = PFN_vkCreateRenderPass2( vkGetDeviceProcAddr( device, "vkCreateRenderPass2" ) ); - vkCreateRenderPass2KHR = PFN_vkCreateRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCreateRenderPass2KHR" ) ); - if ( !vkCreateRenderPass2 ) - vkCreateRenderPass2 = vkCreateRenderPass2KHR; - vkCreateSampler = PFN_vkCreateSampler( vkGetDeviceProcAddr( device, "vkCreateSampler" ) ); - vkCreateSamplerYcbcrConversion = - PFN_vkCreateSamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversion" ) ); - vkCreateSamplerYcbcrConversionKHR = - PFN_vkCreateSamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversionKHR" ) ); - if ( !vkCreateSamplerYcbcrConversion ) - vkCreateSamplerYcbcrConversion = vkCreateSamplerYcbcrConversionKHR; - vkCreateSemaphore = PFN_vkCreateSemaphore( vkGetDeviceProcAddr( device, "vkCreateSemaphore" ) ); - vkCreateShaderModule = PFN_vkCreateShaderModule( vkGetDeviceProcAddr( device, "vkCreateShaderModule" ) ); - vkCreateSharedSwapchainsKHR = - PFN_vkCreateSharedSwapchainsKHR( vkGetDeviceProcAddr( device, "vkCreateSharedSwapchainsKHR" ) ); - vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR( vkGetDeviceProcAddr( device, "vkCreateSwapchainKHR" ) ); - vkCreateValidationCacheEXT = - PFN_vkCreateValidationCacheEXT( vkGetDeviceProcAddr( device, "vkCreateValidationCacheEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCreateVideoSessionKHR = PFN_vkCreateVideoSessionKHR( vkGetDeviceProcAddr( device, "vkCreateVideoSessionKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkCreateVideoSessionParametersKHR = - PFN_vkCreateVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkCreateVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkDebugMarkerSetObjectNameEXT = - PFN_vkDebugMarkerSetObjectNameEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectNameEXT" ) ); - vkDebugMarkerSetObjectTagEXT = - PFN_vkDebugMarkerSetObjectTagEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectTagEXT" ) ); - vkDeferredOperationJoinKHR = - PFN_vkDeferredOperationJoinKHR( vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ) ); - vkDestroyAccelerationStructureKHR = - PFN_vkDestroyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ) ); - vkDestroyAccelerationStructureNV = - PFN_vkDestroyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ) ); - vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetDeviceProcAddr( device, "vkDestroyBuffer" ) ); - vkDestroyBufferView = PFN_vkDestroyBufferView( vkGetDeviceProcAddr( device, "vkDestroyBufferView" ) ); - vkDestroyCommandPool = PFN_vkDestroyCommandPool( vkGetDeviceProcAddr( device, "vkDestroyCommandPool" ) ); - vkDestroyCuFunctionNVX = PFN_vkDestroyCuFunctionNVX( vkGetDeviceProcAddr( device, "vkDestroyCuFunctionNVX" ) ); - vkDestroyCuModuleNVX = PFN_vkDestroyCuModuleNVX( vkGetDeviceProcAddr( device, "vkDestroyCuModuleNVX" ) ); - vkDestroyDeferredOperationKHR = - PFN_vkDestroyDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkDestroyDeferredOperationKHR" ) ); - vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool( vkGetDeviceProcAddr( device, "vkDestroyDescriptorPool" ) ); - vkDestroyDescriptorSetLayout = - PFN_vkDestroyDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkDestroyDescriptorSetLayout" ) ); - vkDestroyDescriptorUpdateTemplate = - PFN_vkDestroyDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplate" ) ); - vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR( - vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplateKHR" ) ); - if ( !vkDestroyDescriptorUpdateTemplate ) - vkDestroyDescriptorUpdateTemplate = vkDestroyDescriptorUpdateTemplateKHR; - vkDestroyDevice = PFN_vkDestroyDevice( vkGetDeviceProcAddr( device, "vkDestroyDevice" ) ); - vkDestroyEvent = PFN_vkDestroyEvent( vkGetDeviceProcAddr( device, "vkDestroyEvent" ) ); - vkDestroyFence = PFN_vkDestroyFence( vkGetDeviceProcAddr( device, "vkDestroyFence" ) ); - vkDestroyFramebuffer = PFN_vkDestroyFramebuffer( vkGetDeviceProcAddr( device, "vkDestroyFramebuffer" ) ); - vkDestroyImage = PFN_vkDestroyImage( vkGetDeviceProcAddr( device, "vkDestroyImage" ) ); - vkDestroyImageView = PFN_vkDestroyImageView( vkGetDeviceProcAddr( device, "vkDestroyImageView" ) ); - vkDestroyIndirectCommandsLayoutNV = - PFN_vkDestroyIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutNV" ) ); - vkDestroyPipeline = PFN_vkDestroyPipeline( vkGetDeviceProcAddr( device, "vkDestroyPipeline" ) ); - vkDestroyPipelineCache = PFN_vkDestroyPipelineCache( vkGetDeviceProcAddr( device, "vkDestroyPipelineCache" ) ); - vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout( vkGetDeviceProcAddr( device, "vkDestroyPipelineLayout" ) ); - vkDestroyPrivateDataSlotEXT = - PFN_vkDestroyPrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlotEXT" ) ); - vkDestroyQueryPool = PFN_vkDestroyQueryPool( vkGetDeviceProcAddr( device, "vkDestroyQueryPool" ) ); - vkDestroyRenderPass = PFN_vkDestroyRenderPass( vkGetDeviceProcAddr( device, "vkDestroyRenderPass" ) ); - vkDestroySampler = PFN_vkDestroySampler( vkGetDeviceProcAddr( device, "vkDestroySampler" ) ); - vkDestroySamplerYcbcrConversion = - PFN_vkDestroySamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversion" ) ); - vkDestroySamplerYcbcrConversionKHR = - PFN_vkDestroySamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversionKHR" ) ); - if ( !vkDestroySamplerYcbcrConversion ) - vkDestroySamplerYcbcrConversion = vkDestroySamplerYcbcrConversionKHR; - vkDestroySemaphore = PFN_vkDestroySemaphore( vkGetDeviceProcAddr( device, "vkDestroySemaphore" ) ); - vkDestroyShaderModule = PFN_vkDestroyShaderModule( vkGetDeviceProcAddr( device, "vkDestroyShaderModule" ) ); - vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR( vkGetDeviceProcAddr( device, "vkDestroySwapchainKHR" ) ); - vkDestroyValidationCacheEXT = - PFN_vkDestroyValidationCacheEXT( vkGetDeviceProcAddr( device, "vkDestroyValidationCacheEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkDestroyVideoSessionKHR = - PFN_vkDestroyVideoSessionKHR( vkGetDeviceProcAddr( device, "vkDestroyVideoSessionKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkDestroyVideoSessionParametersKHR = - PFN_vkDestroyVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkDestroyVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkDeviceWaitIdle = PFN_vkDeviceWaitIdle( vkGetDeviceProcAddr( device, "vkDeviceWaitIdle" ) ); - vkDisplayPowerControlEXT = - PFN_vkDisplayPowerControlEXT( vkGetDeviceProcAddr( device, "vkDisplayPowerControlEXT" ) ); - vkEndCommandBuffer = PFN_vkEndCommandBuffer( vkGetDeviceProcAddr( device, "vkEndCommandBuffer" ) ); - vkFlushMappedMemoryRanges = - PFN_vkFlushMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkFlushMappedMemoryRanges" ) ); - vkFreeCommandBuffers = PFN_vkFreeCommandBuffers( vkGetDeviceProcAddr( device, "vkFreeCommandBuffers" ) ); - vkFreeDescriptorSets = PFN_vkFreeDescriptorSets( vkGetDeviceProcAddr( device, "vkFreeDescriptorSets" ) ); - vkFreeMemory = PFN_vkFreeMemory( vkGetDeviceProcAddr( device, "vkFreeMemory" ) ); - vkGetAccelerationStructureBuildSizesKHR = PFN_vkGetAccelerationStructureBuildSizesKHR( - vkGetDeviceProcAddr( device, "vkGetAccelerationStructureBuildSizesKHR" ) ); - vkGetAccelerationStructureDeviceAddressKHR = PFN_vkGetAccelerationStructureDeviceAddressKHR( - vkGetDeviceProcAddr( device, "vkGetAccelerationStructureDeviceAddressKHR" ) ); - vkGetAccelerationStructureHandleNV = - PFN_vkGetAccelerationStructureHandleNV( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureHandleNV" ) ); - vkGetAccelerationStructureMemoryRequirementsNV = PFN_vkGetAccelerationStructureMemoryRequirementsNV( - vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsNV" ) ); -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID( - vkGetDeviceProcAddr( device, "vkGetAndroidHardwareBufferPropertiesANDROID" ) ); -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - vkGetBufferDeviceAddress = - PFN_vkGetBufferDeviceAddress( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddress" ) ); - vkGetBufferDeviceAddressEXT = - PFN_vkGetBufferDeviceAddressEXT( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressEXT" ) ); - if ( !vkGetBufferDeviceAddress ) - vkGetBufferDeviceAddress = vkGetBufferDeviceAddressEXT; - vkGetBufferDeviceAddressKHR = - PFN_vkGetBufferDeviceAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressKHR" ) ); - if ( !vkGetBufferDeviceAddress ) - vkGetBufferDeviceAddress = vkGetBufferDeviceAddressKHR; - vkGetBufferMemoryRequirements = - PFN_vkGetBufferMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements" ) ); - vkGetBufferMemoryRequirements2 = - PFN_vkGetBufferMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2" ) ); - vkGetBufferMemoryRequirements2KHR = - PFN_vkGetBufferMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2KHR" ) ); - if ( !vkGetBufferMemoryRequirements2 ) - vkGetBufferMemoryRequirements2 = vkGetBufferMemoryRequirements2KHR; - vkGetBufferOpaqueCaptureAddress = - PFN_vkGetBufferOpaqueCaptureAddress( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddress" ) ); - vkGetBufferOpaqueCaptureAddressKHR = - PFN_vkGetBufferOpaqueCaptureAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddressKHR" ) ); - if ( !vkGetBufferOpaqueCaptureAddress ) - vkGetBufferOpaqueCaptureAddress = vkGetBufferOpaqueCaptureAddressKHR; - vkGetCalibratedTimestampsEXT = - PFN_vkGetCalibratedTimestampsEXT( vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsEXT" ) ); - vkGetDeferredOperationMaxConcurrencyKHR = PFN_vkGetDeferredOperationMaxConcurrencyKHR( - vkGetDeviceProcAddr( device, "vkGetDeferredOperationMaxConcurrencyKHR" ) ); - vkGetDeferredOperationResultKHR = - PFN_vkGetDeferredOperationResultKHR( vkGetDeviceProcAddr( device, "vkGetDeferredOperationResultKHR" ) ); - vkGetDescriptorSetLayoutSupport = - PFN_vkGetDescriptorSetLayoutSupport( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupport" ) ); - vkGetDescriptorSetLayoutSupportKHR = - PFN_vkGetDescriptorSetLayoutSupportKHR( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupportKHR" ) ); - if ( !vkGetDescriptorSetLayoutSupport ) - vkGetDescriptorSetLayoutSupport = vkGetDescriptorSetLayoutSupportKHR; - vkGetDeviceAccelerationStructureCompatibilityKHR = PFN_vkGetDeviceAccelerationStructureCompatibilityKHR( - vkGetDeviceProcAddr( device, "vkGetDeviceAccelerationStructureCompatibilityKHR" ) ); - vkGetDeviceGroupPeerMemoryFeatures = - PFN_vkGetDeviceGroupPeerMemoryFeatures( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeatures" ) ); - vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR( - vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeaturesKHR" ) ); - if ( !vkGetDeviceGroupPeerMemoryFeatures ) - vkGetDeviceGroupPeerMemoryFeatures = vkGetDeviceGroupPeerMemoryFeaturesKHR; - vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR( - vkGetDeviceProcAddr( device, "vkGetDeviceGroupPresentCapabilitiesKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetDeviceGroupSurfacePresentModes2EXT = PFN_vkGetDeviceGroupSurfacePresentModes2EXT( - vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModes2EXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR( - vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModesKHR" ) ); - vkGetDeviceMemoryCommitment = - PFN_vkGetDeviceMemoryCommitment( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryCommitment" ) ); - vkGetDeviceMemoryOpaqueCaptureAddress = PFN_vkGetDeviceMemoryOpaqueCaptureAddress( - vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddress" ) ); - vkGetDeviceMemoryOpaqueCaptureAddressKHR = PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR( - vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddressKHR" ) ); - if ( !vkGetDeviceMemoryOpaqueCaptureAddress ) - vkGetDeviceMemoryOpaqueCaptureAddress = vkGetDeviceMemoryOpaqueCaptureAddressKHR; - vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetDeviceProcAddr( device, "vkGetDeviceProcAddr" ) ); - vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ) ); - vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ) ); - vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) ); - vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) ); - vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetFenceWin32HandleKHR = - PFN_vkGetFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetFenceWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkGetGeneratedCommandsMemoryRequirementsNV = PFN_vkGetGeneratedCommandsMemoryRequirementsNV( - vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsNV" ) ); - vkGetImageDrmFormatModifierPropertiesEXT = PFN_vkGetImageDrmFormatModifierPropertiesEXT( - vkGetDeviceProcAddr( device, "vkGetImageDrmFormatModifierPropertiesEXT" ) ); - vkGetImageMemoryRequirements = - PFN_vkGetImageMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements" ) ); - vkGetImageMemoryRequirements2 = - PFN_vkGetImageMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2" ) ); - vkGetImageMemoryRequirements2KHR = - PFN_vkGetImageMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2KHR" ) ); - if ( !vkGetImageMemoryRequirements2 ) - vkGetImageMemoryRequirements2 = vkGetImageMemoryRequirements2KHR; - vkGetImageSparseMemoryRequirements = - PFN_vkGetImageSparseMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements" ) ); - vkGetImageSparseMemoryRequirements2 = - PFN_vkGetImageSparseMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2" ) ); - vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR( - vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2KHR" ) ); - if ( !vkGetImageSparseMemoryRequirements2 ) - vkGetImageSparseMemoryRequirements2 = vkGetImageSparseMemoryRequirements2KHR; - vkGetImageSubresourceLayout = - PFN_vkGetImageSubresourceLayout( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout" ) ); - vkGetImageViewAddressNVX = - PFN_vkGetImageViewAddressNVX( vkGetDeviceProcAddr( device, "vkGetImageViewAddressNVX" ) ); - vkGetImageViewHandleNVX = PFN_vkGetImageViewHandleNVX( vkGetDeviceProcAddr( device, "vkGetImageViewHandleNVX" ) ); -#if defined( VK_USE_PLATFORM_ANDROID_KHR ) - vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID( - vkGetDeviceProcAddr( device, "vkGetMemoryAndroidHardwareBufferANDROID" ) ); -#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ - vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdKHR" ) ); - vkGetMemoryFdPropertiesKHR = - PFN_vkGetMemoryFdPropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ) ); - vkGetMemoryHostPointerPropertiesEXT = - PFN_vkGetMemoryHostPointerPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandleKHR = - PFN_vkGetMemoryWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandleNV = - PFN_vkGetMemoryWin32HandleNV( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleNV" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetMemoryWin32HandlePropertiesKHR = - PFN_vkGetMemoryWin32HandlePropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandlePropertiesKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetMemoryZirconHandleFUCHSIA = - PFN_vkGetMemoryZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetMemoryZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetMemoryZirconHandlePropertiesFUCHSIA = PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA( - vkGetDeviceProcAddr( device, "vkGetMemoryZirconHandlePropertiesFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkGetPastPresentationTimingGOOGLE = - PFN_vkGetPastPresentationTimingGOOGLE( vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingGOOGLE" ) ); - vkGetPerformanceParameterINTEL = - PFN_vkGetPerformanceParameterINTEL( vkGetDeviceProcAddr( device, "vkGetPerformanceParameterINTEL" ) ); - vkGetPipelineCacheData = PFN_vkGetPipelineCacheData( vkGetDeviceProcAddr( device, "vkGetPipelineCacheData" ) ); - vkGetPipelineExecutableInternalRepresentationsKHR = PFN_vkGetPipelineExecutableInternalRepresentationsKHR( - vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ) ); - vkGetPipelineExecutablePropertiesKHR = PFN_vkGetPipelineExecutablePropertiesKHR( - vkGetDeviceProcAddr( device, "vkGetPipelineExecutablePropertiesKHR" ) ); - vkGetPipelineExecutableStatisticsKHR = PFN_vkGetPipelineExecutableStatisticsKHR( - vkGetDeviceProcAddr( device, "vkGetPipelineExecutableStatisticsKHR" ) ); - vkGetPrivateDataEXT = PFN_vkGetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkGetPrivateDataEXT" ) ); - vkGetQueryPoolResults = PFN_vkGetQueryPoolResults( vkGetDeviceProcAddr( device, "vkGetQueryPoolResults" ) ); - vkGetQueueCheckpointData2NV = - PFN_vkGetQueueCheckpointData2NV( vkGetDeviceProcAddr( device, "vkGetQueueCheckpointData2NV" ) ); - vkGetQueueCheckpointDataNV = - PFN_vkGetQueueCheckpointDataNV( vkGetDeviceProcAddr( device, "vkGetQueueCheckpointDataNV" ) ); - vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) ); - vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR( - vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ) ); - vkGetRayTracingShaderGroupHandlesNV = - PFN_vkGetRayTracingShaderGroupHandlesNV( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesNV" ) ); - if ( !vkGetRayTracingShaderGroupHandlesKHR ) - vkGetRayTracingShaderGroupHandlesKHR = vkGetRayTracingShaderGroupHandlesNV; - vkGetRayTracingShaderGroupStackSizeKHR = PFN_vkGetRayTracingShaderGroupStackSizeKHR( - vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupStackSizeKHR" ) ); - vkGetRefreshCycleDurationGOOGLE = - PFN_vkGetRefreshCycleDurationGOOGLE( vkGetDeviceProcAddr( device, "vkGetRefreshCycleDurationGOOGLE" ) ); - vkGetRenderAreaGranularity = - PFN_vkGetRenderAreaGranularity( vkGetDeviceProcAddr( device, "vkGetRenderAreaGranularity" ) ); - vkGetSemaphoreCounterValue = - PFN_vkGetSemaphoreCounterValue( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValue" ) ); - vkGetSemaphoreCounterValueKHR = - PFN_vkGetSemaphoreCounterValueKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValueKHR" ) ); - if ( !vkGetSemaphoreCounterValue ) - vkGetSemaphoreCounterValue = vkGetSemaphoreCounterValueKHR; - vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkGetSemaphoreWin32HandleKHR = - PFN_vkGetSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkGetSemaphoreZirconHandleFUCHSIA = - PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetSemaphoreZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ) ); - vkGetSwapchainCounterEXT = - PFN_vkGetSwapchainCounterEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ) ); - vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ) ); - vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainStatusKHR" ) ); - vkGetValidationCacheDataEXT = - PFN_vkGetValidationCacheDataEXT( vkGetDeviceProcAddr( device, "vkGetValidationCacheDataEXT" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkGetVideoSessionMemoryRequirementsKHR = PFN_vkGetVideoSessionMemoryRequirementsKHR( - vkGetDeviceProcAddr( device, "vkGetVideoSessionMemoryRequirementsKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkImportFenceFdKHR = PFN_vkImportFenceFdKHR( vkGetDeviceProcAddr( device, "vkImportFenceFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkImportFenceWin32HandleKHR = - PFN_vkImportFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportFenceWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreFdKHR" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkImportSemaphoreWin32HandleKHR = - PFN_vkImportSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreWin32HandleKHR" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ -#if defined( VK_USE_PLATFORM_FUCHSIA ) - vkImportSemaphoreZirconHandleFUCHSIA = PFN_vkImportSemaphoreZirconHandleFUCHSIA( - vkGetDeviceProcAddr( device, "vkImportSemaphoreZirconHandleFUCHSIA" ) ); -#endif /*VK_USE_PLATFORM_FUCHSIA*/ - vkInitializePerformanceApiINTEL = - PFN_vkInitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkInitializePerformanceApiINTEL" ) ); - vkInvalidateMappedMemoryRanges = - PFN_vkInvalidateMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkInvalidateMappedMemoryRanges" ) ); - vkMapMemory = PFN_vkMapMemory( vkGetDeviceProcAddr( device, "vkMapMemory" ) ); - vkMergePipelineCaches = PFN_vkMergePipelineCaches( vkGetDeviceProcAddr( device, "vkMergePipelineCaches" ) ); - vkMergeValidationCachesEXT = - PFN_vkMergeValidationCachesEXT( vkGetDeviceProcAddr( device, "vkMergeValidationCachesEXT" ) ); - vkQueueBeginDebugUtilsLabelEXT = - PFN_vkQueueBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueBeginDebugUtilsLabelEXT" ) ); - vkQueueBindSparse = PFN_vkQueueBindSparse( vkGetDeviceProcAddr( device, "vkQueueBindSparse" ) ); - vkQueueEndDebugUtilsLabelEXT = - PFN_vkQueueEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueEndDebugUtilsLabelEXT" ) ); - vkQueueInsertDebugUtilsLabelEXT = - PFN_vkQueueInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueInsertDebugUtilsLabelEXT" ) ); - vkQueuePresentKHR = PFN_vkQueuePresentKHR( vkGetDeviceProcAddr( device, "vkQueuePresentKHR" ) ); - vkQueueSetPerformanceConfigurationINTEL = PFN_vkQueueSetPerformanceConfigurationINTEL( - vkGetDeviceProcAddr( device, "vkQueueSetPerformanceConfigurationINTEL" ) ); - vkQueueSubmit = PFN_vkQueueSubmit( vkGetDeviceProcAddr( device, "vkQueueSubmit" ) ); - vkQueueSubmit2KHR = PFN_vkQueueSubmit2KHR( vkGetDeviceProcAddr( device, "vkQueueSubmit2KHR" ) ); - vkQueueWaitIdle = PFN_vkQueueWaitIdle( vkGetDeviceProcAddr( device, "vkQueueWaitIdle" ) ); - vkRegisterDeviceEventEXT = - PFN_vkRegisterDeviceEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDeviceEventEXT" ) ); - vkRegisterDisplayEventEXT = - PFN_vkRegisterDisplayEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDisplayEventEXT" ) ); -#if defined( VK_USE_PLATFORM_WIN32_KHR ) - vkReleaseFullScreenExclusiveModeEXT = - PFN_vkReleaseFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkReleaseFullScreenExclusiveModeEXT" ) ); -#endif /*VK_USE_PLATFORM_WIN32_KHR*/ - vkReleasePerformanceConfigurationINTEL = PFN_vkReleasePerformanceConfigurationINTEL( - vkGetDeviceProcAddr( device, "vkReleasePerformanceConfigurationINTEL" ) ); - vkReleaseProfilingLockKHR = - PFN_vkReleaseProfilingLockKHR( vkGetDeviceProcAddr( device, "vkReleaseProfilingLockKHR" ) ); - vkResetCommandBuffer = PFN_vkResetCommandBuffer( vkGetDeviceProcAddr( device, "vkResetCommandBuffer" ) ); - vkResetCommandPool = PFN_vkResetCommandPool( vkGetDeviceProcAddr( device, "vkResetCommandPool" ) ); - vkResetDescriptorPool = PFN_vkResetDescriptorPool( vkGetDeviceProcAddr( device, "vkResetDescriptorPool" ) ); - vkResetEvent = PFN_vkResetEvent( vkGetDeviceProcAddr( device, "vkResetEvent" ) ); - vkResetFences = PFN_vkResetFences( vkGetDeviceProcAddr( device, "vkResetFences" ) ); - vkResetQueryPool = PFN_vkResetQueryPool( vkGetDeviceProcAddr( device, "vkResetQueryPool" ) ); - vkResetQueryPoolEXT = PFN_vkResetQueryPoolEXT( vkGetDeviceProcAddr( device, "vkResetQueryPoolEXT" ) ); - if ( !vkResetQueryPool ) - vkResetQueryPool = vkResetQueryPoolEXT; - vkSetDebugUtilsObjectNameEXT = - PFN_vkSetDebugUtilsObjectNameEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" ) ); - vkSetDebugUtilsObjectTagEXT = - PFN_vkSetDebugUtilsObjectTagEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectTagEXT" ) ); - vkSetEvent = PFN_vkSetEvent( vkGetDeviceProcAddr( device, "vkSetEvent" ) ); - vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT( vkGetDeviceProcAddr( device, "vkSetHdrMetadataEXT" ) ); - vkSetLocalDimmingAMD = PFN_vkSetLocalDimmingAMD( vkGetDeviceProcAddr( device, "vkSetLocalDimmingAMD" ) ); - vkSetPrivateDataEXT = PFN_vkSetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkSetPrivateDataEXT" ) ); - vkSignalSemaphore = PFN_vkSignalSemaphore( vkGetDeviceProcAddr( device, "vkSignalSemaphore" ) ); - vkSignalSemaphoreKHR = PFN_vkSignalSemaphoreKHR( vkGetDeviceProcAddr( device, "vkSignalSemaphoreKHR" ) ); - if ( !vkSignalSemaphore ) - vkSignalSemaphore = vkSignalSemaphoreKHR; - vkTrimCommandPool = PFN_vkTrimCommandPool( vkGetDeviceProcAddr( device, "vkTrimCommandPool" ) ); - vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR( vkGetDeviceProcAddr( device, "vkTrimCommandPoolKHR" ) ); - if ( !vkTrimCommandPool ) - vkTrimCommandPool = vkTrimCommandPoolKHR; - vkUninitializePerformanceApiINTEL = - PFN_vkUninitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkUninitializePerformanceApiINTEL" ) ); - vkUnmapMemory = PFN_vkUnmapMemory( vkGetDeviceProcAddr( device, "vkUnmapMemory" ) ); - vkUpdateDescriptorSetWithTemplate = - PFN_vkUpdateDescriptorSetWithTemplate( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplate" ) ); - vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR( - vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplateKHR" ) ); - if ( !vkUpdateDescriptorSetWithTemplate ) - vkUpdateDescriptorSetWithTemplate = vkUpdateDescriptorSetWithTemplateKHR; - vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSets" ) ); -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - vkUpdateVideoSessionParametersKHR = - PFN_vkUpdateVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkUpdateVideoSessionParametersKHR" ) ); -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - vkWaitForFences = PFN_vkWaitForFences( vkGetDeviceProcAddr( device, "vkWaitForFences" ) ); - vkWaitSemaphores = PFN_vkWaitSemaphores( vkGetDeviceProcAddr( device, "vkWaitSemaphores" ) ); - vkWaitSemaphoresKHR = PFN_vkWaitSemaphoresKHR( vkGetDeviceProcAddr( device, "vkWaitSemaphoresKHR" ) ); - if ( !vkWaitSemaphores ) - vkWaitSemaphores = vkWaitSemaphoresKHR; - vkWriteAccelerationStructuresPropertiesKHR = PFN_vkWriteAccelerationStructuresPropertiesKHR( - vkGetDeviceProcAddr( device, "vkWriteAccelerationStructuresPropertiesKHR" ) ); - } - }; - -} // namespace VULKAN_HPP_NAMESPACE - -namespace std -{ - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR const & accelerationStructureKHR ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( accelerationStructureKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::AccelerationStructureNV const & accelerationStructureNV ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( accelerationStructureNV ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Buffer const & buffer ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( buffer ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::BufferView const & bufferView ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( bufferView ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::CommandBuffer const & commandBuffer ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( commandBuffer ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::CommandPool const & commandPool ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( commandPool ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::CuFunctionNVX const & cuFunctionNVX ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( cuFunctionNVX ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::CuModuleNVX const & cuModuleNVX ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( cuModuleNVX ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT const & debugReportCallbackEXT ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( debugReportCallbackEXT ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT const & debugUtilsMessengerEXT ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( debugUtilsMessengerEXT ) ); - } - }; - - template <> - struct hash - { - std::size_t - operator()( VULKAN_HPP_NAMESPACE::DeferredOperationKHR const & deferredOperationKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( deferredOperationKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DescriptorPool const & descriptorPool ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( descriptorPool ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DescriptorSet const & descriptorSet ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( descriptorSet ) ); - } - }; - - template <> - struct hash - { - std::size_t - operator()( VULKAN_HPP_NAMESPACE::DescriptorSetLayout const & descriptorSetLayout ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( descriptorSetLayout ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate const & descriptorUpdateTemplate ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( descriptorUpdateTemplate ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Device const & device ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( device ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DeviceMemory const & deviceMemory ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( deviceMemory ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DisplayKHR const & displayKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( displayKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::DisplayModeKHR const & displayModeKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( displayModeKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Event const & event ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( event ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Fence const & fence ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( fence ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Framebuffer const & framebuffer ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( framebuffer ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Image const & image ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( image ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::ImageView const & imageView ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( imageView ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV const & indirectCommandsLayoutNV ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( indirectCommandsLayoutNV ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Instance const & instance ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( instance ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL const & performanceConfigurationINTEL ) - const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( performanceConfigurationINTEL ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDevice const & physicalDevice ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( physicalDevice ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Pipeline const & pipeline ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( pipeline ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::PipelineCache const & pipelineCache ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( pipelineCache ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::PipelineLayout const & pipelineLayout ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( pipelineLayout ) ); - } - }; - - template <> - struct hash - { - std::size_t - operator()( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT const & privateDataSlotEXT ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( privateDataSlotEXT ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::QueryPool const & queryPool ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( queryPool ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Queue const & queue ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( queue ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::RenderPass const & renderPass ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( renderPass ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Sampler const & sampler ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( sampler ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion const & samplerYcbcrConversion ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( samplerYcbcrConversion ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::Semaphore const & semaphore ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( semaphore ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::ShaderModule const & shaderModule ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( shaderModule ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::SurfaceKHR const & surfaceKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( surfaceKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::SwapchainKHR const & swapchainKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( swapchainKHR ) ); - } - }; - - template <> - struct hash - { - std::size_t - operator()( VULKAN_HPP_NAMESPACE::ValidationCacheEXT const & validationCacheEXT ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( validationCacheEXT ) ); - } - }; - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::VideoSessionKHR const & videoSessionKHR ) const VULKAN_HPP_NOEXCEPT - { - return std::hash{}( static_cast( videoSessionKHR ) ); - } - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ - -#if defined( VK_ENABLE_BETA_EXTENSIONS ) - template <> - struct hash - { - std::size_t operator()( VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR const & videoSessionParametersKHR ) const - VULKAN_HPP_NOEXCEPT - { - return std::hash{}( - static_cast( videoSessionParametersKHR ) ); - } - }; -#endif /*VK_ENABLE_BETA_EXTENSIONS*/ -} // namespace std -#endif diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_screen.h b/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_screen.h deleted file mode 100644 index 92ad9bfab414..000000000000 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_screen.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef VULKAN_SCREEN_H_ -#define VULKAN_SCREEN_H_ 1 - -/* -** Copyright 2015-2021 The Khronos Group Inc. -** -** SPDX-License-Identifier: Apache-2.0 -*/ - -/* -** This header is generated from the Khronos Vulkan XML API Registry. -** -*/ - - -#ifdef __cplusplus -extern "C" { -#endif - - - -#define VK_QNX_screen_surface 1 -#define VK_QNX_SCREEN_SURFACE_SPEC_VERSION 1 -#define VK_QNX_SCREEN_SURFACE_EXTENSION_NAME "VK_QNX_screen_surface" -typedef VkFlags VkScreenSurfaceCreateFlagsQNX; -typedef struct VkScreenSurfaceCreateInfoQNX { - VkStructureType sType; - const void* pNext; - VkScreenSurfaceCreateFlagsQNX flags; - struct _screen_context* context; - struct _screen_window* window; -} VkScreenSurfaceCreateInfoQNX; - -typedef VkResult (VKAPI_PTR *PFN_vkCreateScreenSurfaceQNX)(VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); -typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct _screen_window* window); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR VkResult VKAPI_CALL vkCreateScreenSurfaceQNX( - VkInstance instance, - const VkScreenSurfaceCreateInfoQNX* pCreateInfo, - const VkAllocationCallbacks* pAllocator, - VkSurfaceKHR* pSurface); - -VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceScreenPresentationSupportQNX( - VkPhysicalDevice physicalDevice, - uint32_t queueFamilyIndex, - struct _screen_window* window); -#endif - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_icd.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_icd.h similarity index 94% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_icd.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_icd.h index ae006d06d139..fde5bf6214bd 100644 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_icd.h +++ b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_icd.h @@ -121,8 +121,6 @@ typedef enum { VK_ICD_WSI_PLATFORM_METAL, VK_ICD_WSI_PLATFORM_DIRECTFB, VK_ICD_WSI_PLATFORM_VI, - VK_ICD_WSI_PLATFORM_GGP, - VK_ICD_WSI_PLATFORM_SCREEN, } VkIcdWsiPlatform; typedef struct { @@ -198,13 +196,6 @@ typedef struct { } VkIcdSurfaceIOS; #endif // VK_USE_PLATFORM_IOS_MVK -#ifdef VK_USE_PLATFORM_GGP -typedef struct { - VkIcdSurfaceBase base; - GgpStreamDescriptor streamDescriptor; -} VkIcdSurfaceGgp; -#endif // VK_USE_PLATFORM_GGP - typedef struct { VkIcdSurfaceBase base; VkDisplayModeKHR displayMode; @@ -234,12 +225,4 @@ typedef struct { } VkIcdSurfaceVi; #endif // VK_USE_PLATFORM_VI_NN -#ifdef VK_USE_PLATFORM_SCREEN_QNX -typedef struct { - VkIcdSurfaceBase base; - struct _screen_context *context; - struct _screen_window *window; -} VkIcdSurfaceScreen; -#endif // VK_USE_PLATFORM_SCREEN_QNX - #endif // VKICD_H diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_layer.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_layer.h similarity index 100% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_layer.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_layer.h diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_platform.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_platform.h similarity index 95% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_platform.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_platform.h index 18b913abc6ad..048322d93b73 100644 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_platform.h +++ b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_platform.h @@ -2,7 +2,7 @@ // File: vk_platform.h // /* -** Copyright 2014-2021 The Khronos Group Inc. +** Copyright (c) 2014-2020 The Khronos Group Inc. ** ** SPDX-License-Identifier: Apache-2.0 */ @@ -58,9 +58,7 @@ extern "C" #define VKAPI_PTR #endif -#if !defined(VK_NO_STDDEF_H) - #include -#endif // !defined(VK_NO_STDDEF_H) +#include #if !defined(VK_NO_STDINT_H) #if defined(_MSC_VER) && (_MSC_VER < 1600) diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_sdk_platform.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_sdk_platform.h similarity index 100% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vk_sdk_platform.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vk_sdk_platform.h diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.h similarity index 90% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.h index b187c9c178b6..b7716ec8eac0 100644 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.h +++ b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.h @@ -2,7 +2,7 @@ #define VULKAN_H_ 1 /* -** Copyright 2015-2021 The Khronos Group Inc. +** Copyright (c) 2015-2020 The Khronos Group Inc. ** ** SPDX-License-Identifier: Apache-2.0 */ @@ -80,12 +80,6 @@ #endif -#ifdef VK_USE_PLATFORM_SCREEN_QNX -#include -#include "vulkan_screen.h" -#endif - - #ifdef VK_ENABLE_BETA_EXTENSIONS #include "vulkan_beta.h" #endif diff --git a/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.hpp b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.hpp new file mode 100644 index 000000000000..9ca2fd61ec99 --- /dev/null +++ b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan.hpp @@ -0,0 +1,94266 @@ +// Copyright (c) 2015-2020 The Khronos Group Inc. +// +// SPDX-License-Identifier: Apache-2.0 OR MIT +// + +// This header is generated from the Khronos Vulkan XML API Registry. + +#ifndef VULKAN_HPP +#define VULKAN_HPP + +#if defined( _MSVC_LANG ) +# define VULKAN_HPP_CPLUSPLUS _MSVC_LANG +#else +# define VULKAN_HPP_CPLUSPLUS __cplusplus +#endif + +#if 201703L < VULKAN_HPP_CPLUSPLUS +# define VULKAN_HPP_CPP_VERSION 20 +#elif 201402L < VULKAN_HPP_CPLUSPLUS +# define VULKAN_HPP_CPP_VERSION 17 +#elif 201103L < VULKAN_HPP_CPLUSPLUS +# define VULKAN_HPP_CPP_VERSION 14 +#elif 199711L < VULKAN_HPP_CPLUSPLUS +# define VULKAN_HPP_CPP_VERSION 11 +#else +# error "vulkan.hpp needs at least c++ standard version 11" +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if 17 <= VULKAN_HPP_CPP_VERSION +#include +#endif + +#if defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +# if !defined(VULKAN_HPP_NO_SMART_HANDLE) +# define VULKAN_HPP_NO_SMART_HANDLE +# endif +#else +# include +# include +#endif + +#if !defined(VULKAN_HPP_ASSERT) +# include +# define VULKAN_HPP_ASSERT assert +#endif + +#if !defined(VULKAN_HPP_ASSERT_ON_RESULT) +# define VULKAN_HPP_ASSERT_ON_RESULT VULKAN_HPP_ASSERT +#endif + +#if !defined(VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL) +# define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 1 +#endif + +#if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL == 1 +# if defined( __linux__ ) || defined( __APPLE__ ) +# include +# elif defined( _WIN32 ) +typedef struct HINSTANCE__ * HINSTANCE; +# if defined( _WIN64 ) +typedef int64_t( __stdcall * FARPROC )(); +# else +typedef int( __stdcall * FARPROC )(); +# endif +extern "C" __declspec( dllimport ) HINSTANCE __stdcall LoadLibraryA( char const * lpLibFileName ); +extern "C" __declspec( dllimport ) int __stdcall FreeLibrary( HINSTANCE hLibModule ); +extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE hModule, const char * lpProcName ); +# endif +#endif + +#if !defined(__has_include) +# define __has_include(x) false +#endif + +#if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( ) +# define VULKAN_HPP_HAS_SPACESHIP_OPERATOR +#endif +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) +# include +#endif + + +static_assert( VK_HEADER_VERSION == 160 , "Wrong VK_HEADER_VERSION!" ); + +// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default. +// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION +#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__) +# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION ) +# define VULKAN_HPP_TYPESAFE_CONVERSION +# endif +#endif + +// includes through some other header +// this results in major(x) being resolved to gnu_dev_major(x) +// which is an expression in a constructor initializer list. +#if defined(major) + #undef major +#endif +#if defined(minor) + #undef minor +#endif + +// Windows defines MemoryBarrier which is deprecated and collides +// with the VULKAN_HPP_NAMESPACE::MemoryBarrier struct. +#if defined(MemoryBarrier) + #undef MemoryBarrier +#endif + +#if !defined(VULKAN_HPP_HAS_UNRESTRICTED_UNIONS) +# if defined(__clang__) +# if __has_feature(cxx_unrestricted_unions) +# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS +# endif +# elif defined(__GNUC__) +# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) +# if 40600 <= GCC_VERSION +# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS +# endif +# elif defined(_MSC_VER) +# if 1900 <= _MSC_VER +# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS +# endif +# endif +#endif + +#if !defined(VULKAN_HPP_INLINE) +# if defined(__clang__) +# if __has_attribute(always_inline) +# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__ +# else +# define VULKAN_HPP_INLINE inline +# endif +# elif defined(__GNUC__) +# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__ +# elif defined(_MSC_VER) +# define VULKAN_HPP_INLINE inline +# else +# define VULKAN_HPP_INLINE inline +# endif +#endif + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) +# define VULKAN_HPP_TYPESAFE_EXPLICIT +#else +# define VULKAN_HPP_TYPESAFE_EXPLICIT explicit +#endif + +#if defined(__cpp_constexpr) +# define VULKAN_HPP_CONSTEXPR constexpr +# if __cpp_constexpr >= 201304 +# define VULKAN_HPP_CONSTEXPR_14 constexpr +# else +# define VULKAN_HPP_CONSTEXPR_14 +# endif +# define VULKAN_HPP_CONST_OR_CONSTEXPR constexpr +#else +# define VULKAN_HPP_CONSTEXPR +# define VULKAN_HPP_CONSTEXPR_14 +# define VULKAN_HPP_CONST_OR_CONSTEXPR const +#endif + +#if !defined(VULKAN_HPP_NOEXCEPT) +# if defined(_MSC_VER) && (_MSC_VER <= 1800) +# define VULKAN_HPP_NOEXCEPT +# else +# define VULKAN_HPP_NOEXCEPT noexcept +# define VULKAN_HPP_HAS_NOEXCEPT 1 +# if defined(VULKAN_HPP_NO_EXCEPTIONS) +# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS noexcept +# else +# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS +# endif +# endif +#endif + +#if 14 <= VULKAN_HPP_CPP_VERSION +# define VULKAN_HPP_DEPRECATED( msg ) [[deprecated( msg )]] +#else +# define VULKAN_HPP_DEPRECATED( msg ) +#endif + +#if ( 17 <= VULKAN_HPP_CPP_VERSION ) && !defined( VULKAN_HPP_NO_NODISCARD_WARNINGS ) +# define VULKAN_HPP_NODISCARD [[nodiscard]] +# if defined(VULKAN_HPP_NO_EXCEPTIONS) +# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS [[nodiscard]] +# else +# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS +# endif +#else +# define VULKAN_HPP_NODISCARD +# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS +#endif + +#if !defined(VULKAN_HPP_NAMESPACE) +#define VULKAN_HPP_NAMESPACE vk +#endif + +#define VULKAN_HPP_STRINGIFY2(text) #text +#define VULKAN_HPP_STRINGIFY(text) VULKAN_HPP_STRINGIFY2(text) +#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY(VULKAN_HPP_NAMESPACE) + +namespace VULKAN_HPP_NAMESPACE +{ + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + class ArrayProxy + { + public: + VULKAN_HPP_CONSTEXPR ArrayProxy() VULKAN_HPP_NOEXCEPT + : m_count( 0 ) + , m_ptr( nullptr ) + {} + + VULKAN_HPP_CONSTEXPR ArrayProxy( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_count( 0 ) + , m_ptr( nullptr ) + {} + + ArrayProxy( T & value ) VULKAN_HPP_NOEXCEPT + : m_count( 1 ) + , m_ptr( &value ) + {} + + template ::value, int>::type = 0> + ArrayProxy( typename std::remove_const::type & value ) VULKAN_HPP_NOEXCEPT + : m_count( 1 ) + , m_ptr( &value ) + {} + + ArrayProxy( uint32_t count, T * ptr ) VULKAN_HPP_NOEXCEPT + : m_count( count ) + , m_ptr( ptr ) + {} + + template ::value, int>::type = 0> + ArrayProxy( uint32_t count, typename std::remove_const::type * ptr ) VULKAN_HPP_NOEXCEPT + : m_count( count ) + , m_ptr( ptr ) + {} + + ArrayProxy( std::initializer_list const & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + template ::value, int>::type = 0> + ArrayProxy( std::initializer_list::type> const & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + ArrayProxy( std::initializer_list & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + template ::value, int>::type = 0> + ArrayProxy( std::initializer_list::type> & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + template + ArrayProxy( std::array const & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template ::value, int>::type = 0> + ArrayProxy( std::array::type, N> const & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template + ArrayProxy( std::array & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template ::value, int>::type = 0> + ArrayProxy( std::array::type, N> & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template ::type>> + ArrayProxy( std::vector const & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>, + typename B = T, + typename std::enable_if::value, int>::type = 0> + ArrayProxy( std::vector::type, Allocator> const & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>> + ArrayProxy( std::vector & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>, + typename B = T, + typename std::enable_if::value, int>::type = 0> + ArrayProxy( std::vector::type, Allocator> & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + const T * begin() const VULKAN_HPP_NOEXCEPT + { + return m_ptr; + } + + const T * end() const VULKAN_HPP_NOEXCEPT + { + return m_ptr + m_count; + } + + const T & front() const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_count && m_ptr ); + return *m_ptr; + } + + const T & back() const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_count && m_ptr ); + return *( m_ptr + m_count - 1 ); + } + + bool empty() const VULKAN_HPP_NOEXCEPT + { + return ( m_count == 0 ); + } + + uint32_t size() const VULKAN_HPP_NOEXCEPT + { + return m_count; + } + + T * data() const VULKAN_HPP_NOEXCEPT + { + return m_ptr; + } + + private: + uint32_t m_count; + T * m_ptr; + }; + + template + class ArrayProxyNoTemporaries + { + public: + VULKAN_HPP_CONSTEXPR ArrayProxyNoTemporaries() VULKAN_HPP_NOEXCEPT + : m_count( 0 ) + , m_ptr( nullptr ) + {} + + VULKAN_HPP_CONSTEXPR ArrayProxyNoTemporaries( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_count( 0 ) + , m_ptr( nullptr ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( typename std::remove_const::type & value ) VULKAN_HPP_NOEXCEPT + : m_count( 1 ) + , m_ptr( &value ) + {} + + ArrayProxyNoTemporaries( uint32_t count, T * ptr ) VULKAN_HPP_NOEXCEPT + : m_count( count ) + , m_ptr( ptr ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( uint32_t count, typename std::remove_const::type * ptr ) VULKAN_HPP_NOEXCEPT + : m_count( count ) + , m_ptr( ptr ) + {} + + ArrayProxyNoTemporaries( std::initializer_list const & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( std::initializer_list::type> const & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + ArrayProxyNoTemporaries( std::initializer_list & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( std::initializer_list::type> & list ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( list.size() ) ) + , m_ptr( list.begin() ) + {} + + ArrayProxyNoTemporaries( std::initializer_list const && list ) VULKAN_HPP_NOEXCEPT = delete; + ArrayProxyNoTemporaries( std::initializer_list && list ) VULKAN_HPP_NOEXCEPT = delete; + + template + ArrayProxyNoTemporaries( std::array const & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( std::array::type, N> const & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template + ArrayProxyNoTemporaries( std::array & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template ::value, int>::type = 0> + ArrayProxyNoTemporaries( std::array::type, N> & data ) VULKAN_HPP_NOEXCEPT + : m_count( N ) + , m_ptr( data.data() ) + {} + + template + ArrayProxyNoTemporaries( std::array const && data ) VULKAN_HPP_NOEXCEPT = delete; + template + ArrayProxyNoTemporaries( std::array && data ) VULKAN_HPP_NOEXCEPT = delete; + + template ::type>> + ArrayProxyNoTemporaries( std::vector const & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>, + typename B = T, + typename std::enable_if::value, int>::type = 0> + ArrayProxyNoTemporaries( std::vector::type, Allocator> const & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>> + ArrayProxyNoTemporaries( std::vector & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + template ::type>, + typename B = T, + typename std::enable_if::value, int>::type = 0> + ArrayProxyNoTemporaries( std::vector::type, Allocator> & data ) VULKAN_HPP_NOEXCEPT + : m_count( static_cast( data.size() ) ) + , m_ptr( data.data() ) + {} + + ArrayProxyNoTemporaries( std::vector const && data ) VULKAN_HPP_NOEXCEPT = delete; + ArrayProxyNoTemporaries( std::vector && data ) VULKAN_HPP_NOEXCEPT = delete; + + const T * begin() const VULKAN_HPP_NOEXCEPT + { + return m_ptr; + } + + const T * end() const VULKAN_HPP_NOEXCEPT + { + return m_ptr + m_count; + } + + const T & front() const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_count && m_ptr ); + return *m_ptr; + } + + const T & back() const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_count && m_ptr ); + return *( m_ptr + m_count - 1 ); + } + + bool empty() const VULKAN_HPP_NOEXCEPT + { + return ( m_count == 0 ); + } + + uint32_t size() const VULKAN_HPP_NOEXCEPT + { + return m_count; + } + + T * data() const VULKAN_HPP_NOEXCEPT + { + return m_ptr; + } + + private: + uint32_t m_count; + T * m_ptr; + }; +#endif + + template + class ArrayWrapper1D : public std::array + { + public: + VULKAN_HPP_CONSTEXPR ArrayWrapper1D() VULKAN_HPP_NOEXCEPT + : std::array() + {} + + VULKAN_HPP_CONSTEXPR ArrayWrapper1D(std::array const& data) VULKAN_HPP_NOEXCEPT + : std::array(data) + {} + +#if defined(_WIN32) && !defined(_WIN64) + VULKAN_HPP_CONSTEXPR T const& operator[](int index) const VULKAN_HPP_NOEXCEPT + { + return std::array::operator[](index); + } + + T & operator[](int index) VULKAN_HPP_NOEXCEPT + { + return std::array::operator[](index); + } +#endif + + operator T const* () const VULKAN_HPP_NOEXCEPT + { + return this->data(); + } + + operator T * () VULKAN_HPP_NOEXCEPT + { + return this->data(); + } + + template ::value, int>::type = 0> + operator std::string() const + { + return std::string( this->data() ); + } + +#if 17 <= VULKAN_HPP_CPP_VERSION + template ::value, int>::type = 0> + operator std::string_view() const + { + return std::string_view( this->data() ); + } +#endif + + template ::value, int>::type = 0> + bool operator<( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) < *static_cast const *>( &rhs ); + } + + template ::value, int>::type = 0> + bool operator<=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) <= *static_cast const *>( &rhs ); + } + + template ::value, int>::type = 0> + bool operator>( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) > *static_cast const *>( &rhs ); + } + + template ::value, int>::type = 0> + bool operator>=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) >= *static_cast const *>( &rhs ); + } + + template ::value, int>::type = 0> + bool operator==( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) == *static_cast const *>( &rhs ); + } + + template ::value, int>::type = 0> + bool operator!=( ArrayWrapper1D const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return *static_cast const *>( this ) != *static_cast const *>( &rhs ); + } + }; + + // specialization of relational operators between std::string and arrays of chars + template + bool operator<(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs < rhs.data(); + } + + template + bool operator<=(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs <= rhs.data(); + } + + template + bool operator>(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs > rhs.data(); + } + + template + bool operator>=(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs >= rhs.data(); + } + + template + bool operator==(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs == rhs.data(); + } + + template + bool operator!=(std::string const& lhs, ArrayWrapper1D const& rhs) VULKAN_HPP_NOEXCEPT + { + return lhs != rhs.data(); + } + + template + class ArrayWrapper2D : public std::array,N> + { + public: + VULKAN_HPP_CONSTEXPR ArrayWrapper2D() VULKAN_HPP_NOEXCEPT + : std::array, N>() + {} + + VULKAN_HPP_CONSTEXPR ArrayWrapper2D(std::array,N> const& data) VULKAN_HPP_NOEXCEPT + : std::array, N>(*reinterpret_cast,N> const*>(&data)) + {} + }; + + template struct FlagTraits + { + enum { allFlags = 0 }; + }; + + template + class Flags + { + public: + using MaskType = typename std::underlying_type::type; + + // constructors + VULKAN_HPP_CONSTEXPR Flags() VULKAN_HPP_NOEXCEPT + : m_mask(0) + {} + + VULKAN_HPP_CONSTEXPR Flags(BitType bit) VULKAN_HPP_NOEXCEPT + : m_mask(static_cast(bit)) + {} + + VULKAN_HPP_CONSTEXPR Flags(Flags const& rhs) VULKAN_HPP_NOEXCEPT = default; + + VULKAN_HPP_CONSTEXPR explicit Flags(MaskType flags) VULKAN_HPP_NOEXCEPT + : m_mask(flags) + {} + + // relational operators +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>(Flags const&) const = default; +#else + VULKAN_HPP_CONSTEXPR bool operator<(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask < rhs.m_mask; + } + + VULKAN_HPP_CONSTEXPR bool operator<=(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask <= rhs.m_mask; + } + + VULKAN_HPP_CONSTEXPR bool operator>(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask > rhs.m_mask; + } + + VULKAN_HPP_CONSTEXPR bool operator>=(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask >= rhs.m_mask; + } + + VULKAN_HPP_CONSTEXPR bool operator==(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask == rhs.m_mask; + } + + VULKAN_HPP_CONSTEXPR bool operator!=(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return m_mask != rhs.m_mask; + } +#endif + + // logical operator + VULKAN_HPP_CONSTEXPR bool operator!() const VULKAN_HPP_NOEXCEPT + { + return !m_mask; + } + + // bitwise operators + VULKAN_HPP_CONSTEXPR Flags operator&(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return Flags(m_mask & rhs.m_mask); + } + + VULKAN_HPP_CONSTEXPR Flags operator|(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return Flags(m_mask | rhs.m_mask); + } + + VULKAN_HPP_CONSTEXPR Flags operator^(Flags const& rhs) const VULKAN_HPP_NOEXCEPT + { + return Flags(m_mask ^ rhs.m_mask); + } + + VULKAN_HPP_CONSTEXPR Flags operator~() const VULKAN_HPP_NOEXCEPT + { + return Flags(m_mask ^ FlagTraits::allFlags); + } + + // assignment operators + VULKAN_HPP_CONSTEXPR_14 Flags & operator=(Flags const& rhs) VULKAN_HPP_NOEXCEPT = default; + + VULKAN_HPP_CONSTEXPR_14 Flags & operator|=(Flags const& rhs) VULKAN_HPP_NOEXCEPT + { + m_mask |= rhs.m_mask; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 Flags & operator&=(Flags const& rhs) VULKAN_HPP_NOEXCEPT + { + m_mask &= rhs.m_mask; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 Flags & operator^=(Flags const& rhs) VULKAN_HPP_NOEXCEPT + { + m_mask ^= rhs.m_mask; + return *this; + } + + // cast operators + explicit VULKAN_HPP_CONSTEXPR operator bool() const VULKAN_HPP_NOEXCEPT + { + return !!m_mask; + } + + explicit VULKAN_HPP_CONSTEXPR operator MaskType() const VULKAN_HPP_NOEXCEPT + { + return m_mask; + } + + private: + MaskType m_mask; + }; + +#if !defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + // relational operators only needed for pre C++20 + template + VULKAN_HPP_CONSTEXPR bool operator<(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator>( bit ); + } + + template + VULKAN_HPP_CONSTEXPR bool operator<=(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator>=( bit ); + } + + template + VULKAN_HPP_CONSTEXPR bool operator>(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator<( bit ); + } + + template + VULKAN_HPP_CONSTEXPR bool operator>=(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator<=(bit); + } + + template + VULKAN_HPP_CONSTEXPR bool operator==(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator==( bit ); + } + + template + VULKAN_HPP_CONSTEXPR bool operator!=(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator!=( bit ); + } +#endif + + // bitwise operators + template + VULKAN_HPP_CONSTEXPR Flags operator&(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator&( bit ); + } + + template + VULKAN_HPP_CONSTEXPR Flags operator|(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator|( bit ); + } + + template + VULKAN_HPP_CONSTEXPR Flags operator^(BitType bit, Flags const& flags) VULKAN_HPP_NOEXCEPT + { + return flags.operator^( bit ); + } + + template + class Optional + { + public: + Optional(RefType & reference) VULKAN_HPP_NOEXCEPT { m_ptr = &reference; } + Optional(RefType * ptr) VULKAN_HPP_NOEXCEPT { m_ptr = ptr; } + Optional(std::nullptr_t) VULKAN_HPP_NOEXCEPT { m_ptr = nullptr; } + + operator RefType*() const VULKAN_HPP_NOEXCEPT { return m_ptr; } + RefType const* operator->() const VULKAN_HPP_NOEXCEPT { return m_ptr; } + explicit operator bool() const VULKAN_HPP_NOEXCEPT { return !!m_ptr; } + + private: + RefType *m_ptr; + }; + + template struct StructExtends { enum { value = false }; }; + + template + struct IsPartOfStructureChain + { + static const bool valid = false; + }; + + template + struct IsPartOfStructureChain + { + static const bool valid = std::is_same::value || IsPartOfStructureChain::valid; + }; + + template + struct StructureChainContains + { + static const bool value = std::is_same>::type>::value || + StructureChainContains::value; + }; + + template + struct StructureChainContains<0, T, ChainElements...> + { + static const bool value = std::is_same>::type>::value; + }; + + template + struct StructureChainValidation + { + using TestType = typename std::tuple_element>::type; + static const bool valid = + StructExtends>::type>::value && + ( TestType::allowDuplicate || !StructureChainContains::value ) && + StructureChainValidation::valid; + }; + + template + struct StructureChainValidation<0, ChainElements...> + { + static const bool valid = true; + }; + + template + class StructureChain : public std::tuple + { + public: + StructureChain() VULKAN_HPP_NOEXCEPT + { + static_assert( StructureChainValidation::valid, + "The structure chain is not valid!" ); + link(); + } + + StructureChain( StructureChain const & rhs ) VULKAN_HPP_NOEXCEPT : std::tuple( rhs ) + { + static_assert( StructureChainValidation::valid, + "The structure chain is not valid!" ); + link(); + } + + StructureChain( StructureChain && rhs ) VULKAN_HPP_NOEXCEPT + : std::tuple( std::forward>( rhs ) ) + { + static_assert( StructureChainValidation::valid, + "The structure chain is not valid!" ); + link(); + } + + StructureChain( ChainElements const &... elems ) VULKAN_HPP_NOEXCEPT : std::tuple( elems... ) + { + static_assert( StructureChainValidation::valid, + "The structure chain is not valid!" ); + link(); + } + + StructureChain & operator=( StructureChain const & rhs ) VULKAN_HPP_NOEXCEPT + { + std::tuple::operator=( rhs ); + link(); + return *this; + } + + StructureChain & operator=( StructureChain && rhs ) = delete; + + template >::type, size_t Which = 0> + T & get() VULKAN_HPP_NOEXCEPT + { + return std::get::value>( static_cast&>( *this ) ); + } + + template >::type, size_t Which = 0> + T const & get() const VULKAN_HPP_NOEXCEPT + { + return std::get::value>( static_cast&>( *this ) ); + } + + template + std::tuple get() VULKAN_HPP_NOEXCEPT + { + return std::tie( get(), get(), get()... ); + } + + template + std::tuple get() const VULKAN_HPP_NOEXCEPT + { + return std::tie( get(), get(), get()... ); + } + + template + void relink() VULKAN_HPP_NOEXCEPT + { + static_assert( IsPartOfStructureChain::valid, + "Can't relink Structure that's not part of this StructureChain!" ); + static_assert( + !std::is_same>::type>::value || (Which != 0), + "It's not allowed to have the first element unlinked!" ); + + auto pNext = reinterpret_cast( &get() ); + VULKAN_HPP_ASSERT( !isLinked( pNext ) ); + auto & headElement = std::get<0>( static_cast&>( *this ) ); + pNext->pNext = reinterpret_cast(headElement.pNext); + headElement.pNext = pNext; + } + + template + void unlink() VULKAN_HPP_NOEXCEPT + { + static_assert( IsPartOfStructureChain::valid, + "Can't unlink Structure that's not part of this StructureChain!" ); + static_assert( + !std::is_same>::type>::value || (Which != 0), + "It's not allowed to unlink the first element!" ); + + unlink( reinterpret_cast( &get() ) ); + } + + private: + template + struct ChainElementIndex : ChainElementIndex + {}; + + template + struct ChainElementIndex::value, void>::type, + First, + Types...> : ChainElementIndex + {}; + + template + struct ChainElementIndex::value, void>::type, + First, + Types...> : ChainElementIndex + {}; + + template + struct ChainElementIndex::value, void>::type, + First, + Types...> : std::integral_constant + {}; + + bool isLinked( VkBaseInStructure const * pNext ) + { + VkBaseInStructure const * elementPtr = reinterpret_cast(&std::get<0>( static_cast&>( *this ) ) ); + while ( elementPtr ) + { + if ( elementPtr->pNext == pNext ) + { + return true; + } + elementPtr = elementPtr->pNext; + } + return false; + } + + template + typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT + { + auto & x = std::get( static_cast&>( *this ) ); + x.pNext = &std::get( static_cast&>( *this ) ); + link(); + } + + template + typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT + {} + + template + typename std::enable_if::type unlink( VkBaseOutStructure const * pNext ) VULKAN_HPP_NOEXCEPT + { + auto & element = std::get( static_cast&>( *this ) ); + if ( element.pNext == pNext ) + { + element.pNext = pNext->pNext; + } + else + { + unlink( pNext ); + } + } + + template + typename std::enable_if::type unlink( VkBaseOutStructure const * pNext ) VULKAN_HPP_NOEXCEPT + { + auto & element = std::get<0>( static_cast&>( *this ) ); + if ( element.pNext == pNext ) + { + element.pNext = pNext->pNext; + } + else + { + VULKAN_HPP_ASSERT( false ); // fires, if the ClassType member has already been unlinked ! + } + } + }; + +#if !defined(VULKAN_HPP_NO_SMART_HANDLE) + template class UniqueHandleTraits; + + template + class UniqueHandle : public UniqueHandleTraits::deleter + { + private: + using Deleter = typename UniqueHandleTraits::deleter; + + public: + using element_type = Type; + + UniqueHandle() + : Deleter() + , m_value() + {} + + explicit UniqueHandle( Type const& value, Deleter const& deleter = Deleter() ) VULKAN_HPP_NOEXCEPT + : Deleter( deleter) + , m_value( value ) + {} + + UniqueHandle( UniqueHandle const& ) = delete; + + UniqueHandle( UniqueHandle && other ) VULKAN_HPP_NOEXCEPT + : Deleter( std::move( static_cast( other ) ) ) + , m_value( other.release() ) + {} + + ~UniqueHandle() VULKAN_HPP_NOEXCEPT + { + if ( m_value ) this->destroy( m_value ); + } + + UniqueHandle & operator=( UniqueHandle const& ) = delete; + + UniqueHandle & operator=( UniqueHandle && other ) VULKAN_HPP_NOEXCEPT + { + reset( other.release() ); + *static_cast(this) = std::move( static_cast(other) ); + return *this; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_value.operator bool(); + } + + Type const* operator->() const VULKAN_HPP_NOEXCEPT + { + return &m_value; + } + + Type * operator->() VULKAN_HPP_NOEXCEPT + { + return &m_value; + } + + Type const& operator*() const VULKAN_HPP_NOEXCEPT + { + return m_value; + } + + Type & operator*() VULKAN_HPP_NOEXCEPT + { + return m_value; + } + + const Type & get() const VULKAN_HPP_NOEXCEPT + { + return m_value; + } + + Type & get() VULKAN_HPP_NOEXCEPT + { + return m_value; + } + + void reset( Type const& value = Type() ) VULKAN_HPP_NOEXCEPT + { + if ( m_value != value ) + { + if ( m_value ) this->destroy( m_value ); + m_value = value; + } + } + + Type release() VULKAN_HPP_NOEXCEPT + { + Type value = m_value; + m_value = nullptr; + return value; + } + + void swap( UniqueHandle & rhs ) VULKAN_HPP_NOEXCEPT + { + std::swap(m_value, rhs.m_value); + std::swap(static_cast(*this), static_cast(rhs)); + } + + private: + Type m_value; + }; + + template + VULKAN_HPP_INLINE std::vector uniqueToRaw(std::vector const& handles) + { + std::vector newBuffer(handles.size()); + std::transform(handles.begin(), handles.end(), newBuffer.begin(), [](UniqueType const& handle) { return handle.get(); }); + return newBuffer; + } + + template + VULKAN_HPP_INLINE void swap( UniqueHandle & lhs, UniqueHandle & rhs ) VULKAN_HPP_NOEXCEPT + { + lhs.swap( rhs ); + } +#endif + +#if !defined(VK_NO_PROTOTYPES) + class DispatchLoaderStatic + { + public: +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkAcquireFullScreenExclusiveModeEXT( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquireFullScreenExclusiveModeEXT( device, swapchain ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkAcquireNextImage2KHR( VkDevice device, const VkAcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquireNextImage2KHR( device, pAcquireInfo, pImageIndex ); + } + + VkResult vkAcquireNextImageKHR( VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquireNextImageKHR( device, swapchain, timeout, semaphore, fence, pImageIndex ); + } + + VkResult vkAcquirePerformanceConfigurationINTEL( VkDevice device, const VkPerformanceConfigurationAcquireInfoINTEL* pAcquireInfo, VkPerformanceConfigurationINTEL* pConfiguration ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquirePerformanceConfigurationINTEL( device, pAcquireInfo, pConfiguration ); + } + + VkResult vkAcquireProfilingLockKHR( VkDevice device, const VkAcquireProfilingLockInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquireProfilingLockKHR( device, pInfo ); + } + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + VkResult vkAcquireXlibDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAcquireXlibDisplayEXT( physicalDevice, dpy, display ); + } +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + + VkResult vkAllocateCommandBuffers( VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers ); + } + + VkResult vkAllocateDescriptorSets( VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets ); + } + + VkResult vkAllocateMemory( VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory ) const VULKAN_HPP_NOEXCEPT + { + return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); + } + + VkResult vkBeginCommandBuffer( VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBeginCommandBuffer( commandBuffer, pBeginInfo ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkBindAccelerationStructureMemoryKHR( VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindAccelerationStructureMemoryKHR( device, bindInfoCount, pBindInfos ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkBindAccelerationStructureMemoryNV( VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindAccelerationStructureMemoryNV( device, bindInfoCount, pBindInfos ); + } + + VkResult vkBindBufferMemory( VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindBufferMemory( device, buffer, memory, memoryOffset ); + } + + VkResult vkBindBufferMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindBufferMemory2( device, bindInfoCount, pBindInfos ); + } + + VkResult vkBindBufferMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindBufferMemory2KHR( device, bindInfoCount, pBindInfos ); + } + + VkResult vkBindImageMemory( VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindImageMemory( device, image, memory, memoryOffset ); + } + + VkResult vkBindImageMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindImageMemory2( device, bindInfoCount, pBindInfos ); + } + + VkResult vkBindImageMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBindImageMemory2KHR( device, bindInfoCount, pBindInfos ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkBuildAccelerationStructureKHR( VkDevice device, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkBuildAccelerationStructureKHR( device, infoCount, pInfos, ppOffsetInfos ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdBeginConditionalRenderingEXT( VkCommandBuffer commandBuffer, const VkConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginConditionalRenderingEXT( commandBuffer, pConditionalRenderingBegin ); + } + + void vkCmdBeginDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); + } + + void vkCmdBeginQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginQuery( commandBuffer, queryPool, query, flags ); + } + + void vkCmdBeginQueryIndexedEXT( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginQueryIndexedEXT( commandBuffer, queryPool, query, flags, index ); + } + + void vkCmdBeginRenderPass( VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents ); + } + + void vkCmdBeginRenderPass2( VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, const VkSubpassBeginInfo* pSubpassBeginInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginRenderPass2( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); + } + + void vkCmdBeginRenderPass2KHR( VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, const VkSubpassBeginInfo* pSubpassBeginInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginRenderPass2KHR( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); + } + + void vkCmdBeginTransformFeedbackEXT( VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBeginTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); + } + + void vkCmdBindDescriptorSets( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindDescriptorSets( commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets ); + } + + void vkCmdBindIndexBuffer( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType ); + } + + void vkCmdBindPipeline( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline ); + } + + void vkCmdBindPipelineShaderGroupNV( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindPipelineShaderGroupNV( commandBuffer, pipelineBindPoint, pipeline, groupIndex ); + } + + void vkCmdBindShadingRateImageNV( VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindShadingRateImageNV( commandBuffer, imageView, imageLayout ); + } + + void vkCmdBindTransformFeedbackBuffersEXT( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindTransformFeedbackBuffersEXT( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes ); + } + + void vkCmdBindVertexBuffers( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets ); + } + + void vkCmdBindVertexBuffers2EXT( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets, const VkDeviceSize* pSizes, const VkDeviceSize* pStrides ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBindVertexBuffers2EXT( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides ); + } + + void vkCmdBlitImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBlitImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter ); + } + + void vkCmdBlitImage2KHR( VkCommandBuffer commandBuffer, const VkBlitImageInfo2KHR* pBlitImageInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBlitImage2KHR( commandBuffer, pBlitImageInfo ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdBuildAccelerationStructureIndirectKHR( VkCommandBuffer commandBuffer, const VkAccelerationStructureBuildGeometryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize indirectOffset, uint32_t indirectStride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBuildAccelerationStructureIndirectKHR( commandBuffer, pInfo, indirectBuffer, indirectOffset, indirectStride ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdBuildAccelerationStructureKHR( VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBuildAccelerationStructureKHR( commandBuffer, infoCount, pInfos, ppOffsetInfos ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdBuildAccelerationStructureNV( VkCommandBuffer commandBuffer, const VkAccelerationStructureInfoNV* pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureKHR dst, VkAccelerationStructureKHR src, VkBuffer scratch, VkDeviceSize scratchOffset ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdBuildAccelerationStructureNV( commandBuffer, pInfo, instanceData, instanceOffset, update, dst, src, scratch, scratchOffset ); + } + + void vkCmdClearAttachments( VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects ); + } + + void vkCmdClearColorImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges ); + } + + void vkCmdClearDepthStencilImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdCopyAccelerationStructureKHR( VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyAccelerationStructureKHR( commandBuffer, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdCopyAccelerationStructureNV( VkCommandBuffer commandBuffer, VkAccelerationStructureKHR dst, VkAccelerationStructureKHR src, VkCopyAccelerationStructureModeKHR mode ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyAccelerationStructureNV( commandBuffer, dst, src, mode ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdCopyAccelerationStructureToMemoryKHR( VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyAccelerationStructureToMemoryKHR( commandBuffer, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdCopyBuffer( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions ); + } + + void vkCmdCopyBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferInfo2KHR* pCopyBufferInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyBuffer2KHR( commandBuffer, pCopyBufferInfo ); + } + + void vkCmdCopyBufferToImage( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions ); + } + + void vkCmdCopyBufferToImage2KHR( VkCommandBuffer commandBuffer, const VkCopyBufferToImageInfo2KHR* pCopyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyBufferToImage2KHR( commandBuffer, pCopyBufferToImageInfo ); + } + + void vkCmdCopyImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); + } + + void vkCmdCopyImage2KHR( VkCommandBuffer commandBuffer, const VkCopyImageInfo2KHR* pCopyImageInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyImage2KHR( commandBuffer, pCopyImageInfo ); + } + + void vkCmdCopyImageToBuffer( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions ); + } + + void vkCmdCopyImageToBuffer2KHR( VkCommandBuffer commandBuffer, const VkCopyImageToBufferInfo2KHR* pCopyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyImageToBuffer2KHR( commandBuffer, pCopyImageToBufferInfo ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdCopyMemoryToAccelerationStructureKHR( VkCommandBuffer commandBuffer, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyMemoryToAccelerationStructureKHR( commandBuffer, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdCopyQueryPoolResults( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdCopyQueryPoolResults( commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags ); + } + + void vkCmdDebugMarkerBeginEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo ); + } + + void vkCmdDebugMarkerEndEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDebugMarkerEndEXT( commandBuffer ); + } + + void vkCmdDebugMarkerInsertEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo ); + } + + void vkCmdDispatch( VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ ); + } + + void vkCmdDispatchBase( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDispatchBase( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); + } + + void vkCmdDispatchBaseKHR( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDispatchBaseKHR( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); + } + + void vkCmdDispatchIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDispatchIndirect( commandBuffer, buffer, offset ); + } + + void vkCmdDraw( VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); + } + + void vkCmdDrawIndexed( VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); + } + + void vkCmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride ); + } + + void vkCmdDrawIndexedIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndexedIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawIndexedIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndexedIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawIndexedIndirectCountKHR( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndexedIndirectCountKHR( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride ); + } + + void vkCmdDrawIndirectByteCountEXT( VkCommandBuffer commandBuffer, uint32_t instanceCount, uint32_t firstInstance, VkBuffer counterBuffer, VkDeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndirectByteCountEXT( commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride ); + } + + void vkCmdDrawIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawIndirectCountKHR( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawIndirectCountKHR( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawMeshTasksIndirectCountNV( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawMeshTasksIndirectCountNV( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); + } + + void vkCmdDrawMeshTasksIndirectNV( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawMeshTasksIndirectNV( commandBuffer, buffer, offset, drawCount, stride ); + } + + void vkCmdDrawMeshTasksNV( VkCommandBuffer commandBuffer, uint32_t taskCount, uint32_t firstTask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdDrawMeshTasksNV( commandBuffer, taskCount, firstTask ); + } + + void vkCmdEndConditionalRenderingEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndConditionalRenderingEXT( commandBuffer ); + } + + void vkCmdEndDebugUtilsLabelEXT( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndDebugUtilsLabelEXT( commandBuffer ); + } + + void vkCmdEndQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndQuery( commandBuffer, queryPool, query ); + } + + void vkCmdEndQueryIndexedEXT( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndQueryIndexedEXT( commandBuffer, queryPool, query, index ); + } + + void vkCmdEndRenderPass( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndRenderPass( commandBuffer ); + } + + void vkCmdEndRenderPass2( VkCommandBuffer commandBuffer, const VkSubpassEndInfo* pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndRenderPass2( commandBuffer, pSubpassEndInfo ); + } + + void vkCmdEndRenderPass2KHR( VkCommandBuffer commandBuffer, const VkSubpassEndInfo* pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndRenderPass2KHR( commandBuffer, pSubpassEndInfo ); + } + + void vkCmdEndTransformFeedbackEXT( VkCommandBuffer commandBuffer, uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VkBuffer* pCounterBuffers, const VkDeviceSize* pCounterBufferOffsets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdEndTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); + } + + void vkCmdExecuteCommands( VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers ); + } + + void vkCmdExecuteGeneratedCommandsNV( VkCommandBuffer commandBuffer, VkBool32 isPreprocessed, const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdExecuteGeneratedCommandsNV( commandBuffer, isPreprocessed, pGeneratedCommandsInfo ); + } + + void vkCmdFillBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data ); + } + + void vkCmdInsertDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); + } + + void vkCmdNextSubpass( VkCommandBuffer commandBuffer, VkSubpassContents contents ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdNextSubpass( commandBuffer, contents ); + } + + void vkCmdNextSubpass2( VkCommandBuffer commandBuffer, const VkSubpassBeginInfo* pSubpassBeginInfo, const VkSubpassEndInfo* pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdNextSubpass2( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); + } + + void vkCmdNextSubpass2KHR( VkCommandBuffer commandBuffer, const VkSubpassBeginInfo* pSubpassBeginInfo, const VkSubpassEndInfo* pSubpassEndInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdNextSubpass2KHR( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); + } + + void vkCmdPipelineBarrier( VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdPipelineBarrier( commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers ); + } + + void vkCmdPreprocessGeneratedCommandsNV( VkCommandBuffer commandBuffer, const VkGeneratedCommandsInfoNV* pGeneratedCommandsInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdPreprocessGeneratedCommandsNV( commandBuffer, pGeneratedCommandsInfo ); + } + + void vkCmdPushConstants( VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues ); + } + + void vkCmdPushDescriptorSetKHR( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdPushDescriptorSetKHR( commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites ); + } + + void vkCmdPushDescriptorSetWithTemplateKHR( VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData ); + } + + void vkCmdResetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdResetEvent( commandBuffer, event, stageMask ); + } + + void vkCmdResetQueryPool( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount ); + } + + void vkCmdResolveImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdResolveImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); + } + + void vkCmdResolveImage2KHR( VkCommandBuffer commandBuffer, const VkResolveImageInfo2KHR* pResolveImageInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdResolveImage2KHR( commandBuffer, pResolveImageInfo ); + } + + void vkCmdSetBlendConstants( VkCommandBuffer commandBuffer, const float blendConstants[4] ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetBlendConstants( commandBuffer, blendConstants ); + } + + void vkCmdSetCheckpointNV( VkCommandBuffer commandBuffer, const void* pCheckpointMarker ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetCheckpointNV( commandBuffer, pCheckpointMarker ); + } + + void vkCmdSetCoarseSampleOrderNV( VkCommandBuffer commandBuffer, VkCoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const VkCoarseSampleOrderCustomNV* pCustomSampleOrders ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetCoarseSampleOrderNV( commandBuffer, sampleOrderType, customSampleOrderCount, pCustomSampleOrders ); + } + + void vkCmdSetCullModeEXT( VkCommandBuffer commandBuffer, VkCullModeFlags cullMode ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetCullModeEXT( commandBuffer, cullMode ); + } + + void vkCmdSetDepthBias( VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); + } + + void vkCmdSetDepthBounds( VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds ); + } + + void vkCmdSetDepthBoundsTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthBoundsTestEnableEXT( commandBuffer, depthBoundsTestEnable ); + } + + void vkCmdSetDepthCompareOpEXT( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthCompareOpEXT( commandBuffer, depthCompareOp ); + } + + void vkCmdSetDepthTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthTestEnableEXT( commandBuffer, depthTestEnable ); + } + + void vkCmdSetDepthWriteEnableEXT( VkCommandBuffer commandBuffer, VkBool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDepthWriteEnableEXT( commandBuffer, depthWriteEnable ); + } + + void vkCmdSetDeviceMask( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDeviceMask( commandBuffer, deviceMask ); + } + + void vkCmdSetDeviceMaskKHR( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDeviceMaskKHR( commandBuffer, deviceMask ); + } + + void vkCmdSetDiscardRectangleEXT( VkCommandBuffer commandBuffer, uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VkRect2D* pDiscardRectangles ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetDiscardRectangleEXT( commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles ); + } + + void vkCmdSetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetEvent( commandBuffer, event, stageMask ); + } + + void vkCmdSetExclusiveScissorNV( VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkRect2D* pExclusiveScissors ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetExclusiveScissorNV( commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors ); + } + + void vkCmdSetFragmentShadingRateEnumNV( VkCommandBuffer commandBuffer, VkFragmentShadingRateNV shadingRate, const VkFragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetFragmentShadingRateEnumNV( commandBuffer, shadingRate, combinerOps ); + } + + void vkCmdSetFragmentShadingRateKHR( VkCommandBuffer commandBuffer, const VkExtent2D* pFragmentSize, const VkFragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetFragmentShadingRateKHR( commandBuffer, pFragmentSize, combinerOps ); + } + + void vkCmdSetFrontFaceEXT( VkCommandBuffer commandBuffer, VkFrontFace frontFace ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetFrontFaceEXT( commandBuffer, frontFace ); + } + + void vkCmdSetLineStippleEXT( VkCommandBuffer commandBuffer, uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetLineStippleEXT( commandBuffer, lineStippleFactor, lineStipplePattern ); + } + + void vkCmdSetLineWidth( VkCommandBuffer commandBuffer, float lineWidth ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetLineWidth( commandBuffer, lineWidth ); + } + + VkResult vkCmdSetPerformanceMarkerINTEL( VkCommandBuffer commandBuffer, const VkPerformanceMarkerInfoINTEL* pMarkerInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetPerformanceMarkerINTEL( commandBuffer, pMarkerInfo ); + } + + VkResult vkCmdSetPerformanceOverrideINTEL( VkCommandBuffer commandBuffer, const VkPerformanceOverrideInfoINTEL* pOverrideInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetPerformanceOverrideINTEL( commandBuffer, pOverrideInfo ); + } + + VkResult vkCmdSetPerformanceStreamMarkerINTEL( VkCommandBuffer commandBuffer, const VkPerformanceStreamMarkerInfoINTEL* pMarkerInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetPerformanceStreamMarkerINTEL( commandBuffer, pMarkerInfo ); + } + + void vkCmdSetPrimitiveTopologyEXT( VkCommandBuffer commandBuffer, VkPrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetPrimitiveTopologyEXT( commandBuffer, primitiveTopology ); + } + + void vkCmdSetSampleLocationsEXT( VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT* pSampleLocationsInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo ); + } + + void vkCmdSetScissor( VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors ); + } + + void vkCmdSetScissorWithCountEXT( VkCommandBuffer commandBuffer, uint32_t scissorCount, const VkRect2D* pScissors ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetScissorWithCountEXT( commandBuffer, scissorCount, pScissors ); + } + + void vkCmdSetStencilCompareMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask ); + } + + void vkCmdSetStencilOpEXT( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetStencilOpEXT( commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp ); + } + + void vkCmdSetStencilReference( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetStencilReference( commandBuffer, faceMask, reference ); + } + + void vkCmdSetStencilTestEnableEXT( VkCommandBuffer commandBuffer, VkBool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetStencilTestEnableEXT( commandBuffer, stencilTestEnable ); + } + + void vkCmdSetStencilWriteMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask ); + } + + void vkCmdSetViewport( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport* pViewports ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports ); + } + + void vkCmdSetViewportShadingRatePaletteNV( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkShadingRatePaletteNV* pShadingRatePalettes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetViewportShadingRatePaletteNV( commandBuffer, firstViewport, viewportCount, pShadingRatePalettes ); + } + + void vkCmdSetViewportWScalingNV( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV* pViewportWScalings ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings ); + } + + void vkCmdSetViewportWithCountEXT( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdSetViewportWithCountEXT( commandBuffer, viewportCount, pViewports ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdTraceRaysIndirectKHR( VkCommandBuffer commandBuffer, const VkStridedBufferRegionKHR* pRaygenShaderBindingTable, const VkStridedBufferRegionKHR* pMissShaderBindingTable, const VkStridedBufferRegionKHR* pHitShaderBindingTable, const VkStridedBufferRegionKHR* pCallableShaderBindingTable, VkBuffer buffer, VkDeviceSize offset ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdTraceRaysIndirectKHR( commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, buffer, offset ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdTraceRaysKHR( VkCommandBuffer commandBuffer, const VkStridedBufferRegionKHR* pRaygenShaderBindingTable, const VkStridedBufferRegionKHR* pMissShaderBindingTable, const VkStridedBufferRegionKHR* pHitShaderBindingTable, const VkStridedBufferRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdTraceRaysKHR( commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, width, height, depth ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdTraceRaysNV( VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset, VkBuffer missShaderBindingTableBuffer, VkDeviceSize missShaderBindingOffset, VkDeviceSize missShaderBindingStride, VkBuffer hitShaderBindingTableBuffer, VkDeviceSize hitShaderBindingOffset, VkDeviceSize hitShaderBindingStride, VkBuffer callableShaderBindingTableBuffer, VkDeviceSize callableShaderBindingOffset, VkDeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdTraceRaysNV( commandBuffer, raygenShaderBindingTableBuffer, raygenShaderBindingOffset, missShaderBindingTableBuffer, missShaderBindingOffset, missShaderBindingStride, hitShaderBindingTableBuffer, hitShaderBindingOffset, hitShaderBindingStride, callableShaderBindingTableBuffer, callableShaderBindingOffset, callableShaderBindingStride, width, height, depth ); + } + + void vkCmdUpdateBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData ); + } + + void vkCmdWaitEvents( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdWaitEvents( commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkCmdWriteAccelerationStructuresPropertiesKHR( VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdWriteAccelerationStructuresPropertiesKHR( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkCmdWriteAccelerationStructuresPropertiesNV( VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdWriteAccelerationStructuresPropertiesNV( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); + } + + void vkCmdWriteBufferMarkerAMD( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker ); + } + + void vkCmdWriteTimestamp( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query ); + } + + VkResult vkCompileDeferredNV( VkDevice device, VkPipeline pipeline, uint32_t shader ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCompileDeferredNV( device, pipeline, shader ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCopyAccelerationStructureKHR( VkDevice device, const VkCopyAccelerationStructureInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCopyAccelerationStructureKHR( device, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCopyAccelerationStructureToMemoryKHR( VkDevice device, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCopyAccelerationStructureToMemoryKHR( device, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCopyMemoryToAccelerationStructureKHR( VkDevice device, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCopyMemoryToAccelerationStructureKHR( device, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCreateAccelerationStructureKHR( VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureKHR* pAccelerationStructure ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateAccelerationStructureKHR( device, pCreateInfo, pAllocator, pAccelerationStructure ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkCreateAccelerationStructureNV( VkDevice device, const VkAccelerationStructureCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureNV* pAccelerationStructure ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateAccelerationStructureNV( device, pCreateInfo, pAllocator, pAccelerationStructure ); + } + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + VkResult vkCreateAndroidSurfaceKHR( VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateAndroidSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + VkResult vkCreateBuffer( VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateBuffer( device, pCreateInfo, pAllocator, pBuffer ); + } + + VkResult vkCreateBufferView( VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateBufferView( device, pCreateInfo, pAllocator, pView ); + } + + VkResult vkCreateCommandPool( VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateCommandPool( device, pCreateInfo, pAllocator, pCommandPool ); + } + + VkResult vkCreateComputePipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateComputePipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); + } + + VkResult vkCreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDebugReportCallbackEXT( instance, pCreateInfo, pAllocator, pCallback ); + } + + VkResult vkCreateDebugUtilsMessengerEXT( VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDebugUtilsMessengerEXT( instance, pCreateInfo, pAllocator, pMessenger ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCreateDeferredOperationKHR( VkDevice device, const VkAllocationCallbacks* pAllocator, VkDeferredOperationKHR* pDeferredOperation ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDeferredOperationKHR( device, pAllocator, pDeferredOperation ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkCreateDescriptorPool( VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDescriptorPool( device, pCreateInfo, pAllocator, pDescriptorPool ); + } + + VkResult vkCreateDescriptorSetLayout( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDescriptorSetLayout( device, pCreateInfo, pAllocator, pSetLayout ); + } + + VkResult vkCreateDescriptorUpdateTemplate( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDescriptorUpdateTemplate( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); + } + + VkResult vkCreateDescriptorUpdateTemplateKHR( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDescriptorUpdateTemplateKHR( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); + } + + VkResult vkCreateDevice( VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDevice( physicalDevice, pCreateInfo, pAllocator, pDevice ); + } + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + VkResult vkCreateDirectFBSurfaceEXT( VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDirectFBSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + VkResult vkCreateDisplayModeKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDisplayModeKHR( physicalDevice, display, pCreateInfo, pAllocator, pMode ); + } + + VkResult vkCreateDisplayPlaneSurfaceKHR( VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateDisplayPlaneSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } + + VkResult vkCreateEvent( VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateEvent( device, pCreateInfo, pAllocator, pEvent ); + } + + VkResult vkCreateFence( VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateFence( device, pCreateInfo, pAllocator, pFence ); + } + + VkResult vkCreateFramebuffer( VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateFramebuffer( device, pCreateInfo, pAllocator, pFramebuffer ); + } + + VkResult vkCreateGraphicsPipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateGraphicsPipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); + } + + VkResult vkCreateHeadlessSurfaceEXT( VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateHeadlessSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); + } + +#ifdef VK_USE_PLATFORM_IOS_MVK + VkResult vkCreateIOSSurfaceMVK( VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateIOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + + VkResult vkCreateImage( VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateImage( device, pCreateInfo, pAllocator, pImage ); + } + +#ifdef VK_USE_PLATFORM_FUCHSIA + VkResult vkCreateImagePipeSurfaceFUCHSIA( VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateImagePipeSurfaceFUCHSIA( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + + VkResult vkCreateImageView( VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateImageView( device, pCreateInfo, pAllocator, pView ); + } + + VkResult vkCreateIndirectCommandsLayoutNV( VkDevice device, const VkIndirectCommandsLayoutCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNV* pIndirectCommandsLayout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateIndirectCommandsLayoutNV( device, pCreateInfo, pAllocator, pIndirectCommandsLayout ); + } + + VkResult vkCreateInstance( const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateInstance( pCreateInfo, pAllocator, pInstance ); + } + +#ifdef VK_USE_PLATFORM_MACOS_MVK + VkResult vkCreateMacOSSurfaceMVK( VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateMacOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ + +#ifdef VK_USE_PLATFORM_METAL_EXT + VkResult vkCreateMetalSurfaceEXT( VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateMetalSurfaceEXT( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + + VkResult vkCreatePipelineCache( VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreatePipelineCache( device, pCreateInfo, pAllocator, pPipelineCache ); + } + + VkResult vkCreatePipelineLayout( VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreatePipelineLayout( device, pCreateInfo, pAllocator, pPipelineLayout ); + } + + VkResult vkCreatePrivateDataSlotEXT( VkDevice device, const VkPrivateDataSlotCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlotEXT* pPrivateDataSlot ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreatePrivateDataSlotEXT( device, pCreateInfo, pAllocator, pPrivateDataSlot ); + } + + VkResult vkCreateQueryPool( VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateQueryPool( device, pCreateInfo, pAllocator, pQueryPool ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkCreateRayTracingPipelinesKHR( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateRayTracingPipelinesKHR( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkCreateRayTracingPipelinesNV( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateRayTracingPipelinesNV( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); + } + + VkResult vkCreateRenderPass( VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateRenderPass( device, pCreateInfo, pAllocator, pRenderPass ); + } + + VkResult vkCreateRenderPass2( VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateRenderPass2( device, pCreateInfo, pAllocator, pRenderPass ); + } + + VkResult vkCreateRenderPass2KHR( VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateRenderPass2KHR( device, pCreateInfo, pAllocator, pRenderPass ); + } + + VkResult vkCreateSampler( VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSampler( device, pCreateInfo, pAllocator, pSampler ); + } + + VkResult vkCreateSamplerYcbcrConversion( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSamplerYcbcrConversion( device, pCreateInfo, pAllocator, pYcbcrConversion ); + } + + VkResult vkCreateSamplerYcbcrConversionKHR( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSamplerYcbcrConversionKHR( device, pCreateInfo, pAllocator, pYcbcrConversion ); + } + + VkResult vkCreateSemaphore( VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSemaphore( device, pCreateInfo, pAllocator, pSemaphore ); + } + + VkResult vkCreateShaderModule( VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateShaderModule( device, pCreateInfo, pAllocator, pShaderModule ); + } + + VkResult vkCreateSharedSwapchainsKHR( VkDevice device, uint32_t swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSharedSwapchainsKHR( device, swapchainCount, pCreateInfos, pAllocator, pSwapchains ); + } + +#ifdef VK_USE_PLATFORM_GGP + VkResult vkCreateStreamDescriptorSurfaceGGP( VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateStreamDescriptorSurfaceGGP( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_GGP*/ + + VkResult vkCreateSwapchainKHR( VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateSwapchainKHR( device, pCreateInfo, pAllocator, pSwapchain ); + } + + VkResult vkCreateValidationCacheEXT( VkDevice device, const VkValidationCacheCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateValidationCacheEXT( device, pCreateInfo, pAllocator, pValidationCache ); + } + +#ifdef VK_USE_PLATFORM_VI_NN + VkResult vkCreateViSurfaceNN( VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateViSurfaceNN( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_VI_NN*/ + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + VkResult vkCreateWaylandSurfaceKHR( VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateWaylandSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkCreateWin32SurfaceKHR( VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateWin32SurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_XCB_KHR + VkResult vkCreateXcbSurfaceKHR( VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateXcbSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + +#ifdef VK_USE_PLATFORM_XLIB_KHR + VkResult vkCreateXlibSurfaceKHR( VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const VULKAN_HPP_NOEXCEPT + { + return ::vkCreateXlibSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface ); + } +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + VkResult vkDebugMarkerSetObjectNameEXT( VkDevice device, const VkDebugMarkerObjectNameInfoEXT* pNameInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDebugMarkerSetObjectNameEXT( device, pNameInfo ); + } + + VkResult vkDebugMarkerSetObjectTagEXT( VkDevice device, const VkDebugMarkerObjectTagInfoEXT* pTagInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDebugMarkerSetObjectTagEXT( device, pTagInfo ); + } + + void vkDebugReportMessageEXT( VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDebugReportMessageEXT( instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkDeferredOperationJoinKHR( VkDevice device, VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDeferredOperationJoinKHR( device, operation ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkDestroyAccelerationStructureKHR( VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyAccelerationStructureKHR( device, accelerationStructure, pAllocator ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkDestroyAccelerationStructureNV( VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyAccelerationStructureNV( device, accelerationStructure, pAllocator ); + } + + void vkDestroyBuffer( VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyBuffer( device, buffer, pAllocator ); + } + + void vkDestroyBufferView( VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyBufferView( device, bufferView, pAllocator ); + } + + void vkDestroyCommandPool( VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyCommandPool( device, commandPool, pAllocator ); + } + + void vkDestroyDebugReportCallbackEXT( VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDebugReportCallbackEXT( instance, callback, pAllocator ); + } + + void vkDestroyDebugUtilsMessengerEXT( VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDebugUtilsMessengerEXT( instance, messenger, pAllocator ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkDestroyDeferredOperationKHR( VkDevice device, VkDeferredOperationKHR operation, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDeferredOperationKHR( device, operation, pAllocator ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkDestroyDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDescriptorPool( device, descriptorPool, pAllocator ); + } + + void vkDestroyDescriptorSetLayout( VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDescriptorSetLayout( device, descriptorSetLayout, pAllocator ); + } + + void vkDestroyDescriptorUpdateTemplate( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDescriptorUpdateTemplate( device, descriptorUpdateTemplate, pAllocator ); + } + + void vkDestroyDescriptorUpdateTemplateKHR( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDescriptorUpdateTemplateKHR( device, descriptorUpdateTemplate, pAllocator ); + } + + void vkDestroyDevice( VkDevice device, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyDevice( device, pAllocator ); + } + + void vkDestroyEvent( VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyEvent( device, event, pAllocator ); + } + + void vkDestroyFence( VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyFence( device, fence, pAllocator ); + } + + void vkDestroyFramebuffer( VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyFramebuffer( device, framebuffer, pAllocator ); + } + + void vkDestroyImage( VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyImage( device, image, pAllocator ); + } + + void vkDestroyImageView( VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyImageView( device, imageView, pAllocator ); + } + + void vkDestroyIndirectCommandsLayoutNV( VkDevice device, VkIndirectCommandsLayoutNV indirectCommandsLayout, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyIndirectCommandsLayoutNV( device, indirectCommandsLayout, pAllocator ); + } + + void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyInstance( instance, pAllocator ); + } + + void vkDestroyPipeline( VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyPipeline( device, pipeline, pAllocator ); + } + + void vkDestroyPipelineCache( VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyPipelineCache( device, pipelineCache, pAllocator ); + } + + void vkDestroyPipelineLayout( VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyPipelineLayout( device, pipelineLayout, pAllocator ); + } + + void vkDestroyPrivateDataSlotEXT( VkDevice device, VkPrivateDataSlotEXT privateDataSlot, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyPrivateDataSlotEXT( device, privateDataSlot, pAllocator ); + } + + void vkDestroyQueryPool( VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyQueryPool( device, queryPool, pAllocator ); + } + + void vkDestroyRenderPass( VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyRenderPass( device, renderPass, pAllocator ); + } + + void vkDestroySampler( VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySampler( device, sampler, pAllocator ); + } + + void vkDestroySamplerYcbcrConversion( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySamplerYcbcrConversion( device, ycbcrConversion, pAllocator ); + } + + void vkDestroySamplerYcbcrConversionKHR( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySamplerYcbcrConversionKHR( device, ycbcrConversion, pAllocator ); + } + + void vkDestroySemaphore( VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySemaphore( device, semaphore, pAllocator ); + } + + void vkDestroyShaderModule( VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyShaderModule( device, shaderModule, pAllocator ); + } + + void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySurfaceKHR( instance, surface, pAllocator ); + } + + void vkDestroySwapchainKHR( VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroySwapchainKHR( device, swapchain, pAllocator ); + } + + void vkDestroyValidationCacheEXT( VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDestroyValidationCacheEXT( device, validationCache, pAllocator ); + } + + VkResult vkDeviceWaitIdle( VkDevice device ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDeviceWaitIdle( device ); + } + + VkResult vkDisplayPowerControlEXT( VkDevice device, VkDisplayKHR display, const VkDisplayPowerInfoEXT* pDisplayPowerInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkDisplayPowerControlEXT( device, display, pDisplayPowerInfo ); + } + + VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEndCommandBuffer( commandBuffer ); + } + + VkResult vkEnumerateDeviceExtensionProperties( VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumerateDeviceExtensionProperties( physicalDevice, pLayerName, pPropertyCount, pProperties ); + } + + VkResult vkEnumerateDeviceLayerProperties( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumerateDeviceLayerProperties( physicalDevice, pPropertyCount, pProperties ); + } + + VkResult vkEnumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, pProperties ); + } + + VkResult vkEnumerateInstanceLayerProperties( uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumerateInstanceLayerProperties( pPropertyCount, pProperties ); + } + + VkResult vkEnumerateInstanceVersion( uint32_t* pApiVersion ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumerateInstanceVersion( pApiVersion ); + } + + VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties ); + } + + VkResult vkEnumeratePhysicalDeviceGroupsKHR( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumeratePhysicalDeviceGroupsKHR( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties ); + } + + VkResult vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t* pCounterCount, VkPerformanceCounterKHR* pCounters, VkPerformanceCounterDescriptionKHR* pCounterDescriptions ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions ); + } + + VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices ) const VULKAN_HPP_NOEXCEPT + { + return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices ); + } + + VkResult vkFlushMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const VULKAN_HPP_NOEXCEPT + { + return ::vkFlushMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges ); + } + + void vkFreeCommandBuffers( VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const VULKAN_HPP_NOEXCEPT + { + return ::vkFreeCommandBuffers( device, commandPool, commandBufferCount, pCommandBuffers ); + } + + VkResult vkFreeDescriptorSets( VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets ) const VULKAN_HPP_NOEXCEPT + { + return ::vkFreeDescriptorSets( device, descriptorPool, descriptorSetCount, pDescriptorSets ); + } + + void vkFreeMemory( VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator ) const VULKAN_HPP_NOEXCEPT + { + return ::vkFreeMemory( device, memory, pAllocator ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkDeviceAddress vkGetAccelerationStructureDeviceAddressKHR( VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetAccelerationStructureDeviceAddressKHR( device, pInfo ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkGetAccelerationStructureHandleNV( VkDevice device, VkAccelerationStructureKHR accelerationStructure, size_t dataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetAccelerationStructureHandleNV( device, accelerationStructure, dataSize, pData ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + void vkGetAccelerationStructureMemoryRequirementsKHR( VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoKHR* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetAccelerationStructureMemoryRequirementsKHR( device, pInfo, pMemoryRequirements ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkGetAccelerationStructureMemoryRequirementsNV( VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetAccelerationStructureMemoryRequirementsNV( device, pInfo, pMemoryRequirements ); + } + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + VkResult vkGetAndroidHardwareBufferPropertiesANDROID( VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetAndroidHardwareBufferPropertiesANDROID( device, buffer, pProperties ); + } +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + VkDeviceAddress vkGetBufferDeviceAddress( VkDevice device, const VkBufferDeviceAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferDeviceAddress( device, pInfo ); + } + + VkDeviceAddress vkGetBufferDeviceAddressEXT( VkDevice device, const VkBufferDeviceAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferDeviceAddressEXT( device, pInfo ); + } + + VkDeviceAddress vkGetBufferDeviceAddressKHR( VkDevice device, const VkBufferDeviceAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferDeviceAddressKHR( device, pInfo ); + } + + void vkGetBufferMemoryRequirements( VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferMemoryRequirements( device, buffer, pMemoryRequirements ); + } + + void vkGetBufferMemoryRequirements2( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferMemoryRequirements2( device, pInfo, pMemoryRequirements ); + } + + void vkGetBufferMemoryRequirements2KHR( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferMemoryRequirements2KHR( device, pInfo, pMemoryRequirements ); + } + + uint64_t vkGetBufferOpaqueCaptureAddress( VkDevice device, const VkBufferDeviceAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferOpaqueCaptureAddress( device, pInfo ); + } + + uint64_t vkGetBufferOpaqueCaptureAddressKHR( VkDevice device, const VkBufferDeviceAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetBufferOpaqueCaptureAddressKHR( device, pInfo ); + } + + VkResult vkGetCalibratedTimestampsEXT( VkDevice device, uint32_t timestampCount, const VkCalibratedTimestampInfoEXT* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetCalibratedTimestampsEXT( device, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + uint32_t vkGetDeferredOperationMaxConcurrencyKHR( VkDevice device, VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeferredOperationMaxConcurrencyKHR( device, operation ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkGetDeferredOperationResultKHR( VkDevice device, VkDeferredOperationKHR operation ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeferredOperationResultKHR( device, operation ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkGetDescriptorSetLayoutSupport( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDescriptorSetLayoutSupport( device, pCreateInfo, pSupport ); + } + + void vkGetDescriptorSetLayoutSupportKHR( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDescriptorSetLayoutSupportKHR( device, pCreateInfo, pSupport ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkGetDeviceAccelerationStructureCompatibilityKHR( VkDevice device, const VkAccelerationStructureVersionKHR* version ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceAccelerationStructureCompatibilityKHR( device, version ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + void vkGetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceGroupPeerMemoryFeatures( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); + } + + void vkGetDeviceGroupPeerMemoryFeaturesKHR( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceGroupPeerMemoryFeaturesKHR( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); + } + + VkResult vkGetDeviceGroupPresentCapabilitiesKHR( VkDevice device, VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceGroupPresentCapabilitiesKHR( device, pDeviceGroupPresentCapabilities ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetDeviceGroupSurfacePresentModes2EXT( VkDevice device, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkDeviceGroupPresentModeFlagsKHR* pModes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceGroupSurfacePresentModes2EXT( device, pSurfaceInfo, pModes ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkGetDeviceGroupSurfacePresentModesKHR( VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceGroupSurfacePresentModesKHR( device, surface, pModes ); + } + + void vkGetDeviceMemoryCommitment( VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceMemoryCommitment( device, memory, pCommittedMemoryInBytes ); + } + + uint64_t vkGetDeviceMemoryOpaqueCaptureAddress( VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceMemoryOpaqueCaptureAddress( device, pInfo ); + } + + uint64_t vkGetDeviceMemoryOpaqueCaptureAddressKHR( VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceMemoryOpaqueCaptureAddressKHR( device, pInfo ); + } + + PFN_vkVoidFunction vkGetDeviceProcAddr( VkDevice device, const char* pName ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceProcAddr( device, pName ); + } + + void vkGetDeviceQueue( VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceQueue( device, queueFamilyIndex, queueIndex, pQueue ); + } + + void vkGetDeviceQueue2( VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDeviceQueue2( device, pQueueInfo, pQueue ); + } + + VkResult vkGetDisplayModeProperties2KHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModeProperties2KHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDisplayModeProperties2KHR( physicalDevice, display, pPropertyCount, pProperties ); + } + + VkResult vkGetDisplayModePropertiesKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModePropertiesKHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDisplayModePropertiesKHR( physicalDevice, display, pPropertyCount, pProperties ); + } + + VkResult vkGetDisplayPlaneCapabilities2KHR( VkPhysicalDevice physicalDevice, const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR* pCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDisplayPlaneCapabilities2KHR( physicalDevice, pDisplayPlaneInfo, pCapabilities ); + } + + VkResult vkGetDisplayPlaneCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint32_t planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDisplayPlaneCapabilitiesKHR( physicalDevice, mode, planeIndex, pCapabilities ); + } + + VkResult vkGetDisplayPlaneSupportedDisplaysKHR( VkPhysicalDevice physicalDevice, uint32_t planeIndex, uint32_t* pDisplayCount, VkDisplayKHR* pDisplays ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetDisplayPlaneSupportedDisplaysKHR( physicalDevice, planeIndex, pDisplayCount, pDisplays ); + } + + VkResult vkGetEventStatus( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetEventStatus( device, event ); + } + + VkResult vkGetFenceFdKHR( VkDevice device, const VkFenceGetFdInfoKHR* pGetFdInfo, int* pFd ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetFenceFdKHR( device, pGetFdInfo, pFd ); + } + + VkResult vkGetFenceStatus( VkDevice device, VkFence fence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetFenceStatus( device, fence ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetFenceWin32HandleKHR( VkDevice device, const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetFenceWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + void vkGetGeneratedCommandsMemoryRequirementsNV( VkDevice device, const VkGeneratedCommandsMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetGeneratedCommandsMemoryRequirementsNV( device, pInfo, pMemoryRequirements ); + } + + VkResult vkGetImageDrmFormatModifierPropertiesEXT( VkDevice device, VkImage image, VkImageDrmFormatModifierPropertiesEXT* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageDrmFormatModifierPropertiesEXT( device, image, pProperties ); + } + + void vkGetImageMemoryRequirements( VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageMemoryRequirements( device, image, pMemoryRequirements ); + } + + void vkGetImageMemoryRequirements2( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageMemoryRequirements2( device, pInfo, pMemoryRequirements ); + } + + void vkGetImageMemoryRequirements2KHR( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageMemoryRequirements2KHR( device, pInfo, pMemoryRequirements ); + } + + void vkGetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageSparseMemoryRequirements( device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); + } + + void vkGetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageSparseMemoryRequirements2( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); + } + + void vkGetImageSparseMemoryRequirements2KHR( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageSparseMemoryRequirements2KHR( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); + } + + void vkGetImageSubresourceLayout( VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageSubresourceLayout( device, image, pSubresource, pLayout ); + } + + VkResult vkGetImageViewAddressNVX( VkDevice device, VkImageView imageView, VkImageViewAddressPropertiesNVX* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageViewAddressNVX( device, imageView, pProperties ); + } + + uint32_t vkGetImageViewHandleNVX( VkDevice device, const VkImageViewHandleInfoNVX* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetImageViewHandleNVX( device, pInfo ); + } + + PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char* pName ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetInstanceProcAddr( instance, pName ); + } + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + VkResult vkGetMemoryAndroidHardwareBufferANDROID( VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryAndroidHardwareBufferANDROID( device, pInfo, pBuffer ); + } +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + VkResult vkGetMemoryFdKHR( VkDevice device, const VkMemoryGetFdInfoKHR* pGetFdInfo, int* pFd ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryFdKHR( device, pGetFdInfo, pFd ); + } + + VkResult vkGetMemoryFdPropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryFdPropertiesKHR( device, handleType, fd, pMemoryFdProperties ); + } + + VkResult vkGetMemoryHostPointerPropertiesEXT( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryHostPointerPropertiesEXT( device, handleType, pHostPointer, pMemoryHostPointerProperties ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetMemoryWin32HandleKHR( VkDevice device, const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetMemoryWin32HandleNV( VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryWin32HandleNV( device, memory, handleType, pHandle ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetMemoryWin32HandlePropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetMemoryWin32HandlePropertiesKHR( device, handleType, handle, pMemoryWin32HandleProperties ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkGetPastPresentationTimingGOOGLE( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPastPresentationTimingGOOGLE( device, swapchain, pPresentationTimingCount, pPresentationTimings ); + } + + VkResult vkGetPerformanceParameterINTEL( VkDevice device, VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL* pValue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPerformanceParameterINTEL( device, parameter, pValue ); + } + + VkResult vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( VkPhysicalDevice physicalDevice, uint32_t* pTimeDomainCount, VkTimeDomainEXT* pTimeDomains ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( physicalDevice, pTimeDomainCount, pTimeDomains ); + } + + VkResult vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixPropertiesNV* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( physicalDevice, pPropertyCount, pProperties ); + } + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + VkBool32 vkGetPhysicalDeviceDirectFBPresentationSupportEXT( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, IDirectFB* dfb ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceDirectFBPresentationSupportEXT( physicalDevice, queueFamilyIndex, dfb ); + } +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlaneProperties2KHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceDisplayPlaneProperties2KHR( physicalDevice, pPropertyCount, pProperties ); + } + + VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceDisplayPlanePropertiesKHR( physicalDevice, pPropertyCount, pProperties ); + } + + VkResult vkGetPhysicalDeviceDisplayProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayProperties2KHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceDisplayProperties2KHR( physicalDevice, pPropertyCount, pProperties ); + } + + VkResult vkGetPhysicalDeviceDisplayPropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPropertiesKHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceDisplayPropertiesKHR( physicalDevice, pPropertyCount, pProperties ); + } + + void vkGetPhysicalDeviceExternalBufferProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalBufferProperties( physicalDevice, pExternalBufferInfo, pExternalBufferProperties ); + } + + void vkGetPhysicalDeviceExternalBufferPropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalBufferPropertiesKHR( physicalDevice, pExternalBufferInfo, pExternalBufferProperties ); + } + + void vkGetPhysicalDeviceExternalFenceProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalFenceProperties( physicalDevice, pExternalFenceInfo, pExternalFenceProperties ); + } + + void vkGetPhysicalDeviceExternalFencePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalFencePropertiesKHR( physicalDevice, pExternalFenceInfo, pExternalFenceProperties ); + } + + VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalImageFormatPropertiesNV( physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties ); + } + + void vkGetPhysicalDeviceExternalSemaphoreProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalSemaphoreProperties( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties ); + } + + void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties ); + } + + void vkGetPhysicalDeviceFeatures( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFeatures( physicalDevice, pFeatures ); + } + + void vkGetPhysicalDeviceFeatures2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFeatures2( physicalDevice, pFeatures ); + } + + void vkGetPhysicalDeviceFeatures2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFeatures2KHR( physicalDevice, pFeatures ); + } + + void vkGetPhysicalDeviceFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFormatProperties( physicalDevice, format, pFormatProperties ); + } + + void vkGetPhysicalDeviceFormatProperties2( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFormatProperties2( physicalDevice, format, pFormatProperties ); + } + + void vkGetPhysicalDeviceFormatProperties2KHR( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFormatProperties2KHR( physicalDevice, format, pFormatProperties ); + } + + VkResult vkGetPhysicalDeviceFragmentShadingRatesKHR( VkPhysicalDevice physicalDevice, uint32_t* pFragmentShadingRateCount, VkPhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceFragmentShadingRatesKHR( physicalDevice, pFragmentShadingRateCount, pFragmentShadingRates ); + } + + VkResult vkGetPhysicalDeviceImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceImageFormatProperties( physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties ); + } + + VkResult vkGetPhysicalDeviceImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceImageFormatProperties2( physicalDevice, pImageFormatInfo, pImageFormatProperties ); + } + + VkResult vkGetPhysicalDeviceImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceImageFormatProperties2KHR( physicalDevice, pImageFormatInfo, pImageFormatProperties ); + } + + void vkGetPhysicalDeviceMemoryProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceMemoryProperties( physicalDevice, pMemoryProperties ); + } + + void vkGetPhysicalDeviceMemoryProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceMemoryProperties2( physicalDevice, pMemoryProperties ); + } + + void vkGetPhysicalDeviceMemoryProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceMemoryProperties2KHR( physicalDevice, pMemoryProperties ); + } + + void vkGetPhysicalDeviceMultisamplePropertiesEXT( VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT* pMultisampleProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceMultisamplePropertiesEXT( physicalDevice, samples, pMultisampleProperties ); + } + + VkResult vkGetPhysicalDevicePresentRectanglesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pRectCount, VkRect2D* pRects ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDevicePresentRectanglesKHR( physicalDevice, surface, pRectCount, pRects ); + } + + void vkGetPhysicalDeviceProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceProperties( physicalDevice, pProperties ); + } + + void vkGetPhysicalDeviceProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceProperties2( physicalDevice, pProperties ); + } + + void vkGetPhysicalDeviceProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceProperties2KHR( physicalDevice, pProperties ); + } + + void vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo, uint32_t* pNumPasses ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( physicalDevice, pPerformanceQueryCreateInfo, pNumPasses ); + } + + void vkGetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceQueueFamilyProperties( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); + } + + void vkGetPhysicalDeviceQueueFamilyProperties2( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceQueueFamilyProperties2( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); + } + + void vkGetPhysicalDeviceQueueFamilyProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceQueueFamilyProperties2KHR( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties ); + } + + void vkGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSparseImageFormatProperties( physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties ); + } + + void vkGetPhysicalDeviceSparseImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSparseImageFormatProperties2( physicalDevice, pFormatInfo, pPropertyCount, pProperties ); + } + + void vkGetPhysicalDeviceSparseImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSparseImageFormatProperties2KHR( physicalDevice, pFormatInfo, pPropertyCount, pProperties ); + } + + VkResult vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( VkPhysicalDevice physicalDevice, uint32_t* pCombinationCount, VkFramebufferMixedSamplesCombinationNV* pCombinations ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( physicalDevice, pCombinationCount, pCombinations ); + } + + VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceCapabilities2EXT( physicalDevice, surface, pSurfaceCapabilities ); + } + + VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceCapabilities2KHR( physicalDevice, pSurfaceInfo, pSurfaceCapabilities ); + } + + VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceCapabilitiesKHR( physicalDevice, surface, pSurfaceCapabilities ); + } + + VkResult vkGetPhysicalDeviceSurfaceFormats2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceFormats2KHR( physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats ); + } + + VkResult vkGetPhysicalDeviceSurfaceFormatsKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceFormatsKHR( physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetPhysicalDeviceSurfacePresentModes2EXT( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfacePresentModes2EXT( physicalDevice, pSurfaceInfo, pPresentModeCount, pPresentModes ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkGetPhysicalDeviceSurfacePresentModesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfacePresentModesKHR( physicalDevice, surface, pPresentModeCount, pPresentModes ); + } + + VkResult vkGetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceSurfaceSupportKHR( physicalDevice, queueFamilyIndex, surface, pSupported ); + } + + VkResult vkGetPhysicalDeviceToolPropertiesEXT( VkPhysicalDevice physicalDevice, uint32_t* pToolCount, VkPhysicalDeviceToolPropertiesEXT* pToolProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceToolPropertiesEXT( physicalDevice, pToolCount, pToolProperties ); + } + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct wl_display* display ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceWaylandPresentationSupportKHR( physicalDevice, queueFamilyIndex, display ); + } +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceWin32PresentationSupportKHR( physicalDevice, queueFamilyIndex ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_XCB_KHR + VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceXcbPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection, visual_id ); + } +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + +#ifdef VK_USE_PLATFORM_XLIB_KHR + VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, Display* dpy, VisualID visualID ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceXlibPresentationSupportKHR( physicalDevice, queueFamilyIndex, dpy, visualID ); + } +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + VkResult vkGetPipelineCacheData( VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPipelineCacheData( device, pipelineCache, pDataSize, pData ); + } + + VkResult vkGetPipelineExecutableInternalRepresentationsKHR( VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPipelineExecutableInternalRepresentationsKHR( device, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations ); + } + + VkResult vkGetPipelineExecutablePropertiesKHR( VkDevice device, const VkPipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPipelineExecutablePropertiesKHR( device, pPipelineInfo, pExecutableCount, pProperties ); + } + + VkResult vkGetPipelineExecutableStatisticsKHR( VkDevice device, const VkPipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPipelineExecutableStatisticsKHR( device, pExecutableInfo, pStatisticCount, pStatistics ); + } + + void vkGetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPrivateDataEXT( device, objectType, objectHandle, privateDataSlot, pData ); + } + + VkResult vkGetQueryPoolResults( VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetQueryPoolResults( device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags ); + } + + void vkGetQueueCheckpointDataNV( VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointDataNV* pCheckpointData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetQueueCheckpointDataNV( queue, pCheckpointDataCount, pCheckpointData ); + } + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + VkResult vkGetRandROutputDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRandROutputDisplayEXT( physicalDevice, dpy, rrOutput, pDisplay ); + } +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( device, pipeline, firstGroup, groupCount, dataSize, pData ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkGetRayTracingShaderGroupHandlesKHR( VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRayTracingShaderGroupHandlesKHR( device, pipeline, firstGroup, groupCount, dataSize, pData ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VkResult vkGetRayTracingShaderGroupHandlesNV( VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRayTracingShaderGroupHandlesNV( device, pipeline, firstGroup, groupCount, dataSize, pData ); + } + + VkResult vkGetRefreshCycleDurationGOOGLE( VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRefreshCycleDurationGOOGLE( device, swapchain, pDisplayTimingProperties ); + } + + void vkGetRenderAreaGranularity( VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetRenderAreaGranularity( device, renderPass, pGranularity ); + } + + VkResult vkGetSemaphoreCounterValue( VkDevice device, VkSemaphore semaphore, uint64_t* pValue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSemaphoreCounterValue( device, semaphore, pValue ); + } + + VkResult vkGetSemaphoreCounterValueKHR( VkDevice device, VkSemaphore semaphore, uint64_t* pValue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSemaphoreCounterValueKHR( device, semaphore, pValue ); + } + + VkResult vkGetSemaphoreFdKHR( VkDevice device, const VkSemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSemaphoreFdKHR( device, pGetFdInfo, pFd ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkGetSemaphoreWin32HandleKHR( VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSemaphoreWin32HandleKHR( device, pGetWin32HandleInfo, pHandle ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkGetShaderInfoAMD( VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetShaderInfoAMD( device, pipeline, shaderStage, infoType, pInfoSize, pInfo ); + } + + VkResult vkGetSwapchainCounterEXT( VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSwapchainCounterEXT( device, swapchain, counter, pCounterValue ); + } + + VkResult vkGetSwapchainImagesKHR( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSwapchainImagesKHR( device, swapchain, pSwapchainImageCount, pSwapchainImages ); + } + + VkResult vkGetSwapchainStatusKHR( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetSwapchainStatusKHR( device, swapchain ); + } + + VkResult vkGetValidationCacheDataEXT( VkDevice device, VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetValidationCacheDataEXT( device, validationCache, pDataSize, pData ); + } + + VkResult vkImportFenceFdKHR( VkDevice device, const VkImportFenceFdInfoKHR* pImportFenceFdInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkImportFenceFdKHR( device, pImportFenceFdInfo ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkImportFenceWin32HandleKHR( VkDevice device, const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkImportFenceWin32HandleKHR( device, pImportFenceWin32HandleInfo ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkImportSemaphoreFdKHR( VkDevice device, const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkImportSemaphoreFdKHR( device, pImportSemaphoreFdInfo ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkImportSemaphoreWin32HandleKHR( VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkImportSemaphoreWin32HandleKHR( device, pImportSemaphoreWin32HandleInfo ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkInitializePerformanceApiINTEL( VkDevice device, const VkInitializePerformanceApiInfoINTEL* pInitializeInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkInitializePerformanceApiINTEL( device, pInitializeInfo ); + } + + VkResult vkInvalidateMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const VULKAN_HPP_NOEXCEPT + { + return ::vkInvalidateMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges ); + } + + VkResult vkMapMemory( VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkMapMemory( device, memory, offset, size, flags, ppData ); + } + + VkResult vkMergePipelineCaches( VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches ) const VULKAN_HPP_NOEXCEPT + { + return ::vkMergePipelineCaches( device, dstCache, srcCacheCount, pSrcCaches ); + } + + VkResult vkMergeValidationCachesEXT( VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT* pSrcCaches ) const VULKAN_HPP_NOEXCEPT + { + return ::vkMergeValidationCachesEXT( device, dstCache, srcCacheCount, pSrcCaches ); + } + + void vkQueueBeginDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueBeginDebugUtilsLabelEXT( queue, pLabelInfo ); + } + + VkResult vkQueueBindSparse( VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueBindSparse( queue, bindInfoCount, pBindInfo, fence ); + } + + void vkQueueEndDebugUtilsLabelEXT( VkQueue queue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueEndDebugUtilsLabelEXT( queue ); + } + + void vkQueueInsertDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueInsertDebugUtilsLabelEXT( queue, pLabelInfo ); + } + + VkResult vkQueuePresentKHR( VkQueue queue, const VkPresentInfoKHR* pPresentInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueuePresentKHR( queue, pPresentInfo ); + } + + VkResult vkQueueSetPerformanceConfigurationINTEL( VkQueue queue, VkPerformanceConfigurationINTEL configuration ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueSetPerformanceConfigurationINTEL( queue, configuration ); + } + + VkResult vkQueueSubmit( VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueSubmit( queue, submitCount, pSubmits, fence ); + } + + VkResult vkQueueWaitIdle( VkQueue queue ) const VULKAN_HPP_NOEXCEPT + { + return ::vkQueueWaitIdle( queue ); + } + + VkResult vkRegisterDeviceEventEXT( VkDevice device, const VkDeviceEventInfoEXT* pDeviceEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkRegisterDeviceEventEXT( device, pDeviceEventInfo, pAllocator, pFence ); + } + + VkResult vkRegisterDisplayEventEXT( VkDevice device, VkDisplayKHR display, const VkDisplayEventInfoEXT* pDisplayEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const VULKAN_HPP_NOEXCEPT + { + return ::vkRegisterDisplayEventEXT( device, display, pDisplayEventInfo, pAllocator, pFence ); + } + + VkResult vkReleaseDisplayEXT( VkPhysicalDevice physicalDevice, VkDisplayKHR display ) const VULKAN_HPP_NOEXCEPT + { + return ::vkReleaseDisplayEXT( physicalDevice, display ); + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkResult vkReleaseFullScreenExclusiveModeEXT( VkDevice device, VkSwapchainKHR swapchain ) const VULKAN_HPP_NOEXCEPT + { + return ::vkReleaseFullScreenExclusiveModeEXT( device, swapchain ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + VkResult vkReleasePerformanceConfigurationINTEL( VkDevice device, VkPerformanceConfigurationINTEL configuration ) const VULKAN_HPP_NOEXCEPT + { + return ::vkReleasePerformanceConfigurationINTEL( device, configuration ); + } + + void vkReleaseProfilingLockKHR( VkDevice device ) const VULKAN_HPP_NOEXCEPT + { + return ::vkReleaseProfilingLockKHR( device ); + } + + VkResult vkResetCommandBuffer( VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetCommandBuffer( commandBuffer, flags ); + } + + VkResult vkResetCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetCommandPool( device, commandPool, flags ); + } + + VkResult vkResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetDescriptorPool( device, descriptorPool, flags ); + } + + VkResult vkResetEvent( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetEvent( device, event ); + } + + VkResult vkResetFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetFences( device, fenceCount, pFences ); + } + + void vkResetQueryPool( VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetQueryPool( device, queryPool, firstQuery, queryCount ); + } + + void vkResetQueryPoolEXT( VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT + { + return ::vkResetQueryPoolEXT( device, queryPool, firstQuery, queryCount ); + } + + VkResult vkSetDebugUtilsObjectNameEXT( VkDevice device, const VkDebugUtilsObjectNameInfoEXT* pNameInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetDebugUtilsObjectNameEXT( device, pNameInfo ); + } + + VkResult vkSetDebugUtilsObjectTagEXT( VkDevice device, const VkDebugUtilsObjectTagInfoEXT* pTagInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetDebugUtilsObjectTagEXT( device, pTagInfo ); + } + + VkResult vkSetEvent( VkDevice device, VkEvent event ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetEvent( device, event ); + } + + void vkSetHdrMetadataEXT( VkDevice device, uint32_t swapchainCount, const VkSwapchainKHR* pSwapchains, const VkHdrMetadataEXT* pMetadata ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetHdrMetadataEXT( device, swapchainCount, pSwapchains, pMetadata ); + } + + void vkSetLocalDimmingAMD( VkDevice device, VkSwapchainKHR swapChain, VkBool32 localDimmingEnable ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetLocalDimmingAMD( device, swapChain, localDimmingEnable ); + } + + VkResult vkSetPrivateDataEXT( VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t data ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSetPrivateDataEXT( device, objectType, objectHandle, privateDataSlot, data ); + } + + VkResult vkSignalSemaphore( VkDevice device, const VkSemaphoreSignalInfo* pSignalInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSignalSemaphore( device, pSignalInfo ); + } + + VkResult vkSignalSemaphoreKHR( VkDevice device, const VkSemaphoreSignalInfo* pSignalInfo ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSignalSemaphoreKHR( device, pSignalInfo ); + } + + void vkSubmitDebugUtilsMessageEXT( VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkSubmitDebugUtilsMessageEXT( instance, messageSeverity, messageTypes, pCallbackData ); + } + + void vkTrimCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkTrimCommandPool( device, commandPool, flags ); + } + + void vkTrimCommandPoolKHR( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT + { + return ::vkTrimCommandPoolKHR( device, commandPool, flags ); + } + + void vkUninitializePerformanceApiINTEL( VkDevice device ) const VULKAN_HPP_NOEXCEPT + { + return ::vkUninitializePerformanceApiINTEL( device ); + } + + void vkUnmapMemory( VkDevice device, VkDeviceMemory memory ) const VULKAN_HPP_NOEXCEPT + { + return ::vkUnmapMemory( device, memory ); + } + + void vkUpdateDescriptorSetWithTemplate( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkUpdateDescriptorSetWithTemplate( device, descriptorSet, descriptorUpdateTemplate, pData ); + } + + void vkUpdateDescriptorSetWithTemplateKHR( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const VULKAN_HPP_NOEXCEPT + { + return ::vkUpdateDescriptorSetWithTemplateKHR( device, descriptorSet, descriptorUpdateTemplate, pData ); + } + + void vkUpdateDescriptorSets( VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies ) const VULKAN_HPP_NOEXCEPT + { + return ::vkUpdateDescriptorSets( device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies ); + } + + VkResult vkWaitForFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkWaitForFences( device, fenceCount, pFences, waitAll, timeout ); + } + + VkResult vkWaitSemaphores( VkDevice device, const VkSemaphoreWaitInfo* pWaitInfo, uint64_t timeout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkWaitSemaphores( device, pWaitInfo, timeout ); + } + + VkResult vkWaitSemaphoresKHR( VkDevice device, const VkSemaphoreWaitInfo* pWaitInfo, uint64_t timeout ) const VULKAN_HPP_NOEXCEPT + { + return ::vkWaitSemaphoresKHR( device, pWaitInfo, timeout ); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + VkResult vkWriteAccelerationStructuresPropertiesKHR( VkDevice device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, size_t dataSize, void* pData, size_t stride ) const VULKAN_HPP_NOEXCEPT + { + return ::vkWriteAccelerationStructuresPropertiesKHR( device, accelerationStructureCount, pAccelerationStructures, queryType, dataSize, pData, stride ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + }; +#endif + + class DispatchLoaderDynamic; +#if !defined(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC) +# if defined(VK_NO_PROTOTYPES) +# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 +# else +# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 0 +# endif +#endif + +#if defined(_WIN32) && defined(VULKAN_HPP_STORAGE_SHARED) +# ifdef VULKAN_HPP_STORAGE_SHARED_EXPORT +# define VULKAN_HPP_STORAGE_API __declspec( dllexport ) +# else +# define VULKAN_HPP_STORAGE_API __declspec( dllimport ) +# endif +#else +# define VULKAN_HPP_STORAGE_API +#endif + +#if !defined(VULKAN_HPP_DEFAULT_DISPATCHER) +# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 +# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::defaultDispatchLoaderDynamic +# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE namespace VULKAN_HPP_NAMESPACE { VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; } + extern VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; +# else +# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic() +# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE +# endif +#endif + +#if !defined(VULKAN_HPP_DEFAULT_DISPATCHER_TYPE) +# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 + #define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic +# else +# define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic +# endif +#endif + +#if defined( VULKAN_HPP_NO_DEFAULT_DISPATCHER ) +# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT +# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT +# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT +#else +# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT = {} +# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT = nullptr +# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT = VULKAN_HPP_DEFAULT_DISPATCHER +#endif + + struct AllocationCallbacks; + + template + class ObjectDestroy + { + public: + ObjectDestroy() = default; + + ObjectDestroy( OwnerType owner, + Optional allocationCallbacks + VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, + Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT + : m_owner( owner ) + , m_allocationCallbacks( allocationCallbacks ) + , m_dispatch( &dispatch ) + {} + + OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; } + Optional getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; } + + protected: + template + void destroy(T t) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_owner && m_dispatch ); + m_owner.destroy( t, m_allocationCallbacks, *m_dispatch ); + } + + private: + OwnerType m_owner = {}; + Optional m_allocationCallbacks = nullptr; + Dispatch const * m_dispatch = nullptr; + }; + + class NoParent; + + template + class ObjectDestroy + { + public: + ObjectDestroy() = default; + + ObjectDestroy( Optional allocationCallbacks, + Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT + : m_allocationCallbacks( allocationCallbacks ) + , m_dispatch( &dispatch ) + {} + + Optional getAllocator() const VULKAN_HPP_NOEXCEPT { return m_allocationCallbacks; } + + protected: + template + void destroy(T t) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_dispatch ); + t.destroy( m_allocationCallbacks, *m_dispatch ); + } + + private: + Optional m_allocationCallbacks = nullptr; + Dispatch const * m_dispatch = nullptr; + }; + + template + class ObjectFree + { + public: + ObjectFree() = default; + + ObjectFree( OwnerType owner, + Optional allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, + Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT + : m_owner( owner ) + , m_allocationCallbacks( allocationCallbacks ) + , m_dispatch( &dispatch ) + {} + + OwnerType getOwner() const VULKAN_HPP_NOEXCEPT + { + return m_owner; + } + + Optional getAllocator() const VULKAN_HPP_NOEXCEPT + { + return m_allocationCallbacks; + } + + protected: + template + void destroy( T t ) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_owner && m_dispatch ); + m_owner.free( t, m_allocationCallbacks, *m_dispatch ); + } + + private: + OwnerType m_owner = {}; + Optional m_allocationCallbacks = nullptr; + Dispatch const * m_dispatch = nullptr; + }; + + template + class ObjectRelease + { + public: + ObjectRelease() = default; + + ObjectRelease( OwnerType owner, Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT + : m_owner( owner ) + , m_dispatch( &dispatch ) + {} + + OwnerType getOwner() const VULKAN_HPP_NOEXCEPT + { + return m_owner; + } + + protected: + template + void destroy( T t ) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_owner && m_dispatch ); + m_owner.release( t, *m_dispatch ); + } + + private: + OwnerType m_owner = {}; + Dispatch const * m_dispatch = nullptr; + }; + + template + class PoolFree + { + public: + PoolFree() = default; + + PoolFree( OwnerType owner, + PoolType pool, + Dispatch const & dispatch = VULKAN_HPP_DEFAULT_DISPATCHER ) VULKAN_HPP_NOEXCEPT + : m_owner( owner ) + , m_pool( pool ) + , m_dispatch( &dispatch ) + {} + + OwnerType getOwner() const VULKAN_HPP_NOEXCEPT { return m_owner; } + PoolType getPool() const VULKAN_HPP_NOEXCEPT { return m_pool; } + + protected: + template + void destroy(T t) VULKAN_HPP_NOEXCEPT + { + m_owner.free( m_pool, t, *m_dispatch ); + } + + private: + OwnerType m_owner = OwnerType(); + PoolType m_pool = PoolType(); + Dispatch const * m_dispatch = nullptr; + }; + + using Bool32 = uint32_t; + using DeviceAddress = uint64_t; + using DeviceSize = uint64_t; + using SampleMask = uint32_t; + + template + struct CppType + {}; + + template + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = false; + }; + + VULKAN_HPP_INLINE std::string toHexString( uint32_t value ) + { + std::stringstream stream; + stream << std::hex << value; + return stream.str(); + } + +#ifdef VK_ENABLE_BETA_EXTENSIONS + enum class AccelerationStructureBuildTypeKHR + { + eHost = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR, + eDevice = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR, + eHostOrDevice = VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( AccelerationStructureBuildTypeKHR value ) + { + switch ( value ) + { + case AccelerationStructureBuildTypeKHR::eHost : return "Host"; + case AccelerationStructureBuildTypeKHR::eDevice : return "Device"; + case AccelerationStructureBuildTypeKHR::eHostOrDevice : return "HostOrDevice"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + enum class AccelerationStructureMemoryRequirementsTypeKHR + { + eObject = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_KHR, + eBuildScratch = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_KHR, + eUpdateScratch = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_KHR + }; + using AccelerationStructureMemoryRequirementsTypeNV = AccelerationStructureMemoryRequirementsTypeKHR; + + VULKAN_HPP_INLINE std::string to_string( AccelerationStructureMemoryRequirementsTypeKHR value ) + { + switch ( value ) + { + case AccelerationStructureMemoryRequirementsTypeKHR::eObject : return "Object"; + case AccelerationStructureMemoryRequirementsTypeKHR::eBuildScratch : return "BuildScratch"; + case AccelerationStructureMemoryRequirementsTypeKHR::eUpdateScratch : return "UpdateScratch"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class AccelerationStructureTypeKHR + { + eTopLevel = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR, + eBottomLevel = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR + }; + using AccelerationStructureTypeNV = AccelerationStructureTypeKHR; + + VULKAN_HPP_INLINE std::string to_string( AccelerationStructureTypeKHR value ) + { + switch ( value ) + { + case AccelerationStructureTypeKHR::eTopLevel : return "TopLevel"; + case AccelerationStructureTypeKHR::eBottomLevel : return "BottomLevel"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class AccessFlagBits : VkAccessFlags + { + eIndirectCommandRead = VK_ACCESS_INDIRECT_COMMAND_READ_BIT, + eIndexRead = VK_ACCESS_INDEX_READ_BIT, + eVertexAttributeRead = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, + eUniformRead = VK_ACCESS_UNIFORM_READ_BIT, + eInputAttachmentRead = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, + eShaderRead = VK_ACCESS_SHADER_READ_BIT, + eShaderWrite = VK_ACCESS_SHADER_WRITE_BIT, + eColorAttachmentRead = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, + eColorAttachmentWrite = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, + eDepthStencilAttachmentRead = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, + eDepthStencilAttachmentWrite = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, + eTransferRead = VK_ACCESS_TRANSFER_READ_BIT, + eTransferWrite = VK_ACCESS_TRANSFER_WRITE_BIT, + eHostRead = VK_ACCESS_HOST_READ_BIT, + eHostWrite = VK_ACCESS_HOST_WRITE_BIT, + eMemoryRead = VK_ACCESS_MEMORY_READ_BIT, + eMemoryWrite = VK_ACCESS_MEMORY_WRITE_BIT, + eTransformFeedbackWriteEXT = VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, + eTransformFeedbackCounterReadEXT = VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, + eTransformFeedbackCounterWriteEXT = VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, + eConditionalRenderingReadEXT = VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT, + eColorAttachmentReadNoncoherentEXT = VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, + eAccelerationStructureReadKHR = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR, + eAccelerationStructureWriteKHR = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, + eShadingRateImageReadNV = VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV, + eFragmentDensityMapReadEXT = VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, + eCommandPreprocessReadNV = VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV, + eCommandPreprocessWriteNV = VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV, + eAccelerationStructureReadNV = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV, + eAccelerationStructureWriteNV = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV, + eFragmentShadingRateAttachmentReadKHR = VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( AccessFlagBits value ) + { + switch ( value ) + { + case AccessFlagBits::eIndirectCommandRead : return "IndirectCommandRead"; + case AccessFlagBits::eIndexRead : return "IndexRead"; + case AccessFlagBits::eVertexAttributeRead : return "VertexAttributeRead"; + case AccessFlagBits::eUniformRead : return "UniformRead"; + case AccessFlagBits::eInputAttachmentRead : return "InputAttachmentRead"; + case AccessFlagBits::eShaderRead : return "ShaderRead"; + case AccessFlagBits::eShaderWrite : return "ShaderWrite"; + case AccessFlagBits::eColorAttachmentRead : return "ColorAttachmentRead"; + case AccessFlagBits::eColorAttachmentWrite : return "ColorAttachmentWrite"; + case AccessFlagBits::eDepthStencilAttachmentRead : return "DepthStencilAttachmentRead"; + case AccessFlagBits::eDepthStencilAttachmentWrite : return "DepthStencilAttachmentWrite"; + case AccessFlagBits::eTransferRead : return "TransferRead"; + case AccessFlagBits::eTransferWrite : return "TransferWrite"; + case AccessFlagBits::eHostRead : return "HostRead"; + case AccessFlagBits::eHostWrite : return "HostWrite"; + case AccessFlagBits::eMemoryRead : return "MemoryRead"; + case AccessFlagBits::eMemoryWrite : return "MemoryWrite"; + case AccessFlagBits::eTransformFeedbackWriteEXT : return "TransformFeedbackWriteEXT"; + case AccessFlagBits::eTransformFeedbackCounterReadEXT : return "TransformFeedbackCounterReadEXT"; + case AccessFlagBits::eTransformFeedbackCounterWriteEXT : return "TransformFeedbackCounterWriteEXT"; + case AccessFlagBits::eConditionalRenderingReadEXT : return "ConditionalRenderingReadEXT"; + case AccessFlagBits::eColorAttachmentReadNoncoherentEXT : return "ColorAttachmentReadNoncoherentEXT"; + case AccessFlagBits::eAccelerationStructureReadKHR : return "AccelerationStructureReadKHR"; + case AccessFlagBits::eAccelerationStructureWriteKHR : return "AccelerationStructureWriteKHR"; + case AccessFlagBits::eShadingRateImageReadNV : return "ShadingRateImageReadNV"; + case AccessFlagBits::eFragmentDensityMapReadEXT : return "FragmentDensityMapReadEXT"; + case AccessFlagBits::eCommandPreprocessReadNV : return "CommandPreprocessReadNV"; + case AccessFlagBits::eCommandPreprocessWriteNV : return "CommandPreprocessWriteNV"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class AcquireProfilingLockFlagBitsKHR : VkAcquireProfilingLockFlagsKHR + {}; + + VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagBitsKHR ) + { + return "(void)"; + } + + enum class AttachmentDescriptionFlagBits : VkAttachmentDescriptionFlags + { + eMayAlias = VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlagBits value ) + { + switch ( value ) + { + case AttachmentDescriptionFlagBits::eMayAlias : return "MayAlias"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class AttachmentLoadOp + { + eLoad = VK_ATTACHMENT_LOAD_OP_LOAD, + eClear = VK_ATTACHMENT_LOAD_OP_CLEAR, + eDontCare = VK_ATTACHMENT_LOAD_OP_DONT_CARE + }; + + VULKAN_HPP_INLINE std::string to_string( AttachmentLoadOp value ) + { + switch ( value ) + { + case AttachmentLoadOp::eLoad : return "Load"; + case AttachmentLoadOp::eClear : return "Clear"; + case AttachmentLoadOp::eDontCare : return "DontCare"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class AttachmentStoreOp + { + eStore = VK_ATTACHMENT_STORE_OP_STORE, + eDontCare = VK_ATTACHMENT_STORE_OP_DONT_CARE, + eNoneQCOM = VK_ATTACHMENT_STORE_OP_NONE_QCOM + }; + + VULKAN_HPP_INLINE std::string to_string( AttachmentStoreOp value ) + { + switch ( value ) + { + case AttachmentStoreOp::eStore : return "Store"; + case AttachmentStoreOp::eDontCare : return "DontCare"; + case AttachmentStoreOp::eNoneQCOM : return "NoneQCOM"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BlendFactor + { + eZero = VK_BLEND_FACTOR_ZERO, + eOne = VK_BLEND_FACTOR_ONE, + eSrcColor = VK_BLEND_FACTOR_SRC_COLOR, + eOneMinusSrcColor = VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, + eDstColor = VK_BLEND_FACTOR_DST_COLOR, + eOneMinusDstColor = VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, + eSrcAlpha = VK_BLEND_FACTOR_SRC_ALPHA, + eOneMinusSrcAlpha = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, + eDstAlpha = VK_BLEND_FACTOR_DST_ALPHA, + eOneMinusDstAlpha = VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, + eConstantColor = VK_BLEND_FACTOR_CONSTANT_COLOR, + eOneMinusConstantColor = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, + eConstantAlpha = VK_BLEND_FACTOR_CONSTANT_ALPHA, + eOneMinusConstantAlpha = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, + eSrcAlphaSaturate = VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, + eSrc1Color = VK_BLEND_FACTOR_SRC1_COLOR, + eOneMinusSrc1Color = VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, + eSrc1Alpha = VK_BLEND_FACTOR_SRC1_ALPHA, + eOneMinusSrc1Alpha = VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA + }; + + VULKAN_HPP_INLINE std::string to_string( BlendFactor value ) + { + switch ( value ) + { + case BlendFactor::eZero : return "Zero"; + case BlendFactor::eOne : return "One"; + case BlendFactor::eSrcColor : return "SrcColor"; + case BlendFactor::eOneMinusSrcColor : return "OneMinusSrcColor"; + case BlendFactor::eDstColor : return "DstColor"; + case BlendFactor::eOneMinusDstColor : return "OneMinusDstColor"; + case BlendFactor::eSrcAlpha : return "SrcAlpha"; + case BlendFactor::eOneMinusSrcAlpha : return "OneMinusSrcAlpha"; + case BlendFactor::eDstAlpha : return "DstAlpha"; + case BlendFactor::eOneMinusDstAlpha : return "OneMinusDstAlpha"; + case BlendFactor::eConstantColor : return "ConstantColor"; + case BlendFactor::eOneMinusConstantColor : return "OneMinusConstantColor"; + case BlendFactor::eConstantAlpha : return "ConstantAlpha"; + case BlendFactor::eOneMinusConstantAlpha : return "OneMinusConstantAlpha"; + case BlendFactor::eSrcAlphaSaturate : return "SrcAlphaSaturate"; + case BlendFactor::eSrc1Color : return "Src1Color"; + case BlendFactor::eOneMinusSrc1Color : return "OneMinusSrc1Color"; + case BlendFactor::eSrc1Alpha : return "Src1Alpha"; + case BlendFactor::eOneMinusSrc1Alpha : return "OneMinusSrc1Alpha"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BlendOp + { + eAdd = VK_BLEND_OP_ADD, + eSubtract = VK_BLEND_OP_SUBTRACT, + eReverseSubtract = VK_BLEND_OP_REVERSE_SUBTRACT, + eMin = VK_BLEND_OP_MIN, + eMax = VK_BLEND_OP_MAX, + eZeroEXT = VK_BLEND_OP_ZERO_EXT, + eSrcEXT = VK_BLEND_OP_SRC_EXT, + eDstEXT = VK_BLEND_OP_DST_EXT, + eSrcOverEXT = VK_BLEND_OP_SRC_OVER_EXT, + eDstOverEXT = VK_BLEND_OP_DST_OVER_EXT, + eSrcInEXT = VK_BLEND_OP_SRC_IN_EXT, + eDstInEXT = VK_BLEND_OP_DST_IN_EXT, + eSrcOutEXT = VK_BLEND_OP_SRC_OUT_EXT, + eDstOutEXT = VK_BLEND_OP_DST_OUT_EXT, + eSrcAtopEXT = VK_BLEND_OP_SRC_ATOP_EXT, + eDstAtopEXT = VK_BLEND_OP_DST_ATOP_EXT, + eXorEXT = VK_BLEND_OP_XOR_EXT, + eMultiplyEXT = VK_BLEND_OP_MULTIPLY_EXT, + eScreenEXT = VK_BLEND_OP_SCREEN_EXT, + eOverlayEXT = VK_BLEND_OP_OVERLAY_EXT, + eDarkenEXT = VK_BLEND_OP_DARKEN_EXT, + eLightenEXT = VK_BLEND_OP_LIGHTEN_EXT, + eColordodgeEXT = VK_BLEND_OP_COLORDODGE_EXT, + eColorburnEXT = VK_BLEND_OP_COLORBURN_EXT, + eHardlightEXT = VK_BLEND_OP_HARDLIGHT_EXT, + eSoftlightEXT = VK_BLEND_OP_SOFTLIGHT_EXT, + eDifferenceEXT = VK_BLEND_OP_DIFFERENCE_EXT, + eExclusionEXT = VK_BLEND_OP_EXCLUSION_EXT, + eInvertEXT = VK_BLEND_OP_INVERT_EXT, + eInvertRgbEXT = VK_BLEND_OP_INVERT_RGB_EXT, + eLineardodgeEXT = VK_BLEND_OP_LINEARDODGE_EXT, + eLinearburnEXT = VK_BLEND_OP_LINEARBURN_EXT, + eVividlightEXT = VK_BLEND_OP_VIVIDLIGHT_EXT, + eLinearlightEXT = VK_BLEND_OP_LINEARLIGHT_EXT, + ePinlightEXT = VK_BLEND_OP_PINLIGHT_EXT, + eHardmixEXT = VK_BLEND_OP_HARDMIX_EXT, + eHslHueEXT = VK_BLEND_OP_HSL_HUE_EXT, + eHslSaturationEXT = VK_BLEND_OP_HSL_SATURATION_EXT, + eHslColorEXT = VK_BLEND_OP_HSL_COLOR_EXT, + eHslLuminosityEXT = VK_BLEND_OP_HSL_LUMINOSITY_EXT, + ePlusEXT = VK_BLEND_OP_PLUS_EXT, + ePlusClampedEXT = VK_BLEND_OP_PLUS_CLAMPED_EXT, + ePlusClampedAlphaEXT = VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT, + ePlusDarkerEXT = VK_BLEND_OP_PLUS_DARKER_EXT, + eMinusEXT = VK_BLEND_OP_MINUS_EXT, + eMinusClampedEXT = VK_BLEND_OP_MINUS_CLAMPED_EXT, + eContrastEXT = VK_BLEND_OP_CONTRAST_EXT, + eInvertOvgEXT = VK_BLEND_OP_INVERT_OVG_EXT, + eRedEXT = VK_BLEND_OP_RED_EXT, + eGreenEXT = VK_BLEND_OP_GREEN_EXT, + eBlueEXT = VK_BLEND_OP_BLUE_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( BlendOp value ) + { + switch ( value ) + { + case BlendOp::eAdd : return "Add"; + case BlendOp::eSubtract : return "Subtract"; + case BlendOp::eReverseSubtract : return "ReverseSubtract"; + case BlendOp::eMin : return "Min"; + case BlendOp::eMax : return "Max"; + case BlendOp::eZeroEXT : return "ZeroEXT"; + case BlendOp::eSrcEXT : return "SrcEXT"; + case BlendOp::eDstEXT : return "DstEXT"; + case BlendOp::eSrcOverEXT : return "SrcOverEXT"; + case BlendOp::eDstOverEXT : return "DstOverEXT"; + case BlendOp::eSrcInEXT : return "SrcInEXT"; + case BlendOp::eDstInEXT : return "DstInEXT"; + case BlendOp::eSrcOutEXT : return "SrcOutEXT"; + case BlendOp::eDstOutEXT : return "DstOutEXT"; + case BlendOp::eSrcAtopEXT : return "SrcAtopEXT"; + case BlendOp::eDstAtopEXT : return "DstAtopEXT"; + case BlendOp::eXorEXT : return "XorEXT"; + case BlendOp::eMultiplyEXT : return "MultiplyEXT"; + case BlendOp::eScreenEXT : return "ScreenEXT"; + case BlendOp::eOverlayEXT : return "OverlayEXT"; + case BlendOp::eDarkenEXT : return "DarkenEXT"; + case BlendOp::eLightenEXT : return "LightenEXT"; + case BlendOp::eColordodgeEXT : return "ColordodgeEXT"; + case BlendOp::eColorburnEXT : return "ColorburnEXT"; + case BlendOp::eHardlightEXT : return "HardlightEXT"; + case BlendOp::eSoftlightEXT : return "SoftlightEXT"; + case BlendOp::eDifferenceEXT : return "DifferenceEXT"; + case BlendOp::eExclusionEXT : return "ExclusionEXT"; + case BlendOp::eInvertEXT : return "InvertEXT"; + case BlendOp::eInvertRgbEXT : return "InvertRgbEXT"; + case BlendOp::eLineardodgeEXT : return "LineardodgeEXT"; + case BlendOp::eLinearburnEXT : return "LinearburnEXT"; + case BlendOp::eVividlightEXT : return "VividlightEXT"; + case BlendOp::eLinearlightEXT : return "LinearlightEXT"; + case BlendOp::ePinlightEXT : return "PinlightEXT"; + case BlendOp::eHardmixEXT : return "HardmixEXT"; + case BlendOp::eHslHueEXT : return "HslHueEXT"; + case BlendOp::eHslSaturationEXT : return "HslSaturationEXT"; + case BlendOp::eHslColorEXT : return "HslColorEXT"; + case BlendOp::eHslLuminosityEXT : return "HslLuminosityEXT"; + case BlendOp::ePlusEXT : return "PlusEXT"; + case BlendOp::ePlusClampedEXT : return "PlusClampedEXT"; + case BlendOp::ePlusClampedAlphaEXT : return "PlusClampedAlphaEXT"; + case BlendOp::ePlusDarkerEXT : return "PlusDarkerEXT"; + case BlendOp::eMinusEXT : return "MinusEXT"; + case BlendOp::eMinusClampedEXT : return "MinusClampedEXT"; + case BlendOp::eContrastEXT : return "ContrastEXT"; + case BlendOp::eInvertOvgEXT : return "InvertOvgEXT"; + case BlendOp::eRedEXT : return "RedEXT"; + case BlendOp::eGreenEXT : return "GreenEXT"; + case BlendOp::eBlueEXT : return "BlueEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BlendOverlapEXT + { + eUncorrelated = VK_BLEND_OVERLAP_UNCORRELATED_EXT, + eDisjoint = VK_BLEND_OVERLAP_DISJOINT_EXT, + eConjoint = VK_BLEND_OVERLAP_CONJOINT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( BlendOverlapEXT value ) + { + switch ( value ) + { + case BlendOverlapEXT::eUncorrelated : return "Uncorrelated"; + case BlendOverlapEXT::eDisjoint : return "Disjoint"; + case BlendOverlapEXT::eConjoint : return "Conjoint"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BorderColor + { + eFloatTransparentBlack = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK, + eIntTransparentBlack = VK_BORDER_COLOR_INT_TRANSPARENT_BLACK, + eFloatOpaqueBlack = VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK, + eIntOpaqueBlack = VK_BORDER_COLOR_INT_OPAQUE_BLACK, + eFloatOpaqueWhite = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE, + eIntOpaqueWhite = VK_BORDER_COLOR_INT_OPAQUE_WHITE, + eFloatCustomEXT = VK_BORDER_COLOR_FLOAT_CUSTOM_EXT, + eIntCustomEXT = VK_BORDER_COLOR_INT_CUSTOM_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( BorderColor value ) + { + switch ( value ) + { + case BorderColor::eFloatTransparentBlack : return "FloatTransparentBlack"; + case BorderColor::eIntTransparentBlack : return "IntTransparentBlack"; + case BorderColor::eFloatOpaqueBlack : return "FloatOpaqueBlack"; + case BorderColor::eIntOpaqueBlack : return "IntOpaqueBlack"; + case BorderColor::eFloatOpaqueWhite : return "FloatOpaqueWhite"; + case BorderColor::eIntOpaqueWhite : return "IntOpaqueWhite"; + case BorderColor::eFloatCustomEXT : return "FloatCustomEXT"; + case BorderColor::eIntCustomEXT : return "IntCustomEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BufferCreateFlagBits : VkBufferCreateFlags + { + eSparseBinding = VK_BUFFER_CREATE_SPARSE_BINDING_BIT, + eSparseResidency = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT, + eSparseAliased = VK_BUFFER_CREATE_SPARSE_ALIASED_BIT, + eProtected = VK_BUFFER_CREATE_PROTECTED_BIT, + eDeviceAddressCaptureReplay = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT, + eDeviceAddressCaptureReplayEXT = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT, + eDeviceAddressCaptureReplayKHR = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( BufferCreateFlagBits value ) + { + switch ( value ) + { + case BufferCreateFlagBits::eSparseBinding : return "SparseBinding"; + case BufferCreateFlagBits::eSparseResidency : return "SparseResidency"; + case BufferCreateFlagBits::eSparseAliased : return "SparseAliased"; + case BufferCreateFlagBits::eProtected : return "Protected"; + case BufferCreateFlagBits::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BufferUsageFlagBits : VkBufferUsageFlags + { + eTransferSrc = VK_BUFFER_USAGE_TRANSFER_SRC_BIT, + eTransferDst = VK_BUFFER_USAGE_TRANSFER_DST_BIT, + eUniformTexelBuffer = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, + eStorageTexelBuffer = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT, + eUniformBuffer = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, + eStorageBuffer = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, + eIndexBuffer = VK_BUFFER_USAGE_INDEX_BUFFER_BIT, + eVertexBuffer = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, + eIndirectBuffer = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT, + eShaderDeviceAddress = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, + eTransformFeedbackBufferEXT = VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT, + eTransformFeedbackCounterBufferEXT = VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT, + eConditionalRenderingEXT = VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT, + eRayTracingKHR = VK_BUFFER_USAGE_RAY_TRACING_BIT_KHR, + eRayTracingNV = VK_BUFFER_USAGE_RAY_TRACING_BIT_NV, + eShaderDeviceAddressEXT = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT, + eShaderDeviceAddressKHR = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( BufferUsageFlagBits value ) + { + switch ( value ) + { + case BufferUsageFlagBits::eTransferSrc : return "TransferSrc"; + case BufferUsageFlagBits::eTransferDst : return "TransferDst"; + case BufferUsageFlagBits::eUniformTexelBuffer : return "UniformTexelBuffer"; + case BufferUsageFlagBits::eStorageTexelBuffer : return "StorageTexelBuffer"; + case BufferUsageFlagBits::eUniformBuffer : return "UniformBuffer"; + case BufferUsageFlagBits::eStorageBuffer : return "StorageBuffer"; + case BufferUsageFlagBits::eIndexBuffer : return "IndexBuffer"; + case BufferUsageFlagBits::eVertexBuffer : return "VertexBuffer"; + case BufferUsageFlagBits::eIndirectBuffer : return "IndirectBuffer"; + case BufferUsageFlagBits::eShaderDeviceAddress : return "ShaderDeviceAddress"; + case BufferUsageFlagBits::eTransformFeedbackBufferEXT : return "TransformFeedbackBufferEXT"; + case BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT : return "TransformFeedbackCounterBufferEXT"; + case BufferUsageFlagBits::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; + case BufferUsageFlagBits::eRayTracingKHR : return "RayTracingKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class BuildAccelerationStructureFlagBitsKHR : VkBuildAccelerationStructureFlagsKHR + { + eAllowUpdate = VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR, + eAllowCompaction = VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR, + ePreferFastTrace = VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR, + ePreferFastBuild = VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR, + eLowMemory = VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR + }; + using BuildAccelerationStructureFlagBitsNV = BuildAccelerationStructureFlagBitsKHR; + + VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagBitsKHR value ) + { + switch ( value ) + { + case BuildAccelerationStructureFlagBitsKHR::eAllowUpdate : return "AllowUpdate"; + case BuildAccelerationStructureFlagBitsKHR::eAllowCompaction : return "AllowCompaction"; + case BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace : return "PreferFastTrace"; + case BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild : return "PreferFastBuild"; + case BuildAccelerationStructureFlagBitsKHR::eLowMemory : return "LowMemory"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ChromaLocation + { + eCositedEven = VK_CHROMA_LOCATION_COSITED_EVEN, + eMidpoint = VK_CHROMA_LOCATION_MIDPOINT + }; + using ChromaLocationKHR = ChromaLocation; + + VULKAN_HPP_INLINE std::string to_string( ChromaLocation value ) + { + switch ( value ) + { + case ChromaLocation::eCositedEven : return "CositedEven"; + case ChromaLocation::eMidpoint : return "Midpoint"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CoarseSampleOrderTypeNV + { + eDefault = VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV, + eCustom = VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV, + ePixelMajor = VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV, + eSampleMajor = VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV + }; + + VULKAN_HPP_INLINE std::string to_string( CoarseSampleOrderTypeNV value ) + { + switch ( value ) + { + case CoarseSampleOrderTypeNV::eDefault : return "Default"; + case CoarseSampleOrderTypeNV::eCustom : return "Custom"; + case CoarseSampleOrderTypeNV::ePixelMajor : return "PixelMajor"; + case CoarseSampleOrderTypeNV::eSampleMajor : return "SampleMajor"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ColorComponentFlagBits : VkColorComponentFlags + { + eR = VK_COLOR_COMPONENT_R_BIT, + eG = VK_COLOR_COMPONENT_G_BIT, + eB = VK_COLOR_COMPONENT_B_BIT, + eA = VK_COLOR_COMPONENT_A_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( ColorComponentFlagBits value ) + { + switch ( value ) + { + case ColorComponentFlagBits::eR : return "R"; + case ColorComponentFlagBits::eG : return "G"; + case ColorComponentFlagBits::eB : return "B"; + case ColorComponentFlagBits::eA : return "A"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ColorSpaceKHR + { + eSrgbNonlinear = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, + eDisplayP3NonlinearEXT = VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT, + eExtendedSrgbLinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT, + eDisplayP3LinearEXT = VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT, + eDciP3NonlinearEXT = VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT, + eBt709LinearEXT = VK_COLOR_SPACE_BT709_LINEAR_EXT, + eBt709NonlinearEXT = VK_COLOR_SPACE_BT709_NONLINEAR_EXT, + eBt2020LinearEXT = VK_COLOR_SPACE_BT2020_LINEAR_EXT, + eHdr10St2084EXT = VK_COLOR_SPACE_HDR10_ST2084_EXT, + eDolbyvisionEXT = VK_COLOR_SPACE_DOLBYVISION_EXT, + eHdr10HlgEXT = VK_COLOR_SPACE_HDR10_HLG_EXT, + eAdobergbLinearEXT = VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT, + eAdobergbNonlinearEXT = VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT, + ePassThroughEXT = VK_COLOR_SPACE_PASS_THROUGH_EXT, + eExtendedSrgbNonlinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT, + eDisplayNativeAMD = VK_COLOR_SPACE_DISPLAY_NATIVE_AMD, + eVkColorspaceSrgbNonlinear = VK_COLORSPACE_SRGB_NONLINEAR_KHR, + eDciP3LinearEXT = VK_COLOR_SPACE_DCI_P3_LINEAR_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ColorSpaceKHR value ) + { + switch ( value ) + { + case ColorSpaceKHR::eSrgbNonlinear : return "SrgbNonlinear"; + case ColorSpaceKHR::eDisplayP3NonlinearEXT : return "DisplayP3NonlinearEXT"; + case ColorSpaceKHR::eExtendedSrgbLinearEXT : return "ExtendedSrgbLinearEXT"; + case ColorSpaceKHR::eDisplayP3LinearEXT : return "DisplayP3LinearEXT"; + case ColorSpaceKHR::eDciP3NonlinearEXT : return "DciP3NonlinearEXT"; + case ColorSpaceKHR::eBt709LinearEXT : return "Bt709LinearEXT"; + case ColorSpaceKHR::eBt709NonlinearEXT : return "Bt709NonlinearEXT"; + case ColorSpaceKHR::eBt2020LinearEXT : return "Bt2020LinearEXT"; + case ColorSpaceKHR::eHdr10St2084EXT : return "Hdr10St2084EXT"; + case ColorSpaceKHR::eDolbyvisionEXT : return "DolbyvisionEXT"; + case ColorSpaceKHR::eHdr10HlgEXT : return "Hdr10HlgEXT"; + case ColorSpaceKHR::eAdobergbLinearEXT : return "AdobergbLinearEXT"; + case ColorSpaceKHR::eAdobergbNonlinearEXT : return "AdobergbNonlinearEXT"; + case ColorSpaceKHR::ePassThroughEXT : return "PassThroughEXT"; + case ColorSpaceKHR::eExtendedSrgbNonlinearEXT : return "ExtendedSrgbNonlinearEXT"; + case ColorSpaceKHR::eDisplayNativeAMD : return "DisplayNativeAMD"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CommandBufferLevel + { + ePrimary = VK_COMMAND_BUFFER_LEVEL_PRIMARY, + eSecondary = VK_COMMAND_BUFFER_LEVEL_SECONDARY + }; + + VULKAN_HPP_INLINE std::string to_string( CommandBufferLevel value ) + { + switch ( value ) + { + case CommandBufferLevel::ePrimary : return "Primary"; + case CommandBufferLevel::eSecondary : return "Secondary"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CommandBufferResetFlagBits : VkCommandBufferResetFlags + { + eReleaseResources = VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlagBits value ) + { + switch ( value ) + { + case CommandBufferResetFlagBits::eReleaseResources : return "ReleaseResources"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CommandBufferUsageFlagBits : VkCommandBufferUsageFlags + { + eOneTimeSubmit = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT, + eRenderPassContinue = VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT, + eSimultaneousUse = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlagBits value ) + { + switch ( value ) + { + case CommandBufferUsageFlagBits::eOneTimeSubmit : return "OneTimeSubmit"; + case CommandBufferUsageFlagBits::eRenderPassContinue : return "RenderPassContinue"; + case CommandBufferUsageFlagBits::eSimultaneousUse : return "SimultaneousUse"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CommandPoolCreateFlagBits : VkCommandPoolCreateFlags + { + eTransient = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, + eResetCommandBuffer = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, + eProtected = VK_COMMAND_POOL_CREATE_PROTECTED_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlagBits value ) + { + switch ( value ) + { + case CommandPoolCreateFlagBits::eTransient : return "Transient"; + case CommandPoolCreateFlagBits::eResetCommandBuffer : return "ResetCommandBuffer"; + case CommandPoolCreateFlagBits::eProtected : return "Protected"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CommandPoolResetFlagBits : VkCommandPoolResetFlags + { + eReleaseResources = VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlagBits value ) + { + switch ( value ) + { + case CommandPoolResetFlagBits::eReleaseResources : return "ReleaseResources"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CompareOp + { + eNever = VK_COMPARE_OP_NEVER, + eLess = VK_COMPARE_OP_LESS, + eEqual = VK_COMPARE_OP_EQUAL, + eLessOrEqual = VK_COMPARE_OP_LESS_OR_EQUAL, + eGreater = VK_COMPARE_OP_GREATER, + eNotEqual = VK_COMPARE_OP_NOT_EQUAL, + eGreaterOrEqual = VK_COMPARE_OP_GREATER_OR_EQUAL, + eAlways = VK_COMPARE_OP_ALWAYS + }; + + VULKAN_HPP_INLINE std::string to_string( CompareOp value ) + { + switch ( value ) + { + case CompareOp::eNever : return "Never"; + case CompareOp::eLess : return "Less"; + case CompareOp::eEqual : return "Equal"; + case CompareOp::eLessOrEqual : return "LessOrEqual"; + case CompareOp::eGreater : return "Greater"; + case CompareOp::eNotEqual : return "NotEqual"; + case CompareOp::eGreaterOrEqual : return "GreaterOrEqual"; + case CompareOp::eAlways : return "Always"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ComponentSwizzle + { + eIdentity = VK_COMPONENT_SWIZZLE_IDENTITY, + eZero = VK_COMPONENT_SWIZZLE_ZERO, + eOne = VK_COMPONENT_SWIZZLE_ONE, + eR = VK_COMPONENT_SWIZZLE_R, + eG = VK_COMPONENT_SWIZZLE_G, + eB = VK_COMPONENT_SWIZZLE_B, + eA = VK_COMPONENT_SWIZZLE_A + }; + + VULKAN_HPP_INLINE std::string to_string( ComponentSwizzle value ) + { + switch ( value ) + { + case ComponentSwizzle::eIdentity : return "Identity"; + case ComponentSwizzle::eZero : return "Zero"; + case ComponentSwizzle::eOne : return "One"; + case ComponentSwizzle::eR : return "R"; + case ComponentSwizzle::eG : return "G"; + case ComponentSwizzle::eB : return "B"; + case ComponentSwizzle::eA : return "A"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ComponentTypeNV + { + eFloat16 = VK_COMPONENT_TYPE_FLOAT16_NV, + eFloat32 = VK_COMPONENT_TYPE_FLOAT32_NV, + eFloat64 = VK_COMPONENT_TYPE_FLOAT64_NV, + eSint8 = VK_COMPONENT_TYPE_SINT8_NV, + eSint16 = VK_COMPONENT_TYPE_SINT16_NV, + eSint32 = VK_COMPONENT_TYPE_SINT32_NV, + eSint64 = VK_COMPONENT_TYPE_SINT64_NV, + eUint8 = VK_COMPONENT_TYPE_UINT8_NV, + eUint16 = VK_COMPONENT_TYPE_UINT16_NV, + eUint32 = VK_COMPONENT_TYPE_UINT32_NV, + eUint64 = VK_COMPONENT_TYPE_UINT64_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ComponentTypeNV value ) + { + switch ( value ) + { + case ComponentTypeNV::eFloat16 : return "Float16"; + case ComponentTypeNV::eFloat32 : return "Float32"; + case ComponentTypeNV::eFloat64 : return "Float64"; + case ComponentTypeNV::eSint8 : return "Sint8"; + case ComponentTypeNV::eSint16 : return "Sint16"; + case ComponentTypeNV::eSint32 : return "Sint32"; + case ComponentTypeNV::eSint64 : return "Sint64"; + case ComponentTypeNV::eUint8 : return "Uint8"; + case ComponentTypeNV::eUint16 : return "Uint16"; + case ComponentTypeNV::eUint32 : return "Uint32"; + case ComponentTypeNV::eUint64 : return "Uint64"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CompositeAlphaFlagBitsKHR : VkCompositeAlphaFlagsKHR + { + eOpaque = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, + ePreMultiplied = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR, + ePostMultiplied = VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR, + eInherit = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagBitsKHR value ) + { + switch ( value ) + { + case CompositeAlphaFlagBitsKHR::eOpaque : return "Opaque"; + case CompositeAlphaFlagBitsKHR::ePreMultiplied : return "PreMultiplied"; + case CompositeAlphaFlagBitsKHR::ePostMultiplied : return "PostMultiplied"; + case CompositeAlphaFlagBitsKHR::eInherit : return "Inherit"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ConditionalRenderingFlagBitsEXT : VkConditionalRenderingFlagsEXT + { + eInverted = VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagBitsEXT value ) + { + switch ( value ) + { + case ConditionalRenderingFlagBitsEXT::eInverted : return "Inverted"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ConservativeRasterizationModeEXT + { + eDisabled = VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT, + eOverestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT, + eUnderestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ConservativeRasterizationModeEXT value ) + { + switch ( value ) + { + case ConservativeRasterizationModeEXT::eDisabled : return "Disabled"; + case ConservativeRasterizationModeEXT::eOverestimate : return "Overestimate"; + case ConservativeRasterizationModeEXT::eUnderestimate : return "Underestimate"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CopyAccelerationStructureModeKHR + { + eClone = VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR, + eCompact = VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR, + eSerialize = VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR, + eDeserialize = VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR + }; + using CopyAccelerationStructureModeNV = CopyAccelerationStructureModeKHR; + + VULKAN_HPP_INLINE std::string to_string( CopyAccelerationStructureModeKHR value ) + { + switch ( value ) + { + case CopyAccelerationStructureModeKHR::eClone : return "Clone"; + case CopyAccelerationStructureModeKHR::eCompact : return "Compact"; + case CopyAccelerationStructureModeKHR::eSerialize : return "Serialize"; + case CopyAccelerationStructureModeKHR::eDeserialize : return "Deserialize"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CoverageModulationModeNV + { + eNone = VK_COVERAGE_MODULATION_MODE_NONE_NV, + eRgb = VK_COVERAGE_MODULATION_MODE_RGB_NV, + eAlpha = VK_COVERAGE_MODULATION_MODE_ALPHA_NV, + eRgba = VK_COVERAGE_MODULATION_MODE_RGBA_NV + }; + + VULKAN_HPP_INLINE std::string to_string( CoverageModulationModeNV value ) + { + switch ( value ) + { + case CoverageModulationModeNV::eNone : return "None"; + case CoverageModulationModeNV::eRgb : return "Rgb"; + case CoverageModulationModeNV::eAlpha : return "Alpha"; + case CoverageModulationModeNV::eRgba : return "Rgba"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CoverageReductionModeNV + { + eMerge = VK_COVERAGE_REDUCTION_MODE_MERGE_NV, + eTruncate = VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value ) + { + switch ( value ) + { + case CoverageReductionModeNV::eMerge : return "Merge"; + case CoverageReductionModeNV::eTruncate : return "Truncate"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class CullModeFlagBits : VkCullModeFlags + { + eNone = VK_CULL_MODE_NONE, + eFront = VK_CULL_MODE_FRONT_BIT, + eBack = VK_CULL_MODE_BACK_BIT, + eFrontAndBack = VK_CULL_MODE_FRONT_AND_BACK + }; + + VULKAN_HPP_INLINE std::string to_string( CullModeFlagBits value ) + { + switch ( value ) + { + case CullModeFlagBits::eNone : return "None"; + case CullModeFlagBits::eFront : return "Front"; + case CullModeFlagBits::eBack : return "Back"; + case CullModeFlagBits::eFrontAndBack : return "FrontAndBack"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DebugReportFlagBitsEXT : VkDebugReportFlagsEXT + { + eInformation = VK_DEBUG_REPORT_INFORMATION_BIT_EXT, + eWarning = VK_DEBUG_REPORT_WARNING_BIT_EXT, + ePerformanceWarning = VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT, + eError = VK_DEBUG_REPORT_ERROR_BIT_EXT, + eDebug = VK_DEBUG_REPORT_DEBUG_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DebugReportFlagBitsEXT value ) + { + switch ( value ) + { + case DebugReportFlagBitsEXT::eInformation : return "Information"; + case DebugReportFlagBitsEXT::eWarning : return "Warning"; + case DebugReportFlagBitsEXT::ePerformanceWarning : return "PerformanceWarning"; + case DebugReportFlagBitsEXT::eError : return "Error"; + case DebugReportFlagBitsEXT::eDebug : return "Debug"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DebugReportObjectTypeEXT + { + eUnknown = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, + eInstance = VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT, + ePhysicalDevice = VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT, + eDevice = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, + eQueue = VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT, + eSemaphore = VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT, + eCommandBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, + eFence = VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT, + eDeviceMemory = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT, + eBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT, + eImage = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT, + eEvent = VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT, + eQueryPool = VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT, + eBufferView = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT, + eImageView = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT, + eShaderModule = VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT, + ePipelineCache = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT, + ePipelineLayout = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT, + eRenderPass = VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT, + ePipeline = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, + eDescriptorSetLayout = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT, + eSampler = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT, + eDescriptorPool = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT, + eDescriptorSet = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT, + eFramebuffer = VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT, + eCommandPool = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT, + eSurfaceKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT, + eSwapchainKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT, + eDebugReportCallbackEXT = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT, + eDisplayKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT, + eDisplayModeKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT, + eValidationCacheEXT = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT, + eSamplerYcbcrConversion = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT, + eDescriptorUpdateTemplate = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT, + eAccelerationStructureKHR = VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT, + eAccelerationStructureNV = VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT, + eDebugReport = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT, + eDescriptorUpdateTemplateKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT, + eSamplerYcbcrConversionKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT, + eValidationCache = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DebugReportObjectTypeEXT value ) + { + switch ( value ) + { + case DebugReportObjectTypeEXT::eUnknown : return "Unknown"; + case DebugReportObjectTypeEXT::eInstance : return "Instance"; + case DebugReportObjectTypeEXT::ePhysicalDevice : return "PhysicalDevice"; + case DebugReportObjectTypeEXT::eDevice : return "Device"; + case DebugReportObjectTypeEXT::eQueue : return "Queue"; + case DebugReportObjectTypeEXT::eSemaphore : return "Semaphore"; + case DebugReportObjectTypeEXT::eCommandBuffer : return "CommandBuffer"; + case DebugReportObjectTypeEXT::eFence : return "Fence"; + case DebugReportObjectTypeEXT::eDeviceMemory : return "DeviceMemory"; + case DebugReportObjectTypeEXT::eBuffer : return "Buffer"; + case DebugReportObjectTypeEXT::eImage : return "Image"; + case DebugReportObjectTypeEXT::eEvent : return "Event"; + case DebugReportObjectTypeEXT::eQueryPool : return "QueryPool"; + case DebugReportObjectTypeEXT::eBufferView : return "BufferView"; + case DebugReportObjectTypeEXT::eImageView : return "ImageView"; + case DebugReportObjectTypeEXT::eShaderModule : return "ShaderModule"; + case DebugReportObjectTypeEXT::ePipelineCache : return "PipelineCache"; + case DebugReportObjectTypeEXT::ePipelineLayout : return "PipelineLayout"; + case DebugReportObjectTypeEXT::eRenderPass : return "RenderPass"; + case DebugReportObjectTypeEXT::ePipeline : return "Pipeline"; + case DebugReportObjectTypeEXT::eDescriptorSetLayout : return "DescriptorSetLayout"; + case DebugReportObjectTypeEXT::eSampler : return "Sampler"; + case DebugReportObjectTypeEXT::eDescriptorPool : return "DescriptorPool"; + case DebugReportObjectTypeEXT::eDescriptorSet : return "DescriptorSet"; + case DebugReportObjectTypeEXT::eFramebuffer : return "Framebuffer"; + case DebugReportObjectTypeEXT::eCommandPool : return "CommandPool"; + case DebugReportObjectTypeEXT::eSurfaceKHR : return "SurfaceKHR"; + case DebugReportObjectTypeEXT::eSwapchainKHR : return "SwapchainKHR"; + case DebugReportObjectTypeEXT::eDebugReportCallbackEXT : return "DebugReportCallbackEXT"; + case DebugReportObjectTypeEXT::eDisplayKHR : return "DisplayKHR"; + case DebugReportObjectTypeEXT::eDisplayModeKHR : return "DisplayModeKHR"; + case DebugReportObjectTypeEXT::eValidationCacheEXT : return "ValidationCacheEXT"; + case DebugReportObjectTypeEXT::eSamplerYcbcrConversion : return "SamplerYcbcrConversion"; + case DebugReportObjectTypeEXT::eDescriptorUpdateTemplate : return "DescriptorUpdateTemplate"; + case DebugReportObjectTypeEXT::eAccelerationStructureKHR : return "AccelerationStructureKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DebugUtilsMessageSeverityFlagBitsEXT : VkDebugUtilsMessageSeverityFlagsEXT + { + eVerbose = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT, + eInfo = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT, + eWarning = VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT, + eError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagBitsEXT value ) + { + switch ( value ) + { + case DebugUtilsMessageSeverityFlagBitsEXT::eVerbose : return "Verbose"; + case DebugUtilsMessageSeverityFlagBitsEXT::eInfo : return "Info"; + case DebugUtilsMessageSeverityFlagBitsEXT::eWarning : return "Warning"; + case DebugUtilsMessageSeverityFlagBitsEXT::eError : return "Error"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DebugUtilsMessageTypeFlagBitsEXT : VkDebugUtilsMessageTypeFlagsEXT + { + eGeneral = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT, + eValidation = VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT, + ePerformance = VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagBitsEXT value ) + { + switch ( value ) + { + case DebugUtilsMessageTypeFlagBitsEXT::eGeneral : return "General"; + case DebugUtilsMessageTypeFlagBitsEXT::eValidation : return "Validation"; + case DebugUtilsMessageTypeFlagBitsEXT::ePerformance : return "Performance"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DependencyFlagBits : VkDependencyFlags + { + eByRegion = VK_DEPENDENCY_BY_REGION_BIT, + eDeviceGroup = VK_DEPENDENCY_DEVICE_GROUP_BIT, + eViewLocal = VK_DEPENDENCY_VIEW_LOCAL_BIT, + eDeviceGroupKHR = VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR, + eViewLocalKHR = VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( DependencyFlagBits value ) + { + switch ( value ) + { + case DependencyFlagBits::eByRegion : return "ByRegion"; + case DependencyFlagBits::eDeviceGroup : return "DeviceGroup"; + case DependencyFlagBits::eViewLocal : return "ViewLocal"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DescriptorBindingFlagBits : VkDescriptorBindingFlags + { + eUpdateAfterBind = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT, + eUpdateUnusedWhilePending = VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT, + ePartiallyBound = VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT, + eVariableDescriptorCount = VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT + }; + using DescriptorBindingFlagBitsEXT = DescriptorBindingFlagBits; + + VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlagBits value ) + { + switch ( value ) + { + case DescriptorBindingFlagBits::eUpdateAfterBind : return "UpdateAfterBind"; + case DescriptorBindingFlagBits::eUpdateUnusedWhilePending : return "UpdateUnusedWhilePending"; + case DescriptorBindingFlagBits::ePartiallyBound : return "PartiallyBound"; + case DescriptorBindingFlagBits::eVariableDescriptorCount : return "VariableDescriptorCount"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DescriptorPoolCreateFlagBits : VkDescriptorPoolCreateFlags + { + eFreeDescriptorSet = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, + eUpdateAfterBind = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT, + eUpdateAfterBindEXT = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlagBits value ) + { + switch ( value ) + { + case DescriptorPoolCreateFlagBits::eFreeDescriptorSet : return "FreeDescriptorSet"; + case DescriptorPoolCreateFlagBits::eUpdateAfterBind : return "UpdateAfterBind"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DescriptorSetLayoutCreateFlagBits : VkDescriptorSetLayoutCreateFlags + { + eUpdateAfterBindPool = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, + ePushDescriptorKHR = VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, + eUpdateAfterBindPoolEXT = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlagBits value ) + { + switch ( value ) + { + case DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool : return "UpdateAfterBindPool"; + case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR : return "PushDescriptorKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DescriptorType + { + eSampler = VK_DESCRIPTOR_TYPE_SAMPLER, + eCombinedImageSampler = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, + eSampledImage = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, + eStorageImage = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, + eUniformTexelBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, + eStorageTexelBuffer = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, + eUniformBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, + eStorageBuffer = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, + eUniformBufferDynamic = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, + eStorageBufferDynamic = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC, + eInputAttachment = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, + eInlineUniformBlockEXT = VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT, + eAccelerationStructureKHR = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, + eAccelerationStructureNV = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( DescriptorType value ) + { + switch ( value ) + { + case DescriptorType::eSampler : return "Sampler"; + case DescriptorType::eCombinedImageSampler : return "CombinedImageSampler"; + case DescriptorType::eSampledImage : return "SampledImage"; + case DescriptorType::eStorageImage : return "StorageImage"; + case DescriptorType::eUniformTexelBuffer : return "UniformTexelBuffer"; + case DescriptorType::eStorageTexelBuffer : return "StorageTexelBuffer"; + case DescriptorType::eUniformBuffer : return "UniformBuffer"; + case DescriptorType::eStorageBuffer : return "StorageBuffer"; + case DescriptorType::eUniformBufferDynamic : return "UniformBufferDynamic"; + case DescriptorType::eStorageBufferDynamic : return "StorageBufferDynamic"; + case DescriptorType::eInputAttachment : return "InputAttachment"; + case DescriptorType::eInlineUniformBlockEXT : return "InlineUniformBlockEXT"; + case DescriptorType::eAccelerationStructureKHR : return "AccelerationStructureKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DescriptorUpdateTemplateType + { + eDescriptorSet = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET, + ePushDescriptorsKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR + }; + using DescriptorUpdateTemplateTypeKHR = DescriptorUpdateTemplateType; + + VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateType value ) + { + switch ( value ) + { + case DescriptorUpdateTemplateType::eDescriptorSet : return "DescriptorSet"; + case DescriptorUpdateTemplateType::ePushDescriptorsKHR : return "PushDescriptorsKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DeviceCreateFlagBits + {}; + + VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlagBits ) + { + return "(void)"; + } + + enum class DeviceDiagnosticsConfigFlagBitsNV : VkDeviceDiagnosticsConfigFlagsNV + { + eEnableShaderDebugInfo = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV, + eEnableResourceTracking = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV, + eEnableAutomaticCheckpoints = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagBitsNV value ) + { + switch ( value ) + { + case DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo : return "EnableShaderDebugInfo"; + case DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking : return "EnableResourceTracking"; + case DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints : return "EnableAutomaticCheckpoints"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DeviceEventTypeEXT + { + eDisplayHotplug = VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DeviceEventTypeEXT value ) + { + switch ( value ) + { + case DeviceEventTypeEXT::eDisplayHotplug : return "DisplayHotplug"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DeviceGroupPresentModeFlagBitsKHR : VkDeviceGroupPresentModeFlagsKHR + { + eLocal = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR, + eRemote = VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR, + eSum = VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR, + eLocalMultiDevice = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagBitsKHR value ) + { + switch ( value ) + { + case DeviceGroupPresentModeFlagBitsKHR::eLocal : return "Local"; + case DeviceGroupPresentModeFlagBitsKHR::eRemote : return "Remote"; + case DeviceGroupPresentModeFlagBitsKHR::eSum : return "Sum"; + case DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice : return "LocalMultiDevice"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DeviceMemoryReportEventTypeEXT + { + eAllocate = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT, + eFree = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT, + eImport = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT, + eUnimport = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT, + eAllocationFailed = VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportEventTypeEXT value ) + { + switch ( value ) + { + case DeviceMemoryReportEventTypeEXT::eAllocate : return "Allocate"; + case DeviceMemoryReportEventTypeEXT::eFree : return "Free"; + case DeviceMemoryReportEventTypeEXT::eImport : return "Import"; + case DeviceMemoryReportEventTypeEXT::eUnimport : return "Unimport"; + case DeviceMemoryReportEventTypeEXT::eAllocationFailed : return "AllocationFailed"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DeviceQueueCreateFlagBits : VkDeviceQueueCreateFlags + { + eProtected = VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlagBits value ) + { + switch ( value ) + { + case DeviceQueueCreateFlagBits::eProtected : return "Protected"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DiscardRectangleModeEXT + { + eInclusive = VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT, + eExclusive = VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DiscardRectangleModeEXT value ) + { + switch ( value ) + { + case DiscardRectangleModeEXT::eInclusive : return "Inclusive"; + case DiscardRectangleModeEXT::eExclusive : return "Exclusive"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DisplayEventTypeEXT + { + eFirstPixelOut = VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DisplayEventTypeEXT value ) + { + switch ( value ) + { + case DisplayEventTypeEXT::eFirstPixelOut : return "FirstPixelOut"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DisplayPlaneAlphaFlagBitsKHR : VkDisplayPlaneAlphaFlagsKHR + { + eOpaque = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR, + eGlobal = VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR, + ePerPixel = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, + ePerPixelPremultiplied = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagBitsKHR value ) + { + switch ( value ) + { + case DisplayPlaneAlphaFlagBitsKHR::eOpaque : return "Opaque"; + case DisplayPlaneAlphaFlagBitsKHR::eGlobal : return "Global"; + case DisplayPlaneAlphaFlagBitsKHR::ePerPixel : return "PerPixel"; + case DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied : return "PerPixelPremultiplied"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DisplayPowerStateEXT + { + eOff = VK_DISPLAY_POWER_STATE_OFF_EXT, + eSuspend = VK_DISPLAY_POWER_STATE_SUSPEND_EXT, + eOn = VK_DISPLAY_POWER_STATE_ON_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DisplayPowerStateEXT value ) + { + switch ( value ) + { + case DisplayPowerStateEXT::eOff : return "Off"; + case DisplayPowerStateEXT::eSuspend : return "Suspend"; + case DisplayPowerStateEXT::eOn : return "On"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DriverId + { + eAmdProprietary = VK_DRIVER_ID_AMD_PROPRIETARY, + eAmdOpenSource = VK_DRIVER_ID_AMD_OPEN_SOURCE, + eMesaRadv = VK_DRIVER_ID_MESA_RADV, + eNvidiaProprietary = VK_DRIVER_ID_NVIDIA_PROPRIETARY, + eIntelProprietaryWindows = VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS, + eIntelOpenSourceMESA = VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA, + eImaginationProprietary = VK_DRIVER_ID_IMAGINATION_PROPRIETARY, + eQualcommProprietary = VK_DRIVER_ID_QUALCOMM_PROPRIETARY, + eArmProprietary = VK_DRIVER_ID_ARM_PROPRIETARY, + eGoogleSwiftshader = VK_DRIVER_ID_GOOGLE_SWIFTSHADER, + eGgpProprietary = VK_DRIVER_ID_GGP_PROPRIETARY, + eBroadcomProprietary = VK_DRIVER_ID_BROADCOM_PROPRIETARY, + eMesaLlvmpipe = VK_DRIVER_ID_MESA_LLVMPIPE, + eMoltenvk = VK_DRIVER_ID_MOLTENVK, + eIntelOpenSourceMesa = VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR + }; + using DriverIdKHR = DriverId; + + VULKAN_HPP_INLINE std::string to_string( DriverId value ) + { + switch ( value ) + { + case DriverId::eAmdProprietary : return "AmdProprietary"; + case DriverId::eAmdOpenSource : return "AmdOpenSource"; + case DriverId::eMesaRadv : return "MesaRadv"; + case DriverId::eNvidiaProprietary : return "NvidiaProprietary"; + case DriverId::eIntelProprietaryWindows : return "IntelProprietaryWindows"; + case DriverId::eIntelOpenSourceMESA : return "IntelOpenSourceMESA"; + case DriverId::eImaginationProprietary : return "ImaginationProprietary"; + case DriverId::eQualcommProprietary : return "QualcommProprietary"; + case DriverId::eArmProprietary : return "ArmProprietary"; + case DriverId::eGoogleSwiftshader : return "GoogleSwiftshader"; + case DriverId::eGgpProprietary : return "GgpProprietary"; + case DriverId::eBroadcomProprietary : return "BroadcomProprietary"; + case DriverId::eMesaLlvmpipe : return "MesaLlvmpipe"; + case DriverId::eMoltenvk : return "Moltenvk"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class DynamicState + { + eViewport = VK_DYNAMIC_STATE_VIEWPORT, + eScissor = VK_DYNAMIC_STATE_SCISSOR, + eLineWidth = VK_DYNAMIC_STATE_LINE_WIDTH, + eDepthBias = VK_DYNAMIC_STATE_DEPTH_BIAS, + eBlendConstants = VK_DYNAMIC_STATE_BLEND_CONSTANTS, + eDepthBounds = VK_DYNAMIC_STATE_DEPTH_BOUNDS, + eStencilCompareMask = VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK, + eStencilWriteMask = VK_DYNAMIC_STATE_STENCIL_WRITE_MASK, + eStencilReference = VK_DYNAMIC_STATE_STENCIL_REFERENCE, + eViewportWScalingNV = VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV, + eDiscardRectangleEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT, + eSampleLocationsEXT = VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT, + eViewportShadingRatePaletteNV = VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV, + eViewportCoarseSampleOrderNV = VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV, + eExclusiveScissorNV = VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV, + eFragmentShadingRateKHR = VK_DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR, + eLineStippleEXT = VK_DYNAMIC_STATE_LINE_STIPPLE_EXT, + eCullModeEXT = VK_DYNAMIC_STATE_CULL_MODE_EXT, + eFrontFaceEXT = VK_DYNAMIC_STATE_FRONT_FACE_EXT, + ePrimitiveTopologyEXT = VK_DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT, + eViewportWithCountEXT = VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT, + eScissorWithCountEXT = VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT, + eVertexInputBindingStrideEXT = VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT, + eDepthTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT, + eDepthWriteEnableEXT = VK_DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT, + eDepthCompareOpEXT = VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT, + eDepthBoundsTestEnableEXT = VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT, + eStencilTestEnableEXT = VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT, + eStencilOpEXT = VK_DYNAMIC_STATE_STENCIL_OP_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( DynamicState value ) + { + switch ( value ) + { + case DynamicState::eViewport : return "Viewport"; + case DynamicState::eScissor : return "Scissor"; + case DynamicState::eLineWidth : return "LineWidth"; + case DynamicState::eDepthBias : return "DepthBias"; + case DynamicState::eBlendConstants : return "BlendConstants"; + case DynamicState::eDepthBounds : return "DepthBounds"; + case DynamicState::eStencilCompareMask : return "StencilCompareMask"; + case DynamicState::eStencilWriteMask : return "StencilWriteMask"; + case DynamicState::eStencilReference : return "StencilReference"; + case DynamicState::eViewportWScalingNV : return "ViewportWScalingNV"; + case DynamicState::eDiscardRectangleEXT : return "DiscardRectangleEXT"; + case DynamicState::eSampleLocationsEXT : return "SampleLocationsEXT"; + case DynamicState::eViewportShadingRatePaletteNV : return "ViewportShadingRatePaletteNV"; + case DynamicState::eViewportCoarseSampleOrderNV : return "ViewportCoarseSampleOrderNV"; + case DynamicState::eExclusiveScissorNV : return "ExclusiveScissorNV"; + case DynamicState::eFragmentShadingRateKHR : return "FragmentShadingRateKHR"; + case DynamicState::eLineStippleEXT : return "LineStippleEXT"; + case DynamicState::eCullModeEXT : return "CullModeEXT"; + case DynamicState::eFrontFaceEXT : return "FrontFaceEXT"; + case DynamicState::ePrimitiveTopologyEXT : return "PrimitiveTopologyEXT"; + case DynamicState::eViewportWithCountEXT : return "ViewportWithCountEXT"; + case DynamicState::eScissorWithCountEXT : return "ScissorWithCountEXT"; + case DynamicState::eVertexInputBindingStrideEXT : return "VertexInputBindingStrideEXT"; + case DynamicState::eDepthTestEnableEXT : return "DepthTestEnableEXT"; + case DynamicState::eDepthWriteEnableEXT : return "DepthWriteEnableEXT"; + case DynamicState::eDepthCompareOpEXT : return "DepthCompareOpEXT"; + case DynamicState::eDepthBoundsTestEnableEXT : return "DepthBoundsTestEnableEXT"; + case DynamicState::eStencilTestEnableEXT : return "StencilTestEnableEXT"; + case DynamicState::eStencilOpEXT : return "StencilOpEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalFenceFeatureFlagBits : VkExternalFenceFeatureFlags + { + eExportable = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT, + eImportable = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT + }; + using ExternalFenceFeatureFlagBitsKHR = ExternalFenceFeatureFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlagBits value ) + { + switch ( value ) + { + case ExternalFenceFeatureFlagBits::eExportable : return "Exportable"; + case ExternalFenceFeatureFlagBits::eImportable : return "Importable"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalFenceHandleTypeFlagBits : VkExternalFenceHandleTypeFlags + { + eOpaqueFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT, + eOpaqueWin32 = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT, + eOpaqueWin32Kmt = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, + eSyncFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT + }; + using ExternalFenceHandleTypeFlagBitsKHR = ExternalFenceHandleTypeFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlagBits value ) + { + switch ( value ) + { + case ExternalFenceHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; + case ExternalFenceHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; + case ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; + case ExternalFenceHandleTypeFlagBits::eSyncFd : return "SyncFd"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalMemoryFeatureFlagBits : VkExternalMemoryFeatureFlags + { + eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT, + eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT, + eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT + }; + using ExternalMemoryFeatureFlagBitsKHR = ExternalMemoryFeatureFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBits value ) + { + switch ( value ) + { + case ExternalMemoryFeatureFlagBits::eDedicatedOnly : return "DedicatedOnly"; + case ExternalMemoryFeatureFlagBits::eExportable : return "Exportable"; + case ExternalMemoryFeatureFlagBits::eImportable : return "Importable"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalMemoryFeatureFlagBitsNV : VkExternalMemoryFeatureFlagsNV + { + eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV, + eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV, + eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagBitsNV value ) + { + switch ( value ) + { + case ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly : return "DedicatedOnly"; + case ExternalMemoryFeatureFlagBitsNV::eExportable : return "Exportable"; + case ExternalMemoryFeatureFlagBitsNV::eImportable : return "Importable"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalMemoryHandleTypeFlagBits : VkExternalMemoryHandleTypeFlags + { + eOpaqueFd = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, + eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, + eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, + eD3D11Texture = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT, + eD3D11TextureKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT, + eD3D12Heap = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT, + eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT, + eDmaBufEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT, + eAndroidHardwareBufferANDROID = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID, + eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT, + eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT + }; + using ExternalMemoryHandleTypeFlagBitsKHR = ExternalMemoryHandleTypeFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBits value ) + { + switch ( value ) + { + case ExternalMemoryHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; + case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; + case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; + case ExternalMemoryHandleTypeFlagBits::eD3D11Texture : return "D3D11Texture"; + case ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt : return "D3D11TextureKmt"; + case ExternalMemoryHandleTypeFlagBits::eD3D12Heap : return "D3D12Heap"; + case ExternalMemoryHandleTypeFlagBits::eD3D12Resource : return "D3D12Resource"; + case ExternalMemoryHandleTypeFlagBits::eDmaBufEXT : return "DmaBufEXT"; + case ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID : return "AndroidHardwareBufferANDROID"; + case ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT : return "HostAllocationEXT"; + case ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT : return "HostMappedForeignMemoryEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalMemoryHandleTypeFlagBitsNV : VkExternalMemoryHandleTypeFlagsNV + { + eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV, + eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV, + eD3D11Image = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV, + eD3D11ImageKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagBitsNV value ) + { + switch ( value ) + { + case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 : return "OpaqueWin32"; + case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; + case ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image : return "D3D11Image"; + case ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt : return "D3D11ImageKmt"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalSemaphoreFeatureFlagBits : VkExternalSemaphoreFeatureFlags + { + eExportable = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT, + eImportable = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT + }; + using ExternalSemaphoreFeatureFlagBitsKHR = ExternalSemaphoreFeatureFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlagBits value ) + { + switch ( value ) + { + case ExternalSemaphoreFeatureFlagBits::eExportable : return "Exportable"; + case ExternalSemaphoreFeatureFlagBits::eImportable : return "Importable"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ExternalSemaphoreHandleTypeFlagBits : VkExternalSemaphoreHandleTypeFlags + { + eOpaqueFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT, + eOpaqueWin32 = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT, + eOpaqueWin32Kmt = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, + eD3D12Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, + eSyncFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT, + eD3D11Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT + }; + using ExternalSemaphoreHandleTypeFlagBitsKHR = ExternalSemaphoreHandleTypeFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlagBits value ) + { + switch ( value ) + { + case ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd : return "OpaqueFd"; + case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 : return "OpaqueWin32"; + case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt : return "OpaqueWin32Kmt"; + case ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence : return "D3D12Fence"; + case ExternalSemaphoreHandleTypeFlagBits::eSyncFd : return "SyncFd"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FenceCreateFlagBits : VkFenceCreateFlags + { + eSignaled = VK_FENCE_CREATE_SIGNALED_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( FenceCreateFlagBits value ) + { + switch ( value ) + { + case FenceCreateFlagBits::eSignaled : return "Signaled"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FenceImportFlagBits : VkFenceImportFlags + { + eTemporary = VK_FENCE_IMPORT_TEMPORARY_BIT + }; + using FenceImportFlagBitsKHR = FenceImportFlagBits; + + VULKAN_HPP_INLINE std::string to_string( FenceImportFlagBits value ) + { + switch ( value ) + { + case FenceImportFlagBits::eTemporary : return "Temporary"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class Filter + { + eNearest = VK_FILTER_NEAREST, + eLinear = VK_FILTER_LINEAR, + eCubicIMG = VK_FILTER_CUBIC_IMG, + eCubicEXT = VK_FILTER_CUBIC_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( Filter value ) + { + switch ( value ) + { + case Filter::eNearest : return "Nearest"; + case Filter::eLinear : return "Linear"; + case Filter::eCubicIMG : return "CubicIMG"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class Format + { + eUndefined = VK_FORMAT_UNDEFINED, + eR4G4UnormPack8 = VK_FORMAT_R4G4_UNORM_PACK8, + eR4G4B4A4UnormPack16 = VK_FORMAT_R4G4B4A4_UNORM_PACK16, + eB4G4R4A4UnormPack16 = VK_FORMAT_B4G4R4A4_UNORM_PACK16, + eR5G6B5UnormPack16 = VK_FORMAT_R5G6B5_UNORM_PACK16, + eB5G6R5UnormPack16 = VK_FORMAT_B5G6R5_UNORM_PACK16, + eR5G5B5A1UnormPack16 = VK_FORMAT_R5G5B5A1_UNORM_PACK16, + eB5G5R5A1UnormPack16 = VK_FORMAT_B5G5R5A1_UNORM_PACK16, + eA1R5G5B5UnormPack16 = VK_FORMAT_A1R5G5B5_UNORM_PACK16, + eR8Unorm = VK_FORMAT_R8_UNORM, + eR8Snorm = VK_FORMAT_R8_SNORM, + eR8Uscaled = VK_FORMAT_R8_USCALED, + eR8Sscaled = VK_FORMAT_R8_SSCALED, + eR8Uint = VK_FORMAT_R8_UINT, + eR8Sint = VK_FORMAT_R8_SINT, + eR8Srgb = VK_FORMAT_R8_SRGB, + eR8G8Unorm = VK_FORMAT_R8G8_UNORM, + eR8G8Snorm = VK_FORMAT_R8G8_SNORM, + eR8G8Uscaled = VK_FORMAT_R8G8_USCALED, + eR8G8Sscaled = VK_FORMAT_R8G8_SSCALED, + eR8G8Uint = VK_FORMAT_R8G8_UINT, + eR8G8Sint = VK_FORMAT_R8G8_SINT, + eR8G8Srgb = VK_FORMAT_R8G8_SRGB, + eR8G8B8Unorm = VK_FORMAT_R8G8B8_UNORM, + eR8G8B8Snorm = VK_FORMAT_R8G8B8_SNORM, + eR8G8B8Uscaled = VK_FORMAT_R8G8B8_USCALED, + eR8G8B8Sscaled = VK_FORMAT_R8G8B8_SSCALED, + eR8G8B8Uint = VK_FORMAT_R8G8B8_UINT, + eR8G8B8Sint = VK_FORMAT_R8G8B8_SINT, + eR8G8B8Srgb = VK_FORMAT_R8G8B8_SRGB, + eB8G8R8Unorm = VK_FORMAT_B8G8R8_UNORM, + eB8G8R8Snorm = VK_FORMAT_B8G8R8_SNORM, + eB8G8R8Uscaled = VK_FORMAT_B8G8R8_USCALED, + eB8G8R8Sscaled = VK_FORMAT_B8G8R8_SSCALED, + eB8G8R8Uint = VK_FORMAT_B8G8R8_UINT, + eB8G8R8Sint = VK_FORMAT_B8G8R8_SINT, + eB8G8R8Srgb = VK_FORMAT_B8G8R8_SRGB, + eR8G8B8A8Unorm = VK_FORMAT_R8G8B8A8_UNORM, + eR8G8B8A8Snorm = VK_FORMAT_R8G8B8A8_SNORM, + eR8G8B8A8Uscaled = VK_FORMAT_R8G8B8A8_USCALED, + eR8G8B8A8Sscaled = VK_FORMAT_R8G8B8A8_SSCALED, + eR8G8B8A8Uint = VK_FORMAT_R8G8B8A8_UINT, + eR8G8B8A8Sint = VK_FORMAT_R8G8B8A8_SINT, + eR8G8B8A8Srgb = VK_FORMAT_R8G8B8A8_SRGB, + eB8G8R8A8Unorm = VK_FORMAT_B8G8R8A8_UNORM, + eB8G8R8A8Snorm = VK_FORMAT_B8G8R8A8_SNORM, + eB8G8R8A8Uscaled = VK_FORMAT_B8G8R8A8_USCALED, + eB8G8R8A8Sscaled = VK_FORMAT_B8G8R8A8_SSCALED, + eB8G8R8A8Uint = VK_FORMAT_B8G8R8A8_UINT, + eB8G8R8A8Sint = VK_FORMAT_B8G8R8A8_SINT, + eB8G8R8A8Srgb = VK_FORMAT_B8G8R8A8_SRGB, + eA8B8G8R8UnormPack32 = VK_FORMAT_A8B8G8R8_UNORM_PACK32, + eA8B8G8R8SnormPack32 = VK_FORMAT_A8B8G8R8_SNORM_PACK32, + eA8B8G8R8UscaledPack32 = VK_FORMAT_A8B8G8R8_USCALED_PACK32, + eA8B8G8R8SscaledPack32 = VK_FORMAT_A8B8G8R8_SSCALED_PACK32, + eA8B8G8R8UintPack32 = VK_FORMAT_A8B8G8R8_UINT_PACK32, + eA8B8G8R8SintPack32 = VK_FORMAT_A8B8G8R8_SINT_PACK32, + eA8B8G8R8SrgbPack32 = VK_FORMAT_A8B8G8R8_SRGB_PACK32, + eA2R10G10B10UnormPack32 = VK_FORMAT_A2R10G10B10_UNORM_PACK32, + eA2R10G10B10SnormPack32 = VK_FORMAT_A2R10G10B10_SNORM_PACK32, + eA2R10G10B10UscaledPack32 = VK_FORMAT_A2R10G10B10_USCALED_PACK32, + eA2R10G10B10SscaledPack32 = VK_FORMAT_A2R10G10B10_SSCALED_PACK32, + eA2R10G10B10UintPack32 = VK_FORMAT_A2R10G10B10_UINT_PACK32, + eA2R10G10B10SintPack32 = VK_FORMAT_A2R10G10B10_SINT_PACK32, + eA2B10G10R10UnormPack32 = VK_FORMAT_A2B10G10R10_UNORM_PACK32, + eA2B10G10R10SnormPack32 = VK_FORMAT_A2B10G10R10_SNORM_PACK32, + eA2B10G10R10UscaledPack32 = VK_FORMAT_A2B10G10R10_USCALED_PACK32, + eA2B10G10R10SscaledPack32 = VK_FORMAT_A2B10G10R10_SSCALED_PACK32, + eA2B10G10R10UintPack32 = VK_FORMAT_A2B10G10R10_UINT_PACK32, + eA2B10G10R10SintPack32 = VK_FORMAT_A2B10G10R10_SINT_PACK32, + eR16Unorm = VK_FORMAT_R16_UNORM, + eR16Snorm = VK_FORMAT_R16_SNORM, + eR16Uscaled = VK_FORMAT_R16_USCALED, + eR16Sscaled = VK_FORMAT_R16_SSCALED, + eR16Uint = VK_FORMAT_R16_UINT, + eR16Sint = VK_FORMAT_R16_SINT, + eR16Sfloat = VK_FORMAT_R16_SFLOAT, + eR16G16Unorm = VK_FORMAT_R16G16_UNORM, + eR16G16Snorm = VK_FORMAT_R16G16_SNORM, + eR16G16Uscaled = VK_FORMAT_R16G16_USCALED, + eR16G16Sscaled = VK_FORMAT_R16G16_SSCALED, + eR16G16Uint = VK_FORMAT_R16G16_UINT, + eR16G16Sint = VK_FORMAT_R16G16_SINT, + eR16G16Sfloat = VK_FORMAT_R16G16_SFLOAT, + eR16G16B16Unorm = VK_FORMAT_R16G16B16_UNORM, + eR16G16B16Snorm = VK_FORMAT_R16G16B16_SNORM, + eR16G16B16Uscaled = VK_FORMAT_R16G16B16_USCALED, + eR16G16B16Sscaled = VK_FORMAT_R16G16B16_SSCALED, + eR16G16B16Uint = VK_FORMAT_R16G16B16_UINT, + eR16G16B16Sint = VK_FORMAT_R16G16B16_SINT, + eR16G16B16Sfloat = VK_FORMAT_R16G16B16_SFLOAT, + eR16G16B16A16Unorm = VK_FORMAT_R16G16B16A16_UNORM, + eR16G16B16A16Snorm = VK_FORMAT_R16G16B16A16_SNORM, + eR16G16B16A16Uscaled = VK_FORMAT_R16G16B16A16_USCALED, + eR16G16B16A16Sscaled = VK_FORMAT_R16G16B16A16_SSCALED, + eR16G16B16A16Uint = VK_FORMAT_R16G16B16A16_UINT, + eR16G16B16A16Sint = VK_FORMAT_R16G16B16A16_SINT, + eR16G16B16A16Sfloat = VK_FORMAT_R16G16B16A16_SFLOAT, + eR32Uint = VK_FORMAT_R32_UINT, + eR32Sint = VK_FORMAT_R32_SINT, + eR32Sfloat = VK_FORMAT_R32_SFLOAT, + eR32G32Uint = VK_FORMAT_R32G32_UINT, + eR32G32Sint = VK_FORMAT_R32G32_SINT, + eR32G32Sfloat = VK_FORMAT_R32G32_SFLOAT, + eR32G32B32Uint = VK_FORMAT_R32G32B32_UINT, + eR32G32B32Sint = VK_FORMAT_R32G32B32_SINT, + eR32G32B32Sfloat = VK_FORMAT_R32G32B32_SFLOAT, + eR32G32B32A32Uint = VK_FORMAT_R32G32B32A32_UINT, + eR32G32B32A32Sint = VK_FORMAT_R32G32B32A32_SINT, + eR32G32B32A32Sfloat = VK_FORMAT_R32G32B32A32_SFLOAT, + eR64Uint = VK_FORMAT_R64_UINT, + eR64Sint = VK_FORMAT_R64_SINT, + eR64Sfloat = VK_FORMAT_R64_SFLOAT, + eR64G64Uint = VK_FORMAT_R64G64_UINT, + eR64G64Sint = VK_FORMAT_R64G64_SINT, + eR64G64Sfloat = VK_FORMAT_R64G64_SFLOAT, + eR64G64B64Uint = VK_FORMAT_R64G64B64_UINT, + eR64G64B64Sint = VK_FORMAT_R64G64B64_SINT, + eR64G64B64Sfloat = VK_FORMAT_R64G64B64_SFLOAT, + eR64G64B64A64Uint = VK_FORMAT_R64G64B64A64_UINT, + eR64G64B64A64Sint = VK_FORMAT_R64G64B64A64_SINT, + eR64G64B64A64Sfloat = VK_FORMAT_R64G64B64A64_SFLOAT, + eB10G11R11UfloatPack32 = VK_FORMAT_B10G11R11_UFLOAT_PACK32, + eE5B9G9R9UfloatPack32 = VK_FORMAT_E5B9G9R9_UFLOAT_PACK32, + eD16Unorm = VK_FORMAT_D16_UNORM, + eX8D24UnormPack32 = VK_FORMAT_X8_D24_UNORM_PACK32, + eD32Sfloat = VK_FORMAT_D32_SFLOAT, + eS8Uint = VK_FORMAT_S8_UINT, + eD16UnormS8Uint = VK_FORMAT_D16_UNORM_S8_UINT, + eD24UnormS8Uint = VK_FORMAT_D24_UNORM_S8_UINT, + eD32SfloatS8Uint = VK_FORMAT_D32_SFLOAT_S8_UINT, + eBc1RgbUnormBlock = VK_FORMAT_BC1_RGB_UNORM_BLOCK, + eBc1RgbSrgbBlock = VK_FORMAT_BC1_RGB_SRGB_BLOCK, + eBc1RgbaUnormBlock = VK_FORMAT_BC1_RGBA_UNORM_BLOCK, + eBc1RgbaSrgbBlock = VK_FORMAT_BC1_RGBA_SRGB_BLOCK, + eBc2UnormBlock = VK_FORMAT_BC2_UNORM_BLOCK, + eBc2SrgbBlock = VK_FORMAT_BC2_SRGB_BLOCK, + eBc3UnormBlock = VK_FORMAT_BC3_UNORM_BLOCK, + eBc3SrgbBlock = VK_FORMAT_BC3_SRGB_BLOCK, + eBc4UnormBlock = VK_FORMAT_BC4_UNORM_BLOCK, + eBc4SnormBlock = VK_FORMAT_BC4_SNORM_BLOCK, + eBc5UnormBlock = VK_FORMAT_BC5_UNORM_BLOCK, + eBc5SnormBlock = VK_FORMAT_BC5_SNORM_BLOCK, + eBc6HUfloatBlock = VK_FORMAT_BC6H_UFLOAT_BLOCK, + eBc6HSfloatBlock = VK_FORMAT_BC6H_SFLOAT_BLOCK, + eBc7UnormBlock = VK_FORMAT_BC7_UNORM_BLOCK, + eBc7SrgbBlock = VK_FORMAT_BC7_SRGB_BLOCK, + eEtc2R8G8B8UnormBlock = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK, + eEtc2R8G8B8SrgbBlock = VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK, + eEtc2R8G8B8A1UnormBlock = VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK, + eEtc2R8G8B8A1SrgbBlock = VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK, + eEtc2R8G8B8A8UnormBlock = VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK, + eEtc2R8G8B8A8SrgbBlock = VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK, + eEacR11UnormBlock = VK_FORMAT_EAC_R11_UNORM_BLOCK, + eEacR11SnormBlock = VK_FORMAT_EAC_R11_SNORM_BLOCK, + eEacR11G11UnormBlock = VK_FORMAT_EAC_R11G11_UNORM_BLOCK, + eEacR11G11SnormBlock = VK_FORMAT_EAC_R11G11_SNORM_BLOCK, + eAstc4x4UnormBlock = VK_FORMAT_ASTC_4x4_UNORM_BLOCK, + eAstc4x4SrgbBlock = VK_FORMAT_ASTC_4x4_SRGB_BLOCK, + eAstc5x4UnormBlock = VK_FORMAT_ASTC_5x4_UNORM_BLOCK, + eAstc5x4SrgbBlock = VK_FORMAT_ASTC_5x4_SRGB_BLOCK, + eAstc5x5UnormBlock = VK_FORMAT_ASTC_5x5_UNORM_BLOCK, + eAstc5x5SrgbBlock = VK_FORMAT_ASTC_5x5_SRGB_BLOCK, + eAstc6x5UnormBlock = VK_FORMAT_ASTC_6x5_UNORM_BLOCK, + eAstc6x5SrgbBlock = VK_FORMAT_ASTC_6x5_SRGB_BLOCK, + eAstc6x6UnormBlock = VK_FORMAT_ASTC_6x6_UNORM_BLOCK, + eAstc6x6SrgbBlock = VK_FORMAT_ASTC_6x6_SRGB_BLOCK, + eAstc8x5UnormBlock = VK_FORMAT_ASTC_8x5_UNORM_BLOCK, + eAstc8x5SrgbBlock = VK_FORMAT_ASTC_8x5_SRGB_BLOCK, + eAstc8x6UnormBlock = VK_FORMAT_ASTC_8x6_UNORM_BLOCK, + eAstc8x6SrgbBlock = VK_FORMAT_ASTC_8x6_SRGB_BLOCK, + eAstc8x8UnormBlock = VK_FORMAT_ASTC_8x8_UNORM_BLOCK, + eAstc8x8SrgbBlock = VK_FORMAT_ASTC_8x8_SRGB_BLOCK, + eAstc10x5UnormBlock = VK_FORMAT_ASTC_10x5_UNORM_BLOCK, + eAstc10x5SrgbBlock = VK_FORMAT_ASTC_10x5_SRGB_BLOCK, + eAstc10x6UnormBlock = VK_FORMAT_ASTC_10x6_UNORM_BLOCK, + eAstc10x6SrgbBlock = VK_FORMAT_ASTC_10x6_SRGB_BLOCK, + eAstc10x8UnormBlock = VK_FORMAT_ASTC_10x8_UNORM_BLOCK, + eAstc10x8SrgbBlock = VK_FORMAT_ASTC_10x8_SRGB_BLOCK, + eAstc10x10UnormBlock = VK_FORMAT_ASTC_10x10_UNORM_BLOCK, + eAstc10x10SrgbBlock = VK_FORMAT_ASTC_10x10_SRGB_BLOCK, + eAstc12x10UnormBlock = VK_FORMAT_ASTC_12x10_UNORM_BLOCK, + eAstc12x10SrgbBlock = VK_FORMAT_ASTC_12x10_SRGB_BLOCK, + eAstc12x12UnormBlock = VK_FORMAT_ASTC_12x12_UNORM_BLOCK, + eAstc12x12SrgbBlock = VK_FORMAT_ASTC_12x12_SRGB_BLOCK, + eG8B8G8R8422Unorm = VK_FORMAT_G8B8G8R8_422_UNORM, + eB8G8R8G8422Unorm = VK_FORMAT_B8G8R8G8_422_UNORM, + eG8B8R83Plane420Unorm = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM, + eG8B8R82Plane420Unorm = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, + eG8B8R83Plane422Unorm = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM, + eG8B8R82Plane422Unorm = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM, + eG8B8R83Plane444Unorm = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM, + eR10X6UnormPack16 = VK_FORMAT_R10X6_UNORM_PACK16, + eR10X6G10X6Unorm2Pack16 = VK_FORMAT_R10X6G10X6_UNORM_2PACK16, + eR10X6G10X6B10X6A10X6Unorm4Pack16 = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16, + eG10X6B10X6G10X6R10X6422Unorm4Pack16 = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16, + eB10X6G10X6R10X6G10X6422Unorm4Pack16 = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16, + eG10X6B10X6R10X63Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16, + eG10X6B10X6R10X62Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16, + eG10X6B10X6R10X63Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16, + eG10X6B10X6R10X62Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16, + eG10X6B10X6R10X63Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16, + eR12X4UnormPack16 = VK_FORMAT_R12X4_UNORM_PACK16, + eR12X4G12X4Unorm2Pack16 = VK_FORMAT_R12X4G12X4_UNORM_2PACK16, + eR12X4G12X4B12X4A12X4Unorm4Pack16 = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16, + eG12X4B12X4G12X4R12X4422Unorm4Pack16 = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16, + eB12X4G12X4R12X4G12X4422Unorm4Pack16 = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16, + eG12X4B12X4R12X43Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16, + eG12X4B12X4R12X42Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16, + eG12X4B12X4R12X43Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16, + eG12X4B12X4R12X42Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16, + eG12X4B12X4R12X43Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16, + eG16B16G16R16422Unorm = VK_FORMAT_G16B16G16R16_422_UNORM, + eB16G16R16G16422Unorm = VK_FORMAT_B16G16R16G16_422_UNORM, + eG16B16R163Plane420Unorm = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM, + eG16B16R162Plane420Unorm = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM, + eG16B16R163Plane422Unorm = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM, + eG16B16R162Plane422Unorm = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM, + eG16B16R163Plane444Unorm = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM, + ePvrtc12BppUnormBlockIMG = VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG, + ePvrtc14BppUnormBlockIMG = VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG, + ePvrtc22BppUnormBlockIMG = VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG, + ePvrtc24BppUnormBlockIMG = VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG, + ePvrtc12BppSrgbBlockIMG = VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG, + ePvrtc14BppSrgbBlockIMG = VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG, + ePvrtc22BppSrgbBlockIMG = VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG, + ePvrtc24BppSrgbBlockIMG = VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG, + eAstc4x4SfloatBlockEXT = VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT, + eAstc5x4SfloatBlockEXT = VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT, + eAstc5x5SfloatBlockEXT = VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT, + eAstc6x5SfloatBlockEXT = VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT, + eAstc6x6SfloatBlockEXT = VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT, + eAstc8x5SfloatBlockEXT = VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT, + eAstc8x6SfloatBlockEXT = VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT, + eAstc8x8SfloatBlockEXT = VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT, + eAstc10x5SfloatBlockEXT = VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT, + eAstc10x6SfloatBlockEXT = VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT, + eAstc10x8SfloatBlockEXT = VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT, + eAstc10x10SfloatBlockEXT = VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT, + eAstc12x10SfloatBlockEXT = VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT, + eAstc12x12SfloatBlockEXT = VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT, + eA4R4G4B4UnormPack16EXT = VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT, + eA4B4G4R4UnormPack16EXT = VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT, + eB10X6G10X6R10X6G10X6422Unorm4Pack16KHR = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR, + eB12X4G12X4R12X4G12X4422Unorm4Pack16KHR = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR, + eB16G16R16G16422UnormKHR = VK_FORMAT_B16G16R16G16_422_UNORM_KHR, + eB8G8R8G8422UnormKHR = VK_FORMAT_B8G8R8G8_422_UNORM_KHR, + eG10X6B10X6G10X6R10X6422Unorm4Pack16KHR = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR, + eG10X6B10X6R10X62Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR, + eG10X6B10X6R10X62Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR, + eG10X6B10X6R10X63Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR, + eG10X6B10X6R10X63Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR, + eG10X6B10X6R10X63Plane444Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR, + eG12X4B12X4G12X4R12X4422Unorm4Pack16KHR = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR, + eG12X4B12X4R12X42Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR, + eG12X4B12X4R12X42Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR, + eG12X4B12X4R12X43Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR, + eG12X4B12X4R12X43Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR, + eG12X4B12X4R12X43Plane444Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR, + eG16B16G16R16422UnormKHR = VK_FORMAT_G16B16G16R16_422_UNORM_KHR, + eG16B16R162Plane420UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR, + eG16B16R162Plane422UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR, + eG16B16R163Plane420UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR, + eG16B16R163Plane422UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR, + eG16B16R163Plane444UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR, + eG8B8G8R8422UnormKHR = VK_FORMAT_G8B8G8R8_422_UNORM_KHR, + eG8B8R82Plane420UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR, + eG8B8R82Plane422UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR, + eG8B8R83Plane420UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR, + eG8B8R83Plane422UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR, + eG8B8R83Plane444UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR, + eR10X6G10X6B10X6A10X6Unorm4Pack16KHR = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR, + eR10X6G10X6Unorm2Pack16KHR = VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR, + eR10X6UnormPack16KHR = VK_FORMAT_R10X6_UNORM_PACK16_KHR, + eR12X4G12X4B12X4A12X4Unorm4Pack16KHR = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR, + eR12X4G12X4Unorm2Pack16KHR = VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR, + eR12X4UnormPack16KHR = VK_FORMAT_R12X4_UNORM_PACK16_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( Format value ) + { + switch ( value ) + { + case Format::eUndefined : return "Undefined"; + case Format::eR4G4UnormPack8 : return "R4G4UnormPack8"; + case Format::eR4G4B4A4UnormPack16 : return "R4G4B4A4UnormPack16"; + case Format::eB4G4R4A4UnormPack16 : return "B4G4R4A4UnormPack16"; + case Format::eR5G6B5UnormPack16 : return "R5G6B5UnormPack16"; + case Format::eB5G6R5UnormPack16 : return "B5G6R5UnormPack16"; + case Format::eR5G5B5A1UnormPack16 : return "R5G5B5A1UnormPack16"; + case Format::eB5G5R5A1UnormPack16 : return "B5G5R5A1UnormPack16"; + case Format::eA1R5G5B5UnormPack16 : return "A1R5G5B5UnormPack16"; + case Format::eR8Unorm : return "R8Unorm"; + case Format::eR8Snorm : return "R8Snorm"; + case Format::eR8Uscaled : return "R8Uscaled"; + case Format::eR8Sscaled : return "R8Sscaled"; + case Format::eR8Uint : return "R8Uint"; + case Format::eR8Sint : return "R8Sint"; + case Format::eR8Srgb : return "R8Srgb"; + case Format::eR8G8Unorm : return "R8G8Unorm"; + case Format::eR8G8Snorm : return "R8G8Snorm"; + case Format::eR8G8Uscaled : return "R8G8Uscaled"; + case Format::eR8G8Sscaled : return "R8G8Sscaled"; + case Format::eR8G8Uint : return "R8G8Uint"; + case Format::eR8G8Sint : return "R8G8Sint"; + case Format::eR8G8Srgb : return "R8G8Srgb"; + case Format::eR8G8B8Unorm : return "R8G8B8Unorm"; + case Format::eR8G8B8Snorm : return "R8G8B8Snorm"; + case Format::eR8G8B8Uscaled : return "R8G8B8Uscaled"; + case Format::eR8G8B8Sscaled : return "R8G8B8Sscaled"; + case Format::eR8G8B8Uint : return "R8G8B8Uint"; + case Format::eR8G8B8Sint : return "R8G8B8Sint"; + case Format::eR8G8B8Srgb : return "R8G8B8Srgb"; + case Format::eB8G8R8Unorm : return "B8G8R8Unorm"; + case Format::eB8G8R8Snorm : return "B8G8R8Snorm"; + case Format::eB8G8R8Uscaled : return "B8G8R8Uscaled"; + case Format::eB8G8R8Sscaled : return "B8G8R8Sscaled"; + case Format::eB8G8R8Uint : return "B8G8R8Uint"; + case Format::eB8G8R8Sint : return "B8G8R8Sint"; + case Format::eB8G8R8Srgb : return "B8G8R8Srgb"; + case Format::eR8G8B8A8Unorm : return "R8G8B8A8Unorm"; + case Format::eR8G8B8A8Snorm : return "R8G8B8A8Snorm"; + case Format::eR8G8B8A8Uscaled : return "R8G8B8A8Uscaled"; + case Format::eR8G8B8A8Sscaled : return "R8G8B8A8Sscaled"; + case Format::eR8G8B8A8Uint : return "R8G8B8A8Uint"; + case Format::eR8G8B8A8Sint : return "R8G8B8A8Sint"; + case Format::eR8G8B8A8Srgb : return "R8G8B8A8Srgb"; + case Format::eB8G8R8A8Unorm : return "B8G8R8A8Unorm"; + case Format::eB8G8R8A8Snorm : return "B8G8R8A8Snorm"; + case Format::eB8G8R8A8Uscaled : return "B8G8R8A8Uscaled"; + case Format::eB8G8R8A8Sscaled : return "B8G8R8A8Sscaled"; + case Format::eB8G8R8A8Uint : return "B8G8R8A8Uint"; + case Format::eB8G8R8A8Sint : return "B8G8R8A8Sint"; + case Format::eB8G8R8A8Srgb : return "B8G8R8A8Srgb"; + case Format::eA8B8G8R8UnormPack32 : return "A8B8G8R8UnormPack32"; + case Format::eA8B8G8R8SnormPack32 : return "A8B8G8R8SnormPack32"; + case Format::eA8B8G8R8UscaledPack32 : return "A8B8G8R8UscaledPack32"; + case Format::eA8B8G8R8SscaledPack32 : return "A8B8G8R8SscaledPack32"; + case Format::eA8B8G8R8UintPack32 : return "A8B8G8R8UintPack32"; + case Format::eA8B8G8R8SintPack32 : return "A8B8G8R8SintPack32"; + case Format::eA8B8G8R8SrgbPack32 : return "A8B8G8R8SrgbPack32"; + case Format::eA2R10G10B10UnormPack32 : return "A2R10G10B10UnormPack32"; + case Format::eA2R10G10B10SnormPack32 : return "A2R10G10B10SnormPack32"; + case Format::eA2R10G10B10UscaledPack32 : return "A2R10G10B10UscaledPack32"; + case Format::eA2R10G10B10SscaledPack32 : return "A2R10G10B10SscaledPack32"; + case Format::eA2R10G10B10UintPack32 : return "A2R10G10B10UintPack32"; + case Format::eA2R10G10B10SintPack32 : return "A2R10G10B10SintPack32"; + case Format::eA2B10G10R10UnormPack32 : return "A2B10G10R10UnormPack32"; + case Format::eA2B10G10R10SnormPack32 : return "A2B10G10R10SnormPack32"; + case Format::eA2B10G10R10UscaledPack32 : return "A2B10G10R10UscaledPack32"; + case Format::eA2B10G10R10SscaledPack32 : return "A2B10G10R10SscaledPack32"; + case Format::eA2B10G10R10UintPack32 : return "A2B10G10R10UintPack32"; + case Format::eA2B10G10R10SintPack32 : return "A2B10G10R10SintPack32"; + case Format::eR16Unorm : return "R16Unorm"; + case Format::eR16Snorm : return "R16Snorm"; + case Format::eR16Uscaled : return "R16Uscaled"; + case Format::eR16Sscaled : return "R16Sscaled"; + case Format::eR16Uint : return "R16Uint"; + case Format::eR16Sint : return "R16Sint"; + case Format::eR16Sfloat : return "R16Sfloat"; + case Format::eR16G16Unorm : return "R16G16Unorm"; + case Format::eR16G16Snorm : return "R16G16Snorm"; + case Format::eR16G16Uscaled : return "R16G16Uscaled"; + case Format::eR16G16Sscaled : return "R16G16Sscaled"; + case Format::eR16G16Uint : return "R16G16Uint"; + case Format::eR16G16Sint : return "R16G16Sint"; + case Format::eR16G16Sfloat : return "R16G16Sfloat"; + case Format::eR16G16B16Unorm : return "R16G16B16Unorm"; + case Format::eR16G16B16Snorm : return "R16G16B16Snorm"; + case Format::eR16G16B16Uscaled : return "R16G16B16Uscaled"; + case Format::eR16G16B16Sscaled : return "R16G16B16Sscaled"; + case Format::eR16G16B16Uint : return "R16G16B16Uint"; + case Format::eR16G16B16Sint : return "R16G16B16Sint"; + case Format::eR16G16B16Sfloat : return "R16G16B16Sfloat"; + case Format::eR16G16B16A16Unorm : return "R16G16B16A16Unorm"; + case Format::eR16G16B16A16Snorm : return "R16G16B16A16Snorm"; + case Format::eR16G16B16A16Uscaled : return "R16G16B16A16Uscaled"; + case Format::eR16G16B16A16Sscaled : return "R16G16B16A16Sscaled"; + case Format::eR16G16B16A16Uint : return "R16G16B16A16Uint"; + case Format::eR16G16B16A16Sint : return "R16G16B16A16Sint"; + case Format::eR16G16B16A16Sfloat : return "R16G16B16A16Sfloat"; + case Format::eR32Uint : return "R32Uint"; + case Format::eR32Sint : return "R32Sint"; + case Format::eR32Sfloat : return "R32Sfloat"; + case Format::eR32G32Uint : return "R32G32Uint"; + case Format::eR32G32Sint : return "R32G32Sint"; + case Format::eR32G32Sfloat : return "R32G32Sfloat"; + case Format::eR32G32B32Uint : return "R32G32B32Uint"; + case Format::eR32G32B32Sint : return "R32G32B32Sint"; + case Format::eR32G32B32Sfloat : return "R32G32B32Sfloat"; + case Format::eR32G32B32A32Uint : return "R32G32B32A32Uint"; + case Format::eR32G32B32A32Sint : return "R32G32B32A32Sint"; + case Format::eR32G32B32A32Sfloat : return "R32G32B32A32Sfloat"; + case Format::eR64Uint : return "R64Uint"; + case Format::eR64Sint : return "R64Sint"; + case Format::eR64Sfloat : return "R64Sfloat"; + case Format::eR64G64Uint : return "R64G64Uint"; + case Format::eR64G64Sint : return "R64G64Sint"; + case Format::eR64G64Sfloat : return "R64G64Sfloat"; + case Format::eR64G64B64Uint : return "R64G64B64Uint"; + case Format::eR64G64B64Sint : return "R64G64B64Sint"; + case Format::eR64G64B64Sfloat : return "R64G64B64Sfloat"; + case Format::eR64G64B64A64Uint : return "R64G64B64A64Uint"; + case Format::eR64G64B64A64Sint : return "R64G64B64A64Sint"; + case Format::eR64G64B64A64Sfloat : return "R64G64B64A64Sfloat"; + case Format::eB10G11R11UfloatPack32 : return "B10G11R11UfloatPack32"; + case Format::eE5B9G9R9UfloatPack32 : return "E5B9G9R9UfloatPack32"; + case Format::eD16Unorm : return "D16Unorm"; + case Format::eX8D24UnormPack32 : return "X8D24UnormPack32"; + case Format::eD32Sfloat : return "D32Sfloat"; + case Format::eS8Uint : return "S8Uint"; + case Format::eD16UnormS8Uint : return "D16UnormS8Uint"; + case Format::eD24UnormS8Uint : return "D24UnormS8Uint"; + case Format::eD32SfloatS8Uint : return "D32SfloatS8Uint"; + case Format::eBc1RgbUnormBlock : return "Bc1RgbUnormBlock"; + case Format::eBc1RgbSrgbBlock : return "Bc1RgbSrgbBlock"; + case Format::eBc1RgbaUnormBlock : return "Bc1RgbaUnormBlock"; + case Format::eBc1RgbaSrgbBlock : return "Bc1RgbaSrgbBlock"; + case Format::eBc2UnormBlock : return "Bc2UnormBlock"; + case Format::eBc2SrgbBlock : return "Bc2SrgbBlock"; + case Format::eBc3UnormBlock : return "Bc3UnormBlock"; + case Format::eBc3SrgbBlock : return "Bc3SrgbBlock"; + case Format::eBc4UnormBlock : return "Bc4UnormBlock"; + case Format::eBc4SnormBlock : return "Bc4SnormBlock"; + case Format::eBc5UnormBlock : return "Bc5UnormBlock"; + case Format::eBc5SnormBlock : return "Bc5SnormBlock"; + case Format::eBc6HUfloatBlock : return "Bc6HUfloatBlock"; + case Format::eBc6HSfloatBlock : return "Bc6HSfloatBlock"; + case Format::eBc7UnormBlock : return "Bc7UnormBlock"; + case Format::eBc7SrgbBlock : return "Bc7SrgbBlock"; + case Format::eEtc2R8G8B8UnormBlock : return "Etc2R8G8B8UnormBlock"; + case Format::eEtc2R8G8B8SrgbBlock : return "Etc2R8G8B8SrgbBlock"; + case Format::eEtc2R8G8B8A1UnormBlock : return "Etc2R8G8B8A1UnormBlock"; + case Format::eEtc2R8G8B8A1SrgbBlock : return "Etc2R8G8B8A1SrgbBlock"; + case Format::eEtc2R8G8B8A8UnormBlock : return "Etc2R8G8B8A8UnormBlock"; + case Format::eEtc2R8G8B8A8SrgbBlock : return "Etc2R8G8B8A8SrgbBlock"; + case Format::eEacR11UnormBlock : return "EacR11UnormBlock"; + case Format::eEacR11SnormBlock : return "EacR11SnormBlock"; + case Format::eEacR11G11UnormBlock : return "EacR11G11UnormBlock"; + case Format::eEacR11G11SnormBlock : return "EacR11G11SnormBlock"; + case Format::eAstc4x4UnormBlock : return "Astc4x4UnormBlock"; + case Format::eAstc4x4SrgbBlock : return "Astc4x4SrgbBlock"; + case Format::eAstc5x4UnormBlock : return "Astc5x4UnormBlock"; + case Format::eAstc5x4SrgbBlock : return "Astc5x4SrgbBlock"; + case Format::eAstc5x5UnormBlock : return "Astc5x5UnormBlock"; + case Format::eAstc5x5SrgbBlock : return "Astc5x5SrgbBlock"; + case Format::eAstc6x5UnormBlock : return "Astc6x5UnormBlock"; + case Format::eAstc6x5SrgbBlock : return "Astc6x5SrgbBlock"; + case Format::eAstc6x6UnormBlock : return "Astc6x6UnormBlock"; + case Format::eAstc6x6SrgbBlock : return "Astc6x6SrgbBlock"; + case Format::eAstc8x5UnormBlock : return "Astc8x5UnormBlock"; + case Format::eAstc8x5SrgbBlock : return "Astc8x5SrgbBlock"; + case Format::eAstc8x6UnormBlock : return "Astc8x6UnormBlock"; + case Format::eAstc8x6SrgbBlock : return "Astc8x6SrgbBlock"; + case Format::eAstc8x8UnormBlock : return "Astc8x8UnormBlock"; + case Format::eAstc8x8SrgbBlock : return "Astc8x8SrgbBlock"; + case Format::eAstc10x5UnormBlock : return "Astc10x5UnormBlock"; + case Format::eAstc10x5SrgbBlock : return "Astc10x5SrgbBlock"; + case Format::eAstc10x6UnormBlock : return "Astc10x6UnormBlock"; + case Format::eAstc10x6SrgbBlock : return "Astc10x6SrgbBlock"; + case Format::eAstc10x8UnormBlock : return "Astc10x8UnormBlock"; + case Format::eAstc10x8SrgbBlock : return "Astc10x8SrgbBlock"; + case Format::eAstc10x10UnormBlock : return "Astc10x10UnormBlock"; + case Format::eAstc10x10SrgbBlock : return "Astc10x10SrgbBlock"; + case Format::eAstc12x10UnormBlock : return "Astc12x10UnormBlock"; + case Format::eAstc12x10SrgbBlock : return "Astc12x10SrgbBlock"; + case Format::eAstc12x12UnormBlock : return "Astc12x12UnormBlock"; + case Format::eAstc12x12SrgbBlock : return "Astc12x12SrgbBlock"; + case Format::eG8B8G8R8422Unorm : return "G8B8G8R8422Unorm"; + case Format::eB8G8R8G8422Unorm : return "B8G8R8G8422Unorm"; + case Format::eG8B8R83Plane420Unorm : return "G8B8R83Plane420Unorm"; + case Format::eG8B8R82Plane420Unorm : return "G8B8R82Plane420Unorm"; + case Format::eG8B8R83Plane422Unorm : return "G8B8R83Plane422Unorm"; + case Format::eG8B8R82Plane422Unorm : return "G8B8R82Plane422Unorm"; + case Format::eG8B8R83Plane444Unorm : return "G8B8R83Plane444Unorm"; + case Format::eR10X6UnormPack16 : return "R10X6UnormPack16"; + case Format::eR10X6G10X6Unorm2Pack16 : return "R10X6G10X6Unorm2Pack16"; + case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16 : return "R10X6G10X6B10X6A10X6Unorm4Pack16"; + case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16 : return "G10X6B10X6G10X6R10X6422Unorm4Pack16"; + case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16 : return "B10X6G10X6R10X6G10X6422Unorm4Pack16"; + case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16 : return "G10X6B10X6R10X63Plane420Unorm3Pack16"; + case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16 : return "G10X6B10X6R10X62Plane420Unorm3Pack16"; + case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16 : return "G10X6B10X6R10X63Plane422Unorm3Pack16"; + case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16 : return "G10X6B10X6R10X62Plane422Unorm3Pack16"; + case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16 : return "G10X6B10X6R10X63Plane444Unorm3Pack16"; + case Format::eR12X4UnormPack16 : return "R12X4UnormPack16"; + case Format::eR12X4G12X4Unorm2Pack16 : return "R12X4G12X4Unorm2Pack16"; + case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16 : return "R12X4G12X4B12X4A12X4Unorm4Pack16"; + case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16 : return "G12X4B12X4G12X4R12X4422Unorm4Pack16"; + case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16 : return "B12X4G12X4R12X4G12X4422Unorm4Pack16"; + case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16 : return "G12X4B12X4R12X43Plane420Unorm3Pack16"; + case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16 : return "G12X4B12X4R12X42Plane420Unorm3Pack16"; + case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16 : return "G12X4B12X4R12X43Plane422Unorm3Pack16"; + case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16 : return "G12X4B12X4R12X42Plane422Unorm3Pack16"; + case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16 : return "G12X4B12X4R12X43Plane444Unorm3Pack16"; + case Format::eG16B16G16R16422Unorm : return "G16B16G16R16422Unorm"; + case Format::eB16G16R16G16422Unorm : return "B16G16R16G16422Unorm"; + case Format::eG16B16R163Plane420Unorm : return "G16B16R163Plane420Unorm"; + case Format::eG16B16R162Plane420Unorm : return "G16B16R162Plane420Unorm"; + case Format::eG16B16R163Plane422Unorm : return "G16B16R163Plane422Unorm"; + case Format::eG16B16R162Plane422Unorm : return "G16B16R162Plane422Unorm"; + case Format::eG16B16R163Plane444Unorm : return "G16B16R163Plane444Unorm"; + case Format::ePvrtc12BppUnormBlockIMG : return "Pvrtc12BppUnormBlockIMG"; + case Format::ePvrtc14BppUnormBlockIMG : return "Pvrtc14BppUnormBlockIMG"; + case Format::ePvrtc22BppUnormBlockIMG : return "Pvrtc22BppUnormBlockIMG"; + case Format::ePvrtc24BppUnormBlockIMG : return "Pvrtc24BppUnormBlockIMG"; + case Format::ePvrtc12BppSrgbBlockIMG : return "Pvrtc12BppSrgbBlockIMG"; + case Format::ePvrtc14BppSrgbBlockIMG : return "Pvrtc14BppSrgbBlockIMG"; + case Format::ePvrtc22BppSrgbBlockIMG : return "Pvrtc22BppSrgbBlockIMG"; + case Format::ePvrtc24BppSrgbBlockIMG : return "Pvrtc24BppSrgbBlockIMG"; + case Format::eAstc4x4SfloatBlockEXT : return "Astc4x4SfloatBlockEXT"; + case Format::eAstc5x4SfloatBlockEXT : return "Astc5x4SfloatBlockEXT"; + case Format::eAstc5x5SfloatBlockEXT : return "Astc5x5SfloatBlockEXT"; + case Format::eAstc6x5SfloatBlockEXT : return "Astc6x5SfloatBlockEXT"; + case Format::eAstc6x6SfloatBlockEXT : return "Astc6x6SfloatBlockEXT"; + case Format::eAstc8x5SfloatBlockEXT : return "Astc8x5SfloatBlockEXT"; + case Format::eAstc8x6SfloatBlockEXT : return "Astc8x6SfloatBlockEXT"; + case Format::eAstc8x8SfloatBlockEXT : return "Astc8x8SfloatBlockEXT"; + case Format::eAstc10x5SfloatBlockEXT : return "Astc10x5SfloatBlockEXT"; + case Format::eAstc10x6SfloatBlockEXT : return "Astc10x6SfloatBlockEXT"; + case Format::eAstc10x8SfloatBlockEXT : return "Astc10x8SfloatBlockEXT"; + case Format::eAstc10x10SfloatBlockEXT : return "Astc10x10SfloatBlockEXT"; + case Format::eAstc12x10SfloatBlockEXT : return "Astc12x10SfloatBlockEXT"; + case Format::eAstc12x12SfloatBlockEXT : return "Astc12x12SfloatBlockEXT"; + case Format::eA4R4G4B4UnormPack16EXT : return "A4R4G4B4UnormPack16EXT"; + case Format::eA4B4G4R4UnormPack16EXT : return "A4B4G4R4UnormPack16EXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FormatFeatureFlagBits : VkFormatFeatureFlags + { + eSampledImage = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT, + eStorageImage = VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT, + eStorageImageAtomic = VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT, + eUniformTexelBuffer = VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT, + eStorageTexelBuffer = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT, + eStorageTexelBufferAtomic = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT, + eVertexBuffer = VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT, + eColorAttachment = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, + eColorAttachmentBlend = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, + eDepthStencilAttachment = VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT, + eBlitSrc = VK_FORMAT_FEATURE_BLIT_SRC_BIT, + eBlitDst = VK_FORMAT_FEATURE_BLIT_DST_BIT, + eSampledImageFilterLinear = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT, + eTransferSrc = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, + eTransferDst = VK_FORMAT_FEATURE_TRANSFER_DST_BIT, + eMidpointChromaSamples = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT, + eSampledImageYcbcrConversionLinearFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT, + eSampledImageYcbcrConversionSeparateReconstructionFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT, + eSampledImageYcbcrConversionChromaReconstructionExplicit = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT, + eSampledImageYcbcrConversionChromaReconstructionExplicitForceable = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT, + eDisjoint = VK_FORMAT_FEATURE_DISJOINT_BIT, + eCositedChromaSamples = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT, + eSampledImageFilterMinmax = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT, + eSampledImageFilterCubicIMG = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG, + eAccelerationStructureVertexBufferKHR = VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR, + eFragmentDensityMapEXT = VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT, + eFragmentShadingRateAttachmentKHR = VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, + eCositedChromaSamplesKHR = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR, + eDisjointKHR = VK_FORMAT_FEATURE_DISJOINT_BIT_KHR, + eMidpointChromaSamplesKHR = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR, + eSampledImageFilterCubicEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT, + eSampledImageFilterMinmaxEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT, + eSampledImageYcbcrConversionChromaReconstructionExplicitKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR, + eSampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR, + eSampledImageYcbcrConversionLinearFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR, + eSampledImageYcbcrConversionSeparateReconstructionFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR, + eTransferDstKHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR, + eTransferSrcKHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlagBits value ) + { + switch ( value ) + { + case FormatFeatureFlagBits::eSampledImage : return "SampledImage"; + case FormatFeatureFlagBits::eStorageImage : return "StorageImage"; + case FormatFeatureFlagBits::eStorageImageAtomic : return "StorageImageAtomic"; + case FormatFeatureFlagBits::eUniformTexelBuffer : return "UniformTexelBuffer"; + case FormatFeatureFlagBits::eStorageTexelBuffer : return "StorageTexelBuffer"; + case FormatFeatureFlagBits::eStorageTexelBufferAtomic : return "StorageTexelBufferAtomic"; + case FormatFeatureFlagBits::eVertexBuffer : return "VertexBuffer"; + case FormatFeatureFlagBits::eColorAttachment : return "ColorAttachment"; + case FormatFeatureFlagBits::eColorAttachmentBlend : return "ColorAttachmentBlend"; + case FormatFeatureFlagBits::eDepthStencilAttachment : return "DepthStencilAttachment"; + case FormatFeatureFlagBits::eBlitSrc : return "BlitSrc"; + case FormatFeatureFlagBits::eBlitDst : return "BlitDst"; + case FormatFeatureFlagBits::eSampledImageFilterLinear : return "SampledImageFilterLinear"; + case FormatFeatureFlagBits::eTransferSrc : return "TransferSrc"; + case FormatFeatureFlagBits::eTransferDst : return "TransferDst"; + case FormatFeatureFlagBits::eMidpointChromaSamples : return "MidpointChromaSamples"; + case FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter : return "SampledImageYcbcrConversionLinearFilter"; + case FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter : return "SampledImageYcbcrConversionSeparateReconstructionFilter"; + case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit : return "SampledImageYcbcrConversionChromaReconstructionExplicit"; + case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable : return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable"; + case FormatFeatureFlagBits::eDisjoint : return "Disjoint"; + case FormatFeatureFlagBits::eCositedChromaSamples : return "CositedChromaSamples"; + case FormatFeatureFlagBits::eSampledImageFilterMinmax : return "SampledImageFilterMinmax"; + case FormatFeatureFlagBits::eSampledImageFilterCubicIMG : return "SampledImageFilterCubicIMG"; + case FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR : return "AccelerationStructureVertexBufferKHR"; + case FormatFeatureFlagBits::eFragmentDensityMapEXT : return "FragmentDensityMapEXT"; + case FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR : return "FragmentShadingRateAttachmentKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FragmentShadingRateCombinerOpKHR + { + eKeep = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR, + eReplace = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_KHR, + eMin = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_KHR, + eMax = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_KHR, + eMul = VK_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateCombinerOpKHR value ) + { + switch ( value ) + { + case FragmentShadingRateCombinerOpKHR::eKeep : return "Keep"; + case FragmentShadingRateCombinerOpKHR::eReplace : return "Replace"; + case FragmentShadingRateCombinerOpKHR::eMin : return "Min"; + case FragmentShadingRateCombinerOpKHR::eMax : return "Max"; + case FragmentShadingRateCombinerOpKHR::eMul : return "Mul"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FragmentShadingRateNV + { + e1InvocationPerPixel = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV, + e1InvocationPer1X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV, + e1InvocationPer2X1Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV, + e1InvocationPer2X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV, + e1InvocationPer2X4Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV, + e1InvocationPer4X2Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV, + e1InvocationPer4X4Pixels = VK_FRAGMENT_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV, + e2InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV, + e4InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV, + e8InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV, + e16InvocationsPerPixel = VK_FRAGMENT_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV, + eNoInvocations = VK_FRAGMENT_SHADING_RATE_NO_INVOCATIONS_NV + }; + + VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateNV value ) + { + switch ( value ) + { + case FragmentShadingRateNV::e1InvocationPerPixel : return "1InvocationPerPixel"; + case FragmentShadingRateNV::e1InvocationPer1X2Pixels : return "1InvocationPer1X2Pixels"; + case FragmentShadingRateNV::e1InvocationPer2X1Pixels : return "1InvocationPer2X1Pixels"; + case FragmentShadingRateNV::e1InvocationPer2X2Pixels : return "1InvocationPer2X2Pixels"; + case FragmentShadingRateNV::e1InvocationPer2X4Pixels : return "1InvocationPer2X4Pixels"; + case FragmentShadingRateNV::e1InvocationPer4X2Pixels : return "1InvocationPer4X2Pixels"; + case FragmentShadingRateNV::e1InvocationPer4X4Pixels : return "1InvocationPer4X4Pixels"; + case FragmentShadingRateNV::e2InvocationsPerPixel : return "2InvocationsPerPixel"; + case FragmentShadingRateNV::e4InvocationsPerPixel : return "4InvocationsPerPixel"; + case FragmentShadingRateNV::e8InvocationsPerPixel : return "8InvocationsPerPixel"; + case FragmentShadingRateNV::e16InvocationsPerPixel : return "16InvocationsPerPixel"; + case FragmentShadingRateNV::eNoInvocations : return "NoInvocations"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FragmentShadingRateTypeNV + { + eFragmentSize = VK_FRAGMENT_SHADING_RATE_TYPE_FRAGMENT_SIZE_NV, + eEnums = VK_FRAGMENT_SHADING_RATE_TYPE_ENUMS_NV + }; + + VULKAN_HPP_INLINE std::string to_string( FragmentShadingRateTypeNV value ) + { + switch ( value ) + { + case FragmentShadingRateTypeNV::eFragmentSize : return "FragmentSize"; + case FragmentShadingRateTypeNV::eEnums : return "Enums"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FramebufferCreateFlagBits : VkFramebufferCreateFlags + { + eImageless = VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, + eImagelessKHR = VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlagBits value ) + { + switch ( value ) + { + case FramebufferCreateFlagBits::eImageless : return "Imageless"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class FrontFace + { + eCounterClockwise = VK_FRONT_FACE_COUNTER_CLOCKWISE, + eClockwise = VK_FRONT_FACE_CLOCKWISE + }; + + VULKAN_HPP_INLINE std::string to_string( FrontFace value ) + { + switch ( value ) + { + case FrontFace::eCounterClockwise : return "CounterClockwise"; + case FrontFace::eClockwise : return "Clockwise"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + +#ifdef VK_USE_PLATFORM_WIN32_KHR + enum class FullScreenExclusiveEXT + { + eDefault = VK_FULL_SCREEN_EXCLUSIVE_DEFAULT_EXT, + eAllowed = VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT, + eDisallowed = VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT, + eApplicationControlled = VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( FullScreenExclusiveEXT value ) + { + switch ( value ) + { + case FullScreenExclusiveEXT::eDefault : return "Default"; + case FullScreenExclusiveEXT::eAllowed : return "Allowed"; + case FullScreenExclusiveEXT::eDisallowed : return "Disallowed"; + case FullScreenExclusiveEXT::eApplicationControlled : return "ApplicationControlled"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + enum class GeometryFlagBitsKHR : VkGeometryFlagsKHR + { + eOpaque = VK_GEOMETRY_OPAQUE_BIT_KHR, + eNoDuplicateAnyHitInvocation = VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR + }; + using GeometryFlagBitsNV = GeometryFlagBitsKHR; + + VULKAN_HPP_INLINE std::string to_string( GeometryFlagBitsKHR value ) + { + switch ( value ) + { + case GeometryFlagBitsKHR::eOpaque : return "Opaque"; + case GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation : return "NoDuplicateAnyHitInvocation"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class GeometryInstanceFlagBitsKHR : VkGeometryInstanceFlagsKHR + { + eTriangleFacingCullDisable = VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR, + eTriangleFrontCounterclockwise = VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_KHR, + eForceOpaque = VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_KHR, + eForceNoOpaque = VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_KHR, + eTriangleCullDisable = VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV + }; + using GeometryInstanceFlagBitsNV = GeometryInstanceFlagBitsKHR; + + VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagBitsKHR value ) + { + switch ( value ) + { + case GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable : return "TriangleFacingCullDisable"; + case GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise : return "TriangleFrontCounterclockwise"; + case GeometryInstanceFlagBitsKHR::eForceOpaque : return "ForceOpaque"; + case GeometryInstanceFlagBitsKHR::eForceNoOpaque : return "ForceNoOpaque"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class GeometryTypeKHR + { + eTriangles = VK_GEOMETRY_TYPE_TRIANGLES_KHR, + eAabbs = VK_GEOMETRY_TYPE_AABBS_KHR, + eInstances = VK_GEOMETRY_TYPE_INSTANCES_KHR + }; + using GeometryTypeNV = GeometryTypeKHR; + + VULKAN_HPP_INLINE std::string to_string( GeometryTypeKHR value ) + { + switch ( value ) + { + case GeometryTypeKHR::eTriangles : return "Triangles"; + case GeometryTypeKHR::eAabbs : return "Aabbs"; + case GeometryTypeKHR::eInstances : return "Instances"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageAspectFlagBits : VkImageAspectFlags + { + eColor = VK_IMAGE_ASPECT_COLOR_BIT, + eDepth = VK_IMAGE_ASPECT_DEPTH_BIT, + eStencil = VK_IMAGE_ASPECT_STENCIL_BIT, + eMetadata = VK_IMAGE_ASPECT_METADATA_BIT, + ePlane0 = VK_IMAGE_ASPECT_PLANE_0_BIT, + ePlane1 = VK_IMAGE_ASPECT_PLANE_1_BIT, + ePlane2 = VK_IMAGE_ASPECT_PLANE_2_BIT, + eMemoryPlane0EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT, + eMemoryPlane1EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT, + eMemoryPlane2EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT, + eMemoryPlane3EXT = VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT, + ePlane0KHR = VK_IMAGE_ASPECT_PLANE_0_BIT_KHR, + ePlane1KHR = VK_IMAGE_ASPECT_PLANE_1_BIT_KHR, + ePlane2KHR = VK_IMAGE_ASPECT_PLANE_2_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( ImageAspectFlagBits value ) + { + switch ( value ) + { + case ImageAspectFlagBits::eColor : return "Color"; + case ImageAspectFlagBits::eDepth : return "Depth"; + case ImageAspectFlagBits::eStencil : return "Stencil"; + case ImageAspectFlagBits::eMetadata : return "Metadata"; + case ImageAspectFlagBits::ePlane0 : return "Plane0"; + case ImageAspectFlagBits::ePlane1 : return "Plane1"; + case ImageAspectFlagBits::ePlane2 : return "Plane2"; + case ImageAspectFlagBits::eMemoryPlane0EXT : return "MemoryPlane0EXT"; + case ImageAspectFlagBits::eMemoryPlane1EXT : return "MemoryPlane1EXT"; + case ImageAspectFlagBits::eMemoryPlane2EXT : return "MemoryPlane2EXT"; + case ImageAspectFlagBits::eMemoryPlane3EXT : return "MemoryPlane3EXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageCreateFlagBits : VkImageCreateFlags + { + eSparseBinding = VK_IMAGE_CREATE_SPARSE_BINDING_BIT, + eSparseResidency = VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, + eSparseAliased = VK_IMAGE_CREATE_SPARSE_ALIASED_BIT, + eMutableFormat = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT, + eCubeCompatible = VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, + eAlias = VK_IMAGE_CREATE_ALIAS_BIT, + eSplitInstanceBindRegions = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT, + e2DArrayCompatible = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT, + eBlockTexelViewCompatible = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT, + eExtendedUsage = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT, + eProtected = VK_IMAGE_CREATE_PROTECTED_BIT, + eDisjoint = VK_IMAGE_CREATE_DISJOINT_BIT, + eCornerSampledNV = VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV, + eSampleLocationsCompatibleDepthEXT = VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT, + eSubsampledEXT = VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT, + e2DArrayCompatibleKHR = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR, + eAliasKHR = VK_IMAGE_CREATE_ALIAS_BIT_KHR, + eBlockTexelViewCompatibleKHR = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR, + eDisjointKHR = VK_IMAGE_CREATE_DISJOINT_BIT_KHR, + eExtendedUsageKHR = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR, + eSplitInstanceBindRegionsKHR = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( ImageCreateFlagBits value ) + { + switch ( value ) + { + case ImageCreateFlagBits::eSparseBinding : return "SparseBinding"; + case ImageCreateFlagBits::eSparseResidency : return "SparseResidency"; + case ImageCreateFlagBits::eSparseAliased : return "SparseAliased"; + case ImageCreateFlagBits::eMutableFormat : return "MutableFormat"; + case ImageCreateFlagBits::eCubeCompatible : return "CubeCompatible"; + case ImageCreateFlagBits::eAlias : return "Alias"; + case ImageCreateFlagBits::eSplitInstanceBindRegions : return "SplitInstanceBindRegions"; + case ImageCreateFlagBits::e2DArrayCompatible : return "2DArrayCompatible"; + case ImageCreateFlagBits::eBlockTexelViewCompatible : return "BlockTexelViewCompatible"; + case ImageCreateFlagBits::eExtendedUsage : return "ExtendedUsage"; + case ImageCreateFlagBits::eProtected : return "Protected"; + case ImageCreateFlagBits::eDisjoint : return "Disjoint"; + case ImageCreateFlagBits::eCornerSampledNV : return "CornerSampledNV"; + case ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT : return "SampleLocationsCompatibleDepthEXT"; + case ImageCreateFlagBits::eSubsampledEXT : return "SubsampledEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageLayout + { + eUndefined = VK_IMAGE_LAYOUT_UNDEFINED, + eGeneral = VK_IMAGE_LAYOUT_GENERAL, + eColorAttachmentOptimal = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, + eDepthStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, + eDepthStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, + eShaderReadOnlyOptimal = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, + eTransferSrcOptimal = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, + eTransferDstOptimal = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, + ePreinitialized = VK_IMAGE_LAYOUT_PREINITIALIZED, + eDepthReadOnlyStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, + eDepthAttachmentStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, + eDepthAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, + eDepthReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, + eStencilAttachmentOptimal = VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL, + eStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, + ePresentSrcKHR = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, + eSharedPresentKHR = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR, + eShadingRateOptimalNV = VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV, + eFragmentDensityMapOptimalEXT = VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT, + eDepthAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR, + eDepthAttachmentStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR, + eDepthReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL_KHR, + eDepthReadOnlyStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR, + eFragmentShadingRateAttachmentOptimalKHR = VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR, + eStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL_KHR, + eStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( ImageLayout value ) + { + switch ( value ) + { + case ImageLayout::eUndefined : return "Undefined"; + case ImageLayout::eGeneral : return "General"; + case ImageLayout::eColorAttachmentOptimal : return "ColorAttachmentOptimal"; + case ImageLayout::eDepthStencilAttachmentOptimal : return "DepthStencilAttachmentOptimal"; + case ImageLayout::eDepthStencilReadOnlyOptimal : return "DepthStencilReadOnlyOptimal"; + case ImageLayout::eShaderReadOnlyOptimal : return "ShaderReadOnlyOptimal"; + case ImageLayout::eTransferSrcOptimal : return "TransferSrcOptimal"; + case ImageLayout::eTransferDstOptimal : return "TransferDstOptimal"; + case ImageLayout::ePreinitialized : return "Preinitialized"; + case ImageLayout::eDepthReadOnlyStencilAttachmentOptimal : return "DepthReadOnlyStencilAttachmentOptimal"; + case ImageLayout::eDepthAttachmentStencilReadOnlyOptimal : return "DepthAttachmentStencilReadOnlyOptimal"; + case ImageLayout::eDepthAttachmentOptimal : return "DepthAttachmentOptimal"; + case ImageLayout::eDepthReadOnlyOptimal : return "DepthReadOnlyOptimal"; + case ImageLayout::eStencilAttachmentOptimal : return "StencilAttachmentOptimal"; + case ImageLayout::eStencilReadOnlyOptimal : return "StencilReadOnlyOptimal"; + case ImageLayout::ePresentSrcKHR : return "PresentSrcKHR"; + case ImageLayout::eSharedPresentKHR : return "SharedPresentKHR"; + case ImageLayout::eShadingRateOptimalNV : return "ShadingRateOptimalNV"; + case ImageLayout::eFragmentDensityMapOptimalEXT : return "FragmentDensityMapOptimalEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageTiling + { + eOptimal = VK_IMAGE_TILING_OPTIMAL, + eLinear = VK_IMAGE_TILING_LINEAR, + eDrmFormatModifierEXT = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ImageTiling value ) + { + switch ( value ) + { + case ImageTiling::eOptimal : return "Optimal"; + case ImageTiling::eLinear : return "Linear"; + case ImageTiling::eDrmFormatModifierEXT : return "DrmFormatModifierEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageType + { + e1D = VK_IMAGE_TYPE_1D, + e2D = VK_IMAGE_TYPE_2D, + e3D = VK_IMAGE_TYPE_3D + }; + + VULKAN_HPP_INLINE std::string to_string( ImageType value ) + { + switch ( value ) + { + case ImageType::e1D : return "1D"; + case ImageType::e2D : return "2D"; + case ImageType::e3D : return "3D"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageUsageFlagBits : VkImageUsageFlags + { + eTransferSrc = VK_IMAGE_USAGE_TRANSFER_SRC_BIT, + eTransferDst = VK_IMAGE_USAGE_TRANSFER_DST_BIT, + eSampled = VK_IMAGE_USAGE_SAMPLED_BIT, + eStorage = VK_IMAGE_USAGE_STORAGE_BIT, + eColorAttachment = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, + eDepthStencilAttachment = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, + eTransientAttachment = VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT, + eInputAttachment = VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT, + eShadingRateImageNV = VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV, + eFragmentDensityMapEXT = VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT, + eFragmentShadingRateAttachmentKHR = VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( ImageUsageFlagBits value ) + { + switch ( value ) + { + case ImageUsageFlagBits::eTransferSrc : return "TransferSrc"; + case ImageUsageFlagBits::eTransferDst : return "TransferDst"; + case ImageUsageFlagBits::eSampled : return "Sampled"; + case ImageUsageFlagBits::eStorage : return "Storage"; + case ImageUsageFlagBits::eColorAttachment : return "ColorAttachment"; + case ImageUsageFlagBits::eDepthStencilAttachment : return "DepthStencilAttachment"; + case ImageUsageFlagBits::eTransientAttachment : return "TransientAttachment"; + case ImageUsageFlagBits::eInputAttachment : return "InputAttachment"; + case ImageUsageFlagBits::eShadingRateImageNV : return "ShadingRateImageNV"; + case ImageUsageFlagBits::eFragmentDensityMapEXT : return "FragmentDensityMapEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageViewCreateFlagBits : VkImageViewCreateFlags + { + eFragmentDensityMapDynamicEXT = VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT, + eFragmentDensityMapDeferredEXT = VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlagBits value ) + { + switch ( value ) + { + case ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT : return "FragmentDensityMapDynamicEXT"; + case ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT : return "FragmentDensityMapDeferredEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ImageViewType + { + e1D = VK_IMAGE_VIEW_TYPE_1D, + e2D = VK_IMAGE_VIEW_TYPE_2D, + e3D = VK_IMAGE_VIEW_TYPE_3D, + eCube = VK_IMAGE_VIEW_TYPE_CUBE, + e1DArray = VK_IMAGE_VIEW_TYPE_1D_ARRAY, + e2DArray = VK_IMAGE_VIEW_TYPE_2D_ARRAY, + eCubeArray = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY + }; + + VULKAN_HPP_INLINE std::string to_string( ImageViewType value ) + { + switch ( value ) + { + case ImageViewType::e1D : return "1D"; + case ImageViewType::e2D : return "2D"; + case ImageViewType::e3D : return "3D"; + case ImageViewType::eCube : return "Cube"; + case ImageViewType::e1DArray : return "1DArray"; + case ImageViewType::e2DArray : return "2DArray"; + case ImageViewType::eCubeArray : return "CubeArray"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class IndexType + { + eUint16 = VK_INDEX_TYPE_UINT16, + eUint32 = VK_INDEX_TYPE_UINT32, + eNoneKHR = VK_INDEX_TYPE_NONE_KHR, + eUint8EXT = VK_INDEX_TYPE_UINT8_EXT, + eNoneNV = VK_INDEX_TYPE_NONE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( IndexType value ) + { + switch ( value ) + { + case IndexType::eUint16 : return "Uint16"; + case IndexType::eUint32 : return "Uint32"; + case IndexType::eNoneKHR : return "NoneKHR"; + case IndexType::eUint8EXT : return "Uint8EXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class IndirectCommandsLayoutUsageFlagBitsNV : VkIndirectCommandsLayoutUsageFlagsNV + { + eExplicitPreprocess = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EXPLICIT_PREPROCESS_BIT_NV, + eIndexedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NV, + eUnorderedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagBitsNV value ) + { + switch ( value ) + { + case IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess : return "ExplicitPreprocess"; + case IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences : return "IndexedSequences"; + case IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences : return "UnorderedSequences"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class IndirectCommandsTokenTypeNV + { + eShaderGroup = VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV, + eStateFlags = VK_INDIRECT_COMMANDS_TOKEN_TYPE_STATE_FLAGS_NV, + eIndexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV, + eVertexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NV, + ePushConstant = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NV, + eDrawIndexed = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NV, + eDraw = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NV, + eDrawTasks = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_TASKS_NV + }; + + VULKAN_HPP_INLINE std::string to_string( IndirectCommandsTokenTypeNV value ) + { + switch ( value ) + { + case IndirectCommandsTokenTypeNV::eShaderGroup : return "ShaderGroup"; + case IndirectCommandsTokenTypeNV::eStateFlags : return "StateFlags"; + case IndirectCommandsTokenTypeNV::eIndexBuffer : return "IndexBuffer"; + case IndirectCommandsTokenTypeNV::eVertexBuffer : return "VertexBuffer"; + case IndirectCommandsTokenTypeNV::ePushConstant : return "PushConstant"; + case IndirectCommandsTokenTypeNV::eDrawIndexed : return "DrawIndexed"; + case IndirectCommandsTokenTypeNV::eDraw : return "Draw"; + case IndirectCommandsTokenTypeNV::eDrawTasks : return "DrawTasks"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class IndirectStateFlagBitsNV : VkIndirectStateFlagsNV + { + eFlagFrontface = VK_INDIRECT_STATE_FLAG_FRONTFACE_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagBitsNV value ) + { + switch ( value ) + { + case IndirectStateFlagBitsNV::eFlagFrontface : return "FlagFrontface"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class InstanceCreateFlagBits + {}; + + VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlagBits ) + { + return "(void)"; + } + + enum class InternalAllocationType + { + eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE + }; + + VULKAN_HPP_INLINE std::string to_string( InternalAllocationType value ) + { + switch ( value ) + { + case InternalAllocationType::eExecutable : return "Executable"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class LineRasterizationModeEXT + { + eDefault = VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT, + eRectangular = VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT, + eBresenham = VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT, + eRectangularSmooth = VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( LineRasterizationModeEXT value ) + { + switch ( value ) + { + case LineRasterizationModeEXT::eDefault : return "Default"; + case LineRasterizationModeEXT::eRectangular : return "Rectangular"; + case LineRasterizationModeEXT::eBresenham : return "Bresenham"; + case LineRasterizationModeEXT::eRectangularSmooth : return "RectangularSmooth"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class LogicOp + { + eClear = VK_LOGIC_OP_CLEAR, + eAnd = VK_LOGIC_OP_AND, + eAndReverse = VK_LOGIC_OP_AND_REVERSE, + eCopy = VK_LOGIC_OP_COPY, + eAndInverted = VK_LOGIC_OP_AND_INVERTED, + eNoOp = VK_LOGIC_OP_NO_OP, + eXor = VK_LOGIC_OP_XOR, + eOr = VK_LOGIC_OP_OR, + eNor = VK_LOGIC_OP_NOR, + eEquivalent = VK_LOGIC_OP_EQUIVALENT, + eInvert = VK_LOGIC_OP_INVERT, + eOrReverse = VK_LOGIC_OP_OR_REVERSE, + eCopyInverted = VK_LOGIC_OP_COPY_INVERTED, + eOrInverted = VK_LOGIC_OP_OR_INVERTED, + eNand = VK_LOGIC_OP_NAND, + eSet = VK_LOGIC_OP_SET + }; + + VULKAN_HPP_INLINE std::string to_string( LogicOp value ) + { + switch ( value ) + { + case LogicOp::eClear : return "Clear"; + case LogicOp::eAnd : return "And"; + case LogicOp::eAndReverse : return "AndReverse"; + case LogicOp::eCopy : return "Copy"; + case LogicOp::eAndInverted : return "AndInverted"; + case LogicOp::eNoOp : return "NoOp"; + case LogicOp::eXor : return "Xor"; + case LogicOp::eOr : return "Or"; + case LogicOp::eNor : return "Nor"; + case LogicOp::eEquivalent : return "Equivalent"; + case LogicOp::eInvert : return "Invert"; + case LogicOp::eOrReverse : return "OrReverse"; + case LogicOp::eCopyInverted : return "CopyInverted"; + case LogicOp::eOrInverted : return "OrInverted"; + case LogicOp::eNand : return "Nand"; + case LogicOp::eSet : return "Set"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class MemoryAllocateFlagBits : VkMemoryAllocateFlags + { + eDeviceMask = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT, + eDeviceAddress = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT, + eDeviceAddressCaptureReplay = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT + }; + using MemoryAllocateFlagBitsKHR = MemoryAllocateFlagBits; + + VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlagBits value ) + { + switch ( value ) + { + case MemoryAllocateFlagBits::eDeviceMask : return "DeviceMask"; + case MemoryAllocateFlagBits::eDeviceAddress : return "DeviceAddress"; + case MemoryAllocateFlagBits::eDeviceAddressCaptureReplay : return "DeviceAddressCaptureReplay"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class MemoryHeapFlagBits : VkMemoryHeapFlags + { + eDeviceLocal = VK_MEMORY_HEAP_DEVICE_LOCAL_BIT, + eMultiInstance = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT, + eMultiInstanceKHR = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlagBits value ) + { + switch ( value ) + { + case MemoryHeapFlagBits::eDeviceLocal : return "DeviceLocal"; + case MemoryHeapFlagBits::eMultiInstance : return "MultiInstance"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class MemoryOverallocationBehaviorAMD + { + eDefault = VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD, + eAllowed = VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD, + eDisallowed = VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD + }; + + VULKAN_HPP_INLINE std::string to_string( MemoryOverallocationBehaviorAMD value ) + { + switch ( value ) + { + case MemoryOverallocationBehaviorAMD::eDefault : return "Default"; + case MemoryOverallocationBehaviorAMD::eAllowed : return "Allowed"; + case MemoryOverallocationBehaviorAMD::eDisallowed : return "Disallowed"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class MemoryPropertyFlagBits : VkMemoryPropertyFlags + { + eDeviceLocal = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, + eHostVisible = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT, + eHostCoherent = VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, + eHostCached = VK_MEMORY_PROPERTY_HOST_CACHED_BIT, + eLazilyAllocated = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT, + eProtected = VK_MEMORY_PROPERTY_PROTECTED_BIT, + eDeviceCoherentAMD = VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD, + eDeviceUncachedAMD = VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD + }; + + VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlagBits value ) + { + switch ( value ) + { + case MemoryPropertyFlagBits::eDeviceLocal : return "DeviceLocal"; + case MemoryPropertyFlagBits::eHostVisible : return "HostVisible"; + case MemoryPropertyFlagBits::eHostCoherent : return "HostCoherent"; + case MemoryPropertyFlagBits::eHostCached : return "HostCached"; + case MemoryPropertyFlagBits::eLazilyAllocated : return "LazilyAllocated"; + case MemoryPropertyFlagBits::eProtected : return "Protected"; + case MemoryPropertyFlagBits::eDeviceCoherentAMD : return "DeviceCoherentAMD"; + case MemoryPropertyFlagBits::eDeviceUncachedAMD : return "DeviceUncachedAMD"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ObjectType + { + eUnknown = VK_OBJECT_TYPE_UNKNOWN, + eInstance = VK_OBJECT_TYPE_INSTANCE, + ePhysicalDevice = VK_OBJECT_TYPE_PHYSICAL_DEVICE, + eDevice = VK_OBJECT_TYPE_DEVICE, + eQueue = VK_OBJECT_TYPE_QUEUE, + eSemaphore = VK_OBJECT_TYPE_SEMAPHORE, + eCommandBuffer = VK_OBJECT_TYPE_COMMAND_BUFFER, + eFence = VK_OBJECT_TYPE_FENCE, + eDeviceMemory = VK_OBJECT_TYPE_DEVICE_MEMORY, + eBuffer = VK_OBJECT_TYPE_BUFFER, + eImage = VK_OBJECT_TYPE_IMAGE, + eEvent = VK_OBJECT_TYPE_EVENT, + eQueryPool = VK_OBJECT_TYPE_QUERY_POOL, + eBufferView = VK_OBJECT_TYPE_BUFFER_VIEW, + eImageView = VK_OBJECT_TYPE_IMAGE_VIEW, + eShaderModule = VK_OBJECT_TYPE_SHADER_MODULE, + ePipelineCache = VK_OBJECT_TYPE_PIPELINE_CACHE, + ePipelineLayout = VK_OBJECT_TYPE_PIPELINE_LAYOUT, + eRenderPass = VK_OBJECT_TYPE_RENDER_PASS, + ePipeline = VK_OBJECT_TYPE_PIPELINE, + eDescriptorSetLayout = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT, + eSampler = VK_OBJECT_TYPE_SAMPLER, + eDescriptorPool = VK_OBJECT_TYPE_DESCRIPTOR_POOL, + eDescriptorSet = VK_OBJECT_TYPE_DESCRIPTOR_SET, + eFramebuffer = VK_OBJECT_TYPE_FRAMEBUFFER, + eCommandPool = VK_OBJECT_TYPE_COMMAND_POOL, + eSamplerYcbcrConversion = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION, + eDescriptorUpdateTemplate = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE, + eSurfaceKHR = VK_OBJECT_TYPE_SURFACE_KHR, + eSwapchainKHR = VK_OBJECT_TYPE_SWAPCHAIN_KHR, + eDisplayKHR = VK_OBJECT_TYPE_DISPLAY_KHR, + eDisplayModeKHR = VK_OBJECT_TYPE_DISPLAY_MODE_KHR, + eDebugReportCallbackEXT = VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT, + eDebugUtilsMessengerEXT = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT, + eAccelerationStructureKHR = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR, + eValidationCacheEXT = VK_OBJECT_TYPE_VALIDATION_CACHE_EXT, + ePerformanceConfigurationINTEL = VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL, + eDeferredOperationKHR = VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR, + eIndirectCommandsLayoutNV = VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV, + ePrivateDataSlotEXT = VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT, + eAccelerationStructureNV = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV, + eDescriptorUpdateTemplateKHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR, + eSamplerYcbcrConversionKHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( ObjectType value ) + { + switch ( value ) + { + case ObjectType::eUnknown : return "Unknown"; + case ObjectType::eInstance : return "Instance"; + case ObjectType::ePhysicalDevice : return "PhysicalDevice"; + case ObjectType::eDevice : return "Device"; + case ObjectType::eQueue : return "Queue"; + case ObjectType::eSemaphore : return "Semaphore"; + case ObjectType::eCommandBuffer : return "CommandBuffer"; + case ObjectType::eFence : return "Fence"; + case ObjectType::eDeviceMemory : return "DeviceMemory"; + case ObjectType::eBuffer : return "Buffer"; + case ObjectType::eImage : return "Image"; + case ObjectType::eEvent : return "Event"; + case ObjectType::eQueryPool : return "QueryPool"; + case ObjectType::eBufferView : return "BufferView"; + case ObjectType::eImageView : return "ImageView"; + case ObjectType::eShaderModule : return "ShaderModule"; + case ObjectType::ePipelineCache : return "PipelineCache"; + case ObjectType::ePipelineLayout : return "PipelineLayout"; + case ObjectType::eRenderPass : return "RenderPass"; + case ObjectType::ePipeline : return "Pipeline"; + case ObjectType::eDescriptorSetLayout : return "DescriptorSetLayout"; + case ObjectType::eSampler : return "Sampler"; + case ObjectType::eDescriptorPool : return "DescriptorPool"; + case ObjectType::eDescriptorSet : return "DescriptorSet"; + case ObjectType::eFramebuffer : return "Framebuffer"; + case ObjectType::eCommandPool : return "CommandPool"; + case ObjectType::eSamplerYcbcrConversion : return "SamplerYcbcrConversion"; + case ObjectType::eDescriptorUpdateTemplate : return "DescriptorUpdateTemplate"; + case ObjectType::eSurfaceKHR : return "SurfaceKHR"; + case ObjectType::eSwapchainKHR : return "SwapchainKHR"; + case ObjectType::eDisplayKHR : return "DisplayKHR"; + case ObjectType::eDisplayModeKHR : return "DisplayModeKHR"; + case ObjectType::eDebugReportCallbackEXT : return "DebugReportCallbackEXT"; + case ObjectType::eDebugUtilsMessengerEXT : return "DebugUtilsMessengerEXT"; + case ObjectType::eAccelerationStructureKHR : return "AccelerationStructureKHR"; + case ObjectType::eValidationCacheEXT : return "ValidationCacheEXT"; + case ObjectType::ePerformanceConfigurationINTEL : return "PerformanceConfigurationINTEL"; + case ObjectType::eDeferredOperationKHR : return "DeferredOperationKHR"; + case ObjectType::eIndirectCommandsLayoutNV : return "IndirectCommandsLayoutNV"; + case ObjectType::ePrivateDataSlotEXT : return "PrivateDataSlotEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + template + struct cpp_type + {}; + + enum class PeerMemoryFeatureFlagBits : VkPeerMemoryFeatureFlags + { + eCopySrc = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT, + eCopyDst = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT, + eGenericSrc = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT, + eGenericDst = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT + }; + using PeerMemoryFeatureFlagBitsKHR = PeerMemoryFeatureFlagBits; + + VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlagBits value ) + { + switch ( value ) + { + case PeerMemoryFeatureFlagBits::eCopySrc : return "CopySrc"; + case PeerMemoryFeatureFlagBits::eCopyDst : return "CopyDst"; + case PeerMemoryFeatureFlagBits::eGenericSrc : return "GenericSrc"; + case PeerMemoryFeatureFlagBits::eGenericDst : return "GenericDst"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceConfigurationTypeINTEL + { + eCommandQueueMetricsDiscoveryActivated = VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceConfigurationTypeINTEL value ) + { + switch ( value ) + { + case PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated : return "CommandQueueMetricsDiscoveryActivated"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceCounterDescriptionFlagBitsKHR : VkPerformanceCounterDescriptionFlagsKHR + { + ePerformanceImpacting = VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_BIT_KHR, + eConcurrentlyImpacted = VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagBitsKHR value ) + { + switch ( value ) + { + case PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting : return "PerformanceImpacting"; + case PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted : return "ConcurrentlyImpacted"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceCounterScopeKHR + { + eCommandBuffer = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR, + eRenderPass = VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR, + eCommand = VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR, + eVkQueryScopeCommandBuffer = VK_QUERY_SCOPE_COMMAND_BUFFER_KHR, + eVkQueryScopeCommand = VK_QUERY_SCOPE_COMMAND_KHR, + eVkQueryScopeRenderPass = VK_QUERY_SCOPE_RENDER_PASS_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceCounterScopeKHR value ) + { + switch ( value ) + { + case PerformanceCounterScopeKHR::eCommandBuffer : return "CommandBuffer"; + case PerformanceCounterScopeKHR::eRenderPass : return "RenderPass"; + case PerformanceCounterScopeKHR::eCommand : return "Command"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceCounterStorageKHR + { + eInt32 = VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR, + eInt64 = VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR, + eUint32 = VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR, + eUint64 = VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR, + eFloat32 = VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR, + eFloat64 = VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceCounterStorageKHR value ) + { + switch ( value ) + { + case PerformanceCounterStorageKHR::eInt32 : return "Int32"; + case PerformanceCounterStorageKHR::eInt64 : return "Int64"; + case PerformanceCounterStorageKHR::eUint32 : return "Uint32"; + case PerformanceCounterStorageKHR::eUint64 : return "Uint64"; + case PerformanceCounterStorageKHR::eFloat32 : return "Float32"; + case PerformanceCounterStorageKHR::eFloat64 : return "Float64"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceCounterUnitKHR + { + eGeneric = VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR, + ePercentage = VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR, + eNanoseconds = VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR, + eBytes = VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR, + eBytesPerSecond = VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR, + eKelvin = VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR, + eWatts = VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR, + eVolts = VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR, + eAmps = VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR, + eHertz = VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR, + eCycles = VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceCounterUnitKHR value ) + { + switch ( value ) + { + case PerformanceCounterUnitKHR::eGeneric : return "Generic"; + case PerformanceCounterUnitKHR::ePercentage : return "Percentage"; + case PerformanceCounterUnitKHR::eNanoseconds : return "Nanoseconds"; + case PerformanceCounterUnitKHR::eBytes : return "Bytes"; + case PerformanceCounterUnitKHR::eBytesPerSecond : return "BytesPerSecond"; + case PerformanceCounterUnitKHR::eKelvin : return "Kelvin"; + case PerformanceCounterUnitKHR::eWatts : return "Watts"; + case PerformanceCounterUnitKHR::eVolts : return "Volts"; + case PerformanceCounterUnitKHR::eAmps : return "Amps"; + case PerformanceCounterUnitKHR::eHertz : return "Hertz"; + case PerformanceCounterUnitKHR::eCycles : return "Cycles"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceOverrideTypeINTEL + { + eNullHardware = VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL, + eFlushGpuCaches = VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceOverrideTypeINTEL value ) + { + switch ( value ) + { + case PerformanceOverrideTypeINTEL::eNullHardware : return "NullHardware"; + case PerformanceOverrideTypeINTEL::eFlushGpuCaches : return "FlushGpuCaches"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceParameterTypeINTEL + { + eHwCountersSupported = VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL, + eStreamMarkerValidBits = VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceParameterTypeINTEL value ) + { + switch ( value ) + { + case PerformanceParameterTypeINTEL::eHwCountersSupported : return "HwCountersSupported"; + case PerformanceParameterTypeINTEL::eStreamMarkerValidBits : return "StreamMarkerValidBits"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PerformanceValueTypeINTEL + { + eUint32 = VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL, + eUint64 = VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL, + eFloat = VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL, + eBool = VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL, + eString = VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL + }; + + VULKAN_HPP_INLINE std::string to_string( PerformanceValueTypeINTEL value ) + { + switch ( value ) + { + case PerformanceValueTypeINTEL::eUint32 : return "Uint32"; + case PerformanceValueTypeINTEL::eUint64 : return "Uint64"; + case PerformanceValueTypeINTEL::eFloat : return "Float"; + case PerformanceValueTypeINTEL::eBool : return "Bool"; + case PerformanceValueTypeINTEL::eString : return "String"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PhysicalDeviceType + { + eOther = VK_PHYSICAL_DEVICE_TYPE_OTHER, + eIntegratedGpu = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, + eDiscreteGpu = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, + eVirtualGpu = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU, + eCpu = VK_PHYSICAL_DEVICE_TYPE_CPU + }; + + VULKAN_HPP_INLINE std::string to_string( PhysicalDeviceType value ) + { + switch ( value ) + { + case PhysicalDeviceType::eOther : return "Other"; + case PhysicalDeviceType::eIntegratedGpu : return "IntegratedGpu"; + case PhysicalDeviceType::eDiscreteGpu : return "DiscreteGpu"; + case PhysicalDeviceType::eVirtualGpu : return "VirtualGpu"; + case PhysicalDeviceType::eCpu : return "Cpu"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineBindPoint + { + eGraphics = VK_PIPELINE_BIND_POINT_GRAPHICS, + eCompute = VK_PIPELINE_BIND_POINT_COMPUTE, + eRayTracingKHR = VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR, + eRayTracingNV = VK_PIPELINE_BIND_POINT_RAY_TRACING_NV + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineBindPoint value ) + { + switch ( value ) + { + case PipelineBindPoint::eGraphics : return "Graphics"; + case PipelineBindPoint::eCompute : return "Compute"; + case PipelineBindPoint::eRayTracingKHR : return "RayTracingKHR"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineCacheCreateFlagBits : VkPipelineCacheCreateFlags + { + eExternallySynchronizedEXT = VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlagBits value ) + { + switch ( value ) + { + case PipelineCacheCreateFlagBits::eExternallySynchronizedEXT : return "ExternallySynchronizedEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineCacheHeaderVersion + { + eOne = VK_PIPELINE_CACHE_HEADER_VERSION_ONE + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineCacheHeaderVersion value ) + { + switch ( value ) + { + case PipelineCacheHeaderVersion::eOne : return "One"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineCompilerControlFlagBitsAMD : VkPipelineCompilerControlFlagsAMD + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagBitsAMD ) + { + return "(void)"; + } + + enum class PipelineCreateFlagBits : VkPipelineCreateFlags + { + eDisableOptimization = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT, + eAllowDerivatives = VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT, + eDerivative = VK_PIPELINE_CREATE_DERIVATIVE_BIT, + eViewIndexFromDeviceIndex = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT, + eDispatchBase = VK_PIPELINE_CREATE_DISPATCH_BASE_BIT, + eRayTracingNoNullAnyHitShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_ANY_HIT_SHADERS_BIT_KHR, + eRayTracingNoNullClosestHitShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_CLOSEST_HIT_SHADERS_BIT_KHR, + eRayTracingNoNullMissShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_MISS_SHADERS_BIT_KHR, + eRayTracingNoNullIntersectionShadersKHR = VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR, + eRayTracingSkipTrianglesKHR = VK_PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR, + eRayTracingSkipAabbsKHR = VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR, + eDeferCompileNV = VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV, + eCaptureStatisticsKHR = VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR, + eCaptureInternalRepresentationsKHR = VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR, + eIndirectBindableNV = VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV, + eLibraryKHR = VK_PIPELINE_CREATE_LIBRARY_BIT_KHR, + eFailOnPipelineCompileRequiredEXT = VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT_EXT, + eEarlyReturnOnFailureEXT = VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT_EXT, + eDispatchBaseKHR = VK_PIPELINE_CREATE_DISPATCH_BASE_KHR, + eViewIndexFromDeviceIndexKHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlagBits value ) + { + switch ( value ) + { + case PipelineCreateFlagBits::eDisableOptimization : return "DisableOptimization"; + case PipelineCreateFlagBits::eAllowDerivatives : return "AllowDerivatives"; + case PipelineCreateFlagBits::eDerivative : return "Derivative"; + case PipelineCreateFlagBits::eViewIndexFromDeviceIndex : return "ViewIndexFromDeviceIndex"; + case PipelineCreateFlagBits::eDispatchBase : return "DispatchBase"; + case PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR : return "RayTracingNoNullAnyHitShadersKHR"; + case PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR : return "RayTracingNoNullClosestHitShadersKHR"; + case PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR : return "RayTracingNoNullMissShadersKHR"; + case PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR : return "RayTracingNoNullIntersectionShadersKHR"; + case PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR : return "RayTracingSkipTrianglesKHR"; + case PipelineCreateFlagBits::eRayTracingSkipAabbsKHR : return "RayTracingSkipAabbsKHR"; + case PipelineCreateFlagBits::eDeferCompileNV : return "DeferCompileNV"; + case PipelineCreateFlagBits::eCaptureStatisticsKHR : return "CaptureStatisticsKHR"; + case PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR : return "CaptureInternalRepresentationsKHR"; + case PipelineCreateFlagBits::eIndirectBindableNV : return "IndirectBindableNV"; + case PipelineCreateFlagBits::eLibraryKHR : return "LibraryKHR"; + case PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT : return "FailOnPipelineCompileRequiredEXT"; + case PipelineCreateFlagBits::eEarlyReturnOnFailureEXT : return "EarlyReturnOnFailureEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineCreationFeedbackFlagBitsEXT : VkPipelineCreationFeedbackFlagsEXT + { + eValid = VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT, + eApplicationPipelineCacheHit = VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT, + eBasePipelineAcceleration = VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlagBitsEXT value ) + { + switch ( value ) + { + case PipelineCreationFeedbackFlagBitsEXT::eValid : return "Valid"; + case PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit : return "ApplicationPipelineCacheHit"; + case PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration : return "BasePipelineAcceleration"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineExecutableStatisticFormatKHR + { + eBool32 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR, + eInt64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR, + eUint64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR, + eFloat64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineExecutableStatisticFormatKHR value ) + { + switch ( value ) + { + case PipelineExecutableStatisticFormatKHR::eBool32 : return "Bool32"; + case PipelineExecutableStatisticFormatKHR::eInt64 : return "Int64"; + case PipelineExecutableStatisticFormatKHR::eUint64 : return "Uint64"; + case PipelineExecutableStatisticFormatKHR::eFloat64 : return "Float64"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineShaderStageCreateFlagBits : VkPipelineShaderStageCreateFlags + { + eAllowVaryingSubgroupSizeEXT = VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT, + eRequireFullSubgroupsEXT = VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlagBits value ) + { + switch ( value ) + { + case PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT : return "AllowVaryingSubgroupSizeEXT"; + case PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT : return "RequireFullSubgroupsEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PipelineStageFlagBits : VkPipelineStageFlags + { + eTopOfPipe = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, + eDrawIndirect = VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, + eVertexInput = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, + eVertexShader = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, + eTessellationControlShader = VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, + eTessellationEvaluationShader = VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, + eGeometryShader = VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, + eFragmentShader = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + eEarlyFragmentTests = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, + eLateFragmentTests = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, + eColorAttachmentOutput = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + eComputeShader = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + eTransfer = VK_PIPELINE_STAGE_TRANSFER_BIT, + eBottomOfPipe = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, + eHost = VK_PIPELINE_STAGE_HOST_BIT, + eAllGraphics = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, + eAllCommands = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + eTransformFeedbackEXT = VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT, + eConditionalRenderingEXT = VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, + eRayTracingShaderKHR = VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR, + eAccelerationStructureBuildKHR = VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, + eShadingRateImageNV = VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV, + eTaskShaderNV = VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, + eMeshShaderNV = VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, + eFragmentDensityProcessEXT = VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT, + eCommandPreprocessNV = VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV, + eAccelerationStructureBuildNV = VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV, + eFragmentShadingRateAttachmentKHR = VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, + eRayTracingShaderNV = VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( PipelineStageFlagBits value ) + { + switch ( value ) + { + case PipelineStageFlagBits::eTopOfPipe : return "TopOfPipe"; + case PipelineStageFlagBits::eDrawIndirect : return "DrawIndirect"; + case PipelineStageFlagBits::eVertexInput : return "VertexInput"; + case PipelineStageFlagBits::eVertexShader : return "VertexShader"; + case PipelineStageFlagBits::eTessellationControlShader : return "TessellationControlShader"; + case PipelineStageFlagBits::eTessellationEvaluationShader : return "TessellationEvaluationShader"; + case PipelineStageFlagBits::eGeometryShader : return "GeometryShader"; + case PipelineStageFlagBits::eFragmentShader : return "FragmentShader"; + case PipelineStageFlagBits::eEarlyFragmentTests : return "EarlyFragmentTests"; + case PipelineStageFlagBits::eLateFragmentTests : return "LateFragmentTests"; + case PipelineStageFlagBits::eColorAttachmentOutput : return "ColorAttachmentOutput"; + case PipelineStageFlagBits::eComputeShader : return "ComputeShader"; + case PipelineStageFlagBits::eTransfer : return "Transfer"; + case PipelineStageFlagBits::eBottomOfPipe : return "BottomOfPipe"; + case PipelineStageFlagBits::eHost : return "Host"; + case PipelineStageFlagBits::eAllGraphics : return "AllGraphics"; + case PipelineStageFlagBits::eAllCommands : return "AllCommands"; + case PipelineStageFlagBits::eTransformFeedbackEXT : return "TransformFeedbackEXT"; + case PipelineStageFlagBits::eConditionalRenderingEXT : return "ConditionalRenderingEXT"; + case PipelineStageFlagBits::eRayTracingShaderKHR : return "RayTracingShaderKHR"; + case PipelineStageFlagBits::eAccelerationStructureBuildKHR : return "AccelerationStructureBuildKHR"; + case PipelineStageFlagBits::eShadingRateImageNV : return "ShadingRateImageNV"; + case PipelineStageFlagBits::eTaskShaderNV : return "TaskShaderNV"; + case PipelineStageFlagBits::eMeshShaderNV : return "MeshShaderNV"; + case PipelineStageFlagBits::eFragmentDensityProcessEXT : return "FragmentDensityProcessEXT"; + case PipelineStageFlagBits::eCommandPreprocessNV : return "CommandPreprocessNV"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PointClippingBehavior + { + eAllClipPlanes = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES, + eUserClipPlanesOnly = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY + }; + using PointClippingBehaviorKHR = PointClippingBehavior; + + VULKAN_HPP_INLINE std::string to_string( PointClippingBehavior value ) + { + switch ( value ) + { + case PointClippingBehavior::eAllClipPlanes : return "AllClipPlanes"; + case PointClippingBehavior::eUserClipPlanesOnly : return "UserClipPlanesOnly"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PolygonMode + { + eFill = VK_POLYGON_MODE_FILL, + eLine = VK_POLYGON_MODE_LINE, + ePoint = VK_POLYGON_MODE_POINT, + eFillRectangleNV = VK_POLYGON_MODE_FILL_RECTANGLE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( PolygonMode value ) + { + switch ( value ) + { + case PolygonMode::eFill : return "Fill"; + case PolygonMode::eLine : return "Line"; + case PolygonMode::ePoint : return "Point"; + case PolygonMode::eFillRectangleNV : return "FillRectangleNV"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PresentModeKHR + { + eImmediate = VK_PRESENT_MODE_IMMEDIATE_KHR, + eMailbox = VK_PRESENT_MODE_MAILBOX_KHR, + eFifo = VK_PRESENT_MODE_FIFO_KHR, + eFifoRelaxed = VK_PRESENT_MODE_FIFO_RELAXED_KHR, + eSharedDemandRefresh = VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR, + eSharedContinuousRefresh = VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( PresentModeKHR value ) + { + switch ( value ) + { + case PresentModeKHR::eImmediate : return "Immediate"; + case PresentModeKHR::eMailbox : return "Mailbox"; + case PresentModeKHR::eFifo : return "Fifo"; + case PresentModeKHR::eFifoRelaxed : return "FifoRelaxed"; + case PresentModeKHR::eSharedDemandRefresh : return "SharedDemandRefresh"; + case PresentModeKHR::eSharedContinuousRefresh : return "SharedContinuousRefresh"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PrimitiveTopology + { + ePointList = VK_PRIMITIVE_TOPOLOGY_POINT_LIST, + eLineList = VK_PRIMITIVE_TOPOLOGY_LINE_LIST, + eLineStrip = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, + eTriangleList = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, + eTriangleStrip = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, + eTriangleFan = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, + eLineListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, + eLineStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, + eTriangleListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, + eTriangleStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, + ePatchList = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST + }; + + VULKAN_HPP_INLINE std::string to_string( PrimitiveTopology value ) + { + switch ( value ) + { + case PrimitiveTopology::ePointList : return "PointList"; + case PrimitiveTopology::eLineList : return "LineList"; + case PrimitiveTopology::eLineStrip : return "LineStrip"; + case PrimitiveTopology::eTriangleList : return "TriangleList"; + case PrimitiveTopology::eTriangleStrip : return "TriangleStrip"; + case PrimitiveTopology::eTriangleFan : return "TriangleFan"; + case PrimitiveTopology::eLineListWithAdjacency : return "LineListWithAdjacency"; + case PrimitiveTopology::eLineStripWithAdjacency : return "LineStripWithAdjacency"; + case PrimitiveTopology::eTriangleListWithAdjacency : return "TriangleListWithAdjacency"; + case PrimitiveTopology::eTriangleStripWithAdjacency : return "TriangleStripWithAdjacency"; + case PrimitiveTopology::ePatchList : return "PatchList"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class PrivateDataSlotCreateFlagBitsEXT : VkPrivateDataSlotCreateFlagsEXT + {}; + + VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlagBitsEXT ) + { + return "(void)"; + } + + enum class QueryControlFlagBits : VkQueryControlFlags + { + ePrecise = VK_QUERY_CONTROL_PRECISE_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( QueryControlFlagBits value ) + { + switch ( value ) + { + case QueryControlFlagBits::ePrecise : return "Precise"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueryPipelineStatisticFlagBits : VkQueryPipelineStatisticFlags + { + eInputAssemblyVertices = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT, + eInputAssemblyPrimitives = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT, + eVertexShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT, + eGeometryShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT, + eGeometryShaderPrimitives = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT, + eClippingInvocations = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT, + eClippingPrimitives = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT, + eFragmentShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT, + eTessellationControlShaderPatches = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT, + eTessellationEvaluationShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT, + eComputeShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlagBits value ) + { + switch ( value ) + { + case QueryPipelineStatisticFlagBits::eInputAssemblyVertices : return "InputAssemblyVertices"; + case QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives : return "InputAssemblyPrimitives"; + case QueryPipelineStatisticFlagBits::eVertexShaderInvocations : return "VertexShaderInvocations"; + case QueryPipelineStatisticFlagBits::eGeometryShaderInvocations : return "GeometryShaderInvocations"; + case QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives : return "GeometryShaderPrimitives"; + case QueryPipelineStatisticFlagBits::eClippingInvocations : return "ClippingInvocations"; + case QueryPipelineStatisticFlagBits::eClippingPrimitives : return "ClippingPrimitives"; + case QueryPipelineStatisticFlagBits::eFragmentShaderInvocations : return "FragmentShaderInvocations"; + case QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches : return "TessellationControlShaderPatches"; + case QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations : return "TessellationEvaluationShaderInvocations"; + case QueryPipelineStatisticFlagBits::eComputeShaderInvocations : return "ComputeShaderInvocations"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueryPoolCreateFlagBits + {}; + + VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlagBits ) + { + return "(void)"; + } + + enum class QueryPoolSamplingModeINTEL + { + eManual = VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL + }; + + VULKAN_HPP_INLINE std::string to_string( QueryPoolSamplingModeINTEL value ) + { + switch ( value ) + { + case QueryPoolSamplingModeINTEL::eManual : return "Manual"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueryResultFlagBits : VkQueryResultFlags + { + e64 = VK_QUERY_RESULT_64_BIT, + eWait = VK_QUERY_RESULT_WAIT_BIT, + eWithAvailability = VK_QUERY_RESULT_WITH_AVAILABILITY_BIT, + ePartial = VK_QUERY_RESULT_PARTIAL_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( QueryResultFlagBits value ) + { + switch ( value ) + { + case QueryResultFlagBits::e64 : return "64"; + case QueryResultFlagBits::eWait : return "Wait"; + case QueryResultFlagBits::eWithAvailability : return "WithAvailability"; + case QueryResultFlagBits::ePartial : return "Partial"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueryType + { + eOcclusion = VK_QUERY_TYPE_OCCLUSION, + ePipelineStatistics = VK_QUERY_TYPE_PIPELINE_STATISTICS, + eTimestamp = VK_QUERY_TYPE_TIMESTAMP, + eTransformFeedbackStreamEXT = VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT, + ePerformanceQueryKHR = VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, + eAccelerationStructureCompactedSizeKHR = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR, + eAccelerationStructureSerializationSizeKHR = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR, + ePerformanceQueryINTEL = VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL, + eAccelerationStructureCompactedSizeNV = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( QueryType value ) + { + switch ( value ) + { + case QueryType::eOcclusion : return "Occlusion"; + case QueryType::ePipelineStatistics : return "PipelineStatistics"; + case QueryType::eTimestamp : return "Timestamp"; + case QueryType::eTransformFeedbackStreamEXT : return "TransformFeedbackStreamEXT"; + case QueryType::ePerformanceQueryKHR : return "PerformanceQueryKHR"; + case QueryType::eAccelerationStructureCompactedSizeKHR : return "AccelerationStructureCompactedSizeKHR"; + case QueryType::eAccelerationStructureSerializationSizeKHR : return "AccelerationStructureSerializationSizeKHR"; + case QueryType::ePerformanceQueryINTEL : return "PerformanceQueryINTEL"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueueFlagBits : VkQueueFlags + { + eGraphics = VK_QUEUE_GRAPHICS_BIT, + eCompute = VK_QUEUE_COMPUTE_BIT, + eTransfer = VK_QUEUE_TRANSFER_BIT, + eSparseBinding = VK_QUEUE_SPARSE_BINDING_BIT, + eProtected = VK_QUEUE_PROTECTED_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( QueueFlagBits value ) + { + switch ( value ) + { + case QueueFlagBits::eGraphics : return "Graphics"; + case QueueFlagBits::eCompute : return "Compute"; + case QueueFlagBits::eTransfer : return "Transfer"; + case QueueFlagBits::eSparseBinding : return "SparseBinding"; + case QueueFlagBits::eProtected : return "Protected"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class QueueGlobalPriorityEXT + { + eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT, + eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT, + eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT, + eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( QueueGlobalPriorityEXT value ) + { + switch ( value ) + { + case QueueGlobalPriorityEXT::eLow : return "Low"; + case QueueGlobalPriorityEXT::eMedium : return "Medium"; + case QueueGlobalPriorityEXT::eHigh : return "High"; + case QueueGlobalPriorityEXT::eRealtime : return "Realtime"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class RasterizationOrderAMD + { + eStrict = VK_RASTERIZATION_ORDER_STRICT_AMD, + eRelaxed = VK_RASTERIZATION_ORDER_RELAXED_AMD + }; + + VULKAN_HPP_INLINE std::string to_string( RasterizationOrderAMD value ) + { + switch ( value ) + { + case RasterizationOrderAMD::eStrict : return "Strict"; + case RasterizationOrderAMD::eRelaxed : return "Relaxed"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class RayTracingShaderGroupTypeKHR + { + eGeneral = VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR, + eTrianglesHitGroup = VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR, + eProceduralHitGroup = VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR + }; + using RayTracingShaderGroupTypeNV = RayTracingShaderGroupTypeKHR; + + VULKAN_HPP_INLINE std::string to_string( RayTracingShaderGroupTypeKHR value ) + { + switch ( value ) + { + case RayTracingShaderGroupTypeKHR::eGeneral : return "General"; + case RayTracingShaderGroupTypeKHR::eTrianglesHitGroup : return "TrianglesHitGroup"; + case RayTracingShaderGroupTypeKHR::eProceduralHitGroup : return "ProceduralHitGroup"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class RenderPassCreateFlagBits : VkRenderPassCreateFlags + { + eTransformQCOM = VK_RENDER_PASS_CREATE_TRANSFORM_BIT_QCOM + }; + + VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlagBits value ) + { + switch ( value ) + { + case RenderPassCreateFlagBits::eTransformQCOM : return "TransformQCOM"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ResolveModeFlagBits : VkResolveModeFlags + { + eNone = VK_RESOLVE_MODE_NONE, + eSampleZero = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT, + eAverage = VK_RESOLVE_MODE_AVERAGE_BIT, + eMin = VK_RESOLVE_MODE_MIN_BIT, + eMax = VK_RESOLVE_MODE_MAX_BIT + }; + using ResolveModeFlagBitsKHR = ResolveModeFlagBits; + + VULKAN_HPP_INLINE std::string to_string( ResolveModeFlagBits value ) + { + switch ( value ) + { + case ResolveModeFlagBits::eNone : return "None"; + case ResolveModeFlagBits::eSampleZero : return "SampleZero"; + case ResolveModeFlagBits::eAverage : return "Average"; + case ResolveModeFlagBits::eMin : return "Min"; + case ResolveModeFlagBits::eMax : return "Max"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class Result + { + eSuccess = VK_SUCCESS, + eNotReady = VK_NOT_READY, + eTimeout = VK_TIMEOUT, + eEventSet = VK_EVENT_SET, + eEventReset = VK_EVENT_RESET, + eIncomplete = VK_INCOMPLETE, + eErrorOutOfHostMemory = VK_ERROR_OUT_OF_HOST_MEMORY, + eErrorOutOfDeviceMemory = VK_ERROR_OUT_OF_DEVICE_MEMORY, + eErrorInitializationFailed = VK_ERROR_INITIALIZATION_FAILED, + eErrorDeviceLost = VK_ERROR_DEVICE_LOST, + eErrorMemoryMapFailed = VK_ERROR_MEMORY_MAP_FAILED, + eErrorLayerNotPresent = VK_ERROR_LAYER_NOT_PRESENT, + eErrorExtensionNotPresent = VK_ERROR_EXTENSION_NOT_PRESENT, + eErrorFeatureNotPresent = VK_ERROR_FEATURE_NOT_PRESENT, + eErrorIncompatibleDriver = VK_ERROR_INCOMPATIBLE_DRIVER, + eErrorTooManyObjects = VK_ERROR_TOO_MANY_OBJECTS, + eErrorFormatNotSupported = VK_ERROR_FORMAT_NOT_SUPPORTED, + eErrorFragmentedPool = VK_ERROR_FRAGMENTED_POOL, + eErrorUnknown = VK_ERROR_UNKNOWN, + eErrorOutOfPoolMemory = VK_ERROR_OUT_OF_POOL_MEMORY, + eErrorInvalidExternalHandle = VK_ERROR_INVALID_EXTERNAL_HANDLE, + eErrorFragmentation = VK_ERROR_FRAGMENTATION, + eErrorInvalidOpaqueCaptureAddress = VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS, + eErrorSurfaceLostKHR = VK_ERROR_SURFACE_LOST_KHR, + eErrorNativeWindowInUseKHR = VK_ERROR_NATIVE_WINDOW_IN_USE_KHR, + eSuboptimalKHR = VK_SUBOPTIMAL_KHR, + eErrorOutOfDateKHR = VK_ERROR_OUT_OF_DATE_KHR, + eErrorIncompatibleDisplayKHR = VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, + eErrorValidationFailedEXT = VK_ERROR_VALIDATION_FAILED_EXT, + eErrorInvalidShaderNV = VK_ERROR_INVALID_SHADER_NV, + eErrorIncompatibleVersionKHR = VK_ERROR_INCOMPATIBLE_VERSION_KHR, + eErrorInvalidDrmFormatModifierPlaneLayoutEXT = VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT, + eErrorNotPermittedEXT = VK_ERROR_NOT_PERMITTED_EXT, + eErrorFullScreenExclusiveModeLostEXT = VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT, + eThreadIdleKHR = VK_THREAD_IDLE_KHR, + eThreadDoneKHR = VK_THREAD_DONE_KHR, + eOperationDeferredKHR = VK_OPERATION_DEFERRED_KHR, + eOperationNotDeferredKHR = VK_OPERATION_NOT_DEFERRED_KHR, + ePipelineCompileRequiredEXT = VK_PIPELINE_COMPILE_REQUIRED_EXT, + eErrorFragmentationEXT = VK_ERROR_FRAGMENTATION_EXT, + eErrorInvalidDeviceAddressEXT = VK_ERROR_INVALID_DEVICE_ADDRESS_EXT, + eErrorInvalidExternalHandleKHR = VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR, + eErrorInvalidOpaqueCaptureAddressKHR = VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR, + eErrorOutOfPoolMemoryKHR = VK_ERROR_OUT_OF_POOL_MEMORY_KHR, + eErrorPipelineCompileRequiredEXT = VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( Result value ) + { + switch ( value ) + { + case Result::eSuccess : return "Success"; + case Result::eNotReady : return "NotReady"; + case Result::eTimeout : return "Timeout"; + case Result::eEventSet : return "EventSet"; + case Result::eEventReset : return "EventReset"; + case Result::eIncomplete : return "Incomplete"; + case Result::eErrorOutOfHostMemory : return "ErrorOutOfHostMemory"; + case Result::eErrorOutOfDeviceMemory : return "ErrorOutOfDeviceMemory"; + case Result::eErrorInitializationFailed : return "ErrorInitializationFailed"; + case Result::eErrorDeviceLost : return "ErrorDeviceLost"; + case Result::eErrorMemoryMapFailed : return "ErrorMemoryMapFailed"; + case Result::eErrorLayerNotPresent : return "ErrorLayerNotPresent"; + case Result::eErrorExtensionNotPresent : return "ErrorExtensionNotPresent"; + case Result::eErrorFeatureNotPresent : return "ErrorFeatureNotPresent"; + case Result::eErrorIncompatibleDriver : return "ErrorIncompatibleDriver"; + case Result::eErrorTooManyObjects : return "ErrorTooManyObjects"; + case Result::eErrorFormatNotSupported : return "ErrorFormatNotSupported"; + case Result::eErrorFragmentedPool : return "ErrorFragmentedPool"; + case Result::eErrorUnknown : return "ErrorUnknown"; + case Result::eErrorOutOfPoolMemory : return "ErrorOutOfPoolMemory"; + case Result::eErrorInvalidExternalHandle : return "ErrorInvalidExternalHandle"; + case Result::eErrorFragmentation : return "ErrorFragmentation"; + case Result::eErrorInvalidOpaqueCaptureAddress : return "ErrorInvalidOpaqueCaptureAddress"; + case Result::eErrorSurfaceLostKHR : return "ErrorSurfaceLostKHR"; + case Result::eErrorNativeWindowInUseKHR : return "ErrorNativeWindowInUseKHR"; + case Result::eSuboptimalKHR : return "SuboptimalKHR"; + case Result::eErrorOutOfDateKHR : return "ErrorOutOfDateKHR"; + case Result::eErrorIncompatibleDisplayKHR : return "ErrorIncompatibleDisplayKHR"; + case Result::eErrorValidationFailedEXT : return "ErrorValidationFailedEXT"; + case Result::eErrorInvalidShaderNV : return "ErrorInvalidShaderNV"; + case Result::eErrorIncompatibleVersionKHR : return "ErrorIncompatibleVersionKHR"; + case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT : return "ErrorInvalidDrmFormatModifierPlaneLayoutEXT"; + case Result::eErrorNotPermittedEXT : return "ErrorNotPermittedEXT"; + case Result::eErrorFullScreenExclusiveModeLostEXT : return "ErrorFullScreenExclusiveModeLostEXT"; + case Result::eThreadIdleKHR : return "ThreadIdleKHR"; + case Result::eThreadDoneKHR : return "ThreadDoneKHR"; + case Result::eOperationDeferredKHR : return "OperationDeferredKHR"; + case Result::eOperationNotDeferredKHR : return "OperationNotDeferredKHR"; + case Result::ePipelineCompileRequiredEXT : return "PipelineCompileRequiredEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SampleCountFlagBits : VkSampleCountFlags + { + e1 = VK_SAMPLE_COUNT_1_BIT, + e2 = VK_SAMPLE_COUNT_2_BIT, + e4 = VK_SAMPLE_COUNT_4_BIT, + e8 = VK_SAMPLE_COUNT_8_BIT, + e16 = VK_SAMPLE_COUNT_16_BIT, + e32 = VK_SAMPLE_COUNT_32_BIT, + e64 = VK_SAMPLE_COUNT_64_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( SampleCountFlagBits value ) + { + switch ( value ) + { + case SampleCountFlagBits::e1 : return "1"; + case SampleCountFlagBits::e2 : return "2"; + case SampleCountFlagBits::e4 : return "4"; + case SampleCountFlagBits::e8 : return "8"; + case SampleCountFlagBits::e16 : return "16"; + case SampleCountFlagBits::e32 : return "32"; + case SampleCountFlagBits::e64 : return "64"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerAddressMode + { + eRepeat = VK_SAMPLER_ADDRESS_MODE_REPEAT, + eMirroredRepeat = VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, + eClampToEdge = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, + eClampToBorder = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, + eMirrorClampToEdge = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE, + eMirrorClampToEdgeKHR = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( SamplerAddressMode value ) + { + switch ( value ) + { + case SamplerAddressMode::eRepeat : return "Repeat"; + case SamplerAddressMode::eMirroredRepeat : return "MirroredRepeat"; + case SamplerAddressMode::eClampToEdge : return "ClampToEdge"; + case SamplerAddressMode::eClampToBorder : return "ClampToBorder"; + case SamplerAddressMode::eMirrorClampToEdge : return "MirrorClampToEdge"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerCreateFlagBits : VkSamplerCreateFlags + { + eSubsampledEXT = VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT, + eSubsampledCoarseReconstructionEXT = VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlagBits value ) + { + switch ( value ) + { + case SamplerCreateFlagBits::eSubsampledEXT : return "SubsampledEXT"; + case SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT : return "SubsampledCoarseReconstructionEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerMipmapMode + { + eNearest = VK_SAMPLER_MIPMAP_MODE_NEAREST, + eLinear = VK_SAMPLER_MIPMAP_MODE_LINEAR + }; + + VULKAN_HPP_INLINE std::string to_string( SamplerMipmapMode value ) + { + switch ( value ) + { + case SamplerMipmapMode::eNearest : return "Nearest"; + case SamplerMipmapMode::eLinear : return "Linear"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerReductionMode + { + eWeightedAverage = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE, + eMin = VK_SAMPLER_REDUCTION_MODE_MIN, + eMax = VK_SAMPLER_REDUCTION_MODE_MAX + }; + using SamplerReductionModeEXT = SamplerReductionMode; + + VULKAN_HPP_INLINE std::string to_string( SamplerReductionMode value ) + { + switch ( value ) + { + case SamplerReductionMode::eWeightedAverage : return "WeightedAverage"; + case SamplerReductionMode::eMin : return "Min"; + case SamplerReductionMode::eMax : return "Max"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerYcbcrModelConversion + { + eRgbIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, + eYcbcrIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY, + eYcbcr709 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709, + eYcbcr601 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601, + eYcbcr2020 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 + }; + using SamplerYcbcrModelConversionKHR = SamplerYcbcrModelConversion; + + VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrModelConversion value ) + { + switch ( value ) + { + case SamplerYcbcrModelConversion::eRgbIdentity : return "RgbIdentity"; + case SamplerYcbcrModelConversion::eYcbcrIdentity : return "YcbcrIdentity"; + case SamplerYcbcrModelConversion::eYcbcr709 : return "Ycbcr709"; + case SamplerYcbcrModelConversion::eYcbcr601 : return "Ycbcr601"; + case SamplerYcbcrModelConversion::eYcbcr2020 : return "Ycbcr2020"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SamplerYcbcrRange + { + eItuFull = VK_SAMPLER_YCBCR_RANGE_ITU_FULL, + eItuNarrow = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW + }; + using SamplerYcbcrRangeKHR = SamplerYcbcrRange; + + VULKAN_HPP_INLINE std::string to_string( SamplerYcbcrRange value ) + { + switch ( value ) + { + case SamplerYcbcrRange::eItuFull : return "ItuFull"; + case SamplerYcbcrRange::eItuNarrow : return "ItuNarrow"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ScopeNV + { + eDevice = VK_SCOPE_DEVICE_NV, + eWorkgroup = VK_SCOPE_WORKGROUP_NV, + eSubgroup = VK_SCOPE_SUBGROUP_NV, + eQueueFamily = VK_SCOPE_QUEUE_FAMILY_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ScopeNV value ) + { + switch ( value ) + { + case ScopeNV::eDevice : return "Device"; + case ScopeNV::eWorkgroup : return "Workgroup"; + case ScopeNV::eSubgroup : return "Subgroup"; + case ScopeNV::eQueueFamily : return "QueueFamily"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SemaphoreCreateFlagBits : VkSemaphoreCreateFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlagBits ) + { + return "(void)"; + } + + enum class SemaphoreImportFlagBits : VkSemaphoreImportFlags + { + eTemporary = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT + }; + using SemaphoreImportFlagBitsKHR = SemaphoreImportFlagBits; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlagBits value ) + { + switch ( value ) + { + case SemaphoreImportFlagBits::eTemporary : return "Temporary"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SemaphoreType + { + eBinary = VK_SEMAPHORE_TYPE_BINARY, + eTimeline = VK_SEMAPHORE_TYPE_TIMELINE + }; + using SemaphoreTypeKHR = SemaphoreType; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreType value ) + { + switch ( value ) + { + case SemaphoreType::eBinary : return "Binary"; + case SemaphoreType::eTimeline : return "Timeline"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SemaphoreWaitFlagBits : VkSemaphoreWaitFlags + { + eAny = VK_SEMAPHORE_WAIT_ANY_BIT + }; + using SemaphoreWaitFlagBitsKHR = SemaphoreWaitFlagBits; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlagBits value ) + { + switch ( value ) + { + case SemaphoreWaitFlagBits::eAny : return "Any"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ShaderCorePropertiesFlagBitsAMD : VkShaderCorePropertiesFlagsAMD + {}; + + VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagBitsAMD ) + { + return "(void)"; + } + + enum class ShaderFloatControlsIndependence + { + e32BitOnly = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY, + eAll = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL, + eNone = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE + }; + using ShaderFloatControlsIndependenceKHR = ShaderFloatControlsIndependence; + + VULKAN_HPP_INLINE std::string to_string( ShaderFloatControlsIndependence value ) + { + switch ( value ) + { + case ShaderFloatControlsIndependence::e32BitOnly : return "32BitOnly"; + case ShaderFloatControlsIndependence::eAll : return "All"; + case ShaderFloatControlsIndependence::eNone : return "None"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ShaderInfoTypeAMD + { + eStatistics = VK_SHADER_INFO_TYPE_STATISTICS_AMD, + eBinary = VK_SHADER_INFO_TYPE_BINARY_AMD, + eDisassembly = VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD + }; + + VULKAN_HPP_INLINE std::string to_string( ShaderInfoTypeAMD value ) + { + switch ( value ) + { + case ShaderInfoTypeAMD::eStatistics : return "Statistics"; + case ShaderInfoTypeAMD::eBinary : return "Binary"; + case ShaderInfoTypeAMD::eDisassembly : return "Disassembly"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ShaderModuleCreateFlagBits : VkShaderModuleCreateFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlagBits ) + { + return "(void)"; + } + + enum class ShaderStageFlagBits : VkShaderStageFlags + { + eVertex = VK_SHADER_STAGE_VERTEX_BIT, + eTessellationControl = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, + eTessellationEvaluation = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, + eGeometry = VK_SHADER_STAGE_GEOMETRY_BIT, + eFragment = VK_SHADER_STAGE_FRAGMENT_BIT, + eCompute = VK_SHADER_STAGE_COMPUTE_BIT, + eAllGraphics = VK_SHADER_STAGE_ALL_GRAPHICS, + eAll = VK_SHADER_STAGE_ALL, + eRaygenKHR = VK_SHADER_STAGE_RAYGEN_BIT_KHR, + eAnyHitKHR = VK_SHADER_STAGE_ANY_HIT_BIT_KHR, + eClosestHitKHR = VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, + eMissKHR = VK_SHADER_STAGE_MISS_BIT_KHR, + eIntersectionKHR = VK_SHADER_STAGE_INTERSECTION_BIT_KHR, + eCallableKHR = VK_SHADER_STAGE_CALLABLE_BIT_KHR, + eTaskNV = VK_SHADER_STAGE_TASK_BIT_NV, + eMeshNV = VK_SHADER_STAGE_MESH_BIT_NV, + eAnyHitNV = VK_SHADER_STAGE_ANY_HIT_BIT_NV, + eCallableNV = VK_SHADER_STAGE_CALLABLE_BIT_NV, + eClosestHitNV = VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV, + eIntersectionNV = VK_SHADER_STAGE_INTERSECTION_BIT_NV, + eMissNV = VK_SHADER_STAGE_MISS_BIT_NV, + eRaygenNV = VK_SHADER_STAGE_RAYGEN_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ShaderStageFlagBits value ) + { + switch ( value ) + { + case ShaderStageFlagBits::eVertex : return "Vertex"; + case ShaderStageFlagBits::eTessellationControl : return "TessellationControl"; + case ShaderStageFlagBits::eTessellationEvaluation : return "TessellationEvaluation"; + case ShaderStageFlagBits::eGeometry : return "Geometry"; + case ShaderStageFlagBits::eFragment : return "Fragment"; + case ShaderStageFlagBits::eCompute : return "Compute"; + case ShaderStageFlagBits::eAllGraphics : return "AllGraphics"; + case ShaderStageFlagBits::eAll : return "All"; + case ShaderStageFlagBits::eRaygenKHR : return "RaygenKHR"; + case ShaderStageFlagBits::eAnyHitKHR : return "AnyHitKHR"; + case ShaderStageFlagBits::eClosestHitKHR : return "ClosestHitKHR"; + case ShaderStageFlagBits::eMissKHR : return "MissKHR"; + case ShaderStageFlagBits::eIntersectionKHR : return "IntersectionKHR"; + case ShaderStageFlagBits::eCallableKHR : return "CallableKHR"; + case ShaderStageFlagBits::eTaskNV : return "TaskNV"; + case ShaderStageFlagBits::eMeshNV : return "MeshNV"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ShadingRatePaletteEntryNV + { + eNoInvocations = VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV, + e16InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV, + e8InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV, + e4InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV, + e2InvocationsPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV, + e1InvocationPerPixel = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV, + e1InvocationPer2X1Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV, + e1InvocationPer1X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV, + e1InvocationPer2X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV, + e1InvocationPer4X2Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV, + e1InvocationPer2X4Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV, + e1InvocationPer4X4Pixels = VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ShadingRatePaletteEntryNV value ) + { + switch ( value ) + { + case ShadingRatePaletteEntryNV::eNoInvocations : return "NoInvocations"; + case ShadingRatePaletteEntryNV::e16InvocationsPerPixel : return "16InvocationsPerPixel"; + case ShadingRatePaletteEntryNV::e8InvocationsPerPixel : return "8InvocationsPerPixel"; + case ShadingRatePaletteEntryNV::e4InvocationsPerPixel : return "4InvocationsPerPixel"; + case ShadingRatePaletteEntryNV::e2InvocationsPerPixel : return "2InvocationsPerPixel"; + case ShadingRatePaletteEntryNV::e1InvocationPerPixel : return "1InvocationPerPixel"; + case ShadingRatePaletteEntryNV::e1InvocationPer2X1Pixels : return "1InvocationPer2X1Pixels"; + case ShadingRatePaletteEntryNV::e1InvocationPer1X2Pixels : return "1InvocationPer1X2Pixels"; + case ShadingRatePaletteEntryNV::e1InvocationPer2X2Pixels : return "1InvocationPer2X2Pixels"; + case ShadingRatePaletteEntryNV::e1InvocationPer4X2Pixels : return "1InvocationPer4X2Pixels"; + case ShadingRatePaletteEntryNV::e1InvocationPer2X4Pixels : return "1InvocationPer2X4Pixels"; + case ShadingRatePaletteEntryNV::e1InvocationPer4X4Pixels : return "1InvocationPer4X4Pixels"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SharingMode + { + eExclusive = VK_SHARING_MODE_EXCLUSIVE, + eConcurrent = VK_SHARING_MODE_CONCURRENT + }; + + VULKAN_HPP_INLINE std::string to_string( SharingMode value ) + { + switch ( value ) + { + case SharingMode::eExclusive : return "Exclusive"; + case SharingMode::eConcurrent : return "Concurrent"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SparseImageFormatFlagBits : VkSparseImageFormatFlags + { + eSingleMiptail = VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, + eAlignedMipSize = VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT, + eNonstandardBlockSize = VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlagBits value ) + { + switch ( value ) + { + case SparseImageFormatFlagBits::eSingleMiptail : return "SingleMiptail"; + case SparseImageFormatFlagBits::eAlignedMipSize : return "AlignedMipSize"; + case SparseImageFormatFlagBits::eNonstandardBlockSize : return "NonstandardBlockSize"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SparseMemoryBindFlagBits : VkSparseMemoryBindFlags + { + eMetadata = VK_SPARSE_MEMORY_BIND_METADATA_BIT + }; + + VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlagBits value ) + { + switch ( value ) + { + case SparseMemoryBindFlagBits::eMetadata : return "Metadata"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class StencilFaceFlagBits : VkStencilFaceFlags + { + eFront = VK_STENCIL_FACE_FRONT_BIT, + eBack = VK_STENCIL_FACE_BACK_BIT, + eFrontAndBack = VK_STENCIL_FACE_FRONT_AND_BACK, + eVkStencilFrontAndBack = VK_STENCIL_FRONT_AND_BACK + }; + + VULKAN_HPP_INLINE std::string to_string( StencilFaceFlagBits value ) + { + switch ( value ) + { + case StencilFaceFlagBits::eFront : return "Front"; + case StencilFaceFlagBits::eBack : return "Back"; + case StencilFaceFlagBits::eFrontAndBack : return "FrontAndBack"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class StencilOp + { + eKeep = VK_STENCIL_OP_KEEP, + eZero = VK_STENCIL_OP_ZERO, + eReplace = VK_STENCIL_OP_REPLACE, + eIncrementAndClamp = VK_STENCIL_OP_INCREMENT_AND_CLAMP, + eDecrementAndClamp = VK_STENCIL_OP_DECREMENT_AND_CLAMP, + eInvert = VK_STENCIL_OP_INVERT, + eIncrementAndWrap = VK_STENCIL_OP_INCREMENT_AND_WRAP, + eDecrementAndWrap = VK_STENCIL_OP_DECREMENT_AND_WRAP + }; + + VULKAN_HPP_INLINE std::string to_string( StencilOp value ) + { + switch ( value ) + { + case StencilOp::eKeep : return "Keep"; + case StencilOp::eZero : return "Zero"; + case StencilOp::eReplace : return "Replace"; + case StencilOp::eIncrementAndClamp : return "IncrementAndClamp"; + case StencilOp::eDecrementAndClamp : return "DecrementAndClamp"; + case StencilOp::eInvert : return "Invert"; + case StencilOp::eIncrementAndWrap : return "IncrementAndWrap"; + case StencilOp::eDecrementAndWrap : return "DecrementAndWrap"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class StructureType + { + eApplicationInfo = VK_STRUCTURE_TYPE_APPLICATION_INFO, + eInstanceCreateInfo = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + eDeviceQueueCreateInfo = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, + eDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, + eSubmitInfo = VK_STRUCTURE_TYPE_SUBMIT_INFO, + eMemoryAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, + eMappedMemoryRange = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE, + eBindSparseInfo = VK_STRUCTURE_TYPE_BIND_SPARSE_INFO, + eFenceCreateInfo = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO, + eSemaphoreCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, + eEventCreateInfo = VK_STRUCTURE_TYPE_EVENT_CREATE_INFO, + eQueryPoolCreateInfo = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO, + eBufferCreateInfo = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO, + eBufferViewCreateInfo = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO, + eImageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO, + eImageViewCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO, + eShaderModuleCreateInfo = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO, + ePipelineCacheCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO, + ePipelineShaderStageCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, + ePipelineVertexInputStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO, + ePipelineInputAssemblyStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO, + ePipelineTessellationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO, + ePipelineViewportStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO, + ePipelineRasterizationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO, + ePipelineMultisampleStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO, + ePipelineDepthStencilStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO, + ePipelineColorBlendStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO, + ePipelineDynamicStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO, + eGraphicsPipelineCreateInfo = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO, + eComputePipelineCreateInfo = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO, + ePipelineLayoutCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO, + eSamplerCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, + eDescriptorSetLayoutCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, + eDescriptorPoolCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO, + eDescriptorSetAllocateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO, + eWriteDescriptorSet = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET, + eCopyDescriptorSet = VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET, + eFramebufferCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO, + eRenderPassCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO, + eCommandPoolCreateInfo = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, + eCommandBufferAllocateInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO, + eCommandBufferInheritanceInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO, + eCommandBufferBeginInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, + eRenderPassBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO, + eBufferMemoryBarrier = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER, + eImageMemoryBarrier = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, + eMemoryBarrier = VK_STRUCTURE_TYPE_MEMORY_BARRIER, + eLoaderInstanceCreateInfo = VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO, + eLoaderDeviceCreateInfo = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO, + ePhysicalDeviceSubgroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES, + eBindBufferMemoryInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO, + eBindImageMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO, + ePhysicalDevice16BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES, + eMemoryDedicatedRequirements = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS, + eMemoryDedicatedAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO, + eMemoryAllocateFlagsInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO, + eDeviceGroupRenderPassBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO, + eDeviceGroupCommandBufferBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO, + eDeviceGroupSubmitInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO, + eDeviceGroupBindSparseInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO, + eBindBufferMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO, + eBindImageMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO, + ePhysicalDeviceGroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES, + eDeviceGroupDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO, + eBufferMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2, + eImageMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2, + eImageSparseMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2, + eMemoryRequirements2 = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2, + eSparseImageMemoryRequirements2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2, + ePhysicalDeviceFeatures2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, + ePhysicalDeviceProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2, + eFormatProperties2 = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2, + eImageFormatProperties2 = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2, + ePhysicalDeviceImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2, + eQueueFamilyProperties2 = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2, + ePhysicalDeviceMemoryProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2, + eSparseImageFormatProperties2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2, + ePhysicalDeviceSparseImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2, + ePhysicalDevicePointClippingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES, + eRenderPassInputAttachmentAspectCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO, + eImageViewUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO, + ePipelineTessellationDomainOriginStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO, + eRenderPassMultiviewCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO, + ePhysicalDeviceMultiviewFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES, + ePhysicalDeviceMultiviewProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES, + ePhysicalDeviceVariablePointersFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, + eProtectedSubmitInfo = VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO, + ePhysicalDeviceProtectedMemoryFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES, + ePhysicalDeviceProtectedMemoryProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES, + eDeviceQueueInfo2 = VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2, + eSamplerYcbcrConversionCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO, + eSamplerYcbcrConversionInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO, + eBindImagePlaneMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO, + eImagePlaneMemoryRequirementsInfo = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO, + ePhysicalDeviceSamplerYcbcrConversionFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES, + eSamplerYcbcrConversionImageFormatProperties = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES, + eDescriptorUpdateTemplateCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO, + ePhysicalDeviceExternalImageFormatInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO, + eExternalImageFormatProperties = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, + ePhysicalDeviceExternalBufferInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO, + eExternalBufferProperties = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES, + ePhysicalDeviceIdProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES, + eExternalMemoryBufferCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO, + eExternalMemoryImageCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO, + eExportMemoryAllocateInfo = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO, + ePhysicalDeviceExternalFenceInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO, + eExternalFenceProperties = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES, + eExportFenceCreateInfo = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO, + eExportSemaphoreCreateInfo = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO, + ePhysicalDeviceExternalSemaphoreInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO, + eExternalSemaphoreProperties = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES, + ePhysicalDeviceMaintenance3Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES, + eDescriptorSetLayoutSupport = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT, + ePhysicalDeviceShaderDrawParametersFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, + ePhysicalDeviceVulkan11Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES, + ePhysicalDeviceVulkan11Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES, + ePhysicalDeviceVulkan12Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, + ePhysicalDeviceVulkan12Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES, + eImageFormatListCreateInfo = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO, + eAttachmentDescription2 = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2, + eAttachmentReference2 = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2, + eSubpassDescription2 = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2, + eSubpassDependency2 = VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2, + eRenderPassCreateInfo2 = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2, + eSubpassBeginInfo = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO, + eSubpassEndInfo = VK_STRUCTURE_TYPE_SUBPASS_END_INFO, + ePhysicalDevice8BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES, + ePhysicalDeviceDriverProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES, + ePhysicalDeviceShaderAtomicInt64Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES, + ePhysicalDeviceShaderFloat16Int8Features = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES, + ePhysicalDeviceFloatControlsProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES, + eDescriptorSetLayoutBindingFlagsCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO, + ePhysicalDeviceDescriptorIndexingFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES, + ePhysicalDeviceDescriptorIndexingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES, + eDescriptorSetVariableDescriptorCountAllocateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO, + eDescriptorSetVariableDescriptorCountLayoutSupport = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT, + ePhysicalDeviceDepthStencilResolveProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES, + eSubpassDescriptionDepthStencilResolve = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE, + ePhysicalDeviceScalarBlockLayoutFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES, + eImageStencilUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO, + ePhysicalDeviceSamplerFilterMinmaxProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES, + eSamplerReductionModeCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO, + ePhysicalDeviceVulkanMemoryModelFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES, + ePhysicalDeviceImagelessFramebufferFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES, + eFramebufferAttachmentsCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO, + eFramebufferAttachmentImageInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO, + eRenderPassAttachmentBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO, + ePhysicalDeviceUniformBufferStandardLayoutFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES, + ePhysicalDeviceShaderSubgroupExtendedTypesFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES, + ePhysicalDeviceSeparateDepthStencilLayoutsFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES, + eAttachmentReferenceStencilLayout = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT, + eAttachmentDescriptionStencilLayout = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT, + ePhysicalDeviceHostQueryResetFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES, + ePhysicalDeviceTimelineSemaphoreFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES, + ePhysicalDeviceTimelineSemaphoreProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES, + eSemaphoreTypeCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO, + eTimelineSemaphoreSubmitInfo = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO, + eSemaphoreWaitInfo = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO, + eSemaphoreSignalInfo = VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO, + ePhysicalDeviceBufferDeviceAddressFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES, + eBufferDeviceAddressInfo = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO, + eBufferOpaqueCaptureAddressCreateInfo = VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO, + eMemoryOpaqueCaptureAddressAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO, + eDeviceMemoryOpaqueCaptureAddressInfo = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO, + eSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, + ePresentInfoKHR = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, + eDeviceGroupPresentCapabilitiesKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR, + eImageSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR, + eBindImageMemorySwapchainInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR, + eAcquireNextImageInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR, + eDeviceGroupPresentInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR, + eDeviceGroupSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR, + eDisplayModeCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR, + eDisplaySurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR, + eDisplayPresentInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR, + eXlibSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR, + eXcbSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR, + eWaylandSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR, + eAndroidSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR, + eWin32SurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR, + eDebugReportCallbackCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT, + ePipelineRasterizationStateRasterizationOrderAMD = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD, + eDebugMarkerObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT, + eDebugMarkerObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT, + eDebugMarkerMarkerInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT, + eDedicatedAllocationImageCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV, + eDedicatedAllocationBufferCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV, + eDedicatedAllocationMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV, + ePhysicalDeviceTransformFeedbackFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT, + ePhysicalDeviceTransformFeedbackPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT, + ePipelineRasterizationStateStreamCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT, + eImageViewHandleInfoNVX = VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX, + eImageViewAddressPropertiesNVX = VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX, + eTextureLodGatherFormatPropertiesAMD = VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD, + eStreamDescriptorSurfaceCreateInfoGGP = VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP, + ePhysicalDeviceCornerSampledImageFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV, + eExternalMemoryImageCreateInfoNV = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV, + eExportMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV, + eImportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV, + eExportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV, + eWin32KeyedMutexAcquireReleaseInfoNV = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV, + eValidationFlagsEXT = VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT, + eViSurfaceCreateInfoNN = VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN, + ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT, + eImageViewAstcDecodeModeEXT = VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT, + ePhysicalDeviceAstcDecodeFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT, + eImportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR, + eExportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR, + eMemoryWin32HandlePropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR, + eMemoryGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR, + eImportMemoryFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR, + eMemoryFdPropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR, + eMemoryGetFdInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR, + eWin32KeyedMutexAcquireReleaseInfoKHR = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR, + eImportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR, + eExportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR, + eD3D12FenceSubmitInfoKHR = VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR, + eSemaphoreGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR, + eImportSemaphoreFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR, + eSemaphoreGetFdInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR, + ePhysicalDevicePushDescriptorPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR, + eCommandBufferInheritanceConditionalRenderingInfoEXT = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT, + ePhysicalDeviceConditionalRenderingFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT, + eConditionalRenderingBeginInfoEXT = VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT, + ePresentRegionsKHR = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR, + ePipelineViewportWScalingStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV, + eSurfaceCapabilities2EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT, + eDisplayPowerInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT, + eDeviceEventInfoEXT = VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT, + eDisplayEventInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT, + eSwapchainCounterCreateInfoEXT = VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT, + ePresentTimesInfoGOOGLE = VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE, + ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX, + ePipelineViewportSwizzleStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV, + ePhysicalDeviceDiscardRectanglePropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT, + ePipelineDiscardRectangleStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT, + ePhysicalDeviceConservativeRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT, + ePipelineRasterizationConservativeStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT, + ePhysicalDeviceDepthClipEnableFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT, + ePipelineRasterizationDepthClipStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT, + eHdrMetadataEXT = VK_STRUCTURE_TYPE_HDR_METADATA_EXT, + eSharedPresentSurfaceCapabilitiesKHR = VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR, + eImportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR, + eExportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR, + eFenceGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR, + eImportFenceFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR, + eFenceGetFdInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR, + ePhysicalDevicePerformanceQueryFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR, + ePhysicalDevicePerformanceQueryPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR, + eQueryPoolPerformanceCreateInfoKHR = VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR, + ePerformanceQuerySubmitInfoKHR = VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR, + eAcquireProfilingLockInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR, + ePerformanceCounterKHR = VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR, + ePerformanceCounterDescriptionKHR = VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR, + ePhysicalDeviceSurfaceInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR, + eSurfaceCapabilities2KHR = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR, + eSurfaceFormat2KHR = VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR, + eDisplayProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR, + eDisplayPlaneProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR, + eDisplayModeProperties2KHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR, + eDisplayPlaneInfo2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR, + eDisplayPlaneCapabilities2KHR = VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR, + eIosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK, + eMacosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK, + eDebugUtilsObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT, + eDebugUtilsObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT, + eDebugUtilsLabelEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT, + eDebugUtilsMessengerCallbackDataEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT, + eDebugUtilsMessengerCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT, + eAndroidHardwareBufferUsageANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID, + eAndroidHardwareBufferPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID, + eAndroidHardwareBufferFormatPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID, + eImportAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID, + eMemoryGetAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID, + eExternalFormatANDROID = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID, + ePhysicalDeviceInlineUniformBlockFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT, + ePhysicalDeviceInlineUniformBlockPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT, + eWriteDescriptorSetInlineUniformBlockEXT = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT, + eDescriptorPoolInlineUniformBlockCreateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT, + eSampleLocationsInfoEXT = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT, + eRenderPassSampleLocationsBeginInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT, + ePipelineSampleLocationsStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT, + ePhysicalDeviceSampleLocationsPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT, + eMultisamplePropertiesEXT = VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT, + ePhysicalDeviceBlendOperationAdvancedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT, + ePhysicalDeviceBlendOperationAdvancedPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT, + ePipelineColorBlendAdvancedStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT, + ePipelineCoverageToColorStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV, + eBindAccelerationStructureMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_KHR, + eWriteDescriptorSetAccelerationStructureKHR = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR, + eAccelerationStructureBuildGeometryInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR, + eAccelerationStructureCreateGeometryTypeInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_GEOMETRY_TYPE_INFO_KHR, + eAccelerationStructureDeviceAddressInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR, + eAccelerationStructureGeometryAabbsDataKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR, + eAccelerationStructureGeometryInstancesDataKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR, + eAccelerationStructureGeometryTrianglesDataKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR, + eAccelerationStructureGeometryKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR, + eAccelerationStructureMemoryRequirementsInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_KHR, + eAccelerationStructureVersionKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_KHR, + eCopyAccelerationStructureInfoKHR = VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR, + eCopyAccelerationStructureToMemoryInfoKHR = VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR, + eCopyMemoryToAccelerationStructureInfoKHR = VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR, + ePhysicalDeviceRayTracingFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_FEATURES_KHR, + ePhysicalDeviceRayTracingPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_KHR, + eRayTracingPipelineCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR, + eRayTracingShaderGroupCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR, + eAccelerationStructureCreateInfoKHR = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR, + eRayTracingPipelineInterfaceCreateInfoKHR = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR, + ePipelineCoverageModulationStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV, + ePhysicalDeviceShaderSmBuiltinsFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV, + ePhysicalDeviceShaderSmBuiltinsPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV, + eDrmFormatModifierPropertiesListEXT = VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT, + ePhysicalDeviceImageDrmFormatModifierInfoEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT, + eImageDrmFormatModifierListCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT, + eImageDrmFormatModifierExplicitCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT, + eImageDrmFormatModifierPropertiesEXT = VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT, + eValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT, + eShaderModuleValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT, + ePhysicalDevicePortabilitySubsetFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR, + ePhysicalDevicePortabilitySubsetPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR, + ePipelineViewportShadingRateImageStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV, + ePhysicalDeviceShadingRateImageFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV, + ePhysicalDeviceShadingRateImagePropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV, + ePipelineViewportCoarseSampleOrderStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV, + eRayTracingPipelineCreateInfoNV = VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV, + eAccelerationStructureCreateInfoNV = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV, + eGeometryNV = VK_STRUCTURE_TYPE_GEOMETRY_NV, + eGeometryTrianglesNV = VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV, + eGeometryAabbNV = VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV, + eAccelerationStructureMemoryRequirementsInfoNV = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV, + ePhysicalDeviceRayTracingPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV, + eRayTracingShaderGroupCreateInfoNV = VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV, + eAccelerationStructureInfoNV = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV, + ePhysicalDeviceRepresentativeFragmentTestFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV, + ePipelineRepresentativeFragmentTestStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV, + ePhysicalDeviceImageViewImageFormatInfoEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT, + eFilterCubicImageViewImageFormatPropertiesEXT = VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT, + eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT, + eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT, + eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT, + ePhysicalDeviceExternalMemoryHostPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT, + ePhysicalDeviceShaderClockFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR, + ePipelineCompilerControlCreateInfoAMD = VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD, + eCalibratedTimestampInfoEXT = VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT, + ePhysicalDeviceShaderCorePropertiesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD, + eDeviceMemoryOverallocationCreateInfoAMD = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD, + ePhysicalDeviceVertexAttributeDivisorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT, + ePipelineVertexInputDivisorStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT, + ePhysicalDeviceVertexAttributeDivisorFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT, + ePresentFrameTokenGGP = VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP, + ePipelineCreationFeedbackCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT, + ePhysicalDeviceComputeShaderDerivativesFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV, + ePhysicalDeviceMeshShaderFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV, + ePhysicalDeviceMeshShaderPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV, + ePhysicalDeviceFragmentShaderBarycentricFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV, + ePhysicalDeviceShaderImageFootprintFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV, + ePipelineViewportExclusiveScissorStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV, + ePhysicalDeviceExclusiveScissorFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV, + eCheckpointDataNV = VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV, + eQueueFamilyCheckpointPropertiesNV = VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV, + ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL, + eQueryPoolPerformanceQueryCreateInfoINTEL = VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL, + eInitializePerformanceApiInfoINTEL = VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL, + ePerformanceMarkerInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL, + ePerformanceStreamMarkerInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL, + ePerformanceOverrideInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL, + ePerformanceConfigurationAcquireInfoINTEL = VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL, + ePhysicalDevicePciBusInfoPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT, + eDisplayNativeHdrSurfaceCapabilitiesAMD = VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD, + eSwapchainDisplayNativeHdrCreateInfoAMD = VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD, + eImagepipeSurfaceCreateInfoFUCHSIA = VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA, + ePhysicalDeviceShaderTerminateInvocationFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR, + eMetalSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT, + ePhysicalDeviceFragmentDensityMapFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT, + ePhysicalDeviceFragmentDensityMapPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT, + eRenderPassFragmentDensityMapCreateInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT, + ePhysicalDeviceSubgroupSizeControlPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT, + ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT, + ePhysicalDeviceSubgroupSizeControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT, + eFragmentShadingRateAttachmentInfoKHR = VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR, + ePipelineFragmentShadingRateStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR, + ePhysicalDeviceFragmentShadingRatePropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR, + ePhysicalDeviceFragmentShadingRateFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR, + ePhysicalDeviceFragmentShadingRateKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR, + ePhysicalDeviceShaderCoreProperties2AMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD, + ePhysicalDeviceCoherentMemoryFeaturesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD, + ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT, + ePhysicalDeviceMemoryBudgetPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT, + ePhysicalDeviceMemoryPriorityFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT, + eMemoryPriorityAllocateInfoEXT = VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT, + eSurfaceProtectedCapabilitiesKHR = VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR, + ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV, + ePhysicalDeviceBufferDeviceAddressFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT, + eBufferDeviceAddressCreateInfoEXT = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT, + ePhysicalDeviceToolPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT, + eValidationFeaturesEXT = VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT, + ePhysicalDeviceCooperativeMatrixFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV, + eCooperativeMatrixPropertiesNV = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV, + ePhysicalDeviceCooperativeMatrixPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV, + ePhysicalDeviceCoverageReductionModeFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV, + ePipelineCoverageReductionStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV, + eFramebufferMixedSamplesCombinationNV = VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV, + ePhysicalDeviceFragmentShaderInterlockFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT, + ePhysicalDeviceYcbcrImageArraysFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT, + eSurfaceFullScreenExclusiveInfoEXT = VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT, + eSurfaceCapabilitiesFullScreenExclusiveEXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT, + eSurfaceFullScreenExclusiveWin32InfoEXT = VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT, + eHeadlessSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT, + ePhysicalDeviceLineRasterizationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT, + ePipelineRasterizationLineStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT, + ePhysicalDeviceLineRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT, + ePhysicalDeviceShaderAtomicFloatFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT, + ePhysicalDeviceIndexTypeUint8FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT, + ePhysicalDeviceExtendedDynamicStateFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT, + eDeferredOperationInfoKHR = VK_STRUCTURE_TYPE_DEFERRED_OPERATION_INFO_KHR, + ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR, + ePipelineInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR, + ePipelineExecutablePropertiesKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR, + ePipelineExecutableInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR, + ePipelineExecutableStatisticKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR, + ePipelineExecutableInternalRepresentationKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR, + ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT, + ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV, + eGraphicsShaderGroupCreateInfoNV = VK_STRUCTURE_TYPE_GRAPHICS_SHADER_GROUP_CREATE_INFO_NV, + eGraphicsPipelineShaderGroupsCreateInfoNV = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV, + eIndirectCommandsLayoutTokenNV = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_TOKEN_NV, + eIndirectCommandsLayoutCreateInfoNV = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NV, + eGeneratedCommandsInfoNV = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV, + eGeneratedCommandsMemoryRequirementsInfoNV = VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV, + ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV, + ePhysicalDeviceTexelBufferAlignmentFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT, + ePhysicalDeviceTexelBufferAlignmentPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT, + eCommandBufferInheritanceRenderPassTransformInfoQCOM = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM, + eRenderPassTransformBeginInfoQCOM = VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM, + ePhysicalDeviceDeviceMemoryReportFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT, + eDeviceDeviceMemoryReportCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT, + eDeviceMemoryReportCallbackDataEXT = VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT, + ePhysicalDeviceRobustness2FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT, + ePhysicalDeviceRobustness2PropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT, + eSamplerCustomBorderColorCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT, + ePhysicalDeviceCustomBorderColorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT, + ePhysicalDeviceCustomBorderColorFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT, + ePipelineLibraryCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR, + ePhysicalDevicePrivateDataFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT, + eDevicePrivateDataCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT, + ePrivateDataSlotCreateInfoEXT = VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT, + ePhysicalDevicePipelineCreationCacheControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT, + ePhysicalDeviceDiagnosticsConfigFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV, + eDeviceDiagnosticsConfigCreateInfoNV = VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV, + ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV, + ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV, + ePipelineFragmentShadingRateEnumStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV, + ePhysicalDeviceFragmentDensityMap2FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT, + ePhysicalDeviceFragmentDensityMap2PropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT, + eCopyCommandTransformInfoQCOM = VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM, + ePhysicalDeviceImageRobustnessFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT, + eCopyBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR, + eCopyImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR, + eCopyBufferToImageInfo2KHR = VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR, + eCopyImageToBufferInfo2KHR = VK_STRUCTURE_TYPE_COPY_IMAGE_TO_BUFFER_INFO_2_KHR, + eBlitImageInfo2KHR = VK_STRUCTURE_TYPE_BLIT_IMAGE_INFO_2_KHR, + eResolveImageInfo2KHR = VK_STRUCTURE_TYPE_RESOLVE_IMAGE_INFO_2_KHR, + eBufferCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_COPY_2_KHR, + eImageCopy2KHR = VK_STRUCTURE_TYPE_IMAGE_COPY_2_KHR, + eImageBlit2KHR = VK_STRUCTURE_TYPE_IMAGE_BLIT_2_KHR, + eBufferImageCopy2KHR = VK_STRUCTURE_TYPE_BUFFER_IMAGE_COPY_2_KHR, + eImageResolve2KHR = VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR, + ePhysicalDevice4444FormatsFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT, + eDirectfbSurfaceCreateInfoEXT = VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT, + eAttachmentDescription2KHR = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR, + eAttachmentDescriptionStencilLayoutKHR = VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT_KHR, + eAttachmentReference2KHR = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR, + eAttachmentReferenceStencilLayoutKHR = VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT_KHR, + eBindAccelerationStructureMemoryInfoNV = VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV, + eBindBufferMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHR, + eBindBufferMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR, + eBindImageMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHR, + eBindImageMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR, + eBindImagePlaneMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR, + eBufferDeviceAddressInfoEXT = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT, + eBufferDeviceAddressInfoKHR = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR, + eBufferMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR, + eBufferOpaqueCaptureAddressCreateInfoKHR = VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR, + eDebugReportCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT, + eDescriptorSetLayoutBindingFlagsCreateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT, + eDescriptorSetLayoutSupportKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR, + eDescriptorSetVariableDescriptorCountAllocateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT, + eDescriptorSetVariableDescriptorCountLayoutSupportEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT, + eDescriptorUpdateTemplateCreateInfoKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR, + eDeviceGroupBindSparseInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHR, + eDeviceGroupCommandBufferBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHR, + eDeviceGroupDeviceCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHR, + eDeviceGroupRenderPassBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHR, + eDeviceGroupSubmitInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHR, + eDeviceMemoryOpaqueCaptureAddressInfoKHR = VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR, + eExportFenceCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR, + eExportMemoryAllocateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR, + eExportSemaphoreCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR, + eExternalBufferPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR, + eExternalFencePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR, + eExternalImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR, + eExternalMemoryBufferCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR, + eExternalMemoryImageCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR, + eExternalSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR, + eFormatProperties2KHR = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR, + eFramebufferAttachmentsCreateInfoKHR = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR, + eFramebufferAttachmentImageInfoKHR = VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR, + eImageFormatListCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR, + eImageFormatProperties2KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR, + eImageMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR, + eImagePlaneMemoryRequirementsInfoKHR = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR, + eImageSparseMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR, + eImageStencilUsageCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT, + eImageViewUsageCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR, + eMemoryAllocateFlagsInfoKHR = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHR, + eMemoryDedicatedAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR, + eMemoryDedicatedRequirementsKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR, + eMemoryOpaqueCaptureAddressAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR, + eMemoryRequirements2KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR, + ePhysicalDevice16BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR, + ePhysicalDevice8BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR, + ePhysicalDeviceBufferAddressFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT, + ePhysicalDeviceBufferDeviceAddressFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR, + ePhysicalDeviceDepthStencilResolvePropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR, + ePhysicalDeviceDescriptorIndexingFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT, + ePhysicalDeviceDescriptorIndexingPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT, + ePhysicalDeviceDriverPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR, + ePhysicalDeviceExternalBufferInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR, + ePhysicalDeviceExternalFenceInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR, + ePhysicalDeviceExternalImageFormatInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR, + ePhysicalDeviceExternalSemaphoreInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR, + ePhysicalDeviceFeatures2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR, + ePhysicalDeviceFloat16Int8FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR, + ePhysicalDeviceFloatControlsPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR, + ePhysicalDeviceGroupPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR, + ePhysicalDeviceHostQueryResetFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT, + ePhysicalDeviceIdPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR, + ePhysicalDeviceImagelessFramebufferFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR, + ePhysicalDeviceImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR, + ePhysicalDeviceMaintenance3PropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR, + ePhysicalDeviceMemoryProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR, + ePhysicalDeviceMultiviewFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR, + ePhysicalDeviceMultiviewPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR, + ePhysicalDevicePointClippingPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR, + ePhysicalDeviceProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR, + ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT, + ePhysicalDeviceSamplerYcbcrConversionFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR, + ePhysicalDeviceScalarBlockLayoutFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT, + ePhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES_KHR, + ePhysicalDeviceShaderAtomicInt64FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR, + ePhysicalDeviceShaderDrawParameterFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES, + ePhysicalDeviceShaderFloat16Int8FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR, + ePhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR, + ePhysicalDeviceSparseImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR, + ePhysicalDeviceTimelineSemaphoreFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR, + ePhysicalDeviceTimelineSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES_KHR, + ePhysicalDeviceUniformBufferStandardLayoutFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR, + ePhysicalDeviceVariablePointersFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR, + ePhysicalDeviceVariablePointerFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES, + ePhysicalDeviceVariablePointerFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR, + ePhysicalDeviceVulkanMemoryModelFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR, + ePipelineTessellationDomainOriginStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR, + eQueryPoolCreateInfoINTEL = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL, + eQueueFamilyProperties2KHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR, + eRenderPassAttachmentBeginInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR, + eRenderPassCreateInfo2KHR = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR, + eRenderPassInputAttachmentAspectCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR, + eRenderPassMultiviewCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR, + eSamplerReductionModeCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT, + eSamplerYcbcrConversionCreateInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR, + eSamplerYcbcrConversionImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR, + eSamplerYcbcrConversionInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR, + eSemaphoreSignalInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO_KHR, + eSemaphoreTypeCreateInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO_KHR, + eSemaphoreWaitInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO_KHR, + eSparseImageFormatProperties2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR, + eSparseImageMemoryRequirements2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR, + eSubpassBeginInfoKHR = VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR, + eSubpassDependency2KHR = VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR, + eSubpassDescription2KHR = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR, + eSubpassDescriptionDepthStencilResolveKHR = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR, + eSubpassEndInfoKHR = VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR, + eTimelineSemaphoreSubmitInfoKHR = VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO_KHR, + eWriteDescriptorSetAccelerationStructureNV = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV + }; + + VULKAN_HPP_INLINE std::string to_string( StructureType value ) + { + switch ( value ) + { + case StructureType::eApplicationInfo : return "ApplicationInfo"; + case StructureType::eInstanceCreateInfo : return "InstanceCreateInfo"; + case StructureType::eDeviceQueueCreateInfo : return "DeviceQueueCreateInfo"; + case StructureType::eDeviceCreateInfo : return "DeviceCreateInfo"; + case StructureType::eSubmitInfo : return "SubmitInfo"; + case StructureType::eMemoryAllocateInfo : return "MemoryAllocateInfo"; + case StructureType::eMappedMemoryRange : return "MappedMemoryRange"; + case StructureType::eBindSparseInfo : return "BindSparseInfo"; + case StructureType::eFenceCreateInfo : return "FenceCreateInfo"; + case StructureType::eSemaphoreCreateInfo : return "SemaphoreCreateInfo"; + case StructureType::eEventCreateInfo : return "EventCreateInfo"; + case StructureType::eQueryPoolCreateInfo : return "QueryPoolCreateInfo"; + case StructureType::eBufferCreateInfo : return "BufferCreateInfo"; + case StructureType::eBufferViewCreateInfo : return "BufferViewCreateInfo"; + case StructureType::eImageCreateInfo : return "ImageCreateInfo"; + case StructureType::eImageViewCreateInfo : return "ImageViewCreateInfo"; + case StructureType::eShaderModuleCreateInfo : return "ShaderModuleCreateInfo"; + case StructureType::ePipelineCacheCreateInfo : return "PipelineCacheCreateInfo"; + case StructureType::ePipelineShaderStageCreateInfo : return "PipelineShaderStageCreateInfo"; + case StructureType::ePipelineVertexInputStateCreateInfo : return "PipelineVertexInputStateCreateInfo"; + case StructureType::ePipelineInputAssemblyStateCreateInfo : return "PipelineInputAssemblyStateCreateInfo"; + case StructureType::ePipelineTessellationStateCreateInfo : return "PipelineTessellationStateCreateInfo"; + case StructureType::ePipelineViewportStateCreateInfo : return "PipelineViewportStateCreateInfo"; + case StructureType::ePipelineRasterizationStateCreateInfo : return "PipelineRasterizationStateCreateInfo"; + case StructureType::ePipelineMultisampleStateCreateInfo : return "PipelineMultisampleStateCreateInfo"; + case StructureType::ePipelineDepthStencilStateCreateInfo : return "PipelineDepthStencilStateCreateInfo"; + case StructureType::ePipelineColorBlendStateCreateInfo : return "PipelineColorBlendStateCreateInfo"; + case StructureType::ePipelineDynamicStateCreateInfo : return "PipelineDynamicStateCreateInfo"; + case StructureType::eGraphicsPipelineCreateInfo : return "GraphicsPipelineCreateInfo"; + case StructureType::eComputePipelineCreateInfo : return "ComputePipelineCreateInfo"; + case StructureType::ePipelineLayoutCreateInfo : return "PipelineLayoutCreateInfo"; + case StructureType::eSamplerCreateInfo : return "SamplerCreateInfo"; + case StructureType::eDescriptorSetLayoutCreateInfo : return "DescriptorSetLayoutCreateInfo"; + case StructureType::eDescriptorPoolCreateInfo : return "DescriptorPoolCreateInfo"; + case StructureType::eDescriptorSetAllocateInfo : return "DescriptorSetAllocateInfo"; + case StructureType::eWriteDescriptorSet : return "WriteDescriptorSet"; + case StructureType::eCopyDescriptorSet : return "CopyDescriptorSet"; + case StructureType::eFramebufferCreateInfo : return "FramebufferCreateInfo"; + case StructureType::eRenderPassCreateInfo : return "RenderPassCreateInfo"; + case StructureType::eCommandPoolCreateInfo : return "CommandPoolCreateInfo"; + case StructureType::eCommandBufferAllocateInfo : return "CommandBufferAllocateInfo"; + case StructureType::eCommandBufferInheritanceInfo : return "CommandBufferInheritanceInfo"; + case StructureType::eCommandBufferBeginInfo : return "CommandBufferBeginInfo"; + case StructureType::eRenderPassBeginInfo : return "RenderPassBeginInfo"; + case StructureType::eBufferMemoryBarrier : return "BufferMemoryBarrier"; + case StructureType::eImageMemoryBarrier : return "ImageMemoryBarrier"; + case StructureType::eMemoryBarrier : return "MemoryBarrier"; + case StructureType::eLoaderInstanceCreateInfo : return "LoaderInstanceCreateInfo"; + case StructureType::eLoaderDeviceCreateInfo : return "LoaderDeviceCreateInfo"; + case StructureType::ePhysicalDeviceSubgroupProperties : return "PhysicalDeviceSubgroupProperties"; + case StructureType::eBindBufferMemoryInfo : return "BindBufferMemoryInfo"; + case StructureType::eBindImageMemoryInfo : return "BindImageMemoryInfo"; + case StructureType::ePhysicalDevice16BitStorageFeatures : return "PhysicalDevice16BitStorageFeatures"; + case StructureType::eMemoryDedicatedRequirements : return "MemoryDedicatedRequirements"; + case StructureType::eMemoryDedicatedAllocateInfo : return "MemoryDedicatedAllocateInfo"; + case StructureType::eMemoryAllocateFlagsInfo : return "MemoryAllocateFlagsInfo"; + case StructureType::eDeviceGroupRenderPassBeginInfo : return "DeviceGroupRenderPassBeginInfo"; + case StructureType::eDeviceGroupCommandBufferBeginInfo : return "DeviceGroupCommandBufferBeginInfo"; + case StructureType::eDeviceGroupSubmitInfo : return "DeviceGroupSubmitInfo"; + case StructureType::eDeviceGroupBindSparseInfo : return "DeviceGroupBindSparseInfo"; + case StructureType::eBindBufferMemoryDeviceGroupInfo : return "BindBufferMemoryDeviceGroupInfo"; + case StructureType::eBindImageMemoryDeviceGroupInfo : return "BindImageMemoryDeviceGroupInfo"; + case StructureType::ePhysicalDeviceGroupProperties : return "PhysicalDeviceGroupProperties"; + case StructureType::eDeviceGroupDeviceCreateInfo : return "DeviceGroupDeviceCreateInfo"; + case StructureType::eBufferMemoryRequirementsInfo2 : return "BufferMemoryRequirementsInfo2"; + case StructureType::eImageMemoryRequirementsInfo2 : return "ImageMemoryRequirementsInfo2"; + case StructureType::eImageSparseMemoryRequirementsInfo2 : return "ImageSparseMemoryRequirementsInfo2"; + case StructureType::eMemoryRequirements2 : return "MemoryRequirements2"; + case StructureType::eSparseImageMemoryRequirements2 : return "SparseImageMemoryRequirements2"; + case StructureType::ePhysicalDeviceFeatures2 : return "PhysicalDeviceFeatures2"; + case StructureType::ePhysicalDeviceProperties2 : return "PhysicalDeviceProperties2"; + case StructureType::eFormatProperties2 : return "FormatProperties2"; + case StructureType::eImageFormatProperties2 : return "ImageFormatProperties2"; + case StructureType::ePhysicalDeviceImageFormatInfo2 : return "PhysicalDeviceImageFormatInfo2"; + case StructureType::eQueueFamilyProperties2 : return "QueueFamilyProperties2"; + case StructureType::ePhysicalDeviceMemoryProperties2 : return "PhysicalDeviceMemoryProperties2"; + case StructureType::eSparseImageFormatProperties2 : return "SparseImageFormatProperties2"; + case StructureType::ePhysicalDeviceSparseImageFormatInfo2 : return "PhysicalDeviceSparseImageFormatInfo2"; + case StructureType::ePhysicalDevicePointClippingProperties : return "PhysicalDevicePointClippingProperties"; + case StructureType::eRenderPassInputAttachmentAspectCreateInfo : return "RenderPassInputAttachmentAspectCreateInfo"; + case StructureType::eImageViewUsageCreateInfo : return "ImageViewUsageCreateInfo"; + case StructureType::ePipelineTessellationDomainOriginStateCreateInfo : return "PipelineTessellationDomainOriginStateCreateInfo"; + case StructureType::eRenderPassMultiviewCreateInfo : return "RenderPassMultiviewCreateInfo"; + case StructureType::ePhysicalDeviceMultiviewFeatures : return "PhysicalDeviceMultiviewFeatures"; + case StructureType::ePhysicalDeviceMultiviewProperties : return "PhysicalDeviceMultiviewProperties"; + case StructureType::ePhysicalDeviceVariablePointersFeatures : return "PhysicalDeviceVariablePointersFeatures"; + case StructureType::eProtectedSubmitInfo : return "ProtectedSubmitInfo"; + case StructureType::ePhysicalDeviceProtectedMemoryFeatures : return "PhysicalDeviceProtectedMemoryFeatures"; + case StructureType::ePhysicalDeviceProtectedMemoryProperties : return "PhysicalDeviceProtectedMemoryProperties"; + case StructureType::eDeviceQueueInfo2 : return "DeviceQueueInfo2"; + case StructureType::eSamplerYcbcrConversionCreateInfo : return "SamplerYcbcrConversionCreateInfo"; + case StructureType::eSamplerYcbcrConversionInfo : return "SamplerYcbcrConversionInfo"; + case StructureType::eBindImagePlaneMemoryInfo : return "BindImagePlaneMemoryInfo"; + case StructureType::eImagePlaneMemoryRequirementsInfo : return "ImagePlaneMemoryRequirementsInfo"; + case StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures : return "PhysicalDeviceSamplerYcbcrConversionFeatures"; + case StructureType::eSamplerYcbcrConversionImageFormatProperties : return "SamplerYcbcrConversionImageFormatProperties"; + case StructureType::eDescriptorUpdateTemplateCreateInfo : return "DescriptorUpdateTemplateCreateInfo"; + case StructureType::ePhysicalDeviceExternalImageFormatInfo : return "PhysicalDeviceExternalImageFormatInfo"; + case StructureType::eExternalImageFormatProperties : return "ExternalImageFormatProperties"; + case StructureType::ePhysicalDeviceExternalBufferInfo : return "PhysicalDeviceExternalBufferInfo"; + case StructureType::eExternalBufferProperties : return "ExternalBufferProperties"; + case StructureType::ePhysicalDeviceIdProperties : return "PhysicalDeviceIdProperties"; + case StructureType::eExternalMemoryBufferCreateInfo : return "ExternalMemoryBufferCreateInfo"; + case StructureType::eExternalMemoryImageCreateInfo : return "ExternalMemoryImageCreateInfo"; + case StructureType::eExportMemoryAllocateInfo : return "ExportMemoryAllocateInfo"; + case StructureType::ePhysicalDeviceExternalFenceInfo : return "PhysicalDeviceExternalFenceInfo"; + case StructureType::eExternalFenceProperties : return "ExternalFenceProperties"; + case StructureType::eExportFenceCreateInfo : return "ExportFenceCreateInfo"; + case StructureType::eExportSemaphoreCreateInfo : return "ExportSemaphoreCreateInfo"; + case StructureType::ePhysicalDeviceExternalSemaphoreInfo : return "PhysicalDeviceExternalSemaphoreInfo"; + case StructureType::eExternalSemaphoreProperties : return "ExternalSemaphoreProperties"; + case StructureType::ePhysicalDeviceMaintenance3Properties : return "PhysicalDeviceMaintenance3Properties"; + case StructureType::eDescriptorSetLayoutSupport : return "DescriptorSetLayoutSupport"; + case StructureType::ePhysicalDeviceShaderDrawParametersFeatures : return "PhysicalDeviceShaderDrawParametersFeatures"; + case StructureType::ePhysicalDeviceVulkan11Features : return "PhysicalDeviceVulkan11Features"; + case StructureType::ePhysicalDeviceVulkan11Properties : return "PhysicalDeviceVulkan11Properties"; + case StructureType::ePhysicalDeviceVulkan12Features : return "PhysicalDeviceVulkan12Features"; + case StructureType::ePhysicalDeviceVulkan12Properties : return "PhysicalDeviceVulkan12Properties"; + case StructureType::eImageFormatListCreateInfo : return "ImageFormatListCreateInfo"; + case StructureType::eAttachmentDescription2 : return "AttachmentDescription2"; + case StructureType::eAttachmentReference2 : return "AttachmentReference2"; + case StructureType::eSubpassDescription2 : return "SubpassDescription2"; + case StructureType::eSubpassDependency2 : return "SubpassDependency2"; + case StructureType::eRenderPassCreateInfo2 : return "RenderPassCreateInfo2"; + case StructureType::eSubpassBeginInfo : return "SubpassBeginInfo"; + case StructureType::eSubpassEndInfo : return "SubpassEndInfo"; + case StructureType::ePhysicalDevice8BitStorageFeatures : return "PhysicalDevice8BitStorageFeatures"; + case StructureType::ePhysicalDeviceDriverProperties : return "PhysicalDeviceDriverProperties"; + case StructureType::ePhysicalDeviceShaderAtomicInt64Features : return "PhysicalDeviceShaderAtomicInt64Features"; + case StructureType::ePhysicalDeviceShaderFloat16Int8Features : return "PhysicalDeviceShaderFloat16Int8Features"; + case StructureType::ePhysicalDeviceFloatControlsProperties : return "PhysicalDeviceFloatControlsProperties"; + case StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo : return "DescriptorSetLayoutBindingFlagsCreateInfo"; + case StructureType::ePhysicalDeviceDescriptorIndexingFeatures : return "PhysicalDeviceDescriptorIndexingFeatures"; + case StructureType::ePhysicalDeviceDescriptorIndexingProperties : return "PhysicalDeviceDescriptorIndexingProperties"; + case StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo : return "DescriptorSetVariableDescriptorCountAllocateInfo"; + case StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport : return "DescriptorSetVariableDescriptorCountLayoutSupport"; + case StructureType::ePhysicalDeviceDepthStencilResolveProperties : return "PhysicalDeviceDepthStencilResolveProperties"; + case StructureType::eSubpassDescriptionDepthStencilResolve : return "SubpassDescriptionDepthStencilResolve"; + case StructureType::ePhysicalDeviceScalarBlockLayoutFeatures : return "PhysicalDeviceScalarBlockLayoutFeatures"; + case StructureType::eImageStencilUsageCreateInfo : return "ImageStencilUsageCreateInfo"; + case StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties : return "PhysicalDeviceSamplerFilterMinmaxProperties"; + case StructureType::eSamplerReductionModeCreateInfo : return "SamplerReductionModeCreateInfo"; + case StructureType::ePhysicalDeviceVulkanMemoryModelFeatures : return "PhysicalDeviceVulkanMemoryModelFeatures"; + case StructureType::ePhysicalDeviceImagelessFramebufferFeatures : return "PhysicalDeviceImagelessFramebufferFeatures"; + case StructureType::eFramebufferAttachmentsCreateInfo : return "FramebufferAttachmentsCreateInfo"; + case StructureType::eFramebufferAttachmentImageInfo : return "FramebufferAttachmentImageInfo"; + case StructureType::eRenderPassAttachmentBeginInfo : return "RenderPassAttachmentBeginInfo"; + case StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures : return "PhysicalDeviceUniformBufferStandardLayoutFeatures"; + case StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures : return "PhysicalDeviceShaderSubgroupExtendedTypesFeatures"; + case StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures : return "PhysicalDeviceSeparateDepthStencilLayoutsFeatures"; + case StructureType::eAttachmentReferenceStencilLayout : return "AttachmentReferenceStencilLayout"; + case StructureType::eAttachmentDescriptionStencilLayout : return "AttachmentDescriptionStencilLayout"; + case StructureType::ePhysicalDeviceHostQueryResetFeatures : return "PhysicalDeviceHostQueryResetFeatures"; + case StructureType::ePhysicalDeviceTimelineSemaphoreFeatures : return "PhysicalDeviceTimelineSemaphoreFeatures"; + case StructureType::ePhysicalDeviceTimelineSemaphoreProperties : return "PhysicalDeviceTimelineSemaphoreProperties"; + case StructureType::eSemaphoreTypeCreateInfo : return "SemaphoreTypeCreateInfo"; + case StructureType::eTimelineSemaphoreSubmitInfo : return "TimelineSemaphoreSubmitInfo"; + case StructureType::eSemaphoreWaitInfo : return "SemaphoreWaitInfo"; + case StructureType::eSemaphoreSignalInfo : return "SemaphoreSignalInfo"; + case StructureType::ePhysicalDeviceBufferDeviceAddressFeatures : return "PhysicalDeviceBufferDeviceAddressFeatures"; + case StructureType::eBufferDeviceAddressInfo : return "BufferDeviceAddressInfo"; + case StructureType::eBufferOpaqueCaptureAddressCreateInfo : return "BufferOpaqueCaptureAddressCreateInfo"; + case StructureType::eMemoryOpaqueCaptureAddressAllocateInfo : return "MemoryOpaqueCaptureAddressAllocateInfo"; + case StructureType::eDeviceMemoryOpaqueCaptureAddressInfo : return "DeviceMemoryOpaqueCaptureAddressInfo"; + case StructureType::eSwapchainCreateInfoKHR : return "SwapchainCreateInfoKHR"; + case StructureType::ePresentInfoKHR : return "PresentInfoKHR"; + case StructureType::eDeviceGroupPresentCapabilitiesKHR : return "DeviceGroupPresentCapabilitiesKHR"; + case StructureType::eImageSwapchainCreateInfoKHR : return "ImageSwapchainCreateInfoKHR"; + case StructureType::eBindImageMemorySwapchainInfoKHR : return "BindImageMemorySwapchainInfoKHR"; + case StructureType::eAcquireNextImageInfoKHR : return "AcquireNextImageInfoKHR"; + case StructureType::eDeviceGroupPresentInfoKHR : return "DeviceGroupPresentInfoKHR"; + case StructureType::eDeviceGroupSwapchainCreateInfoKHR : return "DeviceGroupSwapchainCreateInfoKHR"; + case StructureType::eDisplayModeCreateInfoKHR : return "DisplayModeCreateInfoKHR"; + case StructureType::eDisplaySurfaceCreateInfoKHR : return "DisplaySurfaceCreateInfoKHR"; + case StructureType::eDisplayPresentInfoKHR : return "DisplayPresentInfoKHR"; + case StructureType::eXlibSurfaceCreateInfoKHR : return "XlibSurfaceCreateInfoKHR"; + case StructureType::eXcbSurfaceCreateInfoKHR : return "XcbSurfaceCreateInfoKHR"; + case StructureType::eWaylandSurfaceCreateInfoKHR : return "WaylandSurfaceCreateInfoKHR"; + case StructureType::eAndroidSurfaceCreateInfoKHR : return "AndroidSurfaceCreateInfoKHR"; + case StructureType::eWin32SurfaceCreateInfoKHR : return "Win32SurfaceCreateInfoKHR"; + case StructureType::eDebugReportCallbackCreateInfoEXT : return "DebugReportCallbackCreateInfoEXT"; + case StructureType::ePipelineRasterizationStateRasterizationOrderAMD : return "PipelineRasterizationStateRasterizationOrderAMD"; + case StructureType::eDebugMarkerObjectNameInfoEXT : return "DebugMarkerObjectNameInfoEXT"; + case StructureType::eDebugMarkerObjectTagInfoEXT : return "DebugMarkerObjectTagInfoEXT"; + case StructureType::eDebugMarkerMarkerInfoEXT : return "DebugMarkerMarkerInfoEXT"; + case StructureType::eDedicatedAllocationImageCreateInfoNV : return "DedicatedAllocationImageCreateInfoNV"; + case StructureType::eDedicatedAllocationBufferCreateInfoNV : return "DedicatedAllocationBufferCreateInfoNV"; + case StructureType::eDedicatedAllocationMemoryAllocateInfoNV : return "DedicatedAllocationMemoryAllocateInfoNV"; + case StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT : return "PhysicalDeviceTransformFeedbackFeaturesEXT"; + case StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT : return "PhysicalDeviceTransformFeedbackPropertiesEXT"; + case StructureType::ePipelineRasterizationStateStreamCreateInfoEXT : return "PipelineRasterizationStateStreamCreateInfoEXT"; + case StructureType::eImageViewHandleInfoNVX : return "ImageViewHandleInfoNVX"; + case StructureType::eImageViewAddressPropertiesNVX : return "ImageViewAddressPropertiesNVX"; + case StructureType::eTextureLodGatherFormatPropertiesAMD : return "TextureLodGatherFormatPropertiesAMD"; + case StructureType::eStreamDescriptorSurfaceCreateInfoGGP : return "StreamDescriptorSurfaceCreateInfoGGP"; + case StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV : return "PhysicalDeviceCornerSampledImageFeaturesNV"; + case StructureType::eExternalMemoryImageCreateInfoNV : return "ExternalMemoryImageCreateInfoNV"; + case StructureType::eExportMemoryAllocateInfoNV : return "ExportMemoryAllocateInfoNV"; + case StructureType::eImportMemoryWin32HandleInfoNV : return "ImportMemoryWin32HandleInfoNV"; + case StructureType::eExportMemoryWin32HandleInfoNV : return "ExportMemoryWin32HandleInfoNV"; + case StructureType::eWin32KeyedMutexAcquireReleaseInfoNV : return "Win32KeyedMutexAcquireReleaseInfoNV"; + case StructureType::eValidationFlagsEXT : return "ValidationFlagsEXT"; + case StructureType::eViSurfaceCreateInfoNN : return "ViSurfaceCreateInfoNN"; + case StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT : return "PhysicalDeviceTextureCompressionAstcHdrFeaturesEXT"; + case StructureType::eImageViewAstcDecodeModeEXT : return "ImageViewAstcDecodeModeEXT"; + case StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT : return "PhysicalDeviceAstcDecodeFeaturesEXT"; + case StructureType::eImportMemoryWin32HandleInfoKHR : return "ImportMemoryWin32HandleInfoKHR"; + case StructureType::eExportMemoryWin32HandleInfoKHR : return "ExportMemoryWin32HandleInfoKHR"; + case StructureType::eMemoryWin32HandlePropertiesKHR : return "MemoryWin32HandlePropertiesKHR"; + case StructureType::eMemoryGetWin32HandleInfoKHR : return "MemoryGetWin32HandleInfoKHR"; + case StructureType::eImportMemoryFdInfoKHR : return "ImportMemoryFdInfoKHR"; + case StructureType::eMemoryFdPropertiesKHR : return "MemoryFdPropertiesKHR"; + case StructureType::eMemoryGetFdInfoKHR : return "MemoryGetFdInfoKHR"; + case StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR : return "Win32KeyedMutexAcquireReleaseInfoKHR"; + case StructureType::eImportSemaphoreWin32HandleInfoKHR : return "ImportSemaphoreWin32HandleInfoKHR"; + case StructureType::eExportSemaphoreWin32HandleInfoKHR : return "ExportSemaphoreWin32HandleInfoKHR"; + case StructureType::eD3D12FenceSubmitInfoKHR : return "D3D12FenceSubmitInfoKHR"; + case StructureType::eSemaphoreGetWin32HandleInfoKHR : return "SemaphoreGetWin32HandleInfoKHR"; + case StructureType::eImportSemaphoreFdInfoKHR : return "ImportSemaphoreFdInfoKHR"; + case StructureType::eSemaphoreGetFdInfoKHR : return "SemaphoreGetFdInfoKHR"; + case StructureType::ePhysicalDevicePushDescriptorPropertiesKHR : return "PhysicalDevicePushDescriptorPropertiesKHR"; + case StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT : return "CommandBufferInheritanceConditionalRenderingInfoEXT"; + case StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT : return "PhysicalDeviceConditionalRenderingFeaturesEXT"; + case StructureType::eConditionalRenderingBeginInfoEXT : return "ConditionalRenderingBeginInfoEXT"; + case StructureType::ePresentRegionsKHR : return "PresentRegionsKHR"; + case StructureType::ePipelineViewportWScalingStateCreateInfoNV : return "PipelineViewportWScalingStateCreateInfoNV"; + case StructureType::eSurfaceCapabilities2EXT : return "SurfaceCapabilities2EXT"; + case StructureType::eDisplayPowerInfoEXT : return "DisplayPowerInfoEXT"; + case StructureType::eDeviceEventInfoEXT : return "DeviceEventInfoEXT"; + case StructureType::eDisplayEventInfoEXT : return "DisplayEventInfoEXT"; + case StructureType::eSwapchainCounterCreateInfoEXT : return "SwapchainCounterCreateInfoEXT"; + case StructureType::ePresentTimesInfoGOOGLE : return "PresentTimesInfoGOOGLE"; + case StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX : return "PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX"; + case StructureType::ePipelineViewportSwizzleStateCreateInfoNV : return "PipelineViewportSwizzleStateCreateInfoNV"; + case StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT : return "PhysicalDeviceDiscardRectanglePropertiesEXT"; + case StructureType::ePipelineDiscardRectangleStateCreateInfoEXT : return "PipelineDiscardRectangleStateCreateInfoEXT"; + case StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT : return "PhysicalDeviceConservativeRasterizationPropertiesEXT"; + case StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT : return "PipelineRasterizationConservativeStateCreateInfoEXT"; + case StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT : return "PhysicalDeviceDepthClipEnableFeaturesEXT"; + case StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT : return "PipelineRasterizationDepthClipStateCreateInfoEXT"; + case StructureType::eHdrMetadataEXT : return "HdrMetadataEXT"; + case StructureType::eSharedPresentSurfaceCapabilitiesKHR : return "SharedPresentSurfaceCapabilitiesKHR"; + case StructureType::eImportFenceWin32HandleInfoKHR : return "ImportFenceWin32HandleInfoKHR"; + case StructureType::eExportFenceWin32HandleInfoKHR : return "ExportFenceWin32HandleInfoKHR"; + case StructureType::eFenceGetWin32HandleInfoKHR : return "FenceGetWin32HandleInfoKHR"; + case StructureType::eImportFenceFdInfoKHR : return "ImportFenceFdInfoKHR"; + case StructureType::eFenceGetFdInfoKHR : return "FenceGetFdInfoKHR"; + case StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR : return "PhysicalDevicePerformanceQueryFeaturesKHR"; + case StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR : return "PhysicalDevicePerformanceQueryPropertiesKHR"; + case StructureType::eQueryPoolPerformanceCreateInfoKHR : return "QueryPoolPerformanceCreateInfoKHR"; + case StructureType::ePerformanceQuerySubmitInfoKHR : return "PerformanceQuerySubmitInfoKHR"; + case StructureType::eAcquireProfilingLockInfoKHR : return "AcquireProfilingLockInfoKHR"; + case StructureType::ePerformanceCounterKHR : return "PerformanceCounterKHR"; + case StructureType::ePerformanceCounterDescriptionKHR : return "PerformanceCounterDescriptionKHR"; + case StructureType::ePhysicalDeviceSurfaceInfo2KHR : return "PhysicalDeviceSurfaceInfo2KHR"; + case StructureType::eSurfaceCapabilities2KHR : return "SurfaceCapabilities2KHR"; + case StructureType::eSurfaceFormat2KHR : return "SurfaceFormat2KHR"; + case StructureType::eDisplayProperties2KHR : return "DisplayProperties2KHR"; + case StructureType::eDisplayPlaneProperties2KHR : return "DisplayPlaneProperties2KHR"; + case StructureType::eDisplayModeProperties2KHR : return "DisplayModeProperties2KHR"; + case StructureType::eDisplayPlaneInfo2KHR : return "DisplayPlaneInfo2KHR"; + case StructureType::eDisplayPlaneCapabilities2KHR : return "DisplayPlaneCapabilities2KHR"; + case StructureType::eIosSurfaceCreateInfoMVK : return "IosSurfaceCreateInfoMVK"; + case StructureType::eMacosSurfaceCreateInfoMVK : return "MacosSurfaceCreateInfoMVK"; + case StructureType::eDebugUtilsObjectNameInfoEXT : return "DebugUtilsObjectNameInfoEXT"; + case StructureType::eDebugUtilsObjectTagInfoEXT : return "DebugUtilsObjectTagInfoEXT"; + case StructureType::eDebugUtilsLabelEXT : return "DebugUtilsLabelEXT"; + case StructureType::eDebugUtilsMessengerCallbackDataEXT : return "DebugUtilsMessengerCallbackDataEXT"; + case StructureType::eDebugUtilsMessengerCreateInfoEXT : return "DebugUtilsMessengerCreateInfoEXT"; + case StructureType::eAndroidHardwareBufferUsageANDROID : return "AndroidHardwareBufferUsageANDROID"; + case StructureType::eAndroidHardwareBufferPropertiesANDROID : return "AndroidHardwareBufferPropertiesANDROID"; + case StructureType::eAndroidHardwareBufferFormatPropertiesANDROID : return "AndroidHardwareBufferFormatPropertiesANDROID"; + case StructureType::eImportAndroidHardwareBufferInfoANDROID : return "ImportAndroidHardwareBufferInfoANDROID"; + case StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID : return "MemoryGetAndroidHardwareBufferInfoANDROID"; + case StructureType::eExternalFormatANDROID : return "ExternalFormatANDROID"; + case StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT : return "PhysicalDeviceInlineUniformBlockFeaturesEXT"; + case StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT : return "PhysicalDeviceInlineUniformBlockPropertiesEXT"; + case StructureType::eWriteDescriptorSetInlineUniformBlockEXT : return "WriteDescriptorSetInlineUniformBlockEXT"; + case StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT : return "DescriptorPoolInlineUniformBlockCreateInfoEXT"; + case StructureType::eSampleLocationsInfoEXT : return "SampleLocationsInfoEXT"; + case StructureType::eRenderPassSampleLocationsBeginInfoEXT : return "RenderPassSampleLocationsBeginInfoEXT"; + case StructureType::ePipelineSampleLocationsStateCreateInfoEXT : return "PipelineSampleLocationsStateCreateInfoEXT"; + case StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT : return "PhysicalDeviceSampleLocationsPropertiesEXT"; + case StructureType::eMultisamplePropertiesEXT : return "MultisamplePropertiesEXT"; + case StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT : return "PhysicalDeviceBlendOperationAdvancedFeaturesEXT"; + case StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT : return "PhysicalDeviceBlendOperationAdvancedPropertiesEXT"; + case StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT : return "PipelineColorBlendAdvancedStateCreateInfoEXT"; + case StructureType::ePipelineCoverageToColorStateCreateInfoNV : return "PipelineCoverageToColorStateCreateInfoNV"; + case StructureType::eBindAccelerationStructureMemoryInfoKHR : return "BindAccelerationStructureMemoryInfoKHR"; + case StructureType::eWriteDescriptorSetAccelerationStructureKHR : return "WriteDescriptorSetAccelerationStructureKHR"; + case StructureType::eAccelerationStructureBuildGeometryInfoKHR : return "AccelerationStructureBuildGeometryInfoKHR"; + case StructureType::eAccelerationStructureCreateGeometryTypeInfoKHR : return "AccelerationStructureCreateGeometryTypeInfoKHR"; + case StructureType::eAccelerationStructureDeviceAddressInfoKHR : return "AccelerationStructureDeviceAddressInfoKHR"; + case StructureType::eAccelerationStructureGeometryAabbsDataKHR : return "AccelerationStructureGeometryAabbsDataKHR"; + case StructureType::eAccelerationStructureGeometryInstancesDataKHR : return "AccelerationStructureGeometryInstancesDataKHR"; + case StructureType::eAccelerationStructureGeometryTrianglesDataKHR : return "AccelerationStructureGeometryTrianglesDataKHR"; + case StructureType::eAccelerationStructureGeometryKHR : return "AccelerationStructureGeometryKHR"; + case StructureType::eAccelerationStructureMemoryRequirementsInfoKHR : return "AccelerationStructureMemoryRequirementsInfoKHR"; + case StructureType::eAccelerationStructureVersionKHR : return "AccelerationStructureVersionKHR"; + case StructureType::eCopyAccelerationStructureInfoKHR : return "CopyAccelerationStructureInfoKHR"; + case StructureType::eCopyAccelerationStructureToMemoryInfoKHR : return "CopyAccelerationStructureToMemoryInfoKHR"; + case StructureType::eCopyMemoryToAccelerationStructureInfoKHR : return "CopyMemoryToAccelerationStructureInfoKHR"; + case StructureType::ePhysicalDeviceRayTracingFeaturesKHR : return "PhysicalDeviceRayTracingFeaturesKHR"; + case StructureType::ePhysicalDeviceRayTracingPropertiesKHR : return "PhysicalDeviceRayTracingPropertiesKHR"; + case StructureType::eRayTracingPipelineCreateInfoKHR : return "RayTracingPipelineCreateInfoKHR"; + case StructureType::eRayTracingShaderGroupCreateInfoKHR : return "RayTracingShaderGroupCreateInfoKHR"; + case StructureType::eAccelerationStructureCreateInfoKHR : return "AccelerationStructureCreateInfoKHR"; + case StructureType::eRayTracingPipelineInterfaceCreateInfoKHR : return "RayTracingPipelineInterfaceCreateInfoKHR"; + case StructureType::ePipelineCoverageModulationStateCreateInfoNV : return "PipelineCoverageModulationStateCreateInfoNV"; + case StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV : return "PhysicalDeviceShaderSmBuiltinsFeaturesNV"; + case StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV : return "PhysicalDeviceShaderSmBuiltinsPropertiesNV"; + case StructureType::eDrmFormatModifierPropertiesListEXT : return "DrmFormatModifierPropertiesListEXT"; + case StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT : return "PhysicalDeviceImageDrmFormatModifierInfoEXT"; + case StructureType::eImageDrmFormatModifierListCreateInfoEXT : return "ImageDrmFormatModifierListCreateInfoEXT"; + case StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT : return "ImageDrmFormatModifierExplicitCreateInfoEXT"; + case StructureType::eImageDrmFormatModifierPropertiesEXT : return "ImageDrmFormatModifierPropertiesEXT"; + case StructureType::eValidationCacheCreateInfoEXT : return "ValidationCacheCreateInfoEXT"; + case StructureType::eShaderModuleValidationCacheCreateInfoEXT : return "ShaderModuleValidationCacheCreateInfoEXT"; + case StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR : return "PhysicalDevicePortabilitySubsetFeaturesKHR"; + case StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR : return "PhysicalDevicePortabilitySubsetPropertiesKHR"; + case StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV : return "PipelineViewportShadingRateImageStateCreateInfoNV"; + case StructureType::ePhysicalDeviceShadingRateImageFeaturesNV : return "PhysicalDeviceShadingRateImageFeaturesNV"; + case StructureType::ePhysicalDeviceShadingRateImagePropertiesNV : return "PhysicalDeviceShadingRateImagePropertiesNV"; + case StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV : return "PipelineViewportCoarseSampleOrderStateCreateInfoNV"; + case StructureType::eRayTracingPipelineCreateInfoNV : return "RayTracingPipelineCreateInfoNV"; + case StructureType::eAccelerationStructureCreateInfoNV : return "AccelerationStructureCreateInfoNV"; + case StructureType::eGeometryNV : return "GeometryNV"; + case StructureType::eGeometryTrianglesNV : return "GeometryTrianglesNV"; + case StructureType::eGeometryAabbNV : return "GeometryAabbNV"; + case StructureType::eAccelerationStructureMemoryRequirementsInfoNV : return "AccelerationStructureMemoryRequirementsInfoNV"; + case StructureType::ePhysicalDeviceRayTracingPropertiesNV : return "PhysicalDeviceRayTracingPropertiesNV"; + case StructureType::eRayTracingShaderGroupCreateInfoNV : return "RayTracingShaderGroupCreateInfoNV"; + case StructureType::eAccelerationStructureInfoNV : return "AccelerationStructureInfoNV"; + case StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV : return "PhysicalDeviceRepresentativeFragmentTestFeaturesNV"; + case StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV : return "PipelineRepresentativeFragmentTestStateCreateInfoNV"; + case StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT : return "PhysicalDeviceImageViewImageFormatInfoEXT"; + case StructureType::eFilterCubicImageViewImageFormatPropertiesEXT : return "FilterCubicImageViewImageFormatPropertiesEXT"; + case StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT : return "DeviceQueueGlobalPriorityCreateInfoEXT"; + case StructureType::eImportMemoryHostPointerInfoEXT : return "ImportMemoryHostPointerInfoEXT"; + case StructureType::eMemoryHostPointerPropertiesEXT : return "MemoryHostPointerPropertiesEXT"; + case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT : return "PhysicalDeviceExternalMemoryHostPropertiesEXT"; + case StructureType::ePhysicalDeviceShaderClockFeaturesKHR : return "PhysicalDeviceShaderClockFeaturesKHR"; + case StructureType::ePipelineCompilerControlCreateInfoAMD : return "PipelineCompilerControlCreateInfoAMD"; + case StructureType::eCalibratedTimestampInfoEXT : return "CalibratedTimestampInfoEXT"; + case StructureType::ePhysicalDeviceShaderCorePropertiesAMD : return "PhysicalDeviceShaderCorePropertiesAMD"; + case StructureType::eDeviceMemoryOverallocationCreateInfoAMD : return "DeviceMemoryOverallocationCreateInfoAMD"; + case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT : return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT"; + case StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT : return "PipelineVertexInputDivisorStateCreateInfoEXT"; + case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT : return "PhysicalDeviceVertexAttributeDivisorFeaturesEXT"; + case StructureType::ePresentFrameTokenGGP : return "PresentFrameTokenGGP"; + case StructureType::ePipelineCreationFeedbackCreateInfoEXT : return "PipelineCreationFeedbackCreateInfoEXT"; + case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV : return "PhysicalDeviceComputeShaderDerivativesFeaturesNV"; + case StructureType::ePhysicalDeviceMeshShaderFeaturesNV : return "PhysicalDeviceMeshShaderFeaturesNV"; + case StructureType::ePhysicalDeviceMeshShaderPropertiesNV : return "PhysicalDeviceMeshShaderPropertiesNV"; + case StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV : return "PhysicalDeviceFragmentShaderBarycentricFeaturesNV"; + case StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV : return "PhysicalDeviceShaderImageFootprintFeaturesNV"; + case StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV : return "PipelineViewportExclusiveScissorStateCreateInfoNV"; + case StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV : return "PhysicalDeviceExclusiveScissorFeaturesNV"; + case StructureType::eCheckpointDataNV : return "CheckpointDataNV"; + case StructureType::eQueueFamilyCheckpointPropertiesNV : return "QueueFamilyCheckpointPropertiesNV"; + case StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL : return "PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL"; + case StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL : return "QueryPoolPerformanceQueryCreateInfoINTEL"; + case StructureType::eInitializePerformanceApiInfoINTEL : return "InitializePerformanceApiInfoINTEL"; + case StructureType::ePerformanceMarkerInfoINTEL : return "PerformanceMarkerInfoINTEL"; + case StructureType::ePerformanceStreamMarkerInfoINTEL : return "PerformanceStreamMarkerInfoINTEL"; + case StructureType::ePerformanceOverrideInfoINTEL : return "PerformanceOverrideInfoINTEL"; + case StructureType::ePerformanceConfigurationAcquireInfoINTEL : return "PerformanceConfigurationAcquireInfoINTEL"; + case StructureType::ePhysicalDevicePciBusInfoPropertiesEXT : return "PhysicalDevicePciBusInfoPropertiesEXT"; + case StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD : return "DisplayNativeHdrSurfaceCapabilitiesAMD"; + case StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD : return "SwapchainDisplayNativeHdrCreateInfoAMD"; + case StructureType::eImagepipeSurfaceCreateInfoFUCHSIA : return "ImagepipeSurfaceCreateInfoFUCHSIA"; + case StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR : return "PhysicalDeviceShaderTerminateInvocationFeaturesKHR"; + case StructureType::eMetalSurfaceCreateInfoEXT : return "MetalSurfaceCreateInfoEXT"; + case StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT : return "PhysicalDeviceFragmentDensityMapFeaturesEXT"; + case StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT : return "PhysicalDeviceFragmentDensityMapPropertiesEXT"; + case StructureType::eRenderPassFragmentDensityMapCreateInfoEXT : return "RenderPassFragmentDensityMapCreateInfoEXT"; + case StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT : return "PhysicalDeviceSubgroupSizeControlPropertiesEXT"; + case StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT : return "PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT"; + case StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT : return "PhysicalDeviceSubgroupSizeControlFeaturesEXT"; + case StructureType::eFragmentShadingRateAttachmentInfoKHR : return "FragmentShadingRateAttachmentInfoKHR"; + case StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR : return "PipelineFragmentShadingRateStateCreateInfoKHR"; + case StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR : return "PhysicalDeviceFragmentShadingRatePropertiesKHR"; + case StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR : return "PhysicalDeviceFragmentShadingRateFeaturesKHR"; + case StructureType::ePhysicalDeviceFragmentShadingRateKHR : return "PhysicalDeviceFragmentShadingRateKHR"; + case StructureType::ePhysicalDeviceShaderCoreProperties2AMD : return "PhysicalDeviceShaderCoreProperties2AMD"; + case StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD : return "PhysicalDeviceCoherentMemoryFeaturesAMD"; + case StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT : return "PhysicalDeviceShaderImageAtomicInt64FeaturesEXT"; + case StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT : return "PhysicalDeviceMemoryBudgetPropertiesEXT"; + case StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT : return "PhysicalDeviceMemoryPriorityFeaturesEXT"; + case StructureType::eMemoryPriorityAllocateInfoEXT : return "MemoryPriorityAllocateInfoEXT"; + case StructureType::eSurfaceProtectedCapabilitiesKHR : return "SurfaceProtectedCapabilitiesKHR"; + case StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV : return "PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV"; + case StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT : return "PhysicalDeviceBufferDeviceAddressFeaturesEXT"; + case StructureType::eBufferDeviceAddressCreateInfoEXT : return "BufferDeviceAddressCreateInfoEXT"; + case StructureType::ePhysicalDeviceToolPropertiesEXT : return "PhysicalDeviceToolPropertiesEXT"; + case StructureType::eValidationFeaturesEXT : return "ValidationFeaturesEXT"; + case StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV : return "PhysicalDeviceCooperativeMatrixFeaturesNV"; + case StructureType::eCooperativeMatrixPropertiesNV : return "CooperativeMatrixPropertiesNV"; + case StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV : return "PhysicalDeviceCooperativeMatrixPropertiesNV"; + case StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV : return "PhysicalDeviceCoverageReductionModeFeaturesNV"; + case StructureType::ePipelineCoverageReductionStateCreateInfoNV : return "PipelineCoverageReductionStateCreateInfoNV"; + case StructureType::eFramebufferMixedSamplesCombinationNV : return "FramebufferMixedSamplesCombinationNV"; + case StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT : return "PhysicalDeviceFragmentShaderInterlockFeaturesEXT"; + case StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT : return "PhysicalDeviceYcbcrImageArraysFeaturesEXT"; + case StructureType::eSurfaceFullScreenExclusiveInfoEXT : return "SurfaceFullScreenExclusiveInfoEXT"; + case StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT : return "SurfaceCapabilitiesFullScreenExclusiveEXT"; + case StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT : return "SurfaceFullScreenExclusiveWin32InfoEXT"; + case StructureType::eHeadlessSurfaceCreateInfoEXT : return "HeadlessSurfaceCreateInfoEXT"; + case StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT : return "PhysicalDeviceLineRasterizationFeaturesEXT"; + case StructureType::ePipelineRasterizationLineStateCreateInfoEXT : return "PipelineRasterizationLineStateCreateInfoEXT"; + case StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT : return "PhysicalDeviceLineRasterizationPropertiesEXT"; + case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT : return "PhysicalDeviceShaderAtomicFloatFeaturesEXT"; + case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT : return "PhysicalDeviceIndexTypeUint8FeaturesEXT"; + case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT : return "PhysicalDeviceExtendedDynamicStateFeaturesEXT"; + case StructureType::eDeferredOperationInfoKHR : return "DeferredOperationInfoKHR"; + case StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR : return "PhysicalDevicePipelineExecutablePropertiesFeaturesKHR"; + case StructureType::ePipelineInfoKHR : return "PipelineInfoKHR"; + case StructureType::ePipelineExecutablePropertiesKHR : return "PipelineExecutablePropertiesKHR"; + case StructureType::ePipelineExecutableInfoKHR : return "PipelineExecutableInfoKHR"; + case StructureType::ePipelineExecutableStatisticKHR : return "PipelineExecutableStatisticKHR"; + case StructureType::ePipelineExecutableInternalRepresentationKHR : return "PipelineExecutableInternalRepresentationKHR"; + case StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT : return "PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT"; + case StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV : return "PhysicalDeviceDeviceGeneratedCommandsPropertiesNV"; + case StructureType::eGraphicsShaderGroupCreateInfoNV : return "GraphicsShaderGroupCreateInfoNV"; + case StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV : return "GraphicsPipelineShaderGroupsCreateInfoNV"; + case StructureType::eIndirectCommandsLayoutTokenNV : return "IndirectCommandsLayoutTokenNV"; + case StructureType::eIndirectCommandsLayoutCreateInfoNV : return "IndirectCommandsLayoutCreateInfoNV"; + case StructureType::eGeneratedCommandsInfoNV : return "GeneratedCommandsInfoNV"; + case StructureType::eGeneratedCommandsMemoryRequirementsInfoNV : return "GeneratedCommandsMemoryRequirementsInfoNV"; + case StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV : return "PhysicalDeviceDeviceGeneratedCommandsFeaturesNV"; + case StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT : return "PhysicalDeviceTexelBufferAlignmentFeaturesEXT"; + case StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT : return "PhysicalDeviceTexelBufferAlignmentPropertiesEXT"; + case StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM : return "CommandBufferInheritanceRenderPassTransformInfoQCOM"; + case StructureType::eRenderPassTransformBeginInfoQCOM : return "RenderPassTransformBeginInfoQCOM"; + case StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT : return "PhysicalDeviceDeviceMemoryReportFeaturesEXT"; + case StructureType::eDeviceDeviceMemoryReportCreateInfoEXT : return "DeviceDeviceMemoryReportCreateInfoEXT"; + case StructureType::eDeviceMemoryReportCallbackDataEXT : return "DeviceMemoryReportCallbackDataEXT"; + case StructureType::ePhysicalDeviceRobustness2FeaturesEXT : return "PhysicalDeviceRobustness2FeaturesEXT"; + case StructureType::ePhysicalDeviceRobustness2PropertiesEXT : return "PhysicalDeviceRobustness2PropertiesEXT"; + case StructureType::eSamplerCustomBorderColorCreateInfoEXT : return "SamplerCustomBorderColorCreateInfoEXT"; + case StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT : return "PhysicalDeviceCustomBorderColorPropertiesEXT"; + case StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT : return "PhysicalDeviceCustomBorderColorFeaturesEXT"; + case StructureType::ePipelineLibraryCreateInfoKHR : return "PipelineLibraryCreateInfoKHR"; + case StructureType::ePhysicalDevicePrivateDataFeaturesEXT : return "PhysicalDevicePrivateDataFeaturesEXT"; + case StructureType::eDevicePrivateDataCreateInfoEXT : return "DevicePrivateDataCreateInfoEXT"; + case StructureType::ePrivateDataSlotCreateInfoEXT : return "PrivateDataSlotCreateInfoEXT"; + case StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT : return "PhysicalDevicePipelineCreationCacheControlFeaturesEXT"; + case StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV : return "PhysicalDeviceDiagnosticsConfigFeaturesNV"; + case StructureType::eDeviceDiagnosticsConfigCreateInfoNV : return "DeviceDiagnosticsConfigCreateInfoNV"; + case StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV : return "PhysicalDeviceFragmentShadingRateEnumsPropertiesNV"; + case StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV : return "PhysicalDeviceFragmentShadingRateEnumsFeaturesNV"; + case StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV : return "PipelineFragmentShadingRateEnumStateCreateInfoNV"; + case StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT : return "PhysicalDeviceFragmentDensityMap2FeaturesEXT"; + case StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT : return "PhysicalDeviceFragmentDensityMap2PropertiesEXT"; + case StructureType::eCopyCommandTransformInfoQCOM : return "CopyCommandTransformInfoQCOM"; + case StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT : return "PhysicalDeviceImageRobustnessFeaturesEXT"; + case StructureType::eCopyBufferInfo2KHR : return "CopyBufferInfo2KHR"; + case StructureType::eCopyImageInfo2KHR : return "CopyImageInfo2KHR"; + case StructureType::eCopyBufferToImageInfo2KHR : return "CopyBufferToImageInfo2KHR"; + case StructureType::eCopyImageToBufferInfo2KHR : return "CopyImageToBufferInfo2KHR"; + case StructureType::eBlitImageInfo2KHR : return "BlitImageInfo2KHR"; + case StructureType::eResolveImageInfo2KHR : return "ResolveImageInfo2KHR"; + case StructureType::eBufferCopy2KHR : return "BufferCopy2KHR"; + case StructureType::eImageCopy2KHR : return "ImageCopy2KHR"; + case StructureType::eImageBlit2KHR : return "ImageBlit2KHR"; + case StructureType::eBufferImageCopy2KHR : return "BufferImageCopy2KHR"; + case StructureType::eImageResolve2KHR : return "ImageResolve2KHR"; + case StructureType::ePhysicalDevice4444FormatsFeaturesEXT : return "PhysicalDevice4444FormatsFeaturesEXT"; + case StructureType::eDirectfbSurfaceCreateInfoEXT : return "DirectfbSurfaceCreateInfoEXT"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SubgroupFeatureFlagBits : VkSubgroupFeatureFlags + { + eBasic = VK_SUBGROUP_FEATURE_BASIC_BIT, + eVote = VK_SUBGROUP_FEATURE_VOTE_BIT, + eArithmetic = VK_SUBGROUP_FEATURE_ARITHMETIC_BIT, + eBallot = VK_SUBGROUP_FEATURE_BALLOT_BIT, + eShuffle = VK_SUBGROUP_FEATURE_SHUFFLE_BIT, + eShuffleRelative = VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT, + eClustered = VK_SUBGROUP_FEATURE_CLUSTERED_BIT, + eQuad = VK_SUBGROUP_FEATURE_QUAD_BIT, + ePartitionedNV = VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV + }; + + VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlagBits value ) + { + switch ( value ) + { + case SubgroupFeatureFlagBits::eBasic : return "Basic"; + case SubgroupFeatureFlagBits::eVote : return "Vote"; + case SubgroupFeatureFlagBits::eArithmetic : return "Arithmetic"; + case SubgroupFeatureFlagBits::eBallot : return "Ballot"; + case SubgroupFeatureFlagBits::eShuffle : return "Shuffle"; + case SubgroupFeatureFlagBits::eShuffleRelative : return "ShuffleRelative"; + case SubgroupFeatureFlagBits::eClustered : return "Clustered"; + case SubgroupFeatureFlagBits::eQuad : return "Quad"; + case SubgroupFeatureFlagBits::ePartitionedNV : return "PartitionedNV"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SubpassContents + { + eInline = VK_SUBPASS_CONTENTS_INLINE, + eSecondaryCommandBuffers = VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS + }; + + VULKAN_HPP_INLINE std::string to_string( SubpassContents value ) + { + switch ( value ) + { + case SubpassContents::eInline : return "Inline"; + case SubpassContents::eSecondaryCommandBuffers : return "SecondaryCommandBuffers"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SubpassDescriptionFlagBits : VkSubpassDescriptionFlags + { + ePerViewAttributesNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX, + ePerViewPositionXOnlyNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX, + eFragmentRegionQCOM = VK_SUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM, + eShaderResolveQCOM = VK_SUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM + }; + + VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlagBits value ) + { + switch ( value ) + { + case SubpassDescriptionFlagBits::ePerViewAttributesNVX : return "PerViewAttributesNVX"; + case SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX : return "PerViewPositionXOnlyNVX"; + case SubpassDescriptionFlagBits::eFragmentRegionQCOM : return "FragmentRegionQCOM"; + case SubpassDescriptionFlagBits::eShaderResolveQCOM : return "ShaderResolveQCOM"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SurfaceCounterFlagBitsEXT : VkSurfaceCounterFlagsEXT + { + eVblank = VK_SURFACE_COUNTER_VBLANK_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagBitsEXT value ) + { + switch ( value ) + { + case SurfaceCounterFlagBitsEXT::eVblank : return "Vblank"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SurfaceTransformFlagBitsKHR : VkSurfaceTransformFlagsKHR + { + eIdentity = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, + eRotate90 = VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR, + eRotate180 = VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR, + eRotate270 = VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR, + eHorizontalMirror = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR, + eHorizontalMirrorRotate90 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR, + eHorizontalMirrorRotate180 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR, + eHorizontalMirrorRotate270 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR, + eInherit = VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagBitsKHR value ) + { + switch ( value ) + { + case SurfaceTransformFlagBitsKHR::eIdentity : return "Identity"; + case SurfaceTransformFlagBitsKHR::eRotate90 : return "Rotate90"; + case SurfaceTransformFlagBitsKHR::eRotate180 : return "Rotate180"; + case SurfaceTransformFlagBitsKHR::eRotate270 : return "Rotate270"; + case SurfaceTransformFlagBitsKHR::eHorizontalMirror : return "HorizontalMirror"; + case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 : return "HorizontalMirrorRotate90"; + case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 : return "HorizontalMirrorRotate180"; + case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 : return "HorizontalMirrorRotate270"; + case SurfaceTransformFlagBitsKHR::eInherit : return "Inherit"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SwapchainCreateFlagBitsKHR : VkSwapchainCreateFlagsKHR + { + eSplitInstanceBindRegions = VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR, + eProtected = VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR, + eMutableFormat = VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR + }; + + VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagBitsKHR value ) + { + switch ( value ) + { + case SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions : return "SplitInstanceBindRegions"; + case SwapchainCreateFlagBitsKHR::eProtected : return "Protected"; + case SwapchainCreateFlagBitsKHR::eMutableFormat : return "MutableFormat"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class SystemAllocationScope + { + eCommand = VK_SYSTEM_ALLOCATION_SCOPE_COMMAND, + eObject = VK_SYSTEM_ALLOCATION_SCOPE_OBJECT, + eCache = VK_SYSTEM_ALLOCATION_SCOPE_CACHE, + eDevice = VK_SYSTEM_ALLOCATION_SCOPE_DEVICE, + eInstance = VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE + }; + + VULKAN_HPP_INLINE std::string to_string( SystemAllocationScope value ) + { + switch ( value ) + { + case SystemAllocationScope::eCommand : return "Command"; + case SystemAllocationScope::eObject : return "Object"; + case SystemAllocationScope::eCache : return "Cache"; + case SystemAllocationScope::eDevice : return "Device"; + case SystemAllocationScope::eInstance : return "Instance"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class TessellationDomainOrigin + { + eUpperLeft = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT, + eLowerLeft = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT + }; + using TessellationDomainOriginKHR = TessellationDomainOrigin; + + VULKAN_HPP_INLINE std::string to_string( TessellationDomainOrigin value ) + { + switch ( value ) + { + case TessellationDomainOrigin::eUpperLeft : return "UpperLeft"; + case TessellationDomainOrigin::eLowerLeft : return "LowerLeft"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class TimeDomainEXT + { + eDevice = VK_TIME_DOMAIN_DEVICE_EXT, + eClockMonotonic = VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT, + eClockMonotonicRaw = VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT, + eQueryPerformanceCounter = VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( TimeDomainEXT value ) + { + switch ( value ) + { + case TimeDomainEXT::eDevice : return "Device"; + case TimeDomainEXT::eClockMonotonic : return "ClockMonotonic"; + case TimeDomainEXT::eClockMonotonicRaw : return "ClockMonotonicRaw"; + case TimeDomainEXT::eQueryPerformanceCounter : return "QueryPerformanceCounter"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ToolPurposeFlagBitsEXT : VkToolPurposeFlagsEXT + { + eValidation = VK_TOOL_PURPOSE_VALIDATION_BIT_EXT, + eProfiling = VK_TOOL_PURPOSE_PROFILING_BIT_EXT, + eTracing = VK_TOOL_PURPOSE_TRACING_BIT_EXT, + eAdditionalFeatures = VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT, + eModifyingFeatures = VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT, + eDebugReporting = VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT, + eDebugMarkers = VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlagBitsEXT value ) + { + switch ( value ) + { + case ToolPurposeFlagBitsEXT::eValidation : return "Validation"; + case ToolPurposeFlagBitsEXT::eProfiling : return "Profiling"; + case ToolPurposeFlagBitsEXT::eTracing : return "Tracing"; + case ToolPurposeFlagBitsEXT::eAdditionalFeatures : return "AdditionalFeatures"; + case ToolPurposeFlagBitsEXT::eModifyingFeatures : return "ModifyingFeatures"; + case ToolPurposeFlagBitsEXT::eDebugReporting : return "DebugReporting"; + case ToolPurposeFlagBitsEXT::eDebugMarkers : return "DebugMarkers"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ValidationCacheHeaderVersionEXT + { + eOne = VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ValidationCacheHeaderVersionEXT value ) + { + switch ( value ) + { + case ValidationCacheHeaderVersionEXT::eOne : return "One"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ValidationCheckEXT + { + eAll = VK_VALIDATION_CHECK_ALL_EXT, + eShaders = VK_VALIDATION_CHECK_SHADERS_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ValidationCheckEXT value ) + { + switch ( value ) + { + case ValidationCheckEXT::eAll : return "All"; + case ValidationCheckEXT::eShaders : return "Shaders"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ValidationFeatureDisableEXT + { + eAll = VK_VALIDATION_FEATURE_DISABLE_ALL_EXT, + eShaders = VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT, + eThreadSafety = VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT, + eApiParameters = VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT, + eObjectLifetimes = VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT, + eCoreChecks = VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT, + eUniqueHandles = VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ValidationFeatureDisableEXT value ) + { + switch ( value ) + { + case ValidationFeatureDisableEXT::eAll : return "All"; + case ValidationFeatureDisableEXT::eShaders : return "Shaders"; + case ValidationFeatureDisableEXT::eThreadSafety : return "ThreadSafety"; + case ValidationFeatureDisableEXT::eApiParameters : return "ApiParameters"; + case ValidationFeatureDisableEXT::eObjectLifetimes : return "ObjectLifetimes"; + case ValidationFeatureDisableEXT::eCoreChecks : return "CoreChecks"; + case ValidationFeatureDisableEXT::eUniqueHandles : return "UniqueHandles"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ValidationFeatureEnableEXT + { + eGpuAssisted = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT, + eGpuAssistedReserveBindingSlot = VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT, + eBestPractices = VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT, + eDebugPrintf = VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT, + eSynchronizationValidation = VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT + }; + + VULKAN_HPP_INLINE std::string to_string( ValidationFeatureEnableEXT value ) + { + switch ( value ) + { + case ValidationFeatureEnableEXT::eGpuAssisted : return "GpuAssisted"; + case ValidationFeatureEnableEXT::eGpuAssistedReserveBindingSlot : return "GpuAssistedReserveBindingSlot"; + case ValidationFeatureEnableEXT::eBestPractices : return "BestPractices"; + case ValidationFeatureEnableEXT::eDebugPrintf : return "DebugPrintf"; + case ValidationFeatureEnableEXT::eSynchronizationValidation : return "SynchronizationValidation"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class VendorId + { + eVIV = VK_VENDOR_ID_VIV, + eVSI = VK_VENDOR_ID_VSI, + eKazan = VK_VENDOR_ID_KAZAN, + eCodeplay = VK_VENDOR_ID_CODEPLAY, + eMESA = VK_VENDOR_ID_MESA + }; + + VULKAN_HPP_INLINE std::string to_string( VendorId value ) + { + switch ( value ) + { + case VendorId::eVIV : return "VIV"; + case VendorId::eVSI : return "VSI"; + case VendorId::eKazan : return "Kazan"; + case VendorId::eCodeplay : return "Codeplay"; + case VendorId::eMESA : return "MESA"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class VertexInputRate + { + eVertex = VK_VERTEX_INPUT_RATE_VERTEX, + eInstance = VK_VERTEX_INPUT_RATE_INSTANCE + }; + + VULKAN_HPP_INLINE std::string to_string( VertexInputRate value ) + { + switch ( value ) + { + case VertexInputRate::eVertex : return "Vertex"; + case VertexInputRate::eInstance : return "Instance"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + enum class ViewportCoordinateSwizzleNV + { + ePositiveX = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV, + eNegativeX = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV, + ePositiveY = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV, + eNegativeY = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV, + ePositiveZ = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV, + eNegativeZ = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV, + ePositiveW = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV, + eNegativeW = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV + }; + + VULKAN_HPP_INLINE std::string to_string( ViewportCoordinateSwizzleNV value ) + { + switch ( value ) + { + case ViewportCoordinateSwizzleNV::ePositiveX : return "PositiveX"; + case ViewportCoordinateSwizzleNV::eNegativeX : return "NegativeX"; + case ViewportCoordinateSwizzleNV::ePositiveY : return "PositiveY"; + case ViewportCoordinateSwizzleNV::eNegativeY : return "NegativeY"; + case ViewportCoordinateSwizzleNV::ePositiveZ : return "PositiveZ"; + case ViewportCoordinateSwizzleNV::eNegativeZ : return "NegativeZ"; + case ViewportCoordinateSwizzleNV::ePositiveW : return "PositiveW"; + case ViewportCoordinateSwizzleNV::eNegativeW : return "NegativeW"; + default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast( value ) ) + " )"; + } + } + + template + struct IndexTypeValue + {}; + + template <> + struct IndexTypeValue + { + static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint16; + }; + + template <> + struct CppType + { + using Type = uint16_t; + }; + + template <> + struct IndexTypeValue + { + static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint32; + }; + + template <> + struct CppType + { + using Type = uint32_t; + }; + + template <> + struct IndexTypeValue + { + static VULKAN_HPP_CONST_OR_CONSTEXPR IndexType value = IndexType::eUint8EXT; + }; + + template <> + struct CppType + { + using Type = uint8_t; + }; + + + using AccessFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(AccessFlagBits::eIndirectCommandRead) | VkFlags(AccessFlagBits::eIndexRead) | VkFlags(AccessFlagBits::eVertexAttributeRead) | VkFlags(AccessFlagBits::eUniformRead) | VkFlags(AccessFlagBits::eInputAttachmentRead) | VkFlags(AccessFlagBits::eShaderRead) | VkFlags(AccessFlagBits::eShaderWrite) | VkFlags(AccessFlagBits::eColorAttachmentRead) | VkFlags(AccessFlagBits::eColorAttachmentWrite) | VkFlags(AccessFlagBits::eDepthStencilAttachmentRead) | VkFlags(AccessFlagBits::eDepthStencilAttachmentWrite) | VkFlags(AccessFlagBits::eTransferRead) | VkFlags(AccessFlagBits::eTransferWrite) | VkFlags(AccessFlagBits::eHostRead) | VkFlags(AccessFlagBits::eHostWrite) | VkFlags(AccessFlagBits::eMemoryRead) | VkFlags(AccessFlagBits::eMemoryWrite) | VkFlags(AccessFlagBits::eTransformFeedbackWriteEXT) | VkFlags(AccessFlagBits::eTransformFeedbackCounterReadEXT) | VkFlags(AccessFlagBits::eTransformFeedbackCounterWriteEXT) | VkFlags(AccessFlagBits::eConditionalRenderingReadEXT) | VkFlags(AccessFlagBits::eColorAttachmentReadNoncoherentEXT) | VkFlags(AccessFlagBits::eAccelerationStructureReadKHR) | VkFlags(AccessFlagBits::eAccelerationStructureWriteKHR) | VkFlags(AccessFlagBits::eShadingRateImageReadNV) | VkFlags(AccessFlagBits::eFragmentDensityMapReadEXT) | VkFlags(AccessFlagBits::eCommandPreprocessReadNV) | VkFlags(AccessFlagBits::eCommandPreprocessWriteNV) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator|( AccessFlagBits bit0, AccessFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AccessFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator&( AccessFlagBits bit0, AccessFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AccessFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator^( AccessFlagBits bit0, AccessFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AccessFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AccessFlags operator~( AccessFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( AccessFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( AccessFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & AccessFlagBits::eIndirectCommandRead ) result += "IndirectCommandRead | "; + if ( value & AccessFlagBits::eIndexRead ) result += "IndexRead | "; + if ( value & AccessFlagBits::eVertexAttributeRead ) result += "VertexAttributeRead | "; + if ( value & AccessFlagBits::eUniformRead ) result += "UniformRead | "; + if ( value & AccessFlagBits::eInputAttachmentRead ) result += "InputAttachmentRead | "; + if ( value & AccessFlagBits::eShaderRead ) result += "ShaderRead | "; + if ( value & AccessFlagBits::eShaderWrite ) result += "ShaderWrite | "; + if ( value & AccessFlagBits::eColorAttachmentRead ) result += "ColorAttachmentRead | "; + if ( value & AccessFlagBits::eColorAttachmentWrite ) result += "ColorAttachmentWrite | "; + if ( value & AccessFlagBits::eDepthStencilAttachmentRead ) result += "DepthStencilAttachmentRead | "; + if ( value & AccessFlagBits::eDepthStencilAttachmentWrite ) result += "DepthStencilAttachmentWrite | "; + if ( value & AccessFlagBits::eTransferRead ) result += "TransferRead | "; + if ( value & AccessFlagBits::eTransferWrite ) result += "TransferWrite | "; + if ( value & AccessFlagBits::eHostRead ) result += "HostRead | "; + if ( value & AccessFlagBits::eHostWrite ) result += "HostWrite | "; + if ( value & AccessFlagBits::eMemoryRead ) result += "MemoryRead | "; + if ( value & AccessFlagBits::eMemoryWrite ) result += "MemoryWrite | "; + if ( value & AccessFlagBits::eTransformFeedbackWriteEXT ) result += "TransformFeedbackWriteEXT | "; + if ( value & AccessFlagBits::eTransformFeedbackCounterReadEXT ) result += "TransformFeedbackCounterReadEXT | "; + if ( value & AccessFlagBits::eTransformFeedbackCounterWriteEXT ) result += "TransformFeedbackCounterWriteEXT | "; + if ( value & AccessFlagBits::eConditionalRenderingReadEXT ) result += "ConditionalRenderingReadEXT | "; + if ( value & AccessFlagBits::eColorAttachmentReadNoncoherentEXT ) result += "ColorAttachmentReadNoncoherentEXT | "; + if ( value & AccessFlagBits::eAccelerationStructureReadKHR ) result += "AccelerationStructureReadKHR | "; + if ( value & AccessFlagBits::eAccelerationStructureWriteKHR ) result += "AccelerationStructureWriteKHR | "; + if ( value & AccessFlagBits::eShadingRateImageReadNV ) result += "ShadingRateImageReadNV | "; + if ( value & AccessFlagBits::eFragmentDensityMapReadEXT ) result += "FragmentDensityMapReadEXT | "; + if ( value & AccessFlagBits::eCommandPreprocessReadNV ) result += "CommandPreprocessReadNV | "; + if ( value & AccessFlagBits::eCommandPreprocessWriteNV ) result += "CommandPreprocessWriteNV | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using AcquireProfilingLockFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( AcquireProfilingLockFlagsKHR ) + { + + return "{}"; + } + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + enum class AndroidSurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using AndroidSurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( AndroidSurfaceCreateFlagsKHR ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + using AttachmentDescriptionFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(AttachmentDescriptionFlagBits::eMayAlias) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags operator|( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AttachmentDescriptionFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags operator&( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AttachmentDescriptionFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags operator^( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return AttachmentDescriptionFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR AttachmentDescriptionFlags operator~( AttachmentDescriptionFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( AttachmentDescriptionFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( AttachmentDescriptionFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & AttachmentDescriptionFlagBits::eMayAlias ) result += "MayAlias | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using BufferCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(BufferCreateFlagBits::eSparseBinding) | VkFlags(BufferCreateFlagBits::eSparseResidency) | VkFlags(BufferCreateFlagBits::eSparseAliased) | VkFlags(BufferCreateFlagBits::eProtected) | VkFlags(BufferCreateFlagBits::eDeviceAddressCaptureReplay) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator|( BufferCreateFlagBits bit0, BufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator&( BufferCreateFlagBits bit0, BufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator^( BufferCreateFlagBits bit0, BufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferCreateFlags operator~( BufferCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( BufferCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( BufferCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & BufferCreateFlagBits::eSparseBinding ) result += "SparseBinding | "; + if ( value & BufferCreateFlagBits::eSparseResidency ) result += "SparseResidency | "; + if ( value & BufferCreateFlagBits::eSparseAliased ) result += "SparseAliased | "; + if ( value & BufferCreateFlagBits::eProtected ) result += "Protected | "; + if ( value & BufferCreateFlagBits::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using BufferUsageFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(BufferUsageFlagBits::eTransferSrc) | VkFlags(BufferUsageFlagBits::eTransferDst) | VkFlags(BufferUsageFlagBits::eUniformTexelBuffer) | VkFlags(BufferUsageFlagBits::eStorageTexelBuffer) | VkFlags(BufferUsageFlagBits::eUniformBuffer) | VkFlags(BufferUsageFlagBits::eStorageBuffer) | VkFlags(BufferUsageFlagBits::eIndexBuffer) | VkFlags(BufferUsageFlagBits::eVertexBuffer) | VkFlags(BufferUsageFlagBits::eIndirectBuffer) | VkFlags(BufferUsageFlagBits::eShaderDeviceAddress) | VkFlags(BufferUsageFlagBits::eTransformFeedbackBufferEXT) | VkFlags(BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT) | VkFlags(BufferUsageFlagBits::eConditionalRenderingEXT) | VkFlags(BufferUsageFlagBits::eRayTracingKHR) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator|( BufferUsageFlagBits bit0, BufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferUsageFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator&( BufferUsageFlagBits bit0, BufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferUsageFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator^( BufferUsageFlagBits bit0, BufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return BufferUsageFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BufferUsageFlags operator~( BufferUsageFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( BufferUsageFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( BufferUsageFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & BufferUsageFlagBits::eTransferSrc ) result += "TransferSrc | "; + if ( value & BufferUsageFlagBits::eTransferDst ) result += "TransferDst | "; + if ( value & BufferUsageFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; + if ( value & BufferUsageFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; + if ( value & BufferUsageFlagBits::eUniformBuffer ) result += "UniformBuffer | "; + if ( value & BufferUsageFlagBits::eStorageBuffer ) result += "StorageBuffer | "; + if ( value & BufferUsageFlagBits::eIndexBuffer ) result += "IndexBuffer | "; + if ( value & BufferUsageFlagBits::eVertexBuffer ) result += "VertexBuffer | "; + if ( value & BufferUsageFlagBits::eIndirectBuffer ) result += "IndirectBuffer | "; + if ( value & BufferUsageFlagBits::eShaderDeviceAddress ) result += "ShaderDeviceAddress | "; + if ( value & BufferUsageFlagBits::eTransformFeedbackBufferEXT ) result += "TransformFeedbackBufferEXT | "; + if ( value & BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) result += "TransformFeedbackCounterBufferEXT | "; + if ( value & BufferUsageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; + if ( value & BufferUsageFlagBits::eRayTracingKHR ) result += "RayTracingKHR | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class BufferViewCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlagBits ) + { + return "(void)"; + } + + using BufferViewCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( BufferViewCreateFlags ) + { + + return "{}"; + } + + + using BuildAccelerationStructureFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(BuildAccelerationStructureFlagBitsKHR::eAllowUpdate) | VkFlags(BuildAccelerationStructureFlagBitsKHR::eAllowCompaction) | VkFlags(BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace) | VkFlags(BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild) | VkFlags(BuildAccelerationStructureFlagBitsKHR::eLowMemory) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator|( BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return BuildAccelerationStructureFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator&( BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return BuildAccelerationStructureFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator^( BuildAccelerationStructureFlagBitsKHR bit0, BuildAccelerationStructureFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return BuildAccelerationStructureFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR BuildAccelerationStructureFlagsKHR operator~( BuildAccelerationStructureFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( BuildAccelerationStructureFlagsKHR( bits ) ); + } + + using BuildAccelerationStructureFlagsNV = BuildAccelerationStructureFlagsKHR; + + VULKAN_HPP_INLINE std::string to_string( BuildAccelerationStructureFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowUpdate ) result += "AllowUpdate | "; + if ( value & BuildAccelerationStructureFlagBitsKHR::eAllowCompaction ) result += "AllowCompaction | "; + if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastTrace ) result += "PreferFastTrace | "; + if ( value & BuildAccelerationStructureFlagBitsKHR::ePreferFastBuild ) result += "PreferFastBuild | "; + if ( value & BuildAccelerationStructureFlagBitsKHR::eLowMemory ) result += "LowMemory | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ColorComponentFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ColorComponentFlagBits::eR) | VkFlags(ColorComponentFlagBits::eG) | VkFlags(ColorComponentFlagBits::eB) | VkFlags(ColorComponentFlagBits::eA) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator|( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ColorComponentFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator&( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ColorComponentFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator^( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ColorComponentFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ColorComponentFlags operator~( ColorComponentFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ColorComponentFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ColorComponentFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ColorComponentFlagBits::eR ) result += "R | "; + if ( value & ColorComponentFlagBits::eG ) result += "G | "; + if ( value & ColorComponentFlagBits::eB ) result += "B | "; + if ( value & ColorComponentFlagBits::eA ) result += "A | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using CommandBufferResetFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CommandBufferResetFlagBits::eReleaseResources) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags operator|( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferResetFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags operator&( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferResetFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags operator^( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferResetFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferResetFlags operator~( CommandBufferResetFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CommandBufferResetFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CommandBufferResetFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CommandBufferResetFlagBits::eReleaseResources ) result += "ReleaseResources | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using CommandBufferUsageFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CommandBufferUsageFlagBits::eOneTimeSubmit) | VkFlags(CommandBufferUsageFlagBits::eRenderPassContinue) | VkFlags(CommandBufferUsageFlagBits::eSimultaneousUse) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags operator|( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferUsageFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags operator&( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferUsageFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags operator^( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandBufferUsageFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandBufferUsageFlags operator~( CommandBufferUsageFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CommandBufferUsageFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CommandBufferUsageFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CommandBufferUsageFlagBits::eOneTimeSubmit ) result += "OneTimeSubmit | "; + if ( value & CommandBufferUsageFlagBits::eRenderPassContinue ) result += "RenderPassContinue | "; + if ( value & CommandBufferUsageFlagBits::eSimultaneousUse ) result += "SimultaneousUse | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using CommandPoolCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CommandPoolCreateFlagBits::eTransient) | VkFlags(CommandPoolCreateFlagBits::eResetCommandBuffer) | VkFlags(CommandPoolCreateFlagBits::eProtected) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags operator|( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags operator&( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags operator^( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolCreateFlags operator~( CommandPoolCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CommandPoolCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CommandPoolCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CommandPoolCreateFlagBits::eTransient ) result += "Transient | "; + if ( value & CommandPoolCreateFlagBits::eResetCommandBuffer ) result += "ResetCommandBuffer | "; + if ( value & CommandPoolCreateFlagBits::eProtected ) result += "Protected | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using CommandPoolResetFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CommandPoolResetFlagBits::eReleaseResources) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags operator|( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolResetFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags operator&( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolResetFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags operator^( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CommandPoolResetFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CommandPoolResetFlags operator~( CommandPoolResetFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CommandPoolResetFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CommandPoolResetFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CommandPoolResetFlagBits::eReleaseResources ) result += "ReleaseResources | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class CommandPoolTrimFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlagBits ) + { + return "(void)"; + } + + using CommandPoolTrimFlags = Flags; + + using CommandPoolTrimFlagsKHR = CommandPoolTrimFlags; + + VULKAN_HPP_INLINE std::string to_string( CommandPoolTrimFlags ) + { + + return "{}"; + } + + + using CompositeAlphaFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CompositeAlphaFlagBitsKHR::eOpaque) | VkFlags(CompositeAlphaFlagBitsKHR::ePreMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::ePostMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::eInherit) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR operator|( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return CompositeAlphaFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR operator&( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return CompositeAlphaFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR operator^( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return CompositeAlphaFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CompositeAlphaFlagsKHR operator~( CompositeAlphaFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CompositeAlphaFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CompositeAlphaFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CompositeAlphaFlagBitsKHR::eOpaque ) result += "Opaque | "; + if ( value & CompositeAlphaFlagBitsKHR::ePreMultiplied ) result += "PreMultiplied | "; + if ( value & CompositeAlphaFlagBitsKHR::ePostMultiplied ) result += "PostMultiplied | "; + if ( value & CompositeAlphaFlagBitsKHR::eInherit ) result += "Inherit | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ConditionalRenderingFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ConditionalRenderingFlagBitsEXT::eInverted) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT operator|( ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ConditionalRenderingFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT operator&( ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ConditionalRenderingFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT operator^( ConditionalRenderingFlagBitsEXT bit0, ConditionalRenderingFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ConditionalRenderingFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ConditionalRenderingFlagsEXT operator~( ConditionalRenderingFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ConditionalRenderingFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ConditionalRenderingFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ConditionalRenderingFlagBitsEXT::eInverted ) result += "Inverted | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using CullModeFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(CullModeFlagBits::eNone) | VkFlags(CullModeFlagBits::eFront) | VkFlags(CullModeFlagBits::eBack) | VkFlags(CullModeFlagBits::eFrontAndBack) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator|( CullModeFlagBits bit0, CullModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CullModeFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator&( CullModeFlagBits bit0, CullModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CullModeFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator^( CullModeFlagBits bit0, CullModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return CullModeFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR CullModeFlags operator~( CullModeFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( CullModeFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( CullModeFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & CullModeFlagBits::eFront ) result += "Front | "; + if ( value & CullModeFlagBits::eBack ) result += "Back | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DebugReportFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DebugReportFlagBitsEXT::eInformation) | VkFlags(DebugReportFlagBitsEXT::eWarning) | VkFlags(DebugReportFlagBitsEXT::ePerformanceWarning) | VkFlags(DebugReportFlagBitsEXT::eError) | VkFlags(DebugReportFlagBitsEXT::eDebug) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator|( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugReportFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator&( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugReportFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator^( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugReportFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugReportFlagsEXT operator~( DebugReportFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DebugReportFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DebugReportFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DebugReportFlagBitsEXT::eInformation ) result += "Information | "; + if ( value & DebugReportFlagBitsEXT::eWarning ) result += "Warning | "; + if ( value & DebugReportFlagBitsEXT::ePerformanceWarning ) result += "PerformanceWarning | "; + if ( value & DebugReportFlagBitsEXT::eError ) result += "Error | "; + if ( value & DebugReportFlagBitsEXT::eDebug ) result += "Debug | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DebugUtilsMessageSeverityFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eVerbose) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eInfo) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eWarning) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eError) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator|( DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageSeverityFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator&( DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageSeverityFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator^( DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageSeverityFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageSeverityFlagsEXT operator~( DebugUtilsMessageSeverityFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DebugUtilsMessageSeverityFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageSeverityFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) result += "Verbose | "; + if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) result += "Info | "; + if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) result += "Warning | "; + if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eError ) result += "Error | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DebugUtilsMessageTypeFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eGeneral) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eValidation) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::ePerformance) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT operator|( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageTypeFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT operator&( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageTypeFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT operator^( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return DebugUtilsMessageTypeFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DebugUtilsMessageTypeFlagsEXT operator~( DebugUtilsMessageTypeFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DebugUtilsMessageTypeFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessageTypeFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) result += "General | "; + if ( value & DebugUtilsMessageTypeFlagBitsEXT::eValidation ) result += "Validation | "; + if ( value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) result += "Performance | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class DebugUtilsMessengerCallbackDataFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagBitsEXT ) + { + return "(void)"; + } + + using DebugUtilsMessengerCallbackDataFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCallbackDataFlagsEXT ) + { + + return "{}"; + } + + enum class DebugUtilsMessengerCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagBitsEXT ) + { + return "(void)"; + } + + using DebugUtilsMessengerCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( DebugUtilsMessengerCreateFlagsEXT ) + { + + return "{}"; + } + + + using DependencyFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DependencyFlagBits::eByRegion) | VkFlags(DependencyFlagBits::eDeviceGroup) | VkFlags(DependencyFlagBits::eViewLocal) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator|( DependencyFlagBits bit0, DependencyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DependencyFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator&( DependencyFlagBits bit0, DependencyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DependencyFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator^( DependencyFlagBits bit0, DependencyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DependencyFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DependencyFlags operator~( DependencyFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DependencyFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DependencyFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DependencyFlagBits::eByRegion ) result += "ByRegion | "; + if ( value & DependencyFlagBits::eDeviceGroup ) result += "DeviceGroup | "; + if ( value & DependencyFlagBits::eViewLocal ) result += "ViewLocal | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DescriptorBindingFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DescriptorBindingFlagBits::eUpdateAfterBind) | VkFlags(DescriptorBindingFlagBits::eUpdateUnusedWhilePending) | VkFlags(DescriptorBindingFlagBits::ePartiallyBound) | VkFlags(DescriptorBindingFlagBits::eVariableDescriptorCount) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags operator|( DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorBindingFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags operator&( DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorBindingFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags operator^( DescriptorBindingFlagBits bit0, DescriptorBindingFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorBindingFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorBindingFlags operator~( DescriptorBindingFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DescriptorBindingFlags( bits ) ); + } + + using DescriptorBindingFlagsEXT = DescriptorBindingFlags; + + VULKAN_HPP_INLINE std::string to_string( DescriptorBindingFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DescriptorBindingFlagBits::eUpdateAfterBind ) result += "UpdateAfterBind | "; + if ( value & DescriptorBindingFlagBits::eUpdateUnusedWhilePending ) result += "UpdateUnusedWhilePending | "; + if ( value & DescriptorBindingFlagBits::ePartiallyBound ) result += "PartiallyBound | "; + if ( value & DescriptorBindingFlagBits::eVariableDescriptorCount ) result += "VariableDescriptorCount | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DescriptorPoolCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DescriptorPoolCreateFlagBits::eFreeDescriptorSet) | VkFlags(DescriptorPoolCreateFlagBits::eUpdateAfterBind) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags operator|( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorPoolCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags operator&( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorPoolCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags operator^( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorPoolCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorPoolCreateFlags operator~( DescriptorPoolCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DescriptorPoolCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DescriptorPoolCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) result += "FreeDescriptorSet | "; + if ( value & DescriptorPoolCreateFlagBits::eUpdateAfterBind ) result += "UpdateAfterBind | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class DescriptorPoolResetFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlagBits ) + { + return "(void)"; + } + + using DescriptorPoolResetFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( DescriptorPoolResetFlags ) + { + + return "{}"; + } + + + using DescriptorSetLayoutCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool) | VkFlags(DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags operator|( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorSetLayoutCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags operator&( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorSetLayoutCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags operator^( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DescriptorSetLayoutCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateFlags operator~( DescriptorSetLayoutCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DescriptorSetLayoutCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DescriptorSetLayoutCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPool ) result += "UpdateAfterBindPool | "; + if ( value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) result += "PushDescriptorKHR | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class DescriptorUpdateTemplateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlagBits ) + { + return "(void)"; + } + + using DescriptorUpdateTemplateCreateFlags = Flags; + + using DescriptorUpdateTemplateCreateFlagsKHR = DescriptorUpdateTemplateCreateFlags; + + VULKAN_HPP_INLINE std::string to_string( DescriptorUpdateTemplateCreateFlags ) + { + + return "{}"; + } + + + using DeviceCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( DeviceCreateFlags ) + { + + return "{}"; + } + + + using DeviceDiagnosticsConfigFlagsNV = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo) | VkFlags(DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking) | VkFlags(DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV operator|( DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceDiagnosticsConfigFlagsNV( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV operator&( DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceDiagnosticsConfigFlagsNV( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV operator^( DeviceDiagnosticsConfigFlagBitsNV bit0, DeviceDiagnosticsConfigFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceDiagnosticsConfigFlagsNV( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigFlagsNV operator~( DeviceDiagnosticsConfigFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DeviceDiagnosticsConfigFlagsNV( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DeviceDiagnosticsConfigFlagsNV value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableShaderDebugInfo ) result += "EnableShaderDebugInfo | "; + if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableResourceTracking ) result += "EnableResourceTracking | "; + if ( value & DeviceDiagnosticsConfigFlagBitsNV::eEnableAutomaticCheckpoints ) result += "EnableAutomaticCheckpoints | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using DeviceGroupPresentModeFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocal) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eRemote) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eSum) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR operator|( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceGroupPresentModeFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR operator&( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceGroupPresentModeFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR operator^( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceGroupPresentModeFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceGroupPresentModeFlagsKHR operator~( DeviceGroupPresentModeFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DeviceGroupPresentModeFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DeviceGroupPresentModeFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocal ) result += "Local | "; + if ( value & DeviceGroupPresentModeFlagBitsKHR::eRemote ) result += "Remote | "; + if ( value & DeviceGroupPresentModeFlagBitsKHR::eSum ) result += "Sum | "; + if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) result += "LocalMultiDevice | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class DeviceMemoryReportFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagBitsEXT ) + { + return "(void)"; + } + + using DeviceMemoryReportFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( DeviceMemoryReportFlagsEXT ) + { + + return "{}"; + } + + + using DeviceQueueCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DeviceQueueCreateFlagBits::eProtected) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags operator|( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceQueueCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags operator&( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceQueueCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags operator^( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return DeviceQueueCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DeviceQueueCreateFlags operator~( DeviceQueueCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DeviceQueueCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DeviceQueueCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DeviceQueueCreateFlagBits::eProtected ) result += "Protected | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + enum class DirectFBSurfaceCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagBitsEXT ) + { + return "(void)"; + } + + using DirectFBSurfaceCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( DirectFBSurfaceCreateFlagsEXT ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + enum class DisplayModeCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagBitsKHR ) + { + return "(void)"; + } + + using DisplayModeCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( DisplayModeCreateFlagsKHR ) + { + + return "{}"; + } + + + using DisplayPlaneAlphaFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(DisplayPlaneAlphaFlagBitsKHR::eOpaque) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::eGlobal) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixel) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR operator|( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DisplayPlaneAlphaFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR operator&( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DisplayPlaneAlphaFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR operator^( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return DisplayPlaneAlphaFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR DisplayPlaneAlphaFlagsKHR operator~( DisplayPlaneAlphaFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( DisplayPlaneAlphaFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( DisplayPlaneAlphaFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & DisplayPlaneAlphaFlagBitsKHR::eOpaque ) result += "Opaque | "; + if ( value & DisplayPlaneAlphaFlagBitsKHR::eGlobal ) result += "Global | "; + if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) result += "PerPixel | "; + if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) result += "PerPixelPremultiplied | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class DisplaySurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using DisplaySurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( DisplaySurfaceCreateFlagsKHR ) + { + + return "{}"; + } + + enum class EventCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( EventCreateFlagBits ) + { + return "(void)"; + } + + using EventCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( EventCreateFlags ) + { + + return "{}"; + } + + + using ExternalFenceFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalFenceFeatureFlagBits::eExportable) | VkFlags(ExternalFenceFeatureFlagBits::eImportable) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags operator|( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags operator&( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags operator^( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceFeatureFlags operator~( ExternalFenceFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalFenceFeatureFlags( bits ) ); + } + + using ExternalFenceFeatureFlagsKHR = ExternalFenceFeatureFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalFenceFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalFenceFeatureFlagBits::eExportable ) result += "Exportable | "; + if ( value & ExternalFenceFeatureFlagBits::eImportable ) result += "Importable | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalFenceHandleTypeFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalFenceHandleTypeFlagBits::eSyncFd) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags operator|( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceHandleTypeFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags operator&( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceHandleTypeFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags operator^( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalFenceHandleTypeFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalFenceHandleTypeFlags operator~( ExternalFenceHandleTypeFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalFenceHandleTypeFlags( bits ) ); + } + + using ExternalFenceHandleTypeFlagsKHR = ExternalFenceHandleTypeFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalFenceHandleTypeFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; + if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; + if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; + if ( value & ExternalFenceHandleTypeFlagBits::eSyncFd ) result += "SyncFd | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalMemoryFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalMemoryFeatureFlagBits::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBits::eExportable) | VkFlags(ExternalMemoryFeatureFlagBits::eImportable) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags operator|( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags operator&( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags operator^( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlags operator~( ExternalMemoryFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalMemoryFeatureFlags( bits ) ); + } + + using ExternalMemoryFeatureFlagsKHR = ExternalMemoryFeatureFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalMemoryFeatureFlagBits::eDedicatedOnly ) result += "DedicatedOnly | "; + if ( value & ExternalMemoryFeatureFlagBits::eExportable ) result += "Exportable | "; + if ( value & ExternalMemoryFeatureFlagBits::eImportable ) result += "Importable | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalMemoryFeatureFlagsNV = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eExportable) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eImportable) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV operator|( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlagsNV( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV operator&( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlagsNV( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV operator^( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryFeatureFlagsNV( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryFeatureFlagsNV operator~( ExternalMemoryFeatureFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalMemoryFeatureFlagsNV( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryFeatureFlagsNV value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) result += "DedicatedOnly | "; + if ( value & ExternalMemoryFeatureFlagBitsNV::eExportable ) result += "Exportable | "; + if ( value & ExternalMemoryFeatureFlagBitsNV::eImportable ) result += "Importable | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalMemoryHandleTypeFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11Texture) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Heap) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Resource) | VkFlags(ExternalMemoryHandleTypeFlagBits::eDmaBufEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags operator|( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags operator&( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags operator^( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlags operator~( ExternalMemoryHandleTypeFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalMemoryHandleTypeFlags( bits ) ); + } + + using ExternalMemoryHandleTypeFlagsKHR = ExternalMemoryHandleTypeFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11Texture ) result += "D3D11Texture | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt ) result += "D3D11TextureKmt | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Heap ) result += "D3D12Heap | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eD3D12Resource ) result += "D3D12Resource | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) result += "DmaBufEXT | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) result += "AndroidHardwareBufferANDROID | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) result += "HostAllocationEXT | "; + if ( value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) result += "HostMappedForeignMemoryEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalMemoryHandleTypeFlagsNV = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV operator|( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlagsNV( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV operator&( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlagsNV( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV operator^( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalMemoryHandleTypeFlagsNV( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalMemoryHandleTypeFlagsNV operator~( ExternalMemoryHandleTypeFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalMemoryHandleTypeFlagsNV( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ExternalMemoryHandleTypeFlagsNV value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) result += "OpaqueWin32 | "; + if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; + if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) result += "D3D11Image | "; + if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) result += "D3D11ImageKmt | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalSemaphoreFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalSemaphoreFeatureFlagBits::eExportable) | VkFlags(ExternalSemaphoreFeatureFlagBits::eImportable) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags operator|( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags operator&( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags operator^( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreFeatureFlags operator~( ExternalSemaphoreFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalSemaphoreFeatureFlags( bits ) ); + } + + using ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalSemaphoreFeatureFlagBits::eExportable ) result += "Exportable | "; + if ( value & ExternalSemaphoreFeatureFlagBits::eImportable ) result += "Importable | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ExternalSemaphoreHandleTypeFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eSyncFd) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags operator|( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreHandleTypeFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags operator&( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreHandleTypeFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags operator^( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ExternalSemaphoreHandleTypeFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ExternalSemaphoreHandleTypeFlags operator~( ExternalSemaphoreHandleTypeFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ExternalSemaphoreHandleTypeFlags( bits ) ); + } + + using ExternalSemaphoreHandleTypeFlagsKHR = ExternalSemaphoreHandleTypeFlags; + + VULKAN_HPP_INLINE std::string to_string( ExternalSemaphoreHandleTypeFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | "; + if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | "; + if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | "; + if ( value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) result += "D3D12Fence | "; + if ( value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) result += "SyncFd | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using FenceCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(FenceCreateFlagBits::eSignaled) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator|( FenceCreateFlagBits bit0, FenceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator&( FenceCreateFlagBits bit0, FenceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator^( FenceCreateFlagBits bit0, FenceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceCreateFlags operator~( FenceCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( FenceCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( FenceCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & FenceCreateFlagBits::eSignaled ) result += "Signaled | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using FenceImportFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(FenceImportFlagBits::eTemporary) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator|( FenceImportFlagBits bit0, FenceImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceImportFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator&( FenceImportFlagBits bit0, FenceImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceImportFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator^( FenceImportFlagBits bit0, FenceImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FenceImportFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FenceImportFlags operator~( FenceImportFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( FenceImportFlags( bits ) ); + } + + using FenceImportFlagsKHR = FenceImportFlags; + + VULKAN_HPP_INLINE std::string to_string( FenceImportFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & FenceImportFlagBits::eTemporary ) result += "Temporary | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using FormatFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(FormatFeatureFlagBits::eSampledImage) | VkFlags(FormatFeatureFlagBits::eStorageImage) | VkFlags(FormatFeatureFlagBits::eStorageImageAtomic) | VkFlags(FormatFeatureFlagBits::eUniformTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBufferAtomic) | VkFlags(FormatFeatureFlagBits::eVertexBuffer) | VkFlags(FormatFeatureFlagBits::eColorAttachment) | VkFlags(FormatFeatureFlagBits::eColorAttachmentBlend) | VkFlags(FormatFeatureFlagBits::eDepthStencilAttachment) | VkFlags(FormatFeatureFlagBits::eBlitSrc) | VkFlags(FormatFeatureFlagBits::eBlitDst) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterLinear) | VkFlags(FormatFeatureFlagBits::eTransferSrc) | VkFlags(FormatFeatureFlagBits::eTransferDst) | VkFlags(FormatFeatureFlagBits::eMidpointChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable) | VkFlags(FormatFeatureFlagBits::eDisjoint) | VkFlags(FormatFeatureFlagBits::eCositedChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterMinmax) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterCubicIMG) | VkFlags(FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR) | VkFlags(FormatFeatureFlagBits::eFragmentDensityMapEXT) | VkFlags(FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator|( FormatFeatureFlagBits bit0, FormatFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FormatFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator&( FormatFeatureFlagBits bit0, FormatFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FormatFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator^( FormatFeatureFlagBits bit0, FormatFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FormatFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FormatFeatureFlags operator~( FormatFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( FormatFeatureFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & FormatFeatureFlagBits::eSampledImage ) result += "SampledImage | "; + if ( value & FormatFeatureFlagBits::eStorageImage ) result += "StorageImage | "; + if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) result += "StorageImageAtomic | "; + if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; + if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; + if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) result += "StorageTexelBufferAtomic | "; + if ( value & FormatFeatureFlagBits::eVertexBuffer ) result += "VertexBuffer | "; + if ( value & FormatFeatureFlagBits::eColorAttachment ) result += "ColorAttachment | "; + if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) result += "ColorAttachmentBlend | "; + if ( value & FormatFeatureFlagBits::eDepthStencilAttachment ) result += "DepthStencilAttachment | "; + if ( value & FormatFeatureFlagBits::eBlitSrc ) result += "BlitSrc | "; + if ( value & FormatFeatureFlagBits::eBlitDst ) result += "BlitDst | "; + if ( value & FormatFeatureFlagBits::eSampledImageFilterLinear ) result += "SampledImageFilterLinear | "; + if ( value & FormatFeatureFlagBits::eTransferSrc ) result += "TransferSrc | "; + if ( value & FormatFeatureFlagBits::eTransferDst ) result += "TransferDst | "; + if ( value & FormatFeatureFlagBits::eMidpointChromaSamples ) result += "MidpointChromaSamples | "; + if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter ) result += "SampledImageYcbcrConversionLinearFilter | "; + if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter ) result += "SampledImageYcbcrConversionSeparateReconstructionFilter | "; + if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit ) result += "SampledImageYcbcrConversionChromaReconstructionExplicit | "; + if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | "; + if ( value & FormatFeatureFlagBits::eDisjoint ) result += "Disjoint | "; + if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) result += "CositedChromaSamples | "; + if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmax ) result += "SampledImageFilterMinmax | "; + if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG ) result += "SampledImageFilterCubicIMG | "; + if ( value & FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR ) result += "AccelerationStructureVertexBufferKHR | "; + if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | "; + if ( value & FormatFeatureFlagBits::eFragmentShadingRateAttachmentKHR ) result += "FragmentShadingRateAttachmentKHR | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using FramebufferCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(FramebufferCreateFlagBits::eImageless) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags operator|( FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FramebufferCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags operator&( FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FramebufferCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags operator^( FramebufferCreateFlagBits bit0, FramebufferCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return FramebufferCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR FramebufferCreateFlags operator~( FramebufferCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( FramebufferCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( FramebufferCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & FramebufferCreateFlagBits::eImageless ) result += "Imageless | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using GeometryFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(GeometryFlagBitsKHR::eOpaque) | VkFlags(GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator|( GeometryFlagBitsKHR bit0, GeometryFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator&( GeometryFlagBitsKHR bit0, GeometryFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator^( GeometryFlagBitsKHR bit0, GeometryFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryFlagsKHR operator~( GeometryFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( GeometryFlagsKHR( bits ) ); + } + + using GeometryFlagsNV = GeometryFlagsKHR; + + VULKAN_HPP_INLINE std::string to_string( GeometryFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & GeometryFlagBitsKHR::eOpaque ) result += "Opaque | "; + if ( value & GeometryFlagBitsKHR::eNoDuplicateAnyHitInvocation ) result += "NoDuplicateAnyHitInvocation | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using GeometryInstanceFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable) | VkFlags(GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise) | VkFlags(GeometryInstanceFlagBitsKHR::eForceOpaque) | VkFlags(GeometryInstanceFlagBitsKHR::eForceNoOpaque) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR operator|( GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryInstanceFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR operator&( GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryInstanceFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR operator^( GeometryInstanceFlagBitsKHR bit0, GeometryInstanceFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return GeometryInstanceFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR GeometryInstanceFlagsKHR operator~( GeometryInstanceFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( GeometryInstanceFlagsKHR( bits ) ); + } + + using GeometryInstanceFlagsNV = GeometryInstanceFlagsKHR; + + VULKAN_HPP_INLINE std::string to_string( GeometryInstanceFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & GeometryInstanceFlagBitsKHR::eTriangleFacingCullDisable ) result += "TriangleFacingCullDisable | "; + if ( value & GeometryInstanceFlagBitsKHR::eTriangleFrontCounterclockwise ) result += "TriangleFrontCounterclockwise | "; + if ( value & GeometryInstanceFlagBitsKHR::eForceOpaque ) result += "ForceOpaque | "; + if ( value & GeometryInstanceFlagBitsKHR::eForceNoOpaque ) result += "ForceNoOpaque | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class HeadlessSurfaceCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagBitsEXT ) + { + return "(void)"; + } + + using HeadlessSurfaceCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( HeadlessSurfaceCreateFlagsEXT ) + { + + return "{}"; + } + +#ifdef VK_USE_PLATFORM_IOS_MVK + enum class IOSSurfaceCreateFlagBitsMVK : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagBitsMVK ) + { + return "(void)"; + } + + using IOSSurfaceCreateFlagsMVK = Flags; + + VULKAN_HPP_INLINE std::string to_string( IOSSurfaceCreateFlagsMVK ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + + + using ImageAspectFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ImageAspectFlagBits::eColor) | VkFlags(ImageAspectFlagBits::eDepth) | VkFlags(ImageAspectFlagBits::eStencil) | VkFlags(ImageAspectFlagBits::eMetadata) | VkFlags(ImageAspectFlagBits::ePlane0) | VkFlags(ImageAspectFlagBits::ePlane1) | VkFlags(ImageAspectFlagBits::ePlane2) | VkFlags(ImageAspectFlagBits::eMemoryPlane0EXT) | VkFlags(ImageAspectFlagBits::eMemoryPlane1EXT) | VkFlags(ImageAspectFlagBits::eMemoryPlane2EXT) | VkFlags(ImageAspectFlagBits::eMemoryPlane3EXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator|( ImageAspectFlagBits bit0, ImageAspectFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageAspectFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator&( ImageAspectFlagBits bit0, ImageAspectFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageAspectFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator^( ImageAspectFlagBits bit0, ImageAspectFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageAspectFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageAspectFlags operator~( ImageAspectFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ImageAspectFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ImageAspectFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ImageAspectFlagBits::eColor ) result += "Color | "; + if ( value & ImageAspectFlagBits::eDepth ) result += "Depth | "; + if ( value & ImageAspectFlagBits::eStencil ) result += "Stencil | "; + if ( value & ImageAspectFlagBits::eMetadata ) result += "Metadata | "; + if ( value & ImageAspectFlagBits::ePlane0 ) result += "Plane0 | "; + if ( value & ImageAspectFlagBits::ePlane1 ) result += "Plane1 | "; + if ( value & ImageAspectFlagBits::ePlane2 ) result += "Plane2 | "; + if ( value & ImageAspectFlagBits::eMemoryPlane0EXT ) result += "MemoryPlane0EXT | "; + if ( value & ImageAspectFlagBits::eMemoryPlane1EXT ) result += "MemoryPlane1EXT | "; + if ( value & ImageAspectFlagBits::eMemoryPlane2EXT ) result += "MemoryPlane2EXT | "; + if ( value & ImageAspectFlagBits::eMemoryPlane3EXT ) result += "MemoryPlane3EXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ImageCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ImageCreateFlagBits::eSparseBinding) | VkFlags(ImageCreateFlagBits::eSparseResidency) | VkFlags(ImageCreateFlagBits::eSparseAliased) | VkFlags(ImageCreateFlagBits::eMutableFormat) | VkFlags(ImageCreateFlagBits::eCubeCompatible) | VkFlags(ImageCreateFlagBits::eAlias) | VkFlags(ImageCreateFlagBits::eSplitInstanceBindRegions) | VkFlags(ImageCreateFlagBits::e2DArrayCompatible) | VkFlags(ImageCreateFlagBits::eBlockTexelViewCompatible) | VkFlags(ImageCreateFlagBits::eExtendedUsage) | VkFlags(ImageCreateFlagBits::eProtected) | VkFlags(ImageCreateFlagBits::eDisjoint) | VkFlags(ImageCreateFlagBits::eCornerSampledNV) | VkFlags(ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT) | VkFlags(ImageCreateFlagBits::eSubsampledEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator|( ImageCreateFlagBits bit0, ImageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator&( ImageCreateFlagBits bit0, ImageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator^( ImageCreateFlagBits bit0, ImageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageCreateFlags operator~( ImageCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ImageCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ImageCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ImageCreateFlagBits::eSparseBinding ) result += "SparseBinding | "; + if ( value & ImageCreateFlagBits::eSparseResidency ) result += "SparseResidency | "; + if ( value & ImageCreateFlagBits::eSparseAliased ) result += "SparseAliased | "; + if ( value & ImageCreateFlagBits::eMutableFormat ) result += "MutableFormat | "; + if ( value & ImageCreateFlagBits::eCubeCompatible ) result += "CubeCompatible | "; + if ( value & ImageCreateFlagBits::eAlias ) result += "Alias | "; + if ( value & ImageCreateFlagBits::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | "; + if ( value & ImageCreateFlagBits::e2DArrayCompatible ) result += "2DArrayCompatible | "; + if ( value & ImageCreateFlagBits::eBlockTexelViewCompatible ) result += "BlockTexelViewCompatible | "; + if ( value & ImageCreateFlagBits::eExtendedUsage ) result += "ExtendedUsage | "; + if ( value & ImageCreateFlagBits::eProtected ) result += "Protected | "; + if ( value & ImageCreateFlagBits::eDisjoint ) result += "Disjoint | "; + if ( value & ImageCreateFlagBits::eCornerSampledNV ) result += "CornerSampledNV | "; + if ( value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) result += "SampleLocationsCompatibleDepthEXT | "; + if ( value & ImageCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + +#ifdef VK_USE_PLATFORM_FUCHSIA + enum class ImagePipeSurfaceCreateFlagBitsFUCHSIA : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagBitsFUCHSIA ) + { + return "(void)"; + } + + using ImagePipeSurfaceCreateFlagsFUCHSIA = Flags; + + VULKAN_HPP_INLINE std::string to_string( ImagePipeSurfaceCreateFlagsFUCHSIA ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + + + using ImageUsageFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ImageUsageFlagBits::eTransferSrc) | VkFlags(ImageUsageFlagBits::eTransferDst) | VkFlags(ImageUsageFlagBits::eSampled) | VkFlags(ImageUsageFlagBits::eStorage) | VkFlags(ImageUsageFlagBits::eColorAttachment) | VkFlags(ImageUsageFlagBits::eDepthStencilAttachment) | VkFlags(ImageUsageFlagBits::eTransientAttachment) | VkFlags(ImageUsageFlagBits::eInputAttachment) | VkFlags(ImageUsageFlagBits::eShadingRateImageNV) | VkFlags(ImageUsageFlagBits::eFragmentDensityMapEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator|( ImageUsageFlagBits bit0, ImageUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageUsageFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator&( ImageUsageFlagBits bit0, ImageUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageUsageFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator^( ImageUsageFlagBits bit0, ImageUsageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageUsageFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageUsageFlags operator~( ImageUsageFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ImageUsageFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ImageUsageFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ImageUsageFlagBits::eTransferSrc ) result += "TransferSrc | "; + if ( value & ImageUsageFlagBits::eTransferDst ) result += "TransferDst | "; + if ( value & ImageUsageFlagBits::eSampled ) result += "Sampled | "; + if ( value & ImageUsageFlagBits::eStorage ) result += "Storage | "; + if ( value & ImageUsageFlagBits::eColorAttachment ) result += "ColorAttachment | "; + if ( value & ImageUsageFlagBits::eDepthStencilAttachment ) result += "DepthStencilAttachment | "; + if ( value & ImageUsageFlagBits::eTransientAttachment ) result += "TransientAttachment | "; + if ( value & ImageUsageFlagBits::eInputAttachment ) result += "InputAttachment | "; + if ( value & ImageUsageFlagBits::eShadingRateImageNV ) result += "ShadingRateImageNV | "; + if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ImageViewCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT) | VkFlags(ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator|( ImageViewCreateFlagBits bit0, ImageViewCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageViewCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator&( ImageViewCreateFlagBits bit0, ImageViewCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageViewCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator^( ImageViewCreateFlagBits bit0, ImageViewCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ImageViewCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ImageViewCreateFlags operator~( ImageViewCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ImageViewCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ImageViewCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) result += "FragmentDensityMapDynamicEXT | "; + if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDeferredEXT ) result += "FragmentDensityMapDeferredEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using IndirectCommandsLayoutUsageFlagsNV = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator|( IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectCommandsLayoutUsageFlagsNV( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator&( IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectCommandsLayoutUsageFlagsNV( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator^( IndirectCommandsLayoutUsageFlagBitsNV bit0, IndirectCommandsLayoutUsageFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectCommandsLayoutUsageFlagsNV( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutUsageFlagsNV operator~( IndirectCommandsLayoutUsageFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT + { + return ~( IndirectCommandsLayoutUsageFlagsNV( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagsNV value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eExplicitPreprocess ) result += "ExplicitPreprocess | "; + if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eIndexedSequences ) result += "IndexedSequences | "; + if ( value & IndirectCommandsLayoutUsageFlagBitsNV::eUnorderedSequences ) result += "UnorderedSequences | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using IndirectStateFlagsNV = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(IndirectStateFlagBitsNV::eFlagFrontface) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator|( IndirectStateFlagBitsNV bit0, IndirectStateFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectStateFlagsNV( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator&( IndirectStateFlagBitsNV bit0, IndirectStateFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectStateFlagsNV( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator^( IndirectStateFlagBitsNV bit0, IndirectStateFlagBitsNV bit1 ) VULKAN_HPP_NOEXCEPT + { + return IndirectStateFlagsNV( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR IndirectStateFlagsNV operator~( IndirectStateFlagBitsNV bits ) VULKAN_HPP_NOEXCEPT + { + return ~( IndirectStateFlagsNV( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( IndirectStateFlagsNV value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & IndirectStateFlagBitsNV::eFlagFrontface ) result += "FlagFrontface | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using InstanceCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags ) + { + + return "{}"; + } + +#ifdef VK_USE_PLATFORM_MACOS_MVK + enum class MacOSSurfaceCreateFlagBitsMVK : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagBitsMVK ) + { + return "(void)"; + } + + using MacOSSurfaceCreateFlagsMVK = Flags; + + VULKAN_HPP_INLINE std::string to_string( MacOSSurfaceCreateFlagsMVK ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ + + + using MemoryAllocateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(MemoryAllocateFlagBits::eDeviceMask) | VkFlags(MemoryAllocateFlagBits::eDeviceAddress) | VkFlags(MemoryAllocateFlagBits::eDeviceAddressCaptureReplay) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator|( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryAllocateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator&( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryAllocateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator^( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryAllocateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryAllocateFlags operator~( MemoryAllocateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( MemoryAllocateFlags( bits ) ); + } + + using MemoryAllocateFlagsKHR = MemoryAllocateFlags; + + VULKAN_HPP_INLINE std::string to_string( MemoryAllocateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & MemoryAllocateFlagBits::eDeviceMask ) result += "DeviceMask | "; + if ( value & MemoryAllocateFlagBits::eDeviceAddress ) result += "DeviceAddress | "; + if ( value & MemoryAllocateFlagBits::eDeviceAddressCaptureReplay ) result += "DeviceAddressCaptureReplay | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using MemoryHeapFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(MemoryHeapFlagBits::eDeviceLocal) | VkFlags(MemoryHeapFlagBits::eMultiInstance) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator|( MemoryHeapFlagBits bit0, MemoryHeapFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryHeapFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator&( MemoryHeapFlagBits bit0, MemoryHeapFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryHeapFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator^( MemoryHeapFlagBits bit0, MemoryHeapFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryHeapFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryHeapFlags operator~( MemoryHeapFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( MemoryHeapFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( MemoryHeapFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & MemoryHeapFlagBits::eDeviceLocal ) result += "DeviceLocal | "; + if ( value & MemoryHeapFlagBits::eMultiInstance ) result += "MultiInstance | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class MemoryMapFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( MemoryMapFlagBits ) + { + return "(void)"; + } + + using MemoryMapFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( MemoryMapFlags ) + { + + return "{}"; + } + + + using MemoryPropertyFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(MemoryPropertyFlagBits::eDeviceLocal) | VkFlags(MemoryPropertyFlagBits::eHostVisible) | VkFlags(MemoryPropertyFlagBits::eHostCoherent) | VkFlags(MemoryPropertyFlagBits::eHostCached) | VkFlags(MemoryPropertyFlagBits::eLazilyAllocated) | VkFlags(MemoryPropertyFlagBits::eProtected) | VkFlags(MemoryPropertyFlagBits::eDeviceCoherentAMD) | VkFlags(MemoryPropertyFlagBits::eDeviceUncachedAMD) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator|( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryPropertyFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator&( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryPropertyFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator^( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return MemoryPropertyFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR MemoryPropertyFlags operator~( MemoryPropertyFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( MemoryPropertyFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( MemoryPropertyFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & MemoryPropertyFlagBits::eDeviceLocal ) result += "DeviceLocal | "; + if ( value & MemoryPropertyFlagBits::eHostVisible ) result += "HostVisible | "; + if ( value & MemoryPropertyFlagBits::eHostCoherent ) result += "HostCoherent | "; + if ( value & MemoryPropertyFlagBits::eHostCached ) result += "HostCached | "; + if ( value & MemoryPropertyFlagBits::eLazilyAllocated ) result += "LazilyAllocated | "; + if ( value & MemoryPropertyFlagBits::eProtected ) result += "Protected | "; + if ( value & MemoryPropertyFlagBits::eDeviceCoherentAMD ) result += "DeviceCoherentAMD | "; + if ( value & MemoryPropertyFlagBits::eDeviceUncachedAMD ) result += "DeviceUncachedAMD | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + +#ifdef VK_USE_PLATFORM_METAL_EXT + enum class MetalSurfaceCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagBitsEXT ) + { + return "(void)"; + } + + using MetalSurfaceCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( MetalSurfaceCreateFlagsEXT ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + + + using PeerMemoryFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PeerMemoryFeatureFlagBits::eCopySrc) | VkFlags(PeerMemoryFeatureFlagBits::eCopyDst) | VkFlags(PeerMemoryFeatureFlagBits::eGenericSrc) | VkFlags(PeerMemoryFeatureFlagBits::eGenericDst) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags operator|( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PeerMemoryFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags operator&( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PeerMemoryFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags operator^( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PeerMemoryFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PeerMemoryFeatureFlags operator~( PeerMemoryFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PeerMemoryFeatureFlags( bits ) ); + } + + using PeerMemoryFeatureFlagsKHR = PeerMemoryFeatureFlags; + + VULKAN_HPP_INLINE std::string to_string( PeerMemoryFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PeerMemoryFeatureFlagBits::eCopySrc ) result += "CopySrc | "; + if ( value & PeerMemoryFeatureFlagBits::eCopyDst ) result += "CopyDst | "; + if ( value & PeerMemoryFeatureFlagBits::eGenericSrc ) result += "GenericSrc | "; + if ( value & PeerMemoryFeatureFlagBits::eGenericDst ) result += "GenericDst | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using PerformanceCounterDescriptionFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting) | VkFlags(PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator|( PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return PerformanceCounterDescriptionFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator&( PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return PerformanceCounterDescriptionFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator^( PerformanceCounterDescriptionFlagBitsKHR bit0, PerformanceCounterDescriptionFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return PerformanceCounterDescriptionFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PerformanceCounterDescriptionFlagsKHR operator~( PerformanceCounterDescriptionFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PerformanceCounterDescriptionFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PerformanceCounterDescriptionFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PerformanceCounterDescriptionFlagBitsKHR::ePerformanceImpacting ) result += "PerformanceImpacting | "; + if ( value & PerformanceCounterDescriptionFlagBitsKHR::eConcurrentlyImpacted ) result += "ConcurrentlyImpacted | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using PipelineCacheCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PipelineCacheCreateFlagBits::eExternallySynchronizedEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags operator|( PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCacheCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags operator&( PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCacheCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags operator^( PipelineCacheCreateFlagBits bit0, PipelineCacheCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCacheCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCacheCreateFlags operator~( PipelineCacheCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PipelineCacheCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PipelineCacheCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PipelineCacheCreateFlagBits::eExternallySynchronizedEXT ) result += "ExternallySynchronizedEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class PipelineColorBlendStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineColorBlendStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineColorBlendStateCreateFlags ) + { + + return "{}"; + } + + + using PipelineCompilerControlFlagsAMD = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineCompilerControlFlagsAMD ) + { + + return "{}"; + } + + enum class PipelineCoverageModulationStateCreateFlagBitsNV : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagBitsNV ) + { + return "(void)"; + } + + using PipelineCoverageModulationStateCreateFlagsNV = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageModulationStateCreateFlagsNV ) + { + + return "{}"; + } + + enum class PipelineCoverageReductionStateCreateFlagBitsNV : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagBitsNV ) + { + return "(void)"; + } + + using PipelineCoverageReductionStateCreateFlagsNV = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageReductionStateCreateFlagsNV ) + { + + return "{}"; + } + + enum class PipelineCoverageToColorStateCreateFlagBitsNV : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagBitsNV ) + { + return "(void)"; + } + + using PipelineCoverageToColorStateCreateFlagsNV = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineCoverageToColorStateCreateFlagsNV ) + { + + return "{}"; + } + + + using PipelineCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PipelineCreateFlagBits::eDisableOptimization) | VkFlags(PipelineCreateFlagBits::eAllowDerivatives) | VkFlags(PipelineCreateFlagBits::eDerivative) | VkFlags(PipelineCreateFlagBits::eViewIndexFromDeviceIndex) | VkFlags(PipelineCreateFlagBits::eDispatchBase) | VkFlags(PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR) | VkFlags(PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR) | VkFlags(PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR) | VkFlags(PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR) | VkFlags(PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR) | VkFlags(PipelineCreateFlagBits::eRayTracingSkipAabbsKHR) | VkFlags(PipelineCreateFlagBits::eDeferCompileNV) | VkFlags(PipelineCreateFlagBits::eCaptureStatisticsKHR) | VkFlags(PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR) | VkFlags(PipelineCreateFlagBits::eIndirectBindableNV) | VkFlags(PipelineCreateFlagBits::eLibraryKHR) | VkFlags(PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT) | VkFlags(PipelineCreateFlagBits::eEarlyReturnOnFailureEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator|( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator&( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator^( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreateFlags operator~( PipelineCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PipelineCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PipelineCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PipelineCreateFlagBits::eDisableOptimization ) result += "DisableOptimization | "; + if ( value & PipelineCreateFlagBits::eAllowDerivatives ) result += "AllowDerivatives | "; + if ( value & PipelineCreateFlagBits::eDerivative ) result += "Derivative | "; + if ( value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) result += "ViewIndexFromDeviceIndex | "; + if ( value & PipelineCreateFlagBits::eDispatchBase ) result += "DispatchBase | "; + if ( value & PipelineCreateFlagBits::eRayTracingNoNullAnyHitShadersKHR ) result += "RayTracingNoNullAnyHitShadersKHR | "; + if ( value & PipelineCreateFlagBits::eRayTracingNoNullClosestHitShadersKHR ) result += "RayTracingNoNullClosestHitShadersKHR | "; + if ( value & PipelineCreateFlagBits::eRayTracingNoNullMissShadersKHR ) result += "RayTracingNoNullMissShadersKHR | "; + if ( value & PipelineCreateFlagBits::eRayTracingNoNullIntersectionShadersKHR ) result += "RayTracingNoNullIntersectionShadersKHR | "; + if ( value & PipelineCreateFlagBits::eRayTracingSkipTrianglesKHR ) result += "RayTracingSkipTrianglesKHR | "; + if ( value & PipelineCreateFlagBits::eRayTracingSkipAabbsKHR ) result += "RayTracingSkipAabbsKHR | "; + if ( value & PipelineCreateFlagBits::eDeferCompileNV ) result += "DeferCompileNV | "; + if ( value & PipelineCreateFlagBits::eCaptureStatisticsKHR ) result += "CaptureStatisticsKHR | "; + if ( value & PipelineCreateFlagBits::eCaptureInternalRepresentationsKHR ) result += "CaptureInternalRepresentationsKHR | "; + if ( value & PipelineCreateFlagBits::eIndirectBindableNV ) result += "IndirectBindableNV | "; + if ( value & PipelineCreateFlagBits::eLibraryKHR ) result += "LibraryKHR | "; + if ( value & PipelineCreateFlagBits::eFailOnPipelineCompileRequiredEXT ) result += "FailOnPipelineCompileRequiredEXT | "; + if ( value & PipelineCreateFlagBits::eEarlyReturnOnFailureEXT ) result += "EarlyReturnOnFailureEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using PipelineCreationFeedbackFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PipelineCreationFeedbackFlagBitsEXT::eValid) | VkFlags(PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit) | VkFlags(PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT operator|( PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreationFeedbackFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT operator&( PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreationFeedbackFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT operator^( PipelineCreationFeedbackFlagBitsEXT bit0, PipelineCreationFeedbackFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineCreationFeedbackFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackFlagsEXT operator~( PipelineCreationFeedbackFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PipelineCreationFeedbackFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PipelineCreationFeedbackFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PipelineCreationFeedbackFlagBitsEXT::eValid ) result += "Valid | "; + if ( value & PipelineCreationFeedbackFlagBitsEXT::eApplicationPipelineCacheHit ) result += "ApplicationPipelineCacheHit | "; + if ( value & PipelineCreationFeedbackFlagBitsEXT::eBasePipelineAcceleration ) result += "BasePipelineAcceleration | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class PipelineDepthStencilStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineDepthStencilStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineDepthStencilStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineDiscardRectangleStateCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagBitsEXT ) + { + return "(void)"; + } + + using PipelineDiscardRectangleStateCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineDiscardRectangleStateCreateFlagsEXT ) + { + + return "{}"; + } + + enum class PipelineDynamicStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineDynamicStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineDynamicStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineInputAssemblyStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineInputAssemblyStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineInputAssemblyStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineLayoutCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlagBits ) + { + return "(void)"; + } + + using PipelineLayoutCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineLayoutCreateFlags ) + { + + return "{}"; + } + + enum class PipelineMultisampleStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineMultisampleStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineMultisampleStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineRasterizationConservativeStateCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagBitsEXT ) + { + return "(void)"; + } + + using PipelineRasterizationConservativeStateCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationConservativeStateCreateFlagsEXT ) + { + + return "{}"; + } + + enum class PipelineRasterizationDepthClipStateCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagBitsEXT ) + { + return "(void)"; + } + + using PipelineRasterizationDepthClipStateCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationDepthClipStateCreateFlagsEXT ) + { + + return "{}"; + } + + enum class PipelineRasterizationStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineRasterizationStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineRasterizationStateStreamCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagBitsEXT ) + { + return "(void)"; + } + + using PipelineRasterizationStateStreamCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineRasterizationStateStreamCreateFlagsEXT ) + { + + return "{}"; + } + + + using PipelineShaderStageCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT) | VkFlags(PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags operator|( PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineShaderStageCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags operator&( PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineShaderStageCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags operator^( PipelineShaderStageCreateFlagBits bit0, PipelineShaderStageCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineShaderStageCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateFlags operator~( PipelineShaderStageCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PipelineShaderStageCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PipelineShaderStageCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PipelineShaderStageCreateFlagBits::eAllowVaryingSubgroupSizeEXT ) result += "AllowVaryingSubgroupSizeEXT | "; + if ( value & PipelineShaderStageCreateFlagBits::eRequireFullSubgroupsEXT ) result += "RequireFullSubgroupsEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using PipelineStageFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(PipelineStageFlagBits::eTopOfPipe) | VkFlags(PipelineStageFlagBits::eDrawIndirect) | VkFlags(PipelineStageFlagBits::eVertexInput) | VkFlags(PipelineStageFlagBits::eVertexShader) | VkFlags(PipelineStageFlagBits::eTessellationControlShader) | VkFlags(PipelineStageFlagBits::eTessellationEvaluationShader) | VkFlags(PipelineStageFlagBits::eGeometryShader) | VkFlags(PipelineStageFlagBits::eFragmentShader) | VkFlags(PipelineStageFlagBits::eEarlyFragmentTests) | VkFlags(PipelineStageFlagBits::eLateFragmentTests) | VkFlags(PipelineStageFlagBits::eColorAttachmentOutput) | VkFlags(PipelineStageFlagBits::eComputeShader) | VkFlags(PipelineStageFlagBits::eTransfer) | VkFlags(PipelineStageFlagBits::eBottomOfPipe) | VkFlags(PipelineStageFlagBits::eHost) | VkFlags(PipelineStageFlagBits::eAllGraphics) | VkFlags(PipelineStageFlagBits::eAllCommands) | VkFlags(PipelineStageFlagBits::eTransformFeedbackEXT) | VkFlags(PipelineStageFlagBits::eConditionalRenderingEXT) | VkFlags(PipelineStageFlagBits::eRayTracingShaderKHR) | VkFlags(PipelineStageFlagBits::eAccelerationStructureBuildKHR) | VkFlags(PipelineStageFlagBits::eShadingRateImageNV) | VkFlags(PipelineStageFlagBits::eTaskShaderNV) | VkFlags(PipelineStageFlagBits::eMeshShaderNV) | VkFlags(PipelineStageFlagBits::eFragmentDensityProcessEXT) | VkFlags(PipelineStageFlagBits::eCommandPreprocessNV) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator|( PipelineStageFlagBits bit0, PipelineStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineStageFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator&( PipelineStageFlagBits bit0, PipelineStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineStageFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator^( PipelineStageFlagBits bit0, PipelineStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return PipelineStageFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR PipelineStageFlags operator~( PipelineStageFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( PipelineStageFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & PipelineStageFlagBits::eTopOfPipe ) result += "TopOfPipe | "; + if ( value & PipelineStageFlagBits::eDrawIndirect ) result += "DrawIndirect | "; + if ( value & PipelineStageFlagBits::eVertexInput ) result += "VertexInput | "; + if ( value & PipelineStageFlagBits::eVertexShader ) result += "VertexShader | "; + if ( value & PipelineStageFlagBits::eTessellationControlShader ) result += "TessellationControlShader | "; + if ( value & PipelineStageFlagBits::eTessellationEvaluationShader ) result += "TessellationEvaluationShader | "; + if ( value & PipelineStageFlagBits::eGeometryShader ) result += "GeometryShader | "; + if ( value & PipelineStageFlagBits::eFragmentShader ) result += "FragmentShader | "; + if ( value & PipelineStageFlagBits::eEarlyFragmentTests ) result += "EarlyFragmentTests | "; + if ( value & PipelineStageFlagBits::eLateFragmentTests ) result += "LateFragmentTests | "; + if ( value & PipelineStageFlagBits::eColorAttachmentOutput ) result += "ColorAttachmentOutput | "; + if ( value & PipelineStageFlagBits::eComputeShader ) result += "ComputeShader | "; + if ( value & PipelineStageFlagBits::eTransfer ) result += "Transfer | "; + if ( value & PipelineStageFlagBits::eBottomOfPipe ) result += "BottomOfPipe | "; + if ( value & PipelineStageFlagBits::eHost ) result += "Host | "; + if ( value & PipelineStageFlagBits::eAllGraphics ) result += "AllGraphics | "; + if ( value & PipelineStageFlagBits::eAllCommands ) result += "AllCommands | "; + if ( value & PipelineStageFlagBits::eTransformFeedbackEXT ) result += "TransformFeedbackEXT | "; + if ( value & PipelineStageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | "; + if ( value & PipelineStageFlagBits::eRayTracingShaderKHR ) result += "RayTracingShaderKHR | "; + if ( value & PipelineStageFlagBits::eAccelerationStructureBuildKHR ) result += "AccelerationStructureBuildKHR | "; + if ( value & PipelineStageFlagBits::eShadingRateImageNV ) result += "ShadingRateImageNV | "; + if ( value & PipelineStageFlagBits::eTaskShaderNV ) result += "TaskShaderNV | "; + if ( value & PipelineStageFlagBits::eMeshShaderNV ) result += "MeshShaderNV | "; + if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT ) result += "FragmentDensityProcessEXT | "; + if ( value & PipelineStageFlagBits::eCommandPreprocessNV ) result += "CommandPreprocessNV | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class PipelineTessellationStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineTessellationStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineTessellationStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineVertexInputStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineVertexInputStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineVertexInputStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineViewportStateCreateFlagBits : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlagBits ) + { + return "(void)"; + } + + using PipelineViewportStateCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineViewportStateCreateFlags ) + { + + return "{}"; + } + + enum class PipelineViewportSwizzleStateCreateFlagBitsNV : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagBitsNV ) + { + return "(void)"; + } + + using PipelineViewportSwizzleStateCreateFlagsNV = Flags; + + VULKAN_HPP_INLINE std::string to_string( PipelineViewportSwizzleStateCreateFlagsNV ) + { + + return "{}"; + } + + + using PrivateDataSlotCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlagsEXT ) + { + + return "{}"; + } + + + using QueryControlFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(QueryControlFlagBits::ePrecise) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator|( QueryControlFlagBits bit0, QueryControlFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryControlFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator&( QueryControlFlagBits bit0, QueryControlFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryControlFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator^( QueryControlFlagBits bit0, QueryControlFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryControlFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryControlFlags operator~( QueryControlFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( QueryControlFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( QueryControlFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & QueryControlFlagBits::ePrecise ) result += "Precise | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using QueryPipelineStatisticFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyVertices) | VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eVertexShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eClippingInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eClippingPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eFragmentShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eComputeShaderInvocations) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags operator|( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryPipelineStatisticFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags operator&( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryPipelineStatisticFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags operator^( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryPipelineStatisticFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryPipelineStatisticFlags operator~( QueryPipelineStatisticFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( QueryPipelineStatisticFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( QueryPipelineStatisticFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyVertices ) result += "InputAssemblyVertices | "; + if ( value & QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives ) result += "InputAssemblyPrimitives | "; + if ( value & QueryPipelineStatisticFlagBits::eVertexShaderInvocations ) result += "VertexShaderInvocations | "; + if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderInvocations ) result += "GeometryShaderInvocations | "; + if ( value & QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives ) result += "GeometryShaderPrimitives | "; + if ( value & QueryPipelineStatisticFlagBits::eClippingInvocations ) result += "ClippingInvocations | "; + if ( value & QueryPipelineStatisticFlagBits::eClippingPrimitives ) result += "ClippingPrimitives | "; + if ( value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) result += "FragmentShaderInvocations | "; + if ( value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) result += "TessellationControlShaderPatches | "; + if ( value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) result += "TessellationEvaluationShaderInvocations | "; + if ( value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) result += "ComputeShaderInvocations | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using QueryPoolCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( QueryPoolCreateFlags ) + { + + return "{}"; + } + + + using QueryResultFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(QueryResultFlagBits::e64) | VkFlags(QueryResultFlagBits::eWait) | VkFlags(QueryResultFlagBits::eWithAvailability) | VkFlags(QueryResultFlagBits::ePartial) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator|( QueryResultFlagBits bit0, QueryResultFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryResultFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator&( QueryResultFlagBits bit0, QueryResultFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryResultFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator^( QueryResultFlagBits bit0, QueryResultFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueryResultFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueryResultFlags operator~( QueryResultFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( QueryResultFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( QueryResultFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & QueryResultFlagBits::e64 ) result += "64 | "; + if ( value & QueryResultFlagBits::eWait ) result += "Wait | "; + if ( value & QueryResultFlagBits::eWithAvailability ) result += "WithAvailability | "; + if ( value & QueryResultFlagBits::ePartial ) result += "Partial | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using QueueFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(QueueFlagBits::eGraphics) | VkFlags(QueueFlagBits::eCompute) | VkFlags(QueueFlagBits::eTransfer) | VkFlags(QueueFlagBits::eSparseBinding) | VkFlags(QueueFlagBits::eProtected) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator|( QueueFlagBits bit0, QueueFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueueFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator&( QueueFlagBits bit0, QueueFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueueFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator^( QueueFlagBits bit0, QueueFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return QueueFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR QueueFlags operator~( QueueFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( QueueFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( QueueFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & QueueFlagBits::eGraphics ) result += "Graphics | "; + if ( value & QueueFlagBits::eCompute ) result += "Compute | "; + if ( value & QueueFlagBits::eTransfer ) result += "Transfer | "; + if ( value & QueueFlagBits::eSparseBinding ) result += "SparseBinding | "; + if ( value & QueueFlagBits::eProtected ) result += "Protected | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using RenderPassCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(RenderPassCreateFlagBits::eTransformQCOM) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags operator|( RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return RenderPassCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags operator&( RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return RenderPassCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags operator^( RenderPassCreateFlagBits bit0, RenderPassCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return RenderPassCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR RenderPassCreateFlags operator~( RenderPassCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( RenderPassCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( RenderPassCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & RenderPassCreateFlagBits::eTransformQCOM ) result += "TransformQCOM | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ResolveModeFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ResolveModeFlagBits::eNone) | VkFlags(ResolveModeFlagBits::eSampleZero) | VkFlags(ResolveModeFlagBits::eAverage) | VkFlags(ResolveModeFlagBits::eMin) | VkFlags(ResolveModeFlagBits::eMax) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator|( ResolveModeFlagBits bit0, ResolveModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ResolveModeFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator&( ResolveModeFlagBits bit0, ResolveModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ResolveModeFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator^( ResolveModeFlagBits bit0, ResolveModeFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ResolveModeFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ResolveModeFlags operator~( ResolveModeFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ResolveModeFlags( bits ) ); + } + + using ResolveModeFlagsKHR = ResolveModeFlags; + + VULKAN_HPP_INLINE std::string to_string( ResolveModeFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ResolveModeFlagBits::eSampleZero ) result += "SampleZero | "; + if ( value & ResolveModeFlagBits::eAverage ) result += "Average | "; + if ( value & ResolveModeFlagBits::eMin ) result += "Min | "; + if ( value & ResolveModeFlagBits::eMax ) result += "Max | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SampleCountFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SampleCountFlagBits::e1) | VkFlags(SampleCountFlagBits::e2) | VkFlags(SampleCountFlagBits::e4) | VkFlags(SampleCountFlagBits::e8) | VkFlags(SampleCountFlagBits::e16) | VkFlags(SampleCountFlagBits::e32) | VkFlags(SampleCountFlagBits::e64) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator|( SampleCountFlagBits bit0, SampleCountFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SampleCountFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator&( SampleCountFlagBits bit0, SampleCountFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SampleCountFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator^( SampleCountFlagBits bit0, SampleCountFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SampleCountFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SampleCountFlags operator~( SampleCountFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SampleCountFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SampleCountFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SampleCountFlagBits::e1 ) result += "1 | "; + if ( value & SampleCountFlagBits::e2 ) result += "2 | "; + if ( value & SampleCountFlagBits::e4 ) result += "4 | "; + if ( value & SampleCountFlagBits::e8 ) result += "8 | "; + if ( value & SampleCountFlagBits::e16 ) result += "16 | "; + if ( value & SampleCountFlagBits::e32 ) result += "32 | "; + if ( value & SampleCountFlagBits::e64 ) result += "64 | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SamplerCreateFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SamplerCreateFlagBits::eSubsampledEXT) | VkFlags(SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator|( SamplerCreateFlagBits bit0, SamplerCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SamplerCreateFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator&( SamplerCreateFlagBits bit0, SamplerCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SamplerCreateFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator^( SamplerCreateFlagBits bit0, SamplerCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SamplerCreateFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SamplerCreateFlags operator~( SamplerCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SamplerCreateFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SamplerCreateFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SamplerCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | "; + if ( value & SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) result += "SubsampledCoarseReconstructionEXT | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SemaphoreCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreCreateFlags ) + { + + return "{}"; + } + + + using SemaphoreImportFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SemaphoreImportFlagBits::eTemporary) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator|( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreImportFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator&( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreImportFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator^( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreImportFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreImportFlags operator~( SemaphoreImportFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SemaphoreImportFlags( bits ) ); + } + + using SemaphoreImportFlagsKHR = SemaphoreImportFlags; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreImportFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SemaphoreImportFlagBits::eTemporary ) result += "Temporary | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SemaphoreWaitFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SemaphoreWaitFlagBits::eAny) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator|( SemaphoreWaitFlagBits bit0, SemaphoreWaitFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreWaitFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator&( SemaphoreWaitFlagBits bit0, SemaphoreWaitFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreWaitFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator^( SemaphoreWaitFlagBits bit0, SemaphoreWaitFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SemaphoreWaitFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SemaphoreWaitFlags operator~( SemaphoreWaitFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SemaphoreWaitFlags( bits ) ); + } + + using SemaphoreWaitFlagsKHR = SemaphoreWaitFlags; + + VULKAN_HPP_INLINE std::string to_string( SemaphoreWaitFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SemaphoreWaitFlagBits::eAny ) result += "Any | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ShaderCorePropertiesFlagsAMD = Flags; + + VULKAN_HPP_INLINE std::string to_string( ShaderCorePropertiesFlagsAMD ) + { + + return "{}"; + } + + + using ShaderModuleCreateFlags = Flags; + + VULKAN_HPP_INLINE std::string to_string( ShaderModuleCreateFlags ) + { + + return "{}"; + } + + + using ShaderStageFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ShaderStageFlagBits::eVertex) | VkFlags(ShaderStageFlagBits::eTessellationControl) | VkFlags(ShaderStageFlagBits::eTessellationEvaluation) | VkFlags(ShaderStageFlagBits::eGeometry) | VkFlags(ShaderStageFlagBits::eFragment) | VkFlags(ShaderStageFlagBits::eCompute) | VkFlags(ShaderStageFlagBits::eAllGraphics) | VkFlags(ShaderStageFlagBits::eAll) | VkFlags(ShaderStageFlagBits::eRaygenKHR) | VkFlags(ShaderStageFlagBits::eAnyHitKHR) | VkFlags(ShaderStageFlagBits::eClosestHitKHR) | VkFlags(ShaderStageFlagBits::eMissKHR) | VkFlags(ShaderStageFlagBits::eIntersectionKHR) | VkFlags(ShaderStageFlagBits::eCallableKHR) | VkFlags(ShaderStageFlagBits::eTaskNV) | VkFlags(ShaderStageFlagBits::eMeshNV) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator|( ShaderStageFlagBits bit0, ShaderStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ShaderStageFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator&( ShaderStageFlagBits bit0, ShaderStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ShaderStageFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator^( ShaderStageFlagBits bit0, ShaderStageFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return ShaderStageFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ShaderStageFlags operator~( ShaderStageFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ShaderStageFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ShaderStageFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ShaderStageFlagBits::eVertex ) result += "Vertex | "; + if ( value & ShaderStageFlagBits::eTessellationControl ) result += "TessellationControl | "; + if ( value & ShaderStageFlagBits::eTessellationEvaluation ) result += "TessellationEvaluation | "; + if ( value & ShaderStageFlagBits::eGeometry ) result += "Geometry | "; + if ( value & ShaderStageFlagBits::eFragment ) result += "Fragment | "; + if ( value & ShaderStageFlagBits::eCompute ) result += "Compute | "; + if ( value & ShaderStageFlagBits::eRaygenKHR ) result += "RaygenKHR | "; + if ( value & ShaderStageFlagBits::eAnyHitKHR ) result += "AnyHitKHR | "; + if ( value & ShaderStageFlagBits::eClosestHitKHR ) result += "ClosestHitKHR | "; + if ( value & ShaderStageFlagBits::eMissKHR ) result += "MissKHR | "; + if ( value & ShaderStageFlagBits::eIntersectionKHR ) result += "IntersectionKHR | "; + if ( value & ShaderStageFlagBits::eCallableKHR ) result += "CallableKHR | "; + if ( value & ShaderStageFlagBits::eTaskNV ) result += "TaskNV | "; + if ( value & ShaderStageFlagBits::eMeshNV ) result += "MeshNV | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SparseImageFormatFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SparseImageFormatFlagBits::eSingleMiptail) | VkFlags(SparseImageFormatFlagBits::eAlignedMipSize) | VkFlags(SparseImageFormatFlagBits::eNonstandardBlockSize) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags operator|( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseImageFormatFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags operator&( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseImageFormatFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags operator^( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseImageFormatFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseImageFormatFlags operator~( SparseImageFormatFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SparseImageFormatFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SparseImageFormatFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SparseImageFormatFlagBits::eSingleMiptail ) result += "SingleMiptail | "; + if ( value & SparseImageFormatFlagBits::eAlignedMipSize ) result += "AlignedMipSize | "; + if ( value & SparseImageFormatFlagBits::eNonstandardBlockSize ) result += "NonstandardBlockSize | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SparseMemoryBindFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SparseMemoryBindFlagBits::eMetadata) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags operator|( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseMemoryBindFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags operator&( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseMemoryBindFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags operator^( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SparseMemoryBindFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SparseMemoryBindFlags operator~( SparseMemoryBindFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SparseMemoryBindFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SparseMemoryBindFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SparseMemoryBindFlagBits::eMetadata ) result += "Metadata | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using StencilFaceFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(StencilFaceFlagBits::eFront) | VkFlags(StencilFaceFlagBits::eBack) | VkFlags(StencilFaceFlagBits::eFrontAndBack) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator|( StencilFaceFlagBits bit0, StencilFaceFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return StencilFaceFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator&( StencilFaceFlagBits bit0, StencilFaceFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return StencilFaceFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator^( StencilFaceFlagBits bit0, StencilFaceFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return StencilFaceFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR StencilFaceFlags operator~( StencilFaceFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( StencilFaceFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( StencilFaceFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & StencilFaceFlagBits::eFront ) result += "Front | "; + if ( value & StencilFaceFlagBits::eBack ) result += "Back | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + +#ifdef VK_USE_PLATFORM_GGP + enum class StreamDescriptorSurfaceCreateFlagBitsGGP : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagBitsGGP ) + { + return "(void)"; + } + + using StreamDescriptorSurfaceCreateFlagsGGP = Flags; + + VULKAN_HPP_INLINE std::string to_string( StreamDescriptorSurfaceCreateFlagsGGP ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_GGP*/ + + + using SubgroupFeatureFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SubgroupFeatureFlagBits::eBasic) | VkFlags(SubgroupFeatureFlagBits::eVote) | VkFlags(SubgroupFeatureFlagBits::eArithmetic) | VkFlags(SubgroupFeatureFlagBits::eBallot) | VkFlags(SubgroupFeatureFlagBits::eShuffle) | VkFlags(SubgroupFeatureFlagBits::eShuffleRelative) | VkFlags(SubgroupFeatureFlagBits::eClustered) | VkFlags(SubgroupFeatureFlagBits::eQuad) | VkFlags(SubgroupFeatureFlagBits::ePartitionedNV) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator|( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubgroupFeatureFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator&( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubgroupFeatureFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator^( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubgroupFeatureFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubgroupFeatureFlags operator~( SubgroupFeatureFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SubgroupFeatureFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SubgroupFeatureFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SubgroupFeatureFlagBits::eBasic ) result += "Basic | "; + if ( value & SubgroupFeatureFlagBits::eVote ) result += "Vote | "; + if ( value & SubgroupFeatureFlagBits::eArithmetic ) result += "Arithmetic | "; + if ( value & SubgroupFeatureFlagBits::eBallot ) result += "Ballot | "; + if ( value & SubgroupFeatureFlagBits::eShuffle ) result += "Shuffle | "; + if ( value & SubgroupFeatureFlagBits::eShuffleRelative ) result += "ShuffleRelative | "; + if ( value & SubgroupFeatureFlagBits::eClustered ) result += "Clustered | "; + if ( value & SubgroupFeatureFlagBits::eQuad ) result += "Quad | "; + if ( value & SubgroupFeatureFlagBits::ePartitionedNV ) result += "PartitionedNV | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SubpassDescriptionFlags = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SubpassDescriptionFlagBits::ePerViewAttributesNVX) | VkFlags(SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX) | VkFlags(SubpassDescriptionFlagBits::eFragmentRegionQCOM) | VkFlags(SubpassDescriptionFlagBits::eShaderResolveQCOM) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags operator|( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubpassDescriptionFlags( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags operator&( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubpassDescriptionFlags( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags operator^( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 ) VULKAN_HPP_NOEXCEPT + { + return SubpassDescriptionFlags( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SubpassDescriptionFlags operator~( SubpassDescriptionFlagBits bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SubpassDescriptionFlags( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SubpassDescriptionFlags value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SubpassDescriptionFlagBits::ePerViewAttributesNVX ) result += "PerViewAttributesNVX | "; + if ( value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) result += "PerViewPositionXOnlyNVX | "; + if ( value & SubpassDescriptionFlagBits::eFragmentRegionQCOM ) result += "FragmentRegionQCOM | "; + if ( value & SubpassDescriptionFlagBits::eShaderResolveQCOM ) result += "ShaderResolveQCOM | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SurfaceCounterFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SurfaceCounterFlagBitsEXT::eVblank) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT operator|( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceCounterFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT operator&( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceCounterFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT operator^( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceCounterFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceCounterFlagsEXT operator~( SurfaceCounterFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SurfaceCounterFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SurfaceCounterFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SurfaceCounterFlagBitsEXT::eVblank ) result += "Vblank | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SurfaceTransformFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SurfaceTransformFlagBitsKHR::eIdentity) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirror) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eInherit) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR operator|( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceTransformFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR operator&( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceTransformFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR operator^( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SurfaceTransformFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SurfaceTransformFlagsKHR operator~( SurfaceTransformFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SurfaceTransformFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SurfaceTransformFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SurfaceTransformFlagBitsKHR::eIdentity ) result += "Identity | "; + if ( value & SurfaceTransformFlagBitsKHR::eRotate90 ) result += "Rotate90 | "; + if ( value & SurfaceTransformFlagBitsKHR::eRotate180 ) result += "Rotate180 | "; + if ( value & SurfaceTransformFlagBitsKHR::eRotate270 ) result += "Rotate270 | "; + if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirror ) result += "HorizontalMirror | "; + if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) result += "HorizontalMirrorRotate90 | "; + if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) result += "HorizontalMirrorRotate180 | "; + if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) result += "HorizontalMirrorRotate270 | "; + if ( value & SurfaceTransformFlagBitsKHR::eInherit ) result += "Inherit | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using SwapchainCreateFlagsKHR = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions) | VkFlags(SwapchainCreateFlagBitsKHR::eProtected) | VkFlags(SwapchainCreateFlagBitsKHR::eMutableFormat) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR operator|( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SwapchainCreateFlagsKHR( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR operator&( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SwapchainCreateFlagsKHR( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR operator^( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 ) VULKAN_HPP_NOEXCEPT + { + return SwapchainCreateFlagsKHR( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR SwapchainCreateFlagsKHR operator~( SwapchainCreateFlagBitsKHR bits ) VULKAN_HPP_NOEXCEPT + { + return ~( SwapchainCreateFlagsKHR( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( SwapchainCreateFlagsKHR value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | "; + if ( value & SwapchainCreateFlagBitsKHR::eProtected ) result += "Protected | "; + if ( value & SwapchainCreateFlagBitsKHR::eMutableFormat ) result += "MutableFormat | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + + using ToolPurposeFlagsEXT = Flags; + + template <> struct FlagTraits + { + enum : VkFlags + { + allFlags = VkFlags(ToolPurposeFlagBitsEXT::eValidation) | VkFlags(ToolPurposeFlagBitsEXT::eProfiling) | VkFlags(ToolPurposeFlagBitsEXT::eTracing) | VkFlags(ToolPurposeFlagBitsEXT::eAdditionalFeatures) | VkFlags(ToolPurposeFlagBitsEXT::eModifyingFeatures) | VkFlags(ToolPurposeFlagBitsEXT::eDebugReporting) | VkFlags(ToolPurposeFlagBitsEXT::eDebugMarkers) + }; + }; + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator|( ToolPurposeFlagBitsEXT bit0, ToolPurposeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ToolPurposeFlagsEXT( bit0 ) | bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator&( ToolPurposeFlagBitsEXT bit0, ToolPurposeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ToolPurposeFlagsEXT( bit0 ) & bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator^( ToolPurposeFlagBitsEXT bit0, ToolPurposeFlagBitsEXT bit1 ) VULKAN_HPP_NOEXCEPT + { + return ToolPurposeFlagsEXT( bit0 ) ^ bit1; + } + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR ToolPurposeFlagsEXT operator~( ToolPurposeFlagBitsEXT bits ) VULKAN_HPP_NOEXCEPT + { + return ~( ToolPurposeFlagsEXT( bits ) ); + } + + VULKAN_HPP_INLINE std::string to_string( ToolPurposeFlagsEXT value ) + { + + if ( !value ) return "{}"; + std::string result; + + if ( value & ToolPurposeFlagBitsEXT::eValidation ) result += "Validation | "; + if ( value & ToolPurposeFlagBitsEXT::eProfiling ) result += "Profiling | "; + if ( value & ToolPurposeFlagBitsEXT::eTracing ) result += "Tracing | "; + if ( value & ToolPurposeFlagBitsEXT::eAdditionalFeatures ) result += "AdditionalFeatures | "; + if ( value & ToolPurposeFlagBitsEXT::eModifyingFeatures ) result += "ModifyingFeatures | "; + if ( value & ToolPurposeFlagBitsEXT::eDebugReporting ) result += "DebugReporting | "; + if ( value & ToolPurposeFlagBitsEXT::eDebugMarkers ) result += "DebugMarkers | "; + return "{ " + result.substr(0, result.size() - 3) + " }"; + } + + enum class ValidationCacheCreateFlagBitsEXT : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagBitsEXT ) + { + return "(void)"; + } + + using ValidationCacheCreateFlagsEXT = Flags; + + VULKAN_HPP_INLINE std::string to_string( ValidationCacheCreateFlagsEXT ) + { + + return "{}"; + } + +#ifdef VK_USE_PLATFORM_VI_NN + enum class ViSurfaceCreateFlagBitsNN : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagBitsNN ) + { + return "(void)"; + } + + using ViSurfaceCreateFlagsNN = Flags; + + VULKAN_HPP_INLINE std::string to_string( ViSurfaceCreateFlagsNN ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_VI_NN*/ + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + enum class WaylandSurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using WaylandSurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( WaylandSurfaceCreateFlagsKHR ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + enum class Win32SurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using Win32SurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( Win32SurfaceCreateFlagsKHR ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_XCB_KHR + enum class XcbSurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using XcbSurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( XcbSurfaceCreateFlagsKHR ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + +#ifdef VK_USE_PLATFORM_XLIB_KHR + enum class XlibSurfaceCreateFlagBitsKHR : VkFlags + {}; + + VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagBitsKHR ) + { + return "(void)"; + } + + using XlibSurfaceCreateFlagsKHR = Flags; + + VULKAN_HPP_INLINE std::string to_string( XlibSurfaceCreateFlagsKHR ) + { + + return "{}"; + } +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ +} // namespace VULKAN_HPP_NAMESPACE + +#ifndef VULKAN_HPP_NO_EXCEPTIONS +namespace std +{ + template <> + struct is_error_code_enum : public true_type + {}; +} +#endif + +namespace VULKAN_HPP_NAMESPACE +{ +#ifndef VULKAN_HPP_NO_EXCEPTIONS + class ErrorCategoryImpl : public std::error_category + { + public: + virtual const char* name() const VULKAN_HPP_NOEXCEPT override { return VULKAN_HPP_NAMESPACE_STRING"::Result"; } + virtual std::string message(int ev) const override { return to_string(static_cast(ev)); } + }; + + class Error + { + public: + Error() VULKAN_HPP_NOEXCEPT = default; + Error(const Error&) VULKAN_HPP_NOEXCEPT = default; + virtual ~Error() VULKAN_HPP_NOEXCEPT = default; + + virtual const char* what() const VULKAN_HPP_NOEXCEPT = 0; + }; + + class LogicError : public Error, public std::logic_error + { + public: + explicit LogicError( const std::string& what ) + : Error(), std::logic_error(what) {} + explicit LogicError( char const * what ) + : Error(), std::logic_error(what) {} + + virtual const char* what() const VULKAN_HPP_NOEXCEPT { return std::logic_error::what(); } + }; + + class SystemError : public Error, public std::system_error + { + public: + SystemError( std::error_code ec ) + : Error(), std::system_error(ec) {} + SystemError( std::error_code ec, std::string const& what ) + : Error(), std::system_error(ec, what) {} + SystemError( std::error_code ec, char const * what ) + : Error(), std::system_error(ec, what) {} + SystemError( int ev, std::error_category const& ecat ) + : Error(), std::system_error(ev, ecat) {} + SystemError( int ev, std::error_category const& ecat, std::string const& what) + : Error(), std::system_error(ev, ecat, what) {} + SystemError( int ev, std::error_category const& ecat, char const * what) + : Error(), std::system_error(ev, ecat, what) {} + + virtual const char* what() const VULKAN_HPP_NOEXCEPT { return std::system_error::what(); } + }; + + VULKAN_HPP_INLINE const std::error_category& errorCategory() VULKAN_HPP_NOEXCEPT + { + static ErrorCategoryImpl instance; + return instance; + } + + VULKAN_HPP_INLINE std::error_code make_error_code(Result e) VULKAN_HPP_NOEXCEPT + { + return std::error_code(static_cast(e), errorCategory()); + } + + VULKAN_HPP_INLINE std::error_condition make_error_condition(Result e) VULKAN_HPP_NOEXCEPT + { + return std::error_condition(static_cast(e), errorCategory()); + } + + class OutOfHostMemoryError : public SystemError + { + public: + OutOfHostMemoryError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {} + OutOfHostMemoryError( char const * message ) + : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {} + }; + + class OutOfDeviceMemoryError : public SystemError + { + public: + OutOfDeviceMemoryError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {} + OutOfDeviceMemoryError( char const * message ) + : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {} + }; + + class InitializationFailedError : public SystemError + { + public: + InitializationFailedError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {} + InitializationFailedError( char const * message ) + : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {} + }; + + class DeviceLostError : public SystemError + { + public: + DeviceLostError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {} + DeviceLostError( char const * message ) + : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {} + }; + + class MemoryMapFailedError : public SystemError + { + public: + MemoryMapFailedError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {} + MemoryMapFailedError( char const * message ) + : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {} + }; + + class LayerNotPresentError : public SystemError + { + public: + LayerNotPresentError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {} + LayerNotPresentError( char const * message ) + : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {} + }; + + class ExtensionNotPresentError : public SystemError + { + public: + ExtensionNotPresentError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {} + ExtensionNotPresentError( char const * message ) + : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {} + }; + + class FeatureNotPresentError : public SystemError + { + public: + FeatureNotPresentError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {} + FeatureNotPresentError( char const * message ) + : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {} + }; + + class IncompatibleDriverError : public SystemError + { + public: + IncompatibleDriverError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {} + IncompatibleDriverError( char const * message ) + : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {} + }; + + class TooManyObjectsError : public SystemError + { + public: + TooManyObjectsError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {} + TooManyObjectsError( char const * message ) + : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {} + }; + + class FormatNotSupportedError : public SystemError + { + public: + FormatNotSupportedError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {} + FormatNotSupportedError( char const * message ) + : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {} + }; + + class FragmentedPoolError : public SystemError + { + public: + FragmentedPoolError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {} + FragmentedPoolError( char const * message ) + : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {} + }; + + class UnknownError : public SystemError + { + public: + UnknownError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorUnknown ), message ) {} + UnknownError( char const * message ) + : SystemError( make_error_code( Result::eErrorUnknown ), message ) {} + }; + + class OutOfPoolMemoryError : public SystemError + { + public: + OutOfPoolMemoryError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {} + OutOfPoolMemoryError( char const * message ) + : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {} + }; + + class InvalidExternalHandleError : public SystemError + { + public: + InvalidExternalHandleError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {} + InvalidExternalHandleError( char const * message ) + : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {} + }; + + class FragmentationError : public SystemError + { + public: + FragmentationError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorFragmentation ), message ) {} + FragmentationError( char const * message ) + : SystemError( make_error_code( Result::eErrorFragmentation ), message ) {} + }; + + class InvalidOpaqueCaptureAddressError : public SystemError + { + public: + InvalidOpaqueCaptureAddressError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorInvalidOpaqueCaptureAddress ), message ) {} + InvalidOpaqueCaptureAddressError( char const * message ) + : SystemError( make_error_code( Result::eErrorInvalidOpaqueCaptureAddress ), message ) {} + }; + + class SurfaceLostKHRError : public SystemError + { + public: + SurfaceLostKHRError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {} + SurfaceLostKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {} + }; + + class NativeWindowInUseKHRError : public SystemError + { + public: + NativeWindowInUseKHRError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {} + NativeWindowInUseKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {} + }; + + class OutOfDateKHRError : public SystemError + { + public: + OutOfDateKHRError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {} + OutOfDateKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {} + }; + + class IncompatibleDisplayKHRError : public SystemError + { + public: + IncompatibleDisplayKHRError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {} + IncompatibleDisplayKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {} + }; + + class ValidationFailedEXTError : public SystemError + { + public: + ValidationFailedEXTError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {} + ValidationFailedEXTError( char const * message ) + : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {} + }; + + class InvalidShaderNVError : public SystemError + { + public: + InvalidShaderNVError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {} + InvalidShaderNVError( char const * message ) + : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {} + }; + + class IncompatibleVersionKHRError : public SystemError + { + public: + IncompatibleVersionKHRError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorIncompatibleVersionKHR ), message ) {} + IncompatibleVersionKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorIncompatibleVersionKHR ), message ) {} + }; + + class InvalidDrmFormatModifierPlaneLayoutEXTError : public SystemError + { + public: + InvalidDrmFormatModifierPlaneLayoutEXTError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT ), message ) {} + InvalidDrmFormatModifierPlaneLayoutEXTError( char const * message ) + : SystemError( make_error_code( Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT ), message ) {} + }; + + class NotPermittedEXTError : public SystemError + { + public: + NotPermittedEXTError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {} + NotPermittedEXTError( char const * message ) + : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {} + }; + + class FullScreenExclusiveModeLostEXTError : public SystemError + { + public: + FullScreenExclusiveModeLostEXTError( std::string const& message ) + : SystemError( make_error_code( Result::eErrorFullScreenExclusiveModeLostEXT ), message ) {} + FullScreenExclusiveModeLostEXTError( char const * message ) + : SystemError( make_error_code( Result::eErrorFullScreenExclusiveModeLostEXT ), message ) {} + }; + + + [[noreturn]] static void throwResultException( Result result, char const * message ) + { + switch ( result ) + { + case Result::eErrorOutOfHostMemory: throw OutOfHostMemoryError( message ); + case Result::eErrorOutOfDeviceMemory: throw OutOfDeviceMemoryError( message ); + case Result::eErrorInitializationFailed: throw InitializationFailedError( message ); + case Result::eErrorDeviceLost: throw DeviceLostError( message ); + case Result::eErrorMemoryMapFailed: throw MemoryMapFailedError( message ); + case Result::eErrorLayerNotPresent: throw LayerNotPresentError( message ); + case Result::eErrorExtensionNotPresent: throw ExtensionNotPresentError( message ); + case Result::eErrorFeatureNotPresent: throw FeatureNotPresentError( message ); + case Result::eErrorIncompatibleDriver: throw IncompatibleDriverError( message ); + case Result::eErrorTooManyObjects: throw TooManyObjectsError( message ); + case Result::eErrorFormatNotSupported: throw FormatNotSupportedError( message ); + case Result::eErrorFragmentedPool: throw FragmentedPoolError( message ); + case Result::eErrorUnknown: throw UnknownError( message ); + case Result::eErrorOutOfPoolMemory: throw OutOfPoolMemoryError( message ); + case Result::eErrorInvalidExternalHandle: throw InvalidExternalHandleError( message ); + case Result::eErrorFragmentation: throw FragmentationError( message ); + case Result::eErrorInvalidOpaqueCaptureAddress: throw InvalidOpaqueCaptureAddressError( message ); + case Result::eErrorSurfaceLostKHR: throw SurfaceLostKHRError( message ); + case Result::eErrorNativeWindowInUseKHR: throw NativeWindowInUseKHRError( message ); + case Result::eErrorOutOfDateKHR: throw OutOfDateKHRError( message ); + case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError( message ); + case Result::eErrorValidationFailedEXT: throw ValidationFailedEXTError( message ); + case Result::eErrorInvalidShaderNV: throw InvalidShaderNVError( message ); + case Result::eErrorIncompatibleVersionKHR: throw IncompatibleVersionKHRError( message ); + case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: throw InvalidDrmFormatModifierPlaneLayoutEXTError( message ); + case Result::eErrorNotPermittedEXT: throw NotPermittedEXTError( message ); + case Result::eErrorFullScreenExclusiveModeLostEXT: throw FullScreenExclusiveModeLostEXTError( message ); + default: throw SystemError( make_error_code( result ) ); + } + } +#endif + + template void ignore(T const&) VULKAN_HPP_NOEXCEPT {} + + template + struct ResultValue + { +#ifdef VULKAN_HPP_HAS_NOEXCEPT + ResultValue( Result r, T & v ) VULKAN_HPP_NOEXCEPT(VULKAN_HPP_NOEXCEPT(T(v))) +#else + ResultValue( Result r, T & v ) +#endif + : result( r ) + , value( v ) + {} + +#ifdef VULKAN_HPP_HAS_NOEXCEPT + ResultValue( Result r, T && v ) VULKAN_HPP_NOEXCEPT(VULKAN_HPP_NOEXCEPT(T(std::move(v)))) +#else + ResultValue( Result r, T && v ) +#endif + : result( r ) + , value( std::move( v ) ) + {} + + Result result; + T value; + + operator std::tuple() VULKAN_HPP_NOEXCEPT { return std::tuple(result, value); } + +#if !defined(VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST) + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator T const& () const & VULKAN_HPP_NOEXCEPT + { + return value; + } + + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator T& () & VULKAN_HPP_NOEXCEPT + { + return value; + } + + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator T const&& () const && VULKAN_HPP_NOEXCEPT + { + return std::move( value ); + } + + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator T&& () && VULKAN_HPP_NOEXCEPT + { + return std::move( value ); + } +#endif + }; + +#if !defined(VULKAN_HPP_NO_SMART_HANDLE) + template + struct ResultValue> + { +#ifdef VULKAN_HPP_HAS_NOEXCEPT + ResultValue(Result r, UniqueHandle && v) VULKAN_HPP_NOEXCEPT +#else + ResultValue(Result r, UniqueHandle && v) +#endif + : result(r) + , value(std::move(v)) + {} + + std::tuple> asTuple() + { + return std::make_tuple( result, std::move( value ) ); + } + +# if !defined(VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST) + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator UniqueHandle& () & VULKAN_HPP_NOEXCEPT + { + return value; + } + + VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.") + operator UniqueHandle() VULKAN_HPP_NOEXCEPT + { + return std::move(value); + } +# endif + + Result result; + UniqueHandle value; + }; + + template + struct ResultValue>> + { +# ifdef VULKAN_HPP_HAS_NOEXCEPT + ResultValue( Result r, std::vector> && v ) VULKAN_HPP_NOEXCEPT +# else + ResultValue( Result r, std::vector> && v ) +# endif + : result( r ) + , value( std::move( v ) ) + {} + + Result result; + std::vector> value; + + operator std::tuple> &>() VULKAN_HPP_NOEXCEPT + { + return std::tuple> &>( result, value ); + } + }; +#endif + + template + struct ResultValueType + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + typedef ResultValue type; +#else + typedef T type; +#endif + }; + + template <> + struct ResultValueType + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + typedef Result type; +#else + typedef void type; +#endif + }; + + VULKAN_HPP_INLINE ResultValueType::type createResultValue( Result result, char const * message ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore(message); + VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); + return result; +#else + if ( result != Result::eSuccess ) + { + throwResultException( result, message ); + } +#endif + } + + template + VULKAN_HPP_INLINE typename ResultValueType::type createResultValue( Result result, T & data, char const * message ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore(message); + VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); + return ResultValue( result, std::move( data ) ); +#else + if ( result != Result::eSuccess ) + { + throwResultException( result, message ); + } + return std::move( data ); +#endif + } + + VULKAN_HPP_INLINE Result createResultValue( Result result, char const * message, std::initializer_list successCodes ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore(message); + ignore(successCodes); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty + VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); +#else + if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) + { + throwResultException( result, message ); + } +#endif + return result; + } + + template + VULKAN_HPP_INLINE ResultValue createResultValue( Result result, T & data, char const * message, std::initializer_list successCodes ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore(message); + ignore(successCodes); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty + VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); +#else + if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) + { + throwResultException( result, message ); + } +#endif + return ResultValue( result, data ); + } + +#ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createResultValue( Result result, T & data, char const * message, typename UniqueHandleTraits::deleter const& deleter ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore(message); + VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); + return ResultValue>( result, UniqueHandle(data, deleter) ); +#else + if ( result != Result::eSuccess ) + { + throwResultException( result, message ); + } + return UniqueHandle(data, deleter); +#endif + } + + template + VULKAN_HPP_INLINE ResultValue> + createResultValue( Result result, + T & data, + char const * message, + std::initializer_list successCodes, + typename UniqueHandleTraits::deleter const & deleter ) + { +# ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore( message ); + ignore(successCodes); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty + VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); +# else + if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) + { + throwResultException( result, message ); + } +# endif + return ResultValue>( result, UniqueHandle( data, deleter ) ); + } + + template + VULKAN_HPP_INLINE typename ResultValueType>>::type + createResultValue( Result result, std::vector> && data, char const * message ) + { +# ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore( message ); + VULKAN_HPP_ASSERT_ON_RESULT( result == Result::eSuccess ); + return ResultValue>>( result, std::move( data ) ); +# else + if ( result != Result::eSuccess ) + { + throwResultException( result, message ); + } + return std::move( data ); +# endif + } + + template + VULKAN_HPP_INLINE ResultValue>> + createResultValue( Result result, + std::vector> && data, + char const * message, + std::initializer_list successCodes ) + { +# ifdef VULKAN_HPP_NO_EXCEPTIONS + ignore( message ); + ignore(successCodes); // just in case VULKAN_HPP_ASSERT_ON_RESULT is empty + VULKAN_HPP_ASSERT_ON_RESULT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() ); +# else + if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() ) + { + throwResultException( result, message ); + } +# endif + return ResultValue>>( result, std::move( data ) ); + } +#endif + + struct AabbPositionsKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AabbPositionsKHR(float minX_ = {}, float minY_ = {}, float minZ_ = {}, float maxX_ = {}, float maxY_ = {}, float maxZ_ = {}) VULKAN_HPP_NOEXCEPT + : minX( minX_ ), minY( minY_ ), minZ( minZ_ ), maxX( maxX_ ), maxY( maxY_ ), maxZ( maxZ_ ) + {} + + VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AabbPositionsKHR( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AabbPositionsKHR ) ); + return *this; + } + + AabbPositionsKHR & setMinX( float minX_ ) VULKAN_HPP_NOEXCEPT + { + minX = minX_; + return *this; + } + + AabbPositionsKHR & setMinY( float minY_ ) VULKAN_HPP_NOEXCEPT + { + minY = minY_; + return *this; + } + + AabbPositionsKHR & setMinZ( float minZ_ ) VULKAN_HPP_NOEXCEPT + { + minZ = minZ_; + return *this; + } + + AabbPositionsKHR & setMaxX( float maxX_ ) VULKAN_HPP_NOEXCEPT + { + maxX = maxX_; + return *this; + } + + AabbPositionsKHR & setMaxY( float maxY_ ) VULKAN_HPP_NOEXCEPT + { + maxY = maxY_; + return *this; + } + + AabbPositionsKHR & setMaxZ( float maxZ_ ) VULKAN_HPP_NOEXCEPT + { + maxZ = maxZ_; + return *this; + } + + + operator VkAabbPositionsKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAabbPositionsKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AabbPositionsKHR const& ) const = default; +#else + bool operator==( AabbPositionsKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( minX == rhs.minX ) + && ( minY == rhs.minY ) + && ( minZ == rhs.minZ ) + && ( maxX == rhs.maxX ) + && ( maxY == rhs.maxY ) + && ( maxZ == rhs.maxZ ); + } + + bool operator!=( AabbPositionsKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float minX = {}; + float minY = {}; + float minZ = {}; + float maxX = {}; + float maxY = {}; + float maxZ = {}; + + }; + static_assert( sizeof( AabbPositionsKHR ) == sizeof( VkAabbPositionsKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using AabbPositionsNV = AabbPositionsKHR; + + class AccelerationStructureKHR + { + public: + using CType = VkAccelerationStructureKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eAccelerationStructureKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eAccelerationStructureKHR; + + public: + VULKAN_HPP_CONSTEXPR AccelerationStructureKHR() VULKAN_HPP_NOEXCEPT + : m_accelerationStructureKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_accelerationStructureKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT AccelerationStructureKHR( VkAccelerationStructureKHR accelerationStructureKHR ) VULKAN_HPP_NOEXCEPT + : m_accelerationStructureKHR( accelerationStructureKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + AccelerationStructureKHR & operator=(VkAccelerationStructureKHR accelerationStructureKHR) VULKAN_HPP_NOEXCEPT + { + m_accelerationStructureKHR = accelerationStructureKHR; + return *this; + } +#endif + + AccelerationStructureKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_accelerationStructureKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureKHR const& ) const = default; +#else + bool operator==( AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR == rhs.m_accelerationStructureKHR; + } + + bool operator!=(AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR != rhs.m_accelerationStructureKHR; + } + + bool operator<(AccelerationStructureKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR < rhs.m_accelerationStructureKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkAccelerationStructureKHR() const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_accelerationStructureKHR == VK_NULL_HANDLE; + } + + private: + VkAccelerationStructureKHR m_accelerationStructureKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR ) == sizeof( VkAccelerationStructureKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + using AccelerationStructureNV = AccelerationStructureKHR; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + union DeviceOrHostAddressConstKHR + { + DeviceOrHostAddressConstKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR ) ); + } + + DeviceOrHostAddressConstKHR( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) + : deviceAddress( deviceAddress_ ) + {} + + DeviceOrHostAddressConstKHR( const void* hostAddress_ ) + : hostAddress( hostAddress_ ) + {} + + DeviceOrHostAddressConstKHR & setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + deviceAddress = deviceAddress_; + return *this; + } + + DeviceOrHostAddressConstKHR & setHostAddress( const void* hostAddress_ ) VULKAN_HPP_NOEXCEPT + { + hostAddress = hostAddress_; + return *this; + } + + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR & operator=( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR ) ); + return *this; + } + + operator VkDeviceOrHostAddressConstKHR const&() const + { + return *reinterpret_cast(this); + } + + operator VkDeviceOrHostAddressConstKHR &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress; + const void* hostAddress; +#else + VkDeviceAddress deviceAddress; + const void* hostAddress; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureGeometryTrianglesDataKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureGeometryTrianglesDataKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + AccelerationStructureGeometryTrianglesDataKHR(VULKAN_HPP_NAMESPACE::Format vertexFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR vertexData_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ = {}, VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR indexData_ = {}, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR transformData_ = {}) VULKAN_HPP_NOEXCEPT + : vertexFormat( vertexFormat_ ), vertexData( vertexData_ ), vertexStride( vertexStride_ ), indexType( indexType_ ), indexData( indexData_ ), transformData( transformData_ ) + {} + + AccelerationStructureGeometryTrianglesDataKHR( AccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureGeometryTrianglesDataKHR( VkAccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureGeometryTrianglesDataKHR & operator=( VkAccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & operator=( AccelerationStructureGeometryTrianglesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureGeometryTrianglesDataKHR ) ); + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setVertexFormat( VULKAN_HPP_NAMESPACE::Format vertexFormat_ ) VULKAN_HPP_NOEXCEPT + { + vertexFormat = vertexFormat_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setVertexData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & vertexData_ ) VULKAN_HPP_NOEXCEPT + { + vertexData = vertexData_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setVertexStride( VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ ) VULKAN_HPP_NOEXCEPT + { + vertexStride = vertexStride_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT + { + indexType = indexType_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setIndexData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & indexData_ ) VULKAN_HPP_NOEXCEPT + { + indexData = indexData_; + return *this; + } + + AccelerationStructureGeometryTrianglesDataKHR & setTransformData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & transformData_ ) VULKAN_HPP_NOEXCEPT + { + transformData = transformData_; + return *this; + } + + + operator VkAccelerationStructureGeometryTrianglesDataKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureGeometryTrianglesDataKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryTrianglesDataKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format vertexFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR vertexData = {}; + VULKAN_HPP_NAMESPACE::DeviceSize vertexStride = {}; + VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR indexData = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR transformData = {}; + + }; + static_assert( sizeof( AccelerationStructureGeometryTrianglesDataKHR ) == sizeof( VkAccelerationStructureGeometryTrianglesDataKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureGeometryTrianglesDataKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureGeometryAabbsDataKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureGeometryAabbsDataKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + AccelerationStructureGeometryAabbsDataKHR(VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize stride_ = {}) VULKAN_HPP_NOEXCEPT + : data( data_ ), stride( stride_ ) + {} + + AccelerationStructureGeometryAabbsDataKHR( AccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureGeometryAabbsDataKHR( VkAccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureGeometryAabbsDataKHR & operator=( VkAccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureGeometryAabbsDataKHR & operator=( AccelerationStructureGeometryAabbsDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureGeometryAabbsDataKHR ) ); + return *this; + } + + AccelerationStructureGeometryAabbsDataKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureGeometryAabbsDataKHR & setData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & data_ ) VULKAN_HPP_NOEXCEPT + { + data = data_; + return *this; + } + + AccelerationStructureGeometryAabbsDataKHR & setStride( VULKAN_HPP_NAMESPACE::DeviceSize stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + + operator VkAccelerationStructureGeometryAabbsDataKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureGeometryAabbsDataKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryAabbsDataKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data = {}; + VULKAN_HPP_NAMESPACE::DeviceSize stride = {}; + + }; + static_assert( sizeof( AccelerationStructureGeometryAabbsDataKHR ) == sizeof( VkAccelerationStructureGeometryAabbsDataKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureGeometryAabbsDataKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureGeometryInstancesDataKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureGeometryInstancesDataKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + AccelerationStructureGeometryInstancesDataKHR(VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers_ = {}, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data_ = {}) VULKAN_HPP_NOEXCEPT + : arrayOfPointers( arrayOfPointers_ ), data( data_ ) + {} + + AccelerationStructureGeometryInstancesDataKHR( AccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureGeometryInstancesDataKHR( VkAccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureGeometryInstancesDataKHR & operator=( VkAccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureGeometryInstancesDataKHR & operator=( AccelerationStructureGeometryInstancesDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureGeometryInstancesDataKHR ) ); + return *this; + } + + AccelerationStructureGeometryInstancesDataKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureGeometryInstancesDataKHR & setArrayOfPointers( VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers_ ) VULKAN_HPP_NOEXCEPT + { + arrayOfPointers = arrayOfPointers_; + return *this; + } + + AccelerationStructureGeometryInstancesDataKHR & setData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & data_ ) VULKAN_HPP_NOEXCEPT + { + data = data_; + return *this; + } + + + operator VkAccelerationStructureGeometryInstancesDataKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureGeometryInstancesDataKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryInstancesDataKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 arrayOfPointers = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR data = {}; + + }; + static_assert( sizeof( AccelerationStructureGeometryInstancesDataKHR ) == sizeof( VkAccelerationStructureGeometryInstancesDataKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureGeometryInstancesDataKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + union AccelerationStructureGeometryDataKHR + { + AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR ) ); + } + + AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR triangles_ = {} ) + : triangles( triangles_ ) + {} + + AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR aabbs_ ) + : aabbs( aabbs_ ) + {} + + AccelerationStructureGeometryDataKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR instances_ ) + : instances( instances_ ) + {} + + AccelerationStructureGeometryDataKHR & setTriangles( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR const & triangles_ ) VULKAN_HPP_NOEXCEPT + { + triangles = triangles_; + return *this; + } + + AccelerationStructureGeometryDataKHR & setAabbs( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR const & aabbs_ ) VULKAN_HPP_NOEXCEPT + { + aabbs = aabbs_; + return *this; + } + + AccelerationStructureGeometryDataKHR & setInstances( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR const & instances_ ) VULKAN_HPP_NOEXCEPT + { + instances = instances_; + return *this; + } + + VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR & operator=( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR ) ); + return *this; + } + + operator VkAccelerationStructureGeometryDataKHR const&() const + { + return *reinterpret_cast(this); + } + + operator VkAccelerationStructureGeometryDataKHR &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryTrianglesDataKHR triangles; + VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryAabbsDataKHR aabbs; + VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryInstancesDataKHR instances; +#else + VkAccelerationStructureGeometryTrianglesDataKHR triangles; + VkAccelerationStructureGeometryAabbsDataKHR aabbs; + VkAccelerationStructureGeometryInstancesDataKHR instances; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureGeometryKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureGeometryKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + AccelerationStructureGeometryKHR(VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles, VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR geometry_ = {}, VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ = {}) VULKAN_HPP_NOEXCEPT + : geometryType( geometryType_ ), geometry( geometry_ ), flags( flags_ ) + {} + + AccelerationStructureGeometryKHR( AccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureGeometryKHR( VkAccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureGeometryKHR & operator=( VkAccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureGeometryKHR & operator=( AccelerationStructureGeometryKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureGeometryKHR ) ); + return *this; + } + + AccelerationStructureGeometryKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureGeometryKHR & setGeometryType( VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ ) VULKAN_HPP_NOEXCEPT + { + geometryType = geometryType_; + return *this; + } + + AccelerationStructureGeometryKHR & setGeometry( VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR const & geometry_ ) VULKAN_HPP_NOEXCEPT + { + geometry = geometry_; + return *this; + } + + AccelerationStructureGeometryKHR & setFlags( VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkAccelerationStructureGeometryKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureGeometryKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureGeometryKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles; + VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryDataKHR geometry = {}; + VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags = {}; + + }; + static_assert( sizeof( AccelerationStructureGeometryKHR ) == sizeof( VkAccelerationStructureGeometryKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureGeometryKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + union DeviceOrHostAddressKHR + { + DeviceOrHostAddressKHR( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR ) ); + } + + DeviceOrHostAddressKHR( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) + : deviceAddress( deviceAddress_ ) + {} + + DeviceOrHostAddressKHR( void* hostAddress_ ) + : hostAddress( hostAddress_ ) + {} + + DeviceOrHostAddressKHR & setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + deviceAddress = deviceAddress_; + return *this; + } + + DeviceOrHostAddressKHR & setHostAddress( void* hostAddress_ ) VULKAN_HPP_NOEXCEPT + { + hostAddress = hostAddress_; + return *this; + } + + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR & operator=( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR ) ); + return *this; + } + + operator VkDeviceOrHostAddressKHR const&() const + { + return *reinterpret_cast(this); + } + + operator VkDeviceOrHostAddressKHR &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress; + void* hostAddress; +#else + VkDeviceAddress deviceAddress; + void* hostAddress; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureBuildGeometryInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureBuildGeometryInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + AccelerationStructureBuildGeometryInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ = VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel, VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 update_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure_ = {}, VULKAN_HPP_NAMESPACE::Bool32 geometryArrayOfPointers_ = {}, uint32_t geometryCount_ = {}, const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR* const * ppGeometries_ = {}, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR scratchData_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), flags( flags_ ), update( update_ ), srcAccelerationStructure( srcAccelerationStructure_ ), dstAccelerationStructure( dstAccelerationStructure_ ), geometryArrayOfPointers( geometryArrayOfPointers_ ), geometryCount( geometryCount_ ), ppGeometries( ppGeometries_ ), scratchData( scratchData_ ) + {} + + AccelerationStructureBuildGeometryInfoKHR( AccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureBuildGeometryInfoKHR( VkAccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureBuildGeometryInfoKHR & operator=( VkAccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & operator=( AccelerationStructureBuildGeometryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureBuildGeometryInfoKHR ) ); + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setUpdate( VULKAN_HPP_NAMESPACE::Bool32 update_ ) VULKAN_HPP_NOEXCEPT + { + update = update_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setSrcAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + srcAccelerationStructure = srcAccelerationStructure_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setDstAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + dstAccelerationStructure = dstAccelerationStructure_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setGeometryArrayOfPointers( VULKAN_HPP_NAMESPACE::Bool32 geometryArrayOfPointers_ ) VULKAN_HPP_NOEXCEPT + { + geometryArrayOfPointers = geometryArrayOfPointers_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setGeometryCount( uint32_t geometryCount_ ) VULKAN_HPP_NOEXCEPT + { + geometryCount = geometryCount_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setPpGeometries( const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR* const * ppGeometries_ ) VULKAN_HPP_NOEXCEPT + { + ppGeometries = ppGeometries_; + return *this; + } + + AccelerationStructureBuildGeometryInfoKHR & setScratchData( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & scratchData_ ) VULKAN_HPP_NOEXCEPT + { + scratchData = scratchData_; + return *this; + } + + + operator VkAccelerationStructureBuildGeometryInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureBuildGeometryInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureBuildGeometryInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type = VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel; + VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 update = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR srcAccelerationStructure = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dstAccelerationStructure = {}; + VULKAN_HPP_NAMESPACE::Bool32 geometryArrayOfPointers = {}; + uint32_t geometryCount = {}; + const VULKAN_HPP_NAMESPACE::AccelerationStructureGeometryKHR* const * ppGeometries = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR scratchData = {}; + + }; + static_assert( sizeof( AccelerationStructureBuildGeometryInfoKHR ) == sizeof( VkAccelerationStructureBuildGeometryInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureBuildGeometryInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureBuildOffsetInfoKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureBuildOffsetInfoKHR(uint32_t primitiveCount_ = {}, uint32_t primitiveOffset_ = {}, uint32_t firstVertex_ = {}, uint32_t transformOffset_ = {}) VULKAN_HPP_NOEXCEPT + : primitiveCount( primitiveCount_ ), primitiveOffset( primitiveOffset_ ), firstVertex( firstVertex_ ), transformOffset( transformOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureBuildOffsetInfoKHR( AccelerationStructureBuildOffsetInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureBuildOffsetInfoKHR( VkAccelerationStructureBuildOffsetInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureBuildOffsetInfoKHR & operator=( VkAccelerationStructureBuildOffsetInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureBuildOffsetInfoKHR & operator=( AccelerationStructureBuildOffsetInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureBuildOffsetInfoKHR ) ); + return *this; + } + + AccelerationStructureBuildOffsetInfoKHR & setPrimitiveCount( uint32_t primitiveCount_ ) VULKAN_HPP_NOEXCEPT + { + primitiveCount = primitiveCount_; + return *this; + } + + AccelerationStructureBuildOffsetInfoKHR & setPrimitiveOffset( uint32_t primitiveOffset_ ) VULKAN_HPP_NOEXCEPT + { + primitiveOffset = primitiveOffset_; + return *this; + } + + AccelerationStructureBuildOffsetInfoKHR & setFirstVertex( uint32_t firstVertex_ ) VULKAN_HPP_NOEXCEPT + { + firstVertex = firstVertex_; + return *this; + } + + AccelerationStructureBuildOffsetInfoKHR & setTransformOffset( uint32_t transformOffset_ ) VULKAN_HPP_NOEXCEPT + { + transformOffset = transformOffset_; + return *this; + } + + + operator VkAccelerationStructureBuildOffsetInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureBuildOffsetInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureBuildOffsetInfoKHR const& ) const = default; +#else + bool operator==( AccelerationStructureBuildOffsetInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( primitiveCount == rhs.primitiveCount ) + && ( primitiveOffset == rhs.primitiveOffset ) + && ( firstVertex == rhs.firstVertex ) + && ( transformOffset == rhs.transformOffset ); + } + + bool operator!=( AccelerationStructureBuildOffsetInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t primitiveCount = {}; + uint32_t primitiveOffset = {}; + uint32_t firstVertex = {}; + uint32_t transformOffset = {}; + + }; + static_assert( sizeof( AccelerationStructureBuildOffsetInfoKHR ) == sizeof( VkAccelerationStructureBuildOffsetInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureCreateGeometryTypeInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureCreateGeometryTypeInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateGeometryTypeInfoKHR(VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles, uint32_t maxPrimitiveCount_ = {}, VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16, uint32_t maxVertexCount_ = {}, VULKAN_HPP_NAMESPACE::Format vertexFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::Bool32 allowsTransforms_ = {}) VULKAN_HPP_NOEXCEPT + : geometryType( geometryType_ ), maxPrimitiveCount( maxPrimitiveCount_ ), indexType( indexType_ ), maxVertexCount( maxVertexCount_ ), vertexFormat( vertexFormat_ ), allowsTransforms( allowsTransforms_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateGeometryTypeInfoKHR( AccelerationStructureCreateGeometryTypeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureCreateGeometryTypeInfoKHR( VkAccelerationStructureCreateGeometryTypeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureCreateGeometryTypeInfoKHR & operator=( VkAccelerationStructureCreateGeometryTypeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & operator=( AccelerationStructureCreateGeometryTypeInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureCreateGeometryTypeInfoKHR ) ); + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setGeometryType( VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ ) VULKAN_HPP_NOEXCEPT + { + geometryType = geometryType_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setMaxPrimitiveCount( uint32_t maxPrimitiveCount_ ) VULKAN_HPP_NOEXCEPT + { + maxPrimitiveCount = maxPrimitiveCount_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT + { + indexType = indexType_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setMaxVertexCount( uint32_t maxVertexCount_ ) VULKAN_HPP_NOEXCEPT + { + maxVertexCount = maxVertexCount_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setVertexFormat( VULKAN_HPP_NAMESPACE::Format vertexFormat_ ) VULKAN_HPP_NOEXCEPT + { + vertexFormat = vertexFormat_; + return *this; + } + + AccelerationStructureCreateGeometryTypeInfoKHR & setAllowsTransforms( VULKAN_HPP_NAMESPACE::Bool32 allowsTransforms_ ) VULKAN_HPP_NOEXCEPT + { + allowsTransforms = allowsTransforms_; + return *this; + } + + + operator VkAccelerationStructureCreateGeometryTypeInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureCreateGeometryTypeInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureCreateGeometryTypeInfoKHR const& ) const = default; +#else + bool operator==( AccelerationStructureCreateGeometryTypeInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( geometryType == rhs.geometryType ) + && ( maxPrimitiveCount == rhs.maxPrimitiveCount ) + && ( indexType == rhs.indexType ) + && ( maxVertexCount == rhs.maxVertexCount ) + && ( vertexFormat == rhs.vertexFormat ) + && ( allowsTransforms == rhs.allowsTransforms ); + } + + bool operator!=( AccelerationStructureCreateGeometryTypeInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureCreateGeometryTypeInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles; + uint32_t maxPrimitiveCount = {}; + VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; + uint32_t maxVertexCount = {}; + VULKAN_HPP_NAMESPACE::Format vertexFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::Bool32 allowsTransforms = {}; + + }; + static_assert( sizeof( AccelerationStructureCreateGeometryTypeInfoKHR ) == sizeof( VkAccelerationStructureCreateGeometryTypeInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureCreateGeometryTypeInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoKHR(VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ = VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel, VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ = {}, uint32_t maxGeometryCount_ = {}, const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateGeometryTypeInfoKHR* pGeometryInfos_ = {}, VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {}) VULKAN_HPP_NOEXCEPT + : compactedSize( compactedSize_ ), type( type_ ), flags( flags_ ), maxGeometryCount( maxGeometryCount_ ), pGeometryInfos( pGeometryInfos_ ), deviceAddress( deviceAddress_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoKHR( AccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureCreateInfoKHR( VkAccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + AccelerationStructureCreateInfoKHR( VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_, VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_, VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometryInfos_, VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {} ) + : compactedSize( compactedSize_ ), type( type_ ), flags( flags_ ), maxGeometryCount( static_cast( geometryInfos_.size() ) ), pGeometryInfos( geometryInfos_.data() ), deviceAddress( deviceAddress_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureCreateInfoKHR & operator=( VkAccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureCreateInfoKHR & operator=( AccelerationStructureCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureCreateInfoKHR ) ); + return *this; + } + + AccelerationStructureCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureCreateInfoKHR & setCompactedSize( VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ ) VULKAN_HPP_NOEXCEPT + { + compactedSize = compactedSize_; + return *this; + } + + AccelerationStructureCreateInfoKHR & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + AccelerationStructureCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AccelerationStructureCreateInfoKHR & setMaxGeometryCount( uint32_t maxGeometryCount_ ) VULKAN_HPP_NOEXCEPT + { + maxGeometryCount = maxGeometryCount_; + return *this; + } + + AccelerationStructureCreateInfoKHR & setPGeometryInfos( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateGeometryTypeInfoKHR* pGeometryInfos_ ) VULKAN_HPP_NOEXCEPT + { + pGeometryInfos = pGeometryInfos_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + AccelerationStructureCreateInfoKHR & setGeometryInfos( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometryInfos_ ) VULKAN_HPP_NOEXCEPT + { + maxGeometryCount = static_cast( geometryInfos_.size() ); + pGeometryInfos = geometryInfos_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + AccelerationStructureCreateInfoKHR & setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + deviceAddress = deviceAddress_; + return *this; + } + + + operator VkAccelerationStructureCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureCreateInfoKHR const& ) const = default; +#else + bool operator==( AccelerationStructureCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( compactedSize == rhs.compactedSize ) + && ( type == rhs.type ) + && ( flags == rhs.flags ) + && ( maxGeometryCount == rhs.maxGeometryCount ) + && ( pGeometryInfos == rhs.pGeometryInfos ) + && ( deviceAddress == rhs.deviceAddress ); + } + + bool operator!=( AccelerationStructureCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize compactedSize = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR type = VULKAN_HPP_NAMESPACE::AccelerationStructureTypeKHR::eTopLevel; + VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR flags = {}; + uint32_t maxGeometryCount = {}; + const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateGeometryTypeInfoKHR* pGeometryInfos = {}; + VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; + + }; + static_assert( sizeof( AccelerationStructureCreateInfoKHR ) == sizeof( VkAccelerationStructureCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureCreateInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + class Buffer + { + public: + using CType = VkBuffer; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eBuffer; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eBuffer; + + public: + VULKAN_HPP_CONSTEXPR Buffer() VULKAN_HPP_NOEXCEPT + : m_buffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Buffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_buffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Buffer( VkBuffer buffer ) VULKAN_HPP_NOEXCEPT + : m_buffer( buffer ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Buffer & operator=(VkBuffer buffer) VULKAN_HPP_NOEXCEPT + { + m_buffer = buffer; + return *this; + } +#endif + + Buffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_buffer = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Buffer const& ) const = default; +#else + bool operator==( Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_buffer == rhs.m_buffer; + } + + bool operator!=(Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_buffer != rhs.m_buffer; + } + + bool operator<(Buffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_buffer < rhs.m_buffer; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBuffer() const VULKAN_HPP_NOEXCEPT + { + return m_buffer; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_buffer != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_buffer == VK_NULL_HANDLE; + } + + private: + VkBuffer m_buffer; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Buffer ) == sizeof( VkBuffer ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Buffer; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Buffer; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Buffer; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct GeometryTrianglesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryTrianglesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeometryTrianglesNV(VULKAN_HPP_NAMESPACE::Buffer vertexData_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset_ = {}, uint32_t vertexCount_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ = {}, VULKAN_HPP_NAMESPACE::Format vertexFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::Buffer indexData_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize indexOffset_ = {}, uint32_t indexCount_ = {}, VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16, VULKAN_HPP_NAMESPACE::Buffer transformData_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize transformOffset_ = {}) VULKAN_HPP_NOEXCEPT + : vertexData( vertexData_ ), vertexOffset( vertexOffset_ ), vertexCount( vertexCount_ ), vertexStride( vertexStride_ ), vertexFormat( vertexFormat_ ), indexData( indexData_ ), indexOffset( indexOffset_ ), indexCount( indexCount_ ), indexType( indexType_ ), transformData( transformData_ ), transformOffset( transformOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR GeometryTrianglesNV( GeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeometryTrianglesNV( VkGeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeometryTrianglesNV & operator=( VkGeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeometryTrianglesNV & operator=( GeometryTrianglesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeometryTrianglesNV ) ); + return *this; + } + + GeometryTrianglesNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GeometryTrianglesNV & setVertexData( VULKAN_HPP_NAMESPACE::Buffer vertexData_ ) VULKAN_HPP_NOEXCEPT + { + vertexData = vertexData_; + return *this; + } + + GeometryTrianglesNV & setVertexOffset( VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset_ ) VULKAN_HPP_NOEXCEPT + { + vertexOffset = vertexOffset_; + return *this; + } + + GeometryTrianglesNV & setVertexCount( uint32_t vertexCount_ ) VULKAN_HPP_NOEXCEPT + { + vertexCount = vertexCount_; + return *this; + } + + GeometryTrianglesNV & setVertexStride( VULKAN_HPP_NAMESPACE::DeviceSize vertexStride_ ) VULKAN_HPP_NOEXCEPT + { + vertexStride = vertexStride_; + return *this; + } + + GeometryTrianglesNV & setVertexFormat( VULKAN_HPP_NAMESPACE::Format vertexFormat_ ) VULKAN_HPP_NOEXCEPT + { + vertexFormat = vertexFormat_; + return *this; + } + + GeometryTrianglesNV & setIndexData( VULKAN_HPP_NAMESPACE::Buffer indexData_ ) VULKAN_HPP_NOEXCEPT + { + indexData = indexData_; + return *this; + } + + GeometryTrianglesNV & setIndexOffset( VULKAN_HPP_NAMESPACE::DeviceSize indexOffset_ ) VULKAN_HPP_NOEXCEPT + { + indexOffset = indexOffset_; + return *this; + } + + GeometryTrianglesNV & setIndexCount( uint32_t indexCount_ ) VULKAN_HPP_NOEXCEPT + { + indexCount = indexCount_; + return *this; + } + + GeometryTrianglesNV & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT + { + indexType = indexType_; + return *this; + } + + GeometryTrianglesNV & setTransformData( VULKAN_HPP_NAMESPACE::Buffer transformData_ ) VULKAN_HPP_NOEXCEPT + { + transformData = transformData_; + return *this; + } + + GeometryTrianglesNV & setTransformOffset( VULKAN_HPP_NAMESPACE::DeviceSize transformOffset_ ) VULKAN_HPP_NOEXCEPT + { + transformOffset = transformOffset_; + return *this; + } + + + operator VkGeometryTrianglesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeometryTrianglesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeometryTrianglesNV const& ) const = default; +#else + bool operator==( GeometryTrianglesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( vertexData == rhs.vertexData ) + && ( vertexOffset == rhs.vertexOffset ) + && ( vertexCount == rhs.vertexCount ) + && ( vertexStride == rhs.vertexStride ) + && ( vertexFormat == rhs.vertexFormat ) + && ( indexData == rhs.indexData ) + && ( indexOffset == rhs.indexOffset ) + && ( indexCount == rhs.indexCount ) + && ( indexType == rhs.indexType ) + && ( transformData == rhs.transformData ) + && ( transformOffset == rhs.transformOffset ); + } + + bool operator!=( GeometryTrianglesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryTrianglesNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer vertexData = {}; + VULKAN_HPP_NAMESPACE::DeviceSize vertexOffset = {}; + uint32_t vertexCount = {}; + VULKAN_HPP_NAMESPACE::DeviceSize vertexStride = {}; + VULKAN_HPP_NAMESPACE::Format vertexFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::Buffer indexData = {}; + VULKAN_HPP_NAMESPACE::DeviceSize indexOffset = {}; + uint32_t indexCount = {}; + VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; + VULKAN_HPP_NAMESPACE::Buffer transformData = {}; + VULKAN_HPP_NAMESPACE::DeviceSize transformOffset = {}; + + }; + static_assert( sizeof( GeometryTrianglesNV ) == sizeof( VkGeometryTrianglesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GeometryTrianglesNV; + }; + + struct GeometryAABBNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryAabbNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeometryAABBNV(VULKAN_HPP_NAMESPACE::Buffer aabbData_ = {}, uint32_t numAABBs_ = {}, uint32_t stride_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}) VULKAN_HPP_NOEXCEPT + : aabbData( aabbData_ ), numAABBs( numAABBs_ ), stride( stride_ ), offset( offset_ ) + {} + + VULKAN_HPP_CONSTEXPR GeometryAABBNV( GeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeometryAABBNV( VkGeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeometryAABBNV & operator=( VkGeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeometryAABBNV & operator=( GeometryAABBNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeometryAABBNV ) ); + return *this; + } + + GeometryAABBNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GeometryAABBNV & setAabbData( VULKAN_HPP_NAMESPACE::Buffer aabbData_ ) VULKAN_HPP_NOEXCEPT + { + aabbData = aabbData_; + return *this; + } + + GeometryAABBNV & setNumAABBs( uint32_t numAABBs_ ) VULKAN_HPP_NOEXCEPT + { + numAABBs = numAABBs_; + return *this; + } + + GeometryAABBNV & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + GeometryAABBNV & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + + operator VkGeometryAABBNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeometryAABBNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeometryAABBNV const& ) const = default; +#else + bool operator==( GeometryAABBNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( aabbData == rhs.aabbData ) + && ( numAABBs == rhs.numAABBs ) + && ( stride == rhs.stride ) + && ( offset == rhs.offset ); + } + + bool operator!=( GeometryAABBNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryAabbNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer aabbData = {}; + uint32_t numAABBs = {}; + uint32_t stride = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + + }; + static_assert( sizeof( GeometryAABBNV ) == sizeof( VkGeometryAABBNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GeometryAABBNV; + }; + + struct GeometryDataNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeometryDataNV(VULKAN_HPP_NAMESPACE::GeometryTrianglesNV triangles_ = {}, VULKAN_HPP_NAMESPACE::GeometryAABBNV aabbs_ = {}) VULKAN_HPP_NOEXCEPT + : triangles( triangles_ ), aabbs( aabbs_ ) + {} + + VULKAN_HPP_CONSTEXPR GeometryDataNV( GeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeometryDataNV( VkGeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeometryDataNV & operator=( VkGeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeometryDataNV & operator=( GeometryDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeometryDataNV ) ); + return *this; + } + + GeometryDataNV & setTriangles( VULKAN_HPP_NAMESPACE::GeometryTrianglesNV const & triangles_ ) VULKAN_HPP_NOEXCEPT + { + triangles = triangles_; + return *this; + } + + GeometryDataNV & setAabbs( VULKAN_HPP_NAMESPACE::GeometryAABBNV const & aabbs_ ) VULKAN_HPP_NOEXCEPT + { + aabbs = aabbs_; + return *this; + } + + + operator VkGeometryDataNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeometryDataNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeometryDataNV const& ) const = default; +#else + bool operator==( GeometryDataNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( triangles == rhs.triangles ) + && ( aabbs == rhs.aabbs ); + } + + bool operator!=( GeometryDataNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::GeometryTrianglesNV triangles = {}; + VULKAN_HPP_NAMESPACE::GeometryAABBNV aabbs = {}; + + }; + static_assert( sizeof( GeometryDataNV ) == sizeof( VkGeometryDataNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct GeometryNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeometryNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeometryNV(VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles, VULKAN_HPP_NAMESPACE::GeometryDataNV geometry_ = {}, VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ = {}) VULKAN_HPP_NOEXCEPT + : geometryType( geometryType_ ), geometry( geometry_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR GeometryNV( GeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeometryNV( VkGeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeometryNV & operator=( VkGeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeometryNV & operator=( GeometryNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeometryNV ) ); + return *this; + } + + GeometryNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GeometryNV & setGeometryType( VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType_ ) VULKAN_HPP_NOEXCEPT + { + geometryType = geometryType_; + return *this; + } + + GeometryNV & setGeometry( VULKAN_HPP_NAMESPACE::GeometryDataNV const & geometry_ ) VULKAN_HPP_NOEXCEPT + { + geometry = geometry_; + return *this; + } + + GeometryNV & setFlags( VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkGeometryNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeometryNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeometryNV const& ) const = default; +#else + bool operator==( GeometryNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( geometryType == rhs.geometryType ) + && ( geometry == rhs.geometry ) + && ( flags == rhs.flags ); + } + + bool operator!=( GeometryNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeometryNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::GeometryTypeKHR geometryType = VULKAN_HPP_NAMESPACE::GeometryTypeKHR::eTriangles; + VULKAN_HPP_NAMESPACE::GeometryDataNV geometry = {}; + VULKAN_HPP_NAMESPACE::GeometryFlagsKHR flags = {}; + + }; + static_assert( sizeof( GeometryNV ) == sizeof( VkGeometryNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GeometryNV; + }; + + struct AccelerationStructureInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureInfoNV(VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_ = {}, VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_ = {}, uint32_t instanceCount_ = {}, uint32_t geometryCount_ = {}, const VULKAN_HPP_NAMESPACE::GeometryNV* pGeometries_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), flags( flags_ ), instanceCount( instanceCount_ ), geometryCount( geometryCount_ ), pGeometries( pGeometries_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureInfoNV( AccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureInfoNV( VkAccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + AccelerationStructureInfoNV( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_, VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_, uint32_t instanceCount_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometries_ ) + : type( type_ ), flags( flags_ ), instanceCount( instanceCount_ ), geometryCount( static_cast( geometries_.size() ) ), pGeometries( geometries_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureInfoNV & operator=( VkAccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureInfoNV & operator=( AccelerationStructureInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureInfoNV ) ); + return *this; + } + + AccelerationStructureInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureInfoNV & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + AccelerationStructureInfoNV & setFlags( VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AccelerationStructureInfoNV & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT + { + instanceCount = instanceCount_; + return *this; + } + + AccelerationStructureInfoNV & setGeometryCount( uint32_t geometryCount_ ) VULKAN_HPP_NOEXCEPT + { + geometryCount = geometryCount_; + return *this; + } + + AccelerationStructureInfoNV & setPGeometries( const VULKAN_HPP_NAMESPACE::GeometryNV* pGeometries_ ) VULKAN_HPP_NOEXCEPT + { + pGeometries = pGeometries_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + AccelerationStructureInfoNV & setGeometries( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & geometries_ ) VULKAN_HPP_NOEXCEPT + { + geometryCount = static_cast( geometries_.size() ); + pGeometries = geometries_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkAccelerationStructureInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureInfoNV const& ) const = default; +#else + bool operator==( AccelerationStructureInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( flags == rhs.flags ) + && ( instanceCount == rhs.instanceCount ) + && ( geometryCount == rhs.geometryCount ) + && ( pGeometries == rhs.pGeometries ); + } + + bool operator!=( AccelerationStructureInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureTypeNV type = {}; + VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV flags = {}; + uint32_t instanceCount = {}; + uint32_t geometryCount = {}; + const VULKAN_HPP_NAMESPACE::GeometryNV* pGeometries = {}; + + }; + static_assert( sizeof( AccelerationStructureInfoNV ) == sizeof( VkAccelerationStructureInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureInfoNV; + }; + + struct AccelerationStructureCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoNV(VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV info_ = {}) VULKAN_HPP_NOEXCEPT + : compactedSize( compactedSize_ ), info( info_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureCreateInfoNV( AccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureCreateInfoNV( VkAccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureCreateInfoNV & operator=( VkAccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureCreateInfoNV & operator=( AccelerationStructureCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureCreateInfoNV ) ); + return *this; + } + + AccelerationStructureCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureCreateInfoNV & setCompactedSize( VULKAN_HPP_NAMESPACE::DeviceSize compactedSize_ ) VULKAN_HPP_NOEXCEPT + { + compactedSize = compactedSize_; + return *this; + } + + AccelerationStructureCreateInfoNV & setInfo( VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV const & info_ ) VULKAN_HPP_NOEXCEPT + { + info = info_; + return *this; + } + + + operator VkAccelerationStructureCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureCreateInfoNV const& ) const = default; +#else + bool operator==( AccelerationStructureCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( compactedSize == rhs.compactedSize ) + && ( info == rhs.info ); + } + + bool operator!=( AccelerationStructureCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize compactedSize = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV info = {}; + + }; + static_assert( sizeof( AccelerationStructureCreateInfoNV ) == sizeof( VkAccelerationStructureCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureCreateInfoNV; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureDeviceAddressInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureDeviceAddressInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureDeviceAddressInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ = {}) VULKAN_HPP_NOEXCEPT + : accelerationStructure( accelerationStructure_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureDeviceAddressInfoKHR( AccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureDeviceAddressInfoKHR( VkAccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureDeviceAddressInfoKHR & operator=( VkAccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureDeviceAddressInfoKHR & operator=( AccelerationStructureDeviceAddressInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureDeviceAddressInfoKHR ) ); + return *this; + } + + AccelerationStructureDeviceAddressInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureDeviceAddressInfoKHR & setAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructure = accelerationStructure_; + return *this; + } + + + operator VkAccelerationStructureDeviceAddressInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureDeviceAddressInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureDeviceAddressInfoKHR const& ) const = default; +#else + bool operator==( AccelerationStructureDeviceAddressInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( accelerationStructure == rhs.accelerationStructure ); + } + + bool operator!=( AccelerationStructureDeviceAddressInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureDeviceAddressInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure = {}; + + }; + static_assert( sizeof( AccelerationStructureDeviceAddressInfoKHR ) == sizeof( VkAccelerationStructureDeviceAddressInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureDeviceAddressInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct TransformMatrixKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 TransformMatrixKHR(std::array,3> const& matrix_ = {}) VULKAN_HPP_NOEXCEPT + : matrix( matrix_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 TransformMatrixKHR( TransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + TransformMatrixKHR( VkTransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + TransformMatrixKHR & operator=( VkTransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + TransformMatrixKHR & operator=( TransformMatrixKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( TransformMatrixKHR ) ); + return *this; + } + + TransformMatrixKHR & setMatrix( std::array,3> matrix_ ) VULKAN_HPP_NOEXCEPT + { + matrix = matrix_; + return *this; + } + + + operator VkTransformMatrixKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkTransformMatrixKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( TransformMatrixKHR const& ) const = default; +#else + bool operator==( TransformMatrixKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( matrix == rhs.matrix ); + } + + bool operator!=( TransformMatrixKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ArrayWrapper2D matrix = {}; + + }; + static_assert( sizeof( TransformMatrixKHR ) == sizeof( VkTransformMatrixKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using TransformMatrixNV = TransformMatrixKHR; + + struct AccelerationStructureInstanceKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 AccelerationStructureInstanceKHR(VULKAN_HPP_NAMESPACE::TransformMatrixKHR transform_ = {}, uint32_t instanceCustomIndex_ = {}, uint32_t mask_ = {}, uint32_t instanceShaderBindingTableRecordOffset_ = {}, VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsKHR flags_ = {}, uint64_t accelerationStructureReference_ = {}) VULKAN_HPP_NOEXCEPT + : transform( transform_ ), instanceCustomIndex( instanceCustomIndex_ ), mask( mask_ ), instanceShaderBindingTableRecordOffset( instanceShaderBindingTableRecordOffset_ ), flags( flags_ ), accelerationStructureReference( accelerationStructureReference_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 AccelerationStructureInstanceKHR( AccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureInstanceKHR( VkAccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureInstanceKHR & operator=( VkAccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureInstanceKHR & operator=( AccelerationStructureInstanceKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureInstanceKHR ) ); + return *this; + } + + AccelerationStructureInstanceKHR & setTransform( VULKAN_HPP_NAMESPACE::TransformMatrixKHR const & transform_ ) VULKAN_HPP_NOEXCEPT + { + transform = transform_; + return *this; + } + + AccelerationStructureInstanceKHR & setInstanceCustomIndex( uint32_t instanceCustomIndex_ ) VULKAN_HPP_NOEXCEPT + { + instanceCustomIndex = instanceCustomIndex_; + return *this; + } + + AccelerationStructureInstanceKHR & setMask( uint32_t mask_ ) VULKAN_HPP_NOEXCEPT + { + mask = mask_; + return *this; + } + + AccelerationStructureInstanceKHR & setInstanceShaderBindingTableRecordOffset( uint32_t instanceShaderBindingTableRecordOffset_ ) VULKAN_HPP_NOEXCEPT + { + instanceShaderBindingTableRecordOffset = instanceShaderBindingTableRecordOffset_; + return *this; + } + + AccelerationStructureInstanceKHR & setFlags( VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = *reinterpret_cast(&flags_); + return *this; + } + + AccelerationStructureInstanceKHR & setAccelerationStructureReference( uint64_t accelerationStructureReference_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructureReference = accelerationStructureReference_; + return *this; + } + + + operator VkAccelerationStructureInstanceKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureInstanceKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureInstanceKHR const& ) const = default; +#else + bool operator==( AccelerationStructureInstanceKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( transform == rhs.transform ) + && ( instanceCustomIndex == rhs.instanceCustomIndex ) + && ( mask == rhs.mask ) + && ( instanceShaderBindingTableRecordOffset == rhs.instanceShaderBindingTableRecordOffset ) + && ( flags == rhs.flags ) + && ( accelerationStructureReference == rhs.accelerationStructureReference ); + } + + bool operator!=( AccelerationStructureInstanceKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::TransformMatrixKHR transform = {}; + uint32_t instanceCustomIndex : 24; + uint32_t mask : 8; + uint32_t instanceShaderBindingTableRecordOffset : 24; + VkGeometryInstanceFlagsKHR flags : 8; + uint64_t accelerationStructureReference = {}; + + }; + static_assert( sizeof( AccelerationStructureInstanceKHR ) == sizeof( VkAccelerationStructureInstanceKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using AccelerationStructureInstanceNV = AccelerationStructureInstanceKHR; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureMemoryRequirementsInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureMemoryRequirementsInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeKHR type_ = VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeKHR::eObject, VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType_ = VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR::eHost, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), buildType( buildType_ ), accelerationStructure( accelerationStructure_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoKHR( AccelerationStructureMemoryRequirementsInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureMemoryRequirementsInfoKHR( VkAccelerationStructureMemoryRequirementsInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureMemoryRequirementsInfoKHR & operator=( VkAccelerationStructureMemoryRequirementsInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureMemoryRequirementsInfoKHR & operator=( AccelerationStructureMemoryRequirementsInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureMemoryRequirementsInfoKHR ) ); + return *this; + } + + AccelerationStructureMemoryRequirementsInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureMemoryRequirementsInfoKHR & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeKHR type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + AccelerationStructureMemoryRequirementsInfoKHR & setBuildType( VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType_ ) VULKAN_HPP_NOEXCEPT + { + buildType = buildType_; + return *this; + } + + AccelerationStructureMemoryRequirementsInfoKHR & setAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructure = accelerationStructure_; + return *this; + } + + + operator VkAccelerationStructureMemoryRequirementsInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureMemoryRequirementsInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureMemoryRequirementsInfoKHR const& ) const = default; +#else + bool operator==( AccelerationStructureMemoryRequirementsInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( buildType == rhs.buildType ) + && ( accelerationStructure == rhs.accelerationStructure ); + } + + bool operator!=( AccelerationStructureMemoryRequirementsInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureMemoryRequirementsInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeKHR type = VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeKHR::eObject; + VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR buildType = VULKAN_HPP_NAMESPACE::AccelerationStructureBuildTypeKHR::eHost; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure = {}; + + }; + static_assert( sizeof( AccelerationStructureMemoryRequirementsInfoKHR ) == sizeof( VkAccelerationStructureMemoryRequirementsInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureMemoryRequirementsInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct AccelerationStructureMemoryRequirementsInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureMemoryRequirementsInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoNV(VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), accelerationStructure( accelerationStructure_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureMemoryRequirementsInfoNV( AccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureMemoryRequirementsInfoNV( VkAccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureMemoryRequirementsInfoNV & operator=( VkAccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureMemoryRequirementsInfoNV & operator=( AccelerationStructureMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureMemoryRequirementsInfoNV ) ); + return *this; + } + + AccelerationStructureMemoryRequirementsInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureMemoryRequirementsInfoNV & setType( VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + AccelerationStructureMemoryRequirementsInfoNV & setAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructure = accelerationStructure_; + return *this; + } + + + operator VkAccelerationStructureMemoryRequirementsInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureMemoryRequirementsInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureMemoryRequirementsInfoNV const& ) const = default; +#else + bool operator==( AccelerationStructureMemoryRequirementsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( accelerationStructure == rhs.accelerationStructure ); + } + + bool operator!=( AccelerationStructureMemoryRequirementsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureMemoryRequirementsInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsTypeNV type = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure = {}; + + }; + static_assert( sizeof( AccelerationStructureMemoryRequirementsInfoNV ) == sizeof( VkAccelerationStructureMemoryRequirementsInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureMemoryRequirementsInfoNV; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct AccelerationStructureVersionKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAccelerationStructureVersionKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AccelerationStructureVersionKHR(const uint8_t* versionData_ = {}) VULKAN_HPP_NOEXCEPT + : versionData( versionData_ ) + {} + + VULKAN_HPP_CONSTEXPR AccelerationStructureVersionKHR( AccelerationStructureVersionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AccelerationStructureVersionKHR( VkAccelerationStructureVersionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AccelerationStructureVersionKHR & operator=( VkAccelerationStructureVersionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AccelerationStructureVersionKHR & operator=( AccelerationStructureVersionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AccelerationStructureVersionKHR ) ); + return *this; + } + + AccelerationStructureVersionKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AccelerationStructureVersionKHR & setVersionData( const uint8_t* versionData_ ) VULKAN_HPP_NOEXCEPT + { + versionData = versionData_; + return *this; + } + + + operator VkAccelerationStructureVersionKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAccelerationStructureVersionKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AccelerationStructureVersionKHR const& ) const = default; +#else + bool operator==( AccelerationStructureVersionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( versionData == rhs.versionData ); + } + + bool operator!=( AccelerationStructureVersionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAccelerationStructureVersionKHR; + const void* pNext = {}; + const uint8_t* versionData = {}; + + }; + static_assert( sizeof( AccelerationStructureVersionKHR ) == sizeof( VkAccelerationStructureVersionKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AccelerationStructureVersionKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + class SwapchainKHR + { + public: + using CType = VkSwapchainKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSwapchainKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSwapchainKHR; + + public: + VULKAN_HPP_CONSTEXPR SwapchainKHR() VULKAN_HPP_NOEXCEPT + : m_swapchainKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR SwapchainKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_swapchainKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT SwapchainKHR( VkSwapchainKHR swapchainKHR ) VULKAN_HPP_NOEXCEPT + : m_swapchainKHR( swapchainKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + SwapchainKHR & operator=(VkSwapchainKHR swapchainKHR) VULKAN_HPP_NOEXCEPT + { + m_swapchainKHR = swapchainKHR; + return *this; + } +#endif + + SwapchainKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_swapchainKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SwapchainKHR const& ) const = default; +#else + bool operator==( SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR == rhs.m_swapchainKHR; + } + + bool operator!=(SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR != rhs.m_swapchainKHR; + } + + bool operator<(SwapchainKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR < rhs.m_swapchainKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSwapchainKHR() const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_swapchainKHR == VK_NULL_HANDLE; + } + + private: + VkSwapchainKHR m_swapchainKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::SwapchainKHR ) == sizeof( VkSwapchainKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::SwapchainKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class Semaphore + { + public: + using CType = VkSemaphore; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSemaphore; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSemaphore; + + public: + VULKAN_HPP_CONSTEXPR Semaphore() VULKAN_HPP_NOEXCEPT + : m_semaphore(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Semaphore( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_semaphore(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Semaphore( VkSemaphore semaphore ) VULKAN_HPP_NOEXCEPT + : m_semaphore( semaphore ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Semaphore & operator=(VkSemaphore semaphore) VULKAN_HPP_NOEXCEPT + { + m_semaphore = semaphore; + return *this; + } +#endif + + Semaphore & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_semaphore = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Semaphore const& ) const = default; +#else + bool operator==( Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_semaphore == rhs.m_semaphore; + } + + bool operator!=(Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_semaphore != rhs.m_semaphore; + } + + bool operator<(Semaphore const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_semaphore < rhs.m_semaphore; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSemaphore() const VULKAN_HPP_NOEXCEPT + { + return m_semaphore; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_semaphore != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_semaphore == VK_NULL_HANDLE; + } + + private: + VkSemaphore m_semaphore; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Semaphore ) == sizeof( VkSemaphore ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Semaphore; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Semaphore; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Semaphore; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class Fence + { + public: + using CType = VkFence; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eFence; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eFence; + + public: + VULKAN_HPP_CONSTEXPR Fence() VULKAN_HPP_NOEXCEPT + : m_fence(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Fence( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_fence(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Fence( VkFence fence ) VULKAN_HPP_NOEXCEPT + : m_fence( fence ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Fence & operator=(VkFence fence) VULKAN_HPP_NOEXCEPT + { + m_fence = fence; + return *this; + } +#endif + + Fence & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_fence = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Fence const& ) const = default; +#else + bool operator==( Fence const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_fence == rhs.m_fence; + } + + bool operator!=(Fence const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_fence != rhs.m_fence; + } + + bool operator<(Fence const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_fence < rhs.m_fence; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence() const VULKAN_HPP_NOEXCEPT + { + return m_fence; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_fence != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_fence == VK_NULL_HANDLE; + } + + private: + VkFence m_fence; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Fence ) == sizeof( VkFence ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Fence; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Fence; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Fence; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct AcquireNextImageInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAcquireNextImageInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AcquireNextImageInfoKHR(VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {}, uint64_t timeout_ = {}, VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, VULKAN_HPP_NAMESPACE::Fence fence_ = {}, uint32_t deviceMask_ = {}) VULKAN_HPP_NOEXCEPT + : swapchain( swapchain_ ), timeout( timeout_ ), semaphore( semaphore_ ), fence( fence_ ), deviceMask( deviceMask_ ) + {} + + VULKAN_HPP_CONSTEXPR AcquireNextImageInfoKHR( AcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AcquireNextImageInfoKHR( VkAcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AcquireNextImageInfoKHR & operator=( VkAcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AcquireNextImageInfoKHR & operator=( AcquireNextImageInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AcquireNextImageInfoKHR ) ); + return *this; + } + + AcquireNextImageInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AcquireNextImageInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT + { + swapchain = swapchain_; + return *this; + } + + AcquireNextImageInfoKHR & setTimeout( uint64_t timeout_ ) VULKAN_HPP_NOEXCEPT + { + timeout = timeout_; + return *this; + } + + AcquireNextImageInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + AcquireNextImageInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT + { + fence = fence_; + return *this; + } + + AcquireNextImageInfoKHR & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT + { + deviceMask = deviceMask_; + return *this; + } + + + operator VkAcquireNextImageInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAcquireNextImageInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AcquireNextImageInfoKHR const& ) const = default; +#else + bool operator==( AcquireNextImageInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchain == rhs.swapchain ) + && ( timeout == rhs.timeout ) + && ( semaphore == rhs.semaphore ) + && ( fence == rhs.fence ) + && ( deviceMask == rhs.deviceMask ); + } + + bool operator!=( AcquireNextImageInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAcquireNextImageInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; + uint64_t timeout = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + VULKAN_HPP_NAMESPACE::Fence fence = {}; + uint32_t deviceMask = {}; + + }; + static_assert( sizeof( AcquireNextImageInfoKHR ) == sizeof( VkAcquireNextImageInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AcquireNextImageInfoKHR; + }; + + struct AcquireProfilingLockInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAcquireProfilingLockInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AcquireProfilingLockInfoKHR(VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags_ = {}, uint64_t timeout_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), timeout( timeout_ ) + {} + + VULKAN_HPP_CONSTEXPR AcquireProfilingLockInfoKHR( AcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AcquireProfilingLockInfoKHR( VkAcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AcquireProfilingLockInfoKHR & operator=( VkAcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AcquireProfilingLockInfoKHR & operator=( AcquireProfilingLockInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AcquireProfilingLockInfoKHR ) ); + return *this; + } + + AcquireProfilingLockInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AcquireProfilingLockInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AcquireProfilingLockInfoKHR & setTimeout( uint64_t timeout_ ) VULKAN_HPP_NOEXCEPT + { + timeout = timeout_; + return *this; + } + + + operator VkAcquireProfilingLockInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAcquireProfilingLockInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AcquireProfilingLockInfoKHR const& ) const = default; +#else + bool operator==( AcquireProfilingLockInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( timeout == rhs.timeout ); + } + + bool operator!=( AcquireProfilingLockInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAcquireProfilingLockInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AcquireProfilingLockFlagsKHR flags = {}; + uint64_t timeout = {}; + + }; + static_assert( sizeof( AcquireProfilingLockInfoKHR ) == sizeof( VkAcquireProfilingLockInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AcquireProfilingLockInfoKHR; + }; + + struct AllocationCallbacks + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AllocationCallbacks(void* pUserData_ = {}, PFN_vkAllocationFunction pfnAllocation_ = {}, PFN_vkReallocationFunction pfnReallocation_ = {}, PFN_vkFreeFunction pfnFree_ = {}, PFN_vkInternalAllocationNotification pfnInternalAllocation_ = {}, PFN_vkInternalFreeNotification pfnInternalFree_ = {}) VULKAN_HPP_NOEXCEPT + : pUserData( pUserData_ ), pfnAllocation( pfnAllocation_ ), pfnReallocation( pfnReallocation_ ), pfnFree( pfnFree_ ), pfnInternalAllocation( pfnInternalAllocation_ ), pfnInternalFree( pfnInternalFree_ ) + {} + + VULKAN_HPP_CONSTEXPR AllocationCallbacks( AllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AllocationCallbacks( VkAllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AllocationCallbacks & operator=( VkAllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AllocationCallbacks & operator=( AllocationCallbacks const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AllocationCallbacks ) ); + return *this; + } + + AllocationCallbacks & setPUserData( void* pUserData_ ) VULKAN_HPP_NOEXCEPT + { + pUserData = pUserData_; + return *this; + } + + AllocationCallbacks & setPfnAllocation( PFN_vkAllocationFunction pfnAllocation_ ) VULKAN_HPP_NOEXCEPT + { + pfnAllocation = pfnAllocation_; + return *this; + } + + AllocationCallbacks & setPfnReallocation( PFN_vkReallocationFunction pfnReallocation_ ) VULKAN_HPP_NOEXCEPT + { + pfnReallocation = pfnReallocation_; + return *this; + } + + AllocationCallbacks & setPfnFree( PFN_vkFreeFunction pfnFree_ ) VULKAN_HPP_NOEXCEPT + { + pfnFree = pfnFree_; + return *this; + } + + AllocationCallbacks & setPfnInternalAllocation( PFN_vkInternalAllocationNotification pfnInternalAllocation_ ) VULKAN_HPP_NOEXCEPT + { + pfnInternalAllocation = pfnInternalAllocation_; + return *this; + } + + AllocationCallbacks & setPfnInternalFree( PFN_vkInternalFreeNotification pfnInternalFree_ ) VULKAN_HPP_NOEXCEPT + { + pfnInternalFree = pfnInternalFree_; + return *this; + } + + + operator VkAllocationCallbacks const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAllocationCallbacks &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AllocationCallbacks const& ) const = default; +#else + bool operator==( AllocationCallbacks const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( pUserData == rhs.pUserData ) + && ( pfnAllocation == rhs.pfnAllocation ) + && ( pfnReallocation == rhs.pfnReallocation ) + && ( pfnFree == rhs.pfnFree ) + && ( pfnInternalAllocation == rhs.pfnInternalAllocation ) + && ( pfnInternalFree == rhs.pfnInternalFree ); + } + + bool operator!=( AllocationCallbacks const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + void* pUserData = {}; + PFN_vkAllocationFunction pfnAllocation = {}; + PFN_vkReallocationFunction pfnReallocation = {}; + PFN_vkFreeFunction pfnFree = {}; + PFN_vkInternalAllocationNotification pfnInternalAllocation = {}; + PFN_vkInternalFreeNotification pfnInternalFree = {}; + + }; + static_assert( sizeof( AllocationCallbacks ) == sizeof( VkAllocationCallbacks ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ComponentMapping + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ComponentMapping(VULKAN_HPP_NAMESPACE::ComponentSwizzle r_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, VULKAN_HPP_NAMESPACE::ComponentSwizzle g_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, VULKAN_HPP_NAMESPACE::ComponentSwizzle b_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity, VULKAN_HPP_NAMESPACE::ComponentSwizzle a_ = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity) VULKAN_HPP_NOEXCEPT + : r( r_ ), g( g_ ), b( b_ ), a( a_ ) + {} + + VULKAN_HPP_CONSTEXPR ComponentMapping( ComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ComponentMapping( VkComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ComponentMapping & operator=( VkComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ComponentMapping & operator=( ComponentMapping const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ComponentMapping ) ); + return *this; + } + + ComponentMapping & setR( VULKAN_HPP_NAMESPACE::ComponentSwizzle r_ ) VULKAN_HPP_NOEXCEPT + { + r = r_; + return *this; + } + + ComponentMapping & setG( VULKAN_HPP_NAMESPACE::ComponentSwizzle g_ ) VULKAN_HPP_NOEXCEPT + { + g = g_; + return *this; + } + + ComponentMapping & setB( VULKAN_HPP_NAMESPACE::ComponentSwizzle b_ ) VULKAN_HPP_NOEXCEPT + { + b = b_; + return *this; + } + + ComponentMapping & setA( VULKAN_HPP_NAMESPACE::ComponentSwizzle a_ ) VULKAN_HPP_NOEXCEPT + { + a = a_; + return *this; + } + + + operator VkComponentMapping const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkComponentMapping &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ComponentMapping const& ) const = default; +#else + bool operator==( ComponentMapping const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( r == rhs.r ) + && ( g == rhs.g ) + && ( b == rhs.b ) + && ( a == rhs.a ); + } + + bool operator!=( ComponentMapping const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ComponentSwizzle r = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; + VULKAN_HPP_NAMESPACE::ComponentSwizzle g = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; + VULKAN_HPP_NAMESPACE::ComponentSwizzle b = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; + VULKAN_HPP_NAMESPACE::ComponentSwizzle a = VULKAN_HPP_NAMESPACE::ComponentSwizzle::eIdentity; + + }; + static_assert( sizeof( ComponentMapping ) == sizeof( VkComponentMapping ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct AndroidHardwareBufferFormatPropertiesANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAndroidHardwareBufferFormatPropertiesANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferFormatPropertiesANDROID(VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, uint64_t externalFormat_ = {}, VULKAN_HPP_NAMESPACE::FormatFeatureFlags formatFeatures_ = {}, VULKAN_HPP_NAMESPACE::ComponentMapping samplerYcbcrConversionComponents_ = {}, VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion suggestedYcbcrModel_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity, VULKAN_HPP_NAMESPACE::SamplerYcbcrRange suggestedYcbcrRange_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull, VULKAN_HPP_NAMESPACE::ChromaLocation suggestedXChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, VULKAN_HPP_NAMESPACE::ChromaLocation suggestedYChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven) VULKAN_HPP_NOEXCEPT + : format( format_ ), externalFormat( externalFormat_ ), formatFeatures( formatFeatures_ ), samplerYcbcrConversionComponents( samplerYcbcrConversionComponents_ ), suggestedYcbcrModel( suggestedYcbcrModel_ ), suggestedYcbcrRange( suggestedYcbcrRange_ ), suggestedXChromaOffset( suggestedXChromaOffset_ ), suggestedYChromaOffset( suggestedYChromaOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferFormatPropertiesANDROID( AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AndroidHardwareBufferFormatPropertiesANDROID( VkAndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AndroidHardwareBufferFormatPropertiesANDROID & operator=( VkAndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AndroidHardwareBufferFormatPropertiesANDROID & operator=( AndroidHardwareBufferFormatPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AndroidHardwareBufferFormatPropertiesANDROID ) ); + return *this; + } + + + operator VkAndroidHardwareBufferFormatPropertiesANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAndroidHardwareBufferFormatPropertiesANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AndroidHardwareBufferFormatPropertiesANDROID const& ) const = default; +#else + bool operator==( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( format == rhs.format ) + && ( externalFormat == rhs.externalFormat ) + && ( formatFeatures == rhs.formatFeatures ) + && ( samplerYcbcrConversionComponents == rhs.samplerYcbcrConversionComponents ) + && ( suggestedYcbcrModel == rhs.suggestedYcbcrModel ) + && ( suggestedYcbcrRange == rhs.suggestedYcbcrRange ) + && ( suggestedXChromaOffset == rhs.suggestedXChromaOffset ) + && ( suggestedYChromaOffset == rhs.suggestedYChromaOffset ); + } + + bool operator!=( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferFormatPropertiesANDROID; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + uint64_t externalFormat = {}; + VULKAN_HPP_NAMESPACE::FormatFeatureFlags formatFeatures = {}; + VULKAN_HPP_NAMESPACE::ComponentMapping samplerYcbcrConversionComponents = {}; + VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion suggestedYcbcrModel = VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity; + VULKAN_HPP_NAMESPACE::SamplerYcbcrRange suggestedYcbcrRange = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull; + VULKAN_HPP_NAMESPACE::ChromaLocation suggestedXChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; + VULKAN_HPP_NAMESPACE::ChromaLocation suggestedYChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; + + }; + static_assert( sizeof( AndroidHardwareBufferFormatPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferFormatPropertiesANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AndroidHardwareBufferFormatPropertiesANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct AndroidHardwareBufferPropertiesANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAndroidHardwareBufferPropertiesANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferPropertiesANDROID(VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ = {}, uint32_t memoryTypeBits_ = {}) VULKAN_HPP_NOEXCEPT + : allocationSize( allocationSize_ ), memoryTypeBits( memoryTypeBits_ ) + {} + + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferPropertiesANDROID( AndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AndroidHardwareBufferPropertiesANDROID( VkAndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AndroidHardwareBufferPropertiesANDROID & operator=( VkAndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AndroidHardwareBufferPropertiesANDROID & operator=( AndroidHardwareBufferPropertiesANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AndroidHardwareBufferPropertiesANDROID ) ); + return *this; + } + + + operator VkAndroidHardwareBufferPropertiesANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAndroidHardwareBufferPropertiesANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AndroidHardwareBufferPropertiesANDROID const& ) const = default; +#else + bool operator==( AndroidHardwareBufferPropertiesANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( allocationSize == rhs.allocationSize ) + && ( memoryTypeBits == rhs.memoryTypeBits ); + } + + bool operator!=( AndroidHardwareBufferPropertiesANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferPropertiesANDROID; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize allocationSize = {}; + uint32_t memoryTypeBits = {}; + + }; + static_assert( sizeof( AndroidHardwareBufferPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferPropertiesANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AndroidHardwareBufferPropertiesANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct AndroidHardwareBufferUsageANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAndroidHardwareBufferUsageANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferUsageANDROID(uint64_t androidHardwareBufferUsage_ = {}) VULKAN_HPP_NOEXCEPT + : androidHardwareBufferUsage( androidHardwareBufferUsage_ ) + {} + + VULKAN_HPP_CONSTEXPR AndroidHardwareBufferUsageANDROID( AndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AndroidHardwareBufferUsageANDROID( VkAndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AndroidHardwareBufferUsageANDROID & operator=( VkAndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AndroidHardwareBufferUsageANDROID & operator=( AndroidHardwareBufferUsageANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AndroidHardwareBufferUsageANDROID ) ); + return *this; + } + + + operator VkAndroidHardwareBufferUsageANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAndroidHardwareBufferUsageANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AndroidHardwareBufferUsageANDROID const& ) const = default; +#else + bool operator==( AndroidHardwareBufferUsageANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( androidHardwareBufferUsage == rhs.androidHardwareBufferUsage ); + } + + bool operator!=( AndroidHardwareBufferUsageANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidHardwareBufferUsageANDROID; + void* pNext = {}; + uint64_t androidHardwareBufferUsage = {}; + + }; + static_assert( sizeof( AndroidHardwareBufferUsageANDROID ) == sizeof( VkAndroidHardwareBufferUsageANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AndroidHardwareBufferUsageANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct AndroidSurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAndroidSurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AndroidSurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags_ = {}, struct ANativeWindow* window_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), window( window_ ) + {} + + VULKAN_HPP_CONSTEXPR AndroidSurfaceCreateInfoKHR( AndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AndroidSurfaceCreateInfoKHR( VkAndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AndroidSurfaceCreateInfoKHR & operator=( VkAndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AndroidSurfaceCreateInfoKHR & operator=( AndroidSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AndroidSurfaceCreateInfoKHR ) ); + return *this; + } + + AndroidSurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AndroidSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AndroidSurfaceCreateInfoKHR & setWindow( struct ANativeWindow* window_ ) VULKAN_HPP_NOEXCEPT + { + window = window_; + return *this; + } + + + operator VkAndroidSurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAndroidSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AndroidSurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( AndroidSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( window == rhs.window ); + } + + bool operator!=( AndroidSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAndroidSurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateFlagsKHR flags = {}; + struct ANativeWindow* window = {}; + + }; + static_assert( sizeof( AndroidSurfaceCreateInfoKHR ) == sizeof( VkAndroidSurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AndroidSurfaceCreateInfoKHR; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + struct ApplicationInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eApplicationInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ApplicationInfo(const char* pApplicationName_ = {}, uint32_t applicationVersion_ = {}, const char* pEngineName_ = {}, uint32_t engineVersion_ = {}, uint32_t apiVersion_ = {}) VULKAN_HPP_NOEXCEPT + : pApplicationName( pApplicationName_ ), applicationVersion( applicationVersion_ ), pEngineName( pEngineName_ ), engineVersion( engineVersion_ ), apiVersion( apiVersion_ ) + {} + + VULKAN_HPP_CONSTEXPR ApplicationInfo( ApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ApplicationInfo( VkApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ApplicationInfo & operator=( VkApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ApplicationInfo & operator=( ApplicationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ApplicationInfo ) ); + return *this; + } + + ApplicationInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ApplicationInfo & setPApplicationName( const char* pApplicationName_ ) VULKAN_HPP_NOEXCEPT + { + pApplicationName = pApplicationName_; + return *this; + } + + ApplicationInfo & setApplicationVersion( uint32_t applicationVersion_ ) VULKAN_HPP_NOEXCEPT + { + applicationVersion = applicationVersion_; + return *this; + } + + ApplicationInfo & setPEngineName( const char* pEngineName_ ) VULKAN_HPP_NOEXCEPT + { + pEngineName = pEngineName_; + return *this; + } + + ApplicationInfo & setEngineVersion( uint32_t engineVersion_ ) VULKAN_HPP_NOEXCEPT + { + engineVersion = engineVersion_; + return *this; + } + + ApplicationInfo & setApiVersion( uint32_t apiVersion_ ) VULKAN_HPP_NOEXCEPT + { + apiVersion = apiVersion_; + return *this; + } + + + operator VkApplicationInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkApplicationInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ApplicationInfo const& ) const = default; +#else + bool operator==( ApplicationInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pApplicationName == rhs.pApplicationName ) + && ( applicationVersion == rhs.applicationVersion ) + && ( pEngineName == rhs.pEngineName ) + && ( engineVersion == rhs.engineVersion ) + && ( apiVersion == rhs.apiVersion ); + } + + bool operator!=( ApplicationInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eApplicationInfo; + const void* pNext = {}; + const char* pApplicationName = {}; + uint32_t applicationVersion = {}; + const char* pEngineName = {}; + uint32_t engineVersion = {}; + uint32_t apiVersion = {}; + + }; + static_assert( sizeof( ApplicationInfo ) == sizeof( VkApplicationInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ApplicationInfo; + }; + + struct AttachmentDescription + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentDescription(VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), format( format_ ), samples( samples_ ), loadOp( loadOp_ ), storeOp( storeOp_ ), stencilLoadOp( stencilLoadOp_ ), stencilStoreOp( stencilStoreOp_ ), initialLayout( initialLayout_ ), finalLayout( finalLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentDescription( AttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentDescription( VkAttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentDescription & operator=( VkAttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentDescription & operator=( AttachmentDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentDescription ) ); + return *this; + } + + AttachmentDescription & setFlags( VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AttachmentDescription & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + AttachmentDescription & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT + { + samples = samples_; + return *this; + } + + AttachmentDescription & setLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ ) VULKAN_HPP_NOEXCEPT + { + loadOp = loadOp_; + return *this; + } + + AttachmentDescription & setStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ ) VULKAN_HPP_NOEXCEPT + { + storeOp = storeOp_; + return *this; + } + + AttachmentDescription & setStencilLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ ) VULKAN_HPP_NOEXCEPT + { + stencilLoadOp = stencilLoadOp_; + return *this; + } + + AttachmentDescription & setStencilStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ ) VULKAN_HPP_NOEXCEPT + { + stencilStoreOp = stencilStoreOp_; + return *this; + } + + AttachmentDescription & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT + { + initialLayout = initialLayout_; + return *this; + } + + AttachmentDescription & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_HPP_NOEXCEPT + { + finalLayout = finalLayout_; + return *this; + } + + + operator VkAttachmentDescription const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentDescription &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentDescription const& ) const = default; +#else + bool operator==( AttachmentDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( flags == rhs.flags ) + && ( format == rhs.format ) + && ( samples == rhs.samples ) + && ( loadOp == rhs.loadOp ) + && ( storeOp == rhs.storeOp ) + && ( stencilLoadOp == rhs.stencilLoadOp ) + && ( stencilStoreOp == rhs.stencilStoreOp ) + && ( initialLayout == rhs.initialLayout ) + && ( finalLayout == rhs.finalLayout ); + } + + bool operator!=( AttachmentDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; + VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; + VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; + VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; + VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( AttachmentDescription ) == sizeof( VkAttachmentDescription ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct AttachmentDescription2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentDescription2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentDescription2(VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad, VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore, VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), format( format_ ), samples( samples_ ), loadOp( loadOp_ ), storeOp( storeOp_ ), stencilLoadOp( stencilLoadOp_ ), stencilStoreOp( stencilStoreOp_ ), initialLayout( initialLayout_ ), finalLayout( finalLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentDescription2( AttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentDescription2( VkAttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentDescription2 & operator=( VkAttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentDescription2 & operator=( AttachmentDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentDescription2 ) ); + return *this; + } + + AttachmentDescription2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AttachmentDescription2 & setFlags( VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + AttachmentDescription2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + AttachmentDescription2 & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT + { + samples = samples_; + return *this; + } + + AttachmentDescription2 & setLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp_ ) VULKAN_HPP_NOEXCEPT + { + loadOp = loadOp_; + return *this; + } + + AttachmentDescription2 & setStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp_ ) VULKAN_HPP_NOEXCEPT + { + storeOp = storeOp_; + return *this; + } + + AttachmentDescription2 & setStencilLoadOp( VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp_ ) VULKAN_HPP_NOEXCEPT + { + stencilLoadOp = stencilLoadOp_; + return *this; + } + + AttachmentDescription2 & setStencilStoreOp( VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp_ ) VULKAN_HPP_NOEXCEPT + { + stencilStoreOp = stencilStoreOp_; + return *this; + } + + AttachmentDescription2 & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT + { + initialLayout = initialLayout_; + return *this; + } + + AttachmentDescription2 & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_HPP_NOEXCEPT + { + finalLayout = finalLayout_; + return *this; + } + + + operator VkAttachmentDescription2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentDescription2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentDescription2 const& ) const = default; +#else + bool operator==( AttachmentDescription2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( format == rhs.format ) + && ( samples == rhs.samples ) + && ( loadOp == rhs.loadOp ) + && ( storeOp == rhs.storeOp ) + && ( stencilLoadOp == rhs.stencilLoadOp ) + && ( stencilStoreOp == rhs.stencilStoreOp ) + && ( initialLayout == rhs.initialLayout ) + && ( finalLayout == rhs.finalLayout ); + } + + bool operator!=( AttachmentDescription2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentDescription2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AttachmentDescriptionFlags flags = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::AttachmentLoadOp loadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; + VULKAN_HPP_NAMESPACE::AttachmentStoreOp storeOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; + VULKAN_HPP_NAMESPACE::AttachmentLoadOp stencilLoadOp = VULKAN_HPP_NAMESPACE::AttachmentLoadOp::eLoad; + VULKAN_HPP_NAMESPACE::AttachmentStoreOp stencilStoreOp = VULKAN_HPP_NAMESPACE::AttachmentStoreOp::eStore; + VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( AttachmentDescription2 ) == sizeof( VkAttachmentDescription2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AttachmentDescription2; + }; + using AttachmentDescription2KHR = AttachmentDescription2; + + struct AttachmentDescriptionStencilLayout + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentDescriptionStencilLayout; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentDescriptionStencilLayout(VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : stencilInitialLayout( stencilInitialLayout_ ), stencilFinalLayout( stencilFinalLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentDescriptionStencilLayout( AttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentDescriptionStencilLayout( VkAttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentDescriptionStencilLayout & operator=( VkAttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentDescriptionStencilLayout & operator=( AttachmentDescriptionStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentDescriptionStencilLayout ) ); + return *this; + } + + AttachmentDescriptionStencilLayout & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AttachmentDescriptionStencilLayout & setStencilInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout_ ) VULKAN_HPP_NOEXCEPT + { + stencilInitialLayout = stencilInitialLayout_; + return *this; + } + + AttachmentDescriptionStencilLayout & setStencilFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout_ ) VULKAN_HPP_NOEXCEPT + { + stencilFinalLayout = stencilFinalLayout_; + return *this; + } + + + operator VkAttachmentDescriptionStencilLayout const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentDescriptionStencilLayout &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentDescriptionStencilLayout const& ) const = default; +#else + bool operator==( AttachmentDescriptionStencilLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stencilInitialLayout == rhs.stencilInitialLayout ) + && ( stencilFinalLayout == rhs.stencilFinalLayout ); + } + + bool operator!=( AttachmentDescriptionStencilLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentDescriptionStencilLayout; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageLayout stencilInitialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::ImageLayout stencilFinalLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( AttachmentDescriptionStencilLayout ) == sizeof( VkAttachmentDescriptionStencilLayout ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AttachmentDescriptionStencilLayout; + }; + using AttachmentDescriptionStencilLayoutKHR = AttachmentDescriptionStencilLayout; + + struct AttachmentReference + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentReference(uint32_t attachment_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout layout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : attachment( attachment_ ), layout( layout_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentReference( AttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentReference( VkAttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentReference & operator=( VkAttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentReference & operator=( AttachmentReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentReference ) ); + return *this; + } + + AttachmentReference & setAttachment( uint32_t attachment_ ) VULKAN_HPP_NOEXCEPT + { + attachment = attachment_; + return *this; + } + + AttachmentReference & setLayout( VULKAN_HPP_NAMESPACE::ImageLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + + operator VkAttachmentReference const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentReference &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentReference const& ) const = default; +#else + bool operator==( AttachmentReference const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( attachment == rhs.attachment ) + && ( layout == rhs.layout ); + } + + bool operator!=( AttachmentReference const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t attachment = {}; + VULKAN_HPP_NAMESPACE::ImageLayout layout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( AttachmentReference ) == sizeof( VkAttachmentReference ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct AttachmentReference2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentReference2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentReference2(uint32_t attachment_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout layout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}) VULKAN_HPP_NOEXCEPT + : attachment( attachment_ ), layout( layout_ ), aspectMask( aspectMask_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentReference2( AttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentReference2( VkAttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentReference2 & operator=( VkAttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentReference2 & operator=( AttachmentReference2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentReference2 ) ); + return *this; + } + + AttachmentReference2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AttachmentReference2 & setAttachment( uint32_t attachment_ ) VULKAN_HPP_NOEXCEPT + { + attachment = attachment_; + return *this; + } + + AttachmentReference2 & setLayout( VULKAN_HPP_NAMESPACE::ImageLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + AttachmentReference2 & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + + operator VkAttachmentReference2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentReference2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentReference2 const& ) const = default; +#else + bool operator==( AttachmentReference2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( attachment == rhs.attachment ) + && ( layout == rhs.layout ) + && ( aspectMask == rhs.aspectMask ); + } + + bool operator!=( AttachmentReference2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentReference2; + const void* pNext = {}; + uint32_t attachment = {}; + VULKAN_HPP_NAMESPACE::ImageLayout layout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + + }; + static_assert( sizeof( AttachmentReference2 ) == sizeof( VkAttachmentReference2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AttachmentReference2; + }; + using AttachmentReference2KHR = AttachmentReference2; + + struct AttachmentReferenceStencilLayout + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eAttachmentReferenceStencilLayout; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentReferenceStencilLayout(VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : stencilLayout( stencilLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentReferenceStencilLayout( AttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentReferenceStencilLayout( VkAttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentReferenceStencilLayout & operator=( VkAttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentReferenceStencilLayout & operator=( AttachmentReferenceStencilLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentReferenceStencilLayout ) ); + return *this; + } + + AttachmentReferenceStencilLayout & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + AttachmentReferenceStencilLayout & setStencilLayout( VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout_ ) VULKAN_HPP_NOEXCEPT + { + stencilLayout = stencilLayout_; + return *this; + } + + + operator VkAttachmentReferenceStencilLayout const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentReferenceStencilLayout &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentReferenceStencilLayout const& ) const = default; +#else + bool operator==( AttachmentReferenceStencilLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stencilLayout == rhs.stencilLayout ); + } + + bool operator!=( AttachmentReferenceStencilLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eAttachmentReferenceStencilLayout; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageLayout stencilLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( AttachmentReferenceStencilLayout ) == sizeof( VkAttachmentReferenceStencilLayout ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = AttachmentReferenceStencilLayout; + }; + using AttachmentReferenceStencilLayoutKHR = AttachmentReferenceStencilLayout; + + struct Extent2D + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Extent2D(uint32_t width_ = {}, uint32_t height_ = {}) VULKAN_HPP_NOEXCEPT + : width( width_ ), height( height_ ) + {} + + VULKAN_HPP_CONSTEXPR Extent2D( Extent2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Extent2D( VkExtent2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Extent2D & operator=( VkExtent2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Extent2D & operator=( Extent2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Extent2D ) ); + return *this; + } + + Extent2D & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + Extent2D & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + + operator VkExtent2D const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExtent2D &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Extent2D const& ) const = default; +#else + bool operator==( Extent2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( width == rhs.width ) + && ( height == rhs.height ); + } + + bool operator!=( Extent2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t width = {}; + uint32_t height = {}; + + }; + static_assert( sizeof( Extent2D ) == sizeof( VkExtent2D ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SampleLocationEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SampleLocationEXT(float x_ = {}, float y_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ) + {} + + VULKAN_HPP_CONSTEXPR SampleLocationEXT( SampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SampleLocationEXT( VkSampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SampleLocationEXT & operator=( VkSampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SampleLocationEXT & operator=( SampleLocationEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SampleLocationEXT ) ); + return *this; + } + + SampleLocationEXT & setX( float x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + SampleLocationEXT & setY( float y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + + operator VkSampleLocationEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSampleLocationEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SampleLocationEXT const& ) const = default; +#else + bool operator==( SampleLocationEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ); + } + + bool operator!=( SampleLocationEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float x = {}; + float y = {}; + + }; + static_assert( sizeof( SampleLocationEXT ) == sizeof( VkSampleLocationEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SampleLocationsInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSampleLocationsInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SampleLocationsInfoEXT(VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize_ = {}, uint32_t sampleLocationsCount_ = {}, const VULKAN_HPP_NAMESPACE::SampleLocationEXT* pSampleLocations_ = {}) VULKAN_HPP_NOEXCEPT + : sampleLocationsPerPixel( sampleLocationsPerPixel_ ), sampleLocationGridSize( sampleLocationGridSize_ ), sampleLocationsCount( sampleLocationsCount_ ), pSampleLocations( pSampleLocations_ ) + {} + + VULKAN_HPP_CONSTEXPR SampleLocationsInfoEXT( SampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SampleLocationsInfoEXT( VkSampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SampleLocationsInfoEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_, VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & sampleLocations_ ) + : sampleLocationsPerPixel( sampleLocationsPerPixel_ ), sampleLocationGridSize( sampleLocationGridSize_ ), sampleLocationsCount( static_cast( sampleLocations_.size() ) ), pSampleLocations( sampleLocations_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SampleLocationsInfoEXT & operator=( VkSampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SampleLocationsInfoEXT & operator=( SampleLocationsInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SampleLocationsInfoEXT ) ); + return *this; + } + + SampleLocationsInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SampleLocationsInfoEXT & setSampleLocationsPerPixel( VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsPerPixel = sampleLocationsPerPixel_; + return *this; + } + + SampleLocationsInfoEXT & setSampleLocationGridSize( VULKAN_HPP_NAMESPACE::Extent2D const & sampleLocationGridSize_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationGridSize = sampleLocationGridSize_; + return *this; + } + + SampleLocationsInfoEXT & setSampleLocationsCount( uint32_t sampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsCount = sampleLocationsCount_; + return *this; + } + + SampleLocationsInfoEXT & setPSampleLocations( const VULKAN_HPP_NAMESPACE::SampleLocationEXT* pSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + pSampleLocations = pSampleLocations_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SampleLocationsInfoEXT & setSampleLocations( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & sampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsCount = static_cast( sampleLocations_.size() ); + pSampleLocations = sampleLocations_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSampleLocationsInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSampleLocationsInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SampleLocationsInfoEXT const& ) const = default; +#else + bool operator==( SampleLocationsInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sampleLocationsPerPixel == rhs.sampleLocationsPerPixel ) + && ( sampleLocationGridSize == rhs.sampleLocationGridSize ) + && ( sampleLocationsCount == rhs.sampleLocationsCount ) + && ( pSampleLocations == rhs.pSampleLocations ); + } + + bool operator!=( SampleLocationsInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSampleLocationsInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits sampleLocationsPerPixel = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::Extent2D sampleLocationGridSize = {}; + uint32_t sampleLocationsCount = {}; + const VULKAN_HPP_NAMESPACE::SampleLocationEXT* pSampleLocations = {}; + + }; + static_assert( sizeof( SampleLocationsInfoEXT ) == sizeof( VkSampleLocationsInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SampleLocationsInfoEXT; + }; + + struct AttachmentSampleLocationsEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT(uint32_t attachmentIndex_ = {}, VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {}) VULKAN_HPP_NOEXCEPT + : attachmentIndex( attachmentIndex_ ), sampleLocationsInfo( sampleLocationsInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT( AttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + AttachmentSampleLocationsEXT( VkAttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + AttachmentSampleLocationsEXT & operator=( VkAttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + AttachmentSampleLocationsEXT & operator=( AttachmentSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( AttachmentSampleLocationsEXT ) ); + return *this; + } + + AttachmentSampleLocationsEXT & setAttachmentIndex( uint32_t attachmentIndex_ ) VULKAN_HPP_NOEXCEPT + { + attachmentIndex = attachmentIndex_; + return *this; + } + + AttachmentSampleLocationsEXT & setSampleLocationsInfo( VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsInfo = sampleLocationsInfo_; + return *this; + } + + + operator VkAttachmentSampleLocationsEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkAttachmentSampleLocationsEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( AttachmentSampleLocationsEXT const& ) const = default; +#else + bool operator==( AttachmentSampleLocationsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( attachmentIndex == rhs.attachmentIndex ) + && ( sampleLocationsInfo == rhs.sampleLocationsInfo ); + } + + bool operator!=( AttachmentSampleLocationsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t attachmentIndex = {}; + VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; + + }; + static_assert( sizeof( AttachmentSampleLocationsEXT ) == sizeof( VkAttachmentSampleLocationsEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BaseInStructure + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + BaseInStructure(VULKAN_HPP_NAMESPACE::StructureType sType_ = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo) VULKAN_HPP_NOEXCEPT + : sType( sType_ ) + {} + + BaseInStructure( BaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BaseInStructure( VkBaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BaseInStructure & operator=( VkBaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BaseInStructure & operator=( BaseInStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BaseInStructure ) ); + return *this; + } + + BaseInStructure & setPNext( const struct VULKAN_HPP_NAMESPACE::BaseInStructure* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + + operator VkBaseInStructure const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBaseInStructure &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BaseInStructure const& ) const = default; +#else + bool operator==( BaseInStructure const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ); + } + + bool operator!=( BaseInStructure const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::StructureType sType = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo; + const struct VULKAN_HPP_NAMESPACE::BaseInStructure* pNext = {}; + + }; + static_assert( sizeof( BaseInStructure ) == sizeof( VkBaseInStructure ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BaseOutStructure + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + BaseOutStructure(VULKAN_HPP_NAMESPACE::StructureType sType_ = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo) VULKAN_HPP_NOEXCEPT + : sType( sType_ ) + {} + + BaseOutStructure( BaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BaseOutStructure( VkBaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BaseOutStructure & operator=( VkBaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BaseOutStructure & operator=( BaseOutStructure const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BaseOutStructure ) ); + return *this; + } + + BaseOutStructure & setPNext( struct VULKAN_HPP_NAMESPACE::BaseOutStructure* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + + operator VkBaseOutStructure const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBaseOutStructure &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BaseOutStructure const& ) const = default; +#else + bool operator==( BaseOutStructure const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ); + } + + bool operator!=( BaseOutStructure const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::StructureType sType = VULKAN_HPP_NAMESPACE::StructureType::eApplicationInfo; + struct VULKAN_HPP_NAMESPACE::BaseOutStructure* pNext = {}; + + }; + static_assert( sizeof( BaseOutStructure ) == sizeof( VkBaseOutStructure ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + class DeviceMemory + { + public: + using CType = VkDeviceMemory; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDeviceMemory; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDeviceMemory; + + public: + VULKAN_HPP_CONSTEXPR DeviceMemory() VULKAN_HPP_NOEXCEPT + : m_deviceMemory(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DeviceMemory( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_deviceMemory(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory ) VULKAN_HPP_NOEXCEPT + : m_deviceMemory( deviceMemory ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DeviceMemory & operator=(VkDeviceMemory deviceMemory) VULKAN_HPP_NOEXCEPT + { + m_deviceMemory = deviceMemory; + return *this; + } +#endif + + DeviceMemory & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_deviceMemory = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceMemory const& ) const = default; +#else + bool operator==( DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory == rhs.m_deviceMemory; + } + + bool operator!=(DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory != rhs.m_deviceMemory; + } + + bool operator<(DeviceMemory const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory < rhs.m_deviceMemory; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeviceMemory() const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_deviceMemory == VK_NULL_HANDLE; + } + + private: + VkDeviceMemory m_deviceMemory; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DeviceMemory ) == sizeof( VkDeviceMemory ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DeviceMemory; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DeviceMemory; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DeviceMemory; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct BindAccelerationStructureMemoryInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindAccelerationStructureMemoryInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindAccelerationStructureMemoryInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, uint32_t deviceIndexCount_ = {}, const uint32_t* pDeviceIndices_ = {}) VULKAN_HPP_NOEXCEPT + : accelerationStructure( accelerationStructure_ ), memory( memory_ ), memoryOffset( memoryOffset_ ), deviceIndexCount( deviceIndexCount_ ), pDeviceIndices( pDeviceIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR BindAccelerationStructureMemoryInfoKHR( BindAccelerationStructureMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindAccelerationStructureMemoryInfoKHR( VkBindAccelerationStructureMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindAccelerationStructureMemoryInfoKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_, VULKAN_HPP_NAMESPACE::DeviceMemory memory_, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) + : accelerationStructure( accelerationStructure_ ), memory( memory_ ), memoryOffset( memoryOffset_ ), deviceIndexCount( static_cast( deviceIndices_.size() ) ), pDeviceIndices( deviceIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindAccelerationStructureMemoryInfoKHR & operator=( VkBindAccelerationStructureMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & operator=( BindAccelerationStructureMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindAccelerationStructureMemoryInfoKHR ) ); + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setAccelerationStructure( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructure = accelerationStructure_; + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT + { + memoryOffset = memoryOffset_; + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = deviceIndexCount_; + return *this; + } + + BindAccelerationStructureMemoryInfoKHR & setPDeviceIndices( const uint32_t* pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + pDeviceIndices = pDeviceIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindAccelerationStructureMemoryInfoKHR & setDeviceIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = static_cast( deviceIndices_.size() ); + pDeviceIndices = deviceIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkBindAccelerationStructureMemoryInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindAccelerationStructureMemoryInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindAccelerationStructureMemoryInfoKHR const& ) const = default; +#else + bool operator==( BindAccelerationStructureMemoryInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( accelerationStructure == rhs.accelerationStructure ) + && ( memory == rhs.memory ) + && ( memoryOffset == rhs.memoryOffset ) + && ( deviceIndexCount == rhs.deviceIndexCount ) + && ( pDeviceIndices == rhs.pDeviceIndices ); + } + + bool operator!=( BindAccelerationStructureMemoryInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindAccelerationStructureMemoryInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; + uint32_t deviceIndexCount = {}; + const uint32_t* pDeviceIndices = {}; + + }; + static_assert( sizeof( BindAccelerationStructureMemoryInfoKHR ) == sizeof( VkBindAccelerationStructureMemoryInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindAccelerationStructureMemoryInfoKHR; + }; + using BindAccelerationStructureMemoryInfoNV = BindAccelerationStructureMemoryInfoKHR; + + struct BindBufferMemoryDeviceGroupInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindBufferMemoryDeviceGroupInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindBufferMemoryDeviceGroupInfo(uint32_t deviceIndexCount_ = {}, const uint32_t* pDeviceIndices_ = {}) VULKAN_HPP_NOEXCEPT + : deviceIndexCount( deviceIndexCount_ ), pDeviceIndices( pDeviceIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR BindBufferMemoryDeviceGroupInfo( BindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindBufferMemoryDeviceGroupInfo( VkBindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindBufferMemoryDeviceGroupInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) + : deviceIndexCount( static_cast( deviceIndices_.size() ) ), pDeviceIndices( deviceIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindBufferMemoryDeviceGroupInfo & operator=( VkBindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindBufferMemoryDeviceGroupInfo & operator=( BindBufferMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindBufferMemoryDeviceGroupInfo ) ); + return *this; + } + + BindBufferMemoryDeviceGroupInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindBufferMemoryDeviceGroupInfo & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = deviceIndexCount_; + return *this; + } + + BindBufferMemoryDeviceGroupInfo & setPDeviceIndices( const uint32_t* pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + pDeviceIndices = pDeviceIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindBufferMemoryDeviceGroupInfo & setDeviceIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = static_cast( deviceIndices_.size() ); + pDeviceIndices = deviceIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkBindBufferMemoryDeviceGroupInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindBufferMemoryDeviceGroupInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindBufferMemoryDeviceGroupInfo const& ) const = default; +#else + bool operator==( BindBufferMemoryDeviceGroupInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceIndexCount == rhs.deviceIndexCount ) + && ( pDeviceIndices == rhs.pDeviceIndices ); + } + + bool operator!=( BindBufferMemoryDeviceGroupInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindBufferMemoryDeviceGroupInfo; + const void* pNext = {}; + uint32_t deviceIndexCount = {}; + const uint32_t* pDeviceIndices = {}; + + }; + static_assert( sizeof( BindBufferMemoryDeviceGroupInfo ) == sizeof( VkBindBufferMemoryDeviceGroupInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindBufferMemoryDeviceGroupInfo; + }; + using BindBufferMemoryDeviceGroupInfoKHR = BindBufferMemoryDeviceGroupInfo; + + struct BindBufferMemoryInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindBufferMemoryInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindBufferMemoryInfo(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), memory( memory_ ), memoryOffset( memoryOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR BindBufferMemoryInfo( BindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindBufferMemoryInfo( VkBindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindBufferMemoryInfo & operator=( VkBindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindBufferMemoryInfo & operator=( BindBufferMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindBufferMemoryInfo ) ); + return *this; + } + + BindBufferMemoryInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindBufferMemoryInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + BindBufferMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + BindBufferMemoryInfo & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT + { + memoryOffset = memoryOffset_; + return *this; + } + + + operator VkBindBufferMemoryInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindBufferMemoryInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindBufferMemoryInfo const& ) const = default; +#else + bool operator==( BindBufferMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( buffer == rhs.buffer ) + && ( memory == rhs.memory ) + && ( memoryOffset == rhs.memoryOffset ); + } + + bool operator!=( BindBufferMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindBufferMemoryInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; + + }; + static_assert( sizeof( BindBufferMemoryInfo ) == sizeof( VkBindBufferMemoryInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindBufferMemoryInfo; + }; + using BindBufferMemoryInfoKHR = BindBufferMemoryInfo; + + struct Offset2D + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Offset2D(int32_t x_ = {}, int32_t y_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ) + {} + + VULKAN_HPP_CONSTEXPR Offset2D( Offset2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Offset2D( VkOffset2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Offset2D & operator=( VkOffset2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Offset2D & operator=( Offset2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Offset2D ) ); + return *this; + } + + Offset2D & setX( int32_t x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + Offset2D & setY( int32_t y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + + operator VkOffset2D const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkOffset2D &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Offset2D const& ) const = default; +#else + bool operator==( Offset2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ); + } + + bool operator!=( Offset2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + int32_t x = {}; + int32_t y = {}; + + }; + static_assert( sizeof( Offset2D ) == sizeof( VkOffset2D ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct Rect2D + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Rect2D(VULKAN_HPP_NAMESPACE::Offset2D offset_ = {}, VULKAN_HPP_NAMESPACE::Extent2D extent_ = {}) VULKAN_HPP_NOEXCEPT + : offset( offset_ ), extent( extent_ ) + {} + + VULKAN_HPP_CONSTEXPR Rect2D( Rect2D const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Rect2D( VkRect2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Rect2D & operator=( VkRect2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Rect2D & operator=( Rect2D const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Rect2D ) ); + return *this; + } + + Rect2D & setOffset( VULKAN_HPP_NAMESPACE::Offset2D const & offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + Rect2D & setExtent( VULKAN_HPP_NAMESPACE::Extent2D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + + operator VkRect2D const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRect2D &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Rect2D const& ) const = default; +#else + bool operator==( Rect2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( offset == rhs.offset ) + && ( extent == rhs.extent ); + } + + bool operator!=( Rect2D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Offset2D offset = {}; + VULKAN_HPP_NAMESPACE::Extent2D extent = {}; + + }; + static_assert( sizeof( Rect2D ) == sizeof( VkRect2D ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BindImageMemoryDeviceGroupInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemoryDeviceGroupInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindImageMemoryDeviceGroupInfo(uint32_t deviceIndexCount_ = {}, const uint32_t* pDeviceIndices_ = {}, uint32_t splitInstanceBindRegionCount_ = {}, const VULKAN_HPP_NAMESPACE::Rect2D* pSplitInstanceBindRegions_ = {}) VULKAN_HPP_NOEXCEPT + : deviceIndexCount( deviceIndexCount_ ), pDeviceIndices( pDeviceIndices_ ), splitInstanceBindRegionCount( splitInstanceBindRegionCount_ ), pSplitInstanceBindRegions( pSplitInstanceBindRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR BindImageMemoryDeviceGroupInfo( BindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindImageMemoryDeviceGroupInfo( VkBindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindImageMemoryDeviceGroupInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & splitInstanceBindRegions_ = {} ) + : deviceIndexCount( static_cast( deviceIndices_.size() ) ), pDeviceIndices( deviceIndices_.data() ), splitInstanceBindRegionCount( static_cast( splitInstanceBindRegions_.size() ) ), pSplitInstanceBindRegions( splitInstanceBindRegions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindImageMemoryDeviceGroupInfo & operator=( VkBindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindImageMemoryDeviceGroupInfo & operator=( BindImageMemoryDeviceGroupInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindImageMemoryDeviceGroupInfo ) ); + return *this; + } + + BindImageMemoryDeviceGroupInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindImageMemoryDeviceGroupInfo & setDeviceIndexCount( uint32_t deviceIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = deviceIndexCount_; + return *this; + } + + BindImageMemoryDeviceGroupInfo & setPDeviceIndices( const uint32_t* pDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + pDeviceIndices = pDeviceIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindImageMemoryDeviceGroupInfo & setDeviceIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + deviceIndexCount = static_cast( deviceIndices_.size() ); + pDeviceIndices = deviceIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BindImageMemoryDeviceGroupInfo & setSplitInstanceBindRegionCount( uint32_t splitInstanceBindRegionCount_ ) VULKAN_HPP_NOEXCEPT + { + splitInstanceBindRegionCount = splitInstanceBindRegionCount_; + return *this; + } + + BindImageMemoryDeviceGroupInfo & setPSplitInstanceBindRegions( const VULKAN_HPP_NAMESPACE::Rect2D* pSplitInstanceBindRegions_ ) VULKAN_HPP_NOEXCEPT + { + pSplitInstanceBindRegions = pSplitInstanceBindRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindImageMemoryDeviceGroupInfo & setSplitInstanceBindRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & splitInstanceBindRegions_ ) VULKAN_HPP_NOEXCEPT + { + splitInstanceBindRegionCount = static_cast( splitInstanceBindRegions_.size() ); + pSplitInstanceBindRegions = splitInstanceBindRegions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkBindImageMemoryDeviceGroupInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindImageMemoryDeviceGroupInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindImageMemoryDeviceGroupInfo const& ) const = default; +#else + bool operator==( BindImageMemoryDeviceGroupInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceIndexCount == rhs.deviceIndexCount ) + && ( pDeviceIndices == rhs.pDeviceIndices ) + && ( splitInstanceBindRegionCount == rhs.splitInstanceBindRegionCount ) + && ( pSplitInstanceBindRegions == rhs.pSplitInstanceBindRegions ); + } + + bool operator!=( BindImageMemoryDeviceGroupInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemoryDeviceGroupInfo; + const void* pNext = {}; + uint32_t deviceIndexCount = {}; + const uint32_t* pDeviceIndices = {}; + uint32_t splitInstanceBindRegionCount = {}; + const VULKAN_HPP_NAMESPACE::Rect2D* pSplitInstanceBindRegions = {}; + + }; + static_assert( sizeof( BindImageMemoryDeviceGroupInfo ) == sizeof( VkBindImageMemoryDeviceGroupInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindImageMemoryDeviceGroupInfo; + }; + using BindImageMemoryDeviceGroupInfoKHR = BindImageMemoryDeviceGroupInfo; + + class Image + { + public: + using CType = VkImage; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eImage; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eImage; + + public: + VULKAN_HPP_CONSTEXPR Image() VULKAN_HPP_NOEXCEPT + : m_image(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Image( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_image(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Image( VkImage image ) VULKAN_HPP_NOEXCEPT + : m_image( image ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Image & operator=(VkImage image) VULKAN_HPP_NOEXCEPT + { + m_image = image; + return *this; + } +#endif + + Image & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_image = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Image const& ) const = default; +#else + bool operator==( Image const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_image == rhs.m_image; + } + + bool operator!=(Image const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_image != rhs.m_image; + } + + bool operator<(Image const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_image < rhs.m_image; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImage() const VULKAN_HPP_NOEXCEPT + { + return m_image; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_image != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_image == VK_NULL_HANDLE; + } + + private: + VkImage m_image; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Image ) == sizeof( VkImage ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Image; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Image; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Image; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct BindImageMemoryInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemoryInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindImageMemoryInfo(VULKAN_HPP_NAMESPACE::Image image_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ), memory( memory_ ), memoryOffset( memoryOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR BindImageMemoryInfo( BindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindImageMemoryInfo( VkBindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindImageMemoryInfo & operator=( VkBindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindImageMemoryInfo & operator=( BindImageMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindImageMemoryInfo ) ); + return *this; + } + + BindImageMemoryInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindImageMemoryInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + BindImageMemoryInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + BindImageMemoryInfo & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT + { + memoryOffset = memoryOffset_; + return *this; + } + + + operator VkBindImageMemoryInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindImageMemoryInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindImageMemoryInfo const& ) const = default; +#else + bool operator==( BindImageMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( image == rhs.image ) + && ( memory == rhs.memory ) + && ( memoryOffset == rhs.memoryOffset ); + } + + bool operator!=( BindImageMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemoryInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; + + }; + static_assert( sizeof( BindImageMemoryInfo ) == sizeof( VkBindImageMemoryInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindImageMemoryInfo; + }; + using BindImageMemoryInfoKHR = BindImageMemoryInfo; + + struct BindImageMemorySwapchainInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImageMemorySwapchainInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindImageMemorySwapchainInfoKHR(VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {}, uint32_t imageIndex_ = {}) VULKAN_HPP_NOEXCEPT + : swapchain( swapchain_ ), imageIndex( imageIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR BindImageMemorySwapchainInfoKHR( BindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindImageMemorySwapchainInfoKHR( VkBindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindImageMemorySwapchainInfoKHR & operator=( VkBindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindImageMemorySwapchainInfoKHR & operator=( BindImageMemorySwapchainInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindImageMemorySwapchainInfoKHR ) ); + return *this; + } + + BindImageMemorySwapchainInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindImageMemorySwapchainInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT + { + swapchain = swapchain_; + return *this; + } + + BindImageMemorySwapchainInfoKHR & setImageIndex( uint32_t imageIndex_ ) VULKAN_HPP_NOEXCEPT + { + imageIndex = imageIndex_; + return *this; + } + + + operator VkBindImageMemorySwapchainInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindImageMemorySwapchainInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindImageMemorySwapchainInfoKHR const& ) const = default; +#else + bool operator==( BindImageMemorySwapchainInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchain == rhs.swapchain ) + && ( imageIndex == rhs.imageIndex ); + } + + bool operator!=( BindImageMemorySwapchainInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemorySwapchainInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; + uint32_t imageIndex = {}; + + }; + static_assert( sizeof( BindImageMemorySwapchainInfoKHR ) == sizeof( VkBindImageMemorySwapchainInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindImageMemorySwapchainInfoKHR; + }; + + struct BindImagePlaneMemoryInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImagePlaneMemoryInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo(VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor) VULKAN_HPP_NOEXCEPT + : planeAspect( planeAspect_ ) + {} + + VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo( BindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindImagePlaneMemoryInfo( VkBindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindImagePlaneMemoryInfo & operator=( VkBindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindImagePlaneMemoryInfo & operator=( BindImagePlaneMemoryInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindImagePlaneMemoryInfo ) ); + return *this; + } + + BindImagePlaneMemoryInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindImagePlaneMemoryInfo & setPlaneAspect( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ ) VULKAN_HPP_NOEXCEPT + { + planeAspect = planeAspect_; + return *this; + } + + + operator VkBindImagePlaneMemoryInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindImagePlaneMemoryInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindImagePlaneMemoryInfo const& ) const = default; +#else + bool operator==( BindImagePlaneMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( planeAspect == rhs.planeAspect ); + } + + bool operator!=( BindImagePlaneMemoryInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImagePlaneMemoryInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor; + + }; + static_assert( sizeof( BindImagePlaneMemoryInfo ) == sizeof( VkBindImagePlaneMemoryInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindImagePlaneMemoryInfo; + }; + using BindImagePlaneMemoryInfoKHR = BindImagePlaneMemoryInfo; + + struct BindIndexBufferIndirectCommandNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindIndexBufferIndirectCommandNV(VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ = {}, uint32_t size_ = {}, VULKAN_HPP_NAMESPACE::IndexType indexType_ = VULKAN_HPP_NAMESPACE::IndexType::eUint16) VULKAN_HPP_NOEXCEPT + : bufferAddress( bufferAddress_ ), size( size_ ), indexType( indexType_ ) + {} + + VULKAN_HPP_CONSTEXPR BindIndexBufferIndirectCommandNV( BindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindIndexBufferIndirectCommandNV( VkBindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindIndexBufferIndirectCommandNV & operator=( VkBindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindIndexBufferIndirectCommandNV & operator=( BindIndexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindIndexBufferIndirectCommandNV ) ); + return *this; + } + + BindIndexBufferIndirectCommandNV & setBufferAddress( VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ ) VULKAN_HPP_NOEXCEPT + { + bufferAddress = bufferAddress_; + return *this; + } + + BindIndexBufferIndirectCommandNV & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + BindIndexBufferIndirectCommandNV & setIndexType( VULKAN_HPP_NAMESPACE::IndexType indexType_ ) VULKAN_HPP_NOEXCEPT + { + indexType = indexType_; + return *this; + } + + + operator VkBindIndexBufferIndirectCommandNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindIndexBufferIndirectCommandNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindIndexBufferIndirectCommandNV const& ) const = default; +#else + bool operator==( BindIndexBufferIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( bufferAddress == rhs.bufferAddress ) + && ( size == rhs.size ) + && ( indexType == rhs.indexType ); + } + + bool operator!=( BindIndexBufferIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress = {}; + uint32_t size = {}; + VULKAN_HPP_NAMESPACE::IndexType indexType = VULKAN_HPP_NAMESPACE::IndexType::eUint16; + + }; + static_assert( sizeof( BindIndexBufferIndirectCommandNV ) == sizeof( VkBindIndexBufferIndirectCommandNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BindShaderGroupIndirectCommandNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindShaderGroupIndirectCommandNV(uint32_t groupIndex_ = {}) VULKAN_HPP_NOEXCEPT + : groupIndex( groupIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR BindShaderGroupIndirectCommandNV( BindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindShaderGroupIndirectCommandNV( VkBindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindShaderGroupIndirectCommandNV & operator=( VkBindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindShaderGroupIndirectCommandNV & operator=( BindShaderGroupIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindShaderGroupIndirectCommandNV ) ); + return *this; + } + + BindShaderGroupIndirectCommandNV & setGroupIndex( uint32_t groupIndex_ ) VULKAN_HPP_NOEXCEPT + { + groupIndex = groupIndex_; + return *this; + } + + + operator VkBindShaderGroupIndirectCommandNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindShaderGroupIndirectCommandNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindShaderGroupIndirectCommandNV const& ) const = default; +#else + bool operator==( BindShaderGroupIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( groupIndex == rhs.groupIndex ); + } + + bool operator!=( BindShaderGroupIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t groupIndex = {}; + + }; + static_assert( sizeof( BindShaderGroupIndirectCommandNV ) == sizeof( VkBindShaderGroupIndirectCommandNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseMemoryBind + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseMemoryBind(VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : resourceOffset( resourceOffset_ ), size( size_ ), memory( memory_ ), memoryOffset( memoryOffset_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseMemoryBind( SparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseMemoryBind( VkSparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseMemoryBind & operator=( VkSparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseMemoryBind & operator=( SparseMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseMemoryBind ) ); + return *this; + } + + SparseMemoryBind & setResourceOffset( VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset_ ) VULKAN_HPP_NOEXCEPT + { + resourceOffset = resourceOffset_; + return *this; + } + + SparseMemoryBind & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + SparseMemoryBind & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + SparseMemoryBind & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT + { + memoryOffset = memoryOffset_; + return *this; + } + + SparseMemoryBind & setFlags( VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkSparseMemoryBind const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseMemoryBind &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseMemoryBind const& ) const = default; +#else + bool operator==( SparseMemoryBind const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( resourceOffset == rhs.resourceOffset ) + && ( size == rhs.size ) + && ( memory == rhs.memory ) + && ( memoryOffset == rhs.memoryOffset ) + && ( flags == rhs.flags ); + } + + bool operator!=( SparseMemoryBind const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize resourceOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; + VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags = {}; + + }; + static_assert( sizeof( SparseMemoryBind ) == sizeof( VkSparseMemoryBind ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseBufferMemoryBindInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseBufferMemoryBindInfo(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, uint32_t bindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), bindCount( bindCount_ ), pBinds( pBinds_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseBufferMemoryBindInfo( SparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseBufferMemoryBindInfo( VkSparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseBufferMemoryBindInfo( VULKAN_HPP_NAMESPACE::Buffer buffer_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) + : buffer( buffer_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseBufferMemoryBindInfo & operator=( VkSparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseBufferMemoryBindInfo & operator=( SparseBufferMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseBufferMemoryBindInfo ) ); + return *this; + } + + SparseBufferMemoryBindInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + SparseBufferMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = bindCount_; + return *this; + } + + SparseBufferMemoryBindInfo & setPBinds( const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds_ ) VULKAN_HPP_NOEXCEPT + { + pBinds = pBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseBufferMemoryBindInfo & setBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = static_cast( binds_.size() ); + pBinds = binds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSparseBufferMemoryBindInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseBufferMemoryBindInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseBufferMemoryBindInfo const& ) const = default; +#else + bool operator==( SparseBufferMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( buffer == rhs.buffer ) + && ( bindCount == rhs.bindCount ) + && ( pBinds == rhs.pBinds ); + } + + bool operator!=( SparseBufferMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + uint32_t bindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds = {}; + + }; + static_assert( sizeof( SparseBufferMemoryBindInfo ) == sizeof( VkSparseBufferMemoryBindInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseImageOpaqueMemoryBindInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageOpaqueMemoryBindInfo(VULKAN_HPP_NAMESPACE::Image image_ = {}, uint32_t bindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ), bindCount( bindCount_ ), pBinds( pBinds_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageOpaqueMemoryBindInfo( SparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageOpaqueMemoryBindInfo( VkSparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseImageOpaqueMemoryBindInfo( VULKAN_HPP_NAMESPACE::Image image_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) + : image( image_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageOpaqueMemoryBindInfo & operator=( VkSparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageOpaqueMemoryBindInfo & operator=( SparseImageOpaqueMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageOpaqueMemoryBindInfo ) ); + return *this; + } + + SparseImageOpaqueMemoryBindInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + SparseImageOpaqueMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = bindCount_; + return *this; + } + + SparseImageOpaqueMemoryBindInfo & setPBinds( const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds_ ) VULKAN_HPP_NOEXCEPT + { + pBinds = pBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseImageOpaqueMemoryBindInfo & setBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = static_cast( binds_.size() ); + pBinds = binds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSparseImageOpaqueMemoryBindInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageOpaqueMemoryBindInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageOpaqueMemoryBindInfo const& ) const = default; +#else + bool operator==( SparseImageOpaqueMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( image == rhs.image ) + && ( bindCount == rhs.bindCount ) + && ( pBinds == rhs.pBinds ); + } + + bool operator!=( SparseImageOpaqueMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Image image = {}; + uint32_t bindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseMemoryBind* pBinds = {}; + + }; + static_assert( sizeof( SparseImageOpaqueMemoryBindInfo ) == sizeof( VkSparseImageOpaqueMemoryBindInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageSubresource + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageSubresource(VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, uint32_t mipLevel_ = {}, uint32_t arrayLayer_ = {}) VULKAN_HPP_NOEXCEPT + : aspectMask( aspectMask_ ), mipLevel( mipLevel_ ), arrayLayer( arrayLayer_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageSubresource( ImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageSubresource( VkImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageSubresource & operator=( VkImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageSubresource & operator=( ImageSubresource const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageSubresource ) ); + return *this; + } + + ImageSubresource & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + ImageSubresource & setMipLevel( uint32_t mipLevel_ ) VULKAN_HPP_NOEXCEPT + { + mipLevel = mipLevel_; + return *this; + } + + ImageSubresource & setArrayLayer( uint32_t arrayLayer_ ) VULKAN_HPP_NOEXCEPT + { + arrayLayer = arrayLayer_; + return *this; + } + + + operator VkImageSubresource const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageSubresource &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageSubresource const& ) const = default; +#else + bool operator==( ImageSubresource const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( aspectMask == rhs.aspectMask ) + && ( mipLevel == rhs.mipLevel ) + && ( arrayLayer == rhs.arrayLayer ); + } + + bool operator!=( ImageSubresource const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + uint32_t mipLevel = {}; + uint32_t arrayLayer = {}; + + }; + static_assert( sizeof( ImageSubresource ) == sizeof( VkImageSubresource ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct Offset3D + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Offset3D(int32_t x_ = {}, int32_t y_ = {}, int32_t z_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ), z( z_ ) + {} + + VULKAN_HPP_CONSTEXPR Offset3D( Offset3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Offset3D( VkOffset3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + + explicit Offset3D( Offset2D const& offset2D, int32_t z_ = {} ) + : x( offset2D.x ) + , y( offset2D.y ) + , z( z_ ) + {} +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Offset3D & operator=( VkOffset3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Offset3D & operator=( Offset3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Offset3D ) ); + return *this; + } + + Offset3D & setX( int32_t x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + Offset3D & setY( int32_t y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + Offset3D & setZ( int32_t z_ ) VULKAN_HPP_NOEXCEPT + { + z = z_; + return *this; + } + + + operator VkOffset3D const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkOffset3D &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Offset3D const& ) const = default; +#else + bool operator==( Offset3D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ) + && ( z == rhs.z ); + } + + bool operator!=( Offset3D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + int32_t x = {}; + int32_t y = {}; + int32_t z = {}; + + }; + static_assert( sizeof( Offset3D ) == sizeof( VkOffset3D ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct Extent3D + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Extent3D(uint32_t width_ = {}, uint32_t height_ = {}, uint32_t depth_ = {}) VULKAN_HPP_NOEXCEPT + : width( width_ ), height( height_ ), depth( depth_ ) + {} + + VULKAN_HPP_CONSTEXPR Extent3D( Extent3D const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Extent3D( VkExtent3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + + explicit Extent3D( Extent2D const& extent2D, uint32_t depth_ = {} ) + : width( extent2D.width ) + , height( extent2D.height ) + , depth( depth_ ) + {} +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Extent3D & operator=( VkExtent3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Extent3D & operator=( Extent3D const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Extent3D ) ); + return *this; + } + + Extent3D & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + Extent3D & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + Extent3D & setDepth( uint32_t depth_ ) VULKAN_HPP_NOEXCEPT + { + depth = depth_; + return *this; + } + + + operator VkExtent3D const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExtent3D &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Extent3D const& ) const = default; +#else + bool operator==( Extent3D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( width == rhs.width ) + && ( height == rhs.height ) + && ( depth == rhs.depth ); + } + + bool operator!=( Extent3D const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t width = {}; + uint32_t height = {}; + uint32_t depth = {}; + + }; + static_assert( sizeof( Extent3D ) == sizeof( VkExtent3D ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseImageMemoryBind + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageMemoryBind(VULKAN_HPP_NAMESPACE::ImageSubresource subresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D offset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ = {}, VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : subresource( subresource_ ), offset( offset_ ), extent( extent_ ), memory( memory_ ), memoryOffset( memoryOffset_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageMemoryBind( SparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageMemoryBind( VkSparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageMemoryBind & operator=( VkSparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageMemoryBind & operator=( SparseImageMemoryBind const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageMemoryBind ) ); + return *this; + } + + SparseImageMemoryBind & setSubresource( VULKAN_HPP_NAMESPACE::ImageSubresource const & subresource_ ) VULKAN_HPP_NOEXCEPT + { + subresource = subresource_; + return *this; + } + + SparseImageMemoryBind & setOffset( VULKAN_HPP_NAMESPACE::Offset3D const & offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + SparseImageMemoryBind & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + SparseImageMemoryBind & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + SparseImageMemoryBind & setMemoryOffset( VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_ ) VULKAN_HPP_NOEXCEPT + { + memoryOffset = memoryOffset_; + return *this; + } + + SparseImageMemoryBind & setFlags( VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkSparseImageMemoryBind const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageMemoryBind &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageMemoryBind const& ) const = default; +#else + bool operator==( SparseImageMemoryBind const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( subresource == rhs.subresource ) + && ( offset == rhs.offset ) + && ( extent == rhs.extent ) + && ( memory == rhs.memory ) + && ( memoryOffset == rhs.memoryOffset ) + && ( flags == rhs.flags ); + } + + bool operator!=( SparseImageMemoryBind const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageSubresource subresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D offset = {}; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}; + VULKAN_HPP_NAMESPACE::SparseMemoryBindFlags flags = {}; + + }; + static_assert( sizeof( SparseImageMemoryBind ) == sizeof( VkSparseImageMemoryBind ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseImageMemoryBindInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageMemoryBindInfo(VULKAN_HPP_NAMESPACE::Image image_ = {}, uint32_t bindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind* pBinds_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ), bindCount( bindCount_ ), pBinds( pBinds_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageMemoryBindInfo( SparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageMemoryBindInfo( VkSparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseImageMemoryBindInfo( VULKAN_HPP_NAMESPACE::Image image_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) + : image( image_ ), bindCount( static_cast( binds_.size() ) ), pBinds( binds_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageMemoryBindInfo & operator=( VkSparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageMemoryBindInfo & operator=( SparseImageMemoryBindInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageMemoryBindInfo ) ); + return *this; + } + + SparseImageMemoryBindInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + SparseImageMemoryBindInfo & setBindCount( uint32_t bindCount_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = bindCount_; + return *this; + } + + SparseImageMemoryBindInfo & setPBinds( const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind* pBinds_ ) VULKAN_HPP_NOEXCEPT + { + pBinds = pBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SparseImageMemoryBindInfo & setBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & binds_ ) VULKAN_HPP_NOEXCEPT + { + bindCount = static_cast( binds_.size() ); + pBinds = binds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSparseImageMemoryBindInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageMemoryBindInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageMemoryBindInfo const& ) const = default; +#else + bool operator==( SparseImageMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( image == rhs.image ) + && ( bindCount == rhs.bindCount ) + && ( pBinds == rhs.pBinds ); + } + + bool operator!=( SparseImageMemoryBindInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Image image = {}; + uint32_t bindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseImageMemoryBind* pBinds = {}; + + }; + static_assert( sizeof( SparseImageMemoryBindInfo ) == sizeof( VkSparseImageMemoryBindInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BindSparseInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindSparseInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindSparseInfo(uint32_t waitSemaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ = {}, uint32_t bufferBindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo* pBufferBinds_ = {}, uint32_t imageOpaqueBindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ = {}, uint32_t imageBindCount_ = {}, const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo* pImageBinds_ = {}, uint32_t signalSemaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreCount( waitSemaphoreCount_ ), pWaitSemaphores( pWaitSemaphores_ ), bufferBindCount( bufferBindCount_ ), pBufferBinds( pBufferBinds_ ), imageOpaqueBindCount( imageOpaqueBindCount_ ), pImageOpaqueBinds( pImageOpaqueBinds_ ), imageBindCount( imageBindCount_ ), pImageBinds( pImageBinds_ ), signalSemaphoreCount( signalSemaphoreCount_ ), pSignalSemaphores( pSignalSemaphores_ ) + {} + + VULKAN_HPP_CONSTEXPR BindSparseInfo( BindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindSparseInfo( VkBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bufferBinds_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageOpaqueBinds_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageBinds_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ = {} ) + : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ), pWaitSemaphores( waitSemaphores_.data() ), bufferBindCount( static_cast( bufferBinds_.size() ) ), pBufferBinds( bufferBinds_.data() ), imageOpaqueBindCount( static_cast( imageOpaqueBinds_.size() ) ), pImageOpaqueBinds( imageOpaqueBinds_.data() ), imageBindCount( static_cast( imageBinds_.size() ) ), pImageBinds( imageBinds_.data() ), signalSemaphoreCount( static_cast( signalSemaphores_.size() ) ), pSignalSemaphores( signalSemaphores_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindSparseInfo & operator=( VkBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindSparseInfo & operator=( BindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindSparseInfo ) ); + return *this; + } + + BindSparseInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BindSparseInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = waitSemaphoreCount_; + return *this; + } + + BindSparseInfo & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphores = pWaitSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo & setWaitSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = static_cast( waitSemaphores_.size() ); + pWaitSemaphores = waitSemaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BindSparseInfo & setBufferBindCount( uint32_t bufferBindCount_ ) VULKAN_HPP_NOEXCEPT + { + bufferBindCount = bufferBindCount_; + return *this; + } + + BindSparseInfo & setPBufferBinds( const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo* pBufferBinds_ ) VULKAN_HPP_NOEXCEPT + { + pBufferBinds = pBufferBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo & setBufferBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bufferBinds_ ) VULKAN_HPP_NOEXCEPT + { + bufferBindCount = static_cast( bufferBinds_.size() ); + pBufferBinds = bufferBinds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BindSparseInfo & setImageOpaqueBindCount( uint32_t imageOpaqueBindCount_ ) VULKAN_HPP_NOEXCEPT + { + imageOpaqueBindCount = imageOpaqueBindCount_; + return *this; + } + + BindSparseInfo & setPImageOpaqueBinds( const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ ) VULKAN_HPP_NOEXCEPT + { + pImageOpaqueBinds = pImageOpaqueBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo & setImageOpaqueBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageOpaqueBinds_ ) VULKAN_HPP_NOEXCEPT + { + imageOpaqueBindCount = static_cast( imageOpaqueBinds_.size() ); + pImageOpaqueBinds = imageOpaqueBinds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BindSparseInfo & setImageBindCount( uint32_t imageBindCount_ ) VULKAN_HPP_NOEXCEPT + { + imageBindCount = imageBindCount_; + return *this; + } + + BindSparseInfo & setPImageBinds( const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo* pImageBinds_ ) VULKAN_HPP_NOEXCEPT + { + pImageBinds = pImageBinds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo & setImageBinds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageBinds_ ) VULKAN_HPP_NOEXCEPT + { + imageBindCount = static_cast( imageBinds_.size() ); + pImageBinds = imageBinds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BindSparseInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = signalSemaphoreCount_; + return *this; + } + + BindSparseInfo & setPSignalSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pSignalSemaphores = pSignalSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BindSparseInfo & setSignalSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = static_cast( signalSemaphores_.size() ); + pSignalSemaphores = signalSemaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkBindSparseInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindSparseInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindSparseInfo const& ) const = default; +#else + bool operator==( BindSparseInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) + && ( pWaitSemaphores == rhs.pWaitSemaphores ) + && ( bufferBindCount == rhs.bufferBindCount ) + && ( pBufferBinds == rhs.pBufferBinds ) + && ( imageOpaqueBindCount == rhs.imageOpaqueBindCount ) + && ( pImageOpaqueBinds == rhs.pImageOpaqueBinds ) + && ( imageBindCount == rhs.imageBindCount ) + && ( pImageBinds == rhs.pImageBinds ) + && ( signalSemaphoreCount == rhs.signalSemaphoreCount ) + && ( pSignalSemaphores == rhs.pSignalSemaphores ); + } + + bool operator!=( BindSparseInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindSparseInfo; + const void* pNext = {}; + uint32_t waitSemaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores = {}; + uint32_t bufferBindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseBufferMemoryBindInfo* pBufferBinds = {}; + uint32_t imageOpaqueBindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds = {}; + uint32_t imageBindCount = {}; + const VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo* pImageBinds = {}; + uint32_t signalSemaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores = {}; + + }; + static_assert( sizeof( BindSparseInfo ) == sizeof( VkBindSparseInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BindSparseInfo; + }; + + struct BindVertexBufferIndirectCommandNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BindVertexBufferIndirectCommandNV(VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ = {}, uint32_t size_ = {}, uint32_t stride_ = {}) VULKAN_HPP_NOEXCEPT + : bufferAddress( bufferAddress_ ), size( size_ ), stride( stride_ ) + {} + + VULKAN_HPP_CONSTEXPR BindVertexBufferIndirectCommandNV( BindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BindVertexBufferIndirectCommandNV( VkBindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BindVertexBufferIndirectCommandNV & operator=( VkBindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BindVertexBufferIndirectCommandNV & operator=( BindVertexBufferIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BindVertexBufferIndirectCommandNV ) ); + return *this; + } + + BindVertexBufferIndirectCommandNV & setBufferAddress( VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress_ ) VULKAN_HPP_NOEXCEPT + { + bufferAddress = bufferAddress_; + return *this; + } + + BindVertexBufferIndirectCommandNV & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + BindVertexBufferIndirectCommandNV & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + + operator VkBindVertexBufferIndirectCommandNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBindVertexBufferIndirectCommandNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BindVertexBufferIndirectCommandNV const& ) const = default; +#else + bool operator==( BindVertexBufferIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( bufferAddress == rhs.bufferAddress ) + && ( size == rhs.size ) + && ( stride == rhs.stride ); + } + + bool operator!=( BindVertexBufferIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceAddress bufferAddress = {}; + uint32_t size = {}; + uint32_t stride = {}; + + }; + static_assert( sizeof( BindVertexBufferIndirectCommandNV ) == sizeof( VkBindVertexBufferIndirectCommandNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageSubresourceLayers + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageSubresourceLayers(VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, uint32_t mipLevel_ = {}, uint32_t baseArrayLayer_ = {}, uint32_t layerCount_ = {}) VULKAN_HPP_NOEXCEPT + : aspectMask( aspectMask_ ), mipLevel( mipLevel_ ), baseArrayLayer( baseArrayLayer_ ), layerCount( layerCount_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageSubresourceLayers( ImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageSubresourceLayers( VkImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageSubresourceLayers & operator=( VkImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageSubresourceLayers & operator=( ImageSubresourceLayers const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageSubresourceLayers ) ); + return *this; + } + + ImageSubresourceLayers & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + ImageSubresourceLayers & setMipLevel( uint32_t mipLevel_ ) VULKAN_HPP_NOEXCEPT + { + mipLevel = mipLevel_; + return *this; + } + + ImageSubresourceLayers & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT + { + baseArrayLayer = baseArrayLayer_; + return *this; + } + + ImageSubresourceLayers & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT + { + layerCount = layerCount_; + return *this; + } + + + operator VkImageSubresourceLayers const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageSubresourceLayers &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageSubresourceLayers const& ) const = default; +#else + bool operator==( ImageSubresourceLayers const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( aspectMask == rhs.aspectMask ) + && ( mipLevel == rhs.mipLevel ) + && ( baseArrayLayer == rhs.baseArrayLayer ) + && ( layerCount == rhs.layerCount ); + } + + bool operator!=( ImageSubresourceLayers const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + uint32_t mipLevel = {}; + uint32_t baseArrayLayer = {}; + uint32_t layerCount = {}; + + }; + static_assert( sizeof( ImageSubresourceLayers ) == sizeof( VkImageSubresourceLayers ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageBlit2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageBlit2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 ImageBlit2KHR(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, std::array const& srcOffsets_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, std::array const& dstOffsets_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffsets( srcOffsets_ ), dstSubresource( dstSubresource_ ), dstOffsets( dstOffsets_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 ImageBlit2KHR( ImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageBlit2KHR( VkImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageBlit2KHR & operator=( VkImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageBlit2KHR & operator=( ImageBlit2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageBlit2KHR ) ); + return *this; + } + + ImageBlit2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageBlit2KHR & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageBlit2KHR & setSrcOffsets( std::array const & srcOffsets_ ) VULKAN_HPP_NOEXCEPT + { + srcOffsets = srcOffsets_; + return *this; + } + + ImageBlit2KHR & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageBlit2KHR & setDstOffsets( std::array const & dstOffsets_ ) VULKAN_HPP_NOEXCEPT + { + dstOffsets = dstOffsets_; + return *this; + } + + + operator VkImageBlit2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageBlit2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageBlit2KHR const& ) const = default; +#else + bool operator==( ImageBlit2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcSubresource == rhs.srcSubresource ) + && ( srcOffsets == rhs.srcOffsets ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffsets == rhs.dstOffsets ); + } + + bool operator!=( ImageBlit2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageBlit2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D srcOffsets = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D dstOffsets = {}; + + }; + static_assert( sizeof( ImageBlit2KHR ) == sizeof( VkImageBlit2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageBlit2KHR; + }; + + struct BlitImageInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBlitImageInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 BlitImageInfo2KHR(VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::ImageBlit2KHR* pRegions_ = {}, VULKAN_HPP_NAMESPACE::Filter filter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest) VULKAN_HPP_NOEXCEPT + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( regionCount_ ), pRegions( pRegions_ ), filter( filter_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 BlitImageInfo2KHR( BlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BlitImageInfo2KHR( VkBlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BlitImageInfo2KHR( VULKAN_HPP_NAMESPACE::Image srcImage_, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, VULKAN_HPP_NAMESPACE::Image dstImage_, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_, VULKAN_HPP_NAMESPACE::Filter filter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest ) + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ), filter( filter_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BlitImageInfo2KHR & operator=( VkBlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BlitImageInfo2KHR & operator=( BlitImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BlitImageInfo2KHR ) ); + return *this; + } + + BlitImageInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BlitImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT + { + srcImage = srcImage_; + return *this; + } + + BlitImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + srcImageLayout = srcImageLayout_; + return *this; + } + + BlitImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT + { + dstImage = dstImage_; + return *this; + } + + BlitImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + dstImageLayout = dstImageLayout_; + return *this; + } + + BlitImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + BlitImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageBlit2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BlitImageInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + BlitImageInfo2KHR & setFilter( VULKAN_HPP_NAMESPACE::Filter filter_ ) VULKAN_HPP_NOEXCEPT + { + filter = filter_; + return *this; + } + + + operator VkBlitImageInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBlitImageInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BlitImageInfo2KHR const& ) const = default; +#else + bool operator==( BlitImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcImage == rhs.srcImage ) + && ( srcImageLayout == rhs.srcImageLayout ) + && ( dstImage == rhs.dstImage ) + && ( dstImageLayout == rhs.dstImageLayout ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ) + && ( filter == rhs.filter ); + } + + bool operator!=( BlitImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBlitImageInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image srcImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::Image dstImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::ImageBlit2KHR* pRegions = {}; + VULKAN_HPP_NAMESPACE::Filter filter = VULKAN_HPP_NAMESPACE::Filter::eNearest; + + }; + static_assert( sizeof( BlitImageInfo2KHR ) == sizeof( VkBlitImageInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BlitImageInfo2KHR; + }; + + struct BufferCopy + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferCopy(VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : srcOffset( srcOffset_ ), dstOffset( dstOffset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferCopy( BufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferCopy( VkBufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferCopy & operator=( VkBufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferCopy & operator=( BufferCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferCopy ) ); + return *this; + } + + BufferCopy & setSrcOffset( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + BufferCopy & setDstOffset( VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + BufferCopy & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkBufferCopy const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferCopy &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferCopy const& ) const = default; +#else + bool operator==( BufferCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( srcOffset == rhs.srcOffset ) + && ( dstOffset == rhs.dstOffset ) + && ( size == rhs.size ); + } + + bool operator!=( BufferCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize srcOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize dstOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( BufferCopy ) == sizeof( VkBufferCopy ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BufferCopy2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferCopy2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferCopy2KHR(VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : srcOffset( srcOffset_ ), dstOffset( dstOffset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferCopy2KHR( BufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferCopy2KHR( VkBufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferCopy2KHR & operator=( VkBufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferCopy2KHR & operator=( BufferCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferCopy2KHR ) ); + return *this; + } + + BufferCopy2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferCopy2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::DeviceSize srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + BufferCopy2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::DeviceSize dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + BufferCopy2KHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkBufferCopy2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferCopy2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferCopy2KHR const& ) const = default; +#else + bool operator==( BufferCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcOffset == rhs.srcOffset ) + && ( dstOffset == rhs.dstOffset ) + && ( size == rhs.size ); + } + + bool operator!=( BufferCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferCopy2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize srcOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize dstOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( BufferCopy2KHR ) == sizeof( VkBufferCopy2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferCopy2KHR; + }; + + struct BufferCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferCreateInfo(VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ = {}, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = {}, const uint32_t* pQueueFamilyIndices_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), size( size_ ), usage( usage_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( queueFamilyIndexCount_ ), pQueueFamilyIndices( pQueueFamilyIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferCreateInfo( BufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferCreateInfo( VkBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BufferCreateInfo( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_, VULKAN_HPP_NAMESPACE::DeviceSize size_, VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) + : flags( flags_ ), size( size_ ), usage( usage_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ), pQueueFamilyIndices( queueFamilyIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferCreateInfo & operator=( VkBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferCreateInfo & operator=( BufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferCreateInfo ) ); + return *this; + } + + BufferCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + BufferCreateInfo & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + BufferCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + BufferCreateInfo & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT + { + sharingMode = sharingMode_; + return *this; + } + + BufferCreateInfo & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = queueFamilyIndexCount_; + return *this; + } + + BufferCreateInfo & setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + pQueueFamilyIndices = pQueueFamilyIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + BufferCreateInfo & setQueueFamilyIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); + pQueueFamilyIndices = queueFamilyIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkBufferCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferCreateInfo const& ) const = default; +#else + bool operator==( BufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( size == rhs.size ) + && ( usage == rhs.usage ) + && ( sharingMode == rhs.sharingMode ) + && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) + && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ); + } + + bool operator!=( BufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::BufferCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::BufferUsageFlags usage = {}; + VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; + uint32_t queueFamilyIndexCount = {}; + const uint32_t* pQueueFamilyIndices = {}; + + }; + static_assert( sizeof( BufferCreateInfo ) == sizeof( VkBufferCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferCreateInfo; + }; + + struct BufferDeviceAddressCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferDeviceAddressCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferDeviceAddressCreateInfoEXT(VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {}) VULKAN_HPP_NOEXCEPT + : deviceAddress( deviceAddress_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferDeviceAddressCreateInfoEXT( BufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferDeviceAddressCreateInfoEXT( VkBufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferDeviceAddressCreateInfoEXT & operator=( VkBufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferDeviceAddressCreateInfoEXT & operator=( BufferDeviceAddressCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferDeviceAddressCreateInfoEXT ) ); + return *this; + } + + BufferDeviceAddressCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferDeviceAddressCreateInfoEXT & setDeviceAddress( VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + deviceAddress = deviceAddress_; + return *this; + } + + + operator VkBufferDeviceAddressCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferDeviceAddressCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferDeviceAddressCreateInfoEXT const& ) const = default; +#else + bool operator==( BufferDeviceAddressCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceAddress == rhs.deviceAddress ); + } + + bool operator!=( BufferDeviceAddressCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferDeviceAddressCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; + + }; + static_assert( sizeof( BufferDeviceAddressCreateInfoEXT ) == sizeof( VkBufferDeviceAddressCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferDeviceAddressCreateInfoEXT; + }; + + struct BufferDeviceAddressInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferDeviceAddressInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferDeviceAddressInfo(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferDeviceAddressInfo( BufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferDeviceAddressInfo( VkBufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferDeviceAddressInfo & operator=( VkBufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferDeviceAddressInfo & operator=( BufferDeviceAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferDeviceAddressInfo ) ); + return *this; + } + + BufferDeviceAddressInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferDeviceAddressInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + + operator VkBufferDeviceAddressInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferDeviceAddressInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferDeviceAddressInfo const& ) const = default; +#else + bool operator==( BufferDeviceAddressInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( buffer == rhs.buffer ); + } + + bool operator!=( BufferDeviceAddressInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferDeviceAddressInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + + }; + static_assert( sizeof( BufferDeviceAddressInfo ) == sizeof( VkBufferDeviceAddressInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferDeviceAddressInfo; + }; + using BufferDeviceAddressInfoEXT = BufferDeviceAddressInfo; + using BufferDeviceAddressInfoKHR = BufferDeviceAddressInfo; + + struct BufferImageCopy + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferImageCopy(VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ = {}, uint32_t bufferRowLength_ = {}, uint32_t bufferImageHeight_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D imageOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D imageExtent_ = {}) VULKAN_HPP_NOEXCEPT + : bufferOffset( bufferOffset_ ), bufferRowLength( bufferRowLength_ ), bufferImageHeight( bufferImageHeight_ ), imageSubresource( imageSubresource_ ), imageOffset( imageOffset_ ), imageExtent( imageExtent_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferImageCopy( BufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferImageCopy( VkBufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferImageCopy & operator=( VkBufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferImageCopy & operator=( BufferImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferImageCopy ) ); + return *this; + } + + BufferImageCopy & setBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ ) VULKAN_HPP_NOEXCEPT + { + bufferOffset = bufferOffset_; + return *this; + } + + BufferImageCopy & setBufferRowLength( uint32_t bufferRowLength_ ) VULKAN_HPP_NOEXCEPT + { + bufferRowLength = bufferRowLength_; + return *this; + } + + BufferImageCopy & setBufferImageHeight( uint32_t bufferImageHeight_ ) VULKAN_HPP_NOEXCEPT + { + bufferImageHeight = bufferImageHeight_; + return *this; + } + + BufferImageCopy & setImageSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & imageSubresource_ ) VULKAN_HPP_NOEXCEPT + { + imageSubresource = imageSubresource_; + return *this; + } + + BufferImageCopy & setImageOffset( VULKAN_HPP_NAMESPACE::Offset3D const & imageOffset_ ) VULKAN_HPP_NOEXCEPT + { + imageOffset = imageOffset_; + return *this; + } + + BufferImageCopy & setImageExtent( VULKAN_HPP_NAMESPACE::Extent3D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT + { + imageExtent = imageExtent_; + return *this; + } + + + operator VkBufferImageCopy const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferImageCopy &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferImageCopy const& ) const = default; +#else + bool operator==( BufferImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( bufferOffset == rhs.bufferOffset ) + && ( bufferRowLength == rhs.bufferRowLength ) + && ( bufferImageHeight == rhs.bufferImageHeight ) + && ( imageSubresource == rhs.imageSubresource ) + && ( imageOffset == rhs.imageOffset ) + && ( imageExtent == rhs.imageExtent ); + } + + bool operator!=( BufferImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset = {}; + uint32_t bufferRowLength = {}; + uint32_t bufferImageHeight = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D imageOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D imageExtent = {}; + + }; + static_assert( sizeof( BufferImageCopy ) == sizeof( VkBufferImageCopy ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct BufferImageCopy2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferImageCopy2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferImageCopy2KHR(VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ = {}, uint32_t bufferRowLength_ = {}, uint32_t bufferImageHeight_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D imageOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D imageExtent_ = {}) VULKAN_HPP_NOEXCEPT + : bufferOffset( bufferOffset_ ), bufferRowLength( bufferRowLength_ ), bufferImageHeight( bufferImageHeight_ ), imageSubresource( imageSubresource_ ), imageOffset( imageOffset_ ), imageExtent( imageExtent_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferImageCopy2KHR( BufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferImageCopy2KHR( VkBufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferImageCopy2KHR & operator=( VkBufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferImageCopy2KHR & operator=( BufferImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferImageCopy2KHR ) ); + return *this; + } + + BufferImageCopy2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferImageCopy2KHR & setBufferOffset( VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset_ ) VULKAN_HPP_NOEXCEPT + { + bufferOffset = bufferOffset_; + return *this; + } + + BufferImageCopy2KHR & setBufferRowLength( uint32_t bufferRowLength_ ) VULKAN_HPP_NOEXCEPT + { + bufferRowLength = bufferRowLength_; + return *this; + } + + BufferImageCopy2KHR & setBufferImageHeight( uint32_t bufferImageHeight_ ) VULKAN_HPP_NOEXCEPT + { + bufferImageHeight = bufferImageHeight_; + return *this; + } + + BufferImageCopy2KHR & setImageSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & imageSubresource_ ) VULKAN_HPP_NOEXCEPT + { + imageSubresource = imageSubresource_; + return *this; + } + + BufferImageCopy2KHR & setImageOffset( VULKAN_HPP_NAMESPACE::Offset3D const & imageOffset_ ) VULKAN_HPP_NOEXCEPT + { + imageOffset = imageOffset_; + return *this; + } + + BufferImageCopy2KHR & setImageExtent( VULKAN_HPP_NAMESPACE::Extent3D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT + { + imageExtent = imageExtent_; + return *this; + } + + + operator VkBufferImageCopy2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferImageCopy2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferImageCopy2KHR const& ) const = default; +#else + bool operator==( BufferImageCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( bufferOffset == rhs.bufferOffset ) + && ( bufferRowLength == rhs.bufferRowLength ) + && ( bufferImageHeight == rhs.bufferImageHeight ) + && ( imageSubresource == rhs.imageSubresource ) + && ( imageOffset == rhs.imageOffset ) + && ( imageExtent == rhs.imageExtent ); + } + + bool operator!=( BufferImageCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferImageCopy2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize bufferOffset = {}; + uint32_t bufferRowLength = {}; + uint32_t bufferImageHeight = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers imageSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D imageOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D imageExtent = {}; + + }; + static_assert( sizeof( BufferImageCopy2KHR ) == sizeof( VkBufferImageCopy2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferImageCopy2KHR; + }; + + struct BufferMemoryBarrier + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferMemoryBarrier; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferMemoryBarrier(VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, uint32_t srcQueueFamilyIndex_ = {}, uint32_t dstQueueFamilyIndex_ = {}, VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : srcAccessMask( srcAccessMask_ ), dstAccessMask( dstAccessMask_ ), srcQueueFamilyIndex( srcQueueFamilyIndex_ ), dstQueueFamilyIndex( dstQueueFamilyIndex_ ), buffer( buffer_ ), offset( offset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferMemoryBarrier( BufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferMemoryBarrier( VkBufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferMemoryBarrier & operator=( VkBufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferMemoryBarrier & operator=( BufferMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferMemoryBarrier ) ); + return *this; + } + + BufferMemoryBarrier & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferMemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + srcAccessMask = srcAccessMask_; + return *this; + } + + BufferMemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + dstAccessMask = dstAccessMask_; + return *this; + } + + BufferMemoryBarrier & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + srcQueueFamilyIndex = srcQueueFamilyIndex_; + return *this; + } + + BufferMemoryBarrier & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + dstQueueFamilyIndex = dstQueueFamilyIndex_; + return *this; + } + + BufferMemoryBarrier & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + BufferMemoryBarrier & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + BufferMemoryBarrier & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkBufferMemoryBarrier const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferMemoryBarrier &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferMemoryBarrier const& ) const = default; +#else + bool operator==( BufferMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcAccessMask == rhs.srcAccessMask ) + && ( dstAccessMask == rhs.dstAccessMask ) + && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) + && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) + && ( buffer == rhs.buffer ) + && ( offset == rhs.offset ) + && ( size == rhs.size ); + } + + bool operator!=( BufferMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferMemoryBarrier; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; + uint32_t srcQueueFamilyIndex = {}; + uint32_t dstQueueFamilyIndex = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( BufferMemoryBarrier ) == sizeof( VkBufferMemoryBarrier ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferMemoryBarrier; + }; + + struct BufferMemoryRequirementsInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferMemoryRequirementsInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferMemoryRequirementsInfo2(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferMemoryRequirementsInfo2( BufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferMemoryRequirementsInfo2( VkBufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferMemoryRequirementsInfo2 & operator=( VkBufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferMemoryRequirementsInfo2 & operator=( BufferMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferMemoryRequirementsInfo2 ) ); + return *this; + } + + BufferMemoryRequirementsInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferMemoryRequirementsInfo2 & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + + operator VkBufferMemoryRequirementsInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferMemoryRequirementsInfo2 const& ) const = default; +#else + bool operator==( BufferMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( buffer == rhs.buffer ); + } + + bool operator!=( BufferMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferMemoryRequirementsInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + + }; + static_assert( sizeof( BufferMemoryRequirementsInfo2 ) == sizeof( VkBufferMemoryRequirementsInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferMemoryRequirementsInfo2; + }; + using BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2; + + struct BufferOpaqueCaptureAddressCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferOpaqueCaptureAddressCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferOpaqueCaptureAddressCreateInfo(uint64_t opaqueCaptureAddress_ = {}) VULKAN_HPP_NOEXCEPT + : opaqueCaptureAddress( opaqueCaptureAddress_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferOpaqueCaptureAddressCreateInfo( BufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferOpaqueCaptureAddressCreateInfo( VkBufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferOpaqueCaptureAddressCreateInfo & operator=( VkBufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferOpaqueCaptureAddressCreateInfo & operator=( BufferOpaqueCaptureAddressCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferOpaqueCaptureAddressCreateInfo ) ); + return *this; + } + + BufferOpaqueCaptureAddressCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferOpaqueCaptureAddressCreateInfo & setOpaqueCaptureAddress( uint64_t opaqueCaptureAddress_ ) VULKAN_HPP_NOEXCEPT + { + opaqueCaptureAddress = opaqueCaptureAddress_; + return *this; + } + + + operator VkBufferOpaqueCaptureAddressCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferOpaqueCaptureAddressCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferOpaqueCaptureAddressCreateInfo const& ) const = default; +#else + bool operator==( BufferOpaqueCaptureAddressCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( opaqueCaptureAddress == rhs.opaqueCaptureAddress ); + } + + bool operator!=( BufferOpaqueCaptureAddressCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferOpaqueCaptureAddressCreateInfo; + const void* pNext = {}; + uint64_t opaqueCaptureAddress = {}; + + }; + static_assert( sizeof( BufferOpaqueCaptureAddressCreateInfo ) == sizeof( VkBufferOpaqueCaptureAddressCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferOpaqueCaptureAddressCreateInfo; + }; + using BufferOpaqueCaptureAddressCreateInfoKHR = BufferOpaqueCaptureAddressCreateInfo; + + struct BufferViewCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferViewCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferViewCreateInfo(VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize range_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), buffer( buffer_ ), format( format_ ), offset( offset_ ), range( range_ ) + {} + + VULKAN_HPP_CONSTEXPR BufferViewCreateInfo( BufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferViewCreateInfo( VkBufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + BufferViewCreateInfo & operator=( VkBufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + BufferViewCreateInfo & operator=( BufferViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( BufferViewCreateInfo ) ); + return *this; + } + + BufferViewCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + BufferViewCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + BufferViewCreateInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + BufferViewCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + BufferViewCreateInfo & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + BufferViewCreateInfo & setRange( VULKAN_HPP_NAMESPACE::DeviceSize range_ ) VULKAN_HPP_NOEXCEPT + { + range = range_; + return *this; + } + + + operator VkBufferViewCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferViewCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferViewCreateInfo const& ) const = default; +#else + bool operator==( BufferViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( buffer == rhs.buffer ) + && ( format == rhs.format ) + && ( offset == rhs.offset ) + && ( range == rhs.range ); + } + + bool operator!=( BufferViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBufferViewCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::BufferViewCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize range = {}; + + }; + static_assert( sizeof( BufferViewCreateInfo ) == sizeof( VkBufferViewCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = BufferViewCreateInfo; + }; + + struct CalibratedTimestampInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCalibratedTimestampInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CalibratedTimestampInfoEXT(VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain_ = VULKAN_HPP_NAMESPACE::TimeDomainEXT::eDevice) VULKAN_HPP_NOEXCEPT + : timeDomain( timeDomain_ ) + {} + + VULKAN_HPP_CONSTEXPR CalibratedTimestampInfoEXT( CalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CalibratedTimestampInfoEXT( VkCalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CalibratedTimestampInfoEXT & operator=( VkCalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CalibratedTimestampInfoEXT & operator=( CalibratedTimestampInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CalibratedTimestampInfoEXT ) ); + return *this; + } + + CalibratedTimestampInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CalibratedTimestampInfoEXT & setTimeDomain( VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain_ ) VULKAN_HPP_NOEXCEPT + { + timeDomain = timeDomain_; + return *this; + } + + + operator VkCalibratedTimestampInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCalibratedTimestampInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CalibratedTimestampInfoEXT const& ) const = default; +#else + bool operator==( CalibratedTimestampInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( timeDomain == rhs.timeDomain ); + } + + bool operator!=( CalibratedTimestampInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCalibratedTimestampInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::TimeDomainEXT timeDomain = VULKAN_HPP_NAMESPACE::TimeDomainEXT::eDevice; + + }; + static_assert( sizeof( CalibratedTimestampInfoEXT ) == sizeof( VkCalibratedTimestampInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CalibratedTimestampInfoEXT; + }; + + struct CheckpointDataNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCheckpointDataNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CheckpointDataNV(VULKAN_HPP_NAMESPACE::PipelineStageFlagBits stage_ = VULKAN_HPP_NAMESPACE::PipelineStageFlagBits::eTopOfPipe, void* pCheckpointMarker_ = {}) VULKAN_HPP_NOEXCEPT + : stage( stage_ ), pCheckpointMarker( pCheckpointMarker_ ) + {} + + VULKAN_HPP_CONSTEXPR CheckpointDataNV( CheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CheckpointDataNV( VkCheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CheckpointDataNV & operator=( VkCheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CheckpointDataNV & operator=( CheckpointDataNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CheckpointDataNV ) ); + return *this; + } + + + operator VkCheckpointDataNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCheckpointDataNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CheckpointDataNV const& ) const = default; +#else + bool operator==( CheckpointDataNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stage == rhs.stage ) + && ( pCheckpointMarker == rhs.pCheckpointMarker ); + } + + bool operator!=( CheckpointDataNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCheckpointDataNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlagBits stage = VULKAN_HPP_NAMESPACE::PipelineStageFlagBits::eTopOfPipe; + void* pCheckpointMarker = {}; + + }; + static_assert( sizeof( CheckpointDataNV ) == sizeof( VkCheckpointDataNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CheckpointDataNV; + }; + + union ClearColorValue + { + ClearColorValue( VULKAN_HPP_NAMESPACE::ClearColorValue const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearColorValue ) ); + } + + ClearColorValue( const std::array& float32_ = {} ) + : float32( float32_ ) + {} + + ClearColorValue( const std::array& int32_ ) + : int32( int32_ ) + {} + + ClearColorValue( const std::array& uint32_ ) + : uint32( uint32_ ) + {} + + ClearColorValue & setFloat32( std::array float32_ ) VULKAN_HPP_NOEXCEPT + { + float32 = float32_; + return *this; + } + + ClearColorValue & setInt32( std::array int32_ ) VULKAN_HPP_NOEXCEPT + { + int32 = int32_; + return *this; + } + + ClearColorValue & setUint32( std::array uint32_ ) VULKAN_HPP_NOEXCEPT + { + uint32 = uint32_; + return *this; + } + + VULKAN_HPP_NAMESPACE::ClearColorValue & operator=( VULKAN_HPP_NAMESPACE::ClearColorValue const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearColorValue ) ); + return *this; + } + + operator VkClearColorValue const&() const + { + return *reinterpret_cast(this); + } + + operator VkClearColorValue &() + { + return *reinterpret_cast(this); + } + + VULKAN_HPP_NAMESPACE::ArrayWrapper1D float32; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D int32; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D uint32; + }; + + struct ClearDepthStencilValue + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ClearDepthStencilValue(float depth_ = {}, uint32_t stencil_ = {}) VULKAN_HPP_NOEXCEPT + : depth( depth_ ), stencil( stencil_ ) + {} + + VULKAN_HPP_CONSTEXPR ClearDepthStencilValue( ClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ClearDepthStencilValue( VkClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ClearDepthStencilValue & operator=( VkClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ClearDepthStencilValue & operator=( ClearDepthStencilValue const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ClearDepthStencilValue ) ); + return *this; + } + + ClearDepthStencilValue & setDepth( float depth_ ) VULKAN_HPP_NOEXCEPT + { + depth = depth_; + return *this; + } + + ClearDepthStencilValue & setStencil( uint32_t stencil_ ) VULKAN_HPP_NOEXCEPT + { + stencil = stencil_; + return *this; + } + + + operator VkClearDepthStencilValue const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkClearDepthStencilValue &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ClearDepthStencilValue const& ) const = default; +#else + bool operator==( ClearDepthStencilValue const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( depth == rhs.depth ) + && ( stencil == rhs.stencil ); + } + + bool operator!=( ClearDepthStencilValue const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float depth = {}; + uint32_t stencil = {}; + + }; + static_assert( sizeof( ClearDepthStencilValue ) == sizeof( VkClearDepthStencilValue ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + union ClearValue + { + ClearValue( VULKAN_HPP_NAMESPACE::ClearValue const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearValue ) ); + } + + ClearValue( VULKAN_HPP_NAMESPACE::ClearColorValue color_ = {} ) + : color( color_ ) + {} + + ClearValue( VULKAN_HPP_NAMESPACE::ClearDepthStencilValue depthStencil_ ) + : depthStencil( depthStencil_ ) + {} + + ClearValue & setColor( VULKAN_HPP_NAMESPACE::ClearColorValue const & color_ ) VULKAN_HPP_NOEXCEPT + { + color = color_; + return *this; + } + + ClearValue & setDepthStencil( VULKAN_HPP_NAMESPACE::ClearDepthStencilValue const & depthStencil_ ) VULKAN_HPP_NOEXCEPT + { + depthStencil = depthStencil_; + return *this; + } + + VULKAN_HPP_NAMESPACE::ClearValue & operator=( VULKAN_HPP_NAMESPACE::ClearValue const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::ClearValue ) ); + return *this; + } + + operator VkClearValue const&() const + { + return *reinterpret_cast(this); + } + + operator VkClearValue &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + VULKAN_HPP_NAMESPACE::ClearColorValue color; + VULKAN_HPP_NAMESPACE::ClearDepthStencilValue depthStencil; +#else + VkClearColorValue color; + VkClearDepthStencilValue depthStencil; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; + + struct ClearAttachment + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + ClearAttachment(VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, uint32_t colorAttachment_ = {}, VULKAN_HPP_NAMESPACE::ClearValue clearValue_ = {}) VULKAN_HPP_NOEXCEPT + : aspectMask( aspectMask_ ), colorAttachment( colorAttachment_ ), clearValue( clearValue_ ) + {} + + ClearAttachment( ClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ClearAttachment( VkClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ClearAttachment & operator=( VkClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ClearAttachment & operator=( ClearAttachment const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ClearAttachment ) ); + return *this; + } + + ClearAttachment & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + ClearAttachment & setColorAttachment( uint32_t colorAttachment_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachment = colorAttachment_; + return *this; + } + + ClearAttachment & setClearValue( VULKAN_HPP_NAMESPACE::ClearValue const & clearValue_ ) VULKAN_HPP_NOEXCEPT + { + clearValue = clearValue_; + return *this; + } + + + operator VkClearAttachment const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkClearAttachment &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + uint32_t colorAttachment = {}; + VULKAN_HPP_NAMESPACE::ClearValue clearValue = {}; + + }; + static_assert( sizeof( ClearAttachment ) == sizeof( VkClearAttachment ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ClearRect + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ClearRect(VULKAN_HPP_NAMESPACE::Rect2D rect_ = {}, uint32_t baseArrayLayer_ = {}, uint32_t layerCount_ = {}) VULKAN_HPP_NOEXCEPT + : rect( rect_ ), baseArrayLayer( baseArrayLayer_ ), layerCount( layerCount_ ) + {} + + VULKAN_HPP_CONSTEXPR ClearRect( ClearRect const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ClearRect( VkClearRect const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ClearRect & operator=( VkClearRect const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ClearRect & operator=( ClearRect const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ClearRect ) ); + return *this; + } + + ClearRect & setRect( VULKAN_HPP_NAMESPACE::Rect2D const & rect_ ) VULKAN_HPP_NOEXCEPT + { + rect = rect_; + return *this; + } + + ClearRect & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT + { + baseArrayLayer = baseArrayLayer_; + return *this; + } + + ClearRect & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT + { + layerCount = layerCount_; + return *this; + } + + + operator VkClearRect const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkClearRect &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ClearRect const& ) const = default; +#else + bool operator==( ClearRect const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( rect == rhs.rect ) + && ( baseArrayLayer == rhs.baseArrayLayer ) + && ( layerCount == rhs.layerCount ); + } + + bool operator!=( ClearRect const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Rect2D rect = {}; + uint32_t baseArrayLayer = {}; + uint32_t layerCount = {}; + + }; + static_assert( sizeof( ClearRect ) == sizeof( VkClearRect ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct CoarseSampleLocationNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CoarseSampleLocationNV(uint32_t pixelX_ = {}, uint32_t pixelY_ = {}, uint32_t sample_ = {}) VULKAN_HPP_NOEXCEPT + : pixelX( pixelX_ ), pixelY( pixelY_ ), sample( sample_ ) + {} + + VULKAN_HPP_CONSTEXPR CoarseSampleLocationNV( CoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CoarseSampleLocationNV( VkCoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CoarseSampleLocationNV & operator=( VkCoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CoarseSampleLocationNV & operator=( CoarseSampleLocationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CoarseSampleLocationNV ) ); + return *this; + } + + CoarseSampleLocationNV & setPixelX( uint32_t pixelX_ ) VULKAN_HPP_NOEXCEPT + { + pixelX = pixelX_; + return *this; + } + + CoarseSampleLocationNV & setPixelY( uint32_t pixelY_ ) VULKAN_HPP_NOEXCEPT + { + pixelY = pixelY_; + return *this; + } + + CoarseSampleLocationNV & setSample( uint32_t sample_ ) VULKAN_HPP_NOEXCEPT + { + sample = sample_; + return *this; + } + + + operator VkCoarseSampleLocationNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCoarseSampleLocationNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CoarseSampleLocationNV const& ) const = default; +#else + bool operator==( CoarseSampleLocationNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( pixelX == rhs.pixelX ) + && ( pixelY == rhs.pixelY ) + && ( sample == rhs.sample ); + } + + bool operator!=( CoarseSampleLocationNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t pixelX = {}; + uint32_t pixelY = {}; + uint32_t sample = {}; + + }; + static_assert( sizeof( CoarseSampleLocationNV ) == sizeof( VkCoarseSampleLocationNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct CoarseSampleOrderCustomNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CoarseSampleOrderCustomNV(VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_ = VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV::eNoInvocations, uint32_t sampleCount_ = {}, uint32_t sampleLocationCount_ = {}, const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV* pSampleLocations_ = {}) VULKAN_HPP_NOEXCEPT + : shadingRate( shadingRate_ ), sampleCount( sampleCount_ ), sampleLocationCount( sampleLocationCount_ ), pSampleLocations( pSampleLocations_ ) + {} + + VULKAN_HPP_CONSTEXPR CoarseSampleOrderCustomNV( CoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CoarseSampleOrderCustomNV( VkCoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CoarseSampleOrderCustomNV( VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_, uint32_t sampleCount_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & sampleLocations_ ) + : shadingRate( shadingRate_ ), sampleCount( sampleCount_ ), sampleLocationCount( static_cast( sampleLocations_.size() ) ), pSampleLocations( sampleLocations_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CoarseSampleOrderCustomNV & operator=( VkCoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CoarseSampleOrderCustomNV & operator=( CoarseSampleOrderCustomNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CoarseSampleOrderCustomNV ) ); + return *this; + } + + CoarseSampleOrderCustomNV & setShadingRate( VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate_ ) VULKAN_HPP_NOEXCEPT + { + shadingRate = shadingRate_; + return *this; + } + + CoarseSampleOrderCustomNV & setSampleCount( uint32_t sampleCount_ ) VULKAN_HPP_NOEXCEPT + { + sampleCount = sampleCount_; + return *this; + } + + CoarseSampleOrderCustomNV & setSampleLocationCount( uint32_t sampleLocationCount_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationCount = sampleLocationCount_; + return *this; + } + + CoarseSampleOrderCustomNV & setPSampleLocations( const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV* pSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + pSampleLocations = pSampleLocations_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CoarseSampleOrderCustomNV & setSampleLocations( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & sampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationCount = static_cast( sampleLocations_.size() ); + pSampleLocations = sampleLocations_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkCoarseSampleOrderCustomNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCoarseSampleOrderCustomNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CoarseSampleOrderCustomNV const& ) const = default; +#else + bool operator==( CoarseSampleOrderCustomNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( shadingRate == rhs.shadingRate ) + && ( sampleCount == rhs.sampleCount ) + && ( sampleLocationCount == rhs.sampleLocationCount ) + && ( pSampleLocations == rhs.pSampleLocations ); + } + + bool operator!=( CoarseSampleOrderCustomNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV shadingRate = VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV::eNoInvocations; + uint32_t sampleCount = {}; + uint32_t sampleLocationCount = {}; + const VULKAN_HPP_NAMESPACE::CoarseSampleLocationNV* pSampleLocations = {}; + + }; + static_assert( sizeof( CoarseSampleOrderCustomNV ) == sizeof( VkCoarseSampleOrderCustomNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + class CommandPool + { + public: + using CType = VkCommandPool; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eCommandPool; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCommandPool; + + public: + VULKAN_HPP_CONSTEXPR CommandPool() VULKAN_HPP_NOEXCEPT + : m_commandPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR CommandPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_commandPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT CommandPool( VkCommandPool commandPool ) VULKAN_HPP_NOEXCEPT + : m_commandPool( commandPool ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + CommandPool & operator=(VkCommandPool commandPool) VULKAN_HPP_NOEXCEPT + { + m_commandPool = commandPool; + return *this; + } +#endif + + CommandPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_commandPool = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandPool const& ) const = default; +#else + bool operator==( CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandPool == rhs.m_commandPool; + } + + bool operator!=(CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandPool != rhs.m_commandPool; + } + + bool operator<(CommandPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandPool < rhs.m_commandPool; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandPool() const VULKAN_HPP_NOEXCEPT + { + return m_commandPool; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_commandPool != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_commandPool == VK_NULL_HANDLE; + } + + private: + VkCommandPool m_commandPool; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::CommandPool ) == sizeof( VkCommandPool ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::CommandPool; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::CommandPool; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::CommandPool; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct CommandBufferAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo(VULKAN_HPP_NAMESPACE::CommandPool commandPool_ = {}, VULKAN_HPP_NAMESPACE::CommandBufferLevel level_ = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary, uint32_t commandBufferCount_ = {}) VULKAN_HPP_NOEXCEPT + : commandPool( commandPool_ ), level( level_ ), commandBufferCount( commandBufferCount_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo( CommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandBufferAllocateInfo( VkCommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandBufferAllocateInfo & operator=( VkCommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandBufferAllocateInfo & operator=( CommandBufferAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandBufferAllocateInfo ) ); + return *this; + } + + CommandBufferAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandBufferAllocateInfo & setCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool_ ) VULKAN_HPP_NOEXCEPT + { + commandPool = commandPool_; + return *this; + } + + CommandBufferAllocateInfo & setLevel( VULKAN_HPP_NAMESPACE::CommandBufferLevel level_ ) VULKAN_HPP_NOEXCEPT + { + level = level_; + return *this; + } + + CommandBufferAllocateInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT + { + commandBufferCount = commandBufferCount_; + return *this; + } + + + operator VkCommandBufferAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandBufferAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBufferAllocateInfo const& ) const = default; +#else + bool operator==( CommandBufferAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( commandPool == rhs.commandPool ) + && ( level == rhs.level ) + && ( commandBufferCount == rhs.commandBufferCount ); + } + + bool operator!=( CommandBufferAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferAllocateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::CommandPool commandPool = {}; + VULKAN_HPP_NAMESPACE::CommandBufferLevel level = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary; + uint32_t commandBufferCount = {}; + + }; + static_assert( sizeof( CommandBufferAllocateInfo ) == sizeof( VkCommandBufferAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandBufferAllocateInfo; + }; + + class RenderPass + { + public: + using CType = VkRenderPass; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eRenderPass; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eRenderPass; + + public: + VULKAN_HPP_CONSTEXPR RenderPass() VULKAN_HPP_NOEXCEPT + : m_renderPass(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR RenderPass( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_renderPass(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT RenderPass( VkRenderPass renderPass ) VULKAN_HPP_NOEXCEPT + : m_renderPass( renderPass ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + RenderPass & operator=(VkRenderPass renderPass) VULKAN_HPP_NOEXCEPT + { + m_renderPass = renderPass; + return *this; + } +#endif + + RenderPass & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_renderPass = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPass const& ) const = default; +#else + bool operator==( RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_renderPass == rhs.m_renderPass; + } + + bool operator!=(RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_renderPass != rhs.m_renderPass; + } + + bool operator<(RenderPass const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_renderPass < rhs.m_renderPass; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkRenderPass() const VULKAN_HPP_NOEXCEPT + { + return m_renderPass; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_renderPass != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_renderPass == VK_NULL_HANDLE; + } + + private: + VkRenderPass m_renderPass; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::RenderPass ) == sizeof( VkRenderPass ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::RenderPass; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::RenderPass; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::RenderPass; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class Framebuffer + { + public: + using CType = VkFramebuffer; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eFramebuffer; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eFramebuffer; + + public: + VULKAN_HPP_CONSTEXPR Framebuffer() VULKAN_HPP_NOEXCEPT + : m_framebuffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Framebuffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_framebuffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Framebuffer( VkFramebuffer framebuffer ) VULKAN_HPP_NOEXCEPT + : m_framebuffer( framebuffer ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Framebuffer & operator=(VkFramebuffer framebuffer) VULKAN_HPP_NOEXCEPT + { + m_framebuffer = framebuffer; + return *this; + } +#endif + + Framebuffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_framebuffer = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Framebuffer const& ) const = default; +#else + bool operator==( Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer == rhs.m_framebuffer; + } + + bool operator!=(Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer != rhs.m_framebuffer; + } + + bool operator<(Framebuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer < rhs.m_framebuffer; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFramebuffer() const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_framebuffer == VK_NULL_HANDLE; + } + + private: + VkFramebuffer m_framebuffer; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Framebuffer ) == sizeof( VkFramebuffer ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Framebuffer; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Framebuffer; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Framebuffer; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct CommandBufferInheritanceInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferInheritanceInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceInfo(VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, uint32_t subpass_ = {}, VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable_ = {}, VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags_ = {}, VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ = {}) VULKAN_HPP_NOEXCEPT + : renderPass( renderPass_ ), subpass( subpass_ ), framebuffer( framebuffer_ ), occlusionQueryEnable( occlusionQueryEnable_ ), queryFlags( queryFlags_ ), pipelineStatistics( pipelineStatistics_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceInfo( CommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandBufferInheritanceInfo( VkCommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandBufferInheritanceInfo & operator=( VkCommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandBufferInheritanceInfo & operator=( CommandBufferInheritanceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandBufferInheritanceInfo ) ); + return *this; + } + + CommandBufferInheritanceInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandBufferInheritanceInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT + { + renderPass = renderPass_; + return *this; + } + + CommandBufferInheritanceInfo & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT + { + subpass = subpass_; + return *this; + } + + CommandBufferInheritanceInfo & setFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ ) VULKAN_HPP_NOEXCEPT + { + framebuffer = framebuffer_; + return *this; + } + + CommandBufferInheritanceInfo & setOcclusionQueryEnable( VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable_ ) VULKAN_HPP_NOEXCEPT + { + occlusionQueryEnable = occlusionQueryEnable_; + return *this; + } + + CommandBufferInheritanceInfo & setQueryFlags( VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags_ ) VULKAN_HPP_NOEXCEPT + { + queryFlags = queryFlags_; + return *this; + } + + CommandBufferInheritanceInfo & setPipelineStatistics( VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ ) VULKAN_HPP_NOEXCEPT + { + pipelineStatistics = pipelineStatistics_; + return *this; + } + + + operator VkCommandBufferInheritanceInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandBufferInheritanceInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBufferInheritanceInfo const& ) const = default; +#else + bool operator==( CommandBufferInheritanceInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( renderPass == rhs.renderPass ) + && ( subpass == rhs.subpass ) + && ( framebuffer == rhs.framebuffer ) + && ( occlusionQueryEnable == rhs.occlusionQueryEnable ) + && ( queryFlags == rhs.queryFlags ) + && ( pipelineStatistics == rhs.pipelineStatistics ); + } + + bool operator!=( CommandBufferInheritanceInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; + uint32_t subpass = {}; + VULKAN_HPP_NAMESPACE::Framebuffer framebuffer = {}; + VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryEnable = {}; + VULKAN_HPP_NAMESPACE::QueryControlFlags queryFlags = {}; + VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics = {}; + + }; + static_assert( sizeof( CommandBufferInheritanceInfo ) == sizeof( VkCommandBufferInheritanceInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandBufferInheritanceInfo; + }; + + struct CommandBufferBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandBufferBeginInfo(VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags_ = {}, const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo* pInheritanceInfo_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pInheritanceInfo( pInheritanceInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandBufferBeginInfo( CommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandBufferBeginInfo( VkCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandBufferBeginInfo & operator=( VkCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandBufferBeginInfo & operator=( CommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandBufferBeginInfo ) ); + return *this; + } + + CommandBufferBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandBufferBeginInfo & setFlags( VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + CommandBufferBeginInfo & setPInheritanceInfo( const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo* pInheritanceInfo_ ) VULKAN_HPP_NOEXCEPT + { + pInheritanceInfo = pInheritanceInfo_; + return *this; + } + + + operator VkCommandBufferBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandBufferBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBufferBeginInfo const& ) const = default; +#else + bool operator==( CommandBufferBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pInheritanceInfo == rhs.pInheritanceInfo ); + } + + bool operator!=( CommandBufferBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferBeginInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::CommandBufferUsageFlags flags = {}; + const VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo* pInheritanceInfo = {}; + + }; + static_assert( sizeof( CommandBufferBeginInfo ) == sizeof( VkCommandBufferBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandBufferBeginInfo; + }; + + struct CommandBufferInheritanceConditionalRenderingInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceConditionalRenderingInfoEXT(VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable_ = {}) VULKAN_HPP_NOEXCEPT + : conditionalRenderingEnable( conditionalRenderingEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceConditionalRenderingInfoEXT( CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandBufferInheritanceConditionalRenderingInfoEXT( VkCommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandBufferInheritanceConditionalRenderingInfoEXT & operator=( VkCommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandBufferInheritanceConditionalRenderingInfoEXT & operator=( CommandBufferInheritanceConditionalRenderingInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandBufferInheritanceConditionalRenderingInfoEXT ) ); + return *this; + } + + CommandBufferInheritanceConditionalRenderingInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandBufferInheritanceConditionalRenderingInfoEXT & setConditionalRenderingEnable( VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable_ ) VULKAN_HPP_NOEXCEPT + { + conditionalRenderingEnable = conditionalRenderingEnable_; + return *this; + } + + + operator VkCommandBufferInheritanceConditionalRenderingInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandBufferInheritanceConditionalRenderingInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBufferInheritanceConditionalRenderingInfoEXT const& ) const = default; +#else + bool operator==( CommandBufferInheritanceConditionalRenderingInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( conditionalRenderingEnable == rhs.conditionalRenderingEnable ); + } + + bool operator!=( CommandBufferInheritanceConditionalRenderingInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceConditionalRenderingInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 conditionalRenderingEnable = {}; + + }; + static_assert( sizeof( CommandBufferInheritanceConditionalRenderingInfoEXT ) == sizeof( VkCommandBufferInheritanceConditionalRenderingInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandBufferInheritanceConditionalRenderingInfoEXT; + }; + + struct CommandBufferInheritanceRenderPassTransformInfoQCOM + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceRenderPassTransformInfoQCOM(VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, VULKAN_HPP_NAMESPACE::Rect2D renderArea_ = {}) VULKAN_HPP_NOEXCEPT + : transform( transform_ ), renderArea( renderArea_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandBufferInheritanceRenderPassTransformInfoQCOM( CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandBufferInheritanceRenderPassTransformInfoQCOM( VkCommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandBufferInheritanceRenderPassTransformInfoQCOM & operator=( VkCommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandBufferInheritanceRenderPassTransformInfoQCOM & operator=( CommandBufferInheritanceRenderPassTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandBufferInheritanceRenderPassTransformInfoQCOM ) ); + return *this; + } + + CommandBufferInheritanceRenderPassTransformInfoQCOM & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandBufferInheritanceRenderPassTransformInfoQCOM & setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT + { + transform = transform_; + return *this; + } + + CommandBufferInheritanceRenderPassTransformInfoQCOM & setRenderArea( VULKAN_HPP_NAMESPACE::Rect2D const & renderArea_ ) VULKAN_HPP_NOEXCEPT + { + renderArea = renderArea_; + return *this; + } + + + operator VkCommandBufferInheritanceRenderPassTransformInfoQCOM const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandBufferInheritanceRenderPassTransformInfoQCOM &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBufferInheritanceRenderPassTransformInfoQCOM const& ) const = default; +#else + bool operator==( CommandBufferInheritanceRenderPassTransformInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( transform == rhs.transform ) + && ( renderArea == rhs.renderArea ); + } + + bool operator!=( CommandBufferInheritanceRenderPassTransformInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferInheritanceRenderPassTransformInfoQCOM; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + VULKAN_HPP_NAMESPACE::Rect2D renderArea = {}; + + }; + static_assert( sizeof( CommandBufferInheritanceRenderPassTransformInfoQCOM ) == sizeof( VkCommandBufferInheritanceRenderPassTransformInfoQCOM ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandBufferInheritanceRenderPassTransformInfoQCOM; + }; + + struct CommandPoolCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCommandPoolCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CommandPoolCreateInfo(VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags_ = {}, uint32_t queueFamilyIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), queueFamilyIndex( queueFamilyIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR CommandPoolCreateInfo( CommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CommandPoolCreateInfo( VkCommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CommandPoolCreateInfo & operator=( VkCommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CommandPoolCreateInfo & operator=( CommandPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CommandPoolCreateInfo ) ); + return *this; + } + + CommandPoolCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CommandPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + CommandPoolCreateInfo & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndex = queueFamilyIndex_; + return *this; + } + + + operator VkCommandPoolCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCommandPoolCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandPoolCreateInfo const& ) const = default; +#else + bool operator==( CommandPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( queueFamilyIndex == rhs.queueFamilyIndex ); + } + + bool operator!=( CommandPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandPoolCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::CommandPoolCreateFlags flags = {}; + uint32_t queueFamilyIndex = {}; + + }; + static_assert( sizeof( CommandPoolCreateInfo ) == sizeof( VkCommandPoolCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CommandPoolCreateInfo; + }; + + class ShaderModule + { + public: + using CType = VkShaderModule; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eShaderModule; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eShaderModule; + + public: + VULKAN_HPP_CONSTEXPR ShaderModule() VULKAN_HPP_NOEXCEPT + : m_shaderModule(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR ShaderModule( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_shaderModule(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT ShaderModule( VkShaderModule shaderModule ) VULKAN_HPP_NOEXCEPT + : m_shaderModule( shaderModule ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + ShaderModule & operator=(VkShaderModule shaderModule) VULKAN_HPP_NOEXCEPT + { + m_shaderModule = shaderModule; + return *this; + } +#endif + + ShaderModule & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_shaderModule = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShaderModule const& ) const = default; +#else + bool operator==( ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule == rhs.m_shaderModule; + } + + bool operator!=(ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule != rhs.m_shaderModule; + } + + bool operator<(ShaderModule const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule < rhs.m_shaderModule; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkShaderModule() const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_shaderModule == VK_NULL_HANDLE; + } + + private: + VkShaderModule m_shaderModule; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::ShaderModule ) == sizeof( VkShaderModule ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::ShaderModule; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ShaderModule; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ShaderModule; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct SpecializationMapEntry + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SpecializationMapEntry(uint32_t constantID_ = {}, uint32_t offset_ = {}, size_t size_ = {}) VULKAN_HPP_NOEXCEPT + : constantID( constantID_ ), offset( offset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR SpecializationMapEntry( SpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SpecializationMapEntry( VkSpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SpecializationMapEntry & operator=( VkSpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SpecializationMapEntry & operator=( SpecializationMapEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SpecializationMapEntry ) ); + return *this; + } + + SpecializationMapEntry & setConstantID( uint32_t constantID_ ) VULKAN_HPP_NOEXCEPT + { + constantID = constantID_; + return *this; + } + + SpecializationMapEntry & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + SpecializationMapEntry & setSize( size_t size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkSpecializationMapEntry const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSpecializationMapEntry &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SpecializationMapEntry const& ) const = default; +#else + bool operator==( SpecializationMapEntry const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( constantID == rhs.constantID ) + && ( offset == rhs.offset ) + && ( size == rhs.size ); + } + + bool operator!=( SpecializationMapEntry const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t constantID = {}; + uint32_t offset = {}; + size_t size = {}; + + }; + static_assert( sizeof( SpecializationMapEntry ) == sizeof( VkSpecializationMapEntry ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SpecializationInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SpecializationInfo(uint32_t mapEntryCount_ = {}, const VULKAN_HPP_NAMESPACE::SpecializationMapEntry* pMapEntries_ = {}, size_t dataSize_ = {}, const void* pData_ = {}) VULKAN_HPP_NOEXCEPT + : mapEntryCount( mapEntryCount_ ), pMapEntries( pMapEntries_ ), dataSize( dataSize_ ), pData( pData_ ) + {} + + VULKAN_HPP_CONSTEXPR SpecializationInfo( SpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SpecializationInfo( VkSpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + SpecializationInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & mapEntries_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ = {} ) + : mapEntryCount( static_cast( mapEntries_.size() ) ), pMapEntries( mapEntries_.data() ), dataSize( data_.size() * sizeof(T) ), pData( data_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SpecializationInfo & operator=( VkSpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SpecializationInfo & operator=( SpecializationInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SpecializationInfo ) ); + return *this; + } + + SpecializationInfo & setMapEntryCount( uint32_t mapEntryCount_ ) VULKAN_HPP_NOEXCEPT + { + mapEntryCount = mapEntryCount_; + return *this; + } + + SpecializationInfo & setPMapEntries( const VULKAN_HPP_NAMESPACE::SpecializationMapEntry* pMapEntries_ ) VULKAN_HPP_NOEXCEPT + { + pMapEntries = pMapEntries_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SpecializationInfo & setMapEntries( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & mapEntries_ ) VULKAN_HPP_NOEXCEPT + { + mapEntryCount = static_cast( mapEntries_.size() ); + pMapEntries = mapEntries_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SpecializationInfo & setDataSize( size_t dataSize_ ) VULKAN_HPP_NOEXCEPT + { + dataSize = dataSize_; + return *this; + } + + SpecializationInfo & setPData( const void* pData_ ) VULKAN_HPP_NOEXCEPT + { + pData = pData_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + SpecializationInfo & setData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) VULKAN_HPP_NOEXCEPT + { + dataSize = data_.size() * sizeof(T); + pData = data_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSpecializationInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSpecializationInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SpecializationInfo const& ) const = default; +#else + bool operator==( SpecializationInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( mapEntryCount == rhs.mapEntryCount ) + && ( pMapEntries == rhs.pMapEntries ) + && ( dataSize == rhs.dataSize ) + && ( pData == rhs.pData ); + } + + bool operator!=( SpecializationInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t mapEntryCount = {}; + const VULKAN_HPP_NAMESPACE::SpecializationMapEntry* pMapEntries = {}; + size_t dataSize = {}; + const void* pData = {}; + + }; + static_assert( sizeof( SpecializationInfo ) == sizeof( VkSpecializationInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineShaderStageCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineShaderStageCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateInfo(VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage_ = VULKAN_HPP_NAMESPACE::ShaderStageFlagBits::eVertex, VULKAN_HPP_NAMESPACE::ShaderModule module_ = {}, const char* pName_ = {}, const VULKAN_HPP_NAMESPACE::SpecializationInfo* pSpecializationInfo_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), stage( stage_ ), module( module_ ), pName( pName_ ), pSpecializationInfo( pSpecializationInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineShaderStageCreateInfo( PipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineShaderStageCreateInfo( VkPipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineShaderStageCreateInfo & operator=( VkPipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineShaderStageCreateInfo & operator=( PipelineShaderStageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineShaderStageCreateInfo ) ); + return *this; + } + + PipelineShaderStageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineShaderStageCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineShaderStageCreateInfo & setStage( VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage_ ) VULKAN_HPP_NOEXCEPT + { + stage = stage_; + return *this; + } + + PipelineShaderStageCreateInfo & setModule( VULKAN_HPP_NAMESPACE::ShaderModule module_ ) VULKAN_HPP_NOEXCEPT + { + module = module_; + return *this; + } + + PipelineShaderStageCreateInfo & setPName( const char* pName_ ) VULKAN_HPP_NOEXCEPT + { + pName = pName_; + return *this; + } + + PipelineShaderStageCreateInfo & setPSpecializationInfo( const VULKAN_HPP_NAMESPACE::SpecializationInfo* pSpecializationInfo_ ) VULKAN_HPP_NOEXCEPT + { + pSpecializationInfo = pSpecializationInfo_; + return *this; + } + + + operator VkPipelineShaderStageCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineShaderStageCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineShaderStageCreateInfo const& ) const = default; +#else + bool operator==( PipelineShaderStageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( stage == rhs.stage ) + && ( module == rhs.module ) + && ( pName == rhs.pName ) + && ( pSpecializationInfo == rhs.pSpecializationInfo ); + } + + bool operator!=( PipelineShaderStageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineShaderStageCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlagBits stage = VULKAN_HPP_NAMESPACE::ShaderStageFlagBits::eVertex; + VULKAN_HPP_NAMESPACE::ShaderModule module = {}; + const char* pName = {}; + const VULKAN_HPP_NAMESPACE::SpecializationInfo* pSpecializationInfo = {}; + + }; + static_assert( sizeof( PipelineShaderStageCreateInfo ) == sizeof( VkPipelineShaderStageCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineShaderStageCreateInfo; + }; + + class PipelineLayout + { + public: + using CType = VkPipelineLayout; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePipelineLayout; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipelineLayout; + + public: + VULKAN_HPP_CONSTEXPR PipelineLayout() VULKAN_HPP_NOEXCEPT + : m_pipelineLayout(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR PipelineLayout( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_pipelineLayout(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT PipelineLayout( VkPipelineLayout pipelineLayout ) VULKAN_HPP_NOEXCEPT + : m_pipelineLayout( pipelineLayout ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + PipelineLayout & operator=(VkPipelineLayout pipelineLayout) VULKAN_HPP_NOEXCEPT + { + m_pipelineLayout = pipelineLayout; + return *this; + } +#endif + + PipelineLayout & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_pipelineLayout = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineLayout const& ) const = default; +#else + bool operator==( PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout == rhs.m_pipelineLayout; + } + + bool operator!=(PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout != rhs.m_pipelineLayout; + } + + bool operator<(PipelineLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout < rhs.m_pipelineLayout; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineLayout() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineLayout == VK_NULL_HANDLE; + } + + private: + VkPipelineLayout m_pipelineLayout; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::PipelineLayout ) == sizeof( VkPipelineLayout ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::PipelineLayout; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PipelineLayout; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PipelineLayout; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class Pipeline + { + public: + using CType = VkPipeline; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePipeline; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipeline; + + public: + VULKAN_HPP_CONSTEXPR Pipeline() VULKAN_HPP_NOEXCEPT + : m_pipeline(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Pipeline( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_pipeline(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Pipeline( VkPipeline pipeline ) VULKAN_HPP_NOEXCEPT + : m_pipeline( pipeline ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Pipeline & operator=(VkPipeline pipeline) VULKAN_HPP_NOEXCEPT + { + m_pipeline = pipeline; + return *this; + } +#endif + + Pipeline & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_pipeline = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Pipeline const& ) const = default; +#else + bool operator==( Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipeline == rhs.m_pipeline; + } + + bool operator!=(Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipeline != rhs.m_pipeline; + } + + bool operator<(Pipeline const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipeline < rhs.m_pipeline; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipeline() const VULKAN_HPP_NOEXCEPT + { + return m_pipeline; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_pipeline != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_pipeline == VK_NULL_HANDLE; + } + + private: + VkPipeline m_pipeline; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Pipeline ) == sizeof( VkPipeline ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Pipeline; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Pipeline; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Pipeline; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct ComputePipelineCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eComputePipelineCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ComputePipelineCreateInfo(VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo stage_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), stage( stage_ ), layout( layout_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR ComputePipelineCreateInfo( ComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ComputePipelineCreateInfo( VkComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ComputePipelineCreateInfo & operator=( VkComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ComputePipelineCreateInfo & operator=( ComputePipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ComputePipelineCreateInfo ) ); + return *this; + } + + ComputePipelineCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ComputePipelineCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ComputePipelineCreateInfo & setStage( VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo const & stage_ ) VULKAN_HPP_NOEXCEPT + { + stage = stage_; + return *this; + } + + ComputePipelineCreateInfo & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + ComputePipelineCreateInfo & setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineHandle = basePipelineHandle_; + return *this; + } + + ComputePipelineCreateInfo & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineIndex = basePipelineIndex_; + return *this; + } + + + operator VkComputePipelineCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkComputePipelineCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ComputePipelineCreateInfo const& ) const = default; +#else + bool operator==( ComputePipelineCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( stage == rhs.stage ) + && ( layout == rhs.layout ) + && ( basePipelineHandle == rhs.basePipelineHandle ) + && ( basePipelineIndex == rhs.basePipelineIndex ); + } + + bool operator!=( ComputePipelineCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eComputePipelineCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo stage = {}; + VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; + VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; + int32_t basePipelineIndex = {}; + + }; + static_assert( sizeof( ComputePipelineCreateInfo ) == sizeof( VkComputePipelineCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ComputePipelineCreateInfo; + }; + + struct ConditionalRenderingBeginInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eConditionalRenderingBeginInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ConditionalRenderingBeginInfoEXT(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), offset( offset_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR ConditionalRenderingBeginInfoEXT( ConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ConditionalRenderingBeginInfoEXT( VkConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ConditionalRenderingBeginInfoEXT & operator=( VkConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ConditionalRenderingBeginInfoEXT & operator=( ConditionalRenderingBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ConditionalRenderingBeginInfoEXT ) ); + return *this; + } + + ConditionalRenderingBeginInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ConditionalRenderingBeginInfoEXT & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + ConditionalRenderingBeginInfoEXT & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + ConditionalRenderingBeginInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkConditionalRenderingBeginInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkConditionalRenderingBeginInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ConditionalRenderingBeginInfoEXT const& ) const = default; +#else + bool operator==( ConditionalRenderingBeginInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( buffer == rhs.buffer ) + && ( offset == rhs.offset ) + && ( flags == rhs.flags ); + } + + bool operator!=( ConditionalRenderingBeginInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eConditionalRenderingBeginInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::ConditionalRenderingFlagsEXT flags = {}; + + }; + static_assert( sizeof( ConditionalRenderingBeginInfoEXT ) == sizeof( VkConditionalRenderingBeginInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ConditionalRenderingBeginInfoEXT; + }; + + struct ConformanceVersion + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ConformanceVersion(uint8_t major_ = {}, uint8_t minor_ = {}, uint8_t subminor_ = {}, uint8_t patch_ = {}) VULKAN_HPP_NOEXCEPT + : major( major_ ), minor( minor_ ), subminor( subminor_ ), patch( patch_ ) + {} + + VULKAN_HPP_CONSTEXPR ConformanceVersion( ConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ConformanceVersion( VkConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ConformanceVersion & operator=( VkConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ConformanceVersion & operator=( ConformanceVersion const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ConformanceVersion ) ); + return *this; + } + + ConformanceVersion & setMajor( uint8_t major_ ) VULKAN_HPP_NOEXCEPT + { + major = major_; + return *this; + } + + ConformanceVersion & setMinor( uint8_t minor_ ) VULKAN_HPP_NOEXCEPT + { + minor = minor_; + return *this; + } + + ConformanceVersion & setSubminor( uint8_t subminor_ ) VULKAN_HPP_NOEXCEPT + { + subminor = subminor_; + return *this; + } + + ConformanceVersion & setPatch( uint8_t patch_ ) VULKAN_HPP_NOEXCEPT + { + patch = patch_; + return *this; + } + + + operator VkConformanceVersion const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkConformanceVersion &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ConformanceVersion const& ) const = default; +#else + bool operator==( ConformanceVersion const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( major == rhs.major ) + && ( minor == rhs.minor ) + && ( subminor == rhs.subminor ) + && ( patch == rhs.patch ); + } + + bool operator!=( ConformanceVersion const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint8_t major = {}; + uint8_t minor = {}; + uint8_t subminor = {}; + uint8_t patch = {}; + + }; + static_assert( sizeof( ConformanceVersion ) == sizeof( VkConformanceVersion ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using ConformanceVersionKHR = ConformanceVersion; + + struct CooperativeMatrixPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCooperativeMatrixPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV(uint32_t MSize_ = {}, uint32_t NSize_ = {}, uint32_t KSize_ = {}, VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ScopeNV scope_ = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice) VULKAN_HPP_NOEXCEPT + : MSize( MSize_ ), NSize( NSize_ ), KSize( KSize_ ), AType( AType_ ), BType( BType_ ), CType( CType_ ), DType( DType_ ), scope( scope_ ) + {} + + VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CooperativeMatrixPropertiesNV( VkCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CooperativeMatrixPropertiesNV & operator=( VkCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CooperativeMatrixPropertiesNV & operator=( CooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CooperativeMatrixPropertiesNV ) ); + return *this; + } + + CooperativeMatrixPropertiesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CooperativeMatrixPropertiesNV & setMSize( uint32_t MSize_ ) VULKAN_HPP_NOEXCEPT + { + MSize = MSize_; + return *this; + } + + CooperativeMatrixPropertiesNV & setNSize( uint32_t NSize_ ) VULKAN_HPP_NOEXCEPT + { + NSize = NSize_; + return *this; + } + + CooperativeMatrixPropertiesNV & setKSize( uint32_t KSize_ ) VULKAN_HPP_NOEXCEPT + { + KSize = KSize_; + return *this; + } + + CooperativeMatrixPropertiesNV & setAType( VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ ) VULKAN_HPP_NOEXCEPT + { + AType = AType_; + return *this; + } + + CooperativeMatrixPropertiesNV & setBType( VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ ) VULKAN_HPP_NOEXCEPT + { + BType = BType_; + return *this; + } + + CooperativeMatrixPropertiesNV & setCType( VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ ) VULKAN_HPP_NOEXCEPT + { + CType = CType_; + return *this; + } + + CooperativeMatrixPropertiesNV & setDType( VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ ) VULKAN_HPP_NOEXCEPT + { + DType = DType_; + return *this; + } + + CooperativeMatrixPropertiesNV & setScope( VULKAN_HPP_NAMESPACE::ScopeNV scope_ ) VULKAN_HPP_NOEXCEPT + { + scope = scope_; + return *this; + } + + + operator VkCooperativeMatrixPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCooperativeMatrixPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CooperativeMatrixPropertiesNV const& ) const = default; +#else + bool operator==( CooperativeMatrixPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( MSize == rhs.MSize ) + && ( NSize == rhs.NSize ) + && ( KSize == rhs.KSize ) + && ( AType == rhs.AType ) + && ( BType == rhs.BType ) + && ( CType == rhs.CType ) + && ( DType == rhs.DType ) + && ( scope == rhs.scope ); + } + + bool operator!=( CooperativeMatrixPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCooperativeMatrixPropertiesNV; + void* pNext = {}; + uint32_t MSize = {}; + uint32_t NSize = {}; + uint32_t KSize = {}; + VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; + VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; + VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; + VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; + VULKAN_HPP_NAMESPACE::ScopeNV scope = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice; + + }; + static_assert( sizeof( CooperativeMatrixPropertiesNV ) == sizeof( VkCooperativeMatrixPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CooperativeMatrixPropertiesNV; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct CopyAccelerationStructureInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyAccelerationStructureInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyAccelerationStructureInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ = {}, VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone) VULKAN_HPP_NOEXCEPT + : src( src_ ), dst( dst_ ), mode( mode_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyAccelerationStructureInfoKHR( CopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyAccelerationStructureInfoKHR( VkCopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyAccelerationStructureInfoKHR & operator=( VkCopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyAccelerationStructureInfoKHR & operator=( CopyAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyAccelerationStructureInfoKHR ) ); + return *this; + } + + CopyAccelerationStructureInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyAccelerationStructureInfoKHR & setSrc( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ ) VULKAN_HPP_NOEXCEPT + { + src = src_; + return *this; + } + + CopyAccelerationStructureInfoKHR & setDst( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ ) VULKAN_HPP_NOEXCEPT + { + dst = dst_; + return *this; + } + + CopyAccelerationStructureInfoKHR & setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT + { + mode = mode_; + return *this; + } + + + operator VkCopyAccelerationStructureInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyAccelerationStructureInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyAccelerationStructureInfoKHR const& ) const = default; +#else + bool operator==( CopyAccelerationStructureInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( src == rhs.src ) + && ( dst == rhs.dst ) + && ( mode == rhs.mode ); + } + + bool operator!=( CopyAccelerationStructureInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyAccelerationStructureInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst = {}; + VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; + + }; + static_assert( sizeof( CopyAccelerationStructureInfoKHR ) == sizeof( VkCopyAccelerationStructureInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyAccelerationStructureInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct CopyAccelerationStructureToMemoryInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyAccelerationStructureToMemoryInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + CopyAccelerationStructureToMemoryInfoKHR(VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ = {}, VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR dst_ = {}, VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone) VULKAN_HPP_NOEXCEPT + : src( src_ ), dst( dst_ ), mode( mode_ ) + {} + + CopyAccelerationStructureToMemoryInfoKHR( CopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyAccelerationStructureToMemoryInfoKHR( VkCopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyAccelerationStructureToMemoryInfoKHR & operator=( VkCopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyAccelerationStructureToMemoryInfoKHR & operator=( CopyAccelerationStructureToMemoryInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyAccelerationStructureToMemoryInfoKHR ) ); + return *this; + } + + CopyAccelerationStructureToMemoryInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyAccelerationStructureToMemoryInfoKHR & setSrc( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src_ ) VULKAN_HPP_NOEXCEPT + { + src = src_; + return *this; + } + + CopyAccelerationStructureToMemoryInfoKHR & setDst( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR const & dst_ ) VULKAN_HPP_NOEXCEPT + { + dst = dst_; + return *this; + } + + CopyAccelerationStructureToMemoryInfoKHR & setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT + { + mode = mode_; + return *this; + } + + + operator VkCopyAccelerationStructureToMemoryInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyAccelerationStructureToMemoryInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyAccelerationStructureToMemoryInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressKHR dst = {}; + VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; + + }; + static_assert( sizeof( CopyAccelerationStructureToMemoryInfoKHR ) == sizeof( VkCopyAccelerationStructureToMemoryInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyAccelerationStructureToMemoryInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct CopyBufferInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyBufferInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyBufferInfo2KHR(VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ = {}, VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ = {}, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::BufferCopy2KHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : srcBuffer( srcBuffer_ ), dstBuffer( dstBuffer_ ), regionCount( regionCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyBufferInfo2KHR( CopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyBufferInfo2KHR( VkCopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyBufferInfo2KHR( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_, VULKAN_HPP_NAMESPACE::Buffer dstBuffer_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : srcBuffer( srcBuffer_ ), dstBuffer( dstBuffer_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyBufferInfo2KHR & operator=( VkCopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyBufferInfo2KHR & operator=( CopyBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyBufferInfo2KHR ) ); + return *this; + } + + CopyBufferInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyBufferInfo2KHR & setSrcBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ ) VULKAN_HPP_NOEXCEPT + { + srcBuffer = srcBuffer_; + return *this; + } + + CopyBufferInfo2KHR & setDstBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ ) VULKAN_HPP_NOEXCEPT + { + dstBuffer = dstBuffer_; + return *this; + } + + CopyBufferInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + CopyBufferInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::BufferCopy2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyBufferInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkCopyBufferInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyBufferInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyBufferInfo2KHR const& ) const = default; +#else + bool operator==( CopyBufferInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcBuffer == rhs.srcBuffer ) + && ( dstBuffer == rhs.dstBuffer ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( CopyBufferInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyBufferInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer srcBuffer = {}; + VULKAN_HPP_NAMESPACE::Buffer dstBuffer = {}; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::BufferCopy2KHR* pRegions = {}; + + }; + static_assert( sizeof( CopyBufferInfo2KHR ) == sizeof( VkCopyBufferInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyBufferInfo2KHR; + }; + + struct CopyBufferToImageInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyBufferToImageInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyBufferToImageInfo2KHR(VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ = {}, VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : srcBuffer( srcBuffer_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( regionCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyBufferToImageInfo2KHR( CopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyBufferToImageInfo2KHR( VkCopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyBufferToImageInfo2KHR( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_, VULKAN_HPP_NAMESPACE::Image dstImage_, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : srcBuffer( srcBuffer_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyBufferToImageInfo2KHR & operator=( VkCopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyBufferToImageInfo2KHR & operator=( CopyBufferToImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyBufferToImageInfo2KHR ) ); + return *this; + } + + CopyBufferToImageInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyBufferToImageInfo2KHR & setSrcBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer_ ) VULKAN_HPP_NOEXCEPT + { + srcBuffer = srcBuffer_; + return *this; + } + + CopyBufferToImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT + { + dstImage = dstImage_; + return *this; + } + + CopyBufferToImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + dstImageLayout = dstImageLayout_; + return *this; + } + + CopyBufferToImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + CopyBufferToImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyBufferToImageInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkCopyBufferToImageInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyBufferToImageInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyBufferToImageInfo2KHR const& ) const = default; +#else + bool operator==( CopyBufferToImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcBuffer == rhs.srcBuffer ) + && ( dstImage == rhs.dstImage ) + && ( dstImageLayout == rhs.dstImageLayout ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( CopyBufferToImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyBufferToImageInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Buffer srcBuffer = {}; + VULKAN_HPP_NAMESPACE::Image dstImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions = {}; + + }; + static_assert( sizeof( CopyBufferToImageInfo2KHR ) == sizeof( VkCopyBufferToImageInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyBufferToImageInfo2KHR; + }; + + struct CopyCommandTransformInfoQCOM + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyCommandTransformInfoQCOM; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyCommandTransformInfoQCOM(VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity) VULKAN_HPP_NOEXCEPT + : transform( transform_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyCommandTransformInfoQCOM( CopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyCommandTransformInfoQCOM( VkCopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyCommandTransformInfoQCOM & operator=( VkCopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyCommandTransformInfoQCOM & operator=( CopyCommandTransformInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyCommandTransformInfoQCOM ) ); + return *this; + } + + CopyCommandTransformInfoQCOM & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyCommandTransformInfoQCOM & setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT + { + transform = transform_; + return *this; + } + + + operator VkCopyCommandTransformInfoQCOM const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyCommandTransformInfoQCOM &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyCommandTransformInfoQCOM const& ) const = default; +#else + bool operator==( CopyCommandTransformInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( transform == rhs.transform ); + } + + bool operator!=( CopyCommandTransformInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyCommandTransformInfoQCOM; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + + }; + static_assert( sizeof( CopyCommandTransformInfoQCOM ) == sizeof( VkCopyCommandTransformInfoQCOM ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyCommandTransformInfoQCOM; + }; + + class DescriptorSet + { + public: + using CType = VkDescriptorSet; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorSet; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorSet; + + public: + VULKAN_HPP_CONSTEXPR DescriptorSet() VULKAN_HPP_NOEXCEPT + : m_descriptorSet(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSet( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_descriptorSet(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSet( VkDescriptorSet descriptorSet ) VULKAN_HPP_NOEXCEPT + : m_descriptorSet( descriptorSet ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DescriptorSet & operator=(VkDescriptorSet descriptorSet) VULKAN_HPP_NOEXCEPT + { + m_descriptorSet = descriptorSet; + return *this; + } +#endif + + DescriptorSet & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_descriptorSet = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSet const& ) const = default; +#else + bool operator==( DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet == rhs.m_descriptorSet; + } + + bool operator!=(DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet != rhs.m_descriptorSet; + } + + bool operator<(DescriptorSet const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet < rhs.m_descriptorSet; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSet() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSet == VK_NULL_HANDLE; + } + + private: + VkDescriptorSet m_descriptorSet; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorSet ) == sizeof( VkDescriptorSet ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DescriptorSet; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorSet; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorSet; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct CopyDescriptorSet + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyDescriptorSet; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyDescriptorSet(VULKAN_HPP_NAMESPACE::DescriptorSet srcSet_ = {}, uint32_t srcBinding_ = {}, uint32_t srcArrayElement_ = {}, VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ = {}, uint32_t dstBinding_ = {}, uint32_t dstArrayElement_ = {}, uint32_t descriptorCount_ = {}) VULKAN_HPP_NOEXCEPT + : srcSet( srcSet_ ), srcBinding( srcBinding_ ), srcArrayElement( srcArrayElement_ ), dstSet( dstSet_ ), dstBinding( dstBinding_ ), dstArrayElement( dstArrayElement_ ), descriptorCount( descriptorCount_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyDescriptorSet( CopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyDescriptorSet( VkCopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyDescriptorSet & operator=( VkCopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyDescriptorSet & operator=( CopyDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyDescriptorSet ) ); + return *this; + } + + CopyDescriptorSet & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyDescriptorSet & setSrcSet( VULKAN_HPP_NAMESPACE::DescriptorSet srcSet_ ) VULKAN_HPP_NOEXCEPT + { + srcSet = srcSet_; + return *this; + } + + CopyDescriptorSet & setSrcBinding( uint32_t srcBinding_ ) VULKAN_HPP_NOEXCEPT + { + srcBinding = srcBinding_; + return *this; + } + + CopyDescriptorSet & setSrcArrayElement( uint32_t srcArrayElement_ ) VULKAN_HPP_NOEXCEPT + { + srcArrayElement = srcArrayElement_; + return *this; + } + + CopyDescriptorSet & setDstSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ ) VULKAN_HPP_NOEXCEPT + { + dstSet = dstSet_; + return *this; + } + + CopyDescriptorSet & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT + { + dstBinding = dstBinding_; + return *this; + } + + CopyDescriptorSet & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT + { + dstArrayElement = dstArrayElement_; + return *this; + } + + CopyDescriptorSet & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = descriptorCount_; + return *this; + } + + + operator VkCopyDescriptorSet const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyDescriptorSet &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyDescriptorSet const& ) const = default; +#else + bool operator==( CopyDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcSet == rhs.srcSet ) + && ( srcBinding == rhs.srcBinding ) + && ( srcArrayElement == rhs.srcArrayElement ) + && ( dstSet == rhs.dstSet ) + && ( dstBinding == rhs.dstBinding ) + && ( dstArrayElement == rhs.dstArrayElement ) + && ( descriptorCount == rhs.descriptorCount ); + } + + bool operator!=( CopyDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyDescriptorSet; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorSet srcSet = {}; + uint32_t srcBinding = {}; + uint32_t srcArrayElement = {}; + VULKAN_HPP_NAMESPACE::DescriptorSet dstSet = {}; + uint32_t dstBinding = {}; + uint32_t dstArrayElement = {}; + uint32_t descriptorCount = {}; + + }; + static_assert( sizeof( CopyDescriptorSet ) == sizeof( VkCopyDescriptorSet ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyDescriptorSet; + }; + + struct ImageCopy2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageCopy2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageCopy2KHR(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffset( srcOffset_ ), dstSubresource( dstSubresource_ ), dstOffset( dstOffset_ ), extent( extent_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageCopy2KHR( ImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageCopy2KHR( VkImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageCopy2KHR & operator=( VkImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageCopy2KHR & operator=( ImageCopy2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageCopy2KHR ) ); + return *this; + } + + ImageCopy2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageCopy2KHR & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageCopy2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + ImageCopy2KHR & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageCopy2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + ImageCopy2KHR & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + + operator VkImageCopy2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageCopy2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageCopy2KHR const& ) const = default; +#else + bool operator==( ImageCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcSubresource == rhs.srcSubresource ) + && ( srcOffset == rhs.srcOffset ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffset == rhs.dstOffset ) + && ( extent == rhs.extent ); + } + + bool operator!=( ImageCopy2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageCopy2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + + }; + static_assert( sizeof( ImageCopy2KHR ) == sizeof( VkImageCopy2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageCopy2KHR; + }; + + struct CopyImageInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyImageInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyImageInfo2KHR(VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::ImageCopy2KHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( regionCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyImageInfo2KHR( CopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyImageInfo2KHR( VkCopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyImageInfo2KHR( VULKAN_HPP_NAMESPACE::Image srcImage_, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, VULKAN_HPP_NAMESPACE::Image dstImage_, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyImageInfo2KHR & operator=( VkCopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyImageInfo2KHR & operator=( CopyImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyImageInfo2KHR ) ); + return *this; + } + + CopyImageInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT + { + srcImage = srcImage_; + return *this; + } + + CopyImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + srcImageLayout = srcImageLayout_; + return *this; + } + + CopyImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT + { + dstImage = dstImage_; + return *this; + } + + CopyImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + dstImageLayout = dstImageLayout_; + return *this; + } + + CopyImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + CopyImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageCopy2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyImageInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkCopyImageInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyImageInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyImageInfo2KHR const& ) const = default; +#else + bool operator==( CopyImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcImage == rhs.srcImage ) + && ( srcImageLayout == rhs.srcImageLayout ) + && ( dstImage == rhs.dstImage ) + && ( dstImageLayout == rhs.dstImageLayout ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( CopyImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyImageInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image srcImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::Image dstImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::ImageCopy2KHR* pRegions = {}; + + }; + static_assert( sizeof( CopyImageInfo2KHR ) == sizeof( VkCopyImageInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyImageInfo2KHR; + }; + + struct CopyImageToBufferInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyImageToBufferInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CopyImageToBufferInfo2KHR(VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ = {}, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstBuffer( dstBuffer_ ), regionCount( regionCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR CopyImageToBufferInfo2KHR( CopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyImageToBufferInfo2KHR( VkCopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyImageToBufferInfo2KHR( VULKAN_HPP_NAMESPACE::Image srcImage_, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, VULKAN_HPP_NAMESPACE::Buffer dstBuffer_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstBuffer( dstBuffer_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyImageToBufferInfo2KHR & operator=( VkCopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyImageToBufferInfo2KHR & operator=( CopyImageToBufferInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyImageToBufferInfo2KHR ) ); + return *this; + } + + CopyImageToBufferInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyImageToBufferInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT + { + srcImage = srcImage_; + return *this; + } + + CopyImageToBufferInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + srcImageLayout = srcImageLayout_; + return *this; + } + + CopyImageToBufferInfo2KHR & setDstBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer_ ) VULKAN_HPP_NOEXCEPT + { + dstBuffer = dstBuffer_; + return *this; + } + + CopyImageToBufferInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + CopyImageToBufferInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + CopyImageToBufferInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkCopyImageToBufferInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyImageToBufferInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CopyImageToBufferInfo2KHR const& ) const = default; +#else + bool operator==( CopyImageToBufferInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcImage == rhs.srcImage ) + && ( srcImageLayout == rhs.srcImageLayout ) + && ( dstBuffer == rhs.dstBuffer ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( CopyImageToBufferInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyImageToBufferInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image srcImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::Buffer dstBuffer = {}; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::BufferImageCopy2KHR* pRegions = {}; + + }; + static_assert( sizeof( CopyImageToBufferInfo2KHR ) == sizeof( VkCopyImageToBufferInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyImageToBufferInfo2KHR; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct CopyMemoryToAccelerationStructureInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCopyMemoryToAccelerationStructureInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + CopyMemoryToAccelerationStructureInfoKHR(VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR src_ = {}, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ = {}, VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone) VULKAN_HPP_NOEXCEPT + : src( src_ ), dst( dst_ ), mode( mode_ ) + {} + + CopyMemoryToAccelerationStructureInfoKHR( CopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CopyMemoryToAccelerationStructureInfoKHR( VkCopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + CopyMemoryToAccelerationStructureInfoKHR & operator=( VkCopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + CopyMemoryToAccelerationStructureInfoKHR & operator=( CopyMemoryToAccelerationStructureInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( CopyMemoryToAccelerationStructureInfoKHR ) ); + return *this; + } + + CopyMemoryToAccelerationStructureInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + CopyMemoryToAccelerationStructureInfoKHR & setSrc( VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR const & src_ ) VULKAN_HPP_NOEXCEPT + { + src = src_; + return *this; + } + + CopyMemoryToAccelerationStructureInfoKHR & setDst( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst_ ) VULKAN_HPP_NOEXCEPT + { + dst = dst_; + return *this; + } + + CopyMemoryToAccelerationStructureInfoKHR & setMode( VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode_ ) VULKAN_HPP_NOEXCEPT + { + mode = mode_; + return *this; + } + + + operator VkCopyMemoryToAccelerationStructureInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCopyMemoryToAccelerationStructureInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCopyMemoryToAccelerationStructureInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR src = {}; + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst = {}; + VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode = VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR::eClone; + + }; + static_assert( sizeof( CopyMemoryToAccelerationStructureInfoKHR ) == sizeof( VkCopyMemoryToAccelerationStructureInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = CopyMemoryToAccelerationStructureInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct D3D12FenceSubmitInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eD3D12FenceSubmitInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR D3D12FenceSubmitInfoKHR(uint32_t waitSemaphoreValuesCount_ = {}, const uint64_t* pWaitSemaphoreValues_ = {}, uint32_t signalSemaphoreValuesCount_ = {}, const uint64_t* pSignalSemaphoreValues_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreValuesCount( waitSemaphoreValuesCount_ ), pWaitSemaphoreValues( pWaitSemaphoreValues_ ), signalSemaphoreValuesCount( signalSemaphoreValuesCount_ ), pSignalSemaphoreValues( pSignalSemaphoreValues_ ) + {} + + VULKAN_HPP_CONSTEXPR D3D12FenceSubmitInfoKHR( D3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + D3D12FenceSubmitInfoKHR( VkD3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + D3D12FenceSubmitInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ = {} ) + : waitSemaphoreValuesCount( static_cast( waitSemaphoreValues_.size() ) ), pWaitSemaphoreValues( waitSemaphoreValues_.data() ), signalSemaphoreValuesCount( static_cast( signalSemaphoreValues_.size() ) ), pSignalSemaphoreValues( signalSemaphoreValues_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + D3D12FenceSubmitInfoKHR & operator=( VkD3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + D3D12FenceSubmitInfoKHR & operator=( D3D12FenceSubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( D3D12FenceSubmitInfoKHR ) ); + return *this; + } + + D3D12FenceSubmitInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + D3D12FenceSubmitInfoKHR & setWaitSemaphoreValuesCount( uint32_t waitSemaphoreValuesCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreValuesCount = waitSemaphoreValuesCount_; + return *this; + } + + D3D12FenceSubmitInfoKHR & setPWaitSemaphoreValues( const uint64_t* pWaitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphoreValues = pWaitSemaphoreValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + D3D12FenceSubmitInfoKHR & setWaitSemaphoreValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreValuesCount = static_cast( waitSemaphoreValues_.size() ); + pWaitSemaphoreValues = waitSemaphoreValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + D3D12FenceSubmitInfoKHR & setSignalSemaphoreValuesCount( uint32_t signalSemaphoreValuesCount_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreValuesCount = signalSemaphoreValuesCount_; + return *this; + } + + D3D12FenceSubmitInfoKHR & setPSignalSemaphoreValues( const uint64_t* pSignalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + pSignalSemaphoreValues = pSignalSemaphoreValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + D3D12FenceSubmitInfoKHR & setSignalSemaphoreValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreValuesCount = static_cast( signalSemaphoreValues_.size() ); + pSignalSemaphoreValues = signalSemaphoreValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkD3D12FenceSubmitInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkD3D12FenceSubmitInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( D3D12FenceSubmitInfoKHR const& ) const = default; +#else + bool operator==( D3D12FenceSubmitInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreValuesCount == rhs.waitSemaphoreValuesCount ) + && ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues ) + && ( signalSemaphoreValuesCount == rhs.signalSemaphoreValuesCount ) + && ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues ); + } + + bool operator!=( D3D12FenceSubmitInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eD3D12FenceSubmitInfoKHR; + const void* pNext = {}; + uint32_t waitSemaphoreValuesCount = {}; + const uint64_t* pWaitSemaphoreValues = {}; + uint32_t signalSemaphoreValuesCount = {}; + const uint64_t* pSignalSemaphoreValues = {}; + + }; + static_assert( sizeof( D3D12FenceSubmitInfoKHR ) == sizeof( VkD3D12FenceSubmitInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = D3D12FenceSubmitInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct DebugMarkerMarkerInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerMarkerInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 DebugMarkerMarkerInfoEXT(const char* pMarkerName_ = {}, std::array const& color_ = {}) VULKAN_HPP_NOEXCEPT + : pMarkerName( pMarkerName_ ), color( color_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 DebugMarkerMarkerInfoEXT( DebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugMarkerMarkerInfoEXT( VkDebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugMarkerMarkerInfoEXT & operator=( VkDebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugMarkerMarkerInfoEXT & operator=( DebugMarkerMarkerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugMarkerMarkerInfoEXT ) ); + return *this; + } + + DebugMarkerMarkerInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugMarkerMarkerInfoEXT & setPMarkerName( const char* pMarkerName_ ) VULKAN_HPP_NOEXCEPT + { + pMarkerName = pMarkerName_; + return *this; + } + + DebugMarkerMarkerInfoEXT & setColor( std::array color_ ) VULKAN_HPP_NOEXCEPT + { + color = color_; + return *this; + } + + + operator VkDebugMarkerMarkerInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugMarkerMarkerInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugMarkerMarkerInfoEXT const& ) const = default; +#else + bool operator==( DebugMarkerMarkerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pMarkerName == rhs.pMarkerName ) + && ( color == rhs.color ); + } + + bool operator!=( DebugMarkerMarkerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerMarkerInfoEXT; + const void* pNext = {}; + const char* pMarkerName = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D color = {}; + + }; + static_assert( sizeof( DebugMarkerMarkerInfoEXT ) == sizeof( VkDebugMarkerMarkerInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugMarkerMarkerInfoEXT; + }; + + struct DebugMarkerObjectNameInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerObjectNameInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugMarkerObjectNameInfoEXT(VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = {}, const char* pObjectName_ = {}) VULKAN_HPP_NOEXCEPT + : objectType( objectType_ ), object( object_ ), pObjectName( pObjectName_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugMarkerObjectNameInfoEXT( DebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugMarkerObjectNameInfoEXT( VkDebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugMarkerObjectNameInfoEXT & operator=( VkDebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugMarkerObjectNameInfoEXT & operator=( DebugMarkerObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugMarkerObjectNameInfoEXT ) ); + return *this; + } + + DebugMarkerObjectNameInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugMarkerObjectNameInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ ) VULKAN_HPP_NOEXCEPT + { + objectType = objectType_; + return *this; + } + + DebugMarkerObjectNameInfoEXT & setObject( uint64_t object_ ) VULKAN_HPP_NOEXCEPT + { + object = object_; + return *this; + } + + DebugMarkerObjectNameInfoEXT & setPObjectName( const char* pObjectName_ ) VULKAN_HPP_NOEXCEPT + { + pObjectName = pObjectName_; + return *this; + } + + + operator VkDebugMarkerObjectNameInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugMarkerObjectNameInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugMarkerObjectNameInfoEXT const& ) const = default; +#else + bool operator==( DebugMarkerObjectNameInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( objectType == rhs.objectType ) + && ( object == rhs.object ) + && ( pObjectName == rhs.pObjectName ); + } + + bool operator!=( DebugMarkerObjectNameInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerObjectNameInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + uint64_t object = {}; + const char* pObjectName = {}; + + }; + static_assert( sizeof( DebugMarkerObjectNameInfoEXT ) == sizeof( VkDebugMarkerObjectNameInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugMarkerObjectNameInfoEXT; + }; + + struct DebugMarkerObjectTagInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugMarkerObjectTagInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugMarkerObjectTagInfoEXT(VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = {}, uint64_t tagName_ = {}, size_t tagSize_ = {}, const void* pTag_ = {}) VULKAN_HPP_NOEXCEPT + : objectType( objectType_ ), object( object_ ), tagName( tagName_ ), tagSize( tagSize_ ), pTag( pTag_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugMarkerObjectTagInfoEXT( DebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugMarkerObjectTagInfoEXT( VkDebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + DebugMarkerObjectTagInfoEXT( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_, uint64_t object_, uint64_t tagName_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) + : objectType( objectType_ ), object( object_ ), tagName( tagName_ ), tagSize( tag_.size() * sizeof(T) ), pTag( tag_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugMarkerObjectTagInfoEXT & operator=( VkDebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugMarkerObjectTagInfoEXT & operator=( DebugMarkerObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugMarkerObjectTagInfoEXT ) ); + return *this; + } + + DebugMarkerObjectTagInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugMarkerObjectTagInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType_ ) VULKAN_HPP_NOEXCEPT + { + objectType = objectType_; + return *this; + } + + DebugMarkerObjectTagInfoEXT & setObject( uint64_t object_ ) VULKAN_HPP_NOEXCEPT + { + object = object_; + return *this; + } + + DebugMarkerObjectTagInfoEXT & setTagName( uint64_t tagName_ ) VULKAN_HPP_NOEXCEPT + { + tagName = tagName_; + return *this; + } + + DebugMarkerObjectTagInfoEXT & setTagSize( size_t tagSize_ ) VULKAN_HPP_NOEXCEPT + { + tagSize = tagSize_; + return *this; + } + + DebugMarkerObjectTagInfoEXT & setPTag( const void* pTag_ ) VULKAN_HPP_NOEXCEPT + { + pTag = pTag_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + DebugMarkerObjectTagInfoEXT & setTag( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) VULKAN_HPP_NOEXCEPT + { + tagSize = tag_.size() * sizeof(T); + pTag = tag_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDebugMarkerObjectTagInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugMarkerObjectTagInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugMarkerObjectTagInfoEXT const& ) const = default; +#else + bool operator==( DebugMarkerObjectTagInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( objectType == rhs.objectType ) + && ( object == rhs.object ) + && ( tagName == rhs.tagName ) + && ( tagSize == rhs.tagSize ) + && ( pTag == rhs.pTag ); + } + + bool operator!=( DebugMarkerObjectTagInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugMarkerObjectTagInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + uint64_t object = {}; + uint64_t tagName = {}; + size_t tagSize = {}; + const void* pTag = {}; + + }; + static_assert( sizeof( DebugMarkerObjectTagInfoEXT ) == sizeof( VkDebugMarkerObjectTagInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugMarkerObjectTagInfoEXT; + }; + + struct DebugReportCallbackCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugReportCallbackCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugReportCallbackCreateInfoEXT(VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags_ = {}, PFN_vkDebugReportCallbackEXT pfnCallback_ = {}, void* pUserData_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pfnCallback( pfnCallback_ ), pUserData( pUserData_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugReportCallbackCreateInfoEXT( DebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugReportCallbackCreateInfoEXT( VkDebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugReportCallbackCreateInfoEXT & operator=( VkDebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugReportCallbackCreateInfoEXT & operator=( DebugReportCallbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugReportCallbackCreateInfoEXT ) ); + return *this; + } + + DebugReportCallbackCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugReportCallbackCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DebugReportCallbackCreateInfoEXT & setPfnCallback( PFN_vkDebugReportCallbackEXT pfnCallback_ ) VULKAN_HPP_NOEXCEPT + { + pfnCallback = pfnCallback_; + return *this; + } + + DebugReportCallbackCreateInfoEXT & setPUserData( void* pUserData_ ) VULKAN_HPP_NOEXCEPT + { + pUserData = pUserData_; + return *this; + } + + + operator VkDebugReportCallbackCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugReportCallbackCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugReportCallbackCreateInfoEXT const& ) const = default; +#else + bool operator==( DebugReportCallbackCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pfnCallback == rhs.pfnCallback ) + && ( pUserData == rhs.pUserData ); + } + + bool operator!=( DebugReportCallbackCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugReportCallbackCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags = {}; + PFN_vkDebugReportCallbackEXT pfnCallback = {}; + void* pUserData = {}; + + }; + static_assert( sizeof( DebugReportCallbackCreateInfoEXT ) == sizeof( VkDebugReportCallbackCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugReportCallbackCreateInfoEXT; + }; + + struct DebugUtilsLabelEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsLabelEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT(const char* pLabelName_ = {}, std::array const& color_ = {}) VULKAN_HPP_NOEXCEPT + : pLabelName( pLabelName_ ), color( color_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT( DebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugUtilsLabelEXT( VkDebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugUtilsLabelEXT & operator=( VkDebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugUtilsLabelEXT & operator=( DebugUtilsLabelEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugUtilsLabelEXT ) ); + return *this; + } + + DebugUtilsLabelEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugUtilsLabelEXT & setPLabelName( const char* pLabelName_ ) VULKAN_HPP_NOEXCEPT + { + pLabelName = pLabelName_; + return *this; + } + + DebugUtilsLabelEXT & setColor( std::array color_ ) VULKAN_HPP_NOEXCEPT + { + color = color_; + return *this; + } + + + operator VkDebugUtilsLabelEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugUtilsLabelEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsLabelEXT const& ) const = default; +#else + bool operator==( DebugUtilsLabelEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pLabelName == rhs.pLabelName ) + && ( color == rhs.color ); + } + + bool operator!=( DebugUtilsLabelEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsLabelEXT; + const void* pNext = {}; + const char* pLabelName = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D color = {}; + + }; + static_assert( sizeof( DebugUtilsLabelEXT ) == sizeof( VkDebugUtilsLabelEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugUtilsLabelEXT; + }; + + struct DebugUtilsObjectNameInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsObjectNameInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugUtilsObjectNameInfoEXT(VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, uint64_t objectHandle_ = {}, const char* pObjectName_ = {}) VULKAN_HPP_NOEXCEPT + : objectType( objectType_ ), objectHandle( objectHandle_ ), pObjectName( pObjectName_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugUtilsObjectNameInfoEXT( DebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugUtilsObjectNameInfoEXT( VkDebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugUtilsObjectNameInfoEXT & operator=( VkDebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugUtilsObjectNameInfoEXT & operator=( DebugUtilsObjectNameInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugUtilsObjectNameInfoEXT ) ); + return *this; + } + + DebugUtilsObjectNameInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugUtilsObjectNameInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::ObjectType objectType_ ) VULKAN_HPP_NOEXCEPT + { + objectType = objectType_; + return *this; + } + + DebugUtilsObjectNameInfoEXT & setObjectHandle( uint64_t objectHandle_ ) VULKAN_HPP_NOEXCEPT + { + objectHandle = objectHandle_; + return *this; + } + + DebugUtilsObjectNameInfoEXT & setPObjectName( const char* pObjectName_ ) VULKAN_HPP_NOEXCEPT + { + pObjectName = pObjectName_; + return *this; + } + + + operator VkDebugUtilsObjectNameInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugUtilsObjectNameInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsObjectNameInfoEXT const& ) const = default; +#else + bool operator==( DebugUtilsObjectNameInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( objectType == rhs.objectType ) + && ( objectHandle == rhs.objectHandle ) + && ( pObjectName == rhs.pObjectName ); + } + + bool operator!=( DebugUtilsObjectNameInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsObjectNameInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; + uint64_t objectHandle = {}; + const char* pObjectName = {}; + + }; + static_assert( sizeof( DebugUtilsObjectNameInfoEXT ) == sizeof( VkDebugUtilsObjectNameInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugUtilsObjectNameInfoEXT; + }; + + struct DebugUtilsMessengerCallbackDataEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsMessengerCallbackDataEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCallbackDataEXT(VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_ = {}, const char* pMessageIdName_ = {}, int32_t messageIdNumber_ = {}, const char* pMessage_ = {}, uint32_t queueLabelCount_ = {}, const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pQueueLabels_ = {}, uint32_t cmdBufLabelCount_ = {}, const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pCmdBufLabels_ = {}, uint32_t objectCount_ = {}, const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT* pObjects_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pMessageIdName( pMessageIdName_ ), messageIdNumber( messageIdNumber_ ), pMessage( pMessage_ ), queueLabelCount( queueLabelCount_ ), pQueueLabels( pQueueLabels_ ), cmdBufLabelCount( cmdBufLabelCount_ ), pCmdBufLabels( pCmdBufLabels_ ), objectCount( objectCount_ ), pObjects( pObjects_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 DebugUtilsMessengerCallbackDataEXT( DebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugUtilsMessengerCallbackDataEXT( VkDebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DebugUtilsMessengerCallbackDataEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_, const char* pMessageIdName_, int32_t messageIdNumber_, const char* pMessage_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueLabels_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & cmdBufLabels_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & objects_ = {} ) + : flags( flags_ ), pMessageIdName( pMessageIdName_ ), messageIdNumber( messageIdNumber_ ), pMessage( pMessage_ ), queueLabelCount( static_cast( queueLabels_.size() ) ), pQueueLabels( queueLabels_.data() ), cmdBufLabelCount( static_cast( cmdBufLabels_.size() ) ), pCmdBufLabels( cmdBufLabels_.data() ), objectCount( static_cast( objects_.size() ) ), pObjects( objects_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugUtilsMessengerCallbackDataEXT & operator=( VkDebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & operator=( DebugUtilsMessengerCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugUtilsMessengerCallbackDataEXT ) ); + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setFlags( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPMessageIdName( const char* pMessageIdName_ ) VULKAN_HPP_NOEXCEPT + { + pMessageIdName = pMessageIdName_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setMessageIdNumber( int32_t messageIdNumber_ ) VULKAN_HPP_NOEXCEPT + { + messageIdNumber = messageIdNumber_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPMessage( const char* pMessage_ ) VULKAN_HPP_NOEXCEPT + { + pMessage = pMessage_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setQueueLabelCount( uint32_t queueLabelCount_ ) VULKAN_HPP_NOEXCEPT + { + queueLabelCount = queueLabelCount_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPQueueLabels( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pQueueLabels_ ) VULKAN_HPP_NOEXCEPT + { + pQueueLabels = pQueueLabels_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DebugUtilsMessengerCallbackDataEXT & setQueueLabels( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueLabels_ ) VULKAN_HPP_NOEXCEPT + { + queueLabelCount = static_cast( queueLabels_.size() ); + pQueueLabels = queueLabels_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DebugUtilsMessengerCallbackDataEXT & setCmdBufLabelCount( uint32_t cmdBufLabelCount_ ) VULKAN_HPP_NOEXCEPT + { + cmdBufLabelCount = cmdBufLabelCount_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPCmdBufLabels( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pCmdBufLabels_ ) VULKAN_HPP_NOEXCEPT + { + pCmdBufLabels = pCmdBufLabels_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DebugUtilsMessengerCallbackDataEXT & setCmdBufLabels( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & cmdBufLabels_ ) VULKAN_HPP_NOEXCEPT + { + cmdBufLabelCount = static_cast( cmdBufLabels_.size() ); + pCmdBufLabels = cmdBufLabels_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DebugUtilsMessengerCallbackDataEXT & setObjectCount( uint32_t objectCount_ ) VULKAN_HPP_NOEXCEPT + { + objectCount = objectCount_; + return *this; + } + + DebugUtilsMessengerCallbackDataEXT & setPObjects( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT* pObjects_ ) VULKAN_HPP_NOEXCEPT + { + pObjects = pObjects_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DebugUtilsMessengerCallbackDataEXT & setObjects( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & objects_ ) VULKAN_HPP_NOEXCEPT + { + objectCount = static_cast( objects_.size() ); + pObjects = objects_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDebugUtilsMessengerCallbackDataEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugUtilsMessengerCallbackDataEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsMessengerCallbackDataEXT const& ) const = default; +#else + bool operator==( DebugUtilsMessengerCallbackDataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pMessageIdName == rhs.pMessageIdName ) + && ( messageIdNumber == rhs.messageIdNumber ) + && ( pMessage == rhs.pMessage ) + && ( queueLabelCount == rhs.queueLabelCount ) + && ( pQueueLabels == rhs.pQueueLabels ) + && ( cmdBufLabelCount == rhs.cmdBufLabelCount ) + && ( pCmdBufLabels == rhs.pCmdBufLabels ) + && ( objectCount == rhs.objectCount ) + && ( pObjects == rhs.pObjects ); + } + + bool operator!=( DebugUtilsMessengerCallbackDataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsMessengerCallbackDataEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataFlagsEXT flags = {}; + const char* pMessageIdName = {}; + int32_t messageIdNumber = {}; + const char* pMessage = {}; + uint32_t queueLabelCount = {}; + const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pQueueLabels = {}; + uint32_t cmdBufLabelCount = {}; + const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pCmdBufLabels = {}; + uint32_t objectCount = {}; + const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT* pObjects = {}; + + }; + static_assert( sizeof( DebugUtilsMessengerCallbackDataEXT ) == sizeof( VkDebugUtilsMessengerCallbackDataEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugUtilsMessengerCallbackDataEXT; + }; + + struct DebugUtilsMessengerCreateInfoEXT + { + static const bool allowDuplicate = true; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsMessengerCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugUtilsMessengerCreateInfoEXT(VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags_ = {}, VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity_ = {}, VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType_ = {}, PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ = {}, void* pUserData_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), messageSeverity( messageSeverity_ ), messageType( messageType_ ), pfnUserCallback( pfnUserCallback_ ), pUserData( pUserData_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugUtilsMessengerCreateInfoEXT( DebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugUtilsMessengerCreateInfoEXT( VkDebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugUtilsMessengerCreateInfoEXT & operator=( VkDebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & operator=( DebugUtilsMessengerCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugUtilsMessengerCreateInfoEXT ) ); + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setMessageSeverity( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity_ ) VULKAN_HPP_NOEXCEPT + { + messageSeverity = messageSeverity_; + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setMessageType( VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType_ ) VULKAN_HPP_NOEXCEPT + { + messageType = messageType_; + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setPfnUserCallback( PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ ) VULKAN_HPP_NOEXCEPT + { + pfnUserCallback = pfnUserCallback_; + return *this; + } + + DebugUtilsMessengerCreateInfoEXT & setPUserData( void* pUserData_ ) VULKAN_HPP_NOEXCEPT + { + pUserData = pUserData_; + return *this; + } + + + operator VkDebugUtilsMessengerCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugUtilsMessengerCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsMessengerCreateInfoEXT const& ) const = default; +#else + bool operator==( DebugUtilsMessengerCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( messageSeverity == rhs.messageSeverity ) + && ( messageType == rhs.messageType ) + && ( pfnUserCallback == rhs.pfnUserCallback ) + && ( pUserData == rhs.pUserData ); + } + + bool operator!=( DebugUtilsMessengerCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsMessengerCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateFlagsEXT flags = {}; + VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagsEXT messageSeverity = {}; + VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageType = {}; + PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback = {}; + void* pUserData = {}; + + }; + static_assert( sizeof( DebugUtilsMessengerCreateInfoEXT ) == sizeof( VkDebugUtilsMessengerCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugUtilsMessengerCreateInfoEXT; + }; + + struct DebugUtilsObjectTagInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsObjectTagInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DebugUtilsObjectTagInfoEXT(VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, uint64_t objectHandle_ = {}, uint64_t tagName_ = {}, size_t tagSize_ = {}, const void* pTag_ = {}) VULKAN_HPP_NOEXCEPT + : objectType( objectType_ ), objectHandle( objectHandle_ ), tagName( tagName_ ), tagSize( tagSize_ ), pTag( pTag_ ) + {} + + VULKAN_HPP_CONSTEXPR DebugUtilsObjectTagInfoEXT( DebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DebugUtilsObjectTagInfoEXT( VkDebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + DebugUtilsObjectTagInfoEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType_, uint64_t objectHandle_, uint64_t tagName_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) + : objectType( objectType_ ), objectHandle( objectHandle_ ), tagName( tagName_ ), tagSize( tag_.size() * sizeof(T) ), pTag( tag_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DebugUtilsObjectTagInfoEXT & operator=( VkDebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DebugUtilsObjectTagInfoEXT & operator=( DebugUtilsObjectTagInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DebugUtilsObjectTagInfoEXT ) ); + return *this; + } + + DebugUtilsObjectTagInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DebugUtilsObjectTagInfoEXT & setObjectType( VULKAN_HPP_NAMESPACE::ObjectType objectType_ ) VULKAN_HPP_NOEXCEPT + { + objectType = objectType_; + return *this; + } + + DebugUtilsObjectTagInfoEXT & setObjectHandle( uint64_t objectHandle_ ) VULKAN_HPP_NOEXCEPT + { + objectHandle = objectHandle_; + return *this; + } + + DebugUtilsObjectTagInfoEXT & setTagName( uint64_t tagName_ ) VULKAN_HPP_NOEXCEPT + { + tagName = tagName_; + return *this; + } + + DebugUtilsObjectTagInfoEXT & setTagSize( size_t tagSize_ ) VULKAN_HPP_NOEXCEPT + { + tagSize = tagSize_; + return *this; + } + + DebugUtilsObjectTagInfoEXT & setPTag( const void* pTag_ ) VULKAN_HPP_NOEXCEPT + { + pTag = pTag_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + DebugUtilsObjectTagInfoEXT & setTag( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tag_ ) VULKAN_HPP_NOEXCEPT + { + tagSize = tag_.size() * sizeof(T); + pTag = tag_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDebugUtilsObjectTagInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDebugUtilsObjectTagInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsObjectTagInfoEXT const& ) const = default; +#else + bool operator==( DebugUtilsObjectTagInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( objectType == rhs.objectType ) + && ( objectHandle == rhs.objectHandle ) + && ( tagName == rhs.tagName ) + && ( tagSize == rhs.tagSize ) + && ( pTag == rhs.pTag ); + } + + bool operator!=( DebugUtilsObjectTagInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsObjectTagInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; + uint64_t objectHandle = {}; + uint64_t tagName = {}; + size_t tagSize = {}; + const void* pTag = {}; + + }; + static_assert( sizeof( DebugUtilsObjectTagInfoEXT ) == sizeof( VkDebugUtilsObjectTagInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DebugUtilsObjectTagInfoEXT; + }; + + struct DedicatedAllocationBufferCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDedicatedAllocationBufferCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ = {}) VULKAN_HPP_NOEXCEPT + : dedicatedAllocation( dedicatedAllocation_ ) + {} + + VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV( DedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DedicatedAllocationBufferCreateInfoNV( VkDedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DedicatedAllocationBufferCreateInfoNV & operator=( VkDedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DedicatedAllocationBufferCreateInfoNV & operator=( DedicatedAllocationBufferCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) ); + return *this; + } + + DedicatedAllocationBufferCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DedicatedAllocationBufferCreateInfoNV & setDedicatedAllocation( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ ) VULKAN_HPP_NOEXCEPT + { + dedicatedAllocation = dedicatedAllocation_; + return *this; + } + + + operator VkDedicatedAllocationBufferCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDedicatedAllocationBufferCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DedicatedAllocationBufferCreateInfoNV const& ) const = default; +#else + bool operator==( DedicatedAllocationBufferCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( dedicatedAllocation == rhs.dedicatedAllocation ); + } + + bool operator!=( DedicatedAllocationBufferCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation = {}; + + }; + static_assert( sizeof( DedicatedAllocationBufferCreateInfoNV ) == sizeof( VkDedicatedAllocationBufferCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DedicatedAllocationBufferCreateInfoNV; + }; + + struct DedicatedAllocationImageCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDedicatedAllocationImageCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DedicatedAllocationImageCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ = {}) VULKAN_HPP_NOEXCEPT + : dedicatedAllocation( dedicatedAllocation_ ) + {} + + VULKAN_HPP_CONSTEXPR DedicatedAllocationImageCreateInfoNV( DedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DedicatedAllocationImageCreateInfoNV( VkDedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DedicatedAllocationImageCreateInfoNV & operator=( VkDedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DedicatedAllocationImageCreateInfoNV & operator=( DedicatedAllocationImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) ); + return *this; + } + + DedicatedAllocationImageCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DedicatedAllocationImageCreateInfoNV & setDedicatedAllocation( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_ ) VULKAN_HPP_NOEXCEPT + { + dedicatedAllocation = dedicatedAllocation_; + return *this; + } + + + operator VkDedicatedAllocationImageCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDedicatedAllocationImageCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DedicatedAllocationImageCreateInfoNV const& ) const = default; +#else + bool operator==( DedicatedAllocationImageCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( dedicatedAllocation == rhs.dedicatedAllocation ); + } + + bool operator!=( DedicatedAllocationImageCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation = {}; + + }; + static_assert( sizeof( DedicatedAllocationImageCreateInfoNV ) == sizeof( VkDedicatedAllocationImageCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DedicatedAllocationImageCreateInfoNV; + }; + + struct DedicatedAllocationMemoryAllocateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV(VULKAN_HPP_NAMESPACE::Image image_ = {}, VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ), buffer( buffer_ ) + {} + + VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DedicatedAllocationMemoryAllocateInfoNV( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DedicatedAllocationMemoryAllocateInfoNV & operator=( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DedicatedAllocationMemoryAllocateInfoNV & operator=( DedicatedAllocationMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) ); + return *this; + } + + DedicatedAllocationMemoryAllocateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DedicatedAllocationMemoryAllocateInfoNV & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + DedicatedAllocationMemoryAllocateInfoNV & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + + operator VkDedicatedAllocationMemoryAllocateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDedicatedAllocationMemoryAllocateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DedicatedAllocationMemoryAllocateInfoNV const& ) const = default; +#else + bool operator==( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( image == rhs.image ) + && ( buffer == rhs.buffer ); + } + + bool operator!=( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + + }; + static_assert( sizeof( DedicatedAllocationMemoryAllocateInfoNV ) == sizeof( VkDedicatedAllocationMemoryAllocateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DedicatedAllocationMemoryAllocateInfoNV; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + class DeferredOperationKHR + { + public: + using CType = VkDeferredOperationKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDeferredOperationKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + + public: + VULKAN_HPP_CONSTEXPR DeferredOperationKHR() VULKAN_HPP_NOEXCEPT + : m_deferredOperationKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DeferredOperationKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_deferredOperationKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DeferredOperationKHR( VkDeferredOperationKHR deferredOperationKHR ) VULKAN_HPP_NOEXCEPT + : m_deferredOperationKHR( deferredOperationKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DeferredOperationKHR & operator=(VkDeferredOperationKHR deferredOperationKHR) VULKAN_HPP_NOEXCEPT + { + m_deferredOperationKHR = deferredOperationKHR; + return *this; + } +#endif + + DeferredOperationKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_deferredOperationKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeferredOperationKHR const& ) const = default; +#else + bool operator==( DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR == rhs.m_deferredOperationKHR; + } + + bool operator!=(DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR != rhs.m_deferredOperationKHR; + } + + bool operator<(DeferredOperationKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR < rhs.m_deferredOperationKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeferredOperationKHR() const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_deferredOperationKHR == VK_NULL_HANDLE; + } + + private: + VkDeferredOperationKHR m_deferredOperationKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DeferredOperationKHR ) == sizeof( VkDeferredOperationKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR; + }; + + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct DeferredOperationInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeferredOperationInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeferredOperationInfoKHR(VULKAN_HPP_NAMESPACE::DeferredOperationKHR operationHandle_ = {}) VULKAN_HPP_NOEXCEPT + : operationHandle( operationHandle_ ) + {} + + VULKAN_HPP_CONSTEXPR DeferredOperationInfoKHR( DeferredOperationInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeferredOperationInfoKHR( VkDeferredOperationInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeferredOperationInfoKHR & operator=( VkDeferredOperationInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeferredOperationInfoKHR & operator=( DeferredOperationInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeferredOperationInfoKHR ) ); + return *this; + } + + DeferredOperationInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeferredOperationInfoKHR & setOperationHandle( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operationHandle_ ) VULKAN_HPP_NOEXCEPT + { + operationHandle = operationHandle_; + return *this; + } + + + operator VkDeferredOperationInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeferredOperationInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeferredOperationInfoKHR const& ) const = default; +#else + bool operator==( DeferredOperationInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( operationHandle == rhs.operationHandle ); + } + + bool operator!=( DeferredOperationInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeferredOperationInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeferredOperationKHR operationHandle = {}; + + }; + static_assert( sizeof( DeferredOperationInfoKHR ) == sizeof( VkDeferredOperationInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeferredOperationInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct DescriptorBufferInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorBufferInfo(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize range_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), offset( offset_ ), range( range_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorBufferInfo( DescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorBufferInfo( VkDescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorBufferInfo & operator=( VkDescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorBufferInfo & operator=( DescriptorBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorBufferInfo ) ); + return *this; + } + + DescriptorBufferInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + DescriptorBufferInfo & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + DescriptorBufferInfo & setRange( VULKAN_HPP_NAMESPACE::DeviceSize range_ ) VULKAN_HPP_NOEXCEPT + { + range = range_; + return *this; + } + + + operator VkDescriptorBufferInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorBufferInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorBufferInfo const& ) const = default; +#else + bool operator==( DescriptorBufferInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( buffer == rhs.buffer ) + && ( offset == rhs.offset ) + && ( range == rhs.range ); + } + + bool operator!=( DescriptorBufferInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize range = {}; + + }; + static_assert( sizeof( DescriptorBufferInfo ) == sizeof( VkDescriptorBufferInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + class Sampler + { + public: + using CType = VkSampler; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSampler; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSampler; + + public: + VULKAN_HPP_CONSTEXPR Sampler() VULKAN_HPP_NOEXCEPT + : m_sampler(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Sampler( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_sampler(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Sampler( VkSampler sampler ) VULKAN_HPP_NOEXCEPT + : m_sampler( sampler ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Sampler & operator=(VkSampler sampler) VULKAN_HPP_NOEXCEPT + { + m_sampler = sampler; + return *this; + } +#endif + + Sampler & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_sampler = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Sampler const& ) const = default; +#else + bool operator==( Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_sampler == rhs.m_sampler; + } + + bool operator!=(Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_sampler != rhs.m_sampler; + } + + bool operator<(Sampler const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_sampler < rhs.m_sampler; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSampler() const VULKAN_HPP_NOEXCEPT + { + return m_sampler; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_sampler != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_sampler == VK_NULL_HANDLE; + } + + private: + VkSampler m_sampler; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Sampler ) == sizeof( VkSampler ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Sampler; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Sampler; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Sampler; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class ImageView + { + public: + using CType = VkImageView; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eImageView; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eImageView; + + public: + VULKAN_HPP_CONSTEXPR ImageView() VULKAN_HPP_NOEXCEPT + : m_imageView(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR ImageView( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_imageView(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT ImageView( VkImageView imageView ) VULKAN_HPP_NOEXCEPT + : m_imageView( imageView ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + ImageView & operator=(VkImageView imageView) VULKAN_HPP_NOEXCEPT + { + m_imageView = imageView; + return *this; + } +#endif + + ImageView & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_imageView = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageView const& ) const = default; +#else + bool operator==( ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_imageView == rhs.m_imageView; + } + + bool operator!=(ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_imageView != rhs.m_imageView; + } + + bool operator<(ImageView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_imageView < rhs.m_imageView; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImageView() const VULKAN_HPP_NOEXCEPT + { + return m_imageView; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_imageView != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_imageView == VK_NULL_HANDLE; + } + + private: + VkImageView m_imageView; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::ImageView ) == sizeof( VkImageView ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::ImageView; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ImageView; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ImageView; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DescriptorImageInfo + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorImageInfo(VULKAN_HPP_NAMESPACE::Sampler sampler_ = {}, VULKAN_HPP_NAMESPACE::ImageView imageView_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : sampler( sampler_ ), imageView( imageView_ ), imageLayout( imageLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorImageInfo( DescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorImageInfo( VkDescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorImageInfo & operator=( VkDescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorImageInfo & operator=( DescriptorImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorImageInfo ) ); + return *this; + } + + DescriptorImageInfo & setSampler( VULKAN_HPP_NAMESPACE::Sampler sampler_ ) VULKAN_HPP_NOEXCEPT + { + sampler = sampler_; + return *this; + } + + DescriptorImageInfo & setImageView( VULKAN_HPP_NAMESPACE::ImageView imageView_ ) VULKAN_HPP_NOEXCEPT + { + imageView = imageView_; + return *this; + } + + DescriptorImageInfo & setImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout imageLayout_ ) VULKAN_HPP_NOEXCEPT + { + imageLayout = imageLayout_; + return *this; + } + + + operator VkDescriptorImageInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorImageInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorImageInfo const& ) const = default; +#else + bool operator==( DescriptorImageInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sampler == rhs.sampler ) + && ( imageView == rhs.imageView ) + && ( imageLayout == rhs.imageLayout ); + } + + bool operator!=( DescriptorImageInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Sampler sampler = {}; + VULKAN_HPP_NAMESPACE::ImageView imageView = {}; + VULKAN_HPP_NAMESPACE::ImageLayout imageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( DescriptorImageInfo ) == sizeof( VkDescriptorImageInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DescriptorPoolSize + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorPoolSize(VULKAN_HPP_NAMESPACE::DescriptorType type_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, uint32_t descriptorCount_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), descriptorCount( descriptorCount_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorPoolSize( DescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorPoolSize( VkDescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorPoolSize & operator=( VkDescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorPoolSize & operator=( DescriptorPoolSize const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorPoolSize ) ); + return *this; + } + + DescriptorPoolSize & setType( VULKAN_HPP_NAMESPACE::DescriptorType type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + DescriptorPoolSize & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = descriptorCount_; + return *this; + } + + + operator VkDescriptorPoolSize const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorPoolSize &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorPoolSize const& ) const = default; +#else + bool operator==( DescriptorPoolSize const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( type == rhs.type ) + && ( descriptorCount == rhs.descriptorCount ); + } + + bool operator!=( DescriptorPoolSize const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DescriptorType type = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; + uint32_t descriptorCount = {}; + + }; + static_assert( sizeof( DescriptorPoolSize ) == sizeof( VkDescriptorPoolSize ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DescriptorPoolCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorPoolCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorPoolCreateInfo(VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_ = {}, uint32_t maxSets_ = {}, uint32_t poolSizeCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorPoolSize* pPoolSizes_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), maxSets( maxSets_ ), poolSizeCount( poolSizeCount_ ), pPoolSizes( pPoolSizes_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorPoolCreateInfo( DescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorPoolCreateInfo( VkDescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorPoolCreateInfo( VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_, uint32_t maxSets_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & poolSizes_ ) + : flags( flags_ ), maxSets( maxSets_ ), poolSizeCount( static_cast( poolSizes_.size() ) ), pPoolSizes( poolSizes_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorPoolCreateInfo & operator=( VkDescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorPoolCreateInfo & operator=( DescriptorPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorPoolCreateInfo ) ); + return *this; + } + + DescriptorPoolCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DescriptorPoolCreateInfo & setMaxSets( uint32_t maxSets_ ) VULKAN_HPP_NOEXCEPT + { + maxSets = maxSets_; + return *this; + } + + DescriptorPoolCreateInfo & setPoolSizeCount( uint32_t poolSizeCount_ ) VULKAN_HPP_NOEXCEPT + { + poolSizeCount = poolSizeCount_; + return *this; + } + + DescriptorPoolCreateInfo & setPPoolSizes( const VULKAN_HPP_NAMESPACE::DescriptorPoolSize* pPoolSizes_ ) VULKAN_HPP_NOEXCEPT + { + pPoolSizes = pPoolSizes_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorPoolCreateInfo & setPoolSizes( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & poolSizes_ ) VULKAN_HPP_NOEXCEPT + { + poolSizeCount = static_cast( poolSizes_.size() ); + pPoolSizes = poolSizes_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorPoolCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorPoolCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorPoolCreateInfo const& ) const = default; +#else + bool operator==( DescriptorPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( maxSets == rhs.maxSets ) + && ( poolSizeCount == rhs.poolSizeCount ) + && ( pPoolSizes == rhs.pPoolSizes ); + } + + bool operator!=( DescriptorPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorPoolCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorPoolCreateFlags flags = {}; + uint32_t maxSets = {}; + uint32_t poolSizeCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorPoolSize* pPoolSizes = {}; + + }; + static_assert( sizeof( DescriptorPoolCreateInfo ) == sizeof( VkDescriptorPoolCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorPoolCreateInfo; + }; + + struct DescriptorPoolInlineUniformBlockCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorPoolInlineUniformBlockCreateInfoEXT(uint32_t maxInlineUniformBlockBindings_ = {}) VULKAN_HPP_NOEXCEPT + : maxInlineUniformBlockBindings( maxInlineUniformBlockBindings_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorPoolInlineUniformBlockCreateInfoEXT( DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorPoolInlineUniformBlockCreateInfoEXT( VkDescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorPoolInlineUniformBlockCreateInfoEXT & operator=( VkDescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorPoolInlineUniformBlockCreateInfoEXT & operator=( DescriptorPoolInlineUniformBlockCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorPoolInlineUniformBlockCreateInfoEXT ) ); + return *this; + } + + DescriptorPoolInlineUniformBlockCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorPoolInlineUniformBlockCreateInfoEXT & setMaxInlineUniformBlockBindings( uint32_t maxInlineUniformBlockBindings_ ) VULKAN_HPP_NOEXCEPT + { + maxInlineUniformBlockBindings = maxInlineUniformBlockBindings_; + return *this; + } + + + operator VkDescriptorPoolInlineUniformBlockCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorPoolInlineUniformBlockCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorPoolInlineUniformBlockCreateInfoEXT const& ) const = default; +#else + bool operator==( DescriptorPoolInlineUniformBlockCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxInlineUniformBlockBindings == rhs.maxInlineUniformBlockBindings ); + } + + bool operator!=( DescriptorPoolInlineUniformBlockCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorPoolInlineUniformBlockCreateInfoEXT; + const void* pNext = {}; + uint32_t maxInlineUniformBlockBindings = {}; + + }; + static_assert( sizeof( DescriptorPoolInlineUniformBlockCreateInfoEXT ) == sizeof( VkDescriptorPoolInlineUniformBlockCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorPoolInlineUniformBlockCreateInfoEXT; + }; + + class DescriptorPool + { + public: + using CType = VkDescriptorPool; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorPool; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorPool; + + public: + VULKAN_HPP_CONSTEXPR DescriptorPool() VULKAN_HPP_NOEXCEPT + : m_descriptorPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DescriptorPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_descriptorPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorPool( VkDescriptorPool descriptorPool ) VULKAN_HPP_NOEXCEPT + : m_descriptorPool( descriptorPool ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DescriptorPool & operator=(VkDescriptorPool descriptorPool) VULKAN_HPP_NOEXCEPT + { + m_descriptorPool = descriptorPool; + return *this; + } +#endif + + DescriptorPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_descriptorPool = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorPool const& ) const = default; +#else + bool operator==( DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool == rhs.m_descriptorPool; + } + + bool operator!=(DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool != rhs.m_descriptorPool; + } + + bool operator<(DescriptorPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool < rhs.m_descriptorPool; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorPool() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorPool == VK_NULL_HANDLE; + } + + private: + VkDescriptorPool m_descriptorPool; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorPool ) == sizeof( VkDescriptorPool ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DescriptorPool; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorPool; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorPool; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class DescriptorSetLayout + { + public: + using CType = VkDescriptorSetLayout; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorSetLayout; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorSetLayout; + + public: + VULKAN_HPP_CONSTEXPR DescriptorSetLayout() VULKAN_HPP_NOEXCEPT + : m_descriptorSetLayout(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetLayout( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_descriptorSetLayout(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout ) VULKAN_HPP_NOEXCEPT + : m_descriptorSetLayout( descriptorSetLayout ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DescriptorSetLayout & operator=(VkDescriptorSetLayout descriptorSetLayout) VULKAN_HPP_NOEXCEPT + { + m_descriptorSetLayout = descriptorSetLayout; + return *this; + } +#endif + + DescriptorSetLayout & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_descriptorSetLayout = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetLayout const& ) const = default; +#else + bool operator==( DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout == rhs.m_descriptorSetLayout; + } + + bool operator!=(DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout != rhs.m_descriptorSetLayout; + } + + bool operator<(DescriptorSetLayout const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout < rhs.m_descriptorSetLayout; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSetLayout() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorSetLayout == VK_NULL_HANDLE; + } + + private: + VkDescriptorSetLayout m_descriptorSetLayout; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorSetLayout ) == sizeof( VkDescriptorSetLayout ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DescriptorSetAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetAllocateInfo(VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_ = {}, uint32_t descriptorSetCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts_ = {}) VULKAN_HPP_NOEXCEPT + : descriptorPool( descriptorPool_ ), descriptorSetCount( descriptorSetCount_ ), pSetLayouts( pSetLayouts_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetAllocateInfo( DescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetAllocateInfo( VkDescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetAllocateInfo( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & setLayouts_ ) + : descriptorPool( descriptorPool_ ), descriptorSetCount( static_cast( setLayouts_.size() ) ), pSetLayouts( setLayouts_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetAllocateInfo & operator=( VkDescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetAllocateInfo & operator=( DescriptorSetAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetAllocateInfo ) ); + return *this; + } + + DescriptorSetAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorSetAllocateInfo & setDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool_ ) VULKAN_HPP_NOEXCEPT + { + descriptorPool = descriptorPool_; + return *this; + } + + DescriptorSetAllocateInfo & setDescriptorSetCount( uint32_t descriptorSetCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorSetCount = descriptorSetCount_; + return *this; + } + + DescriptorSetAllocateInfo & setPSetLayouts( const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts_ ) VULKAN_HPP_NOEXCEPT + { + pSetLayouts = pSetLayouts_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetAllocateInfo & setSetLayouts( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & setLayouts_ ) VULKAN_HPP_NOEXCEPT + { + descriptorSetCount = static_cast( setLayouts_.size() ); + pSetLayouts = setLayouts_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorSetAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetAllocateInfo const& ) const = default; +#else + bool operator==( DescriptorSetAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( descriptorPool == rhs.descriptorPool ) + && ( descriptorSetCount == rhs.descriptorSetCount ) + && ( pSetLayouts == rhs.pSetLayouts ); + } + + bool operator!=( DescriptorSetAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetAllocateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool = {}; + uint32_t descriptorSetCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts = {}; + + }; + static_assert( sizeof( DescriptorSetAllocateInfo ) == sizeof( VkDescriptorSetAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetAllocateInfo; + }; + + struct DescriptorSetLayoutBinding + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBinding(uint32_t binding_ = {}, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, uint32_t descriptorCount_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ = {}, const VULKAN_HPP_NAMESPACE::Sampler* pImmutableSamplers_ = {}) VULKAN_HPP_NOEXCEPT + : binding( binding_ ), descriptorType( descriptorType_ ), descriptorCount( descriptorCount_ ), stageFlags( stageFlags_ ), pImmutableSamplers( pImmutableSamplers_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBinding( DescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetLayoutBinding( VkDescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutBinding( uint32_t binding_, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & immutableSamplers_ ) + : binding( binding_ ), descriptorType( descriptorType_ ), descriptorCount( static_cast( immutableSamplers_.size() ) ), stageFlags( stageFlags_ ), pImmutableSamplers( immutableSamplers_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetLayoutBinding & operator=( VkDescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetLayoutBinding & operator=( DescriptorSetLayoutBinding const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetLayoutBinding ) ); + return *this; + } + + DescriptorSetLayoutBinding & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT + { + binding = binding_; + return *this; + } + + DescriptorSetLayoutBinding & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT + { + descriptorType = descriptorType_; + return *this; + } + + DescriptorSetLayoutBinding & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = descriptorCount_; + return *this; + } + + DescriptorSetLayoutBinding & setStageFlags( VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ ) VULKAN_HPP_NOEXCEPT + { + stageFlags = stageFlags_; + return *this; + } + + DescriptorSetLayoutBinding & setPImmutableSamplers( const VULKAN_HPP_NAMESPACE::Sampler* pImmutableSamplers_ ) VULKAN_HPP_NOEXCEPT + { + pImmutableSamplers = pImmutableSamplers_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutBinding & setImmutableSamplers( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & immutableSamplers_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = static_cast( immutableSamplers_.size() ); + pImmutableSamplers = immutableSamplers_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorSetLayoutBinding const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetLayoutBinding &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetLayoutBinding const& ) const = default; +#else + bool operator==( DescriptorSetLayoutBinding const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( binding == rhs.binding ) + && ( descriptorType == rhs.descriptorType ) + && ( descriptorCount == rhs.descriptorCount ) + && ( stageFlags == rhs.stageFlags ) + && ( pImmutableSamplers == rhs.pImmutableSamplers ); + } + + bool operator!=( DescriptorSetLayoutBinding const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t binding = {}; + VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; + uint32_t descriptorCount = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags = {}; + const VULKAN_HPP_NAMESPACE::Sampler* pImmutableSamplers = {}; + + }; + static_assert( sizeof( DescriptorSetLayoutBinding ) == sizeof( VkDescriptorSetLayoutBinding ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DescriptorSetLayoutBindingFlagsCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBindingFlagsCreateInfo(uint32_t bindingCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags* pBindingFlags_ = {}) VULKAN_HPP_NOEXCEPT + : bindingCount( bindingCount_ ), pBindingFlags( pBindingFlags_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutBindingFlagsCreateInfo( DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetLayoutBindingFlagsCreateInfo( VkDescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutBindingFlagsCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bindingFlags_ ) + : bindingCount( static_cast( bindingFlags_.size() ) ), pBindingFlags( bindingFlags_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetLayoutBindingFlagsCreateInfo & operator=( VkDescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetLayoutBindingFlagsCreateInfo & operator=( DescriptorSetLayoutBindingFlagsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetLayoutBindingFlagsCreateInfo ) ); + return *this; + } + + DescriptorSetLayoutBindingFlagsCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorSetLayoutBindingFlagsCreateInfo & setBindingCount( uint32_t bindingCount_ ) VULKAN_HPP_NOEXCEPT + { + bindingCount = bindingCount_; + return *this; + } + + DescriptorSetLayoutBindingFlagsCreateInfo & setPBindingFlags( const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags* pBindingFlags_ ) VULKAN_HPP_NOEXCEPT + { + pBindingFlags = pBindingFlags_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutBindingFlagsCreateInfo & setBindingFlags( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bindingFlags_ ) VULKAN_HPP_NOEXCEPT + { + bindingCount = static_cast( bindingFlags_.size() ); + pBindingFlags = bindingFlags_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorSetLayoutBindingFlagsCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetLayoutBindingFlagsCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetLayoutBindingFlagsCreateInfo const& ) const = default; +#else + bool operator==( DescriptorSetLayoutBindingFlagsCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( bindingCount == rhs.bindingCount ) + && ( pBindingFlags == rhs.pBindingFlags ); + } + + bool operator!=( DescriptorSetLayoutBindingFlagsCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutBindingFlagsCreateInfo; + const void* pNext = {}; + uint32_t bindingCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorBindingFlags* pBindingFlags = {}; + + }; + static_assert( sizeof( DescriptorSetLayoutBindingFlagsCreateInfo ) == sizeof( VkDescriptorSetLayoutBindingFlagsCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetLayoutBindingFlagsCreateInfo; + }; + using DescriptorSetLayoutBindingFlagsCreateInfoEXT = DescriptorSetLayoutBindingFlagsCreateInfo; + + struct DescriptorSetLayoutCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetLayoutCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateInfo(VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_ = {}, uint32_t bindingCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding* pBindings_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), bindingCount( bindingCount_ ), pBindings( pBindings_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutCreateInfo( DescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetLayoutCreateInfo( VkDescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutCreateInfo( VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bindings_ ) + : flags( flags_ ), bindingCount( static_cast( bindings_.size() ) ), pBindings( bindings_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetLayoutCreateInfo & operator=( VkDescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetLayoutCreateInfo & operator=( DescriptorSetLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetLayoutCreateInfo ) ); + return *this; + } + + DescriptorSetLayoutCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorSetLayoutCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DescriptorSetLayoutCreateInfo & setBindingCount( uint32_t bindingCount_ ) VULKAN_HPP_NOEXCEPT + { + bindingCount = bindingCount_; + return *this; + } + + DescriptorSetLayoutCreateInfo & setPBindings( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding* pBindings_ ) VULKAN_HPP_NOEXCEPT + { + pBindings = pBindings_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetLayoutCreateInfo & setBindings( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bindings_ ) VULKAN_HPP_NOEXCEPT + { + bindingCount = static_cast( bindings_.size() ); + pBindings = bindings_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorSetLayoutCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetLayoutCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetLayoutCreateInfo const& ) const = default; +#else + bool operator==( DescriptorSetLayoutCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( bindingCount == rhs.bindingCount ) + && ( pBindings == rhs.pBindings ); + } + + bool operator!=( DescriptorSetLayoutCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateFlags flags = {}; + uint32_t bindingCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutBinding* pBindings = {}; + + }; + static_assert( sizeof( DescriptorSetLayoutCreateInfo ) == sizeof( VkDescriptorSetLayoutCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetLayoutCreateInfo; + }; + + struct DescriptorSetLayoutSupport + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetLayoutSupport; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutSupport(VULKAN_HPP_NAMESPACE::Bool32 supported_ = {}) VULKAN_HPP_NOEXCEPT + : supported( supported_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetLayoutSupport( DescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetLayoutSupport( VkDescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetLayoutSupport & operator=( VkDescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetLayoutSupport & operator=( DescriptorSetLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetLayoutSupport ) ); + return *this; + } + + + operator VkDescriptorSetLayoutSupport const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetLayoutSupport &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetLayoutSupport const& ) const = default; +#else + bool operator==( DescriptorSetLayoutSupport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( supported == rhs.supported ); + } + + bool operator!=( DescriptorSetLayoutSupport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetLayoutSupport; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 supported = {}; + + }; + static_assert( sizeof( DescriptorSetLayoutSupport ) == sizeof( VkDescriptorSetLayoutSupport ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetLayoutSupport; + }; + using DescriptorSetLayoutSupportKHR = DescriptorSetLayoutSupport; + + struct DescriptorSetVariableDescriptorCountAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountAllocateInfo(uint32_t descriptorSetCount_ = {}, const uint32_t* pDescriptorCounts_ = {}) VULKAN_HPP_NOEXCEPT + : descriptorSetCount( descriptorSetCount_ ), pDescriptorCounts( pDescriptorCounts_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountAllocateInfo( DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetVariableDescriptorCountAllocateInfo( VkDescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetVariableDescriptorCountAllocateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorCounts_ ) + : descriptorSetCount( static_cast( descriptorCounts_.size() ) ), pDescriptorCounts( descriptorCounts_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetVariableDescriptorCountAllocateInfo & operator=( VkDescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetVariableDescriptorCountAllocateInfo & operator=( DescriptorSetVariableDescriptorCountAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetVariableDescriptorCountAllocateInfo ) ); + return *this; + } + + DescriptorSetVariableDescriptorCountAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorSetVariableDescriptorCountAllocateInfo & setDescriptorSetCount( uint32_t descriptorSetCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorSetCount = descriptorSetCount_; + return *this; + } + + DescriptorSetVariableDescriptorCountAllocateInfo & setPDescriptorCounts( const uint32_t* pDescriptorCounts_ ) VULKAN_HPP_NOEXCEPT + { + pDescriptorCounts = pDescriptorCounts_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorSetVariableDescriptorCountAllocateInfo & setDescriptorCounts( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorCounts_ ) VULKAN_HPP_NOEXCEPT + { + descriptorSetCount = static_cast( descriptorCounts_.size() ); + pDescriptorCounts = descriptorCounts_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDescriptorSetVariableDescriptorCountAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetVariableDescriptorCountAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetVariableDescriptorCountAllocateInfo const& ) const = default; +#else + bool operator==( DescriptorSetVariableDescriptorCountAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( descriptorSetCount == rhs.descriptorSetCount ) + && ( pDescriptorCounts == rhs.pDescriptorCounts ); + } + + bool operator!=( DescriptorSetVariableDescriptorCountAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountAllocateInfo; + const void* pNext = {}; + uint32_t descriptorSetCount = {}; + const uint32_t* pDescriptorCounts = {}; + + }; + static_assert( sizeof( DescriptorSetVariableDescriptorCountAllocateInfo ) == sizeof( VkDescriptorSetVariableDescriptorCountAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetVariableDescriptorCountAllocateInfo; + }; + using DescriptorSetVariableDescriptorCountAllocateInfoEXT = DescriptorSetVariableDescriptorCountAllocateInfo; + + struct DescriptorSetVariableDescriptorCountLayoutSupport + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountLayoutSupport(uint32_t maxVariableDescriptorCount_ = {}) VULKAN_HPP_NOEXCEPT + : maxVariableDescriptorCount( maxVariableDescriptorCount_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorSetVariableDescriptorCountLayoutSupport( DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorSetVariableDescriptorCountLayoutSupport( VkDescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorSetVariableDescriptorCountLayoutSupport & operator=( VkDescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorSetVariableDescriptorCountLayoutSupport & operator=( DescriptorSetVariableDescriptorCountLayoutSupport const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorSetVariableDescriptorCountLayoutSupport ) ); + return *this; + } + + + operator VkDescriptorSetVariableDescriptorCountLayoutSupport const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorSetVariableDescriptorCountLayoutSupport &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorSetVariableDescriptorCountLayoutSupport const& ) const = default; +#else + bool operator==( DescriptorSetVariableDescriptorCountLayoutSupport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxVariableDescriptorCount == rhs.maxVariableDescriptorCount ); + } + + bool operator!=( DescriptorSetVariableDescriptorCountLayoutSupport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountLayoutSupport; + void* pNext = {}; + uint32_t maxVariableDescriptorCount = {}; + + }; + static_assert( sizeof( DescriptorSetVariableDescriptorCountLayoutSupport ) == sizeof( VkDescriptorSetVariableDescriptorCountLayoutSupport ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorSetVariableDescriptorCountLayoutSupport; + }; + using DescriptorSetVariableDescriptorCountLayoutSupportEXT = DescriptorSetVariableDescriptorCountLayoutSupport; + + struct DescriptorUpdateTemplateEntry + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateEntry(uint32_t dstBinding_ = {}, uint32_t dstArrayElement_ = {}, uint32_t descriptorCount_ = {}, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, size_t offset_ = {}, size_t stride_ = {}) VULKAN_HPP_NOEXCEPT + : dstBinding( dstBinding_ ), dstArrayElement( dstArrayElement_ ), descriptorCount( descriptorCount_ ), descriptorType( descriptorType_ ), offset( offset_ ), stride( stride_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateEntry( DescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorUpdateTemplateEntry( VkDescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorUpdateTemplateEntry & operator=( VkDescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorUpdateTemplateEntry & operator=( DescriptorUpdateTemplateEntry const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorUpdateTemplateEntry ) ); + return *this; + } + + DescriptorUpdateTemplateEntry & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT + { + dstBinding = dstBinding_; + return *this; + } + + DescriptorUpdateTemplateEntry & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT + { + dstArrayElement = dstArrayElement_; + return *this; + } + + DescriptorUpdateTemplateEntry & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = descriptorCount_; + return *this; + } + + DescriptorUpdateTemplateEntry & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT + { + descriptorType = descriptorType_; + return *this; + } + + DescriptorUpdateTemplateEntry & setOffset( size_t offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + DescriptorUpdateTemplateEntry & setStride( size_t stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + + operator VkDescriptorUpdateTemplateEntry const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorUpdateTemplateEntry &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorUpdateTemplateEntry const& ) const = default; +#else + bool operator==( DescriptorUpdateTemplateEntry const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( dstBinding == rhs.dstBinding ) + && ( dstArrayElement == rhs.dstArrayElement ) + && ( descriptorCount == rhs.descriptorCount ) + && ( descriptorType == rhs.descriptorType ) + && ( offset == rhs.offset ) + && ( stride == rhs.stride ); + } + + bool operator!=( DescriptorUpdateTemplateEntry const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t dstBinding = {}; + uint32_t dstArrayElement = {}; + uint32_t descriptorCount = {}; + VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; + size_t offset = {}; + size_t stride = {}; + + }; + static_assert( sizeof( DescriptorUpdateTemplateEntry ) == sizeof( VkDescriptorUpdateTemplateEntry ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using DescriptorUpdateTemplateEntryKHR = DescriptorUpdateTemplateEntry; + + struct DescriptorUpdateTemplateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDescriptorUpdateTemplateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateCreateInfo(VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_ = {}, uint32_t descriptorUpdateEntryCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ = {}, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet, VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ = {}, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ = {}, uint32_t set_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), descriptorUpdateEntryCount( descriptorUpdateEntryCount_ ), pDescriptorUpdateEntries( pDescriptorUpdateEntries_ ), templateType( templateType_ ), descriptorSetLayout( descriptorSetLayout_ ), pipelineBindPoint( pipelineBindPoint_ ), pipelineLayout( pipelineLayout_ ), set( set_ ) + {} + + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplateCreateInfo( DescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DescriptorUpdateTemplateCreateInfo( VkDescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorUpdateTemplateCreateInfo( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorUpdateEntries_, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet, VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ = {}, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ = {}, uint32_t set_ = {} ) + : flags( flags_ ), descriptorUpdateEntryCount( static_cast( descriptorUpdateEntries_.size() ) ), pDescriptorUpdateEntries( descriptorUpdateEntries_.data() ), templateType( templateType_ ), descriptorSetLayout( descriptorSetLayout_ ), pipelineBindPoint( pipelineBindPoint_ ), pipelineLayout( pipelineLayout_ ), set( set_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DescriptorUpdateTemplateCreateInfo & operator=( VkDescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DescriptorUpdateTemplateCreateInfo & operator=( DescriptorUpdateTemplateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DescriptorUpdateTemplateCreateInfo ) ); + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setDescriptorUpdateEntryCount( uint32_t descriptorUpdateEntryCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorUpdateEntryCount = descriptorUpdateEntryCount_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setPDescriptorUpdateEntries( const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ ) VULKAN_HPP_NOEXCEPT + { + pDescriptorUpdateEntries = pDescriptorUpdateEntries_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DescriptorUpdateTemplateCreateInfo & setDescriptorUpdateEntries( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & descriptorUpdateEntries_ ) VULKAN_HPP_NOEXCEPT + { + descriptorUpdateEntryCount = static_cast( descriptorUpdateEntries_.size() ); + pDescriptorUpdateEntries = descriptorUpdateEntries_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DescriptorUpdateTemplateCreateInfo & setTemplateType( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType_ ) VULKAN_HPP_NOEXCEPT + { + templateType = templateType_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout_ ) VULKAN_HPP_NOEXCEPT + { + descriptorSetLayout = descriptorSetLayout_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout_ ) VULKAN_HPP_NOEXCEPT + { + pipelineLayout = pipelineLayout_; + return *this; + } + + DescriptorUpdateTemplateCreateInfo & setSet( uint32_t set_ ) VULKAN_HPP_NOEXCEPT + { + set = set_; + return *this; + } + + + operator VkDescriptorUpdateTemplateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDescriptorUpdateTemplateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorUpdateTemplateCreateInfo const& ) const = default; +#else + bool operator==( DescriptorUpdateTemplateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( descriptorUpdateEntryCount == rhs.descriptorUpdateEntryCount ) + && ( pDescriptorUpdateEntries == rhs.pDescriptorUpdateEntries ) + && ( templateType == rhs.templateType ) + && ( descriptorSetLayout == rhs.descriptorSetLayout ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( pipelineLayout == rhs.pipelineLayout ) + && ( set == rhs.set ); + } + + bool operator!=( DescriptorUpdateTemplateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDescriptorUpdateTemplateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags flags = {}; + uint32_t descriptorUpdateEntryCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries = {}; + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType templateType = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType::eDescriptorSet; + VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout = {}; + uint32_t set = {}; + + }; + static_assert( sizeof( DescriptorUpdateTemplateCreateInfo ) == sizeof( VkDescriptorUpdateTemplateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DescriptorUpdateTemplateCreateInfo; + }; + using DescriptorUpdateTemplateCreateInfoKHR = DescriptorUpdateTemplateCreateInfo; + + struct DeviceQueueCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceQueueCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceQueueCreateInfo(VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ = {}, uint32_t queueFamilyIndex_ = {}, uint32_t queueCount_ = {}, const float* pQueuePriorities_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), queueFamilyIndex( queueFamilyIndex_ ), queueCount( queueCount_ ), pQueuePriorities( pQueuePriorities_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceQueueCreateInfo( DeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceQueueCreateInfo( VkDeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceQueueCreateInfo( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_, uint32_t queueFamilyIndex_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queuePriorities_ ) + : flags( flags_ ), queueFamilyIndex( queueFamilyIndex_ ), queueCount( static_cast( queuePriorities_.size() ) ), pQueuePriorities( queuePriorities_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceQueueCreateInfo & operator=( VkDeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceQueueCreateInfo & operator=( DeviceQueueCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceQueueCreateInfo ) ); + return *this; + } + + DeviceQueueCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceQueueCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DeviceQueueCreateInfo & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndex = queueFamilyIndex_; + return *this; + } + + DeviceQueueCreateInfo & setQueueCount( uint32_t queueCount_ ) VULKAN_HPP_NOEXCEPT + { + queueCount = queueCount_; + return *this; + } + + DeviceQueueCreateInfo & setPQueuePriorities( const float* pQueuePriorities_ ) VULKAN_HPP_NOEXCEPT + { + pQueuePriorities = pQueuePriorities_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceQueueCreateInfo & setQueuePriorities( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queuePriorities_ ) VULKAN_HPP_NOEXCEPT + { + queueCount = static_cast( queuePriorities_.size() ); + pQueuePriorities = queuePriorities_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDeviceQueueCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceQueueCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceQueueCreateInfo const& ) const = default; +#else + bool operator==( DeviceQueueCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( queueFamilyIndex == rhs.queueFamilyIndex ) + && ( queueCount == rhs.queueCount ) + && ( pQueuePriorities == rhs.pQueuePriorities ); + } + + bool operator!=( DeviceQueueCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags = {}; + uint32_t queueFamilyIndex = {}; + uint32_t queueCount = {}; + const float* pQueuePriorities = {}; + + }; + static_assert( sizeof( DeviceQueueCreateInfo ) == sizeof( VkDeviceQueueCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceQueueCreateInfo; + }; + + struct PhysicalDeviceFeatures + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures(VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray_ = {}, VULKAN_HPP_NAMESPACE::Bool32 independentBlend_ = {}, VULKAN_HPP_NAMESPACE::Bool32 geometryShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 tessellationShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading_ = {}, VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend_ = {}, VULKAN_HPP_NAMESPACE::Bool32 logicOp_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect_ = {}, VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthClamp_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthBounds_ = {}, VULKAN_HPP_NAMESPACE::Bool32 wideLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 largePoints_ = {}, VULKAN_HPP_NAMESPACE::Bool32 alphaToOne_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiViewport_ = {}, VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy_ = {}, VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2_ = {}, VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR_ = {}, VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC_ = {}, VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise_ = {}, VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInt64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInt16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseBinding_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased_ = {}, VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate_ = {}, VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries_ = {}) VULKAN_HPP_NOEXCEPT + : robustBufferAccess( robustBufferAccess_ ), fullDrawIndexUint32( fullDrawIndexUint32_ ), imageCubeArray( imageCubeArray_ ), independentBlend( independentBlend_ ), geometryShader( geometryShader_ ), tessellationShader( tessellationShader_ ), sampleRateShading( sampleRateShading_ ), dualSrcBlend( dualSrcBlend_ ), logicOp( logicOp_ ), multiDrawIndirect( multiDrawIndirect_ ), drawIndirectFirstInstance( drawIndirectFirstInstance_ ), depthClamp( depthClamp_ ), depthBiasClamp( depthBiasClamp_ ), fillModeNonSolid( fillModeNonSolid_ ), depthBounds( depthBounds_ ), wideLines( wideLines_ ), largePoints( largePoints_ ), alphaToOne( alphaToOne_ ), multiViewport( multiViewport_ ), samplerAnisotropy( samplerAnisotropy_ ), textureCompressionETC2( textureCompressionETC2_ ), textureCompressionASTC_LDR( textureCompressionASTC_LDR_ ), textureCompressionBC( textureCompressionBC_ ), occlusionQueryPrecise( occlusionQueryPrecise_ ), pipelineStatisticsQuery( pipelineStatisticsQuery_ ), vertexPipelineStoresAndAtomics( vertexPipelineStoresAndAtomics_ ), fragmentStoresAndAtomics( fragmentStoresAndAtomics_ ), shaderTessellationAndGeometryPointSize( shaderTessellationAndGeometryPointSize_ ), shaderImageGatherExtended( shaderImageGatherExtended_ ), shaderStorageImageExtendedFormats( shaderStorageImageExtendedFormats_ ), shaderStorageImageMultisample( shaderStorageImageMultisample_ ), shaderStorageImageReadWithoutFormat( shaderStorageImageReadWithoutFormat_ ), shaderStorageImageWriteWithoutFormat( shaderStorageImageWriteWithoutFormat_ ), shaderUniformBufferArrayDynamicIndexing( shaderUniformBufferArrayDynamicIndexing_ ), shaderSampledImageArrayDynamicIndexing( shaderSampledImageArrayDynamicIndexing_ ), shaderStorageBufferArrayDynamicIndexing( shaderStorageBufferArrayDynamicIndexing_ ), shaderStorageImageArrayDynamicIndexing( shaderStorageImageArrayDynamicIndexing_ ), shaderClipDistance( shaderClipDistance_ ), shaderCullDistance( shaderCullDistance_ ), shaderFloat64( shaderFloat64_ ), shaderInt64( shaderInt64_ ), shaderInt16( shaderInt16_ ), shaderResourceResidency( shaderResourceResidency_ ), shaderResourceMinLod( shaderResourceMinLod_ ), sparseBinding( sparseBinding_ ), sparseResidencyBuffer( sparseResidencyBuffer_ ), sparseResidencyImage2D( sparseResidencyImage2D_ ), sparseResidencyImage3D( sparseResidencyImage3D_ ), sparseResidency2Samples( sparseResidency2Samples_ ), sparseResidency4Samples( sparseResidency4Samples_ ), sparseResidency8Samples( sparseResidency8Samples_ ), sparseResidency16Samples( sparseResidency16Samples_ ), sparseResidencyAliased( sparseResidencyAliased_ ), variableMultisampleRate( variableMultisampleRate_ ), inheritedQueries( inheritedQueries_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures( PhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFeatures( VkPhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFeatures & operator=( VkPhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFeatures & operator=( PhysicalDeviceFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFeatures ) ); + return *this; + } + + PhysicalDeviceFeatures & setRobustBufferAccess( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess_ ) VULKAN_HPP_NOEXCEPT + { + robustBufferAccess = robustBufferAccess_; + return *this; + } + + PhysicalDeviceFeatures & setFullDrawIndexUint32( VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32_ ) VULKAN_HPP_NOEXCEPT + { + fullDrawIndexUint32 = fullDrawIndexUint32_; + return *this; + } + + PhysicalDeviceFeatures & setImageCubeArray( VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray_ ) VULKAN_HPP_NOEXCEPT + { + imageCubeArray = imageCubeArray_; + return *this; + } + + PhysicalDeviceFeatures & setIndependentBlend( VULKAN_HPP_NAMESPACE::Bool32 independentBlend_ ) VULKAN_HPP_NOEXCEPT + { + independentBlend = independentBlend_; + return *this; + } + + PhysicalDeviceFeatures & setGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 geometryShader_ ) VULKAN_HPP_NOEXCEPT + { + geometryShader = geometryShader_; + return *this; + } + + PhysicalDeviceFeatures & setTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 tessellationShader_ ) VULKAN_HPP_NOEXCEPT + { + tessellationShader = tessellationShader_; + return *this; + } + + PhysicalDeviceFeatures & setSampleRateShading( VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading_ ) VULKAN_HPP_NOEXCEPT + { + sampleRateShading = sampleRateShading_; + return *this; + } + + PhysicalDeviceFeatures & setDualSrcBlend( VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend_ ) VULKAN_HPP_NOEXCEPT + { + dualSrcBlend = dualSrcBlend_; + return *this; + } + + PhysicalDeviceFeatures & setLogicOp( VULKAN_HPP_NAMESPACE::Bool32 logicOp_ ) VULKAN_HPP_NOEXCEPT + { + logicOp = logicOp_; + return *this; + } + + PhysicalDeviceFeatures & setMultiDrawIndirect( VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect_ ) VULKAN_HPP_NOEXCEPT + { + multiDrawIndirect = multiDrawIndirect_; + return *this; + } + + PhysicalDeviceFeatures & setDrawIndirectFirstInstance( VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance_ ) VULKAN_HPP_NOEXCEPT + { + drawIndirectFirstInstance = drawIndirectFirstInstance_; + return *this; + } + + PhysicalDeviceFeatures & setDepthClamp( VULKAN_HPP_NAMESPACE::Bool32 depthClamp_ ) VULKAN_HPP_NOEXCEPT + { + depthClamp = depthClamp_; + return *this; + } + + PhysicalDeviceFeatures & setDepthBiasClamp( VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp_ ) VULKAN_HPP_NOEXCEPT + { + depthBiasClamp = depthBiasClamp_; + return *this; + } + + PhysicalDeviceFeatures & setFillModeNonSolid( VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid_ ) VULKAN_HPP_NOEXCEPT + { + fillModeNonSolid = fillModeNonSolid_; + return *this; + } + + PhysicalDeviceFeatures & setDepthBounds( VULKAN_HPP_NAMESPACE::Bool32 depthBounds_ ) VULKAN_HPP_NOEXCEPT + { + depthBounds = depthBounds_; + return *this; + } + + PhysicalDeviceFeatures & setWideLines( VULKAN_HPP_NAMESPACE::Bool32 wideLines_ ) VULKAN_HPP_NOEXCEPT + { + wideLines = wideLines_; + return *this; + } + + PhysicalDeviceFeatures & setLargePoints( VULKAN_HPP_NAMESPACE::Bool32 largePoints_ ) VULKAN_HPP_NOEXCEPT + { + largePoints = largePoints_; + return *this; + } + + PhysicalDeviceFeatures & setAlphaToOne( VULKAN_HPP_NAMESPACE::Bool32 alphaToOne_ ) VULKAN_HPP_NOEXCEPT + { + alphaToOne = alphaToOne_; + return *this; + } + + PhysicalDeviceFeatures & setMultiViewport( VULKAN_HPP_NAMESPACE::Bool32 multiViewport_ ) VULKAN_HPP_NOEXCEPT + { + multiViewport = multiViewport_; + return *this; + } + + PhysicalDeviceFeatures & setSamplerAnisotropy( VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy_ ) VULKAN_HPP_NOEXCEPT + { + samplerAnisotropy = samplerAnisotropy_; + return *this; + } + + PhysicalDeviceFeatures & setTextureCompressionETC2( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2_ ) VULKAN_HPP_NOEXCEPT + { + textureCompressionETC2 = textureCompressionETC2_; + return *this; + } + + PhysicalDeviceFeatures & setTextureCompressionASTC_LDR( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR_ ) VULKAN_HPP_NOEXCEPT + { + textureCompressionASTC_LDR = textureCompressionASTC_LDR_; + return *this; + } + + PhysicalDeviceFeatures & setTextureCompressionBC( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC_ ) VULKAN_HPP_NOEXCEPT + { + textureCompressionBC = textureCompressionBC_; + return *this; + } + + PhysicalDeviceFeatures & setOcclusionQueryPrecise( VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise_ ) VULKAN_HPP_NOEXCEPT + { + occlusionQueryPrecise = occlusionQueryPrecise_; + return *this; + } + + PhysicalDeviceFeatures & setPipelineStatisticsQuery( VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery_ ) VULKAN_HPP_NOEXCEPT + { + pipelineStatisticsQuery = pipelineStatisticsQuery_; + return *this; + } + + PhysicalDeviceFeatures & setVertexPipelineStoresAndAtomics( VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics_ ) VULKAN_HPP_NOEXCEPT + { + vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics_; + return *this; + } + + PhysicalDeviceFeatures & setFragmentStoresAndAtomics( VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics_ ) VULKAN_HPP_NOEXCEPT + { + fragmentStoresAndAtomics = fragmentStoresAndAtomics_; + return *this; + } + + PhysicalDeviceFeatures & setShaderTessellationAndGeometryPointSize( VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize_ ) VULKAN_HPP_NOEXCEPT + { + shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize_; + return *this; + } + + PhysicalDeviceFeatures & setShaderImageGatherExtended( VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended_ ) VULKAN_HPP_NOEXCEPT + { + shaderImageGatherExtended = shaderImageGatherExtended_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageImageExtendedFormats( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageImageMultisample( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageMultisample = shaderStorageImageMultisample_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageImageReadWithoutFormat( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageImageWriteWithoutFormat( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat_; + return *this; + } + + PhysicalDeviceFeatures & setShaderUniformBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceFeatures & setShaderSampledImageArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceFeatures & setShaderStorageImageArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceFeatures & setShaderClipDistance( VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance_ ) VULKAN_HPP_NOEXCEPT + { + shaderClipDistance = shaderClipDistance_; + return *this; + } + + PhysicalDeviceFeatures & setShaderCullDistance( VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance_ ) VULKAN_HPP_NOEXCEPT + { + shaderCullDistance = shaderCullDistance_; + return *this; + } + + PhysicalDeviceFeatures & setShaderFloat64( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64_ ) VULKAN_HPP_NOEXCEPT + { + shaderFloat64 = shaderFloat64_; + return *this; + } + + PhysicalDeviceFeatures & setShaderInt64( VULKAN_HPP_NAMESPACE::Bool32 shaderInt64_ ) VULKAN_HPP_NOEXCEPT + { + shaderInt64 = shaderInt64_; + return *this; + } + + PhysicalDeviceFeatures & setShaderInt16( VULKAN_HPP_NAMESPACE::Bool32 shaderInt16_ ) VULKAN_HPP_NOEXCEPT + { + shaderInt16 = shaderInt16_; + return *this; + } + + PhysicalDeviceFeatures & setShaderResourceResidency( VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency_ ) VULKAN_HPP_NOEXCEPT + { + shaderResourceResidency = shaderResourceResidency_; + return *this; + } + + PhysicalDeviceFeatures & setShaderResourceMinLod( VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod_ ) VULKAN_HPP_NOEXCEPT + { + shaderResourceMinLod = shaderResourceMinLod_; + return *this; + } + + PhysicalDeviceFeatures & setSparseBinding( VULKAN_HPP_NAMESPACE::Bool32 sparseBinding_ ) VULKAN_HPP_NOEXCEPT + { + sparseBinding = sparseBinding_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidencyBuffer( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidencyBuffer = sparseResidencyBuffer_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidencyImage2D( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidencyImage2D = sparseResidencyImage2D_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidencyImage3D( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidencyImage3D = sparseResidencyImage3D_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidency2Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidency2Samples = sparseResidency2Samples_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidency4Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidency4Samples = sparseResidency4Samples_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidency8Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidency8Samples = sparseResidency8Samples_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidency16Samples( VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidency16Samples = sparseResidency16Samples_; + return *this; + } + + PhysicalDeviceFeatures & setSparseResidencyAliased( VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased_ ) VULKAN_HPP_NOEXCEPT + { + sparseResidencyAliased = sparseResidencyAliased_; + return *this; + } + + PhysicalDeviceFeatures & setVariableMultisampleRate( VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate_ ) VULKAN_HPP_NOEXCEPT + { + variableMultisampleRate = variableMultisampleRate_; + return *this; + } + + PhysicalDeviceFeatures & setInheritedQueries( VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries_ ) VULKAN_HPP_NOEXCEPT + { + inheritedQueries = inheritedQueries_; + return *this; + } + + + operator VkPhysicalDeviceFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( robustBufferAccess == rhs.robustBufferAccess ) + && ( fullDrawIndexUint32 == rhs.fullDrawIndexUint32 ) + && ( imageCubeArray == rhs.imageCubeArray ) + && ( independentBlend == rhs.independentBlend ) + && ( geometryShader == rhs.geometryShader ) + && ( tessellationShader == rhs.tessellationShader ) + && ( sampleRateShading == rhs.sampleRateShading ) + && ( dualSrcBlend == rhs.dualSrcBlend ) + && ( logicOp == rhs.logicOp ) + && ( multiDrawIndirect == rhs.multiDrawIndirect ) + && ( drawIndirectFirstInstance == rhs.drawIndirectFirstInstance ) + && ( depthClamp == rhs.depthClamp ) + && ( depthBiasClamp == rhs.depthBiasClamp ) + && ( fillModeNonSolid == rhs.fillModeNonSolid ) + && ( depthBounds == rhs.depthBounds ) + && ( wideLines == rhs.wideLines ) + && ( largePoints == rhs.largePoints ) + && ( alphaToOne == rhs.alphaToOne ) + && ( multiViewport == rhs.multiViewport ) + && ( samplerAnisotropy == rhs.samplerAnisotropy ) + && ( textureCompressionETC2 == rhs.textureCompressionETC2 ) + && ( textureCompressionASTC_LDR == rhs.textureCompressionASTC_LDR ) + && ( textureCompressionBC == rhs.textureCompressionBC ) + && ( occlusionQueryPrecise == rhs.occlusionQueryPrecise ) + && ( pipelineStatisticsQuery == rhs.pipelineStatisticsQuery ) + && ( vertexPipelineStoresAndAtomics == rhs.vertexPipelineStoresAndAtomics ) + && ( fragmentStoresAndAtomics == rhs.fragmentStoresAndAtomics ) + && ( shaderTessellationAndGeometryPointSize == rhs.shaderTessellationAndGeometryPointSize ) + && ( shaderImageGatherExtended == rhs.shaderImageGatherExtended ) + && ( shaderStorageImageExtendedFormats == rhs.shaderStorageImageExtendedFormats ) + && ( shaderStorageImageMultisample == rhs.shaderStorageImageMultisample ) + && ( shaderStorageImageReadWithoutFormat == rhs.shaderStorageImageReadWithoutFormat ) + && ( shaderStorageImageWriteWithoutFormat == rhs.shaderStorageImageWriteWithoutFormat ) + && ( shaderUniformBufferArrayDynamicIndexing == rhs.shaderUniformBufferArrayDynamicIndexing ) + && ( shaderSampledImageArrayDynamicIndexing == rhs.shaderSampledImageArrayDynamicIndexing ) + && ( shaderStorageBufferArrayDynamicIndexing == rhs.shaderStorageBufferArrayDynamicIndexing ) + && ( shaderStorageImageArrayDynamicIndexing == rhs.shaderStorageImageArrayDynamicIndexing ) + && ( shaderClipDistance == rhs.shaderClipDistance ) + && ( shaderCullDistance == rhs.shaderCullDistance ) + && ( shaderFloat64 == rhs.shaderFloat64 ) + && ( shaderInt64 == rhs.shaderInt64 ) + && ( shaderInt16 == rhs.shaderInt16 ) + && ( shaderResourceResidency == rhs.shaderResourceResidency ) + && ( shaderResourceMinLod == rhs.shaderResourceMinLod ) + && ( sparseBinding == rhs.sparseBinding ) + && ( sparseResidencyBuffer == rhs.sparseResidencyBuffer ) + && ( sparseResidencyImage2D == rhs.sparseResidencyImage2D ) + && ( sparseResidencyImage3D == rhs.sparseResidencyImage3D ) + && ( sparseResidency2Samples == rhs.sparseResidency2Samples ) + && ( sparseResidency4Samples == rhs.sparseResidency4Samples ) + && ( sparseResidency8Samples == rhs.sparseResidency8Samples ) + && ( sparseResidency16Samples == rhs.sparseResidency16Samples ) + && ( sparseResidencyAliased == rhs.sparseResidencyAliased ) + && ( variableMultisampleRate == rhs.variableMultisampleRate ) + && ( inheritedQueries == rhs.inheritedQueries ); + } + + bool operator!=( PhysicalDeviceFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 fullDrawIndexUint32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 imageCubeArray = {}; + VULKAN_HPP_NAMESPACE::Bool32 independentBlend = {}; + VULKAN_HPP_NAMESPACE::Bool32 geometryShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 tessellationShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 sampleRateShading = {}; + VULKAN_HPP_NAMESPACE::Bool32 dualSrcBlend = {}; + VULKAN_HPP_NAMESPACE::Bool32 logicOp = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiDrawIndirect = {}; + VULKAN_HPP_NAMESPACE::Bool32 drawIndirectFirstInstance = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthClamp = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthBiasClamp = {}; + VULKAN_HPP_NAMESPACE::Bool32 fillModeNonSolid = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthBounds = {}; + VULKAN_HPP_NAMESPACE::Bool32 wideLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 largePoints = {}; + VULKAN_HPP_NAMESPACE::Bool32 alphaToOne = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiViewport = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerAnisotropy = {}; + VULKAN_HPP_NAMESPACE::Bool32 textureCompressionETC2 = {}; + VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_LDR = {}; + VULKAN_HPP_NAMESPACE::Bool32 textureCompressionBC = {}; + VULKAN_HPP_NAMESPACE::Bool32 occlusionQueryPrecise = {}; + VULKAN_HPP_NAMESPACE::Bool32 pipelineStatisticsQuery = {}; + VULKAN_HPP_NAMESPACE::Bool32 vertexPipelineStoresAndAtomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentStoresAndAtomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderTessellationAndGeometryPointSize = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderImageGatherExtended = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageExtendedFormats = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageMultisample = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageReadWithoutFormat = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageWriteWithoutFormat = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderClipDistance = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderCullDistance = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInt64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInt16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderResourceResidency = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderResourceMinLod = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseBinding = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyBuffer = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage2D = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyImage3D = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidency2Samples = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidency4Samples = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidency8Samples = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidency16Samples = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseResidencyAliased = {}; + VULKAN_HPP_NAMESPACE::Bool32 variableMultisampleRate = {}; + VULKAN_HPP_NAMESPACE::Bool32 inheritedQueries = {}; + + }; + static_assert( sizeof( PhysicalDeviceFeatures ) == sizeof( VkPhysicalDeviceFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DeviceCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceCreateInfo(VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_ = {}, uint32_t queueCreateInfoCount_ = {}, const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo* pQueueCreateInfos_ = {}, uint32_t enabledLayerCount_ = {}, const char* const * ppEnabledLayerNames_ = {}, uint32_t enabledExtensionCount_ = {}, const char* const * ppEnabledExtensionNames_ = {}, const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pEnabledFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), queueCreateInfoCount( queueCreateInfoCount_ ), pQueueCreateInfos( pQueueCreateInfos_ ), enabledLayerCount( enabledLayerCount_ ), ppEnabledLayerNames( ppEnabledLayerNames_ ), enabledExtensionCount( enabledExtensionCount_ ), ppEnabledExtensionNames( ppEnabledExtensionNames_ ), pEnabledFeatures( pEnabledFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceCreateInfo( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueCreateInfos_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ = {}, const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pEnabledFeatures_ = {} ) + : flags( flags_ ), queueCreateInfoCount( static_cast( queueCreateInfos_.size() ) ), pQueueCreateInfos( queueCreateInfos_.data() ), enabledLayerCount( static_cast( pEnabledLayerNames_.size() ) ), ppEnabledLayerNames( pEnabledLayerNames_.data() ), enabledExtensionCount( static_cast( pEnabledExtensionNames_.size() ) ), ppEnabledExtensionNames( pEnabledExtensionNames_.data() ), pEnabledFeatures( pEnabledFeatures_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceCreateInfo & operator=( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceCreateInfo & operator=( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceCreateInfo ) ); + return *this; + } + + DeviceCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DeviceCreateInfo & setQueueCreateInfoCount( uint32_t queueCreateInfoCount_ ) VULKAN_HPP_NOEXCEPT + { + queueCreateInfoCount = queueCreateInfoCount_; + return *this; + } + + DeviceCreateInfo & setPQueueCreateInfos( const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo* pQueueCreateInfos_ ) VULKAN_HPP_NOEXCEPT + { + pQueueCreateInfos = pQueueCreateInfos_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceCreateInfo & setQueueCreateInfos( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueCreateInfos_ ) VULKAN_HPP_NOEXCEPT + { + queueCreateInfoCount = static_cast( queueCreateInfos_.size() ); + pQueueCreateInfos = queueCreateInfos_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceCreateInfo & setEnabledLayerCount( uint32_t enabledLayerCount_ ) VULKAN_HPP_NOEXCEPT + { + enabledLayerCount = enabledLayerCount_; + return *this; + } + + DeviceCreateInfo & setPpEnabledLayerNames( const char* const * ppEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT + { + ppEnabledLayerNames = ppEnabledLayerNames_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceCreateInfo & setPEnabledLayerNames( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT + { + enabledLayerCount = static_cast( pEnabledLayerNames_.size() ); + ppEnabledLayerNames = pEnabledLayerNames_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceCreateInfo & setEnabledExtensionCount( uint32_t enabledExtensionCount_ ) VULKAN_HPP_NOEXCEPT + { + enabledExtensionCount = enabledExtensionCount_; + return *this; + } + + DeviceCreateInfo & setPpEnabledExtensionNames( const char* const * ppEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT + { + ppEnabledExtensionNames = ppEnabledExtensionNames_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceCreateInfo & setPEnabledExtensionNames( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT + { + enabledExtensionCount = static_cast( pEnabledExtensionNames_.size() ); + ppEnabledExtensionNames = pEnabledExtensionNames_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceCreateInfo & setPEnabledFeatures( const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pEnabledFeatures_ ) VULKAN_HPP_NOEXCEPT + { + pEnabledFeatures = pEnabledFeatures_; + return *this; + } + + + operator VkDeviceCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceCreateInfo const& ) const = default; +#else + bool operator==( DeviceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( queueCreateInfoCount == rhs.queueCreateInfoCount ) + && ( pQueueCreateInfos == rhs.pQueueCreateInfos ) + && ( enabledLayerCount == rhs.enabledLayerCount ) + && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames ) + && ( enabledExtensionCount == rhs.enabledExtensionCount ) + && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames ) + && ( pEnabledFeatures == rhs.pEnabledFeatures ); + } + + bool operator!=( DeviceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceCreateFlags flags = {}; + uint32_t queueCreateInfoCount = {}; + const VULKAN_HPP_NAMESPACE::DeviceQueueCreateInfo* pQueueCreateInfos = {}; + uint32_t enabledLayerCount = {}; + const char* const * ppEnabledLayerNames = {}; + uint32_t enabledExtensionCount = {}; + const char* const * ppEnabledExtensionNames = {}; + const VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pEnabledFeatures = {}; + + }; + static_assert( sizeof( DeviceCreateInfo ) == sizeof( VkDeviceCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceCreateInfo; + }; + + struct DeviceDeviceMemoryReportCreateInfoEXT + { + static const bool allowDuplicate = true; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceDeviceMemoryReportCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceDeviceMemoryReportCreateInfoEXT(VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ = {}, PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback_ = {}, void* pUserData_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pfnUserCallback( pfnUserCallback_ ), pUserData( pUserData_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceDeviceMemoryReportCreateInfoEXT( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceDeviceMemoryReportCreateInfoEXT( VkDeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceDeviceMemoryReportCreateInfoEXT & operator=( VkDeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceDeviceMemoryReportCreateInfoEXT & operator=( DeviceDeviceMemoryReportCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceDeviceMemoryReportCreateInfoEXT ) ); + return *this; + } + + DeviceDeviceMemoryReportCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceDeviceMemoryReportCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DeviceDeviceMemoryReportCreateInfoEXT & setPfnUserCallback( PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback_ ) VULKAN_HPP_NOEXCEPT + { + pfnUserCallback = pfnUserCallback_; + return *this; + } + + DeviceDeviceMemoryReportCreateInfoEXT & setPUserData( void* pUserData_ ) VULKAN_HPP_NOEXCEPT + { + pUserData = pUserData_; + return *this; + } + + + operator VkDeviceDeviceMemoryReportCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceDeviceMemoryReportCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceDeviceMemoryReportCreateInfoEXT const& ) const = default; +#else + bool operator==( DeviceDeviceMemoryReportCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pfnUserCallback == rhs.pfnUserCallback ) + && ( pUserData == rhs.pUserData ); + } + + bool operator!=( DeviceDeviceMemoryReportCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceDeviceMemoryReportCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags = {}; + PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback = {}; + void* pUserData = {}; + + }; + static_assert( sizeof( DeviceDeviceMemoryReportCreateInfoEXT ) == sizeof( VkDeviceDeviceMemoryReportCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceDeviceMemoryReportCreateInfoEXT; + }; + + struct DeviceDiagnosticsConfigCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceDiagnosticsConfigCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigCreateInfoNV(VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceDiagnosticsConfigCreateInfoNV( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceDiagnosticsConfigCreateInfoNV( VkDeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceDiagnosticsConfigCreateInfoNV & operator=( VkDeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceDiagnosticsConfigCreateInfoNV & operator=( DeviceDiagnosticsConfigCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceDiagnosticsConfigCreateInfoNV ) ); + return *this; + } + + DeviceDiagnosticsConfigCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceDiagnosticsConfigCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkDeviceDiagnosticsConfigCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceDiagnosticsConfigCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceDiagnosticsConfigCreateInfoNV const& ) const = default; +#else + bool operator==( DeviceDiagnosticsConfigCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( DeviceDiagnosticsConfigCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceDiagnosticsConfigCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceDiagnosticsConfigFlagsNV flags = {}; + + }; + static_assert( sizeof( DeviceDiagnosticsConfigCreateInfoNV ) == sizeof( VkDeviceDiagnosticsConfigCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceDiagnosticsConfigCreateInfoNV; + }; + + struct DeviceEventInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceEventInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT(VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_ = VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug) VULKAN_HPP_NOEXCEPT + : deviceEvent( deviceEvent_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT( DeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceEventInfoEXT( VkDeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceEventInfoEXT & operator=( VkDeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceEventInfoEXT & operator=( DeviceEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceEventInfoEXT ) ); + return *this; + } + + DeviceEventInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceEventInfoEXT & setDeviceEvent( VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_ ) VULKAN_HPP_NOEXCEPT + { + deviceEvent = deviceEvent_; + return *this; + } + + + operator VkDeviceEventInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceEventInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceEventInfoEXT const& ) const = default; +#else + bool operator==( DeviceEventInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceEvent == rhs.deviceEvent ); + } + + bool operator!=( DeviceEventInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceEventInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent = VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug; + + }; + static_assert( sizeof( DeviceEventInfoEXT ) == sizeof( VkDeviceEventInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceEventInfoEXT; + }; + + struct DeviceGroupBindSparseInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupBindSparseInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupBindSparseInfo(uint32_t resourceDeviceIndex_ = {}, uint32_t memoryDeviceIndex_ = {}) VULKAN_HPP_NOEXCEPT + : resourceDeviceIndex( resourceDeviceIndex_ ), memoryDeviceIndex( memoryDeviceIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupBindSparseInfo( DeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupBindSparseInfo( VkDeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupBindSparseInfo & operator=( VkDeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupBindSparseInfo & operator=( DeviceGroupBindSparseInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupBindSparseInfo ) ); + return *this; + } + + DeviceGroupBindSparseInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupBindSparseInfo & setResourceDeviceIndex( uint32_t resourceDeviceIndex_ ) VULKAN_HPP_NOEXCEPT + { + resourceDeviceIndex = resourceDeviceIndex_; + return *this; + } + + DeviceGroupBindSparseInfo & setMemoryDeviceIndex( uint32_t memoryDeviceIndex_ ) VULKAN_HPP_NOEXCEPT + { + memoryDeviceIndex = memoryDeviceIndex_; + return *this; + } + + + operator VkDeviceGroupBindSparseInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupBindSparseInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupBindSparseInfo const& ) const = default; +#else + bool operator==( DeviceGroupBindSparseInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( resourceDeviceIndex == rhs.resourceDeviceIndex ) + && ( memoryDeviceIndex == rhs.memoryDeviceIndex ); + } + + bool operator!=( DeviceGroupBindSparseInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupBindSparseInfo; + const void* pNext = {}; + uint32_t resourceDeviceIndex = {}; + uint32_t memoryDeviceIndex = {}; + + }; + static_assert( sizeof( DeviceGroupBindSparseInfo ) == sizeof( VkDeviceGroupBindSparseInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupBindSparseInfo; + }; + using DeviceGroupBindSparseInfoKHR = DeviceGroupBindSparseInfo; + + struct DeviceGroupCommandBufferBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupCommandBufferBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupCommandBufferBeginInfo(uint32_t deviceMask_ = {}) VULKAN_HPP_NOEXCEPT + : deviceMask( deviceMask_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupCommandBufferBeginInfo( DeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupCommandBufferBeginInfo( VkDeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupCommandBufferBeginInfo & operator=( VkDeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupCommandBufferBeginInfo & operator=( DeviceGroupCommandBufferBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupCommandBufferBeginInfo ) ); + return *this; + } + + DeviceGroupCommandBufferBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupCommandBufferBeginInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT + { + deviceMask = deviceMask_; + return *this; + } + + + operator VkDeviceGroupCommandBufferBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupCommandBufferBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupCommandBufferBeginInfo const& ) const = default; +#else + bool operator==( DeviceGroupCommandBufferBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceMask == rhs.deviceMask ); + } + + bool operator!=( DeviceGroupCommandBufferBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupCommandBufferBeginInfo; + const void* pNext = {}; + uint32_t deviceMask = {}; + + }; + static_assert( sizeof( DeviceGroupCommandBufferBeginInfo ) == sizeof( VkDeviceGroupCommandBufferBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupCommandBufferBeginInfo; + }; + using DeviceGroupCommandBufferBeginInfoKHR = DeviceGroupCommandBufferBeginInfo; + + class DisplayKHR + { + public: + using CType = VkDisplayKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDisplayKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDisplayKHR; + + public: + VULKAN_HPP_CONSTEXPR DisplayKHR() VULKAN_HPP_NOEXCEPT + : m_displayKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DisplayKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_displayKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DisplayKHR( VkDisplayKHR displayKHR ) VULKAN_HPP_NOEXCEPT + : m_displayKHR( displayKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DisplayKHR & operator=(VkDisplayKHR displayKHR) VULKAN_HPP_NOEXCEPT + { + m_displayKHR = displayKHR; + return *this; + } +#endif + + DisplayKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_displayKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayKHR const& ) const = default; +#else + bool operator==( DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR == rhs.m_displayKHR; + } + + bool operator!=(DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR != rhs.m_displayKHR; + } + + bool operator<(DisplayKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR < rhs.m_displayKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayKHR() const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_displayKHR == VK_NULL_HANDLE; + } + + private: + VkDisplayKHR m_displayKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DisplayKHR ) == sizeof( VkDisplayKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DisplayKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DisplayKHR; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DisplayKHR; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct PerformanceConfigurationAcquireInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceConfigurationAcquireInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PerformanceConfigurationAcquireInfoINTEL(VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type_ = VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated) VULKAN_HPP_NOEXCEPT + : type( type_ ) + {} + + VULKAN_HPP_CONSTEXPR PerformanceConfigurationAcquireInfoINTEL( PerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceConfigurationAcquireInfoINTEL( VkPerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceConfigurationAcquireInfoINTEL & operator=( VkPerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceConfigurationAcquireInfoINTEL & operator=( PerformanceConfigurationAcquireInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceConfigurationAcquireInfoINTEL ) ); + return *this; + } + + PerformanceConfigurationAcquireInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PerformanceConfigurationAcquireInfoINTEL & setType( VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + + operator VkPerformanceConfigurationAcquireInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceConfigurationAcquireInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceConfigurationAcquireInfoINTEL const& ) const = default; +#else + bool operator==( PerformanceConfigurationAcquireInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ); + } + + bool operator!=( PerformanceConfigurationAcquireInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceConfigurationAcquireInfoINTEL; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationTypeINTEL::eCommandQueueMetricsDiscoveryActivated; + + }; + static_assert( sizeof( PerformanceConfigurationAcquireInfoINTEL ) == sizeof( VkPerformanceConfigurationAcquireInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceConfigurationAcquireInfoINTEL; + }; + + class PerformanceConfigurationINTEL + { + public: + using CType = VkPerformanceConfigurationINTEL; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePerformanceConfigurationINTEL; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + + public: + VULKAN_HPP_CONSTEXPR PerformanceConfigurationINTEL() VULKAN_HPP_NOEXCEPT + : m_performanceConfigurationINTEL(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR PerformanceConfigurationINTEL( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_performanceConfigurationINTEL(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT PerformanceConfigurationINTEL( VkPerformanceConfigurationINTEL performanceConfigurationINTEL ) VULKAN_HPP_NOEXCEPT + : m_performanceConfigurationINTEL( performanceConfigurationINTEL ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + PerformanceConfigurationINTEL & operator=(VkPerformanceConfigurationINTEL performanceConfigurationINTEL) VULKAN_HPP_NOEXCEPT + { + m_performanceConfigurationINTEL = performanceConfigurationINTEL; + return *this; + } +#endif + + PerformanceConfigurationINTEL & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_performanceConfigurationINTEL = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceConfigurationINTEL const& ) const = default; +#else + bool operator==( PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL == rhs.m_performanceConfigurationINTEL; + } + + bool operator!=(PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL != rhs.m_performanceConfigurationINTEL; + } + + bool operator<(PerformanceConfigurationINTEL const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL < rhs.m_performanceConfigurationINTEL; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPerformanceConfigurationINTEL() const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_performanceConfigurationINTEL == VK_NULL_HANDLE; + } + + private: + VkPerformanceConfigurationINTEL m_performanceConfigurationINTEL; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL ) == sizeof( VkPerformanceConfigurationINTEL ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL; + }; + + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class QueryPool + { + public: + using CType = VkQueryPool; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eQueryPool; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eQueryPool; + + public: + VULKAN_HPP_CONSTEXPR QueryPool() VULKAN_HPP_NOEXCEPT + : m_queryPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR QueryPool( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_queryPool(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT QueryPool( VkQueryPool queryPool ) VULKAN_HPP_NOEXCEPT + : m_queryPool( queryPool ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + QueryPool & operator=(VkQueryPool queryPool) VULKAN_HPP_NOEXCEPT + { + m_queryPool = queryPool; + return *this; + } +#endif + + QueryPool & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_queryPool = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueryPool const& ) const = default; +#else + bool operator==( QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queryPool == rhs.m_queryPool; + } + + bool operator!=(QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queryPool != rhs.m_queryPool; + } + + bool operator<(QueryPool const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queryPool < rhs.m_queryPool; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueryPool() const VULKAN_HPP_NOEXCEPT + { + return m_queryPool; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_queryPool != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_queryPool == VK_NULL_HANDLE; + } + + private: + VkQueryPool m_queryPool; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::QueryPool ) == sizeof( VkQueryPool ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::QueryPool; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::QueryPool; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::QueryPool; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct RenderPassBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 RenderPassBeginInfo(VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ = {}, VULKAN_HPP_NAMESPACE::Rect2D renderArea_ = {}, uint32_t clearValueCount_ = {}, const VULKAN_HPP_NAMESPACE::ClearValue* pClearValues_ = {}) VULKAN_HPP_NOEXCEPT + : renderPass( renderPass_ ), framebuffer( framebuffer_ ), renderArea( renderArea_ ), clearValueCount( clearValueCount_ ), pClearValues( pClearValues_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 RenderPassBeginInfo( RenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassBeginInfo( VkRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassBeginInfo( VULKAN_HPP_NAMESPACE::RenderPass renderPass_, VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_, VULKAN_HPP_NAMESPACE::Rect2D renderArea_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & clearValues_ ) + : renderPass( renderPass_ ), framebuffer( framebuffer_ ), renderArea( renderArea_ ), clearValueCount( static_cast( clearValues_.size() ) ), pClearValues( clearValues_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassBeginInfo & operator=( VkRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassBeginInfo & operator=( RenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassBeginInfo ) ); + return *this; + } + + RenderPassBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassBeginInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT + { + renderPass = renderPass_; + return *this; + } + + RenderPassBeginInfo & setFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer_ ) VULKAN_HPP_NOEXCEPT + { + framebuffer = framebuffer_; + return *this; + } + + RenderPassBeginInfo & setRenderArea( VULKAN_HPP_NAMESPACE::Rect2D const & renderArea_ ) VULKAN_HPP_NOEXCEPT + { + renderArea = renderArea_; + return *this; + } + + RenderPassBeginInfo & setClearValueCount( uint32_t clearValueCount_ ) VULKAN_HPP_NOEXCEPT + { + clearValueCount = clearValueCount_; + return *this; + } + + RenderPassBeginInfo & setPClearValues( const VULKAN_HPP_NAMESPACE::ClearValue* pClearValues_ ) VULKAN_HPP_NOEXCEPT + { + pClearValues = pClearValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassBeginInfo & setClearValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & clearValues_ ) VULKAN_HPP_NOEXCEPT + { + clearValueCount = static_cast( clearValues_.size() ); + pClearValues = clearValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassBeginInfo const& ) const = default; +#else + bool operator==( RenderPassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( renderPass == rhs.renderPass ) + && ( framebuffer == rhs.framebuffer ) + && ( renderArea == rhs.renderArea ) + && ( clearValueCount == rhs.clearValueCount ) + && ( pClearValues == rhs.pClearValues ); + } + + bool operator!=( RenderPassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassBeginInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; + VULKAN_HPP_NAMESPACE::Framebuffer framebuffer = {}; + VULKAN_HPP_NAMESPACE::Rect2D renderArea = {}; + uint32_t clearValueCount = {}; + const VULKAN_HPP_NAMESPACE::ClearValue* pClearValues = {}; + + }; + static_assert( sizeof( RenderPassBeginInfo ) == sizeof( VkRenderPassBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassBeginInfo; + }; + + struct SubpassBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassBeginInfo(VULKAN_HPP_NAMESPACE::SubpassContents contents_ = VULKAN_HPP_NAMESPACE::SubpassContents::eInline) VULKAN_HPP_NOEXCEPT + : contents( contents_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassBeginInfo( SubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassBeginInfo( VkSubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassBeginInfo & operator=( VkSubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassBeginInfo & operator=( SubpassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassBeginInfo ) ); + return *this; + } + + SubpassBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SubpassBeginInfo & setContents( VULKAN_HPP_NAMESPACE::SubpassContents contents_ ) VULKAN_HPP_NOEXCEPT + { + contents = contents_; + return *this; + } + + + operator VkSubpassBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassBeginInfo const& ) const = default; +#else + bool operator==( SubpassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( contents == rhs.contents ); + } + + bool operator!=( SubpassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassBeginInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SubpassContents contents = VULKAN_HPP_NAMESPACE::SubpassContents::eInline; + + }; + static_assert( sizeof( SubpassBeginInfo ) == sizeof( VkSubpassBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubpassBeginInfo; + }; + using SubpassBeginInfoKHR = SubpassBeginInfo; + + struct ImageBlit + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 ImageBlit(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, std::array const& srcOffsets_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, std::array const& dstOffsets_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffsets( srcOffsets_ ), dstSubresource( dstSubresource_ ), dstOffsets( dstOffsets_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 ImageBlit( ImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageBlit( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageBlit & operator=( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageBlit & operator=( ImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageBlit ) ); + return *this; + } + + ImageBlit & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageBlit & setSrcOffsets( std::array const & srcOffsets_ ) VULKAN_HPP_NOEXCEPT + { + srcOffsets = srcOffsets_; + return *this; + } + + ImageBlit & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageBlit & setDstOffsets( std::array const & dstOffsets_ ) VULKAN_HPP_NOEXCEPT + { + dstOffsets = dstOffsets_; + return *this; + } + + + operator VkImageBlit const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageBlit &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageBlit const& ) const = default; +#else + bool operator==( ImageBlit const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( srcSubresource == rhs.srcSubresource ) + && ( srcOffsets == rhs.srcOffsets ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffsets == rhs.dstOffsets ); + } + + bool operator!=( ImageBlit const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D srcOffsets = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D dstOffsets = {}; + + }; + static_assert( sizeof( ImageBlit ) == sizeof( VkImageBlit ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageSubresourceRange + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageSubresourceRange(VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, uint32_t baseMipLevel_ = {}, uint32_t levelCount_ = {}, uint32_t baseArrayLayer_ = {}, uint32_t layerCount_ = {}) VULKAN_HPP_NOEXCEPT + : aspectMask( aspectMask_ ), baseMipLevel( baseMipLevel_ ), levelCount( levelCount_ ), baseArrayLayer( baseArrayLayer_ ), layerCount( layerCount_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageSubresourceRange( ImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageSubresourceRange( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageSubresourceRange & operator=( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageSubresourceRange & operator=( ImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageSubresourceRange ) ); + return *this; + } + + ImageSubresourceRange & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + ImageSubresourceRange & setBaseMipLevel( uint32_t baseMipLevel_ ) VULKAN_HPP_NOEXCEPT + { + baseMipLevel = baseMipLevel_; + return *this; + } + + ImageSubresourceRange & setLevelCount( uint32_t levelCount_ ) VULKAN_HPP_NOEXCEPT + { + levelCount = levelCount_; + return *this; + } + + ImageSubresourceRange & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT + { + baseArrayLayer = baseArrayLayer_; + return *this; + } + + ImageSubresourceRange & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT + { + layerCount = layerCount_; + return *this; + } + + + operator VkImageSubresourceRange const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageSubresourceRange &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageSubresourceRange const& ) const = default; +#else + bool operator==( ImageSubresourceRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( aspectMask == rhs.aspectMask ) + && ( baseMipLevel == rhs.baseMipLevel ) + && ( levelCount == rhs.levelCount ) + && ( baseArrayLayer == rhs.baseArrayLayer ) + && ( layerCount == rhs.layerCount ); + } + + bool operator!=( ImageSubresourceRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + uint32_t baseMipLevel = {}; + uint32_t levelCount = {}; + uint32_t baseArrayLayer = {}; + uint32_t layerCount = {}; + + }; + static_assert( sizeof( ImageSubresourceRange ) == sizeof( VkImageSubresourceRange ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageCopy + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageCopy(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffset( srcOffset_ ), dstSubresource( dstSubresource_ ), dstOffset( dstOffset_ ), extent( extent_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageCopy( ImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageCopy( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageCopy & operator=( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageCopy & operator=( ImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageCopy ) ); + return *this; + } + + ImageCopy & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageCopy & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + ImageCopy & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageCopy & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + ImageCopy & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + + operator VkImageCopy const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageCopy &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageCopy const& ) const = default; +#else + bool operator==( ImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( srcSubresource == rhs.srcSubresource ) + && ( srcOffset == rhs.srcOffset ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffset == rhs.dstOffset ) + && ( extent == rhs.extent ); + } + + bool operator!=( ImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + + }; + static_assert( sizeof( ImageCopy ) == sizeof( VkImageCopy ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SubpassEndInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassEndInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassEndInfo() VULKAN_HPP_NOEXCEPT + + {} + + VULKAN_HPP_CONSTEXPR SubpassEndInfo( SubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassEndInfo( VkSubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassEndInfo & operator=( VkSubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassEndInfo & operator=( SubpassEndInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassEndInfo ) ); + return *this; + } + + SubpassEndInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + + operator VkSubpassEndInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassEndInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassEndInfo const& ) const = default; +#else + bool operator==( SubpassEndInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ); + } + + bool operator!=( SubpassEndInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassEndInfo; + const void* pNext = {}; + + }; + static_assert( sizeof( SubpassEndInfo ) == sizeof( VkSubpassEndInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubpassEndInfo; + }; + using SubpassEndInfoKHR = SubpassEndInfo; + + class IndirectCommandsLayoutNV + { + public: + using CType = VkIndirectCommandsLayoutNV; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eIndirectCommandsLayoutNV; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + + public: + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNV() VULKAN_HPP_NOEXCEPT + : m_indirectCommandsLayoutNV(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNV( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_indirectCommandsLayoutNV(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT IndirectCommandsLayoutNV( VkIndirectCommandsLayoutNV indirectCommandsLayoutNV ) VULKAN_HPP_NOEXCEPT + : m_indirectCommandsLayoutNV( indirectCommandsLayoutNV ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + IndirectCommandsLayoutNV & operator=(VkIndirectCommandsLayoutNV indirectCommandsLayoutNV) VULKAN_HPP_NOEXCEPT + { + m_indirectCommandsLayoutNV = indirectCommandsLayoutNV; + return *this; + } +#endif + + IndirectCommandsLayoutNV & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_indirectCommandsLayoutNV = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( IndirectCommandsLayoutNV const& ) const = default; +#else + bool operator==( IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV == rhs.m_indirectCommandsLayoutNV; + } + + bool operator!=(IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV != rhs.m_indirectCommandsLayoutNV; + } + + bool operator<(IndirectCommandsLayoutNV const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV < rhs.m_indirectCommandsLayoutNV; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkIndirectCommandsLayoutNV() const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_indirectCommandsLayoutNV == VK_NULL_HANDLE; + } + + private: + VkIndirectCommandsLayoutNV m_indirectCommandsLayoutNV; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV ) == sizeof( VkIndirectCommandsLayoutNV ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV; + }; + + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct IndirectCommandsStreamNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR IndirectCommandsStreamNV(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), offset( offset_ ) + {} + + VULKAN_HPP_CONSTEXPR IndirectCommandsStreamNV( IndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + IndirectCommandsStreamNV( VkIndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + IndirectCommandsStreamNV & operator=( VkIndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + IndirectCommandsStreamNV & operator=( IndirectCommandsStreamNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( IndirectCommandsStreamNV ) ); + return *this; + } + + IndirectCommandsStreamNV & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + IndirectCommandsStreamNV & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + + operator VkIndirectCommandsStreamNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkIndirectCommandsStreamNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( IndirectCommandsStreamNV const& ) const = default; +#else + bool operator==( IndirectCommandsStreamNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( buffer == rhs.buffer ) + && ( offset == rhs.offset ); + } + + bool operator!=( IndirectCommandsStreamNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + + }; + static_assert( sizeof( IndirectCommandsStreamNV ) == sizeof( VkIndirectCommandsStreamNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct GeneratedCommandsInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeneratedCommandsInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeneratedCommandsInfoNV(VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ = {}, uint32_t streamCount_ = {}, const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV* pStreams_ = {}, uint32_t sequencesCount_ = {}, VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ = {}, VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ = {}, VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ = {}) VULKAN_HPP_NOEXCEPT + : pipelineBindPoint( pipelineBindPoint_ ), pipeline( pipeline_ ), indirectCommandsLayout( indirectCommandsLayout_ ), streamCount( streamCount_ ), pStreams( pStreams_ ), sequencesCount( sequencesCount_ ), preprocessBuffer( preprocessBuffer_ ), preprocessOffset( preprocessOffset_ ), preprocessSize( preprocessSize_ ), sequencesCountBuffer( sequencesCountBuffer_ ), sequencesCountOffset( sequencesCountOffset_ ), sequencesIndexBuffer( sequencesIndexBuffer_ ), sequencesIndexOffset( sequencesIndexOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR GeneratedCommandsInfoNV( GeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeneratedCommandsInfoNV( VkGeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GeneratedCommandsInfoNV( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, VULKAN_HPP_NAMESPACE::Pipeline pipeline_, VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streams_, uint32_t sequencesCount_ = {}, VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ = {}, VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ = {}, VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ = {} ) + : pipelineBindPoint( pipelineBindPoint_ ), pipeline( pipeline_ ), indirectCommandsLayout( indirectCommandsLayout_ ), streamCount( static_cast( streams_.size() ) ), pStreams( streams_.data() ), sequencesCount( sequencesCount_ ), preprocessBuffer( preprocessBuffer_ ), preprocessOffset( preprocessOffset_ ), preprocessSize( preprocessSize_ ), sequencesCountBuffer( sequencesCountBuffer_ ), sequencesCountOffset( sequencesCountOffset_ ), sequencesIndexBuffer( sequencesIndexBuffer_ ), sequencesIndexOffset( sequencesIndexOffset_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeneratedCommandsInfoNV & operator=( VkGeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeneratedCommandsInfoNV & operator=( GeneratedCommandsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeneratedCommandsInfoNV ) ); + return *this; + } + + GeneratedCommandsInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GeneratedCommandsInfoNV & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + GeneratedCommandsInfoNV & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT + { + pipeline = pipeline_; + return *this; + } + + GeneratedCommandsInfoNV & setIndirectCommandsLayout( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ ) VULKAN_HPP_NOEXCEPT + { + indirectCommandsLayout = indirectCommandsLayout_; + return *this; + } + + GeneratedCommandsInfoNV & setStreamCount( uint32_t streamCount_ ) VULKAN_HPP_NOEXCEPT + { + streamCount = streamCount_; + return *this; + } + + GeneratedCommandsInfoNV & setPStreams( const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV* pStreams_ ) VULKAN_HPP_NOEXCEPT + { + pStreams = pStreams_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GeneratedCommandsInfoNV & setStreams( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streams_ ) VULKAN_HPP_NOEXCEPT + { + streamCount = static_cast( streams_.size() ); + pStreams = streams_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + GeneratedCommandsInfoNV & setSequencesCount( uint32_t sequencesCount_ ) VULKAN_HPP_NOEXCEPT + { + sequencesCount = sequencesCount_; + return *this; + } + + GeneratedCommandsInfoNV & setPreprocessBuffer( VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer_ ) VULKAN_HPP_NOEXCEPT + { + preprocessBuffer = preprocessBuffer_; + return *this; + } + + GeneratedCommandsInfoNV & setPreprocessOffset( VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset_ ) VULKAN_HPP_NOEXCEPT + { + preprocessOffset = preprocessOffset_; + return *this; + } + + GeneratedCommandsInfoNV & setPreprocessSize( VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize_ ) VULKAN_HPP_NOEXCEPT + { + preprocessSize = preprocessSize_; + return *this; + } + + GeneratedCommandsInfoNV & setSequencesCountBuffer( VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer_ ) VULKAN_HPP_NOEXCEPT + { + sequencesCountBuffer = sequencesCountBuffer_; + return *this; + } + + GeneratedCommandsInfoNV & setSequencesCountOffset( VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset_ ) VULKAN_HPP_NOEXCEPT + { + sequencesCountOffset = sequencesCountOffset_; + return *this; + } + + GeneratedCommandsInfoNV & setSequencesIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer_ ) VULKAN_HPP_NOEXCEPT + { + sequencesIndexBuffer = sequencesIndexBuffer_; + return *this; + } + + GeneratedCommandsInfoNV & setSequencesIndexOffset( VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset_ ) VULKAN_HPP_NOEXCEPT + { + sequencesIndexOffset = sequencesIndexOffset_; + return *this; + } + + + operator VkGeneratedCommandsInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeneratedCommandsInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeneratedCommandsInfoNV const& ) const = default; +#else + bool operator==( GeneratedCommandsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( pipeline == rhs.pipeline ) + && ( indirectCommandsLayout == rhs.indirectCommandsLayout ) + && ( streamCount == rhs.streamCount ) + && ( pStreams == rhs.pStreams ) + && ( sequencesCount == rhs.sequencesCount ) + && ( preprocessBuffer == rhs.preprocessBuffer ) + && ( preprocessOffset == rhs.preprocessOffset ) + && ( preprocessSize == rhs.preprocessSize ) + && ( sequencesCountBuffer == rhs.sequencesCountBuffer ) + && ( sequencesCountOffset == rhs.sequencesCountOffset ) + && ( sequencesIndexBuffer == rhs.sequencesIndexBuffer ) + && ( sequencesIndexOffset == rhs.sequencesIndexOffset ); + } + + bool operator!=( GeneratedCommandsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeneratedCommandsInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; + VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout = {}; + uint32_t streamCount = {}; + const VULKAN_HPP_NAMESPACE::IndirectCommandsStreamNV* pStreams = {}; + uint32_t sequencesCount = {}; + VULKAN_HPP_NAMESPACE::Buffer preprocessBuffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize preprocessOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize preprocessSize = {}; + VULKAN_HPP_NAMESPACE::Buffer sequencesCountBuffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize sequencesCountOffset = {}; + VULKAN_HPP_NAMESPACE::Buffer sequencesIndexBuffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize sequencesIndexOffset = {}; + + }; + static_assert( sizeof( GeneratedCommandsInfoNV ) == sizeof( VkGeneratedCommandsInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GeneratedCommandsInfoNV; + }; + + struct MemoryBarrier + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryBarrier; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryBarrier(VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}) VULKAN_HPP_NOEXCEPT + : srcAccessMask( srcAccessMask_ ), dstAccessMask( dstAccessMask_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryBarrier( MemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryBarrier( VkMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryBarrier & operator=( VkMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryBarrier & operator=( MemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryBarrier ) ); + return *this; + } + + MemoryBarrier & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + srcAccessMask = srcAccessMask_; + return *this; + } + + MemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + dstAccessMask = dstAccessMask_; + return *this; + } + + + operator VkMemoryBarrier const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryBarrier &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryBarrier const& ) const = default; +#else + bool operator==( MemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcAccessMask == rhs.srcAccessMask ) + && ( dstAccessMask == rhs.dstAccessMask ); + } + + bool operator!=( MemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryBarrier; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; + + }; + static_assert( sizeof( MemoryBarrier ) == sizeof( VkMemoryBarrier ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryBarrier; + }; + + struct ImageMemoryBarrier + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageMemoryBarrier; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageMemoryBarrier(VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, uint32_t srcQueueFamilyIndex_ = {}, uint32_t dstQueueFamilyIndex_ = {}, VULKAN_HPP_NAMESPACE::Image image_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {}) VULKAN_HPP_NOEXCEPT + : srcAccessMask( srcAccessMask_ ), dstAccessMask( dstAccessMask_ ), oldLayout( oldLayout_ ), newLayout( newLayout_ ), srcQueueFamilyIndex( srcQueueFamilyIndex_ ), dstQueueFamilyIndex( dstQueueFamilyIndex_ ), image( image_ ), subresourceRange( subresourceRange_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageMemoryBarrier( ImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageMemoryBarrier( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageMemoryBarrier & operator=( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageMemoryBarrier & operator=( ImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageMemoryBarrier ) ); + return *this; + } + + ImageMemoryBarrier & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageMemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + srcAccessMask = srcAccessMask_; + return *this; + } + + ImageMemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + dstAccessMask = dstAccessMask_; + return *this; + } + + ImageMemoryBarrier & setOldLayout( VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ ) VULKAN_HPP_NOEXCEPT + { + oldLayout = oldLayout_; + return *this; + } + + ImageMemoryBarrier & setNewLayout( VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ ) VULKAN_HPP_NOEXCEPT + { + newLayout = newLayout_; + return *this; + } + + ImageMemoryBarrier & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + srcQueueFamilyIndex = srcQueueFamilyIndex_; + return *this; + } + + ImageMemoryBarrier & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + dstQueueFamilyIndex = dstQueueFamilyIndex_; + return *this; + } + + ImageMemoryBarrier & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + ImageMemoryBarrier & setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange const & subresourceRange_ ) VULKAN_HPP_NOEXCEPT + { + subresourceRange = subresourceRange_; + return *this; + } + + + operator VkImageMemoryBarrier const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageMemoryBarrier &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageMemoryBarrier const& ) const = default; +#else + bool operator==( ImageMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcAccessMask == rhs.srcAccessMask ) + && ( dstAccessMask == rhs.dstAccessMask ) + && ( oldLayout == rhs.oldLayout ) + && ( newLayout == rhs.newLayout ) + && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex ) + && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex ) + && ( image == rhs.image ) + && ( subresourceRange == rhs.subresourceRange ); + } + + bool operator!=( ImageMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryBarrier; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; + VULKAN_HPP_NAMESPACE::ImageLayout oldLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::ImageLayout newLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + uint32_t srcQueueFamilyIndex = {}; + uint32_t dstQueueFamilyIndex = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {}; + + }; + static_assert( sizeof( ImageMemoryBarrier ) == sizeof( VkImageMemoryBarrier ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageMemoryBarrier; + }; + + class BufferView + { + public: + using CType = VkBufferView; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eBufferView; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eBufferView; + + public: + VULKAN_HPP_CONSTEXPR BufferView() VULKAN_HPP_NOEXCEPT + : m_bufferView(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR BufferView( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_bufferView(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT BufferView( VkBufferView bufferView ) VULKAN_HPP_NOEXCEPT + : m_bufferView( bufferView ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + BufferView & operator=(VkBufferView bufferView) VULKAN_HPP_NOEXCEPT + { + m_bufferView = bufferView; + return *this; + } +#endif + + BufferView & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_bufferView = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( BufferView const& ) const = default; +#else + bool operator==( BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_bufferView == rhs.m_bufferView; + } + + bool operator!=(BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_bufferView != rhs.m_bufferView; + } + + bool operator<(BufferView const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_bufferView < rhs.m_bufferView; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBufferView() const VULKAN_HPP_NOEXCEPT + { + return m_bufferView; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_bufferView != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_bufferView == VK_NULL_HANDLE; + } + + private: + VkBufferView m_bufferView; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::BufferView ) == sizeof( VkBufferView ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::BufferView; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::BufferView; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::BufferView; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct WriteDescriptorSet + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWriteDescriptorSet; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR WriteDescriptorSet(VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ = {}, uint32_t dstBinding_ = {}, uint32_t dstArrayElement_ = {}, uint32_t descriptorCount_ = {}, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo_ = {}, const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView_ = {}) VULKAN_HPP_NOEXCEPT + : dstSet( dstSet_ ), dstBinding( dstBinding_ ), dstArrayElement( dstArrayElement_ ), descriptorCount( descriptorCount_ ), descriptorType( descriptorType_ ), pImageInfo( pImageInfo_ ), pBufferInfo( pBufferInfo_ ), pTexelBufferView( pTexelBufferView_ ) + {} + + VULKAN_HPP_CONSTEXPR WriteDescriptorSet( WriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + WriteDescriptorSet( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_, uint32_t dstBinding_, uint32_t dstArrayElement_, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageInfo_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bufferInfo_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & texelBufferView_ = {} ) + : dstSet( dstSet_ ), dstBinding( dstBinding_ ), dstArrayElement( dstArrayElement_ ), descriptorCount( static_cast( !imageInfo_.empty() ? imageInfo_.size() : !bufferInfo_.empty() ? bufferInfo_.size() : texelBufferView_.size() ) ), descriptorType( descriptorType_ ), pImageInfo( imageInfo_.data() ), pBufferInfo( bufferInfo_.data() ), pTexelBufferView( texelBufferView_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() ) == 1 ); +#else + if ( ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() ) != 1 ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::WriteDescriptorSet::WriteDescriptorSet: ( !imageInfo_.empty() + !bufferInfo_.empty() + !texelBufferView_.empty() ) != 1" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + WriteDescriptorSet & operator=( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + WriteDescriptorSet & operator=( WriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( WriteDescriptorSet ) ); + return *this; + } + + WriteDescriptorSet & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + WriteDescriptorSet & setDstSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ ) VULKAN_HPP_NOEXCEPT + { + dstSet = dstSet_; + return *this; + } + + WriteDescriptorSet & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT + { + dstBinding = dstBinding_; + return *this; + } + + WriteDescriptorSet & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT + { + dstArrayElement = dstArrayElement_; + return *this; + } + + WriteDescriptorSet & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = descriptorCount_; + return *this; + } + + WriteDescriptorSet & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT + { + descriptorType = descriptorType_; + return *this; + } + + WriteDescriptorSet & setPImageInfo( const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo_ ) VULKAN_HPP_NOEXCEPT + { + pImageInfo = pImageInfo_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSet & setImageInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageInfo_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = static_cast( imageInfo_.size() ); + pImageInfo = imageInfo_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + WriteDescriptorSet & setPBufferInfo( const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo_ ) VULKAN_HPP_NOEXCEPT + { + pBufferInfo = pBufferInfo_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSet & setBufferInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & bufferInfo_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = static_cast( bufferInfo_.size() ); + pBufferInfo = bufferInfo_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + WriteDescriptorSet & setPTexelBufferView( const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView_ ) VULKAN_HPP_NOEXCEPT + { + pTexelBufferView = pTexelBufferView_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSet & setTexelBufferView( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & texelBufferView_ ) VULKAN_HPP_NOEXCEPT + { + descriptorCount = static_cast( texelBufferView_.size() ); + pTexelBufferView = texelBufferView_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkWriteDescriptorSet const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWriteDescriptorSet &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( WriteDescriptorSet const& ) const = default; +#else + bool operator==( WriteDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( dstSet == rhs.dstSet ) + && ( dstBinding == rhs.dstBinding ) + && ( dstArrayElement == rhs.dstArrayElement ) + && ( descriptorCount == rhs.descriptorCount ) + && ( descriptorType == rhs.descriptorType ) + && ( pImageInfo == rhs.pImageInfo ) + && ( pBufferInfo == rhs.pBufferInfo ) + && ( pTexelBufferView == rhs.pTexelBufferView ); + } + + bool operator!=( WriteDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSet; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DescriptorSet dstSet = {}; + uint32_t dstBinding = {}; + uint32_t dstArrayElement = {}; + uint32_t descriptorCount = {}; + VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; + const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo = {}; + const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo = {}; + const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView = {}; + + }; + static_assert( sizeof( WriteDescriptorSet ) == sizeof( VkWriteDescriptorSet ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = WriteDescriptorSet; + }; + + class DescriptorUpdateTemplate + { + public: + using CType = VkDescriptorUpdateTemplate; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDescriptorUpdateTemplate; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDescriptorUpdateTemplate; + + public: + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate() VULKAN_HPP_NOEXCEPT + : m_descriptorUpdateTemplate(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_descriptorUpdateTemplate(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate ) VULKAN_HPP_NOEXCEPT + : m_descriptorUpdateTemplate( descriptorUpdateTemplate ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DescriptorUpdateTemplate & operator=(VkDescriptorUpdateTemplate descriptorUpdateTemplate) VULKAN_HPP_NOEXCEPT + { + m_descriptorUpdateTemplate = descriptorUpdateTemplate; + return *this; + } +#endif + + DescriptorUpdateTemplate & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_descriptorUpdateTemplate = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DescriptorUpdateTemplate const& ) const = default; +#else + bool operator==( DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate == rhs.m_descriptorUpdateTemplate; + } + + bool operator!=(DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate != rhs.m_descriptorUpdateTemplate; + } + + bool operator<(DescriptorUpdateTemplate const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate < rhs.m_descriptorUpdateTemplate; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorUpdateTemplate() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_descriptorUpdateTemplate == VK_NULL_HANDLE; + } + + private: + VkDescriptorUpdateTemplate m_descriptorUpdateTemplate; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate ) == sizeof( VkDescriptorUpdateTemplate ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate; + + class Event + { + public: + using CType = VkEvent; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eEvent; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eEvent; + + public: + VULKAN_HPP_CONSTEXPR Event() VULKAN_HPP_NOEXCEPT + : m_event(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Event( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_event(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Event( VkEvent event ) VULKAN_HPP_NOEXCEPT + : m_event( event ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Event & operator=(VkEvent event) VULKAN_HPP_NOEXCEPT + { + m_event = event; + return *this; + } +#endif + + Event & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_event = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Event const& ) const = default; +#else + bool operator==( Event const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_event == rhs.m_event; + } + + bool operator!=(Event const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_event != rhs.m_event; + } + + bool operator<(Event const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_event < rhs.m_event; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkEvent() const VULKAN_HPP_NOEXCEPT + { + return m_event; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_event != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_event == VK_NULL_HANDLE; + } + + private: + VkEvent m_event; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Event ) == sizeof( VkEvent ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Event; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Event; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Event; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct ImageResolve + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageResolve(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffset( srcOffset_ ), dstSubresource( dstSubresource_ ), dstOffset( dstOffset_ ), extent( extent_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageResolve( ImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageResolve( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageResolve & operator=( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageResolve & operator=( ImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageResolve ) ); + return *this; + } + + ImageResolve & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageResolve & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + ImageResolve & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageResolve & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + ImageResolve & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + + operator VkImageResolve const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageResolve &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageResolve const& ) const = default; +#else + bool operator==( ImageResolve const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( srcSubresource == rhs.srcSubresource ) + && ( srcOffset == rhs.srcOffset ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffset == rhs.dstOffset ) + && ( extent == rhs.extent ); + } + + bool operator!=( ImageResolve const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + + }; + static_assert( sizeof( ImageResolve ) == sizeof( VkImageResolve ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageResolve2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageResolve2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageResolve2KHR(VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {}, VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {}, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubresource( srcSubresource_ ), srcOffset( srcOffset_ ), dstSubresource( dstSubresource_ ), dstOffset( dstOffset_ ), extent( extent_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageResolve2KHR( ImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageResolve2KHR( VkImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageResolve2KHR & operator=( VkImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageResolve2KHR & operator=( ImageResolve2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageResolve2KHR ) ); + return *this; + } + + ImageResolve2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageResolve2KHR & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & srcSubresource_ ) VULKAN_HPP_NOEXCEPT + { + srcSubresource = srcSubresource_; + return *this; + } + + ImageResolve2KHR & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D const & srcOffset_ ) VULKAN_HPP_NOEXCEPT + { + srcOffset = srcOffset_; + return *this; + } + + ImageResolve2KHR & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers const & dstSubresource_ ) VULKAN_HPP_NOEXCEPT + { + dstSubresource = dstSubresource_; + return *this; + } + + ImageResolve2KHR & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D const & dstOffset_ ) VULKAN_HPP_NOEXCEPT + { + dstOffset = dstOffset_; + return *this; + } + + ImageResolve2KHR & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + + operator VkImageResolve2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageResolve2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageResolve2KHR const& ) const = default; +#else + bool operator==( ImageResolve2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcSubresource == rhs.srcSubresource ) + && ( srcOffset == rhs.srcOffset ) + && ( dstSubresource == rhs.dstSubresource ) + && ( dstOffset == rhs.dstOffset ) + && ( extent == rhs.extent ); + } + + bool operator!=( ImageResolve2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageResolve2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {}; + VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {}; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + + }; + static_assert( sizeof( ImageResolve2KHR ) == sizeof( VkImageResolve2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageResolve2KHR; + }; + + struct ResolveImageInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eResolveImageInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ResolveImageInfo2KHR(VULKAN_HPP_NAMESPACE::Image srcImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, VULKAN_HPP_NAMESPACE::Image dstImage_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined, uint32_t regionCount_ = {}, const VULKAN_HPP_NAMESPACE::ImageResolve2KHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( regionCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR ResolveImageInfo2KHR( ResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ResolveImageInfo2KHR( VkResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ResolveImageInfo2KHR( VULKAN_HPP_NAMESPACE::Image srcImage_, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_, VULKAN_HPP_NAMESPACE::Image dstImage_, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : srcImage( srcImage_ ), srcImageLayout( srcImageLayout_ ), dstImage( dstImage_ ), dstImageLayout( dstImageLayout_ ), regionCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ResolveImageInfo2KHR & operator=( VkResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ResolveImageInfo2KHR & operator=( ResolveImageInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ResolveImageInfo2KHR ) ); + return *this; + } + + ResolveImageInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ResolveImageInfo2KHR & setSrcImage( VULKAN_HPP_NAMESPACE::Image srcImage_ ) VULKAN_HPP_NOEXCEPT + { + srcImage = srcImage_; + return *this; + } + + ResolveImageInfo2KHR & setSrcImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + srcImageLayout = srcImageLayout_; + return *this; + } + + ResolveImageInfo2KHR & setDstImage( VULKAN_HPP_NAMESPACE::Image dstImage_ ) VULKAN_HPP_NOEXCEPT + { + dstImage = dstImage_; + return *this; + } + + ResolveImageInfo2KHR & setDstImageLayout( VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout_ ) VULKAN_HPP_NOEXCEPT + { + dstImageLayout = dstImageLayout_; + return *this; + } + + ResolveImageInfo2KHR & setRegionCount( uint32_t regionCount_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = regionCount_; + return *this; + } + + ResolveImageInfo2KHR & setPRegions( const VULKAN_HPP_NAMESPACE::ImageResolve2KHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ResolveImageInfo2KHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + regionCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkResolveImageInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkResolveImageInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ResolveImageInfo2KHR const& ) const = default; +#else + bool operator==( ResolveImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcImage == rhs.srcImage ) + && ( srcImageLayout == rhs.srcImageLayout ) + && ( dstImage == rhs.dstImage ) + && ( dstImageLayout == rhs.dstImageLayout ) + && ( regionCount == rhs.regionCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( ResolveImageInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eResolveImageInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image srcImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + VULKAN_HPP_NAMESPACE::Image dstImage = {}; + VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + uint32_t regionCount = {}; + const VULKAN_HPP_NAMESPACE::ImageResolve2KHR* pRegions = {}; + + }; + static_assert( sizeof( ResolveImageInfo2KHR ) == sizeof( VkResolveImageInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ResolveImageInfo2KHR; + }; + + struct PerformanceMarkerInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceMarkerInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PerformanceMarkerInfoINTEL(uint64_t marker_ = {}) VULKAN_HPP_NOEXCEPT + : marker( marker_ ) + {} + + VULKAN_HPP_CONSTEXPR PerformanceMarkerInfoINTEL( PerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceMarkerInfoINTEL( VkPerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceMarkerInfoINTEL & operator=( VkPerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceMarkerInfoINTEL & operator=( PerformanceMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceMarkerInfoINTEL ) ); + return *this; + } + + PerformanceMarkerInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PerformanceMarkerInfoINTEL & setMarker( uint64_t marker_ ) VULKAN_HPP_NOEXCEPT + { + marker = marker_; + return *this; + } + + + operator VkPerformanceMarkerInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceMarkerInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceMarkerInfoINTEL const& ) const = default; +#else + bool operator==( PerformanceMarkerInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( marker == rhs.marker ); + } + + bool operator!=( PerformanceMarkerInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceMarkerInfoINTEL; + const void* pNext = {}; + uint64_t marker = {}; + + }; + static_assert( sizeof( PerformanceMarkerInfoINTEL ) == sizeof( VkPerformanceMarkerInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceMarkerInfoINTEL; + }; + + struct PerformanceOverrideInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceOverrideInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PerformanceOverrideInfoINTEL(VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type_ = VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL::eNullHardware, VULKAN_HPP_NAMESPACE::Bool32 enable_ = {}, uint64_t parameter_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), enable( enable_ ), parameter( parameter_ ) + {} + + VULKAN_HPP_CONSTEXPR PerformanceOverrideInfoINTEL( PerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceOverrideInfoINTEL( VkPerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceOverrideInfoINTEL & operator=( VkPerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceOverrideInfoINTEL & operator=( PerformanceOverrideInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceOverrideInfoINTEL ) ); + return *this; + } + + PerformanceOverrideInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PerformanceOverrideInfoINTEL & setType( VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + PerformanceOverrideInfoINTEL & setEnable( VULKAN_HPP_NAMESPACE::Bool32 enable_ ) VULKAN_HPP_NOEXCEPT + { + enable = enable_; + return *this; + } + + PerformanceOverrideInfoINTEL & setParameter( uint64_t parameter_ ) VULKAN_HPP_NOEXCEPT + { + parameter = parameter_; + return *this; + } + + + operator VkPerformanceOverrideInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceOverrideInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceOverrideInfoINTEL const& ) const = default; +#else + bool operator==( PerformanceOverrideInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( enable == rhs.enable ) + && ( parameter == rhs.parameter ); + } + + bool operator!=( PerformanceOverrideInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceOverrideInfoINTEL; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL type = VULKAN_HPP_NAMESPACE::PerformanceOverrideTypeINTEL::eNullHardware; + VULKAN_HPP_NAMESPACE::Bool32 enable = {}; + uint64_t parameter = {}; + + }; + static_assert( sizeof( PerformanceOverrideInfoINTEL ) == sizeof( VkPerformanceOverrideInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceOverrideInfoINTEL; + }; + + struct PerformanceStreamMarkerInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceStreamMarkerInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PerformanceStreamMarkerInfoINTEL(uint32_t marker_ = {}) VULKAN_HPP_NOEXCEPT + : marker( marker_ ) + {} + + VULKAN_HPP_CONSTEXPR PerformanceStreamMarkerInfoINTEL( PerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceStreamMarkerInfoINTEL( VkPerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceStreamMarkerInfoINTEL & operator=( VkPerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceStreamMarkerInfoINTEL & operator=( PerformanceStreamMarkerInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceStreamMarkerInfoINTEL ) ); + return *this; + } + + PerformanceStreamMarkerInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PerformanceStreamMarkerInfoINTEL & setMarker( uint32_t marker_ ) VULKAN_HPP_NOEXCEPT + { + marker = marker_; + return *this; + } + + + operator VkPerformanceStreamMarkerInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceStreamMarkerInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceStreamMarkerInfoINTEL const& ) const = default; +#else + bool operator==( PerformanceStreamMarkerInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( marker == rhs.marker ); + } + + bool operator!=( PerformanceStreamMarkerInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceStreamMarkerInfoINTEL; + const void* pNext = {}; + uint32_t marker = {}; + + }; + static_assert( sizeof( PerformanceStreamMarkerInfoINTEL ) == sizeof( VkPerformanceStreamMarkerInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceStreamMarkerInfoINTEL; + }; + + struct Viewport + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Viewport(float x_ = {}, float y_ = {}, float width_ = {}, float height_ = {}, float minDepth_ = {}, float maxDepth_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ), width( width_ ), height( height_ ), minDepth( minDepth_ ), maxDepth( maxDepth_ ) + {} + + VULKAN_HPP_CONSTEXPR Viewport( Viewport const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Viewport( VkViewport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Viewport & operator=( VkViewport const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Viewport & operator=( Viewport const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Viewport ) ); + return *this; + } + + Viewport & setX( float x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + Viewport & setY( float y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + Viewport & setWidth( float width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + Viewport & setHeight( float height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + Viewport & setMinDepth( float minDepth_ ) VULKAN_HPP_NOEXCEPT + { + minDepth = minDepth_; + return *this; + } + + Viewport & setMaxDepth( float maxDepth_ ) VULKAN_HPP_NOEXCEPT + { + maxDepth = maxDepth_; + return *this; + } + + + operator VkViewport const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkViewport &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Viewport const& ) const = default; +#else + bool operator==( Viewport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ) + && ( width == rhs.width ) + && ( height == rhs.height ) + && ( minDepth == rhs.minDepth ) + && ( maxDepth == rhs.maxDepth ); + } + + bool operator!=( Viewport const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float x = {}; + float y = {}; + float width = {}; + float height = {}; + float minDepth = {}; + float maxDepth = {}; + + }; + static_assert( sizeof( Viewport ) == sizeof( VkViewport ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ShadingRatePaletteNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ShadingRatePaletteNV(uint32_t shadingRatePaletteEntryCount_ = {}, const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV* pShadingRatePaletteEntries_ = {}) VULKAN_HPP_NOEXCEPT + : shadingRatePaletteEntryCount( shadingRatePaletteEntryCount_ ), pShadingRatePaletteEntries( pShadingRatePaletteEntries_ ) + {} + + VULKAN_HPP_CONSTEXPR ShadingRatePaletteNV( ShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ShadingRatePaletteNV( VkShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ShadingRatePaletteNV( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & shadingRatePaletteEntries_ ) + : shadingRatePaletteEntryCount( static_cast( shadingRatePaletteEntries_.size() ) ), pShadingRatePaletteEntries( shadingRatePaletteEntries_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ShadingRatePaletteNV & operator=( VkShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ShadingRatePaletteNV & operator=( ShadingRatePaletteNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ShadingRatePaletteNV ) ); + return *this; + } + + ShadingRatePaletteNV & setShadingRatePaletteEntryCount( uint32_t shadingRatePaletteEntryCount_ ) VULKAN_HPP_NOEXCEPT + { + shadingRatePaletteEntryCount = shadingRatePaletteEntryCount_; + return *this; + } + + ShadingRatePaletteNV & setPShadingRatePaletteEntries( const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV* pShadingRatePaletteEntries_ ) VULKAN_HPP_NOEXCEPT + { + pShadingRatePaletteEntries = pShadingRatePaletteEntries_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ShadingRatePaletteNV & setShadingRatePaletteEntries( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & shadingRatePaletteEntries_ ) VULKAN_HPP_NOEXCEPT + { + shadingRatePaletteEntryCount = static_cast( shadingRatePaletteEntries_.size() ); + pShadingRatePaletteEntries = shadingRatePaletteEntries_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkShadingRatePaletteNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkShadingRatePaletteNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShadingRatePaletteNV const& ) const = default; +#else + bool operator==( ShadingRatePaletteNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( shadingRatePaletteEntryCount == rhs.shadingRatePaletteEntryCount ) + && ( pShadingRatePaletteEntries == rhs.pShadingRatePaletteEntries ); + } + + bool operator!=( ShadingRatePaletteNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t shadingRatePaletteEntryCount = {}; + const VULKAN_HPP_NAMESPACE::ShadingRatePaletteEntryNV* pShadingRatePaletteEntries = {}; + + }; + static_assert( sizeof( ShadingRatePaletteNV ) == sizeof( VkShadingRatePaletteNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ViewportWScalingNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ViewportWScalingNV(float xcoeff_ = {}, float ycoeff_ = {}) VULKAN_HPP_NOEXCEPT + : xcoeff( xcoeff_ ), ycoeff( ycoeff_ ) + {} + + VULKAN_HPP_CONSTEXPR ViewportWScalingNV( ViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ViewportWScalingNV( VkViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ViewportWScalingNV & operator=( VkViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ViewportWScalingNV & operator=( ViewportWScalingNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ViewportWScalingNV ) ); + return *this; + } + + ViewportWScalingNV & setXcoeff( float xcoeff_ ) VULKAN_HPP_NOEXCEPT + { + xcoeff = xcoeff_; + return *this; + } + + ViewportWScalingNV & setYcoeff( float ycoeff_ ) VULKAN_HPP_NOEXCEPT + { + ycoeff = ycoeff_; + return *this; + } + + + operator VkViewportWScalingNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkViewportWScalingNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ViewportWScalingNV const& ) const = default; +#else + bool operator==( ViewportWScalingNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( xcoeff == rhs.xcoeff ) + && ( ycoeff == rhs.ycoeff ); + } + + bool operator!=( ViewportWScalingNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float xcoeff = {}; + float ycoeff = {}; + + }; + static_assert( sizeof( ViewportWScalingNV ) == sizeof( VkViewportWScalingNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct StridedBufferRegionKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR StridedBufferRegionKHR(VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize stride_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ), offset( offset_ ), stride( stride_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR StridedBufferRegionKHR( StridedBufferRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + StridedBufferRegionKHR( VkStridedBufferRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + + explicit StridedBufferRegionKHR( IndirectCommandsStreamNV const& indirectCommandsStreamNV, VULKAN_HPP_NAMESPACE::DeviceSize stride_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {} ) + : buffer( indirectCommandsStreamNV.buffer ) + , offset( indirectCommandsStreamNV.offset ) + , stride( stride_ ) + , size( size_ ) + {} +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + StridedBufferRegionKHR & operator=( VkStridedBufferRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + StridedBufferRegionKHR & operator=( StridedBufferRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( StridedBufferRegionKHR ) ); + return *this; + } + + StridedBufferRegionKHR & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + StridedBufferRegionKHR & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + StridedBufferRegionKHR & setStride( VULKAN_HPP_NAMESPACE::DeviceSize stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + StridedBufferRegionKHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkStridedBufferRegionKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkStridedBufferRegionKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( StridedBufferRegionKHR const& ) const = default; +#else + bool operator==( StridedBufferRegionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( buffer == rhs.buffer ) + && ( offset == rhs.offset ) + && ( stride == rhs.stride ) + && ( size == rhs.size ); + } + + bool operator!=( StridedBufferRegionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize stride = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( StridedBufferRegionKHR ) == sizeof( VkStridedBufferRegionKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + class CommandBuffer + { + public: + using CType = VkCommandBuffer; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eCommandBuffer; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eCommandBuffer; + + public: + VULKAN_HPP_CONSTEXPR CommandBuffer() VULKAN_HPP_NOEXCEPT + : m_commandBuffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR CommandBuffer( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_commandBuffer(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT CommandBuffer( VkCommandBuffer commandBuffer ) VULKAN_HPP_NOEXCEPT + : m_commandBuffer( commandBuffer ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + CommandBuffer & operator=(VkCommandBuffer commandBuffer) VULKAN_HPP_NOEXCEPT + { + m_commandBuffer = commandBuffer; + return *this; + } +#endif + + CommandBuffer & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_commandBuffer = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( CommandBuffer const& ) const = default; +#else + bool operator==( CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer == rhs.m_commandBuffer; + } + + bool operator!=(CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer != rhs.m_commandBuffer; + } + + bool operator<(CommandBuffer const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer < rhs.m_commandBuffer; + } +#endif + + + template + VULKAN_HPP_NODISCARD Result begin( const VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo* pBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type begin( const CommandBufferBeginInfo & beginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginConditionalRenderingEXT( const VULKAN_HPP_NAMESPACE::ConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, VULKAN_HPP_NAMESPACE::QueryControlFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, VULKAN_HPP_NAMESPACE::QueryControlFlags flags, uint32_t index, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void beginRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginRenderPass( const RenderPassBeginInfo & renderPassBegin, VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void beginRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VULKAN_HPP_NAMESPACE::Buffer* pCounterBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pCounterBufferOffsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t firstSet, ArrayProxy const & descriptorSets, ArrayProxy const & dynamicOffsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::IndexType indexType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void bindPipeline( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void bindPipelineShaderGroupNV( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t groupIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, const VULKAN_HPP_NAMESPACE::DeviceSize* pSizes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, ArrayProxy const & sizes VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void bindVertexBuffers( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void bindVertexBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, const VULKAN_HPP_NAMESPACE::DeviceSize* pSizes, const VULKAN_HPP_NAMESPACE::DeviceSize* pStrides, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void bindVertexBuffers2EXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, ArrayProxy const & sizes VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, ArrayProxy const & strides VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageBlit* pRegions, VULKAN_HPP_NAMESPACE::Filter filter, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, VULKAN_HPP_NAMESPACE::Filter filter, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void blitImage2KHR( const VULKAN_HPP_NAMESPACE::BlitImageInfo2KHR* pBlitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void blitImage2KHR( const BlitImageInfo2KHR & blitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void buildAccelerationStructureIndirectKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NAMESPACE::DeviceSize indirectOffset, uint32_t indirectStride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void buildAccelerationStructureIndirectKHR( const AccelerationStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NAMESPACE::DeviceSize indirectOffset, uint32_t indirectStride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void buildAccelerationStructureKHR( uint32_t infoCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfos, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void buildAccelerationStructureKHR( ArrayProxy const & infos, ArrayProxy const & pOffsetInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void buildAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV* pInfo, VULKAN_HPP_NAMESPACE::Buffer instanceData, VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, VULKAN_HPP_NAMESPACE::Bool32 update, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::Buffer scratch, VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, VULKAN_HPP_NAMESPACE::Buffer instanceData, VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, VULKAN_HPP_NAMESPACE::Bool32 update, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::Buffer scratch, VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void clearAttachments( uint32_t attachmentCount, const VULKAN_HPP_NAMESPACE::ClearAttachment* pAttachments, uint32_t rectCount, const VULKAN_HPP_NAMESPACE::ClearRect* pRects, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void clearAttachments( ArrayProxy const & attachments, ArrayProxy const & rects, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void clearColorImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const VULKAN_HPP_NAMESPACE::ClearColorValue* pColor, uint32_t rangeCount, const VULKAN_HPP_NAMESPACE::ImageSubresourceRange* pRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void clearColorImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy const & ranges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const VULKAN_HPP_NAMESPACE::ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VULKAN_HPP_NAMESPACE::ImageSubresourceRange* pRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy const & ranges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void copyAccelerationStructureToMemoryKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferCopy* pRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferInfo2KHR* pCopyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyBuffer2KHR( const CopyBufferInfo2KHR & copyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferImageCopy* pRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyBufferToImage2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferToImageInfo2KHR* pCopyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyBufferToImage2KHR( const CopyBufferToImageInfo2KHR & copyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageCopy* pRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyImage2KHR( const VULKAN_HPP_NAMESPACE::CopyImageInfo2KHR* pCopyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyImage2KHR( const CopyImageInfo2KHR & copyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferImageCopy* pRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void copyImageToBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyImageToBufferInfo2KHR* pCopyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyImageToBuffer2KHR( const CopyImageToBufferInfo2KHR & copyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void copyMemoryToAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void debugMarkerBeginEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void debugMarkerEndEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void debugMarkerInsertEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndirectByteCountEXT( uint32_t instanceCount, uint32_t firstInstance, VULKAN_HPP_NAMESPACE::Buffer counterBuffer, VULKAN_HPP_NAMESPACE::DeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endConditionalRenderingEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, uint32_t index, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endRenderPass( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void endRenderPass2( const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void endRenderPass2( const SubpassEndInfo & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void endRenderPass2KHR( const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void endTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VULKAN_HPP_NAMESPACE::Buffer* pCounterBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pCounterBufferOffsets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void endTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void executeCommands( uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void executeCommands( ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV* pGeneratedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, const GeneratedCommandsInfoNV & generatedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize size, uint32_t data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void nextSubpass( VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void nextSubpass2( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void nextSubpass2KHR( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VULKAN_HPP_NAMESPACE::MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, ArrayProxy const & memoryBarriers, ArrayProxy const & bufferMemoryBarriers, ArrayProxy const & imageMemoryBarriers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void preprocessGeneratedCommandsNV( const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV* pGeneratedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy const & values, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VULKAN_HPP_NAMESPACE::WriteDescriptorSet* pDescriptorWrites, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, ArrayProxy const & descriptorWrites, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void pushDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, const void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void resetEvent( VULKAN_HPP_NAMESPACE::Event event, VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageResolve* pRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void resolveImage2KHR( const VULKAN_HPP_NAMESPACE::ResolveImageInfo2KHR* pResolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void resolveImage2KHR( const ResolveImageInfo2KHR & resolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setBlendConstants( const float blendConstants[4], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setCheckpointNV( const void* pCheckpointMarker, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV* pCustomSampleOrders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, ArrayProxy const & customSampleOrders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setCullModeEXT( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthBoundsTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDepthWriteEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDeviceMask( uint32_t deviceMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void setDeviceMaskKHR( uint32_t deviceMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VULKAN_HPP_NAMESPACE::Rect2D* pDiscardRectangles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy const & discardRectangles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setEvent( VULKAN_HPP_NAMESPACE::Event event, VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pExclusiveScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setExclusiveScissorNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setFragmentShadingRateEnumNV( VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setFragmentShadingRateKHR( const VULKAN_HPP_NAMESPACE::Extent2D* pFragmentSize, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setFragmentShadingRateKHR( const Extent2D & fragmentSize, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setFrontFaceEXT( VULKAN_HPP_NAMESPACE::FrontFace frontFace, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setLineWidth( float lineWidth, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + VULKAN_HPP_NODISCARD Result setPerformanceMarkerINTEL( const VULKAN_HPP_NAMESPACE::PerformanceMarkerInfoINTEL* pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result setPerformanceOverrideINTEL( const VULKAN_HPP_NAMESPACE::PerformanceOverrideInfoINTEL* pOverrideInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result setPerformanceStreamMarkerINTEL( const VULKAN_HPP_NAMESPACE::PerformanceStreamMarkerInfoINTEL* pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setPrimitiveTopologyEXT( VULKAN_HPP_NAMESPACE::PrimitiveTopology primitiveTopology, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setSampleLocationsEXT( const VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setScissor( uint32_t firstScissor, uint32_t scissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setScissor( uint32_t firstScissor, ArrayProxy const & scissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setScissorWithCountEXT( uint32_t scissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setScissorWithCountEXT( ArrayProxy const & scissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setStencilCompareMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setStencilOpEXT( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, VULKAN_HPP_NAMESPACE::StencilOp failOp, VULKAN_HPP_NAMESPACE::StencilOp passOp, VULKAN_HPP_NAMESPACE::StencilOp depthFailOp, VULKAN_HPP_NAMESPACE::CompareOp compareOp, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setStencilReference( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t reference, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setStencilTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setStencilWriteMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void setViewport( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::Viewport* pViewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setViewport( uint32_t firstViewport, ArrayProxy const & viewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV* pShadingRatePalettes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setViewportShadingRatePaletteNV( uint32_t firstViewport, ArrayProxy const & shadingRatePalettes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::ViewportWScalingNV* pViewportWScalings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setViewportWScalingNV( uint32_t firstViewport, ArrayProxy const & viewportWScalings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setViewportWithCountEXT( uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::Viewport* pViewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setViewportWithCountEXT( ArrayProxy const & viewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void traceRaysIndirectKHR( const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pRaygenShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pMissShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pHitShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pCallableShaderBindingTable, VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void traceRaysIndirectKHR( const StridedBufferRegionKHR & raygenShaderBindingTable, const StridedBufferRegionKHR & missShaderBindingTable, const StridedBufferRegionKHR & hitShaderBindingTable, const StridedBufferRegionKHR & callableShaderBindingTable, VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void traceRaysKHR( const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pRaygenShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pMissShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pHitShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void traceRaysKHR( const StridedBufferRegionKHR & raygenShaderBindingTable, const StridedBufferRegionKHR & missShaderBindingTable, const StridedBufferRegionKHR & hitShaderBindingTable, const StridedBufferRegionKHR & callableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize raygenShaderBindingOffset, VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingStride, VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingStride, VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize dataSize, const void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, ArrayProxy const & data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void waitEvents( uint32_t eventCount, const VULKAN_HPP_NAMESPACE::Event* pEvents, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VULKAN_HPP_NAMESPACE::MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void waitEvents( ArrayProxy const & events, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, ArrayProxy const & memoryBarriers, ArrayProxy const & bufferMemoryBarriers, ArrayProxy const & imageMemoryBarriers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + void writeAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void writeAccelerationStructuresPropertiesNV( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void writeBufferMarkerAMD( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, uint32_t marker, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void writeTimestamp( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandBuffer() const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_commandBuffer == VK_NULL_HANDLE; + } + + private: + VkCommandBuffer m_commandBuffer; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::CommandBuffer ) == sizeof( VkCommandBuffer ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::CommandBuffer; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::CommandBuffer; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::CommandBuffer; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct MemoryAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryAllocateInfo(VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ = {}, uint32_t memoryTypeIndex_ = {}) VULKAN_HPP_NOEXCEPT + : allocationSize( allocationSize_ ), memoryTypeIndex( memoryTypeIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryAllocateInfo( MemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryAllocateInfo( VkMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryAllocateInfo & operator=( VkMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryAllocateInfo & operator=( MemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryAllocateInfo ) ); + return *this; + } + + MemoryAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryAllocateInfo & setAllocationSize( VULKAN_HPP_NAMESPACE::DeviceSize allocationSize_ ) VULKAN_HPP_NOEXCEPT + { + allocationSize = allocationSize_; + return *this; + } + + MemoryAllocateInfo & setMemoryTypeIndex( uint32_t memoryTypeIndex_ ) VULKAN_HPP_NOEXCEPT + { + memoryTypeIndex = memoryTypeIndex_; + return *this; + } + + + operator VkMemoryAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryAllocateInfo const& ) const = default; +#else + bool operator==( MemoryAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( allocationSize == rhs.allocationSize ) + && ( memoryTypeIndex == rhs.memoryTypeIndex ); + } + + bool operator!=( MemoryAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryAllocateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize allocationSize = {}; + uint32_t memoryTypeIndex = {}; + + }; + static_assert( sizeof( MemoryAllocateInfo ) == sizeof( VkMemoryAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryAllocateInfo; + }; + + class PipelineCache + { + public: + using CType = VkPipelineCache; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePipelineCache; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePipelineCache; + + public: + VULKAN_HPP_CONSTEXPR PipelineCache() VULKAN_HPP_NOEXCEPT + : m_pipelineCache(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR PipelineCache( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_pipelineCache(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT PipelineCache( VkPipelineCache pipelineCache ) VULKAN_HPP_NOEXCEPT + : m_pipelineCache( pipelineCache ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + PipelineCache & operator=(VkPipelineCache pipelineCache) VULKAN_HPP_NOEXCEPT + { + m_pipelineCache = pipelineCache; + return *this; + } +#endif + + PipelineCache & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_pipelineCache = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCache const& ) const = default; +#else + bool operator==( PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache == rhs.m_pipelineCache; + } + + bool operator!=(PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache != rhs.m_pipelineCache; + } + + bool operator<(PipelineCache const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache < rhs.m_pipelineCache; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineCache() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_pipelineCache == VK_NULL_HANDLE; + } + + private: + VkPipelineCache m_pipelineCache; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::PipelineCache ) == sizeof( VkPipelineCache ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::PipelineCache; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PipelineCache; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PipelineCache; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct EventCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eEventCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR EventCreateInfo(VULKAN_HPP_NAMESPACE::EventCreateFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR EventCreateInfo( EventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + EventCreateInfo( VkEventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + EventCreateInfo & operator=( VkEventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + EventCreateInfo & operator=( EventCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( EventCreateInfo ) ); + return *this; + } + + EventCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + EventCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::EventCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkEventCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkEventCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( EventCreateInfo const& ) const = default; +#else + bool operator==( EventCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( EventCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eEventCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::EventCreateFlags flags = {}; + + }; + static_assert( sizeof( EventCreateInfo ) == sizeof( VkEventCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = EventCreateInfo; + }; + + struct FenceCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FenceCreateInfo(VULKAN_HPP_NAMESPACE::FenceCreateFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR FenceCreateInfo( FenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FenceCreateInfo( VkFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FenceCreateInfo & operator=( VkFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FenceCreateInfo & operator=( FenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FenceCreateInfo ) ); + return *this; + } + + FenceCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FenceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::FenceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkFenceCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFenceCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FenceCreateInfo const& ) const = default; +#else + bool operator==( FenceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( FenceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::FenceCreateFlags flags = {}; + + }; + static_assert( sizeof( FenceCreateInfo ) == sizeof( VkFenceCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FenceCreateInfo; + }; + + struct FramebufferCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FramebufferCreateInfo(VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, uint32_t attachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::ImageView* pAttachments_ = {}, uint32_t width_ = {}, uint32_t height_ = {}, uint32_t layers_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), renderPass( renderPass_ ), attachmentCount( attachmentCount_ ), pAttachments( pAttachments_ ), width( width_ ), height( height_ ), layers( layers_ ) + {} + + VULKAN_HPP_CONSTEXPR FramebufferCreateInfo( FramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FramebufferCreateInfo( VkFramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferCreateInfo( VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_, VULKAN_HPP_NAMESPACE::RenderPass renderPass_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_, uint32_t width_ = {}, uint32_t height_ = {}, uint32_t layers_ = {} ) + : flags( flags_ ), renderPass( renderPass_ ), attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ), width( width_ ), height( height_ ), layers( layers_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FramebufferCreateInfo & operator=( VkFramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FramebufferCreateInfo & operator=( FramebufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FramebufferCreateInfo ) ); + return *this; + } + + FramebufferCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FramebufferCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + FramebufferCreateInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT + { + renderPass = renderPass_; + return *this; + } + + FramebufferCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = attachmentCount_; + return *this; + } + + FramebufferCreateInfo & setPAttachments( const VULKAN_HPP_NAMESPACE::ImageView* pAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pAttachments = pAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferCreateInfo & setAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = static_cast( attachments_.size() ); + pAttachments = attachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + FramebufferCreateInfo & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + FramebufferCreateInfo & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + FramebufferCreateInfo & setLayers( uint32_t layers_ ) VULKAN_HPP_NOEXCEPT + { + layers = layers_; + return *this; + } + + + operator VkFramebufferCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFramebufferCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FramebufferCreateInfo const& ) const = default; +#else + bool operator==( FramebufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( renderPass == rhs.renderPass ) + && ( attachmentCount == rhs.attachmentCount ) + && ( pAttachments == rhs.pAttachments ) + && ( width == rhs.width ) + && ( height == rhs.height ) + && ( layers == rhs.layers ); + } + + bool operator!=( FramebufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::FramebufferCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; + uint32_t attachmentCount = {}; + const VULKAN_HPP_NAMESPACE::ImageView* pAttachments = {}; + uint32_t width = {}; + uint32_t height = {}; + uint32_t layers = {}; + + }; + static_assert( sizeof( FramebufferCreateInfo ) == sizeof( VkFramebufferCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FramebufferCreateInfo; + }; + + struct VertexInputBindingDescription + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR VertexInputBindingDescription(uint32_t binding_ = {}, uint32_t stride_ = {}, VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ = VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex) VULKAN_HPP_NOEXCEPT + : binding( binding_ ), stride( stride_ ), inputRate( inputRate_ ) + {} + + VULKAN_HPP_CONSTEXPR VertexInputBindingDescription( VertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + VertexInputBindingDescription( VkVertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + VertexInputBindingDescription & operator=( VkVertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + VertexInputBindingDescription & operator=( VertexInputBindingDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( VertexInputBindingDescription ) ); + return *this; + } + + VertexInputBindingDescription & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT + { + binding = binding_; + return *this; + } + + VertexInputBindingDescription & setStride( uint32_t stride_ ) VULKAN_HPP_NOEXCEPT + { + stride = stride_; + return *this; + } + + VertexInputBindingDescription & setInputRate( VULKAN_HPP_NAMESPACE::VertexInputRate inputRate_ ) VULKAN_HPP_NOEXCEPT + { + inputRate = inputRate_; + return *this; + } + + + operator VkVertexInputBindingDescription const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkVertexInputBindingDescription &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( VertexInputBindingDescription const& ) const = default; +#else + bool operator==( VertexInputBindingDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( binding == rhs.binding ) + && ( stride == rhs.stride ) + && ( inputRate == rhs.inputRate ); + } + + bool operator!=( VertexInputBindingDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t binding = {}; + uint32_t stride = {}; + VULKAN_HPP_NAMESPACE::VertexInputRate inputRate = VULKAN_HPP_NAMESPACE::VertexInputRate::eVertex; + + }; + static_assert( sizeof( VertexInputBindingDescription ) == sizeof( VkVertexInputBindingDescription ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct VertexInputAttributeDescription + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR VertexInputAttributeDescription(uint32_t location_ = {}, uint32_t binding_ = {}, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, uint32_t offset_ = {}) VULKAN_HPP_NOEXCEPT + : location( location_ ), binding( binding_ ), format( format_ ), offset( offset_ ) + {} + + VULKAN_HPP_CONSTEXPR VertexInputAttributeDescription( VertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + VertexInputAttributeDescription( VkVertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + VertexInputAttributeDescription & operator=( VkVertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + VertexInputAttributeDescription & operator=( VertexInputAttributeDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( VertexInputAttributeDescription ) ); + return *this; + } + + VertexInputAttributeDescription & setLocation( uint32_t location_ ) VULKAN_HPP_NOEXCEPT + { + location = location_; + return *this; + } + + VertexInputAttributeDescription & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT + { + binding = binding_; + return *this; + } + + VertexInputAttributeDescription & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + VertexInputAttributeDescription & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + + operator VkVertexInputAttributeDescription const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkVertexInputAttributeDescription &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( VertexInputAttributeDescription const& ) const = default; +#else + bool operator==( VertexInputAttributeDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( location == rhs.location ) + && ( binding == rhs.binding ) + && ( format == rhs.format ) + && ( offset == rhs.offset ); + } + + bool operator!=( VertexInputAttributeDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t location = {}; + uint32_t binding = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + uint32_t offset = {}; + + }; + static_assert( sizeof( VertexInputAttributeDescription ) == sizeof( VkVertexInputAttributeDescription ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineVertexInputStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineVertexInputStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineVertexInputStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_ = {}, uint32_t vertexBindingDescriptionCount_ = {}, const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription* pVertexBindingDescriptions_ = {}, uint32_t vertexAttributeDescriptionCount_ = {}, const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription* pVertexAttributeDescriptions_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), vertexBindingDescriptionCount( vertexBindingDescriptionCount_ ), pVertexBindingDescriptions( pVertexBindingDescriptions_ ), vertexAttributeDescriptionCount( vertexAttributeDescriptionCount_ ), pVertexAttributeDescriptions( pVertexAttributeDescriptions_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineVertexInputStateCreateInfo( PipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineVertexInputStateCreateInfo( VkPipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineVertexInputStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexBindingDescriptions_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexAttributeDescriptions_ = {} ) + : flags( flags_ ), vertexBindingDescriptionCount( static_cast( vertexBindingDescriptions_.size() ) ), pVertexBindingDescriptions( vertexBindingDescriptions_.data() ), vertexAttributeDescriptionCount( static_cast( vertexAttributeDescriptions_.size() ) ), pVertexAttributeDescriptions( vertexAttributeDescriptions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineVertexInputStateCreateInfo & operator=( VkPipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineVertexInputStateCreateInfo & operator=( PipelineVertexInputStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineVertexInputStateCreateInfo ) ); + return *this; + } + + PipelineVertexInputStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineVertexInputStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineVertexInputStateCreateInfo & setVertexBindingDescriptionCount( uint32_t vertexBindingDescriptionCount_ ) VULKAN_HPP_NOEXCEPT + { + vertexBindingDescriptionCount = vertexBindingDescriptionCount_; + return *this; + } + + PipelineVertexInputStateCreateInfo & setPVertexBindingDescriptions( const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription* pVertexBindingDescriptions_ ) VULKAN_HPP_NOEXCEPT + { + pVertexBindingDescriptions = pVertexBindingDescriptions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineVertexInputStateCreateInfo & setVertexBindingDescriptions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexBindingDescriptions_ ) VULKAN_HPP_NOEXCEPT + { + vertexBindingDescriptionCount = static_cast( vertexBindingDescriptions_.size() ); + pVertexBindingDescriptions = vertexBindingDescriptions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PipelineVertexInputStateCreateInfo & setVertexAttributeDescriptionCount( uint32_t vertexAttributeDescriptionCount_ ) VULKAN_HPP_NOEXCEPT + { + vertexAttributeDescriptionCount = vertexAttributeDescriptionCount_; + return *this; + } + + PipelineVertexInputStateCreateInfo & setPVertexAttributeDescriptions( const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription* pVertexAttributeDescriptions_ ) VULKAN_HPP_NOEXCEPT + { + pVertexAttributeDescriptions = pVertexAttributeDescriptions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineVertexInputStateCreateInfo & setVertexAttributeDescriptions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexAttributeDescriptions_ ) VULKAN_HPP_NOEXCEPT + { + vertexAttributeDescriptionCount = static_cast( vertexAttributeDescriptions_.size() ); + pVertexAttributeDescriptions = vertexAttributeDescriptions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineVertexInputStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineVertexInputStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineVertexInputStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineVertexInputStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( vertexBindingDescriptionCount == rhs.vertexBindingDescriptionCount ) + && ( pVertexBindingDescriptions == rhs.pVertexBindingDescriptions ) + && ( vertexAttributeDescriptionCount == rhs.vertexAttributeDescriptionCount ) + && ( pVertexAttributeDescriptions == rhs.pVertexAttributeDescriptions ); + } + + bool operator!=( PipelineVertexInputStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineVertexInputStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateFlags flags = {}; + uint32_t vertexBindingDescriptionCount = {}; + const VULKAN_HPP_NAMESPACE::VertexInputBindingDescription* pVertexBindingDescriptions = {}; + uint32_t vertexAttributeDescriptionCount = {}; + const VULKAN_HPP_NAMESPACE::VertexInputAttributeDescription* pVertexAttributeDescriptions = {}; + + }; + static_assert( sizeof( PipelineVertexInputStateCreateInfo ) == sizeof( VkPipelineVertexInputStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineVertexInputStateCreateInfo; + }; + + struct PipelineInputAssemblyStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineInputAssemblyStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineInputAssemblyStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::PrimitiveTopology topology_ = VULKAN_HPP_NAMESPACE::PrimitiveTopology::ePointList, VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), topology( topology_ ), primitiveRestartEnable( primitiveRestartEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineInputAssemblyStateCreateInfo( PipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineInputAssemblyStateCreateInfo( VkPipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineInputAssemblyStateCreateInfo & operator=( VkPipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineInputAssemblyStateCreateInfo & operator=( PipelineInputAssemblyStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineInputAssemblyStateCreateInfo ) ); + return *this; + } + + PipelineInputAssemblyStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineInputAssemblyStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineInputAssemblyStateCreateInfo & setTopology( VULKAN_HPP_NAMESPACE::PrimitiveTopology topology_ ) VULKAN_HPP_NOEXCEPT + { + topology = topology_; + return *this; + } + + PipelineInputAssemblyStateCreateInfo & setPrimitiveRestartEnable( VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable_ ) VULKAN_HPP_NOEXCEPT + { + primitiveRestartEnable = primitiveRestartEnable_; + return *this; + } + + + operator VkPipelineInputAssemblyStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineInputAssemblyStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineInputAssemblyStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineInputAssemblyStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( topology == rhs.topology ) + && ( primitiveRestartEnable == rhs.primitiveRestartEnable ); + } + + bool operator!=( PipelineInputAssemblyStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineInputAssemblyStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::PrimitiveTopology topology = VULKAN_HPP_NAMESPACE::PrimitiveTopology::ePointList; + VULKAN_HPP_NAMESPACE::Bool32 primitiveRestartEnable = {}; + + }; + static_assert( sizeof( PipelineInputAssemblyStateCreateInfo ) == sizeof( VkPipelineInputAssemblyStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineInputAssemblyStateCreateInfo; + }; + + struct PipelineTessellationStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineTessellationStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineTessellationStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags_ = {}, uint32_t patchControlPoints_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), patchControlPoints( patchControlPoints_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineTessellationStateCreateInfo( PipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineTessellationStateCreateInfo( VkPipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineTessellationStateCreateInfo & operator=( VkPipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineTessellationStateCreateInfo & operator=( PipelineTessellationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineTessellationStateCreateInfo ) ); + return *this; + } + + PipelineTessellationStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineTessellationStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineTessellationStateCreateInfo & setPatchControlPoints( uint32_t patchControlPoints_ ) VULKAN_HPP_NOEXCEPT + { + patchControlPoints = patchControlPoints_; + return *this; + } + + + operator VkPipelineTessellationStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineTessellationStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineTessellationStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineTessellationStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( patchControlPoints == rhs.patchControlPoints ); + } + + bool operator!=( PipelineTessellationStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineTessellationStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateFlags flags = {}; + uint32_t patchControlPoints = {}; + + }; + static_assert( sizeof( PipelineTessellationStateCreateInfo ) == sizeof( VkPipelineTessellationStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineTessellationStateCreateInfo; + }; + + struct PipelineViewportStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_ = {}, uint32_t viewportCount_ = {}, const VULKAN_HPP_NAMESPACE::Viewport* pViewports_ = {}, uint32_t scissorCount_ = {}, const VULKAN_HPP_NAMESPACE::Rect2D* pScissors_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), viewportCount( viewportCount_ ), pViewports( pViewports_ ), scissorCount( scissorCount_ ), pScissors( pScissors_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportStateCreateInfo( PipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportStateCreateInfo( VkPipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewports_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & scissors_ = {} ) + : flags( flags_ ), viewportCount( static_cast( viewports_.size() ) ), pViewports( viewports_.data() ), scissorCount( static_cast( scissors_.size() ) ), pScissors( scissors_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportStateCreateInfo & operator=( VkPipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportStateCreateInfo & operator=( PipelineViewportStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportStateCreateInfo ) ); + return *this; + } + + PipelineViewportStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineViewportStateCreateInfo & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = viewportCount_; + return *this; + } + + PipelineViewportStateCreateInfo & setPViewports( const VULKAN_HPP_NAMESPACE::Viewport* pViewports_ ) VULKAN_HPP_NOEXCEPT + { + pViewports = pViewports_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportStateCreateInfo & setViewports( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewports_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = static_cast( viewports_.size() ); + pViewports = viewports_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PipelineViewportStateCreateInfo & setScissorCount( uint32_t scissorCount_ ) VULKAN_HPP_NOEXCEPT + { + scissorCount = scissorCount_; + return *this; + } + + PipelineViewportStateCreateInfo & setPScissors( const VULKAN_HPP_NAMESPACE::Rect2D* pScissors_ ) VULKAN_HPP_NOEXCEPT + { + pScissors = pScissors_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportStateCreateInfo & setScissors( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & scissors_ ) VULKAN_HPP_NOEXCEPT + { + scissorCount = static_cast( scissors_.size() ); + pScissors = scissors_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineViewportStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( viewportCount == rhs.viewportCount ) + && ( pViewports == rhs.pViewports ) + && ( scissorCount == rhs.scissorCount ) + && ( pScissors == rhs.pScissors ); + } + + bool operator!=( PipelineViewportStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateFlags flags = {}; + uint32_t viewportCount = {}; + const VULKAN_HPP_NAMESPACE::Viewport* pViewports = {}; + uint32_t scissorCount = {}; + const VULKAN_HPP_NAMESPACE::Rect2D* pScissors = {}; + + }; + static_assert( sizeof( PipelineViewportStateCreateInfo ) == sizeof( VkPipelineViewportStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportStateCreateInfo; + }; + + struct PipelineRasterizationStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable_ = {}, VULKAN_HPP_NAMESPACE::PolygonMode polygonMode_ = VULKAN_HPP_NAMESPACE::PolygonMode::eFill, VULKAN_HPP_NAMESPACE::CullModeFlags cullMode_ = {}, VULKAN_HPP_NAMESPACE::FrontFace frontFace_ = VULKAN_HPP_NAMESPACE::FrontFace::eCounterClockwise, VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable_ = {}, float depthBiasConstantFactor_ = {}, float depthBiasClamp_ = {}, float depthBiasSlopeFactor_ = {}, float lineWidth_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), depthClampEnable( depthClampEnable_ ), rasterizerDiscardEnable( rasterizerDiscardEnable_ ), polygonMode( polygonMode_ ), cullMode( cullMode_ ), frontFace( frontFace_ ), depthBiasEnable( depthBiasEnable_ ), depthBiasConstantFactor( depthBiasConstantFactor_ ), depthBiasClamp( depthBiasClamp_ ), depthBiasSlopeFactor( depthBiasSlopeFactor_ ), lineWidth( lineWidth_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateCreateInfo( PipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationStateCreateInfo( VkPipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationStateCreateInfo & operator=( VkPipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationStateCreateInfo & operator=( PipelineRasterizationStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationStateCreateInfo ) ); + return *this; + } + + PipelineRasterizationStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setDepthClampEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthClampEnable = depthClampEnable_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setRasterizerDiscardEnable( VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable_ ) VULKAN_HPP_NOEXCEPT + { + rasterizerDiscardEnable = rasterizerDiscardEnable_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setPolygonMode( VULKAN_HPP_NAMESPACE::PolygonMode polygonMode_ ) VULKAN_HPP_NOEXCEPT + { + polygonMode = polygonMode_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setCullMode( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode_ ) VULKAN_HPP_NOEXCEPT + { + cullMode = cullMode_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setFrontFace( VULKAN_HPP_NAMESPACE::FrontFace frontFace_ ) VULKAN_HPP_NOEXCEPT + { + frontFace = frontFace_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setDepthBiasEnable( VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthBiasEnable = depthBiasEnable_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setDepthBiasConstantFactor( float depthBiasConstantFactor_ ) VULKAN_HPP_NOEXCEPT + { + depthBiasConstantFactor = depthBiasConstantFactor_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setDepthBiasClamp( float depthBiasClamp_ ) VULKAN_HPP_NOEXCEPT + { + depthBiasClamp = depthBiasClamp_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setDepthBiasSlopeFactor( float depthBiasSlopeFactor_ ) VULKAN_HPP_NOEXCEPT + { + depthBiasSlopeFactor = depthBiasSlopeFactor_; + return *this; + } + + PipelineRasterizationStateCreateInfo & setLineWidth( float lineWidth_ ) VULKAN_HPP_NOEXCEPT + { + lineWidth = lineWidth_; + return *this; + } + + + operator VkPipelineRasterizationStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineRasterizationStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( depthClampEnable == rhs.depthClampEnable ) + && ( rasterizerDiscardEnable == rhs.rasterizerDiscardEnable ) + && ( polygonMode == rhs.polygonMode ) + && ( cullMode == rhs.cullMode ) + && ( frontFace == rhs.frontFace ) + && ( depthBiasEnable == rhs.depthBiasEnable ) + && ( depthBiasConstantFactor == rhs.depthBiasConstantFactor ) + && ( depthBiasClamp == rhs.depthBiasClamp ) + && ( depthBiasSlopeFactor == rhs.depthBiasSlopeFactor ) + && ( lineWidth == rhs.lineWidth ); + } + + bool operator!=( PipelineRasterizationStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthClampEnable = {}; + VULKAN_HPP_NAMESPACE::Bool32 rasterizerDiscardEnable = {}; + VULKAN_HPP_NAMESPACE::PolygonMode polygonMode = VULKAN_HPP_NAMESPACE::PolygonMode::eFill; + VULKAN_HPP_NAMESPACE::CullModeFlags cullMode = {}; + VULKAN_HPP_NAMESPACE::FrontFace frontFace = VULKAN_HPP_NAMESPACE::FrontFace::eCounterClockwise; + VULKAN_HPP_NAMESPACE::Bool32 depthBiasEnable = {}; + float depthBiasConstantFactor = {}; + float depthBiasClamp = {}; + float depthBiasSlopeFactor = {}; + float lineWidth = {}; + + }; + static_assert( sizeof( PipelineRasterizationStateCreateInfo ) == sizeof( VkPipelineRasterizationStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationStateCreateInfo; + }; + + struct PipelineMultisampleStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineMultisampleStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineMultisampleStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable_ = {}, float minSampleShading_ = {}, const VULKAN_HPP_NAMESPACE::SampleMask* pSampleMask_ = {}, VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable_ = {}, VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), rasterizationSamples( rasterizationSamples_ ), sampleShadingEnable( sampleShadingEnable_ ), minSampleShading( minSampleShading_ ), pSampleMask( pSampleMask_ ), alphaToCoverageEnable( alphaToCoverageEnable_ ), alphaToOneEnable( alphaToOneEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineMultisampleStateCreateInfo( PipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineMultisampleStateCreateInfo( VkPipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineMultisampleStateCreateInfo & operator=( VkPipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineMultisampleStateCreateInfo & operator=( PipelineMultisampleStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineMultisampleStateCreateInfo ) ); + return *this; + } + + PipelineMultisampleStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setRasterizationSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ ) VULKAN_HPP_NOEXCEPT + { + rasterizationSamples = rasterizationSamples_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setSampleShadingEnable( VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable_ ) VULKAN_HPP_NOEXCEPT + { + sampleShadingEnable = sampleShadingEnable_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setMinSampleShading( float minSampleShading_ ) VULKAN_HPP_NOEXCEPT + { + minSampleShading = minSampleShading_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setPSampleMask( const VULKAN_HPP_NAMESPACE::SampleMask* pSampleMask_ ) VULKAN_HPP_NOEXCEPT + { + pSampleMask = pSampleMask_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setAlphaToCoverageEnable( VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable_ ) VULKAN_HPP_NOEXCEPT + { + alphaToCoverageEnable = alphaToCoverageEnable_; + return *this; + } + + PipelineMultisampleStateCreateInfo & setAlphaToOneEnable( VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable_ ) VULKAN_HPP_NOEXCEPT + { + alphaToOneEnable = alphaToOneEnable_; + return *this; + } + + + operator VkPipelineMultisampleStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineMultisampleStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineMultisampleStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineMultisampleStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( rasterizationSamples == rhs.rasterizationSamples ) + && ( sampleShadingEnable == rhs.sampleShadingEnable ) + && ( minSampleShading == rhs.minSampleShading ) + && ( pSampleMask == rhs.pSampleMask ) + && ( alphaToCoverageEnable == rhs.alphaToCoverageEnable ) + && ( alphaToOneEnable == rhs.alphaToOneEnable ); + } + + bool operator!=( PipelineMultisampleStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineMultisampleStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::Bool32 sampleShadingEnable = {}; + float minSampleShading = {}; + const VULKAN_HPP_NAMESPACE::SampleMask* pSampleMask = {}; + VULKAN_HPP_NAMESPACE::Bool32 alphaToCoverageEnable = {}; + VULKAN_HPP_NAMESPACE::Bool32 alphaToOneEnable = {}; + + }; + static_assert( sizeof( PipelineMultisampleStateCreateInfo ) == sizeof( VkPipelineMultisampleStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineMultisampleStateCreateInfo; + }; + + struct StencilOpState + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR StencilOpState(VULKAN_HPP_NAMESPACE::StencilOp failOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, VULKAN_HPP_NAMESPACE::StencilOp passOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, VULKAN_HPP_NAMESPACE::StencilOp depthFailOp_ = VULKAN_HPP_NAMESPACE::StencilOp::eKeep, VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, uint32_t compareMask_ = {}, uint32_t writeMask_ = {}, uint32_t reference_ = {}) VULKAN_HPP_NOEXCEPT + : failOp( failOp_ ), passOp( passOp_ ), depthFailOp( depthFailOp_ ), compareOp( compareOp_ ), compareMask( compareMask_ ), writeMask( writeMask_ ), reference( reference_ ) + {} + + VULKAN_HPP_CONSTEXPR StencilOpState( StencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + StencilOpState( VkStencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + StencilOpState & operator=( VkStencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + StencilOpState & operator=( StencilOpState const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( StencilOpState ) ); + return *this; + } + + StencilOpState & setFailOp( VULKAN_HPP_NAMESPACE::StencilOp failOp_ ) VULKAN_HPP_NOEXCEPT + { + failOp = failOp_; + return *this; + } + + StencilOpState & setPassOp( VULKAN_HPP_NAMESPACE::StencilOp passOp_ ) VULKAN_HPP_NOEXCEPT + { + passOp = passOp_; + return *this; + } + + StencilOpState & setDepthFailOp( VULKAN_HPP_NAMESPACE::StencilOp depthFailOp_ ) VULKAN_HPP_NOEXCEPT + { + depthFailOp = depthFailOp_; + return *this; + } + + StencilOpState & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT + { + compareOp = compareOp_; + return *this; + } + + StencilOpState & setCompareMask( uint32_t compareMask_ ) VULKAN_HPP_NOEXCEPT + { + compareMask = compareMask_; + return *this; + } + + StencilOpState & setWriteMask( uint32_t writeMask_ ) VULKAN_HPP_NOEXCEPT + { + writeMask = writeMask_; + return *this; + } + + StencilOpState & setReference( uint32_t reference_ ) VULKAN_HPP_NOEXCEPT + { + reference = reference_; + return *this; + } + + + operator VkStencilOpState const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkStencilOpState &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( StencilOpState const& ) const = default; +#else + bool operator==( StencilOpState const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( failOp == rhs.failOp ) + && ( passOp == rhs.passOp ) + && ( depthFailOp == rhs.depthFailOp ) + && ( compareOp == rhs.compareOp ) + && ( compareMask == rhs.compareMask ) + && ( writeMask == rhs.writeMask ) + && ( reference == rhs.reference ); + } + + bool operator!=( StencilOpState const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::StencilOp failOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; + VULKAN_HPP_NAMESPACE::StencilOp passOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; + VULKAN_HPP_NAMESPACE::StencilOp depthFailOp = VULKAN_HPP_NAMESPACE::StencilOp::eKeep; + VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; + uint32_t compareMask = {}; + uint32_t writeMask = {}; + uint32_t reference = {}; + + }; + static_assert( sizeof( StencilOpState ) == sizeof( VkStencilOpState ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineDepthStencilStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineDepthStencilStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineDepthStencilStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable_ = {}, VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable_ = {}, VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable_ = {}, VULKAN_HPP_NAMESPACE::StencilOpState front_ = {}, VULKAN_HPP_NAMESPACE::StencilOpState back_ = {}, float minDepthBounds_ = {}, float maxDepthBounds_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), depthTestEnable( depthTestEnable_ ), depthWriteEnable( depthWriteEnable_ ), depthCompareOp( depthCompareOp_ ), depthBoundsTestEnable( depthBoundsTestEnable_ ), stencilTestEnable( stencilTestEnable_ ), front( front_ ), back( back_ ), minDepthBounds( minDepthBounds_ ), maxDepthBounds( maxDepthBounds_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineDepthStencilStateCreateInfo( PipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineDepthStencilStateCreateInfo( VkPipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineDepthStencilStateCreateInfo & operator=( VkPipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineDepthStencilStateCreateInfo & operator=( PipelineDepthStencilStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) ); + return *this; + } + + PipelineDepthStencilStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setDepthTestEnable( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthTestEnable = depthTestEnable_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setDepthWriteEnable( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthWriteEnable = depthWriteEnable_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ ) VULKAN_HPP_NOEXCEPT + { + depthCompareOp = depthCompareOp_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setDepthBoundsTestEnable( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthBoundsTestEnable = depthBoundsTestEnable_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setStencilTestEnable( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable_ ) VULKAN_HPP_NOEXCEPT + { + stencilTestEnable = stencilTestEnable_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setFront( VULKAN_HPP_NAMESPACE::StencilOpState const & front_ ) VULKAN_HPP_NOEXCEPT + { + front = front_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setBack( VULKAN_HPP_NAMESPACE::StencilOpState const & back_ ) VULKAN_HPP_NOEXCEPT + { + back = back_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setMinDepthBounds( float minDepthBounds_ ) VULKAN_HPP_NOEXCEPT + { + minDepthBounds = minDepthBounds_; + return *this; + } + + PipelineDepthStencilStateCreateInfo & setMaxDepthBounds( float maxDepthBounds_ ) VULKAN_HPP_NOEXCEPT + { + maxDepthBounds = maxDepthBounds_; + return *this; + } + + + operator VkPipelineDepthStencilStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineDepthStencilStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineDepthStencilStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineDepthStencilStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( depthTestEnable == rhs.depthTestEnable ) + && ( depthWriteEnable == rhs.depthWriteEnable ) + && ( depthCompareOp == rhs.depthCompareOp ) + && ( depthBoundsTestEnable == rhs.depthBoundsTestEnable ) + && ( stencilTestEnable == rhs.stencilTestEnable ) + && ( front == rhs.front ) + && ( back == rhs.back ) + && ( minDepthBounds == rhs.minDepthBounds ) + && ( maxDepthBounds == rhs.maxDepthBounds ); + } + + bool operator!=( PipelineDepthStencilStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDepthStencilStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable = {}; + VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; + VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable = {}; + VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable = {}; + VULKAN_HPP_NAMESPACE::StencilOpState front = {}; + VULKAN_HPP_NAMESPACE::StencilOpState back = {}; + float minDepthBounds = {}; + float maxDepthBounds = {}; + + }; + static_assert( sizeof( PipelineDepthStencilStateCreateInfo ) == sizeof( VkPipelineDepthStencilStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineDepthStencilStateCreateInfo; + }; + + struct PipelineColorBlendAttachmentState + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineColorBlendAttachmentState(VULKAN_HPP_NAMESPACE::Bool32 blendEnable_ = {}, VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp_ = VULKAN_HPP_NAMESPACE::BlendOp::eAdd, VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor_ = VULKAN_HPP_NAMESPACE::BlendFactor::eZero, VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp_ = VULKAN_HPP_NAMESPACE::BlendOp::eAdd, VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask_ = {}) VULKAN_HPP_NOEXCEPT + : blendEnable( blendEnable_ ), srcColorBlendFactor( srcColorBlendFactor_ ), dstColorBlendFactor( dstColorBlendFactor_ ), colorBlendOp( colorBlendOp_ ), srcAlphaBlendFactor( srcAlphaBlendFactor_ ), dstAlphaBlendFactor( dstAlphaBlendFactor_ ), alphaBlendOp( alphaBlendOp_ ), colorWriteMask( colorWriteMask_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineColorBlendAttachmentState( PipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineColorBlendAttachmentState( VkPipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineColorBlendAttachmentState & operator=( VkPipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineColorBlendAttachmentState & operator=( PipelineColorBlendAttachmentState const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineColorBlendAttachmentState ) ); + return *this; + } + + PipelineColorBlendAttachmentState & setBlendEnable( VULKAN_HPP_NAMESPACE::Bool32 blendEnable_ ) VULKAN_HPP_NOEXCEPT + { + blendEnable = blendEnable_; + return *this; + } + + PipelineColorBlendAttachmentState & setSrcColorBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor_ ) VULKAN_HPP_NOEXCEPT + { + srcColorBlendFactor = srcColorBlendFactor_; + return *this; + } + + PipelineColorBlendAttachmentState & setDstColorBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor_ ) VULKAN_HPP_NOEXCEPT + { + dstColorBlendFactor = dstColorBlendFactor_; + return *this; + } + + PipelineColorBlendAttachmentState & setColorBlendOp( VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp_ ) VULKAN_HPP_NOEXCEPT + { + colorBlendOp = colorBlendOp_; + return *this; + } + + PipelineColorBlendAttachmentState & setSrcAlphaBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor_ ) VULKAN_HPP_NOEXCEPT + { + srcAlphaBlendFactor = srcAlphaBlendFactor_; + return *this; + } + + PipelineColorBlendAttachmentState & setDstAlphaBlendFactor( VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor_ ) VULKAN_HPP_NOEXCEPT + { + dstAlphaBlendFactor = dstAlphaBlendFactor_; + return *this; + } + + PipelineColorBlendAttachmentState & setAlphaBlendOp( VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp_ ) VULKAN_HPP_NOEXCEPT + { + alphaBlendOp = alphaBlendOp_; + return *this; + } + + PipelineColorBlendAttachmentState & setColorWriteMask( VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask_ ) VULKAN_HPP_NOEXCEPT + { + colorWriteMask = colorWriteMask_; + return *this; + } + + + operator VkPipelineColorBlendAttachmentState const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineColorBlendAttachmentState &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineColorBlendAttachmentState const& ) const = default; +#else + bool operator==( PipelineColorBlendAttachmentState const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( blendEnable == rhs.blendEnable ) + && ( srcColorBlendFactor == rhs.srcColorBlendFactor ) + && ( dstColorBlendFactor == rhs.dstColorBlendFactor ) + && ( colorBlendOp == rhs.colorBlendOp ) + && ( srcAlphaBlendFactor == rhs.srcAlphaBlendFactor ) + && ( dstAlphaBlendFactor == rhs.dstAlphaBlendFactor ) + && ( alphaBlendOp == rhs.alphaBlendOp ) + && ( colorWriteMask == rhs.colorWriteMask ); + } + + bool operator!=( PipelineColorBlendAttachmentState const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Bool32 blendEnable = {}; + VULKAN_HPP_NAMESPACE::BlendFactor srcColorBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; + VULKAN_HPP_NAMESPACE::BlendFactor dstColorBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; + VULKAN_HPP_NAMESPACE::BlendOp colorBlendOp = VULKAN_HPP_NAMESPACE::BlendOp::eAdd; + VULKAN_HPP_NAMESPACE::BlendFactor srcAlphaBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; + VULKAN_HPP_NAMESPACE::BlendFactor dstAlphaBlendFactor = VULKAN_HPP_NAMESPACE::BlendFactor::eZero; + VULKAN_HPP_NAMESPACE::BlendOp alphaBlendOp = VULKAN_HPP_NAMESPACE::BlendOp::eAdd; + VULKAN_HPP_NAMESPACE::ColorComponentFlags colorWriteMask = {}; + + }; + static_assert( sizeof( PipelineColorBlendAttachmentState ) == sizeof( VkPipelineColorBlendAttachmentState ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineColorBlendStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineColorBlendStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_ = {}, VULKAN_HPP_NAMESPACE::LogicOp logicOp_ = VULKAN_HPP_NAMESPACE::LogicOp::eClear, uint32_t attachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState* pAttachments_ = {}, std::array const& blendConstants_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), logicOpEnable( logicOpEnable_ ), logicOp( logicOp_ ), attachmentCount( attachmentCount_ ), pAttachments( pAttachments_ ), blendConstants( blendConstants_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PipelineColorBlendStateCreateInfo( PipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineColorBlendStateCreateInfo( VkPipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineColorBlendStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_, VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_, VULKAN_HPP_NAMESPACE::LogicOp logicOp_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_, std::array const& blendConstants_ = {} ) + : flags( flags_ ), logicOpEnable( logicOpEnable_ ), logicOp( logicOp_ ), attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ), blendConstants( blendConstants_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineColorBlendStateCreateInfo & operator=( VkPipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineColorBlendStateCreateInfo & operator=( PipelineColorBlendStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineColorBlendStateCreateInfo ) ); + return *this; + } + + PipelineColorBlendStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineColorBlendStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineColorBlendStateCreateInfo & setLogicOpEnable( VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable_ ) VULKAN_HPP_NOEXCEPT + { + logicOpEnable = logicOpEnable_; + return *this; + } + + PipelineColorBlendStateCreateInfo & setLogicOp( VULKAN_HPP_NAMESPACE::LogicOp logicOp_ ) VULKAN_HPP_NOEXCEPT + { + logicOp = logicOp_; + return *this; + } + + PipelineColorBlendStateCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = attachmentCount_; + return *this; + } + + PipelineColorBlendStateCreateInfo & setPAttachments( const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState* pAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pAttachments = pAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineColorBlendStateCreateInfo & setAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = static_cast( attachments_.size() ); + pAttachments = attachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PipelineColorBlendStateCreateInfo & setBlendConstants( std::array blendConstants_ ) VULKAN_HPP_NOEXCEPT + { + blendConstants = blendConstants_; + return *this; + } + + + operator VkPipelineColorBlendStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineColorBlendStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineColorBlendStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineColorBlendStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( logicOpEnable == rhs.logicOpEnable ) + && ( logicOp == rhs.logicOp ) + && ( attachmentCount == rhs.attachmentCount ) + && ( pAttachments == rhs.pAttachments ) + && ( blendConstants == rhs.blendConstants ); + } + + bool operator!=( PipelineColorBlendStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineColorBlendStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 logicOpEnable = {}; + VULKAN_HPP_NAMESPACE::LogicOp logicOp = VULKAN_HPP_NAMESPACE::LogicOp::eClear; + uint32_t attachmentCount = {}; + const VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState* pAttachments = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D blendConstants = {}; + + }; + static_assert( sizeof( PipelineColorBlendStateCreateInfo ) == sizeof( VkPipelineColorBlendStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineColorBlendStateCreateInfo; + }; + + struct PipelineDynamicStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineDynamicStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineDynamicStateCreateInfo(VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_ = {}, uint32_t dynamicStateCount_ = {}, const VULKAN_HPP_NAMESPACE::DynamicState* pDynamicStates_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), dynamicStateCount( dynamicStateCount_ ), pDynamicStates( pDynamicStates_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineDynamicStateCreateInfo( PipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineDynamicStateCreateInfo( VkPipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineDynamicStateCreateInfo( VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dynamicStates_ ) + : flags( flags_ ), dynamicStateCount( static_cast( dynamicStates_.size() ) ), pDynamicStates( dynamicStates_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineDynamicStateCreateInfo & operator=( VkPipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineDynamicStateCreateInfo & operator=( PipelineDynamicStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineDynamicStateCreateInfo ) ); + return *this; + } + + PipelineDynamicStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineDynamicStateCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineDynamicStateCreateInfo & setDynamicStateCount( uint32_t dynamicStateCount_ ) VULKAN_HPP_NOEXCEPT + { + dynamicStateCount = dynamicStateCount_; + return *this; + } + + PipelineDynamicStateCreateInfo & setPDynamicStates( const VULKAN_HPP_NAMESPACE::DynamicState* pDynamicStates_ ) VULKAN_HPP_NOEXCEPT + { + pDynamicStates = pDynamicStates_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineDynamicStateCreateInfo & setDynamicStates( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dynamicStates_ ) VULKAN_HPP_NOEXCEPT + { + dynamicStateCount = static_cast( dynamicStates_.size() ); + pDynamicStates = dynamicStates_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineDynamicStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineDynamicStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineDynamicStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineDynamicStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( dynamicStateCount == rhs.dynamicStateCount ) + && ( pDynamicStates == rhs.pDynamicStates ); + } + + bool operator!=( PipelineDynamicStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDynamicStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateFlags flags = {}; + uint32_t dynamicStateCount = {}; + const VULKAN_HPP_NAMESPACE::DynamicState* pDynamicStates = {}; + + }; + static_assert( sizeof( PipelineDynamicStateCreateInfo ) == sizeof( VkPipelineDynamicStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineDynamicStateCreateInfo; + }; + + struct GraphicsPipelineCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGraphicsPipelineCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 GraphicsPipelineCreateInfo(VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, uint32_t stageCount_ = {}, const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ = {}, const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo* pViewportState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo* pRasterizationState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo* pMultisampleState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo* pDepthStencilState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo* pColorBlendState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo* pDynamicState_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, uint32_t subpass_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), stageCount( stageCount_ ), pStages( pStages_ ), pVertexInputState( pVertexInputState_ ), pInputAssemblyState( pInputAssemblyState_ ), pTessellationState( pTessellationState_ ), pViewportState( pViewportState_ ), pRasterizationState( pRasterizationState_ ), pMultisampleState( pMultisampleState_ ), pDepthStencilState( pDepthStencilState_ ), pColorBlendState( pColorBlendState_ ), pDynamicState( pDynamicState_ ), layout( layout_ ), renderPass( renderPass_ ), subpass( subpass_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 GraphicsPipelineCreateInfo( GraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GraphicsPipelineCreateInfo( VkGraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsPipelineCreateInfo( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_, const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo* pViewportState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo* pRasterizationState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo* pMultisampleState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo* pDepthStencilState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo* pColorBlendState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo* pDynamicState_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::RenderPass renderPass_ = {}, uint32_t subpass_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {} ) + : flags( flags_ ), stageCount( static_cast( stages_.size() ) ), pStages( stages_.data() ), pVertexInputState( pVertexInputState_ ), pInputAssemblyState( pInputAssemblyState_ ), pTessellationState( pTessellationState_ ), pViewportState( pViewportState_ ), pRasterizationState( pRasterizationState_ ), pMultisampleState( pMultisampleState_ ), pDepthStencilState( pDepthStencilState_ ), pColorBlendState( pColorBlendState_ ), pDynamicState( pDynamicState_ ), layout( layout_ ), renderPass( renderPass_ ), subpass( subpass_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GraphicsPipelineCreateInfo & operator=( VkGraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GraphicsPipelineCreateInfo & operator=( GraphicsPipelineCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GraphicsPipelineCreateInfo ) ); + return *this; + } + + GraphicsPipelineCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GraphicsPipelineCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + GraphicsPipelineCreateInfo & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = stageCount_; + return *this; + } + + GraphicsPipelineCreateInfo & setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ ) VULKAN_HPP_NOEXCEPT + { + pStages = pStages_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsPipelineCreateInfo & setStages( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = static_cast( stages_.size() ); + pStages = stages_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + GraphicsPipelineCreateInfo & setPVertexInputState( const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ ) VULKAN_HPP_NOEXCEPT + { + pVertexInputState = pVertexInputState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPInputAssemblyState( const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ ) VULKAN_HPP_NOEXCEPT + { + pInputAssemblyState = pInputAssemblyState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPTessellationState( const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ ) VULKAN_HPP_NOEXCEPT + { + pTessellationState = pTessellationState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPViewportState( const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo* pViewportState_ ) VULKAN_HPP_NOEXCEPT + { + pViewportState = pViewportState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPRasterizationState( const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo* pRasterizationState_ ) VULKAN_HPP_NOEXCEPT + { + pRasterizationState = pRasterizationState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPMultisampleState( const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo* pMultisampleState_ ) VULKAN_HPP_NOEXCEPT + { + pMultisampleState = pMultisampleState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPDepthStencilState( const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo* pDepthStencilState_ ) VULKAN_HPP_NOEXCEPT + { + pDepthStencilState = pDepthStencilState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPColorBlendState( const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo* pColorBlendState_ ) VULKAN_HPP_NOEXCEPT + { + pColorBlendState = pColorBlendState_; + return *this; + } + + GraphicsPipelineCreateInfo & setPDynamicState( const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo* pDynamicState_ ) VULKAN_HPP_NOEXCEPT + { + pDynamicState = pDynamicState_; + return *this; + } + + GraphicsPipelineCreateInfo & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + GraphicsPipelineCreateInfo & setRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass_ ) VULKAN_HPP_NOEXCEPT + { + renderPass = renderPass_; + return *this; + } + + GraphicsPipelineCreateInfo & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT + { + subpass = subpass_; + return *this; + } + + GraphicsPipelineCreateInfo & setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineHandle = basePipelineHandle_; + return *this; + } + + GraphicsPipelineCreateInfo & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineIndex = basePipelineIndex_; + return *this; + } + + + operator VkGraphicsPipelineCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGraphicsPipelineCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GraphicsPipelineCreateInfo const& ) const = default; +#else + bool operator==( GraphicsPipelineCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( stageCount == rhs.stageCount ) + && ( pStages == rhs.pStages ) + && ( pVertexInputState == rhs.pVertexInputState ) + && ( pInputAssemblyState == rhs.pInputAssemblyState ) + && ( pTessellationState == rhs.pTessellationState ) + && ( pViewportState == rhs.pViewportState ) + && ( pRasterizationState == rhs.pRasterizationState ) + && ( pMultisampleState == rhs.pMultisampleState ) + && ( pDepthStencilState == rhs.pDepthStencilState ) + && ( pColorBlendState == rhs.pColorBlendState ) + && ( pDynamicState == rhs.pDynamicState ) + && ( layout == rhs.layout ) + && ( renderPass == rhs.renderPass ) + && ( subpass == rhs.subpass ) + && ( basePipelineHandle == rhs.basePipelineHandle ) + && ( basePipelineIndex == rhs.basePipelineIndex ); + } + + bool operator!=( GraphicsPipelineCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsPipelineCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; + uint32_t stageCount = {}; + const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages = {}; + const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState = {}; + const VULKAN_HPP_NAMESPACE::PipelineInputAssemblyStateCreateInfo* pInputAssemblyState = {}; + const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState = {}; + const VULKAN_HPP_NAMESPACE::PipelineViewportStateCreateInfo* pViewportState = {}; + const VULKAN_HPP_NAMESPACE::PipelineRasterizationStateCreateInfo* pRasterizationState = {}; + const VULKAN_HPP_NAMESPACE::PipelineMultisampleStateCreateInfo* pMultisampleState = {}; + const VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo* pDepthStencilState = {}; + const VULKAN_HPP_NAMESPACE::PipelineColorBlendStateCreateInfo* pColorBlendState = {}; + const VULKAN_HPP_NAMESPACE::PipelineDynamicStateCreateInfo* pDynamicState = {}; + VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; + VULKAN_HPP_NAMESPACE::RenderPass renderPass = {}; + uint32_t subpass = {}; + VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; + int32_t basePipelineIndex = {}; + + }; + static_assert( sizeof( GraphicsPipelineCreateInfo ) == sizeof( VkGraphicsPipelineCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GraphicsPipelineCreateInfo; + }; + + struct ImageCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageCreateInfo(VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ImageType imageType_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::Extent3D extent_ = {}, uint32_t mipLevels_ = {}, uint32_t arrayLayers_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = {}, const uint32_t* pQueueFamilyIndices_ = {}, VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), imageType( imageType_ ), format( format_ ), extent( extent_ ), mipLevels( mipLevels_ ), arrayLayers( arrayLayers_ ), samples( samples_ ), tiling( tiling_ ), usage( usage_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( queueFamilyIndexCount_ ), pQueueFamilyIndices( pQueueFamilyIndices_ ), initialLayout( initialLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageCreateInfo( ImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageCreateInfo( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageCreateInfo( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_, VULKAN_HPP_NAMESPACE::ImageType imageType_, VULKAN_HPP_NAMESPACE::Format format_, VULKAN_HPP_NAMESPACE::Extent3D extent_, uint32_t mipLevels_, uint32_t arrayLayers_, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_, VULKAN_HPP_NAMESPACE::ImageTiling tiling_, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_, VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) + : flags( flags_ ), imageType( imageType_ ), format( format_ ), extent( extent_ ), mipLevels( mipLevels_ ), arrayLayers( arrayLayers_ ), samples( samples_ ), tiling( tiling_ ), usage( usage_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ), pQueueFamilyIndices( queueFamilyIndices_.data() ), initialLayout( initialLayout_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageCreateInfo & operator=( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageCreateInfo & operator=( ImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageCreateInfo ) ); + return *this; + } + + ImageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImageCreateInfo & setImageType( VULKAN_HPP_NAMESPACE::ImageType imageType_ ) VULKAN_HPP_NOEXCEPT + { + imageType = imageType_; + return *this; + } + + ImageCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + ImageCreateInfo & setExtent( VULKAN_HPP_NAMESPACE::Extent3D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + ImageCreateInfo & setMipLevels( uint32_t mipLevels_ ) VULKAN_HPP_NOEXCEPT + { + mipLevels = mipLevels_; + return *this; + } + + ImageCreateInfo & setArrayLayers( uint32_t arrayLayers_ ) VULKAN_HPP_NOEXCEPT + { + arrayLayers = arrayLayers_; + return *this; + } + + ImageCreateInfo & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT + { + samples = samples_; + return *this; + } + + ImageCreateInfo & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT + { + tiling = tiling_; + return *this; + } + + ImageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + ImageCreateInfo & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT + { + sharingMode = sharingMode_; + return *this; + } + + ImageCreateInfo & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = queueFamilyIndexCount_; + return *this; + } + + ImageCreateInfo & setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + pQueueFamilyIndices = pQueueFamilyIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageCreateInfo & setQueueFamilyIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); + pQueueFamilyIndices = queueFamilyIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + ImageCreateInfo & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT + { + initialLayout = initialLayout_; + return *this; + } + + + operator VkImageCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageCreateInfo const& ) const = default; +#else + bool operator==( ImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( imageType == rhs.imageType ) + && ( format == rhs.format ) + && ( extent == rhs.extent ) + && ( mipLevels == rhs.mipLevels ) + && ( arrayLayers == rhs.arrayLayers ) + && ( samples == rhs.samples ) + && ( tiling == rhs.tiling ) + && ( usage == rhs.usage ) + && ( sharingMode == rhs.sharingMode ) + && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) + && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ) + && ( initialLayout == rhs.initialLayout ); + } + + bool operator!=( ImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::ImageType imageType = VULKAN_HPP_NAMESPACE::ImageType::e1D; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::Extent3D extent = {}; + uint32_t mipLevels = {}; + uint32_t arrayLayers = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; + VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; + VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; + uint32_t queueFamilyIndexCount = {}; + const uint32_t* pQueueFamilyIndices = {}; + VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined; + + }; + static_assert( sizeof( ImageCreateInfo ) == sizeof( VkImageCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageCreateInfo; + }; + + struct ImageViewCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageViewCreateInfo(VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Image image_ = {}, VULKAN_HPP_NAMESPACE::ImageViewType viewType_ = VULKAN_HPP_NAMESPACE::ImageViewType::e1D, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::ComponentMapping components_ = {}, VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), image( image_ ), viewType( viewType_ ), format( format_ ), components( components_ ), subresourceRange( subresourceRange_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageViewCreateInfo( ImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageViewCreateInfo( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageViewCreateInfo & operator=( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageViewCreateInfo & operator=( ImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageViewCreateInfo ) ); + return *this; + } + + ImageViewCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageViewCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImageViewCreateInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + ImageViewCreateInfo & setViewType( VULKAN_HPP_NAMESPACE::ImageViewType viewType_ ) VULKAN_HPP_NOEXCEPT + { + viewType = viewType_; + return *this; + } + + ImageViewCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + ImageViewCreateInfo & setComponents( VULKAN_HPP_NAMESPACE::ComponentMapping const & components_ ) VULKAN_HPP_NOEXCEPT + { + components = components_; + return *this; + } + + ImageViewCreateInfo & setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange const & subresourceRange_ ) VULKAN_HPP_NOEXCEPT + { + subresourceRange = subresourceRange_; + return *this; + } + + + operator VkImageViewCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageViewCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageViewCreateInfo const& ) const = default; +#else + bool operator==( ImageViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( image == rhs.image ) + && ( viewType == rhs.viewType ) + && ( format == rhs.format ) + && ( components == rhs.components ) + && ( subresourceRange == rhs.subresourceRange ); + } + + bool operator!=( ImageViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + VULKAN_HPP_NAMESPACE::ImageViewType viewType = VULKAN_HPP_NAMESPACE::ImageViewType::e1D; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::ComponentMapping components = {}; + VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {}; + + }; + static_assert( sizeof( ImageViewCreateInfo ) == sizeof( VkImageViewCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageViewCreateInfo; + }; + + struct IndirectCommandsLayoutTokenNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eIndirectCommandsLayoutTokenNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutTokenNV(VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_ = VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV::eShaderGroup, uint32_t stream_ = {}, uint32_t offset_ = {}, uint32_t vertexBindingUnit_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_ = {}, uint32_t pushconstantOffset_ = {}, uint32_t pushconstantSize_ = {}, VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_ = {}, uint32_t indexTypeCount_ = {}, const VULKAN_HPP_NAMESPACE::IndexType* pIndexTypes_ = {}, const uint32_t* pIndexTypeValues_ = {}) VULKAN_HPP_NOEXCEPT + : tokenType( tokenType_ ), stream( stream_ ), offset( offset_ ), vertexBindingUnit( vertexBindingUnit_ ), vertexDynamicStride( vertexDynamicStride_ ), pushconstantPipelineLayout( pushconstantPipelineLayout_ ), pushconstantShaderStageFlags( pushconstantShaderStageFlags_ ), pushconstantOffset( pushconstantOffset_ ), pushconstantSize( pushconstantSize_ ), indirectStateFlags( indirectStateFlags_ ), indexTypeCount( indexTypeCount_ ), pIndexTypes( pIndexTypes_ ), pIndexTypeValues( pIndexTypeValues_ ) + {} + + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutTokenNV( IndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + IndirectCommandsLayoutTokenNV( VkIndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutTokenNV( VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_, uint32_t stream_, uint32_t offset_, uint32_t vertexBindingUnit_, VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_, VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_, VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_, uint32_t pushconstantOffset_, uint32_t pushconstantSize_, VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypes_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypeValues_ = {} ) + : tokenType( tokenType_ ), stream( stream_ ), offset( offset_ ), vertexBindingUnit( vertexBindingUnit_ ), vertexDynamicStride( vertexDynamicStride_ ), pushconstantPipelineLayout( pushconstantPipelineLayout_ ), pushconstantShaderStageFlags( pushconstantShaderStageFlags_ ), pushconstantOffset( pushconstantOffset_ ), pushconstantSize( pushconstantSize_ ), indirectStateFlags( indirectStateFlags_ ), indexTypeCount( static_cast( indexTypes_.size() ) ), pIndexTypes( indexTypes_.data() ), pIndexTypeValues( indexTypeValues_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( indexTypes_.size() == indexTypeValues_.size() ); +#else + if ( indexTypes_.size() != indexTypeValues_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::IndirectCommandsLayoutTokenNV::IndirectCommandsLayoutTokenNV: indexTypes_.size() != indexTypeValues_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + IndirectCommandsLayoutTokenNV & operator=( VkIndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + IndirectCommandsLayoutTokenNV & operator=( IndirectCommandsLayoutTokenNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( IndirectCommandsLayoutTokenNV ) ); + return *this; + } + + IndirectCommandsLayoutTokenNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setTokenType( VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType_ ) VULKAN_HPP_NOEXCEPT + { + tokenType = tokenType_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setStream( uint32_t stream_ ) VULKAN_HPP_NOEXCEPT + { + stream = stream_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setVertexBindingUnit( uint32_t vertexBindingUnit_ ) VULKAN_HPP_NOEXCEPT + { + vertexBindingUnit = vertexBindingUnit_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setVertexDynamicStride( VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride_ ) VULKAN_HPP_NOEXCEPT + { + vertexDynamicStride = vertexDynamicStride_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setPushconstantPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout_ ) VULKAN_HPP_NOEXCEPT + { + pushconstantPipelineLayout = pushconstantPipelineLayout_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setPushconstantShaderStageFlags( VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags_ ) VULKAN_HPP_NOEXCEPT + { + pushconstantShaderStageFlags = pushconstantShaderStageFlags_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setPushconstantOffset( uint32_t pushconstantOffset_ ) VULKAN_HPP_NOEXCEPT + { + pushconstantOffset = pushconstantOffset_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setPushconstantSize( uint32_t pushconstantSize_ ) VULKAN_HPP_NOEXCEPT + { + pushconstantSize = pushconstantSize_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setIndirectStateFlags( VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags_ ) VULKAN_HPP_NOEXCEPT + { + indirectStateFlags = indirectStateFlags_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setIndexTypeCount( uint32_t indexTypeCount_ ) VULKAN_HPP_NOEXCEPT + { + indexTypeCount = indexTypeCount_; + return *this; + } + + IndirectCommandsLayoutTokenNV & setPIndexTypes( const VULKAN_HPP_NAMESPACE::IndexType* pIndexTypes_ ) VULKAN_HPP_NOEXCEPT + { + pIndexTypes = pIndexTypes_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutTokenNV & setIndexTypes( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypes_ ) VULKAN_HPP_NOEXCEPT + { + indexTypeCount = static_cast( indexTypes_.size() ); + pIndexTypes = indexTypes_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + IndirectCommandsLayoutTokenNV & setPIndexTypeValues( const uint32_t* pIndexTypeValues_ ) VULKAN_HPP_NOEXCEPT + { + pIndexTypeValues = pIndexTypeValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutTokenNV & setIndexTypeValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & indexTypeValues_ ) VULKAN_HPP_NOEXCEPT + { + indexTypeCount = static_cast( indexTypeValues_.size() ); + pIndexTypeValues = indexTypeValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkIndirectCommandsLayoutTokenNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkIndirectCommandsLayoutTokenNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( IndirectCommandsLayoutTokenNV const& ) const = default; +#else + bool operator==( IndirectCommandsLayoutTokenNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( tokenType == rhs.tokenType ) + && ( stream == rhs.stream ) + && ( offset == rhs.offset ) + && ( vertexBindingUnit == rhs.vertexBindingUnit ) + && ( vertexDynamicStride == rhs.vertexDynamicStride ) + && ( pushconstantPipelineLayout == rhs.pushconstantPipelineLayout ) + && ( pushconstantShaderStageFlags == rhs.pushconstantShaderStageFlags ) + && ( pushconstantOffset == rhs.pushconstantOffset ) + && ( pushconstantSize == rhs.pushconstantSize ) + && ( indirectStateFlags == rhs.indirectStateFlags ) + && ( indexTypeCount == rhs.indexTypeCount ) + && ( pIndexTypes == rhs.pIndexTypes ) + && ( pIndexTypeValues == rhs.pIndexTypeValues ); + } + + bool operator!=( IndirectCommandsLayoutTokenNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIndirectCommandsLayoutTokenNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV tokenType = VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeNV::eShaderGroup; + uint32_t stream = {}; + uint32_t offset = {}; + uint32_t vertexBindingUnit = {}; + VULKAN_HPP_NAMESPACE::Bool32 vertexDynamicStride = {}; + VULKAN_HPP_NAMESPACE::PipelineLayout pushconstantPipelineLayout = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags pushconstantShaderStageFlags = {}; + uint32_t pushconstantOffset = {}; + uint32_t pushconstantSize = {}; + VULKAN_HPP_NAMESPACE::IndirectStateFlagsNV indirectStateFlags = {}; + uint32_t indexTypeCount = {}; + const VULKAN_HPP_NAMESPACE::IndexType* pIndexTypes = {}; + const uint32_t* pIndexTypeValues = {}; + + }; + static_assert( sizeof( IndirectCommandsLayoutTokenNV ) == sizeof( VkIndirectCommandsLayoutTokenNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = IndirectCommandsLayoutTokenNV; + }; + + struct IndirectCommandsLayoutCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eIndirectCommandsLayoutCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutCreateInfoNV(VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_ = {}, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, uint32_t tokenCount_ = {}, const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV* pTokens_ = {}, uint32_t streamCount_ = {}, const uint32_t* pStreamStrides_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), tokenCount( tokenCount_ ), pTokens( pTokens_ ), streamCount( streamCount_ ), pStreamStrides( pStreamStrides_ ) + {} + + VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutCreateInfoNV( IndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + IndirectCommandsLayoutCreateInfoNV( VkIndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutCreateInfoNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tokens_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streamStrides_ = {} ) + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), tokenCount( static_cast( tokens_.size() ) ), pTokens( tokens_.data() ), streamCount( static_cast( streamStrides_.size() ) ), pStreamStrides( streamStrides_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + IndirectCommandsLayoutCreateInfoNV & operator=( VkIndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & operator=( IndirectCommandsLayoutCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( IndirectCommandsLayoutCreateInfoNV ) ); + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setTokenCount( uint32_t tokenCount_ ) VULKAN_HPP_NOEXCEPT + { + tokenCount = tokenCount_; + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setPTokens( const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV* pTokens_ ) VULKAN_HPP_NOEXCEPT + { + pTokens = pTokens_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutCreateInfoNV & setTokens( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & tokens_ ) VULKAN_HPP_NOEXCEPT + { + tokenCount = static_cast( tokens_.size() ); + pTokens = tokens_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + IndirectCommandsLayoutCreateInfoNV & setStreamCount( uint32_t streamCount_ ) VULKAN_HPP_NOEXCEPT + { + streamCount = streamCount_; + return *this; + } + + IndirectCommandsLayoutCreateInfoNV & setPStreamStrides( const uint32_t* pStreamStrides_ ) VULKAN_HPP_NOEXCEPT + { + pStreamStrides = pStreamStrides_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + IndirectCommandsLayoutCreateInfoNV & setStreamStrides( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & streamStrides_ ) VULKAN_HPP_NOEXCEPT + { + streamCount = static_cast( streamStrides_.size() ); + pStreamStrides = streamStrides_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkIndirectCommandsLayoutCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkIndirectCommandsLayoutCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( IndirectCommandsLayoutCreateInfoNV const& ) const = default; +#else + bool operator==( IndirectCommandsLayoutCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( tokenCount == rhs.tokenCount ) + && ( pTokens == rhs.pTokens ) + && ( streamCount == rhs.streamCount ) + && ( pStreamStrides == rhs.pStreamStrides ); + } + + bool operator!=( IndirectCommandsLayoutCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIndirectCommandsLayoutCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsNV flags = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + uint32_t tokenCount = {}; + const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNV* pTokens = {}; + uint32_t streamCount = {}; + const uint32_t* pStreamStrides = {}; + + }; + static_assert( sizeof( IndirectCommandsLayoutCreateInfoNV ) == sizeof( VkIndirectCommandsLayoutCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = IndirectCommandsLayoutCreateInfoNV; + }; + + struct PipelineCacheCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCacheCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCacheCreateInfo(VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_ = {}, size_t initialDataSize_ = {}, const void* pInitialData_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), initialDataSize( initialDataSize_ ), pInitialData( pInitialData_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCacheCreateInfo( PipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCacheCreateInfo( VkPipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + PipelineCacheCreateInfo( VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) + : flags( flags_ ), initialDataSize( initialData_.size() * sizeof(T) ), pInitialData( initialData_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCacheCreateInfo & operator=( VkPipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCacheCreateInfo & operator=( PipelineCacheCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCacheCreateInfo ) ); + return *this; + } + + PipelineCacheCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCacheCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineCacheCreateInfo & setInitialDataSize( size_t initialDataSize_ ) VULKAN_HPP_NOEXCEPT + { + initialDataSize = initialDataSize_; + return *this; + } + + PipelineCacheCreateInfo & setPInitialData( const void* pInitialData_ ) VULKAN_HPP_NOEXCEPT + { + pInitialData = pInitialData_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + PipelineCacheCreateInfo & setInitialData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) VULKAN_HPP_NOEXCEPT + { + initialDataSize = initialData_.size() * sizeof(T); + pInitialData = initialData_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineCacheCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCacheCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCacheCreateInfo const& ) const = default; +#else + bool operator==( PipelineCacheCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( initialDataSize == rhs.initialDataSize ) + && ( pInitialData == rhs.pInitialData ); + } + + bool operator!=( PipelineCacheCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCacheCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCacheCreateFlags flags = {}; + size_t initialDataSize = {}; + const void* pInitialData = {}; + + }; + static_assert( sizeof( PipelineCacheCreateInfo ) == sizeof( VkPipelineCacheCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCacheCreateInfo; + }; + + struct PushConstantRange + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PushConstantRange(VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ = {}, uint32_t offset_ = {}, uint32_t size_ = {}) VULKAN_HPP_NOEXCEPT + : stageFlags( stageFlags_ ), offset( offset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR PushConstantRange( PushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PushConstantRange( VkPushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PushConstantRange & operator=( VkPushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PushConstantRange & operator=( PushConstantRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PushConstantRange ) ); + return *this; + } + + PushConstantRange & setStageFlags( VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags_ ) VULKAN_HPP_NOEXCEPT + { + stageFlags = stageFlags_; + return *this; + } + + PushConstantRange & setOffset( uint32_t offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + PushConstantRange & setSize( uint32_t size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkPushConstantRange const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPushConstantRange &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PushConstantRange const& ) const = default; +#else + bool operator==( PushConstantRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( stageFlags == rhs.stageFlags ) + && ( offset == rhs.offset ) + && ( size == rhs.size ); + } + + bool operator!=( PushConstantRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags = {}; + uint32_t offset = {}; + uint32_t size = {}; + + }; + static_assert( sizeof( PushConstantRange ) == sizeof( VkPushConstantRange ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineLayoutCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineLayoutCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineLayoutCreateInfo(VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_ = {}, uint32_t setLayoutCount_ = {}, const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts_ = {}, uint32_t pushConstantRangeCount_ = {}, const VULKAN_HPP_NAMESPACE::PushConstantRange* pPushConstantRanges_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), setLayoutCount( setLayoutCount_ ), pSetLayouts( pSetLayouts_ ), pushConstantRangeCount( pushConstantRangeCount_ ), pPushConstantRanges( pPushConstantRanges_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineLayoutCreateInfo( PipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineLayoutCreateInfo( VkPipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineLayoutCreateInfo( VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & setLayouts_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pushConstantRanges_ = {} ) + : flags( flags_ ), setLayoutCount( static_cast( setLayouts_.size() ) ), pSetLayouts( setLayouts_.data() ), pushConstantRangeCount( static_cast( pushConstantRanges_.size() ) ), pPushConstantRanges( pushConstantRanges_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineLayoutCreateInfo & operator=( VkPipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineLayoutCreateInfo & operator=( PipelineLayoutCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineLayoutCreateInfo ) ); + return *this; + } + + PipelineLayoutCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineLayoutCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineLayoutCreateInfo & setSetLayoutCount( uint32_t setLayoutCount_ ) VULKAN_HPP_NOEXCEPT + { + setLayoutCount = setLayoutCount_; + return *this; + } + + PipelineLayoutCreateInfo & setPSetLayouts( const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts_ ) VULKAN_HPP_NOEXCEPT + { + pSetLayouts = pSetLayouts_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineLayoutCreateInfo & setSetLayouts( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & setLayouts_ ) VULKAN_HPP_NOEXCEPT + { + setLayoutCount = static_cast( setLayouts_.size() ); + pSetLayouts = setLayouts_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PipelineLayoutCreateInfo & setPushConstantRangeCount( uint32_t pushConstantRangeCount_ ) VULKAN_HPP_NOEXCEPT + { + pushConstantRangeCount = pushConstantRangeCount_; + return *this; + } + + PipelineLayoutCreateInfo & setPPushConstantRanges( const VULKAN_HPP_NAMESPACE::PushConstantRange* pPushConstantRanges_ ) VULKAN_HPP_NOEXCEPT + { + pPushConstantRanges = pPushConstantRanges_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineLayoutCreateInfo & setPushConstantRanges( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pushConstantRanges_ ) VULKAN_HPP_NOEXCEPT + { + pushConstantRangeCount = static_cast( pushConstantRanges_.size() ); + pPushConstantRanges = pushConstantRanges_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineLayoutCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineLayoutCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineLayoutCreateInfo const& ) const = default; +#else + bool operator==( PipelineLayoutCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( setLayoutCount == rhs.setLayoutCount ) + && ( pSetLayouts == rhs.pSetLayouts ) + && ( pushConstantRangeCount == rhs.pushConstantRangeCount ) + && ( pPushConstantRanges == rhs.pPushConstantRanges ); + } + + bool operator!=( PipelineLayoutCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineLayoutCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineLayoutCreateFlags flags = {}; + uint32_t setLayoutCount = {}; + const VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayouts = {}; + uint32_t pushConstantRangeCount = {}; + const VULKAN_HPP_NAMESPACE::PushConstantRange* pPushConstantRanges = {}; + + }; + static_assert( sizeof( PipelineLayoutCreateInfo ) == sizeof( VkPipelineLayoutCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineLayoutCreateInfo; + }; + + struct PrivateDataSlotCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePrivateDataSlotCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PrivateDataSlotCreateInfoEXT(VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR PrivateDataSlotCreateInfoEXT( PrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PrivateDataSlotCreateInfoEXT( VkPrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PrivateDataSlotCreateInfoEXT & operator=( VkPrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PrivateDataSlotCreateInfoEXT & operator=( PrivateDataSlotCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PrivateDataSlotCreateInfoEXT ) ); + return *this; + } + + PrivateDataSlotCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PrivateDataSlotCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkPrivateDataSlotCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPrivateDataSlotCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PrivateDataSlotCreateInfoEXT const& ) const = default; +#else + bool operator==( PrivateDataSlotCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( PrivateDataSlotCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePrivateDataSlotCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT flags = {}; + + }; + static_assert( sizeof( PrivateDataSlotCreateInfoEXT ) == sizeof( VkPrivateDataSlotCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PrivateDataSlotCreateInfoEXT; + }; + + class PrivateDataSlotEXT + { + public: + using CType = VkPrivateDataSlotEXT; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePrivateDataSlotEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + + public: + VULKAN_HPP_CONSTEXPR PrivateDataSlotEXT() VULKAN_HPP_NOEXCEPT + : m_privateDataSlotEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR PrivateDataSlotEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_privateDataSlotEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT PrivateDataSlotEXT( VkPrivateDataSlotEXT privateDataSlotEXT ) VULKAN_HPP_NOEXCEPT + : m_privateDataSlotEXT( privateDataSlotEXT ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + PrivateDataSlotEXT & operator=(VkPrivateDataSlotEXT privateDataSlotEXT) VULKAN_HPP_NOEXCEPT + { + m_privateDataSlotEXT = privateDataSlotEXT; + return *this; + } +#endif + + PrivateDataSlotEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_privateDataSlotEXT = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PrivateDataSlotEXT const& ) const = default; +#else + bool operator==( PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT == rhs.m_privateDataSlotEXT; + } + + bool operator!=(PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT != rhs.m_privateDataSlotEXT; + } + + bool operator<(PrivateDataSlotEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT < rhs.m_privateDataSlotEXT; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPrivateDataSlotEXT() const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_privateDataSlotEXT == VK_NULL_HANDLE; + } + + private: + VkPrivateDataSlotEXT m_privateDataSlotEXT; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT ) == sizeof( VkPrivateDataSlotEXT ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT; + }; + + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct QueryPoolCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueryPoolCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueryPoolCreateInfo(VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::QueryType queryType_ = VULKAN_HPP_NAMESPACE::QueryType::eOcclusion, uint32_t queryCount_ = {}, VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), queryType( queryType_ ), queryCount( queryCount_ ), pipelineStatistics( pipelineStatistics_ ) + {} + + VULKAN_HPP_CONSTEXPR QueryPoolCreateInfo( QueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueryPoolCreateInfo( VkQueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueryPoolCreateInfo & operator=( VkQueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueryPoolCreateInfo & operator=( QueryPoolCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueryPoolCreateInfo ) ); + return *this; + } + + QueryPoolCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + QueryPoolCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + QueryPoolCreateInfo & setQueryType( VULKAN_HPP_NAMESPACE::QueryType queryType_ ) VULKAN_HPP_NOEXCEPT + { + queryType = queryType_; + return *this; + } + + QueryPoolCreateInfo & setQueryCount( uint32_t queryCount_ ) VULKAN_HPP_NOEXCEPT + { + queryCount = queryCount_; + return *this; + } + + QueryPoolCreateInfo & setPipelineStatistics( VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics_ ) VULKAN_HPP_NOEXCEPT + { + pipelineStatistics = pipelineStatistics_; + return *this; + } + + + operator VkQueryPoolCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueryPoolCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueryPoolCreateInfo const& ) const = default; +#else + bool operator==( QueryPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( queryType == rhs.queryType ) + && ( queryCount == rhs.queryCount ) + && ( pipelineStatistics == rhs.pipelineStatistics ); + } + + bool operator!=( QueryPoolCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::QueryPoolCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::QueryType queryType = VULKAN_HPP_NAMESPACE::QueryType::eOcclusion; + uint32_t queryCount = {}; + VULKAN_HPP_NAMESPACE::QueryPipelineStatisticFlags pipelineStatistics = {}; + + }; + static_assert( sizeof( QueryPoolCreateInfo ) == sizeof( VkQueryPoolCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = QueryPoolCreateInfo; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct RayTracingShaderGroupCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingShaderGroupCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RayTracingShaderGroupCreateInfoKHR(VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ = VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral, uint32_t generalShader_ = {}, uint32_t closestHitShader_ = {}, uint32_t anyHitShader_ = {}, uint32_t intersectionShader_ = {}, const void* pShaderGroupCaptureReplayHandle_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), generalShader( generalShader_ ), closestHitShader( closestHitShader_ ), anyHitShader( anyHitShader_ ), intersectionShader( intersectionShader_ ), pShaderGroupCaptureReplayHandle( pShaderGroupCaptureReplayHandle_ ) + {} + + VULKAN_HPP_CONSTEXPR RayTracingShaderGroupCreateInfoKHR( RayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RayTracingShaderGroupCreateInfoKHR( VkRayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RayTracingShaderGroupCreateInfoKHR & operator=( VkRayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & operator=( RayTracingShaderGroupCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RayTracingShaderGroupCreateInfoKHR ) ); + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setType( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setGeneralShader( uint32_t generalShader_ ) VULKAN_HPP_NOEXCEPT + { + generalShader = generalShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setClosestHitShader( uint32_t closestHitShader_ ) VULKAN_HPP_NOEXCEPT + { + closestHitShader = closestHitShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setAnyHitShader( uint32_t anyHitShader_ ) VULKAN_HPP_NOEXCEPT + { + anyHitShader = anyHitShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setIntersectionShader( uint32_t intersectionShader_ ) VULKAN_HPP_NOEXCEPT + { + intersectionShader = intersectionShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoKHR & setPShaderGroupCaptureReplayHandle( const void* pShaderGroupCaptureReplayHandle_ ) VULKAN_HPP_NOEXCEPT + { + pShaderGroupCaptureReplayHandle = pShaderGroupCaptureReplayHandle_; + return *this; + } + + + operator VkRayTracingShaderGroupCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRayTracingShaderGroupCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RayTracingShaderGroupCreateInfoKHR const& ) const = default; +#else + bool operator==( RayTracingShaderGroupCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( generalShader == rhs.generalShader ) + && ( closestHitShader == rhs.closestHitShader ) + && ( anyHitShader == rhs.anyHitShader ) + && ( intersectionShader == rhs.intersectionShader ) + && ( pShaderGroupCaptureReplayHandle == rhs.pShaderGroupCaptureReplayHandle ); + } + + bool operator!=( RayTracingShaderGroupCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingShaderGroupCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type = VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral; + uint32_t generalShader = {}; + uint32_t closestHitShader = {}; + uint32_t anyHitShader = {}; + uint32_t intersectionShader = {}; + const void* pShaderGroupCaptureReplayHandle = {}; + + }; + static_assert( sizeof( RayTracingShaderGroupCreateInfoKHR ) == sizeof( VkRayTracingShaderGroupCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RayTracingShaderGroupCreateInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct PipelineLibraryCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineLibraryCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineLibraryCreateInfoKHR(uint32_t libraryCount_ = {}, const VULKAN_HPP_NAMESPACE::Pipeline* pLibraries_ = {}) VULKAN_HPP_NOEXCEPT + : libraryCount( libraryCount_ ), pLibraries( pLibraries_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineLibraryCreateInfoKHR( PipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineLibraryCreateInfoKHR( VkPipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineLibraryCreateInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & libraries_ ) + : libraryCount( static_cast( libraries_.size() ) ), pLibraries( libraries_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineLibraryCreateInfoKHR & operator=( VkPipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineLibraryCreateInfoKHR & operator=( PipelineLibraryCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineLibraryCreateInfoKHR ) ); + return *this; + } + + PipelineLibraryCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineLibraryCreateInfoKHR & setLibraryCount( uint32_t libraryCount_ ) VULKAN_HPP_NOEXCEPT + { + libraryCount = libraryCount_; + return *this; + } + + PipelineLibraryCreateInfoKHR & setPLibraries( const VULKAN_HPP_NAMESPACE::Pipeline* pLibraries_ ) VULKAN_HPP_NOEXCEPT + { + pLibraries = pLibraries_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineLibraryCreateInfoKHR & setLibraries( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & libraries_ ) VULKAN_HPP_NOEXCEPT + { + libraryCount = static_cast( libraries_.size() ); + pLibraries = libraries_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineLibraryCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineLibraryCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineLibraryCreateInfoKHR const& ) const = default; +#else + bool operator==( PipelineLibraryCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( libraryCount == rhs.libraryCount ) + && ( pLibraries == rhs.pLibraries ); + } + + bool operator!=( PipelineLibraryCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineLibraryCreateInfoKHR; + const void* pNext = {}; + uint32_t libraryCount = {}; + const VULKAN_HPP_NAMESPACE::Pipeline* pLibraries = {}; + + }; + static_assert( sizeof( PipelineLibraryCreateInfoKHR ) == sizeof( VkPipelineLibraryCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineLibraryCreateInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct RayTracingPipelineInterfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingPipelineInterfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RayTracingPipelineInterfaceCreateInfoKHR(uint32_t maxPayloadSize_ = {}, uint32_t maxAttributeSize_ = {}, uint32_t maxCallableSize_ = {}) VULKAN_HPP_NOEXCEPT + : maxPayloadSize( maxPayloadSize_ ), maxAttributeSize( maxAttributeSize_ ), maxCallableSize( maxCallableSize_ ) + {} + + VULKAN_HPP_CONSTEXPR RayTracingPipelineInterfaceCreateInfoKHR( RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RayTracingPipelineInterfaceCreateInfoKHR( VkRayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RayTracingPipelineInterfaceCreateInfoKHR & operator=( VkRayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RayTracingPipelineInterfaceCreateInfoKHR & operator=( RayTracingPipelineInterfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RayTracingPipelineInterfaceCreateInfoKHR ) ); + return *this; + } + + RayTracingPipelineInterfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RayTracingPipelineInterfaceCreateInfoKHR & setMaxPayloadSize( uint32_t maxPayloadSize_ ) VULKAN_HPP_NOEXCEPT + { + maxPayloadSize = maxPayloadSize_; + return *this; + } + + RayTracingPipelineInterfaceCreateInfoKHR & setMaxAttributeSize( uint32_t maxAttributeSize_ ) VULKAN_HPP_NOEXCEPT + { + maxAttributeSize = maxAttributeSize_; + return *this; + } + + RayTracingPipelineInterfaceCreateInfoKHR & setMaxCallableSize( uint32_t maxCallableSize_ ) VULKAN_HPP_NOEXCEPT + { + maxCallableSize = maxCallableSize_; + return *this; + } + + + operator VkRayTracingPipelineInterfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRayTracingPipelineInterfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RayTracingPipelineInterfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( RayTracingPipelineInterfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxPayloadSize == rhs.maxPayloadSize ) + && ( maxAttributeSize == rhs.maxAttributeSize ) + && ( maxCallableSize == rhs.maxCallableSize ); + } + + bool operator!=( RayTracingPipelineInterfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineInterfaceCreateInfoKHR; + const void* pNext = {}; + uint32_t maxPayloadSize = {}; + uint32_t maxAttributeSize = {}; + uint32_t maxCallableSize = {}; + + }; + static_assert( sizeof( RayTracingPipelineInterfaceCreateInfoKHR ) == sizeof( VkRayTracingPipelineInterfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RayTracingPipelineInterfaceCreateInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct RayTracingPipelineCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingPipelineCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RayTracingPipelineCreateInfoKHR(VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, uint32_t stageCount_ = {}, const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ = {}, uint32_t groupCount_ = {}, const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR* pGroups_ = {}, uint32_t maxRecursionDepth_ = {}, VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR libraries_ = {}, const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), stageCount( stageCount_ ), pStages( pStages_ ), groupCount( groupCount_ ), pGroups( pGroups_ ), maxRecursionDepth( maxRecursionDepth_ ), libraries( libraries_ ), pLibraryInterface( pLibraryInterface_ ), layout( layout_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR RayTracingPipelineCreateInfoKHR( RayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RayTracingPipelineCreateInfoKHR( VkRayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoKHR( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_ = {}, uint32_t maxRecursionDepth_ = {}, VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR libraries_ = {}, const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {} ) + : flags( flags_ ), stageCount( static_cast( stages_.size() ) ), pStages( stages_.data() ), groupCount( static_cast( groups_.size() ) ), pGroups( groups_.data() ), maxRecursionDepth( maxRecursionDepth_ ), libraries( libraries_ ), pLibraryInterface( pLibraryInterface_ ), layout( layout_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RayTracingPipelineCreateInfoKHR & operator=( VkRayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RayTracingPipelineCreateInfoKHR & operator=( RayTracingPipelineCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RayTracingPipelineCreateInfoKHR ) ); + return *this; + } + + RayTracingPipelineCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = stageCount_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ ) VULKAN_HPP_NOEXCEPT + { + pStages = pStages_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoKHR & setStages( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = static_cast( stages_.size() ); + pStages = stages_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RayTracingPipelineCreateInfoKHR & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = groupCount_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setPGroups( const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR* pGroups_ ) VULKAN_HPP_NOEXCEPT + { + pGroups = pGroups_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoKHR & setGroups( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = static_cast( groups_.size() ); + pGroups = groups_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RayTracingPipelineCreateInfoKHR & setMaxRecursionDepth( uint32_t maxRecursionDepth_ ) VULKAN_HPP_NOEXCEPT + { + maxRecursionDepth = maxRecursionDepth_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setLibraries( VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR const & libraries_ ) VULKAN_HPP_NOEXCEPT + { + libraries = libraries_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setPLibraryInterface( const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface_ ) VULKAN_HPP_NOEXCEPT + { + pLibraryInterface = pLibraryInterface_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineHandle = basePipelineHandle_; + return *this; + } + + RayTracingPipelineCreateInfoKHR & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineIndex = basePipelineIndex_; + return *this; + } + + + operator VkRayTracingPipelineCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRayTracingPipelineCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RayTracingPipelineCreateInfoKHR const& ) const = default; +#else + bool operator==( RayTracingPipelineCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( stageCount == rhs.stageCount ) + && ( pStages == rhs.pStages ) + && ( groupCount == rhs.groupCount ) + && ( pGroups == rhs.pGroups ) + && ( maxRecursionDepth == rhs.maxRecursionDepth ) + && ( libraries == rhs.libraries ) + && ( pLibraryInterface == rhs.pLibraryInterface ) + && ( layout == rhs.layout ) + && ( basePipelineHandle == rhs.basePipelineHandle ) + && ( basePipelineIndex == rhs.basePipelineIndex ); + } + + bool operator!=( RayTracingPipelineCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; + uint32_t stageCount = {}; + const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages = {}; + uint32_t groupCount = {}; + const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoKHR* pGroups = {}; + uint32_t maxRecursionDepth = {}; + VULKAN_HPP_NAMESPACE::PipelineLibraryCreateInfoKHR libraries = {}; + const VULKAN_HPP_NAMESPACE::RayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface = {}; + VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; + VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; + int32_t basePipelineIndex = {}; + + }; + static_assert( sizeof( RayTracingPipelineCreateInfoKHR ) == sizeof( VkRayTracingPipelineCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RayTracingPipelineCreateInfoKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct RayTracingShaderGroupCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingShaderGroupCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RayTracingShaderGroupCreateInfoNV(VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ = VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral, uint32_t generalShader_ = {}, uint32_t closestHitShader_ = {}, uint32_t anyHitShader_ = {}, uint32_t intersectionShader_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), generalShader( generalShader_ ), closestHitShader( closestHitShader_ ), anyHitShader( anyHitShader_ ), intersectionShader( intersectionShader_ ) + {} + + VULKAN_HPP_CONSTEXPR RayTracingShaderGroupCreateInfoNV( RayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RayTracingShaderGroupCreateInfoNV( VkRayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RayTracingShaderGroupCreateInfoNV & operator=( VkRayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RayTracingShaderGroupCreateInfoNV & operator=( RayTracingShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RayTracingShaderGroupCreateInfoNV ) ); + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setType( VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setGeneralShader( uint32_t generalShader_ ) VULKAN_HPP_NOEXCEPT + { + generalShader = generalShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setClosestHitShader( uint32_t closestHitShader_ ) VULKAN_HPP_NOEXCEPT + { + closestHitShader = closestHitShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setAnyHitShader( uint32_t anyHitShader_ ) VULKAN_HPP_NOEXCEPT + { + anyHitShader = anyHitShader_; + return *this; + } + + RayTracingShaderGroupCreateInfoNV & setIntersectionShader( uint32_t intersectionShader_ ) VULKAN_HPP_NOEXCEPT + { + intersectionShader = intersectionShader_; + return *this; + } + + + operator VkRayTracingShaderGroupCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRayTracingShaderGroupCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RayTracingShaderGroupCreateInfoNV const& ) const = default; +#else + bool operator==( RayTracingShaderGroupCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( type == rhs.type ) + && ( generalShader == rhs.generalShader ) + && ( closestHitShader == rhs.closestHitShader ) + && ( anyHitShader == rhs.anyHitShader ) + && ( intersectionShader == rhs.intersectionShader ); + } + + bool operator!=( RayTracingShaderGroupCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingShaderGroupCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR type = VULKAN_HPP_NAMESPACE::RayTracingShaderGroupTypeKHR::eGeneral; + uint32_t generalShader = {}; + uint32_t closestHitShader = {}; + uint32_t anyHitShader = {}; + uint32_t intersectionShader = {}; + + }; + static_assert( sizeof( RayTracingShaderGroupCreateInfoNV ) == sizeof( VkRayTracingShaderGroupCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RayTracingShaderGroupCreateInfoNV; + }; + + struct RayTracingPipelineCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRayTracingPipelineCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RayTracingPipelineCreateInfoNV(VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ = {}, uint32_t stageCount_ = {}, const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ = {}, uint32_t groupCount_ = {}, const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV* pGroups_ = {}, uint32_t maxRecursionDepth_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), stageCount( stageCount_ ), pStages( pStages_ ), groupCount( groupCount_ ), pGroups( pGroups_ ), maxRecursionDepth( maxRecursionDepth_ ), layout( layout_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR RayTracingPipelineCreateInfoNV( RayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RayTracingPipelineCreateInfoNV( VkRayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoNV( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_ = {}, uint32_t maxRecursionDepth_ = {}, VULKAN_HPP_NAMESPACE::PipelineLayout layout_ = {}, VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ = {}, int32_t basePipelineIndex_ = {} ) + : flags( flags_ ), stageCount( static_cast( stages_.size() ) ), pStages( stages_.data() ), groupCount( static_cast( groups_.size() ) ), pGroups( groups_.data() ), maxRecursionDepth( maxRecursionDepth_ ), layout( layout_ ), basePipelineHandle( basePipelineHandle_ ), basePipelineIndex( basePipelineIndex_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RayTracingPipelineCreateInfoNV & operator=( VkRayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RayTracingPipelineCreateInfoNV & operator=( RayTracingPipelineCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RayTracingPipelineCreateInfoNV ) ); + return *this; + } + + RayTracingPipelineCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = stageCount_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ ) VULKAN_HPP_NOEXCEPT + { + pStages = pStages_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoNV & setStages( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = static_cast( stages_.size() ); + pStages = stages_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RayTracingPipelineCreateInfoNV & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = groupCount_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setPGroups( const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV* pGroups_ ) VULKAN_HPP_NOEXCEPT + { + pGroups = pGroups_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RayTracingPipelineCreateInfoNV & setGroups( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = static_cast( groups_.size() ); + pGroups = groups_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RayTracingPipelineCreateInfoNV & setMaxRecursionDepth( uint32_t maxRecursionDepth_ ) VULKAN_HPP_NOEXCEPT + { + maxRecursionDepth = maxRecursionDepth_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setLayout( VULKAN_HPP_NAMESPACE::PipelineLayout layout_ ) VULKAN_HPP_NOEXCEPT + { + layout = layout_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setBasePipelineHandle( VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineHandle = basePipelineHandle_; + return *this; + } + + RayTracingPipelineCreateInfoNV & setBasePipelineIndex( int32_t basePipelineIndex_ ) VULKAN_HPP_NOEXCEPT + { + basePipelineIndex = basePipelineIndex_; + return *this; + } + + + operator VkRayTracingPipelineCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRayTracingPipelineCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RayTracingPipelineCreateInfoNV const& ) const = default; +#else + bool operator==( RayTracingPipelineCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( stageCount == rhs.stageCount ) + && ( pStages == rhs.pStages ) + && ( groupCount == rhs.groupCount ) + && ( pGroups == rhs.pGroups ) + && ( maxRecursionDepth == rhs.maxRecursionDepth ) + && ( layout == rhs.layout ) + && ( basePipelineHandle == rhs.basePipelineHandle ) + && ( basePipelineIndex == rhs.basePipelineIndex ); + } + + bool operator!=( RayTracingPipelineCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRayTracingPipelineCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCreateFlags flags = {}; + uint32_t stageCount = {}; + const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages = {}; + uint32_t groupCount = {}; + const VULKAN_HPP_NAMESPACE::RayTracingShaderGroupCreateInfoNV* pGroups = {}; + uint32_t maxRecursionDepth = {}; + VULKAN_HPP_NAMESPACE::PipelineLayout layout = {}; + VULKAN_HPP_NAMESPACE::Pipeline basePipelineHandle = {}; + int32_t basePipelineIndex = {}; + + }; + static_assert( sizeof( RayTracingPipelineCreateInfoNV ) == sizeof( VkRayTracingPipelineCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RayTracingPipelineCreateInfoNV; + }; + + struct SubpassDescription + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassDescription(VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ = {}, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, uint32_t inputAttachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference* pInputAttachments_ = {}, uint32_t colorAttachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference* pColorAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference* pResolveAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference* pDepthStencilAttachment_ = {}, uint32_t preserveAttachmentCount_ = {}, const uint32_t* pPreserveAttachments_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), inputAttachmentCount( inputAttachmentCount_ ), pInputAttachments( pInputAttachments_ ), colorAttachmentCount( colorAttachmentCount_ ), pColorAttachments( pColorAttachments_ ), pResolveAttachments( pResolveAttachments_ ), pDepthStencilAttachment( pDepthStencilAttachment_ ), preserveAttachmentCount( preserveAttachmentCount_ ), pPreserveAttachments( pPreserveAttachments_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassDescription( SubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassDescription( VkSubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & inputAttachments_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorAttachments_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & resolveAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference* pDepthStencilAttachment_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ = {} ) + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), inputAttachmentCount( static_cast( inputAttachments_.size() ) ), pInputAttachments( inputAttachments_.data() ), colorAttachmentCount( static_cast( colorAttachments_.size() ) ), pColorAttachments( colorAttachments_.data() ), pResolveAttachments( resolveAttachments_.data() ), pDepthStencilAttachment( pDepthStencilAttachment_ ), preserveAttachmentCount( static_cast( preserveAttachments_.size() ) ), pPreserveAttachments( preserveAttachments_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( resolveAttachments_.empty() || ( colorAttachments_.size() == resolveAttachments_.size() ) ); +#else + if ( !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() ) ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::SubpassDescription::SubpassDescription: !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() )" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassDescription & operator=( VkSubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassDescription & operator=( SubpassDescription const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassDescription ) ); + return *this; + } + + SubpassDescription & setFlags( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + SubpassDescription & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + SubpassDescription & setInputAttachmentCount( uint32_t inputAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + inputAttachmentCount = inputAttachmentCount_; + return *this; + } + + SubpassDescription & setPInputAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference* pInputAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pInputAttachments = pInputAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription & setInputAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & inputAttachments_ ) VULKAN_HPP_NOEXCEPT + { + inputAttachmentCount = static_cast( inputAttachments_.size() ); + pInputAttachments = inputAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription & setColorAttachmentCount( uint32_t colorAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = colorAttachmentCount_; + return *this; + } + + SubpassDescription & setPColorAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference* pColorAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pColorAttachments = pColorAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription & setColorAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorAttachments_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = static_cast( colorAttachments_.size() ); + pColorAttachments = colorAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription & setPResolveAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference* pResolveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pResolveAttachments = pResolveAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription & setResolveAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & resolveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = static_cast( resolveAttachments_.size() ); + pResolveAttachments = resolveAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription & setPDepthStencilAttachment( const VULKAN_HPP_NAMESPACE::AttachmentReference* pDepthStencilAttachment_ ) VULKAN_HPP_NOEXCEPT + { + pDepthStencilAttachment = pDepthStencilAttachment_; + return *this; + } + + SubpassDescription & setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + preserveAttachmentCount = preserveAttachmentCount_; + return *this; + } + + SubpassDescription & setPPreserveAttachments( const uint32_t* pPreserveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pPreserveAttachments = pPreserveAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription & setPreserveAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + preserveAttachmentCount = static_cast( preserveAttachments_.size() ); + pPreserveAttachments = preserveAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSubpassDescription const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassDescription &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassDescription const& ) const = default; +#else + bool operator==( SubpassDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( flags == rhs.flags ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( inputAttachmentCount == rhs.inputAttachmentCount ) + && ( pInputAttachments == rhs.pInputAttachments ) + && ( colorAttachmentCount == rhs.colorAttachmentCount ) + && ( pColorAttachments == rhs.pColorAttachments ) + && ( pResolveAttachments == rhs.pResolveAttachments ) + && ( pDepthStencilAttachment == rhs.pDepthStencilAttachment ) + && ( preserveAttachmentCount == rhs.preserveAttachmentCount ) + && ( pPreserveAttachments == rhs.pPreserveAttachments ); + } + + bool operator!=( SubpassDescription const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + uint32_t inputAttachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference* pInputAttachments = {}; + uint32_t colorAttachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference* pColorAttachments = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference* pResolveAttachments = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference* pDepthStencilAttachment = {}; + uint32_t preserveAttachmentCount = {}; + const uint32_t* pPreserveAttachments = {}; + + }; + static_assert( sizeof( SubpassDescription ) == sizeof( VkSubpassDescription ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SubpassDependency + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassDependency(uint32_t srcSubpass_ = {}, uint32_t dstSubpass_ = {}, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ = {}, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubpass( srcSubpass_ ), dstSubpass( dstSubpass_ ), srcStageMask( srcStageMask_ ), dstStageMask( dstStageMask_ ), srcAccessMask( srcAccessMask_ ), dstAccessMask( dstAccessMask_ ), dependencyFlags( dependencyFlags_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassDependency( SubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassDependency( VkSubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassDependency & operator=( VkSubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassDependency & operator=( SubpassDependency const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassDependency ) ); + return *this; + } + + SubpassDependency & setSrcSubpass( uint32_t srcSubpass_ ) VULKAN_HPP_NOEXCEPT + { + srcSubpass = srcSubpass_; + return *this; + } + + SubpassDependency & setDstSubpass( uint32_t dstSubpass_ ) VULKAN_HPP_NOEXCEPT + { + dstSubpass = dstSubpass_; + return *this; + } + + SubpassDependency & setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ ) VULKAN_HPP_NOEXCEPT + { + srcStageMask = srcStageMask_; + return *this; + } + + SubpassDependency & setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ ) VULKAN_HPP_NOEXCEPT + { + dstStageMask = dstStageMask_; + return *this; + } + + SubpassDependency & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + srcAccessMask = srcAccessMask_; + return *this; + } + + SubpassDependency & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + dstAccessMask = dstAccessMask_; + return *this; + } + + SubpassDependency & setDependencyFlags( VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ ) VULKAN_HPP_NOEXCEPT + { + dependencyFlags = dependencyFlags_; + return *this; + } + + + operator VkSubpassDependency const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassDependency &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassDependency const& ) const = default; +#else + bool operator==( SubpassDependency const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( srcSubpass == rhs.srcSubpass ) + && ( dstSubpass == rhs.dstSubpass ) + && ( srcStageMask == rhs.srcStageMask ) + && ( dstStageMask == rhs.dstStageMask ) + && ( srcAccessMask == rhs.srcAccessMask ) + && ( dstAccessMask == rhs.dstAccessMask ) + && ( dependencyFlags == rhs.dependencyFlags ); + } + + bool operator!=( SubpassDependency const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t srcSubpass = {}; + uint32_t dstSubpass = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; + VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags = {}; + + }; + static_assert( sizeof( SubpassDependency ) == sizeof( VkSubpassDependency ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct RenderPassCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassCreateInfo(VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ = {}, uint32_t attachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentDescription* pAttachments_ = {}, uint32_t subpassCount_ = {}, const VULKAN_HPP_NAMESPACE::SubpassDescription* pSubpasses_ = {}, uint32_t dependencyCount_ = {}, const VULKAN_HPP_NAMESPACE::SubpassDependency* pDependencies_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), attachmentCount( attachmentCount_ ), pAttachments( pAttachments_ ), subpassCount( subpassCount_ ), pSubpasses( pSubpasses_ ), dependencyCount( dependencyCount_ ), pDependencies( pDependencies_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassCreateInfo( RenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassCreateInfo( VkRenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & subpasses_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dependencies_ = {} ) + : flags( flags_ ), attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ), subpassCount( static_cast( subpasses_.size() ) ), pSubpasses( subpasses_.data() ), dependencyCount( static_cast( dependencies_.size() ) ), pDependencies( dependencies_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassCreateInfo & operator=( VkRenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassCreateInfo & operator=( RenderPassCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassCreateInfo ) ); + return *this; + } + + RenderPassCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + RenderPassCreateInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = attachmentCount_; + return *this; + } + + RenderPassCreateInfo & setPAttachments( const VULKAN_HPP_NAMESPACE::AttachmentDescription* pAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pAttachments = pAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo & setAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = static_cast( attachments_.size() ); + pAttachments = attachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassCreateInfo & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = subpassCount_; + return *this; + } + + RenderPassCreateInfo & setPSubpasses( const VULKAN_HPP_NAMESPACE::SubpassDescription* pSubpasses_ ) VULKAN_HPP_NOEXCEPT + { + pSubpasses = pSubpasses_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo & setSubpasses( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & subpasses_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = static_cast( subpasses_.size() ); + pSubpasses = subpasses_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassCreateInfo & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = dependencyCount_; + return *this; + } + + RenderPassCreateInfo & setPDependencies( const VULKAN_HPP_NAMESPACE::SubpassDependency* pDependencies_ ) VULKAN_HPP_NOEXCEPT + { + pDependencies = pDependencies_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo & setDependencies( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dependencies_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = static_cast( dependencies_.size() ); + pDependencies = dependencies_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassCreateInfo const& ) const = default; +#else + bool operator==( RenderPassCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( attachmentCount == rhs.attachmentCount ) + && ( pAttachments == rhs.pAttachments ) + && ( subpassCount == rhs.subpassCount ) + && ( pSubpasses == rhs.pSubpasses ) + && ( dependencyCount == rhs.dependencyCount ) + && ( pDependencies == rhs.pDependencies ); + } + + bool operator!=( RenderPassCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags = {}; + uint32_t attachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentDescription* pAttachments = {}; + uint32_t subpassCount = {}; + const VULKAN_HPP_NAMESPACE::SubpassDescription* pSubpasses = {}; + uint32_t dependencyCount = {}; + const VULKAN_HPP_NAMESPACE::SubpassDependency* pDependencies = {}; + + }; + static_assert( sizeof( RenderPassCreateInfo ) == sizeof( VkRenderPassCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassCreateInfo; + }; + + struct SubpassDescription2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassDescription2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassDescription2(VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ = {}, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, uint32_t viewMask_ = {}, uint32_t inputAttachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pInputAttachments_ = {}, uint32_t colorAttachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pColorAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pResolveAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilAttachment_ = {}, uint32_t preserveAttachmentCount_ = {}, const uint32_t* pPreserveAttachments_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), viewMask( viewMask_ ), inputAttachmentCount( inputAttachmentCount_ ), pInputAttachments( pInputAttachments_ ), colorAttachmentCount( colorAttachmentCount_ ), pColorAttachments( pColorAttachments_ ), pResolveAttachments( pResolveAttachments_ ), pDepthStencilAttachment( pDepthStencilAttachment_ ), preserveAttachmentCount( preserveAttachmentCount_ ), pPreserveAttachments( pPreserveAttachments_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassDescription2( SubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassDescription2( VkSubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription2( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_, VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_, uint32_t viewMask_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & inputAttachments_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorAttachments_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & resolveAttachments_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilAttachment_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ = {} ) + : flags( flags_ ), pipelineBindPoint( pipelineBindPoint_ ), viewMask( viewMask_ ), inputAttachmentCount( static_cast( inputAttachments_.size() ) ), pInputAttachments( inputAttachments_.data() ), colorAttachmentCount( static_cast( colorAttachments_.size() ) ), pColorAttachments( colorAttachments_.data() ), pResolveAttachments( resolveAttachments_.data() ), pDepthStencilAttachment( pDepthStencilAttachment_ ), preserveAttachmentCount( static_cast( preserveAttachments_.size() ) ), pPreserveAttachments( preserveAttachments_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( resolveAttachments_.empty() || ( colorAttachments_.size() == resolveAttachments_.size() ) ); +#else + if ( !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() ) ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::SubpassDescription2::SubpassDescription2: !resolveAttachments_.empty() && ( colorAttachments_.size() != resolveAttachments_.size() )" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassDescription2 & operator=( VkSubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassDescription2 & operator=( SubpassDescription2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassDescription2 ) ); + return *this; + } + + SubpassDescription2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SubpassDescription2 & setFlags( VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + SubpassDescription2 & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + SubpassDescription2 & setViewMask( uint32_t viewMask_ ) VULKAN_HPP_NOEXCEPT + { + viewMask = viewMask_; + return *this; + } + + SubpassDescription2 & setInputAttachmentCount( uint32_t inputAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + inputAttachmentCount = inputAttachmentCount_; + return *this; + } + + SubpassDescription2 & setPInputAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pInputAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pInputAttachments = pInputAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription2 & setInputAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & inputAttachments_ ) VULKAN_HPP_NOEXCEPT + { + inputAttachmentCount = static_cast( inputAttachments_.size() ); + pInputAttachments = inputAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription2 & setColorAttachmentCount( uint32_t colorAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = colorAttachmentCount_; + return *this; + } + + SubpassDescription2 & setPColorAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pColorAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pColorAttachments = pColorAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription2 & setColorAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & colorAttachments_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = static_cast( colorAttachments_.size() ); + pColorAttachments = colorAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription2 & setPResolveAttachments( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pResolveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pResolveAttachments = pResolveAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription2 & setResolveAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & resolveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + colorAttachmentCount = static_cast( resolveAttachments_.size() ); + pResolveAttachments = resolveAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubpassDescription2 & setPDepthStencilAttachment( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilAttachment_ ) VULKAN_HPP_NOEXCEPT + { + pDepthStencilAttachment = pDepthStencilAttachment_; + return *this; + } + + SubpassDescription2 & setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + preserveAttachmentCount = preserveAttachmentCount_; + return *this; + } + + SubpassDescription2 & setPPreserveAttachments( const uint32_t* pPreserveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pPreserveAttachments = pPreserveAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubpassDescription2 & setPreserveAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & preserveAttachments_ ) VULKAN_HPP_NOEXCEPT + { + preserveAttachmentCount = static_cast( preserveAttachments_.size() ); + pPreserveAttachments = preserveAttachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSubpassDescription2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassDescription2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassDescription2 const& ) const = default; +#else + bool operator==( SubpassDescription2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( viewMask == rhs.viewMask ) + && ( inputAttachmentCount == rhs.inputAttachmentCount ) + && ( pInputAttachments == rhs.pInputAttachments ) + && ( colorAttachmentCount == rhs.colorAttachmentCount ) + && ( pColorAttachments == rhs.pColorAttachments ) + && ( pResolveAttachments == rhs.pResolveAttachments ) + && ( pDepthStencilAttachment == rhs.pDepthStencilAttachment ) + && ( preserveAttachmentCount == rhs.preserveAttachmentCount ) + && ( pPreserveAttachments == rhs.pPreserveAttachments ); + } + + bool operator!=( SubpassDescription2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDescription2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SubpassDescriptionFlags flags = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + uint32_t viewMask = {}; + uint32_t inputAttachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pInputAttachments = {}; + uint32_t colorAttachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pColorAttachments = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pResolveAttachments = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilAttachment = {}; + uint32_t preserveAttachmentCount = {}; + const uint32_t* pPreserveAttachments = {}; + + }; + static_assert( sizeof( SubpassDescription2 ) == sizeof( VkSubpassDescription2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubpassDescription2; + }; + using SubpassDescription2KHR = SubpassDescription2; + + struct SubpassDependency2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassDependency2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassDependency2(uint32_t srcSubpass_ = {}, uint32_t dstSubpass_ = {}, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ = {}, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {}, VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {}, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ = {}, int32_t viewOffset_ = {}) VULKAN_HPP_NOEXCEPT + : srcSubpass( srcSubpass_ ), dstSubpass( dstSubpass_ ), srcStageMask( srcStageMask_ ), dstStageMask( dstStageMask_ ), srcAccessMask( srcAccessMask_ ), dstAccessMask( dstAccessMask_ ), dependencyFlags( dependencyFlags_ ), viewOffset( viewOffset_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassDependency2( SubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassDependency2( VkSubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassDependency2 & operator=( VkSubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassDependency2 & operator=( SubpassDependency2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassDependency2 ) ); + return *this; + } + + SubpassDependency2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SubpassDependency2 & setSrcSubpass( uint32_t srcSubpass_ ) VULKAN_HPP_NOEXCEPT + { + srcSubpass = srcSubpass_; + return *this; + } + + SubpassDependency2 & setDstSubpass( uint32_t dstSubpass_ ) VULKAN_HPP_NOEXCEPT + { + dstSubpass = dstSubpass_; + return *this; + } + + SubpassDependency2 & setSrcStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask_ ) VULKAN_HPP_NOEXCEPT + { + srcStageMask = srcStageMask_; + return *this; + } + + SubpassDependency2 & setDstStageMask( VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask_ ) VULKAN_HPP_NOEXCEPT + { + dstStageMask = dstStageMask_; + return *this; + } + + SubpassDependency2 & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + srcAccessMask = srcAccessMask_; + return *this; + } + + SubpassDependency2 & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT + { + dstAccessMask = dstAccessMask_; + return *this; + } + + SubpassDependency2 & setDependencyFlags( VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags_ ) VULKAN_HPP_NOEXCEPT + { + dependencyFlags = dependencyFlags_; + return *this; + } + + SubpassDependency2 & setViewOffset( int32_t viewOffset_ ) VULKAN_HPP_NOEXCEPT + { + viewOffset = viewOffset_; + return *this; + } + + + operator VkSubpassDependency2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassDependency2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassDependency2 const& ) const = default; +#else + bool operator==( SubpassDependency2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcSubpass == rhs.srcSubpass ) + && ( dstSubpass == rhs.dstSubpass ) + && ( srcStageMask == rhs.srcStageMask ) + && ( dstStageMask == rhs.dstStageMask ) + && ( srcAccessMask == rhs.srcAccessMask ) + && ( dstAccessMask == rhs.dstAccessMask ) + && ( dependencyFlags == rhs.dependencyFlags ) + && ( viewOffset == rhs.viewOffset ); + } + + bool operator!=( SubpassDependency2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDependency2; + const void* pNext = {}; + uint32_t srcSubpass = {}; + uint32_t dstSubpass = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {}; + VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {}; + VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags = {}; + int32_t viewOffset = {}; + + }; + static_assert( sizeof( SubpassDependency2 ) == sizeof( VkSubpassDependency2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubpassDependency2; + }; + using SubpassDependency2KHR = SubpassDependency2; + + struct RenderPassCreateInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassCreateInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassCreateInfo2(VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ = {}, uint32_t attachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentDescription2* pAttachments_ = {}, uint32_t subpassCount_ = {}, const VULKAN_HPP_NAMESPACE::SubpassDescription2* pSubpasses_ = {}, uint32_t dependencyCount_ = {}, const VULKAN_HPP_NAMESPACE::SubpassDependency2* pDependencies_ = {}, uint32_t correlatedViewMaskCount_ = {}, const uint32_t* pCorrelatedViewMasks_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), attachmentCount( attachmentCount_ ), pAttachments( pAttachments_ ), subpassCount( subpassCount_ ), pSubpasses( pSubpasses_ ), dependencyCount( dependencyCount_ ), pDependencies( pDependencies_ ), correlatedViewMaskCount( correlatedViewMaskCount_ ), pCorrelatedViewMasks( pCorrelatedViewMasks_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassCreateInfo2( RenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassCreateInfo2( VkRenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo2( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & subpasses_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dependencies_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlatedViewMasks_ = {} ) + : flags( flags_ ), attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ), subpassCount( static_cast( subpasses_.size() ) ), pSubpasses( subpasses_.data() ), dependencyCount( static_cast( dependencies_.size() ) ), pDependencies( dependencies_.data() ), correlatedViewMaskCount( static_cast( correlatedViewMasks_.size() ) ), pCorrelatedViewMasks( correlatedViewMasks_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassCreateInfo2 & operator=( VkRenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassCreateInfo2 & operator=( RenderPassCreateInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassCreateInfo2 ) ); + return *this; + } + + RenderPassCreateInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassCreateInfo2 & setFlags( VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + RenderPassCreateInfo2 & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = attachmentCount_; + return *this; + } + + RenderPassCreateInfo2 & setPAttachments( const VULKAN_HPP_NAMESPACE::AttachmentDescription2* pAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pAttachments = pAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo2 & setAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = static_cast( attachments_.size() ); + pAttachments = attachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassCreateInfo2 & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = subpassCount_; + return *this; + } + + RenderPassCreateInfo2 & setPSubpasses( const VULKAN_HPP_NAMESPACE::SubpassDescription2* pSubpasses_ ) VULKAN_HPP_NOEXCEPT + { + pSubpasses = pSubpasses_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo2 & setSubpasses( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & subpasses_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = static_cast( subpasses_.size() ); + pSubpasses = subpasses_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassCreateInfo2 & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = dependencyCount_; + return *this; + } + + RenderPassCreateInfo2 & setPDependencies( const VULKAN_HPP_NAMESPACE::SubpassDependency2* pDependencies_ ) VULKAN_HPP_NOEXCEPT + { + pDependencies = pDependencies_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo2 & setDependencies( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & dependencies_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = static_cast( dependencies_.size() ); + pDependencies = dependencies_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassCreateInfo2 & setCorrelatedViewMaskCount( uint32_t correlatedViewMaskCount_ ) VULKAN_HPP_NOEXCEPT + { + correlatedViewMaskCount = correlatedViewMaskCount_; + return *this; + } + + RenderPassCreateInfo2 & setPCorrelatedViewMasks( const uint32_t* pCorrelatedViewMasks_ ) VULKAN_HPP_NOEXCEPT + { + pCorrelatedViewMasks = pCorrelatedViewMasks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassCreateInfo2 & setCorrelatedViewMasks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlatedViewMasks_ ) VULKAN_HPP_NOEXCEPT + { + correlatedViewMaskCount = static_cast( correlatedViewMasks_.size() ); + pCorrelatedViewMasks = correlatedViewMasks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassCreateInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassCreateInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassCreateInfo2 const& ) const = default; +#else + bool operator==( RenderPassCreateInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( attachmentCount == rhs.attachmentCount ) + && ( pAttachments == rhs.pAttachments ) + && ( subpassCount == rhs.subpassCount ) + && ( pSubpasses == rhs.pSubpasses ) + && ( dependencyCount == rhs.dependencyCount ) + && ( pDependencies == rhs.pDependencies ) + && ( correlatedViewMaskCount == rhs.correlatedViewMaskCount ) + && ( pCorrelatedViewMasks == rhs.pCorrelatedViewMasks ); + } + + bool operator!=( RenderPassCreateInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassCreateInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RenderPassCreateFlags flags = {}; + uint32_t attachmentCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentDescription2* pAttachments = {}; + uint32_t subpassCount = {}; + const VULKAN_HPP_NAMESPACE::SubpassDescription2* pSubpasses = {}; + uint32_t dependencyCount = {}; + const VULKAN_HPP_NAMESPACE::SubpassDependency2* pDependencies = {}; + uint32_t correlatedViewMaskCount = {}; + const uint32_t* pCorrelatedViewMasks = {}; + + }; + static_assert( sizeof( RenderPassCreateInfo2 ) == sizeof( VkRenderPassCreateInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassCreateInfo2; + }; + using RenderPassCreateInfo2KHR = RenderPassCreateInfo2; + + struct SamplerCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SamplerCreateInfo(VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::Filter magFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, VULKAN_HPP_NAMESPACE::Filter minFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode_ = VULKAN_HPP_NAMESPACE::SamplerMipmapMode::eNearest, VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW_ = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat, float mipLodBias_ = {}, VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable_ = {}, float maxAnisotropy_ = {}, VULKAN_HPP_NAMESPACE::Bool32 compareEnable_ = {}, VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, float minLod_ = {}, float maxLod_ = {}, VULKAN_HPP_NAMESPACE::BorderColor borderColor_ = VULKAN_HPP_NAMESPACE::BorderColor::eFloatTransparentBlack, VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), magFilter( magFilter_ ), minFilter( minFilter_ ), mipmapMode( mipmapMode_ ), addressModeU( addressModeU_ ), addressModeV( addressModeV_ ), addressModeW( addressModeW_ ), mipLodBias( mipLodBias_ ), anisotropyEnable( anisotropyEnable_ ), maxAnisotropy( maxAnisotropy_ ), compareEnable( compareEnable_ ), compareOp( compareOp_ ), minLod( minLod_ ), maxLod( maxLod_ ), borderColor( borderColor_ ), unnormalizedCoordinates( unnormalizedCoordinates_ ) + {} + + VULKAN_HPP_CONSTEXPR SamplerCreateInfo( SamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerCreateInfo( VkSamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerCreateInfo & operator=( VkSamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerCreateInfo & operator=( SamplerCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerCreateInfo ) ); + return *this; + } + + SamplerCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SamplerCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + SamplerCreateInfo & setMagFilter( VULKAN_HPP_NAMESPACE::Filter magFilter_ ) VULKAN_HPP_NOEXCEPT + { + magFilter = magFilter_; + return *this; + } + + SamplerCreateInfo & setMinFilter( VULKAN_HPP_NAMESPACE::Filter minFilter_ ) VULKAN_HPP_NOEXCEPT + { + minFilter = minFilter_; + return *this; + } + + SamplerCreateInfo & setMipmapMode( VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode_ ) VULKAN_HPP_NOEXCEPT + { + mipmapMode = mipmapMode_; + return *this; + } + + SamplerCreateInfo & setAddressModeU( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU_ ) VULKAN_HPP_NOEXCEPT + { + addressModeU = addressModeU_; + return *this; + } + + SamplerCreateInfo & setAddressModeV( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV_ ) VULKAN_HPP_NOEXCEPT + { + addressModeV = addressModeV_; + return *this; + } + + SamplerCreateInfo & setAddressModeW( VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW_ ) VULKAN_HPP_NOEXCEPT + { + addressModeW = addressModeW_; + return *this; + } + + SamplerCreateInfo & setMipLodBias( float mipLodBias_ ) VULKAN_HPP_NOEXCEPT + { + mipLodBias = mipLodBias_; + return *this; + } + + SamplerCreateInfo & setAnisotropyEnable( VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable_ ) VULKAN_HPP_NOEXCEPT + { + anisotropyEnable = anisotropyEnable_; + return *this; + } + + SamplerCreateInfo & setMaxAnisotropy( float maxAnisotropy_ ) VULKAN_HPP_NOEXCEPT + { + maxAnisotropy = maxAnisotropy_; + return *this; + } + + SamplerCreateInfo & setCompareEnable( VULKAN_HPP_NAMESPACE::Bool32 compareEnable_ ) VULKAN_HPP_NOEXCEPT + { + compareEnable = compareEnable_; + return *this; + } + + SamplerCreateInfo & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT + { + compareOp = compareOp_; + return *this; + } + + SamplerCreateInfo & setMinLod( float minLod_ ) VULKAN_HPP_NOEXCEPT + { + minLod = minLod_; + return *this; + } + + SamplerCreateInfo & setMaxLod( float maxLod_ ) VULKAN_HPP_NOEXCEPT + { + maxLod = maxLod_; + return *this; + } + + SamplerCreateInfo & setBorderColor( VULKAN_HPP_NAMESPACE::BorderColor borderColor_ ) VULKAN_HPP_NOEXCEPT + { + borderColor = borderColor_; + return *this; + } + + SamplerCreateInfo & setUnnormalizedCoordinates( VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates_ ) VULKAN_HPP_NOEXCEPT + { + unnormalizedCoordinates = unnormalizedCoordinates_; + return *this; + } + + + operator VkSamplerCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerCreateInfo const& ) const = default; +#else + bool operator==( SamplerCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( magFilter == rhs.magFilter ) + && ( minFilter == rhs.minFilter ) + && ( mipmapMode == rhs.mipmapMode ) + && ( addressModeU == rhs.addressModeU ) + && ( addressModeV == rhs.addressModeV ) + && ( addressModeW == rhs.addressModeW ) + && ( mipLodBias == rhs.mipLodBias ) + && ( anisotropyEnable == rhs.anisotropyEnable ) + && ( maxAnisotropy == rhs.maxAnisotropy ) + && ( compareEnable == rhs.compareEnable ) + && ( compareOp == rhs.compareOp ) + && ( minLod == rhs.minLod ) + && ( maxLod == rhs.maxLod ) + && ( borderColor == rhs.borderColor ) + && ( unnormalizedCoordinates == rhs.unnormalizedCoordinates ); + } + + bool operator!=( SamplerCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SamplerCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::Filter magFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; + VULKAN_HPP_NAMESPACE::Filter minFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; + VULKAN_HPP_NAMESPACE::SamplerMipmapMode mipmapMode = VULKAN_HPP_NAMESPACE::SamplerMipmapMode::eNearest; + VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeU = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; + VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeV = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; + VULKAN_HPP_NAMESPACE::SamplerAddressMode addressModeW = VULKAN_HPP_NAMESPACE::SamplerAddressMode::eRepeat; + float mipLodBias = {}; + VULKAN_HPP_NAMESPACE::Bool32 anisotropyEnable = {}; + float maxAnisotropy = {}; + VULKAN_HPP_NAMESPACE::Bool32 compareEnable = {}; + VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever; + float minLod = {}; + float maxLod = {}; + VULKAN_HPP_NAMESPACE::BorderColor borderColor = VULKAN_HPP_NAMESPACE::BorderColor::eFloatTransparentBlack; + VULKAN_HPP_NAMESPACE::Bool32 unnormalizedCoordinates = {}; + + }; + static_assert( sizeof( SamplerCreateInfo ) == sizeof( VkSamplerCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerCreateInfo; + }; + + struct SamplerYcbcrConversionCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerYcbcrConversionCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionCreateInfo(VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity, VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange_ = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull, VULKAN_HPP_NAMESPACE::ComponentMapping components_ = {}, VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset_ = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven, VULKAN_HPP_NAMESPACE::Filter chromaFilter_ = VULKAN_HPP_NAMESPACE::Filter::eNearest, VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction_ = {}) VULKAN_HPP_NOEXCEPT + : format( format_ ), ycbcrModel( ycbcrModel_ ), ycbcrRange( ycbcrRange_ ), components( components_ ), xChromaOffset( xChromaOffset_ ), yChromaOffset( yChromaOffset_ ), chromaFilter( chromaFilter_ ), forceExplicitReconstruction( forceExplicitReconstruction_ ) + {} + + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionCreateInfo( SamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerYcbcrConversionCreateInfo( VkSamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerYcbcrConversionCreateInfo & operator=( VkSamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerYcbcrConversionCreateInfo & operator=( SamplerYcbcrConversionCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerYcbcrConversionCreateInfo ) ); + return *this; + } + + SamplerYcbcrConversionCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setYcbcrModel( VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel_ ) VULKAN_HPP_NOEXCEPT + { + ycbcrModel = ycbcrModel_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setYcbcrRange( VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange_ ) VULKAN_HPP_NOEXCEPT + { + ycbcrRange = ycbcrRange_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setComponents( VULKAN_HPP_NAMESPACE::ComponentMapping const & components_ ) VULKAN_HPP_NOEXCEPT + { + components = components_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setXChromaOffset( VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset_ ) VULKAN_HPP_NOEXCEPT + { + xChromaOffset = xChromaOffset_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setYChromaOffset( VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset_ ) VULKAN_HPP_NOEXCEPT + { + yChromaOffset = yChromaOffset_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setChromaFilter( VULKAN_HPP_NAMESPACE::Filter chromaFilter_ ) VULKAN_HPP_NOEXCEPT + { + chromaFilter = chromaFilter_; + return *this; + } + + SamplerYcbcrConversionCreateInfo & setForceExplicitReconstruction( VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction_ ) VULKAN_HPP_NOEXCEPT + { + forceExplicitReconstruction = forceExplicitReconstruction_; + return *this; + } + + + operator VkSamplerYcbcrConversionCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerYcbcrConversionCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerYcbcrConversionCreateInfo const& ) const = default; +#else + bool operator==( SamplerYcbcrConversionCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( format == rhs.format ) + && ( ycbcrModel == rhs.ycbcrModel ) + && ( ycbcrRange == rhs.ycbcrRange ) + && ( components == rhs.components ) + && ( xChromaOffset == rhs.xChromaOffset ) + && ( yChromaOffset == rhs.yChromaOffset ) + && ( chromaFilter == rhs.chromaFilter ) + && ( forceExplicitReconstruction == rhs.forceExplicitReconstruction ); + } + + bool operator!=( SamplerYcbcrConversionCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion ycbcrModel = VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion::eRgbIdentity; + VULKAN_HPP_NAMESPACE::SamplerYcbcrRange ycbcrRange = VULKAN_HPP_NAMESPACE::SamplerYcbcrRange::eItuFull; + VULKAN_HPP_NAMESPACE::ComponentMapping components = {}; + VULKAN_HPP_NAMESPACE::ChromaLocation xChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; + VULKAN_HPP_NAMESPACE::ChromaLocation yChromaOffset = VULKAN_HPP_NAMESPACE::ChromaLocation::eCositedEven; + VULKAN_HPP_NAMESPACE::Filter chromaFilter = VULKAN_HPP_NAMESPACE::Filter::eNearest; + VULKAN_HPP_NAMESPACE::Bool32 forceExplicitReconstruction = {}; + + }; + static_assert( sizeof( SamplerYcbcrConversionCreateInfo ) == sizeof( VkSamplerYcbcrConversionCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerYcbcrConversionCreateInfo; + }; + using SamplerYcbcrConversionCreateInfoKHR = SamplerYcbcrConversionCreateInfo; + + class SamplerYcbcrConversion + { + public: + using CType = VkSamplerYcbcrConversion; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSamplerYcbcrConversion; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSamplerYcbcrConversion; + + public: + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion() VULKAN_HPP_NOEXCEPT + : m_samplerYcbcrConversion(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_samplerYcbcrConversion(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT SamplerYcbcrConversion( VkSamplerYcbcrConversion samplerYcbcrConversion ) VULKAN_HPP_NOEXCEPT + : m_samplerYcbcrConversion( samplerYcbcrConversion ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + SamplerYcbcrConversion & operator=(VkSamplerYcbcrConversion samplerYcbcrConversion) VULKAN_HPP_NOEXCEPT + { + m_samplerYcbcrConversion = samplerYcbcrConversion; + return *this; + } +#endif + + SamplerYcbcrConversion & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_samplerYcbcrConversion = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerYcbcrConversion const& ) const = default; +#else + bool operator==( SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion == rhs.m_samplerYcbcrConversion; + } + + bool operator!=(SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion != rhs.m_samplerYcbcrConversion; + } + + bool operator<(SamplerYcbcrConversion const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion < rhs.m_samplerYcbcrConversion; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSamplerYcbcrConversion() const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_samplerYcbcrConversion == VK_NULL_HANDLE; + } + + private: + VkSamplerYcbcrConversion m_samplerYcbcrConversion; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ) == sizeof( VkSamplerYcbcrConversion ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + using SamplerYcbcrConversionKHR = SamplerYcbcrConversion; + + struct SemaphoreCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreCreateInfo(VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreCreateInfo( SemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreCreateInfo( VkSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreCreateInfo & operator=( VkSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreCreateInfo & operator=( SemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreCreateInfo ) ); + return *this; + } + + SemaphoreCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkSemaphoreCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreCreateInfo const& ) const = default; +#else + bool operator==( SemaphoreCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( SemaphoreCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SemaphoreCreateFlags flags = {}; + + }; + static_assert( sizeof( SemaphoreCreateInfo ) == sizeof( VkSemaphoreCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreCreateInfo; + }; + + struct ShaderModuleCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eShaderModuleCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ShaderModuleCreateInfo(VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_ = {}, size_t codeSize_ = {}, const uint32_t* pCode_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), codeSize( codeSize_ ), pCode( pCode_ ) + {} + + VULKAN_HPP_CONSTEXPR ShaderModuleCreateInfo( ShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ShaderModuleCreateInfo( VkShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ShaderModuleCreateInfo( VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & code_ ) + : flags( flags_ ), codeSize( code_.size() * 4 ), pCode( code_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ShaderModuleCreateInfo & operator=( VkShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ShaderModuleCreateInfo & operator=( ShaderModuleCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ShaderModuleCreateInfo ) ); + return *this; + } + + ShaderModuleCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ShaderModuleCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ShaderModuleCreateInfo & setCodeSize( size_t codeSize_ ) VULKAN_HPP_NOEXCEPT + { + codeSize = codeSize_; + return *this; + } + + ShaderModuleCreateInfo & setPCode( const uint32_t* pCode_ ) VULKAN_HPP_NOEXCEPT + { + pCode = pCode_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ShaderModuleCreateInfo & setCode( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & code_ ) VULKAN_HPP_NOEXCEPT + { + codeSize = code_.size() * 4; + pCode = code_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkShaderModuleCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkShaderModuleCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShaderModuleCreateInfo const& ) const = default; +#else + bool operator==( ShaderModuleCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( codeSize == rhs.codeSize ) + && ( pCode == rhs.pCode ); + } + + bool operator!=( ShaderModuleCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eShaderModuleCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ShaderModuleCreateFlags flags = {}; + size_t codeSize = {}; + const uint32_t* pCode = {}; + + }; + static_assert( sizeof( ShaderModuleCreateInfo ) == sizeof( VkShaderModuleCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ShaderModuleCreateInfo; + }; + + class SurfaceKHR + { + public: + using CType = VkSurfaceKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eSurfaceKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSurfaceKHR; + + public: + VULKAN_HPP_CONSTEXPR SurfaceKHR() VULKAN_HPP_NOEXCEPT + : m_surfaceKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR SurfaceKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_surfaceKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT SurfaceKHR( VkSurfaceKHR surfaceKHR ) VULKAN_HPP_NOEXCEPT + : m_surfaceKHR( surfaceKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + SurfaceKHR & operator=(VkSurfaceKHR surfaceKHR) VULKAN_HPP_NOEXCEPT + { + m_surfaceKHR = surfaceKHR; + return *this; + } +#endif + + SurfaceKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_surfaceKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceKHR const& ) const = default; +#else + bool operator==( SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR == rhs.m_surfaceKHR; + } + + bool operator!=(SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR != rhs.m_surfaceKHR; + } + + bool operator<(SurfaceKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR < rhs.m_surfaceKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSurfaceKHR() const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_surfaceKHR == VK_NULL_HANDLE; + } + + private: + VkSurfaceKHR m_surfaceKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::SurfaceKHR ) == sizeof( VkSurfaceKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::SurfaceKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct SwapchainCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR(VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_ = {}, VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ = {}, uint32_t minImageCount_ = {}, VULKAN_HPP_NAMESPACE::Format imageFormat_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_ = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear, VULKAN_HPP_NAMESPACE::Extent2D imageExtent_ = {}, uint32_t imageArrayLayers_ = {}, VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_ = {}, VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = {}, const uint32_t* pQueueFamilyIndices_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ = VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque, VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate, VULKAN_HPP_NAMESPACE::Bool32 clipped_ = {}, VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), surface( surface_ ), minImageCount( minImageCount_ ), imageFormat( imageFormat_ ), imageColorSpace( imageColorSpace_ ), imageExtent( imageExtent_ ), imageArrayLayers( imageArrayLayers_ ), imageUsage( imageUsage_ ), imageSharingMode( imageSharingMode_ ), queueFamilyIndexCount( queueFamilyIndexCount_ ), pQueueFamilyIndices( pQueueFamilyIndices_ ), preTransform( preTransform_ ), compositeAlpha( compositeAlpha_ ), presentMode( presentMode_ ), clipped( clipped_ ), oldSwapchain( oldSwapchain_ ) + {} + + VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR( SwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SwapchainCreateInfoKHR( VkSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SwapchainCreateInfoKHR( VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_, VULKAN_HPP_NAMESPACE::SurfaceKHR surface_, uint32_t minImageCount_, VULKAN_HPP_NAMESPACE::Format imageFormat_, VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_, VULKAN_HPP_NAMESPACE::Extent2D imageExtent_, uint32_t imageArrayLayers_, VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_, VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ = VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque, VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate, VULKAN_HPP_NAMESPACE::Bool32 clipped_ = {}, VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ = {} ) + : flags( flags_ ), surface( surface_ ), minImageCount( minImageCount_ ), imageFormat( imageFormat_ ), imageColorSpace( imageColorSpace_ ), imageExtent( imageExtent_ ), imageArrayLayers( imageArrayLayers_ ), imageUsage( imageUsage_ ), imageSharingMode( imageSharingMode_ ), queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ), pQueueFamilyIndices( queueFamilyIndices_.data() ), preTransform( preTransform_ ), compositeAlpha( compositeAlpha_ ), presentMode( presentMode_ ), clipped( clipped_ ), oldSwapchain( oldSwapchain_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SwapchainCreateInfoKHR & operator=( VkSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SwapchainCreateInfoKHR & operator=( SwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SwapchainCreateInfoKHR ) ); + return *this; + } + + SwapchainCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SwapchainCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + SwapchainCreateInfoKHR & setSurface( VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ ) VULKAN_HPP_NOEXCEPT + { + surface = surface_; + return *this; + } + + SwapchainCreateInfoKHR & setMinImageCount( uint32_t minImageCount_ ) VULKAN_HPP_NOEXCEPT + { + minImageCount = minImageCount_; + return *this; + } + + SwapchainCreateInfoKHR & setImageFormat( VULKAN_HPP_NAMESPACE::Format imageFormat_ ) VULKAN_HPP_NOEXCEPT + { + imageFormat = imageFormat_; + return *this; + } + + SwapchainCreateInfoKHR & setImageColorSpace( VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace_ ) VULKAN_HPP_NOEXCEPT + { + imageColorSpace = imageColorSpace_; + return *this; + } + + SwapchainCreateInfoKHR & setImageExtent( VULKAN_HPP_NAMESPACE::Extent2D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT + { + imageExtent = imageExtent_; + return *this; + } + + SwapchainCreateInfoKHR & setImageArrayLayers( uint32_t imageArrayLayers_ ) VULKAN_HPP_NOEXCEPT + { + imageArrayLayers = imageArrayLayers_; + return *this; + } + + SwapchainCreateInfoKHR & setImageUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage_ ) VULKAN_HPP_NOEXCEPT + { + imageUsage = imageUsage_; + return *this; + } + + SwapchainCreateInfoKHR & setImageSharingMode( VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode_ ) VULKAN_HPP_NOEXCEPT + { + imageSharingMode = imageSharingMode_; + return *this; + } + + SwapchainCreateInfoKHR & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = queueFamilyIndexCount_; + return *this; + } + + SwapchainCreateInfoKHR & setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + pQueueFamilyIndices = pQueueFamilyIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SwapchainCreateInfoKHR & setQueueFamilyIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); + pQueueFamilyIndices = queueFamilyIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SwapchainCreateInfoKHR & setPreTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform_ ) VULKAN_HPP_NOEXCEPT + { + preTransform = preTransform_; + return *this; + } + + SwapchainCreateInfoKHR & setCompositeAlpha( VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha_ ) VULKAN_HPP_NOEXCEPT + { + compositeAlpha = compositeAlpha_; + return *this; + } + + SwapchainCreateInfoKHR & setPresentMode( VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode_ ) VULKAN_HPP_NOEXCEPT + { + presentMode = presentMode_; + return *this; + } + + SwapchainCreateInfoKHR & setClipped( VULKAN_HPP_NAMESPACE::Bool32 clipped_ ) VULKAN_HPP_NOEXCEPT + { + clipped = clipped_; + return *this; + } + + SwapchainCreateInfoKHR & setOldSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain_ ) VULKAN_HPP_NOEXCEPT + { + oldSwapchain = oldSwapchain_; + return *this; + } + + + operator VkSwapchainCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SwapchainCreateInfoKHR const& ) const = default; +#else + bool operator==( SwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( surface == rhs.surface ) + && ( minImageCount == rhs.minImageCount ) + && ( imageFormat == rhs.imageFormat ) + && ( imageColorSpace == rhs.imageColorSpace ) + && ( imageExtent == rhs.imageExtent ) + && ( imageArrayLayers == rhs.imageArrayLayers ) + && ( imageUsage == rhs.imageUsage ) + && ( imageSharingMode == rhs.imageSharingMode ) + && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) + && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ) + && ( preTransform == rhs.preTransform ) + && ( compositeAlpha == rhs.compositeAlpha ) + && ( presentMode == rhs.presentMode ) + && ( clipped == rhs.clipped ) + && ( oldSwapchain == rhs.oldSwapchain ); + } + + bool operator!=( SwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SwapchainCreateFlagsKHR flags = {}; + VULKAN_HPP_NAMESPACE::SurfaceKHR surface = {}; + uint32_t minImageCount = {}; + VULKAN_HPP_NAMESPACE::Format imageFormat = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::ColorSpaceKHR imageColorSpace = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear; + VULKAN_HPP_NAMESPACE::Extent2D imageExtent = {}; + uint32_t imageArrayLayers = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags imageUsage = {}; + VULKAN_HPP_NAMESPACE::SharingMode imageSharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; + uint32_t queueFamilyIndexCount = {}; + const uint32_t* pQueueFamilyIndices = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR preTransform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR compositeAlpha = VULKAN_HPP_NAMESPACE::CompositeAlphaFlagBitsKHR::eOpaque; + VULKAN_HPP_NAMESPACE::PresentModeKHR presentMode = VULKAN_HPP_NAMESPACE::PresentModeKHR::eImmediate; + VULKAN_HPP_NAMESPACE::Bool32 clipped = {}; + VULKAN_HPP_NAMESPACE::SwapchainKHR oldSwapchain = {}; + + }; + static_assert( sizeof( SwapchainCreateInfoKHR ) == sizeof( VkSwapchainCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SwapchainCreateInfoKHR; + }; + + struct ValidationCacheCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationCacheCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ValidationCacheCreateInfoEXT(VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_ = {}, size_t initialDataSize_ = {}, const void* pInitialData_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), initialDataSize( initialDataSize_ ), pInitialData( pInitialData_ ) + {} + + VULKAN_HPP_CONSTEXPR ValidationCacheCreateInfoEXT( ValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ValidationCacheCreateInfoEXT( VkValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + ValidationCacheCreateInfoEXT( VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) + : flags( flags_ ), initialDataSize( initialData_.size() * sizeof(T) ), pInitialData( initialData_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ValidationCacheCreateInfoEXT & operator=( VkValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ValidationCacheCreateInfoEXT & operator=( ValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ValidationCacheCreateInfoEXT ) ); + return *this; + } + + ValidationCacheCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ValidationCacheCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ValidationCacheCreateInfoEXT & setInitialDataSize( size_t initialDataSize_ ) VULKAN_HPP_NOEXCEPT + { + initialDataSize = initialDataSize_; + return *this; + } + + ValidationCacheCreateInfoEXT & setPInitialData( const void* pInitialData_ ) VULKAN_HPP_NOEXCEPT + { + pInitialData = pInitialData_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + ValidationCacheCreateInfoEXT & setInitialData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & initialData_ ) VULKAN_HPP_NOEXCEPT + { + initialDataSize = initialData_.size() * sizeof(T); + pInitialData = initialData_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkValidationCacheCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkValidationCacheCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ValidationCacheCreateInfoEXT const& ) const = default; +#else + bool operator==( ValidationCacheCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( initialDataSize == rhs.initialDataSize ) + && ( pInitialData == rhs.pInitialData ); + } + + bool operator!=( ValidationCacheCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationCacheCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ValidationCacheCreateFlagsEXT flags = {}; + size_t initialDataSize = {}; + const void* pInitialData = {}; + + }; + static_assert( sizeof( ValidationCacheCreateInfoEXT ) == sizeof( VkValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ValidationCacheCreateInfoEXT; + }; + + class ValidationCacheEXT + { + public: + using CType = VkValidationCacheEXT; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eValidationCacheEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eValidationCacheEXT; + + public: + VULKAN_HPP_CONSTEXPR ValidationCacheEXT() VULKAN_HPP_NOEXCEPT + : m_validationCacheEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR ValidationCacheEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_validationCacheEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT ValidationCacheEXT( VkValidationCacheEXT validationCacheEXT ) VULKAN_HPP_NOEXCEPT + : m_validationCacheEXT( validationCacheEXT ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + ValidationCacheEXT & operator=(VkValidationCacheEXT validationCacheEXT) VULKAN_HPP_NOEXCEPT + { + m_validationCacheEXT = validationCacheEXT; + return *this; + } +#endif + + ValidationCacheEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_validationCacheEXT = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ValidationCacheEXT const& ) const = default; +#else + bool operator==( ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT == rhs.m_validationCacheEXT; + } + + bool operator!=(ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT != rhs.m_validationCacheEXT; + } + + bool operator<(ValidationCacheEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT < rhs.m_validationCacheEXT; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkValidationCacheEXT() const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_validationCacheEXT == VK_NULL_HANDLE; + } + + private: + VkValidationCacheEXT m_validationCacheEXT; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::ValidationCacheEXT ) == sizeof( VkValidationCacheEXT ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DisplayPowerInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPowerInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPowerInfoEXT(VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState_ = VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT::eOff) VULKAN_HPP_NOEXCEPT + : powerState( powerState_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPowerInfoEXT( DisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPowerInfoEXT( VkDisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPowerInfoEXT & operator=( VkDisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPowerInfoEXT & operator=( DisplayPowerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPowerInfoEXT ) ); + return *this; + } + + DisplayPowerInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplayPowerInfoEXT & setPowerState( VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState_ ) VULKAN_HPP_NOEXCEPT + { + powerState = powerState_; + return *this; + } + + + operator VkDisplayPowerInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPowerInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPowerInfoEXT const& ) const = default; +#else + bool operator==( DisplayPowerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( powerState == rhs.powerState ); + } + + bool operator!=( DisplayPowerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPowerInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT powerState = VULKAN_HPP_NAMESPACE::DisplayPowerStateEXT::eOff; + + }; + static_assert( sizeof( DisplayPowerInfoEXT ) == sizeof( VkDisplayPowerInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayPowerInfoEXT; + }; + + struct MappedMemoryRange + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMappedMemoryRange; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MappedMemoryRange(VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : memory( memory_ ), offset( offset_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR MappedMemoryRange( MappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MappedMemoryRange( VkMappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MappedMemoryRange & operator=( VkMappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MappedMemoryRange & operator=( MappedMemoryRange const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MappedMemoryRange ) ); + return *this; + } + + MappedMemoryRange & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MappedMemoryRange & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + MappedMemoryRange & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + MappedMemoryRange & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT + { + size = size_; + return *this; + } + + + operator VkMappedMemoryRange const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMappedMemoryRange &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MappedMemoryRange const& ) const = default; +#else + bool operator==( MappedMemoryRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memory == rhs.memory ) + && ( offset == rhs.offset ) + && ( size == rhs.size ); + } + + bool operator!=( MappedMemoryRange const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMappedMemoryRange; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( MappedMemoryRange ) == sizeof( VkMappedMemoryRange ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MappedMemoryRange; + }; + + struct MemoryRequirements + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryRequirements(VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize alignment_ = {}, uint32_t memoryTypeBits_ = {}) VULKAN_HPP_NOEXCEPT + : size( size_ ), alignment( alignment_ ), memoryTypeBits( memoryTypeBits_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryRequirements( MemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryRequirements( VkMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryRequirements & operator=( VkMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryRequirements & operator=( MemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryRequirements ) ); + return *this; + } + + + operator VkMemoryRequirements const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryRequirements &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryRequirements const& ) const = default; +#else + bool operator==( MemoryRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( size == rhs.size ) + && ( alignment == rhs.alignment ) + && ( memoryTypeBits == rhs.memoryTypeBits ); + } + + bool operator!=( MemoryRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::DeviceSize alignment = {}; + uint32_t memoryTypeBits = {}; + + }; + static_assert( sizeof( MemoryRequirements ) == sizeof( VkMemoryRequirements ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct MemoryRequirements2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryRequirements2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryRequirements2(VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements_ = {}) VULKAN_HPP_NOEXCEPT + : memoryRequirements( memoryRequirements_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryRequirements2( MemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryRequirements2( VkMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryRequirements2 & operator=( VkMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryRequirements2 & operator=( MemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryRequirements2 ) ); + return *this; + } + + + operator VkMemoryRequirements2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryRequirements2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryRequirements2 const& ) const = default; +#else + bool operator==( MemoryRequirements2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryRequirements == rhs.memoryRequirements ); + } + + bool operator!=( MemoryRequirements2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryRequirements2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements = {}; + + }; + static_assert( sizeof( MemoryRequirements2 ) == sizeof( VkMemoryRequirements2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryRequirements2; + }; + using MemoryRequirements2KHR = MemoryRequirements2; + + struct DeviceGroupPresentCapabilitiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupPresentCapabilitiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 DeviceGroupPresentCapabilitiesKHR(std::array const& presentMask_ = {}, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ = {}) VULKAN_HPP_NOEXCEPT + : presentMask( presentMask_ ), modes( modes_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 DeviceGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupPresentCapabilitiesKHR( VkDeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupPresentCapabilitiesKHR & operator=( VkDeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupPresentCapabilitiesKHR & operator=( DeviceGroupPresentCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupPresentCapabilitiesKHR ) ); + return *this; + } + + + operator VkDeviceGroupPresentCapabilitiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupPresentCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupPresentCapabilitiesKHR const& ) const = default; +#else + bool operator==( DeviceGroupPresentCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( presentMask == rhs.presentMask ) + && ( modes == rhs.modes ); + } + + bool operator!=( DeviceGroupPresentCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupPresentCapabilitiesKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D presentMask = {}; + VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes = {}; + + }; + static_assert( sizeof( DeviceGroupPresentCapabilitiesKHR ) == sizeof( VkDeviceGroupPresentCapabilitiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupPresentCapabilitiesKHR; + }; + + struct PhysicalDeviceSurfaceInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSurfaceInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSurfaceInfo2KHR(VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ = {}) VULKAN_HPP_NOEXCEPT + : surface( surface_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSurfaceInfo2KHR( PhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSurfaceInfo2KHR( VkPhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSurfaceInfo2KHR & operator=( VkPhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSurfaceInfo2KHR & operator=( PhysicalDeviceSurfaceInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSurfaceInfo2KHR ) ); + return *this; + } + + PhysicalDeviceSurfaceInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceSurfaceInfo2KHR & setSurface( VULKAN_HPP_NAMESPACE::SurfaceKHR surface_ ) VULKAN_HPP_NOEXCEPT + { + surface = surface_; + return *this; + } + + + operator VkPhysicalDeviceSurfaceInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSurfaceInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSurfaceInfo2KHR const& ) const = default; +#else + bool operator==( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( surface == rhs.surface ); + } + + bool operator!=( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSurfaceInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceKHR surface = {}; + + }; + static_assert( sizeof( PhysicalDeviceSurfaceInfo2KHR ) == sizeof( VkPhysicalDeviceSurfaceInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSurfaceInfo2KHR; + }; + + struct DeviceMemoryOpaqueCaptureAddressInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceMemoryOpaqueCaptureAddressInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceMemoryOpaqueCaptureAddressInfo(VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}) VULKAN_HPP_NOEXCEPT + : memory( memory_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceMemoryOpaqueCaptureAddressInfo( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceMemoryOpaqueCaptureAddressInfo( VkDeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceMemoryOpaqueCaptureAddressInfo & operator=( VkDeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceMemoryOpaqueCaptureAddressInfo & operator=( DeviceMemoryOpaqueCaptureAddressInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceMemoryOpaqueCaptureAddressInfo ) ); + return *this; + } + + DeviceMemoryOpaqueCaptureAddressInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceMemoryOpaqueCaptureAddressInfo & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + + operator VkDeviceMemoryOpaqueCaptureAddressInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceMemoryOpaqueCaptureAddressInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceMemoryOpaqueCaptureAddressInfo const& ) const = default; +#else + bool operator==( DeviceMemoryOpaqueCaptureAddressInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memory == rhs.memory ); + } + + bool operator!=( DeviceMemoryOpaqueCaptureAddressInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryOpaqueCaptureAddressInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + + }; + static_assert( sizeof( DeviceMemoryOpaqueCaptureAddressInfo ) == sizeof( VkDeviceMemoryOpaqueCaptureAddressInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceMemoryOpaqueCaptureAddressInfo; + }; + using DeviceMemoryOpaqueCaptureAddressInfoKHR = DeviceMemoryOpaqueCaptureAddressInfo; + + struct PresentInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentInfoKHR(uint32_t waitSemaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ = {}, uint32_t swapchainCount_ = {}, const VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains_ = {}, const uint32_t* pImageIndices_ = {}, VULKAN_HPP_NAMESPACE::Result* pResults_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreCount( waitSemaphoreCount_ ), pWaitSemaphores( pWaitSemaphores_ ), swapchainCount( swapchainCount_ ), pSwapchains( pSwapchains_ ), pImageIndices( pImageIndices_ ), pResults( pResults_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentInfoKHR( PresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentInfoKHR( VkPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & swapchains_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageIndices_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & results_ = {} ) + : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ), pWaitSemaphores( waitSemaphores_.data() ), swapchainCount( static_cast( swapchains_.size() ) ), pSwapchains( swapchains_.data() ), pImageIndices( imageIndices_.data() ), pResults( results_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( swapchains_.size() == imageIndices_.size() ); + VULKAN_HPP_ASSERT( results_.empty() || ( swapchains_.size() == results_.size() ) ); + VULKAN_HPP_ASSERT( results_.empty() || ( imageIndices_.size() == results_.size() ) ); +#else + if ( swapchains_.size() != imageIndices_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::PresentInfoKHR::PresentInfoKHR: swapchains_.size() != imageIndices_.size()" ); + } + if ( !results_.empty() && ( swapchains_.size() != results_.size() ) ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::PresentInfoKHR::PresentInfoKHR: !results_.empty() && ( swapchains_.size() != results_.size() )" ); + } + if ( !results_.empty() && ( imageIndices_.size() != results_.size() ) ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::PresentInfoKHR::PresentInfoKHR: !results_.empty() && ( imageIndices_.size() != results_.size() )" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentInfoKHR & operator=( VkPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentInfoKHR & operator=( PresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentInfoKHR ) ); + return *this; + } + + PresentInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PresentInfoKHR & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = waitSemaphoreCount_; + return *this; + } + + PresentInfoKHR & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphores = pWaitSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentInfoKHR & setWaitSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = static_cast( waitSemaphores_.size() ); + pWaitSemaphores = waitSemaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PresentInfoKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = swapchainCount_; + return *this; + } + + PresentInfoKHR & setPSwapchains( const VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains_ ) VULKAN_HPP_NOEXCEPT + { + pSwapchains = pSwapchains_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentInfoKHR & setSwapchains( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & swapchains_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( swapchains_.size() ); + pSwapchains = swapchains_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PresentInfoKHR & setPImageIndices( const uint32_t* pImageIndices_ ) VULKAN_HPP_NOEXCEPT + { + pImageIndices = pImageIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentInfoKHR & setImageIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & imageIndices_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( imageIndices_.size() ); + pImageIndices = imageIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + PresentInfoKHR & setPResults( VULKAN_HPP_NAMESPACE::Result* pResults_ ) VULKAN_HPP_NOEXCEPT + { + pResults = pResults_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentInfoKHR & setResults( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & results_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( results_.size() ); + pResults = results_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPresentInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentInfoKHR const& ) const = default; +#else + bool operator==( PresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) + && ( pWaitSemaphores == rhs.pWaitSemaphores ) + && ( swapchainCount == rhs.swapchainCount ) + && ( pSwapchains == rhs.pSwapchains ) + && ( pImageIndices == rhs.pImageIndices ) + && ( pResults == rhs.pResults ); + } + + bool operator!=( PresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentInfoKHR; + const void* pNext = {}; + uint32_t waitSemaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores = {}; + uint32_t swapchainCount = {}; + const VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains = {}; + const uint32_t* pImageIndices = {}; + VULKAN_HPP_NAMESPACE::Result* pResults = {}; + + }; + static_assert( sizeof( PresentInfoKHR ) == sizeof( VkPresentInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PresentInfoKHR; + }; + + struct SubmitInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubmitInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubmitInfo(uint32_t waitSemaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ = {}, const VULKAN_HPP_NAMESPACE::PipelineStageFlags* pWaitDstStageMask_ = {}, uint32_t commandBufferCount_ = {}, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers_ = {}, uint32_t signalSemaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreCount( waitSemaphoreCount_ ), pWaitSemaphores( pWaitSemaphores_ ), pWaitDstStageMask( pWaitDstStageMask_ ), commandBufferCount( commandBufferCount_ ), pCommandBuffers( pCommandBuffers_ ), signalSemaphoreCount( signalSemaphoreCount_ ), pSignalSemaphores( pSignalSemaphores_ ) + {} + + VULKAN_HPP_CONSTEXPR SubmitInfo( SubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubmitInfo( VkSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubmitInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitDstStageMask_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBuffers_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ = {} ) + : waitSemaphoreCount( static_cast( waitSemaphores_.size() ) ), pWaitSemaphores( waitSemaphores_.data() ), pWaitDstStageMask( waitDstStageMask_.data() ), commandBufferCount( static_cast( commandBuffers_.size() ) ), pCommandBuffers( commandBuffers_.data() ), signalSemaphoreCount( static_cast( signalSemaphores_.size() ) ), pSignalSemaphores( signalSemaphores_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( waitSemaphores_.size() == waitDstStageMask_.size() ); +#else + if ( waitSemaphores_.size() != waitDstStageMask_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::SubmitInfo::SubmitInfo: waitSemaphores_.size() != waitDstStageMask_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubmitInfo & operator=( VkSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubmitInfo & operator=( SubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubmitInfo ) ); + return *this; + } + + SubmitInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SubmitInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = waitSemaphoreCount_; + return *this; + } + + SubmitInfo & setPWaitSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphores = pWaitSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubmitInfo & setWaitSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = static_cast( waitSemaphores_.size() ); + pWaitSemaphores = waitSemaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubmitInfo & setPWaitDstStageMask( const VULKAN_HPP_NAMESPACE::PipelineStageFlags* pWaitDstStageMask_ ) VULKAN_HPP_NOEXCEPT + { + pWaitDstStageMask = pWaitDstStageMask_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubmitInfo & setWaitDstStageMask( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitDstStageMask_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = static_cast( waitDstStageMask_.size() ); + pWaitDstStageMask = waitDstStageMask_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubmitInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT + { + commandBufferCount = commandBufferCount_; + return *this; + } + + SubmitInfo & setPCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers_ ) VULKAN_HPP_NOEXCEPT + { + pCommandBuffers = pCommandBuffers_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubmitInfo & setCommandBuffers( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBuffers_ ) VULKAN_HPP_NOEXCEPT + { + commandBufferCount = static_cast( commandBuffers_.size() ); + pCommandBuffers = commandBuffers_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SubmitInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = signalSemaphoreCount_; + return *this; + } + + SubmitInfo & setPSignalSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pSignalSemaphores = pSignalSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SubmitInfo & setSignalSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = static_cast( signalSemaphores_.size() ); + pSignalSemaphores = signalSemaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSubmitInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubmitInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubmitInfo const& ) const = default; +#else + bool operator==( SubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) + && ( pWaitSemaphores == rhs.pWaitSemaphores ) + && ( pWaitDstStageMask == rhs.pWaitDstStageMask ) + && ( commandBufferCount == rhs.commandBufferCount ) + && ( pCommandBuffers == rhs.pCommandBuffers ) + && ( signalSemaphoreCount == rhs.signalSemaphoreCount ) + && ( pSignalSemaphores == rhs.pSignalSemaphores ); + } + + bool operator!=( SubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubmitInfo; + const void* pNext = {}; + uint32_t waitSemaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pWaitSemaphores = {}; + const VULKAN_HPP_NAMESPACE::PipelineStageFlags* pWaitDstStageMask = {}; + uint32_t commandBufferCount = {}; + const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers = {}; + uint32_t signalSemaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pSignalSemaphores = {}; + + }; + static_assert( sizeof( SubmitInfo ) == sizeof( VkSubmitInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubmitInfo; + }; + + class Queue + { + public: + using CType = VkQueue; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eQueue; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eQueue; + + public: + VULKAN_HPP_CONSTEXPR Queue() VULKAN_HPP_NOEXCEPT + : m_queue(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Queue( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_queue(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Queue( VkQueue queue ) VULKAN_HPP_NOEXCEPT + : m_queue( queue ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Queue & operator=(VkQueue queue) VULKAN_HPP_NOEXCEPT + { + m_queue = queue; + return *this; + } +#endif + + Queue & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_queue = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Queue const& ) const = default; +#else + bool operator==( Queue const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queue == rhs.m_queue; + } + + bool operator!=(Queue const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queue != rhs.m_queue; + } + + bool operator<(Queue const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_queue < rhs.m_queue; + } +#endif + + + template + void getCheckpointDataNV( uint32_t* pCheckpointDataCount, VULKAN_HPP_NAMESPACE::CheckpointDataNV* pCheckpointData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getCheckpointDataNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = CheckpointDataNVAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getCheckpointDataNV( CheckpointDataNVAllocator & checkpointDataNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result bindSparse( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindSparseInfo* pBindInfo, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindSparse( ArrayProxy const & bindInfo, VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result presentKHR( const VULKAN_HPP_NAMESPACE::PresentInfoKHR* pPresentInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result presentKHR( const PresentInfoKHR & presentInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result submit( uint32_t submitCount, const VULKAN_HPP_NAMESPACE::SubmitInfo* pSubmits, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type submit( ArrayProxy const & submits, VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueue() const VULKAN_HPP_NOEXCEPT + { + return m_queue; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_queue != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_queue == VK_NULL_HANDLE; + } + + private: + VkQueue m_queue; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Queue ) == sizeof( VkQueue ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Queue; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Queue; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Queue; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DeviceQueueInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceQueueInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceQueueInfo2(VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ = {}, uint32_t queueFamilyIndex_ = {}, uint32_t queueIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), queueFamilyIndex( queueFamilyIndex_ ), queueIndex( queueIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceQueueInfo2( DeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceQueueInfo2( VkDeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceQueueInfo2 & operator=( VkDeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceQueueInfo2 & operator=( DeviceQueueInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceQueueInfo2 ) ); + return *this; + } + + DeviceQueueInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceQueueInfo2 & setFlags( VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DeviceQueueInfo2 & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndex = queueFamilyIndex_; + return *this; + } + + DeviceQueueInfo2 & setQueueIndex( uint32_t queueIndex_ ) VULKAN_HPP_NOEXCEPT + { + queueIndex = queueIndex_; + return *this; + } + + + operator VkDeviceQueueInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceQueueInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceQueueInfo2 const& ) const = default; +#else + bool operator==( DeviceQueueInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( queueFamilyIndex == rhs.queueFamilyIndex ) + && ( queueIndex == rhs.queueIndex ); + } + + bool operator!=( DeviceQueueInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceQueueCreateFlags flags = {}; + uint32_t queueFamilyIndex = {}; + uint32_t queueIndex = {}; + + }; + static_assert( sizeof( DeviceQueueInfo2 ) == sizeof( VkDeviceQueueInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceQueueInfo2; + }; + + struct FenceGetFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceGetFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FenceGetFdInfoKHR(VULKAN_HPP_NAMESPACE::Fence fence_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : fence( fence_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR FenceGetFdInfoKHR( FenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FenceGetFdInfoKHR( VkFenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FenceGetFdInfoKHR & operator=( VkFenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FenceGetFdInfoKHR & operator=( FenceGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FenceGetFdInfoKHR ) ); + return *this; + } + + FenceGetFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FenceGetFdInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT + { + fence = fence_; + return *this; + } + + FenceGetFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkFenceGetFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFenceGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FenceGetFdInfoKHR const& ) const = default; +#else + bool operator==( FenceGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fence == rhs.fence ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( FenceGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceGetFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Fence fence = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( FenceGetFdInfoKHR ) == sizeof( VkFenceGetFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FenceGetFdInfoKHR; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct FenceGetWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFenceGetWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FenceGetWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::Fence fence_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : fence( fence_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR FenceGetWin32HandleInfoKHR( FenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FenceGetWin32HandleInfoKHR( VkFenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FenceGetWin32HandleInfoKHR & operator=( VkFenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FenceGetWin32HandleInfoKHR & operator=( FenceGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FenceGetWin32HandleInfoKHR ) ); + return *this; + } + + FenceGetWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FenceGetWin32HandleInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT + { + fence = fence_; + return *this; + } + + FenceGetWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkFenceGetWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFenceGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FenceGetWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( FenceGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fence == rhs.fence ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( FenceGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFenceGetWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Fence fence = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( FenceGetWin32HandleInfoKHR ) == sizeof( VkFenceGetWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FenceGetWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct GeneratedCommandsMemoryRequirementsInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGeneratedCommandsMemoryRequirementsInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GeneratedCommandsMemoryRequirementsInfoNV(VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics, VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ = {}, uint32_t maxSequencesCount_ = {}) VULKAN_HPP_NOEXCEPT + : pipelineBindPoint( pipelineBindPoint_ ), pipeline( pipeline_ ), indirectCommandsLayout( indirectCommandsLayout_ ), maxSequencesCount( maxSequencesCount_ ) + {} + + VULKAN_HPP_CONSTEXPR GeneratedCommandsMemoryRequirementsInfoNV( GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GeneratedCommandsMemoryRequirementsInfoNV( VkGeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GeneratedCommandsMemoryRequirementsInfoNV & operator=( VkGeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & operator=( GeneratedCommandsMemoryRequirementsInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GeneratedCommandsMemoryRequirementsInfoNV ) ); + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & setPipelineBindPoint( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint_ ) VULKAN_HPP_NOEXCEPT + { + pipelineBindPoint = pipelineBindPoint_; + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT + { + pipeline = pipeline_; + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & setIndirectCommandsLayout( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout_ ) VULKAN_HPP_NOEXCEPT + { + indirectCommandsLayout = indirectCommandsLayout_; + return *this; + } + + GeneratedCommandsMemoryRequirementsInfoNV & setMaxSequencesCount( uint32_t maxSequencesCount_ ) VULKAN_HPP_NOEXCEPT + { + maxSequencesCount = maxSequencesCount_; + return *this; + } + + + operator VkGeneratedCommandsMemoryRequirementsInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGeneratedCommandsMemoryRequirementsInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GeneratedCommandsMemoryRequirementsInfoNV const& ) const = default; +#else + bool operator==( GeneratedCommandsMemoryRequirementsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipelineBindPoint == rhs.pipelineBindPoint ) + && ( pipeline == rhs.pipeline ) + && ( indirectCommandsLayout == rhs.indirectCommandsLayout ) + && ( maxSequencesCount == rhs.maxSequencesCount ); + } + + bool operator!=( GeneratedCommandsMemoryRequirementsInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGeneratedCommandsMemoryRequirementsInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint = VULKAN_HPP_NAMESPACE::PipelineBindPoint::eGraphics; + VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; + VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout = {}; + uint32_t maxSequencesCount = {}; + + }; + static_assert( sizeof( GeneratedCommandsMemoryRequirementsInfoNV ) == sizeof( VkGeneratedCommandsMemoryRequirementsInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GeneratedCommandsMemoryRequirementsInfoNV; + }; + + struct ImageDrmFormatModifierPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageDrmFormatModifierPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT(uint64_t drmFormatModifier_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifier( drmFormatModifier_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT( ImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageDrmFormatModifierPropertiesEXT( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageDrmFormatModifierPropertiesEXT & operator=( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageDrmFormatModifierPropertiesEXT & operator=( ImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageDrmFormatModifierPropertiesEXT ) ); + return *this; + } + + + operator VkImageDrmFormatModifierPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageDrmFormatModifierPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageDrmFormatModifierPropertiesEXT const& ) const = default; +#else + bool operator==( ImageDrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( drmFormatModifier == rhs.drmFormatModifier ); + } + + bool operator!=( ImageDrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierPropertiesEXT; + void* pNext = {}; + uint64_t drmFormatModifier = {}; + + }; + static_assert( sizeof( ImageDrmFormatModifierPropertiesEXT ) == sizeof( VkImageDrmFormatModifierPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageDrmFormatModifierPropertiesEXT; + }; + + struct ImageMemoryRequirementsInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageMemoryRequirementsInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageMemoryRequirementsInfo2(VULKAN_HPP_NAMESPACE::Image image_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageMemoryRequirementsInfo2( ImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageMemoryRequirementsInfo2( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageMemoryRequirementsInfo2 & operator=( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageMemoryRequirementsInfo2 & operator=( ImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageMemoryRequirementsInfo2 ) ); + return *this; + } + + ImageMemoryRequirementsInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + + operator VkImageMemoryRequirementsInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageMemoryRequirementsInfo2 const& ) const = default; +#else + bool operator==( ImageMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( image == rhs.image ); + } + + bool operator!=( ImageMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryRequirementsInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + + }; + static_assert( sizeof( ImageMemoryRequirementsInfo2 ) == sizeof( VkImageMemoryRequirementsInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageMemoryRequirementsInfo2; + }; + using ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2; + + struct SparseImageFormatProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageFormatProperties(VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}, VULKAN_HPP_NAMESPACE::Extent3D imageGranularity_ = {}, VULKAN_HPP_NAMESPACE::SparseImageFormatFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : aspectMask( aspectMask_ ), imageGranularity( imageGranularity_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageFormatProperties( SparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageFormatProperties( VkSparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageFormatProperties & operator=( VkSparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageFormatProperties & operator=( SparseImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageFormatProperties ) ); + return *this; + } + + + operator VkSparseImageFormatProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageFormatProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageFormatProperties const& ) const = default; +#else + bool operator==( SparseImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( aspectMask == rhs.aspectMask ) + && ( imageGranularity == rhs.imageGranularity ) + && ( flags == rhs.flags ); + } + + bool operator!=( SparseImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + VULKAN_HPP_NAMESPACE::Extent3D imageGranularity = {}; + VULKAN_HPP_NAMESPACE::SparseImageFormatFlags flags = {}; + + }; + static_assert( sizeof( SparseImageFormatProperties ) == sizeof( VkSparseImageFormatProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SparseImageMemoryRequirements + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageMemoryRequirements(VULKAN_HPP_NAMESPACE::SparseImageFormatProperties formatProperties_ = {}, uint32_t imageMipTailFirstLod_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailSize_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailOffset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailStride_ = {}) VULKAN_HPP_NOEXCEPT + : formatProperties( formatProperties_ ), imageMipTailFirstLod( imageMipTailFirstLod_ ), imageMipTailSize( imageMipTailSize_ ), imageMipTailOffset( imageMipTailOffset_ ), imageMipTailStride( imageMipTailStride_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageMemoryRequirements( SparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageMemoryRequirements( VkSparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageMemoryRequirements & operator=( VkSparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageMemoryRequirements & operator=( SparseImageMemoryRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageMemoryRequirements ) ); + return *this; + } + + + operator VkSparseImageMemoryRequirements const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageMemoryRequirements &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageMemoryRequirements const& ) const = default; +#else + bool operator==( SparseImageMemoryRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( formatProperties == rhs.formatProperties ) + && ( imageMipTailFirstLod == rhs.imageMipTailFirstLod ) + && ( imageMipTailSize == rhs.imageMipTailSize ) + && ( imageMipTailOffset == rhs.imageMipTailOffset ) + && ( imageMipTailStride == rhs.imageMipTailStride ); + } + + bool operator!=( SparseImageMemoryRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::SparseImageFormatProperties formatProperties = {}; + uint32_t imageMipTailFirstLod = {}; + VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailSize = {}; + VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailOffset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize imageMipTailStride = {}; + + }; + static_assert( sizeof( SparseImageMemoryRequirements ) == sizeof( VkSparseImageMemoryRequirements ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageSparseMemoryRequirementsInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageSparseMemoryRequirementsInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageSparseMemoryRequirementsInfo2(VULKAN_HPP_NAMESPACE::Image image_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageSparseMemoryRequirementsInfo2( ImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageSparseMemoryRequirementsInfo2( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageSparseMemoryRequirementsInfo2 & operator=( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageSparseMemoryRequirementsInfo2 & operator=( ImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageSparseMemoryRequirementsInfo2 ) ); + return *this; + } + + ImageSparseMemoryRequirementsInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageSparseMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + + operator VkImageSparseMemoryRequirementsInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageSparseMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageSparseMemoryRequirementsInfo2 const& ) const = default; +#else + bool operator==( ImageSparseMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( image == rhs.image ); + } + + bool operator!=( ImageSparseMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSparseMemoryRequirementsInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + + }; + static_assert( sizeof( ImageSparseMemoryRequirementsInfo2 ) == sizeof( VkImageSparseMemoryRequirementsInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageSparseMemoryRequirementsInfo2; + }; + using ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2; + + struct SparseImageMemoryRequirements2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSparseImageMemoryRequirements2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageMemoryRequirements2(VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements memoryRequirements_ = {}) VULKAN_HPP_NOEXCEPT + : memoryRequirements( memoryRequirements_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageMemoryRequirements2( SparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageMemoryRequirements2( VkSparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageMemoryRequirements2 & operator=( VkSparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageMemoryRequirements2 & operator=( SparseImageMemoryRequirements2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageMemoryRequirements2 ) ); + return *this; + } + + + operator VkSparseImageMemoryRequirements2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageMemoryRequirements2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageMemoryRequirements2 const& ) const = default; +#else + bool operator==( SparseImageMemoryRequirements2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryRequirements == rhs.memoryRequirements ); + } + + bool operator!=( SparseImageMemoryRequirements2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSparseImageMemoryRequirements2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements memoryRequirements = {}; + + }; + static_assert( sizeof( SparseImageMemoryRequirements2 ) == sizeof( VkSparseImageMemoryRequirements2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SparseImageMemoryRequirements2; + }; + using SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2; + + struct SubresourceLayout + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubresourceLayout(VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize rowPitch_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize depthPitch_ = {}) VULKAN_HPP_NOEXCEPT + : offset( offset_ ), size( size_ ), rowPitch( rowPitch_ ), arrayPitch( arrayPitch_ ), depthPitch( depthPitch_ ) + {} + + VULKAN_HPP_CONSTEXPR SubresourceLayout( SubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubresourceLayout( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubresourceLayout & operator=( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubresourceLayout & operator=( SubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubresourceLayout ) ); + return *this; + } + + + operator VkSubresourceLayout const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubresourceLayout &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubresourceLayout const& ) const = default; +#else + bool operator==( SubresourceLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( offset == rhs.offset ) + && ( size == rhs.size ) + && ( rowPitch == rhs.rowPitch ) + && ( arrayPitch == rhs.arrayPitch ) + && ( depthPitch == rhs.depthPitch ); + } + + bool operator!=( SubresourceLayout const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize offset = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::DeviceSize rowPitch = {}; + VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch = {}; + VULKAN_HPP_NAMESPACE::DeviceSize depthPitch = {}; + + }; + static_assert( sizeof( SubresourceLayout ) == sizeof( VkSubresourceLayout ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ImageViewAddressPropertiesNVX + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewAddressPropertiesNVX; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageViewAddressPropertiesNVX(VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}) VULKAN_HPP_NOEXCEPT + : deviceAddress( deviceAddress_ ), size( size_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageViewAddressPropertiesNVX( ImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageViewAddressPropertiesNVX( VkImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageViewAddressPropertiesNVX & operator=( VkImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageViewAddressPropertiesNVX & operator=( ImageViewAddressPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageViewAddressPropertiesNVX ) ); + return *this; + } + + + operator VkImageViewAddressPropertiesNVX const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageViewAddressPropertiesNVX &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageViewAddressPropertiesNVX const& ) const = default; +#else + bool operator==( ImageViewAddressPropertiesNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceAddress == rhs.deviceAddress ) + && ( size == rhs.size ); + } + + bool operator!=( ImageViewAddressPropertiesNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewAddressPropertiesNVX; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceAddress deviceAddress = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + + }; + static_assert( sizeof( ImageViewAddressPropertiesNVX ) == sizeof( VkImageViewAddressPropertiesNVX ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageViewAddressPropertiesNVX; + }; + + struct ImageViewHandleInfoNVX + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewHandleInfoNVX; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX(VULKAN_HPP_NAMESPACE::ImageView imageView_ = {}, VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, VULKAN_HPP_NAMESPACE::Sampler sampler_ = {}) VULKAN_HPP_NOEXCEPT + : imageView( imageView_ ), descriptorType( descriptorType_ ), sampler( sampler_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX( ImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageViewHandleInfoNVX( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageViewHandleInfoNVX & operator=( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageViewHandleInfoNVX & operator=( ImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageViewHandleInfoNVX ) ); + return *this; + } + + ImageViewHandleInfoNVX & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageViewHandleInfoNVX & setImageView( VULKAN_HPP_NAMESPACE::ImageView imageView_ ) VULKAN_HPP_NOEXCEPT + { + imageView = imageView_; + return *this; + } + + ImageViewHandleInfoNVX & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT + { + descriptorType = descriptorType_; + return *this; + } + + ImageViewHandleInfoNVX & setSampler( VULKAN_HPP_NAMESPACE::Sampler sampler_ ) VULKAN_HPP_NOEXCEPT + { + sampler = sampler_; + return *this; + } + + + operator VkImageViewHandleInfoNVX const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageViewHandleInfoNVX &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageViewHandleInfoNVX const& ) const = default; +#else + bool operator==( ImageViewHandleInfoNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( imageView == rhs.imageView ) + && ( descriptorType == rhs.descriptorType ) + && ( sampler == rhs.sampler ); + } + + bool operator!=( ImageViewHandleInfoNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewHandleInfoNVX; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageView imageView = {}; + VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler; + VULKAN_HPP_NAMESPACE::Sampler sampler = {}; + + }; + static_assert( sizeof( ImageViewHandleInfoNVX ) == sizeof( VkImageViewHandleInfoNVX ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageViewHandleInfoNVX; + }; + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct MemoryGetAndroidHardwareBufferInfoANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryGetAndroidHardwareBufferInfoANDROID(VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}) VULKAN_HPP_NOEXCEPT + : memory( memory_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryGetAndroidHardwareBufferInfoANDROID( MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryGetAndroidHardwareBufferInfoANDROID( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryGetAndroidHardwareBufferInfoANDROID & operator=( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryGetAndroidHardwareBufferInfoANDROID & operator=( MemoryGetAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) ); + return *this; + } + + MemoryGetAndroidHardwareBufferInfoANDROID & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryGetAndroidHardwareBufferInfoANDROID & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + + operator VkMemoryGetAndroidHardwareBufferInfoANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryGetAndroidHardwareBufferInfoANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryGetAndroidHardwareBufferInfoANDROID const& ) const = default; +#else + bool operator==( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memory == rhs.memory ); + } + + bool operator!=( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + + }; + static_assert( sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) == sizeof( VkMemoryGetAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryGetAndroidHardwareBufferInfoANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + struct MemoryGetFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryGetFdInfoKHR(VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : memory( memory_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryGetFdInfoKHR( MemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryGetFdInfoKHR( VkMemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryGetFdInfoKHR & operator=( VkMemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryGetFdInfoKHR & operator=( MemoryGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryGetFdInfoKHR ) ); + return *this; + } + + MemoryGetFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryGetFdInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + MemoryGetFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkMemoryGetFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryGetFdInfoKHR const& ) const = default; +#else + bool operator==( MemoryGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memory == rhs.memory ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( MemoryGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( MemoryGetFdInfoKHR ) == sizeof( VkMemoryGetFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryGetFdInfoKHR; + }; + + struct MemoryFdPropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryFdPropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryFdPropertiesKHR(uint32_t memoryTypeBits_ = {}) VULKAN_HPP_NOEXCEPT + : memoryTypeBits( memoryTypeBits_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryFdPropertiesKHR( MemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryFdPropertiesKHR( VkMemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryFdPropertiesKHR & operator=( VkMemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryFdPropertiesKHR & operator=( MemoryFdPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryFdPropertiesKHR ) ); + return *this; + } + + + operator VkMemoryFdPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryFdPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryFdPropertiesKHR const& ) const = default; +#else + bool operator==( MemoryFdPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryTypeBits == rhs.memoryTypeBits ); + } + + bool operator!=( MemoryFdPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryFdPropertiesKHR; + void* pNext = {}; + uint32_t memoryTypeBits = {}; + + }; + static_assert( sizeof( MemoryFdPropertiesKHR ) == sizeof( VkMemoryFdPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryFdPropertiesKHR; + }; + + struct MemoryHostPointerPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryHostPointerPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryHostPointerPropertiesEXT(uint32_t memoryTypeBits_ = {}) VULKAN_HPP_NOEXCEPT + : memoryTypeBits( memoryTypeBits_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryHostPointerPropertiesEXT( MemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryHostPointerPropertiesEXT( VkMemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryHostPointerPropertiesEXT & operator=( VkMemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryHostPointerPropertiesEXT & operator=( MemoryHostPointerPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryHostPointerPropertiesEXT ) ); + return *this; + } + + + operator VkMemoryHostPointerPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryHostPointerPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryHostPointerPropertiesEXT const& ) const = default; +#else + bool operator==( MemoryHostPointerPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryTypeBits == rhs.memoryTypeBits ); + } + + bool operator!=( MemoryHostPointerPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryHostPointerPropertiesEXT; + void* pNext = {}; + uint32_t memoryTypeBits = {}; + + }; + static_assert( sizeof( MemoryHostPointerPropertiesEXT ) == sizeof( VkMemoryHostPointerPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryHostPointerPropertiesEXT; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct MemoryGetWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryGetWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryGetWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : memory( memory_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryGetWin32HandleInfoKHR( MemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryGetWin32HandleInfoKHR( VkMemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryGetWin32HandleInfoKHR & operator=( VkMemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryGetWin32HandleInfoKHR & operator=( MemoryGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryGetWin32HandleInfoKHR ) ); + return *this; + } + + MemoryGetWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryGetWin32HandleInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT + { + memory = memory_; + return *this; + } + + MemoryGetWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkMemoryGetWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryGetWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( MemoryGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memory == rhs.memory ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( MemoryGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryGetWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( MemoryGetWin32HandleInfoKHR ) == sizeof( VkMemoryGetWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryGetWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct MemoryWin32HandlePropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryWin32HandlePropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryWin32HandlePropertiesKHR(uint32_t memoryTypeBits_ = {}) VULKAN_HPP_NOEXCEPT + : memoryTypeBits( memoryTypeBits_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryWin32HandlePropertiesKHR( MemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryWin32HandlePropertiesKHR( VkMemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryWin32HandlePropertiesKHR & operator=( VkMemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryWin32HandlePropertiesKHR & operator=( MemoryWin32HandlePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryWin32HandlePropertiesKHR ) ); + return *this; + } + + + operator VkMemoryWin32HandlePropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryWin32HandlePropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryWin32HandlePropertiesKHR const& ) const = default; +#else + bool operator==( MemoryWin32HandlePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryTypeBits == rhs.memoryTypeBits ); + } + + bool operator!=( MemoryWin32HandlePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryWin32HandlePropertiesKHR; + void* pNext = {}; + uint32_t memoryTypeBits = {}; + + }; + static_assert( sizeof( MemoryWin32HandlePropertiesKHR ) == sizeof( VkMemoryWin32HandlePropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryWin32HandlePropertiesKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct PastPresentationTimingGOOGLE + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PastPresentationTimingGOOGLE(uint32_t presentID_ = {}, uint64_t desiredPresentTime_ = {}, uint64_t actualPresentTime_ = {}, uint64_t earliestPresentTime_ = {}, uint64_t presentMargin_ = {}) VULKAN_HPP_NOEXCEPT + : presentID( presentID_ ), desiredPresentTime( desiredPresentTime_ ), actualPresentTime( actualPresentTime_ ), earliestPresentTime( earliestPresentTime_ ), presentMargin( presentMargin_ ) + {} + + VULKAN_HPP_CONSTEXPR PastPresentationTimingGOOGLE( PastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PastPresentationTimingGOOGLE( VkPastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PastPresentationTimingGOOGLE & operator=( VkPastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PastPresentationTimingGOOGLE & operator=( PastPresentationTimingGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PastPresentationTimingGOOGLE ) ); + return *this; + } + + + operator VkPastPresentationTimingGOOGLE const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPastPresentationTimingGOOGLE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PastPresentationTimingGOOGLE const& ) const = default; +#else + bool operator==( PastPresentationTimingGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( presentID == rhs.presentID ) + && ( desiredPresentTime == rhs.desiredPresentTime ) + && ( actualPresentTime == rhs.actualPresentTime ) + && ( earliestPresentTime == rhs.earliestPresentTime ) + && ( presentMargin == rhs.presentMargin ); + } + + bool operator!=( PastPresentationTimingGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t presentID = {}; + uint64_t desiredPresentTime = {}; + uint64_t actualPresentTime = {}; + uint64_t earliestPresentTime = {}; + uint64_t presentMargin = {}; + + }; + static_assert( sizeof( PastPresentationTimingGOOGLE ) == sizeof( VkPastPresentationTimingGOOGLE ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + union PerformanceValueDataINTEL + { + PerformanceValueDataINTEL( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL ) ); + } + + PerformanceValueDataINTEL( uint32_t value32_ = {} ) + : value32( value32_ ) + {} + + PerformanceValueDataINTEL( uint64_t value64_ ) + : value64( value64_ ) + {} + + PerformanceValueDataINTEL( float valueFloat_ ) + : valueFloat( valueFloat_ ) + {} + + PerformanceValueDataINTEL( const char* valueString_ ) + : valueString( valueString_ ) + {} + + PerformanceValueDataINTEL & setValue32( uint32_t value32_ ) VULKAN_HPP_NOEXCEPT + { + value32 = value32_; + return *this; + } + + PerformanceValueDataINTEL & setValue64( uint64_t value64_ ) VULKAN_HPP_NOEXCEPT + { + value64 = value64_; + return *this; + } + + PerformanceValueDataINTEL & setValueFloat( float valueFloat_ ) VULKAN_HPP_NOEXCEPT + { + valueFloat = valueFloat_; + return *this; + } + + PerformanceValueDataINTEL & setValueBool( VULKAN_HPP_NAMESPACE::Bool32 valueBool_ ) VULKAN_HPP_NOEXCEPT + { + valueBool = valueBool_; + return *this; + } + + PerformanceValueDataINTEL & setValueString( const char* valueString_ ) VULKAN_HPP_NOEXCEPT + { + valueString = valueString_; + return *this; + } + + VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL & operator=( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL ) ); + return *this; + } + + operator VkPerformanceValueDataINTEL const&() const + { + return *reinterpret_cast(this); + } + + operator VkPerformanceValueDataINTEL &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + uint32_t value32; + uint64_t value64; + float valueFloat; + VULKAN_HPP_NAMESPACE::Bool32 valueBool; + const char* valueString; +#else + uint32_t value32; + uint64_t value64; + float valueFloat; + VkBool32 valueBool; + const char* valueString; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; + + struct PerformanceValueINTEL + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + PerformanceValueINTEL(VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type_ = VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL::eUint32, VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL data_ = {}) VULKAN_HPP_NOEXCEPT + : type( type_ ), data( data_ ) + {} + + PerformanceValueINTEL( PerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceValueINTEL( VkPerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceValueINTEL & operator=( VkPerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceValueINTEL & operator=( PerformanceValueINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceValueINTEL ) ); + return *this; + } + + PerformanceValueINTEL & setType( VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + PerformanceValueINTEL & setData( VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL const & data_ ) VULKAN_HPP_NOEXCEPT + { + data = data_; + return *this; + } + + + operator VkPerformanceValueINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceValueINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL type = VULKAN_HPP_NAMESPACE::PerformanceValueTypeINTEL::eUint32; + VULKAN_HPP_NAMESPACE::PerformanceValueDataINTEL data = {}; + + }; + static_assert( sizeof( PerformanceValueINTEL ) == sizeof( VkPerformanceValueINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineExecutableInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutableInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineExecutableInfoKHR(VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}, uint32_t executableIndex_ = {}) VULKAN_HPP_NOEXCEPT + : pipeline( pipeline_ ), executableIndex( executableIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineExecutableInfoKHR( PipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineExecutableInfoKHR( VkPipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineExecutableInfoKHR & operator=( VkPipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineExecutableInfoKHR & operator=( PipelineExecutableInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineExecutableInfoKHR ) ); + return *this; + } + + PipelineExecutableInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineExecutableInfoKHR & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT + { + pipeline = pipeline_; + return *this; + } + + PipelineExecutableInfoKHR & setExecutableIndex( uint32_t executableIndex_ ) VULKAN_HPP_NOEXCEPT + { + executableIndex = executableIndex_; + return *this; + } + + + operator VkPipelineExecutableInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineExecutableInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineExecutableInfoKHR const& ) const = default; +#else + bool operator==( PipelineExecutableInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipeline == rhs.pipeline ) + && ( executableIndex == rhs.executableIndex ); + } + + bool operator!=( PipelineExecutableInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; + uint32_t executableIndex = {}; + + }; + static_assert( sizeof( PipelineExecutableInfoKHR ) == sizeof( VkPipelineExecutableInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineExecutableInfoKHR; + }; + + struct PipelineExecutableInternalRepresentationKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutableInternalRepresentationKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PipelineExecutableInternalRepresentationKHR(std::array const& name_ = {}, std::array const& description_ = {}, VULKAN_HPP_NAMESPACE::Bool32 isText_ = {}, size_t dataSize_ = {}, void* pData_ = {}) VULKAN_HPP_NOEXCEPT + : name( name_ ), description( description_ ), isText( isText_ ), dataSize( dataSize_ ), pData( pData_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PipelineExecutableInternalRepresentationKHR( PipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineExecutableInternalRepresentationKHR( VkPipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + PipelineExecutableInternalRepresentationKHR( std::array const& name_, std::array const& description_, VULKAN_HPP_NAMESPACE::Bool32 isText_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) + : name( name_ ), description( description_ ), isText( isText_ ), dataSize( data_.size() * sizeof(T) ), pData( data_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineExecutableInternalRepresentationKHR & operator=( VkPipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineExecutableInternalRepresentationKHR & operator=( PipelineExecutableInternalRepresentationKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineExecutableInternalRepresentationKHR ) ); + return *this; + } + + + operator VkPipelineExecutableInternalRepresentationKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineExecutableInternalRepresentationKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineExecutableInternalRepresentationKHR const& ) const = default; +#else + bool operator==( PipelineExecutableInternalRepresentationKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( name == rhs.name ) + && ( description == rhs.description ) + && ( isText == rhs.isText ) + && ( dataSize == rhs.dataSize ) + && ( pData == rhs.pData ); + } + + bool operator!=( PipelineExecutableInternalRepresentationKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableInternalRepresentationKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + VULKAN_HPP_NAMESPACE::Bool32 isText = {}; + size_t dataSize = {}; + void* pData = {}; + + }; + static_assert( sizeof( PipelineExecutableInternalRepresentationKHR ) == sizeof( VkPipelineExecutableInternalRepresentationKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineExecutableInternalRepresentationKHR; + }; + + struct PipelineInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineInfoKHR(VULKAN_HPP_NAMESPACE::Pipeline pipeline_ = {}) VULKAN_HPP_NOEXCEPT + : pipeline( pipeline_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineInfoKHR( PipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineInfoKHR( VkPipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineInfoKHR & operator=( VkPipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineInfoKHR & operator=( PipelineInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineInfoKHR ) ); + return *this; + } + + PipelineInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineInfoKHR & setPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline_ ) VULKAN_HPP_NOEXCEPT + { + pipeline = pipeline_; + return *this; + } + + + operator VkPipelineInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineInfoKHR const& ) const = default; +#else + bool operator==( PipelineInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipeline == rhs.pipeline ); + } + + bool operator!=( PipelineInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Pipeline pipeline = {}; + + }; + static_assert( sizeof( PipelineInfoKHR ) == sizeof( VkPipelineInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineInfoKHR; + }; + + struct PipelineExecutablePropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutablePropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PipelineExecutablePropertiesKHR(VULKAN_HPP_NAMESPACE::ShaderStageFlags stages_ = {}, std::array const& name_ = {}, std::array const& description_ = {}, uint32_t subgroupSize_ = {}) VULKAN_HPP_NOEXCEPT + : stages( stages_ ), name( name_ ), description( description_ ), subgroupSize( subgroupSize_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PipelineExecutablePropertiesKHR( PipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineExecutablePropertiesKHR( VkPipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineExecutablePropertiesKHR & operator=( VkPipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineExecutablePropertiesKHR & operator=( PipelineExecutablePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineExecutablePropertiesKHR ) ); + return *this; + } + + + operator VkPipelineExecutablePropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineExecutablePropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineExecutablePropertiesKHR const& ) const = default; +#else + bool operator==( PipelineExecutablePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stages == rhs.stages ) + && ( name == rhs.name ) + && ( description == rhs.description ) + && ( subgroupSize == rhs.subgroupSize ); + } + + bool operator!=( PipelineExecutablePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutablePropertiesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags stages = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + uint32_t subgroupSize = {}; + + }; + static_assert( sizeof( PipelineExecutablePropertiesKHR ) == sizeof( VkPipelineExecutablePropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineExecutablePropertiesKHR; + }; + + union PipelineExecutableStatisticValueKHR + { + PipelineExecutableStatisticValueKHR( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR ) ); + } + + PipelineExecutableStatisticValueKHR( VULKAN_HPP_NAMESPACE::Bool32 b32_ = {} ) + : b32( b32_ ) + {} + + PipelineExecutableStatisticValueKHR( int64_t i64_ ) + : i64( i64_ ) + {} + + PipelineExecutableStatisticValueKHR( uint64_t u64_ ) + : u64( u64_ ) + {} + + PipelineExecutableStatisticValueKHR( double f64_ ) + : f64( f64_ ) + {} + + PipelineExecutableStatisticValueKHR & setB32( VULKAN_HPP_NAMESPACE::Bool32 b32_ ) VULKAN_HPP_NOEXCEPT + { + b32 = b32_; + return *this; + } + + PipelineExecutableStatisticValueKHR & setI64( int64_t i64_ ) VULKAN_HPP_NOEXCEPT + { + i64 = i64_; + return *this; + } + + PipelineExecutableStatisticValueKHR & setU64( uint64_t u64_ ) VULKAN_HPP_NOEXCEPT + { + u64 = u64_; + return *this; + } + + PipelineExecutableStatisticValueKHR & setF64( double f64_ ) VULKAN_HPP_NOEXCEPT + { + f64 = f64_; + return *this; + } + + VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR & operator=( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR ) ); + return *this; + } + + operator VkPipelineExecutableStatisticValueKHR const&() const + { + return *reinterpret_cast(this); + } + + operator VkPipelineExecutableStatisticValueKHR &() + { + return *reinterpret_cast(this); + } + +#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS + VULKAN_HPP_NAMESPACE::Bool32 b32; + int64_t i64; + uint64_t u64; + double f64; +#else + VkBool32 b32; + int64_t i64; + uint64_t u64; + double f64; +#endif /*VULKAN_HPP_HAS_UNRESTRICTED_UNIONS*/ + }; + + struct PipelineExecutableStatisticKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineExecutableStatisticKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + PipelineExecutableStatisticKHR(std::array const& name_ = {}, std::array const& description_ = {}, VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR format_ = VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR::eBool32, VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR value_ = {}) VULKAN_HPP_NOEXCEPT + : name( name_ ), description( description_ ), format( format_ ), value( value_ ) + {} + + PipelineExecutableStatisticKHR( PipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineExecutableStatisticKHR( VkPipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineExecutableStatisticKHR & operator=( VkPipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineExecutableStatisticKHR & operator=( PipelineExecutableStatisticKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineExecutableStatisticKHR ) ); + return *this; + } + + + operator VkPipelineExecutableStatisticKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineExecutableStatisticKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineExecutableStatisticKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR format = VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR::eBool32; + VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticValueKHR value = {}; + + }; + static_assert( sizeof( PipelineExecutableStatisticKHR ) == sizeof( VkPipelineExecutableStatisticKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineExecutableStatisticKHR; + }; + + struct RefreshCycleDurationGOOGLE + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RefreshCycleDurationGOOGLE(uint64_t refreshDuration_ = {}) VULKAN_HPP_NOEXCEPT + : refreshDuration( refreshDuration_ ) + {} + + VULKAN_HPP_CONSTEXPR RefreshCycleDurationGOOGLE( RefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RefreshCycleDurationGOOGLE( VkRefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RefreshCycleDurationGOOGLE & operator=( VkRefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RefreshCycleDurationGOOGLE & operator=( RefreshCycleDurationGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RefreshCycleDurationGOOGLE ) ); + return *this; + } + + + operator VkRefreshCycleDurationGOOGLE const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRefreshCycleDurationGOOGLE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RefreshCycleDurationGOOGLE const& ) const = default; +#else + bool operator==( RefreshCycleDurationGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( refreshDuration == rhs.refreshDuration ); + } + + bool operator!=( RefreshCycleDurationGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint64_t refreshDuration = {}; + + }; + static_assert( sizeof( RefreshCycleDurationGOOGLE ) == sizeof( VkRefreshCycleDurationGOOGLE ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SemaphoreGetFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreGetFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR(VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : semaphore( semaphore_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreGetFdInfoKHR( SemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreGetFdInfoKHR( VkSemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreGetFdInfoKHR & operator=( VkSemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreGetFdInfoKHR & operator=( SemaphoreGetFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreGetFdInfoKHR ) ); + return *this; + } + + SemaphoreGetFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreGetFdInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + SemaphoreGetFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkSemaphoreGetFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreGetFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreGetFdInfoKHR const& ) const = default; +#else + bool operator==( SemaphoreGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphore == rhs.semaphore ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( SemaphoreGetFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( SemaphoreGetFdInfoKHR ) == sizeof( VkSemaphoreGetFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreGetFdInfoKHR; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct SemaphoreGetWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreGetWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreGetWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : semaphore( semaphore_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreGetWin32HandleInfoKHR( SemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreGetWin32HandleInfoKHR( VkSemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreGetWin32HandleInfoKHR & operator=( VkSemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreGetWin32HandleInfoKHR & operator=( SemaphoreGetWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreGetWin32HandleInfoKHR ) ); + return *this; + } + + SemaphoreGetWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreGetWin32HandleInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + SemaphoreGetWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkSemaphoreGetWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreGetWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreGetWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( SemaphoreGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphore == rhs.semaphore ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( SemaphoreGetWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreGetWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( SemaphoreGetWin32HandleInfoKHR ) == sizeof( VkSemaphoreGetWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreGetWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct ImportFenceFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportFenceFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportFenceFdInfoKHR(VULKAN_HPP_NAMESPACE::Fence fence_ = {}, VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd, int fd_ = {}) VULKAN_HPP_NOEXCEPT + : fence( fence_ ), flags( flags_ ), handleType( handleType_ ), fd( fd_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportFenceFdInfoKHR( ImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportFenceFdInfoKHR( VkImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportFenceFdInfoKHR & operator=( VkImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportFenceFdInfoKHR & operator=( ImportFenceFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportFenceFdInfoKHR ) ); + return *this; + } + + ImportFenceFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportFenceFdInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT + { + fence = fence_; + return *this; + } + + ImportFenceFdInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImportFenceFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportFenceFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT + { + fd = fd_; + return *this; + } + + + operator VkImportFenceFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportFenceFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportFenceFdInfoKHR const& ) const = default; +#else + bool operator==( ImportFenceFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fence == rhs.fence ) + && ( flags == rhs.flags ) + && ( handleType == rhs.handleType ) + && ( fd == rhs.fd ); + } + + bool operator!=( ImportFenceFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportFenceFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Fence fence = {}; + VULKAN_HPP_NAMESPACE::FenceImportFlags flags = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; + int fd = {}; + + }; + static_assert( sizeof( ImportFenceFdInfoKHR ) == sizeof( VkImportFenceFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportFenceFdInfoKHR; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ImportFenceWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportFenceWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportFenceWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::Fence fence_ = {}, VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : fence( fence_ ), flags( flags_ ), handleType( handleType_ ), handle( handle_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportFenceWin32HandleInfoKHR( ImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportFenceWin32HandleInfoKHR( VkImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportFenceWin32HandleInfoKHR & operator=( VkImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportFenceWin32HandleInfoKHR & operator=( ImportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportFenceWin32HandleInfoKHR ) ); + return *this; + } + + ImportFenceWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportFenceWin32HandleInfoKHR & setFence( VULKAN_HPP_NAMESPACE::Fence fence_ ) VULKAN_HPP_NOEXCEPT + { + fence = fence_; + return *this; + } + + ImportFenceWin32HandleInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::FenceImportFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImportFenceWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportFenceWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT + { + handle = handle_; + return *this; + } + + ImportFenceWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkImportFenceWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportFenceWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportFenceWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ImportFenceWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fence == rhs.fence ) + && ( flags == rhs.flags ) + && ( handleType == rhs.handleType ) + && ( handle == rhs.handle ) + && ( name == rhs.name ); + } + + bool operator!=( ImportFenceWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportFenceWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Fence fence = {}; + VULKAN_HPP_NAMESPACE::FenceImportFlags flags = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; + HANDLE handle = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ImportFenceWin32HandleInfoKHR ) == sizeof( VkImportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportFenceWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct ImportSemaphoreFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportSemaphoreFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportSemaphoreFdInfoKHR(VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, int fd_ = {}) VULKAN_HPP_NOEXCEPT + : semaphore( semaphore_ ), flags( flags_ ), handleType( handleType_ ), fd( fd_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportSemaphoreFdInfoKHR( ImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportSemaphoreFdInfoKHR( VkImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportSemaphoreFdInfoKHR & operator=( VkImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportSemaphoreFdInfoKHR & operator=( ImportSemaphoreFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportSemaphoreFdInfoKHR ) ); + return *this; + } + + ImportSemaphoreFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportSemaphoreFdInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + ImportSemaphoreFdInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImportSemaphoreFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportSemaphoreFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT + { + fd = fd_; + return *this; + } + + + operator VkImportSemaphoreFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportSemaphoreFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportSemaphoreFdInfoKHR const& ) const = default; +#else + bool operator==( ImportSemaphoreFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphore == rhs.semaphore ) + && ( flags == rhs.flags ) + && ( handleType == rhs.handleType ) + && ( fd == rhs.fd ); + } + + bool operator!=( ImportSemaphoreFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportSemaphoreFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; + int fd = {}; + + }; + static_assert( sizeof( ImportSemaphoreFdInfoKHR ) == sizeof( VkImportSemaphoreFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportSemaphoreFdInfoKHR; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ImportSemaphoreWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportSemaphoreWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportSemaphoreWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : semaphore( semaphore_ ), flags( flags_ ), handleType( handleType_ ), handle( handle_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportSemaphoreWin32HandleInfoKHR( ImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportSemaphoreWin32HandleInfoKHR( VkImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportSemaphoreWin32HandleInfoKHR & operator=( VkImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & operator=( ImportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportSemaphoreWin32HandleInfoKHR ) ); + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT + { + handle = handle_; + return *this; + } + + ImportSemaphoreWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkImportSemaphoreWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportSemaphoreWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportSemaphoreWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphore == rhs.semaphore ) + && ( flags == rhs.flags ) + && ( handleType == rhs.handleType ) + && ( handle == rhs.handle ) + && ( name == rhs.name ); + } + + bool operator!=( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportSemaphoreWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + VULKAN_HPP_NAMESPACE::SemaphoreImportFlags flags = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; + HANDLE handle = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ImportSemaphoreWin32HandleInfoKHR ) == sizeof( VkImportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportSemaphoreWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct InitializePerformanceApiInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eInitializePerformanceApiInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR InitializePerformanceApiInfoINTEL(void* pUserData_ = {}) VULKAN_HPP_NOEXCEPT + : pUserData( pUserData_ ) + {} + + VULKAN_HPP_CONSTEXPR InitializePerformanceApiInfoINTEL( InitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + InitializePerformanceApiInfoINTEL( VkInitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + InitializePerformanceApiInfoINTEL & operator=( VkInitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + InitializePerformanceApiInfoINTEL & operator=( InitializePerformanceApiInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( InitializePerformanceApiInfoINTEL ) ); + return *this; + } + + InitializePerformanceApiInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + InitializePerformanceApiInfoINTEL & setPUserData( void* pUserData_ ) VULKAN_HPP_NOEXCEPT + { + pUserData = pUserData_; + return *this; + } + + + operator VkInitializePerformanceApiInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkInitializePerformanceApiInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( InitializePerformanceApiInfoINTEL const& ) const = default; +#else + bool operator==( InitializePerformanceApiInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pUserData == rhs.pUserData ); + } + + bool operator!=( InitializePerformanceApiInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eInitializePerformanceApiInfoINTEL; + const void* pNext = {}; + void* pUserData = {}; + + }; + static_assert( sizeof( InitializePerformanceApiInfoINTEL ) == sizeof( VkInitializePerformanceApiInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = InitializePerformanceApiInfoINTEL; + }; + + struct DisplayEventInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayEventInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayEventInfoEXT(VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent_ = VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT::eFirstPixelOut) VULKAN_HPP_NOEXCEPT + : displayEvent( displayEvent_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayEventInfoEXT( DisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayEventInfoEXT( VkDisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayEventInfoEXT & operator=( VkDisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayEventInfoEXT & operator=( DisplayEventInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayEventInfoEXT ) ); + return *this; + } + + DisplayEventInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplayEventInfoEXT & setDisplayEvent( VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent_ ) VULKAN_HPP_NOEXCEPT + { + displayEvent = displayEvent_; + return *this; + } + + + operator VkDisplayEventInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayEventInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayEventInfoEXT const& ) const = default; +#else + bool operator==( DisplayEventInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( displayEvent == rhs.displayEvent ); + } + + bool operator!=( DisplayEventInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayEventInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT displayEvent = VULKAN_HPP_NAMESPACE::DisplayEventTypeEXT::eFirstPixelOut; + + }; + static_assert( sizeof( DisplayEventInfoEXT ) == sizeof( VkDisplayEventInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayEventInfoEXT; + }; + + struct XYColorEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR XYColorEXT(float x_ = {}, float y_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ) + {} + + VULKAN_HPP_CONSTEXPR XYColorEXT( XYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + XYColorEXT( VkXYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + XYColorEXT & operator=( VkXYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + XYColorEXT & operator=( XYColorEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( XYColorEXT ) ); + return *this; + } + + XYColorEXT & setX( float x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + XYColorEXT & setY( float y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + + operator VkXYColorEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkXYColorEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( XYColorEXT const& ) const = default; +#else + bool operator==( XYColorEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ); + } + + bool operator!=( XYColorEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + float x = {}; + float y = {}; + + }; + static_assert( sizeof( XYColorEXT ) == sizeof( VkXYColorEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct HdrMetadataEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eHdrMetadataEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR HdrMetadataEXT(VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryRed_ = {}, VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryGreen_ = {}, VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryBlue_ = {}, VULKAN_HPP_NAMESPACE::XYColorEXT whitePoint_ = {}, float maxLuminance_ = {}, float minLuminance_ = {}, float maxContentLightLevel_ = {}, float maxFrameAverageLightLevel_ = {}) VULKAN_HPP_NOEXCEPT + : displayPrimaryRed( displayPrimaryRed_ ), displayPrimaryGreen( displayPrimaryGreen_ ), displayPrimaryBlue( displayPrimaryBlue_ ), whitePoint( whitePoint_ ), maxLuminance( maxLuminance_ ), minLuminance( minLuminance_ ), maxContentLightLevel( maxContentLightLevel_ ), maxFrameAverageLightLevel( maxFrameAverageLightLevel_ ) + {} + + VULKAN_HPP_CONSTEXPR HdrMetadataEXT( HdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + HdrMetadataEXT( VkHdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + HdrMetadataEXT & operator=( VkHdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + HdrMetadataEXT & operator=( HdrMetadataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( HdrMetadataEXT ) ); + return *this; + } + + HdrMetadataEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + HdrMetadataEXT & setDisplayPrimaryRed( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryRed_ ) VULKAN_HPP_NOEXCEPT + { + displayPrimaryRed = displayPrimaryRed_; + return *this; + } + + HdrMetadataEXT & setDisplayPrimaryGreen( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryGreen_ ) VULKAN_HPP_NOEXCEPT + { + displayPrimaryGreen = displayPrimaryGreen_; + return *this; + } + + HdrMetadataEXT & setDisplayPrimaryBlue( VULKAN_HPP_NAMESPACE::XYColorEXT const & displayPrimaryBlue_ ) VULKAN_HPP_NOEXCEPT + { + displayPrimaryBlue = displayPrimaryBlue_; + return *this; + } + + HdrMetadataEXT & setWhitePoint( VULKAN_HPP_NAMESPACE::XYColorEXT const & whitePoint_ ) VULKAN_HPP_NOEXCEPT + { + whitePoint = whitePoint_; + return *this; + } + + HdrMetadataEXT & setMaxLuminance( float maxLuminance_ ) VULKAN_HPP_NOEXCEPT + { + maxLuminance = maxLuminance_; + return *this; + } + + HdrMetadataEXT & setMinLuminance( float minLuminance_ ) VULKAN_HPP_NOEXCEPT + { + minLuminance = minLuminance_; + return *this; + } + + HdrMetadataEXT & setMaxContentLightLevel( float maxContentLightLevel_ ) VULKAN_HPP_NOEXCEPT + { + maxContentLightLevel = maxContentLightLevel_; + return *this; + } + + HdrMetadataEXT & setMaxFrameAverageLightLevel( float maxFrameAverageLightLevel_ ) VULKAN_HPP_NOEXCEPT + { + maxFrameAverageLightLevel = maxFrameAverageLightLevel_; + return *this; + } + + + operator VkHdrMetadataEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkHdrMetadataEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( HdrMetadataEXT const& ) const = default; +#else + bool operator==( HdrMetadataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( displayPrimaryRed == rhs.displayPrimaryRed ) + && ( displayPrimaryGreen == rhs.displayPrimaryGreen ) + && ( displayPrimaryBlue == rhs.displayPrimaryBlue ) + && ( whitePoint == rhs.whitePoint ) + && ( maxLuminance == rhs.maxLuminance ) + && ( minLuminance == rhs.minLuminance ) + && ( maxContentLightLevel == rhs.maxContentLightLevel ) + && ( maxFrameAverageLightLevel == rhs.maxFrameAverageLightLevel ); + } + + bool operator!=( HdrMetadataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eHdrMetadataEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryRed = {}; + VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryGreen = {}; + VULKAN_HPP_NAMESPACE::XYColorEXT displayPrimaryBlue = {}; + VULKAN_HPP_NAMESPACE::XYColorEXT whitePoint = {}; + float maxLuminance = {}; + float minLuminance = {}; + float maxContentLightLevel = {}; + float maxFrameAverageLightLevel = {}; + + }; + static_assert( sizeof( HdrMetadataEXT ) == sizeof( VkHdrMetadataEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = HdrMetadataEXT; + }; + + struct SemaphoreSignalInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreSignalInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreSignalInfo(VULKAN_HPP_NAMESPACE::Semaphore semaphore_ = {}, uint64_t value_ = {}) VULKAN_HPP_NOEXCEPT + : semaphore( semaphore_ ), value( value_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreSignalInfo( SemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreSignalInfo( VkSemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreSignalInfo & operator=( VkSemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreSignalInfo & operator=( SemaphoreSignalInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreSignalInfo ) ); + return *this; + } + + SemaphoreSignalInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreSignalInfo & setSemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore_ ) VULKAN_HPP_NOEXCEPT + { + semaphore = semaphore_; + return *this; + } + + SemaphoreSignalInfo & setValue( uint64_t value_ ) VULKAN_HPP_NOEXCEPT + { + value = value_; + return *this; + } + + + operator VkSemaphoreSignalInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreSignalInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreSignalInfo const& ) const = default; +#else + bool operator==( SemaphoreSignalInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphore == rhs.semaphore ) + && ( value == rhs.value ); + } + + bool operator!=( SemaphoreSignalInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreSignalInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Semaphore semaphore = {}; + uint64_t value = {}; + + }; + static_assert( sizeof( SemaphoreSignalInfo ) == sizeof( VkSemaphoreSignalInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreSignalInfo; + }; + using SemaphoreSignalInfoKHR = SemaphoreSignalInfo; + + struct SemaphoreWaitInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreWaitInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo(VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_ = {}, uint32_t semaphoreCount_ = {}, const VULKAN_HPP_NAMESPACE::Semaphore* pSemaphores_ = {}, const uint64_t* pValues_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), semaphoreCount( semaphoreCount_ ), pSemaphores( pSemaphores_ ), pValues( pValues_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreWaitInfo( SemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreWaitInfo( VkSemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SemaphoreWaitInfo( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & semaphores_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & values_ = {} ) + : flags( flags_ ), semaphoreCount( static_cast( semaphores_.size() ) ), pSemaphores( semaphores_.data() ), pValues( values_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( semaphores_.size() == values_.size() ); +#else + if ( semaphores_.size() != values_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::SemaphoreWaitInfo::SemaphoreWaitInfo: semaphores_.size() != values_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreWaitInfo & operator=( VkSemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreWaitInfo & operator=( SemaphoreWaitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreWaitInfo ) ); + return *this; + } + + SemaphoreWaitInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreWaitInfo & setFlags( VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + SemaphoreWaitInfo & setSemaphoreCount( uint32_t semaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + semaphoreCount = semaphoreCount_; + return *this; + } + + SemaphoreWaitInfo & setPSemaphores( const VULKAN_HPP_NAMESPACE::Semaphore* pSemaphores_ ) VULKAN_HPP_NOEXCEPT + { + pSemaphores = pSemaphores_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SemaphoreWaitInfo & setSemaphores( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & semaphores_ ) VULKAN_HPP_NOEXCEPT + { + semaphoreCount = static_cast( semaphores_.size() ); + pSemaphores = semaphores_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + SemaphoreWaitInfo & setPValues( const uint64_t* pValues_ ) VULKAN_HPP_NOEXCEPT + { + pValues = pValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + SemaphoreWaitInfo & setValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & values_ ) VULKAN_HPP_NOEXCEPT + { + semaphoreCount = static_cast( values_.size() ); + pValues = values_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkSemaphoreWaitInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreWaitInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreWaitInfo const& ) const = default; +#else + bool operator==( SemaphoreWaitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( semaphoreCount == rhs.semaphoreCount ) + && ( pSemaphores == rhs.pSemaphores ) + && ( pValues == rhs.pValues ); + } + + bool operator!=( SemaphoreWaitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreWaitInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags flags = {}; + uint32_t semaphoreCount = {}; + const VULKAN_HPP_NAMESPACE::Semaphore* pSemaphores = {}; + const uint64_t* pValues = {}; + + }; + static_assert( sizeof( SemaphoreWaitInfo ) == sizeof( VkSemaphoreWaitInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreWaitInfo; + }; + using SemaphoreWaitInfoKHR = SemaphoreWaitInfo; + +#ifndef VULKAN_HPP_NO_SMART_HANDLE + class Device; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueAccelerationStructureKHR = UniqueHandle; + using UniqueAccelerationStructureNV = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueBuffer = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueBufferView = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = PoolFree; }; + using UniqueCommandBuffer = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueCommandPool = UniqueHandle; +#ifdef VK_ENABLE_BETA_EXTENSIONS + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDeferredOperationKHR = UniqueHandle; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDescriptorPool = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = PoolFree; }; + using UniqueDescriptorSet = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDescriptorSetLayout = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDescriptorUpdateTemplate = UniqueHandle; + using UniqueDescriptorUpdateTemplateKHR = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectFree; }; + using UniqueDeviceMemory = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueEvent = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueFence = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueFramebuffer = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueImage = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueImageView = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueIndirectCommandsLayoutNV = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniquePipeline = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniquePipelineCache = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniquePipelineLayout = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniquePrivateDataSlotEXT = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueQueryPool = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueRenderPass = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueSampler = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueSamplerYcbcrConversion = UniqueHandle; + using UniqueSamplerYcbcrConversionKHR = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueSemaphore = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueShaderModule = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueSwapchainKHR = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueValidationCacheEXT = UniqueHandle; +#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ + + class Device + { + public: + using CType = VkDevice; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDevice; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDevice; + + public: + VULKAN_HPP_CONSTEXPR Device() VULKAN_HPP_NOEXCEPT + : m_device(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Device( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_device(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Device( VkDevice device ) VULKAN_HPP_NOEXCEPT + : m_device( device ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Device & operator=(VkDevice device) VULKAN_HPP_NOEXCEPT + { + m_device = device; + return *this; + } +#endif + + Device & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_device = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Device const& ) const = default; +#else + bool operator==( Device const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_device == rhs.m_device; + } + + bool operator!=(Device const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_device != rhs.m_device; + } + + bool operator<(Device const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_device < rhs.m_device; + } +#endif + + +#ifdef VK_USE_PLATFORM_WIN32_KHR +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + + template + VULKAN_HPP_NODISCARD Result acquireNextImage2KHR( const VULKAN_HPP_NAMESPACE::AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD ResultValue acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint64_t timeout, VULKAN_HPP_NAMESPACE::Semaphore semaphore, VULKAN_HPP_NAMESPACE::Fence fence, uint32_t* pImageIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD ResultValue acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint64_t timeout, VULKAN_HPP_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result acquirePerformanceConfigurationINTEL( const VULKAN_HPP_NAMESPACE::PerformanceConfigurationAcquireInfoINTEL* pAcquireInfo, VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL* pConfiguration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquirePerformanceConfigurationINTEL( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type acquirePerformanceConfigurationINTELUnique( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result acquireProfilingLockKHR( const VULKAN_HPP_NAMESPACE::AcquireProfilingLockInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result allocateCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo* pAllocateInfo, VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = CommandBufferAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, CommandBufferAllocator & commandBufferAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, CommandBufferAllocator>>::type allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = CommandBufferAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, CommandBufferAllocator>>::type allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, CommandBufferAllocator & commandBufferAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result allocateDescriptorSets( const VULKAN_HPP_NAMESPACE::DescriptorSetAllocateInfo* pAllocateInfo, VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DescriptorSetAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, DescriptorSetAllocator & descriptorSetAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, DescriptorSetAllocator>>::type allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = DescriptorSetAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, DescriptorSetAllocator>>::type allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, DescriptorSetAllocator & descriptorSetAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result allocateMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo* pAllocateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DeviceMemory* pMemory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result bindAccelerationStructureMemoryKHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindAccelerationStructureMemoryKHR( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_NODISCARD Result bindAccelerationStructureMemoryNV( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindAccelerationStructureMemoryNV( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result bindBufferMemory2( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory2( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result bindBufferMemory2KHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result bindImageMemory2( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory2( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result bindImageMemory2KHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo* pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result buildAccelerationStructureKHR( uint32_t infoCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfos, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Result buildAccelerationStructureKHR( ArrayProxy const & infos, ArrayProxy const & pOffsetInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result createAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructure, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createAccelerationStructureKHR( const AccelerationStructureCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createAccelerationStructureKHRUnique( const AccelerationStructureCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD Result createAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoNV* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::AccelerationStructureNV* pAccelerationStructure, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createAccelerationStructureNV( const AccelerationStructureCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createAccelerationStructureNVUnique( const AccelerationStructureCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createBuffer( const VULKAN_HPP_NAMESPACE::BufferCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Buffer* pBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createBuffer( const BufferCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createBufferUnique( const BufferCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createBufferView( const VULKAN_HPP_NAMESPACE::BufferViewCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::BufferView* pView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createBufferView( const BufferViewCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createCommandPool( const VULKAN_HPP_NAMESPACE::CommandPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::CommandPool* pCommandPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createCommandPool( const CommandPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD ResultValue> createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue> createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue createComputePipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createComputePipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = PipelineAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createComputePipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue> createComputePipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result createDeferredOperationKHR( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DeferredOperationKHR* pDeferredOperation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createDeferredOperationKHR( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createDeferredOperationKHRUnique( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD Result createDescriptorPool( const VULKAN_HPP_NAMESPACE::DescriptorPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorPool* pDescriptorPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createDescriptorSetLayout( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplate( const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplateKHR( const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createEvent( const VULKAN_HPP_NAMESPACE::EventCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Event* pEvent, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createEvent( const EventCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createEventUnique( const EventCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createFence( const FenceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createFenceUnique( const FenceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createFramebuffer( const VULKAN_HPP_NAMESPACE::FramebufferCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Framebuffer* pFramebuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createFramebuffer( const FramebufferCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue createGraphicsPipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createGraphicsPipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = PipelineAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createGraphicsPipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createImage( const VULKAN_HPP_NAMESPACE::ImageCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Image* pImage, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createImage( const ImageCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createImageUnique( const ImageCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createImageView( const VULKAN_HPP_NAMESPACE::ImageViewCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ImageView* pView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createImageView( const ImageViewCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createIndirectCommandsLayoutNV( const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutCreateInfoNV* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV* pIndirectCommandsLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createIndirectCommandsLayoutNV( const IndirectCommandsLayoutCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createIndirectCommandsLayoutNVUnique( const IndirectCommandsLayoutCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createPipelineCache( const VULKAN_HPP_NAMESPACE::PipelineCacheCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PipelineCache* pPipelineCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createPipelineLayout( const VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PipelineLayout* pPipelineLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createPrivateDataSlotEXT( const VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT* pPrivateDataSlot, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createPrivateDataSlotEXT( const PrivateDataSlotCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createPrivateDataSlotEXTUnique( const PrivateDataSlotCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createQueryPool( const VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::QueryPool* pQueryPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createQueryPool( const QueryPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = PipelineAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD Result createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = PipelineAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoNV & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createRenderPass( const RenderPassCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createRenderPass2( const RenderPassCreateInfo2 & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createRenderPass2Unique( const RenderPassCreateInfo2 & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result createRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createRenderPass2KHR( const RenderPassCreateInfo2 & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createRenderPass2KHRUnique( const RenderPassCreateInfo2 & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createSampler( const VULKAN_HPP_NAMESPACE::SamplerCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Sampler* pSampler, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSampler( const SamplerCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createSamplerUnique( const SamplerCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversion( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion* pYcbcrConversion, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversionKHR( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion* pYcbcrConversion, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Semaphore* pSemaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSemaphore( const SemaphoreCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createShaderModule( const VULKAN_HPP_NAMESPACE::ShaderModuleCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ShaderModule* pShaderModule, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createSharedSwapchainsKHR( uint32_t swapchainCount, const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SwapchainKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator & swapchainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template >> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, SwapchainKHRAllocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template >, typename B = SwapchainKHRAllocator, typename std::enable_if>::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, SwapchainKHRAllocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator & swapchainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createSwapchainKHR( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createValidationCacheEXT( const VULKAN_HPP_NAMESPACE::ValidationCacheCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ValidationCacheEXT* pValidationCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result debugMarkerSetObjectNameEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result debugMarkerSetObjectTagEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD Result deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + void destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyEvent( VULKAN_HPP_NAMESPACE::Event event, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyEvent( VULKAN_HPP_NAMESPACE::Event event VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Event event, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Event event, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyFence( VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Fence fence, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Fence fence, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyImage( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyImage( VULKAN_HPP_NAMESPACE::Image image VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Image image, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result flushMappedMemoryRanges( uint32_t memoryRangeCount, const VULKAN_HPP_NAMESPACE::MappedMemoryRange* pMemoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type flushMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + Result freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + Result free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + DeviceAddress getAccelerationStructureAddressKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureDeviceAddressInfoKHR* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + DeviceAddress getAccelerationStructureAddressKHR( const AccelerationStructureDeviceAddressInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD Result getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, size_t dataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, ArrayProxy const &data, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + void getAccelerationStructureMemoryRequirementsKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getAccelerationStructureMemoryRequirementsKHR( const AccelerationStructureMemoryRequirementsInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getAccelerationStructureMemoryRequirementsKHR( const AccelerationStructureMemoryRequirementsInfoKHR & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void getAccelerationStructureMemoryRequirementsNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoNV* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD Result getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + DeviceAddress getBufferAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + DeviceAddress getBufferAddress( const BufferDeviceAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + DeviceAddress getBufferAddressEXT( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + DeviceAddress getBufferAddressEXT( const BufferDeviceAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + DeviceAddress getBufferAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + DeviceAddress getBufferAddressKHR( const BufferDeviceAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::MemoryRequirements* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getBufferMemoryRequirements2( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getBufferMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + uint64_t getBufferOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + uint64_t getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + uint64_t getBufferOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + uint64_t getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getCalibratedTimestampsEXT( uint32_t timestampCount, const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getCalibratedTimestampsEXT( ArrayProxy const ×tampInfos, ArrayProxy const ×tamps, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, uint64_t>>::type getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Uint64_tAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType, uint64_t>>::type getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Uint64_tAllocator & uint64_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + uint32_t getDeferredOperationMaxConcurrencyKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result getDeferredOperationResultKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD Result getDeferredOperationResultKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + + template + void getDescriptorSetLayoutSupport( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport* pSupport, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getDescriptorSetLayoutSupportKHR( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport* pSupport, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result getAccelerationStructureCompatibilityKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureVersionKHR* version, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionKHR & version, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + void getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getGroupPresentCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getGroupPresentCapabilitiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize* pCommittedMemoryInBytes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DeviceSize getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + uint64_t getMemoryOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + uint64_t getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + uint64_t getMemoryOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + uint64_t getMemoryOpaqueCaptureAddressKHR( const DeviceMemoryOpaqueCaptureAddressInfo & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, VULKAN_HPP_NAMESPACE::Queue* pQueue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Queue getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getQueue2( const VULKAN_HPP_NAMESPACE::DeviceQueueInfo2* pQueueInfo, VULKAN_HPP_NAMESPACE::Queue* pQueue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Queue getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result getEventStatus( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD Result getEventStatus( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result getFenceFdKHR( const VULKAN_HPP_NAMESPACE::FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD Result getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + void getGeneratedCommandsMemoryRequirementsNV( const VULKAN_HPP_NAMESPACE::GeneratedCommandsMemoryRequirementsInfoNV* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::MemoryRequirements* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getImageMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getImageMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryRequirements2 getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageMemoryRequirementsAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, SparseImageMemoryRequirementsAllocator & sparseImageMemoryRequirementsAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getImageSparseMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageMemoryRequirements2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getImageSparseMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageMemoryRequirements2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::ImageSubresource* pSubresource, VULKAN_HPP_NAMESPACE::SubresourceLayout* pLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::SubresourceLayout getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, const ImageSubresource & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + uint32_t getImageViewHandleNVX( const VULKAN_HPP_NAMESPACE::ImageViewHandleInfoNVX* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + uint32_t getImageViewHandleNVX( const ImageViewHandleInfoNVX & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD Result getMemoryAndroidHardwareBufferANDROID( const VULKAN_HPP_NAMESPACE::MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result getMemoryFdKHR( const VULKAN_HPP_NAMESPACE::MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, int fd, VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getMemoryWin32HandleKHR( const VULKAN_HPP_NAMESPACE::MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VULKAN_HPP_NAMESPACE::PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PastPresentationTimingGOOGLEAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, PastPresentationTimingGOOGLEAllocator & pastPresentationTimingGOOGLEAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, VULKAN_HPP_NAMESPACE::PerformanceValueINTEL* pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Uint8_tAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPipelineExecutableInternalRepresentationsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR* pInternalRepresentations, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineExecutableInternalRepresentationKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, PipelineExecutableInternalRepresentationKHRAllocator & pipelineExecutableInternalRepresentationKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPipelineExecutablePropertiesKHR( const VULKAN_HPP_NAMESPACE::PipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VULKAN_HPP_NAMESPACE::PipelineExecutablePropertiesKHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineExecutablePropertiesKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, PipelineExecutablePropertiesKHRAllocator & pipelineExecutablePropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPipelineExecutableStatisticsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticKHR* pStatistics, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PipelineExecutableStatisticKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, PipelineExecutableStatisticKHRAllocator & pipelineExecutableStatisticKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD uint64_t getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy const &data, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD ResultValue> getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD ResultValue getQueryPoolResult( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingCaptureReplayShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRayTracingShaderGroupHandleNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, VULKAN_HPP_NAMESPACE::Extent2D* pGranularity, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Extent2D getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t* pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t* pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getSemaphoreWin32HandleKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Uint8_tAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VULKAN_HPP_NAMESPACE::Image* pSwapchainImages, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = ImageAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, ImageAllocator & imageAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD Result getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Uint8_tAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result importFenceFdKHR( const VULKAN_HPP_NAMESPACE::ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result importFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result importSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result importSemaphoreWin32HandleKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result initializePerformanceApiINTEL( const VULKAN_HPP_NAMESPACE::InitializePerformanceApiInfoINTEL* pInitializeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const VULKAN_HPP_NAMESPACE::MappedMemoryRange* pMemoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type invalidateMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::DeviceSize size, VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, void** ppData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::DeviceSize size, VULKAN_HPP_NAMESPACE::MemoryMapFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, uint32_t srcCacheCount, const VULKAN_HPP_NAMESPACE::PipelineCache* pSrcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, ArrayProxy const & srcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, uint32_t srcCacheCount, const VULKAN_HPP_NAMESPACE::ValidationCacheEXT* pSrcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, ArrayProxy const & srcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result registerEventEXT( const VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT* pDeviceEventInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type registerEventEXTUnique( const DeviceEventInfoEXT & deviceEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT* pDisplayEventInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type registerDisplayEventEXTUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result releasePerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releasePerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + void releaseProfilingLockKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Result resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result resetEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type resetEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result resetFences( uint32_t fenceCount, const VULKAN_HPP_NAMESPACE::Fence* pFences, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type resetFences( ArrayProxy const & fences, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void resetQueryPoolEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + VULKAN_HPP_NODISCARD Result setDebugUtilsObjectNameEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result setDebugUtilsObjectTagEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + void setHdrMetadataEXT( uint32_t swapchainCount, const VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains, const VULKAN_HPP_NAMESPACE::HdrMetadataEXT* pMetadata, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void setHdrMetadataEXT( ArrayProxy const & swapchains, ArrayProxy const & metadata, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void setLocalDimmingAMD( VULKAN_HPP_NAMESPACE::SwapchainKHR swapChain, VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD Result signalSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo* pSignalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type signalSemaphore( const SemaphoreSignalInfo & signalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result signalSemaphoreKHR( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo* pSignalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void trimCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void trimCommandPoolKHR( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void uninitializePerformanceApiINTEL( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void unmapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void updateDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + template + void updateDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + + + template + void updateDescriptorSets( uint32_t descriptorWriteCount, const VULKAN_HPP_NAMESPACE::WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VULKAN_HPP_NAMESPACE::CopyDescriptorSet* pDescriptorCopies, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void updateDescriptorSets( ArrayProxy const & descriptorWrites, ArrayProxy const & descriptorCopies, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result waitForFences( uint32_t fenceCount, const VULKAN_HPP_NAMESPACE::Fence* pFences, VULKAN_HPP_NAMESPACE::Bool32 waitAll, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result waitForFences( ArrayProxy const & fences, VULKAN_HPP_NAMESPACE::Bool32 waitAll, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result waitSemaphores( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo* pWaitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result waitSemaphores( const SemaphoreWaitInfo & waitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo* pWaitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD Result writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t dataSize, void* pData, size_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type writeAccelerationStructuresPropertiesKHR( ArrayProxy const &accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, ArrayProxy const &data, size_t stride, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t dataSize, size_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type writeAccelerationStructuresPropertyKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const VULKAN_HPP_NOEXCEPT + { + return m_device; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_device != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_device == VK_NULL_HANDLE; + } + + private: + VkDevice m_device; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Device ) == sizeof( VkDevice ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Device; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Device; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Device; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DisplayModeParametersKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayModeParametersKHR(VULKAN_HPP_NAMESPACE::Extent2D visibleRegion_ = {}, uint32_t refreshRate_ = {}) VULKAN_HPP_NOEXCEPT + : visibleRegion( visibleRegion_ ), refreshRate( refreshRate_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayModeParametersKHR( DisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayModeParametersKHR( VkDisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayModeParametersKHR & operator=( VkDisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayModeParametersKHR & operator=( DisplayModeParametersKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayModeParametersKHR ) ); + return *this; + } + + DisplayModeParametersKHR & setVisibleRegion( VULKAN_HPP_NAMESPACE::Extent2D const & visibleRegion_ ) VULKAN_HPP_NOEXCEPT + { + visibleRegion = visibleRegion_; + return *this; + } + + DisplayModeParametersKHR & setRefreshRate( uint32_t refreshRate_ ) VULKAN_HPP_NOEXCEPT + { + refreshRate = refreshRate_; + return *this; + } + + + operator VkDisplayModeParametersKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayModeParametersKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayModeParametersKHR const& ) const = default; +#else + bool operator==( DisplayModeParametersKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( visibleRegion == rhs.visibleRegion ) + && ( refreshRate == rhs.refreshRate ); + } + + bool operator!=( DisplayModeParametersKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Extent2D visibleRegion = {}; + uint32_t refreshRate = {}; + + }; + static_assert( sizeof( DisplayModeParametersKHR ) == sizeof( VkDisplayModeParametersKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayModeCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayModeCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayModeCreateInfoKHR(VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags_ = {}, VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), parameters( parameters_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayModeCreateInfoKHR( DisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayModeCreateInfoKHR( VkDisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayModeCreateInfoKHR & operator=( VkDisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayModeCreateInfoKHR & operator=( DisplayModeCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayModeCreateInfoKHR ) ); + return *this; + } + + DisplayModeCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplayModeCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DisplayModeCreateInfoKHR & setParameters( VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR const & parameters_ ) VULKAN_HPP_NOEXCEPT + { + parameters = parameters_; + return *this; + } + + + operator VkDisplayModeCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayModeCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayModeCreateInfoKHR const& ) const = default; +#else + bool operator==( DisplayModeCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( parameters == rhs.parameters ); + } + + bool operator!=( DisplayModeCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayModeCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayModeCreateFlagsKHR flags = {}; + VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters = {}; + + }; + static_assert( sizeof( DisplayModeCreateInfoKHR ) == sizeof( VkDisplayModeCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayModeCreateInfoKHR; + }; + + class DisplayModeKHR + { + public: + using CType = VkDisplayModeKHR; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDisplayModeKHR; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDisplayModeKHR; + + public: + VULKAN_HPP_CONSTEXPR DisplayModeKHR() VULKAN_HPP_NOEXCEPT + : m_displayModeKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DisplayModeKHR( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_displayModeKHR(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DisplayModeKHR( VkDisplayModeKHR displayModeKHR ) VULKAN_HPP_NOEXCEPT + : m_displayModeKHR( displayModeKHR ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DisplayModeKHR & operator=(VkDisplayModeKHR displayModeKHR) VULKAN_HPP_NOEXCEPT + { + m_displayModeKHR = displayModeKHR; + return *this; + } +#endif + + DisplayModeKHR & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_displayModeKHR = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayModeKHR const& ) const = default; +#else + bool operator==( DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR == rhs.m_displayModeKHR; + } + + bool operator!=(DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR != rhs.m_displayModeKHR; + } + + bool operator<(DisplayModeKHR const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR < rhs.m_displayModeKHR; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayModeKHR() const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_displayModeKHR == VK_NULL_HANDLE; + } + + private: + VkDisplayModeKHR m_displayModeKHR; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DisplayModeKHR ) == sizeof( VkDisplayModeKHR ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct ExtensionProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 ExtensionProperties(std::array const& extensionName_ = {}, uint32_t specVersion_ = {}) VULKAN_HPP_NOEXCEPT + : extensionName( extensionName_ ), specVersion( specVersion_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 ExtensionProperties( ExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExtensionProperties( VkExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExtensionProperties & operator=( VkExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExtensionProperties & operator=( ExtensionProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExtensionProperties ) ); + return *this; + } + + + operator VkExtensionProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExtensionProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExtensionProperties const& ) const = default; +#else + bool operator==( ExtensionProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( extensionName == rhs.extensionName ) + && ( specVersion == rhs.specVersion ); + } + + bool operator!=( ExtensionProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ArrayWrapper1D extensionName = {}; + uint32_t specVersion = {}; + + }; + static_assert( sizeof( ExtensionProperties ) == sizeof( VkExtensionProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct LayerProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 LayerProperties(std::array const& layerName_ = {}, uint32_t specVersion_ = {}, uint32_t implementationVersion_ = {}, std::array const& description_ = {}) VULKAN_HPP_NOEXCEPT + : layerName( layerName_ ), specVersion( specVersion_ ), implementationVersion( implementationVersion_ ), description( description_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 LayerProperties( LayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + LayerProperties( VkLayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + LayerProperties & operator=( VkLayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + LayerProperties & operator=( LayerProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( LayerProperties ) ); + return *this; + } + + + operator VkLayerProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkLayerProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( LayerProperties const& ) const = default; +#else + bool operator==( LayerProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( layerName == rhs.layerName ) + && ( specVersion == rhs.specVersion ) + && ( implementationVersion == rhs.implementationVersion ) + && ( description == rhs.description ); + } + + bool operator!=( LayerProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ArrayWrapper1D layerName = {}; + uint32_t specVersion = {}; + uint32_t implementationVersion = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + + }; + static_assert( sizeof( LayerProperties ) == sizeof( VkLayerProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PerformanceCounterKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceCounterKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PerformanceCounterKHR(VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR unit_ = VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR::eGeneric, VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR scope_ = VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR::eCommandBuffer, VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR storage_ = VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR::eInt32, std::array const& uuid_ = {}) VULKAN_HPP_NOEXCEPT + : unit( unit_ ), scope( scope_ ), storage( storage_ ), uuid( uuid_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PerformanceCounterKHR( PerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceCounterKHR( VkPerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceCounterKHR & operator=( VkPerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceCounterKHR & operator=( PerformanceCounterKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceCounterKHR ) ); + return *this; + } + + + operator VkPerformanceCounterKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceCounterKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceCounterKHR const& ) const = default; +#else + bool operator==( PerformanceCounterKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( unit == rhs.unit ) + && ( scope == rhs.scope ) + && ( storage == rhs.storage ) + && ( uuid == rhs.uuid ); + } + + bool operator!=( PerformanceCounterKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceCounterKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR unit = VULKAN_HPP_NAMESPACE::PerformanceCounterUnitKHR::eGeneric; + VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR scope = VULKAN_HPP_NAMESPACE::PerformanceCounterScopeKHR::eCommandBuffer; + VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR storage = VULKAN_HPP_NAMESPACE::PerformanceCounterStorageKHR::eInt32; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D uuid = {}; + + }; + static_assert( sizeof( PerformanceCounterKHR ) == sizeof( VkPerformanceCounterKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceCounterKHR; + }; + + struct PerformanceCounterDescriptionKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceCounterDescriptionKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PerformanceCounterDescriptionKHR(VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionFlagsKHR flags_ = {}, std::array const& name_ = {}, std::array const& category_ = {}, std::array const& description_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), name( name_ ), category( category_ ), description( description_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PerformanceCounterDescriptionKHR( PerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceCounterDescriptionKHR( VkPerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceCounterDescriptionKHR & operator=( VkPerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceCounterDescriptionKHR & operator=( PerformanceCounterDescriptionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceCounterDescriptionKHR ) ); + return *this; + } + + + operator VkPerformanceCounterDescriptionKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceCounterDescriptionKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceCounterDescriptionKHR const& ) const = default; +#else + bool operator==( PerformanceCounterDescriptionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( name == rhs.name ) + && ( category == rhs.category ) + && ( description == rhs.description ); + } + + bool operator!=( PerformanceCounterDescriptionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceCounterDescriptionKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionFlagsKHR flags = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D category = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + + }; + static_assert( sizeof( PerformanceCounterDescriptionKHR ) == sizeof( VkPerformanceCounterDescriptionKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceCounterDescriptionKHR; + }; + + struct DisplayModePropertiesKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayModePropertiesKHR(VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ = {}, VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters_ = {}) VULKAN_HPP_NOEXCEPT + : displayMode( displayMode_ ), parameters( parameters_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayModePropertiesKHR( DisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayModePropertiesKHR( VkDisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayModePropertiesKHR & operator=( VkDisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayModePropertiesKHR & operator=( DisplayModePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayModePropertiesKHR ) ); + return *this; + } + + + operator VkDisplayModePropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayModePropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayModePropertiesKHR const& ) const = default; +#else + bool operator==( DisplayModePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( displayMode == rhs.displayMode ) + && ( parameters == rhs.parameters ); + } + + bool operator!=( DisplayModePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode = {}; + VULKAN_HPP_NAMESPACE::DisplayModeParametersKHR parameters = {}; + + }; + static_assert( sizeof( DisplayModePropertiesKHR ) == sizeof( VkDisplayModePropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayModeProperties2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayModeProperties2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayModeProperties2KHR(VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR displayModeProperties_ = {}) VULKAN_HPP_NOEXCEPT + : displayModeProperties( displayModeProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayModeProperties2KHR( DisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayModeProperties2KHR( VkDisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayModeProperties2KHR & operator=( VkDisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayModeProperties2KHR & operator=( DisplayModeProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayModeProperties2KHR ) ); + return *this; + } + + + operator VkDisplayModeProperties2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayModeProperties2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayModeProperties2KHR const& ) const = default; +#else + bool operator==( DisplayModeProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( displayModeProperties == rhs.displayModeProperties ); + } + + bool operator!=( DisplayModeProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayModeProperties2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR displayModeProperties = {}; + + }; + static_assert( sizeof( DisplayModeProperties2KHR ) == sizeof( VkDisplayModeProperties2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayModeProperties2KHR; + }; + + struct DisplayPlaneInfo2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneInfo2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPlaneInfo2KHR(VULKAN_HPP_NAMESPACE::DisplayModeKHR mode_ = {}, uint32_t planeIndex_ = {}) VULKAN_HPP_NOEXCEPT + : mode( mode_ ), planeIndex( planeIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPlaneInfo2KHR( DisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPlaneInfo2KHR( VkDisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPlaneInfo2KHR & operator=( VkDisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPlaneInfo2KHR & operator=( DisplayPlaneInfo2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPlaneInfo2KHR ) ); + return *this; + } + + DisplayPlaneInfo2KHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplayPlaneInfo2KHR & setMode( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode_ ) VULKAN_HPP_NOEXCEPT + { + mode = mode_; + return *this; + } + + DisplayPlaneInfo2KHR & setPlaneIndex( uint32_t planeIndex_ ) VULKAN_HPP_NOEXCEPT + { + planeIndex = planeIndex_; + return *this; + } + + + operator VkDisplayPlaneInfo2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPlaneInfo2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPlaneInfo2KHR const& ) const = default; +#else + bool operator==( DisplayPlaneInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( mode == rhs.mode ) + && ( planeIndex == rhs.planeIndex ); + } + + bool operator!=( DisplayPlaneInfo2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneInfo2KHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayModeKHR mode = {}; + uint32_t planeIndex = {}; + + }; + static_assert( sizeof( DisplayPlaneInfo2KHR ) == sizeof( VkDisplayPlaneInfo2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayPlaneInfo2KHR; + }; + + struct DisplayPlaneCapabilitiesKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPlaneCapabilitiesKHR(VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagsKHR supportedAlpha_ = {}, VULKAN_HPP_NAMESPACE::Offset2D minSrcPosition_ = {}, VULKAN_HPP_NAMESPACE::Offset2D maxSrcPosition_ = {}, VULKAN_HPP_NAMESPACE::Extent2D minSrcExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxSrcExtent_ = {}, VULKAN_HPP_NAMESPACE::Offset2D minDstPosition_ = {}, VULKAN_HPP_NAMESPACE::Offset2D maxDstPosition_ = {}, VULKAN_HPP_NAMESPACE::Extent2D minDstExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxDstExtent_ = {}) VULKAN_HPP_NOEXCEPT + : supportedAlpha( supportedAlpha_ ), minSrcPosition( minSrcPosition_ ), maxSrcPosition( maxSrcPosition_ ), minSrcExtent( minSrcExtent_ ), maxSrcExtent( maxSrcExtent_ ), minDstPosition( minDstPosition_ ), maxDstPosition( maxDstPosition_ ), minDstExtent( minDstExtent_ ), maxDstExtent( maxDstExtent_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPlaneCapabilitiesKHR( DisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPlaneCapabilitiesKHR( VkDisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPlaneCapabilitiesKHR & operator=( VkDisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPlaneCapabilitiesKHR & operator=( DisplayPlaneCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPlaneCapabilitiesKHR ) ); + return *this; + } + + + operator VkDisplayPlaneCapabilitiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPlaneCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPlaneCapabilitiesKHR const& ) const = default; +#else + bool operator==( DisplayPlaneCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( supportedAlpha == rhs.supportedAlpha ) + && ( minSrcPosition == rhs.minSrcPosition ) + && ( maxSrcPosition == rhs.maxSrcPosition ) + && ( minSrcExtent == rhs.minSrcExtent ) + && ( maxSrcExtent == rhs.maxSrcExtent ) + && ( minDstPosition == rhs.minDstPosition ) + && ( maxDstPosition == rhs.maxDstPosition ) + && ( minDstExtent == rhs.minDstExtent ) + && ( maxDstExtent == rhs.maxDstExtent ); + } + + bool operator!=( DisplayPlaneCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagsKHR supportedAlpha = {}; + VULKAN_HPP_NAMESPACE::Offset2D minSrcPosition = {}; + VULKAN_HPP_NAMESPACE::Offset2D maxSrcPosition = {}; + VULKAN_HPP_NAMESPACE::Extent2D minSrcExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxSrcExtent = {}; + VULKAN_HPP_NAMESPACE::Offset2D minDstPosition = {}; + VULKAN_HPP_NAMESPACE::Offset2D maxDstPosition = {}; + VULKAN_HPP_NAMESPACE::Extent2D minDstExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxDstExtent = {}; + + }; + static_assert( sizeof( DisplayPlaneCapabilitiesKHR ) == sizeof( VkDisplayPlaneCapabilitiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayPlaneCapabilities2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneCapabilities2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPlaneCapabilities2KHR(VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities_ = {}) VULKAN_HPP_NOEXCEPT + : capabilities( capabilities_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPlaneCapabilities2KHR( DisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPlaneCapabilities2KHR( VkDisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPlaneCapabilities2KHR & operator=( VkDisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPlaneCapabilities2KHR & operator=( DisplayPlaneCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPlaneCapabilities2KHR ) ); + return *this; + } + + + operator VkDisplayPlaneCapabilities2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPlaneCapabilities2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPlaneCapabilities2KHR const& ) const = default; +#else + bool operator==( DisplayPlaneCapabilities2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( capabilities == rhs.capabilities ); + } + + bool operator!=( DisplayPlaneCapabilities2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneCapabilities2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities = {}; + + }; + static_assert( sizeof( DisplayPlaneCapabilities2KHR ) == sizeof( VkDisplayPlaneCapabilities2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayPlaneCapabilities2KHR; + }; + + struct DisplayPlanePropertiesKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPlanePropertiesKHR(VULKAN_HPP_NAMESPACE::DisplayKHR currentDisplay_ = {}, uint32_t currentStackIndex_ = {}) VULKAN_HPP_NOEXCEPT + : currentDisplay( currentDisplay_ ), currentStackIndex( currentStackIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPlanePropertiesKHR( DisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPlanePropertiesKHR( VkDisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPlanePropertiesKHR & operator=( VkDisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPlanePropertiesKHR & operator=( DisplayPlanePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPlanePropertiesKHR ) ); + return *this; + } + + + operator VkDisplayPlanePropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPlanePropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPlanePropertiesKHR const& ) const = default; +#else + bool operator==( DisplayPlanePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( currentDisplay == rhs.currentDisplay ) + && ( currentStackIndex == rhs.currentStackIndex ); + } + + bool operator!=( DisplayPlanePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DisplayKHR currentDisplay = {}; + uint32_t currentStackIndex = {}; + + }; + static_assert( sizeof( DisplayPlanePropertiesKHR ) == sizeof( VkDisplayPlanePropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayPlaneProperties2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPlaneProperties2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPlaneProperties2KHR(VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR displayPlaneProperties_ = {}) VULKAN_HPP_NOEXCEPT + : displayPlaneProperties( displayPlaneProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPlaneProperties2KHR( DisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPlaneProperties2KHR( VkDisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPlaneProperties2KHR & operator=( VkDisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPlaneProperties2KHR & operator=( DisplayPlaneProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPlaneProperties2KHR ) ); + return *this; + } + + + operator VkDisplayPlaneProperties2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPlaneProperties2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPlaneProperties2KHR const& ) const = default; +#else + bool operator==( DisplayPlaneProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( displayPlaneProperties == rhs.displayPlaneProperties ); + } + + bool operator!=( DisplayPlaneProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPlaneProperties2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR displayPlaneProperties = {}; + + }; + static_assert( sizeof( DisplayPlaneProperties2KHR ) == sizeof( VkDisplayPlaneProperties2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayPlaneProperties2KHR; + }; + + struct DisplayPropertiesKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPropertiesKHR(VULKAN_HPP_NAMESPACE::DisplayKHR display_ = {}, const char* displayName_ = {}, VULKAN_HPP_NAMESPACE::Extent2D physicalDimensions_ = {}, VULKAN_HPP_NAMESPACE::Extent2D physicalResolution_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, VULKAN_HPP_NAMESPACE::Bool32 planeReorderPossible_ = {}, VULKAN_HPP_NAMESPACE::Bool32 persistentContent_ = {}) VULKAN_HPP_NOEXCEPT + : display( display_ ), displayName( displayName_ ), physicalDimensions( physicalDimensions_ ), physicalResolution( physicalResolution_ ), supportedTransforms( supportedTransforms_ ), planeReorderPossible( planeReorderPossible_ ), persistentContent( persistentContent_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPropertiesKHR( DisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPropertiesKHR( VkDisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPropertiesKHR & operator=( VkDisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPropertiesKHR & operator=( DisplayPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPropertiesKHR ) ); + return *this; + } + + + operator VkDisplayPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPropertiesKHR const& ) const = default; +#else + bool operator==( DisplayPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( display == rhs.display ) + && ( displayName == rhs.displayName ) + && ( physicalDimensions == rhs.physicalDimensions ) + && ( physicalResolution == rhs.physicalResolution ) + && ( supportedTransforms == rhs.supportedTransforms ) + && ( planeReorderPossible == rhs.planeReorderPossible ) + && ( persistentContent == rhs.persistentContent ); + } + + bool operator!=( DisplayPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DisplayKHR display = {}; + const char* displayName = {}; + VULKAN_HPP_NAMESPACE::Extent2D physicalDimensions = {}; + VULKAN_HPP_NAMESPACE::Extent2D physicalResolution = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; + VULKAN_HPP_NAMESPACE::Bool32 planeReorderPossible = {}; + VULKAN_HPP_NAMESPACE::Bool32 persistentContent = {}; + + }; + static_assert( sizeof( DisplayPropertiesKHR ) == sizeof( VkDisplayPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayProperties2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayProperties2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayProperties2KHR(VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR displayProperties_ = {}) VULKAN_HPP_NOEXCEPT + : displayProperties( displayProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayProperties2KHR( DisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayProperties2KHR( VkDisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayProperties2KHR & operator=( VkDisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayProperties2KHR & operator=( DisplayProperties2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayProperties2KHR ) ); + return *this; + } + + + operator VkDisplayProperties2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayProperties2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayProperties2KHR const& ) const = default; +#else + bool operator==( DisplayProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( displayProperties == rhs.displayProperties ); + } + + bool operator!=( DisplayProperties2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayProperties2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR displayProperties = {}; + + }; + static_assert( sizeof( DisplayProperties2KHR ) == sizeof( VkDisplayProperties2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayProperties2KHR; + }; + + struct PhysicalDeviceExternalBufferInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalBufferInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalBufferInfo(VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), usage( usage_ ), handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalBufferInfo( PhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExternalBufferInfo( VkPhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExternalBufferInfo & operator=( VkPhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExternalBufferInfo & operator=( PhysicalDeviceExternalBufferInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExternalBufferInfo ) ); + return *this; + } + + PhysicalDeviceExternalBufferInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExternalBufferInfo & setFlags( VULKAN_HPP_NAMESPACE::BufferCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PhysicalDeviceExternalBufferInfo & setUsage( VULKAN_HPP_NAMESPACE::BufferUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + PhysicalDeviceExternalBufferInfo & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkPhysicalDeviceExternalBufferInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExternalBufferInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExternalBufferInfo const& ) const = default; +#else + bool operator==( PhysicalDeviceExternalBufferInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( usage == rhs.usage ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( PhysicalDeviceExternalBufferInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalBufferInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::BufferCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::BufferUsageFlags usage = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( PhysicalDeviceExternalBufferInfo ) == sizeof( VkPhysicalDeviceExternalBufferInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExternalBufferInfo; + }; + using PhysicalDeviceExternalBufferInfoKHR = PhysicalDeviceExternalBufferInfo; + + struct ExternalMemoryProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalMemoryProperties(VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlags externalMemoryFeatures_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags compatibleHandleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : externalMemoryFeatures( externalMemoryFeatures_ ), exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ), compatibleHandleTypes( compatibleHandleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalMemoryProperties( ExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalMemoryProperties( VkExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalMemoryProperties & operator=( VkExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalMemoryProperties & operator=( ExternalMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalMemoryProperties ) ); + return *this; + } + + + operator VkExternalMemoryProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalMemoryProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalMemoryProperties const& ) const = default; +#else + bool operator==( ExternalMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( externalMemoryFeatures == rhs.externalMemoryFeatures ) + && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) + && ( compatibleHandleTypes == rhs.compatibleHandleTypes ); + } + + bool operator!=( ExternalMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlags externalMemoryFeatures = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags compatibleHandleTypes = {}; + + }; + static_assert( sizeof( ExternalMemoryProperties ) == sizeof( VkExternalMemoryProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using ExternalMemoryPropertiesKHR = ExternalMemoryProperties; + + struct ExternalBufferProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalBufferProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalBufferProperties(VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties_ = {}) VULKAN_HPP_NOEXCEPT + : externalMemoryProperties( externalMemoryProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalBufferProperties( ExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalBufferProperties( VkExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalBufferProperties & operator=( VkExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalBufferProperties & operator=( ExternalBufferProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalBufferProperties ) ); + return *this; + } + + + operator VkExternalBufferProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalBufferProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalBufferProperties const& ) const = default; +#else + bool operator==( ExternalBufferProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( externalMemoryProperties == rhs.externalMemoryProperties ); + } + + bool operator!=( ExternalBufferProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalBufferProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties = {}; + + }; + static_assert( sizeof( ExternalBufferProperties ) == sizeof( VkExternalBufferProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalBufferProperties; + }; + using ExternalBufferPropertiesKHR = ExternalBufferProperties; + + struct PhysicalDeviceExternalFenceInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalFenceInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalFenceInfo(VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalFenceInfo( PhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExternalFenceInfo( VkPhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExternalFenceInfo & operator=( VkPhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExternalFenceInfo & operator=( PhysicalDeviceExternalFenceInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExternalFenceInfo ) ); + return *this; + } + + PhysicalDeviceExternalFenceInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExternalFenceInfo & setHandleType( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkPhysicalDeviceExternalFenceInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExternalFenceInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExternalFenceInfo const& ) const = default; +#else + bool operator==( PhysicalDeviceExternalFenceInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( PhysicalDeviceExternalFenceInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalFenceInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( PhysicalDeviceExternalFenceInfo ) == sizeof( VkPhysicalDeviceExternalFenceInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExternalFenceInfo; + }; + using PhysicalDeviceExternalFenceInfoKHR = PhysicalDeviceExternalFenceInfo; + + struct ExternalFenceProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalFenceProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalFenceProperties(VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags exportFromImportedHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags compatibleHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlags externalFenceFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ), compatibleHandleTypes( compatibleHandleTypes_ ), externalFenceFeatures( externalFenceFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalFenceProperties( ExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalFenceProperties( VkExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalFenceProperties & operator=( VkExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalFenceProperties & operator=( ExternalFenceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalFenceProperties ) ); + return *this; + } + + + operator VkExternalFenceProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalFenceProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalFenceProperties const& ) const = default; +#else + bool operator==( ExternalFenceProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) + && ( compatibleHandleTypes == rhs.compatibleHandleTypes ) + && ( externalFenceFeatures == rhs.externalFenceFeatures ); + } + + bool operator!=( ExternalFenceProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalFenceProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags exportFromImportedHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags compatibleHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlags externalFenceFeatures = {}; + + }; + static_assert( sizeof( ExternalFenceProperties ) == sizeof( VkExternalFenceProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalFenceProperties; + }; + using ExternalFencePropertiesKHR = ExternalFenceProperties; + + struct ImageFormatProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageFormatProperties(VULKAN_HPP_NAMESPACE::Extent3D maxExtent_ = {}, uint32_t maxMipLevels_ = {}, uint32_t maxArrayLayers_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize maxResourceSize_ = {}) VULKAN_HPP_NOEXCEPT + : maxExtent( maxExtent_ ), maxMipLevels( maxMipLevels_ ), maxArrayLayers( maxArrayLayers_ ), sampleCounts( sampleCounts_ ), maxResourceSize( maxResourceSize_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageFormatProperties( ImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageFormatProperties( VkImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageFormatProperties & operator=( VkImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageFormatProperties & operator=( ImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageFormatProperties ) ); + return *this; + } + + + operator VkImageFormatProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageFormatProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageFormatProperties const& ) const = default; +#else + bool operator==( ImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( maxExtent == rhs.maxExtent ) + && ( maxMipLevels == rhs.maxMipLevels ) + && ( maxArrayLayers == rhs.maxArrayLayers ) + && ( sampleCounts == rhs.sampleCounts ) + && ( maxResourceSize == rhs.maxResourceSize ); + } + + bool operator!=( ImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Extent3D maxExtent = {}; + uint32_t maxMipLevels = {}; + uint32_t maxArrayLayers = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts = {}; + VULKAN_HPP_NAMESPACE::DeviceSize maxResourceSize = {}; + + }; + static_assert( sizeof( ImageFormatProperties ) == sizeof( VkImageFormatProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ExternalImageFormatPropertiesNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalImageFormatPropertiesNV(VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagsNV externalMemoryFeatures_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : imageFormatProperties( imageFormatProperties_ ), externalMemoryFeatures( externalMemoryFeatures_ ), exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ), compatibleHandleTypes( compatibleHandleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalImageFormatPropertiesNV( ExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalImageFormatPropertiesNV( VkExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalImageFormatPropertiesNV & operator=( VkExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalImageFormatPropertiesNV & operator=( ExternalImageFormatPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalImageFormatPropertiesNV ) ); + return *this; + } + + + operator VkExternalImageFormatPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalImageFormatPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalImageFormatPropertiesNV const& ) const = default; +#else + bool operator==( ExternalImageFormatPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( imageFormatProperties == rhs.imageFormatProperties ) + && ( externalMemoryFeatures == rhs.externalMemoryFeatures ) + && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) + && ( compatibleHandleTypes == rhs.compatibleHandleTypes ); + } + + bool operator!=( ExternalImageFormatPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagsNV externalMemoryFeatures = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes = {}; + + }; + static_assert( sizeof( ExternalImageFormatPropertiesNV ) == sizeof( VkExternalImageFormatPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceExternalSemaphoreInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalSemaphoreInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo(VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalSemaphoreInfo( PhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExternalSemaphoreInfo( VkPhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExternalSemaphoreInfo & operator=( VkPhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExternalSemaphoreInfo & operator=( PhysicalDeviceExternalSemaphoreInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) ); + return *this; + } + + PhysicalDeviceExternalSemaphoreInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExternalSemaphoreInfo & setHandleType( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkPhysicalDeviceExternalSemaphoreInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExternalSemaphoreInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExternalSemaphoreInfo const& ) const = default; +#else + bool operator==( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( PhysicalDeviceExternalSemaphoreInfo ) == sizeof( VkPhysicalDeviceExternalSemaphoreInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExternalSemaphoreInfo; + }; + using PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo; + + struct ExternalSemaphoreProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalSemaphoreProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalSemaphoreProperties(VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags compatibleHandleTypes_ = {}, VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlags externalSemaphoreFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : exportFromImportedHandleTypes( exportFromImportedHandleTypes_ ), compatibleHandleTypes( compatibleHandleTypes_ ), externalSemaphoreFeatures( externalSemaphoreFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalSemaphoreProperties( ExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalSemaphoreProperties( VkExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalSemaphoreProperties & operator=( VkExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalSemaphoreProperties & operator=( ExternalSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalSemaphoreProperties ) ); + return *this; + } + + + operator VkExternalSemaphoreProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalSemaphoreProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalSemaphoreProperties const& ) const = default; +#else + bool operator==( ExternalSemaphoreProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes ) + && ( compatibleHandleTypes == rhs.compatibleHandleTypes ) + && ( externalSemaphoreFeatures == rhs.externalSemaphoreFeatures ); + } + + bool operator!=( ExternalSemaphoreProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalSemaphoreProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags compatibleHandleTypes = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlags externalSemaphoreFeatures = {}; + + }; + static_assert( sizeof( ExternalSemaphoreProperties ) == sizeof( VkExternalSemaphoreProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalSemaphoreProperties; + }; + using ExternalSemaphorePropertiesKHR = ExternalSemaphoreProperties; + + struct PhysicalDeviceFeatures2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFeatures2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2(VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features_ = {}) VULKAN_HPP_NOEXCEPT + : features( features_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2( PhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFeatures2( VkPhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFeatures2 & operator=( VkPhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFeatures2 & operator=( PhysicalDeviceFeatures2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFeatures2 ) ); + return *this; + } + + PhysicalDeviceFeatures2 & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFeatures2 & setFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures const & features_ ) VULKAN_HPP_NOEXCEPT + { + features = features_; + return *this; + } + + + operator VkPhysicalDeviceFeatures2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFeatures2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFeatures2 const& ) const = default; +#else + bool operator==( PhysicalDeviceFeatures2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( features == rhs.features ); + } + + bool operator!=( PhysicalDeviceFeatures2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFeatures2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features = {}; + + }; + static_assert( sizeof( PhysicalDeviceFeatures2 ) == sizeof( VkPhysicalDeviceFeatures2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFeatures2; + }; + using PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2; + + struct FormatProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FormatProperties(VULKAN_HPP_NAMESPACE::FormatFeatureFlags linearTilingFeatures_ = {}, VULKAN_HPP_NAMESPACE::FormatFeatureFlags optimalTilingFeatures_ = {}, VULKAN_HPP_NAMESPACE::FormatFeatureFlags bufferFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : linearTilingFeatures( linearTilingFeatures_ ), optimalTilingFeatures( optimalTilingFeatures_ ), bufferFeatures( bufferFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR FormatProperties( FormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FormatProperties( VkFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FormatProperties & operator=( VkFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FormatProperties & operator=( FormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FormatProperties ) ); + return *this; + } + + + operator VkFormatProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFormatProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FormatProperties const& ) const = default; +#else + bool operator==( FormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( linearTilingFeatures == rhs.linearTilingFeatures ) + && ( optimalTilingFeatures == rhs.optimalTilingFeatures ) + && ( bufferFeatures == rhs.bufferFeatures ); + } + + bool operator!=( FormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::FormatFeatureFlags linearTilingFeatures = {}; + VULKAN_HPP_NAMESPACE::FormatFeatureFlags optimalTilingFeatures = {}; + VULKAN_HPP_NAMESPACE::FormatFeatureFlags bufferFeatures = {}; + + }; + static_assert( sizeof( FormatProperties ) == sizeof( VkFormatProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct FormatProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFormatProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FormatProperties2(VULKAN_HPP_NAMESPACE::FormatProperties formatProperties_ = {}) VULKAN_HPP_NOEXCEPT + : formatProperties( formatProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR FormatProperties2( FormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FormatProperties2( VkFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FormatProperties2 & operator=( VkFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FormatProperties2 & operator=( FormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FormatProperties2 ) ); + return *this; + } + + + operator VkFormatProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFormatProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FormatProperties2 const& ) const = default; +#else + bool operator==( FormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( formatProperties == rhs.formatProperties ); + } + + bool operator!=( FormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFormatProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::FormatProperties formatProperties = {}; + + }; + static_assert( sizeof( FormatProperties2 ) == sizeof( VkFormatProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FormatProperties2; + }; + using FormatProperties2KHR = FormatProperties2; + + struct PhysicalDeviceFragmentShadingRateKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShadingRateKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateKHR(VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts_ = {}, VULKAN_HPP_NAMESPACE::Extent2D fragmentSize_ = {}) VULKAN_HPP_NOEXCEPT + : sampleCounts( sampleCounts_ ), fragmentSize( fragmentSize_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateKHR( PhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShadingRateKHR( VkPhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShadingRateKHR & operator=( VkPhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShadingRateKHR & operator=( PhysicalDeviceFragmentShadingRateKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShadingRateKHR ) ); + return *this; + } + + + operator VkPhysicalDeviceFragmentShadingRateKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShadingRateKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShadingRateKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShadingRateKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sampleCounts == rhs.sampleCounts ) + && ( fragmentSize == rhs.fragmentSize ); + } + + bool operator!=( PhysicalDeviceFragmentShadingRateKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampleCounts = {}; + VULKAN_HPP_NAMESPACE::Extent2D fragmentSize = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShadingRateKHR ) == sizeof( VkPhysicalDeviceFragmentShadingRateKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShadingRateKHR; + }; + + struct PhysicalDeviceImageFormatInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageFormatInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageFormatInfo2(VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::ImageType type_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : format( format_ ), type( type_ ), tiling( tiling_ ), usage( usage_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageFormatInfo2( PhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImageFormatInfo2( VkPhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceImageFormatInfo2 & operator=( VkPhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceImageFormatInfo2 & operator=( PhysicalDeviceImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceImageFormatInfo2 ) ); + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setType( VULKAN_HPP_NAMESPACE::ImageType type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT + { + tiling = tiling_; + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + PhysicalDeviceImageFormatInfo2 & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkPhysicalDeviceImageFormatInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageFormatInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceImageFormatInfo2 const& ) const = default; +#else + bool operator==( PhysicalDeviceImageFormatInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( format == rhs.format ) + && ( type == rhs.type ) + && ( tiling == rhs.tiling ) + && ( usage == rhs.usage ) + && ( flags == rhs.flags ); + } + + bool operator!=( PhysicalDeviceImageFormatInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageFormatInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::ImageType type = VULKAN_HPP_NAMESPACE::ImageType::e1D; + VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; + VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; + VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; + + }; + static_assert( sizeof( PhysicalDeviceImageFormatInfo2 ) == sizeof( VkPhysicalDeviceImageFormatInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceImageFormatInfo2; + }; + using PhysicalDeviceImageFormatInfo2KHR = PhysicalDeviceImageFormatInfo2; + + struct ImageFormatProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageFormatProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageFormatProperties2(VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties_ = {}) VULKAN_HPP_NOEXCEPT + : imageFormatProperties( imageFormatProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageFormatProperties2( ImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageFormatProperties2( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageFormatProperties2 & operator=( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageFormatProperties2 & operator=( ImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageFormatProperties2 ) ); + return *this; + } + + + operator VkImageFormatProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageFormatProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageFormatProperties2 const& ) const = default; +#else + bool operator==( ImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( imageFormatProperties == rhs.imageFormatProperties ); + } + + bool operator!=( ImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties = {}; + + }; + static_assert( sizeof( ImageFormatProperties2 ) == sizeof( VkImageFormatProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageFormatProperties2; + }; + using ImageFormatProperties2KHR = ImageFormatProperties2; + + struct MemoryType + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryType(VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags_ = {}, uint32_t heapIndex_ = {}) VULKAN_HPP_NOEXCEPT + : propertyFlags( propertyFlags_ ), heapIndex( heapIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryType( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryType( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryType & operator=( VkMemoryType const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryType & operator=( MemoryType const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryType ) ); + return *this; + } + + + operator VkMemoryType const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryType &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryType const& ) const = default; +#else + bool operator==( MemoryType const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( propertyFlags == rhs.propertyFlags ) + && ( heapIndex == rhs.heapIndex ); + } + + bool operator!=( MemoryType const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::MemoryPropertyFlags propertyFlags = {}; + uint32_t heapIndex = {}; + + }; + static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct MemoryHeap + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryHeap(VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::MemoryHeapFlags flags_ = {}) VULKAN_HPP_NOEXCEPT + : size( size_ ), flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryHeap( MemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryHeap( VkMemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryHeap & operator=( VkMemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryHeap & operator=( MemoryHeap const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryHeap ) ); + return *this; + } + + + operator VkMemoryHeap const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryHeap &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryHeap const& ) const = default; +#else + bool operator==( MemoryHeap const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( size == rhs.size ) + && ( flags == rhs.flags ); + } + + bool operator!=( MemoryHeap const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::MemoryHeapFlags flags = {}; + + }; + static_assert( sizeof( MemoryHeap ) == sizeof( VkMemoryHeap ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceMemoryProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties(uint32_t memoryTypeCount_ = {}, std::array const& memoryTypes_ = {}, uint32_t memoryHeapCount_ = {}, std::array const& memoryHeaps_ = {}) VULKAN_HPP_NOEXCEPT + : memoryTypeCount( memoryTypeCount_ ), memoryTypes( memoryTypes_ ), memoryHeapCount( memoryHeapCount_ ), memoryHeaps( memoryHeaps_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties( PhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMemoryProperties( VkPhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMemoryProperties & operator=( VkPhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMemoryProperties & operator=( PhysicalDeviceMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMemoryProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceMemoryProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMemoryProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMemoryProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( memoryTypeCount == rhs.memoryTypeCount ) + && ( memoryTypes == rhs.memoryTypes ) + && ( memoryHeapCount == rhs.memoryHeapCount ) + && ( memoryHeaps == rhs.memoryHeaps ); + } + + bool operator!=( PhysicalDeviceMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t memoryTypeCount = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D memoryTypes = {}; + uint32_t memoryHeapCount = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D memoryHeaps = {}; + + }; + static_assert( sizeof( PhysicalDeviceMemoryProperties ) == sizeof( VkPhysicalDeviceMemoryProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceMemoryProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMemoryProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties2(VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties_ = {}) VULKAN_HPP_NOEXCEPT + : memoryProperties( memoryProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryProperties2( PhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMemoryProperties2( VkPhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMemoryProperties2 & operator=( VkPhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMemoryProperties2 & operator=( PhysicalDeviceMemoryProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMemoryProperties2 ) ); + return *this; + } + + + operator VkPhysicalDeviceMemoryProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMemoryProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMemoryProperties2 const& ) const = default; +#else + bool operator==( PhysicalDeviceMemoryProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryProperties == rhs.memoryProperties ); + } + + bool operator!=( PhysicalDeviceMemoryProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties = {}; + + }; + static_assert( sizeof( PhysicalDeviceMemoryProperties2 ) == sizeof( VkPhysicalDeviceMemoryProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMemoryProperties2; + }; + using PhysicalDeviceMemoryProperties2KHR = PhysicalDeviceMemoryProperties2; + + struct MultisamplePropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMultisamplePropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MultisamplePropertiesEXT(VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize_ = {}) VULKAN_HPP_NOEXCEPT + : maxSampleLocationGridSize( maxSampleLocationGridSize_ ) + {} + + VULKAN_HPP_CONSTEXPR MultisamplePropertiesEXT( MultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MultisamplePropertiesEXT( VkMultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MultisamplePropertiesEXT & operator=( VkMultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MultisamplePropertiesEXT & operator=( MultisamplePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MultisamplePropertiesEXT ) ); + return *this; + } + + + operator VkMultisamplePropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMultisamplePropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MultisamplePropertiesEXT const& ) const = default; +#else + bool operator==( MultisamplePropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize ); + } + + bool operator!=( MultisamplePropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMultisamplePropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize = {}; + + }; + static_assert( sizeof( MultisamplePropertiesEXT ) == sizeof( VkMultisamplePropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MultisamplePropertiesEXT; + }; + + struct PhysicalDeviceLimits + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLimits(uint32_t maxImageDimension1D_ = {}, uint32_t maxImageDimension2D_ = {}, uint32_t maxImageDimension3D_ = {}, uint32_t maxImageDimensionCube_ = {}, uint32_t maxImageArrayLayers_ = {}, uint32_t maxTexelBufferElements_ = {}, uint32_t maxUniformBufferRange_ = {}, uint32_t maxStorageBufferRange_ = {}, uint32_t maxPushConstantsSize_ = {}, uint32_t maxMemoryAllocationCount_ = {}, uint32_t maxSamplerAllocationCount_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize bufferImageGranularity_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize sparseAddressSpaceSize_ = {}, uint32_t maxBoundDescriptorSets_ = {}, uint32_t maxPerStageDescriptorSamplers_ = {}, uint32_t maxPerStageDescriptorUniformBuffers_ = {}, uint32_t maxPerStageDescriptorStorageBuffers_ = {}, uint32_t maxPerStageDescriptorSampledImages_ = {}, uint32_t maxPerStageDescriptorStorageImages_ = {}, uint32_t maxPerStageDescriptorInputAttachments_ = {}, uint32_t maxPerStageResources_ = {}, uint32_t maxDescriptorSetSamplers_ = {}, uint32_t maxDescriptorSetUniformBuffers_ = {}, uint32_t maxDescriptorSetUniformBuffersDynamic_ = {}, uint32_t maxDescriptorSetStorageBuffers_ = {}, uint32_t maxDescriptorSetStorageBuffersDynamic_ = {}, uint32_t maxDescriptorSetSampledImages_ = {}, uint32_t maxDescriptorSetStorageImages_ = {}, uint32_t maxDescriptorSetInputAttachments_ = {}, uint32_t maxVertexInputAttributes_ = {}, uint32_t maxVertexInputBindings_ = {}, uint32_t maxVertexInputAttributeOffset_ = {}, uint32_t maxVertexInputBindingStride_ = {}, uint32_t maxVertexOutputComponents_ = {}, uint32_t maxTessellationGenerationLevel_ = {}, uint32_t maxTessellationPatchSize_ = {}, uint32_t maxTessellationControlPerVertexInputComponents_ = {}, uint32_t maxTessellationControlPerVertexOutputComponents_ = {}, uint32_t maxTessellationControlPerPatchOutputComponents_ = {}, uint32_t maxTessellationControlTotalOutputComponents_ = {}, uint32_t maxTessellationEvaluationInputComponents_ = {}, uint32_t maxTessellationEvaluationOutputComponents_ = {}, uint32_t maxGeometryShaderInvocations_ = {}, uint32_t maxGeometryInputComponents_ = {}, uint32_t maxGeometryOutputComponents_ = {}, uint32_t maxGeometryOutputVertices_ = {}, uint32_t maxGeometryTotalOutputComponents_ = {}, uint32_t maxFragmentInputComponents_ = {}, uint32_t maxFragmentOutputAttachments_ = {}, uint32_t maxFragmentDualSrcAttachments_ = {}, uint32_t maxFragmentCombinedOutputResources_ = {}, uint32_t maxComputeSharedMemorySize_ = {}, std::array const& maxComputeWorkGroupCount_ = {}, uint32_t maxComputeWorkGroupInvocations_ = {}, std::array const& maxComputeWorkGroupSize_ = {}, uint32_t subPixelPrecisionBits_ = {}, uint32_t subTexelPrecisionBits_ = {}, uint32_t mipmapPrecisionBits_ = {}, uint32_t maxDrawIndexedIndexValue_ = {}, uint32_t maxDrawIndirectCount_ = {}, float maxSamplerLodBias_ = {}, float maxSamplerAnisotropy_ = {}, uint32_t maxViewports_ = {}, std::array const& maxViewportDimensions_ = {}, std::array const& viewportBoundsRange_ = {}, uint32_t viewportSubPixelBits_ = {}, size_t minMemoryMapAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize minTexelBufferOffsetAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize minUniformBufferOffsetAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize minStorageBufferOffsetAlignment_ = {}, int32_t minTexelOffset_ = {}, uint32_t maxTexelOffset_ = {}, int32_t minTexelGatherOffset_ = {}, uint32_t maxTexelGatherOffset_ = {}, float minInterpolationOffset_ = {}, float maxInterpolationOffset_ = {}, uint32_t subPixelInterpolationOffsetBits_ = {}, uint32_t maxFramebufferWidth_ = {}, uint32_t maxFramebufferHeight_ = {}, uint32_t maxFramebufferLayers_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferColorSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferDepthSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferStencilSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferNoAttachmentsSampleCounts_ = {}, uint32_t maxColorAttachments_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageColorSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageIntegerSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageDepthSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageStencilSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags storageImageSampleCounts_ = {}, uint32_t maxSampleMaskWords_ = {}, VULKAN_HPP_NAMESPACE::Bool32 timestampComputeAndGraphics_ = {}, float timestampPeriod_ = {}, uint32_t maxClipDistances_ = {}, uint32_t maxCullDistances_ = {}, uint32_t maxCombinedClipAndCullDistances_ = {}, uint32_t discreteQueuePriorities_ = {}, std::array const& pointSizeRange_ = {}, std::array const& lineWidthRange_ = {}, float pointSizeGranularity_ = {}, float lineWidthGranularity_ = {}, VULKAN_HPP_NAMESPACE::Bool32 strictLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 standardSampleLocations_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyOffsetAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyRowPitchAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize nonCoherentAtomSize_ = {}) VULKAN_HPP_NOEXCEPT + : maxImageDimension1D( maxImageDimension1D_ ), maxImageDimension2D( maxImageDimension2D_ ), maxImageDimension3D( maxImageDimension3D_ ), maxImageDimensionCube( maxImageDimensionCube_ ), maxImageArrayLayers( maxImageArrayLayers_ ), maxTexelBufferElements( maxTexelBufferElements_ ), maxUniformBufferRange( maxUniformBufferRange_ ), maxStorageBufferRange( maxStorageBufferRange_ ), maxPushConstantsSize( maxPushConstantsSize_ ), maxMemoryAllocationCount( maxMemoryAllocationCount_ ), maxSamplerAllocationCount( maxSamplerAllocationCount_ ), bufferImageGranularity( bufferImageGranularity_ ), sparseAddressSpaceSize( sparseAddressSpaceSize_ ), maxBoundDescriptorSets( maxBoundDescriptorSets_ ), maxPerStageDescriptorSamplers( maxPerStageDescriptorSamplers_ ), maxPerStageDescriptorUniformBuffers( maxPerStageDescriptorUniformBuffers_ ), maxPerStageDescriptorStorageBuffers( maxPerStageDescriptorStorageBuffers_ ), maxPerStageDescriptorSampledImages( maxPerStageDescriptorSampledImages_ ), maxPerStageDescriptorStorageImages( maxPerStageDescriptorStorageImages_ ), maxPerStageDescriptorInputAttachments( maxPerStageDescriptorInputAttachments_ ), maxPerStageResources( maxPerStageResources_ ), maxDescriptorSetSamplers( maxDescriptorSetSamplers_ ), maxDescriptorSetUniformBuffers( maxDescriptorSetUniformBuffers_ ), maxDescriptorSetUniformBuffersDynamic( maxDescriptorSetUniformBuffersDynamic_ ), maxDescriptorSetStorageBuffers( maxDescriptorSetStorageBuffers_ ), maxDescriptorSetStorageBuffersDynamic( maxDescriptorSetStorageBuffersDynamic_ ), maxDescriptorSetSampledImages( maxDescriptorSetSampledImages_ ), maxDescriptorSetStorageImages( maxDescriptorSetStorageImages_ ), maxDescriptorSetInputAttachments( maxDescriptorSetInputAttachments_ ), maxVertexInputAttributes( maxVertexInputAttributes_ ), maxVertexInputBindings( maxVertexInputBindings_ ), maxVertexInputAttributeOffset( maxVertexInputAttributeOffset_ ), maxVertexInputBindingStride( maxVertexInputBindingStride_ ), maxVertexOutputComponents( maxVertexOutputComponents_ ), maxTessellationGenerationLevel( maxTessellationGenerationLevel_ ), maxTessellationPatchSize( maxTessellationPatchSize_ ), maxTessellationControlPerVertexInputComponents( maxTessellationControlPerVertexInputComponents_ ), maxTessellationControlPerVertexOutputComponents( maxTessellationControlPerVertexOutputComponents_ ), maxTessellationControlPerPatchOutputComponents( maxTessellationControlPerPatchOutputComponents_ ), maxTessellationControlTotalOutputComponents( maxTessellationControlTotalOutputComponents_ ), maxTessellationEvaluationInputComponents( maxTessellationEvaluationInputComponents_ ), maxTessellationEvaluationOutputComponents( maxTessellationEvaluationOutputComponents_ ), maxGeometryShaderInvocations( maxGeometryShaderInvocations_ ), maxGeometryInputComponents( maxGeometryInputComponents_ ), maxGeometryOutputComponents( maxGeometryOutputComponents_ ), maxGeometryOutputVertices( maxGeometryOutputVertices_ ), maxGeometryTotalOutputComponents( maxGeometryTotalOutputComponents_ ), maxFragmentInputComponents( maxFragmentInputComponents_ ), maxFragmentOutputAttachments( maxFragmentOutputAttachments_ ), maxFragmentDualSrcAttachments( maxFragmentDualSrcAttachments_ ), maxFragmentCombinedOutputResources( maxFragmentCombinedOutputResources_ ), maxComputeSharedMemorySize( maxComputeSharedMemorySize_ ), maxComputeWorkGroupCount( maxComputeWorkGroupCount_ ), maxComputeWorkGroupInvocations( maxComputeWorkGroupInvocations_ ), maxComputeWorkGroupSize( maxComputeWorkGroupSize_ ), subPixelPrecisionBits( subPixelPrecisionBits_ ), subTexelPrecisionBits( subTexelPrecisionBits_ ), mipmapPrecisionBits( mipmapPrecisionBits_ ), maxDrawIndexedIndexValue( maxDrawIndexedIndexValue_ ), maxDrawIndirectCount( maxDrawIndirectCount_ ), maxSamplerLodBias( maxSamplerLodBias_ ), maxSamplerAnisotropy( maxSamplerAnisotropy_ ), maxViewports( maxViewports_ ), maxViewportDimensions( maxViewportDimensions_ ), viewportBoundsRange( viewportBoundsRange_ ), viewportSubPixelBits( viewportSubPixelBits_ ), minMemoryMapAlignment( minMemoryMapAlignment_ ), minTexelBufferOffsetAlignment( minTexelBufferOffsetAlignment_ ), minUniformBufferOffsetAlignment( minUniformBufferOffsetAlignment_ ), minStorageBufferOffsetAlignment( minStorageBufferOffsetAlignment_ ), minTexelOffset( minTexelOffset_ ), maxTexelOffset( maxTexelOffset_ ), minTexelGatherOffset( minTexelGatherOffset_ ), maxTexelGatherOffset( maxTexelGatherOffset_ ), minInterpolationOffset( minInterpolationOffset_ ), maxInterpolationOffset( maxInterpolationOffset_ ), subPixelInterpolationOffsetBits( subPixelInterpolationOffsetBits_ ), maxFramebufferWidth( maxFramebufferWidth_ ), maxFramebufferHeight( maxFramebufferHeight_ ), maxFramebufferLayers( maxFramebufferLayers_ ), framebufferColorSampleCounts( framebufferColorSampleCounts_ ), framebufferDepthSampleCounts( framebufferDepthSampleCounts_ ), framebufferStencilSampleCounts( framebufferStencilSampleCounts_ ), framebufferNoAttachmentsSampleCounts( framebufferNoAttachmentsSampleCounts_ ), maxColorAttachments( maxColorAttachments_ ), sampledImageColorSampleCounts( sampledImageColorSampleCounts_ ), sampledImageIntegerSampleCounts( sampledImageIntegerSampleCounts_ ), sampledImageDepthSampleCounts( sampledImageDepthSampleCounts_ ), sampledImageStencilSampleCounts( sampledImageStencilSampleCounts_ ), storageImageSampleCounts( storageImageSampleCounts_ ), maxSampleMaskWords( maxSampleMaskWords_ ), timestampComputeAndGraphics( timestampComputeAndGraphics_ ), timestampPeriod( timestampPeriod_ ), maxClipDistances( maxClipDistances_ ), maxCullDistances( maxCullDistances_ ), maxCombinedClipAndCullDistances( maxCombinedClipAndCullDistances_ ), discreteQueuePriorities( discreteQueuePriorities_ ), pointSizeRange( pointSizeRange_ ), lineWidthRange( lineWidthRange_ ), pointSizeGranularity( pointSizeGranularity_ ), lineWidthGranularity( lineWidthGranularity_ ), strictLines( strictLines_ ), standardSampleLocations( standardSampleLocations_ ), optimalBufferCopyOffsetAlignment( optimalBufferCopyOffsetAlignment_ ), optimalBufferCopyRowPitchAlignment( optimalBufferCopyRowPitchAlignment_ ), nonCoherentAtomSize( nonCoherentAtomSize_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceLimits( PhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceLimits( VkPhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceLimits & operator=( VkPhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceLimits & operator=( PhysicalDeviceLimits const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceLimits ) ); + return *this; + } + + + operator VkPhysicalDeviceLimits const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceLimits &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceLimits const& ) const = default; +#else + bool operator==( PhysicalDeviceLimits const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( maxImageDimension1D == rhs.maxImageDimension1D ) + && ( maxImageDimension2D == rhs.maxImageDimension2D ) + && ( maxImageDimension3D == rhs.maxImageDimension3D ) + && ( maxImageDimensionCube == rhs.maxImageDimensionCube ) + && ( maxImageArrayLayers == rhs.maxImageArrayLayers ) + && ( maxTexelBufferElements == rhs.maxTexelBufferElements ) + && ( maxUniformBufferRange == rhs.maxUniformBufferRange ) + && ( maxStorageBufferRange == rhs.maxStorageBufferRange ) + && ( maxPushConstantsSize == rhs.maxPushConstantsSize ) + && ( maxMemoryAllocationCount == rhs.maxMemoryAllocationCount ) + && ( maxSamplerAllocationCount == rhs.maxSamplerAllocationCount ) + && ( bufferImageGranularity == rhs.bufferImageGranularity ) + && ( sparseAddressSpaceSize == rhs.sparseAddressSpaceSize ) + && ( maxBoundDescriptorSets == rhs.maxBoundDescriptorSets ) + && ( maxPerStageDescriptorSamplers == rhs.maxPerStageDescriptorSamplers ) + && ( maxPerStageDescriptorUniformBuffers == rhs.maxPerStageDescriptorUniformBuffers ) + && ( maxPerStageDescriptorStorageBuffers == rhs.maxPerStageDescriptorStorageBuffers ) + && ( maxPerStageDescriptorSampledImages == rhs.maxPerStageDescriptorSampledImages ) + && ( maxPerStageDescriptorStorageImages == rhs.maxPerStageDescriptorStorageImages ) + && ( maxPerStageDescriptorInputAttachments == rhs.maxPerStageDescriptorInputAttachments ) + && ( maxPerStageResources == rhs.maxPerStageResources ) + && ( maxDescriptorSetSamplers == rhs.maxDescriptorSetSamplers ) + && ( maxDescriptorSetUniformBuffers == rhs.maxDescriptorSetUniformBuffers ) + && ( maxDescriptorSetUniformBuffersDynamic == rhs.maxDescriptorSetUniformBuffersDynamic ) + && ( maxDescriptorSetStorageBuffers == rhs.maxDescriptorSetStorageBuffers ) + && ( maxDescriptorSetStorageBuffersDynamic == rhs.maxDescriptorSetStorageBuffersDynamic ) + && ( maxDescriptorSetSampledImages == rhs.maxDescriptorSetSampledImages ) + && ( maxDescriptorSetStorageImages == rhs.maxDescriptorSetStorageImages ) + && ( maxDescriptorSetInputAttachments == rhs.maxDescriptorSetInputAttachments ) + && ( maxVertexInputAttributes == rhs.maxVertexInputAttributes ) + && ( maxVertexInputBindings == rhs.maxVertexInputBindings ) + && ( maxVertexInputAttributeOffset == rhs.maxVertexInputAttributeOffset ) + && ( maxVertexInputBindingStride == rhs.maxVertexInputBindingStride ) + && ( maxVertexOutputComponents == rhs.maxVertexOutputComponents ) + && ( maxTessellationGenerationLevel == rhs.maxTessellationGenerationLevel ) + && ( maxTessellationPatchSize == rhs.maxTessellationPatchSize ) + && ( maxTessellationControlPerVertexInputComponents == rhs.maxTessellationControlPerVertexInputComponents ) + && ( maxTessellationControlPerVertexOutputComponents == rhs.maxTessellationControlPerVertexOutputComponents ) + && ( maxTessellationControlPerPatchOutputComponents == rhs.maxTessellationControlPerPatchOutputComponents ) + && ( maxTessellationControlTotalOutputComponents == rhs.maxTessellationControlTotalOutputComponents ) + && ( maxTessellationEvaluationInputComponents == rhs.maxTessellationEvaluationInputComponents ) + && ( maxTessellationEvaluationOutputComponents == rhs.maxTessellationEvaluationOutputComponents ) + && ( maxGeometryShaderInvocations == rhs.maxGeometryShaderInvocations ) + && ( maxGeometryInputComponents == rhs.maxGeometryInputComponents ) + && ( maxGeometryOutputComponents == rhs.maxGeometryOutputComponents ) + && ( maxGeometryOutputVertices == rhs.maxGeometryOutputVertices ) + && ( maxGeometryTotalOutputComponents == rhs.maxGeometryTotalOutputComponents ) + && ( maxFragmentInputComponents == rhs.maxFragmentInputComponents ) + && ( maxFragmentOutputAttachments == rhs.maxFragmentOutputAttachments ) + && ( maxFragmentDualSrcAttachments == rhs.maxFragmentDualSrcAttachments ) + && ( maxFragmentCombinedOutputResources == rhs.maxFragmentCombinedOutputResources ) + && ( maxComputeSharedMemorySize == rhs.maxComputeSharedMemorySize ) + && ( maxComputeWorkGroupCount == rhs.maxComputeWorkGroupCount ) + && ( maxComputeWorkGroupInvocations == rhs.maxComputeWorkGroupInvocations ) + && ( maxComputeWorkGroupSize == rhs.maxComputeWorkGroupSize ) + && ( subPixelPrecisionBits == rhs.subPixelPrecisionBits ) + && ( subTexelPrecisionBits == rhs.subTexelPrecisionBits ) + && ( mipmapPrecisionBits == rhs.mipmapPrecisionBits ) + && ( maxDrawIndexedIndexValue == rhs.maxDrawIndexedIndexValue ) + && ( maxDrawIndirectCount == rhs.maxDrawIndirectCount ) + && ( maxSamplerLodBias == rhs.maxSamplerLodBias ) + && ( maxSamplerAnisotropy == rhs.maxSamplerAnisotropy ) + && ( maxViewports == rhs.maxViewports ) + && ( maxViewportDimensions == rhs.maxViewportDimensions ) + && ( viewportBoundsRange == rhs.viewportBoundsRange ) + && ( viewportSubPixelBits == rhs.viewportSubPixelBits ) + && ( minMemoryMapAlignment == rhs.minMemoryMapAlignment ) + && ( minTexelBufferOffsetAlignment == rhs.minTexelBufferOffsetAlignment ) + && ( minUniformBufferOffsetAlignment == rhs.minUniformBufferOffsetAlignment ) + && ( minStorageBufferOffsetAlignment == rhs.minStorageBufferOffsetAlignment ) + && ( minTexelOffset == rhs.minTexelOffset ) + && ( maxTexelOffset == rhs.maxTexelOffset ) + && ( minTexelGatherOffset == rhs.minTexelGatherOffset ) + && ( maxTexelGatherOffset == rhs.maxTexelGatherOffset ) + && ( minInterpolationOffset == rhs.minInterpolationOffset ) + && ( maxInterpolationOffset == rhs.maxInterpolationOffset ) + && ( subPixelInterpolationOffsetBits == rhs.subPixelInterpolationOffsetBits ) + && ( maxFramebufferWidth == rhs.maxFramebufferWidth ) + && ( maxFramebufferHeight == rhs.maxFramebufferHeight ) + && ( maxFramebufferLayers == rhs.maxFramebufferLayers ) + && ( framebufferColorSampleCounts == rhs.framebufferColorSampleCounts ) + && ( framebufferDepthSampleCounts == rhs.framebufferDepthSampleCounts ) + && ( framebufferStencilSampleCounts == rhs.framebufferStencilSampleCounts ) + && ( framebufferNoAttachmentsSampleCounts == rhs.framebufferNoAttachmentsSampleCounts ) + && ( maxColorAttachments == rhs.maxColorAttachments ) + && ( sampledImageColorSampleCounts == rhs.sampledImageColorSampleCounts ) + && ( sampledImageIntegerSampleCounts == rhs.sampledImageIntegerSampleCounts ) + && ( sampledImageDepthSampleCounts == rhs.sampledImageDepthSampleCounts ) + && ( sampledImageStencilSampleCounts == rhs.sampledImageStencilSampleCounts ) + && ( storageImageSampleCounts == rhs.storageImageSampleCounts ) + && ( maxSampleMaskWords == rhs.maxSampleMaskWords ) + && ( timestampComputeAndGraphics == rhs.timestampComputeAndGraphics ) + && ( timestampPeriod == rhs.timestampPeriod ) + && ( maxClipDistances == rhs.maxClipDistances ) + && ( maxCullDistances == rhs.maxCullDistances ) + && ( maxCombinedClipAndCullDistances == rhs.maxCombinedClipAndCullDistances ) + && ( discreteQueuePriorities == rhs.discreteQueuePriorities ) + && ( pointSizeRange == rhs.pointSizeRange ) + && ( lineWidthRange == rhs.lineWidthRange ) + && ( pointSizeGranularity == rhs.pointSizeGranularity ) + && ( lineWidthGranularity == rhs.lineWidthGranularity ) + && ( strictLines == rhs.strictLines ) + && ( standardSampleLocations == rhs.standardSampleLocations ) + && ( optimalBufferCopyOffsetAlignment == rhs.optimalBufferCopyOffsetAlignment ) + && ( optimalBufferCopyRowPitchAlignment == rhs.optimalBufferCopyRowPitchAlignment ) + && ( nonCoherentAtomSize == rhs.nonCoherentAtomSize ); + } + + bool operator!=( PhysicalDeviceLimits const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t maxImageDimension1D = {}; + uint32_t maxImageDimension2D = {}; + uint32_t maxImageDimension3D = {}; + uint32_t maxImageDimensionCube = {}; + uint32_t maxImageArrayLayers = {}; + uint32_t maxTexelBufferElements = {}; + uint32_t maxUniformBufferRange = {}; + uint32_t maxStorageBufferRange = {}; + uint32_t maxPushConstantsSize = {}; + uint32_t maxMemoryAllocationCount = {}; + uint32_t maxSamplerAllocationCount = {}; + VULKAN_HPP_NAMESPACE::DeviceSize bufferImageGranularity = {}; + VULKAN_HPP_NAMESPACE::DeviceSize sparseAddressSpaceSize = {}; + uint32_t maxBoundDescriptorSets = {}; + uint32_t maxPerStageDescriptorSamplers = {}; + uint32_t maxPerStageDescriptorUniformBuffers = {}; + uint32_t maxPerStageDescriptorStorageBuffers = {}; + uint32_t maxPerStageDescriptorSampledImages = {}; + uint32_t maxPerStageDescriptorStorageImages = {}; + uint32_t maxPerStageDescriptorInputAttachments = {}; + uint32_t maxPerStageResources = {}; + uint32_t maxDescriptorSetSamplers = {}; + uint32_t maxDescriptorSetUniformBuffers = {}; + uint32_t maxDescriptorSetUniformBuffersDynamic = {}; + uint32_t maxDescriptorSetStorageBuffers = {}; + uint32_t maxDescriptorSetStorageBuffersDynamic = {}; + uint32_t maxDescriptorSetSampledImages = {}; + uint32_t maxDescriptorSetStorageImages = {}; + uint32_t maxDescriptorSetInputAttachments = {}; + uint32_t maxVertexInputAttributes = {}; + uint32_t maxVertexInputBindings = {}; + uint32_t maxVertexInputAttributeOffset = {}; + uint32_t maxVertexInputBindingStride = {}; + uint32_t maxVertexOutputComponents = {}; + uint32_t maxTessellationGenerationLevel = {}; + uint32_t maxTessellationPatchSize = {}; + uint32_t maxTessellationControlPerVertexInputComponents = {}; + uint32_t maxTessellationControlPerVertexOutputComponents = {}; + uint32_t maxTessellationControlPerPatchOutputComponents = {}; + uint32_t maxTessellationControlTotalOutputComponents = {}; + uint32_t maxTessellationEvaluationInputComponents = {}; + uint32_t maxTessellationEvaluationOutputComponents = {}; + uint32_t maxGeometryShaderInvocations = {}; + uint32_t maxGeometryInputComponents = {}; + uint32_t maxGeometryOutputComponents = {}; + uint32_t maxGeometryOutputVertices = {}; + uint32_t maxGeometryTotalOutputComponents = {}; + uint32_t maxFragmentInputComponents = {}; + uint32_t maxFragmentOutputAttachments = {}; + uint32_t maxFragmentDualSrcAttachments = {}; + uint32_t maxFragmentCombinedOutputResources = {}; + uint32_t maxComputeSharedMemorySize = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxComputeWorkGroupCount = {}; + uint32_t maxComputeWorkGroupInvocations = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxComputeWorkGroupSize = {}; + uint32_t subPixelPrecisionBits = {}; + uint32_t subTexelPrecisionBits = {}; + uint32_t mipmapPrecisionBits = {}; + uint32_t maxDrawIndexedIndexValue = {}; + uint32_t maxDrawIndirectCount = {}; + float maxSamplerLodBias = {}; + float maxSamplerAnisotropy = {}; + uint32_t maxViewports = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxViewportDimensions = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D viewportBoundsRange = {}; + uint32_t viewportSubPixelBits = {}; + size_t minMemoryMapAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize minTexelBufferOffsetAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize minUniformBufferOffsetAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize minStorageBufferOffsetAlignment = {}; + int32_t minTexelOffset = {}; + uint32_t maxTexelOffset = {}; + int32_t minTexelGatherOffset = {}; + uint32_t maxTexelGatherOffset = {}; + float minInterpolationOffset = {}; + float maxInterpolationOffset = {}; + uint32_t subPixelInterpolationOffsetBits = {}; + uint32_t maxFramebufferWidth = {}; + uint32_t maxFramebufferHeight = {}; + uint32_t maxFramebufferLayers = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferColorSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferDepthSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferStencilSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferNoAttachmentsSampleCounts = {}; + uint32_t maxColorAttachments = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageColorSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageIntegerSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageDepthSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampledImageStencilSampleCounts = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags storageImageSampleCounts = {}; + uint32_t maxSampleMaskWords = {}; + VULKAN_HPP_NAMESPACE::Bool32 timestampComputeAndGraphics = {}; + float timestampPeriod = {}; + uint32_t maxClipDistances = {}; + uint32_t maxCullDistances = {}; + uint32_t maxCombinedClipAndCullDistances = {}; + uint32_t discreteQueuePriorities = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D pointSizeRange = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D lineWidthRange = {}; + float pointSizeGranularity = {}; + float lineWidthGranularity = {}; + VULKAN_HPP_NAMESPACE::Bool32 strictLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 standardSampleLocations = {}; + VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyOffsetAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize optimalBufferCopyRowPitchAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize nonCoherentAtomSize = {}; + + }; + static_assert( sizeof( PhysicalDeviceLimits ) == sizeof( VkPhysicalDeviceLimits ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceSparseProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseProperties(VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DBlockShape_ = {}, VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DMultisampleBlockShape_ = {}, VULKAN_HPP_NAMESPACE::Bool32 residencyStandard3DBlockShape_ = {}, VULKAN_HPP_NAMESPACE::Bool32 residencyAlignedMipSize_ = {}, VULKAN_HPP_NAMESPACE::Bool32 residencyNonResidentStrict_ = {}) VULKAN_HPP_NOEXCEPT + : residencyStandard2DBlockShape( residencyStandard2DBlockShape_ ), residencyStandard2DMultisampleBlockShape( residencyStandard2DMultisampleBlockShape_ ), residencyStandard3DBlockShape( residencyStandard3DBlockShape_ ), residencyAlignedMipSize( residencyAlignedMipSize_ ), residencyNonResidentStrict( residencyNonResidentStrict_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseProperties( PhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSparseProperties( VkPhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSparseProperties & operator=( VkPhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSparseProperties & operator=( PhysicalDeviceSparseProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSparseProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceSparseProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSparseProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSparseProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceSparseProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( residencyStandard2DBlockShape == rhs.residencyStandard2DBlockShape ) + && ( residencyStandard2DMultisampleBlockShape == rhs.residencyStandard2DMultisampleBlockShape ) + && ( residencyStandard3DBlockShape == rhs.residencyStandard3DBlockShape ) + && ( residencyAlignedMipSize == rhs.residencyAlignedMipSize ) + && ( residencyNonResidentStrict == rhs.residencyNonResidentStrict ); + } + + bool operator!=( PhysicalDeviceSparseProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DBlockShape = {}; + VULKAN_HPP_NAMESPACE::Bool32 residencyStandard2DMultisampleBlockShape = {}; + VULKAN_HPP_NAMESPACE::Bool32 residencyStandard3DBlockShape = {}; + VULKAN_HPP_NAMESPACE::Bool32 residencyAlignedMipSize = {}; + VULKAN_HPP_NAMESPACE::Bool32 residencyNonResidentStrict = {}; + + }; + static_assert( sizeof( PhysicalDeviceSparseProperties ) == sizeof( VkPhysicalDeviceSparseProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties(uint32_t apiVersion_ = {}, uint32_t driverVersion_ = {}, uint32_t vendorID_ = {}, uint32_t deviceID_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType_ = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther, std::array const& deviceName_ = {}, std::array const& pipelineCacheUUID_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties_ = {}) VULKAN_HPP_NOEXCEPT + : apiVersion( apiVersion_ ), driverVersion( driverVersion_ ), vendorID( vendorID_ ), deviceID( deviceID_ ), deviceType( deviceType_ ), deviceName( deviceName_ ), pipelineCacheUUID( pipelineCacheUUID_ ), limits( limits_ ), sparseProperties( sparseProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties( PhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceProperties( VkPhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceProperties & operator=( VkPhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceProperties & operator=( PhysicalDeviceProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( apiVersion == rhs.apiVersion ) + && ( driverVersion == rhs.driverVersion ) + && ( vendorID == rhs.vendorID ) + && ( deviceID == rhs.deviceID ) + && ( deviceType == rhs.deviceType ) + && ( deviceName == rhs.deviceName ) + && ( pipelineCacheUUID == rhs.pipelineCacheUUID ) + && ( limits == rhs.limits ) + && ( sparseProperties == rhs.sparseProperties ); + } + + bool operator!=( PhysicalDeviceProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t apiVersion = {}; + uint32_t driverVersion = {}; + uint32_t vendorID = {}; + uint32_t deviceID = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceName = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D pipelineCacheUUID = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties = {}; + + }; + static_assert( sizeof( PhysicalDeviceProperties ) == sizeof( VkPhysicalDeviceProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PhysicalDeviceProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2(VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties_ = {}) VULKAN_HPP_NOEXCEPT + : properties( properties_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2( PhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceProperties2( VkPhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceProperties2 & operator=( VkPhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceProperties2 & operator=( PhysicalDeviceProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceProperties2 ) ); + return *this; + } + + + operator VkPhysicalDeviceProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceProperties2 const& ) const = default; +#else + bool operator==( PhysicalDeviceProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( properties == rhs.properties ); + } + + bool operator!=( PhysicalDeviceProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties = {}; + + }; + static_assert( sizeof( PhysicalDeviceProperties2 ) == sizeof( VkPhysicalDeviceProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceProperties2; + }; + using PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2; + + struct QueryPoolPerformanceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueryPoolPerformanceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueryPoolPerformanceCreateInfoKHR(uint32_t queueFamilyIndex_ = {}, uint32_t counterIndexCount_ = {}, const uint32_t* pCounterIndices_ = {}) VULKAN_HPP_NOEXCEPT + : queueFamilyIndex( queueFamilyIndex_ ), counterIndexCount( counterIndexCount_ ), pCounterIndices( pCounterIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR QueryPoolPerformanceCreateInfoKHR( QueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueryPoolPerformanceCreateInfoKHR( VkQueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + QueryPoolPerformanceCreateInfoKHR( uint32_t queueFamilyIndex_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & counterIndices_ ) + : queueFamilyIndex( queueFamilyIndex_ ), counterIndexCount( static_cast( counterIndices_.size() ) ), pCounterIndices( counterIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueryPoolPerformanceCreateInfoKHR & operator=( VkQueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueryPoolPerformanceCreateInfoKHR & operator=( QueryPoolPerformanceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueryPoolPerformanceCreateInfoKHR ) ); + return *this; + } + + QueryPoolPerformanceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + QueryPoolPerformanceCreateInfoKHR & setQueueFamilyIndex( uint32_t queueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndex = queueFamilyIndex_; + return *this; + } + + QueryPoolPerformanceCreateInfoKHR & setCounterIndexCount( uint32_t counterIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + counterIndexCount = counterIndexCount_; + return *this; + } + + QueryPoolPerformanceCreateInfoKHR & setPCounterIndices( const uint32_t* pCounterIndices_ ) VULKAN_HPP_NOEXCEPT + { + pCounterIndices = pCounterIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + QueryPoolPerformanceCreateInfoKHR & setCounterIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & counterIndices_ ) VULKAN_HPP_NOEXCEPT + { + counterIndexCount = static_cast( counterIndices_.size() ); + pCounterIndices = counterIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkQueryPoolPerformanceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueryPoolPerformanceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueryPoolPerformanceCreateInfoKHR const& ) const = default; +#else + bool operator==( QueryPoolPerformanceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( queueFamilyIndex == rhs.queueFamilyIndex ) + && ( counterIndexCount == rhs.counterIndexCount ) + && ( pCounterIndices == rhs.pCounterIndices ); + } + + bool operator!=( QueryPoolPerformanceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolPerformanceCreateInfoKHR; + const void* pNext = {}; + uint32_t queueFamilyIndex = {}; + uint32_t counterIndexCount = {}; + const uint32_t* pCounterIndices = {}; + + }; + static_assert( sizeof( QueryPoolPerformanceCreateInfoKHR ) == sizeof( VkQueryPoolPerformanceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = QueryPoolPerformanceCreateInfoKHR; + }; + + struct QueueFamilyProperties + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueueFamilyProperties(VULKAN_HPP_NAMESPACE::QueueFlags queueFlags_ = {}, uint32_t queueCount_ = {}, uint32_t timestampValidBits_ = {}, VULKAN_HPP_NAMESPACE::Extent3D minImageTransferGranularity_ = {}) VULKAN_HPP_NOEXCEPT + : queueFlags( queueFlags_ ), queueCount( queueCount_ ), timestampValidBits( timestampValidBits_ ), minImageTransferGranularity( minImageTransferGranularity_ ) + {} + + VULKAN_HPP_CONSTEXPR QueueFamilyProperties( QueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueueFamilyProperties( VkQueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueueFamilyProperties & operator=( VkQueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueueFamilyProperties & operator=( QueueFamilyProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueueFamilyProperties ) ); + return *this; + } + + + operator VkQueueFamilyProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueueFamilyProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueueFamilyProperties const& ) const = default; +#else + bool operator==( QueueFamilyProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( queueFlags == rhs.queueFlags ) + && ( queueCount == rhs.queueCount ) + && ( timestampValidBits == rhs.timestampValidBits ) + && ( minImageTransferGranularity == rhs.minImageTransferGranularity ); + } + + bool operator!=( QueueFamilyProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::QueueFlags queueFlags = {}; + uint32_t queueCount = {}; + uint32_t timestampValidBits = {}; + VULKAN_HPP_NAMESPACE::Extent3D minImageTransferGranularity = {}; + + }; + static_assert( sizeof( QueueFamilyProperties ) == sizeof( VkQueueFamilyProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct QueueFamilyProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueueFamilyProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueueFamilyProperties2(VULKAN_HPP_NAMESPACE::QueueFamilyProperties queueFamilyProperties_ = {}) VULKAN_HPP_NOEXCEPT + : queueFamilyProperties( queueFamilyProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR QueueFamilyProperties2( QueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueueFamilyProperties2( VkQueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueueFamilyProperties2 & operator=( VkQueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueueFamilyProperties2 & operator=( QueueFamilyProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueueFamilyProperties2 ) ); + return *this; + } + + + operator VkQueueFamilyProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueueFamilyProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueueFamilyProperties2 const& ) const = default; +#else + bool operator==( QueueFamilyProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( queueFamilyProperties == rhs.queueFamilyProperties ); + } + + bool operator!=( QueueFamilyProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueueFamilyProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::QueueFamilyProperties queueFamilyProperties = {}; + + }; + static_assert( sizeof( QueueFamilyProperties2 ) == sizeof( VkQueueFamilyProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = QueueFamilyProperties2; + }; + using QueueFamilyProperties2KHR = QueueFamilyProperties2; + + struct PhysicalDeviceSparseImageFormatInfo2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSparseImageFormatInfo2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseImageFormatInfo2(VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::ImageType type_ = VULKAN_HPP_NAMESPACE::ImageType::e1D, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal) VULKAN_HPP_NOEXCEPT + : format( format_ ), type( type_ ), samples( samples_ ), usage( usage_ ), tiling( tiling_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSparseImageFormatInfo2( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSparseImageFormatInfo2( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSparseImageFormatInfo2 & operator=( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & operator=( PhysicalDeviceSparseImageFormatInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSparseImageFormatInfo2 ) ); + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setType( VULKAN_HPP_NAMESPACE::ImageType type_ ) VULKAN_HPP_NOEXCEPT + { + type = type_; + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT + { + samples = samples_; + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + PhysicalDeviceSparseImageFormatInfo2 & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT + { + tiling = tiling_; + return *this; + } + + + operator VkPhysicalDeviceSparseImageFormatInfo2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSparseImageFormatInfo2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSparseImageFormatInfo2 const& ) const = default; +#else + bool operator==( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( format == rhs.format ) + && ( type == rhs.type ) + && ( samples == rhs.samples ) + && ( usage == rhs.usage ) + && ( tiling == rhs.tiling ); + } + + bool operator!=( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSparseImageFormatInfo2; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::ImageType type = VULKAN_HPP_NAMESPACE::ImageType::e1D; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; + VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal; + + }; + static_assert( sizeof( PhysicalDeviceSparseImageFormatInfo2 ) == sizeof( VkPhysicalDeviceSparseImageFormatInfo2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSparseImageFormatInfo2; + }; + using PhysicalDeviceSparseImageFormatInfo2KHR = PhysicalDeviceSparseImageFormatInfo2; + + struct SparseImageFormatProperties2 + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSparseImageFormatProperties2; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SparseImageFormatProperties2(VULKAN_HPP_NAMESPACE::SparseImageFormatProperties properties_ = {}) VULKAN_HPP_NOEXCEPT + : properties( properties_ ) + {} + + VULKAN_HPP_CONSTEXPR SparseImageFormatProperties2( SparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SparseImageFormatProperties2( VkSparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SparseImageFormatProperties2 & operator=( VkSparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SparseImageFormatProperties2 & operator=( SparseImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SparseImageFormatProperties2 ) ); + return *this; + } + + + operator VkSparseImageFormatProperties2 const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSparseImageFormatProperties2 &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SparseImageFormatProperties2 const& ) const = default; +#else + bool operator==( SparseImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( properties == rhs.properties ); + } + + bool operator!=( SparseImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSparseImageFormatProperties2; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SparseImageFormatProperties properties = {}; + + }; + static_assert( sizeof( SparseImageFormatProperties2 ) == sizeof( VkSparseImageFormatProperties2 ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SparseImageFormatProperties2; + }; + using SparseImageFormatProperties2KHR = SparseImageFormatProperties2; + + struct FramebufferMixedSamplesCombinationNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferMixedSamplesCombinationNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FramebufferMixedSamplesCombinationNV(VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ = VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge, VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::SampleCountFlags depthStencilSamples_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags colorSamples_ = {}) VULKAN_HPP_NOEXCEPT + : coverageReductionMode( coverageReductionMode_ ), rasterizationSamples( rasterizationSamples_ ), depthStencilSamples( depthStencilSamples_ ), colorSamples( colorSamples_ ) + {} + + VULKAN_HPP_CONSTEXPR FramebufferMixedSamplesCombinationNV( FramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FramebufferMixedSamplesCombinationNV( VkFramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FramebufferMixedSamplesCombinationNV & operator=( VkFramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FramebufferMixedSamplesCombinationNV & operator=( FramebufferMixedSamplesCombinationNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FramebufferMixedSamplesCombinationNV ) ); + return *this; + } + + + operator VkFramebufferMixedSamplesCombinationNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFramebufferMixedSamplesCombinationNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FramebufferMixedSamplesCombinationNV const& ) const = default; +#else + bool operator==( FramebufferMixedSamplesCombinationNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( coverageReductionMode == rhs.coverageReductionMode ) + && ( rasterizationSamples == rhs.rasterizationSamples ) + && ( depthStencilSamples == rhs.depthStencilSamples ) + && ( colorSamples == rhs.colorSamples ); + } + + bool operator!=( FramebufferMixedSamplesCombinationNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferMixedSamplesCombinationNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode = VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits rasterizationSamples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::SampleCountFlags depthStencilSamples = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags colorSamples = {}; + + }; + static_assert( sizeof( FramebufferMixedSamplesCombinationNV ) == sizeof( VkFramebufferMixedSamplesCombinationNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FramebufferMixedSamplesCombinationNV; + }; + + struct SurfaceCapabilities2EXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceCapabilities2EXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceCapabilities2EXT(uint32_t minImageCount_ = {}, uint32_t maxImageCount_ = {}, VULKAN_HPP_NAMESPACE::Extent2D currentExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D minImageExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent_ = {}, uint32_t maxImageArrayLayers_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha_ = {}, VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags_ = {}, VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT supportedSurfaceCounters_ = {}) VULKAN_HPP_NOEXCEPT + : minImageCount( minImageCount_ ), maxImageCount( maxImageCount_ ), currentExtent( currentExtent_ ), minImageExtent( minImageExtent_ ), maxImageExtent( maxImageExtent_ ), maxImageArrayLayers( maxImageArrayLayers_ ), supportedTransforms( supportedTransforms_ ), currentTransform( currentTransform_ ), supportedCompositeAlpha( supportedCompositeAlpha_ ), supportedUsageFlags( supportedUsageFlags_ ), supportedSurfaceCounters( supportedSurfaceCounters_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceCapabilities2EXT( SurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceCapabilities2EXT( VkSurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceCapabilities2EXT & operator=( VkSurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceCapabilities2EXT & operator=( SurfaceCapabilities2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceCapabilities2EXT ) ); + return *this; + } + + + operator VkSurfaceCapabilities2EXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceCapabilities2EXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceCapabilities2EXT const& ) const = default; +#else + bool operator==( SurfaceCapabilities2EXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minImageCount == rhs.minImageCount ) + && ( maxImageCount == rhs.maxImageCount ) + && ( currentExtent == rhs.currentExtent ) + && ( minImageExtent == rhs.minImageExtent ) + && ( maxImageExtent == rhs.maxImageExtent ) + && ( maxImageArrayLayers == rhs.maxImageArrayLayers ) + && ( supportedTransforms == rhs.supportedTransforms ) + && ( currentTransform == rhs.currentTransform ) + && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha ) + && ( supportedUsageFlags == rhs.supportedUsageFlags ) + && ( supportedSurfaceCounters == rhs.supportedSurfaceCounters ); + } + + bool operator!=( SurfaceCapabilities2EXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilities2EXT; + void* pNext = {}; + uint32_t minImageCount = {}; + uint32_t maxImageCount = {}; + VULKAN_HPP_NAMESPACE::Extent2D currentExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D minImageExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent = {}; + uint32_t maxImageArrayLayers = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags = {}; + VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT supportedSurfaceCounters = {}; + + }; + static_assert( sizeof( SurfaceCapabilities2EXT ) == sizeof( VkSurfaceCapabilities2EXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceCapabilities2EXT; + }; + + struct SurfaceCapabilitiesKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesKHR(uint32_t minImageCount_ = {}, uint32_t maxImageCount_ = {}, VULKAN_HPP_NAMESPACE::Extent2D currentExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D minImageExtent_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent_ = {}, uint32_t maxImageArrayLayers_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha_ = {}, VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags_ = {}) VULKAN_HPP_NOEXCEPT + : minImageCount( minImageCount_ ), maxImageCount( maxImageCount_ ), currentExtent( currentExtent_ ), minImageExtent( minImageExtent_ ), maxImageExtent( maxImageExtent_ ), maxImageArrayLayers( maxImageArrayLayers_ ), supportedTransforms( supportedTransforms_ ), currentTransform( currentTransform_ ), supportedCompositeAlpha( supportedCompositeAlpha_ ), supportedUsageFlags( supportedUsageFlags_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesKHR( SurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceCapabilitiesKHR( VkSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceCapabilitiesKHR & operator=( VkSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceCapabilitiesKHR & operator=( SurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceCapabilitiesKHR ) ); + return *this; + } + + + operator VkSurfaceCapabilitiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceCapabilitiesKHR const& ) const = default; +#else + bool operator==( SurfaceCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( minImageCount == rhs.minImageCount ) + && ( maxImageCount == rhs.maxImageCount ) + && ( currentExtent == rhs.currentExtent ) + && ( minImageExtent == rhs.minImageExtent ) + && ( maxImageExtent == rhs.maxImageExtent ) + && ( maxImageArrayLayers == rhs.maxImageArrayLayers ) + && ( supportedTransforms == rhs.supportedTransforms ) + && ( currentTransform == rhs.currentTransform ) + && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha ) + && ( supportedUsageFlags == rhs.supportedUsageFlags ); + } + + bool operator!=( SurfaceCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t minImageCount = {}; + uint32_t maxImageCount = {}; + VULKAN_HPP_NAMESPACE::Extent2D currentExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D minImageExtent = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxImageExtent = {}; + uint32_t maxImageArrayLayers = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagsKHR supportedTransforms = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR currentTransform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + VULKAN_HPP_NAMESPACE::CompositeAlphaFlagsKHR supportedCompositeAlpha = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags supportedUsageFlags = {}; + + }; + static_assert( sizeof( SurfaceCapabilitiesKHR ) == sizeof( VkSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SurfaceCapabilities2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceCapabilities2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceCapabilities2KHR(VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities_ = {}) VULKAN_HPP_NOEXCEPT + : surfaceCapabilities( surfaceCapabilities_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceCapabilities2KHR( SurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceCapabilities2KHR( VkSurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceCapabilities2KHR & operator=( VkSurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceCapabilities2KHR & operator=( SurfaceCapabilities2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceCapabilities2KHR ) ); + return *this; + } + + + operator VkSurfaceCapabilities2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceCapabilities2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceCapabilities2KHR const& ) const = default; +#else + bool operator==( SurfaceCapabilities2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( surfaceCapabilities == rhs.surfaceCapabilities ); + } + + bool operator!=( SurfaceCapabilities2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilities2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities = {}; + + }; + static_assert( sizeof( SurfaceCapabilities2KHR ) == sizeof( VkSurfaceCapabilities2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceCapabilities2KHR; + }; + + struct SurfaceFormatKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceFormatKHR(VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined, VULKAN_HPP_NAMESPACE::ColorSpaceKHR colorSpace_ = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear) VULKAN_HPP_NOEXCEPT + : format( format_ ), colorSpace( colorSpace_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceFormatKHR( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceFormatKHR( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceFormatKHR & operator=( VkSurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceFormatKHR & operator=( SurfaceFormatKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceFormatKHR ) ); + return *this; + } + + + operator VkSurfaceFormatKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceFormatKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceFormatKHR const& ) const = default; +#else + bool operator==( SurfaceFormatKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( format == rhs.format ) + && ( colorSpace == rhs.colorSpace ); + } + + bool operator!=( SurfaceFormatKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + VULKAN_HPP_NAMESPACE::ColorSpaceKHR colorSpace = VULKAN_HPP_NAMESPACE::ColorSpaceKHR::eSrgbNonlinear; + + }; + static_assert( sizeof( SurfaceFormatKHR ) == sizeof( VkSurfaceFormatKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SurfaceFormat2KHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceFormat2KHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR(VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat_ = {}) VULKAN_HPP_NOEXCEPT + : surfaceFormat( surfaceFormat_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR( SurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceFormat2KHR( VkSurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceFormat2KHR & operator=( VkSurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceFormat2KHR & operator=( SurfaceFormat2KHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceFormat2KHR ) ); + return *this; + } + + + operator VkSurfaceFormat2KHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceFormat2KHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceFormat2KHR const& ) const = default; +#else + bool operator==( SurfaceFormat2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( surfaceFormat == rhs.surfaceFormat ); + } + + bool operator!=( SurfaceFormat2KHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFormat2KHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat = {}; + + }; + static_assert( sizeof( SurfaceFormat2KHR ) == sizeof( VkSurfaceFormat2KHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceFormat2KHR; + }; + + struct PhysicalDeviceToolPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceToolPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceToolPropertiesEXT(std::array const& name_ = {}, std::array const& version_ = {}, VULKAN_HPP_NAMESPACE::ToolPurposeFlagsEXT purposes_ = {}, std::array const& description_ = {}, std::array const& layer_ = {}) VULKAN_HPP_NOEXCEPT + : name( name_ ), version( version_ ), purposes( purposes_ ), description( description_ ), layer( layer_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceToolPropertiesEXT( PhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceToolPropertiesEXT( VkPhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceToolPropertiesEXT & operator=( VkPhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceToolPropertiesEXT & operator=( PhysicalDeviceToolPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceToolPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceToolPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceToolPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceToolPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceToolPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( name == rhs.name ) + && ( version == rhs.version ) + && ( purposes == rhs.purposes ) + && ( description == rhs.description ) + && ( layer == rhs.layer ); + } + + bool operator!=( PhysicalDeviceToolPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceToolPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D name = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D version = {}; + VULKAN_HPP_NAMESPACE::ToolPurposeFlagsEXT purposes = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D description = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D layer = {}; + + }; + static_assert( sizeof( PhysicalDeviceToolPropertiesEXT ) == sizeof( VkPhysicalDeviceToolPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceToolPropertiesEXT; + }; + +#ifndef VULKAN_HPP_NO_SMART_HANDLE + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDevice = UniqueHandle; +#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ + + class PhysicalDevice + { + public: + using CType = VkPhysicalDevice; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::ePhysicalDevice; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::ePhysicalDevice; + + public: + VULKAN_HPP_CONSTEXPR PhysicalDevice() VULKAN_HPP_NOEXCEPT + : m_physicalDevice(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevice( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_physicalDevice(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT PhysicalDevice( VkPhysicalDevice physicalDevice ) VULKAN_HPP_NOEXCEPT + : m_physicalDevice( physicalDevice ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + PhysicalDevice & operator=(VkPhysicalDevice physicalDevice) VULKAN_HPP_NOEXCEPT + { + m_physicalDevice = physicalDevice; + return *this; + } +#endif + + PhysicalDevice & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_physicalDevice = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevice const& ) const = default; +#else + bool operator==( PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice == rhs.m_physicalDevice; + } + + bool operator!=(PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice != rhs.m_physicalDevice; + } + + bool operator<(PhysicalDevice const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice < rhs.m_physicalDevice; + } +#endif + + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + template + VULKAN_HPP_NODISCARD Result acquireXlibDisplayEXT( Display* dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireXlibDisplayEXT( Display & dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + + + template + VULKAN_HPP_NODISCARD Result createDevice( const VULKAN_HPP_NAMESPACE::DeviceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Device* pDevice, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDevice( const DeviceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDeviceUnique( const DeviceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayModeCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DisplayModeKHR* pMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDisplayModeKHRUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::ExtensionProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceExtensionProperties( Optional layerName VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = ExtensionPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator & extensionPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateDeviceLayerProperties( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::LayerProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = LayerPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, uint32_t* pCounterCount, VULKAN_HPP_NAMESPACE::PerformanceCounterKHR* pCounters, VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR* pCounterDescriptions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, ArrayProxy const &counters, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, ArrayProxy const &counters, Allocator const& vectorAllocator, Dispatch const &d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename PerformanceCounterDescriptionKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename PerformanceCounterDescriptionKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B1 = PerformanceCounterKHRAllocator, typename B2 = PerformanceCounterDescriptionKHRAllocator, typename std::enable_if::value && std::is_same::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, PerformanceCounterKHRAllocator & performanceCounterKHRAllocator, PerformanceCounterDescriptionKHRAllocator & performanceCounterDescriptionKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayModeProperties2KHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayModeProperties2KHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, DisplayModeProperties2KHRAllocator & displayModeProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayModePropertiesKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, DisplayModePropertiesKHRAllocator & displayModePropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilities2KHR( const VULKAN_HPP_NAMESPACE::DisplayPlaneInfo2KHR* pDisplayPlaneInfo, VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR* pCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, uint32_t planeIndex, VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, uint32_t planeIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, VULKAN_HPP_NAMESPACE::DisplayKHR* pDisplays, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, DisplayKHRAllocator & displayKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getCalibrateableTimeDomainsEXT( uint32_t* pTimeDomainCount, VULKAN_HPP_NAMESPACE::TimeDomainEXT* pTimeDomains, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = TimeDomainEXTAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsEXT( TimeDomainEXTAllocator & timeDomainEXTAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getCooperativeMatrixPropertiesNV( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::CooperativeMatrixPropertiesNV* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = CooperativeMatrixPropertiesNVAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNVAllocator & cooperativeMatrixPropertiesNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + template + Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB* dfb, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPlaneProperties2KHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPlaneProperties2KHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayPlaneProperties2KHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneProperties2KHR( DisplayPlaneProperties2KHRAllocator & displayPlaneProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlanePropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayPlanePropertiesKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlanePropertiesKHR( DisplayPlanePropertiesKHRAllocator & displayPlanePropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayProperties2KHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayProperties2KHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayProperties2KHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayProperties2KHR( DisplayProperties2KHRAllocator & displayProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getDisplayPropertiesKHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = DisplayPropertiesKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator & displayPropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getExternalBufferProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VULKAN_HPP_NAMESPACE::ExternalBufferProperties* pExternalBufferProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalBufferProperties getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getExternalBufferPropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VULKAN_HPP_NAMESPACE::ExternalBufferProperties* pExternalBufferProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalBufferProperties getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getExternalFenceProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VULKAN_HPP_NAMESPACE::ExternalFenceProperties* pExternalFenceProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalFenceProperties getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getExternalFencePropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VULKAN_HPP_NAMESPACE::ExternalFenceProperties* pExternalFenceProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalFenceProperties getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getExternalImageFormatPropertiesNV( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getExternalImageFormatPropertiesNV( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getExternalSemaphoreProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getExternalSemaphorePropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures getFeatures( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getFeatures2( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2* pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getFeatures2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2* pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties* pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties2* pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties2 getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties2* pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::FormatProperties2 getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getFragmentShadingRatesKHR( uint32_t* pFragmentShadingRateCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getFragmentShadingRatesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PhysicalDeviceFragmentShadingRateKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getFragmentShadingRatesKHR( PhysicalDeviceFragmentShadingRateKHRAllocator & physicalDeviceFragmentShadingRateKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, VULKAN_HPP_NAMESPACE::ImageFormatProperties* pImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getImageFormatProperties2( const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2* pImageFormatInfo, VULKAN_HPP_NAMESPACE::ImageFormatProperties2* pImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result getImageFormatProperties2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2* pImageFormatInfo, VULKAN_HPP_NAMESPACE::ImageFormatProperties2* pImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getMemoryProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties getMemoryProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getMemoryProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getMemoryProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pRectCount, VULKAN_HPP_NAMESPACE::Rect2D* pRects, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = Rect2DAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Rect2DAllocator & rect2DAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties getProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; + template + VULKAN_HPP_NODISCARD StructureChain getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getQueueFamilyPerformanceQueryPassesKHR( const VULKAN_HPP_NAMESPACE::QueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo, uint32_t* pNumPasses, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD uint32_t getQueueFamilyPerformanceQueryPassesKHR( const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties* pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = QueueFamilyPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties( QueueFamilyPropertiesAllocator & queueFamilyPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = QueueFamilyProperties2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = StructureChainAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( StructureChainAllocator & structureChainAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = QueueFamilyProperties2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = StructureChainAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( StructureChainAllocator & structureChainAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageFormatPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, SparseImageFormatPropertiesAllocator & sparseImageFormatPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void getSparseImageFormatProperties2( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageFormatProperties2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + void getSparseImageFormatProperties2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SparseImageFormatProperties2Allocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSupportedFramebufferMixedSamplesCombinationsNV( uint32_t* pCombinationCount, VULKAN_HPP_NAMESPACE::FramebufferMixedSamplesCombinationNV* pCombinations, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSupportedFramebufferMixedSamplesCombinationsNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = FramebufferMixedSamplesCombinationNVAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSupportedFramebufferMixedSamplesCombinationsNV( FramebufferMixedSamplesCombinationNVAllocator & framebufferMixedSamplesCombinationNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType>::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR* pSurfaceFormats, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SurfaceFormat2KHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, SurfaceFormat2KHRAllocator & surfaceFormat2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pSurfaceFormatCount, VULKAN_HPP_NAMESPACE::SurfaceFormatKHR* pSurfaceFormats, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = SurfaceFormatKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, SurfaceFormatKHRAllocator & surfaceFormatKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result getSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pPresentModeCount, VULKAN_HPP_NAMESPACE::PresentModeKHR* pPresentModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PresentModeKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, PresentModeKHRAllocator & presentModeKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pPresentModeCount, VULKAN_HPP_NAMESPACE::PresentModeKHR* pPresentModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PresentModeKHRAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, PresentModeKHRAllocator & presentModeKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getSurfaceSupportKHR( uint32_t queueFamilyIndex, VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::Bool32* pSupported, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getSurfaceSupportKHR( uint32_t queueFamilyIndex, VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result getToolPropertiesEXT( uint32_t* pToolCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceToolPropertiesEXT* pToolProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolPropertiesEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PhysicalDeviceToolPropertiesEXTAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolPropertiesEXT( PhysicalDeviceToolPropertiesEXTAllocator & physicalDeviceToolPropertiesEXTAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + template + Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_XCB_KHR + template + Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_KHR + template + Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + template + VULKAN_HPP_NODISCARD Result getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, VULKAN_HPP_NAMESPACE::DisplayKHR* pDisplay, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type getRandROutputDisplayEXTUnique( Display & dpy, RROutput rrOutput, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + Result releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#else + template + typename ResultValueType::type releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPhysicalDevice() const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_physicalDevice == VK_NULL_HANDLE; + } + + private: + VkPhysicalDevice m_physicalDevice; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDevice ) == sizeof( VkPhysicalDevice ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::PhysicalDevice; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + struct DeviceGroupDeviceCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupDeviceCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupDeviceCreateInfo(uint32_t physicalDeviceCount_ = {}, const VULKAN_HPP_NAMESPACE::PhysicalDevice* pPhysicalDevices_ = {}) VULKAN_HPP_NOEXCEPT + : physicalDeviceCount( physicalDeviceCount_ ), pPhysicalDevices( pPhysicalDevices_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupDeviceCreateInfo( DeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupDeviceCreateInfo( VkDeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupDeviceCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & physicalDevices_ ) + : physicalDeviceCount( static_cast( physicalDevices_.size() ) ), pPhysicalDevices( physicalDevices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupDeviceCreateInfo & operator=( VkDeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupDeviceCreateInfo & operator=( DeviceGroupDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupDeviceCreateInfo ) ); + return *this; + } + + DeviceGroupDeviceCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupDeviceCreateInfo & setPhysicalDeviceCount( uint32_t physicalDeviceCount_ ) VULKAN_HPP_NOEXCEPT + { + physicalDeviceCount = physicalDeviceCount_; + return *this; + } + + DeviceGroupDeviceCreateInfo & setPPhysicalDevices( const VULKAN_HPP_NAMESPACE::PhysicalDevice* pPhysicalDevices_ ) VULKAN_HPP_NOEXCEPT + { + pPhysicalDevices = pPhysicalDevices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupDeviceCreateInfo & setPhysicalDevices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & physicalDevices_ ) VULKAN_HPP_NOEXCEPT + { + physicalDeviceCount = static_cast( physicalDevices_.size() ); + pPhysicalDevices = physicalDevices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDeviceGroupDeviceCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupDeviceCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupDeviceCreateInfo const& ) const = default; +#else + bool operator==( DeviceGroupDeviceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( physicalDeviceCount == rhs.physicalDeviceCount ) + && ( pPhysicalDevices == rhs.pPhysicalDevices ); + } + + bool operator!=( DeviceGroupDeviceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupDeviceCreateInfo; + const void* pNext = {}; + uint32_t physicalDeviceCount = {}; + const VULKAN_HPP_NAMESPACE::PhysicalDevice* pPhysicalDevices = {}; + + }; + static_assert( sizeof( DeviceGroupDeviceCreateInfo ) == sizeof( VkDeviceGroupDeviceCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupDeviceCreateInfo; + }; + using DeviceGroupDeviceCreateInfoKHR = DeviceGroupDeviceCreateInfo; + + struct DeviceGroupPresentInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupPresentInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupPresentInfoKHR(uint32_t swapchainCount_ = {}, const uint32_t* pDeviceMasks_ = {}, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal) VULKAN_HPP_NOEXCEPT + : swapchainCount( swapchainCount_ ), pDeviceMasks( pDeviceMasks_ ), mode( mode_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupPresentInfoKHR( DeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupPresentInfoKHR( VkDeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupPresentInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceMasks_, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal ) + : swapchainCount( static_cast( deviceMasks_.size() ) ), pDeviceMasks( deviceMasks_.data() ), mode( mode_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupPresentInfoKHR & operator=( VkDeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupPresentInfoKHR & operator=( DeviceGroupPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupPresentInfoKHR ) ); + return *this; + } + + DeviceGroupPresentInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupPresentInfoKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = swapchainCount_; + return *this; + } + + DeviceGroupPresentInfoKHR & setPDeviceMasks( const uint32_t* pDeviceMasks_ ) VULKAN_HPP_NOEXCEPT + { + pDeviceMasks = pDeviceMasks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupPresentInfoKHR & setDeviceMasks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceMasks_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( deviceMasks_.size() ); + pDeviceMasks = deviceMasks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceGroupPresentInfoKHR & setMode( VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_ ) VULKAN_HPP_NOEXCEPT + { + mode = mode_; + return *this; + } + + + operator VkDeviceGroupPresentInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupPresentInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupPresentInfoKHR const& ) const = default; +#else + bool operator==( DeviceGroupPresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchainCount == rhs.swapchainCount ) + && ( pDeviceMasks == rhs.pDeviceMasks ) + && ( mode == rhs.mode ); + } + + bool operator!=( DeviceGroupPresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupPresentInfoKHR; + const void* pNext = {}; + uint32_t swapchainCount = {}; + const uint32_t* pDeviceMasks = {}; + VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal; + + }; + static_assert( sizeof( DeviceGroupPresentInfoKHR ) == sizeof( VkDeviceGroupPresentInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupPresentInfoKHR; + }; + + struct DeviceGroupRenderPassBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupRenderPassBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupRenderPassBeginInfo(uint32_t deviceMask_ = {}, uint32_t deviceRenderAreaCount_ = {}, const VULKAN_HPP_NAMESPACE::Rect2D* pDeviceRenderAreas_ = {}) VULKAN_HPP_NOEXCEPT + : deviceMask( deviceMask_ ), deviceRenderAreaCount( deviceRenderAreaCount_ ), pDeviceRenderAreas( pDeviceRenderAreas_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupRenderPassBeginInfo( DeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupRenderPassBeginInfo( VkDeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupRenderPassBeginInfo( uint32_t deviceMask_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceRenderAreas_ ) + : deviceMask( deviceMask_ ), deviceRenderAreaCount( static_cast( deviceRenderAreas_.size() ) ), pDeviceRenderAreas( deviceRenderAreas_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupRenderPassBeginInfo & operator=( VkDeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupRenderPassBeginInfo & operator=( DeviceGroupRenderPassBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) ); + return *this; + } + + DeviceGroupRenderPassBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupRenderPassBeginInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT + { + deviceMask = deviceMask_; + return *this; + } + + DeviceGroupRenderPassBeginInfo & setDeviceRenderAreaCount( uint32_t deviceRenderAreaCount_ ) VULKAN_HPP_NOEXCEPT + { + deviceRenderAreaCount = deviceRenderAreaCount_; + return *this; + } + + DeviceGroupRenderPassBeginInfo & setPDeviceRenderAreas( const VULKAN_HPP_NAMESPACE::Rect2D* pDeviceRenderAreas_ ) VULKAN_HPP_NOEXCEPT + { + pDeviceRenderAreas = pDeviceRenderAreas_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupRenderPassBeginInfo & setDeviceRenderAreas( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & deviceRenderAreas_ ) VULKAN_HPP_NOEXCEPT + { + deviceRenderAreaCount = static_cast( deviceRenderAreas_.size() ); + pDeviceRenderAreas = deviceRenderAreas_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDeviceGroupRenderPassBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupRenderPassBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupRenderPassBeginInfo const& ) const = default; +#else + bool operator==( DeviceGroupRenderPassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceMask == rhs.deviceMask ) + && ( deviceRenderAreaCount == rhs.deviceRenderAreaCount ) + && ( pDeviceRenderAreas == rhs.pDeviceRenderAreas ); + } + + bool operator!=( DeviceGroupRenderPassBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupRenderPassBeginInfo; + const void* pNext = {}; + uint32_t deviceMask = {}; + uint32_t deviceRenderAreaCount = {}; + const VULKAN_HPP_NAMESPACE::Rect2D* pDeviceRenderAreas = {}; + + }; + static_assert( sizeof( DeviceGroupRenderPassBeginInfo ) == sizeof( VkDeviceGroupRenderPassBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupRenderPassBeginInfo; + }; + using DeviceGroupRenderPassBeginInfoKHR = DeviceGroupRenderPassBeginInfo; + + struct DeviceGroupSubmitInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupSubmitInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupSubmitInfo(uint32_t waitSemaphoreCount_ = {}, const uint32_t* pWaitSemaphoreDeviceIndices_ = {}, uint32_t commandBufferCount_ = {}, const uint32_t* pCommandBufferDeviceMasks_ = {}, uint32_t signalSemaphoreCount_ = {}, const uint32_t* pSignalSemaphoreDeviceIndices_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreCount( waitSemaphoreCount_ ), pWaitSemaphoreDeviceIndices( pWaitSemaphoreDeviceIndices_ ), commandBufferCount( commandBufferCount_ ), pCommandBufferDeviceMasks( pCommandBufferDeviceMasks_ ), signalSemaphoreCount( signalSemaphoreCount_ ), pSignalSemaphoreDeviceIndices( pSignalSemaphoreDeviceIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupSubmitInfo( DeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupSubmitInfo( VkDeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupSubmitInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreDeviceIndices_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBufferDeviceMasks_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreDeviceIndices_ = {} ) + : waitSemaphoreCount( static_cast( waitSemaphoreDeviceIndices_.size() ) ), pWaitSemaphoreDeviceIndices( waitSemaphoreDeviceIndices_.data() ), commandBufferCount( static_cast( commandBufferDeviceMasks_.size() ) ), pCommandBufferDeviceMasks( commandBufferDeviceMasks_.data() ), signalSemaphoreCount( static_cast( signalSemaphoreDeviceIndices_.size() ) ), pSignalSemaphoreDeviceIndices( signalSemaphoreDeviceIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupSubmitInfo & operator=( VkDeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupSubmitInfo & operator=( DeviceGroupSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupSubmitInfo ) ); + return *this; + } + + DeviceGroupSubmitInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupSubmitInfo & setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = waitSemaphoreCount_; + return *this; + } + + DeviceGroupSubmitInfo & setPWaitSemaphoreDeviceIndices( const uint32_t* pWaitSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupSubmitInfo & setWaitSemaphoreDeviceIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreCount = static_cast( waitSemaphoreDeviceIndices_.size() ); + pWaitSemaphoreDeviceIndices = waitSemaphoreDeviceIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceGroupSubmitInfo & setCommandBufferCount( uint32_t commandBufferCount_ ) VULKAN_HPP_NOEXCEPT + { + commandBufferCount = commandBufferCount_; + return *this; + } + + DeviceGroupSubmitInfo & setPCommandBufferDeviceMasks( const uint32_t* pCommandBufferDeviceMasks_ ) VULKAN_HPP_NOEXCEPT + { + pCommandBufferDeviceMasks = pCommandBufferDeviceMasks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupSubmitInfo & setCommandBufferDeviceMasks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & commandBufferDeviceMasks_ ) VULKAN_HPP_NOEXCEPT + { + commandBufferCount = static_cast( commandBufferDeviceMasks_.size() ); + pCommandBufferDeviceMasks = commandBufferDeviceMasks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + DeviceGroupSubmitInfo & setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = signalSemaphoreCount_; + return *this; + } + + DeviceGroupSubmitInfo & setPSignalSemaphoreDeviceIndices( const uint32_t* pSignalSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DeviceGroupSubmitInfo & setSignalSemaphoreDeviceIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreDeviceIndices_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreCount = static_cast( signalSemaphoreDeviceIndices_.size() ); + pSignalSemaphoreDeviceIndices = signalSemaphoreDeviceIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkDeviceGroupSubmitInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupSubmitInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupSubmitInfo const& ) const = default; +#else + bool operator==( DeviceGroupSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreCount == rhs.waitSemaphoreCount ) + && ( pWaitSemaphoreDeviceIndices == rhs.pWaitSemaphoreDeviceIndices ) + && ( commandBufferCount == rhs.commandBufferCount ) + && ( pCommandBufferDeviceMasks == rhs.pCommandBufferDeviceMasks ) + && ( signalSemaphoreCount == rhs.signalSemaphoreCount ) + && ( pSignalSemaphoreDeviceIndices == rhs.pSignalSemaphoreDeviceIndices ); + } + + bool operator!=( DeviceGroupSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupSubmitInfo; + const void* pNext = {}; + uint32_t waitSemaphoreCount = {}; + const uint32_t* pWaitSemaphoreDeviceIndices = {}; + uint32_t commandBufferCount = {}; + const uint32_t* pCommandBufferDeviceMasks = {}; + uint32_t signalSemaphoreCount = {}; + const uint32_t* pSignalSemaphoreDeviceIndices = {}; + + }; + static_assert( sizeof( DeviceGroupSubmitInfo ) == sizeof( VkDeviceGroupSubmitInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupSubmitInfo; + }; + using DeviceGroupSubmitInfoKHR = DeviceGroupSubmitInfo; + + struct DeviceGroupSwapchainCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceGroupSwapchainCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceGroupSwapchainCreateInfoKHR(VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ = {}) VULKAN_HPP_NOEXCEPT + : modes( modes_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceGroupSwapchainCreateInfoKHR( DeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceGroupSwapchainCreateInfoKHR( VkDeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceGroupSwapchainCreateInfoKHR & operator=( VkDeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceGroupSwapchainCreateInfoKHR & operator=( DeviceGroupSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceGroupSwapchainCreateInfoKHR ) ); + return *this; + } + + DeviceGroupSwapchainCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceGroupSwapchainCreateInfoKHR & setModes( VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes_ ) VULKAN_HPP_NOEXCEPT + { + modes = modes_; + return *this; + } + + + operator VkDeviceGroupSwapchainCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceGroupSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceGroupSwapchainCreateInfoKHR const& ) const = default; +#else + bool operator==( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( modes == rhs.modes ); + } + + bool operator!=( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupSwapchainCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes = {}; + + }; + static_assert( sizeof( DeviceGroupSwapchainCreateInfoKHR ) == sizeof( VkDeviceGroupSwapchainCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceGroupSwapchainCreateInfoKHR; + }; + + struct DeviceMemoryOverallocationCreateInfoAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceMemoryOverallocationCreateInfoAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceMemoryOverallocationCreateInfoAMD(VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior_ = VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD::eDefault) VULKAN_HPP_NOEXCEPT + : overallocationBehavior( overallocationBehavior_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceMemoryOverallocationCreateInfoAMD( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceMemoryOverallocationCreateInfoAMD( VkDeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceMemoryOverallocationCreateInfoAMD & operator=( VkDeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceMemoryOverallocationCreateInfoAMD & operator=( DeviceMemoryOverallocationCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceMemoryOverallocationCreateInfoAMD ) ); + return *this; + } + + DeviceMemoryOverallocationCreateInfoAMD & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceMemoryOverallocationCreateInfoAMD & setOverallocationBehavior( VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior_ ) VULKAN_HPP_NOEXCEPT + { + overallocationBehavior = overallocationBehavior_; + return *this; + } + + + operator VkDeviceMemoryOverallocationCreateInfoAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceMemoryOverallocationCreateInfoAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceMemoryOverallocationCreateInfoAMD const& ) const = default; +#else + bool operator==( DeviceMemoryOverallocationCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( overallocationBehavior == rhs.overallocationBehavior ); + } + + bool operator!=( DeviceMemoryOverallocationCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryOverallocationCreateInfoAMD; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD overallocationBehavior = VULKAN_HPP_NAMESPACE::MemoryOverallocationBehaviorAMD::eDefault; + + }; + static_assert( sizeof( DeviceMemoryOverallocationCreateInfoAMD ) == sizeof( VkDeviceMemoryOverallocationCreateInfoAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceMemoryOverallocationCreateInfoAMD; + }; + + struct DeviceMemoryReportCallbackDataEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceMemoryReportCallbackDataEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceMemoryReportCallbackDataEXT(VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags_ = {}, VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT type_ = VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT::eAllocate, uint64_t memoryObjectId_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize size_ = {}, VULKAN_HPP_NAMESPACE::ObjectType objectType_ = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown, uint64_t objectHandle_ = {}, uint32_t heapIndex_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), type( type_ ), memoryObjectId( memoryObjectId_ ), size( size_ ), objectType( objectType_ ), objectHandle( objectHandle_ ), heapIndex( heapIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceMemoryReportCallbackDataEXT( DeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceMemoryReportCallbackDataEXT( VkDeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceMemoryReportCallbackDataEXT & operator=( VkDeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceMemoryReportCallbackDataEXT & operator=( DeviceMemoryReportCallbackDataEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceMemoryReportCallbackDataEXT ) ); + return *this; + } + + + operator VkDeviceMemoryReportCallbackDataEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceMemoryReportCallbackDataEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceMemoryReportCallbackDataEXT const& ) const = default; +#else + bool operator==( DeviceMemoryReportCallbackDataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( type == rhs.type ) + && ( memoryObjectId == rhs.memoryObjectId ) + && ( size == rhs.size ) + && ( objectType == rhs.objectType ) + && ( objectHandle == rhs.objectHandle ) + && ( heapIndex == rhs.heapIndex ); + } + + bool operator!=( DeviceMemoryReportCallbackDataEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceMemoryReportCallbackDataEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceMemoryReportFlagsEXT flags = {}; + VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT type = VULKAN_HPP_NAMESPACE::DeviceMemoryReportEventTypeEXT::eAllocate; + uint64_t memoryObjectId = {}; + VULKAN_HPP_NAMESPACE::DeviceSize size = {}; + VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eUnknown; + uint64_t objectHandle = {}; + uint32_t heapIndex = {}; + + }; + static_assert( sizeof( DeviceMemoryReportCallbackDataEXT ) == sizeof( VkDeviceMemoryReportCallbackDataEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceMemoryReportCallbackDataEXT; + }; + + struct DevicePrivateDataCreateInfoEXT + { + static const bool allowDuplicate = true; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDevicePrivateDataCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DevicePrivateDataCreateInfoEXT(uint32_t privateDataSlotRequestCount_ = {}) VULKAN_HPP_NOEXCEPT + : privateDataSlotRequestCount( privateDataSlotRequestCount_ ) + {} + + VULKAN_HPP_CONSTEXPR DevicePrivateDataCreateInfoEXT( DevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DevicePrivateDataCreateInfoEXT( VkDevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DevicePrivateDataCreateInfoEXT & operator=( VkDevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DevicePrivateDataCreateInfoEXT & operator=( DevicePrivateDataCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DevicePrivateDataCreateInfoEXT ) ); + return *this; + } + + DevicePrivateDataCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DevicePrivateDataCreateInfoEXT & setPrivateDataSlotRequestCount( uint32_t privateDataSlotRequestCount_ ) VULKAN_HPP_NOEXCEPT + { + privateDataSlotRequestCount = privateDataSlotRequestCount_; + return *this; + } + + + operator VkDevicePrivateDataCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDevicePrivateDataCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DevicePrivateDataCreateInfoEXT const& ) const = default; +#else + bool operator==( DevicePrivateDataCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( privateDataSlotRequestCount == rhs.privateDataSlotRequestCount ); + } + + bool operator!=( DevicePrivateDataCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDevicePrivateDataCreateInfoEXT; + const void* pNext = {}; + uint32_t privateDataSlotRequestCount = {}; + + }; + static_assert( sizeof( DevicePrivateDataCreateInfoEXT ) == sizeof( VkDevicePrivateDataCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DevicePrivateDataCreateInfoEXT; + }; + + struct DeviceQueueGlobalPriorityCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DeviceQueueGlobalPriorityCreateInfoEXT(VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority_ = VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT::eLow) VULKAN_HPP_NOEXCEPT + : globalPriority( globalPriority_ ) + {} + + VULKAN_HPP_CONSTEXPR DeviceQueueGlobalPriorityCreateInfoEXT( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DeviceQueueGlobalPriorityCreateInfoEXT( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DeviceQueueGlobalPriorityCreateInfoEXT & operator=( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DeviceQueueGlobalPriorityCreateInfoEXT & operator=( DeviceQueueGlobalPriorityCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) ); + return *this; + } + + DeviceQueueGlobalPriorityCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DeviceQueueGlobalPriorityCreateInfoEXT & setGlobalPriority( VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority_ ) VULKAN_HPP_NOEXCEPT + { + globalPriority = globalPriority_; + return *this; + } + + + operator VkDeviceQueueGlobalPriorityCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDeviceQueueGlobalPriorityCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DeviceQueueGlobalPriorityCreateInfoEXT const& ) const = default; +#else + bool operator==( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( globalPriority == rhs.globalPriority ); + } + + bool operator!=( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT globalPriority = VULKAN_HPP_NAMESPACE::QueueGlobalPriorityEXT::eLow; + + }; + static_assert( sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) == sizeof( VkDeviceQueueGlobalPriorityCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DeviceQueueGlobalPriorityCreateInfoEXT; + }; + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + struct DirectFBSurfaceCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDirectfbSurfaceCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DirectFBSurfaceCreateInfoEXT(VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags_ = {}, IDirectFB* dfb_ = {}, IDirectFBSurface* surface_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), dfb( dfb_ ), surface( surface_ ) + {} + + VULKAN_HPP_CONSTEXPR DirectFBSurfaceCreateInfoEXT( DirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DirectFBSurfaceCreateInfoEXT( VkDirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DirectFBSurfaceCreateInfoEXT & operator=( VkDirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DirectFBSurfaceCreateInfoEXT & operator=( DirectFBSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DirectFBSurfaceCreateInfoEXT ) ); + return *this; + } + + DirectFBSurfaceCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DirectFBSurfaceCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DirectFBSurfaceCreateInfoEXT & setDfb( IDirectFB* dfb_ ) VULKAN_HPP_NOEXCEPT + { + dfb = dfb_; + return *this; + } + + DirectFBSurfaceCreateInfoEXT & setSurface( IDirectFBSurface* surface_ ) VULKAN_HPP_NOEXCEPT + { + surface = surface_; + return *this; + } + + + operator VkDirectFBSurfaceCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDirectFBSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DirectFBSurfaceCreateInfoEXT const& ) const = default; +#else + bool operator==( DirectFBSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( dfb == rhs.dfb ) + && ( surface == rhs.surface ); + } + + bool operator!=( DirectFBSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDirectfbSurfaceCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateFlagsEXT flags = {}; + IDirectFB* dfb = {}; + IDirectFBSurface* surface = {}; + + }; + static_assert( sizeof( DirectFBSurfaceCreateInfoEXT ) == sizeof( VkDirectFBSurfaceCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DirectFBSurfaceCreateInfoEXT; + }; +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + struct DispatchIndirectCommand + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DispatchIndirectCommand(uint32_t x_ = {}, uint32_t y_ = {}, uint32_t z_ = {}) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ), z( z_ ) + {} + + VULKAN_HPP_CONSTEXPR DispatchIndirectCommand( DispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DispatchIndirectCommand( VkDispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DispatchIndirectCommand & operator=( VkDispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DispatchIndirectCommand & operator=( DispatchIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DispatchIndirectCommand ) ); + return *this; + } + + DispatchIndirectCommand & setX( uint32_t x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + DispatchIndirectCommand & setY( uint32_t y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + DispatchIndirectCommand & setZ( uint32_t z_ ) VULKAN_HPP_NOEXCEPT + { + z = z_; + return *this; + } + + + operator VkDispatchIndirectCommand const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDispatchIndirectCommand &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DispatchIndirectCommand const& ) const = default; +#else + bool operator==( DispatchIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ) + && ( z == rhs.z ); + } + + bool operator!=( DispatchIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t x = {}; + uint32_t y = {}; + uint32_t z = {}; + + }; + static_assert( sizeof( DispatchIndirectCommand ) == sizeof( VkDispatchIndirectCommand ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DisplayNativeHdrSurfaceCapabilitiesAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayNativeHdrSurfaceCapabilitiesAMD(VULKAN_HPP_NAMESPACE::Bool32 localDimmingSupport_ = {}) VULKAN_HPP_NOEXCEPT + : localDimmingSupport( localDimmingSupport_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayNativeHdrSurfaceCapabilitiesAMD( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayNativeHdrSurfaceCapabilitiesAMD( VkDisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayNativeHdrSurfaceCapabilitiesAMD & operator=( VkDisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayNativeHdrSurfaceCapabilitiesAMD & operator=( DisplayNativeHdrSurfaceCapabilitiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayNativeHdrSurfaceCapabilitiesAMD ) ); + return *this; + } + + + operator VkDisplayNativeHdrSurfaceCapabilitiesAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayNativeHdrSurfaceCapabilitiesAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayNativeHdrSurfaceCapabilitiesAMD const& ) const = default; +#else + bool operator==( DisplayNativeHdrSurfaceCapabilitiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( localDimmingSupport == rhs.localDimmingSupport ); + } + + bool operator!=( DisplayNativeHdrSurfaceCapabilitiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayNativeHdrSurfaceCapabilitiesAMD; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 localDimmingSupport = {}; + + }; + static_assert( sizeof( DisplayNativeHdrSurfaceCapabilitiesAMD ) == sizeof( VkDisplayNativeHdrSurfaceCapabilitiesAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayNativeHdrSurfaceCapabilitiesAMD; + }; + + struct DisplayPresentInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplayPresentInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplayPresentInfoKHR(VULKAN_HPP_NAMESPACE::Rect2D srcRect_ = {}, VULKAN_HPP_NAMESPACE::Rect2D dstRect_ = {}, VULKAN_HPP_NAMESPACE::Bool32 persistent_ = {}) VULKAN_HPP_NOEXCEPT + : srcRect( srcRect_ ), dstRect( dstRect_ ), persistent( persistent_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplayPresentInfoKHR( DisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplayPresentInfoKHR( VkDisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplayPresentInfoKHR & operator=( VkDisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplayPresentInfoKHR & operator=( DisplayPresentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplayPresentInfoKHR ) ); + return *this; + } + + DisplayPresentInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplayPresentInfoKHR & setSrcRect( VULKAN_HPP_NAMESPACE::Rect2D const & srcRect_ ) VULKAN_HPP_NOEXCEPT + { + srcRect = srcRect_; + return *this; + } + + DisplayPresentInfoKHR & setDstRect( VULKAN_HPP_NAMESPACE::Rect2D const & dstRect_ ) VULKAN_HPP_NOEXCEPT + { + dstRect = dstRect_; + return *this; + } + + DisplayPresentInfoKHR & setPersistent( VULKAN_HPP_NAMESPACE::Bool32 persistent_ ) VULKAN_HPP_NOEXCEPT + { + persistent = persistent_; + return *this; + } + + + operator VkDisplayPresentInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplayPresentInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplayPresentInfoKHR const& ) const = default; +#else + bool operator==( DisplayPresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcRect == rhs.srcRect ) + && ( dstRect == rhs.dstRect ) + && ( persistent == rhs.persistent ); + } + + bool operator!=( DisplayPresentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplayPresentInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Rect2D srcRect = {}; + VULKAN_HPP_NAMESPACE::Rect2D dstRect = {}; + VULKAN_HPP_NAMESPACE::Bool32 persistent = {}; + + }; + static_assert( sizeof( DisplayPresentInfoKHR ) == sizeof( VkDisplayPresentInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplayPresentInfoKHR; + }; + + struct DisplaySurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDisplaySurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DisplaySurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags_ = {}, VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ = {}, uint32_t planeIndex_ = {}, uint32_t planeStackIndex_ = {}, VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity, float globalAlpha_ = {}, VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode_ = VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR::eOpaque, VULKAN_HPP_NAMESPACE::Extent2D imageExtent_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), displayMode( displayMode_ ), planeIndex( planeIndex_ ), planeStackIndex( planeStackIndex_ ), transform( transform_ ), globalAlpha( globalAlpha_ ), alphaMode( alphaMode_ ), imageExtent( imageExtent_ ) + {} + + VULKAN_HPP_CONSTEXPR DisplaySurfaceCreateInfoKHR( DisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DisplaySurfaceCreateInfoKHR( VkDisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DisplaySurfaceCreateInfoKHR & operator=( VkDisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DisplaySurfaceCreateInfoKHR & operator=( DisplaySurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DisplaySurfaceCreateInfoKHR ) ); + return *this; + } + + DisplaySurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setDisplayMode( VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode_ ) VULKAN_HPP_NOEXCEPT + { + displayMode = displayMode_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setPlaneIndex( uint32_t planeIndex_ ) VULKAN_HPP_NOEXCEPT + { + planeIndex = planeIndex_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setPlaneStackIndex( uint32_t planeStackIndex_ ) VULKAN_HPP_NOEXCEPT + { + planeStackIndex = planeStackIndex_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT + { + transform = transform_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setGlobalAlpha( float globalAlpha_ ) VULKAN_HPP_NOEXCEPT + { + globalAlpha = globalAlpha_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setAlphaMode( VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode_ ) VULKAN_HPP_NOEXCEPT + { + alphaMode = alphaMode_; + return *this; + } + + DisplaySurfaceCreateInfoKHR & setImageExtent( VULKAN_HPP_NAMESPACE::Extent2D const & imageExtent_ ) VULKAN_HPP_NOEXCEPT + { + imageExtent = imageExtent_; + return *this; + } + + + operator VkDisplaySurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDisplaySurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DisplaySurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( DisplaySurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( displayMode == rhs.displayMode ) + && ( planeIndex == rhs.planeIndex ) + && ( planeStackIndex == rhs.planeStackIndex ) + && ( transform == rhs.transform ) + && ( globalAlpha == rhs.globalAlpha ) + && ( alphaMode == rhs.alphaMode ) + && ( imageExtent == rhs.imageExtent ); + } + + bool operator!=( DisplaySurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDisplaySurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateFlagsKHR flags = {}; + VULKAN_HPP_NAMESPACE::DisplayModeKHR displayMode = {}; + uint32_t planeIndex = {}; + uint32_t planeStackIndex = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + float globalAlpha = {}; + VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR alphaMode = VULKAN_HPP_NAMESPACE::DisplayPlaneAlphaFlagBitsKHR::eOpaque; + VULKAN_HPP_NAMESPACE::Extent2D imageExtent = {}; + + }; + static_assert( sizeof( DisplaySurfaceCreateInfoKHR ) == sizeof( VkDisplaySurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DisplaySurfaceCreateInfoKHR; + }; + + struct DrawIndexedIndirectCommand + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand(uint32_t indexCount_ = {}, uint32_t instanceCount_ = {}, uint32_t firstIndex_ = {}, int32_t vertexOffset_ = {}, uint32_t firstInstance_ = {}) VULKAN_HPP_NOEXCEPT + : indexCount( indexCount_ ), instanceCount( instanceCount_ ), firstIndex( firstIndex_ ), vertexOffset( vertexOffset_ ), firstInstance( firstInstance_ ) + {} + + VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand( DrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DrawIndexedIndirectCommand( VkDrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DrawIndexedIndirectCommand & operator=( VkDrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DrawIndexedIndirectCommand & operator=( DrawIndexedIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DrawIndexedIndirectCommand ) ); + return *this; + } + + DrawIndexedIndirectCommand & setIndexCount( uint32_t indexCount_ ) VULKAN_HPP_NOEXCEPT + { + indexCount = indexCount_; + return *this; + } + + DrawIndexedIndirectCommand & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT + { + instanceCount = instanceCount_; + return *this; + } + + DrawIndexedIndirectCommand & setFirstIndex( uint32_t firstIndex_ ) VULKAN_HPP_NOEXCEPT + { + firstIndex = firstIndex_; + return *this; + } + + DrawIndexedIndirectCommand & setVertexOffset( int32_t vertexOffset_ ) VULKAN_HPP_NOEXCEPT + { + vertexOffset = vertexOffset_; + return *this; + } + + DrawIndexedIndirectCommand & setFirstInstance( uint32_t firstInstance_ ) VULKAN_HPP_NOEXCEPT + { + firstInstance = firstInstance_; + return *this; + } + + + operator VkDrawIndexedIndirectCommand const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDrawIndexedIndirectCommand &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DrawIndexedIndirectCommand const& ) const = default; +#else + bool operator==( DrawIndexedIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( indexCount == rhs.indexCount ) + && ( instanceCount == rhs.instanceCount ) + && ( firstIndex == rhs.firstIndex ) + && ( vertexOffset == rhs.vertexOffset ) + && ( firstInstance == rhs.firstInstance ); + } + + bool operator!=( DrawIndexedIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t indexCount = {}; + uint32_t instanceCount = {}; + uint32_t firstIndex = {}; + int32_t vertexOffset = {}; + uint32_t firstInstance = {}; + + }; + static_assert( sizeof( DrawIndexedIndirectCommand ) == sizeof( VkDrawIndexedIndirectCommand ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DrawIndirectCommand + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DrawIndirectCommand(uint32_t vertexCount_ = {}, uint32_t instanceCount_ = {}, uint32_t firstVertex_ = {}, uint32_t firstInstance_ = {}) VULKAN_HPP_NOEXCEPT + : vertexCount( vertexCount_ ), instanceCount( instanceCount_ ), firstVertex( firstVertex_ ), firstInstance( firstInstance_ ) + {} + + VULKAN_HPP_CONSTEXPR DrawIndirectCommand( DrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DrawIndirectCommand( VkDrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DrawIndirectCommand & operator=( VkDrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DrawIndirectCommand & operator=( DrawIndirectCommand const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DrawIndirectCommand ) ); + return *this; + } + + DrawIndirectCommand & setVertexCount( uint32_t vertexCount_ ) VULKAN_HPP_NOEXCEPT + { + vertexCount = vertexCount_; + return *this; + } + + DrawIndirectCommand & setInstanceCount( uint32_t instanceCount_ ) VULKAN_HPP_NOEXCEPT + { + instanceCount = instanceCount_; + return *this; + } + + DrawIndirectCommand & setFirstVertex( uint32_t firstVertex_ ) VULKAN_HPP_NOEXCEPT + { + firstVertex = firstVertex_; + return *this; + } + + DrawIndirectCommand & setFirstInstance( uint32_t firstInstance_ ) VULKAN_HPP_NOEXCEPT + { + firstInstance = firstInstance_; + return *this; + } + + + operator VkDrawIndirectCommand const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDrawIndirectCommand &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DrawIndirectCommand const& ) const = default; +#else + bool operator==( DrawIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( vertexCount == rhs.vertexCount ) + && ( instanceCount == rhs.instanceCount ) + && ( firstVertex == rhs.firstVertex ) + && ( firstInstance == rhs.firstInstance ); + } + + bool operator!=( DrawIndirectCommand const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t vertexCount = {}; + uint32_t instanceCount = {}; + uint32_t firstVertex = {}; + uint32_t firstInstance = {}; + + }; + static_assert( sizeof( DrawIndirectCommand ) == sizeof( VkDrawIndirectCommand ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DrawMeshTasksIndirectCommandNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DrawMeshTasksIndirectCommandNV(uint32_t taskCount_ = {}, uint32_t firstTask_ = {}) VULKAN_HPP_NOEXCEPT + : taskCount( taskCount_ ), firstTask( firstTask_ ) + {} + + VULKAN_HPP_CONSTEXPR DrawMeshTasksIndirectCommandNV( DrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DrawMeshTasksIndirectCommandNV( VkDrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DrawMeshTasksIndirectCommandNV & operator=( VkDrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DrawMeshTasksIndirectCommandNV & operator=( DrawMeshTasksIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DrawMeshTasksIndirectCommandNV ) ); + return *this; + } + + DrawMeshTasksIndirectCommandNV & setTaskCount( uint32_t taskCount_ ) VULKAN_HPP_NOEXCEPT + { + taskCount = taskCount_; + return *this; + } + + DrawMeshTasksIndirectCommandNV & setFirstTask( uint32_t firstTask_ ) VULKAN_HPP_NOEXCEPT + { + firstTask = firstTask_; + return *this; + } + + + operator VkDrawMeshTasksIndirectCommandNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDrawMeshTasksIndirectCommandNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DrawMeshTasksIndirectCommandNV const& ) const = default; +#else + bool operator==( DrawMeshTasksIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( taskCount == rhs.taskCount ) + && ( firstTask == rhs.firstTask ); + } + + bool operator!=( DrawMeshTasksIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t taskCount = {}; + uint32_t firstTask = {}; + + }; + static_assert( sizeof( DrawMeshTasksIndirectCommandNV ) == sizeof( VkDrawMeshTasksIndirectCommandNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DrmFormatModifierPropertiesEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesEXT(uint64_t drmFormatModifier_ = {}, uint32_t drmFormatModifierPlaneCount_ = {}, VULKAN_HPP_NAMESPACE::FormatFeatureFlags drmFormatModifierTilingFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifier( drmFormatModifier_ ), drmFormatModifierPlaneCount( drmFormatModifierPlaneCount_ ), drmFormatModifierTilingFeatures( drmFormatModifierTilingFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesEXT( DrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DrmFormatModifierPropertiesEXT( VkDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DrmFormatModifierPropertiesEXT & operator=( VkDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DrmFormatModifierPropertiesEXT & operator=( DrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DrmFormatModifierPropertiesEXT ) ); + return *this; + } + + + operator VkDrmFormatModifierPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDrmFormatModifierPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DrmFormatModifierPropertiesEXT const& ) const = default; +#else + bool operator==( DrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( drmFormatModifier == rhs.drmFormatModifier ) + && ( drmFormatModifierPlaneCount == rhs.drmFormatModifierPlaneCount ) + && ( drmFormatModifierTilingFeatures == rhs.drmFormatModifierTilingFeatures ); + } + + bool operator!=( DrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint64_t drmFormatModifier = {}; + uint32_t drmFormatModifierPlaneCount = {}; + VULKAN_HPP_NAMESPACE::FormatFeatureFlags drmFormatModifierTilingFeatures = {}; + + }; + static_assert( sizeof( DrmFormatModifierPropertiesEXT ) == sizeof( VkDrmFormatModifierPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct DrmFormatModifierPropertiesListEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDrmFormatModifierPropertiesListEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesListEXT(uint32_t drmFormatModifierCount_ = {}, VULKAN_HPP_NAMESPACE::DrmFormatModifierPropertiesEXT* pDrmFormatModifierProperties_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifierCount( drmFormatModifierCount_ ), pDrmFormatModifierProperties( pDrmFormatModifierProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR DrmFormatModifierPropertiesListEXT( DrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + DrmFormatModifierPropertiesListEXT( VkDrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + DrmFormatModifierPropertiesListEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & drmFormatModifierProperties_ ) + : drmFormatModifierCount( static_cast( drmFormatModifierProperties_.size() ) ), pDrmFormatModifierProperties( drmFormatModifierProperties_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + DrmFormatModifierPropertiesListEXT & operator=( VkDrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + DrmFormatModifierPropertiesListEXT & operator=( DrmFormatModifierPropertiesListEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( DrmFormatModifierPropertiesListEXT ) ); + return *this; + } + + + operator VkDrmFormatModifierPropertiesListEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkDrmFormatModifierPropertiesListEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DrmFormatModifierPropertiesListEXT const& ) const = default; +#else + bool operator==( DrmFormatModifierPropertiesListEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( drmFormatModifierCount == rhs.drmFormatModifierCount ) + && ( pDrmFormatModifierProperties == rhs.pDrmFormatModifierProperties ); + } + + bool operator!=( DrmFormatModifierPropertiesListEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDrmFormatModifierPropertiesListEXT; + void* pNext = {}; + uint32_t drmFormatModifierCount = {}; + VULKAN_HPP_NAMESPACE::DrmFormatModifierPropertiesEXT* pDrmFormatModifierProperties = {}; + + }; + static_assert( sizeof( DrmFormatModifierPropertiesListEXT ) == sizeof( VkDrmFormatModifierPropertiesListEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = DrmFormatModifierPropertiesListEXT; + }; + + struct ExportFenceCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportFenceCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportFenceCreateInfo(VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportFenceCreateInfo( ExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportFenceCreateInfo( VkExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportFenceCreateInfo & operator=( VkExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportFenceCreateInfo & operator=( ExportFenceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportFenceCreateInfo ) ); + return *this; + } + + ExportFenceCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportFenceCreateInfo & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExportFenceCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportFenceCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportFenceCreateInfo const& ) const = default; +#else + bool operator==( ExportFenceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExportFenceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportFenceCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags handleTypes = {}; + + }; + static_assert( sizeof( ExportFenceCreateInfo ) == sizeof( VkExportFenceCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportFenceCreateInfo; + }; + using ExportFenceCreateInfoKHR = ExportFenceCreateInfo; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ExportFenceWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportFenceWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportFenceWin32HandleInfoKHR(const SECURITY_ATTRIBUTES* pAttributes_ = {}, DWORD dwAccess_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : pAttributes( pAttributes_ ), dwAccess( dwAccess_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportFenceWin32HandleInfoKHR( ExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportFenceWin32HandleInfoKHR( VkExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportFenceWin32HandleInfoKHR & operator=( VkExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportFenceWin32HandleInfoKHR & operator=( ExportFenceWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportFenceWin32HandleInfoKHR ) ); + return *this; + } + + ExportFenceWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportFenceWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ ) VULKAN_HPP_NOEXCEPT + { + pAttributes = pAttributes_; + return *this; + } + + ExportFenceWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT + { + dwAccess = dwAccess_; + return *this; + } + + ExportFenceWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkExportFenceWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportFenceWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportFenceWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ExportFenceWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pAttributes == rhs.pAttributes ) + && ( dwAccess == rhs.dwAccess ) + && ( name == rhs.name ); + } + + bool operator!=( ExportFenceWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportFenceWin32HandleInfoKHR; + const void* pNext = {}; + const SECURITY_ATTRIBUTES* pAttributes = {}; + DWORD dwAccess = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ExportFenceWin32HandleInfoKHR ) == sizeof( VkExportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportFenceWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct ExportMemoryAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfo( ExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportMemoryAllocateInfo( VkExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportMemoryAllocateInfo & operator=( VkExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportMemoryAllocateInfo & operator=( ExportMemoryAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportMemoryAllocateInfo ) ); + return *this; + } + + ExportMemoryAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportMemoryAllocateInfo & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExportMemoryAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportMemoryAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportMemoryAllocateInfo const& ) const = default; +#else + bool operator==( ExportMemoryAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExportMemoryAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; + + }; + static_assert( sizeof( ExportMemoryAllocateInfo ) == sizeof( VkExportMemoryAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportMemoryAllocateInfo; + }; + using ExportMemoryAllocateInfoKHR = ExportMemoryAllocateInfo; + + struct ExportMemoryAllocateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryAllocateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportMemoryAllocateInfoNV( ExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportMemoryAllocateInfoNV( VkExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportMemoryAllocateInfoNV & operator=( VkExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportMemoryAllocateInfoNV & operator=( ExportMemoryAllocateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportMemoryAllocateInfoNV ) ); + return *this; + } + + ExportMemoryAllocateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportMemoryAllocateInfoNV & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExportMemoryAllocateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportMemoryAllocateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportMemoryAllocateInfoNV const& ) const = default; +#else + bool operator==( ExportMemoryAllocateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExportMemoryAllocateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryAllocateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes = {}; + + }; + static_assert( sizeof( ExportMemoryAllocateInfoNV ) == sizeof( VkExportMemoryAllocateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportMemoryAllocateInfoNV; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ExportMemoryWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoKHR(const SECURITY_ATTRIBUTES* pAttributes_ = {}, DWORD dwAccess_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : pAttributes( pAttributes_ ), dwAccess( dwAccess_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoKHR( ExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportMemoryWin32HandleInfoKHR( VkExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportMemoryWin32HandleInfoKHR & operator=( VkExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportMemoryWin32HandleInfoKHR & operator=( ExportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportMemoryWin32HandleInfoKHR ) ); + return *this; + } + + ExportMemoryWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportMemoryWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ ) VULKAN_HPP_NOEXCEPT + { + pAttributes = pAttributes_; + return *this; + } + + ExportMemoryWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT + { + dwAccess = dwAccess_; + return *this; + } + + ExportMemoryWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkExportMemoryWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportMemoryWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportMemoryWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ExportMemoryWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pAttributes == rhs.pAttributes ) + && ( dwAccess == rhs.dwAccess ) + && ( name == rhs.name ); + } + + bool operator!=( ExportMemoryWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryWin32HandleInfoKHR; + const void* pNext = {}; + const SECURITY_ATTRIBUTES* pAttributes = {}; + DWORD dwAccess = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ExportMemoryWin32HandleInfoKHR ) == sizeof( VkExportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportMemoryWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ExportMemoryWin32HandleInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportMemoryWin32HandleInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoNV(const SECURITY_ATTRIBUTES* pAttributes_ = {}, DWORD dwAccess_ = {}) VULKAN_HPP_NOEXCEPT + : pAttributes( pAttributes_ ), dwAccess( dwAccess_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportMemoryWin32HandleInfoNV( ExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportMemoryWin32HandleInfoNV( VkExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportMemoryWin32HandleInfoNV & operator=( VkExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportMemoryWin32HandleInfoNV & operator=( ExportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportMemoryWin32HandleInfoNV ) ); + return *this; + } + + ExportMemoryWin32HandleInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportMemoryWin32HandleInfoNV & setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ ) VULKAN_HPP_NOEXCEPT + { + pAttributes = pAttributes_; + return *this; + } + + ExportMemoryWin32HandleInfoNV & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT + { + dwAccess = dwAccess_; + return *this; + } + + + operator VkExportMemoryWin32HandleInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportMemoryWin32HandleInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportMemoryWin32HandleInfoNV const& ) const = default; +#else + bool operator==( ExportMemoryWin32HandleInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pAttributes == rhs.pAttributes ) + && ( dwAccess == rhs.dwAccess ); + } + + bool operator!=( ExportMemoryWin32HandleInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportMemoryWin32HandleInfoNV; + const void* pNext = {}; + const SECURITY_ATTRIBUTES* pAttributes = {}; + DWORD dwAccess = {}; + + }; + static_assert( sizeof( ExportMemoryWin32HandleInfoNV ) == sizeof( VkExportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportMemoryWin32HandleInfoNV; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct ExportSemaphoreCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportSemaphoreCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportSemaphoreCreateInfo(VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportSemaphoreCreateInfo( ExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportSemaphoreCreateInfo( VkExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportSemaphoreCreateInfo & operator=( VkExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportSemaphoreCreateInfo & operator=( ExportSemaphoreCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportSemaphoreCreateInfo ) ); + return *this; + } + + ExportSemaphoreCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportSemaphoreCreateInfo & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExportSemaphoreCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportSemaphoreCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportSemaphoreCreateInfo const& ) const = default; +#else + bool operator==( ExportSemaphoreCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExportSemaphoreCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportSemaphoreCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags handleTypes = {}; + + }; + static_assert( sizeof( ExportSemaphoreCreateInfo ) == sizeof( VkExportSemaphoreCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportSemaphoreCreateInfo; + }; + using ExportSemaphoreCreateInfoKHR = ExportSemaphoreCreateInfo; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ExportSemaphoreWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExportSemaphoreWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExportSemaphoreWin32HandleInfoKHR(const SECURITY_ATTRIBUTES* pAttributes_ = {}, DWORD dwAccess_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : pAttributes( pAttributes_ ), dwAccess( dwAccess_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ExportSemaphoreWin32HandleInfoKHR( ExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExportSemaphoreWin32HandleInfoKHR( VkExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExportSemaphoreWin32HandleInfoKHR & operator=( VkExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExportSemaphoreWin32HandleInfoKHR & operator=( ExportSemaphoreWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExportSemaphoreWin32HandleInfoKHR ) ); + return *this; + } + + ExportSemaphoreWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExportSemaphoreWin32HandleInfoKHR & setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ ) VULKAN_HPP_NOEXCEPT + { + pAttributes = pAttributes_; + return *this; + } + + ExportSemaphoreWin32HandleInfoKHR & setDwAccess( DWORD dwAccess_ ) VULKAN_HPP_NOEXCEPT + { + dwAccess = dwAccess_; + return *this; + } + + ExportSemaphoreWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkExportSemaphoreWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExportSemaphoreWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExportSemaphoreWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pAttributes == rhs.pAttributes ) + && ( dwAccess == rhs.dwAccess ) + && ( name == rhs.name ); + } + + bool operator!=( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExportSemaphoreWin32HandleInfoKHR; + const void* pNext = {}; + const SECURITY_ATTRIBUTES* pAttributes = {}; + DWORD dwAccess = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ExportSemaphoreWin32HandleInfoKHR ) == sizeof( VkExportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExportSemaphoreWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct ExternalFormatANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalFormatANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalFormatANDROID(uint64_t externalFormat_ = {}) VULKAN_HPP_NOEXCEPT + : externalFormat( externalFormat_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalFormatANDROID( ExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalFormatANDROID( VkExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalFormatANDROID & operator=( VkExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalFormatANDROID & operator=( ExternalFormatANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalFormatANDROID ) ); + return *this; + } + + ExternalFormatANDROID & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExternalFormatANDROID & setExternalFormat( uint64_t externalFormat_ ) VULKAN_HPP_NOEXCEPT + { + externalFormat = externalFormat_; + return *this; + } + + + operator VkExternalFormatANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalFormatANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalFormatANDROID const& ) const = default; +#else + bool operator==( ExternalFormatANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( externalFormat == rhs.externalFormat ); + } + + bool operator!=( ExternalFormatANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalFormatANDROID; + void* pNext = {}; + uint64_t externalFormat = {}; + + }; + static_assert( sizeof( ExternalFormatANDROID ) == sizeof( VkExternalFormatANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalFormatANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + struct ExternalImageFormatProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalImageFormatProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalImageFormatProperties(VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties_ = {}) VULKAN_HPP_NOEXCEPT + : externalMemoryProperties( externalMemoryProperties_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalImageFormatProperties( ExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalImageFormatProperties( VkExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalImageFormatProperties & operator=( VkExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalImageFormatProperties & operator=( ExternalImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalImageFormatProperties ) ); + return *this; + } + + + operator VkExternalImageFormatProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalImageFormatProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalImageFormatProperties const& ) const = default; +#else + bool operator==( ExternalImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( externalMemoryProperties == rhs.externalMemoryProperties ); + } + + bool operator!=( ExternalImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalImageFormatProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryProperties externalMemoryProperties = {}; + + }; + static_assert( sizeof( ExternalImageFormatProperties ) == sizeof( VkExternalImageFormatProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalImageFormatProperties; + }; + using ExternalImageFormatPropertiesKHR = ExternalImageFormatProperties; + + struct ExternalMemoryBufferCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryBufferCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalMemoryBufferCreateInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalMemoryBufferCreateInfo( ExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalMemoryBufferCreateInfo( VkExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalMemoryBufferCreateInfo & operator=( VkExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalMemoryBufferCreateInfo & operator=( ExternalMemoryBufferCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalMemoryBufferCreateInfo ) ); + return *this; + } + + ExternalMemoryBufferCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExternalMemoryBufferCreateInfo & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExternalMemoryBufferCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalMemoryBufferCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalMemoryBufferCreateInfo const& ) const = default; +#else + bool operator==( ExternalMemoryBufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExternalMemoryBufferCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryBufferCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; + + }; + static_assert( sizeof( ExternalMemoryBufferCreateInfo ) == sizeof( VkExternalMemoryBufferCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalMemoryBufferCreateInfo; + }; + using ExternalMemoryBufferCreateInfoKHR = ExternalMemoryBufferCreateInfo; + + struct ExternalMemoryImageCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryImageCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfo( ExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalMemoryImageCreateInfo( VkExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalMemoryImageCreateInfo & operator=( VkExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalMemoryImageCreateInfo & operator=( ExternalMemoryImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalMemoryImageCreateInfo ) ); + return *this; + } + + ExternalMemoryImageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExternalMemoryImageCreateInfo & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExternalMemoryImageCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalMemoryImageCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalMemoryImageCreateInfo const& ) const = default; +#else + bool operator==( ExternalMemoryImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExternalMemoryImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryImageCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags handleTypes = {}; + + }; + static_assert( sizeof( ExternalMemoryImageCreateInfo ) == sizeof( VkExternalMemoryImageCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalMemoryImageCreateInfo; + }; + using ExternalMemoryImageCreateInfoKHR = ExternalMemoryImageCreateInfo; + + struct ExternalMemoryImageCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eExternalMemoryImageCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfoNV(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ = {}) VULKAN_HPP_NOEXCEPT + : handleTypes( handleTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR ExternalMemoryImageCreateInfoNV( ExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ExternalMemoryImageCreateInfoNV( VkExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ExternalMemoryImageCreateInfoNV & operator=( VkExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ExternalMemoryImageCreateInfoNV & operator=( ExternalMemoryImageCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ExternalMemoryImageCreateInfoNV ) ); + return *this; + } + + ExternalMemoryImageCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ExternalMemoryImageCreateInfoNV & setHandleTypes( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes_ ) VULKAN_HPP_NOEXCEPT + { + handleTypes = handleTypes_; + return *this; + } + + + operator VkExternalMemoryImageCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkExternalMemoryImageCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ExternalMemoryImageCreateInfoNV const& ) const = default; +#else + bool operator==( ExternalMemoryImageCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleTypes == rhs.handleTypes ); + } + + bool operator!=( ExternalMemoryImageCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eExternalMemoryImageCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleTypes = {}; + + }; + static_assert( sizeof( ExternalMemoryImageCreateInfoNV ) == sizeof( VkExternalMemoryImageCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ExternalMemoryImageCreateInfoNV; + }; + + struct FilterCubicImageViewImageFormatPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFilterCubicImageViewImageFormatPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FilterCubicImageViewImageFormatPropertiesEXT(VULKAN_HPP_NAMESPACE::Bool32 filterCubic_ = {}, VULKAN_HPP_NAMESPACE::Bool32 filterCubicMinmax_ = {}) VULKAN_HPP_NOEXCEPT + : filterCubic( filterCubic_ ), filterCubicMinmax( filterCubicMinmax_ ) + {} + + VULKAN_HPP_CONSTEXPR FilterCubicImageViewImageFormatPropertiesEXT( FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FilterCubicImageViewImageFormatPropertiesEXT( VkFilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FilterCubicImageViewImageFormatPropertiesEXT & operator=( VkFilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FilterCubicImageViewImageFormatPropertiesEXT & operator=( FilterCubicImageViewImageFormatPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FilterCubicImageViewImageFormatPropertiesEXT ) ); + return *this; + } + + + operator VkFilterCubicImageViewImageFormatPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFilterCubicImageViewImageFormatPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FilterCubicImageViewImageFormatPropertiesEXT const& ) const = default; +#else + bool operator==( FilterCubicImageViewImageFormatPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( filterCubic == rhs.filterCubic ) + && ( filterCubicMinmax == rhs.filterCubicMinmax ); + } + + bool operator!=( FilterCubicImageViewImageFormatPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFilterCubicImageViewImageFormatPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterCubic = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterCubicMinmax = {}; + + }; + static_assert( sizeof( FilterCubicImageViewImageFormatPropertiesEXT ) == sizeof( VkFilterCubicImageViewImageFormatPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FilterCubicImageViewImageFormatPropertiesEXT; + }; + + struct FragmentShadingRateAttachmentInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFragmentShadingRateAttachmentInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FragmentShadingRateAttachmentInfoKHR(const VULKAN_HPP_NAMESPACE::AttachmentReference2* pFragmentShadingRateAttachment_ = {}, VULKAN_HPP_NAMESPACE::Extent2D shadingRateAttachmentTexelSize_ = {}) VULKAN_HPP_NOEXCEPT + : pFragmentShadingRateAttachment( pFragmentShadingRateAttachment_ ), shadingRateAttachmentTexelSize( shadingRateAttachmentTexelSize_ ) + {} + + VULKAN_HPP_CONSTEXPR FragmentShadingRateAttachmentInfoKHR( FragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FragmentShadingRateAttachmentInfoKHR( VkFragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FragmentShadingRateAttachmentInfoKHR & operator=( VkFragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FragmentShadingRateAttachmentInfoKHR & operator=( FragmentShadingRateAttachmentInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FragmentShadingRateAttachmentInfoKHR ) ); + return *this; + } + + FragmentShadingRateAttachmentInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FragmentShadingRateAttachmentInfoKHR & setPFragmentShadingRateAttachment( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pFragmentShadingRateAttachment_ ) VULKAN_HPP_NOEXCEPT + { + pFragmentShadingRateAttachment = pFragmentShadingRateAttachment_; + return *this; + } + + FragmentShadingRateAttachmentInfoKHR & setShadingRateAttachmentTexelSize( VULKAN_HPP_NAMESPACE::Extent2D const & shadingRateAttachmentTexelSize_ ) VULKAN_HPP_NOEXCEPT + { + shadingRateAttachmentTexelSize = shadingRateAttachmentTexelSize_; + return *this; + } + + + operator VkFragmentShadingRateAttachmentInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFragmentShadingRateAttachmentInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FragmentShadingRateAttachmentInfoKHR const& ) const = default; +#else + bool operator==( FragmentShadingRateAttachmentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pFragmentShadingRateAttachment == rhs.pFragmentShadingRateAttachment ) + && ( shadingRateAttachmentTexelSize == rhs.shadingRateAttachmentTexelSize ); + } + + bool operator!=( FragmentShadingRateAttachmentInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFragmentShadingRateAttachmentInfoKHR; + const void* pNext = {}; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pFragmentShadingRateAttachment = {}; + VULKAN_HPP_NAMESPACE::Extent2D shadingRateAttachmentTexelSize = {}; + + }; + static_assert( sizeof( FragmentShadingRateAttachmentInfoKHR ) == sizeof( VkFragmentShadingRateAttachmentInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FragmentShadingRateAttachmentInfoKHR; + }; + + struct FramebufferAttachmentImageInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferAttachmentImageInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FramebufferAttachmentImageInfo(VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {}, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}, uint32_t width_ = {}, uint32_t height_ = {}, uint32_t layerCount_ = {}, uint32_t viewFormatCount_ = {}, const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), usage( usage_ ), width( width_ ), height( height_ ), layerCount( layerCount_ ), viewFormatCount( viewFormatCount_ ), pViewFormats( pViewFormats_ ) + {} + + VULKAN_HPP_CONSTEXPR FramebufferAttachmentImageInfo( FramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FramebufferAttachmentImageInfo( VkFramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferAttachmentImageInfo( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_, uint32_t width_, uint32_t height_, uint32_t layerCount_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) + : flags( flags_ ), usage( usage_ ), width( width_ ), height( height_ ), layerCount( layerCount_ ), viewFormatCount( static_cast( viewFormats_.size() ) ), pViewFormats( viewFormats_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FramebufferAttachmentImageInfo & operator=( VkFramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FramebufferAttachmentImageInfo & operator=( FramebufferAttachmentImageInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FramebufferAttachmentImageInfo ) ); + return *this; + } + + FramebufferAttachmentImageInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FramebufferAttachmentImageInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + FramebufferAttachmentImageInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + FramebufferAttachmentImageInfo & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + FramebufferAttachmentImageInfo & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + FramebufferAttachmentImageInfo & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT + { + layerCount = layerCount_; + return *this; + } + + FramebufferAttachmentImageInfo & setViewFormatCount( uint32_t viewFormatCount_ ) VULKAN_HPP_NOEXCEPT + { + viewFormatCount = viewFormatCount_; + return *this; + } + + FramebufferAttachmentImageInfo & setPViewFormats( const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ ) VULKAN_HPP_NOEXCEPT + { + pViewFormats = pViewFormats_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferAttachmentImageInfo & setViewFormats( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) VULKAN_HPP_NOEXCEPT + { + viewFormatCount = static_cast( viewFormats_.size() ); + pViewFormats = viewFormats_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkFramebufferAttachmentImageInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFramebufferAttachmentImageInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FramebufferAttachmentImageInfo const& ) const = default; +#else + bool operator==( FramebufferAttachmentImageInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( usage == rhs.usage ) + && ( width == rhs.width ) + && ( height == rhs.height ) + && ( layerCount == rhs.layerCount ) + && ( viewFormatCount == rhs.viewFormatCount ) + && ( pViewFormats == rhs.pViewFormats ); + } + + bool operator!=( FramebufferAttachmentImageInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferAttachmentImageInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; + uint32_t width = {}; + uint32_t height = {}; + uint32_t layerCount = {}; + uint32_t viewFormatCount = {}; + const VULKAN_HPP_NAMESPACE::Format* pViewFormats = {}; + + }; + static_assert( sizeof( FramebufferAttachmentImageInfo ) == sizeof( VkFramebufferAttachmentImageInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FramebufferAttachmentImageInfo; + }; + using FramebufferAttachmentImageInfoKHR = FramebufferAttachmentImageInfo; + + struct FramebufferAttachmentsCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eFramebufferAttachmentsCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR FramebufferAttachmentsCreateInfo(uint32_t attachmentImageInfoCount_ = {}, const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo* pAttachmentImageInfos_ = {}) VULKAN_HPP_NOEXCEPT + : attachmentImageInfoCount( attachmentImageInfoCount_ ), pAttachmentImageInfos( pAttachmentImageInfos_ ) + {} + + VULKAN_HPP_CONSTEXPR FramebufferAttachmentsCreateInfo( FramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + FramebufferAttachmentsCreateInfo( VkFramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferAttachmentsCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachmentImageInfos_ ) + : attachmentImageInfoCount( static_cast( attachmentImageInfos_.size() ) ), pAttachmentImageInfos( attachmentImageInfos_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + FramebufferAttachmentsCreateInfo & operator=( VkFramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + FramebufferAttachmentsCreateInfo & operator=( FramebufferAttachmentsCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( FramebufferAttachmentsCreateInfo ) ); + return *this; + } + + FramebufferAttachmentsCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + FramebufferAttachmentsCreateInfo & setAttachmentImageInfoCount( uint32_t attachmentImageInfoCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentImageInfoCount = attachmentImageInfoCount_; + return *this; + } + + FramebufferAttachmentsCreateInfo & setPAttachmentImageInfos( const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo* pAttachmentImageInfos_ ) VULKAN_HPP_NOEXCEPT + { + pAttachmentImageInfos = pAttachmentImageInfos_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + FramebufferAttachmentsCreateInfo & setAttachmentImageInfos( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachmentImageInfos_ ) VULKAN_HPP_NOEXCEPT + { + attachmentImageInfoCount = static_cast( attachmentImageInfos_.size() ); + pAttachmentImageInfos = attachmentImageInfos_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkFramebufferAttachmentsCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkFramebufferAttachmentsCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( FramebufferAttachmentsCreateInfo const& ) const = default; +#else + bool operator==( FramebufferAttachmentsCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( attachmentImageInfoCount == rhs.attachmentImageInfoCount ) + && ( pAttachmentImageInfos == rhs.pAttachmentImageInfos ); + } + + bool operator!=( FramebufferAttachmentsCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eFramebufferAttachmentsCreateInfo; + const void* pNext = {}; + uint32_t attachmentImageInfoCount = {}; + const VULKAN_HPP_NAMESPACE::FramebufferAttachmentImageInfo* pAttachmentImageInfos = {}; + + }; + static_assert( sizeof( FramebufferAttachmentsCreateInfo ) == sizeof( VkFramebufferAttachmentsCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = FramebufferAttachmentsCreateInfo; + }; + using FramebufferAttachmentsCreateInfoKHR = FramebufferAttachmentsCreateInfo; + + struct GraphicsShaderGroupCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGraphicsShaderGroupCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GraphicsShaderGroupCreateInfoNV(uint32_t stageCount_ = {}, const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ = {}, const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ = {}) VULKAN_HPP_NOEXCEPT + : stageCount( stageCount_ ), pStages( pStages_ ), pVertexInputState( pVertexInputState_ ), pTessellationState( pTessellationState_ ) + {} + + VULKAN_HPP_CONSTEXPR GraphicsShaderGroupCreateInfoNV( GraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GraphicsShaderGroupCreateInfoNV( VkGraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsShaderGroupCreateInfoNV( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_, const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ = {}, const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ = {} ) + : stageCount( static_cast( stages_.size() ) ), pStages( stages_.data() ), pVertexInputState( pVertexInputState_ ), pTessellationState( pTessellationState_ ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GraphicsShaderGroupCreateInfoNV & operator=( VkGraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GraphicsShaderGroupCreateInfoNV & operator=( GraphicsShaderGroupCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GraphicsShaderGroupCreateInfoNV ) ); + return *this; + } + + GraphicsShaderGroupCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GraphicsShaderGroupCreateInfoNV & setStageCount( uint32_t stageCount_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = stageCount_; + return *this; + } + + GraphicsShaderGroupCreateInfoNV & setPStages( const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages_ ) VULKAN_HPP_NOEXCEPT + { + pStages = pStages_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsShaderGroupCreateInfoNV & setStages( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & stages_ ) VULKAN_HPP_NOEXCEPT + { + stageCount = static_cast( stages_.size() ); + pStages = stages_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + GraphicsShaderGroupCreateInfoNV & setPVertexInputState( const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState_ ) VULKAN_HPP_NOEXCEPT + { + pVertexInputState = pVertexInputState_; + return *this; + } + + GraphicsShaderGroupCreateInfoNV & setPTessellationState( const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState_ ) VULKAN_HPP_NOEXCEPT + { + pTessellationState = pTessellationState_; + return *this; + } + + + operator VkGraphicsShaderGroupCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGraphicsShaderGroupCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GraphicsShaderGroupCreateInfoNV const& ) const = default; +#else + bool operator==( GraphicsShaderGroupCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stageCount == rhs.stageCount ) + && ( pStages == rhs.pStages ) + && ( pVertexInputState == rhs.pVertexInputState ) + && ( pTessellationState == rhs.pTessellationState ); + } + + bool operator!=( GraphicsShaderGroupCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsShaderGroupCreateInfoNV; + const void* pNext = {}; + uint32_t stageCount = {}; + const VULKAN_HPP_NAMESPACE::PipelineShaderStageCreateInfo* pStages = {}; + const VULKAN_HPP_NAMESPACE::PipelineVertexInputStateCreateInfo* pVertexInputState = {}; + const VULKAN_HPP_NAMESPACE::PipelineTessellationStateCreateInfo* pTessellationState = {}; + + }; + static_assert( sizeof( GraphicsShaderGroupCreateInfoNV ) == sizeof( VkGraphicsShaderGroupCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GraphicsShaderGroupCreateInfoNV; + }; + + struct GraphicsPipelineShaderGroupsCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR GraphicsPipelineShaderGroupsCreateInfoNV(uint32_t groupCount_ = {}, const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV* pGroups_ = {}, uint32_t pipelineCount_ = {}, const VULKAN_HPP_NAMESPACE::Pipeline* pPipelines_ = {}) VULKAN_HPP_NOEXCEPT + : groupCount( groupCount_ ), pGroups( pGroups_ ), pipelineCount( pipelineCount_ ), pPipelines( pPipelines_ ) + {} + + VULKAN_HPP_CONSTEXPR GraphicsPipelineShaderGroupsCreateInfoNV( GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + GraphicsPipelineShaderGroupsCreateInfoNV( VkGraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsPipelineShaderGroupsCreateInfoNV( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelines_ = {} ) + : groupCount( static_cast( groups_.size() ) ), pGroups( groups_.data() ), pipelineCount( static_cast( pipelines_.size() ) ), pPipelines( pipelines_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + GraphicsPipelineShaderGroupsCreateInfoNV & operator=( VkGraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + GraphicsPipelineShaderGroupsCreateInfoNV & operator=( GraphicsPipelineShaderGroupsCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( GraphicsPipelineShaderGroupsCreateInfoNV ) ); + return *this; + } + + GraphicsPipelineShaderGroupsCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + GraphicsPipelineShaderGroupsCreateInfoNV & setGroupCount( uint32_t groupCount_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = groupCount_; + return *this; + } + + GraphicsPipelineShaderGroupsCreateInfoNV & setPGroups( const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV* pGroups_ ) VULKAN_HPP_NOEXCEPT + { + pGroups = pGroups_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsPipelineShaderGroupsCreateInfoNV & setGroups( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & groups_ ) VULKAN_HPP_NOEXCEPT + { + groupCount = static_cast( groups_.size() ); + pGroups = groups_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + GraphicsPipelineShaderGroupsCreateInfoNV & setPipelineCount( uint32_t pipelineCount_ ) VULKAN_HPP_NOEXCEPT + { + pipelineCount = pipelineCount_; + return *this; + } + + GraphicsPipelineShaderGroupsCreateInfoNV & setPPipelines( const VULKAN_HPP_NAMESPACE::Pipeline* pPipelines_ ) VULKAN_HPP_NOEXCEPT + { + pPipelines = pPipelines_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + GraphicsPipelineShaderGroupsCreateInfoNV & setPipelines( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelines_ ) VULKAN_HPP_NOEXCEPT + { + pipelineCount = static_cast( pipelines_.size() ); + pPipelines = pipelines_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkGraphicsPipelineShaderGroupsCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkGraphicsPipelineShaderGroupsCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( GraphicsPipelineShaderGroupsCreateInfoNV const& ) const = default; +#else + bool operator==( GraphicsPipelineShaderGroupsCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( groupCount == rhs.groupCount ) + && ( pGroups == rhs.pGroups ) + && ( pipelineCount == rhs.pipelineCount ) + && ( pPipelines == rhs.pPipelines ); + } + + bool operator!=( GraphicsPipelineShaderGroupsCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eGraphicsPipelineShaderGroupsCreateInfoNV; + const void* pNext = {}; + uint32_t groupCount = {}; + const VULKAN_HPP_NAMESPACE::GraphicsShaderGroupCreateInfoNV* pGroups = {}; + uint32_t pipelineCount = {}; + const VULKAN_HPP_NAMESPACE::Pipeline* pPipelines = {}; + + }; + static_assert( sizeof( GraphicsPipelineShaderGroupsCreateInfoNV ) == sizeof( VkGraphicsPipelineShaderGroupsCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = GraphicsPipelineShaderGroupsCreateInfoNV; + }; + + struct HeadlessSurfaceCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eHeadlessSurfaceCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR HeadlessSurfaceCreateInfoEXT(VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ) + {} + + VULKAN_HPP_CONSTEXPR HeadlessSurfaceCreateInfoEXT( HeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + HeadlessSurfaceCreateInfoEXT( VkHeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + HeadlessSurfaceCreateInfoEXT & operator=( VkHeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + HeadlessSurfaceCreateInfoEXT & operator=( HeadlessSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( HeadlessSurfaceCreateInfoEXT ) ); + return *this; + } + + HeadlessSurfaceCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + HeadlessSurfaceCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + + operator VkHeadlessSurfaceCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkHeadlessSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( HeadlessSurfaceCreateInfoEXT const& ) const = default; +#else + bool operator==( HeadlessSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ); + } + + bool operator!=( HeadlessSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eHeadlessSurfaceCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT flags = {}; + + }; + static_assert( sizeof( HeadlessSurfaceCreateInfoEXT ) == sizeof( VkHeadlessSurfaceCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = HeadlessSurfaceCreateInfoEXT; + }; + +#ifdef VK_USE_PLATFORM_IOS_MVK + struct IOSSurfaceCreateInfoMVK + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eIosSurfaceCreateInfoMVK; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR IOSSurfaceCreateInfoMVK(VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags_ = {}, const void* pView_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pView( pView_ ) + {} + + VULKAN_HPP_CONSTEXPR IOSSurfaceCreateInfoMVK( IOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + IOSSurfaceCreateInfoMVK( VkIOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + IOSSurfaceCreateInfoMVK & operator=( VkIOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + IOSSurfaceCreateInfoMVK & operator=( IOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( IOSSurfaceCreateInfoMVK ) ); + return *this; + } + + IOSSurfaceCreateInfoMVK & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + IOSSurfaceCreateInfoMVK & setFlags( VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + IOSSurfaceCreateInfoMVK & setPView( const void* pView_ ) VULKAN_HPP_NOEXCEPT + { + pView = pView_; + return *this; + } + + + operator VkIOSSurfaceCreateInfoMVK const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkIOSSurfaceCreateInfoMVK &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( IOSSurfaceCreateInfoMVK const& ) const = default; +#else + bool operator==( IOSSurfaceCreateInfoMVK const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pView == rhs.pView ); + } + + bool operator!=( IOSSurfaceCreateInfoMVK const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eIosSurfaceCreateInfoMVK; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::IOSSurfaceCreateFlagsMVK flags = {}; + const void* pView = {}; + + }; + static_assert( sizeof( IOSSurfaceCreateInfoMVK ) == sizeof( VkIOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = IOSSurfaceCreateInfoMVK; + }; +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + + struct ImageDrmFormatModifierExplicitCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT(uint64_t drmFormatModifier_ = {}, uint32_t drmFormatModifierPlaneCount_ = {}, const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifier( drmFormatModifier_ ), drmFormatModifierPlaneCount( drmFormatModifierPlaneCount_ ), pPlaneLayouts( pPlaneLayouts_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageDrmFormatModifierExplicitCreateInfoEXT( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageDrmFormatModifierExplicitCreateInfoEXT( uint64_t drmFormatModifier_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & planeLayouts_ ) + : drmFormatModifier( drmFormatModifier_ ), drmFormatModifierPlaneCount( static_cast( planeLayouts_.size() ) ), pPlaneLayouts( planeLayouts_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageDrmFormatModifierExplicitCreateInfoEXT & operator=( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageDrmFormatModifierExplicitCreateInfoEXT & operator=( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageDrmFormatModifierExplicitCreateInfoEXT ) ); + return *this; + } + + ImageDrmFormatModifierExplicitCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageDrmFormatModifierExplicitCreateInfoEXT & setDrmFormatModifier( uint64_t drmFormatModifier_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifier = drmFormatModifier_; + return *this; + } + + ImageDrmFormatModifierExplicitCreateInfoEXT & setDrmFormatModifierPlaneCount( uint32_t drmFormatModifierPlaneCount_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifierPlaneCount = drmFormatModifierPlaneCount_; + return *this; + } + + ImageDrmFormatModifierExplicitCreateInfoEXT & setPPlaneLayouts( const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts_ ) VULKAN_HPP_NOEXCEPT + { + pPlaneLayouts = pPlaneLayouts_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageDrmFormatModifierExplicitCreateInfoEXT & setPlaneLayouts( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & planeLayouts_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifierPlaneCount = static_cast( planeLayouts_.size() ); + pPlaneLayouts = planeLayouts_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkImageDrmFormatModifierExplicitCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageDrmFormatModifierExplicitCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageDrmFormatModifierExplicitCreateInfoEXT const& ) const = default; +#else + bool operator==( ImageDrmFormatModifierExplicitCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( drmFormatModifier == rhs.drmFormatModifier ) + && ( drmFormatModifierPlaneCount == rhs.drmFormatModifierPlaneCount ) + && ( pPlaneLayouts == rhs.pPlaneLayouts ); + } + + bool operator!=( ImageDrmFormatModifierExplicitCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT; + const void* pNext = {}; + uint64_t drmFormatModifier = {}; + uint32_t drmFormatModifierPlaneCount = {}; + const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts = {}; + + }; + static_assert( sizeof( ImageDrmFormatModifierExplicitCreateInfoEXT ) == sizeof( VkImageDrmFormatModifierExplicitCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageDrmFormatModifierExplicitCreateInfoEXT; + }; + + struct ImageDrmFormatModifierListCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageDrmFormatModifierListCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierListCreateInfoEXT(uint32_t drmFormatModifierCount_ = {}, const uint64_t* pDrmFormatModifiers_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifierCount( drmFormatModifierCount_ ), pDrmFormatModifiers( pDrmFormatModifiers_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierListCreateInfoEXT( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageDrmFormatModifierListCreateInfoEXT( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageDrmFormatModifierListCreateInfoEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & drmFormatModifiers_ ) + : drmFormatModifierCount( static_cast( drmFormatModifiers_.size() ) ), pDrmFormatModifiers( drmFormatModifiers_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageDrmFormatModifierListCreateInfoEXT & operator=( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageDrmFormatModifierListCreateInfoEXT & operator=( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageDrmFormatModifierListCreateInfoEXT ) ); + return *this; + } + + ImageDrmFormatModifierListCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageDrmFormatModifierListCreateInfoEXT & setDrmFormatModifierCount( uint32_t drmFormatModifierCount_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifierCount = drmFormatModifierCount_; + return *this; + } + + ImageDrmFormatModifierListCreateInfoEXT & setPDrmFormatModifiers( const uint64_t* pDrmFormatModifiers_ ) VULKAN_HPP_NOEXCEPT + { + pDrmFormatModifiers = pDrmFormatModifiers_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageDrmFormatModifierListCreateInfoEXT & setDrmFormatModifiers( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & drmFormatModifiers_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifierCount = static_cast( drmFormatModifiers_.size() ); + pDrmFormatModifiers = drmFormatModifiers_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkImageDrmFormatModifierListCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageDrmFormatModifierListCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageDrmFormatModifierListCreateInfoEXT const& ) const = default; +#else + bool operator==( ImageDrmFormatModifierListCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( drmFormatModifierCount == rhs.drmFormatModifierCount ) + && ( pDrmFormatModifiers == rhs.pDrmFormatModifiers ); + } + + bool operator!=( ImageDrmFormatModifierListCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierListCreateInfoEXT; + const void* pNext = {}; + uint32_t drmFormatModifierCount = {}; + const uint64_t* pDrmFormatModifiers = {}; + + }; + static_assert( sizeof( ImageDrmFormatModifierListCreateInfoEXT ) == sizeof( VkImageDrmFormatModifierListCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageDrmFormatModifierListCreateInfoEXT; + }; + + struct ImageFormatListCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageFormatListCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageFormatListCreateInfo(uint32_t viewFormatCount_ = {}, const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ = {}) VULKAN_HPP_NOEXCEPT + : viewFormatCount( viewFormatCount_ ), pViewFormats( pViewFormats_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageFormatListCreateInfo( ImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageFormatListCreateInfo( VkImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageFormatListCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) + : viewFormatCount( static_cast( viewFormats_.size() ) ), pViewFormats( viewFormats_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageFormatListCreateInfo & operator=( VkImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageFormatListCreateInfo & operator=( ImageFormatListCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageFormatListCreateInfo ) ); + return *this; + } + + ImageFormatListCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageFormatListCreateInfo & setViewFormatCount( uint32_t viewFormatCount_ ) VULKAN_HPP_NOEXCEPT + { + viewFormatCount = viewFormatCount_; + return *this; + } + + ImageFormatListCreateInfo & setPViewFormats( const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ ) VULKAN_HPP_NOEXCEPT + { + pViewFormats = pViewFormats_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ImageFormatListCreateInfo & setViewFormats( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewFormats_ ) VULKAN_HPP_NOEXCEPT + { + viewFormatCount = static_cast( viewFormats_.size() ); + pViewFormats = viewFormats_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkImageFormatListCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageFormatListCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageFormatListCreateInfo const& ) const = default; +#else + bool operator==( ImageFormatListCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( viewFormatCount == rhs.viewFormatCount ) + && ( pViewFormats == rhs.pViewFormats ); + } + + bool operator!=( ImageFormatListCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatListCreateInfo; + const void* pNext = {}; + uint32_t viewFormatCount = {}; + const VULKAN_HPP_NAMESPACE::Format* pViewFormats = {}; + + }; + static_assert( sizeof( ImageFormatListCreateInfo ) == sizeof( VkImageFormatListCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageFormatListCreateInfo; + }; + using ImageFormatListCreateInfoKHR = ImageFormatListCreateInfo; + +#ifdef VK_USE_PLATFORM_FUCHSIA + struct ImagePipeSurfaceCreateInfoFUCHSIA + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImagepipeSurfaceCreateInfoFUCHSIA; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImagePipeSurfaceCreateInfoFUCHSIA(VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ = {}, zx_handle_t imagePipeHandle_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), imagePipeHandle( imagePipeHandle_ ) + {} + + VULKAN_HPP_CONSTEXPR ImagePipeSurfaceCreateInfoFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImagePipeSurfaceCreateInfoFUCHSIA( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImagePipeSurfaceCreateInfoFUCHSIA & operator=( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImagePipeSurfaceCreateInfoFUCHSIA & operator=( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImagePipeSurfaceCreateInfoFUCHSIA ) ); + return *this; + } + + ImagePipeSurfaceCreateInfoFUCHSIA & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImagePipeSurfaceCreateInfoFUCHSIA & setFlags( VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ImagePipeSurfaceCreateInfoFUCHSIA & setImagePipeHandle( zx_handle_t imagePipeHandle_ ) VULKAN_HPP_NOEXCEPT + { + imagePipeHandle = imagePipeHandle_; + return *this; + } + + + operator VkImagePipeSurfaceCreateInfoFUCHSIA const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImagePipeSurfaceCreateInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImagePipeSurfaceCreateInfoFUCHSIA const& ) const = default; +#else + bool operator==( ImagePipeSurfaceCreateInfoFUCHSIA const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( memcmp( &imagePipeHandle, &rhs.imagePipeHandle, sizeof( zx_handle_t ) ) == 0 ); + } + + bool operator!=( ImagePipeSurfaceCreateInfoFUCHSIA const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagepipeSurfaceCreateInfoFUCHSIA; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags = {}; + zx_handle_t imagePipeHandle = {}; + + }; + static_assert( sizeof( ImagePipeSurfaceCreateInfoFUCHSIA ) == sizeof( VkImagePipeSurfaceCreateInfoFUCHSIA ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImagePipeSurfaceCreateInfoFUCHSIA; + }; +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + + struct ImagePlaneMemoryRequirementsInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImagePlaneMemoryRequirementsInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImagePlaneMemoryRequirementsInfo(VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor) VULKAN_HPP_NOEXCEPT + : planeAspect( planeAspect_ ) + {} + + VULKAN_HPP_CONSTEXPR ImagePlaneMemoryRequirementsInfo( ImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImagePlaneMemoryRequirementsInfo( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImagePlaneMemoryRequirementsInfo & operator=( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImagePlaneMemoryRequirementsInfo & operator=( ImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImagePlaneMemoryRequirementsInfo ) ); + return *this; + } + + ImagePlaneMemoryRequirementsInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImagePlaneMemoryRequirementsInfo & setPlaneAspect( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ ) VULKAN_HPP_NOEXCEPT + { + planeAspect = planeAspect_; + return *this; + } + + + operator VkImagePlaneMemoryRequirementsInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImagePlaneMemoryRequirementsInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImagePlaneMemoryRequirementsInfo const& ) const = default; +#else + bool operator==( ImagePlaneMemoryRequirementsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( planeAspect == rhs.planeAspect ); + } + + bool operator!=( ImagePlaneMemoryRequirementsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagePlaneMemoryRequirementsInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor; + + }; + static_assert( sizeof( ImagePlaneMemoryRequirementsInfo ) == sizeof( VkImagePlaneMemoryRequirementsInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImagePlaneMemoryRequirementsInfo; + }; + using ImagePlaneMemoryRequirementsInfoKHR = ImagePlaneMemoryRequirementsInfo; + + struct ImageStencilUsageCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageStencilUsageCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageStencilUsageCreateInfo(VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ = {}) VULKAN_HPP_NOEXCEPT + : stencilUsage( stencilUsage_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageStencilUsageCreateInfo( ImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageStencilUsageCreateInfo( VkImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageStencilUsageCreateInfo & operator=( VkImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageStencilUsageCreateInfo & operator=( ImageStencilUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageStencilUsageCreateInfo ) ); + return *this; + } + + ImageStencilUsageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageStencilUsageCreateInfo & setStencilUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ ) VULKAN_HPP_NOEXCEPT + { + stencilUsage = stencilUsage_; + return *this; + } + + + operator VkImageStencilUsageCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageStencilUsageCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageStencilUsageCreateInfo const& ) const = default; +#else + bool operator==( ImageStencilUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( stencilUsage == rhs.stencilUsage ); + } + + bool operator!=( ImageStencilUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageStencilUsageCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage = {}; + + }; + static_assert( sizeof( ImageStencilUsageCreateInfo ) == sizeof( VkImageStencilUsageCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageStencilUsageCreateInfo; + }; + using ImageStencilUsageCreateInfoEXT = ImageStencilUsageCreateInfo; + + struct ImageSwapchainCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageSwapchainCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageSwapchainCreateInfoKHR(VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {}) VULKAN_HPP_NOEXCEPT + : swapchain( swapchain_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageSwapchainCreateInfoKHR( ImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageSwapchainCreateInfoKHR( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageSwapchainCreateInfoKHR & operator=( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageSwapchainCreateInfoKHR & operator=( ImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageSwapchainCreateInfoKHR ) ); + return *this; + } + + ImageSwapchainCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageSwapchainCreateInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT + { + swapchain = swapchain_; + return *this; + } + + + operator VkImageSwapchainCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageSwapchainCreateInfoKHR const& ) const = default; +#else + bool operator==( ImageSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchain == rhs.swapchain ); + } + + bool operator!=( ImageSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSwapchainCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {}; + + }; + static_assert( sizeof( ImageSwapchainCreateInfoKHR ) == sizeof( VkImageSwapchainCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageSwapchainCreateInfoKHR; + }; + + struct ImageViewASTCDecodeModeEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewAstcDecodeModeEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageViewASTCDecodeModeEXT(VULKAN_HPP_NAMESPACE::Format decodeMode_ = VULKAN_HPP_NAMESPACE::Format::eUndefined) VULKAN_HPP_NOEXCEPT + : decodeMode( decodeMode_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageViewASTCDecodeModeEXT( ImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageViewASTCDecodeModeEXT( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageViewASTCDecodeModeEXT & operator=( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageViewASTCDecodeModeEXT & operator=( ImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageViewASTCDecodeModeEXT ) ); + return *this; + } + + ImageViewASTCDecodeModeEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageViewASTCDecodeModeEXT & setDecodeMode( VULKAN_HPP_NAMESPACE::Format decodeMode_ ) VULKAN_HPP_NOEXCEPT + { + decodeMode = decodeMode_; + return *this; + } + + + operator VkImageViewASTCDecodeModeEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageViewASTCDecodeModeEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageViewASTCDecodeModeEXT const& ) const = default; +#else + bool operator==( ImageViewASTCDecodeModeEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( decodeMode == rhs.decodeMode ); + } + + bool operator!=( ImageViewASTCDecodeModeEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewAstcDecodeModeEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Format decodeMode = VULKAN_HPP_NAMESPACE::Format::eUndefined; + + }; + static_assert( sizeof( ImageViewASTCDecodeModeEXT ) == sizeof( VkImageViewASTCDecodeModeEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageViewASTCDecodeModeEXT; + }; + + struct ImageViewUsageCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewUsageCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageViewUsageCreateInfo(VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {}) VULKAN_HPP_NOEXCEPT + : usage( usage_ ) + {} + + VULKAN_HPP_CONSTEXPR ImageViewUsageCreateInfo( ImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageViewUsageCreateInfo( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImageViewUsageCreateInfo & operator=( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImageViewUsageCreateInfo & operator=( ImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImageViewUsageCreateInfo ) ); + return *this; + } + + ImageViewUsageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImageViewUsageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT + { + usage = usage_; + return *this; + } + + + operator VkImageViewUsageCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageViewUsageCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImageViewUsageCreateInfo const& ) const = default; +#else + bool operator==( ImageViewUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( usage == rhs.usage ); + } + + bool operator!=( ImageViewUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewUsageCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {}; + + }; + static_assert( sizeof( ImageViewUsageCreateInfo ) == sizeof( VkImageViewUsageCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImageViewUsageCreateInfo; + }; + using ImageViewUsageCreateInfoKHR = ImageViewUsageCreateInfo; + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + struct ImportAndroidHardwareBufferInfoANDROID + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportAndroidHardwareBufferInfoANDROID; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportAndroidHardwareBufferInfoANDROID(struct AHardwareBuffer* buffer_ = {}) VULKAN_HPP_NOEXCEPT + : buffer( buffer_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportAndroidHardwareBufferInfoANDROID( ImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportAndroidHardwareBufferInfoANDROID( VkImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportAndroidHardwareBufferInfoANDROID & operator=( VkImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportAndroidHardwareBufferInfoANDROID & operator=( ImportAndroidHardwareBufferInfoANDROID const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportAndroidHardwareBufferInfoANDROID ) ); + return *this; + } + + ImportAndroidHardwareBufferInfoANDROID & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportAndroidHardwareBufferInfoANDROID & setBuffer( struct AHardwareBuffer* buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + + operator VkImportAndroidHardwareBufferInfoANDROID const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportAndroidHardwareBufferInfoANDROID &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportAndroidHardwareBufferInfoANDROID const& ) const = default; +#else + bool operator==( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( buffer == rhs.buffer ); + } + + bool operator!=( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportAndroidHardwareBufferInfoANDROID; + const void* pNext = {}; + struct AHardwareBuffer* buffer = {}; + + }; + static_assert( sizeof( ImportAndroidHardwareBufferInfoANDROID ) == sizeof( VkImportAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportAndroidHardwareBufferInfoANDROID; + }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + struct ImportMemoryFdInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryFdInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, int fd_ = {}) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ), fd( fd_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportMemoryFdInfoKHR( ImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportMemoryFdInfoKHR( VkImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportMemoryFdInfoKHR & operator=( VkImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportMemoryFdInfoKHR & operator=( ImportMemoryFdInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportMemoryFdInfoKHR ) ); + return *this; + } + + ImportMemoryFdInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportMemoryFdInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportMemoryFdInfoKHR & setFd( int fd_ ) VULKAN_HPP_NOEXCEPT + { + fd = fd_; + return *this; + } + + + operator VkImportMemoryFdInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportMemoryFdInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportMemoryFdInfoKHR const& ) const = default; +#else + bool operator==( ImportMemoryFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ) + && ( fd == rhs.fd ); + } + + bool operator!=( ImportMemoryFdInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryFdInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + int fd = {}; + + }; + static_assert( sizeof( ImportMemoryFdInfoKHR ) == sizeof( VkImportMemoryFdInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportMemoryFdInfoKHR; + }; + + struct ImportMemoryHostPointerInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryHostPointerInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportMemoryHostPointerInfoEXT(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void* pHostPointer_ = {}) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ), pHostPointer( pHostPointer_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportMemoryHostPointerInfoEXT( ImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportMemoryHostPointerInfoEXT( VkImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportMemoryHostPointerInfoEXT & operator=( VkImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportMemoryHostPointerInfoEXT & operator=( ImportMemoryHostPointerInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) ); + return *this; + } + + ImportMemoryHostPointerInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportMemoryHostPointerInfoEXT & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportMemoryHostPointerInfoEXT & setPHostPointer( void* pHostPointer_ ) VULKAN_HPP_NOEXCEPT + { + pHostPointer = pHostPointer_; + return *this; + } + + + operator VkImportMemoryHostPointerInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportMemoryHostPointerInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportMemoryHostPointerInfoEXT const& ) const = default; +#else + bool operator==( ImportMemoryHostPointerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ) + && ( pHostPointer == rhs.pHostPointer ); + } + + bool operator!=( ImportMemoryHostPointerInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + void* pHostPointer = {}; + + }; + static_assert( sizeof( ImportMemoryHostPointerInfoEXT ) == sizeof( VkImportMemoryHostPointerInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportMemoryHostPointerInfoEXT; + }; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ImportMemoryWin32HandleInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryWin32HandleInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportMemoryWin32HandleInfoKHR(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = {}, LPCWSTR name_ = {}) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ), handle( handle_ ), name( name_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportMemoryWin32HandleInfoKHR( ImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportMemoryWin32HandleInfoKHR( VkImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportMemoryWin32HandleInfoKHR & operator=( VkImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportMemoryWin32HandleInfoKHR & operator=( ImportMemoryWin32HandleInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportMemoryWin32HandleInfoKHR ) ); + return *this; + } + + ImportMemoryWin32HandleInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportMemoryWin32HandleInfoKHR & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportMemoryWin32HandleInfoKHR & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT + { + handle = handle_; + return *this; + } + + ImportMemoryWin32HandleInfoKHR & setName( LPCWSTR name_ ) VULKAN_HPP_NOEXCEPT + { + name = name_; + return *this; + } + + + operator VkImportMemoryWin32HandleInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportMemoryWin32HandleInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportMemoryWin32HandleInfoKHR const& ) const = default; +#else + bool operator==( ImportMemoryWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ) + && ( handle == rhs.handle ) + && ( name == rhs.name ); + } + + bool operator!=( ImportMemoryWin32HandleInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryWin32HandleInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + HANDLE handle = {}; + LPCWSTR name = {}; + + }; + static_assert( sizeof( ImportMemoryWin32HandleInfoKHR ) == sizeof( VkImportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportMemoryWin32HandleInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct ImportMemoryWin32HandleInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImportMemoryWin32HandleInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImportMemoryWin32HandleInfoNV(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType_ = {}, HANDLE handle_ = {}) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ), handle( handle_ ) + {} + + VULKAN_HPP_CONSTEXPR ImportMemoryWin32HandleInfoNV( ImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImportMemoryWin32HandleInfoNV( VkImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ImportMemoryWin32HandleInfoNV & operator=( VkImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ImportMemoryWin32HandleInfoNV & operator=( ImportMemoryWin32HandleInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ImportMemoryWin32HandleInfoNV ) ); + return *this; + } + + ImportMemoryWin32HandleInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ImportMemoryWin32HandleInfoNV & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + ImportMemoryWin32HandleInfoNV & setHandle( HANDLE handle_ ) VULKAN_HPP_NOEXCEPT + { + handle = handle_; + return *this; + } + + + operator VkImportMemoryWin32HandleInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImportMemoryWin32HandleInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ImportMemoryWin32HandleInfoNV const& ) const = default; +#else + bool operator==( ImportMemoryWin32HandleInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ) + && ( handle == rhs.handle ); + } + + bool operator!=( ImportMemoryWin32HandleInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImportMemoryWin32HandleInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType = {}; + HANDLE handle = {}; + + }; + static_assert( sizeof( ImportMemoryWin32HandleInfoNV ) == sizeof( VkImportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ImportMemoryWin32HandleInfoNV; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct InputAttachmentAspectReference + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR InputAttachmentAspectReference(uint32_t subpass_ = {}, uint32_t inputAttachmentIndex_ = {}, VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}) VULKAN_HPP_NOEXCEPT + : subpass( subpass_ ), inputAttachmentIndex( inputAttachmentIndex_ ), aspectMask( aspectMask_ ) + {} + + VULKAN_HPP_CONSTEXPR InputAttachmentAspectReference( InputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + InputAttachmentAspectReference( VkInputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + InputAttachmentAspectReference & operator=( VkInputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + InputAttachmentAspectReference & operator=( InputAttachmentAspectReference const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( InputAttachmentAspectReference ) ); + return *this; + } + + InputAttachmentAspectReference & setSubpass( uint32_t subpass_ ) VULKAN_HPP_NOEXCEPT + { + subpass = subpass_; + return *this; + } + + InputAttachmentAspectReference & setInputAttachmentIndex( uint32_t inputAttachmentIndex_ ) VULKAN_HPP_NOEXCEPT + { + inputAttachmentIndex = inputAttachmentIndex_; + return *this; + } + + InputAttachmentAspectReference & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT + { + aspectMask = aspectMask_; + return *this; + } + + + operator VkInputAttachmentAspectReference const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkInputAttachmentAspectReference &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( InputAttachmentAspectReference const& ) const = default; +#else + bool operator==( InputAttachmentAspectReference const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( subpass == rhs.subpass ) + && ( inputAttachmentIndex == rhs.inputAttachmentIndex ) + && ( aspectMask == rhs.aspectMask ); + } + + bool operator!=( InputAttachmentAspectReference const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t subpass = {}; + uint32_t inputAttachmentIndex = {}; + VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}; + + }; + static_assert( sizeof( InputAttachmentAspectReference ) == sizeof( VkInputAttachmentAspectReference ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + using InputAttachmentAspectReferenceKHR = InputAttachmentAspectReference; + + struct InstanceCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eInstanceCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR InstanceCreateInfo(VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_ = {}, const VULKAN_HPP_NAMESPACE::ApplicationInfo* pApplicationInfo_ = {}, uint32_t enabledLayerCount_ = {}, const char* const * ppEnabledLayerNames_ = {}, uint32_t enabledExtensionCount_ = {}, const char* const * ppEnabledExtensionNames_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pApplicationInfo( pApplicationInfo_ ), enabledLayerCount( enabledLayerCount_ ), ppEnabledLayerNames( ppEnabledLayerNames_ ), enabledExtensionCount( enabledExtensionCount_ ), ppEnabledExtensionNames( ppEnabledExtensionNames_ ) + {} + + VULKAN_HPP_CONSTEXPR InstanceCreateInfo( InstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + InstanceCreateInfo( VkInstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + InstanceCreateInfo( VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_, const VULKAN_HPP_NAMESPACE::ApplicationInfo* pApplicationInfo_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ = {} ) + : flags( flags_ ), pApplicationInfo( pApplicationInfo_ ), enabledLayerCount( static_cast( pEnabledLayerNames_.size() ) ), ppEnabledLayerNames( pEnabledLayerNames_.data() ), enabledExtensionCount( static_cast( pEnabledExtensionNames_.size() ) ), ppEnabledExtensionNames( pEnabledExtensionNames_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + InstanceCreateInfo & operator=( VkInstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + InstanceCreateInfo & operator=( InstanceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( InstanceCreateInfo ) ); + return *this; + } + + InstanceCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + InstanceCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + InstanceCreateInfo & setPApplicationInfo( const VULKAN_HPP_NAMESPACE::ApplicationInfo* pApplicationInfo_ ) VULKAN_HPP_NOEXCEPT + { + pApplicationInfo = pApplicationInfo_; + return *this; + } + + InstanceCreateInfo & setEnabledLayerCount( uint32_t enabledLayerCount_ ) VULKAN_HPP_NOEXCEPT + { + enabledLayerCount = enabledLayerCount_; + return *this; + } + + InstanceCreateInfo & setPpEnabledLayerNames( const char* const * ppEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT + { + ppEnabledLayerNames = ppEnabledLayerNames_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + InstanceCreateInfo & setPEnabledLayerNames( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledLayerNames_ ) VULKAN_HPP_NOEXCEPT + { + enabledLayerCount = static_cast( pEnabledLayerNames_.size() ); + ppEnabledLayerNames = pEnabledLayerNames_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + InstanceCreateInfo & setEnabledExtensionCount( uint32_t enabledExtensionCount_ ) VULKAN_HPP_NOEXCEPT + { + enabledExtensionCount = enabledExtensionCount_; + return *this; + } + + InstanceCreateInfo & setPpEnabledExtensionNames( const char* const * ppEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT + { + ppEnabledExtensionNames = ppEnabledExtensionNames_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + InstanceCreateInfo & setPEnabledExtensionNames( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pEnabledExtensionNames_ ) VULKAN_HPP_NOEXCEPT + { + enabledExtensionCount = static_cast( pEnabledExtensionNames_.size() ); + ppEnabledExtensionNames = pEnabledExtensionNames_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkInstanceCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkInstanceCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( InstanceCreateInfo const& ) const = default; +#else + bool operator==( InstanceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pApplicationInfo == rhs.pApplicationInfo ) + && ( enabledLayerCount == rhs.enabledLayerCount ) + && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames ) + && ( enabledExtensionCount == rhs.enabledExtensionCount ) + && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames ); + } + + bool operator!=( InstanceCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eInstanceCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::InstanceCreateFlags flags = {}; + const VULKAN_HPP_NAMESPACE::ApplicationInfo* pApplicationInfo = {}; + uint32_t enabledLayerCount = {}; + const char* const * ppEnabledLayerNames = {}; + uint32_t enabledExtensionCount = {}; + const char* const * ppEnabledExtensionNames = {}; + + }; + static_assert( sizeof( InstanceCreateInfo ) == sizeof( VkInstanceCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = InstanceCreateInfo; + }; + +#ifdef VK_USE_PLATFORM_MACOS_MVK + struct MacOSSurfaceCreateInfoMVK + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMacosSurfaceCreateInfoMVK; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MacOSSurfaceCreateInfoMVK(VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags_ = {}, const void* pView_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pView( pView_ ) + {} + + VULKAN_HPP_CONSTEXPR MacOSSurfaceCreateInfoMVK( MacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MacOSSurfaceCreateInfoMVK( VkMacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MacOSSurfaceCreateInfoMVK & operator=( VkMacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MacOSSurfaceCreateInfoMVK & operator=( MacOSSurfaceCreateInfoMVK const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MacOSSurfaceCreateInfoMVK ) ); + return *this; + } + + MacOSSurfaceCreateInfoMVK & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MacOSSurfaceCreateInfoMVK & setFlags( VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + MacOSSurfaceCreateInfoMVK & setPView( const void* pView_ ) VULKAN_HPP_NOEXCEPT + { + pView = pView_; + return *this; + } + + + operator VkMacOSSurfaceCreateInfoMVK const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMacOSSurfaceCreateInfoMVK &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MacOSSurfaceCreateInfoMVK const& ) const = default; +#else + bool operator==( MacOSSurfaceCreateInfoMVK const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pView == rhs.pView ); + } + + bool operator!=( MacOSSurfaceCreateInfoMVK const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMacosSurfaceCreateInfoMVK; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateFlagsMVK flags = {}; + const void* pView = {}; + + }; + static_assert( sizeof( MacOSSurfaceCreateInfoMVK ) == sizeof( VkMacOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MacOSSurfaceCreateInfoMVK; + }; +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ + + struct MemoryAllocateFlagsInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryAllocateFlagsInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryAllocateFlagsInfo(VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags_ = {}, uint32_t deviceMask_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), deviceMask( deviceMask_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryAllocateFlagsInfo( MemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryAllocateFlagsInfo( VkMemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryAllocateFlagsInfo & operator=( VkMemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryAllocateFlagsInfo & operator=( MemoryAllocateFlagsInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryAllocateFlagsInfo ) ); + return *this; + } + + MemoryAllocateFlagsInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryAllocateFlagsInfo & setFlags( VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + MemoryAllocateFlagsInfo & setDeviceMask( uint32_t deviceMask_ ) VULKAN_HPP_NOEXCEPT + { + deviceMask = deviceMask_; + return *this; + } + + + operator VkMemoryAllocateFlagsInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryAllocateFlagsInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryAllocateFlagsInfo const& ) const = default; +#else + bool operator==( MemoryAllocateFlagsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( deviceMask == rhs.deviceMask ); + } + + bool operator!=( MemoryAllocateFlagsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryAllocateFlagsInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::MemoryAllocateFlags flags = {}; + uint32_t deviceMask = {}; + + }; + static_assert( sizeof( MemoryAllocateFlagsInfo ) == sizeof( VkMemoryAllocateFlagsInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryAllocateFlagsInfo; + }; + using MemoryAllocateFlagsInfoKHR = MemoryAllocateFlagsInfo; + + struct MemoryDedicatedAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryDedicatedAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo(VULKAN_HPP_NAMESPACE::Image image_ = {}, VULKAN_HPP_NAMESPACE::Buffer buffer_ = {}) VULKAN_HPP_NOEXCEPT + : image( image_ ), buffer( buffer_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo( MemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryDedicatedAllocateInfo( VkMemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryDedicatedAllocateInfo & operator=( VkMemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryDedicatedAllocateInfo & operator=( MemoryDedicatedAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryDedicatedAllocateInfo ) ); + return *this; + } + + MemoryDedicatedAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryDedicatedAllocateInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT + { + image = image_; + return *this; + } + + MemoryDedicatedAllocateInfo & setBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer_ ) VULKAN_HPP_NOEXCEPT + { + buffer = buffer_; + return *this; + } + + + operator VkMemoryDedicatedAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryDedicatedAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryDedicatedAllocateInfo const& ) const = default; +#else + bool operator==( MemoryDedicatedAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( image == rhs.image ) + && ( buffer == rhs.buffer ); + } + + bool operator!=( MemoryDedicatedAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryDedicatedAllocateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Image image = {}; + VULKAN_HPP_NAMESPACE::Buffer buffer = {}; + + }; + static_assert( sizeof( MemoryDedicatedAllocateInfo ) == sizeof( VkMemoryDedicatedAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryDedicatedAllocateInfo; + }; + using MemoryDedicatedAllocateInfoKHR = MemoryDedicatedAllocateInfo; + + struct MemoryDedicatedRequirements + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryDedicatedRequirements; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryDedicatedRequirements(VULKAN_HPP_NAMESPACE::Bool32 prefersDedicatedAllocation_ = {}, VULKAN_HPP_NAMESPACE::Bool32 requiresDedicatedAllocation_ = {}) VULKAN_HPP_NOEXCEPT + : prefersDedicatedAllocation( prefersDedicatedAllocation_ ), requiresDedicatedAllocation( requiresDedicatedAllocation_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryDedicatedRequirements( MemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryDedicatedRequirements( VkMemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryDedicatedRequirements & operator=( VkMemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryDedicatedRequirements & operator=( MemoryDedicatedRequirements const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryDedicatedRequirements ) ); + return *this; + } + + + operator VkMemoryDedicatedRequirements const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryDedicatedRequirements &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryDedicatedRequirements const& ) const = default; +#else + bool operator==( MemoryDedicatedRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( prefersDedicatedAllocation == rhs.prefersDedicatedAllocation ) + && ( requiresDedicatedAllocation == rhs.requiresDedicatedAllocation ); + } + + bool operator!=( MemoryDedicatedRequirements const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryDedicatedRequirements; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 prefersDedicatedAllocation = {}; + VULKAN_HPP_NAMESPACE::Bool32 requiresDedicatedAllocation = {}; + + }; + static_assert( sizeof( MemoryDedicatedRequirements ) == sizeof( VkMemoryDedicatedRequirements ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryDedicatedRequirements; + }; + using MemoryDedicatedRequirementsKHR = MemoryDedicatedRequirements; + + struct MemoryOpaqueCaptureAddressAllocateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryOpaqueCaptureAddressAllocateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryOpaqueCaptureAddressAllocateInfo(uint64_t opaqueCaptureAddress_ = {}) VULKAN_HPP_NOEXCEPT + : opaqueCaptureAddress( opaqueCaptureAddress_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryOpaqueCaptureAddressAllocateInfo( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryOpaqueCaptureAddressAllocateInfo( VkMemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryOpaqueCaptureAddressAllocateInfo & operator=( VkMemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryOpaqueCaptureAddressAllocateInfo & operator=( MemoryOpaqueCaptureAddressAllocateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryOpaqueCaptureAddressAllocateInfo ) ); + return *this; + } + + MemoryOpaqueCaptureAddressAllocateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryOpaqueCaptureAddressAllocateInfo & setOpaqueCaptureAddress( uint64_t opaqueCaptureAddress_ ) VULKAN_HPP_NOEXCEPT + { + opaqueCaptureAddress = opaqueCaptureAddress_; + return *this; + } + + + operator VkMemoryOpaqueCaptureAddressAllocateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryOpaqueCaptureAddressAllocateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryOpaqueCaptureAddressAllocateInfo const& ) const = default; +#else + bool operator==( MemoryOpaqueCaptureAddressAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( opaqueCaptureAddress == rhs.opaqueCaptureAddress ); + } + + bool operator!=( MemoryOpaqueCaptureAddressAllocateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryOpaqueCaptureAddressAllocateInfo; + const void* pNext = {}; + uint64_t opaqueCaptureAddress = {}; + + }; + static_assert( sizeof( MemoryOpaqueCaptureAddressAllocateInfo ) == sizeof( VkMemoryOpaqueCaptureAddressAllocateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryOpaqueCaptureAddressAllocateInfo; + }; + using MemoryOpaqueCaptureAddressAllocateInfoKHR = MemoryOpaqueCaptureAddressAllocateInfo; + + struct MemoryPriorityAllocateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryPriorityAllocateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MemoryPriorityAllocateInfoEXT(float priority_ = {}) VULKAN_HPP_NOEXCEPT + : priority( priority_ ) + {} + + VULKAN_HPP_CONSTEXPR MemoryPriorityAllocateInfoEXT( MemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MemoryPriorityAllocateInfoEXT( VkMemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MemoryPriorityAllocateInfoEXT & operator=( VkMemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MemoryPriorityAllocateInfoEXT & operator=( MemoryPriorityAllocateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MemoryPriorityAllocateInfoEXT ) ); + return *this; + } + + MemoryPriorityAllocateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MemoryPriorityAllocateInfoEXT & setPriority( float priority_ ) VULKAN_HPP_NOEXCEPT + { + priority = priority_; + return *this; + } + + + operator VkMemoryPriorityAllocateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMemoryPriorityAllocateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MemoryPriorityAllocateInfoEXT const& ) const = default; +#else + bool operator==( MemoryPriorityAllocateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( priority == rhs.priority ); + } + + bool operator!=( MemoryPriorityAllocateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryPriorityAllocateInfoEXT; + const void* pNext = {}; + float priority = {}; + + }; + static_assert( sizeof( MemoryPriorityAllocateInfoEXT ) == sizeof( VkMemoryPriorityAllocateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MemoryPriorityAllocateInfoEXT; + }; + +#ifdef VK_USE_PLATFORM_METAL_EXT + struct MetalSurfaceCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMetalSurfaceCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR MetalSurfaceCreateInfoEXT(VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags_ = {}, const CAMetalLayer* pLayer_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), pLayer( pLayer_ ) + {} + + VULKAN_HPP_CONSTEXPR MetalSurfaceCreateInfoEXT( MetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + MetalSurfaceCreateInfoEXT( VkMetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + MetalSurfaceCreateInfoEXT & operator=( VkMetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + MetalSurfaceCreateInfoEXT & operator=( MetalSurfaceCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( MetalSurfaceCreateInfoEXT ) ); + return *this; + } + + MetalSurfaceCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + MetalSurfaceCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + MetalSurfaceCreateInfoEXT & setPLayer( const CAMetalLayer* pLayer_ ) VULKAN_HPP_NOEXCEPT + { + pLayer = pLayer_; + return *this; + } + + + operator VkMetalSurfaceCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkMetalSurfaceCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( MetalSurfaceCreateInfoEXT const& ) const = default; +#else + bool operator==( MetalSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( pLayer == rhs.pLayer ); + } + + bool operator!=( MetalSurfaceCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMetalSurfaceCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::MetalSurfaceCreateFlagsEXT flags = {}; + const CAMetalLayer* pLayer = {}; + + }; + static_assert( sizeof( MetalSurfaceCreateInfoEXT ) == sizeof( VkMetalSurfaceCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = MetalSurfaceCreateInfoEXT; + }; +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + + union PerformanceCounterResultKHR + { + PerformanceCounterResultKHR( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR const& rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR ) ); + } + + PerformanceCounterResultKHR( int32_t int32_ = {} ) + : int32( int32_ ) + {} + + PerformanceCounterResultKHR( int64_t int64_ ) + : int64( int64_ ) + {} + + PerformanceCounterResultKHR( uint32_t uint32_ ) + : uint32( uint32_ ) + {} + + PerformanceCounterResultKHR( uint64_t uint64_ ) + : uint64( uint64_ ) + {} + + PerformanceCounterResultKHR( float float32_ ) + : float32( float32_ ) + {} + + PerformanceCounterResultKHR( double float64_ ) + : float64( float64_ ) + {} + + PerformanceCounterResultKHR & setInt32( int32_t int32_ ) VULKAN_HPP_NOEXCEPT + { + int32 = int32_; + return *this; + } + + PerformanceCounterResultKHR & setInt64( int64_t int64_ ) VULKAN_HPP_NOEXCEPT + { + int64 = int64_; + return *this; + } + + PerformanceCounterResultKHR & setUint32( uint32_t uint32_ ) VULKAN_HPP_NOEXCEPT + { + uint32 = uint32_; + return *this; + } + + PerformanceCounterResultKHR & setUint64( uint64_t uint64_ ) VULKAN_HPP_NOEXCEPT + { + uint64 = uint64_; + return *this; + } + + PerformanceCounterResultKHR & setFloat32( float float32_ ) VULKAN_HPP_NOEXCEPT + { + float32 = float32_; + return *this; + } + + PerformanceCounterResultKHR & setFloat64( double float64_ ) VULKAN_HPP_NOEXCEPT + { + float64 = float64_; + return *this; + } + + VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR & operator=( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast(this), &rhs, sizeof( VULKAN_HPP_NAMESPACE::PerformanceCounterResultKHR ) ); + return *this; + } + + operator VkPerformanceCounterResultKHR const&() const + { + return *reinterpret_cast(this); + } + + operator VkPerformanceCounterResultKHR &() + { + return *reinterpret_cast(this); + } + + int32_t int32; + int64_t int64; + uint32_t uint32; + uint64_t uint64; + float float32; + double float64; + }; + + struct PerformanceQuerySubmitInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePerformanceQuerySubmitInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PerformanceQuerySubmitInfoKHR(uint32_t counterPassIndex_ = {}) VULKAN_HPP_NOEXCEPT + : counterPassIndex( counterPassIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR PerformanceQuerySubmitInfoKHR( PerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PerformanceQuerySubmitInfoKHR( VkPerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PerformanceQuerySubmitInfoKHR & operator=( VkPerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PerformanceQuerySubmitInfoKHR & operator=( PerformanceQuerySubmitInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PerformanceQuerySubmitInfoKHR ) ); + return *this; + } + + PerformanceQuerySubmitInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PerformanceQuerySubmitInfoKHR & setCounterPassIndex( uint32_t counterPassIndex_ ) VULKAN_HPP_NOEXCEPT + { + counterPassIndex = counterPassIndex_; + return *this; + } + + + operator VkPerformanceQuerySubmitInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPerformanceQuerySubmitInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PerformanceQuerySubmitInfoKHR const& ) const = default; +#else + bool operator==( PerformanceQuerySubmitInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( counterPassIndex == rhs.counterPassIndex ); + } + + bool operator!=( PerformanceQuerySubmitInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePerformanceQuerySubmitInfoKHR; + const void* pNext = {}; + uint32_t counterPassIndex = {}; + + }; + static_assert( sizeof( PerformanceQuerySubmitInfoKHR ) == sizeof( VkPerformanceQuerySubmitInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PerformanceQuerySubmitInfoKHR; + }; + + struct PhysicalDevice16BitStorageFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevice16BitStorageFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevice16BitStorageFeatures(VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ = {}) VULKAN_HPP_NOEXCEPT + : storageBuffer16BitAccess( storageBuffer16BitAccess_ ), uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ ), storagePushConstant16( storagePushConstant16_ ), storageInputOutput16( storageInputOutput16_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevice16BitStorageFeatures( PhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevice16BitStorageFeatures( VkPhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevice16BitStorageFeatures & operator=( VkPhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevice16BitStorageFeatures & operator=( PhysicalDevice16BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevice16BitStorageFeatures ) ); + return *this; + } + + PhysicalDevice16BitStorageFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevice16BitStorageFeatures & setStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + storageBuffer16BitAccess = storageBuffer16BitAccess_; + return *this; + } + + PhysicalDevice16BitStorageFeatures & setUniformAndStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_; + return *this; + } + + PhysicalDevice16BitStorageFeatures & setStoragePushConstant16( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ ) VULKAN_HPP_NOEXCEPT + { + storagePushConstant16 = storagePushConstant16_; + return *this; + } + + PhysicalDevice16BitStorageFeatures & setStorageInputOutput16( VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ ) VULKAN_HPP_NOEXCEPT + { + storageInputOutput16 = storageInputOutput16_; + return *this; + } + + + operator VkPhysicalDevice16BitStorageFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevice16BitStorageFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevice16BitStorageFeatures const& ) const = default; +#else + bool operator==( PhysicalDevice16BitStorageFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess ) + && ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess ) + && ( storagePushConstant16 == rhs.storagePushConstant16 ) + && ( storageInputOutput16 == rhs.storageInputOutput16 ); + } + + bool operator!=( PhysicalDevice16BitStorageFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice16BitStorageFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16 = {}; + + }; + static_assert( sizeof( PhysicalDevice16BitStorageFeatures ) == sizeof( VkPhysicalDevice16BitStorageFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevice16BitStorageFeatures; + }; + using PhysicalDevice16BitStorageFeaturesKHR = PhysicalDevice16BitStorageFeatures; + + struct PhysicalDevice4444FormatsFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevice4444FormatsFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevice4444FormatsFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4_ = {}, VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4_ = {}) VULKAN_HPP_NOEXCEPT + : formatA4R4G4B4( formatA4R4G4B4_ ), formatA4B4G4R4( formatA4B4G4R4_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevice4444FormatsFeaturesEXT( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevice4444FormatsFeaturesEXT( VkPhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevice4444FormatsFeaturesEXT & operator=( VkPhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevice4444FormatsFeaturesEXT & operator=( PhysicalDevice4444FormatsFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevice4444FormatsFeaturesEXT ) ); + return *this; + } + + PhysicalDevice4444FormatsFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevice4444FormatsFeaturesEXT & setFormatA4R4G4B4( VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4_ ) VULKAN_HPP_NOEXCEPT + { + formatA4R4G4B4 = formatA4R4G4B4_; + return *this; + } + + PhysicalDevice4444FormatsFeaturesEXT & setFormatA4B4G4R4( VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4_ ) VULKAN_HPP_NOEXCEPT + { + formatA4B4G4R4 = formatA4B4G4R4_; + return *this; + } + + + operator VkPhysicalDevice4444FormatsFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevice4444FormatsFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevice4444FormatsFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDevice4444FormatsFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( formatA4R4G4B4 == rhs.formatA4R4G4B4 ) + && ( formatA4B4G4R4 == rhs.formatA4B4G4R4 ); + } + + bool operator!=( PhysicalDevice4444FormatsFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice4444FormatsFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 formatA4R4G4B4 = {}; + VULKAN_HPP_NAMESPACE::Bool32 formatA4B4G4R4 = {}; + + }; + static_assert( sizeof( PhysicalDevice4444FormatsFeaturesEXT ) == sizeof( VkPhysicalDevice4444FormatsFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevice4444FormatsFeaturesEXT; + }; + + struct PhysicalDevice8BitStorageFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevice8BitStorageFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevice8BitStorageFeatures(VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ = {}) VULKAN_HPP_NOEXCEPT + : storageBuffer8BitAccess( storageBuffer8BitAccess_ ), uniformAndStorageBuffer8BitAccess( uniformAndStorageBuffer8BitAccess_ ), storagePushConstant8( storagePushConstant8_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevice8BitStorageFeatures( PhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevice8BitStorageFeatures( VkPhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevice8BitStorageFeatures & operator=( VkPhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevice8BitStorageFeatures & operator=( PhysicalDevice8BitStorageFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevice8BitStorageFeatures ) ); + return *this; + } + + PhysicalDevice8BitStorageFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevice8BitStorageFeatures & setStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + storageBuffer8BitAccess = storageBuffer8BitAccess_; + return *this; + } + + PhysicalDevice8BitStorageFeatures & setUniformAndStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess_; + return *this; + } + + PhysicalDevice8BitStorageFeatures & setStoragePushConstant8( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ ) VULKAN_HPP_NOEXCEPT + { + storagePushConstant8 = storagePushConstant8_; + return *this; + } + + + operator VkPhysicalDevice8BitStorageFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevice8BitStorageFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevice8BitStorageFeatures const& ) const = default; +#else + bool operator==( PhysicalDevice8BitStorageFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( storageBuffer8BitAccess == rhs.storageBuffer8BitAccess ) + && ( uniformAndStorageBuffer8BitAccess == rhs.uniformAndStorageBuffer8BitAccess ) + && ( storagePushConstant8 == rhs.storagePushConstant8 ); + } + + bool operator!=( PhysicalDevice8BitStorageFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevice8BitStorageFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8 = {}; + + }; + static_assert( sizeof( PhysicalDevice8BitStorageFeatures ) == sizeof( VkPhysicalDevice8BitStorageFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevice8BitStorageFeatures; + }; + using PhysicalDevice8BitStorageFeaturesKHR = PhysicalDevice8BitStorageFeatures; + + struct PhysicalDeviceASTCDecodeFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceASTCDecodeFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent_ = {}) VULKAN_HPP_NOEXCEPT + : decodeModeSharedExponent( decodeModeSharedExponent_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceASTCDecodeFeaturesEXT( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceASTCDecodeFeaturesEXT( VkPhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceASTCDecodeFeaturesEXT & operator=( VkPhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceASTCDecodeFeaturesEXT & operator=( PhysicalDeviceASTCDecodeFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceASTCDecodeFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceASTCDecodeFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceASTCDecodeFeaturesEXT & setDecodeModeSharedExponent( VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent_ ) VULKAN_HPP_NOEXCEPT + { + decodeModeSharedExponent = decodeModeSharedExponent_; + return *this; + } + + + operator VkPhysicalDeviceASTCDecodeFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceASTCDecodeFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceASTCDecodeFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceASTCDecodeFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( decodeModeSharedExponent == rhs.decodeModeSharedExponent ); + } + + bool operator!=( PhysicalDeviceASTCDecodeFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceAstcDecodeFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 decodeModeSharedExponent = {}; + + }; + static_assert( sizeof( PhysicalDeviceASTCDecodeFeaturesEXT ) == sizeof( VkPhysicalDeviceASTCDecodeFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceASTCDecodeFeaturesEXT; + }; + + struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations_ = {}) VULKAN_HPP_NOEXCEPT + : advancedBlendCoherentOperations( advancedBlendCoherentOperations_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedFeaturesEXT( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBlendOperationAdvancedFeaturesEXT( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceBlendOperationAdvancedFeaturesEXT & operator=( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceBlendOperationAdvancedFeaturesEXT & operator=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceBlendOperationAdvancedFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceBlendOperationAdvancedFeaturesEXT & setAdvancedBlendCoherentOperations( VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations_ ) VULKAN_HPP_NOEXCEPT + { + advancedBlendCoherentOperations = advancedBlendCoherentOperations_; + return *this; + } + + + operator VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( advancedBlendCoherentOperations == rhs.advancedBlendCoherentOperations ); + } + + bool operator!=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCoherentOperations = {}; + + }; + static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceBlendOperationAdvancedFeaturesEXT; + }; + + struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedPropertiesEXT(uint32_t advancedBlendMaxColorAttachments_ = {}, VULKAN_HPP_NAMESPACE::Bool32 advancedBlendIndependentBlend_ = {}, VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedSrcColor_ = {}, VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedDstColor_ = {}, VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCorrelatedOverlap_ = {}, VULKAN_HPP_NAMESPACE::Bool32 advancedBlendAllOperations_ = {}) VULKAN_HPP_NOEXCEPT + : advancedBlendMaxColorAttachments( advancedBlendMaxColorAttachments_ ), advancedBlendIndependentBlend( advancedBlendIndependentBlend_ ), advancedBlendNonPremultipliedSrcColor( advancedBlendNonPremultipliedSrcColor_ ), advancedBlendNonPremultipliedDstColor( advancedBlendNonPremultipliedDstColor_ ), advancedBlendCorrelatedOverlap( advancedBlendCorrelatedOverlap_ ), advancedBlendAllOperations( advancedBlendAllOperations_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBlendOperationAdvancedPropertiesEXT( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBlendOperationAdvancedPropertiesEXT( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceBlendOperationAdvancedPropertiesEXT & operator=( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceBlendOperationAdvancedPropertiesEXT & operator=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( advancedBlendMaxColorAttachments == rhs.advancedBlendMaxColorAttachments ) + && ( advancedBlendIndependentBlend == rhs.advancedBlendIndependentBlend ) + && ( advancedBlendNonPremultipliedSrcColor == rhs.advancedBlendNonPremultipliedSrcColor ) + && ( advancedBlendNonPremultipliedDstColor == rhs.advancedBlendNonPremultipliedDstColor ) + && ( advancedBlendCorrelatedOverlap == rhs.advancedBlendCorrelatedOverlap ) + && ( advancedBlendAllOperations == rhs.advancedBlendAllOperations ); + } + + bool operator!=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT; + void* pNext = {}; + uint32_t advancedBlendMaxColorAttachments = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendIndependentBlend = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedSrcColor = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendNonPremultipliedDstColor = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendCorrelatedOverlap = {}; + VULKAN_HPP_NAMESPACE::Bool32 advancedBlendAllOperations = {}; + + }; + static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedPropertiesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceBlendOperationAdvancedPropertiesEXT; + }; + + struct PhysicalDeviceBufferDeviceAddressFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBufferDeviceAddressFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeatures(VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {}) VULKAN_HPP_NOEXCEPT + : bufferDeviceAddress( bufferDeviceAddress_ ), bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ), bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeatures( PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBufferDeviceAddressFeatures( VkPhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceBufferDeviceAddressFeatures & operator=( VkPhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeatures & operator=( PhysicalDeviceBufferDeviceAddressFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceBufferDeviceAddressFeatures ) ); + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeatures & setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddress = bufferDeviceAddress_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeatures & setBufferDeviceAddressCaptureReplay( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeatures & setBufferDeviceAddressMultiDevice( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; + return *this; + } + + + operator VkPhysicalDeviceBufferDeviceAddressFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceBufferDeviceAddressFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceBufferDeviceAddressFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( bufferDeviceAddress == rhs.bufferDeviceAddress ) + && ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) + && ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ); + } + + bool operator!=( PhysicalDeviceBufferDeviceAddressFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; + + }; + static_assert( sizeof( PhysicalDeviceBufferDeviceAddressFeatures ) == sizeof( VkPhysicalDeviceBufferDeviceAddressFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressFeatures; + }; + using PhysicalDeviceBufferDeviceAddressFeaturesKHR = PhysicalDeviceBufferDeviceAddressFeatures; + + struct PhysicalDeviceBufferDeviceAddressFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {}) VULKAN_HPP_NOEXCEPT + : bufferDeviceAddress( bufferDeviceAddress_ ), bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ), bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressFeaturesEXT( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBufferDeviceAddressFeaturesEXT( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & operator=( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & operator=( PhysicalDeviceBufferDeviceAddressFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceBufferDeviceAddressFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddress = bufferDeviceAddress_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & setBufferDeviceAddressCaptureReplay( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; + return *this; + } + + PhysicalDeviceBufferDeviceAddressFeaturesEXT & setBufferDeviceAddressMultiDevice( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; + return *this; + } + + + operator VkPhysicalDeviceBufferDeviceAddressFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceBufferDeviceAddressFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceBufferDeviceAddressFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( bufferDeviceAddress == rhs.bufferDeviceAddress ) + && ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) + && ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ); + } + + bool operator!=( PhysicalDeviceBufferDeviceAddressFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; + + }; + static_assert( sizeof( PhysicalDeviceBufferDeviceAddressFeaturesEXT ) == sizeof( VkPhysicalDeviceBufferDeviceAddressFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressFeaturesEXT; + }; + using PhysicalDeviceBufferAddressFeaturesEXT = PhysicalDeviceBufferDeviceAddressFeaturesEXT; + + struct PhysicalDeviceCoherentMemoryFeaturesAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCoherentMemoryFeaturesAMD(VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory_ = {}) VULKAN_HPP_NOEXCEPT + : deviceCoherentMemory( deviceCoherentMemory_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCoherentMemoryFeaturesAMD( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCoherentMemoryFeaturesAMD( VkPhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCoherentMemoryFeaturesAMD & operator=( VkPhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCoherentMemoryFeaturesAMD & operator=( PhysicalDeviceCoherentMemoryFeaturesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCoherentMemoryFeaturesAMD ) ); + return *this; + } + + PhysicalDeviceCoherentMemoryFeaturesAMD & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceCoherentMemoryFeaturesAMD & setDeviceCoherentMemory( VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory_ ) VULKAN_HPP_NOEXCEPT + { + deviceCoherentMemory = deviceCoherentMemory_; + return *this; + } + + + operator VkPhysicalDeviceCoherentMemoryFeaturesAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCoherentMemoryFeaturesAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCoherentMemoryFeaturesAMD const& ) const = default; +#else + bool operator==( PhysicalDeviceCoherentMemoryFeaturesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceCoherentMemory == rhs.deviceCoherentMemory ); + } + + bool operator!=( PhysicalDeviceCoherentMemoryFeaturesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 deviceCoherentMemory = {}; + + }; + static_assert( sizeof( PhysicalDeviceCoherentMemoryFeaturesAMD ) == sizeof( VkPhysicalDeviceCoherentMemoryFeaturesAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCoherentMemoryFeaturesAMD; + }; + + struct PhysicalDeviceComputeShaderDerivativesFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceComputeShaderDerivativesFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads_ = {}, VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear_ = {}) VULKAN_HPP_NOEXCEPT + : computeDerivativeGroupQuads( computeDerivativeGroupQuads_ ), computeDerivativeGroupLinear( computeDerivativeGroupLinear_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceComputeShaderDerivativesFeaturesNV( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceComputeShaderDerivativesFeaturesNV( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceComputeShaderDerivativesFeaturesNV & operator=( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceComputeShaderDerivativesFeaturesNV & operator=( PhysicalDeviceComputeShaderDerivativesFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceComputeShaderDerivativesFeaturesNV ) ); + return *this; + } + + PhysicalDeviceComputeShaderDerivativesFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceComputeShaderDerivativesFeaturesNV & setComputeDerivativeGroupQuads( VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads_ ) VULKAN_HPP_NOEXCEPT + { + computeDerivativeGroupQuads = computeDerivativeGroupQuads_; + return *this; + } + + PhysicalDeviceComputeShaderDerivativesFeaturesNV & setComputeDerivativeGroupLinear( VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear_ ) VULKAN_HPP_NOEXCEPT + { + computeDerivativeGroupLinear = computeDerivativeGroupLinear_; + return *this; + } + + + operator VkPhysicalDeviceComputeShaderDerivativesFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceComputeShaderDerivativesFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceComputeShaderDerivativesFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceComputeShaderDerivativesFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( computeDerivativeGroupQuads == rhs.computeDerivativeGroupQuads ) + && ( computeDerivativeGroupLinear == rhs.computeDerivativeGroupLinear ); + } + + bool operator!=( PhysicalDeviceComputeShaderDerivativesFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupQuads = {}; + VULKAN_HPP_NAMESPACE::Bool32 computeDerivativeGroupLinear = {}; + + }; + static_assert( sizeof( PhysicalDeviceComputeShaderDerivativesFeaturesNV ) == sizeof( VkPhysicalDeviceComputeShaderDerivativesFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceComputeShaderDerivativesFeaturesNV; + }; + + struct PhysicalDeviceConditionalRenderingFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceConditionalRenderingFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering_ = {}, VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering_ = {}) VULKAN_HPP_NOEXCEPT + : conditionalRendering( conditionalRendering_ ), inheritedConditionalRendering( inheritedConditionalRendering_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceConditionalRenderingFeaturesEXT( PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceConditionalRenderingFeaturesEXT( VkPhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceConditionalRenderingFeaturesEXT & operator=( VkPhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceConditionalRenderingFeaturesEXT & operator=( PhysicalDeviceConditionalRenderingFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceConditionalRenderingFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceConditionalRenderingFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceConditionalRenderingFeaturesEXT & setConditionalRendering( VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering_ ) VULKAN_HPP_NOEXCEPT + { + conditionalRendering = conditionalRendering_; + return *this; + } + + PhysicalDeviceConditionalRenderingFeaturesEXT & setInheritedConditionalRendering( VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering_ ) VULKAN_HPP_NOEXCEPT + { + inheritedConditionalRendering = inheritedConditionalRendering_; + return *this; + } + + + operator VkPhysicalDeviceConditionalRenderingFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceConditionalRenderingFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceConditionalRenderingFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceConditionalRenderingFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( conditionalRendering == rhs.conditionalRendering ) + && ( inheritedConditionalRendering == rhs.inheritedConditionalRendering ); + } + + bool operator!=( PhysicalDeviceConditionalRenderingFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceConditionalRenderingFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 conditionalRendering = {}; + VULKAN_HPP_NAMESPACE::Bool32 inheritedConditionalRendering = {}; + + }; + static_assert( sizeof( PhysicalDeviceConditionalRenderingFeaturesEXT ) == sizeof( VkPhysicalDeviceConditionalRenderingFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceConditionalRenderingFeaturesEXT; + }; + + struct PhysicalDeviceConservativeRasterizationPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceConservativeRasterizationPropertiesEXT(float primitiveOverestimationSize_ = {}, float maxExtraPrimitiveOverestimationSize_ = {}, float extraPrimitiveOverestimationSizeGranularity_ = {}, VULKAN_HPP_NAMESPACE::Bool32 primitiveUnderestimation_ = {}, VULKAN_HPP_NAMESPACE::Bool32 conservativePointAndLineRasterization_ = {}, VULKAN_HPP_NAMESPACE::Bool32 degenerateTrianglesRasterized_ = {}, VULKAN_HPP_NAMESPACE::Bool32 degenerateLinesRasterized_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fullyCoveredFragmentShaderInputVariable_ = {}, VULKAN_HPP_NAMESPACE::Bool32 conservativeRasterizationPostDepthCoverage_ = {}) VULKAN_HPP_NOEXCEPT + : primitiveOverestimationSize( primitiveOverestimationSize_ ), maxExtraPrimitiveOverestimationSize( maxExtraPrimitiveOverestimationSize_ ), extraPrimitiveOverestimationSizeGranularity( extraPrimitiveOverestimationSizeGranularity_ ), primitiveUnderestimation( primitiveUnderestimation_ ), conservativePointAndLineRasterization( conservativePointAndLineRasterization_ ), degenerateTrianglesRasterized( degenerateTrianglesRasterized_ ), degenerateLinesRasterized( degenerateLinesRasterized_ ), fullyCoveredFragmentShaderInputVariable( fullyCoveredFragmentShaderInputVariable_ ), conservativeRasterizationPostDepthCoverage( conservativeRasterizationPostDepthCoverage_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceConservativeRasterizationPropertiesEXT( PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceConservativeRasterizationPropertiesEXT( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceConservativeRasterizationPropertiesEXT & operator=( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceConservativeRasterizationPropertiesEXT & operator=( PhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceConservativeRasterizationPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceConservativeRasterizationPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceConservativeRasterizationPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( primitiveOverestimationSize == rhs.primitiveOverestimationSize ) + && ( maxExtraPrimitiveOverestimationSize == rhs.maxExtraPrimitiveOverestimationSize ) + && ( extraPrimitiveOverestimationSizeGranularity == rhs.extraPrimitiveOverestimationSizeGranularity ) + && ( primitiveUnderestimation == rhs.primitiveUnderestimation ) + && ( conservativePointAndLineRasterization == rhs.conservativePointAndLineRasterization ) + && ( degenerateTrianglesRasterized == rhs.degenerateTrianglesRasterized ) + && ( degenerateLinesRasterized == rhs.degenerateLinesRasterized ) + && ( fullyCoveredFragmentShaderInputVariable == rhs.fullyCoveredFragmentShaderInputVariable ) + && ( conservativeRasterizationPostDepthCoverage == rhs.conservativeRasterizationPostDepthCoverage ); + } + + bool operator!=( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT; + void* pNext = {}; + float primitiveOverestimationSize = {}; + float maxExtraPrimitiveOverestimationSize = {}; + float extraPrimitiveOverestimationSizeGranularity = {}; + VULKAN_HPP_NAMESPACE::Bool32 primitiveUnderestimation = {}; + VULKAN_HPP_NAMESPACE::Bool32 conservativePointAndLineRasterization = {}; + VULKAN_HPP_NAMESPACE::Bool32 degenerateTrianglesRasterized = {}; + VULKAN_HPP_NAMESPACE::Bool32 degenerateLinesRasterized = {}; + VULKAN_HPP_NAMESPACE::Bool32 fullyCoveredFragmentShaderInputVariable = {}; + VULKAN_HPP_NAMESPACE::Bool32 conservativeRasterizationPostDepthCoverage = {}; + + }; + static_assert( sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) == sizeof( VkPhysicalDeviceConservativeRasterizationPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceConservativeRasterizationPropertiesEXT; + }; + + struct PhysicalDeviceCooperativeMatrixFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix_ = {}, VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess_ = {}) VULKAN_HPP_NOEXCEPT + : cooperativeMatrix( cooperativeMatrix_ ), cooperativeMatrixRobustBufferAccess( cooperativeMatrixRobustBufferAccess_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixFeaturesNV( PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCooperativeMatrixFeaturesNV( VkPhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCooperativeMatrixFeaturesNV & operator=( VkPhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCooperativeMatrixFeaturesNV & operator=( PhysicalDeviceCooperativeMatrixFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCooperativeMatrixFeaturesNV ) ); + return *this; + } + + PhysicalDeviceCooperativeMatrixFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceCooperativeMatrixFeaturesNV & setCooperativeMatrix( VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix_ ) VULKAN_HPP_NOEXCEPT + { + cooperativeMatrix = cooperativeMatrix_; + return *this; + } + + PhysicalDeviceCooperativeMatrixFeaturesNV & setCooperativeMatrixRobustBufferAccess( VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess_ ) VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixRobustBufferAccess = cooperativeMatrixRobustBufferAccess_; + return *this; + } + + + operator VkPhysicalDeviceCooperativeMatrixFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCooperativeMatrixFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceCooperativeMatrixFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( cooperativeMatrix == rhs.cooperativeMatrix ) + && ( cooperativeMatrixRobustBufferAccess == rhs.cooperativeMatrixRobustBufferAccess ); + } + + bool operator!=( PhysicalDeviceCooperativeMatrixFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrix = {}; + VULKAN_HPP_NAMESPACE::Bool32 cooperativeMatrixRobustBufferAccess = {}; + + }; + static_assert( sizeof( PhysicalDeviceCooperativeMatrixFeaturesNV ) == sizeof( VkPhysicalDeviceCooperativeMatrixFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixFeaturesNV; + }; + + struct PhysicalDeviceCooperativeMatrixPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixPropertiesNV(VULKAN_HPP_NAMESPACE::ShaderStageFlags cooperativeMatrixSupportedStages_ = {}) VULKAN_HPP_NOEXCEPT + : cooperativeMatrixSupportedStages( cooperativeMatrixSupportedStages_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixPropertiesNV( PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCooperativeMatrixPropertiesNV( VkPhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCooperativeMatrixPropertiesNV & operator=( VkPhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCooperativeMatrixPropertiesNV & operator=( PhysicalDeviceCooperativeMatrixPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCooperativeMatrixPropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceCooperativeMatrixPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCooperativeMatrixPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceCooperativeMatrixPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( cooperativeMatrixSupportedStages == rhs.cooperativeMatrixSupportedStages ); + } + + bool operator!=( PhysicalDeviceCooperativeMatrixPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixPropertiesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags cooperativeMatrixSupportedStages = {}; + + }; + static_assert( sizeof( PhysicalDeviceCooperativeMatrixPropertiesNV ) == sizeof( VkPhysicalDeviceCooperativeMatrixPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixPropertiesNV; + }; + + struct PhysicalDeviceCornerSampledImageFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCornerSampledImageFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage_ = {}) VULKAN_HPP_NOEXCEPT + : cornerSampledImage( cornerSampledImage_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCornerSampledImageFeaturesNV( PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCornerSampledImageFeaturesNV( VkPhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCornerSampledImageFeaturesNV & operator=( VkPhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCornerSampledImageFeaturesNV & operator=( PhysicalDeviceCornerSampledImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCornerSampledImageFeaturesNV ) ); + return *this; + } + + PhysicalDeviceCornerSampledImageFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceCornerSampledImageFeaturesNV & setCornerSampledImage( VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage_ ) VULKAN_HPP_NOEXCEPT + { + cornerSampledImage = cornerSampledImage_; + return *this; + } + + + operator VkPhysicalDeviceCornerSampledImageFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCornerSampledImageFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCornerSampledImageFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceCornerSampledImageFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( cornerSampledImage == rhs.cornerSampledImage ); + } + + bool operator!=( PhysicalDeviceCornerSampledImageFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCornerSampledImageFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 cornerSampledImage = {}; + + }; + static_assert( sizeof( PhysicalDeviceCornerSampledImageFeaturesNV ) == sizeof( VkPhysicalDeviceCornerSampledImageFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCornerSampledImageFeaturesNV; + }; + + struct PhysicalDeviceCoverageReductionModeFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCoverageReductionModeFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode_ = {}) VULKAN_HPP_NOEXCEPT + : coverageReductionMode( coverageReductionMode_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCoverageReductionModeFeaturesNV( PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCoverageReductionModeFeaturesNV( VkPhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCoverageReductionModeFeaturesNV & operator=( VkPhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCoverageReductionModeFeaturesNV & operator=( PhysicalDeviceCoverageReductionModeFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCoverageReductionModeFeaturesNV ) ); + return *this; + } + + PhysicalDeviceCoverageReductionModeFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceCoverageReductionModeFeaturesNV & setCoverageReductionMode( VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode_ ) VULKAN_HPP_NOEXCEPT + { + coverageReductionMode = coverageReductionMode_; + return *this; + } + + + operator VkPhysicalDeviceCoverageReductionModeFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCoverageReductionModeFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCoverageReductionModeFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceCoverageReductionModeFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( coverageReductionMode == rhs.coverageReductionMode ); + } + + bool operator!=( PhysicalDeviceCoverageReductionModeFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCoverageReductionModeFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 coverageReductionMode = {}; + + }; + static_assert( sizeof( PhysicalDeviceCoverageReductionModeFeaturesNV ) == sizeof( VkPhysicalDeviceCoverageReductionModeFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCoverageReductionModeFeaturesNV; + }; + + struct PhysicalDeviceCustomBorderColorFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 customBorderColors_ = {}, VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat_ = {}) VULKAN_HPP_NOEXCEPT + : customBorderColors( customBorderColors_ ), customBorderColorWithoutFormat( customBorderColorWithoutFormat_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorFeaturesEXT( PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCustomBorderColorFeaturesEXT( VkPhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCustomBorderColorFeaturesEXT & operator=( VkPhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCustomBorderColorFeaturesEXT & operator=( PhysicalDeviceCustomBorderColorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCustomBorderColorFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceCustomBorderColorFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceCustomBorderColorFeaturesEXT & setCustomBorderColors( VULKAN_HPP_NAMESPACE::Bool32 customBorderColors_ ) VULKAN_HPP_NOEXCEPT + { + customBorderColors = customBorderColors_; + return *this; + } + + PhysicalDeviceCustomBorderColorFeaturesEXT & setCustomBorderColorWithoutFormat( VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat_ ) VULKAN_HPP_NOEXCEPT + { + customBorderColorWithoutFormat = customBorderColorWithoutFormat_; + return *this; + } + + + operator VkPhysicalDeviceCustomBorderColorFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCustomBorderColorFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCustomBorderColorFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceCustomBorderColorFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( customBorderColors == rhs.customBorderColors ) + && ( customBorderColorWithoutFormat == rhs.customBorderColorWithoutFormat ); + } + + bool operator!=( PhysicalDeviceCustomBorderColorFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCustomBorderColorFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 customBorderColors = {}; + VULKAN_HPP_NAMESPACE::Bool32 customBorderColorWithoutFormat = {}; + + }; + static_assert( sizeof( PhysicalDeviceCustomBorderColorFeaturesEXT ) == sizeof( VkPhysicalDeviceCustomBorderColorFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCustomBorderColorFeaturesEXT; + }; + + struct PhysicalDeviceCustomBorderColorPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorPropertiesEXT(uint32_t maxCustomBorderColorSamplers_ = {}) VULKAN_HPP_NOEXCEPT + : maxCustomBorderColorSamplers( maxCustomBorderColorSamplers_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCustomBorderColorPropertiesEXT( PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCustomBorderColorPropertiesEXT( VkPhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceCustomBorderColorPropertiesEXT & operator=( VkPhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceCustomBorderColorPropertiesEXT & operator=( PhysicalDeviceCustomBorderColorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceCustomBorderColorPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceCustomBorderColorPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCustomBorderColorPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceCustomBorderColorPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceCustomBorderColorPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxCustomBorderColorSamplers == rhs.maxCustomBorderColorSamplers ); + } + + bool operator!=( PhysicalDeviceCustomBorderColorPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCustomBorderColorPropertiesEXT; + void* pNext = {}; + uint32_t maxCustomBorderColorSamplers = {}; + + }; + static_assert( sizeof( PhysicalDeviceCustomBorderColorPropertiesEXT ) == sizeof( VkPhysicalDeviceCustomBorderColorPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceCustomBorderColorPropertiesEXT; + }; + + struct PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing_ = {}) VULKAN_HPP_NOEXCEPT + : dedicatedAllocationImageAliasing( dedicatedAllocationImageAliasing_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV( VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & operator=( VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & operator=( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV ) ); + return *this; + } + + PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV & setDedicatedAllocationImageAliasing( VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing_ ) VULKAN_HPP_NOEXCEPT + { + dedicatedAllocationImageAliasing = dedicatedAllocationImageAliasing_; + return *this; + } + + + operator VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( dedicatedAllocationImageAliasing == rhs.dedicatedAllocationImageAliasing ); + } + + bool operator!=( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocationImageAliasing = {}; + + }; + static_assert( sizeof( PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV ) == sizeof( VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; + }; + + struct PhysicalDeviceDepthClipEnableFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthClipEnableFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ = {}) VULKAN_HPP_NOEXCEPT + : depthClipEnable( depthClipEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthClipEnableFeaturesEXT( PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDepthClipEnableFeaturesEXT( VkPhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDepthClipEnableFeaturesEXT & operator=( VkPhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDepthClipEnableFeaturesEXT & operator=( PhysicalDeviceDepthClipEnableFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDepthClipEnableFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceDepthClipEnableFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDepthClipEnableFeaturesEXT & setDepthClipEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthClipEnable = depthClipEnable_; + return *this; + } + + + operator VkPhysicalDeviceDepthClipEnableFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDepthClipEnableFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDepthClipEnableFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceDepthClipEnableFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( depthClipEnable == rhs.depthClipEnable ); + } + + bool operator!=( PhysicalDeviceDepthClipEnableFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDepthClipEnableFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable = {}; + + }; + static_assert( sizeof( PhysicalDeviceDepthClipEnableFeaturesEXT ) == sizeof( VkPhysicalDeviceDepthClipEnableFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDepthClipEnableFeaturesEXT; + }; + + struct PhysicalDeviceDepthStencilResolveProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDepthStencilResolveProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthStencilResolveProperties(VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes_ = {}, VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes_ = {}, VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone_ = {}, VULKAN_HPP_NAMESPACE::Bool32 independentResolve_ = {}) VULKAN_HPP_NOEXCEPT + : supportedDepthResolveModes( supportedDepthResolveModes_ ), supportedStencilResolveModes( supportedStencilResolveModes_ ), independentResolveNone( independentResolveNone_ ), independentResolve( independentResolve_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDepthStencilResolveProperties( PhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDepthStencilResolveProperties( VkPhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDepthStencilResolveProperties & operator=( VkPhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDepthStencilResolveProperties & operator=( PhysicalDeviceDepthStencilResolveProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDepthStencilResolveProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceDepthStencilResolveProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDepthStencilResolveProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDepthStencilResolveProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceDepthStencilResolveProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( supportedDepthResolveModes == rhs.supportedDepthResolveModes ) + && ( supportedStencilResolveModes == rhs.supportedStencilResolveModes ) + && ( independentResolveNone == rhs.independentResolveNone ) + && ( independentResolve == rhs.independentResolve ); + } + + bool operator!=( PhysicalDeviceDepthStencilResolveProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDepthStencilResolveProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes = {}; + VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes = {}; + VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone = {}; + VULKAN_HPP_NAMESPACE::Bool32 independentResolve = {}; + + }; + static_assert( sizeof( PhysicalDeviceDepthStencilResolveProperties ) == sizeof( VkPhysicalDeviceDepthStencilResolveProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDepthStencilResolveProperties; + }; + using PhysicalDeviceDepthStencilResolvePropertiesKHR = PhysicalDeviceDepthStencilResolveProperties; + + struct PhysicalDeviceDescriptorIndexingFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDescriptorIndexingFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingFeatures(VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ = {}, VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ = {}) VULKAN_HPP_NOEXCEPT + : shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ ), shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ ), shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ ), shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ ), shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ ), shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ ), shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ ), shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ ), shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ ), shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ ), descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ ), descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ ), descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ ), descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ ), descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ ), descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ ), descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ ), descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ ), descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ ), runtimeDescriptorArray( runtimeDescriptorArray_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingFeatures( PhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDescriptorIndexingFeatures( VkPhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDescriptorIndexingFeatures & operator=( VkPhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & operator=( PhysicalDeviceDescriptorIndexingFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDescriptorIndexingFeatures ) ); + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderInputAttachmentArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformTexelBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageTexelBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderSampledImageArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageImageArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderInputAttachmentArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderUniformTexelBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setShaderStorageTexelBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUniformBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingSampledImageUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageImageUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUniformTexelBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingStorageTexelBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingUpdateUnusedWhilePending( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingPartiallyBound( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setDescriptorBindingVariableDescriptorCount( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_; + return *this; + } + + PhysicalDeviceDescriptorIndexingFeatures & setRuntimeDescriptorArray( VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ ) VULKAN_HPP_NOEXCEPT + { + runtimeDescriptorArray = runtimeDescriptorArray_; + return *this; + } + + + operator VkPhysicalDeviceDescriptorIndexingFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDescriptorIndexingFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDescriptorIndexingFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceDescriptorIndexingFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing ) + && ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing ) + && ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing ) + && ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing ) + && ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing ) + && ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing ) + && ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing ) + && ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing ) + && ( shaderUniformTexelBufferArrayNonUniformIndexing == rhs.shaderUniformTexelBufferArrayNonUniformIndexing ) + && ( shaderStorageTexelBufferArrayNonUniformIndexing == rhs.shaderStorageTexelBufferArrayNonUniformIndexing ) + && ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind ) + && ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind ) + && ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind ) + && ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind ) + && ( descriptorBindingUniformTexelBufferUpdateAfterBind == rhs.descriptorBindingUniformTexelBufferUpdateAfterBind ) + && ( descriptorBindingStorageTexelBufferUpdateAfterBind == rhs.descriptorBindingStorageTexelBufferUpdateAfterBind ) + && ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending ) + && ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound ) + && ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount ) + && ( runtimeDescriptorArray == rhs.runtimeDescriptorArray ); + } + + bool operator!=( PhysicalDeviceDescriptorIndexingFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount = {}; + VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray = {}; + + }; + static_assert( sizeof( PhysicalDeviceDescriptorIndexingFeatures ) == sizeof( VkPhysicalDeviceDescriptorIndexingFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDescriptorIndexingFeatures; + }; + using PhysicalDeviceDescriptorIndexingFeaturesEXT = PhysicalDeviceDescriptorIndexingFeatures; + + struct PhysicalDeviceDescriptorIndexingProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDescriptorIndexingProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingProperties(uint32_t maxUpdateAfterBindDescriptorsInAllPools_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindSamplers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments_ = {}, uint32_t maxPerStageUpdateAfterBindResources_ = {}, uint32_t maxDescriptorSetUpdateAfterBindSamplers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ = {}, uint32_t maxDescriptorSetUpdateAfterBindSampledImages_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageImages_ = {}, uint32_t maxDescriptorSetUpdateAfterBindInputAttachments_ = {}) VULKAN_HPP_NOEXCEPT + : maxUpdateAfterBindDescriptorsInAllPools( maxUpdateAfterBindDescriptorsInAllPools_ ), shaderUniformBufferArrayNonUniformIndexingNative( shaderUniformBufferArrayNonUniformIndexingNative_ ), shaderSampledImageArrayNonUniformIndexingNative( shaderSampledImageArrayNonUniformIndexingNative_ ), shaderStorageBufferArrayNonUniformIndexingNative( shaderStorageBufferArrayNonUniformIndexingNative_ ), shaderStorageImageArrayNonUniformIndexingNative( shaderStorageImageArrayNonUniformIndexingNative_ ), shaderInputAttachmentArrayNonUniformIndexingNative( shaderInputAttachmentArrayNonUniformIndexingNative_ ), robustBufferAccessUpdateAfterBind( robustBufferAccessUpdateAfterBind_ ), quadDivergentImplicitLod( quadDivergentImplicitLod_ ), maxPerStageDescriptorUpdateAfterBindSamplers( maxPerStageDescriptorUpdateAfterBindSamplers_ ), maxPerStageDescriptorUpdateAfterBindUniformBuffers( maxPerStageDescriptorUpdateAfterBindUniformBuffers_ ), maxPerStageDescriptorUpdateAfterBindStorageBuffers( maxPerStageDescriptorUpdateAfterBindStorageBuffers_ ), maxPerStageDescriptorUpdateAfterBindSampledImages( maxPerStageDescriptorUpdateAfterBindSampledImages_ ), maxPerStageDescriptorUpdateAfterBindStorageImages( maxPerStageDescriptorUpdateAfterBindStorageImages_ ), maxPerStageDescriptorUpdateAfterBindInputAttachments( maxPerStageDescriptorUpdateAfterBindInputAttachments_ ), maxPerStageUpdateAfterBindResources( maxPerStageUpdateAfterBindResources_ ), maxDescriptorSetUpdateAfterBindSamplers( maxDescriptorSetUpdateAfterBindSamplers_ ), maxDescriptorSetUpdateAfterBindUniformBuffers( maxDescriptorSetUpdateAfterBindUniformBuffers_ ), maxDescriptorSetUpdateAfterBindUniformBuffersDynamic( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ ), maxDescriptorSetUpdateAfterBindStorageBuffers( maxDescriptorSetUpdateAfterBindStorageBuffers_ ), maxDescriptorSetUpdateAfterBindStorageBuffersDynamic( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ ), maxDescriptorSetUpdateAfterBindSampledImages( maxDescriptorSetUpdateAfterBindSampledImages_ ), maxDescriptorSetUpdateAfterBindStorageImages( maxDescriptorSetUpdateAfterBindStorageImages_ ), maxDescriptorSetUpdateAfterBindInputAttachments( maxDescriptorSetUpdateAfterBindInputAttachments_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDescriptorIndexingProperties( PhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDescriptorIndexingProperties( VkPhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDescriptorIndexingProperties & operator=( VkPhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDescriptorIndexingProperties & operator=( PhysicalDeviceDescriptorIndexingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDescriptorIndexingProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceDescriptorIndexingProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDescriptorIndexingProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDescriptorIndexingProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceDescriptorIndexingProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools ) + && ( shaderUniformBufferArrayNonUniformIndexingNative == rhs.shaderUniformBufferArrayNonUniformIndexingNative ) + && ( shaderSampledImageArrayNonUniformIndexingNative == rhs.shaderSampledImageArrayNonUniformIndexingNative ) + && ( shaderStorageBufferArrayNonUniformIndexingNative == rhs.shaderStorageBufferArrayNonUniformIndexingNative ) + && ( shaderStorageImageArrayNonUniformIndexingNative == rhs.shaderStorageImageArrayNonUniformIndexingNative ) + && ( shaderInputAttachmentArrayNonUniformIndexingNative == rhs.shaderInputAttachmentArrayNonUniformIndexingNative ) + && ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind ) + && ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod ) + && ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers ) + && ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers ) + && ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers ) + && ( maxPerStageDescriptorUpdateAfterBindSampledImages == rhs.maxPerStageDescriptorUpdateAfterBindSampledImages ) + && ( maxPerStageDescriptorUpdateAfterBindStorageImages == rhs.maxPerStageDescriptorUpdateAfterBindStorageImages ) + && ( maxPerStageDescriptorUpdateAfterBindInputAttachments == rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments ) + && ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources ) + && ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers ) + && ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers ) + && ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic ) + && ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers ) + && ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic ) + && ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages ) + && ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages ) + && ( maxDescriptorSetUpdateAfterBindInputAttachments == rhs.maxDescriptorSetUpdateAfterBindInputAttachments ); + } + + bool operator!=( PhysicalDeviceDescriptorIndexingProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingProperties; + void* pNext = {}; + uint32_t maxUpdateAfterBindDescriptorsInAllPools = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindSamplers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments = {}; + uint32_t maxPerStageUpdateAfterBindResources = {}; + uint32_t maxDescriptorSetUpdateAfterBindSamplers = {}; + uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers = {}; + uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = {}; + uint32_t maxDescriptorSetUpdateAfterBindSampledImages = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageImages = {}; + uint32_t maxDescriptorSetUpdateAfterBindInputAttachments = {}; + + }; + static_assert( sizeof( PhysicalDeviceDescriptorIndexingProperties ) == sizeof( VkPhysicalDeviceDescriptorIndexingProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDescriptorIndexingProperties; + }; + using PhysicalDeviceDescriptorIndexingPropertiesEXT = PhysicalDeviceDescriptorIndexingProperties; + + struct PhysicalDeviceDeviceGeneratedCommandsFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands_ = {}) VULKAN_HPP_NOEXCEPT + : deviceGeneratedCommands( deviceGeneratedCommands_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDeviceGeneratedCommandsFeaturesNV( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & operator=( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & operator=( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV ) ); + return *this; + } + + PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDeviceGeneratedCommandsFeaturesNV & setDeviceGeneratedCommands( VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands_ ) VULKAN_HPP_NOEXCEPT + { + deviceGeneratedCommands = deviceGeneratedCommands_; + return *this; + } + + + operator VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceGeneratedCommands == rhs.deviceGeneratedCommands ); + } + + bool operator!=( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 deviceGeneratedCommands = {}; + + }; + static_assert( sizeof( PhysicalDeviceDeviceGeneratedCommandsFeaturesNV ) == sizeof( VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDeviceGeneratedCommandsFeaturesNV; + }; + + struct PhysicalDeviceDeviceGeneratedCommandsPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsPropertiesNV(uint32_t maxGraphicsShaderGroupCount_ = {}, uint32_t maxIndirectSequenceCount_ = {}, uint32_t maxIndirectCommandsTokenCount_ = {}, uint32_t maxIndirectCommandsStreamCount_ = {}, uint32_t maxIndirectCommandsTokenOffset_ = {}, uint32_t maxIndirectCommandsStreamStride_ = {}, uint32_t minSequencesCountBufferOffsetAlignment_ = {}, uint32_t minSequencesIndexBufferOffsetAlignment_ = {}, uint32_t minIndirectCommandsBufferOffsetAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : maxGraphicsShaderGroupCount( maxGraphicsShaderGroupCount_ ), maxIndirectSequenceCount( maxIndirectSequenceCount_ ), maxIndirectCommandsTokenCount( maxIndirectCommandsTokenCount_ ), maxIndirectCommandsStreamCount( maxIndirectCommandsStreamCount_ ), maxIndirectCommandsTokenOffset( maxIndirectCommandsTokenOffset_ ), maxIndirectCommandsStreamStride( maxIndirectCommandsStreamStride_ ), minSequencesCountBufferOffsetAlignment( minSequencesCountBufferOffsetAlignment_ ), minSequencesIndexBufferOffsetAlignment( minSequencesIndexBufferOffsetAlignment_ ), minIndirectCommandsBufferOffsetAlignment( minIndirectCommandsBufferOffsetAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDeviceGeneratedCommandsPropertiesNV( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDeviceGeneratedCommandsPropertiesNV & operator=( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDeviceGeneratedCommandsPropertiesNV & operator=( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxGraphicsShaderGroupCount == rhs.maxGraphicsShaderGroupCount ) + && ( maxIndirectSequenceCount == rhs.maxIndirectSequenceCount ) + && ( maxIndirectCommandsTokenCount == rhs.maxIndirectCommandsTokenCount ) + && ( maxIndirectCommandsStreamCount == rhs.maxIndirectCommandsStreamCount ) + && ( maxIndirectCommandsTokenOffset == rhs.maxIndirectCommandsTokenOffset ) + && ( maxIndirectCommandsStreamStride == rhs.maxIndirectCommandsStreamStride ) + && ( minSequencesCountBufferOffsetAlignment == rhs.minSequencesCountBufferOffsetAlignment ) + && ( minSequencesIndexBufferOffsetAlignment == rhs.minSequencesIndexBufferOffsetAlignment ) + && ( minIndirectCommandsBufferOffsetAlignment == rhs.minIndirectCommandsBufferOffsetAlignment ); + } + + bool operator!=( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesNV; + void* pNext = {}; + uint32_t maxGraphicsShaderGroupCount = {}; + uint32_t maxIndirectSequenceCount = {}; + uint32_t maxIndirectCommandsTokenCount = {}; + uint32_t maxIndirectCommandsStreamCount = {}; + uint32_t maxIndirectCommandsTokenOffset = {}; + uint32_t maxIndirectCommandsStreamStride = {}; + uint32_t minSequencesCountBufferOffsetAlignment = {}; + uint32_t minSequencesIndexBufferOffsetAlignment = {}; + uint32_t minIndirectCommandsBufferOffsetAlignment = {}; + + }; + static_assert( sizeof( PhysicalDeviceDeviceGeneratedCommandsPropertiesNV ) == sizeof( VkPhysicalDeviceDeviceGeneratedCommandsPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDeviceGeneratedCommandsPropertiesNV; + }; + + struct PhysicalDeviceDeviceMemoryReportFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceMemoryReportFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport_ = {}) VULKAN_HPP_NOEXCEPT + : deviceMemoryReport( deviceMemoryReport_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDeviceMemoryReportFeaturesEXT( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDeviceMemoryReportFeaturesEXT( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDeviceMemoryReportFeaturesEXT & operator=( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDeviceMemoryReportFeaturesEXT & operator=( PhysicalDeviceDeviceMemoryReportFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDeviceMemoryReportFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceDeviceMemoryReportFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDeviceMemoryReportFeaturesEXT & setDeviceMemoryReport( VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport_ ) VULKAN_HPP_NOEXCEPT + { + deviceMemoryReport = deviceMemoryReport_; + return *this; + } + + + operator VkPhysicalDeviceDeviceMemoryReportFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDeviceMemoryReportFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDeviceMemoryReportFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceDeviceMemoryReportFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceMemoryReport == rhs.deviceMemoryReport ); + } + + bool operator!=( PhysicalDeviceDeviceMemoryReportFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDeviceMemoryReportFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 deviceMemoryReport = {}; + + }; + static_assert( sizeof( PhysicalDeviceDeviceMemoryReportFeaturesEXT ) == sizeof( VkPhysicalDeviceDeviceMemoryReportFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDeviceMemoryReportFeaturesEXT; + }; + + struct PhysicalDeviceDiagnosticsConfigFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDiagnosticsConfigFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig_ = {}) VULKAN_HPP_NOEXCEPT + : diagnosticsConfig( diagnosticsConfig_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDiagnosticsConfigFeaturesNV( PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDiagnosticsConfigFeaturesNV( VkPhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDiagnosticsConfigFeaturesNV & operator=( VkPhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDiagnosticsConfigFeaturesNV & operator=( PhysicalDeviceDiagnosticsConfigFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDiagnosticsConfigFeaturesNV ) ); + return *this; + } + + PhysicalDeviceDiagnosticsConfigFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceDiagnosticsConfigFeaturesNV & setDiagnosticsConfig( VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig_ ) VULKAN_HPP_NOEXCEPT + { + diagnosticsConfig = diagnosticsConfig_; + return *this; + } + + + operator VkPhysicalDeviceDiagnosticsConfigFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDiagnosticsConfigFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDiagnosticsConfigFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceDiagnosticsConfigFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( diagnosticsConfig == rhs.diagnosticsConfig ); + } + + bool operator!=( PhysicalDeviceDiagnosticsConfigFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDiagnosticsConfigFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 diagnosticsConfig = {}; + + }; + static_assert( sizeof( PhysicalDeviceDiagnosticsConfigFeaturesNV ) == sizeof( VkPhysicalDeviceDiagnosticsConfigFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDiagnosticsConfigFeaturesNV; + }; + + struct PhysicalDeviceDiscardRectanglePropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceDiscardRectanglePropertiesEXT(uint32_t maxDiscardRectangles_ = {}) VULKAN_HPP_NOEXCEPT + : maxDiscardRectangles( maxDiscardRectangles_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceDiscardRectanglePropertiesEXT( PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDiscardRectanglePropertiesEXT( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDiscardRectanglePropertiesEXT & operator=( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDiscardRectanglePropertiesEXT & operator=( PhysicalDeviceDiscardRectanglePropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceDiscardRectanglePropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDiscardRectanglePropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDiscardRectanglePropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxDiscardRectangles == rhs.maxDiscardRectangles ); + } + + bool operator!=( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT; + void* pNext = {}; + uint32_t maxDiscardRectangles = {}; + + }; + static_assert( sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) == sizeof( VkPhysicalDeviceDiscardRectanglePropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDiscardRectanglePropertiesEXT; + }; + + struct PhysicalDeviceDriverProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceDriverProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDriverProperties(VULKAN_HPP_NAMESPACE::DriverId driverID_ = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary, std::array const& driverName_ = {}, std::array const& driverInfo_ = {}, VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion_ = {}) VULKAN_HPP_NOEXCEPT + : driverID( driverID_ ), driverName( driverName_ ), driverInfo( driverInfo_ ), conformanceVersion( conformanceVersion_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceDriverProperties( PhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceDriverProperties( VkPhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceDriverProperties & operator=( VkPhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceDriverProperties & operator=( PhysicalDeviceDriverProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceDriverProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceDriverProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceDriverProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceDriverProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceDriverProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( driverID == rhs.driverID ) + && ( driverName == rhs.driverName ) + && ( driverInfo == rhs.driverInfo ) + && ( conformanceVersion == rhs.conformanceVersion ); + } + + bool operator!=( PhysicalDeviceDriverProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceDriverProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DriverId driverID = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverName = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverInfo = {}; + VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion = {}; + + }; + static_assert( sizeof( PhysicalDeviceDriverProperties ) == sizeof( VkPhysicalDeviceDriverProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceDriverProperties; + }; + using PhysicalDeviceDriverPropertiesKHR = PhysicalDeviceDriverProperties; + + struct PhysicalDeviceExclusiveScissorFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExclusiveScissorFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor_ = {}) VULKAN_HPP_NOEXCEPT + : exclusiveScissor( exclusiveScissor_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExclusiveScissorFeaturesNV( PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExclusiveScissorFeaturesNV( VkPhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExclusiveScissorFeaturesNV & operator=( VkPhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExclusiveScissorFeaturesNV & operator=( PhysicalDeviceExclusiveScissorFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExclusiveScissorFeaturesNV ) ); + return *this; + } + + PhysicalDeviceExclusiveScissorFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExclusiveScissorFeaturesNV & setExclusiveScissor( VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor_ ) VULKAN_HPP_NOEXCEPT + { + exclusiveScissor = exclusiveScissor_; + return *this; + } + + + operator VkPhysicalDeviceExclusiveScissorFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExclusiveScissorFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExclusiveScissorFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceExclusiveScissorFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( exclusiveScissor == rhs.exclusiveScissor ); + } + + bool operator!=( PhysicalDeviceExclusiveScissorFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExclusiveScissorFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 exclusiveScissor = {}; + + }; + static_assert( sizeof( PhysicalDeviceExclusiveScissorFeaturesNV ) == sizeof( VkPhysicalDeviceExclusiveScissorFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExclusiveScissorFeaturesNV; + }; + + struct PhysicalDeviceExtendedDynamicStateFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicStateFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState_ = {}) VULKAN_HPP_NOEXCEPT + : extendedDynamicState( extendedDynamicState_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExtendedDynamicStateFeaturesEXT( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExtendedDynamicStateFeaturesEXT( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExtendedDynamicStateFeaturesEXT & operator=( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExtendedDynamicStateFeaturesEXT & operator=( PhysicalDeviceExtendedDynamicStateFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExtendedDynamicStateFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceExtendedDynamicStateFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExtendedDynamicStateFeaturesEXT & setExtendedDynamicState( VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState_ ) VULKAN_HPP_NOEXCEPT + { + extendedDynamicState = extendedDynamicState_; + return *this; + } + + + operator VkPhysicalDeviceExtendedDynamicStateFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExtendedDynamicStateFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExtendedDynamicStateFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceExtendedDynamicStateFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( extendedDynamicState == rhs.extendedDynamicState ); + } + + bool operator!=( PhysicalDeviceExtendedDynamicStateFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 extendedDynamicState = {}; + + }; + static_assert( sizeof( PhysicalDeviceExtendedDynamicStateFeaturesEXT ) == sizeof( VkPhysicalDeviceExtendedDynamicStateFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExtendedDynamicStateFeaturesEXT; + }; + + struct PhysicalDeviceExternalImageFormatInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalImageFormatInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalImageFormatInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT + : handleType( handleType_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalImageFormatInfo( PhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExternalImageFormatInfo( VkPhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExternalImageFormatInfo & operator=( VkPhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExternalImageFormatInfo & operator=( PhysicalDeviceExternalImageFormatInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) ); + return *this; + } + + PhysicalDeviceExternalImageFormatInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceExternalImageFormatInfo & setHandleType( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_ ) VULKAN_HPP_NOEXCEPT + { + handleType = handleType_; + return *this; + } + + + operator VkPhysicalDeviceExternalImageFormatInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExternalImageFormatInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExternalImageFormatInfo const& ) const = default; +#else + bool operator==( PhysicalDeviceExternalImageFormatInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( handleType == rhs.handleType ); + } + + bool operator!=( PhysicalDeviceExternalImageFormatInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd; + + }; + static_assert( sizeof( PhysicalDeviceExternalImageFormatInfo ) == sizeof( VkPhysicalDeviceExternalImageFormatInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExternalImageFormatInfo; + }; + using PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo; + + struct PhysicalDeviceExternalMemoryHostPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryHostPropertiesEXT(VULKAN_HPP_NAMESPACE::DeviceSize minImportedHostPointerAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : minImportedHostPointerAlignment( minImportedHostPointerAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalMemoryHostPropertiesEXT( PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceExternalMemoryHostPropertiesEXT( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceExternalMemoryHostPropertiesEXT & operator=( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceExternalMemoryHostPropertiesEXT & operator=( PhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceExternalMemoryHostPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceExternalMemoryHostPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceExternalMemoryHostPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minImportedHostPointerAlignment == rhs.minImportedHostPointerAlignment ); + } + + bool operator!=( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize minImportedHostPointerAlignment = {}; + + }; + static_assert( sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) == sizeof( VkPhysicalDeviceExternalMemoryHostPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceExternalMemoryHostPropertiesEXT; + }; + + struct PhysicalDeviceFloatControlsProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFloatControlsProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFloatControlsProperties(VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence_ = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence_ = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64_ = {}) VULKAN_HPP_NOEXCEPT + : denormBehaviorIndependence( denormBehaviorIndependence_ ), roundingModeIndependence( roundingModeIndependence_ ), shaderSignedZeroInfNanPreserveFloat16( shaderSignedZeroInfNanPreserveFloat16_ ), shaderSignedZeroInfNanPreserveFloat32( shaderSignedZeroInfNanPreserveFloat32_ ), shaderSignedZeroInfNanPreserveFloat64( shaderSignedZeroInfNanPreserveFloat64_ ), shaderDenormPreserveFloat16( shaderDenormPreserveFloat16_ ), shaderDenormPreserveFloat32( shaderDenormPreserveFloat32_ ), shaderDenormPreserveFloat64( shaderDenormPreserveFloat64_ ), shaderDenormFlushToZeroFloat16( shaderDenormFlushToZeroFloat16_ ), shaderDenormFlushToZeroFloat32( shaderDenormFlushToZeroFloat32_ ), shaderDenormFlushToZeroFloat64( shaderDenormFlushToZeroFloat64_ ), shaderRoundingModeRTEFloat16( shaderRoundingModeRTEFloat16_ ), shaderRoundingModeRTEFloat32( shaderRoundingModeRTEFloat32_ ), shaderRoundingModeRTEFloat64( shaderRoundingModeRTEFloat64_ ), shaderRoundingModeRTZFloat16( shaderRoundingModeRTZFloat16_ ), shaderRoundingModeRTZFloat32( shaderRoundingModeRTZFloat32_ ), shaderRoundingModeRTZFloat64( shaderRoundingModeRTZFloat64_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFloatControlsProperties( PhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFloatControlsProperties( VkPhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFloatControlsProperties & operator=( VkPhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFloatControlsProperties & operator=( PhysicalDeviceFloatControlsProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFloatControlsProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceFloatControlsProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFloatControlsProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFloatControlsProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceFloatControlsProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( denormBehaviorIndependence == rhs.denormBehaviorIndependence ) + && ( roundingModeIndependence == rhs.roundingModeIndependence ) + && ( shaderSignedZeroInfNanPreserveFloat16 == rhs.shaderSignedZeroInfNanPreserveFloat16 ) + && ( shaderSignedZeroInfNanPreserveFloat32 == rhs.shaderSignedZeroInfNanPreserveFloat32 ) + && ( shaderSignedZeroInfNanPreserveFloat64 == rhs.shaderSignedZeroInfNanPreserveFloat64 ) + && ( shaderDenormPreserveFloat16 == rhs.shaderDenormPreserveFloat16 ) + && ( shaderDenormPreserveFloat32 == rhs.shaderDenormPreserveFloat32 ) + && ( shaderDenormPreserveFloat64 == rhs.shaderDenormPreserveFloat64 ) + && ( shaderDenormFlushToZeroFloat16 == rhs.shaderDenormFlushToZeroFloat16 ) + && ( shaderDenormFlushToZeroFloat32 == rhs.shaderDenormFlushToZeroFloat32 ) + && ( shaderDenormFlushToZeroFloat64 == rhs.shaderDenormFlushToZeroFloat64 ) + && ( shaderRoundingModeRTEFloat16 == rhs.shaderRoundingModeRTEFloat16 ) + && ( shaderRoundingModeRTEFloat32 == rhs.shaderRoundingModeRTEFloat32 ) + && ( shaderRoundingModeRTEFloat64 == rhs.shaderRoundingModeRTEFloat64 ) + && ( shaderRoundingModeRTZFloat16 == rhs.shaderRoundingModeRTZFloat16 ) + && ( shaderRoundingModeRTZFloat32 == rhs.shaderRoundingModeRTZFloat32 ) + && ( shaderRoundingModeRTZFloat64 == rhs.shaderRoundingModeRTZFloat64 ); + } + + bool operator!=( PhysicalDeviceFloatControlsProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFloatControlsProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; + VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64 = {}; + + }; + static_assert( sizeof( PhysicalDeviceFloatControlsProperties ) == sizeof( VkPhysicalDeviceFloatControlsProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFloatControlsProperties; + }; + using PhysicalDeviceFloatControlsPropertiesKHR = PhysicalDeviceFloatControlsProperties; + + struct PhysicalDeviceFragmentDensityMap2FeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2FeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentDensityMapDeferred( fragmentDensityMapDeferred_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2FeaturesEXT( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentDensityMap2FeaturesEXT( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentDensityMap2FeaturesEXT & operator=( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentDensityMap2FeaturesEXT & operator=( PhysicalDeviceFragmentDensityMap2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentDensityMap2FeaturesEXT ) ); + return *this; + } + + PhysicalDeviceFragmentDensityMap2FeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentDensityMap2FeaturesEXT & setFragmentDensityMapDeferred( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred_ ) VULKAN_HPP_NOEXCEPT + { + fragmentDensityMapDeferred = fragmentDensityMapDeferred_; + return *this; + } + + + operator VkPhysicalDeviceFragmentDensityMap2FeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentDensityMap2FeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentDensityMap2FeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentDensityMap2FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentDensityMapDeferred == rhs.fragmentDensityMapDeferred ); + } + + bool operator!=( PhysicalDeviceFragmentDensityMap2FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMap2FeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDeferred = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentDensityMap2FeaturesEXT ) == sizeof( VkPhysicalDeviceFragmentDensityMap2FeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentDensityMap2FeaturesEXT; + }; + + struct PhysicalDeviceFragmentDensityMap2PropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2PropertiesEXT(VULKAN_HPP_NAMESPACE::Bool32 subsampledLoads_ = {}, VULKAN_HPP_NAMESPACE::Bool32 subsampledCoarseReconstructionEarlyAccess_ = {}, uint32_t maxSubsampledArrayLayers_ = {}, uint32_t maxDescriptorSetSubsampledSamplers_ = {}) VULKAN_HPP_NOEXCEPT + : subsampledLoads( subsampledLoads_ ), subsampledCoarseReconstructionEarlyAccess( subsampledCoarseReconstructionEarlyAccess_ ), maxSubsampledArrayLayers( maxSubsampledArrayLayers_ ), maxDescriptorSetSubsampledSamplers( maxDescriptorSetSubsampledSamplers_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMap2PropertiesEXT( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentDensityMap2PropertiesEXT( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentDensityMap2PropertiesEXT & operator=( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentDensityMap2PropertiesEXT & operator=( PhysicalDeviceFragmentDensityMap2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentDensityMap2PropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceFragmentDensityMap2PropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentDensityMap2PropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentDensityMap2PropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentDensityMap2PropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( subsampledLoads == rhs.subsampledLoads ) + && ( subsampledCoarseReconstructionEarlyAccess == rhs.subsampledCoarseReconstructionEarlyAccess ) + && ( maxSubsampledArrayLayers == rhs.maxSubsampledArrayLayers ) + && ( maxDescriptorSetSubsampledSamplers == rhs.maxDescriptorSetSubsampledSamplers ); + } + + bool operator!=( PhysicalDeviceFragmentDensityMap2PropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMap2PropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 subsampledLoads = {}; + VULKAN_HPP_NAMESPACE::Bool32 subsampledCoarseReconstructionEarlyAccess = {}; + uint32_t maxSubsampledArrayLayers = {}; + uint32_t maxDescriptorSetSubsampledSamplers = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentDensityMap2PropertiesEXT ) == sizeof( VkPhysicalDeviceFragmentDensityMap2PropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentDensityMap2PropertiesEXT; + }; + + struct PhysicalDeviceFragmentDensityMapFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentDensityMap( fragmentDensityMap_ ), fragmentDensityMapDynamic( fragmentDensityMapDynamic_ ), fragmentDensityMapNonSubsampledImages( fragmentDensityMapNonSubsampledImages_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapFeaturesEXT( PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentDensityMapFeaturesEXT( VkPhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentDensityMapFeaturesEXT & operator=( VkPhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentDensityMapFeaturesEXT & operator=( PhysicalDeviceFragmentDensityMapFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentDensityMapFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceFragmentDensityMapFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentDensityMapFeaturesEXT & setFragmentDensityMap( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap_ ) VULKAN_HPP_NOEXCEPT + { + fragmentDensityMap = fragmentDensityMap_; + return *this; + } + + PhysicalDeviceFragmentDensityMapFeaturesEXT & setFragmentDensityMapDynamic( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic_ ) VULKAN_HPP_NOEXCEPT + { + fragmentDensityMapDynamic = fragmentDensityMapDynamic_; + return *this; + } + + PhysicalDeviceFragmentDensityMapFeaturesEXT & setFragmentDensityMapNonSubsampledImages( VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages_ ) VULKAN_HPP_NOEXCEPT + { + fragmentDensityMapNonSubsampledImages = fragmentDensityMapNonSubsampledImages_; + return *this; + } + + + operator VkPhysicalDeviceFragmentDensityMapFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentDensityMapFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentDensityMapFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentDensityMapFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentDensityMap == rhs.fragmentDensityMap ) + && ( fragmentDensityMapDynamic == rhs.fragmentDensityMapDynamic ) + && ( fragmentDensityMapNonSubsampledImages == rhs.fragmentDensityMapNonSubsampledImages ); + } + + bool operator!=( PhysicalDeviceFragmentDensityMapFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMapFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMap = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapDynamic = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityMapNonSubsampledImages = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentDensityMapFeaturesEXT ) == sizeof( VkPhysicalDeviceFragmentDensityMapFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentDensityMapFeaturesEXT; + }; + + struct PhysicalDeviceFragmentDensityMapPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapPropertiesEXT(VULKAN_HPP_NAMESPACE::Extent2D minFragmentDensityTexelSize_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxFragmentDensityTexelSize_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityInvocations_ = {}) VULKAN_HPP_NOEXCEPT + : minFragmentDensityTexelSize( minFragmentDensityTexelSize_ ), maxFragmentDensityTexelSize( maxFragmentDensityTexelSize_ ), fragmentDensityInvocations( fragmentDensityInvocations_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentDensityMapPropertiesEXT( PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentDensityMapPropertiesEXT( VkPhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentDensityMapPropertiesEXT & operator=( VkPhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentDensityMapPropertiesEXT & operator=( PhysicalDeviceFragmentDensityMapPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentDensityMapPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceFragmentDensityMapPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentDensityMapPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentDensityMapPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentDensityMapPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minFragmentDensityTexelSize == rhs.minFragmentDensityTexelSize ) + && ( maxFragmentDensityTexelSize == rhs.maxFragmentDensityTexelSize ) + && ( fragmentDensityInvocations == rhs.fragmentDensityInvocations ); + } + + bool operator!=( PhysicalDeviceFragmentDensityMapPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentDensityMapPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Extent2D minFragmentDensityTexelSize = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxFragmentDensityTexelSize = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentDensityInvocations = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentDensityMapPropertiesEXT ) == sizeof( VkPhysicalDeviceFragmentDensityMapPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentDensityMapPropertiesEXT; + }; + + struct PhysicalDeviceFragmentShaderBarycentricFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderBarycentricFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentShaderBarycentric( fragmentShaderBarycentric_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderBarycentricFeaturesNV( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShaderBarycentricFeaturesNV( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShaderBarycentricFeaturesNV & operator=( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShaderBarycentricFeaturesNV & operator=( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShaderBarycentricFeaturesNV ) ); + return *this; + } + + PhysicalDeviceFragmentShaderBarycentricFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentShaderBarycentricFeaturesNV & setFragmentShaderBarycentric( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric_ ) VULKAN_HPP_NOEXCEPT + { + fragmentShaderBarycentric = fragmentShaderBarycentric_; + return *this; + } + + + operator VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentShaderBarycentric == rhs.fragmentShaderBarycentric ); + } + + bool operator!=( PhysicalDeviceFragmentShaderBarycentricFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShaderBarycentricFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderBarycentric = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShaderBarycentricFeaturesNV ) == sizeof( VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShaderBarycentricFeaturesNV; + }; + + struct PhysicalDeviceFragmentShaderInterlockFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderInterlockFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentShaderSampleInterlock( fragmentShaderSampleInterlock_ ), fragmentShaderPixelInterlock( fragmentShaderPixelInterlock_ ), fragmentShaderShadingRateInterlock( fragmentShaderShadingRateInterlock_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShaderInterlockFeaturesEXT( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & operator=( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & operator=( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShaderInterlockFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setFragmentShaderSampleInterlock( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock_ ) VULKAN_HPP_NOEXCEPT + { + fragmentShaderSampleInterlock = fragmentShaderSampleInterlock_; + return *this; + } + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setFragmentShaderPixelInterlock( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock_ ) VULKAN_HPP_NOEXCEPT + { + fragmentShaderPixelInterlock = fragmentShaderPixelInterlock_; + return *this; + } + + PhysicalDeviceFragmentShaderInterlockFeaturesEXT & setFragmentShaderShadingRateInterlock( VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock_ ) VULKAN_HPP_NOEXCEPT + { + fragmentShaderShadingRateInterlock = fragmentShaderShadingRateInterlock_; + return *this; + } + + + operator VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentShaderSampleInterlock == rhs.fragmentShaderSampleInterlock ) + && ( fragmentShaderPixelInterlock == rhs.fragmentShaderPixelInterlock ) + && ( fragmentShaderShadingRateInterlock == rhs.fragmentShaderShadingRateInterlock ); + } + + bool operator!=( PhysicalDeviceFragmentShaderInterlockFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShaderInterlockFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderSampleInterlock = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderPixelInterlock = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShaderShadingRateInterlock = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShaderInterlockFeaturesEXT ) == sizeof( VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShaderInterlockFeaturesEXT; + }; + + struct PhysicalDeviceFragmentShadingRateEnumsFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums_ = {}, VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates_ = {}, VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentShadingRateEnums( fragmentShadingRateEnums_ ), supersampleFragmentShadingRates( supersampleFragmentShadingRates_ ), noInvocationFragmentShadingRates( noInvocationFragmentShadingRates_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & operator=( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & operator=( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV ) ); + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setFragmentShadingRateEnums( VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums_ ) VULKAN_HPP_NOEXCEPT + { + fragmentShadingRateEnums = fragmentShadingRateEnums_; + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setSupersampleFragmentShadingRates( VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates_ ) VULKAN_HPP_NOEXCEPT + { + supersampleFragmentShadingRates = supersampleFragmentShadingRates_; + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsFeaturesNV & setNoInvocationFragmentShadingRates( VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates_ ) VULKAN_HPP_NOEXCEPT + { + noInvocationFragmentShadingRates = noInvocationFragmentShadingRates_; + return *this; + } + + + operator VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentShadingRateEnums == rhs.fragmentShadingRateEnums ) + && ( supersampleFragmentShadingRates == rhs.supersampleFragmentShadingRates ) + && ( noInvocationFragmentShadingRates == rhs.noInvocationFragmentShadingRates ); + } + + bool operator!=( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateEnums = {}; + VULKAN_HPP_NAMESPACE::Bool32 supersampleFragmentShadingRates = {}; + VULKAN_HPP_NAMESPACE::Bool32 noInvocationFragmentShadingRates = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShadingRateEnumsFeaturesNV ) == sizeof( VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShadingRateEnumsFeaturesNV; + }; + + struct PhysicalDeviceFragmentShadingRateEnumsPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsPropertiesNV(VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1) VULKAN_HPP_NOEXCEPT + : maxFragmentShadingRateInvocationCount( maxFragmentShadingRateInvocationCount_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV( VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & operator=( VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & operator=( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV ) ); + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentShadingRateEnumsPropertiesNV & setMaxFragmentShadingRateInvocationCount( VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount_ ) VULKAN_HPP_NOEXCEPT + { + maxFragmentShadingRateInvocationCount = maxFragmentShadingRateInvocationCount_; + return *this; + } + + + operator VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxFragmentShadingRateInvocationCount == rhs.maxFragmentShadingRateInvocationCount ); + } + + bool operator!=( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateEnumsPropertiesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateInvocationCount = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShadingRateEnumsPropertiesNV ) == sizeof( VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShadingRateEnumsPropertiesNV; + }; + + struct PhysicalDeviceFragmentShadingRateFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate_ = {}, VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate_ = {}, VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate_ = {}) VULKAN_HPP_NOEXCEPT + : pipelineFragmentShadingRate( pipelineFragmentShadingRate_ ), primitiveFragmentShadingRate( primitiveFragmentShadingRate_ ), attachmentFragmentShadingRate( attachmentFragmentShadingRate_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRateFeaturesKHR( PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShadingRateFeaturesKHR( VkPhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShadingRateFeaturesKHR & operator=( VkPhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShadingRateFeaturesKHR & operator=( PhysicalDeviceFragmentShadingRateFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShadingRateFeaturesKHR ) ); + return *this; + } + + PhysicalDeviceFragmentShadingRateFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceFragmentShadingRateFeaturesKHR & setPipelineFragmentShadingRate( VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT + { + pipelineFragmentShadingRate = pipelineFragmentShadingRate_; + return *this; + } + + PhysicalDeviceFragmentShadingRateFeaturesKHR & setPrimitiveFragmentShadingRate( VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT + { + primitiveFragmentShadingRate = primitiveFragmentShadingRate_; + return *this; + } + + PhysicalDeviceFragmentShadingRateFeaturesKHR & setAttachmentFragmentShadingRate( VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate_ ) VULKAN_HPP_NOEXCEPT + { + attachmentFragmentShadingRate = attachmentFragmentShadingRate_; + return *this; + } + + + operator VkPhysicalDeviceFragmentShadingRateFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShadingRateFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShadingRateFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShadingRateFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipelineFragmentShadingRate == rhs.pipelineFragmentShadingRate ) + && ( primitiveFragmentShadingRate == rhs.primitiveFragmentShadingRate ) + && ( attachmentFragmentShadingRate == rhs.attachmentFragmentShadingRate ); + } + + bool operator!=( PhysicalDeviceFragmentShadingRateFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRateFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 pipelineFragmentShadingRate = {}; + VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRate = {}; + VULKAN_HPP_NAMESPACE::Bool32 attachmentFragmentShadingRate = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShadingRateFeaturesKHR ) == sizeof( VkPhysicalDeviceFragmentShadingRateFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShadingRateFeaturesKHR; + }; + + struct PhysicalDeviceFragmentShadingRatePropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRatePropertiesKHR(VULKAN_HPP_NAMESPACE::Extent2D minFragmentShadingRateAttachmentTexelSize_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxFragmentShadingRateAttachmentTexelSize_ = {}, uint32_t maxFragmentShadingRateAttachmentTexelSizeAspectRatio_ = {}, VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRateWithMultipleViewports_ = {}, VULKAN_HPP_NAMESPACE::Bool32 layeredShadingRateAttachments_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateNonTrivialCombinerOps_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxFragmentSize_ = {}, uint32_t maxFragmentSizeAspectRatio_ = {}, uint32_t maxFragmentShadingRateCoverageSamples_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateRasterizationSamples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderDepthStencilWrites_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithSampleMask_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderSampleMask_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithConservativeRasterization_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithFragmentShaderInterlock_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithCustomSampleLocations_ = {}, VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateStrictMultiplyCombiner_ = {}) VULKAN_HPP_NOEXCEPT + : minFragmentShadingRateAttachmentTexelSize( minFragmentShadingRateAttachmentTexelSize_ ), maxFragmentShadingRateAttachmentTexelSize( maxFragmentShadingRateAttachmentTexelSize_ ), maxFragmentShadingRateAttachmentTexelSizeAspectRatio( maxFragmentShadingRateAttachmentTexelSizeAspectRatio_ ), primitiveFragmentShadingRateWithMultipleViewports( primitiveFragmentShadingRateWithMultipleViewports_ ), layeredShadingRateAttachments( layeredShadingRateAttachments_ ), fragmentShadingRateNonTrivialCombinerOps( fragmentShadingRateNonTrivialCombinerOps_ ), maxFragmentSize( maxFragmentSize_ ), maxFragmentSizeAspectRatio( maxFragmentSizeAspectRatio_ ), maxFragmentShadingRateCoverageSamples( maxFragmentShadingRateCoverageSamples_ ), maxFragmentShadingRateRasterizationSamples( maxFragmentShadingRateRasterizationSamples_ ), fragmentShadingRateWithShaderDepthStencilWrites( fragmentShadingRateWithShaderDepthStencilWrites_ ), fragmentShadingRateWithSampleMask( fragmentShadingRateWithSampleMask_ ), fragmentShadingRateWithShaderSampleMask( fragmentShadingRateWithShaderSampleMask_ ), fragmentShadingRateWithConservativeRasterization( fragmentShadingRateWithConservativeRasterization_ ), fragmentShadingRateWithFragmentShaderInterlock( fragmentShadingRateWithFragmentShaderInterlock_ ), fragmentShadingRateWithCustomSampleLocations( fragmentShadingRateWithCustomSampleLocations_ ), fragmentShadingRateStrictMultiplyCombiner( fragmentShadingRateStrictMultiplyCombiner_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceFragmentShadingRatePropertiesKHR( PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceFragmentShadingRatePropertiesKHR( VkPhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceFragmentShadingRatePropertiesKHR & operator=( VkPhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceFragmentShadingRatePropertiesKHR & operator=( PhysicalDeviceFragmentShadingRatePropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceFragmentShadingRatePropertiesKHR ) ); + return *this; + } + + + operator VkPhysicalDeviceFragmentShadingRatePropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceFragmentShadingRatePropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceFragmentShadingRatePropertiesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceFragmentShadingRatePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minFragmentShadingRateAttachmentTexelSize == rhs.minFragmentShadingRateAttachmentTexelSize ) + && ( maxFragmentShadingRateAttachmentTexelSize == rhs.maxFragmentShadingRateAttachmentTexelSize ) + && ( maxFragmentShadingRateAttachmentTexelSizeAspectRatio == rhs.maxFragmentShadingRateAttachmentTexelSizeAspectRatio ) + && ( primitiveFragmentShadingRateWithMultipleViewports == rhs.primitiveFragmentShadingRateWithMultipleViewports ) + && ( layeredShadingRateAttachments == rhs.layeredShadingRateAttachments ) + && ( fragmentShadingRateNonTrivialCombinerOps == rhs.fragmentShadingRateNonTrivialCombinerOps ) + && ( maxFragmentSize == rhs.maxFragmentSize ) + && ( maxFragmentSizeAspectRatio == rhs.maxFragmentSizeAspectRatio ) + && ( maxFragmentShadingRateCoverageSamples == rhs.maxFragmentShadingRateCoverageSamples ) + && ( maxFragmentShadingRateRasterizationSamples == rhs.maxFragmentShadingRateRasterizationSamples ) + && ( fragmentShadingRateWithShaderDepthStencilWrites == rhs.fragmentShadingRateWithShaderDepthStencilWrites ) + && ( fragmentShadingRateWithSampleMask == rhs.fragmentShadingRateWithSampleMask ) + && ( fragmentShadingRateWithShaderSampleMask == rhs.fragmentShadingRateWithShaderSampleMask ) + && ( fragmentShadingRateWithConservativeRasterization == rhs.fragmentShadingRateWithConservativeRasterization ) + && ( fragmentShadingRateWithFragmentShaderInterlock == rhs.fragmentShadingRateWithFragmentShaderInterlock ) + && ( fragmentShadingRateWithCustomSampleLocations == rhs.fragmentShadingRateWithCustomSampleLocations ) + && ( fragmentShadingRateStrictMultiplyCombiner == rhs.fragmentShadingRateStrictMultiplyCombiner ); + } + + bool operator!=( PhysicalDeviceFragmentShadingRatePropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFragmentShadingRatePropertiesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Extent2D minFragmentShadingRateAttachmentTexelSize = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxFragmentShadingRateAttachmentTexelSize = {}; + uint32_t maxFragmentShadingRateAttachmentTexelSizeAspectRatio = {}; + VULKAN_HPP_NAMESPACE::Bool32 primitiveFragmentShadingRateWithMultipleViewports = {}; + VULKAN_HPP_NAMESPACE::Bool32 layeredShadingRateAttachments = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateNonTrivialCombinerOps = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxFragmentSize = {}; + uint32_t maxFragmentSizeAspectRatio = {}; + uint32_t maxFragmentShadingRateCoverageSamples = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlagBits maxFragmentShadingRateRasterizationSamples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderDepthStencilWrites = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithSampleMask = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithShaderSampleMask = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithConservativeRasterization = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithFragmentShaderInterlock = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateWithCustomSampleLocations = {}; + VULKAN_HPP_NAMESPACE::Bool32 fragmentShadingRateStrictMultiplyCombiner = {}; + + }; + static_assert( sizeof( PhysicalDeviceFragmentShadingRatePropertiesKHR ) == sizeof( VkPhysicalDeviceFragmentShadingRatePropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceFragmentShadingRatePropertiesKHR; + }; + + struct PhysicalDeviceGroupProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceGroupProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceGroupProperties(uint32_t physicalDeviceCount_ = {}, std::array const& physicalDevices_ = {}, VULKAN_HPP_NAMESPACE::Bool32 subsetAllocation_ = {}) VULKAN_HPP_NOEXCEPT + : physicalDeviceCount( physicalDeviceCount_ ), physicalDevices( physicalDevices_ ), subsetAllocation( subsetAllocation_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceGroupProperties( PhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceGroupProperties( VkPhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceGroupProperties & operator=( VkPhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceGroupProperties & operator=( PhysicalDeviceGroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceGroupProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceGroupProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceGroupProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceGroupProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceGroupProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( physicalDeviceCount == rhs.physicalDeviceCount ) + && ( physicalDevices == rhs.physicalDevices ) + && ( subsetAllocation == rhs.subsetAllocation ); + } + + bool operator!=( PhysicalDeviceGroupProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceGroupProperties; + void* pNext = {}; + uint32_t physicalDeviceCount = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D physicalDevices = {}; + VULKAN_HPP_NAMESPACE::Bool32 subsetAllocation = {}; + + }; + static_assert( sizeof( PhysicalDeviceGroupProperties ) == sizeof( VkPhysicalDeviceGroupProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceGroupProperties; + }; + using PhysicalDeviceGroupPropertiesKHR = PhysicalDeviceGroupProperties; + + struct PhysicalDeviceHostQueryResetFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceHostQueryResetFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceHostQueryResetFeatures(VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ = {}) VULKAN_HPP_NOEXCEPT + : hostQueryReset( hostQueryReset_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceHostQueryResetFeatures( PhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceHostQueryResetFeatures( VkPhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceHostQueryResetFeatures & operator=( VkPhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceHostQueryResetFeatures & operator=( PhysicalDeviceHostQueryResetFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceHostQueryResetFeatures ) ); + return *this; + } + + PhysicalDeviceHostQueryResetFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceHostQueryResetFeatures & setHostQueryReset( VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ ) VULKAN_HPP_NOEXCEPT + { + hostQueryReset = hostQueryReset_; + return *this; + } + + + operator VkPhysicalDeviceHostQueryResetFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceHostQueryResetFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceHostQueryResetFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceHostQueryResetFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( hostQueryReset == rhs.hostQueryReset ); + } + + bool operator!=( PhysicalDeviceHostQueryResetFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceHostQueryResetFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset = {}; + + }; + static_assert( sizeof( PhysicalDeviceHostQueryResetFeatures ) == sizeof( VkPhysicalDeviceHostQueryResetFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceHostQueryResetFeatures; + }; + using PhysicalDeviceHostQueryResetFeaturesEXT = PhysicalDeviceHostQueryResetFeatures; + + struct PhysicalDeviceIDProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceIdProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceIDProperties(std::array const& deviceUUID_ = {}, std::array const& driverUUID_ = {}, std::array const& deviceLUID_ = {}, uint32_t deviceNodeMask_ = {}, VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid_ = {}) VULKAN_HPP_NOEXCEPT + : deviceUUID( deviceUUID_ ), driverUUID( driverUUID_ ), deviceLUID( deviceLUID_ ), deviceNodeMask( deviceNodeMask_ ), deviceLUIDValid( deviceLUIDValid_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceIDProperties( PhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceIDProperties( VkPhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceIDProperties & operator=( VkPhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceIDProperties & operator=( PhysicalDeviceIDProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceIDProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceIDProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceIDProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceIDProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceIDProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceUUID == rhs.deviceUUID ) + && ( driverUUID == rhs.driverUUID ) + && ( deviceLUID == rhs.deviceLUID ) + && ( deviceNodeMask == rhs.deviceNodeMask ) + && ( deviceLUIDValid == rhs.deviceLUIDValid ); + } + + bool operator!=( PhysicalDeviceIDProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceIdProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceUUID = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverUUID = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceLUID = {}; + uint32_t deviceNodeMask = {}; + VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid = {}; + + }; + static_assert( sizeof( PhysicalDeviceIDProperties ) == sizeof( VkPhysicalDeviceIDProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceIDProperties; + }; + using PhysicalDeviceIDPropertiesKHR = PhysicalDeviceIDProperties; + + struct PhysicalDeviceImageDrmFormatModifierInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageDrmFormatModifierInfoEXT(uint64_t drmFormatModifier_ = {}, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = {}, const uint32_t* pQueueFamilyIndices_ = {}) VULKAN_HPP_NOEXCEPT + : drmFormatModifier( drmFormatModifier_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( queueFamilyIndexCount_ ), pQueueFamilyIndices( pQueueFamilyIndices_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageDrmFormatModifierInfoEXT( PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImageDrmFormatModifierInfoEXT( VkPhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PhysicalDeviceImageDrmFormatModifierInfoEXT( uint64_t drmFormatModifier_, VULKAN_HPP_NAMESPACE::SharingMode sharingMode_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) + : drmFormatModifier( drmFormatModifier_ ), sharingMode( sharingMode_ ), queueFamilyIndexCount( static_cast( queueFamilyIndices_.size() ) ), pQueueFamilyIndices( queueFamilyIndices_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceImageDrmFormatModifierInfoEXT & operator=( VkPhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & operator=( PhysicalDeviceImageDrmFormatModifierInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceImageDrmFormatModifierInfoEXT ) ); + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & setDrmFormatModifier( uint64_t drmFormatModifier_ ) VULKAN_HPP_NOEXCEPT + { + drmFormatModifier = drmFormatModifier_; + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT + { + sharingMode = sharingMode_; + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = queueFamilyIndexCount_; + return *this; + } + + PhysicalDeviceImageDrmFormatModifierInfoEXT & setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + pQueueFamilyIndices = pQueueFamilyIndices_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PhysicalDeviceImageDrmFormatModifierInfoEXT & setQueueFamilyIndices( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & queueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT + { + queueFamilyIndexCount = static_cast( queueFamilyIndices_.size() ); + pQueueFamilyIndices = queueFamilyIndices_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPhysicalDeviceImageDrmFormatModifierInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageDrmFormatModifierInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceImageDrmFormatModifierInfoEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceImageDrmFormatModifierInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( drmFormatModifier == rhs.drmFormatModifier ) + && ( sharingMode == rhs.sharingMode ) + && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount ) + && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices ); + } + + bool operator!=( PhysicalDeviceImageDrmFormatModifierInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageDrmFormatModifierInfoEXT; + const void* pNext = {}; + uint64_t drmFormatModifier = {}; + VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive; + uint32_t queueFamilyIndexCount = {}; + const uint32_t* pQueueFamilyIndices = {}; + + }; + static_assert( sizeof( PhysicalDeviceImageDrmFormatModifierInfoEXT ) == sizeof( VkPhysicalDeviceImageDrmFormatModifierInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceImageDrmFormatModifierInfoEXT; + }; + + struct PhysicalDeviceImageRobustnessFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageRobustnessFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess_ = {}) VULKAN_HPP_NOEXCEPT + : robustImageAccess( robustImageAccess_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageRobustnessFeaturesEXT( PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImageRobustnessFeaturesEXT( VkPhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceImageRobustnessFeaturesEXT & operator=( VkPhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceImageRobustnessFeaturesEXT & operator=( PhysicalDeviceImageRobustnessFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceImageRobustnessFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceImageRobustnessFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceImageRobustnessFeaturesEXT & setRobustImageAccess( VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess_ ) VULKAN_HPP_NOEXCEPT + { + robustImageAccess = robustImageAccess_; + return *this; + } + + + operator VkPhysicalDeviceImageRobustnessFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageRobustnessFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceImageRobustnessFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceImageRobustnessFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( robustImageAccess == rhs.robustImageAccess ); + } + + bool operator!=( PhysicalDeviceImageRobustnessFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageRobustnessFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess = {}; + + }; + static_assert( sizeof( PhysicalDeviceImageRobustnessFeaturesEXT ) == sizeof( VkPhysicalDeviceImageRobustnessFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceImageRobustnessFeaturesEXT; + }; + + struct PhysicalDeviceImageViewImageFormatInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageViewImageFormatInfoEXT(VULKAN_HPP_NAMESPACE::ImageViewType imageViewType_ = VULKAN_HPP_NAMESPACE::ImageViewType::e1D) VULKAN_HPP_NOEXCEPT + : imageViewType( imageViewType_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageViewImageFormatInfoEXT( PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImageViewImageFormatInfoEXT( VkPhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceImageViewImageFormatInfoEXT & operator=( VkPhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceImageViewImageFormatInfoEXT & operator=( PhysicalDeviceImageViewImageFormatInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceImageViewImageFormatInfoEXT ) ); + return *this; + } + + PhysicalDeviceImageViewImageFormatInfoEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceImageViewImageFormatInfoEXT & setImageViewType( VULKAN_HPP_NAMESPACE::ImageViewType imageViewType_ ) VULKAN_HPP_NOEXCEPT + { + imageViewType = imageViewType_; + return *this; + } + + + operator VkPhysicalDeviceImageViewImageFormatInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageViewImageFormatInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceImageViewImageFormatInfoEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceImageViewImageFormatInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( imageViewType == rhs.imageViewType ); + } + + bool operator!=( PhysicalDeviceImageViewImageFormatInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageViewImageFormatInfoEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageViewType imageViewType = VULKAN_HPP_NAMESPACE::ImageViewType::e1D; + + }; + static_assert( sizeof( PhysicalDeviceImageViewImageFormatInfoEXT ) == sizeof( VkPhysicalDeviceImageViewImageFormatInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceImageViewImageFormatInfoEXT; + }; + + struct PhysicalDeviceImagelessFramebufferFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImagelessFramebufferFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImagelessFramebufferFeatures(VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ = {}) VULKAN_HPP_NOEXCEPT + : imagelessFramebuffer( imagelessFramebuffer_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImagelessFramebufferFeatures( PhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImagelessFramebufferFeatures( VkPhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceImagelessFramebufferFeatures & operator=( VkPhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceImagelessFramebufferFeatures & operator=( PhysicalDeviceImagelessFramebufferFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceImagelessFramebufferFeatures ) ); + return *this; + } + + PhysicalDeviceImagelessFramebufferFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceImagelessFramebufferFeatures & setImagelessFramebuffer( VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ ) VULKAN_HPP_NOEXCEPT + { + imagelessFramebuffer = imagelessFramebuffer_; + return *this; + } + + + operator VkPhysicalDeviceImagelessFramebufferFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImagelessFramebufferFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceImagelessFramebufferFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceImagelessFramebufferFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( imagelessFramebuffer == rhs.imagelessFramebuffer ); + } + + bool operator!=( PhysicalDeviceImagelessFramebufferFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImagelessFramebufferFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer = {}; + + }; + static_assert( sizeof( PhysicalDeviceImagelessFramebufferFeatures ) == sizeof( VkPhysicalDeviceImagelessFramebufferFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceImagelessFramebufferFeatures; + }; + using PhysicalDeviceImagelessFramebufferFeaturesKHR = PhysicalDeviceImagelessFramebufferFeatures; + + struct PhysicalDeviceIndexTypeUint8FeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceIndexTypeUint8FeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8_ = {}) VULKAN_HPP_NOEXCEPT + : indexTypeUint8( indexTypeUint8_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceIndexTypeUint8FeaturesEXT( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceIndexTypeUint8FeaturesEXT( VkPhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceIndexTypeUint8FeaturesEXT & operator=( VkPhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceIndexTypeUint8FeaturesEXT & operator=( PhysicalDeviceIndexTypeUint8FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceIndexTypeUint8FeaturesEXT ) ); + return *this; + } + + PhysicalDeviceIndexTypeUint8FeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceIndexTypeUint8FeaturesEXT & setIndexTypeUint8( VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8_ ) VULKAN_HPP_NOEXCEPT + { + indexTypeUint8 = indexTypeUint8_; + return *this; + } + + + operator VkPhysicalDeviceIndexTypeUint8FeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceIndexTypeUint8FeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceIndexTypeUint8FeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceIndexTypeUint8FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( indexTypeUint8 == rhs.indexTypeUint8 ); + } + + bool operator!=( PhysicalDeviceIndexTypeUint8FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 indexTypeUint8 = {}; + + }; + static_assert( sizeof( PhysicalDeviceIndexTypeUint8FeaturesEXT ) == sizeof( VkPhysicalDeviceIndexTypeUint8FeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceIndexTypeUint8FeaturesEXT; + }; + + struct PhysicalDeviceInlineUniformBlockFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind_ = {}) VULKAN_HPP_NOEXCEPT + : inlineUniformBlock( inlineUniformBlock_ ), descriptorBindingInlineUniformBlockUpdateAfterBind( descriptorBindingInlineUniformBlockUpdateAfterBind_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockFeaturesEXT( PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceInlineUniformBlockFeaturesEXT( VkPhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceInlineUniformBlockFeaturesEXT & operator=( VkPhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceInlineUniformBlockFeaturesEXT & operator=( PhysicalDeviceInlineUniformBlockFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceInlineUniformBlockFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceInlineUniformBlockFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceInlineUniformBlockFeaturesEXT & setInlineUniformBlock( VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock_ ) VULKAN_HPP_NOEXCEPT + { + inlineUniformBlock = inlineUniformBlock_; + return *this; + } + + PhysicalDeviceInlineUniformBlockFeaturesEXT & setDescriptorBindingInlineUniformBlockUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingInlineUniformBlockUpdateAfterBind = descriptorBindingInlineUniformBlockUpdateAfterBind_; + return *this; + } + + + operator VkPhysicalDeviceInlineUniformBlockFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceInlineUniformBlockFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceInlineUniformBlockFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceInlineUniformBlockFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( inlineUniformBlock == rhs.inlineUniformBlock ) + && ( descriptorBindingInlineUniformBlockUpdateAfterBind == rhs.descriptorBindingInlineUniformBlockUpdateAfterBind ); + } + + bool operator!=( PhysicalDeviceInlineUniformBlockFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceInlineUniformBlockFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 inlineUniformBlock = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingInlineUniformBlockUpdateAfterBind = {}; + + }; + static_assert( sizeof( PhysicalDeviceInlineUniformBlockFeaturesEXT ) == sizeof( VkPhysicalDeviceInlineUniformBlockFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceInlineUniformBlockFeaturesEXT; + }; + + struct PhysicalDeviceInlineUniformBlockPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockPropertiesEXT(uint32_t maxInlineUniformBlockSize_ = {}, uint32_t maxPerStageDescriptorInlineUniformBlocks_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks_ = {}, uint32_t maxDescriptorSetInlineUniformBlocks_ = {}, uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks_ = {}) VULKAN_HPP_NOEXCEPT + : maxInlineUniformBlockSize( maxInlineUniformBlockSize_ ), maxPerStageDescriptorInlineUniformBlocks( maxPerStageDescriptorInlineUniformBlocks_ ), maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks( maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks_ ), maxDescriptorSetInlineUniformBlocks( maxDescriptorSetInlineUniformBlocks_ ), maxDescriptorSetUpdateAfterBindInlineUniformBlocks( maxDescriptorSetUpdateAfterBindInlineUniformBlocks_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceInlineUniformBlockPropertiesEXT( PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceInlineUniformBlockPropertiesEXT( VkPhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceInlineUniformBlockPropertiesEXT & operator=( VkPhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceInlineUniformBlockPropertiesEXT & operator=( PhysicalDeviceInlineUniformBlockPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceInlineUniformBlockPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceInlineUniformBlockPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceInlineUniformBlockPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceInlineUniformBlockPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceInlineUniformBlockPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxInlineUniformBlockSize == rhs.maxInlineUniformBlockSize ) + && ( maxPerStageDescriptorInlineUniformBlocks == rhs.maxPerStageDescriptorInlineUniformBlocks ) + && ( maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks == rhs.maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks ) + && ( maxDescriptorSetInlineUniformBlocks == rhs.maxDescriptorSetInlineUniformBlocks ) + && ( maxDescriptorSetUpdateAfterBindInlineUniformBlocks == rhs.maxDescriptorSetUpdateAfterBindInlineUniformBlocks ); + } + + bool operator!=( PhysicalDeviceInlineUniformBlockPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceInlineUniformBlockPropertiesEXT; + void* pNext = {}; + uint32_t maxInlineUniformBlockSize = {}; + uint32_t maxPerStageDescriptorInlineUniformBlocks = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = {}; + uint32_t maxDescriptorSetInlineUniformBlocks = {}; + uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks = {}; + + }; + static_assert( sizeof( PhysicalDeviceInlineUniformBlockPropertiesEXT ) == sizeof( VkPhysicalDeviceInlineUniformBlockPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceInlineUniformBlockPropertiesEXT; + }; + + struct PhysicalDeviceLineRasterizationFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 rectangularLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 smoothLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines_ = {}) VULKAN_HPP_NOEXCEPT + : rectangularLines( rectangularLines_ ), bresenhamLines( bresenhamLines_ ), smoothLines( smoothLines_ ), stippledRectangularLines( stippledRectangularLines_ ), stippledBresenhamLines( stippledBresenhamLines_ ), stippledSmoothLines( stippledSmoothLines_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationFeaturesEXT( PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceLineRasterizationFeaturesEXT( VkPhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceLineRasterizationFeaturesEXT & operator=( VkPhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & operator=( PhysicalDeviceLineRasterizationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceLineRasterizationFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setRectangularLines( VULKAN_HPP_NAMESPACE::Bool32 rectangularLines_ ) VULKAN_HPP_NOEXCEPT + { + rectangularLines = rectangularLines_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setBresenhamLines( VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines_ ) VULKAN_HPP_NOEXCEPT + { + bresenhamLines = bresenhamLines_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setSmoothLines( VULKAN_HPP_NAMESPACE::Bool32 smoothLines_ ) VULKAN_HPP_NOEXCEPT + { + smoothLines = smoothLines_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setStippledRectangularLines( VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines_ ) VULKAN_HPP_NOEXCEPT + { + stippledRectangularLines = stippledRectangularLines_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setStippledBresenhamLines( VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines_ ) VULKAN_HPP_NOEXCEPT + { + stippledBresenhamLines = stippledBresenhamLines_; + return *this; + } + + PhysicalDeviceLineRasterizationFeaturesEXT & setStippledSmoothLines( VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines_ ) VULKAN_HPP_NOEXCEPT + { + stippledSmoothLines = stippledSmoothLines_; + return *this; + } + + + operator VkPhysicalDeviceLineRasterizationFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceLineRasterizationFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceLineRasterizationFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceLineRasterizationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( rectangularLines == rhs.rectangularLines ) + && ( bresenhamLines == rhs.bresenhamLines ) + && ( smoothLines == rhs.smoothLines ) + && ( stippledRectangularLines == rhs.stippledRectangularLines ) + && ( stippledBresenhamLines == rhs.stippledBresenhamLines ) + && ( stippledSmoothLines == rhs.stippledSmoothLines ); + } + + bool operator!=( PhysicalDeviceLineRasterizationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 rectangularLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 bresenhamLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 smoothLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 stippledRectangularLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 stippledBresenhamLines = {}; + VULKAN_HPP_NAMESPACE::Bool32 stippledSmoothLines = {}; + + }; + static_assert( sizeof( PhysicalDeviceLineRasterizationFeaturesEXT ) == sizeof( VkPhysicalDeviceLineRasterizationFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceLineRasterizationFeaturesEXT; + }; + + struct PhysicalDeviceLineRasterizationPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationPropertiesEXT(uint32_t lineSubPixelPrecisionBits_ = {}) VULKAN_HPP_NOEXCEPT + : lineSubPixelPrecisionBits( lineSubPixelPrecisionBits_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceLineRasterizationPropertiesEXT( PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceLineRasterizationPropertiesEXT( VkPhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceLineRasterizationPropertiesEXT & operator=( VkPhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceLineRasterizationPropertiesEXT & operator=( PhysicalDeviceLineRasterizationPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceLineRasterizationPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceLineRasterizationPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceLineRasterizationPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceLineRasterizationPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceLineRasterizationPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( lineSubPixelPrecisionBits == rhs.lineSubPixelPrecisionBits ); + } + + bool operator!=( PhysicalDeviceLineRasterizationPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT; + void* pNext = {}; + uint32_t lineSubPixelPrecisionBits = {}; + + }; + static_assert( sizeof( PhysicalDeviceLineRasterizationPropertiesEXT ) == sizeof( VkPhysicalDeviceLineRasterizationPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceLineRasterizationPropertiesEXT; + }; + + struct PhysicalDeviceMaintenance3Properties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMaintenance3Properties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMaintenance3Properties(uint32_t maxPerSetDescriptors_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize_ = {}) VULKAN_HPP_NOEXCEPT + : maxPerSetDescriptors( maxPerSetDescriptors_ ), maxMemoryAllocationSize( maxMemoryAllocationSize_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMaintenance3Properties( PhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMaintenance3Properties( VkPhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMaintenance3Properties & operator=( VkPhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMaintenance3Properties & operator=( PhysicalDeviceMaintenance3Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMaintenance3Properties ) ); + return *this; + } + + + operator VkPhysicalDeviceMaintenance3Properties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMaintenance3Properties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMaintenance3Properties const& ) const = default; +#else + bool operator==( PhysicalDeviceMaintenance3Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors ) + && ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize ); + } + + bool operator!=( PhysicalDeviceMaintenance3Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMaintenance3Properties; + void* pNext = {}; + uint32_t maxPerSetDescriptors = {}; + VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize = {}; + + }; + static_assert( sizeof( PhysicalDeviceMaintenance3Properties ) == sizeof( VkPhysicalDeviceMaintenance3Properties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMaintenance3Properties; + }; + using PhysicalDeviceMaintenance3PropertiesKHR = PhysicalDeviceMaintenance3Properties; + + struct PhysicalDeviceMemoryBudgetPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryBudgetPropertiesEXT(std::array const& heapBudget_ = {}, std::array const& heapUsage_ = {}) VULKAN_HPP_NOEXCEPT + : heapBudget( heapBudget_ ), heapUsage( heapUsage_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMemoryBudgetPropertiesEXT( PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMemoryBudgetPropertiesEXT( VkPhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMemoryBudgetPropertiesEXT & operator=( VkPhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMemoryBudgetPropertiesEXT & operator=( PhysicalDeviceMemoryBudgetPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMemoryBudgetPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceMemoryBudgetPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMemoryBudgetPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMemoryBudgetPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceMemoryBudgetPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( heapBudget == rhs.heapBudget ) + && ( heapUsage == rhs.heapUsage ); + } + + bool operator!=( PhysicalDeviceMemoryBudgetPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D heapBudget = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D heapUsage = {}; + + }; + static_assert( sizeof( PhysicalDeviceMemoryBudgetPropertiesEXT ) == sizeof( VkPhysicalDeviceMemoryBudgetPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMemoryBudgetPropertiesEXT; + }; + + struct PhysicalDeviceMemoryPriorityFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMemoryPriorityFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 memoryPriority_ = {}) VULKAN_HPP_NOEXCEPT + : memoryPriority( memoryPriority_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMemoryPriorityFeaturesEXT( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMemoryPriorityFeaturesEXT( VkPhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMemoryPriorityFeaturesEXT & operator=( VkPhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMemoryPriorityFeaturesEXT & operator=( PhysicalDeviceMemoryPriorityFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMemoryPriorityFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceMemoryPriorityFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceMemoryPriorityFeaturesEXT & setMemoryPriority( VULKAN_HPP_NAMESPACE::Bool32 memoryPriority_ ) VULKAN_HPP_NOEXCEPT + { + memoryPriority = memoryPriority_; + return *this; + } + + + operator VkPhysicalDeviceMemoryPriorityFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMemoryPriorityFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMemoryPriorityFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceMemoryPriorityFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memoryPriority == rhs.memoryPriority ); + } + + bool operator!=( PhysicalDeviceMemoryPriorityFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 memoryPriority = {}; + + }; + static_assert( sizeof( PhysicalDeviceMemoryPriorityFeaturesEXT ) == sizeof( VkPhysicalDeviceMemoryPriorityFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMemoryPriorityFeaturesEXT; + }; + + struct PhysicalDeviceMeshShaderFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMeshShaderFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMeshShaderFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 taskShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 meshShader_ = {}) VULKAN_HPP_NOEXCEPT + : taskShader( taskShader_ ), meshShader( meshShader_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMeshShaderFeaturesNV( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMeshShaderFeaturesNV( VkPhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMeshShaderFeaturesNV & operator=( VkPhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMeshShaderFeaturesNV & operator=( PhysicalDeviceMeshShaderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMeshShaderFeaturesNV ) ); + return *this; + } + + PhysicalDeviceMeshShaderFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceMeshShaderFeaturesNV & setTaskShader( VULKAN_HPP_NAMESPACE::Bool32 taskShader_ ) VULKAN_HPP_NOEXCEPT + { + taskShader = taskShader_; + return *this; + } + + PhysicalDeviceMeshShaderFeaturesNV & setMeshShader( VULKAN_HPP_NAMESPACE::Bool32 meshShader_ ) VULKAN_HPP_NOEXCEPT + { + meshShader = meshShader_; + return *this; + } + + + operator VkPhysicalDeviceMeshShaderFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMeshShaderFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMeshShaderFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceMeshShaderFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( taskShader == rhs.taskShader ) + && ( meshShader == rhs.meshShader ); + } + + bool operator!=( PhysicalDeviceMeshShaderFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMeshShaderFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 taskShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 meshShader = {}; + + }; + static_assert( sizeof( PhysicalDeviceMeshShaderFeaturesNV ) == sizeof( VkPhysicalDeviceMeshShaderFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMeshShaderFeaturesNV; + }; + + struct PhysicalDeviceMeshShaderPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMeshShaderPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMeshShaderPropertiesNV(uint32_t maxDrawMeshTasksCount_ = {}, uint32_t maxTaskWorkGroupInvocations_ = {}, std::array const& maxTaskWorkGroupSize_ = {}, uint32_t maxTaskTotalMemorySize_ = {}, uint32_t maxTaskOutputCount_ = {}, uint32_t maxMeshWorkGroupInvocations_ = {}, std::array const& maxMeshWorkGroupSize_ = {}, uint32_t maxMeshTotalMemorySize_ = {}, uint32_t maxMeshOutputVertices_ = {}, uint32_t maxMeshOutputPrimitives_ = {}, uint32_t maxMeshMultiviewViewCount_ = {}, uint32_t meshOutputPerVertexGranularity_ = {}, uint32_t meshOutputPerPrimitiveGranularity_ = {}) VULKAN_HPP_NOEXCEPT + : maxDrawMeshTasksCount( maxDrawMeshTasksCount_ ), maxTaskWorkGroupInvocations( maxTaskWorkGroupInvocations_ ), maxTaskWorkGroupSize( maxTaskWorkGroupSize_ ), maxTaskTotalMemorySize( maxTaskTotalMemorySize_ ), maxTaskOutputCount( maxTaskOutputCount_ ), maxMeshWorkGroupInvocations( maxMeshWorkGroupInvocations_ ), maxMeshWorkGroupSize( maxMeshWorkGroupSize_ ), maxMeshTotalMemorySize( maxMeshTotalMemorySize_ ), maxMeshOutputVertices( maxMeshOutputVertices_ ), maxMeshOutputPrimitives( maxMeshOutputPrimitives_ ), maxMeshMultiviewViewCount( maxMeshMultiviewViewCount_ ), meshOutputPerVertexGranularity( meshOutputPerVertexGranularity_ ), meshOutputPerPrimitiveGranularity( meshOutputPerPrimitiveGranularity_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceMeshShaderPropertiesNV( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMeshShaderPropertiesNV( VkPhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMeshShaderPropertiesNV & operator=( VkPhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMeshShaderPropertiesNV & operator=( PhysicalDeviceMeshShaderPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMeshShaderPropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceMeshShaderPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMeshShaderPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMeshShaderPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceMeshShaderPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxDrawMeshTasksCount == rhs.maxDrawMeshTasksCount ) + && ( maxTaskWorkGroupInvocations == rhs.maxTaskWorkGroupInvocations ) + && ( maxTaskWorkGroupSize == rhs.maxTaskWorkGroupSize ) + && ( maxTaskTotalMemorySize == rhs.maxTaskTotalMemorySize ) + && ( maxTaskOutputCount == rhs.maxTaskOutputCount ) + && ( maxMeshWorkGroupInvocations == rhs.maxMeshWorkGroupInvocations ) + && ( maxMeshWorkGroupSize == rhs.maxMeshWorkGroupSize ) + && ( maxMeshTotalMemorySize == rhs.maxMeshTotalMemorySize ) + && ( maxMeshOutputVertices == rhs.maxMeshOutputVertices ) + && ( maxMeshOutputPrimitives == rhs.maxMeshOutputPrimitives ) + && ( maxMeshMultiviewViewCount == rhs.maxMeshMultiviewViewCount ) + && ( meshOutputPerVertexGranularity == rhs.meshOutputPerVertexGranularity ) + && ( meshOutputPerPrimitiveGranularity == rhs.meshOutputPerPrimitiveGranularity ); + } + + bool operator!=( PhysicalDeviceMeshShaderPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMeshShaderPropertiesNV; + void* pNext = {}; + uint32_t maxDrawMeshTasksCount = {}; + uint32_t maxTaskWorkGroupInvocations = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxTaskWorkGroupSize = {}; + uint32_t maxTaskTotalMemorySize = {}; + uint32_t maxTaskOutputCount = {}; + uint32_t maxMeshWorkGroupInvocations = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D maxMeshWorkGroupSize = {}; + uint32_t maxMeshTotalMemorySize = {}; + uint32_t maxMeshOutputVertices = {}; + uint32_t maxMeshOutputPrimitives = {}; + uint32_t maxMeshMultiviewViewCount = {}; + uint32_t meshOutputPerVertexGranularity = {}; + uint32_t meshOutputPerPrimitiveGranularity = {}; + + }; + static_assert( sizeof( PhysicalDeviceMeshShaderPropertiesNV ) == sizeof( VkPhysicalDeviceMeshShaderPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMeshShaderPropertiesNV; + }; + + struct PhysicalDeviceMultiviewFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMultiviewFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewFeatures(VULKAN_HPP_NAMESPACE::Bool32 multiview_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ = {}) VULKAN_HPP_NOEXCEPT + : multiview( multiview_ ), multiviewGeometryShader( multiviewGeometryShader_ ), multiviewTessellationShader( multiviewTessellationShader_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewFeatures( PhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMultiviewFeatures( VkPhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMultiviewFeatures & operator=( VkPhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMultiviewFeatures & operator=( PhysicalDeviceMultiviewFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMultiviewFeatures ) ); + return *this; + } + + PhysicalDeviceMultiviewFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceMultiviewFeatures & setMultiview( VULKAN_HPP_NAMESPACE::Bool32 multiview_ ) VULKAN_HPP_NOEXCEPT + { + multiview = multiview_; + return *this; + } + + PhysicalDeviceMultiviewFeatures & setMultiviewGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ ) VULKAN_HPP_NOEXCEPT + { + multiviewGeometryShader = multiviewGeometryShader_; + return *this; + } + + PhysicalDeviceMultiviewFeatures & setMultiviewTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ ) VULKAN_HPP_NOEXCEPT + { + multiviewTessellationShader = multiviewTessellationShader_; + return *this; + } + + + operator VkPhysicalDeviceMultiviewFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMultiviewFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMultiviewFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceMultiviewFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( multiview == rhs.multiview ) + && ( multiviewGeometryShader == rhs.multiviewGeometryShader ) + && ( multiviewTessellationShader == rhs.multiviewTessellationShader ); + } + + bool operator!=( PhysicalDeviceMultiviewFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiview = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader = {}; + + }; + static_assert( sizeof( PhysicalDeviceMultiviewFeatures ) == sizeof( VkPhysicalDeviceMultiviewFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMultiviewFeatures; + }; + using PhysicalDeviceMultiviewFeaturesKHR = PhysicalDeviceMultiviewFeatures; + + struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(VULKAN_HPP_NAMESPACE::Bool32 perViewPositionAllComponents_ = {}) VULKAN_HPP_NOEXCEPT + : perViewPositionAllComponents( perViewPositionAllComponents_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX & operator=( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX & operator=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ) ); + return *this; + } + + + operator VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& ) const = default; +#else + bool operator==( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( perViewPositionAllComponents == rhs.perViewPositionAllComponents ); + } + + bool operator!=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 perViewPositionAllComponents = {}; + + }; + static_assert( sizeof( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ) == sizeof( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; + }; + + struct PhysicalDeviceMultiviewProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceMultiviewProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewProperties(uint32_t maxMultiviewViewCount_ = {}, uint32_t maxMultiviewInstanceIndex_ = {}) VULKAN_HPP_NOEXCEPT + : maxMultiviewViewCount( maxMultiviewViewCount_ ), maxMultiviewInstanceIndex( maxMultiviewInstanceIndex_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceMultiviewProperties( PhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceMultiviewProperties( VkPhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceMultiviewProperties & operator=( VkPhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceMultiviewProperties & operator=( PhysicalDeviceMultiviewProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceMultiviewProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceMultiviewProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceMultiviewProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceMultiviewProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceMultiviewProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxMultiviewViewCount == rhs.maxMultiviewViewCount ) + && ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex ); + } + + bool operator!=( PhysicalDeviceMultiviewProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceMultiviewProperties; + void* pNext = {}; + uint32_t maxMultiviewViewCount = {}; + uint32_t maxMultiviewInstanceIndex = {}; + + }; + static_assert( sizeof( PhysicalDeviceMultiviewProperties ) == sizeof( VkPhysicalDeviceMultiviewProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceMultiviewProperties; + }; + using PhysicalDeviceMultiviewPropertiesKHR = PhysicalDeviceMultiviewProperties; + + struct PhysicalDevicePCIBusInfoPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePciBusInfoPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePCIBusInfoPropertiesEXT(uint32_t pciDomain_ = {}, uint32_t pciBus_ = {}, uint32_t pciDevice_ = {}, uint32_t pciFunction_ = {}) VULKAN_HPP_NOEXCEPT + : pciDomain( pciDomain_ ), pciBus( pciBus_ ), pciDevice( pciDevice_ ), pciFunction( pciFunction_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePCIBusInfoPropertiesEXT( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePCIBusInfoPropertiesEXT( VkPhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePCIBusInfoPropertiesEXT & operator=( VkPhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePCIBusInfoPropertiesEXT & operator=( PhysicalDevicePCIBusInfoPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePCIBusInfoPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDevicePCIBusInfoPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePCIBusInfoPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePCIBusInfoPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDevicePCIBusInfoPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pciDomain == rhs.pciDomain ) + && ( pciBus == rhs.pciBus ) + && ( pciDevice == rhs.pciDevice ) + && ( pciFunction == rhs.pciFunction ); + } + + bool operator!=( PhysicalDevicePCIBusInfoPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePciBusInfoPropertiesEXT; + void* pNext = {}; + uint32_t pciDomain = {}; + uint32_t pciBus = {}; + uint32_t pciDevice = {}; + uint32_t pciFunction = {}; + + }; + static_assert( sizeof( PhysicalDevicePCIBusInfoPropertiesEXT ) == sizeof( VkPhysicalDevicePCIBusInfoPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePCIBusInfoPropertiesEXT; + }; + + struct PhysicalDevicePerformanceQueryFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools_ = {}, VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools_ = {}) VULKAN_HPP_NOEXCEPT + : performanceCounterQueryPools( performanceCounterQueryPools_ ), performanceCounterMultipleQueryPools( performanceCounterMultipleQueryPools_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryFeaturesKHR( PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePerformanceQueryFeaturesKHR( VkPhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePerformanceQueryFeaturesKHR & operator=( VkPhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePerformanceQueryFeaturesKHR & operator=( PhysicalDevicePerformanceQueryFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePerformanceQueryFeaturesKHR ) ); + return *this; + } + + PhysicalDevicePerformanceQueryFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePerformanceQueryFeaturesKHR & setPerformanceCounterQueryPools( VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools_ ) VULKAN_HPP_NOEXCEPT + { + performanceCounterQueryPools = performanceCounterQueryPools_; + return *this; + } + + PhysicalDevicePerformanceQueryFeaturesKHR & setPerformanceCounterMultipleQueryPools( VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools_ ) VULKAN_HPP_NOEXCEPT + { + performanceCounterMultipleQueryPools = performanceCounterMultipleQueryPools_; + return *this; + } + + + operator VkPhysicalDevicePerformanceQueryFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePerformanceQueryFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePerformanceQueryFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePerformanceQueryFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( performanceCounterQueryPools == rhs.performanceCounterQueryPools ) + && ( performanceCounterMultipleQueryPools == rhs.performanceCounterMultipleQueryPools ); + } + + bool operator!=( PhysicalDevicePerformanceQueryFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePerformanceQueryFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 performanceCounterQueryPools = {}; + VULKAN_HPP_NAMESPACE::Bool32 performanceCounterMultipleQueryPools = {}; + + }; + static_assert( sizeof( PhysicalDevicePerformanceQueryFeaturesKHR ) == sizeof( VkPhysicalDevicePerformanceQueryFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePerformanceQueryFeaturesKHR; + }; + + struct PhysicalDevicePerformanceQueryPropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryPropertiesKHR(VULKAN_HPP_NAMESPACE::Bool32 allowCommandBufferQueryCopies_ = {}) VULKAN_HPP_NOEXCEPT + : allowCommandBufferQueryCopies( allowCommandBufferQueryCopies_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePerformanceQueryPropertiesKHR( PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePerformanceQueryPropertiesKHR( VkPhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePerformanceQueryPropertiesKHR & operator=( VkPhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePerformanceQueryPropertiesKHR & operator=( PhysicalDevicePerformanceQueryPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePerformanceQueryPropertiesKHR ) ); + return *this; + } + + + operator VkPhysicalDevicePerformanceQueryPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePerformanceQueryPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePerformanceQueryPropertiesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePerformanceQueryPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( allowCommandBufferQueryCopies == rhs.allowCommandBufferQueryCopies ); + } + + bool operator!=( PhysicalDevicePerformanceQueryPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePerformanceQueryPropertiesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 allowCommandBufferQueryCopies = {}; + + }; + static_assert( sizeof( PhysicalDevicePerformanceQueryPropertiesKHR ) == sizeof( VkPhysicalDevicePerformanceQueryPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePerformanceQueryPropertiesKHR; + }; + + struct PhysicalDevicePipelineCreationCacheControlFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineCreationCacheControlFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl_ = {}) VULKAN_HPP_NOEXCEPT + : pipelineCreationCacheControl( pipelineCreationCacheControl_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineCreationCacheControlFeaturesEXT( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePipelineCreationCacheControlFeaturesEXT( VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePipelineCreationCacheControlFeaturesEXT & operator=( VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePipelineCreationCacheControlFeaturesEXT & operator=( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePipelineCreationCacheControlFeaturesEXT ) ); + return *this; + } + + PhysicalDevicePipelineCreationCacheControlFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePipelineCreationCacheControlFeaturesEXT & setPipelineCreationCacheControl( VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl_ ) VULKAN_HPP_NOEXCEPT + { + pipelineCreationCacheControl = pipelineCreationCacheControl_; + return *this; + } + + + operator VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipelineCreationCacheControl == rhs.pipelineCreationCacheControl ); + } + + bool operator!=( PhysicalDevicePipelineCreationCacheControlFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePipelineCreationCacheControlFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 pipelineCreationCacheControl = {}; + + }; + static_assert( sizeof( PhysicalDevicePipelineCreationCacheControlFeaturesEXT ) == sizeof( VkPhysicalDevicePipelineCreationCacheControlFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePipelineCreationCacheControlFeaturesEXT; + }; + + struct PhysicalDevicePipelineExecutablePropertiesFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineExecutablePropertiesFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo_ = {}) VULKAN_HPP_NOEXCEPT + : pipelineExecutableInfo( pipelineExecutableInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePipelineExecutablePropertiesFeaturesKHR( VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & operator=( VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & operator=( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR ) ); + return *this; + } + + PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePipelineExecutablePropertiesFeaturesKHR & setPipelineExecutableInfo( VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo_ ) VULKAN_HPP_NOEXCEPT + { + pipelineExecutableInfo = pipelineExecutableInfo_; + return *this; + } + + + operator VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pipelineExecutableInfo == rhs.pipelineExecutableInfo ); + } + + bool operator!=( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 pipelineExecutableInfo = {}; + + }; + static_assert( sizeof( PhysicalDevicePipelineExecutablePropertiesFeaturesKHR ) == sizeof( VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePipelineExecutablePropertiesFeaturesKHR; + }; + + struct PhysicalDevicePointClippingProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePointClippingProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePointClippingProperties(VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior_ = VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes) VULKAN_HPP_NOEXCEPT + : pointClippingBehavior( pointClippingBehavior_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePointClippingProperties( PhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePointClippingProperties( VkPhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePointClippingProperties & operator=( VkPhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePointClippingProperties & operator=( PhysicalDevicePointClippingProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePointClippingProperties ) ); + return *this; + } + + + operator VkPhysicalDevicePointClippingProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePointClippingProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePointClippingProperties const& ) const = default; +#else + bool operator==( PhysicalDevicePointClippingProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pointClippingBehavior == rhs.pointClippingBehavior ); + } + + bool operator!=( PhysicalDevicePointClippingProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePointClippingProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior = VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes; + + }; + static_assert( sizeof( PhysicalDevicePointClippingProperties ) == sizeof( VkPhysicalDevicePointClippingProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePointClippingProperties; + }; + using PhysicalDevicePointClippingPropertiesKHR = PhysicalDevicePointClippingProperties; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct PhysicalDevicePortabilitySubsetFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors_ = {}, VULKAN_HPP_NAMESPACE::Bool32 events_ = {}, VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation_ = {}, VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle_ = {}, VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage_ = {}, VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers_ = {}, VULKAN_HPP_NAMESPACE::Bool32 pointPolygons_ = {}, VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias_ = {}, VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions_ = {}, VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines_ = {}, VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode_ = {}, VULKAN_HPP_NAMESPACE::Bool32 triangleFans_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride_ = {}) VULKAN_HPP_NOEXCEPT + : constantAlphaColorBlendFactors( constantAlphaColorBlendFactors_ ), events( events_ ), imageViewFormatReinterpretation( imageViewFormatReinterpretation_ ), imageViewFormatSwizzle( imageViewFormatSwizzle_ ), imageView2DOn3DImage( imageView2DOn3DImage_ ), multisampleArrayImage( multisampleArrayImage_ ), mutableComparisonSamplers( mutableComparisonSamplers_ ), pointPolygons( pointPolygons_ ), samplerMipLodBias( samplerMipLodBias_ ), separateStencilMaskRef( separateStencilMaskRef_ ), shaderSampleRateInterpolationFunctions( shaderSampleRateInterpolationFunctions_ ), tessellationIsolines( tessellationIsolines_ ), tessellationPointMode( tessellationPointMode_ ), triangleFans( triangleFans_ ), vertexAttributeAccessBeyondStride( vertexAttributeAccessBeyondStride_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetFeaturesKHR( PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePortabilitySubsetFeaturesKHR( VkPhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePortabilitySubsetFeaturesKHR & operator=( VkPhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & operator=( PhysicalDevicePortabilitySubsetFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePortabilitySubsetFeaturesKHR ) ); + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setConstantAlphaColorBlendFactors( VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors_ ) VULKAN_HPP_NOEXCEPT + { + constantAlphaColorBlendFactors = constantAlphaColorBlendFactors_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setEvents( VULKAN_HPP_NAMESPACE::Bool32 events_ ) VULKAN_HPP_NOEXCEPT + { + events = events_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setImageViewFormatReinterpretation( VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation_ ) VULKAN_HPP_NOEXCEPT + { + imageViewFormatReinterpretation = imageViewFormatReinterpretation_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setImageViewFormatSwizzle( VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle_ ) VULKAN_HPP_NOEXCEPT + { + imageViewFormatSwizzle = imageViewFormatSwizzle_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setImageView2DOn3DImage( VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage_ ) VULKAN_HPP_NOEXCEPT + { + imageView2DOn3DImage = imageView2DOn3DImage_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setMultisampleArrayImage( VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage_ ) VULKAN_HPP_NOEXCEPT + { + multisampleArrayImage = multisampleArrayImage_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setMutableComparisonSamplers( VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers_ ) VULKAN_HPP_NOEXCEPT + { + mutableComparisonSamplers = mutableComparisonSamplers_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setPointPolygons( VULKAN_HPP_NAMESPACE::Bool32 pointPolygons_ ) VULKAN_HPP_NOEXCEPT + { + pointPolygons = pointPolygons_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setSamplerMipLodBias( VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias_ ) VULKAN_HPP_NOEXCEPT + { + samplerMipLodBias = samplerMipLodBias_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setSeparateStencilMaskRef( VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef_ ) VULKAN_HPP_NOEXCEPT + { + separateStencilMaskRef = separateStencilMaskRef_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setShaderSampleRateInterpolationFunctions( VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions_ ) VULKAN_HPP_NOEXCEPT + { + shaderSampleRateInterpolationFunctions = shaderSampleRateInterpolationFunctions_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setTessellationIsolines( VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines_ ) VULKAN_HPP_NOEXCEPT + { + tessellationIsolines = tessellationIsolines_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setTessellationPointMode( VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode_ ) VULKAN_HPP_NOEXCEPT + { + tessellationPointMode = tessellationPointMode_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setTriangleFans( VULKAN_HPP_NAMESPACE::Bool32 triangleFans_ ) VULKAN_HPP_NOEXCEPT + { + triangleFans = triangleFans_; + return *this; + } + + PhysicalDevicePortabilitySubsetFeaturesKHR & setVertexAttributeAccessBeyondStride( VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride_ ) VULKAN_HPP_NOEXCEPT + { + vertexAttributeAccessBeyondStride = vertexAttributeAccessBeyondStride_; + return *this; + } + + + operator VkPhysicalDevicePortabilitySubsetFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePortabilitySubsetFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePortabilitySubsetFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePortabilitySubsetFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( constantAlphaColorBlendFactors == rhs.constantAlphaColorBlendFactors ) + && ( events == rhs.events ) + && ( imageViewFormatReinterpretation == rhs.imageViewFormatReinterpretation ) + && ( imageViewFormatSwizzle == rhs.imageViewFormatSwizzle ) + && ( imageView2DOn3DImage == rhs.imageView2DOn3DImage ) + && ( multisampleArrayImage == rhs.multisampleArrayImage ) + && ( mutableComparisonSamplers == rhs.mutableComparisonSamplers ) + && ( pointPolygons == rhs.pointPolygons ) + && ( samplerMipLodBias == rhs.samplerMipLodBias ) + && ( separateStencilMaskRef == rhs.separateStencilMaskRef ) + && ( shaderSampleRateInterpolationFunctions == rhs.shaderSampleRateInterpolationFunctions ) + && ( tessellationIsolines == rhs.tessellationIsolines ) + && ( tessellationPointMode == rhs.tessellationPointMode ) + && ( triangleFans == rhs.triangleFans ) + && ( vertexAttributeAccessBeyondStride == rhs.vertexAttributeAccessBeyondStride ); + } + + bool operator!=( PhysicalDevicePortabilitySubsetFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePortabilitySubsetFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 constantAlphaColorBlendFactors = {}; + VULKAN_HPP_NAMESPACE::Bool32 events = {}; + VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatReinterpretation = {}; + VULKAN_HPP_NAMESPACE::Bool32 imageViewFormatSwizzle = {}; + VULKAN_HPP_NAMESPACE::Bool32 imageView2DOn3DImage = {}; + VULKAN_HPP_NAMESPACE::Bool32 multisampleArrayImage = {}; + VULKAN_HPP_NAMESPACE::Bool32 mutableComparisonSamplers = {}; + VULKAN_HPP_NAMESPACE::Bool32 pointPolygons = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerMipLodBias = {}; + VULKAN_HPP_NAMESPACE::Bool32 separateStencilMaskRef = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampleRateInterpolationFunctions = {}; + VULKAN_HPP_NAMESPACE::Bool32 tessellationIsolines = {}; + VULKAN_HPP_NAMESPACE::Bool32 tessellationPointMode = {}; + VULKAN_HPP_NAMESPACE::Bool32 triangleFans = {}; + VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeAccessBeyondStride = {}; + + }; + static_assert( sizeof( PhysicalDevicePortabilitySubsetFeaturesKHR ) == sizeof( VkPhysicalDevicePortabilitySubsetFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePortabilitySubsetFeaturesKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct PhysicalDevicePortabilitySubsetPropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetPropertiesKHR(uint32_t minVertexInputBindingStrideAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : minVertexInputBindingStrideAlignment( minVertexInputBindingStrideAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePortabilitySubsetPropertiesKHR( PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePortabilitySubsetPropertiesKHR( VkPhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePortabilitySubsetPropertiesKHR & operator=( VkPhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePortabilitySubsetPropertiesKHR & operator=( PhysicalDevicePortabilitySubsetPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePortabilitySubsetPropertiesKHR ) ); + return *this; + } + + PhysicalDevicePortabilitySubsetPropertiesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePortabilitySubsetPropertiesKHR & setMinVertexInputBindingStrideAlignment( uint32_t minVertexInputBindingStrideAlignment_ ) VULKAN_HPP_NOEXCEPT + { + minVertexInputBindingStrideAlignment = minVertexInputBindingStrideAlignment_; + return *this; + } + + + operator VkPhysicalDevicePortabilitySubsetPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePortabilitySubsetPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePortabilitySubsetPropertiesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePortabilitySubsetPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minVertexInputBindingStrideAlignment == rhs.minVertexInputBindingStrideAlignment ); + } + + bool operator!=( PhysicalDevicePortabilitySubsetPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePortabilitySubsetPropertiesKHR; + void* pNext = {}; + uint32_t minVertexInputBindingStrideAlignment = {}; + + }; + static_assert( sizeof( PhysicalDevicePortabilitySubsetPropertiesKHR ) == sizeof( VkPhysicalDevicePortabilitySubsetPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePortabilitySubsetPropertiesKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct PhysicalDevicePrivateDataFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePrivateDataFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePrivateDataFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 privateData_ = {}) VULKAN_HPP_NOEXCEPT + : privateData( privateData_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePrivateDataFeaturesEXT( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePrivateDataFeaturesEXT( VkPhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePrivateDataFeaturesEXT & operator=( VkPhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePrivateDataFeaturesEXT & operator=( PhysicalDevicePrivateDataFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePrivateDataFeaturesEXT ) ); + return *this; + } + + PhysicalDevicePrivateDataFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDevicePrivateDataFeaturesEXT & setPrivateData( VULKAN_HPP_NAMESPACE::Bool32 privateData_ ) VULKAN_HPP_NOEXCEPT + { + privateData = privateData_; + return *this; + } + + + operator VkPhysicalDevicePrivateDataFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePrivateDataFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePrivateDataFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDevicePrivateDataFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( privateData == rhs.privateData ); + } + + bool operator!=( PhysicalDevicePrivateDataFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePrivateDataFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 privateData = {}; + + }; + static_assert( sizeof( PhysicalDevicePrivateDataFeaturesEXT ) == sizeof( VkPhysicalDevicePrivateDataFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePrivateDataFeaturesEXT; + }; + + struct PhysicalDeviceProtectedMemoryFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceProtectedMemoryFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures(VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ = {}) VULKAN_HPP_NOEXCEPT + : protectedMemory( protectedMemory_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures( PhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceProtectedMemoryFeatures( VkPhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceProtectedMemoryFeatures & operator=( VkPhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceProtectedMemoryFeatures & operator=( PhysicalDeviceProtectedMemoryFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) ); + return *this; + } + + PhysicalDeviceProtectedMemoryFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceProtectedMemoryFeatures & setProtectedMemory( VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ ) VULKAN_HPP_NOEXCEPT + { + protectedMemory = protectedMemory_; + return *this; + } + + + operator VkPhysicalDeviceProtectedMemoryFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceProtectedMemoryFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceProtectedMemoryFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( protectedMemory == rhs.protectedMemory ); + } + + bool operator!=( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 protectedMemory = {}; + + }; + static_assert( sizeof( PhysicalDeviceProtectedMemoryFeatures ) == sizeof( VkPhysicalDeviceProtectedMemoryFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceProtectedMemoryFeatures; + }; + + struct PhysicalDeviceProtectedMemoryProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceProtectedMemoryProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryProperties(VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault_ = {}) VULKAN_HPP_NOEXCEPT + : protectedNoFault( protectedNoFault_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryProperties( PhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceProtectedMemoryProperties( VkPhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceProtectedMemoryProperties & operator=( VkPhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceProtectedMemoryProperties & operator=( PhysicalDeviceProtectedMemoryProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceProtectedMemoryProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceProtectedMemoryProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceProtectedMemoryProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceProtectedMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( protectedNoFault == rhs.protectedNoFault ); + } + + bool operator!=( PhysicalDeviceProtectedMemoryProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault = {}; + + }; + static_assert( sizeof( PhysicalDeviceProtectedMemoryProperties ) == sizeof( VkPhysicalDeviceProtectedMemoryProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceProtectedMemoryProperties; + }; + + struct PhysicalDevicePushDescriptorPropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePushDescriptorPropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePushDescriptorPropertiesKHR(uint32_t maxPushDescriptors_ = {}) VULKAN_HPP_NOEXCEPT + : maxPushDescriptors( maxPushDescriptors_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDevicePushDescriptorPropertiesKHR( PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePushDescriptorPropertiesKHR( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDevicePushDescriptorPropertiesKHR & operator=( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDevicePushDescriptorPropertiesKHR & operator=( PhysicalDevicePushDescriptorPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) ); + return *this; + } + + + operator VkPhysicalDevicePushDescriptorPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePushDescriptorPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDevicePushDescriptorPropertiesKHR const& ) const = default; +#else + bool operator==( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxPushDescriptors == rhs.maxPushDescriptors ); + } + + bool operator!=( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDevicePushDescriptorPropertiesKHR; + void* pNext = {}; + uint32_t maxPushDescriptors = {}; + + }; + static_assert( sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) == sizeof( VkPhysicalDevicePushDescriptorPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDevicePushDescriptorPropertiesKHR; + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct PhysicalDeviceRayTracingFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRayTracingFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 rayTracing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplay_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplayMixed_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingAccelerationStructureCaptureReplay_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectTraceRays_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectAccelerationStructureBuild_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingHostAccelerationStructureCommands_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayQuery_ = {}, VULKAN_HPP_NAMESPACE::Bool32 rayTracingPrimitiveCulling_ = {}) VULKAN_HPP_NOEXCEPT + : rayTracing( rayTracing_ ), rayTracingShaderGroupHandleCaptureReplay( rayTracingShaderGroupHandleCaptureReplay_ ), rayTracingShaderGroupHandleCaptureReplayMixed( rayTracingShaderGroupHandleCaptureReplayMixed_ ), rayTracingAccelerationStructureCaptureReplay( rayTracingAccelerationStructureCaptureReplay_ ), rayTracingIndirectTraceRays( rayTracingIndirectTraceRays_ ), rayTracingIndirectAccelerationStructureBuild( rayTracingIndirectAccelerationStructureBuild_ ), rayTracingHostAccelerationStructureCommands( rayTracingHostAccelerationStructureCommands_ ), rayQuery( rayQuery_ ), rayTracingPrimitiveCulling( rayTracingPrimitiveCulling_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingFeaturesKHR( PhysicalDeviceRayTracingFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRayTracingFeaturesKHR( VkPhysicalDeviceRayTracingFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRayTracingFeaturesKHR & operator=( VkPhysicalDeviceRayTracingFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & operator=( PhysicalDeviceRayTracingFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRayTracingFeaturesKHR ) ); + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracing( VULKAN_HPP_NAMESPACE::Bool32 rayTracing_ ) VULKAN_HPP_NOEXCEPT + { + rayTracing = rayTracing_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingShaderGroupHandleCaptureReplay( VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplay_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingShaderGroupHandleCaptureReplay = rayTracingShaderGroupHandleCaptureReplay_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingShaderGroupHandleCaptureReplayMixed( VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplayMixed_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingShaderGroupHandleCaptureReplayMixed = rayTracingShaderGroupHandleCaptureReplayMixed_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingAccelerationStructureCaptureReplay( VULKAN_HPP_NAMESPACE::Bool32 rayTracingAccelerationStructureCaptureReplay_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingAccelerationStructureCaptureReplay = rayTracingAccelerationStructureCaptureReplay_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingIndirectTraceRays( VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectTraceRays_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingIndirectTraceRays = rayTracingIndirectTraceRays_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingIndirectAccelerationStructureBuild( VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectAccelerationStructureBuild_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingIndirectAccelerationStructureBuild = rayTracingIndirectAccelerationStructureBuild_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingHostAccelerationStructureCommands( VULKAN_HPP_NAMESPACE::Bool32 rayTracingHostAccelerationStructureCommands_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingHostAccelerationStructureCommands = rayTracingHostAccelerationStructureCommands_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayQuery( VULKAN_HPP_NAMESPACE::Bool32 rayQuery_ ) VULKAN_HPP_NOEXCEPT + { + rayQuery = rayQuery_; + return *this; + } + + PhysicalDeviceRayTracingFeaturesKHR & setRayTracingPrimitiveCulling( VULKAN_HPP_NAMESPACE::Bool32 rayTracingPrimitiveCulling_ ) VULKAN_HPP_NOEXCEPT + { + rayTracingPrimitiveCulling = rayTracingPrimitiveCulling_; + return *this; + } + + + operator VkPhysicalDeviceRayTracingFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRayTracingFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRayTracingFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceRayTracingFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( rayTracing == rhs.rayTracing ) + && ( rayTracingShaderGroupHandleCaptureReplay == rhs.rayTracingShaderGroupHandleCaptureReplay ) + && ( rayTracingShaderGroupHandleCaptureReplayMixed == rhs.rayTracingShaderGroupHandleCaptureReplayMixed ) + && ( rayTracingAccelerationStructureCaptureReplay == rhs.rayTracingAccelerationStructureCaptureReplay ) + && ( rayTracingIndirectTraceRays == rhs.rayTracingIndirectTraceRays ) + && ( rayTracingIndirectAccelerationStructureBuild == rhs.rayTracingIndirectAccelerationStructureBuild ) + && ( rayTracingHostAccelerationStructureCommands == rhs.rayTracingHostAccelerationStructureCommands ) + && ( rayQuery == rhs.rayQuery ) + && ( rayTracingPrimitiveCulling == rhs.rayTracingPrimitiveCulling ); + } + + bool operator!=( PhysicalDeviceRayTracingFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracing = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplay = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingShaderGroupHandleCaptureReplayMixed = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingAccelerationStructureCaptureReplay = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectTraceRays = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingIndirectAccelerationStructureBuild = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingHostAccelerationStructureCommands = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayQuery = {}; + VULKAN_HPP_NAMESPACE::Bool32 rayTracingPrimitiveCulling = {}; + + }; + static_assert( sizeof( PhysicalDeviceRayTracingFeaturesKHR ) == sizeof( VkPhysicalDeviceRayTracingFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRayTracingFeaturesKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct PhysicalDeviceRayTracingPropertiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRayTracingPropertiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPropertiesKHR(uint32_t shaderGroupHandleSize_ = {}, uint32_t maxRecursionDepth_ = {}, uint32_t maxShaderGroupStride_ = {}, uint32_t shaderGroupBaseAlignment_ = {}, uint64_t maxGeometryCount_ = {}, uint64_t maxInstanceCount_ = {}, uint64_t maxPrimitiveCount_ = {}, uint32_t maxDescriptorSetAccelerationStructures_ = {}, uint32_t shaderGroupHandleCaptureReplaySize_ = {}) VULKAN_HPP_NOEXCEPT + : shaderGroupHandleSize( shaderGroupHandleSize_ ), maxRecursionDepth( maxRecursionDepth_ ), maxShaderGroupStride( maxShaderGroupStride_ ), shaderGroupBaseAlignment( shaderGroupBaseAlignment_ ), maxGeometryCount( maxGeometryCount_ ), maxInstanceCount( maxInstanceCount_ ), maxPrimitiveCount( maxPrimitiveCount_ ), maxDescriptorSetAccelerationStructures( maxDescriptorSetAccelerationStructures_ ), shaderGroupHandleCaptureReplaySize( shaderGroupHandleCaptureReplaySize_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPropertiesKHR( PhysicalDeviceRayTracingPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRayTracingPropertiesKHR( VkPhysicalDeviceRayTracingPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRayTracingPropertiesKHR & operator=( VkPhysicalDeviceRayTracingPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRayTracingPropertiesKHR & operator=( PhysicalDeviceRayTracingPropertiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRayTracingPropertiesKHR ) ); + return *this; + } + + + operator VkPhysicalDeviceRayTracingPropertiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRayTracingPropertiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRayTracingPropertiesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceRayTracingPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderGroupHandleSize == rhs.shaderGroupHandleSize ) + && ( maxRecursionDepth == rhs.maxRecursionDepth ) + && ( maxShaderGroupStride == rhs.maxShaderGroupStride ) + && ( shaderGroupBaseAlignment == rhs.shaderGroupBaseAlignment ) + && ( maxGeometryCount == rhs.maxGeometryCount ) + && ( maxInstanceCount == rhs.maxInstanceCount ) + && ( maxPrimitiveCount == rhs.maxPrimitiveCount ) + && ( maxDescriptorSetAccelerationStructures == rhs.maxDescriptorSetAccelerationStructures ) + && ( shaderGroupHandleCaptureReplaySize == rhs.shaderGroupHandleCaptureReplaySize ); + } + + bool operator!=( PhysicalDeviceRayTracingPropertiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingPropertiesKHR; + void* pNext = {}; + uint32_t shaderGroupHandleSize = {}; + uint32_t maxRecursionDepth = {}; + uint32_t maxShaderGroupStride = {}; + uint32_t shaderGroupBaseAlignment = {}; + uint64_t maxGeometryCount = {}; + uint64_t maxInstanceCount = {}; + uint64_t maxPrimitiveCount = {}; + uint32_t maxDescriptorSetAccelerationStructures = {}; + uint32_t shaderGroupHandleCaptureReplaySize = {}; + + }; + static_assert( sizeof( PhysicalDeviceRayTracingPropertiesKHR ) == sizeof( VkPhysicalDeviceRayTracingPropertiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRayTracingPropertiesKHR; + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct PhysicalDeviceRayTracingPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRayTracingPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPropertiesNV(uint32_t shaderGroupHandleSize_ = {}, uint32_t maxRecursionDepth_ = {}, uint32_t maxShaderGroupStride_ = {}, uint32_t shaderGroupBaseAlignment_ = {}, uint64_t maxGeometryCount_ = {}, uint64_t maxInstanceCount_ = {}, uint64_t maxTriangleCount_ = {}, uint32_t maxDescriptorSetAccelerationStructures_ = {}) VULKAN_HPP_NOEXCEPT + : shaderGroupHandleSize( shaderGroupHandleSize_ ), maxRecursionDepth( maxRecursionDepth_ ), maxShaderGroupStride( maxShaderGroupStride_ ), shaderGroupBaseAlignment( shaderGroupBaseAlignment_ ), maxGeometryCount( maxGeometryCount_ ), maxInstanceCount( maxInstanceCount_ ), maxTriangleCount( maxTriangleCount_ ), maxDescriptorSetAccelerationStructures( maxDescriptorSetAccelerationStructures_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingPropertiesNV( PhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRayTracingPropertiesNV( VkPhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRayTracingPropertiesNV & operator=( VkPhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRayTracingPropertiesNV & operator=( PhysicalDeviceRayTracingPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRayTracingPropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceRayTracingPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRayTracingPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRayTracingPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceRayTracingPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderGroupHandleSize == rhs.shaderGroupHandleSize ) + && ( maxRecursionDepth == rhs.maxRecursionDepth ) + && ( maxShaderGroupStride == rhs.maxShaderGroupStride ) + && ( shaderGroupBaseAlignment == rhs.shaderGroupBaseAlignment ) + && ( maxGeometryCount == rhs.maxGeometryCount ) + && ( maxInstanceCount == rhs.maxInstanceCount ) + && ( maxTriangleCount == rhs.maxTriangleCount ) + && ( maxDescriptorSetAccelerationStructures == rhs.maxDescriptorSetAccelerationStructures ); + } + + bool operator!=( PhysicalDeviceRayTracingPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRayTracingPropertiesNV; + void* pNext = {}; + uint32_t shaderGroupHandleSize = {}; + uint32_t maxRecursionDepth = {}; + uint32_t maxShaderGroupStride = {}; + uint32_t shaderGroupBaseAlignment = {}; + uint64_t maxGeometryCount = {}; + uint64_t maxInstanceCount = {}; + uint64_t maxTriangleCount = {}; + uint32_t maxDescriptorSetAccelerationStructures = {}; + + }; + static_assert( sizeof( PhysicalDeviceRayTracingPropertiesNV ) == sizeof( VkPhysicalDeviceRayTracingPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRayTracingPropertiesNV; + }; + + struct PhysicalDeviceRepresentativeFragmentTestFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRepresentativeFragmentTestFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest_ = {}) VULKAN_HPP_NOEXCEPT + : representativeFragmentTest( representativeFragmentTest_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRepresentativeFragmentTestFeaturesNV( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRepresentativeFragmentTestFeaturesNV( VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRepresentativeFragmentTestFeaturesNV & operator=( VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRepresentativeFragmentTestFeaturesNV & operator=( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRepresentativeFragmentTestFeaturesNV ) ); + return *this; + } + + PhysicalDeviceRepresentativeFragmentTestFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceRepresentativeFragmentTestFeaturesNV & setRepresentativeFragmentTest( VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest_ ) VULKAN_HPP_NOEXCEPT + { + representativeFragmentTest = representativeFragmentTest_; + return *this; + } + + + operator VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( representativeFragmentTest == rhs.representativeFragmentTest ); + } + + bool operator!=( PhysicalDeviceRepresentativeFragmentTestFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRepresentativeFragmentTestFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTest = {}; + + }; + static_assert( sizeof( PhysicalDeviceRepresentativeFragmentTestFeaturesNV ) == sizeof( VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRepresentativeFragmentTestFeaturesNV; + }; + + struct PhysicalDeviceRobustness2FeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRobustness2FeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2FeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2_ = {}, VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2_ = {}, VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor_ = {}) VULKAN_HPP_NOEXCEPT + : robustBufferAccess2( robustBufferAccess2_ ), robustImageAccess2( robustImageAccess2_ ), nullDescriptor( nullDescriptor_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2FeaturesEXT( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRobustness2FeaturesEXT( VkPhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRobustness2FeaturesEXT & operator=( VkPhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRobustness2FeaturesEXT & operator=( PhysicalDeviceRobustness2FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRobustness2FeaturesEXT ) ); + return *this; + } + + PhysicalDeviceRobustness2FeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceRobustness2FeaturesEXT & setRobustBufferAccess2( VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2_ ) VULKAN_HPP_NOEXCEPT + { + robustBufferAccess2 = robustBufferAccess2_; + return *this; + } + + PhysicalDeviceRobustness2FeaturesEXT & setRobustImageAccess2( VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2_ ) VULKAN_HPP_NOEXCEPT + { + robustImageAccess2 = robustImageAccess2_; + return *this; + } + + PhysicalDeviceRobustness2FeaturesEXT & setNullDescriptor( VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor_ ) VULKAN_HPP_NOEXCEPT + { + nullDescriptor = nullDescriptor_; + return *this; + } + + + operator VkPhysicalDeviceRobustness2FeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRobustness2FeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRobustness2FeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceRobustness2FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( robustBufferAccess2 == rhs.robustBufferAccess2 ) + && ( robustImageAccess2 == rhs.robustImageAccess2 ) + && ( nullDescriptor == rhs.nullDescriptor ); + } + + bool operator!=( PhysicalDeviceRobustness2FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRobustness2FeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccess2 = {}; + VULKAN_HPP_NAMESPACE::Bool32 robustImageAccess2 = {}; + VULKAN_HPP_NAMESPACE::Bool32 nullDescriptor = {}; + + }; + static_assert( sizeof( PhysicalDeviceRobustness2FeaturesEXT ) == sizeof( VkPhysicalDeviceRobustness2FeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRobustness2FeaturesEXT; + }; + + struct PhysicalDeviceRobustness2PropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRobustness2PropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2PropertiesEXT(VULKAN_HPP_NAMESPACE::DeviceSize robustStorageBufferAccessSizeAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize robustUniformBufferAccessSizeAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : robustStorageBufferAccessSizeAlignment( robustStorageBufferAccessSizeAlignment_ ), robustUniformBufferAccessSizeAlignment( robustUniformBufferAccessSizeAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceRobustness2PropertiesEXT( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceRobustness2PropertiesEXT( VkPhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceRobustness2PropertiesEXT & operator=( VkPhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceRobustness2PropertiesEXT & operator=( PhysicalDeviceRobustness2PropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceRobustness2PropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceRobustness2PropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceRobustness2PropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceRobustness2PropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceRobustness2PropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( robustStorageBufferAccessSizeAlignment == rhs.robustStorageBufferAccessSizeAlignment ) + && ( robustUniformBufferAccessSizeAlignment == rhs.robustUniformBufferAccessSizeAlignment ); + } + + bool operator!=( PhysicalDeviceRobustness2PropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceRobustness2PropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize robustStorageBufferAccessSizeAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize robustUniformBufferAccessSizeAlignment = {}; + + }; + static_assert( sizeof( PhysicalDeviceRobustness2PropertiesEXT ) == sizeof( VkPhysicalDeviceRobustness2PropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceRobustness2PropertiesEXT; + }; + + struct PhysicalDeviceSampleLocationsPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSampleLocationsPropertiesEXT(VULKAN_HPP_NAMESPACE::SampleCountFlags sampleLocationSampleCounts_ = {}, VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize_ = {}, std::array const& sampleLocationCoordinateRange_ = {}, uint32_t sampleLocationSubPixelBits_ = {}, VULKAN_HPP_NAMESPACE::Bool32 variableSampleLocations_ = {}) VULKAN_HPP_NOEXCEPT + : sampleLocationSampleCounts( sampleLocationSampleCounts_ ), maxSampleLocationGridSize( maxSampleLocationGridSize_ ), sampleLocationCoordinateRange( sampleLocationCoordinateRange_ ), sampleLocationSubPixelBits( sampleLocationSubPixelBits_ ), variableSampleLocations( variableSampleLocations_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceSampleLocationsPropertiesEXT( PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSampleLocationsPropertiesEXT( VkPhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSampleLocationsPropertiesEXT & operator=( VkPhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSampleLocationsPropertiesEXT & operator=( PhysicalDeviceSampleLocationsPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSampleLocationsPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceSampleLocationsPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSampleLocationsPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSampleLocationsPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sampleLocationSampleCounts == rhs.sampleLocationSampleCounts ) + && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize ) + && ( sampleLocationCoordinateRange == rhs.sampleLocationCoordinateRange ) + && ( sampleLocationSubPixelBits == rhs.sampleLocationSubPixelBits ) + && ( variableSampleLocations == rhs.variableSampleLocations ); + } + + bool operator!=( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags sampleLocationSampleCounts = {}; + VULKAN_HPP_NAMESPACE::Extent2D maxSampleLocationGridSize = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D sampleLocationCoordinateRange = {}; + uint32_t sampleLocationSubPixelBits = {}; + VULKAN_HPP_NAMESPACE::Bool32 variableSampleLocations = {}; + + }; + static_assert( sizeof( PhysicalDeviceSampleLocationsPropertiesEXT ) == sizeof( VkPhysicalDeviceSampleLocationsPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSampleLocationsPropertiesEXT; + }; + + struct PhysicalDeviceSamplerFilterMinmaxProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerFilterMinmaxProperties(VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats_ = {}, VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping_ = {}) VULKAN_HPP_NOEXCEPT + : filterMinmaxSingleComponentFormats( filterMinmaxSingleComponentFormats_ ), filterMinmaxImageComponentMapping( filterMinmaxImageComponentMapping_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerFilterMinmaxProperties( PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSamplerFilterMinmaxProperties( VkPhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSamplerFilterMinmaxProperties & operator=( VkPhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSamplerFilterMinmaxProperties & operator=( PhysicalDeviceSamplerFilterMinmaxProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSamplerFilterMinmaxProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceSamplerFilterMinmaxProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSamplerFilterMinmaxProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSamplerFilterMinmaxProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceSamplerFilterMinmaxProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats ) + && ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping ); + } + + bool operator!=( PhysicalDeviceSamplerFilterMinmaxProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSamplerFilterMinmaxProperties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping = {}; + + }; + static_assert( sizeof( PhysicalDeviceSamplerFilterMinmaxProperties ) == sizeof( VkPhysicalDeviceSamplerFilterMinmaxProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSamplerFilterMinmaxProperties; + }; + using PhysicalDeviceSamplerFilterMinmaxPropertiesEXT = PhysicalDeviceSamplerFilterMinmaxProperties; + + struct PhysicalDeviceSamplerYcbcrConversionFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerYcbcrConversionFeatures(VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ = {}) VULKAN_HPP_NOEXCEPT + : samplerYcbcrConversion( samplerYcbcrConversion_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSamplerYcbcrConversionFeatures( PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSamplerYcbcrConversionFeatures( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSamplerYcbcrConversionFeatures & operator=( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSamplerYcbcrConversionFeatures & operator=( PhysicalDeviceSamplerYcbcrConversionFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) ); + return *this; + } + + PhysicalDeviceSamplerYcbcrConversionFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceSamplerYcbcrConversionFeatures & setSamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ ) VULKAN_HPP_NOEXCEPT + { + samplerYcbcrConversion = samplerYcbcrConversion_; + return *this; + } + + + operator VkPhysicalDeviceSamplerYcbcrConversionFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSamplerYcbcrConversionFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSamplerYcbcrConversionFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( samplerYcbcrConversion == rhs.samplerYcbcrConversion ); + } + + bool operator!=( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion = {}; + + }; + static_assert( sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) == sizeof( VkPhysicalDeviceSamplerYcbcrConversionFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSamplerYcbcrConversionFeatures; + }; + using PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = PhysicalDeviceSamplerYcbcrConversionFeatures; + + struct PhysicalDeviceScalarBlockLayoutFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceScalarBlockLayoutFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceScalarBlockLayoutFeatures(VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ = {}) VULKAN_HPP_NOEXCEPT + : scalarBlockLayout( scalarBlockLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceScalarBlockLayoutFeatures( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceScalarBlockLayoutFeatures( VkPhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceScalarBlockLayoutFeatures & operator=( VkPhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceScalarBlockLayoutFeatures & operator=( PhysicalDeviceScalarBlockLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceScalarBlockLayoutFeatures ) ); + return *this; + } + + PhysicalDeviceScalarBlockLayoutFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceScalarBlockLayoutFeatures & setScalarBlockLayout( VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ ) VULKAN_HPP_NOEXCEPT + { + scalarBlockLayout = scalarBlockLayout_; + return *this; + } + + + operator VkPhysicalDeviceScalarBlockLayoutFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceScalarBlockLayoutFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceScalarBlockLayoutFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceScalarBlockLayoutFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( scalarBlockLayout == rhs.scalarBlockLayout ); + } + + bool operator!=( PhysicalDeviceScalarBlockLayoutFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceScalarBlockLayoutFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout = {}; + + }; + static_assert( sizeof( PhysicalDeviceScalarBlockLayoutFeatures ) == sizeof( VkPhysicalDeviceScalarBlockLayoutFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceScalarBlockLayoutFeatures; + }; + using PhysicalDeviceScalarBlockLayoutFeaturesEXT = PhysicalDeviceScalarBlockLayoutFeatures; + + struct PhysicalDeviceSeparateDepthStencilLayoutsFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSeparateDepthStencilLayoutsFeatures(VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ = {}) VULKAN_HPP_NOEXCEPT + : separateDepthStencilLayouts( separateDepthStencilLayouts_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSeparateDepthStencilLayoutsFeatures( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSeparateDepthStencilLayoutsFeatures( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSeparateDepthStencilLayoutsFeatures & operator=( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSeparateDepthStencilLayoutsFeatures & operator=( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSeparateDepthStencilLayoutsFeatures ) ); + return *this; + } + + PhysicalDeviceSeparateDepthStencilLayoutsFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceSeparateDepthStencilLayoutsFeatures & setSeparateDepthStencilLayouts( VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ ) VULKAN_HPP_NOEXCEPT + { + separateDepthStencilLayouts = separateDepthStencilLayouts_; + return *this; + } + + + operator VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( separateDepthStencilLayouts == rhs.separateDepthStencilLayouts ); + } + + bool operator!=( PhysicalDeviceSeparateDepthStencilLayoutsFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSeparateDepthStencilLayoutsFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts = {}; + + }; + static_assert( sizeof( PhysicalDeviceSeparateDepthStencilLayoutsFeatures ) == sizeof( VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSeparateDepthStencilLayoutsFeatures; + }; + using PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR = PhysicalDeviceSeparateDepthStencilLayoutsFeatures; + + struct PhysicalDeviceShaderAtomicFloatFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicFloatFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd_ = {}) VULKAN_HPP_NOEXCEPT + : shaderBufferFloat32Atomics( shaderBufferFloat32Atomics_ ), shaderBufferFloat32AtomicAdd( shaderBufferFloat32AtomicAdd_ ), shaderBufferFloat64Atomics( shaderBufferFloat64Atomics_ ), shaderBufferFloat64AtomicAdd( shaderBufferFloat64AtomicAdd_ ), shaderSharedFloat32Atomics( shaderSharedFloat32Atomics_ ), shaderSharedFloat32AtomicAdd( shaderSharedFloat32AtomicAdd_ ), shaderSharedFloat64Atomics( shaderSharedFloat64Atomics_ ), shaderSharedFloat64AtomicAdd( shaderSharedFloat64AtomicAdd_ ), shaderImageFloat32Atomics( shaderImageFloat32Atomics_ ), shaderImageFloat32AtomicAdd( shaderImageFloat32AtomicAdd_ ), sparseImageFloat32Atomics( sparseImageFloat32Atomics_ ), sparseImageFloat32AtomicAdd( sparseImageFloat32AtomicAdd_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicFloatFeaturesEXT( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderAtomicFloatFeaturesEXT( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & operator=( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & operator=( PhysicalDeviceShaderAtomicFloatFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderAtomicFloatFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderBufferFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferFloat32Atomics = shaderBufferFloat32Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderBufferFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferFloat32AtomicAdd = shaderBufferFloat32AtomicAdd_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderBufferFloat64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferFloat64Atomics = shaderBufferFloat64Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderBufferFloat64AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferFloat64AtomicAdd = shaderBufferFloat64AtomicAdd_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderSharedFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedFloat32Atomics = shaderSharedFloat32Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderSharedFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedFloat32AtomicAdd = shaderSharedFloat32AtomicAdd_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderSharedFloat64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedFloat64Atomics = shaderSharedFloat64Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderSharedFloat64AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedFloat64AtomicAdd = shaderSharedFloat64AtomicAdd_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderImageFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderImageFloat32Atomics = shaderImageFloat32Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setShaderImageFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + shaderImageFloat32AtomicAdd = shaderImageFloat32AtomicAdd_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setSparseImageFloat32Atomics( VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics_ ) VULKAN_HPP_NOEXCEPT + { + sparseImageFloat32Atomics = sparseImageFloat32Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicFloatFeaturesEXT & setSparseImageFloat32AtomicAdd( VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd_ ) VULKAN_HPP_NOEXCEPT + { + sparseImageFloat32AtomicAdd = sparseImageFloat32AtomicAdd_; + return *this; + } + + + operator VkPhysicalDeviceShaderAtomicFloatFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderAtomicFloatFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderAtomicFloatFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderAtomicFloatFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderBufferFloat32Atomics == rhs.shaderBufferFloat32Atomics ) + && ( shaderBufferFloat32AtomicAdd == rhs.shaderBufferFloat32AtomicAdd ) + && ( shaderBufferFloat64Atomics == rhs.shaderBufferFloat64Atomics ) + && ( shaderBufferFloat64AtomicAdd == rhs.shaderBufferFloat64AtomicAdd ) + && ( shaderSharedFloat32Atomics == rhs.shaderSharedFloat32Atomics ) + && ( shaderSharedFloat32AtomicAdd == rhs.shaderSharedFloat32AtomicAdd ) + && ( shaderSharedFloat64Atomics == rhs.shaderSharedFloat64Atomics ) + && ( shaderSharedFloat64AtomicAdd == rhs.shaderSharedFloat64AtomicAdd ) + && ( shaderImageFloat32Atomics == rhs.shaderImageFloat32Atomics ) + && ( shaderImageFloat32AtomicAdd == rhs.shaderImageFloat32AtomicAdd ) + && ( sparseImageFloat32Atomics == rhs.sparseImageFloat32Atomics ) + && ( sparseImageFloat32AtomicAdd == rhs.sparseImageFloat32AtomicAdd ); + } + + bool operator!=( PhysicalDeviceShaderAtomicFloatFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat32AtomicAdd = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferFloat64AtomicAdd = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat32AtomicAdd = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedFloat64AtomicAdd = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderImageFloat32AtomicAdd = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseImageFloat32AtomicAdd = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderAtomicFloatFeaturesEXT ) == sizeof( VkPhysicalDeviceShaderAtomicFloatFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderAtomicFloatFeaturesEXT; + }; + + struct PhysicalDeviceShaderAtomicInt64Features + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderAtomicInt64Features; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicInt64Features(VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ = {}) VULKAN_HPP_NOEXCEPT + : shaderBufferInt64Atomics( shaderBufferInt64Atomics_ ), shaderSharedInt64Atomics( shaderSharedInt64Atomics_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderAtomicInt64Features( PhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderAtomicInt64Features( VkPhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderAtomicInt64Features & operator=( VkPhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderAtomicInt64Features & operator=( PhysicalDeviceShaderAtomicInt64Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderAtomicInt64Features ) ); + return *this; + } + + PhysicalDeviceShaderAtomicInt64Features & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderAtomicInt64Features & setShaderBufferInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferInt64Atomics = shaderBufferInt64Atomics_; + return *this; + } + + PhysicalDeviceShaderAtomicInt64Features & setShaderSharedInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedInt64Atomics = shaderSharedInt64Atomics_; + return *this; + } + + + operator VkPhysicalDeviceShaderAtomicInt64Features const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderAtomicInt64Features &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderAtomicInt64Features const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderAtomicInt64Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderBufferInt64Atomics == rhs.shaderBufferInt64Atomics ) + && ( shaderSharedInt64Atomics == rhs.shaderSharedInt64Atomics ); + } + + bool operator!=( PhysicalDeviceShaderAtomicInt64Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderAtomicInt64Features; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderAtomicInt64Features ) == sizeof( VkPhysicalDeviceShaderAtomicInt64Features ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderAtomicInt64Features; + }; + using PhysicalDeviceShaderAtomicInt64FeaturesKHR = PhysicalDeviceShaderAtomicInt64Features; + + struct PhysicalDeviceShaderClockFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderClockFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderClockFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock_ = {}) VULKAN_HPP_NOEXCEPT + : shaderSubgroupClock( shaderSubgroupClock_ ), shaderDeviceClock( shaderDeviceClock_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderClockFeaturesKHR( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderClockFeaturesKHR( VkPhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderClockFeaturesKHR & operator=( VkPhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderClockFeaturesKHR & operator=( PhysicalDeviceShaderClockFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderClockFeaturesKHR ) ); + return *this; + } + + PhysicalDeviceShaderClockFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderClockFeaturesKHR & setShaderSubgroupClock( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock_ ) VULKAN_HPP_NOEXCEPT + { + shaderSubgroupClock = shaderSubgroupClock_; + return *this; + } + + PhysicalDeviceShaderClockFeaturesKHR & setShaderDeviceClock( VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock_ ) VULKAN_HPP_NOEXCEPT + { + shaderDeviceClock = shaderDeviceClock_; + return *this; + } + + + operator VkPhysicalDeviceShaderClockFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderClockFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderClockFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderClockFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderSubgroupClock == rhs.shaderSubgroupClock ) + && ( shaderDeviceClock == rhs.shaderDeviceClock ); + } + + bool operator!=( PhysicalDeviceShaderClockFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderClockFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupClock = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDeviceClock = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderClockFeaturesKHR ) == sizeof( VkPhysicalDeviceShaderClockFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderClockFeaturesKHR; + }; + + struct PhysicalDeviceShaderCoreProperties2AMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderCoreProperties2AMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCoreProperties2AMD(VULKAN_HPP_NAMESPACE::ShaderCorePropertiesFlagsAMD shaderCoreFeatures_ = {}, uint32_t activeComputeUnitCount_ = {}) VULKAN_HPP_NOEXCEPT + : shaderCoreFeatures( shaderCoreFeatures_ ), activeComputeUnitCount( activeComputeUnitCount_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCoreProperties2AMD( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderCoreProperties2AMD( VkPhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderCoreProperties2AMD & operator=( VkPhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderCoreProperties2AMD & operator=( PhysicalDeviceShaderCoreProperties2AMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderCoreProperties2AMD ) ); + return *this; + } + + + operator VkPhysicalDeviceShaderCoreProperties2AMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderCoreProperties2AMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderCoreProperties2AMD const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderCoreProperties2AMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderCoreFeatures == rhs.shaderCoreFeatures ) + && ( activeComputeUnitCount == rhs.activeComputeUnitCount ); + } + + bool operator!=( PhysicalDeviceShaderCoreProperties2AMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderCoreProperties2AMD; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ShaderCorePropertiesFlagsAMD shaderCoreFeatures = {}; + uint32_t activeComputeUnitCount = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderCoreProperties2AMD ) == sizeof( VkPhysicalDeviceShaderCoreProperties2AMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderCoreProperties2AMD; + }; + + struct PhysicalDeviceShaderCorePropertiesAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderCorePropertiesAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCorePropertiesAMD(uint32_t shaderEngineCount_ = {}, uint32_t shaderArraysPerEngineCount_ = {}, uint32_t computeUnitsPerShaderArray_ = {}, uint32_t simdPerComputeUnit_ = {}, uint32_t wavefrontsPerSimd_ = {}, uint32_t wavefrontSize_ = {}, uint32_t sgprsPerSimd_ = {}, uint32_t minSgprAllocation_ = {}, uint32_t maxSgprAllocation_ = {}, uint32_t sgprAllocationGranularity_ = {}, uint32_t vgprsPerSimd_ = {}, uint32_t minVgprAllocation_ = {}, uint32_t maxVgprAllocation_ = {}, uint32_t vgprAllocationGranularity_ = {}) VULKAN_HPP_NOEXCEPT + : shaderEngineCount( shaderEngineCount_ ), shaderArraysPerEngineCount( shaderArraysPerEngineCount_ ), computeUnitsPerShaderArray( computeUnitsPerShaderArray_ ), simdPerComputeUnit( simdPerComputeUnit_ ), wavefrontsPerSimd( wavefrontsPerSimd_ ), wavefrontSize( wavefrontSize_ ), sgprsPerSimd( sgprsPerSimd_ ), minSgprAllocation( minSgprAllocation_ ), maxSgprAllocation( maxSgprAllocation_ ), sgprAllocationGranularity( sgprAllocationGranularity_ ), vgprsPerSimd( vgprsPerSimd_ ), minVgprAllocation( minVgprAllocation_ ), maxVgprAllocation( maxVgprAllocation_ ), vgprAllocationGranularity( vgprAllocationGranularity_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderCorePropertiesAMD( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderCorePropertiesAMD( VkPhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderCorePropertiesAMD & operator=( VkPhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderCorePropertiesAMD & operator=( PhysicalDeviceShaderCorePropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderCorePropertiesAMD ) ); + return *this; + } + + + operator VkPhysicalDeviceShaderCorePropertiesAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderCorePropertiesAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderCorePropertiesAMD const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderEngineCount == rhs.shaderEngineCount ) + && ( shaderArraysPerEngineCount == rhs.shaderArraysPerEngineCount ) + && ( computeUnitsPerShaderArray == rhs.computeUnitsPerShaderArray ) + && ( simdPerComputeUnit == rhs.simdPerComputeUnit ) + && ( wavefrontsPerSimd == rhs.wavefrontsPerSimd ) + && ( wavefrontSize == rhs.wavefrontSize ) + && ( sgprsPerSimd == rhs.sgprsPerSimd ) + && ( minSgprAllocation == rhs.minSgprAllocation ) + && ( maxSgprAllocation == rhs.maxSgprAllocation ) + && ( sgprAllocationGranularity == rhs.sgprAllocationGranularity ) + && ( vgprsPerSimd == rhs.vgprsPerSimd ) + && ( minVgprAllocation == rhs.minVgprAllocation ) + && ( maxVgprAllocation == rhs.maxVgprAllocation ) + && ( vgprAllocationGranularity == rhs.vgprAllocationGranularity ); + } + + bool operator!=( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderCorePropertiesAMD; + void* pNext = {}; + uint32_t shaderEngineCount = {}; + uint32_t shaderArraysPerEngineCount = {}; + uint32_t computeUnitsPerShaderArray = {}; + uint32_t simdPerComputeUnit = {}; + uint32_t wavefrontsPerSimd = {}; + uint32_t wavefrontSize = {}; + uint32_t sgprsPerSimd = {}; + uint32_t minSgprAllocation = {}; + uint32_t maxSgprAllocation = {}; + uint32_t sgprAllocationGranularity = {}; + uint32_t vgprsPerSimd = {}; + uint32_t minVgprAllocation = {}; + uint32_t maxVgprAllocation = {}; + uint32_t vgprAllocationGranularity = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderCorePropertiesAMD ) == sizeof( VkPhysicalDeviceShaderCorePropertiesAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderCorePropertiesAMD; + }; + + struct PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation_ = {}) VULKAN_HPP_NOEXCEPT + : shaderDemoteToHelperInvocation( shaderDemoteToHelperInvocation_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT( VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & operator=( VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & operator=( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT & setShaderDemoteToHelperInvocation( VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation_ ) VULKAN_HPP_NOEXCEPT + { + shaderDemoteToHelperInvocation = shaderDemoteToHelperInvocation_; + return *this; + } + + + operator VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderDemoteToHelperInvocation == rhs.shaderDemoteToHelperInvocation ); + } + + bool operator!=( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDemoteToHelperInvocation = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT ) == sizeof( VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT; + }; + + struct PhysicalDeviceShaderDrawParametersFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderDrawParametersFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDrawParametersFeatures(VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ = {}) VULKAN_HPP_NOEXCEPT + : shaderDrawParameters( shaderDrawParameters_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderDrawParametersFeatures( PhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderDrawParametersFeatures( VkPhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderDrawParametersFeatures & operator=( VkPhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderDrawParametersFeatures & operator=( PhysicalDeviceShaderDrawParametersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderDrawParametersFeatures ) ); + return *this; + } + + PhysicalDeviceShaderDrawParametersFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderDrawParametersFeatures & setShaderDrawParameters( VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ ) VULKAN_HPP_NOEXCEPT + { + shaderDrawParameters = shaderDrawParameters_; + return *this; + } + + + operator VkPhysicalDeviceShaderDrawParametersFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderDrawParametersFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderDrawParametersFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderDrawParametersFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderDrawParameters == rhs.shaderDrawParameters ); + } + + bool operator!=( PhysicalDeviceShaderDrawParametersFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderDrawParametersFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderDrawParametersFeatures ) == sizeof( VkPhysicalDeviceShaderDrawParametersFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderDrawParametersFeatures; + }; + using PhysicalDeviceShaderDrawParameterFeatures = PhysicalDeviceShaderDrawParametersFeatures; + + struct PhysicalDeviceShaderFloat16Int8Features + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderFloat16Int8Features; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderFloat16Int8Features(VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ = {}) VULKAN_HPP_NOEXCEPT + : shaderFloat16( shaderFloat16_ ), shaderInt8( shaderInt8_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderFloat16Int8Features( PhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderFloat16Int8Features( VkPhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderFloat16Int8Features & operator=( VkPhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderFloat16Int8Features & operator=( PhysicalDeviceShaderFloat16Int8Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderFloat16Int8Features ) ); + return *this; + } + + PhysicalDeviceShaderFloat16Int8Features & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderFloat16Int8Features & setShaderFloat16( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ ) VULKAN_HPP_NOEXCEPT + { + shaderFloat16 = shaderFloat16_; + return *this; + } + + PhysicalDeviceShaderFloat16Int8Features & setShaderInt8( VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ ) VULKAN_HPP_NOEXCEPT + { + shaderInt8 = shaderInt8_; + return *this; + } + + + operator VkPhysicalDeviceShaderFloat16Int8Features const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderFloat16Int8Features &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderFloat16Int8Features const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderFloat16Int8Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderFloat16 == rhs.shaderFloat16 ) + && ( shaderInt8 == rhs.shaderInt8 ); + } + + bool operator!=( PhysicalDeviceShaderFloat16Int8Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderFloat16Int8Features; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInt8 = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderFloat16Int8Features ) == sizeof( VkPhysicalDeviceShaderFloat16Int8Features ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderFloat16Int8Features; + }; + using PhysicalDeviceFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features; + using PhysicalDeviceShaderFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features; + + struct PhysicalDeviceShaderImageAtomicInt64FeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ = {}) VULKAN_HPP_NOEXCEPT + : shaderImageInt64Atomics( shaderImageInt64Atomics_ ), sparseImageInt64Atomics( sparseImageInt64Atomics_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & operator=( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & operator=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT ) ); + return *this; + } + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & setShaderImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderImageInt64Atomics = shaderImageInt64Atomics_; + return *this; + } + + PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & setSparseImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + sparseImageInt64Atomics = sparseImageInt64Atomics_; + return *this; + } + + + operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderImageInt64Atomics == rhs.shaderImageInt64Atomics ) + && ( sparseImageInt64Atomics == rhs.sparseImageInt64Atomics ); + } + + bool operator!=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT ) == sizeof( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderImageAtomicInt64FeaturesEXT; + }; + + struct PhysicalDeviceShaderImageFootprintFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageFootprintFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 imageFootprint_ = {}) VULKAN_HPP_NOEXCEPT + : imageFootprint( imageFootprint_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageFootprintFeaturesNV( PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderImageFootprintFeaturesNV( VkPhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderImageFootprintFeaturesNV & operator=( VkPhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderImageFootprintFeaturesNV & operator=( PhysicalDeviceShaderImageFootprintFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderImageFootprintFeaturesNV ) ); + return *this; + } + + PhysicalDeviceShaderImageFootprintFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderImageFootprintFeaturesNV & setImageFootprint( VULKAN_HPP_NAMESPACE::Bool32 imageFootprint_ ) VULKAN_HPP_NOEXCEPT + { + imageFootprint = imageFootprint_; + return *this; + } + + + operator VkPhysicalDeviceShaderImageFootprintFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderImageFootprintFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderImageFootprintFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderImageFootprintFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( imageFootprint == rhs.imageFootprint ); + } + + bool operator!=( PhysicalDeviceShaderImageFootprintFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 imageFootprint = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderImageFootprintFeaturesNV ) == sizeof( VkPhysicalDeviceShaderImageFootprintFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderImageFootprintFeaturesNV; + }; + + struct PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL(VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2_ = {}) VULKAN_HPP_NOEXCEPT + : shaderIntegerFunctions2( shaderIntegerFunctions2_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL( VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & operator=( VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & operator=( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL ) ); + return *this; + } + + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL & setShaderIntegerFunctions2( VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2_ ) VULKAN_HPP_NOEXCEPT + { + shaderIntegerFunctions2 = shaderIntegerFunctions2_; + return *this; + } + + + operator VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderIntegerFunctions2 == rhs.shaderIntegerFunctions2 ); + } + + bool operator!=( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderIntegerFunctions2 = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL ) == sizeof( VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; + }; + + struct PhysicalDeviceShaderSMBuiltinsFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins_ = {}) VULKAN_HPP_NOEXCEPT + : shaderSMBuiltins( shaderSMBuiltins_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsFeaturesNV( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderSMBuiltinsFeaturesNV( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderSMBuiltinsFeaturesNV & operator=( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderSMBuiltinsFeaturesNV & operator=( PhysicalDeviceShaderSMBuiltinsFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderSMBuiltinsFeaturesNV ) ); + return *this; + } + + PhysicalDeviceShaderSMBuiltinsFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderSMBuiltinsFeaturesNV & setShaderSMBuiltins( VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins_ ) VULKAN_HPP_NOEXCEPT + { + shaderSMBuiltins = shaderSMBuiltins_; + return *this; + } + + + operator VkPhysicalDeviceShaderSMBuiltinsFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderSMBuiltinsFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderSMBuiltinsFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderSMBuiltinsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderSMBuiltins == rhs.shaderSMBuiltins ); + } + + bool operator!=( PhysicalDeviceShaderSMBuiltinsFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSmBuiltinsFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSMBuiltins = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderSMBuiltinsFeaturesNV ) == sizeof( VkPhysicalDeviceShaderSMBuiltinsFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderSMBuiltinsFeaturesNV; + }; + + struct PhysicalDeviceShaderSMBuiltinsPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsPropertiesNV(uint32_t shaderSMCount_ = {}, uint32_t shaderWarpsPerSM_ = {}) VULKAN_HPP_NOEXCEPT + : shaderSMCount( shaderSMCount_ ), shaderWarpsPerSM( shaderWarpsPerSM_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSMBuiltinsPropertiesNV( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderSMBuiltinsPropertiesNV( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderSMBuiltinsPropertiesNV & operator=( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderSMBuiltinsPropertiesNV & operator=( PhysicalDeviceShaderSMBuiltinsPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderSMBuiltinsPropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceShaderSMBuiltinsPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderSMBuiltinsPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderSMBuiltinsPropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderSMBuiltinsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderSMCount == rhs.shaderSMCount ) + && ( shaderWarpsPerSM == rhs.shaderWarpsPerSM ); + } + + bool operator!=( PhysicalDeviceShaderSMBuiltinsPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSmBuiltinsPropertiesNV; + void* pNext = {}; + uint32_t shaderSMCount = {}; + uint32_t shaderWarpsPerSM = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderSMBuiltinsPropertiesNV ) == sizeof( VkPhysicalDeviceShaderSMBuiltinsPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderSMBuiltinsPropertiesNV; + }; + + struct PhysicalDeviceShaderSubgroupExtendedTypesFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSubgroupExtendedTypesFeatures(VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ = {}) VULKAN_HPP_NOEXCEPT + : shaderSubgroupExtendedTypes( shaderSubgroupExtendedTypes_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderSubgroupExtendedTypesFeatures( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderSubgroupExtendedTypesFeatures( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderSubgroupExtendedTypesFeatures & operator=( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderSubgroupExtendedTypesFeatures & operator=( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderSubgroupExtendedTypesFeatures ) ); + return *this; + } + + PhysicalDeviceShaderSubgroupExtendedTypesFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderSubgroupExtendedTypesFeatures & setShaderSubgroupExtendedTypes( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ ) VULKAN_HPP_NOEXCEPT + { + shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes_; + return *this; + } + + + operator VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderSubgroupExtendedTypes == rhs.shaderSubgroupExtendedTypes ); + } + + bool operator!=( PhysicalDeviceShaderSubgroupExtendedTypesFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderSubgroupExtendedTypesFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderSubgroupExtendedTypesFeatures ) == sizeof( VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderSubgroupExtendedTypesFeatures; + }; + using PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR = PhysicalDeviceShaderSubgroupExtendedTypesFeatures; + + struct PhysicalDeviceShaderTerminateInvocationFeaturesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderTerminateInvocationFeaturesKHR(VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation_ = {}) VULKAN_HPP_NOEXCEPT + : shaderTerminateInvocation( shaderTerminateInvocation_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderTerminateInvocationFeaturesKHR( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShaderTerminateInvocationFeaturesKHR( VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShaderTerminateInvocationFeaturesKHR & operator=( VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShaderTerminateInvocationFeaturesKHR & operator=( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShaderTerminateInvocationFeaturesKHR ) ); + return *this; + } + + PhysicalDeviceShaderTerminateInvocationFeaturesKHR & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShaderTerminateInvocationFeaturesKHR & setShaderTerminateInvocation( VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation_ ) VULKAN_HPP_NOEXCEPT + { + shaderTerminateInvocation = shaderTerminateInvocation_; + return *this; + } + + + operator VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const& ) const = default; +#else + bool operator==( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shaderTerminateInvocation == rhs.shaderTerminateInvocation ); + } + + bool operator!=( PhysicalDeviceShaderTerminateInvocationFeaturesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderTerminateInvocationFeaturesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderTerminateInvocation = {}; + + }; + static_assert( sizeof( PhysicalDeviceShaderTerminateInvocationFeaturesKHR ) == sizeof( VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShaderTerminateInvocationFeaturesKHR; + }; + + struct PhysicalDeviceShadingRateImageFeaturesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShadingRateImageFeaturesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImageFeaturesNV(VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder_ = {}) VULKAN_HPP_NOEXCEPT + : shadingRateImage( shadingRateImage_ ), shadingRateCoarseSampleOrder( shadingRateCoarseSampleOrder_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImageFeaturesNV( PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShadingRateImageFeaturesNV( VkPhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShadingRateImageFeaturesNV & operator=( VkPhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShadingRateImageFeaturesNV & operator=( PhysicalDeviceShadingRateImageFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShadingRateImageFeaturesNV ) ); + return *this; + } + + PhysicalDeviceShadingRateImageFeaturesNV & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceShadingRateImageFeaturesNV & setShadingRateImage( VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage_ ) VULKAN_HPP_NOEXCEPT + { + shadingRateImage = shadingRateImage_; + return *this; + } + + PhysicalDeviceShadingRateImageFeaturesNV & setShadingRateCoarseSampleOrder( VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder_ ) VULKAN_HPP_NOEXCEPT + { + shadingRateCoarseSampleOrder = shadingRateCoarseSampleOrder_; + return *this; + } + + + operator VkPhysicalDeviceShadingRateImageFeaturesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShadingRateImageFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShadingRateImageFeaturesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceShadingRateImageFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shadingRateImage == rhs.shadingRateImage ) + && ( shadingRateCoarseSampleOrder == rhs.shadingRateCoarseSampleOrder ); + } + + bool operator!=( PhysicalDeviceShadingRateImageFeaturesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShadingRateImageFeaturesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shadingRateImage = {}; + VULKAN_HPP_NAMESPACE::Bool32 shadingRateCoarseSampleOrder = {}; + + }; + static_assert( sizeof( PhysicalDeviceShadingRateImageFeaturesNV ) == sizeof( VkPhysicalDeviceShadingRateImageFeaturesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShadingRateImageFeaturesNV; + }; + + struct PhysicalDeviceShadingRateImagePropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceShadingRateImagePropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImagePropertiesNV(VULKAN_HPP_NAMESPACE::Extent2D shadingRateTexelSize_ = {}, uint32_t shadingRatePaletteSize_ = {}, uint32_t shadingRateMaxCoarseSamples_ = {}) VULKAN_HPP_NOEXCEPT + : shadingRateTexelSize( shadingRateTexelSize_ ), shadingRatePaletteSize( shadingRatePaletteSize_ ), shadingRateMaxCoarseSamples( shadingRateMaxCoarseSamples_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceShadingRateImagePropertiesNV( PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceShadingRateImagePropertiesNV( VkPhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceShadingRateImagePropertiesNV & operator=( VkPhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceShadingRateImagePropertiesNV & operator=( PhysicalDeviceShadingRateImagePropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceShadingRateImagePropertiesNV ) ); + return *this; + } + + + operator VkPhysicalDeviceShadingRateImagePropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceShadingRateImagePropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceShadingRateImagePropertiesNV const& ) const = default; +#else + bool operator==( PhysicalDeviceShadingRateImagePropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shadingRateTexelSize == rhs.shadingRateTexelSize ) + && ( shadingRatePaletteSize == rhs.shadingRatePaletteSize ) + && ( shadingRateMaxCoarseSamples == rhs.shadingRateMaxCoarseSamples ); + } + + bool operator!=( PhysicalDeviceShadingRateImagePropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShadingRateImagePropertiesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Extent2D shadingRateTexelSize = {}; + uint32_t shadingRatePaletteSize = {}; + uint32_t shadingRateMaxCoarseSamples = {}; + + }; + static_assert( sizeof( PhysicalDeviceShadingRateImagePropertiesNV ) == sizeof( VkPhysicalDeviceShadingRateImagePropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceShadingRateImagePropertiesNV; + }; + + struct PhysicalDeviceSubgroupProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSubgroupProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupProperties(uint32_t subgroupSize_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlags supportedStages_ = {}, VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags supportedOperations_ = {}, VULKAN_HPP_NAMESPACE::Bool32 quadOperationsInAllStages_ = {}) VULKAN_HPP_NOEXCEPT + : subgroupSize( subgroupSize_ ), supportedStages( supportedStages_ ), supportedOperations( supportedOperations_ ), quadOperationsInAllStages( quadOperationsInAllStages_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupProperties( PhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSubgroupProperties( VkPhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSubgroupProperties & operator=( VkPhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSubgroupProperties & operator=( PhysicalDeviceSubgroupProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSubgroupProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceSubgroupProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSubgroupProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSubgroupProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceSubgroupProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( subgroupSize == rhs.subgroupSize ) + && ( supportedStages == rhs.supportedStages ) + && ( supportedOperations == rhs.supportedOperations ) + && ( quadOperationsInAllStages == rhs.quadOperationsInAllStages ); + } + + bool operator!=( PhysicalDeviceSubgroupProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupProperties; + void* pNext = {}; + uint32_t subgroupSize = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags supportedStages = {}; + VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags supportedOperations = {}; + VULKAN_HPP_NAMESPACE::Bool32 quadOperationsInAllStages = {}; + + }; + static_assert( sizeof( PhysicalDeviceSubgroupProperties ) == sizeof( VkPhysicalDeviceSubgroupProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSubgroupProperties; + }; + + struct PhysicalDeviceSubgroupSizeControlFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl_ = {}, VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups_ = {}) VULKAN_HPP_NOEXCEPT + : subgroupSizeControl( subgroupSizeControl_ ), computeFullSubgroups( computeFullSubgroups_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlFeaturesEXT( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSubgroupSizeControlFeaturesEXT( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSubgroupSizeControlFeaturesEXT & operator=( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSubgroupSizeControlFeaturesEXT & operator=( PhysicalDeviceSubgroupSizeControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSubgroupSizeControlFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceSubgroupSizeControlFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceSubgroupSizeControlFeaturesEXT & setSubgroupSizeControl( VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl_ ) VULKAN_HPP_NOEXCEPT + { + subgroupSizeControl = subgroupSizeControl_; + return *this; + } + + PhysicalDeviceSubgroupSizeControlFeaturesEXT & setComputeFullSubgroups( VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups_ ) VULKAN_HPP_NOEXCEPT + { + computeFullSubgroups = computeFullSubgroups_; + return *this; + } + + + operator VkPhysicalDeviceSubgroupSizeControlFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSubgroupSizeControlFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSubgroupSizeControlFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceSubgroupSizeControlFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( subgroupSizeControl == rhs.subgroupSizeControl ) + && ( computeFullSubgroups == rhs.computeFullSubgroups ); + } + + bool operator!=( PhysicalDeviceSubgroupSizeControlFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupSizeControlFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 subgroupSizeControl = {}; + VULKAN_HPP_NAMESPACE::Bool32 computeFullSubgroups = {}; + + }; + static_assert( sizeof( PhysicalDeviceSubgroupSizeControlFeaturesEXT ) == sizeof( VkPhysicalDeviceSubgroupSizeControlFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSubgroupSizeControlFeaturesEXT; + }; + + struct PhysicalDeviceSubgroupSizeControlPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlPropertiesEXT(uint32_t minSubgroupSize_ = {}, uint32_t maxSubgroupSize_ = {}, uint32_t maxComputeWorkgroupSubgroups_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlags requiredSubgroupSizeStages_ = {}) VULKAN_HPP_NOEXCEPT + : minSubgroupSize( minSubgroupSize_ ), maxSubgroupSize( maxSubgroupSize_ ), maxComputeWorkgroupSubgroups( maxComputeWorkgroupSubgroups_ ), requiredSubgroupSizeStages( requiredSubgroupSizeStages_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceSubgroupSizeControlPropertiesEXT( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceSubgroupSizeControlPropertiesEXT( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceSubgroupSizeControlPropertiesEXT & operator=( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceSubgroupSizeControlPropertiesEXT & operator=( PhysicalDeviceSubgroupSizeControlPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceSubgroupSizeControlPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceSubgroupSizeControlPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceSubgroupSizeControlPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceSubgroupSizeControlPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceSubgroupSizeControlPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( minSubgroupSize == rhs.minSubgroupSize ) + && ( maxSubgroupSize == rhs.maxSubgroupSize ) + && ( maxComputeWorkgroupSubgroups == rhs.maxComputeWorkgroupSubgroups ) + && ( requiredSubgroupSizeStages == rhs.requiredSubgroupSizeStages ); + } + + bool operator!=( PhysicalDeviceSubgroupSizeControlPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceSubgroupSizeControlPropertiesEXT; + void* pNext = {}; + uint32_t minSubgroupSize = {}; + uint32_t maxSubgroupSize = {}; + uint32_t maxComputeWorkgroupSubgroups = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags requiredSubgroupSizeStages = {}; + + }; + static_assert( sizeof( PhysicalDeviceSubgroupSizeControlPropertiesEXT ) == sizeof( VkPhysicalDeviceSubgroupSizeControlPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceSubgroupSizeControlPropertiesEXT; + }; + + struct PhysicalDeviceTexelBufferAlignmentFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : texelBufferAlignment( texelBufferAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentFeaturesEXT( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTexelBufferAlignmentFeaturesEXT( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTexelBufferAlignmentFeaturesEXT & operator=( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTexelBufferAlignmentFeaturesEXT & operator=( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTexelBufferAlignmentFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceTexelBufferAlignmentFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceTexelBufferAlignmentFeaturesEXT & setTexelBufferAlignment( VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment_ ) VULKAN_HPP_NOEXCEPT + { + texelBufferAlignment = texelBufferAlignment_; + return *this; + } + + + operator VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( texelBufferAlignment == rhs.texelBufferAlignment ); + } + + bool operator!=( PhysicalDeviceTexelBufferAlignmentFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTexelBufferAlignmentFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 texelBufferAlignment = {}; + + }; + static_assert( sizeof( PhysicalDeviceTexelBufferAlignmentFeaturesEXT ) == sizeof( VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTexelBufferAlignmentFeaturesEXT; + }; + + struct PhysicalDeviceTexelBufferAlignmentPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentPropertiesEXT(VULKAN_HPP_NAMESPACE::DeviceSize storageTexelBufferOffsetAlignmentBytes_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storageTexelBufferOffsetSingleTexelAlignment_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize uniformTexelBufferOffsetAlignmentBytes_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformTexelBufferOffsetSingleTexelAlignment_ = {}) VULKAN_HPP_NOEXCEPT + : storageTexelBufferOffsetAlignmentBytes( storageTexelBufferOffsetAlignmentBytes_ ), storageTexelBufferOffsetSingleTexelAlignment( storageTexelBufferOffsetSingleTexelAlignment_ ), uniformTexelBufferOffsetAlignmentBytes( uniformTexelBufferOffsetAlignmentBytes_ ), uniformTexelBufferOffsetSingleTexelAlignment( uniformTexelBufferOffsetSingleTexelAlignment_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTexelBufferAlignmentPropertiesEXT( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTexelBufferAlignmentPropertiesEXT( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTexelBufferAlignmentPropertiesEXT & operator=( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTexelBufferAlignmentPropertiesEXT & operator=( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTexelBufferAlignmentPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( storageTexelBufferOffsetAlignmentBytes == rhs.storageTexelBufferOffsetAlignmentBytes ) + && ( storageTexelBufferOffsetSingleTexelAlignment == rhs.storageTexelBufferOffsetSingleTexelAlignment ) + && ( uniformTexelBufferOffsetAlignmentBytes == rhs.uniformTexelBufferOffsetAlignmentBytes ) + && ( uniformTexelBufferOffsetSingleTexelAlignment == rhs.uniformTexelBufferOffsetSingleTexelAlignment ); + } + + bool operator!=( PhysicalDeviceTexelBufferAlignmentPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTexelBufferAlignmentPropertiesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DeviceSize storageTexelBufferOffsetAlignmentBytes = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageTexelBufferOffsetSingleTexelAlignment = {}; + VULKAN_HPP_NAMESPACE::DeviceSize uniformTexelBufferOffsetAlignmentBytes = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformTexelBufferOffsetSingleTexelAlignment = {}; + + }; + static_assert( sizeof( PhysicalDeviceTexelBufferAlignmentPropertiesEXT ) == sizeof( VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTexelBufferAlignmentPropertiesEXT; + }; + + struct PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR_ = {}) VULKAN_HPP_NOEXCEPT + : textureCompressionASTC_HDR( textureCompressionASTC_HDR_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT( VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & operator=( VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & operator=( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT & setTextureCompressionASTC_HDR( VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR_ ) VULKAN_HPP_NOEXCEPT + { + textureCompressionASTC_HDR = textureCompressionASTC_HDR_; + return *this; + } + + + operator VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( textureCompressionASTC_HDR == rhs.textureCompressionASTC_HDR ); + } + + bool operator!=( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTextureCompressionAstcHdrFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 textureCompressionASTC_HDR = {}; + + }; + static_assert( sizeof( PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT ) == sizeof( VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT; + }; + + struct PhysicalDeviceTimelineSemaphoreFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTimelineSemaphoreFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreFeatures(VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ = {}) VULKAN_HPP_NOEXCEPT + : timelineSemaphore( timelineSemaphore_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreFeatures( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTimelineSemaphoreFeatures( VkPhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTimelineSemaphoreFeatures & operator=( VkPhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTimelineSemaphoreFeatures & operator=( PhysicalDeviceTimelineSemaphoreFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTimelineSemaphoreFeatures ) ); + return *this; + } + + PhysicalDeviceTimelineSemaphoreFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceTimelineSemaphoreFeatures & setTimelineSemaphore( VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ ) VULKAN_HPP_NOEXCEPT + { + timelineSemaphore = timelineSemaphore_; + return *this; + } + + + operator VkPhysicalDeviceTimelineSemaphoreFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTimelineSemaphoreFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTimelineSemaphoreFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceTimelineSemaphoreFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( timelineSemaphore == rhs.timelineSemaphore ); + } + + bool operator!=( PhysicalDeviceTimelineSemaphoreFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTimelineSemaphoreFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore = {}; + + }; + static_assert( sizeof( PhysicalDeviceTimelineSemaphoreFeatures ) == sizeof( VkPhysicalDeviceTimelineSemaphoreFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTimelineSemaphoreFeatures; + }; + using PhysicalDeviceTimelineSemaphoreFeaturesKHR = PhysicalDeviceTimelineSemaphoreFeatures; + + struct PhysicalDeviceTimelineSemaphoreProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTimelineSemaphoreProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreProperties(uint64_t maxTimelineSemaphoreValueDifference_ = {}) VULKAN_HPP_NOEXCEPT + : maxTimelineSemaphoreValueDifference( maxTimelineSemaphoreValueDifference_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTimelineSemaphoreProperties( PhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTimelineSemaphoreProperties( VkPhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTimelineSemaphoreProperties & operator=( VkPhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTimelineSemaphoreProperties & operator=( PhysicalDeviceTimelineSemaphoreProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTimelineSemaphoreProperties ) ); + return *this; + } + + + operator VkPhysicalDeviceTimelineSemaphoreProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTimelineSemaphoreProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTimelineSemaphoreProperties const& ) const = default; +#else + bool operator==( PhysicalDeviceTimelineSemaphoreProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxTimelineSemaphoreValueDifference == rhs.maxTimelineSemaphoreValueDifference ); + } + + bool operator!=( PhysicalDeviceTimelineSemaphoreProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTimelineSemaphoreProperties; + void* pNext = {}; + uint64_t maxTimelineSemaphoreValueDifference = {}; + + }; + static_assert( sizeof( PhysicalDeviceTimelineSemaphoreProperties ) == sizeof( VkPhysicalDeviceTimelineSemaphoreProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTimelineSemaphoreProperties; + }; + using PhysicalDeviceTimelineSemaphorePropertiesKHR = PhysicalDeviceTimelineSemaphoreProperties; + + struct PhysicalDeviceTransformFeedbackFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 transformFeedback_ = {}, VULKAN_HPP_NAMESPACE::Bool32 geometryStreams_ = {}) VULKAN_HPP_NOEXCEPT + : transformFeedback( transformFeedback_ ), geometryStreams( geometryStreams_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackFeaturesEXT( PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTransformFeedbackFeaturesEXT( VkPhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTransformFeedbackFeaturesEXT & operator=( VkPhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTransformFeedbackFeaturesEXT & operator=( PhysicalDeviceTransformFeedbackFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTransformFeedbackFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceTransformFeedbackFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceTransformFeedbackFeaturesEXT & setTransformFeedback( VULKAN_HPP_NAMESPACE::Bool32 transformFeedback_ ) VULKAN_HPP_NOEXCEPT + { + transformFeedback = transformFeedback_; + return *this; + } + + PhysicalDeviceTransformFeedbackFeaturesEXT & setGeometryStreams( VULKAN_HPP_NAMESPACE::Bool32 geometryStreams_ ) VULKAN_HPP_NOEXCEPT + { + geometryStreams = geometryStreams_; + return *this; + } + + + operator VkPhysicalDeviceTransformFeedbackFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTransformFeedbackFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTransformFeedbackFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceTransformFeedbackFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( transformFeedback == rhs.transformFeedback ) + && ( geometryStreams == rhs.geometryStreams ); + } + + bool operator!=( PhysicalDeviceTransformFeedbackFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTransformFeedbackFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 transformFeedback = {}; + VULKAN_HPP_NAMESPACE::Bool32 geometryStreams = {}; + + }; + static_assert( sizeof( PhysicalDeviceTransformFeedbackFeaturesEXT ) == sizeof( VkPhysicalDeviceTransformFeedbackFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTransformFeedbackFeaturesEXT; + }; + + struct PhysicalDeviceTransformFeedbackPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackPropertiesEXT(uint32_t maxTransformFeedbackStreams_ = {}, uint32_t maxTransformFeedbackBuffers_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize maxTransformFeedbackBufferSize_ = {}, uint32_t maxTransformFeedbackStreamDataSize_ = {}, uint32_t maxTransformFeedbackBufferDataSize_ = {}, uint32_t maxTransformFeedbackBufferDataStride_ = {}, VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackQueries_ = {}, VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackStreamsLinesTriangles_ = {}, VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackRasterizationStreamSelect_ = {}, VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackDraw_ = {}) VULKAN_HPP_NOEXCEPT + : maxTransformFeedbackStreams( maxTransformFeedbackStreams_ ), maxTransformFeedbackBuffers( maxTransformFeedbackBuffers_ ), maxTransformFeedbackBufferSize( maxTransformFeedbackBufferSize_ ), maxTransformFeedbackStreamDataSize( maxTransformFeedbackStreamDataSize_ ), maxTransformFeedbackBufferDataSize( maxTransformFeedbackBufferDataSize_ ), maxTransformFeedbackBufferDataStride( maxTransformFeedbackBufferDataStride_ ), transformFeedbackQueries( transformFeedbackQueries_ ), transformFeedbackStreamsLinesTriangles( transformFeedbackStreamsLinesTriangles_ ), transformFeedbackRasterizationStreamSelect( transformFeedbackRasterizationStreamSelect_ ), transformFeedbackDraw( transformFeedbackDraw_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceTransformFeedbackPropertiesEXT( PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceTransformFeedbackPropertiesEXT( VkPhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceTransformFeedbackPropertiesEXT & operator=( VkPhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceTransformFeedbackPropertiesEXT & operator=( PhysicalDeviceTransformFeedbackPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceTransformFeedbackPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceTransformFeedbackPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceTransformFeedbackPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceTransformFeedbackPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceTransformFeedbackPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxTransformFeedbackStreams == rhs.maxTransformFeedbackStreams ) + && ( maxTransformFeedbackBuffers == rhs.maxTransformFeedbackBuffers ) + && ( maxTransformFeedbackBufferSize == rhs.maxTransformFeedbackBufferSize ) + && ( maxTransformFeedbackStreamDataSize == rhs.maxTransformFeedbackStreamDataSize ) + && ( maxTransformFeedbackBufferDataSize == rhs.maxTransformFeedbackBufferDataSize ) + && ( maxTransformFeedbackBufferDataStride == rhs.maxTransformFeedbackBufferDataStride ) + && ( transformFeedbackQueries == rhs.transformFeedbackQueries ) + && ( transformFeedbackStreamsLinesTriangles == rhs.transformFeedbackStreamsLinesTriangles ) + && ( transformFeedbackRasterizationStreamSelect == rhs.transformFeedbackRasterizationStreamSelect ) + && ( transformFeedbackDraw == rhs.transformFeedbackDraw ); + } + + bool operator!=( PhysicalDeviceTransformFeedbackPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceTransformFeedbackPropertiesEXT; + void* pNext = {}; + uint32_t maxTransformFeedbackStreams = {}; + uint32_t maxTransformFeedbackBuffers = {}; + VULKAN_HPP_NAMESPACE::DeviceSize maxTransformFeedbackBufferSize = {}; + uint32_t maxTransformFeedbackStreamDataSize = {}; + uint32_t maxTransformFeedbackBufferDataSize = {}; + uint32_t maxTransformFeedbackBufferDataStride = {}; + VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackQueries = {}; + VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackStreamsLinesTriangles = {}; + VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackRasterizationStreamSelect = {}; + VULKAN_HPP_NAMESPACE::Bool32 transformFeedbackDraw = {}; + + }; + static_assert( sizeof( PhysicalDeviceTransformFeedbackPropertiesEXT ) == sizeof( VkPhysicalDeviceTransformFeedbackPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceTransformFeedbackPropertiesEXT; + }; + + struct PhysicalDeviceUniformBufferStandardLayoutFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceUniformBufferStandardLayoutFeatures(VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ = {}) VULKAN_HPP_NOEXCEPT + : uniformBufferStandardLayout( uniformBufferStandardLayout_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceUniformBufferStandardLayoutFeatures( PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceUniformBufferStandardLayoutFeatures( VkPhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceUniformBufferStandardLayoutFeatures & operator=( VkPhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceUniformBufferStandardLayoutFeatures & operator=( PhysicalDeviceUniformBufferStandardLayoutFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceUniformBufferStandardLayoutFeatures ) ); + return *this; + } + + PhysicalDeviceUniformBufferStandardLayoutFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceUniformBufferStandardLayoutFeatures & setUniformBufferStandardLayout( VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ ) VULKAN_HPP_NOEXCEPT + { + uniformBufferStandardLayout = uniformBufferStandardLayout_; + return *this; + } + + + operator VkPhysicalDeviceUniformBufferStandardLayoutFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceUniformBufferStandardLayoutFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceUniformBufferStandardLayoutFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceUniformBufferStandardLayoutFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( uniformBufferStandardLayout == rhs.uniformBufferStandardLayout ); + } + + bool operator!=( PhysicalDeviceUniformBufferStandardLayoutFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceUniformBufferStandardLayoutFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout = {}; + + }; + static_assert( sizeof( PhysicalDeviceUniformBufferStandardLayoutFeatures ) == sizeof( VkPhysicalDeviceUniformBufferStandardLayoutFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceUniformBufferStandardLayoutFeatures; + }; + using PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR = PhysicalDeviceUniformBufferStandardLayoutFeatures; + + struct PhysicalDeviceVariablePointersFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVariablePointersFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVariablePointersFeatures(VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ = {}) VULKAN_HPP_NOEXCEPT + : variablePointersStorageBuffer( variablePointersStorageBuffer_ ), variablePointers( variablePointers_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVariablePointersFeatures( PhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVariablePointersFeatures( VkPhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVariablePointersFeatures & operator=( VkPhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVariablePointersFeatures & operator=( PhysicalDeviceVariablePointersFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVariablePointersFeatures ) ); + return *this; + } + + PhysicalDeviceVariablePointersFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceVariablePointersFeatures & setVariablePointersStorageBuffer( VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ ) VULKAN_HPP_NOEXCEPT + { + variablePointersStorageBuffer = variablePointersStorageBuffer_; + return *this; + } + + PhysicalDeviceVariablePointersFeatures & setVariablePointers( VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ ) VULKAN_HPP_NOEXCEPT + { + variablePointers = variablePointers_; + return *this; + } + + + operator VkPhysicalDeviceVariablePointersFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVariablePointersFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVariablePointersFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceVariablePointersFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer ) + && ( variablePointers == rhs.variablePointers ); + } + + bool operator!=( PhysicalDeviceVariablePointersFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVariablePointersFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer = {}; + VULKAN_HPP_NAMESPACE::Bool32 variablePointers = {}; + + }; + static_assert( sizeof( PhysicalDeviceVariablePointersFeatures ) == sizeof( VkPhysicalDeviceVariablePointersFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVariablePointersFeatures; + }; + using PhysicalDeviceVariablePointerFeatures = PhysicalDeviceVariablePointersFeatures; + using PhysicalDeviceVariablePointerFeaturesKHR = PhysicalDeviceVariablePointersFeatures; + using PhysicalDeviceVariablePointersFeaturesKHR = PhysicalDeviceVariablePointersFeatures; + + struct PhysicalDeviceVertexAttributeDivisorFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor_ = {}) VULKAN_HPP_NOEXCEPT + : vertexAttributeInstanceRateDivisor( vertexAttributeInstanceRateDivisor_ ), vertexAttributeInstanceRateZeroDivisor( vertexAttributeInstanceRateZeroDivisor_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorFeaturesEXT( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT & operator=( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT & operator=( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setVertexAttributeInstanceRateDivisor( VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor_ ) VULKAN_HPP_NOEXCEPT + { + vertexAttributeInstanceRateDivisor = vertexAttributeInstanceRateDivisor_; + return *this; + } + + PhysicalDeviceVertexAttributeDivisorFeaturesEXT & setVertexAttributeInstanceRateZeroDivisor( VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor_ ) VULKAN_HPP_NOEXCEPT + { + vertexAttributeInstanceRateZeroDivisor = vertexAttributeInstanceRateZeroDivisor_; + return *this; + } + + + operator VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( vertexAttributeInstanceRateDivisor == rhs.vertexAttributeInstanceRateDivisor ) + && ( vertexAttributeInstanceRateZeroDivisor == rhs.vertexAttributeInstanceRateZeroDivisor ); + } + + bool operator!=( PhysicalDeviceVertexAttributeDivisorFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateDivisor = {}; + VULKAN_HPP_NAMESPACE::Bool32 vertexAttributeInstanceRateZeroDivisor = {}; + + }; + static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorFeaturesEXT ) == sizeof( VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVertexAttributeDivisorFeaturesEXT; + }; + + struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorPropertiesEXT(uint32_t maxVertexAttribDivisor_ = {}) VULKAN_HPP_NOEXCEPT + : maxVertexAttribDivisor( maxVertexAttribDivisor_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVertexAttributeDivisorPropertiesEXT( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVertexAttributeDivisorPropertiesEXT( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVertexAttributeDivisorPropertiesEXT & operator=( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVertexAttributeDivisorPropertiesEXT & operator=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) ); + return *this; + } + + + operator VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( maxVertexAttribDivisor == rhs.maxVertexAttribDivisor ); + } + + bool operator!=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT; + void* pNext = {}; + uint32_t maxVertexAttribDivisor = {}; + + }; + static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) == sizeof( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVertexAttributeDivisorPropertiesEXT; + }; + + struct PhysicalDeviceVulkan11Features + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan11Features; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkan11Features(VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiview_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ = {}, VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ = {}, VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ = {}, VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ = {}) VULKAN_HPP_NOEXCEPT + : storageBuffer16BitAccess( storageBuffer16BitAccess_ ), uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ ), storagePushConstant16( storagePushConstant16_ ), storageInputOutput16( storageInputOutput16_ ), multiview( multiview_ ), multiviewGeometryShader( multiviewGeometryShader_ ), multiviewTessellationShader( multiviewTessellationShader_ ), variablePointersStorageBuffer( variablePointersStorageBuffer_ ), variablePointers( variablePointers_ ), protectedMemory( protectedMemory_ ), samplerYcbcrConversion( samplerYcbcrConversion_ ), shaderDrawParameters( shaderDrawParameters_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkan11Features( PhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVulkan11Features( VkPhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVulkan11Features & operator=( VkPhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVulkan11Features & operator=( PhysicalDeviceVulkan11Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVulkan11Features ) ); + return *this; + } + + PhysicalDeviceVulkan11Features & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceVulkan11Features & setStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + storageBuffer16BitAccess = storageBuffer16BitAccess_; + return *this; + } + + PhysicalDeviceVulkan11Features & setUniformAndStorageBuffer16BitAccess( VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_; + return *this; + } + + PhysicalDeviceVulkan11Features & setStoragePushConstant16( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16_ ) VULKAN_HPP_NOEXCEPT + { + storagePushConstant16 = storagePushConstant16_; + return *this; + } + + PhysicalDeviceVulkan11Features & setStorageInputOutput16( VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16_ ) VULKAN_HPP_NOEXCEPT + { + storageInputOutput16 = storageInputOutput16_; + return *this; + } + + PhysicalDeviceVulkan11Features & setMultiview( VULKAN_HPP_NAMESPACE::Bool32 multiview_ ) VULKAN_HPP_NOEXCEPT + { + multiview = multiview_; + return *this; + } + + PhysicalDeviceVulkan11Features & setMultiviewGeometryShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader_ ) VULKAN_HPP_NOEXCEPT + { + multiviewGeometryShader = multiviewGeometryShader_; + return *this; + } + + PhysicalDeviceVulkan11Features & setMultiviewTessellationShader( VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader_ ) VULKAN_HPP_NOEXCEPT + { + multiviewTessellationShader = multiviewTessellationShader_; + return *this; + } + + PhysicalDeviceVulkan11Features & setVariablePointersStorageBuffer( VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer_ ) VULKAN_HPP_NOEXCEPT + { + variablePointersStorageBuffer = variablePointersStorageBuffer_; + return *this; + } + + PhysicalDeviceVulkan11Features & setVariablePointers( VULKAN_HPP_NAMESPACE::Bool32 variablePointers_ ) VULKAN_HPP_NOEXCEPT + { + variablePointers = variablePointers_; + return *this; + } + + PhysicalDeviceVulkan11Features & setProtectedMemory( VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_ ) VULKAN_HPP_NOEXCEPT + { + protectedMemory = protectedMemory_; + return *this; + } + + PhysicalDeviceVulkan11Features & setSamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion_ ) VULKAN_HPP_NOEXCEPT + { + samplerYcbcrConversion = samplerYcbcrConversion_; + return *this; + } + + PhysicalDeviceVulkan11Features & setShaderDrawParameters( VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters_ ) VULKAN_HPP_NOEXCEPT + { + shaderDrawParameters = shaderDrawParameters_; + return *this; + } + + + operator VkPhysicalDeviceVulkan11Features const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVulkan11Features &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVulkan11Features const& ) const = default; +#else + bool operator==( PhysicalDeviceVulkan11Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess ) + && ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess ) + && ( storagePushConstant16 == rhs.storagePushConstant16 ) + && ( storageInputOutput16 == rhs.storageInputOutput16 ) + && ( multiview == rhs.multiview ) + && ( multiviewGeometryShader == rhs.multiviewGeometryShader ) + && ( multiviewTessellationShader == rhs.multiviewTessellationShader ) + && ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer ) + && ( variablePointers == rhs.variablePointers ) + && ( protectedMemory == rhs.protectedMemory ) + && ( samplerYcbcrConversion == rhs.samplerYcbcrConversion ) + && ( shaderDrawParameters == rhs.shaderDrawParameters ); + } + + bool operator!=( PhysicalDeviceVulkan11Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan11Features; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageBuffer16BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer16BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageInputOutput16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiview = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiviewGeometryShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 multiviewTessellationShader = {}; + VULKAN_HPP_NAMESPACE::Bool32 variablePointersStorageBuffer = {}; + VULKAN_HPP_NAMESPACE::Bool32 variablePointers = {}; + VULKAN_HPP_NAMESPACE::Bool32 protectedMemory = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerYcbcrConversion = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDrawParameters = {}; + + }; + static_assert( sizeof( PhysicalDeviceVulkan11Features ) == sizeof( VkPhysicalDeviceVulkan11Features ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVulkan11Features; + }; + + struct PhysicalDeviceVulkan11Properties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan11Properties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan11Properties(std::array const& deviceUUID_ = {}, std::array const& driverUUID_ = {}, std::array const& deviceLUID_ = {}, uint32_t deviceNodeMask_ = {}, VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid_ = {}, uint32_t subgroupSize_ = {}, VULKAN_HPP_NAMESPACE::ShaderStageFlags subgroupSupportedStages_ = {}, VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags subgroupSupportedOperations_ = {}, VULKAN_HPP_NAMESPACE::Bool32 subgroupQuadOperationsInAllStages_ = {}, VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior_ = VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes, uint32_t maxMultiviewViewCount_ = {}, uint32_t maxMultiviewInstanceIndex_ = {}, VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault_ = {}, uint32_t maxPerSetDescriptors_ = {}, VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize_ = {}) VULKAN_HPP_NOEXCEPT + : deviceUUID( deviceUUID_ ), driverUUID( driverUUID_ ), deviceLUID( deviceLUID_ ), deviceNodeMask( deviceNodeMask_ ), deviceLUIDValid( deviceLUIDValid_ ), subgroupSize( subgroupSize_ ), subgroupSupportedStages( subgroupSupportedStages_ ), subgroupSupportedOperations( subgroupSupportedOperations_ ), subgroupQuadOperationsInAllStages( subgroupQuadOperationsInAllStages_ ), pointClippingBehavior( pointClippingBehavior_ ), maxMultiviewViewCount( maxMultiviewViewCount_ ), maxMultiviewInstanceIndex( maxMultiviewInstanceIndex_ ), protectedNoFault( protectedNoFault_ ), maxPerSetDescriptors( maxPerSetDescriptors_ ), maxMemoryAllocationSize( maxMemoryAllocationSize_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan11Properties( PhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVulkan11Properties( VkPhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVulkan11Properties & operator=( VkPhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVulkan11Properties & operator=( PhysicalDeviceVulkan11Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVulkan11Properties ) ); + return *this; + } + + + operator VkPhysicalDeviceVulkan11Properties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVulkan11Properties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVulkan11Properties const& ) const = default; +#else + bool operator==( PhysicalDeviceVulkan11Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( deviceUUID == rhs.deviceUUID ) + && ( driverUUID == rhs.driverUUID ) + && ( deviceLUID == rhs.deviceLUID ) + && ( deviceNodeMask == rhs.deviceNodeMask ) + && ( deviceLUIDValid == rhs.deviceLUIDValid ) + && ( subgroupSize == rhs.subgroupSize ) + && ( subgroupSupportedStages == rhs.subgroupSupportedStages ) + && ( subgroupSupportedOperations == rhs.subgroupSupportedOperations ) + && ( subgroupQuadOperationsInAllStages == rhs.subgroupQuadOperationsInAllStages ) + && ( pointClippingBehavior == rhs.pointClippingBehavior ) + && ( maxMultiviewViewCount == rhs.maxMultiviewViewCount ) + && ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex ) + && ( protectedNoFault == rhs.protectedNoFault ) + && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors ) + && ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize ); + } + + bool operator!=( PhysicalDeviceVulkan11Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan11Properties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceUUID = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverUUID = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D deviceLUID = {}; + uint32_t deviceNodeMask = {}; + VULKAN_HPP_NAMESPACE::Bool32 deviceLUIDValid = {}; + uint32_t subgroupSize = {}; + VULKAN_HPP_NAMESPACE::ShaderStageFlags subgroupSupportedStages = {}; + VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags subgroupSupportedOperations = {}; + VULKAN_HPP_NAMESPACE::Bool32 subgroupQuadOperationsInAllStages = {}; + VULKAN_HPP_NAMESPACE::PointClippingBehavior pointClippingBehavior = VULKAN_HPP_NAMESPACE::PointClippingBehavior::eAllClipPlanes; + uint32_t maxMultiviewViewCount = {}; + uint32_t maxMultiviewInstanceIndex = {}; + VULKAN_HPP_NAMESPACE::Bool32 protectedNoFault = {}; + uint32_t maxPerSetDescriptors = {}; + VULKAN_HPP_NAMESPACE::DeviceSize maxMemoryAllocationSize = {}; + + }; + static_assert( sizeof( PhysicalDeviceVulkan11Properties ) == sizeof( VkPhysicalDeviceVulkan11Properties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVulkan11Properties; + }; + + struct PhysicalDeviceVulkan12Features + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan12Features; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkan12Features(VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge_ = {}, VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ = {}, VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ = {}, VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ = {}, VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ = {}, VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax_ = {}, VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ = {}, VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ = {}, VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ = {}, VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ = {}, VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ = {}, VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer_ = {}, VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId_ = {}) VULKAN_HPP_NOEXCEPT + : samplerMirrorClampToEdge( samplerMirrorClampToEdge_ ), drawIndirectCount( drawIndirectCount_ ), storageBuffer8BitAccess( storageBuffer8BitAccess_ ), uniformAndStorageBuffer8BitAccess( uniformAndStorageBuffer8BitAccess_ ), storagePushConstant8( storagePushConstant8_ ), shaderBufferInt64Atomics( shaderBufferInt64Atomics_ ), shaderSharedInt64Atomics( shaderSharedInt64Atomics_ ), shaderFloat16( shaderFloat16_ ), shaderInt8( shaderInt8_ ), descriptorIndexing( descriptorIndexing_ ), shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ ), shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ ), shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ ), shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ ), shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ ), shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ ), shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ ), shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ ), shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ ), shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ ), descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ ), descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ ), descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ ), descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ ), descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ ), descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ ), descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ ), descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ ), descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ ), runtimeDescriptorArray( runtimeDescriptorArray_ ), samplerFilterMinmax( samplerFilterMinmax_ ), scalarBlockLayout( scalarBlockLayout_ ), imagelessFramebuffer( imagelessFramebuffer_ ), uniformBufferStandardLayout( uniformBufferStandardLayout_ ), shaderSubgroupExtendedTypes( shaderSubgroupExtendedTypes_ ), separateDepthStencilLayouts( separateDepthStencilLayouts_ ), hostQueryReset( hostQueryReset_ ), timelineSemaphore( timelineSemaphore_ ), bufferDeviceAddress( bufferDeviceAddress_ ), bufferDeviceAddressCaptureReplay( bufferDeviceAddressCaptureReplay_ ), bufferDeviceAddressMultiDevice( bufferDeviceAddressMultiDevice_ ), vulkanMemoryModel( vulkanMemoryModel_ ), vulkanMemoryModelDeviceScope( vulkanMemoryModelDeviceScope_ ), vulkanMemoryModelAvailabilityVisibilityChains( vulkanMemoryModelAvailabilityVisibilityChains_ ), shaderOutputViewportIndex( shaderOutputViewportIndex_ ), shaderOutputLayer( shaderOutputLayer_ ), subgroupBroadcastDynamicId( subgroupBroadcastDynamicId_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkan12Features( PhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVulkan12Features( VkPhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVulkan12Features & operator=( VkPhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVulkan12Features & operator=( PhysicalDeviceVulkan12Features const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVulkan12Features ) ); + return *this; + } + + PhysicalDeviceVulkan12Features & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceVulkan12Features & setSamplerMirrorClampToEdge( VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge_ ) VULKAN_HPP_NOEXCEPT + { + samplerMirrorClampToEdge = samplerMirrorClampToEdge_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDrawIndirectCount( VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount_ ) VULKAN_HPP_NOEXCEPT + { + drawIndirectCount = drawIndirectCount_; + return *this; + } + + PhysicalDeviceVulkan12Features & setStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + storageBuffer8BitAccess = storageBuffer8BitAccess_; + return *this; + } + + PhysicalDeviceVulkan12Features & setUniformAndStorageBuffer8BitAccess( VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess_ ) VULKAN_HPP_NOEXCEPT + { + uniformAndStorageBuffer8BitAccess = uniformAndStorageBuffer8BitAccess_; + return *this; + } + + PhysicalDeviceVulkan12Features & setStoragePushConstant8( VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8_ ) VULKAN_HPP_NOEXCEPT + { + storagePushConstant8 = storagePushConstant8_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderBufferInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderBufferInt64Atomics = shaderBufferInt64Atomics_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderSharedInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics_ ) VULKAN_HPP_NOEXCEPT + { + shaderSharedInt64Atomics = shaderSharedInt64Atomics_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderFloat16( VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16_ ) VULKAN_HPP_NOEXCEPT + { + shaderFloat16 = shaderFloat16_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderInt8( VULKAN_HPP_NAMESPACE::Bool32 shaderInt8_ ) VULKAN_HPP_NOEXCEPT + { + shaderInt8 = shaderInt8_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorIndexing( VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing_ ) VULKAN_HPP_NOEXCEPT + { + descriptorIndexing = descriptorIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderInputAttachmentArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderUniformTexelBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderStorageTexelBufferArrayDynamicIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderUniformBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderSampledImageArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderStorageBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderStorageImageArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderInputAttachmentArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderUniformTexelBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderStorageTexelBufferArrayNonUniformIndexing( VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ ) VULKAN_HPP_NOEXCEPT + { + shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingUniformBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingSampledImageUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingStorageImageUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingStorageBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingUniformTexelBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingStorageTexelBufferUpdateAfterBind( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingUpdateUnusedWhilePending( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingPartiallyBound( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_; + return *this; + } + + PhysicalDeviceVulkan12Features & setDescriptorBindingVariableDescriptorCount( VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount_ ) VULKAN_HPP_NOEXCEPT + { + descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_; + return *this; + } + + PhysicalDeviceVulkan12Features & setRuntimeDescriptorArray( VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray_ ) VULKAN_HPP_NOEXCEPT + { + runtimeDescriptorArray = runtimeDescriptorArray_; + return *this; + } + + PhysicalDeviceVulkan12Features & setSamplerFilterMinmax( VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax_ ) VULKAN_HPP_NOEXCEPT + { + samplerFilterMinmax = samplerFilterMinmax_; + return *this; + } + + PhysicalDeviceVulkan12Features & setScalarBlockLayout( VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout_ ) VULKAN_HPP_NOEXCEPT + { + scalarBlockLayout = scalarBlockLayout_; + return *this; + } + + PhysicalDeviceVulkan12Features & setImagelessFramebuffer( VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer_ ) VULKAN_HPP_NOEXCEPT + { + imagelessFramebuffer = imagelessFramebuffer_; + return *this; + } + + PhysicalDeviceVulkan12Features & setUniformBufferStandardLayout( VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout_ ) VULKAN_HPP_NOEXCEPT + { + uniformBufferStandardLayout = uniformBufferStandardLayout_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderSubgroupExtendedTypes( VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes_ ) VULKAN_HPP_NOEXCEPT + { + shaderSubgroupExtendedTypes = shaderSubgroupExtendedTypes_; + return *this; + } + + PhysicalDeviceVulkan12Features & setSeparateDepthStencilLayouts( VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts_ ) VULKAN_HPP_NOEXCEPT + { + separateDepthStencilLayouts = separateDepthStencilLayouts_; + return *this; + } + + PhysicalDeviceVulkan12Features & setHostQueryReset( VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset_ ) VULKAN_HPP_NOEXCEPT + { + hostQueryReset = hostQueryReset_; + return *this; + } + + PhysicalDeviceVulkan12Features & setTimelineSemaphore( VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore_ ) VULKAN_HPP_NOEXCEPT + { + timelineSemaphore = timelineSemaphore_; + return *this; + } + + PhysicalDeviceVulkan12Features & setBufferDeviceAddress( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddress = bufferDeviceAddress_; + return *this; + } + + PhysicalDeviceVulkan12Features & setBufferDeviceAddressCaptureReplay( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressCaptureReplay = bufferDeviceAddressCaptureReplay_; + return *this; + } + + PhysicalDeviceVulkan12Features & setBufferDeviceAddressMultiDevice( VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice_ ) VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressMultiDevice = bufferDeviceAddressMultiDevice_; + return *this; + } + + PhysicalDeviceVulkan12Features & setVulkanMemoryModel( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModel = vulkanMemoryModel_; + return *this; + } + + PhysicalDeviceVulkan12Features & setVulkanMemoryModelDeviceScope( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope_; + return *this; + } + + PhysicalDeviceVulkan12Features & setVulkanMemoryModelAvailabilityVisibilityChains( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderOutputViewportIndex( VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex_ ) VULKAN_HPP_NOEXCEPT + { + shaderOutputViewportIndex = shaderOutputViewportIndex_; + return *this; + } + + PhysicalDeviceVulkan12Features & setShaderOutputLayer( VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer_ ) VULKAN_HPP_NOEXCEPT + { + shaderOutputLayer = shaderOutputLayer_; + return *this; + } + + PhysicalDeviceVulkan12Features & setSubgroupBroadcastDynamicId( VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId_ ) VULKAN_HPP_NOEXCEPT + { + subgroupBroadcastDynamicId = subgroupBroadcastDynamicId_; + return *this; + } + + + operator VkPhysicalDeviceVulkan12Features const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVulkan12Features &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVulkan12Features const& ) const = default; +#else + bool operator==( PhysicalDeviceVulkan12Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( samplerMirrorClampToEdge == rhs.samplerMirrorClampToEdge ) + && ( drawIndirectCount == rhs.drawIndirectCount ) + && ( storageBuffer8BitAccess == rhs.storageBuffer8BitAccess ) + && ( uniformAndStorageBuffer8BitAccess == rhs.uniformAndStorageBuffer8BitAccess ) + && ( storagePushConstant8 == rhs.storagePushConstant8 ) + && ( shaderBufferInt64Atomics == rhs.shaderBufferInt64Atomics ) + && ( shaderSharedInt64Atomics == rhs.shaderSharedInt64Atomics ) + && ( shaderFloat16 == rhs.shaderFloat16 ) + && ( shaderInt8 == rhs.shaderInt8 ) + && ( descriptorIndexing == rhs.descriptorIndexing ) + && ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing ) + && ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing ) + && ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing ) + && ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing ) + && ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing ) + && ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing ) + && ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing ) + && ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing ) + && ( shaderUniformTexelBufferArrayNonUniformIndexing == rhs.shaderUniformTexelBufferArrayNonUniformIndexing ) + && ( shaderStorageTexelBufferArrayNonUniformIndexing == rhs.shaderStorageTexelBufferArrayNonUniformIndexing ) + && ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind ) + && ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind ) + && ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind ) + && ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind ) + && ( descriptorBindingUniformTexelBufferUpdateAfterBind == rhs.descriptorBindingUniformTexelBufferUpdateAfterBind ) + && ( descriptorBindingStorageTexelBufferUpdateAfterBind == rhs.descriptorBindingStorageTexelBufferUpdateAfterBind ) + && ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending ) + && ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound ) + && ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount ) + && ( runtimeDescriptorArray == rhs.runtimeDescriptorArray ) + && ( samplerFilterMinmax == rhs.samplerFilterMinmax ) + && ( scalarBlockLayout == rhs.scalarBlockLayout ) + && ( imagelessFramebuffer == rhs.imagelessFramebuffer ) + && ( uniformBufferStandardLayout == rhs.uniformBufferStandardLayout ) + && ( shaderSubgroupExtendedTypes == rhs.shaderSubgroupExtendedTypes ) + && ( separateDepthStencilLayouts == rhs.separateDepthStencilLayouts ) + && ( hostQueryReset == rhs.hostQueryReset ) + && ( timelineSemaphore == rhs.timelineSemaphore ) + && ( bufferDeviceAddress == rhs.bufferDeviceAddress ) + && ( bufferDeviceAddressCaptureReplay == rhs.bufferDeviceAddressCaptureReplay ) + && ( bufferDeviceAddressMultiDevice == rhs.bufferDeviceAddressMultiDevice ) + && ( vulkanMemoryModel == rhs.vulkanMemoryModel ) + && ( vulkanMemoryModelDeviceScope == rhs.vulkanMemoryModelDeviceScope ) + && ( vulkanMemoryModelAvailabilityVisibilityChains == rhs.vulkanMemoryModelAvailabilityVisibilityChains ) + && ( shaderOutputViewportIndex == rhs.shaderOutputViewportIndex ) + && ( shaderOutputLayer == rhs.shaderOutputLayer ) + && ( subgroupBroadcastDynamicId == rhs.subgroupBroadcastDynamicId ); + } + + bool operator!=( PhysicalDeviceVulkan12Features const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan12Features; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerMirrorClampToEdge = {}; + VULKAN_HPP_NAMESPACE::Bool32 drawIndirectCount = {}; + VULKAN_HPP_NAMESPACE::Bool32 storageBuffer8BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformAndStorageBuffer8BitAccess = {}; + VULKAN_HPP_NAMESPACE::Bool32 storagePushConstant8 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderBufferInt64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSharedInt64Atomics = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInt8 = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayDynamicIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformTexelBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageTexelBufferArrayNonUniformIndexing = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingSampledImageUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageImageUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingUpdateUnusedWhilePending = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingPartiallyBound = {}; + VULKAN_HPP_NAMESPACE::Bool32 descriptorBindingVariableDescriptorCount = {}; + VULKAN_HPP_NAMESPACE::Bool32 runtimeDescriptorArray = {}; + VULKAN_HPP_NAMESPACE::Bool32 samplerFilterMinmax = {}; + VULKAN_HPP_NAMESPACE::Bool32 scalarBlockLayout = {}; + VULKAN_HPP_NAMESPACE::Bool32 imagelessFramebuffer = {}; + VULKAN_HPP_NAMESPACE::Bool32 uniformBufferStandardLayout = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSubgroupExtendedTypes = {}; + VULKAN_HPP_NAMESPACE::Bool32 separateDepthStencilLayouts = {}; + VULKAN_HPP_NAMESPACE::Bool32 hostQueryReset = {}; + VULKAN_HPP_NAMESPACE::Bool32 timelineSemaphore = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddress = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressCaptureReplay = {}; + VULKAN_HPP_NAMESPACE::Bool32 bufferDeviceAddressMultiDevice = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderOutputViewportIndex = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderOutputLayer = {}; + VULKAN_HPP_NAMESPACE::Bool32 subgroupBroadcastDynamicId = {}; + + }; + static_assert( sizeof( PhysicalDeviceVulkan12Features ) == sizeof( VkPhysicalDeviceVulkan12Features ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVulkan12Features; + }; + + struct PhysicalDeviceVulkan12Properties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkan12Properties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan12Properties(VULKAN_HPP_NAMESPACE::DriverId driverID_ = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary, std::array const& driverName_ = {}, std::array const& driverInfo_ = {}, VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion_ = {}, VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence_ = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence_ = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64_ = {}, uint32_t maxUpdateAfterBindDescriptorsInAllPools_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative_ = {}, VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind_ = {}, VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindSamplers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages_ = {}, uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments_ = {}, uint32_t maxPerStageUpdateAfterBindResources_ = {}, uint32_t maxDescriptorSetUpdateAfterBindSamplers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ = {}, uint32_t maxDescriptorSetUpdateAfterBindSampledImages_ = {}, uint32_t maxDescriptorSetUpdateAfterBindStorageImages_ = {}, uint32_t maxDescriptorSetUpdateAfterBindInputAttachments_ = {}, VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes_ = {}, VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes_ = {}, VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone_ = {}, VULKAN_HPP_NAMESPACE::Bool32 independentResolve_ = {}, VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats_ = {}, VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping_ = {}, uint64_t maxTimelineSemaphoreValueDifference_ = {}, VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferIntegerColorSampleCounts_ = {}) VULKAN_HPP_NOEXCEPT + : driverID( driverID_ ), driverName( driverName_ ), driverInfo( driverInfo_ ), conformanceVersion( conformanceVersion_ ), denormBehaviorIndependence( denormBehaviorIndependence_ ), roundingModeIndependence( roundingModeIndependence_ ), shaderSignedZeroInfNanPreserveFloat16( shaderSignedZeroInfNanPreserveFloat16_ ), shaderSignedZeroInfNanPreserveFloat32( shaderSignedZeroInfNanPreserveFloat32_ ), shaderSignedZeroInfNanPreserveFloat64( shaderSignedZeroInfNanPreserveFloat64_ ), shaderDenormPreserveFloat16( shaderDenormPreserveFloat16_ ), shaderDenormPreserveFloat32( shaderDenormPreserveFloat32_ ), shaderDenormPreserveFloat64( shaderDenormPreserveFloat64_ ), shaderDenormFlushToZeroFloat16( shaderDenormFlushToZeroFloat16_ ), shaderDenormFlushToZeroFloat32( shaderDenormFlushToZeroFloat32_ ), shaderDenormFlushToZeroFloat64( shaderDenormFlushToZeroFloat64_ ), shaderRoundingModeRTEFloat16( shaderRoundingModeRTEFloat16_ ), shaderRoundingModeRTEFloat32( shaderRoundingModeRTEFloat32_ ), shaderRoundingModeRTEFloat64( shaderRoundingModeRTEFloat64_ ), shaderRoundingModeRTZFloat16( shaderRoundingModeRTZFloat16_ ), shaderRoundingModeRTZFloat32( shaderRoundingModeRTZFloat32_ ), shaderRoundingModeRTZFloat64( shaderRoundingModeRTZFloat64_ ), maxUpdateAfterBindDescriptorsInAllPools( maxUpdateAfterBindDescriptorsInAllPools_ ), shaderUniformBufferArrayNonUniformIndexingNative( shaderUniformBufferArrayNonUniformIndexingNative_ ), shaderSampledImageArrayNonUniformIndexingNative( shaderSampledImageArrayNonUniformIndexingNative_ ), shaderStorageBufferArrayNonUniformIndexingNative( shaderStorageBufferArrayNonUniformIndexingNative_ ), shaderStorageImageArrayNonUniformIndexingNative( shaderStorageImageArrayNonUniformIndexingNative_ ), shaderInputAttachmentArrayNonUniformIndexingNative( shaderInputAttachmentArrayNonUniformIndexingNative_ ), robustBufferAccessUpdateAfterBind( robustBufferAccessUpdateAfterBind_ ), quadDivergentImplicitLod( quadDivergentImplicitLod_ ), maxPerStageDescriptorUpdateAfterBindSamplers( maxPerStageDescriptorUpdateAfterBindSamplers_ ), maxPerStageDescriptorUpdateAfterBindUniformBuffers( maxPerStageDescriptorUpdateAfterBindUniformBuffers_ ), maxPerStageDescriptorUpdateAfterBindStorageBuffers( maxPerStageDescriptorUpdateAfterBindStorageBuffers_ ), maxPerStageDescriptorUpdateAfterBindSampledImages( maxPerStageDescriptorUpdateAfterBindSampledImages_ ), maxPerStageDescriptorUpdateAfterBindStorageImages( maxPerStageDescriptorUpdateAfterBindStorageImages_ ), maxPerStageDescriptorUpdateAfterBindInputAttachments( maxPerStageDescriptorUpdateAfterBindInputAttachments_ ), maxPerStageUpdateAfterBindResources( maxPerStageUpdateAfterBindResources_ ), maxDescriptorSetUpdateAfterBindSamplers( maxDescriptorSetUpdateAfterBindSamplers_ ), maxDescriptorSetUpdateAfterBindUniformBuffers( maxDescriptorSetUpdateAfterBindUniformBuffers_ ), maxDescriptorSetUpdateAfterBindUniformBuffersDynamic( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic_ ), maxDescriptorSetUpdateAfterBindStorageBuffers( maxDescriptorSetUpdateAfterBindStorageBuffers_ ), maxDescriptorSetUpdateAfterBindStorageBuffersDynamic( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic_ ), maxDescriptorSetUpdateAfterBindSampledImages( maxDescriptorSetUpdateAfterBindSampledImages_ ), maxDescriptorSetUpdateAfterBindStorageImages( maxDescriptorSetUpdateAfterBindStorageImages_ ), maxDescriptorSetUpdateAfterBindInputAttachments( maxDescriptorSetUpdateAfterBindInputAttachments_ ), supportedDepthResolveModes( supportedDepthResolveModes_ ), supportedStencilResolveModes( supportedStencilResolveModes_ ), independentResolveNone( independentResolveNone_ ), independentResolve( independentResolve_ ), filterMinmaxSingleComponentFormats( filterMinmaxSingleComponentFormats_ ), filterMinmaxImageComponentMapping( filterMinmaxImageComponentMapping_ ), maxTimelineSemaphoreValueDifference( maxTimelineSemaphoreValueDifference_ ), framebufferIntegerColorSampleCounts( framebufferIntegerColorSampleCounts_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceVulkan12Properties( PhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVulkan12Properties( VkPhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVulkan12Properties & operator=( VkPhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVulkan12Properties & operator=( PhysicalDeviceVulkan12Properties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVulkan12Properties ) ); + return *this; + } + + + operator VkPhysicalDeviceVulkan12Properties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVulkan12Properties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVulkan12Properties const& ) const = default; +#else + bool operator==( PhysicalDeviceVulkan12Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( driverID == rhs.driverID ) + && ( driverName == rhs.driverName ) + && ( driverInfo == rhs.driverInfo ) + && ( conformanceVersion == rhs.conformanceVersion ) + && ( denormBehaviorIndependence == rhs.denormBehaviorIndependence ) + && ( roundingModeIndependence == rhs.roundingModeIndependence ) + && ( shaderSignedZeroInfNanPreserveFloat16 == rhs.shaderSignedZeroInfNanPreserveFloat16 ) + && ( shaderSignedZeroInfNanPreserveFloat32 == rhs.shaderSignedZeroInfNanPreserveFloat32 ) + && ( shaderSignedZeroInfNanPreserveFloat64 == rhs.shaderSignedZeroInfNanPreserveFloat64 ) + && ( shaderDenormPreserveFloat16 == rhs.shaderDenormPreserveFloat16 ) + && ( shaderDenormPreserveFloat32 == rhs.shaderDenormPreserveFloat32 ) + && ( shaderDenormPreserveFloat64 == rhs.shaderDenormPreserveFloat64 ) + && ( shaderDenormFlushToZeroFloat16 == rhs.shaderDenormFlushToZeroFloat16 ) + && ( shaderDenormFlushToZeroFloat32 == rhs.shaderDenormFlushToZeroFloat32 ) + && ( shaderDenormFlushToZeroFloat64 == rhs.shaderDenormFlushToZeroFloat64 ) + && ( shaderRoundingModeRTEFloat16 == rhs.shaderRoundingModeRTEFloat16 ) + && ( shaderRoundingModeRTEFloat32 == rhs.shaderRoundingModeRTEFloat32 ) + && ( shaderRoundingModeRTEFloat64 == rhs.shaderRoundingModeRTEFloat64 ) + && ( shaderRoundingModeRTZFloat16 == rhs.shaderRoundingModeRTZFloat16 ) + && ( shaderRoundingModeRTZFloat32 == rhs.shaderRoundingModeRTZFloat32 ) + && ( shaderRoundingModeRTZFloat64 == rhs.shaderRoundingModeRTZFloat64 ) + && ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools ) + && ( shaderUniformBufferArrayNonUniformIndexingNative == rhs.shaderUniformBufferArrayNonUniformIndexingNative ) + && ( shaderSampledImageArrayNonUniformIndexingNative == rhs.shaderSampledImageArrayNonUniformIndexingNative ) + && ( shaderStorageBufferArrayNonUniformIndexingNative == rhs.shaderStorageBufferArrayNonUniformIndexingNative ) + && ( shaderStorageImageArrayNonUniformIndexingNative == rhs.shaderStorageImageArrayNonUniformIndexingNative ) + && ( shaderInputAttachmentArrayNonUniformIndexingNative == rhs.shaderInputAttachmentArrayNonUniformIndexingNative ) + && ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind ) + && ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod ) + && ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers ) + && ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers ) + && ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers ) + && ( maxPerStageDescriptorUpdateAfterBindSampledImages == rhs.maxPerStageDescriptorUpdateAfterBindSampledImages ) + && ( maxPerStageDescriptorUpdateAfterBindStorageImages == rhs.maxPerStageDescriptorUpdateAfterBindStorageImages ) + && ( maxPerStageDescriptorUpdateAfterBindInputAttachments == rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments ) + && ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources ) + && ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers ) + && ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers ) + && ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic ) + && ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers ) + && ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic ) + && ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages ) + && ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages ) + && ( maxDescriptorSetUpdateAfterBindInputAttachments == rhs.maxDescriptorSetUpdateAfterBindInputAttachments ) + && ( supportedDepthResolveModes == rhs.supportedDepthResolveModes ) + && ( supportedStencilResolveModes == rhs.supportedStencilResolveModes ) + && ( independentResolveNone == rhs.independentResolveNone ) + && ( independentResolve == rhs.independentResolve ) + && ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats ) + && ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping ) + && ( maxTimelineSemaphoreValueDifference == rhs.maxTimelineSemaphoreValueDifference ) + && ( framebufferIntegerColorSampleCounts == rhs.framebufferIntegerColorSampleCounts ); + } + + bool operator!=( PhysicalDeviceVulkan12Properties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkan12Properties; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::DriverId driverID = VULKAN_HPP_NAMESPACE::DriverId::eAmdProprietary; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverName = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D driverInfo = {}; + VULKAN_HPP_NAMESPACE::ConformanceVersion conformanceVersion = {}; + VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence denormBehaviorIndependence = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; + VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence roundingModeIndependence = VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence::e32BitOnly; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSignedZeroInfNanPreserveFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormPreserveFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderDenormFlushToZeroFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTEFloat64 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat16 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat32 = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderRoundingModeRTZFloat64 = {}; + uint32_t maxUpdateAfterBindDescriptorsInAllPools = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderUniformBufferArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderSampledImageArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageBufferArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderStorageImageArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 shaderInputAttachmentArrayNonUniformIndexingNative = {}; + VULKAN_HPP_NAMESPACE::Bool32 robustBufferAccessUpdateAfterBind = {}; + VULKAN_HPP_NAMESPACE::Bool32 quadDivergentImplicitLod = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindSamplers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages = {}; + uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments = {}; + uint32_t maxPerStageUpdateAfterBindResources = {}; + uint32_t maxDescriptorSetUpdateAfterBindSamplers = {}; + uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers = {}; + uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = {}; + uint32_t maxDescriptorSetUpdateAfterBindSampledImages = {}; + uint32_t maxDescriptorSetUpdateAfterBindStorageImages = {}; + uint32_t maxDescriptorSetUpdateAfterBindInputAttachments = {}; + VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedDepthResolveModes = {}; + VULKAN_HPP_NAMESPACE::ResolveModeFlags supportedStencilResolveModes = {}; + VULKAN_HPP_NAMESPACE::Bool32 independentResolveNone = {}; + VULKAN_HPP_NAMESPACE::Bool32 independentResolve = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxSingleComponentFormats = {}; + VULKAN_HPP_NAMESPACE::Bool32 filterMinmaxImageComponentMapping = {}; + uint64_t maxTimelineSemaphoreValueDifference = {}; + VULKAN_HPP_NAMESPACE::SampleCountFlags framebufferIntegerColorSampleCounts = {}; + + }; + static_assert( sizeof( PhysicalDeviceVulkan12Properties ) == sizeof( VkPhysicalDeviceVulkan12Properties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVulkan12Properties; + }; + + struct PhysicalDeviceVulkanMemoryModelFeatures + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceVulkanMemoryModelFeatures; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkanMemoryModelFeatures(VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ = {}, VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ = {}) VULKAN_HPP_NOEXCEPT + : vulkanMemoryModel( vulkanMemoryModel_ ), vulkanMemoryModelDeviceScope( vulkanMemoryModelDeviceScope_ ), vulkanMemoryModelAvailabilityVisibilityChains( vulkanMemoryModelAvailabilityVisibilityChains_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceVulkanMemoryModelFeatures( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceVulkanMemoryModelFeatures( VkPhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceVulkanMemoryModelFeatures & operator=( VkPhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceVulkanMemoryModelFeatures & operator=( PhysicalDeviceVulkanMemoryModelFeatures const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceVulkanMemoryModelFeatures ) ); + return *this; + } + + PhysicalDeviceVulkanMemoryModelFeatures & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceVulkanMemoryModelFeatures & setVulkanMemoryModel( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModel = vulkanMemoryModel_; + return *this; + } + + PhysicalDeviceVulkanMemoryModelFeatures & setVulkanMemoryModelDeviceScope( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModelDeviceScope = vulkanMemoryModelDeviceScope_; + return *this; + } + + PhysicalDeviceVulkanMemoryModelFeatures & setVulkanMemoryModelAvailabilityVisibilityChains( VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains_ ) VULKAN_HPP_NOEXCEPT + { + vulkanMemoryModelAvailabilityVisibilityChains = vulkanMemoryModelAvailabilityVisibilityChains_; + return *this; + } + + + operator VkPhysicalDeviceVulkanMemoryModelFeatures const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceVulkanMemoryModelFeatures &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceVulkanMemoryModelFeatures const& ) const = default; +#else + bool operator==( PhysicalDeviceVulkanMemoryModelFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( vulkanMemoryModel == rhs.vulkanMemoryModel ) + && ( vulkanMemoryModelDeviceScope == rhs.vulkanMemoryModelDeviceScope ) + && ( vulkanMemoryModelAvailabilityVisibilityChains == rhs.vulkanMemoryModelAvailabilityVisibilityChains ); + } + + bool operator!=( PhysicalDeviceVulkanMemoryModelFeatures const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceVulkanMemoryModelFeatures; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModel = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelDeviceScope = {}; + VULKAN_HPP_NAMESPACE::Bool32 vulkanMemoryModelAvailabilityVisibilityChains = {}; + + }; + static_assert( sizeof( PhysicalDeviceVulkanMemoryModelFeatures ) == sizeof( VkPhysicalDeviceVulkanMemoryModelFeatures ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceVulkanMemoryModelFeatures; + }; + using PhysicalDeviceVulkanMemoryModelFeaturesKHR = PhysicalDeviceVulkanMemoryModelFeatures; + + struct PhysicalDeviceYcbcrImageArraysFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcrImageArraysFeaturesEXT(VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays_ = {}) VULKAN_HPP_NOEXCEPT + : ycbcrImageArrays( ycbcrImageArrays_ ) + {} + + VULKAN_HPP_CONSTEXPR PhysicalDeviceYcbcrImageArraysFeaturesEXT( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceYcbcrImageArraysFeaturesEXT( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PhysicalDeviceYcbcrImageArraysFeaturesEXT & operator=( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PhysicalDeviceYcbcrImageArraysFeaturesEXT & operator=( PhysicalDeviceYcbcrImageArraysFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PhysicalDeviceYcbcrImageArraysFeaturesEXT ) ); + return *this; + } + + PhysicalDeviceYcbcrImageArraysFeaturesEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PhysicalDeviceYcbcrImageArraysFeaturesEXT & setYcbcrImageArrays( VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays_ ) VULKAN_HPP_NOEXCEPT + { + ycbcrImageArrays = ycbcrImageArrays_; + return *this; + } + + + operator VkPhysicalDeviceYcbcrImageArraysFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceYcbcrImageArraysFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PhysicalDeviceYcbcrImageArraysFeaturesEXT const& ) const = default; +#else + bool operator==( PhysicalDeviceYcbcrImageArraysFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( ycbcrImageArrays == rhs.ycbcrImageArrays ); + } + + bool operator!=( PhysicalDeviceYcbcrImageArraysFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceYcbcrImageArraysFeaturesEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 ycbcrImageArrays = {}; + + }; + static_assert( sizeof( PhysicalDeviceYcbcrImageArraysFeaturesEXT ) == sizeof( VkPhysicalDeviceYcbcrImageArraysFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PhysicalDeviceYcbcrImageArraysFeaturesEXT; + }; + + struct PipelineColorBlendAdvancedStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineColorBlendAdvancedStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied_ = {}, VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied_ = {}, VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap_ = VULKAN_HPP_NAMESPACE::BlendOverlapEXT::eUncorrelated) VULKAN_HPP_NOEXCEPT + : srcPremultiplied( srcPremultiplied_ ), dstPremultiplied( dstPremultiplied_ ), blendOverlap( blendOverlap_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineColorBlendAdvancedStateCreateInfoEXT( PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineColorBlendAdvancedStateCreateInfoEXT( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineColorBlendAdvancedStateCreateInfoEXT & operator=( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineColorBlendAdvancedStateCreateInfoEXT & operator=( PipelineColorBlendAdvancedStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) ); + return *this; + } + + PipelineColorBlendAdvancedStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineColorBlendAdvancedStateCreateInfoEXT & setSrcPremultiplied( VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied_ ) VULKAN_HPP_NOEXCEPT + { + srcPremultiplied = srcPremultiplied_; + return *this; + } + + PipelineColorBlendAdvancedStateCreateInfoEXT & setDstPremultiplied( VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied_ ) VULKAN_HPP_NOEXCEPT + { + dstPremultiplied = dstPremultiplied_; + return *this; + } + + PipelineColorBlendAdvancedStateCreateInfoEXT & setBlendOverlap( VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap_ ) VULKAN_HPP_NOEXCEPT + { + blendOverlap = blendOverlap_; + return *this; + } + + + operator VkPipelineColorBlendAdvancedStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineColorBlendAdvancedStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineColorBlendAdvancedStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( srcPremultiplied == rhs.srcPremultiplied ) + && ( dstPremultiplied == rhs.dstPremultiplied ) + && ( blendOverlap == rhs.blendOverlap ); + } + + bool operator!=( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 srcPremultiplied = {}; + VULKAN_HPP_NAMESPACE::Bool32 dstPremultiplied = {}; + VULKAN_HPP_NAMESPACE::BlendOverlapEXT blendOverlap = VULKAN_HPP_NAMESPACE::BlendOverlapEXT::eUncorrelated; + + }; + static_assert( sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) == sizeof( VkPipelineColorBlendAdvancedStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineColorBlendAdvancedStateCreateInfoEXT; + }; + + struct PipelineCompilerControlCreateInfoAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCompilerControlCreateInfoAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCompilerControlCreateInfoAMD(VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags_ = {}) VULKAN_HPP_NOEXCEPT + : compilerControlFlags( compilerControlFlags_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCompilerControlCreateInfoAMD( PipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCompilerControlCreateInfoAMD( VkPipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCompilerControlCreateInfoAMD & operator=( VkPipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCompilerControlCreateInfoAMD & operator=( PipelineCompilerControlCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCompilerControlCreateInfoAMD ) ); + return *this; + } + + PipelineCompilerControlCreateInfoAMD & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCompilerControlCreateInfoAMD & setCompilerControlFlags( VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags_ ) VULKAN_HPP_NOEXCEPT + { + compilerControlFlags = compilerControlFlags_; + return *this; + } + + + operator VkPipelineCompilerControlCreateInfoAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCompilerControlCreateInfoAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCompilerControlCreateInfoAMD const& ) const = default; +#else + bool operator==( PipelineCompilerControlCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( compilerControlFlags == rhs.compilerControlFlags ); + } + + bool operator!=( PipelineCompilerControlCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCompilerControlCreateInfoAMD; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCompilerControlFlagsAMD compilerControlFlags = {}; + + }; + static_assert( sizeof( PipelineCompilerControlCreateInfoAMD ) == sizeof( VkPipelineCompilerControlCreateInfoAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCompilerControlCreateInfoAMD; + }; + + struct PipelineCoverageModulationStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCoverageModulationStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCoverageModulationStateCreateInfoNV(VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_ = {}, VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_ = VULKAN_HPP_NAMESPACE::CoverageModulationModeNV::eNone, VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_ = {}, uint32_t coverageModulationTableCount_ = {}, const float* pCoverageModulationTable_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), coverageModulationMode( coverageModulationMode_ ), coverageModulationTableEnable( coverageModulationTableEnable_ ), coverageModulationTableCount( coverageModulationTableCount_ ), pCoverageModulationTable( pCoverageModulationTable_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCoverageModulationStateCreateInfoNV( PipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCoverageModulationStateCreateInfoNV( VkPipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineCoverageModulationStateCreateInfoNV( VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_, VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_, VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & coverageModulationTable_ ) + : flags( flags_ ), coverageModulationMode( coverageModulationMode_ ), coverageModulationTableEnable( coverageModulationTableEnable_ ), coverageModulationTableCount( static_cast( coverageModulationTable_.size() ) ), pCoverageModulationTable( coverageModulationTable_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCoverageModulationStateCreateInfoNV & operator=( VkPipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & operator=( PipelineCoverageModulationStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCoverageModulationStateCreateInfoNV ) ); + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationMode( VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode_ ) VULKAN_HPP_NOEXCEPT + { + coverageModulationMode = coverageModulationMode_; + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationTableEnable( VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable_ ) VULKAN_HPP_NOEXCEPT + { + coverageModulationTableEnable = coverageModulationTableEnable_; + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationTableCount( uint32_t coverageModulationTableCount_ ) VULKAN_HPP_NOEXCEPT + { + coverageModulationTableCount = coverageModulationTableCount_; + return *this; + } + + PipelineCoverageModulationStateCreateInfoNV & setPCoverageModulationTable( const float* pCoverageModulationTable_ ) VULKAN_HPP_NOEXCEPT + { + pCoverageModulationTable = pCoverageModulationTable_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineCoverageModulationStateCreateInfoNV & setCoverageModulationTable( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & coverageModulationTable_ ) VULKAN_HPP_NOEXCEPT + { + coverageModulationTableCount = static_cast( coverageModulationTable_.size() ); + pCoverageModulationTable = coverageModulationTable_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineCoverageModulationStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCoverageModulationStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCoverageModulationStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( coverageModulationMode == rhs.coverageModulationMode ) + && ( coverageModulationTableEnable == rhs.coverageModulationTableEnable ) + && ( coverageModulationTableCount == rhs.coverageModulationTableCount ) + && ( pCoverageModulationTable == rhs.pCoverageModulationTable ); + } + + bool operator!=( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageModulationStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCoverageModulationStateCreateFlagsNV flags = {}; + VULKAN_HPP_NAMESPACE::CoverageModulationModeNV coverageModulationMode = VULKAN_HPP_NAMESPACE::CoverageModulationModeNV::eNone; + VULKAN_HPP_NAMESPACE::Bool32 coverageModulationTableEnable = {}; + uint32_t coverageModulationTableCount = {}; + const float* pCoverageModulationTable = {}; + + }; + static_assert( sizeof( PipelineCoverageModulationStateCreateInfoNV ) == sizeof( VkPipelineCoverageModulationStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCoverageModulationStateCreateInfoNV; + }; + + struct PipelineCoverageReductionStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCoverageReductionStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCoverageReductionStateCreateInfoNV(VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags_ = {}, VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ = VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), coverageReductionMode( coverageReductionMode_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCoverageReductionStateCreateInfoNV( PipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCoverageReductionStateCreateInfoNV( VkPipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCoverageReductionStateCreateInfoNV & operator=( VkPipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCoverageReductionStateCreateInfoNV & operator=( PipelineCoverageReductionStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCoverageReductionStateCreateInfoNV ) ); + return *this; + } + + PipelineCoverageReductionStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCoverageReductionStateCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineCoverageReductionStateCreateInfoNV & setCoverageReductionMode( VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode_ ) VULKAN_HPP_NOEXCEPT + { + coverageReductionMode = coverageReductionMode_; + return *this; + } + + + operator VkPipelineCoverageReductionStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCoverageReductionStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCoverageReductionStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineCoverageReductionStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( coverageReductionMode == rhs.coverageReductionMode ); + } + + bool operator!=( PipelineCoverageReductionStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageReductionStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagsNV flags = {}; + VULKAN_HPP_NAMESPACE::CoverageReductionModeNV coverageReductionMode = VULKAN_HPP_NAMESPACE::CoverageReductionModeNV::eMerge; + + }; + static_assert( sizeof( PipelineCoverageReductionStateCreateInfoNV ) == sizeof( VkPipelineCoverageReductionStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCoverageReductionStateCreateInfoNV; + }; + + struct PipelineCoverageToColorStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCoverageToColorStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCoverageToColorStateCreateInfoNV(VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable_ = {}, uint32_t coverageToColorLocation_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), coverageToColorEnable( coverageToColorEnable_ ), coverageToColorLocation( coverageToColorLocation_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCoverageToColorStateCreateInfoNV( PipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCoverageToColorStateCreateInfoNV( VkPipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCoverageToColorStateCreateInfoNV & operator=( VkPipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCoverageToColorStateCreateInfoNV & operator=( PipelineCoverageToColorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCoverageToColorStateCreateInfoNV ) ); + return *this; + } + + PipelineCoverageToColorStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCoverageToColorStateCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineCoverageToColorStateCreateInfoNV & setCoverageToColorEnable( VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable_ ) VULKAN_HPP_NOEXCEPT + { + coverageToColorEnable = coverageToColorEnable_; + return *this; + } + + PipelineCoverageToColorStateCreateInfoNV & setCoverageToColorLocation( uint32_t coverageToColorLocation_ ) VULKAN_HPP_NOEXCEPT + { + coverageToColorLocation = coverageToColorLocation_; + return *this; + } + + + operator VkPipelineCoverageToColorStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCoverageToColorStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCoverageToColorStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( coverageToColorEnable == rhs.coverageToColorEnable ) + && ( coverageToColorLocation == rhs.coverageToColorLocation ); + } + + bool operator!=( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCoverageToColorStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCoverageToColorStateCreateFlagsNV flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 coverageToColorEnable = {}; + uint32_t coverageToColorLocation = {}; + + }; + static_assert( sizeof( PipelineCoverageToColorStateCreateInfoNV ) == sizeof( VkPipelineCoverageToColorStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCoverageToColorStateCreateInfoNV; + }; + + struct PipelineCreationFeedbackEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackEXT(VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagsEXT flags_ = {}, uint64_t duration_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), duration( duration_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackEXT( PipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCreationFeedbackEXT( VkPipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCreationFeedbackEXT & operator=( VkPipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCreationFeedbackEXT & operator=( PipelineCreationFeedbackEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCreationFeedbackEXT ) ); + return *this; + } + + + operator VkPipelineCreationFeedbackEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCreationFeedbackEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCreationFeedbackEXT const& ) const = default; +#else + bool operator==( PipelineCreationFeedbackEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( flags == rhs.flags ) + && ( duration == rhs.duration ); + } + + bool operator!=( PipelineCreationFeedbackEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagsEXT flags = {}; + uint64_t duration = {}; + + }; + static_assert( sizeof( PipelineCreationFeedbackEXT ) == sizeof( VkPipelineCreationFeedbackEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineCreationFeedbackCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineCreationFeedbackCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackCreateInfoEXT(VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineCreationFeedback_ = {}, uint32_t pipelineStageCreationFeedbackCount_ = {}, VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineStageCreationFeedbacks_ = {}) VULKAN_HPP_NOEXCEPT + : pPipelineCreationFeedback( pPipelineCreationFeedback_ ), pipelineStageCreationFeedbackCount( pipelineStageCreationFeedbackCount_ ), pPipelineStageCreationFeedbacks( pPipelineStageCreationFeedbacks_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineCreationFeedbackCreateInfoEXT( PipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineCreationFeedbackCreateInfoEXT( VkPipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineCreationFeedbackCreateInfoEXT( VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineCreationFeedback_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelineStageCreationFeedbacks_ ) + : pPipelineCreationFeedback( pPipelineCreationFeedback_ ), pipelineStageCreationFeedbackCount( static_cast( pipelineStageCreationFeedbacks_.size() ) ), pPipelineStageCreationFeedbacks( pipelineStageCreationFeedbacks_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineCreationFeedbackCreateInfoEXT & operator=( VkPipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineCreationFeedbackCreateInfoEXT & operator=( PipelineCreationFeedbackCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineCreationFeedbackCreateInfoEXT ) ); + return *this; + } + + PipelineCreationFeedbackCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineCreationFeedbackCreateInfoEXT & setPPipelineCreationFeedback( VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineCreationFeedback_ ) VULKAN_HPP_NOEXCEPT + { + pPipelineCreationFeedback = pPipelineCreationFeedback_; + return *this; + } + + PipelineCreationFeedbackCreateInfoEXT & setPipelineStageCreationFeedbackCount( uint32_t pipelineStageCreationFeedbackCount_ ) VULKAN_HPP_NOEXCEPT + { + pipelineStageCreationFeedbackCount = pipelineStageCreationFeedbackCount_; + return *this; + } + + PipelineCreationFeedbackCreateInfoEXT & setPPipelineStageCreationFeedbacks( VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineStageCreationFeedbacks_ ) VULKAN_HPP_NOEXCEPT + { + pPipelineStageCreationFeedbacks = pPipelineStageCreationFeedbacks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineCreationFeedbackCreateInfoEXT & setPipelineStageCreationFeedbacks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & pipelineStageCreationFeedbacks_ ) VULKAN_HPP_NOEXCEPT + { + pipelineStageCreationFeedbackCount = static_cast( pipelineStageCreationFeedbacks_.size() ); + pPipelineStageCreationFeedbacks = pipelineStageCreationFeedbacks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineCreationFeedbackCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineCreationFeedbackCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineCreationFeedbackCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineCreationFeedbackCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( pPipelineCreationFeedback == rhs.pPipelineCreationFeedback ) + && ( pipelineStageCreationFeedbackCount == rhs.pipelineStageCreationFeedbackCount ) + && ( pPipelineStageCreationFeedbacks == rhs.pPipelineStageCreationFeedbacks ); + } + + bool operator!=( PipelineCreationFeedbackCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineCreationFeedbackCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineCreationFeedback = {}; + uint32_t pipelineStageCreationFeedbackCount = {}; + VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackEXT* pPipelineStageCreationFeedbacks = {}; + + }; + static_assert( sizeof( PipelineCreationFeedbackCreateInfoEXT ) == sizeof( VkPipelineCreationFeedbackCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineCreationFeedbackCreateInfoEXT; + }; + + struct PipelineDiscardRectangleStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineDiscardRectangleStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineDiscardRectangleStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_ = {}, VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_ = VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT::eInclusive, uint32_t discardRectangleCount_ = {}, const VULKAN_HPP_NAMESPACE::Rect2D* pDiscardRectangles_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), discardRectangleMode( discardRectangleMode_ ), discardRectangleCount( discardRectangleCount_ ), pDiscardRectangles( pDiscardRectangles_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineDiscardRectangleStateCreateInfoEXT( PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineDiscardRectangleStateCreateInfoEXT( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineDiscardRectangleStateCreateInfoEXT( VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_, VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & discardRectangles_ ) + : flags( flags_ ), discardRectangleMode( discardRectangleMode_ ), discardRectangleCount( static_cast( discardRectangles_.size() ) ), pDiscardRectangles( discardRectangles_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineDiscardRectangleStateCreateInfoEXT & operator=( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & operator=( PipelineDiscardRectangleStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) ); + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & setDiscardRectangleMode( VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode_ ) VULKAN_HPP_NOEXCEPT + { + discardRectangleMode = discardRectangleMode_; + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & setDiscardRectangleCount( uint32_t discardRectangleCount_ ) VULKAN_HPP_NOEXCEPT + { + discardRectangleCount = discardRectangleCount_; + return *this; + } + + PipelineDiscardRectangleStateCreateInfoEXT & setPDiscardRectangles( const VULKAN_HPP_NAMESPACE::Rect2D* pDiscardRectangles_ ) VULKAN_HPP_NOEXCEPT + { + pDiscardRectangles = pDiscardRectangles_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineDiscardRectangleStateCreateInfoEXT & setDiscardRectangles( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & discardRectangles_ ) VULKAN_HPP_NOEXCEPT + { + discardRectangleCount = static_cast( discardRectangles_.size() ); + pDiscardRectangles = discardRectangles_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineDiscardRectangleStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineDiscardRectangleStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineDiscardRectangleStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( discardRectangleMode == rhs.discardRectangleMode ) + && ( discardRectangleCount == rhs.discardRectangleCount ) + && ( pDiscardRectangles == rhs.pDiscardRectangles ); + } + + bool operator!=( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineDiscardRectangleStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineDiscardRectangleStateCreateFlagsEXT flags = {}; + VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT discardRectangleMode = VULKAN_HPP_NAMESPACE::DiscardRectangleModeEXT::eInclusive; + uint32_t discardRectangleCount = {}; + const VULKAN_HPP_NAMESPACE::Rect2D* pDiscardRectangles = {}; + + }; + static_assert( sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) == sizeof( VkPipelineDiscardRectangleStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineDiscardRectangleStateCreateInfoEXT; + }; + + struct PipelineFragmentShadingRateEnumStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateEnumStateCreateInfoNV(VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType_ = VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV::eFragmentSize, VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate_ = VULKAN_HPP_NAMESPACE::FragmentShadingRateNV::e1InvocationPerPixel, std::array const& combinerOps_ = { { VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep, VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep } }) VULKAN_HPP_NOEXCEPT + : shadingRateType( shadingRateType_ ), shadingRate( shadingRate_ ), combinerOps( combinerOps_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateEnumStateCreateInfoNV( PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineFragmentShadingRateEnumStateCreateInfoNV( VkPipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineFragmentShadingRateEnumStateCreateInfoNV & operator=( VkPipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineFragmentShadingRateEnumStateCreateInfoNV & operator=( PipelineFragmentShadingRateEnumStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineFragmentShadingRateEnumStateCreateInfoNV ) ); + return *this; + } + + PipelineFragmentShadingRateEnumStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineFragmentShadingRateEnumStateCreateInfoNV & setShadingRateType( VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType_ ) VULKAN_HPP_NOEXCEPT + { + shadingRateType = shadingRateType_; + return *this; + } + + PipelineFragmentShadingRateEnumStateCreateInfoNV & setShadingRate( VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate_ ) VULKAN_HPP_NOEXCEPT + { + shadingRate = shadingRate_; + return *this; + } + + PipelineFragmentShadingRateEnumStateCreateInfoNV & setCombinerOps( std::array combinerOps_ ) VULKAN_HPP_NOEXCEPT + { + combinerOps = combinerOps_; + return *this; + } + + + operator VkPipelineFragmentShadingRateEnumStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineFragmentShadingRateEnumStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineFragmentShadingRateEnumStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineFragmentShadingRateEnumStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shadingRateType == rhs.shadingRateType ) + && ( shadingRate == rhs.shadingRate ) + && ( combinerOps == rhs.combinerOps ); + } + + bool operator!=( PipelineFragmentShadingRateEnumStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineFragmentShadingRateEnumStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV shadingRateType = VULKAN_HPP_NAMESPACE::FragmentShadingRateTypeNV::eFragmentSize; + VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate = VULKAN_HPP_NAMESPACE::FragmentShadingRateNV::e1InvocationPerPixel; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D combinerOps = {}; + + }; + static_assert( sizeof( PipelineFragmentShadingRateEnumStateCreateInfoNV ) == sizeof( VkPipelineFragmentShadingRateEnumStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineFragmentShadingRateEnumStateCreateInfoNV; + }; + + struct PipelineFragmentShadingRateStateCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateStateCreateInfoKHR(VULKAN_HPP_NAMESPACE::Extent2D fragmentSize_ = {}, std::array const& combinerOps_ = { { VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep, VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR::eKeep } }) VULKAN_HPP_NOEXCEPT + : fragmentSize( fragmentSize_ ), combinerOps( combinerOps_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 PipelineFragmentShadingRateStateCreateInfoKHR( PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineFragmentShadingRateStateCreateInfoKHR( VkPipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineFragmentShadingRateStateCreateInfoKHR & operator=( VkPipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineFragmentShadingRateStateCreateInfoKHR & operator=( PipelineFragmentShadingRateStateCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineFragmentShadingRateStateCreateInfoKHR ) ); + return *this; + } + + PipelineFragmentShadingRateStateCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineFragmentShadingRateStateCreateInfoKHR & setFragmentSize( VULKAN_HPP_NAMESPACE::Extent2D const & fragmentSize_ ) VULKAN_HPP_NOEXCEPT + { + fragmentSize = fragmentSize_; + return *this; + } + + PipelineFragmentShadingRateStateCreateInfoKHR & setCombinerOps( std::array combinerOps_ ) VULKAN_HPP_NOEXCEPT + { + combinerOps = combinerOps_; + return *this; + } + + + operator VkPipelineFragmentShadingRateStateCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineFragmentShadingRateStateCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineFragmentShadingRateStateCreateInfoKHR const& ) const = default; +#else + bool operator==( PipelineFragmentShadingRateStateCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentSize == rhs.fragmentSize ) + && ( combinerOps == rhs.combinerOps ); + } + + bool operator!=( PipelineFragmentShadingRateStateCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineFragmentShadingRateStateCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Extent2D fragmentSize = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D combinerOps = {}; + + }; + static_assert( sizeof( PipelineFragmentShadingRateStateCreateInfoKHR ) == sizeof( VkPipelineFragmentShadingRateStateCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineFragmentShadingRateStateCreateInfoKHR; + }; + + struct PipelineRasterizationConservativeStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationConservativeStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags_ = {}, VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode_ = VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT::eDisabled, float extraPrimitiveOverestimationSize_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), conservativeRasterizationMode( conservativeRasterizationMode_ ), extraPrimitiveOverestimationSize( extraPrimitiveOverestimationSize_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationConservativeStateCreateInfoEXT( PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationConservativeStateCreateInfoEXT( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationConservativeStateCreateInfoEXT & operator=( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationConservativeStateCreateInfoEXT & operator=( PipelineRasterizationConservativeStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) ); + return *this; + } + + PipelineRasterizationConservativeStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationConservativeStateCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineRasterizationConservativeStateCreateInfoEXT & setConservativeRasterizationMode( VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode_ ) VULKAN_HPP_NOEXCEPT + { + conservativeRasterizationMode = conservativeRasterizationMode_; + return *this; + } + + PipelineRasterizationConservativeStateCreateInfoEXT & setExtraPrimitiveOverestimationSize( float extraPrimitiveOverestimationSize_ ) VULKAN_HPP_NOEXCEPT + { + extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize_; + return *this; + } + + + operator VkPipelineRasterizationConservativeStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationConservativeStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationConservativeStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( conservativeRasterizationMode == rhs.conservativeRasterizationMode ) + && ( extraPrimitiveOverestimationSize == rhs.extraPrimitiveOverestimationSize ); + } + + bool operator!=( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineRasterizationConservativeStateCreateFlagsEXT flags = {}; + VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT conservativeRasterizationMode = VULKAN_HPP_NAMESPACE::ConservativeRasterizationModeEXT::eDisabled; + float extraPrimitiveOverestimationSize = {}; + + }; + static_assert( sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) == sizeof( VkPipelineRasterizationConservativeStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationConservativeStateCreateInfoEXT; + }; + + struct PipelineRasterizationDepthClipStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationDepthClipStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags_ = {}, VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), depthClipEnable( depthClipEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationDepthClipStateCreateInfoEXT( PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationDepthClipStateCreateInfoEXT( VkPipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationDepthClipStateCreateInfoEXT & operator=( VkPipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationDepthClipStateCreateInfoEXT & operator=( PipelineRasterizationDepthClipStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationDepthClipStateCreateInfoEXT ) ); + return *this; + } + + PipelineRasterizationDepthClipStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationDepthClipStateCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineRasterizationDepthClipStateCreateInfoEXT & setDepthClipEnable( VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable_ ) VULKAN_HPP_NOEXCEPT + { + depthClipEnable = depthClipEnable_; + return *this; + } + + + operator VkPipelineRasterizationDepthClipStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationDepthClipStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationDepthClipStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineRasterizationDepthClipStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( depthClipEnable == rhs.depthClipEnable ); + } + + bool operator!=( PipelineRasterizationDepthClipStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationDepthClipStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineRasterizationDepthClipStateCreateFlagsEXT flags = {}; + VULKAN_HPP_NAMESPACE::Bool32 depthClipEnable = {}; + + }; + static_assert( sizeof( PipelineRasterizationDepthClipStateCreateInfoEXT ) == sizeof( VkPipelineRasterizationDepthClipStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationDepthClipStateCreateInfoEXT; + }; + + struct PipelineRasterizationLineStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationLineStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationLineStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode_ = VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT::eDefault, VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable_ = {}, uint32_t lineStippleFactor_ = {}, uint16_t lineStipplePattern_ = {}) VULKAN_HPP_NOEXCEPT + : lineRasterizationMode( lineRasterizationMode_ ), stippledLineEnable( stippledLineEnable_ ), lineStippleFactor( lineStippleFactor_ ), lineStipplePattern( lineStipplePattern_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationLineStateCreateInfoEXT( PipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationLineStateCreateInfoEXT( VkPipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationLineStateCreateInfoEXT & operator=( VkPipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & operator=( PipelineRasterizationLineStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationLineStateCreateInfoEXT ) ); + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & setLineRasterizationMode( VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode_ ) VULKAN_HPP_NOEXCEPT + { + lineRasterizationMode = lineRasterizationMode_; + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & setStippledLineEnable( VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable_ ) VULKAN_HPP_NOEXCEPT + { + stippledLineEnable = stippledLineEnable_; + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & setLineStippleFactor( uint32_t lineStippleFactor_ ) VULKAN_HPP_NOEXCEPT + { + lineStippleFactor = lineStippleFactor_; + return *this; + } + + PipelineRasterizationLineStateCreateInfoEXT & setLineStipplePattern( uint16_t lineStipplePattern_ ) VULKAN_HPP_NOEXCEPT + { + lineStipplePattern = lineStipplePattern_; + return *this; + } + + + operator VkPipelineRasterizationLineStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationLineStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationLineStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineRasterizationLineStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( lineRasterizationMode == rhs.lineRasterizationMode ) + && ( stippledLineEnable == rhs.stippledLineEnable ) + && ( lineStippleFactor == rhs.lineStippleFactor ) + && ( lineStipplePattern == rhs.lineStipplePattern ); + } + + bool operator!=( PipelineRasterizationLineStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationLineStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT lineRasterizationMode = VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT::eDefault; + VULKAN_HPP_NAMESPACE::Bool32 stippledLineEnable = {}; + uint32_t lineStippleFactor = {}; + uint16_t lineStipplePattern = {}; + + }; + static_assert( sizeof( PipelineRasterizationLineStateCreateInfoEXT ) == sizeof( VkPipelineRasterizationLineStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationLineStateCreateInfoEXT; + }; + + struct PipelineRasterizationStateRasterizationOrderAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationStateRasterizationOrderAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateRasterizationOrderAMD(VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder_ = VULKAN_HPP_NAMESPACE::RasterizationOrderAMD::eStrict) VULKAN_HPP_NOEXCEPT + : rasterizationOrder( rasterizationOrder_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateRasterizationOrderAMD( PipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationStateRasterizationOrderAMD( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationStateRasterizationOrderAMD & operator=( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationStateRasterizationOrderAMD & operator=( PipelineRasterizationStateRasterizationOrderAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationStateRasterizationOrderAMD ) ); + return *this; + } + + PipelineRasterizationStateRasterizationOrderAMD & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationStateRasterizationOrderAMD & setRasterizationOrder( VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder_ ) VULKAN_HPP_NOEXCEPT + { + rasterizationOrder = rasterizationOrder_; + return *this; + } + + + operator VkPipelineRasterizationStateRasterizationOrderAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationStateRasterizationOrderAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationStateRasterizationOrderAMD const& ) const = default; +#else + bool operator==( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( rasterizationOrder == rhs.rasterizationOrder ); + } + + bool operator!=( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateRasterizationOrderAMD; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::RasterizationOrderAMD rasterizationOrder = VULKAN_HPP_NAMESPACE::RasterizationOrderAMD::eStrict; + + }; + static_assert( sizeof( PipelineRasterizationStateRasterizationOrderAMD ) == sizeof( VkPipelineRasterizationStateRasterizationOrderAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationStateRasterizationOrderAMD; + }; + + struct PipelineRasterizationStateStreamCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRasterizationStateStreamCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateStreamCreateInfoEXT(VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags_ = {}, uint32_t rasterizationStream_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), rasterizationStream( rasterizationStream_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRasterizationStateStreamCreateInfoEXT( PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRasterizationStateStreamCreateInfoEXT( VkPipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRasterizationStateStreamCreateInfoEXT & operator=( VkPipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRasterizationStateStreamCreateInfoEXT & operator=( PipelineRasterizationStateStreamCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRasterizationStateStreamCreateInfoEXT ) ); + return *this; + } + + PipelineRasterizationStateStreamCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRasterizationStateStreamCreateInfoEXT & setFlags( VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineRasterizationStateStreamCreateInfoEXT & setRasterizationStream( uint32_t rasterizationStream_ ) VULKAN_HPP_NOEXCEPT + { + rasterizationStream = rasterizationStream_; + return *this; + } + + + operator VkPipelineRasterizationStateStreamCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRasterizationStateStreamCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRasterizationStateStreamCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineRasterizationStateStreamCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( rasterizationStream == rhs.rasterizationStream ); + } + + bool operator!=( PipelineRasterizationStateStreamCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRasterizationStateStreamCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineRasterizationStateStreamCreateFlagsEXT flags = {}; + uint32_t rasterizationStream = {}; + + }; + static_assert( sizeof( PipelineRasterizationStateStreamCreateInfoEXT ) == sizeof( VkPipelineRasterizationStateStreamCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRasterizationStateStreamCreateInfoEXT; + }; + + struct PipelineRepresentativeFragmentTestStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineRepresentativeFragmentTestStateCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable_ = {}) VULKAN_HPP_NOEXCEPT + : representativeFragmentTestEnable( representativeFragmentTestEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineRepresentativeFragmentTestStateCreateInfoNV( PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineRepresentativeFragmentTestStateCreateInfoNV( VkPipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineRepresentativeFragmentTestStateCreateInfoNV & operator=( VkPipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineRepresentativeFragmentTestStateCreateInfoNV & operator=( PipelineRepresentativeFragmentTestStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineRepresentativeFragmentTestStateCreateInfoNV ) ); + return *this; + } + + PipelineRepresentativeFragmentTestStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineRepresentativeFragmentTestStateCreateInfoNV & setRepresentativeFragmentTestEnable( VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable_ ) VULKAN_HPP_NOEXCEPT + { + representativeFragmentTestEnable = representativeFragmentTestEnable_; + return *this; + } + + + operator VkPipelineRepresentativeFragmentTestStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineRepresentativeFragmentTestStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineRepresentativeFragmentTestStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineRepresentativeFragmentTestStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( representativeFragmentTestEnable == rhs.representativeFragmentTestEnable ); + } + + bool operator!=( PipelineRepresentativeFragmentTestStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineRepresentativeFragmentTestStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 representativeFragmentTestEnable = {}; + + }; + static_assert( sizeof( PipelineRepresentativeFragmentTestStateCreateInfoNV ) == sizeof( VkPipelineRepresentativeFragmentTestStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineRepresentativeFragmentTestStateCreateInfoNV; + }; + + struct PipelineSampleLocationsStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineSampleLocationsStateCreateInfoEXT(VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable_ = {}, VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {}) VULKAN_HPP_NOEXCEPT + : sampleLocationsEnable( sampleLocationsEnable_ ), sampleLocationsInfo( sampleLocationsInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineSampleLocationsStateCreateInfoEXT( PipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineSampleLocationsStateCreateInfoEXT( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineSampleLocationsStateCreateInfoEXT & operator=( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineSampleLocationsStateCreateInfoEXT & operator=( PipelineSampleLocationsStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) ); + return *this; + } + + PipelineSampleLocationsStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineSampleLocationsStateCreateInfoEXT & setSampleLocationsEnable( VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsEnable = sampleLocationsEnable_; + return *this; + } + + PipelineSampleLocationsStateCreateInfoEXT & setSampleLocationsInfo( VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsInfo = sampleLocationsInfo_; + return *this; + } + + + operator VkPipelineSampleLocationsStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineSampleLocationsStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineSampleLocationsStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sampleLocationsEnable == rhs.sampleLocationsEnable ) + && ( sampleLocationsInfo == rhs.sampleLocationsInfo ); + } + + bool operator!=( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 sampleLocationsEnable = {}; + VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; + + }; + static_assert( sizeof( PipelineSampleLocationsStateCreateInfoEXT ) == sizeof( VkPipelineSampleLocationsStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineSampleLocationsStateCreateInfoEXT; + }; + + struct PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT(uint32_t requiredSubgroupSize_ = {}) VULKAN_HPP_NOEXCEPT + : requiredSubgroupSize( requiredSubgroupSize_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT( VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT & operator=( VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT & operator=( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT ) ); + return *this; + } + + + operator VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( requiredSubgroupSize == rhs.requiredSubgroupSize ); + } + + bool operator!=( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; + void* pNext = {}; + uint32_t requiredSubgroupSize = {}; + + }; + static_assert( sizeof( PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT ) == sizeof( VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT; + }; + + struct PipelineTessellationDomainOriginStateCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineTessellationDomainOriginStateCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineTessellationDomainOriginStateCreateInfo(VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin_ = VULKAN_HPP_NAMESPACE::TessellationDomainOrigin::eUpperLeft) VULKAN_HPP_NOEXCEPT + : domainOrigin( domainOrigin_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineTessellationDomainOriginStateCreateInfo( PipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineTessellationDomainOriginStateCreateInfo( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineTessellationDomainOriginStateCreateInfo & operator=( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineTessellationDomainOriginStateCreateInfo & operator=( PipelineTessellationDomainOriginStateCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineTessellationDomainOriginStateCreateInfo ) ); + return *this; + } + + PipelineTessellationDomainOriginStateCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineTessellationDomainOriginStateCreateInfo & setDomainOrigin( VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin_ ) VULKAN_HPP_NOEXCEPT + { + domainOrigin = domainOrigin_; + return *this; + } + + + operator VkPipelineTessellationDomainOriginStateCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineTessellationDomainOriginStateCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineTessellationDomainOriginStateCreateInfo const& ) const = default; +#else + bool operator==( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( domainOrigin == rhs.domainOrigin ); + } + + bool operator!=( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineTessellationDomainOriginStateCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::TessellationDomainOrigin domainOrigin = VULKAN_HPP_NAMESPACE::TessellationDomainOrigin::eUpperLeft; + + }; + static_assert( sizeof( PipelineTessellationDomainOriginStateCreateInfo ) == sizeof( VkPipelineTessellationDomainOriginStateCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineTessellationDomainOriginStateCreateInfo; + }; + using PipelineTessellationDomainOriginStateCreateInfoKHR = PipelineTessellationDomainOriginStateCreateInfo; + + struct VertexInputBindingDivisorDescriptionEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR VertexInputBindingDivisorDescriptionEXT(uint32_t binding_ = {}, uint32_t divisor_ = {}) VULKAN_HPP_NOEXCEPT + : binding( binding_ ), divisor( divisor_ ) + {} + + VULKAN_HPP_CONSTEXPR VertexInputBindingDivisorDescriptionEXT( VertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + VertexInputBindingDivisorDescriptionEXT( VkVertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + VertexInputBindingDivisorDescriptionEXT & operator=( VkVertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + VertexInputBindingDivisorDescriptionEXT & operator=( VertexInputBindingDivisorDescriptionEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( VertexInputBindingDivisorDescriptionEXT ) ); + return *this; + } + + VertexInputBindingDivisorDescriptionEXT & setBinding( uint32_t binding_ ) VULKAN_HPP_NOEXCEPT + { + binding = binding_; + return *this; + } + + VertexInputBindingDivisorDescriptionEXT & setDivisor( uint32_t divisor_ ) VULKAN_HPP_NOEXCEPT + { + divisor = divisor_; + return *this; + } + + + operator VkVertexInputBindingDivisorDescriptionEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkVertexInputBindingDivisorDescriptionEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( VertexInputBindingDivisorDescriptionEXT const& ) const = default; +#else + bool operator==( VertexInputBindingDivisorDescriptionEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( binding == rhs.binding ) + && ( divisor == rhs.divisor ); + } + + bool operator!=( VertexInputBindingDivisorDescriptionEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t binding = {}; + uint32_t divisor = {}; + + }; + static_assert( sizeof( VertexInputBindingDivisorDescriptionEXT ) == sizeof( VkVertexInputBindingDivisorDescriptionEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineVertexInputDivisorStateCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineVertexInputDivisorStateCreateInfoEXT(uint32_t vertexBindingDivisorCount_ = {}, const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ = {}) VULKAN_HPP_NOEXCEPT + : vertexBindingDivisorCount( vertexBindingDivisorCount_ ), pVertexBindingDivisors( pVertexBindingDivisors_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineVertexInputDivisorStateCreateInfoEXT( PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineVertexInputDivisorStateCreateInfoEXT( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineVertexInputDivisorStateCreateInfoEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexBindingDivisors_ ) + : vertexBindingDivisorCount( static_cast( vertexBindingDivisors_.size() ) ), pVertexBindingDivisors( vertexBindingDivisors_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineVertexInputDivisorStateCreateInfoEXT & operator=( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineVertexInputDivisorStateCreateInfoEXT & operator=( PipelineVertexInputDivisorStateCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) ); + return *this; + } + + PipelineVertexInputDivisorStateCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineVertexInputDivisorStateCreateInfoEXT & setVertexBindingDivisorCount( uint32_t vertexBindingDivisorCount_ ) VULKAN_HPP_NOEXCEPT + { + vertexBindingDivisorCount = vertexBindingDivisorCount_; + return *this; + } + + PipelineVertexInputDivisorStateCreateInfoEXT & setPVertexBindingDivisors( const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ ) VULKAN_HPP_NOEXCEPT + { + pVertexBindingDivisors = pVertexBindingDivisors_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineVertexInputDivisorStateCreateInfoEXT & setVertexBindingDivisors( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & vertexBindingDivisors_ ) VULKAN_HPP_NOEXCEPT + { + vertexBindingDivisorCount = static_cast( vertexBindingDivisors_.size() ); + pVertexBindingDivisors = vertexBindingDivisors_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineVertexInputDivisorStateCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineVertexInputDivisorStateCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineVertexInputDivisorStateCreateInfoEXT const& ) const = default; +#else + bool operator==( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( vertexBindingDivisorCount == rhs.vertexBindingDivisorCount ) + && ( pVertexBindingDivisors == rhs.pVertexBindingDivisors ); + } + + bool operator!=( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT; + const void* pNext = {}; + uint32_t vertexBindingDivisorCount = {}; + const VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors = {}; + + }; + static_assert( sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) == sizeof( VkPipelineVertexInputDivisorStateCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineVertexInputDivisorStateCreateInfoEXT; + }; + + struct PipelineViewportCoarseSampleOrderStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportCoarseSampleOrderStateCreateInfoNV(VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_ = VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV::eDefault, uint32_t customSampleOrderCount_ = {}, const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV* pCustomSampleOrders_ = {}) VULKAN_HPP_NOEXCEPT + : sampleOrderType( sampleOrderType_ ), customSampleOrderCount( customSampleOrderCount_ ), pCustomSampleOrders( pCustomSampleOrders_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportCoarseSampleOrderStateCreateInfoNV( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportCoarseSampleOrderStateCreateInfoNV( VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportCoarseSampleOrderStateCreateInfoNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & customSampleOrders_ ) + : sampleOrderType( sampleOrderType_ ), customSampleOrderCount( static_cast( customSampleOrders_.size() ) ), pCustomSampleOrders( customSampleOrders_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & operator=( VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & operator=( PipelineViewportCoarseSampleOrderStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportCoarseSampleOrderStateCreateInfoNV ) ); + return *this; + } + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & setSampleOrderType( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType_ ) VULKAN_HPP_NOEXCEPT + { + sampleOrderType = sampleOrderType_; + return *this; + } + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & setCustomSampleOrderCount( uint32_t customSampleOrderCount_ ) VULKAN_HPP_NOEXCEPT + { + customSampleOrderCount = customSampleOrderCount_; + return *this; + } + + PipelineViewportCoarseSampleOrderStateCreateInfoNV & setPCustomSampleOrders( const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV* pCustomSampleOrders_ ) VULKAN_HPP_NOEXCEPT + { + pCustomSampleOrders = pCustomSampleOrders_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportCoarseSampleOrderStateCreateInfoNV & setCustomSampleOrders( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & customSampleOrders_ ) VULKAN_HPP_NOEXCEPT + { + customSampleOrderCount = static_cast( customSampleOrders_.size() ); + pCustomSampleOrders = customSampleOrders_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportCoarseSampleOrderStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportCoarseSampleOrderStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportCoarseSampleOrderStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineViewportCoarseSampleOrderStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sampleOrderType == rhs.sampleOrderType ) + && ( customSampleOrderCount == rhs.customSampleOrderCount ) + && ( pCustomSampleOrders == rhs.pCustomSampleOrders ); + } + + bool operator!=( PipelineViewportCoarseSampleOrderStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportCoarseSampleOrderStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType = VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV::eDefault; + uint32_t customSampleOrderCount = {}; + const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV* pCustomSampleOrders = {}; + + }; + static_assert( sizeof( PipelineViewportCoarseSampleOrderStateCreateInfoNV ) == sizeof( VkPipelineViewportCoarseSampleOrderStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportCoarseSampleOrderStateCreateInfoNV; + }; + + struct PipelineViewportExclusiveScissorStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportExclusiveScissorStateCreateInfoNV(uint32_t exclusiveScissorCount_ = {}, const VULKAN_HPP_NAMESPACE::Rect2D* pExclusiveScissors_ = {}) VULKAN_HPP_NOEXCEPT + : exclusiveScissorCount( exclusiveScissorCount_ ), pExclusiveScissors( pExclusiveScissors_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportExclusiveScissorStateCreateInfoNV( PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportExclusiveScissorStateCreateInfoNV( VkPipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportExclusiveScissorStateCreateInfoNV( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & exclusiveScissors_ ) + : exclusiveScissorCount( static_cast( exclusiveScissors_.size() ) ), pExclusiveScissors( exclusiveScissors_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportExclusiveScissorStateCreateInfoNV & operator=( VkPipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportExclusiveScissorStateCreateInfoNV & operator=( PipelineViewportExclusiveScissorStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportExclusiveScissorStateCreateInfoNV ) ); + return *this; + } + + PipelineViewportExclusiveScissorStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportExclusiveScissorStateCreateInfoNV & setExclusiveScissorCount( uint32_t exclusiveScissorCount_ ) VULKAN_HPP_NOEXCEPT + { + exclusiveScissorCount = exclusiveScissorCount_; + return *this; + } + + PipelineViewportExclusiveScissorStateCreateInfoNV & setPExclusiveScissors( const VULKAN_HPP_NAMESPACE::Rect2D* pExclusiveScissors_ ) VULKAN_HPP_NOEXCEPT + { + pExclusiveScissors = pExclusiveScissors_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportExclusiveScissorStateCreateInfoNV & setExclusiveScissors( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & exclusiveScissors_ ) VULKAN_HPP_NOEXCEPT + { + exclusiveScissorCount = static_cast( exclusiveScissors_.size() ); + pExclusiveScissors = exclusiveScissors_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportExclusiveScissorStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportExclusiveScissorStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportExclusiveScissorStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineViewportExclusiveScissorStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( exclusiveScissorCount == rhs.exclusiveScissorCount ) + && ( pExclusiveScissors == rhs.pExclusiveScissors ); + } + + bool operator!=( PipelineViewportExclusiveScissorStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportExclusiveScissorStateCreateInfoNV; + const void* pNext = {}; + uint32_t exclusiveScissorCount = {}; + const VULKAN_HPP_NAMESPACE::Rect2D* pExclusiveScissors = {}; + + }; + static_assert( sizeof( PipelineViewportExclusiveScissorStateCreateInfoNV ) == sizeof( VkPipelineViewportExclusiveScissorStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportExclusiveScissorStateCreateInfoNV; + }; + + struct PipelineViewportShadingRateImageStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportShadingRateImageStateCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_ = {}, uint32_t viewportCount_ = {}, const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV* pShadingRatePalettes_ = {}) VULKAN_HPP_NOEXCEPT + : shadingRateImageEnable( shadingRateImageEnable_ ), viewportCount( viewportCount_ ), pShadingRatePalettes( pShadingRatePalettes_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportShadingRateImageStateCreateInfoNV( PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportShadingRateImageStateCreateInfoNV( VkPipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportShadingRateImageStateCreateInfoNV( VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & shadingRatePalettes_ ) + : shadingRateImageEnable( shadingRateImageEnable_ ), viewportCount( static_cast( shadingRatePalettes_.size() ) ), pShadingRatePalettes( shadingRatePalettes_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportShadingRateImageStateCreateInfoNV & operator=( VkPipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportShadingRateImageStateCreateInfoNV & operator=( PipelineViewportShadingRateImageStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportShadingRateImageStateCreateInfoNV ) ); + return *this; + } + + PipelineViewportShadingRateImageStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportShadingRateImageStateCreateInfoNV & setShadingRateImageEnable( VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable_ ) VULKAN_HPP_NOEXCEPT + { + shadingRateImageEnable = shadingRateImageEnable_; + return *this; + } + + PipelineViewportShadingRateImageStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = viewportCount_; + return *this; + } + + PipelineViewportShadingRateImageStateCreateInfoNV & setPShadingRatePalettes( const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV* pShadingRatePalettes_ ) VULKAN_HPP_NOEXCEPT + { + pShadingRatePalettes = pShadingRatePalettes_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportShadingRateImageStateCreateInfoNV & setShadingRatePalettes( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & shadingRatePalettes_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = static_cast( shadingRatePalettes_.size() ); + pShadingRatePalettes = shadingRatePalettes_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportShadingRateImageStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportShadingRateImageStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportShadingRateImageStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineViewportShadingRateImageStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( shadingRateImageEnable == rhs.shadingRateImageEnable ) + && ( viewportCount == rhs.viewportCount ) + && ( pShadingRatePalettes == rhs.pShadingRatePalettes ); + } + + bool operator!=( PipelineViewportShadingRateImageStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportShadingRateImageStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 shadingRateImageEnable = {}; + uint32_t viewportCount = {}; + const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV* pShadingRatePalettes = {}; + + }; + static_assert( sizeof( PipelineViewportShadingRateImageStateCreateInfoNV ) == sizeof( VkPipelineViewportShadingRateImageStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportShadingRateImageStateCreateInfoNV; + }; + + struct ViewportSwizzleNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ViewportSwizzleNV(VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x_ = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y_ = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z_ = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX, VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w_ = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX) VULKAN_HPP_NOEXCEPT + : x( x_ ), y( y_ ), z( z_ ), w( w_ ) + {} + + VULKAN_HPP_CONSTEXPR ViewportSwizzleNV( ViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ViewportSwizzleNV( VkViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ViewportSwizzleNV & operator=( VkViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ViewportSwizzleNV & operator=( ViewportSwizzleNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ViewportSwizzleNV ) ); + return *this; + } + + ViewportSwizzleNV & setX( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x_ ) VULKAN_HPP_NOEXCEPT + { + x = x_; + return *this; + } + + ViewportSwizzleNV & setY( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y_ ) VULKAN_HPP_NOEXCEPT + { + y = y_; + return *this; + } + + ViewportSwizzleNV & setZ( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z_ ) VULKAN_HPP_NOEXCEPT + { + z = z_; + return *this; + } + + ViewportSwizzleNV & setW( VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w_ ) VULKAN_HPP_NOEXCEPT + { + w = w_; + return *this; + } + + + operator VkViewportSwizzleNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkViewportSwizzleNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ViewportSwizzleNV const& ) const = default; +#else + bool operator==( ViewportSwizzleNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( x == rhs.x ) + && ( y == rhs.y ) + && ( z == rhs.z ) + && ( w == rhs.w ); + } + + bool operator!=( ViewportSwizzleNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV x = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; + VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV y = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; + VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV z = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; + VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV w = VULKAN_HPP_NAMESPACE::ViewportCoordinateSwizzleNV::ePositiveX; + + }; + static_assert( sizeof( ViewportSwizzleNV ) == sizeof( VkViewportSwizzleNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PipelineViewportSwizzleStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportSwizzleStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportSwizzleStateCreateInfoNV(VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_ = {}, uint32_t viewportCount_ = {}, const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV* pViewportSwizzles_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), viewportCount( viewportCount_ ), pViewportSwizzles( pViewportSwizzles_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportSwizzleStateCreateInfoNV( PipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportSwizzleStateCreateInfoNV( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportSwizzleStateCreateInfoNV( VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewportSwizzles_ ) + : flags( flags_ ), viewportCount( static_cast( viewportSwizzles_.size() ) ), pViewportSwizzles( viewportSwizzles_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportSwizzleStateCreateInfoNV & operator=( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportSwizzleStateCreateInfoNV & operator=( PipelineViewportSwizzleStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportSwizzleStateCreateInfoNV ) ); + return *this; + } + + PipelineViewportSwizzleStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportSwizzleStateCreateInfoNV & setFlags( VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + PipelineViewportSwizzleStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = viewportCount_; + return *this; + } + + PipelineViewportSwizzleStateCreateInfoNV & setPViewportSwizzles( const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV* pViewportSwizzles_ ) VULKAN_HPP_NOEXCEPT + { + pViewportSwizzles = pViewportSwizzles_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportSwizzleStateCreateInfoNV & setViewportSwizzles( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewportSwizzles_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = static_cast( viewportSwizzles_.size() ); + pViewportSwizzles = viewportSwizzles_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportSwizzleStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportSwizzleStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportSwizzleStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( viewportCount == rhs.viewportCount ) + && ( pViewportSwizzles == rhs.pViewportSwizzles ); + } + + bool operator!=( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportSwizzleStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineViewportSwizzleStateCreateFlagsNV flags = {}; + uint32_t viewportCount = {}; + const VULKAN_HPP_NAMESPACE::ViewportSwizzleNV* pViewportSwizzles = {}; + + }; + static_assert( sizeof( PipelineViewportSwizzleStateCreateInfoNV ) == sizeof( VkPipelineViewportSwizzleStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportSwizzleStateCreateInfoNV; + }; + + struct PipelineViewportWScalingStateCreateInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePipelineViewportWScalingStateCreateInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PipelineViewportWScalingStateCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_ = {}, uint32_t viewportCount_ = {}, const VULKAN_HPP_NAMESPACE::ViewportWScalingNV* pViewportWScalings_ = {}) VULKAN_HPP_NOEXCEPT + : viewportWScalingEnable( viewportWScalingEnable_ ), viewportCount( viewportCount_ ), pViewportWScalings( pViewportWScalings_ ) + {} + + VULKAN_HPP_CONSTEXPR PipelineViewportWScalingStateCreateInfoNV( PipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PipelineViewportWScalingStateCreateInfoNV( VkPipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportWScalingStateCreateInfoNV( VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewportWScalings_ ) + : viewportWScalingEnable( viewportWScalingEnable_ ), viewportCount( static_cast( viewportWScalings_.size() ) ), pViewportWScalings( viewportWScalings_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PipelineViewportWScalingStateCreateInfoNV & operator=( VkPipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PipelineViewportWScalingStateCreateInfoNV & operator=( PipelineViewportWScalingStateCreateInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PipelineViewportWScalingStateCreateInfoNV ) ); + return *this; + } + + PipelineViewportWScalingStateCreateInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PipelineViewportWScalingStateCreateInfoNV & setViewportWScalingEnable( VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable_ ) VULKAN_HPP_NOEXCEPT + { + viewportWScalingEnable = viewportWScalingEnable_; + return *this; + } + + PipelineViewportWScalingStateCreateInfoNV & setViewportCount( uint32_t viewportCount_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = viewportCount_; + return *this; + } + + PipelineViewportWScalingStateCreateInfoNV & setPViewportWScalings( const VULKAN_HPP_NAMESPACE::ViewportWScalingNV* pViewportWScalings_ ) VULKAN_HPP_NOEXCEPT + { + pViewportWScalings = pViewportWScalings_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PipelineViewportWScalingStateCreateInfoNV & setViewportWScalings( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewportWScalings_ ) VULKAN_HPP_NOEXCEPT + { + viewportCount = static_cast( viewportWScalings_.size() ); + pViewportWScalings = viewportWScalings_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPipelineViewportWScalingStateCreateInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPipelineViewportWScalingStateCreateInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PipelineViewportWScalingStateCreateInfoNV const& ) const = default; +#else + bool operator==( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( viewportWScalingEnable == rhs.viewportWScalingEnable ) + && ( viewportCount == rhs.viewportCount ) + && ( pViewportWScalings == rhs.pViewportWScalings ); + } + + bool operator!=( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePipelineViewportWScalingStateCreateInfoNV; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 viewportWScalingEnable = {}; + uint32_t viewportCount = {}; + const VULKAN_HPP_NAMESPACE::ViewportWScalingNV* pViewportWScalings = {}; + + }; + static_assert( sizeof( PipelineViewportWScalingStateCreateInfoNV ) == sizeof( VkPipelineViewportWScalingStateCreateInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PipelineViewportWScalingStateCreateInfoNV; + }; + +#ifdef VK_USE_PLATFORM_GGP + struct PresentFrameTokenGGP + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentFrameTokenGGP; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentFrameTokenGGP(GgpFrameToken frameToken_ = {}) VULKAN_HPP_NOEXCEPT + : frameToken( frameToken_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentFrameTokenGGP( PresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentFrameTokenGGP( VkPresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentFrameTokenGGP & operator=( VkPresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentFrameTokenGGP & operator=( PresentFrameTokenGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentFrameTokenGGP ) ); + return *this; + } + + PresentFrameTokenGGP & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PresentFrameTokenGGP & setFrameToken( GgpFrameToken frameToken_ ) VULKAN_HPP_NOEXCEPT + { + frameToken = frameToken_; + return *this; + } + + + operator VkPresentFrameTokenGGP const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentFrameTokenGGP &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentFrameTokenGGP const& ) const = default; +#else + bool operator==( PresentFrameTokenGGP const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( memcmp( &frameToken, &rhs.frameToken, sizeof( GgpFrameToken ) ) == 0 ); + } + + bool operator!=( PresentFrameTokenGGP const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentFrameTokenGGP; + const void* pNext = {}; + GgpFrameToken frameToken = {}; + + }; + static_assert( sizeof( PresentFrameTokenGGP ) == sizeof( VkPresentFrameTokenGGP ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PresentFrameTokenGGP; + }; +#endif /*VK_USE_PLATFORM_GGP*/ + + struct RectLayerKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RectLayerKHR(VULKAN_HPP_NAMESPACE::Offset2D offset_ = {}, VULKAN_HPP_NAMESPACE::Extent2D extent_ = {}, uint32_t layer_ = {}) VULKAN_HPP_NOEXCEPT + : offset( offset_ ), extent( extent_ ), layer( layer_ ) + {} + + VULKAN_HPP_CONSTEXPR RectLayerKHR( RectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RectLayerKHR( VkRectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + + explicit RectLayerKHR( Rect2D const& rect2D, uint32_t layer_ = {} ) + : offset( rect2D.offset ) + , extent( rect2D.extent ) + , layer( layer_ ) + {} +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RectLayerKHR & operator=( VkRectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RectLayerKHR & operator=( RectLayerKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RectLayerKHR ) ); + return *this; + } + + RectLayerKHR & setOffset( VULKAN_HPP_NAMESPACE::Offset2D const & offset_ ) VULKAN_HPP_NOEXCEPT + { + offset = offset_; + return *this; + } + + RectLayerKHR & setExtent( VULKAN_HPP_NAMESPACE::Extent2D const & extent_ ) VULKAN_HPP_NOEXCEPT + { + extent = extent_; + return *this; + } + + RectLayerKHR & setLayer( uint32_t layer_ ) VULKAN_HPP_NOEXCEPT + { + layer = layer_; + return *this; + } + + + operator VkRectLayerKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRectLayerKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RectLayerKHR const& ) const = default; +#else + bool operator==( RectLayerKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( offset == rhs.offset ) + && ( extent == rhs.extent ) + && ( layer == rhs.layer ); + } + + bool operator!=( RectLayerKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::Offset2D offset = {}; + VULKAN_HPP_NAMESPACE::Extent2D extent = {}; + uint32_t layer = {}; + + }; + static_assert( sizeof( RectLayerKHR ) == sizeof( VkRectLayerKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PresentRegionKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentRegionKHR(uint32_t rectangleCount_ = {}, const VULKAN_HPP_NAMESPACE::RectLayerKHR* pRectangles_ = {}) VULKAN_HPP_NOEXCEPT + : rectangleCount( rectangleCount_ ), pRectangles( pRectangles_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentRegionKHR( PresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentRegionKHR( VkPresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentRegionKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & rectangles_ ) + : rectangleCount( static_cast( rectangles_.size() ) ), pRectangles( rectangles_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentRegionKHR & operator=( VkPresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentRegionKHR & operator=( PresentRegionKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentRegionKHR ) ); + return *this; + } + + PresentRegionKHR & setRectangleCount( uint32_t rectangleCount_ ) VULKAN_HPP_NOEXCEPT + { + rectangleCount = rectangleCount_; + return *this; + } + + PresentRegionKHR & setPRectangles( const VULKAN_HPP_NAMESPACE::RectLayerKHR* pRectangles_ ) VULKAN_HPP_NOEXCEPT + { + pRectangles = pRectangles_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentRegionKHR & setRectangles( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & rectangles_ ) VULKAN_HPP_NOEXCEPT + { + rectangleCount = static_cast( rectangles_.size() ); + pRectangles = rectangles_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPresentRegionKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentRegionKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentRegionKHR const& ) const = default; +#else + bool operator==( PresentRegionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( rectangleCount == rhs.rectangleCount ) + && ( pRectangles == rhs.pRectangles ); + } + + bool operator!=( PresentRegionKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t rectangleCount = {}; + const VULKAN_HPP_NAMESPACE::RectLayerKHR* pRectangles = {}; + + }; + static_assert( sizeof( PresentRegionKHR ) == sizeof( VkPresentRegionKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PresentRegionsKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentRegionsKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentRegionsKHR(uint32_t swapchainCount_ = {}, const VULKAN_HPP_NAMESPACE::PresentRegionKHR* pRegions_ = {}) VULKAN_HPP_NOEXCEPT + : swapchainCount( swapchainCount_ ), pRegions( pRegions_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentRegionsKHR( PresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentRegionsKHR( VkPresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentRegionsKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) + : swapchainCount( static_cast( regions_.size() ) ), pRegions( regions_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentRegionsKHR & operator=( VkPresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentRegionsKHR & operator=( PresentRegionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentRegionsKHR ) ); + return *this; + } + + PresentRegionsKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PresentRegionsKHR & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = swapchainCount_; + return *this; + } + + PresentRegionsKHR & setPRegions( const VULKAN_HPP_NAMESPACE::PresentRegionKHR* pRegions_ ) VULKAN_HPP_NOEXCEPT + { + pRegions = pRegions_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentRegionsKHR & setRegions( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & regions_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( regions_.size() ); + pRegions = regions_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPresentRegionsKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentRegionsKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentRegionsKHR const& ) const = default; +#else + bool operator==( PresentRegionsKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchainCount == rhs.swapchainCount ) + && ( pRegions == rhs.pRegions ); + } + + bool operator!=( PresentRegionsKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentRegionsKHR; + const void* pNext = {}; + uint32_t swapchainCount = {}; + const VULKAN_HPP_NAMESPACE::PresentRegionKHR* pRegions = {}; + + }; + static_assert( sizeof( PresentRegionsKHR ) == sizeof( VkPresentRegionsKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PresentRegionsKHR; + }; + + struct PresentTimeGOOGLE + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentTimeGOOGLE(uint32_t presentID_ = {}, uint64_t desiredPresentTime_ = {}) VULKAN_HPP_NOEXCEPT + : presentID( presentID_ ), desiredPresentTime( desiredPresentTime_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentTimeGOOGLE( PresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentTimeGOOGLE( VkPresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentTimeGOOGLE & operator=( VkPresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentTimeGOOGLE & operator=( PresentTimeGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentTimeGOOGLE ) ); + return *this; + } + + PresentTimeGOOGLE & setPresentID( uint32_t presentID_ ) VULKAN_HPP_NOEXCEPT + { + presentID = presentID_; + return *this; + } + + PresentTimeGOOGLE & setDesiredPresentTime( uint64_t desiredPresentTime_ ) VULKAN_HPP_NOEXCEPT + { + desiredPresentTime = desiredPresentTime_; + return *this; + } + + + operator VkPresentTimeGOOGLE const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentTimeGOOGLE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentTimeGOOGLE const& ) const = default; +#else + bool operator==( PresentTimeGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( presentID == rhs.presentID ) + && ( desiredPresentTime == rhs.desiredPresentTime ); + } + + bool operator!=( PresentTimeGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t presentID = {}; + uint64_t desiredPresentTime = {}; + + }; + static_assert( sizeof( PresentTimeGOOGLE ) == sizeof( VkPresentTimeGOOGLE ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct PresentTimesInfoGOOGLE + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePresentTimesInfoGOOGLE; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PresentTimesInfoGOOGLE(uint32_t swapchainCount_ = {}, const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE* pTimes_ = {}) VULKAN_HPP_NOEXCEPT + : swapchainCount( swapchainCount_ ), pTimes( pTimes_ ) + {} + + VULKAN_HPP_CONSTEXPR PresentTimesInfoGOOGLE( PresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PresentTimesInfoGOOGLE( VkPresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentTimesInfoGOOGLE( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & times_ ) + : swapchainCount( static_cast( times_.size() ) ), pTimes( times_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + PresentTimesInfoGOOGLE & operator=( VkPresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + PresentTimesInfoGOOGLE & operator=( PresentTimesInfoGOOGLE const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( PresentTimesInfoGOOGLE ) ); + return *this; + } + + PresentTimesInfoGOOGLE & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + PresentTimesInfoGOOGLE & setSwapchainCount( uint32_t swapchainCount_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = swapchainCount_; + return *this; + } + + PresentTimesInfoGOOGLE & setPTimes( const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE* pTimes_ ) VULKAN_HPP_NOEXCEPT + { + pTimes = pTimes_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + PresentTimesInfoGOOGLE & setTimes( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & times_ ) VULKAN_HPP_NOEXCEPT + { + swapchainCount = static_cast( times_.size() ); + pTimes = times_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkPresentTimesInfoGOOGLE const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPresentTimesInfoGOOGLE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( PresentTimesInfoGOOGLE const& ) const = default; +#else + bool operator==( PresentTimesInfoGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( swapchainCount == rhs.swapchainCount ) + && ( pTimes == rhs.pTimes ); + } + + bool operator!=( PresentTimesInfoGOOGLE const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePresentTimesInfoGOOGLE; + const void* pNext = {}; + uint32_t swapchainCount = {}; + const VULKAN_HPP_NAMESPACE::PresentTimeGOOGLE* pTimes = {}; + + }; + static_assert( sizeof( PresentTimesInfoGOOGLE ) == sizeof( VkPresentTimesInfoGOOGLE ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = PresentTimesInfoGOOGLE; + }; + + struct ProtectedSubmitInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eProtectedSubmitInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ProtectedSubmitInfo(VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit_ = {}) VULKAN_HPP_NOEXCEPT + : protectedSubmit( protectedSubmit_ ) + {} + + VULKAN_HPP_CONSTEXPR ProtectedSubmitInfo( ProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ProtectedSubmitInfo( VkProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ProtectedSubmitInfo & operator=( VkProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ProtectedSubmitInfo & operator=( ProtectedSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ProtectedSubmitInfo ) ); + return *this; + } + + ProtectedSubmitInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ProtectedSubmitInfo & setProtectedSubmit( VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit_ ) VULKAN_HPP_NOEXCEPT + { + protectedSubmit = protectedSubmit_; + return *this; + } + + + operator VkProtectedSubmitInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkProtectedSubmitInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ProtectedSubmitInfo const& ) const = default; +#else + bool operator==( ProtectedSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( protectedSubmit == rhs.protectedSubmit ); + } + + bool operator!=( ProtectedSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eProtectedSubmitInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 protectedSubmit = {}; + + }; + static_assert( sizeof( ProtectedSubmitInfo ) == sizeof( VkProtectedSubmitInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ProtectedSubmitInfo; + }; + + struct QueryPoolPerformanceQueryCreateInfoINTEL + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueryPoolPerformanceQueryCreateInfoINTEL(VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling_ = VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL::eManual) VULKAN_HPP_NOEXCEPT + : performanceCountersSampling( performanceCountersSampling_ ) + {} + + VULKAN_HPP_CONSTEXPR QueryPoolPerformanceQueryCreateInfoINTEL( QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueryPoolPerformanceQueryCreateInfoINTEL( VkQueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueryPoolPerformanceQueryCreateInfoINTEL & operator=( VkQueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueryPoolPerformanceQueryCreateInfoINTEL & operator=( QueryPoolPerformanceQueryCreateInfoINTEL const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueryPoolPerformanceQueryCreateInfoINTEL ) ); + return *this; + } + + QueryPoolPerformanceQueryCreateInfoINTEL & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + QueryPoolPerformanceQueryCreateInfoINTEL & setPerformanceCountersSampling( VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling_ ) VULKAN_HPP_NOEXCEPT + { + performanceCountersSampling = performanceCountersSampling_; + return *this; + } + + + operator VkQueryPoolPerformanceQueryCreateInfoINTEL const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueryPoolPerformanceQueryCreateInfoINTEL &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueryPoolPerformanceQueryCreateInfoINTEL const& ) const = default; +#else + bool operator==( QueryPoolPerformanceQueryCreateInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( performanceCountersSampling == rhs.performanceCountersSampling ); + } + + bool operator!=( QueryPoolPerformanceQueryCreateInfoINTEL const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueryPoolPerformanceQueryCreateInfoINTEL; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL performanceCountersSampling = VULKAN_HPP_NAMESPACE::QueryPoolSamplingModeINTEL::eManual; + + }; + static_assert( sizeof( QueryPoolPerformanceQueryCreateInfoINTEL ) == sizeof( VkQueryPoolPerformanceQueryCreateInfoINTEL ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = QueryPoolPerformanceQueryCreateInfoINTEL; + }; + using QueryPoolCreateInfoINTEL = QueryPoolPerformanceQueryCreateInfoINTEL; + + struct QueueFamilyCheckpointPropertiesNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eQueueFamilyCheckpointPropertiesNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR QueueFamilyCheckpointPropertiesNV(VULKAN_HPP_NAMESPACE::PipelineStageFlags checkpointExecutionStageMask_ = {}) VULKAN_HPP_NOEXCEPT + : checkpointExecutionStageMask( checkpointExecutionStageMask_ ) + {} + + VULKAN_HPP_CONSTEXPR QueueFamilyCheckpointPropertiesNV( QueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + QueueFamilyCheckpointPropertiesNV( VkQueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + QueueFamilyCheckpointPropertiesNV & operator=( VkQueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + QueueFamilyCheckpointPropertiesNV & operator=( QueueFamilyCheckpointPropertiesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( QueueFamilyCheckpointPropertiesNV ) ); + return *this; + } + + + operator VkQueueFamilyCheckpointPropertiesNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkQueueFamilyCheckpointPropertiesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( QueueFamilyCheckpointPropertiesNV const& ) const = default; +#else + bool operator==( QueueFamilyCheckpointPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( checkpointExecutionStageMask == rhs.checkpointExecutionStageMask ); + } + + bool operator!=( QueueFamilyCheckpointPropertiesNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eQueueFamilyCheckpointPropertiesNV; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::PipelineStageFlags checkpointExecutionStageMask = {}; + + }; + static_assert( sizeof( QueueFamilyCheckpointPropertiesNV ) == sizeof( VkQueueFamilyCheckpointPropertiesNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = QueueFamilyCheckpointPropertiesNV; + }; + + struct RenderPassAttachmentBeginInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassAttachmentBeginInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassAttachmentBeginInfo(uint32_t attachmentCount_ = {}, const VULKAN_HPP_NAMESPACE::ImageView* pAttachments_ = {}) VULKAN_HPP_NOEXCEPT + : attachmentCount( attachmentCount_ ), pAttachments( pAttachments_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassAttachmentBeginInfo( RenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassAttachmentBeginInfo( VkRenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassAttachmentBeginInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) + : attachmentCount( static_cast( attachments_.size() ) ), pAttachments( attachments_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassAttachmentBeginInfo & operator=( VkRenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassAttachmentBeginInfo & operator=( RenderPassAttachmentBeginInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassAttachmentBeginInfo ) ); + return *this; + } + + RenderPassAttachmentBeginInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassAttachmentBeginInfo & setAttachmentCount( uint32_t attachmentCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = attachmentCount_; + return *this; + } + + RenderPassAttachmentBeginInfo & setPAttachments( const VULKAN_HPP_NAMESPACE::ImageView* pAttachments_ ) VULKAN_HPP_NOEXCEPT + { + pAttachments = pAttachments_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassAttachmentBeginInfo & setAttachments( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachments_ ) VULKAN_HPP_NOEXCEPT + { + attachmentCount = static_cast( attachments_.size() ); + pAttachments = attachments_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassAttachmentBeginInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassAttachmentBeginInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassAttachmentBeginInfo const& ) const = default; +#else + bool operator==( RenderPassAttachmentBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( attachmentCount == rhs.attachmentCount ) + && ( pAttachments == rhs.pAttachments ); + } + + bool operator!=( RenderPassAttachmentBeginInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassAttachmentBeginInfo; + const void* pNext = {}; + uint32_t attachmentCount = {}; + const VULKAN_HPP_NAMESPACE::ImageView* pAttachments = {}; + + }; + static_assert( sizeof( RenderPassAttachmentBeginInfo ) == sizeof( VkRenderPassAttachmentBeginInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassAttachmentBeginInfo; + }; + using RenderPassAttachmentBeginInfoKHR = RenderPassAttachmentBeginInfo; + + struct RenderPassFragmentDensityMapCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassFragmentDensityMapCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassFragmentDensityMapCreateInfoEXT(VULKAN_HPP_NAMESPACE::AttachmentReference fragmentDensityMapAttachment_ = {}) VULKAN_HPP_NOEXCEPT + : fragmentDensityMapAttachment( fragmentDensityMapAttachment_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassFragmentDensityMapCreateInfoEXT( RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassFragmentDensityMapCreateInfoEXT( VkRenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassFragmentDensityMapCreateInfoEXT & operator=( VkRenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassFragmentDensityMapCreateInfoEXT & operator=( RenderPassFragmentDensityMapCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassFragmentDensityMapCreateInfoEXT ) ); + return *this; + } + + RenderPassFragmentDensityMapCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassFragmentDensityMapCreateInfoEXT & setFragmentDensityMapAttachment( VULKAN_HPP_NAMESPACE::AttachmentReference const & fragmentDensityMapAttachment_ ) VULKAN_HPP_NOEXCEPT + { + fragmentDensityMapAttachment = fragmentDensityMapAttachment_; + return *this; + } + + + operator VkRenderPassFragmentDensityMapCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassFragmentDensityMapCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassFragmentDensityMapCreateInfoEXT const& ) const = default; +#else + bool operator==( RenderPassFragmentDensityMapCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fragmentDensityMapAttachment == rhs.fragmentDensityMapAttachment ); + } + + bool operator!=( RenderPassFragmentDensityMapCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassFragmentDensityMapCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::AttachmentReference fragmentDensityMapAttachment = {}; + + }; + static_assert( sizeof( RenderPassFragmentDensityMapCreateInfoEXT ) == sizeof( VkRenderPassFragmentDensityMapCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassFragmentDensityMapCreateInfoEXT; + }; + + struct RenderPassInputAttachmentAspectCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassInputAttachmentAspectCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassInputAttachmentAspectCreateInfo(uint32_t aspectReferenceCount_ = {}, const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference* pAspectReferences_ = {}) VULKAN_HPP_NOEXCEPT + : aspectReferenceCount( aspectReferenceCount_ ), pAspectReferences( pAspectReferences_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassInputAttachmentAspectCreateInfo( RenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassInputAttachmentAspectCreateInfo( VkRenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassInputAttachmentAspectCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & aspectReferences_ ) + : aspectReferenceCount( static_cast( aspectReferences_.size() ) ), pAspectReferences( aspectReferences_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassInputAttachmentAspectCreateInfo & operator=( VkRenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassInputAttachmentAspectCreateInfo & operator=( RenderPassInputAttachmentAspectCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassInputAttachmentAspectCreateInfo ) ); + return *this; + } + + RenderPassInputAttachmentAspectCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassInputAttachmentAspectCreateInfo & setAspectReferenceCount( uint32_t aspectReferenceCount_ ) VULKAN_HPP_NOEXCEPT + { + aspectReferenceCount = aspectReferenceCount_; + return *this; + } + + RenderPassInputAttachmentAspectCreateInfo & setPAspectReferences( const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference* pAspectReferences_ ) VULKAN_HPP_NOEXCEPT + { + pAspectReferences = pAspectReferences_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassInputAttachmentAspectCreateInfo & setAspectReferences( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & aspectReferences_ ) VULKAN_HPP_NOEXCEPT + { + aspectReferenceCount = static_cast( aspectReferences_.size() ); + pAspectReferences = aspectReferences_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassInputAttachmentAspectCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassInputAttachmentAspectCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassInputAttachmentAspectCreateInfo const& ) const = default; +#else + bool operator==( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( aspectReferenceCount == rhs.aspectReferenceCount ) + && ( pAspectReferences == rhs.pAspectReferences ); + } + + bool operator!=( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassInputAttachmentAspectCreateInfo; + const void* pNext = {}; + uint32_t aspectReferenceCount = {}; + const VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference* pAspectReferences = {}; + + }; + static_assert( sizeof( RenderPassInputAttachmentAspectCreateInfo ) == sizeof( VkRenderPassInputAttachmentAspectCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassInputAttachmentAspectCreateInfo; + }; + using RenderPassInputAttachmentAspectCreateInfoKHR = RenderPassInputAttachmentAspectCreateInfo; + + struct RenderPassMultiviewCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassMultiviewCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassMultiviewCreateInfo(uint32_t subpassCount_ = {}, const uint32_t* pViewMasks_ = {}, uint32_t dependencyCount_ = {}, const int32_t* pViewOffsets_ = {}, uint32_t correlationMaskCount_ = {}, const uint32_t* pCorrelationMasks_ = {}) VULKAN_HPP_NOEXCEPT + : subpassCount( subpassCount_ ), pViewMasks( pViewMasks_ ), dependencyCount( dependencyCount_ ), pViewOffsets( pViewOffsets_ ), correlationMaskCount( correlationMaskCount_ ), pCorrelationMasks( pCorrelationMasks_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassMultiviewCreateInfo( RenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassMultiviewCreateInfo( VkRenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassMultiviewCreateInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewMasks_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewOffsets_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlationMasks_ = {} ) + : subpassCount( static_cast( viewMasks_.size() ) ), pViewMasks( viewMasks_.data() ), dependencyCount( static_cast( viewOffsets_.size() ) ), pViewOffsets( viewOffsets_.data() ), correlationMaskCount( static_cast( correlationMasks_.size() ) ), pCorrelationMasks( correlationMasks_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassMultiviewCreateInfo & operator=( VkRenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassMultiviewCreateInfo & operator=( RenderPassMultiviewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassMultiviewCreateInfo ) ); + return *this; + } + + RenderPassMultiviewCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassMultiviewCreateInfo & setSubpassCount( uint32_t subpassCount_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = subpassCount_; + return *this; + } + + RenderPassMultiviewCreateInfo & setPViewMasks( const uint32_t* pViewMasks_ ) VULKAN_HPP_NOEXCEPT + { + pViewMasks = pViewMasks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassMultiviewCreateInfo & setViewMasks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewMasks_ ) VULKAN_HPP_NOEXCEPT + { + subpassCount = static_cast( viewMasks_.size() ); + pViewMasks = viewMasks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassMultiviewCreateInfo & setDependencyCount( uint32_t dependencyCount_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = dependencyCount_; + return *this; + } + + RenderPassMultiviewCreateInfo & setPViewOffsets( const int32_t* pViewOffsets_ ) VULKAN_HPP_NOEXCEPT + { + pViewOffsets = pViewOffsets_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassMultiviewCreateInfo & setViewOffsets( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & viewOffsets_ ) VULKAN_HPP_NOEXCEPT + { + dependencyCount = static_cast( viewOffsets_.size() ); + pViewOffsets = viewOffsets_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassMultiviewCreateInfo & setCorrelationMaskCount( uint32_t correlationMaskCount_ ) VULKAN_HPP_NOEXCEPT + { + correlationMaskCount = correlationMaskCount_; + return *this; + } + + RenderPassMultiviewCreateInfo & setPCorrelationMasks( const uint32_t* pCorrelationMasks_ ) VULKAN_HPP_NOEXCEPT + { + pCorrelationMasks = pCorrelationMasks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassMultiviewCreateInfo & setCorrelationMasks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & correlationMasks_ ) VULKAN_HPP_NOEXCEPT + { + correlationMaskCount = static_cast( correlationMasks_.size() ); + pCorrelationMasks = correlationMasks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassMultiviewCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassMultiviewCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassMultiviewCreateInfo const& ) const = default; +#else + bool operator==( RenderPassMultiviewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( subpassCount == rhs.subpassCount ) + && ( pViewMasks == rhs.pViewMasks ) + && ( dependencyCount == rhs.dependencyCount ) + && ( pViewOffsets == rhs.pViewOffsets ) + && ( correlationMaskCount == rhs.correlationMaskCount ) + && ( pCorrelationMasks == rhs.pCorrelationMasks ); + } + + bool operator!=( RenderPassMultiviewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassMultiviewCreateInfo; + const void* pNext = {}; + uint32_t subpassCount = {}; + const uint32_t* pViewMasks = {}; + uint32_t dependencyCount = {}; + const int32_t* pViewOffsets = {}; + uint32_t correlationMaskCount = {}; + const uint32_t* pCorrelationMasks = {}; + + }; + static_assert( sizeof( RenderPassMultiviewCreateInfo ) == sizeof( VkRenderPassMultiviewCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassMultiviewCreateInfo; + }; + using RenderPassMultiviewCreateInfoKHR = RenderPassMultiviewCreateInfo; + + struct SubpassSampleLocationsEXT + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassSampleLocationsEXT(uint32_t subpassIndex_ = {}, VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_ = {}) VULKAN_HPP_NOEXCEPT + : subpassIndex( subpassIndex_ ), sampleLocationsInfo( sampleLocationsInfo_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassSampleLocationsEXT( SubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassSampleLocationsEXT( VkSubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassSampleLocationsEXT & operator=( VkSubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassSampleLocationsEXT & operator=( SubpassSampleLocationsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassSampleLocationsEXT ) ); + return *this; + } + + SubpassSampleLocationsEXT & setSubpassIndex( uint32_t subpassIndex_ ) VULKAN_HPP_NOEXCEPT + { + subpassIndex = subpassIndex_; + return *this; + } + + SubpassSampleLocationsEXT & setSampleLocationsInfo( VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const & sampleLocationsInfo_ ) VULKAN_HPP_NOEXCEPT + { + sampleLocationsInfo = sampleLocationsInfo_; + return *this; + } + + + operator VkSubpassSampleLocationsEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassSampleLocationsEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassSampleLocationsEXT const& ) const = default; +#else + bool operator==( SubpassSampleLocationsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( subpassIndex == rhs.subpassIndex ) + && ( sampleLocationsInfo == rhs.sampleLocationsInfo ); + } + + bool operator!=( SubpassSampleLocationsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t subpassIndex = {}; + VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}; + + }; + static_assert( sizeof( SubpassSampleLocationsEXT ) == sizeof( VkSubpassSampleLocationsEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct RenderPassSampleLocationsBeginInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassSampleLocationsBeginInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassSampleLocationsBeginInfoEXT(uint32_t attachmentInitialSampleLocationsCount_ = {}, const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ = {}, uint32_t postSubpassSampleLocationsCount_ = {}, const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ = {}) VULKAN_HPP_NOEXCEPT + : attachmentInitialSampleLocationsCount( attachmentInitialSampleLocationsCount_ ), pAttachmentInitialSampleLocations( pAttachmentInitialSampleLocations_ ), postSubpassSampleLocationsCount( postSubpassSampleLocationsCount_ ), pPostSubpassSampleLocations( pPostSubpassSampleLocations_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassSampleLocationsBeginInfoEXT( RenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassSampleLocationsBeginInfoEXT( VkRenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassSampleLocationsBeginInfoEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachmentInitialSampleLocations_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & postSubpassSampleLocations_ = {} ) + : attachmentInitialSampleLocationsCount( static_cast( attachmentInitialSampleLocations_.size() ) ), pAttachmentInitialSampleLocations( attachmentInitialSampleLocations_.data() ), postSubpassSampleLocationsCount( static_cast( postSubpassSampleLocations_.size() ) ), pPostSubpassSampleLocations( postSubpassSampleLocations_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassSampleLocationsBeginInfoEXT & operator=( VkRenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassSampleLocationsBeginInfoEXT & operator=( RenderPassSampleLocationsBeginInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassSampleLocationsBeginInfoEXT ) ); + return *this; + } + + RenderPassSampleLocationsBeginInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassSampleLocationsBeginInfoEXT & setAttachmentInitialSampleLocationsCount( uint32_t attachmentInitialSampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT + { + attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount_; + return *this; + } + + RenderPassSampleLocationsBeginInfoEXT & setPAttachmentInitialSampleLocations( const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassSampleLocationsBeginInfoEXT & setAttachmentInitialSampleLocations( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & attachmentInitialSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + attachmentInitialSampleLocationsCount = static_cast( attachmentInitialSampleLocations_.size() ); + pAttachmentInitialSampleLocations = attachmentInitialSampleLocations_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + RenderPassSampleLocationsBeginInfoEXT & setPostSubpassSampleLocationsCount( uint32_t postSubpassSampleLocationsCount_ ) VULKAN_HPP_NOEXCEPT + { + postSubpassSampleLocationsCount = postSubpassSampleLocationsCount_; + return *this; + } + + RenderPassSampleLocationsBeginInfoEXT & setPPostSubpassSampleLocations( const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + pPostSubpassSampleLocations = pPostSubpassSampleLocations_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + RenderPassSampleLocationsBeginInfoEXT & setPostSubpassSampleLocations( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & postSubpassSampleLocations_ ) VULKAN_HPP_NOEXCEPT + { + postSubpassSampleLocationsCount = static_cast( postSubpassSampleLocations_.size() ); + pPostSubpassSampleLocations = postSubpassSampleLocations_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkRenderPassSampleLocationsBeginInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassSampleLocationsBeginInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassSampleLocationsBeginInfoEXT const& ) const = default; +#else + bool operator==( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( attachmentInitialSampleLocationsCount == rhs.attachmentInitialSampleLocationsCount ) + && ( pAttachmentInitialSampleLocations == rhs.pAttachmentInitialSampleLocations ) + && ( postSubpassSampleLocationsCount == rhs.postSubpassSampleLocationsCount ) + && ( pPostSubpassSampleLocations == rhs.pPostSubpassSampleLocations ); + } + + bool operator!=( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassSampleLocationsBeginInfoEXT; + const void* pNext = {}; + uint32_t attachmentInitialSampleLocationsCount = {}; + const VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations = {}; + uint32_t postSubpassSampleLocationsCount = {}; + const VULKAN_HPP_NAMESPACE::SubpassSampleLocationsEXT* pPostSubpassSampleLocations = {}; + + }; + static_assert( sizeof( RenderPassSampleLocationsBeginInfoEXT ) == sizeof( VkRenderPassSampleLocationsBeginInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassSampleLocationsBeginInfoEXT; + }; + + struct RenderPassTransformBeginInfoQCOM + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eRenderPassTransformBeginInfoQCOM; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR RenderPassTransformBeginInfoQCOM(VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity) VULKAN_HPP_NOEXCEPT + : transform( transform_ ) + {} + + VULKAN_HPP_CONSTEXPR RenderPassTransformBeginInfoQCOM( RenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + RenderPassTransformBeginInfoQCOM( VkRenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + RenderPassTransformBeginInfoQCOM & operator=( VkRenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + RenderPassTransformBeginInfoQCOM & operator=( RenderPassTransformBeginInfoQCOM const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( RenderPassTransformBeginInfoQCOM ) ); + return *this; + } + + RenderPassTransformBeginInfoQCOM & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + RenderPassTransformBeginInfoQCOM & setTransform( VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform_ ) VULKAN_HPP_NOEXCEPT + { + transform = transform_; + return *this; + } + + + operator VkRenderPassTransformBeginInfoQCOM const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkRenderPassTransformBeginInfoQCOM &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( RenderPassTransformBeginInfoQCOM const& ) const = default; +#else + bool operator==( RenderPassTransformBeginInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( transform == rhs.transform ); + } + + bool operator!=( RenderPassTransformBeginInfoQCOM const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eRenderPassTransformBeginInfoQCOM; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR transform = VULKAN_HPP_NAMESPACE::SurfaceTransformFlagBitsKHR::eIdentity; + + }; + static_assert( sizeof( RenderPassTransformBeginInfoQCOM ) == sizeof( VkRenderPassTransformBeginInfoQCOM ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = RenderPassTransformBeginInfoQCOM; + }; + + struct SamplerCustomBorderColorCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerCustomBorderColorCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + SamplerCustomBorderColorCreateInfoEXT(VULKAN_HPP_NAMESPACE::ClearColorValue customBorderColor_ = {}, VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined) VULKAN_HPP_NOEXCEPT + : customBorderColor( customBorderColor_ ), format( format_ ) + {} + + SamplerCustomBorderColorCreateInfoEXT( SamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerCustomBorderColorCreateInfoEXT( VkSamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerCustomBorderColorCreateInfoEXT & operator=( VkSamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerCustomBorderColorCreateInfoEXT & operator=( SamplerCustomBorderColorCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerCustomBorderColorCreateInfoEXT ) ); + return *this; + } + + SamplerCustomBorderColorCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SamplerCustomBorderColorCreateInfoEXT & setCustomBorderColor( VULKAN_HPP_NAMESPACE::ClearColorValue const & customBorderColor_ ) VULKAN_HPP_NOEXCEPT + { + customBorderColor = customBorderColor_; + return *this; + } + + SamplerCustomBorderColorCreateInfoEXT & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT + { + format = format_; + return *this; + } + + + operator VkSamplerCustomBorderColorCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerCustomBorderColorCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerCustomBorderColorCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ClearColorValue customBorderColor = {}; + VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined; + + }; + static_assert( sizeof( SamplerCustomBorderColorCreateInfoEXT ) == sizeof( VkSamplerCustomBorderColorCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerCustomBorderColorCreateInfoEXT; + }; + + struct SamplerReductionModeCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerReductionModeCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo(VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_ = VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage) VULKAN_HPP_NOEXCEPT + : reductionMode( reductionMode_ ) + {} + + VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo( SamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerReductionModeCreateInfo( VkSamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerReductionModeCreateInfo & operator=( VkSamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerReductionModeCreateInfo & operator=( SamplerReductionModeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerReductionModeCreateInfo ) ); + return *this; + } + + SamplerReductionModeCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SamplerReductionModeCreateInfo & setReductionMode( VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_ ) VULKAN_HPP_NOEXCEPT + { + reductionMode = reductionMode_; + return *this; + } + + + operator VkSamplerReductionModeCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerReductionModeCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerReductionModeCreateInfo const& ) const = default; +#else + bool operator==( SamplerReductionModeCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( reductionMode == rhs.reductionMode ); + } + + bool operator!=( SamplerReductionModeCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerReductionModeCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode = VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage; + + }; + static_assert( sizeof( SamplerReductionModeCreateInfo ) == sizeof( VkSamplerReductionModeCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerReductionModeCreateInfo; + }; + using SamplerReductionModeCreateInfoEXT = SamplerReductionModeCreateInfo; + + struct SamplerYcbcrConversionImageFormatProperties + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerYcbcrConversionImageFormatProperties; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionImageFormatProperties(uint32_t combinedImageSamplerDescriptorCount_ = {}) VULKAN_HPP_NOEXCEPT + : combinedImageSamplerDescriptorCount( combinedImageSamplerDescriptorCount_ ) + {} + + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionImageFormatProperties( SamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerYcbcrConversionImageFormatProperties( VkSamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerYcbcrConversionImageFormatProperties & operator=( VkSamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerYcbcrConversionImageFormatProperties & operator=( SamplerYcbcrConversionImageFormatProperties const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerYcbcrConversionImageFormatProperties ) ); + return *this; + } + + + operator VkSamplerYcbcrConversionImageFormatProperties const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerYcbcrConversionImageFormatProperties &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerYcbcrConversionImageFormatProperties const& ) const = default; +#else + bool operator==( SamplerYcbcrConversionImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( combinedImageSamplerDescriptorCount == rhs.combinedImageSamplerDescriptorCount ); + } + + bool operator!=( SamplerYcbcrConversionImageFormatProperties const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionImageFormatProperties; + void* pNext = {}; + uint32_t combinedImageSamplerDescriptorCount = {}; + + }; + static_assert( sizeof( SamplerYcbcrConversionImageFormatProperties ) == sizeof( VkSamplerYcbcrConversionImageFormatProperties ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerYcbcrConversionImageFormatProperties; + }; + using SamplerYcbcrConversionImageFormatPropertiesKHR = SamplerYcbcrConversionImageFormatProperties; + + struct SamplerYcbcrConversionInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerYcbcrConversionInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionInfo(VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion_ = {}) VULKAN_HPP_NOEXCEPT + : conversion( conversion_ ) + {} + + VULKAN_HPP_CONSTEXPR SamplerYcbcrConversionInfo( SamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SamplerYcbcrConversionInfo( VkSamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SamplerYcbcrConversionInfo & operator=( VkSamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SamplerYcbcrConversionInfo & operator=( SamplerYcbcrConversionInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SamplerYcbcrConversionInfo ) ); + return *this; + } + + SamplerYcbcrConversionInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SamplerYcbcrConversionInfo & setConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion_ ) VULKAN_HPP_NOEXCEPT + { + conversion = conversion_; + return *this; + } + + + operator VkSamplerYcbcrConversionInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSamplerYcbcrConversionInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SamplerYcbcrConversionInfo const& ) const = default; +#else + bool operator==( SamplerYcbcrConversionInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( conversion == rhs.conversion ); + } + + bool operator!=( SamplerYcbcrConversionInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerYcbcrConversionInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion conversion = {}; + + }; + static_assert( sizeof( SamplerYcbcrConversionInfo ) == sizeof( VkSamplerYcbcrConversionInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SamplerYcbcrConversionInfo; + }; + using SamplerYcbcrConversionInfoKHR = SamplerYcbcrConversionInfo; + + struct SemaphoreTypeCreateInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSemaphoreTypeCreateInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SemaphoreTypeCreateInfo(VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType_ = VULKAN_HPP_NAMESPACE::SemaphoreType::eBinary, uint64_t initialValue_ = {}) VULKAN_HPP_NOEXCEPT + : semaphoreType( semaphoreType_ ), initialValue( initialValue_ ) + {} + + VULKAN_HPP_CONSTEXPR SemaphoreTypeCreateInfo( SemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SemaphoreTypeCreateInfo( VkSemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SemaphoreTypeCreateInfo & operator=( VkSemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SemaphoreTypeCreateInfo & operator=( SemaphoreTypeCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SemaphoreTypeCreateInfo ) ); + return *this; + } + + SemaphoreTypeCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SemaphoreTypeCreateInfo & setSemaphoreType( VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType_ ) VULKAN_HPP_NOEXCEPT + { + semaphoreType = semaphoreType_; + return *this; + } + + SemaphoreTypeCreateInfo & setInitialValue( uint64_t initialValue_ ) VULKAN_HPP_NOEXCEPT + { + initialValue = initialValue_; + return *this; + } + + + operator VkSemaphoreTypeCreateInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSemaphoreTypeCreateInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SemaphoreTypeCreateInfo const& ) const = default; +#else + bool operator==( SemaphoreTypeCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( semaphoreType == rhs.semaphoreType ) + && ( initialValue == rhs.initialValue ); + } + + bool operator!=( SemaphoreTypeCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSemaphoreTypeCreateInfo; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SemaphoreType semaphoreType = VULKAN_HPP_NAMESPACE::SemaphoreType::eBinary; + uint64_t initialValue = {}; + + }; + static_assert( sizeof( SemaphoreTypeCreateInfo ) == sizeof( VkSemaphoreTypeCreateInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SemaphoreTypeCreateInfo; + }; + using SemaphoreTypeCreateInfoKHR = SemaphoreTypeCreateInfo; + + struct SetStateFlagsIndirectCommandNV + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SetStateFlagsIndirectCommandNV(uint32_t data_ = {}) VULKAN_HPP_NOEXCEPT + : data( data_ ) + {} + + VULKAN_HPP_CONSTEXPR SetStateFlagsIndirectCommandNV( SetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SetStateFlagsIndirectCommandNV( VkSetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SetStateFlagsIndirectCommandNV & operator=( VkSetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SetStateFlagsIndirectCommandNV & operator=( SetStateFlagsIndirectCommandNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SetStateFlagsIndirectCommandNV ) ); + return *this; + } + + SetStateFlagsIndirectCommandNV & setData( uint32_t data_ ) VULKAN_HPP_NOEXCEPT + { + data = data_; + return *this; + } + + + operator VkSetStateFlagsIndirectCommandNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSetStateFlagsIndirectCommandNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SetStateFlagsIndirectCommandNV const& ) const = default; +#else + bool operator==( SetStateFlagsIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( data == rhs.data ); + } + + bool operator!=( SetStateFlagsIndirectCommandNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t data = {}; + + }; + static_assert( sizeof( SetStateFlagsIndirectCommandNV ) == sizeof( VkSetStateFlagsIndirectCommandNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ShaderModuleValidationCacheCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eShaderModuleValidationCacheCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ShaderModuleValidationCacheCreateInfoEXT(VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache_ = {}) VULKAN_HPP_NOEXCEPT + : validationCache( validationCache_ ) + {} + + VULKAN_HPP_CONSTEXPR ShaderModuleValidationCacheCreateInfoEXT( ShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ShaderModuleValidationCacheCreateInfoEXT( VkShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ShaderModuleValidationCacheCreateInfoEXT & operator=( VkShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ShaderModuleValidationCacheCreateInfoEXT & operator=( ShaderModuleValidationCacheCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ShaderModuleValidationCacheCreateInfoEXT ) ); + return *this; + } + + ShaderModuleValidationCacheCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ShaderModuleValidationCacheCreateInfoEXT & setValidationCache( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache_ ) VULKAN_HPP_NOEXCEPT + { + validationCache = validationCache_; + return *this; + } + + + operator VkShaderModuleValidationCacheCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkShaderModuleValidationCacheCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShaderModuleValidationCacheCreateInfoEXT const& ) const = default; +#else + bool operator==( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( validationCache == rhs.validationCache ); + } + + bool operator!=( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eShaderModuleValidationCacheCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache = {}; + + }; + static_assert( sizeof( ShaderModuleValidationCacheCreateInfoEXT ) == sizeof( VkShaderModuleValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ShaderModuleValidationCacheCreateInfoEXT; + }; + + struct ShaderResourceUsageAMD + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ShaderResourceUsageAMD(uint32_t numUsedVgprs_ = {}, uint32_t numUsedSgprs_ = {}, uint32_t ldsSizePerLocalWorkGroup_ = {}, size_t ldsUsageSizeInBytes_ = {}, size_t scratchMemUsageInBytes_ = {}) VULKAN_HPP_NOEXCEPT + : numUsedVgprs( numUsedVgprs_ ), numUsedSgprs( numUsedSgprs_ ), ldsSizePerLocalWorkGroup( ldsSizePerLocalWorkGroup_ ), ldsUsageSizeInBytes( ldsUsageSizeInBytes_ ), scratchMemUsageInBytes( scratchMemUsageInBytes_ ) + {} + + VULKAN_HPP_CONSTEXPR ShaderResourceUsageAMD( ShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ShaderResourceUsageAMD( VkShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ShaderResourceUsageAMD & operator=( VkShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ShaderResourceUsageAMD & operator=( ShaderResourceUsageAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ShaderResourceUsageAMD ) ); + return *this; + } + + + operator VkShaderResourceUsageAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkShaderResourceUsageAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShaderResourceUsageAMD const& ) const = default; +#else + bool operator==( ShaderResourceUsageAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( numUsedVgprs == rhs.numUsedVgprs ) + && ( numUsedSgprs == rhs.numUsedSgprs ) + && ( ldsSizePerLocalWorkGroup == rhs.ldsSizePerLocalWorkGroup ) + && ( ldsUsageSizeInBytes == rhs.ldsUsageSizeInBytes ) + && ( scratchMemUsageInBytes == rhs.scratchMemUsageInBytes ); + } + + bool operator!=( ShaderResourceUsageAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t numUsedVgprs = {}; + uint32_t numUsedSgprs = {}; + uint32_t ldsSizePerLocalWorkGroup = {}; + size_t ldsUsageSizeInBytes = {}; + size_t scratchMemUsageInBytes = {}; + + }; + static_assert( sizeof( ShaderResourceUsageAMD ) == sizeof( VkShaderResourceUsageAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct ShaderStatisticsInfoAMD + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR_14 ShaderStatisticsInfoAMD(VULKAN_HPP_NAMESPACE::ShaderStageFlags shaderStageMask_ = {}, VULKAN_HPP_NAMESPACE::ShaderResourceUsageAMD resourceUsage_ = {}, uint32_t numPhysicalVgprs_ = {}, uint32_t numPhysicalSgprs_ = {}, uint32_t numAvailableVgprs_ = {}, uint32_t numAvailableSgprs_ = {}, std::array const& computeWorkGroupSize_ = {}) VULKAN_HPP_NOEXCEPT + : shaderStageMask( shaderStageMask_ ), resourceUsage( resourceUsage_ ), numPhysicalVgprs( numPhysicalVgprs_ ), numPhysicalSgprs( numPhysicalSgprs_ ), numAvailableVgprs( numAvailableVgprs_ ), numAvailableSgprs( numAvailableSgprs_ ), computeWorkGroupSize( computeWorkGroupSize_ ) + {} + + VULKAN_HPP_CONSTEXPR_14 ShaderStatisticsInfoAMD( ShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ShaderStatisticsInfoAMD( VkShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ShaderStatisticsInfoAMD & operator=( VkShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ShaderStatisticsInfoAMD & operator=( ShaderStatisticsInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ShaderStatisticsInfoAMD ) ); + return *this; + } + + + operator VkShaderStatisticsInfoAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkShaderStatisticsInfoAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ShaderStatisticsInfoAMD const& ) const = default; +#else + bool operator==( ShaderStatisticsInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( shaderStageMask == rhs.shaderStageMask ) + && ( resourceUsage == rhs.resourceUsage ) + && ( numPhysicalVgprs == rhs.numPhysicalVgprs ) + && ( numPhysicalSgprs == rhs.numPhysicalSgprs ) + && ( numAvailableVgprs == rhs.numAvailableVgprs ) + && ( numAvailableSgprs == rhs.numAvailableSgprs ) + && ( computeWorkGroupSize == rhs.computeWorkGroupSize ); + } + + bool operator!=( ShaderStatisticsInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + VULKAN_HPP_NAMESPACE::ShaderStageFlags shaderStageMask = {}; + VULKAN_HPP_NAMESPACE::ShaderResourceUsageAMD resourceUsage = {}; + uint32_t numPhysicalVgprs = {}; + uint32_t numPhysicalSgprs = {}; + uint32_t numAvailableVgprs = {}; + uint32_t numAvailableSgprs = {}; + VULKAN_HPP_NAMESPACE::ArrayWrapper1D computeWorkGroupSize = {}; + + }; + static_assert( sizeof( ShaderStatisticsInfoAMD ) == sizeof( VkShaderStatisticsInfoAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + struct SharedPresentSurfaceCapabilitiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSharedPresentSurfaceCapabilitiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SharedPresentSurfaceCapabilitiesKHR(VULKAN_HPP_NAMESPACE::ImageUsageFlags sharedPresentSupportedUsageFlags_ = {}) VULKAN_HPP_NOEXCEPT + : sharedPresentSupportedUsageFlags( sharedPresentSupportedUsageFlags_ ) + {} + + VULKAN_HPP_CONSTEXPR SharedPresentSurfaceCapabilitiesKHR( SharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SharedPresentSurfaceCapabilitiesKHR( VkSharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SharedPresentSurfaceCapabilitiesKHR & operator=( VkSharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SharedPresentSurfaceCapabilitiesKHR & operator=( SharedPresentSurfaceCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SharedPresentSurfaceCapabilitiesKHR ) ); + return *this; + } + + + operator VkSharedPresentSurfaceCapabilitiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSharedPresentSurfaceCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SharedPresentSurfaceCapabilitiesKHR const& ) const = default; +#else + bool operator==( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( sharedPresentSupportedUsageFlags == rhs.sharedPresentSupportedUsageFlags ); + } + + bool operator!=( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSharedPresentSurfaceCapabilitiesKHR; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::ImageUsageFlags sharedPresentSupportedUsageFlags = {}; + + }; + static_assert( sizeof( SharedPresentSurfaceCapabilitiesKHR ) == sizeof( VkSharedPresentSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SharedPresentSurfaceCapabilitiesKHR; + }; + +#ifdef VK_USE_PLATFORM_GGP + struct StreamDescriptorSurfaceCreateInfoGGP + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eStreamDescriptorSurfaceCreateInfoGGP; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR StreamDescriptorSurfaceCreateInfoGGP(VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags_ = {}, GgpStreamDescriptor streamDescriptor_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), streamDescriptor( streamDescriptor_ ) + {} + + VULKAN_HPP_CONSTEXPR StreamDescriptorSurfaceCreateInfoGGP( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + StreamDescriptorSurfaceCreateInfoGGP( VkStreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + StreamDescriptorSurfaceCreateInfoGGP & operator=( VkStreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + StreamDescriptorSurfaceCreateInfoGGP & operator=( StreamDescriptorSurfaceCreateInfoGGP const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( StreamDescriptorSurfaceCreateInfoGGP ) ); + return *this; + } + + StreamDescriptorSurfaceCreateInfoGGP & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + StreamDescriptorSurfaceCreateInfoGGP & setFlags( VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + StreamDescriptorSurfaceCreateInfoGGP & setStreamDescriptor( GgpStreamDescriptor streamDescriptor_ ) VULKAN_HPP_NOEXCEPT + { + streamDescriptor = streamDescriptor_; + return *this; + } + + + operator VkStreamDescriptorSurfaceCreateInfoGGP const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkStreamDescriptorSurfaceCreateInfoGGP &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( StreamDescriptorSurfaceCreateInfoGGP const& ) const = default; +#else + bool operator==( StreamDescriptorSurfaceCreateInfoGGP const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( memcmp( &streamDescriptor, &rhs.streamDescriptor, sizeof( GgpStreamDescriptor ) ) == 0 ); + } + + bool operator!=( StreamDescriptorSurfaceCreateInfoGGP const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eStreamDescriptorSurfaceCreateInfoGGP; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateFlagsGGP flags = {}; + GgpStreamDescriptor streamDescriptor = {}; + + }; + static_assert( sizeof( StreamDescriptorSurfaceCreateInfoGGP ) == sizeof( VkStreamDescriptorSurfaceCreateInfoGGP ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = StreamDescriptorSurfaceCreateInfoGGP; + }; +#endif /*VK_USE_PLATFORM_GGP*/ + + struct SubpassDescriptionDepthStencilResolve + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSubpassDescriptionDepthStencilResolve; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SubpassDescriptionDepthStencilResolve(VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode_ = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone, VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode_ = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone, const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilResolveAttachment_ = {}) VULKAN_HPP_NOEXCEPT + : depthResolveMode( depthResolveMode_ ), stencilResolveMode( stencilResolveMode_ ), pDepthStencilResolveAttachment( pDepthStencilResolveAttachment_ ) + {} + + VULKAN_HPP_CONSTEXPR SubpassDescriptionDepthStencilResolve( SubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SubpassDescriptionDepthStencilResolve( VkSubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SubpassDescriptionDepthStencilResolve & operator=( VkSubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SubpassDescriptionDepthStencilResolve & operator=( SubpassDescriptionDepthStencilResolve const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SubpassDescriptionDepthStencilResolve ) ); + return *this; + } + + SubpassDescriptionDepthStencilResolve & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SubpassDescriptionDepthStencilResolve & setDepthResolveMode( VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode_ ) VULKAN_HPP_NOEXCEPT + { + depthResolveMode = depthResolveMode_; + return *this; + } + + SubpassDescriptionDepthStencilResolve & setStencilResolveMode( VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode_ ) VULKAN_HPP_NOEXCEPT + { + stencilResolveMode = stencilResolveMode_; + return *this; + } + + SubpassDescriptionDepthStencilResolve & setPDepthStencilResolveAttachment( const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilResolveAttachment_ ) VULKAN_HPP_NOEXCEPT + { + pDepthStencilResolveAttachment = pDepthStencilResolveAttachment_; + return *this; + } + + + operator VkSubpassDescriptionDepthStencilResolve const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSubpassDescriptionDepthStencilResolve &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SubpassDescriptionDepthStencilResolve const& ) const = default; +#else + bool operator==( SubpassDescriptionDepthStencilResolve const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( depthResolveMode == rhs.depthResolveMode ) + && ( stencilResolveMode == rhs.stencilResolveMode ) + && ( pDepthStencilResolveAttachment == rhs.pDepthStencilResolveAttachment ); + } + + bool operator!=( SubpassDescriptionDepthStencilResolve const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassDescriptionDepthStencilResolve; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ResolveModeFlagBits depthResolveMode = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone; + VULKAN_HPP_NAMESPACE::ResolveModeFlagBits stencilResolveMode = VULKAN_HPP_NAMESPACE::ResolveModeFlagBits::eNone; + const VULKAN_HPP_NAMESPACE::AttachmentReference2* pDepthStencilResolveAttachment = {}; + + }; + static_assert( sizeof( SubpassDescriptionDepthStencilResolve ) == sizeof( VkSubpassDescriptionDepthStencilResolve ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SubpassDescriptionDepthStencilResolve; + }; + using SubpassDescriptionDepthStencilResolveKHR = SubpassDescriptionDepthStencilResolve; + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct SurfaceCapabilitiesFullScreenExclusiveEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesFullScreenExclusiveEXT(VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported_ = {}) VULKAN_HPP_NOEXCEPT + : fullScreenExclusiveSupported( fullScreenExclusiveSupported_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceCapabilitiesFullScreenExclusiveEXT( SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceCapabilitiesFullScreenExclusiveEXT( VkSurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceCapabilitiesFullScreenExclusiveEXT & operator=( VkSurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceCapabilitiesFullScreenExclusiveEXT & operator=( SurfaceCapabilitiesFullScreenExclusiveEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceCapabilitiesFullScreenExclusiveEXT ) ); + return *this; + } + + SurfaceCapabilitiesFullScreenExclusiveEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SurfaceCapabilitiesFullScreenExclusiveEXT & setFullScreenExclusiveSupported( VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported_ ) VULKAN_HPP_NOEXCEPT + { + fullScreenExclusiveSupported = fullScreenExclusiveSupported_; + return *this; + } + + + operator VkSurfaceCapabilitiesFullScreenExclusiveEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceCapabilitiesFullScreenExclusiveEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceCapabilitiesFullScreenExclusiveEXT const& ) const = default; +#else + bool operator==( SurfaceCapabilitiesFullScreenExclusiveEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fullScreenExclusiveSupported == rhs.fullScreenExclusiveSupported ); + } + + bool operator!=( SurfaceCapabilitiesFullScreenExclusiveEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceCapabilitiesFullScreenExclusiveEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 fullScreenExclusiveSupported = {}; + + }; + static_assert( sizeof( SurfaceCapabilitiesFullScreenExclusiveEXT ) == sizeof( VkSurfaceCapabilitiesFullScreenExclusiveEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceCapabilitiesFullScreenExclusiveEXT; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct SurfaceFullScreenExclusiveInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceFullScreenExclusiveInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveInfoEXT(VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive_ = VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT::eDefault) VULKAN_HPP_NOEXCEPT + : fullScreenExclusive( fullScreenExclusive_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveInfoEXT( SurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceFullScreenExclusiveInfoEXT( VkSurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceFullScreenExclusiveInfoEXT & operator=( VkSurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceFullScreenExclusiveInfoEXT & operator=( SurfaceFullScreenExclusiveInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceFullScreenExclusiveInfoEXT ) ); + return *this; + } + + SurfaceFullScreenExclusiveInfoEXT & setPNext( void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SurfaceFullScreenExclusiveInfoEXT & setFullScreenExclusive( VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive_ ) VULKAN_HPP_NOEXCEPT + { + fullScreenExclusive = fullScreenExclusive_; + return *this; + } + + + operator VkSurfaceFullScreenExclusiveInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceFullScreenExclusiveInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceFullScreenExclusiveInfoEXT const& ) const = default; +#else + bool operator==( SurfaceFullScreenExclusiveInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( fullScreenExclusive == rhs.fullScreenExclusive ); + } + + bool operator!=( SurfaceFullScreenExclusiveInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFullScreenExclusiveInfoEXT; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT fullScreenExclusive = VULKAN_HPP_NAMESPACE::FullScreenExclusiveEXT::eDefault; + + }; + static_assert( sizeof( SurfaceFullScreenExclusiveInfoEXT ) == sizeof( VkSurfaceFullScreenExclusiveInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceFullScreenExclusiveInfoEXT; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct SurfaceFullScreenExclusiveWin32InfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveWin32InfoEXT(HMONITOR hmonitor_ = {}) VULKAN_HPP_NOEXCEPT + : hmonitor( hmonitor_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceFullScreenExclusiveWin32InfoEXT( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceFullScreenExclusiveWin32InfoEXT( VkSurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceFullScreenExclusiveWin32InfoEXT & operator=( VkSurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceFullScreenExclusiveWin32InfoEXT & operator=( SurfaceFullScreenExclusiveWin32InfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceFullScreenExclusiveWin32InfoEXT ) ); + return *this; + } + + SurfaceFullScreenExclusiveWin32InfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SurfaceFullScreenExclusiveWin32InfoEXT & setHmonitor( HMONITOR hmonitor_ ) VULKAN_HPP_NOEXCEPT + { + hmonitor = hmonitor_; + return *this; + } + + + operator VkSurfaceFullScreenExclusiveWin32InfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceFullScreenExclusiveWin32InfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceFullScreenExclusiveWin32InfoEXT const& ) const = default; +#else + bool operator==( SurfaceFullScreenExclusiveWin32InfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( hmonitor == rhs.hmonitor ); + } + + bool operator!=( SurfaceFullScreenExclusiveWin32InfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT; + const void* pNext = {}; + HMONITOR hmonitor = {}; + + }; + static_assert( sizeof( SurfaceFullScreenExclusiveWin32InfoEXT ) == sizeof( VkSurfaceFullScreenExclusiveWin32InfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceFullScreenExclusiveWin32InfoEXT; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct SurfaceProtectedCapabilitiesKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSurfaceProtectedCapabilitiesKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SurfaceProtectedCapabilitiesKHR(VULKAN_HPP_NAMESPACE::Bool32 supportsProtected_ = {}) VULKAN_HPP_NOEXCEPT + : supportsProtected( supportsProtected_ ) + {} + + VULKAN_HPP_CONSTEXPR SurfaceProtectedCapabilitiesKHR( SurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SurfaceProtectedCapabilitiesKHR( VkSurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SurfaceProtectedCapabilitiesKHR & operator=( VkSurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SurfaceProtectedCapabilitiesKHR & operator=( SurfaceProtectedCapabilitiesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SurfaceProtectedCapabilitiesKHR ) ); + return *this; + } + + SurfaceProtectedCapabilitiesKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SurfaceProtectedCapabilitiesKHR & setSupportsProtected( VULKAN_HPP_NAMESPACE::Bool32 supportsProtected_ ) VULKAN_HPP_NOEXCEPT + { + supportsProtected = supportsProtected_; + return *this; + } + + + operator VkSurfaceProtectedCapabilitiesKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSurfaceProtectedCapabilitiesKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SurfaceProtectedCapabilitiesKHR const& ) const = default; +#else + bool operator==( SurfaceProtectedCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( supportsProtected == rhs.supportsProtected ); + } + + bool operator!=( SurfaceProtectedCapabilitiesKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceProtectedCapabilitiesKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 supportsProtected = {}; + + }; + static_assert( sizeof( SurfaceProtectedCapabilitiesKHR ) == sizeof( VkSurfaceProtectedCapabilitiesKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SurfaceProtectedCapabilitiesKHR; + }; + + struct SwapchainCounterCreateInfoEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainCounterCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SwapchainCounterCreateInfoEXT(VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters_ = {}) VULKAN_HPP_NOEXCEPT + : surfaceCounters( surfaceCounters_ ) + {} + + VULKAN_HPP_CONSTEXPR SwapchainCounterCreateInfoEXT( SwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SwapchainCounterCreateInfoEXT( VkSwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SwapchainCounterCreateInfoEXT & operator=( VkSwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SwapchainCounterCreateInfoEXT & operator=( SwapchainCounterCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SwapchainCounterCreateInfoEXT ) ); + return *this; + } + + SwapchainCounterCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SwapchainCounterCreateInfoEXT & setSurfaceCounters( VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters_ ) VULKAN_HPP_NOEXCEPT + { + surfaceCounters = surfaceCounters_; + return *this; + } + + + operator VkSwapchainCounterCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSwapchainCounterCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SwapchainCounterCreateInfoEXT const& ) const = default; +#else + bool operator==( SwapchainCounterCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( surfaceCounters == rhs.surfaceCounters ); + } + + bool operator!=( SwapchainCounterCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainCounterCreateInfoEXT; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::SurfaceCounterFlagsEXT surfaceCounters = {}; + + }; + static_assert( sizeof( SwapchainCounterCreateInfoEXT ) == sizeof( VkSwapchainCounterCreateInfoEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SwapchainCounterCreateInfoEXT; + }; + + struct SwapchainDisplayNativeHdrCreateInfoAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR SwapchainDisplayNativeHdrCreateInfoAMD(VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable_ = {}) VULKAN_HPP_NOEXCEPT + : localDimmingEnable( localDimmingEnable_ ) + {} + + VULKAN_HPP_CONSTEXPR SwapchainDisplayNativeHdrCreateInfoAMD( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + SwapchainDisplayNativeHdrCreateInfoAMD( VkSwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + SwapchainDisplayNativeHdrCreateInfoAMD & operator=( VkSwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + SwapchainDisplayNativeHdrCreateInfoAMD & operator=( SwapchainDisplayNativeHdrCreateInfoAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( SwapchainDisplayNativeHdrCreateInfoAMD ) ); + return *this; + } + + SwapchainDisplayNativeHdrCreateInfoAMD & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + SwapchainDisplayNativeHdrCreateInfoAMD & setLocalDimmingEnable( VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable_ ) VULKAN_HPP_NOEXCEPT + { + localDimmingEnable = localDimmingEnable_; + return *this; + } + + + operator VkSwapchainDisplayNativeHdrCreateInfoAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkSwapchainDisplayNativeHdrCreateInfoAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( SwapchainDisplayNativeHdrCreateInfoAMD const& ) const = default; +#else + bool operator==( SwapchainDisplayNativeHdrCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( localDimmingEnable == rhs.localDimmingEnable ); + } + + bool operator!=( SwapchainDisplayNativeHdrCreateInfoAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSwapchainDisplayNativeHdrCreateInfoAMD; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable = {}; + + }; + static_assert( sizeof( SwapchainDisplayNativeHdrCreateInfoAMD ) == sizeof( VkSwapchainDisplayNativeHdrCreateInfoAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = SwapchainDisplayNativeHdrCreateInfoAMD; + }; + + struct TextureLODGatherFormatPropertiesAMD + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eTextureLodGatherFormatPropertiesAMD; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR TextureLODGatherFormatPropertiesAMD(VULKAN_HPP_NAMESPACE::Bool32 supportsTextureGatherLODBiasAMD_ = {}) VULKAN_HPP_NOEXCEPT + : supportsTextureGatherLODBiasAMD( supportsTextureGatherLODBiasAMD_ ) + {} + + VULKAN_HPP_CONSTEXPR TextureLODGatherFormatPropertiesAMD( TextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + TextureLODGatherFormatPropertiesAMD( VkTextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + TextureLODGatherFormatPropertiesAMD & operator=( VkTextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + TextureLODGatherFormatPropertiesAMD & operator=( TextureLODGatherFormatPropertiesAMD const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( TextureLODGatherFormatPropertiesAMD ) ); + return *this; + } + + + operator VkTextureLODGatherFormatPropertiesAMD const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkTextureLODGatherFormatPropertiesAMD &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( TextureLODGatherFormatPropertiesAMD const& ) const = default; +#else + bool operator==( TextureLODGatherFormatPropertiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( supportsTextureGatherLODBiasAMD == rhs.supportsTextureGatherLODBiasAMD ); + } + + bool operator!=( TextureLODGatherFormatPropertiesAMD const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eTextureLodGatherFormatPropertiesAMD; + void* pNext = {}; + VULKAN_HPP_NAMESPACE::Bool32 supportsTextureGatherLODBiasAMD = {}; + + }; + static_assert( sizeof( TextureLODGatherFormatPropertiesAMD ) == sizeof( VkTextureLODGatherFormatPropertiesAMD ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = TextureLODGatherFormatPropertiesAMD; + }; + + struct TimelineSemaphoreSubmitInfo + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eTimelineSemaphoreSubmitInfo; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR TimelineSemaphoreSubmitInfo(uint32_t waitSemaphoreValueCount_ = {}, const uint64_t* pWaitSemaphoreValues_ = {}, uint32_t signalSemaphoreValueCount_ = {}, const uint64_t* pSignalSemaphoreValues_ = {}) VULKAN_HPP_NOEXCEPT + : waitSemaphoreValueCount( waitSemaphoreValueCount_ ), pWaitSemaphoreValues( pWaitSemaphoreValues_ ), signalSemaphoreValueCount( signalSemaphoreValueCount_ ), pSignalSemaphoreValues( pSignalSemaphoreValues_ ) + {} + + VULKAN_HPP_CONSTEXPR TimelineSemaphoreSubmitInfo( TimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + TimelineSemaphoreSubmitInfo( VkTimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + TimelineSemaphoreSubmitInfo( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ = {} ) + : waitSemaphoreValueCount( static_cast( waitSemaphoreValues_.size() ) ), pWaitSemaphoreValues( waitSemaphoreValues_.data() ), signalSemaphoreValueCount( static_cast( signalSemaphoreValues_.size() ) ), pSignalSemaphoreValues( signalSemaphoreValues_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + TimelineSemaphoreSubmitInfo & operator=( VkTimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + TimelineSemaphoreSubmitInfo & operator=( TimelineSemaphoreSubmitInfo const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( TimelineSemaphoreSubmitInfo ) ); + return *this; + } + + TimelineSemaphoreSubmitInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + TimelineSemaphoreSubmitInfo & setWaitSemaphoreValueCount( uint32_t waitSemaphoreValueCount_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreValueCount = waitSemaphoreValueCount_; + return *this; + } + + TimelineSemaphoreSubmitInfo & setPWaitSemaphoreValues( const uint64_t* pWaitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + pWaitSemaphoreValues = pWaitSemaphoreValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + TimelineSemaphoreSubmitInfo & setWaitSemaphoreValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & waitSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + waitSemaphoreValueCount = static_cast( waitSemaphoreValues_.size() ); + pWaitSemaphoreValues = waitSemaphoreValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + TimelineSemaphoreSubmitInfo & setSignalSemaphoreValueCount( uint32_t signalSemaphoreValueCount_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreValueCount = signalSemaphoreValueCount_; + return *this; + } + + TimelineSemaphoreSubmitInfo & setPSignalSemaphoreValues( const uint64_t* pSignalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + pSignalSemaphoreValues = pSignalSemaphoreValues_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + TimelineSemaphoreSubmitInfo & setSignalSemaphoreValues( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & signalSemaphoreValues_ ) VULKAN_HPP_NOEXCEPT + { + signalSemaphoreValueCount = static_cast( signalSemaphoreValues_.size() ); + pSignalSemaphoreValues = signalSemaphoreValues_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkTimelineSemaphoreSubmitInfo const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkTimelineSemaphoreSubmitInfo &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( TimelineSemaphoreSubmitInfo const& ) const = default; +#else + bool operator==( TimelineSemaphoreSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( waitSemaphoreValueCount == rhs.waitSemaphoreValueCount ) + && ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues ) + && ( signalSemaphoreValueCount == rhs.signalSemaphoreValueCount ) + && ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues ); + } + + bool operator!=( TimelineSemaphoreSubmitInfo const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eTimelineSemaphoreSubmitInfo; + const void* pNext = {}; + uint32_t waitSemaphoreValueCount = {}; + const uint64_t* pWaitSemaphoreValues = {}; + uint32_t signalSemaphoreValueCount = {}; + const uint64_t* pSignalSemaphoreValues = {}; + + }; + static_assert( sizeof( TimelineSemaphoreSubmitInfo ) == sizeof( VkTimelineSemaphoreSubmitInfo ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = TimelineSemaphoreSubmitInfo; + }; + using TimelineSemaphoreSubmitInfoKHR = TimelineSemaphoreSubmitInfo; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + struct TraceRaysIndirectCommandKHR + { + + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR TraceRaysIndirectCommandKHR(uint32_t width_ = {}, uint32_t height_ = {}, uint32_t depth_ = {}) VULKAN_HPP_NOEXCEPT + : width( width_ ), height( height_ ), depth( depth_ ) + {} + + VULKAN_HPP_CONSTEXPR TraceRaysIndirectCommandKHR( TraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + TraceRaysIndirectCommandKHR( VkTraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + + explicit TraceRaysIndirectCommandKHR( Extent2D const& extent2D, uint32_t depth_ = {} ) + : width( extent2D.width ) + , height( extent2D.height ) + , depth( depth_ ) + {} +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + TraceRaysIndirectCommandKHR & operator=( VkTraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + TraceRaysIndirectCommandKHR & operator=( TraceRaysIndirectCommandKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( TraceRaysIndirectCommandKHR ) ); + return *this; + } + + TraceRaysIndirectCommandKHR & setWidth( uint32_t width_ ) VULKAN_HPP_NOEXCEPT + { + width = width_; + return *this; + } + + TraceRaysIndirectCommandKHR & setHeight( uint32_t height_ ) VULKAN_HPP_NOEXCEPT + { + height = height_; + return *this; + } + + TraceRaysIndirectCommandKHR & setDepth( uint32_t depth_ ) VULKAN_HPP_NOEXCEPT + { + depth = depth_; + return *this; + } + + + operator VkTraceRaysIndirectCommandKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkTraceRaysIndirectCommandKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( TraceRaysIndirectCommandKHR const& ) const = default; +#else + bool operator==( TraceRaysIndirectCommandKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( width == rhs.width ) + && ( height == rhs.height ) + && ( depth == rhs.depth ); + } + + bool operator!=( TraceRaysIndirectCommandKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + uint32_t width = {}; + uint32_t height = {}; + uint32_t depth = {}; + + }; + static_assert( sizeof( TraceRaysIndirectCommandKHR ) == sizeof( VkTraceRaysIndirectCommandKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + struct ValidationFeaturesEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ValidationFeaturesEXT(uint32_t enabledValidationFeatureCount_ = {}, const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT* pEnabledValidationFeatures_ = {}, uint32_t disabledValidationFeatureCount_ = {}, const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT* pDisabledValidationFeatures_ = {}) VULKAN_HPP_NOEXCEPT + : enabledValidationFeatureCount( enabledValidationFeatureCount_ ), pEnabledValidationFeatures( pEnabledValidationFeatures_ ), disabledValidationFeatureCount( disabledValidationFeatureCount_ ), pDisabledValidationFeatures( pDisabledValidationFeatures_ ) + {} + + VULKAN_HPP_CONSTEXPR ValidationFeaturesEXT( ValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ValidationFeaturesEXT( VkValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ValidationFeaturesEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & enabledValidationFeatures_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & disabledValidationFeatures_ = {} ) + : enabledValidationFeatureCount( static_cast( enabledValidationFeatures_.size() ) ), pEnabledValidationFeatures( enabledValidationFeatures_.data() ), disabledValidationFeatureCount( static_cast( disabledValidationFeatures_.size() ) ), pDisabledValidationFeatures( disabledValidationFeatures_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ValidationFeaturesEXT & operator=( VkValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ValidationFeaturesEXT & operator=( ValidationFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ValidationFeaturesEXT ) ); + return *this; + } + + ValidationFeaturesEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ValidationFeaturesEXT & setEnabledValidationFeatureCount( uint32_t enabledValidationFeatureCount_ ) VULKAN_HPP_NOEXCEPT + { + enabledValidationFeatureCount = enabledValidationFeatureCount_; + return *this; + } + + ValidationFeaturesEXT & setPEnabledValidationFeatures( const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT* pEnabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT + { + pEnabledValidationFeatures = pEnabledValidationFeatures_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ValidationFeaturesEXT & setEnabledValidationFeatures( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & enabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT + { + enabledValidationFeatureCount = static_cast( enabledValidationFeatures_.size() ); + pEnabledValidationFeatures = enabledValidationFeatures_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + ValidationFeaturesEXT & setDisabledValidationFeatureCount( uint32_t disabledValidationFeatureCount_ ) VULKAN_HPP_NOEXCEPT + { + disabledValidationFeatureCount = disabledValidationFeatureCount_; + return *this; + } + + ValidationFeaturesEXT & setPDisabledValidationFeatures( const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT* pDisabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT + { + pDisabledValidationFeatures = pDisabledValidationFeatures_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ValidationFeaturesEXT & setDisabledValidationFeatures( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & disabledValidationFeatures_ ) VULKAN_HPP_NOEXCEPT + { + disabledValidationFeatureCount = static_cast( disabledValidationFeatures_.size() ); + pDisabledValidationFeatures = disabledValidationFeatures_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkValidationFeaturesEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkValidationFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ValidationFeaturesEXT const& ) const = default; +#else + bool operator==( ValidationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( enabledValidationFeatureCount == rhs.enabledValidationFeatureCount ) + && ( pEnabledValidationFeatures == rhs.pEnabledValidationFeatures ) + && ( disabledValidationFeatureCount == rhs.disabledValidationFeatureCount ) + && ( pDisabledValidationFeatures == rhs.pDisabledValidationFeatures ); + } + + bool operator!=( ValidationFeaturesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationFeaturesEXT; + const void* pNext = {}; + uint32_t enabledValidationFeatureCount = {}; + const VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT* pEnabledValidationFeatures = {}; + uint32_t disabledValidationFeatureCount = {}; + const VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT* pDisabledValidationFeatures = {}; + + }; + static_assert( sizeof( ValidationFeaturesEXT ) == sizeof( VkValidationFeaturesEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ValidationFeaturesEXT; + }; + + struct ValidationFlagsEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eValidationFlagsEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ValidationFlagsEXT(uint32_t disabledValidationCheckCount_ = {}, const VULKAN_HPP_NAMESPACE::ValidationCheckEXT* pDisabledValidationChecks_ = {}) VULKAN_HPP_NOEXCEPT + : disabledValidationCheckCount( disabledValidationCheckCount_ ), pDisabledValidationChecks( pDisabledValidationChecks_ ) + {} + + VULKAN_HPP_CONSTEXPR ValidationFlagsEXT( ValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ValidationFlagsEXT( VkValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ValidationFlagsEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & disabledValidationChecks_ ) + : disabledValidationCheckCount( static_cast( disabledValidationChecks_.size() ) ), pDisabledValidationChecks( disabledValidationChecks_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ValidationFlagsEXT & operator=( VkValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ValidationFlagsEXT & operator=( ValidationFlagsEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ValidationFlagsEXT ) ); + return *this; + } + + ValidationFlagsEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ValidationFlagsEXT & setDisabledValidationCheckCount( uint32_t disabledValidationCheckCount_ ) VULKAN_HPP_NOEXCEPT + { + disabledValidationCheckCount = disabledValidationCheckCount_; + return *this; + } + + ValidationFlagsEXT & setPDisabledValidationChecks( const VULKAN_HPP_NAMESPACE::ValidationCheckEXT* pDisabledValidationChecks_ ) VULKAN_HPP_NOEXCEPT + { + pDisabledValidationChecks = pDisabledValidationChecks_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + ValidationFlagsEXT & setDisabledValidationChecks( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & disabledValidationChecks_ ) VULKAN_HPP_NOEXCEPT + { + disabledValidationCheckCount = static_cast( disabledValidationChecks_.size() ); + pDisabledValidationChecks = disabledValidationChecks_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkValidationFlagsEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkValidationFlagsEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ValidationFlagsEXT const& ) const = default; +#else + bool operator==( ValidationFlagsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( disabledValidationCheckCount == rhs.disabledValidationCheckCount ) + && ( pDisabledValidationChecks == rhs.pDisabledValidationChecks ); + } + + bool operator!=( ValidationFlagsEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eValidationFlagsEXT; + const void* pNext = {}; + uint32_t disabledValidationCheckCount = {}; + const VULKAN_HPP_NAMESPACE::ValidationCheckEXT* pDisabledValidationChecks = {}; + + }; + static_assert( sizeof( ValidationFlagsEXT ) == sizeof( VkValidationFlagsEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ValidationFlagsEXT; + }; + +#ifdef VK_USE_PLATFORM_VI_NN + struct ViSurfaceCreateInfoNN + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eViSurfaceCreateInfoNN; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ViSurfaceCreateInfoNN(VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags_ = {}, void* window_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), window( window_ ) + {} + + VULKAN_HPP_CONSTEXPR ViSurfaceCreateInfoNN( ViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ViSurfaceCreateInfoNN( VkViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + ViSurfaceCreateInfoNN & operator=( VkViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + ViSurfaceCreateInfoNN & operator=( ViSurfaceCreateInfoNN const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( ViSurfaceCreateInfoNN ) ); + return *this; + } + + ViSurfaceCreateInfoNN & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + ViSurfaceCreateInfoNN & setFlags( VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + ViSurfaceCreateInfoNN & setWindow( void* window_ ) VULKAN_HPP_NOEXCEPT + { + window = window_; + return *this; + } + + + operator VkViSurfaceCreateInfoNN const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkViSurfaceCreateInfoNN &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( ViSurfaceCreateInfoNN const& ) const = default; +#else + bool operator==( ViSurfaceCreateInfoNN const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( window == rhs.window ); + } + + bool operator!=( ViSurfaceCreateInfoNN const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eViSurfaceCreateInfoNN; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::ViSurfaceCreateFlagsNN flags = {}; + void* window = {}; + + }; + static_assert( sizeof( ViSurfaceCreateInfoNN ) == sizeof( VkViSurfaceCreateInfoNN ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = ViSurfaceCreateInfoNN; + }; +#endif /*VK_USE_PLATFORM_VI_NN*/ + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + struct WaylandSurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWaylandSurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR WaylandSurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags_ = {}, struct wl_display* display_ = {}, struct wl_surface* surface_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), display( display_ ), surface( surface_ ) + {} + + VULKAN_HPP_CONSTEXPR WaylandSurfaceCreateInfoKHR( WaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + WaylandSurfaceCreateInfoKHR( VkWaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + WaylandSurfaceCreateInfoKHR & operator=( VkWaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + WaylandSurfaceCreateInfoKHR & operator=( WaylandSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( WaylandSurfaceCreateInfoKHR ) ); + return *this; + } + + WaylandSurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + WaylandSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + WaylandSurfaceCreateInfoKHR & setDisplay( struct wl_display* display_ ) VULKAN_HPP_NOEXCEPT + { + display = display_; + return *this; + } + + WaylandSurfaceCreateInfoKHR & setSurface( struct wl_surface* surface_ ) VULKAN_HPP_NOEXCEPT + { + surface = surface_; + return *this; + } + + + operator VkWaylandSurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWaylandSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( WaylandSurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( WaylandSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( display == rhs.display ) + && ( surface == rhs.surface ); + } + + bool operator!=( WaylandSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWaylandSurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateFlagsKHR flags = {}; + struct wl_display* display = {}; + struct wl_surface* surface = {}; + + }; + static_assert( sizeof( WaylandSurfaceCreateInfoKHR ) == sizeof( VkWaylandSurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = WaylandSurfaceCreateInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct Win32KeyedMutexAcquireReleaseInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoKHR(uint32_t acquireCount_ = {}, const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs_ = {}, const uint64_t* pAcquireKeys_ = {}, const uint32_t* pAcquireTimeouts_ = {}, uint32_t releaseCount_ = {}, const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs_ = {}, const uint64_t* pReleaseKeys_ = {}) VULKAN_HPP_NOEXCEPT + : acquireCount( acquireCount_ ), pAcquireSyncs( pAcquireSyncs_ ), pAcquireKeys( pAcquireKeys_ ), pAcquireTimeouts( pAcquireTimeouts_ ), releaseCount( releaseCount_ ), pReleaseSyncs( pReleaseSyncs_ ), pReleaseKeys( pReleaseKeys_ ) + {} + + VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoKHR( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Win32KeyedMutexAcquireReleaseInfoKHR( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeouts_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ = {} ) + : acquireCount( static_cast( acquireSyncs_.size() ) ), pAcquireSyncs( acquireSyncs_.data() ), pAcquireKeys( acquireKeys_.data() ), pAcquireTimeouts( acquireTimeouts_.data() ), releaseCount( static_cast( releaseSyncs_.size() ) ), pReleaseSyncs( releaseSyncs_.data() ), pReleaseKeys( releaseKeys_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireKeys_.size() ); + VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireTimeouts_.size() ); + VULKAN_HPP_ASSERT( acquireKeys_.size() == acquireTimeouts_.size() ); +#else + if ( acquireSyncs_.size() != acquireKeys_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireSyncs_.size() != acquireKeys_.size()" ); + } + if ( acquireSyncs_.size() != acquireTimeouts_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireSyncs_.size() != acquireTimeouts_.size()" ); + } + if ( acquireKeys_.size() != acquireTimeouts_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: acquireKeys_.size() != acquireTimeouts_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( releaseSyncs_.size() == releaseKeys_.size() ); +#else + if ( releaseSyncs_.size() != releaseKeys_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoKHR::Win32KeyedMutexAcquireReleaseInfoKHR: releaseSyncs_.size() != releaseKeys_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Win32KeyedMutexAcquireReleaseInfoKHR & operator=( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoKHR & operator=( Win32KeyedMutexAcquireReleaseInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) ); + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireCount( uint32_t acquireCount_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = acquireCount_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoKHR & setPAcquireSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireSyncs = pAcquireSyncs_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireSyncs( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireSyncs_.size() ); + pAcquireSyncs = acquireSyncs_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoKHR & setPAcquireKeys( const uint64_t* pAcquireKeys_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireKeys = pAcquireKeys_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireKeys( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireKeys_.size() ); + pAcquireKeys = acquireKeys_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoKHR & setPAcquireTimeouts( const uint32_t* pAcquireTimeouts_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireTimeouts = pAcquireTimeouts_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR & setAcquireTimeouts( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeouts_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireTimeouts_.size() ); + pAcquireTimeouts = acquireTimeouts_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseCount( uint32_t releaseCount_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = releaseCount_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoKHR & setPReleaseSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs_ ) VULKAN_HPP_NOEXCEPT + { + pReleaseSyncs = pReleaseSyncs_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseSyncs( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = static_cast( releaseSyncs_.size() ); + pReleaseSyncs = releaseSyncs_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoKHR & setPReleaseKeys( const uint64_t* pReleaseKeys_ ) VULKAN_HPP_NOEXCEPT + { + pReleaseKeys = pReleaseKeys_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoKHR & setReleaseKeys( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = static_cast( releaseKeys_.size() ); + pReleaseKeys = releaseKeys_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkWin32KeyedMutexAcquireReleaseInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWin32KeyedMutexAcquireReleaseInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Win32KeyedMutexAcquireReleaseInfoKHR const& ) const = default; +#else + bool operator==( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( acquireCount == rhs.acquireCount ) + && ( pAcquireSyncs == rhs.pAcquireSyncs ) + && ( pAcquireKeys == rhs.pAcquireKeys ) + && ( pAcquireTimeouts == rhs.pAcquireTimeouts ) + && ( releaseCount == rhs.releaseCount ) + && ( pReleaseSyncs == rhs.pReleaseSyncs ) + && ( pReleaseKeys == rhs.pReleaseKeys ); + } + + bool operator!=( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR; + const void* pNext = {}; + uint32_t acquireCount = {}; + const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs = {}; + const uint64_t* pAcquireKeys = {}; + const uint32_t* pAcquireTimeouts = {}; + uint32_t releaseCount = {}; + const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs = {}; + const uint64_t* pReleaseKeys = {}; + + }; + static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = Win32KeyedMutexAcquireReleaseInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct Win32KeyedMutexAcquireReleaseInfoNV + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWin32KeyedMutexAcquireReleaseInfoNV; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoNV(uint32_t acquireCount_ = {}, const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs_ = {}, const uint64_t* pAcquireKeys_ = {}, const uint32_t* pAcquireTimeoutMilliseconds_ = {}, uint32_t releaseCount_ = {}, const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs_ = {}, const uint64_t* pReleaseKeys_ = {}) VULKAN_HPP_NOEXCEPT + : acquireCount( acquireCount_ ), pAcquireSyncs( pAcquireSyncs_ ), pAcquireKeys( pAcquireKeys_ ), pAcquireTimeoutMilliseconds( pAcquireTimeoutMilliseconds_ ), releaseCount( releaseCount_ ), pReleaseSyncs( pReleaseSyncs_ ), pReleaseKeys( pReleaseKeys_ ) + {} + + VULKAN_HPP_CONSTEXPR Win32KeyedMutexAcquireReleaseInfoNV( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Win32KeyedMutexAcquireReleaseInfoNV( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeoutMilliseconds_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ = {}, VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ = {} ) + : acquireCount( static_cast( acquireSyncs_.size() ) ), pAcquireSyncs( acquireSyncs_.data() ), pAcquireKeys( acquireKeys_.data() ), pAcquireTimeoutMilliseconds( acquireTimeoutMilliseconds_.data() ), releaseCount( static_cast( releaseSyncs_.size() ) ), pReleaseSyncs( releaseSyncs_.data() ), pReleaseKeys( releaseKeys_.data() ) + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireKeys_.size() ); + VULKAN_HPP_ASSERT( acquireSyncs_.size() == acquireTimeoutMilliseconds_.size() ); + VULKAN_HPP_ASSERT( acquireKeys_.size() == acquireTimeoutMilliseconds_.size() ); +#else + if ( acquireSyncs_.size() != acquireKeys_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireSyncs_.size() != acquireKeys_.size()" ); + } + if ( acquireSyncs_.size() != acquireTimeoutMilliseconds_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireSyncs_.size() != acquireTimeoutMilliseconds_.size()" ); + } + if ( acquireKeys_.size() != acquireTimeoutMilliseconds_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: acquireKeys_.size() != acquireTimeoutMilliseconds_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( releaseSyncs_.size() == releaseKeys_.size() ); +#else + if ( releaseSyncs_.size() != releaseKeys_.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Win32KeyedMutexAcquireReleaseInfoNV::Win32KeyedMutexAcquireReleaseInfoNV: releaseSyncs_.size() != releaseKeys_.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Win32KeyedMutexAcquireReleaseInfoNV & operator=( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoNV & operator=( Win32KeyedMutexAcquireReleaseInfoNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) ); + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoNV & setAcquireCount( uint32_t acquireCount_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = acquireCount_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoNV & setPAcquireSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireSyncs = pAcquireSyncs_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV & setAcquireSyncs( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireSyncs_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireSyncs_.size() ); + pAcquireSyncs = acquireSyncs_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoNV & setPAcquireKeys( const uint64_t* pAcquireKeys_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireKeys = pAcquireKeys_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV & setAcquireKeys( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireKeys_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireKeys_.size() ); + pAcquireKeys = acquireKeys_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoNV & setPAcquireTimeoutMilliseconds( const uint32_t* pAcquireTimeoutMilliseconds_ ) VULKAN_HPP_NOEXCEPT + { + pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV & setAcquireTimeoutMilliseconds( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & acquireTimeoutMilliseconds_ ) VULKAN_HPP_NOEXCEPT + { + acquireCount = static_cast( acquireTimeoutMilliseconds_.size() ); + pAcquireTimeoutMilliseconds = acquireTimeoutMilliseconds_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoNV & setReleaseCount( uint32_t releaseCount_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = releaseCount_; + return *this; + } + + Win32KeyedMutexAcquireReleaseInfoNV & setPReleaseSyncs( const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs_ ) VULKAN_HPP_NOEXCEPT + { + pReleaseSyncs = pReleaseSyncs_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV & setReleaseSyncs( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseSyncs_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = static_cast( releaseSyncs_.size() ); + pReleaseSyncs = releaseSyncs_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + Win32KeyedMutexAcquireReleaseInfoNV & setPReleaseKeys( const uint64_t* pReleaseKeys_ ) VULKAN_HPP_NOEXCEPT + { + pReleaseKeys = pReleaseKeys_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + Win32KeyedMutexAcquireReleaseInfoNV & setReleaseKeys( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & releaseKeys_ ) VULKAN_HPP_NOEXCEPT + { + releaseCount = static_cast( releaseKeys_.size() ); + pReleaseKeys = releaseKeys_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkWin32KeyedMutexAcquireReleaseInfoNV const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWin32KeyedMutexAcquireReleaseInfoNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Win32KeyedMutexAcquireReleaseInfoNV const& ) const = default; +#else + bool operator==( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( acquireCount == rhs.acquireCount ) + && ( pAcquireSyncs == rhs.pAcquireSyncs ) + && ( pAcquireKeys == rhs.pAcquireKeys ) + && ( pAcquireTimeoutMilliseconds == rhs.pAcquireTimeoutMilliseconds ) + && ( releaseCount == rhs.releaseCount ) + && ( pReleaseSyncs == rhs.pReleaseSyncs ) + && ( pReleaseKeys == rhs.pReleaseKeys ); + } + + bool operator!=( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoNV; + const void* pNext = {}; + uint32_t acquireCount = {}; + const VULKAN_HPP_NAMESPACE::DeviceMemory* pAcquireSyncs = {}; + const uint64_t* pAcquireKeys = {}; + const uint32_t* pAcquireTimeoutMilliseconds = {}; + uint32_t releaseCount = {}; + const VULKAN_HPP_NAMESPACE::DeviceMemory* pReleaseSyncs = {}; + const uint64_t* pReleaseKeys = {}; + + }; + static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoNV ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = Win32KeyedMutexAcquireReleaseInfoNV; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + +#ifdef VK_USE_PLATFORM_WIN32_KHR + struct Win32SurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWin32SurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR Win32SurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags_ = {}, HINSTANCE hinstance_ = {}, HWND hwnd_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), hinstance( hinstance_ ), hwnd( hwnd_ ) + {} + + VULKAN_HPP_CONSTEXPR Win32SurfaceCreateInfoKHR( Win32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + Win32SurfaceCreateInfoKHR( VkWin32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + Win32SurfaceCreateInfoKHR & operator=( VkWin32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + Win32SurfaceCreateInfoKHR & operator=( Win32SurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( Win32SurfaceCreateInfoKHR ) ); + return *this; + } + + Win32SurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + Win32SurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + Win32SurfaceCreateInfoKHR & setHinstance( HINSTANCE hinstance_ ) VULKAN_HPP_NOEXCEPT + { + hinstance = hinstance_; + return *this; + } + + Win32SurfaceCreateInfoKHR & setHwnd( HWND hwnd_ ) VULKAN_HPP_NOEXCEPT + { + hwnd = hwnd_; + return *this; + } + + + operator VkWin32SurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWin32SurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Win32SurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( Win32SurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( hinstance == rhs.hinstance ) + && ( hwnd == rhs.hwnd ); + } + + bool operator!=( Win32SurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWin32SurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::Win32SurfaceCreateFlagsKHR flags = {}; + HINSTANCE hinstance = {}; + HWND hwnd = {}; + + }; + static_assert( sizeof( Win32SurfaceCreateInfoKHR ) == sizeof( VkWin32SurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = Win32SurfaceCreateInfoKHR; + }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + struct WriteDescriptorSetAccelerationStructureKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWriteDescriptorSetAccelerationStructureKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureKHR(uint32_t accelerationStructureCount_ = {}, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures_ = {}) VULKAN_HPP_NOEXCEPT + : accelerationStructureCount( accelerationStructureCount_ ), pAccelerationStructures( pAccelerationStructures_ ) + {} + + VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureKHR( WriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + WriteDescriptorSetAccelerationStructureKHR( VkWriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSetAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & accelerationStructures_ ) + : accelerationStructureCount( static_cast( accelerationStructures_.size() ) ), pAccelerationStructures( accelerationStructures_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + WriteDescriptorSetAccelerationStructureKHR & operator=( VkWriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + WriteDescriptorSetAccelerationStructureKHR & operator=( WriteDescriptorSetAccelerationStructureKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( WriteDescriptorSetAccelerationStructureKHR ) ); + return *this; + } + + WriteDescriptorSetAccelerationStructureKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + WriteDescriptorSetAccelerationStructureKHR & setAccelerationStructureCount( uint32_t accelerationStructureCount_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructureCount = accelerationStructureCount_; + return *this; + } + + WriteDescriptorSetAccelerationStructureKHR & setPAccelerationStructures( const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures_ ) VULKAN_HPP_NOEXCEPT + { + pAccelerationStructures = pAccelerationStructures_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + WriteDescriptorSetAccelerationStructureKHR & setAccelerationStructures( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & accelerationStructures_ ) VULKAN_HPP_NOEXCEPT + { + accelerationStructureCount = static_cast( accelerationStructures_.size() ); + pAccelerationStructures = accelerationStructures_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkWriteDescriptorSetAccelerationStructureKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWriteDescriptorSetAccelerationStructureKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( WriteDescriptorSetAccelerationStructureKHR const& ) const = default; +#else + bool operator==( WriteDescriptorSetAccelerationStructureKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( accelerationStructureCount == rhs.accelerationStructureCount ) + && ( pAccelerationStructures == rhs.pAccelerationStructures ); + } + + bool operator!=( WriteDescriptorSetAccelerationStructureKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetAccelerationStructureKHR; + const void* pNext = {}; + uint32_t accelerationStructureCount = {}; + const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures = {}; + + }; + static_assert( sizeof( WriteDescriptorSetAccelerationStructureKHR ) == sizeof( VkWriteDescriptorSetAccelerationStructureKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = WriteDescriptorSetAccelerationStructureKHR; + }; + using WriteDescriptorSetAccelerationStructureNV = WriteDescriptorSetAccelerationStructureKHR; + + struct WriteDescriptorSetInlineUniformBlockEXT + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eWriteDescriptorSetInlineUniformBlockEXT; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT(uint32_t dataSize_ = {}, const void* pData_ = {}) VULKAN_HPP_NOEXCEPT + : dataSize( dataSize_ ), pData( pData_ ) + {} + + VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + WriteDescriptorSetInlineUniformBlockEXT( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + WriteDescriptorSetInlineUniformBlockEXT( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) + : dataSize( static_cast( data_.size() * sizeof(T) ) ), pData( data_.data() ) + {} +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + WriteDescriptorSetInlineUniformBlockEXT & operator=( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + WriteDescriptorSetInlineUniformBlockEXT & operator=( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( WriteDescriptorSetInlineUniformBlockEXT ) ); + return *this; + } + + WriteDescriptorSetInlineUniformBlockEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + WriteDescriptorSetInlineUniformBlockEXT & setDataSize( uint32_t dataSize_ ) VULKAN_HPP_NOEXCEPT + { + dataSize = dataSize_; + return *this; + } + + WriteDescriptorSetInlineUniformBlockEXT & setPData( const void* pData_ ) VULKAN_HPP_NOEXCEPT + { + pData = pData_; + return *this; + } + +#if !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + template + WriteDescriptorSetInlineUniformBlockEXT & setData( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries const & data_ ) VULKAN_HPP_NOEXCEPT + { + dataSize = static_cast( data_.size() * sizeof(T) ); + pData = data_.data(); + return *this; + } +#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE) + + + operator VkWriteDescriptorSetInlineUniformBlockEXT const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkWriteDescriptorSetInlineUniformBlockEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( WriteDescriptorSetInlineUniformBlockEXT const& ) const = default; +#else + bool operator==( WriteDescriptorSetInlineUniformBlockEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( dataSize == rhs.dataSize ) + && ( pData == rhs.pData ); + } + + bool operator!=( WriteDescriptorSetInlineUniformBlockEXT const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetInlineUniformBlockEXT; + const void* pNext = {}; + uint32_t dataSize = {}; + const void* pData = {}; + + }; + static_assert( sizeof( WriteDescriptorSetInlineUniformBlockEXT ) == sizeof( VkWriteDescriptorSetInlineUniformBlockEXT ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = WriteDescriptorSetInlineUniformBlockEXT; + }; + +#ifdef VK_USE_PLATFORM_XCB_KHR + struct XcbSurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eXcbSurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR XcbSurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags_ = {}, xcb_connection_t* connection_ = {}, xcb_window_t window_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), connection( connection_ ), window( window_ ) + {} + + VULKAN_HPP_CONSTEXPR XcbSurfaceCreateInfoKHR( XcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + XcbSurfaceCreateInfoKHR( VkXcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + XcbSurfaceCreateInfoKHR & operator=( VkXcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + XcbSurfaceCreateInfoKHR & operator=( XcbSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( XcbSurfaceCreateInfoKHR ) ); + return *this; + } + + XcbSurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + XcbSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + XcbSurfaceCreateInfoKHR & setConnection( xcb_connection_t* connection_ ) VULKAN_HPP_NOEXCEPT + { + connection = connection_; + return *this; + } + + XcbSurfaceCreateInfoKHR & setWindow( xcb_window_t window_ ) VULKAN_HPP_NOEXCEPT + { + window = window_; + return *this; + } + + + operator VkXcbSurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkXcbSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( XcbSurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( XcbSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( connection == rhs.connection ) + && ( memcmp( &window, &rhs.window, sizeof( xcb_window_t ) ) == 0 ); + } + + bool operator!=( XcbSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eXcbSurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::XcbSurfaceCreateFlagsKHR flags = {}; + xcb_connection_t* connection = {}; + xcb_window_t window = {}; + + }; + static_assert( sizeof( XcbSurfaceCreateInfoKHR ) == sizeof( VkXcbSurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = XcbSurfaceCreateInfoKHR; + }; +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + +#ifdef VK_USE_PLATFORM_XLIB_KHR + struct XlibSurfaceCreateInfoKHR + { + static const bool allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eXlibSurfaceCreateInfoKHR; + +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR XlibSurfaceCreateInfoKHR(VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags_ = {}, Display* dpy_ = {}, Window window_ = {}) VULKAN_HPP_NOEXCEPT + : flags( flags_ ), dpy( dpy_ ), window( window_ ) + {} + + VULKAN_HPP_CONSTEXPR XlibSurfaceCreateInfoKHR( XlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + XlibSurfaceCreateInfoKHR( VkXlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = rhs; + } +#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + + XlibSurfaceCreateInfoKHR & operator=( VkXlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + XlibSurfaceCreateInfoKHR & operator=( XlibSurfaceCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT + { + memcpy( static_cast( this ), &rhs, sizeof( XlibSurfaceCreateInfoKHR ) ); + return *this; + } + + XlibSurfaceCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + XlibSurfaceCreateInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + XlibSurfaceCreateInfoKHR & setDpy( Display* dpy_ ) VULKAN_HPP_NOEXCEPT + { + dpy = dpy_; + return *this; + } + + XlibSurfaceCreateInfoKHR & setWindow( Window window_ ) VULKAN_HPP_NOEXCEPT + { + window = window_; + return *this; + } + + + operator VkXlibSurfaceCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkXlibSurfaceCreateInfoKHR &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( XlibSurfaceCreateInfoKHR const& ) const = default; +#else + bool operator==( XlibSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return ( sType == rhs.sType ) + && ( pNext == rhs.pNext ) + && ( flags == rhs.flags ) + && ( dpy == rhs.dpy ) + && ( memcmp( &window, &rhs.window, sizeof( Window ) ) == 0 ); + } + + bool operator!=( XlibSurfaceCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + + + public: + const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eXlibSurfaceCreateInfoKHR; + const void* pNext = {}; + VULKAN_HPP_NAMESPACE::XlibSurfaceCreateFlagsKHR flags = {}; + Display* dpy = {}; + Window window = {}; + + }; + static_assert( sizeof( XlibSurfaceCreateInfoKHR ) == sizeof( VkXlibSurfaceCreateInfoKHR ), "struct and wrapper have different size!" ); + static_assert( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); + + template <> + struct CppType + { + using Type = XlibSurfaceCreateInfoKHR; + }; +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + class DebugReportCallbackEXT + { + public: + using CType = VkDebugReportCallbackEXT; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDebugReportCallbackEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDebugReportCallbackEXT; + + public: + VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT() VULKAN_HPP_NOEXCEPT + : m_debugReportCallbackEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_debugReportCallbackEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DebugReportCallbackEXT( VkDebugReportCallbackEXT debugReportCallbackEXT ) VULKAN_HPP_NOEXCEPT + : m_debugReportCallbackEXT( debugReportCallbackEXT ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DebugReportCallbackEXT & operator=(VkDebugReportCallbackEXT debugReportCallbackEXT) VULKAN_HPP_NOEXCEPT + { + m_debugReportCallbackEXT = debugReportCallbackEXT; + return *this; + } +#endif + + DebugReportCallbackEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_debugReportCallbackEXT = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugReportCallbackEXT const& ) const = default; +#else + bool operator==( DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT == rhs.m_debugReportCallbackEXT; + } + + bool operator!=(DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT != rhs.m_debugReportCallbackEXT; + } + + bool operator<(DebugReportCallbackEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT < rhs.m_debugReportCallbackEXT; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugReportCallbackEXT() const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_debugReportCallbackEXT == VK_NULL_HANDLE; + } + + private: + VkDebugReportCallbackEXT m_debugReportCallbackEXT; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT ) == sizeof( VkDebugReportCallbackEXT ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + + class DebugUtilsMessengerEXT + { + public: + using CType = VkDebugUtilsMessengerEXT; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eDebugUtilsMessengerEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eUnknown; + + public: + VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT() VULKAN_HPP_NOEXCEPT + : m_debugUtilsMessengerEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_debugUtilsMessengerEXT(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT DebugUtilsMessengerEXT( VkDebugUtilsMessengerEXT debugUtilsMessengerEXT ) VULKAN_HPP_NOEXCEPT + : m_debugUtilsMessengerEXT( debugUtilsMessengerEXT ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + DebugUtilsMessengerEXT & operator=(VkDebugUtilsMessengerEXT debugUtilsMessengerEXT) VULKAN_HPP_NOEXCEPT + { + m_debugUtilsMessengerEXT = debugUtilsMessengerEXT; + return *this; + } +#endif + + DebugUtilsMessengerEXT & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_debugUtilsMessengerEXT = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( DebugUtilsMessengerEXT const& ) const = default; +#else + bool operator==( DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT == rhs.m_debugUtilsMessengerEXT; + } + + bool operator!=(DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT != rhs.m_debugUtilsMessengerEXT; + } + + bool operator<(DebugUtilsMessengerEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT < rhs.m_debugUtilsMessengerEXT; + } +#endif + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugUtilsMessengerEXT() const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_debugUtilsMessengerEXT == VK_NULL_HANDLE; + } + + private: + VkDebugUtilsMessengerEXT m_debugUtilsMessengerEXT; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT ) == sizeof( VkDebugUtilsMessengerEXT ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT; + }; + + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + +#ifndef VULKAN_HPP_NO_SMART_HANDLE + class Instance; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDebugReportCallbackEXT = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueDebugUtilsMessengerEXT = UniqueHandle; + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueSurfaceKHR = UniqueHandle; +#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ + + class Instance + { + public: + using CType = VkInstance; + + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eInstance; + static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eInstance; + + public: + VULKAN_HPP_CONSTEXPR Instance() VULKAN_HPP_NOEXCEPT + : m_instance(VK_NULL_HANDLE) + {} + + VULKAN_HPP_CONSTEXPR Instance( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + : m_instance(VK_NULL_HANDLE) + {} + + VULKAN_HPP_TYPESAFE_EXPLICIT Instance( VkInstance instance ) VULKAN_HPP_NOEXCEPT + : m_instance( instance ) + {} + +#if defined(VULKAN_HPP_TYPESAFE_CONVERSION) + Instance & operator=(VkInstance instance) VULKAN_HPP_NOEXCEPT + { + m_instance = instance; + return *this; + } +#endif + + Instance & operator=( std::nullptr_t ) VULKAN_HPP_NOEXCEPT + { + m_instance = VK_NULL_HANDLE; + return *this; + } + +#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) + auto operator<=>( Instance const& ) const = default; +#else + bool operator==( Instance const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_instance == rhs.m_instance; + } + + bool operator!=(Instance const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_instance != rhs.m_instance; + } + + bool operator<(Instance const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return m_instance < rhs.m_instance; + } +#endif + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD Result createAndroidSurfaceKHR( const VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + VULKAN_HPP_NODISCARD Result createDebugReportCallbackEXT( const VULKAN_HPP_NAMESPACE::DebugReportCallbackCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT* pCallback, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createDebugUtilsMessengerEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT* pMessenger, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + template + VULKAN_HPP_NODISCARD Result createDirectFBSurfaceEXT( const VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDirectFBSurfaceEXT( const DirectFBSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDirectFBSurfaceEXTUnique( const DirectFBSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + + template + VULKAN_HPP_NODISCARD Result createDisplayPlaneSurfaceKHR( const VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result createHeadlessSurfaceEXT( const VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createHeadlessSurfaceEXT( const HeadlessSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createHeadlessSurfaceEXTUnique( const HeadlessSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_IOS_MVK + template + VULKAN_HPP_NODISCARD Result createIOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::IOSSurfaceCreateInfoMVK* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + + +#ifdef VK_USE_PLATFORM_FUCHSIA + template + VULKAN_HPP_NODISCARD Result createImagePipeSurfaceFUCHSIA( const VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createImagePipeSurfaceFUCHSIA( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createImagePipeSurfaceFUCHSIAUnique( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + + +#ifdef VK_USE_PLATFORM_MACOS_MVK + template + VULKAN_HPP_NODISCARD Result createMacOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateInfoMVK* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ + + +#ifdef VK_USE_PLATFORM_METAL_EXT + template + VULKAN_HPP_NODISCARD Result createMetalSurfaceEXT( const VULKAN_HPP_NAMESPACE::MetalSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createMetalSurfaceEXT( const MetalSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createMetalSurfaceEXTUnique( const MetalSurfaceCreateInfoEXT & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + + +#ifdef VK_USE_PLATFORM_GGP + template + VULKAN_HPP_NODISCARD Result createStreamDescriptorSurfaceGGP( const VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createStreamDescriptorSurfaceGGP( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createStreamDescriptorSurfaceGGPUnique( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_GGP*/ + + +#ifdef VK_USE_PLATFORM_VI_NN + template + VULKAN_HPP_NODISCARD Result createViSurfaceNN( const VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_VI_NN*/ + + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + template + VULKAN_HPP_NODISCARD Result createWaylandSurfaceKHR( const VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD Result createWin32SurfaceKHR( const VULKAN_HPP_NAMESPACE::Win32SurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_XCB_KHR + template + VULKAN_HPP_NODISCARD Result createXcbSurfaceKHR( const VULKAN_HPP_NAMESPACE::XcbSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_KHR + template + VULKAN_HPP_NODISCARD Result createXlibSurfaceKHR( const VULKAN_HPP_NAMESPACE::XlibSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + + template + void debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroups( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PhysicalDeviceGroupPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroups( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroupsKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PhysicalDeviceGroupPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroupsKHR( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, VULKAN_HPP_NAMESPACE::PhysicalDevice* pPhysicalDevices, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDevices( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = PhysicalDeviceAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDevices( PhysicalDeviceAllocator & physicalDeviceAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + void submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + void submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + VULKAN_HPP_TYPESAFE_EXPLICIT operator VkInstance() const VULKAN_HPP_NOEXCEPT + { + return m_instance; + } + + explicit operator bool() const VULKAN_HPP_NOEXCEPT + { + return m_instance != VK_NULL_HANDLE; + } + + bool operator!() const VULKAN_HPP_NOEXCEPT + { + return m_instance == VK_NULL_HANDLE; + } + + private: + VkInstance m_instance; + }; + static_assert( sizeof( VULKAN_HPP_NAMESPACE::Instance ) == sizeof( VkInstance ), "handle and wrapper have different size!" ); + + template <> + struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type + { + using type = VULKAN_HPP_NAMESPACE::Instance; + }; + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Instance; + }; + + + template <> + struct CppType + { + using Type = VULKAN_HPP_NAMESPACE::Instance; + }; + + + template <> + struct isVulkanHandleType + { + static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; + }; + +#ifndef VULKAN_HPP_NO_SMART_HANDLE + template class UniqueHandleTraits { public: using deleter = ObjectDestroy; }; + using UniqueInstance = UniqueHandle; +#endif /*VULKAN_HPP_NO_SMART_HANDLE*/ + + + template + VULKAN_HPP_NODISCARD Result createInstance( const VULKAN_HPP_NAMESPACE::InstanceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Instance* pInstance, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type createInstance( const InstanceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::ExtensionProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = ExtensionPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator & extensionPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::LayerProperties* pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); + template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename B = LayerPropertiesAllocator, typename std::enable_if::value, int>::type = 0> + VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + typename ResultValueType::type enumerateInstanceVersion( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result createInstance( const VULKAN_HPP_NAMESPACE::InstanceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Instance* pInstance, Dispatch const & d ) VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateInstance( reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkInstance *>( pInstance ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type createInstance( const InstanceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) + { + VULKAN_HPP_NAMESPACE::Instance instance; + Result result = static_cast( d.vkCreateInstance( reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &instance ) ) ); + return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING "::createInstance" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) + { + VULKAN_HPP_NAMESPACE::Instance instance; + Result result = static_cast( d.vkCreateInstance( reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &instance ) ) ); + ObjectDestroy deleter( allocator, d ); + return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING "::createInstanceUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::ExtensionProperties* pProperties, Dispatch const & d ) VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, reinterpret_cast< VkExtensionProperties *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, Dispatch const & d ) + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceExtensionProperties" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator & extensionPropertiesAllocator, Dispatch const & d ) + { + std::vector properties( extensionPropertiesAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceExtensionProperties" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::LayerProperties* pProperties, Dispatch const & d ) VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumerateInstanceLayerProperties( pPropertyCount, reinterpret_cast< VkLayerProperties *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceLayerProperties( Dispatch const & d ) + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceLayerProperties" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, Dispatch const & d ) + { + std::vector properties( layerPropertiesAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateInstanceLayerProperties( &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceLayerProperties" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const & d ) VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumerateInstanceVersion( pApiVersion ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type enumerateInstanceVersion( Dispatch const & d ) + { + uint32_t apiVersion; + Result result = static_cast( d.vkEnumerateInstanceVersion( &apiVersion ) ); + return createResultValue( result, apiVersion, VULKAN_HPP_NAMESPACE_STRING "::enumerateInstanceVersion" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::begin( const VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo* pBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast( pBeginInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::begin( const CommandBufferBeginInfo & beginInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast( &beginInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::begin" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRenderingEXT( const VULKAN_HPP_NAMESPACE::ConditionalRenderingBeginInfoEXT* pConditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginConditionalRenderingEXT( m_commandBuffer, reinterpret_cast( pConditionalRenderingBegin ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginConditionalRenderingEXT( m_commandBuffer, reinterpret_cast( &conditionalRenderingBegin ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( pLabelInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, VULKAN_HPP_NAMESPACE::QueryControlFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginQuery( m_commandBuffer, static_cast( queryPool ), query, static_cast( flags ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, VULKAN_HPP_NAMESPACE::QueryControlFlags flags, uint32_t index, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginQueryIndexedEXT( m_commandBuffer, static_cast( queryPool ), query, static_cast( flags ), index ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast( pRenderPassBegin ), static_cast( contents ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo & renderPassBegin, VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast( &renderPassBegin ), static_cast( contents ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass2( m_commandBuffer, reinterpret_cast( pRenderPassBegin ), reinterpret_cast( pSubpassBeginInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass2( m_commandBuffer, reinterpret_cast( &renderPassBegin ), reinterpret_cast( &subpassBeginInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassBeginInfo* pRenderPassBegin, const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass2KHR( m_commandBuffer, reinterpret_cast( pRenderPassBegin ), reinterpret_cast( pSubpassBeginInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginRenderPass2KHR( m_commandBuffer, reinterpret_cast( &renderPassBegin ), reinterpret_cast( &subpassBeginInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VULKAN_HPP_NAMESPACE::Buffer* pCounterBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pCounterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBeginTransformFeedbackEXT( m_commandBuffer, firstCounterBuffer, counterBufferCount, reinterpret_cast( pCounterBuffers ), reinterpret_cast( pCounterBufferOffsets ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); +#else + if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::beginTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdBeginTransformFeedbackEXT( m_commandBuffer, firstCounterBuffer, counterBuffers.size(), reinterpret_cast( counterBuffers.data() ), reinterpret_cast( counterBufferOffsets.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( layout ), firstSet, descriptorSetCount, reinterpret_cast( pDescriptorSets ), dynamicOffsetCount, pDynamicOffsets ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t firstSet, ArrayProxy const & descriptorSets, ArrayProxy const & dynamicOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( layout ), firstSet, descriptorSets.size(), reinterpret_cast( descriptorSets.data() ), dynamicOffsets.size(), dynamicOffsets.data() ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::IndexType indexType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindIndexBuffer( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( indexType ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindPipeline( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( pipeline ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindPipelineShaderGroupNV( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t groupIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindPipelineShaderGroupNV( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( pipeline ), groupIndex ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindShadingRateImageNV( m_commandBuffer, static_cast( imageView ), static_cast( imageLayout ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, const VULKAN_HPP_NAMESPACE::DeviceSize* pSizes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindTransformFeedbackBuffersEXT( m_commandBuffer, firstBinding, bindingCount, reinterpret_cast( pBuffers ), reinterpret_cast( pOffsets ), reinterpret_cast( pSizes ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, ArrayProxy const & sizes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); + VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); +#else + if ( buffers.size() != offsets.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != offsets.size()" ); + } + if ( !sizes.empty() && buffers.size() != sizes.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != sizes.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdBindTransformFeedbackBuffersEXT( m_commandBuffer, firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), reinterpret_cast( offsets.data() ), reinterpret_cast( sizes.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, bindingCount, reinterpret_cast( pBuffers ), reinterpret_cast( pOffsets ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); +#else + if ( buffers.size() != offsets.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers: buffers.size() != offsets.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), reinterpret_cast( offsets.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, const VULKAN_HPP_NAMESPACE::Buffer* pBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pOffsets, const VULKAN_HPP_NAMESPACE::DeviceSize* pSizes, const VULKAN_HPP_NAMESPACE::DeviceSize* pStrides, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBindVertexBuffers2EXT( m_commandBuffer, firstBinding, bindingCount, reinterpret_cast( pBuffers ), reinterpret_cast( pOffsets ), reinterpret_cast( pSizes ), reinterpret_cast( pStrides ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, ArrayProxy const & sizes, ArrayProxy const & strides, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); + VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); + VULKAN_HPP_ASSERT( strides.empty() || buffers.size() == strides.size() ); +#else + if ( buffers.size() != offsets.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != offsets.size()" ); + } + if ( !sizes.empty() && buffers.size() != sizes.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != sizes.size()" ); + } + if ( !strides.empty() && buffers.size() != strides.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != strides.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdBindVertexBuffers2EXT( m_commandBuffer, firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), reinterpret_cast( offsets.data() ), reinterpret_cast( sizes.data() ), reinterpret_cast( strides.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageBlit* pRegions, VULKAN_HPP_NAMESPACE::Filter filter, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBlitImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regionCount, reinterpret_cast( pRegions ), static_cast( filter ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, VULKAN_HPP_NAMESPACE::Filter filter, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBlitImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regions.size(), reinterpret_cast( regions.data() ), static_cast( filter ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( const VULKAN_HPP_NAMESPACE::BlitImageInfo2KHR* pBlitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBlitImage2KHR( m_commandBuffer, reinterpret_cast( pBlitImageInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( const BlitImageInfo2KHR & blitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBlitImage2KHR( m_commandBuffer, reinterpret_cast( &blitImageInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureIndirectKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NAMESPACE::DeviceSize indirectOffset, uint32_t indirectStride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBuildAccelerationStructureIndirectKHR( m_commandBuffer, reinterpret_cast( pInfo ), static_cast( indirectBuffer ), static_cast( indirectOffset ), indirectStride ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureIndirectKHR( const AccelerationStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NAMESPACE::DeviceSize indirectOffset, uint32_t indirectStride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBuildAccelerationStructureIndirectKHR( m_commandBuffer, reinterpret_cast( &info ), static_cast( indirectBuffer ), static_cast( indirectOffset ), indirectStride ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureKHR( uint32_t infoCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfos, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBuildAccelerationStructureKHR( m_commandBuffer, infoCount, reinterpret_cast( pInfos ), reinterpret_cast( ppOffsetInfos ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureKHR( ArrayProxy const & infos, ArrayProxy const & pOffsetInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( infos.size() == pOffsetInfos.size() ); +#else + if ( infos.size() != pOffsetInfos.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::buildAccelerationStructureKHR: infos.size() != pOffsetInfos.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdBuildAccelerationStructureKHR( m_commandBuffer, infos.size(), reinterpret_cast( infos.data() ), reinterpret_cast( pOffsetInfos.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureInfoNV* pInfo, VULKAN_HPP_NAMESPACE::Buffer instanceData, VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, VULKAN_HPP_NAMESPACE::Bool32 update, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::Buffer scratch, VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBuildAccelerationStructureNV( m_commandBuffer, reinterpret_cast( pInfo ), static_cast( instanceData ), static_cast( instanceOffset ), static_cast( update ), static_cast( dst ), static_cast( src ), static_cast( scratch ), static_cast( scratchOffset ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, VULKAN_HPP_NAMESPACE::Buffer instanceData, VULKAN_HPP_NAMESPACE::DeviceSize instanceOffset, VULKAN_HPP_NAMESPACE::Bool32 update, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::Buffer scratch, VULKAN_HPP_NAMESPACE::DeviceSize scratchOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdBuildAccelerationStructureNV( m_commandBuffer, reinterpret_cast( &info ), static_cast( instanceData ), static_cast( instanceOffset ), static_cast( update ), static_cast( dst ), static_cast( src ), static_cast( scratch ), static_cast( scratchOffset ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( uint32_t attachmentCount, const VULKAN_HPP_NAMESPACE::ClearAttachment* pAttachments, uint32_t rectCount, const VULKAN_HPP_NAMESPACE::ClearRect* pRects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearAttachments( m_commandBuffer, attachmentCount, reinterpret_cast( pAttachments ), rectCount, reinterpret_cast( pRects ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( ArrayProxy const & attachments, ArrayProxy const & rects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearAttachments( m_commandBuffer, attachments.size(), reinterpret_cast( attachments.data() ), rects.size(), reinterpret_cast( rects.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const VULKAN_HPP_NAMESPACE::ClearColorValue* pColor, uint32_t rangeCount, const VULKAN_HPP_NAMESPACE::ImageSubresourceRange* pRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearColorImage( m_commandBuffer, static_cast( image ), static_cast( imageLayout ), reinterpret_cast( pColor ), rangeCount, reinterpret_cast( pRanges ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy const & ranges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearColorImage( m_commandBuffer, static_cast( image ), static_cast( imageLayout ), reinterpret_cast( &color ), ranges.size(), reinterpret_cast( ranges.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const VULKAN_HPP_NAMESPACE::ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VULKAN_HPP_NAMESPACE::ImageSubresourceRange* pRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast( image ), static_cast( imageLayout ), reinterpret_cast( pDepthStencil ), rangeCount, reinterpret_cast( pRanges ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy const & ranges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast( image ), static_cast( imageLayout ), reinterpret_cast( &depthStencil ), ranges.size(), reinterpret_cast( ranges.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR dst, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR src, VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR mode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyAccelerationStructureNV( m_commandBuffer, static_cast( dst ), static_cast( src ), static_cast( mode ) ); + } + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureToMemoryKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyAccelerationStructureToMemoryKHR( m_commandBuffer, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyAccelerationStructureToMemoryKHR( m_commandBuffer, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferCopy* pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBuffer( m_commandBuffer, static_cast( srcBuffer ), static_cast( dstBuffer ), regionCount, reinterpret_cast( pRegions ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBuffer( m_commandBuffer, static_cast( srcBuffer ), static_cast( dstBuffer ), regions.size(), reinterpret_cast( regions.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferInfo2KHR* pCopyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBuffer2KHR( m_commandBuffer, reinterpret_cast( pCopyBufferInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( const CopyBufferInfo2KHR & copyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBuffer2KHR( m_commandBuffer, reinterpret_cast( ©BufferInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferImageCopy* pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast( srcBuffer ), static_cast( dstImage ), static_cast( dstImageLayout ), regionCount, reinterpret_cast( pRegions ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast( srcBuffer ), static_cast( dstImage ), static_cast( dstImageLayout ), regions.size(), reinterpret_cast( regions.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( const VULKAN_HPP_NAMESPACE::CopyBufferToImageInfo2KHR* pCopyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBufferToImage2KHR( m_commandBuffer, reinterpret_cast( pCopyBufferToImageInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( const CopyBufferToImageInfo2KHR & copyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyBufferToImage2KHR( m_commandBuffer, reinterpret_cast( ©BufferToImageInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageCopy* pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regionCount, reinterpret_cast( pRegions ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regions.size(), reinterpret_cast( regions.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( const VULKAN_HPP_NAMESPACE::CopyImageInfo2KHR* pCopyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImage2KHR( m_commandBuffer, reinterpret_cast( pCopyImageInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( const CopyImageInfo2KHR & copyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImage2KHR( m_commandBuffer, reinterpret_cast( ©ImageInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::BufferImageCopy* pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstBuffer ), regionCount, reinterpret_cast( pRegions ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstBuffer ), regions.size(), reinterpret_cast( regions.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( const VULKAN_HPP_NAMESPACE::CopyImageToBufferInfo2KHR* pCopyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImageToBuffer2KHR( m_commandBuffer, reinterpret_cast( pCopyImageToBufferInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( const CopyImageToBufferInfo2KHR & copyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyImageToBuffer2KHR( m_commandBuffer, reinterpret_cast( ©ImageToBufferInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyMemoryToAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyMemoryToAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdCopyQueryPoolResults( m_commandBuffer, static_cast( queryPool ), firstQuery, queryCount, static_cast( dstBuffer ), static_cast( dstOffset ), static_cast( stride ), static_cast( flags ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDebugMarkerEndEXT( m_commandBuffer ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDispatchBaseKHR( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDispatchIndirect( m_commandBuffer, static_cast( buffer ), static_cast( offset ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndexedIndirect( m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndexedIndirectCount( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndexedIndirectCountKHR( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndirect( m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCountEXT( uint32_t instanceCount, uint32_t firstInstance, VULKAN_HPP_NAMESPACE::Buffer counterBuffer, VULKAN_HPP_NAMESPACE::DeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndirectByteCountEXT( m_commandBuffer, instanceCount, firstInstance, static_cast( counterBuffer ), static_cast( counterBufferOffset ), counterOffset, vertexStride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndirectCount( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndirectCountAMD( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawIndirectCountKHR( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::Buffer countBuffer, VULKAN_HPP_NAMESPACE::DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawMeshTasksIndirectCountNV( m_commandBuffer, static_cast( buffer ), static_cast( offset ), static_cast( countBuffer ), static_cast( countBufferOffset ), maxDrawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawMeshTasksIndirectNV( m_commandBuffer, static_cast( buffer ), static_cast( offset ), drawCount, stride ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdDrawMeshTasksNV( m_commandBuffer, taskCount, firstTask ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endConditionalRenderingEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndConditionalRenderingEXT( m_commandBuffer ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndQuery( m_commandBuffer, static_cast( queryPool ), query ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, uint32_t index, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndQueryIndexedEXT( m_commandBuffer, static_cast( queryPool ), query, index ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endRenderPass( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndRenderPass( m_commandBuffer ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndRenderPass2( m_commandBuffer, reinterpret_cast( pSubpassEndInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( const SubpassEndInfo & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndRenderPass2( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndRenderPass2KHR( m_commandBuffer, reinterpret_cast( pSubpassEndInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndRenderPass2KHR( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const VULKAN_HPP_NAMESPACE::Buffer* pCounterBuffers, const VULKAN_HPP_NAMESPACE::DeviceSize* pCounterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdEndTransformFeedbackEXT( m_commandBuffer, firstCounterBuffer, counterBufferCount, reinterpret_cast( pCounterBuffers ), reinterpret_cast( pCounterBufferOffsets ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); +#else + if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::endTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkCmdEndTransformFeedbackEXT( m_commandBuffer, firstCounterBuffer, counterBuffers.size(), reinterpret_cast( counterBuffers.data() ), reinterpret_cast( counterBufferOffsets.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::executeCommands( uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdExecuteCommands( m_commandBuffer, commandBufferCount, reinterpret_cast( pCommandBuffers ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::executeCommands( ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdExecuteCommands( m_commandBuffer, commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV* pGeneratedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdExecuteGeneratedCommandsNV( m_commandBuffer, static_cast( isPreprocessed ), reinterpret_cast( pGeneratedCommandsInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( VULKAN_HPP_NAMESPACE::Bool32 isPreprocessed, const GeneratedCommandsInfoNV & generatedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdExecuteGeneratedCommandsNV( m_commandBuffer, static_cast( isPreprocessed ), reinterpret_cast( &generatedCommandsInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize size, uint32_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdFillBuffer( m_commandBuffer, static_cast( dstBuffer ), static_cast( dstOffset ), static_cast( size ), data ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( pLabelInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( VULKAN_HPP_NAMESPACE::SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdNextSubpass( m_commandBuffer, static_cast( contents ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdNextSubpass2( m_commandBuffer, reinterpret_cast( pSubpassBeginInfo ), reinterpret_cast( pSubpassEndInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdNextSubpass2( m_commandBuffer, reinterpret_cast( &subpassBeginInfo ), reinterpret_cast( &subpassEndInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( const VULKAN_HPP_NAMESPACE::SubpassBeginInfo* pSubpassBeginInfo, const VULKAN_HPP_NAMESPACE::SubpassEndInfo* pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdNextSubpass2KHR( m_commandBuffer, reinterpret_cast( pSubpassBeginInfo ), reinterpret_cast( pSubpassEndInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdNextSubpass2KHR( m_commandBuffer, reinterpret_cast( &subpassBeginInfo ), reinterpret_cast( &subpassEndInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VULKAN_HPP_NAMESPACE::MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPipelineBarrier( m_commandBuffer, static_cast( srcStageMask ), static_cast( dstStageMask ), static_cast( dependencyFlags ), memoryBarrierCount, reinterpret_cast( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast( pImageMemoryBarriers ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, VULKAN_HPP_NAMESPACE::DependencyFlags dependencyFlags, ArrayProxy const & memoryBarriers, ArrayProxy const & bufferMemoryBarriers, ArrayProxy const & imageMemoryBarriers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPipelineBarrier( m_commandBuffer, static_cast( srcStageMask ), static_cast( dstStageMask ), static_cast( dependencyFlags ), memoryBarriers.size(), reinterpret_cast( memoryBarriers.data() ), bufferMemoryBarriers.size(), reinterpret_cast( bufferMemoryBarriers.data() ), imageMemoryBarriers.size(), reinterpret_cast( imageMemoryBarriers.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( const VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoNV* pGeneratedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPreprocessGeneratedCommandsNV( m_commandBuffer, reinterpret_cast( pGeneratedCommandsInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPreprocessGeneratedCommandsNV( m_commandBuffer, reinterpret_cast( &generatedCommandsInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPushConstants( m_commandBuffer, static_cast( layout ), static_cast( stageFlags ), offset, size, pValues ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, VULKAN_HPP_NAMESPACE::ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy const & values, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPushConstants( m_commandBuffer, static_cast( layout ), static_cast( stageFlags ), offset, values.size() * sizeof( T ), reinterpret_cast( values.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VULKAN_HPP_NAMESPACE::WriteDescriptorSet* pDescriptorWrites, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( layout ), set, descriptorWriteCount, reinterpret_cast( pDescriptorWrites ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( VULKAN_HPP_NAMESPACE::PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, ArrayProxy const & descriptorWrites, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast( pipelineBindPoint ), static_cast( layout ), set, descriptorWrites.size(), reinterpret_cast( descriptorWrites.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE::PipelineLayout layout, uint32_t set, const void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, static_cast( descriptorUpdateTemplate ), static_cast( layout ), set, pData ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::resetEvent( VULKAN_HPP_NAMESPACE::Event event, VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResetEvent( m_commandBuffer, static_cast( event ), static_cast( stageMask ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResetQueryPool( m_commandBuffer, static_cast( queryPool ), firstQuery, queryCount ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, uint32_t regionCount, const VULKAN_HPP_NAMESPACE::ImageResolve* pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResolveImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regionCount, reinterpret_cast( pRegions ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, VULKAN_HPP_NAMESPACE::ImageLayout srcImageLayout, VULKAN_HPP_NAMESPACE::Image dstImage, VULKAN_HPP_NAMESPACE::ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResolveImage( m_commandBuffer, static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), static_cast( dstImageLayout ), regions.size(), reinterpret_cast( regions.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( const VULKAN_HPP_NAMESPACE::ResolveImageInfo2KHR* pResolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResolveImage2KHR( m_commandBuffer, reinterpret_cast( pResolveImageInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( const ResolveImageInfo2KHR & resolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdResolveImage2KHR( m_commandBuffer, reinterpret_cast( &resolveImageInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setCheckpointNV( const void* pCheckpointMarker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetCheckpointNV( m_commandBuffer, pCheckpointMarker ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV* pCustomSampleOrders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetCoarseSampleOrderNV( m_commandBuffer, static_cast( sampleOrderType ), customSampleOrderCount, reinterpret_cast( pCustomSampleOrders ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setCoarseSampleOrderNV( VULKAN_HPP_NAMESPACE::CoarseSampleOrderTypeNV sampleOrderType, ArrayProxy const & customSampleOrders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetCoarseSampleOrderNV( m_commandBuffer, static_cast( sampleOrderType ), customSampleOrders.size(), reinterpret_cast( customSampleOrders.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setCullModeEXT( VULKAN_HPP_NAMESPACE::CullModeFlags cullMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetCullModeEXT( m_commandBuffer, static_cast( cullMode ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthBoundsTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthBoundsTestEnableEXT( m_commandBuffer, static_cast( depthBoundsTestEnable ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthCompareOpEXT( m_commandBuffer, static_cast( depthCompareOp ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthTestEnableEXT( m_commandBuffer, static_cast( depthTestEnable ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 depthWriteEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDepthWriteEnableEXT( m_commandBuffer, static_cast( depthWriteEnable ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask ); + } + + template + VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VULKAN_HPP_NAMESPACE::Rect2D* pDiscardRectangles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangleCount, reinterpret_cast( pDiscardRectangles ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy const & discardRectangles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangles.size(), reinterpret_cast( discardRectangles.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setEvent( VULKAN_HPP_NAMESPACE::Event event, VULKAN_HPP_NAMESPACE::PipelineStageFlags stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetEvent( m_commandBuffer, static_cast( event ), static_cast( stageMask ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pExclusiveScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetExclusiveScissorNV( m_commandBuffer, firstExclusiveScissor, exclusiveScissorCount, reinterpret_cast( pExclusiveScissors ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetExclusiveScissorNV( m_commandBuffer, firstExclusiveScissor, exclusiveScissors.size(), reinterpret_cast( exclusiveScissors.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateEnumNV( VULKAN_HPP_NAMESPACE::FragmentShadingRateNV shadingRate, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetFragmentShadingRateEnumNV( m_commandBuffer, static_cast( shadingRate ), reinterpret_cast( combinerOps ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( const VULKAN_HPP_NAMESPACE::Extent2D* pFragmentSize, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetFragmentShadingRateKHR( m_commandBuffer, reinterpret_cast( pFragmentSize ), reinterpret_cast( combinerOps ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( const Extent2D & fragmentSize, const VULKAN_HPP_NAMESPACE::FragmentShadingRateCombinerOpKHR combinerOps[2], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetFragmentShadingRateKHR( m_commandBuffer, reinterpret_cast( &fragmentSize ), reinterpret_cast( combinerOps ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setFrontFaceEXT( VULKAN_HPP_NAMESPACE::FrontFace frontFace, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetFrontFaceEXT( m_commandBuffer, static_cast( frontFace ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetLineStippleEXT( m_commandBuffer, lineStippleFactor, lineStipplePattern ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetLineWidth( m_commandBuffer, lineWidth ); + } + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceMarkerINTEL( const VULKAN_HPP_NAMESPACE::PerformanceMarkerInfoINTEL* pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCmdSetPerformanceMarkerINTEL( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkCmdSetPerformanceMarkerINTEL( m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceMarkerINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceOverrideINTEL( const VULKAN_HPP_NAMESPACE::PerformanceOverrideInfoINTEL* pOverrideInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCmdSetPerformanceOverrideINTEL( m_commandBuffer, reinterpret_cast( pOverrideInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkCmdSetPerformanceOverrideINTEL( m_commandBuffer, reinterpret_cast( &overrideInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceOverrideINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceStreamMarkerINTEL( const VULKAN_HPP_NAMESPACE::PerformanceStreamMarkerInfoINTEL* pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCmdSetPerformanceStreamMarkerINTEL( m_commandBuffer, reinterpret_cast( pMarkerInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkCmdSetPerformanceStreamMarkerINTEL( m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceStreamMarkerINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveTopologyEXT( VULKAN_HPP_NAMESPACE::PrimitiveTopology primitiveTopology, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetPrimitiveTopologyEXT( m_commandBuffer, static_cast( primitiveTopology ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast( pSampleLocationsInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast( &sampleLocationsInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, uint32_t scissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissorCount, reinterpret_cast( pScissors ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, ArrayProxy const & scissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissors.size(), reinterpret_cast( scissors.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( uint32_t scissorCount, const VULKAN_HPP_NAMESPACE::Rect2D* pScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetScissorWithCountEXT( m_commandBuffer, scissorCount, reinterpret_cast( pScissors ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( ArrayProxy const & scissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetScissorWithCountEXT( m_commandBuffer, scissors.size(), reinterpret_cast( scissors.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast( faceMask ), compareMask ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setStencilOpEXT( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, VULKAN_HPP_NAMESPACE::StencilOp failOp, VULKAN_HPP_NAMESPACE::StencilOp passOp, VULKAN_HPP_NAMESPACE::StencilOp depthFailOp, VULKAN_HPP_NAMESPACE::CompareOp compareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetStencilOpEXT( m_commandBuffer, static_cast( faceMask ), static_cast( failOp ), static_cast( passOp ), static_cast( depthFailOp ), static_cast( compareOp ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t reference, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetStencilReference( m_commandBuffer, static_cast( faceMask ), reference ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnableEXT( VULKAN_HPP_NAMESPACE::Bool32 stencilTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetStencilTestEnableEXT( m_commandBuffer, static_cast( stencilTestEnable ) ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( VULKAN_HPP_NAMESPACE::StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast( faceMask ), writeMask ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::Viewport* pViewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast( pViewports ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, ArrayProxy const & viewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewports.size(), reinterpret_cast( viewports.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::ShadingRatePaletteNV* pShadingRatePalettes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportShadingRatePaletteNV( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast( pShadingRatePalettes ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( uint32_t firstViewport, ArrayProxy const & shadingRatePalettes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportShadingRatePaletteNV( m_commandBuffer, firstViewport, shadingRatePalettes.size(), reinterpret_cast( shadingRatePalettes.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::ViewportWScalingNV* pViewportWScalings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast( pViewportWScalings ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, ArrayProxy const & viewportWScalings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportWScalings.size(), reinterpret_cast( viewportWScalings.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( uint32_t viewportCount, const VULKAN_HPP_NAMESPACE::Viewport* pViewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportWithCountEXT( m_commandBuffer, viewportCount, reinterpret_cast( pViewports ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( ArrayProxy const & viewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdSetViewportWithCountEXT( m_commandBuffer, viewports.size(), reinterpret_cast( viewports.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pRaygenShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pMissShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pHitShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pCallableShaderBindingTable, VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdTraceRaysIndirectKHR( m_commandBuffer, reinterpret_cast( pRaygenShaderBindingTable ), reinterpret_cast( pMissShaderBindingTable ), reinterpret_cast( pHitShaderBindingTable ), reinterpret_cast( pCallableShaderBindingTable ), static_cast( buffer ), static_cast( offset ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( const StridedBufferRegionKHR & raygenShaderBindingTable, const StridedBufferRegionKHR & missShaderBindingTable, const StridedBufferRegionKHR & hitShaderBindingTable, const StridedBufferRegionKHR & callableShaderBindingTable, VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceSize offset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdTraceRaysIndirectKHR( m_commandBuffer, reinterpret_cast( &raygenShaderBindingTable ), reinterpret_cast( &missShaderBindingTable ), reinterpret_cast( &hitShaderBindingTable ), reinterpret_cast( &callableShaderBindingTable ), static_cast( buffer ), static_cast( offset ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pRaygenShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pMissShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pHitShaderBindingTable, const VULKAN_HPP_NAMESPACE::StridedBufferRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdTraceRaysKHR( m_commandBuffer, reinterpret_cast( pRaygenShaderBindingTable ), reinterpret_cast( pMissShaderBindingTable ), reinterpret_cast( pHitShaderBindingTable ), reinterpret_cast( pCallableShaderBindingTable ), width, height, depth ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( const StridedBufferRegionKHR & raygenShaderBindingTable, const StridedBufferRegionKHR & missShaderBindingTable, const StridedBufferRegionKHR & hitShaderBindingTable, const StridedBufferRegionKHR & callableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdTraceRaysKHR( m_commandBuffer, reinterpret_cast( &raygenShaderBindingTable ), reinterpret_cast( &missShaderBindingTable ), reinterpret_cast( &hitShaderBindingTable ), reinterpret_cast( &callableShaderBindingTable ), width, height, depth ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize raygenShaderBindingOffset, VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize missShaderBindingStride, VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize hitShaderBindingStride, VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingOffset, VULKAN_HPP_NAMESPACE::DeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdTraceRaysNV( m_commandBuffer, static_cast( raygenShaderBindingTableBuffer ), static_cast( raygenShaderBindingOffset ), static_cast( missShaderBindingTableBuffer ), static_cast( missShaderBindingOffset ), static_cast( missShaderBindingStride ), static_cast( hitShaderBindingTableBuffer ), static_cast( hitShaderBindingOffset ), static_cast( hitShaderBindingStride ), static_cast( callableShaderBindingTableBuffer ), static_cast( callableShaderBindingOffset ), static_cast( callableShaderBindingStride ), width, height, depth ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, VULKAN_HPP_NAMESPACE::DeviceSize dataSize, const void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdUpdateBuffer( m_commandBuffer, static_cast( dstBuffer ), static_cast( dstOffset ), static_cast( dataSize ), pData ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, ArrayProxy const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdUpdateBuffer( m_commandBuffer, static_cast( dstBuffer ), static_cast( dstOffset ), data.size() * sizeof( T ), reinterpret_cast( data.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::waitEvents( uint32_t eventCount, const VULKAN_HPP_NAMESPACE::Event* pEvents, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VULKAN_HPP_NAMESPACE::MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VULKAN_HPP_NAMESPACE::ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWaitEvents( m_commandBuffer, eventCount, reinterpret_cast( pEvents ), static_cast( srcStageMask ), static_cast( dstStageMask ), memoryBarrierCount, reinterpret_cast( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast( pImageMemoryBarriers ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::waitEvents( ArrayProxy const & events, VULKAN_HPP_NAMESPACE::PipelineStageFlags srcStageMask, VULKAN_HPP_NAMESPACE::PipelineStageFlags dstStageMask, ArrayProxy const & memoryBarriers, ArrayProxy const & bufferMemoryBarriers, ArrayProxy const & imageMemoryBarriers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWaitEvents( m_commandBuffer, events.size(), reinterpret_cast( events.data() ), static_cast( srcStageMask ), static_cast( dstStageMask ), memoryBarriers.size(), reinterpret_cast( memoryBarriers.data() ), bufferMemoryBarriers.size(), reinterpret_cast( bufferMemoryBarriers.data() ), imageMemoryBarriers.size(), reinterpret_cast( imageMemoryBarriers.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteAccelerationStructuresPropertiesKHR( m_commandBuffer, accelerationStructureCount, reinterpret_cast( pAccelerationStructures ), static_cast( queryType ), static_cast( queryPool ), firstQuery ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteAccelerationStructuresPropertiesKHR( m_commandBuffer, accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), static_cast( queryPool ), firstQuery ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteAccelerationStructuresPropertiesNV( m_commandBuffer, accelerationStructureCount, reinterpret_cast( pAccelerationStructures ), static_cast( queryType ), static_cast( queryPool ), firstQuery ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteAccelerationStructuresPropertiesNV( m_commandBuffer, accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), static_cast( queryPool ), firstQuery ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::Buffer dstBuffer, VULKAN_HPP_NAMESPACE::DeviceSize dstOffset, uint32_t marker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, static_cast( pipelineStage ), static_cast( dstBuffer ), static_cast( dstOffset ), marker ); + } + + + template + VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( VULKAN_HPP_NAMESPACE::PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkCmdWriteTimestamp( m_commandBuffer, static_cast( pipelineStage ), static_cast( queryPool ), query ); + } + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::end( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEndCommandBuffer( m_commandBuffer ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::end( Dispatch const & d ) const + { + Result result = static_cast( d.vkEndCommandBuffer( m_commandBuffer ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::end" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkResetCommandBuffer( m_commandBuffer, static_cast( flags ) ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::reset( VULKAN_HPP_NAMESPACE::CommandBufferResetFlags flags, Dispatch const & d ) const + { + Result result = static_cast( d.vkResetCommandBuffer( m_commandBuffer, static_cast( flags ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::reset" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VK_USE_PLATFORM_WIN32_KHR +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquireFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::acquireFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + Result result = static_cast( d.vkAcquireFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireFullScreenExclusiveModeEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireNextImage2KHR( const VULKAN_HPP_NAMESPACE::AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast( pAcquireInfo ), pImageIndex ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const & d ) const + { + uint32_t imageIndex; + Result result = static_cast( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast( &acquireInfo ), &imageIndex ) ); + return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImage2KHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout, VULKAN_HPP_NAMESPACE::Result::eNotReady, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint64_t timeout, VULKAN_HPP_NAMESPACE::Semaphore semaphore, VULKAN_HPP_NAMESPACE::Fence fence, uint32_t* pImageIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquireNextImageKHR( m_device, static_cast( swapchain ), timeout, static_cast( semaphore ), static_cast( fence ), pImageIndex ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::acquireNextImageKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint64_t timeout, VULKAN_HPP_NAMESPACE::Semaphore semaphore, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const + { + uint32_t imageIndex; + Result result = static_cast( d.vkAcquireNextImageKHR( m_device, static_cast( swapchain ), timeout, static_cast( semaphore ), static_cast( fence ), &imageIndex ) ); + return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireNextImageKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout, VULKAN_HPP_NAMESPACE::Result::eNotReady, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquirePerformanceConfigurationINTEL( const VULKAN_HPP_NAMESPACE::PerformanceConfigurationAcquireInfoINTEL* pAcquireInfo, VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL* pConfiguration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquirePerformanceConfigurationINTEL( m_device, reinterpret_cast( pAcquireInfo ), reinterpret_cast< VkPerformanceConfigurationINTEL *>( pConfiguration ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::acquirePerformanceConfigurationINTEL( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration; + Result result = static_cast( d.vkAcquirePerformanceConfigurationINTEL( m_device, reinterpret_cast( &acquireInfo ), reinterpret_cast( &configuration ) ) ); + return createResultValue( result, configuration, VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTEL" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::acquirePerformanceConfigurationINTELUnique( const PerformanceConfigurationAcquireInfoINTEL & acquireInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration; + Result result = static_cast( d.vkAcquirePerformanceConfigurationINTEL( m_device, reinterpret_cast( &acquireInfo ), reinterpret_cast( &configuration ) ) ); + ObjectRelease deleter( *this, d ); + return createResultValue( result, configuration, VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTELUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireProfilingLockKHR( const VULKAN_HPP_NAMESPACE::AcquireProfilingLockInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquireProfilingLockKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info, Dispatch const & d ) const + { + Result result = static_cast( d.vkAcquireProfilingLockKHR( m_device, reinterpret_cast( &info ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireProfilingLockKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateCommandBuffers( const VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo* pAllocateInfo, VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( pAllocateInfo ), reinterpret_cast< VkCommandBuffer *>( pCommandBuffers ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d ) const + { + std::vector commandBuffers( allocateInfo.commandBufferCount ); + Result result = static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, CommandBufferAllocator & commandBufferAllocator, Dispatch const & d ) const + { + std::vector commandBuffers( allocateInfo.commandBufferCount, commandBufferAllocator ); + Result result = static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, CommandBufferAllocator>>::type Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const & d ) const + { + std::vector, CommandBufferAllocator> uniqueCommandBuffers; + std::vector commandBuffers( allocateInfo.commandBufferCount ); + Result result = static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); + PoolFree deleter( *this, allocateInfo.commandPool, d ); + for ( size_t i=0; i < allocateInfo.commandBufferCount; i++ ) + { + uniqueCommandBuffers.push_back( UniqueHandle( commandBuffers[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueCommandBuffers ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, CommandBufferAllocator>>::type Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, CommandBufferAllocator & commandBufferAllocator, Dispatch const & d ) const + { + std::vector, CommandBufferAllocator> uniqueCommandBuffers( commandBufferAllocator ); + std::vector commandBuffers( allocateInfo.commandBufferCount ); + Result result = static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); + PoolFree deleter( *this, allocateInfo.commandPool, d ); + for ( size_t i=0; i < allocateInfo.commandBufferCount; i++ ) + { + uniqueCommandBuffers.push_back( UniqueHandle( commandBuffers[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueCommandBuffers ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateDescriptorSets( const VULKAN_HPP_NAMESPACE::DescriptorSetAllocateInfo* pAllocateInfo, VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( pAllocateInfo ), reinterpret_cast< VkDescriptorSet *>( pDescriptorSets ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d ) const + { + std::vector descriptorSets( allocateInfo.descriptorSetCount ); + Result result = static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, DescriptorSetAllocator & descriptorSetAllocator, Dispatch const & d ) const + { + std::vector descriptorSets( allocateInfo.descriptorSetCount, descriptorSetAllocator ); + Result result = static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, DescriptorSetAllocator>>::type Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const & d ) const + { + std::vector, DescriptorSetAllocator> uniqueDescriptorSets; + std::vector descriptorSets( allocateInfo.descriptorSetCount ); + Result result = static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); + PoolFree deleter( *this, allocateInfo.descriptorPool, d ); + for ( size_t i=0; i < allocateInfo.descriptorSetCount; i++ ) + { + uniqueDescriptorSets.push_back( UniqueHandle( descriptorSets[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueDescriptorSets ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, DescriptorSetAllocator>>::type Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, DescriptorSetAllocator & descriptorSetAllocator, Dispatch const & d ) const + { + std::vector, DescriptorSetAllocator> uniqueDescriptorSets( descriptorSetAllocator ); + std::vector descriptorSets( allocateInfo.descriptorSetCount ); + Result result = static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); + PoolFree deleter( *this, allocateInfo.descriptorPool, d ); + for ( size_t i=0; i < allocateInfo.descriptorSetCount; i++ ) + { + uniqueDescriptorSets.push_back( UniqueHandle( descriptorSets[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueDescriptorSets ), VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateMemory( const VULKAN_HPP_NAMESPACE::MemoryAllocateInfo* pAllocateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DeviceMemory* pMemory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAllocateMemory( m_device, reinterpret_cast( pAllocateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDeviceMemory *>( pMemory ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeviceMemory memory; + Result result = static_cast( d.vkAllocateMemory( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &memory ) ) ); + return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateMemory" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeviceMemory memory; + Result result = static_cast( d.vkAllocateMemory( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &memory ) ) ); + ObjectFree deleter( *this, allocator, d ); + return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateMemoryUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryKHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindAccelerationStructureMemoryKHR( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindAccelerationStructureMemoryKHR( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindAccelerationStructureMemoryKHR( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryNV( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindAccelerationStructureMemoryInfoKHR* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindAccelerationStructureMemoryNV( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindAccelerationStructureMemoryNV( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindAccelerationStructureMemoryNV( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindBufferMemory( m_device, static_cast( buffer ), static_cast( memory ), static_cast( memoryOffset ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindBufferMemory( m_device, static_cast( buffer ), static_cast( memory ), static_cast( memoryOffset ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory2( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindBufferMemory2( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory2( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindBufferMemory2( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory2KHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindBufferMemoryInfo* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindBufferMemory2KHR( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindBufferMemory2KHR( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindImageMemory( m_device, static_cast( image ), static_cast( memory ), static_cast( memoryOffset ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindImageMemory( m_device, static_cast( image ), static_cast( memory ), static_cast( memoryOffset ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory2( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindImageMemory2( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory2( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindImageMemory2( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory2KHR( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindImageMemoryInfo* pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBindImageMemory2KHR( m_device, bindInfoCount, reinterpret_cast( pBindInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d ) const + { + Result result = static_cast( d.vkBindImageMemory2KHR( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildAccelerationStructureKHR( uint32_t infoCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildGeometryInfoKHR* pInfos, const VULKAN_HPP_NAMESPACE::AccelerationStructureBuildOffsetInfoKHR* const * ppOffsetInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkBuildAccelerationStructureKHR( m_device, infoCount, reinterpret_cast( pInfos ), reinterpret_cast( ppOffsetInfos ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Result Device::buildAccelerationStructureKHR( ArrayProxy const & infos, ArrayProxy const & pOffsetInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( infos.size() == pOffsetInfos.size() ); +#else + if ( infos.size() != pOffsetInfos.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::buildAccelerationStructureKHR: infos.size() != pOffsetInfos.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + Result result = static_cast( d.vkBuildAccelerationStructureKHR( m_device, infos.size(), reinterpret_cast( infos.data() ), reinterpret_cast( pOffsetInfos.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::buildAccelerationStructureKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCompileDeferredNV( m_device, static_cast( pipeline ), shader ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::compileDeferredNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t shader, Dispatch const & d ) const + { + Result result = static_cast( d.vkCompileDeferredNV( m_device, static_cast( pipeline ), shader ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::compileDeferredNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCopyAccelerationStructureKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info, Dispatch const & d ) const + { + Result result = static_cast( d.vkCopyAccelerationStructureKHR( m_device, reinterpret_cast( &info ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( const VULKAN_HPP_NAMESPACE::CopyAccelerationStructureToMemoryInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCopyAccelerationStructureToMemoryKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info, Dispatch const & d ) const + { + Result result = static_cast( d.vkCopyAccelerationStructureToMemoryKHR( m_device, reinterpret_cast( &info ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureToMemoryKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::CopyMemoryToAccelerationStructureInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCopyMemoryToAccelerationStructureKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info, Dispatch const & d ) const + { + Result result = static_cast( d.vkCopyMemoryToAccelerationStructureKHR( m_device, reinterpret_cast( &info ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToAccelerationStructureKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructureKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructure, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateAccelerationStructureKHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkAccelerationStructureKHR *>( pAccelerationStructure ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createAccelerationStructureKHR( const AccelerationStructureCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure; + Result result = static_cast( d.vkCreateAccelerationStructureKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &accelerationStructure ) ) ); + return createResultValue( result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createAccelerationStructureKHRUnique( const AccelerationStructureCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure; + Result result = static_cast( d.vkCreateAccelerationStructureKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &accelerationStructure ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructureNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureCreateInfoNV* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::AccelerationStructureNV* pAccelerationStructure, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateAccelerationStructureNV( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkAccelerationStructureNV *>( pAccelerationStructure ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::createAccelerationStructureNV( const AccelerationStructureCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure; + Result result = static_cast( d.vkCreateAccelerationStructureNV( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &accelerationStructure ) ) ); + return createResultValue( result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureNV" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::createAccelerationStructureNVUnique( const AccelerationStructureCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure; + Result result = static_cast( d.vkCreateAccelerationStructureNV( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &accelerationStructure ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, accelerationStructure, VULKAN_HPP_NAMESPACE_STRING "::Device::createAccelerationStructureNVUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createBuffer( const VULKAN_HPP_NAMESPACE::BufferCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Buffer* pBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateBuffer( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkBuffer *>( pBuffer ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createBuffer( const BufferCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Buffer buffer; + Result result = static_cast( d.vkCreateBuffer( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &buffer ) ) ); + return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createBuffer" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createBufferUnique( const BufferCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Buffer buffer; + Result result = static_cast( d.vkCreateBuffer( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &buffer ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createBufferView( const VULKAN_HPP_NAMESPACE::BufferViewCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::BufferView* pView, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateBufferView( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkBufferView *>( pView ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createBufferView( const BufferViewCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::BufferView view; + Result result = static_cast( d.vkCreateBufferView( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &view ) ) ); + return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferView" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::BufferView view; + Result result = static_cast( d.vkCreateBufferView( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &view ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createBufferViewUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCommandPool( const VULKAN_HPP_NAMESPACE::CommandPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::CommandPool* pCommandPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateCommandPool( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkCommandPool *>( pCommandPool ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createCommandPool( const CommandPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::CommandPool commandPool; + Result result = static_cast( d.vkCreateCommandPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &commandPool ) ) ); + return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createCommandPool" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::CommandPool commandPool; + Result result = static_cast( d.vkCreateCommandPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &commandPool ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createCommandPoolUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::ComputePipelineCreateInfo* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfoCount, reinterpret_cast( pCreateInfos ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipeline *>( pPipelines ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelines", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size(), pipelineAllocator ); + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelines", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createComputePipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipeline", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createComputePipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines; + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createComputePipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelineUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDeferredOperationKHR( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DeferredOperationKHR* pDeferredOperation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDeferredOperationKHR( m_device, reinterpret_cast( pAllocator ), reinterpret_cast< VkDeferredOperationKHR *>( pDeferredOperation ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::createDeferredOperationKHR( Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation; + Result result = static_cast( d.vkCreateDeferredOperationKHR( m_device, reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &deferredOperation ) ) ); + return createResultValue( result, deferredOperation, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDeferredOperationKHRUnique( Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation; + Result result = static_cast( d.vkCreateDeferredOperationKHR( m_device, reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &deferredOperation ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, deferredOperation, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorPool( const VULKAN_HPP_NAMESPACE::DescriptorPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorPool* pDescriptorPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDescriptorPool( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDescriptorPool *>( pDescriptorPool ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; + Result result = static_cast( d.vkCreateDescriptorPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorPool ) ) ); + return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorPool" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; + Result result = static_cast( d.vkCreateDescriptorPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorPool ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorPoolUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorSetLayout( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorSetLayout* pSetLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDescriptorSetLayout *>( pSetLayout ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorSetLayout setLayout; + Result result = static_cast( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &setLayout ) ) ); + return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorSetLayout" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorSetLayout setLayout; + Result result = static_cast( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &setLayout ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorSetLayoutUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplate( const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDescriptorUpdateTemplate *>( pDescriptorUpdateTemplate ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; + Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); + return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplate" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; + Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplateKHR( const VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDescriptorUpdateTemplate *>( pDescriptorUpdateTemplate ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; + Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); + return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; + Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createEvent( const VULKAN_HPP_NAMESPACE::EventCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Event* pEvent, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateEvent( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkEvent *>( pEvent ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createEvent( const EventCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Event event; + Result result = static_cast( d.vkCreateEvent( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &event ) ) ); + return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING "::Device::createEvent" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createEventUnique( const EventCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Event event; + Result result = static_cast( d.vkCreateEvent( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &event ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING "::Device::createEventUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createFence( const VULKAN_HPP_NAMESPACE::FenceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateFence( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkFence *>( pFence ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createFence( const FenceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkCreateFence( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::createFence" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createFenceUnique( const FenceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkCreateFence( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::createFenceUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createFramebuffer( const VULKAN_HPP_NAMESPACE::FramebufferCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Framebuffer* pFramebuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateFramebuffer( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkFramebuffer *>( pFramebuffer ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createFramebuffer( const FramebufferCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Framebuffer framebuffer; + Result result = static_cast( d.vkCreateFramebuffer( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &framebuffer ) ) ); + return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createFramebuffer" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Framebuffer framebuffer; + Result result = static_cast( d.vkCreateFramebuffer( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &framebuffer ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING "::Device::createFramebufferUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::GraphicsPipelineCreateInfo* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfoCount, reinterpret_cast( pCreateInfos ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipeline *>( pPipelines ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelines", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelines( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size(), pipelineAllocator ); + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelines", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createGraphicsPipeline( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipeline", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createGraphicsPipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines; + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createGraphicsPipelinesUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelineUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelineUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createImage( const VULKAN_HPP_NAMESPACE::ImageCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Image* pImage, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateImage( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkImage *>( pImage ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createImage( const ImageCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Image image; + Result result = static_cast( d.vkCreateImage( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &image ) ) ); + return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING "::Device::createImage" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createImageUnique( const ImageCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Image image; + Result result = static_cast( d.vkCreateImage( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &image ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createImageView( const VULKAN_HPP_NAMESPACE::ImageViewCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ImageView* pView, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateImageView( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkImageView *>( pView ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createImageView( const ImageViewCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageView view; + Result result = static_cast( d.vkCreateImageView( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &view ) ) ); + return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageView" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageView view; + Result result = static_cast( d.vkCreateImageView( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &view ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING "::Device::createImageViewUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutNV( const VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutCreateInfoNV* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV* pIndirectCommandsLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateIndirectCommandsLayoutNV( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkIndirectCommandsLayoutNV *>( pIndirectCommandsLayout ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createIndirectCommandsLayoutNV( const IndirectCommandsLayoutCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout; + Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &indirectCommandsLayout ) ) ); + return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutNV" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createIndirectCommandsLayoutNVUnique( const IndirectCommandsLayoutCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout; + Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &indirectCommandsLayout ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutNVUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPipelineCache( const VULKAN_HPP_NAMESPACE::PipelineCacheCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PipelineCache* pPipelineCache, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreatePipelineCache( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipelineCache *>( pPipelineCache ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache; + Result result = static_cast( d.vkCreatePipelineCache( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipelineCache ) ) ); + return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineCache" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache; + Result result = static_cast( d.vkCreatePipelineCache( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipelineCache ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineCacheUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPipelineLayout( const VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PipelineLayout* pPipelineLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreatePipelineLayout( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipelineLayout *>( pPipelineLayout ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout; + Result result = static_cast( d.vkCreatePipelineLayout( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipelineLayout ) ) ); + return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineLayout" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout; + Result result = static_cast( d.vkCreatePipelineLayout( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipelineLayout ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING "::Device::createPipelineLayoutUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPrivateDataSlotEXT( const VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT* pPrivateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreatePrivateDataSlotEXT( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPrivateDataSlotEXT *>( pPrivateDataSlot ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::createPrivateDataSlotEXT( const PrivateDataSlotCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot; + Result result = static_cast( d.vkCreatePrivateDataSlotEXT( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &privateDataSlot ) ) ); + return createResultValue( result, privateDataSlot, VULKAN_HPP_NAMESPACE_STRING "::Device::createPrivateDataSlotEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPrivateDataSlotEXTUnique( const PrivateDataSlotCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot; + Result result = static_cast( d.vkCreatePrivateDataSlotEXT( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &privateDataSlot ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, privateDataSlot, VULKAN_HPP_NAMESPACE_STRING "::Device::createPrivateDataSlotEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createQueryPool( const VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::QueryPool* pQueryPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateQueryPool( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkQueryPool *>( pQueryPool ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createQueryPool( const QueryPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::QueryPool queryPool; + Result result = static_cast( d.vkCreateQueryPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &queryPool ) ) ); + return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createQueryPool" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::QueryPool queryPool; + Result result = static_cast( d.vkCreateQueryPool( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &queryPool ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING "::Device::createQueryPoolUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoKHR* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), createInfoCount, reinterpret_cast( pCreateInfos ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipeline *>( pPipelines ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size(), pipelineAllocator ); + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createRayTracingPipelineKHR( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines; + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR )|| ( result == VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHRUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR )|| ( result == VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHRUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelineKHRUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineKHRUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eOperationDeferredKHR, VULKAN_HPP_NAMESPACE::Result::eOperationNotDeferredKHR, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, uint32_t createInfoCount, const VULKAN_HPP_NAMESPACE::RayTracingPipelineCreateInfoNV* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Pipeline* pPipelines, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfoCount, reinterpret_cast( pCreateInfos ), reinterpret_cast( pAllocator ), reinterpret_cast< VkPipeline *>( pPipelines ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNV", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector pipelines( createInfos.size(), pipelineAllocator ); + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNV", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createRayTracingPipelineNV( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineNV", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines; + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNVUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator, PipelineAllocator & pipelineAllocator, Dispatch const & d ) const + { + std::vector, PipelineAllocator> uniquePipelines( pipelineAllocator ); + std::vector pipelines( createInfos.size() ); + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( pipelines.data() ) ) ); + if ( ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess )|| ( result == VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT ) ) + { + uniquePipelines.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniquePipelines.push_back( UniqueHandle( pipelines[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniquePipelines ), VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelinesNVUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelineNVUnique( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const RayTracingPipelineCreateInfoNV & createInfo, Optional allocator, Dispatch const & d ) const + { + Pipeline pipeline; + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &pipeline ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING "::Device::createRayTracingPipelineNVUnique", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::ePipelineCompileRequiredEXT }, deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateRenderPass( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkRenderPass *>( pRenderPass ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass( const RenderPassCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPassUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass2( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateRenderPass2( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkRenderPass *>( pRenderPass ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass2( const RenderPassCreateInfo2 & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass2( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPass2Unique( const RenderPassCreateInfo2 & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass2( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2Unique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass2KHR( const VULKAN_HPP_NAMESPACE::RenderPassCreateInfo2* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::RenderPass* pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateRenderPass2KHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkRenderPass *>( pRenderPass ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass2KHR( const RenderPassCreateInfo2 & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass2KHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2KHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPass2KHRUnique( const RenderPassCreateInfo2 & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RenderPass renderPass; + Result result = static_cast( d.vkCreateRenderPass2KHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &renderPass ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING "::Device::createRenderPass2KHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSampler( const VULKAN_HPP_NAMESPACE::SamplerCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Sampler* pSampler, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSampler( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSampler *>( pSampler ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSampler( const SamplerCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Sampler sampler; + Result result = static_cast( d.vkCreateSampler( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &sampler ) ) ); + return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING "::Device::createSampler" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerUnique( const SamplerCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Sampler sampler; + Result result = static_cast( d.vkCreateSampler( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &sampler ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversion( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion* pYcbcrConversion, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSamplerYcbcrConversion *>( pYcbcrConversion ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; + Result result = static_cast( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &ycbcrConversion ) ) ); + return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversion" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; + Result result = static_cast( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &ycbcrConversion ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversionKHR( const VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion* pYcbcrConversion, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSamplerYcbcrConversion *>( pYcbcrConversion ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; + Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &ycbcrConversion ) ) ); + return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; + Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &ycbcrConversion ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Semaphore* pSemaphore, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSemaphore( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSemaphore *>( pSemaphore ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSemaphore( const SemaphoreCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Semaphore semaphore; + Result result = static_cast( d.vkCreateSemaphore( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &semaphore ) ) ); + return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING "::Device::createSemaphore" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Semaphore semaphore; + Result result = static_cast( d.vkCreateSemaphore( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &semaphore ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING "::Device::createSemaphoreUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createShaderModule( const VULKAN_HPP_NAMESPACE::ShaderModuleCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ShaderModule* pShaderModule, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateShaderModule( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkShaderModule *>( pShaderModule ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ShaderModule shaderModule; + Result result = static_cast( d.vkCreateShaderModule( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &shaderModule ) ) ); + return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING "::Device::createShaderModule" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ShaderModule shaderModule; + Result result = static_cast( d.vkCreateShaderModule( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &shaderModule ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING "::Device::createShaderModuleUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSharedSwapchainsKHR( uint32_t swapchainCount, const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR* pCreateInfos, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSharedSwapchainsKHR( m_device, swapchainCount, reinterpret_cast( pCreateInfos ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSwapchainKHR *>( pSwapchains ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector swapchains( createInfos.size() ); + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( swapchains.data() ) ) ); + return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator & swapchainKHRAllocator, Dispatch const & d ) const + { + std::vector swapchains( createInfos.size(), swapchainKHRAllocator ); + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( swapchains.data() ) ) ); + return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + SwapchainKHR swapchain; + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &swapchain ) ) ); + return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, SwapchainKHRAllocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const + { + std::vector, SwapchainKHRAllocator> uniqueSwapchains; + std::vector swapchains( createInfos.size() ); + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( swapchains.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueSwapchains.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniqueSwapchains.push_back( UniqueHandle( swapchains[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueSwapchains ), VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" ); + } + + template >::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, SwapchainKHRAllocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator & swapchainKHRAllocator, Dispatch const & d ) const + { + std::vector, SwapchainKHRAllocator> uniqueSwapchains( swapchainKHRAllocator ); + std::vector swapchains( createInfos.size() ); + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( swapchains.data() ) ) ); + if ( result == VULKAN_HPP_NAMESPACE::Result::eSuccess ) + { + uniqueSwapchains.reserve( createInfos.size() ); + ObjectDestroy deleter( *this, allocator, d ); + for ( size_t i=0; i < createInfos.size(); i++ ) + { + uniqueSwapchains.push_back( UniqueHandle( swapchains[i], deleter ) ); + } + } + return createResultValue( result, std::move( uniqueSwapchains ), VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + SwapchainKHR swapchain; + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, 1, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &swapchain ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSwapchainKHR( const VULKAN_HPP_NAMESPACE::SwapchainCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateSwapchainKHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSwapchainKHR *>( pSwapchain ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; + Result result = static_cast( d.vkCreateSwapchainKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &swapchain ) ) ); + return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSwapchainKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; + Result result = static_cast( d.vkCreateSwapchainKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &swapchain ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING "::Device::createSwapchainKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createValidationCacheEXT( const VULKAN_HPP_NAMESPACE::ValidationCacheCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::ValidationCacheEXT* pValidationCache, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkValidationCacheEXT *>( pValidationCache ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache; + Result result = static_cast( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &validationCache ) ) ); + return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createValidationCacheEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache; + Result result = static_cast( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &validationCache ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING "::Device::createValidationCacheEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectNameEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast( pNameInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast( &nameInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectNameEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectTagEXT( const VULKAN_HPP_NAMESPACE::DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast( pTagInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectTagEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkDeferredOperationJoinKHR( m_device, static_cast( operation ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::deferredOperationJoinKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const + { + Result result = static_cast( d.vkDeferredOperationJoinKHR( m_device, static_cast( operation ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::deferredOperationJoinKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eThreadDoneKHR, VULKAN_HPP_NAMESPACE::Result::eThreadIdleKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyAccelerationStructureKHR( m_device, static_cast( accelerationStructure ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyAccelerationStructureKHR( m_device, static_cast( accelerationStructure ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_INLINE void Device::destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyAccelerationStructureNV( m_device, static_cast( accelerationStructure ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyAccelerationStructureNV( m_device, static_cast( accelerationStructure ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { +#ifdef VK_ENABLE_BETA_EXTENSIONS + d.vkDestroyAccelerationStructureKHR( m_device, static_cast( accelerationStructure ), reinterpret_cast( pAllocator ) ); +#else + d.vkDestroyAccelerationStructureNV( m_device, static_cast( accelerationStructure ), reinterpret_cast( pAllocator ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { +#ifdef VK_ENABLE_BETA_EXTENSIONS + d.vkDestroyAccelerationStructureKHR( m_device, static_cast( accelerationStructure ), reinterpret_cast( static_cast( allocator ) ) ); +#else + d.vkDestroyAccelerationStructureNV( m_device, static_cast( accelerationStructure ), reinterpret_cast( static_cast( allocator ) ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Buffer buffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyBufferView( VULKAN_HPP_NAMESPACE::BufferView bufferView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::BufferView bufferView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::CommandPool commandPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void Device::destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDeferredOperationKHR( m_device, static_cast( operation ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyDeferredOperationKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDeferredOperationKHR( m_device, static_cast( operation ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDeferredOperationKHR( m_device, static_cast( operation ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDeferredOperationKHR( m_device, static_cast( operation ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void Device::destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorSetLayout( m_device, static_cast( descriptorSetLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorSetLayout( m_device, static_cast( descriptorSetLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorSetLayout( m_device, static_cast( descriptorSetLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorSetLayout descriptorSetLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorSetLayout( m_device, static_cast( descriptorSetLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDevice( m_device, reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDevice( m_device, reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyEvent( VULKAN_HPP_NAMESPACE::Event event, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyEvent( VULKAN_HPP_NAMESPACE::Event event, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Event event, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Event event, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyFence( VULKAN_HPP_NAMESPACE::Fence fence, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Fence fence, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Fence fence, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyFramebuffer( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Framebuffer framebuffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyImage( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyImage( VULKAN_HPP_NAMESPACE::Image image, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Image image, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyImageView( VULKAN_HPP_NAMESPACE::ImageView imageView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ImageView imageView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyIndirectCommandsLayoutNV( m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNV( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyIndirectCommandsLayoutNV( m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyIndirectCommandsLayoutNV( m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyIndirectCommandsLayoutNV( m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyPipeline( VULKAN_HPP_NAMESPACE::Pipeline pipeline, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Pipeline pipeline, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyPipelineCache( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyPipelineLayout( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPrivateDataSlotEXT( m_device, static_cast( privateDataSlot ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPrivateDataSlotEXT( m_device, static_cast( privateDataSlot ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPrivateDataSlotEXT( m_device, static_cast( privateDataSlot ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyPrivateDataSlotEXT( m_device, static_cast( privateDataSlot ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::QueryPool queryPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyRenderPass( VULKAN_HPP_NAMESPACE::RenderPass renderPass, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::RenderPass renderPass, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroySampler( VULKAN_HPP_NAMESPACE::Sampler sampler, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Sampler sampler, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversion( m_device, static_cast( ycbcrConversion ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversion( m_device, static_cast( ycbcrConversion ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast( ycbcrConversion ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast( ycbcrConversion ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversion( m_device, static_cast( ycbcrConversion ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySamplerYcbcrConversion( m_device, static_cast( ycbcrConversion ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroySemaphore( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyShaderModule( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ShaderModule shaderModule, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroySwapchainKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyValidationCacheEXT( m_device, static_cast( validationCache ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyValidationCacheEXT( m_device, static_cast( validationCache ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyValidationCacheEXT( m_device, static_cast( validationCache ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::destroy( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyValidationCacheEXT( m_device, static_cast( validationCache ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkDeviceWaitIdle( m_device ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::waitIdle( Dispatch const & d ) const + { + Result result = static_cast( d.vkDeviceWaitIdle( m_device ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitIdle" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkDisplayPowerControlEXT( m_device, static_cast( display ), reinterpret_cast( pDisplayPowerInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkDisplayPowerControlEXT( m_device, static_cast( display ), reinterpret_cast( &displayPowerInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::displayPowerControlEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::flushMappedMemoryRanges( uint32_t memoryRangeCount, const VULKAN_HPP_NAMESPACE::MappedMemoryRange* pMemoryRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkFlushMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast( pMemoryRanges ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::flushMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d ) const + { + Result result = static_cast( d.vkFlushMappedMemoryRanges( m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::flushMappedMemoryRanges" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeCommandBuffers( m_device, static_cast( commandPool ), commandBufferCount, reinterpret_cast( pCommandBuffers ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::freeCommandBuffers( VULKAN_HPP_NAMESPACE::CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeCommandBuffers( m_device, static_cast( commandPool ), commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, uint32_t commandBufferCount, const VULKAN_HPP_NAMESPACE::CommandBuffer* pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeCommandBuffers( m_device, static_cast( commandPool ), commandBufferCount, reinterpret_cast( pCommandBuffers ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeCommandBuffers( m_device, static_cast( commandPool ), commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE Result Device::freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkFreeDescriptorSets( m_device, static_cast( descriptorPool ), descriptorSetCount, reinterpret_cast( pDescriptorSets ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::freeDescriptorSets( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d ) const + { + Result result = static_cast( d.vkFreeDescriptorSets( m_device, static_cast( descriptorPool ), descriptorSets.size(), reinterpret_cast( descriptorSets.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::freeDescriptorSets" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE Result Device::free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, uint32_t descriptorSetCount, const VULKAN_HPP_NAMESPACE::DescriptorSet* pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkFreeDescriptorSets( m_device, static_cast( descriptorPool ), descriptorSetCount, reinterpret_cast( pDescriptorSets ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::free( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d ) const + { + Result result = static_cast( d.vkFreeDescriptorSets( m_device, static_cast( descriptorPool ), descriptorSets.size(), reinterpret_cast( descriptorSets.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::free" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::freeMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::free( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureDeviceAddressInfoKHR* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetAccelerationStructureDeviceAddressKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( const AccelerationStructureDeviceAddressInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetAccelerationStructureDeviceAddressKHR( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, size_t dataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetAccelerationStructureHandleNV( m_device, static_cast( accelerationStructure ), dataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, ArrayProxy const &data, Dispatch const &d ) const + { + Result result = static_cast( d.vkGetAccelerationStructureHandleNV( m_device, static_cast( accelerationStructure ), data.size() * sizeof( T ) , reinterpret_cast( data.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getAccelerationStructureHandleNV" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, size_t dataSize, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkGetAccelerationStructureHandleNV( m_device, static_cast( accelerationStructure ), data.size() * sizeof( T ), reinterpret_cast( data.data() ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getAccelerationStructureHandleNV( VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkGetAccelerationStructureHandleNV( m_device, static_cast( accelerationStructure ), sizeof( T ), reinterpret_cast( &data ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE void Device::getAccelerationStructureMemoryRequirementsKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetAccelerationStructureMemoryRequirementsKHR( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getAccelerationStructureMemoryRequirementsKHR( const AccelerationStructureMemoryRequirementsInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetAccelerationStructureMemoryRequirementsKHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getAccelerationStructureMemoryRequirementsKHR( const AccelerationStructureMemoryRequirementsInfoKHR & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetAccelerationStructureMemoryRequirementsKHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void Device::getAccelerationStructureMemoryRequirementsNV( const VULKAN_HPP_NAMESPACE::AccelerationStructureMemoryRequirementsInfoNV* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetAccelerationStructureMemoryRequirementsNV( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2KHR *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR memoryRequirements; + d.vkGetAccelerationStructureMemoryRequirementsNV( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2KHR & memoryRequirements = structureChain.template get(); + d.vkGetAccelerationStructureMemoryRequirementsNV( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast< VkAndroidHardwareBufferPropertiesANDROID *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID properties; + Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, &buffer, reinterpret_cast( &properties ) ) ); + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const & d ) const + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID & properties = structureChain.template get(); + Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, &buffer, reinterpret_cast( &properties ) ) ); + return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::Device::getAndroidHardwareBufferPropertiesANDROID" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetBufferDeviceAddress( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( const BufferDeviceAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferDeviceAddress( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetBufferDeviceAddressEXT( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( const BufferDeviceAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferDeviceAddressEXT( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetBufferDeviceAddressKHR( m_device, reinterpret_cast( pInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( const BufferDeviceAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferDeviceAddressKHR( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, VULKAN_HPP_NAMESPACE::MemoryRequirements* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetBufferMemoryRequirements( m_device, static_cast( buffer ), reinterpret_cast< VkMemoryRequirements *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements Device::getBufferMemoryRequirements( VULKAN_HPP_NAMESPACE::Buffer buffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; + d.vkGetBufferMemoryRequirements( m_device, static_cast( buffer ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::BufferMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferOpaqueCaptureAddress( m_device, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferOpaqueCaptureAddress( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::BufferDeviceAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferOpaqueCaptureAddressKHR( m_device, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetBufferOpaqueCaptureAddressKHR( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getCalibratedTimestampsEXT( uint32_t timestampCount, const VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetCalibratedTimestampsEXT( m_device, timestampCount, reinterpret_cast( pTimestampInfos ), pTimestamps, pMaxDeviation ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getCalibratedTimestampsEXT( ArrayProxy const ×tampInfos, ArrayProxy const ×tamps, Dispatch const &d ) const + { + #ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( timestampInfos.size() == timestamps.size() ); +#else + if ( timestampInfos.size() != timestamps.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::VkDevice::getCalibratedTimestampsEXT: timestampInfos.size() != timestamps.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + uint64_t maxDeviation; + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( m_device, timestampInfos.size() , reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + return createResultValue( result, maxDeviation, VULKAN_HPP_NAMESPACE_STRING"::Device::getCalibratedTimestampsEXT" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Dispatch const & d ) const + { + std::pair,uint64_t> data( std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); + std::vector & timestamps = data.first; + uint64_t & maxDeviation = data.second; + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Uint64_tAllocator & uint64_tAllocator, Dispatch const & d ) const + { + std::pair,uint64_t> data( std::piecewise_construct, std::forward_as_tuple( timestampInfos.size(), uint64_tAllocator ), std::forward_as_tuple( 0 ) ); + std::vector & timestamps = data.first; + uint64_t & maxDeviation = data.second; + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_INLINE uint32_t Device::getDeferredOperationMaxConcurrencyKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeferredOperationMaxConcurrencyKHR( m_device, static_cast( operation ) ); + } +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDeferredOperationResultKHR( m_device, static_cast( operation ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR operation, Dispatch const & d ) const + { + Result result = static_cast( d.vkGetDeferredOperationResultKHR( m_device, static_cast( operation ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getDeferredOperationResultKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + + template + VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupport( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport* pSupport, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast< VkDescriptorSetLayoutSupport *>( pSupport ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport support; + d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + return support; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport & support = structureChain.template get(); + d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupportKHR( const VULKAN_HPP_NAMESPACE::DescriptorSetLayoutCreateInfo* pCreateInfo, VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport* pSupport, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast( pCreateInfo ), reinterpret_cast< VkDescriptorSetLayoutSupport *>( pSupport ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport support; + d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + return support; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::DescriptorSetLayoutSupport & support = structureChain.template get(); + d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAccelerationStructureCompatibilityKHR( const VULKAN_HPP_NAMESPACE::AccelerationStructureVersionKHR* version, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDeviceAccelerationStructureCompatibilityKHR( m_device, reinterpret_cast( version ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionKHR & version, Dispatch const & d ) const + { + Result result = static_cast( d.vkGetDeviceAccelerationStructureCompatibilityKHR( m_device, reinterpret_cast( &version ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureCompatibilityKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + + template + VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast< VkPeerMemoryFeatureFlags *>( pPeerMemoryFeatures ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags peerMemoryFeatures; + d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); + return peerMemoryFeatures; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast< VkPeerMemoryFeatureFlags *>( pPeerMemoryFeatures ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags peerMemoryFeatures; + d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); + return peerMemoryFeatures; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupPresentCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast< VkDeviceGroupPresentCapabilitiesKHR *>( pDeviceGroupPresentCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupPresentCapabilitiesKHR( Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities; + Result result = static_cast( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast( &deviceGroupPresentCapabilities ) ) ); + return createResultValue( result, deviceGroupPresentCapabilities, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupPresentCapabilitiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( m_device, reinterpret_cast( pSurfaceInfo ), reinterpret_cast< VkDeviceGroupPresentModeFlagsKHR *>( pModes ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes; + Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( m_device, reinterpret_cast( &surfaceInfo ), reinterpret_cast( &modes ) ) ); + return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModes2EXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast( surface ), reinterpret_cast< VkDeviceGroupPresentModeFlagsKHR *>( pModes ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR modes; + Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast( surface ), reinterpret_cast( &modes ) ) ); + return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize* pCommittedMemoryInBytes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDeviceMemoryCommitment( m_device, static_cast( memory ), reinterpret_cast< VkDeviceSize *>( pCommittedMemoryInBytes ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DeviceSize Device::getMemoryCommitment( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::DeviceSize committedMemoryInBytes; + d.vkGetDeviceMemoryCommitment( m_device, static_cast( memory ), reinterpret_cast( &committedMemoryInBytes ) ); + return committedMemoryInBytes; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddress( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceMemoryOpaqueCaptureAddress( m_device, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceMemoryOpaqueCaptureAddress( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddressKHR( const VULKAN_HPP_NAMESPACE::DeviceMemoryOpaqueCaptureAddressInfo* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( m_device, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddressKHR( const DeviceMemoryOpaqueCaptureAddressInfo & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const char* pName, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceProcAddr( m_device, pName ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const std::string & name, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetDeviceProcAddr( m_device, name.c_str() ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, VULKAN_HPP_NAMESPACE::Queue* pQueue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast< VkQueue *>( pQueue ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Queue Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::Queue queue; + d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast( &queue ) ); + return queue; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getQueue2( const VULKAN_HPP_NAMESPACE::DeviceQueueInfo2* pQueueInfo, VULKAN_HPP_NAMESPACE::Queue* pQueue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetDeviceQueue2( m_device, reinterpret_cast( pQueueInfo ), reinterpret_cast< VkQueue *>( pQueue ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Queue Device::getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::Queue queue; + d.vkGetDeviceQueue2( m_device, reinterpret_cast( &queueInfo ), reinterpret_cast( &queue ) ); + return queue; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetEventStatus( m_device, static_cast( event ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const + { + Result result = static_cast( d.vkGetEventStatus( m_device, static_cast( event ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getEventStatus", { VULKAN_HPP_NAMESPACE::Result::eEventSet, VULKAN_HPP_NAMESPACE::Result::eEventReset } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceFdKHR( const VULKAN_HPP_NAMESPACE::FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetFenceFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const & d ) const + { + int fd; + Result result = static_cast( d.vkGetFenceFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceFdKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetFenceStatus( m_device, static_cast( fence ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const + { + Result result = static_cast( d.vkGetFenceStatus( m_device, static_cast( fence ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceStatus", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d ) const + { + HANDLE handle; + Result result = static_cast( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceWin32HandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_INLINE void Device::getGeneratedCommandsMemoryRequirementsNV( const VULKAN_HPP_NAMESPACE::GeneratedCommandsMemoryRequirementsInfoNV* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetGeneratedCommandsMemoryRequirementsNV( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetGeneratedCommandsMemoryRequirementsNV( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetGeneratedCommandsMemoryRequirementsNV( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetImageDrmFormatModifierPropertiesEXT( m_device, static_cast( image ), reinterpret_cast< VkImageDrmFormatModifierPropertiesEXT *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageDrmFormatModifierPropertiesEXT( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT properties; + Result result = static_cast( d.vkGetImageDrmFormatModifierPropertiesEXT( m_device, static_cast( image ), reinterpret_cast( &properties ) ) ); + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageDrmFormatModifierPropertiesEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, VULKAN_HPP_NAMESPACE::MemoryRequirements* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageMemoryRequirements( m_device, static_cast( image ), reinterpret_cast< VkMemoryRequirements *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements Device::getImageMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements memoryRequirements; + d.vkGetImageMemoryRequirements( m_device, static_cast( image ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2* pInfo, VULKAN_HPP_NAMESPACE::MemoryRequirements2* pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast( pInfo ), reinterpret_cast< VkMemoryRequirements2 *>( pMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryRequirements2 Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MemoryRequirements2 memoryRequirements; + d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return memoryRequirements; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::MemoryRequirements2 & memoryRequirements = structureChain.template get(); + d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), pSparseMemoryRequirementCount, reinterpret_cast< VkSparseImageMemoryRequirements *>( pSparseMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements; + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( VULKAN_HPP_NAMESPACE::Image image, SparseImageMemoryRequirementsAllocator & sparseImageMemoryRequirementsAllocator, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements( sparseImageMemoryRequirementsAllocator ); + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2( const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast< VkSparseImageMemoryRequirements2 *>( pSparseMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements; + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2KHR( const VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VULKAN_HPP_NAMESPACE::SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast< VkSparseImageMemoryRequirements2 *>( pSparseMemoryRequirements ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements; + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, SparseImageMemoryRequirements2Allocator & sparseImageMemoryRequirements2Allocator, Dispatch const & d ) const + { + std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); + uint32_t sparseMemoryRequirementCount; + d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); + d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); + VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); + return sparseMemoryRequirements; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, const VULKAN_HPP_NAMESPACE::ImageSubresource* pSubresource, VULKAN_HPP_NAMESPACE::SubresourceLayout* pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetImageSubresourceLayout( m_device, static_cast( image ), reinterpret_cast( pSubresource ), reinterpret_cast< VkSubresourceLayout *>( pLayout ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::SubresourceLayout Device::getImageSubresourceLayout( VULKAN_HPP_NAMESPACE::Image image, const ImageSubresource & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::SubresourceLayout layout; + d.vkGetImageSubresourceLayout( m_device, static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); + return layout; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetImageViewAddressNVX( m_device, static_cast( imageView ), reinterpret_cast< VkImageViewAddressPropertiesNVX *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageViewAddressNVX( VULKAN_HPP_NAMESPACE::ImageView imageView, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageViewAddressPropertiesNVX properties; + Result result = static_cast( d.vkGetImageViewAddressNVX( m_device, static_cast( imageView ), reinterpret_cast( &properties ) ) ); + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageViewAddressNVX" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( const VULKAN_HPP_NAMESPACE::ImageViewHandleInfoNVX* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetImageViewHandleNVX( m_device, reinterpret_cast( pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( const ImageViewHandleInfoNVX & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetImageViewHandleNVX( m_device, reinterpret_cast( &info ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryAndroidHardwareBufferANDROID( const VULKAN_HPP_NAMESPACE::MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast( pInfo ), pBuffer ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const & d ) const + { + struct AHardwareBuffer* buffer; + Result result = static_cast( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast( &info ), &buffer ) ); + return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryAndroidHardwareBufferANDROID" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryFdKHR( const VULKAN_HPP_NAMESPACE::MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const & d ) const + { + int fd; + Result result = static_cast( d.vkGetMemoryFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, int fd, VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast( handleType ), fd, reinterpret_cast< VkMemoryFdPropertiesKHR *>( pMemoryFdProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryFdPropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::MemoryFdPropertiesKHR memoryFdProperties; + Result result = static_cast( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast( handleType ), fd, reinterpret_cast( &memoryFdProperties ) ) ); + return createResultValue( result, memoryFdProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdPropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast( handleType ), pHostPointer, reinterpret_cast< VkMemoryHostPointerPropertiesEXT *>( pMemoryHostPointerProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::MemoryHostPointerPropertiesEXT memoryHostPointerProperties; + Result result = static_cast( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast( handleType ), pHostPointer, reinterpret_cast( &memoryHostPointerProperties ) ) ); + return createResultValue( result, memoryHostPointerProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryHostPointerPropertiesEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleKHR( const VULKAN_HPP_NAMESPACE::MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d ) const + { + HANDLE handle; + Result result = static_cast( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryWin32HandleNV( m_device, static_cast( memory ), static_cast( handleType ), pHandle ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const & d ) const + { + HANDLE handle; + Result result = static_cast( d.vkGetMemoryWin32HandleNV( m_device, static_cast( memory ), static_cast( handleType ), &handle ) ); + return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast( handleType ), handle, reinterpret_cast< VkMemoryWin32HandlePropertiesKHR *>( pMemoryWin32HandleProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties; + Result result = static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast( handleType ), handle, reinterpret_cast( &memoryWin32HandleProperties ) ) ); + return createResultValue( result, memoryWin32HandleProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandlePropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VULKAN_HPP_NAMESPACE::PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), pPresentationTimingCount, reinterpret_cast< VkPastPresentationTimingGOOGLE *>( pPresentationTimings ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + std::vector presentationTimings; + uint32_t presentationTimingCount; + Result result; + do + { + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentationTimingCount ) + { + presentationTimings.resize( presentationTimingCount ); + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, reinterpret_cast( presentationTimings.data() ) ) ); + VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentationTimingCount < presentationTimings.size() ) ) + { + presentationTimings.resize( presentationTimingCount ); + } + return createResultValue( result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING"::Device::getPastPresentationTimingGOOGLE" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPastPresentationTimingGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, PastPresentationTimingGOOGLEAllocator & pastPresentationTimingGOOGLEAllocator, Dispatch const & d ) const + { + std::vector presentationTimings( pastPresentationTimingGOOGLEAllocator ); + uint32_t presentationTimingCount; + Result result; + do + { + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentationTimingCount ) + { + presentationTimings.resize( presentationTimingCount ); + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, reinterpret_cast( presentationTimings.data() ) ) ); + VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentationTimingCount < presentationTimings.size() ) ) + { + presentationTimings.resize( presentationTimingCount ); + } + return createResultValue( result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING"::Device::getPastPresentationTimingGOOGLE" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, VULKAN_HPP_NAMESPACE::PerformanceValueINTEL* pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPerformanceParameterINTEL( m_device, static_cast( parameter ), reinterpret_cast< VkPerformanceValueINTEL *>( pValue ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getPerformanceParameterINTEL( VULKAN_HPP_NAMESPACE::PerformanceParameterTypeINTEL parameter, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::PerformanceValueINTEL value; + Result result = static_cast( d.vkGetPerformanceParameterINTEL( m_device, static_cast( parameter ), reinterpret_cast( &value ) ) ); + return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getPerformanceParameterINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), pDataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Dispatch const & d ) const + { + std::vector data; + size_t dataSize; + Result result; + do + { + result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && dataSize ) + { + data.resize( dataSize ); + result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + VULKAN_HPP_ASSERT( dataSize <= data.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) + { + data.resize( dataSize ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineCacheData" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineCacheData( VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d ) const + { + std::vector data( uint8_tAllocator ); + size_t dataSize; + Result result; + do + { + result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && dataSize ) + { + data.resize( dataSize ); + result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + VULKAN_HPP_ASSERT( dataSize <= data.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) + { + data.resize( dataSize ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineCacheData" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableInternalRepresentationsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pInternalRepresentationCount, VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR* pInternalRepresentations, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( m_device, reinterpret_cast( pExecutableInfo ), pInternalRepresentationCount, reinterpret_cast< VkPipelineExecutableInternalRepresentationKHR *>( pInternalRepresentations ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, Dispatch const & d ) const + { + std::vector internalRepresentations; + uint32_t internalRepresentationCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( m_device, reinterpret_cast( &executableInfo ), &internalRepresentationCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && internalRepresentationCount ) + { + internalRepresentations.resize( internalRepresentationCount ); + result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( m_device, reinterpret_cast( &executableInfo ), &internalRepresentationCount, reinterpret_cast( internalRepresentations.data() ) ) ); + VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( internalRepresentationCount < internalRepresentations.size() ) ) + { + internalRepresentations.resize( internalRepresentationCount ); + } + return createResultValue( result, internalRepresentations, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutableInternalRepresentationsKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo, PipelineExecutableInternalRepresentationKHRAllocator & pipelineExecutableInternalRepresentationKHRAllocator, Dispatch const & d ) const + { + std::vector internalRepresentations( pipelineExecutableInternalRepresentationKHRAllocator ); + uint32_t internalRepresentationCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( m_device, reinterpret_cast( &executableInfo ), &internalRepresentationCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && internalRepresentationCount ) + { + internalRepresentations.resize( internalRepresentationCount ); + result = static_cast( d.vkGetPipelineExecutableInternalRepresentationsKHR( m_device, reinterpret_cast( &executableInfo ), &internalRepresentationCount, reinterpret_cast( internalRepresentations.data() ) ) ); + VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( internalRepresentationCount < internalRepresentations.size() ) ) + { + internalRepresentations.resize( internalRepresentationCount ); + } + return createResultValue( result, internalRepresentations, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutableInternalRepresentationsKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutablePropertiesKHR( const VULKAN_HPP_NAMESPACE::PipelineInfoKHR* pPipelineInfo, uint32_t* pExecutableCount, VULKAN_HPP_NAMESPACE::PipelineExecutablePropertiesKHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( pPipelineInfo ), pExecutableCount, reinterpret_cast< VkPipelineExecutablePropertiesKHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, Dispatch const & d ) const + { + std::vector properties; + uint32_t executableCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && executableCount ) + { + properties.resize( executableCount ); + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( executableCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( executableCount < properties.size() ) ) + { + properties.resize( executableCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutablePropertiesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo, PipelineExecutablePropertiesKHRAllocator & pipelineExecutablePropertiesKHRAllocator, Dispatch const & d ) const + { + std::vector properties( pipelineExecutablePropertiesKHRAllocator ); + uint32_t executableCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && executableCount ) + { + properties.resize( executableCount ); + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( executableCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( executableCount < properties.size() ) ) + { + properties.resize( executableCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutablePropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableStatisticsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR* pExecutableInfo, uint32_t* pStatisticCount, VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticKHR* pStatistics, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, reinterpret_cast( pExecutableInfo ), pStatisticCount, reinterpret_cast< VkPipelineExecutableStatisticKHR *>( pStatistics ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, Dispatch const & d ) const + { + std::vector statistics; + uint32_t statisticCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && statisticCount ) + { + statistics.resize( statisticCount ); + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, reinterpret_cast( &executableInfo ), &statisticCount, reinterpret_cast( statistics.data() ) ) ); + VULKAN_HPP_ASSERT( statisticCount <= statistics.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( statisticCount < statistics.size() ) ) + { + statistics.resize( statisticCount ); + } + return createResultValue( result, statistics, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutableStatisticsKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo, PipelineExecutableStatisticKHRAllocator & pipelineExecutableStatisticKHRAllocator, Dispatch const & d ) const + { + std::vector statistics( pipelineExecutableStatisticKHRAllocator ); + uint32_t statisticCount; + Result result; + do + { + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && statisticCount ) + { + statistics.resize( statisticCount ); + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, reinterpret_cast( &executableInfo ), &statisticCount, reinterpret_cast( statistics.data() ) ) ); + VULKAN_HPP_ASSERT( statisticCount <= statistics.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( statisticCount < statistics.size() ) ) + { + statistics.resize( statisticCount ); + } + return createResultValue( result, statistics, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineExecutableStatisticsKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPrivateDataEXT( m_device, static_cast( objectType ), objectHandle, static_cast( privateDataSlot ), pData ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + uint64_t data; + d.vkGetPrivateDataEXT( m_device, static_cast( objectType ), objectHandle, static_cast( privateDataSlot ), &data ); + return data; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetQueryPoolResults( m_device, static_cast( queryPool ), firstQuery, queryCount, dataSize, pData, static_cast( stride ), static_cast( flags ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy const &data, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const &d ) const + { + Result result = static_cast( d.vkGetQueryPoolResults( m_device, static_cast( queryPool ), firstQuery, queryCount, data.size() * sizeof( T ) , reinterpret_cast( data.data() ), static_cast( stride ), static_cast( flags ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getQueryPoolResults", { Result::eSuccess, Result::eNotReady } ); + + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkGetQueryPoolResults( m_device, static_cast( queryPool ), firstQuery, queryCount, data.size() * sizeof( T ), reinterpret_cast( data.data() ), static_cast( stride ), static_cast( flags ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResults", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::getQueryPoolResult( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkGetQueryPoolResults( m_device, static_cast( queryPool ), firstQuery, queryCount, sizeof( T ), reinterpret_cast( &data ), static_cast( stride ), static_cast( flags ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getQueryPoolResult", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eNotReady } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d ) const + { + Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ) , reinterpret_cast( data.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ), reinterpret_cast( data.data() ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingCaptureReplayShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( T ), reinterpret_cast( &data ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d ) const + { + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ) , reinterpret_cast( data.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getRayTracingShaderGroupHandlesKHR" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingShaderGroupHandlesKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ), reinterpret_cast( data.data() ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesKHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandleKHR( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( T ), reinterpret_cast( &data ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, static_cast( pipeline ), firstGroup, groupCount, dataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, ArrayProxy const &data, Dispatch const &d ) const + { + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ) , reinterpret_cast( data.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getRayTracingShaderGroupHandlesNV" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingShaderGroupHandlesNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( T ), reinterpret_cast( data.data() ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesNV" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandleNV( VULKAN_HPP_NAMESPACE::Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( T ), reinterpret_cast( &data ) ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast( swapchain ), reinterpret_cast< VkRefreshCycleDurationGOOGLE *>( pDisplayTimingProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getRefreshCycleDurationGOOGLE( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::RefreshCycleDurationGOOGLE displayTimingProperties; + Result result = static_cast( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast( swapchain ), reinterpret_cast( &displayTimingProperties ) ) ); + return createResultValue( result, displayTimingProperties, VULKAN_HPP_NAMESPACE_STRING "::Device::getRefreshCycleDurationGOOGLE" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, VULKAN_HPP_NAMESPACE::Extent2D* pGranularity, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetRenderAreaGranularity( m_device, static_cast( renderPass ), reinterpret_cast< VkExtent2D *>( pGranularity ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Extent2D Device::getRenderAreaGranularity( VULKAN_HPP_NAMESPACE::RenderPass renderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::Extent2D granularity; + d.vkGetRenderAreaGranularity( m_device, static_cast( renderPass ), reinterpret_cast( &granularity ) ); + return granularity; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t* pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSemaphoreCounterValue( m_device, static_cast( semaphore ), pValue ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreCounterValue( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d ) const + { + uint64_t value; + Result result = static_cast( d.vkGetSemaphoreCounterValue( m_device, static_cast( semaphore ), &value ) ); + return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValue" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, uint64_t* pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSemaphoreCounterValueKHR( m_device, static_cast( semaphore ), pValue ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreCounterValueKHR( VULKAN_HPP_NAMESPACE::Semaphore semaphore, Dispatch const & d ) const + { + uint64_t value; + Result result = static_cast( d.vkGetSemaphoreCounterValueKHR( m_device, static_cast( semaphore ), &value ) ); + return createResultValue( result, value, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValueKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast( pGetFdInfo ), pFd ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const & d ) const + { + int fd; + Result result = static_cast( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreFdKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreWin32HandleKHR( const VULKAN_HPP_NAMESPACE::SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast( pGetWin32HandleInfo ), pHandle ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const & d ) const + { + HANDLE handle; + Result result = static_cast( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreWin32HandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetShaderInfoAMD( m_device, static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), pInfoSize, pInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, Dispatch const & d ) const + { + std::vector info; + size_t infoSize; + Result result; + do + { + result = static_cast( d.vkGetShaderInfoAMD( m_device, static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), &infoSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && infoSize ) + { + info.resize( infoSize ); + result = static_cast( d.vkGetShaderInfoAMD( m_device, static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), &infoSize, reinterpret_cast( info.data() ) ) ); + VULKAN_HPP_ASSERT( infoSize <= info.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( infoSize < info.size() ) ) + { + info.resize( infoSize ); + } + return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING"::Device::getShaderInfoAMD" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderInfoAMD( VULKAN_HPP_NAMESPACE::Pipeline pipeline, VULKAN_HPP_NAMESPACE::ShaderStageFlagBits shaderStage, VULKAN_HPP_NAMESPACE::ShaderInfoTypeAMD infoType, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d ) const + { + std::vector info( uint8_tAllocator ); + size_t infoSize; + Result result; + do + { + result = static_cast( d.vkGetShaderInfoAMD( m_device, static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), &infoSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && infoSize ) + { + info.resize( infoSize ); + result = static_cast( d.vkGetShaderInfoAMD( m_device, static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), &infoSize, reinterpret_cast( info.data() ) ) ); + VULKAN_HPP_ASSERT( infoSize <= info.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( infoSize < info.size() ) ) + { + info.resize( infoSize ); + } + return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING"::Device::getShaderInfoAMD" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSwapchainCounterEXT( m_device, static_cast( swapchain ), static_cast( counter ), pCounterValue ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getSwapchainCounterEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, VULKAN_HPP_NAMESPACE::SurfaceCounterFlagBitsEXT counter, Dispatch const & d ) const + { + uint64_t counterValue; + Result result = static_cast( d.vkGetSwapchainCounterEXT( m_device, static_cast( swapchain ), static_cast( counter ), &counterValue ) ); + return createResultValue( result, counterValue, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainCounterEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VULKAN_HPP_NAMESPACE::Image* pSwapchainImages, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), pSwapchainImageCount, reinterpret_cast< VkImage *>( pSwapchainImages ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + std::vector swapchainImages; + uint32_t swapchainImageCount; + Result result; + do + { + result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && swapchainImageCount ) + { + swapchainImages.resize( swapchainImageCount ); + result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, reinterpret_cast( swapchainImages.data() ) ) ); + VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( swapchainImageCount < swapchainImages.size() ) ) + { + swapchainImages.resize( swapchainImageCount ); + } + return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainImagesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getSwapchainImagesKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, ImageAllocator & imageAllocator, Dispatch const & d ) const + { + std::vector swapchainImages( imageAllocator ); + uint32_t swapchainImageCount; + Result result; + do + { + result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && swapchainImageCount ) + { + swapchainImages.resize( swapchainImageCount ); + result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, reinterpret_cast( swapchainImages.data() ) ) ); + VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( swapchainImageCount < swapchainImages.size() ) ) + { + swapchainImages.resize( swapchainImageCount ); + } + return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainImagesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetSwapchainStatusKHR( m_device, static_cast( swapchain ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + Result result = static_cast( d.vkGetSwapchainStatusKHR( m_device, static_cast( swapchain ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainStatusKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), pDataSize, pData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Dispatch const & d ) const + { + std::vector data; + size_t dataSize; + Result result; + do + { + result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && dataSize ) + { + data.resize( dataSize ); + result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + VULKAN_HPP_ASSERT( dataSize <= data.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) + { + data.resize( dataSize ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getValidationCacheDataEXT" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getValidationCacheDataEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache, Uint8_tAllocator & uint8_tAllocator, Dispatch const & d ) const + { + std::vector data( uint8_tAllocator ); + size_t dataSize; + Result result; + do + { + result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, nullptr ) ); + if ( ( result == Result::eSuccess ) && dataSize ) + { + data.resize( dataSize ); + result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + VULKAN_HPP_ASSERT( dataSize <= data.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( dataSize < data.size() ) ) + { + data.resize( dataSize ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getValidationCacheDataEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importFenceFdKHR( const VULKAN_HPP_NAMESPACE::ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkImportFenceFdKHR( m_device, reinterpret_cast( pImportFenceFdInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkImportFenceFdKHR( m_device, reinterpret_cast( &importFenceFdInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceFdKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importFenceWin32HandleKHR( const VULKAN_HPP_NAMESPACE::ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast( pImportFenceWin32HandleInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast( &importFenceWin32HandleInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceWin32HandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreFdKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast( pImportSemaphoreFdInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast( &importSemaphoreFdInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreFdKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreWin32HandleKHR( const VULKAN_HPP_NAMESPACE::ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast( pImportSemaphoreWin32HandleInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast( &importSemaphoreWin32HandleInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreWin32HandleKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::initializePerformanceApiINTEL( const VULKAN_HPP_NAMESPACE::InitializePerformanceApiInfoINTEL* pInitializeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkInitializePerformanceApiINTEL( m_device, reinterpret_cast( pInitializeInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkInitializePerformanceApiINTEL( m_device, reinterpret_cast( &initializeInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::initializePerformanceApiINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const VULKAN_HPP_NAMESPACE::MappedMemoryRange* pMemoryRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkInvalidateMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast( pMemoryRanges ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::invalidateMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d ) const + { + Result result = static_cast( d.vkInvalidateMappedMemoryRanges( m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::invalidateMappedMemoryRanges" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::DeviceSize size, VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, void** ppData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkMapMemory( m_device, static_cast( memory ), static_cast( offset ), static_cast( size ), static_cast( flags ), ppData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::mapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, VULKAN_HPP_NAMESPACE::DeviceSize offset, VULKAN_HPP_NAMESPACE::DeviceSize size, VULKAN_HPP_NAMESPACE::MemoryMapFlags flags, Dispatch const & d ) const + { + void* pData; + Result result = static_cast( d.vkMapMemory( m_device, static_cast( memory ), static_cast( offset ), static_cast( size ), static_cast( flags ), &pData ) ); + return createResultValue( result, pData, VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, uint32_t srcCacheCount, const VULKAN_HPP_NAMESPACE::PipelineCache* pSrcCaches, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkMergePipelineCaches( m_device, static_cast( dstCache ), srcCacheCount, reinterpret_cast( pSrcCaches ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::mergePipelineCaches( VULKAN_HPP_NAMESPACE::PipelineCache dstCache, ArrayProxy const & srcCaches, Dispatch const & d ) const + { + Result result = static_cast( d.vkMergePipelineCaches( m_device, static_cast( dstCache ), srcCaches.size(), reinterpret_cast( srcCaches.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergePipelineCaches" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, uint32_t srcCacheCount, const VULKAN_HPP_NAMESPACE::ValidationCacheEXT* pSrcCaches, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkMergeValidationCachesEXT( m_device, static_cast( dstCache ), srcCacheCount, reinterpret_cast( pSrcCaches ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::mergeValidationCachesEXT( VULKAN_HPP_NAMESPACE::ValidationCacheEXT dstCache, ArrayProxy const & srcCaches, Dispatch const & d ) const + { + Result result = static_cast( d.vkMergeValidationCachesEXT( m_device, static_cast( dstCache ), srcCaches.size(), reinterpret_cast( srcCaches.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergeValidationCachesEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::registerEventEXT( const VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT* pDeviceEventInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast( pDeviceEventInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkFence *>( pFence ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast( &deviceEventInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerEventEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::registerEventEXTUnique( const DeviceEventInfoEXT & deviceEventInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast( &deviceEventInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerEventEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT* pDisplayEventInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Fence* pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkRegisterDisplayEventEXT( m_device, static_cast( display ), reinterpret_cast( pDisplayEventInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkFence *>( pFence ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::registerDisplayEventEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkRegisterDisplayEventEXT( m_device, static_cast( display ), reinterpret_cast( &displayEventInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerDisplayEventEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Device::registerDisplayEventEXTUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Fence fence; + Result result = static_cast( d.vkRegisterDisplayEventEXT( m_device, static_cast( display ), reinterpret_cast( &displayEventInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &fence ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING "::Device::registerDisplayEventEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkReleaseFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releaseFullScreenExclusiveModeEXT( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain, Dispatch const & d ) const + { + Result result = static_cast( d.vkReleaseFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseFullScreenExclusiveModeEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releasePerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releasePerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const + { + Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releasePerformanceConfigurationINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::release( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const + { + Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::release" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_INLINE void Device::releaseProfilingLockKHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkReleaseProfilingLockKHR( m_device ); + } + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkResetCommandPool( m_device, static_cast( commandPool ), static_cast( flags ) ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::resetCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolResetFlags flags, Dispatch const & d ) const + { + Result result = static_cast( d.vkResetCommandPool( m_device, static_cast( commandPool ), static_cast( flags ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetCommandPool" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Result Device::resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkResetDescriptorPool( m_device, static_cast( descriptorPool ), static_cast( flags ) ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool, VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags, Dispatch const & d ) const + { + Result result = static_cast( d.vkResetDescriptorPool( m_device, static_cast( descriptorPool ), static_cast( flags ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetDescriptorPool" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkResetEvent( m_device, static_cast( event ) ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::resetEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const + { + Result result = static_cast( d.vkResetEvent( m_device, static_cast( event ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetEvent" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetFences( uint32_t fenceCount, const VULKAN_HPP_NAMESPACE::Fence* pFences, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkResetFences( m_device, fenceCount, reinterpret_cast( pFences ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::resetFences( ArrayProxy const & fences, Dispatch const & d ) const + { + Result result = static_cast( d.vkResetFences( m_device, fences.size(), reinterpret_cast( fences.data() ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetFences" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkResetQueryPool( m_device, static_cast( queryPool ), firstQuery, queryCount ); + } + + template + VULKAN_HPP_INLINE void Device::resetQueryPoolEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkResetQueryPoolEXT( m_device, static_cast( queryPool ), firstQuery, queryCount ); + } + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectNameEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast( pNameInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast( &nameInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectNameEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectTagEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast( pTagInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectTagEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSetEvent( m_device, static_cast( event ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setEvent( VULKAN_HPP_NAMESPACE::Event event, Dispatch const & d ) const + { + Result result = static_cast( d.vkSetEvent( m_device, static_cast( event ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setEvent" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( uint32_t swapchainCount, const VULKAN_HPP_NAMESPACE::SwapchainKHR* pSwapchains, const VULKAN_HPP_NAMESPACE::HdrMetadataEXT* pMetadata, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkSetHdrMetadataEXT( m_device, swapchainCount, reinterpret_cast( pSwapchains ), reinterpret_cast( pMetadata ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( ArrayProxy const & swapchains, ArrayProxy const & metadata, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS + { +#ifdef VULKAN_HPP_NO_EXCEPTIONS + VULKAN_HPP_ASSERT( swapchains.size() == metadata.size() ); +#else + if ( swapchains.size() != metadata.size() ) + { + throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::setHdrMetadataEXT: swapchains.size() != metadata.size()" ); + } +#endif /*VULKAN_HPP_NO_EXCEPTIONS*/ + + d.vkSetHdrMetadataEXT( m_device, swapchains.size(), reinterpret_cast( swapchains.data() ), reinterpret_cast( metadata.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::setLocalDimmingAMD( VULKAN_HPP_NAMESPACE::SwapchainKHR swapChain, VULKAN_HPP_NAMESPACE::Bool32 localDimmingEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkSetLocalDimmingAMD( m_device, static_cast( swapChain ), static_cast( localDimmingEnable ) ); + } + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSetPrivateDataEXT( m_device, static_cast( objectType ), objectHandle, static_cast( privateDataSlot ), data ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type Device::setPrivateDataEXT( VULKAN_HPP_NAMESPACE::ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT privateDataSlot, uint64_t data, Dispatch const & d ) const + { + Result result = static_cast( d.vkSetPrivateDataEXT( m_device, static_cast( objectType ), objectHandle, static_cast( privateDataSlot ), data ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setPrivateDataEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphore( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo* pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSignalSemaphore( m_device, reinterpret_cast( pSignalInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::signalSemaphore( const SemaphoreSignalInfo & signalInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkSignalSemaphore( m_device, reinterpret_cast( &signalInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphore" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphoreKHR( const VULKAN_HPP_NAMESPACE::SemaphoreSignalInfo* pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkSignalSemaphoreKHR( m_device, reinterpret_cast( pSignalInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkSignalSemaphoreKHR( m_device, reinterpret_cast( &signalInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphoreKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Device::trimCommandPool( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkTrimCommandPool( m_device, static_cast( commandPool ), static_cast( flags ) ); + } + + template + VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( VULKAN_HPP_NAMESPACE::CommandPool commandPool, VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkTrimCommandPoolKHR( m_device, static_cast( commandPool ), static_cast( flags ) ); + } + + + template + VULKAN_HPP_INLINE void Device::uninitializePerformanceApiINTEL( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUninitializePerformanceApiINTEL( m_device ); + } + + + template + VULKAN_HPP_INLINE void Device::unmapMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUnmapMemory( m_device, static_cast( memory ) ); + } + + + template + VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUpdateDescriptorSetWithTemplate( m_device, static_cast( descriptorSet ), static_cast( descriptorUpdateTemplate ), pData ); + } + + template + VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorSet descriptorSet, VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUpdateDescriptorSetWithTemplateKHR( m_device, static_cast( descriptorSet ), static_cast( descriptorUpdateTemplate ), pData ); + } + + + template + VULKAN_HPP_INLINE void Device::updateDescriptorSets( uint32_t descriptorWriteCount, const VULKAN_HPP_NAMESPACE::WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VULKAN_HPP_NAMESPACE::CopyDescriptorSet* pDescriptorCopies, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUpdateDescriptorSets( m_device, descriptorWriteCount, reinterpret_cast( pDescriptorWrites ), descriptorCopyCount, reinterpret_cast( pDescriptorCopies ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Device::updateDescriptorSets( ArrayProxy const & descriptorWrites, ArrayProxy const & descriptorCopies, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkUpdateDescriptorSets( m_device, descriptorWrites.size(), reinterpret_cast( descriptorWrites.data() ), descriptorCopies.size(), reinterpret_cast( descriptorCopies.data() ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( uint32_t fenceCount, const VULKAN_HPP_NAMESPACE::Fence* pFences, VULKAN_HPP_NAMESPACE::Bool32 waitAll, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkWaitForFences( m_device, fenceCount, reinterpret_cast( pFences ), static_cast( waitAll ), timeout ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( ArrayProxy const & fences, VULKAN_HPP_NAMESPACE::Bool32 waitAll, uint64_t timeout, Dispatch const & d ) const + { + Result result = static_cast( d.vkWaitForFences( m_device, fences.size(), reinterpret_cast( fences.data() ), static_cast( waitAll ), timeout ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitForFences", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo* pWaitInfo, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkWaitSemaphores( m_device, reinterpret_cast( pWaitInfo ), timeout ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( const SemaphoreWaitInfo & waitInfo, uint64_t timeout, Dispatch const & d ) const + { + Result result = static_cast( d.vkWaitSemaphores( m_device, reinterpret_cast( &waitInfo ), timeout ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphores", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( const VULKAN_HPP_NAMESPACE::SemaphoreWaitInfo* pWaitInfo, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkWaitSemaphoresKHR( m_device, reinterpret_cast( pWaitInfo ), timeout ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, uint64_t timeout, Dispatch const & d ) const + { + Result result = static_cast( d.vkWaitSemaphoresKHR( m_device, reinterpret_cast( &waitInfo ), timeout ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphoresKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eTimeout } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR* pAccelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t dataSize, void* pData, size_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, accelerationStructureCount, reinterpret_cast( pAccelerationStructures ), static_cast( queryType ), dataSize, pData, stride ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::writeAccelerationStructuresPropertiesKHR( ArrayProxy const &accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, ArrayProxy const &data, size_t stride, Dispatch const &d ) const + { + Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, accelerationStructures.size() , reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), data.size() * sizeof( T ) , reinterpret_cast( data.data() ), stride ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::writeAccelerationStructuresPropertiesKHR" ); + + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Device::writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t dataSize, size_t stride, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( dataSize % sizeof( T ) == 0 ); + std::vector data( dataSize / sizeof( T ) ); + Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), data.size() * sizeof( T ), reinterpret_cast( data.data() ), stride ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertiesKHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::writeAccelerationStructuresPropertyKHR( ArrayProxy const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t stride, Dispatch const & d ) const + { + T data; + Result result = static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), sizeof( T ), reinterpret_cast( &data ), stride ) ); + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertyKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createAndroidSurfaceKHR( const VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createAndroidSurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createAndroidSurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDebugReportCallbackEXT( const VULKAN_HPP_NAMESPACE::DebugReportCallbackCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT* pCallback, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDebugReportCallbackEXT *>( pCallback ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback; + Result result = static_cast( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &callback ) ) ); + return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugReportCallbackEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback; + Result result = static_cast( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &callback ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugReportCallbackEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDebugUtilsMessengerEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT* pMessenger, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDebugUtilsMessengerEXT *>( pMessenger ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger; + Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &messenger ) ) ); + return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugUtilsMessengerEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger; + Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &messenger ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDebugUtilsMessengerEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDirectFBSurfaceEXT( const VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDirectFBSurfaceEXT( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDirectFBSurfaceEXT( const DirectFBSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDirectFBSurfaceEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDirectFBSurfaceEXTUnique( const DirectFBSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDirectFBSurfaceEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDisplayPlaneSurfaceKHR( const VULKAN_HPP_NAMESPACE::DisplaySurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDisplayPlaneSurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createDisplayPlaneSurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createHeadlessSurfaceEXT( const VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateHeadlessSurfaceEXT( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createHeadlessSurfaceEXT( const HeadlessSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createHeadlessSurfaceEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createHeadlessSurfaceEXTUnique( const HeadlessSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createHeadlessSurfaceEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_IOS_MVK + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createIOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::IOSSurfaceCreateInfoMVK* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createIOSSurfaceMVK" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createIOSSurfaceMVKUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + + +#ifdef VK_USE_PLATFORM_FUCHSIA + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createImagePipeSurfaceFUCHSIA( const VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createImagePipeSurfaceFUCHSIA( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createImagePipeSurfaceFUCHSIA" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createImagePipeSurfaceFUCHSIAUnique( const ImagePipeSurfaceCreateInfoFUCHSIA & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createImagePipeSurfaceFUCHSIAUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + + +#ifdef VK_USE_PLATFORM_MACOS_MVK + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createMacOSSurfaceMVK( const VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateInfoMVK* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMacOSSurfaceMVK" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMacOSSurfaceMVKUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ + + +#ifdef VK_USE_PLATFORM_METAL_EXT + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createMetalSurfaceEXT( const VULKAN_HPP_NAMESPACE::MetalSurfaceCreateInfoEXT* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateMetalSurfaceEXT( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createMetalSurfaceEXT( const MetalSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateMetalSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMetalSurfaceEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createMetalSurfaceEXTUnique( const MetalSurfaceCreateInfoEXT & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateMetalSurfaceEXT( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createMetalSurfaceEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + + +#ifdef VK_USE_PLATFORM_GGP + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createStreamDescriptorSurfaceGGP( const VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateStreamDescriptorSurfaceGGP( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createStreamDescriptorSurfaceGGP( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createStreamDescriptorSurfaceGGP" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createStreamDescriptorSurfaceGGPUnique( const StreamDescriptorSurfaceCreateInfoGGP & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createStreamDescriptorSurfaceGGPUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_GGP*/ + + +#ifdef VK_USE_PLATFORM_VI_NN + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createViSurfaceNN( const VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createViSurfaceNN" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createViSurfaceNNUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_VI_NN*/ + + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createWaylandSurfaceKHR( const VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWaylandSurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWaylandSurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createWin32SurfaceKHR( const VULKAN_HPP_NAMESPACE::Win32SurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWin32SurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createWin32SurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_XCB_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createXcbSurfaceKHR( const VULKAN_HPP_NAMESPACE::XcbSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXcbSurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXcbSurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createXlibSurfaceKHR( const VULKAN_HPP_NAMESPACE::XlibSurfaceCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::SurfaceKHR* pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkSurfaceKHR *>( pSurface ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXlibSurfaceKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceKHR surface; + Result result = static_cast( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &surface ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING "::Instance::createXlibSurfaceKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + + template + VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDebugReportMessageEXT( m_instance, static_cast( flags ), static_cast( objectType ), object, location, messageCode, pLayerPrefix, pMessage ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( VULKAN_HPP_NAMESPACE::DebugReportFlagsEXT flags, VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDebugReportMessageEXT( m_instance, static_cast( flags ), static_cast( objectType ), object, location, messageCode, layerPrefix.c_str(), message.c_str() ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast( callback ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast( callback ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast( callback ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast( callback ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast( messenger ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast( messenger ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast( messenger ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast( messenger ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroy( const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyInstance( m_instance, reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroy( Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroyInstance( m_instance, reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( pAllocator ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::destroy( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( static_cast( allocator ) ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast< VkPhysicalDeviceGroupProperties *>( pPhysicalDeviceGroupProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroups( Dispatch const & d ) const + { + std::vector physicalDeviceGroupProperties; + uint32_t physicalDeviceGroupCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + } + return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroups" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroups( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const + { + std::vector physicalDeviceGroupProperties( physicalDeviceGroupPropertiesAllocator ); + uint32_t physicalDeviceGroupCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + } + return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroups" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast< VkPhysicalDeviceGroupProperties *>( pPhysicalDeviceGroupProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroupsKHR( Dispatch const & d ) const + { + std::vector physicalDeviceGroupProperties; + uint32_t physicalDeviceGroupCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + } + return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroupsKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroupsKHR( PhysicalDeviceGroupPropertiesAllocator & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const + { + std::vector physicalDeviceGroupProperties( physicalDeviceGroupPropertiesAllocator ); + uint32_t physicalDeviceGroupCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) ) + { + physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); + } + return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroupsKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, VULKAN_HPP_NAMESPACE::PhysicalDevice* pPhysicalDevices, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumeratePhysicalDevices( m_instance, pPhysicalDeviceCount, reinterpret_cast< VkPhysicalDevice *>( pPhysicalDevices ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDevices( Dispatch const & d ) const + { + std::vector physicalDevices; + uint32_t physicalDeviceCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceCount ) + { + physicalDevices.resize( physicalDeviceCount ); + result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceCount < physicalDevices.size() ) ) + { + physicalDevices.resize( physicalDeviceCount ); + } + return createResultValue( result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDevices" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDevices( PhysicalDeviceAllocator & physicalDeviceAllocator, Dispatch const & d ) const + { + std::vector physicalDevices( physicalDeviceAllocator ); + uint32_t physicalDeviceCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && physicalDeviceCount ) + { + physicalDevices.resize( physicalDeviceCount ); + result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); + VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( physicalDeviceCount < physicalDevices.size() ) ) + { + physicalDevices.resize( physicalDeviceCount ); + } + return createResultValue( result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDevices" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const char* pName, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetInstanceProcAddr( m_instance, pName ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const std::string & name, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetInstanceProcAddr( m_instance, name.c_str() ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, const VULKAN_HPP_NAMESPACE::DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast( messageSeverity ), static_cast( messageTypes ), reinterpret_cast( pCallbackData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( VULKAN_HPP_NAMESPACE::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VULKAN_HPP_NAMESPACE::DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast( messageSeverity ), static_cast( messageTypes ), reinterpret_cast( &callbackData ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireXlibDisplayEXT( Display* dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkAcquireXlibDisplayEXT( m_physicalDevice, dpy, static_cast( display ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::acquireXlibDisplayEXT( Display & dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const + { + Result result = static_cast( d.vkAcquireXlibDisplayEXT( m_physicalDevice, &dpy, static_cast( display ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireXlibDisplayEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::createDevice( const VULKAN_HPP_NAMESPACE::DeviceCreateInfo* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::Device* pDevice, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDevice( m_physicalDevice, reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDevice *>( pDevice ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::createDevice( const DeviceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Device device; + Result result = static_cast( d.vkCreateDevice( m_physicalDevice, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &device ) ) ); + return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDevice" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::createDeviceUnique( const DeviceCreateInfo & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Device device; + Result result = static_cast( d.vkCreateDevice( m_physicalDevice, reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &device ) ) ); + ObjectDestroy deleter( allocator, d ); + return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDeviceUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, const VULKAN_HPP_NAMESPACE::DisplayModeCreateInfoKHR* pCreateInfo, const VULKAN_HPP_NAMESPACE::AllocationCallbacks* pAllocator, VULKAN_HPP_NAMESPACE::DisplayModeKHR* pMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast( display ), reinterpret_cast( pCreateInfo ), reinterpret_cast( pAllocator ), reinterpret_cast< VkDisplayModeKHR *>( pMode ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::createDisplayModeKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayModeKHR mode; + Result result = static_cast( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast( display ), reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &mode ) ) ); + return createResultValue( result, mode, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDisplayModeKHR" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::createDisplayModeKHRUnique( VULKAN_HPP_NAMESPACE::DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional allocator, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayModeKHR mode; + Result result = static_cast( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast( display ), reinterpret_cast( &createInfo ), reinterpret_cast( static_cast( allocator ) ), reinterpret_cast( &mode ) ) ); + ObjectDestroy deleter( *this, allocator, d ); + return createResultValue( result, mode, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::createDisplayModeKHRUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::ExtensionProperties* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, pLayerName, pPropertyCount, reinterpret_cast< VkExtensionProperties *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceExtensionProperties" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator & extensionPropertiesAllocator, Dispatch const & d ) const + { + std::vector properties( extensionPropertiesAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceExtensionProperties" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceLayerProperties( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::LayerProperties* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, pPropertyCount, reinterpret_cast< VkLayerProperties *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceLayerProperties( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceLayerProperties" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceLayerProperties( LayerPropertiesAllocator & layerPropertiesAllocator, Dispatch const & d ) const + { + std::vector properties( layerPropertiesAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceLayerProperties" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, uint32_t* pCounterCount, VULKAN_HPP_NAMESPACE::PerformanceCounterKHR* pCounters, VULKAN_HPP_NAMESPACE::PerformanceCounterDescriptionKHR* pCounterDescriptions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, pCounterCount, reinterpret_cast< VkPerformanceCounterKHR *>( pCounters ), reinterpret_cast< VkPerformanceCounterDescriptionKHR *>( pCounterDescriptions ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, ArrayProxy const &counters, Dispatch const &d ) const + { + std::vector counterDescriptions; + uint32_t counterCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, counters.size() , reinterpret_cast( counters.data() ), nullptr ) ); + if ( ( result == Result::eSuccess ) && counterCount ) + { + counterDescriptions.resize( counterCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, counters.size() , reinterpret_cast( counters.data() ), reinterpret_cast( counterDescriptions.data() ) ) ); + } + } while ( result == Result::eIncomplete ); + if ( result == Result::eSuccess ) + { + VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); + counterDescriptions.resize( counterCount ); + } + return createResultValue( result, counterDescriptions, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); + + } + + template ::value, int>::type> + VULKAN_HPP_DEPRECATED( "This function is deprecated. Use one of the other flavours of it.") + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, ArrayProxy const &counters, Allocator const& vectorAllocator, Dispatch const &d ) const + { + std::vector counterDescriptions( vectorAllocator ); + uint32_t counterCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, counters.size() , reinterpret_cast( counters.data() ), nullptr ) ); + if ( ( result == Result::eSuccess ) && counterCount ) + { + counterDescriptions.resize( counterCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, counters.size() , reinterpret_cast( counters.data() ), reinterpret_cast( counterDescriptions.data() ) ) ); + } + } while ( result == Result::eIncomplete ); + if ( result == Result::eSuccess ) + { + VULKAN_HPP_ASSERT( counterCount <= counterDescriptions.size() ); + counterDescriptions.resize( counterCount ); + } + return createResultValue( result, counterDescriptions, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); + + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, Dispatch const & d ) const + { + std::pair, std::vector> data; + std::vector & counters = data.first; + std::vector & counterDescriptions = data.second; + uint32_t counterCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + if ( ( result == Result::eSuccess ) && counterCount ) + { + counters.resize( counterCount ); + counterDescriptions.resize( counterCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), reinterpret_cast( counterDescriptions.data() ) ) ); + VULKAN_HPP_ASSERT( counterCount <= counters.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( counterCount < counters.size() ) ) + { + counters.resize( counterCount ); + counterDescriptions.resize( counterCount ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); + } + + template ::value && std::is_same::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, PerformanceCounterKHRAllocator & performanceCounterKHRAllocator, PerformanceCounterDescriptionKHRAllocator & performanceCounterDescriptionKHRAllocator, Dispatch const & d ) const + { + std::pair, std::vector> data( std::piecewise_construct, std::forward_as_tuple( performanceCounterKHRAllocator ), std::forward_as_tuple( performanceCounterDescriptionKHRAllocator ) ); + std::vector & counters = data.first; + std::vector & counterDescriptions = data.second; + uint32_t counterCount; + Result result; + do + { + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + if ( ( result == Result::eSuccess ) && counterCount ) + { + counters.resize( counterCount ); + counterDescriptions.resize( counterCount ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), reinterpret_cast( counterDescriptions.data() ) ) ); + VULKAN_HPP_ASSERT( counterCount <= counters.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( counterCount < counters.size() ) ) + { + counters.resize( counterCount ); + counterDescriptions.resize( counterCount ); + } + return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayModeProperties2KHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), pPropertyCount, reinterpret_cast< VkDisplayModeProperties2KHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModeProperties2KHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, DisplayModeProperties2KHRAllocator & displayModeProperties2KHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayModeProperties2KHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModeProperties2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayModePropertiesKHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), pPropertyCount, reinterpret_cast< VkDisplayModePropertiesKHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModePropertiesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModePropertiesKHR( VULKAN_HPP_NAMESPACE::DisplayKHR display, DisplayModePropertiesKHRAllocator & displayModePropertiesKHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayModePropertiesKHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModePropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilities2KHR( const VULKAN_HPP_NAMESPACE::DisplayPlaneInfo2KHR* pDisplayPlaneInfo, VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR* pCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDisplayPlaneCapabilities2KHR( m_physicalDevice, reinterpret_cast( pDisplayPlaneInfo ), reinterpret_cast< VkDisplayPlaneCapabilities2KHR *>( pCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilities2KHR capabilities; + Result result = static_cast( d.vkGetDisplayPlaneCapabilities2KHR( m_physicalDevice, reinterpret_cast( &displayPlaneInfo ), reinterpret_cast( &capabilities ) ) ); + return createResultValue( result, capabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilities2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, uint32_t planeIndex, VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast( mode ), planeIndex, reinterpret_cast< VkDisplayPlaneCapabilitiesKHR *>( pCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getDisplayPlaneCapabilitiesKHR( VULKAN_HPP_NAMESPACE::DisplayModeKHR mode, uint32_t planeIndex, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayPlaneCapabilitiesKHR capabilities; + Result result = static_cast( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast( mode ), planeIndex, reinterpret_cast( &capabilities ) ) ); + return createResultValue( result, capabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilitiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, VULKAN_HPP_NAMESPACE::DisplayKHR* pDisplays, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, pDisplayCount, reinterpret_cast< VkDisplayKHR *>( pDisplays ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const & d ) const + { + std::vector displays; + uint32_t displayCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && displayCount ) + { + displays.resize( displayCount ); + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); + VULKAN_HPP_ASSERT( displayCount <= displays.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( displayCount < displays.size() ) ) + { + displays.resize( displayCount ); + } + return createResultValue( result, displays, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, DisplayKHRAllocator & displayKHRAllocator, Dispatch const & d ) const + { + std::vector displays( displayKHRAllocator ); + uint32_t displayCount; + Result result; + do + { + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && displayCount ) + { + displays.resize( displayCount ); + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); + VULKAN_HPP_ASSERT( displayCount <= displays.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( displayCount < displays.size() ) ) + { + displays.resize( displayCount ); + } + return createResultValue( result, displays, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCalibrateableTimeDomainsEXT( uint32_t* pTimeDomainCount, VULKAN_HPP_NAMESPACE::TimeDomainEXT* pTimeDomains, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, pTimeDomainCount, reinterpret_cast< VkTimeDomainEXT *>( pTimeDomains ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsEXT( Dispatch const & d ) const + { + std::vector timeDomains; + uint32_t timeDomainCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && timeDomainCount ) + { + timeDomains.resize( timeDomainCount ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( timeDomainCount < timeDomains.size() ) ) + { + timeDomains.resize( timeDomainCount ); + } + return createResultValue( result, timeDomains, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsEXT( TimeDomainEXTAllocator & timeDomainEXTAllocator, Dispatch const & d ) const + { + std::vector timeDomains( timeDomainEXTAllocator ); + uint32_t timeDomainCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && timeDomainCount ) + { + timeDomains.resize( timeDomainCount ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( timeDomainCount < timeDomains.size() ) ) + { + timeDomains.resize( timeDomainCount ); + } + return createResultValue( result, timeDomains, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeMatrixPropertiesNV( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::CooperativeMatrixPropertiesNV* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, pPropertyCount, reinterpret_cast< VkCooperativeMatrixPropertiesNV *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesNV( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNVAllocator & cooperativeMatrixPropertiesNVAllocator, Dispatch const & d ) const + { + std::vector properties( cooperativeMatrixPropertiesNVAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB* dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( m_physicalDevice, queueFamilyIndex, dfb ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( m_physicalDevice, queueFamilyIndex, &dfb ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneProperties2KHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPlaneProperties2KHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, pPropertyCount, reinterpret_cast< VkDisplayPlaneProperties2KHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneProperties2KHR( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneProperties2KHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneProperties2KHR( DisplayPlaneProperties2KHRAllocator & displayPlaneProperties2KHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayPlaneProperties2KHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneProperties2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPlanePropertiesKHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast< VkDisplayPlanePropertiesKHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlanePropertiesKHR( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlanePropertiesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlanePropertiesKHR( DisplayPlanePropertiesKHRAllocator & displayPlanePropertiesKHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayPlanePropertiesKHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlanePropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayProperties2KHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayProperties2KHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, pPropertyCount, reinterpret_cast< VkDisplayProperties2KHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayProperties2KHR( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayProperties2KHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayProperties2KHR( DisplayProperties2KHRAllocator & displayProperties2KHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayProperties2KHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayProperties2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPropertiesKHR( uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::DisplayPropertiesKHR* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast< VkDisplayPropertiesKHR *>( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPropertiesKHR( Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPropertiesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator & displayPropertiesKHRAllocator, Dispatch const & d ) const + { + std::vector properties( displayPropertiesKHRAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( propertyCount < properties.size() ) ) + { + properties.resize( propertyCount ); + } + return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPropertiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VULKAN_HPP_NAMESPACE::ExternalBufferProperties* pExternalBufferProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast( pExternalBufferInfo ), reinterpret_cast< VkExternalBufferProperties *>( pExternalBufferProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalBufferProperties PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalBufferProperties externalBufferProperties; + d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast( &externalBufferInfo ), reinterpret_cast( &externalBufferProperties ) ); + return externalBufferProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferPropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VULKAN_HPP_NAMESPACE::ExternalBufferProperties* pExternalBufferProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast( pExternalBufferInfo ), reinterpret_cast< VkExternalBufferProperties *>( pExternalBufferProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalBufferProperties PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalBufferProperties externalBufferProperties; + d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast( &externalBufferInfo ), reinterpret_cast( &externalBufferProperties ) ); + return externalBufferProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalFenceProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VULKAN_HPP_NAMESPACE::ExternalFenceProperties* pExternalFenceProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast( pExternalFenceInfo ), reinterpret_cast< VkExternalFenceProperties *>( pExternalFenceProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalFenceProperties PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalFenceProperties externalFenceProperties; + d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast( &externalFenceInfo ), reinterpret_cast( &externalFenceProperties ) ); + return externalFenceProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalFencePropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VULKAN_HPP_NAMESPACE::ExternalFenceProperties* pExternalFenceProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast( pExternalFenceInfo ), reinterpret_cast< VkExternalFenceProperties *>( pExternalFenceProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalFenceProperties PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalFenceProperties externalFenceProperties; + d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast( &externalFenceInfo ), reinterpret_cast( &externalFenceProperties ) ); + return externalFenceProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getExternalImageFormatPropertiesNV( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( tiling ), static_cast( usage ), static_cast( flags ), static_cast( externalHandleType ), reinterpret_cast< VkExternalImageFormatPropertiesNV *>( pExternalImageFormatProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getExternalImageFormatPropertiesNV( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV externalHandleType, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ExternalImageFormatPropertiesNV externalImageFormatProperties; + Result result = static_cast( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( tiling ), static_cast( usage ), static_cast( flags ), static_cast( externalHandleType ), reinterpret_cast( &externalImageFormatProperties ) ) ); + return createResultValue( result, externalImageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getExternalImageFormatPropertiesNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphoreProperties( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast( pExternalSemaphoreInfo ), reinterpret_cast< VkExternalSemaphoreProperties *>( pExternalSemaphoreProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties externalSemaphoreProperties; + d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast( &externalSemaphoreInfo ), reinterpret_cast( &externalSemaphoreProperties ) ); + return externalSemaphoreProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphorePropertiesKHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast( pExternalSemaphoreInfo ), reinterpret_cast< VkExternalSemaphoreProperties *>( pExternalSemaphoreProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::ExternalSemaphoreProperties externalSemaphoreProperties; + d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast( &externalSemaphoreInfo ), reinterpret_cast( &externalSemaphoreProperties ) ); + return externalSemaphoreProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFeatures( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures* pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceFeatures *>( pFeatures ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures PhysicalDevice::getFeatures( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features; + d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast( &features ) ); + return features; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2* pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceFeatures2 *>( pFeatures ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 features; + d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); + return features; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 & features = structureChain.template get(); + d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2* pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceFeatures2 *>( pFeatures ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 features; + d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); + return features; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 & features = structureChain.template get(); + d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties* pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast( format ), reinterpret_cast< VkFormatProperties *>( pFormatProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties PhysicalDevice::getFormatProperties( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::FormatProperties formatProperties; + d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + return formatProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties2* pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast( format ), reinterpret_cast< VkFormatProperties2 *>( pFormatProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties2 PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; + d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + return formatProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFormatProperties2( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = structureChain.template get(); + d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::FormatProperties2* pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast( format ), reinterpret_cast< VkFormatProperties2 *>( pFormatProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::FormatProperties2 PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::FormatProperties2 formatProperties; + d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + return formatProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFormatProperties2KHR( VULKAN_HPP_NAMESPACE::Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::FormatProperties2 & formatProperties = structureChain.template get(); + d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getFragmentShadingRatesKHR( uint32_t* pFragmentShadingRateCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceFragmentShadingRateKHR* pFragmentShadingRates, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, pFragmentShadingRateCount, reinterpret_cast< VkPhysicalDeviceFragmentShadingRateKHR *>( pFragmentShadingRates ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getFragmentShadingRatesKHR( Dispatch const & d ) const + { + std::vector fragmentShadingRates; + uint32_t fragmentShadingRateCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) + { + fragmentShadingRates.resize( fragmentShadingRateCount ); + result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, reinterpret_cast( fragmentShadingRates.data() ) ) ); + VULKAN_HPP_ASSERT( fragmentShadingRateCount <= fragmentShadingRates.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( fragmentShadingRateCount < fragmentShadingRates.size() ) ) + { + fragmentShadingRates.resize( fragmentShadingRateCount ); + } + return createResultValue( result, fragmentShadingRates, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getFragmentShadingRatesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getFragmentShadingRatesKHR( PhysicalDeviceFragmentShadingRateKHRAllocator & physicalDeviceFragmentShadingRateKHRAllocator, Dispatch const & d ) const + { + std::vector fragmentShadingRates( physicalDeviceFragmentShadingRateKHRAllocator ); + uint32_t fragmentShadingRateCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) + { + fragmentShadingRates.resize( fragmentShadingRateCount ); + result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, reinterpret_cast( fragmentShadingRates.data() ) ) ); + VULKAN_HPP_ASSERT( fragmentShadingRateCount <= fragmentShadingRates.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( fragmentShadingRateCount < fragmentShadingRates.size() ) ) + { + fragmentShadingRates.resize( fragmentShadingRateCount ); + } + return createResultValue( result, fragmentShadingRates, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getFragmentShadingRatesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, VULKAN_HPP_NAMESPACE::ImageFormatProperties* pImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( tiling ), static_cast( usage ), static_cast( flags ), reinterpret_cast< VkImageFormatProperties *>( pImageFormatProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::ImageTiling tiling, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageCreateFlags flags, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties; + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( tiling ), static_cast( usage ), static_cast( flags ), reinterpret_cast( &imageFormatProperties ) ) ); + return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2* pImageFormatInfo, VULKAN_HPP_NAMESPACE::ImageFormatProperties2* pImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast( pImageFormatInfo ), reinterpret_cast< VkImageFormatProperties2 *>( pImageFormatProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageFormatProperties2 imageFormatProperties; + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); + return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d ) const + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::ImageFormatProperties2 & imageFormatProperties = structureChain.template get(); + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); + return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceImageFormatInfo2* pImageFormatInfo, VULKAN_HPP_NAMESPACE::ImageFormatProperties2* pImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( pImageFormatInfo ), reinterpret_cast< VkImageFormatProperties2 *>( pImageFormatProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::ImageFormatProperties2 imageFormatProperties; + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); + return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const & d ) const + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::ImageFormatProperties2 & imageFormatProperties = structureChain.template get(); + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); + return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceMemoryProperties *>( pMemoryProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties PhysicalDevice::getMemoryProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties memoryProperties; + d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + return memoryProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceMemoryProperties2 *>( pMemoryProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 memoryProperties; + d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + return memoryProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get(); + d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceMemoryProperties2 *>( pMemoryProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 memoryProperties; + d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + return memoryProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get(); + d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast( samples ), reinterpret_cast< VkMultisamplePropertiesEXT *>( pMultisampleProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT PhysicalDevice::getMultisamplePropertiesEXT( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::MultisamplePropertiesEXT multisampleProperties; + d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast( samples ), reinterpret_cast( &multisampleProperties ) ); + return multisampleProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pRectCount, VULKAN_HPP_NAMESPACE::Rect2D* pRects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), pRectCount, reinterpret_cast< VkRect2D *>( pRects ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + std::vector rects; + uint32_t rectCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && rectCount ) + { + rects.resize( rectCount ); + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); + VULKAN_HPP_ASSERT( rectCount <= rects.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( rectCount < rects.size() ) ) + { + rects.resize( rectCount ); + } + return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getPresentRectanglesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Rect2DAllocator & rect2DAllocator, Dispatch const & d ) const + { + std::vector rects( rect2DAllocator ); + uint32_t rectCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && rectCount ) + { + rects.resize( rectCount ); + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); + VULKAN_HPP_ASSERT( rectCount <= rects.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( rectCount < rects.size() ) ) + { + rects.resize( rectCount ); + } + return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getPresentRectanglesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getProperties( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceProperties *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties PhysicalDevice::getProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties; + d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast( &properties ) ); + return properties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceProperties2 *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 properties; + d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast( &properties ) ); + return properties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 & properties = structureChain.template get(); + d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast( &properties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getProperties2KHR( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast< VkPhysicalDeviceProperties2 *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 properties; + d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast( &properties ) ); + return properties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 & properties = structureChain.template get(); + d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast( &properties ) ); + return structureChain; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( const VULKAN_HPP_NAMESPACE::QueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo, uint32_t* pNumPasses, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( m_physicalDevice, reinterpret_cast( pPerformanceQueryCreateInfo ), pNumPasses ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + uint32_t numPasses; + d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( m_physicalDevice, reinterpret_cast( &performanceQueryCreateInfo ), &numPasses ); + return numPasses; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties* pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast< VkQueueFamilyProperties *>( pQueueFamilyProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties( Dispatch const & d ) const + { + std::vector queueFamilyProperties; + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties( QueueFamilyPropertiesAllocator & queueFamilyPropertiesAllocator, Dispatch const & d ) const + { + std::vector queueFamilyProperties( queueFamilyPropertiesAllocator ); + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast< VkQueueFamilyProperties2 *>( pQueueFamilyProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const + { + std::vector queueFamilyProperties; + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, Dispatch const & d ) const + { + std::vector queueFamilyProperties( queueFamilyProperties2Allocator ); + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const + { + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + std::vector returnVector( queueFamilyPropertyCount ); + std::vector queueFamilyProperties( queueFamilyPropertyCount ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + queueFamilyProperties[i].pNext = + returnVector[i].template get().pNext; + } + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + returnVector[i].template get() = queueFamilyProperties[i]; + } + return returnVector; + } + + template ::value, int>::type> + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( StructureChainAllocator & structureChainAllocator, Dispatch const & d ) const + { + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + std::vector returnVector( queueFamilyPropertyCount, structureChainAllocator ); + std::vector queueFamilyProperties( queueFamilyPropertyCount ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + queueFamilyProperties[i].pNext = + returnVector[i].template get().pNext; + } + d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + returnVector[i].template get() = queueFamilyProperties[i]; + } + return returnVector; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, VULKAN_HPP_NAMESPACE::QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast< VkQueueFamilyProperties2 *>( pQueueFamilyProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const + { + std::vector queueFamilyProperties; + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator & queueFamilyProperties2Allocator, Dispatch const & d ) const + { + std::vector queueFamilyProperties( queueFamilyProperties2Allocator ); + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + queueFamilyProperties.resize( queueFamilyPropertyCount ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + return queueFamilyProperties; + } + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const + { + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + std::vector returnVector( queueFamilyPropertyCount ); + std::vector queueFamilyProperties( queueFamilyPropertyCount ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + queueFamilyProperties[i].pNext = + returnVector[i].template get().pNext; + } + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + returnVector[i].template get() = queueFamilyProperties[i]; + } + return returnVector; + } + + template ::value, int>::type> + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( StructureChainAllocator & structureChainAllocator, Dispatch const & d ) const + { + uint32_t queueFamilyPropertyCount; + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + std::vector returnVector( queueFamilyPropertyCount, structureChainAllocator ); + std::vector queueFamilyProperties( queueFamilyPropertyCount ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + queueFamilyProperties[i].pNext = + returnVector[i].template get().pNext; + } + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); + for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) + { + returnVector[i].template get() = queueFamilyProperties[i]; + } + return returnVector; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( samples ), static_cast( usage ), static_cast( tiling ), pPropertyCount, reinterpret_cast< VkSparseImageFormatProperties *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( samples ), static_cast( usage ), static_cast( tiling ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( samples ), static_cast( usage ), static_cast( tiling ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties( VULKAN_HPP_NAMESPACE::Format format, VULKAN_HPP_NAMESPACE::ImageType type, VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples, VULKAN_HPP_NAMESPACE::ImageUsageFlags usage, VULKAN_HPP_NAMESPACE::ImageTiling tiling, SparseImageFormatPropertiesAllocator & sparseImageFormatPropertiesAllocator, Dispatch const & d ) const + { + std::vector properties( sparseImageFormatPropertiesAllocator ); + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( samples ), static_cast( usage ), static_cast( tiling ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast( format ), static_cast( type ), static_cast( samples ), static_cast( usage ), static_cast( tiling ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast( pFormatInfo ), pPropertyCount, reinterpret_cast< VkSparseImageFormatProperties2 *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, Dispatch const & d ) const + { + std::vector properties( sparseImageFormatProperties2Allocator ); + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + template + VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VULKAN_HPP_NAMESPACE::SparseImageFormatProperties2* pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( pFormatInfo ), pPropertyCount, reinterpret_cast< VkSparseImageFormatProperties2 *>( pProperties ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const & d ) const + { + std::vector properties; + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, SparseImageFormatProperties2Allocator & sparseImageFormatProperties2Allocator, Dispatch const & d ) const + { + std::vector properties( sparseImageFormatProperties2Allocator ); + uint32_t propertyCount; + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + properties.resize( propertyCount ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + return properties; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( uint32_t* pCombinationCount, VULKAN_HPP_NAMESPACE::FramebufferMixedSamplesCombinationNV* pCombinations, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, pCombinationCount, reinterpret_cast< VkFramebufferMixedSamplesCombinationNV *>( pCombinations ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( Dispatch const & d ) const + { + std::vector combinations; + uint32_t combinationCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && combinationCount ) + { + combinations.resize( combinationCount ); + result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, reinterpret_cast( combinations.data() ) ) ); + VULKAN_HPP_ASSERT( combinationCount <= combinations.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( combinationCount < combinations.size() ) ) + { + combinations.resize( combinationCount ); + } + return createResultValue( result, combinations, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( FramebufferMixedSamplesCombinationNVAllocator & framebufferMixedSamplesCombinationNVAllocator, Dispatch const & d ) const + { + std::vector combinations( framebufferMixedSamplesCombinationNVAllocator ); + uint32_t combinationCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && combinationCount ) + { + combinations.resize( combinationCount ); + result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, reinterpret_cast( combinations.data() ) ) ); + VULKAN_HPP_ASSERT( combinationCount <= combinations.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( combinationCount < combinations.size() ) ) + { + combinations.resize( combinationCount ); + } + return createResultValue( result, combinations, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast( surface ), reinterpret_cast< VkSurfaceCapabilities2EXT *>( pSurfaceCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceCapabilities2EXT surfaceCapabilities; + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast( surface ), reinterpret_cast( &surfaceCapabilities ) ) ); + return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2EXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast( pSurfaceInfo ), reinterpret_cast< VkSurfaceCapabilities2KHR *>( pSurfaceCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR surfaceCapabilities; + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), reinterpret_cast( &surfaceCapabilities ) ) ); + return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); + } + + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const + { + StructureChain structureChain; + VULKAN_HPP_NAMESPACE::SurfaceCapabilities2KHR & surfaceCapabilities = structureChain.template get(); + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), reinterpret_cast( &surfaceCapabilities ) ) ); + return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast( surface ), reinterpret_cast< VkSurfaceCapabilitiesKHR *>( pSurfaceCapabilities ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::SurfaceCapabilitiesKHR surfaceCapabilities; + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast( surface ), reinterpret_cast( &surfaceCapabilities ) ) ); + return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilitiesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR* pSurfaceFormats, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast( pSurfaceInfo ), pSurfaceFormatCount, reinterpret_cast< VkSurfaceFormat2KHR *>( pSurfaceFormats ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const + { + std::vector surfaceFormats; + uint32_t surfaceFormatCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && surfaceFormatCount ) + { + surfaceFormats.resize( surfaceFormatCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) + { + surfaceFormats.resize( surfaceFormatCount ); + } + return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormats2KHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, SurfaceFormat2KHRAllocator & surfaceFormat2KHRAllocator, Dispatch const & d ) const + { + std::vector surfaceFormats( surfaceFormat2KHRAllocator ); + uint32_t surfaceFormatCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && surfaceFormatCount ) + { + surfaceFormats.resize( surfaceFormatCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) + { + surfaceFormats.resize( surfaceFormatCount ); + } + return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormats2KHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pSurfaceFormatCount, VULKAN_HPP_NAMESPACE::SurfaceFormatKHR* pSurfaceFormats, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), pSurfaceFormatCount, reinterpret_cast< VkSurfaceFormatKHR *>( pSurfaceFormats ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + std::vector surfaceFormats; + uint32_t surfaceFormatCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && surfaceFormatCount ) + { + surfaceFormats.resize( surfaceFormatCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) + { + surfaceFormats.resize( surfaceFormatCount ); + } + return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormatsKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, SurfaceFormatKHRAllocator & surfaceFormatKHRAllocator, Dispatch const & d ) const + { + std::vector surfaceFormats( surfaceFormatKHRAllocator ); + uint32_t surfaceFormatCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && surfaceFormatCount ) + { + surfaceFormats.resize( surfaceFormatCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) + { + surfaceFormats.resize( surfaceFormatCount ); + } + return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormatsKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pPresentModeCount, VULKAN_HPP_NAMESPACE::PresentModeKHR* pPresentModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, reinterpret_cast( pSurfaceInfo ), pPresentModeCount, reinterpret_cast< VkPresentModeKHR *>( pPresentModes ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const & d ) const + { + std::vector presentModes; + uint32_t presentModeCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentModeCount ) + { + presentModes.resize( presentModeCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) + { + presentModes.resize( presentModeCount ); + } + return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModes2EXT" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, PresentModeKHRAllocator & presentModeKHRAllocator, Dispatch const & d ) const + { + std::vector presentModes( presentModeKHRAllocator ); + uint32_t presentModeCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentModeCount ) + { + presentModes.resize( presentModeCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) + { + presentModes.resize( presentModeCount ); + } + return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModes2EXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, uint32_t* pPresentModeCount, VULKAN_HPP_NAMESPACE::PresentModeKHR* pPresentModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), pPresentModeCount, reinterpret_cast< VkPresentModeKHR *>( pPresentModes ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + std::vector presentModes; + uint32_t presentModeCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentModeCount ) + { + presentModes.resize( presentModeCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) + { + presentModes.resize( presentModeCount ); + } + return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModesKHR" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface, PresentModeKHRAllocator & presentModeKHRAllocator, Dispatch const & d ) const + { + std::vector presentModes( presentModeKHRAllocator ); + uint32_t presentModeCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && presentModeCount ) + { + presentModes.resize( presentModeCount ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( presentModeCount < presentModes.size() ) ) + { + presentModes.resize( presentModeCount ); + } + return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModesKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, VULKAN_HPP_NAMESPACE::SurfaceKHR surface, VULKAN_HPP_NAMESPACE::Bool32* pSupported, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast( surface ), reinterpret_cast< VkBool32 *>( pSupported ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, VULKAN_HPP_NAMESPACE::SurfaceKHR surface, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::Bool32 supported; + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast( surface ), reinterpret_cast( &supported ) ) ); + return createResultValue( result, supported, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceSupportKHR" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getToolPropertiesEXT( uint32_t* pToolCount, VULKAN_HPP_NAMESPACE::PhysicalDeviceToolPropertiesEXT* pToolProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, pToolCount, reinterpret_cast< VkPhysicalDeviceToolPropertiesEXT *>( pToolProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolPropertiesEXT( Dispatch const & d ) const + { + std::vector toolProperties; + uint32_t toolCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && toolCount ) + { + toolProperties.resize( toolCount ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( toolCount < toolProperties.size() ) ) + { + toolProperties.resize( toolCount ); + } + return createResultValue( result, toolProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getToolPropertiesEXT" ); + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolPropertiesEXT( PhysicalDeviceToolPropertiesEXTAllocator & physicalDeviceToolPropertiesEXTAllocator, Dispatch const & d ) const + { + std::vector toolProperties( physicalDeviceToolPropertiesEXTAllocator ); + uint32_t toolCount; + Result result; + do + { + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); + if ( ( result == Result::eSuccess ) && toolCount ) + { + toolProperties.resize( toolCount ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); + } + } while ( result == Result::eIncomplete ); + if ( ( result == Result::eSuccess ) && ( toolCount < toolProperties.size() ) ) + { + toolProperties.resize( toolCount ); + } + return createResultValue( result, toolProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getToolPropertiesEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, display ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &display ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ + + +#ifdef VK_USE_PLATFORM_WIN32_KHR + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex ) ); + } +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + + +#ifdef VK_USE_PLATFORM_XCB_KHR + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection, visual_id ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection, visual_id ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XCB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_KHR + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, dpy, visualID ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &dpy, visualID ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + + +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, VULKAN_HPP_NAMESPACE::DisplayKHR* pDisplay, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkGetRandROutputDisplayEXT( m_physicalDevice, dpy, rrOutput, reinterpret_cast< VkDisplayKHR *>( pDisplay ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayKHR display; + Result result = static_cast( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); + return createResultValue( result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXT" ); + } + +# ifndef VULKAN_HPP_NO_SMART_HANDLE + template + VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getRandROutputDisplayEXTUnique( Display & dpy, RROutput rrOutput, Dispatch const & d ) const + { + VULKAN_HPP_NAMESPACE::DisplayKHR display; + Result result = static_cast( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); + ObjectRelease deleter( *this, d ); + return createResultValue( result, display, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXTUnique", deleter ); + } +# endif /*VULKAN_HPP_NO_SMART_HANDLE*/ +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE Result PhysicalDevice::releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); + } +#else + template + VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::releaseDisplayEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, Dispatch const & d ) const + { + Result result = static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::releaseDisplayEXT" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_INLINE void Queue::getCheckpointDataNV( uint32_t* pCheckpointDataCount, VULKAN_HPP_NAMESPACE::CheckpointDataNV* pCheckpointData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkGetQueueCheckpointDataNV( m_queue, pCheckpointDataCount, reinterpret_cast< VkCheckpointDataNV *>( pCheckpointData ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointDataNV( Dispatch const & d ) const + { + std::vector checkpointData; + uint32_t checkpointDataCount; + d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); + checkpointData.resize( checkpointDataCount ); + d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); + return checkpointData; + } + + template ::value, int>::type > + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointDataNV( CheckpointDataNVAllocator & checkpointDataNVAllocator, Dispatch const & d ) const + { + std::vector checkpointData( checkpointDataNVAllocator ); + uint32_t checkpointDataCount; + d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); + checkpointData.resize( checkpointDataCount ); + d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); + return checkpointData; + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast( pLabelInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::bindSparse( uint32_t bindInfoCount, const VULKAN_HPP_NAMESPACE::BindSparseInfo* pBindInfo, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkQueueBindSparse( m_queue, bindInfoCount, reinterpret_cast( pBindInfo ), static_cast( fence ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::bindSparse( ArrayProxy const & bindInfo, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const + { + Result result = static_cast( d.vkQueueBindSparse( m_queue, bindInfo.size(), reinterpret_cast( bindInfo.data() ), static_cast( fence ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::bindSparse" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkQueueEndDebugUtilsLabelEXT( m_queue ); + } + + + template + VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT* pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast( pLabelInfo ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( const VULKAN_HPP_NAMESPACE::PresentInfoKHR* pPresentInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkQueuePresentKHR( m_queue, reinterpret_cast( pPresentInfo ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR & presentInfo, Dispatch const & d ) const + { + Result result = static_cast( d.vkQueuePresentKHR( m_queue, reinterpret_cast( &presentInfo ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::presentKHR", { VULKAN_HPP_NAMESPACE::Result::eSuccess, VULKAN_HPP_NAMESPACE::Result::eSuboptimalKHR } ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkQueueSetPerformanceConfigurationINTEL( m_queue, static_cast( configuration ) ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration, Dispatch const & d ) const + { + Result result = static_cast( d.vkQueueSetPerformanceConfigurationINTEL( m_queue, static_cast( configuration ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::setPerformanceConfigurationINTEL" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + + + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::submit( uint32_t submitCount, const VULKAN_HPP_NAMESPACE::SubmitInfo* pSubmits, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkQueueSubmit( m_queue, submitCount, reinterpret_cast( pSubmits ), static_cast( fence ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::submit( ArrayProxy const & submits, VULKAN_HPP_NAMESPACE::Fence fence, Dispatch const & d ) const + { + Result result = static_cast( d.vkQueueSubmit( m_queue, submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + + +#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE + template + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + return static_cast( d.vkQueueWaitIdle( m_queue ) ); + } +#else + template + VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::waitIdle( Dispatch const & d ) const + { + Result result = static_cast( d.vkQueueWaitIdle( m_queue ) ); + return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::waitIdle" ); + } +#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ + +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_ANDROID_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_GGP + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_GGP*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + template <> struct StructExtends{ enum { value = true }; }; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + template <> struct StructExtends{ enum { value = true }; }; + template <> struct StructExtends{ enum { value = true }; }; + +#if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL + class DynamicLoader + { + public: +# ifdef VULKAN_HPP_NO_EXCEPTIONS + DynamicLoader( std::string const & vulkanLibraryName = {} ) VULKAN_HPP_NOEXCEPT +# else + DynamicLoader( std::string const & vulkanLibraryName = {} ) +# endif + { + if ( !vulkanLibraryName.empty() ) + { +# if defined( __linux__ ) || defined( __APPLE__ ) + m_library = dlopen( vulkanLibraryName.c_str(), RTLD_NOW | RTLD_LOCAL ); +# elif defined( _WIN32 ) + m_library = ::LoadLibraryA( vulkanLibraryName.c_str() ); +# else +# error unsupported platform +# endif + } + else + { +# if defined( __linux__ ) + m_library = dlopen( "libvulkan.so", RTLD_NOW | RTLD_LOCAL ); + if ( m_library == nullptr ) + { + m_library = dlopen( "libvulkan.so.1", RTLD_NOW | RTLD_LOCAL ); + } +# elif defined( __APPLE__ ) + m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL ); +# elif defined( _WIN32 ) + m_library = ::LoadLibraryA( "vulkan-1.dll" ); +# else +# error unsupported platform +# endif + } + +#ifndef VULKAN_HPP_NO_EXCEPTIONS + if ( m_library == nullptr ) + { + // NOTE there should be an InitializationFailedError, but msvc insists on the symbol does not exist within the scope of this function. + throw std::runtime_error( "Failed to load vulkan library!" ); + } +#endif + } + + DynamicLoader( DynamicLoader const& ) = delete; + + DynamicLoader( DynamicLoader && other ) VULKAN_HPP_NOEXCEPT : m_library(other.m_library) + { + other.m_library = nullptr; + } + + DynamicLoader &operator=( DynamicLoader const& ) = delete; + + DynamicLoader &operator=( DynamicLoader && other ) VULKAN_HPP_NOEXCEPT + { + std::swap(m_library, other.m_library); + return *this; + } + + ~DynamicLoader() VULKAN_HPP_NOEXCEPT + { + if ( m_library ) + { +# if defined( __linux__ ) || defined( __APPLE__ ) + dlclose( m_library ); +# elif defined( _WIN32 ) + ::FreeLibrary( m_library ); +# else +# error unsupported platform +# endif + } + } + + template + T getProcAddress( const char* function ) const VULKAN_HPP_NOEXCEPT + { +# if defined( __linux__ ) || defined( __APPLE__ ) + return (T)dlsym( m_library, function ); +# elif defined( _WIN32 ) + return (T)::GetProcAddress( m_library, function ); +# else +# error unsupported platform +# endif + } + + bool success() const VULKAN_HPP_NOEXCEPT { return m_library != nullptr; } + + private: +# if defined( __linux__ ) || defined( __APPLE__ ) + void * m_library; +# elif defined( _WIN32 ) + ::HINSTANCE m_library; +# else +# error unsupported platform +# endif + }; +#endif + + + class DispatchLoaderDynamic + { + public: +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR = 0; + PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR = 0; + PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL = 0; + PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR = 0; +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT = 0; +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0; + PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0; + PFN_vkAllocateMemory vkAllocateMemory = 0; + PFN_vkBeginCommandBuffer vkBeginCommandBuffer = 0; + PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkBindAccelerationStructureMemoryKHR vkBindAccelerationStructureMemoryKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkBindBufferMemory vkBindBufferMemory = 0; + PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = 0; + PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0; + PFN_vkBindImageMemory vkBindImageMemory = 0; + PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = 0; + PFN_vkBindImageMemory2 vkBindImageMemory2 = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkBuildAccelerationStructureKHR vkBuildAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT = 0; + PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT = 0; + PFN_vkCmdBeginQuery vkCmdBeginQuery = 0; + PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT = 0; + PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass = 0; + PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR = 0; + PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2 = 0; + PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT = 0; + PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets = 0; + PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer = 0; + PFN_vkCmdBindPipeline vkCmdBindPipeline = 0; + PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV = 0; + PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV = 0; + PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT = 0; + PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers = 0; + PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT = 0; + PFN_vkCmdBlitImage vkCmdBlitImage = 0; + PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdBuildAccelerationStructureIndirectKHR vkCmdBuildAccelerationStructureIndirectKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdBuildAccelerationStructureKHR vkCmdBuildAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV = 0; + PFN_vkCmdClearAttachments vkCmdClearAttachments = 0; + PFN_vkCmdClearColorImage vkCmdClearColorImage = 0; + PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdCopyBuffer vkCmdCopyBuffer = 0; + PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR = 0; + PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage = 0; + PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR = 0; + PFN_vkCmdCopyImage vkCmdCopyImage = 0; + PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR = 0; + PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer = 0; + PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults = 0; + PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT = 0; + PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT = 0; + PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT = 0; + PFN_vkCmdDispatch vkCmdDispatch = 0; + PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR = 0; + PFN_vkCmdDispatchBase vkCmdDispatchBase = 0; + PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect = 0; + PFN_vkCmdDraw vkCmdDraw = 0; + PFN_vkCmdDrawIndexed vkCmdDrawIndexed = 0; + PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect = 0; + PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD = 0; + PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR = 0; + PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount = 0; + PFN_vkCmdDrawIndirect vkCmdDrawIndirect = 0; + PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT = 0; + PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD = 0; + PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR = 0; + PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount = 0; + PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV = 0; + PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV = 0; + PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV = 0; + PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT = 0; + PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT = 0; + PFN_vkCmdEndQuery vkCmdEndQuery = 0; + PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT = 0; + PFN_vkCmdEndRenderPass vkCmdEndRenderPass = 0; + PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR = 0; + PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2 = 0; + PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT = 0; + PFN_vkCmdExecuteCommands vkCmdExecuteCommands = 0; + PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV = 0; + PFN_vkCmdFillBuffer vkCmdFillBuffer = 0; + PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT = 0; + PFN_vkCmdNextSubpass vkCmdNextSubpass = 0; + PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR = 0; + PFN_vkCmdNextSubpass2 vkCmdNextSubpass2 = 0; + PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier = 0; + PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV = 0; + PFN_vkCmdPushConstants vkCmdPushConstants = 0; + PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR = 0; + PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR = 0; + PFN_vkCmdResetEvent vkCmdResetEvent = 0; + PFN_vkCmdResetQueryPool vkCmdResetQueryPool = 0; + PFN_vkCmdResolveImage vkCmdResolveImage = 0; + PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR = 0; + PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants = 0; + PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV = 0; + PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV = 0; + PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT = 0; + PFN_vkCmdSetDepthBias vkCmdSetDepthBias = 0; + PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds = 0; + PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT = 0; + PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT = 0; + PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT = 0; + PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT = 0; + PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR = 0; + PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask = 0; + PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT = 0; + PFN_vkCmdSetEvent vkCmdSetEvent = 0; + PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV = 0; + PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV = 0; + PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR = 0; + PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT = 0; + PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT = 0; + PFN_vkCmdSetLineWidth vkCmdSetLineWidth = 0; + PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL = 0; + PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL = 0; + PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL = 0; + PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT = 0; + PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT = 0; + PFN_vkCmdSetScissor vkCmdSetScissor = 0; + PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT = 0; + PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask = 0; + PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT = 0; + PFN_vkCmdSetStencilReference vkCmdSetStencilReference = 0; + PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT = 0; + PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask = 0; + PFN_vkCmdSetViewport vkCmdSetViewport = 0; + PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV = 0; + PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV = 0; + PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV = 0; + PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0; + PFN_vkCmdWaitEvents vkCmdWaitEvents = 0; + PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0; + PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0; + PFN_vkCompileDeferredNV vkCompileDeferredNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV = 0; +#ifdef VK_USE_PLATFORM_ANDROID_KHR + PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR = 0; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + PFN_vkCreateBuffer vkCreateBuffer = 0; + PFN_vkCreateBufferView vkCreateBufferView = 0; + PFN_vkCreateCommandPool vkCreateCommandPool = 0; + PFN_vkCreateComputePipelines vkCreateComputePipelines = 0; + PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT = 0; + PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCreateDescriptorPool vkCreateDescriptorPool = 0; + PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout = 0; + PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR = 0; + PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate = 0; + PFN_vkCreateDevice vkCreateDevice = 0; +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT = 0; +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR = 0; + PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR = 0; + PFN_vkCreateEvent vkCreateEvent = 0; + PFN_vkCreateFence vkCreateFence = 0; + PFN_vkCreateFramebuffer vkCreateFramebuffer = 0; + PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines = 0; + PFN_vkCreateHeadlessSurfaceEXT vkCreateHeadlessSurfaceEXT = 0; +#ifdef VK_USE_PLATFORM_IOS_MVK + PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK = 0; +#endif /*VK_USE_PLATFORM_IOS_MVK*/ + PFN_vkCreateImage vkCreateImage = 0; +#ifdef VK_USE_PLATFORM_FUCHSIA + PFN_vkCreateImagePipeSurfaceFUCHSIA vkCreateImagePipeSurfaceFUCHSIA = 0; +#endif /*VK_USE_PLATFORM_FUCHSIA*/ + PFN_vkCreateImageView vkCreateImageView = 0; + PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV = 0; + PFN_vkCreateInstance vkCreateInstance = 0; +#ifdef VK_USE_PLATFORM_MACOS_MVK + PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK = 0; +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ +#ifdef VK_USE_PLATFORM_METAL_EXT + PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT = 0; +#endif /*VK_USE_PLATFORM_METAL_EXT*/ + PFN_vkCreatePipelineCache vkCreatePipelineCache = 0; + PFN_vkCreatePipelineLayout vkCreatePipelineLayout = 0; + PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT = 0; + PFN_vkCreateQueryPool vkCreateQueryPool = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV = 0; + PFN_vkCreateRenderPass vkCreateRenderPass = 0; + PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR = 0; + PFN_vkCreateRenderPass2 vkCreateRenderPass2 = 0; + PFN_vkCreateSampler vkCreateSampler = 0; + PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR = 0; + PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion = 0; + PFN_vkCreateSemaphore vkCreateSemaphore = 0; + PFN_vkCreateShaderModule vkCreateShaderModule = 0; + PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR = 0; +#ifdef VK_USE_PLATFORM_GGP + PFN_vkCreateStreamDescriptorSurfaceGGP vkCreateStreamDescriptorSurfaceGGP = 0; +#endif /*VK_USE_PLATFORM_GGP*/ + PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR = 0; + PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT = 0; +#ifdef VK_USE_PLATFORM_VI_NN + PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN = 0; +#endif /*VK_USE_PLATFORM_VI_NN*/ +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR = 0; +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_XCB_KHR + PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR = 0; +#endif /*VK_USE_PLATFORM_XCB_KHR*/ +#ifdef VK_USE_PLATFORM_XLIB_KHR + PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR = 0; +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT = 0; + PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT = 0; + PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkDestroyBuffer vkDestroyBuffer = 0; + PFN_vkDestroyBufferView vkDestroyBufferView = 0; + PFN_vkDestroyCommandPool vkDestroyCommandPool = 0; + PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT = 0; + PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool = 0; + PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout = 0; + PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR = 0; + PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate = 0; + PFN_vkDestroyDevice vkDestroyDevice = 0; + PFN_vkDestroyEvent vkDestroyEvent = 0; + PFN_vkDestroyFence vkDestroyFence = 0; + PFN_vkDestroyFramebuffer vkDestroyFramebuffer = 0; + PFN_vkDestroyImage vkDestroyImage = 0; + PFN_vkDestroyImageView vkDestroyImageView = 0; + PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV = 0; + PFN_vkDestroyInstance vkDestroyInstance = 0; + PFN_vkDestroyPipeline vkDestroyPipeline = 0; + PFN_vkDestroyPipelineCache vkDestroyPipelineCache = 0; + PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout = 0; + PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT = 0; + PFN_vkDestroyQueryPool vkDestroyQueryPool = 0; + PFN_vkDestroyRenderPass vkDestroyRenderPass = 0; + PFN_vkDestroySampler vkDestroySampler = 0; + PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR = 0; + PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion = 0; + PFN_vkDestroySemaphore vkDestroySemaphore = 0; + PFN_vkDestroyShaderModule vkDestroyShaderModule = 0; + PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR = 0; + PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR = 0; + PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT = 0; + PFN_vkDeviceWaitIdle vkDeviceWaitIdle = 0; + PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT = 0; + PFN_vkEndCommandBuffer vkEndCommandBuffer = 0; + PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties = 0; + PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties = 0; + PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties = 0; + PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties = 0; + PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0; + PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR = 0; + PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups = 0; + PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = 0; + PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices = 0; + PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges = 0; + PFN_vkFreeCommandBuffers vkFreeCommandBuffers = 0; + PFN_vkFreeDescriptorSets vkFreeDescriptorSets = 0; + PFN_vkFreeMemory vkFreeMemory = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetAccelerationStructureMemoryRequirementsKHR vkGetAccelerationStructureMemoryRequirementsKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV = 0; +#ifdef VK_USE_PLATFORM_ANDROID_KHR + PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID = 0; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT = 0; + PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR = 0; + PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress = 0; + PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements = 0; + PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR = 0; + PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2 = 0; + PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR = 0; + PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress = 0; + PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR = 0; + PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR = 0; + PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures = 0; + PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0; + PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0; + PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0; + PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0; + PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0; + PFN_vkGetDeviceQueue vkGetDeviceQueue = 0; + PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0; + PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR = 0; + PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0; + PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR = 0; + PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0; + PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0; + PFN_vkGetEventStatus vkGetEventStatus = 0; + PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0; + PFN_vkGetFenceStatus vkGetFenceStatus = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV = 0; + PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT = 0; + PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements = 0; + PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR = 0; + PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2 = 0; + PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements = 0; + PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR = 0; + PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2 = 0; + PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout = 0; + PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX = 0; + PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX = 0; + PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0; +#ifdef VK_USE_PLATFORM_ANDROID_KHR + PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID = 0; +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0; + PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0; + PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE = 0; + PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL = 0; + PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = 0; + PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = 0; +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT = 0; +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR vkGetPhysicalDeviceDisplayPlaneProperties2KHR = 0; + PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR = 0; + PFN_vkGetPhysicalDeviceDisplayProperties2KHR vkGetPhysicalDeviceDisplayProperties2KHR = 0; + PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR = 0; + PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR = 0; + PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties = 0; + PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR = 0; + PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties = 0; + PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV = 0; + PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = 0; + PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties = 0; + PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures = 0; + PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR = 0; + PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2 = 0; + PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties = 0; + PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR = 0; + PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2 = 0; + PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR = 0; + PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties = 0; + PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR = 0; + PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2 = 0; + PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties = 0; + PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = 0; + PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2 = 0; + PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT = 0; + PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR = 0; + PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties = 0; + PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = 0; + PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2 = 0; + PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = 0; + PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties = 0; + PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR = 0; + PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2 = 0; + PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties = 0; + PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR = 0; + PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2 = 0; + PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = 0; + PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT = 0; + PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR = 0; + PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0; + PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR = 0; + PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT vkGetPhysicalDeviceSurfacePresentModes2EXT = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR = 0; + PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR = 0; + PFN_vkGetPhysicalDeviceToolPropertiesEXT vkGetPhysicalDeviceToolPropertiesEXT = 0; +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0; +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_XCB_KHR + PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR = 0; +#endif /*VK_USE_PLATFORM_XCB_KHR*/ +#ifdef VK_USE_PLATFORM_XLIB_KHR + PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR = 0; +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + PFN_vkGetPipelineCacheData vkGetPipelineCacheData = 0; + PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR = 0; + PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR = 0; + PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR = 0; + PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT = 0; + PFN_vkGetQueryPoolResults vkGetQueryPoolResults = 0; + PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV = 0; +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT = 0; +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0; + PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0; + PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR = 0; + PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue = 0; + PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0; + PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0; + PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0; + PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0; + PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0; + PFN_vkImportFenceFdKHR vkImportFenceFdKHR = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL = 0; + PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges = 0; + PFN_vkMapMemory vkMapMemory = 0; + PFN_vkMergePipelineCaches vkMergePipelineCaches = 0; + PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT = 0; + PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT = 0; + PFN_vkQueueBindSparse vkQueueBindSparse = 0; + PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT = 0; + PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT = 0; + PFN_vkQueuePresentKHR vkQueuePresentKHR = 0; + PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL = 0; + PFN_vkQueueSubmit vkQueueSubmit = 0; + PFN_vkQueueWaitIdle vkQueueWaitIdle = 0; + PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT = 0; + PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT = 0; + PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT = 0; +#ifdef VK_USE_PLATFORM_WIN32_KHR + PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT = 0; +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL = 0; + PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR = 0; + PFN_vkResetCommandBuffer vkResetCommandBuffer = 0; + PFN_vkResetCommandPool vkResetCommandPool = 0; + PFN_vkResetDescriptorPool vkResetDescriptorPool = 0; + PFN_vkResetEvent vkResetEvent = 0; + PFN_vkResetFences vkResetFences = 0; + PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT = 0; + PFN_vkResetQueryPool vkResetQueryPool = 0; + PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT = 0; + PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT = 0; + PFN_vkSetEvent vkSetEvent = 0; + PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT = 0; + PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD = 0; + PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT = 0; + PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR = 0; + PFN_vkSignalSemaphore vkSignalSemaphore = 0; + PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT = 0; + PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR = 0; + PFN_vkTrimCommandPool vkTrimCommandPool = 0; + PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL = 0; + PFN_vkUnmapMemory vkUnmapMemory = 0; + PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR = 0; + PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate = 0; + PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets = 0; + PFN_vkWaitForFences vkWaitForFences = 0; + PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR = 0; + PFN_vkWaitSemaphores vkWaitSemaphores = 0; +#ifdef VK_ENABLE_BETA_EXTENSIONS + PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR = 0; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + public: + DispatchLoaderDynamic() VULKAN_HPP_NOEXCEPT = default; + +#if !defined(VK_NO_PROTOTYPES) + // This interface is designed to be used for per-device function pointers in combination with a linked vulkan library. + template + void init(VULKAN_HPP_NAMESPACE::Instance const& instance, VULKAN_HPP_NAMESPACE::Device const& device, DynamicLoader const& dl) VULKAN_HPP_NOEXCEPT + { + PFN_vkGetInstanceProcAddr getInstanceProcAddr = dl.template getProcAddress("vkGetInstanceProcAddr"); + PFN_vkGetDeviceProcAddr getDeviceProcAddr = dl.template getProcAddress("vkGetDeviceProcAddr"); + init(static_cast(instance), getInstanceProcAddr, static_cast(device), device ? getDeviceProcAddr : nullptr); + } + + // This interface is designed to be used for per-device function pointers in combination with a linked vulkan library. + template + void init(VULKAN_HPP_NAMESPACE::Instance const& instance, VULKAN_HPP_NAMESPACE::Device const& device) VULKAN_HPP_NOEXCEPT + { + static DynamicLoader dl; + init(instance, device, dl); + } +#endif // !defined(VK_NO_PROTOTYPES) + + DispatchLoaderDynamic(PFN_vkGetInstanceProcAddr getInstanceProcAddr) VULKAN_HPP_NOEXCEPT + { + init(getInstanceProcAddr); + } + + void init( PFN_vkGetInstanceProcAddr getInstanceProcAddr ) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT(getInstanceProcAddr); + + vkGetInstanceProcAddr = getInstanceProcAddr; + vkCreateInstance = PFN_vkCreateInstance( vkGetInstanceProcAddr( NULL, "vkCreateInstance" ) ); + vkEnumerateInstanceExtensionProperties = PFN_vkEnumerateInstanceExtensionProperties( vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceExtensionProperties" ) ); + vkEnumerateInstanceLayerProperties = PFN_vkEnumerateInstanceLayerProperties( vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceLayerProperties" ) ); + vkEnumerateInstanceVersion = PFN_vkEnumerateInstanceVersion( vkGetInstanceProcAddr( NULL, "vkEnumerateInstanceVersion" ) ); + } + + // This interface does not require a linked vulkan library. + DispatchLoaderDynamic( VkInstance instance, PFN_vkGetInstanceProcAddr getInstanceProcAddr, VkDevice device = VK_NULL_HANDLE, PFN_vkGetDeviceProcAddr getDeviceProcAddr = nullptr ) VULKAN_HPP_NOEXCEPT + { + init( instance, getInstanceProcAddr, device, getDeviceProcAddr ); + } + + // This interface does not require a linked vulkan library. + void init( VkInstance instance, PFN_vkGetInstanceProcAddr getInstanceProcAddr, VkDevice device = VK_NULL_HANDLE, PFN_vkGetDeviceProcAddr /*getDeviceProcAddr*/ = nullptr ) VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT(instance && getInstanceProcAddr); + vkGetInstanceProcAddr = getInstanceProcAddr; + init( VULKAN_HPP_NAMESPACE::Instance(instance) ); + if (device) { + init( VULKAN_HPP_NAMESPACE::Device(device) ); + } + } + + void init( VULKAN_HPP_NAMESPACE::Instance instanceCpp ) VULKAN_HPP_NOEXCEPT + { + VkInstance instance = static_cast(instanceCpp); +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + vkAcquireXlibDisplayEXT = PFN_vkAcquireXlibDisplayEXT( vkGetInstanceProcAddr( instance, "vkAcquireXlibDisplayEXT" ) ); +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ +#ifdef VK_USE_PLATFORM_ANDROID_KHR + vkCreateAndroidSurfaceKHR = PFN_vkCreateAndroidSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateAndroidSurfaceKHR" ) ); +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + vkCreateDebugReportCallbackEXT = PFN_vkCreateDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugReportCallbackEXT" ) ); + vkCreateDebugUtilsMessengerEXT = PFN_vkCreateDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugUtilsMessengerEXT" ) ); + vkCreateDevice = PFN_vkCreateDevice( vkGetInstanceProcAddr( instance, "vkCreateDevice" ) ); +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + vkCreateDirectFBSurfaceEXT = PFN_vkCreateDirectFBSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateDirectFBSurfaceEXT" ) ); +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + vkCreateDisplayModeKHR = PFN_vkCreateDisplayModeKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayModeKHR" ) ); + vkCreateDisplayPlaneSurfaceKHR = PFN_vkCreateDisplayPlaneSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayPlaneSurfaceKHR" ) ); + vkCreateHeadlessSurfaceEXT = PFN_vkCreateHeadlessSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateHeadlessSurfaceEXT" ) ); +#ifdef VK_USE_PLATFORM_IOS_MVK + vkCreateIOSSurfaceMVK = PFN_vkCreateIOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateIOSSurfaceMVK" ) ); +#endif /*VK_USE_PLATFORM_IOS_MVK*/ +#ifdef VK_USE_PLATFORM_FUCHSIA + vkCreateImagePipeSurfaceFUCHSIA = PFN_vkCreateImagePipeSurfaceFUCHSIA( vkGetInstanceProcAddr( instance, "vkCreateImagePipeSurfaceFUCHSIA" ) ); +#endif /*VK_USE_PLATFORM_FUCHSIA*/ +#ifdef VK_USE_PLATFORM_MACOS_MVK + vkCreateMacOSSurfaceMVK = PFN_vkCreateMacOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateMacOSSurfaceMVK" ) ); +#endif /*VK_USE_PLATFORM_MACOS_MVK*/ +#ifdef VK_USE_PLATFORM_METAL_EXT + vkCreateMetalSurfaceEXT = PFN_vkCreateMetalSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateMetalSurfaceEXT" ) ); +#endif /*VK_USE_PLATFORM_METAL_EXT*/ +#ifdef VK_USE_PLATFORM_GGP + vkCreateStreamDescriptorSurfaceGGP = PFN_vkCreateStreamDescriptorSurfaceGGP( vkGetInstanceProcAddr( instance, "vkCreateStreamDescriptorSurfaceGGP" ) ); +#endif /*VK_USE_PLATFORM_GGP*/ +#ifdef VK_USE_PLATFORM_VI_NN + vkCreateViSurfaceNN = PFN_vkCreateViSurfaceNN( vkGetInstanceProcAddr( instance, "vkCreateViSurfaceNN" ) ); +#endif /*VK_USE_PLATFORM_VI_NN*/ +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + vkCreateWaylandSurfaceKHR = PFN_vkCreateWaylandSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWaylandSurfaceKHR" ) ); +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkCreateWin32SurfaceKHR = PFN_vkCreateWin32SurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWin32SurfaceKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_XCB_KHR + vkCreateXcbSurfaceKHR = PFN_vkCreateXcbSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXcbSurfaceKHR" ) ); +#endif /*VK_USE_PLATFORM_XCB_KHR*/ +#ifdef VK_USE_PLATFORM_XLIB_KHR + vkCreateXlibSurfaceKHR = PFN_vkCreateXlibSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXlibSurfaceKHR" ) ); +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ + vkDebugReportMessageEXT = PFN_vkDebugReportMessageEXT( vkGetInstanceProcAddr( instance, "vkDebugReportMessageEXT" ) ); + vkDestroyDebugReportCallbackEXT = PFN_vkDestroyDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugReportCallbackEXT" ) ); + vkDestroyDebugUtilsMessengerEXT = PFN_vkDestroyDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugUtilsMessengerEXT" ) ); + vkDestroyInstance = PFN_vkDestroyInstance( vkGetInstanceProcAddr( instance, "vkDestroyInstance" ) ); + vkDestroySurfaceKHR = PFN_vkDestroySurfaceKHR( vkGetInstanceProcAddr( instance, "vkDestroySurfaceKHR" ) ); + vkEnumerateDeviceExtensionProperties = PFN_vkEnumerateDeviceExtensionProperties( vkGetInstanceProcAddr( instance, "vkEnumerateDeviceExtensionProperties" ) ); + vkEnumerateDeviceLayerProperties = PFN_vkEnumerateDeviceLayerProperties( vkGetInstanceProcAddr( instance, "vkEnumerateDeviceLayerProperties" ) ); + vkEnumeratePhysicalDeviceGroupsKHR = PFN_vkEnumeratePhysicalDeviceGroupsKHR( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroupsKHR" ) ); + vkEnumeratePhysicalDeviceGroups = PFN_vkEnumeratePhysicalDeviceGroups( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroups" ) ); + if ( !vkEnumeratePhysicalDeviceGroups ) vkEnumeratePhysicalDeviceGroups = vkEnumeratePhysicalDeviceGroupsKHR; + vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR" ) ); + vkEnumeratePhysicalDevices = PFN_vkEnumeratePhysicalDevices( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDevices" ) ); + vkGetDisplayModeProperties2KHR = PFN_vkGetDisplayModeProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModeProperties2KHR" ) ); + vkGetDisplayModePropertiesKHR = PFN_vkGetDisplayModePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModePropertiesKHR" ) ); + vkGetDisplayPlaneCapabilities2KHR = PFN_vkGetDisplayPlaneCapabilities2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilities2KHR" ) ); + vkGetDisplayPlaneCapabilitiesKHR = PFN_vkGetDisplayPlaneCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilitiesKHR" ) ); + vkGetDisplayPlaneSupportedDisplaysKHR = PFN_vkGetDisplayPlaneSupportedDisplaysKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneSupportedDisplaysKHR" ) ); + vkGetInstanceProcAddr = PFN_vkGetInstanceProcAddr( vkGetInstanceProcAddr( instance, "vkGetInstanceProcAddr" ) ); + vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT" ) ); + vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV" ) ); +#ifdef VK_USE_PLATFORM_DIRECTFB_EXT + vkGetPhysicalDeviceDirectFBPresentationSupportEXT = PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT" ) ); +#endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ + vkGetPhysicalDeviceDisplayPlaneProperties2KHR = PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR" ) ); + vkGetPhysicalDeviceDisplayPlanePropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR" ) ); + vkGetPhysicalDeviceDisplayProperties2KHR = PFN_vkGetPhysicalDeviceDisplayProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayProperties2KHR" ) ); + vkGetPhysicalDeviceDisplayPropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPropertiesKHR" ) ); + vkGetPhysicalDeviceExternalBufferPropertiesKHR = PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferPropertiesKHR" ) ); + vkGetPhysicalDeviceExternalBufferProperties = PFN_vkGetPhysicalDeviceExternalBufferProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferProperties" ) ); + if ( !vkGetPhysicalDeviceExternalBufferProperties ) vkGetPhysicalDeviceExternalBufferProperties = vkGetPhysicalDeviceExternalBufferPropertiesKHR; + vkGetPhysicalDeviceExternalFencePropertiesKHR = PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFencePropertiesKHR" ) ); + vkGetPhysicalDeviceExternalFenceProperties = PFN_vkGetPhysicalDeviceExternalFenceProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFenceProperties" ) ); + if ( !vkGetPhysicalDeviceExternalFenceProperties ) vkGetPhysicalDeviceExternalFenceProperties = vkGetPhysicalDeviceExternalFencePropertiesKHR; + vkGetPhysicalDeviceExternalImageFormatPropertiesNV = PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV" ) ); + vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR" ) ); + vkGetPhysicalDeviceExternalSemaphoreProperties = PFN_vkGetPhysicalDeviceExternalSemaphoreProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphoreProperties" ) ); + if ( !vkGetPhysicalDeviceExternalSemaphoreProperties ) vkGetPhysicalDeviceExternalSemaphoreProperties = vkGetPhysicalDeviceExternalSemaphorePropertiesKHR; + vkGetPhysicalDeviceFeatures = PFN_vkGetPhysicalDeviceFeatures( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures" ) ); + vkGetPhysicalDeviceFeatures2KHR = PFN_vkGetPhysicalDeviceFeatures2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2KHR" ) ); + vkGetPhysicalDeviceFeatures2 = PFN_vkGetPhysicalDeviceFeatures2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2" ) ); + if ( !vkGetPhysicalDeviceFeatures2 ) vkGetPhysicalDeviceFeatures2 = vkGetPhysicalDeviceFeatures2KHR; + vkGetPhysicalDeviceFormatProperties = PFN_vkGetPhysicalDeviceFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties" ) ); + vkGetPhysicalDeviceFormatProperties2KHR = PFN_vkGetPhysicalDeviceFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2KHR" ) ); + vkGetPhysicalDeviceFormatProperties2 = PFN_vkGetPhysicalDeviceFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2" ) ); + if ( !vkGetPhysicalDeviceFormatProperties2 ) vkGetPhysicalDeviceFormatProperties2 = vkGetPhysicalDeviceFormatProperties2KHR; + vkGetPhysicalDeviceFragmentShadingRatesKHR = PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFragmentShadingRatesKHR" ) ); + vkGetPhysicalDeviceImageFormatProperties = PFN_vkGetPhysicalDeviceImageFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties" ) ); + vkGetPhysicalDeviceImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceImageFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2KHR" ) ); + vkGetPhysicalDeviceImageFormatProperties2 = PFN_vkGetPhysicalDeviceImageFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2" ) ); + if ( !vkGetPhysicalDeviceImageFormatProperties2 ) vkGetPhysicalDeviceImageFormatProperties2 = vkGetPhysicalDeviceImageFormatProperties2KHR; + vkGetPhysicalDeviceMemoryProperties = PFN_vkGetPhysicalDeviceMemoryProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties" ) ); + vkGetPhysicalDeviceMemoryProperties2KHR = PFN_vkGetPhysicalDeviceMemoryProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2KHR" ) ); + vkGetPhysicalDeviceMemoryProperties2 = PFN_vkGetPhysicalDeviceMemoryProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2" ) ); + if ( !vkGetPhysicalDeviceMemoryProperties2 ) vkGetPhysicalDeviceMemoryProperties2 = vkGetPhysicalDeviceMemoryProperties2KHR; + vkGetPhysicalDeviceMultisamplePropertiesEXT = PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT" ) ); + vkGetPhysicalDevicePresentRectanglesKHR = PFN_vkGetPhysicalDevicePresentRectanglesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDevicePresentRectanglesKHR" ) ); + vkGetPhysicalDeviceProperties = PFN_vkGetPhysicalDeviceProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties" ) ); + vkGetPhysicalDeviceProperties2KHR = PFN_vkGetPhysicalDeviceProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2KHR" ) ); + vkGetPhysicalDeviceProperties2 = PFN_vkGetPhysicalDeviceProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2" ) ); + if ( !vkGetPhysicalDeviceProperties2 ) vkGetPhysicalDeviceProperties2 = vkGetPhysicalDeviceProperties2KHR; + vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR" ) ); + vkGetPhysicalDeviceQueueFamilyProperties = PFN_vkGetPhysicalDeviceQueueFamilyProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties" ) ); + vkGetPhysicalDeviceQueueFamilyProperties2KHR = PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2KHR" ) ); + vkGetPhysicalDeviceQueueFamilyProperties2 = PFN_vkGetPhysicalDeviceQueueFamilyProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2" ) ); + if ( !vkGetPhysicalDeviceQueueFamilyProperties2 ) vkGetPhysicalDeviceQueueFamilyProperties2 = vkGetPhysicalDeviceQueueFamilyProperties2KHR; + vkGetPhysicalDeviceSparseImageFormatProperties = PFN_vkGetPhysicalDeviceSparseImageFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties" ) ); + vkGetPhysicalDeviceSparseImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR" ) ); + vkGetPhysicalDeviceSparseImageFormatProperties2 = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2" ) ); + if ( !vkGetPhysicalDeviceSparseImageFormatProperties2 ) vkGetPhysicalDeviceSparseImageFormatProperties2 = vkGetPhysicalDeviceSparseImageFormatProperties2KHR; + vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV" ) ); + vkGetPhysicalDeviceSurfaceCapabilities2EXT = PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT" ) ); + vkGetPhysicalDeviceSurfaceCapabilities2KHR = PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR" ) ); + vkGetPhysicalDeviceSurfaceCapabilitiesKHR = PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" ) ); + vkGetPhysicalDeviceSurfaceFormats2KHR = PFN_vkGetPhysicalDeviceSurfaceFormats2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormats2KHR" ) ); + vkGetPhysicalDeviceSurfaceFormatsKHR = PFN_vkGetPhysicalDeviceSurfaceFormatsKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormatsKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetPhysicalDeviceSurfacePresentModes2EXT = PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetPhysicalDeviceSurfacePresentModesKHR = PFN_vkGetPhysicalDeviceSurfacePresentModesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModesKHR" ) ); + vkGetPhysicalDeviceSurfaceSupportKHR = PFN_vkGetPhysicalDeviceSurfaceSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceSupportKHR" ) ); + vkGetPhysicalDeviceToolPropertiesEXT = PFN_vkGetPhysicalDeviceToolPropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceToolPropertiesEXT" ) ); +#ifdef VK_USE_PLATFORM_WAYLAND_KHR + vkGetPhysicalDeviceWaylandPresentationSupportKHR = PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR" ) ); +#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetPhysicalDeviceWin32PresentationSupportKHR = PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_XCB_KHR + vkGetPhysicalDeviceXcbPresentationSupportKHR = PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR" ) ); +#endif /*VK_USE_PLATFORM_XCB_KHR*/ +#ifdef VK_USE_PLATFORM_XLIB_KHR + vkGetPhysicalDeviceXlibPresentationSupportKHR = PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR" ) ); +#endif /*VK_USE_PLATFORM_XLIB_KHR*/ +#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT + vkGetRandROutputDisplayEXT = PFN_vkGetRandROutputDisplayEXT( vkGetInstanceProcAddr( instance, "vkGetRandROutputDisplayEXT" ) ); +#endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ + vkReleaseDisplayEXT = PFN_vkReleaseDisplayEXT( vkGetInstanceProcAddr( instance, "vkReleaseDisplayEXT" ) ); + vkSubmitDebugUtilsMessageEXT = PFN_vkSubmitDebugUtilsMessageEXT( vkGetInstanceProcAddr( instance, "vkSubmitDebugUtilsMessageEXT" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkAcquireFullScreenExclusiveModeEXT = PFN_vkAcquireFullScreenExclusiveModeEXT( vkGetInstanceProcAddr( instance, "vkAcquireFullScreenExclusiveModeEXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR( vkGetInstanceProcAddr( instance, "vkAcquireNextImage2KHR" ) ); + vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR( vkGetInstanceProcAddr( instance, "vkAcquireNextImageKHR" ) ); + vkAcquirePerformanceConfigurationINTEL = PFN_vkAcquirePerformanceConfigurationINTEL( vkGetInstanceProcAddr( instance, "vkAcquirePerformanceConfigurationINTEL" ) ); + vkAcquireProfilingLockKHR = PFN_vkAcquireProfilingLockKHR( vkGetInstanceProcAddr( instance, "vkAcquireProfilingLockKHR" ) ); + vkAllocateCommandBuffers = PFN_vkAllocateCommandBuffers( vkGetInstanceProcAddr( instance, "vkAllocateCommandBuffers" ) ); + vkAllocateDescriptorSets = PFN_vkAllocateDescriptorSets( vkGetInstanceProcAddr( instance, "vkAllocateDescriptorSets" ) ); + vkAllocateMemory = PFN_vkAllocateMemory( vkGetInstanceProcAddr( instance, "vkAllocateMemory" ) ); + vkBeginCommandBuffer = PFN_vkBeginCommandBuffer( vkGetInstanceProcAddr( instance, "vkBeginCommandBuffer" ) ); + vkBindAccelerationStructureMemoryNV = PFN_vkBindAccelerationStructureMemoryNV( vkGetInstanceProcAddr( instance, "vkBindAccelerationStructureMemoryNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkBindAccelerationStructureMemoryKHR = PFN_vkBindAccelerationStructureMemoryKHR( vkGetInstanceProcAddr( instance, "vkBindAccelerationStructureMemoryKHR" ) ); + if ( !vkBindAccelerationStructureMemoryKHR ) vkBindAccelerationStructureMemoryKHR = vkBindAccelerationStructureMemoryNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetInstanceProcAddr( instance, "vkBindBufferMemory" ) ); + vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR( vkGetInstanceProcAddr( instance, "vkBindBufferMemory2KHR" ) ); + vkBindBufferMemory2 = PFN_vkBindBufferMemory2( vkGetInstanceProcAddr( instance, "vkBindBufferMemory2" ) ); + if ( !vkBindBufferMemory2 ) vkBindBufferMemory2 = vkBindBufferMemory2KHR; + vkBindImageMemory = PFN_vkBindImageMemory( vkGetInstanceProcAddr( instance, "vkBindImageMemory" ) ); + vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR( vkGetInstanceProcAddr( instance, "vkBindImageMemory2KHR" ) ); + vkBindImageMemory2 = PFN_vkBindImageMemory2( vkGetInstanceProcAddr( instance, "vkBindImageMemory2" ) ); + if ( !vkBindImageMemory2 ) vkBindImageMemory2 = vkBindImageMemory2KHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkBuildAccelerationStructureKHR = PFN_vkBuildAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkBuildAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdBeginConditionalRenderingEXT = PFN_vkCmdBeginConditionalRenderingEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginConditionalRenderingEXT" ) ); + vkCmdBeginDebugUtilsLabelEXT = PFN_vkCmdBeginDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginDebugUtilsLabelEXT" ) ); + vkCmdBeginQuery = PFN_vkCmdBeginQuery( vkGetInstanceProcAddr( instance, "vkCmdBeginQuery" ) ); + vkCmdBeginQueryIndexedEXT = PFN_vkCmdBeginQueryIndexedEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginQueryIndexedEXT" ) ); + vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass" ) ); + vkCmdBeginRenderPass2KHR = PFN_vkCmdBeginRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass2KHR" ) ); + vkCmdBeginRenderPass2 = PFN_vkCmdBeginRenderPass2( vkGetInstanceProcAddr( instance, "vkCmdBeginRenderPass2" ) ); + if ( !vkCmdBeginRenderPass2 ) vkCmdBeginRenderPass2 = vkCmdBeginRenderPass2KHR; + vkCmdBeginTransformFeedbackEXT = PFN_vkCmdBeginTransformFeedbackEXT( vkGetInstanceProcAddr( instance, "vkCmdBeginTransformFeedbackEXT" ) ); + vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets( vkGetInstanceProcAddr( instance, "vkCmdBindDescriptorSets" ) ); + vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer( vkGetInstanceProcAddr( instance, "vkCmdBindIndexBuffer" ) ); + vkCmdBindPipeline = PFN_vkCmdBindPipeline( vkGetInstanceProcAddr( instance, "vkCmdBindPipeline" ) ); + vkCmdBindPipelineShaderGroupNV = PFN_vkCmdBindPipelineShaderGroupNV( vkGetInstanceProcAddr( instance, "vkCmdBindPipelineShaderGroupNV" ) ); + vkCmdBindShadingRateImageNV = PFN_vkCmdBindShadingRateImageNV( vkGetInstanceProcAddr( instance, "vkCmdBindShadingRateImageNV" ) ); + vkCmdBindTransformFeedbackBuffersEXT = PFN_vkCmdBindTransformFeedbackBuffersEXT( vkGetInstanceProcAddr( instance, "vkCmdBindTransformFeedbackBuffersEXT" ) ); + vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers( vkGetInstanceProcAddr( instance, "vkCmdBindVertexBuffers" ) ); + vkCmdBindVertexBuffers2EXT = PFN_vkCmdBindVertexBuffers2EXT( vkGetInstanceProcAddr( instance, "vkCmdBindVertexBuffers2EXT" ) ); + vkCmdBlitImage = PFN_vkCmdBlitImage( vkGetInstanceProcAddr( instance, "vkCmdBlitImage" ) ); + vkCmdBlitImage2KHR = PFN_vkCmdBlitImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdBlitImage2KHR" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdBuildAccelerationStructureIndirectKHR = PFN_vkCmdBuildAccelerationStructureIndirectKHR( vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructureIndirectKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdBuildAccelerationStructureKHR = PFN_vkCmdBuildAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdBuildAccelerationStructureNV = PFN_vkCmdBuildAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCmdBuildAccelerationStructureNV" ) ); + vkCmdClearAttachments = PFN_vkCmdClearAttachments( vkGetInstanceProcAddr( instance, "vkCmdClearAttachments" ) ); + vkCmdClearColorImage = PFN_vkCmdClearColorImage( vkGetInstanceProcAddr( instance, "vkCmdClearColorImage" ) ); + vkCmdClearDepthStencilImage = PFN_vkCmdClearDepthStencilImage( vkGetInstanceProcAddr( instance, "vkCmdClearDepthStencilImage" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyAccelerationStructureKHR = PFN_vkCmdCopyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyAccelerationStructureNV = PFN_vkCmdCopyAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyAccelerationStructureToMemoryKHR = PFN_vkCmdCopyAccelerationStructureToMemoryKHR( vkGetInstanceProcAddr( instance, "vkCmdCopyAccelerationStructureToMemoryKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyBuffer = PFN_vkCmdCopyBuffer( vkGetInstanceProcAddr( instance, "vkCmdCopyBuffer" ) ); + vkCmdCopyBuffer2KHR = PFN_vkCmdCopyBuffer2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyBuffer2KHR" ) ); + vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage( vkGetInstanceProcAddr( instance, "vkCmdCopyBufferToImage" ) ); + vkCmdCopyBufferToImage2KHR = PFN_vkCmdCopyBufferToImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyBufferToImage2KHR" ) ); + vkCmdCopyImage = PFN_vkCmdCopyImage( vkGetInstanceProcAddr( instance, "vkCmdCopyImage" ) ); + vkCmdCopyImage2KHR = PFN_vkCmdCopyImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyImage2KHR" ) ); + vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer( vkGetInstanceProcAddr( instance, "vkCmdCopyImageToBuffer" ) ); + vkCmdCopyImageToBuffer2KHR = PFN_vkCmdCopyImageToBuffer2KHR( vkGetInstanceProcAddr( instance, "vkCmdCopyImageToBuffer2KHR" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyMemoryToAccelerationStructureKHR = PFN_vkCmdCopyMemoryToAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCmdCopyMemoryToAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyQueryPoolResults = PFN_vkCmdCopyQueryPoolResults( vkGetInstanceProcAddr( instance, "vkCmdCopyQueryPoolResults" ) ); + vkCmdDebugMarkerBeginEXT = PFN_vkCmdDebugMarkerBeginEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerBeginEXT" ) ); + vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerEndEXT" ) ); + vkCmdDebugMarkerInsertEXT = PFN_vkCmdDebugMarkerInsertEXT( vkGetInstanceProcAddr( instance, "vkCmdDebugMarkerInsertEXT" ) ); + vkCmdDispatch = PFN_vkCmdDispatch( vkGetInstanceProcAddr( instance, "vkCmdDispatch" ) ); + vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR( vkGetInstanceProcAddr( instance, "vkCmdDispatchBaseKHR" ) ); + vkCmdDispatchBase = PFN_vkCmdDispatchBase( vkGetInstanceProcAddr( instance, "vkCmdDispatchBase" ) ); + if ( !vkCmdDispatchBase ) vkCmdDispatchBase = vkCmdDispatchBaseKHR; + vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect( vkGetInstanceProcAddr( instance, "vkCmdDispatchIndirect" ) ); + vkCmdDraw = PFN_vkCmdDraw( vkGetInstanceProcAddr( instance, "vkCmdDraw" ) ); + vkCmdDrawIndexed = PFN_vkCmdDrawIndexed( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexed" ) ); + vkCmdDrawIndexedIndirect = PFN_vkCmdDrawIndexedIndirect( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirect" ) ); + vkCmdDrawIndexedIndirectCountAMD = PFN_vkCmdDrawIndexedIndirectCountAMD( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCountAMD" ) ); + vkCmdDrawIndexedIndirectCountKHR = PFN_vkCmdDrawIndexedIndirectCountKHR( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCountKHR" ) ); + vkCmdDrawIndexedIndirectCount = PFN_vkCmdDrawIndexedIndirectCount( vkGetInstanceProcAddr( instance, "vkCmdDrawIndexedIndirectCount" ) ); + if ( !vkCmdDrawIndexedIndirectCount ) vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountKHR; + if ( !vkCmdDrawIndexedIndirectCount ) vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountAMD; + vkCmdDrawIndirect = PFN_vkCmdDrawIndirect( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirect" ) ); + vkCmdDrawIndirectByteCountEXT = PFN_vkCmdDrawIndirectByteCountEXT( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectByteCountEXT" ) ); + vkCmdDrawIndirectCountAMD = PFN_vkCmdDrawIndirectCountAMD( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCountAMD" ) ); + vkCmdDrawIndirectCountKHR = PFN_vkCmdDrawIndirectCountKHR( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCountKHR" ) ); + vkCmdDrawIndirectCount = PFN_vkCmdDrawIndirectCount( vkGetInstanceProcAddr( instance, "vkCmdDrawIndirectCount" ) ); + if ( !vkCmdDrawIndirectCount ) vkCmdDrawIndirectCount = vkCmdDrawIndirectCountKHR; + if ( !vkCmdDrawIndirectCount ) vkCmdDrawIndirectCount = vkCmdDrawIndirectCountAMD; + vkCmdDrawMeshTasksIndirectCountNV = PFN_vkCmdDrawMeshTasksIndirectCountNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksIndirectCountNV" ) ); + vkCmdDrawMeshTasksIndirectNV = PFN_vkCmdDrawMeshTasksIndirectNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksIndirectNV" ) ); + vkCmdDrawMeshTasksNV = PFN_vkCmdDrawMeshTasksNV( vkGetInstanceProcAddr( instance, "vkCmdDrawMeshTasksNV" ) ); + vkCmdEndConditionalRenderingEXT = PFN_vkCmdEndConditionalRenderingEXT( vkGetInstanceProcAddr( instance, "vkCmdEndConditionalRenderingEXT" ) ); + vkCmdEndDebugUtilsLabelEXT = PFN_vkCmdEndDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdEndDebugUtilsLabelEXT" ) ); + vkCmdEndQuery = PFN_vkCmdEndQuery( vkGetInstanceProcAddr( instance, "vkCmdEndQuery" ) ); + vkCmdEndQueryIndexedEXT = PFN_vkCmdEndQueryIndexedEXT( vkGetInstanceProcAddr( instance, "vkCmdEndQueryIndexedEXT" ) ); + vkCmdEndRenderPass = PFN_vkCmdEndRenderPass( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass" ) ); + vkCmdEndRenderPass2KHR = PFN_vkCmdEndRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass2KHR" ) ); + vkCmdEndRenderPass2 = PFN_vkCmdEndRenderPass2( vkGetInstanceProcAddr( instance, "vkCmdEndRenderPass2" ) ); + if ( !vkCmdEndRenderPass2 ) vkCmdEndRenderPass2 = vkCmdEndRenderPass2KHR; + vkCmdEndTransformFeedbackEXT = PFN_vkCmdEndTransformFeedbackEXT( vkGetInstanceProcAddr( instance, "vkCmdEndTransformFeedbackEXT" ) ); + vkCmdExecuteCommands = PFN_vkCmdExecuteCommands( vkGetInstanceProcAddr( instance, "vkCmdExecuteCommands" ) ); + vkCmdExecuteGeneratedCommandsNV = PFN_vkCmdExecuteGeneratedCommandsNV( vkGetInstanceProcAddr( instance, "vkCmdExecuteGeneratedCommandsNV" ) ); + vkCmdFillBuffer = PFN_vkCmdFillBuffer( vkGetInstanceProcAddr( instance, "vkCmdFillBuffer" ) ); + vkCmdInsertDebugUtilsLabelEXT = PFN_vkCmdInsertDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkCmdInsertDebugUtilsLabelEXT" ) ); + vkCmdNextSubpass = PFN_vkCmdNextSubpass( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass" ) ); + vkCmdNextSubpass2KHR = PFN_vkCmdNextSubpass2KHR( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass2KHR" ) ); + vkCmdNextSubpass2 = PFN_vkCmdNextSubpass2( vkGetInstanceProcAddr( instance, "vkCmdNextSubpass2" ) ); + if ( !vkCmdNextSubpass2 ) vkCmdNextSubpass2 = vkCmdNextSubpass2KHR; + vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier( vkGetInstanceProcAddr( instance, "vkCmdPipelineBarrier" ) ); + vkCmdPreprocessGeneratedCommandsNV = PFN_vkCmdPreprocessGeneratedCommandsNV( vkGetInstanceProcAddr( instance, "vkCmdPreprocessGeneratedCommandsNV" ) ); + vkCmdPushConstants = PFN_vkCmdPushConstants( vkGetInstanceProcAddr( instance, "vkCmdPushConstants" ) ); + vkCmdPushDescriptorSetKHR = PFN_vkCmdPushDescriptorSetKHR( vkGetInstanceProcAddr( instance, "vkCmdPushDescriptorSetKHR" ) ); + vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR( vkGetInstanceProcAddr( instance, "vkCmdPushDescriptorSetWithTemplateKHR" ) ); + vkCmdResetEvent = PFN_vkCmdResetEvent( vkGetInstanceProcAddr( instance, "vkCmdResetEvent" ) ); + vkCmdResetQueryPool = PFN_vkCmdResetQueryPool( vkGetInstanceProcAddr( instance, "vkCmdResetQueryPool" ) ); + vkCmdResolveImage = PFN_vkCmdResolveImage( vkGetInstanceProcAddr( instance, "vkCmdResolveImage" ) ); + vkCmdResolveImage2KHR = PFN_vkCmdResolveImage2KHR( vkGetInstanceProcAddr( instance, "vkCmdResolveImage2KHR" ) ); + vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants( vkGetInstanceProcAddr( instance, "vkCmdSetBlendConstants" ) ); + vkCmdSetCheckpointNV = PFN_vkCmdSetCheckpointNV( vkGetInstanceProcAddr( instance, "vkCmdSetCheckpointNV" ) ); + vkCmdSetCoarseSampleOrderNV = PFN_vkCmdSetCoarseSampleOrderNV( vkGetInstanceProcAddr( instance, "vkCmdSetCoarseSampleOrderNV" ) ); + vkCmdSetCullModeEXT = PFN_vkCmdSetCullModeEXT( vkGetInstanceProcAddr( instance, "vkCmdSetCullModeEXT" ) ); + vkCmdSetDepthBias = PFN_vkCmdSetDepthBias( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBias" ) ); + vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBounds" ) ); + vkCmdSetDepthBoundsTestEnableEXT = PFN_vkCmdSetDepthBoundsTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthBoundsTestEnableEXT" ) ); + vkCmdSetDepthCompareOpEXT = PFN_vkCmdSetDepthCompareOpEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthCompareOpEXT" ) ); + vkCmdSetDepthTestEnableEXT = PFN_vkCmdSetDepthTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthTestEnableEXT" ) ); + vkCmdSetDepthWriteEnableEXT = PFN_vkCmdSetDepthWriteEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDepthWriteEnableEXT" ) ); + vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR( vkGetInstanceProcAddr( instance, "vkCmdSetDeviceMaskKHR" ) ); + vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask( vkGetInstanceProcAddr( instance, "vkCmdSetDeviceMask" ) ); + if ( !vkCmdSetDeviceMask ) vkCmdSetDeviceMask = vkCmdSetDeviceMaskKHR; + vkCmdSetDiscardRectangleEXT = PFN_vkCmdSetDiscardRectangleEXT( vkGetInstanceProcAddr( instance, "vkCmdSetDiscardRectangleEXT" ) ); + vkCmdSetEvent = PFN_vkCmdSetEvent( vkGetInstanceProcAddr( instance, "vkCmdSetEvent" ) ); + vkCmdSetExclusiveScissorNV = PFN_vkCmdSetExclusiveScissorNV( vkGetInstanceProcAddr( instance, "vkCmdSetExclusiveScissorNV" ) ); + vkCmdSetFragmentShadingRateEnumNV = PFN_vkCmdSetFragmentShadingRateEnumNV( vkGetInstanceProcAddr( instance, "vkCmdSetFragmentShadingRateEnumNV" ) ); + vkCmdSetFragmentShadingRateKHR = PFN_vkCmdSetFragmentShadingRateKHR( vkGetInstanceProcAddr( instance, "vkCmdSetFragmentShadingRateKHR" ) ); + vkCmdSetFrontFaceEXT = PFN_vkCmdSetFrontFaceEXT( vkGetInstanceProcAddr( instance, "vkCmdSetFrontFaceEXT" ) ); + vkCmdSetLineStippleEXT = PFN_vkCmdSetLineStippleEXT( vkGetInstanceProcAddr( instance, "vkCmdSetLineStippleEXT" ) ); + vkCmdSetLineWidth = PFN_vkCmdSetLineWidth( vkGetInstanceProcAddr( instance, "vkCmdSetLineWidth" ) ); + vkCmdSetPerformanceMarkerINTEL = PFN_vkCmdSetPerformanceMarkerINTEL( vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceMarkerINTEL" ) ); + vkCmdSetPerformanceOverrideINTEL = PFN_vkCmdSetPerformanceOverrideINTEL( vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceOverrideINTEL" ) ); + vkCmdSetPerformanceStreamMarkerINTEL = PFN_vkCmdSetPerformanceStreamMarkerINTEL( vkGetInstanceProcAddr( instance, "vkCmdSetPerformanceStreamMarkerINTEL" ) ); + vkCmdSetPrimitiveTopologyEXT = PFN_vkCmdSetPrimitiveTopologyEXT( vkGetInstanceProcAddr( instance, "vkCmdSetPrimitiveTopologyEXT" ) ); + vkCmdSetSampleLocationsEXT = PFN_vkCmdSetSampleLocationsEXT( vkGetInstanceProcAddr( instance, "vkCmdSetSampleLocationsEXT" ) ); + vkCmdSetScissor = PFN_vkCmdSetScissor( vkGetInstanceProcAddr( instance, "vkCmdSetScissor" ) ); + vkCmdSetScissorWithCountEXT = PFN_vkCmdSetScissorWithCountEXT( vkGetInstanceProcAddr( instance, "vkCmdSetScissorWithCountEXT" ) ); + vkCmdSetStencilCompareMask = PFN_vkCmdSetStencilCompareMask( vkGetInstanceProcAddr( instance, "vkCmdSetStencilCompareMask" ) ); + vkCmdSetStencilOpEXT = PFN_vkCmdSetStencilOpEXT( vkGetInstanceProcAddr( instance, "vkCmdSetStencilOpEXT" ) ); + vkCmdSetStencilReference = PFN_vkCmdSetStencilReference( vkGetInstanceProcAddr( instance, "vkCmdSetStencilReference" ) ); + vkCmdSetStencilTestEnableEXT = PFN_vkCmdSetStencilTestEnableEXT( vkGetInstanceProcAddr( instance, "vkCmdSetStencilTestEnableEXT" ) ); + vkCmdSetStencilWriteMask = PFN_vkCmdSetStencilWriteMask( vkGetInstanceProcAddr( instance, "vkCmdSetStencilWriteMask" ) ); + vkCmdSetViewport = PFN_vkCmdSetViewport( vkGetInstanceProcAddr( instance, "vkCmdSetViewport" ) ); + vkCmdSetViewportShadingRatePaletteNV = PFN_vkCmdSetViewportShadingRatePaletteNV( vkGetInstanceProcAddr( instance, "vkCmdSetViewportShadingRatePaletteNV" ) ); + vkCmdSetViewportWScalingNV = PFN_vkCmdSetViewportWScalingNV( vkGetInstanceProcAddr( instance, "vkCmdSetViewportWScalingNV" ) ); + vkCmdSetViewportWithCountEXT = PFN_vkCmdSetViewportWithCountEXT( vkGetInstanceProcAddr( instance, "vkCmdSetViewportWithCountEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdTraceRaysIndirectKHR = PFN_vkCmdTraceRaysIndirectKHR( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysIndirectKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdTraceRaysKHR = PFN_vkCmdTraceRaysKHR( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetInstanceProcAddr( instance, "vkCmdTraceRaysNV" ) ); + vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetInstanceProcAddr( instance, "vkCmdUpdateBuffer" ) ); + vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetInstanceProcAddr( instance, "vkCmdWaitEvents" ) ); + vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV( vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR( vkGetInstanceProcAddr( instance, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) ); + if ( !vkCmdWriteAccelerationStructuresPropertiesKHR ) vkCmdWriteAccelerationStructuresPropertiesKHR = vkCmdWriteAccelerationStructuresPropertiesNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdWriteBufferMarkerAMD = PFN_vkCmdWriteBufferMarkerAMD( vkGetInstanceProcAddr( instance, "vkCmdWriteBufferMarkerAMD" ) ); + vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp( vkGetInstanceProcAddr( instance, "vkCmdWriteTimestamp" ) ); + vkCompileDeferredNV = PFN_vkCompileDeferredNV( vkGetInstanceProcAddr( instance, "vkCompileDeferredNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyAccelerationStructureKHR = PFN_vkCopyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCopyAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyAccelerationStructureToMemoryKHR = PFN_vkCopyAccelerationStructureToMemoryKHR( vkGetInstanceProcAddr( instance, "vkCopyAccelerationStructureToMemoryKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyMemoryToAccelerationStructureKHR = PFN_vkCopyMemoryToAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCopyMemoryToAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateAccelerationStructureKHR = PFN_vkCreateAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkCreateAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateAccelerationStructureNV = PFN_vkCreateAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkCreateAccelerationStructureNV" ) ); + vkCreateBuffer = PFN_vkCreateBuffer( vkGetInstanceProcAddr( instance, "vkCreateBuffer" ) ); + vkCreateBufferView = PFN_vkCreateBufferView( vkGetInstanceProcAddr( instance, "vkCreateBufferView" ) ); + vkCreateCommandPool = PFN_vkCreateCommandPool( vkGetInstanceProcAddr( instance, "vkCreateCommandPool" ) ); + vkCreateComputePipelines = PFN_vkCreateComputePipelines( vkGetInstanceProcAddr( instance, "vkCreateComputePipelines" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateDeferredOperationKHR = PFN_vkCreateDeferredOperationKHR( vkGetInstanceProcAddr( instance, "vkCreateDeferredOperationKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateDescriptorPool = PFN_vkCreateDescriptorPool( vkGetInstanceProcAddr( instance, "vkCreateDescriptorPool" ) ); + vkCreateDescriptorSetLayout = PFN_vkCreateDescriptorSetLayout( vkGetInstanceProcAddr( instance, "vkCreateDescriptorSetLayout" ) ); + vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR( vkGetInstanceProcAddr( instance, "vkCreateDescriptorUpdateTemplateKHR" ) ); + vkCreateDescriptorUpdateTemplate = PFN_vkCreateDescriptorUpdateTemplate( vkGetInstanceProcAddr( instance, "vkCreateDescriptorUpdateTemplate" ) ); + if ( !vkCreateDescriptorUpdateTemplate ) vkCreateDescriptorUpdateTemplate = vkCreateDescriptorUpdateTemplateKHR; + vkCreateEvent = PFN_vkCreateEvent( vkGetInstanceProcAddr( instance, "vkCreateEvent" ) ); + vkCreateFence = PFN_vkCreateFence( vkGetInstanceProcAddr( instance, "vkCreateFence" ) ); + vkCreateFramebuffer = PFN_vkCreateFramebuffer( vkGetInstanceProcAddr( instance, "vkCreateFramebuffer" ) ); + vkCreateGraphicsPipelines = PFN_vkCreateGraphicsPipelines( vkGetInstanceProcAddr( instance, "vkCreateGraphicsPipelines" ) ); + vkCreateImage = PFN_vkCreateImage( vkGetInstanceProcAddr( instance, "vkCreateImage" ) ); + vkCreateImageView = PFN_vkCreateImageView( vkGetInstanceProcAddr( instance, "vkCreateImageView" ) ); + vkCreateIndirectCommandsLayoutNV = PFN_vkCreateIndirectCommandsLayoutNV( vkGetInstanceProcAddr( instance, "vkCreateIndirectCommandsLayoutNV" ) ); + vkCreatePipelineCache = PFN_vkCreatePipelineCache( vkGetInstanceProcAddr( instance, "vkCreatePipelineCache" ) ); + vkCreatePipelineLayout = PFN_vkCreatePipelineLayout( vkGetInstanceProcAddr( instance, "vkCreatePipelineLayout" ) ); + vkCreatePrivateDataSlotEXT = PFN_vkCreatePrivateDataSlotEXT( vkGetInstanceProcAddr( instance, "vkCreatePrivateDataSlotEXT" ) ); + vkCreateQueryPool = PFN_vkCreateQueryPool( vkGetInstanceProcAddr( instance, "vkCreateQueryPool" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateRayTracingPipelinesKHR = PFN_vkCreateRayTracingPipelinesKHR( vkGetInstanceProcAddr( instance, "vkCreateRayTracingPipelinesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateRayTracingPipelinesNV = PFN_vkCreateRayTracingPipelinesNV( vkGetInstanceProcAddr( instance, "vkCreateRayTracingPipelinesNV" ) ); + vkCreateRenderPass = PFN_vkCreateRenderPass( vkGetInstanceProcAddr( instance, "vkCreateRenderPass" ) ); + vkCreateRenderPass2KHR = PFN_vkCreateRenderPass2KHR( vkGetInstanceProcAddr( instance, "vkCreateRenderPass2KHR" ) ); + vkCreateRenderPass2 = PFN_vkCreateRenderPass2( vkGetInstanceProcAddr( instance, "vkCreateRenderPass2" ) ); + if ( !vkCreateRenderPass2 ) vkCreateRenderPass2 = vkCreateRenderPass2KHR; + vkCreateSampler = PFN_vkCreateSampler( vkGetInstanceProcAddr( instance, "vkCreateSampler" ) ); + vkCreateSamplerYcbcrConversionKHR = PFN_vkCreateSamplerYcbcrConversionKHR( vkGetInstanceProcAddr( instance, "vkCreateSamplerYcbcrConversionKHR" ) ); + vkCreateSamplerYcbcrConversion = PFN_vkCreateSamplerYcbcrConversion( vkGetInstanceProcAddr( instance, "vkCreateSamplerYcbcrConversion" ) ); + if ( !vkCreateSamplerYcbcrConversion ) vkCreateSamplerYcbcrConversion = vkCreateSamplerYcbcrConversionKHR; + vkCreateSemaphore = PFN_vkCreateSemaphore( vkGetInstanceProcAddr( instance, "vkCreateSemaphore" ) ); + vkCreateShaderModule = PFN_vkCreateShaderModule( vkGetInstanceProcAddr( instance, "vkCreateShaderModule" ) ); + vkCreateSharedSwapchainsKHR = PFN_vkCreateSharedSwapchainsKHR( vkGetInstanceProcAddr( instance, "vkCreateSharedSwapchainsKHR" ) ); + vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR( vkGetInstanceProcAddr( instance, "vkCreateSwapchainKHR" ) ); + vkCreateValidationCacheEXT = PFN_vkCreateValidationCacheEXT( vkGetInstanceProcAddr( instance, "vkCreateValidationCacheEXT" ) ); + vkDebugMarkerSetObjectNameEXT = PFN_vkDebugMarkerSetObjectNameEXT( vkGetInstanceProcAddr( instance, "vkDebugMarkerSetObjectNameEXT" ) ); + vkDebugMarkerSetObjectTagEXT = PFN_vkDebugMarkerSetObjectTagEXT( vkGetInstanceProcAddr( instance, "vkDebugMarkerSetObjectTagEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDeferredOperationJoinKHR = PFN_vkDeferredOperationJoinKHR( vkGetInstanceProcAddr( instance, "vkDeferredOperationJoinKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyAccelerationStructureNV = PFN_vkDestroyAccelerationStructureNV( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDestroyAccelerationStructureKHR = PFN_vkDestroyAccelerationStructureKHR( vkGetInstanceProcAddr( instance, "vkDestroyAccelerationStructureKHR" ) ); + if ( !vkDestroyAccelerationStructureKHR ) vkDestroyAccelerationStructureKHR = vkDestroyAccelerationStructureNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetInstanceProcAddr( instance, "vkDestroyBuffer" ) ); + vkDestroyBufferView = PFN_vkDestroyBufferView( vkGetInstanceProcAddr( instance, "vkDestroyBufferView" ) ); + vkDestroyCommandPool = PFN_vkDestroyCommandPool( vkGetInstanceProcAddr( instance, "vkDestroyCommandPool" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDestroyDeferredOperationKHR = PFN_vkDestroyDeferredOperationKHR( vkGetInstanceProcAddr( instance, "vkDestroyDeferredOperationKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorPool" ) ); + vkDestroyDescriptorSetLayout = PFN_vkDestroyDescriptorSetLayout( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorSetLayout" ) ); + vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorUpdateTemplateKHR" ) ); + vkDestroyDescriptorUpdateTemplate = PFN_vkDestroyDescriptorUpdateTemplate( vkGetInstanceProcAddr( instance, "vkDestroyDescriptorUpdateTemplate" ) ); + if ( !vkDestroyDescriptorUpdateTemplate ) vkDestroyDescriptorUpdateTemplate = vkDestroyDescriptorUpdateTemplateKHR; + vkDestroyDevice = PFN_vkDestroyDevice( vkGetInstanceProcAddr( instance, "vkDestroyDevice" ) ); + vkDestroyEvent = PFN_vkDestroyEvent( vkGetInstanceProcAddr( instance, "vkDestroyEvent" ) ); + vkDestroyFence = PFN_vkDestroyFence( vkGetInstanceProcAddr( instance, "vkDestroyFence" ) ); + vkDestroyFramebuffer = PFN_vkDestroyFramebuffer( vkGetInstanceProcAddr( instance, "vkDestroyFramebuffer" ) ); + vkDestroyImage = PFN_vkDestroyImage( vkGetInstanceProcAddr( instance, "vkDestroyImage" ) ); + vkDestroyImageView = PFN_vkDestroyImageView( vkGetInstanceProcAddr( instance, "vkDestroyImageView" ) ); + vkDestroyIndirectCommandsLayoutNV = PFN_vkDestroyIndirectCommandsLayoutNV( vkGetInstanceProcAddr( instance, "vkDestroyIndirectCommandsLayoutNV" ) ); + vkDestroyPipeline = PFN_vkDestroyPipeline( vkGetInstanceProcAddr( instance, "vkDestroyPipeline" ) ); + vkDestroyPipelineCache = PFN_vkDestroyPipelineCache( vkGetInstanceProcAddr( instance, "vkDestroyPipelineCache" ) ); + vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout( vkGetInstanceProcAddr( instance, "vkDestroyPipelineLayout" ) ); + vkDestroyPrivateDataSlotEXT = PFN_vkDestroyPrivateDataSlotEXT( vkGetInstanceProcAddr( instance, "vkDestroyPrivateDataSlotEXT" ) ); + vkDestroyQueryPool = PFN_vkDestroyQueryPool( vkGetInstanceProcAddr( instance, "vkDestroyQueryPool" ) ); + vkDestroyRenderPass = PFN_vkDestroyRenderPass( vkGetInstanceProcAddr( instance, "vkDestroyRenderPass" ) ); + vkDestroySampler = PFN_vkDestroySampler( vkGetInstanceProcAddr( instance, "vkDestroySampler" ) ); + vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR( vkGetInstanceProcAddr( instance, "vkDestroySamplerYcbcrConversionKHR" ) ); + vkDestroySamplerYcbcrConversion = PFN_vkDestroySamplerYcbcrConversion( vkGetInstanceProcAddr( instance, "vkDestroySamplerYcbcrConversion" ) ); + if ( !vkDestroySamplerYcbcrConversion ) vkDestroySamplerYcbcrConversion = vkDestroySamplerYcbcrConversionKHR; + vkDestroySemaphore = PFN_vkDestroySemaphore( vkGetInstanceProcAddr( instance, "vkDestroySemaphore" ) ); + vkDestroyShaderModule = PFN_vkDestroyShaderModule( vkGetInstanceProcAddr( instance, "vkDestroyShaderModule" ) ); + vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR( vkGetInstanceProcAddr( instance, "vkDestroySwapchainKHR" ) ); + vkDestroyValidationCacheEXT = PFN_vkDestroyValidationCacheEXT( vkGetInstanceProcAddr( instance, "vkDestroyValidationCacheEXT" ) ); + vkDeviceWaitIdle = PFN_vkDeviceWaitIdle( vkGetInstanceProcAddr( instance, "vkDeviceWaitIdle" ) ); + vkDisplayPowerControlEXT = PFN_vkDisplayPowerControlEXT( vkGetInstanceProcAddr( instance, "vkDisplayPowerControlEXT" ) ); + vkEndCommandBuffer = PFN_vkEndCommandBuffer( vkGetInstanceProcAddr( instance, "vkEndCommandBuffer" ) ); + vkFlushMappedMemoryRanges = PFN_vkFlushMappedMemoryRanges( vkGetInstanceProcAddr( instance, "vkFlushMappedMemoryRanges" ) ); + vkFreeCommandBuffers = PFN_vkFreeCommandBuffers( vkGetInstanceProcAddr( instance, "vkFreeCommandBuffers" ) ); + vkFreeDescriptorSets = PFN_vkFreeDescriptorSets( vkGetInstanceProcAddr( instance, "vkFreeDescriptorSets" ) ); + vkFreeMemory = PFN_vkFreeMemory( vkGetInstanceProcAddr( instance, "vkFreeMemory" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetAccelerationStructureDeviceAddressKHR = PFN_vkGetAccelerationStructureDeviceAddressKHR( vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureDeviceAddressKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetAccelerationStructureHandleNV = PFN_vkGetAccelerationStructureHandleNV( vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureHandleNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetAccelerationStructureMemoryRequirementsKHR = PFN_vkGetAccelerationStructureMemoryRequirementsKHR( vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureMemoryRequirementsKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetAccelerationStructureMemoryRequirementsNV = PFN_vkGetAccelerationStructureMemoryRequirementsNV( vkGetInstanceProcAddr( instance, "vkGetAccelerationStructureMemoryRequirementsNV" ) ); +#ifdef VK_USE_PLATFORM_ANDROID_KHR + vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID( vkGetInstanceProcAddr( instance, "vkGetAndroidHardwareBufferPropertiesANDROID" ) ); +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + vkGetBufferDeviceAddressEXT = PFN_vkGetBufferDeviceAddressEXT( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddressEXT" ) ); + vkGetBufferDeviceAddressKHR = PFN_vkGetBufferDeviceAddressKHR( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddressKHR" ) ); + vkGetBufferDeviceAddress = PFN_vkGetBufferDeviceAddress( vkGetInstanceProcAddr( instance, "vkGetBufferDeviceAddress" ) ); + if ( !vkGetBufferDeviceAddress ) vkGetBufferDeviceAddress = vkGetBufferDeviceAddressKHR; + if ( !vkGetBufferDeviceAddress ) vkGetBufferDeviceAddress = vkGetBufferDeviceAddressEXT; + vkGetBufferMemoryRequirements = PFN_vkGetBufferMemoryRequirements( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements" ) ); + vkGetBufferMemoryRequirements2KHR = PFN_vkGetBufferMemoryRequirements2KHR( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements2KHR" ) ); + vkGetBufferMemoryRequirements2 = PFN_vkGetBufferMemoryRequirements2( vkGetInstanceProcAddr( instance, "vkGetBufferMemoryRequirements2" ) ); + if ( !vkGetBufferMemoryRequirements2 ) vkGetBufferMemoryRequirements2 = vkGetBufferMemoryRequirements2KHR; + vkGetBufferOpaqueCaptureAddressKHR = PFN_vkGetBufferOpaqueCaptureAddressKHR( vkGetInstanceProcAddr( instance, "vkGetBufferOpaqueCaptureAddressKHR" ) ); + vkGetBufferOpaqueCaptureAddress = PFN_vkGetBufferOpaqueCaptureAddress( vkGetInstanceProcAddr( instance, "vkGetBufferOpaqueCaptureAddress" ) ); + if ( !vkGetBufferOpaqueCaptureAddress ) vkGetBufferOpaqueCaptureAddress = vkGetBufferOpaqueCaptureAddressKHR; + vkGetCalibratedTimestampsEXT = PFN_vkGetCalibratedTimestampsEXT( vkGetInstanceProcAddr( instance, "vkGetCalibratedTimestampsEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeferredOperationMaxConcurrencyKHR = PFN_vkGetDeferredOperationMaxConcurrencyKHR( vkGetInstanceProcAddr( instance, "vkGetDeferredOperationMaxConcurrencyKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeferredOperationResultKHR = PFN_vkGetDeferredOperationResultKHR( vkGetInstanceProcAddr( instance, "vkGetDeferredOperationResultKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR( vkGetInstanceProcAddr( instance, "vkGetDescriptorSetLayoutSupportKHR" ) ); + vkGetDescriptorSetLayoutSupport = PFN_vkGetDescriptorSetLayoutSupport( vkGetInstanceProcAddr( instance, "vkGetDescriptorSetLayoutSupport" ) ); + if ( !vkGetDescriptorSetLayoutSupport ) vkGetDescriptorSetLayoutSupport = vkGetDescriptorSetLayoutSupportKHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeviceAccelerationStructureCompatibilityKHR = PFN_vkGetDeviceAccelerationStructureCompatibilityKHR( vkGetInstanceProcAddr( instance, "vkGetDeviceAccelerationStructureCompatibilityKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR( vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPeerMemoryFeaturesKHR" ) ); + vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures( vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPeerMemoryFeatures" ) ); + if ( !vkGetDeviceGroupPeerMemoryFeatures ) vkGetDeviceGroupPeerMemoryFeatures = vkGetDeviceGroupPeerMemoryFeaturesKHR; + vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetDeviceGroupPresentCapabilitiesKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetDeviceGroupSurfacePresentModes2EXT = PFN_vkGetDeviceGroupSurfacePresentModes2EXT( vkGetInstanceProcAddr( instance, "vkGetDeviceGroupSurfacePresentModes2EXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR( vkGetInstanceProcAddr( instance, "vkGetDeviceGroupSurfacePresentModesKHR" ) ); + vkGetDeviceMemoryCommitment = PFN_vkGetDeviceMemoryCommitment( vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryCommitment" ) ); + vkGetDeviceMemoryOpaqueCaptureAddressKHR = PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR( vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryOpaqueCaptureAddressKHR" ) ); + vkGetDeviceMemoryOpaqueCaptureAddress = PFN_vkGetDeviceMemoryOpaqueCaptureAddress( vkGetInstanceProcAddr( instance, "vkGetDeviceMemoryOpaqueCaptureAddress" ) ); + if ( !vkGetDeviceMemoryOpaqueCaptureAddress ) vkGetDeviceMemoryOpaqueCaptureAddress = vkGetDeviceMemoryOpaqueCaptureAddressKHR; + vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetInstanceProcAddr( instance, "vkGetDeviceProcAddr" ) ); + vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue" ) ); + vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetInstanceProcAddr( instance, "vkGetDeviceQueue2" ) ); + vkGetEventStatus = PFN_vkGetEventStatus( vkGetInstanceProcAddr( instance, "vkGetEventStatus" ) ); + vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetInstanceProcAddr( instance, "vkGetFenceFdKHR" ) ); + vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetInstanceProcAddr( instance, "vkGetFenceStatus" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetFenceWin32HandleKHR = PFN_vkGetFenceWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetFenceWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetGeneratedCommandsMemoryRequirementsNV = PFN_vkGetGeneratedCommandsMemoryRequirementsNV( vkGetInstanceProcAddr( instance, "vkGetGeneratedCommandsMemoryRequirementsNV" ) ); + vkGetImageDrmFormatModifierPropertiesEXT = PFN_vkGetImageDrmFormatModifierPropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetImageDrmFormatModifierPropertiesEXT" ) ); + vkGetImageMemoryRequirements = PFN_vkGetImageMemoryRequirements( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements" ) ); + vkGetImageMemoryRequirements2KHR = PFN_vkGetImageMemoryRequirements2KHR( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements2KHR" ) ); + vkGetImageMemoryRequirements2 = PFN_vkGetImageMemoryRequirements2( vkGetInstanceProcAddr( instance, "vkGetImageMemoryRequirements2" ) ); + if ( !vkGetImageMemoryRequirements2 ) vkGetImageMemoryRequirements2 = vkGetImageMemoryRequirements2KHR; + vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements( vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements" ) ); + vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR( vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements2KHR" ) ); + vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2( vkGetInstanceProcAddr( instance, "vkGetImageSparseMemoryRequirements2" ) ); + if ( !vkGetImageSparseMemoryRequirements2 ) vkGetImageSparseMemoryRequirements2 = vkGetImageSparseMemoryRequirements2KHR; + vkGetImageSubresourceLayout = PFN_vkGetImageSubresourceLayout( vkGetInstanceProcAddr( instance, "vkGetImageSubresourceLayout" ) ); + vkGetImageViewAddressNVX = PFN_vkGetImageViewAddressNVX( vkGetInstanceProcAddr( instance, "vkGetImageViewAddressNVX" ) ); + vkGetImageViewHandleNVX = PFN_vkGetImageViewHandleNVX( vkGetInstanceProcAddr( instance, "vkGetImageViewHandleNVX" ) ); +#ifdef VK_USE_PLATFORM_ANDROID_KHR + vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID( vkGetInstanceProcAddr( instance, "vkGetMemoryAndroidHardwareBufferANDROID" ) ); +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryFdKHR" ) ); + vkGetMemoryFdPropertiesKHR = PFN_vkGetMemoryFdPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryFdPropertiesKHR" ) ); + vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetMemoryHostPointerPropertiesEXT" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandleKHR = PFN_vkGetMemoryWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandleNV = PFN_vkGetMemoryWin32HandleNV( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandleNV" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetMemoryWin32HandlePropertiesKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetPastPresentationTimingGOOGLE = PFN_vkGetPastPresentationTimingGOOGLE( vkGetInstanceProcAddr( instance, "vkGetPastPresentationTimingGOOGLE" ) ); + vkGetPerformanceParameterINTEL = PFN_vkGetPerformanceParameterINTEL( vkGetInstanceProcAddr( instance, "vkGetPerformanceParameterINTEL" ) ); + vkGetPipelineCacheData = PFN_vkGetPipelineCacheData( vkGetInstanceProcAddr( instance, "vkGetPipelineCacheData" ) ); + vkGetPipelineExecutableInternalRepresentationsKHR = PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetInstanceProcAddr( instance, "vkGetPipelineExecutableInternalRepresentationsKHR" ) ); + vkGetPipelineExecutablePropertiesKHR = PFN_vkGetPipelineExecutablePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPipelineExecutablePropertiesKHR" ) ); + vkGetPipelineExecutableStatisticsKHR = PFN_vkGetPipelineExecutableStatisticsKHR( vkGetInstanceProcAddr( instance, "vkGetPipelineExecutableStatisticsKHR" ) ); + vkGetPrivateDataEXT = PFN_vkGetPrivateDataEXT( vkGetInstanceProcAddr( instance, "vkGetPrivateDataEXT" ) ); + vkGetQueryPoolResults = PFN_vkGetQueryPoolResults( vkGetInstanceProcAddr( instance, "vkGetQueryPoolResults" ) ); + vkGetQueueCheckpointDataNV = PFN_vkGetQueueCheckpointDataNV( vkGetInstanceProcAddr( instance, "vkGetQueueCheckpointDataNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( vkGetInstanceProcAddr( instance, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetRayTracingShaderGroupHandlesNV = PFN_vkGetRayTracingShaderGroupHandlesNV( vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR( vkGetInstanceProcAddr( instance, "vkGetRayTracingShaderGroupHandlesKHR" ) ); + if ( !vkGetRayTracingShaderGroupHandlesKHR ) vkGetRayTracingShaderGroupHandlesKHR = vkGetRayTracingShaderGroupHandlesNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetRefreshCycleDurationGOOGLE = PFN_vkGetRefreshCycleDurationGOOGLE( vkGetInstanceProcAddr( instance, "vkGetRefreshCycleDurationGOOGLE" ) ); + vkGetRenderAreaGranularity = PFN_vkGetRenderAreaGranularity( vkGetInstanceProcAddr( instance, "vkGetRenderAreaGranularity" ) ); + vkGetSemaphoreCounterValueKHR = PFN_vkGetSemaphoreCounterValueKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreCounterValueKHR" ) ); + vkGetSemaphoreCounterValue = PFN_vkGetSemaphoreCounterValue( vkGetInstanceProcAddr( instance, "vkGetSemaphoreCounterValue" ) ); + if ( !vkGetSemaphoreCounterValue ) vkGetSemaphoreCounterValue = vkGetSemaphoreCounterValueKHR; + vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetSemaphoreWin32HandleKHR = PFN_vkGetSemaphoreWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkGetSemaphoreWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetInstanceProcAddr( instance, "vkGetShaderInfoAMD" ) ); + vkGetSwapchainCounterEXT = PFN_vkGetSwapchainCounterEXT( vkGetInstanceProcAddr( instance, "vkGetSwapchainCounterEXT" ) ); + vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR( vkGetInstanceProcAddr( instance, "vkGetSwapchainImagesKHR" ) ); + vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR( vkGetInstanceProcAddr( instance, "vkGetSwapchainStatusKHR" ) ); + vkGetValidationCacheDataEXT = PFN_vkGetValidationCacheDataEXT( vkGetInstanceProcAddr( instance, "vkGetValidationCacheDataEXT" ) ); + vkImportFenceFdKHR = PFN_vkImportFenceFdKHR( vkGetInstanceProcAddr( instance, "vkImportFenceFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkImportFenceWin32HandleKHR = PFN_vkImportFenceWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkImportFenceWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR( vkGetInstanceProcAddr( instance, "vkImportSemaphoreFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkImportSemaphoreWin32HandleKHR = PFN_vkImportSemaphoreWin32HandleKHR( vkGetInstanceProcAddr( instance, "vkImportSemaphoreWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkInitializePerformanceApiINTEL = PFN_vkInitializePerformanceApiINTEL( vkGetInstanceProcAddr( instance, "vkInitializePerformanceApiINTEL" ) ); + vkInvalidateMappedMemoryRanges = PFN_vkInvalidateMappedMemoryRanges( vkGetInstanceProcAddr( instance, "vkInvalidateMappedMemoryRanges" ) ); + vkMapMemory = PFN_vkMapMemory( vkGetInstanceProcAddr( instance, "vkMapMemory" ) ); + vkMergePipelineCaches = PFN_vkMergePipelineCaches( vkGetInstanceProcAddr( instance, "vkMergePipelineCaches" ) ); + vkMergeValidationCachesEXT = PFN_vkMergeValidationCachesEXT( vkGetInstanceProcAddr( instance, "vkMergeValidationCachesEXT" ) ); + vkQueueBeginDebugUtilsLabelEXT = PFN_vkQueueBeginDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueBeginDebugUtilsLabelEXT" ) ); + vkQueueBindSparse = PFN_vkQueueBindSparse( vkGetInstanceProcAddr( instance, "vkQueueBindSparse" ) ); + vkQueueEndDebugUtilsLabelEXT = PFN_vkQueueEndDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueEndDebugUtilsLabelEXT" ) ); + vkQueueInsertDebugUtilsLabelEXT = PFN_vkQueueInsertDebugUtilsLabelEXT( vkGetInstanceProcAddr( instance, "vkQueueInsertDebugUtilsLabelEXT" ) ); + vkQueuePresentKHR = PFN_vkQueuePresentKHR( vkGetInstanceProcAddr( instance, "vkQueuePresentKHR" ) ); + vkQueueSetPerformanceConfigurationINTEL = PFN_vkQueueSetPerformanceConfigurationINTEL( vkGetInstanceProcAddr( instance, "vkQueueSetPerformanceConfigurationINTEL" ) ); + vkQueueSubmit = PFN_vkQueueSubmit( vkGetInstanceProcAddr( instance, "vkQueueSubmit" ) ); + vkQueueWaitIdle = PFN_vkQueueWaitIdle( vkGetInstanceProcAddr( instance, "vkQueueWaitIdle" ) ); + vkRegisterDeviceEventEXT = PFN_vkRegisterDeviceEventEXT( vkGetInstanceProcAddr( instance, "vkRegisterDeviceEventEXT" ) ); + vkRegisterDisplayEventEXT = PFN_vkRegisterDisplayEventEXT( vkGetInstanceProcAddr( instance, "vkRegisterDisplayEventEXT" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkReleaseFullScreenExclusiveModeEXT = PFN_vkReleaseFullScreenExclusiveModeEXT( vkGetInstanceProcAddr( instance, "vkReleaseFullScreenExclusiveModeEXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkReleasePerformanceConfigurationINTEL = PFN_vkReleasePerformanceConfigurationINTEL( vkGetInstanceProcAddr( instance, "vkReleasePerformanceConfigurationINTEL" ) ); + vkReleaseProfilingLockKHR = PFN_vkReleaseProfilingLockKHR( vkGetInstanceProcAddr( instance, "vkReleaseProfilingLockKHR" ) ); + vkResetCommandBuffer = PFN_vkResetCommandBuffer( vkGetInstanceProcAddr( instance, "vkResetCommandBuffer" ) ); + vkResetCommandPool = PFN_vkResetCommandPool( vkGetInstanceProcAddr( instance, "vkResetCommandPool" ) ); + vkResetDescriptorPool = PFN_vkResetDescriptorPool( vkGetInstanceProcAddr( instance, "vkResetDescriptorPool" ) ); + vkResetEvent = PFN_vkResetEvent( vkGetInstanceProcAddr( instance, "vkResetEvent" ) ); + vkResetFences = PFN_vkResetFences( vkGetInstanceProcAddr( instance, "vkResetFences" ) ); + vkResetQueryPoolEXT = PFN_vkResetQueryPoolEXT( vkGetInstanceProcAddr( instance, "vkResetQueryPoolEXT" ) ); + vkResetQueryPool = PFN_vkResetQueryPool( vkGetInstanceProcAddr( instance, "vkResetQueryPool" ) ); + if ( !vkResetQueryPool ) vkResetQueryPool = vkResetQueryPoolEXT; + vkSetDebugUtilsObjectNameEXT = PFN_vkSetDebugUtilsObjectNameEXT( vkGetInstanceProcAddr( instance, "vkSetDebugUtilsObjectNameEXT" ) ); + vkSetDebugUtilsObjectTagEXT = PFN_vkSetDebugUtilsObjectTagEXT( vkGetInstanceProcAddr( instance, "vkSetDebugUtilsObjectTagEXT" ) ); + vkSetEvent = PFN_vkSetEvent( vkGetInstanceProcAddr( instance, "vkSetEvent" ) ); + vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT( vkGetInstanceProcAddr( instance, "vkSetHdrMetadataEXT" ) ); + vkSetLocalDimmingAMD = PFN_vkSetLocalDimmingAMD( vkGetInstanceProcAddr( instance, "vkSetLocalDimmingAMD" ) ); + vkSetPrivateDataEXT = PFN_vkSetPrivateDataEXT( vkGetInstanceProcAddr( instance, "vkSetPrivateDataEXT" ) ); + vkSignalSemaphoreKHR = PFN_vkSignalSemaphoreKHR( vkGetInstanceProcAddr( instance, "vkSignalSemaphoreKHR" ) ); + vkSignalSemaphore = PFN_vkSignalSemaphore( vkGetInstanceProcAddr( instance, "vkSignalSemaphore" ) ); + if ( !vkSignalSemaphore ) vkSignalSemaphore = vkSignalSemaphoreKHR; + vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR( vkGetInstanceProcAddr( instance, "vkTrimCommandPoolKHR" ) ); + vkTrimCommandPool = PFN_vkTrimCommandPool( vkGetInstanceProcAddr( instance, "vkTrimCommandPool" ) ); + if ( !vkTrimCommandPool ) vkTrimCommandPool = vkTrimCommandPoolKHR; + vkUninitializePerformanceApiINTEL = PFN_vkUninitializePerformanceApiINTEL( vkGetInstanceProcAddr( instance, "vkUninitializePerformanceApiINTEL" ) ); + vkUnmapMemory = PFN_vkUnmapMemory( vkGetInstanceProcAddr( instance, "vkUnmapMemory" ) ); + vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR( vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSetWithTemplateKHR" ) ); + vkUpdateDescriptorSetWithTemplate = PFN_vkUpdateDescriptorSetWithTemplate( vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSetWithTemplate" ) ); + if ( !vkUpdateDescriptorSetWithTemplate ) vkUpdateDescriptorSetWithTemplate = vkUpdateDescriptorSetWithTemplateKHR; + vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets( vkGetInstanceProcAddr( instance, "vkUpdateDescriptorSets" ) ); + vkWaitForFences = PFN_vkWaitForFences( vkGetInstanceProcAddr( instance, "vkWaitForFences" ) ); + vkWaitSemaphoresKHR = PFN_vkWaitSemaphoresKHR( vkGetInstanceProcAddr( instance, "vkWaitSemaphoresKHR" ) ); + vkWaitSemaphores = PFN_vkWaitSemaphores( vkGetInstanceProcAddr( instance, "vkWaitSemaphores" ) ); + if ( !vkWaitSemaphores ) vkWaitSemaphores = vkWaitSemaphoresKHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkWriteAccelerationStructuresPropertiesKHR = PFN_vkWriteAccelerationStructuresPropertiesKHR( vkGetInstanceProcAddr( instance, "vkWriteAccelerationStructuresPropertiesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + } + + void init( VULKAN_HPP_NAMESPACE::Device deviceCpp ) VULKAN_HPP_NOEXCEPT + { + VkDevice device = static_cast(deviceCpp); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkAcquireFullScreenExclusiveModeEXT = PFN_vkAcquireFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkAcquireFullScreenExclusiveModeEXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR( vkGetDeviceProcAddr( device, "vkAcquireNextImage2KHR" ) ); + vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR( vkGetDeviceProcAddr( device, "vkAcquireNextImageKHR" ) ); + vkAcquirePerformanceConfigurationINTEL = PFN_vkAcquirePerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkAcquirePerformanceConfigurationINTEL" ) ); + vkAcquireProfilingLockKHR = PFN_vkAcquireProfilingLockKHR( vkGetDeviceProcAddr( device, "vkAcquireProfilingLockKHR" ) ); + vkAllocateCommandBuffers = PFN_vkAllocateCommandBuffers( vkGetDeviceProcAddr( device, "vkAllocateCommandBuffers" ) ); + vkAllocateDescriptorSets = PFN_vkAllocateDescriptorSets( vkGetDeviceProcAddr( device, "vkAllocateDescriptorSets" ) ); + vkAllocateMemory = PFN_vkAllocateMemory( vkGetDeviceProcAddr( device, "vkAllocateMemory" ) ); + vkBeginCommandBuffer = PFN_vkBeginCommandBuffer( vkGetDeviceProcAddr( device, "vkBeginCommandBuffer" ) ); + vkBindAccelerationStructureMemoryNV = PFN_vkBindAccelerationStructureMemoryNV( vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkBindAccelerationStructureMemoryKHR = PFN_vkBindAccelerationStructureMemoryKHR( vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryKHR" ) ); + if ( !vkBindAccelerationStructureMemoryKHR ) vkBindAccelerationStructureMemoryKHR = vkBindAccelerationStructureMemoryNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetDeviceProcAddr( device, "vkBindBufferMemory" ) ); + vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR( vkGetDeviceProcAddr( device, "vkBindBufferMemory2KHR" ) ); + vkBindBufferMemory2 = PFN_vkBindBufferMemory2( vkGetDeviceProcAddr( device, "vkBindBufferMemory2" ) ); + if ( !vkBindBufferMemory2 ) vkBindBufferMemory2 = vkBindBufferMemory2KHR; + vkBindImageMemory = PFN_vkBindImageMemory( vkGetDeviceProcAddr( device, "vkBindImageMemory" ) ); + vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR( vkGetDeviceProcAddr( device, "vkBindImageMemory2KHR" ) ); + vkBindImageMemory2 = PFN_vkBindImageMemory2( vkGetDeviceProcAddr( device, "vkBindImageMemory2" ) ); + if ( !vkBindImageMemory2 ) vkBindImageMemory2 = vkBindImageMemory2KHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkBuildAccelerationStructureKHR = PFN_vkBuildAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkBuildAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdBeginConditionalRenderingEXT = PFN_vkCmdBeginConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdBeginConditionalRenderingEXT" ) ); + vkCmdBeginDebugUtilsLabelEXT = PFN_vkCmdBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdBeginDebugUtilsLabelEXT" ) ); + vkCmdBeginQuery = PFN_vkCmdBeginQuery( vkGetDeviceProcAddr( device, "vkCmdBeginQuery" ) ); + vkCmdBeginQueryIndexedEXT = PFN_vkCmdBeginQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdBeginQueryIndexedEXT" ) ); + vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass" ) ); + vkCmdBeginRenderPass2KHR = PFN_vkCmdBeginRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2KHR" ) ); + vkCmdBeginRenderPass2 = PFN_vkCmdBeginRenderPass2( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2" ) ); + if ( !vkCmdBeginRenderPass2 ) vkCmdBeginRenderPass2 = vkCmdBeginRenderPass2KHR; + vkCmdBeginTransformFeedbackEXT = PFN_vkCmdBeginTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdBeginTransformFeedbackEXT" ) ); + vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets" ) ); + vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer( vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer" ) ); + vkCmdBindPipeline = PFN_vkCmdBindPipeline( vkGetDeviceProcAddr( device, "vkCmdBindPipeline" ) ); + vkCmdBindPipelineShaderGroupNV = PFN_vkCmdBindPipelineShaderGroupNV( vkGetDeviceProcAddr( device, "vkCmdBindPipelineShaderGroupNV" ) ); + vkCmdBindShadingRateImageNV = PFN_vkCmdBindShadingRateImageNV( vkGetDeviceProcAddr( device, "vkCmdBindShadingRateImageNV" ) ); + vkCmdBindTransformFeedbackBuffersEXT = PFN_vkCmdBindTransformFeedbackBuffersEXT( vkGetDeviceProcAddr( device, "vkCmdBindTransformFeedbackBuffersEXT" ) ); + vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers" ) ); + vkCmdBindVertexBuffers2EXT = PFN_vkCmdBindVertexBuffers2EXT( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2EXT" ) ); + vkCmdBlitImage = PFN_vkCmdBlitImage( vkGetDeviceProcAddr( device, "vkCmdBlitImage" ) ); + vkCmdBlitImage2KHR = PFN_vkCmdBlitImage2KHR( vkGetDeviceProcAddr( device, "vkCmdBlitImage2KHR" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdBuildAccelerationStructureIndirectKHR = PFN_vkCmdBuildAccelerationStructureIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureIndirectKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdBuildAccelerationStructureKHR = PFN_vkCmdBuildAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdBuildAccelerationStructureNV = PFN_vkCmdBuildAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureNV" ) ); + vkCmdClearAttachments = PFN_vkCmdClearAttachments( vkGetDeviceProcAddr( device, "vkCmdClearAttachments" ) ); + vkCmdClearColorImage = PFN_vkCmdClearColorImage( vkGetDeviceProcAddr( device, "vkCmdClearColorImage" ) ); + vkCmdClearDepthStencilImage = PFN_vkCmdClearDepthStencilImage( vkGetDeviceProcAddr( device, "vkCmdClearDepthStencilImage" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyAccelerationStructureKHR = PFN_vkCmdCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyAccelerationStructureNV = PFN_vkCmdCopyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyAccelerationStructureToMemoryKHR = PFN_vkCmdCopyAccelerationStructureToMemoryKHR( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureToMemoryKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyBuffer = PFN_vkCmdCopyBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer" ) ); + vkCmdCopyBuffer2KHR = PFN_vkCmdCopyBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2KHR" ) ); + vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage" ) ); + vkCmdCopyBufferToImage2KHR = PFN_vkCmdCopyBufferToImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2KHR" ) ); + vkCmdCopyImage = PFN_vkCmdCopyImage( vkGetDeviceProcAddr( device, "vkCmdCopyImage" ) ); + vkCmdCopyImage2KHR = PFN_vkCmdCopyImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImage2KHR" ) ); + vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer" ) ); + vkCmdCopyImageToBuffer2KHR = PFN_vkCmdCopyImageToBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2KHR" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdCopyMemoryToAccelerationStructureKHR = PFN_vkCmdCopyMemoryToAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdCopyQueryPoolResults = PFN_vkCmdCopyQueryPoolResults( vkGetDeviceProcAddr( device, "vkCmdCopyQueryPoolResults" ) ); + vkCmdDebugMarkerBeginEXT = PFN_vkCmdDebugMarkerBeginEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerBeginEXT" ) ); + vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerEndEXT" ) ); + vkCmdDebugMarkerInsertEXT = PFN_vkCmdDebugMarkerInsertEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerInsertEXT" ) ); + vkCmdDispatch = PFN_vkCmdDispatch( vkGetDeviceProcAddr( device, "vkCmdDispatch" ) ); + vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR( vkGetDeviceProcAddr( device, "vkCmdDispatchBaseKHR" ) ); + vkCmdDispatchBase = PFN_vkCmdDispatchBase( vkGetDeviceProcAddr( device, "vkCmdDispatchBase" ) ); + if ( !vkCmdDispatchBase ) vkCmdDispatchBase = vkCmdDispatchBaseKHR; + vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect( vkGetDeviceProcAddr( device, "vkCmdDispatchIndirect" ) ); + vkCmdDraw = PFN_vkCmdDraw( vkGetDeviceProcAddr( device, "vkCmdDraw" ) ); + vkCmdDrawIndexed = PFN_vkCmdDrawIndexed( vkGetDeviceProcAddr( device, "vkCmdDrawIndexed" ) ); + vkCmdDrawIndexedIndirect = PFN_vkCmdDrawIndexedIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirect" ) ); + vkCmdDrawIndexedIndirectCountAMD = PFN_vkCmdDrawIndexedIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountAMD" ) ); + vkCmdDrawIndexedIndirectCountKHR = PFN_vkCmdDrawIndexedIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountKHR" ) ); + vkCmdDrawIndexedIndirectCount = PFN_vkCmdDrawIndexedIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCount" ) ); + if ( !vkCmdDrawIndexedIndirectCount ) vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountKHR; + if ( !vkCmdDrawIndexedIndirectCount ) vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountAMD; + vkCmdDrawIndirect = PFN_vkCmdDrawIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndirect" ) ); + vkCmdDrawIndirectByteCountEXT = PFN_vkCmdDrawIndirectByteCountEXT( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectByteCountEXT" ) ); + vkCmdDrawIndirectCountAMD = PFN_vkCmdDrawIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountAMD" ) ); + vkCmdDrawIndirectCountKHR = PFN_vkCmdDrawIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountKHR" ) ); + vkCmdDrawIndirectCount = PFN_vkCmdDrawIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCount" ) ); + if ( !vkCmdDrawIndirectCount ) vkCmdDrawIndirectCount = vkCmdDrawIndirectCountKHR; + if ( !vkCmdDrawIndirectCount ) vkCmdDrawIndirectCount = vkCmdDrawIndirectCountAMD; + vkCmdDrawMeshTasksIndirectCountNV = PFN_vkCmdDrawMeshTasksIndirectCountNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountNV" ) ); + vkCmdDrawMeshTasksIndirectNV = PFN_vkCmdDrawMeshTasksIndirectNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectNV" ) ); + vkCmdDrawMeshTasksNV = PFN_vkCmdDrawMeshTasksNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksNV" ) ); + vkCmdEndConditionalRenderingEXT = PFN_vkCmdEndConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdEndConditionalRenderingEXT" ) ); + vkCmdEndDebugUtilsLabelEXT = PFN_vkCmdEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdEndDebugUtilsLabelEXT" ) ); + vkCmdEndQuery = PFN_vkCmdEndQuery( vkGetDeviceProcAddr( device, "vkCmdEndQuery" ) ); + vkCmdEndQueryIndexedEXT = PFN_vkCmdEndQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdEndQueryIndexedEXT" ) ); + vkCmdEndRenderPass = PFN_vkCmdEndRenderPass( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass" ) ); + vkCmdEndRenderPass2KHR = PFN_vkCmdEndRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2KHR" ) ); + vkCmdEndRenderPass2 = PFN_vkCmdEndRenderPass2( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2" ) ); + if ( !vkCmdEndRenderPass2 ) vkCmdEndRenderPass2 = vkCmdEndRenderPass2KHR; + vkCmdEndTransformFeedbackEXT = PFN_vkCmdEndTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdEndTransformFeedbackEXT" ) ); + vkCmdExecuteCommands = PFN_vkCmdExecuteCommands( vkGetDeviceProcAddr( device, "vkCmdExecuteCommands" ) ); + vkCmdExecuteGeneratedCommandsNV = PFN_vkCmdExecuteGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsNV" ) ); + vkCmdFillBuffer = PFN_vkCmdFillBuffer( vkGetDeviceProcAddr( device, "vkCmdFillBuffer" ) ); + vkCmdInsertDebugUtilsLabelEXT = PFN_vkCmdInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdInsertDebugUtilsLabelEXT" ) ); + vkCmdNextSubpass = PFN_vkCmdNextSubpass( vkGetDeviceProcAddr( device, "vkCmdNextSubpass" ) ); + vkCmdNextSubpass2KHR = PFN_vkCmdNextSubpass2KHR( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2KHR" ) ); + vkCmdNextSubpass2 = PFN_vkCmdNextSubpass2( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2" ) ); + if ( !vkCmdNextSubpass2 ) vkCmdNextSubpass2 = vkCmdNextSubpass2KHR; + vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier" ) ); + vkCmdPreprocessGeneratedCommandsNV = PFN_vkCmdPreprocessGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsNV" ) ); + vkCmdPushConstants = PFN_vkCmdPushConstants( vkGetDeviceProcAddr( device, "vkCmdPushConstants" ) ); + vkCmdPushDescriptorSetKHR = PFN_vkCmdPushDescriptorSetKHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetKHR" ) ); + vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplateKHR" ) ); + vkCmdResetEvent = PFN_vkCmdResetEvent( vkGetDeviceProcAddr( device, "vkCmdResetEvent" ) ); + vkCmdResetQueryPool = PFN_vkCmdResetQueryPool( vkGetDeviceProcAddr( device, "vkCmdResetQueryPool" ) ); + vkCmdResolveImage = PFN_vkCmdResolveImage( vkGetDeviceProcAddr( device, "vkCmdResolveImage" ) ); + vkCmdResolveImage2KHR = PFN_vkCmdResolveImage2KHR( vkGetDeviceProcAddr( device, "vkCmdResolveImage2KHR" ) ); + vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants( vkGetDeviceProcAddr( device, "vkCmdSetBlendConstants" ) ); + vkCmdSetCheckpointNV = PFN_vkCmdSetCheckpointNV( vkGetDeviceProcAddr( device, "vkCmdSetCheckpointNV" ) ); + vkCmdSetCoarseSampleOrderNV = PFN_vkCmdSetCoarseSampleOrderNV( vkGetDeviceProcAddr( device, "vkCmdSetCoarseSampleOrderNV" ) ); + vkCmdSetCullModeEXT = PFN_vkCmdSetCullModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetCullModeEXT" ) ); + vkCmdSetDepthBias = PFN_vkCmdSetDepthBias( vkGetDeviceProcAddr( device, "vkCmdSetDepthBias" ) ); + vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds( vkGetDeviceProcAddr( device, "vkCmdSetDepthBounds" ) ); + vkCmdSetDepthBoundsTestEnableEXT = PFN_vkCmdSetDepthBoundsTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnableEXT" ) ); + vkCmdSetDepthCompareOpEXT = PFN_vkCmdSetDepthCompareOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOpEXT" ) ); + vkCmdSetDepthTestEnableEXT = PFN_vkCmdSetDepthTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnableEXT" ) ); + vkCmdSetDepthWriteEnableEXT = PFN_vkCmdSetDepthWriteEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnableEXT" ) ); + vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMaskKHR" ) ); + vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMask" ) ); + if ( !vkCmdSetDeviceMask ) vkCmdSetDeviceMask = vkCmdSetDeviceMaskKHR; + vkCmdSetDiscardRectangleEXT = PFN_vkCmdSetDiscardRectangleEXT( vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEXT" ) ); + vkCmdSetEvent = PFN_vkCmdSetEvent( vkGetDeviceProcAddr( device, "vkCmdSetEvent" ) ); + vkCmdSetExclusiveScissorNV = PFN_vkCmdSetExclusiveScissorNV( vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorNV" ) ); + vkCmdSetFragmentShadingRateEnumNV = PFN_vkCmdSetFragmentShadingRateEnumNV( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateEnumNV" ) ); + vkCmdSetFragmentShadingRateKHR = PFN_vkCmdSetFragmentShadingRateKHR( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateKHR" ) ); + vkCmdSetFrontFaceEXT = PFN_vkCmdSetFrontFaceEXT( vkGetDeviceProcAddr( device, "vkCmdSetFrontFaceEXT" ) ); + vkCmdSetLineStippleEXT = PFN_vkCmdSetLineStippleEXT( vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEXT" ) ); + vkCmdSetLineWidth = PFN_vkCmdSetLineWidth( vkGetDeviceProcAddr( device, "vkCmdSetLineWidth" ) ); + vkCmdSetPerformanceMarkerINTEL = PFN_vkCmdSetPerformanceMarkerINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceMarkerINTEL" ) ); + vkCmdSetPerformanceOverrideINTEL = PFN_vkCmdSetPerformanceOverrideINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceOverrideINTEL" ) ); + vkCmdSetPerformanceStreamMarkerINTEL = PFN_vkCmdSetPerformanceStreamMarkerINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceStreamMarkerINTEL" ) ); + vkCmdSetPrimitiveTopologyEXT = PFN_vkCmdSetPrimitiveTopologyEXT( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopologyEXT" ) ); + vkCmdSetSampleLocationsEXT = PFN_vkCmdSetSampleLocationsEXT( vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEXT" ) ); + vkCmdSetScissor = PFN_vkCmdSetScissor( vkGetDeviceProcAddr( device, "vkCmdSetScissor" ) ); + vkCmdSetScissorWithCountEXT = PFN_vkCmdSetScissorWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCountEXT" ) ); + vkCmdSetStencilCompareMask = PFN_vkCmdSetStencilCompareMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilCompareMask" ) ); + vkCmdSetStencilOpEXT = PFN_vkCmdSetStencilOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilOpEXT" ) ); + vkCmdSetStencilReference = PFN_vkCmdSetStencilReference( vkGetDeviceProcAddr( device, "vkCmdSetStencilReference" ) ); + vkCmdSetStencilTestEnableEXT = PFN_vkCmdSetStencilTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnableEXT" ) ); + vkCmdSetStencilWriteMask = PFN_vkCmdSetStencilWriteMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilWriteMask" ) ); + vkCmdSetViewport = PFN_vkCmdSetViewport( vkGetDeviceProcAddr( device, "vkCmdSetViewport" ) ); + vkCmdSetViewportShadingRatePaletteNV = PFN_vkCmdSetViewportShadingRatePaletteNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportShadingRatePaletteNV" ) ); + vkCmdSetViewportWScalingNV = PFN_vkCmdSetViewportWScalingNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingNV" ) ); + vkCmdSetViewportWithCountEXT = PFN_vkCmdSetViewportWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCountEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdTraceRaysIndirectKHR = PFN_vkCmdTraceRaysIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirectKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdTraceRaysKHR = PFN_vkCmdTraceRaysKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ) ); + vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetDeviceProcAddr( device, "vkCmdUpdateBuffer" ) ); + vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetDeviceProcAddr( device, "vkCmdWaitEvents" ) ); + vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkCmdWriteAccelerationStructuresPropertiesNV( vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCmdWriteAccelerationStructuresPropertiesKHR = PFN_vkCmdWriteAccelerationStructuresPropertiesKHR( vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) ); + if ( !vkCmdWriteAccelerationStructuresPropertiesKHR ) vkCmdWriteAccelerationStructuresPropertiesKHR = vkCmdWriteAccelerationStructuresPropertiesNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCmdWriteBufferMarkerAMD = PFN_vkCmdWriteBufferMarkerAMD( vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarkerAMD" ) ); + vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp" ) ); + vkCompileDeferredNV = PFN_vkCompileDeferredNV( vkGetDeviceProcAddr( device, "vkCompileDeferredNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyAccelerationStructureKHR = PFN_vkCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyAccelerationStructureToMemoryKHR = PFN_vkCopyAccelerationStructureToMemoryKHR( vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureToMemoryKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCopyMemoryToAccelerationStructureKHR = PFN_vkCopyMemoryToAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCopyMemoryToAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateAccelerationStructureKHR = PFN_vkCreateAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateAccelerationStructureNV = PFN_vkCreateAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureNV" ) ); + vkCreateBuffer = PFN_vkCreateBuffer( vkGetDeviceProcAddr( device, "vkCreateBuffer" ) ); + vkCreateBufferView = PFN_vkCreateBufferView( vkGetDeviceProcAddr( device, "vkCreateBufferView" ) ); + vkCreateCommandPool = PFN_vkCreateCommandPool( vkGetDeviceProcAddr( device, "vkCreateCommandPool" ) ); + vkCreateComputePipelines = PFN_vkCreateComputePipelines( vkGetDeviceProcAddr( device, "vkCreateComputePipelines" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateDeferredOperationKHR = PFN_vkCreateDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkCreateDeferredOperationKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateDescriptorPool = PFN_vkCreateDescriptorPool( vkGetDeviceProcAddr( device, "vkCreateDescriptorPool" ) ); + vkCreateDescriptorSetLayout = PFN_vkCreateDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkCreateDescriptorSetLayout" ) ); + vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplateKHR" ) ); + vkCreateDescriptorUpdateTemplate = PFN_vkCreateDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplate" ) ); + if ( !vkCreateDescriptorUpdateTemplate ) vkCreateDescriptorUpdateTemplate = vkCreateDescriptorUpdateTemplateKHR; + vkCreateEvent = PFN_vkCreateEvent( vkGetDeviceProcAddr( device, "vkCreateEvent" ) ); + vkCreateFence = PFN_vkCreateFence( vkGetDeviceProcAddr( device, "vkCreateFence" ) ); + vkCreateFramebuffer = PFN_vkCreateFramebuffer( vkGetDeviceProcAddr( device, "vkCreateFramebuffer" ) ); + vkCreateGraphicsPipelines = PFN_vkCreateGraphicsPipelines( vkGetDeviceProcAddr( device, "vkCreateGraphicsPipelines" ) ); + vkCreateImage = PFN_vkCreateImage( vkGetDeviceProcAddr( device, "vkCreateImage" ) ); + vkCreateImageView = PFN_vkCreateImageView( vkGetDeviceProcAddr( device, "vkCreateImageView" ) ); + vkCreateIndirectCommandsLayoutNV = PFN_vkCreateIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutNV" ) ); + vkCreatePipelineCache = PFN_vkCreatePipelineCache( vkGetDeviceProcAddr( device, "vkCreatePipelineCache" ) ); + vkCreatePipelineLayout = PFN_vkCreatePipelineLayout( vkGetDeviceProcAddr( device, "vkCreatePipelineLayout" ) ); + vkCreatePrivateDataSlotEXT = PFN_vkCreatePrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlotEXT" ) ); + vkCreateQueryPool = PFN_vkCreateQueryPool( vkGetDeviceProcAddr( device, "vkCreateQueryPool" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkCreateRayTracingPipelinesKHR = PFN_vkCreateRayTracingPipelinesKHR( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkCreateRayTracingPipelinesNV = PFN_vkCreateRayTracingPipelinesNV( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesNV" ) ); + vkCreateRenderPass = PFN_vkCreateRenderPass( vkGetDeviceProcAddr( device, "vkCreateRenderPass" ) ); + vkCreateRenderPass2KHR = PFN_vkCreateRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCreateRenderPass2KHR" ) ); + vkCreateRenderPass2 = PFN_vkCreateRenderPass2( vkGetDeviceProcAddr( device, "vkCreateRenderPass2" ) ); + if ( !vkCreateRenderPass2 ) vkCreateRenderPass2 = vkCreateRenderPass2KHR; + vkCreateSampler = PFN_vkCreateSampler( vkGetDeviceProcAddr( device, "vkCreateSampler" ) ); + vkCreateSamplerYcbcrConversionKHR = PFN_vkCreateSamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversionKHR" ) ); + vkCreateSamplerYcbcrConversion = PFN_vkCreateSamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversion" ) ); + if ( !vkCreateSamplerYcbcrConversion ) vkCreateSamplerYcbcrConversion = vkCreateSamplerYcbcrConversionKHR; + vkCreateSemaphore = PFN_vkCreateSemaphore( vkGetDeviceProcAddr( device, "vkCreateSemaphore" ) ); + vkCreateShaderModule = PFN_vkCreateShaderModule( vkGetDeviceProcAddr( device, "vkCreateShaderModule" ) ); + vkCreateSharedSwapchainsKHR = PFN_vkCreateSharedSwapchainsKHR( vkGetDeviceProcAddr( device, "vkCreateSharedSwapchainsKHR" ) ); + vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR( vkGetDeviceProcAddr( device, "vkCreateSwapchainKHR" ) ); + vkCreateValidationCacheEXT = PFN_vkCreateValidationCacheEXT( vkGetDeviceProcAddr( device, "vkCreateValidationCacheEXT" ) ); + vkDebugMarkerSetObjectNameEXT = PFN_vkDebugMarkerSetObjectNameEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectNameEXT" ) ); + vkDebugMarkerSetObjectTagEXT = PFN_vkDebugMarkerSetObjectTagEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectTagEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDeferredOperationJoinKHR = PFN_vkDeferredOperationJoinKHR( vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyAccelerationStructureNV = PFN_vkDestroyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDestroyAccelerationStructureKHR = PFN_vkDestroyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ) ); + if ( !vkDestroyAccelerationStructureKHR ) vkDestroyAccelerationStructureKHR = vkDestroyAccelerationStructureNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetDeviceProcAddr( device, "vkDestroyBuffer" ) ); + vkDestroyBufferView = PFN_vkDestroyBufferView( vkGetDeviceProcAddr( device, "vkDestroyBufferView" ) ); + vkDestroyCommandPool = PFN_vkDestroyCommandPool( vkGetDeviceProcAddr( device, "vkDestroyCommandPool" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkDestroyDeferredOperationKHR = PFN_vkDestroyDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkDestroyDeferredOperationKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool( vkGetDeviceProcAddr( device, "vkDestroyDescriptorPool" ) ); + vkDestroyDescriptorSetLayout = PFN_vkDestroyDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkDestroyDescriptorSetLayout" ) ); + vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR( vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplateKHR" ) ); + vkDestroyDescriptorUpdateTemplate = PFN_vkDestroyDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplate" ) ); + if ( !vkDestroyDescriptorUpdateTemplate ) vkDestroyDescriptorUpdateTemplate = vkDestroyDescriptorUpdateTemplateKHR; + vkDestroyDevice = PFN_vkDestroyDevice( vkGetDeviceProcAddr( device, "vkDestroyDevice" ) ); + vkDestroyEvent = PFN_vkDestroyEvent( vkGetDeviceProcAddr( device, "vkDestroyEvent" ) ); + vkDestroyFence = PFN_vkDestroyFence( vkGetDeviceProcAddr( device, "vkDestroyFence" ) ); + vkDestroyFramebuffer = PFN_vkDestroyFramebuffer( vkGetDeviceProcAddr( device, "vkDestroyFramebuffer" ) ); + vkDestroyImage = PFN_vkDestroyImage( vkGetDeviceProcAddr( device, "vkDestroyImage" ) ); + vkDestroyImageView = PFN_vkDestroyImageView( vkGetDeviceProcAddr( device, "vkDestroyImageView" ) ); + vkDestroyIndirectCommandsLayoutNV = PFN_vkDestroyIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutNV" ) ); + vkDestroyPipeline = PFN_vkDestroyPipeline( vkGetDeviceProcAddr( device, "vkDestroyPipeline" ) ); + vkDestroyPipelineCache = PFN_vkDestroyPipelineCache( vkGetDeviceProcAddr( device, "vkDestroyPipelineCache" ) ); + vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout( vkGetDeviceProcAddr( device, "vkDestroyPipelineLayout" ) ); + vkDestroyPrivateDataSlotEXT = PFN_vkDestroyPrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlotEXT" ) ); + vkDestroyQueryPool = PFN_vkDestroyQueryPool( vkGetDeviceProcAddr( device, "vkDestroyQueryPool" ) ); + vkDestroyRenderPass = PFN_vkDestroyRenderPass( vkGetDeviceProcAddr( device, "vkDestroyRenderPass" ) ); + vkDestroySampler = PFN_vkDestroySampler( vkGetDeviceProcAddr( device, "vkDestroySampler" ) ); + vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversionKHR" ) ); + vkDestroySamplerYcbcrConversion = PFN_vkDestroySamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversion" ) ); + if ( !vkDestroySamplerYcbcrConversion ) vkDestroySamplerYcbcrConversion = vkDestroySamplerYcbcrConversionKHR; + vkDestroySemaphore = PFN_vkDestroySemaphore( vkGetDeviceProcAddr( device, "vkDestroySemaphore" ) ); + vkDestroyShaderModule = PFN_vkDestroyShaderModule( vkGetDeviceProcAddr( device, "vkDestroyShaderModule" ) ); + vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR( vkGetDeviceProcAddr( device, "vkDestroySwapchainKHR" ) ); + vkDestroyValidationCacheEXT = PFN_vkDestroyValidationCacheEXT( vkGetDeviceProcAddr( device, "vkDestroyValidationCacheEXT" ) ); + vkDeviceWaitIdle = PFN_vkDeviceWaitIdle( vkGetDeviceProcAddr( device, "vkDeviceWaitIdle" ) ); + vkDisplayPowerControlEXT = PFN_vkDisplayPowerControlEXT( vkGetDeviceProcAddr( device, "vkDisplayPowerControlEXT" ) ); + vkEndCommandBuffer = PFN_vkEndCommandBuffer( vkGetDeviceProcAddr( device, "vkEndCommandBuffer" ) ); + vkFlushMappedMemoryRanges = PFN_vkFlushMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkFlushMappedMemoryRanges" ) ); + vkFreeCommandBuffers = PFN_vkFreeCommandBuffers( vkGetDeviceProcAddr( device, "vkFreeCommandBuffers" ) ); + vkFreeDescriptorSets = PFN_vkFreeDescriptorSets( vkGetDeviceProcAddr( device, "vkFreeDescriptorSets" ) ); + vkFreeMemory = PFN_vkFreeMemory( vkGetDeviceProcAddr( device, "vkFreeMemory" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetAccelerationStructureDeviceAddressKHR = PFN_vkGetAccelerationStructureDeviceAddressKHR( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureDeviceAddressKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetAccelerationStructureHandleNV = PFN_vkGetAccelerationStructureHandleNV( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureHandleNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetAccelerationStructureMemoryRequirementsKHR = PFN_vkGetAccelerationStructureMemoryRequirementsKHR( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetAccelerationStructureMemoryRequirementsNV = PFN_vkGetAccelerationStructureMemoryRequirementsNV( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsNV" ) ); +#ifdef VK_USE_PLATFORM_ANDROID_KHR + vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID( vkGetDeviceProcAddr( device, "vkGetAndroidHardwareBufferPropertiesANDROID" ) ); +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + vkGetBufferDeviceAddressEXT = PFN_vkGetBufferDeviceAddressEXT( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressEXT" ) ); + vkGetBufferDeviceAddressKHR = PFN_vkGetBufferDeviceAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressKHR" ) ); + vkGetBufferDeviceAddress = PFN_vkGetBufferDeviceAddress( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddress" ) ); + if ( !vkGetBufferDeviceAddress ) vkGetBufferDeviceAddress = vkGetBufferDeviceAddressKHR; + if ( !vkGetBufferDeviceAddress ) vkGetBufferDeviceAddress = vkGetBufferDeviceAddressEXT; + vkGetBufferMemoryRequirements = PFN_vkGetBufferMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements" ) ); + vkGetBufferMemoryRequirements2KHR = PFN_vkGetBufferMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2KHR" ) ); + vkGetBufferMemoryRequirements2 = PFN_vkGetBufferMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2" ) ); + if ( !vkGetBufferMemoryRequirements2 ) vkGetBufferMemoryRequirements2 = vkGetBufferMemoryRequirements2KHR; + vkGetBufferOpaqueCaptureAddressKHR = PFN_vkGetBufferOpaqueCaptureAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddressKHR" ) ); + vkGetBufferOpaqueCaptureAddress = PFN_vkGetBufferOpaqueCaptureAddress( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddress" ) ); + if ( !vkGetBufferOpaqueCaptureAddress ) vkGetBufferOpaqueCaptureAddress = vkGetBufferOpaqueCaptureAddressKHR; + vkGetCalibratedTimestampsEXT = PFN_vkGetCalibratedTimestampsEXT( vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsEXT" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeferredOperationMaxConcurrencyKHR = PFN_vkGetDeferredOperationMaxConcurrencyKHR( vkGetDeviceProcAddr( device, "vkGetDeferredOperationMaxConcurrencyKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeferredOperationResultKHR = PFN_vkGetDeferredOperationResultKHR( vkGetDeviceProcAddr( device, "vkGetDeferredOperationResultKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupportKHR" ) ); + vkGetDescriptorSetLayoutSupport = PFN_vkGetDescriptorSetLayoutSupport( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupport" ) ); + if ( !vkGetDescriptorSetLayoutSupport ) vkGetDescriptorSetLayoutSupport = vkGetDescriptorSetLayoutSupportKHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetDeviceAccelerationStructureCompatibilityKHR = PFN_vkGetDeviceAccelerationStructureCompatibilityKHR( vkGetDeviceProcAddr( device, "vkGetDeviceAccelerationStructureCompatibilityKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeaturesKHR" ) ); + vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeatures" ) ); + if ( !vkGetDeviceGroupPeerMemoryFeatures ) vkGetDeviceGroupPeerMemoryFeatures = vkGetDeviceGroupPeerMemoryFeaturesKHR; + vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPresentCapabilitiesKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetDeviceGroupSurfacePresentModes2EXT = PFN_vkGetDeviceGroupSurfacePresentModes2EXT( vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModes2EXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModesKHR" ) ); + vkGetDeviceMemoryCommitment = PFN_vkGetDeviceMemoryCommitment( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryCommitment" ) ); + vkGetDeviceMemoryOpaqueCaptureAddressKHR = PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddressKHR" ) ); + vkGetDeviceMemoryOpaqueCaptureAddress = PFN_vkGetDeviceMemoryOpaqueCaptureAddress( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddress" ) ); + if ( !vkGetDeviceMemoryOpaqueCaptureAddress ) vkGetDeviceMemoryOpaqueCaptureAddress = vkGetDeviceMemoryOpaqueCaptureAddressKHR; + vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetDeviceProcAddr( device, "vkGetDeviceProcAddr" ) ); + vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ) ); + vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ) ); + vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) ); + vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) ); + vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetFenceWin32HandleKHR = PFN_vkGetFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetFenceWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetGeneratedCommandsMemoryRequirementsNV = PFN_vkGetGeneratedCommandsMemoryRequirementsNV( vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsNV" ) ); + vkGetImageDrmFormatModifierPropertiesEXT = PFN_vkGetImageDrmFormatModifierPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetImageDrmFormatModifierPropertiesEXT" ) ); + vkGetImageMemoryRequirements = PFN_vkGetImageMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements" ) ); + vkGetImageMemoryRequirements2KHR = PFN_vkGetImageMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2KHR" ) ); + vkGetImageMemoryRequirements2 = PFN_vkGetImageMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2" ) ); + if ( !vkGetImageMemoryRequirements2 ) vkGetImageMemoryRequirements2 = vkGetImageMemoryRequirements2KHR; + vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements" ) ); + vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2KHR" ) ); + vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2" ) ); + if ( !vkGetImageSparseMemoryRequirements2 ) vkGetImageSparseMemoryRequirements2 = vkGetImageSparseMemoryRequirements2KHR; + vkGetImageSubresourceLayout = PFN_vkGetImageSubresourceLayout( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout" ) ); + vkGetImageViewAddressNVX = PFN_vkGetImageViewAddressNVX( vkGetDeviceProcAddr( device, "vkGetImageViewAddressNVX" ) ); + vkGetImageViewHandleNVX = PFN_vkGetImageViewHandleNVX( vkGetDeviceProcAddr( device, "vkGetImageViewHandleNVX" ) ); +#ifdef VK_USE_PLATFORM_ANDROID_KHR + vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID( vkGetDeviceProcAddr( device, "vkGetMemoryAndroidHardwareBufferANDROID" ) ); +#endif /*VK_USE_PLATFORM_ANDROID_KHR*/ + vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdKHR" ) ); + vkGetMemoryFdPropertiesKHR = PFN_vkGetMemoryFdPropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ) ); + vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandleKHR = PFN_vkGetMemoryWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandleNV = PFN_vkGetMemoryWin32HandleNV( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleNV" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandlePropertiesKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetPastPresentationTimingGOOGLE = PFN_vkGetPastPresentationTimingGOOGLE( vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingGOOGLE" ) ); + vkGetPerformanceParameterINTEL = PFN_vkGetPerformanceParameterINTEL( vkGetDeviceProcAddr( device, "vkGetPerformanceParameterINTEL" ) ); + vkGetPipelineCacheData = PFN_vkGetPipelineCacheData( vkGetDeviceProcAddr( device, "vkGetPipelineCacheData" ) ); + vkGetPipelineExecutableInternalRepresentationsKHR = PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ) ); + vkGetPipelineExecutablePropertiesKHR = PFN_vkGetPipelineExecutablePropertiesKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutablePropertiesKHR" ) ); + vkGetPipelineExecutableStatisticsKHR = PFN_vkGetPipelineExecutableStatisticsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableStatisticsKHR" ) ); + vkGetPrivateDataEXT = PFN_vkGetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkGetPrivateDataEXT" ) ); + vkGetQueryPoolResults = PFN_vkGetQueryPoolResults( vkGetDeviceProcAddr( device, "vkGetQueryPoolResults" ) ); + vkGetQueueCheckpointDataNV = PFN_vkGetQueueCheckpointDataNV( vkGetDeviceProcAddr( device, "vkGetQueueCheckpointDataNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetRayTracingShaderGroupHandlesNV = PFN_vkGetRayTracingShaderGroupHandlesNV( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesNV" ) ); +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkGetRayTracingShaderGroupHandlesKHR = PFN_vkGetRayTracingShaderGroupHandlesKHR( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ) ); + if ( !vkGetRayTracingShaderGroupHandlesKHR ) vkGetRayTracingShaderGroupHandlesKHR = vkGetRayTracingShaderGroupHandlesNV; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + vkGetRefreshCycleDurationGOOGLE = PFN_vkGetRefreshCycleDurationGOOGLE( vkGetDeviceProcAddr( device, "vkGetRefreshCycleDurationGOOGLE" ) ); + vkGetRenderAreaGranularity = PFN_vkGetRenderAreaGranularity( vkGetDeviceProcAddr( device, "vkGetRenderAreaGranularity" ) ); + vkGetSemaphoreCounterValueKHR = PFN_vkGetSemaphoreCounterValueKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValueKHR" ) ); + vkGetSemaphoreCounterValue = PFN_vkGetSemaphoreCounterValue( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValue" ) ); + if ( !vkGetSemaphoreCounterValue ) vkGetSemaphoreCounterValue = vkGetSemaphoreCounterValueKHR; + vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkGetSemaphoreWin32HandleKHR = PFN_vkGetSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ) ); + vkGetSwapchainCounterEXT = PFN_vkGetSwapchainCounterEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ) ); + vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ) ); + vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainStatusKHR" ) ); + vkGetValidationCacheDataEXT = PFN_vkGetValidationCacheDataEXT( vkGetDeviceProcAddr( device, "vkGetValidationCacheDataEXT" ) ); + vkImportFenceFdKHR = PFN_vkImportFenceFdKHR( vkGetDeviceProcAddr( device, "vkImportFenceFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkImportFenceWin32HandleKHR = PFN_vkImportFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportFenceWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreFdKHR" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkImportSemaphoreWin32HandleKHR = PFN_vkImportSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreWin32HandleKHR" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkInitializePerformanceApiINTEL = PFN_vkInitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkInitializePerformanceApiINTEL" ) ); + vkInvalidateMappedMemoryRanges = PFN_vkInvalidateMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkInvalidateMappedMemoryRanges" ) ); + vkMapMemory = PFN_vkMapMemory( vkGetDeviceProcAddr( device, "vkMapMemory" ) ); + vkMergePipelineCaches = PFN_vkMergePipelineCaches( vkGetDeviceProcAddr( device, "vkMergePipelineCaches" ) ); + vkMergeValidationCachesEXT = PFN_vkMergeValidationCachesEXT( vkGetDeviceProcAddr( device, "vkMergeValidationCachesEXT" ) ); + vkQueueBeginDebugUtilsLabelEXT = PFN_vkQueueBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueBeginDebugUtilsLabelEXT" ) ); + vkQueueBindSparse = PFN_vkQueueBindSparse( vkGetDeviceProcAddr( device, "vkQueueBindSparse" ) ); + vkQueueEndDebugUtilsLabelEXT = PFN_vkQueueEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueEndDebugUtilsLabelEXT" ) ); + vkQueueInsertDebugUtilsLabelEXT = PFN_vkQueueInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueInsertDebugUtilsLabelEXT" ) ); + vkQueuePresentKHR = PFN_vkQueuePresentKHR( vkGetDeviceProcAddr( device, "vkQueuePresentKHR" ) ); + vkQueueSetPerformanceConfigurationINTEL = PFN_vkQueueSetPerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkQueueSetPerformanceConfigurationINTEL" ) ); + vkQueueSubmit = PFN_vkQueueSubmit( vkGetDeviceProcAddr( device, "vkQueueSubmit" ) ); + vkQueueWaitIdle = PFN_vkQueueWaitIdle( vkGetDeviceProcAddr( device, "vkQueueWaitIdle" ) ); + vkRegisterDeviceEventEXT = PFN_vkRegisterDeviceEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDeviceEventEXT" ) ); + vkRegisterDisplayEventEXT = PFN_vkRegisterDisplayEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDisplayEventEXT" ) ); +#ifdef VK_USE_PLATFORM_WIN32_KHR + vkReleaseFullScreenExclusiveModeEXT = PFN_vkReleaseFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkReleaseFullScreenExclusiveModeEXT" ) ); +#endif /*VK_USE_PLATFORM_WIN32_KHR*/ + vkReleasePerformanceConfigurationINTEL = PFN_vkReleasePerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkReleasePerformanceConfigurationINTEL" ) ); + vkReleaseProfilingLockKHR = PFN_vkReleaseProfilingLockKHR( vkGetDeviceProcAddr( device, "vkReleaseProfilingLockKHR" ) ); + vkResetCommandBuffer = PFN_vkResetCommandBuffer( vkGetDeviceProcAddr( device, "vkResetCommandBuffer" ) ); + vkResetCommandPool = PFN_vkResetCommandPool( vkGetDeviceProcAddr( device, "vkResetCommandPool" ) ); + vkResetDescriptorPool = PFN_vkResetDescriptorPool( vkGetDeviceProcAddr( device, "vkResetDescriptorPool" ) ); + vkResetEvent = PFN_vkResetEvent( vkGetDeviceProcAddr( device, "vkResetEvent" ) ); + vkResetFences = PFN_vkResetFences( vkGetDeviceProcAddr( device, "vkResetFences" ) ); + vkResetQueryPoolEXT = PFN_vkResetQueryPoolEXT( vkGetDeviceProcAddr( device, "vkResetQueryPoolEXT" ) ); + vkResetQueryPool = PFN_vkResetQueryPool( vkGetDeviceProcAddr( device, "vkResetQueryPool" ) ); + if ( !vkResetQueryPool ) vkResetQueryPool = vkResetQueryPoolEXT; + vkSetDebugUtilsObjectNameEXT = PFN_vkSetDebugUtilsObjectNameEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" ) ); + vkSetDebugUtilsObjectTagEXT = PFN_vkSetDebugUtilsObjectTagEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectTagEXT" ) ); + vkSetEvent = PFN_vkSetEvent( vkGetDeviceProcAddr( device, "vkSetEvent" ) ); + vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT( vkGetDeviceProcAddr( device, "vkSetHdrMetadataEXT" ) ); + vkSetLocalDimmingAMD = PFN_vkSetLocalDimmingAMD( vkGetDeviceProcAddr( device, "vkSetLocalDimmingAMD" ) ); + vkSetPrivateDataEXT = PFN_vkSetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkSetPrivateDataEXT" ) ); + vkSignalSemaphoreKHR = PFN_vkSignalSemaphoreKHR( vkGetDeviceProcAddr( device, "vkSignalSemaphoreKHR" ) ); + vkSignalSemaphore = PFN_vkSignalSemaphore( vkGetDeviceProcAddr( device, "vkSignalSemaphore" ) ); + if ( !vkSignalSemaphore ) vkSignalSemaphore = vkSignalSemaphoreKHR; + vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR( vkGetDeviceProcAddr( device, "vkTrimCommandPoolKHR" ) ); + vkTrimCommandPool = PFN_vkTrimCommandPool( vkGetDeviceProcAddr( device, "vkTrimCommandPool" ) ); + if ( !vkTrimCommandPool ) vkTrimCommandPool = vkTrimCommandPoolKHR; + vkUninitializePerformanceApiINTEL = PFN_vkUninitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkUninitializePerformanceApiINTEL" ) ); + vkUnmapMemory = PFN_vkUnmapMemory( vkGetDeviceProcAddr( device, "vkUnmapMemory" ) ); + vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplateKHR" ) ); + vkUpdateDescriptorSetWithTemplate = PFN_vkUpdateDescriptorSetWithTemplate( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplate" ) ); + if ( !vkUpdateDescriptorSetWithTemplate ) vkUpdateDescriptorSetWithTemplate = vkUpdateDescriptorSetWithTemplateKHR; + vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSets" ) ); + vkWaitForFences = PFN_vkWaitForFences( vkGetDeviceProcAddr( device, "vkWaitForFences" ) ); + vkWaitSemaphoresKHR = PFN_vkWaitSemaphoresKHR( vkGetDeviceProcAddr( device, "vkWaitSemaphoresKHR" ) ); + vkWaitSemaphores = PFN_vkWaitSemaphores( vkGetDeviceProcAddr( device, "vkWaitSemaphores" ) ); + if ( !vkWaitSemaphores ) vkWaitSemaphores = vkWaitSemaphoresKHR; +#ifdef VK_ENABLE_BETA_EXTENSIONS + vkWriteAccelerationStructuresPropertiesKHR = PFN_vkWriteAccelerationStructuresPropertiesKHR( vkGetDeviceProcAddr( device, "vkWriteAccelerationStructuresPropertiesKHR" ) ); +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + } + }; + +} // namespace VULKAN_HPP_NAMESPACE + +namespace std +{ + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::AccelerationStructureKHR const& accelerationStructureKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(accelerationStructureKHR)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Buffer const& buffer) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(buffer)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::BufferView const& bufferView) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(bufferView)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::CommandBuffer const& commandBuffer) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(commandBuffer)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::CommandPool const& commandPool) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(commandPool)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT const& debugReportCallbackEXT) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(debugReportCallbackEXT)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT const& debugUtilsMessengerEXT) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(debugUtilsMessengerEXT)); + } + }; + +#ifdef VK_ENABLE_BETA_EXTENSIONS + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DeferredOperationKHR const& deferredOperationKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(deferredOperationKHR)); + } + }; +#endif /*VK_ENABLE_BETA_EXTENSIONS*/ + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DescriptorPool const& descriptorPool) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(descriptorPool)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DescriptorSet const& descriptorSet) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(descriptorSet)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DescriptorSetLayout const& descriptorSetLayout) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(descriptorSetLayout)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate const& descriptorUpdateTemplate) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(descriptorUpdateTemplate)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Device const& device) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(device)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DeviceMemory const& deviceMemory) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(deviceMemory)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DisplayKHR const& displayKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(displayKHR)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::DisplayModeKHR const& displayModeKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(displayModeKHR)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Event const& event) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(event)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Fence const& fence) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(fence)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Framebuffer const& framebuffer) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(framebuffer)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Image const& image) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(image)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::ImageView const& imageView) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(imageView)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV const& indirectCommandsLayoutNV) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(indirectCommandsLayoutNV)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Instance const& instance) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(instance)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL const& performanceConfigurationINTEL) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(performanceConfigurationINTEL)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::PhysicalDevice const& physicalDevice) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(physicalDevice)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Pipeline const& pipeline) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(pipeline)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::PipelineCache const& pipelineCache) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(pipelineCache)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::PipelineLayout const& pipelineLayout) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(pipelineLayout)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::PrivateDataSlotEXT const& privateDataSlotEXT) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(privateDataSlotEXT)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::QueryPool const& queryPool) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(queryPool)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Queue const& queue) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(queue)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::RenderPass const& renderPass) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(renderPass)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Sampler const& sampler) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(sampler)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion const& samplerYcbcrConversion) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(samplerYcbcrConversion)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::Semaphore const& semaphore) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(semaphore)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::ShaderModule const& shaderModule) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(shaderModule)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::SurfaceKHR const& surfaceKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(surfaceKHR)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::SwapchainKHR const& swapchainKHR) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(swapchainKHR)); + } + }; + + template <> struct hash + { + std::size_t operator()(VULKAN_HPP_NAMESPACE::ValidationCacheEXT const& validationCacheEXT) const VULKAN_HPP_NOEXCEPT + { + return std::hash{}(static_cast(validationCacheEXT)); + } + }; +} +#endif diff --git a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_core.h b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan_core.h similarity index 88% rename from gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_core.h rename to gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan_core.h index ccb6d0c9cca8..13d562f5dce3 100644 --- a/gfx/angle/checkout/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan_core.h +++ b/gfx/angle/checkout/third_party/vulkan-headers/src/include/vulkan/vulkan_core.h @@ -2,7 +2,7 @@ #define VULKAN_CORE_H_ 1 /* -** Copyright 2015-2021 The Khronos Group Inc. +** Copyright (c) 2015-2020 The Khronos Group Inc. ** ** SPDX-License-Identifier: Apache-2.0 */ @@ -25,71 +25,35 @@ extern "C" { #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object; -#ifndef VK_USE_64_BIT_PTR_DEFINES - #if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__) - #define VK_USE_64_BIT_PTR_DEFINES 1 - #else - #define VK_USE_64_BIT_PTR_DEFINES 0 - #endif -#endif - - -#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE - #if (VK_USE_64_BIT_PTR_DEFINES==1) - #if __cplusplus >= 201103L || (defined(_MSVC_LANG) && (_MSVC_LANG >= 201103L)) - #define VK_NULL_HANDLE nullptr - #else - #define VK_NULL_HANDLE ((void*)0) - #endif - #else - #define VK_NULL_HANDLE 0ULL - #endif -#endif -#ifndef VK_NULL_HANDLE - #define VK_NULL_HANDLE 0 -#endif - - -#ifndef VK_DEFINE_NON_DISPATCHABLE_HANDLE - #if (VK_USE_64_BIT_PTR_DEFINES==1) +#if !defined(VK_DEFINE_NON_DISPATCHABLE_HANDLE) +#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__) #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object; - #else +#else #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object; - #endif +#endif #endif -// DEPRECATED: This define is deprecated. VK_MAKE_API_VERSION should be used instead. #define VK_MAKE_VERSION(major, minor, patch) \ ((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch))) // DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead. //#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0) // Patch version should always be set to 0 -#define VK_MAKE_API_VERSION(variant, major, minor, patch) \ - ((((uint32_t)(variant)) << 29) | (((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch))) - // Vulkan 1.0 version number -#define VK_API_VERSION_1_0 VK_MAKE_API_VERSION(0, 1, 0, 0)// Patch version should always be set to 0 +#define VK_API_VERSION_1_0 VK_MAKE_VERSION(1, 0, 0)// Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 178 +#define VK_HEADER_VERSION 160 // Complete version of this file -#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 2, VK_HEADER_VERSION) +#define VK_HEADER_VERSION_COMPLETE VK_MAKE_VERSION(1, 2, VK_HEADER_VERSION) -// DEPRECATED: This define is deprecated. VK_API_VERSION_MAJOR should be used instead. #define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22) +#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff) +#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff) -// DEPRECATED: This define is deprecated. VK_API_VERSION_MINOR should be used instead. -#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3FFU) +#define VK_NULL_HANDLE 0 -// DEPRECATED: This define is deprecated. VK_API_VERSION_PATCH should be used instead. -#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xFFFU) - -#define VK_API_VERSION_VARIANT(version) ((uint32_t)(version) >> 29) -#define VK_API_VERSION_MAJOR(version) (((uint32_t)(version) >> 22) & 0x7FU) -#define VK_API_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3FFU) -#define VK_API_VERSION_PATCH(version) ((uint32_t)(version) & 0xFFFU) typedef uint32_t VkBool32; typedef uint64_t VkDeviceAddress; typedef uint64_t VkDeviceSize; @@ -121,20 +85,20 @@ VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorPool) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFramebuffer) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool) #define VK_ATTACHMENT_UNUSED (~0U) -#define VK_FALSE 0U -#define VK_LOD_CLAMP_NONE 1000.0F +#define VK_FALSE 0 +#define VK_LOD_CLAMP_NONE 1000.0f #define VK_QUEUE_FAMILY_IGNORED (~0U) #define VK_REMAINING_ARRAY_LAYERS (~0U) #define VK_REMAINING_MIP_LEVELS (~0U) #define VK_SUBPASS_EXTERNAL (~0U) -#define VK_TRUE 1U +#define VK_TRUE 1 #define VK_WHOLE_SIZE (~0ULL) -#define VK_MAX_MEMORY_TYPES 32U -#define VK_MAX_MEMORY_HEAPS 16U -#define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE 256U -#define VK_UUID_SIZE 16U -#define VK_MAX_EXTENSION_NAME_SIZE 256U -#define VK_MAX_DESCRIPTION_SIZE 256U +#define VK_MAX_MEMORY_TYPES 32 +#define VK_MAX_MEMORY_HEAPS 16 +#define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE 256 +#define VK_UUID_SIZE 16 +#define VK_MAX_EXTENSION_NAME_SIZE 256 +#define VK_MAX_DESCRIPTION_SIZE 256 typedef enum VkResult { VK_SUCCESS = 0, @@ -167,6 +131,7 @@ typedef enum VkResult { VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001, VK_ERROR_VALIDATION_FAILED_EXT = -1000011001, VK_ERROR_INVALID_SHADER_NV = -1000012000, + VK_ERROR_INCOMPATIBLE_VERSION_KHR = -1000150000, VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT = -1000158000, VK_ERROR_NOT_PERMITTED_EXT = -1000174001, VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT = -1000255000, @@ -370,119 +335,14 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT = 1000022000, VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT = 1000022001, VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT = 1000022002, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_PROFILE_KHR = 1000023000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR = 1000023001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_KHR = 1000023002, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_GET_MEMORY_PROPERTIES_KHR = 1000023003, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_BIND_MEMORY_KHR = 1000023004, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR = 1000023005, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR = 1000023006, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_UPDATE_INFO_KHR = 1000023007, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR = 1000023008, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR = 1000023009, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR = 1000023010, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_KHR = 1000023011, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_QUEUE_FAMILY_PROPERTIES_2_KHR = 1000023012, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_PROFILES_KHR = 1000023013, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR = 1000023014, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR = 1000023015, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_INFO_KHR = 1000024000, -#endif VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV = 1000026000, VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV = 1000026001, VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV = 1000026002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT = 1000028000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT = 1000028001, VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT = 1000028002, - VK_STRUCTURE_TYPE_CU_MODULE_CREATE_INFO_NVX = 1000029000, - VK_STRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVX = 1000029001, - VK_STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX = 1000029002, VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX = 1000030000, VK_STRUCTURE_TYPE_IMAGE_VIEW_ADDRESS_PROPERTIES_NVX = 1000030001, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_EXT = 1000038000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_EXT = 1000038001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT = 1000038002, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT = 1000038003, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_VCL_FRAME_INFO_EXT = 1000038004, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXT = 1000038005, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_NALU_SLICE_EXT = 1000038006, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_EMIT_PICTURE_PARAMETERS_EXT = 1000038007, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_EXT = 1000038008, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXT = 1000040000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXT = 1000040001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_EXT = 1000040002, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_MVC_EXT = 1000040003, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_EXT = 1000040004, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_EXT = 1000040005, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT = 1000040006, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_EXT = 1000040007, -#endif VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD = 1000041000, VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP = 1000049000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV = 1000050000, @@ -578,27 +438,26 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT = 1000148001, VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT = 1000148002, VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV = 1000149000, - VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR = 1000150007, + VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_KHR = 1000165006, + VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR = 1000165007, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR = 1000150000, + VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_GEOMETRY_TYPE_INFO_KHR = 1000150001, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DEVICE_ADDRESS_INFO_KHR = 1000150002, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR = 1000150003, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR = 1000150004, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR = 1000150005, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_KHR = 1000150006, - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR = 1000150009, + VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_KHR = 1000150008, + VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_KHR = 1000150009, VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR = 1000150010, VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR = 1000150011, VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR = 1000150012, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR = 1000150013, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR = 1000150014, - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR = 1000150017, - VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR = 1000150020, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR = 1000347000, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR = 1000347001, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_FEATURES_KHR = 1000150013, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_KHR = 1000150014, VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_KHR = 1000150015, VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_KHR = 1000150016, + VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR = 1000150017, VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_INTERFACE_CREATE_INFO_KHR = 1000150018, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR = 1000348013, VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV = 1000152000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV = 1000154000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV = 1000154001, @@ -609,12 +468,8 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT = 1000158005, VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT = 1000160000, VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT = 1000160001, -#ifdef VK_ENABLE_BETA_EXTENSIONS VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR = 1000163000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR = 1000163001, -#endif VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV = 1000164000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV = 1000164001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV = 1000164002, @@ -624,8 +479,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_GEOMETRY_NV = 1000165003, VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV = 1000165004, VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV = 1000165005, - VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV = 1000165006, - VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV = 1000165007, VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV = 1000165008, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV = 1000165009, VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV = 1000165011, @@ -642,27 +495,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD = 1000183000, VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT = 1000184000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD = 1000185000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_EXT = 1000187000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXT = 1000187001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT = 1000187002, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT = 1000187003, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_EXT = 1000187004, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_EXT = 1000187005, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_EXT = 1000187006, -#endif VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD = 1000189000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT = 1000190000, VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT = 1000190001, @@ -722,9 +554,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV = 1000250002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT = 1000251000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT = 1000252000, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT = 1000254000, - VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT = 1000254001, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT = 1000254002, VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT = 1000255000, VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT = 1000255002, VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT = 1000255001, @@ -735,6 +564,7 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT = 1000260000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT = 1000265000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT = 1000267000, + VK_STRUCTURE_TYPE_DEFERRED_OPERATION_INFO_KHR = 1000268000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR = 1000269000, VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR = 1000269001, VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR = 1000269002, @@ -750,8 +580,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_GENERATED_COMMANDS_INFO_NV = 1000277005, VK_STRUCTURE_TYPE_GENERATED_COMMANDS_MEMORY_REQUIREMENTS_INFO_NV = 1000277006, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV = 1000277007, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV = 1000278000, - VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV = 1000278001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT = 1000281000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT = 1000281001, VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM = 1000282000, @@ -769,34 +597,15 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO_EXT = 1000295001, VK_STRUCTURE_TYPE_PRIVATE_DATA_SLOT_CREATE_INFO_EXT = 1000295002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES_EXT = 1000297000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR = 1000299000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR = 1000299001, -#endif VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV = 1000300000, VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV = 1000300001, - VK_STRUCTURE_TYPE_MEMORY_BARRIER_2_KHR = 1000314000, - VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER_2_KHR = 1000314001, - VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER_2_KHR = 1000314002, - VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR = 1000314003, - VK_STRUCTURE_TYPE_SUBMIT_INFO_2_KHR = 1000314004, - VK_STRUCTURE_TYPE_SEMAPHORE_SUBMIT_INFO_KHR = 1000314005, - VK_STRUCTURE_TYPE_COMMAND_BUFFER_SUBMIT_INFO_KHR = 1000314006, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES_KHR = 1000314007, - VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV = 1000314008, - VK_STRUCTURE_TYPE_CHECKPOINT_DATA_2_NV = 1000314009, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES_KHR = 1000325000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV = 1000326000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV = 1000326001, VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV = 1000326002, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT = 1000330000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT = 1000332000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT = 1000332001, VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM = 1000333000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT = 1000335000, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR = 1000336000, VK_STRUCTURE_TYPE_COPY_BUFFER_INFO_2_KHR = 1000337000, VK_STRUCTURE_TYPE_COPY_IMAGE_INFO_2_KHR = 1000337001, VK_STRUCTURE_TYPE_COPY_BUFFER_TO_IMAGE_INFO_2_KHR = 1000337002, @@ -810,20 +619,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_IMAGE_RESOLVE_2_KHR = 1000337010, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT = 1000340000, VK_STRUCTURE_TYPE_DIRECTFB_SURFACE_CREATE_INFO_EXT = 1000346000, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_VALVE = 1000351000, - VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_VALVE = 1000351002, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT = 1000352000, - VK_STRUCTURE_TYPE_VERTEX_INPUT_BINDING_DESCRIPTION_2_EXT = 1000352001, - VK_STRUCTURE_TYPE_VERTEX_INPUT_ATTRIBUTE_DESCRIPTION_2_EXT = 1000352002, - VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA = 1000364000, - VK_STRUCTURE_TYPE_MEMORY_ZIRCON_HANDLE_PROPERTIES_FUCHSIA = 1000364001, - VK_STRUCTURE_TYPE_MEMORY_GET_ZIRCON_HANDLE_INFO_FUCHSIA = 1000364002, - VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA = 1000365000, - VK_STRUCTURE_TYPE_SEMAPHORE_GET_ZIRCON_HANDLE_INFO_FUCHSIA = 1000365001, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT = 1000377000, - VK_STRUCTURE_TYPE_SCREEN_SURFACE_CREATE_INFO_QNX = 1000378000, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT = 1000381000, - VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT = 1000381001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT, @@ -907,6 +702,8 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT, + VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV = VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_KHR, + VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES, VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES, @@ -958,29 +755,9 @@ typedef enum VkImageLayout { VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL = 1000241002, VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL = 1000241003, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR = 1000001002, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR = 1000024000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_DECODE_SRC_KHR = 1000024001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_DECODE_DPB_KHR = 1000024002, -#endif VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR = 1000111000, VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV = 1000164003, VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT = 1000218000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR = 1000299000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR = 1000299001, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR = 1000299002, -#endif - VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL_KHR = 1000314000, - VK_IMAGE_LAYOUT_ATTACHMENT_OPTIMAL_KHR = 1000314001, VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL, VK_IMAGE_LAYOUT_FRAGMENT_SHADING_RATE_ATTACHMENT_OPTIMAL_KHR = VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV, @@ -1025,24 +802,16 @@ typedef enum VkObjectType { VK_OBJECT_TYPE_DISPLAY_KHR = 1000002000, VK_OBJECT_TYPE_DISPLAY_MODE_KHR = 1000002001, VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = 1000011000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_OBJECT_TYPE_VIDEO_SESSION_KHR = 1000023000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR = 1000023001, -#endif - VK_OBJECT_TYPE_CU_MODULE_NVX = 1000029000, - VK_OBJECT_TYPE_CU_FUNCTION_NVX = 1000029001, VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT = 1000128000, - VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR = 1000150000, + VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR = 1000165000, VK_OBJECT_TYPE_VALIDATION_CACHE_EXT = 1000160000, - VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV = 1000165000, VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL = 1000210000, VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR = 1000268000, VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV = 1000277000, VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT = 1000295000, VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE, VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION, + VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR, VK_OBJECT_TYPE_MAX_ENUM = 0x7FFFFFFF } VkObjectType; @@ -1052,7 +821,6 @@ typedef enum VkVendorId { VK_VENDOR_ID_KAZAN = 0x10003, VK_VENDOR_ID_CODEPLAY = 0x10004, VK_VENDOR_ID_MESA = 0x10005, - VK_VENDOR_ID_POCL = 0x10006, VK_VENDOR_ID_MAX_ENUM = 0x7FFFFFFF } VkVendorId; @@ -1317,10 +1085,6 @@ typedef enum VkFormat { VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT = 1000066011, VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT = 1000066012, VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT = 1000066013, - VK_FORMAT_G8_B8R8_2PLANE_444_UNORM_EXT = 1000330000, - VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16_EXT = 1000330001, - VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16_EXT = 1000330002, - VK_FORMAT_G16_B16R16_2PLANE_444_UNORM_EXT = 1000330003, VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT = 1000340000, VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT = 1000340001, VK_FORMAT_G8B8G8R8_422_UNORM_KHR = VK_FORMAT_G8B8G8R8_422_UNORM, @@ -1387,18 +1151,12 @@ typedef enum VkQueryType { VK_QUERY_TYPE_OCCLUSION = 0, VK_QUERY_TYPE_PIPELINE_STATISTICS = 1, VK_QUERY_TYPE_TIMESTAMP = 2, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR = 1000023000, -#endif VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT = 1000028004, VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR = 1000116000, - VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR = 1000150000, - VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR = 1000150001, - VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV = 1000165000, + VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR = 1000165000, + VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR = 1000150000, VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL = 1000210000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_QUERY_TYPE_VIDEO_ENCODE_BITSTREAM_BUFFER_RANGE_KHR = 1000299000, -#endif + VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV = VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR, VK_QUERY_TYPE_MAX_ENUM = 0x7FFFFFFF } VkQueryType; @@ -1533,7 +1291,6 @@ typedef enum VkDynamicState { VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV = 1000087000, VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT = 1000099000, VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT = 1000143000, - VK_DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR = 1000347000, VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV = 1000164004, VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV = 1000164006, VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV = 1000205001, @@ -1551,13 +1308,6 @@ typedef enum VkDynamicState { VK_DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT = 1000267009, VK_DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT = 1000267010, VK_DYNAMIC_STATE_STENCIL_OP_EXT = 1000267011, - VK_DYNAMIC_STATE_VERTEX_INPUT_EXT = 1000352000, - VK_DYNAMIC_STATE_PATCH_CONTROL_POINTS_EXT = 1000377000, - VK_DYNAMIC_STATE_RASTERIZER_DISCARD_ENABLE_EXT = 1000377001, - VK_DYNAMIC_STATE_DEPTH_BIAS_ENABLE_EXT = 1000377002, - VK_DYNAMIC_STATE_LOGIC_OP_EXT = 1000377003, - VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE_EXT = 1000377004, - VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT = 1000381000, VK_DYNAMIC_STATE_MAX_ENUM = 0x7FFFFFFF } VkDynamicState; @@ -1677,9 +1427,8 @@ typedef enum VkDescriptorType { VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = 9, VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = 10, VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT = 1000138000, - VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR = 1000150000, - VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV = 1000165000, - VK_DESCRIPTOR_TYPE_MUTABLE_VALVE = 1000351000, + VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR = 1000165000, + VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, VK_DESCRIPTOR_TYPE_MAX_ENUM = 0x7FFFFFFF } VkDescriptorType; @@ -1755,7 +1504,6 @@ typedef enum VkAccessFlagBits { VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = 0x01000000, VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV = 0x00020000, VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV = 0x00040000, - VK_ACCESS_NONE_KHR = 0, VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV = VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_KHR, VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV = VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_KHR, VK_ACCESS_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR = VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV, @@ -1807,21 +1555,9 @@ typedef enum VkFormatFeatureFlagBits { VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT = 0x00800000, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT = 0x00010000, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG = 0x00002000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_FORMAT_FEATURE_VIDEO_DECODE_OUTPUT_BIT_KHR = 0x02000000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_FORMAT_FEATURE_VIDEO_DECODE_DPB_BIT_KHR = 0x04000000, -#endif VK_FORMAT_FEATURE_ACCELERATION_STRUCTURE_VERTEX_BUFFER_BIT_KHR = 0x20000000, VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x01000000, VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x40000000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR = 0x08000000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR = 0x10000000, -#endif VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT, VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT, VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT, @@ -1884,26 +1620,8 @@ typedef enum VkImageUsageFlagBits { VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x00000020, VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 0x00000040, VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = 0x00000080, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR = 0x00000400, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR = 0x00000800, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR = 0x00001000, -#endif VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV = 0x00000100, VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT = 0x00000200, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR = 0x00002000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR = 0x00004000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR = 0x00008000, -#endif VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV, VK_IMAGE_USAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkImageUsageFlagBits; @@ -1937,12 +1655,6 @@ typedef enum VkQueueFlagBits { VK_QUEUE_TRANSFER_BIT = 0x00000004, VK_QUEUE_SPARSE_BINDING_BIT = 0x00000008, VK_QUEUE_PROTECTED_BIT = 0x00000010, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_QUEUE_VIDEO_DECODE_BIT_KHR = 0x00000020, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_QUEUE_VIDEO_ENCODE_BIT_KHR = 0x00000040, -#endif VK_QUEUE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkQueueFlagBits; typedef VkFlags VkQueueFlags; @@ -1974,14 +1686,13 @@ typedef enum VkPipelineStageFlagBits { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = 0x00010000, VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT = 0x01000000, VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT = 0x00040000, - VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR = 0x02000000, VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR = 0x00200000, + VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR = 0x02000000, VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV = 0x00400000, VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV = 0x00080000, VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV = 0x00100000, VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT = 0x00800000, VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV = 0x00020000, - VK_PIPELINE_STAGE_NONE_KHR = 0, VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV = VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_KHR, VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV = VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_KHR, VK_PIPELINE_STAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV, @@ -2010,11 +1721,6 @@ typedef enum VkFenceCreateFlagBits { } VkFenceCreateFlagBits; typedef VkFlags VkFenceCreateFlags; typedef VkFlags VkSemaphoreCreateFlags; - -typedef enum VkEventCreateFlagBits { - VK_EVENT_CREATE_DEVICE_ONLY_BIT_KHR = 0x00000001, - VK_EVENT_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF -} VkEventCreateFlagBits; typedef VkFlags VkEventCreateFlags; typedef enum VkQueryPipelineStatisticFlagBits { @@ -2039,9 +1745,6 @@ typedef enum VkQueryResultFlagBits { VK_QUERY_RESULT_WAIT_BIT = 0x00000002, VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = 0x00000004, VK_QUERY_RESULT_PARTIAL_BIT = 0x00000008, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_QUERY_RESULT_WITH_STATUS_BIT_KHR = 0x00000010, -#endif VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkQueryResultFlagBits; typedef VkFlags VkQueryResultFlags; @@ -2069,25 +1772,11 @@ typedef enum VkBufferUsageFlagBits { VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = 0x00000080, VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = 0x00000100, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT = 0x00020000, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR = 0x00002000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR = 0x00004000, -#endif VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT = 0x00000800, VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT = 0x00001000, VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT = 0x00000200, - VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR = 0x00080000, - VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR = 0x00100000, - VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR = 0x00000400, -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR = 0x00008000, -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS - VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR = 0x00010000, -#endif - VK_BUFFER_USAGE_RAY_TRACING_BIT_NV = VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR, + VK_BUFFER_USAGE_RAY_TRACING_BIT_KHR = 0x00000400, + VK_BUFFER_USAGE_RAY_TRACING_BIT_NV = VK_BUFFER_USAGE_RAY_TRACING_BIT_KHR, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT, VK_BUFFER_USAGE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF @@ -2134,7 +1823,6 @@ typedef enum VkPipelineCreateFlagBits { VK_PIPELINE_CREATE_RAY_TRACING_NO_NULL_INTERSECTION_SHADERS_BIT_KHR = 0x00020000, VK_PIPELINE_CREATE_RAY_TRACING_SKIP_TRIANGLES_BIT_KHR = 0x00001000, VK_PIPELINE_CREATE_RAY_TRACING_SKIP_AABBS_BIT_KHR = 0x00002000, - VK_PIPELINE_CREATE_RAY_TRACING_SHADER_GROUP_HANDLE_CAPTURE_REPLAY_BIT_KHR = 0x00080000, VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV = 0x00000020, VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR = 0x00000040, VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR = 0x00000080, @@ -2212,7 +1900,6 @@ typedef VkFlags VkSamplerCreateFlags; typedef enum VkDescriptorPoolCreateFlagBits { VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 0x00000001, VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT = 0x00000002, - VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE = 0x00000004, VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT, VK_DESCRIPTOR_POOL_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkDescriptorPoolCreateFlagBits; @@ -2222,7 +1909,6 @@ typedef VkFlags VkDescriptorPoolResetFlags; typedef enum VkDescriptorSetLayoutCreateFlagBits { VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT = 0x00000002, VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR = 0x00000001, - VK_DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE = 0x00000004, VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, VK_DESCRIPTOR_SET_LAYOUT_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkDescriptorSetLayoutCreateFlagBits; @@ -4363,13 +4049,13 @@ VKAPI_ATTR void VKAPI_CALL vkCmdExecuteCommands( #define VK_VERSION_1_1 1 // Vulkan 1.1 version number -#define VK_API_VERSION_1_1 VK_MAKE_API_VERSION(0, 1, 1, 0)// Patch version should always be set to 0 +#define VK_API_VERSION_1_1 VK_MAKE_VERSION(1, 1, 0)// Patch version should always be set to 0 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSamplerYcbcrConversion) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorUpdateTemplate) -#define VK_MAX_DEVICE_GROUP_SIZE 32U -#define VK_LUID_SIZE 8U -#define VK_QUEUE_FAMILY_EXTERNAL (~1U) +#define VK_MAX_DEVICE_GROUP_SIZE 32 +#define VK_LUID_SIZE 8 +#define VK_QUEUE_FAMILY_EXTERNAL (~0U-1) typedef enum VkPointClippingBehavior { VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES = 0, @@ -4476,7 +4162,6 @@ typedef enum VkExternalMemoryHandleTypeFlagBits { VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID = 0x00000400, VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT = 0x00000080, VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT = 0x00000100, - VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA = 0x00000800, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, @@ -4541,7 +4226,6 @@ typedef enum VkExternalSemaphoreHandleTypeFlagBits { VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT = 0x00000004, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT = 0x00000008, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT = 0x00000010, - VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA = 0x00000080, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT, VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT, @@ -5227,10 +4911,10 @@ VKAPI_ATTR void VKAPI_CALL vkGetDescriptorSetLayoutSupport( #define VK_VERSION_1_2 1 // Vulkan 1.2 version number -#define VK_API_VERSION_1_2 VK_MAKE_API_VERSION(0, 1, 2, 0)// Patch version should always be set to 0 +#define VK_API_VERSION_1_2 VK_MAKE_VERSION(1, 2, 0)// Patch version should always be set to 0 -#define VK_MAX_DRIVER_NAME_SIZE 256U -#define VK_MAX_DRIVER_INFO_SIZE 256U +#define VK_MAX_DRIVER_NAME_SIZE 256 +#define VK_MAX_DRIVER_INFO_SIZE 256 typedef enum VkDriverId { VK_DRIVER_ID_AMD_PROPRIETARY = 1, @@ -5247,8 +4931,6 @@ typedef enum VkDriverId { VK_DRIVER_ID_BROADCOM_PROPRIETARY = 12, VK_DRIVER_ID_MESA_LLVMPIPE = 13, VK_DRIVER_ID_MOLTENVK = 14, - VK_DRIVER_ID_COREAVI_PROPRIETARY = 15, - VK_DRIVER_ID_JUICE_PROPRIETARY = 16, VK_DRIVER_ID_AMD_PROPRIETARY_KHR = VK_DRIVER_ID_AMD_PROPRIETARY, VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR = VK_DRIVER_ID_AMD_OPEN_SOURCE, VK_DRIVER_ID_MESA_RADV_KHR = VK_DRIVER_ID_MESA_RADV, @@ -6765,7 +6447,7 @@ typedef VkPhysicalDevice16BitStorageFeatures VkPhysicalDevice16BitStorageFeature #define VK_KHR_incremental_present 1 -#define VK_KHR_INCREMENTAL_PRESENT_SPEC_VERSION 2 +#define VK_KHR_INCREMENTAL_PRESENT_SPEC_VERSION 1 #define VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME "VK_KHR_incremental_present" typedef struct VkRectLayerKHR { VkOffset2D offset; @@ -7686,41 +7368,6 @@ VKAPI_ATTR uint64_t VKAPI_CALL vkGetDeviceMemoryOpaqueCaptureAddressKHR( #endif -#define VK_KHR_deferred_host_operations 1 -VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeferredOperationKHR) -#define VK_KHR_DEFERRED_HOST_OPERATIONS_SPEC_VERSION 4 -#define VK_KHR_DEFERRED_HOST_OPERATIONS_EXTENSION_NAME "VK_KHR_deferred_host_operations" -typedef VkResult (VKAPI_PTR *PFN_vkCreateDeferredOperationKHR)(VkDevice device, const VkAllocationCallbacks* pAllocator, VkDeferredOperationKHR* pDeferredOperation); -typedef void (VKAPI_PTR *PFN_vkDestroyDeferredOperationKHR)(VkDevice device, VkDeferredOperationKHR operation, const VkAllocationCallbacks* pAllocator); -typedef uint32_t (VKAPI_PTR *PFN_vkGetDeferredOperationMaxConcurrencyKHR)(VkDevice device, VkDeferredOperationKHR operation); -typedef VkResult (VKAPI_PTR *PFN_vkGetDeferredOperationResultKHR)(VkDevice device, VkDeferredOperationKHR operation); -typedef VkResult (VKAPI_PTR *PFN_vkDeferredOperationJoinKHR)(VkDevice device, VkDeferredOperationKHR operation); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR VkResult VKAPI_CALL vkCreateDeferredOperationKHR( - VkDevice device, - const VkAllocationCallbacks* pAllocator, - VkDeferredOperationKHR* pDeferredOperation); - -VKAPI_ATTR void VKAPI_CALL vkDestroyDeferredOperationKHR( - VkDevice device, - VkDeferredOperationKHR operation, - const VkAllocationCallbacks* pAllocator); - -VKAPI_ATTR uint32_t VKAPI_CALL vkGetDeferredOperationMaxConcurrencyKHR( - VkDevice device, - VkDeferredOperationKHR operation); - -VKAPI_ATTR VkResult VKAPI_CALL vkGetDeferredOperationResultKHR( - VkDevice device, - VkDeferredOperationKHR operation); - -VKAPI_ATTR VkResult VKAPI_CALL vkDeferredOperationJoinKHR( - VkDevice device, - VkDeferredOperationKHR operation); -#endif - - #define VK_KHR_pipeline_executable_properties 1 #define VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION 1 #define VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME "VK_KHR_pipeline_executable_properties" @@ -7811,312 +7458,11 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetPipelineExecutableInternalRepresentationsKHR #endif -#define VK_KHR_pipeline_library 1 -#define VK_KHR_PIPELINE_LIBRARY_SPEC_VERSION 1 -#define VK_KHR_PIPELINE_LIBRARY_EXTENSION_NAME "VK_KHR_pipeline_library" -typedef struct VkPipelineLibraryCreateInfoKHR { - VkStructureType sType; - const void* pNext; - uint32_t libraryCount; - const VkPipeline* pLibraries; -} VkPipelineLibraryCreateInfoKHR; - - - #define VK_KHR_shader_non_semantic_info 1 #define VK_KHR_SHADER_NON_SEMANTIC_INFO_SPEC_VERSION 1 #define VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME "VK_KHR_shader_non_semantic_info" -#define VK_KHR_synchronization2 1 -typedef uint64_t VkFlags64; -#define VK_KHR_SYNCHRONIZATION_2_SPEC_VERSION 1 -#define VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME "VK_KHR_synchronization2" -typedef VkFlags64 VkPipelineStageFlags2KHR; - -// Flag bits for VkPipelineStageFlagBits2KHR -typedef VkFlags64 VkPipelineStageFlagBits2KHR; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_NONE_KHR = 0ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TOP_OF_PIPE_BIT_KHR = 0x00000001ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT_KHR = 0x00000002ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT_KHR = 0x00000004ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT_KHR = 0x00000008ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT_KHR = 0x00000010ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT_KHR = 0x00000020ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT_KHR = 0x00000040ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR = 0x00000080ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT_KHR = 0x00000100ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT_KHR = 0x00000200ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT_KHR = 0x00000400ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT_KHR = 0x00000800ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_ALL_TRANSFER_BIT_KHR = 0x00001000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR = 0x00001000; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT_KHR = 0x00002000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_HOST_BIT_KHR = 0x00004000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT_KHR = 0x00008000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT_KHR = 0x00010000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_COPY_BIT_KHR = 0x100000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_RESOLVE_BIT_KHR = 0x200000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_BLIT_BIT_KHR = 0x400000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_CLEAR_BIT_KHR = 0x800000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_INDEX_INPUT_BIT_KHR = 0x1000000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VERTEX_ATTRIBUTE_INPUT_BIT_KHR = 0x2000000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR = 0x4000000000ULL; -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VIDEO_DECODE_BIT_KHR = 0x04000000ULL; -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR = 0x08000000ULL; -#endif -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT = 0x01000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT = 0x00040000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_COMMAND_PREPROCESS_BIT_NV = 0x00020000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR = 0x00400000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV = 0x00400000; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR = 0x02000000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR = 0x00200000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_NV = 0x00200000; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_NV = 0x02000000; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_FRAGMENT_DENSITY_PROCESS_BIT_EXT = 0x00800000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_NV = 0x00080000ULL; -static const VkPipelineStageFlagBits2KHR VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_NV = 0x00100000ULL; - -typedef VkFlags64 VkAccessFlags2KHR; - -// Flag bits for VkAccessFlagBits2KHR -typedef VkFlags64 VkAccessFlagBits2KHR; -static const VkAccessFlagBits2KHR VK_ACCESS_2_NONE_KHR = 0ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_INDIRECT_COMMAND_READ_BIT_KHR = 0x00000001ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_INDEX_READ_BIT_KHR = 0x00000002ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_VERTEX_ATTRIBUTE_READ_BIT_KHR = 0x00000004ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_UNIFORM_READ_BIT_KHR = 0x00000008ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_INPUT_ATTACHMENT_READ_BIT_KHR = 0x00000010ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADER_READ_BIT_KHR = 0x00000020ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADER_WRITE_BIT_KHR = 0x00000040ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_COLOR_ATTACHMENT_READ_BIT_KHR = 0x00000080ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_COLOR_ATTACHMENT_WRITE_BIT_KHR = 0x00000100ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_READ_BIT_KHR = 0x00000200ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT_KHR = 0x00000400ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_TRANSFER_READ_BIT_KHR = 0x00000800ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_TRANSFER_WRITE_BIT_KHR = 0x00001000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_HOST_READ_BIT_KHR = 0x00002000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_HOST_WRITE_BIT_KHR = 0x00004000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_MEMORY_READ_BIT_KHR = 0x00008000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_MEMORY_WRITE_BIT_KHR = 0x00010000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADER_SAMPLED_READ_BIT_KHR = 0x100000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADER_STORAGE_READ_BIT_KHR = 0x200000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADER_STORAGE_WRITE_BIT_KHR = 0x400000000ULL; -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkAccessFlagBits2KHR VK_ACCESS_2_VIDEO_DECODE_READ_BIT_KHR = 0x800000000ULL; -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkAccessFlagBits2KHR VK_ACCESS_2_VIDEO_DECODE_WRITE_BIT_KHR = 0x1000000000ULL; -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkAccessFlagBits2KHR VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR = 0x2000000000ULL; -#endif -#ifdef VK_ENABLE_BETA_EXTENSIONS -static const VkAccessFlagBits2KHR VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR = 0x4000000000ULL; -#endif -static const VkAccessFlagBits2KHR VK_ACCESS_2_TRANSFORM_FEEDBACK_WRITE_BIT_EXT = 0x02000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT = 0x04000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT = 0x08000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_CONDITIONAL_RENDERING_READ_BIT_EXT = 0x00100000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_COMMAND_PREPROCESS_READ_BIT_NV = 0x00020000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_COMMAND_PREPROCESS_WRITE_BIT_NV = 0x00040000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_FRAGMENT_SHADING_RATE_ATTACHMENT_READ_BIT_KHR = 0x00800000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_SHADING_RATE_IMAGE_READ_BIT_NV = 0x00800000; -static const VkAccessFlagBits2KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_KHR = 0x00200000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_KHR = 0x00400000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_READ_BIT_NV = 0x00200000; -static const VkAccessFlagBits2KHR VK_ACCESS_2_ACCELERATION_STRUCTURE_WRITE_BIT_NV = 0x00400000; -static const VkAccessFlagBits2KHR VK_ACCESS_2_FRAGMENT_DENSITY_MAP_READ_BIT_EXT = 0x01000000ULL; -static const VkAccessFlagBits2KHR VK_ACCESS_2_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT = 0x00080000ULL; - - -typedef enum VkSubmitFlagBitsKHR { - VK_SUBMIT_PROTECTED_BIT_KHR = 0x00000001, - VK_SUBMIT_FLAG_BITS_MAX_ENUM_KHR = 0x7FFFFFFF -} VkSubmitFlagBitsKHR; -typedef VkFlags VkSubmitFlagsKHR; -typedef struct VkMemoryBarrier2KHR { - VkStructureType sType; - const void* pNext; - VkPipelineStageFlags2KHR srcStageMask; - VkAccessFlags2KHR srcAccessMask; - VkPipelineStageFlags2KHR dstStageMask; - VkAccessFlags2KHR dstAccessMask; -} VkMemoryBarrier2KHR; - -typedef struct VkBufferMemoryBarrier2KHR { - VkStructureType sType; - const void* pNext; - VkPipelineStageFlags2KHR srcStageMask; - VkAccessFlags2KHR srcAccessMask; - VkPipelineStageFlags2KHR dstStageMask; - VkAccessFlags2KHR dstAccessMask; - uint32_t srcQueueFamilyIndex; - uint32_t dstQueueFamilyIndex; - VkBuffer buffer; - VkDeviceSize offset; - VkDeviceSize size; -} VkBufferMemoryBarrier2KHR; - -typedef struct VkImageMemoryBarrier2KHR { - VkStructureType sType; - const void* pNext; - VkPipelineStageFlags2KHR srcStageMask; - VkAccessFlags2KHR srcAccessMask; - VkPipelineStageFlags2KHR dstStageMask; - VkAccessFlags2KHR dstAccessMask; - VkImageLayout oldLayout; - VkImageLayout newLayout; - uint32_t srcQueueFamilyIndex; - uint32_t dstQueueFamilyIndex; - VkImage image; - VkImageSubresourceRange subresourceRange; -} VkImageMemoryBarrier2KHR; - -typedef struct VkDependencyInfoKHR { - VkStructureType sType; - const void* pNext; - VkDependencyFlags dependencyFlags; - uint32_t memoryBarrierCount; - const VkMemoryBarrier2KHR* pMemoryBarriers; - uint32_t bufferMemoryBarrierCount; - const VkBufferMemoryBarrier2KHR* pBufferMemoryBarriers; - uint32_t imageMemoryBarrierCount; - const VkImageMemoryBarrier2KHR* pImageMemoryBarriers; -} VkDependencyInfoKHR; - -typedef struct VkSemaphoreSubmitInfoKHR { - VkStructureType sType; - const void* pNext; - VkSemaphore semaphore; - uint64_t value; - VkPipelineStageFlags2KHR stageMask; - uint32_t deviceIndex; -} VkSemaphoreSubmitInfoKHR; - -typedef struct VkCommandBufferSubmitInfoKHR { - VkStructureType sType; - const void* pNext; - VkCommandBuffer commandBuffer; - uint32_t deviceMask; -} VkCommandBufferSubmitInfoKHR; - -typedef struct VkSubmitInfo2KHR { - VkStructureType sType; - const void* pNext; - VkSubmitFlagsKHR flags; - uint32_t waitSemaphoreInfoCount; - const VkSemaphoreSubmitInfoKHR* pWaitSemaphoreInfos; - uint32_t commandBufferInfoCount; - const VkCommandBufferSubmitInfoKHR* pCommandBufferInfos; - uint32_t signalSemaphoreInfoCount; - const VkSemaphoreSubmitInfoKHR* pSignalSemaphoreInfos; -} VkSubmitInfo2KHR; - -typedef struct VkPhysicalDeviceSynchronization2FeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 synchronization2; -} VkPhysicalDeviceSynchronization2FeaturesKHR; - -typedef struct VkQueueFamilyCheckpointProperties2NV { - VkStructureType sType; - void* pNext; - VkPipelineStageFlags2KHR checkpointExecutionStageMask; -} VkQueueFamilyCheckpointProperties2NV; - -typedef struct VkCheckpointData2NV { - VkStructureType sType; - void* pNext; - VkPipelineStageFlags2KHR stage; - void* pCheckpointMarker; -} VkCheckpointData2NV; - -typedef void (VKAPI_PTR *PFN_vkCmdSetEvent2KHR)(VkCommandBuffer commandBuffer, VkEvent event, const VkDependencyInfoKHR* pDependencyInfo); -typedef void (VKAPI_PTR *PFN_vkCmdResetEvent2KHR)(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2KHR stageMask); -typedef void (VKAPI_PTR *PFN_vkCmdWaitEvents2KHR)(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, const VkDependencyInfoKHR* pDependencyInfos); -typedef void (VKAPI_PTR *PFN_vkCmdPipelineBarrier2KHR)(VkCommandBuffer commandBuffer, const VkDependencyInfoKHR* pDependencyInfo); -typedef void (VKAPI_PTR *PFN_vkCmdWriteTimestamp2KHR)(VkCommandBuffer commandBuffer, VkPipelineStageFlags2KHR stage, VkQueryPool queryPool, uint32_t query); -typedef VkResult (VKAPI_PTR *PFN_vkQueueSubmit2KHR)(VkQueue queue, uint32_t submitCount, const VkSubmitInfo2KHR* pSubmits, VkFence fence); -typedef void (VKAPI_PTR *PFN_vkCmdWriteBufferMarker2AMD)(VkCommandBuffer commandBuffer, VkPipelineStageFlags2KHR stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker); -typedef void (VKAPI_PTR *PFN_vkGetQueueCheckpointData2NV)(VkQueue queue, uint32_t* pCheckpointDataCount, VkCheckpointData2NV* pCheckpointData); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdSetEvent2KHR( - VkCommandBuffer commandBuffer, - VkEvent event, - const VkDependencyInfoKHR* pDependencyInfo); - -VKAPI_ATTR void VKAPI_CALL vkCmdResetEvent2KHR( - VkCommandBuffer commandBuffer, - VkEvent event, - VkPipelineStageFlags2KHR stageMask); - -VKAPI_ATTR void VKAPI_CALL vkCmdWaitEvents2KHR( - VkCommandBuffer commandBuffer, - uint32_t eventCount, - const VkEvent* pEvents, - const VkDependencyInfoKHR* pDependencyInfos); - -VKAPI_ATTR void VKAPI_CALL vkCmdPipelineBarrier2KHR( - VkCommandBuffer commandBuffer, - const VkDependencyInfoKHR* pDependencyInfo); - -VKAPI_ATTR void VKAPI_CALL vkCmdWriteTimestamp2KHR( - VkCommandBuffer commandBuffer, - VkPipelineStageFlags2KHR stage, - VkQueryPool queryPool, - uint32_t query); - -VKAPI_ATTR VkResult VKAPI_CALL vkQueueSubmit2KHR( - VkQueue queue, - uint32_t submitCount, - const VkSubmitInfo2KHR* pSubmits, - VkFence fence); - -VKAPI_ATTR void VKAPI_CALL vkCmdWriteBufferMarker2AMD( - VkCommandBuffer commandBuffer, - VkPipelineStageFlags2KHR stage, - VkBuffer dstBuffer, - VkDeviceSize dstOffset, - uint32_t marker); - -VKAPI_ATTR void VKAPI_CALL vkGetQueueCheckpointData2NV( - VkQueue queue, - uint32_t* pCheckpointDataCount, - VkCheckpointData2NV* pCheckpointData); -#endif - - -#define VK_KHR_zero_initialize_workgroup_memory 1 -#define VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_SPEC_VERSION 1 -#define VK_KHR_ZERO_INITIALIZE_WORKGROUP_MEMORY_EXTENSION_NAME "VK_KHR_zero_initialize_workgroup_memory" -typedef struct VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 shaderZeroInitializeWorkgroupMemory; -} VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR; - - - -#define VK_KHR_workgroup_memory_explicit_layout 1 -#define VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_SPEC_VERSION 1 -#define VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_EXTENSION_NAME "VK_KHR_workgroup_memory_explicit_layout" -typedef struct VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 workgroupMemoryExplicitLayout; - VkBool32 workgroupMemoryExplicitLayoutScalarBlockLayout; - VkBool32 workgroupMemoryExplicitLayout8BitAccess; - VkBool32 workgroupMemoryExplicitLayout16BitAccess; -} VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; - - - #define VK_KHR_copy_commands2 1 #define VK_KHR_COPY_COMMANDS_2_SPEC_VERSION 1 #define VK_KHR_COPY_COMMANDS_2_EXTENSION_NAME "VK_KHR_copy_commands2" @@ -8267,7 +7613,7 @@ VKAPI_ATTR void VKAPI_CALL vkCmdResolveImage2KHR( #define VK_EXT_debug_report 1 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT) -#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 10 +#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 9 #define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report" typedef enum VkDebugReportObjectTypeEXT { @@ -8305,14 +7651,12 @@ typedef enum VkDebugReportObjectTypeEXT { VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT = 33, VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT = 1000156000, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT = 1000085000, - VK_DEBUG_REPORT_OBJECT_TYPE_CU_MODULE_NVX_EXT = 1000029000, - VK_DEBUG_REPORT_OBJECT_TYPE_CU_FUNCTION_NVX_EXT = 1000029001, - VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT = 1000150000, - VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT = 1000165000, + VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT = 1000165000, VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT, + VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT = VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF } VkDebugReportObjectTypeEXT; @@ -8585,77 +7929,6 @@ VKAPI_ATTR void VKAPI_CALL vkCmdDrawIndirectByteCountEXT( #endif -#define VK_NVX_binary_import 1 -VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuModuleNVX) -VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuFunctionNVX) -#define VK_NVX_BINARY_IMPORT_SPEC_VERSION 1 -#define VK_NVX_BINARY_IMPORT_EXTENSION_NAME "VK_NVX_binary_import" -typedef struct VkCuModuleCreateInfoNVX { - VkStructureType sType; - const void* pNext; - size_t dataSize; - const void* pData; -} VkCuModuleCreateInfoNVX; - -typedef struct VkCuFunctionCreateInfoNVX { - VkStructureType sType; - const void* pNext; - VkCuModuleNVX module; - const char* pName; -} VkCuFunctionCreateInfoNVX; - -typedef struct VkCuLaunchInfoNVX { - VkStructureType sType; - const void* pNext; - VkCuFunctionNVX function; - uint32_t gridDimX; - uint32_t gridDimY; - uint32_t gridDimZ; - uint32_t blockDimX; - uint32_t blockDimY; - uint32_t blockDimZ; - uint32_t sharedMemBytes; - size_t paramCount; - const void* const * pParams; - size_t extraCount; - const void* const * pExtras; -} VkCuLaunchInfoNVX; - -typedef VkResult (VKAPI_PTR *PFN_vkCreateCuModuleNVX)(VkDevice device, const VkCuModuleCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCuModuleNVX* pModule); -typedef VkResult (VKAPI_PTR *PFN_vkCreateCuFunctionNVX)(VkDevice device, const VkCuFunctionCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCuFunctionNVX* pFunction); -typedef void (VKAPI_PTR *PFN_vkDestroyCuModuleNVX)(VkDevice device, VkCuModuleNVX module, const VkAllocationCallbacks* pAllocator); -typedef void (VKAPI_PTR *PFN_vkDestroyCuFunctionNVX)(VkDevice device, VkCuFunctionNVX function, const VkAllocationCallbacks* pAllocator); -typedef void (VKAPI_PTR *PFN_vkCmdCuLaunchKernelNVX)(VkCommandBuffer commandBuffer, const VkCuLaunchInfoNVX* pLaunchInfo); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR VkResult VKAPI_CALL vkCreateCuModuleNVX( - VkDevice device, - const VkCuModuleCreateInfoNVX* pCreateInfo, - const VkAllocationCallbacks* pAllocator, - VkCuModuleNVX* pModule); - -VKAPI_ATTR VkResult VKAPI_CALL vkCreateCuFunctionNVX( - VkDevice device, - const VkCuFunctionCreateInfoNVX* pCreateInfo, - const VkAllocationCallbacks* pAllocator, - VkCuFunctionNVX* pFunction); - -VKAPI_ATTR void VKAPI_CALL vkDestroyCuModuleNVX( - VkDevice device, - VkCuModuleNVX module, - const VkAllocationCallbacks* pAllocator); - -VKAPI_ATTR void VKAPI_CALL vkDestroyCuFunctionNVX( - VkDevice device, - VkCuFunctionNVX function, - const VkAllocationCallbacks* pAllocator); - -VKAPI_ATTR void VKAPI_CALL vkCmdCuLaunchKernelNVX( - VkCommandBuffer commandBuffer, - const VkCuLaunchInfoNVX* pLaunchInfo); -#endif - - #define VK_NVX_image_view_handle 1 #define VK_NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION 2 #define VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME "VK_NVX_image_view_handle" @@ -9351,7 +8624,7 @@ VKAPI_ATTR void VKAPI_CALL vkSetHdrMetadataEXT( #define VK_EXT_queue_family_foreign 1 #define VK_EXT_QUEUE_FAMILY_FOREIGN_SPEC_VERSION 1 #define VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME "VK_EXT_queue_family_foreign" -#define VK_QUEUE_FAMILY_FOREIGN_EXT (~2U) +#define VK_QUEUE_FAMILY_FOREIGN_EXT (~0U-2) #define VK_EXT_debug_utils 1 @@ -9974,7 +9247,9 @@ VKAPI_ATTR void VKAPI_CALL vkCmdSetCoarseSampleOrderNV( #define VK_NV_ray_tracing 1 -VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureNV) +VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureKHR) +typedef VkAccelerationStructureKHR VkAccelerationStructureNV; + #define VK_NV_RAY_TRACING_SPEC_VERSION 3 #define VK_NV_RAY_TRACING_EXTENSION_NAME "VK_NV_ray_tracing" #define VK_SHADER_UNUSED_KHR (~0U) @@ -9995,7 +9270,7 @@ typedef VkRayTracingShaderGroupTypeKHR VkRayTracingShaderGroupTypeNV; typedef enum VkGeometryTypeKHR { VK_GEOMETRY_TYPE_TRIANGLES_KHR = 0, VK_GEOMETRY_TYPE_AABBS_KHR = 1, - VK_GEOMETRY_TYPE_INSTANCES_KHR = 2, + VK_GEOMETRY_TYPE_INSTANCES_KHR = 1000150000, VK_GEOMETRY_TYPE_TRIANGLES_NV = VK_GEOMETRY_TYPE_TRIANGLES_KHR, VK_GEOMETRY_TYPE_AABBS_NV = VK_GEOMETRY_TYPE_AABBS_KHR, VK_GEOMETRY_TYPE_MAX_ENUM_KHR = 0x7FFFFFFF @@ -10006,7 +9281,6 @@ typedef VkGeometryTypeKHR VkGeometryTypeNV; typedef enum VkAccelerationStructureTypeKHR { VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR = 0, VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR = 1, - VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR = 2, VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR, VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV = VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR, VK_ACCELERATION_STRUCTURE_TYPE_MAX_ENUM_KHR = 0x7FFFFFFF @@ -10026,12 +9300,17 @@ typedef enum VkCopyAccelerationStructureModeKHR { typedef VkCopyAccelerationStructureModeKHR VkCopyAccelerationStructureModeNV; -typedef enum VkAccelerationStructureMemoryRequirementsTypeNV { - VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV = 0, - VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV = 1, - VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV = 2, - VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_MAX_ENUM_NV = 0x7FFFFFFF -} VkAccelerationStructureMemoryRequirementsTypeNV; +typedef enum VkAccelerationStructureMemoryRequirementsTypeKHR { + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_KHR = 0, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_KHR = 1, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_KHR = 2, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_KHR, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_KHR, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV = VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_KHR, + VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_MAX_ENUM_KHR = 0x7FFFFFFF +} VkAccelerationStructureMemoryRequirementsTypeKHR; +typedef VkAccelerationStructureMemoryRequirementsTypeKHR VkAccelerationStructureMemoryRequirementsTypeNV; + typedef enum VkGeometryFlagBitsKHR { VK_GEOMETRY_OPAQUE_BIT_KHR = 0x00000001, @@ -10160,22 +9439,26 @@ typedef struct VkAccelerationStructureCreateInfoNV { VkAccelerationStructureInfoNV info; } VkAccelerationStructureCreateInfoNV; -typedef struct VkBindAccelerationStructureMemoryInfoNV { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureNV accelerationStructure; - VkDeviceMemory memory; - VkDeviceSize memoryOffset; - uint32_t deviceIndexCount; - const uint32_t* pDeviceIndices; -} VkBindAccelerationStructureMemoryInfoNV; +typedef struct VkBindAccelerationStructureMemoryInfoKHR { + VkStructureType sType; + const void* pNext; + VkAccelerationStructureKHR accelerationStructure; + VkDeviceMemory memory; + VkDeviceSize memoryOffset; + uint32_t deviceIndexCount; + const uint32_t* pDeviceIndices; +} VkBindAccelerationStructureMemoryInfoKHR; -typedef struct VkWriteDescriptorSetAccelerationStructureNV { - VkStructureType sType; - const void* pNext; - uint32_t accelerationStructureCount; - const VkAccelerationStructureNV* pAccelerationStructures; -} VkWriteDescriptorSetAccelerationStructureNV; +typedef VkBindAccelerationStructureMemoryInfoKHR VkBindAccelerationStructureMemoryInfoNV; + +typedef struct VkWriteDescriptorSetAccelerationStructureKHR { + VkStructureType sType; + const void* pNext; + uint32_t accelerationStructureCount; + const VkAccelerationStructureKHR* pAccelerationStructures; +} VkWriteDescriptorSetAccelerationStructureKHR; + +typedef VkWriteDescriptorSetAccelerationStructureKHR VkWriteDescriptorSetAccelerationStructureNV; typedef struct VkAccelerationStructureMemoryRequirementsInfoNV { VkStructureType sType; @@ -10226,17 +9509,20 @@ typedef struct VkAccelerationStructureInstanceKHR { typedef VkAccelerationStructureInstanceKHR VkAccelerationStructureInstanceNV; typedef VkResult (VKAPI_PTR *PFN_vkCreateAccelerationStructureNV)(VkDevice device, const VkAccelerationStructureCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureNV* pAccelerationStructure); -typedef void (VKAPI_PTR *PFN_vkDestroyAccelerationStructureNV)(VkDevice device, VkAccelerationStructureNV accelerationStructure, const VkAllocationCallbacks* pAllocator); +typedef void (VKAPI_PTR *PFN_vkDestroyAccelerationStructureKHR)(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator); +typedef void (VKAPI_PTR *PFN_vkDestroyAccelerationStructureNV)(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator); typedef void (VKAPI_PTR *PFN_vkGetAccelerationStructureMemoryRequirementsNV)(VkDevice device, const VkAccelerationStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements); -typedef VkResult (VKAPI_PTR *PFN_vkBindAccelerationStructureMemoryNV)(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoNV* pBindInfos); -typedef void (VKAPI_PTR *PFN_vkCmdBuildAccelerationStructureNV)(VkCommandBuffer commandBuffer, const VkAccelerationStructureInfoNV* pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkBuffer scratch, VkDeviceSize scratchOffset); -typedef void (VKAPI_PTR *PFN_vkCmdCopyAccelerationStructureNV)(VkCommandBuffer commandBuffer, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkCopyAccelerationStructureModeKHR mode); +typedef VkResult (VKAPI_PTR *PFN_vkBindAccelerationStructureMemoryKHR)(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos); +typedef VkResult (VKAPI_PTR *PFN_vkBindAccelerationStructureMemoryNV)(VkDevice device, uint32_t bindInfoCount, const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos); +typedef void (VKAPI_PTR *PFN_vkCmdBuildAccelerationStructureNV)(VkCommandBuffer commandBuffer, const VkAccelerationStructureInfoNV* pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureKHR dst, VkAccelerationStructureKHR src, VkBuffer scratch, VkDeviceSize scratchOffset); +typedef void (VKAPI_PTR *PFN_vkCmdCopyAccelerationStructureNV)(VkCommandBuffer commandBuffer, VkAccelerationStructureKHR dst, VkAccelerationStructureKHR src, VkCopyAccelerationStructureModeKHR mode); typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysNV)(VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset, VkBuffer missShaderBindingTableBuffer, VkDeviceSize missShaderBindingOffset, VkDeviceSize missShaderBindingStride, VkBuffer hitShaderBindingTableBuffer, VkDeviceSize hitShaderBindingOffset, VkDeviceSize hitShaderBindingStride, VkBuffer callableShaderBindingTableBuffer, VkDeviceSize callableShaderBindingOffset, VkDeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth); typedef VkResult (VKAPI_PTR *PFN_vkCreateRayTracingPipelinesNV)(VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoNV* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines); typedef VkResult (VKAPI_PTR *PFN_vkGetRayTracingShaderGroupHandlesKHR)(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData); typedef VkResult (VKAPI_PTR *PFN_vkGetRayTracingShaderGroupHandlesNV)(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData); -typedef VkResult (VKAPI_PTR *PFN_vkGetAccelerationStructureHandleNV)(VkDevice device, VkAccelerationStructureNV accelerationStructure, size_t dataSize, void* pData); -typedef void (VKAPI_PTR *PFN_vkCmdWriteAccelerationStructuresPropertiesNV)(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureNV* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery); +typedef VkResult (VKAPI_PTR *PFN_vkGetAccelerationStructureHandleNV)(VkDevice device, VkAccelerationStructureKHR accelerationStructure, size_t dataSize, void* pData); +typedef void (VKAPI_PTR *PFN_vkCmdWriteAccelerationStructuresPropertiesKHR)(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery); +typedef void (VKAPI_PTR *PFN_vkCmdWriteAccelerationStructuresPropertiesNV)(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery); typedef VkResult (VKAPI_PTR *PFN_vkCompileDeferredNV)(VkDevice device, VkPipeline pipeline, uint32_t shader); #ifndef VK_NO_PROTOTYPES @@ -10246,9 +9532,14 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateAccelerationStructureNV( const VkAllocationCallbacks* pAllocator, VkAccelerationStructureNV* pAccelerationStructure); +VKAPI_ATTR void VKAPI_CALL vkDestroyAccelerationStructureKHR( + VkDevice device, + VkAccelerationStructureKHR accelerationStructure, + const VkAllocationCallbacks* pAllocator); + VKAPI_ATTR void VKAPI_CALL vkDestroyAccelerationStructureNV( VkDevice device, - VkAccelerationStructureNV accelerationStructure, + VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator); VKAPI_ATTR void VKAPI_CALL vkGetAccelerationStructureMemoryRequirementsNV( @@ -10256,10 +9547,15 @@ VKAPI_ATTR void VKAPI_CALL vkGetAccelerationStructureMemoryRequirementsNV( const VkAccelerationStructureMemoryRequirementsInfoNV* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements); +VKAPI_ATTR VkResult VKAPI_CALL vkBindAccelerationStructureMemoryKHR( + VkDevice device, + uint32_t bindInfoCount, + const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos); + VKAPI_ATTR VkResult VKAPI_CALL vkBindAccelerationStructureMemoryNV( VkDevice device, uint32_t bindInfoCount, - const VkBindAccelerationStructureMemoryInfoNV* pBindInfos); + const VkBindAccelerationStructureMemoryInfoKHR* pBindInfos); VKAPI_ATTR void VKAPI_CALL vkCmdBuildAccelerationStructureNV( VkCommandBuffer commandBuffer, @@ -10267,15 +9563,15 @@ VKAPI_ATTR void VKAPI_CALL vkCmdBuildAccelerationStructureNV( VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, - VkAccelerationStructureNV dst, - VkAccelerationStructureNV src, + VkAccelerationStructureKHR dst, + VkAccelerationStructureKHR src, VkBuffer scratch, VkDeviceSize scratchOffset); VKAPI_ATTR void VKAPI_CALL vkCmdCopyAccelerationStructureNV( VkCommandBuffer commandBuffer, - VkAccelerationStructureNV dst, - VkAccelerationStructureNV src, + VkAccelerationStructureKHR dst, + VkAccelerationStructureKHR src, VkCopyAccelerationStructureModeKHR mode); VKAPI_ATTR void VKAPI_CALL vkCmdTraceRaysNV( @@ -10321,14 +9617,22 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetRayTracingShaderGroupHandlesNV( VKAPI_ATTR VkResult VKAPI_CALL vkGetAccelerationStructureHandleNV( VkDevice device, - VkAccelerationStructureNV accelerationStructure, + VkAccelerationStructureKHR accelerationStructure, size_t dataSize, void* pData); +VKAPI_ATTR void VKAPI_CALL vkCmdWriteAccelerationStructuresPropertiesKHR( + VkCommandBuffer commandBuffer, + uint32_t accelerationStructureCount, + const VkAccelerationStructureKHR* pAccelerationStructures, + VkQueryType queryType, + VkQueryPool queryPool, + uint32_t firstQuery); + VKAPI_ATTR void VKAPI_CALL vkCmdWriteAccelerationStructuresPropertiesNV( VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, - const VkAccelerationStructureNV* pAccelerationStructures, + const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery); @@ -10464,7 +9768,7 @@ typedef struct VkPipelineCompilerControlCreateInfoAMD { #define VK_EXT_calibrated_timestamps 1 -#define VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION 2 +#define VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION 1 #define VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME "VK_EXT_calibrated_timestamps" typedef enum VkTimeDomainEXT { @@ -11327,37 +10631,6 @@ typedef struct VkPhysicalDeviceYcbcrImageArraysFeaturesEXT { -#define VK_EXT_provoking_vertex 1 -#define VK_EXT_PROVOKING_VERTEX_SPEC_VERSION 1 -#define VK_EXT_PROVOKING_VERTEX_EXTENSION_NAME "VK_EXT_provoking_vertex" - -typedef enum VkProvokingVertexModeEXT { - VK_PROVOKING_VERTEX_MODE_FIRST_VERTEX_EXT = 0, - VK_PROVOKING_VERTEX_MODE_LAST_VERTEX_EXT = 1, - VK_PROVOKING_VERTEX_MODE_MAX_ENUM_EXT = 0x7FFFFFFF -} VkProvokingVertexModeEXT; -typedef struct VkPhysicalDeviceProvokingVertexFeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 provokingVertexLast; - VkBool32 transformFeedbackPreservesProvokingVertex; -} VkPhysicalDeviceProvokingVertexFeaturesEXT; - -typedef struct VkPhysicalDeviceProvokingVertexPropertiesEXT { - VkStructureType sType; - void* pNext; - VkBool32 provokingVertexModePerPipeline; - VkBool32 transformFeedbackPreservesTriangleFanProvokingVertex; -} VkPhysicalDeviceProvokingVertexPropertiesEXT; - -typedef struct VkPipelineRasterizationProvokingVertexStateCreateInfoEXT { - VkStructureType sType; - const void* pNext; - VkProvokingVertexModeEXT provokingVertexMode; -} VkPipelineRasterizationProvokingVertexStateCreateInfoEXT; - - - #define VK_EXT_headless_surface 1 #define VK_EXT_HEADLESS_SURFACE_SPEC_VERSION 1 #define VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME "VK_EXT_headless_surface" @@ -11760,25 +11033,6 @@ VKAPI_ATTR void VKAPI_CALL vkDestroyIndirectCommandsLayoutNV( #endif -#define VK_NV_inherited_viewport_scissor 1 -#define VK_NV_INHERITED_VIEWPORT_SCISSOR_SPEC_VERSION 1 -#define VK_NV_INHERITED_VIEWPORT_SCISSOR_EXTENSION_NAME "VK_NV_inherited_viewport_scissor" -typedef struct VkPhysicalDeviceInheritedViewportScissorFeaturesNV { - VkStructureType sType; - void* pNext; - VkBool32 inheritedViewportScissor2D; -} VkPhysicalDeviceInheritedViewportScissorFeaturesNV; - -typedef struct VkCommandBufferInheritanceViewportScissorInfoNV { - VkStructureType sType; - const void* pNext; - VkBool32 viewportScissor2D; - uint32_t viewportDepthCount; - const VkViewport* pViewportDepths; -} VkCommandBufferInheritanceViewportScissorInfoNV; - - - #define VK_EXT_texel_buffer_alignment 1 #define VK_EXT_TEXEL_BUFFER_ALIGNMENT_SPEC_VERSION 1 #define VK_EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME "VK_EXT_texel_buffer_alignment" @@ -11800,7 +11054,7 @@ typedef struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT { #define VK_QCOM_render_pass_transform 1 -#define VK_QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION 2 +#define VK_QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION 1 #define VK_QCOM_RENDER_PASS_TRANSFORM_EXTENSION_NAME "VK_QCOM_render_pass_transform" typedef struct VkRenderPassTransformBeginInfoQCOM { VkStructureType sType; @@ -11818,7 +11072,7 @@ typedef struct VkCommandBufferInheritanceRenderPassTransformInfoQCOM { #define VK_EXT_device_memory_report 1 -#define VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION 2 +#define VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION 1 #define VK_EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME "VK_EXT_device_memory_report" typedef enum VkDeviceMemoryReportEventTypeEXT { @@ -12009,8 +11263,8 @@ typedef struct VkDeviceDiagnosticsConfigCreateInfoNV { #define VK_QCOM_render_pass_store_ops 1 -#define VK_QCOM_RENDER_PASS_STORE_OPS_SPEC_VERSION 2 -#define VK_QCOM_RENDER_PASS_STORE_OPS_EXTENSION_NAME "VK_QCOM_render_pass_store_ops" +#define VK_QCOM_render_pass_store_ops_SPEC_VERSION 2 +#define VK_QCOM_render_pass_store_ops_EXTENSION_NAME "VK_QCOM_render_pass_store_ops" #define VK_NV_fragment_shading_rate_enums 1 @@ -12070,17 +11324,6 @@ VKAPI_ATTR void VKAPI_CALL vkCmdSetFragmentShadingRateEnumNV( #endif -#define VK_EXT_ycbcr_2plane_444_formats 1 -#define VK_EXT_YCBCR_2PLANE_444_FORMATS_SPEC_VERSION 1 -#define VK_EXT_YCBCR_2PLANE_444_FORMATS_EXTENSION_NAME "VK_EXT_ycbcr_2plane_444_formats" -typedef struct VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 ycbcr2plane444Formats; -} VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT; - - - #define VK_EXT_fragment_density_map2 1 #define VK_EXT_FRAGMENT_DENSITY_MAP_2_SPEC_VERSION 1 #define VK_EXT_FRAGMENT_DENSITY_MAP_2_EXTENSION_NAME "VK_EXT_fragment_density_map2" @@ -12102,8 +11345,8 @@ typedef struct VkPhysicalDeviceFragmentDensityMap2PropertiesEXT { #define VK_QCOM_rotated_copy_commands 1 -#define VK_QCOM_ROTATED_COPY_COMMANDS_SPEC_VERSION 1 -#define VK_QCOM_ROTATED_COPY_COMMANDS_EXTENSION_NAME "VK_QCOM_rotated_copy_commands" +#define VK_QCOM_rotated_copy_commands_SPEC_VERSION 0 +#define VK_QCOM_rotated_copy_commands_EXTENSION_NAME "VK_QCOM_rotated_copy_commands" typedef struct VkCopyCommandTransformInfoQCOM { VkStructureType sType; const void* pNext; @@ -12134,596 +11377,6 @@ typedef struct VkPhysicalDevice4444FormatsFeaturesEXT { } VkPhysicalDevice4444FormatsFeaturesEXT; - -#define VK_NV_acquire_winrt_display 1 -#define VK_NV_ACQUIRE_WINRT_DISPLAY_SPEC_VERSION 1 -#define VK_NV_ACQUIRE_WINRT_DISPLAY_EXTENSION_NAME "VK_NV_acquire_winrt_display" -typedef VkResult (VKAPI_PTR *PFN_vkAcquireWinrtDisplayNV)(VkPhysicalDevice physicalDevice, VkDisplayKHR display); -typedef VkResult (VKAPI_PTR *PFN_vkGetWinrtDisplayNV)(VkPhysicalDevice physicalDevice, uint32_t deviceRelativeId, VkDisplayKHR* pDisplay); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR VkResult VKAPI_CALL vkAcquireWinrtDisplayNV( - VkPhysicalDevice physicalDevice, - VkDisplayKHR display); - -VKAPI_ATTR VkResult VKAPI_CALL vkGetWinrtDisplayNV( - VkPhysicalDevice physicalDevice, - uint32_t deviceRelativeId, - VkDisplayKHR* pDisplay); -#endif - - -#define VK_VALVE_mutable_descriptor_type 1 -#define VK_VALVE_MUTABLE_DESCRIPTOR_TYPE_SPEC_VERSION 1 -#define VK_VALVE_MUTABLE_DESCRIPTOR_TYPE_EXTENSION_NAME "VK_VALVE_mutable_descriptor_type" -typedef struct VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE { - VkStructureType sType; - void* pNext; - VkBool32 mutableDescriptorType; -} VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE; - -typedef struct VkMutableDescriptorTypeListVALVE { - uint32_t descriptorTypeCount; - const VkDescriptorType* pDescriptorTypes; -} VkMutableDescriptorTypeListVALVE; - -typedef struct VkMutableDescriptorTypeCreateInfoVALVE { - VkStructureType sType; - const void* pNext; - uint32_t mutableDescriptorTypeListCount; - const VkMutableDescriptorTypeListVALVE* pMutableDescriptorTypeLists; -} VkMutableDescriptorTypeCreateInfoVALVE; - - - -#define VK_EXT_vertex_input_dynamic_state 1 -#define VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_SPEC_VERSION 2 -#define VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME "VK_EXT_vertex_input_dynamic_state" -typedef struct VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 vertexInputDynamicState; -} VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT; - -typedef struct VkVertexInputBindingDescription2EXT { - VkStructureType sType; - void* pNext; - uint32_t binding; - uint32_t stride; - VkVertexInputRate inputRate; - uint32_t divisor; -} VkVertexInputBindingDescription2EXT; - -typedef struct VkVertexInputAttributeDescription2EXT { - VkStructureType sType; - void* pNext; - uint32_t location; - uint32_t binding; - VkFormat format; - uint32_t offset; -} VkVertexInputAttributeDescription2EXT; - -typedef void (VKAPI_PTR *PFN_vkCmdSetVertexInputEXT)(VkCommandBuffer commandBuffer, uint32_t vertexBindingDescriptionCount, const VkVertexInputBindingDescription2EXT* pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, const VkVertexInputAttributeDescription2EXT* pVertexAttributeDescriptions); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdSetVertexInputEXT( - VkCommandBuffer commandBuffer, - uint32_t vertexBindingDescriptionCount, - const VkVertexInputBindingDescription2EXT* pVertexBindingDescriptions, - uint32_t vertexAttributeDescriptionCount, - const VkVertexInputAttributeDescription2EXT* pVertexAttributeDescriptions); -#endif - - -#define VK_EXT_extended_dynamic_state2 1 -#define VK_EXT_EXTENDED_DYNAMIC_STATE_2_SPEC_VERSION 1 -#define VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME "VK_EXT_extended_dynamic_state2" -typedef struct VkPhysicalDeviceExtendedDynamicState2FeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 extendedDynamicState2; - VkBool32 extendedDynamicState2LogicOp; - VkBool32 extendedDynamicState2PatchControlPoints; -} VkPhysicalDeviceExtendedDynamicState2FeaturesEXT; - -typedef void (VKAPI_PTR *PFN_vkCmdSetPatchControlPointsEXT)(VkCommandBuffer commandBuffer, uint32_t patchControlPoints); -typedef void (VKAPI_PTR *PFN_vkCmdSetRasterizerDiscardEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 rasterizerDiscardEnable); -typedef void (VKAPI_PTR *PFN_vkCmdSetDepthBiasEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 depthBiasEnable); -typedef void (VKAPI_PTR *PFN_vkCmdSetLogicOpEXT)(VkCommandBuffer commandBuffer, VkLogicOp logicOp); -typedef void (VKAPI_PTR *PFN_vkCmdSetPrimitiveRestartEnableEXT)(VkCommandBuffer commandBuffer, VkBool32 primitiveRestartEnable); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdSetPatchControlPointsEXT( - VkCommandBuffer commandBuffer, - uint32_t patchControlPoints); - -VKAPI_ATTR void VKAPI_CALL vkCmdSetRasterizerDiscardEnableEXT( - VkCommandBuffer commandBuffer, - VkBool32 rasterizerDiscardEnable); - -VKAPI_ATTR void VKAPI_CALL vkCmdSetDepthBiasEnableEXT( - VkCommandBuffer commandBuffer, - VkBool32 depthBiasEnable); - -VKAPI_ATTR void VKAPI_CALL vkCmdSetLogicOpEXT( - VkCommandBuffer commandBuffer, - VkLogicOp logicOp); - -VKAPI_ATTR void VKAPI_CALL vkCmdSetPrimitiveRestartEnableEXT( - VkCommandBuffer commandBuffer, - VkBool32 primitiveRestartEnable); -#endif - - -#define VK_EXT_color_write_enable 1 -#define VK_EXT_COLOR_WRITE_ENABLE_SPEC_VERSION 1 -#define VK_EXT_COLOR_WRITE_ENABLE_EXTENSION_NAME "VK_EXT_color_write_enable" -typedef struct VkPhysicalDeviceColorWriteEnableFeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 colorWriteEnable; -} VkPhysicalDeviceColorWriteEnableFeaturesEXT; - -typedef struct VkPipelineColorWriteCreateInfoEXT { - VkStructureType sType; - const void* pNext; - uint32_t attachmentCount; - const VkBool32* pColorWriteEnables; -} VkPipelineColorWriteCreateInfoEXT; - -typedef void (VKAPI_PTR *PFN_vkCmdSetColorWriteEnableEXT)(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32* pColorWriteEnables); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdSetColorWriteEnableEXT( - VkCommandBuffer commandBuffer, - uint32_t attachmentCount, - const VkBool32* pColorWriteEnables); -#endif - - -#define VK_KHR_acceleration_structure 1 -VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureKHR) -#define VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION 11 -#define VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME "VK_KHR_acceleration_structure" - -typedef enum VkBuildAccelerationStructureModeKHR { - VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR = 0, - VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR = 1, - VK_BUILD_ACCELERATION_STRUCTURE_MODE_MAX_ENUM_KHR = 0x7FFFFFFF -} VkBuildAccelerationStructureModeKHR; - -typedef enum VkAccelerationStructureBuildTypeKHR { - VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR = 0, - VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR = 1, - VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR = 2, - VK_ACCELERATION_STRUCTURE_BUILD_TYPE_MAX_ENUM_KHR = 0x7FFFFFFF -} VkAccelerationStructureBuildTypeKHR; - -typedef enum VkAccelerationStructureCompatibilityKHR { - VK_ACCELERATION_STRUCTURE_COMPATIBILITY_COMPATIBLE_KHR = 0, - VK_ACCELERATION_STRUCTURE_COMPATIBILITY_INCOMPATIBLE_KHR = 1, - VK_ACCELERATION_STRUCTURE_COMPATIBILITY_MAX_ENUM_KHR = 0x7FFFFFFF -} VkAccelerationStructureCompatibilityKHR; - -typedef enum VkAccelerationStructureCreateFlagBitsKHR { - VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR = 0x00000001, - VK_ACCELERATION_STRUCTURE_CREATE_FLAG_BITS_MAX_ENUM_KHR = 0x7FFFFFFF -} VkAccelerationStructureCreateFlagBitsKHR; -typedef VkFlags VkAccelerationStructureCreateFlagsKHR; -typedef union VkDeviceOrHostAddressKHR { - VkDeviceAddress deviceAddress; - void* hostAddress; -} VkDeviceOrHostAddressKHR; - -typedef union VkDeviceOrHostAddressConstKHR { - VkDeviceAddress deviceAddress; - const void* hostAddress; -} VkDeviceOrHostAddressConstKHR; - -typedef struct VkAccelerationStructureBuildRangeInfoKHR { - uint32_t primitiveCount; - uint32_t primitiveOffset; - uint32_t firstVertex; - uint32_t transformOffset; -} VkAccelerationStructureBuildRangeInfoKHR; - -typedef struct VkAccelerationStructureGeometryTrianglesDataKHR { - VkStructureType sType; - const void* pNext; - VkFormat vertexFormat; - VkDeviceOrHostAddressConstKHR vertexData; - VkDeviceSize vertexStride; - uint32_t maxVertex; - VkIndexType indexType; - VkDeviceOrHostAddressConstKHR indexData; - VkDeviceOrHostAddressConstKHR transformData; -} VkAccelerationStructureGeometryTrianglesDataKHR; - -typedef struct VkAccelerationStructureGeometryAabbsDataKHR { - VkStructureType sType; - const void* pNext; - VkDeviceOrHostAddressConstKHR data; - VkDeviceSize stride; -} VkAccelerationStructureGeometryAabbsDataKHR; - -typedef struct VkAccelerationStructureGeometryInstancesDataKHR { - VkStructureType sType; - const void* pNext; - VkBool32 arrayOfPointers; - VkDeviceOrHostAddressConstKHR data; -} VkAccelerationStructureGeometryInstancesDataKHR; - -typedef union VkAccelerationStructureGeometryDataKHR { - VkAccelerationStructureGeometryTrianglesDataKHR triangles; - VkAccelerationStructureGeometryAabbsDataKHR aabbs; - VkAccelerationStructureGeometryInstancesDataKHR instances; -} VkAccelerationStructureGeometryDataKHR; - -typedef struct VkAccelerationStructureGeometryKHR { - VkStructureType sType; - const void* pNext; - VkGeometryTypeKHR geometryType; - VkAccelerationStructureGeometryDataKHR geometry; - VkGeometryFlagsKHR flags; -} VkAccelerationStructureGeometryKHR; - -typedef struct VkAccelerationStructureBuildGeometryInfoKHR { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureTypeKHR type; - VkBuildAccelerationStructureFlagsKHR flags; - VkBuildAccelerationStructureModeKHR mode; - VkAccelerationStructureKHR srcAccelerationStructure; - VkAccelerationStructureKHR dstAccelerationStructure; - uint32_t geometryCount; - const VkAccelerationStructureGeometryKHR* pGeometries; - const VkAccelerationStructureGeometryKHR* const* ppGeometries; - VkDeviceOrHostAddressKHR scratchData; -} VkAccelerationStructureBuildGeometryInfoKHR; - -typedef struct VkAccelerationStructureCreateInfoKHR { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureCreateFlagsKHR createFlags; - VkBuffer buffer; - VkDeviceSize offset; - VkDeviceSize size; - VkAccelerationStructureTypeKHR type; - VkDeviceAddress deviceAddress; -} VkAccelerationStructureCreateInfoKHR; - -typedef struct VkWriteDescriptorSetAccelerationStructureKHR { - VkStructureType sType; - const void* pNext; - uint32_t accelerationStructureCount; - const VkAccelerationStructureKHR* pAccelerationStructures; -} VkWriteDescriptorSetAccelerationStructureKHR; - -typedef struct VkPhysicalDeviceAccelerationStructureFeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 accelerationStructure; - VkBool32 accelerationStructureCaptureReplay; - VkBool32 accelerationStructureIndirectBuild; - VkBool32 accelerationStructureHostCommands; - VkBool32 descriptorBindingAccelerationStructureUpdateAfterBind; -} VkPhysicalDeviceAccelerationStructureFeaturesKHR; - -typedef struct VkPhysicalDeviceAccelerationStructurePropertiesKHR { - VkStructureType sType; - void* pNext; - uint64_t maxGeometryCount; - uint64_t maxInstanceCount; - uint64_t maxPrimitiveCount; - uint32_t maxPerStageDescriptorAccelerationStructures; - uint32_t maxPerStageDescriptorUpdateAfterBindAccelerationStructures; - uint32_t maxDescriptorSetAccelerationStructures; - uint32_t maxDescriptorSetUpdateAfterBindAccelerationStructures; - uint32_t minAccelerationStructureScratchOffsetAlignment; -} VkPhysicalDeviceAccelerationStructurePropertiesKHR; - -typedef struct VkAccelerationStructureDeviceAddressInfoKHR { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureKHR accelerationStructure; -} VkAccelerationStructureDeviceAddressInfoKHR; - -typedef struct VkAccelerationStructureVersionInfoKHR { - VkStructureType sType; - const void* pNext; - const uint8_t* pVersionData; -} VkAccelerationStructureVersionInfoKHR; - -typedef struct VkCopyAccelerationStructureToMemoryInfoKHR { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureKHR src; - VkDeviceOrHostAddressKHR dst; - VkCopyAccelerationStructureModeKHR mode; -} VkCopyAccelerationStructureToMemoryInfoKHR; - -typedef struct VkCopyMemoryToAccelerationStructureInfoKHR { - VkStructureType sType; - const void* pNext; - VkDeviceOrHostAddressConstKHR src; - VkAccelerationStructureKHR dst; - VkCopyAccelerationStructureModeKHR mode; -} VkCopyMemoryToAccelerationStructureInfoKHR; - -typedef struct VkCopyAccelerationStructureInfoKHR { - VkStructureType sType; - const void* pNext; - VkAccelerationStructureKHR src; - VkAccelerationStructureKHR dst; - VkCopyAccelerationStructureModeKHR mode; -} VkCopyAccelerationStructureInfoKHR; - -typedef struct VkAccelerationStructureBuildSizesInfoKHR { - VkStructureType sType; - const void* pNext; - VkDeviceSize accelerationStructureSize; - VkDeviceSize updateScratchSize; - VkDeviceSize buildScratchSize; -} VkAccelerationStructureBuildSizesInfoKHR; - -typedef VkResult (VKAPI_PTR *PFN_vkCreateAccelerationStructureKHR)(VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkAccelerationStructureKHR* pAccelerationStructure); -typedef void (VKAPI_PTR *PFN_vkDestroyAccelerationStructureKHR)(VkDevice device, VkAccelerationStructureKHR accelerationStructure, const VkAllocationCallbacks* pAllocator); -typedef void (VKAPI_PTR *PFN_vkCmdBuildAccelerationStructuresKHR)(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos); -typedef void (VKAPI_PTR *PFN_vkCmdBuildAccelerationStructuresIndirectKHR)(VkCommandBuffer commandBuffer, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkDeviceAddress* pIndirectDeviceAddresses, const uint32_t* pIndirectStrides, const uint32_t* const* ppMaxPrimitiveCounts); -typedef VkResult (VKAPI_PTR *PFN_vkBuildAccelerationStructuresKHR)(VkDevice device, VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos); -typedef VkResult (VKAPI_PTR *PFN_vkCopyAccelerationStructureKHR)(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureInfoKHR* pInfo); -typedef VkResult (VKAPI_PTR *PFN_vkCopyAccelerationStructureToMemoryKHR)(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo); -typedef VkResult (VKAPI_PTR *PFN_vkCopyMemoryToAccelerationStructureKHR)(VkDevice device, VkDeferredOperationKHR deferredOperation, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo); -typedef VkResult (VKAPI_PTR *PFN_vkWriteAccelerationStructuresPropertiesKHR)(VkDevice device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, size_t dataSize, void* pData, size_t stride); -typedef void (VKAPI_PTR *PFN_vkCmdCopyAccelerationStructureKHR)(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureInfoKHR* pInfo); -typedef void (VKAPI_PTR *PFN_vkCmdCopyAccelerationStructureToMemoryKHR)(VkCommandBuffer commandBuffer, const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo); -typedef void (VKAPI_PTR *PFN_vkCmdCopyMemoryToAccelerationStructureKHR)(VkCommandBuffer commandBuffer, const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo); -typedef VkDeviceAddress (VKAPI_PTR *PFN_vkGetAccelerationStructureDeviceAddressKHR)(VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR* pInfo); -typedef void (VKAPI_PTR *PFN_vkCmdWriteAccelerationStructuresPropertiesKHR)(VkCommandBuffer commandBuffer, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery); -typedef void (VKAPI_PTR *PFN_vkGetDeviceAccelerationStructureCompatibilityKHR)(VkDevice device, const VkAccelerationStructureVersionInfoKHR* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility); -typedef void (VKAPI_PTR *PFN_vkGetAccelerationStructureBuildSizesKHR)(VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkAccelerationStructureBuildGeometryInfoKHR* pBuildInfo, const uint32_t* pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR VkResult VKAPI_CALL vkCreateAccelerationStructureKHR( - VkDevice device, - const VkAccelerationStructureCreateInfoKHR* pCreateInfo, - const VkAllocationCallbacks* pAllocator, - VkAccelerationStructureKHR* pAccelerationStructure); - -VKAPI_ATTR void VKAPI_CALL vkDestroyAccelerationStructureKHR( - VkDevice device, - VkAccelerationStructureKHR accelerationStructure, - const VkAllocationCallbacks* pAllocator); - -VKAPI_ATTR void VKAPI_CALL vkCmdBuildAccelerationStructuresKHR( - VkCommandBuffer commandBuffer, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, - const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos); - -VKAPI_ATTR void VKAPI_CALL vkCmdBuildAccelerationStructuresIndirectKHR( - VkCommandBuffer commandBuffer, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, - const VkDeviceAddress* pIndirectDeviceAddresses, - const uint32_t* pIndirectStrides, - const uint32_t* const* ppMaxPrimitiveCounts); - -VKAPI_ATTR VkResult VKAPI_CALL vkBuildAccelerationStructuresKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - uint32_t infoCount, - const VkAccelerationStructureBuildGeometryInfoKHR* pInfos, - const VkAccelerationStructureBuildRangeInfoKHR* const* ppBuildRangeInfos); - -VKAPI_ATTR VkResult VKAPI_CALL vkCopyAccelerationStructureKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyAccelerationStructureInfoKHR* pInfo); - -VKAPI_ATTR VkResult VKAPI_CALL vkCopyAccelerationStructureToMemoryKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo); - -VKAPI_ATTR VkResult VKAPI_CALL vkCopyMemoryToAccelerationStructureKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo); - -VKAPI_ATTR VkResult VKAPI_CALL vkWriteAccelerationStructuresPropertiesKHR( - VkDevice device, - uint32_t accelerationStructureCount, - const VkAccelerationStructureKHR* pAccelerationStructures, - VkQueryType queryType, - size_t dataSize, - void* pData, - size_t stride); - -VKAPI_ATTR void VKAPI_CALL vkCmdCopyAccelerationStructureKHR( - VkCommandBuffer commandBuffer, - const VkCopyAccelerationStructureInfoKHR* pInfo); - -VKAPI_ATTR void VKAPI_CALL vkCmdCopyAccelerationStructureToMemoryKHR( - VkCommandBuffer commandBuffer, - const VkCopyAccelerationStructureToMemoryInfoKHR* pInfo); - -VKAPI_ATTR void VKAPI_CALL vkCmdCopyMemoryToAccelerationStructureKHR( - VkCommandBuffer commandBuffer, - const VkCopyMemoryToAccelerationStructureInfoKHR* pInfo); - -VKAPI_ATTR VkDeviceAddress VKAPI_CALL vkGetAccelerationStructureDeviceAddressKHR( - VkDevice device, - const VkAccelerationStructureDeviceAddressInfoKHR* pInfo); - -VKAPI_ATTR void VKAPI_CALL vkCmdWriteAccelerationStructuresPropertiesKHR( - VkCommandBuffer commandBuffer, - uint32_t accelerationStructureCount, - const VkAccelerationStructureKHR* pAccelerationStructures, - VkQueryType queryType, - VkQueryPool queryPool, - uint32_t firstQuery); - -VKAPI_ATTR void VKAPI_CALL vkGetDeviceAccelerationStructureCompatibilityKHR( - VkDevice device, - const VkAccelerationStructureVersionInfoKHR* pVersionInfo, - VkAccelerationStructureCompatibilityKHR* pCompatibility); - -VKAPI_ATTR void VKAPI_CALL vkGetAccelerationStructureBuildSizesKHR( - VkDevice device, - VkAccelerationStructureBuildTypeKHR buildType, - const VkAccelerationStructureBuildGeometryInfoKHR* pBuildInfo, - const uint32_t* pMaxPrimitiveCounts, - VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo); -#endif - - -#define VK_KHR_ray_tracing_pipeline 1 -#define VK_KHR_RAY_TRACING_PIPELINE_SPEC_VERSION 1 -#define VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME "VK_KHR_ray_tracing_pipeline" - -typedef enum VkShaderGroupShaderKHR { - VK_SHADER_GROUP_SHADER_GENERAL_KHR = 0, - VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR = 1, - VK_SHADER_GROUP_SHADER_ANY_HIT_KHR = 2, - VK_SHADER_GROUP_SHADER_INTERSECTION_KHR = 3, - VK_SHADER_GROUP_SHADER_MAX_ENUM_KHR = 0x7FFFFFFF -} VkShaderGroupShaderKHR; -typedef struct VkRayTracingShaderGroupCreateInfoKHR { - VkStructureType sType; - const void* pNext; - VkRayTracingShaderGroupTypeKHR type; - uint32_t generalShader; - uint32_t closestHitShader; - uint32_t anyHitShader; - uint32_t intersectionShader; - const void* pShaderGroupCaptureReplayHandle; -} VkRayTracingShaderGroupCreateInfoKHR; - -typedef struct VkRayTracingPipelineInterfaceCreateInfoKHR { - VkStructureType sType; - const void* pNext; - uint32_t maxPipelineRayPayloadSize; - uint32_t maxPipelineRayHitAttributeSize; -} VkRayTracingPipelineInterfaceCreateInfoKHR; - -typedef struct VkRayTracingPipelineCreateInfoKHR { - VkStructureType sType; - const void* pNext; - VkPipelineCreateFlags flags; - uint32_t stageCount; - const VkPipelineShaderStageCreateInfo* pStages; - uint32_t groupCount; - const VkRayTracingShaderGroupCreateInfoKHR* pGroups; - uint32_t maxPipelineRayRecursionDepth; - const VkPipelineLibraryCreateInfoKHR* pLibraryInfo; - const VkRayTracingPipelineInterfaceCreateInfoKHR* pLibraryInterface; - const VkPipelineDynamicStateCreateInfo* pDynamicState; - VkPipelineLayout layout; - VkPipeline basePipelineHandle; - int32_t basePipelineIndex; -} VkRayTracingPipelineCreateInfoKHR; - -typedef struct VkPhysicalDeviceRayTracingPipelineFeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 rayTracingPipeline; - VkBool32 rayTracingPipelineShaderGroupHandleCaptureReplay; - VkBool32 rayTracingPipelineShaderGroupHandleCaptureReplayMixed; - VkBool32 rayTracingPipelineTraceRaysIndirect; - VkBool32 rayTraversalPrimitiveCulling; -} VkPhysicalDeviceRayTracingPipelineFeaturesKHR; - -typedef struct VkPhysicalDeviceRayTracingPipelinePropertiesKHR { - VkStructureType sType; - void* pNext; - uint32_t shaderGroupHandleSize; - uint32_t maxRayRecursionDepth; - uint32_t maxShaderGroupStride; - uint32_t shaderGroupBaseAlignment; - uint32_t shaderGroupHandleCaptureReplaySize; - uint32_t maxRayDispatchInvocationCount; - uint32_t shaderGroupHandleAlignment; - uint32_t maxRayHitAttributeSize; -} VkPhysicalDeviceRayTracingPipelinePropertiesKHR; - -typedef struct VkStridedDeviceAddressRegionKHR { - VkDeviceAddress deviceAddress; - VkDeviceSize stride; - VkDeviceSize size; -} VkStridedDeviceAddressRegionKHR; - -typedef struct VkTraceRaysIndirectCommandKHR { - uint32_t width; - uint32_t height; - uint32_t depth; -} VkTraceRaysIndirectCommandKHR; - -typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysKHR)(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth); -typedef VkResult (VKAPI_PTR *PFN_vkCreateRayTracingPipelinesKHR)(VkDevice device, VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkRayTracingPipelineCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines); -typedef VkResult (VKAPI_PTR *PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR)(VkDevice device, VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData); -typedef void (VKAPI_PTR *PFN_vkCmdTraceRaysIndirectKHR)(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress); -typedef VkDeviceSize (VKAPI_PTR *PFN_vkGetRayTracingShaderGroupStackSizeKHR)(VkDevice device, VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader); -typedef void (VKAPI_PTR *PFN_vkCmdSetRayTracingPipelineStackSizeKHR)(VkCommandBuffer commandBuffer, uint32_t pipelineStackSize); - -#ifndef VK_NO_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdTraceRaysKHR( - VkCommandBuffer commandBuffer, - const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, - uint32_t width, - uint32_t height, - uint32_t depth); - -VKAPI_ATTR VkResult VKAPI_CALL vkCreateRayTracingPipelinesKHR( - VkDevice device, - VkDeferredOperationKHR deferredOperation, - VkPipelineCache pipelineCache, - uint32_t createInfoCount, - const VkRayTracingPipelineCreateInfoKHR* pCreateInfos, - const VkAllocationCallbacks* pAllocator, - VkPipeline* pPipelines); - -VKAPI_ATTR VkResult VKAPI_CALL vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - VkDevice device, - VkPipeline pipeline, - uint32_t firstGroup, - uint32_t groupCount, - size_t dataSize, - void* pData); - -VKAPI_ATTR void VKAPI_CALL vkCmdTraceRaysIndirectKHR( - VkCommandBuffer commandBuffer, - const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, - const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, - VkDeviceAddress indirectDeviceAddress); - -VKAPI_ATTR VkDeviceSize VKAPI_CALL vkGetRayTracingShaderGroupStackSizeKHR( - VkDevice device, - VkPipeline pipeline, - uint32_t group, - VkShaderGroupShaderKHR groupShader); - -VKAPI_ATTR void VKAPI_CALL vkCmdSetRayTracingPipelineStackSizeKHR( - VkCommandBuffer commandBuffer, - uint32_t pipelineStackSize); -#endif - - -#define VK_KHR_ray_query 1 -#define VK_KHR_RAY_QUERY_SPEC_VERSION 1 -#define VK_KHR_RAY_QUERY_EXTENSION_NAME "VK_KHR_ray_query" -typedef struct VkPhysicalDeviceRayQueryFeaturesKHR { - VkStructureType sType; - void* pNext; - VkBool32 rayQuery; -} VkPhysicalDeviceRayQueryFeaturesKHR; - - #ifdef __cplusplus } #endif diff --git a/gfx/angle/cherry_picks.txt b/gfx/angle/cherry_picks.txt index 6399017f1254..d5d4c5f53ee2 100644 --- a/gfx/angle/cherry_picks.txt +++ b/gfx/angle/cherry_picks.txt @@ -1,97 +1,4 @@ -commit 69b749d9f26ddbb816cffc35916813bbac435e06 -Author: Jeff Gilbert -Date: Thu Jul 29 10:40:38 2021 -0700 - - Always include mac-only sources. - - Fixes build issues on mac until we can take b8d6f8aa93 instead. - - Change-Id: I4dafc86cdb167d23e8dd419ded9d0edfb3f76f3a - -commit 78ce1ebed3205e555bf67672cc52a7202823e7d3 -Author: Jeff Gilbert -Date: Thu Jul 15 15:57:19 2021 -0700 - - Replace `defined(ANGLE_IS_64_BIT_CPU)` with `INTPTR_MAX == INT64_MAX`. - - This is more reliable and reduces reliance on build flags. - Vendoring into Firefox, it's not trivial to replicate build flags, - but C++-native checks always work. - -commit a6756002091533ee8b56ddc5d93afa5c6ee61c93 -Author: Jeff Gilbert -Date: Thu Jul 15 15:56:45 2021 -0700 - - Add missing header to build config. - -commit b2e06bee92a94e79939717ef96c8c3c4f8e92820 -Author: Jeff Gilbert -Date: Thu Feb 11 17:34:00 2021 -0800 - - Don't assert for non-sampleable non-ms sources in blitRenderbufferRect if we can CopySubResource. - - In Firefox, we can have a source from DirectComposition without - D3D11_BIND_SHADER_RESOURCE. This is fine so long as our formats etc - match enough to hit the CopySubResource path. - Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1692355 - -commit 740a05090adf10e604d7ce125ee30f2c78e28439 -Author: Jeff Gilbert -Date: Wed Feb 3 18:50:38 2021 -0800 - - Add ANGLE_TRANSLATOR_ESSL_ONLY instead of using build system logic to choose. - - Build system logic is really hard to handle when vendoring into Gecko for Firefox. - -commit 182acfcea2ec56d4cd92a7b24c396b7723a7a346 -Author: Jeff Gilbert -Date: Mon Feb 1 17:35:56 2021 -0800 - - Build fixes needed by Gecko. - -commit 365549b832b48bfdbc0d6e93a8ca2f7cca032732 -Author: Jeff Muizelaar -Date: Mon Nov 9 17:09:12 2020 -0500 - - Bug 1620075. Add a feature flag to allow ES3 on 10.0 devices. (#26) - - This lets us run WebRender on devices that only support D3D 10.0 - -commit 623732abf7baa0d0ce457b9926e8e66b670c49c9 -Author: Jeff Muizelaar -Date: Wed May 6 14:04:42 2020 -0400 - - Don't use ClearView if we previously used dual source blending on Intel gen6. (#22) - - Doing a ClearView after a dual source blend seems to cause a TDR on - Intel SandyBridge. Presumeably this is because the ClearView is - implemented as a regular draw and the driver doesn't properly set up the - state. - - If we detect that this is going to happen we fall back to the manual - draw call path. This lets us use ClearView most of the time still. - -commit 1c30fcaa1ba575e9e3f517a267aa56032db483ec -Author: Dzmitry Malyshau -Date: Thu Dec 5 13:02:14 2019 -0500 - - Restrict the slow texture upload workaround to 128bit formats. (#21) - - The workaround is slow for having a CPU-visible mirror of the texture, but that mirror is not properly recycled with regards to GPU usage, thus causing a CPU stall on update. - - Original reports were related to WebRender vertex texture updates that are RGBA32F and RGBA32U formats. Limiting the workaround to these formats would allow the affected platforms to upload regular texture data faster without stalls. - -commit 9e4afb8ef2312893c054bcae4c8d89f1449dff6a -Author: Miko Mynttinen -Date: Tue Sep 3 18:54:54 2019 +0200 - - Disable debug layers - -Cherries picked -================================================================================ -Merge base from: origin/chromium/4515 - -commit 10b8a6d1c1a11be89cfc504106bd6446f5792d11 +commit 31a43497be0980c7bb2b7e3c069fc431705c849e Author: Jamie Madill Date: Thu May 20 12:22:46 2021 -0400 @@ -105,6 +12,97 @@ Date: Thu May 20 12:22:46 2021 -0400 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2911032 Reviewed-by: Geoff Lang Commit-Queue: Jamie Madill - (cherry picked from commit 2697358464cf20576701987f60300b6c4086c11e) - Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2921448 - Reviewed-by: Jamie Madill + +commit 3778168311ca10e8d57b3bce16bfcbc0f5b0dd01 +Author: Jeff Gilbert +Date: Thu Feb 11 17:34:00 2021 -0800 + + Don't assert for non-sampleable non-ms sources in blitRenderbufferRect if we can CopySubResource. + + In Firefox, we can have a source from DirectComposition without + D3D11_BIND_SHADER_RESOURCE. This is fine so long as our formats etc + match enough to hit the CopySubResource path. + Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1692355 + +commit f96c68edb00194eebccd998cfd4ceb7207810092 +Author: Jeff Gilbert +Date: Wed Feb 3 18:50:38 2021 -0800 + + Add ANGLE_TRANSLATOR_ESSL_ONLY instead of using build system logic to choose. + + Build system logic is really hard to handle when vendoring into Gecko for Firefox. + +commit 2a40d0f143e00c46db28c664678529a36daf4e41 +Author: Jeff Gilbert +Date: Mon Feb 1 17:35:56 2021 -0800 + + Build fixes needed by Gecko. + +commit 226aa28ce47cf20769f8f27f23255ca1eca83942 +Author: Jeff Muizelaar +Date: Mon Nov 9 17:09:12 2020 -0500 + + Bug 1620075. Add a feature flag to allow ES3 on 10.0 devices. (#26) + + This lets us run WebRender on devices that only support D3D 10.0 + +commit c0645aac0a4b4ad6bc9691ce381e5043115737b5 +Author: Jeff Muizelaar +Date: Wed May 6 14:04:42 2020 -0400 + + Don't use ClearView if we previously used dual source blending on Intel gen6. (#22) + + Doing a ClearView after a dual source blend seems to cause a TDR on + Intel SandyBridge. Presumeably this is because the ClearView is + implemented as a regular draw and the driver doesn't properly set up the + state. + + If we detect that this is going to happen we fall back to the manual + draw call path. This lets us use ClearView most of the time still. + +commit 36ee8b401e9dccd34c0f9de21a0e44ec9912b098 +Author: Dzmitry Malyshau +Date: Thu Dec 5 13:02:14 2019 -0500 + + Restrict the slow texture upload workaround to 128bit formats. (#21) + + The workaround is slow for having a CPU-visible mirror of the texture, but that mirror is not properly recycled with regards to GPU usage, thus causing a CPU stall on update. + + Original reports were related to WebRender vertex texture updates that are RGBA32F and RGBA32U formats. Limiting the workaround to these formats would allow the affected platforms to upload regular texture data faster without stalls. + +commit 0a46d4ba4d2a907b2d95f884fe5c76fca0ae75a4 +Author: Miko Mynttinen +Date: Tue Sep 3 18:54:54 2019 +0200 + + Disable debug layers + +Cherries picked +================================================================================ +Merge base from: origin/chromium/4324 + +commit f9e59ad078552424ca165644f4da3b4e2687c3dc +Author: angle-autoroll +Date: Thu Nov 12 10:01:18 2020 +0000 + + Roll SPIRV-Tools from a61d07a72763 to 1cda495274bb (1 revision) + + https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/a61d07a72763..1cda495274bb + + If this roll has caused a breakage, revert this CL and stop the roller + using the controls here: + https://autoroll.skia.org/r/spirv-tools-angle-autoroll + Please CC timvp@google.com on the revert to ensure that a human + is aware of the problem. + + To report a problem with the AutoRoller itself, please file a bug: + https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug + + Documentation for the AutoRoller is here: + https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md + + Bug: None + Tbr: timvp@google.com + Change-Id: I49edf81578b995ec51b3f4078c5d76aba3669439 + Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2533429 + Reviewed-by: angle-autoroll + Commit-Queue: angle-autoroll diff --git a/gfx/angle/moz.yaml b/gfx/angle/moz.yaml index e2731d5caf4d..3df978070c7d 100644 --- a/gfx/angle/moz.yaml +++ b/gfx/angle/moz.yaml @@ -15,8 +15,8 @@ origin: # release, and upstream repo locations refer to the third party upstream, # Angle is vendored from a mozilla git repository that pulls from # upstream and mainntains local patches there. - release: commit 10b8a6d1c1a11be89cfc504106bd6446f5792d11 Thu May 27 14:05:21 2021 +0000 - revision: 10b8a6d1c1a11be89cfc504106bd6446f5792d11 + release: commit f9e59ad078552424ca165644f4da3b4e2687c3dc Thu Nov 12 13:10:14 2020 +0000 + revision: f9e59ad078552424ca165644f4da3b4e2687c3dc license: BSD-3-Clause @@ -26,7 +26,7 @@ updatebot: tasks: - type: commit-alert enabled: True - branch: chromium/4515 + branch: chromium/4324 needinfo: ["jgilbert@mozilla.com"] vendoring: diff --git a/gfx/angle/targets/angle_common/moz.build b/gfx/angle/targets/angle_common/moz.build index 87d14d418897..c84e005f4c40 100644 --- a/gfx/angle/targets/angle_common/moz.build +++ b/gfx/angle/targets/angle_common/moz.build @@ -2,9 +2,10 @@ include("../../moz.build.common") +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -40,23 +41,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -87,7 +87,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -167,6 +167,7 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", @@ -222,7 +223,6 @@ if CONFIG["OS_ARCH"] not in ("Darwin", "WINNT"): # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/FIXED:NO", # "/INCREMENTAL:NO", @@ -233,7 +233,7 @@ if CONFIG["OS_ARCH"] not in ("Darwin", "WINNT"): # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/angle_gpu_info_util/moz.build b/gfx/angle/targets/angle_gpu_info_util/moz.build index 91eac5c7b2d5..385552a934ad 100644 --- a/gfx/angle/targets/angle_gpu_info_util/moz.build +++ b/gfx/angle/targets/angle_gpu_info_util/moz.build @@ -3,12 +3,11 @@ include("../../moz.build.common") DEFINES["ANGLE_ENABLE_D3D11"] = True -DEFINES["ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW"] = True DEFINES["ANGLE_ENABLE_D3D9"] = True -# DEFINES["ANGLE_HAS_VULKAN_SYSTEM_INFO"] = True +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -41,7 +40,7 @@ LOCAL_INCLUDES += [ "../../checkout/out/gen/angle/", "../../checkout/src/", "../../checkout/src/common/third_party/base/", - "../../checkout/third_party/vulkan-deps/vulkan-headers/src/include/", + "../../checkout/third_party/vulkan-headers/src/include/", ] # CXXFLAGS += [ @@ -49,24 +48,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", -# "-plugin-arg-find-bad-constructs", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -97,7 +94,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -177,11 +174,11 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", # "/Zc:twoPhase", -# "checked-ptr-as-trivial-member", # "find-bad-constructs", # ] @@ -211,7 +208,6 @@ OS_LIBS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/DELAYLOAD:d3d9.dll", # "/FIXED:NO", @@ -223,7 +219,7 @@ OS_LIBS += [ # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/angle_image_util/moz.build b/gfx/angle/targets/angle_image_util/moz.build index b565a9b220cc..00ec0f4caed1 100644 --- a/gfx/angle/targets/angle_image_util/moz.build +++ b/gfx/angle/targets/angle_image_util/moz.build @@ -2,9 +2,10 @@ include("../../moz.build.common") +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -40,23 +41,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -87,7 +87,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -167,6 +167,7 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", @@ -191,7 +192,6 @@ DIRS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/FIXED:NO", # "/INCREMENTAL:NO", @@ -202,7 +202,7 @@ DIRS += [ # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/compression_utils_portable/moz.build b/gfx/angle/targets/compression_utils_portable/moz.build index 99697f6cc472..074e959475e3 100644 --- a/gfx/angle/targets/compression_utils_portable/moz.build +++ b/gfx/angle/targets/compression_utils_portable/moz.build @@ -3,7 +3,7 @@ include("../../moz.build.common") # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -39,22 +39,19 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", -# "-plugin-arg-find-bad-constructs", # "-Wextra-semi", # "-Wheader-hygiene", # "-Wimplicit-fallthrough", @@ -137,11 +134,11 @@ LOCAL_INCLUDES += [ # "/wd4995", # "/wd4996", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", # "/Zc:twoPhase", -# "checked-ptr-as-trivial-member", # "find-bad-constructs", # ] @@ -156,7 +153,6 @@ USE_LIBS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/FIXED:NO", # "/INCREMENTAL:NO", @@ -167,7 +163,7 @@ USE_LIBS += [ # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/libEGL/moz.build b/gfx/angle/targets/libEGL/moz.build index 48b58239908c..0c4ac0398eaf 100644 --- a/gfx/angle/targets/libEGL/moz.build +++ b/gfx/angle/targets/libEGL/moz.build @@ -4,10 +4,11 @@ include("../../moz.build.common") # DEFINES["ANGLE_EGL_LIBRARY_NAME"] = '"libEGL"' DEFINES["ANGLE_GLESV2_LIBRARY_NAME"] = '"libGLESv2"' +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True DEFINES["ANGLE_USE_EGL_LOADER"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["EGLAPI"] = "" DEFINES["EGL_EGLEXT_PROTOTYPES"] = True @@ -49,23 +50,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -96,7 +96,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -176,6 +176,7 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", @@ -184,7 +185,7 @@ LOCAL_INCLUDES += [ SOURCES += [ "../../checkout/src/libEGL/egl_loader_autogen.cpp", - "../../checkout/src/libEGL/libEGL_autogen.cpp", + "../../checkout/src/libEGL/libEGL.cpp", ] USE_LIBS += [ @@ -225,7 +226,6 @@ OS_LIBS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/DYNAMICBASE", # "/FIXED:NO", @@ -243,10 +243,10 @@ OS_LIBS += [ # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", # "/SUBSYSTEM:CONSOLE,5.02", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] -DEFFILE = "../../checkout/src/libEGL/libEGL_autogen.def" +DEFFILE = "../../checkout/src/libEGL/libEGL.def" RCFILE = "../../checkout/src/libEGL/libEGL.rc" GeckoSharedLibrary("libEGL", linkage=None) diff --git a/gfx/angle/targets/libGLESv2/moz.build b/gfx/angle/targets/libGLESv2/moz.build index 85a9a131a74a..ebcf0dbf2f99 100644 --- a/gfx/angle/targets/libGLESv2/moz.build +++ b/gfx/angle/targets/libGLESv2/moz.build @@ -4,12 +4,12 @@ include("../../moz.build.common") DEFINES["ANGLE_CAPTURE_ENABLED"] = "0" DEFINES["ANGLE_ENABLE_D3D11"] = True -DEFINES["ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW"] = True DEFINES["ANGLE_ENABLE_D3D9"] = True +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES"] = "{ "d3dcompiler_47.dll", "d3dcompiler_46.dll", "d3dcompiler_43.dll" }" # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" DEFINES["EGL_EGLEXT_PROTOTYPES"] = True DEFINES["EGL_EGL_PROTOTYPES"] = "1" @@ -56,24 +56,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", -# "-plugin-arg-find-bad-constructs", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -104,7 +102,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -185,11 +183,11 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", # "/Zc:twoPhase", -# "checked-ptr-as-trivial-member", # "find-bad-constructs", # ] @@ -199,8 +197,6 @@ SOURCES += [ "../../checkout/src/libANGLE/BlobCache.cpp", "../../checkout/src/libANGLE/Buffer.cpp", "../../checkout/src/libANGLE/Caps.cpp", - "../../checkout/src/libANGLE/capture/frame_capture_utils_mock.cpp", - "../../checkout/src/libANGLE/capture/FrameCapture_mock.cpp", "../../checkout/src/libANGLE/Compiler.cpp", "../../checkout/src/libANGLE/Config.cpp", "../../checkout/src/libANGLE/Context.cpp", @@ -218,6 +214,7 @@ SOURCES += [ "../../checkout/src/libANGLE/formatutils.cpp", "../../checkout/src/libANGLE/Framebuffer.cpp", "../../checkout/src/libANGLE/FramebufferAttachment.cpp", + "../../checkout/src/libANGLE/FrameCapture_mock.cpp", "../../checkout/src/libANGLE/GLES1Renderer.cpp", "../../checkout/src/libANGLE/GLES1State.cpp", "../../checkout/src/libANGLE/HandleAllocator.cpp", @@ -302,7 +299,6 @@ SOURCES += [ "../../checkout/src/libANGLE/renderer/d3d/d3d9/VertexDeclarationCache.cpp", "../../checkout/src/libANGLE/renderer/d3d/DeviceD3D.cpp", "../../checkout/src/libANGLE/renderer/d3d/DisplayD3D.cpp", - "../../checkout/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp", "../../checkout/src/libANGLE/renderer/d3d/DynamicHLSL.cpp", "../../checkout/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.cpp", "../../checkout/src/libANGLE/renderer/d3d/EGLImageD3D.cpp", @@ -359,17 +355,30 @@ SOURCES += [ "../../checkout/src/libANGLE/validationES32.cpp", "../../checkout/src/libANGLE/validationESEXT.cpp", "../../checkout/src/libANGLE/validationGL1.cpp", + "../../checkout/src/libANGLE/validationGL11.cpp", + "../../checkout/src/libANGLE/validationGL12.cpp", + "../../checkout/src/libANGLE/validationGL13.cpp", + "../../checkout/src/libANGLE/validationGL14.cpp", + "../../checkout/src/libANGLE/validationGL15.cpp", "../../checkout/src/libANGLE/validationGL2.cpp", + "../../checkout/src/libANGLE/validationGL21.cpp", "../../checkout/src/libANGLE/validationGL3.cpp", + "../../checkout/src/libANGLE/validationGL31.cpp", + "../../checkout/src/libANGLE/validationGL32.cpp", + "../../checkout/src/libANGLE/validationGL33.cpp", "../../checkout/src/libANGLE/validationGL4.cpp", + "../../checkout/src/libANGLE/validationGL41.cpp", + "../../checkout/src/libANGLE/validationGL42.cpp", + "../../checkout/src/libANGLE/validationGL43.cpp", + "../../checkout/src/libANGLE/validationGL44.cpp", + "../../checkout/src/libANGLE/validationGL45.cpp", + "../../checkout/src/libANGLE/validationGL46.cpp", "../../checkout/src/libANGLE/VaryingPacking.cpp", "../../checkout/src/libANGLE/VertexArray.cpp", "../../checkout/src/libANGLE/VertexAttribute.cpp", "../../checkout/src/libANGLE/WorkerThread.cpp", - "../../checkout/src/libGLESv2/egl_ext_stubs.cpp", - "../../checkout/src/libGLESv2/egl_stubs.cpp", - "../../checkout/src/libGLESv2/entry_points_egl_autogen.cpp", - "../../checkout/src/libGLESv2/entry_points_egl_ext_autogen.cpp", + "../../checkout/src/libGLESv2/entry_points_egl.cpp", + "../../checkout/src/libGLESv2/entry_points_egl_ext.cpp", "../../checkout/src/libGLESv2/entry_points_gles_1_0_autogen.cpp", "../../checkout/src/libGLESv2/entry_points_gles_2_0_autogen.cpp", "../../checkout/src/libGLESv2/entry_points_gles_3_0_autogen.cpp", @@ -430,7 +439,6 @@ OS_LIBS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/DELAYLOAD:d3d9.dll", # "/DYNAMICBASE", @@ -449,7 +457,7 @@ OS_LIBS += [ # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", # "/SUBSYSTEM:CONSOLE,5.02", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/preprocessor/moz.build b/gfx/angle/targets/preprocessor/moz.build index c14a46c582c9..12e0553bfa21 100644 --- a/gfx/angle/targets/preprocessor/moz.build +++ b/gfx/angle/targets/preprocessor/moz.build @@ -2,9 +2,10 @@ include("../../moz.build.common") +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -40,23 +41,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -87,7 +87,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -167,6 +167,7 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", @@ -198,7 +199,6 @@ DIRS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/FIXED:NO", # "/INCREMENTAL:NO", @@ -209,7 +209,7 @@ DIRS += [ # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/targets/translator/moz.build b/gfx/angle/targets/translator/moz.build index 9d6897e672c1..a636d0ccdb95 100644 --- a/gfx/angle/targets/translator/moz.build +++ b/gfx/angle/targets/translator/moz.build @@ -5,9 +5,10 @@ include("../../moz.build.common") DEFINES["ANGLE_ENABLE_ESSL"] = True DEFINES["ANGLE_ENABLE_GLSL"] = True DEFINES["ANGLE_ENABLE_HLSL"] = True +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True # DEFINES["ANGLE_IS_WIN"] = True # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -DEFINES["CR_CLANG_REVISION"] = '"llvmorg-13-init-9302-g897d7bce-1"' +DEFINES["CR_CLANG_REVISION"] = '"llvmorg-12-init-11060-g118c3f3c-1"' DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" # DEFINES["NDEBUG"] = True DEFINES["NOMINMAX"] = True @@ -43,23 +44,22 @@ LOCAL_INCLUDES += [ # "-D__DATE__=", # "-D__TIME__=", # "-D__TIMESTAMP__=", +# "-debug-info-kind=constructor", # "-fcolor-diagnostics", # "-fcomplete-member-pointers", # "-fcrash-diagnostics-dir=../tools/clang/crashreports", # "-fdebug-compilation-dir", # "-fmerge-all-constants", # "-fmsc-version=1916", -# "-fno-delete-null-pointer-checks", -# "-fno-ident", # "-ftrivial-auto-var-init=pattern", # "-gcodeview-ghash", # "-instcombine-lower-dbg-declare=0", # "-m64", # "-mllvm", -# "-msse3", # "-no-canonical-prefixes", # "-Wbad-function-cast", # "-Wconditional-uninitialized", +# "-Wdeprecated-copy", # "-Wexit-time-destructors", # "-Wextra-semi", # "-Wextra-semi-stmt", @@ -90,7 +90,7 @@ LOCAL_INCLUDES += [ # "-Wparentheses", # "-Wrange-loop-analysis", # "-Wredundant-parens", -# "-Wreturn-std-move", +# "-Wreturn-std-move-in-c++11", # "-Wshadow-field", # "-Wshorten-64-to-32", # "-Wstrict-prototypes", @@ -171,6 +171,7 @@ LOCAL_INCLUDES += [ # "/we4800", # "/we4838", # "/WX", +# "/X", # "/Z7", # "/Zc:inline", # "/Zc:sizedDealloc-", @@ -235,53 +236,63 @@ SOURCES += [ "../../checkout/src/compiler/translator/TranslatorESSL.cpp", "../../checkout/src/compiler/translator/TranslatorGLSL.cpp", "../../checkout/src/compiler/translator/TranslatorHLSL.cpp", + "../../checkout/src/compiler/translator/tree_ops/AddAndTrueToLoopCondition.cpp", + "../../checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp", + "../../checkout/src/compiler/translator/tree_ops/ArrayReturnValueToOutParameter.cpp", + "../../checkout/src/compiler/translator/tree_ops/BreakVariableAliasingInInnerLoops.cpp", + "../../checkout/src/compiler/translator/tree_ops/ClampFragDepth.cpp", "../../checkout/src/compiler/translator/tree_ops/ClampPointSize.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/AddDefaultReturnStatements.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/ArrayReturnValueToOutParameter.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/BreakVariableAliasingInInnerLoops.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/ExpandIntegerPowExpressions.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RecordUniformBlocksWithLargeArrayMember.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RemoveSwitchFallThrough.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RewriteAtomicFunctionExpressions.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RewriteElseBlocks.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RewriteExpressionsWithShaderStorageBlock.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/RewriteUnaryMinusOperatorInt.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayConstructorStatements.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/SeparateArrayInitialization.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/SeparateExpressionsReturningArrays.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/UnfoldShortCircuitToIf.cpp", - "../../checkout/src/compiler/translator/tree_ops/d3d/WrapSwitchStatementsInBlocks.cpp", "../../checkout/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp", "../../checkout/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp", + "../../checkout/src/compiler/translator/tree_ops/EarlyFragmentTestsOptimization.cpp", "../../checkout/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.cpp", "../../checkout/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp", "../../checkout/src/compiler/translator/tree_ops/EmulatePrecision.cpp", + "../../checkout/src/compiler/translator/tree_ops/ExpandIntegerPowExpressions.cpp", + "../../checkout/src/compiler/translator/tree_ops/FlagSamplersWithTexelFetch.cpp", "../../checkout/src/compiler/translator/tree_ops/FoldExpressions.cpp", - "../../checkout/src/compiler/translator/tree_ops/ForcePrecisionQualifier.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/ClampFragDepth.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/mac/AddAndTrueToLoopCondition.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/mac/RewriteDoWhile.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/mac/RewriteRowMajorMatrices.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/mac/RewriteUnaryMinusOperatorFloat.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/mac/UnfoldShortCircuitAST.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/RecordConstantPrecision.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/RegenerateStructNames.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/RewriteRepeatedAssignToSwizzled.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/UseInterfaceBlockFields.cpp", - "../../checkout/src/compiler/translator/tree_ops/gl/VectorizeVectorScalarArithmetic.cpp", "../../checkout/src/compiler/translator/tree_ops/InitializeVariables.cpp", + "../../checkout/src/compiler/translator/tree_ops/NameEmbeddedUniformStructs.cpp", "../../checkout/src/compiler/translator/tree_ops/PruneEmptyCases.cpp", "../../checkout/src/compiler/translator/tree_ops/PruneNoOps.cpp", + "../../checkout/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp", + "../../checkout/src/compiler/translator/tree_ops/RecordUniformBlocksTranslatedToStructuredBuffers.cpp", + "../../checkout/src/compiler/translator/tree_ops/RegenerateStructNames.cpp", "../../checkout/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp", + "../../checkout/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp", "../../checkout/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp", + "../../checkout/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp", "../../checkout/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp", + "../../checkout/src/compiler/translator/tree_ops/RemovePow.cpp", + "../../checkout/src/compiler/translator/tree_ops/RemoveSwitchFallThrough.cpp", "../../checkout/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteAtomicFunctionExpressions.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteCubeMapSamplersAs2DArray.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteDfdy.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteDoWhile.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteElseBlocks.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteExpressionsWithShaderStorageBlock.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteInterpolateAtOffset.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteRepeatedAssignToSwizzled.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteRowMajorMatrices.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteStructSamplersOld.cpp", "../../checkout/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorFloat.cpp", + "../../checkout/src/compiler/translator/tree_ops/RewriteUnaryMinusOperatorInt.cpp", "../../checkout/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.cpp", + "../../checkout/src/compiler/translator/tree_ops/SeparateArrayConstructorStatements.cpp", + "../../checkout/src/compiler/translator/tree_ops/SeparateArrayInitialization.cpp", "../../checkout/src/compiler/translator/tree_ops/SeparateDeclarations.cpp", + "../../checkout/src/compiler/translator/tree_ops/SeparateExpressionsReturningArrays.cpp", "../../checkout/src/compiler/translator/tree_ops/SimplifyLoopConditions.cpp", "../../checkout/src/compiler/translator/tree_ops/SplitSequenceOperator.cpp", - "../../checkout/src/compiler/translator/tree_util/DriverUniform.cpp", + "../../checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitAST.cpp", + "../../checkout/src/compiler/translator/tree_ops/UnfoldShortCircuitToIf.cpp", + "../../checkout/src/compiler/translator/tree_ops/UseInterfaceBlockFields.cpp", + "../../checkout/src/compiler/translator/tree_ops/VectorizeVectorScalarArithmetic.cpp", + "../../checkout/src/compiler/translator/tree_ops/WrapSwitchStatementsInBlocks.cpp", "../../checkout/src/compiler/translator/tree_util/FindFunction.cpp", "../../checkout/src/compiler/translator/tree_util/FindMain.cpp", "../../checkout/src/compiler/translator/tree_util/FindSymbolNode.cpp", @@ -289,19 +300,14 @@ SOURCES += [ "../../checkout/src/compiler/translator/tree_util/IntermNodePatternMatcher.cpp", "../../checkout/src/compiler/translator/tree_util/IntermTraverse.cpp", "../../checkout/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.cpp", - "../../checkout/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp", + "../../checkout/src/compiler/translator/tree_util/ReplaceClipDistanceVariable.cpp", "../../checkout/src/compiler/translator/tree_util/ReplaceShadowingVariables.cpp", "../../checkout/src/compiler/translator/tree_util/ReplaceVariable.cpp", - "../../checkout/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp", - "../../checkout/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp", "../../checkout/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp", - "../../checkout/src/compiler/translator/tree_util/SpecializationConstant.cpp", "../../checkout/src/compiler/translator/Types.cpp", "../../checkout/src/compiler/translator/util.cpp", "../../checkout/src/compiler/translator/UtilsHLSL.cpp", "../../checkout/src/compiler/translator/ValidateAST.cpp", - "../../checkout/src/compiler/translator/ValidateBarrierFunctionCall.cpp", - "../../checkout/src/compiler/translator/ValidateClipCullDistance.cpp", "../../checkout/src/compiler/translator/ValidateGlobalInitializer.cpp", "../../checkout/src/compiler/translator/ValidateLimitations.cpp", "../../checkout/src/compiler/translator/ValidateMaxParameters.cpp", @@ -326,7 +332,6 @@ DIRS += [ # LDFLAGS += [ # "--color-diagnostics", # "/call-graph-profile-sort:no", -# "/CETCOMPAT", # "/DEBUG:GHASH", # "/FIXED:NO", # "/INCREMENTAL:NO", @@ -337,7 +342,7 @@ DIRS += [ # "/pdbaltpath:%_PDB%", # "/PDBSourcePath:C:/dev/angle/out", # "/PROFILE", -# "/TIMESTAMP:1619931600", +# "/TIMESTAMP:1604206800", # "/WX", # ] diff --git a/gfx/angle/update-angle.py b/gfx/angle/update-angle.py index 9cc41d384f89..dc66bfc7f9ab 100755 --- a/gfx/angle/update-angle.py +++ b/gfx/angle/update-angle.py @@ -154,10 +154,7 @@ is_clang = true is_debug = false angle_build_all = false angle_enable_abseil = false -angle_enable_essl = true angle_enable_gl = false -angle_enable_gl_desktop = false -angle_enable_glsl = true angle_enable_null = false angle_enable_vulkan = false use_custom_libcxx = false @@ -245,7 +242,6 @@ REGISTERED_DEFINES = { "ANGLE_CAPTURE_ENABLED": True, "ANGLE_EGL_LIBRARY_NAME": False, "ANGLE_ENABLE_D3D11": True, - "ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW": True, "ANGLE_ENABLE_D3D9": True, "ANGLE_ENABLE_DEBUG_ANNOTATIONS": True, "ANGLE_ENABLE_NULL": False, @@ -256,7 +252,6 @@ REGISTERED_DEFINES = { "ANGLE_ENABLE_HLSL": True, "ANGLE_GENERATE_SHADER_DEBUG_INFO": True, "ANGLE_GLESV2_LIBRARY_NAME": True, - "ANGLE_HAS_VULKAN_SYSTEM_INFO": False, "ANGLE_IS_64_BIT_CPU": False, "ANGLE_IS_WIN": False, "ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES": False, diff --git a/gfx/gl/GLLibraryEGL.cpp b/gfx/gl/GLLibraryEGL.cpp index 2636d2d9cb48..94371ec92234 100644 --- a/gfx/gl/GLLibraryEGL.cpp +++ b/gfx/gl/GLLibraryEGL.cpp @@ -51,12 +51,9 @@ namespace gl { // should match the order of EGLExtensions, and be null-terminated. static const char* sEGLLibraryExtensionNames[] = { - "EGL_ANDROID_get_native_client_buffer", - "EGL_ANGLE_device_creation", - "EGL_ANGLE_device_creation_d3d11", - "EGL_ANGLE_platform_angle", - "EGL_ANGLE_platform_angle_d3d", - "EGL_EXT_device_query"}; + "EGL_ANDROID_get_native_client_buffer", "EGL_ANGLE_device_creation", + "EGL_ANGLE_device_creation_d3d11", "EGL_ANGLE_platform_angle", + "EGL_ANGLE_platform_angle_d3d"}; // should match the order of EGLExtensions, and be null-terminated. static const char* sEGLExtensionNames[] = { @@ -74,6 +71,7 @@ static const char* sEGLExtensionNames[] = { "EGL_KHR_create_context", "EGL_KHR_stream", "EGL_KHR_stream_consumer_gltexture", + "EGL_EXT_device_query", "EGL_NV_stream_consumer_gltexture_yuv", "EGL_ANGLE_stream_producer_d3d_texture", "EGL_KHR_surfaceless_context", diff --git a/gfx/gl/GLLibraryEGL.h b/gfx/gl/GLLibraryEGL.h index fa73113f7955..a5fd81395213 100644 --- a/gfx/gl/GLLibraryEGL.h +++ b/gfx/gl/GLLibraryEGL.h @@ -69,7 +69,6 @@ enum class EGLLibExtension { ANGLE_device_creation_d3d11, ANGLE_platform_angle, ANGLE_platform_angle_d3d, - EXT_device_query, Max }; @@ -95,6 +94,7 @@ enum class EGLExtension { KHR_create_context, KHR_stream, KHR_stream_consumer_gltexture, + EXT_device_query, NV_stream_consumer_gltexture_yuv, ANGLE_stream_producer_d3d_texture, KHR_surfaceless_context, @@ -761,7 +761,7 @@ class EglDisplay final { // EXT_device_query EGLBoolean fQueryDisplayAttribEXT(EGLint attribute, EGLAttrib* value) const { - MOZ_ASSERT(mLib->IsExtensionSupported(EGLLibExtension::EXT_device_query)); + MOZ_ASSERT(IsExtensionSupported(EGLExtension::EXT_device_query)); return mLib->fQueryDisplayAttribEXT(mDisplay, attribute, value); } diff --git a/gfx/webrender_bindings/RenderCompositorANGLE.cpp b/gfx/webrender_bindings/RenderCompositorANGLE.cpp index 1e43ee7dfa13..f93278858099 100644 --- a/gfx/webrender_bindings/RenderCompositorANGLE.cpp +++ b/gfx/webrender_bindings/RenderCompositorANGLE.cpp @@ -92,7 +92,7 @@ ID3D11Device* RenderCompositorANGLE::GetDeviceOfEGLDisplay(nsACString& aError) { const auto& gle = gl::GLContextEGL::Cast(gl); const auto& egl = gle->mEgl; MOZ_ASSERT(egl); - if (!egl || !egl->mLib->IsExtensionSupported(gl::EGLLibExtension::EXT_device_query)) { + if (!egl || !egl->IsExtensionSupported(gl::EGLExtension::EXT_device_query)) { aError.Assign("RcANGLE(no EXT_device_query support)"_ns); return nullptr; }